react-web3-storage 2.0.0 → 2.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{ReownAuthentication-BTdnSW4c.mjs → ReownAuthentication-7iIT4jS4.mjs} +1 -1
- package/dist/{ReownAuthentication-Bi7oHuGf.js → ReownAuthentication-BEGlJitZ.js} +1 -1
- package/dist/{SwapController-CVrVI6fw.mjs → SwapController-CmWZu4cY.mjs} +1 -1
- package/dist/{SwapController-PZ_cUWEW.js → SwapController-DNucRoq5.js} +1 -1
- package/dist/{ccip-ClSy32fL.mjs → ccip-BCIUIeQM.mjs} +2 -2
- package/dist/{ccip-TDUuVnsR.js → ccip-Cy73HTCR.js} +1 -1
- package/dist/{data-capture-nJm8flD0.mjs → data-capture-CaxHvefN.mjs} +3 -3
- package/dist/{data-capture-plL1YmV9.js → data-capture-DbbP8JDT.js} +1 -1
- package/dist/{email-BIEjMkdp.mjs → email-B3WQnC0b.mjs} +2 -2
- package/dist/{email-Bb8TiksZ.js → email-CYJMBkHW.js} +1 -1
- package/dist/{embedded-wallet-BwfuLzcy.mjs → embedded-wallet-Dlo0wBgH.mjs} +1 -1
- package/dist/{embedded-wallet-Do1h12oF.js → embedded-wallet-t_Jd_LFV.js} +1 -1
- package/dist/{features-WgJ1ccjE.mjs → features-5qKGISK9.mjs} +1 -1
- package/dist/{features-3qQZVoJ9.js → features-B1ezv71b.js} +1 -1
- package/dist/{index-CWqapSt6.mjs → index-2WfSPp5U.mjs} +1 -1
- package/dist/{index-BDYtVois.mjs → index-BBH4oh8q.mjs} +2 -2
- package/dist/{index-1uaRGfNG.js → index-BCZXGGtc.js} +1 -1
- package/dist/{index-DuGTguVW.mjs → index-BR1aMNYm.mjs} +1 -1
- package/dist/{index-BTAZoMiJ.js → index-BhaYgUya.js} +4 -4
- package/dist/{index-mid89FTV.mjs → index-CAtS1mbf.mjs} +1 -1
- package/dist/{index-BKdw_1qM.mjs → index-CFLg0HEy.mjs} +7 -7
- package/dist/{index-CEc0pV8L.js → index-CZuajWCC.js} +1 -1
- package/dist/{index-DWz-QLrM.js → index-D1agTf42.js} +1 -1
- package/dist/{index-DMRaSYeI.mjs → index-D3R3_EiN.mjs} +1 -1
- package/dist/{index-Cx78ifGT.mjs → index-D8W2bJl5.mjs} +1 -1
- package/dist/{index-GJ5DCZOU.js → index-DAGaFidW.js} +1 -1
- package/dist/{index-ROIgf72J.mjs → index-DWRWjePT.mjs} +3 -3
- package/dist/{index-C4JlHMgz.js → index-Dk48RrmB.js} +1 -1
- package/dist/{index-BokidQQq.js → index-MeOSUHRy.js} +1 -1
- package/dist/{index-NFI34NW-.js → index-R_8iHUbU.js} +1 -1
- package/dist/{index-ByBvGUl7.mjs → index-SXXuh_Wo.mjs} +2 -2
- package/dist/{index-BF0RE6hb.js → index-VrnBQez9.js} +1 -1
- package/dist/index.cjs.js +1 -1
- package/dist/index.es.js +1 -1
- package/dist/{onramp-B6w59Uog.js → onramp-BMMneL8g.js} +1 -1
- package/dist/{onramp-C_QGimJZ.mjs → onramp-qJaw31Jf.mjs} +1 -1
- package/dist/{parseSignature-USiYfXGb.js → parseSignature-jZAFls5F.js} +2 -2
- package/dist/{parseSignature-BopOK20t.mjs → parseSignature-zKnspnY-.mjs} +2 -2
- package/dist/{pay-with-exchange-CBeg2Hon.mjs → pay-with-exchange-CTRrPVEx.mjs} +2 -2
- package/dist/{pay-with-exchange-CU_wbxzI.js → pay-with-exchange-CgjKtyDu.js} +1 -1
- package/dist/{receive-DzQ1FR7M.mjs → receive-D9mYL7F2.mjs} +1 -1
- package/dist/{receive-DI_BR-Kp.js → receive-eP1MrUw6.js} +1 -1
- package/dist/{send-DiU2PdFv.mjs → send-DmCwhyow.mjs} +4 -4
- package/dist/{send-B3h0xUoI.js → send-tFHrHPh4.js} +1 -1
- package/dist/{socials-Cu_B8mCk.js → socials-BXz_VcPl.js} +1 -1
- package/dist/{socials-iVCbnmhq.mjs → socials-BbYHDCTQ.mjs} +1 -1
- package/dist/{swaps-C9PoDZOv.js → swaps-C9W-NxLv.js} +1 -1
- package/dist/{swaps-DSWXYO4B.mjs → swaps-D06KGkWD.mjs} +3 -3
- package/dist/{transactions-vROLnPws.mjs → transactions-B-bDj0J7.mjs} +1 -1
- package/dist/{transactions-Clw8oIVh.js → transactions-CHNmwPaw.js} +1 -1
- package/dist/{w3m-modal-E2ouyDlT.mjs → w3m-modal-B82zwpqg.mjs} +3 -3
- package/dist/{w3m-modal-DagyNV6w.js → w3m-modal-CaxvJDN5.js} +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { bR as U, bS as Ee, bT as Te, bU as x, bV as _, bW as C, cu as f, bX as l, c7 as I, cV as ve, c6 as v, cW as Se, cX as y, cd as O, cY as ke, cZ as N, cy as ce, c1 as A, c_ as me, cb as m, c3 as _e, cs as T, c8 as M, c5 as R, cg as Ce, cz as G, ck as $e, cl as Re, cj as P, c4 as z, cv as h, bZ as Oe, b$ as Ue, c$ as Ie, c0 as Le, cP as ge } from "./index-
|
|
1
|
+
import { bR as U, bS as Ee, bT as Te, bU as x, bV as _, bW as C, cu as f, bX as l, c7 as I, cV as ve, c6 as v, cW as Se, cX as y, cd as O, cY as ke, cZ as N, cy as ce, c1 as A, c_ as me, cb as m, c3 as _e, cs as T, c8 as M, c5 as R, cg as Ce, cz as G, ck as $e, cl as Re, cj as P, c4 as z, cv as h, bZ as Oe, b$ as Ue, c$ as Ie, c0 as Le, cP as ge } from "./index-CFLg0HEy.mjs";
|
|
2
2
|
const qe = U`
|
|
3
3
|
:host {
|
|
4
4
|
position: relative;
|
|
@@ -13456,7 +13456,7 @@ const OH = {
|
|
|
13456
13456
|
let vx;
|
|
13457
13457
|
async function GA() {
|
|
13458
13458
|
if (!vx) {
|
|
13459
|
-
const { createPublicClient: t, http: e, defineChain: n } = await import("./index-
|
|
13459
|
+
const { createPublicClient: t, http: e, defineChain: n } = await import("./index-DWRWjePT.mjs");
|
|
13460
13460
|
vx = {
|
|
13461
13461
|
createPublicClient: t,
|
|
13462
13462
|
http: e,
|
|
@@ -33323,7 +33323,7 @@ class pue {
|
|
|
33323
33323
|
fetchWalletRanks: !1,
|
|
33324
33324
|
fetchRecommendedWallets: !0
|
|
33325
33325
|
}), V.state.enableReconnect ? (await this.syncExistingConnection(), await this.syncAdapterConnections()) : await this.unSyncExistingConnection(), !e.basic && !e.manualWCControl && (this.remoteFeatures = await fue.fetchRemoteFeatures(e)), await he.fetchUsage(), V.setRemoteFeatures(this.remoteFeatures), this.remoteFeatures.onramp && Tv.setOnrampProviders(this.remoteFeatures.onramp), ((r = V.state.remoteFeatures) != null && r.email || Array.isArray((i = V.state.remoteFeatures) == null ? void 0 : i.socials) && ((s = V.state.remoteFeatures) == null ? void 0 : s.socials.length) > 0) && await this.checkAllowedOrigins(), (o = V.state.features) != null && o.reownAuthentication || (a = V.state.remoteFeatures) != null && a.reownAuthentication) {
|
|
33326
|
-
const { ReownAuthentication: c } = await import("./features-
|
|
33326
|
+
const { ReownAuthentication: c } = await import("./features-5qKGISK9.mjs"), l = V.state.siwx;
|
|
33327
33327
|
l instanceof c || (l && console.warn("ReownAuthentication option is enabled, SIWX configuration will be overridden."), V.setSIWX(new c()));
|
|
33328
33328
|
}
|
|
33329
33329
|
}
|
|
@@ -34748,10 +34748,10 @@ class gue extends pue {
|
|
|
34748
34748
|
if (!ee.isClient())
|
|
34749
34749
|
return;
|
|
34750
34750
|
const r = [];
|
|
34751
|
-
(n.email || n.socials && n.socials.length > 0) && r.push(import("./embedded-wallet-
|
|
34751
|
+
(n.email || n.socials && n.socials.length > 0) && r.push(import("./embedded-wallet-Dlo0wBgH.mjs")), n.email && r.push(import("./email-B3WQnC0b.mjs")), n.socials && r.push(import("./socials-BbYHDCTQ.mjs")), n.swaps && n.swaps.length > 0 && r.push(import("./swaps-D06KGkWD.mjs")), e.send && r.push(import("./send-DmCwhyow.mjs")), e.receive && r.push(import("./receive-D9mYL7F2.mjs")), n.onramp && n.onramp.length > 0 && r.push(import("./onramp-qJaw31Jf.mjs")), n.payWithExchange && r.push(import("./pay-with-exchange-CTRrPVEx.mjs")), n.activity && r.push(import("./transactions-B-bDj0J7.mjs")), (e.pay || n.payments) && r.push(import("./index-BBH4oh8q.mjs")), n.emailCapture && r.push(import("./data-capture-CaxHvefN.mjs")), await Promise.all([
|
|
34752
34752
|
...r,
|
|
34753
|
-
import("./index-
|
|
34754
|
-
import("./w3m-modal-
|
|
34753
|
+
import("./index-D3R3_EiN.mjs"),
|
|
34754
|
+
import("./w3m-modal-B82zwpqg.mjs")
|
|
34755
34755
|
]);
|
|
34756
34756
|
}
|
|
34757
34757
|
}
|
|
@@ -65522,7 +65522,7 @@ class ybe extends eA {
|
|
|
65522
65522
|
async initialize() {
|
|
65523
65523
|
const e = v.getCaipNetworks(), { metadata: n, coinbasePreference: r } = V.state;
|
|
65524
65524
|
try {
|
|
65525
|
-
const { createBaseAccountSDK: i } = await import("./index-
|
|
65525
|
+
const { createBaseAccountSDK: i } = await import("./index-SXXuh_Wo.mjs");
|
|
65526
65526
|
if (typeof window > "u")
|
|
65527
65527
|
return Promise.resolve();
|
|
65528
65528
|
const s = i({
|
|
@@ -67549,7 +67549,7 @@ const eye = [
|
|
|
67549
67549
|
], lv = [
|
|
67550
67550
|
...eye
|
|
67551
67551
|
/* ... */
|
|
67552
|
-
].filter(({ network: t }) => (t.chainId === 14188 || t.chainId === 31337
|
|
67552
|
+
].filter(({ network: t }) => !(t.chainId === 14188 || t.chainId === 31337)).filter(({ token: t, receiver: e }) => t && e), mt = {
|
|
67553
67553
|
networks: lv.map(({ network: t }) => t),
|
|
67554
67554
|
blockChainsData: lv,
|
|
67555
67555
|
address: lv.reduce((t, { network: e, token: n, receiver: r }) => (t[e.id] = {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as a, b as s, d as i, f as n, W, i as o, j as m, m as w, a as c, s as l, c as V, n as u, w as r, o as A, p as C, r as p, q as B, t as h, h as g, l as k, u as N, e as S, x as d, y as K, k as f, g as x, E as I, z as b, C as v, D, B as E, v as F } from "./index-
|
|
1
|
+
import { A as a, b as s, d as i, f as n, W, i as o, j as m, m as w, a as c, s as l, c as V, n as u, w as r, o as A, p as C, r as p, q as B, t as h, h as g, l as k, u as N, e as S, x as d, y as K, k as f, g as x, E as I, z as b, C as v, D, B as E, v as F } from "./index-CFLg0HEy.mjs";
|
|
2
2
|
export {
|
|
3
3
|
a as AppKitAccountButton,
|
|
4
4
|
s as AppKitButton,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { P as s, L as o, B as e, u as t, y as n, v as i, C as c, w as d, A as E, D as u, E as l, F as b, M as p, G as T, H as g, J as m, K as h, O as y, I as v, a as A, b as S, x as F, c as I, T as R, d as f, e as C, f as B, V as N, g as x, X as P, h as D, N as U, R as H, S as L, Q as w, Y as M, Z as k, _ as z, U as q, k as V, W as O, $ as G, aK as K, aL as j, aM as J, aN as Q, ac as W, ad as Z, ak as X, al as Y, am as _, an as $, af as aa, ae as ra, l as sa, aD as oa, m as ea, a0 as ta, a1 as na, a2 as ia, a3 as ca, a4 as da, as as Ea, ai as ua, av as la, ay as ba, q as pa, r as Ta, a5 as ga, a6 as ma, a7 as ha, a8 as ya, a9 as va, s as Aa, o as Sa, at as Fa, aR as Ia, au as Ra, aw as fa, az as Ca, aA as Ba, aj as Na, ar as xa, aO as Pa, aF as Da, ab as Ua, ap as Ha, t as La, aq as wa, p as Ma, i as ka, j as za, aa as qa, aF as Va, n as Oa, aG as Ga, aH as Ka, aB as ja, aP as Ja, aI as Qa, aJ as Wa, aQ as Za, aC as Xa, aJ as Ya, ag as _a, ah as $a, ao as ar, ax as rr, s as sr, aE as or, z as er } from "./parseSignature-
|
|
2
|
-
import { P as nr, Q as ir, R as cr, S as dr, T as Er, U as ur, V as lr, X as br, Y as pr, Z as Tr, _ as gr, $ as mr, a0 as hr, a1 as yr, a2 as vr, a3 as Ar, aA as Sr, az as Fr, ad as Ir, aB as Rr, a4 as fr, aC as Cr, a5 as Br, a6 as Nr, aD as xr, ak as Pr, al as Dr, am as Ur, aw as Hr, an as Lr, ag as wr, aE as Mr, ao as kr, ap as zr, a7 as qr, a8 as Vr, ac as Or, a9 as Gr, ah as Kr, aa as jr, b0 as Jr, ai as Qr, aF as Wr, aG as Zr, b1 as Xr, aH as Yr, b2 as _r, aI as $r, aJ as as, aK as rs, aL as ss, aq as os, ar as es, as as ts, aM as ns, aN as is, aO as cs, aP as ds, aQ as Es, aR as us, ax as ls, ae as bs, aj as ps, af as Ts, aS as gs, ay as ms, at as hs, aT as ys, au as vs, aU as As, aV as Ss, av as Fs, aW as Is, aX as Rs, aY as fs, ab as Cs, aZ as Bs, a$ as Ns, a_ as xs, bq as Ps, bv as Ds, bw as Us, b7 as Hs, ba as Ls, bb as ws, bc as Ms, F as ks, b3 as zs, b4 as qs, J as Vs, K as Os, N as Gs, G as Ks, bP as js, bQ as Js, b5 as Qs, b8 as Ws, bC as Zs, bD as Xs, bE as Ys, bD as _s, bN as $s, O as ao, bI as ro, bH as so, bJ as oo, bK as eo, bm as to, bn as no, br as io, bo as co, bp as Eo, I as uo, b9 as lo, bd as bo, bA as po, L as To, bs as go, bx as mo, be as ho, bf as yo, bg as vo, b6 as Ao, M as So, H as Fo, bh as Io, bi as Ro, bj as fo, bk as Co, bt as Bo, by as No, bM as xo, bu as Po, bB as Do, bC as Uo, bD as Ho, bB as Lo, bE as wo, bD as Mo, bz as ko, bL as zo, bl as qo, K as Vo, bO as Oo, bF as Go, bG as Ko } from "./index-
|
|
3
|
-
import { ccipRequest as Jo, ccipRequest as Qo, offchainLookup as Wo, offchainLookupAbiItem as Zo, offchainLookupSignature as Xo } from "./ccip-
|
|
1
|
+
import { P as s, L as o, B as e, u as t, y as n, v as i, C as c, w as d, A as E, D as u, E as l, F as b, M as p, G as T, H as g, J as m, K as h, O as y, I as v, a as A, b as S, x as F, c as I, T as R, d as f, e as C, f as B, V as N, g as x, X as P, h as D, N as U, R as H, S as L, Q as w, Y as M, Z as k, _ as z, U as q, k as V, W as O, $ as G, aK as K, aL as j, aM as J, aN as Q, ac as W, ad as Z, ak as X, al as Y, am as _, an as $, af as aa, ae as ra, l as sa, aD as oa, m as ea, a0 as ta, a1 as na, a2 as ia, a3 as ca, a4 as da, as as Ea, ai as ua, av as la, ay as ba, q as pa, r as Ta, a5 as ga, a6 as ma, a7 as ha, a8 as ya, a9 as va, s as Aa, o as Sa, at as Fa, aR as Ia, au as Ra, aw as fa, az as Ca, aA as Ba, aj as Na, ar as xa, aO as Pa, aF as Da, ab as Ua, ap as Ha, t as La, aq as wa, p as Ma, i as ka, j as za, aa as qa, aF as Va, n as Oa, aG as Ga, aH as Ka, aB as ja, aP as Ja, aI as Qa, aJ as Wa, aQ as Za, aC as Xa, aJ as Ya, ag as _a, ah as $a, ao as ar, ax as rr, s as sr, aE as or, z as er } from "./parseSignature-zKnspnY-.mjs";
|
|
2
|
+
import { P as nr, Q as ir, R as cr, S as dr, T as Er, U as ur, V as lr, X as br, Y as pr, Z as Tr, _ as gr, $ as mr, a0 as hr, a1 as yr, a2 as vr, a3 as Ar, aA as Sr, az as Fr, ad as Ir, aB as Rr, a4 as fr, aC as Cr, a5 as Br, a6 as Nr, aD as xr, ak as Pr, al as Dr, am as Ur, aw as Hr, an as Lr, ag as wr, aE as Mr, ao as kr, ap as zr, a7 as qr, a8 as Vr, ac as Or, a9 as Gr, ah as Kr, aa as jr, b0 as Jr, ai as Qr, aF as Wr, aG as Zr, b1 as Xr, aH as Yr, b2 as _r, aI as $r, aJ as as, aK as rs, aL as ss, aq as os, ar as es, as as ts, aM as ns, aN as is, aO as cs, aP as ds, aQ as Es, aR as us, ax as ls, ae as bs, aj as ps, af as Ts, aS as gs, ay as ms, at as hs, aT as ys, au as vs, aU as As, aV as Ss, av as Fs, aW as Is, aX as Rs, aY as fs, ab as Cs, aZ as Bs, a$ as Ns, a_ as xs, bq as Ps, bv as Ds, bw as Us, b7 as Hs, ba as Ls, bb as ws, bc as Ms, F as ks, b3 as zs, b4 as qs, J as Vs, K as Os, N as Gs, G as Ks, bP as js, bQ as Js, b5 as Qs, b8 as Ws, bC as Zs, bD as Xs, bE as Ys, bD as _s, bN as $s, O as ao, bI as ro, bH as so, bJ as oo, bK as eo, bm as to, bn as no, br as io, bo as co, bp as Eo, I as uo, b9 as lo, bd as bo, bA as po, L as To, bs as go, bx as mo, be as ho, bf as yo, bg as vo, b6 as Ao, M as So, H as Fo, bh as Io, bi as Ro, bj as fo, bk as Co, bt as Bo, by as No, bM as xo, bu as Po, bB as Do, bC as Uo, bD as Ho, bB as Lo, bE as wo, bD as Mo, bz as ko, bL as zo, bl as qo, K as Vo, bO as Oo, bF as Go, bG as Ko } from "./index-CFLg0HEy.mjs";
|
|
3
|
+
import { ccipRequest as Jo, ccipRequest as Qo, offchainLookup as Wo, offchainLookupAbiItem as Zo, offchainLookupSignature as Xo } from "./ccip-BCIUIeQM.mjs";
|
|
4
4
|
export {
|
|
5
5
|
nr as AbiConstructorNotFoundError,
|
|
6
6
|
ir as AbiConstructorParamsNotFoundError,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";var Li=Object.defineProperty;var Hi=(e,t,n)=>t in e?Li(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var L=(e,t,n)=>Hi(e,typeof t!="symbol"?t+"":t,n);Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const p=require("./index-
|
|
1
|
+
"use strict";var Li=Object.defineProperty;var Hi=(e,t,n)=>t in e?Li(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var L=(e,t,n)=>Hi(e,typeof t!="symbol"?t+"":t,n);Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const p=require("./index-BhaYgUya.js"),k=require("./parseSignature-jZAFls5F.js");class Dt extends p.BaseError{constructor({docsPath:t}={}){super(["Could not find an Account to execute with this Action.","Please provide an Account with the `account` argument on the Action, or by supplying an `account` to the Client."].join(`
|
|
2
2
|
`),{docsPath:t,docsSlug:"account",name:"AccountNotFoundError"})}}async function Gi(e,t){var u;const{account:n=e.account,chainId:r,nonce:a}=t;if(!n)throw new Dt({docsPath:"/docs/eip7702/prepareAuthorization"});const i=k.parseAccount(n),s=(()=>{if(t.executor)return t.executor==="self"?t.executor:k.parseAccount(t.executor)})(),o={address:t.contractAddress??t.address,chainId:r,nonce:a};return typeof o.chainId>"u"&&(o.chainId=((u=e.chain)==null?void 0:u.id)??await k.getAction(e,k.getChainId,"getChainId")({})),typeof o.nonce>"u"&&(o.nonce=await k.getAction(e,k.getTransactionCount,"getTransactionCount")({address:i.address,blockTag:"pending"}),(s==="self"||s!=null&&s.address&&k.isAddressEqual(s.address,i.address))&&(o.nonce+=1)),o}/*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) */const zn=BigInt(0),rn=BigInt(1);function Et(e,t=""){if(typeof e!="boolean"){const n=t&&`"${t}"`;throw new Error(n+"expected boolean, got type="+typeof e)}return e}function Te(e,t,n=""){const r=p.isBytes(e),a=e==null?void 0:e.length,i=t!==void 0;if(!r||i&&a!==t){const s=n&&`"${n}" `,o=i?` of length ${t}`:"",u=r?`length=${a}`:`type=${typeof e}`;throw new Error(s+"expected Uint8Array"+o+", got "+u)}return e}function st(e){const t=e.toString(16);return t.length&1?"0"+t:t}function ca(e){if(typeof e!="string")throw new Error("hex string expected, got "+typeof e);return e===""?zn:BigInt("0x"+e)}function jt(e){return ca(p.bytesToHex$1(e))}function ua(e){return p.abytes(e),ca(p.bytesToHex$1(Uint8Array.from(e).reverse()))}function Vn(e,t){return p.hexToBytes$1(e.toString(16).padStart(t*2,"0"))}function da(e,t){return Vn(e,t).reverse()}function ue(e,t,n){let r;if(typeof t=="string")try{r=p.hexToBytes$1(t)}catch(a){throw new Error(e+" must be hex string or Uint8Array, cause: "+a)}else if(p.isBytes(t))r=Uint8Array.from(t);else throw new Error(e+" must be hex string or Uint8Array");return r.length,r}const Vt=e=>typeof e=="bigint"&&zn<=e;function Ki(e,t,n){return Vt(e)&&Vt(t)&&Vt(n)&&t<=e&&e<n}function zi(e,t,n,r){if(!Ki(t,n,r))throw new Error("expected valid "+e+": "+n+" <= n < "+r+", got "+t)}function la(e){let t;for(t=0;e>zn;e>>=rn,t+=1);return t}const at=e=>(rn<<BigInt(e))-rn;function Vi(e,t,n){if(typeof e!="number"||e<2)throw new Error("hashLen must be a number");if(typeof t!="number"||t<2)throw new Error("qByteLen must be a number");if(typeof n!="function")throw new Error("hmacFn must be a function");const r=d=>new Uint8Array(d),a=d=>Uint8Array.of(d);let i=r(e),s=r(e),o=0;const u=()=>{i.fill(1),s.fill(0),o=0},c=(...d)=>n(s,i,...d),f=(d=r(0))=>{s=c(a(0),d),i=c(),d.length!==0&&(s=c(a(1),d),i=c())},l=()=>{if(o++>=1e3)throw new Error("drbg: tried 1000 values");let d=0;const y=[];for(;d<t;){i=c();const h=i.slice();y.push(h),d+=i.length}return p.concatBytes$1(...y)};return(d,y)=>{u(),f(d);let h;for(;!(h=y(l()));)f();return u(),h}}function qn(e,t,n={}){if(!e||typeof e!="object")throw new Error("expected valid options object");function r(a,i,s){const o=e[a];if(s&&o===void 0)return;const u=typeof o;if(u!==i||o===null)throw new Error(`param "${a}" is invalid: expected ${i}, got ${u}`)}Object.entries(t).forEach(([a,i])=>r(a,i,!1)),Object.entries(n).forEach(([a,i])=>r(a,i,!0))}function yr(e){const t=new WeakMap;return(n,...r)=>{const a=t.get(n);if(a!==void 0)return a;const i=e(n,...r);return t.set(n,i),i}}/*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) */const de=BigInt(0),oe=BigInt(1),Be=BigInt(2),fa=BigInt(3),pa=BigInt(4),ma=BigInt(5),qi=BigInt(7),ha=BigInt(8),Zi=BigInt(9),ya=BigInt(16);function he(e,t){const n=e%t;return n>=de?n:t+n}function gr(e,t){if(e===de)throw new Error("invert: expected non-zero number");if(t<=de)throw new Error("invert: expected positive modulus, got "+t);let n=he(e,t),r=t,a=de,i=oe;for(;n!==de;){const o=r/n,u=r%n,c=a-i*o;r=n,n=u,a=i,i=c}if(r!==oe)throw new Error("invert: does not exist");return he(a,t)}function Zn(e,t,n){if(!e.eql(e.sqr(t),n))throw new Error("Cannot find square root")}function ga(e,t){const n=(e.ORDER+oe)/pa,r=e.pow(t,n);return Zn(e,r,t),r}function Wi(e,t){const n=(e.ORDER-ma)/ha,r=e.mul(t,Be),a=e.pow(r,n),i=e.mul(t,a),s=e.mul(e.mul(i,Be),a),o=e.mul(i,e.sub(s,e.ONE));return Zn(e,o,t),o}function Ji(e){const t=De(e),n=ba(e),r=n(t,t.neg(t.ONE)),a=n(t,r),i=n(t,t.neg(r)),s=(e+qi)/ya;return(o,u)=>{let c=o.pow(u,s),f=o.mul(c,r);const l=o.mul(c,a),m=o.mul(c,i),d=o.eql(o.sqr(f),u),y=o.eql(o.sqr(l),u);c=o.cmov(c,f,d),f=o.cmov(m,l,y);const h=o.eql(o.sqr(f),u),w=o.cmov(c,f,h);return Zn(o,w,u),w}}function ba(e){if(e<fa)throw new Error("sqrt is not defined for small field");let t=e-oe,n=0;for(;t%Be===de;)t/=Be,n++;let r=Be;const a=De(e);for(;br(a,r)===1;)if(r++>1e3)throw new Error("Cannot find square root: probably non-prime P");if(n===1)return ga;let i=a.pow(r,t);const s=(t+oe)/Be;return function(u,c){if(u.is0(c))return c;if(br(u,c)!==1)throw new Error("Cannot find square root");let f=n,l=u.mul(u.ONE,i),m=u.pow(c,t),d=u.pow(c,s);for(;!u.eql(m,u.ONE);){if(u.is0(m))return u.ZERO;let y=1,h=u.sqr(m);for(;!u.eql(h,u.ONE);)if(y++,h=u.sqr(h),y===f)throw new Error("Cannot find square root");const w=oe<<BigInt(f-y-1),S=u.pow(l,w);f=y,l=u.sqr(S),m=u.mul(m,l),d=u.mul(d,S)}return d}}function Yi(e){return e%pa===fa?ga:e%ha===ma?Wi:e%ya===Zi?Ji(e):ba(e)}const Xi=["create","isValid","is0","neg","inv","sqrt","sqr","eql","add","sub","mul","pow","div","addN","subN","mulN","sqrN"];function Qi(e){const t={ORDER:"bigint",MASK:"bigint",BYTES:"number",BITS:"number"},n=Xi.reduce((r,a)=>(r[a]="function",r),t);return qn(e,n),e}function $i(e,t,n){if(n<de)throw new Error("invalid exponent, negatives unsupported");if(n===de)return e.ONE;if(n===oe)return t;let r=e.ONE,a=t;for(;n>de;)n&oe&&(r=e.mul(r,a)),a=e.sqr(a),n>>=oe;return r}function wa(e,t,n=!1){const r=new Array(t.length).fill(n?e.ZERO:void 0),a=t.reduce((s,o,u)=>e.is0(o)?s:(r[u]=s,e.mul(s,o)),e.ONE),i=e.inv(a);return t.reduceRight((s,o,u)=>e.is0(o)?s:(r[u]=e.mul(s,r[u]),e.mul(s,o)),i),r}function br(e,t){const n=(e.ORDER-oe)/Be,r=e.pow(t,n),a=e.eql(r,e.ONE),i=e.eql(r,e.ZERO),s=e.eql(r,e.neg(e.ONE));if(!a&&!i&&!s)throw new Error("invalid Legendre symbol result");return a?1:i?0:-1}function va(e,t){t!==void 0&&p.anumber(t);const n=t!==void 0?t:e.toString(2).length,r=Math.ceil(n/8);return{nBitLength:n,nByteLength:r}}function De(e,t,n=!1,r={}){if(e<=de)throw new Error("invalid field: expected ORDER > 0, got "+e);let a,i,s=!1,o;if(typeof t=="object"&&t!=null){if(r.sqrt||n)throw new Error("cannot specify opts in two arguments");const m=t;m.BITS&&(a=m.BITS),m.sqrt&&(i=m.sqrt),typeof m.isLE=="boolean"&&(n=m.isLE),typeof m.modFromBytes=="boolean"&&(s=m.modFromBytes),o=m.allowedLengths}else typeof t=="number"&&(a=t),r.sqrt&&(i=r.sqrt);const{nBitLength:u,nByteLength:c}=va(e,a);if(c>2048)throw new Error("invalid field: expected ORDER of <= 2048 bytes");let f;const l=Object.freeze({ORDER:e,isLE:n,BITS:u,BYTES:c,MASK:at(u),ZERO:de,ONE:oe,allowedLengths:o,create:m=>he(m,e),isValid:m=>{if(typeof m!="bigint")throw new Error("invalid field element: expected bigint, got "+typeof m);return de<=m&&m<e},is0:m=>m===de,isValidNot0:m=>!l.is0(m)&&l.isValid(m),isOdd:m=>(m&oe)===oe,neg:m=>he(-m,e),eql:(m,d)=>m===d,sqr:m=>he(m*m,e),add:(m,d)=>he(m+d,e),sub:(m,d)=>he(m-d,e),mul:(m,d)=>he(m*d,e),pow:(m,d)=>$i(l,m,d),div:(m,d)=>he(m*gr(d,e),e),sqrN:m=>m*m,addN:(m,d)=>m+d,subN:(m,d)=>m-d,mulN:(m,d)=>m*d,inv:m=>gr(m,e),sqrt:i||(m=>(f||(f=Yi(e)),f(l,m))),toBytes:m=>n?da(m,c):Vn(m,c),fromBytes:(m,d=!0)=>{if(o){if(!o.includes(m.length)||m.length>c)throw new Error("Field.fromBytes: expected "+o+" bytes, got "+m.length);const h=new Uint8Array(c);h.set(m,n?0:h.length-m.length),m=h}if(m.length!==c)throw new Error("Field.fromBytes: expected "+c+" bytes, got "+m.length);let y=n?ua(m):jt(m);if(s&&(y=he(y,e)),!d&&!l.isValid(y))throw new Error("invalid field element: outside of range 0..ORDER");return y},invertBatch:m=>wa(l,m),cmov:(m,d,y)=>y?d:m});return Object.freeze(l)}function xa(e){if(typeof e!="bigint")throw new Error("field order must be bigint");const t=e.toString(2).length;return Math.ceil(t/8)}function Ea(e){const t=xa(e);return t+Math.ceil(t/2)}function es(e,t,n=!1){const r=e.length,a=xa(t),i=Ea(t);if(r<16||r<i||r>1024)throw new Error("expected "+i+"-1024 bytes of input, got "+r);const s=n?ua(e):jt(e),o=he(s,t-oe)+oe;return n?da(o,a):Vn(o,a)}/*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) */const Ge=BigInt(0),_e=BigInt(1);function kt(e,t){const n=t.negate();return e?n:t}function qt(e,t){const n=wa(e.Fp,t.map(r=>r.Z));return t.map((r,a)=>e.fromAffine(r.toAffine(n[a])))}function ka(e,t){if(!Number.isSafeInteger(e)||e<=0||e>t)throw new Error("invalid window size, expected [1.."+t+"], got W="+e)}function Zt(e,t){ka(e,t);const n=Math.ceil(t/e)+1,r=2**(e-1),a=2**e,i=at(e),s=BigInt(e);return{windows:n,windowSize:r,mask:i,maxNumber:a,shiftBy:s}}function wr(e,t,n){const{windowSize:r,mask:a,maxNumber:i,shiftBy:s}=n;let o=Number(e&a),u=e>>s;o>r&&(o-=i,u+=_e);const c=t*r,f=c+Math.abs(o)-1,l=o===0,m=o<0,d=t%2!==0;return{nextN:u,offset:f,isZero:l,isNeg:m,isNegF:d,offsetF:c}}function ts(e,t){if(!Array.isArray(e))throw new Error("array expected");e.forEach((n,r)=>{if(!(n instanceof t))throw new Error("invalid point at index "+r)})}function ns(e,t){if(!Array.isArray(e))throw new Error("array of scalars expected");e.forEach((n,r)=>{if(!t.isValid(n))throw new Error("invalid scalar at index "+r)})}const Wt=new WeakMap,Sa=new WeakMap;function Jt(e){return Sa.get(e)||1}function vr(e){if(e!==Ge)throw new Error("invalid wNAF")}class rs{constructor(t,n){this.BASE=t.BASE,this.ZERO=t.ZERO,this.Fn=t.Fn,this.bits=n}_unsafeLadder(t,n,r=this.ZERO){let a=t;for(;n>Ge;)n&_e&&(r=r.add(a)),a=a.double(),n>>=_e;return r}precomputeWindow(t,n){const{windows:r,windowSize:a}=Zt(n,this.bits),i=[];let s=t,o=s;for(let u=0;u<r;u++){o=s,i.push(o);for(let c=1;c<a;c++)o=o.add(s),i.push(o);s=o.double()}return i}wNAF(t,n,r){if(!this.Fn.isValid(r))throw new Error("invalid scalar");let a=this.ZERO,i=this.BASE;const s=Zt(t,this.bits);for(let o=0;o<s.windows;o++){const{nextN:u,offset:c,isZero:f,isNeg:l,isNegF:m,offsetF:d}=wr(r,o,s);r=u,f?i=i.add(kt(m,n[d])):a=a.add(kt(l,n[c]))}return vr(r),{p:a,f:i}}wNAFUnsafe(t,n,r,a=this.ZERO){const i=Zt(t,this.bits);for(let s=0;s<i.windows&&r!==Ge;s++){const{nextN:o,offset:u,isZero:c,isNeg:f}=wr(r,s,i);if(r=o,!c){const l=n[u];a=a.add(f?l.negate():l)}}return vr(r),a}getPrecomputes(t,n,r){let a=Wt.get(n);return a||(a=this.precomputeWindow(n,t),t!==1&&(typeof r=="function"&&(a=r(a)),Wt.set(n,a))),a}cached(t,n,r){const a=Jt(t);return this.wNAF(a,this.getPrecomputes(a,t,r),n)}unsafe(t,n,r,a){const i=Jt(t);return i===1?this._unsafeLadder(t,n,a):this.wNAFUnsafe(i,this.getPrecomputes(i,t,r),n,a)}createCache(t,n){ka(n,this.bits),Sa.set(t,n),Wt.delete(t)}hasCache(t){return Jt(t)!==1}}function as(e,t,n,r){let a=t,i=e.ZERO,s=e.ZERO;for(;n>Ge||r>Ge;)n&_e&&(i=i.add(a)),r&_e&&(s=s.add(a)),a=a.double(),n>>=_e,r>>=_e;return{p1:i,p2:s}}function is(e,t,n,r){ts(n,e),ns(r,t);const a=n.length,i=r.length;if(a!==i)throw new Error("arrays of points and scalars must have equal length");const s=e.ZERO,o=la(BigInt(a));let u=1;o>12?u=o-3:o>4?u=o-2:o>0&&(u=2);const c=at(u),f=new Array(Number(c)+1).fill(s),l=Math.floor((t.BITS-1)/u)*u;let m=s;for(let d=l;d>=0;d-=u){f.fill(s);for(let h=0;h<i;h++){const w=r[h],S=Number(w>>BigInt(d)&c);f[S]=f[S].add(n[h])}let y=s;for(let h=f.length-1,w=s;h>0;h--)w=w.add(f[h]),y=y.add(w);if(m=m.add(y),d!==0)for(let h=0;h<u;h++)m=m.double()}return m}function xr(e,t,n){if(t){if(t.ORDER!==e)throw new Error("Field.ORDER must match order: Fp == p, Fn == n");return Qi(t),t}else return De(e,{isLE:n})}function ss(e,t,n={},r){if(r===void 0&&(r=e==="edwards"),!t||typeof t!="object")throw new Error(`expected valid ${e} CURVE object`);for(const u of["p","n","h"]){const c=t[u];if(!(typeof c=="bigint"&&c>Ge))throw new Error(`CURVE.${u} must be positive bigint`)}const a=xr(t.p,n.Fp,r),i=xr(t.n,n.Fn,r),o=["Gx","Gy","a","b"];for(const u of o)if(!a.isValid(t[u]))throw new Error(`CURVE.${u} must be valid field element of CURVE.Fp`);return t=Object.freeze(Object.assign({},t)),{CURVE:t,Fp:a,Fn:i}}/*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) */const Er=(e,t)=>(e+(e>=0?t:-t)/Aa)/t;function os(e,t,n){const[[r,a],[i,s]]=t,o=Er(s*e,n),u=Er(-a*e,n);let c=e-o*r-u*i,f=-o*a-u*s;const l=c<Ee,m=f<Ee;l&&(c=-c),m&&(f=-f);const d=at(Math.ceil(la(n)/2))+He;if(c<Ee||c>=d||f<Ee||f>=d)throw new Error("splitScalar (endomorphism): failed, k="+e);return{k1neg:l,k1:c,k2neg:m,k2:f}}function an(e){if(!["compact","recovered","der"].includes(e))throw new Error('Signature format must be "compact", "recovered", or "der"');return e}function Yt(e,t){const n={};for(let r of Object.keys(t))n[r]=e[r]===void 0?t[r]:e[r];return Et(n.lowS,"lowS"),Et(n.prehash,"prehash"),n.format!==void 0&&an(n.format),n}class cs extends Error{constructor(t=""){super(t)}}const ve={Err:cs,_tlv:{encode:(e,t)=>{const{Err:n}=ve;if(e<0||e>256)throw new n("tlv.encode: wrong tag");if(t.length&1)throw new n("tlv.encode: unpadded data");const r=t.length/2,a=st(r);if(a.length/2&128)throw new n("tlv.encode: long form length too big");const i=r>127?st(a.length/2|128):"";return st(e)+i+a+t},decode(e,t){const{Err:n}=ve;let r=0;if(e<0||e>256)throw new n("tlv.encode: wrong tag");if(t.length<2||t[r++]!==e)throw new n("tlv.decode: wrong tlv");const a=t[r++],i=!!(a&128);let s=0;if(!i)s=a;else{const u=a&127;if(!u)throw new n("tlv.decode(long): indefinite length not supported");if(u>4)throw new n("tlv.decode(long): byte length is too big");const c=t.subarray(r,r+u);if(c.length!==u)throw new n("tlv.decode: length bytes not complete");if(c[0]===0)throw new n("tlv.decode(long): zero leftmost byte");for(const f of c)s=s<<8|f;if(r+=u,s<128)throw new n("tlv.decode(long): not minimal encoding")}const o=t.subarray(r,r+s);if(o.length!==s)throw new n("tlv.decode: wrong value length");return{v:o,l:t.subarray(r+s)}}},_int:{encode(e){const{Err:t}=ve;if(e<Ee)throw new t("integer: negative integers are not allowed");let n=st(e);if(Number.parseInt(n[0],16)&8&&(n="00"+n),n.length&1)throw new t("unexpected DER parsing assertion: unpadded hex");return n},decode(e){const{Err:t}=ve;if(e[0]&128)throw new t("invalid signature integer: negative");if(e[0]===0&&!(e[1]&128))throw new t("invalid signature integer: unnecessary leading zero");return jt(e)}},toSig(e){const{Err:t,_int:n,_tlv:r}=ve,a=ue("signature",e),{v:i,l:s}=r.decode(48,a);if(s.length)throw new t("invalid signature: left bytes after parsing");const{v:o,l:u}=r.decode(2,i),{v:c,l:f}=r.decode(2,u);if(f.length)throw new t("invalid signature: left bytes after parsing");return{r:n.decode(o),s:n.decode(c)}},hexFromSig(e){const{_tlv:t,_int:n}=ve,r=t.encode(2,n.encode(e.r)),a=t.encode(2,n.encode(e.s)),i=r+a;return t.encode(48,i)}},Ee=BigInt(0),He=BigInt(1),Aa=BigInt(2),ot=BigInt(3),us=BigInt(4);function Le(e,t){const{BYTES:n}=e;let r;if(typeof t=="bigint")r=t;else{let a=ue("private key",t);try{r=e.fromBytes(a)}catch{throw new Error(`invalid private key: expected ui8a of size ${n}, got ${typeof t}`)}}if(!e.isValidNot0(r))throw new Error("invalid private key: out of range [1..N-1]");return r}function ds(e,t={}){const n=ss("weierstrass",e,t),{Fp:r,Fn:a}=n;let i=n.CURVE;const{h:s,n:o}=i;qn(t,{},{allowInfinityPoint:"boolean",clearCofactor:"function",isTorsionFree:"function",fromBytes:"function",toBytes:"function",endo:"object",wrapPrivateKey:"boolean"});const{endo:u}=t;if(u&&(!r.is0(i.a)||typeof u.beta!="bigint"||!Array.isArray(u.basises)))throw new Error('invalid endo: expected "beta": bigint and "basises": array');const c=Ia(r,a);function f(){if(!r.isOdd)throw new Error("compression is not supported: Field does not have .isOdd()")}function l(F,x,b){const{x:g,y:P}=x.toAffine(),O=r.toBytes(g);if(Et(b,"isCompressed"),b){f();const B=!r.isOdd(P);return p.concatBytes$1(Pa(B),O)}else return p.concatBytes$1(Uint8Array.of(4),O,r.toBytes(P))}function m(F){Te(F,void 0,"Point");const{publicKey:x,publicKeyUncompressed:b}=c,g=F.length,P=F[0],O=F.subarray(1);if(g===x&&(P===2||P===3)){const B=r.fromBytes(O);if(!r.isValid(B))throw new Error("bad point: is not on curve, wrong x");const T=h(B);let C;try{C=r.sqrt(T)}catch(ne){const V=ne instanceof Error?": "+ne.message:"";throw new Error("bad point: is not on curve, sqrt error"+V)}f();const _=r.isOdd(C);return(P&1)===1!==_&&(C=r.neg(C)),{x:B,y:C}}else if(g===b&&P===4){const B=r.BYTES,T=r.fromBytes(O.subarray(0,B)),C=r.fromBytes(O.subarray(B,B*2));if(!w(T,C))throw new Error("bad point: is not on curve");return{x:T,y:C}}else throw new Error(`bad point: got length ${g}, expected compressed=${x} or uncompressed=${b}`)}const d=t.toBytes||l,y=t.fromBytes||m;function h(F){const x=r.sqr(F),b=r.mul(x,F);return r.add(r.add(b,r.mul(F,i.a)),i.b)}function w(F,x){const b=r.sqr(x),g=h(F);return r.eql(b,g)}if(!w(i.Gx,i.Gy))throw new Error("bad curve params: generator point");const S=r.mul(r.pow(i.a,ot),us),v=r.mul(r.sqr(i.b),BigInt(27));if(r.is0(r.add(S,v)))throw new Error("bad curve params: a or b");function I(F,x,b=!1){if(!r.isValid(x)||b&&r.is0(x))throw new Error(`bad point coordinate ${F}`);return x}function D(F){if(!(F instanceof U))throw new Error("ProjectivePoint expected")}function ee(F){if(!u||!u.basises)throw new Error("no endo");return os(F,u.basises,a.ORDER)}const ae=yr((F,x)=>{const{X:b,Y:g,Z:P}=F;if(r.eql(P,r.ONE))return{x:b,y:g};const O=F.is0();x==null&&(x=O?r.ONE:r.inv(P));const B=r.mul(b,x),T=r.mul(g,x),C=r.mul(P,x);if(O)return{x:r.ZERO,y:r.ZERO};if(!r.eql(C,r.ONE))throw new Error("invZ was invalid");return{x:B,y:T}}),R=yr(F=>{if(F.is0()){if(t.allowInfinityPoint&&!r.is0(F.Y))return;throw new Error("bad point: ZERO")}const{x,y:b}=F.toAffine();if(!r.isValid(x)||!r.isValid(b))throw new Error("bad point: x or y not field elements");if(!w(x,b))throw new Error("bad point: equation left != right");if(!F.isTorsionFree())throw new Error("bad point: not in prime-order subgroup");return!0});function j(F,x,b,g,P){return b=new U(r.mul(b.X,F),b.Y,b.Z),x=kt(g,x),b=kt(P,b),x.add(b)}class U{constructor(x,b,g){this.X=I("x",x),this.Y=I("y",b,!0),this.Z=I("z",g),Object.freeze(this)}static CURVE(){return i}static fromAffine(x){const{x:b,y:g}=x||{};if(!x||!r.isValid(b)||!r.isValid(g))throw new Error("invalid affine point");if(x instanceof U)throw new Error("projective point not allowed");return r.is0(b)&&r.is0(g)?U.ZERO:new U(b,g,r.ONE)}static fromBytes(x){const b=U.fromAffine(y(Te(x,void 0,"point")));return b.assertValidity(),b}static fromHex(x){return U.fromBytes(ue("pointHex",x))}get x(){return this.toAffine().x}get y(){return this.toAffine().y}precompute(x=8,b=!0){return le.createCache(this,x),b||this.multiply(ot),this}assertValidity(){R(this)}hasEvenY(){const{y:x}=this.toAffine();if(!r.isOdd)throw new Error("Field doesn't support isOdd");return!r.isOdd(x)}equals(x){D(x);const{X:b,Y:g,Z:P}=this,{X:O,Y:B,Z:T}=x,C=r.eql(r.mul(b,T),r.mul(O,P)),_=r.eql(r.mul(g,T),r.mul(B,P));return C&&_}negate(){return new U(this.X,r.neg(this.Y),this.Z)}double(){const{a:x,b}=i,g=r.mul(b,ot),{X:P,Y:O,Z:B}=this;let T=r.ZERO,C=r.ZERO,_=r.ZERO,N=r.mul(P,P),ne=r.mul(O,O),V=r.mul(B,B),M=r.mul(P,O);return M=r.add(M,M),_=r.mul(P,B),_=r.add(_,_),T=r.mul(x,_),C=r.mul(g,V),C=r.add(T,C),T=r.sub(ne,C),C=r.add(ne,C),C=r.mul(T,C),T=r.mul(M,T),_=r.mul(g,_),V=r.mul(x,V),M=r.sub(N,V),M=r.mul(x,M),M=r.add(M,_),_=r.add(N,N),N=r.add(_,N),N=r.add(N,V),N=r.mul(N,M),C=r.add(C,N),V=r.mul(O,B),V=r.add(V,V),N=r.mul(V,M),T=r.sub(T,N),_=r.mul(V,ne),_=r.add(_,_),_=r.add(_,_),new U(T,C,_)}add(x){D(x);const{X:b,Y:g,Z:P}=this,{X:O,Y:B,Z:T}=x;let C=r.ZERO,_=r.ZERO,N=r.ZERO;const ne=i.a,V=r.mul(i.b,ot);let M=r.mul(b,O),W=r.mul(g,B),re=r.mul(P,T),ce=r.add(b,g),J=r.add(O,B);ce=r.mul(ce,J),J=r.add(M,W),ce=r.sub(ce,J),J=r.add(b,P);let ie=r.add(O,T);return J=r.mul(J,ie),ie=r.add(M,re),J=r.sub(J,ie),ie=r.add(g,P),C=r.add(B,T),ie=r.mul(ie,C),C=r.add(W,re),ie=r.sub(ie,C),N=r.mul(ne,J),C=r.mul(V,re),N=r.add(C,N),C=r.sub(W,N),N=r.add(W,N),_=r.mul(C,N),W=r.add(M,M),W=r.add(W,M),re=r.mul(ne,re),J=r.mul(V,J),W=r.add(W,re),re=r.sub(M,re),re=r.mul(ne,re),J=r.add(J,re),M=r.mul(W,J),_=r.add(_,M),M=r.mul(ie,J),C=r.mul(ce,C),C=r.sub(C,M),M=r.mul(ce,W),N=r.mul(ie,N),N=r.add(N,M),new U(C,_,N)}subtract(x){return this.add(x.negate())}is0(){return this.equals(U.ZERO)}multiply(x){const{endo:b}=t;if(!a.isValidNot0(x))throw new Error("invalid scalar: out of range");let g,P;const O=B=>le.cached(this,B,T=>qt(U,T));if(b){const{k1neg:B,k1:T,k2neg:C,k2:_}=ee(x),{p:N,f:ne}=O(T),{p:V,f:M}=O(_);P=ne.add(M),g=j(b.beta,N,V,B,C)}else{const{p:B,f:T}=O(x);g=B,P=T}return qt(U,[g,P])[0]}multiplyUnsafe(x){const{endo:b}=t,g=this;if(!a.isValid(x))throw new Error("invalid scalar: out of range");if(x===Ee||g.is0())return U.ZERO;if(x===He)return g;if(le.hasCache(this))return this.multiply(x);if(b){const{k1neg:P,k1:O,k2neg:B,k2:T}=ee(x),{p1:C,p2:_}=as(U,g,O,T);return j(b.beta,C,_,P,B)}else return le.unsafe(g,x)}multiplyAndAddUnsafe(x,b,g){const P=this.multiplyUnsafe(b).add(x.multiplyUnsafe(g));return P.is0()?void 0:P}toAffine(x){return ae(this,x)}isTorsionFree(){const{isTorsionFree:x}=t;return s===He?!0:x?x(U,this):le.unsafe(this,o).is0()}clearCofactor(){const{clearCofactor:x}=t;return s===He?this:x?x(U,this):this.multiplyUnsafe(s)}isSmallOrder(){return this.multiplyUnsafe(s).is0()}toBytes(x=!0){return Et(x,"isCompressed"),this.assertValidity(),d(U,this,x)}toHex(x=!0){return p.bytesToHex$1(this.toBytes(x))}toString(){return`<Point ${this.is0()?"ZERO":this.toHex()}>`}get px(){return this.X}get py(){return this.X}get pz(){return this.Z}toRawBytes(x=!0){return this.toBytes(x)}_setWindowSize(x){this.precompute(x)}static normalizeZ(x){return qt(U,x)}static msm(x,b){return is(U,a,x,b)}static fromPrivateKey(x){return U.BASE.multiply(Le(a,x))}}U.BASE=new U(i.Gx,i.Gy,r.ONE),U.ZERO=new U(r.ZERO,r.ONE,r.ZERO),U.Fp=r,U.Fn=a;const se=a.BITS,le=new rs(U,t.endo?Math.ceil(se/2):se);return U.BASE.precompute(8),U}function Pa(e){return Uint8Array.of(e?2:3)}function Ia(e,t){return{secretKey:t.BYTES,publicKey:1+e.BYTES,publicKeyUncompressed:1+2*e.BYTES,publicKeyHasPrefix:!0,signature:2*t.BYTES}}function ls(e,t={}){const{Fn:n}=e,r=t.randomBytes||p.randomBytes,a=Object.assign(Ia(e.Fp,n),{seed:Ea(n.ORDER)});function i(d){try{return!!Le(n,d)}catch{return!1}}function s(d,y){const{publicKey:h,publicKeyUncompressed:w}=a;try{const S=d.length;return y===!0&&S!==h||y===!1&&S!==w?!1:!!e.fromBytes(d)}catch{return!1}}function o(d=r(a.seed)){return es(Te(d,a.seed,"seed"),n.ORDER)}function u(d,y=!0){return e.BASE.multiply(Le(n,d)).toBytes(y)}function c(d){const y=o(d);return{secretKey:y,publicKey:u(y)}}function f(d){if(typeof d=="bigint")return!1;if(d instanceof e)return!0;const{secretKey:y,publicKey:h,publicKeyUncompressed:w}=a;if(n.allowedLengths||y===h)return;const S=ue("key",d).length;return S===h||S===w}function l(d,y,h=!0){if(f(d)===!0)throw new Error("first arg must be private key");if(f(y)===!1)throw new Error("second arg must be public key");const w=Le(n,d);return e.fromHex(y).multiply(w).toBytes(h)}return Object.freeze({getPublicKey:u,getSharedSecret:l,keygen:c,Point:e,utils:{isValidSecretKey:i,isValidPublicKey:s,randomSecretKey:o,isValidPrivateKey:i,randomPrivateKey:o,normPrivateKeyToScalar:d=>Le(n,d),precompute(d=8,y=e.BASE){return y.precompute(d,!1)}},lengths:a})}function fs(e,t,n={}){p.ahash(t),qn(n,{},{hmac:"function",lowS:"boolean",randomBytes:"function",bits2int:"function",bits2int_modN:"function"});const r=n.randomBytes||p.randomBytes,a=n.hmac||((b,...g)=>p.hmac(t,b,p.concatBytes$1(...g))),{Fp:i,Fn:s}=e,{ORDER:o,BITS:u}=s,{keygen:c,getPublicKey:f,getSharedSecret:l,utils:m,lengths:d}=ls(e,n),y={prehash:!1,lowS:typeof n.lowS=="boolean"?n.lowS:!1,format:void 0,extraEntropy:!1},h="compact";function w(b){const g=o>>He;return b>g}function S(b,g){if(!s.isValidNot0(g))throw new Error(`invalid signature ${b}: out of range 1..Point.Fn.ORDER`);return g}function v(b,g){an(g);const P=d.signature,O=g==="compact"?P:g==="recovered"?P+1:void 0;return Te(b,O,`${g} signature`)}class I{constructor(g,P,O){this.r=S("r",g),this.s=S("s",P),O!=null&&(this.recovery=O),Object.freeze(this)}static fromBytes(g,P=h){v(g,P);let O;if(P==="der"){const{r:_,s:N}=ve.toSig(Te(g));return new I(_,N)}P==="recovered"&&(O=g[0],P="compact",g=g.subarray(1));const B=s.BYTES,T=g.subarray(0,B),C=g.subarray(B,B*2);return new I(s.fromBytes(T),s.fromBytes(C),O)}static fromHex(g,P){return this.fromBytes(p.hexToBytes$1(g),P)}addRecoveryBit(g){return new I(this.r,this.s,g)}recoverPublicKey(g){const P=i.ORDER,{r:O,s:B,recovery:T}=this;if(T==null||![0,1,2,3].includes(T))throw new Error("recovery id invalid");if(o*Aa<P&&T>1)throw new Error("recovery id is ambiguous for h>1 curve");const _=T===2||T===3?O+o:O;if(!i.isValid(_))throw new Error("recovery id 2 or 3 invalid");const N=i.toBytes(_),ne=e.fromBytes(p.concatBytes$1(Pa((T&1)===0),N)),V=s.inv(_),M=ee(ue("msgHash",g)),W=s.create(-M*V),re=s.create(B*V),ce=e.BASE.multiplyUnsafe(W).add(ne.multiplyUnsafe(re));if(ce.is0())throw new Error("point at infinify");return ce.assertValidity(),ce}hasHighS(){return w(this.s)}toBytes(g=h){if(an(g),g==="der")return p.hexToBytes$1(ve.hexFromSig(this));const P=s.toBytes(this.r),O=s.toBytes(this.s);if(g==="recovered"){if(this.recovery==null)throw new Error("recovery bit must be present");return p.concatBytes$1(Uint8Array.of(this.recovery),P,O)}return p.concatBytes$1(P,O)}toHex(g){return p.bytesToHex$1(this.toBytes(g))}assertValidity(){}static fromCompact(g){return I.fromBytes(ue("sig",g),"compact")}static fromDER(g){return I.fromBytes(ue("sig",g),"der")}normalizeS(){return this.hasHighS()?new I(this.r,s.neg(this.s),this.recovery):this}toDERRawBytes(){return this.toBytes("der")}toDERHex(){return p.bytesToHex$1(this.toBytes("der"))}toCompactRawBytes(){return this.toBytes("compact")}toCompactHex(){return p.bytesToHex$1(this.toBytes("compact"))}}const D=n.bits2int||function(g){if(g.length>8192)throw new Error("input is too large");const P=jt(g),O=g.length*8-u;return O>0?P>>BigInt(O):P},ee=n.bits2int_modN||function(g){return s.create(D(g))},ae=at(u);function R(b){return zi("num < 2^"+u,b,Ee,ae),s.toBytes(b)}function j(b,g){return Te(b,void 0,"message"),g?Te(t(b),void 0,"prehashed message"):b}function U(b,g,P){if(["recovered","canonical"].some(W=>W in P))throw new Error("sign() legacy options not supported");const{lowS:O,prehash:B,extraEntropy:T}=Yt(P,y);b=j(b,B);const C=ee(b),_=Le(s,g),N=[R(_),R(C)];if(T!=null&&T!==!1){const W=T===!0?r(d.secretKey):T;N.push(ue("extraEntropy",W))}const ne=p.concatBytes$1(...N),V=C;function M(W){const re=D(W);if(!s.isValidNot0(re))return;const ce=s.inv(re),J=e.BASE.multiply(re).toAffine(),ie=s.create(J.x);if(ie===Ee)return;const it=s.create(ce*s.create(V+ie*_));if(it===Ee)return;let mr=(J.x===ie?0:2)|Number(J.y&He),hr=it;return O&&w(it)&&(hr=s.neg(it),mr^=1),new I(ie,hr,mr)}return{seed:ne,k2sig:M}}function se(b,g,P={}){b=ue("message",b);const{seed:O,k2sig:B}=U(b,g,P);return Vi(t.outputLen,s.BYTES,a)(O,B)}function le(b){let g;const P=typeof b=="string"||p.isBytes(b),O=!P&&b!==null&&typeof b=="object"&&typeof b.r=="bigint"&&typeof b.s=="bigint";if(!P&&!O)throw new Error("invalid signature, expected Uint8Array, hex string or Signature instance");if(O)g=new I(b.r,b.s);else if(P){try{g=I.fromBytes(ue("sig",b),"der")}catch(B){if(!(B instanceof ve.Err))throw B}if(!g)try{g=I.fromBytes(ue("sig",b),"compact")}catch{return!1}}return g||!1}function F(b,g,P,O={}){const{lowS:B,prehash:T,format:C}=Yt(O,y);if(P=ue("publicKey",P),g=j(ue("message",g),T),"strict"in O)throw new Error("options.strict was renamed to lowS");const _=C===void 0?le(b):I.fromBytes(ue("sig",b),C);if(_===!1)return!1;try{const N=e.fromBytes(P);if(B&&_.hasHighS())return!1;const{r:ne,s:V}=_,M=ee(g),W=s.inv(V),re=s.create(M*W),ce=s.create(ne*W),J=e.BASE.multiplyUnsafe(re).add(N.multiplyUnsafe(ce));return J.is0()?!1:s.create(J.x)===ne}catch{return!1}}function x(b,g,P={}){const{prehash:O}=Yt(P,y);return g=j(g,O),I.fromBytes(b,"recovered").recoverPublicKey(g).toBytes()}return Object.freeze({keygen:c,getPublicKey:f,getSharedSecret:l,utils:m,lengths:d,Point:e,sign:se,verify:F,recoverPublicKey:x,Signature:I,hash:t})}function ps(e){const t={a:e.a,b:e.b,p:e.Fp.ORDER,n:e.n,h:e.h,Gx:e.Gx,Gy:e.Gy},n=e.Fp;let r=e.allowedPrivateKeyLengths?Array.from(new Set(e.allowedPrivateKeyLengths.map(s=>Math.ceil(s/2)))):void 0;const a=De(t.n,{BITS:e.nBitLength,allowedLengths:r,modFromBytes:e.wrapPrivateKey}),i={Fp:n,Fn:a,allowInfinityPoint:e.allowInfinityPoint,endo:e.endo,isTorsionFree:e.isTorsionFree,clearCofactor:e.clearCofactor,fromBytes:e.fromBytes,toBytes:e.toBytes};return{CURVE:t,curveOpts:i}}function ms(e){const{CURVE:t,curveOpts:n}=ps(e),r={hmac:e.hmac,randomBytes:e.randomBytes,lowS:e.lowS,bits2int:e.bits2int,bits2int_modN:e.bits2int_modN};return{CURVE:t,curveOpts:n,hash:e.hash,ecdsaOpts:r}}function hs(e,t){const n=t.Point;return Object.assign({},t,{ProjectivePoint:n,CURVE:Object.assign({},e,va(n.Fn.ORDER,n.Fn.BITS))})}function ys(e){const{CURVE:t,curveOpts:n,hash:r,ecdsaOpts:a}=ms(e),i=ds(t,n),s=fs(i,r,a);return hs(e,s)}/*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) */function Wn(e,t){const n=r=>ys({...e,hash:r});return{...n(t),create:n}}const gs={gasPriceOracle:{address:"0x420000000000000000000000000000000000000F"},l1Block:{address:"0x4200000000000000000000000000000000000015"},l2CrossDomainMessenger:{address:"0x4200000000000000000000000000000000000007"},l2Erc721Bridge:{address:"0x4200000000000000000000000000000000000014"},l2StandardBridge:{address:"0x4200000000000000000000000000000000000010"},l2ToL1MessagePasser:{address:"0x4200000000000000000000000000000000000016"}},bs={block:k.defineBlock({format(e){var n;return{transactions:(n=e.transactions)==null?void 0:n.map(r=>{if(typeof r=="string")return r;const a=k.formatTransaction(r);return a.typeHex==="0x7e"&&(a.isSystemTx=r.isSystemTx,a.mint=r.mint?p.hexToBigInt(r.mint):void 0,a.sourceHash=r.sourceHash,a.type="deposit"),a}),stateRoot:e.stateRoot}}}),transaction:k.defineTransaction({format(e){const t={};return e.type==="0x7e"&&(t.isSystemTx=e.isSystemTx,t.mint=e.mint?p.hexToBigInt(e.mint):void 0,t.sourceHash=e.sourceHash,t.type="deposit"),t}}),transactionReceipt:k.defineTransactionReceipt({format(e){return{l1GasPrice:e.l1GasPrice?p.hexToBigInt(e.l1GasPrice):null,l1GasUsed:e.l1GasUsed?p.hexToBigInt(e.l1GasUsed):null,l1Fee:e.l1Fee?p.hexToBigInt(e.l1Fee):null,l1FeeScalar:e.l1FeeScalar?Number(e.l1FeeScalar):null}}})};function ws(e,t){return Es(e)?xs(e):k.serializeTransaction(e,t)}const vs={transaction:ws};function xs(e){ks(e);const{sourceHash:t,data:n,from:r,gas:a,isSystemTx:i,mint:s,to:o,value:u}=e,c=[t,r,o??"0x",s?p.toHex(s):"0x",u?p.toHex(u):"0x",a?p.toHex(a):"0x",i?"0x1":"0x",n??"0x"];return p.concatHex(["0x7e",k.toRlp(c)])}function Es(e){return e.type==="deposit"||typeof e.sourceHash<"u"}function ks(e){const{from:t,to:n}=e;if(t&&!p.isAddress(t))throw new p.InvalidAddressError({address:t});if(n&&!p.isAddress(n))throw new p.InvalidAddressError({address:n})}const be={blockTime:2e3,contracts:gs,formatters:bs,serializers:vs},Ss=k.defineChain({id:42161,name:"Arbitrum One",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},blockTime:250,rpcUrls:{default:{http:["https://arb1.arbitrum.io/rpc"]}},blockExplorers:{default:{name:"Arbiscan",url:"https://arbiscan.io",apiUrl:"https://api.arbiscan.io/api"}},contracts:{multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:7654707}}}),As=k.defineChain({id:43114,name:"Avalanche",blockTime:1700,nativeCurrency:{decimals:18,name:"Avalanche",symbol:"AVAX"},rpcUrls:{default:{http:["https://api.avax.network/ext/bc/C/rpc"]}},blockExplorers:{default:{name:"SnowTrace",url:"https://snowtrace.io",apiUrl:"https://api.snowtrace.io"}},contracts:{multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:11907934}}}),We=1,Oa=k.defineChain({...be,id:8453,name:"Base",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},rpcUrls:{default:{http:["https://mainnet.base.org"]}},blockExplorers:{default:{name:"Basescan",url:"https://basescan.org",apiUrl:"https://api.basescan.org/api"}},contracts:{...be.contracts,disputeGameFactory:{[We]:{address:"0x43edB88C4B80fDD2AdFF2412A7BebF9dF42cB40e"}},l2OutputOracle:{[We]:{address:"0x56315b90c40730925ec5485cf004d835058518A0"}},multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:5022},portal:{[We]:{address:"0x49048044D57e1C92A77f79988d21Fa8fAF74E97e",blockCreated:17482143}},l1StandardBridge:{[We]:{address:"0x3154Cf16ccdb4C6d922629664174b904d80F2C35",blockCreated:17482143}}},sourceId:We});({...Oa});const Je=11155111,Ca=k.defineChain({...be,id:84532,network:"base-sepolia",name:"Base Sepolia",nativeCurrency:{name:"Sepolia Ether",symbol:"ETH",decimals:18},rpcUrls:{default:{http:["https://sepolia.base.org"]}},blockExplorers:{default:{name:"Basescan",url:"https://sepolia.basescan.org",apiUrl:"https://api-sepolia.basescan.org/api"}},contracts:{...be.contracts,disputeGameFactory:{[Je]:{address:"0xd6E6dBf4F7EA0ac412fD8b65ED297e64BB7a06E1"}},l2OutputOracle:{[Je]:{address:"0x84457ca9D0163FbC4bbfe4Dfbb20ba46e48DF254"}},portal:{[Je]:{address:"0x49f53e41452c74589e85ca1677426ba426459e85",blockCreated:4446677}},l1StandardBridge:{[Je]:{address:"0xfd0Bf71F60660E2f608ed56e1659C450eB113120",blockCreated:4446677}},multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:1059647}},testnet:!0,sourceId:Je});({...Ca});const Ps=k.defineChain({id:56,name:"BNB Smart Chain",blockTime:750,nativeCurrency:{decimals:18,name:"BNB",symbol:"BNB"},rpcUrls:{default:{http:["https://56.rpc.thirdweb.com"]}},blockExplorers:{default:{name:"BscScan",url:"https://bscscan.com",apiUrl:"https://api.bscscan.com/api"}},contracts:{multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:15921452}}}),Is=k.defineChain({id:1,name:"Ethereum",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},blockTime:12e3,rpcUrls:{default:{http:["https://eth.merkle.io"]}},blockExplorers:{default:{name:"Etherscan",url:"https://etherscan.io",apiUrl:"https://api.etherscan.io/api"}},contracts:{ensUniversalResolver:{address:"0xeeeeeeee14d718c2b47d9923deab1335e144eeee",blockCreated:23085558},multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:14353601}}}),Ye=1,Os=k.defineChain({...be,id:10,name:"OP Mainnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},rpcUrls:{default:{http:["https://mainnet.optimism.io"]}},blockExplorers:{default:{name:"Optimism Explorer",url:"https://optimistic.etherscan.io",apiUrl:"https://api-optimistic.etherscan.io/api"}},contracts:{...be.contracts,disputeGameFactory:{[Ye]:{address:"0xe5965Ab5962eDc7477C8520243A95517CD252fA9"}},l2OutputOracle:{[Ye]:{address:"0xdfe97868233d1aa22e815a266982f2cf17685a27"}},multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:4286263},portal:{[Ye]:{address:"0xbEb5Fc579115071764c7423A4f12eDde41f106Ed"}},l1StandardBridge:{[Ye]:{address:"0x99C9fc46f92E8a1c0deC1b1747d010903E884bE1"}}},sourceId:Ye}),Xe=11155111,Cs=k.defineChain({...be,id:11155420,name:"OP Sepolia",nativeCurrency:{name:"Sepolia Ether",symbol:"ETH",decimals:18},rpcUrls:{default:{http:["https://sepolia.optimism.io"]}},blockExplorers:{default:{name:"Blockscout",url:"https://optimism-sepolia.blockscout.com",apiUrl:"https://optimism-sepolia.blockscout.com/api"}},contracts:{...be.contracts,disputeGameFactory:{[Xe]:{address:"0x05F9613aDB30026FFd634f38e5C4dFd30a197Fa1"}},l2OutputOracle:{[Xe]:{address:"0x90E9c4f8a994a250F6aEfd61CAFb4F2e895D458F"}},multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:1620204},portal:{[Xe]:{address:"0x16Fc5058F25648194471939df75CF27A2fdC48BC"}},l1StandardBridge:{[Xe]:{address:"0xFBb0621E0B23b5478B630BD55a5f21f67730B0F1"}}},testnet:!0,sourceId:Xe}),Ts=k.defineChain({id:137,name:"Polygon",blockTime:2e3,nativeCurrency:{name:"POL",symbol:"POL",decimals:18},rpcUrls:{default:{http:["https://polygon-rpc.com"]}},blockExplorers:{default:{name:"PolygonScan",url:"https://polygonscan.com",apiUrl:"https://api.etherscan.io/v2/api"}},contracts:{multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:25770160}}}),Bs=k.defineChain({id:11155111,name:"Sepolia",nativeCurrency:{name:"Sepolia Ether",symbol:"ETH",decimals:18},rpcUrls:{default:{http:["https://11155111.rpc.thirdweb.com"]}},blockExplorers:{default:{name:"Etherscan",url:"https://sepolia.etherscan.io",apiUrl:"https://api-sepolia.etherscan.io/api"}},contracts:{multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:751532},ensUniversalResolver:{address:"0xeeeeeeee14d718c2b47d9923deab1335e144eeee",blockCreated:8928790}},testnet:!0}),ct=1,_s=k.defineChain({...be,id:7777777,name:"Zora",nativeCurrency:{decimals:18,name:"Ether",symbol:"ETH"},rpcUrls:{default:{http:["https://rpc.zora.energy"],webSocket:["wss://rpc.zora.energy"]}},blockExplorers:{default:{name:"Explorer",url:"https://explorer.zora.energy",apiUrl:"https://explorer.zora.energy/api"}},contracts:{...be.contracts,l2OutputOracle:{[ct]:{address:"0x9E6204F750cD866b299594e2aC9eA824E2e5f95c"}},multicall3:{address:"0xcA11bde05977b3631167028862bE2a173976CA11",blockCreated:5882},portal:{[ct]:{address:"0x1a0ad011913A150f69f6A19DF447A0CfD9551054"}},l1StandardBridge:{[ct]:{address:"0x3e2Ea9B92B7E48A52296fD261dc26fd995284631"}}},sourceId:ct}),Us="@base-org/account",Rs="2.4.0",Ta={name:Us,version:Rs},Ns="https://keys.coinbase.com/connect",sn="https://rpc.wallet.coinbase.com",Mt=Ta.name,je=Ta.version;function Ba(e,t){let n;try{n=e()}catch{return}return{getItem:a=>{var i;const s=u=>u===null?null:JSON.parse(u,void 0),o=(i=n.getItem(a))!=null?i:null;return o instanceof Promise?o.then(s):s(o)},setItem:(a,i)=>n.setItem(a,JSON.stringify(i,void 0)),removeItem:a=>n.removeItem(a)}}const on=e=>t=>{try{const n=e(t);return n instanceof Promise?n:{then(r){return on(r)(n)},catch(r){return this}}}catch(n){return{then(r){return this},catch(r){return on(r)(n)}}}},Ds=(e,t)=>(n,r,a)=>{let i={storage:Ba(()=>localStorage),partialize:h=>h,version:0,merge:(h,w)=>({...w,...h}),...t},s=!1;const o=new Set,u=new Set;let c=i.storage;if(!c)return e((...h)=>{console.warn(`[zustand persist middleware] Unable to update item '${i.name}', the given storage is currently unavailable.`),n(...h)},r,a);const f=()=>{const h=i.partialize({...r()});return c.setItem(i.name,{state:h,version:i.version})},l=a.setState;a.setState=(h,w)=>{l(h,w),f()};const m=e((...h)=>{n(...h),f()},r,a);a.getInitialState=()=>m;let d;const y=()=>{var h,w;if(!c)return;s=!1,o.forEach(v=>{var I;return v((I=r())!=null?I:m)});const S=((w=i.onRehydrateStorage)==null?void 0:w.call(i,(h=r())!=null?h:m))||void 0;return on(c.getItem.bind(c))(i.name).then(v=>{if(v)if(typeof v.version=="number"&&v.version!==i.version){if(i.migrate){const I=i.migrate(v.state,v.version);return I instanceof Promise?I.then(D=>[!0,D]):[!0,I]}console.error("State loaded from storage couldn't be migrated since no migrate function was provided")}else return[!1,v.state];return[!1,void 0]}).then(v=>{var I;const[D,ee]=v;if(d=i.merge(ee,(I=r())!=null?I:m),n(d,!0),D)return f()}).then(()=>{S==null||S(d,void 0),d=r(),s=!0,u.forEach(v=>v(d))}).catch(v=>{S==null||S(void 0,v)})};return a.persist={setOptions:h=>{i={...i,...h},h.storage&&(c=h.storage)},clearStorage:()=>{c==null||c.removeItem(i.name)},getOptions:()=>i,rehydrate:()=>y(),hasHydrated:()=>s,onHydrate:h=>(o.add(h),()=>{o.delete(h)}),onFinishHydration:h=>(u.add(h),()=>{u.delete(h)})},i.skipHydration||y(),d||m},js=Ds,kr=e=>{let t;const n=new Set,r=(c,f)=>{const l=typeof c=="function"?c(t):c;if(!Object.is(l,t)){const m=t;t=f??(typeof l!="object"||l===null)?l:Object.assign({},t,l),n.forEach(d=>d(t,m))}},a=()=>t,o={setState:r,getState:a,getInitialState:()=>u,subscribe:c=>(n.add(c),()=>n.delete(c))},u=t=e(r,a,o);return o},Jn=e=>e?kr(e):kr,Ms=()=>({chains:[]}),Fs=()=>({keys:{}}),Ls=()=>({account:{}}),Hs=()=>({subAccount:void 0}),Gs=()=>({subAccountConfig:{}}),Ks=()=>({spendPermissions:[]}),zs=()=>({config:{version:je}}),$=Jn(js((...e)=>({...Ms(...e),...Fs(...e),...Ls(...e),...Hs(...e),...Ks(...e),...zs(...e),...Gs(...e)}),{name:"base-acc-sdk.store",storage:Ba(()=>localStorage),partialize:e=>({chains:e.chains,keys:e.keys,account:e.account,subAccount:e.subAccount,spendPermissions:e.spendPermissions,config:e.config})})),Vs={get:()=>$.getState().subAccountConfig,set:e=>{$.setState(t=>({subAccountConfig:{...t.subAccountConfig,...e}}))},clear:()=>{$.setState({subAccountConfig:{}})}},qs={get:()=>$.getState().subAccount,set:e=>{$.setState(t=>({subAccount:t.subAccount?{...t.subAccount,...e}:{address:e.address,...e}}))},clear:()=>{$.setState({subAccount:void 0})}},Yn={get:()=>$.getState().spendPermissions,set:e=>{$.setState({spendPermissions:e})},clear:()=>{$.setState({spendPermissions:[]})}},Zs={get:()=>$.getState().account,set:e=>{$.setState(t=>({account:{...t.account,...e}}))},clear:()=>{$.setState({account:{}})}},Ws={get:()=>$.getState().chains,set:e=>{$.setState({chains:e})},clear:()=>{$.setState({chains:[]})}},Js={get:e=>$.getState().keys[e],set:(e,t)=>{$.setState(n=>({keys:{...n.keys,[e]:t}}))},clear:()=>{$.setState({keys:{}})}},_a={get:()=>$.getState().config,set:e=>{$.setState(t=>({config:{...t.config,...e}}))}},Ys={subAccounts:qs,subAccountsConfig:Vs,spendPermissions:Yn,account:Zs,chains:Ws,keys:Js,config:_a},E={...$,...Ys},Xs='!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.ClientAnalytics=t():e.ClientAnalytics=t()}(this,(function(){return(()=>{var e={792:e=>{var t={utf8:{stringToBytes:function(e){return t.bin.stringToBytes(unescape(encodeURIComponent(e)))},bytesToString:function(e){return decodeURIComponent(escape(t.bin.bytesToString(e)))}},bin:{stringToBytes:function(e){for(var t=[],n=0;n<e.length;n++)t.push(255&e.charCodeAt(n));return t},bytesToString:function(e){for(var t=[],n=0;n<e.length;n++)t.push(String.fromCharCode(e[n]));return t.join("")}}};e.exports=t},562:e=>{var t,n;t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",n={rotl:function(e,t){return e<<t|e>>>32-t},rotr:function(e,t){return e<<32-t|e>>>t},endian:function(e){if(e.constructor==Number)return 16711935&n.rotl(e,8)|4278255360&n.rotl(e,24);for(var t=0;t<e.length;t++)e[t]=n.endian(e[t]);return e},randomBytes:function(e){for(var t=[];e>0;e--)t.push(Math.floor(256*Math.random()));return t},bytesToWords:function(e){for(var t=[],n=0,r=0;n<e.length;n++,r+=8)t[r>>>5]|=e[n]<<24-r%32;return t},wordsToBytes:function(e){for(var t=[],n=0;n<32*e.length;n+=8)t.push(e[n>>>5]>>>24-n%32&255);return t},bytesToHex:function(e){for(var t=[],n=0;n<e.length;n++)t.push((e[n]>>>4).toString(16)),t.push((15&e[n]).toString(16));return t.join("")},hexToBytes:function(e){for(var t=[],n=0;n<e.length;n+=2)t.push(parseInt(e.substr(n,2),16));return t},bytesToBase64:function(e){for(var n=[],r=0;r<e.length;r+=3)for(var i=e[r]<<16|e[r+1]<<8|e[r+2],a=0;a<4;a++)8*r+6*a<=8*e.length?n.push(t.charAt(i>>>6*(3-a)&63)):n.push("=");return n.join("")},base64ToBytes:function(e){e=e.replace(/[^A-Z0-9+\\/]/gi,"");for(var n=[],r=0,i=0;r<e.length;i=++r%4)0!=i&&n.push((t.indexOf(e.charAt(r-1))&Math.pow(2,-2*i+8)-1)<<2*i|t.indexOf(e.charAt(r))>>>6-2*i);return n}},e.exports=n},335:e=>{function t(e){return!!e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}e.exports=function(e){return null!=e&&(t(e)||function(e){return"function"==typeof e.readFloatLE&&"function"==typeof e.slice&&t(e.slice(0,0))}(e)||!!e._isBuffer)}},762:(e,t,n)=>{var r,i,a,o,s;r=n(562),i=n(792).utf8,a=n(335),o=n(792).bin,(s=function(e,t){e.constructor==String?e=t&&"binary"===t.encoding?o.stringToBytes(e):i.stringToBytes(e):a(e)?e=Array.prototype.slice.call(e,0):Array.isArray(e)||e.constructor===Uint8Array||(e=e.toString());for(var n=r.bytesToWords(e),c=8*e.length,u=1732584193,l=-271733879,d=-1732584194,p=271733878,m=0;m<n.length;m++)n[m]=16711935&(n[m]<<8|n[m]>>>24)|4278255360&(n[m]<<24|n[m]>>>8);n[c>>>5]|=128<<c%32,n[14+(c+64>>>9<<4)]=c;var f=s._ff,v=s._gg,g=s._hh,b=s._ii;for(m=0;m<n.length;m+=16){var h=u,w=l,y=d,T=p;u=f(u,l,d,p,n[m+0],7,-680876936),p=f(p,u,l,d,n[m+1],12,-389564586),d=f(d,p,u,l,n[m+2],17,606105819),l=f(l,d,p,u,n[m+3],22,-1044525330),u=f(u,l,d,p,n[m+4],7,-176418897),p=f(p,u,l,d,n[m+5],12,1200080426),d=f(d,p,u,l,n[m+6],17,-1473231341),l=f(l,d,p,u,n[m+7],22,-45705983),u=f(u,l,d,p,n[m+8],7,1770035416),p=f(p,u,l,d,n[m+9],12,-1958414417),d=f(d,p,u,l,n[m+10],17,-42063),l=f(l,d,p,u,n[m+11],22,-1990404162),u=f(u,l,d,p,n[m+12],7,1804603682),p=f(p,u,l,d,n[m+13],12,-40341101),d=f(d,p,u,l,n[m+14],17,-1502002290),u=v(u,l=f(l,d,p,u,n[m+15],22,1236535329),d,p,n[m+1],5,-165796510),p=v(p,u,l,d,n[m+6],9,-1069501632),d=v(d,p,u,l,n[m+11],14,643717713),l=v(l,d,p,u,n[m+0],20,-373897302),u=v(u,l,d,p,n[m+5],5,-701558691),p=v(p,u,l,d,n[m+10],9,38016083),d=v(d,p,u,l,n[m+15],14,-660478335),l=v(l,d,p,u,n[m+4],20,-405537848),u=v(u,l,d,p,n[m+9],5,568446438),p=v(p,u,l,d,n[m+14],9,-1019803690),d=v(d,p,u,l,n[m+3],14,-187363961),l=v(l,d,p,u,n[m+8],20,1163531501),u=v(u,l,d,p,n[m+13],5,-1444681467),p=v(p,u,l,d,n[m+2],9,-51403784),d=v(d,p,u,l,n[m+7],14,1735328473),u=g(u,l=v(l,d,p,u,n[m+12],20,-1926607734),d,p,n[m+5],4,-378558),p=g(p,u,l,d,n[m+8],11,-2022574463),d=g(d,p,u,l,n[m+11],16,1839030562),l=g(l,d,p,u,n[m+14],23,-35309556),u=g(u,l,d,p,n[m+1],4,-1530992060),p=g(p,u,l,d,n[m+4],11,1272893353),d=g(d,p,u,l,n[m+7],16,-155497632),l=g(l,d,p,u,n[m+10],23,-1094730640),u=g(u,l,d,p,n[m+13],4,681279174),p=g(p,u,l,d,n[m+0],11,-358537222),d=g(d,p,u,l,n[m+3],16,-722521979),l=g(l,d,p,u,n[m+6],23,76029189),u=g(u,l,d,p,n[m+9],4,-640364487),p=g(p,u,l,d,n[m+12],11,-421815835),d=g(d,p,u,l,n[m+15],16,530742520),u=b(u,l=g(l,d,p,u,n[m+2],23,-995338651),d,p,n[m+0],6,-198630844),p=b(p,u,l,d,n[m+7],10,1126891415),d=b(d,p,u,l,n[m+14],15,-1416354905),l=b(l,d,p,u,n[m+5],21,-57434055),u=b(u,l,d,p,n[m+12],6,1700485571),p=b(p,u,l,d,n[m+3],10,-1894986606),d=b(d,p,u,l,n[m+10],15,-1051523),l=b(l,d,p,u,n[m+1],21,-2054922799),u=b(u,l,d,p,n[m+8],6,1873313359),p=b(p,u,l,d,n[m+15],10,-30611744),d=b(d,p,u,l,n[m+6],15,-1560198380),l=b(l,d,p,u,n[m+13],21,1309151649),u=b(u,l,d,p,n[m+4],6,-145523070),p=b(p,u,l,d,n[m+11],10,-1120210379),d=b(d,p,u,l,n[m+2],15,718787259),l=b(l,d,p,u,n[m+9],21,-343485551),u=u+h>>>0,l=l+w>>>0,d=d+y>>>0,p=p+T>>>0}return r.endian([u,l,d,p])})._ff=function(e,t,n,r,i,a,o){var s=e+(t&n|~t&r)+(i>>>0)+o;return(s<<a|s>>>32-a)+t},s._gg=function(e,t,n,r,i,a,o){var s=e+(t&r|n&~r)+(i>>>0)+o;return(s<<a|s>>>32-a)+t},s._hh=function(e,t,n,r,i,a,o){var s=e+(t^n^r)+(i>>>0)+o;return(s<<a|s>>>32-a)+t},s._ii=function(e,t,n,r,i,a,o){var s=e+(n^(t|~r))+(i>>>0)+o;return(s<<a|s>>>32-a)+t},s._blocksize=16,s._digestsize=16,e.exports=function(e,t){if(null==e)throw new Error("Illegal argument "+e);var n=r.wordsToBytes(s(e,t));return t&&t.asBytes?n:t&&t.asString?o.bytesToString(n):r.bytesToHex(n)}},2:(e,t,n)=>{"use strict";n.r(t),n.d(t,{Perfume:()=>ze,incrementUjNavigation:()=>Le,markStep:()=>Re,markStepOnce:()=>qe});var r,i,a={isResourceTiming:!1,isElementTiming:!1,maxTime:3e4,reportOptions:{},enableNavigationTracking:!0},o=window,s=o.console,c=o.navigator,u=o.performance,l=function(){return c.deviceMemory},d=function(){return c.hardwareConcurrency},p="mark.",m=function(){return u&&!!u.getEntriesByType&&!!u.now&&!!u.mark},f="4g",v=!1,g={},b={value:0},h={value:{beacon:0,css:0,fetch:0,img:0,other:0,script:0,total:0,xmlhttprequest:0}},w={value:0},y={value:0},T={},k={isHidden:!1,didChange:!1},_=function(){k.isHidden=!1,document.hidden&&(k.isHidden=document.hidden,k.didChange=!0)},S=function(e,t){try{var n=new PerformanceObserver((function(e){t(e.getEntries())}));return n.observe({type:e,buffered:!0}),n}catch(e){s.warn("Perfume.js:",e)}return null},E=function(){return!!(d()&&d()<=4)||!!(l()&&l()<=4)},x=function(e,t){switch(e){case"slow-2g":case"2g":case"3g":return!0;default:return E()||t}},O=function(e){return parseFloat(e.toFixed(4))},j=function(e){return"number"!=typeof e?null:O(e/Math.pow(1024,2))},N=function(e,t,n,r,i){var s,u=function(){a.analyticsTracker&&(k.isHidden&&!["CLS","INP"].includes(e)||a.analyticsTracker({attribution:r,metricName:e,data:t,navigatorInformation:c?{deviceMemory:l()||0,hardwareConcurrency:d()||0,serviceWorkerStatus:"serviceWorker"in c?c.serviceWorker.controller?"controlled":"supported":"unsupported",isLowEndDevice:E(),isLowEndExperience:x(f,v)}:{},rating:n,navigationType:i}))};["CLS","INP"].includes(e)?u():(s=u,"requestIdleCallback"in o?o.requestIdleCallback(s,{timeout:3e3}):s())},I=function(e){e.forEach((function(e){if(!("self"!==e.name||e.startTime<b.value)){var t=e.duration-50;t>0&&(w.value+=t,y.value+=t)}}))};!function(e){e.instant="instant",e.quick="quick",e.moderate="moderate",e.slow="slow",e.unavoidable="unavoidable"}(r||(r={}));var P,M,B,C,D,A=((i={})[r.instant]={vitalsThresholds:[100,200],maxOutlierThreshold:1e4},i[r.quick]={vitalsThresholds:[200,500],maxOutlierThreshold:1e4},i[r.moderate]={vitalsThresholds:[500,1e3],maxOutlierThreshold:1e4},i[r.slow]={vitalsThresholds:[1e3,2e3],maxOutlierThreshold:1e4},i[r.unavoidable]={vitalsThresholds:[2e3,5e3],maxOutlierThreshold:2e4},i),L={RT:[100,200],TBT:[200,600],NTBT:[200,600]},U=function(e,t){return L[e]?t<=L[e][0]?"good":t<=L[e][1]?"needsImprovement":"poor":null},R=function(e,t,n){Object.keys(t).forEach((function(e){"number"==typeof t[e]&&(t[e]=O(t[e]))})),N(e,t,null,n||{})},q=function(e){var t=e.attribution,n=e.name,r=e.rating,i=e.value,o=e.navigationType;"FCP"===n&&(b.value=i),["FCP","LCP"].includes(n)&&!T[0]&&(T[0]=S("longtask",I)),"FID"===n&&setTimeout((function(){k.didChange||(q({attribution:t,name:"TBT",rating:U("TBT",w.value),value:w.value,navigationType:o}),R("dataConsumption",h.value))}),1e4);var s=O(i);s<=a.maxTime&&s>=0&&N(n,s,r,t,o)},F=function(){return window.performance&&performance.getEntriesByType&&performance.getEntriesByType("navigation")[0]},z=function(e){if("loading"===document.readyState)return"loading";var t=F();if(t){if(e<t.domInteractive)return"loading";if(0===t.domContentLoadedEventStart||e<t.domContentLoadedEventStart)return"dom-interactive";if(0===t.domComplete||e<t.domComplete)return"dom-content-loaded"}return"complete"},K=function(e){var t=e.nodeName;return 1===e.nodeType?t.toLowerCase():t.toUpperCase().replace(/^#/,"")},$=function(e,t){var n="";try{for(;e&&9!==e.nodeType;){var r=e,i=r.id?"#"+r.id:K(r)+(r.className&&r.className.length?"."+r.className.replace(/\\s+/g,"."):"");if(n.length+i.length>(t||100)-1)return n||i;if(n=n?i+">"+n:i,r.id)break;e=r.parentNode}}catch(e){}return n},Q=-1,W=function(){return Q},H=function(e){addEventListener("pageshow",(function(t){t.persisted&&(Q=t.timeStamp,e(t))}),!0)},V=function(){var e=F();return e&&e.activationStart||0},J=function(e,t){var n=F(),r="navigate";return W()>=0?r="back-forward-cache":n&&(r=document.prerendering||V()>0?"prerender":document.wasDiscarded?"restore":n.type.replace(/_/g,"-")),{name:e,value:void 0===t?-1:t,rating:"good",delta:0,entries:[],id:"v3-".concat(Date.now(),"-").concat(Math.floor(8999999999999*Math.random())+1e12),navigationType:r}},X=function(e,t,n){try{if(PerformanceObserver.supportedEntryTypes.includes(e)){var r=new PerformanceObserver((function(e){Promise.resolve().then((function(){t(e.getEntries())}))}));return r.observe(Object.assign({type:e,buffered:!0},n||{})),r}}catch(e){}},G=function(e,t){var n=function n(r){"pagehide"!==r.type&&"hidden"!==document.visibilityState||(e(r),t&&(removeEventListener("visibilitychange",n,!0),removeEventListener("pagehide",n,!0)))};addEventListener("visibilitychange",n,!0),addEventListener("pagehide",n,!0)},Z=function(e,t,n,r){var i,a;return function(o){t.value>=0&&(o||r)&&((a=t.value-(i||0))||void 0===i)&&(i=t.value,t.delta=a,t.rating=function(e,t){return e>t[1]?"poor":e>t[0]?"needs-improvement":"good"}(t.value,n),e(t))}},Y=function(e){requestAnimationFrame((function(){return requestAnimationFrame((function(){return e()}))}))},ee=function(e){document.prerendering?addEventListener("prerenderingchange",(function(){return e()}),!0):e()},te=-1,ne=function(){return"hidden"!==document.visibilityState||document.prerendering?1/0:0},re=function(e){"hidden"===document.visibilityState&&te>-1&&(te="visibilitychange"===e.type?e.timeStamp:0,ae())},ie=function(){addEventListener("visibilitychange",re,!0),addEventListener("prerenderingchange",re,!0)},ae=function(){removeEventListener("visibilitychange",re,!0),removeEventListener("prerenderingchange",re,!0)},oe=function(){return te<0&&(te=ne(),ie(),H((function(){setTimeout((function(){te=ne(),ie()}),0)}))),{get firstHiddenTime(){return te}}},se=function(e,t){t=t||{},ee((function(){var n,r=[1800,3e3],i=oe(),a=J("FCP"),o=X("paint",(function(e){e.forEach((function(e){"first-contentful-paint"===e.name&&(o.disconnect(),e.startTime<i.firstHiddenTime&&(a.value=Math.max(e.startTime-V(),0),a.entries.push(e),n(!0)))}))}));o&&(n=Z(e,a,r,t.reportAllChanges),H((function(i){a=J("FCP"),n=Z(e,a,r,t.reportAllChanges),Y((function(){a.value=performance.now()-i.timeStamp,n(!0)}))})))}))},ce={passive:!0,capture:!0},ue=new Date,le=function(e,t){P||(P=t,M=e,B=new Date,me(removeEventListener),de())},de=function(){if(M>=0&&M<B-ue){var e={entryType:"first-input",name:P.type,target:P.target,cancelable:P.cancelable,startTime:P.timeStamp,processingStart:P.timeStamp+M};C.forEach((function(t){t(e)})),C=[]}},pe=function(e){if(e.cancelable){var t=(e.timeStamp>1e12?new Date:performance.now())-e.timeStamp;"pointerdown"==e.type?function(e,t){var n=function(){le(e,t),i()},r=function(){i()},i=function(){removeEventListener("pointerup",n,ce),removeEventListener("pointercancel",r,ce)};addEventListener("pointerup",n,ce),addEventListener("pointercancel",r,ce)}(t,e):le(t,e)}},me=function(e){["mousedown","keydown","touchstart","pointerdown"].forEach((function(t){return e(t,pe,ce)}))},fe=0,ve=1/0,ge=0,be=function(e){e.forEach((function(e){e.interactionId&&(ve=Math.min(ve,e.interactionId),ge=Math.max(ge,e.interactionId),fe=ge?(ge-ve)/7+1:0)}))},he=function(){return D?fe:performance.interactionCount||0},we=0,ye=function(){return he()-we},Te=[],ke={},_e=function(e){var t=Te[Te.length-1],n=ke[e.interactionId];if(n||Te.length<10||e.duration>t.latency){if(n)n.entries.push(e),n.latency=Math.max(n.latency,e.duration);else{var r={id:e.interactionId,latency:e.duration,entries:[e]};ke[r.id]=r,Te.push(r)}Te.sort((function(e,t){return t.latency-e.latency})),Te.splice(10).forEach((function(e){delete ke[e.id]}))}},Se={},Ee=function e(t){document.prerendering?ee((function(){return e(t)})):"complete"!==document.readyState?addEventListener("load",(function(){return e(t)}),!0):setTimeout(t,0)},xe=function(e,t){t=t||{};var n=[800,1800],r=J("TTFB"),i=Z(e,r,n,t.reportAllChanges);Ee((function(){var a=F();if(a){var o=a.responseStart;if(o<=0||o>performance.now())return;r.value=Math.max(o-V(),0),r.entries=[a],i(!0),H((function(){r=J("TTFB",0),(i=Z(e,r,n,t.reportAllChanges))(!0)}))}}))},Oe=function(e){e.forEach((function(e){e.identifier&&q({attribution:{identifier:e.identifier},name:"ET",rating:null,value:e.startTime})}))},je=function(e){e.forEach((function(e){if(a.isResourceTiming&&R("resourceTiming",e),e.decodedBodySize&&e.initiatorType){var t=e.decodedBodySize/1e3;h.value[e.initiatorType]+=t,h.value.total+=t}}))},Ne=function(){!function(e,t){xe((function(e){!function(e){if(e.entries.length){var t=e.entries[0],n=t.activationStart||0,r=Math.max(t.domainLookupStart-n,0),i=Math.max(t.connectStart-n,0),a=Math.max(t.requestStart-n,0);e.attribution={waitingTime:r,dnsTime:i-r,connectionTime:a-i,requestTime:e.value-a,navigationEntry:t}}else e.attribution={waitingTime:0,dnsTime:0,connectionTime:0,requestTime:0}}(e),function(e){e.value>0&&q(e)}(e)}),t)}(0,a.reportOptions.ttfb),function(e,t){!function(e,t){t=t||{},ee((function(){var e,n=[.1,.25],r=J("CLS"),i=-1,a=0,o=[],s=function(e){i>-1&&function(e){!function(e){if(e.entries.length){var t=e.entries.reduce((function(e,t){return e&&e.value>t.value?e:t}));if(t&&t.sources&&t.sources.length){var n=(r=t.sources).find((function(e){return e.node&&1===e.node.nodeType}))||r[0];if(n)return void(e.attribution={largestShiftTarget:$(n.node),largestShiftTime:t.startTime,largestShiftValue:t.value,largestShiftSource:n,largestShiftEntry:t,loadState:z(t.startTime)})}}var r;e.attribution={}}(e),function(e){q(e)}(e)}(e)},c=function(t){t.forEach((function(t){if(!t.hadRecentInput){var n=o[0],i=o[o.length-1];a&&t.startTime-i.startTime<1e3&&t.startTime-n.startTime<5e3?(a+=t.value,o.push(t)):(a=t.value,o=[t]),a>r.value&&(r.value=a,r.entries=o,e())}}))},u=X("layout-shift",c);u&&(e=Z(s,r,n,t.reportAllChanges),se((function(t){i=t.value,r.value<0&&(r.value=0,e())})),G((function(){c(u.takeRecords()),e(!0)})),H((function(){a=0,i=-1,r=J("CLS",0),e=Z(s,r,n,t.reportAllChanges),Y((function(){return e()}))})))}))}(0,t)}(0,a.reportOptions.cls),function(e,t){se((function(e){!function(e){if(e.entries.length){var t=F(),n=e.entries[e.entries.length-1];if(t){var r=t.activationStart||0,i=Math.max(0,t.responseStart-r);return void(e.attribution={timeToFirstByte:i,firstByteToFCP:e.value-i,loadState:z(e.entries[0].startTime),navigationEntry:t,fcpEntry:n})}}e.attribution={timeToFirstByte:0,firstByteToFCP:e.value,loadState:z(W())}}(e),function(e){q(e)}(e)}),t)}(0,a.reportOptions.fcp),function(e,t){!function(e,t){t=t||{},ee((function(){var n,r=[100,300],i=oe(),a=J("FID"),o=function(e){e.startTime<i.firstHiddenTime&&(a.value=e.processingStart-e.startTime,a.entries.push(e),n(!0))},s=function(e){e.forEach(o)},c=X("first-input",s);n=Z(e,a,r,t.reportAllChanges),c&&G((function(){s(c.takeRecords()),c.disconnect()}),!0),c&&H((function(){var i;a=J("FID"),n=Z(e,a,r,t.reportAllChanges),C=[],M=-1,P=null,me(addEventListener),i=o,C.push(i),de()}))}))}((function(e){!function(e){var t=e.entries[0];e.attribution={eventTarget:$(t.target),eventType:t.name,eventTime:t.startTime,eventEntry:t,loadState:z(t.startTime)}}(e),function(e){q(e)}(e)}),t)}(0,a.reportOptions.fid),function(e,t){!function(e,t){t=t||{},ee((function(){var n,r=[2500,4e3],i=oe(),a=J("LCP"),o=function(e){var t=e[e.length-1];if(t){var r=Math.max(t.startTime-V(),0);r<i.firstHiddenTime&&(a.value=r,a.entries=[t],n())}},s=X("largest-contentful-paint",o);if(s){n=Z(e,a,r,t.reportAllChanges);var c=function(){Se[a.id]||(o(s.takeRecords()),s.disconnect(),Se[a.id]=!0,n(!0))};["keydown","click"].forEach((function(e){addEventListener(e,c,{once:!0,capture:!0})})),G(c,!0),H((function(i){a=J("LCP"),n=Z(e,a,r,t.reportAllChanges),Y((function(){a.value=performance.now()-i.timeStamp,Se[a.id]=!0,n(!0)}))}))}}))}((function(e){!function(e){if(e.entries.length){var t=F();if(t){var n=t.activationStart||0,r=e.entries[e.entries.length-1],i=r.url&&performance.getEntriesByType("resource").filter((function(e){return e.name===r.url}))[0],a=Math.max(0,t.responseStart-n),o=Math.max(a,i?(i.requestStart||i.startTime)-n:0),s=Math.max(o,i?i.responseEnd-n:0),c=Math.max(s,r?r.startTime-n:0),u={element:$(r.element),timeToFirstByte:a,resourceLoadDelay:o-a,resourceLoadTime:s-o,elementRenderDelay:c-s,navigationEntry:t,lcpEntry:r};return r.url&&(u.url=r.url),i&&(u.lcpResourceEntry=i),void(e.attribution=u)}}e.attribution={timeToFirstByte:0,resourceLoadDelay:0,resourceLoadTime:0,elementRenderDelay:e.value}}(e),function(e){q(e)}(e)}),t)}(0,a.reportOptions.lcp),function(e,t){!function(e,t){t=t||{},ee((function(){var n=[200,500];"interactionCount"in performance||D||(D=X("event",be,{type:"event",buffered:!0,durationThreshold:0}));var r,i=J("INP"),a=function(e){e.forEach((function(e){e.interactionId&&_e(e),"first-input"===e.entryType&&!Te.some((function(t){return t.entries.some((function(t){return e.duration===t.duration&&e.startTime===t.startTime}))}))&&_e(e)}));var t,n=(t=Math.min(Te.length-1,Math.floor(ye()/50)),Te[t]);n&&n.latency!==i.value&&(i.value=n.latency,i.entries=n.entries,r())},o=X("event",a,{durationThreshold:t.durationThreshold||40});r=Z(e,i,n,t.reportAllChanges),o&&(o.observe({type:"first-input",buffered:!0}),G((function(){a(o.takeRecords()),i.value<0&&ye()>0&&(i.value=0,i.entries=[]),r(!0)})),H((function(){Te=[],we=he(),i=J("INP"),r=Z(e,i,n,t.reportAllChanges)})))}))}((function(t){!function(e){if(e.entries.length){var t=e.entries.sort((function(e,t){return t.duration-e.duration||t.processingEnd-t.processingStart-(e.processingEnd-e.processingStart)}))[0];e.attribution={eventTarget:$(t.target),eventType:t.name,eventTime:t.startTime,eventEntry:t,loadState:z(t.startTime)}}else e.attribution={}}(t),e(t)}),t)}((function(e){return q(e)}),a.reportOptions.inp),a.isResourceTiming&&S("resource",je),a.isElementTiming&&S("element",Oe)},Ie=function(e){var t="usageDetails"in e?e.usageDetails:{};R("storageEstimate",{quota:j(e.quota),usage:j(e.usage),caches:j(t.caches),indexedDB:j(t.indexedDB),serviceWorker:j(t.serviceWorkerRegistrations)})},Pe={finalMarkToStepsMap:{},startMarkToStepsMap:{},active:{},navigationSteps:{}},Me=function(e){delete Pe.active[e]},Be=function(){return Pe.navigationSteps},Ce=function(e){var t;return null!==(t=Be()[e])&&void 0!==t?t:{}},De=function(e,t,n){var r="step."+e,i=u.getEntriesByName(p+t).length>0;if(u.getEntriesByName(p+n).length>0&&a.steps){var o=A[a.steps[e].threshold],s=o.maxOutlierThreshold,c=o.vitalsThresholds;if(i){var l=u.measure(r,p+t,p+n),d=l.duration;if(d<=s){var m=function(e,t){return e<=t[0]?"good":e<=t[1]?"needsImprovement":"poor"}(d,c);d>=0&&(N("userJourneyStep",d,m,{stepName:e},void 0),u.measure("step.".concat(e,"_vitals_").concat(m),{start:l.startTime+l.duration,end:l.startTime+l.duration,detail:{type:"stepVital",duration:d}}))}}}},Ae=function(){var e=Be(),t=Pe.startMarkToStepsMap,n=Object.keys(e).length;if(0===n)return{};var r={},i=n-1,a=Ce(i);if(Object.keys(a).forEach((function(e){var n,i=null!==(n=t[e])&&void 0!==n?n:[];Object.keys(i).forEach((function(e){r[e]=!0}))})),n>1){var o=Ce(i-1);Object.keys(o).forEach((function(e){var n,i=null!==(n=t[e])&&void 0!==n?n:[];Object.keys(i).forEach((function(e){r[e]=!0}))}))}return r},Le=function(){var e,t=Object.keys(Pe.navigationSteps).length;Pe.navigationSteps[t]={};var n=Ae();null===(e=a.onMarkStep)||void 0===e||e.call(a,"",Object.keys(n))},Ue=function(e){var t,n,r,i,o,s,c;if(Pe.finalMarkToStepsMap[e]){!function(e){var t=Pe.navigationSteps,n=Pe.finalMarkToStepsMap,r=Object.keys(t).length;if(0!==r){var i=r-1,a=Ce(i);if(a&&n[e]){var o=n[e];o&&Object.keys(o).forEach((function(e){if(a[e]){var n=Ce(i)||{};n[e]=!1,t[i]=n}if(r>1){var o=i-1,s=Ce(o);s[e]&&(s[e]=!1,t[o]=s)}}))}}}(e);var u=Pe.finalMarkToStepsMap[e];Object.keys(u).forEach((function(t){var n=u[t];n.forEach(Me),Promise.all(n.map((function(n){return function(e,t,n,r){return new(n||(n=Promise))((function(e,t){function i(e){try{o(r.next(e))}catch(e){t(e)}}function a(e){try{o(r.throw(e))}catch(e){t(e)}}function o(t){var r;t.done?e(t.value):(r=t.value,r instanceof n?r:new n((function(e){e(r)}))).then(i,a)}o((r=r.apply(undefined,[])).next())}))}(0,0,void 0,(function(){return function(e,t){var n,r,i,a,o={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return a={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function s(a){return function(s){return function(a){if(n)throw new TypeError("Generator is already executing.");for(;o;)try{if(n=1,r&&(i=2&a[0]?r.return:a[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,a[1])).done)return i;switch(r=0,i&&(a=[2&a[0],i.value]),a[0]){case 0:case 1:i=a;break;case 4:return o.label++,{value:a[1],done:!1};case 5:o.label++,r=a[1],a=[0];continue;case 7:a=o.ops.pop(),o.trys.pop();continue;default:if(!((i=(i=o.trys).length>0&&i[i.length-1])||6!==a[0]&&2!==a[0])){o=0;continue}if(3===a[0]&&(!i||a[1]>i[0]&&a[1]<i[3])){o.label=a[1];break}if(6===a[0]&&o.label<i[1]){o.label=i[1],i=a;break}if(i&&o.label<i[2]){o.label=i[2],o.ops.push(a);break}i[2]&&o.ops.pop(),o.trys.pop();continue}a=t.call(e,o)}catch(e){a=[6,e],r=0}finally{n=i=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,s])}}}(this,(function(r){switch(r.label){case 0:return[4,De(n,t,e)];case 1:return r.sent(),[2]}}))}))}))).catch((function(){}))}))}else r=e,i=Pe.navigationSteps,o=Object.keys(i).length,(c=Ce(s=(o>0?o:1)-1)||[])[r]=!0,i[s]=c,function(e){var t,n=null!==(t=Pe.startMarkToStepsMap[e])&&void 0!==t?t:[];Object.keys(n).forEach((function(e){Pe.active[e]||(Pe.active[e]=!0)}))}(e);if(a.enableNavigationTracking){var l=Ae();null===(t=a.onMarkStep)||void 0===t||t.call(a,e,Object.keys(l))}else null===(n=a.onMarkStep)||void 0===n||n.call(a,e,Object.keys(Pe.active))},Re=function(e){u.mark(p+e),Ue(e)},qe=function(e){0===u.getEntriesByName(p+e).length&&(u.mark(p+e),Ue(e))},Fe=0,ze=function(){function e(e){if(void 0===e&&(e={}),this.v="9.0.0-rc.3",a.analyticsTracker=e.analyticsTracker,a.isResourceTiming=!!e.resourceTiming,a.isElementTiming=!!e.elementTiming,a.maxTime=e.maxMeasureTime||a.maxTime,a.reportOptions=e.reportOptions||a.reportOptions,a.steps=e.steps,a.onMarkStep=e.onMarkStep,a.enableNavigationTracking=e.enableNavigationTracking,m()){"PerformanceObserver"in o&&Ne(),void 0!==document.hidden&&document.addEventListener("visibilitychange",_);var t=function(){if(!m())return{};var e=u.getEntriesByType("navigation")[0];if(!e)return{};var t=e.responseStart,n=e.responseEnd;return{fetchTime:n-e.fetchStart,workerTime:e.workerStart>0?n-e.workerStart:0,totalTime:n-e.requestStart,downloadTime:n-t,timeToFirstByte:t-e.requestStart,headerSize:e.transferSize-e.encodedBodySize||0,dnsLookupTime:e.domainLookupEnd-e.domainLookupStart,redirectTime:e.redirectEnd-e.redirectStart}}();R("navigationTiming",t),t.redirectTime&&q({attribution:{},name:"RT",rating:U("RT",t.redirectTime),value:t.redirectTime}),R("networkInformation",function(){if("connection"in c){var e=c.connection;return"object"!=typeof e?{}:(f=e.effectiveType,v=!!e.saveData,{downlink:e.downlink,effectiveType:e.effectiveType,rtt:e.rtt,saveData:!!e.saveData})}return{}}()),c&&c.storage&&"function"==typeof c.storage.estimate&&c.storage.estimate().then(Ie),a.steps&&a.steps&&(Pe.startMarkToStepsMap={},Pe.finalMarkToStepsMap={},Pe.active={},Pe.navigationSteps={},Object.entries(a.steps).forEach((function(e){var t,n,r=e[0],i=e[1].marks,a=i[0],o=i[1],s=null!==(n=Pe.startMarkToStepsMap[a])&&void 0!==n?n:{};if(s[r]=!0,Pe.startMarkToStepsMap[a]=s,Pe.finalMarkToStepsMap[o]){var c=Pe.finalMarkToStepsMap[o][a]||[];c.push(r),Pe.finalMarkToStepsMap[o][a]=c}else Pe.finalMarkToStepsMap[o]=((t={})[a]=[r],t)})))}}return e.prototype.start=function(e){m()&&!g[e]&&(g[e]=!0,u.mark("mark_".concat(e,"_start")))},e.prototype.end=function(e,t,n){if(void 0===t&&(t={}),void 0===n&&(n=!0),m()&&g[e]){u.mark("mark_".concat(e,"_end")),delete g[e];var r=function(e){u.measure(e,"mark_".concat(e,"_start"),"mark_".concat(e,"_end"));var t=u.getEntriesByName(e).pop();return t&&"measure"===t.entryType?t.duration:-1}(e);n&&R(e,O(r),t)}},e.prototype.endPaint=function(e,t){var n=this;setTimeout((function(){n.end(e,t)}))},e.prototype.clear=function(e){delete g[e],u.clearMarks&&(u.clearMarks("mark_".concat(e,"_start")),u.clearMarks("mark_".concat(e,"_end")))},e.prototype.markNTBT=function(){var e=this;this.start("ntbt"),y.value=0,clearTimeout(Fe),Fe=setTimeout((function(){e.end("ntbt",{},!1),q({attribution:{},name:"NTBT",rating:U("NTBT",y.value),value:y.value}),y.value=0}),2e3)},e}()},426:(e,t)=>{"use strict";Symbol.for("react.element"),Symbol.for("react.portal"),Symbol.for("react.fragment"),Symbol.for("react.strict_mode"),Symbol.for("react.profiler"),Symbol.for("react.provider"),Symbol.for("react.context"),Symbol.for("react.forward_ref"),Symbol.for("react.suspense"),Symbol.for("react.memo"),Symbol.for("react.lazy"),Symbol.iterator;var n={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},r=Object.assign,i={};function a(e,t,r){this.props=e,this.context=t,this.refs=i,this.updater=r||n}function o(){}function s(e,t,r){this.props=e,this.context=t,this.refs=i,this.updater=r||n}a.prototype.isReactComponent={},a.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},a.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},o.prototype=a.prototype;var c=s.prototype=new o;c.constructor=s,r(c,a.prototype),c.isPureReactComponent=!0;Array.isArray,Object.prototype.hasOwnProperty;var u={current:null};t.useCallback=function(e,t){return u.current.useCallback(e,t)},t.useEffect=function(e,t){return u.current.useEffect(e,t)},t.useRef=function(e){return u.current.useRef(e)}},784:(e,t,n)=>{"use strict";e.exports=n(426)},353:function(e,t,n){var r;!function(i,a){"use strict";var o="function",s="undefined",c="object",u="string",l="major",d="model",p="name",m="type",f="vendor",v="version",g="architecture",b="console",h="mobile",w="tablet",y="smarttv",T="wearable",k="embedded",_="Amazon",S="Apple",E="ASUS",x="BlackBerry",O="Browser",j="Chrome",N="Firefox",I="Google",P="Huawei",M="LG",B="Microsoft",C="Motorola",D="Opera",A="Samsung",L="Sharp",U="Sony",R="Xiaomi",q="Zebra",F="Facebook",z="Chromium OS",K="Mac OS",$=function(e){for(var t={},n=0;n<e.length;n++)t[e[n].toUpperCase()]=e[n];return t},Q=function(e,t){return typeof e===u&&-1!==W(t).indexOf(W(e))},W=function(e){return e.toLowerCase()},H=function(e,t){if(typeof e===u)return e=e.replace(/^\\s\\s*/,""),typeof t===s?e:e.substring(0,350)},V=function(e,t){for(var n,r,i,s,u,l,d=0;d<t.length&&!u;){var p=t[d],m=t[d+1];for(n=r=0;n<p.length&&!u&&p[n];)if(u=p[n++].exec(e))for(i=0;i<m.length;i++)l=u[++r],typeof(s=m[i])===c&&s.length>0?2===s.length?typeof s[1]==o?this[s[0]]=s[1].call(this,l):this[s[0]]=s[1]:3===s.length?typeof s[1]!==o||s[1].exec&&s[1].test?this[s[0]]=l?l.replace(s[1],s[2]):a:this[s[0]]=l?s[1].call(this,l,s[2]):a:4===s.length&&(this[s[0]]=l?s[3].call(this,l.replace(s[1],s[2])):a):this[s]=l||a;d+=2}},J=function(e,t){for(var n in t)if(typeof t[n]===c&&t[n].length>0){for(var r=0;r<t[n].length;r++)if(Q(t[n][r],e))return"?"===n?a:n}else if(Q(t[n],e))return"?"===n?a:n;return e},X={ME:"4.90","NT 3.11":"NT3.51","NT 4.0":"NT4.0",2e3:"NT 5.0",XP:["NT 5.1","NT 5.2"],Vista:"NT 6.0",7:"NT 6.1",8:"NT 6.2",8.1:"NT 6.3",10:["NT 6.4","NT 10.0"],RT:"ARM"},G={browser:[[/\\b(?:crmo|crios)\\/([\\w\\.]+)/i],[v,[p,"Chrome"]],[/edg(?:e|ios|a)?\\/([\\w\\.]+)/i],[v,[p,"Edge"]],[/(opera mini)\\/([-\\w\\.]+)/i,/(opera [mobiletab]{3,6})\\b.+version\\/([-\\w\\.]+)/i,/(opera)(?:.+version\\/|[\\/ ]+)([\\w\\.]+)/i],[p,v],[/opios[\\/ ]+([\\w\\.]+)/i],[v,[p,D+" Mini"]],[/\\bopr\\/([\\w\\.]+)/i],[v,[p,D]],[/(kindle)\\/([\\w\\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer)[\\/ ]?([\\w\\.]*)/i,/(avant |iemobile|slim)(?:browser)?[\\/ ]?([\\w\\.]*)/i,/(ba?idubrowser)[\\/ ]?([\\w\\.]+)/i,/(?:ms|\\()(ie) ([\\w\\.]+)/i,/(flock|rockmelt|midori|epiphany|silk|skyfire|bolt|iron|vivaldi|iridium|phantomjs|bowser|quark|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|qq|duckduckgo)\\/([-\\w\\.]+)/i,/(heytap|ovi)browser\\/([\\d\\.]+)/i,/(weibo)__([\\d\\.]+)/i],[p,v],[/(?:\\buc? ?browser|(?:juc.+)ucweb)[\\/ ]?([\\w\\.]+)/i],[v,[p,"UC"+O]],[/microm.+\\bqbcore\\/([\\w\\.]+)/i,/\\bqbcore\\/([\\w\\.]+).+microm/i],[v,[p,"WeChat(Win) Desktop"]],[/micromessenger\\/([\\w\\.]+)/i],[v,[p,"WeChat"]],[/konqueror\\/([\\w\\.]+)/i],[v,[p,"Konqueror"]],[/trident.+rv[: ]([\\w\\.]{1,9})\\b.+like gecko/i],[v,[p,"IE"]],[/ya(?:search)?browser\\/([\\w\\.]+)/i],[v,[p,"Yandex"]],[/(avast|avg)\\/([\\w\\.]+)/i],[[p,/(.+)/,"$1 Secure "+O],v],[/\\bfocus\\/([\\w\\.]+)/i],[v,[p,N+" Focus"]],[/\\bopt\\/([\\w\\.]+)/i],[v,[p,D+" Touch"]],[/coc_coc\\w+\\/([\\w\\.]+)/i],[v,[p,"Coc Coc"]],[/dolfin\\/([\\w\\.]+)/i],[v,[p,"Dolphin"]],[/coast\\/([\\w\\.]+)/i],[v,[p,D+" Coast"]],[/miuibrowser\\/([\\w\\.]+)/i],[v,[p,"MIUI "+O]],[/fxios\\/([-\\w\\.]+)/i],[v,[p,N]],[/\\bqihu|(qi?ho?o?|360)browser/i],[[p,"360 "+O]],[/(oculus|samsung|sailfish|huawei)browser\\/([\\w\\.]+)/i],[[p,/(.+)/,"$1 "+O],v],[/(comodo_dragon)\\/([\\w\\.]+)/i],[[p,/_/g," "],v],[/(electron)\\/([\\w\\.]+) safari/i,/(tesla)(?: qtcarbrowser|\\/(20\\d\\d\\.[-\\w\\.]+))/i,/m?(qqbrowser|baiduboxapp|2345Explorer)[\\/ ]?([\\w\\.]+)/i],[p,v],[/(metasr)[\\/ ]?([\\w\\.]+)/i,/(lbbrowser)/i,/\\[(linkedin)app\\]/i],[p],[/((?:fban\\/fbios|fb_iab\\/fb4a)(?!.+fbav)|;fbav\\/([\\w\\.]+);)/i],[[p,F],v],[/(kakao(?:talk|story))[\\/ ]([\\w\\.]+)/i,/(naver)\\(.*?(\\d+\\.[\\w\\.]+).*\\)/i,/safari (line)\\/([\\w\\.]+)/i,/\\b(line)\\/([\\w\\.]+)\\/iab/i,/(chromium|instagram)[\\/ ]([-\\w\\.]+)/i],[p,v],[/\\bgsa\\/([\\w\\.]+) .*safari\\//i],[v,[p,"GSA"]],[/musical_ly(?:.+app_?version\\/|_)([\\w\\.]+)/i],[v,[p,"TikTok"]],[/headlesschrome(?:\\/([\\w\\.]+)| )/i],[v,[p,j+" Headless"]],[/ wv\\).+(chrome)\\/([\\w\\.]+)/i],[[p,j+" WebView"],v],[/droid.+ version\\/([\\w\\.]+)\\b.+(?:mobile safari|safari)/i],[v,[p,"Android "+O]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\\/v?([\\w\\.]+)/i],[p,v],[/version\\/([\\w\\.\\,]+) .*mobile\\/\\w+ (safari)/i],[v,[p,"Mobile Safari"]],[/version\\/([\\w(\\.|\\,)]+) .*(mobile ?safari|safari)/i],[v,p],[/webkit.+?(mobile ?safari|safari)(\\/[\\w\\.]+)/i],[p,[v,J,{"1.0":"/8",1.2:"/1",1.3:"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"}]],[/(webkit|khtml)\\/([\\w\\.]+)/i],[p,v],[/(navigator|netscape\\d?)\\/([-\\w\\.]+)/i],[[p,"Netscape"],v],[/mobile vr; rv:([\\w\\.]+)\\).+firefox/i],[v,[p,N+" Reality"]],[/ekiohf.+(flow)\\/([\\w\\.]+)/i,/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror|klar)[\\/ ]?([\\w\\.\\+]+)/i,/(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\\/([-\\w\\.]+)$/i,/(firefox)\\/([\\w\\.]+)/i,/(mozilla)\\/([\\w\\.]+) .+rv\\:.+gecko\\/\\d+/i,/(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|sleipnir|obigo|mosaic|(?:go|ice|up)[\\. ]?browser)[-\\/ ]?v?([\\w\\.]+)/i,/(links) \\(([\\w\\.]+)/i,/panasonic;(viera)/i],[p,v],[/(cobalt)\\/([\\w\\.]+)/i],[p,[v,/master.|lts./,""]]],cpu:[[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\\)]/i],[[g,"amd64"]],[/(ia32(?=;))/i],[[g,W]],[/((?:i[346]|x)86)[;\\)]/i],[[g,"ia32"]],[/\\b(aarch64|arm(v?8e?l?|_?64))\\b/i],[[g,"arm64"]],[/\\b(arm(?:v[67])?ht?n?[fl]p?)\\b/i],[[g,"armhf"]],[/windows (ce|mobile); ppc;/i],[[g,"arm"]],[/((?:ppc|powerpc)(?:64)?)(?: mac|;|\\))/i],[[g,/ower/,"",W]],[/(sun4\\w)[;\\)]/i],[[g,"sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\\))|\\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\\b|pa-risc)/i],[[g,W]]],device:[[/\\b(sch-i[89]0\\d|shw-m380s|sm-[ptx]\\w{2,4}|gt-[pn]\\d{2,4}|sgh-t8[56]9|nexus 10)/i],[d,[f,A],[m,w]],[/\\b((?:s[cgp]h|gt|sm)-\\w+|sc[g-]?[\\d]+a?|galaxy nexus)/i,/samsung[- ]([-\\w]+)/i,/sec-(sgh\\w+)/i],[d,[f,A],[m,h]],[/(?:\\/|\\()(ip(?:hone|od)[\\w, ]*)(?:\\/|;)/i],[d,[f,S],[m,h]],[/\\((ipad);[-\\w\\),; ]+apple/i,/applecoremedia\\/[\\w\\.]+ \\((ipad)/i,/\\b(ipad)\\d\\d?,\\d\\d?[;\\]].+ios/i],[d,[f,S],[m,w]],[/(macintosh);/i],[d,[f,S]],[/\\b(sh-?[altvz]?\\d\\d[a-ekm]?)/i],[d,[f,L],[m,h]],[/\\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\\d{2})\\b(?!.+d\\/s)/i],[d,[f,P],[m,w]],[/(?:huawei|honor)([-\\w ]+)[;\\)]/i,/\\b(nexus 6p|\\w{2,4}e?-[atu]?[ln][\\dx][012359c][adn]?)\\b(?!.+d\\/s)/i],[d,[f,P],[m,h]],[/\\b(poco[\\w ]+)(?: bui|\\))/i,/\\b; (\\w+) build\\/hm\\1/i,/\\b(hm[-_ ]?note?[_ ]?(?:\\d\\w)?) bui/i,/\\b(redmi[\\-_ ]?(?:note|k)?[\\w_ ]+)(?: bui|\\))/i,/\\b(mi[-_ ]?(?:a\\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\\d?\\w?)[_ ]?(?:plus|se|lite)?)(?: bui|\\))/i],[[d,/_/g," "],[f,R],[m,h]],[/\\b(mi[-_ ]?(?:pad)(?:[\\w_ ]+))(?: bui|\\))/i],[[d,/_/g," "],[f,R],[m,w]],[/; (\\w+) bui.+ oppo/i,/\\b(cph[12]\\d{3}|p(?:af|c[al]|d\\w|e[ar])[mt]\\d0|x9007|a101op)\\b/i],[d,[f,"OPPO"],[m,h]],[/vivo (\\w+)(?: bui|\\))/i,/\\b(v[12]\\d{3}\\w?[at])(?: bui|;)/i],[d,[f,"Vivo"],[m,h]],[/\\b(rmx[12]\\d{3})(?: bui|;|\\))/i],[d,[f,"Realme"],[m,h]],[/\\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\\b[\\w ]+build\\//i,/\\bmot(?:orola)?[- ](\\w*)/i,/((?:moto[\\w\\(\\) ]+|xt\\d{3,4}|nexus 6)(?= bui|\\)))/i],[d,[f,C],[m,h]],[/\\b(mz60\\d|xoom[2 ]{0,2}) build\\//i],[d,[f,C],[m,w]],[/((?=lg)?[vl]k\\-?\\d{3}) bui| 3\\.[-\\w; ]{10}lg?-([06cv9]{3,4})/i],[d,[f,M],[m,w]],[/(lm(?:-?f100[nv]?|-[\\w\\.]+)(?= bui|\\))|nexus [45])/i,/\\blg[-e;\\/ ]+((?!browser|netcast|android tv)\\w+)/i,/\\blg-?([\\d\\w]+) bui/i],[d,[f,M],[m,h]],[/(ideatab[-\\w ]+)/i,/lenovo ?(s[56]000[-\\w]+|tab(?:[\\w ]+)|yt[-\\d\\w]{6}|tb[-\\d\\w]{6})/i],[d,[f,"Lenovo"],[m,w]],[/(?:maemo|nokia).*(n900|lumia \\d+)/i,/nokia[-_ ]?([-\\w\\.]*)/i],[[d,/_/g," "],[f,"Nokia"],[m,h]],[/(pixel c)\\b/i],[d,[f,I],[m,w]],[/droid.+; (pixel[\\daxl ]{0,6})(?: bui|\\))/i],[d,[f,I],[m,h]],[/droid.+ (a?\\d[0-2]{2}so|[c-g]\\d{4}|so[-gl]\\w+|xq-a\\w[4-7][12])(?= bui|\\).+chrome\\/(?![1-6]{0,1}\\d\\.))/i],[d,[f,U],[m,h]],[/sony tablet [ps]/i,/\\b(?:sony)?sgp\\w+(?: bui|\\))/i],[[d,"Xperia Tablet"],[f,U],[m,w]],[/ (kb2005|in20[12]5|be20[12][59])\\b/i,/(?:one)?(?:plus)? (a\\d0\\d\\d)(?: b|\\))/i],[d,[f,"OnePlus"],[m,h]],[/(alexa)webm/i,/(kf[a-z]{2}wi|aeo[c-r]{2})( bui|\\))/i,/(kf[a-z]+)( bui|\\)).+silk\\//i],[d,[f,_],[m,w]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\\)).+silk\\//i],[[d,/(.+)/g,"Fire Phone $1"],[f,_],[m,h]],[/(playbook);[-\\w\\),; ]+(rim)/i],[d,f,[m,w]],[/\\b((?:bb[a-f]|st[hv])100-\\d)/i,/\\(bb10; (\\w+)/i],[d,[f,x],[m,h]],[/(?:\\b|asus_)(transfo[prime ]{4,10} \\w+|eeepc|slider \\w+|nexus 7|padfone|p00[cj])/i],[d,[f,E],[m,w]],[/ (z[bes]6[027][012][km][ls]|zenfone \\d\\w?)\\b/i],[d,[f,E],[m,h]],[/(nexus 9)/i],[d,[f,"HTC"],[m,w]],[/(htc)[-;_ ]{1,2}([\\w ]+(?=\\)| bui)|\\w+)/i,/(zte)[- ]([\\w ]+?)(?: bui|\\/|\\))/i,/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\\.))|sony(?!-bra))[-_ ]?([-\\w]*)/i],[f,[d,/_/g," "],[m,h]],[/droid.+; ([ab][1-7]-?[0178a]\\d\\d?)/i],[d,[f,"Acer"],[m,w]],[/droid.+; (m[1-5] note) bui/i,/\\bmz-([-\\w]{2,})/i],[d,[f,"Meizu"],[m,h]],[/(blackberry|benq|palm(?=\\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron)[-_ ]?([-\\w]*)/i,/(hp) ([\\w ]+\\w)/i,/(asus)-?(\\w+)/i,/(microsoft); (lumia[\\w ]+)/i,/(lenovo)[-_ ]?([-\\w]+)/i,/(jolla)/i,/(oppo) ?([\\w ]+) bui/i],[f,d,[m,h]],[/(kobo)\\s(ereader|touch)/i,/(archos) (gamepad2?)/i,/(hp).+(touchpad(?!.+tablet)|tablet)/i,/(kindle)\\/([\\w\\.]+)/i,/(nook)[\\w ]+build\\/(\\w+)/i,/(dell) (strea[kpr\\d ]*[\\dko])/i,/(le[- ]+pan)[- ]+(\\w{1,9}) bui/i,/(trinity)[- ]*(t\\d{3}) bui/i,/(gigaset)[- ]+(q\\w{1,9}) bui/i,/(vodafone) ([\\w ]+)(?:\\)| bui)/i],[f,d,[m,w]],[/(surface duo)/i],[d,[f,B],[m,w]],[/droid [\\d\\.]+; (fp\\du?)(?: b|\\))/i],[d,[f,"Fairphone"],[m,h]],[/(u304aa)/i],[d,[f,"AT&T"],[m,h]],[/\\bsie-(\\w*)/i],[d,[f,"Siemens"],[m,h]],[/\\b(rct\\w+) b/i],[d,[f,"RCA"],[m,w]],[/\\b(venue[\\d ]{2,7}) b/i],[d,[f,"Dell"],[m,w]],[/\\b(q(?:mv|ta)\\w+) b/i],[d,[f,"Verizon"],[m,w]],[/\\b(?:barnes[& ]+noble |bn[rt])([\\w\\+ ]*) b/i],[d,[f,"Barnes & Noble"],[m,w]],[/\\b(tm\\d{3}\\w+) b/i],[d,[f,"NuVision"],[m,w]],[/\\b(k88) b/i],[d,[f,"ZTE"],[m,w]],[/\\b(nx\\d{3}j) b/i],[d,[f,"ZTE"],[m,h]],[/\\b(gen\\d{3}) b.+49h/i],[d,[f,"Swiss"],[m,h]],[/\\b(zur\\d{3}) b/i],[d,[f,"Swiss"],[m,w]],[/\\b((zeki)?tb.*\\b) b/i],[d,[f,"Zeki"],[m,w]],[/\\b([yr]\\d{2}) b/i,/\\b(dragon[- ]+touch |dt)(\\w{5}) b/i],[[f,"Dragon Touch"],d,[m,w]],[/\\b(ns-?\\w{0,9}) b/i],[d,[f,"Insignia"],[m,w]],[/\\b((nxa|next)-?\\w{0,9}) b/i],[d,[f,"NextBook"],[m,w]],[/\\b(xtreme\\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[f,"Voice"],d,[m,h]],[/\\b(lvtel\\-)?(v1[12]) b/i],[[f,"LvTel"],d,[m,h]],[/\\b(ph-1) /i],[d,[f,"Essential"],[m,h]],[/\\b(v(100md|700na|7011|917g).*\\b) b/i],[d,[f,"Envizen"],[m,w]],[/\\b(trio[-\\w\\. ]+) b/i],[d,[f,"MachSpeed"],[m,w]],[/\\btu_(1491) b/i],[d,[f,"Rotor"],[m,w]],[/(shield[\\w ]+) b/i],[d,[f,"Nvidia"],[m,w]],[/(sprint) (\\w+)/i],[f,d,[m,h]],[/(kin\\.[onetw]{3})/i],[[d,/\\./g," "],[f,B],[m,h]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\\)/i],[d,[f,q],[m,w]],[/droid.+; (ec30|ps20|tc[2-8]\\d[kx])\\)/i],[d,[f,q],[m,h]],[/smart-tv.+(samsung)/i],[f,[m,y]],[/hbbtv.+maple;(\\d+)/i],[[d,/^/,"SmartTV"],[f,A],[m,y]],[/(nux; netcast.+smarttv|lg (netcast\\.tv-201\\d|android tv))/i],[[f,M],[m,y]],[/(apple) ?tv/i],[f,[d,S+" TV"],[m,y]],[/crkey/i],[[d,j+"cast"],[f,I],[m,y]],[/droid.+aft(\\w)( bui|\\))/i],[d,[f,_],[m,y]],[/\\(dtv[\\);].+(aquos)/i,/(aquos-tv[\\w ]+)\\)/i],[d,[f,L],[m,y]],[/(bravia[\\w ]+)( bui|\\))/i],[d,[f,U],[m,y]],[/(mitv-\\w{5}) bui/i],[d,[f,R],[m,y]],[/Hbbtv.*(technisat) (.*);/i],[f,d,[m,y]],[/\\b(roku)[\\dx]*[\\)\\/]((?:dvp-)?[\\d\\.]*)/i,/hbbtv\\/\\d+\\.\\d+\\.\\d+ +\\([\\w\\+ ]*; *([\\w\\d][^;]*);([^;]*)/i],[[f,H],[d,H],[m,y]],[/\\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\\b/i],[[m,y]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[f,d,[m,b]],[/droid.+; (shield) bui/i],[d,[f,"Nvidia"],[m,b]],[/(playstation [345portablevi]+)/i],[d,[f,U],[m,b]],[/\\b(xbox(?: one)?(?!; xbox))[\\); ]/i],[d,[f,B],[m,b]],[/((pebble))app/i],[f,d,[m,T]],[/(watch)(?: ?os[,\\/]|\\d,\\d\\/)[\\d\\.]+/i],[d,[f,S],[m,T]],[/droid.+; (glass) \\d/i],[d,[f,I],[m,T]],[/droid.+; (wt63?0{2,3})\\)/i],[d,[f,q],[m,T]],[/(quest( 2| pro)?)/i],[d,[f,F],[m,T]],[/(tesla)(?: qtcarbrowser|\\/[-\\w\\.]+)/i],[f,[m,k]],[/(aeobc)\\b/i],[d,[f,_],[m,k]],[/droid .+?; ([^;]+?)(?: bui|\\) applew).+? mobile safari/i],[d,[m,h]],[/droid .+?; ([^;]+?)(?: bui|\\) applew).+?(?! mobile) safari/i],[d,[m,w]],[/\\b((tablet|tab)[;\\/]|focus\\/\\d(?!.+mobile))/i],[[m,w]],[/(phone|mobile(?:[;\\/]| [ \\w\\/\\.]*safari)|pda(?=.+windows ce))/i],[[m,h]],[/(android[-\\w\\. ]{0,9});.+buil/i],[d,[f,"Generic"]]],engine:[[/windows.+ edge\\/([\\w\\.]+)/i],[v,[p,"EdgeHTML"]],[/webkit\\/537\\.36.+chrome\\/(?!27)([\\w\\.]+)/i],[v,[p,"Blink"]],[/(presto)\\/([\\w\\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna)\\/([\\w\\.]+)/i,/ekioh(flow)\\/([\\w\\.]+)/i,/(khtml|tasman|links)[\\/ ]\\(?([\\w\\.]+)/i,/(icab)[\\/ ]([23]\\.[\\d\\.]+)/i,/\\b(libweb)/i],[p,v],[/rv\\:([\\w\\.]{1,9})\\b.+(gecko)/i],[v,p]],os:[[/microsoft (windows) (vista|xp)/i],[p,v],[/(windows) nt 6\\.2; (arm)/i,/(windows (?:phone(?: os)?|mobile))[\\/ ]?([\\d\\.\\w ]*)/i,/(windows)[\\/ ]?([ntce\\d\\. ]+\\w)(?!.+xbox)/i],[p,[v,J,X]],[/(win(?=3|9|n)|win 9x )([nt\\d\\.]+)/i],[[p,"Windows"],[v,J,X]],[/ip[honead]{2,4}\\b(?:.*os ([\\w]+) like mac|; opera)/i,/ios;fbsv\\/([\\d\\.]+)/i,/cfnetwork\\/.+darwin/i],[[v,/_/g,"."],[p,"iOS"]],[/(mac os x) ?([\\w\\. ]*)/i,/(macintosh|mac_powerpc\\b)(?!.+haiku)/i],[[p,K],[v,/_/g,"."]],[/droid ([\\w\\.]+)\\b.+(android[- ]x86|harmonyos)/i],[v,p],[/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\\/ ]?([\\w\\.]*)/i,/(blackberry)\\w*\\/([\\w\\.]*)/i,/(tizen|kaios)[\\/ ]([\\w\\.]+)/i,/\\((series40);/i],[p,v],[/\\(bb(10);/i],[v,[p,x]],[/(?:symbian ?os|symbos|s60(?=;)|series60)[-\\/ ]?([\\w\\.]*)/i],[v,[p,"Symbian"]],[/mozilla\\/[\\d\\.]+ \\((?:mobile|tablet|tv|mobile; [\\w ]+); rv:.+ gecko\\/([\\w\\.]+)/i],[v,[p,N+" OS"]],[/web0s;.+rt(tv)/i,/\\b(?:hp)?wos(?:browser)?\\/([\\w\\.]+)/i],[v,[p,"webOS"]],[/watch(?: ?os[,\\/]|\\d,\\d\\/)([\\d\\.]+)/i],[v,[p,"watchOS"]],[/crkey\\/([\\d\\.]+)/i],[v,[p,j+"cast"]],[/(cros) [\\w]+(?:\\)| ([\\w\\.]+)\\b)/i],[[p,z],v],[/panasonic;(viera)/i,/(netrange)mmh/i,/(nettv)\\/(\\d+\\.[\\w\\.]+)/i,/(nintendo|playstation) ([wids345portablevuch]+)/i,/(xbox); +xbox ([^\\);]+)/i,/\\b(joli|palm)\\b ?(?:os)?\\/?([\\w\\.]*)/i,/(mint)[\\/\\(\\) ]?(\\w*)/i,/(mageia|vectorlinux)[; ]/i,/([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\\/ ]?(?!chrom|package)([-\\w\\.]*)/i,/(hurd|linux) ?([\\w\\.]*)/i,/(gnu) ?([\\w\\.]*)/i,/\\b([-frentopcghs]{0,5}bsd|dragonfly)[\\/ ]?(?!amd|[ix346]{1,2}86)([\\w\\.]*)/i,/(haiku) (\\w+)/i],[p,v],[/(sunos) ?([\\w\\.\\d]*)/i],[[p,"Solaris"],v],[/((?:open)?solaris)[-\\/ ]?([\\w\\.]*)/i,/(aix) ((\\d)(?=\\.|\\)| )[\\w\\.])*/i,/\\b(beos|os\\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i,/(unix) ?([\\w\\.]*)/i],[p,v]]},Z=function(e,t){if(typeof e===c&&(t=e,e=a),!(this instanceof Z))return new Z(e,t).getResult();var n=typeof i!==s&&i.navigator?i.navigator:a,r=e||(n&&n.userAgent?n.userAgent:""),b=n&&n.userAgentData?n.userAgentData:a,y=t?function(e,t){var n={};for(var r in e)t[r]&&t[r].length%2==0?n[r]=t[r].concat(e[r]):n[r]=e[r];return n}(G,t):G,T=n&&n.userAgent==r;return this.getBrowser=function(){var e,t={};return t[p]=a,t[v]=a,V.call(t,r,y.browser),t[l]=typeof(e=t[v])===u?e.replace(/[^\\d\\.]/g,"").split(".")[0]:a,T&&n&&n.brave&&typeof n.brave.isBrave==o&&(t[p]="Brave"),t},this.getCPU=function(){var e={};return e[g]=a,V.call(e,r,y.cpu),e},this.getDevice=function(){var e={};return e[f]=a,e[d]=a,e[m]=a,V.call(e,r,y.device),T&&!e[m]&&b&&b.mobile&&(e[m]=h),T&&"Macintosh"==e[d]&&n&&typeof n.standalone!==s&&n.maxTouchPoints&&n.maxTouchPoints>2&&(e[d]="iPad",e[m]=w),e},this.getEngine=function(){var e={};return e[p]=a,e[v]=a,V.call(e,r,y.engine),e},this.getOS=function(){var e={};return e[p]=a,e[v]=a,V.call(e,r,y.os),T&&!e[p]&&b&&"Unknown"!=b.platform&&(e[p]=b.platform.replace(/chrome os/i,z).replace(/macos/i,K)),e},this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}},this.getUA=function(){return r},this.setUA=function(e){return r=typeof e===u&&e.length>350?H(e,350):e,this},this.setUA(r),this};Z.VERSION="1.0.35",Z.BROWSER=$([p,v,l]),Z.CPU=$([g]),Z.DEVICE=$([d,f,m,b,h,y,w,T,k]),Z.ENGINE=Z.OS=$([p,v]),typeof t!==s?(e.exports&&(t=e.exports=Z),t.UAParser=Z):n.amdO?(r=function(){return Z}.call(t,n,t,e))===a||(e.exports=r):typeof i!==s&&(i.UAParser=Z);var Y=typeof i!==s&&(i.jQuery||i.Zepto);if(Y&&!Y.ua){var ee=new Z;Y.ua=ee.getResult(),Y.ua.get=function(){return ee.getUA()},Y.ua.set=function(e){ee.setUA(e);var t=ee.getResult();for(var n in t)Y.ua[n]=t[n]}}}("object"==typeof window?window:this)}},t={};function n(r){var i=t[r];if(void 0!==i)return i.exports;var a=t[r]={exports:{}};return e[r].call(a.exports,a,a.exports,n),a.exports}n.amdO={},n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var r={};return(()=>{"use strict";n.r(r),n.d(r,{ActionType:()=>f,AmplitudePlatformName:()=>g,AnalyticsEventImportance:()=>l,AnalyticsQueries:()=>e,AuthStatus:()=>b,ComponentType:()=>m,IThresholdTier:()=>Jt,MetricType:()=>d,PlatformName:()=>v,SessionActions:()=>h,SessionAutomatedEvents:()=>w,SessionRank:()=>y,SubjectType:()=>p,UserTypeCommerce:()=>c,UserTypeInsto:()=>i,UserTypeRetail:()=>t,UserTypeRetailBusinessBanking:()=>s,UserTypeRetailEmployeeInternal:()=>a,UserTypeRetailEmployeePersonal:()=>o,UserTypeWallet:()=>u,automatedEvents:()=>xn,automatedMappingConfig:()=>In,clearMarkEntry:()=>Vn,clearPerformanceMarkEntries:()=>Xn,config:()=>A,createEventConfig:()=>On,createNewSpan:()=>Ln,createNewTrace:()=>Un,device:()=>W,endPerfMark:()=>Jn,exposeExperiment:()=>wn,flushQueue:()=>or,generateUUID:()=>V,getAnalyticsHeaders:()=>sr,getReferrerData:()=>le,getTracingHeaders:()=>An,getTracingId:()=>Dn,getUrlHostname:()=>pe,getUrlParams:()=>me,getUrlPathname:()=>fe,getUserContext:()=>ar,identify:()=>Tn,identifyFlow:()=>xe,identity:()=>H,identityFlow:()=>Se,incrementUjNavigation:()=>an,init:()=>yn,initNextJsTrackPageview:()=>_n,initTrackPageview:()=>kn,isEventKeyFormatValid:()=>we,isSessionEnded:()=>pt,location:()=>re,logEvent:()=>$t,logMetric:()=>Ht,logPageView:()=>on,logTrace:()=>Rn,markNTBT:()=>tn,markStep:()=>nn,markStepOnce:()=>rn,onVisibilityChange:()=>ln,optIn:()=>En,optOut:()=>Sn,perfMark:()=>Wn,persistentData:()=>oe,postMessage:()=>K,recordSessionDuration:()=>pn,removeFromIdentifyFlow:()=>Ee,savePersistentData:()=>st,sendScheduledEvents:()=>Bt,setBreadcrumbs:()=>ie,setConfig:()=>U,setLocation:()=>ae,setPagePath:()=>ve,setPageview:()=>Kt,setPersistentData:()=>se,setSessionStart:()=>dt,setTime:()=>Ue,startPerfMark:()=>Hn,timeStone:()=>Le,useEventLogger:()=>Yn,useLogEventOnMount:()=>tr,usePerformanceMarks:()=>rr});let e=function(e){return e.fbclid="fbclid",e.gclid="gclid",e.msclkid="msclkid",e.ptclid="ptclid",e.ttclid="ttclid",e.utm_source="utm_source",e.utm_medium="utm_medium",e.utm_campaign="utm_campaign",e.utm_term="utm_term",e.utm_content="utm_content",e}({});const t=0,i=1,a=2,o=3,s=4,c=5,u=6;let l=function(e){return e.low="low",e.high="high",e}({}),d=function(e){return e.count="count",e.rate="rate",e.gauge="gauge",e.distribution="distribution",e.histogram="histogram",e}({}),p=function(e){return e.commerce_merchant="commerce_merchant",e.device="device",e.edp_fingerprint_id="edp_fingerprint_id",e.nft_user="nft_user",e.user="user",e.wallet_user="wallet_user",e.uuid="user_uuid",e}({}),m=function(e){return e.unknown="unknown",e.banner="banner",e.button="button",e.card="card",e.chart="chart",e.content_script="content_script",e.dropdown="dropdown",e.link="link",e.page="page",e.modal="modal",e.table="table",e.search_bar="search_bar",e.service_worker="service_worker",e.text="text",e.text_input="text_input",e.tray="tray",e.checkbox="checkbox",e.icon="icon",e}({}),f=function(e){return e.unknown="unknown",e.blur="blur",e.click="click",e.change="change",e.dismiss="dismiss",e.focus="focus",e.hover="hover",e.select="select",e.measurement="measurement",e.move="move",e.process="process",e.render="render",e.scroll="scroll",e.view="view",e.search="search",e.keyPress="keyPress",e}({}),v=function(e){return e.unknown="unknown",e.web="web",e.android="android",e.ios="ios",e.mobile_web="mobile_web",e.tablet_web="tablet_web",e.server="server",e.windows="windows",e.macos="macos",e.extension="extension",e}({}),g=function(e){return e.web="Web",e.ios="iOS",e.android="Android",e}({}),b=function(e){return e[e.notLoggedIn=0]="notLoggedIn",e[e.loggedIn=1]="loggedIn",e}({}),h=function(e){return e.ac="ac",e.af="af",e.ah="ah",e.al="al",e.am="am",e.ar="ar",e.as="as",e}({}),w=function(e){return e.pv="pv",e}({}),y=function(e){return e.xs="xs",e.s="s",e.m="m",e.l="l",e.xl="xl",e.xxl="xxl",e}({});const T="https://analytics-service-dev.cbhq.net",k=3e5,_=5e3,S="analytics-db",E="experiment-exposure-db",x="Analytics SDK:",O=Object.values(e),j="pageview",N="session_duration",I={navigationTiming:{eventName:"perf_navigation_timing"},redirectTime:{eventName:"perf_redirect_time"},RT:{eventName:"perf_redirect_time"},TTFB:{eventName:"perf_time_to_first_byte"},networkInformation:{eventName:"perf_network_information"},storageEstimate:{eventName:"perf_storage_estimate"},FCP:{eventName:"perf_first_contentful_paint"},FID:{eventName:"perf_first_input_delay"},LCP:{eventName:"perf_largest_contentful_paint"},CLS:{eventName:"perf_cumulative_layout_shift"},TBT:{eventName:"perf_total_blocking_time"},NTBT:{eventName:"perf_navigation_total_blocking_time"},INP:{eventName:"perf_interact_to_next_paint"},ET:{eventName:"perf_element_timing"},userJourneyStep:{eventName:"perf_user_journey_step"}},P="1",M="web";function B(){return B=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},B.apply(this,arguments)}const C=/^(https?:\\/\\/)/;function D(e){return{eventsEndpoint:e+"/amp",metricsEndPoint:e+"/metrics",exposureEndpoint:e+"/track-exposures",tracesEndpoint:e+"/traces"}}const A=B({authCookie:"logged_in",amplitudeApiKey:"",batchEventsPeriod:_,batchEventsThreshold:30,batchMetricsPeriod:_,batchMetricsThreshold:30,batchTracesPeriod:_,batchTracesThreshold:30,headers:{},interactionManager:null,isAlwaysAuthed:!1,isProd:!1,isInternalApplication:!1,onError:(e,t)=>{console.error(x,e,t)},platform:v.unknown,projectName:"",ricTimeoutScheduleEvent:1e3,ricTimeoutSetDevice:500,showDebugLogging:!1,trackUserId:!1,version:null,apiEndpoint:T},D(T),{steps:{}}),L=[].reduce(((e,t)=>n=>e(t(n))),(e=>{if(!e.isProd)return e.isInternalApplication?(e.apiEndpoint="https://analytics-service-internal-dev.cbhq.net",B({},e,D(e.apiEndpoint))):e;const t=(e=>e.apiEndpoint?C.test(e.apiEndpoint)?e.apiEndpoint:`https://${e.apiEndpoint}`:e.isInternalApplication?"https://analytics-service-internal.cbhq.net":"https://as.coinbase.com")(e);return B({},e,{apiEndpoint:t},D(t))})),U=e=>{const{batchEventsThreshold:t,batchMetricsThreshold:n,batchTracesThreshold:r}=e,i=[t,n,r];for(const e of i)if((e||0)>30){console.warn("You are setting the threshhold for the batch limit to be greater than 30. This may cause request overload.");break}Object.assign(A,L(e))},R=[v.web,v.mobile_web,v.tablet_web];function q(){return"android"===A.platform}function F(){return"ios"===A.platform}function z(){return R.includes(A.platform)}function K(e){if(z()&&navigator&&"serviceWorker"in navigator&&navigator.serviceWorker.controller)try{navigator.serviceWorker.controller.postMessage(e)}catch(e){e instanceof Error&&A.onError(e)}}var $=n(353),Q=n.n($);const W={amplitudeOSName:null,amplitudeOSVersion:null,amplitudeDeviceModel:null,amplitudePlatform:null,browserName:null,browserMajor:null,osName:null,userAgent:null,width:null,height:null},H={countryCode:null,deviceId:null,device_os:null,isOptOut:!1,languageCode:null,locale:null,jwt:null,session_lcc_id:null,userAgent:null,userId:null},V=e=>e?(e^16*Math.random()>>e/4).toString(16):"10000000-1000-4000-8000-100000000000".replace(/[018]/g,V),J=()=>A.isAlwaysAuthed||!!H.userId,X=()=>{const e={};return H.countryCode&&(e.country_code=H.countryCode),e},G=()=>{const{platform:e}=A;if(e===v.web)switch(!0){case window.matchMedia("(max-width: 560px)").matches:return v.mobile_web;case window.matchMedia("(max-width: 1024px, min-width: 561px)").matches:return v.tablet_web}return e},Z=()=>{var e,t,n,r,i;z()?("requestIdleCallback"in window?window.requestIdleCallback(ne,{timeout:A.ricTimeoutSetDevice}):ne(),W.amplitudePlatform=g.web,W.userAgent=(null==(e=window)||null==(e=e.navigator)?void 0:e.userAgent)||null,ee({height:null!=(t=null==(n=window)?void 0:n.innerHeight)?t:null,width:null!=(r=null==(i=window)?void 0:i.innerWidth)?r:null})):F()?(W.amplitudePlatform=g.ios,W.userAgent=H.userAgent,W.userAgent&&ne()):q()&&(W.userAgent=H.userAgent,W.amplitudePlatform=g.android,W.userAgent&&ne())},Y=e=>{Object.assign(H,e),z()&&K({identity:{isAuthed:!!H.userId,locale:H.locale||null}})},ee=e=>{W.height=e.height,W.width=e.width},te=()=>{U({platform:G()}),z()&&K({config:{platform:A.platform}})},ne=()=>{var e;performance.mark&&performance.mark("ua_parser_start");const t=new(Q())(null!=(e=W.userAgent)?e:"").getResult();W.browserName=t.browser.name||null,W.browserMajor=t.browser.major||null,W.osName=t.os.name||null,W.amplitudeOSName=W.browserName,W.amplitudeOSVersion=W.browserMajor,W.amplitudeDeviceModel=W.osName,K({device:{browserName:W.browserName,osName:W.osName}}),performance.mark&&(performance.mark("ua_parser_end"),performance.measure("ua_parser","ua_parser_start","ua_parser_end"))},re={breadcrumbs:[],initialUAAData:{},pageKey:"",pageKeyRegex:{},pagePath:"",prevPageKey:"",prevPagePath:""};function ie(e){Object.assign(re,{breadcrumbs:e})}function ae(e){Object.assign(re,e)}const oe={eventId:0,sequenceNumber:0,sessionId:0,lastEventTime:0,sessionStart:0,sessionUUID:null,userId:null,ac:0,af:0,ah:0,al:0,am:0,ar:0,as:0,pv:0};function se(e){Object.assign(oe,e)}function ce(){var e,t;return null!=(e=null==(t=document)?void 0:t.referrer)?e:""}function ue(){return ue=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ue.apply(this,arguments)}const le=()=>{const e=ce();if(!e)return{};const t=new URL(e);return t.hostname===pe()?{}:{referrer:e,referring_domain:t.hostname}},de=()=>{const e=new URLSearchParams(me()),t={};return O.forEach((n=>{e.has(n)&&(t[n]=(e.get(n)||"").toLowerCase())})),t},pe=()=>{var e;return(null==(e=window)||null==(e=e.location)?void 0:e.hostname)||""},me=()=>{var e;return(null==(e=window)||null==(e=e.location)?void 0:e.search)||""},fe=()=>{var e;return(null==(e=window)||null==(e=e.location)?void 0:e.pathname)||""},ve=()=>{const e=A.overrideWindowLocation?re.pagePath:fe()+me();e&&e!==re.pagePath&&(e!==re.pagePath&&ge(),re.pagePath=e,re.pageKeyRegex&&Object.keys(re.pageKeyRegex).some((e=>{if(re.pageKeyRegex[e].test(re.pagePath))return re.pageKey=e,!0})))},ge=()=>{if(z()){const e=ce();if(!re.prevPagePath&&e){const t=new URL(e);if(t.hostname===pe())return void(re.prevPagePath=t.pathname)}}re.prevPagePath=re.pagePath,re.prevPageKey=re.pageKey},be=e=>{z()&&Object.assign(e,z()?(Object.keys(re.initialUAAData).length>0||(new URLSearchParams(me()),re.initialUAAData=ue({},(()=>{const e={};return O.forEach((t=>{oe[t]&&(e[t]=oe[t])})),e})(),de(),le())),re.initialUAAData):re.initialUAAData)},he=/^[a-zd]+(_[a-zd]+)*$/;function we(e){return he.test(e)}function ye(){return ye=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ye.apply(this,arguments)}const Te=["action","component_type","component_name","context","logging_id"],ke=["num_non_hardware_accounts","ujs"],_e="ujs_",Se={};function Ee(e){e.forEach((e=>{ke.includes(e)&&delete Se[e]}))}function xe(e){var t;const n=Object.entries(e).reduce(((e,t)=>{const[n,r]=t;return!Te.includes(n)&&ke.includes(n)?we(n)?ye({},e,{[n]:r}):(A.onError(new Error("IdentityFlow property names must have snake case format"),{[n]:r}),e):e}),{});null!=(t=n.ujs)&&t.length&&(n.ujs=n.ujs.map((e=>`${_e}${e}`))),Object.assign(Se,n)}function Oe(){return A.platform!==v.unknown||(A.onError(new Error("SDK platform not initialized")),!1)}const je={eventsQueue:[],eventsScheduled:!1,metricsQueue:[],metricsScheduled:!1,tracesQueue:[],tracesScheduled:!1};function Ne(e){Object.assign(je,e)}const Ie={ac:0,af:0,ah:0,al:0,am:0,ar:0,as:0,pv:0,sqs:0},Pe={ac:20,af:5,ah:1,al:1,am:0,ar:10,as:20},Me={pv:25},Be={xs:0,s:1,m:1,l:2,xl:2,xxl:2},Ce=e=>e<15?y.xs:e<60?y.s:e<240?y.m:e<960?y.l:e<3840?y.xl:y.xxl,De=e=>{Object.assign(Ie,e)};function Ae(){return(new Date).getTime()}const Le={timeStart:Ae(),timeOnPagePath:0,timeOnPageKey:0,prevTimeOnPagePath:0,prevTimeOnPageKey:0,sessionDuration:0,sessionEnd:0,sessionStart:0,prevSessionDuration:0};function Ue(e){Object.assign(Le,e)}const Re=(e,t)=>t.some((t=>e instanceof t));let qe,Fe;const ze=new WeakMap,Ke=new WeakMap,$e=new WeakMap,Qe=new WeakMap,We=new WeakMap;let He={get(e,t,n){if(e instanceof IDBTransaction){if("done"===t)return Ke.get(e);if("objectStoreNames"===t)return e.objectStoreNames||$e.get(e);if("store"===t)return n.objectStoreNames[1]?void 0:n.objectStore(n.objectStoreNames[0])}return Je(e[t])},set:(e,t,n)=>(e[t]=n,!0),has:(e,t)=>e instanceof IDBTransaction&&("done"===t||"store"===t)||t in e};function Ve(e){return"function"==typeof e?(t=e)!==IDBDatabase.prototype.transaction||"objectStoreNames"in IDBTransaction.prototype?(Fe||(Fe=[IDBCursor.prototype.advance,IDBCursor.prototype.continue,IDBCursor.prototype.continuePrimaryKey])).includes(t)?function(...e){return t.apply(Xe(this),e),Je(ze.get(this))}:function(...e){return Je(t.apply(Xe(this),e))}:function(e,...n){const r=t.call(Xe(this),e,...n);return $e.set(r,e.sort?e.sort():[e]),Je(r)}:(e instanceof IDBTransaction&&function(e){if(Ke.has(e))return;const t=new Promise(((t,n)=>{const r=()=>{e.removeEventListener("complete",i),e.removeEventListener("error",a),e.removeEventListener("abort",a)},i=()=>{t(),r()},a=()=>{n(e.error||new DOMException("AbortError","AbortError")),r()};e.addEventListener("complete",i),e.addEventListener("error",a),e.addEventListener("abort",a)}));Ke.set(e,t)}(e),Re(e,qe||(qe=[IDBDatabase,IDBObjectStore,IDBIndex,IDBCursor,IDBTransaction]))?new Proxy(e,He):e);var t}function Je(e){if(e instanceof IDBRequest)return function(e){const t=new Promise(((t,n)=>{const r=()=>{e.removeEventListener("success",i),e.removeEventListener("error",a)},i=()=>{t(Je(e.result)),r()},a=()=>{n(e.error),r()};e.addEventListener("success",i),e.addEventListener("error",a)}));return t.then((t=>{t instanceof IDBCursor&&ze.set(t,e)})).catch((()=>{})),We.set(t,e),t}(e);if(Qe.has(e))return Qe.get(e);const t=Ve(e);return t!==e&&(Qe.set(e,t),We.set(t,e)),t}const Xe=e=>We.get(e),Ge=["get","getKey","getAll","getAllKeys","count"],Ze=["put","add","delete","clear"],Ye=new Map;function et(e,t){if(!(e instanceof IDBDatabase)||t in e||"string"!=typeof t)return;if(Ye.get(t))return Ye.get(t);const n=t.replace(/FromIndex$/,""),r=t!==n,i=Ze.includes(n);if(!(n in(r?IDBIndex:IDBObjectStore).prototype)||!i&&!Ge.includes(n))return;const a=async function(e,...t){const a=this.transaction(e,i?"readwrite":"readonly");let o=a.store;return r&&(o=o.index(t.shift())),(await Promise.all([o[n](...t),i&&a.done]))[0]};return Ye.set(t,a),a}var tt;tt=He,He={...tt,get:(e,t,n)=>et(e,t)||tt.get(e,t,n),has:(e,t)=>!!et(e,t)||tt.has(e,t)};const nt={isReady:!1,idbKeyval:null};function rt(e){Object.assign(nt,e)}const it={},at=async e=>{if(!nt.idbKeyval)return Promise.resolve(null);try{return await nt.idbKeyval.get(e)}catch(e){return A.onError(new Error("IndexedDB:Get:InternalError")),Promise.resolve(null)}},ot=async(e,t)=>{if(nt.idbKeyval)try{await nt.idbKeyval.set(e,t)}catch(e){A.onError(new Error("IndexedDB:Set:InternalError"))}},st=()=>{"server"!==A.platform&&(se({sessionStart:Le.sessionStart,ac:Ie.ac,af:Ie.af,ah:Ie.ah,al:Ie.al,am:Ie.am,ar:Ie.ar,as:Ie.as,pv:Ie.pv}),H.userId&&se({userId:H.userId}),ot(S,oe))},ct="rgb(5,177,105)",ut=e=>{const{metricName:t,data:n}=e,r=e.importance||l.low;if(!A.showDebugLogging||!console)return;const i=`%c ${x}`,a=`color:${ct};font-size:11px;`,o=`Importance: ${r}`;console.group(i,a,t,o),n.forEach((e=>{e.event_type?console.log(e.event_type,e):console.log(e)})),console.groupEnd()},lt=e=>{const{metricName:t,data:n}=e,r=e.importance||l.low;if(!A.showDebugLogging||!console)return;const i=`color:${ct};font-size:11px;`,a=`%c ${x}`,o=`Importance: ${r}`;console.log(a,i,t,n,o)},dt=()=>{const e=Ae();oe.sessionId&&oe.lastEventTime&&oe.sessionUUID&&!pt(e)||(oe.sessionId=e,oe.sessionUUID=V(),Ue({sessionStart:e}),lt({metricName:"Started new session:",data:{persistentData:oe,timeStone:Le}})),oe.lastEventTime=e},pt=e=>e-oe.lastEventTime>18e5;function mt(){return mt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},mt.apply(this,arguments)}const ft=e=>{var t;(e=>{switch(e.action){case f.click:Ie.ac+=1;break;case f.focus:Ie.af+=1;break;case f.hover:Ie.ah+=1;break;case f.move:Ie.am+=1;break;case f.scroll:Ie.al+=1;break;case f.search:Ie.ar+=1;break;case f.select:Ie.as+=1}})(t=e),t.event_type!==j?t.event_type===N&&((e=>{if(!e.session_rank)return;const t=e.session_rank;Object.values(h).forEach((e=>{Ie.sqs+=Ie[e]*Pe[e]})),Object.values(w).forEach((e=>{Ie.sqs+=Ie[e]*Me[e]})),Ie.sqs*=Be[t]})(t),Object.assign(t,Ie),De({ac:0,af:0,ah:0,al:0,am:0,ar:0,as:0,pv:0,sqs:0})):Ie.pv+=1;const n=e.event_type;delete e.event_type;const r=e.deviceId?e.deviceId:null,i=e.timestamp;return delete e.timestamp,se({eventId:oe.eventId+1}),se({sequenceNumber:oe.sequenceNumber+1}),dt(),st(),{device_id:H.deviceId||r||null,user_id:H.userId,timestamp:i,event_id:oe.eventId,session_id:oe.sessionId||-1,event_type:n,version_name:A.version||null,platform:W.amplitudePlatform,os_name:W.amplitudeOSName,os_version:W.amplitudeOSVersion,device_model:W.amplitudeDeviceModel,language:H.languageCode,event_properties:mt({},e,{session_uuid:oe.sessionUUID,height:W.height,width:W.width}),user_properties:X(),uuid:V(),library:{name:"@cbhq/client-analytics",version:"10.6.0"},sequence_number:oe.sequenceNumber,user_agent:W.userAgent||H.userAgent}},vt=e=>e.map((e=>ft(e)));function gt(){return gt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},gt.apply(this,arguments)}const bt=e=>e.map((e=>(e=>{const t=e.tags||{},n=gt({authed:J()?"true":"false",platform:A.platform},t,{project_name:A.projectName,version_name:A.version||null});return{metric_name:e.metricName,page_path:e.pagePath||null,value:e.value,tags:n,type:e.metricType}})(e))),ht=e=>0!==je.metricsQueue.length&&(je.metricsQueue.length>=A.batchMetricsThreshold||(je.metricsScheduled||(je.metricsScheduled=!0,setTimeout((()=>{je.metricsScheduled=!1,e(bt(je.metricsQueue)),je.metricsQueue=[]}),A.batchMetricsPeriod)),!1)),wt=e=>0!==je.tracesQueue.length&&(je.tracesQueue.length>=A.batchTracesThreshold||(je.tracesScheduled||(je.tracesScheduled=!0,setTimeout((()=>{je.tracesScheduled=!1,e(je.tracesQueue),je.tracesQueue=[]}),A.batchTracesPeriod)),!1)),yt=e=>{var t;z()&&null!=(t=window)&&t.requestIdleCallback?window.requestIdleCallback(e,{timeout:A.ricTimeoutScheduleEvent}):(q()||F())&&A.interactionManager?A.interactionManager.runAfterInteractions(e):e()};function Tt(){return Tt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Tt.apply(this,arguments)}const kt="application/x-www-form-urlencoded; charset=UTF-8",_t=e=>{const{data:t,importance:n,isJSON:r,onError:i,url:a}=e,o=r?"application/json":kt,s=n||l.low,c=r?JSON.stringify(t):new URLSearchParams(t).toString();function u(){const e=new XMLHttpRequest;e.open("POST",a,!0),Object.keys(A.headers||{}).forEach((t=>{e.setRequestHeader(t,A.headers[t])})),e.setRequestHeader("Content-Type",kt),H.jwt&&e.setRequestHeader("authorization",`Bearer ${H.jwt}`),e.send(c)}if(!z()||r||!("sendBeacon"in navigator)||s!==l.low||A.headers&&0!==Object.keys(A.headers).length)if(z()&&!r)u();else{const e=Tt({},A.headers,{"Content-Type":o});H.jwt&&(e.Authorization=`Bearer ${H.jwt}`),fetch(a,{method:"POST",mode:"no-cors",headers:e,body:c}).catch((e=>{i(e,{context:"AnalyticsSDKApiError"})}))}else{const e=new Blob([c],{type:kt});try{navigator.sendBeacon.bind(navigator)(a,e)||u()}catch(e){console.error(e),u()}}};var St=n(762),Et=n.n(St);const xt=(e,t,n)=>{const r=e||"";return Et()("2"+r+t+n)};function Ot(){return Ot=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Ot.apply(this,arguments)}class jt extends Error{constructor(e){super(e),this.name="CircularJsonReference",this.message=e,"function"==typeof Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error(e).stack}}class Nt extends jt{constructor(...e){super(...e),this.name="DomReferenceInAnalyticsEvent"}}function It(){return It=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},It.apply(this,arguments)}const Pt=(e,t=l.low)=>{var n;e&&je.eventsQueue.push(e),nt.isReady&&(!A.trackUserId||H.userId?(t===l.high||(n=Mt,0!==je.eventsQueue.length&&(je.eventsQueue.length>=A.batchEventsThreshold||(je.eventsScheduled||(je.eventsScheduled=!0,setTimeout((()=>{je.eventsScheduled=!1,n(vt(je.eventsQueue)),je.eventsQueue=[]}),A.batchEventsPeriod)),0))))&&Bt():je.eventsQueue.length>10&&(A.trackUserId=!1,A.onError(new Error("userId not set in Logged-in"))))},Mt=(e,t=l.low)=>{if(H.isOptOut||0===e.length)return;let n;try{n=JSON.stringify(e)}catch(t){const r=e.map((e=>e.event_type)).join(", "),[i,a]=(e=>{try{const n=[];for(const r of e){const e=Ot({},r);r.event_properties&&(e.event_properties=Ot({},e.event_properties,{currentTarget:null,target:null,relatedTarget:null,_dispatchInstances:null,_targetInst:null,view:(t=r.event_properties.view,["string","number","boolean"].includes(typeof t)?r.event_properties.view:null)})),n.push(e)}return[!0,JSON.stringify(n)]}catch(e){return[!1,""]}var t})(e);if(!i)return void A.onError(new jt(t instanceof Error?t.message:"unknown"),{listEventType:r});n=a,A.onError(new Nt("Found DOM element reference"),{listEventType:r,stringifiedEventData:n})}const r=Ae().toString(),i=It({},{e:n,v:"2",upload_time:r},{client:A.amplitudeApiKey,checksum:xt(A.amplitudeApiKey,n,r)});_t({url:A.eventsEndpoint,data:i,importance:t,onError:A.onError}),ut({metricName:"Batch Events",data:e,importance:t})},Bt=()=>{Mt(vt(je.eventsQueue)),Ne({eventsQueue:[]})};function Ct(){return Ct=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Ct.apply(this,arguments)}const Dt=Object.values(f),At=Object.values(m),Lt=e=>Dt.includes(e)?e:f.unknown,Ut=e=>At.includes(e)?e:m.unknown,Rt=(e,t,n)=>{const r={auth:J()?b.loggedIn:b.notLoggedIn,action:Lt(e),component_type:Ut(t),logging_id:n,platform:A.platform,project_name:A.projectName};return"number"==typeof H.userTypeEnum&&(r.user_type_enum=H.userTypeEnum),r},qt=e=>{const t=Ae();if(!e)return A.onError(new Error("missing logData")),Ct({},Rt(f.unknown,m.unknown),{locale:H.locale,session_lcc_id:H.session_lcc_id,timestamp:t,time_start:Le.timeStart});const n=Ct({},e,Rt(e.action,e.componentType,e.loggingId),{locale:H.locale,session_lcc_id:H.session_lcc_id,timestamp:t,time_start:Le.timeStart});return delete n.componentType,delete n.loggingId,n},Ft={blacklistRegex:[],isEnabled:!1};function zt(){return{page_key:re.pageKey,page_path:re.pagePath,prev_page_key:re.prevPageKey,prev_page_path:re.prevPagePath}}function Kt(e){Object.assign(Ft,e)}function $t(e,t,n=l.low){if(H.isOptOut)return;if(!Oe())return;const r=qt(t);!function(e){Ft.isEnabled&&(ve(),Object.assign(e,zt()))}(r),be(r),function(e){Object.keys(Se).length>0&&Object.assign(e,Se)}(r),r.has_double_fired=!1,r.event_type=e,n===l.high?Pt(r,n):yt((()=>{Pt(r)}))}function Qt(e,t=!1){t?_t({url:A.metricsEndPoint,data:{metrics:e},isJSON:!0,onError:A.onError}):yt((()=>{_t({url:A.metricsEndPoint,data:{metrics:e},isJSON:!0,onError:A.onError})})),ut({metricName:"Batch Metrics",data:e})}function Wt(){return Wt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Wt.apply(this,arguments)}function Ht(e){if(!Oe())return;v.server!==A.platform&&!e.pagePath&&re.pagePath&&(e.pagePath=re.pagePath);const t=Object.keys(Se).length?Wt({},e.tags,Se):e.tags;t&&Object.assign(e,{tags:t}),je.metricsQueue.push(e),ht(Qt)&&(Qt(bt(je.metricsQueue)),je.metricsQueue=[])}function Vt(){return Vt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Vt.apply(this,arguments)}let Jt=function(e){return e.instant="instant",e.quick="quick",e.moderate="moderate",e.slow="slow",e.unavoidable="unavoidable",e}({});function Xt(e){return e.toLowerCase()}let Gt={};const Zt=(e,t)=>{null!=A&&A.onMarkStep&&A.onMarkStep(e,t),xe({ujs:t})};let Yt;const en={Perfume:()=>{},markStep:e=>{},markStepOnce:e=>{},incrementUjNavigation:()=>{}},tn=()=>{z()&&Yt&&Yt.markNTBT&&Yt.markNTBT()},nn=e=>{z()&&Yt&&en.markStep&&en.markStep(e)},rn=e=>{z()&&Yt&&en.markStepOnce&&en.markStepOnce(e)},an=()=>{z()&&Yt&&en.incrementUjNavigation&&en.incrementUjNavigation()};function on(e={callMarkNTBT:!0}){"unknown"!==A.platform&&(Ft.blacklistRegex.some((e=>e.test(fe())))||($t(j,{action:f.render,componentType:m.page}),e.callMarkNTBT&&tn()))}let sn=!1,cn=!1;const un=e=>{sn=!e.persisted},ln=(e,t="hidden",n=!1)=>{cn||(addEventListener("pagehide",un),addEventListener("beforeunload",(()=>{})),cn=!0),addEventListener("visibilitychange",(({timeStamp:n})=>{document.visibilityState===t&&e({timeStamp:n,isUnloading:sn})}),{capture:!0,once:n})},dn=36e3;function pn(){const e=pt(Ae());if(e&&(O.forEach((e=>{oe[e]&&delete oe[e]})),st()),!oe.lastEventTime||!Le.sessionStart||!e)return;const t=Math.round((oe.lastEventTime-Le.sessionStart)/1e3);if(t<1||t>dn)return;const n=Ce(t);$t(N,{action:f.measurement,componentType:m.page,session_duration:t,session_end:oe.lastEventTime,session_start:Le.sessionStart,session_rank:n})}function mn(){return mn=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},mn.apply(this,arguments)}const fn=[],vn=[],gn=()=>{const e=fn.shift();e&&e()},bn=()=>{const e=vn.shift();e&&e()};let hn={};function wn(e){const t=function(e){return{test_name:e.testName,group_name:e.group,subject_id:e.subjectId,exposed_at:Ae(),subject_type:e.subjectType,platform:A.platform}}(e);hn[e.testName]=hn[e.testName]||0,hn[e.testName]+k>Ae()?lt({metricName:`Event: exposeExperiment ${e.testName} not sent`,data:t}):(hn[e.testName]=Ae(),ot(E,hn),lt({metricName:`Event: exposeExperiment ${e.testName} sent`,data:t}),_t({url:A.exposureEndpoint,data:[t],onError:(t,n)=>{hn[e.testName]=0,ot(E,hn),A.onError(t,n)},isJSON:!0,importance:l.high}))}const yn=e=>{var t,r,i;U(e),z()&&(H.languageCode=(null==(t=navigator)?void 0:t.languages[0])||(null==(r=navigator)?void 0:r.language)||""),te(),(()=>{var e;if(z()&&null!=(e=window)&&e.indexedDB){const e=function(e,t,{blocked:n,upgrade:r,blocking:i,terminated:a}={}){const o=indexedDB.open(e,t),s=Je(o);return r&&o.addEventListener("upgradeneeded",(e=>{r(Je(o.result),e.oldVersion,e.newVersion,Je(o.transaction),e)})),n&&o.addEventListener("blocked",(e=>n(e.oldVersion,e.newVersion,e))),s.then((e=>{a&&e.addEventListener("close",(()=>a())),i&&e.addEventListener("versionchange",(e=>i(e.oldVersion,e.newVersion,e)))})).catch((()=>{})),s}("keyval-store",1,{upgrade(e){e.createObjectStore("keyval")}});rt({idbKeyval:{get:async t=>(await e).get("keyval",t),set:async(t,n)=>(await e).put("keyval",n,t),delete:async t=>(await e).delete("keyval",t),keys:async()=>(await e).getAllKeys("keyval")}})}else rt({idbKeyval:{get:async e=>new Promise((t=>{t(it[e])})),set:async(e,t)=>new Promise((n=>{it[e]=t,n(e)})),delete:async e=>new Promise((()=>{delete it[e]})),keys:async()=>new Promise((e=>{e(Object.keys(it))}))}})})(),lt({metricName:"Initialized Analytics:",data:{deviceId:H.deviceId}}),fn.push((()=>{Pt()})),(async()=>{const e=await at(S);rt({isReady:!0}),gn(),e&&(bn(),se({eventId:e.eventId||oe.eventId,sequenceNumber:e.sequenceNumber||oe.sequenceNumber,sessionId:e.sessionId||oe.sessionId,lastEventTime:e.lastEventTime||oe.lastEventTime,sessionUUID:e.sessionUUID||oe.sessionUUID}),function(e){se(mn({},function(e){const t={};return O.forEach((n=>{e[n]&&(t[n]=e[n])})),t}(e),de()))}(e),Ue({sessionStart:e.sessionStart||oe.sessionStart}),De({ac:e.ac||Ie.ac,af:e.af||Ie.af,ah:e.ah||Ie.ah,al:e.al||Ie.al,am:e.am||Ie.am,ar:e.ar||Ie.ar,as:e.as||Ie.as,pv:e.pv||Ie.pv}),A.trackUserId&&Y({userId:e.userId||H.userId}),pn(),lt({metricName:"Initialized Analytics IndexedDB:",data:e}))})(),async function(){at(E).then((e=>{hn=null!=e?e:{}})).catch((e=>{e instanceof Error&&A.onError(e)}))}(),Z(),z()&&(ln((()=>{se({lastEventTime:Ae()}),st(),Bt()}),"hidden"),ln((()=>{pn()}),"visible")),z()&&(i=()=>{var e,t,n,r;te(),ee({width:null!=(e=null==(t=window)?void 0:t.innerWidth)?e:null,height:null!=(n=null==(r=window)?void 0:r.innerHeight)?n:null})},addEventListener("resize",(()=>{requestAnimationFrame((()=>{i()}))}))),(()=>{if(z())try{const e=n(2);en.markStep=e.markStep,en.markStepOnce=e.markStepOnce,en.incrementUjNavigation=e.incrementUjNavigation,Yt=new e.Perfume({analyticsTracker:e=>{const{data:t,attribution:n,metricName:r,navigatorInformation:i,rating:a}=e,o=I[r],s=(null==n?void 0:n.category)||null;if(!o&&!s)return;const c=(null==i?void 0:i.deviceMemory)||0,u=(null==i?void 0:i.hardwareConcurrency)||0,l=(null==i?void 0:i.isLowEndDevice)||!1,p=(null==i?void 0:i.isLowEndExperience)||!1,v=(null==i?void 0:i.serviceWorkerStatus)||"unsupported",g=Vt({deviceMemory:c,hardwareConcurrency:u,isLowEndDevice:l,isLowEndExperience:p,serviceWorkerStatus:v},Gt),b={is_low_end_device:l,is_low_end_experience:p,page_key:re.pageKey||"",save_data:t.saveData||!1,service_worker:v,is_perf_metric:!0};if("navigationTiming"===r)t&&"number"==typeof t.redirectTime&&Ht({metricName:I.redirectTime.eventName,metricType:d.histogram,tags:b,value:t.redirectTime||0});else if("TTFB"===r)$t(o.eventName,Vt({action:f.measurement,componentType:m.page,duration:t||null,vitalsScore:a||null},g)),Ht({metricName:I.TTFB.eventName,metricType:d.histogram,tags:Vt({},b),value:t}),a&&Ht({metricName:`perf_web_vitals_ttfb_${a}`,metricType:d.count,tags:b,value:1});else if("networkInformation"===r)null!=t&&t.effectiveType&&(Gt=t,$t(o.eventName,{action:f.measurement,componentType:m.page,networkInformationDownlink:t.downlink,networkInformationEffectiveType:t.effectiveType,networkInformationRtt:t.rtt,networkInformationSaveData:t.saveData,navigatorDeviceMemory:c,navigatorHardwareConcurrency:u}));else if("storageEstimate"===r)$t(o.eventName,Vt({action:f.measurement,componentType:m.page},t,g)),Ht({metricName:"perf_storage_estimate_caches",metricType:d.histogram,tags:b,value:t.caches}),Ht({metricName:"perf_storage_estimate_indexed_db",metricType:d.histogram,tags:b,value:t.indexedDB});else if("CLS"===r)$t(o.eventName,Vt({action:f.measurement,componentType:m.page,score:100*t||null,vitalsScore:a||null},g)),a&&Ht({metricName:`perf_web_vitals_cls_${a}`,metricType:d.count,tags:b,value:1});else if("FID"===r){const e=(null==n?void 0:n.performanceEntry)||null,r=parseInt((null==e?void 0:e.processingStart)||"");$t(o.eventName,Vt({action:f.measurement,componentType:m.page,duration:t||null,processingStart:null!=e&&e.processingStart?r:null,startTime:null!=e&&e.startTime?parseInt(e.startTime):null,vitalsScore:a||null},g)),a&&Ht({metricName:`perf_web_vitals_fidVitals_${a}`,metricType:d.count,tags:b,value:1})}else"userJourneyStep"===r?($t("perf_user_journey_step",Vt({action:f.measurement,componentType:m.page,duration:t||null,rating:null!=a?a:null,step_name:(null==n?void 0:n.stepName)||""},g)),Ht({metricName:`user_journey_step.${A.projectName}.${A.platform}.${(null==n?void 0:n.stepName)||""}_vitals_${a}`,metricType:d.count,tags:b,value:1}),Ht({metricName:`user_journey_step.${A.projectName}.${A.platform}.${(null==n?void 0:n.stepName)||""}`,metricType:d.distribution,tags:b,value:t||null})):I[r]&&t&&($t(o.eventName,Vt({action:f.measurement,componentType:m.page,duration:t||null,vitalsScore:a||null},g)),a&&(Ht({metricName:`perf_web_vitals_${Xt(r)}_${a}`,metricType:d.count,tags:b,value:1}),"LCP"===r&&Ht({metricName:`perf_web_vitals_${Xt(r)}`,metricType:d.distribution,tags:b,value:t})))},maxMeasureTime:3e4,steps:A.steps,onMarkStep:Zt})}catch(e){e instanceof Error&&A.onError(e)}})()},Tn=e=>{Y(e),e.userAgent&&Z(),lt({metricName:"Identify:",data:{countryCode:H.countryCode,deviceId:H.deviceId,userId:H.userId}})},kn=({blacklistRegex:e,pageKeyRegex:t,browserHistory:n})=>{Kt({blacklistRegex:e||[],isEnabled:!0}),ae({pageKeyRegex:t}),on({callMarkNTBT:!1}),n.listen((()=>{on()}))},_n=({blacklistRegex:e,pageKeyRegex:t,nextJsRouter:n})=>{Kt({blacklistRegex:e||[],isEnabled:!0}),ae({pageKeyRegex:t}),on({callMarkNTBT:!1}),n.events.on("routeChangeComplete",(()=>{on()}))},Sn=()=>{Y({isOptOut:!0}),ot(S,{})},En=()=>{Y({isOptOut:!1})},xn={Button:{label:"cb_button",uuid:"e921a074-40e6-4371-8700-134d5cd633e6",componentType:m.button}};function On(e,t,n){return{componentName:e,actions:t,data:n}}function jn(){return jn=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},jn.apply(this,arguments)}function Nn(e,t,n){const{componentName:r,data:i}=n;$t(e.label,jn({componentType:e.componentType,action:t,loggingId:e.uuid,component_name:r},i))}const In={actionMapping:{onPress:f.click,onHover:f.hover},handlers:{Button:{[f.click]:e=>Nn(xn.Button,f.click,e),[f.hover]:e=>Nn(xn.Button,f.hover,e)}}};function Pn(e,t=!1){t?_t({url:A.tracesEndpoint,data:{traces:e},isJSON:!0,onError:A.onError}):yt((()=>{_t({url:A.tracesEndpoint,data:{traces:e},isJSON:!0,onError:A.onError})})),ut({metricName:"Batch Traces",data:e})}function Mn(){return Mn=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Mn.apply(this,arguments)}const Bn=1e6;function Cn(e){return e*Bn}function Dn(e=function(){var e;return null==(e=window)?void 0:e.crypto}()){const t=new Uint32Array(2);return null==e||e.getRandomValues(t),((BigInt(t[0])<<BigInt(32))+BigInt(t[1])).toString()}function An(e,t){return{"x-datadog-origin":"rum","x-datadog-parent-id":t,"x-datadog-sampling-priority":"1","x-datadog-trace-id":e}}function Ln(e){var t;const{name:n,traceId:r,spanId:i,start:a,duration:o,resource:s,meta:c}=e;return{duration:o?Cn(o):0,name:n,resource:s,service:A.projectName,span_id:null!=i?i:Dn(),start:a?Cn(a):0,trace_id:null!=r?r:Dn(),parent_id:P,type:M,meta:Mn({platform:A.platform},re.pageKey?{page_key:re.pageKey}:{},null!=(t=Se.ujs)&&t.length?{last_ujs:Se.ujs[Se.ujs.length-1]}:{},null!=c?c:{})}}function Un(e){return[Ln(e)]}function Rn(e,t){Oe()&&function(e){return e.length>0}(e)&&(t&&function(e,t){e.forEach((e=>function(e,t){const n=Mn({},e.meta,t.meta),r={start:t.start?Cn(t.start):e.start,duration:t.duration?Cn(t.duration):e.duration};Object.assign(e,t,Mn({meta:n},r))}(e,t)))}(e,t),je.tracesQueue.push(e),wt(Pn)&&(Pn(je.tracesQueue),je.tracesQueue=[]))}function qn(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:String(t)}function Fn(){return Fn=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Fn.apply(this,arguments)}function zn(){return void 0!==typeof window&&"performance"in window&&"mark"in performance&&"getEntriesByName"in performance}function Kn(e,t){return`perf_${e}${null!=t&&t.label?`_${t.label}`:""}`}function $n(e,t,n){return`${Kn(e,n)}__${t}`}let Qn={};function Wn(e,t,n){if(!zn())return;const r=$n(e,t,n);if(performance.mark(r),"end"===t){const t=Kn(e,n);!function(e,t,n){try{performance.measure(e,t,n)}catch(e){A.onError(e)}}(t,$n(e,"start",n),r);const i=performance.getEntriesByName(t).pop();i&&Ht(Fn({metricName:e,metricType:d.distribution,value:i.duration},null!=n&&n.tags?{tags:n.tags}:{}))}}function Hn(e,t){if(!zn())return;const n=$n(e,"start",t);Qn[n]||(Wn(e,"start",t),Qn[n]=!0)}function Vn(e,t){const n=$n(e,"start",t),r=function(e,t){if(null==e)return{};var n,r,i={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(Qn,[n].map(qn));Qn=r}function Jn(e,t){if(!zn())return;const n=$n(e,"start",t);Qn[n]&&(Wn(e,"end",t),Vn(e,t))}function Xn(){zn()&&(performance.clearMarks(),Qn={})}var Gn=n(784);function Zn(){return Zn=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Zn.apply(this,arguments)}function Yn(e,t,n=l.low){const r=(0,Gn.useRef)(t);return(0,Gn.useEffect)((()=>{r.current=t}),[t]),(0,Gn.useCallback)((t=>{$t(e,Zn({},r.current,t),n)}),[e,n])}function er(){return er=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},er.apply(this,arguments)}function tr(e,t,n=l.low){(0,Gn.useEffect)((()=>{const r=er({},t,{action:f.render});$t(e,r,n)}),[])}function nr(){return nr=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},nr.apply(this,arguments)}const rr=function(e,t){return{markStartPerf:(0,Gn.useCallback)((()=>Hn(e,t)),[e,t]),markEndPerf:(0,Gn.useCallback)((n=>Jn(e,nr({},t,n))),[e,t])}};function ir(){return ir=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ir.apply(this,arguments)}function ar(){return Object.entries(ir({},Se,zt(),{sessionUUID:oe.sessionUUID,userId:oe.userId})).reduce(((e,t)=>{return null!=(n=t[1])&&""!==n?ir({},e,{[t[0]]:t[1]}):e;var n}),{})}async function or(){return new Promise((e=>{Mt(vt(je.eventsQueue)),Qt(bt(je.metricsQueue),!0),Pn(je.tracesQueue,!0),Ne({eventsQueue:[],metricsQueue:[],tracesQueue:[]}),e()}))}function sr(){return{"X-CB-Device-ID":H.deviceId||"unknown","X-CB-Is-Logged-In":H.userId?"true":"false","X-CB-Pagekey":re.pageKey||"unknown","X-CB-UJS":(e=Se.ujs,void 0===e||0===e.length?"":e.join(",")),"X-CB-Platform":A.platform||"unknown","X-CB-Project-Name":A.projectName||"unknown","X-CB-Session-UUID":oe.sessionUUID||"unknown","X-CB-Version-Name":A.version?String(A.version):"unknown"};var e}})(),r})()}));',Qs=()=>new Promise((e,t)=>{if(typeof window>"u"){t(new Error("Telemetry is not supported in non-browser environments"));return}if(window.ClientAnalytics)return e();try{const n=document.createElement("script");n.textContent=Xs,n.type="text/javascript",document.head.appendChild(n),$s(),document.head.removeChild(n),e()}catch{console.error("Failed to execute inlined telemetry script"),t()}}),$s=()=>{if(typeof window<"u"){const e=E.config.get().deviceId??(crypto==null?void 0:crypto.randomUUID())??"";if(window.ClientAnalytics){const{init:t,identify:n,PlatformName:r}=window.ClientAnalytics;t({isProd:!0,amplitudeApiKey:"c66737ad47ec354ced777935b0af822e",platform:r.web,projectName:"base_account_sdk",showDebugLogging:!1,version:"1.0.0",apiEndpoint:"https://cca-lite.coinbase.com"}),n({deviceId:e}),E.config.set({deviceId:e})}}},eo="0xba5ed110efdba3d005bfc882d75358acbbb85842",ye=[{inputs:[],stateMutability:"nonpayable",type:"constructor"},{inputs:[{name:"owner",type:"bytes"}],name:"AlreadyOwner",type:"error"},{inputs:[],name:"Initialized",type:"error"},{inputs:[{name:"owner",type:"bytes"}],name:"InvalidEthereumAddressOwner",type:"error"},{inputs:[{name:"key",type:"uint256"}],name:"InvalidNonceKey",type:"error"},{inputs:[{name:"owner",type:"bytes"}],name:"InvalidOwnerBytesLength",type:"error"},{inputs:[],name:"LastOwner",type:"error"},{inputs:[{name:"index",type:"uint256"}],name:"NoOwnerAtIndex",type:"error"},{inputs:[{name:"ownersRemaining",type:"uint256"}],name:"NotLastOwner",type:"error"},{inputs:[{name:"selector",type:"bytes4"}],name:"SelectorNotAllowed",type:"error"},{inputs:[],name:"Unauthorized",type:"error"},{inputs:[],name:"UnauthorizedCallContext",type:"error"},{inputs:[],name:"UpgradeFailed",type:"error"},{inputs:[{name:"index",type:"uint256"},{name:"expectedOwner",type:"bytes"},{name:"actualOwner",type:"bytes"}],name:"WrongOwnerAtIndex",type:"error"},{anonymous:!1,inputs:[{indexed:!0,name:"index",type:"uint256"},{indexed:!1,name:"owner",type:"bytes"}],name:"AddOwner",type:"event"},{anonymous:!1,inputs:[{indexed:!0,name:"index",type:"uint256"},{indexed:!1,name:"owner",type:"bytes"}],name:"RemoveOwner",type:"event"},{anonymous:!1,inputs:[{indexed:!0,name:"implementation",type:"address"}],name:"Upgraded",type:"event"},{stateMutability:"payable",type:"fallback"},{inputs:[],name:"REPLAYABLE_NONCE_KEY",outputs:[{name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{name:"owner",type:"address"}],name:"addOwnerAddress",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{name:"x",type:"bytes32"},{name:"y",type:"bytes32"}],name:"addOwnerPublicKey",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{name:"functionSelector",type:"bytes4"}],name:"canSkipChainIdValidation",outputs:[{name:"",type:"bool"}],stateMutability:"pure",type:"function"},{inputs:[],name:"domainSeparator",outputs:[{name:"",type:"bytes32"}],stateMutability:"view",type:"function"},{inputs:[],name:"eip712Domain",outputs:[{name:"fields",type:"bytes1"},{name:"name",type:"string"},{name:"version",type:"string"},{name:"chainId",type:"uint256"},{name:"verifyingContract",type:"address"},{name:"salt",type:"bytes32"},{name:"extensions",type:"uint256[]"}],stateMutability:"view",type:"function"},{inputs:[],name:"entryPoint",outputs:[{name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[{name:"target",type:"address"},{name:"value",type:"uint256"},{name:"data",type:"bytes"}],name:"execute",outputs:[],stateMutability:"payable",type:"function"},{inputs:[{components:[{name:"target",type:"address"},{name:"value",type:"uint256"},{name:"data",type:"bytes"}],name:"calls",type:"tuple[]"}],name:"executeBatch",outputs:[],stateMutability:"payable",type:"function"},{inputs:[{name:"calls",type:"bytes[]"}],name:"executeWithoutChainIdValidation",outputs:[],stateMutability:"payable",type:"function"},{inputs:[{components:[{name:"sender",type:"address"},{name:"nonce",type:"uint256"},{name:"initCode",type:"bytes"},{name:"callData",type:"bytes"},{name:"callGasLimit",type:"uint256"},{name:"verificationGasLimit",type:"uint256"},{name:"preVerificationGas",type:"uint256"},{name:"maxFeePerGas",type:"uint256"},{name:"maxPriorityFeePerGas",type:"uint256"},{name:"paymasterAndData",type:"bytes"},{name:"signature",type:"bytes"}],name:"userOp",type:"tuple"}],name:"getUserOpHashWithoutChainId",outputs:[{name:"",type:"bytes32"}],stateMutability:"view",type:"function"},{inputs:[],name:"implementation",outputs:[{name:"$",type:"address"}],stateMutability:"view",type:"function"},{inputs:[{name:"owners",type:"bytes[]"}],name:"initialize",outputs:[],stateMutability:"payable",type:"function"},{inputs:[{name:"account",type:"address"}],name:"isOwnerAddress",outputs:[{name:"",type:"bool"}],stateMutability:"view",type:"function"},{inputs:[{name:"account",type:"bytes"}],name:"isOwnerBytes",outputs:[{name:"",type:"bool"}],stateMutability:"view",type:"function"},{inputs:[{name:"x",type:"bytes32"},{name:"y",type:"bytes32"}],name:"isOwnerPublicKey",outputs:[{name:"",type:"bool"}],stateMutability:"view",type:"function"},{inputs:[{name:"hash",type:"bytes32"},{name:"signature",type:"bytes"}],name:"isValidSignature",outputs:[{name:"result",type:"bytes4"}],stateMutability:"view",type:"function"},{inputs:[],name:"nextOwnerIndex",outputs:[{name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{name:"index",type:"uint256"}],name:"ownerAtIndex",outputs:[{name:"",type:"bytes"}],stateMutability:"view",type:"function"},{inputs:[],name:"ownerCount",outputs:[{name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"proxiableUUID",outputs:[{name:"",type:"bytes32"}],stateMutability:"view",type:"function"},{inputs:[{name:"index",type:"uint256"},{name:"owner",type:"bytes"}],name:"removeLastOwner",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{name:"index",type:"uint256"},{name:"owner",type:"bytes"}],name:"removeOwnerAtIndex",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"removedOwnersCount",outputs:[{name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{name:"hash",type:"bytes32"}],name:"replaySafeHash",outputs:[{name:"",type:"bytes32"}],stateMutability:"view",type:"function"},{inputs:[{name:"newImplementation",type:"address"},{name:"data",type:"bytes"}],name:"upgradeToAndCall",outputs:[],stateMutability:"payable",type:"function"},{inputs:[{components:[{name:"sender",type:"address"},{name:"nonce",type:"uint256"},{name:"initCode",type:"bytes"},{name:"callData",type:"bytes"},{name:"callGasLimit",type:"uint256"},{name:"verificationGasLimit",type:"uint256"},{name:"preVerificationGas",type:"uint256"},{name:"maxFeePerGas",type:"uint256"},{name:"maxPriorityFeePerGas",type:"uint256"},{name:"paymasterAndData",type:"bytes"},{name:"signature",type:"bytes"}],name:"userOp",type:"tuple"},{name:"userOpHash",type:"bytes32"},{name:"missingAccountFunds",type:"uint256"}],name:"validateUserOp",outputs:[{name:"validationData",type:"uint256"}],stateMutability:"nonpayable",type:"function"},{stateMutability:"payable",type:"receive"}],Ua=[{inputs:[{name:"implementation_",type:"address"}],stateMutability:"payable",type:"constructor"},{inputs:[],name:"OwnerRequired",type:"error"},{inputs:[{name:"owners",type:"bytes[]"},{name:"nonce",type:"uint256"}],name:"createAccount",outputs:[{name:"account",type:"address"}],stateMutability:"payable",type:"function"},{inputs:[{name:"owners",type:"bytes[]"},{name:"nonce",type:"uint256"}],name:"getAddress",outputs:[{name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"implementation",outputs:[{name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"initCodeHash",outputs:[{name:"",type:"bytes32"}],stateMutability:"view",type:"function"}],X={rpc:{invalidInput:-32e3,resourceNotFound:-32001,resourceUnavailable:-32002,transactionRejected:-32003,methodNotSupported:-32004,limitExceeded:-32005,parse:-32700,invalidRequest:-32600,methodNotFound:-32601,invalidParams:-32602,internal:-32603},provider:{userRejectedRequest:4001,unauthorized:4100,unsupportedMethod:4200,disconnected:4900,chainDisconnected:4901,unsupportedChain:4902}},cn={"-32700":{standard:"JSON RPC 2.0",message:"Invalid JSON was received by the server. An error occurred on the server while parsing the JSON text."},"-32600":{standard:"JSON RPC 2.0",message:"The JSON sent is not a valid Request object."},"-32601":{standard:"JSON RPC 2.0",message:"The method does not exist / is not available."},"-32602":{standard:"JSON RPC 2.0",message:"Invalid method parameter(s)."},"-32603":{standard:"JSON RPC 2.0",message:"Internal JSON-RPC error."},"-32000":{standard:"EIP-1474",message:"Invalid input."},"-32001":{standard:"EIP-1474",message:"Resource not found."},"-32002":{standard:"EIP-1474",message:"Resource unavailable."},"-32003":{standard:"EIP-1474",message:"Transaction rejected."},"-32004":{standard:"EIP-1474",message:"Method not supported."},"-32005":{standard:"EIP-1474",message:"Request limit exceeded."},4001:{standard:"EIP-1193",message:"User rejected the request."},4100:{standard:"EIP-1193",message:"The requested account and/or method has not been authorized by the user."},4200:{standard:"EIP-1193",message:"The requested method is not supported by this Ethereum provider."},4900:{standard:"EIP-1193",message:"The provider is disconnected from all chains."},4901:{standard:"EIP-1193",message:"The provider is disconnected from the specified chain."},4902:{standard:"EIP-3085",message:"Unrecognized chain ID."}},Ra="Unspecified error message.",to="Unspecified server error.";function Xn(e,t=Ra){if(e&&Number.isInteger(e)){const n=e.toString();if(un(cn,n))return cn[n].message;if(Na(e))return to}return t}function no(e){if(!Number.isInteger(e))return!1;const t=e.toString();return!!(cn[t]||Na(e))}function ro(e,{shouldIncludeStack:t=!1}={}){const n={};if(e&&typeof e=="object"&&!Array.isArray(e)&&un(e,"code")&&no(e.code)){const r=e;n.code=r.code,r.message&&typeof r.message=="string"?(n.message=r.message,un(r,"data")&&(n.data=r.data)):(n.message=Xn(n.code),n.data={originalError:Sr(e)})}else n.code=X.rpc.internal,n.message=Ar(e,"message")?e.message:Ra,n.data={originalError:Sr(e)};return t&&(n.stack=Ar(e,"stack")?e.stack:void 0),n}function Na(e){return e>=-32099&&e<=-32e3}function Sr(e){return e&&typeof e=="object"&&!Array.isArray(e)?Object.assign({},e):e}function un(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function Ar(e,t){return typeof e=="object"&&e!==null&&t in e&&typeof e[t]=="string"}const A={rpc:{parse:e=>fe(X.rpc.parse,e),invalidRequest:e=>fe(X.rpc.invalidRequest,e),invalidParams:e=>fe(X.rpc.invalidParams,e),methodNotFound:e=>fe(X.rpc.methodNotFound,e),internal:e=>fe(X.rpc.internal,e),server:e=>{if(!e||typeof e!="object"||Array.isArray(e))throw new Error("Ethereum RPC Server errors must provide single object argument.");const{code:t}=e;if(!Number.isInteger(t)||t>-32005||t<-32099)throw new Error('"code" must be an integer such that: -32099 <= code <= -32005');return fe(t,e)},invalidInput:e=>fe(X.rpc.invalidInput,e),resourceNotFound:e=>fe(X.rpc.resourceNotFound,e),resourceUnavailable:e=>fe(X.rpc.resourceUnavailable,e),transactionRejected:e=>fe(X.rpc.transactionRejected,e),methodNotSupported:e=>fe(X.rpc.methodNotSupported,e),limitExceeded:e=>fe(X.rpc.limitExceeded,e)},provider:{userRejectedRequest:e=>Me(X.provider.userRejectedRequest,e),unauthorized:e=>Me(X.provider.unauthorized,e),unsupportedMethod:e=>Me(X.provider.unsupportedMethod,e),disconnected:e=>Me(X.provider.disconnected,e),chainDisconnected:e=>Me(X.provider.chainDisconnected,e),unsupportedChain:e=>Me(X.provider.unsupportedChain,e),custom:e=>{if(!e||typeof e!="object"||Array.isArray(e))throw new Error("Ethereum Provider custom errors must provide single object argument.");const{code:t,message:n,data:r}=e;if(!n||typeof n!="string")throw new Error('"message" must be a nonempty string');return new ja(t,n,r)}}};function fe(e,t){const[n,r]=Da(t);return new Qn(e,n||Xn(e),r)}function Me(e,t){const[n,r]=Da(t);return new ja(e,n||Xn(e),r)}function Da(e){if(e){if(typeof e=="string")return[e];if(typeof e=="object"&&!Array.isArray(e)){const{message:t,data:n}=e;if(t&&typeof t!="string")throw new Error("Must specify string message.");return[t||void 0,n]}}return[]}class Qn extends Error{constructor(n,r,a){if(!Number.isInteger(n))throw new Error('"code" must be an integer.');if(!r||typeof r!="string")throw new Error('"message" must be a nonempty string.');super(r);L(this,"code");L(this,"data");this.code=n,a!==void 0&&(this.data=a)}}class ja extends Qn{constructor(t,n,r){if(!ao(t))throw new Error('"code" must be an integer such that: 1000 <= code <= 4999');super(t,n,r)}}function ao(e){return Number.isInteger(e)&&e>=1e3&&e<=4999}function Pr(e){return typeof e=="object"&&e!==null&&"code"in e&&"data"in e&&e.code===-32090&&typeof e.data=="object"&&e.data!==null&&"type"in e.data&&e.data.type==="INSUFFICIENT_FUNDS"}function Ma(e){return typeof e=="object"&&e!==null&&"details"in e}function io(e){try{const t=JSON.parse(e.details);return new Qn(t.code,t.message,t.data)}catch{return null}}function me(e,t,n){if(e==null)throw t??A.rpc.invalidParams({message:"value must be present",data:e})}function Ae(e,t){if(!Array.isArray(e))throw A.rpc.invalidParams({message:t??"value must be an array",data:e})}const so=`Base Account SDK requires the Cross-Origin-Opener-Policy header to not be set to 'same-origin'. This is to ensure that the SDK can communicate with the Base Account app.
|
|
3
3
|
|
|
4
4
|
Please see https://docs.base.org/smart-wallet/quickstart#cross-origin-opener-policy for more information.`,oo=()=>{let e;return{getCrossOriginOpenerPolicy:()=>e===void 0?"undefined":e,checkCrossOriginOpenerPolicy:async()=>{if(typeof window>"u"){e="non-browser-env";return}try{const t=`${window.location.origin}${window.location.pathname}`,n=await fetch(t,{method:"HEAD"});if(!n.ok)throw new Error(`HTTP error! status: ${n.status}`);e=n.headers.get("Cross-Origin-Opener-Policy")??"null",e==="same-origin"&&console.error(so)}catch(t){console.error("Error checking Cross-Origin-Opener-Policy:",t.message),e="error"}}}},{checkCrossOriginOpenerPolicy:co,getCrossOriginOpenerPolicy:uo}=oo();function lo(e){if(e){if(e.attribution&&e.attribution.auto!==void 0&&e.attribution.dataSuffix!==void 0)throw new Error("Attribution cannot contain both auto and dataSuffix properties");if(e.telemetry&&typeof e.telemetry!="boolean")throw new Error("Telemetry must be a boolean")}}function Ir(e){if(typeof e!="function")throw new Error("toAccount is not a function")}var G;(function(e){e.unknown="unknown",e.banner="banner",e.button="button",e.card="card",e.chart="chart",e.content_script="content_script",e.dropdown="dropdown",e.link="link",e.page="page",e.modal="modal",e.table="table",e.search_bar="search_bar",e.service_worker="service_worker",e.text="text",e.text_input="text_input",e.tray="tray",e.checkbox="checkbox",e.icon="icon"})(G||(G={}));var K;(function(e){e.unknown="unknown",e.blur="blur",e.click="click",e.change="change",e.dismiss="dismiss",e.focus="focus",e.hover="hover",e.select="select",e.measurement="measurement",e.move="move",e.process="process",e.render="render",e.scroll="scroll",e.view="view",e.search="search",e.keyPress="keyPress",e.error="error"})(K||(K={}));var z;(function(e){e.low="low",e.high="high"})(z||(z={}));function Z(e,t,n){var r,a;typeof window<"u"&&window.ClientAnalytics&&((a=window.ClientAnalytics)==null||a.logEvent(e,{...t,sdkVersion:je,sdkName:Mt,appName:((r=E.config.get().metadata)==null?void 0:r.appName)??"",appOrigin:window.location.origin},n))}const fo=()=>{Z("communicator.popup_setup.started",{action:K.unknown,componentType:G.unknown},z.high)},po=()=>{Z("communicator.popup_setup.completed",{action:K.unknown,componentType:G.unknown},z.high)},mo=()=>{Z("communicator.popup_unload.received",{action:K.unknown,componentType:G.unknown},z.high)},$n=({dialogContext:e})=>{Z(`dialog.${e}.shown`,{action:K.render,componentType:G.modal,dialogContext:e},z.high)},Fa=({dialogContext:e})=>{Z(`dialog.${e}.dismissed`,{action:K.dismiss,componentType:G.modal,dialogContext:e},z.high)},Re=({dialogContext:e,dialogAction:t})=>{Z(`dialog.${e}.action_clicked`,{action:K.click,componentType:G.button,dialogContext:e,dialogAction:t},z.high)},ho=`
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./parseSignature-USiYfXGb.js"),r=require("./index-BTAZoMiJ.js"),o=require("./ccip-TDUuVnsR.js");exports.AccountStateConflictError=e.AccountStateConflictError;exports.BaseFeeScalarError=e.BaseFeeScalarError;exports.BlockNotFoundError=e.BlockNotFoundError;exports.BundleFailedError=e.BundleFailedError;exports.CallExecutionError=e.CallExecutionError;exports.ChainDoesNotSupportContract=e.ChainDoesNotSupportContract;exports.CircularReferenceError=e.CircularReferenceError;exports.ClientChainNotConfiguredError=e.ClientChainNotConfiguredError;exports.ContractFunctionExecutionError=e.ContractFunctionExecutionError;exports.ContractFunctionRevertedError=e.ContractFunctionRevertedError;exports.ContractFunctionZeroDataError=e.ContractFunctionZeroDataError;exports.CounterfactualDeploymentFailedError=e.CounterfactualDeploymentFailedError;exports.Eip1559FeesNotSupportedError=e.Eip1559FeesNotSupportedError;exports.EnsAvatarInvalidNftUriError=e.EnsAvatarInvalidNftUriError;exports.EnsAvatarUnsupportedNamespaceError=e.EnsAvatarUnsupportedNamespaceError;exports.EnsAvatarUriResolutionError=e.EnsAvatarUriResolutionError;exports.EstimateGasExecutionError=e.EstimateGasExecutionError;exports.FilterTypeNotSupportedError=e.FilterTypeNotSupportedError;exports.InvalidAbiItemError=e.InvalidAbiItemError;exports.InvalidAbiParametersError=e.InvalidAbiParametersError;exports.InvalidAbiTypeParameterError=e.InvalidAbiTypeParameterError;exports.InvalidChainIdError=e.InvalidChainIdError;exports.InvalidFunctionModifierError=e.InvalidFunctionModifierError;exports.InvalidLegacyVError=e.InvalidLegacyVError;exports.InvalidModifierError=e.InvalidModifierError;exports.InvalidParameterError=e.InvalidParameterError;exports.InvalidParenthesisError=e.InvalidParenthesisError;exports.InvalidSerializableTransactionError=e.InvalidSerializableTransactionError;exports.InvalidSignatureError=e.InvalidSignatureError;exports.InvalidStorageKeySizeError=e.InvalidStorageKeySizeError;exports.InvalidStructSignatureError=e.InvalidStructSignatureError;exports.MaxFeePerGasTooLowError=e.MaxFeePerGasTooLowError;exports.RawContractError=e.RawContractError;exports.SolidityProtectedKeywordError=e.SolidityProtectedKeywordError;exports.StateAssignmentConflictError=e.StateAssignmentConflictError;exports.TransactionExecutionError=e.TransactionExecutionError;exports.TransactionNotFoundError=e.TransactionNotFoundError;exports.TransactionReceiptNotFoundError=e.TransactionReceiptNotFoundError;exports.UnknownSignatureError=e.UnknownSignatureError;exports.UnknownTypeError=e.UnknownTypeError;exports.WaitForCallsStatusTimeoutError=e.WaitForCallsStatusTimeoutError;exports.WaitForTransactionReceiptTimeoutError=e.WaitForTransactionReceiptTimeoutError;exports.assertRequest=e.assertRequest;exports.assertTransactionEIP1559=e.assertTransactionEIP1559;exports.assertTransactionEIP2930=e.assertTransactionEIP2930;exports.assertTransactionLegacy=e.assertTransactionLegacy;exports.blobsToCommitments=e.blobsToCommitments;exports.blobsToProofs=e.blobsToProofs;exports.bytesToBigInt=e.bytesToBigInt;exports.bytesToBool=e.bytesToBool;exports.bytesToNumber=e.bytesToNumber;exports.bytesToString=e.bytesToString;exports.commitmentToVersionedHash=e.commitmentToVersionedHash;exports.commitmentsToVersionedHashes=e.commitmentsToVersionedHashes;exports.createClient=e.createClient;exports.createNonceManager=e.createNonceManager;exports.createPublicClient=e.createPublicClient;exports.decodeAbiParameters=e.decodeAbiParameters;exports.decodeErrorResult=e.decodeErrorResult;exports.decodeEventLog=e.decodeEventLog;exports.decodeFunctionData=e.decodeFunctionData;exports.decodeFunctionResult=e.decodeFunctionResult;exports.defineBlock=e.defineBlock;exports.defineChain=e.defineChain;exports.defineTransaction=e.defineTransaction;exports.defineTransactionReceipt=e.defineTransactionReceipt;exports.deploylessCallViaBytecodeBytecode=e.deploylessCallViaBytecodeBytecode;exports.deploylessCallViaFactoryBytecode=e.deploylessCallViaFactoryBytecode;exports.encodeDeployData=e.encodeDeployData;exports.encodeErrorResult=e.encodeErrorResult;exports.encodeEventTopics=e.encodeEventTopics;exports.encodeFunctionResult=e.encodeFunctionResult;exports.encodePacked=e.encodePacked;exports.erc6492SignatureValidatorByteCode=e.erc6492SignatureValidatorByteCode;exports.ethAddress=e.ethAddress;exports.formatBlock=e.formatBlock;exports.formatEther=e.formatEther;exports.formatLog=e.formatLog;exports.formatTransaction=e.formatTransaction;exports.formatTransactionReceipt=e.formatTransactionReceipt;exports.formatTransactionRequest=e.formatTransactionRequest;exports.getChainContractAddress=e.getChainContractAddress;exports.getContractError=e.getContractError;exports.getTransactionType=e.getTransactionType;exports.hexToSignature=e.parseSignature;exports.isAddressEqual=e.isAddressEqual;exports.labelhash=e.labelhash;exports.maxUint256=e.maxUint256;exports.namehash=e.namehash;exports.parseAbi=e.parseAbi;exports.parseAbiItem=e.parseAbiItem;exports.parseAbiParameters=e.parseAbiParameters;exports.parseEventLogs=e.parseEventLogs;exports.parseSignature=e.parseSignature;exports.publicActions=e.publicActions;exports.recoverAddress=e.recoverAddress;exports.recoverPublicKey=e.recoverPublicKey;exports.rpcTransactionType=e.rpcTransactionType;exports.serializeAccessList=e.serializeAccessList;exports.serializeErc6492Signature=e.serializeErc6492Signature;exports.serializeSignature=e.serializeSignature;exports.serializeTransaction=e.serializeTransaction;exports.sha256=e.sha256;exports.signatureToHex=e.serializeSignature;exports.toBlobSidecars=e.toBlobSidecars;exports.toBlobs=e.toBlobs;exports.toRlp=e.toRlp;exports.transactionType=e.transactionType;exports.universalSignatureValidatorByteCode=e.erc6492SignatureValidatorByteCode;exports.withCache=e.withCache;exports.zeroAddress=e.zeroAddress;exports.AbiConstructorNotFoundError=r.AbiConstructorNotFoundError;exports.AbiConstructorParamsNotFoundError=r.AbiConstructorParamsNotFoundError;exports.AbiDecodingDataSizeTooSmallError=r.AbiDecodingDataSizeTooSmallError;exports.AbiDecodingZeroDataError=r.AbiDecodingZeroDataError;exports.AbiEncodingArrayLengthMismatchError=r.AbiEncodingArrayLengthMismatchError;exports.AbiEncodingBytesSizeMismatchError=r.AbiEncodingBytesSizeMismatchError;exports.AbiEncodingLengthMismatchError=r.AbiEncodingLengthMismatchError;exports.AbiErrorInputsNotFoundError=r.AbiErrorInputsNotFoundError;exports.AbiErrorNotFoundError=r.AbiErrorNotFoundError;exports.AbiErrorSignatureNotFoundError=r.AbiErrorSignatureNotFoundError;exports.AbiEventNotFoundError=r.AbiEventNotFoundError;exports.AbiEventSignatureEmptyTopicsError=r.AbiEventSignatureEmptyTopicsError;exports.AbiEventSignatureNotFoundError=r.AbiEventSignatureNotFoundError;exports.AbiFunctionNotFoundError=r.AbiFunctionNotFoundError;exports.AbiFunctionOutputsNotFoundError=r.AbiFunctionOutputsNotFoundError;exports.AbiFunctionSignatureNotFoundError=r.AbiFunctionSignatureNotFoundError;exports.AtomicReadyWalletRejectedUpgradeError=r.AtomicReadyWalletRejectedUpgradeError;exports.AtomicityNotSupportedError=r.AtomicityNotSupportedError;exports.BaseError=r.BaseError;exports.BundleTooLargeError=r.BundleTooLargeError;exports.BytesSizeMismatchError=r.BytesSizeMismatchError;exports.ChainDisconnectedError=r.ChainDisconnectedError;exports.DecodeLogDataMismatch=r.DecodeLogDataMismatch;exports.DecodeLogTopicsMismatch=r.DecodeLogTopicsMismatch;exports.DuplicateIdError=r.DuplicateIdError;exports.ExecutionRevertedError=r.ExecutionRevertedError;exports.FeeCapTooHighError=r.FeeCapTooHighError;exports.FeeCapTooLowError=r.FeeCapTooLowError;exports.HttpRequestError=r.HttpRequestError;exports.InsufficientFundsError=r.InsufficientFundsError;exports.IntegerOutOfRangeError=r.IntegerOutOfRangeError;exports.InternalRpcError=r.InternalRpcError;exports.IntrinsicGasTooHighError=r.IntrinsicGasTooHighError;exports.IntrinsicGasTooLowError=r.IntrinsicGasTooLowError;exports.InvalidAbiDecodingTypeError=r.InvalidAbiDecodingTypeError;exports.InvalidAbiEncodingTypeError=r.InvalidAbiEncodingTypeError;exports.InvalidAddressError=r.InvalidAddressError;exports.InvalidArrayError=r.InvalidArrayError;exports.InvalidBytesBooleanError=r.InvalidBytesBooleanError;exports.InvalidDefinitionTypeError=r.InvalidDefinitionTypeError;exports.InvalidDomainError=r.InvalidDomainError;exports.InvalidHexBooleanError=r.InvalidHexBooleanError;exports.InvalidInputRpcError=r.InvalidInputRpcError;exports.InvalidParamsRpcError=r.InvalidParamsRpcError;exports.InvalidPrimaryTypeError=r.InvalidPrimaryTypeError;exports.InvalidRequestRpcError=r.InvalidRequestRpcError;exports.InvalidStructTypeError=r.InvalidStructTypeError;exports.JsonRpcVersionUnsupportedError=r.JsonRpcVersionUnsupportedError;exports.LimitExceededRpcError=r.LimitExceededRpcError;exports.MethodNotFoundRpcError=r.MethodNotFoundRpcError;exports.MethodNotSupportedRpcError=r.MethodNotSupportedRpcError;exports.NonceMaxValueError=r.NonceMaxValueError;exports.NonceTooHighError=r.NonceTooHighError;exports.NonceTooLowError=r.NonceTooLowError;exports.ParseRpcError=r.ParseRpcError;exports.ProviderDisconnectedError=r.ProviderDisconnectedError;exports.ProviderRpcError=r.ProviderRpcError;exports.ResourceNotFoundRpcError=r.ResourceNotFoundRpcError;exports.ResourceUnavailableRpcError=r.ResourceUnavailableRpcError;exports.RpcError=r.RpcError;exports.RpcRequestError=r.RpcRequestError;exports.SizeExceedsPaddingSizeError=r.SizeExceedsPaddingSizeError;exports.SizeOverflowError=r.SizeOverflowError;exports.SliceOffsetOutOfBoundsError=r.SliceOffsetOutOfBoundsError;exports.SwitchChainError=r.SwitchChainError;exports.TimeoutError=r.TimeoutError;exports.TipAboveFeeCapError=r.TipAboveFeeCapError;exports.TransactionRejectedRpcError=r.TransactionRejectedRpcError;exports.TransactionTypeNotSupportedError=r.TransactionTypeNotSupportedError;exports.UnauthorizedProviderError=r.UnauthorizedProviderError;exports.UnknownBundleIdError=r.UnknownBundleIdError;exports.UnknownNodeError=r.UnknownNodeError;exports.UnknownRpcError=r.UnknownRpcError;exports.UnsupportedChainIdError=r.UnsupportedChainIdError;exports.UnsupportedNonOptionalCapabilityError=r.UnsupportedNonOptionalCapabilityError;exports.UnsupportedPackedAbiType=r.UnsupportedPackedAbiType;exports.UnsupportedProviderMethodError=r.UnsupportedProviderMethodError;exports.UrlRequiredError=r.UrlRequiredError;exports.UserRejectedRequestError=r.UserRejectedRequestError;exports.boolToBytes=r.boolToBytes;exports.boolToHex=r.boolToHex;exports.bytesToHex=r.bytesToHex;exports.checksumAddress=r.checksumAddress;exports.concat=r.concat;exports.concatBytes=r.concatBytes;exports.concatHex=r.concatHex;exports.createTransport=r.createTransport;exports.encodeAbiParameters=r.encodeAbiParameters;exports.encodeFunctionData=r.encodeFunctionData;exports.erc20Abi=r.erc20Abi;exports.erc6492SignatureValidatorAbi=r.erc6492SignatureValidatorAbi;exports.etherUnits=r.etherUnits;exports.fallback=r.fallback;exports.formatGwei=r.formatGwei;exports.formatUnits=r.formatUnits;exports.getAbiItem=r.getAbiItem;exports.getAddress=r.getAddress;exports.getEventSelector=r.toEventSelector;exports.getEventSignature=r.toSignature;exports.getFunctionSelector=r.toFunctionSelector;exports.getFunctionSignature=r.toSignature;exports.getTypesForEIP712Domain=r.getTypesForEIP712Domain;exports.gweiUnits=r.gweiUnits;exports.hashDomain=r.hashDomain;exports.hashMessage=r.hashMessage;exports.hashStruct=r.hashStruct;exports.hashTypedData=r.hashTypedData;exports.hexToBigInt=r.hexToBigInt;exports.hexToBool=r.hexToBool;exports.hexToBytes=r.hexToBytes;exports.hexToNumber=r.hexToNumber;exports.hexToString=r.hexToString;exports.http=r.http;exports.isAddress=r.isAddress;exports.isHex=r.isHex;exports.keccak256=r.keccak256;exports.multicall3Abi=r.multicall3Abi;exports.numberToBytes=r.numberToBytes;exports.numberToHex=r.numberToHex;exports.pad=r.pad;exports.padBytes=r.padBytes;exports.padHex=r.padHex;exports.prepareEncodeFunctionData=r.prepareEncodeFunctionData;exports.presignMessagePrefix=r.presignMessagePrefix;exports.shouldThrow=r.shouldThrow;exports.size=r.size;exports.slice=r.slice;exports.sliceBytes=r.sliceBytes;exports.sliceHex=r.sliceHex;exports.stringToBytes=r.stringToBytes;exports.stringToHex=r.stringToHex;exports.stringify=r.stringify;exports.toBytes=r.toBytes;exports.toEventHash=r.toSignatureHash;exports.toEventSelector=r.toEventSelector;exports.toEventSignature=r.toSignature;exports.toFunctionHash=r.toSignatureHash;exports.toFunctionSelector=r.toFunctionSelector;exports.toFunctionSignature=r.toSignature;exports.toHex=r.toHex;exports.toPrefixedMessage=r.toPrefixedMessage;exports.trim=r.trim;exports.universalSignatureValidatorAbi=r.erc6492SignatureValidatorAbi;exports.validateTypedData=r.validateTypedData;exports.withRetry=r.withRetry;exports.withTimeout=r.withTimeout;exports.ccipFetch=o.ccipRequest;exports.ccipRequest=o.ccipRequest;exports.offchainLookup=o.offchainLookup;exports.offchainLookupAbiItem=o.offchainLookupAbiItem;exports.offchainLookupSignature=o.offchainLookupSignature;
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./parseSignature-jZAFls5F.js"),r=require("./index-BhaYgUya.js"),o=require("./ccip-Cy73HTCR.js");exports.AccountStateConflictError=e.AccountStateConflictError;exports.BaseFeeScalarError=e.BaseFeeScalarError;exports.BlockNotFoundError=e.BlockNotFoundError;exports.BundleFailedError=e.BundleFailedError;exports.CallExecutionError=e.CallExecutionError;exports.ChainDoesNotSupportContract=e.ChainDoesNotSupportContract;exports.CircularReferenceError=e.CircularReferenceError;exports.ClientChainNotConfiguredError=e.ClientChainNotConfiguredError;exports.ContractFunctionExecutionError=e.ContractFunctionExecutionError;exports.ContractFunctionRevertedError=e.ContractFunctionRevertedError;exports.ContractFunctionZeroDataError=e.ContractFunctionZeroDataError;exports.CounterfactualDeploymentFailedError=e.CounterfactualDeploymentFailedError;exports.Eip1559FeesNotSupportedError=e.Eip1559FeesNotSupportedError;exports.EnsAvatarInvalidNftUriError=e.EnsAvatarInvalidNftUriError;exports.EnsAvatarUnsupportedNamespaceError=e.EnsAvatarUnsupportedNamespaceError;exports.EnsAvatarUriResolutionError=e.EnsAvatarUriResolutionError;exports.EstimateGasExecutionError=e.EstimateGasExecutionError;exports.FilterTypeNotSupportedError=e.FilterTypeNotSupportedError;exports.InvalidAbiItemError=e.InvalidAbiItemError;exports.InvalidAbiParametersError=e.InvalidAbiParametersError;exports.InvalidAbiTypeParameterError=e.InvalidAbiTypeParameterError;exports.InvalidChainIdError=e.InvalidChainIdError;exports.InvalidFunctionModifierError=e.InvalidFunctionModifierError;exports.InvalidLegacyVError=e.InvalidLegacyVError;exports.InvalidModifierError=e.InvalidModifierError;exports.InvalidParameterError=e.InvalidParameterError;exports.InvalidParenthesisError=e.InvalidParenthesisError;exports.InvalidSerializableTransactionError=e.InvalidSerializableTransactionError;exports.InvalidSignatureError=e.InvalidSignatureError;exports.InvalidStorageKeySizeError=e.InvalidStorageKeySizeError;exports.InvalidStructSignatureError=e.InvalidStructSignatureError;exports.MaxFeePerGasTooLowError=e.MaxFeePerGasTooLowError;exports.RawContractError=e.RawContractError;exports.SolidityProtectedKeywordError=e.SolidityProtectedKeywordError;exports.StateAssignmentConflictError=e.StateAssignmentConflictError;exports.TransactionExecutionError=e.TransactionExecutionError;exports.TransactionNotFoundError=e.TransactionNotFoundError;exports.TransactionReceiptNotFoundError=e.TransactionReceiptNotFoundError;exports.UnknownSignatureError=e.UnknownSignatureError;exports.UnknownTypeError=e.UnknownTypeError;exports.WaitForCallsStatusTimeoutError=e.WaitForCallsStatusTimeoutError;exports.WaitForTransactionReceiptTimeoutError=e.WaitForTransactionReceiptTimeoutError;exports.assertRequest=e.assertRequest;exports.assertTransactionEIP1559=e.assertTransactionEIP1559;exports.assertTransactionEIP2930=e.assertTransactionEIP2930;exports.assertTransactionLegacy=e.assertTransactionLegacy;exports.blobsToCommitments=e.blobsToCommitments;exports.blobsToProofs=e.blobsToProofs;exports.bytesToBigInt=e.bytesToBigInt;exports.bytesToBool=e.bytesToBool;exports.bytesToNumber=e.bytesToNumber;exports.bytesToString=e.bytesToString;exports.commitmentToVersionedHash=e.commitmentToVersionedHash;exports.commitmentsToVersionedHashes=e.commitmentsToVersionedHashes;exports.createClient=e.createClient;exports.createNonceManager=e.createNonceManager;exports.createPublicClient=e.createPublicClient;exports.decodeAbiParameters=e.decodeAbiParameters;exports.decodeErrorResult=e.decodeErrorResult;exports.decodeEventLog=e.decodeEventLog;exports.decodeFunctionData=e.decodeFunctionData;exports.decodeFunctionResult=e.decodeFunctionResult;exports.defineBlock=e.defineBlock;exports.defineChain=e.defineChain;exports.defineTransaction=e.defineTransaction;exports.defineTransactionReceipt=e.defineTransactionReceipt;exports.deploylessCallViaBytecodeBytecode=e.deploylessCallViaBytecodeBytecode;exports.deploylessCallViaFactoryBytecode=e.deploylessCallViaFactoryBytecode;exports.encodeDeployData=e.encodeDeployData;exports.encodeErrorResult=e.encodeErrorResult;exports.encodeEventTopics=e.encodeEventTopics;exports.encodeFunctionResult=e.encodeFunctionResult;exports.encodePacked=e.encodePacked;exports.erc6492SignatureValidatorByteCode=e.erc6492SignatureValidatorByteCode;exports.ethAddress=e.ethAddress;exports.formatBlock=e.formatBlock;exports.formatEther=e.formatEther;exports.formatLog=e.formatLog;exports.formatTransaction=e.formatTransaction;exports.formatTransactionReceipt=e.formatTransactionReceipt;exports.formatTransactionRequest=e.formatTransactionRequest;exports.getChainContractAddress=e.getChainContractAddress;exports.getContractError=e.getContractError;exports.getTransactionType=e.getTransactionType;exports.hexToSignature=e.parseSignature;exports.isAddressEqual=e.isAddressEqual;exports.labelhash=e.labelhash;exports.maxUint256=e.maxUint256;exports.namehash=e.namehash;exports.parseAbi=e.parseAbi;exports.parseAbiItem=e.parseAbiItem;exports.parseAbiParameters=e.parseAbiParameters;exports.parseEventLogs=e.parseEventLogs;exports.parseSignature=e.parseSignature;exports.publicActions=e.publicActions;exports.recoverAddress=e.recoverAddress;exports.recoverPublicKey=e.recoverPublicKey;exports.rpcTransactionType=e.rpcTransactionType;exports.serializeAccessList=e.serializeAccessList;exports.serializeErc6492Signature=e.serializeErc6492Signature;exports.serializeSignature=e.serializeSignature;exports.serializeTransaction=e.serializeTransaction;exports.sha256=e.sha256;exports.signatureToHex=e.serializeSignature;exports.toBlobSidecars=e.toBlobSidecars;exports.toBlobs=e.toBlobs;exports.toRlp=e.toRlp;exports.transactionType=e.transactionType;exports.universalSignatureValidatorByteCode=e.erc6492SignatureValidatorByteCode;exports.withCache=e.withCache;exports.zeroAddress=e.zeroAddress;exports.AbiConstructorNotFoundError=r.AbiConstructorNotFoundError;exports.AbiConstructorParamsNotFoundError=r.AbiConstructorParamsNotFoundError;exports.AbiDecodingDataSizeTooSmallError=r.AbiDecodingDataSizeTooSmallError;exports.AbiDecodingZeroDataError=r.AbiDecodingZeroDataError;exports.AbiEncodingArrayLengthMismatchError=r.AbiEncodingArrayLengthMismatchError;exports.AbiEncodingBytesSizeMismatchError=r.AbiEncodingBytesSizeMismatchError;exports.AbiEncodingLengthMismatchError=r.AbiEncodingLengthMismatchError;exports.AbiErrorInputsNotFoundError=r.AbiErrorInputsNotFoundError;exports.AbiErrorNotFoundError=r.AbiErrorNotFoundError;exports.AbiErrorSignatureNotFoundError=r.AbiErrorSignatureNotFoundError;exports.AbiEventNotFoundError=r.AbiEventNotFoundError;exports.AbiEventSignatureEmptyTopicsError=r.AbiEventSignatureEmptyTopicsError;exports.AbiEventSignatureNotFoundError=r.AbiEventSignatureNotFoundError;exports.AbiFunctionNotFoundError=r.AbiFunctionNotFoundError;exports.AbiFunctionOutputsNotFoundError=r.AbiFunctionOutputsNotFoundError;exports.AbiFunctionSignatureNotFoundError=r.AbiFunctionSignatureNotFoundError;exports.AtomicReadyWalletRejectedUpgradeError=r.AtomicReadyWalletRejectedUpgradeError;exports.AtomicityNotSupportedError=r.AtomicityNotSupportedError;exports.BaseError=r.BaseError;exports.BundleTooLargeError=r.BundleTooLargeError;exports.BytesSizeMismatchError=r.BytesSizeMismatchError;exports.ChainDisconnectedError=r.ChainDisconnectedError;exports.DecodeLogDataMismatch=r.DecodeLogDataMismatch;exports.DecodeLogTopicsMismatch=r.DecodeLogTopicsMismatch;exports.DuplicateIdError=r.DuplicateIdError;exports.ExecutionRevertedError=r.ExecutionRevertedError;exports.FeeCapTooHighError=r.FeeCapTooHighError;exports.FeeCapTooLowError=r.FeeCapTooLowError;exports.HttpRequestError=r.HttpRequestError;exports.InsufficientFundsError=r.InsufficientFundsError;exports.IntegerOutOfRangeError=r.IntegerOutOfRangeError;exports.InternalRpcError=r.InternalRpcError;exports.IntrinsicGasTooHighError=r.IntrinsicGasTooHighError;exports.IntrinsicGasTooLowError=r.IntrinsicGasTooLowError;exports.InvalidAbiDecodingTypeError=r.InvalidAbiDecodingTypeError;exports.InvalidAbiEncodingTypeError=r.InvalidAbiEncodingTypeError;exports.InvalidAddressError=r.InvalidAddressError;exports.InvalidArrayError=r.InvalidArrayError;exports.InvalidBytesBooleanError=r.InvalidBytesBooleanError;exports.InvalidDefinitionTypeError=r.InvalidDefinitionTypeError;exports.InvalidDomainError=r.InvalidDomainError;exports.InvalidHexBooleanError=r.InvalidHexBooleanError;exports.InvalidInputRpcError=r.InvalidInputRpcError;exports.InvalidParamsRpcError=r.InvalidParamsRpcError;exports.InvalidPrimaryTypeError=r.InvalidPrimaryTypeError;exports.InvalidRequestRpcError=r.InvalidRequestRpcError;exports.InvalidStructTypeError=r.InvalidStructTypeError;exports.JsonRpcVersionUnsupportedError=r.JsonRpcVersionUnsupportedError;exports.LimitExceededRpcError=r.LimitExceededRpcError;exports.MethodNotFoundRpcError=r.MethodNotFoundRpcError;exports.MethodNotSupportedRpcError=r.MethodNotSupportedRpcError;exports.NonceMaxValueError=r.NonceMaxValueError;exports.NonceTooHighError=r.NonceTooHighError;exports.NonceTooLowError=r.NonceTooLowError;exports.ParseRpcError=r.ParseRpcError;exports.ProviderDisconnectedError=r.ProviderDisconnectedError;exports.ProviderRpcError=r.ProviderRpcError;exports.ResourceNotFoundRpcError=r.ResourceNotFoundRpcError;exports.ResourceUnavailableRpcError=r.ResourceUnavailableRpcError;exports.RpcError=r.RpcError;exports.RpcRequestError=r.RpcRequestError;exports.SizeExceedsPaddingSizeError=r.SizeExceedsPaddingSizeError;exports.SizeOverflowError=r.SizeOverflowError;exports.SliceOffsetOutOfBoundsError=r.SliceOffsetOutOfBoundsError;exports.SwitchChainError=r.SwitchChainError;exports.TimeoutError=r.TimeoutError;exports.TipAboveFeeCapError=r.TipAboveFeeCapError;exports.TransactionRejectedRpcError=r.TransactionRejectedRpcError;exports.TransactionTypeNotSupportedError=r.TransactionTypeNotSupportedError;exports.UnauthorizedProviderError=r.UnauthorizedProviderError;exports.UnknownBundleIdError=r.UnknownBundleIdError;exports.UnknownNodeError=r.UnknownNodeError;exports.UnknownRpcError=r.UnknownRpcError;exports.UnsupportedChainIdError=r.UnsupportedChainIdError;exports.UnsupportedNonOptionalCapabilityError=r.UnsupportedNonOptionalCapabilityError;exports.UnsupportedPackedAbiType=r.UnsupportedPackedAbiType;exports.UnsupportedProviderMethodError=r.UnsupportedProviderMethodError;exports.UrlRequiredError=r.UrlRequiredError;exports.UserRejectedRequestError=r.UserRejectedRequestError;exports.boolToBytes=r.boolToBytes;exports.boolToHex=r.boolToHex;exports.bytesToHex=r.bytesToHex;exports.checksumAddress=r.checksumAddress;exports.concat=r.concat;exports.concatBytes=r.concatBytes;exports.concatHex=r.concatHex;exports.createTransport=r.createTransport;exports.encodeAbiParameters=r.encodeAbiParameters;exports.encodeFunctionData=r.encodeFunctionData;exports.erc20Abi=r.erc20Abi;exports.erc6492SignatureValidatorAbi=r.erc6492SignatureValidatorAbi;exports.etherUnits=r.etherUnits;exports.fallback=r.fallback;exports.formatGwei=r.formatGwei;exports.formatUnits=r.formatUnits;exports.getAbiItem=r.getAbiItem;exports.getAddress=r.getAddress;exports.getEventSelector=r.toEventSelector;exports.getEventSignature=r.toSignature;exports.getFunctionSelector=r.toFunctionSelector;exports.getFunctionSignature=r.toSignature;exports.getTypesForEIP712Domain=r.getTypesForEIP712Domain;exports.gweiUnits=r.gweiUnits;exports.hashDomain=r.hashDomain;exports.hashMessage=r.hashMessage;exports.hashStruct=r.hashStruct;exports.hashTypedData=r.hashTypedData;exports.hexToBigInt=r.hexToBigInt;exports.hexToBool=r.hexToBool;exports.hexToBytes=r.hexToBytes;exports.hexToNumber=r.hexToNumber;exports.hexToString=r.hexToString;exports.http=r.http;exports.isAddress=r.isAddress;exports.isHex=r.isHex;exports.keccak256=r.keccak256;exports.multicall3Abi=r.multicall3Abi;exports.numberToBytes=r.numberToBytes;exports.numberToHex=r.numberToHex;exports.pad=r.pad;exports.padBytes=r.padBytes;exports.padHex=r.padHex;exports.prepareEncodeFunctionData=r.prepareEncodeFunctionData;exports.presignMessagePrefix=r.presignMessagePrefix;exports.shouldThrow=r.shouldThrow;exports.size=r.size;exports.slice=r.slice;exports.sliceBytes=r.sliceBytes;exports.sliceHex=r.sliceHex;exports.stringToBytes=r.stringToBytes;exports.stringToHex=r.stringToHex;exports.stringify=r.stringify;exports.toBytes=r.toBytes;exports.toEventHash=r.toSignatureHash;exports.toEventSelector=r.toEventSelector;exports.toEventSignature=r.toSignature;exports.toFunctionHash=r.toSignatureHash;exports.toFunctionSelector=r.toFunctionSelector;exports.toFunctionSignature=r.toSignature;exports.toHex=r.toHex;exports.toPrefixedMessage=r.toPrefixedMessage;exports.trim=r.trim;exports.universalSignatureValidatorAbi=r.erc6492SignatureValidatorAbi;exports.validateTypedData=r.validateTypedData;exports.withRetry=r.withRetry;exports.withTimeout=r.withTimeout;exports.ccipFetch=o.ccipRequest;exports.ccipRequest=o.ccipRequest;exports.offchainLookup=o.offchainLookup;exports.offchainLookupAbiItem=o.offchainLookupAbiItem;exports.offchainLookupSignature=o.offchainLookupSignature;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
var Es = Object.defineProperty;
|
|
2
2
|
var ks = (e, t, n) => t in e ? Es(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
|
|
3
3
|
var F = (e, t, n) => ks(e, typeof t != "symbol" ? t + "" : t, n);
|
|
4
|
-
import { ad as _, d0 as Ye, d1 as dr, d2 as Dt, d3 as Ss, d4 as Be, d5 as As, d6 as Ps, d7 as ja, d8 as Is, bm as xe, bz as Oe, bc as Os, b9 as Qe, ac as Mr, d9 as Cs, ba as Je, be as ge, bx as M, bh as Da, bK as Xt, b3 as pt, bA as Se, bP as Lr, b4 as Ne, bM as Ts, I as Fr, bd as qe, da as _s, db as Bs, dc as Us, bH as Ma, bi as Rs, bt as Gr, br as xn, bl as Hr, by as Ns, bp as Kr, bo as vt } from "./index-
|
|
5
|
-
import { aV as mt, aW as be, aX as lr, aY as js, ab as La, ay as Ds, av as Ms, as as Ls, aw as Fs, aQ as Gs, ao as Hs, ai as de, aD as Ks, aI as cn, aZ as Fa, a_ as En, p as zs, a$ as Vs, a1 as qs, E as Zs, D as Ws, A as Ys, b0 as Js, b1 as Xs, au as Qs, az as $s, b2 as eo, b3 as to, l as no, m as ro, b4 as Ga, a3 as Ha, aF as ao, a9 as io, a0 as Ka } from "./parseSignature-
|
|
4
|
+
import { ad as _, d0 as Ye, d1 as dr, d2 as Dt, d3 as Ss, d4 as Be, d5 as As, d6 as Ps, d7 as ja, d8 as Is, bm as xe, bz as Oe, bc as Os, b9 as Qe, ac as Mr, d9 as Cs, ba as Je, be as ge, bx as M, bh as Da, bK as Xt, b3 as pt, bA as Se, bP as Lr, b4 as Ne, bM as Ts, I as Fr, bd as qe, da as _s, db as Bs, dc as Us, bH as Ma, bi as Rs, bt as Gr, br as xn, bl as Hr, by as Ns, bp as Kr, bo as vt } from "./index-CFLg0HEy.mjs";
|
|
5
|
+
import { aV as mt, aW as be, aX as lr, aY as js, ab as La, ay as Ds, av as Ms, as as Ls, aw as Fs, aQ as Gs, ao as Hs, ai as de, aD as Ks, aI as cn, aZ as Fa, a_ as En, p as zs, a$ as Vs, a1 as qs, E as Zs, D as Ws, A as Ys, b0 as Js, b1 as Xs, au as Qs, az as $s, b2 as eo, b3 as to, l as no, m as ro, b4 as Ga, a3 as Ha, aF as ao, a9 as io, a0 as Ka } from "./parseSignature-zKnspnY-.mjs";
|
|
6
6
|
class Qt extends _ {
|
|
7
7
|
constructor({ docsPath: t } = {}) {
|
|
8
8
|
super([
|