@upcoming/multichain-widget 0.2.0 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +54 -8
- package/dist/{add-BrehTFvW.mjs → add-DKTOrhmM.mjs} +1 -1
- package/dist/{all-wallets-BttebWF1.mjs → all-wallets-aYzIazvp.mjs} +1 -1
- package/dist/{app-store-BLAI-64m.mjs → app-store-CKrxMlxU.mjs} +1 -1
- package/dist/{apple-CkU5V0mT.mjs → apple-CJFbfjqC.mjs} +1 -1
- package/dist/{ar_AR-CTNWGWSS-B2yhhasT.mjs → ar_AR-44JUQ6EW-DZr8TU0E.mjs} +85 -25
- package/dist/{arrow-bottom-V8TkUmV_.mjs → arrow-bottom-6hVe7wm0.mjs} +1 -1
- package/dist/{arrow-bottom-circle-DCcOe409.mjs → arrow-bottom-circle-_rfKaesm.mjs} +1 -1
- package/dist/{arrow-left-DbARP9YM.mjs → arrow-left-vFsMFs5X.mjs} +1 -1
- package/dist/{arrow-right-DutHXxu2.mjs → arrow-right-DNmCe1hl.mjs} +1 -1
- package/dist/{arrow-top-DGUXC4sF.mjs → arrow-top-3kV0--PO.mjs} +1 -1
- package/dist/{bank-Z2AjnoUe.mjs → bank-UC0Wo-M3.mjs} +1 -1
- package/dist/baseAccount-44UITRK7-BPWMYfgK.mjs +4 -0
- package/dist/{basic-CKWB0bPc.mjs → basic-Dr7uchAM.mjs} +72 -77
- package/dist/{browser-C8Zo2jMt.mjs → browser-DIrq4E9X.mjs} +1 -1
- package/dist/{card-DgFV79d8.mjs → card-DyGXQ_xB.mjs} +1 -1
- package/dist/{ccip-Cosn6-Eb.mjs → ccip-CdYPmLxY.mjs} +1 -1
- package/dist/{checkmark-D3KdCJPR.mjs → checkmark-DDFrz950.mjs} +1 -1
- package/dist/{checkmark-bold-BtoVinWE.mjs → checkmark-bold-BlZK2WdM.mjs} +1 -1
- package/dist/{chevron-bottom-B6D6HIAF.mjs → chevron-bottom-DjQbReGh.mjs} +1 -1
- package/dist/{chevron-left-DAfZud_B.mjs → chevron-left-2vPMoi5c.mjs} +1 -1
- package/dist/{chevron-right-DI0SBP0U.mjs → chevron-right-YWtBje-5.mjs} +1 -1
- package/dist/{chevron-top-BX91kGkc.mjs → chevron-top-DKmWxpPJ.mjs} +1 -1
- package/dist/{chrome-store-C6rHeCDE.mjs → chrome-store-uwPUSaie.mjs} +1 -1
- package/dist/{clock-CHuMgbzE.mjs → clock-BkMC4mPm.mjs} +1 -1
- package/dist/{close-Bb5OTH4S.mjs → close-CMJ1Hqmj.mjs} +1 -1
- package/dist/{coinPlaceholder-ELOmgyFh.mjs → coinPlaceholder-Bf8G7kLI.mjs} +1 -1
- package/dist/{compass-cqODy4xd.mjs → compass-C1Z0-p-N.mjs} +1 -1
- package/dist/{copy-CO5egQvD.mjs → copy-DxCof3yl.mjs} +1 -1
- package/dist/{core-CrknhIf6.mjs → core-BSjxlOS1.mjs} +2890 -3401
- package/dist/{cursor-BSOFA4LV.mjs → cursor-T-6Bjeul.mjs} +1 -1
- package/dist/{cursor-transparent-Dc-loLaQ.mjs → cursor-transparent-BjMsPQO7.mjs} +1 -1
- package/dist/{de_DE-P43L3PR7-CtO9uiNS.mjs → de_DE-PYAO5YD6-DRiWndek.mjs} +81 -21
- package/dist/{desktop-BAaUFdNH.mjs → desktop-DfO5SLm6.mjs} +1 -1
- package/dist/{disconnect-vF4IKSHO.mjs → disconnect-eMvwMOmY.mjs} +1 -1
- package/dist/{discord-CSZjBhGd.mjs → discord-COTxDMht.mjs} +1 -1
- package/dist/en_US-Y4ZOVFV4-D0OdwtbY.mjs +4 -0
- package/dist/{es_419-JBX5FS3Q-hWy9nCEf.mjs → es_419-HRGOJ6VT-Bb7kiWEN.mjs} +85 -25
- package/dist/{etherscan-XImDgyDP.mjs → etherscan-5t_QMu3H.mjs} +1 -1
- package/dist/{exclamation-triangle-BI6Tf1GF.mjs → exclamation-triangle-CUSwVJ4f.mjs} +1 -1
- package/dist/{extension-Ctv_vE80.mjs → extension-DHr5hKWR.mjs} +1 -1
- package/dist/{external-link-CqTeG_a2.mjs → external-link-D9dw6uW7.mjs} +1 -1
- package/dist/{facebook-CuurhwRz.mjs → facebook-Dh1MaE-D.mjs} +1 -1
- package/dist/{farcaster-D2TgEJM-.mjs → farcaster-BwHBSUHq.mjs} +1 -1
- package/dist/{filters-BibfMif_.mjs → filters-Ci9_-8gk.mjs} +1 -1
- package/dist/{fr_FR-CM2EDAQC-B_30pesA.mjs → fr_FR-IGGVC6RM-Kc8NKbgI.mjs} +85 -25
- package/dist/{github-BhX7tsvv.mjs → github-D-aswXYW.mjs} +1 -1
- package/dist/{google-8BNvR9U4.mjs → google-Cg2bg_u1.mjs} +1 -1
- package/dist/{help-circle-B9sSbcDf.mjs → help-circle-Bf77TB4n.mjs} +1 -1
- package/dist/{hi_IN-GYVCUYRD-BaP4Kv7X.mjs → hi_IN-XSKAA3MF-DvyeO32P.mjs} +84 -24
- package/dist/{id-DLMCEcaq.mjs → id-AZ2aaL73.mjs} +1 -1
- package/dist/{id_ID-7ZWSMOOE-Dmml3uJR.mjs → id_ID-KUOB4UAL-CvWLNQ5n.mjs} +82 -22
- package/dist/{image-1t__ZCnj.mjs → image-DN24oYU5.mjs} +1 -1
- package/dist/{index-DPVnnxUf.mjs → index-CI8DqE6i.mjs} +29 -29
- package/dist/{index-AJ4LjRId.mjs → index-Cow4wrLS.mjs} +2 -2
- package/dist/{index-CDycEtm4.mjs → index-CpY9bbaW.mjs} +143 -188
- package/dist/index-D6iw71H8.mjs +8122 -0
- package/dist/{index-DnnVQoIv.mjs → index-S7ky17PZ.mjs} +33776 -28146
- package/dist/{index-DhCSttFR.mjs → index-sJo3KuR-.mjs} +30 -30
- package/dist/{index.es-DFZl-EwA.mjs → index.es-C3Qo-3Ux.mjs} +3128 -3414
- package/dist/{info-DhHjj_3x.mjs → info-D8HP_HFm.mjs} +1 -1
- package/dist/{info-circle-C8wsNN5M.mjs → info-circle-DU5yWmbI.mjs} +1 -1
- package/dist/{ja_JP-CGMP6VLZ-k1qEQOBd.mjs → ja_JP-4WRQ63RX-BSsyVYkC.mjs} +84 -24
- package/dist/{ko_KR-YCZDTF7X-N5e302Ee.mjs → ko_KR-I2K7AIEP-BMvlvp6c.mjs} +86 -26
- package/dist/{lightbulb-B_PS6DcO.mjs → lightbulb-B1sLPMar.mjs} +1 -1
- package/dist/{mail-B7axU5Xw.mjs → mail-zyLW0GA2.mjs} +1 -1
- package/dist/{metamask-sdk-CthhXhsM.mjs → metamask-sdk-B9LkT1MT.mjs} +4382 -4059
- package/dist/{mobile-D3DgKwPz.mjs → mobile-BVHS3wgS.mjs} +1 -1
- package/dist/monad-4KWC6TSS-Bme_0Zcf.mjs +4 -0
- package/dist/{more-B8gdS4xC.mjs → more-CRMgNmQB.mjs} +1 -1
- package/dist/{ms_MY-5LHAYMS7-DXUqJsVQ.mjs → ms_MY-6VZW6Q3Z-C_wmMLsb.mjs} +81 -21
- package/dist/multichain-widget.css +1 -1
- package/dist/multichain-widget.es.js +2 -2
- package/dist/multichain-widget.umd.js +2132 -1141
- package/dist/{network-placeholder-DFLcYc2X.mjs → network-placeholder-DJZa7rha.mjs} +1 -1
- package/dist/{nftPlaceholder-BkzIrkPD.mjs → nftPlaceholder-Q9oiORp0.mjs} +1 -1
- package/dist/{off-1uaczYnX.mjs → off-CAr43_hg.mjs} +1 -1
- package/dist/{play-store-CZwdlRHs.mjs → play-store-CV-rgkWN.mjs} +1 -1
- package/dist/{plus-BXrDhZ6F.mjs → plus-BN0_SE4g.mjs} +1 -1
- package/dist/primitives/Button.d.ts +2 -1
- package/dist/primitives/NumberInput.d.ts +5 -7
- package/dist/{pt_BR-3JTS4PSK-BcqTSqXX.mjs → pt_BR-N3XOZ4SV-BeWb5NJg.mjs} +81 -21
- package/dist/{qr-code-DjZWfgjy.mjs → qr-code-BVi76DFP.mjs} +1 -1
- package/dist/{recycle-horizontal-CMDq_YWn.mjs → recycle-horizontal-BcRw_UNP.mjs} +1 -1
- package/dist/{refresh-DZYbWvSf.mjs → refresh-DJ3BZaaj.mjs} +1 -1
- package/dist/{reown-logo-D2WOILrf.mjs → reown-logo-CCWTtbuu.mjs} +1 -1
- package/dist/{ru_RU-6J6XERHI-NHs582yY.mjs → ru_RU-IITAPRET-DRURjjb_.mjs} +87 -27
- package/dist/{search-CF1JKVFc.mjs → search-o94pc9rb.mjs} +1 -1
- package/dist/{secp256k1-DT1-AJc_.mjs → secp256k1-VpNRZe_5.mjs} +1 -7
- package/dist/{send-DZtc81ub.mjs → send-Bhav5IN3.mjs} +1 -1
- package/dist/{swapHorizontal-DXuqBEXr.mjs → swapHorizontal-Cl_oieI4.mjs} +1 -1
- package/dist/{swapHorizontalBold-BjnuFjis.mjs → swapHorizontalBold-BCBblPoZ.mjs} +1 -1
- package/dist/{swapHorizontalMedium-C0Sky0e3.mjs → swapHorizontalMedium-Dyqzi3S6.mjs} +1 -1
- package/dist/{swapHorizontalRoundedBold-CBQfe_y6.mjs → swapHorizontalRoundedBold-pDaj9vii.mjs} +1 -1
- package/dist/{swapVertical-DTVgJsH-.mjs → swapVertical-BNmp3Dzg.mjs} +1 -1
- package/dist/{telegram-BVgHuTyG.mjs → telegram-BnQwQL76.mjs} +1 -1
- package/dist/{th_TH-STXOD4CR-BIfWqO2o.mjs → th_TH-3ZQCKCQE-nFsMfjJa.mjs} +84 -24
- package/dist/{three-dots-D7pV2nat.mjs → three-dots-CKbCNNgf.mjs} +1 -1
- package/dist/{tr_TR-P7QAUUZU-eG8PiHRZ.mjs → tr_TR-QUPUGMUF-DF0OeGUb.mjs} +85 -25
- package/dist/{twitch-CdRkUhGf.mjs → twitch-CzO4NbKk.mjs} +1 -1
- package/dist/{twitterIcon-BETBNrDY.mjs → twitterIcon-CveQoc1B.mjs} +1 -1
- package/dist/{uk_UA-JTTBGJGQ-Dr7NKTT4.mjs → uk_UA-SSN6SV5E-Bb4huhf1.mjs} +82 -22
- package/dist/{verify-CXAzjGWH.mjs → verify-CK4nN_ws.mjs} +1 -1
- package/dist/{verify-filled-BlE8voQq.mjs → verify-filled-DyAcfygi.mjs} +1 -1
- package/dist/{vi_VN-5XUUAVWW-DDODReq8.mjs → vi_VN-7BUVRNYY-PCI3QRx7.mjs} +81 -21
- package/dist/{w3m-modal-CG29eCWL.mjs → w3m-modal-vt_J_1rX.mjs} +6 -6
- package/dist/{wallet-B-xMu7jQ.mjs → wallet-aWN31O_F.mjs} +1 -1
- package/dist/{wallet-placeholder-CoGcunNL.mjs → wallet-placeholder-DY6aHfJB.mjs} +1 -1
- package/dist/{walletconnect-CyVjg5gL.mjs → walletconnect-CbYhWFVg.mjs} +1 -1
- package/dist/{warning-circle-C8ofFjJI.mjs → warning-circle-CXIUoCj7.mjs} +1 -1
- package/dist/{x-DqfWMmqo.mjs → x-Dne6OfNb.mjs} +1 -1
- package/dist/{zh_CN-RGMLPFEP-CTX3PM0F.mjs → zh_CN-HJBN674C-Bo2gNwt5.mjs} +83 -23
- package/dist/{zh_HK-YM3T6EI5-DZjb_17i.mjs → zh_HK-JW3WLRKE-BY2ft2ew.mjs} +81 -21
- package/dist/{zh_TW-HAEH6VE5-BOq1c4Vl.mjs → zh_TW-VNNRNXY7-CyIPkoVZ.mjs} +81 -21
- package/package.json +2 -2
- package/dist/browser-3VflZ6uC.mjs +0 -308
- package/dist/coinbaseWallet-OKXU3TRC-5iCQMeiP.mjs +0 -4
- package/dist/en_US-RFN65H63-m5rZZid-.mjs +0 -4
- package/dist/hooks.module-CsKUm6iL.mjs +0 -487
- package/dist/index-BXBhh-ik.mjs +0 -13987
- package/dist/index-BkQ3H0JB.mjs +0 -9170
- package/dist/index-CYj_i5FF.mjs +0 -48
- package/dist/secp256k1-wj3Jx4RV.mjs +0 -1509
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { u as N, v as V, i as b, r as $, c as S, d as m, x as q, y as B, f as W, e as Y } from "./core-BSjxlOS1.mjs";
|
|
2
2
|
const w = {
|
|
3
3
|
getSpacingStyles(e, t) {
|
|
4
4
|
if (Array.isArray(e))
|
|
@@ -20,7 +20,7 @@ const w = {
|
|
|
20
20
|
return e.length <= t + i ? e : o === "end" ? `${e.substring(0, t)}...` : o === "start" ? `...${e.substring(e.length - i)}` : `${e.substring(0, Math.floor(t))}...${e.substring(e.length - Math.floor(i))}`;
|
|
21
21
|
},
|
|
22
22
|
generateAvatarColors(e) {
|
|
23
|
-
const i = e.toLowerCase().replace(/^0x/iu, "").replace(/[^a-f0-9]/gu, "").substring(0, 6).padEnd(6, "0"), o = this.hexToRgb(i), a = getComputedStyle(document.documentElement).getPropertyValue("--w3m-border-radius-master"),
|
|
23
|
+
const i = e.toLowerCase().replace(/^0x/iu, "").replace(/[^a-f0-9]/gu, "").substring(0, 6).padEnd(6, "0"), o = this.hexToRgb(i), a = getComputedStyle(document.documentElement).getPropertyValue("--w3m-border-radius-master"), s = 100 - 3 * Number(a?.replace("px", "")), n = `${s}% ${s}% at 65% 40%`, l = [];
|
|
24
24
|
for (let d = 0; d < 5; d += 1) {
|
|
25
25
|
const g = this.tintColor(o, 0.15 * d);
|
|
26
26
|
l.push(`rgb(${g[0]}, ${g[1]}, ${g[2]})`);
|
|
@@ -31,7 +31,7 @@ const w = {
|
|
|
31
31
|
--local-color-3: ${l[2]};
|
|
32
32
|
--local-color-4: ${l[3]};
|
|
33
33
|
--local-color-5: ${l[4]};
|
|
34
|
-
--local-radial-circle: ${
|
|
34
|
+
--local-radial-circle: ${n}
|
|
35
35
|
`;
|
|
36
36
|
},
|
|
37
37
|
hexToRgb(e) {
|
|
@@ -39,8 +39,8 @@ const w = {
|
|
|
39
39
|
return [i, o, a];
|
|
40
40
|
},
|
|
41
41
|
tintColor(e, t) {
|
|
42
|
-
const [i, o, a] = e, r = Math.round(i + (255 - i) * t),
|
|
43
|
-
return [r,
|
|
42
|
+
const [i, o, a] = e, r = Math.round(i + (255 - i) * t), s = Math.round(o + (255 - o) * t), n = Math.round(a + (255 - a) * t);
|
|
43
|
+
return [r, s, n];
|
|
44
44
|
},
|
|
45
45
|
isNumber(e) {
|
|
46
46
|
return {
|
|
@@ -67,7 +67,7 @@ const w = {
|
|
|
67
67
|
});
|
|
68
68
|
}
|
|
69
69
|
};
|
|
70
|
-
function
|
|
70
|
+
function X(e, t) {
|
|
71
71
|
const { kind: i, elements: o } = t;
|
|
72
72
|
return {
|
|
73
73
|
kind: i,
|
|
@@ -77,55 +77,45 @@ function K(e, t) {
|
|
|
77
77
|
}
|
|
78
78
|
};
|
|
79
79
|
}
|
|
80
|
-
function
|
|
80
|
+
function K(e, t) {
|
|
81
81
|
return customElements.get(e) || customElements.define(e, t), t;
|
|
82
82
|
}
|
|
83
83
|
function x(e) {
|
|
84
84
|
return function(i) {
|
|
85
|
-
return typeof i == "function" ?
|
|
85
|
+
return typeof i == "function" ? K(e, i) : X(e, i);
|
|
86
86
|
};
|
|
87
87
|
}
|
|
88
|
-
|
|
89
|
-
* @license
|
|
90
|
-
* Copyright 2017 Google LLC
|
|
91
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
92
|
-
*/
|
|
93
|
-
const Z = { attribute: !0, type: String, converter: V, reflect: !1, hasChanged: N }, J = (e = Z, t, i) => {
|
|
88
|
+
const Z = { attribute: !0, type: String, converter: V, reflect: !1, hasChanged: N }, Q = (e = Z, t, i) => {
|
|
94
89
|
const { kind: o, metadata: a } = i;
|
|
95
90
|
let r = globalThis.litPropertyMetadata.get(a);
|
|
96
91
|
if (r === void 0 && globalThis.litPropertyMetadata.set(a, r = /* @__PURE__ */ new Map()), o === "setter" && ((e = Object.create(e)).wrapped = !0), r.set(i.name, e), o === "accessor") {
|
|
97
|
-
const { name:
|
|
98
|
-
return { set(
|
|
92
|
+
const { name: s } = i;
|
|
93
|
+
return { set(n) {
|
|
99
94
|
const l = t.get.call(this);
|
|
100
|
-
t.set.call(this,
|
|
101
|
-
}, init(
|
|
102
|
-
return
|
|
95
|
+
t.set.call(this, n), this.requestUpdate(s, l, e, !0, n);
|
|
96
|
+
}, init(n) {
|
|
97
|
+
return n !== void 0 && this.C(s, void 0, e, n), n;
|
|
103
98
|
} };
|
|
104
99
|
}
|
|
105
100
|
if (o === "setter") {
|
|
106
|
-
const { name:
|
|
107
|
-
return function(
|
|
108
|
-
const l = this[
|
|
109
|
-
t.call(this,
|
|
101
|
+
const { name: s } = i;
|
|
102
|
+
return function(n) {
|
|
103
|
+
const l = this[s];
|
|
104
|
+
t.call(this, n), this.requestUpdate(s, l, e, !0, n);
|
|
110
105
|
};
|
|
111
106
|
}
|
|
112
107
|
throw Error("Unsupported decorator location: " + o);
|
|
113
108
|
};
|
|
114
109
|
function c(e) {
|
|
115
|
-
return (t, i) => typeof i == "object" ?
|
|
116
|
-
const
|
|
117
|
-
return a.constructor.createProperty(r, o),
|
|
110
|
+
return (t, i) => typeof i == "object" ? Q(e, t, i) : ((o, a, r) => {
|
|
111
|
+
const s = a.hasOwnProperty(r);
|
|
112
|
+
return a.constructor.createProperty(r, o), s ? Object.getOwnPropertyDescriptor(a, r) : void 0;
|
|
118
113
|
})(e, t, i);
|
|
119
114
|
}
|
|
120
|
-
/**
|
|
121
|
-
* @license
|
|
122
|
-
* Copyright 2017 Google LLC
|
|
123
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
124
|
-
*/
|
|
125
115
|
function bt(e) {
|
|
126
116
|
return c({ ...e, state: !0, attribute: !1 });
|
|
127
117
|
}
|
|
128
|
-
const
|
|
118
|
+
const J = b`
|
|
129
119
|
:host {
|
|
130
120
|
display: flex;
|
|
131
121
|
width: inherit;
|
|
@@ -133,9 +123,9 @@ const Q = b`
|
|
|
133
123
|
}
|
|
134
124
|
`;
|
|
135
125
|
var h = function(e, t, i, o) {
|
|
136
|
-
var a = arguments.length, r = a < 3 ? t : o === null ? o = Object.getOwnPropertyDescriptor(t, i) : o,
|
|
126
|
+
var a = arguments.length, r = a < 3 ? t : o === null ? o = Object.getOwnPropertyDescriptor(t, i) : o, s;
|
|
137
127
|
if (typeof Reflect == "object" && typeof Reflect.decorate == "function") r = Reflect.decorate(e, t, i, o);
|
|
138
|
-
else for (var
|
|
128
|
+
else for (var n = e.length - 1; n >= 0; n--) (s = e[n]) && (r = (a < 3 ? s(r) : a > 3 ? s(t, i, r) : s(t, i)) || r);
|
|
139
129
|
return a > 3 && r && Object.defineProperty(t, i, r), r;
|
|
140
130
|
};
|
|
141
131
|
let u = class extends S {
|
|
@@ -162,7 +152,7 @@ let u = class extends S {
|
|
|
162
152
|
`, m`<slot></slot>`;
|
|
163
153
|
}
|
|
164
154
|
};
|
|
165
|
-
u.styles = [$,
|
|
155
|
+
u.styles = [$, J];
|
|
166
156
|
h([
|
|
167
157
|
c()
|
|
168
158
|
], u.prototype, "flexDirection", void 0);
|
|
@@ -202,23 +192,8 @@ h([
|
|
|
202
192
|
u = h([
|
|
203
193
|
x("wui-flex")
|
|
204
194
|
], u);
|
|
205
|
-
/**
|
|
206
|
-
* @license
|
|
207
|
-
* Copyright 2018 Google LLC
|
|
208
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
209
|
-
*/
|
|
210
195
|
const St = (e) => e ?? q;
|
|
211
|
-
/**
|
|
212
|
-
* @license
|
|
213
|
-
* Copyright 2020 Google LLC
|
|
214
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
215
|
-
*/
|
|
216
196
|
const tt = (e) => e === null || typeof e != "object" && typeof e != "function", et = (e) => e.strings === void 0;
|
|
217
|
-
/**
|
|
218
|
-
* @license
|
|
219
|
-
* Copyright 2017 Google LLC
|
|
220
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
221
|
-
*/
|
|
222
197
|
const E = { ATTRIBUTE: 1, CHILD: 2 }, H = (e) => (...t) => ({ _$litDirective$: e, values: t });
|
|
223
198
|
let F = class {
|
|
224
199
|
constructor(t) {
|
|
@@ -236,17 +211,12 @@ let F = class {
|
|
|
236
211
|
return this.render(...i);
|
|
237
212
|
}
|
|
238
213
|
};
|
|
239
|
-
/**
|
|
240
|
-
* @license
|
|
241
|
-
* Copyright 2017 Google LLC
|
|
242
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
243
|
-
*/
|
|
244
214
|
const _ = (e, t) => {
|
|
245
215
|
const i = e._$AN;
|
|
246
216
|
if (i === void 0) return !1;
|
|
247
217
|
for (const o of i) o._$AO?.(t, !1), _(o, t);
|
|
248
218
|
return !0;
|
|
249
|
-
},
|
|
219
|
+
}, A = (e) => {
|
|
250
220
|
let t, i;
|
|
251
221
|
do {
|
|
252
222
|
if ((t = e._$AM) === void 0) break;
|
|
@@ -261,12 +231,12 @@ const _ = (e, t) => {
|
|
|
261
231
|
}
|
|
262
232
|
};
|
|
263
233
|
function it(e) {
|
|
264
|
-
this._$AN !== void 0 ? (
|
|
234
|
+
this._$AN !== void 0 ? (A(this), this._$AM = e, G(this)) : this._$AM = e;
|
|
265
235
|
}
|
|
266
236
|
function ot(e, t = !1, i = 0) {
|
|
267
237
|
const o = this._$AH, a = this._$AN;
|
|
268
|
-
if (a !== void 0 && a.size !== 0) if (t) if (Array.isArray(o)) for (let r = i; r < o.length; r++) _(o[r], !1),
|
|
269
|
-
else o != null && (_(o, !1),
|
|
238
|
+
if (a !== void 0 && a.size !== 0) if (t) if (Array.isArray(o)) for (let r = i; r < o.length; r++) _(o[r], !1), A(o[r]);
|
|
239
|
+
else o != null && (_(o, !1), A(o));
|
|
270
240
|
else _(this, e);
|
|
271
241
|
}
|
|
272
242
|
const rt = (e) => {
|
|
@@ -280,7 +250,7 @@ class at extends F {
|
|
|
280
250
|
super._$AT(t, i, o), G(this), this.isConnected = t._$AU;
|
|
281
251
|
}
|
|
282
252
|
_$AO(t, i = !0) {
|
|
283
|
-
t !== this.isConnected && (this.isConnected = t, t ? this.reconnected?.() : this.disconnected?.()), i && (_(this, t),
|
|
253
|
+
t !== this.isConnected && (this.isConnected = t, t ? this.reconnected?.() : this.disconnected?.()), i && (_(this, t), A(this));
|
|
284
254
|
}
|
|
285
255
|
setValue(t) {
|
|
286
256
|
if (et(this._$Ct)) this._$Ct._$AI(t, this);
|
|
@@ -294,11 +264,6 @@ class at extends F {
|
|
|
294
264
|
reconnected() {
|
|
295
265
|
}
|
|
296
266
|
}
|
|
297
|
-
/**
|
|
298
|
-
* @license
|
|
299
|
-
* Copyright 2021 Google LLC
|
|
300
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
301
|
-
*/
|
|
302
267
|
class nt {
|
|
303
268
|
constructor(t) {
|
|
304
269
|
this.G = t;
|
|
@@ -321,42 +286,37 @@ class st {
|
|
|
321
286
|
return this.Y;
|
|
322
287
|
}
|
|
323
288
|
pause() {
|
|
324
|
-
this.Y ??= new Promise((
|
|
289
|
+
this.Y ??= new Promise((t) => this.Z = t);
|
|
325
290
|
}
|
|
326
291
|
resume() {
|
|
327
292
|
this.Z?.(), this.Y = this.Z = void 0;
|
|
328
293
|
}
|
|
329
294
|
}
|
|
330
|
-
|
|
331
|
-
* @license
|
|
332
|
-
* Copyright 2017 Google LLC
|
|
333
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
334
|
-
*/
|
|
335
|
-
const M = (e) => !tt(e) && typeof e.then == "function", D = 1073741823;
|
|
295
|
+
const L = (e) => !tt(e) && typeof e.then == "function", D = 1073741823;
|
|
336
296
|
class ct extends at {
|
|
337
297
|
constructor() {
|
|
338
298
|
super(...arguments), this._$Cwt = D, this._$Cbt = [], this._$CK = new nt(this), this._$CX = new st();
|
|
339
299
|
}
|
|
340
300
|
render(...t) {
|
|
341
|
-
return t.find((
|
|
301
|
+
return t.find((i) => !L(i)) ?? B;
|
|
342
302
|
}
|
|
343
303
|
update(t, i) {
|
|
344
304
|
const o = this._$Cbt;
|
|
345
305
|
let a = o.length;
|
|
346
306
|
this._$Cbt = i;
|
|
347
|
-
const r = this._$CK,
|
|
307
|
+
const r = this._$CK, s = this._$CX;
|
|
348
308
|
this.isConnected || this.disconnected();
|
|
349
|
-
for (let
|
|
350
|
-
const l = i[
|
|
351
|
-
if (!
|
|
352
|
-
|
|
353
|
-
for (;
|
|
309
|
+
for (let n = 0; n < i.length && !(n > this._$Cwt); n++) {
|
|
310
|
+
const l = i[n];
|
|
311
|
+
if (!L(l)) return this._$Cwt = n, l;
|
|
312
|
+
n < a && l === o[n] || (this._$Cwt = D, a = 0, Promise.resolve(l).then(async (d) => {
|
|
313
|
+
for (; s.get(); ) await s.get();
|
|
354
314
|
const g = r.deref();
|
|
355
315
|
if (g !== void 0) {
|
|
356
316
|
const P = g._$Cbt.indexOf(l);
|
|
357
317
|
P > -1 && P < g._$Cwt && (g._$Cwt = P, g.setValue(d));
|
|
358
318
|
}
|
|
359
|
-
}))
|
|
319
|
+
}));
|
|
360
320
|
}
|
|
361
321
|
return B;
|
|
362
322
|
}
|
|
@@ -409,89 +369,89 @@ const O = new ut(), ht = b`
|
|
|
409
369
|
}
|
|
410
370
|
`;
|
|
411
371
|
var j = function(e, t, i, o) {
|
|
412
|
-
var a = arguments.length, r = a < 3 ? t : o === null ? o = Object.getOwnPropertyDescriptor(t, i) : o,
|
|
372
|
+
var a = arguments.length, r = a < 3 ? t : o === null ? o = Object.getOwnPropertyDescriptor(t, i) : o, s;
|
|
413
373
|
if (typeof Reflect == "object" && typeof Reflect.decorate == "function") r = Reflect.decorate(e, t, i, o);
|
|
414
|
-
else for (var
|
|
374
|
+
else for (var n = e.length - 1; n >= 0; n--) (s = e[n]) && (r = (a < 3 ? s(r) : a > 3 ? s(t, i, r) : s(t, i)) || r);
|
|
415
375
|
return a > 3 && r && Object.defineProperty(t, i, r), r;
|
|
416
376
|
};
|
|
417
377
|
const U = {
|
|
418
|
-
add: async () => (await import("./add-
|
|
419
|
-
allWallets: async () => (await import("./all-wallets-
|
|
420
|
-
arrowBottomCircle: async () => (await import("./arrow-bottom-circle-
|
|
421
|
-
appStore: async () => (await import("./app-store-
|
|
422
|
-
apple: async () => (await import("./apple-
|
|
423
|
-
arrowBottom: async () => (await import("./arrow-bottom-
|
|
424
|
-
arrowLeft: async () => (await import("./arrow-left-
|
|
425
|
-
arrowRight: async () => (await import("./arrow-right-
|
|
426
|
-
arrowTop: async () => (await import("./arrow-top-
|
|
427
|
-
bank: async () => (await import("./bank-
|
|
428
|
-
browser: async () => (await import("./browser-
|
|
429
|
-
card: async () => (await import("./card-
|
|
430
|
-
checkmark: async () => (await import("./checkmark-
|
|
431
|
-
checkmarkBold: async () => (await import("./checkmark-bold-
|
|
432
|
-
chevronBottom: async () => (await import("./chevron-bottom-
|
|
433
|
-
chevronLeft: async () => (await import("./chevron-left-
|
|
434
|
-
chevronRight: async () => (await import("./chevron-right-
|
|
435
|
-
chevronTop: async () => (await import("./chevron-top-
|
|
436
|
-
chromeStore: async () => (await import("./chrome-store-
|
|
437
|
-
clock: async () => (await import("./clock-
|
|
438
|
-
close: async () => (await import("./close-
|
|
439
|
-
compass: async () => (await import("./compass-
|
|
440
|
-
coinPlaceholder: async () => (await import("./coinPlaceholder-
|
|
441
|
-
copy: async () => (await import("./copy-
|
|
442
|
-
cursor: async () => (await import("./cursor-
|
|
443
|
-
cursorTransparent: async () => (await import("./cursor-transparent-
|
|
444
|
-
desktop: async () => (await import("./desktop-
|
|
445
|
-
disconnect: async () => (await import("./disconnect-
|
|
446
|
-
discord: async () => (await import("./discord-
|
|
447
|
-
etherscan: async () => (await import("./etherscan-
|
|
448
|
-
extension: async () => (await import("./extension-
|
|
449
|
-
externalLink: async () => (await import("./external-link-
|
|
450
|
-
facebook: async () => (await import("./facebook-
|
|
451
|
-
farcaster: async () => (await import("./farcaster-
|
|
452
|
-
filters: async () => (await import("./filters-
|
|
453
|
-
github: async () => (await import("./github-
|
|
454
|
-
google: async () => (await import("./google-
|
|
455
|
-
helpCircle: async () => (await import("./help-circle-
|
|
456
|
-
image: async () => (await import("./image-
|
|
457
|
-
id: async () => (await import("./id-
|
|
458
|
-
infoCircle: async () => (await import("./info-circle-
|
|
459
|
-
lightbulb: async () => (await import("./lightbulb-
|
|
460
|
-
mail: async () => (await import("./mail-
|
|
461
|
-
mobile: async () => (await import("./mobile-
|
|
462
|
-
more: async () => (await import("./more-
|
|
463
|
-
networkPlaceholder: async () => (await import("./network-placeholder-
|
|
464
|
-
nftPlaceholder: async () => (await import("./nftPlaceholder-
|
|
465
|
-
off: async () => (await import("./off-
|
|
466
|
-
playStore: async () => (await import("./play-store-
|
|
467
|
-
plus: async () => (await import("./plus-
|
|
468
|
-
qrCode: async () => (await import("./qr-code-
|
|
469
|
-
recycleHorizontal: async () => (await import("./recycle-horizontal-
|
|
470
|
-
refresh: async () => (await import("./refresh-
|
|
471
|
-
search: async () => (await import("./search-
|
|
472
|
-
send: async () => (await import("./send-
|
|
473
|
-
swapHorizontal: async () => (await import("./swapHorizontal-
|
|
474
|
-
swapHorizontalMedium: async () => (await import("./swapHorizontalMedium-
|
|
475
|
-
swapHorizontalBold: async () => (await import("./swapHorizontalBold-
|
|
476
|
-
swapHorizontalRoundedBold: async () => (await import("./swapHorizontalRoundedBold-
|
|
477
|
-
swapVertical: async () => (await import("./swapVertical-
|
|
478
|
-
telegram: async () => (await import("./telegram-
|
|
479
|
-
threeDots: async () => (await import("./three-dots-
|
|
480
|
-
twitch: async () => (await import("./twitch-
|
|
481
|
-
twitter: async () => (await import("./x-
|
|
482
|
-
twitterIcon: async () => (await import("./twitterIcon-
|
|
483
|
-
verify: async () => (await import("./verify-
|
|
484
|
-
verifyFilled: async () => (await import("./verify-filled-
|
|
485
|
-
wallet: async () => (await import("./wallet-
|
|
486
|
-
walletConnect: async () => (await import("./walletconnect-
|
|
487
|
-
walletConnectLightBrown: async () => (await import("./walletconnect-
|
|
488
|
-
walletConnectBrown: async () => (await import("./walletconnect-
|
|
489
|
-
walletPlaceholder: async () => (await import("./wallet-placeholder-
|
|
490
|
-
warningCircle: async () => (await import("./warning-circle-
|
|
491
|
-
x: async () => (await import("./x-
|
|
492
|
-
info: async () => (await import("./info-
|
|
493
|
-
exclamationTriangle: async () => (await import("./exclamation-triangle-
|
|
494
|
-
reown: async () => (await import("./reown-logo-
|
|
378
|
+
add: async () => (await import("./add-DKTOrhmM.mjs")).addSvg,
|
|
379
|
+
allWallets: async () => (await import("./all-wallets-aYzIazvp.mjs")).allWalletsSvg,
|
|
380
|
+
arrowBottomCircle: async () => (await import("./arrow-bottom-circle-_rfKaesm.mjs")).arrowBottomCircleSvg,
|
|
381
|
+
appStore: async () => (await import("./app-store-CKrxMlxU.mjs")).appStoreSvg,
|
|
382
|
+
apple: async () => (await import("./apple-CJFbfjqC.mjs")).appleSvg,
|
|
383
|
+
arrowBottom: async () => (await import("./arrow-bottom-6hVe7wm0.mjs")).arrowBottomSvg,
|
|
384
|
+
arrowLeft: async () => (await import("./arrow-left-vFsMFs5X.mjs")).arrowLeftSvg,
|
|
385
|
+
arrowRight: async () => (await import("./arrow-right-DNmCe1hl.mjs")).arrowRightSvg,
|
|
386
|
+
arrowTop: async () => (await import("./arrow-top-3kV0--PO.mjs")).arrowTopSvg,
|
|
387
|
+
bank: async () => (await import("./bank-UC0Wo-M3.mjs")).bankSvg,
|
|
388
|
+
browser: async () => (await import("./browser-DIrq4E9X.mjs")).browserSvg,
|
|
389
|
+
card: async () => (await import("./card-DyGXQ_xB.mjs")).cardSvg,
|
|
390
|
+
checkmark: async () => (await import("./checkmark-DDFrz950.mjs")).checkmarkSvg,
|
|
391
|
+
checkmarkBold: async () => (await import("./checkmark-bold-BlZK2WdM.mjs")).checkmarkBoldSvg,
|
|
392
|
+
chevronBottom: async () => (await import("./chevron-bottom-DjQbReGh.mjs")).chevronBottomSvg,
|
|
393
|
+
chevronLeft: async () => (await import("./chevron-left-2vPMoi5c.mjs")).chevronLeftSvg,
|
|
394
|
+
chevronRight: async () => (await import("./chevron-right-YWtBje-5.mjs")).chevronRightSvg,
|
|
395
|
+
chevronTop: async () => (await import("./chevron-top-DKmWxpPJ.mjs")).chevronTopSvg,
|
|
396
|
+
chromeStore: async () => (await import("./chrome-store-uwPUSaie.mjs")).chromeStoreSvg,
|
|
397
|
+
clock: async () => (await import("./clock-BkMC4mPm.mjs")).clockSvg,
|
|
398
|
+
close: async () => (await import("./close-CMJ1Hqmj.mjs")).closeSvg,
|
|
399
|
+
compass: async () => (await import("./compass-C1Z0-p-N.mjs")).compassSvg,
|
|
400
|
+
coinPlaceholder: async () => (await import("./coinPlaceholder-Bf8G7kLI.mjs")).coinPlaceholderSvg,
|
|
401
|
+
copy: async () => (await import("./copy-DxCof3yl.mjs")).copySvg,
|
|
402
|
+
cursor: async () => (await import("./cursor-T-6Bjeul.mjs")).cursorSvg,
|
|
403
|
+
cursorTransparent: async () => (await import("./cursor-transparent-BjMsPQO7.mjs")).cursorTransparentSvg,
|
|
404
|
+
desktop: async () => (await import("./desktop-DfO5SLm6.mjs")).desktopSvg,
|
|
405
|
+
disconnect: async () => (await import("./disconnect-eMvwMOmY.mjs")).disconnectSvg,
|
|
406
|
+
discord: async () => (await import("./discord-COTxDMht.mjs")).discordSvg,
|
|
407
|
+
etherscan: async () => (await import("./etherscan-5t_QMu3H.mjs")).etherscanSvg,
|
|
408
|
+
extension: async () => (await import("./extension-DHr5hKWR.mjs")).extensionSvg,
|
|
409
|
+
externalLink: async () => (await import("./external-link-D9dw6uW7.mjs")).externalLinkSvg,
|
|
410
|
+
facebook: async () => (await import("./facebook-Dh1MaE-D.mjs")).facebookSvg,
|
|
411
|
+
farcaster: async () => (await import("./farcaster-BwHBSUHq.mjs")).farcasterSvg,
|
|
412
|
+
filters: async () => (await import("./filters-Ci9_-8gk.mjs")).filtersSvg,
|
|
413
|
+
github: async () => (await import("./github-D-aswXYW.mjs")).githubSvg,
|
|
414
|
+
google: async () => (await import("./google-Cg2bg_u1.mjs")).googleSvg,
|
|
415
|
+
helpCircle: async () => (await import("./help-circle-Bf77TB4n.mjs")).helpCircleSvg,
|
|
416
|
+
image: async () => (await import("./image-DN24oYU5.mjs")).imageSvg,
|
|
417
|
+
id: async () => (await import("./id-AZ2aaL73.mjs")).idSvg,
|
|
418
|
+
infoCircle: async () => (await import("./info-circle-DU5yWmbI.mjs")).infoCircleSvg,
|
|
419
|
+
lightbulb: async () => (await import("./lightbulb-B1sLPMar.mjs")).lightbulbSvg,
|
|
420
|
+
mail: async () => (await import("./mail-zyLW0GA2.mjs")).mailSvg,
|
|
421
|
+
mobile: async () => (await import("./mobile-BVHS3wgS.mjs")).mobileSvg,
|
|
422
|
+
more: async () => (await import("./more-CRMgNmQB.mjs")).moreSvg,
|
|
423
|
+
networkPlaceholder: async () => (await import("./network-placeholder-DJZa7rha.mjs")).networkPlaceholderSvg,
|
|
424
|
+
nftPlaceholder: async () => (await import("./nftPlaceholder-Q9oiORp0.mjs")).nftPlaceholderSvg,
|
|
425
|
+
off: async () => (await import("./off-CAr43_hg.mjs")).offSvg,
|
|
426
|
+
playStore: async () => (await import("./play-store-CV-rgkWN.mjs")).playStoreSvg,
|
|
427
|
+
plus: async () => (await import("./plus-BN0_SE4g.mjs")).plusSvg,
|
|
428
|
+
qrCode: async () => (await import("./qr-code-BVi76DFP.mjs")).qrCodeIcon,
|
|
429
|
+
recycleHorizontal: async () => (await import("./recycle-horizontal-BcRw_UNP.mjs")).recycleHorizontalSvg,
|
|
430
|
+
refresh: async () => (await import("./refresh-DJ3BZaaj.mjs")).refreshSvg,
|
|
431
|
+
search: async () => (await import("./search-o94pc9rb.mjs")).searchSvg,
|
|
432
|
+
send: async () => (await import("./send-Bhav5IN3.mjs")).sendSvg,
|
|
433
|
+
swapHorizontal: async () => (await import("./swapHorizontal-Cl_oieI4.mjs")).swapHorizontalSvg,
|
|
434
|
+
swapHorizontalMedium: async () => (await import("./swapHorizontalMedium-Dyqzi3S6.mjs")).swapHorizontalMediumSvg,
|
|
435
|
+
swapHorizontalBold: async () => (await import("./swapHorizontalBold-BCBblPoZ.mjs")).swapHorizontalBoldSvg,
|
|
436
|
+
swapHorizontalRoundedBold: async () => (await import("./swapHorizontalRoundedBold-pDaj9vii.mjs")).swapHorizontalRoundedBoldSvg,
|
|
437
|
+
swapVertical: async () => (await import("./swapVertical-BNmp3Dzg.mjs")).swapVerticalSvg,
|
|
438
|
+
telegram: async () => (await import("./telegram-BnQwQL76.mjs")).telegramSvg,
|
|
439
|
+
threeDots: async () => (await import("./three-dots-CKbCNNgf.mjs")).threeDotsSvg,
|
|
440
|
+
twitch: async () => (await import("./twitch-CzO4NbKk.mjs")).twitchSvg,
|
|
441
|
+
twitter: async () => (await import("./x-Dne6OfNb.mjs")).xSvg,
|
|
442
|
+
twitterIcon: async () => (await import("./twitterIcon-CveQoc1B.mjs")).twitterIconSvg,
|
|
443
|
+
verify: async () => (await import("./verify-CK4nN_ws.mjs")).verifySvg,
|
|
444
|
+
verifyFilled: async () => (await import("./verify-filled-DyAcfygi.mjs")).verifyFilledSvg,
|
|
445
|
+
wallet: async () => (await import("./wallet-aWN31O_F.mjs")).walletSvg,
|
|
446
|
+
walletConnect: async () => (await import("./walletconnect-CbYhWFVg.mjs")).walletConnectSvg,
|
|
447
|
+
walletConnectLightBrown: async () => (await import("./walletconnect-CbYhWFVg.mjs")).walletConnectLightBrownSvg,
|
|
448
|
+
walletConnectBrown: async () => (await import("./walletconnect-CbYhWFVg.mjs")).walletConnectBrownSvg,
|
|
449
|
+
walletPlaceholder: async () => (await import("./wallet-placeholder-DY6aHfJB.mjs")).walletPlaceholderSvg,
|
|
450
|
+
warningCircle: async () => (await import("./warning-circle-CXIUoCj7.mjs")).warningCircleSvg,
|
|
451
|
+
x: async () => (await import("./x-Dne6OfNb.mjs")).xSvg,
|
|
452
|
+
info: async () => (await import("./info-D8HP_HFm.mjs")).infoSvg,
|
|
453
|
+
exclamationTriangle: async () => (await import("./exclamation-triangle-CUSwVJ4f.mjs")).exclamationTriangleSvg,
|
|
454
|
+
reown: async () => (await import("./reown-logo-CCWTtbuu.mjs")).reownSvg
|
|
495
455
|
};
|
|
496
456
|
async function pt(e) {
|
|
497
457
|
if (O.has(e))
|
|
@@ -527,21 +487,16 @@ j([
|
|
|
527
487
|
v = j([
|
|
528
488
|
x("wui-icon")
|
|
529
489
|
], v);
|
|
530
|
-
/**
|
|
531
|
-
* @license
|
|
532
|
-
* Copyright 2018 Google LLC
|
|
533
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
534
|
-
*/
|
|
535
490
|
const dt = H(class extends F {
|
|
536
491
|
constructor(e) {
|
|
537
492
|
if (super(e), e.type !== E.ATTRIBUTE || e.name !== "class" || e.strings?.length > 2) throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.");
|
|
538
493
|
}
|
|
539
494
|
render(e) {
|
|
540
|
-
return " " + Object.keys(e).filter((
|
|
495
|
+
return " " + Object.keys(e).filter((t) => e[t]).join(" ") + " ";
|
|
541
496
|
}
|
|
542
497
|
update(e, [t]) {
|
|
543
498
|
if (this.st === void 0) {
|
|
544
|
-
this.st = /* @__PURE__ */ new Set(), e.strings !== void 0 && (this.nt = new Set(e.strings.join(" ").split(/\s/).filter((
|
|
499
|
+
this.st = /* @__PURE__ */ new Set(), e.strings !== void 0 && (this.nt = new Set(e.strings.join(" ").split(/\s/).filter((o) => o !== "")));
|
|
545
500
|
for (const o in t) t[o] && !this.nt?.has(o) && this.st.add(o);
|
|
546
501
|
return this.render(t);
|
|
547
502
|
}
|
|
@@ -689,9 +644,9 @@ const dt = H(class extends F {
|
|
|
689
644
|
}
|
|
690
645
|
`;
|
|
691
646
|
var R = function(e, t, i, o) {
|
|
692
|
-
var a = arguments.length, r = a < 3 ? t : o === null ? o = Object.getOwnPropertyDescriptor(t, i) : o,
|
|
647
|
+
var a = arguments.length, r = a < 3 ? t : o === null ? o = Object.getOwnPropertyDescriptor(t, i) : o, s;
|
|
693
648
|
if (typeof Reflect == "object" && typeof Reflect.decorate == "function") r = Reflect.decorate(e, t, i, o);
|
|
694
|
-
else for (var
|
|
649
|
+
else for (var n = e.length - 1; n >= 0; n--) (s = e[n]) && (r = (a < 3 ? s(r) : a > 3 ? s(t, i, r) : s(t, i)) || r);
|
|
695
650
|
return a > 3 && r && Object.defineProperty(t, i, r), r;
|
|
696
651
|
};
|
|
697
652
|
let y = class extends S {
|
|
@@ -750,9 +705,9 @@ const ft = b`
|
|
|
750
705
|
}
|
|
751
706
|
`;
|
|
752
707
|
var f = function(e, t, i, o) {
|
|
753
|
-
var a = arguments.length, r = a < 3 ? t : o === null ? o = Object.getOwnPropertyDescriptor(t, i) : o,
|
|
708
|
+
var a = arguments.length, r = a < 3 ? t : o === null ? o = Object.getOwnPropertyDescriptor(t, i) : o, s;
|
|
754
709
|
if (typeof Reflect == "object" && typeof Reflect.decorate == "function") r = Reflect.decorate(e, t, i, o);
|
|
755
|
-
else for (var
|
|
710
|
+
else for (var n = e.length - 1; n >= 0; n--) (s = e[n]) && (r = (a < 3 ? s(r) : a > 3 ? s(t, i, r) : s(t, i)) || r);
|
|
756
711
|
return a > 3 && r && Object.defineProperty(t, i, r), r;
|
|
757
712
|
};
|
|
758
713
|
let p = class extends S {
|
|
@@ -760,11 +715,11 @@ let p = class extends S {
|
|
|
760
715
|
super(...arguments), this.size = "md", this.backgroundColor = "accent-100", this.iconColor = "accent-100", this.background = "transparent", this.border = !1, this.borderColor = "wui-color-bg-125", this.icon = "copy";
|
|
761
716
|
}
|
|
762
717
|
render() {
|
|
763
|
-
const t = this.iconSize || this.size, i = this.size === "lg", o = this.size === "xl", a = i ? "12%" : "16%", r = i ? "xxs" : o ? "s" : "3xl",
|
|
718
|
+
const t = this.iconSize || this.size, i = this.size === "lg", o = this.size === "xl", a = i ? "12%" : "16%", r = i ? "xxs" : o ? "s" : "3xl", s = this.background === "gray", n = this.background === "opaque", l = this.backgroundColor === "accent-100" && n || this.backgroundColor === "success-100" && n || this.backgroundColor === "error-100" && n || this.backgroundColor === "inverse-100" && n;
|
|
764
719
|
let d = `var(--wui-color-${this.backgroundColor})`;
|
|
765
|
-
return l ? d = `var(--wui-icon-box-bg-${this.backgroundColor})` :
|
|
720
|
+
return l ? d = `var(--wui-icon-box-bg-${this.backgroundColor})` : s && (d = `var(--wui-color-gray-${this.backgroundColor})`), this.style.cssText = `
|
|
766
721
|
--local-bg-value: ${d};
|
|
767
|
-
--local-bg-mix: ${l ||
|
|
722
|
+
--local-bg-mix: ${l || s ? "100%" : a};
|
|
768
723
|
--local-border-radius: var(--wui-border-radius-${r});
|
|
769
724
|
--local-size: var(--wui-icon-box-size-${this.size});
|
|
770
725
|
--local-border: ${this.borderColor === "wui-color-bg-125" ? "2px" : "1px"} solid ${this.border ? `var(--${this.borderColor})` : "transparent"}
|
|
@@ -815,10 +770,10 @@ const wt = b`
|
|
|
815
770
|
border-radius: inherit;
|
|
816
771
|
}
|
|
817
772
|
`;
|
|
818
|
-
var
|
|
819
|
-
var a = arguments.length, r = a < 3 ? t : o === null ? o = Object.getOwnPropertyDescriptor(t, i) : o,
|
|
773
|
+
var T = function(e, t, i, o) {
|
|
774
|
+
var a = arguments.length, r = a < 3 ? t : o === null ? o = Object.getOwnPropertyDescriptor(t, i) : o, s;
|
|
820
775
|
if (typeof Reflect == "object" && typeof Reflect.decorate == "function") r = Reflect.decorate(e, t, i, o);
|
|
821
|
-
else for (var
|
|
776
|
+
else for (var n = e.length - 1; n >= 0; n--) (s = e[n]) && (r = (a < 3 ? s(r) : a > 3 ? s(t, i, r) : s(t, i)) || r);
|
|
822
777
|
return a > 3 && r && Object.defineProperty(t, i, r), r;
|
|
823
778
|
};
|
|
824
779
|
let C = class extends S {
|
|
@@ -836,16 +791,16 @@ let C = class extends S {
|
|
|
836
791
|
}
|
|
837
792
|
};
|
|
838
793
|
C.styles = [$, W, wt];
|
|
839
|
-
|
|
794
|
+
T([
|
|
840
795
|
c()
|
|
841
796
|
], C.prototype, "src", void 0);
|
|
842
|
-
|
|
797
|
+
T([
|
|
843
798
|
c()
|
|
844
799
|
], C.prototype, "alt", void 0);
|
|
845
|
-
|
|
800
|
+
T([
|
|
846
801
|
c()
|
|
847
802
|
], C.prototype, "size", void 0);
|
|
848
|
-
C =
|
|
803
|
+
C = T([
|
|
849
804
|
x("wui-image")
|
|
850
805
|
], C);
|
|
851
806
|
const mt = b`
|
|
@@ -895,9 +850,9 @@ const mt = b`
|
|
|
895
850
|
}
|
|
896
851
|
`;
|
|
897
852
|
var I = function(e, t, i, o) {
|
|
898
|
-
var a = arguments.length, r = a < 3 ? t : o === null ? o = Object.getOwnPropertyDescriptor(t, i) : o,
|
|
853
|
+
var a = arguments.length, r = a < 3 ? t : o === null ? o = Object.getOwnPropertyDescriptor(t, i) : o, s;
|
|
899
854
|
if (typeof Reflect == "object" && typeof Reflect.decorate == "function") r = Reflect.decorate(e, t, i, o);
|
|
900
|
-
else for (var
|
|
855
|
+
else for (var n = e.length - 1; n >= 0; n--) (s = e[n]) && (r = (a < 3 ? s(r) : a > 3 ? s(t, i, r) : s(t, i)) || r);
|
|
901
856
|
return a > 3 && r && Object.defineProperty(t, i, r), r;
|
|
902
857
|
};
|
|
903
858
|
let z = class extends S {
|
|
@@ -993,10 +948,10 @@ const vt = b`
|
|
|
993
948
|
}
|
|
994
949
|
}
|
|
995
950
|
`;
|
|
996
|
-
var
|
|
997
|
-
var a = arguments.length, r = a < 3 ? t : o === null ? o = Object.getOwnPropertyDescriptor(t, i) : o,
|
|
951
|
+
var M = function(e, t, i, o) {
|
|
952
|
+
var a = arguments.length, r = a < 3 ? t : o === null ? o = Object.getOwnPropertyDescriptor(t, i) : o, s;
|
|
998
953
|
if (typeof Reflect == "object" && typeof Reflect.decorate == "function") r = Reflect.decorate(e, t, i, o);
|
|
999
|
-
else for (var
|
|
954
|
+
else for (var n = e.length - 1; n >= 0; n--) (s = e[n]) && (r = (a < 3 ? s(r) : a > 3 ? s(t, i, r) : s(t, i)) || r);
|
|
1000
955
|
return a > 3 && r && Object.defineProperty(t, i, r), r;
|
|
1001
956
|
};
|
|
1002
957
|
let k = class extends S {
|
|
@@ -1010,13 +965,13 @@ let k = class extends S {
|
|
|
1010
965
|
}
|
|
1011
966
|
};
|
|
1012
967
|
k.styles = [$, vt];
|
|
1013
|
-
|
|
968
|
+
M([
|
|
1014
969
|
c()
|
|
1015
970
|
], k.prototype, "color", void 0);
|
|
1016
|
-
|
|
971
|
+
M([
|
|
1017
972
|
c()
|
|
1018
973
|
], k.prototype, "size", void 0);
|
|
1019
|
-
k =
|
|
974
|
+
k = M([
|
|
1020
975
|
x("wui-loading-spinner")
|
|
1021
976
|
], k);
|
|
1022
977
|
export {
|