@imtbl/sdk 1.72.5 → 1.72.6-alpha.1
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/{blockchain_data-25saGU0Z.js → blockchain_data-BmmAgZOS.js} +2 -2
- package/dist/blockchain_data.d.ts +307 -212
- package/dist/blockchain_data.js +3 -3
- package/dist/browser/checkout/{AddTokensWidget-BWG3NQ9B.js → AddTokensWidget-DrbitSlF.js} +165 -19
- package/dist/browser/checkout/{BridgeWidget-Ci2WB7Nf.js → BridgeWidget-CiImeTRw.js} +9 -9
- package/dist/browser/checkout/{CommerceWidget-DU93DqRK.js → CommerceWidget-DX5sbo0g.js} +17 -17
- package/dist/browser/checkout/{CryptoFiatProvider-hYwPM-aZ.js → CryptoFiatProvider-uWcCApQ0.js} +1 -1
- package/dist/browser/checkout/{EllipsizedText-CJv9sue6.js → EllipsizedText-CRQaihWW.js} +1 -1
- package/dist/browser/checkout/{FeesBreakdown-CFr2Ba8o.js → FeesBreakdown-Dhv0K1vj.js} +1 -1
- package/dist/browser/checkout/{HandoverContent-7XgMxmMH.js → HandoverContent-BGI_JjmB.js} +1 -1
- package/dist/browser/checkout/{OnRampWidget-BdBudr53.js → OnRampWidget-D606IsS_.js} +3 -3
- package/dist/browser/checkout/{SaleWidget-ow1U6WSy.js → SaleWidget-qvo6iSS8.js} +14 -14
- package/dist/browser/checkout/{SpendingCapHero-BfHzFx2e.js → SpendingCapHero-CUJ69O4-.js} +1 -1
- package/dist/browser/checkout/{SwapWidget-D52nXXsd.js → SwapWidget-Bit20Szc.js} +9 -9
- package/dist/browser/checkout/{TokenImage-Bv4QDjsG.js → TokenImage-Dt_5rf_h.js} +1 -1
- package/dist/browser/checkout/{TopUpView-RU9tyx5M.js → TopUpView-DNADMFLJ.js} +3 -3
- package/dist/browser/checkout/{WalletApproveHero-6xRquyAA.js → WalletApproveHero-B0XZeGIE.js} +3 -3
- package/dist/browser/checkout/{WalletWidget-B9RKEYud.js → WalletWidget-B9iMNKxs.js} +4 -4
- package/dist/browser/checkout/{auto-track-DrUv_-5G.js → auto-track--R3R7Bp0.js} +1 -1
- package/dist/browser/checkout/{index-BDRM7Uih.js → index-B91i8RAk.js} +1 -1
- package/dist/browser/checkout/{index-D8H34D4j.js → index-BhwuT_mV.js} +1 -1
- package/dist/browser/checkout/{index-DF3H3Vt3.js → index-CdrSzev5.js} +1 -1
- package/dist/browser/checkout/{index-Dhym2CWn.js → index-Cg929i9a.js} +1 -1
- package/dist/browser/checkout/{index-BdbcBXtl.js → index-DlrVbPZ0.js} +130 -34
- package/dist/browser/checkout/{index-LgFL8sFc.js → index-ETVkv7zg.js} +1 -1
- package/dist/browser/checkout/{index-SCzeiVsL.js → index-QpqyXEd1.js} +1 -1
- package/dist/browser/checkout/{index-BpB8pCnR.js → index-Snn5WTWA.js} +2 -2
- package/dist/browser/checkout/{index-BmEvMRSe.js → index-mkX832fp.js} +1 -1
- package/dist/browser/checkout/{index.umd-BXtpGQf3.js → index.umd-Dh00suP-.js} +1 -1
- package/dist/browser/checkout/sdk.js +4 -4
- package/dist/browser/checkout/{useInterval-Ded2Ls8Y.js → useInterval-D4yBqlRu.js} +1 -1
- package/dist/browser/checkout/widgets-esm.js +1 -1
- package/dist/browser/checkout/widgets.js +271 -29
- package/dist/{checkout-CuyhPhPI.js → checkout-CRBNqd8f.js} +5 -5
- package/dist/checkout.js +5 -5
- package/dist/{config--KnSGWmg.js → config-CUcrINzD.js} +1 -1
- package/dist/config.js +1 -1
- package/dist/{index-DnsQswUj.js → index-BB8BIkQp.js} +1 -1
- package/dist/{index-ql1ytn8Z.js → index-BRLOijKL.js} +4 -4
- package/dist/{index-C5qsusaO.js → index-Bttskdy_.js} +3 -3
- package/dist/{index-BZ0-xFD5.js → index-CYOIdHym.js} +4 -4
- package/dist/{index-BoB9ZvkB.js → index-DVifcbv6.js} +1 -1
- package/dist/{index-BmEMIEoz.js → index-DZdnrR8w.js} +1 -1
- package/dist/index.browser.js +4 -4
- package/dist/index.browser.js.map +1 -1
- package/dist/index.cjs +10 -10
- package/dist/index.d.ts +306 -212
- package/dist/index.js +14 -14
- package/dist/{minting_backend-DiUlXoXB.js → minting_backend-Ygz4jwP2.js} +3 -3
- package/dist/minting_backend.d.ts +304 -211
- package/dist/minting_backend.js +5 -5
- package/dist/{orderbook-CoO54P2O.js → orderbook-CV_1L7OA.js} +1 -1
- package/dist/orderbook.js +2 -2
- package/dist/{passport-DzlAx_ow.js → passport-C3WMzNc1.js} +3 -3
- package/dist/passport.js +4 -4
- package/dist/{webhook-sMzzQQMr.js → webhook-CC__tEbs.js} +1 -1
- package/dist/webhook.js +2 -2
- package/dist/{x-COIxZVrX.js → x-DuAkWpoZ.js} +3 -3
- package/dist/x.js +4 -4
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { dU as __awaiter, dV as __generator, dW as loadScript, dX as getNextIntegrationsURL, dY as unloadScript, dZ as __spreadArray, d_ as isOffline, d$ as __assign, e0 as ContextCancelation, e1 as applyDestinationMiddleware, e2 as dist, e3 as isServer, e4 as mergedOptions, e5 as isPlainObject, e6 as pWhile, e7 as PriorityQueue, e8 as PersistedPriorityQueue, e9 as attempt, ea as isOnline, eb as Context } from './index-
|
|
1
|
+
import { dU as __awaiter, dV as __generator, dW as loadScript, dX as getNextIntegrationsURL, dY as unloadScript, dZ as __spreadArray, d_ as isOffline, d$ as __assign, e0 as ContextCancelation, e1 as applyDestinationMiddleware, e2 as dist, e3 as isServer, e4 as mergedOptions, e5 as isPlainObject, e6 as pWhile, e7 as PriorityQueue, e8 as PersistedPriorityQueue, e9 as attempt, ea as isOnline, eb as Context } from './index-DlrVbPZ0.js';
|
|
2
2
|
import { i as isPlanEventEnabled } from './is-plan-event-enabled-mXX0dwl-.js';
|
|
3
3
|
|
|
4
4
|
function normalizeName(name) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { an as BigNumber, cU as Logger, du as version$1, dv as hexZeroPad, dw as isBigNumberish, d3 as arrayify, dx as isBytes } from './index-
|
|
1
|
+
import { an as BigNumber, cU as Logger, du as version$1, dv as hexZeroPad, dw as isBigNumberish, d3 as arrayify, dx as isBytes } from './index-DlrVbPZ0.js';
|
|
2
2
|
|
|
3
3
|
const logger$1 = new Logger(version$1);
|
|
4
4
|
const _constructorGuard = {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { dL as ne$1, dM as se$1, dN as T$2, dO as oe$1, dP as R$1, dQ as a$2, dR as te$1, dS as p$1, dT as y$1 } from './index-
|
|
1
|
+
import { dL as ne$1, dM as se$1, dN as T$2, dO as oe$1, dP as R$1, dQ as a$2, dR as te$1, dS as p$1, dT as y$1 } from './index-DlrVbPZ0.js';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* @license
|
|
@@ -131549,12 +131549,36 @@ var views$3 = {
|
|
|
131549
131549
|
subHeading: "Confirm the transaction request to complete this transaction"
|
|
131550
131550
|
},
|
|
131551
131551
|
executing: {
|
|
131552
|
-
heading: "Processing"
|
|
131552
|
+
heading: "Processing",
|
|
131553
|
+
subHeadingDuration: "This should take {{duration}}",
|
|
131554
|
+
subHeading: "Go to <axelarscanLink>Axelarscan</axelarscanLink> for transaction details"
|
|
131553
131555
|
},
|
|
131554
131556
|
executed: {
|
|
131555
|
-
heading: "
|
|
131556
|
-
|
|
131557
|
-
|
|
131557
|
+
heading: "Tokens Added",
|
|
131558
|
+
subHeading: "Go to <axelarscanLink>Axelarscan</axelarscanLink> for transaction details",
|
|
131559
|
+
primaryButtonText: "Done"
|
|
131560
|
+
},
|
|
131561
|
+
executedZkEVM: {
|
|
131562
|
+
heading: "Tokens Added",
|
|
131563
|
+
subHeading: "Go to <explorerLink>Immutable zkEVM explorer</explorerLink> for transaction details",
|
|
131564
|
+
primaryButtonText: "Done"
|
|
131565
|
+
},
|
|
131566
|
+
needsGas: {
|
|
131567
|
+
heading: "Gas has surged",
|
|
131568
|
+
subHeading: "You’ll need to pay more gas to complete this transaction. You can do this via <axelarscanLink>Axelarscan</axelarscanLink>.",
|
|
131569
|
+
primaryButtonText: "Go to Axelarscan",
|
|
131570
|
+
secondaryButtonText: "Dismiss"
|
|
131571
|
+
},
|
|
131572
|
+
partialSuccess: {
|
|
131573
|
+
heading: "You’ve received axlUSDC",
|
|
131574
|
+
subHeading: "Your transaction was subject to slippage and you’ve received axlUSDC. To receive the token you intended to add, you may need to complete a swap via <squidLink>Squid</squidLink>. ",
|
|
131575
|
+
primaryButtonText: "Go to Squid",
|
|
131576
|
+
secondaryButtonText: "Dismiss"
|
|
131577
|
+
},
|
|
131578
|
+
statusFailed: {
|
|
131579
|
+
heading: "Unable to complete transaction",
|
|
131580
|
+
subHeading: "Something went wrong, and we were unable to complete this transaction. Visit <axelarscanLink>Axelarscan</axelarscanLink> for details.",
|
|
131581
|
+
secondaryButtonText: "Dismiss"
|
|
131558
131582
|
}
|
|
131559
131583
|
},
|
|
131560
131584
|
onboarding: {
|
|
@@ -132542,12 +132566,36 @@ var views$2 = {
|
|
|
132542
132566
|
subHeading: "取引リクエストを確認してこの取引を完了してください"
|
|
132543
132567
|
},
|
|
132544
132568
|
executing: {
|
|
132545
|
-
heading: "処理中"
|
|
132569
|
+
heading: "処理中",
|
|
132570
|
+
subHeadingDuration: "この処理には{{duration}}かかります",
|
|
132571
|
+
subHeading: "<axelarscanLink>Axelarscan</axelarscanLink>でトランザクションの詳細をご確認ください"
|
|
132546
132572
|
},
|
|
132547
132573
|
executed: {
|
|
132548
|
-
heading: "
|
|
132549
|
-
|
|
132550
|
-
|
|
132574
|
+
heading: "トークンが追加されました",
|
|
132575
|
+
subHeading: "<axelarscanLink>Axelarscan</axelarscanLink>でトランザクションの詳細をご確認ください",
|
|
132576
|
+
primaryButtonText: "完了"
|
|
132577
|
+
},
|
|
132578
|
+
executedZkEVM: {
|
|
132579
|
+
heading: "トークンが追加されました",
|
|
132580
|
+
subHeading: "<explorerLink>Immutable zkEVM explorer</explorerLink>でトランザクションの詳細をご確認ください",
|
|
132581
|
+
primaryButtonText: "完了"
|
|
132582
|
+
},
|
|
132583
|
+
needsGas: {
|
|
132584
|
+
heading: "ガス料金が急騰しました",
|
|
132585
|
+
subHeading: "このトランザクションを完了するためには、さらにガス料金を支払う必要があります。<axelarscanLink>Axelarscan</axelarscanLink>で手続きを行えます。",
|
|
132586
|
+
primaryButtonText: "Axelarscanに移動",
|
|
132587
|
+
secondaryButtonText: "閉じる"
|
|
132588
|
+
},
|
|
132589
|
+
partialSuccess: {
|
|
132590
|
+
heading: "axlUSDCを受け取りました",
|
|
132591
|
+
subHeading: "トランザクションはスリッページの影響を受け、axlUSDCを受け取りました。意図したトークンを受け取るには、<squidLink>Squid</squidLink>でスワップを完了する必要があります。",
|
|
132592
|
+
primaryButtonText: "Squidに移動",
|
|
132593
|
+
secondaryButtonText: "閉じる"
|
|
132594
|
+
},
|
|
132595
|
+
statusFailed: {
|
|
132596
|
+
heading: "トランザクションを完了できませんでした",
|
|
132597
|
+
subHeading: "問題が発生し、トランザクションを完了できませんでした。詳細は<axelarscanLink>Axelarscan</axelarscanLink>をご確認ください。",
|
|
132598
|
+
secondaryButtonText: "閉じる"
|
|
132551
132599
|
}
|
|
132552
132600
|
},
|
|
132553
132601
|
onboarding: {
|
|
@@ -133532,12 +133580,36 @@ var views$1 = {
|
|
|
133532
133580
|
subHeading: "거래 요청을 확인하여 이 거래를 완료하세요"
|
|
133533
133581
|
},
|
|
133534
133582
|
executing: {
|
|
133535
|
-
heading: "처리 중"
|
|
133583
|
+
heading: "처리 중",
|
|
133584
|
+
subHeadingDuration: "이 작업은 {{duration}} 소요됩니다",
|
|
133585
|
+
subHeading: "트랜잭션 세부 정보는 <axelarscanLink>Axelarscan</axelarscanLink>에서 확인하세요"
|
|
133536
133586
|
},
|
|
133537
133587
|
executed: {
|
|
133538
|
-
heading: "
|
|
133539
|
-
|
|
133540
|
-
|
|
133588
|
+
heading: "토큰이 추가되었습니다",
|
|
133589
|
+
subHeading: "트랜잭션 세부 정보는 <axelarscanLink>Axelarscan</axelarscanLink>에서 확인하세요",
|
|
133590
|
+
primaryButtonText: "완료"
|
|
133591
|
+
},
|
|
133592
|
+
executedZkEVM: {
|
|
133593
|
+
heading: "토큰이 추가되었습니다",
|
|
133594
|
+
subHeading: "트랜잭션 세부 정보는 <explorerLink>Immutable zkEVM explorer</explorerLink>에서 확인하세요",
|
|
133595
|
+
primaryButtonText: "완료"
|
|
133596
|
+
},
|
|
133597
|
+
needsGas: {
|
|
133598
|
+
heading: "가스 요금 급등",
|
|
133599
|
+
subHeading: "이 트랜잭션을 완료하려면 더 높은 가스 요금을 지불해야 합니다. <axelarscanLink>Axelarscan</axelarscanLink>에서 진행할 수 있습니다.",
|
|
133600
|
+
primaryButtonText: "Axelarscan으로 이동",
|
|
133601
|
+
secondaryButtonText: "닫기"
|
|
133602
|
+
},
|
|
133603
|
+
partialSuccess: {
|
|
133604
|
+
heading: "axlUSDC를 받았습니다",
|
|
133605
|
+
subHeading: "트랜잭션이 슬리피지에 영향을 받아 axlUSDC를 받았습니다. 의도한 토큰을 받으려면 <squidLink>Squid</squidLink>에서 스왑을 완료해야 할 수 있습니다.",
|
|
133606
|
+
primaryButtonText: "Squid로 이동",
|
|
133607
|
+
secondaryButtonText: "닫기"
|
|
133608
|
+
},
|
|
133609
|
+
statusFailed: {
|
|
133610
|
+
heading: "트랜잭션을 완료할 수 없습니다",
|
|
133611
|
+
subHeading: "문제가 발생하여 트랜잭션을 완료할 수 없습니다. 자세한 내용은 <axelarscanLink>Axelarscan</axelarscanLink>에서 확인하세요.",
|
|
133612
|
+
secondaryButtonText: "닫기"
|
|
133541
133613
|
}
|
|
133542
133614
|
},
|
|
133543
133615
|
onboarding: {
|
|
@@ -134522,12 +134594,36 @@ var views = {
|
|
|
134522
134594
|
subHeading: "确认交易请求以完成此交易"
|
|
134523
134595
|
},
|
|
134524
134596
|
executing: {
|
|
134525
|
-
heading: "处理中"
|
|
134597
|
+
heading: "处理中",
|
|
134598
|
+
subHeadingDuration: "预计耗时{{duration}}",
|
|
134599
|
+
subHeading: "您可以前往<axelarscanLink>Axelarscan</axelarscanLink>查看交易详情"
|
|
134526
134600
|
},
|
|
134527
134601
|
executed: {
|
|
134528
|
-
heading: "
|
|
134529
|
-
|
|
134530
|
-
|
|
134602
|
+
heading: "代币已添加",
|
|
134603
|
+
subHeading: "您可以前往<axelarscanLink>Axelarscan</axelarscanLink>查看交易详情",
|
|
134604
|
+
primaryButtonText: "完成"
|
|
134605
|
+
},
|
|
134606
|
+
executedZkEVM: {
|
|
134607
|
+
heading: "代币已添加",
|
|
134608
|
+
subHeading: "您可以前往<explorerLink>Immutable zkEVM explorer</explorerLink>查看交易详情",
|
|
134609
|
+
primaryButtonText: "完成"
|
|
134610
|
+
},
|
|
134611
|
+
needsGas: {
|
|
134612
|
+
heading: "Gas费用激增",
|
|
134613
|
+
subHeading: "完成此交易需要支付更高的Gas费用。您可以通过<axelarscanLink>Axelarscan</axelarscanLink>完成。",
|
|
134614
|
+
primaryButtonText: "前往Axelarscan",
|
|
134615
|
+
secondaryButtonText: "关闭"
|
|
134616
|
+
},
|
|
134617
|
+
partialSuccess: {
|
|
134618
|
+
heading: "您已收到axlUSDC",
|
|
134619
|
+
subHeading: "交易受到滑点影响,您已收到axlUSDC。如需获得目标代币,可能需要通过<squidLink>Squid</squidLink>完成兑换。",
|
|
134620
|
+
primaryButtonText: "前往Squid",
|
|
134621
|
+
secondaryButtonText: "关闭"
|
|
134622
|
+
},
|
|
134623
|
+
statusFailed: {
|
|
134624
|
+
heading: "交易未能完成",
|
|
134625
|
+
subHeading: "交易发生错误,未能完成。详情请前往<axelarscanLink>Axelarscan</axelarscanLink>查看。",
|
|
134626
|
+
secondaryButtonText: "关闭"
|
|
134531
134627
|
}
|
|
134532
134628
|
},
|
|
134533
134629
|
onboarding: {
|
|
@@ -135208,7 +135304,7 @@ function snapshot(proxyObject, handlePromise) {
|
|
|
135208
135304
|
|
|
135209
135305
|
const o$2=proxy({history:["ConnectWallet"],view:"ConnectWallet",data:void 0}),T$2={state:o$2,subscribe(e){return subscribe(o$2,()=>e(o$2))},push(e,t){e!==o$2.view&&(o$2.view=e,t&&(o$2.data=t),o$2.history.push(e));},reset(e){o$2.view=e,o$2.history=[e];},replace(e){o$2.history.length>1&&(o$2.history[o$2.history.length-1]=e,o$2.view=e);},goBack(){if(o$2.history.length>1){o$2.history.pop();const[e]=o$2.history.slice(-1);o$2.view=e;}},setData(e){o$2.data=e;}},a$4={WALLETCONNECT_DEEPLINK_CHOICE:"WALLETCONNECT_DEEPLINK_CHOICE",WCM_VERSION:"WCM_VERSION",RECOMMENDED_WALLET_AMOUNT:9,isMobile(){return typeof window<"u"?Boolean(window.matchMedia("(pointer:coarse)").matches||/Android|webOS|iPhone|iPad|iPod|BlackBerry|Opera Mini/u.test(navigator.userAgent)):!1},isAndroid(){return a$4.isMobile()&&navigator.userAgent.toLowerCase().includes("android")},isIos(){const e=navigator.userAgent.toLowerCase();return a$4.isMobile()&&(e.includes("iphone")||e.includes("ipad"))},isHttpUrl(e){return e.startsWith("http://")||e.startsWith("https://")},isArray(e){return Array.isArray(e)&&e.length>0},formatNativeUrl(e,t,s){if(a$4.isHttpUrl(e))return this.formatUniversalUrl(e,t,s);let n=e;n.includes("://")||(n=e.replaceAll("/","").replaceAll(":",""),n=`${n}://`),n.endsWith("/")||(n=`${n}/`),this.setWalletConnectDeepLink(n,s);const i=encodeURIComponent(t);return `${n}wc?uri=${i}`},formatUniversalUrl(e,t,s){if(!a$4.isHttpUrl(e))return this.formatNativeUrl(e,t,s);let n=e;n.endsWith("/")||(n=`${n}/`),this.setWalletConnectDeepLink(n,s);const i=encodeURIComponent(t);return `${n}wc?uri=${i}`},async wait(e){return new Promise(t=>{setTimeout(t,e);})},openHref(e,t){window.open(e,t,"noreferrer noopener");},setWalletConnectDeepLink(e,t){try{localStorage.setItem(a$4.WALLETCONNECT_DEEPLINK_CHOICE,JSON.stringify({href:e,name:t}));}catch{console.info("Unable to set WalletConnect deep link");}},setWalletConnectAndroidDeepLink(e){try{const[t]=e.split("?");localStorage.setItem(a$4.WALLETCONNECT_DEEPLINK_CHOICE,JSON.stringify({href:t,name:"Android"}));}catch{console.info("Unable to set WalletConnect android deep link");}},removeWalletConnectDeepLink(){try{localStorage.removeItem(a$4.WALLETCONNECT_DEEPLINK_CHOICE);}catch{console.info("Unable to remove WalletConnect deep link");}},setModalVersionInStorage(){try{typeof localStorage<"u"&&localStorage.setItem(a$4.WCM_VERSION,"2.6.2");}catch{console.info("Unable to set Web3Modal version in storage");}},getWalletRouterData(){var e;const t=(e=T$2.state.data)==null?void 0:e.Wallet;if(!t)throw new Error('Missing "Wallet" view data');return t}},_$3=typeof location<"u"&&(location.hostname.includes("localhost")||location.protocol.includes("https")),r$3=proxy({enabled:_$3,userSessionId:"",events:[],connectedWalletId:void 0}),R$5={state:r$3,subscribe(e){return subscribe(r$3.events,()=>e(snapshot(r$3.events[r$3.events.length-1])))},initialize(){r$3.enabled&&typeof(crypto==null?void 0:crypto.randomUUID)<"u"&&(r$3.userSessionId=crypto.randomUUID());},setConnectedWalletId(e){r$3.connectedWalletId=e;},click(e){if(r$3.enabled){const t={type:"CLICK",name:e.name,userSessionId:r$3.userSessionId,timestamp:Date.now(),data:e};r$3.events.push(t);}},track(e){if(r$3.enabled){const t={type:"TRACK",name:e.name,userSessionId:r$3.userSessionId,timestamp:Date.now(),data:e};r$3.events.push(t);}},view(e){if(r$3.enabled){const t={type:"VIEW",name:e.name,userSessionId:r$3.userSessionId,timestamp:Date.now(),data:e};r$3.events.push(t);}}},c$4=proxy({chains:void 0,walletConnectUri:void 0,isAuth:!1,isCustomDesktop:!1,isCustomMobile:!1,isDataLoaded:!1,isUiLoaded:!1}),p$9={state:c$4,subscribe(e){return subscribe(c$4,()=>e(c$4))},setChains(e){c$4.chains=e;},setWalletConnectUri(e){c$4.walletConnectUri=e;},setIsCustomDesktop(e){c$4.isCustomDesktop=e;},setIsCustomMobile(e){c$4.isCustomMobile=e;},setIsDataLoaded(e){c$4.isDataLoaded=e;},setIsUiLoaded(e){c$4.isUiLoaded=e;},setIsAuth(e){c$4.isAuth=e;}},W$3=proxy({projectId:"",mobileWallets:void 0,desktopWallets:void 0,walletImages:void 0,chains:void 0,enableAuthMode:!1,enableExplorer:!0,explorerExcludedWalletIds:void 0,explorerRecommendedWalletIds:void 0,termsOfServiceUrl:void 0,privacyPolicyUrl:void 0}),y$6={state:W$3,subscribe(e){return subscribe(W$3,()=>e(W$3))},setConfig(e){var t,s;R$5.initialize(),p$9.setChains(e.chains),p$9.setIsAuth(Boolean(e.enableAuthMode)),p$9.setIsCustomMobile(Boolean((t=e.mobileWallets)==null?void 0:t.length)),p$9.setIsCustomDesktop(Boolean((s=e.desktopWallets)==null?void 0:s.length)),a$4.setModalVersionInStorage(),Object.assign(W$3,e);}};var V$4=Object.defineProperty,D$7=Object.getOwnPropertySymbols,H$4=Object.prototype.hasOwnProperty,B$4=Object.prototype.propertyIsEnumerable,M$4=(e,t,s)=>t in e?V$4(e,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):e[t]=s,K$4=(e,t)=>{for(var s in t||(t={}))H$4.call(t,s)&&M$4(e,s,t[s]);if(D$7)for(var s of D$7(t))B$4.call(t,s)&&M$4(e,s,t[s]);return e};const L$5="https://explorer-api.walletconnect.com",E$4="wcm",O$6="js-2.6.2";async function w$5(e,t){const s=K$4({sdkType:E$4,sdkVersion:O$6},t),n=new URL(e,L$5);return n.searchParams.append("projectId",y$6.state.projectId),Object.entries(s).forEach(([i,l])=>{l&&n.searchParams.append(i,String(l));}),(await fetch(n)).json()}const m$6={async getDesktopListings(e){return w$5("/w3m/v1/getDesktopListings",e)},async getMobileListings(e){return w$5("/w3m/v1/getMobileListings",e)},async getInjectedListings(e){return w$5("/w3m/v1/getInjectedListings",e)},async getAllListings(e){return w$5("/w3m/v1/getAllListings",e)},getWalletImageUrl(e){return `${L$5}/w3m/v1/getWalletImage/${e}?projectId=${y$6.state.projectId}&sdkType=${E$4}&sdkVersion=${O$6}`},getAssetImageUrl(e){return `${L$5}/w3m/v1/getAssetImage/${e}?projectId=${y$6.state.projectId}&sdkType=${E$4}&sdkVersion=${O$6}`}};var z$5=Object.defineProperty,j$4=Object.getOwnPropertySymbols,J$3=Object.prototype.hasOwnProperty,q$5=Object.prototype.propertyIsEnumerable,k$5=(e,t,s)=>t in e?z$5(e,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):e[t]=s,F$5=(e,t)=>{for(var s in t||(t={}))J$3.call(t,s)&&k$5(e,s,t[s]);if(j$4)for(var s of j$4(t))q$5.call(t,s)&&k$5(e,s,t[s]);return e};const N$4=a$4.isMobile(),d$4=proxy({wallets:{listings:[],total:0,page:1},search:{listings:[],total:0,page:1},recomendedWallets:[]}),te$4={state:d$4,async getRecomendedWallets(){const{explorerRecommendedWalletIds:e,explorerExcludedWalletIds:t}=y$6.state;if(e==="NONE"||t==="ALL"&&!e)return d$4.recomendedWallets;if(a$4.isArray(e)){const s={recommendedIds:e.join(",")},{listings:n}=await m$6.getAllListings(s),i=Object.values(n);i.sort((l,v)=>{const b=e.indexOf(l.id),f=e.indexOf(v.id);return b-f}),d$4.recomendedWallets=i;}else {const{chains:s,isAuth:n}=p$9.state,i=s?.join(","),l=a$4.isArray(t),v={page:1,sdks:n?"auth_v1":void 0,entries:a$4.RECOMMENDED_WALLET_AMOUNT,chains:i,version:2,excludedIds:l?t.join(","):void 0},{listings:b}=N$4?await m$6.getMobileListings(v):await m$6.getDesktopListings(v);d$4.recomendedWallets=Object.values(b);}return d$4.recomendedWallets},async getWallets(e){const t=F$5({},e),{explorerRecommendedWalletIds:s,explorerExcludedWalletIds:n}=y$6.state,{recomendedWallets:i}=d$4;if(n==="ALL")return d$4.wallets;i.length?t.excludedIds=i.map(x=>x.id).join(","):a$4.isArray(s)&&(t.excludedIds=s.join(",")),a$4.isArray(n)&&(t.excludedIds=[t.excludedIds,n].filter(Boolean).join(",")),p$9.state.isAuth&&(t.sdks="auth_v1");const{page:l,search:v}=e,{listings:b,total:f}=N$4?await m$6.getMobileListings(t):await m$6.getDesktopListings(t),A=Object.values(b),U=v?"search":"wallets";return d$4[U]={listings:[...d$4[U].listings,...A],total:f,page:l??1},{listings:A,total:f}},getWalletImageUrl(e){return m$6.getWalletImageUrl(e)},getAssetImageUrl(e){return m$6.getAssetImageUrl(e)},resetSearch(){d$4.search={listings:[],total:0,page:1};}},I$3=proxy({open:!1}),se$2={state:I$3,subscribe(e){return subscribe(I$3,()=>e(I$3))},async open(e){return new Promise(t=>{const{isUiLoaded:s,isDataLoaded:n}=p$9.state;if(a$4.removeWalletConnectDeepLink(),p$9.setWalletConnectUri(e?.uri),p$9.setChains(e?.chains),T$2.reset("ConnectWallet"),s&&n)I$3.open=!0,t();else {const i=setInterval(()=>{const l=p$9.state;l.isUiLoaded&&l.isDataLoaded&&(clearInterval(i),I$3.open=!0,t());},200);}})},close(){I$3.open=!1;}};var G$4=Object.defineProperty,$$3=Object.getOwnPropertySymbols,Q$6=Object.prototype.hasOwnProperty,X$4=Object.prototype.propertyIsEnumerable,S$4=(e,t,s)=>t in e?G$4(e,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):e[t]=s,Y$2=(e,t)=>{for(var s in t||(t={}))Q$6.call(t,s)&&S$4(e,s,t[s]);if($$3)for(var s of $$3(t))X$4.call(t,s)&&S$4(e,s,t[s]);return e};function Z$4(){return typeof matchMedia<"u"&&matchMedia("(prefers-color-scheme: dark)").matches}const C$2=proxy({themeMode:Z$4()?"dark":"light"}),ne$2={state:C$2,subscribe(e){return subscribe(C$2,()=>e(C$2))},setThemeConfig(e){const{themeMode:t,themeVariables:s}=e;t&&(C$2.themeMode=t),s&&(C$2.themeVariables=Y$2({},s));}},g$8=proxy({open:!1,message:"",variant:"success"}),oe$4={state:g$8,subscribe(e){return subscribe(g$8,()=>e(g$8))},openToast(e,t){g$8.open=!0,g$8.message=e,g$8.variant=t;},closeToast(){g$8.open=!1;}};
|
|
135210
135306
|
|
|
135211
|
-
let d$3 = class d{constructor(e){this.openModal=se$2.open,this.closeModal=se$2.close,this.subscribeModal=se$2.subscribe,this.setTheme=ne$2.setThemeConfig,ne$2.setThemeConfig(e),y$6.setConfig(e),this.initUi();}async initUi(){if(typeof window<"u"){await import('./index-
|
|
135307
|
+
let d$3 = class d{constructor(e){this.openModal=se$2.open,this.closeModal=se$2.close,this.subscribeModal=se$2.subscribe,this.setTheme=ne$2.setThemeConfig,ne$2.setThemeConfig(e),y$6.setConfig(e),this.initUi();}async initUi(){if(typeof window<"u"){await import('./index-Cg929i9a.js');const e=document.createElement("wcm-modal");document.body.insertAdjacentElement("beforeend",e),p$9.setIsUiLoaded(!0);}}};
|
|
135212
135308
|
|
|
135213
135309
|
var index$1 = /*#__PURE__*/Object.freeze({
|
|
135214
135310
|
__proto__: null,
|
|
@@ -152049,7 +152145,7 @@ var Analytics = /** @class */ (function (_super) {
|
|
|
152049
152145
|
return __generator(this, function (_b) {
|
|
152050
152146
|
switch (_b.label) {
|
|
152051
152147
|
case 0: return [4 /*yield*/, import(
|
|
152052
|
-
/* webpackChunkName: "auto-track" */ './auto-track
|
|
152148
|
+
/* webpackChunkName: "auto-track" */ './auto-track--R3R7Bp0.js')];
|
|
152053
152149
|
case 1:
|
|
152054
152150
|
autotrack = _b.sent();
|
|
152055
152151
|
return [2 /*return*/, (_a = autotrack.link).call.apply(_a, __spreadArray$1([this], args, false))];
|
|
@@ -152068,7 +152164,7 @@ var Analytics = /** @class */ (function (_super) {
|
|
|
152068
152164
|
return __generator(this, function (_b) {
|
|
152069
152165
|
switch (_b.label) {
|
|
152070
152166
|
case 0: return [4 /*yield*/, import(
|
|
152071
|
-
/* webpackChunkName: "auto-track" */ './auto-track
|
|
152167
|
+
/* webpackChunkName: "auto-track" */ './auto-track--R3R7Bp0.js')];
|
|
152072
152168
|
case 1:
|
|
152073
152169
|
autotrack = _b.sent();
|
|
152074
152170
|
return [2 /*return*/, (_a = autotrack.link).call.apply(_a, __spreadArray$1([this], args, false))];
|
|
@@ -152087,7 +152183,7 @@ var Analytics = /** @class */ (function (_super) {
|
|
|
152087
152183
|
return __generator(this, function (_b) {
|
|
152088
152184
|
switch (_b.label) {
|
|
152089
152185
|
case 0: return [4 /*yield*/, import(
|
|
152090
|
-
/* webpackChunkName: "auto-track" */ './auto-track
|
|
152186
|
+
/* webpackChunkName: "auto-track" */ './auto-track--R3R7Bp0.js')];
|
|
152091
152187
|
case 1:
|
|
152092
152188
|
autotrack = _b.sent();
|
|
152093
152189
|
return [2 /*return*/, (_a = autotrack.form).call.apply(_a, __spreadArray$1([this], args, false))];
|
|
@@ -152106,7 +152202,7 @@ var Analytics = /** @class */ (function (_super) {
|
|
|
152106
152202
|
return __generator(this, function (_b) {
|
|
152107
152203
|
switch (_b.label) {
|
|
152108
152204
|
case 0: return [4 /*yield*/, import(
|
|
152109
|
-
/* webpackChunkName: "auto-track" */ './auto-track
|
|
152205
|
+
/* webpackChunkName: "auto-track" */ './auto-track--R3R7Bp0.js')];
|
|
152110
152206
|
case 1:
|
|
152111
152207
|
autotrack = _b.sent();
|
|
152112
152208
|
return [2 /*return*/, (_a = autotrack.form).call.apply(_a, __spreadArray$1([this], args, false))];
|
|
@@ -152256,7 +152352,7 @@ var Analytics = /** @class */ (function (_super) {
|
|
|
152256
152352
|
return [2 /*return*/, []];
|
|
152257
152353
|
}
|
|
152258
152354
|
return [4 /*yield*/, import(
|
|
152259
|
-
/* webpackChunkName: "queryString" */ './index-
|
|
152355
|
+
/* webpackChunkName: "queryString" */ './index-CdrSzev5.js')];
|
|
152260
152356
|
case 1:
|
|
152261
152357
|
queryString = (_a.sent()).queryString;
|
|
152262
152358
|
return [2 /*return*/, queryString(this, query)];
|
|
@@ -154960,7 +155056,7 @@ function registerPlugins(writeKey, legacySettings, analytics, opts, options, plu
|
|
|
154960
155056
|
case 0:
|
|
154961
155057
|
if (!hasTsubMiddleware(legacySettings)) return [3 /*break*/, 2];
|
|
154962
155058
|
return [4 /*yield*/, import(
|
|
154963
|
-
/* webpackChunkName: "tsub-middleware" */ './index-
|
|
155059
|
+
/* webpackChunkName: "tsub-middleware" */ './index-ETVkv7zg.js').then(function (mod) {
|
|
154964
155060
|
return mod.tsubMiddleware(legacySettings.middlewareSettings.routingRules);
|
|
154965
155061
|
})];
|
|
154966
155062
|
case 1:
|
|
@@ -154973,7 +155069,7 @@ function registerPlugins(writeKey, legacySettings, analytics, opts, options, plu
|
|
|
154973
155069
|
tsubMiddleware = _d;
|
|
154974
155070
|
if (!(hasLegacyDestinations(legacySettings) || legacyIntegrationSources.length > 0)) return [3 /*break*/, 5];
|
|
154975
155071
|
return [4 /*yield*/, import(
|
|
154976
|
-
/* webpackChunkName: "ajs-destination" */ './index-
|
|
155072
|
+
/* webpackChunkName: "ajs-destination" */ './index-B91i8RAk.js').then(function (mod) {
|
|
154977
155073
|
return mod.ajsDestinations(writeKey, legacySettings, analytics.integrations, opts, tsubMiddleware, legacyIntegrationSources);
|
|
154978
155074
|
})];
|
|
154979
155075
|
case 4:
|
|
@@ -154986,7 +155082,7 @@ function registerPlugins(writeKey, legacySettings, analytics, opts, options, plu
|
|
|
154986
155082
|
legacyDestinations = _e;
|
|
154987
155083
|
if (!legacySettings.legacyVideoPluginsEnabled) return [3 /*break*/, 8];
|
|
154988
155084
|
return [4 /*yield*/, import(
|
|
154989
|
-
/* webpackChunkName: "legacyVideos" */ './index-
|
|
155085
|
+
/* webpackChunkName: "legacyVideos" */ './index-Snn5WTWA.js').then(function (mod) {
|
|
154990
155086
|
return mod.loadLegacyVideoPlugins(analytics);
|
|
154991
155087
|
})];
|
|
154992
155088
|
case 7:
|
|
@@ -154995,7 +155091,7 @@ function registerPlugins(writeKey, legacySettings, analytics, opts, options, plu
|
|
|
154995
155091
|
case 8:
|
|
154996
155092
|
if (!((_a = opts.plan) === null || _a === void 0 ? void 0 : _a.track)) return [3 /*break*/, 10];
|
|
154997
155093
|
return [4 /*yield*/, import(
|
|
154998
|
-
/* webpackChunkName: "schemaFilter" */ './index-
|
|
155094
|
+
/* webpackChunkName: "schemaFilter" */ './index-mkX832fp.js').then(function (mod) {
|
|
154999
155095
|
var _a;
|
|
155000
155096
|
return mod.schemaFilter((_a = opts.plan) === null || _a === void 0 ? void 0 : _a.track, legacySettings);
|
|
155001
155097
|
})];
|
|
@@ -155034,7 +155130,7 @@ function registerPlugins(writeKey, legacySettings, analytics, opts, options, plu
|
|
|
155034
155130
|
return enabled;
|
|
155035
155131
|
})) return [3 /*break*/, 17];
|
|
155036
155132
|
return [4 /*yield*/, import(
|
|
155037
|
-
/* webpackChunkName: "remoteMiddleware" */ './index-
|
|
155133
|
+
/* webpackChunkName: "remoteMiddleware" */ './index-QpqyXEd1.js').then(function (_a) {
|
|
155038
155134
|
var remoteMiddlewares = _a.remoteMiddlewares;
|
|
155039
155135
|
return __awaiter(_this, void 0, void 0, function () {
|
|
155040
155136
|
var middleware, promises;
|
|
@@ -222226,7 +222322,7 @@ const useProvidersContext = () => {
|
|
|
222226
222322
|
return context;
|
|
222227
222323
|
};
|
|
222228
222324
|
|
|
222229
|
-
const AddTokensWidget = React.lazy(() => import('./AddTokensWidget-
|
|
222325
|
+
const AddTokensWidget = React.lazy(() => import('./AddTokensWidget-DrbitSlF.js'));
|
|
222230
222326
|
class AddTokens extends Base {
|
|
222231
222327
|
eventTopic = IMTBLWidgetEvents.IMTBL_ADD_TOKENS_WIDGET_EVENT;
|
|
222232
222328
|
getValidatedProperties({ config, }) {
|
|
@@ -222270,7 +222366,7 @@ class AddTokens extends Base {
|
|
|
222270
222366
|
}
|
|
222271
222367
|
}
|
|
222272
222368
|
|
|
222273
|
-
const BridgeWidget = React.lazy(() => import('./BridgeWidget-
|
|
222369
|
+
const BridgeWidget = React.lazy(() => import('./BridgeWidget-CiImeTRw.js'));
|
|
222274
222370
|
class Bridge extends Base {
|
|
222275
222371
|
eventTopic = IMTBLWidgetEvents.IMTBL_BRIDGE_WIDGET_EVENT;
|
|
222276
222372
|
getValidatedProperties({ config }) {
|
|
@@ -222424,7 +222520,7 @@ const commerceFlows = [
|
|
|
222424
222520
|
CommerceFlowType.ADD_TOKENS,
|
|
222425
222521
|
];
|
|
222426
222522
|
|
|
222427
|
-
const CommerceWidget = React.lazy(() => import('./CommerceWidget-
|
|
222523
|
+
const CommerceWidget = React.lazy(() => import('./CommerceWidget-DX5sbo0g.js'));
|
|
222428
222524
|
class CommerceWidgetRoot extends Base {
|
|
222429
222525
|
eventTopic = IMTBLWidgetEvents.IMTBL_COMMERCE_WIDGET_EVENT;
|
|
222430
222526
|
getValidatedProperties({ config, }) {
|
|
@@ -224636,7 +224732,7 @@ const orchestrationEvents = {
|
|
|
224636
224732
|
sendRequestAddTokensEvent,
|
|
224637
224733
|
};
|
|
224638
224734
|
|
|
224639
|
-
const OnRampWidget = React.lazy(() => import('./OnRampWidget-
|
|
224735
|
+
const OnRampWidget = React.lazy(() => import('./OnRampWidget-D606IsS_.js').then(function (n) { return n.a; }));
|
|
224640
224736
|
class OnRamp extends Base {
|
|
224641
224737
|
eventTopic = IMTBLWidgetEvents.IMTBL_ONRAMP_WIDGET_EVENT;
|
|
224642
224738
|
getValidatedProperties({ config }) {
|
|
@@ -224774,7 +224870,7 @@ const sendSalePaymentTokenEvent = (eventTarget, details) => {
|
|
|
224774
224870
|
eventTarget.dispatchEvent(event);
|
|
224775
224871
|
};
|
|
224776
224872
|
|
|
224777
|
-
const SaleWidget = React.lazy(() => import('./SaleWidget-
|
|
224873
|
+
const SaleWidget = React.lazy(() => import('./SaleWidget-qvo6iSS8.js'));
|
|
224778
224874
|
class Sale extends Base {
|
|
224779
224875
|
eventTopic = IMTBLWidgetEvents.IMTBL_SALE_WIDGET_EVENT;
|
|
224780
224876
|
// TODO: add specific validation logic for the sale items
|
|
@@ -225011,7 +225107,7 @@ function GeoblockLoader({ widget, serviceUnavailableView, checkout, }) {
|
|
|
225011
225107
|
: serviceUnavailableView) }));
|
|
225012
225108
|
}
|
|
225013
225109
|
|
|
225014
|
-
const SwapWidget = React.lazy(() => import('./SwapWidget-
|
|
225110
|
+
const SwapWidget = React.lazy(() => import('./SwapWidget-Bit20Szc.js'));
|
|
225015
225111
|
class Swap extends Base {
|
|
225016
225112
|
eventTopic = IMTBLWidgetEvents.IMTBL_SWAP_WIDGET_EVENT;
|
|
225017
225113
|
getValidatedProperties({ config }) {
|
|
@@ -225136,7 +225232,7 @@ function sendDisconnectWalletEvent(eventTarget) {
|
|
|
225136
225232
|
eventTarget.dispatchEvent(disconnectWalletEvent);
|
|
225137
225233
|
}
|
|
225138
225234
|
|
|
225139
|
-
const WalletWidget = React.lazy(() => import('./WalletWidget-
|
|
225235
|
+
const WalletWidget = React.lazy(() => import('./WalletWidget-B9iMNKxs.js'));
|
|
225140
225236
|
class Wallet extends Base {
|
|
225141
225237
|
eventTopic = IMTBLWidgetEvents.IMTBL_WALLET_WIDGET_EVENT;
|
|
225142
225238
|
getValidatedProperties({ config }) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { dU as __awaiter, dV as __generator, e3 as isServer, dX as getNextIntegrationsURL, dW as loadScript } from './index-
|
|
1
|
+
import { dU as __awaiter, dV as __generator, e3 as isServer, dX as getNextIntegrationsURL, dW as loadScript } from './index-DlrVbPZ0.js';
|
|
2
2
|
|
|
3
3
|
function remoteMiddlewares(ctx, settings, obfuscate) {
|
|
4
4
|
var _a;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { dU as __awaiter, dV as __generator } from './index-
|
|
1
|
+
import { dU as __awaiter, dV as __generator } from './index-DlrVbPZ0.js';
|
|
2
2
|
|
|
3
3
|
function loadLegacyVideoPlugins(analytics) {
|
|
4
4
|
return __awaiter(this, void 0, void 0, function () {
|
|
@@ -7,7 +7,7 @@ function loadLegacyVideoPlugins(analytics) {
|
|
|
7
7
|
switch (_a.label) {
|
|
8
8
|
case 0: return [4 /*yield*/, import(
|
|
9
9
|
// @ts-expect-error
|
|
10
|
-
'./index.umd-
|
|
10
|
+
'./index.umd-Dh00suP-.js').then(function (n) { return n.i; })
|
|
11
11
|
// This is super gross, but we need to support the `window.analytics.plugins` namespace
|
|
12
12
|
// that is linked in the segment docs in order to be backwards compatible with ajs-classic
|
|
13
13
|
// @ts-expect-error
|