@imtbl/sdk 1.48.3-alpha.2 → 1.48.4-alpha
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-DcQ536Kq.js → blockchain_data-6Ynkevyr.js} +2 -2
- package/dist/blockchain_data.js +3 -3
- package/dist/browser/checkout/{AddFundsWidget-BTsiDIPA.js → AddFundsWidget-Co_ju-ke.js} +2 -2
- package/dist/browser/checkout/{BridgeWidget-tKT3gZvJ.js → BridgeWidget-DJBbVq0i.js} +6 -69
- package/dist/browser/checkout/{CheckoutWidget-rVWH25-L.js → CheckoutWidget-DbHiULy1.js} +1 -1
- package/dist/browser/checkout/{OnRampWidget-BEzfDDl2.js → OnRampWidget-DzXTolCG.js} +3 -3
- package/dist/browser/checkout/{SaleWidget-BvR2hJpl.js → SaleWidget-D-AlpzeP.js} +14 -17
- package/dist/browser/checkout/{SpendingCapHero-CWT_xLtF.js → SpendingCapHero-DFOYfIWo.js} +1 -1
- package/dist/browser/checkout/{SwapWidget-CWpvzIdH.js → SwapWidget-BrWzP83L.js} +6 -6
- package/dist/browser/checkout/{TextInputForm-_csNElIy.js → TextInputForm-APCsUHD4.js} +1 -1
- package/dist/browser/checkout/{TopUpView-DB5P3kx9.js → TopUpView-BrWJlMcJ.js} +1 -1
- package/dist/browser/checkout/{WalletWidget-BarmnrNC.js → WalletWidget-CbnY1QWY.js} +3 -3
- package/dist/browser/checkout/{auto-track-CETlw_Yf.js → auto-track-Ck6TGRRb.js} +1 -1
- package/dist/browser/checkout/{balance-D2H9EYdn.js → balance-C6ghC9kD.js} +2 -2
- package/dist/browser/checkout/{index-BisPAtYn.js → index-BuLxhSrr.js} +1 -1
- package/dist/browser/checkout/{index-OhHSzMLr.js → index-BzSg_aJy.js} +1 -1
- package/dist/browser/checkout/{index-BDzerMOU.js → index-Cmnc6N4J.js} +1 -1
- package/dist/browser/checkout/{index-DIREbbx7.js → index-DL_l5Q5C.js} +22 -94
- package/dist/browser/checkout/{index-DrJPskUz.js → index-DW7H58bj.js} +1 -1
- package/dist/browser/checkout/{index-BUN84kSM.js → index-Dd4yZoTI.js} +2 -2
- package/dist/browser/checkout/{index-Do1i-d1V.js → index-ROI-iNgW.js} +1 -1
- package/dist/browser/checkout/{index-CTDHP6cz.js → index-e9-pAQBe.js} +1 -1
- package/dist/browser/checkout/{index.umd-CGU3J_cV.js → index.umd-BYwG1L7K.js} +1 -1
- package/dist/browser/checkout/{retry-Bw5cX4ml.js → retry-KKUeT-Ok.js} +1 -1
- package/dist/browser/checkout/sdk.js +4 -4
- package/dist/browser/checkout/widgets-esm.js +1 -1
- package/dist/browser/checkout/widgets.js +10 -148
- package/dist/{checkout-BoDeeomL.js → checkout-Da-nacjC.js} +5 -5
- package/dist/checkout.d.ts +7 -6
- package/dist/checkout.js +5 -5
- package/dist/{config-9eb21Kvn.js → config-B9H7kkDM.js} +1 -1
- package/dist/config.js +1 -1
- package/dist/{index-DZo92OXX.js → index-BFfuatMQ.js} +1 -1
- package/dist/{index-RxuRdoNW.js → index-BL9Bx3-6.js} +1 -1
- package/dist/{index-fuhI5io_.js → index-CO7tTxw4.js} +1 -1
- package/dist/{index-D46S1fXy.js → index-DBkeJx1l.js} +1 -1
- package/dist/{index-Cd2-wh_U.js → index-DRlA6s-e.js} +3 -3
- package/dist/{index-BttRQL-q.js → index-O-hvC7lt.js} +4 -4
- package/dist/index.browser.js +4 -4
- package/dist/index.browser.js.map +1 -1
- package/dist/index.cjs +7 -7
- package/dist/index.d.ts +7 -6
- package/dist/index.js +14 -14
- package/dist/{minting_backend-FShe7MoD.js → minting_backend-DSF1zse-.js} +3 -3
- package/dist/minting_backend.js +5 -5
- package/dist/{orderbook-B8iE6-PF.js → orderbook-BRh-4UOX.js} +1 -1
- package/dist/orderbook.js +2 -2
- package/dist/{passport-B9UFP-3c.js → passport-CRFdW3Na.js} +3 -3
- package/dist/passport.js +4 -4
- package/dist/{webhook-DCFeI4sY.js → webhook--ObSxRIQ.js} +1 -1
- package/dist/webhook.js +2 -2
- package/dist/{x-CwPF_LGF.js → x-GFa9_HmA.js} +3 -3
- package/dist/x.js +4 -4
- package/package.json +1 -1
|
@@ -167362,7 +167362,7 @@ var Analytics = /** @class */ (function (_super) {
|
|
|
167362
167362
|
return __generator(this, function (_b) {
|
|
167363
167363
|
switch (_b.label) {
|
|
167364
167364
|
case 0: return [4 /*yield*/, import(
|
|
167365
|
-
/* webpackChunkName: "auto-track" */ './auto-track-
|
|
167365
|
+
/* webpackChunkName: "auto-track" */ './auto-track-Ck6TGRRb.js')];
|
|
167366
167366
|
case 1:
|
|
167367
167367
|
autotrack = _b.sent();
|
|
167368
167368
|
return [2 /*return*/, (_a = autotrack.link).call.apply(_a, __spreadArray$1([this], args, false))];
|
|
@@ -167381,7 +167381,7 @@ var Analytics = /** @class */ (function (_super) {
|
|
|
167381
167381
|
return __generator(this, function (_b) {
|
|
167382
167382
|
switch (_b.label) {
|
|
167383
167383
|
case 0: return [4 /*yield*/, import(
|
|
167384
|
-
/* webpackChunkName: "auto-track" */ './auto-track-
|
|
167384
|
+
/* webpackChunkName: "auto-track" */ './auto-track-Ck6TGRRb.js')];
|
|
167385
167385
|
case 1:
|
|
167386
167386
|
autotrack = _b.sent();
|
|
167387
167387
|
return [2 /*return*/, (_a = autotrack.link).call.apply(_a, __spreadArray$1([this], args, false))];
|
|
@@ -167400,7 +167400,7 @@ var Analytics = /** @class */ (function (_super) {
|
|
|
167400
167400
|
return __generator(this, function (_b) {
|
|
167401
167401
|
switch (_b.label) {
|
|
167402
167402
|
case 0: return [4 /*yield*/, import(
|
|
167403
|
-
/* webpackChunkName: "auto-track" */ './auto-track-
|
|
167403
|
+
/* webpackChunkName: "auto-track" */ './auto-track-Ck6TGRRb.js')];
|
|
167404
167404
|
case 1:
|
|
167405
167405
|
autotrack = _b.sent();
|
|
167406
167406
|
return [2 /*return*/, (_a = autotrack.form).call.apply(_a, __spreadArray$1([this], args, false))];
|
|
@@ -167419,7 +167419,7 @@ var Analytics = /** @class */ (function (_super) {
|
|
|
167419
167419
|
return __generator(this, function (_b) {
|
|
167420
167420
|
switch (_b.label) {
|
|
167421
167421
|
case 0: return [4 /*yield*/, import(
|
|
167422
|
-
/* webpackChunkName: "auto-track" */ './auto-track-
|
|
167422
|
+
/* webpackChunkName: "auto-track" */ './auto-track-Ck6TGRRb.js')];
|
|
167423
167423
|
case 1:
|
|
167424
167424
|
autotrack = _b.sent();
|
|
167425
167425
|
return [2 /*return*/, (_a = autotrack.form).call.apply(_a, __spreadArray$1([this], args, false))];
|
|
@@ -167569,7 +167569,7 @@ var Analytics = /** @class */ (function (_super) {
|
|
|
167569
167569
|
return [2 /*return*/, []];
|
|
167570
167570
|
}
|
|
167571
167571
|
return [4 /*yield*/, import(
|
|
167572
|
-
/* webpackChunkName: "queryString" */ './index-
|
|
167572
|
+
/* webpackChunkName: "queryString" */ './index-DW7H58bj.js')];
|
|
167573
167573
|
case 1:
|
|
167574
167574
|
queryString = (_a.sent()).queryString;
|
|
167575
167575
|
return [2 /*return*/, queryString(this, query)];
|
|
@@ -170273,7 +170273,7 @@ function registerPlugins(writeKey, legacySettings, analytics, opts, options, plu
|
|
|
170273
170273
|
case 0:
|
|
170274
170274
|
if (!hasTsubMiddleware(legacySettings)) return [3 /*break*/, 2];
|
|
170275
170275
|
return [4 /*yield*/, import(
|
|
170276
|
-
/* webpackChunkName: "tsub-middleware" */ './index-
|
|
170276
|
+
/* webpackChunkName: "tsub-middleware" */ './index-Cmnc6N4J.js').then(function (mod) {
|
|
170277
170277
|
return mod.tsubMiddleware(legacySettings.middlewareSettings.routingRules);
|
|
170278
170278
|
})];
|
|
170279
170279
|
case 1:
|
|
@@ -170286,7 +170286,7 @@ function registerPlugins(writeKey, legacySettings, analytics, opts, options, plu
|
|
|
170286
170286
|
tsubMiddleware = _d;
|
|
170287
170287
|
if (!(hasLegacyDestinations(legacySettings) || legacyIntegrationSources.length > 0)) return [3 /*break*/, 5];
|
|
170288
170288
|
return [4 /*yield*/, import(
|
|
170289
|
-
/* webpackChunkName: "ajs-destination" */ './index-
|
|
170289
|
+
/* webpackChunkName: "ajs-destination" */ './index-BuLxhSrr.js').then(function (mod) {
|
|
170290
170290
|
return mod.ajsDestinations(writeKey, legacySettings, analytics.integrations, opts, tsubMiddleware, legacyIntegrationSources);
|
|
170291
170291
|
})];
|
|
170292
170292
|
case 4:
|
|
@@ -170299,7 +170299,7 @@ function registerPlugins(writeKey, legacySettings, analytics, opts, options, plu
|
|
|
170299
170299
|
legacyDestinations = _e;
|
|
170300
170300
|
if (!legacySettings.legacyVideoPluginsEnabled) return [3 /*break*/, 8];
|
|
170301
170301
|
return [4 /*yield*/, import(
|
|
170302
|
-
/* webpackChunkName: "legacyVideos" */ './index-
|
|
170302
|
+
/* webpackChunkName: "legacyVideos" */ './index-Dd4yZoTI.js').then(function (mod) {
|
|
170303
170303
|
return mod.loadLegacyVideoPlugins(analytics);
|
|
170304
170304
|
})];
|
|
170305
170305
|
case 7:
|
|
@@ -170308,7 +170308,7 @@ function registerPlugins(writeKey, legacySettings, analytics, opts, options, plu
|
|
|
170308
170308
|
case 8:
|
|
170309
170309
|
if (!((_a = opts.plan) === null || _a === void 0 ? void 0 : _a.track)) return [3 /*break*/, 10];
|
|
170310
170310
|
return [4 /*yield*/, import(
|
|
170311
|
-
/* webpackChunkName: "schemaFilter" */ './index-
|
|
170311
|
+
/* webpackChunkName: "schemaFilter" */ './index-e9-pAQBe.js').then(function (mod) {
|
|
170312
170312
|
var _a;
|
|
170313
170313
|
return mod.schemaFilter((_a = opts.plan) === null || _a === void 0 ? void 0 : _a.track, legacySettings);
|
|
170314
170314
|
})];
|
|
@@ -170347,7 +170347,7 @@ function registerPlugins(writeKey, legacySettings, analytics, opts, options, plu
|
|
|
170347
170347
|
return enabled;
|
|
170348
170348
|
})) return [3 /*break*/, 17];
|
|
170349
170349
|
return [4 /*yield*/, import(
|
|
170350
|
-
/* webpackChunkName: "remoteMiddleware" */ './index-
|
|
170350
|
+
/* webpackChunkName: "remoteMiddleware" */ './index-ROI-iNgW.js').then(function (_a) {
|
|
170351
170351
|
var remoteMiddlewares = _a.remoteMiddlewares;
|
|
170352
170352
|
return __awaiter(_this, void 0, void 0, function () {
|
|
170353
170353
|
var middleware, promises;
|
|
@@ -174421,9 +174421,8 @@ var views$3 = {
|
|
|
174421
174421
|
fee: "Swap fee ~ {{symbol}} {{amount}}"
|
|
174422
174422
|
},
|
|
174423
174423
|
orderReview: {
|
|
174424
|
-
heading: "
|
|
174424
|
+
heading: "Payment summary",
|
|
174425
174425
|
"continue": "Proceed",
|
|
174426
|
-
continueFreeMint: "Proceed for free",
|
|
174427
174426
|
payWith: {
|
|
174428
174427
|
SWAP: "Swap & Pay with {{symbol}}",
|
|
174429
174428
|
SUFFICIENT: "Pay with {{symbol}}"
|
|
@@ -174911,23 +174910,6 @@ var drawers$3 = {
|
|
|
174911
174910
|
body: "Make sure pop ups are enabled and follow the prompts in your wallet to connect",
|
|
174912
174911
|
actionButtonText: "Try again"
|
|
174913
174912
|
}
|
|
174914
|
-
},
|
|
174915
|
-
withdrawalQueue: {
|
|
174916
|
-
exceedsThreshold: {
|
|
174917
|
-
heading: "This withdraw will trigger a 24h delay. Withdraw less than {{threshold}} to avoid this.",
|
|
174918
|
-
body: "This withdrawal is over a security threshold that will trigger a 24hr delay. Withdraw an amount lower than {{threshold}} to have it actioned in ~20 minutes. Alternatively you can proceed and receive funds in 24hrs. ",
|
|
174919
|
-
buttons: {
|
|
174920
|
-
cancel: "Lower amount",
|
|
174921
|
-
proceed: "I understand"
|
|
174922
|
-
}
|
|
174923
|
-
},
|
|
174924
|
-
queueActivated: {
|
|
174925
|
-
heading: "This withdrawal will take 24hrs.",
|
|
174926
|
-
body: "We’re experiencing higher than normal congestion and wanted to let you know before you proceed.",
|
|
174927
|
-
buttons: {
|
|
174928
|
-
proceed: "I understand"
|
|
174929
|
-
}
|
|
174930
|
-
}
|
|
174931
174913
|
}
|
|
174932
174914
|
};
|
|
174933
174915
|
var enTranslations = {
|
|
@@ -175251,9 +175233,8 @@ var views$2 = {
|
|
|
175251
175233
|
fee: "交換手数料 ~ {{symbol}} {{amount}}"
|
|
175252
175234
|
},
|
|
175253
175235
|
orderReview: {
|
|
175254
|
-
heading: "
|
|
175236
|
+
heading: "支払いの概要",
|
|
175255
175237
|
"continue": "続行",
|
|
175256
|
-
continueFreeMint: "無料で続行",
|
|
175257
175238
|
payWith: {
|
|
175258
175239
|
SWAP: "{{symbol}}でスワップ&支払い",
|
|
175259
175240
|
SUFFICIENT: "{{symbol}}で支払う"
|
|
@@ -175701,23 +175682,6 @@ var drawers$2 = {
|
|
|
175701
175682
|
body: "ポップアップが有効になっていることを確認し、ウォレットのプロンプトに従って接続してください。",
|
|
175702
175683
|
actionButtonText: "もう一度試す"
|
|
175703
175684
|
}
|
|
175704
|
-
},
|
|
175705
|
-
withdrawalQueue: {
|
|
175706
|
-
exceedsThreshold: {
|
|
175707
|
-
heading: "この引き出しには 24 時間の遅延が発生します。これを回避するには、{{threshold}} 未満の引き出しを行ってください。",
|
|
175708
|
-
body: "この出金はセキュリティしきい値を超えているため、24 時間の遅延が発生します。{{threshold}} 未満の金額を出金すると、約 20 分で処理されます。または、続行して 24 時間以内に資金を受け取ることもできます。",
|
|
175709
|
-
buttons: {
|
|
175710
|
-
cancel: "低い金額",
|
|
175711
|
-
proceed: "わかりました"
|
|
175712
|
-
}
|
|
175713
|
-
},
|
|
175714
|
-
queueActivated: {
|
|
175715
|
-
heading: "この引き出しには24時間かかります。",
|
|
175716
|
-
body: "通常よりも混雑がひどいため、続行する前にお知らせします。",
|
|
175717
|
-
buttons: {
|
|
175718
|
-
proceed: "わかりました"
|
|
175719
|
-
}
|
|
175720
|
-
}
|
|
175721
175685
|
}
|
|
175722
175686
|
};
|
|
175723
175687
|
var jaTranslations = {
|
|
@@ -176038,9 +176002,8 @@ var views$1 = {
|
|
|
176038
176002
|
fee: "교환 수수료 ~ {{symbol}} {{amount}}"
|
|
176039
176003
|
},
|
|
176040
176004
|
orderReview: {
|
|
176041
|
-
heading: "
|
|
176005
|
+
heading: "결제 요약",
|
|
176042
176006
|
"continue": "계속",
|
|
176043
|
-
continueFreeMint: "무료로 진행하세요",
|
|
176044
176007
|
payWith: {
|
|
176045
176008
|
SWAP: "{{symbol}}로 스왑 및 결제하기",
|
|
176046
176009
|
SUFFICIENT: "{{symbol}}로 결제"
|
|
@@ -176488,23 +176451,6 @@ var drawers$1 = {
|
|
|
176488
176451
|
body: "팝업이 활성화되어 있는지 확인하고 지갑의 프롬프트를 따라 연결하세요.",
|
|
176489
176452
|
actionButtonText: "다시 시도"
|
|
176490
176453
|
}
|
|
176491
|
-
},
|
|
176492
|
-
withdrawalQueue: {
|
|
176493
|
-
exceedsThreshold: {
|
|
176494
|
-
heading: "이 인출은 24시간 지연을 유발합니다. 이를 피하려면 {{threshold}}보다 적게 인출하세요.",
|
|
176495
|
-
body: "이 출금은 보안 임계값을 초과하여 24시간 지연이 발생합니다. {{threshold}}보다 적은 금액을 출금하면 약 20분 내에 처리됩니다. 아니면 진행하여 24시간 내에 자금을 받을 수 있습니다.",
|
|
176496
|
-
buttons: {
|
|
176497
|
-
cancel: "낮은 금액",
|
|
176498
|
-
proceed: "이해합니다"
|
|
176499
|
-
}
|
|
176500
|
-
},
|
|
176501
|
-
queueActivated: {
|
|
176502
|
-
heading: "인출에는 24시간이 소요됩니다.",
|
|
176503
|
-
body: "평소보다 교통 체증이 심해 진행하기 전에 알려드리고자 합니다.",
|
|
176504
|
-
buttons: {
|
|
176505
|
-
proceed: "이해합니다"
|
|
176506
|
-
}
|
|
176507
|
-
}
|
|
176508
176454
|
}
|
|
176509
176455
|
};
|
|
176510
176456
|
var koTranslations = {
|
|
@@ -176825,9 +176771,8 @@ var views = {
|
|
|
176825
176771
|
fee: "交换费用 ~ {{symbol}} {{amount}}"
|
|
176826
176772
|
},
|
|
176827
176773
|
orderReview: {
|
|
176828
|
-
heading: "
|
|
176774
|
+
heading: "付款摘要",
|
|
176829
176775
|
"continue": "继续",
|
|
176830
|
-
continueFreeMint: "免费继续",
|
|
176831
176776
|
payWith: {
|
|
176832
176777
|
SWAP: "使用{{symbol}}进行交换和支付",
|
|
176833
176778
|
SUFFICIENT: "使用{{symbol}}支付"
|
|
@@ -177275,23 +177220,6 @@ var drawers = {
|
|
|
177275
177220
|
body: "确保弹出窗口已启用,并按照钱包中的提示进行连接。",
|
|
177276
177221
|
actionButtonText: "重试"
|
|
177277
177222
|
}
|
|
177278
|
-
},
|
|
177279
|
-
withdrawalQueue: {
|
|
177280
|
-
exceedsThreshold: {
|
|
177281
|
-
heading: "此次提款将触发 24 小时延迟。提款金额不得超过 {{threshold}},以避免出现此情况。",
|
|
177282
|
-
body: "此次提款超过安全阈值,将导致 24 小时延迟。提款金额低于 {{threshold}} 可在约 20 分钟内完成。或者,您也可以继续操作并在 24 小时内收到资金。",
|
|
177283
|
-
buttons: {
|
|
177284
|
-
cancel: "较低金额",
|
|
177285
|
-
proceed: "我明白"
|
|
177286
|
-
}
|
|
177287
|
-
},
|
|
177288
|
-
queueActivated: {
|
|
177289
|
-
heading: "此次提款将耗时 24 小时。",
|
|
177290
|
-
body: "我们正面临比平常更严重的拥堵,因此我们想在您继续前通知您。",
|
|
177291
|
-
buttons: {
|
|
177292
|
-
proceed: "我明白"
|
|
177293
|
-
}
|
|
177294
|
-
}
|
|
177295
177223
|
}
|
|
177296
177224
|
};
|
|
177297
177225
|
var zhTranslations = {
|
|
@@ -178494,7 +178422,7 @@ function snapshot(proxyObject, handlePromise) {
|
|
|
178494
178422
|
|
|
178495
178423
|
const o=proxy({history:["ConnectWallet"],view:"ConnectWallet",data:void 0}),T={state:o,subscribe(e){return subscribe(o,()=>e(o))},push(e,t){e!==o.view&&(o.view=e,t&&(o.data=t),o.history.push(e));},reset(e){o.view=e,o.history=[e];},replace(e){o.history.length>1&&(o.history[o.history.length-1]=e,o.view=e);},goBack(){if(o.history.length>1){o.history.pop();const[e]=o.history.slice(-1);o.view=e;}},setData(e){o.data=e;}},a$2={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$2.isMobile()&&navigator.userAgent.toLowerCase().includes("android")},isIos(){const e=navigator.userAgent.toLowerCase();return a$2.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$2.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$2.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$2.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$2.WALLETCONNECT_DEEPLINK_CHOICE,JSON.stringify({href:t,name:"Android"}));}catch{console.info("Unable to set WalletConnect android deep link");}},removeWalletConnectDeepLink(){try{localStorage.removeItem(a$2.WALLETCONNECT_DEEPLINK_CHOICE);}catch{console.info("Unable to remove WalletConnect deep link");}},setModalVersionInStorage(){try{typeof localStorage<"u"&&localStorage.setItem(a$2.WCM_VERSION,"2.6.2");}catch{console.info("Unable to set Web3Modal version in storage");}},getWalletRouterData(){var e;const t=(e=T.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=proxy({enabled:_$3,userSessionId:"",events:[],connectedWalletId:void 0}),R$3={state:r,subscribe(e){return subscribe(r.events,()=>e(snapshot(r.events[r.events.length-1])))},initialize(){r.enabled&&typeof(crypto==null?void 0:crypto.randomUUID)<"u"&&(r.userSessionId=crypto.randomUUID());},setConnectedWalletId(e){r.connectedWalletId=e;},click(e){if(r.enabled){const t={type:"CLICK",name:e.name,userSessionId:r.userSessionId,timestamp:Date.now(),data:e};r.events.push(t);}},track(e){if(r.enabled){const t={type:"TRACK",name:e.name,userSessionId:r.userSessionId,timestamp:Date.now(),data:e};r.events.push(t);}},view(e){if(r.enabled){const t={type:"VIEW",name:e.name,userSessionId:r.userSessionId,timestamp:Date.now(),data:e};r.events.push(t);}}},c$1=proxy({chains:void 0,walletConnectUri:void 0,isAuth:!1,isCustomDesktop:!1,isCustomMobile:!1,isDataLoaded:!1,isUiLoaded:!1}),p$3={state:c$1,subscribe(e){return subscribe(c$1,()=>e(c$1))},setChains(e){c$1.chains=e;},setWalletConnectUri(e){c$1.walletConnectUri=e;},setIsCustomDesktop(e){c$1.isCustomDesktop=e;},setIsCustomMobile(e){c$1.isCustomMobile=e;},setIsDataLoaded(e){c$1.isDataLoaded=e;},setIsUiLoaded(e){c$1.isUiLoaded=e;},setIsAuth(e){c$1.isAuth=e;}},W$1=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$3={state:W$1,subscribe(e){return subscribe(W$1,()=>e(W$1))},setConfig(e){var t,s;R$3.initialize(),p$3.setChains(e.chains),p$3.setIsAuth(Boolean(e.enableAuthMode)),p$3.setIsCustomMobile(Boolean((t=e.mobileWallets)==null?void 0:t.length)),p$3.setIsCustomDesktop(Boolean((s=e.desktopWallets)==null?void 0:s.length)),a$2.setModalVersionInStorage(),Object.assign(W$1,e);}};var V$2=Object.defineProperty,D$5=Object.getOwnPropertySymbols,H$2=Object.prototype.hasOwnProperty,B$2=Object.prototype.propertyIsEnumerable,M$2=(e,t,s)=>t in e?V$2(e,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):e[t]=s,K$2=(e,t)=>{for(var s in t||(t={}))H$2.call(t,s)&&M$2(e,s,t[s]);if(D$5)for(var s of D$5(t))B$2.call(t,s)&&M$2(e,s,t[s]);return e};const L$3="https://explorer-api.walletconnect.com",E$3="wcm",O$4="js-2.6.2";async function w$4(e,t){const s=K$2({sdkType:E$3,sdkVersion:O$4},t),n=new URL(e,L$3);return n.searchParams.append("projectId",y$3.state.projectId),Object.entries(s).forEach(([i,l])=>{l&&n.searchParams.append(i,String(l));}),(await fetch(n)).json()}const m$2={async getDesktopListings(e){return w$4("/w3m/v1/getDesktopListings",e)},async getMobileListings(e){return w$4("/w3m/v1/getMobileListings",e)},async getInjectedListings(e){return w$4("/w3m/v1/getInjectedListings",e)},async getAllListings(e){return w$4("/w3m/v1/getAllListings",e)},getWalletImageUrl(e){return `${L$3}/w3m/v1/getWalletImage/${e}?projectId=${y$3.state.projectId}&sdkType=${E$3}&sdkVersion=${O$4}`},getAssetImageUrl(e){return `${L$3}/w3m/v1/getAssetImage/${e}?projectId=${y$3.state.projectId}&sdkType=${E$3}&sdkVersion=${O$4}`}};var z$2=Object.defineProperty,j$3=Object.getOwnPropertySymbols,J$2=Object.prototype.hasOwnProperty,q$2=Object.prototype.propertyIsEnumerable,k$2=(e,t,s)=>t in e?z$2(e,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):e[t]=s,F$3=(e,t)=>{for(var s in t||(t={}))J$2.call(t,s)&&k$2(e,s,t[s]);if(j$3)for(var s of j$3(t))q$2.call(t,s)&&k$2(e,s,t[s]);return e};const N$3=a$2.isMobile(),d$2=proxy({wallets:{listings:[],total:0,page:1},search:{listings:[],total:0,page:1},recomendedWallets:[]}),te$2={state:d$2,async getRecomendedWallets(){const{explorerRecommendedWalletIds:e,explorerExcludedWalletIds:t}=y$3.state;if(e==="NONE"||t==="ALL"&&!e)return d$2.recomendedWallets;if(a$2.isArray(e)){const s={recommendedIds:e.join(",")},{listings:n}=await m$2.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$2.recomendedWallets=i;}else {const{chains:s,isAuth:n}=p$3.state,i=s?.join(","),l=a$2.isArray(t),v={page:1,sdks:n?"auth_v1":void 0,entries:a$2.RECOMMENDED_WALLET_AMOUNT,chains:i,version:2,excludedIds:l?t.join(","):void 0},{listings:b}=N$3?await m$2.getMobileListings(v):await m$2.getDesktopListings(v);d$2.recomendedWallets=Object.values(b);}return d$2.recomendedWallets},async getWallets(e){const t=F$3({},e),{explorerRecommendedWalletIds:s,explorerExcludedWalletIds:n}=y$3.state,{recomendedWallets:i}=d$2;if(n==="ALL")return d$2.wallets;i.length?t.excludedIds=i.map(x=>x.id).join(","):a$2.isArray(s)&&(t.excludedIds=s.join(",")),a$2.isArray(n)&&(t.excludedIds=[t.excludedIds,n].filter(Boolean).join(",")),p$3.state.isAuth&&(t.sdks="auth_v1");const{page:l,search:v}=e,{listings:b,total:f}=N$3?await m$2.getMobileListings(t):await m$2.getDesktopListings(t),A=Object.values(b),U=v?"search":"wallets";return d$2[U]={listings:[...d$2[U].listings,...A],total:f,page:l??1},{listings:A,total:f}},getWalletImageUrl(e){return m$2.getWalletImageUrl(e)},getAssetImageUrl(e){return m$2.getAssetImageUrl(e)},resetSearch(){d$2.search={listings:[],total:0,page:1};}},I$1=proxy({open:!1}),se={state:I$1,subscribe(e){return subscribe(I$1,()=>e(I$1))},async open(e){return new Promise(t=>{const{isUiLoaded:s,isDataLoaded:n}=p$3.state;if(a$2.removeWalletConnectDeepLink(),p$3.setWalletConnectUri(e?.uri),p$3.setChains(e?.chains),T.reset("ConnectWallet"),s&&n)I$1.open=!0,t();else {const i=setInterval(()=>{const l=p$3.state;l.isUiLoaded&&l.isDataLoaded&&(clearInterval(i),I$1.open=!0,t());},200);}})},close(){I$1.open=!1;}};var G$2=Object.defineProperty,$$3=Object.getOwnPropertySymbols,Q$4=Object.prototype.hasOwnProperty,X$2=Object.prototype.propertyIsEnumerable,S$3=(e,t,s)=>t in e?G$2(e,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):e[t]=s,Y=(e,t)=>{for(var s in t||(t={}))Q$4.call(t,s)&&S$3(e,s,t[s]);if($$3)for(var s of $$3(t))X$2.call(t,s)&&S$3(e,s,t[s]);return e};function Z$2(){return typeof matchMedia<"u"&&matchMedia("(prefers-color-scheme: dark)").matches}const C=proxy({themeMode:Z$2()?"dark":"light"}),ne={state:C,subscribe(e){return subscribe(C,()=>e(C))},setThemeConfig(e){const{themeMode:t,themeVariables:s}=e;t&&(C.themeMode=t),s&&(C.themeVariables=Y({},s));}},g$5=proxy({open:!1,message:"",variant:"success"}),oe$2={state:g$5,subscribe(e){return subscribe(g$5,()=>e(g$5))},openToast(e,t){g$5.open=!0,g$5.message=e,g$5.variant=t;},closeToast(){g$5.open=!1;}};
|
|
178496
178424
|
|
|
178497
|
-
let d$1 = class d{constructor(e){this.openModal=se.open,this.closeModal=se.close,this.subscribeModal=se.subscribe,this.setTheme=ne.setThemeConfig,ne.setThemeConfig(e),y$3.setConfig(e),this.initUi();}async initUi(){if(typeof window<"u"){await import('./index-
|
|
178425
|
+
let d$1 = class d{constructor(e){this.openModal=se.open,this.closeModal=se.close,this.subscribeModal=se.subscribe,this.setTheme=ne.setThemeConfig,ne.setThemeConfig(e),y$3.setConfig(e),this.initUi();}async initUi(){if(typeof window<"u"){await import('./index-BzSg_aJy.js');const e=document.createElement("wcm-modal");document.body.insertAdjacentElement("beforeend",e),p$3.setIsUiLoaded(!0);}}};
|
|
178498
178426
|
|
|
178499
178427
|
var index = /*#__PURE__*/Object.freeze({
|
|
178500
178428
|
__proto__: null,
|
|
@@ -191493,7 +191421,7 @@ function GeoblockLoader({ widget, serviceUnavailableView, checkout, }) {
|
|
|
191493
191421
|
: serviceUnavailableView) }));
|
|
191494
191422
|
}
|
|
191495
191423
|
|
|
191496
|
-
const SwapWidget = React.lazy(() => import('./SwapWidget-
|
|
191424
|
+
const SwapWidget = React.lazy(() => import('./SwapWidget-BrWzP83L.js'));
|
|
191497
191425
|
class Swap extends Base {
|
|
191498
191426
|
eventTopic = IMTBLWidgetEvents.IMTBL_SWAP_WIDGET_EVENT;
|
|
191499
191427
|
getValidatedProperties({ config }) {
|
|
@@ -191620,7 +191548,7 @@ const sendOnRampFailedEvent = (eventTarget, reason) => {
|
|
|
191620
191548
|
eventTarget.dispatchEvent(failedEvent);
|
|
191621
191549
|
};
|
|
191622
191550
|
|
|
191623
|
-
const OnRampWidget = React.lazy(() => import('./OnRampWidget-
|
|
191551
|
+
const OnRampWidget = React.lazy(() => import('./OnRampWidget-DzXTolCG.js').then(function (n) { return n.a; }));
|
|
191624
191552
|
class OnRamp extends Base {
|
|
191625
191553
|
eventTopic = IMTBLWidgetEvents.IMTBL_ONRAMP_WIDGET_EVENT;
|
|
191626
191554
|
getValidatedProperties({ config }) {
|
|
@@ -191709,7 +191637,7 @@ function sendDisconnectWalletEvent(eventTarget) {
|
|
|
191709
191637
|
eventTarget.dispatchEvent(disconnectWalletEvent);
|
|
191710
191638
|
}
|
|
191711
191639
|
|
|
191712
|
-
const WalletWidget = React.lazy(() => import('./WalletWidget-
|
|
191640
|
+
const WalletWidget = React.lazy(() => import('./WalletWidget-CbnY1QWY.js'));
|
|
191713
191641
|
class Wallet extends Base {
|
|
191714
191642
|
eventTopic = IMTBLWidgetEvents.IMTBL_WALLET_WIDGET_EVENT;
|
|
191715
191643
|
getValidatedProperties({ config }) {
|
|
@@ -191851,7 +191779,7 @@ const sendSalePaymentTokenEvent = (eventTarget, details) => {
|
|
|
191851
191779
|
eventTarget.dispatchEvent(event);
|
|
191852
191780
|
};
|
|
191853
191781
|
|
|
191854
|
-
const SaleWidget = React.lazy(() => import('./SaleWidget-
|
|
191782
|
+
const SaleWidget = React.lazy(() => import('./SaleWidget-D-AlpzeP.js'));
|
|
191855
191783
|
class Sale extends Base {
|
|
191856
191784
|
eventTopic = IMTBLWidgetEvents.IMTBL_SALE_WIDGET_EVENT;
|
|
191857
191785
|
// TODO: add specific validation logic for the sale items
|
|
@@ -191927,7 +191855,7 @@ class Sale extends Base {
|
|
|
191927
191855
|
}
|
|
191928
191856
|
}
|
|
191929
191857
|
|
|
191930
|
-
const BridgeWidget = React.lazy(() => import('./BridgeWidget-
|
|
191858
|
+
const BridgeWidget = React.lazy(() => import('./BridgeWidget-DJBbVq0i.js').then(function (n) { return n.a; }));
|
|
191931
191859
|
class Bridge extends Base {
|
|
191932
191860
|
eventTopic = IMTBLWidgetEvents.IMTBL_BRIDGE_WIDGET_EVENT;
|
|
191933
191861
|
getValidatedProperties({ config }) {
|
|
@@ -191970,7 +191898,7 @@ class Bridge extends Base {
|
|
|
191970
191898
|
}
|
|
191971
191899
|
}
|
|
191972
191900
|
|
|
191973
|
-
const CheckoutWidget = React.lazy(() => import('./CheckoutWidget-
|
|
191901
|
+
const CheckoutWidget = React.lazy(() => import('./CheckoutWidget-DbHiULy1.js'));
|
|
191974
191902
|
class CheckoutWidgetRoot extends Base {
|
|
191975
191903
|
eventTopic = IMTBLWidgetEvents.IMTBL_CHECKOUT_WIDGET_EVENT;
|
|
191976
191904
|
getValidatedProperties({ config, }) {
|
|
@@ -192030,7 +191958,7 @@ function sendAddFundsGoBackEvent(eventTarget) {
|
|
|
192030
191958
|
eventTarget.dispatchEvent(closeWidgetEvent);
|
|
192031
191959
|
}
|
|
192032
191960
|
|
|
192033
|
-
const AddFundsWidget = React.lazy(() => import('./AddFundsWidget-
|
|
191961
|
+
const AddFundsWidget = React.lazy(() => import('./AddFundsWidget-Co_ju-ke.js'));
|
|
192034
191962
|
class AddFunds extends Base {
|
|
192035
191963
|
eventTopic = IMTBLWidgetEvents.IMTBL_ADD_FUNDS_WIDGET_EVENT;
|
|
192036
191964
|
getValidatedProperties({ config, }) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { cY as __awaiter, cZ as __generator } from './index-
|
|
1
|
+
import { cY as __awaiter, cZ as __generator } from './index-DL_l5Q5C.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-BYwG1L7K.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
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { cY as __awaiter, cZ as __generator, d7 as isServer, c$ as getNextIntegrationsURL, c_ as loadScript } from './index-
|
|
1
|
+
import { cY as __awaiter, cZ as __generator, d7 as isServer, c$ as getNextIntegrationsURL, c_ as loadScript } from './index-DL_l5Q5C.js';
|
|
2
2
|
|
|
3
3
|
function remoteMiddlewares(ctx, settings, obfuscate) {
|
|
4
4
|
var _a;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as reactExports, be as getDefaultTokenImage, j as jsx, cy as useBrowserLayoutEffect } from './index-
|
|
1
|
+
import { r as reactExports, be as getDefaultTokenImage, j as jsx, cy as useBrowserLayoutEffect } from './index-DL_l5Q5C.js';
|
|
2
2
|
|
|
3
3
|
function TokenImage({ src, name, environment, theme, defaultImage, ...forwardedProps }) {
|
|
4
4
|
const [error, setError] = reactExports.useState(false);
|