@getblock/common 0.1.82 → 0.1.84
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/getblock-common.es.ts +347 -347
- package/dist/getblock-common.umd.ts +2 -2
- package/dist/style.css +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as H, computed as F, openBlock as
|
|
1
|
+
import { defineComponent as H, computed as F, openBlock as s, createElementBlock as u, normalizeClass as r, unref as a, renderSlot as $, ref as g, useSlots as Re, createCommentVNode as S, createElementVNode as e, createBlock as ue, withDirectives as K, isRef as Je, vModelDynamic as Pe, createVNode as T, vShow as oe, onMounted as ve, watch as ce, resolveDirective as Oe, Fragment as R, toDisplayString as i, renderList as E, withModifiers as he, onBeforeUnmount as Ke, Teleport as $e, normalizeStyle as fe, vModelText as qe, createTextVNode as ie, nextTick as et, onUnmounted as Ee, useCssVars as Le, createSlots as me, withCtx as I, withKeys as Fe, reactive as je } from "vue";
|
|
2
2
|
const tt = "_getblock_ui_button_1pp63_1", lt = "_getblock_ui_buttonAccent_1pp63_7", at = "_getblock_ui_buttonTint_1pp63_8", ot = "_getblock_ui_buttonPrimary_1pp63_9", nt = "_getblock_ui_buttonSecondary_1pp63_10", st = "_getblock_ui_buttonOutline_1pp63_11", ct = "_getblock_ui_buttonTransparent_1pp63_12", it = "_getblock_ui_buttonDestructiveAccent_1pp63_13", ut = "_getblock_ui_buttonDestructiveTint_1pp63_14", dt = "_getblock_ui_buttonDestructiveSecondary_1pp63_15", rt = "_getblock_ui_buttonDestructiveOutline_1pp63_16", pt = "_getblock_ui_buttonDestructiveTransparent_1pp63_17", mt = "dark", ht = "_getblock_ui_buttonLarge_1pp63_42", kt = "_getblock_ui_buttonMedium_1pp63_46", xt = "_getblock_ui_buttonSmall_1pp63_50", Nt = "_getblock_ui_buttonBase_1pp63_57", gt = "_getblock_ui_buttonAttention_1pp63_91", Tt = "_getblock_ui_buttonViolet_1pp63_96", Mt = "_getblock_ui_buttonSpecial_1pp63_101", bt = "_getblock_ui_buttonPinkGradient_1pp63_107", Vt = "_getblock_ui_buttonWhite_1pp63_116", vt = "_getblock_ui_buttonTinyWhite_1pp63_120", yt = "_getblock_ui_buttonDestructive_1pp63_13", Ut = "_getblock_ui_iconButtonLarge_1pp63_165", Ft = "_getblock_ui_iconButtonMedium_1pp63_169", Zt = "_getblock_ui_iconButtonSmall_1pp63_173", L = {
|
|
3
3
|
button: tt,
|
|
4
4
|
buttonAccent: lt,
|
|
@@ -96,7 +96,7 @@ const tt = "_getblock_ui_button_1pp63_1", lt = "_getblock_ui_buttonAccent_1pp63_
|
|
|
96
96
|
[L.iconButtonMedium]: c.sizeType === "medium" && c.iconButton,
|
|
97
97
|
[L.iconButtonSmall]: c.sizeType === "small" && c.iconButton
|
|
98
98
|
}));
|
|
99
|
-
return (k, o) => (
|
|
99
|
+
return (k, o) => (s(), u("button", {
|
|
100
100
|
class: r([a(l), a(L).button]),
|
|
101
101
|
disabled: c.disabled
|
|
102
102
|
}, [
|
|
@@ -105,10 +105,10 @@ const tt = "_getblock_ui_button_1pp63_1", lt = "_getblock_ui_buttonAccent_1pp63_
|
|
|
105
105
|
$(k.$slots, "right-icon")
|
|
106
106
|
], 10, _t));
|
|
107
107
|
}
|
|
108
|
-
}), Rt = "_getblock_ui_iconXs_15uci_2",
|
|
108
|
+
}), Rt = "_getblock_ui_iconXs_15uci_2", ft = "_getblock_ui_iconSmall_15uci_6", Et = "_getblock_ui_iconMedium_15uci_10", Wt = "_getblock_ui_iconLarge_15uci_14", zt = "_getblock_ui_iconMain_15uci_21", It = "dark", St = "_getblock_ui_iconSecondary_15uci_31", Dt = "_getblock_ui_iconTertiary_15uci_41", jt = "_getblock_ui_iconDisable_15uci_51", Qt = "_getblock_ui_iconAction_15uci_61", wt = "_getblock_ui_iconTintBlue_15uci_71", Bt = "_getblock_ui_iconAttention_15uci_81", Yt = "_getblock_ui_iconAlert_15uci_91", Gt = "_getblock_ui_iconSuccess_15uci_101", Ct = "_getblock_ui_iconColorBG_15uci_111", Jt = "_getblock_ui_iconLightBG_15uci_121", Ot = "_getblock_ui_iconTintRed_15uci_131", Lt = "_getblock_ui_iconDefault_15uci_141", Xt = "_getblock_ui_iconReverseMain_15uci_151", Ht = "_getblock_ui_iconContrast_15uci_158", At = "_getblock_ui_iconViolet_15uci_167", Pt = "_getblock_ui_iconAccentHover_15uci_178", Kt = "_getblock_ui_iconTintHover_15uci_187", $t = "_getblock_ui_iconAttentionHover_15uci_196", qt = "_getblock_ui_iconErrorHover_15uci_205", X = {
|
|
109
109
|
iconXs: Rt,
|
|
110
|
-
iconSmall:
|
|
111
|
-
iconMedium:
|
|
110
|
+
iconSmall: ft,
|
|
111
|
+
iconMedium: Et,
|
|
112
112
|
iconLarge: Wt,
|
|
113
113
|
iconMain: zt,
|
|
114
114
|
dark: It,
|
|
@@ -203,7 +203,7 @@ const tt = "_getblock_ui_button_1pp63_1", lt = "_getblock_ui_buttonAccent_1pp63_
|
|
|
203
203
|
[X.iconContrast]: c.colorType === "contrast",
|
|
204
204
|
[X.iconViolet]: c.colorType === "violet"
|
|
205
205
|
}));
|
|
206
|
-
return (o, p) => (
|
|
206
|
+
return (o, p) => (s(), u("img", {
|
|
207
207
|
alt: c.iconName,
|
|
208
208
|
class: r(a(k)),
|
|
209
209
|
height: a(l),
|
|
@@ -290,7 +290,7 @@ const tt = "_getblock_ui_button_1pp63_1", lt = "_getblock_ui_buttonAccent_1pp63_
|
|
|
290
290
|
},
|
|
291
291
|
emits: ["update:inputValue", "resetError", "focusOut", "onClickRightButton"],
|
|
292
292
|
setup(d, { emit: c }) {
|
|
293
|
-
const l = d, k = F(() => 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 = g(null), p = g(!1),
|
|
293
|
+
const l = d, k = F(() => 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 = g(null), p = g(!1), n = g(l.inputType), x = F({
|
|
294
294
|
get() {
|
|
295
295
|
return l.inputValue;
|
|
296
296
|
},
|
|
@@ -314,20 +314,20 @@ const tt = "_getblock_ui_button_1pp63_1", lt = "_getblock_ui_buttonAccent_1pp63_
|
|
|
314
314
|
[te.inputLabelDisabled]: l.disabled
|
|
315
315
|
})), G = () => {
|
|
316
316
|
c("update:inputValue", "");
|
|
317
|
-
},
|
|
318
|
-
|
|
317
|
+
}, f = () => {
|
|
318
|
+
n.value = n.value === "password" ? "text" : "password";
|
|
319
319
|
}, b = () => {
|
|
320
|
-
l.customEventRightButton ? c("onClickRightButton") : l.inputType === "password" ?
|
|
321
|
-
},
|
|
320
|
+
l.customEventRightButton ? c("onClickRightButton") : l.inputType === "password" ? f() : G();
|
|
321
|
+
}, Z = () => {
|
|
322
322
|
var B;
|
|
323
323
|
c("resetError"), p.value = !0, (B = o.value) == null || B.focus();
|
|
324
324
|
}, w = () => {
|
|
325
325
|
c("focusOut"), p.value = !1;
|
|
326
326
|
}, J = Re();
|
|
327
|
-
return (B, C) => (
|
|
327
|
+
return (B, C) => (s(), u("div", {
|
|
328
328
|
class: r(a(te).container)
|
|
329
329
|
}, [
|
|
330
|
-
a(J).label ? (
|
|
330
|
+
a(J).label ? (s(), u("p", {
|
|
331
331
|
key: 0,
|
|
332
332
|
class: r([a(W), "input__label"])
|
|
333
333
|
}, [
|
|
@@ -336,10 +336,10 @@ const tt = "_getblock_ui_button_1pp63_1", lt = "_getblock_ui_buttonAccent_1pp63_
|
|
|
336
336
|
e("div", {
|
|
337
337
|
class: r(["input__wrapper", [a(M), a(te).input]]),
|
|
338
338
|
tabindex: "0",
|
|
339
|
-
onFocusin:
|
|
339
|
+
onFocusin: Z,
|
|
340
340
|
onFocusout: w
|
|
341
341
|
}, [
|
|
342
|
-
l.iconName ? (
|
|
342
|
+
l.iconName ? (s(), ue(Y, {
|
|
343
343
|
key: 0,
|
|
344
344
|
class: r(a(te).shrink0),
|
|
345
345
|
"color-type": l.disabled ? "secondary" : "main",
|
|
@@ -354,7 +354,7 @@ const tt = "_getblock_ui_button_1pp63_1", lt = "_getblock_ui_buttonAccent_1pp63_
|
|
|
354
354
|
disabled: l.disabled,
|
|
355
355
|
name: l.inputName,
|
|
356
356
|
placeholder: l.placeholder,
|
|
357
|
-
type:
|
|
357
|
+
type: n.value
|
|
358
358
|
}, null, 8, Nl), [
|
|
359
359
|
[Pe, a(x)]
|
|
360
360
|
]),
|
|
@@ -380,14 +380,14 @@ const tt = "_getblock_ui_button_1pp63_1", lt = "_getblock_ui_buttonAccent_1pp63_
|
|
|
380
380
|
], 2), [
|
|
381
381
|
[oe, !l.customEventRightButton && a(x).length !== 0 && !l.disabled]
|
|
382
382
|
]),
|
|
383
|
-
a(k).display ? (
|
|
383
|
+
a(k).display ? (s(), ue(Y, {
|
|
384
384
|
key: 1,
|
|
385
385
|
class: r(a(te).shrink0),
|
|
386
386
|
"color-type": a(k).colorType,
|
|
387
387
|
"icon-name": a(k).icon
|
|
388
388
|
}, null, 8, ["class", "color-type", "icon-name"])) : S("", !0)
|
|
389
389
|
], 34),
|
|
390
|
-
a(J).hint ? (
|
|
390
|
+
a(J).hint ? (s(), u("p", {
|
|
391
391
|
key: 1,
|
|
392
392
|
class: r([a(v), "input__hint"])
|
|
393
393
|
}, [
|
|
@@ -395,7 +395,7 @@ const tt = "_getblock_ui_button_1pp63_1", lt = "_getblock_ui_buttonAccent_1pp63_
|
|
|
395
395
|
], 2)) : S("", !0)
|
|
396
396
|
], 2));
|
|
397
397
|
}
|
|
398
|
-
}), gl = "_getblock_ui_dropdown_3s0v7_2", Tl = "dark", Ml = "_getblock_ui_dropdownFocused_3s0v7_6", bl = "_getblock_ui_dropdownWrapper_3s0v7_11", Vl = "_getblock_ui_dropdownFiltersWrapper_3s0v7_17", vl = "_getblock_ui_dropdownItemsListWrapper_3s0v7_21", yl = "_getblock_ui_dropdownList_3s0v7_25", Ul = "_getblock_ui_scrollTrack_3s0v7_33", Fl = "_getblock_ui_scrollTrackWithFilters_3s0v7_42", Zl = "_getblock_ui_scrollBar_3s0v7_51", _l = "_getblock_ui_dropdownListItem_3s0v7_73", Rl = "_getblock_ui_dropdownListItemText_3s0v7_77",
|
|
398
|
+
}), gl = "_getblock_ui_dropdown_3s0v7_2", Tl = "dark", Ml = "_getblock_ui_dropdownFocused_3s0v7_6", bl = "_getblock_ui_dropdownWrapper_3s0v7_11", Vl = "_getblock_ui_dropdownFiltersWrapper_3s0v7_17", vl = "_getblock_ui_dropdownItemsListWrapper_3s0v7_21", yl = "_getblock_ui_dropdownList_3s0v7_25", Ul = "_getblock_ui_scrollTrack_3s0v7_33", Fl = "_getblock_ui_scrollTrackWithFilters_3s0v7_42", Zl = "_getblock_ui_scrollBar_3s0v7_51", _l = "_getblock_ui_dropdownListItem_3s0v7_73", Rl = "_getblock_ui_dropdownListItemText_3s0v7_77", fl = "_getblock_ui_dropdownListSelectedItemText_3s0v7_81", El = "_getblock_ui_dropdownNotFoundListItem_3s0v7_85", Wl = "_getblock_ui_dropdownNotFoundListItemText_3s0v7_89", zl = "_getblock_ui_dropdownSmall_3s0v7_95", Il = "_getblock_ui_dropdownMedium_3s0v7_99", Sl = "_getblock_ui_dropdownLarge_3s0v7_103", Dl = "_getblock_ui_dropdownFill_3s0v7_109", jl = "_getblock_ui_dropdownFillDisabled_3s0v7_114", Ql = "_getblock_ui_dropdownOutline_3s0v7_122", wl = "_getblock_ui_dropdownOutlineDisabled_3s0v7_127", Bl = "_getblock_ui_dropdownError_3s0v7_135", Yl = "_getblock_ui_hoveredChevron_3s0v7_142", Gl = "_getblock_ui_rotateChevron_3s0v7_150", Cl = "_getblock_ui_search_3s0v7_156", Jl = "_getblock_ui_placeholder_3s0v7_162", Ol = "_getblock_ui_placeholderWithoutText_3s0v7_166", O = {
|
|
399
399
|
dropdown: gl,
|
|
400
400
|
dark: Tl,
|
|
401
401
|
dropdownFocused: Ml,
|
|
@@ -408,8 +408,8 @@ const tt = "_getblock_ui_button_1pp63_1", lt = "_getblock_ui_buttonAccent_1pp63_
|
|
|
408
408
|
scrollBar: Zl,
|
|
409
409
|
dropdownListItem: _l,
|
|
410
410
|
dropdownListItemText: Rl,
|
|
411
|
-
dropdownListSelectedItemText:
|
|
412
|
-
dropdownNotFoundListItem:
|
|
411
|
+
dropdownListSelectedItemText: fl,
|
|
412
|
+
dropdownNotFoundListItem: El,
|
|
413
413
|
dropdownNotFoundListItemText: Wl,
|
|
414
414
|
dropdownSmall: zl,
|
|
415
415
|
dropdownMedium: Il,
|
|
@@ -507,7 +507,7 @@ const tt = "_getblock_ui_button_1pp63_1", lt = "_getblock_ui_buttonAccent_1pp63_
|
|
|
507
507
|
},
|
|
508
508
|
emits: ["selectItem", "resetError"],
|
|
509
509
|
setup(d, { emit: c }) {
|
|
510
|
-
const l = d, k = Re(), o = g(!1), p = g(null),
|
|
510
|
+
const l = d, k = Re(), o = g(!1), p = g(null), n = g(-1), x = g(null), t = g(null), M = g(null), v = g(!1), W = (h) => {
|
|
511
511
|
const y = x.value, j = t.value, q = M.value, ee = y.scrollTop / (y.scrollHeight - y.clientHeight);
|
|
512
512
|
q.style.transform = `translateY(${ee * (j.clientHeight - 50)}px)`;
|
|
513
513
|
}, G = (h) => {
|
|
@@ -516,11 +516,11 @@ const tt = "_getblock_ui_button_1pp63_1", lt = "_getblock_ui_buttonAccent_1pp63_
|
|
|
516
516
|
const A = (D) => {
|
|
517
517
|
const ae = (D.clientY - y) / (ee - q) * (x.value.scrollHeight - x.value.clientHeight);
|
|
518
518
|
x.value.scrollTop = j + ae;
|
|
519
|
-
},
|
|
520
|
-
document.removeEventListener("mousemove", A), document.removeEventListener("mouseup",
|
|
519
|
+
}, _ = () => {
|
|
520
|
+
document.removeEventListener("mousemove", A), document.removeEventListener("mouseup", _), v.value = !1;
|
|
521
521
|
};
|
|
522
|
-
document.addEventListener("mousemove", A), document.addEventListener("mouseup",
|
|
523
|
-
},
|
|
522
|
+
document.addEventListener("mousemove", A), document.addEventListener("mouseup", _);
|
|
523
|
+
}, f = (h) => {
|
|
524
524
|
const y = t.value, j = x.value, q = h.clientY - y.getBoundingClientRect().top, ee = y.clientHeight, A = j.scrollHeight - j.clientHeight;
|
|
525
525
|
j.scrollTop = q / ee * A;
|
|
526
526
|
};
|
|
@@ -528,7 +528,7 @@ const tt = "_getblock_ui_button_1pp63_1", lt = "_getblock_ui_buttonAccent_1pp63_
|
|
|
528
528
|
var h;
|
|
529
529
|
(h = x.value) == null || h.addEventListener("scroll", W);
|
|
530
530
|
});
|
|
531
|
-
const b = g(""),
|
|
531
|
+
const b = g(""), Z = (h) => {
|
|
532
532
|
b.value = h.target.value;
|
|
533
533
|
}, w = F(() => l.isWithSearch ? l.items.filter(
|
|
534
534
|
(h) => h.value.toLowerCase().includes(b.value.toLowerCase()) || h.text.toLowerCase().includes(b.value.toLowerCase())
|
|
@@ -545,18 +545,18 @@ const tt = "_getblock_ui_button_1pp63_1", lt = "_getblock_ui_buttonAccent_1pp63_
|
|
|
545
545
|
})), B = F(() => ({
|
|
546
546
|
"w-max": l.droplistResizable
|
|
547
547
|
})), C = (h) => {
|
|
548
|
-
b.value = h.value, c("selectItem", h),
|
|
548
|
+
b.value = h.value, c("selectItem", h), n.value = -1, z();
|
|
549
549
|
}, ne = F(() => l.disabled || !o.value ? "tertiary" : "main"), U = () => {
|
|
550
550
|
var h, y;
|
|
551
|
-
v.value || (c("resetError"), o.value || ((h = p.value) == null || h.removeAttribute("readonly"), o.value = !0, b.value = "",
|
|
551
|
+
v.value || (c("resetError"), o.value || ((h = p.value) == null || h.removeAttribute("readonly"), o.value = !0, b.value = "", n.value = -1, (y = p.value) == null || y.focus()));
|
|
552
552
|
}, z = () => {
|
|
553
553
|
var h;
|
|
554
|
-
o.value = !1,
|
|
554
|
+
o.value = !1, n.value = -1, (h = p.value) == null || h.setAttribute("readonly", "true");
|
|
555
555
|
}, N = (h) => {
|
|
556
|
-
h.key === "Enter" ? (h.preventDefault(), o.value &&
|
|
556
|
+
h.key === "Enter" ? (h.preventDefault(), o.value && n.value >= 0 && n.value < w.value.length ? C(w.value[n.value]) : o.value || (o.value = !0)) : h.key === "ArrowDown" ? (h.preventDefault(), o.value ? n.value < w.value.length - 1 && (n.value++, m()) : (o.value = !0, n.value = 0)) : h.key === "ArrowUp" && (h.preventDefault(), o.value && n.value > 0 && (n.value--, m()));
|
|
557
557
|
}, m = () => {
|
|
558
|
-
if (x.value &&
|
|
559
|
-
const h = x.value.children[
|
|
558
|
+
if (x.value && n.value >= 0) {
|
|
559
|
+
const h = x.value.children[n.value];
|
|
560
560
|
h && h.scrollIntoView({ block: "nearest", behavior: "smooth" });
|
|
561
561
|
}
|
|
562
562
|
};
|
|
@@ -568,24 +568,24 @@ const tt = "_getblock_ui_button_1pp63_1", lt = "_getblock_ui_buttonAccent_1pp63_
|
|
|
568
568
|
), (h, y) => {
|
|
569
569
|
var j, q;
|
|
570
570
|
const ee = Oe("click-outside");
|
|
571
|
-
return K((
|
|
571
|
+
return K((s(), u("div", {
|
|
572
572
|
tabindex: "0",
|
|
573
573
|
class: r([a(J), a(O).dropdown]),
|
|
574
574
|
onClick: U,
|
|
575
575
|
onKeydown: N
|
|
576
576
|
}, [
|
|
577
|
-
((j = l.selectedItem) == null ? void 0 : j.iconName) && !o.value ? (
|
|
577
|
+
((j = l.selectedItem) == null ? void 0 : j.iconName) && !o.value ? (s(), ue(Y, {
|
|
578
578
|
key: 0,
|
|
579
579
|
"color-type": "default",
|
|
580
580
|
"size-type": "medium",
|
|
581
581
|
"icon-name": l.selectedItem.iconName
|
|
582
|
-
}, null, 8, ["icon-name"])) : ((q = l.selectedItem) == null ? void 0 : q.iconName) && d.isIconAlwaysSeen && o.value && !d.isWithSearch ? (
|
|
582
|
+
}, null, 8, ["icon-name"])) : ((q = l.selectedItem) == null ? void 0 : q.iconName) && d.isIconAlwaysSeen && o.value && !d.isWithSearch ? (s(), ue(Y, {
|
|
583
583
|
key: 1,
|
|
584
584
|
"color-type": "default",
|
|
585
585
|
"size-type": "medium",
|
|
586
586
|
"icon-name": l.selectedItem.iconName
|
|
587
587
|
}, null, 8, ["icon-name"])) : $(h.$slots, "left-icon", { key: 2 }),
|
|
588
|
-
d.isWithSearch ? (
|
|
588
|
+
d.isWithSearch ? (s(), u(R, { key: 3 }, [
|
|
589
589
|
e("input", {
|
|
590
590
|
tabindex: l.tabIndex,
|
|
591
591
|
ref_key: "dropdownInput",
|
|
@@ -594,10 +594,10 @@ const tt = "_getblock_ui_button_1pp63_1", lt = "_getblock_ui_buttonAccent_1pp63_
|
|
|
594
594
|
class: r(a(O).search),
|
|
595
595
|
placeholder: l.placeholder.value,
|
|
596
596
|
value: o.value ? b.value : l.selectedItem.text,
|
|
597
|
-
onInput:
|
|
597
|
+
onInput: Z
|
|
598
598
|
}, null, 42, Ll),
|
|
599
599
|
o.value ? S("", !0) : $(h.$slots, "selected-right", { key: 0 })
|
|
600
|
-
], 64)) : (
|
|
600
|
+
], 64)) : (s(), u(R, { key: 4 }, [
|
|
601
601
|
e("p", {
|
|
602
602
|
class: r(["dropdown-placeholder", [a(O).placeholder, l.selectedItem.text ? "" : a(O).placeholderWithoutText]])
|
|
603
603
|
}, i(l.selectedItem.text ? l.selectedItem.text : l.placeholder.text), 3),
|
|
@@ -606,7 +606,7 @@ const tt = "_getblock_ui_button_1pp63_1", lt = "_getblock_ui_buttonAccent_1pp63_
|
|
|
606
606
|
K(e("div", {
|
|
607
607
|
class: r([a(O).dropdownWrapper, a(B)])
|
|
608
608
|
}, [
|
|
609
|
-
a(w).length > 0 && a(k).filters ? (
|
|
609
|
+
a(w).length > 0 && a(k).filters ? (s(), u("div", {
|
|
610
610
|
key: 0,
|
|
611
611
|
class: r([a(O).dropdownFiltersWrapper])
|
|
612
612
|
}, [
|
|
@@ -615,20 +615,20 @@ const tt = "_getblock_ui_button_1pp63_1", lt = "_getblock_ui_buttonAccent_1pp63_
|
|
|
615
615
|
K(e("div", {
|
|
616
616
|
class: r([a(O).dropdownItemsListWrapper])
|
|
617
617
|
}, [
|
|
618
|
-
a(w).length > 0 ? (
|
|
618
|
+
a(w).length > 0 ? (s(), u(R, { key: 0 }, [
|
|
619
619
|
e("div", {
|
|
620
620
|
class: r([a(O).dropdownList, { "w-[97%]": a(w).length > 4 }]),
|
|
621
621
|
ref_key: "dropdownContent",
|
|
622
622
|
ref: x
|
|
623
623
|
}, [
|
|
624
|
-
(
|
|
625
|
-
key: `${A.value}_${
|
|
626
|
-
class: r(["flex items-center justify-between dropdown-item", [a(O).dropdownListItem, { "bg-gray-100":
|
|
624
|
+
(s(!0), u(R, null, E(a(w), (A, _) => (s(), u("div", {
|
|
625
|
+
key: `${A.value}_${_}`,
|
|
626
|
+
class: r(["flex items-center justify-between dropdown-item", [a(O).dropdownListItem, { "bg-gray-100": n.value === _ }]]),
|
|
627
627
|
onClick: he((D) => C(A), ["stop"]),
|
|
628
|
-
onMouseenter: (D) =>
|
|
628
|
+
onMouseenter: (D) => n.value = _
|
|
629
629
|
}, [
|
|
630
630
|
e("div", Hl, [
|
|
631
|
-
A.iconName ? (
|
|
631
|
+
A.iconName ? (s(), ue(Y, {
|
|
632
632
|
key: 0,
|
|
633
633
|
"size-type": "medium",
|
|
634
634
|
"color-type": d.colorTypeIcon,
|
|
@@ -643,16 +643,16 @@ const tt = "_getblock_ui_button_1pp63_1", lt = "_getblock_ui_buttonAccent_1pp63_
|
|
|
643
643
|
]),
|
|
644
644
|
$(h.$slots, "right", {
|
|
645
645
|
item: A,
|
|
646
|
-
index:
|
|
646
|
+
index: _
|
|
647
647
|
})
|
|
648
648
|
], 42, Xl))), 128))
|
|
649
649
|
], 2),
|
|
650
|
-
a(w).length > 4 ? (
|
|
650
|
+
a(w).length > 4 ? (s(), u("div", {
|
|
651
651
|
key: 0,
|
|
652
652
|
class: r(a(k).filters ? a(O).scrollTrackWithFilters : a(O).scrollTrack),
|
|
653
653
|
ref_key: "scrollBar",
|
|
654
654
|
ref: t,
|
|
655
|
-
onClick:
|
|
655
|
+
onClick: f
|
|
656
656
|
}, [
|
|
657
657
|
e("div", {
|
|
658
658
|
class: r(a(O).scrollBar),
|
|
@@ -661,7 +661,7 @@ const tt = "_getblock_ui_button_1pp63_1", lt = "_getblock_ui_buttonAccent_1pp63_
|
|
|
661
661
|
onMousedown: G
|
|
662
662
|
}, null, 34)
|
|
663
663
|
], 2)) : S("", !0)
|
|
664
|
-
], 64)) : (
|
|
664
|
+
], 64)) : (s(), u("div", {
|
|
665
665
|
key: 1,
|
|
666
666
|
class: r(a(O).dropdownNotFoundListItem),
|
|
667
667
|
onClick: y[0] || (y[0] = he(() => {
|
|
@@ -737,7 +737,7 @@ const tt = "_getblock_ui_button_1pp63_1", lt = "_getblock_ui_buttonAccent_1pp63_
|
|
|
737
737
|
checked: l.checked
|
|
738
738
|
}, o = () => {
|
|
739
739
|
c("change", k);
|
|
740
|
-
}, p = F(() => l.isMaster ? l.allChecked ? "check_v1" : "minus" : l.checked ? "check_v1" : "minus"),
|
|
740
|
+
}, p = F(() => l.isMaster ? l.allChecked ? "check_v1" : "minus" : l.checked ? "check_v1" : "minus"), n = F(() => ({
|
|
741
741
|
[pe.iconFilter]: !l.checked && !l.isMaster
|
|
742
742
|
})), x = F(() => ({
|
|
743
743
|
[pe.checkbox]: !l.isMaster,
|
|
@@ -748,7 +748,7 @@ const tt = "_getblock_ui_button_1pp63_1", lt = "_getblock_ui_buttonAccent_1pp63_
|
|
|
748
748
|
[pe.isMasterDisabled]: l.isMaster && l.disabled,
|
|
749
749
|
[pe.isRounded]: l.isRounded
|
|
750
750
|
}));
|
|
751
|
-
return (t, M) => (
|
|
751
|
+
return (t, M) => (s(), u("label", {
|
|
752
752
|
class: r(a(x))
|
|
753
753
|
}, [
|
|
754
754
|
e("input", {
|
|
@@ -761,7 +761,7 @@ const tt = "_getblock_ui_button_1pp63_1", lt = "_getblock_ui_buttonAccent_1pp63_
|
|
|
761
761
|
}, null, 40, na),
|
|
762
762
|
T(Y, {
|
|
763
763
|
"icon-name": a(p),
|
|
764
|
-
class: r(a(
|
|
764
|
+
class: r(a(n)),
|
|
765
765
|
"color-type": "color-bg",
|
|
766
766
|
"size-type": "xs"
|
|
767
767
|
}, null, 8, ["icon-name", "class"])
|
|
@@ -780,10 +780,10 @@ const tt = "_getblock_ui_button_1pp63_1", lt = "_getblock_ui_buttonAccent_1pp63_
|
|
|
780
780
|
}
|
|
781
781
|
},
|
|
782
782
|
setup(d) {
|
|
783
|
-
const c = d, l = g(null), k = g(null), o = g(!1), p = g(!1),
|
|
783
|
+
const c = d, l = g(null), k = g(null), o = g(!1), p = g(!1), n = g({ top: "0px", left: "0px" }), x = async () => {
|
|
784
784
|
o.value = !0, await et();
|
|
785
|
-
const
|
|
786
|
-
|
|
785
|
+
const f = l.value, b = k.value, Z = f.getBoundingClientRect(), w = 8, J = c.verticalPosition === "top" ? Z.top - b.offsetHeight - w : Z.bottom + w, B = Z.left + Z.width / 2, C = c.horizontalPosition === "left" ? B - b.offsetWidth : c.horizontalPosition === "right" ? B : B - b.offsetWidth / 2;
|
|
786
|
+
n.value = {
|
|
787
787
|
top: `${J}px`,
|
|
788
788
|
left: `${C}px`
|
|
789
789
|
};
|
|
@@ -802,25 +802,25 @@ const tt = "_getblock_ui_button_1pp63_1", lt = "_getblock_ui_buttonAccent_1pp63_
|
|
|
802
802
|
};
|
|
803
803
|
return Ke(() => {
|
|
804
804
|
o.value = !1;
|
|
805
|
-
}), (
|
|
805
|
+
}), (f, b) => (s(), u("div", {
|
|
806
806
|
ref_key: "triggerRef",
|
|
807
807
|
ref: l,
|
|
808
808
|
class: "cursor-help relative z-[5] w-fit",
|
|
809
809
|
onMouseenter: M,
|
|
810
810
|
onMouseleave: v
|
|
811
811
|
}, [
|
|
812
|
-
$(
|
|
813
|
-
(
|
|
814
|
-
o.value ? (
|
|
812
|
+
$(f.$slots, "tooltip-component"),
|
|
813
|
+
(s(), ue($e, { to: "body" }, [
|
|
814
|
+
o.value ? (s(), u("div", {
|
|
815
815
|
key: 0,
|
|
816
816
|
ref_key: "tooltipRef",
|
|
817
817
|
ref: k,
|
|
818
818
|
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",
|
|
819
|
-
style:
|
|
819
|
+
style: fe(n.value),
|
|
820
820
|
onMouseenter: W,
|
|
821
821
|
onMouseleave: G
|
|
822
822
|
}, [
|
|
823
|
-
$(
|
|
823
|
+
$(f.$slots, "tooltip-body")
|
|
824
824
|
], 36)) : S("", !0)
|
|
825
825
|
]))
|
|
826
826
|
], 544));
|
|
@@ -877,12 +877,12 @@ const tt = "_getblock_ui_button_1pp63_1", lt = "_getblock_ui_buttonAccent_1pp63_
|
|
|
877
877
|
},
|
|
878
878
|
emits: ["update:inputValue", "resetError"],
|
|
879
879
|
setup(d, { emit: c }) {
|
|
880
|
-
const l = d, k = g(null), o = g(!1), p = g(300),
|
|
880
|
+
const l = d, k = g(null), o = g(!1), p = g(300), n = F({
|
|
881
881
|
get() {
|
|
882
882
|
return l.inputValue;
|
|
883
883
|
},
|
|
884
|
-
set(
|
|
885
|
-
c("update:inputValue",
|
|
884
|
+
set(f) {
|
|
885
|
+
c("update:inputValue", f);
|
|
886
886
|
}
|
|
887
887
|
}), x = F(() => ({
|
|
888
888
|
[se.textareaError]: l.error,
|
|
@@ -897,26 +897,26 @@ const tt = "_getblock_ui_button_1pp63_1", lt = "_getblock_ui_buttonAccent_1pp63_
|
|
|
897
897
|
[se.textareaLabel]: !0,
|
|
898
898
|
[se.textareaLabelDisabled]: l.disabled
|
|
899
899
|
})), v = () => {
|
|
900
|
-
var
|
|
901
|
-
c("resetError"), o.value = !0, (
|
|
900
|
+
var f;
|
|
901
|
+
c("resetError"), o.value = !0, (f = k.value) == null || f.focus();
|
|
902
902
|
}, W = () => {
|
|
903
903
|
o.value = !1;
|
|
904
904
|
}, G = Re();
|
|
905
|
-
return (
|
|
905
|
+
return (f, b) => (s(), u("div", {
|
|
906
906
|
class: r(a(se).container)
|
|
907
907
|
}, [
|
|
908
|
-
a(G).label ? (
|
|
908
|
+
a(G).label ? (s(), u("div", {
|
|
909
909
|
key: 0,
|
|
910
910
|
class: r(a(se).labelContainer)
|
|
911
911
|
}, [
|
|
912
912
|
e("p", {
|
|
913
913
|
class: r(a(M))
|
|
914
914
|
}, [
|
|
915
|
-
$(
|
|
915
|
+
$(f.$slots, "label")
|
|
916
916
|
], 2),
|
|
917
917
|
e("p", {
|
|
918
918
|
class: r(a(se).labelText)
|
|
919
|
-
}, i(a(
|
|
919
|
+
}, i(a(n).length) + "/" + i(p.value), 3)
|
|
920
920
|
], 2)) : S("", !0),
|
|
921
921
|
e("div", {
|
|
922
922
|
tabindex: "0",
|
|
@@ -927,7 +927,7 @@ const tt = "_getblock_ui_button_1pp63_1", lt = "_getblock_ui_buttonAccent_1pp63_
|
|
|
927
927
|
K(e("textarea", {
|
|
928
928
|
ref_key: "inputRef",
|
|
929
929
|
ref: k,
|
|
930
|
-
"onUpdate:modelValue": b[0] || (b[0] = (
|
|
930
|
+
"onUpdate:modelValue": b[0] || (b[0] = (Z) => Je(n) ? n.value = Z : null),
|
|
931
931
|
tabindex: l.tabIndex,
|
|
932
932
|
class: r(a(se).input),
|
|
933
933
|
disabled: l.disabled,
|
|
@@ -935,7 +935,7 @@ const tt = "_getblock_ui_button_1pp63_1", lt = "_getblock_ui_buttonAccent_1pp63_
|
|
|
935
935
|
name: l.inputName,
|
|
936
936
|
placeholder: l.placeholder
|
|
937
937
|
}, null, 10, Va), [
|
|
938
|
-
[qe, a(
|
|
938
|
+
[qe, a(n)]
|
|
939
939
|
]),
|
|
940
940
|
e("div", {
|
|
941
941
|
class: r(a(se).textareaResizeButton)
|
|
@@ -947,11 +947,11 @@ const tt = "_getblock_ui_button_1pp63_1", lt = "_getblock_ui_buttonAccent_1pp63_
|
|
|
947
947
|
})
|
|
948
948
|
], 2)
|
|
949
949
|
], 34),
|
|
950
|
-
a(G).hint ? (
|
|
950
|
+
a(G).hint ? (s(), u("p", {
|
|
951
951
|
key: 1,
|
|
952
952
|
class: r(a(t))
|
|
953
953
|
}, [
|
|
954
|
-
$(
|
|
954
|
+
$(f.$slots, "hint")
|
|
955
955
|
], 2)) : S("", !0)
|
|
956
956
|
], 2));
|
|
957
957
|
}
|
|
@@ -981,7 +981,7 @@ const tt = "_getblock_ui_button_1pp63_1", lt = "_getblock_ui_buttonAccent_1pp63_
|
|
|
981
981
|
[be.toggleSelectedDisabled]: l.selected && l.disabled,
|
|
982
982
|
[be.toggleNotSelectedDisabled]: !l.selected && l.disabled
|
|
983
983
|
})), o = () => c("changeSelected");
|
|
984
|
-
return (p,
|
|
984
|
+
return (p, n) => (s(), u("label", {
|
|
985
985
|
class: r(a(k))
|
|
986
986
|
}, [
|
|
987
987
|
e("input", {
|
|
@@ -993,9 +993,9 @@ const tt = "_getblock_ui_button_1pp63_1", lt = "_getblock_ui_buttonAccent_1pp63_
|
|
|
993
993
|
Ra
|
|
994
994
|
], 2));
|
|
995
995
|
}
|
|
996
|
-
}),
|
|
997
|
-
tabBarContainer:
|
|
998
|
-
dark:
|
|
996
|
+
}), fa = "_getblock_ui_tabBarContainer_12dgf_2", Ea = "dark", Wa = "_getblock_ui_tabBarItem_12dgf_7", za = "_getblock_ui_tabBarItemStretched_12dgf_11", Ia = "_getblock_ui_tabBarSelected_12dgf_17", Sa = "_getblock_ui_tabBarNotSelected_12dgf_29", Da = "_getblock_ui_tabBarSelectedDisabled_12dgf_41", ja = "_getblock_ui_tabBarNotSelectedDisabled_12dgf_42", ke = {
|
|
997
|
+
tabBarContainer: fa,
|
|
998
|
+
dark: Ea,
|
|
999
999
|
tabBarItem: Wa,
|
|
1000
1000
|
tabBarItemStretched: za,
|
|
1001
1001
|
tabBarSelected: Ia,
|
|
@@ -1027,33 +1027,33 @@ const tt = "_getblock_ui_button_1pp63_1", lt = "_getblock_ui_buttonAccent_1pp63_
|
|
|
1027
1027
|
const l = d, k = (o) => {
|
|
1028
1028
|
o.value !== l.selectedItem.value && c("changeSelectedItem", o);
|
|
1029
1029
|
};
|
|
1030
|
-
return (o, p) => (
|
|
1030
|
+
return (o, p) => (s(), u("div", {
|
|
1031
1031
|
class: r([a(ke).tabBarContainer, l.stretched ? "w-full" : "max-w-max"])
|
|
1032
1032
|
}, [
|
|
1033
|
-
(
|
|
1034
|
-
key:
|
|
1033
|
+
(s(!0), u(R, null, E(d.tabItems, (n) => (s(), u("div", {
|
|
1034
|
+
key: n.value,
|
|
1035
1035
|
class: r([
|
|
1036
1036
|
a(ke).tabBarItem,
|
|
1037
|
-
l.selectedItem.value ===
|
|
1038
|
-
{ [a(ke).tabBarSelectedDisabled]: l.selectedItem.value ===
|
|
1039
|
-
{ [a(ke).tabBarNotSelectedDisabled]: l.selectedItem.value !==
|
|
1037
|
+
l.selectedItem.value === n.value ? a(ke).tabBarSelected : a(ke).tabBarNotSelected,
|
|
1038
|
+
{ [a(ke).tabBarSelectedDisabled]: l.selectedItem.value === n.value && n.disabled },
|
|
1039
|
+
{ [a(ke).tabBarNotSelectedDisabled]: l.selectedItem.value !== n.value && n.disabled },
|
|
1040
1040
|
{ [a(ke).tabBarItemStretched]: l.stretched }
|
|
1041
1041
|
]),
|
|
1042
|
-
onClick: (x) => k(
|
|
1042
|
+
onClick: (x) => k(n)
|
|
1043
1043
|
}, [
|
|
1044
|
-
!
|
|
1045
|
-
ie(i(
|
|
1046
|
-
], 64)) :
|
|
1044
|
+
!n.iconName && !d.iconsAndText ? (s(), u(R, { key: 0 }, [
|
|
1045
|
+
ie(i(n.text), 1)
|
|
1046
|
+
], 64)) : n.iconName && !d.iconsAndText ? (s(), ue(Y, {
|
|
1047
1047
|
key: 1,
|
|
1048
|
-
"icon-name":
|
|
1048
|
+
"icon-name": n.iconName
|
|
1049
1049
|
}, null, 8, ["icon-name"])) : S("", !0),
|
|
1050
|
-
|
|
1050
|
+
n.iconName && d.iconsAndText ? (s(), u(R, { key: 2 }, [
|
|
1051
1051
|
T(Y, {
|
|
1052
|
-
"icon-name":
|
|
1052
|
+
"icon-name": n.iconName
|
|
1053
1053
|
}, null, 8, ["icon-name"]),
|
|
1054
|
-
e("span", wa, i(
|
|
1054
|
+
e("span", wa, i(n.text), 1)
|
|
1055
1055
|
], 64)) : S("", !0),
|
|
1056
|
-
$(o.$slots,
|
|
1056
|
+
$(o.$slots, n.value)
|
|
1057
1057
|
], 10, Qa))), 128))
|
|
1058
1058
|
], 2));
|
|
1059
1059
|
}
|
|
@@ -1088,7 +1088,7 @@ const tt = "_getblock_ui_button_1pp63_1", lt = "_getblock_ui_buttonAccent_1pp63_
|
|
|
1088
1088
|
[re.customLoaderTintHelper]: c.colorType === "tint",
|
|
1089
1089
|
[re.customLoaderOutlineHelper]: c.colorType === "outline"
|
|
1090
1090
|
}));
|
|
1091
|
-
return (o, p) => (
|
|
1091
|
+
return (o, p) => (s(), u("div", {
|
|
1092
1092
|
class: r([a(l), a(re).customLoader])
|
|
1093
1093
|
}, [
|
|
1094
1094
|
e("div", {
|
|
@@ -1136,24 +1136,24 @@ const tt = "_getblock_ui_button_1pp63_1", lt = "_getblock_ui_buttonAccent_1pp63_
|
|
|
1136
1136
|
other: "\u5176\u4ED6",
|
|
1137
1137
|
inputPlaceholder: "\u641C\u7D22"
|
|
1138
1138
|
}
|
|
1139
|
-
}, o = g(!1), p = g(""),
|
|
1139
|
+
}, o = g(!1), p = g(""), n = g(!1), x = g([]), t = g(!1), M = g(null), v = F(() => o.value ? "main" : "tertiary"), W = F(() => l.items.filter(
|
|
1140
1140
|
(m) => m.value.toLowerCase().includes(p.value.toLowerCase()) || m.generalText.toLowerCase().includes(p.value.toLowerCase()) || m.additionalText.toLowerCase().includes(p.value.toLowerCase())
|
|
1141
1141
|
)), G = (m) => {
|
|
1142
|
-
|
|
1142
|
+
n.value && (n.value = !1, x.value = []);
|
|
1143
1143
|
for (const h of W.value)
|
|
1144
1144
|
if (h.value === m.id) {
|
|
1145
1145
|
h.checked = !h.checked, h.checked ? x.value.push(h.generalText) : x.value = x.value.filter((y) => y !== h.generalText);
|
|
1146
1146
|
break;
|
|
1147
1147
|
}
|
|
1148
|
-
},
|
|
1148
|
+
}, f = () => {
|
|
1149
1149
|
x.value = [], l.items.map((m) => {
|
|
1150
1150
|
m.checked && (m.checked = !1);
|
|
1151
|
-
}),
|
|
1151
|
+
}), n.value && (n.value = !1);
|
|
1152
1152
|
}, b = () => {
|
|
1153
|
-
|
|
1153
|
+
f(), n.value = !n.value, x.value.push(
|
|
1154
1154
|
k[l.locale].other[0].toUpperCase() + k[l.locale].other.slice(1, k[l.locale].other.length)
|
|
1155
1155
|
);
|
|
1156
|
-
},
|
|
1156
|
+
}, Z = () => {
|
|
1157
1157
|
o.value = !o.value;
|
|
1158
1158
|
}, w = () => {
|
|
1159
1159
|
t.value || (o.value = !1);
|
|
@@ -1167,7 +1167,7 @@ const tt = "_getblock_ui_button_1pp63_1", lt = "_getblock_ui_buttonAccent_1pp63_
|
|
|
1167
1167
|
t.value = !1;
|
|
1168
1168
|
}, 0), o.value = !0);
|
|
1169
1169
|
}
|
|
1170
|
-
),
|
|
1170
|
+
), Ee(() => {
|
|
1171
1171
|
M.value && clearTimeout(M.value);
|
|
1172
1172
|
});
|
|
1173
1173
|
const J = g(null), B = g(null), C = g(null), ne = g(!1), U = (m) => {
|
|
@@ -1176,8 +1176,8 @@ const tt = "_getblock_ui_button_1pp63_1", lt = "_getblock_ui_buttonAccent_1pp63_
|
|
|
1176
1176
|
}, z = (m) => {
|
|
1177
1177
|
const h = m.clientY, y = J.value.scrollTop, j = C.value.offsetHeight, q = B.value.offsetHeight;
|
|
1178
1178
|
ne.value = !0;
|
|
1179
|
-
const ee = (
|
|
1180
|
-
const D = (
|
|
1179
|
+
const ee = (_) => {
|
|
1180
|
+
const D = (_.clientY - h) / (q - j) * (J.value.scrollHeight - J.value.clientHeight);
|
|
1181
1181
|
J.value.scrollTop = y + D;
|
|
1182
1182
|
}, A = () => {
|
|
1183
1183
|
document.removeEventListener("mousemove", ee), document.removeEventListener("mouseup", A), ne.value = !1;
|
|
@@ -1192,9 +1192,9 @@ const tt = "_getblock_ui_button_1pp63_1", lt = "_getblock_ui_buttonAccent_1pp63_
|
|
|
1192
1192
|
(m = J.value) == null || m.addEventListener("scroll", U);
|
|
1193
1193
|
}), (m, h) => {
|
|
1194
1194
|
const y = Oe("click-outside");
|
|
1195
|
-
return K((
|
|
1195
|
+
return K((s(), u("div", {
|
|
1196
1196
|
tabindex: "0",
|
|
1197
|
-
onClick:
|
|
1197
|
+
onClick: Z,
|
|
1198
1198
|
class: r([
|
|
1199
1199
|
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",
|
|
1200
1200
|
"flex items-center gap-3 px-4 py-3 w-full rounded-16 border-2 cursor-pointer relative"
|
|
@@ -1232,7 +1232,7 @@ const tt = "_getblock_ui_button_1pp63_1", lt = "_getblock_ui_buttonAccent_1pp63_
|
|
|
1232
1232
|
ref_key: "dropdownContent",
|
|
1233
1233
|
ref: J
|
|
1234
1234
|
}, [
|
|
1235
|
-
(
|
|
1235
|
+
(s(!0), u(R, null, E(a(W), (j) => (s(), u("div", {
|
|
1236
1236
|
key: j.value,
|
|
1237
1237
|
class: r(["flex gap-3 p-3 items-center", { "pr-6": a(W).length >= 2 }])
|
|
1238
1238
|
}, [
|
|
@@ -1243,11 +1243,11 @@ const tt = "_getblock_ui_button_1pp63_1", lt = "_getblock_ui_buttonAccent_1pp63_
|
|
|
1243
1243
|
onChange: G
|
|
1244
1244
|
}, null, 8, ["checked", "id", "value"]),
|
|
1245
1245
|
e("span", to, i(j.generalText), 1),
|
|
1246
|
-
j.additionalText ? (
|
|
1246
|
+
j.additionalText ? (s(), u("span", lo, i(j.additionalText), 1)) : S("", !0)
|
|
1247
1247
|
], 2))), 128)),
|
|
1248
1248
|
e("div", ao, [
|
|
1249
1249
|
T(Qe, {
|
|
1250
|
-
checked:
|
|
1250
|
+
checked: n.value,
|
|
1251
1251
|
id: "other",
|
|
1252
1252
|
value: "other",
|
|
1253
1253
|
onChange: b
|
|
@@ -1255,7 +1255,7 @@ const tt = "_getblock_ui_button_1pp63_1", lt = "_getblock_ui_buttonAccent_1pp63_
|
|
|
1255
1255
|
e("span", oo, i(k[l.locale].other), 1)
|
|
1256
1256
|
])
|
|
1257
1257
|
], 512),
|
|
1258
|
-
a(W).length >= 2 ? (
|
|
1258
|
+
a(W).length >= 2 ? (s(), u("div", {
|
|
1259
1259
|
key: 0,
|
|
1260
1260
|
class: "absolute right-1 top-0 h-full w-[10px]",
|
|
1261
1261
|
ref_key: "scrollBar",
|
|
@@ -1317,7 +1317,7 @@ const tt = "_getblock_ui_button_1pp63_1", lt = "_getblock_ui_buttonAccent_1pp63_
|
|
|
1317
1317
|
return "#2772F5";
|
|
1318
1318
|
}
|
|
1319
1319
|
return "#2772F5";
|
|
1320
|
-
}),
|
|
1320
|
+
}), n = F(
|
|
1321
1321
|
() => l.values[k.value] >= 1e6 ? new Intl.NumberFormat("en", { notation: "compact" }).format(l.values[k.value]) : l.values[k.value]
|
|
1322
1322
|
);
|
|
1323
1323
|
ce(
|
|
@@ -1332,13 +1332,13 @@ const tt = "_getblock_ui_button_1pp63_1", lt = "_getblock_ui_buttonAccent_1pp63_
|
|
|
1332
1332
|
const M = t.target;
|
|
1333
1333
|
c("update:value", l.values[Number(M.value)]);
|
|
1334
1334
|
};
|
|
1335
|
-
return (t, M) => (
|
|
1335
|
+
return (t, M) => (s(), u("div", co, [
|
|
1336
1336
|
e("div", io, [
|
|
1337
1337
|
e("p", uo, i(d.label), 1),
|
|
1338
1338
|
e("p", {
|
|
1339
1339
|
class: "font-bold",
|
|
1340
|
-
style:
|
|
1341
|
-
}, i(a(
|
|
1340
|
+
style: fe({ color: a(p) })
|
|
1341
|
+
}, i(a(n)), 5)
|
|
1342
1342
|
]),
|
|
1343
1343
|
e("div", ro, [
|
|
1344
1344
|
e("div", po, [
|
|
@@ -1352,14 +1352,14 @@ const tt = "_getblock_ui_button_1pp63_1", lt = "_getblock_ui_buttonAccent_1pp63_
|
|
|
1352
1352
|
onInput: x
|
|
1353
1353
|
}, null, 40, mo),
|
|
1354
1354
|
e("div", ho, [
|
|
1355
|
-
(
|
|
1355
|
+
(s(!0), u(R, null, E(d.marks, (v) => (s(), u("div", {
|
|
1356
1356
|
key: v,
|
|
1357
1357
|
class: r(["dot", [{ "!bg-[#DEDFE0]": d.value < Number(v) }]])
|
|
1358
1358
|
}, null, 2))), 128))
|
|
1359
1359
|
])
|
|
1360
1360
|
]),
|
|
1361
1361
|
e("div", ko, [
|
|
1362
|
-
(
|
|
1362
|
+
(s(!0), u(R, null, E(d.marks, (v) => (s(), u("span", {
|
|
1363
1363
|
key: v,
|
|
1364
1364
|
class: "slider-mark"
|
|
1365
1365
|
}, i(v), 1))), 128))
|
|
@@ -1419,9 +1419,9 @@ const vo = { key: 0 }, yo = { class: "contact-form__header--title" }, Uo = { cla
|
|
|
1419
1419
|
},
|
|
1420
1420
|
emits: ["contactFormSent"],
|
|
1421
1421
|
setup(d, { emit: c }) {
|
|
1422
|
-
const l = d, k = c, { getText: o, loadTexts: p } = Vo(),
|
|
1422
|
+
const l = d, k = c, { getText: o, loadTexts: p } = Vo(), n = g(""), x = g(!1), t = g(""), M = g(!1), v = g(""), W = g(!1), G = g(null), f = g(""), b = g(!1), Z = g(""), w = g(!1), J = F(() => {
|
|
1423
1423
|
const N = /^\S+@\S+\.\S+$/;
|
|
1424
|
-
return
|
|
1424
|
+
return n.value.trim().length === 0 || v.value.trim().length === 0 || !N.test(v.value.trim()) || f.value.trim().length === 0 || Z.value.trim().length === 0;
|
|
1425
1425
|
});
|
|
1426
1426
|
ce(() => l.locale, p, { immediate: !0 });
|
|
1427
1427
|
const B = (N) => {
|
|
@@ -1431,36 +1431,36 @@ const vo = { key: 0 }, yo = { class: "contact-form__header--title" }, Uo = { cla
|
|
|
1431
1431
|
const m = (j = o.value) == null ? void 0 : j.form.errors[N];
|
|
1432
1432
|
return typeof m == "string" ? m : void 0;
|
|
1433
1433
|
}, C = (N) => {
|
|
1434
|
-
if (N === "name" && (x.value =
|
|
1434
|
+
if (N === "name" && (x.value = n.value.trim().length === 0), N === "company" && (M.value = t.value.trim().length === 0), N === "email") {
|
|
1435
1435
|
const m = v.value.trim();
|
|
1436
1436
|
m.length === 0 ? (W.value = !0, G.value = "empty") : /^\S+@\S+\.\S+$/.test(m) ? (W.value = !1, G.value = null) : (W.value = !0, G.value = "invalid");
|
|
1437
1437
|
}
|
|
1438
|
-
N === "contact" && (b.value =
|
|
1438
|
+
N === "contact" && (b.value = f.value.trim().length === 0), N === "message" && (w.value = Z.value.trim().length === 0);
|
|
1439
1439
|
}, ne = () => {
|
|
1440
1440
|
let N = !0;
|
|
1441
|
-
|
|
1441
|
+
n.value.trim().length === 0 && (x.value = !0, N = !1);
|
|
1442
1442
|
const m = v.value.trim();
|
|
1443
|
-
return m.length === 0 ? (W.value = !0, G.value = "empty", N = !1) : /^\S+@\S+\.\S+$/.test(m) || (W.value = !0, G.value = "invalid", N = !1),
|
|
1443
|
+
return m.length === 0 ? (W.value = !0, G.value = "empty", N = !1) : /^\S+@\S+\.\S+$/.test(m) || (W.value = !0, G.value = "invalid", N = !1), f.value.trim().length === 0 && (b.value = !0, N = !1), Z.value.trim().length === 0 && (w.value = !0, N = !1), N;
|
|
1444
1444
|
}, U = () => {
|
|
1445
|
-
ne() && k("contactFormSent", {
|
|
1446
|
-
name:
|
|
1445
|
+
ne() && (k("contactFormSent", {
|
|
1446
|
+
name: n.value,
|
|
1447
1447
|
company: t.value,
|
|
1448
1448
|
email: v.value,
|
|
1449
|
-
contact:
|
|
1450
|
-
textMessage:
|
|
1451
|
-
});
|
|
1449
|
+
contact: f.value,
|
|
1450
|
+
textMessage: Z.value
|
|
1451
|
+
}), n.value = "", t.value = "", v.value = "", f.value = "", Z.value = "");
|
|
1452
1452
|
}, z = (N, m) => {
|
|
1453
1453
|
m.preventDefault(), m.stopPropagation(), window.location.href = N;
|
|
1454
1454
|
};
|
|
1455
1455
|
return (N, m) => {
|
|
1456
|
-
var h, y, j, q, ee, A,
|
|
1457
|
-
return
|
|
1456
|
+
var h, y, j, q, ee, A, _, D, ae;
|
|
1457
|
+
return s(), u("div", {
|
|
1458
1458
|
class: r(["contact-form", { "contact-form--dark": d.colorMode === "dark" }])
|
|
1459
1459
|
}, [
|
|
1460
1460
|
e("div", {
|
|
1461
1461
|
class: r(["contact-form__header", { "contact-form__header--empty": l.isTitleEmpty }])
|
|
1462
1462
|
}, [
|
|
1463
|
-
!l.title && !l.isTitleEmpty ? (
|
|
1463
|
+
!l.title && !l.isTitleEmpty ? (s(), u("div", vo, [
|
|
1464
1464
|
m[16] || (m[16] = e("img", {
|
|
1465
1465
|
class: "contact-form__header--image",
|
|
1466
1466
|
alt: "contact form image",
|
|
@@ -1470,7 +1470,7 @@ const vo = { key: 0 }, yo = { class: "contact-form__header--title" }, Uo = { cla
|
|
|
1470
1470
|
}, null, -1)),
|
|
1471
1471
|
e("h1", yo, i((h = a(o)) == null ? void 0 : h.title), 1),
|
|
1472
1472
|
e("p", Uo, i((y = a(o)) == null ? void 0 : y.description), 1)
|
|
1473
|
-
])) : (
|
|
1473
|
+
])) : (s(), u("h1", Fo, i(l.title), 1))
|
|
1474
1474
|
], 2),
|
|
1475
1475
|
e("div", Zo, [
|
|
1476
1476
|
T(a(de), {
|
|
@@ -1485,8 +1485,8 @@ const vo = { key: 0 }, yo = { class: "contact-form__header--title" }, Uo = { cla
|
|
|
1485
1485
|
"right-icon-name": "check-circle-green",
|
|
1486
1486
|
error: x.value,
|
|
1487
1487
|
placeholder: (j = a(o)) == null ? void 0 : j.form.placeholders.name,
|
|
1488
|
-
"input-value":
|
|
1489
|
-
"onUpdate:inputValue": m[0] || (m[0] = (Q) =>
|
|
1488
|
+
"input-value": n.value,
|
|
1489
|
+
"onUpdate:inputValue": m[0] || (m[0] = (Q) => n.value = Q),
|
|
1490
1490
|
onInput: m[1] || (m[1] = (Q) => C("name")),
|
|
1491
1491
|
onChange: m[2] || (m[2] = (Q) => C("name"))
|
|
1492
1492
|
}, me({ _: 2 }, [
|
|
@@ -1560,8 +1560,8 @@ const vo = { key: 0 }, yo = { class: "contact-form__header--title" }, Uo = { cla
|
|
|
1560
1560
|
"right-icon-name": "check-circle-green",
|
|
1561
1561
|
error: b.value,
|
|
1562
1562
|
placeholder: (A = a(o)) == null ? void 0 : A.form.placeholders.contact,
|
|
1563
|
-
"input-value":
|
|
1564
|
-
"onUpdate:inputValue": m[9] || (m[9] = (Q) =>
|
|
1563
|
+
"input-value": f.value,
|
|
1564
|
+
"onUpdate:inputValue": m[9] || (m[9] = (Q) => f.value = Q),
|
|
1565
1565
|
onInput: m[10] || (m[10] = (Q) => C("contact")),
|
|
1566
1566
|
onChange: m[11] || (m[11] = (Q) => C("contact"))
|
|
1567
1567
|
}, me({ _: 2 }, [
|
|
@@ -1578,9 +1578,9 @@ const vo = { key: 0 }, yo = { class: "contact-form__header--title" }, Uo = { cla
|
|
|
1578
1578
|
"input-name": "message",
|
|
1579
1579
|
"tab-index": 5,
|
|
1580
1580
|
error: w.value,
|
|
1581
|
-
"input-value":
|
|
1582
|
-
"onUpdate:inputValue": m[12] || (m[12] = (Q) =>
|
|
1583
|
-
placeholder: (
|
|
1581
|
+
"input-value": Z.value,
|
|
1582
|
+
"onUpdate:inputValue": m[12] || (m[12] = (Q) => Z.value = Q),
|
|
1583
|
+
placeholder: (_ = a(o)) == null ? void 0 : _.form.placeholders.textMessage,
|
|
1584
1584
|
onInput: m[13] || (m[13] = (Q) => C("message")),
|
|
1585
1585
|
onChange: m[14] || (m[14] = (Q) => C("message")),
|
|
1586
1586
|
onKeydown: Fe(he(U, ["prevent"]), ["enter"])
|
|
@@ -1629,7 +1629,7 @@ const xe = (d, c) => {
|
|
|
1629
1629
|
for (const [k, o] of c)
|
|
1630
1630
|
l[k] = o;
|
|
1631
1631
|
return l;
|
|
1632
|
-
},
|
|
1632
|
+
}, fo = /* @__PURE__ */ xe(Ro, [["__scopeId", "data-v-c5635f6f"]]), Eo = /* @__PURE__ */ H({
|
|
1633
1633
|
__name: "ContactModal",
|
|
1634
1634
|
props: {
|
|
1635
1635
|
locale: {
|
|
@@ -1645,16 +1645,16 @@ const xe = (d, c) => {
|
|
|
1645
1645
|
setup(d, { emit: c }) {
|
|
1646
1646
|
const l = d, k = c, o = () => {
|
|
1647
1647
|
k("closeContactModal");
|
|
1648
|
-
}, p = (
|
|
1648
|
+
}, p = (n) => {
|
|
1649
1649
|
k("contactModalSent", {
|
|
1650
|
-
name:
|
|
1651
|
-
company:
|
|
1652
|
-
email:
|
|
1653
|
-
contact:
|
|
1654
|
-
textMessage:
|
|
1650
|
+
name: n.name,
|
|
1651
|
+
company: n.company,
|
|
1652
|
+
email: n.email,
|
|
1653
|
+
contact: n.contact,
|
|
1654
|
+
textMessage: n.textMessage
|
|
1655
1655
|
});
|
|
1656
1656
|
};
|
|
1657
|
-
return (
|
|
1657
|
+
return (n, x) => (s(), u("div", {
|
|
1658
1658
|
class: r(["contact-modal", a(Be).contactModal]),
|
|
1659
1659
|
onClick: he(o, ["self"])
|
|
1660
1660
|
}, [
|
|
@@ -1676,14 +1676,14 @@ const xe = (d, c) => {
|
|
|
1676
1676
|
]),
|
|
1677
1677
|
_: 1
|
|
1678
1678
|
}),
|
|
1679
|
-
T(
|
|
1679
|
+
T(fo, {
|
|
1680
1680
|
"is-title-empty": !1,
|
|
1681
1681
|
locale: l.locale,
|
|
1682
1682
|
"color-mode": l.colorMode === "light" ? "light" : "dark",
|
|
1683
1683
|
onContactFormSent: p
|
|
1684
1684
|
}, {
|
|
1685
1685
|
"turnstile-widget": I(() => [
|
|
1686
|
-
$(
|
|
1686
|
+
$(n.$slots, "turnstile-widget", {}, void 0, !0)
|
|
1687
1687
|
]),
|
|
1688
1688
|
_: 3
|
|
1689
1689
|
}, 8, ["locale", "color-mode"])
|
|
@@ -1691,7 +1691,7 @@ const xe = (d, c) => {
|
|
|
1691
1691
|
], 2));
|
|
1692
1692
|
}
|
|
1693
1693
|
});
|
|
1694
|
-
const ou = /* @__PURE__ */ xe(
|
|
1694
|
+
const ou = /* @__PURE__ */ xe(Eo, [["__scopeId", "data-v-ccb6ae10"]]), Wo = "_getblock_ui_cookie_1m598_1", zo = "dark", Io = "_getblock_ui_cookieManageModal_1m598_9", So = "_getblock_ui_cookieManageContainer_1m598_14", ye = {
|
|
1695
1695
|
cookie: Wo,
|
|
1696
1696
|
dark: zo,
|
|
1697
1697
|
cookieManageModal: Io,
|
|
@@ -1811,20 +1811,20 @@ const ou = /* @__PURE__ */ xe(fo, [["__scopeId", "data-v-ccb6ae10"]]), Wo = "_ge
|
|
|
1811
1811
|
id: "marketing",
|
|
1812
1812
|
checked: !1
|
|
1813
1813
|
}
|
|
1814
|
-
]),
|
|
1815
|
-
() =>
|
|
1816
|
-
), v = (
|
|
1817
|
-
o.value =
|
|
1814
|
+
]), n = F(() => k.locale === "en" || k.locale === "en-gb"), x = F(() => k.mainProject ? "_self" : "_blank"), t = F(() => n.value ? "" : "cn/"), M = F(
|
|
1815
|
+
() => n.value ? Do : jo
|
|
1816
|
+
), v = (f) => {
|
|
1817
|
+
o.value = f;
|
|
1818
1818
|
}, W = () => {
|
|
1819
|
-
const
|
|
1819
|
+
const f = [];
|
|
1820
1820
|
p.value.forEach((b) => {
|
|
1821
|
-
b.checked &&
|
|
1822
|
-
}), o.value && v(!1), l("onAcceptCookie",
|
|
1821
|
+
b.checked && f.push(b.id);
|
|
1822
|
+
}), o.value && v(!1), l("onAcceptCookie", f);
|
|
1823
1823
|
}, G = () => {
|
|
1824
1824
|
o.value && v(!1), l("onRejectCookie");
|
|
1825
1825
|
};
|
|
1826
|
-
return (
|
|
1827
|
-
o.value ? S("", !0) : (
|
|
1826
|
+
return (f, b) => k.acceptCookie ? S("", !0) : (s(), u("div", Qo, [
|
|
1827
|
+
o.value ? S("", !0) : (s(), u("div", {
|
|
1828
1828
|
key: 0,
|
|
1829
1829
|
class: r(a(ye).cookie)
|
|
1830
1830
|
}, [
|
|
@@ -1851,7 +1851,7 @@ const ou = /* @__PURE__ */ xe(fo, [["__scopeId", "data-v-ccb6ae10"]]), Wo = "_ge
|
|
|
1851
1851
|
class: "flex justify-center flex-shrink-0",
|
|
1852
1852
|
"size-type": "medium",
|
|
1853
1853
|
"color-type": "secondary",
|
|
1854
|
-
onClick: b[0] || (b[0] = (
|
|
1854
|
+
onClick: b[0] || (b[0] = (Z) => v(!0))
|
|
1855
1855
|
}, {
|
|
1856
1856
|
default: I(() => [
|
|
1857
1857
|
e("span", Co, i(M.value.banner.button.first), 1)
|
|
@@ -1896,7 +1896,7 @@ const ou = /* @__PURE__ */ xe(fo, [["__scopeId", "data-v-ccb6ae10"]]), Wo = "_ge
|
|
|
1896
1896
|
"size-type": "medium",
|
|
1897
1897
|
class: "w-9",
|
|
1898
1898
|
"color-type": "secondary",
|
|
1899
|
-
onClick: b[1] || (b[1] = (
|
|
1899
|
+
onClick: b[1] || (b[1] = (Z) => v(!1))
|
|
1900
1900
|
}, {
|
|
1901
1901
|
default: I(() => [
|
|
1902
1902
|
T(a(Y), {
|
|
@@ -1909,19 +1909,19 @@ const ou = /* @__PURE__ */ xe(fo, [["__scopeId", "data-v-ccb6ae10"]]), Wo = "_ge
|
|
|
1909
1909
|
})
|
|
1910
1910
|
]),
|
|
1911
1911
|
e("div", Ho, [
|
|
1912
|
-
(
|
|
1913
|
-
key:
|
|
1912
|
+
(s(!0), u(R, null, E(p.value, (Z) => (s(), u("div", {
|
|
1913
|
+
key: Z.id,
|
|
1914
1914
|
class: "flex gap-8"
|
|
1915
1915
|
}, [
|
|
1916
1916
|
e("div", Ao, [
|
|
1917
|
-
e("p", Po, i(M.value.manage.list[
|
|
1918
|
-
e("p", Ko, i(M.value.manage.list[
|
|
1917
|
+
e("p", Po, i(M.value.manage.list[Z.id].title), 1),
|
|
1918
|
+
e("p", Ko, i(M.value.manage.list[Z.id].description), 1)
|
|
1919
1919
|
]),
|
|
1920
1920
|
T(a(Ze), {
|
|
1921
1921
|
class: "self-center",
|
|
1922
|
-
selected:
|
|
1923
|
-
disabled:
|
|
1924
|
-
onInput: (w) =>
|
|
1922
|
+
selected: Z.checked,
|
|
1923
|
+
disabled: Z.id === "strictly",
|
|
1924
|
+
onInput: (w) => Z.checked = !Z.checked
|
|
1925
1925
|
}, null, 8, ["selected", "disabled", "onInput"])
|
|
1926
1926
|
]))), 128))
|
|
1927
1927
|
]),
|
|
@@ -2075,7 +2075,7 @@ const ou = /* @__PURE__ */ xe(fo, [["__scopeId", "data-v-ccb6ae10"]]), Wo = "_ge
|
|
|
2075
2075
|
}, ln = "_getblock_ui_navigationItemTitle_pc7nq_1", an = "_getblock_ui_navigationItemLink_pc7nq_4", V = {
|
|
2076
2076
|
navigationItemTitle: ln,
|
|
2077
2077
|
navigationItemLink: an
|
|
2078
|
-
}, on = { class: "max-w-[1280px] flex flex-col px-6 mx-auto" }, nn = { class: "justify-between footer--desktop" }, sn = { class: "flex flex-col" }, cn = ["href"], un = { class: "flex flex-col" }, dn = ["href"], rn = { class: "flex flex-col" }, pn = { class: "flex flex-col" }, mn = ["href"], hn = { class: "flex flex-col mt-[20px]" }, kn = ["href"], xn = { class: "flex flex-col" }, Nn = ["rel", "href"], gn = { class: "flex flex-col" }, Tn = ["href"], Mn = { class: "flex flex-col" }, bn = ["href"], Vn = { class: "justify-between gap-4 footer--tablet" }, vn = { class: "flex flex-col" }, yn = ["href"], Un = { class: "flex flex-col" }, Fn = ["href"], Zn = { class: "flex flex-col" }, _n = { class: "flex flex-col" }, Rn = ["href"],
|
|
2078
|
+
}, on = { class: "max-w-[1280px] flex flex-col px-6 mx-auto" }, nn = { class: "justify-between footer--desktop" }, sn = { class: "flex flex-col" }, cn = ["href"], un = { class: "flex flex-col" }, dn = ["href"], rn = { class: "flex flex-col" }, pn = { class: "flex flex-col" }, mn = ["href"], hn = { class: "flex flex-col mt-[20px]" }, kn = ["href"], xn = { class: "flex flex-col" }, Nn = ["rel", "href"], gn = { class: "flex flex-col" }, Tn = ["href"], Mn = { class: "flex flex-col" }, bn = ["href"], Vn = { class: "justify-between gap-4 footer--tablet" }, vn = { class: "flex flex-col" }, yn = ["href"], Un = { class: "flex flex-col" }, Fn = ["href"], Zn = { class: "flex flex-col" }, _n = { class: "flex flex-col" }, Rn = ["href"], fn = { class: "flex flex-col mt-[20px]" }, En = ["href"], Wn = { class: "flex flex-col" }, zn = { class: "flex flex-col" }, In = ["rel", "href"], Sn = { class: "flex flex-col mt-[20px]" }, Dn = ["href"], jn = { class: "flex flex-col" }, Qn = ["href"], wn = { class: "justify-between footer--tablet--small" }, Bn = { class: "flex flex-col" }, Yn = ["href"], Gn = { class: "flex flex-col mt-[20px]" }, Cn = ["href"], Jn = { class: "flex flex-col" }, On = ["href"], Ln = { class: "flex flex-col mt-[20px]" }, Xn = ["href"], Hn = { class: "flex flex-col" }, An = { class: "flex flex-col" }, Pn = ["rel", "href"], Kn = { class: "flex flex-col mt-[20px]" }, $n = ["href"], qn = { class: "flex flex-col mt-[20px]" }, es = ["href"], ts = { class: "gap-5 justify-between footer--mobile" }, ls = { class: "flex flex-col gap-5" }, as = { class: "flex flex-col" }, os = ["href"], ns = { class: "flex flex-col" }, ss = ["href"], cs = { class: "flex flex-col" }, is = ["rel", "href"], us = { class: "flex flex-col" }, ds = ["href"], rs = { class: "flex flex-col gap-5" }, ps = { class: "flex flex-col" }, ms = ["href"], hs = { class: "flex flex-col" }, ks = ["href"], xs = { class: "flex flex-col" }, Ns = ["href"], gs = { class: "copyright flex xs:flex-col xs:gap-8 xs:items-center justify-between py-8 border-t border-t-[#F2F2F2] mt-24" }, Ts = {
|
|
2079
2079
|
class: "copyright__socials flex gap-2",
|
|
2080
2080
|
"aria-label": "Our social networks"
|
|
2081
2081
|
}, Ms = ["href", "aria-balel"], bs = ["alt", "src"], Vs = { class: "flex flex-col gap-2" }, vs = { class: "text-sm leading-5 xs:text-center" }, ys = /* @__PURE__ */ H({
|
|
@@ -2321,8 +2321,8 @@ const ou = /* @__PURE__ */ xe(fo, [["__scopeId", "data-v-ccb6ae10"]]), Wo = "_ge
|
|
|
2321
2321
|
name: "github",
|
|
2322
2322
|
link: "https://github.com/GetBlock-io"
|
|
2323
2323
|
}
|
|
2324
|
-
]), o = F(() => c.locale === "en" || c.locale === "en-gb" ? en : tn), p = (
|
|
2325
|
-
return (
|
|
2324
|
+
]), o = F(() => c.locale === "en" || c.locale === "en-gb" ? en : tn), p = (n) => n.includes("blog") || c.locale === "en" ? n : n.includes("docs") ? n === "/docs/" ? "/docs/cn/" : `/docs/cn${n.split("docs/").join("")}` : n.includes("explorers") ? n === "/explorers/" ? "/explorers/cn/" : `/explorers/cn${n.split("explorers/").join("")}` : n === "/" ? "/cn/" : `/cn${n}`;
|
|
2325
|
+
return (n, x) => (s(), u("footer", {
|
|
2326
2326
|
class: r(["border-t border-t-[#F2F2F2] w-full pt-24", { "getblock-ui-kit-navbar--dark": c.colorMode === "dark" }])
|
|
2327
2327
|
}, [
|
|
2328
2328
|
e("div", on, [
|
|
@@ -2331,7 +2331,7 @@ const ou = /* @__PURE__ */ xe(fo, [["__scopeId", "data-v-ccb6ae10"]]), Wo = "_ge
|
|
|
2331
2331
|
e("p", {
|
|
2332
2332
|
class: r(a(V).navigationItemTitle)
|
|
2333
2333
|
}, i(o.value.product.title), 3),
|
|
2334
|
-
(
|
|
2334
|
+
(s(!0), u(R, null, E(l.value[0].items, (t) => (s(), u("a", {
|
|
2335
2335
|
key: t.key,
|
|
2336
2336
|
class: r(a(V).navigationItemLink),
|
|
2337
2337
|
href: t.path.includes("https://") ? t.path : p(`/${t.path}`)
|
|
@@ -2341,7 +2341,7 @@ const ou = /* @__PURE__ */ xe(fo, [["__scopeId", "data-v-ccb6ae10"]]), Wo = "_ge
|
|
|
2341
2341
|
e("p", {
|
|
2342
2342
|
class: r(a(V).navigationItemTitle)
|
|
2343
2343
|
}, i(o.value.chains.title), 3),
|
|
2344
|
-
(
|
|
2344
|
+
(s(!0), u(R, null, E(l.value[1].items, (t) => (s(), u("a", {
|
|
2345
2345
|
key: t.key,
|
|
2346
2346
|
class: r(a(V).navigationItemLink),
|
|
2347
2347
|
href: t.path.includes("https://") ? t.path : p(`/${t.path}`)
|
|
@@ -2352,7 +2352,7 @@ const ou = /* @__PURE__ */ xe(fo, [["__scopeId", "data-v-ccb6ae10"]]), Wo = "_ge
|
|
|
2352
2352
|
e("p", {
|
|
2353
2353
|
class: r(a(V).navigationItemTitle)
|
|
2354
2354
|
}, i(o.value.explorers.title), 3),
|
|
2355
|
-
(
|
|
2355
|
+
(s(!0), u(R, null, E(l.value[2].items, (t) => (s(), u("a", {
|
|
2356
2356
|
key: t.key,
|
|
2357
2357
|
class: r(a(V).navigationItemLink),
|
|
2358
2358
|
href: t.path.includes("https://") ? t.path : p(`/${t.path}`)
|
|
@@ -2362,7 +2362,7 @@ const ou = /* @__PURE__ */ xe(fo, [["__scopeId", "data-v-ccb6ae10"]]), Wo = "_ge
|
|
|
2362
2362
|
e("p", {
|
|
2363
2363
|
class: r(a(V).navigationItemTitle)
|
|
2364
2364
|
}, i(o.value["for-developers"].title), 3),
|
|
2365
|
-
(
|
|
2365
|
+
(s(!0), u(R, null, E(l.value[3].items, (t) => (s(), u("a", {
|
|
2366
2366
|
key: t.key,
|
|
2367
2367
|
class: r(a(V).navigationItemLink),
|
|
2368
2368
|
href: t.path.includes("https://") ? t.path : p(`/${t.path}`)
|
|
@@ -2373,7 +2373,7 @@ const ou = /* @__PURE__ */ xe(fo, [["__scopeId", "data-v-ccb6ae10"]]), Wo = "_ge
|
|
|
2373
2373
|
e("p", {
|
|
2374
2374
|
class: r(a(V).navigationItemTitle)
|
|
2375
2375
|
}, i(o.value.company.title), 3),
|
|
2376
|
-
(
|
|
2376
|
+
(s(!0), u(R, null, E(l.value[4].items, (t) => (s(), u("a", {
|
|
2377
2377
|
key: t.key,
|
|
2378
2378
|
rel: t.nofollow ? "nofollow" : void 0,
|
|
2379
2379
|
class: r(a(V).navigationItemLink),
|
|
@@ -2384,7 +2384,7 @@ const ou = /* @__PURE__ */ xe(fo, [["__scopeId", "data-v-ccb6ae10"]]), Wo = "_ge
|
|
|
2384
2384
|
e("p", {
|
|
2385
2385
|
class: r(a(V).navigationItemTitle)
|
|
2386
2386
|
}, i(o.value.partnerships.title), 3),
|
|
2387
|
-
(
|
|
2387
|
+
(s(!0), u(R, null, E(l.value[5].items, (t) => (s(), u("a", {
|
|
2388
2388
|
key: t.key,
|
|
2389
2389
|
class: r(a(V).navigationItemLink),
|
|
2390
2390
|
href: t.path.includes("https://") ? t.path : p(`/${t.path}`)
|
|
@@ -2394,7 +2394,7 @@ const ou = /* @__PURE__ */ xe(fo, [["__scopeId", "data-v-ccb6ae10"]]), Wo = "_ge
|
|
|
2394
2394
|
e("p", {
|
|
2395
2395
|
class: r(a(V).navigationItemTitle)
|
|
2396
2396
|
}, i(o.value["legal-documents"].title), 3),
|
|
2397
|
-
(
|
|
2397
|
+
(s(!0), u(R, null, E(l.value[6].items, (t) => (s(), u("a", {
|
|
2398
2398
|
key: t.key,
|
|
2399
2399
|
class: r(a(V).navigationItemLink),
|
|
2400
2400
|
href: t.path.includes("https://") ? t.path : p(`/${t.path}`)
|
|
@@ -2406,7 +2406,7 @@ const ou = /* @__PURE__ */ xe(fo, [["__scopeId", "data-v-ccb6ae10"]]), Wo = "_ge
|
|
|
2406
2406
|
e("p", {
|
|
2407
2407
|
class: r(a(V).navigationItemTitle)
|
|
2408
2408
|
}, i(o.value.product.title), 3),
|
|
2409
|
-
(
|
|
2409
|
+
(s(!0), u(R, null, E(l.value[0].items, (t) => (s(), u("a", {
|
|
2410
2410
|
key: t.key,
|
|
2411
2411
|
class: r(a(V).navigationItemLink),
|
|
2412
2412
|
href: t.path.includes("https://") ? t.path : p(`/${t.path}`)
|
|
@@ -2416,7 +2416,7 @@ const ou = /* @__PURE__ */ xe(fo, [["__scopeId", "data-v-ccb6ae10"]]), Wo = "_ge
|
|
|
2416
2416
|
e("p", {
|
|
2417
2417
|
class: r(a(V).navigationItemTitle)
|
|
2418
2418
|
}, i(o.value.chains.title), 3),
|
|
2419
|
-
(
|
|
2419
|
+
(s(!0), u(R, null, E(l.value[1].items, (t) => (s(), u("a", {
|
|
2420
2420
|
key: t.key,
|
|
2421
2421
|
class: r(a(V).navigationItemLink),
|
|
2422
2422
|
href: t.path.includes("https://") ? t.path : p(`/${t.path}`)
|
|
@@ -2427,21 +2427,21 @@ const ou = /* @__PURE__ */ xe(fo, [["__scopeId", "data-v-ccb6ae10"]]), Wo = "_ge
|
|
|
2427
2427
|
e("p", {
|
|
2428
2428
|
class: r(a(V).navigationItemTitle)
|
|
2429
2429
|
}, i(o.value.explorers.title), 3),
|
|
2430
|
-
(
|
|
2430
|
+
(s(!0), u(R, null, E(l.value[2].items, (t) => (s(), u("a", {
|
|
2431
2431
|
key: t.key,
|
|
2432
2432
|
class: r(a(V).navigationItemLink),
|
|
2433
2433
|
href: t.path.includes("https://") ? t.path : p(`/${t.path}`)
|
|
2434
2434
|
}, i(o.value.explorers[t.key]), 11, Rn))), 128))
|
|
2435
2435
|
]),
|
|
2436
|
-
e("div",
|
|
2436
|
+
e("div", fn, [
|
|
2437
2437
|
e("p", {
|
|
2438
2438
|
class: r(a(V).navigationItemTitle)
|
|
2439
2439
|
}, i(o.value["for-developers"].title), 3),
|
|
2440
|
-
(
|
|
2440
|
+
(s(!0), u(R, null, E(l.value[3].items, (t) => (s(), u("a", {
|
|
2441
2441
|
key: t.key,
|
|
2442
2442
|
class: r(a(V).navigationItemLink),
|
|
2443
2443
|
href: t.path.includes("https://") ? t.path : p(`/${t.path}`)
|
|
2444
|
-
}, i(o.value["for-developers"][t.key]), 11,
|
|
2444
|
+
}, i(o.value["for-developers"][t.key]), 11, En))), 128))
|
|
2445
2445
|
])
|
|
2446
2446
|
]),
|
|
2447
2447
|
e("div", Wn, [
|
|
@@ -2449,7 +2449,7 @@ const ou = /* @__PURE__ */ xe(fo, [["__scopeId", "data-v-ccb6ae10"]]), Wo = "_ge
|
|
|
2449
2449
|
e("p", {
|
|
2450
2450
|
class: r(a(V).navigationItemTitle)
|
|
2451
2451
|
}, i(o.value.company.title), 3),
|
|
2452
|
-
(
|
|
2452
|
+
(s(!0), u(R, null, E(l.value[4].items, (t) => (s(), u("a", {
|
|
2453
2453
|
key: t.key,
|
|
2454
2454
|
rel: t.nofollow ? "nofollow" : void 0,
|
|
2455
2455
|
class: r(a(V).navigationItemLink),
|
|
@@ -2460,7 +2460,7 @@ const ou = /* @__PURE__ */ xe(fo, [["__scopeId", "data-v-ccb6ae10"]]), Wo = "_ge
|
|
|
2460
2460
|
e("p", {
|
|
2461
2461
|
class: r(a(V).navigationItemTitle)
|
|
2462
2462
|
}, i(o.value.partnerships.title), 3),
|
|
2463
|
-
(
|
|
2463
|
+
(s(!0), u(R, null, E(l.value[5].items, (t) => (s(), u("a", {
|
|
2464
2464
|
key: t.key,
|
|
2465
2465
|
class: r(a(V).navigationItemLink),
|
|
2466
2466
|
href: t.path.includes("https://") ? t.path : p(`/${t.path}`)
|
|
@@ -2471,7 +2471,7 @@ const ou = /* @__PURE__ */ xe(fo, [["__scopeId", "data-v-ccb6ae10"]]), Wo = "_ge
|
|
|
2471
2471
|
e("p", {
|
|
2472
2472
|
class: r(a(V).navigationItemTitle)
|
|
2473
2473
|
}, i(o.value["legal-documents"].title), 3),
|
|
2474
|
-
(
|
|
2474
|
+
(s(!0), u(R, null, E(l.value[6].items, (t) => (s(), u("a", {
|
|
2475
2475
|
key: t.key,
|
|
2476
2476
|
class: r(a(V).navigationItemLink),
|
|
2477
2477
|
href: t.path.includes("https://") ? t.path : p(`/${t.path}`)
|
|
@@ -2484,7 +2484,7 @@ const ou = /* @__PURE__ */ xe(fo, [["__scopeId", "data-v-ccb6ae10"]]), Wo = "_ge
|
|
|
2484
2484
|
e("p", {
|
|
2485
2485
|
class: r(a(V).navigationItemTitle)
|
|
2486
2486
|
}, i(o.value.product.title), 3),
|
|
2487
|
-
(
|
|
2487
|
+
(s(!0), u(R, null, E(l.value[0].items, (t) => (s(), u("a", {
|
|
2488
2488
|
key: t.key,
|
|
2489
2489
|
class: r(a(V).navigationItemLink),
|
|
2490
2490
|
href: t.path.includes("https://") ? t.path : p(`/${t.path}`)
|
|
@@ -2494,7 +2494,7 @@ const ou = /* @__PURE__ */ xe(fo, [["__scopeId", "data-v-ccb6ae10"]]), Wo = "_ge
|
|
|
2494
2494
|
e("p", {
|
|
2495
2495
|
class: r(a(V).navigationItemTitle)
|
|
2496
2496
|
}, i(o.value.explorers.title), 3),
|
|
2497
|
-
(
|
|
2497
|
+
(s(!0), u(R, null, E(l.value[2].items, (t) => (s(), u("a", {
|
|
2498
2498
|
key: t.key,
|
|
2499
2499
|
class: r(a(V).navigationItemLink),
|
|
2500
2500
|
href: t.path.includes("https://") ? t.path : p(`/${t.path}`)
|
|
@@ -2506,7 +2506,7 @@ const ou = /* @__PURE__ */ xe(fo, [["__scopeId", "data-v-ccb6ae10"]]), Wo = "_ge
|
|
|
2506
2506
|
e("p", {
|
|
2507
2507
|
class: r(a(V).navigationItemTitle)
|
|
2508
2508
|
}, i(o.value.chains.title), 3),
|
|
2509
|
-
(
|
|
2509
|
+
(s(!0), u(R, null, E(l.value[1].items, (t) => (s(), u("a", {
|
|
2510
2510
|
key: t.key,
|
|
2511
2511
|
class: r(a(V).navigationItemLink),
|
|
2512
2512
|
href: t.path.includes("https://") ? t.path : p(`/${t.path}`)
|
|
@@ -2516,7 +2516,7 @@ const ou = /* @__PURE__ */ xe(fo, [["__scopeId", "data-v-ccb6ae10"]]), Wo = "_ge
|
|
|
2516
2516
|
e("p", {
|
|
2517
2517
|
class: r(a(V).navigationItemTitle)
|
|
2518
2518
|
}, i(o.value["for-developers"].title), 3),
|
|
2519
|
-
(
|
|
2519
|
+
(s(!0), u(R, null, E(l.value[3].items, (t) => (s(), u("a", {
|
|
2520
2520
|
key: t.key,
|
|
2521
2521
|
class: r(a(V).navigationItemLink),
|
|
2522
2522
|
href: t.path.includes("https://") ? t.path : p(`/${t.path}`)
|
|
@@ -2528,7 +2528,7 @@ const ou = /* @__PURE__ */ xe(fo, [["__scopeId", "data-v-ccb6ae10"]]), Wo = "_ge
|
|
|
2528
2528
|
e("p", {
|
|
2529
2529
|
class: r(a(V).navigationItemTitle)
|
|
2530
2530
|
}, i(o.value.company.title), 3),
|
|
2531
|
-
(
|
|
2531
|
+
(s(!0), u(R, null, E(l.value[4].items, (t) => (s(), u("a", {
|
|
2532
2532
|
key: t.key,
|
|
2533
2533
|
rel: t.nofollow ? "nofollow" : void 0,
|
|
2534
2534
|
class: r(a(V).navigationItemLink),
|
|
@@ -2539,7 +2539,7 @@ const ou = /* @__PURE__ */ xe(fo, [["__scopeId", "data-v-ccb6ae10"]]), Wo = "_ge
|
|
|
2539
2539
|
e("p", {
|
|
2540
2540
|
class: r(a(V).navigationItemTitle)
|
|
2541
2541
|
}, i(o.value.partnerships.title), 3),
|
|
2542
|
-
(
|
|
2542
|
+
(s(!0), u(R, null, E(l.value[5].items, (t) => (s(), u("a", {
|
|
2543
2543
|
key: t.key,
|
|
2544
2544
|
class: r(a(V).navigationItemLink),
|
|
2545
2545
|
href: t.path.includes("https://") ? t.path : p(`/${t.path}`)
|
|
@@ -2549,7 +2549,7 @@ const ou = /* @__PURE__ */ xe(fo, [["__scopeId", "data-v-ccb6ae10"]]), Wo = "_ge
|
|
|
2549
2549
|
e("p", {
|
|
2550
2550
|
class: r(a(V).navigationItemTitle)
|
|
2551
2551
|
}, i(o.value["legal-documents"].title), 3),
|
|
2552
|
-
(
|
|
2552
|
+
(s(!0), u(R, null, E(l.value[6].items, (t) => (s(), u("a", {
|
|
2553
2553
|
key: t.key,
|
|
2554
2554
|
class: r(a(V).navigationItemLink),
|
|
2555
2555
|
href: t.path.includes("https://") ? t.path : p(`/${t.path}`)
|
|
@@ -2563,7 +2563,7 @@ const ou = /* @__PURE__ */ xe(fo, [["__scopeId", "data-v-ccb6ae10"]]), Wo = "_ge
|
|
|
2563
2563
|
e("p", {
|
|
2564
2564
|
class: r(a(V).navigationItemTitle)
|
|
2565
2565
|
}, i(o.value.product.title), 3),
|
|
2566
|
-
(
|
|
2566
|
+
(s(!0), u(R, null, E(l.value[0].items, (t) => (s(), u("a", {
|
|
2567
2567
|
key: t.key,
|
|
2568
2568
|
class: r(a(V).navigationItemLink),
|
|
2569
2569
|
href: t.path.includes("https://") ? t.path : p(`/${t.path}`)
|
|
@@ -2573,7 +2573,7 @@ const ou = /* @__PURE__ */ xe(fo, [["__scopeId", "data-v-ccb6ae10"]]), Wo = "_ge
|
|
|
2573
2573
|
e("p", {
|
|
2574
2574
|
class: r(a(V).navigationItemTitle)
|
|
2575
2575
|
}, i(o.value.explorers.title), 3),
|
|
2576
|
-
(
|
|
2576
|
+
(s(!0), u(R, null, E(l.value[2].items, (t) => (s(), u("a", {
|
|
2577
2577
|
key: t.key,
|
|
2578
2578
|
class: r(a(V).navigationItemLink),
|
|
2579
2579
|
href: t.path.includes("https://") ? t.path : p(`/${t.path}`)
|
|
@@ -2583,7 +2583,7 @@ const ou = /* @__PURE__ */ xe(fo, [["__scopeId", "data-v-ccb6ae10"]]), Wo = "_ge
|
|
|
2583
2583
|
e("p", {
|
|
2584
2584
|
class: r(a(V).navigationItemTitle)
|
|
2585
2585
|
}, i(o.value.company.title), 3),
|
|
2586
|
-
(
|
|
2586
|
+
(s(!0), u(R, null, E(l.value[4].items, (t) => (s(), u("a", {
|
|
2587
2587
|
key: t.key,
|
|
2588
2588
|
rel: t.nofollow ? "nofollow" : void 0,
|
|
2589
2589
|
class: r(a(V).navigationItemLink),
|
|
@@ -2594,7 +2594,7 @@ const ou = /* @__PURE__ */ xe(fo, [["__scopeId", "data-v-ccb6ae10"]]), Wo = "_ge
|
|
|
2594
2594
|
e("p", {
|
|
2595
2595
|
class: r(a(V).navigationItemTitle)
|
|
2596
2596
|
}, i(o.value.partnerships.title), 3),
|
|
2597
|
-
(
|
|
2597
|
+
(s(!0), u(R, null, E(l.value[5].items, (t) => (s(), u("a", {
|
|
2598
2598
|
key: t.key,
|
|
2599
2599
|
class: r(a(V).navigationItemLink),
|
|
2600
2600
|
href: t.path.includes("https://") ? t.path : p(`/${t.path}`)
|
|
@@ -2606,7 +2606,7 @@ const ou = /* @__PURE__ */ xe(fo, [["__scopeId", "data-v-ccb6ae10"]]), Wo = "_ge
|
|
|
2606
2606
|
e("p", {
|
|
2607
2607
|
class: r(a(V).navigationItemTitle)
|
|
2608
2608
|
}, i(o.value.chains.title), 3),
|
|
2609
|
-
(
|
|
2609
|
+
(s(!0), u(R, null, E(l.value[1].items, (t) => (s(), u("a", {
|
|
2610
2610
|
key: t.key,
|
|
2611
2611
|
class: r(a(V).navigationItemLink),
|
|
2612
2612
|
href: t.path.includes("https://") ? t.path : p(`/${t.path}`)
|
|
@@ -2616,7 +2616,7 @@ const ou = /* @__PURE__ */ xe(fo, [["__scopeId", "data-v-ccb6ae10"]]), Wo = "_ge
|
|
|
2616
2616
|
e("p", {
|
|
2617
2617
|
class: r(a(V).navigationItemTitle)
|
|
2618
2618
|
}, i(o.value["for-developers"].title), 3),
|
|
2619
|
-
(
|
|
2619
|
+
(s(!0), u(R, null, E(l.value[3].items, (t) => (s(), u("a", {
|
|
2620
2620
|
key: t.key,
|
|
2621
2621
|
class: r(a(V).navigationItemLink),
|
|
2622
2622
|
href: t.path.includes("https://") ? t.path : p(`/${t.path}`)
|
|
@@ -2626,7 +2626,7 @@ const ou = /* @__PURE__ */ xe(fo, [["__scopeId", "data-v-ccb6ae10"]]), Wo = "_ge
|
|
|
2626
2626
|
e("p", {
|
|
2627
2627
|
class: r(a(V).navigationItemTitle)
|
|
2628
2628
|
}, i(o.value["legal-documents"].title), 3),
|
|
2629
|
-
(
|
|
2629
|
+
(s(!0), u(R, null, E(l.value[6].items, (t) => (s(), u("a", {
|
|
2630
2630
|
key: t.key,
|
|
2631
2631
|
class: r(a(V).navigationItemLink),
|
|
2632
2632
|
href: t.path.includes("https://") ? t.path : p(`/${t.path}`)
|
|
@@ -2636,7 +2636,7 @@ const ou = /* @__PURE__ */ xe(fo, [["__scopeId", "data-v-ccb6ae10"]]), Wo = "_ge
|
|
|
2636
2636
|
]),
|
|
2637
2637
|
e("div", gs, [
|
|
2638
2638
|
e("section", Ts, [
|
|
2639
|
-
(
|
|
2639
|
+
(s(!0), u(R, null, E(k.value, (t) => (s(), u("a", {
|
|
2640
2640
|
rel: "noopener noreferrer",
|
|
2641
2641
|
key: t.name,
|
|
2642
2642
|
class: "flex items-center justify-center w-10 h-10 bg-[#f5f8ff] rounded-full",
|
|
@@ -2655,7 +2655,7 @@ const ou = /* @__PURE__ */ xe(fo, [["__scopeId", "data-v-ccb6ae10"]]), Wo = "_ge
|
|
|
2655
2655
|
]),
|
|
2656
2656
|
e("div", Vs, [
|
|
2657
2657
|
e("section", vs, [
|
|
2658
|
-
e("p", null, "\xA9
|
|
2658
|
+
e("p", null, "\xA9 2026 GetBlock Pte. Ltd. " + i(o.value["all-rights-reserved"]), 1),
|
|
2659
2659
|
x[0] || (x[0] = e("address", null, [
|
|
2660
2660
|
ie(" UEN: 202507074N "),
|
|
2661
2661
|
e("br"),
|
|
@@ -2668,7 +2668,7 @@ const ou = /* @__PURE__ */ xe(fo, [["__scopeId", "data-v-ccb6ae10"]]), Wo = "_ge
|
|
|
2668
2668
|
], 2));
|
|
2669
2669
|
}
|
|
2670
2670
|
});
|
|
2671
|
-
const su = /* @__PURE__ */ xe(ys, [["__scopeId", "data-v-
|
|
2671
|
+
const su = /* @__PURE__ */ xe(ys, [["__scopeId", "data-v-d483213f"]]);
|
|
2672
2672
|
/*! js-cookie v3.0.5 | MIT */
|
|
2673
2673
|
function Ve(d) {
|
|
2674
2674
|
for (var c = 1; c < arguments.length; c++) {
|
|
@@ -2690,27 +2690,27 @@ var Us = {
|
|
|
2690
2690
|
}
|
|
2691
2691
|
};
|
|
2692
2692
|
function _e(d, c) {
|
|
2693
|
-
function l(o, p,
|
|
2693
|
+
function l(o, p, n) {
|
|
2694
2694
|
if (!(typeof document > "u")) {
|
|
2695
|
-
|
|
2695
|
+
n = Ve({}, c, n), typeof n.expires == "number" && (n.expires = new Date(Date.now() + n.expires * 864e5)), n.expires && (n.expires = n.expires.toUTCString()), o = encodeURIComponent(o).replace(/%(2[346B]|5E|60|7C)/g, decodeURIComponent).replace(/[()]/g, escape);
|
|
2696
2696
|
var x = "";
|
|
2697
|
-
for (var t in
|
|
2698
|
-
!
|
|
2697
|
+
for (var t in n)
|
|
2698
|
+
!n[t] || (x += "; " + t, n[t] !== !0 && (x += "=" + n[t].split(";")[0]));
|
|
2699
2699
|
return document.cookie = o + "=" + d.write(p, o) + x;
|
|
2700
2700
|
}
|
|
2701
2701
|
}
|
|
2702
2702
|
function k(o) {
|
|
2703
2703
|
if (!(typeof document > "u" || arguments.length && !o)) {
|
|
2704
|
-
for (var p = document.cookie ? document.cookie.split("; ") : [],
|
|
2704
|
+
for (var p = document.cookie ? document.cookie.split("; ") : [], n = {}, x = 0; x < p.length; x++) {
|
|
2705
2705
|
var t = p[x].split("="), M = t.slice(1).join("=");
|
|
2706
2706
|
try {
|
|
2707
2707
|
var v = decodeURIComponent(t[0]);
|
|
2708
|
-
if (
|
|
2708
|
+
if (n[v] = d.read(M, v), o === v)
|
|
2709
2709
|
break;
|
|
2710
2710
|
} catch {
|
|
2711
2711
|
}
|
|
2712
2712
|
}
|
|
2713
|
-
return o ?
|
|
2713
|
+
return o ? n[o] : n;
|
|
2714
2714
|
}
|
|
2715
2715
|
}
|
|
2716
2716
|
return Object.create(
|
|
@@ -2984,7 +2984,7 @@ const Fs = {
|
|
|
2984
2984
|
"refund-policy": "legal_documents",
|
|
2985
2985
|
"media-kit": "media_kit",
|
|
2986
2986
|
"near-startup-program": "near_startup"
|
|
2987
|
-
}, Rs = { 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" },
|
|
2987
|
+
}, Rs = { 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" }, fs = ["href"], Es = { class: "xl:flex lg:flex md:hidden sm:hidden xs:hidden gap-2 items-center justify-center" }, Ws = { class: "text-text-main dark:text-text-dark-main" }, zs = ["href"], Is = { class: "text-text-main dark:text-text-dark-main" }, Ss = { class: "xl:flex lg:flex md:hidden sm:hidden xs:hidden gap-2 items-center" }, Ds = { class: "relative" }, js = { class: "right-0 top-[55px] absolute lang-dropdown rounded-16 border-border-base bg-text-color-bg p-[6px] w-[197px]" }, Qs = ["href"], ws = { class: "xl:hidden lg:hidden md:block sm:block xs:block" }, Bs = { src: "https://storage.getblock.io/web/getblock-ui-kit/navbar/hamburger.svg" }, Ys = {
|
|
2988
2988
|
key: 0,
|
|
2989
2989
|
class: "flex justify-between max-w-[1280px] gap-4 mx-auto xl:px-0 px-6"
|
|
2990
2990
|
}, Gs = { class: "grid grid-cols-2 gap-x-4 gap-y-2 flex-shrink-0 h-fit" }, Cs = ["href"], Js = { class: "relative navigation-item__icon flex items-center justify-center w-[52px] h-[52px] rounded-16" }, Os = {
|
|
@@ -3130,7 +3130,7 @@ const Fs = {
|
|
|
3130
3130
|
fullCode: "zh-cn",
|
|
3131
3131
|
name: "Chinese"
|
|
3132
3132
|
}
|
|
3133
|
-
]),
|
|
3133
|
+
]), n = g(0), x = g(!1), t = g(!1), M = g(0), v = () => {
|
|
3134
3134
|
x.value = !1, k("open-contact-modal");
|
|
3135
3135
|
}, W = () => {
|
|
3136
3136
|
const N = window == null ? void 0 : window.location.href, m = (window == null ? void 0 : window.location.pathname.replace(/^\/|\/$/g, "").split("/")[0]) || "/";
|
|
@@ -3152,15 +3152,15 @@ const Fs = {
|
|
|
3152
3152
|
});
|
|
3153
3153
|
}
|
|
3154
3154
|
}, { immediate: !0 });
|
|
3155
|
-
const
|
|
3155
|
+
const f = () => {
|
|
3156
3156
|
k("account-button-pressed");
|
|
3157
3157
|
}, b = (N) => {
|
|
3158
3158
|
t.value = !1, k("update-language", N);
|
|
3159
|
-
},
|
|
3159
|
+
}, Z = () => {
|
|
3160
3160
|
typeof window < "u" && (M.value = window.scrollY);
|
|
3161
3161
|
}, w = () => {
|
|
3162
3162
|
const N = document.getElementById("announcement");
|
|
3163
|
-
N ?
|
|
3163
|
+
N ? n.value = N.offsetHeight : n.value = 0;
|
|
3164
3164
|
}, J = (N) => l.locale === "cn" ? N.includes("/docs/") ? `/docs/cn${N.replace("/docs/", "/")}` : N.includes("/explorer/") ? `/explorer/cn${N.replace("/explorer/", "/")}` : N.includes("/explorers/") ? `/explorers/cn${N.replace("/explorers/", "/")}` : N.includes("/blog/") ? "/blog/cn/" : `/cn${N}` : N, B = () => {
|
|
3165
3165
|
t.value = !t.value, o.value = o.value.map((N) => ({
|
|
3166
3166
|
...N,
|
|
@@ -3177,15 +3177,15 @@ const Fs = {
|
|
|
3177
3177
|
...m,
|
|
3178
3178
|
open: !1
|
|
3179
3179
|
});
|
|
3180
|
-
}, ne = F(() => M.value <
|
|
3180
|
+
}, ne = F(() => M.value < n.value ? Ue + n.value - M.value : Ue), U = F(() => l.locale === "en" || l.locale === "en-gb" ? Fs : Zs), z = F(() => {
|
|
3181
3181
|
var N;
|
|
3182
3182
|
return typeof window < "u" && (N = window == null ? void 0 : window.location) != null && N.hostname ? `https://account.${window.location.hostname}/` : "https://account.getblock.io/";
|
|
3183
3183
|
});
|
|
3184
3184
|
return ve(() => {
|
|
3185
|
-
w(),
|
|
3186
|
-
}),
|
|
3187
|
-
typeof window < "u" && window.removeEventListener("scroll",
|
|
3188
|
-
}), (N, m) => (
|
|
3185
|
+
w(), Z(), typeof window < "u" && (window.location.search && localStorage.setItem("queryString", window.location.search), window.addEventListener("scroll", Z, { passive: !0 }), window.addEventListener("resize", w, { passive: !0 }));
|
|
3186
|
+
}), Ee(() => {
|
|
3187
|
+
typeof window < "u" && window.removeEventListener("scroll", Z), typeof window < "u" && window.removeEventListener("resize", w);
|
|
3188
|
+
}), (N, m) => (s(), u("nav", {
|
|
3189
3189
|
class: "bg-text-color-bg sticky top-0 z-20",
|
|
3190
3190
|
onMouseleave: m[6] || (m[6] = (h) => C({ key: "mouseleave" }))
|
|
3191
3191
|
}, [
|
|
@@ -3200,10 +3200,10 @@ const Fs = {
|
|
|
3200
3200
|
src: "https://storage.getblock.io/web/getblock-ui-kit/logo_blue.svg",
|
|
3201
3201
|
width: "182"
|
|
3202
3202
|
}, null, -1)
|
|
3203
|
-
])], 8,
|
|
3204
|
-
e("div",
|
|
3205
|
-
(
|
|
3206
|
-
h.key !== "pricing" ? (
|
|
3203
|
+
])], 8, fs),
|
|
3204
|
+
e("div", Es, [
|
|
3205
|
+
(s(!0), u(R, null, E(o.value, (h) => (s(), u(R, null, [
|
|
3206
|
+
h.key !== "pricing" ? (s(), ue(a(le), {
|
|
3207
3207
|
key: h.key,
|
|
3208
3208
|
"color-type": "transparent",
|
|
3209
3209
|
"size-type": "small",
|
|
@@ -3218,11 +3218,11 @@ const Fs = {
|
|
|
3218
3218
|
}, null, 8, ["class"])
|
|
3219
3219
|
]),
|
|
3220
3220
|
_: 2
|
|
3221
|
-
}, 1032, ["onMouseover"])) : (
|
|
3221
|
+
}, 1032, ["onMouseover"])) : (s(), u("a", {
|
|
3222
3222
|
key: 1,
|
|
3223
3223
|
href: J("/pricing/")
|
|
3224
3224
|
}, [
|
|
3225
|
-
(
|
|
3225
|
+
(s(), ue(a(le), {
|
|
3226
3226
|
key: h.key,
|
|
3227
3227
|
"color-type": "transparent",
|
|
3228
3228
|
"size-type": "small"
|
|
@@ -3293,7 +3293,7 @@ const Fs = {
|
|
|
3293
3293
|
e("a", { href: z.value }, [
|
|
3294
3294
|
T(a(le), {
|
|
3295
3295
|
"size-type": "medium",
|
|
3296
|
-
onClick:
|
|
3296
|
+
onClick: f
|
|
3297
3297
|
}, {
|
|
3298
3298
|
default: I(() => [
|
|
3299
3299
|
e("p", null, i(U.value.dashboard), 1),
|
|
@@ -3328,19 +3328,19 @@ const Fs = {
|
|
|
3328
3328
|
})
|
|
3329
3329
|
])
|
|
3330
3330
|
]),
|
|
3331
|
-
(
|
|
3331
|
+
(s(!0), u(R, null, E(o.value, (h) => K((s(), u("div", {
|
|
3332
3332
|
key: h.key,
|
|
3333
3333
|
class: r(["bg-text-color-bg navigation-block w-full absolute py-8 border-b-2 border-border-base", `top-[${Ue}px]`])
|
|
3334
3334
|
}, [
|
|
3335
|
-
h.key !== "explorer" ? (
|
|
3335
|
+
h.key !== "explorer" ? (s(), u("div", Ys, [
|
|
3336
3336
|
e("div", Gs, [
|
|
3337
|
-
(
|
|
3337
|
+
(s(!0), u(R, null, E(h.items, (y) => (s(), u("a", {
|
|
3338
3338
|
key: y.key,
|
|
3339
3339
|
class: "min-w-[300px] cursor-pointer navigation-item flex gap-4 items-center hover:bg-surface-additional rounded-24 pl-2 py-2",
|
|
3340
3340
|
href: J(`${y.path}/`)
|
|
3341
3341
|
}, [
|
|
3342
3342
|
e("div", Js, [
|
|
3343
|
-
y.key === "rpc-service" ? (
|
|
3343
|
+
y.key === "rpc-service" ? (s(), u("div", Os)) : S("", !0),
|
|
3344
3344
|
e("img", {
|
|
3345
3345
|
height: "24",
|
|
3346
3346
|
width: "24",
|
|
@@ -3359,7 +3359,7 @@ const Fs = {
|
|
|
3359
3359
|
])
|
|
3360
3360
|
], 8, Cs))), 128))
|
|
3361
3361
|
]),
|
|
3362
|
-
h.key === "products" ? (
|
|
3362
|
+
h.key === "products" ? (s(), u("a", Ks, [
|
|
3363
3363
|
e("div", $s, [
|
|
3364
3364
|
e("p", qs, i(U.value.products.banner.title), 1),
|
|
3365
3365
|
e("div", ec, [
|
|
@@ -3376,11 +3376,11 @@ const Fs = {
|
|
|
3376
3376
|
src: "https://storage.getblock.io/web/getblock-ui-kit/newNavbar/products/banner-img-2.svg"
|
|
3377
3377
|
}, null, -1))
|
|
3378
3378
|
])) : S("", !0),
|
|
3379
|
-
h.key === "developers" ? (
|
|
3379
|
+
h.key === "developers" ? (s(), u("div", lc, [
|
|
3380
3380
|
e("p", ac, i(U.value.developers.banner.title), 1),
|
|
3381
3381
|
e("p", oc, i(U.value.developers.banner.text), 1)
|
|
3382
3382
|
])) : S("", !0),
|
|
3383
|
-
h.key === "company" ? (
|
|
3383
|
+
h.key === "company" ? (s(), u("a", nc, [
|
|
3384
3384
|
e("div", sc, [
|
|
3385
3385
|
m[11] || (m[11] = e("img", {
|
|
3386
3386
|
alt: "drops tab image",
|
|
@@ -3404,11 +3404,11 @@ const Fs = {
|
|
|
3404
3404
|
], 2)), [
|
|
3405
3405
|
[oe, h.open]
|
|
3406
3406
|
])), 128)),
|
|
3407
|
-
x.value ? (
|
|
3407
|
+
x.value ? (s(), u("div", {
|
|
3408
3408
|
key: 0,
|
|
3409
3409
|
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",
|
|
3410
3410
|
id: "navbarMenu",
|
|
3411
|
-
style:
|
|
3411
|
+
style: fe({
|
|
3412
3412
|
height: `calc(100% - ${ne.value}px)`,
|
|
3413
3413
|
top: `${ne.value}px`
|
|
3414
3414
|
})
|
|
@@ -3430,7 +3430,7 @@ const Fs = {
|
|
|
3430
3430
|
}, [
|
|
3431
3431
|
T(a(le), {
|
|
3432
3432
|
class: "w-full flex-shrink-0 h-[52px] justify-center",
|
|
3433
|
-
onClick:
|
|
3433
|
+
onClick: f
|
|
3434
3434
|
}, {
|
|
3435
3435
|
default: I(() => [
|
|
3436
3436
|
e("p", null, i(U.value.dashboard), 1),
|
|
@@ -3443,18 +3443,18 @@ const Fs = {
|
|
|
3443
3443
|
})
|
|
3444
3444
|
], 8, dc)
|
|
3445
3445
|
]),
|
|
3446
|
-
(
|
|
3446
|
+
(s(!0), u(R, null, E(o.value, (h) => (s(), u("div", {
|
|
3447
3447
|
key: h.key
|
|
3448
3448
|
}, [
|
|
3449
3449
|
e("p", rc, i(U.value[h.key].title), 1),
|
|
3450
|
-
h.key !== "explorer" ? (
|
|
3451
|
-
(
|
|
3450
|
+
h.key !== "explorer" ? (s(), u("div", pc, [
|
|
3451
|
+
(s(!0), u(R, null, E(h.items, (y) => (s(), u("a", {
|
|
3452
3452
|
key: y.key,
|
|
3453
3453
|
class: "min-w-[300px] cursor-pointer navigation-item flex gap-4 items-center hover:bg-surface-additional rounded-24 pl-2 py-2",
|
|
3454
3454
|
href: J(`${y.path}/`)
|
|
3455
3455
|
}, [
|
|
3456
3456
|
e("div", hc, [
|
|
3457
|
-
y.key === "chain-list" ? (
|
|
3457
|
+
y.key === "chain-list" ? (s(), u("div", kc)) : S("", !0),
|
|
3458
3458
|
e("img", {
|
|
3459
3459
|
height: "24",
|
|
3460
3460
|
width: "24",
|
|
@@ -3494,7 +3494,7 @@ const Fs = {
|
|
|
3494
3494
|
"icon-name": "chevron-down"
|
|
3495
3495
|
}, null, 8, ["class"])
|
|
3496
3496
|
]),
|
|
3497
|
-
t.value ? (
|
|
3497
|
+
t.value ? (s(), u("div", Fc, [
|
|
3498
3498
|
e("button", {
|
|
3499
3499
|
class: r(["flex gap-3 p-3 rounded-12 hover:bg-surface-additional w-full", { "text-text-action": l.locale === "en" }]),
|
|
3500
3500
|
onClick: m[4] || (m[4] = (h) => b(p.value[0]))
|
|
@@ -3531,12 +3531,12 @@ const cu = /* @__PURE__ */ xe(Zc, [["__scopeId", "data-v-2b745cc7"]]), _c = {
|
|
|
3531
3531
|
}, Rc = {
|
|
3532
3532
|
text: "\u65B0\u6765\u7684\uFF1F\u9996\u6B21\u8BBF\u95EE\u533A\u5757\u94FE\u8282\u70B9\u5373\u53EF\u4EAB\u53D7 30% \u6298\u6263\uFF01",
|
|
3533
3533
|
button: "\u4E86\u89E3\u66F4\u591A"
|
|
3534
|
-
},
|
|
3534
|
+
}, fc = {
|
|
3535
3535
|
id: "announcement",
|
|
3536
3536
|
href: "https://welcome-offer.getblock.io/",
|
|
3537
3537
|
target: "_blank",
|
|
3538
3538
|
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"
|
|
3539
|
-
},
|
|
3539
|
+
}, Ec = { class: "xs:hidden z-2 max-w-[340px] text-lg leading-6 text-left font-bold text-black py-2" }, Wc = { class: "xs:hidden lg:flex xl:flex md:flex sm:flex items-center justify-center gap-2 shrink-0" }, zc = { class: "text-sm leading-5 font-medium" }, iu = /* @__PURE__ */ H({
|
|
3540
3540
|
__name: "Announcement",
|
|
3541
3541
|
props: {
|
|
3542
3542
|
locale: {
|
|
@@ -3546,8 +3546,8 @@ const cu = /* @__PURE__ */ xe(Zc, [["__scopeId", "data-v-2b745cc7"]]), _c = {
|
|
|
3546
3546
|
},
|
|
3547
3547
|
setup(d) {
|
|
3548
3548
|
const c = d, l = F(() => c.locale === "en" || c.locale === "en-gb" ? _c : Rc);
|
|
3549
|
-
return (k, o) => (
|
|
3550
|
-
e("p",
|
|
3549
|
+
return (k, o) => (s(), u("a", fc, [
|
|
3550
|
+
e("p", Ec, i(l.value.text), 1),
|
|
3551
3551
|
o[0] || (o[0] = e("img", {
|
|
3552
3552
|
class: "xs:w-[190px] xs:h-[55px]",
|
|
3553
3553
|
width: "139",
|
|
@@ -3587,7 +3587,7 @@ const Ic = {
|
|
|
3587
3587
|
},
|
|
3588
3588
|
setup(d) {
|
|
3589
3589
|
const c = d, l = F(() => c.locale === "en" || c.locale === "en-gb" ? Ic : Sc);
|
|
3590
|
-
return (k, o) => (
|
|
3590
|
+
return (k, o) => (s(), u("a", Dc, [
|
|
3591
3591
|
e("span", null, i(l.value.text), 1),
|
|
3592
3592
|
e("button", null, i(l.value.button), 1)
|
|
3593
3593
|
]));
|
|
@@ -4200,7 +4200,7 @@ const Jc = { class: "flex flex-col gap-2" }, Oc = {
|
|
|
4200
4200
|
emits: ["close", "send"],
|
|
4201
4201
|
setup(d, { emit: c }) {
|
|
4202
4202
|
var A;
|
|
4203
|
-
const l = d, k = c, { getText: o, loadTexts: p } = Cc(),
|
|
4203
|
+
const l = d, k = c, { getText: o, loadTexts: p } = Cc(), n = ["email", "name", "company"], x = {
|
|
4204
4204
|
email: "mail-01",
|
|
4205
4205
|
name: "user-03",
|
|
4206
4206
|
company: "luggage-02"
|
|
@@ -4211,82 +4211,82 @@ const Jc = { class: "flex flex-col gap-2" }, Oc = {
|
|
|
4211
4211
|
email: "",
|
|
4212
4212
|
name: "",
|
|
4213
4213
|
company: ""
|
|
4214
|
-
}), v = g(""), W = g(null), G = g(!1),
|
|
4214
|
+
}), v = g(""), W = g(null), G = g(!1), f = g({
|
|
4215
4215
|
name: !1,
|
|
4216
4216
|
email: !1
|
|
4217
|
-
}), b = g(!1),
|
|
4218
|
-
var
|
|
4217
|
+
}), b = g(!1), Z = F(() => {
|
|
4218
|
+
var _, D, ae;
|
|
4219
4219
|
return [
|
|
4220
|
-
{ value: "sales", text: (
|
|
4220
|
+
{ value: "sales", text: (_ = o.value) == null ? void 0 : _.objectRequest.sales },
|
|
4221
4221
|
{ value: "partnership", text: (D = o.value) == null ? void 0 : D.objectRequest.partnership },
|
|
4222
4222
|
{ value: "support", text: (ae = o.value) == null ? void 0 : ae.objectRequest.support }
|
|
4223
4223
|
];
|
|
4224
|
-
}), w = F(() => t.value.value === "support" ?
|
|
4225
|
-
var
|
|
4226
|
-
return ((D = (
|
|
4227
|
-
}), ne = F(() => v.value.length < 15), U = (
|
|
4224
|
+
}), w = F(() => t.value.value === "support" ? n.filter((_) => _ !== "company") : n), J = F(() => !/^\S+@\S+\.\S+$/.test(M.value.email.trim()) || !M.value.email.trim()), B = F(() => M.value.name.length !== 0), C = F(() => {
|
|
4225
|
+
var _, D;
|
|
4226
|
+
return ((D = (_ = W.value) == null ? void 0 : _.selectedItems) == null ? void 0 : D.length) !== 0;
|
|
4227
|
+
}), ne = F(() => v.value.length < 15), U = (_) => {
|
|
4228
4228
|
var D, ae, Q;
|
|
4229
|
-
return
|
|
4229
|
+
return _ !== "email" ? (D = o.value) == null ? void 0 : D.errors.name : M.value[_].length < 1 ? (ae = o.value) == null ? void 0 : ae.errors.email.empty : (Q = o.value) == null ? void 0 : Q.errors.email.noValid;
|
|
4230
4230
|
}, z = () => {
|
|
4231
4231
|
window.addEventListener("keydown", m);
|
|
4232
4232
|
}, N = () => {
|
|
4233
4233
|
window.removeEventListener("keydown", m);
|
|
4234
|
-
}, m = (
|
|
4235
|
-
|
|
4236
|
-
}, h = (
|
|
4234
|
+
}, m = (_) => {
|
|
4235
|
+
_.code === "Enter" && ee();
|
|
4236
|
+
}, h = (_) => {
|
|
4237
4237
|
var D, ae, Q, Ne, ge, Te;
|
|
4238
4238
|
return String(
|
|
4239
|
-
((Q = (ae = (D = o.value) == null ? void 0 : D[
|
|
4239
|
+
((Q = (ae = (D = o.value) == null ? void 0 : D[_]) == null ? void 0 : ae[0]) == null ? void 0 : Q.toUpperCase()) + ((Te = (Ne = o.value) == null ? void 0 : Ne[_]) == null ? void 0 : Te.slice(1, (ge = o.value) == null ? void 0 : ge[_].length))
|
|
4240
4240
|
);
|
|
4241
|
-
}, y = () => J.value ? (document.querySelector("[name='email']").focus(),
|
|
4242
|
-
|
|
4243
|
-
}, q = (
|
|
4244
|
-
t.value =
|
|
4241
|
+
}, y = () => J.value ? (document.querySelector("[name='email']").focus(), f.value.email = !0, !1) : B.value ? t.value.value === "sales" && !C.value ? (G.value = !G.value, !1) : ne.value ? (document.querySelector("[name='message']").focus(), b.value = !0, !1) : !0 : (document.querySelector("[name='name']").focus(), f.value.name = !0, !1), j = (_) => {
|
|
4242
|
+
_ !== "other" ? t.value = Z.value.find((D) => D.value === _) : t.value = Z.value.find((D) => D.value === "support");
|
|
4243
|
+
}, q = (_) => {
|
|
4244
|
+
t.value = _;
|
|
4245
4245
|
}, ee = () => {
|
|
4246
|
-
var
|
|
4246
|
+
var _;
|
|
4247
4247
|
if (!l.loading && y()) {
|
|
4248
4248
|
const D = {
|
|
4249
4249
|
...M.value,
|
|
4250
4250
|
subject: t.value.value,
|
|
4251
4251
|
message: v.value
|
|
4252
4252
|
};
|
|
4253
|
-
t.value.value === "sales" && (D.selectedNodes = (
|
|
4253
|
+
t.value.value === "sales" && (D.selectedNodes = (_ = W.value) == null ? void 0 : _.selectedItems), k("send", D);
|
|
4254
4254
|
}
|
|
4255
4255
|
};
|
|
4256
4256
|
return ce(() => l.locale, p, { immediate: !0 }), ce(
|
|
4257
4257
|
() => v.value,
|
|
4258
|
-
(
|
|
4259
|
-
|
|
4258
|
+
(_) => {
|
|
4259
|
+
_.length > 15 && (b.value = !1);
|
|
4260
4260
|
}
|
|
4261
4261
|
), ce(
|
|
4262
4262
|
() => B.value,
|
|
4263
|
-
(
|
|
4264
|
-
|
|
4263
|
+
(_) => {
|
|
4264
|
+
_ && (f.value.name = !1);
|
|
4265
4265
|
}
|
|
4266
4266
|
), ce(
|
|
4267
4267
|
() => J.value,
|
|
4268
|
-
(
|
|
4269
|
-
|
|
4268
|
+
(_) => {
|
|
4269
|
+
_ || (f.value.email = !1);
|
|
4270
4270
|
}
|
|
4271
4271
|
), ce(
|
|
4272
4272
|
() => l.successfullySentMessage,
|
|
4273
|
-
(
|
|
4274
|
-
|
|
4273
|
+
(_) => {
|
|
4274
|
+
_ && (v.value = "");
|
|
4275
4275
|
}
|
|
4276
4276
|
), j(l.placeOpenModal), ve(() => {
|
|
4277
4277
|
z();
|
|
4278
|
-
}),
|
|
4278
|
+
}), Ee(() => {
|
|
4279
4279
|
N();
|
|
4280
|
-
}), (
|
|
4280
|
+
}), (_, D) => {
|
|
4281
4281
|
var ae, Q, Ne, ge, Te, ze, Ie, Se, De;
|
|
4282
|
-
return
|
|
4282
|
+
return s(), u("div", {
|
|
4283
4283
|
class: r(l.modalOrPage === "modal" ? a(Ge).contactFormContainerModal : a(Ge).contactFormContainerPage)
|
|
4284
4284
|
}, [
|
|
4285
4285
|
e("div", Jc, [
|
|
4286
|
-
l.modalOrPage === "page" ? (
|
|
4286
|
+
l.modalOrPage === "page" ? (s(), u("span", Oc, i((ae = a(o)) == null ? void 0 : ae.theme), 1)) : S("", !0),
|
|
4287
4287
|
T(a(Ba), {
|
|
4288
4288
|
stretched: "",
|
|
4289
|
-
"tab-items":
|
|
4289
|
+
"tab-items": Z.value,
|
|
4290
4290
|
"selected-item": t.value,
|
|
4291
4291
|
onChangeSelectedItem: q
|
|
4292
4292
|
}, null, 8, ["tab-items", "selected-item"])
|
|
@@ -4294,7 +4294,7 @@ const Jc = { class: "flex flex-col gap-2" }, Oc = {
|
|
|
4294
4294
|
e("div", {
|
|
4295
4295
|
class: r(l.modalOrPage === "modal" ? "grid grid-cols-2 gap-y-6 gap-x-4" : "flex flex-col gap-8")
|
|
4296
4296
|
}, [
|
|
4297
|
-
(
|
|
4297
|
+
(s(!0), u(R, null, E(w.value, (P, Ae) => (s(), u("div", {
|
|
4298
4298
|
key: P,
|
|
4299
4299
|
class: r(["flex flex-col gap-1 first:col-span-2", { "last:col-span-2": Ae === w.value.length - 1 && P !== "company" }])
|
|
4300
4300
|
}, [
|
|
@@ -4316,7 +4316,7 @@ const Jc = { class: "flex flex-col gap-2" }, Oc = {
|
|
|
4316
4316
|
}),
|
|
4317
4317
|
_: 2
|
|
4318
4318
|
}, 1032, ["icon-name", "input-name", "input-value", "onUpdate:inputValue", "placeholder"]),
|
|
4319
|
-
|
|
4319
|
+
f.value[P] && P !== "company" ? (s(), u("span", Lc, i(U(P)), 1)) : S("", !0)
|
|
4320
4320
|
], 2))), 128))
|
|
4321
4321
|
], 2),
|
|
4322
4322
|
K(e("div", Xc, [
|
|
@@ -4349,9 +4349,9 @@ const Jc = { class: "flex flex-col gap-2" }, Oc = {
|
|
|
4349
4349
|
}),
|
|
4350
4350
|
_: 1
|
|
4351
4351
|
}, 8, ["input-value", "placeholder", "onKeydown"]),
|
|
4352
|
-
b.value ? (
|
|
4352
|
+
b.value ? (s(), u("span", Kc, i((Te = a(o)) == null ? void 0 : Te.errors.message), 1)) : S("", !0)
|
|
4353
4353
|
]),
|
|
4354
|
-
$(
|
|
4354
|
+
$(_.$slots, "turnstile-widget"),
|
|
4355
4355
|
T(a(le), {
|
|
4356
4356
|
onClick: ee,
|
|
4357
4357
|
disabled: d.isSendButtonDisabled
|
|
@@ -4359,10 +4359,10 @@ const Jc = { class: "flex flex-col gap-2" }, Oc = {
|
|
|
4359
4359
|
default: I(() => {
|
|
4360
4360
|
var P;
|
|
4361
4361
|
return [
|
|
4362
|
-
l.loading ? (
|
|
4362
|
+
l.loading ? (s(), ue(a(Xe), {
|
|
4363
4363
|
key: 0,
|
|
4364
4364
|
class: "m-auto"
|
|
4365
|
-
})) : (
|
|
4365
|
+
})) : (s(), u("span", $c, i((P = a(o)) == null ? void 0 : P.button), 1))
|
|
4366
4366
|
];
|
|
4367
4367
|
}),
|
|
4368
4368
|
_: 1
|
|
@@ -4421,7 +4421,7 @@ const Jc = { class: "flex flex-col gap-2" }, Oc = {
|
|
|
4421
4421
|
},
|
|
4422
4422
|
setup(d) {
|
|
4423
4423
|
const c = d, l = F(() => c.locale === "en" || c.locale === "en-gb" ? ui : di);
|
|
4424
|
-
return (k, o) => (
|
|
4424
|
+
return (k, o) => (s(), u("a", ri, [
|
|
4425
4425
|
e("p", pi, i(d.isNewUser ? l.value.textNewUser : l.value.textCurrentUser), 1),
|
|
4426
4426
|
o[0] || (o[0] = e("img", {
|
|
4427
4427
|
class: "xs:w-[190px] xs:h-[55px]",
|
|
@@ -4468,7 +4468,7 @@ const ru = /* @__PURE__ */ xe(ki, [["__scopeId", "data-v-b1f8b955"]]), xi = { cl
|
|
|
4468
4468
|
Le((b) => ({
|
|
4469
4469
|
v73988699: o.value
|
|
4470
4470
|
}));
|
|
4471
|
-
const l = c, k = d, o = g(100), p = g(),
|
|
4471
|
+
const l = c, k = d, o = g(100), p = g(), n = g(!1), x = g(), t = g(), M = g(0), v = async () => {
|
|
4472
4472
|
l("update:isOpen", !1), clearInterval(p.value);
|
|
4473
4473
|
};
|
|
4474
4474
|
ce(() => k.isOpen, (b) => {
|
|
@@ -4479,16 +4479,16 @@ const ru = /* @__PURE__ */ xe(ki, [["__scopeId", "data-v-b1f8b955"]]), xi = { cl
|
|
|
4479
4479
|
}, k.duration / 100))) : (document.getElementsByTagName("body")[0].style.overflowY = "", document.getElementsByTagName("body")[0].style.touchAction = "");
|
|
4480
4480
|
});
|
|
4481
4481
|
const W = (b) => {
|
|
4482
|
-
|
|
4482
|
+
n.value = !0, x.value = b.changedTouches[0].clientY;
|
|
4483
4483
|
}, G = (b) => {
|
|
4484
|
-
if (!
|
|
4484
|
+
if (!n.value)
|
|
4485
4485
|
return;
|
|
4486
|
-
const
|
|
4487
|
-
x.value <
|
|
4488
|
-
},
|
|
4489
|
-
|
|
4486
|
+
const Z = b.changedTouches[0].clientY;
|
|
4487
|
+
x.value < Z && t.value && (t.value.style.height = M.value - Math.abs(x.value - Z) + "px");
|
|
4488
|
+
}, f = (b) => {
|
|
4489
|
+
n.value = !1, +t.value.style.height.split("px")[0] <= M.value / 1.5 && v(), t.value.style.height = M.value + "px", x.value = null;
|
|
4490
4490
|
};
|
|
4491
|
-
return (b,
|
|
4491
|
+
return (b, Z) => K((s(), u("div", {
|
|
4492
4492
|
class: "bg-[#00000033] fixed w-screen h-screen top-0 z-30 flex items-center justify-center xs:!items-end xs:!h-full",
|
|
4493
4493
|
onClick: he(v, ["self"])
|
|
4494
4494
|
}, [
|
|
@@ -4497,7 +4497,7 @@ const ru = /* @__PURE__ */ xe(ki, [["__scopeId", "data-v-b1f8b955"]]), xi = { cl
|
|
|
4497
4497
|
ref_key: "panRef",
|
|
4498
4498
|
ref: t,
|
|
4499
4499
|
onTouchstart: W,
|
|
4500
|
-
onTouchend:
|
|
4500
|
+
onTouchend: f,
|
|
4501
4501
|
onTouchmove: G
|
|
4502
4502
|
}, [
|
|
4503
4503
|
e("div", { class: "flex justify-end w-full xs:justify-center" }, [
|
|
@@ -4507,10 +4507,10 @@ const ru = /* @__PURE__ */ xe(ki, [["__scopeId", "data-v-b1f8b955"]]), xi = { cl
|
|
|
4507
4507
|
class: "cursor-pointer xs:!hidden",
|
|
4508
4508
|
onClick: v
|
|
4509
4509
|
}),
|
|
4510
|
-
|
|
4510
|
+
Z[0] || (Z[0] = e("div", { class: "w-8 h-[6px] rounded-[5px] bg-[#E3E3E5] hidden xs:!block dark:bg-[#3B3B3D]" }, null, -1))
|
|
4511
4511
|
]),
|
|
4512
4512
|
e("div", xi, [
|
|
4513
|
-
(
|
|
4513
|
+
(s(), u("svg", Ni, [
|
|
4514
4514
|
e("path", {
|
|
4515
4515
|
class: r(["progress-circle-bg", { "progress-circle-bg--error": k.type === "error" }]),
|
|
4516
4516
|
d: `M18 2.0845
|
|
@@ -4524,7 +4524,7 @@ const ru = /* @__PURE__ */ xe(ki, [["__scopeId", "data-v-b1f8b955"]]), xi = { cl
|
|
|
4524
4524
|
a 15.9155 15.9155 0 1 1 0 -31.831`
|
|
4525
4525
|
}, null, 2)
|
|
4526
4526
|
])),
|
|
4527
|
-
k.type === "success" ? (
|
|
4527
|
+
k.type === "success" ? (s(), u("img", gi)) : (s(), u("img", Ti))
|
|
4528
4528
|
]),
|
|
4529
4529
|
e("div", null, [
|
|
4530
4530
|
e("p", {
|
|
@@ -4612,7 +4612,7 @@ const pu = /* @__PURE__ */ xe(Vi, [["__scopeId", "data-v-570e7644"]]), vi = (d)
|
|
|
4612
4612
|
}, _i = { class: "text-[14px] font-bold gb-text-text-main" }, Ri = {
|
|
4613
4613
|
key: 1,
|
|
4614
4614
|
class: "flex flex-col gap-4"
|
|
4615
|
-
},
|
|
4615
|
+
}, fi = { class: "w-full flex items-center justify-between" }, Ei = { class: "text-xs gb-text-text-secondary" }, Wi = { class: "gb-text-text-main" }, zi = { class: "text-xs gb-text-text-secondary font-bold mb-2" }, Ii = { class: "flex w-full items-center justify-between" }, Si = { class: "flex items-center gap-2" }, Di = { class: "text-[12px] font-bold gb-text-text-main" }, ji = { class: "min-w-[150px]" }, Qi = { class: "flex w-full items-center justify-between" }, wi = { class: "flex items-center gap-2" }, Bi = { class: "text-[12px] font-bold gb-text-text-main" }, Yi = { class: "min-w-[150px]" }, Gi = {
|
|
4616
4616
|
key: 2,
|
|
4617
4617
|
class: "flex flex-col gap-4"
|
|
4618
4618
|
}, Ci = { class: "text-xs text-[#8E8E93]" }, Ji = { class: "text-red-500" }, Oi = { class: "text-xs text-[#8E8E93]" }, Li = { class: "text-red-500" }, Xi = { class: "text-xs text-[#8E8E93]" }, Hi = { class: "text-red-500" }, Ai = {
|
|
@@ -4633,7 +4633,7 @@ const pu = /* @__PURE__ */ xe(Vi, [["__scopeId", "data-v-570e7644"]]), vi = (d)
|
|
|
4633
4633
|
},
|
|
4634
4634
|
emits: ["update:is-open", "update:is-loading", "send", "continue", "back"],
|
|
4635
4635
|
setup(d, { emit: c }) {
|
|
4636
|
-
const l = d, k = c, o = F(() => l.locale === "en" || l.locale === "en-gb"), p = F(() => o.value ? yi : Ui),
|
|
4636
|
+
const l = d, k = c, o = F(() => l.locale === "en" || l.locale === "en-gb"), p = F(() => o.value ? yi : Ui), n = je({
|
|
4637
4637
|
rps: 400,
|
|
4638
4638
|
cu_amount: "100 000 000",
|
|
4639
4639
|
max_token_amount: { value: "100", text: "100" },
|
|
@@ -4648,28 +4648,28 @@ const pu = /* @__PURE__ */ xe(Vi, [["__scopeId", "data-v-570e7644"]]), vi = (d)
|
|
|
4648
4648
|
company_name: "",
|
|
4649
4649
|
telegram: ""
|
|
4650
4650
|
}), t = [400, 600, 800, "Custom"], M = [400, 600, 800, "Custom"], v = (U) => {
|
|
4651
|
-
|
|
4651
|
+
n.rps = U;
|
|
4652
4652
|
}, W = {
|
|
4653
4653
|
400: 2e11,
|
|
4654
4654
|
600: 3e11,
|
|
4655
4655
|
800: 4e11,
|
|
4656
4656
|
Custom: 5e11
|
|
4657
|
-
}, G = (U) => new Intl.NumberFormat("en", { notation: "compact" }).format(U),
|
|
4657
|
+
}, G = (U) => new Intl.NumberFormat("en", { notation: "compact" }).format(U), f = (U) => {
|
|
4658
4658
|
const z = /[^\d]/;
|
|
4659
4659
|
if (U = U.replace(/\s/g, ""), U = U.replace(" ", ""), z.test(U)) {
|
|
4660
4660
|
document.activeElement.blur();
|
|
4661
4661
|
return;
|
|
4662
4662
|
}
|
|
4663
|
-
if (U > W[
|
|
4664
|
-
|
|
4663
|
+
if (U > W[n.rps]) {
|
|
4664
|
+
n.cu_amount = W[n.rps].toLocaleString("ru"), document.activeElement.blur();
|
|
4665
4665
|
return;
|
|
4666
4666
|
}
|
|
4667
|
-
U = Number(U).toLocaleString("ru"),
|
|
4667
|
+
U = Number(U).toLocaleString("ru"), n.cu_amount = U;
|
|
4668
4668
|
};
|
|
4669
4669
|
ce(
|
|
4670
|
-
() =>
|
|
4670
|
+
() => n.rps,
|
|
4671
4671
|
(U) => {
|
|
4672
|
-
+
|
|
4672
|
+
+n.cu_amount.replace(/\s/g, "") > W[U] && (n.cu_amount = W[n.rps].toLocaleString("ru"));
|
|
4673
4673
|
},
|
|
4674
4674
|
{ deep: !0 }
|
|
4675
4675
|
);
|
|
@@ -4678,17 +4678,17 @@ const pu = /* @__PURE__ */ xe(Vi, [["__scopeId", "data-v-570e7644"]]), vi = (d)
|
|
|
4678
4678
|
{ value: "150", text: "150" },
|
|
4679
4679
|
{ value: "200", text: "200" },
|
|
4680
4680
|
{ value: "250", text: "250" }
|
|
4681
|
-
],
|
|
4682
|
-
|
|
4683
|
-
}, w = () => (x.email = "", x.company_name = "", x.telegram = "", Ce(
|
|
4681
|
+
], Z = (U) => {
|
|
4682
|
+
n.max_token_amount = U;
|
|
4683
|
+
}, w = () => (x.email = "", x.company_name = "", x.telegram = "", Ce(n.company_name) ? vi(n.email) ? (document.querySelector("[name='email']").focus(), x.email = p.value.invalidEmail, !1) : Ce(n.telegram) ? !0 : (document.querySelector("[name='telegram']").focus(), x.telegram = p.value.notEmptyField, !1) : (document.querySelector("[name='name']").focus(), x.company_name = p.value.notEmptyField, !1)), J = async () => {
|
|
4684
4684
|
if (!w())
|
|
4685
4685
|
return;
|
|
4686
4686
|
const U = {
|
|
4687
|
-
...
|
|
4688
|
-
max_token_amount: +
|
|
4689
|
-
cu_amount: +
|
|
4690
|
-
is_custom_rps:
|
|
4691
|
-
rps:
|
|
4687
|
+
...n,
|
|
4688
|
+
max_token_amount: +n.max_token_amount.value,
|
|
4689
|
+
cu_amount: +n.cu_amount.replace(/\s/g, ""),
|
|
4690
|
+
is_custom_rps: n.rps === "Custom",
|
|
4691
|
+
rps: n.rps === "Custom" ? 0 : n.rps
|
|
4692
4692
|
};
|
|
4693
4693
|
k("send", U);
|
|
4694
4694
|
}, B = () => {
|
|
@@ -4706,19 +4706,19 @@ const pu = /* @__PURE__ */ xe(Vi, [["__scopeId", "data-v-570e7644"]]), vi = (d)
|
|
|
4706
4706
|
U && document ? document.body.classList.add("overflow-hidden") : document.body.classList.remove("overflow-hidden");
|
|
4707
4707
|
},
|
|
4708
4708
|
{ deep: !0, immediate: !0 }
|
|
4709
|
-
), (U, z) => d.isOpen ? (
|
|
4709
|
+
), (U, z) => d.isOpen ? (s(), u("div", {
|
|
4710
4710
|
key: 0,
|
|
4711
4711
|
class: r(["fixed w-screen h-screen top-0 z-30 flex items-center justify-center xs:!items-end xs:!h-full", d.onboardingMode ? "" : "bg-[#00000033]"]),
|
|
4712
4712
|
onClick: z[7] || (z[7] = he((N) => d.onboardingMode ? () => {
|
|
4713
4713
|
} : k("update:is-open", !1), ["self", "stop"]))
|
|
4714
4714
|
}, [
|
|
4715
4715
|
e("div", Fi, [
|
|
4716
|
-
d.onboardingMode ? S("", !0) : (
|
|
4716
|
+
d.onboardingMode ? S("", !0) : (s(), u("div", Zi, [
|
|
4717
4717
|
e("div", {
|
|
4718
4718
|
class: r(["p-2 rounded-12", [{ "gb-bg-bg-additional cursor-pointer": d.step === 2 }]]),
|
|
4719
4719
|
onClick: C
|
|
4720
4720
|
}, [
|
|
4721
|
-
d.step === 2 ? (
|
|
4721
|
+
d.step === 2 ? (s(), ue(a(Y), {
|
|
4722
4722
|
key: 0,
|
|
4723
4723
|
"icon-name": "chevron-left"
|
|
4724
4724
|
})) : S("", !0)
|
|
@@ -4731,9 +4731,9 @@ const pu = /* @__PURE__ */ xe(Vi, [["__scopeId", "data-v-570e7644"]]), vi = (d)
|
|
|
4731
4731
|
T(a(Y), { "icon-name": "x-close" })
|
|
4732
4732
|
])
|
|
4733
4733
|
])),
|
|
4734
|
-
d.step === 1 ? (
|
|
4734
|
+
d.step === 1 ? (s(), u("div", Ri, [
|
|
4735
4735
|
T(a(No), {
|
|
4736
|
-
value:
|
|
4736
|
+
value: n.rps,
|
|
4737
4737
|
values: t,
|
|
4738
4738
|
marks: M,
|
|
4739
4739
|
label: "RPS",
|
|
@@ -4742,13 +4742,13 @@ const pu = /* @__PURE__ */ xe(Vi, [["__scopeId", "data-v-570e7644"]]), vi = (d)
|
|
|
4742
4742
|
}, null, 8, ["value"]),
|
|
4743
4743
|
T(a(de), {
|
|
4744
4744
|
"input-name": "cuAmount",
|
|
4745
|
-
"input-value":
|
|
4746
|
-
"onUpdate:inputValue":
|
|
4745
|
+
"input-value": n.cu_amount,
|
|
4746
|
+
"onUpdate:inputValue": f
|
|
4747
4747
|
}, {
|
|
4748
4748
|
label: I(() => [
|
|
4749
|
-
e("div",
|
|
4750
|
-
e("span",
|
|
4751
|
-
e("span", Wi, "MAX " + i(G(W[
|
|
4749
|
+
e("div", fi, [
|
|
4750
|
+
e("span", Ei, i(p.value.cuAmount), 1),
|
|
4751
|
+
e("span", Wi, "MAX " + i(G(W[n.rps])), 1)
|
|
4752
4752
|
])
|
|
4753
4753
|
]),
|
|
4754
4754
|
_: 1
|
|
@@ -4757,8 +4757,8 @@ const pu = /* @__PURE__ */ xe(Vi, [["__scopeId", "data-v-570e7644"]]), vi = (d)
|
|
|
4757
4757
|
e("p", zi, i(p.value.accessTokens), 1),
|
|
4758
4758
|
T(a(Al), {
|
|
4759
4759
|
items: b,
|
|
4760
|
-
"selected-item":
|
|
4761
|
-
onSelectItem:
|
|
4760
|
+
"selected-item": n.max_token_amount,
|
|
4761
|
+
onSelectItem: Z
|
|
4762
4762
|
}, null, 8, ["selected-item"])
|
|
4763
4763
|
]),
|
|
4764
4764
|
e("div", Ii, [
|
|
@@ -4782,9 +4782,9 @@ const pu = /* @__PURE__ */ xe(Vi, [["__scopeId", "data-v-570e7644"]]), vi = (d)
|
|
|
4782
4782
|
})
|
|
4783
4783
|
]),
|
|
4784
4784
|
T(a(Ze), {
|
|
4785
|
-
class: r({ "!bg-black":
|
|
4786
|
-
selected:
|
|
4787
|
-
onChangeSelected: z[1] || (z[1] = () =>
|
|
4785
|
+
class: r({ "!bg-black": n.premium_support }),
|
|
4786
|
+
selected: n.premium_support,
|
|
4787
|
+
onChangeSelected: z[1] || (z[1] = () => n.premium_support = !n.premium_support)
|
|
4788
4788
|
}, null, 8, ["class", "selected"])
|
|
4789
4789
|
]),
|
|
4790
4790
|
e("div", Qi, [
|
|
@@ -4808,19 +4808,19 @@ const pu = /* @__PURE__ */ xe(Vi, [["__scopeId", "data-v-570e7644"]]), vi = (d)
|
|
|
4808
4808
|
})
|
|
4809
4809
|
]),
|
|
4810
4810
|
T(a(Ze), {
|
|
4811
|
-
class: r({ "!bg-black":
|
|
4812
|
-
selected:
|
|
4813
|
-
onChangeSelected: z[2] || (z[2] = () =>
|
|
4811
|
+
class: r({ "!bg-black": n.advanced_statistics }),
|
|
4812
|
+
selected: n.advanced_statistics,
|
|
4813
|
+
onChangeSelected: z[2] || (z[2] = () => n.advanced_statistics = !n.advanced_statistics)
|
|
4814
4814
|
}, null, 8, ["class", "selected"])
|
|
4815
4815
|
])
|
|
4816
4816
|
])) : S("", !0),
|
|
4817
|
-
d.step === 2 ? (
|
|
4817
|
+
d.step === 2 ? (s(), u("div", Gi, [
|
|
4818
4818
|
T(a(de), {
|
|
4819
|
-
"input-value": "" +
|
|
4819
|
+
"input-value": "" + n.company_name,
|
|
4820
4820
|
"input-name": "name",
|
|
4821
4821
|
placeholder: p.value.companyNamePlaceholder,
|
|
4822
4822
|
"icon-name": "luggage-02",
|
|
4823
|
-
"onUpdate:inputValue": z[3] || (z[3] = (N) =>
|
|
4823
|
+
"onUpdate:inputValue": z[3] || (z[3] = (N) => n.company_name = N)
|
|
4824
4824
|
}, me({
|
|
4825
4825
|
label: I(() => [
|
|
4826
4826
|
e("span", Ci, i(p.value.companyName), 1),
|
|
@@ -4837,11 +4837,11 @@ const pu = /* @__PURE__ */ xe(Vi, [["__scopeId", "data-v-570e7644"]]), vi = (d)
|
|
|
4837
4837
|
} : void 0
|
|
4838
4838
|
]), 1032, ["input-value", "placeholder"]),
|
|
4839
4839
|
T(a(de), {
|
|
4840
|
-
"input-value": "" +
|
|
4840
|
+
"input-value": "" + n.email,
|
|
4841
4841
|
"input-name": "email",
|
|
4842
4842
|
placeholder: p.value.emailPlaceholder,
|
|
4843
4843
|
"icon-name": "mail-01",
|
|
4844
|
-
"onUpdate:inputValue": z[4] || (z[4] = (N) =>
|
|
4844
|
+
"onUpdate:inputValue": z[4] || (z[4] = (N) => n.email = N)
|
|
4845
4845
|
}, me({
|
|
4846
4846
|
label: I(() => [
|
|
4847
4847
|
e("span", Oi, i(p.value.email), 1),
|
|
@@ -4858,11 +4858,11 @@ const pu = /* @__PURE__ */ xe(Vi, [["__scopeId", "data-v-570e7644"]]), vi = (d)
|
|
|
4858
4858
|
} : void 0
|
|
4859
4859
|
]), 1032, ["input-value", "placeholder"]),
|
|
4860
4860
|
T(a(de), {
|
|
4861
|
-
"input-value": "" +
|
|
4861
|
+
"input-value": "" + n.telegram,
|
|
4862
4862
|
"input-name": "telegram",
|
|
4863
4863
|
placeholder: p.value.telegramPlaceholder,
|
|
4864
4864
|
"icon-name": "telegram",
|
|
4865
|
-
"onUpdate:inputValue": z[5] || (z[5] = (N) =>
|
|
4865
|
+
"onUpdate:inputValue": z[5] || (z[5] = (N) => n.telegram = N)
|
|
4866
4866
|
}, me({
|
|
4867
4867
|
label: I(() => [
|
|
4868
4868
|
e("span", Xi, i(p.value.telegram), 1),
|
|
@@ -4880,9 +4880,9 @@ const pu = /* @__PURE__ */ xe(Vi, [["__scopeId", "data-v-570e7644"]]), vi = (d)
|
|
|
4880
4880
|
]), 1032, ["input-value", "placeholder"]),
|
|
4881
4881
|
T(a(We), {
|
|
4882
4882
|
"input-name": "message",
|
|
4883
|
-
"input-value":
|
|
4883
|
+
"input-value": n.message,
|
|
4884
4884
|
placeholder: p.value.textMessagePlaceholder,
|
|
4885
|
-
"onUpdate:inputValue": z[6] || (z[6] = (N) =>
|
|
4885
|
+
"onUpdate:inputValue": z[6] || (z[6] = (N) => n.message = N)
|
|
4886
4886
|
}, {
|
|
4887
4887
|
label: I(() => [
|
|
4888
4888
|
ie(i(p.value.textMessage), 1)
|
|
@@ -4890,7 +4890,7 @@ const pu = /* @__PURE__ */ xe(Vi, [["__scopeId", "data-v-570e7644"]]), vi = (d)
|
|
|
4890
4890
|
_: 1
|
|
4891
4891
|
}, 8, ["input-value", "placeholder"])
|
|
4892
4892
|
])) : S("", !0),
|
|
4893
|
-
d.step === 3 ? (
|
|
4893
|
+
d.step === 3 ? (s(), u("div", Ai, [
|
|
4894
4894
|
z[11] || (z[11] = e("div", { class: "w-full flex items-center justify-center" }, [
|
|
4895
4895
|
e("div", { class: "bg-[#1E1E1F29] w-[80px] h-[80px] rounded-full flex justify-center items-center" }, [
|
|
4896
4896
|
e("div", { class: "gb-bg-text-light-bg w-[64px] h-[64px] rounded-full flex justify-center items-center" }, [
|
|
@@ -4916,13 +4916,13 @@ const pu = /* @__PURE__ */ xe(Vi, [["__scopeId", "data-v-570e7644"]]), vi = (d)
|
|
|
4916
4916
|
default: I(() => [
|
|
4917
4917
|
e("div", qi, [
|
|
4918
4918
|
e("p", eu, i(ne[d.step]), 1),
|
|
4919
|
-
d.step === 1 ? (
|
|
4919
|
+
d.step === 1 ? (s(), ue(a(Y), {
|
|
4920
4920
|
key: 0,
|
|
4921
4921
|
"icon-name": "chevron-right",
|
|
4922
4922
|
"color-type": "color-bg",
|
|
4923
4923
|
"size-type": "xs"
|
|
4924
4924
|
})) : S("", !0),
|
|
4925
|
-
d.isLoading ? (
|
|
4925
|
+
d.isLoading ? (s(), ue(a(Xe), {
|
|
4926
4926
|
key: 1,
|
|
4927
4927
|
"color-type": "outline",
|
|
4928
4928
|
class: "ml-2"
|
|
@@ -4953,5 +4953,5 @@ export {
|
|
|
4953
4953
|
cu as GetBlockUINavbar,
|
|
4954
4954
|
uu as GetBlockUIOptionalAnnouncement,
|
|
4955
4955
|
du as GetBlockUiContactForm,
|
|
4956
|
-
|
|
4956
|
+
fo as GetBlockUiContactFormNew
|
|
4957
4957
|
};
|