@lnfi-network/nodeflow-sdk 1.0.0-alpha.1 → 1.0.0-alpha.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.
Files changed (101) hide show
  1. package/dist/build-info.json +1 -1
  2. package/dist/nodeflow-sdk.es.js +12608 -13
  3. package/package.json +6 -4
  4. package/dist/SwapController-BpMRmmBg.js +0 -447
  5. package/dist/add-DzEC3Ev-.js +0 -19
  6. package/dist/all-wallets-9_E4QbJe.js +0 -10
  7. package/dist/app-store-Bh-X568B.js +0 -21
  8. package/dist/apple-D-gsNYPl.js +0 -22
  9. package/dist/arrow-bottom-Cc07vF_J.js +0 -12
  10. package/dist/arrow-bottom-circle-BVGuqXDY.js +0 -15
  11. package/dist/arrow-left-BlsXOgcw.js +0 -12
  12. package/dist/arrow-right-iy1FcTuZ.js +0 -12
  13. package/dist/arrow-top-CNfwfrtQ.js +0 -12
  14. package/dist/bank-5pqyViSd.js +0 -18
  15. package/dist/bin-CTZMH3Ih.js +0 -8
  16. package/dist/bitcoin-dzJD8ofL.js +0 -17
  17. package/dist/browser-Bt2mUNa_.js +0 -18
  18. package/dist/card-BsIEe52W.js +0 -18
  19. package/dist/ccip-B877DHTW.js +0 -239
  20. package/dist/checkmark-bbvJgWyv.js +0 -15
  21. package/dist/checkmark-bold-DlLF8se_.js +0 -12
  22. package/dist/chevron-bottom-U-2kAiJt.js +0 -12
  23. package/dist/chevron-left-C84B66iG.js +0 -12
  24. package/dist/chevron-right-ChXuATmC.js +0 -12
  25. package/dist/chevron-top-d7GMCQei.js +0 -12
  26. package/dist/chrome-store-D_HjUWdg.js +0 -65
  27. package/dist/circle-DTseH6Gb.js +0 -8
  28. package/dist/clock-Bs2n9nAN.js +0 -12
  29. package/dist/close-Bvc8CgSW.js +0 -12
  30. package/dist/coinPlaceholder-CYusrhO9.js +0 -12
  31. package/dist/compass-DpcrZk5k.js +0 -12
  32. package/dist/copy-BwHzN1jy.js +0 -19
  33. package/dist/cursor-B5h_XDQf.js +0 -7
  34. package/dist/cursor-transparent-CXszKloD.js +0 -16
  35. package/dist/desktop-D1gXlccz.js +0 -13
  36. package/dist/disconnect-DjoSlupF.js +0 -12
  37. package/dist/discord-B7wW6Lli.js +0 -21
  38. package/dist/email-BVCRPA-e.js +0 -10
  39. package/dist/embedded-wallet-B2adLwLx.js +0 -464
  40. package/dist/ethereum-B_oY83Bi.js +0 -14
  41. package/dist/etherscan-D0L4Fyjd.js +0 -10
  42. package/dist/exclamation-triangle-BCenEx9s.js +0 -8
  43. package/dist/extension-HlbLaVC_.js +0 -12
  44. package/dist/external-link-10DCMdGo.js +0 -12
  45. package/dist/facebook-DnFD3CY1.js +0 -30
  46. package/dist/farcaster-C69ECwhq.js +0 -16
  47. package/dist/filters-DM4Bw_dB.js +0 -12
  48. package/dist/github-BHtxcolR.js +0 -22
  49. package/dist/google-D8mBK68A.js +0 -22
  50. package/dist/help-circle-t2cDsLEe.js +0 -16
  51. package/dist/id-CV5PIYFN.js +0 -16
  52. package/dist/image-B6iXY017.js +0 -8
  53. package/dist/index-BjsyhlWF.js +0 -70
  54. package/dist/index-CB5Y8Qyu.js +0 -1060
  55. package/dist/index-CJ6NogxX.js +0 -33
  56. package/dist/index-CQyrL-Nf.js +0 -709
  57. package/dist/index-Cdy2VAPd.js +0 -63547
  58. package/dist/info-DSo6bLOH.js +0 -7
  59. package/dist/info-circle-BGUrVnRL.js +0 -16
  60. package/dist/lightbulb-DzUH0ECK.js +0 -7
  61. package/dist/mail-2IXcoFzQ.js +0 -12
  62. package/dist/mobile-jKpID8sE.js +0 -13
  63. package/dist/more-BfdPaQg5.js +0 -15
  64. package/dist/network-placeholder-BRAmrrNc.js +0 -18
  65. package/dist/nftPlaceholder-BQl4OwhJ.js +0 -12
  66. package/dist/off-vrksO3bW.js +0 -8
  67. package/dist/onramp-GJSUl6nX.js +0 -917
  68. package/dist/play-store-CgO-nxtt.js +0 -36
  69. package/dist/plus-BvuCUa5G.js +0 -17
  70. package/dist/qr-code-CW_UmduJ.js +0 -10
  71. package/dist/receive-CAxob7RN.js +0 -179
  72. package/dist/recycle-horizontal-gyQahv_l.js +0 -13
  73. package/dist/refresh-CmhB5uJy.js +0 -12
  74. package/dist/reown-logo-DdEknUEn.js +0 -16
  75. package/dist/search-MM5ffeOZ.js +0 -12
  76. package/dist/send--MYuynOo.js +0 -1039
  77. package/dist/send-D4Uk3qsv.js +0 -19
  78. package/dist/socials-A1l-HGb-.js +0 -589
  79. package/dist/solana-Ih4CCb2H.js +0 -17
  80. package/dist/swapHorizontal-DPJ4KZ6x.js +0 -12
  81. package/dist/swapHorizontalBold-CTLbh7NX.js +0 -12
  82. package/dist/swapHorizontalMedium-BwOK8UCu.js +0 -20
  83. package/dist/swapHorizontalRoundedBold-CvWEM1FX.js +0 -12
  84. package/dist/swapVertical-Deg2QWe3.js +0 -12
  85. package/dist/swaps-wBf7GXDq.js +0 -1713
  86. package/dist/telegram-CgM_qBjq.js +0 -20
  87. package/dist/three-dots-pNIDZDwS.js +0 -9
  88. package/dist/transactions-BfY5SwKO.js +0 -35
  89. package/dist/twitch-BqyE4tpL.js +0 -22
  90. package/dist/twitterIcon-D0GmV1fH.js +0 -10
  91. package/dist/ui-BNDf6B6k.js +0 -812
  92. package/dist/user-C1rWIm1v.js +0 -7
  93. package/dist/verify-Lo6JPJ5L.js +0 -12
  94. package/dist/verify-filled-DSGvcsYL.js +0 -12
  95. package/dist/w3m-modal-DyT3FrOn.js +0 -1041
  96. package/dist/wallet-IVCN4Ks-.js +0 -12
  97. package/dist/wallet-placeholder-CemVDrin.js +0 -18
  98. package/dist/walletconnect-BYcF6w2s.js +0 -36
  99. package/dist/warning-circle-o-I-tSQk.js +0 -16
  100. package/dist/x-Bt6OetKn.js +0 -16
  101. package/dist/x-mark-bMcD9ngD.js +0 -7
@@ -1,464 +0,0 @@
1
- import { E as v, J as h, aH as E, K as l, a3 as P, a8 as _, aO as D, aa as p, I as f, a1 as N, F as M, H as g, a9 as j, P as C, aP as H, aQ as c, _ as A, Y as U, aR as k, Q as y, T as x, V as $, U as R, S as V, aS as F, R as z } from "./index-Cdy2VAPd.js";
2
- const Y = v`
3
- div {
4
- width: 100%;
5
- }
6
-
7
- [data-ready='false'] {
8
- transform: scale(1.05);
9
- }
10
-
11
- @media (max-width: 430px) {
12
- [data-ready='false'] {
13
- transform: translateY(-50px);
14
- }
15
- }
16
- `;
17
- var W = function(a, e, i, n) {
18
- var s = arguments.length, t = s < 3 ? e : n === null ? n = Object.getOwnPropertyDescriptor(e, i) : n, r;
19
- if (typeof Reflect == "object" && typeof Reflect.decorate == "function") t = Reflect.decorate(a, e, i, n);
20
- else for (var o = a.length - 1; o >= 0; o--) (r = a[o]) && (t = (s < 3 ? r(t) : s > 3 ? r(e, i, t) : r(e, i)) || t);
21
- return s > 3 && t && Object.defineProperty(e, i, t), t;
22
- };
23
- const T = 600, I = 360, G = 64;
24
- let b = class extends h {
25
- constructor() {
26
- super(), this.bodyObserver = void 0, this.unsubscribe = [], this.iframe = document.getElementById("w3m-iframe"), this.ready = !1, this.unsubscribe.push(E.subscribeKey("open", (e) => {
27
- e || this.onHideIframe();
28
- }), E.subscribeKey("shake", (e) => {
29
- e ? this.iframe.style.animation = "w3m-shake 500ms var(--wui-ease-out-power-2)" : this.iframe.style.animation = "none";
30
- }));
31
- }
32
- disconnectedCallback() {
33
- var e;
34
- this.onHideIframe(), this.unsubscribe.forEach((i) => i()), (e = this.bodyObserver) == null || e.unobserve(window.document.body);
35
- }
36
- async firstUpdated() {
37
- var i;
38
- await this.syncTheme(), this.iframe.style.display = "block";
39
- const e = (i = this == null ? void 0 : this.renderRoot) == null ? void 0 : i.querySelector("div");
40
- this.bodyObserver = new ResizeObserver((n) => {
41
- var r, o;
42
- const s = (r = n == null ? void 0 : n[0]) == null ? void 0 : r.contentBoxSize, t = (o = s == null ? void 0 : s[0]) == null ? void 0 : o.inlineSize;
43
- this.iframe.style.height = `${T}px`, e.style.height = `${T}px`, t && t <= 430 ? (this.iframe.style.width = "100%", this.iframe.style.left = "0px", this.iframe.style.bottom = "0px", this.iframe.style.top = "unset") : (this.iframe.style.width = `${I}px`, this.iframe.style.left = `calc(50% - ${I / 2}px)`, this.iframe.style.top = `calc(50% - ${T / 2}px + ${G / 2}px)`, this.iframe.style.bottom = "unset"), this.ready = !0, this.onShowIframe();
44
- }), this.bodyObserver.observe(window.document.body);
45
- }
46
- render() {
47
- return l`<div data-ready=${this.ready} id="w3m-frame-container"></div>`;
48
- }
49
- onShowIframe() {
50
- const e = window.innerWidth <= 430;
51
- this.iframe.style.animation = e ? "w3m-iframe-zoom-in-mobile 200ms var(--wui-ease-out-power-2)" : "w3m-iframe-zoom-in 200ms var(--wui-ease-out-power-2)";
52
- }
53
- onHideIframe() {
54
- this.iframe.style.display = "none", this.iframe.style.animation = "w3m-iframe-fade-out 200ms var(--wui-ease-out-power-2)";
55
- }
56
- async syncTheme() {
57
- const e = P.getAuthConnector();
58
- if (e) {
59
- const i = _.getSnapshot().themeMode, n = _.getSnapshot().themeVariables;
60
- await e.provider.syncTheme({
61
- themeVariables: n,
62
- w3mThemeVariables: D(n, i)
63
- });
64
- }
65
- }
66
- };
67
- b.styles = Y;
68
- W([
69
- p()
70
- ], b.prototype, "ready", void 0);
71
- b = W([
72
- f("w3m-approve-transaction-view")
73
- ], b);
74
- var K = function(a, e, i, n) {
75
- var s = arguments.length, t = s < 3 ? e : n === null ? n = Object.getOwnPropertyDescriptor(e, i) : n, r;
76
- if (typeof Reflect == "object" && typeof Reflect.decorate == "function") t = Reflect.decorate(a, e, i, n);
77
- else for (var o = a.length - 1; o >= 0; o--) (r = a[o]) && (t = (s < 3 ? r(t) : s > 3 ? r(e, i, t) : r(e, i)) || t);
78
- return s > 3 && t && Object.defineProperty(e, i, t), t;
79
- };
80
- let O = class extends h {
81
- render() {
82
- return l`
83
- <wui-flex flexDirection="column" alignItems="center" gap="xl" padding="xl">
84
- <wui-text variant="paragraph-400" color="fg-100">Follow the instructions on</wui-text>
85
- <wui-chip
86
- icon="externalLink"
87
- variant="fill"
88
- href=${N.SECURE_SITE_DASHBOARD}
89
- imageSrc=${N.SECURE_SITE_FAVICON}
90
- data-testid="w3m-secure-website-button"
91
- >
92
- </wui-chip>
93
- <wui-text variant="small-400" color="fg-200">
94
- You will have to reconnect for security reasons
95
- </wui-text>
96
- </wui-flex>
97
- `;
98
- }
99
- };
100
- O = K([
101
- f("w3m-upgrade-wallet-view")
102
- ], O);
103
- const L = v`
104
- :host {
105
- position: relative;
106
- width: 100%;
107
- display: inline-block;
108
- color: var(--wui-color-fg-275);
109
- }
110
-
111
- .error {
112
- margin: var(--wui-spacing-xxs) var(--wui-spacing-m) var(--wui-spacing-0) var(--wui-spacing-m);
113
- }
114
-
115
- .base-name {
116
- position: absolute;
117
- right: 45px;
118
- top: 15px;
119
- text-align: right;
120
- }
121
- `;
122
- var w = function(a, e, i, n) {
123
- var s = arguments.length, t = s < 3 ? e : n === null ? n = Object.getOwnPropertyDescriptor(e, i) : n, r;
124
- if (typeof Reflect == "object" && typeof Reflect.decorate == "function") t = Reflect.decorate(a, e, i, n);
125
- else for (var o = a.length - 1; o >= 0; o--) (r = a[o]) && (t = (s < 3 ? r(t) : s > 3 ? r(e, i, t) : r(e, i)) || t);
126
- return s > 3 && t && Object.defineProperty(e, i, t), t;
127
- };
128
- let d = class extends h {
129
- constructor() {
130
- super(...arguments), this.disabled = !1, this.loading = !1;
131
- }
132
- render() {
133
- return l`
134
- <wui-input-text
135
- value=${j(this.value)}
136
- ?disabled=${this.disabled}
137
- .value=${this.value || ""}
138
- data-testid="wui-ens-input"
139
- inputRightPadding="5xl"
140
- >
141
- ${this.baseNameTemplate()} ${this.errorTemplate()}${this.loadingTemplate()}
142
- </wui-input-text>
143
- `;
144
- }
145
- baseNameTemplate() {
146
- return l`<wui-text variant="paragraph-400" color="fg-200" class="base-name">
147
- ${C.WC_NAME_SUFFIX}
148
- </wui-text>`;
149
- }
150
- loadingTemplate() {
151
- return this.loading ? l`<wui-loading-spinner size="md" color="accent-100"></wui-loading-spinner>` : null;
152
- }
153
- errorTemplate() {
154
- return this.errorMessage ? l`<wui-text variant="tiny-500" color="error-100" class="error"
155
- >${this.errorMessage}</wui-text
156
- >` : null;
157
- }
158
- };
159
- d.styles = [M, L];
160
- w([
161
- g()
162
- ], d.prototype, "errorMessage", void 0);
163
- w([
164
- g({ type: Boolean })
165
- ], d.prototype, "disabled", void 0);
166
- w([
167
- g()
168
- ], d.prototype, "value", void 0);
169
- w([
170
- g({ type: Boolean })
171
- ], d.prototype, "loading", void 0);
172
- d = w([
173
- f("wui-ens-input")
174
- ], d);
175
- const B = v`
176
- wui-flex {
177
- width: 100%;
178
- }
179
-
180
- .suggestion {
181
- border: none;
182
- width: 100%;
183
- display: flex;
184
- justify-content: space-between;
185
- align-items: center;
186
- background: var(--wui-color-gray-glass-002);
187
- border-radius: var(--wui-border-radius-xs);
188
- padding: var(--wui-spacing-m);
189
- }
190
-
191
- .suggestion:disabled {
192
- opacity: 0.5;
193
- cursor: default;
194
- }
195
-
196
- .suggestion:focus-visible:not(:disabled) {
197
- outline: 1px solid var(--wui-color-gray-glass-020);
198
- background-color: var(--wui-color-gray-glass-005);
199
- }
200
-
201
- .suggestion:hover:not(:disabled) {
202
- background-color: var(--wui-color-gray-glass-005);
203
- }
204
-
205
- .suggested-name {
206
- max-width: 75%;
207
- overflow: hidden;
208
- text-overflow: ellipsis;
209
- white-space: nowrap;
210
- }
211
-
212
- form {
213
- width: 100%;
214
- position: relative;
215
- }
216
-
217
- .input-submit-button,
218
- .input-loading-spinner {
219
- position: absolute;
220
- top: 26px;
221
- transform: translateY(-50%);
222
- right: 10px;
223
- }
224
- `;
225
- var m = function(a, e, i, n) {
226
- var s = arguments.length, t = s < 3 ? e : n === null ? n = Object.getOwnPropertyDescriptor(e, i) : n, r;
227
- if (typeof Reflect == "object" && typeof Reflect.decorate == "function") t = Reflect.decorate(a, e, i, n);
228
- else for (var o = a.length - 1; o >= 0; o--) (r = a[o]) && (t = (s < 3 ? r(t) : s > 3 ? r(e, i, t) : r(e, i)) || t);
229
- return s > 3 && t && Object.defineProperty(e, i, t), t;
230
- };
231
- let u = class extends h {
232
- constructor() {
233
- super(), this.formRef = H(), this.usubscribe = [], this.name = "", this.error = "", this.loading = c.state.loading, this.suggestions = c.state.suggestions, this.profileName = A.state.profileName, this.onDebouncedNameInputChange = U.debounce((e) => {
234
- c.validateName(e) ? (this.error = "", this.name = e, c.getSuggestions(e)) : e.length < 4 ? this.error = "Name must be at least 4 characters long" : this.error = "Can only contain letters, numbers and - characters";
235
- }), this.usubscribe.push(c.subscribe((e) => {
236
- this.suggestions = e.suggestions, this.loading = e.loading;
237
- }), A.subscribeKey("profileName", (e) => {
238
- this.profileName = e, e && (this.error = "You already own a name");
239
- }));
240
- }
241
- firstUpdated() {
242
- var e;
243
- (e = this.formRef.value) == null || e.addEventListener("keydown", this.onEnterKey.bind(this));
244
- }
245
- disconnectedCallback() {
246
- var e;
247
- super.disconnectedCallback(), this.usubscribe.forEach((i) => i()), (e = this.formRef.value) == null || e.removeEventListener("keydown", this.onEnterKey.bind(this));
248
- }
249
- render() {
250
- return l`
251
- <wui-flex
252
- flexDirection="column"
253
- alignItems="center"
254
- gap="m"
255
- .padding=${["0", "s", "m", "s"]}
256
- >
257
- <form ${k(this.formRef)} @submit=${this.onSubmitName.bind(this)}>
258
- <wui-ens-input
259
- @inputChange=${this.onNameInputChange.bind(this)}
260
- .errorMessage=${this.error}
261
- .value=${this.name}
262
- >
263
- </wui-ens-input>
264
- ${this.submitButtonTemplate()}
265
- <input type="submit" hidden />
266
- </form>
267
- ${this.templateSuggestions()}
268
- </wui-flex>
269
- `;
270
- }
271
- submitButtonTemplate() {
272
- const e = this.suggestions.find((n) => {
273
- var s, t;
274
- return ((t = (s = n.name) == null ? void 0 : s.split(".")) == null ? void 0 : t[0]) === this.name && n.registered;
275
- });
276
- if (this.loading)
277
- return l`<wui-loading-spinner
278
- class="input-loading-spinner"
279
- color="fg-200"
280
- ></wui-loading-spinner>`;
281
- const i = `${this.name}${C.WC_NAME_SUFFIX}`;
282
- return l`
283
- <wui-icon-link
284
- .disabled=${e}
285
- class="input-submit-button"
286
- size="sm"
287
- icon="chevronRight"
288
- iconColor=${e ? "fg-200" : "accent-100"}
289
- @click=${() => this.onSubmitName(i)}
290
- >
291
- </wui-icon-link>
292
- `;
293
- }
294
- onNameInputChange(e) {
295
- this.onDebouncedNameInputChange(e.detail);
296
- }
297
- nameSuggestionTagTemplate(e) {
298
- return this.loading ? l`<wui-loading-spinner color="fg-200"></wui-loading-spinner>` : e.registered ? l`<wui-tag variant="shade" size="lg">Registered</wui-tag>` : l`<wui-tag variant="success" size="lg">Available</wui-tag>`;
299
- }
300
- templateSuggestions() {
301
- return !this.name || this.name.length < 4 || this.error ? null : l`<wui-flex flexDirection="column" gap="xxs" alignItems="center">
302
- ${this.suggestions.map((e) => l`<button
303
- .disabled=${e.registered || this.loading}
304
- data-testid="account-name-suggestion"
305
- class="suggestion"
306
- @click=${() => this.onSubmitName(e.name)}
307
- >
308
- <wui-text color="fg-100" variant="paragraph-400" class="suggested-name">
309
- ${e.name}</wui-text
310
- >${this.nameSuggestionTagTemplate(e)}
311
- </button>`)}
312
- </wui-flex>`;
313
- }
314
- isAllowedToSubmit(e) {
315
- var s;
316
- const i = (s = e.split(".")) == null ? void 0 : s[0], n = this.suggestions.find((t) => {
317
- var r, o;
318
- return ((o = (r = t.name) == null ? void 0 : r.split(".")) == null ? void 0 : o[0]) === i && t.registered;
319
- });
320
- return !this.loading && !this.error && !this.profileName && i && c.validateName(i) && !n;
321
- }
322
- async onSubmitName(e) {
323
- try {
324
- if (!this.isAllowedToSubmit(e))
325
- return;
326
- y.sendEvent({
327
- type: "track",
328
- event: "REGISTER_NAME_INITIATED",
329
- properties: {
330
- isSmartAccount: x($.state.activeChain) === R.ACCOUNT_TYPES.SMART_ACCOUNT,
331
- ensName: e
332
- }
333
- }), await c.registerName(e), y.sendEvent({
334
- type: "track",
335
- event: "REGISTER_NAME_SUCCESS",
336
- properties: {
337
- isSmartAccount: x($.state.activeChain) === R.ACCOUNT_TYPES.SMART_ACCOUNT,
338
- ensName: e
339
- }
340
- });
341
- } catch (i) {
342
- V.showError(i.message), y.sendEvent({
343
- type: "track",
344
- event: "REGISTER_NAME_ERROR",
345
- properties: {
346
- isSmartAccount: x($.state.activeChain) === R.ACCOUNT_TYPES.SMART_ACCOUNT,
347
- ensName: e,
348
- error: (i == null ? void 0 : i.message) || "Unknown error"
349
- }
350
- });
351
- }
352
- }
353
- onEnterKey(e) {
354
- if (e.key === "Enter" && this.name && this.isAllowedToSubmit(this.name)) {
355
- const i = `${this.name}${C.WC_NAME_SUFFIX}`;
356
- this.onSubmitName(i);
357
- }
358
- }
359
- };
360
- u.styles = B;
361
- m([
362
- g()
363
- ], u.prototype, "errorMessage", void 0);
364
- m([
365
- p()
366
- ], u.prototype, "name", void 0);
367
- m([
368
- p()
369
- ], u.prototype, "error", void 0);
370
- m([
371
- p()
372
- ], u.prototype, "loading", void 0);
373
- m([
374
- p()
375
- ], u.prototype, "suggestions", void 0);
376
- m([
377
- p()
378
- ], u.prototype, "profileName", void 0);
379
- u = m([
380
- f("w3m-register-account-name-view")
381
- ], u);
382
- const Q = v`
383
- .continue-button-container {
384
- width: 100%;
385
- }
386
- `;
387
- var X = function(a, e, i, n) {
388
- var s = arguments.length, t = s < 3 ? e : n === null ? n = Object.getOwnPropertyDescriptor(e, i) : n, r;
389
- if (typeof Reflect == "object" && typeof Reflect.decorate == "function") t = Reflect.decorate(a, e, i, n);
390
- else for (var o = a.length - 1; o >= 0; o--) (r = a[o]) && (t = (s < 3 ? r(t) : s > 3 ? r(e, i, t) : r(e, i)) || t);
391
- return s > 3 && t && Object.defineProperty(e, i, t), t;
392
- };
393
- let S = class extends h {
394
- render() {
395
- return l`
396
- <wui-flex
397
- flexDirection="column"
398
- alignItems="center"
399
- gap="xxl"
400
- .padding=${["0", "0", "l", "0"]}
401
- >
402
- ${this.onboardingTemplate()} ${this.buttonsTemplate()}
403
- <wui-link
404
- @click=${() => {
405
- U.openHref(F.URLS.FAQ, "_blank");
406
- }}
407
- >
408
- Learn more
409
- <wui-icon color="inherit" slot="iconRight" name="externalLink"></wui-icon>
410
- </wui-link>
411
- </wui-flex>
412
- `;
413
- }
414
- onboardingTemplate() {
415
- return l` <wui-flex
416
- flexDirection="column"
417
- gap="xxl"
418
- alignItems="center"
419
- .padding=${["0", "xxl", "0", "xxl"]}
420
- >
421
- <wui-flex gap="s" alignItems="center" justifyContent="center">
422
- <wui-icon-box
423
- size="xl"
424
- iconcolor="success-100"
425
- backgroundcolor="success-100"
426
- icon="checkmark"
427
- background="opaque"
428
- ></wui-icon-box>
429
- </wui-flex>
430
- <wui-flex flexDirection="column" alignItems="center" gap="s">
431
- <wui-text align="center" variant="medium-600" color="fg-100">
432
- Account name chosen successfully
433
- </wui-text>
434
- <wui-text align="center" variant="paragraph-400" color="fg-100">
435
- You can now fund your account and trade crypto
436
- </wui-text>
437
- </wui-flex>
438
- </wui-flex>`;
439
- }
440
- buttonsTemplate() {
441
- return l`<wui-flex
442
- .padding=${["0", "2l", "0", "2l"]}
443
- gap="s"
444
- class="continue-button-container"
445
- >
446
- <wui-button fullWidth size="lg" borderRadius="xs" @click=${this.redirectToAccount.bind(this)}
447
- >Let's Go!
448
- </wui-button>
449
- </wui-flex>`;
450
- }
451
- redirectToAccount() {
452
- z.replace("Account");
453
- }
454
- };
455
- S.styles = Q;
456
- S = X([
457
- f("w3m-register-account-name-success-view")
458
- ], S);
459
- export {
460
- b as W3mApproveTransactionView,
461
- S as W3mRegisterAccountNameSuccess,
462
- u as W3mRegisterAccountNameView,
463
- O as W3mUpgradeWalletView
464
- };
@@ -1,14 +0,0 @@
1
- import { D as l } from "./index-Cdy2VAPd.js";
2
- const r = l`<svg width="13" height="12" viewBox="0 0 13 12" fill="none" xmlns="http://www.w3.org/2000/svg">
3
- <path d="M6.66686 12C9.9805 12 12.6667 9.31371 12.6667 6C12.6667 2.68629 9.9805 0 6.66686 0C3.35323 0 0.666992 2.68629 0.666992 6C0.666992 9.31371 3.35323 12 6.66686 12Z" fill="var(--wui-color-gray-glass-005)"/>
4
- <path d="M6.6658 1.50098V4.82739L9.47712 6.08381L6.6658 1.50098Z" fill="var(--wui-color-gray-glass-060)"/>
5
- <path d="M6.6658 1.50098L3.85449 6.08381L6.6658 4.82739V1.50098Z" fill="var(--wui-color-gray-glass-090)"/>
6
- <path d="M6.6658 8.23909V10.4993L9.47876 6.60705L6.6658 8.23909Z" fill="var(--wui-color-gray-glass-060)"/>
7
- <path d="M6.6658 10.4993V8.23909L3.85449 6.60705L6.6658 10.4993Z" fill="var(--wui-color-gray-glass-090)"/>
8
- <path d="M6.6658 7.71585L9.47712 6.08381L6.6658 4.82739V7.71585Z" fill="var(--wui-color-gray-glass-020)"/>
9
- <path d="M3.85449 6.08381L6.6658 7.71585V4.82739L3.85449 6.08381Z" fill="var(--wui-color-gray-glass-060)"/>
10
- </svg>
11
- `;
12
- export {
13
- r as ethereumSvg
14
- };
@@ -1,10 +0,0 @@
1
- import { D as c } from "./index-Cdy2VAPd.js";
2
- const v = c`<svg fill="none" viewBox="0 0 16 16">
3
- <path
4
- fill="currentColor"
5
- d="M4.25 7a.63.63 0 0 0-.63.63v3.97c0 .28-.2.51-.47.54l-.75.07a.93.93 0 0 1-.9-.47A7.51 7.51 0 0 1 5.54.92a7.5 7.5 0 0 1 9.54 4.62c.12.35.06.72-.16 1-.74.97-1.68 1.78-2.6 2.44V4.44a.64.64 0 0 0-.63-.64h-1.06c-.35 0-.63.3-.63.64v5.5c0 .23-.12.42-.32.5l-.52.23V6.05c0-.36-.3-.64-.64-.64H7.45c-.35 0-.64.3-.64.64v4.97c0 .25-.17.46-.4.52a5.8 5.8 0 0 0-.45.11v-4c0-.36-.3-.65-.64-.65H4.25ZM14.07 12.4A7.49 7.49 0 0 1 3.6 14.08c4.09-.58 9.14-2.5 11.87-6.6v.03a7.56 7.56 0 0 1-1.41 4.91Z"
6
- />
7
- </svg>`;
8
- export {
9
- v as etherscanSvg
10
- };
@@ -1,8 +0,0 @@
1
- import { D as C } from "./index-Cdy2VAPd.js";
2
- const t = C`<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
3
- <path d="M15.0162 11.6312L9.55059 2.13937C9.39228 1.86862 9.16584 1.64405 8.8938 1.48798C8.62176 1.33192 8.3136 1.2498 7.99997 1.2498C7.68634 1.2498 7.37817 1.33192 7.10613 1.48798C6.83409 1.64405 6.60765 1.86862 6.44934 2.13937L0.983716 11.6312C0.830104 11.894 0.749146 12.1928 0.749146 12.4972C0.749146 12.8015 0.830104 13.1004 0.983716 13.3631C1.14027 13.6352 1.3664 13.8608 1.63889 14.0166C1.91139 14.1725 2.22044 14.253 2.53434 14.25H13.4656C13.7793 14.2528 14.0881 14.1721 14.3603 14.0163C14.6326 13.8604 14.8585 13.635 15.015 13.3631C15.1688 13.1005 15.2499 12.8017 15.2502 12.4973C15.2504 12.193 15.1696 11.8941 15.0162 11.6312ZM13.7162 12.6125C13.6908 12.6558 13.6541 12.6914 13.6101 12.7157C13.5661 12.7399 13.5164 12.7517 13.4662 12.75H2.53434C2.48415 12.7517 2.43442 12.7399 2.39042 12.7157C2.34641 12.6914 2.30976 12.6558 2.28434 12.6125C2.26278 12.5774 2.25137 12.5371 2.25137 12.4959C2.25137 12.4548 2.26278 12.4144 2.28434 12.3794L7.74997 2.88749C7.77703 2.84583 7.81408 2.8116 7.85774 2.7879C7.9014 2.7642 7.95029 2.75178 7.99997 2.75178C8.04964 2.75178 8.09854 2.7642 8.1422 2.7879C8.18586 2.8116 8.2229 2.84583 8.24997 2.88749L13.715 12.3794C13.7367 12.4143 13.7483 12.4546 13.7486 12.4958C13.7488 12.5369 13.7376 12.5773 13.7162 12.6125ZM7.24997 8.49999V6.49999C7.24997 6.30108 7.32898 6.11031 7.46964 5.96966C7.61029 5.82901 7.80105 5.74999 7.99997 5.74999C8.19888 5.74999 8.38964 5.82901 8.5303 5.96966C8.67095 6.11031 8.74997 6.30108 8.74997 6.49999V8.49999C8.74997 8.6989 8.67095 8.88967 8.5303 9.03032C8.38964 9.17097 8.19888 9.24999 7.99997 9.24999C7.80105 9.24999 7.61029 9.17097 7.46964 9.03032C7.32898 8.88967 7.24997 8.6989 7.24997 8.49999ZM8.99997 11C8.99997 11.1978 8.94132 11.3911 8.83144 11.5556C8.72155 11.72 8.56538 11.8482 8.38265 11.9239C8.19992 11.9996 7.99886 12.0194 7.80488 11.9808C7.6109 11.9422 7.43271 11.847 7.29286 11.7071C7.15301 11.5672 7.05777 11.3891 7.01918 11.1951C6.9806 11.0011 7.0004 10.8 7.07609 10.6173C7.15177 10.4346 7.27995 10.2784 7.4444 10.1685C7.60885 10.0586 7.80219 9.99999 7.99997 9.99999C8.26518 9.99999 8.51954 10.1053 8.70707 10.2929C8.89461 10.4804 8.99997 10.7348 8.99997 11Z" fill="currentColor"/>
4
- </svg>
5
- `;
6
- export {
7
- t as exclamationTriangleSvg
8
- };
@@ -1,12 +0,0 @@
1
- import { D as a } from "./index-Cdy2VAPd.js";
2
- const e = a`<svg fill="none" viewBox="0 0 14 15">
3
- <path
4
- fill="currentColor"
5
- fill-rule="evenodd"
6
- d="M6.71 2.99a.57.57 0 0 0-.57.57 1 1 0 0 1-1 1c-.58 0-.96 0-1.24.03-.27.03-.37.07-.42.1a.97.97 0 0 0-.36.35c-.04.08-.09.21-.11.67a2.57 2.57 0 0 1 0 5.13c.02.45.07.6.11.66.09.15.21.28.36.36.07.04.21.1.67.12a2.57 2.57 0 0 1 5.12 0c.46-.03.6-.08.67-.12a.97.97 0 0 0 .36-.36c.03-.04.07-.14.1-.41.02-.29.03-.66.03-1.24a1 1 0 0 1 1-1 .57.57 0 0 0 0-1.15 1 1 0 0 1-1-1c0-.58 0-.95-.03-1.24a1.04 1.04 0 0 0-.1-.42.97.97 0 0 0-.36-.36 1.04 1.04 0 0 0-.42-.1c-.28-.02-.65-.02-1.24-.02a1 1 0 0 1-1-1 .57.57 0 0 0-.57-.57ZM5.15 13.98a1 1 0 0 0 .99-1v-.78a.57.57 0 0 1 1.14 0v.78a1 1 0 0 0 .99 1H8.36a66.26 66.26 0 0 0 .73 0 3.78 3.78 0 0 0 1.84-.38c.46-.26.85-.64 1.1-1.1.23-.4.32-.8.36-1.22.02-.2.03-.4.03-.63a2.57 2.57 0 0 0 0-4.75c0-.23-.01-.44-.03-.63a2.96 2.96 0 0 0-.35-1.22 2.97 2.97 0 0 0-1.1-1.1c-.4-.22-.8-.31-1.22-.35a8.7 8.7 0 0 0-.64-.04 2.57 2.57 0 0 0-4.74 0c-.23 0-.44.02-.63.04-.42.04-.83.13-1.22.35-.46.26-.84.64-1.1 1.1-.33.57-.37 1.2-.39 1.84a21.39 21.39 0 0 0 0 .72v.1a1 1 0 0 0 1 .99h.78a.57.57 0 0 1 0 1.15h-.77a1 1 0 0 0-1 .98v.1a63.87 63.87 0 0 0 0 .73c0 .64.05 1.27.38 1.83.26.47.64.85 1.1 1.11.56.32 1.2.37 1.84.38a20.93 20.93 0 0 0 .72 0h.1Z"
7
- clip-rule="evenodd"
8
- />
9
- </svg>`;
10
- export {
11
- e as extensionSvg
12
- };
@@ -1,12 +0,0 @@
1
- import { D as l } from "./index-Cdy2VAPd.js";
2
- const o = l`<svg fill="none" viewBox="0 0 14 15">
3
- <path
4
- fill="currentColor"
5
- fill-rule="evenodd"
6
- d="M3.74 3.99a1 1 0 0 1 1-1H11a1 1 0 0 1 1 1v6.26a1 1 0 0 1-2 0V6.4l-6.3 6.3a1 1 0 0 1-1.4-1.42l6.29-6.3H4.74a1 1 0 0 1-1-1Z"
7
- clip-rule="evenodd"
8
- />
9
- </svg>`;
10
- export {
11
- o as externalLinkSvg
12
- };
@@ -1,30 +0,0 @@
1
- import { D as l } from "./index-Cdy2VAPd.js";
2
- const f = l`<svg fill="none" viewBox="0 0 40 40">
3
- <g clip-path="url(#a)">
4
- <g clip-path="url(#b)">
5
- <circle cx="20" cy="19.89" r="20" fill="#1877F2" />
6
- <g clip-path="url(#c)">
7
- <path
8
- fill="#fff"
9
- d="M26 12.38h-2.89c-.92 0-1.61.38-1.61 1.34v1.66H26l-.36 4.5H21.5v12H17v-12h-3v-4.5h3V12.5c0-3.03 1.6-4.62 5.2-4.62H26v4.5Z"
10
- />
11
- </g>
12
- </g>
13
- <path
14
- fill="#1877F2"
15
- d="M40 20a20 20 0 1 0-23.13 19.76V25.78H11.8V20h5.07v-4.4c0-5.02 3-7.79 7.56-7.79 2.19 0 4.48.4 4.48.4v4.91h-2.53c-2.48 0-3.25 1.55-3.25 3.13V20h5.54l-.88 5.78h-4.66v13.98A20 20 0 0 0 40 20Z"
16
- />
17
- <path
18
- fill="#fff"
19
- d="m27.79 25.78.88-5.78h-5.55v-3.75c0-1.58.78-3.13 3.26-3.13h2.53V8.2s-2.3-.39-4.48-.39c-4.57 0-7.55 2.77-7.55 7.78V20H11.8v5.78h5.07v13.98a20.15 20.15 0 0 0 6.25 0V25.78h4.67Z"
20
- />
21
- </g>
22
- <defs>
23
- <clipPath id="a"><rect width="40" height="40" fill="#fff" rx="20" /></clipPath>
24
- <clipPath id="b"><path fill="#fff" d="M0 0h40v40H0z" /></clipPath>
25
- <clipPath id="c"><path fill="#fff" d="M8 7.89h24v24H8z" /></clipPath>
26
- </defs>
27
- </svg>`;
28
- export {
29
- f as facebookSvg
30
- };
@@ -1,16 +0,0 @@
1
- import { D as h } from "./index-Cdy2VAPd.js";
2
- const a = h`<svg style="border-radius: 9999px; overflow: hidden;" fill="none" viewBox="0 0 1000 1000">
3
- <rect width="1000" height="1000" rx="9999" ry="9999" fill="#855DCD"/>
4
- <path fill="#855DCD" d="M0 0h1000v1000H0V0Z" />
5
- <path
6
- fill="#fff"
7
- d="M320 248h354v504h-51.96V521.13h-.5c-5.76-63.8-59.31-113.81-124.54-113.81s-118.78 50-124.53 113.81h-.5V752H320V248Z"
8
- />
9
- <path
10
- fill="#fff"
11
- d="m225 320 21.16 71.46h17.9v289.09a16.29 16.29 0 0 0-16.28 16.24v19.49h-3.25a16.3 16.3 0 0 0-16.28 16.24V752h182.26v-19.48a16.22 16.22 0 0 0-16.28-16.24h-3.25v-19.5a16.22 16.22 0 0 0-16.28-16.23h-19.52V320H225Zm400.3 360.55a16.3 16.3 0 0 0-15.04 10.02 16.2 16.2 0 0 0-1.24 6.22v19.49h-3.25a16.29 16.29 0 0 0-16.27 16.24V752h182.24v-19.48a16.23 16.23 0 0 0-16.27-16.24h-3.25v-19.5a16.2 16.2 0 0 0-10.04-15 16.3 16.3 0 0 0-6.23-1.23v-289.1h17.9L775 320H644.82v360.55H625.3Z"
12
- />
13
- </svg>`;
14
- export {
15
- a as farcasterSvg
16
- };
@@ -1,12 +0,0 @@
1
- import { D as a } from "./index-Cdy2VAPd.js";
2
- const l = a`<svg fill="none" viewBox="0 0 16 16">
3
- <path
4
- fill="currentColor"
5
- fill-rule="evenodd"
6
- d="M0 3a1 1 0 0 1 1-1h14a1 1 0 1 1 0 2H1a1 1 0 0 1-1-1Zm2.63 5.25a1 1 0 0 1 1-1h8.75a1 1 0 1 1 0 2H3.63a1 1 0 0 1-1-1Zm2.62 5.25a1 1 0 0 1 1-1h3.5a1 1 0 0 1 0 2h-3.5a1 1 0 0 1-1-1Z"
7
- clip-rule="evenodd"
8
- />
9
- </svg>`;
10
- export {
11
- l as filtersSvg
12
- };
@@ -1,22 +0,0 @@
1
- import { D as l } from "./index-Cdy2VAPd.js";
2
- const c = l`<svg fill="none" viewBox="0 0 40 40">
3
- <g clip-path="url(#a)">
4
- <g clip-path="url(#b)">
5
- <circle cx="20" cy="19.89" r="20" fill="#1B1F23" />
6
- <g clip-path="url(#c)">
7
- <path
8
- fill="#fff"
9
- d="M8 19.89a12 12 0 1 1 15.8 11.38c-.6.12-.8-.26-.8-.57v-3.3c0-1.12-.4-1.85-.82-2.22 2.67-.3 5.48-1.31 5.48-5.92 0-1.31-.47-2.38-1.24-3.22.13-.3.54-1.52-.12-3.18 0 0-1-.32-3.3 1.23a11.54 11.54 0 0 0-6 0c-2.3-1.55-3.3-1.23-3.3-1.23a4.32 4.32 0 0 0-.12 3.18 4.64 4.64 0 0 0-1.24 3.22c0 4.6 2.8 5.63 5.47 5.93-.34.3-.65.83-.76 1.6-.69.31-2.42.84-3.5-1 0 0-.63-1.15-1.83-1.23 0 0-1.18-.02-.09.73 0 0 .8.37 1.34 1.76 0 0 .7 2.14 4.03 1.41v2.24c0 .31-.2.68-.8.57A12 12 0 0 1 8 19.9Z"
10
- />
11
- </g>
12
- </g>
13
- </g>
14
- <defs>
15
- <clipPath id="a"><rect width="40" height="40" fill="#fff" rx="20" /></clipPath>
16
- <clipPath id="b"><path fill="#fff" d="M0 0h40v40H0z" /></clipPath>
17
- <clipPath id="c"><path fill="#fff" d="M8 7.89h24v24H8z" /></clipPath>
18
- </defs>
19
- </svg>`;
20
- export {
21
- c as githubSvg
22
- };
@@ -1,22 +0,0 @@
1
- import { D as l } from "./index-Cdy2VAPd.js";
2
- const o = l`<svg fill="none" viewBox="0 0 40 40">
3
- <path
4
- fill="#4285F4"
5
- d="M32.74 20.3c0-.93-.08-1.81-.24-2.66H20.26v5.03h7a6 6 0 0 1-2.62 3.91v3.28h4.22c2.46-2.27 3.88-5.6 3.88-9.56Z"
6
- />
7
- <path
8
- fill="#34A853"
9
- d="M20.26 33a12.4 12.4 0 0 0 8.6-3.14l-4.22-3.28a7.74 7.74 0 0 1-4.38 1.26 7.76 7.76 0 0 1-7.28-5.36H8.65v3.36A12.99 12.99 0 0 0 20.26 33Z"
10
- />
11
- <path
12
- fill="#FBBC05"
13
- d="M12.98 22.47a7.79 7.79 0 0 1 0-4.94v-3.36H8.65a12.84 12.84 0 0 0 0 11.66l3.37-2.63.96-.73Z"
14
- />
15
- <path
16
- fill="#EA4335"
17
- d="M20.26 12.18a7.1 7.1 0 0 1 4.98 1.93l3.72-3.72A12.47 12.47 0 0 0 20.26 7c-5.08 0-9.47 2.92-11.6 7.17l4.32 3.36a7.76 7.76 0 0 1 7.28-5.35Z"
18
- />
19
- </svg>`;
20
- export {
21
- o as googleSvg
22
- };
@@ -1,16 +0,0 @@
1
- import { D as l } from "./index-Cdy2VAPd.js";
2
- const o = l`<svg fill="none" viewBox="0 0 16 16">
3
- <path
4
- fill="currentColor"
5
- d="M8.51 5.66a.83.83 0 0 0-.57-.2.83.83 0 0 0-.52.28.8.8 0 0 0-.25.52 1 1 0 0 1-2 0c0-.75.34-1.43.81-1.91a2.75 2.75 0 0 1 4.78 1.92c0 1.24-.8 1.86-1.25 2.2l-.04.03c-.47.36-.5.43-.5.65a1 1 0 1 1-2 0c0-1.25.8-1.86 1.24-2.2l.04-.04c.47-.36.5-.43.5-.65 0-.3-.1-.49-.24-.6ZM9.12 11.87a1.13 1.13 0 1 1-2.25 0 1.13 1.13 0 0 1 2.25 0Z"
6
- />
7
- <path
8
- fill="currentColor"
9
- fill-rule="evenodd"
10
- d="M0 8a8 8 0 1 1 16 0A8 8 0 0 1 0 8Zm8-6a6 6 0 1 0 0 12A6 6 0 0 0 8 2Z"
11
- clip-rule="evenodd"
12
- />
13
- </svg>`;
14
- export {
15
- o as helpCircleSvg
16
- };
@@ -1,16 +0,0 @@
1
- import { D as c } from "./index-Cdy2VAPd.js";
2
- const e = c`<svg
3
- xmlns="http://www.w3.org/2000/svg"
4
- width="28"
5
- height="28"
6
- viewBox="0 0 28 28"
7
- fill="none">
8
- <path
9
- fill="currentColor"
10
- fill-rule="evenodd"
11
- d="M7.974 2.975h12.052c1.248 0 2.296 0 3.143.092.89.096 1.723.307 2.461.844a4.9 4.9 0 0 1 1.084 1.084c.537.738.748 1.57.844 2.461.092.847.092 1.895.092 3.143v6.802c0 1.248 0 2.296-.092 3.143-.096.89-.307 1.723-.844 2.461a4.9 4.9 0 0 1-1.084 1.084c-.738.537-1.57.748-2.461.844-.847.092-1.895.092-3.143.092H7.974c-1.247 0-2.296 0-3.143-.092-.89-.096-1.723-.307-2.461-.844a4.901 4.901 0 0 1-1.084-1.084c-.537-.738-.748-1.571-.844-2.461C.35 19.697.35 18.649.35 17.4v-6.802c0-1.248 0-2.296.092-3.143.096-.89.307-1.723.844-2.461A4.9 4.9 0 0 1 2.37 3.91c.738-.537 1.571-.748 2.461-.844.847-.092 1.895-.092 3.143-.092ZM5.133 5.85c-.652.071-.936.194-1.117.326a2.1 2.1 0 0 0-.465.465c-.132.181-.255.465-.325 1.117-.074.678-.076 1.573-.076 2.917v6.65c0 1.344.002 2.239.076 2.917.07.652.193.936.325 1.117a2.1 2.1 0 0 0 .465.465c.181.132.465.255 1.117.326.678.073 1.574.075 2.917.075h11.9c1.344 0 2.239-.002 2.917-.075.652-.071.936-.194 1.117-.326.179-.13.335-.286.465-.465.132-.181.255-.465.326-1.117.073-.678.075-1.573.075-2.917v-6.65c0-1.344-.002-2.239-.075-2.917-.071-.652-.194-.936-.326-1.117a2.1 2.1 0 0 0-.465-.465c-.181-.132-.465-.255-1.117-.326-.678-.073-1.573-.075-2.917-.075H8.05c-1.343 0-2.239.002-2.917.075Zm.467 7.275a3.15 3.15 0 1 1 6.3 0 3.15 3.15 0 0 1-6.3 0Zm8.75-1.75a1.4 1.4 0 0 1 1.4-1.4h3.5a1.4 1.4 0 0 1 0 2.8h-3.5a1.4 1.4 0 0 1-1.4-1.4Zm0 5.25a1.4 1.4 0 0 1 1.4-1.4H21a1.4 1.4 0 1 1 0 2.8h-5.25a1.4 1.4 0 0 1-1.4-1.4Z"
12
- clip-rule="evenodd"/>
13
- </svg>`;
14
- export {
15
- e as idSvg
16
- };