@getblock/common 0.1.77

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 (38) hide show
  1. package/README.md +16 -0
  2. package/dist/cn.d600ca34.js +35 -0
  3. package/dist/en.101a7f88.js +35 -0
  4. package/dist/getblock-common.es.ts +4845 -0
  5. package/dist/getblock-common.umd.ts +5 -0
  6. package/dist/index.d.ts +1 -0
  7. package/dist/src/components/announcement/Announcement.vue.d.ts +63 -0
  8. package/dist/src/components/announcement/locales/cn.d.ts +5 -0
  9. package/dist/src/components/announcement/locales/en.d.ts +5 -0
  10. package/dist/src/components/blackFridayAnnouncement/BlackFridayAnnouncement.vue.d.ts +77 -0
  11. package/dist/src/components/blackFridayAnnouncement/locales/cn.d.ts +6 -0
  12. package/dist/src/components/blackFridayAnnouncement/locales/en.d.ts +6 -0
  13. package/dist/src/components/contactForm/locales/cn.d.ts +2 -0
  14. package/dist/src/components/contactForm/locales/en.d.ts +2 -0
  15. package/dist/src/components/contactForm/staticData/nodes.d.ts +6 -0
  16. package/dist/src/components/contactForm/type/shared.d.ts +56 -0
  17. package/dist/src/components/contactForm/utils/useTexts.d.ts +36 -0
  18. package/dist/src/components/contactModal/locales/cn.d.ts +31 -0
  19. package/dist/src/components/contactModal/locales/en.d.ts +31 -0
  20. package/dist/src/components/cookie/Cookie.vue.d.ts +284 -0
  21. package/dist/src/components/cookie/locales/cn.d.ts +42 -0
  22. package/dist/src/components/cookie/locales/en.d.ts +42 -0
  23. package/dist/src/components/enterpriseModal/locales/cn.d.ts +33 -0
  24. package/dist/src/components/enterpriseModal/locales/en.d.ts +33 -0
  25. package/dist/src/components/enterpriseModal/utils/utils.d.ts +2 -0
  26. package/dist/src/components/footer/locales/cn.d.ts +66 -0
  27. package/dist/src/components/footer/locales/en.d.ts +66 -0
  28. package/dist/src/components/index.d.ts +10 -0
  29. package/dist/src/components/infoModal/InfoModal.vue.d.ts +66 -0
  30. package/dist/src/components/navbar/Navbar.vue.d.ts +324 -0
  31. package/dist/src/components/optionalAnnouncement/OptionalAnnouncement.vue.d.ts +25 -0
  32. package/dist/src/components/optionalAnnouncement/locales/cn.d.ts +5 -0
  33. package/dist/src/components/optionalAnnouncement/locales/en.d.ts +5 -0
  34. package/dist/src/constants/pathNames.d.ts +27 -0
  35. package/dist/src/vite-env.d.ts +9 -0
  36. package/dist/style.css +1 -0
  37. package/dist/vite.svg +1 -0
  38. package/package.json +77 -0
@@ -0,0 +1,4845 @@
1
+ import { defineComponent as H, computed as M, openBlock as n, createElementBlock as u, normalizeClass as d, unref as a, renderSlot as q, ref as _, useSlots as ze, createCommentVNode as A, createElementVNode as e, createBlock as ne, withDirectives as X, isRef as Ve, vModelDynamic as Je, createVNode as k, vShow as ae, onMounted as Me, watch as ie, resolveDirective as We, Fragment as T, toDisplayString as c, renderList as E, withModifiers as ge, onBeforeUnmount as Ke, Teleport as qe, normalizeStyle as Ee, vModelText as et, createTextVNode as ce, nextTick as tt, onUnmounted as we, useCssVars as Re, withCtx as S, withKeys as fe, reactive as Oe, createSlots as Ie } from "vue";
2
+ const lt = {
3
+ title: "Feel Free to Reach Out Anytime! \u{1F44B}",
4
+ "full-name": {
5
+ title: "FULL NAME",
6
+ placeholder: "Full name"
7
+ },
8
+ email: {
9
+ title: "EMAIL",
10
+ placeholder: "Email"
11
+ },
12
+ subject: {
13
+ title: "SUBJECT",
14
+ placeholder: "Choose a subject"
15
+ },
16
+ subjects: {
17
+ "customer-support": "Customer Support",
18
+ "tech-support": "Tech Support",
19
+ sales: "Sales",
20
+ other: "Other"
21
+ },
22
+ "text-message": {
23
+ title: "TEXT MESSAGE",
24
+ placeholder: "Text message"
25
+ },
26
+ button: "Send message",
27
+ "privacy-policy": {
28
+ description: "By clicking \u201CSend message\u201D you agree to our ",
29
+ policy: "Privacy Policy"
30
+ }
31
+ }, at = {
32
+ title: "\u96A8\u6642\u806F\u7E6B\uFF01 \u{1F44B}",
33
+ "full-name": {
34
+ title: "\u5168\u540D",
35
+ placeholder: "\u5168\u540D"
36
+ },
37
+ email: {
38
+ title: "\u96FB\u5B50\u90F5\u4EF6",
39
+ placeholder: "\u96FB\u5B50\u90F5\u4EF6"
40
+ },
41
+ subject: {
42
+ title: "\u4E3B\u984C",
43
+ placeholder: "\u9078\u64C7\u4E00\u500B\u4E3B\u984C"
44
+ },
45
+ subjects: {
46
+ "customer-support": "\u5BA2\u6236\u652F\u6301",
47
+ "tech-support": "\u6280\u8853\u652F\u6301",
48
+ sales: "\u92B7\u552E\u91CF",
49
+ other: "\u5176\u4ED6"
50
+ },
51
+ "text-message": {
52
+ title: "\u77ED\u4FE1",
53
+ placeholder: "\u77ED\u4FE1"
54
+ },
55
+ button: "\u767C\u4FE1\u606F",
56
+ "privacy-policy": {
57
+ description: "\u6211\u5011\u6839\u64DA\u6211\u5011\u7684\u898F\u5B9A\u8655\u7406\u60A8\u7684\u500B\u4EBA\u6578\u64DA ",
58
+ policy: "\u9690\u79C1\u653F\u7B56"
59
+ }
60
+ }, ot = "_getblock_ui_contactModal_7wa3n_1", nt = "_getblock_ui_contactModalContainer_7wa3n_7", st = "dark", Ue = {
61
+ contactModal: ot,
62
+ contactModalContainer: nt,
63
+ dark: st
64
+ }, it = "_getblock_ui_button_1pp63_1", ct = "_getblock_ui_buttonAccent_1pp63_7", ut = "_getblock_ui_buttonTint_1pp63_8", rt = "_getblock_ui_buttonPrimary_1pp63_9", dt = "_getblock_ui_buttonSecondary_1pp63_10", pt = "_getblock_ui_buttonOutline_1pp63_11", gt = "_getblock_ui_buttonTransparent_1pp63_12", xt = "_getblock_ui_buttonDestructiveAccent_1pp63_13", mt = "_getblock_ui_buttonDestructiveTint_1pp63_14", vt = "_getblock_ui_buttonDestructiveSecondary_1pp63_15", ht = "_getblock_ui_buttonDestructiveOutline_1pp63_16", kt = "_getblock_ui_buttonDestructiveTransparent_1pp63_17", _t = "dark", yt = "_getblock_ui_buttonLarge_1pp63_42", bt = "_getblock_ui_buttonMedium_1pp63_46", ft = "_getblock_ui_buttonSmall_1pp63_50", Mt = "_getblock_ui_buttonBase_1pp63_57", It = "_getblock_ui_buttonAttention_1pp63_91", Tt = "_getblock_ui_buttonViolet_1pp63_96", Nt = "_getblock_ui_buttonSpecial_1pp63_101", Dt = "_getblock_ui_buttonPinkGradient_1pp63_107", jt = "_getblock_ui_buttonWhite_1pp63_116", zt = "_getblock_ui_buttonTinyWhite_1pp63_120", Et = "_getblock_ui_buttonDestructive_1pp63_13", wt = "_getblock_ui_iconButtonLarge_1pp63_165", Ct = "_getblock_ui_iconButtonMedium_1pp63_169", At = "_getblock_ui_iconButtonSmall_1pp63_173", V = {
65
+ button: it,
66
+ buttonAccent: ct,
67
+ buttonTint: ut,
68
+ buttonPrimary: rt,
69
+ buttonSecondary: dt,
70
+ buttonOutline: pt,
71
+ buttonTransparent: gt,
72
+ buttonDestructiveAccent: xt,
73
+ buttonDestructiveTint: mt,
74
+ buttonDestructiveSecondary: vt,
75
+ buttonDestructiveOutline: ht,
76
+ buttonDestructiveTransparent: kt,
77
+ dark: _t,
78
+ buttonLarge: yt,
79
+ buttonMedium: bt,
80
+ buttonSmall: ft,
81
+ buttonBase: Mt,
82
+ buttonAttention: It,
83
+ buttonViolet: Tt,
84
+ buttonSpecial: Nt,
85
+ buttonPinkGradient: Dt,
86
+ buttonWhite: jt,
87
+ buttonTinyWhite: zt,
88
+ buttonDestructive: Et,
89
+ iconButtonLarge: wt,
90
+ iconButtonMedium: Ct,
91
+ iconButtonSmall: At
92
+ }, St = ["disabled"], ee = /* @__PURE__ */ H({
93
+ __name: "Button",
94
+ props: {
95
+ disabled: {
96
+ type: Boolean,
97
+ default: !1
98
+ },
99
+ mainType: {
100
+ type: String,
101
+ default: "base",
102
+ validator: (r) => ["base", "destructive"].indexOf(r) >= 0
103
+ },
104
+ colorType: {
105
+ type: String,
106
+ default: "accent",
107
+ validator: (r) => [
108
+ "accent",
109
+ "tint",
110
+ "primary",
111
+ "secondary",
112
+ "outline",
113
+ "transparent",
114
+ "attention",
115
+ "violet",
116
+ "special",
117
+ "pink-gradient",
118
+ "white",
119
+ "tiny-white"
120
+ ].indexOf(r) >= 0
121
+ },
122
+ sizeType: {
123
+ type: String,
124
+ default: "large",
125
+ validator: (r) => ["large", "medium", "small"].indexOf(r) >= 0
126
+ },
127
+ iconButton: {
128
+ type: Boolean,
129
+ default: !1
130
+ }
131
+ },
132
+ setup(r) {
133
+ const s = r, l = M(() => ({
134
+ "pointer-events-none": s.disabled,
135
+ [V.buttonLarge]: s.sizeType === "large" && !s.iconButton,
136
+ [V.buttonMedium]: s.sizeType === "medium" && !s.iconButton,
137
+ [V.buttonSmall]: s.sizeType === "small" && !s.iconButton,
138
+ [V.buttonBase]: s.mainType === "base",
139
+ [V.buttonAccent]: s.mainType === "base" && s.colorType === "accent",
140
+ [V.buttonTint]: s.mainType === "base" && s.colorType === "tint",
141
+ [V.buttonPrimary]: s.mainType === "base" && s.colorType === "primary",
142
+ [V.buttonSecondary]: s.mainType === "base" && s.colorType === "secondary",
143
+ [V.buttonOutline]: s.mainType === "base" && s.colorType === "outline",
144
+ [V.buttonTransparent]: s.mainType === "base" && s.colorType === "transparent",
145
+ [V.buttonAttention]: s.mainType === "base" && s.colorType === "attention",
146
+ [V.buttonViolet]: s.mainType === "base" && s.colorType === "violet",
147
+ [V.buttonSpecial]: s.mainType === "base" && s.colorType === "special",
148
+ [V.buttonPinkGradient]: s.mainType === "base" && s.colorType === "pink-gradient",
149
+ [V.buttonWhite]: s.mainType === "base" && s.colorType === "white",
150
+ [V.buttonTinyWhite]: s.mainType === "base" && s.colorType === "tiny-white",
151
+ [V.buttonDestructive]: s.mainType === "destructive",
152
+ [V.buttonDestructiveAccent]: s.mainType === "destructive" && s.colorType === "accent",
153
+ [V.buttonDestructiveTint]: s.mainType === "destructive" && s.colorType === "tint",
154
+ [V.buttonDestructiveSecondary]: s.mainType === "destructive" && s.colorType === "secondary",
155
+ [V.buttonDestructiveOutline]: s.mainType === "destructive" && s.colorType === "outline",
156
+ [V.buttonDestructiveTransparent]: s.mainType === "destructive" && s.colorType === "transparent",
157
+ [V.iconButtonLarge]: s.sizeType === "large" && s.iconButton,
158
+ [V.iconButtonMedium]: s.sizeType === "medium" && s.iconButton,
159
+ [V.iconButtonSmall]: s.sizeType === "small" && s.iconButton
160
+ }));
161
+ return (x, o) => (n(), u("button", {
162
+ class: d([a(l), a(V).button]),
163
+ disabled: s.disabled
164
+ }, [
165
+ q(x.$slots, "left-icon"),
166
+ q(x.$slots, "default"),
167
+ q(x.$slots, "right-icon")
168
+ ], 10, St));
169
+ }
170
+ }), Ft = "_getblock_ui_iconXs_15uci_2", Bt = "_getblock_ui_iconSmall_15uci_6", Lt = "_getblock_ui_iconMedium_15uci_10", Ot = "_getblock_ui_iconLarge_15uci_14", Ut = "_getblock_ui_iconMain_15uci_21", $t = "dark", Qt = "_getblock_ui_iconSecondary_15uci_31", Gt = "_getblock_ui_iconTertiary_15uci_41", Yt = "_getblock_ui_iconDisable_15uci_51", Pt = "_getblock_ui_iconAction_15uci_61", Vt = "_getblock_ui_iconTintBlue_15uci_71", Wt = "_getblock_ui_iconAttention_15uci_81", Rt = "_getblock_ui_iconAlert_15uci_91", Ht = "_getblock_ui_iconSuccess_15uci_101", Zt = "_getblock_ui_iconColorBG_15uci_111", Xt = "_getblock_ui_iconLightBG_15uci_121", Jt = "_getblock_ui_iconTintRed_15uci_131", Kt = "_getblock_ui_iconDefault_15uci_141", qt = "_getblock_ui_iconReverseMain_15uci_151", el = "_getblock_ui_iconContrast_15uci_158", tl = "_getblock_ui_iconViolet_15uci_167", ll = "_getblock_ui_iconAccentHover_15uci_178", al = "_getblock_ui_iconTintHover_15uci_187", ol = "_getblock_ui_iconAttentionHover_15uci_196", nl = "_getblock_ui_iconErrorHover_15uci_205", R = {
171
+ iconXs: Ft,
172
+ iconSmall: Bt,
173
+ iconMedium: Lt,
174
+ iconLarge: Ot,
175
+ iconMain: Ut,
176
+ dark: $t,
177
+ iconSecondary: Qt,
178
+ iconTertiary: Gt,
179
+ iconDisable: Yt,
180
+ iconAction: Pt,
181
+ iconTintBlue: Vt,
182
+ iconAttention: Wt,
183
+ iconAlert: Rt,
184
+ iconSuccess: Ht,
185
+ iconColorBG: Zt,
186
+ iconLightBG: Xt,
187
+ iconTintRed: Jt,
188
+ iconDefault: Kt,
189
+ iconReverseMain: qt,
190
+ iconContrast: el,
191
+ iconViolet: tl,
192
+ iconAccentHover: ll,
193
+ iconTintHover: al,
194
+ iconAttentionHover: ol,
195
+ iconErrorHover: nl
196
+ }, sl = ["alt", "height", "src", "width"], O = /* @__PURE__ */ H({
197
+ __name: "Icon",
198
+ props: {
199
+ iconName: {
200
+ type: String,
201
+ required: !0
202
+ },
203
+ colorType: {
204
+ type: String,
205
+ default: "main",
206
+ validator: (r) => [
207
+ "none",
208
+ "main",
209
+ "secondary",
210
+ "tertiary",
211
+ "disable",
212
+ "action",
213
+ "tint-blue",
214
+ "tint-red",
215
+ "attention",
216
+ "alert",
217
+ "success",
218
+ "color-bg",
219
+ "light-bg",
220
+ "default",
221
+ "accent-hover",
222
+ "tint-hover",
223
+ "attention-hover",
224
+ "reverse-main",
225
+ "error-hover",
226
+ "contrast",
227
+ "violet"
228
+ ].indexOf(r) >= 0
229
+ },
230
+ sizeType: {
231
+ type: String,
232
+ default: "medium",
233
+ validator: (r) => ["xs", "small", "medium", "large"].indexOf(r) >= 0
234
+ }
235
+ },
236
+ setup(r) {
237
+ const s = r, l = M(() => ({
238
+ xs: 14,
239
+ small: 16,
240
+ medium: 20,
241
+ large: 24
242
+ })[s.sizeType]), x = M(() => ({
243
+ [R.iconXs]: s.sizeType === "xs",
244
+ [R.iconSmall]: s.sizeType === "small",
245
+ [R.iconMedium]: s.sizeType === "medium",
246
+ [R.iconLarge]: s.sizeType === "large",
247
+ [R.iconMain]: s.colorType === "main",
248
+ [R.iconSecondary]: s.colorType === "secondary",
249
+ [R.iconTertiary]: s.colorType === "tertiary",
250
+ [R.iconDisable]: s.colorType === "disable",
251
+ [R.iconAction]: s.colorType === "action",
252
+ [R.iconTintBlue]: s.colorType === "tint-blue",
253
+ [R.iconTintRed]: s.colorType === "tint-red",
254
+ [R.iconAttention]: s.colorType === "attention",
255
+ [R.iconAlert]: s.colorType === "alert",
256
+ [R.iconSuccess]: s.colorType === "success",
257
+ [R.iconColorBG]: s.colorType === "color-bg",
258
+ [R.iconLightBG]: s.colorType === "light-bg",
259
+ [R.iconDefault]: s.colorType === "default",
260
+ [R.iconAccentHover]: s.colorType === "accent-hover",
261
+ [R.iconTintHover]: s.colorType === "tint-hover",
262
+ [R.iconAttentionHover]: s.colorType === "attention-hover",
263
+ [R.iconReverseMain]: s.colorType === "reverse-main",
264
+ [R.iconErrorHover]: s.colorType === "error-hover",
265
+ [R.iconContrast]: s.colorType === "contrast",
266
+ [R.iconViolet]: s.colorType === "violet"
267
+ }));
268
+ return (o, p) => (n(), u("img", {
269
+ alt: s.iconName,
270
+ class: d(a(x)),
271
+ height: a(l),
272
+ src: `https://storage.getblock.io/web/getblock-ui-kit/icons/${s.iconName}.svg`,
273
+ width: a(l)
274
+ }, null, 10, sl));
275
+ }
276
+ }), il = "_getblock_ui_container_1n2d9_2", cl = "_getblock_ui_inputMedium_1n2d9_9", ul = "_getblock_ui_inputLarge_1n2d9_12", rl = "_getblock_ui_input_1n2d9_9", dl = "dark", pl = "_getblock_ui_inputFocus_1n2d9_25", gl = "_getblock_ui_inputFill_1n2d9_32", xl = "_getblock_ui_inputOutline_1n2d9_39", ml = "_getblock_ui_inputDisabled_1n2d9_46", vl = "_getblock_ui_inputLabelDisabled_1n2d9_53", hl = "_getblock_ui_inputDisabledCustomEvents_1n2d9_57", kl = "_getblock_ui_inputError_1n2d9_67", _l = "_getblock_ui_inputHintError_1n2d9_71", yl = "_getblock_ui_inputHint_1n2d9_71", bl = "_getblock_ui_inputLabel_1n2d9_53", fl = "_getblock_ui_shrink0_1n2d9_94", K = {
277
+ container: il,
278
+ inputMedium: cl,
279
+ inputLarge: ul,
280
+ input: rl,
281
+ dark: dl,
282
+ inputFocus: pl,
283
+ inputFill: gl,
284
+ inputOutline: xl,
285
+ inputDisabled: ml,
286
+ inputLabelDisabled: vl,
287
+ inputDisabledCustomEvents: hl,
288
+ inputError: kl,
289
+ inputHintError: _l,
290
+ inputHint: yl,
291
+ inputLabel: bl,
292
+ shrink0: fl
293
+ }, Ml = ["tabindex", "disabled", "name", "placeholder", "type"], pe = /* @__PURE__ */ H({
294
+ __name: "Input",
295
+ props: {
296
+ disabled: {
297
+ type: Boolean,
298
+ default: !1
299
+ },
300
+ error: {
301
+ type: Boolean,
302
+ default: !1
303
+ },
304
+ placeholder: {
305
+ type: String,
306
+ default: ""
307
+ },
308
+ inputName: {
309
+ type: String,
310
+ required: !0
311
+ },
312
+ inputValue: {
313
+ type: String,
314
+ required: !0
315
+ },
316
+ inputType: {
317
+ type: String,
318
+ default: "text",
319
+ validator: (r) => ["text", "email", "number", "password"].indexOf(r) >= 0
320
+ },
321
+ colorType: {
322
+ type: String,
323
+ default: "fill",
324
+ validator: (r) => ["fill", "outline"].indexOf(r) >= 0
325
+ },
326
+ sizeType: {
327
+ type: String,
328
+ default: "large",
329
+ validator: (r) => ["large", "medium"].indexOf(r) >= 0
330
+ },
331
+ iconName: {
332
+ type: String,
333
+ default: ""
334
+ },
335
+ statusIcon: {
336
+ type: String,
337
+ default: "none",
338
+ validator: (r) => ["success", "error", "none"].indexOf(r) >= 0
339
+ },
340
+ customEventRightButton: {
341
+ type: Boolean,
342
+ default: !1
343
+ },
344
+ rightIconName: {
345
+ type: String,
346
+ default: ""
347
+ },
348
+ tabIndex: {
349
+ type: Number,
350
+ default: 0
351
+ }
352
+ },
353
+ emits: ["update:inputValue", "resetError", "focusOut", "onClickRightButton"],
354
+ setup(r, { emit: s }) {
355
+ const l = r, x = M(() => l.statusIcon === "success" ? { display: !0, colorType: "success", icon: "check-circle" } : l.statusIcon === "error" ? { display: !0, colorType: "alert", icon: "alert-triangle" } : { display: !1, colorType: "none", icon: "" }), o = _(null), p = _(!1), i = _(l.inputType), m = M({
356
+ get() {
357
+ return l.inputValue;
358
+ },
359
+ set(L) {
360
+ s("update:inputValue", L);
361
+ }
362
+ }), t = M(() => l.customEventRightButton ? l.rightIconName : l.inputType === "password" ? "eye" : "x"), y = M(() => ({
363
+ [K.inputError]: l.error,
364
+ [K.inputDisabled]: l.disabled && !l.customEventRightButton,
365
+ [K.inputDisabledCustomEvents]: l.disabled && l.customEventRightButton,
366
+ [K.inputFocus]: p.value && !l.disabled,
367
+ [K.inputMedium]: l.sizeType === "medium",
368
+ [K.inputLarge]: l.sizeType === "large",
369
+ [K.inputFill]: l.colorType === "fill" && !p.value || l.disabled,
370
+ [K.inputOutline]: l.colorType === "outline" && !p.value || l.disabled
371
+ })), v = M(() => ({
372
+ [K.inputHint]: !l.error,
373
+ [K.inputHintError]: l.error
374
+ })), B = M(() => ({
375
+ [K.inputLabel]: !0,
376
+ [K.inputLabelDisabled]: l.disabled
377
+ })), Q = () => {
378
+ s("update:inputValue", "");
379
+ }, w = () => {
380
+ i.value = i.value === "password" ? "text" : "password";
381
+ }, f = () => {
382
+ l.customEventRightButton ? s("onClickRightButton") : l.inputType === "password" ? w() : Q();
383
+ }, z = () => {
384
+ var L;
385
+ s("resetError"), p.value = !0, (L = o.value) == null || L.focus();
386
+ }, G = () => {
387
+ s("focusOut"), p.value = !1;
388
+ }, U = ze();
389
+ return (L, Y) => (n(), u("div", {
390
+ class: d(a(K).container)
391
+ }, [
392
+ a(U).label ? (n(), u("p", {
393
+ key: 0,
394
+ class: d([a(B), "input__label"])
395
+ }, [
396
+ q(L.$slots, "label")
397
+ ], 2)) : A("", !0),
398
+ e("div", {
399
+ class: d(["input__wrapper", [a(y), a(K).input]]),
400
+ tabindex: "0",
401
+ onFocusin: z,
402
+ onFocusout: G
403
+ }, [
404
+ l.iconName ? (n(), ne(O, {
405
+ key: 0,
406
+ class: d(a(K).shrink0),
407
+ "color-type": l.disabled ? "secondary" : "main",
408
+ "icon-name": l.iconName
409
+ }, null, 8, ["class", "color-type", "icon-name"])) : A("", !0),
410
+ X(e("input", {
411
+ tabindex: l.tabIndex,
412
+ ref_key: "inputRef",
413
+ ref: o,
414
+ style: { "pointer-events": "all" },
415
+ "onUpdate:modelValue": Y[0] || (Y[0] = (W) => Ve(m) ? m.value = W : null),
416
+ disabled: l.disabled,
417
+ name: l.inputName,
418
+ placeholder: l.placeholder,
419
+ type: i.value
420
+ }, null, 8, Ml), [
421
+ [Je, a(m)]
422
+ ]),
423
+ X(e("button", {
424
+ class: d(a(K).shrink0),
425
+ onClick: f
426
+ }, [
427
+ k(O, {
428
+ "color-type": "tertiary",
429
+ "icon-name": a(t)
430
+ }, null, 8, ["icon-name"])
431
+ ], 2), [
432
+ [ae, l.customEventRightButton && a(m).length !== 0]
433
+ ]),
434
+ X(e("button", {
435
+ class: d(a(K).shrink0),
436
+ onClick: f
437
+ }, [
438
+ k(O, {
439
+ "color-type": "tertiary",
440
+ "icon-name": a(t)
441
+ }, null, 8, ["icon-name"])
442
+ ], 2), [
443
+ [ae, !l.customEventRightButton && a(m).length !== 0 && !l.disabled]
444
+ ]),
445
+ a(x).display ? (n(), ne(O, {
446
+ key: 1,
447
+ class: d(a(K).shrink0),
448
+ "color-type": a(x).colorType,
449
+ "icon-name": a(x).icon
450
+ }, null, 8, ["class", "color-type", "icon-name"])) : A("", !0)
451
+ ], 34),
452
+ a(U).hint ? (n(), u("p", {
453
+ key: 1,
454
+ class: d([a(v), "input__hint"])
455
+ }, [
456
+ q(L.$slots, "hint")
457
+ ], 2)) : A("", !0)
458
+ ], 2));
459
+ }
460
+ }), Il = "_getblock_ui_dropdown_3s0v7_2", Tl = "dark", Nl = "_getblock_ui_dropdownFocused_3s0v7_6", Dl = "_getblock_ui_dropdownWrapper_3s0v7_11", jl = "_getblock_ui_dropdownFiltersWrapper_3s0v7_17", zl = "_getblock_ui_dropdownItemsListWrapper_3s0v7_21", El = "_getblock_ui_dropdownList_3s0v7_25", wl = "_getblock_ui_scrollTrack_3s0v7_33", Cl = "_getblock_ui_scrollTrackWithFilters_3s0v7_42", Al = "_getblock_ui_scrollBar_3s0v7_51", Sl = "_getblock_ui_dropdownListItem_3s0v7_73", Fl = "_getblock_ui_dropdownListItemText_3s0v7_77", Bl = "_getblock_ui_dropdownListSelectedItemText_3s0v7_81", Ll = "_getblock_ui_dropdownNotFoundListItem_3s0v7_85", Ol = "_getblock_ui_dropdownNotFoundListItemText_3s0v7_89", Ul = "_getblock_ui_dropdownSmall_3s0v7_95", $l = "_getblock_ui_dropdownMedium_3s0v7_99", Ql = "_getblock_ui_dropdownLarge_3s0v7_103", Gl = "_getblock_ui_dropdownFill_3s0v7_109", Yl = "_getblock_ui_dropdownFillDisabled_3s0v7_114", Pl = "_getblock_ui_dropdownOutline_3s0v7_122", Vl = "_getblock_ui_dropdownOutlineDisabled_3s0v7_127", Wl = "_getblock_ui_dropdownError_3s0v7_135", Rl = "_getblock_ui_hoveredChevron_3s0v7_142", Hl = "_getblock_ui_rotateChevron_3s0v7_150", Zl = "_getblock_ui_search_3s0v7_156", Xl = "_getblock_ui_placeholder_3s0v7_162", Jl = "_getblock_ui_placeholderWithoutText_3s0v7_166", P = {
461
+ dropdown: Il,
462
+ dark: Tl,
463
+ dropdownFocused: Nl,
464
+ dropdownWrapper: Dl,
465
+ dropdownFiltersWrapper: jl,
466
+ dropdownItemsListWrapper: zl,
467
+ dropdownList: El,
468
+ scrollTrack: wl,
469
+ scrollTrackWithFilters: Cl,
470
+ scrollBar: Al,
471
+ dropdownListItem: Sl,
472
+ dropdownListItemText: Fl,
473
+ dropdownListSelectedItemText: Bl,
474
+ dropdownNotFoundListItem: Ll,
475
+ dropdownNotFoundListItemText: Ol,
476
+ dropdownSmall: Ul,
477
+ dropdownMedium: $l,
478
+ dropdownLarge: Ql,
479
+ dropdownFill: Gl,
480
+ dropdownFillDisabled: Yl,
481
+ dropdownOutline: Pl,
482
+ dropdownOutlineDisabled: Vl,
483
+ dropdownError: Wl,
484
+ hoveredChevron: Rl,
485
+ rotateChevron: Hl,
486
+ search: Zl,
487
+ placeholder: Xl,
488
+ placeholderWithoutText: Jl
489
+ }, Kl = ["tabindex", "placeholder", "value"], ql = ["onClick", "onMouseenter"], ea = { class: "flex gap-2 items-center" }, He = /* @__PURE__ */ H({
490
+ __name: "Dropdown",
491
+ props: {
492
+ colorType: {
493
+ type: String,
494
+ default: "fill",
495
+ validator: (r) => ["fill", "outline"].indexOf(r) >= 0
496
+ },
497
+ colorTypeIcon: {
498
+ type: String,
499
+ default: "main",
500
+ validator: (r) => [
501
+ "none",
502
+ "main",
503
+ "secondary",
504
+ "tertiary",
505
+ "disable",
506
+ "action",
507
+ "tint-blue",
508
+ "attention",
509
+ "alert",
510
+ "success",
511
+ "color-bg",
512
+ "light-bg",
513
+ "default",
514
+ "accent-hover",
515
+ "tint-hover",
516
+ "attention-hover",
517
+ "error-hover"
518
+ ].indexOf(r) >= 0
519
+ },
520
+ disabled: {
521
+ type: Boolean,
522
+ default: !1
523
+ },
524
+ droplistResizable: {
525
+ type: Boolean,
526
+ default: !1
527
+ },
528
+ error: {
529
+ type: Boolean,
530
+ default: !1
531
+ },
532
+ isIconAlwaysSeen: {
533
+ type: Boolean,
534
+ default: !1
535
+ },
536
+ isNeededToFocus: {
537
+ type: Boolean,
538
+ default: !1
539
+ },
540
+ isWithSearch: {
541
+ type: Boolean,
542
+ default: !1
543
+ },
544
+ items: {
545
+ type: Array,
546
+ default: () => []
547
+ },
548
+ placeholder: {
549
+ type: Object,
550
+ default: () => ({
551
+ iconName: "",
552
+ value: "Default value",
553
+ text: "Default text"
554
+ })
555
+ },
556
+ selectedItem: {
557
+ type: Object,
558
+ default: () => ({})
559
+ },
560
+ sizeType: {
561
+ type: String,
562
+ default: "large",
563
+ validator: (r) => ["large", "medium", "small"].indexOf(r) >= 0
564
+ },
565
+ tabIndex: {
566
+ type: Number,
567
+ default: 0
568
+ }
569
+ },
570
+ emits: ["selectItem", "resetError"],
571
+ setup(r, { emit: s }) {
572
+ const l = r, x = ze(), o = _(!1), p = _(null), i = _(-1), m = _(null), t = _(null), y = _(null), v = _(!1), B = (g) => {
573
+ const N = m.value, $ = t.value, te = y.value, le = N.scrollTop / (N.scrollHeight - N.clientHeight);
574
+ te.style.transform = `translateY(${le * ($.clientHeight - 50)}px)`;
575
+ }, Q = (g) => {
576
+ const N = g.clientY, $ = m.value.scrollTop, te = y.value.offsetHeight, le = t.value.offsetHeight;
577
+ v.value = !0;
578
+ const J = (F) => {
579
+ const se = (F.clientY - N) / (le - te) * (m.value.scrollHeight - m.value.clientHeight);
580
+ m.value.scrollTop = $ + se;
581
+ }, j = () => {
582
+ document.removeEventListener("mousemove", J), document.removeEventListener("mouseup", j), v.value = !1;
583
+ };
584
+ document.addEventListener("mousemove", J), document.addEventListener("mouseup", j);
585
+ }, w = (g) => {
586
+ const N = t.value, $ = m.value, te = g.clientY - N.getBoundingClientRect().top, le = N.clientHeight, J = $.scrollHeight - $.clientHeight;
587
+ $.scrollTop = te / le * J;
588
+ };
589
+ Me(() => {
590
+ var g;
591
+ (g = m.value) == null || g.addEventListener("scroll", B);
592
+ });
593
+ const f = _(""), z = (g) => {
594
+ f.value = g.target.value;
595
+ }, G = M(() => l.isWithSearch ? l.items.filter(
596
+ (g) => g.value.toLowerCase().includes(f.value.toLowerCase()) || g.text.toLowerCase().includes(f.value.toLowerCase())
597
+ ) : l.items), U = M(() => ({
598
+ [P.dropdownSmall]: l.sizeType === "small",
599
+ [P.dropdownMedium]: l.sizeType === "medium",
600
+ [P.dropdownLarge]: l.sizeType === "large",
601
+ [P.dropdownFill]: l.colorType === "fill" && !o.value,
602
+ [P.dropdownOutline]: l.colorType === "outline" && !o.value,
603
+ [P.dropdownFillDisabled]: l.colorType === "fill" && l.disabled,
604
+ [P.dropdownOutlineDisabled]: l.colorType === "outline" && l.disabled,
605
+ [P.dropdownFocused]: o.value,
606
+ [P.dropdownError]: l.error
607
+ })), L = M(() => ({
608
+ "w-max": l.droplistResizable
609
+ })), Y = (g) => {
610
+ f.value = g.value, s("selectItem", g), i.value = -1, C();
611
+ }, W = M(() => l.disabled || !o.value ? "tertiary" : "main");
612
+ console.log("1111");
613
+ const I = () => {
614
+ var g, N;
615
+ v.value || (s("resetError"), o.value || ((g = p.value) == null || g.removeAttribute("readonly"), o.value = !0, f.value = "", i.value = -1, (N = p.value) == null || N.focus()));
616
+ }, C = () => {
617
+ var g;
618
+ o.value = !1, i.value = -1, (g = p.value) == null || g.setAttribute("readonly", "true");
619
+ }, D = (g) => {
620
+ g.key === "Enter" ? (g.preventDefault(), o.value && i.value >= 0 && i.value < G.value.length ? Y(G.value[i.value]) : o.value || (o.value = !0)) : g.key === "ArrowDown" ? (g.preventDefault(), o.value ? i.value < G.value.length - 1 && (i.value++, h()) : (o.value = !0, i.value = 0)) : g.key === "ArrowUp" && (g.preventDefault(), o.value && i.value > 0 && (i.value--, h()));
621
+ }, h = () => {
622
+ if (m.value && i.value >= 0) {
623
+ const g = m.value.children[i.value];
624
+ g && g.scrollIntoView({ block: "nearest", behavior: "smooth" });
625
+ }
626
+ };
627
+ return ie(
628
+ () => l.isNeededToFocus,
629
+ () => {
630
+ l.isNeededToFocus && I();
631
+ }
632
+ ), (g, N) => {
633
+ var $, te;
634
+ const le = We("click-outside");
635
+ return X((n(), u("div", {
636
+ tabindex: "0",
637
+ class: d([a(U), a(P).dropdown]),
638
+ onClick: I,
639
+ onKeydown: D
640
+ }, [
641
+ (($ = l.selectedItem) == null ? void 0 : $.iconName) && !o.value ? (n(), ne(O, {
642
+ key: 0,
643
+ "color-type": "default",
644
+ "size-type": "medium",
645
+ "icon-name": l.selectedItem.iconName
646
+ }, null, 8, ["icon-name"])) : ((te = l.selectedItem) == null ? void 0 : te.iconName) && r.isIconAlwaysSeen && o.value && !r.isWithSearch ? (n(), ne(O, {
647
+ key: 1,
648
+ "color-type": "default",
649
+ "size-type": "medium",
650
+ "icon-name": l.selectedItem.iconName
651
+ }, null, 8, ["icon-name"])) : q(g.$slots, "left-icon", { key: 2 }),
652
+ r.isWithSearch ? (n(), u(T, { key: 3 }, [
653
+ e("input", {
654
+ tabindex: l.tabIndex,
655
+ ref_key: "dropdownInput",
656
+ ref: p,
657
+ readonly: "",
658
+ class: d(a(P).search),
659
+ placeholder: l.placeholder.value,
660
+ value: o.value ? f.value : l.selectedItem.text,
661
+ onInput: z
662
+ }, null, 42, Kl),
663
+ o.value ? A("", !0) : q(g.$slots, "selected-right", { key: 0 })
664
+ ], 64)) : (n(), u(T, { key: 4 }, [
665
+ e("p", {
666
+ class: d(["dropdown-placeholder", [a(P).placeholder, l.selectedItem.text ? "" : a(P).placeholderWithoutText]])
667
+ }, c(l.selectedItem.text ? l.selectedItem.text : l.placeholder.text), 3),
668
+ q(g.$slots, "selected-right")
669
+ ], 64)),
670
+ X(e("div", {
671
+ class: d([a(P).dropdownWrapper, a(L)])
672
+ }, [
673
+ a(G).length > 0 && a(x).filters ? (n(), u("div", {
674
+ key: 0,
675
+ class: d([a(P).dropdownFiltersWrapper])
676
+ }, [
677
+ q(g.$slots, "filters")
678
+ ], 2)) : A("", !0),
679
+ X(e("div", {
680
+ class: d([a(P).dropdownItemsListWrapper])
681
+ }, [
682
+ a(G).length > 0 ? (n(), u(T, { key: 0 }, [
683
+ e("div", {
684
+ class: d([a(P).dropdownList, { "w-[97%]": a(G).length > 4 }]),
685
+ ref_key: "dropdownContent",
686
+ ref: m
687
+ }, [
688
+ (n(!0), u(T, null, E(a(G), (J, j) => (n(), u("div", {
689
+ key: `${J.value}_${j}`,
690
+ class: d(["flex items-center justify-between dropdown-item", [a(P).dropdownListItem, { "bg-gray-100": i.value === j }]]),
691
+ onClick: ge((F) => Y(J), ["stop"]),
692
+ onMouseenter: (F) => i.value = j
693
+ }, [
694
+ e("div", ea, [
695
+ J.iconName ? (n(), ne(O, {
696
+ key: 0,
697
+ "size-type": "medium",
698
+ "color-type": r.colorTypeIcon,
699
+ "icon-name": J.iconName
700
+ }, null, 8, ["color-type", "icon-name"])) : A("", !0),
701
+ e("p", {
702
+ class: d([
703
+ a(P).dropdownListItemText,
704
+ J.value === l.selectedItem.value ? a(P).dropdownListSelectedItemText : ""
705
+ ])
706
+ }, c(J.text), 3)
707
+ ]),
708
+ q(g.$slots, "right", {
709
+ item: J,
710
+ index: j
711
+ })
712
+ ], 42, ql))), 128))
713
+ ], 2),
714
+ a(G).length > 4 ? (n(), u("div", {
715
+ key: 0,
716
+ class: d(a(x).filters ? a(P).scrollTrackWithFilters : a(P).scrollTrack),
717
+ ref_key: "scrollBar",
718
+ ref: t,
719
+ onClick: w
720
+ }, [
721
+ e("div", {
722
+ class: d(a(P).scrollBar),
723
+ ref_key: "thumb",
724
+ ref: y,
725
+ onMousedown: Q
726
+ }, null, 34)
727
+ ], 2)) : A("", !0)
728
+ ], 64)) : (n(), u("div", {
729
+ key: 1,
730
+ class: d(a(P).dropdownNotFoundListItem),
731
+ onClick: N[0] || (N[0] = ge(() => {
732
+ }, ["stop"]))
733
+ }, [
734
+ e("p", {
735
+ class: d(a(P).dropdownNotFoundListItemText)
736
+ }, "No results", 2)
737
+ ], 2))
738
+ ], 2), [
739
+ [ae, o.value]
740
+ ])
741
+ ], 2), [
742
+ [ae, o.value]
743
+ ]),
744
+ k(O, {
745
+ class: d(["transition", [l.disabled ? "" : a(P).hoveredChevron, o.value ? a(P).rotateChevron : ""]]),
746
+ "icon-name": "chevron-down",
747
+ "size-type": "medium",
748
+ "color-type": a(W)
749
+ }, null, 8, ["class", "color-type"])
750
+ ], 34)), [
751
+ [le, C]
752
+ ]);
753
+ };
754
+ }
755
+ }), ta = "_getblock_ui_checkbox_8mm7t_2", la = "dark", aa = "_getblock_ui_isRounded_8mm7t_11", oa = "_getblock_ui_isOpener_8mm7t_16", na = "_getblock_ui_checkboxActive_8mm7t_26", sa = "_getblock_ui_checkboxDisabled_8mm7t_31", ia = "_getblock_ui_checkboxCheckedDisabled_8mm7t_35", ca = "_getblock_ui_isMasterDisabled_8mm7t_41", ua = "_getblock_ui_iconFilter_8mm7t_47", de = {
756
+ checkbox: ta,
757
+ dark: la,
758
+ isRounded: aa,
759
+ isOpener: oa,
760
+ checkboxActive: na,
761
+ checkboxDisabled: sa,
762
+ checkboxCheckedDisabled: ia,
763
+ isMasterDisabled: ca,
764
+ iconFilter: ua
765
+ }, ra = ["id", "checked", "disabled", "value"], $e = /* @__PURE__ */ H({
766
+ __name: "Checkbox",
767
+ props: {
768
+ isMaster: {
769
+ type: Boolean,
770
+ default: !1
771
+ },
772
+ isRounded: {
773
+ type: Boolean,
774
+ default: !1
775
+ },
776
+ checked: {
777
+ type: Boolean,
778
+ default: !1
779
+ },
780
+ disabled: {
781
+ type: Boolean,
782
+ default: !1
783
+ },
784
+ allChecked: {
785
+ type: Boolean,
786
+ default: !1
787
+ },
788
+ id: {
789
+ type: String,
790
+ default: ""
791
+ },
792
+ value: {
793
+ type: String,
794
+ default: ""
795
+ }
796
+ },
797
+ emits: ["change"],
798
+ setup(r, { emit: s }) {
799
+ const l = r, x = {
800
+ id: l.id,
801
+ checked: l.checked
802
+ }, o = () => {
803
+ s("change", x);
804
+ }, p = M(() => l.isMaster ? l.allChecked ? "check_v1" : "minus" : l.checked ? "check_v1" : "minus"), i = M(() => ({
805
+ [de.iconFilter]: !l.checked && !l.isMaster
806
+ })), m = M(() => ({
807
+ [de.checkbox]: !l.isMaster,
808
+ [de.checkboxActive]: l.checked && !l.isMaster,
809
+ [de.checkboxDisabled]: !l.checked && l.disabled && !l.isMaster,
810
+ [de.checkboxCheckedDisabled]: l.checked && l.disabled && !l.isMaster,
811
+ [de.isOpener]: l.isMaster,
812
+ [de.isMasterDisabled]: l.isMaster && l.disabled,
813
+ [de.isRounded]: l.isRounded
814
+ }));
815
+ return (t, y) => (n(), u("label", {
816
+ class: d(a(m))
817
+ }, [
818
+ e("input", {
819
+ type: "checkbox",
820
+ id: l.id,
821
+ checked: l.checked,
822
+ disabled: l.disabled,
823
+ value: l.value,
824
+ onChange: o
825
+ }, null, 40, ra),
826
+ k(O, {
827
+ "icon-name": a(p),
828
+ class: d(a(i)),
829
+ "color-type": "color-bg",
830
+ "size-type": "xs"
831
+ }, null, 8, ["icon-name", "class"])
832
+ ], 2));
833
+ }
834
+ }), Qe = /* @__PURE__ */ H({
835
+ __name: "Tooltip",
836
+ props: {
837
+ horizontalPosition: {
838
+ type: String,
839
+ default: "center"
840
+ },
841
+ verticalPosition: {
842
+ type: String,
843
+ default: "top"
844
+ }
845
+ },
846
+ setup(r) {
847
+ const s = r, l = _(null), x = _(null), o = _(!1), p = _(!1), i = _({ top: "0px", left: "0px" }), m = async () => {
848
+ o.value = !0, await tt();
849
+ const w = l.value, f = x.value, z = w.getBoundingClientRect(), G = 8, U = s.verticalPosition === "top" ? z.top - f.offsetHeight - G : z.bottom + G, L = z.left + z.width / 2, Y = s.horizontalPosition === "left" ? L - f.offsetWidth : s.horizontalPosition === "right" ? L : L - f.offsetWidth / 2;
850
+ i.value = {
851
+ top: `${U}px`,
852
+ left: `${Y}px`
853
+ };
854
+ }, t = () => {
855
+ setTimeout(() => {
856
+ p.value || (o.value = !1);
857
+ }, 100);
858
+ }, y = () => {
859
+ p.value = !0, m();
860
+ }, v = () => {
861
+ p.value = !1, t();
862
+ }, B = () => {
863
+ p.value = !0;
864
+ }, Q = () => {
865
+ p.value = !1, t();
866
+ };
867
+ return Ke(() => {
868
+ o.value = !1;
869
+ }), (w, f) => (n(), u("div", {
870
+ ref_key: "triggerRef",
871
+ ref: l,
872
+ class: "cursor-help relative z-[5] w-fit",
873
+ onMouseenter: y,
874
+ onMouseleave: v
875
+ }, [
876
+ q(w.$slots, "tooltip-component"),
877
+ (n(), ne(qe, { to: "body" }, [
878
+ o.value ? (n(), u("div", {
879
+ key: 0,
880
+ ref_key: "tooltipRef",
881
+ ref: x,
882
+ class: "z-50 fixed tooltip-shadow bg-surface-base dark:bg-surface-dark-base text-xs leading-5 text-text-main dark:text-text-dark-main py-3 px-3 rounded-lg",
883
+ style: Ee(i.value),
884
+ onMouseenter: B,
885
+ onMouseleave: Q
886
+ }, [
887
+ q(w.$slots, "tooltip-body")
888
+ ], 36)) : A("", !0)
889
+ ]))
890
+ ], 544));
891
+ }
892
+ }), da = "_getblock_ui_textarea_1k8rw_2", pa = "dark", ga = "_getblock_ui_textareaResizeButton_1k8rw_13", xa = "_getblock_ui_textareaFocus_1k8rw_17", ma = "_getblock_ui_container_1k8rw_26", va = "_getblock_ui_labelContainer_1k8rw_32", ha = "_getblock_ui_labelText_1k8rw_36", ka = "_getblock_ui_input_1k8rw_42", _a = "_getblock_ui_textareaFill_1k8rw_48", ya = "_getblock_ui_textareaOutline_1k8rw_58", ba = "_getblock_ui_textareaDisabled_1k8rw_67", fa = "_getblock_ui_textareaLabelDisabled_1k8rw_74", Ma = "_getblock_ui_textareaError_1k8rw_80", Ia = "_getblock_ui_textareaHintError_1k8rw_84", Ta = "_getblock_ui_textareaHint_1k8rw_84", Na = "_getblock_ui_textareaLabel_1k8rw_74", oe = {
893
+ textarea: da,
894
+ dark: pa,
895
+ textareaResizeButton: ga,
896
+ textareaFocus: xa,
897
+ container: ma,
898
+ labelContainer: va,
899
+ labelText: ha,
900
+ input: ka,
901
+ textareaFill: _a,
902
+ textareaOutline: ya,
903
+ textareaDisabled: ba,
904
+ textareaLabelDisabled: fa,
905
+ textareaError: Ma,
906
+ textareaHintError: Ia,
907
+ textareaHint: Ta,
908
+ textareaLabel: Na
909
+ }, Da = ["disabled", "maxlength", "name", "placeholder"], Ce = /* @__PURE__ */ H({
910
+ __name: "TextArea",
911
+ props: {
912
+ disabled: {
913
+ type: Boolean,
914
+ default: !1
915
+ },
916
+ error: {
917
+ type: Boolean,
918
+ default: !1
919
+ },
920
+ placeholder: {
921
+ type: String,
922
+ default: ""
923
+ },
924
+ inputName: {
925
+ type: String,
926
+ required: !0
927
+ },
928
+ inputValue: {
929
+ type: String,
930
+ required: !0
931
+ },
932
+ colorType: {
933
+ type: String,
934
+ default: "fill",
935
+ validator: (r) => ["fill", "outline"].indexOf(r) >= 0
936
+ }
937
+ },
938
+ emits: ["update:inputValue", "resetError"],
939
+ setup(r, { emit: s }) {
940
+ const l = r, x = _(null), o = _(!1), p = _(300), i = M({
941
+ get() {
942
+ return l.inputValue;
943
+ },
944
+ set(w) {
945
+ s("update:inputValue", w);
946
+ }
947
+ }), m = M(() => ({
948
+ [oe.textareaError]: l.error,
949
+ [oe.textareaDisabled]: l.disabled,
950
+ [oe.textareaFocus]: o.value,
951
+ [oe.textareaFill]: l.colorType === "fill" && !o.value,
952
+ [oe.textareaOutline]: l.colorType === "outline" && !o.value
953
+ })), t = M(() => ({
954
+ [oe.textareaHint]: !l.error,
955
+ [oe.textareaHintError]: l.error
956
+ })), y = M(() => ({
957
+ [oe.textareaLabel]: !0,
958
+ [oe.textareaLabelDisabled]: l.disabled
959
+ })), v = () => {
960
+ var w;
961
+ s("resetError"), o.value = !0, (w = x.value) == null || w.focus();
962
+ }, B = () => {
963
+ o.value = !1;
964
+ }, Q = ze();
965
+ return (w, f) => (n(), u("div", {
966
+ class: d(a(oe).container)
967
+ }, [
968
+ a(Q).label ? (n(), u("div", {
969
+ key: 0,
970
+ class: d(a(oe).labelContainer)
971
+ }, [
972
+ e("p", {
973
+ class: d(a(y))
974
+ }, [
975
+ q(w.$slots, "label")
976
+ ], 2),
977
+ e("p", {
978
+ class: d(a(oe).labelText)
979
+ }, c(a(i).length) + "/" + c(p.value), 3)
980
+ ], 2)) : A("", !0),
981
+ e("div", {
982
+ tabindex: "0",
983
+ class: d([a(m), a(oe).textarea]),
984
+ onFocusin: v,
985
+ onFocusout: B
986
+ }, [
987
+ X(e("textarea", {
988
+ ref_key: "inputRef",
989
+ ref: x,
990
+ "onUpdate:modelValue": f[0] || (f[0] = (z) => Ve(i) ? i.value = z : null),
991
+ class: d(a(oe).input),
992
+ disabled: l.disabled,
993
+ maxlength: p.value,
994
+ name: l.inputName,
995
+ placeholder: l.placeholder
996
+ }, null, 10, Da), [
997
+ [et, a(i)]
998
+ ]),
999
+ e("div", {
1000
+ class: d(a(oe).textareaResizeButton)
1001
+ }, [
1002
+ k(O, {
1003
+ "color-type": "secondary",
1004
+ "icon-name": "scale-04",
1005
+ "size-type": "large"
1006
+ })
1007
+ ], 2)
1008
+ ], 34),
1009
+ a(Q).hint ? (n(), u("p", {
1010
+ key: 1,
1011
+ class: d(a(t))
1012
+ }, [
1013
+ q(w.$slots, "hint")
1014
+ ], 2)) : A("", !0)
1015
+ ], 2));
1016
+ }
1017
+ }), ja = "_getblock_ui_toggle_1ykvb_1", za = "dark", Ea = "_getblock_ui_toggleActive_1ykvb_19", wa = "_getblock_ui_toggleNotSelectedDisabled_1ykvb_24", Ca = "_getblock_ui_toggleSelectedDisabled_1ykvb_28", ye = {
1018
+ toggle: ja,
1019
+ dark: za,
1020
+ toggleActive: Ea,
1021
+ toggleNotSelectedDisabled: wa,
1022
+ toggleSelectedDisabled: Ca
1023
+ }, Aa = ["disabled", "checked"], Sa = /* @__PURE__ */ e("span", null, null, -1), De = /* @__PURE__ */ H({
1024
+ __name: "Toggle",
1025
+ props: {
1026
+ disabled: {
1027
+ type: Boolean,
1028
+ default: !1
1029
+ },
1030
+ selected: {
1031
+ type: Boolean,
1032
+ default: !1
1033
+ }
1034
+ },
1035
+ emits: ["changeSelected"],
1036
+ setup(r, { emit: s }) {
1037
+ const l = r, x = M(() => ({
1038
+ [ye.toggle]: !0,
1039
+ [ye.toggleActive]: l.selected,
1040
+ [ye.toggleSelectedDisabled]: l.selected && l.disabled,
1041
+ [ye.toggleNotSelectedDisabled]: !l.selected && l.disabled
1042
+ })), o = () => s("changeSelected");
1043
+ return (p, i) => (n(), u("label", {
1044
+ class: d(a(x))
1045
+ }, [
1046
+ e("input", {
1047
+ type: "checkbox",
1048
+ disabled: l.disabled,
1049
+ checked: r.selected,
1050
+ onChange: o
1051
+ }, null, 40, Aa),
1052
+ Sa
1053
+ ], 2));
1054
+ }
1055
+ }), Fa = "_getblock_ui_tabBarContainer_12dgf_2", Ba = "dark", La = "_getblock_ui_tabBarItem_12dgf_7", Oa = "_getblock_ui_tabBarItemStretched_12dgf_11", Ua = "_getblock_ui_tabBarSelected_12dgf_17", $a = "_getblock_ui_tabBarNotSelected_12dgf_29", Qa = "_getblock_ui_tabBarSelectedDisabled_12dgf_41", Ga = "_getblock_ui_tabBarNotSelectedDisabled_12dgf_42", xe = {
1056
+ tabBarContainer: Fa,
1057
+ dark: Ba,
1058
+ tabBarItem: La,
1059
+ tabBarItemStretched: Oa,
1060
+ tabBarSelected: Ua,
1061
+ tabBarNotSelected: $a,
1062
+ tabBarSelectedDisabled: Qa,
1063
+ tabBarNotSelectedDisabled: Ga
1064
+ }, Ya = ["onClick"], Pa = { class: "ml-[6px]" }, Va = /* @__PURE__ */ H({
1065
+ __name: "TabBar",
1066
+ props: {
1067
+ selectedItem: {
1068
+ type: Object,
1069
+ required: !0
1070
+ },
1071
+ stretched: {
1072
+ type: Boolean,
1073
+ default: !1
1074
+ },
1075
+ tabItems: {
1076
+ type: Object,
1077
+ required: !0
1078
+ },
1079
+ iconsAndText: {
1080
+ type: Boolean,
1081
+ default: !1
1082
+ }
1083
+ },
1084
+ emits: ["changeSelectedItem"],
1085
+ setup(r, { emit: s }) {
1086
+ const l = r, x = (o) => {
1087
+ o.value !== l.selectedItem.value && s("changeSelectedItem", o);
1088
+ };
1089
+ return (o, p) => (n(), u("div", {
1090
+ class: d([a(xe).tabBarContainer, l.stretched ? "w-full" : "max-w-max"])
1091
+ }, [
1092
+ (n(!0), u(T, null, E(r.tabItems, (i) => (n(), u("div", {
1093
+ key: i.value,
1094
+ class: d([
1095
+ a(xe).tabBarItem,
1096
+ l.selectedItem.value === i.value ? a(xe).tabBarSelected : a(xe).tabBarNotSelected,
1097
+ { [a(xe).tabBarSelectedDisabled]: l.selectedItem.value === i.value && i.disabled },
1098
+ { [a(xe).tabBarNotSelectedDisabled]: l.selectedItem.value !== i.value && i.disabled },
1099
+ { [a(xe).tabBarItemStretched]: l.stretched }
1100
+ ]),
1101
+ onClick: (m) => x(i)
1102
+ }, [
1103
+ !i.iconName && !r.iconsAndText ? (n(), u(T, { key: 0 }, [
1104
+ ce(c(i.text), 1)
1105
+ ], 64)) : i.iconName && !r.iconsAndText ? (n(), ne(O, {
1106
+ key: 1,
1107
+ "icon-name": i.iconName
1108
+ }, null, 8, ["icon-name"])) : A("", !0),
1109
+ i.iconName && r.iconsAndText ? (n(), u(T, { key: 2 }, [
1110
+ k(O, {
1111
+ "icon-name": i.iconName
1112
+ }, null, 8, ["icon-name"]),
1113
+ e("span", Pa, c(i.text), 1)
1114
+ ], 64)) : A("", !0),
1115
+ q(o.$slots, i.value)
1116
+ ], 10, Ya))), 128))
1117
+ ], 2));
1118
+ }
1119
+ }), Wa = "_getblock_ui_customLoader_1pxz6_2", Ra = "_getblock_ui_spin_1pxz6_1", Ha = "_getblock_ui_customHelper_first_1pxz6_6", Za = "_getblock_ui_customHelper_second_1pxz6_14", Xa = "_getblock_ui_customLoaderAccent_1pxz6_24", Ja = "dark", Ka = "_getblock_ui_customLoaderAccentHelper_1pxz6_29", qa = "_getblock_ui_customLoaderTint_1pxz6_34", eo = "_getblock_ui_customLoaderTintHelper_1pxz6_39", to = "_getblock_ui_customLoaderOutline_1pxz6_44", lo = "_getblock_ui_customLoaderOutlineHelper_1pxz6_49", ue = {
1120
+ customLoader: Wa,
1121
+ spin: Ra,
1122
+ customHelper_first: Ha,
1123
+ customHelper_second: Za,
1124
+ customLoaderAccent: Xa,
1125
+ dark: Ja,
1126
+ customLoaderAccentHelper: Ka,
1127
+ customLoaderTint: qa,
1128
+ customLoaderTintHelper: eo,
1129
+ customLoaderOutline: to,
1130
+ customLoaderOutlineHelper: lo
1131
+ }, Ae = /* @__PURE__ */ H({
1132
+ __name: "CustomLoader",
1133
+ props: {
1134
+ colorType: {
1135
+ type: String,
1136
+ default: "accent",
1137
+ validator: (r) => ["accent", "tint", "outline"].indexOf(r) >= 0
1138
+ }
1139
+ },
1140
+ setup(r) {
1141
+ const s = r, l = M(() => ({
1142
+ [ue.customLoaderAccent]: s.colorType === "accent",
1143
+ [ue.customLoaderTint]: s.colorType === "tint",
1144
+ [ue.customLoaderOutline]: s.colorType === "outline"
1145
+ })), x = M(() => ({
1146
+ [ue.customLoaderAccentHelper]: s.colorType === "accent",
1147
+ [ue.customLoaderTintHelper]: s.colorType === "tint",
1148
+ [ue.customLoaderOutlineHelper]: s.colorType === "outline"
1149
+ }));
1150
+ return (o, p) => (n(), u("div", {
1151
+ class: d([a(l), a(ue).customLoader])
1152
+ }, [
1153
+ e("div", {
1154
+ class: d([a(ue).customHelper_first, a(x)])
1155
+ }, null, 2),
1156
+ e("div", {
1157
+ class: d([a(ue).customHelper_second, a(x)])
1158
+ }, null, 2)
1159
+ ], 2));
1160
+ }
1161
+ }), ao = "_getblock_ui_rotateChevron_1li6h_1", oo = {
1162
+ rotateChevron: ao
1163
+ }, no = { class: "relative" }, so = { class: "text-sm font-medium text-text-main dark:text-text-dark-main truncate" }, io = {
1164
+ key: 0,
1165
+ class: "ml-auto text-sm font-medium text-text-secondary dark:text-text-dark-secondary uppercase"
1166
+ }, co = { class: "flex gap-3 p-3 items-center" }, uo = { class: "text-sm font-medium text-text-main dark:text-text-dark-main" }, ro = /* @__PURE__ */ H({
1167
+ __name: "Dropdown",
1168
+ props: {
1169
+ items: {
1170
+ type: Array,
1171
+ default: () => []
1172
+ },
1173
+ placeholder: {
1174
+ type: String,
1175
+ default: ""
1176
+ },
1177
+ locale: {
1178
+ type: String,
1179
+ default: "en"
1180
+ },
1181
+ updateSignal: {
1182
+ type: Boolean,
1183
+ default: !1
1184
+ }
1185
+ },
1186
+ setup(r, { expose: s }) {
1187
+ const l = r, x = {
1188
+ en: {
1189
+ button: "Clear",
1190
+ other: "Other",
1191
+ inputPlaceholder: "Search"
1192
+ },
1193
+ cn: {
1194
+ button: "\u6E05\u9664",
1195
+ other: "\u5176\u4ED6",
1196
+ inputPlaceholder: "\u641C\u7D22"
1197
+ }
1198
+ }, o = _(!1), p = _(""), i = _(!1), m = _([]), t = _(!1), y = _(null), v = M(() => o.value ? "main" : "tertiary"), B = M(() => l.items.filter(
1199
+ (h) => h.value.toLowerCase().includes(p.value.toLowerCase()) || h.generalText.toLowerCase().includes(p.value.toLowerCase()) || h.additionalText.toLowerCase().includes(p.value.toLowerCase())
1200
+ )), Q = (h) => {
1201
+ i.value && (i.value = !1, m.value = []);
1202
+ for (const g of B.value)
1203
+ if (g.value === h.id) {
1204
+ g.checked = !g.checked, g.checked ? m.value.push(g.generalText) : m.value = m.value.filter((N) => N !== g.generalText);
1205
+ break;
1206
+ }
1207
+ }, w = () => {
1208
+ m.value = [], l.items.map((h) => {
1209
+ h.checked && (h.checked = !1);
1210
+ }), i.value && (i.value = !1);
1211
+ }, f = () => {
1212
+ w(), i.value = !i.value, m.value.push(
1213
+ x[l.locale].other[0].toUpperCase() + x[l.locale].other.slice(1, x[l.locale].other.length)
1214
+ );
1215
+ }, z = () => {
1216
+ o.value = !o.value;
1217
+ }, G = () => {
1218
+ t.value || (o.value = !1);
1219
+ };
1220
+ s({
1221
+ selectedItems: m
1222
+ }), ie(
1223
+ () => l.updateSignal,
1224
+ () => {
1225
+ o.value || (t.value = !0, y.value = setTimeout(() => {
1226
+ t.value = !1;
1227
+ }, 0), o.value = !0);
1228
+ }
1229
+ ), we(() => {
1230
+ y.value && clearTimeout(y.value);
1231
+ });
1232
+ const U = _(null), L = _(null), Y = _(null), W = _(!1), I = (h) => {
1233
+ const g = U.value, N = L.value, $ = Y.value, te = g.scrollTop / (g.scrollHeight - g.clientHeight);
1234
+ $.style.transform = `translateY(${te * (N.clientHeight - 40)}px)`;
1235
+ }, C = (h) => {
1236
+ const g = h.clientY, N = U.value.scrollTop, $ = Y.value.offsetHeight, te = L.value.offsetHeight;
1237
+ W.value = !0;
1238
+ const le = (j) => {
1239
+ const F = (j.clientY - g) / (te - $) * (U.value.scrollHeight - U.value.clientHeight);
1240
+ U.value.scrollTop = N + F;
1241
+ }, J = () => {
1242
+ document.removeEventListener("mousemove", le), document.removeEventListener("mouseup", J), W.value = !1;
1243
+ };
1244
+ document.addEventListener("mousemove", le), document.addEventListener("mouseup", J);
1245
+ }, D = (h) => {
1246
+ const g = L.value, N = U.value, $ = h.clientY - g.getBoundingClientRect().top, te = g.clientHeight, le = N.scrollHeight - N.clientHeight;
1247
+ N.scrollTop = $ / te * le;
1248
+ };
1249
+ return Me(() => {
1250
+ var h;
1251
+ (h = U.value) == null || h.addEventListener("scroll", I);
1252
+ }), (h, g) => {
1253
+ const N = We("click-outside");
1254
+ return X((n(), u("div", {
1255
+ tabindex: "0",
1256
+ onClick: z,
1257
+ class: d([
1258
+ o.value ? "border-border-focus dark:border-border-dark-focus" : "border-surface-additional dark:border-surface-dark-additional dark:hover:border-border-dark-focus hover:border-border-focus",
1259
+ "flex items-center gap-3 px-4 py-3 w-full rounded-16 border-2 cursor-pointer relative"
1260
+ ])
1261
+ }, [
1262
+ k(O, {
1263
+ "color-type": "main",
1264
+ "size-type": "medium",
1265
+ "icon-name": "cube-01"
1266
+ }),
1267
+ e("span", {
1268
+ id: "generalSpan",
1269
+ class: d([
1270
+ "font-medium leading-5 truncate",
1271
+ m.value.length === 0 ? "text-text-secondary dark:text-text-dark-secondary" : "text-text-main dark:text-text-dark-main"
1272
+ ])
1273
+ }, c(m.value.length === 0 ? r.placeholder : m.value.join(",")), 3),
1274
+ X(e("div", {
1275
+ onClick: g[1] || (g[1] = ge(() => {
1276
+ }, ["stop"])),
1277
+ class: "flex flex-col gap-2 p-1.5 w-full absolute left-0 right-0 test rounded-16 bg-bg-base dark:bg-bg-dark-base cursor-default"
1278
+ }, [
1279
+ k(pe, {
1280
+ "input-value": p.value,
1281
+ "onUpdate:inputValue": g[0] || (g[0] = ($) => p.value = $),
1282
+ placeholder: x[l.locale].inputPlaceholder,
1283
+ "icon-name": "search-md",
1284
+ "right-icon-name": "x-close",
1285
+ "size-type": "medium",
1286
+ "input-name": "search"
1287
+ }, null, 8, ["input-value", "placeholder"]),
1288
+ e("div", no, [
1289
+ e("div", {
1290
+ class: "overflow-auto max-h-[120px] content",
1291
+ ref_key: "dropdownContent",
1292
+ ref: U
1293
+ }, [
1294
+ (n(!0), u(T, null, E(a(B), ($) => (n(), u("div", {
1295
+ key: $.value,
1296
+ class: d(["flex gap-3 p-3 items-center", { "pr-6": a(B).length >= 2 }])
1297
+ }, [
1298
+ k($e, {
1299
+ checked: $.checked,
1300
+ id: $.value,
1301
+ value: $.value,
1302
+ onChange: Q
1303
+ }, null, 8, ["checked", "id", "value"]),
1304
+ e("span", so, c($.generalText), 1),
1305
+ $.additionalText ? (n(), u("span", io, c($.additionalText), 1)) : A("", !0)
1306
+ ], 2))), 128)),
1307
+ e("div", co, [
1308
+ k($e, {
1309
+ checked: i.value,
1310
+ id: "other",
1311
+ value: "other",
1312
+ onChange: f
1313
+ }, null, 8, ["checked"]),
1314
+ e("span", uo, c(x[l.locale].other), 1)
1315
+ ])
1316
+ ], 512),
1317
+ a(B).length >= 2 ? (n(), u("div", {
1318
+ key: 0,
1319
+ class: "absolute right-1 top-0 h-full w-[10px]",
1320
+ ref_key: "scrollBar",
1321
+ ref: L,
1322
+ onClick: D
1323
+ }, [
1324
+ e("div", {
1325
+ class: "bg-[#cecece] w-[5px] h-[30px] rounded-[50px] cursor-pointer",
1326
+ ref_key: "thumb",
1327
+ ref: Y,
1328
+ onMousedown: C
1329
+ }, null, 544)
1330
+ ], 512)) : A("", !0)
1331
+ ])
1332
+ ], 512), [
1333
+ [ae, o.value]
1334
+ ]),
1335
+ k(O, {
1336
+ class: d(["transition ml-auto", [o.value ? a(oo).rotateChevron : ""]]),
1337
+ "icon-name": "chevron-down",
1338
+ "size-type": "medium",
1339
+ "color-type": a(v)
1340
+ }, null, 8, ["class", "color-type"])
1341
+ ], 2)), [
1342
+ [N, G]
1343
+ ]);
1344
+ };
1345
+ }
1346
+ }), Ze = (r, s) => {
1347
+ const l = r.__vccOpts || r;
1348
+ for (const [x, o] of s)
1349
+ l[x] = o;
1350
+ return l;
1351
+ }, po = /* @__PURE__ */ Ze(ro, [["__scopeId", "data-v-cf207b61"]]), go = { class: "slider-container" }, xo = { class: "flex justify-between items-center w-full" }, mo = { class: "slider-label gb-text-text-main" }, vo = { class: "slider-wrapper" }, ho = { class: "relative w-full max-h-[28px]" }, ko = ["max", "value"], _o = { class: "slider-dots" }, yo = { class: "slider-marks" }, bo = /* @__PURE__ */ H({
1352
+ __name: "Range",
1353
+ props: {
1354
+ marks: null,
1355
+ values: null,
1356
+ value: null,
1357
+ color: { default: "blue" },
1358
+ label: { default: "" }
1359
+ },
1360
+ emits: ["update:value"],
1361
+ setup(r, { emit: s }) {
1362
+ const l = r;
1363
+ Re((t) => ({
1364
+ "9be73400": a(p)
1365
+ }));
1366
+ const x = _(1), o = M(() => typeof document < "u" ? document.getElementsByTagName("html")[0].classList.contains("dark") : !1), p = M(() => {
1367
+ if (o.value) {
1368
+ if (l.color === "dark")
1369
+ return "#85858c";
1370
+ if (l.color === "blue")
1371
+ return "#3385FF";
1372
+ } else {
1373
+ if (l.color === "dark")
1374
+ return "#1E1E1F";
1375
+ if (l.color === "blue")
1376
+ return "#2772F5";
1377
+ }
1378
+ return "#2772F5";
1379
+ }), i = M(
1380
+ () => l.values[x.value] >= 1e6 ? new Intl.NumberFormat("en", { notation: "compact" }).format(l.values[x.value]) : l.values[x.value]
1381
+ );
1382
+ ie(
1383
+ () => l.value,
1384
+ (t) => {
1385
+ const y = l.values.findIndex((v) => v === t);
1386
+ x.value = y !== -1 ? y : 0;
1387
+ },
1388
+ { immediate: !0 }
1389
+ );
1390
+ const m = (t) => {
1391
+ const y = t.target;
1392
+ s("update:value", l.values[Number(y.value)]);
1393
+ };
1394
+ return (t, y) => (n(), u("div", go, [
1395
+ e("div", xo, [
1396
+ e("p", mo, c(r.label), 1),
1397
+ e("p", {
1398
+ class: "font-bold",
1399
+ style: Ee({ color: a(p) })
1400
+ }, c(a(i)), 5)
1401
+ ]),
1402
+ e("div", vo, [
1403
+ e("div", ho, [
1404
+ e("input", {
1405
+ type: "range",
1406
+ min: 0,
1407
+ max: r.values.length - 1,
1408
+ step: "1",
1409
+ value: x.value,
1410
+ class: "slider",
1411
+ onInput: m
1412
+ }, null, 40, ko),
1413
+ e("div", _o, [
1414
+ (n(!0), u(T, null, E(r.marks, (v) => (n(), u("div", {
1415
+ key: v,
1416
+ class: d(["dot", [{ "!bg-[#DEDFE0]": r.value < Number(v) }]])
1417
+ }, null, 2))), 128))
1418
+ ])
1419
+ ]),
1420
+ e("div", yo, [
1421
+ (n(!0), u(T, null, E(r.marks, (v) => (n(), u("span", {
1422
+ key: v,
1423
+ class: "slider-mark"
1424
+ }, c(v), 1))), 128))
1425
+ ])
1426
+ ])
1427
+ ]));
1428
+ }
1429
+ }), fo = /* @__PURE__ */ Ze(bo, [["__scopeId", "data-v-3f4a2f2f"]]), Mo = { class: "flex flex-col gap-6" }, Io = { class: "flex justify-between items-start" }, To = { class: "font-bold text-[28px] max-w-[260px] leading-9 text-text-main dark:text-text-dark-main" }, No = { class: "flex gap-2" }, Do = ["src"], jo = { class: "flex gap-6 mt-12 xs:flex-col" }, zo = { class: "font-bold text-xs text-text-main dark:text-text-dark-main" }, Eo = { class: "font-bold text-xs text-text-main dark:text-text-dark-main" }, wo = { class: "my-6" }, Co = { class: "font-bold text-xs mb-2 text-text-main dark:text-text-dark-main" }, Ao = { class: "text-text-main" }, So = { key: 1 }, Fo = { class: "text-center mt-6 text-sm" }, Bo = { class: "text-text-secondary dark:text-text-dark-secondary" }, Lo = ["href"], ru = /* @__PURE__ */ H({
1430
+ __name: "ContactModal",
1431
+ props: {
1432
+ locale: {
1433
+ type: String,
1434
+ default: "en"
1435
+ },
1436
+ colorMode: {
1437
+ type: String,
1438
+ default: "light"
1439
+ },
1440
+ loading: {
1441
+ type: Boolean,
1442
+ default: !1
1443
+ },
1444
+ subject: {
1445
+ type: String,
1446
+ default: "customer-support"
1447
+ }
1448
+ },
1449
+ emits: ["send", "close"],
1450
+ setup(r, { emit: s }) {
1451
+ const l = s, x = r, o = _(""), p = _(""), i = _(""), m = _(["customer-support", "tech-support", "sales", "other"]), t = _(!1), y = M(() => x.locale === "en" || x.locale === "en-gb"), v = M(() => y.value ? lt : at), B = M(() => y.value ? "https://getblock.io/privacy-policy/" : "https://getblock.io/cn/privacy-policy/"), Q = _({
1452
+ value: x.subject,
1453
+ text: v.value.subjects[x.subject]
1454
+ }), w = M(() => m.value.map((L) => ({
1455
+ value: L,
1456
+ text: v.value.subjects[L]
1457
+ }))), f = (L) => {
1458
+ Q.value = L;
1459
+ }, z = () => {
1460
+ l("close");
1461
+ }, G = () => {
1462
+ o.value ? !/^\S+@\S+\.\S+$/.test(p.value.trim()) || !p.value.trim() ? document.querySelector("[name='email']").focus() : i.value ? t.value = !0 : document.getElementsByTagName("textarea")[0].focus() : document.querySelector("[name='name']").focus();
1463
+ }, U = () => {
1464
+ G(), t.value && !x.loading && l("send", {
1465
+ name: o.value,
1466
+ email: p.value.trim(),
1467
+ subject: Q.value,
1468
+ message: i.value
1469
+ });
1470
+ };
1471
+ return ie(
1472
+ () => x.subject,
1473
+ () => {
1474
+ Q.value = {
1475
+ value: x.subject,
1476
+ text: v.value.subjects[x.subject]
1477
+ };
1478
+ }
1479
+ ), (L, Y) => (n(), u("div", {
1480
+ class: d(a(Ue).contactModal),
1481
+ onClick: ge(z, ["self"])
1482
+ }, [
1483
+ e("div", {
1484
+ class: d(a(Ue).contactModalContainer)
1485
+ }, [
1486
+ e("div", Mo, [
1487
+ e("div", Io, [
1488
+ e("p", To, c(v.value.title), 1),
1489
+ k(a(ee), {
1490
+ "color-type": "secondary",
1491
+ "icon-button": "",
1492
+ "size-type": "medium",
1493
+ onClick: z
1494
+ }, {
1495
+ default: S(() => [
1496
+ k(a(O), {
1497
+ "color-type": "main",
1498
+ "icon-name": "x-close"
1499
+ })
1500
+ ]),
1501
+ _: 1
1502
+ })
1503
+ ]),
1504
+ e("div", No, [
1505
+ (n(), u(T, null, E(4, (W) => e("img", {
1506
+ key: `person_${W}`,
1507
+ alt: "person",
1508
+ height: "32",
1509
+ width: "32",
1510
+ src: `https://storage.getblock.io/web/getblock-ui-kit/contactModal/new_person_${W}${x.colorMode === "dark" ? "-dark" : ""}.png`
1511
+ }, null, 8, Do)), 64))
1512
+ ])
1513
+ ]),
1514
+ e("div", jo, [
1515
+ k(a(pe), {
1516
+ "icon-name": "user-03",
1517
+ "input-name": "name",
1518
+ "status-icon": "none",
1519
+ "input-value": o.value,
1520
+ "onUpdate:inputValue": Y[0] || (Y[0] = (W) => o.value = W),
1521
+ placeholder: v.value["full-name"].placeholder,
1522
+ onKeydown: fe(U, ["enter"])
1523
+ }, {
1524
+ label: S(() => [
1525
+ e("span", zo, c(v.value["full-name"].title), 1)
1526
+ ]),
1527
+ _: 1
1528
+ }, 8, ["input-value", "placeholder"]),
1529
+ k(a(pe), {
1530
+ "icon-name": "mail-01",
1531
+ "input-name": "email",
1532
+ "status-icon": "none",
1533
+ "input-value": p.value,
1534
+ "onUpdate:inputValue": Y[1] || (Y[1] = (W) => p.value = W),
1535
+ placeholder: v.value.email.placeholder,
1536
+ onKeydown: fe(U, ["enter"])
1537
+ }, {
1538
+ label: S(() => [
1539
+ e("span", Eo, c(v.value.email.title), 1)
1540
+ ]),
1541
+ _: 1
1542
+ }, 8, ["input-value", "placeholder"])
1543
+ ]),
1544
+ e("div", wo, [
1545
+ e("p", Co, c(v.value.subject.title), 1),
1546
+ k(a(He), {
1547
+ items: w.value,
1548
+ placeholder: { text: v.value.subject.placeholder, value: v.value.subject.placeholder },
1549
+ "selected-item": Q.value,
1550
+ onSelectItem: f
1551
+ }, null, 8, ["items", "placeholder", "selected-item"])
1552
+ ]),
1553
+ k(a(Ce), {
1554
+ "input-name": i.value,
1555
+ "onUpdate:inputName": Y[2] || (Y[2] = (W) => i.value = W),
1556
+ "input-value": i.value,
1557
+ "onUpdate:inputValue": Y[3] || (Y[3] = (W) => i.value = W),
1558
+ placeholder: v.value["text-message"].placeholder,
1559
+ onKeydown: fe(ge(U, ["ctrl"]), ["enter"])
1560
+ }, {
1561
+ label: S(() => [
1562
+ e("span", Ao, c(v.value["text-message"].title), 1)
1563
+ ]),
1564
+ _: 1
1565
+ }, 8, ["input-name", "input-value", "placeholder", "onKeydown"]),
1566
+ k(a(ee), {
1567
+ class: "mt-12 justify-center xs:mt-8 flex-shrink-0",
1568
+ onClick: U
1569
+ }, {
1570
+ default: S(() => [
1571
+ x.loading ? (n(), ne(a(Ae), { key: 0 })) : (n(), u("span", So, c(v.value.button), 1))
1572
+ ]),
1573
+ _: 1
1574
+ }),
1575
+ e("p", Fo, [
1576
+ e("span", Bo, c(v.value["privacy-policy"].description), 1),
1577
+ e("a", {
1578
+ class: "cursor-pointer text-text-action hover:text-text-tint-blue dark:text-text-dark-actions dark:hover:text-text-dark-tint-blue",
1579
+ target: "_blank",
1580
+ href: B.value
1581
+ }, c(v.value["privacy-policy"].policy), 9, Lo)
1582
+ ])
1583
+ ], 2)
1584
+ ], 2));
1585
+ }
1586
+ }), Oo = "_getblock_ui_cookie_1m598_1", Uo = "dark", $o = "_getblock_ui_cookieManageModal_1m598_9", Qo = "_getblock_ui_cookieManageContainer_1m598_14", Te = {
1587
+ cookie: Oo,
1588
+ dark: Uo,
1589
+ cookieManageModal: $o,
1590
+ cookieManageContainer: Qo
1591
+ }, Go = {
1592
+ banner: {
1593
+ description: {
1594
+ first: "Like the rest of the Internet, we use cookies so that using our site won\u2019t annoy you.",
1595
+ second: "We value your privacy - see our",
1596
+ third: "and"
1597
+ },
1598
+ links: {
1599
+ "privacy-policy": "privacy policy",
1600
+ terms: "terms of use"
1601
+ },
1602
+ button: {
1603
+ first: "Manage cookies",
1604
+ second: "I accept"
1605
+ }
1606
+ },
1607
+ manage: {
1608
+ title: "Manage cookies",
1609
+ list: {
1610
+ strictly: {
1611
+ title: "Strictly necessary",
1612
+ description: "Strictly necessary Cookies help make the Website usable by enabling basic functions like page navigation and access to secure areas of the website."
1613
+ },
1614
+ functional: {
1615
+ title: "Functional",
1616
+ description: "These Cookies let us remember your personal settings set up in the past and optimize your experience."
1617
+ },
1618
+ statistics: {
1619
+ title: "Statistics",
1620
+ description: "Statistics Cookies help us understand how visitors interact with the Website like which pages you visited and which links you clicked on. None of this information can be used to identify you."
1621
+ },
1622
+ marketing: {
1623
+ title: "Marketing",
1624
+ description: "These Cookies help build a profile of your interests and to personalize the contents and ads both on and off the Website."
1625
+ }
1626
+ },
1627
+ "accept-part": "I accept this cookies",
1628
+ accept: "Accept All",
1629
+ reject: "Reject All"
1630
+ }
1631
+ }, Yo = {
1632
+ banner: {
1633
+ description: {
1634
+ first: "\u4E0E\u4E92\u8054\u7F51\u7684\u5176\u4ED6\u90E8\u5206\u4E00\u6837\uFF0C\u6211\u4EEC\u4F7F\u7528 cookie\uFF0C\u8FD9\u6837\u4F7F\u7528\u6211\u4EEC\u7684\u7F51\u7AD9\u5C31\u4E0D\u4F1A\u6253\u6270\u60A8\u3002",
1635
+ second: "\u6211\u4EEC\u91CD\u89C6\u60A8\u7684\u9690\u79C1 - \u8BF7\u53C2\u9605\u6211\u4EEC\u7684",
1636
+ third: "\u548C"
1637
+ },
1638
+ links: {
1639
+ "privacy-policy": "\u9690\u79C1\u653F\u7B56",
1640
+ terms: "\u4F7F\u7528\u6761\u6B3E"
1641
+ },
1642
+ button: {
1643
+ first: "\u7BA1\u7406 cookie",
1644
+ second: "\u6211\u63A5\u53D7"
1645
+ }
1646
+ },
1647
+ manage: {
1648
+ title: "\u7BA1\u7406 cookie",
1649
+ list: {
1650
+ strictly: {
1651
+ title: "\u7EDD\u5BF9\u5FC5\u8981",
1652
+ description: "\u7EDD\u5BF9\u5FC5\u8981\u7684 Cookie \u901A\u8FC7\u542F\u7528\u9875\u9762\u5BFC\u822A\u548C\u8BBF\u95EE\u7F51\u7AD9\u5B89\u5168\u533A\u57DF\u7B49\u57FA\u672C\u529F\u80FD\u6765\u5E2E\u52A9\u4F7F\u7F51\u7AD9\u53EF\u7528\u3002"
1653
+ },
1654
+ functional: {
1655
+ title: "\u529F\u80FD\u6027",
1656
+ description: "\u8FD9\u4E9B Cookie \u8BA9\u6211\u4EEC\u8BB0\u4F4F\u60A8\u8FC7\u53BB\u8BBE\u7F6E\u7684\u4E2A\u4EBA\u8BBE\u7F6E\u5E76\u4F18\u5316\u60A8\u7684\u4F53\u9A8C\u3002"
1657
+ },
1658
+ statistics: {
1659
+ title: "\u7EDF\u8BA1\u6570\u636E",
1660
+ description: "\u7EDF\u8BA1 Cookie \u5E2E\u52A9\u6211\u4EEC\u4E86\u89E3\u8BBF\u95EE\u8005\u5982\u4F55\u4E0E\u7F51\u7AD9\u4E92\u52A8\uFF0C\u4F8B\u5982\u60A8\u8BBF\u95EE\u4E86\u54EA\u4E9B\u9875\u9762\u4EE5\u53CA\u60A8\u70B9\u51FB\u4E86\u54EA\u4E9B\u94FE\u63A5\u3002 \u8FD9\u4E9B\u4FE1\u606F\u90FD\u4E0D\u80FD\u7528\u6765\u8BC6\u522B\u60A8\u7684\u8EAB\u4EFD\u3002"
1661
+ },
1662
+ marketing: {
1663
+ title: "\u8425\u9500",
1664
+ description: "\u8FD9\u4E9B Cookie \u6709\u52A9\u4E8E\u5EFA\u7ACB\u60A8\u7684\u5174\u8DA3\u6863\u6848\uFF0C\u5E76\u4E2A\u6027\u5316\u7F51\u7AD9\u5185\u5916\u7684\u5185\u5BB9\u548C\u5E7F\u544A\u3002"
1665
+ }
1666
+ },
1667
+ "accept-part": "\u6211\u63A5\u53D7\u9019\u500Bcookie",
1668
+ accept: "\u5168\u90FD\u63A5\u53D7",
1669
+ reject: "\u5168\u90E8\u62D2\u7D55"
1670
+ }
1671
+ }, Po = { key: 0 }, Vo = { class: "text-sm text-black dark:text-white xs:ml-0 xs:text-center sm:text-center md:text-center" }, Wo = ["href", "target"], Ro = ["href", "target"], Ho = { class: "flex xs:flex-col sm:flex-col gap-3 xs:w-full sm:w-full md:w-full" }, Zo = { class: "leading-5" }, Xo = { class: "leading-5" }, Jo = { class: "leading-5" }, Ko = { class: "flex justify-between items-center" }, qo = { class: "font-bold text-2xl leading-7 text-text-main dark:text-text-dark-main" }, en = { class: "flex flex-col gap-8 xs:gap-4" }, tn = { class: "flex flex-col gap-2" }, ln = { class: "font-bold text-lg leading-6 text-text-main dark:text-text-dark-main" }, an = { class: "text-sm text-text-main dark:text-text-dark-main" }, on = { class: "flex flex-col gap-2" }, nn = { class: "leading-5" }, du = /* @__PURE__ */ H({
1672
+ __name: "Cookie",
1673
+ props: {
1674
+ mainProject: {
1675
+ type: Boolean,
1676
+ default: !0
1677
+ },
1678
+ locale: {
1679
+ type: String,
1680
+ default: "en"
1681
+ },
1682
+ acceptCookie: {
1683
+ type: Boolean,
1684
+ default: !0
1685
+ }
1686
+ },
1687
+ emits: ["onAcceptCookie", "onDisplayCookieManage", "onRejectCookie"],
1688
+ setup(r, { emit: s }) {
1689
+ const l = s, x = r, o = _(!1), p = _([
1690
+ {
1691
+ id: "strictly",
1692
+ checked: !0
1693
+ },
1694
+ {
1695
+ id: "functional",
1696
+ checked: !0
1697
+ },
1698
+ {
1699
+ id: "statistics",
1700
+ checked: !0
1701
+ },
1702
+ {
1703
+ id: "marketing",
1704
+ checked: !1
1705
+ }
1706
+ ]), i = M(() => x.locale === "en" || x.locale === "en-gb"), m = M(() => x.mainProject ? "_self" : "_blank"), t = M(() => i.value ? "" : "cn/"), y = M(
1707
+ () => i.value ? Go : Yo
1708
+ ), v = (w) => {
1709
+ o.value = w;
1710
+ }, B = () => {
1711
+ const w = [];
1712
+ p.value.forEach((f) => {
1713
+ f.checked && w.push(f.id);
1714
+ }), o.value && v(!1), l("onAcceptCookie", w);
1715
+ }, Q = () => {
1716
+ o.value && v(!1), l("onRejectCookie");
1717
+ };
1718
+ return (w, f) => x.acceptCookie ? A("", !0) : (n(), u("div", Po, [
1719
+ o.value ? A("", !0) : (n(), u("div", {
1720
+ key: 0,
1721
+ class: d(a(Te).cookie)
1722
+ }, [
1723
+ e("p", Vo, [
1724
+ ce(c(y.value.banner.description.first) + " ", 1),
1725
+ f[2] || (f[2] = e("br", null, null, -1)),
1726
+ ce(" " + c(y.value.banner.description.second) + " ", 1),
1727
+ e("a", {
1728
+ rel: "nofollow",
1729
+ href: `https://getblock.io/${t.value}privacy-policy/`,
1730
+ target: m.value,
1731
+ class: "underline cursor-pointer text-text-action hover:text-text-tint-blue dark:text-text-dark-actions dark:hover:text-text-dark-tint-blue mx-1"
1732
+ }, c(y.value.banner.links["privacy-policy"]), 9, Wo),
1733
+ ce(" " + c(y.value.banner.description.third) + " ", 1),
1734
+ e("a", {
1735
+ rel: "nofollow",
1736
+ href: `https://getblock.io/${t.value}terms-of-service/`,
1737
+ target: m.value,
1738
+ class: "underline cursor-pointer text-text-action hover:text-text-tint-blue dark:text-text-dark-actions dark:hover:text-text-dark-tint-blue ml-1"
1739
+ }, c(y.value.banner.links.terms), 9, Ro)
1740
+ ]),
1741
+ e("div", Ho, [
1742
+ k(a(ee), {
1743
+ class: "flex justify-center flex-shrink-0",
1744
+ "size-type": "medium",
1745
+ "color-type": "secondary",
1746
+ onClick: f[0] || (f[0] = (z) => v(!0))
1747
+ }, {
1748
+ default: S(() => [
1749
+ e("span", Zo, c(y.value.banner.button.first), 1)
1750
+ ]),
1751
+ _: 1
1752
+ }),
1753
+ k(a(ee), {
1754
+ "size-type": "medium",
1755
+ class: "justify-center flex-shrink-0",
1756
+ "color-type": "secondary",
1757
+ onClick: Q
1758
+ }, {
1759
+ default: S(() => [
1760
+ e("span", Xo, c(y.value.manage.reject), 1)
1761
+ ]),
1762
+ _: 1
1763
+ }),
1764
+ k(a(ee), {
1765
+ class: "sm:row-span-2 xs:ml-0 xs:w-full sm:w-full md:w-full justify-center",
1766
+ "size-type": "medium",
1767
+ "color-type": "accent",
1768
+ onClick: B
1769
+ }, {
1770
+ default: S(() => [
1771
+ e("span", Jo, c(y.value.manage.accept), 1)
1772
+ ]),
1773
+ _: 1
1774
+ })
1775
+ ])
1776
+ ], 2)),
1777
+ X(e("div", {
1778
+ class: d(a(Te).cookieManageModal)
1779
+ }, [
1780
+ e("div", {
1781
+ id: "cookieManage",
1782
+ class: d(a(Te).cookieManageContainer)
1783
+ }, [
1784
+ e("div", Ko, [
1785
+ e("p", qo, c(y.value.manage.title), 1),
1786
+ k(a(ee), {
1787
+ "icon-button": "",
1788
+ "size-type": "medium",
1789
+ class: "w-9",
1790
+ "color-type": "secondary",
1791
+ onClick: f[1] || (f[1] = (z) => v(!1))
1792
+ }, {
1793
+ default: S(() => [
1794
+ k(a(O), {
1795
+ "size-type": "medium",
1796
+ "icon-name": "x-close",
1797
+ "color-type": "main"
1798
+ })
1799
+ ]),
1800
+ _: 1
1801
+ })
1802
+ ]),
1803
+ e("div", en, [
1804
+ (n(!0), u(T, null, E(p.value, (z) => (n(), u("div", {
1805
+ key: z.id,
1806
+ class: "flex gap-8"
1807
+ }, [
1808
+ e("div", tn, [
1809
+ e("p", ln, c(y.value.manage.list[z.id].title), 1),
1810
+ e("p", an, c(y.value.manage.list[z.id].description), 1)
1811
+ ]),
1812
+ k(a(De), {
1813
+ class: "self-center",
1814
+ selected: z.checked,
1815
+ disabled: z.id === "strictly",
1816
+ onInput: (G) => z.checked = !z.checked
1817
+ }, null, 8, ["selected", "disabled", "onInput"])
1818
+ ]))), 128))
1819
+ ]),
1820
+ e("div", on, [
1821
+ k(a(ee), {
1822
+ "size-type": "medium",
1823
+ class: "w-full justify-center flex-shrink-0",
1824
+ "color-type": "accent",
1825
+ onClick: B
1826
+ }, {
1827
+ default: S(() => [
1828
+ e("span", nn, c(y.value.manage["accept-part"]), 1)
1829
+ ]),
1830
+ _: 1
1831
+ })
1832
+ ])
1833
+ ], 2)
1834
+ ], 2), [
1835
+ [ae, o.value]
1836
+ ])
1837
+ ]));
1838
+ }
1839
+ }), sn = {
1840
+ product: {
1841
+ title: "Product",
1842
+ "shared-nodes": "Shared Nodes",
1843
+ "dedicated-nodes": "Dedicated Nodes",
1844
+ "node-cluster": "Node Cluster",
1845
+ tracker: "Tracker",
1846
+ pricing: "Pricing",
1847
+ "enterprise-solutions": "Enterprise Solutions",
1848
+ faucet: "Faucets",
1849
+ sla: "SLA"
1850
+ },
1851
+ chains: {
1852
+ title: "Chains",
1853
+ eth: "Ethereum",
1854
+ bsc: "BNB Smart Chain",
1855
+ matic: "Polygon",
1856
+ sol: "Solana",
1857
+ base: "Base",
1858
+ arb: "Arbitrum",
1859
+ trx: "Tron",
1860
+ avax: "Avalanche",
1861
+ op: "Optimism"
1862
+ },
1863
+ explorers: {
1864
+ title: "Explorers",
1865
+ "blockchain-explorer": "Blockchain Explorer",
1866
+ "blockchain-explorer-docs": "Documentation",
1867
+ "blockchain-explorer-partners": "Partners"
1868
+ },
1869
+ "for-developers": {
1870
+ title: "For Developers",
1871
+ documentation: "Documentation",
1872
+ "nodes-methods": "Nodes Methods",
1873
+ "get-started": "Get Started",
1874
+ guides: "Guides",
1875
+ status: "Status"
1876
+ },
1877
+ company: {
1878
+ title: "Company",
1879
+ about: "About",
1880
+ blog: "Blog",
1881
+ contact: "Contact",
1882
+ faq: "FAQ",
1883
+ careers: "Careers"
1884
+ },
1885
+ partnerships: {
1886
+ title: "Partnerships",
1887
+ marketplace: "Marketplace",
1888
+ "media-kit": "Media Kit",
1889
+ "affiliate-program": "Affiliate Program",
1890
+ "ambassadors-program": "Ambassadors Program",
1891
+ "near-startup-program": "Near startup program"
1892
+ },
1893
+ "legal-documents": {
1894
+ title: "Legal Documents",
1895
+ "terms-of-service": "Terms of Service",
1896
+ "privacy-policy": "Privacy Policy",
1897
+ "cookie-policy": "Cookie Policy",
1898
+ "subscription-policy": "Subscription Policy",
1899
+ "affiliate-policy": "Affiliate Policy",
1900
+ "ambassador-program-terms-of-service": "Ambassadors policy"
1901
+ },
1902
+ "all-rights-reserved": "All rights reserved"
1903
+ }, cn = {
1904
+ product: {
1905
+ title: "\u4EA7\u54C1",
1906
+ "shared-nodes": "\u5171\u4EAB\u8282\u70B9",
1907
+ "dedicated-nodes": "\u4E13\u7528\u8282\u70B9",
1908
+ "node-cluster": "\u8282\u70B9\u96C6\u7FA4",
1909
+ tracker: "\u8FFD\u8E2A\u5668",
1910
+ pricing: "\u4EF7\u94B1",
1911
+ "enterprise-solutions": "\u4F01\u4E1A\u89E3\u51B3\u65B9\u6848",
1912
+ faucet: "\u6C34\u9F99\u5934",
1913
+ sla: "SLA"
1914
+ },
1915
+ chains: {
1916
+ title: "Chains",
1917
+ eth: "Ethereum",
1918
+ bsc: "BNB Smart Chain",
1919
+ matic: "Polygon",
1920
+ sol: "Solana",
1921
+ base: "Base",
1922
+ arb: "Arbitrum",
1923
+ trx: "Tron",
1924
+ avax: "Avalanche",
1925
+ op: "Optimism"
1926
+ },
1927
+ explorers: {
1928
+ title: "\u63A2\u9669\u5BB6",
1929
+ "blockchain-explorer": "\u533A\u5757\u94FE\u6D4F\u89C8\u5668",
1930
+ "blockchain-explorer-docs": "\u6587\u6863",
1931
+ "blockchain-explorer-partners": "\u4F19\u4F34"
1932
+ },
1933
+ "for-developers": {
1934
+ title: "\u5BF9\u4E8E\u5F00\u53D1\u4EBA\u5458",
1935
+ documentation: "\u6587\u6863",
1936
+ "nodes-methods": "\u8282\u70B9\u65B9\u6CD5",
1937
+ "get-started": "\u5F00\u59CB\u4F7F\u7528",
1938
+ guides: "\u6307\u5357",
1939
+ status: "\u72B6\u6001"
1940
+ },
1941
+ company: {
1942
+ title: "\u516C\u53F8",
1943
+ about: "\u5173\u4E8E",
1944
+ blog: "\u535A\u5BA2",
1945
+ contact: "\u63A5\u89E6",
1946
+ faq: "FAQ",
1947
+ careers: "\u804C\u4E1A"
1948
+ },
1949
+ partnerships: {
1950
+ title: "\u5408\u4F5C\u4F19\u4F34",
1951
+ marketplace: "\u5E02\u573A",
1952
+ "media-kit": "\u5A92\u4F53\u5DE5\u5177\u5305",
1953
+ "affiliate-program": "\u8054\u76DF\u8BA1\u5212",
1954
+ "ambassadors-program": "\u5927\u4F7F\u8BA1\u5212",
1955
+ "near-startup-program": "NEAR \u521B\u4E1A\u8BA1\u5212"
1956
+ },
1957
+ "legal-documents": {
1958
+ title: "\u5408\u6CD5\u6587\u4EF6",
1959
+ "terms-of-service": "\u670D\u52A1\u6761\u6B3E",
1960
+ "privacy-policy": "\u9690\u79C1\u653F\u7B56",
1961
+ "cookie-policy": "Cookie \u653F\u7B56",
1962
+ "subscription-policy": "\u8BA2\u9605\u653F\u7B56",
1963
+ "affiliate-policy": "\u8054\u76DF\u653F\u7B56",
1964
+ "ambassador-program-terms-of-service": "\u5927\u4F7F\u653F\u7B56"
1965
+ },
1966
+ "all-rights-reserved": "\u7248\u6743\u6240\u6709"
1967
+ }, un = "_getblock_ui_navigationItemTitle_pc7nq_1", rn = "_getblock_ui_navigationItemLink_pc7nq_4", b = {
1968
+ navigationItemTitle: un,
1969
+ navigationItemLink: rn
1970
+ }, dn = { class: "max-w-[1280px] flex flex-col px-6 mx-auto" }, pn = { class: "justify-between footer--desktop" }, gn = { class: "flex flex-col" }, xn = ["href"], mn = { class: "flex flex-col" }, vn = ["href"], hn = { class: "flex flex-col" }, kn = { class: "flex flex-col" }, _n = ["href"], yn = { class: "flex flex-col mt-[20px]" }, bn = ["href"], fn = { class: "flex flex-col" }, Mn = ["rel", "href"], In = { class: "flex flex-col" }, Tn = ["href"], Nn = { class: "flex flex-col" }, Dn = ["href"], jn = { class: "justify-between gap-4 footer--tablet" }, zn = { class: "flex flex-col" }, En = ["href"], wn = { class: "flex flex-col" }, Cn = ["href"], An = { class: "flex flex-col" }, Sn = { class: "flex flex-col" }, Fn = ["href"], Bn = { class: "flex flex-col mt-[20px]" }, Ln = ["href"], On = { class: "flex flex-col" }, Un = { class: "flex flex-col" }, $n = ["rel", "href"], Qn = { class: "flex flex-col mt-[20px]" }, Gn = ["href"], Yn = { class: "flex flex-col" }, Pn = ["href"], Vn = { class: "justify-between footer--tablet--small" }, Wn = { class: "flex flex-col" }, Rn = ["href"], Hn = { class: "flex flex-col mt-[20px]" }, Zn = ["href"], Xn = { class: "flex flex-col" }, Jn = ["href"], Kn = { class: "flex flex-col mt-[20px]" }, qn = ["href"], es = { class: "flex flex-col" }, ts = { class: "flex flex-col" }, ls = ["rel", "href"], as = { class: "flex flex-col mt-[20px]" }, os = ["href"], ns = { class: "flex flex-col mt-[20px]" }, ss = ["href"], is = { class: "gap-5 justify-between footer--mobile" }, cs = { class: "flex flex-col gap-5" }, us = { class: "flex flex-col" }, rs = ["href"], ds = { class: "flex flex-col" }, ps = ["href"], gs = { class: "flex flex-col" }, xs = ["rel", "href"], ms = { class: "flex flex-col" }, vs = ["href"], hs = { class: "flex flex-col gap-5" }, ks = { class: "flex flex-col" }, _s = ["href"], ys = { class: "flex flex-col" }, bs = ["href"], fs = { class: "flex flex-col" }, Ms = ["href"], Is = { class: "copyright flex xs:flex-col xs:gap-8 xs:items-center justify-between py-8 border-t border-t-[#F2F2F2] mt-24" }, Ts = {
1971
+ class: "copyright__socials flex gap-2",
1972
+ "aria-label": "Our social networks"
1973
+ }, Ns = ["href", "aria-balel"], Ds = ["alt", "src"], js = { class: "flex flex-col gap-2" }, zs = { class: "text-sm leading-5 xs:text-center" }, Es = /* @__PURE__ */ H({
1974
+ __name: "Footer",
1975
+ props: {
1976
+ locale: {
1977
+ type: String,
1978
+ default: "en"
1979
+ },
1980
+ colorMode: {
1981
+ type: String,
1982
+ default: "light"
1983
+ }
1984
+ },
1985
+ setup(r) {
1986
+ const s = r, l = _([
1987
+ {
1988
+ key: "product",
1989
+ items: [
1990
+ {
1991
+ key: "shared-nodes",
1992
+ path: "nodes/"
1993
+ },
1994
+ {
1995
+ key: "dedicated-nodes",
1996
+ path: "dedicated-nodes/"
1997
+ },
1998
+ {
1999
+ key: "node-cluster",
2000
+ path: "node-clusters/"
2001
+ },
2002
+ {
2003
+ key: "tracker",
2004
+ path: "tracker/"
2005
+ },
2006
+ {
2007
+ key: "pricing",
2008
+ path: "pricing/"
2009
+ },
2010
+ {
2011
+ key: "enterprise-solutions",
2012
+ path: "enterprise-api/"
2013
+ },
2014
+ {
2015
+ key: "faucet",
2016
+ path: "faucet/"
2017
+ },
2018
+ {
2019
+ key: "sla",
2020
+ path: "sla/"
2021
+ }
2022
+ ]
2023
+ },
2024
+ {
2025
+ key: "chains",
2026
+ items: [
2027
+ {
2028
+ key: "eth",
2029
+ path: "nodes/eth/"
2030
+ },
2031
+ {
2032
+ key: "bsc",
2033
+ path: "nodes/bsc/"
2034
+ },
2035
+ {
2036
+ key: "matic",
2037
+ path: "nodes/matic/"
2038
+ },
2039
+ {
2040
+ key: "sol",
2041
+ path: "nodes/sol/"
2042
+ },
2043
+ {
2044
+ key: "base",
2045
+ path: "nodes/base/"
2046
+ },
2047
+ {
2048
+ key: "arb",
2049
+ path: "nodes/arb/"
2050
+ },
2051
+ {
2052
+ key: "trx",
2053
+ path: "nodes/trx/"
2054
+ },
2055
+ {
2056
+ key: "avax",
2057
+ path: "nodes/avax/"
2058
+ },
2059
+ {
2060
+ key: "op",
2061
+ path: "nodes/op/"
2062
+ }
2063
+ ]
2064
+ },
2065
+ {
2066
+ key: "explorers",
2067
+ items: [
2068
+ {
2069
+ key: "blockchain-explorer",
2070
+ path: "explorers/?blockchain=eth"
2071
+ },
2072
+ {
2073
+ key: "blockchain-explorer-docs",
2074
+ path: "docs/getblock-explorer/get-started/"
2075
+ },
2076
+ {
2077
+ key: "blockchain-explorer-partners",
2078
+ path: "explorers/partners/"
2079
+ }
2080
+ ]
2081
+ },
2082
+ {
2083
+ key: "for-developers",
2084
+ items: [
2085
+ {
2086
+ key: "documentation",
2087
+ path: "docs"
2088
+ },
2089
+ {
2090
+ key: "nodes-methods",
2091
+ path: "docs/api-reference/overview"
2092
+ },
2093
+ {
2094
+ key: "get-started",
2095
+ path: "docs/get-started/how-to-setup-an-account"
2096
+ },
2097
+ {
2098
+ key: "guides",
2099
+ path: "docs/guides/endpoint-setup/creating-node-endpoints"
2100
+ },
2101
+ {
2102
+ key: "status",
2103
+ path: "https://getblock.instatus.com/"
2104
+ }
2105
+ ]
2106
+ },
2107
+ {
2108
+ key: "company",
2109
+ items: [
2110
+ {
2111
+ key: "about",
2112
+ path: "about/"
2113
+ },
2114
+ {
2115
+ key: "blog",
2116
+ path: "blog/"
2117
+ },
2118
+ {
2119
+ key: "contact",
2120
+ path: "contact/"
2121
+ },
2122
+ {
2123
+ key: "careers",
2124
+ path: "https://getblock.bamboohr.com/careers/",
2125
+ nofollow: !0
2126
+ },
2127
+ {
2128
+ key: "faq",
2129
+ path: "faq/"
2130
+ }
2131
+ ]
2132
+ },
2133
+ {
2134
+ key: "partnerships",
2135
+ items: [
2136
+ {
2137
+ key: "marketplace",
2138
+ path: "marketplace/"
2139
+ },
2140
+ {
2141
+ key: "media-kit",
2142
+ path: "media-kit/"
2143
+ },
2144
+ {
2145
+ key: "affiliate-program",
2146
+ path: "affiliate-program/"
2147
+ },
2148
+ {
2149
+ key: "ambassadors-program",
2150
+ path: "ambassadors-program/"
2151
+ },
2152
+ {
2153
+ key: "near-startup-program",
2154
+ path: "near-startup-program/"
2155
+ }
2156
+ ]
2157
+ },
2158
+ {
2159
+ key: "legal-documents",
2160
+ items: [
2161
+ {
2162
+ key: "terms-of-service",
2163
+ path: "terms-of-service/"
2164
+ },
2165
+ {
2166
+ key: "privacy-policy",
2167
+ path: "privacy-policy/"
2168
+ },
2169
+ {
2170
+ key: "cookie-policy",
2171
+ path: "cookie-policy/"
2172
+ },
2173
+ {
2174
+ key: "subscription-policy",
2175
+ path: "subscription-policy/"
2176
+ },
2177
+ {
2178
+ key: "affiliate-policy",
2179
+ path: "affiliate-policy/"
2180
+ },
2181
+ {
2182
+ key: "ambassador-program-terms-of-service",
2183
+ path: "ambassador-program-terms-of-service/"
2184
+ }
2185
+ ]
2186
+ }
2187
+ ]), x = _([
2188
+ {
2189
+ name: "telegram",
2190
+ link: "https://t.me/getblockio_eng"
2191
+ },
2192
+ {
2193
+ name: "twitter",
2194
+ link: "https://twitter.com/getblockio"
2195
+ },
2196
+ {
2197
+ name: "discord",
2198
+ link: "https://discord.com/invite/getblock-686478398884675584"
2199
+ },
2200
+ {
2201
+ name: "youtube",
2202
+ link: "https://www.youtube.com/c/GetBlock"
2203
+ },
2204
+ {
2205
+ name: "reddit",
2206
+ link: "https://www.reddit.com/r/getblockio/"
2207
+ },
2208
+ {
2209
+ name: "linkedin",
2210
+ link: "https://www.linkedin.com/company/getblock/"
2211
+ },
2212
+ {
2213
+ name: "github",
2214
+ link: "https://github.com/GetBlock-io"
2215
+ }
2216
+ ]), o = M(() => s.locale === "en" || s.locale === "en-gb" ? sn : cn), p = (i) => i.includes("blog") || s.locale === "en" ? i : i.includes("docs") ? i === "/docs/" ? "/docs/cn/" : `/docs/cn${i.split("docs/").join("")}` : i.includes("explorers") ? i === "/explorers/" ? "/explorers/cn/" : `/explorers/cn${i.split("explorers/").join("")}` : i === "/" ? "/cn/" : `/cn${i}`;
2217
+ return (i, m) => (n(), u("footer", {
2218
+ class: d(["border-t border-t-[#F2F2F2] w-full pt-24", { "getblock-ui-kit-navbar--dark": s.colorMode === "dark" }])
2219
+ }, [
2220
+ e("div", dn, [
2221
+ e("div", pn, [
2222
+ e("div", gn, [
2223
+ e("p", {
2224
+ class: d(a(b).navigationItemTitle)
2225
+ }, c(o.value.product.title), 3),
2226
+ (n(!0), u(T, null, E(l.value[0].items, (t) => (n(), u("a", {
2227
+ key: t.key,
2228
+ class: d(a(b).navigationItemLink),
2229
+ href: t.path.includes("https://") ? t.path : p(`/${t.path}`)
2230
+ }, c(o.value.product[t.key]), 11, xn))), 128))
2231
+ ]),
2232
+ e("div", mn, [
2233
+ e("p", {
2234
+ class: d(a(b).navigationItemTitle)
2235
+ }, c(o.value.chains.title), 3),
2236
+ (n(!0), u(T, null, E(l.value[1].items, (t) => (n(), u("a", {
2237
+ key: t.key,
2238
+ class: d(a(b).navigationItemLink),
2239
+ href: t.path.includes("https://") ? t.path : p(`/${t.path}`)
2240
+ }, c(o.value.chains[t.key]), 11, vn))), 128))
2241
+ ]),
2242
+ e("div", hn, [
2243
+ e("div", kn, [
2244
+ e("p", {
2245
+ class: d(a(b).navigationItemTitle)
2246
+ }, c(o.value.explorers.title), 3),
2247
+ (n(!0), u(T, null, E(l.value[2].items, (t) => (n(), u("a", {
2248
+ key: t.key,
2249
+ class: d(a(b).navigationItemLink),
2250
+ href: t.path.includes("https://") ? t.path : p(`/${t.path}`)
2251
+ }, c(o.value.explorers[t.key]), 11, _n))), 128))
2252
+ ]),
2253
+ e("div", yn, [
2254
+ e("p", {
2255
+ class: d(a(b).navigationItemTitle)
2256
+ }, c(o.value["for-developers"].title), 3),
2257
+ (n(!0), u(T, null, E(l.value[3].items, (t) => (n(), u("a", {
2258
+ key: t.key,
2259
+ class: d(a(b).navigationItemLink),
2260
+ href: t.path.includes("https://") ? t.path : p(`/${t.path}`)
2261
+ }, c(o.value["for-developers"][t.key]), 11, bn))), 128))
2262
+ ])
2263
+ ]),
2264
+ e("div", fn, [
2265
+ e("p", {
2266
+ class: d(a(b).navigationItemTitle)
2267
+ }, c(o.value.company.title), 3),
2268
+ (n(!0), u(T, null, E(l.value[4].items, (t) => (n(), u("a", {
2269
+ key: t.key,
2270
+ rel: t.nofollow ? "nofollow" : void 0,
2271
+ class: d(a(b).navigationItemLink),
2272
+ href: t.path.includes("https://") ? t.path : p(`/${t.path}`)
2273
+ }, c(o.value.company[t.key]), 11, Mn))), 128))
2274
+ ]),
2275
+ e("div", In, [
2276
+ e("p", {
2277
+ class: d(a(b).navigationItemTitle)
2278
+ }, c(o.value.partnerships.title), 3),
2279
+ (n(!0), u(T, null, E(l.value[5].items, (t) => (n(), u("a", {
2280
+ key: t.key,
2281
+ class: d(a(b).navigationItemLink),
2282
+ href: t.path.includes("https://") ? t.path : p(`/${t.path}`)
2283
+ }, c(o.value.partnerships[t.key]), 11, Tn))), 128))
2284
+ ]),
2285
+ e("div", Nn, [
2286
+ e("p", {
2287
+ class: d(a(b).navigationItemTitle)
2288
+ }, c(o.value["legal-documents"].title), 3),
2289
+ (n(!0), u(T, null, E(l.value[6].items, (t) => (n(), u("a", {
2290
+ key: t.key,
2291
+ class: d(a(b).navigationItemLink),
2292
+ href: t.path.includes("https://") ? t.path : p(`/${t.path}`)
2293
+ }, c(o.value["legal-documents"][t.key]), 11, Dn))), 128))
2294
+ ])
2295
+ ]),
2296
+ e("div", jn, [
2297
+ e("div", zn, [
2298
+ e("p", {
2299
+ class: d(a(b).navigationItemTitle)
2300
+ }, c(o.value.product.title), 3),
2301
+ (n(!0), u(T, null, E(l.value[0].items, (t) => (n(), u("a", {
2302
+ key: t.key,
2303
+ class: d(a(b).navigationItemLink),
2304
+ href: t.path.includes("https://") ? t.path : p(`/${t.path}`)
2305
+ }, c(o.value.product[t.key]), 11, En))), 128))
2306
+ ]),
2307
+ e("div", wn, [
2308
+ e("p", {
2309
+ class: d(a(b).navigationItemTitle)
2310
+ }, c(o.value.chains.title), 3),
2311
+ (n(!0), u(T, null, E(l.value[1].items, (t) => (n(), u("a", {
2312
+ key: t.key,
2313
+ class: d(a(b).navigationItemLink),
2314
+ href: t.path.includes("https://") ? t.path : p(`/${t.path}`)
2315
+ }, c(o.value.chains[t.key]), 11, Cn))), 128))
2316
+ ]),
2317
+ e("div", An, [
2318
+ e("div", Sn, [
2319
+ e("p", {
2320
+ class: d(a(b).navigationItemTitle)
2321
+ }, c(o.value.explorers.title), 3),
2322
+ (n(!0), u(T, null, E(l.value[2].items, (t) => (n(), u("a", {
2323
+ key: t.key,
2324
+ class: d(a(b).navigationItemLink),
2325
+ href: t.path.includes("https://") ? t.path : p(`/${t.path}`)
2326
+ }, c(o.value.explorers[t.key]), 11, Fn))), 128))
2327
+ ]),
2328
+ e("div", Bn, [
2329
+ e("p", {
2330
+ class: d(a(b).navigationItemTitle)
2331
+ }, c(o.value["for-developers"].title), 3),
2332
+ (n(!0), u(T, null, E(l.value[3].items, (t) => (n(), u("a", {
2333
+ key: t.key,
2334
+ class: d(a(b).navigationItemLink),
2335
+ href: t.path.includes("https://") ? t.path : p(`/${t.path}`)
2336
+ }, c(o.value["for-developers"][t.key]), 11, Ln))), 128))
2337
+ ])
2338
+ ]),
2339
+ e("div", On, [
2340
+ e("div", Un, [
2341
+ e("p", {
2342
+ class: d(a(b).navigationItemTitle)
2343
+ }, c(o.value.company.title), 3),
2344
+ (n(!0), u(T, null, E(l.value[4].items, (t) => (n(), u("a", {
2345
+ key: t.key,
2346
+ rel: t.nofollow ? "nofollow" : void 0,
2347
+ class: d(a(b).navigationItemLink),
2348
+ href: t.path.includes("https://") ? t.path : p(`/${t.path}`)
2349
+ }, c(o.value.company[t.key]), 11, $n))), 128))
2350
+ ]),
2351
+ e("div", Qn, [
2352
+ e("p", {
2353
+ class: d(a(b).navigationItemTitle)
2354
+ }, c(o.value.partnerships.title), 3),
2355
+ (n(!0), u(T, null, E(l.value[5].items, (t) => (n(), u("a", {
2356
+ key: t.key,
2357
+ class: d(a(b).navigationItemLink),
2358
+ href: t.path.includes("https://") ? t.path : p(`/${t.path}`)
2359
+ }, c(o.value.partnerships[t.key]), 11, Gn))), 128))
2360
+ ])
2361
+ ]),
2362
+ e("div", Yn, [
2363
+ e("p", {
2364
+ class: d(a(b).navigationItemTitle)
2365
+ }, c(o.value["legal-documents"].title), 3),
2366
+ (n(!0), u(T, null, E(l.value[6].items, (t) => (n(), u("a", {
2367
+ key: t.key,
2368
+ class: d(a(b).navigationItemLink),
2369
+ href: t.path.includes("https://") ? t.path : p(`/${t.path}`)
2370
+ }, c(o.value["legal-documents"][t.key]), 11, Pn))), 128))
2371
+ ])
2372
+ ]),
2373
+ e("div", Vn, [
2374
+ e("div", null, [
2375
+ e("div", Wn, [
2376
+ e("p", {
2377
+ class: d(a(b).navigationItemTitle)
2378
+ }, c(o.value.product.title), 3),
2379
+ (n(!0), u(T, null, E(l.value[0].items, (t) => (n(), u("a", {
2380
+ key: t.key,
2381
+ class: d(a(b).navigationItemLink),
2382
+ href: t.path.includes("https://") ? t.path : p(`/${t.path}`)
2383
+ }, c(o.value.product[t.key]), 11, Rn))), 128))
2384
+ ]),
2385
+ e("div", Hn, [
2386
+ e("p", {
2387
+ class: d(a(b).navigationItemTitle)
2388
+ }, c(o.value.explorers.title), 3),
2389
+ (n(!0), u(T, null, E(l.value[2].items, (t) => (n(), u("a", {
2390
+ key: t.key,
2391
+ class: d(a(b).navigationItemLink),
2392
+ href: t.path.includes("https://") ? t.path : p(`/${t.path}`)
2393
+ }, c(o.value.explorers[t.key]), 11, Zn))), 128))
2394
+ ])
2395
+ ]),
2396
+ e("div", null, [
2397
+ e("div", Xn, [
2398
+ e("p", {
2399
+ class: d(a(b).navigationItemTitle)
2400
+ }, c(o.value.chains.title), 3),
2401
+ (n(!0), u(T, null, E(l.value[1].items, (t) => (n(), u("a", {
2402
+ key: t.key,
2403
+ class: d(a(b).navigationItemLink),
2404
+ href: t.path.includes("https://") ? t.path : p(`/${t.path}`)
2405
+ }, c(o.value.chains[t.key]), 11, Jn))), 128))
2406
+ ]),
2407
+ e("div", Kn, [
2408
+ e("p", {
2409
+ class: d(a(b).navigationItemTitle)
2410
+ }, c(o.value["for-developers"].title), 3),
2411
+ (n(!0), u(T, null, E(l.value[3].items, (t) => (n(), u("a", {
2412
+ key: t.key,
2413
+ class: d(a(b).navigationItemLink),
2414
+ href: t.path.includes("https://") ? t.path : p(`/${t.path}`)
2415
+ }, c(o.value["for-developers"][t.key]), 11, qn))), 128))
2416
+ ])
2417
+ ]),
2418
+ e("div", es, [
2419
+ e("div", ts, [
2420
+ e("p", {
2421
+ class: d(a(b).navigationItemTitle)
2422
+ }, c(o.value.company.title), 3),
2423
+ (n(!0), u(T, null, E(l.value[4].items, (t) => (n(), u("a", {
2424
+ key: t.key,
2425
+ rel: t.nofollow ? "nofollow" : void 0,
2426
+ class: d(a(b).navigationItemLink),
2427
+ href: t.path.includes("https://") ? t.path : p(`/${t.path}`)
2428
+ }, c(o.value.company[t.key]), 11, ls))), 128))
2429
+ ]),
2430
+ e("div", as, [
2431
+ e("p", {
2432
+ class: d(a(b).navigationItemTitle)
2433
+ }, c(o.value.partnerships.title), 3),
2434
+ (n(!0), u(T, null, E(l.value[5].items, (t) => (n(), u("a", {
2435
+ key: t.key,
2436
+ class: d(a(b).navigationItemLink),
2437
+ href: t.path.includes("https://") ? t.path : p(`/${t.path}`)
2438
+ }, c(o.value.partnerships[t.key]), 11, os))), 128))
2439
+ ]),
2440
+ e("div", ns, [
2441
+ e("p", {
2442
+ class: d(a(b).navigationItemTitle)
2443
+ }, c(o.value["legal-documents"].title), 3),
2444
+ (n(!0), u(T, null, E(l.value[6].items, (t) => (n(), u("a", {
2445
+ key: t.key,
2446
+ class: d(a(b).navigationItemLink),
2447
+ href: t.path.includes("https://") ? t.path : p(`/${t.path}`)
2448
+ }, c(o.value["legal-documents"][t.key]), 11, ss))), 128))
2449
+ ])
2450
+ ])
2451
+ ]),
2452
+ e("div", is, [
2453
+ e("div", cs, [
2454
+ e("div", us, [
2455
+ e("p", {
2456
+ class: d(a(b).navigationItemTitle)
2457
+ }, c(o.value.product.title), 3),
2458
+ (n(!0), u(T, null, E(l.value[0].items, (t) => (n(), u("a", {
2459
+ key: t.key,
2460
+ class: d(a(b).navigationItemLink),
2461
+ href: t.path.includes("https://") ? t.path : p(`/${t.path}`)
2462
+ }, c(o.value.product[t.key]), 11, rs))), 128))
2463
+ ]),
2464
+ e("div", ds, [
2465
+ e("p", {
2466
+ class: d(a(b).navigationItemTitle)
2467
+ }, c(o.value.explorers.title), 3),
2468
+ (n(!0), u(T, null, E(l.value[2].items, (t) => (n(), u("a", {
2469
+ key: t.key,
2470
+ class: d(a(b).navigationItemLink),
2471
+ href: t.path.includes("https://") ? t.path : p(`/${t.path}`)
2472
+ }, c(o.value.explorers[t.key]), 11, ps))), 128))
2473
+ ]),
2474
+ e("div", gs, [
2475
+ e("p", {
2476
+ class: d(a(b).navigationItemTitle)
2477
+ }, c(o.value.company.title), 3),
2478
+ (n(!0), u(T, null, E(l.value[4].items, (t) => (n(), u("a", {
2479
+ key: t.key,
2480
+ rel: t.nofollow ? "nofollow" : void 0,
2481
+ class: d(a(b).navigationItemLink),
2482
+ href: t.path.includes("https://") ? t.path : p(`/${t.path}`)
2483
+ }, c(o.value.company[t.key]), 11, xs))), 128))
2484
+ ]),
2485
+ e("div", ms, [
2486
+ e("p", {
2487
+ class: d(a(b).navigationItemTitle)
2488
+ }, c(o.value.partnerships.title), 3),
2489
+ (n(!0), u(T, null, E(l.value[5].items, (t) => (n(), u("a", {
2490
+ key: t.key,
2491
+ class: d(a(b).navigationItemLink),
2492
+ href: t.path.includes("https://") ? t.path : p(`/${t.path}`)
2493
+ }, c(o.value.partnerships[t.key]), 11, vs))), 128))
2494
+ ])
2495
+ ]),
2496
+ e("div", hs, [
2497
+ e("div", ks, [
2498
+ e("p", {
2499
+ class: d(a(b).navigationItemTitle)
2500
+ }, c(o.value.chains.title), 3),
2501
+ (n(!0), u(T, null, E(l.value[1].items, (t) => (n(), u("a", {
2502
+ key: t.key,
2503
+ class: d(a(b).navigationItemLink),
2504
+ href: t.path.includes("https://") ? t.path : p(`/${t.path}`)
2505
+ }, c(o.value.chains[t.key]), 11, _s))), 128))
2506
+ ]),
2507
+ e("div", ys, [
2508
+ e("p", {
2509
+ class: d(a(b).navigationItemTitle)
2510
+ }, c(o.value["for-developers"].title), 3),
2511
+ (n(!0), u(T, null, E(l.value[3].items, (t) => (n(), u("a", {
2512
+ key: t.key,
2513
+ class: d(a(b).navigationItemLink),
2514
+ href: t.path.includes("https://") ? t.path : p(`/${t.path}`)
2515
+ }, c(o.value["for-developers"][t.key]), 11, bs))), 128))
2516
+ ]),
2517
+ e("div", fs, [
2518
+ e("p", {
2519
+ class: d(a(b).navigationItemTitle)
2520
+ }, c(o.value["legal-documents"].title), 3),
2521
+ (n(!0), u(T, null, E(l.value[6].items, (t) => (n(), u("a", {
2522
+ key: t.key,
2523
+ class: d(a(b).navigationItemLink),
2524
+ href: t.path.includes("https://") ? t.path : p(`/${t.path}`)
2525
+ }, c(o.value["legal-documents"][t.key]), 11, Ms))), 128))
2526
+ ])
2527
+ ])
2528
+ ]),
2529
+ e("div", Is, [
2530
+ e("section", Ts, [
2531
+ (n(!0), u(T, null, E(x.value, (t) => (n(), u("a", {
2532
+ rel: "noopener noreferrer",
2533
+ key: t.name,
2534
+ class: "flex items-center justify-center w-10 h-10 bg-[#f5f8ff] rounded-full",
2535
+ target: "_blank",
2536
+ href: t.link,
2537
+ "aria-balel": `Visit our ${t.name}`
2538
+ }, [
2539
+ e("img", {
2540
+ class: "w-6 h-6",
2541
+ height: "32",
2542
+ width: "32",
2543
+ alt: t.name,
2544
+ src: `https://storage.getblock.io/web/getblock-ui-kit/footer/socials/${t.name}.svg`
2545
+ }, null, 8, Ds)
2546
+ ], 8, Ns))), 128))
2547
+ ]),
2548
+ e("div", js, [
2549
+ e("section", zs, [
2550
+ e("p", null, "\xA9 2025 GetBlock Pte. Ltd. " + c(o.value["all-rights-reserved"]), 1),
2551
+ m[0] || (m[0] = e("address", null, [
2552
+ ce(" UEN: 202507074N "),
2553
+ e("br"),
2554
+ ce(" 68 Circular Rd, #02-01, 049422,Singapore ")
2555
+ ], -1))
2556
+ ])
2557
+ ])
2558
+ ])
2559
+ ])
2560
+ ], 2));
2561
+ }
2562
+ });
2563
+ const ke = (r, s) => {
2564
+ const l = r.__vccOpts || r;
2565
+ for (const [x, o] of s)
2566
+ l[x] = o;
2567
+ return l;
2568
+ }, pu = /* @__PURE__ */ ke(Es, [["__scopeId", "data-v-8d9ae267"]]);
2569
+ /*! js-cookie v3.0.5 | MIT */
2570
+ function be(r) {
2571
+ for (var s = 1; s < arguments.length; s++) {
2572
+ var l = arguments[s];
2573
+ for (var x in l)
2574
+ r[x] = l[x];
2575
+ }
2576
+ return r;
2577
+ }
2578
+ var ws = {
2579
+ read: function(r) {
2580
+ return r[0] === '"' && (r = r.slice(1, -1)), r.replace(/(%[\dA-F]{2})+/gi, decodeURIComponent);
2581
+ },
2582
+ write: function(r) {
2583
+ return encodeURIComponent(r).replace(
2584
+ /%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,
2585
+ decodeURIComponent
2586
+ );
2587
+ }
2588
+ };
2589
+ function je(r, s) {
2590
+ function l(o, p, i) {
2591
+ if (!(typeof document > "u")) {
2592
+ i = be({}, s, i), typeof i.expires == "number" && (i.expires = new Date(Date.now() + i.expires * 864e5)), i.expires && (i.expires = i.expires.toUTCString()), o = encodeURIComponent(o).replace(/%(2[346B]|5E|60|7C)/g, decodeURIComponent).replace(/[()]/g, escape);
2593
+ var m = "";
2594
+ for (var t in i)
2595
+ !i[t] || (m += "; " + t, i[t] !== !0 && (m += "=" + i[t].split(";")[0]));
2596
+ return document.cookie = o + "=" + r.write(p, o) + m;
2597
+ }
2598
+ }
2599
+ function x(o) {
2600
+ if (!(typeof document > "u" || arguments.length && !o)) {
2601
+ for (var p = document.cookie ? document.cookie.split("; ") : [], i = {}, m = 0; m < p.length; m++) {
2602
+ var t = p[m].split("="), y = t.slice(1).join("=");
2603
+ try {
2604
+ var v = decodeURIComponent(t[0]);
2605
+ if (i[v] = r.read(y, v), o === v)
2606
+ break;
2607
+ } catch {
2608
+ }
2609
+ }
2610
+ return o ? i[o] : i;
2611
+ }
2612
+ }
2613
+ return Object.create(
2614
+ {
2615
+ set: l,
2616
+ get: x,
2617
+ remove: function(o, p) {
2618
+ l(
2619
+ o,
2620
+ "",
2621
+ be({}, p, {
2622
+ expires: -1
2623
+ })
2624
+ );
2625
+ },
2626
+ withAttributes: function(o) {
2627
+ return je(this.converter, be({}, this.attributes, o));
2628
+ },
2629
+ withConverter: function(o) {
2630
+ return je(be({}, this.converter, o), this.attributes);
2631
+ }
2632
+ },
2633
+ {
2634
+ attributes: { value: Object.freeze(s) },
2635
+ converter: { value: Object.freeze(r) }
2636
+ }
2637
+ );
2638
+ }
2639
+ var Ge = je(ws, { path: "/" });
2640
+ const Cs = {
2641
+ contact: "Contact",
2642
+ dashboard: "Dashboard",
2643
+ settings: "Settings",
2644
+ language: "Language",
2645
+ pricing: {
2646
+ title: "Pricing",
2647
+ items: {
2648
+ pricing: {
2649
+ title: "Pricing",
2650
+ text: "Plan comparison"
2651
+ }
2652
+ }
2653
+ },
2654
+ developers: {
2655
+ title: "Developers",
2656
+ items: {
2657
+ documentation: {
2658
+ title: "Documentation",
2659
+ text: "Methods, examples, guides"
2660
+ },
2661
+ "get-started": {
2662
+ title: "Get Started",
2663
+ text: "Account setup"
2664
+ },
2665
+ guides: {
2666
+ title: "Guides",
2667
+ text: "Useful how-tos for devs"
2668
+ },
2669
+ "nodes-methods": {
2670
+ title: "Nodes Methods",
2671
+ text: "Ethereum, BNB Smart ..."
2672
+ },
2673
+ "explorer-api": {
2674
+ title: "Explorer API",
2675
+ text: "Near Protocol"
2676
+ },
2677
+ faucet: {
2678
+ title: "Faucet",
2679
+ text: "Free testnet tokens"
2680
+ }
2681
+ },
2682
+ banner: {
2683
+ title: "Learn how to call RPC methods on 50+ chains",
2684
+ text: "API documentation for Web3"
2685
+ }
2686
+ },
2687
+ company: {
2688
+ title: "Company",
2689
+ items: {
2690
+ "about-us": {
2691
+ title: "About Us",
2692
+ text: "What is GetBlock"
2693
+ },
2694
+ faq: {
2695
+ title: "FAQ",
2696
+ text: "Frequently asked questions"
2697
+ },
2698
+ contact: {
2699
+ title: "Contact",
2700
+ text: "Reach out to our team"
2701
+ },
2702
+ blog: {
2703
+ title: "Blog",
2704
+ text: "Guides, news, updates"
2705
+ },
2706
+ "use-cases": {
2707
+ title: "Use Cases",
2708
+ text: "User insights and reviews"
2709
+ },
2710
+ "affiliate-program": {
2711
+ title: "Affiliate Program",
2712
+ text: "Refer us and earn rewards"
2713
+ }
2714
+ },
2715
+ banner: {
2716
+ title: "\u201CWith GetBlock, we always have accurate and timely info from blockchains with no delays\u201D",
2717
+ text: "Learn more"
2718
+ }
2719
+ },
2720
+ products: {
2721
+ title: "Products",
2722
+ items: {
2723
+ "rpc-service": {
2724
+ title: "RPC Service",
2725
+ text: "Available protocols"
2726
+ },
2727
+ enterprise: {
2728
+ title: "Enterprise",
2729
+ text: "Custom infrastructure solutions "
2730
+ },
2731
+ "dedicated-nodes": {
2732
+ title: "Dedicated Nodes",
2733
+ text: "Private-hosted nodes"
2734
+ },
2735
+ "nodes-cluster": {
2736
+ title: "Nodes Cluster",
2737
+ text: "Set of nodes for scaling"
2738
+ },
2739
+ appchain: {
2740
+ title: "AppChain",
2741
+ text: "Build custom blockchain"
2742
+ }
2743
+ },
2744
+ banner: {
2745
+ title: "Latency Matters: Route RPC traffic via your closest endpoint \u2014 New York or Frankfurt!",
2746
+ text: "Choose Location"
2747
+ }
2748
+ }
2749
+ }, As = {
2750
+ contact: "\u63A5\u89F8",
2751
+ dashboard: "\u5100\u8868\u677F",
2752
+ settings: "\u8A2D\u7F6E",
2753
+ language: "\u8A9E\u8A00",
2754
+ products: {
2755
+ title: "\u4EA7\u54C1",
2756
+ items: {
2757
+ "rpc-service": {
2758
+ title: "RPC \u670D\u52A1",
2759
+ text: "\u53EF\u7528\u534F\u8BAE"
2760
+ },
2761
+ enterprise: {
2762
+ title: "\u4F01\u696D",
2763
+ text: "\u5B9A\u5236\u57FA\u790E\u8A2D\u65BD\u89E3\u6C7A\u65B9\u6848 "
2764
+ },
2765
+ "dedicated-nodes": {
2766
+ title: "\u5C08\u7528\u7BC0\u9EDE",
2767
+ text: "\u79C1\u6709\u8A17\u7BA1\u7BC0\u9EDE"
2768
+ },
2769
+ "nodes-cluster": {
2770
+ title: "\u7BC0\u9EDE\u96C6\u7FA4",
2771
+ text: "\u7528\u65BC\u7E2E\u653E\u7684\u7BC0\u9EDE\u96C6"
2772
+ },
2773
+ appchain: {
2774
+ title: "AppChain",
2775
+ text: "\u6784\u5EFA\u81EA\u5B9A\u4E49\u533A\u5757\u94FE"
2776
+ }
2777
+ },
2778
+ banner: {
2779
+ title: "\u5EF6\u8FDF\u4E8B\u9879\uFF1A\u901A\u8FC7\u60A8\u6700\u63A5\u8FD1\u5730\u533A\u7684RPC\u8DEF\u7EBF\u6D41\u91CF - \u7EBD\u7EA6\u6216\u6CD5\u5170\u514B\u798F\uFF01",
2780
+ text: "\u9009\u62E9\u4F4D\u7F6E"
2781
+ }
2782
+ },
2783
+ pricing: {
2784
+ title: "\u50F9\u9322",
2785
+ items: {
2786
+ pricing: {
2787
+ title: "\u50F9\u9322",
2788
+ text: "\u65B9\u6848\u6BD4\u8F03"
2789
+ }
2790
+ }
2791
+ },
2792
+ developers: {
2793
+ title: "\u958B\u767C\u5546",
2794
+ items: {
2795
+ documentation: {
2796
+ title: "\u6587\u6A94",
2797
+ text: "\u65B9\u6CD5\u3001\u793A\u4F8B\u3001\u6307\u5357"
2798
+ },
2799
+ "get-started": {
2800
+ title: "\u958B\u59CB\u4F7F\u7528",
2801
+ text: "\u8CEC\u6236\u8A2D\u7F6E"
2802
+ },
2803
+ guides: {
2804
+ title: "\u6307\u5357",
2805
+ text: "\u5C0D\u958B\u767C\u4EBA\u54E1\u6709\u7528\u7684\u64CD\u4F5C\u65B9\u6CD5"
2806
+ },
2807
+ "nodes-methods": {
2808
+ title: "\u7BC0\u9EDE\u65B9\u6CD5",
2809
+ text: "\u4EE5\u592A\u574A\u3001BNB \u667A\u80FD..."
2810
+ },
2811
+ "explorer-api": {
2812
+ title: "\u8CC7\u6E90\u7BA1\u7406\u5668API",
2813
+ text: "Near Protocol"
2814
+ },
2815
+ faucet: {
2816
+ title: "\u9F99\u5934",
2817
+ text: "\u514D\u8D39\u6D4B\u8BD5\u7F51\u4EE3\u5E01"
2818
+ }
2819
+ },
2820
+ banner: {
2821
+ title: "\u4E86\u89E3\u5982\u4F55\u5728 50 \u591A\u500B\u93C8\u4E0A\u8ABF\u7528 RPC \u65B9\u6CD5",
2822
+ text: "Web3 \u7684 API \u6587\u6A94"
2823
+ }
2824
+ },
2825
+ company: {
2826
+ title: "\u516C\u53F8",
2827
+ items: {
2828
+ "about-us": {
2829
+ title: "\u95DC\u65BC\u6211\u5011",
2830
+ text: "\u4EC0\u9EBC\u662F GetBlock"
2831
+ },
2832
+ faq: {
2833
+ title: "FAQ",
2834
+ text: "\u7D93\u5E38\u554F\u7684\u554F\u984C"
2835
+ },
2836
+ contact: {
2837
+ title: "\u63A5\u89F8",
2838
+ text: "\u806F\u7E6B\u6211\u5011\u7684\u5718\u968A"
2839
+ },
2840
+ blog: {
2841
+ title: "\u535A\u5BA2",
2842
+ text: "\u6307\u5357\u3001\u65B0\u805E\u3001\u66F4\u65B0"
2843
+ },
2844
+ "use-cases": {
2845
+ title: "\u7528\u4F8B",
2846
+ text: "\u4F7F\u7528\u8005\u898B\u89E3\u548C\u8A55\u8AD6"
2847
+ },
2848
+ "affiliate-program": {
2849
+ title: "\u8054\u76DF\u8BA1\u5212",
2850
+ text: "\u63A8\u8350\u6211\u4EEC\u5E76\u8D5A\u53D6\u5956\u52B1"
2851
+ }
2852
+ },
2853
+ banner: {
2854
+ title: "\u501F\u52A9 GetBlock\uFF0C\u6211\u5011\u59CB\u7D42\u53EF\u4EE5\u6BEB\u4E0D\u5EF6\u9072\u5730\u5F9E\u5340\u584A\u93C8\u7372\u5F97\u6E96\u78BA\u3001\u53CA\u6642\u7684\u4FE1\u606F",
2855
+ text: "\u4E86\u89E3\u66F4\u591A"
2856
+ }
2857
+ }
2858
+ }, Ss = {
2859
+ blog: "blog",
2860
+ "/": "home",
2861
+ appchain: "app_chain",
2862
+ marketplace: "marketplace",
2863
+ explorers: "explorer",
2864
+ nodes: "chain_list",
2865
+ faucet: "faucet",
2866
+ "affiliate-program": "affiliate_program",
2867
+ "ambassadors-program": "ambassador_program",
2868
+ "enterprise-api": "enterprise",
2869
+ "node-clusters": "node_cluster",
2870
+ "dedicated-nodes": "dedicated_nodes",
2871
+ tracker: "tracker",
2872
+ about: "about_us",
2873
+ faq: "faq",
2874
+ contact: "contact",
2875
+ "case-studies": "use_case",
2876
+ sla: "sla",
2877
+ "terms-of-service": "legal_documents",
2878
+ "privacy-policy": "legal_documents",
2879
+ "cookie-policy": "legal_documents",
2880
+ "subscription-policy": "legal_documents",
2881
+ "refund-policy": "legal_documents",
2882
+ "media-kit": "media_kit",
2883
+ "near-startup-program": "near_startup"
2884
+ }, Fs = { class: "border-b-2 border-border-base py-4 flex justify-between items-center max-w-[1248px] mx-auto xl:px-0 lg:px-2 md:px-4 sm:px-4 xs:px-4" }, Bs = ["href"], Ls = { class: "xl:flex lg:flex md:hidden sm:hidden xs:hidden gap-2 items-center justify-center" }, Os = { class: "text-text-main dark:text-text-dark-main" }, Us = ["href"], $s = { class: "text-text-main dark:text-text-dark-main" }, Qs = { class: "xl:flex lg:flex md:hidden sm:hidden xs:hidden gap-2 items-center" }, Gs = { class: "relative" }, Ys = { class: "right-0 top-[55px] absolute lang-dropdown rounded-16 border-border-base bg-text-color-bg p-[6px] w-[197px]" }, Ps = ["href"], Vs = { class: "xl:hidden lg:hidden md:block sm:block xs:block" }, Ws = { src: "https://storage.getblock.io/web/getblock-ui-kit/navbar/hamburger.svg" }, Rs = {
2885
+ key: 0,
2886
+ class: "flex justify-between max-w-[1280px] gap-4 mx-auto xl:px-0 px-6"
2887
+ }, Hs = { class: "grid grid-cols-2 gap-x-4 gap-y-2 flex-shrink-0 h-fit" }, Zs = ["href"], Xs = { class: "relative navigation-item__icon flex items-center justify-center w-[52px] h-[52px] rounded-16" }, Js = {
2888
+ key: 0,
2889
+ class: "absolute -top-0.5 -right-0.5 block w-3 h-3 rounded-full border-2 border-[#F5F6F7] bg-icons-alert"
2890
+ }, Ks = ["alt", "src"], qs = { class: "flex flex-col gap-1" }, ei = { class: "flex items-center gap-1 text-text-main dark:text-text-dark-main font-medium leading-5" }, ti = { class: "flex items-center justify-center h-[16px] w-[34px] bg-surface-attention text-text-attention rounded-[32px] text-[10px] font-medium" }, li = { class: "text-text-secondary dark:text-text-dark-secondary text-xs font-medium" }, ai = {
2891
+ key: 0,
2892
+ class: "flex items-center justify-between gap-10 w-full rounded-24 px-12 py-16 relative",
2893
+ href: "https://account.getblock.io",
2894
+ target: "_blank"
2895
+ }, oi = { class: "text-text-color-bg" }, ni = { class: "font-bold text-lg leading-6 mb-4 max-w-[234px]" }, si = { class: "flex items-center gap-2" }, ii = { class: "font-medium" }, ci = {
2896
+ key: 1,
2897
+ class: "flex-1 navigation-block__banner-developers relative rounded-24 px-12 py-12"
2898
+ }, ui = { class: "font-bold text-lg leading-6 mb-4 max-w-[205px]" }, ri = { class: "text-text-secondary text-sm" }, di = {
2899
+ key: 2,
2900
+ class: "flex-1 flex items-center gap-2 navigation-block__banner-company relative rounded-24 p-12",
2901
+ href: "/case-studies/etherdrops/"
2902
+ }, pi = { class: "flex flex-col gap-4 relative z-10 text-text-color-bg" }, gi = { class: "font-bold text-lg leading-6 max-w-[457px]" }, xi = { class: "flex items-center gap-2" }, mi = { class: "flex xs:flex-col gap-3 items-center" }, vi = ["href"], hi = { class: "text-lg text-text-main font-bold pt-3 pb-6 border-b border-border-base" }, ki = {
2903
+ key: 0,
2904
+ class: "grid grid-cols-2 xs:grid-cols-1 flex-shrink-0 mt-6 gap-x-4 gap-y-2"
2905
+ }, _i = ["href"], yi = { class: "relative navigation-item__icon flex items-center justify-center w-[52px] h-[52px] rounded-16" }, bi = {
2906
+ key: 0,
2907
+ class: "absolute -top-0.5 -right-0.5 block w-3 h-3 rounded-full border-2 border-[#F5F6F7] bg-icons-alert"
2908
+ }, fi = ["alt", "src"], Mi = { class: "flex flex-col gap-1" }, Ii = { class: "flex items-center gap-1 text-text-main dark:text-text-dark-main font-medium leading-5" }, Ti = { class: "flex items-center justify-center h-[16px] w-[34px] bg-surface-attention text-text-attention rounded-[32px] text-[10px] font-medium" }, Ni = { class: "text-text-secondary dark:text-text-dark-secondary text-xs font-medium" }, Di = { class: "relative" }, ji = { class: "text-lg text-text-main font-bold pt-3 pb-6 border-b border-border-base" }, zi = { class: "mt-6 font-bold text-xs text-text-secondary mb-2" }, Ei = ["alt", "src"], wi = { class: "ml-3 font-medium text-sm" }, Ci = {
2909
+ key: 0,
2910
+ class: "left-0 bottom-[52px] w-full absolute lang-dropdown rounded-16 border-border-base bg-text-color-bg p-[6px]"
2911
+ }, Ne = 78, Ai = /* @__PURE__ */ H({
2912
+ __name: "Navbar",
2913
+ props: {
2914
+ locale: {
2915
+ type: String,
2916
+ default: "en"
2917
+ },
2918
+ showLanguageSetting: {
2919
+ type: Boolean,
2920
+ default: !1
2921
+ }
2922
+ },
2923
+ emits: ["open-contact-modal", "account-button-pressed", "update-language"],
2924
+ setup(r, { emit: s }) {
2925
+ const l = r, x = s, o = _([
2926
+ {
2927
+ key: "products",
2928
+ open: !1,
2929
+ items: [
2930
+ {
2931
+ key: "rpc-service",
2932
+ path: "/nodes"
2933
+ },
2934
+ {
2935
+ key: "appchain",
2936
+ path: "/appchain",
2937
+ beta: !0
2938
+ },
2939
+ {
2940
+ key: "enterprise",
2941
+ path: "/enterprise-api"
2942
+ },
2943
+ {
2944
+ key: "dedicated-nodes",
2945
+ path: "/dedicated-nodes"
2946
+ },
2947
+ {
2948
+ key: "nodes-cluster",
2949
+ path: "/node-clusters"
2950
+ }
2951
+ ]
2952
+ },
2953
+ {
2954
+ key: "pricing",
2955
+ open: !1,
2956
+ items: [
2957
+ {
2958
+ key: "pricing",
2959
+ path: "/pricing"
2960
+ }
2961
+ ]
2962
+ },
2963
+ {
2964
+ key: "developers",
2965
+ open: !1,
2966
+ items: [
2967
+ {
2968
+ key: "documentation",
2969
+ path: "/docs"
2970
+ },
2971
+ {
2972
+ key: "nodes-methods",
2973
+ path: "/docs/api-reference/overview"
2974
+ },
2975
+ {
2976
+ key: "get-started",
2977
+ path: "/docs/get-started/how-to-setup-an-account"
2978
+ },
2979
+ {
2980
+ key: "guides",
2981
+ path: "/docs/guides/endpoint-setup/creating-node-endpoints"
2982
+ },
2983
+ {
2984
+ key: "faucet",
2985
+ path: "/faucet"
2986
+ }
2987
+ ]
2988
+ },
2989
+ {
2990
+ key: "company",
2991
+ open: !1,
2992
+ items: [
2993
+ {
2994
+ key: "about-us",
2995
+ path: "/about"
2996
+ },
2997
+ {
2998
+ key: "blog",
2999
+ path: "/blog"
3000
+ },
3001
+ {
3002
+ key: "faq",
3003
+ path: "/faq"
3004
+ },
3005
+ {
3006
+ key: "contact",
3007
+ path: "/contact"
3008
+ },
3009
+ {
3010
+ key: "affiliate-program",
3011
+ path: "/affiliate-program"
3012
+ },
3013
+ {
3014
+ key: "use-cases",
3015
+ path: "/case-studies"
3016
+ }
3017
+ ]
3018
+ }
3019
+ ]), p = _([
3020
+ {
3021
+ code: "en",
3022
+ fullCode: "en-gb",
3023
+ name: "English"
3024
+ },
3025
+ {
3026
+ code: "cn",
3027
+ fullCode: "zh-cn",
3028
+ name: "Chinese"
3029
+ }
3030
+ ]), i = _(0), m = _(!1), t = _(!1), y = _(0), v = () => {
3031
+ m.value = !1, x("open-contact-modal");
3032
+ }, B = () => {
3033
+ const D = window == null ? void 0 : window.location.href, h = (window == null ? void 0 : window.location.pathname.replace(/^\/|\/$/g, "").split("/")[0]) || "/";
3034
+ return { url: D, path: h };
3035
+ }, Q = M(() => window == null ? void 0 : window.location.href);
3036
+ ie(Q, () => {
3037
+ if (window) {
3038
+ const { url: D, path: h } = B(), g = Ss[h] || "";
3039
+ Ge.set("registration_source", g, {
3040
+ expires: 365,
3041
+ domain: ".getblock.io",
3042
+ path: "/",
3043
+ sameSite: "Lax"
3044
+ }), Ge.set("url", D, {
3045
+ expires: 365,
3046
+ domain: ".getblock.io",
3047
+ path: "/",
3048
+ sameSite: "Lax"
3049
+ });
3050
+ }
3051
+ }, { immediate: !0 });
3052
+ const w = () => {
3053
+ x("account-button-pressed");
3054
+ }, f = (D) => {
3055
+ t.value = !1, x("update-language", D);
3056
+ }, z = () => {
3057
+ typeof window < "u" && (y.value = window.scrollY);
3058
+ }, G = () => {
3059
+ const D = document.getElementById("announcement");
3060
+ D ? i.value = D.offsetHeight : i.value = 0;
3061
+ }, U = (D) => l.locale === "cn" ? D.includes("/docs/") ? `/docs/cn${D.replace("/docs/", "/")}` : D.includes("/explorer/") ? `/explorer/cn${D.replace("/explorer/", "/")}` : D.includes("/explorers/") ? `/explorers/cn${D.replace("/explorers/", "/")}` : D.includes("/blog/") ? "/blog/cn/" : `/cn${D}` : D, L = () => {
3062
+ t.value = !t.value, o.value = o.value.map((D) => ({
3063
+ ...D,
3064
+ open: !1
3065
+ }));
3066
+ }, Y = (D) => {
3067
+ t.value = !1, D.key === "mouseleave" ? o.value = o.value.map((h) => ({
3068
+ ...h,
3069
+ open: !1
3070
+ })) : o.value = o.value.map((h) => h.key === D.key ? {
3071
+ ...h,
3072
+ open: !0
3073
+ } : {
3074
+ ...h,
3075
+ open: !1
3076
+ });
3077
+ }, W = M(() => y.value < i.value ? Ne + i.value - y.value : Ne), I = M(() => l.locale === "en" || l.locale === "en-gb" ? Cs : As), C = M(() => {
3078
+ var D;
3079
+ return typeof window < "u" && (D = window == null ? void 0 : window.location) != null && D.hostname ? `https://account.${window.location.hostname}/` : "https://account.getblock.io/";
3080
+ });
3081
+ return Me(() => {
3082
+ G(), z(), typeof window < "u" && (window.location.search && localStorage.setItem("queryString", window.location.search), window.addEventListener("scroll", z, { passive: !0 }), window.addEventListener("resize", G, { passive: !0 }));
3083
+ }), we(() => {
3084
+ typeof window < "u" && window.removeEventListener("scroll", z), typeof window < "u" && window.removeEventListener("resize", G);
3085
+ }), (D, h) => (n(), u("nav", {
3086
+ class: "bg-text-color-bg sticky top-0 z-20",
3087
+ onMouseleave: h[6] || (h[6] = (g) => Y({ key: "mouseleave" }))
3088
+ }, [
3089
+ e("div", Fs, [
3090
+ e("a", {
3091
+ href: U("/")
3092
+ }, [...h[7] || (h[7] = [
3093
+ e("img", {
3094
+ alt: "GetBlock.io",
3095
+ class: "logo",
3096
+ height: "32",
3097
+ src: "https://storage.getblock.io/web/getblock-ui-kit/logo_blue.svg",
3098
+ width: "182"
3099
+ }, null, -1)
3100
+ ])], 8, Bs),
3101
+ e("div", Ls, [
3102
+ (n(!0), u(T, null, E(o.value, (g) => (n(), u(T, null, [
3103
+ g.key !== "pricing" ? (n(), ne(a(ee), {
3104
+ key: g.key,
3105
+ "color-type": "transparent",
3106
+ "size-type": "small",
3107
+ onMouseover: (N) => Y(g)
3108
+ }, {
3109
+ default: S(() => [
3110
+ e("p", Os, c(I.value[g.key].title), 1),
3111
+ k(a(O), {
3112
+ "color-type": "secondary",
3113
+ "icon-name": "chevron-down",
3114
+ class: d({ "transform rotate-180": g.open })
3115
+ }, null, 8, ["class"])
3116
+ ]),
3117
+ _: 2
3118
+ }, 1032, ["onMouseover"])) : (n(), u("a", {
3119
+ key: 1,
3120
+ href: U("/pricing/")
3121
+ }, [
3122
+ (n(), ne(a(ee), {
3123
+ key: g.key,
3124
+ "color-type": "transparent",
3125
+ "size-type": "small"
3126
+ }, {
3127
+ default: S(() => [
3128
+ e("p", $s, c(I.value[g.key].title), 1)
3129
+ ]),
3130
+ _: 2
3131
+ }, 1024))
3132
+ ], 8, Us))
3133
+ ], 64))), 256))
3134
+ ]),
3135
+ e("div", Qs, [
3136
+ e("div", Gs, [
3137
+ k(a(ee), {
3138
+ "color-type": "transparent",
3139
+ "icon-button": "",
3140
+ "size-type": "medium",
3141
+ onClick: L
3142
+ }, {
3143
+ default: S(() => [
3144
+ k(a(O), {
3145
+ "color-type": "secondary",
3146
+ "icon-name": "settings-02"
3147
+ })
3148
+ ]),
3149
+ _: 1
3150
+ }),
3151
+ X(e("div", Ys, [
3152
+ e("button", {
3153
+ class: d(["flex gap-3 p-3 rounded-12 hover:bg-surface-additional w-full", { "text-text-action": l.locale === "en" }]),
3154
+ onClick: h[0] || (h[0] = (g) => f(p.value[0]))
3155
+ }, [...h[8] || (h[8] = [
3156
+ e("img", {
3157
+ alt: "en",
3158
+ height: "20",
3159
+ src: "https://storage.getblock.io/web/getblock-ui-kit/languages/en_v2.svg",
3160
+ width: "20"
3161
+ }, null, -1),
3162
+ e("span", { class: "font-medium text-sm" }, "English", -1)
3163
+ ])], 2),
3164
+ e("button", {
3165
+ class: d(["flex gap-3 p-3 rounded-12 hover:bg-surface-additional w-full", { "text-text-action": l.locale === "cn" }]),
3166
+ onClick: h[1] || (h[1] = (g) => f(p.value[1]))
3167
+ }, [...h[9] || (h[9] = [
3168
+ e("img", {
3169
+ alt: "cn",
3170
+ height: "20",
3171
+ src: "https://storage.getblock.io/web/getblock-ui-kit/languages/cn_v2.svg",
3172
+ width: "20"
3173
+ }, null, -1),
3174
+ e("span", { class: "font-medium text-sm" }, "\u4E2D\u6587", -1)
3175
+ ])], 2)
3176
+ ], 512), [
3177
+ [ae, t.value]
3178
+ ])
3179
+ ]),
3180
+ k(a(ee), {
3181
+ "color-type": "tint",
3182
+ "size-type": "medium",
3183
+ onClick: v
3184
+ }, {
3185
+ default: S(() => [
3186
+ ce(c(I.value.contact), 1)
3187
+ ]),
3188
+ _: 1
3189
+ }),
3190
+ e("a", { href: C.value }, [
3191
+ k(a(ee), {
3192
+ "size-type": "medium",
3193
+ onClick: w
3194
+ }, {
3195
+ default: S(() => [
3196
+ e("p", null, c(I.value.dashboard), 1),
3197
+ k(a(O), {
3198
+ "color-type": "color-bg",
3199
+ "icon-name": "cursor-click-01"
3200
+ })
3201
+ ]),
3202
+ _: 1
3203
+ })
3204
+ ], 8, Ps)
3205
+ ]),
3206
+ e("div", Vs, [
3207
+ k(a(ee), {
3208
+ class: "",
3209
+ "color-type": "accent",
3210
+ "icon-button": "",
3211
+ onClick: h[2] || (h[2] = (g) => m.value = !m.value)
3212
+ }, {
3213
+ default: S(() => [
3214
+ X(e("img", Ws, null, 512), [
3215
+ [ae, !m.value]
3216
+ ]),
3217
+ X(k(a(O), {
3218
+ "color-type": "color-bg",
3219
+ "icon-name": "x-close"
3220
+ }, null, 512), [
3221
+ [ae, m.value]
3222
+ ])
3223
+ ]),
3224
+ _: 1
3225
+ })
3226
+ ])
3227
+ ]),
3228
+ (n(!0), u(T, null, E(o.value, (g) => X((n(), u("div", {
3229
+ key: g.key,
3230
+ class: d(["bg-text-color-bg navigation-block w-full absolute py-8 border-b-2 border-border-base", `top-[${Ne}px]`])
3231
+ }, [
3232
+ g.key !== "explorer" ? (n(), u("div", Rs, [
3233
+ e("div", Hs, [
3234
+ (n(!0), u(T, null, E(g.items, (N) => (n(), u("a", {
3235
+ key: N.key,
3236
+ class: "min-w-[300px] cursor-pointer navigation-item flex gap-4 items-center hover:bg-surface-additional rounded-24 pl-2 py-2",
3237
+ href: U(`${N.path}/`)
3238
+ }, [
3239
+ e("div", Xs, [
3240
+ N.key === "rpc-service" ? (n(), u("div", Js)) : A("", !0),
3241
+ e("img", {
3242
+ height: "24",
3243
+ width: "24",
3244
+ alt: N.key,
3245
+ src: `https://storage.getblock.io/web/getblock-ui-kit/newNavbar/${g.key}/${N.key}.svg`
3246
+ }, null, 8, Ks)
3247
+ ]),
3248
+ e("div", qs, [
3249
+ e("p", ei, [
3250
+ ce(c(I.value[g.key].items[N.key].title) + " ", 1),
3251
+ X(e("span", ti, " Beta ", 512), [
3252
+ [ae, N.beta]
3253
+ ])
3254
+ ]),
3255
+ e("p", li, c(I.value[g.key].items[N.key].text), 1)
3256
+ ])
3257
+ ], 8, Zs))), 128))
3258
+ ]),
3259
+ g.key === "products" ? (n(), u("a", ai, [
3260
+ e("div", oi, [
3261
+ e("p", ni, c(I.value.products.banner.title), 1),
3262
+ e("div", si, [
3263
+ e("p", ii, c(I.value.products.banner.text), 1),
3264
+ k(a(O), {
3265
+ "color-type": "color-bg",
3266
+ "icon-name": "chevron-right"
3267
+ })
3268
+ ])
3269
+ ]),
3270
+ h[10] || (h[10] = e("img", {
3271
+ alt: "banner image",
3272
+ class: "absolute w-full left-0 top-0 products_banner_img",
3273
+ src: "https://storage.getblock.io/web/getblock-ui-kit/newNavbar/products/banner-img-2.svg"
3274
+ }, null, -1))
3275
+ ])) : A("", !0),
3276
+ g.key === "developers" ? (n(), u("div", ci, [
3277
+ e("p", ui, c(I.value.developers.banner.title), 1),
3278
+ e("p", ri, c(I.value.developers.banner.text), 1)
3279
+ ])) : A("", !0),
3280
+ g.key === "company" ? (n(), u("a", di, [
3281
+ e("div", pi, [
3282
+ h[11] || (h[11] = e("img", {
3283
+ alt: "drops tab image",
3284
+ class: "relative z-10",
3285
+ height: "24",
3286
+ src: "https://storage.getblock.io/web/getblock-ui-kit/newNavbar/company/drops-tab-icon.svg",
3287
+ width: "107"
3288
+ }, null, -1)),
3289
+ e("p", gi, c(I.value.company.banner.title), 1),
3290
+ e("div", xi, [
3291
+ e("p", null, c(I.value.company.banner.text), 1),
3292
+ k(a(O), {
3293
+ "color-type": "color-bg",
3294
+ "icon-name": "chevron-right",
3295
+ "size-type": "small"
3296
+ })
3297
+ ])
3298
+ ])
3299
+ ])) : A("", !0)
3300
+ ])) : A("", !0)
3301
+ ], 2)), [
3302
+ [ae, g.open]
3303
+ ])), 128)),
3304
+ m.value ? (n(), u("div", {
3305
+ key: 0,
3306
+ class: "bg-text-color-bg flex flex-col gap-6 w-full fixed px-16 py-6 sm:px-8 sm:py-6 xs:p-4 overflow-y-scroll",
3307
+ id: "navbarMenu",
3308
+ style: Ee({
3309
+ height: `calc(100% - ${W.value}px)`,
3310
+ top: `${W.value}px`
3311
+ })
3312
+ }, [
3313
+ e("div", mi, [
3314
+ k(a(ee), {
3315
+ class: "xl:flex-1 lg:flex-1 md:flex-1 sm:flex-1 justify-center xs:w-full flex-shrink-0 h-[52px]",
3316
+ "color-type": "tint",
3317
+ onClick: v
3318
+ }, {
3319
+ default: S(() => [
3320
+ ce(c(I.value.contact), 1)
3321
+ ]),
3322
+ _: 1
3323
+ }),
3324
+ e("a", {
3325
+ class: "flex-1 xs:w-full",
3326
+ href: C.value
3327
+ }, [
3328
+ k(a(ee), {
3329
+ class: "w-full flex-shrink-0 h-[52px] justify-center",
3330
+ onClick: w
3331
+ }, {
3332
+ default: S(() => [
3333
+ e("p", null, c(I.value.dashboard), 1),
3334
+ k(a(O), {
3335
+ "color-type": "color-bg",
3336
+ "icon-name": "cursor-click-01"
3337
+ })
3338
+ ]),
3339
+ _: 1
3340
+ })
3341
+ ], 8, vi)
3342
+ ]),
3343
+ (n(!0), u(T, null, E(o.value, (g) => (n(), u("div", {
3344
+ key: g.key
3345
+ }, [
3346
+ e("p", hi, c(I.value[g.key].title), 1),
3347
+ g.key !== "explorer" ? (n(), u("div", ki, [
3348
+ (n(!0), u(T, null, E(g.items, (N) => (n(), u("a", {
3349
+ key: N.key,
3350
+ class: "min-w-[300px] cursor-pointer navigation-item flex gap-4 items-center hover:bg-surface-additional rounded-24 pl-2 py-2",
3351
+ href: U(`${N.path}/`)
3352
+ }, [
3353
+ e("div", yi, [
3354
+ N.key === "chain-list" ? (n(), u("div", bi)) : A("", !0),
3355
+ e("img", {
3356
+ height: "24",
3357
+ width: "24",
3358
+ alt: N.key,
3359
+ src: `https://storage.getblock.io/web/getblock-ui-kit/newNavbar/${g.key}/${N.key}.svg`
3360
+ }, null, 8, fi)
3361
+ ]),
3362
+ e("div", Mi, [
3363
+ e("p", Ii, [
3364
+ ce(c(I.value[g.key].items[N.key].title) + " ", 1),
3365
+ X(e("span", Ti, " Beta ", 512), [
3366
+ [ae, N.beta]
3367
+ ])
3368
+ ]),
3369
+ e("p", Ni, c(I.value[g.key].items[N.key].text), 1)
3370
+ ])
3371
+ ], 8, _i))), 128))
3372
+ ])) : A("", !0)
3373
+ ]))), 128)),
3374
+ e("div", Di, [
3375
+ e("p", ji, c(I.value.settings), 1),
3376
+ e("p", zi, c(I.value.language), 1),
3377
+ e("button", {
3378
+ class: "w-full flex items-center bg-surface-additional hover:bg-button-secondary-hover px-4 py-3 rounded-16",
3379
+ onClick: h[3] || (h[3] = (g) => t.value = !t.value)
3380
+ }, [
3381
+ e("img", {
3382
+ height: "20",
3383
+ width: "20",
3384
+ alt: l.locale,
3385
+ src: `https://storage.getblock.io/web/getblock-ui-kit/languages/${l.locale}_v2.svg`
3386
+ }, null, 8, Ei),
3387
+ e("span", wi, c(l.locale === "en" ? "English" : "\u4E2D\u6587"), 1),
3388
+ k(a(O), {
3389
+ class: d(["ml-auto", { "transform rotate-180": t.value }]),
3390
+ "color-type": "tertiary",
3391
+ "icon-name": "chevron-down"
3392
+ }, null, 8, ["class"])
3393
+ ]),
3394
+ t.value ? (n(), u("div", Ci, [
3395
+ e("button", {
3396
+ class: d(["flex gap-3 p-3 rounded-12 hover:bg-surface-additional w-full", { "text-text-action": l.locale === "en" }]),
3397
+ onClick: h[4] || (h[4] = (g) => f(p.value[0]))
3398
+ }, [...h[12] || (h[12] = [
3399
+ e("img", {
3400
+ alt: "en",
3401
+ height: "20",
3402
+ src: "https://storage.getblock.io/web/getblock-ui-kit/languages/en_v2.svg",
3403
+ width: "20"
3404
+ }, null, -1),
3405
+ e("span", { class: "font-medium text-sm" }, "English", -1)
3406
+ ])], 2),
3407
+ e("button", {
3408
+ class: d(["flex gap-3 p-3 rounded-12 hover:bg-surface-additional w-full", { "text-text-action": l.locale === "cn" }]),
3409
+ onClick: h[5] || (h[5] = (g) => f(p.value[1]))
3410
+ }, [...h[13] || (h[13] = [
3411
+ e("img", {
3412
+ alt: "cn",
3413
+ height: "20",
3414
+ src: "https://storage.getblock.io/web/getblock-ui-kit/languages/cn_v2.svg",
3415
+ width: "20"
3416
+ }, null, -1),
3417
+ e("span", { class: "font-medium text-sm" }, "\u4E2D\u6587", -1)
3418
+ ])], 2)
3419
+ ])) : A("", !0)
3420
+ ])
3421
+ ], 4)) : A("", !0)
3422
+ ], 32));
3423
+ }
3424
+ });
3425
+ const gu = /* @__PURE__ */ ke(Ai, [["__scopeId", "data-v-2b745cc7"]]), Si = {
3426
+ text: "New Here? Claim Your 30% Discount on Your First Blockchain Node Access!",
3427
+ button: "Learn more"
3428
+ }, Fi = {
3429
+ text: "\u65B0\u6765\u7684\uFF1F\u9996\u6B21\u8BBF\u95EE\u533A\u5757\u94FE\u8282\u70B9\u5373\u53EF\u4EAB\u53D7 30% \u6298\u6263\uFF01",
3430
+ button: "\u4E86\u89E3\u66F4\u591A"
3431
+ }, Bi = {
3432
+ id: "announcement",
3433
+ href: "https://welcome-offer.getblock.io/",
3434
+ target: "_blank",
3435
+ class: "getblock-ui-kit-announcement min-h-max flex gap-x-14 xs:gap-x-6 items-center justify-center px-6 xs:py-5"
3436
+ }, Li = { class: "xs:hidden z-2 max-w-[340px] text-lg leading-6 text-left font-bold text-black py-2" }, Oi = { class: "xs:hidden lg:flex xl:flex md:flex sm:flex items-center justify-center gap-2 shrink-0" }, Ui = { class: "text-sm leading-5 font-medium" }, xu = /* @__PURE__ */ H({
3437
+ __name: "Announcement",
3438
+ props: {
3439
+ locale: {
3440
+ type: String,
3441
+ default: "en"
3442
+ }
3443
+ },
3444
+ setup(r) {
3445
+ const s = r, l = M(() => s.locale === "en" || s.locale === "en-gb" ? Si : Fi);
3446
+ return (x, o) => (n(), u("a", Bi, [
3447
+ e("p", Li, c(l.value.text), 1),
3448
+ o[0] || (o[0] = e("img", {
3449
+ class: "xs:w-[190px] xs:h-[55px]",
3450
+ width: "139",
3451
+ height: "40",
3452
+ alt: "banner image",
3453
+ src: "https://storage.getblock.io/web/getblock-ui-kit/announcement/discounts/discount-text.svg"
3454
+ }, null, -1)),
3455
+ e("button", Oi, [
3456
+ e("p", Ui, c(l.value.button), 1),
3457
+ k(a(O), {
3458
+ "color-type": "main",
3459
+ "icon-name": "chevron-right",
3460
+ "size-type": "small"
3461
+ })
3462
+ ])
3463
+ ]));
3464
+ }
3465
+ });
3466
+ const $i = {
3467
+ text: "\u26A1 Join the GetBlock x Lossless Webinar Focused on Web3 App Scaling & Get Free RPC Requests!",
3468
+ button: "Join Webinar"
3469
+ }, Qi = {
3470
+ text: "\u26A1 \u52A0\u5165 GetBlock x \u7121\u640D\u7DB2\u8DEF\u7814\u8A0E\u6703\uFF0C\u5C08\u6CE8\u65BC Web3 \u61C9\u7528\u7A0B\u5F0F\u64F4\u5145\u529F\u80FD\u4E26\u53D6\u5F97\u514D\u8CBB RPC \u8ACB\u6C42\uFF01",
3471
+ button: "\u52A0\u5165\u7DB2\u8DEF\u7814\u8A0E\u6703"
3472
+ }, Gi = {
3473
+ href: "https://docs.google.com/forms/d/e/1FAIpQLSclN37F_RCNiHx1_NvSmE9JiXHOkadujtrVlEJ8YL0eqBAefg/viewform",
3474
+ target: "_blank",
3475
+ id: "announcement",
3476
+ class: "getblock-ui-kit-optional-announcement flex-center"
3477
+ }, Yi = /* @__PURE__ */ H({
3478
+ __name: "OptionalAnnouncement",
3479
+ props: {
3480
+ locale: {
3481
+ type: String,
3482
+ default: "en"
3483
+ }
3484
+ },
3485
+ setup(r) {
3486
+ const s = r, l = M(() => s.locale === "en" || s.locale === "en-gb" ? $i : Qi);
3487
+ return (x, o) => (n(), u("a", Gi, [
3488
+ e("span", null, c(l.value.text), 1),
3489
+ e("button", null, c(l.value.button), 1)
3490
+ ]));
3491
+ }
3492
+ });
3493
+ const mu = /* @__PURE__ */ ke(Yi, [["__scopeId", "data-v-52d2890d"]]), Pi = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjEiIGhlaWdodD0iMjAiIHZpZXdCb3g9IjAgMCAyMSAyMCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTE4IDQuMTY2NzVMMi4xNjY2NyAxMC40MTY3TDggMTEuMjUwMU0xOCA0LjE2Njc1TDE1LjkxNjcgMTYuNjY2N0w4IDExLjI1MDFNMTggNC4xNjY3NUw4IDExLjI1MDFNOCAxMS4yNTAxVjE1LjgzMzRMMTAuNzA3MyAxMy4xMDI1IiBzdHJva2U9IiMwMEEzRkYiIHN0cm9rZS13aWR0aD0iMiIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIi8+Cjwvc3ZnPgo=", Vi = "_getblock_ui_contactFormContainerModal_1id22_1", Wi = "dark", Ri = "_getblock_ui_contactFormContainerPage_1id22_13", Ye = {
3494
+ contactFormContainerModal: Vi,
3495
+ dark: Wi,
3496
+ contactFormContainerPage: Ri
3497
+ }, Hi = [
3498
+ {
3499
+ generalText: "Ethereum",
3500
+ additionalText: "eth",
3501
+ checked: !1,
3502
+ value: "eth"
3503
+ },
3504
+ {
3505
+ generalText: "Bitcoin",
3506
+ additionalText: "btc",
3507
+ checked: !1,
3508
+ value: "btc"
3509
+ },
3510
+ {
3511
+ generalText: "BNB Smart Chain",
3512
+ additionalText: "bsc",
3513
+ checked: !1,
3514
+ value: "bsc"
3515
+ },
3516
+ {
3517
+ generalText: "Polygon",
3518
+ additionalText: "matic",
3519
+ checked: !1,
3520
+ value: "matic"
3521
+ },
3522
+ {
3523
+ generalText: "Avalanche",
3524
+ additionalText: "avax",
3525
+ checked: !1,
3526
+ value: "avax"
3527
+ },
3528
+ {
3529
+ generalText: "Fantom",
3530
+ additionalText: "ftm",
3531
+ checked: !1,
3532
+ value: "ftm"
3533
+ },
3534
+ {
3535
+ generalText: "Optimism",
3536
+ additionalText: "op",
3537
+ checked: !1,
3538
+ value: "op"
3539
+ },
3540
+ {
3541
+ generalText: "Tron",
3542
+ additionalText: "trx",
3543
+ checked: !1,
3544
+ value: "trx"
3545
+ },
3546
+ {
3547
+ generalText: "Blast",
3548
+ additionalText: "blast",
3549
+ checked: !1,
3550
+ value: "blast"
3551
+ },
3552
+ {
3553
+ generalText: "opBNB",
3554
+ additionalText: "opbnb",
3555
+ checked: !1,
3556
+ value: "opbnb"
3557
+ },
3558
+ {
3559
+ generalText: "XRP",
3560
+ additionalText: "xrp",
3561
+ checked: !1,
3562
+ value: "xrp"
3563
+ },
3564
+ {
3565
+ generalText: "Gnosis Chain",
3566
+ additionalText: "gno",
3567
+ checked: !1,
3568
+ value: "gno"
3569
+ },
3570
+ {
3571
+ generalText: "Litecoin",
3572
+ additionalText: "ltc",
3573
+ checked: !1,
3574
+ value: "ltc"
3575
+ },
3576
+ {
3577
+ generalText: "Huobi ECO Chain",
3578
+ additionalText: "heco",
3579
+ checked: !1,
3580
+ value: "heco"
3581
+ },
3582
+ {
3583
+ generalText: "Arbitrum",
3584
+ additionalText: "arb",
3585
+ checked: !1,
3586
+ value: "arb"
3587
+ },
3588
+ {
3589
+ generalText: "Theta",
3590
+ additionalText: "theta",
3591
+ checked: !1,
3592
+ value: "theta"
3593
+ },
3594
+ {
3595
+ generalText: "Aptos",
3596
+ additionalText: "apt",
3597
+ checked: !1,
3598
+ value: "apt"
3599
+ },
3600
+ {
3601
+ generalText: "Near Protocol",
3602
+ additionalText: "near",
3603
+ checked: !1,
3604
+ value: "near"
3605
+ },
3606
+ {
3607
+ generalText: "Bitcoin Cash",
3608
+ additionalText: "bch",
3609
+ checked: !1,
3610
+ value: "bch"
3611
+ },
3612
+ {
3613
+ generalText: "ZCash",
3614
+ additionalText: "zec",
3615
+ checked: !1,
3616
+ value: "zec"
3617
+ },
3618
+ {
3619
+ generalText: "Fuse.io",
3620
+ additionalText: "fuse",
3621
+ checked: !1,
3622
+ value: "fuse"
3623
+ },
3624
+ {
3625
+ generalText: "DogeCoin",
3626
+ additionalText: "doge",
3627
+ checked: !1,
3628
+ value: "doge"
3629
+ },
3630
+ {
3631
+ generalText: "Harmony",
3632
+ additionalText: "one",
3633
+ checked: !1,
3634
+ value: "one"
3635
+ },
3636
+ {
3637
+ generalText: "Cronos",
3638
+ additionalText: "cro",
3639
+ checked: !1,
3640
+ value: "cro"
3641
+ },
3642
+ {
3643
+ generalText: "Moonbeam",
3644
+ additionalText: "glmr",
3645
+ checked: !1,
3646
+ value: "glmr"
3647
+ },
3648
+ {
3649
+ generalText: "Polkadot",
3650
+ additionalText: "dot",
3651
+ checked: !1,
3652
+ value: "dot"
3653
+ },
3654
+ {
3655
+ generalText: "Moonriver",
3656
+ additionalText: "movr",
3657
+ checked: !1,
3658
+ value: "movr"
3659
+ },
3660
+ {
3661
+ generalText: "Cardano",
3662
+ additionalText: "ada",
3663
+ checked: !1,
3664
+ value: "ada"
3665
+ },
3666
+ {
3667
+ generalText: "Kusama",
3668
+ additionalText: "ksm",
3669
+ checked: !1,
3670
+ value: "ksm"
3671
+ },
3672
+ {
3673
+ generalText: "Ethereum Classic",
3674
+ additionalText: "etc",
3675
+ checked: !1,
3676
+ value: "etc"
3677
+ },
3678
+ {
3679
+ generalText: "KuCoin Community Chain ",
3680
+ additionalText: "kcc",
3681
+ checked: !1,
3682
+ value: "kcc"
3683
+ },
3684
+ {
3685
+ generalText: "Rsk",
3686
+ additionalText: "rsk",
3687
+ checked: !1,
3688
+ value: "rsk"
3689
+ },
3690
+ {
3691
+ generalText: "NEM",
3692
+ additionalText: "xem",
3693
+ checked: !1,
3694
+ value: "xem"
3695
+ },
3696
+ {
3697
+ generalText: "Terra 2.0",
3698
+ additionalText: "luna",
3699
+ checked: !1,
3700
+ value: "luna"
3701
+ },
3702
+ {
3703
+ generalText: "Dash",
3704
+ additionalText: "dash",
3705
+ checked: !1,
3706
+ value: "dash"
3707
+ },
3708
+ {
3709
+ generalText: "Cosmos",
3710
+ additionalText: "atom",
3711
+ checked: !1,
3712
+ value: "atom"
3713
+ },
3714
+ {
3715
+ generalText: "TON",
3716
+ additionalText: "ton",
3717
+ checked: !1,
3718
+ value: "ton"
3719
+ },
3720
+ {
3721
+ generalText: "Nervos Network",
3722
+ additionalText: "ckb",
3723
+ checked: !1,
3724
+ value: "ckb"
3725
+ },
3726
+ {
3727
+ generalText: "Ontology",
3728
+ additionalText: "ont",
3729
+ checked: !1,
3730
+ value: "ont"
3731
+ },
3732
+ {
3733
+ generalText: "Bitgert",
3734
+ additionalText: "bitgert",
3735
+ checked: !1,
3736
+ value: "bitgert"
3737
+ },
3738
+ {
3739
+ generalText: "Tezos",
3740
+ additionalText: "xtz",
3741
+ checked: !1,
3742
+ value: "xtz"
3743
+ },
3744
+ {
3745
+ generalText: " Bitcoin-SV",
3746
+ additionalText: "bsv",
3747
+ checked: !1,
3748
+ value: "bsv"
3749
+ },
3750
+ {
3751
+ generalText: "Syscoin",
3752
+ additionalText: "sys",
3753
+ checked: !1,
3754
+ value: "sys"
3755
+ },
3756
+ {
3757
+ generalText: "Bitcoin Gold",
3758
+ additionalText: "btg",
3759
+ checked: !1,
3760
+ value: "btg"
3761
+ },
3762
+ {
3763
+ generalText: "StarkNet",
3764
+ additionalText: "strk",
3765
+ checked: !1,
3766
+ value: "strk"
3767
+ },
3768
+ {
3769
+ generalText: "Monero",
3770
+ additionalText: "xmr",
3771
+ checked: !1,
3772
+ value: "xmr"
3773
+ },
3774
+ {
3775
+ generalText: "DigiByte",
3776
+ additionalText: "dgb",
3777
+ checked: !1,
3778
+ value: "dgb"
3779
+ },
3780
+ {
3781
+ generalText: "NEO",
3782
+ additionalText: "neo",
3783
+ checked: !1,
3784
+ value: "neo"
3785
+ },
3786
+ {
3787
+ generalText: "Algorand",
3788
+ additionalText: "algo",
3789
+ checked: !1,
3790
+ value: "algo"
3791
+ },
3792
+ {
3793
+ generalText: "BitTorrent Chain",
3794
+ additionalText: "bttc",
3795
+ checked: !1,
3796
+ value: "bttc"
3797
+ },
3798
+ {
3799
+ generalText: "Ethereum (Firehose)",
3800
+ additionalText: "firehose-eth",
3801
+ checked: !1,
3802
+ value: "firehose-eth"
3803
+ },
3804
+ {
3805
+ generalText: "Bytecoin",
3806
+ additionalText: "bcn",
3807
+ checked: !1,
3808
+ value: "bcn"
3809
+ },
3810
+ {
3811
+ generalText: "VeChain",
3812
+ additionalText: "vet",
3813
+ checked: !1,
3814
+ value: "vet"
3815
+ },
3816
+ {
3817
+ generalText: "Waves",
3818
+ additionalText: "waves",
3819
+ checked: !1,
3820
+ value: "waves"
3821
+ },
3822
+ {
3823
+ generalText: "Wax",
3824
+ additionalText: "waxp",
3825
+ checked: !1,
3826
+ value: "waxp"
3827
+ },
3828
+ {
3829
+ generalText: "Wemix",
3830
+ additionalText: "wemix",
3831
+ checked: !1,
3832
+ value: "wemix"
3833
+ },
3834
+ {
3835
+ generalText: "Beldex",
3836
+ additionalText: "bdx",
3837
+ checked: !1,
3838
+ value: "bdx"
3839
+ },
3840
+ {
3841
+ generalText: "Zilliqa",
3842
+ additionalText: "zil",
3843
+ checked: !1,
3844
+ value: "zil"
3845
+ },
3846
+ {
3847
+ generalText: "zkSync",
3848
+ additionalText: "zksync",
3849
+ checked: !1,
3850
+ value: "zksync"
3851
+ },
3852
+ {
3853
+ generalText: "Celo",
3854
+ additionalText: "celo",
3855
+ checked: !1,
3856
+ value: "celo"
3857
+ },
3858
+ {
3859
+ generalText: "Polygon (Firehose)",
3860
+ additionalText: "firehose-matic",
3861
+ checked: !1,
3862
+ value: "firehose-matic"
3863
+ },
3864
+ {
3865
+ generalText: "BNB Smart Chain (Firehose)",
3866
+ additionalText: "firehose-bsc",
3867
+ checked: !1,
3868
+ value: "firehose-bsc"
3869
+ },
3870
+ {
3871
+ generalText: "Scroll",
3872
+ additionalText: "scroll",
3873
+ checked: !1,
3874
+ value: "scroll"
3875
+ },
3876
+ {
3877
+ generalText: "Frax",
3878
+ additionalText: "frax",
3879
+ checked: !1,
3880
+ value: "frax"
3881
+ },
3882
+ {
3883
+ generalText: "Injective",
3884
+ additionalText: "inj",
3885
+ checked: !1,
3886
+ value: "inj"
3887
+ },
3888
+ {
3889
+ generalText: "Dymension",
3890
+ additionalText: "dym",
3891
+ checked: !1,
3892
+ value: "dym"
3893
+ },
3894
+ {
3895
+ generalText: "Ronin",
3896
+ additionalText: "ron",
3897
+ checked: !1,
3898
+ value: "ron"
3899
+ },
3900
+ {
3901
+ generalText: "BASE",
3902
+ additionalText: "base",
3903
+ checked: !1,
3904
+ value: "base"
3905
+ },
3906
+ {
3907
+ generalText: "Band Protocol",
3908
+ additionalText: "band",
3909
+ checked: !1,
3910
+ value: "band"
3911
+ },
3912
+ {
3913
+ generalText: "pulsechain",
3914
+ additionalText: "pulse",
3915
+ checked: !1,
3916
+ value: "pulse"
3917
+ },
3918
+ {
3919
+ generalText: "Mina",
3920
+ additionalText: "mina",
3921
+ checked: !1,
3922
+ value: "mina"
3923
+ },
3924
+ {
3925
+ generalText: "Metis",
3926
+ additionalText: "metis",
3927
+ checked: !1,
3928
+ value: "metis"
3929
+ },
3930
+ {
3931
+ generalText: "Mantle",
3932
+ additionalText: "mantle",
3933
+ checked: !1,
3934
+ value: "mantle"
3935
+ },
3936
+ {
3937
+ generalText: "OKTChain",
3938
+ additionalText: "okt",
3939
+ checked: !1,
3940
+ value: "okt"
3941
+ },
3942
+ {
3943
+ generalText: "Linea",
3944
+ additionalText: "linea",
3945
+ checked: !1,
3946
+ value: "linea"
3947
+ },
3948
+ {
3949
+ generalText: "Kroma",
3950
+ additionalText: "kroma",
3951
+ checked: !1,
3952
+ value: "kroma"
3953
+ },
3954
+ {
3955
+ generalText: "Klaytn",
3956
+ additionalText: "klay",
3957
+ checked: !1,
3958
+ value: "klay"
3959
+ },
3960
+ {
3961
+ generalText: "IRISnet",
3962
+ additionalText: "iris",
3963
+ checked: !1,
3964
+ value: "iris"
3965
+ },
3966
+ {
3967
+ generalText: "Polygon zkEVM",
3968
+ additionalText: "polygon-zkevm",
3969
+ checked: !1,
3970
+ value: "polygon-zkevm"
3971
+ },
3972
+ {
3973
+ generalText: "Moonbase-Alpha",
3974
+ additionalText: "moonbase-alpha",
3975
+ checked: !1,
3976
+ value: "moonbase-alpha"
3977
+ },
3978
+ {
3979
+ generalText: "IOTA",
3980
+ additionalText: "miota",
3981
+ checked: !1,
3982
+ value: "miota"
3983
+ },
3984
+ {
3985
+ generalText: "Solana",
3986
+ additionalText: "sol",
3987
+ checked: !1,
3988
+ value: "sol"
3989
+ },
3990
+ {
3991
+ generalText: "Hive",
3992
+ additionalText: "hive",
3993
+ checked: !1,
3994
+ value: "hive"
3995
+ },
3996
+ {
3997
+ generalText: "Sui",
3998
+ additionalText: "sui",
3999
+ checked: !1,
4000
+ value: "sui"
4001
+ },
4002
+ {
4003
+ generalText: "Flow",
4004
+ additionalText: "flow",
4005
+ checked: !1,
4006
+ value: "flow"
4007
+ },
4008
+ {
4009
+ generalText: "Filecoin",
4010
+ additionalText: "fil",
4011
+ checked: !1,
4012
+ value: "fil"
4013
+ },
4014
+ {
4015
+ generalText: "Factom",
4016
+ additionalText: "fct",
4017
+ checked: !1,
4018
+ value: "fct"
4019
+ },
4020
+ {
4021
+ generalText: "Chia",
4022
+ additionalText: "chia",
4023
+ checked: !1,
4024
+ value: "chia"
4025
+ }
4026
+ ];
4027
+ function Zi() {
4028
+ const r = _(null);
4029
+ return {
4030
+ getText: M(() => {
4031
+ if (!!r.value)
4032
+ return r.value;
4033
+ }),
4034
+ loadTexts: async (x) => {
4035
+ if (x === "cn") {
4036
+ const o = await import("./cn.d600ca34.js");
4037
+ r.value = o.cn;
4038
+ } else {
4039
+ const o = await import("./en.101a7f88.js");
4040
+ r.value = o.en;
4041
+ }
4042
+ }
4043
+ };
4044
+ }
4045
+ const Xi = { class: "flex flex-col gap-2" }, Ji = {
4046
+ key: 0,
4047
+ class: "text-xs uppercase font-bold text-text-secondary dark:text-text-dark-secondary"
4048
+ }, Ki = {
4049
+ key: 0,
4050
+ class: "text-xs font-medium text-text-alert dark:text-text-dark-alert"
4051
+ }, qi = { class: "w-full flex flex-col gap-2" }, ec = { class: "uppercase text-xs leading-[14px] font-bold text-text-secondary dark:text-text-dark-secondary" }, tc = { class: "flex flex-col gap-1" }, lc = { class: "text-text-secondary" }, ac = {
4052
+ key: 0,
4053
+ class: "text-xs font-medium text-text-alert dark:text-text-dark-alert"
4054
+ }, oc = {
4055
+ key: 1,
4056
+ class: "m-auto"
4057
+ }, nc = { class: "flex flex-col gap-4" }, sc = { class: "flex gap-4 items-center" }, ic = { class: "text-sm text-text-secondary dark:text-text-dark-secondary font-medium" }, cc = {
4058
+ target: "_blank",
4059
+ href: "https://t.me/GetBlock_Support_Bot",
4060
+ class: "cursor-pointer hover:opacity-60"
4061
+ }, uc = { class: "h-11 flex gap-2 border-2 leading-5 border-[#00A3FF] rounded-12 items-center justify-center" }, rc = { class: "text-[#00A3FF]" }, dc = { class: "gap-1 leading-5 text-center xs:text-left" }, pc = { class: "text-text-secondary dark:text-text-dark-secondary" }, gc = {
4062
+ target: "_blank",
4063
+ href: "https://getblock.io/privacy-policy/",
4064
+ class: "text-text-action dark:text-text-dark-action hover:text-text-dark-tint-blue underline"
4065
+ }, vu = /* @__PURE__ */ H({
4066
+ __name: "ContactForm",
4067
+ props: {
4068
+ locale: {
4069
+ type: String,
4070
+ default: "en"
4071
+ },
4072
+ colorMode: {
4073
+ type: String,
4074
+ default: "light"
4075
+ },
4076
+ loading: {
4077
+ type: Boolean,
4078
+ default: !1
4079
+ },
4080
+ modalOrPage: {
4081
+ type: String,
4082
+ default: "modal"
4083
+ },
4084
+ placeOpenModal: {
4085
+ type: String,
4086
+ default: "other"
4087
+ },
4088
+ successfullySentMessage: {
4089
+ type: Boolean,
4090
+ default: !1
4091
+ },
4092
+ isSendButtonDisabled: {
4093
+ type: Boolean,
4094
+ default: !1
4095
+ }
4096
+ },
4097
+ emits: ["close", "send"],
4098
+ setup(r, { emit: s }) {
4099
+ var J;
4100
+ const l = r, x = s, { getText: o, loadTexts: p } = Zi(), i = ["email", "name", "company"], m = {
4101
+ email: "mail-01",
4102
+ name: "user-03",
4103
+ company: "luggage-02"
4104
+ }, t = _({
4105
+ value: "sales",
4106
+ text: (J = o.value) == null ? void 0 : J.objectRequest.sales
4107
+ }), y = _({
4108
+ email: "",
4109
+ name: "",
4110
+ company: ""
4111
+ }), v = _(""), B = _(null), Q = _(!1), w = _({
4112
+ name: !1,
4113
+ email: !1
4114
+ }), f = _(!1), z = M(() => {
4115
+ var j, F, se;
4116
+ return [
4117
+ { value: "sales", text: (j = o.value) == null ? void 0 : j.objectRequest.sales },
4118
+ { value: "partnership", text: (F = o.value) == null ? void 0 : F.objectRequest.partnership },
4119
+ { value: "support", text: (se = o.value) == null ? void 0 : se.objectRequest.support }
4120
+ ];
4121
+ }), G = M(() => t.value.value === "support" ? i.filter((j) => j !== "company") : i), U = M(() => !/^\S+@\S+\.\S+$/.test(y.value.email.trim()) || !y.value.email.trim()), L = M(() => y.value.name.length !== 0), Y = M(() => {
4122
+ var j, F;
4123
+ return ((F = (j = B.value) == null ? void 0 : j.selectedItems) == null ? void 0 : F.length) !== 0;
4124
+ }), W = M(() => v.value.length < 15), I = (j) => {
4125
+ var F, se, re;
4126
+ return j !== "email" ? (F = o.value) == null ? void 0 : F.errors.name : y.value[j].length < 1 ? (se = o.value) == null ? void 0 : se.errors.email.empty : (re = o.value) == null ? void 0 : re.errors.email.noValid;
4127
+ }, C = () => {
4128
+ window.addEventListener("keydown", h);
4129
+ }, D = () => {
4130
+ window.removeEventListener("keydown", h);
4131
+ }, h = (j) => {
4132
+ j.code === "Enter" && le();
4133
+ }, g = (j) => {
4134
+ var F, se, re, me, ve, he;
4135
+ return String(
4136
+ ((re = (se = (F = o.value) == null ? void 0 : F[j]) == null ? void 0 : se[0]) == null ? void 0 : re.toUpperCase()) + ((he = (me = o.value) == null ? void 0 : me[j]) == null ? void 0 : he.slice(1, (ve = o.value) == null ? void 0 : ve[j].length))
4137
+ );
4138
+ }, N = () => U.value ? (document.querySelector("[name='email']").focus(), w.value.email = !0, !1) : L.value ? t.value.value === "sales" && !Y.value ? (Q.value = !Q.value, !1) : W.value ? (document.querySelector("[name='message']").focus(), f.value = !0, !1) : !0 : (document.querySelector("[name='name']").focus(), w.value.name = !0, !1), $ = (j) => {
4139
+ j !== "other" ? t.value = z.value.find((F) => F.value === j) : t.value = z.value.find((F) => F.value === "support");
4140
+ }, te = (j) => {
4141
+ t.value = j;
4142
+ }, le = () => {
4143
+ var j;
4144
+ if (!l.loading && N()) {
4145
+ const F = {
4146
+ ...y.value,
4147
+ subject: t.value.value,
4148
+ message: v.value
4149
+ };
4150
+ t.value.value === "sales" && (F.selectedNodes = (j = B.value) == null ? void 0 : j.selectedItems), x("send", F);
4151
+ }
4152
+ };
4153
+ return ie(() => l.locale, p, { immediate: !0 }), ie(
4154
+ () => v.value,
4155
+ (j) => {
4156
+ j.length > 15 && (f.value = !1);
4157
+ }
4158
+ ), ie(
4159
+ () => L.value,
4160
+ (j) => {
4161
+ j && (w.value.name = !1);
4162
+ }
4163
+ ), ie(
4164
+ () => U.value,
4165
+ (j) => {
4166
+ j || (w.value.email = !1);
4167
+ }
4168
+ ), ie(
4169
+ () => l.successfullySentMessage,
4170
+ (j) => {
4171
+ j && (v.value = "");
4172
+ }
4173
+ ), $(l.placeOpenModal), Me(() => {
4174
+ C();
4175
+ }), we(() => {
4176
+ D();
4177
+ }), (j, F) => {
4178
+ var se, re, me, ve, he, Se, Fe, Be, Le;
4179
+ return n(), u("div", {
4180
+ class: d(l.modalOrPage === "modal" ? a(Ye).contactFormContainerModal : a(Ye).contactFormContainerPage)
4181
+ }, [
4182
+ e("div", Xi, [
4183
+ l.modalOrPage === "page" ? (n(), u("span", Ji, c((se = a(o)) == null ? void 0 : se.theme), 1)) : A("", !0),
4184
+ k(a(Va), {
4185
+ stretched: "",
4186
+ "tab-items": z.value,
4187
+ "selected-item": t.value,
4188
+ onChangeSelectedItem: te
4189
+ }, null, 8, ["tab-items", "selected-item"])
4190
+ ]),
4191
+ e("div", {
4192
+ class: d(l.modalOrPage === "modal" ? "grid grid-cols-2 gap-y-6 gap-x-4" : "flex flex-col gap-8")
4193
+ }, [
4194
+ (n(!0), u(T, null, E(G.value, (Z, Xe) => (n(), u("div", {
4195
+ key: Z,
4196
+ class: d(["flex flex-col gap-1 first:col-span-2", { "last:col-span-2": Xe === G.value.length - 1 && Z !== "company" }])
4197
+ }, [
4198
+ k(a(pe), {
4199
+ "icon-name": m[Z],
4200
+ "input-name": Z,
4201
+ "status-icon": "none",
4202
+ "input-value": y.value[Z],
4203
+ "onUpdate:inputValue": (_e) => y.value[Z] = _e,
4204
+ placeholder: g(Z)
4205
+ }, {
4206
+ label: S(() => {
4207
+ var _e;
4208
+ return [
4209
+ e("span", {
4210
+ class: d(["font-bold text-xs text-text-secondary dark:text-text-dark-secondary after:content-['*']", { "after:hidden": Z === "company" }])
4211
+ }, c((_e = a(o)) == null ? void 0 : _e[Z]), 3)
4212
+ ];
4213
+ }),
4214
+ _: 2
4215
+ }, 1032, ["icon-name", "input-name", "input-value", "onUpdate:inputValue", "placeholder"]),
4216
+ w.value[Z] && Z !== "company" ? (n(), u("span", Ki, c(I(Z)), 1)) : A("", !0)
4217
+ ], 2))), 128))
4218
+ ], 2),
4219
+ X(e("div", qi, [
4220
+ e("span", ec, c((re = a(o)) == null ? void 0 : re.chainsOfInterest.label), 1),
4221
+ k(a(po), {
4222
+ ref_key: "dropdownWithCheckbox",
4223
+ ref: B,
4224
+ class: "z-10",
4225
+ "update-signal": Q.value,
4226
+ locale: l.locale,
4227
+ placeholder: (me = a(o)) == null ? void 0 : me.chainsOfInterest.placeholder,
4228
+ items: a(Hi)
4229
+ }, null, 8, ["update-signal", "locale", "placeholder", "items"])
4230
+ ], 512), [
4231
+ [ae, t.value.value === "sales"]
4232
+ ]),
4233
+ e("div", tc, [
4234
+ k(a(Ce), {
4235
+ "input-name": "message",
4236
+ "input-value": v.value,
4237
+ "onUpdate:inputValue": F[0] || (F[0] = (Z) => v.value = Z),
4238
+ placeholder: (ve = a(o)) == null ? void 0 : ve.textMessage,
4239
+ onKeydown: fe(ge(le, ["prevent"]), ["enter"])
4240
+ }, {
4241
+ label: S(() => {
4242
+ var Z;
4243
+ return [
4244
+ e("span", lc, c((Z = a(o)) == null ? void 0 : Z.textMessage), 1)
4245
+ ];
4246
+ }),
4247
+ _: 1
4248
+ }, 8, ["input-value", "placeholder", "onKeydown"]),
4249
+ f.value ? (n(), u("span", ac, c((he = a(o)) == null ? void 0 : he.errors.message), 1)) : A("", !0)
4250
+ ]),
4251
+ q(j.$slots, "turnstile-widget"),
4252
+ k(a(ee), {
4253
+ onClick: le,
4254
+ disabled: r.isSendButtonDisabled
4255
+ }, {
4256
+ default: S(() => {
4257
+ var Z;
4258
+ return [
4259
+ l.loading ? (n(), ne(a(Ae), {
4260
+ key: 0,
4261
+ class: "m-auto"
4262
+ })) : (n(), u("span", oc, c((Z = a(o)) == null ? void 0 : Z.button), 1))
4263
+ ];
4264
+ }),
4265
+ _: 1
4266
+ }, 8, ["disabled"]),
4267
+ X(e("div", nc, [
4268
+ e("div", sc, [
4269
+ F[1] || (F[1] = e("div", { class: "h-0.5 w-full bg-bg-additional dark:bg-bg-dark-additional" }, null, -1)),
4270
+ e("span", ic, c((Se = a(o)) == null ? void 0 : Se.or), 1),
4271
+ F[2] || (F[2] = e("div", { class: "h-0.5 w-full bg-bg-additional dark:bg-bg-dark-additional" }, null, -1))
4272
+ ]),
4273
+ e("a", cc, [
4274
+ e("div", uc, [
4275
+ F[3] || (F[3] = e("img", {
4276
+ alt: "telegram",
4277
+ width: "20",
4278
+ height: "20",
4279
+ src: Pi
4280
+ }, null, -1)),
4281
+ e("span", rc, c((Fe = a(o)) == null ? void 0 : Fe.telegram), 1)
4282
+ ])
4283
+ ])
4284
+ ], 512), [
4285
+ [ae, t.value.value === "support"]
4286
+ ]),
4287
+ e("p", dc, [
4288
+ e("span", pc, c((Be = a(o)) == null ? void 0 : Be.footer.text), 1),
4289
+ e("a", gc, c((Le = a(o)) == null ? void 0 : Le.footer.link), 1)
4290
+ ])
4291
+ ], 2);
4292
+ };
4293
+ }
4294
+ }), xc = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYyIiBoZWlnaHQ9IjQyIiB2aWV3Qm94PSIwIDAgMTYyIDQyIiBmaWxsPSJub25lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgo8cGF0aCBkPSJNMTYwIDIzLjUwNjlIMTQzLjg0NVYwLjQ5MzE3MkwxNTkuODczIDAuNDkzMTcyVjUuODg0OTVIMTUwLjc2NFY5LjEzOTc1SDE1OC45ODRWMTQuNTMxNUgxNTAuNzY0VjE4LjExNTFIMTYwVjIzLjUwNjlaIiBmaWxsPSJ1cmwoI3BhaW50MF9saW5lYXJfMzU1MV8xMjMwKSIvPgo8cGF0aCBkPSJNMTQwLjc4OCAyMy41MDY5SDEyNS43NDNWMC40OTMxNzJMMTMyLjY2MiAwLjQ5MzE3MlYxNy40N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0idXNlclNwYWNlT25Vc2UiPgo8c3RvcCBzdG9wLWNvbG9yPSIjRkY5QUJDIi8+CjxzdG9wIG9mZnNldD0iMSIgc3RvcC1jb2xvcj0iI0ZGMzc4QyIvPgo8L2xpbmVhckdyYWRpZW50Pgo8L2RlZnM+Cjwvc3ZnPgo=", mc = {
4295
+ textNewUser: "This Black Friday, get 30% off your first month on any plan",
4296
+ textCurrentUser: "This Black Friday, get 30% off any long-term plan",
4297
+ button: "Start now"
4298
+ }, vc = {
4299
+ textNewUser: "\u8FD9\u4E2A\u9ED1\u8272\u661F\u671F\u4E94\uFF0C\u4EFB\u4F55\u8BA1\u5212\u7684\u7B2C\u4E00\u4E2A\u6708\u5747\u53EF\u4EAB\u53D7 30% \u7684\u6298\u6263",
4300
+ textCurrentUser: "\u8FD9\u4E2A\u9ED1\u8272\u661F\u671F\u4E94\uFF0C\u4EFB\u4F55\u957F\u671F\u8BA1\u5212\u5747\u53EF\u4EAB\u53D7 30% \u6298\u6263",
4301
+ button: "\u73B0\u5728\u5F00\u59CB"
4302
+ }, hc = {
4303
+ id: "announcement",
4304
+ href: "https://account.getblock.io/",
4305
+ target: "_blank",
4306
+ class: "getblock-ui-kit-announcement min-h-max flex gap-x-14 xs:gap-x-6 items-center justify-center px-6 xs:py-5"
4307
+ }, kc = { class: "xs:hidden z-2 max-w-[340px] text-lg leading-6 text-left font-bold text-white py-2" }, _c = { class: "xs:hidden lg:flex xl:flex md:flex sm:flex items-center justify-center gap-2 shrink-0" }, yc = { class: "text-sm leading-5 font-medium text-white" }, bc = /* @__PURE__ */ H({
4308
+ __name: "BlackFridayAnnouncement",
4309
+ props: {
4310
+ locale: {
4311
+ type: String,
4312
+ default: "en"
4313
+ },
4314
+ isNewUser: {
4315
+ type: Boolean,
4316
+ default: !0
4317
+ }
4318
+ },
4319
+ setup(r) {
4320
+ const s = r, l = M(() => s.locale === "en" || s.locale === "en-gb" ? mc : vc);
4321
+ return (x, o) => (n(), u("a", hc, [
4322
+ e("p", kc, c(r.isNewUser ? l.value.textNewUser : l.value.textCurrentUser), 1),
4323
+ o[0] || (o[0] = e("img", {
4324
+ class: "xs:w-[190px] xs:h-[55px]",
4325
+ width: "139",
4326
+ height: "40",
4327
+ alt: "banner image",
4328
+ src: xc
4329
+ }, null, -1)),
4330
+ e("button", _c, [
4331
+ e("p", yc, c(l.value.button), 1),
4332
+ k(a(O), {
4333
+ "color-type": "main",
4334
+ "icon-name": "chevron-right",
4335
+ "size-type": "small"
4336
+ })
4337
+ ])
4338
+ ]));
4339
+ }
4340
+ });
4341
+ const hu = /* @__PURE__ */ ke(bc, [["__scopeId", "data-v-b1f8b955"]]), fc = { class: "progress-circle" }, Mc = {
4342
+ viewBox: "0 0 36 36",
4343
+ class: "progress-circle-svg"
4344
+ }, Ic = {
4345
+ key: 0,
4346
+ src: "https://storage.getblock.io/web/getblock-ui-kit/infoModal/check-icon.svg",
4347
+ class: "progress-text",
4348
+ alt: "check-icon"
4349
+ }, Tc = {
4350
+ key: 1,
4351
+ src: "https://storage.getblock.io/web/getblock-ui-kit/infoModal/error-icon.svg",
4352
+ class: "progress-text",
4353
+ alt: "check-icon"
4354
+ }, Nc = ["innerHTML"], Dc = ["innerHTML"], jc = /* @__PURE__ */ H({
4355
+ __name: "InfoModal",
4356
+ props: {
4357
+ type: { default: "success" },
4358
+ title: {},
4359
+ description: {},
4360
+ duration: { default: 1e4 },
4361
+ isOpen: { type: Boolean }
4362
+ },
4363
+ emits: ["update:isOpen"],
4364
+ setup(r, { emit: s }) {
4365
+ Re((f) => ({
4366
+ v73988699: o.value
4367
+ }));
4368
+ const l = s, x = r, o = _(100), p = _(), i = _(!1), m = _(), t = _(), y = _(0), v = async () => {
4369
+ l("update:isOpen", !1), clearInterval(p.value);
4370
+ };
4371
+ ie(() => x.isOpen, (f) => {
4372
+ f ? (document.getElementsByTagName("body")[0].style.overflowY = "hidden", document.getElementsByTagName("body")[0].style.touchAction = "none", setTimeout(() => {
4373
+ y.value = t.value.clientHeight, t.value.style.height = y.value + "px";
4374
+ }), x.duration !== 0 && (p.value = setInterval(() => {
4375
+ o.value--, o.value === 0 && (v(), clearInterval(p.value), o.value = 100);
4376
+ }, x.duration / 100))) : (document.getElementsByTagName("body")[0].style.overflowY = "", document.getElementsByTagName("body")[0].style.touchAction = "");
4377
+ });
4378
+ const B = (f) => {
4379
+ i.value = !0, m.value = f.changedTouches[0].clientY;
4380
+ }, Q = (f) => {
4381
+ if (!i.value)
4382
+ return;
4383
+ const z = f.changedTouches[0].clientY;
4384
+ m.value < z && t.value && (t.value.style.height = y.value - Math.abs(m.value - z) + "px");
4385
+ }, w = (f) => {
4386
+ i.value = !1, +t.value.style.height.split("px")[0] <= y.value / 1.5 && v(), t.value.style.height = y.value + "px", m.value = null;
4387
+ };
4388
+ return (f, z) => X((n(), u("div", {
4389
+ class: "bg-[#00000033] fixed w-screen h-screen top-0 z-30 flex items-center justify-center xs:!items-end xs:!h-full",
4390
+ onClick: ge(v, ["self"])
4391
+ }, [
4392
+ e("div", {
4393
+ class: "pan bg-white p-[30px] rounded-32 w-[400px] flex flex-col items-center gap-6 xs:w-full xs:!rounded-b dark:bg-[#1e1e1f]",
4394
+ ref_key: "panRef",
4395
+ ref: t,
4396
+ onTouchstart: B,
4397
+ onTouchend: w,
4398
+ onTouchmove: Q
4399
+ }, [
4400
+ e("div", { class: "flex justify-end w-full xs:justify-center" }, [
4401
+ e("img", {
4402
+ src: "https://storage.getblock.io/web/getblock-ui-kit/infoModal/x-close.svg",
4403
+ alt: "close-icon",
4404
+ class: "cursor-pointer xs:!hidden",
4405
+ onClick: v
4406
+ }),
4407
+ z[0] || (z[0] = e("div", { class: "w-8 h-[6px] rounded-[5px] bg-[#E3E3E5] hidden xs:!block dark:bg-[#3B3B3D]" }, null, -1))
4408
+ ]),
4409
+ e("div", fc, [
4410
+ (n(), u("svg", Mc, [
4411
+ e("path", {
4412
+ class: d(["progress-circle-bg", { "progress-circle-bg--error": x.type === "error" }]),
4413
+ d: `M18 2.0845
4414
+ a 15.9155 15.9155 0 1 1 0 31.831
4415
+ a 15.9155 15.9155 0 1 1 0 -31.831`
4416
+ }, null, 2),
4417
+ e("path", {
4418
+ class: d(["progress-circle-fg", { "progress-circle-fg--error": x.type === "error" }]),
4419
+ d: `M18 2.0845
4420
+ a 15.9155 15.9155 0 1 1 0 31.831
4421
+ a 15.9155 15.9155 0 1 1 0 -31.831`
4422
+ }, null, 2)
4423
+ ])),
4424
+ x.type === "success" ? (n(), u("img", Ic)) : (n(), u("img", Tc))
4425
+ ]),
4426
+ e("div", null, [
4427
+ e("p", {
4428
+ class: "font-bold text-[24px] mb-2 dark:text-white",
4429
+ innerHTML: r.title
4430
+ }, null, 8, Nc),
4431
+ e("p", {
4432
+ class: "dark:text-white",
4433
+ innerHTML: r.description
4434
+ }, null, 8, Dc)
4435
+ ]),
4436
+ q(f.$slots, "extra", {}, void 0, !0),
4437
+ q(f.$slots, "buttons", {}, void 0, !0)
4438
+ ], 544)
4439
+ ], 512)), [
4440
+ [ae, r.isOpen]
4441
+ ]);
4442
+ }
4443
+ });
4444
+ const ku = /* @__PURE__ */ ke(jc, [["__scopeId", "data-v-570e7644"]]), zc = (r) => !/^\S+@\S+\.\S+$/.test(r.trim()) || !r.trim(), Pe = (r) => r.length !== 0, Ec = {
4445
+ title: "Enterprise Request",
4446
+ cuAmount: "CU AMOUNT",
4447
+ accessTokens: "ACCESS TOKENS",
4448
+ premiumSupport: "PREMIUM SUPPORT",
4449
+ advancedStatistics: "ADVANCED STATISTICS",
4450
+ next: "Next",
4451
+ companyName: "COMPANY NAME",
4452
+ companyNamePlaceholder: "Enter company name",
4453
+ email: "EMAIL",
4454
+ emailPlaceholder: "Enter email",
4455
+ telegram: "TELEGRAM",
4456
+ telegramPlaceholder: "Enter telegram nickname",
4457
+ textMessage: "TEXT MESSAGE",
4458
+ textMessagePlaceholder: "Enter the message",
4459
+ sendRequest: "Send Request",
4460
+ privacy: {
4461
+ 1: "By clicking \u201CSend request\u201D you agree to our",
4462
+ 2: "Privacy Policy"
4463
+ },
4464
+ success: {
4465
+ title: "We\u2019ve received your request",
4466
+ description: "Our team will reach out to you on Telegram shortly."
4467
+ },
4468
+ tooltip: {
4469
+ support: "Comprehensive support and integration services",
4470
+ statistics: "Monitor all aspects of node usage"
4471
+ },
4472
+ continue: "Continue",
4473
+ notEmptyField: "This field can not be empty",
4474
+ invalidEmail: "Email is not valid"
4475
+ }, wc = {
4476
+ title: "\u4F01\u4E1A\u8BF7\u6C42",
4477
+ cuAmount: "\u6709\u7231",
4478
+ accessTokens: "\u8BBF\u95EE\u4EE4\u724C",
4479
+ premiumSupport: "\u9AD8\u7EA7\u652F\u6301",
4480
+ advancedStatistics: "\u9AD8\u7EA7\u7EDF\u8BA1",
4481
+ next: "\u4E0B",
4482
+ companyName: "\u516C\u53F8\u540D\u79F0",
4483
+ companyNamePlaceholder: "\u8F93\u5165\u516C\u53F8\u540D\u79F0",
4484
+ email: "\u7535\u5B50\u90AE\u4EF6",
4485
+ emailPlaceholder: "\u8F93\u5165\u7535\u5B50\u90AE\u4EF6",
4486
+ telegram: "TELEGRAM",
4487
+ telegramPlaceholder: "\u8F93\u5165\u7535\u62A5\u6635\u79F0",
4488
+ textMessage: "\u77ED\u4FE1",
4489
+ textMessagePlaceholder: "\u8F93\u5165\u6D88\u606F",
4490
+ sendRequest: "\u53D1\u9001\u8BF7\u6C42",
4491
+ privacy: {
4492
+ 1: "\u901A\u8FC7\u5355\u51FB\u201C\u53D1\u9001\u8BF7\u6C42\u201D\uFF0C\u60A8\u540C\u610F\u6211\u4EEC\u7684",
4493
+ 2: "\u9690\u79C1\u653F\u7B56"
4494
+ },
4495
+ success: {
4496
+ title: "\u6211\u4EEC\u6536\u5230\u4E86\u60A8\u7684\u8981\u6C42",
4497
+ description: "\u6211\u4EEC\u7684\u56E2\u961F\u5F88\u5FEB\u5C31\u4F1A\u901A\u8FC7\u7535\u62A5\u4E0E\u60A8\u8054\u7CFB\u3002"
4498
+ },
4499
+ tooltip: {
4500
+ support: "\u5168\u9762\u7684\u652F\u6301\u548C\u96C6\u6210\u670D\u52A1",
4501
+ statistics: "\u76D1\u89C6\u8282\u70B9\u4F7F\u7528\u7684\u6240\u6709\u65B9\u9762"
4502
+ },
4503
+ continue: "\u7EE7\u7EED",
4504
+ notEmptyField: "\u8BE5\u5B57\u6BB5\u4E0D\u80FD\u4E3A\u7A7A",
4505
+ invalidEmail: "\u7535\u5B50\u90AE\u4EF6\u65E0\u6548"
4506
+ }, Cc = { class: "bg-white p-6 rounded-24 w-[400px] flex flex-col gap-8 xs:!rounded-b dark:bg-[#1e1e1f]" }, Ac = {
4507
+ key: 0,
4508
+ class: "flex items-center justify-between"
4509
+ }, Sc = { class: "text-[14px] font-bold gb-text-text-main" }, Fc = {
4510
+ key: 1,
4511
+ class: "flex flex-col gap-4"
4512
+ }, Bc = { class: "w-full flex items-center justify-between" }, Lc = { class: "text-xs gb-text-text-secondary" }, Oc = { class: "gb-text-text-main" }, Uc = { class: "text-xs gb-text-text-secondary font-bold mb-2" }, $c = { class: "flex w-full items-center justify-between" }, Qc = { class: "flex items-center gap-2" }, Gc = { class: "text-[12px] font-bold gb-text-text-main" }, Yc = { class: "min-w-[150px]" }, Pc = { class: "flex w-full items-center justify-between" }, Vc = { class: "flex items-center gap-2" }, Wc = { class: "text-[12px] font-bold gb-text-text-main" }, Rc = { class: "min-w-[150px]" }, Hc = {
4513
+ key: 2,
4514
+ class: "flex flex-col gap-4"
4515
+ }, Zc = { class: "text-xs text-[#8E8E93]" }, Xc = { class: "text-red-500" }, Jc = { class: "text-xs text-[#8E8E93]" }, Kc = { class: "text-red-500" }, qc = { class: "text-xs text-[#8E8E93]" }, eu = { class: "text-red-500" }, tu = {
4516
+ key: 3,
4517
+ class: "flex flex-col gap-4"
4518
+ }, lu = { class: "text-center gb-text-text-main" }, au = { class: "text-[20px] font-bold" }, ou = { class: "flex flex-col gap-4" }, nu = { class: "w-full flex items-center justify-center gap-1" }, su = { class: "font-normal" }, iu = { class: "text-[12px] text-[#8E8E93] text-center" }, cu = {
4519
+ target: "_blank",
4520
+ href: "https://getblock.io/privacy-policy/",
4521
+ class: "text-[#2772F5]"
4522
+ }, _u = /* @__PURE__ */ H({
4523
+ __name: "EnterpriseModal",
4524
+ props: {
4525
+ isOpen: { type: Boolean },
4526
+ locale: { default: "en" },
4527
+ step: { default: 1 },
4528
+ isLoading: { type: Boolean, default: !1 },
4529
+ onboardingMode: { type: Boolean, default: !1 }
4530
+ },
4531
+ emits: ["update:is-open", "update:is-loading", "send", "continue", "back"],
4532
+ setup(r, { emit: s }) {
4533
+ const l = r, x = s, o = M(() => l.locale === "en" || l.locale === "en-gb"), p = M(() => o.value ? Ec : wc), i = Oe({
4534
+ rps: 400,
4535
+ cu_amount: "100 000 000",
4536
+ max_token_amount: { value: "100", text: "100" },
4537
+ premium_support: !0,
4538
+ advanced_statistics: !0,
4539
+ company_name: "",
4540
+ email: "",
4541
+ telegram: "",
4542
+ message: ""
4543
+ }), m = Oe({
4544
+ email: "",
4545
+ company_name: "",
4546
+ telegram: ""
4547
+ }), t = [400, 600, 800, "Custom"], y = [400, 600, 800, "Custom"], v = (I) => {
4548
+ i.rps = I;
4549
+ }, B = {
4550
+ 400: 2e11,
4551
+ 600: 3e11,
4552
+ 800: 4e11,
4553
+ Custom: 5e11
4554
+ }, Q = (I) => new Intl.NumberFormat("en", { notation: "compact" }).format(I), w = (I) => {
4555
+ const C = /[^\d]/;
4556
+ if (I = I.replace(/\s/g, ""), I = I.replace(" ", ""), C.test(I)) {
4557
+ document.activeElement.blur();
4558
+ return;
4559
+ }
4560
+ if (I > B[i.rps]) {
4561
+ i.cu_amount = B[i.rps].toLocaleString("ru"), document.activeElement.blur();
4562
+ return;
4563
+ }
4564
+ I = Number(I).toLocaleString("ru"), i.cu_amount = I;
4565
+ };
4566
+ ie(() => i.rps, (I) => {
4567
+ +i.cu_amount.replace(/\s/g, "") > B[I] && (i.cu_amount = B[i.rps].toLocaleString("ru"));
4568
+ }, { deep: !0 });
4569
+ const f = [
4570
+ { value: "100", text: "100" },
4571
+ { value: "150", text: "150" },
4572
+ { value: "200", text: "200" },
4573
+ { value: "250", text: "250" }
4574
+ ], z = (I) => {
4575
+ i.max_token_amount = I;
4576
+ }, G = () => (m.email = "", m.company_name = "", m.telegram = "", Pe(i.company_name) ? zc(i.email) ? (document.querySelector("[name='email']").focus(), m.email = p.value.invalidEmail, !1) : Pe(i.telegram) ? !0 : (document.querySelector("[name='telegram']").focus(), m.telegram = p.value.notEmptyField, !1) : (document.querySelector("[name='name']").focus(), m.company_name = p.value.notEmptyField, !1)), U = async () => {
4577
+ if (!G())
4578
+ return;
4579
+ const I = {
4580
+ ...i,
4581
+ max_token_amount: +i.max_token_amount.value,
4582
+ cu_amount: +i.cu_amount.replace(/\s/g, ""),
4583
+ is_custom_rps: i.rps === "Custom",
4584
+ rps: i.rps === "Custom" ? 0 : i.rps
4585
+ };
4586
+ x("send", I);
4587
+ }, L = () => {
4588
+ l.step === 1 ? x("continue") : l.step === 2 ? U() : l.step === 3 && (x("continue"), x("update:is-open", !1));
4589
+ }, Y = () => {
4590
+ l.step === 2 && x("back");
4591
+ }, W = {
4592
+ 1: p.value.next,
4593
+ 2: p.value.sendRequest,
4594
+ 3: p.value.continue
4595
+ };
4596
+ return ie(() => l.isOpen, (I) => {
4597
+ I && document ? document.body.classList.add("overflow-hidden") : document.body.classList.remove("overflow-hidden");
4598
+ }, { deep: !0, immediate: !0 }), (I, C) => r.isOpen ? (n(), u("div", {
4599
+ key: 0,
4600
+ class: d(["fixed w-screen h-screen top-0 z-30 flex items-center justify-center xs:!items-end xs:!h-full", r.onboardingMode ? "" : "bg-[#00000033]"]),
4601
+ onClick: C[7] || (C[7] = ge((D) => r.onboardingMode ? () => {
4602
+ } : x("update:is-open", !1), ["self", "stop"]))
4603
+ }, [
4604
+ e("div", Cc, [
4605
+ r.onboardingMode ? A("", !0) : (n(), u("div", Ac, [
4606
+ e("div", {
4607
+ class: d(["p-2 rounded-12", [{ "gb-bg-bg-additional cursor-pointer": r.step === 2 }]]),
4608
+ onClick: Y
4609
+ }, [
4610
+ r.step === 2 ? (n(), ne(a(O), {
4611
+ key: 0,
4612
+ "icon-name": "chevron-left"
4613
+ })) : A("", !0)
4614
+ ], 2),
4615
+ e("p", Sc, c(p.value.title), 1),
4616
+ e("div", {
4617
+ class: "gb-bg-bg-additional p-2 rounded-12 cursor-pointer",
4618
+ onClick: C[0] || (C[0] = (D) => x("update:is-open", !1))
4619
+ }, [
4620
+ k(a(O), { "icon-name": "x-close" })
4621
+ ])
4622
+ ])),
4623
+ r.step === 1 ? (n(), u("div", Fc, [
4624
+ k(a(fo), {
4625
+ value: i.rps,
4626
+ values: t,
4627
+ marks: y,
4628
+ label: "RPS",
4629
+ color: "dark",
4630
+ "onUpdate:value": v
4631
+ }, null, 8, ["value"]),
4632
+ k(a(pe), {
4633
+ "input-name": "cuAmount",
4634
+ "input-value": i.cu_amount,
4635
+ "onUpdate:inputValue": w
4636
+ }, {
4637
+ label: S(() => [
4638
+ e("div", Bc, [
4639
+ e("span", Lc, c(p.value.cuAmount), 1),
4640
+ e("span", Oc, "MAX " + c(Q(B[i.rps])), 1)
4641
+ ])
4642
+ ]),
4643
+ _: 1
4644
+ }, 8, ["input-value"]),
4645
+ e("div", null, [
4646
+ e("p", Uc, c(p.value.accessTokens), 1),
4647
+ k(a(He), {
4648
+ items: f,
4649
+ "selected-item": i.max_token_amount,
4650
+ onSelectItem: z
4651
+ }, null, 8, ["selected-item"])
4652
+ ]),
4653
+ e("div", $c, [
4654
+ e("div", Qc, [
4655
+ e("p", Gc, c(p.value.premiumSupport), 1),
4656
+ k(a(Qe), {
4657
+ "vertical-position": "top",
4658
+ "horizontal-position": "center"
4659
+ }, {
4660
+ "tooltip-component": S(() => [
4661
+ k(a(O), {
4662
+ "color-type": "disable",
4663
+ "icon-name": "info-circle-fill",
4664
+ "size-type": "medium"
4665
+ })
4666
+ ]),
4667
+ "tooltip-body": S(() => [
4668
+ e("p", Yc, c(p.value.tooltip.support), 1)
4669
+ ]),
4670
+ _: 1
4671
+ })
4672
+ ]),
4673
+ k(a(De), {
4674
+ class: d({ "!bg-black": i.premium_support }),
4675
+ selected: i.premium_support,
4676
+ onChangeSelected: C[1] || (C[1] = () => i.premium_support = !i.premium_support)
4677
+ }, null, 8, ["class", "selected"])
4678
+ ]),
4679
+ e("div", Pc, [
4680
+ e("div", Vc, [
4681
+ e("p", Wc, c(p.value.advancedStatistics), 1),
4682
+ k(a(Qe), {
4683
+ "vertical-position": "top",
4684
+ "horizontal-position": "center"
4685
+ }, {
4686
+ "tooltip-component": S(() => [
4687
+ k(a(O), {
4688
+ "color-type": "disable",
4689
+ "icon-name": "info-circle-fill",
4690
+ "size-type": "medium"
4691
+ })
4692
+ ]),
4693
+ "tooltip-body": S(() => [
4694
+ e("p", Rc, c(p.value.tooltip.statistics), 1)
4695
+ ]),
4696
+ _: 1
4697
+ })
4698
+ ]),
4699
+ k(a(De), {
4700
+ class: d({ "!bg-black": i.advanced_statistics }),
4701
+ selected: i.advanced_statistics,
4702
+ onChangeSelected: C[2] || (C[2] = () => i.advanced_statistics = !i.advanced_statistics)
4703
+ }, null, 8, ["class", "selected"])
4704
+ ])
4705
+ ])) : A("", !0),
4706
+ r.step === 2 ? (n(), u("div", Hc, [
4707
+ k(a(pe), {
4708
+ "input-value": "" + i.company_name,
4709
+ "input-name": "name",
4710
+ placeholder: p.value.companyNamePlaceholder,
4711
+ "icon-name": "luggage-02",
4712
+ "onUpdate:inputValue": C[3] || (C[3] = (D) => i.company_name = D)
4713
+ }, Ie({
4714
+ label: S(() => [
4715
+ e("span", Zc, c(p.value.companyName), 1),
4716
+ C[8] || (C[8] = e("span", { class: "text-red-500" }, "*", -1))
4717
+ ]),
4718
+ _: 2
4719
+ }, [
4720
+ m.company_name ? {
4721
+ name: "hint",
4722
+ fn: S(() => [
4723
+ e("p", Xc, c(m.company_name), 1)
4724
+ ]),
4725
+ key: "0"
4726
+ } : void 0
4727
+ ]), 1032, ["input-value", "placeholder"]),
4728
+ k(a(pe), {
4729
+ "input-value": "" + i.email,
4730
+ "input-name": "email",
4731
+ placeholder: p.value.emailPlaceholder,
4732
+ "icon-name": "mail-01",
4733
+ "onUpdate:inputValue": C[4] || (C[4] = (D) => i.email = D)
4734
+ }, Ie({
4735
+ label: S(() => [
4736
+ e("span", Jc, c(p.value.email), 1),
4737
+ C[9] || (C[9] = e("span", { class: "text-red-500" }, "*", -1))
4738
+ ]),
4739
+ _: 2
4740
+ }, [
4741
+ m.email ? {
4742
+ name: "hint",
4743
+ fn: S(() => [
4744
+ e("p", Kc, c(m.email), 1)
4745
+ ]),
4746
+ key: "0"
4747
+ } : void 0
4748
+ ]), 1032, ["input-value", "placeholder"]),
4749
+ k(a(pe), {
4750
+ "input-value": "" + i.telegram,
4751
+ "input-name": "telegram",
4752
+ placeholder: p.value.telegramPlaceholder,
4753
+ "icon-name": "telegram",
4754
+ "onUpdate:inputValue": C[5] || (C[5] = (D) => i.telegram = D)
4755
+ }, Ie({
4756
+ label: S(() => [
4757
+ e("span", qc, c(p.value.telegram), 1),
4758
+ C[10] || (C[10] = e("span", { class: "text-red-500" }, "*", -1))
4759
+ ]),
4760
+ _: 2
4761
+ }, [
4762
+ m.telegram ? {
4763
+ name: "hint",
4764
+ fn: S(() => [
4765
+ e("p", eu, c(m.telegram), 1)
4766
+ ]),
4767
+ key: "0"
4768
+ } : void 0
4769
+ ]), 1032, ["input-value", "placeholder"]),
4770
+ k(a(Ce), {
4771
+ "input-name": "message",
4772
+ "input-value": i.message,
4773
+ placeholder: p.value.textMessagePlaceholder,
4774
+ "onUpdate:inputValue": C[6] || (C[6] = (D) => i.message = D)
4775
+ }, {
4776
+ label: S(() => [
4777
+ ce(c(p.value.textMessage), 1)
4778
+ ]),
4779
+ _: 1
4780
+ }, 8, ["input-value", "placeholder"])
4781
+ ])) : A("", !0),
4782
+ r.step === 3 ? (n(), u("div", tu, [
4783
+ C[11] || (C[11] = e("div", { class: "w-full flex items-center justify-center" }, [
4784
+ e("div", { class: "bg-[#1E1E1F29] w-[80px] h-[80px] rounded-full flex justify-center items-center" }, [
4785
+ e("div", { class: "gb-bg-text-light-bg w-[64px] h-[64px] rounded-full flex justify-center items-center" }, [
4786
+ e("img", {
4787
+ src: "https://storage.getblock.io/web/getblock-ui-kit/icons/check_v1.svg",
4788
+ class: "w-[32px]",
4789
+ alt: "check-icon"
4790
+ })
4791
+ ])
4792
+ ])
4793
+ ], -1)),
4794
+ e("div", lu, [
4795
+ e("p", au, c(p.value.success.title), 1),
4796
+ e("p", null, c(p.value.success.description), 1)
4797
+ ])
4798
+ ])) : A("", !0),
4799
+ e("div", ou, [
4800
+ k(a(ee), {
4801
+ "color-type": "primary",
4802
+ onClick: L,
4803
+ disabled: r.isLoading
4804
+ }, {
4805
+ default: S(() => [
4806
+ e("div", nu, [
4807
+ e("p", su, c(W[r.step]), 1),
4808
+ r.step === 1 ? (n(), ne(a(O), {
4809
+ key: 0,
4810
+ "icon-name": "chevron-right",
4811
+ "color-type": "color-bg",
4812
+ "size-type": "xs"
4813
+ })) : A("", !0),
4814
+ r.isLoading ? (n(), ne(a(Ae), {
4815
+ key: 1,
4816
+ "color-type": "outline",
4817
+ class: "ml-2"
4818
+ })) : A("", !0)
4819
+ ])
4820
+ ]),
4821
+ _: 1
4822
+ }, 8, ["disabled"]),
4823
+ X(e("p", iu, [
4824
+ ce(c(p.value.privacy[1]) + " ", 1),
4825
+ e("a", cu, c(p.value.privacy[2]), 1)
4826
+ ], 512), [
4827
+ [ae, r.step === 2]
4828
+ ])
4829
+ ])
4830
+ ])
4831
+ ], 2)) : A("", !0);
4832
+ }
4833
+ });
4834
+ export {
4835
+ xu as GetBlockUIAnnouncement,
4836
+ hu as GetBlockUIBlackFridayAnnouncement,
4837
+ ru as GetBlockUIContactModal,
4838
+ du as GetBlockUICookie,
4839
+ _u as GetBlockUIEnterpriseModal,
4840
+ pu as GetBlockUIFooter,
4841
+ ku as GetBlockUIInfoModal,
4842
+ gu as GetBlockUINavbar,
4843
+ mu as GetBlockUIOptionalAnnouncement,
4844
+ vu as GetBlockUiContactForm
4845
+ };