@directcryptopay/sdk 0.2.2 → 0.2.3
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/ExchangeController-CPMQq6Q-.js +217 -0
- package/dist/HelpersUtil-DfMFC7Bf.js +120 -0
- package/dist/NavigationUtil-kj9LEOOd.js +8 -0
- package/dist/PhArrowCircleDown-lsK25DCk.js +73 -0
- package/dist/PhArrowClockwise-NeKHZ1co.js +73 -0
- package/dist/PhArrowDown-C9AkNvLs.js +73 -0
- package/dist/PhArrowLeft-RNfIQP1X.js +73 -0
- package/dist/PhArrowRight-DM1tna0G.js +73 -0
- package/dist/PhArrowSquareOut-S5XYbAZj.js +73 -0
- package/dist/PhArrowUp-DmktzOWy.js +73 -0
- package/dist/PhArrowUpRight-BkNeW_5i.js +73 -0
- package/dist/PhArrowsClockwise-CQ4pG76b.js +73 -0
- package/dist/PhArrowsDownUp-H6gxaNM6.js +73 -0
- package/dist/PhArrowsLeftRight-DZSsfMR6.js +73 -0
- package/dist/PhBank-4_9QzqIB.js +73 -0
- package/dist/PhBrowser-B-JSznId.js +73 -0
- package/dist/PhCaretDown-vV5oHMNi.js +73 -0
- package/dist/PhCaretLeft-BLo6Y_f4.js +73 -0
- package/dist/PhCaretRight-CqQN4TT3.js +73 -0
- package/dist/PhCaretUp-Df7UCAHy.js +73 -0
- package/dist/PhCheck-gtpfK4ed.js +73 -0
- package/dist/PhCircleHalf-Uq7dwDYw.js +73 -0
- package/dist/PhClock-SDCW-NmF.js +73 -0
- package/dist/PhCompass-B7hgtdx-.js +73 -0
- package/dist/PhCopy-BcnhyXCy.js +73 -0
- package/dist/PhCreditCard-BJjByVgu.js +73 -0
- package/dist/PhCurrencyDollar-B7ZXqXBy.js +73 -0
- package/dist/PhDesktop-B3VKPuJx.js +73 -0
- package/dist/PhDeviceMobile-Bnd0TYEH.js +73 -0
- package/dist/PhDotsThree-yyMWyZ-R.js +73 -0
- package/dist/PhEnvelope-67uzHbI9.js +73 -0
- package/dist/PhFunnelSimple-B-DCsloI.js +73 -0
- package/dist/PhGlobe-TMm_6qGk.js +73 -0
- package/dist/PhIdentificationCard-CePPD2xc.js +73 -0
- package/dist/PhImage-gY96WtHR.js +73 -0
- package/dist/PhInfo-DRQM_ZDP.js +73 -0
- package/dist/PhLightbulb-B0TxPfZ1.js +73 -0
- package/dist/PhMagnifyingGlass-B8si5_6W.js +73 -0
- package/dist/PhPaperPlaneRight-DVu5PLYd.js +73 -0
- package/dist/PhPlus-BfTsQnUz.js +73 -0
- package/dist/PhPower-CxYUGOWn.js +73 -0
- package/dist/PhPuzzlePiece-CQ4wh0gV.js +73 -0
- package/dist/PhQrCode-BuJ97NYJ.js +73 -0
- package/dist/PhQuestion-kJoP8Mja.js +73 -0
- package/dist/PhQuestionMark-C46ZkFpu.js +73 -0
- package/dist/PhSealCheck-Eh8jVqSN.js +73 -0
- package/dist/PhSignOut-jk97OSVt.js +73 -0
- package/dist/PhSpinner-CiYOhwMg.js +73 -0
- package/dist/PhTrash-pxerMqzd.js +73 -0
- package/dist/PhUser-BMg0VV4A.js +73 -0
- package/dist/PhVault-DYQvx5A-.js +73 -0
- package/dist/PhWarning-NLC5Mj87.js +73 -0
- package/dist/PhWarningCircle-Ch2jU9fA.js +73 -0
- package/dist/PhX-Bx4wpwm3.js +73 -0
- package/dist/SwapController-Cti0Cyxa.js +457 -0
- package/dist/{ccip-BIGqktC1.js → ccip-CKZd2XJ7.js} +4 -4
- package/dist/data-capture-7D5CL385.js +490 -0
- package/dist/dcp-sdk.umd.js +7400 -6589
- package/dist/email-AmK0INbZ.js +344 -0
- package/dist/embedded-wallet-Pn0I_XLn.js +820 -0
- package/dist/features-x8XNprEe.js +274 -0
- package/dist/{hashTypedData-ZH9ZnWu3.js → hashTypedData-B50-z0AA.js} +6 -6
- package/dist/if-defined-CdZSZ6UL.js +10 -0
- package/dist/index-4ewUtPPp.js +7981 -0
- package/dist/{index-D6h-qfpt.js → index-51l86yqx.js} +5 -5
- package/dist/index-B6K56LF_.js +85 -0
- package/dist/index-BAmv9PxJ.js +257 -0
- package/dist/index-BEswjY9r.js +117 -0
- package/dist/index-BSKRq56S.js +355 -0
- package/dist/index-BaygXQxx.js +172 -0
- package/dist/index-BcPxaHr5.js +118 -0
- package/dist/index-Bjt7nGaJ.js +199 -0
- package/dist/{index-D5r0iSq4.js → index-BkTSyAJb.js} +1 -1
- package/dist/index-Bmnl7l2U.js +555 -0
- package/dist/index-BvPvouSq.js +56 -0
- package/dist/index-C-6iznUO.js +174 -0
- package/dist/index-C4M5s_AM.js +228 -0
- package/dist/index-CEqcN8QP.js +1175 -0
- package/dist/{index-CPTcEPbD.js → index-CM3YaYca.js} +296 -298
- package/dist/{index-f3LXSfM5.js → index-CclBLA5r.js} +56 -142
- package/dist/index-ChTxJOiF.js +46 -0
- package/dist/index-CmAv0Tzr.js +86 -0
- package/dist/index-CmvoKY4x.js +125 -0
- package/dist/{index-BdSIrl-R.js → index-D7PmdQ9B.js} +578 -570
- package/dist/{index-DobBVPe4.js → index-D7k2Pc4e.js} +481 -236
- package/dist/index-D7lmgqUR.js +153 -0
- package/dist/index-DG_-qYze.js +107 -0
- package/dist/{index-Dy4NyE6l.js → index-DHot9Fdb.js} +7 -7
- package/dist/index-DV2LrPtU.js +123 -0
- package/dist/index-DYBaJQ2W.js +65 -0
- package/dist/{index-BJ7cbG3N.js → index-D_8VUmn1.js} +36688 -40208
- package/dist/index-D_gLn3rT.js +100 -0
- package/dist/index-DqcVUSC9.js +62 -0
- package/dist/index-I7VDqINw.js +128 -0
- package/dist/index-Oz72I9VP.js +209 -0
- package/dist/index-UclsHkJ0.js +118 -0
- package/dist/index-X8zir_1j.js +110 -0
- package/dist/index-XvlWKGCu.js +1281 -0
- package/dist/index-dO97xPlt.js +171 -0
- package/dist/{index-5mp7WkhV.js → index-uBeF6OAB.js} +2 -2
- package/dist/index-zeA_RiCV.js +159 -0
- package/dist/index.js +1 -1
- package/dist/{localBatchGatewayRequest-CjGcn5nM.js → localBatchGatewayRequest-BUZHGdjw.js} +1 -1
- package/dist/onramp-CdnBuF0r.js +855 -0
- package/dist/{parseSignature-S8VEpRHC.js → parseSignature-CcyTNGr4.js} +2312 -2313
- package/dist/pay-with-exchange-CSM6WCOV.js +525 -0
- package/dist/property-Bd8U3_QP.js +618 -0
- package/dist/receive-DooMu4Dx.js +232 -0
- package/dist/ref-CpgjXAw7.js +107 -0
- package/dist/send-3T7CyYic.js +1166 -0
- package/dist/socials-Dt-iHL17.js +620 -0
- package/dist/swaps-CjA9Es42.js +1760 -0
- package/dist/{transactions-DujFkB-M.js → transactions-nRm9DVzn.js} +10 -10
- package/dist/w3m-modal-NV25AXhM.js +1706 -0
- package/package.json +3 -3
- package/dist/ConstantsUtil-B-_-u8aQ.js +0 -6
- package/dist/add-sji6scSD.js +0 -19
- package/dist/all-wallets-B4H-890E.js +0 -10
- package/dist/app-store-Z433s97G.js +0 -21
- package/dist/apple-b8Lxj7nb.js +0 -22
- package/dist/arrow-bottom-M9oWWo_9.js +0 -12
- package/dist/arrow-bottom-circle-N9c4CXY1.js +0 -15
- package/dist/arrow-left-Dw8AKfwf.js +0 -12
- package/dist/arrow-right-DwLQZSC_.js +0 -12
- package/dist/arrow-top-zhUjkBe1.js +0 -12
- package/dist/bank-CbQdnILK.js +0 -18
- package/dist/browser-xAqNwt7z.js +0 -18
- package/dist/card-Dr1QBmWp.js +0 -18
- package/dist/checkmark-BhT1dTgG.js +0 -15
- package/dist/checkmark-bold-CPB29wqQ.js +0 -12
- package/dist/chevron-bottom-BhNyx2II.js +0 -12
- package/dist/chevron-left-CGuEjQlY.js +0 -12
- package/dist/chevron-right-CvIRRsqZ.js +0 -12
- package/dist/chevron-top-RSzCqjBd.js +0 -12
- package/dist/chrome-store-Cs8dAgs0.js +0 -65
- package/dist/clock-fhZO5otC.js +0 -12
- package/dist/close-BPuztrdR.js +0 -12
- package/dist/coinPlaceholder-C8X2i7Kh.js +0 -12
- package/dist/compass-WMc5huk0.js +0 -12
- package/dist/copy-DVAeT17y.js +0 -19
- package/dist/cursor-BJ4YLXfy.js +0 -7
- package/dist/cursor-transparent-DN2fLQN4.js +0 -16
- package/dist/desktop-6avxisBw.js +0 -13
- package/dist/disconnect-AReVI8Gk.js +0 -12
- package/dist/discord-CxrI30BZ.js +0 -21
- package/dist/email-B8dIIaay.js +0 -696
- package/dist/embedded-wallet-C_5hF7rM.js +0 -468
- package/dist/etherscan-BnAy8cIF.js +0 -10
- package/dist/exclamation-triangle-Bu7nHwx9.js +0 -8
- package/dist/extension-F0LIhvcf.js +0 -12
- package/dist/external-link-CP6phyaM.js +0 -12
- package/dist/facebook-BtQ-Io2y.js +0 -30
- package/dist/farcaster-BmaN1ugd.js +0 -16
- package/dist/filters-DpEwoOmy.js +0 -12
- package/dist/github-q7qO9V-b.js +0 -22
- package/dist/google-DH_ZE8bW.js +0 -22
- package/dist/help-circle-BAQVmKas.js +0 -16
- package/dist/id-Cj68Zwgo.js +0 -16
- package/dist/if-defined-CNte9B3N.js +0 -744
- package/dist/image-BKJDw6N-.js +0 -8
- package/dist/index-7toZMdtG.js +0 -573
- package/dist/index-B1uKzdvN.js +0 -170
- package/dist/index-BHFZVF-b.js +0 -257
- package/dist/index-BKwa5JSA.js +0 -559
- package/dist/index-BP4B9VUt.js +0 -54
- package/dist/index-BVdzXHpO.js +0 -181
- package/dist/index-BYND0GJ9.js +0 -146
- package/dist/index-BaJ0zEbh.js +0 -97
- package/dist/index-Bh0MPFwP.js +0 -58
- package/dist/index-Bsh7_qTp.js +0 -511
- package/dist/index-BwnXTNNg.js +0 -199
- package/dist/index-C0kPDbg_.js +0 -77
- package/dist/index-CKikVKe2.js +0 -75
- package/dist/index-ChVh0Hkp.js +0 -243
- package/dist/index-Cle_NnnS.js +0 -305
- package/dist/index-CmWdvIFT.js +0 -51
- package/dist/index-D2AMA8Bu.js +0 -65
- package/dist/index-DAUM8CO4.js +0 -65
- package/dist/index-DGjZW6uR.js +0 -78
- package/dist/index-DQe94z7X.js +0 -265
- package/dist/index-DTo6w99t.js +0 -7864
- package/dist/index-DYdXjap2.js +0 -320
- package/dist/index-DceCxNV5.js +0 -181
- package/dist/index-Uw9cSw0q.js +0 -294
- package/dist/index-qiuyrukh.js +0 -45
- package/dist/index-zddvaohA.js +0 -78
- package/dist/info-RfPsmroW.js +0 -7
- package/dist/info-circle-DFKHB_ZN.js +0 -16
- package/dist/lightbulb-B-Bykj9X.js +0 -7
- package/dist/mail-mBAgGuw5.js +0 -12
- package/dist/mobile-Dhh3ndkf.js +0 -13
- package/dist/more-D1h7UTvg.js +0 -15
- package/dist/network-placeholder-Dqynvc-t.js +0 -18
- package/dist/nftPlaceholder-Df7MW4MM.js +0 -12
- package/dist/off-BmG3cHTX.js +0 -12
- package/dist/onramp-C401Aenb.js +0 -1279
- package/dist/play-store-4q1fzL_P.js +0 -36
- package/dist/plus-603Gs3yG.js +0 -17
- package/dist/qr-code-Dgwhf6M1.js +0 -10
- package/dist/receive-CYXbbEUR.js +0 -186
- package/dist/recycle-horizontal-Bu8zZ563.js +0 -13
- package/dist/ref-DpmKRWBK.js +0 -41
- package/dist/refresh-BMZFu0mu.js +0 -12
- package/dist/reown-logo-BXph7ThY.js +0 -16
- package/dist/search-Cm_V42Y_.js +0 -12
- package/dist/secp256k1-C0iX1TUr.js +0 -1510
- package/dist/secp256k1-DOQBqE4Z.js +0 -1302
- package/dist/send-BSMYxDuP.js +0 -19
- package/dist/send-C8EeIzRB.js +0 -1038
- package/dist/socials-DQrHQajs.js +0 -574
- package/dist/swapHorizontal-98rnJewS.js +0 -12
- package/dist/swapHorizontalBold-C299FjEt.js +0 -12
- package/dist/swapHorizontalMedium-Cqm6i4WJ.js +0 -20
- package/dist/swapHorizontalRoundedBold-De7hFfqZ.js +0 -12
- package/dist/swapVertical-DSL75l8L.js +0 -12
- package/dist/swaps-BuTNp65Y.js +0 -1637
- package/dist/telegram-cJP7hgUb.js +0 -20
- package/dist/three-dots-DHnEh28O.js +0 -9
- package/dist/twitch-CR2iGcBo.js +0 -22
- package/dist/twitterIcon-E5TAQjOn.js +0 -10
- package/dist/verify-DEukUJp0.js +0 -12
- package/dist/verify-filled-BXsx1i_p.js +0 -12
- package/dist/w3m-modal-Bm7BqVng.js +0 -1037
- package/dist/wallet-CzyyvdrT.js +0 -12
- package/dist/wallet-placeholder-BrcmyGEe.js +0 -18
- package/dist/walletconnect-BSYogWiE.js +0 -36
- package/dist/warning-circle-Cgp2BW3m.js +0 -16
- package/dist/x-BJinLpTw.js +0 -16
|
@@ -1,744 +0,0 @@
|
|
|
1
|
-
import { dU as H, dV as L, dW as x, cE as _, cH as z, cL as I, cF as A, cG as $, cC as O } from "./index-BJ7cbG3N.js";
|
|
2
|
-
const g = {
|
|
3
|
-
getSpacingStyles(t, e) {
|
|
4
|
-
if (Array.isArray(t))
|
|
5
|
-
return t[e] ? `var(--wui-spacing-${t[e]})` : void 0;
|
|
6
|
-
if (typeof t == "string")
|
|
7
|
-
return `var(--wui-spacing-${t})`;
|
|
8
|
-
},
|
|
9
|
-
getFormattedDate(t) {
|
|
10
|
-
return new Intl.DateTimeFormat("en-US", { month: "short", day: "numeric" }).format(t);
|
|
11
|
-
},
|
|
12
|
-
getHostName(t) {
|
|
13
|
-
try {
|
|
14
|
-
return new URL(t).hostname;
|
|
15
|
-
} catch {
|
|
16
|
-
return "";
|
|
17
|
-
}
|
|
18
|
-
},
|
|
19
|
-
getTruncateString({ string: t, charsStart: e, charsEnd: i, truncate: r }) {
|
|
20
|
-
return t.length <= e + i ? t : r === "end" ? `${t.substring(0, e)}...` : r === "start" ? `...${t.substring(t.length - i)}` : `${t.substring(0, Math.floor(e))}...${t.substring(t.length - Math.floor(i))}`;
|
|
21
|
-
},
|
|
22
|
-
generateAvatarColors(t) {
|
|
23
|
-
const i = t.toLowerCase().replace(/^0x/iu, "").replace(/[^a-f0-9]/gu, "").substring(0, 6).padEnd(6, "0"), r = this.hexToRgb(i), n = getComputedStyle(document.documentElement).getPropertyValue("--w3m-border-radius-master"), a = 100 - 3 * Number(n == null ? void 0 : n.replace("px", "")), s = `${a}% ${a}% at 65% 40%`, l = [];
|
|
24
|
-
for (let d = 0; d < 5; d += 1) {
|
|
25
|
-
const h = this.tintColor(r, 0.15 * d);
|
|
26
|
-
l.push(`rgb(${h[0]}, ${h[1]}, ${h[2]})`);
|
|
27
|
-
}
|
|
28
|
-
return `
|
|
29
|
-
--local-color-1: ${l[0]};
|
|
30
|
-
--local-color-2: ${l[1]};
|
|
31
|
-
--local-color-3: ${l[2]};
|
|
32
|
-
--local-color-4: ${l[3]};
|
|
33
|
-
--local-color-5: ${l[4]};
|
|
34
|
-
--local-radial-circle: ${s}
|
|
35
|
-
`;
|
|
36
|
-
},
|
|
37
|
-
hexToRgb(t) {
|
|
38
|
-
const e = parseInt(t, 16), i = e >> 16 & 255, r = e >> 8 & 255, n = e & 255;
|
|
39
|
-
return [i, r, n];
|
|
40
|
-
},
|
|
41
|
-
tintColor(t, e) {
|
|
42
|
-
const [i, r, n] = t, o = Math.round(i + (255 - i) * e), a = Math.round(r + (255 - r) * e), s = Math.round(n + (255 - n) * e);
|
|
43
|
-
return [o, a, s];
|
|
44
|
-
},
|
|
45
|
-
isNumber(t) {
|
|
46
|
-
return {
|
|
47
|
-
number: /^[0-9]+$/u
|
|
48
|
-
}.number.test(t);
|
|
49
|
-
},
|
|
50
|
-
getColorTheme(t) {
|
|
51
|
-
var e;
|
|
52
|
-
return t || (typeof window < "u" && window.matchMedia ? (e = window.matchMedia("(prefers-color-scheme: dark)")) != null && e.matches ? "dark" : "light" : "dark");
|
|
53
|
-
},
|
|
54
|
-
splitBalance(t) {
|
|
55
|
-
const e = t.split(".");
|
|
56
|
-
return e.length === 2 ? [e[0], e[1]] : ["0", "00"];
|
|
57
|
-
},
|
|
58
|
-
roundNumber(t, e, i) {
|
|
59
|
-
return t.toString().length >= e ? Number(t).toFixed(i) : t;
|
|
60
|
-
},
|
|
61
|
-
formatNumberToLocalString(t, e = 2) {
|
|
62
|
-
return t === void 0 ? "0.00" : typeof t == "number" ? t.toLocaleString("en-US", {
|
|
63
|
-
maximumFractionDigits: e,
|
|
64
|
-
minimumFractionDigits: e
|
|
65
|
-
}) : parseFloat(t).toLocaleString("en-US", {
|
|
66
|
-
maximumFractionDigits: e,
|
|
67
|
-
minimumFractionDigits: e
|
|
68
|
-
});
|
|
69
|
-
}
|
|
70
|
-
};
|
|
71
|
-
function D(t, e) {
|
|
72
|
-
const { kind: i, elements: r } = e;
|
|
73
|
-
return {
|
|
74
|
-
kind: i,
|
|
75
|
-
elements: r,
|
|
76
|
-
finisher(n) {
|
|
77
|
-
customElements.get(t) || customElements.define(t, n);
|
|
78
|
-
}
|
|
79
|
-
};
|
|
80
|
-
}
|
|
81
|
-
function F(t, e) {
|
|
82
|
-
return customElements.get(t) || customElements.define(t, e), e;
|
|
83
|
-
}
|
|
84
|
-
function T(t) {
|
|
85
|
-
return function(i) {
|
|
86
|
-
return typeof i == "function" ? F(t, i) : D(t, i);
|
|
87
|
-
};
|
|
88
|
-
}
|
|
89
|
-
/**
|
|
90
|
-
* @license
|
|
91
|
-
* Copyright 2017 Google LLC
|
|
92
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
93
|
-
*/
|
|
94
|
-
const G = { attribute: !0, type: String, converter: L, reflect: !1, hasChanged: H }, E = (t = G, e, i) => {
|
|
95
|
-
const { kind: r, metadata: n } = i;
|
|
96
|
-
let o = globalThis.litPropertyMetadata.get(n);
|
|
97
|
-
if (o === void 0 && globalThis.litPropertyMetadata.set(n, o = /* @__PURE__ */ new Map()), r === "setter" && ((t = Object.create(t)).wrapped = !0), o.set(i.name, t), r === "accessor") {
|
|
98
|
-
const { name: a } = i;
|
|
99
|
-
return { set(s) {
|
|
100
|
-
const l = e.get.call(this);
|
|
101
|
-
e.set.call(this, s), this.requestUpdate(a, l, t);
|
|
102
|
-
}, init(s) {
|
|
103
|
-
return s !== void 0 && this.C(a, void 0, t, s), s;
|
|
104
|
-
} };
|
|
105
|
-
}
|
|
106
|
-
if (r === "setter") {
|
|
107
|
-
const { name: a } = i;
|
|
108
|
-
return function(s) {
|
|
109
|
-
const l = this[a];
|
|
110
|
-
e.call(this, s), this.requestUpdate(a, l, t);
|
|
111
|
-
};
|
|
112
|
-
}
|
|
113
|
-
throw Error("Unsupported decorator location: " + r);
|
|
114
|
-
};
|
|
115
|
-
function c(t) {
|
|
116
|
-
return (e, i) => typeof i == "object" ? E(t, e, i) : ((r, n, o) => {
|
|
117
|
-
const a = n.hasOwnProperty(o);
|
|
118
|
-
return n.constructor.createProperty(o, r), a ? Object.getOwnPropertyDescriptor(n, o) : void 0;
|
|
119
|
-
})(t, e, i);
|
|
120
|
-
}
|
|
121
|
-
/**
|
|
122
|
-
* @license
|
|
123
|
-
* Copyright 2017 Google LLC
|
|
124
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
125
|
-
*/
|
|
126
|
-
function st(t) {
|
|
127
|
-
return c({ ...t, state: !0, attribute: !1 });
|
|
128
|
-
}
|
|
129
|
-
/**
|
|
130
|
-
* @license
|
|
131
|
-
* Copyright 2020 Google LLC
|
|
132
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
133
|
-
*/
|
|
134
|
-
const N = (t) => t === null || typeof t != "object" && typeof t != "function", W = (t) => t.strings === void 0;
|
|
135
|
-
/**
|
|
136
|
-
* @license
|
|
137
|
-
* Copyright 2017 Google LLC
|
|
138
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
139
|
-
*/
|
|
140
|
-
const j = { ATTRIBUTE: 1, CHILD: 2 }, B = (t) => (...e) => ({ _$litDirective$: t, values: e });
|
|
141
|
-
let M = class {
|
|
142
|
-
constructor(e) {
|
|
143
|
-
}
|
|
144
|
-
get _$AU() {
|
|
145
|
-
return this._$AM._$AU;
|
|
146
|
-
}
|
|
147
|
-
_$AT(e, i, r) {
|
|
148
|
-
this._$Ct = e, this._$AM = i, this._$Ci = r;
|
|
149
|
-
}
|
|
150
|
-
_$AS(e, i) {
|
|
151
|
-
return this.update(e, i);
|
|
152
|
-
}
|
|
153
|
-
update(e, i) {
|
|
154
|
-
return this.render(...i);
|
|
155
|
-
}
|
|
156
|
-
};
|
|
157
|
-
/**
|
|
158
|
-
* @license
|
|
159
|
-
* Copyright 2017 Google LLC
|
|
160
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
161
|
-
*/
|
|
162
|
-
const m = (t, e) => {
|
|
163
|
-
var r;
|
|
164
|
-
const i = t._$AN;
|
|
165
|
-
if (i === void 0) return !1;
|
|
166
|
-
for (const n of i) (r = n._$AO) == null || r.call(n, e, !1), m(n, e);
|
|
167
|
-
return !0;
|
|
168
|
-
}, S = (t) => {
|
|
169
|
-
let e, i;
|
|
170
|
-
do {
|
|
171
|
-
if ((e = t._$AM) === void 0) break;
|
|
172
|
-
i = e._$AN, i.delete(t), t = e;
|
|
173
|
-
} while ((i == null ? void 0 : i.size) === 0);
|
|
174
|
-
}, U = (t) => {
|
|
175
|
-
for (let e; e = t._$AM; t = e) {
|
|
176
|
-
let i = e._$AN;
|
|
177
|
-
if (i === void 0) e._$AN = i = /* @__PURE__ */ new Set();
|
|
178
|
-
else if (i.has(t)) break;
|
|
179
|
-
i.add(t), K(e);
|
|
180
|
-
}
|
|
181
|
-
};
|
|
182
|
-
function V(t) {
|
|
183
|
-
this._$AN !== void 0 ? (S(this), this._$AM = t, U(this)) : this._$AM = t;
|
|
184
|
-
}
|
|
185
|
-
function q(t, e = !1, i = 0) {
|
|
186
|
-
const r = this._$AH, n = this._$AN;
|
|
187
|
-
if (n !== void 0 && n.size !== 0) if (e) if (Array.isArray(r)) for (let o = i; o < r.length; o++) m(r[o], !1), S(r[o]);
|
|
188
|
-
else r != null && (m(r, !1), S(r));
|
|
189
|
-
else m(this, t);
|
|
190
|
-
}
|
|
191
|
-
const K = (t) => {
|
|
192
|
-
t.type == j.CHILD && (t._$AP ?? (t._$AP = q), t._$AQ ?? (t._$AQ = V));
|
|
193
|
-
};
|
|
194
|
-
class X extends M {
|
|
195
|
-
constructor() {
|
|
196
|
-
super(...arguments), this._$AN = void 0;
|
|
197
|
-
}
|
|
198
|
-
_$AT(e, i, r) {
|
|
199
|
-
super._$AT(e, i, r), U(this), this.isConnected = e._$AU;
|
|
200
|
-
}
|
|
201
|
-
_$AO(e, i = !0) {
|
|
202
|
-
var r, n;
|
|
203
|
-
e !== this.isConnected && (this.isConnected = e, e ? (r = this.reconnected) == null || r.call(this) : (n = this.disconnected) == null || n.call(this)), i && (m(this, e), S(this));
|
|
204
|
-
}
|
|
205
|
-
setValue(e) {
|
|
206
|
-
if (W(this._$Ct)) this._$Ct._$AI(e, this);
|
|
207
|
-
else {
|
|
208
|
-
const i = [...this._$Ct._$AH];
|
|
209
|
-
i[this._$Ci] = e, this._$Ct._$AI(i, this, 0);
|
|
210
|
-
}
|
|
211
|
-
}
|
|
212
|
-
disconnected() {
|
|
213
|
-
}
|
|
214
|
-
reconnected() {
|
|
215
|
-
}
|
|
216
|
-
}
|
|
217
|
-
/**
|
|
218
|
-
* @license
|
|
219
|
-
* Copyright 2021 Google LLC
|
|
220
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
221
|
-
*/
|
|
222
|
-
class Y {
|
|
223
|
-
constructor(e) {
|
|
224
|
-
this.G = e;
|
|
225
|
-
}
|
|
226
|
-
disconnect() {
|
|
227
|
-
this.G = void 0;
|
|
228
|
-
}
|
|
229
|
-
reconnect(e) {
|
|
230
|
-
this.G = e;
|
|
231
|
-
}
|
|
232
|
-
deref() {
|
|
233
|
-
return this.G;
|
|
234
|
-
}
|
|
235
|
-
}
|
|
236
|
-
class Z {
|
|
237
|
-
constructor() {
|
|
238
|
-
this.Y = void 0, this.Z = void 0;
|
|
239
|
-
}
|
|
240
|
-
get() {
|
|
241
|
-
return this.Y;
|
|
242
|
-
}
|
|
243
|
-
pause() {
|
|
244
|
-
this.Y ?? (this.Y = new Promise(((e) => this.Z = e)));
|
|
245
|
-
}
|
|
246
|
-
resume() {
|
|
247
|
-
var e;
|
|
248
|
-
(e = this.Z) == null || e.call(this), this.Y = this.Z = void 0;
|
|
249
|
-
}
|
|
250
|
-
}
|
|
251
|
-
/**
|
|
252
|
-
* @license
|
|
253
|
-
* Copyright 2017 Google LLC
|
|
254
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
255
|
-
*/
|
|
256
|
-
const k = (t) => !N(t) && typeof t.then == "function", P = 1073741823;
|
|
257
|
-
class Q extends X {
|
|
258
|
-
constructor() {
|
|
259
|
-
super(...arguments), this._$Cwt = P, this._$Cbt = [], this._$CK = new Y(this), this._$CX = new Z();
|
|
260
|
-
}
|
|
261
|
-
render(...e) {
|
|
262
|
-
return e.find(((i) => !k(i))) ?? x;
|
|
263
|
-
}
|
|
264
|
-
update(e, i) {
|
|
265
|
-
const r = this._$Cbt;
|
|
266
|
-
let n = r.length;
|
|
267
|
-
this._$Cbt = i;
|
|
268
|
-
const o = this._$CK, a = this._$CX;
|
|
269
|
-
this.isConnected || this.disconnected();
|
|
270
|
-
for (let s = 0; s < i.length && !(s > this._$Cwt); s++) {
|
|
271
|
-
const l = i[s];
|
|
272
|
-
if (!k(l)) return this._$Cwt = s, l;
|
|
273
|
-
s < n && l === r[s] || (this._$Cwt = P, n = 0, Promise.resolve(l).then((async (d) => {
|
|
274
|
-
for (; a.get(); ) await a.get();
|
|
275
|
-
const h = o.deref();
|
|
276
|
-
if (h !== void 0) {
|
|
277
|
-
const b = h._$Cbt.indexOf(l);
|
|
278
|
-
b > -1 && b < h._$Cwt && (h._$Cwt = b, h.setValue(d));
|
|
279
|
-
}
|
|
280
|
-
})));
|
|
281
|
-
}
|
|
282
|
-
return x;
|
|
283
|
-
}
|
|
284
|
-
disconnected() {
|
|
285
|
-
this._$CK.disconnect(), this._$CX.pause();
|
|
286
|
-
}
|
|
287
|
-
reconnected() {
|
|
288
|
-
this._$CK.reconnect(this), this._$CX.resume();
|
|
289
|
-
}
|
|
290
|
-
}
|
|
291
|
-
const J = B(Q);
|
|
292
|
-
class tt {
|
|
293
|
-
constructor() {
|
|
294
|
-
this.cache = /* @__PURE__ */ new Map();
|
|
295
|
-
}
|
|
296
|
-
set(e, i) {
|
|
297
|
-
this.cache.set(e, i);
|
|
298
|
-
}
|
|
299
|
-
get(e) {
|
|
300
|
-
return this.cache.get(e);
|
|
301
|
-
}
|
|
302
|
-
has(e) {
|
|
303
|
-
return this.cache.has(e);
|
|
304
|
-
}
|
|
305
|
-
delete(e) {
|
|
306
|
-
this.cache.delete(e);
|
|
307
|
-
}
|
|
308
|
-
clear() {
|
|
309
|
-
this.cache.clear();
|
|
310
|
-
}
|
|
311
|
-
}
|
|
312
|
-
const C = new tt(), et = _`
|
|
313
|
-
:host {
|
|
314
|
-
display: flex;
|
|
315
|
-
aspect-ratio: var(--local-aspect-ratio);
|
|
316
|
-
color: var(--local-color);
|
|
317
|
-
width: var(--local-width);
|
|
318
|
-
}
|
|
319
|
-
|
|
320
|
-
svg {
|
|
321
|
-
width: inherit;
|
|
322
|
-
height: inherit;
|
|
323
|
-
object-fit: contain;
|
|
324
|
-
object-position: center;
|
|
325
|
-
}
|
|
326
|
-
|
|
327
|
-
.fallback {
|
|
328
|
-
width: var(--local-width);
|
|
329
|
-
height: var(--local-height);
|
|
330
|
-
}
|
|
331
|
-
`;
|
|
332
|
-
var v = function(t, e, i, r) {
|
|
333
|
-
var n = arguments.length, o = n < 3 ? e : r === null ? r = Object.getOwnPropertyDescriptor(e, i) : r, a;
|
|
334
|
-
if (typeof Reflect == "object" && typeof Reflect.decorate == "function") o = Reflect.decorate(t, e, i, r);
|
|
335
|
-
else for (var s = t.length - 1; s >= 0; s--) (a = t[s]) && (o = (n < 3 ? a(o) : n > 3 ? a(e, i, o) : a(e, i)) || o);
|
|
336
|
-
return n > 3 && o && Object.defineProperty(e, i, o), o;
|
|
337
|
-
};
|
|
338
|
-
const R = {
|
|
339
|
-
add: async () => (await import("./add-sji6scSD.js")).addSvg,
|
|
340
|
-
allWallets: async () => (await import("./all-wallets-B4H-890E.js")).allWalletsSvg,
|
|
341
|
-
arrowBottomCircle: async () => (await import("./arrow-bottom-circle-N9c4CXY1.js")).arrowBottomCircleSvg,
|
|
342
|
-
appStore: async () => (await import("./app-store-Z433s97G.js")).appStoreSvg,
|
|
343
|
-
apple: async () => (await import("./apple-b8Lxj7nb.js")).appleSvg,
|
|
344
|
-
arrowBottom: async () => (await import("./arrow-bottom-M9oWWo_9.js")).arrowBottomSvg,
|
|
345
|
-
arrowLeft: async () => (await import("./arrow-left-Dw8AKfwf.js")).arrowLeftSvg,
|
|
346
|
-
arrowRight: async () => (await import("./arrow-right-DwLQZSC_.js")).arrowRightSvg,
|
|
347
|
-
arrowTop: async () => (await import("./arrow-top-zhUjkBe1.js")).arrowTopSvg,
|
|
348
|
-
bank: async () => (await import("./bank-CbQdnILK.js")).bankSvg,
|
|
349
|
-
browser: async () => (await import("./browser-xAqNwt7z.js")).browserSvg,
|
|
350
|
-
card: async () => (await import("./card-Dr1QBmWp.js")).cardSvg,
|
|
351
|
-
checkmark: async () => (await import("./checkmark-BhT1dTgG.js")).checkmarkSvg,
|
|
352
|
-
checkmarkBold: async () => (await import("./checkmark-bold-CPB29wqQ.js")).checkmarkBoldSvg,
|
|
353
|
-
chevronBottom: async () => (await import("./chevron-bottom-BhNyx2II.js")).chevronBottomSvg,
|
|
354
|
-
chevronLeft: async () => (await import("./chevron-left-CGuEjQlY.js")).chevronLeftSvg,
|
|
355
|
-
chevronRight: async () => (await import("./chevron-right-CvIRRsqZ.js")).chevronRightSvg,
|
|
356
|
-
chevronTop: async () => (await import("./chevron-top-RSzCqjBd.js")).chevronTopSvg,
|
|
357
|
-
chromeStore: async () => (await import("./chrome-store-Cs8dAgs0.js")).chromeStoreSvg,
|
|
358
|
-
clock: async () => (await import("./clock-fhZO5otC.js")).clockSvg,
|
|
359
|
-
close: async () => (await import("./close-BPuztrdR.js")).closeSvg,
|
|
360
|
-
compass: async () => (await import("./compass-WMc5huk0.js")).compassSvg,
|
|
361
|
-
coinPlaceholder: async () => (await import("./coinPlaceholder-C8X2i7Kh.js")).coinPlaceholderSvg,
|
|
362
|
-
copy: async () => (await import("./copy-DVAeT17y.js")).copySvg,
|
|
363
|
-
cursor: async () => (await import("./cursor-BJ4YLXfy.js")).cursorSvg,
|
|
364
|
-
cursorTransparent: async () => (await import("./cursor-transparent-DN2fLQN4.js")).cursorTransparentSvg,
|
|
365
|
-
desktop: async () => (await import("./desktop-6avxisBw.js")).desktopSvg,
|
|
366
|
-
disconnect: async () => (await import("./disconnect-AReVI8Gk.js")).disconnectSvg,
|
|
367
|
-
discord: async () => (await import("./discord-CxrI30BZ.js")).discordSvg,
|
|
368
|
-
etherscan: async () => (await import("./etherscan-BnAy8cIF.js")).etherscanSvg,
|
|
369
|
-
extension: async () => (await import("./extension-F0LIhvcf.js")).extensionSvg,
|
|
370
|
-
externalLink: async () => (await import("./external-link-CP6phyaM.js")).externalLinkSvg,
|
|
371
|
-
facebook: async () => (await import("./facebook-BtQ-Io2y.js")).facebookSvg,
|
|
372
|
-
farcaster: async () => (await import("./farcaster-BmaN1ugd.js")).farcasterSvg,
|
|
373
|
-
filters: async () => (await import("./filters-DpEwoOmy.js")).filtersSvg,
|
|
374
|
-
github: async () => (await import("./github-q7qO9V-b.js")).githubSvg,
|
|
375
|
-
google: async () => (await import("./google-DH_ZE8bW.js")).googleSvg,
|
|
376
|
-
helpCircle: async () => (await import("./help-circle-BAQVmKas.js")).helpCircleSvg,
|
|
377
|
-
image: async () => (await import("./image-BKJDw6N-.js")).imageSvg,
|
|
378
|
-
id: async () => (await import("./id-Cj68Zwgo.js")).idSvg,
|
|
379
|
-
infoCircle: async () => (await import("./info-circle-DFKHB_ZN.js")).infoCircleSvg,
|
|
380
|
-
lightbulb: async () => (await import("./lightbulb-B-Bykj9X.js")).lightbulbSvg,
|
|
381
|
-
mail: async () => (await import("./mail-mBAgGuw5.js")).mailSvg,
|
|
382
|
-
mobile: async () => (await import("./mobile-Dhh3ndkf.js")).mobileSvg,
|
|
383
|
-
more: async () => (await import("./more-D1h7UTvg.js")).moreSvg,
|
|
384
|
-
networkPlaceholder: async () => (await import("./network-placeholder-Dqynvc-t.js")).networkPlaceholderSvg,
|
|
385
|
-
nftPlaceholder: async () => (await import("./nftPlaceholder-Df7MW4MM.js")).nftPlaceholderSvg,
|
|
386
|
-
off: async () => (await import("./off-BmG3cHTX.js")).offSvg,
|
|
387
|
-
playStore: async () => (await import("./play-store-4q1fzL_P.js")).playStoreSvg,
|
|
388
|
-
plus: async () => (await import("./plus-603Gs3yG.js")).plusSvg,
|
|
389
|
-
qrCode: async () => (await import("./qr-code-Dgwhf6M1.js")).qrCodeIcon,
|
|
390
|
-
recycleHorizontal: async () => (await import("./recycle-horizontal-Bu8zZ563.js")).recycleHorizontalSvg,
|
|
391
|
-
refresh: async () => (await import("./refresh-BMZFu0mu.js")).refreshSvg,
|
|
392
|
-
search: async () => (await import("./search-Cm_V42Y_.js")).searchSvg,
|
|
393
|
-
send: async () => (await import("./send-BSMYxDuP.js")).sendSvg,
|
|
394
|
-
swapHorizontal: async () => (await import("./swapHorizontal-98rnJewS.js")).swapHorizontalSvg,
|
|
395
|
-
swapHorizontalMedium: async () => (await import("./swapHorizontalMedium-Cqm6i4WJ.js")).swapHorizontalMediumSvg,
|
|
396
|
-
swapHorizontalBold: async () => (await import("./swapHorizontalBold-C299FjEt.js")).swapHorizontalBoldSvg,
|
|
397
|
-
swapHorizontalRoundedBold: async () => (await import("./swapHorizontalRoundedBold-De7hFfqZ.js")).swapHorizontalRoundedBoldSvg,
|
|
398
|
-
swapVertical: async () => (await import("./swapVertical-DSL75l8L.js")).swapVerticalSvg,
|
|
399
|
-
telegram: async () => (await import("./telegram-cJP7hgUb.js")).telegramSvg,
|
|
400
|
-
threeDots: async () => (await import("./three-dots-DHnEh28O.js")).threeDotsSvg,
|
|
401
|
-
twitch: async () => (await import("./twitch-CR2iGcBo.js")).twitchSvg,
|
|
402
|
-
twitter: async () => (await import("./x-BJinLpTw.js")).xSvg,
|
|
403
|
-
twitterIcon: async () => (await import("./twitterIcon-E5TAQjOn.js")).twitterIconSvg,
|
|
404
|
-
verify: async () => (await import("./verify-DEukUJp0.js")).verifySvg,
|
|
405
|
-
verifyFilled: async () => (await import("./verify-filled-BXsx1i_p.js")).verifyFilledSvg,
|
|
406
|
-
wallet: async () => (await import("./wallet-CzyyvdrT.js")).walletSvg,
|
|
407
|
-
walletConnect: async () => (await import("./walletconnect-BSYogWiE.js")).walletConnectSvg,
|
|
408
|
-
walletConnectLightBrown: async () => (await import("./walletconnect-BSYogWiE.js")).walletConnectLightBrownSvg,
|
|
409
|
-
walletConnectBrown: async () => (await import("./walletconnect-BSYogWiE.js")).walletConnectBrownSvg,
|
|
410
|
-
walletPlaceholder: async () => (await import("./wallet-placeholder-BrcmyGEe.js")).walletPlaceholderSvg,
|
|
411
|
-
warningCircle: async () => (await import("./warning-circle-Cgp2BW3m.js")).warningCircleSvg,
|
|
412
|
-
x: async () => (await import("./x-BJinLpTw.js")).xSvg,
|
|
413
|
-
info: async () => (await import("./info-RfPsmroW.js")).infoSvg,
|
|
414
|
-
exclamationTriangle: async () => (await import("./exclamation-triangle-Bu7nHwx9.js")).exclamationTriangleSvg,
|
|
415
|
-
reown: async () => (await import("./reown-logo-BXph7ThY.js")).reownSvg
|
|
416
|
-
};
|
|
417
|
-
async function it(t) {
|
|
418
|
-
if (C.has(t))
|
|
419
|
-
return C.get(t);
|
|
420
|
-
const i = (R[t] ?? R.copy)();
|
|
421
|
-
return C.set(t, i), i;
|
|
422
|
-
}
|
|
423
|
-
let w = class extends A {
|
|
424
|
-
constructor() {
|
|
425
|
-
super(...arguments), this.size = "md", this.name = "copy", this.color = "fg-300", this.aspectRatio = "1 / 1";
|
|
426
|
-
}
|
|
427
|
-
render() {
|
|
428
|
-
return this.style.cssText = `
|
|
429
|
-
--local-color: ${`var(--wui-color-${this.color});`}
|
|
430
|
-
--local-width: ${`var(--wui-icon-size-${this.size});`}
|
|
431
|
-
--local-aspect-ratio: ${this.aspectRatio}
|
|
432
|
-
`, $`${J(it(this.name), $`<div class="fallback"></div>`)}`;
|
|
433
|
-
}
|
|
434
|
-
};
|
|
435
|
-
w.styles = [z, I, et];
|
|
436
|
-
v([
|
|
437
|
-
c()
|
|
438
|
-
], w.prototype, "size", void 0);
|
|
439
|
-
v([
|
|
440
|
-
c()
|
|
441
|
-
], w.prototype, "name", void 0);
|
|
442
|
-
v([
|
|
443
|
-
c()
|
|
444
|
-
], w.prototype, "color", void 0);
|
|
445
|
-
v([
|
|
446
|
-
c()
|
|
447
|
-
], w.prototype, "aspectRatio", void 0);
|
|
448
|
-
w = v([
|
|
449
|
-
T("wui-icon")
|
|
450
|
-
], w);
|
|
451
|
-
/**
|
|
452
|
-
* @license
|
|
453
|
-
* Copyright 2018 Google LLC
|
|
454
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
455
|
-
*/
|
|
456
|
-
const ot = B(class extends M {
|
|
457
|
-
constructor(t) {
|
|
458
|
-
var e;
|
|
459
|
-
if (super(t), t.type !== j.ATTRIBUTE || t.name !== "class" || ((e = t.strings) == null ? void 0 : e.length) > 2) throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.");
|
|
460
|
-
}
|
|
461
|
-
render(t) {
|
|
462
|
-
return " " + Object.keys(t).filter(((e) => t[e])).join(" ") + " ";
|
|
463
|
-
}
|
|
464
|
-
update(t, [e]) {
|
|
465
|
-
var r, n;
|
|
466
|
-
if (this.st === void 0) {
|
|
467
|
-
this.st = /* @__PURE__ */ new Set(), t.strings !== void 0 && (this.nt = new Set(t.strings.join(" ").split(/\s/).filter(((o) => o !== ""))));
|
|
468
|
-
for (const o in e) e[o] && !((r = this.nt) != null && r.has(o)) && this.st.add(o);
|
|
469
|
-
return this.render(e);
|
|
470
|
-
}
|
|
471
|
-
const i = t.element.classList;
|
|
472
|
-
for (const o of this.st) o in e || (i.remove(o), this.st.delete(o));
|
|
473
|
-
for (const o in e) {
|
|
474
|
-
const a = !!e[o];
|
|
475
|
-
a === this.st.has(o) || (n = this.nt) != null && n.has(o) || (a ? (i.add(o), this.st.add(o)) : (i.remove(o), this.st.delete(o)));
|
|
476
|
-
}
|
|
477
|
-
return x;
|
|
478
|
-
}
|
|
479
|
-
}), rt = _`
|
|
480
|
-
:host {
|
|
481
|
-
display: inline-flex !important;
|
|
482
|
-
}
|
|
483
|
-
|
|
484
|
-
slot {
|
|
485
|
-
width: 100%;
|
|
486
|
-
display: inline-block;
|
|
487
|
-
font-style: normal;
|
|
488
|
-
font-family: var(--wui-font-family);
|
|
489
|
-
font-feature-settings:
|
|
490
|
-
'tnum' on,
|
|
491
|
-
'lnum' on,
|
|
492
|
-
'case' on;
|
|
493
|
-
line-height: 130%;
|
|
494
|
-
font-weight: var(--wui-font-weight-regular);
|
|
495
|
-
overflow: inherit;
|
|
496
|
-
text-overflow: inherit;
|
|
497
|
-
text-align: var(--local-align);
|
|
498
|
-
color: var(--local-color);
|
|
499
|
-
}
|
|
500
|
-
|
|
501
|
-
.wui-line-clamp-1 {
|
|
502
|
-
overflow: hidden;
|
|
503
|
-
display: -webkit-box;
|
|
504
|
-
-webkit-box-orient: vertical;
|
|
505
|
-
-webkit-line-clamp: 1;
|
|
506
|
-
}
|
|
507
|
-
|
|
508
|
-
.wui-line-clamp-2 {
|
|
509
|
-
overflow: hidden;
|
|
510
|
-
display: -webkit-box;
|
|
511
|
-
-webkit-box-orient: vertical;
|
|
512
|
-
-webkit-line-clamp: 2;
|
|
513
|
-
}
|
|
514
|
-
|
|
515
|
-
.wui-font-medium-400 {
|
|
516
|
-
font-size: var(--wui-font-size-medium);
|
|
517
|
-
font-weight: var(--wui-font-weight-light);
|
|
518
|
-
letter-spacing: var(--wui-letter-spacing-medium);
|
|
519
|
-
}
|
|
520
|
-
|
|
521
|
-
.wui-font-medium-600 {
|
|
522
|
-
font-size: var(--wui-font-size-medium);
|
|
523
|
-
letter-spacing: var(--wui-letter-spacing-medium);
|
|
524
|
-
}
|
|
525
|
-
|
|
526
|
-
.wui-font-title-600 {
|
|
527
|
-
font-size: var(--wui-font-size-title);
|
|
528
|
-
letter-spacing: var(--wui-letter-spacing-title);
|
|
529
|
-
}
|
|
530
|
-
|
|
531
|
-
.wui-font-title-6-600 {
|
|
532
|
-
font-size: var(--wui-font-size-title-6);
|
|
533
|
-
letter-spacing: var(--wui-letter-spacing-title-6);
|
|
534
|
-
}
|
|
535
|
-
|
|
536
|
-
.wui-font-mini-700 {
|
|
537
|
-
font-size: var(--wui-font-size-mini);
|
|
538
|
-
letter-spacing: var(--wui-letter-spacing-mini);
|
|
539
|
-
text-transform: uppercase;
|
|
540
|
-
}
|
|
541
|
-
|
|
542
|
-
.wui-font-large-500,
|
|
543
|
-
.wui-font-large-600,
|
|
544
|
-
.wui-font-large-700 {
|
|
545
|
-
font-size: var(--wui-font-size-large);
|
|
546
|
-
letter-spacing: var(--wui-letter-spacing-large);
|
|
547
|
-
}
|
|
548
|
-
|
|
549
|
-
.wui-font-2xl-500,
|
|
550
|
-
.wui-font-2xl-600,
|
|
551
|
-
.wui-font-2xl-700 {
|
|
552
|
-
font-size: var(--wui-font-size-2xl);
|
|
553
|
-
letter-spacing: var(--wui-letter-spacing-2xl);
|
|
554
|
-
}
|
|
555
|
-
|
|
556
|
-
.wui-font-paragraph-400,
|
|
557
|
-
.wui-font-paragraph-500,
|
|
558
|
-
.wui-font-paragraph-600,
|
|
559
|
-
.wui-font-paragraph-700 {
|
|
560
|
-
font-size: var(--wui-font-size-paragraph);
|
|
561
|
-
letter-spacing: var(--wui-letter-spacing-paragraph);
|
|
562
|
-
}
|
|
563
|
-
|
|
564
|
-
.wui-font-small-400,
|
|
565
|
-
.wui-font-small-500,
|
|
566
|
-
.wui-font-small-600 {
|
|
567
|
-
font-size: var(--wui-font-size-small);
|
|
568
|
-
letter-spacing: var(--wui-letter-spacing-small);
|
|
569
|
-
}
|
|
570
|
-
|
|
571
|
-
.wui-font-tiny-400,
|
|
572
|
-
.wui-font-tiny-500,
|
|
573
|
-
.wui-font-tiny-600 {
|
|
574
|
-
font-size: var(--wui-font-size-tiny);
|
|
575
|
-
letter-spacing: var(--wui-letter-spacing-tiny);
|
|
576
|
-
}
|
|
577
|
-
|
|
578
|
-
.wui-font-micro-700,
|
|
579
|
-
.wui-font-micro-600 {
|
|
580
|
-
font-size: var(--wui-font-size-micro);
|
|
581
|
-
letter-spacing: var(--wui-letter-spacing-micro);
|
|
582
|
-
text-transform: uppercase;
|
|
583
|
-
}
|
|
584
|
-
|
|
585
|
-
.wui-font-tiny-400,
|
|
586
|
-
.wui-font-small-400,
|
|
587
|
-
.wui-font-medium-400,
|
|
588
|
-
.wui-font-paragraph-400 {
|
|
589
|
-
font-weight: var(--wui-font-weight-light);
|
|
590
|
-
}
|
|
591
|
-
|
|
592
|
-
.wui-font-large-700,
|
|
593
|
-
.wui-font-paragraph-700,
|
|
594
|
-
.wui-font-micro-700,
|
|
595
|
-
.wui-font-mini-700 {
|
|
596
|
-
font-weight: var(--wui-font-weight-bold);
|
|
597
|
-
}
|
|
598
|
-
|
|
599
|
-
.wui-font-medium-600,
|
|
600
|
-
.wui-font-medium-title-600,
|
|
601
|
-
.wui-font-title-6-600,
|
|
602
|
-
.wui-font-large-600,
|
|
603
|
-
.wui-font-paragraph-600,
|
|
604
|
-
.wui-font-small-600,
|
|
605
|
-
.wui-font-tiny-600,
|
|
606
|
-
.wui-font-micro-600 {
|
|
607
|
-
font-weight: var(--wui-font-weight-medium);
|
|
608
|
-
}
|
|
609
|
-
|
|
610
|
-
:host([disabled]) {
|
|
611
|
-
opacity: 0.4;
|
|
612
|
-
}
|
|
613
|
-
`;
|
|
614
|
-
var y = function(t, e, i, r) {
|
|
615
|
-
var n = arguments.length, o = n < 3 ? e : r === null ? r = Object.getOwnPropertyDescriptor(e, i) : r, a;
|
|
616
|
-
if (typeof Reflect == "object" && typeof Reflect.decorate == "function") o = Reflect.decorate(t, e, i, r);
|
|
617
|
-
else for (var s = t.length - 1; s >= 0; s--) (a = t[s]) && (o = (n < 3 ? a(o) : n > 3 ? a(e, i, o) : a(e, i)) || o);
|
|
618
|
-
return n > 3 && o && Object.defineProperty(e, i, o), o;
|
|
619
|
-
};
|
|
620
|
-
let f = class extends A {
|
|
621
|
-
constructor() {
|
|
622
|
-
super(...arguments), this.variant = "paragraph-500", this.color = "fg-300", this.align = "left", this.lineClamp = void 0;
|
|
623
|
-
}
|
|
624
|
-
render() {
|
|
625
|
-
const e = {
|
|
626
|
-
[`wui-font-${this.variant}`]: !0,
|
|
627
|
-
[`wui-color-${this.color}`]: !0,
|
|
628
|
-
[`wui-line-clamp-${this.lineClamp}`]: !!this.lineClamp
|
|
629
|
-
};
|
|
630
|
-
return this.style.cssText = `
|
|
631
|
-
--local-align: ${this.align};
|
|
632
|
-
--local-color: var(--wui-color-${this.color});
|
|
633
|
-
`, $`<slot class=${ot(e)}></slot>`;
|
|
634
|
-
}
|
|
635
|
-
};
|
|
636
|
-
f.styles = [z, rt];
|
|
637
|
-
y([
|
|
638
|
-
c()
|
|
639
|
-
], f.prototype, "variant", void 0);
|
|
640
|
-
y([
|
|
641
|
-
c()
|
|
642
|
-
], f.prototype, "color", void 0);
|
|
643
|
-
y([
|
|
644
|
-
c()
|
|
645
|
-
], f.prototype, "align", void 0);
|
|
646
|
-
y([
|
|
647
|
-
c()
|
|
648
|
-
], f.prototype, "lineClamp", void 0);
|
|
649
|
-
f = y([
|
|
650
|
-
T("wui-text")
|
|
651
|
-
], f);
|
|
652
|
-
const nt = _`
|
|
653
|
-
:host {
|
|
654
|
-
display: flex;
|
|
655
|
-
width: inherit;
|
|
656
|
-
height: inherit;
|
|
657
|
-
}
|
|
658
|
-
`;
|
|
659
|
-
var u = function(t, e, i, r) {
|
|
660
|
-
var n = arguments.length, o = n < 3 ? e : r === null ? r = Object.getOwnPropertyDescriptor(e, i) : r, a;
|
|
661
|
-
if (typeof Reflect == "object" && typeof Reflect.decorate == "function") o = Reflect.decorate(t, e, i, r);
|
|
662
|
-
else for (var s = t.length - 1; s >= 0; s--) (a = t[s]) && (o = (n < 3 ? a(o) : n > 3 ? a(e, i, o) : a(e, i)) || o);
|
|
663
|
-
return n > 3 && o && Object.defineProperty(e, i, o), o;
|
|
664
|
-
};
|
|
665
|
-
let p = class extends A {
|
|
666
|
-
render() {
|
|
667
|
-
return this.style.cssText = `
|
|
668
|
-
flex-direction: ${this.flexDirection};
|
|
669
|
-
flex-wrap: ${this.flexWrap};
|
|
670
|
-
flex-basis: ${this.flexBasis};
|
|
671
|
-
flex-grow: ${this.flexGrow};
|
|
672
|
-
flex-shrink: ${this.flexShrink};
|
|
673
|
-
align-items: ${this.alignItems};
|
|
674
|
-
justify-content: ${this.justifyContent};
|
|
675
|
-
column-gap: ${this.columnGap && `var(--wui-spacing-${this.columnGap})`};
|
|
676
|
-
row-gap: ${this.rowGap && `var(--wui-spacing-${this.rowGap})`};
|
|
677
|
-
gap: ${this.gap && `var(--wui-spacing-${this.gap})`};
|
|
678
|
-
padding-top: ${this.padding && g.getSpacingStyles(this.padding, 0)};
|
|
679
|
-
padding-right: ${this.padding && g.getSpacingStyles(this.padding, 1)};
|
|
680
|
-
padding-bottom: ${this.padding && g.getSpacingStyles(this.padding, 2)};
|
|
681
|
-
padding-left: ${this.padding && g.getSpacingStyles(this.padding, 3)};
|
|
682
|
-
margin-top: ${this.margin && g.getSpacingStyles(this.margin, 0)};
|
|
683
|
-
margin-right: ${this.margin && g.getSpacingStyles(this.margin, 1)};
|
|
684
|
-
margin-bottom: ${this.margin && g.getSpacingStyles(this.margin, 2)};
|
|
685
|
-
margin-left: ${this.margin && g.getSpacingStyles(this.margin, 3)};
|
|
686
|
-
`, $`<slot></slot>`;
|
|
687
|
-
}
|
|
688
|
-
};
|
|
689
|
-
p.styles = [z, nt];
|
|
690
|
-
u([
|
|
691
|
-
c()
|
|
692
|
-
], p.prototype, "flexDirection", void 0);
|
|
693
|
-
u([
|
|
694
|
-
c()
|
|
695
|
-
], p.prototype, "flexWrap", void 0);
|
|
696
|
-
u([
|
|
697
|
-
c()
|
|
698
|
-
], p.prototype, "flexBasis", void 0);
|
|
699
|
-
u([
|
|
700
|
-
c()
|
|
701
|
-
], p.prototype, "flexGrow", void 0);
|
|
702
|
-
u([
|
|
703
|
-
c()
|
|
704
|
-
], p.prototype, "flexShrink", void 0);
|
|
705
|
-
u([
|
|
706
|
-
c()
|
|
707
|
-
], p.prototype, "alignItems", void 0);
|
|
708
|
-
u([
|
|
709
|
-
c()
|
|
710
|
-
], p.prototype, "justifyContent", void 0);
|
|
711
|
-
u([
|
|
712
|
-
c()
|
|
713
|
-
], p.prototype, "columnGap", void 0);
|
|
714
|
-
u([
|
|
715
|
-
c()
|
|
716
|
-
], p.prototype, "rowGap", void 0);
|
|
717
|
-
u([
|
|
718
|
-
c()
|
|
719
|
-
], p.prototype, "gap", void 0);
|
|
720
|
-
u([
|
|
721
|
-
c()
|
|
722
|
-
], p.prototype, "padding", void 0);
|
|
723
|
-
u([
|
|
724
|
-
c()
|
|
725
|
-
], p.prototype, "margin", void 0);
|
|
726
|
-
p = u([
|
|
727
|
-
T("wui-flex")
|
|
728
|
-
], p);
|
|
729
|
-
/**
|
|
730
|
-
* @license
|
|
731
|
-
* Copyright 2018 Google LLC
|
|
732
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
733
|
-
*/
|
|
734
|
-
const ht = (t) => t ?? O;
|
|
735
|
-
export {
|
|
736
|
-
g as U,
|
|
737
|
-
ot as a,
|
|
738
|
-
T as c,
|
|
739
|
-
B as e,
|
|
740
|
-
X as f,
|
|
741
|
-
c as n,
|
|
742
|
-
ht as o,
|
|
743
|
-
st as r
|
|
744
|
-
};
|