@getblock/common 0.1.81 → 0.1.83

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.
@@ -1,4 +1,4 @@
1
- import { defineComponent as H, computed as F, openBlock as n, 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 _, toDisplayString as i, renderList as f, withModifiers as he, onBeforeUnmount as Ke, Teleport as $e, normalizeStyle as Ee, vModelText as qe, createTextVNode as ie, nextTick as et, onUnmounted as fe, useCssVars as Le, createSlots as me, withCtx as I, withKeys as Fe, reactive as je } from "vue";
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 f, withModifiers as he, onBeforeUnmount as Ke, Teleport as $e, normalizeStyle as Ee, vModelText as qe, createTextVNode as ie, nextTick as et, onUnmounted as fe, 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) => (n(), u("button", {
99
+ return (k, o) => (s(), u("button", {
100
100
  class: r([a(l), a(L).button]),
101
101
  disabled: c.disabled
102
102
  }, [
@@ -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) => (n(), u("img", {
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), s = g(l.inputType), x = F({
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
  },
@@ -315,19 +315,19 @@ const tt = "_getblock_ui_button_1pp63_1", lt = "_getblock_ui_buttonAccent_1pp63_
315
315
  })), G = () => {
316
316
  c("update:inputValue", "");
317
317
  }, E = () => {
318
- s.value = s.value === "password" ? "text" : "password";
318
+ n.value = n.value === "password" ? "text" : "password";
319
319
  }, b = () => {
320
320
  l.customEventRightButton ? c("onClickRightButton") : l.inputType === "password" ? E() : G();
321
- }, R = () => {
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) => (n(), u("div", {
327
+ return (B, C) => (s(), u("div", {
328
328
  class: r(a(te).container)
329
329
  }, [
330
- a(J).label ? (n(), u("p", {
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: R,
339
+ onFocusin: Z,
340
340
  onFocusout: w
341
341
  }, [
342
- l.iconName ? (n(), ue(Y, {
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: s.value
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 ? (n(), ue(Y, {
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 ? (n(), u("p", {
390
+ a(J).hint ? (s(), u("p", {
391
391
  key: 1,
392
392
  class: r([a(v), "input__hint"])
393
393
  }, [
@@ -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), s = g(-1), x = g(null), t = g(null), M = g(null), v = g(!1), W = (h) => {
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,10 +516,10 @@ 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
- }, Z = () => {
520
- document.removeEventListener("mousemove", A), document.removeEventListener("mouseup", Z), v.value = !1;
519
+ }, _ = () => {
520
+ document.removeEventListener("mousemove", A), document.removeEventListener("mouseup", _), v.value = !1;
521
521
  };
522
- document.addEventListener("mousemove", A), document.addEventListener("mouseup", Z);
522
+ document.addEventListener("mousemove", A), document.addEventListener("mouseup", _);
523
523
  }, E = (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;
@@ -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(""), R = (h) => {
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), s.value = -1, z();
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 = "", s.value = -1, (y = p.value) == null || y.focus()));
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, s.value = -1, (h = p.value) == null || h.setAttribute("readonly", "true");
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 && s.value >= 0 && s.value < w.value.length ? C(w.value[s.value]) : o.value || (o.value = !0)) : h.key === "ArrowDown" ? (h.preventDefault(), o.value ? s.value < w.value.length - 1 && (s.value++, m()) : (o.value = !0, s.value = 0)) : h.key === "ArrowUp" && (h.preventDefault(), o.value && s.value > 0 && (s.value--, m()));
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 && s.value >= 0) {
559
- const h = x.value.children[s.value];
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((n(), u("div", {
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 ? (n(), ue(Y, {
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 ? (n(), ue(Y, {
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 ? (n(), u(_, { key: 3 }, [
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: R
597
+ onInput: Z
598
598
  }, null, 42, Ll),
599
599
  o.value ? S("", !0) : $(h.$slots, "selected-right", { key: 0 })
600
- ], 64)) : (n(), u(_, { key: 4 }, [
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 ? (n(), u("div", {
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 ? (n(), u(_, { key: 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
- (n(!0), u(_, null, f(a(w), (A, Z) => (n(), u("div", {
625
- key: `${A.value}_${Z}`,
626
- class: r(["flex items-center justify-between dropdown-item", [a(O).dropdownListItem, { "bg-gray-100": s.value === Z }]]),
624
+ (s(!0), u(R, null, f(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) => s.value = Z
628
+ onMouseenter: (D) => n.value = _
629
629
  }, [
630
630
  e("div", Hl, [
631
- A.iconName ? (n(), ue(Y, {
631
+ A.iconName ? (s(), ue(Y, {
632
632
  key: 0,
633
633
  "size-type": "medium",
634
634
  "color-type": d.colorTypeIcon,
@@ -643,11 +643,11 @@ 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: Z
646
+ index: _
647
647
  })
648
648
  ], 42, Xl))), 128))
649
649
  ], 2),
650
- a(w).length > 4 ? (n(), u("div", {
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",
@@ -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)) : (n(), u("div", {
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"), s = F(() => ({
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) => (n(), u("label", {
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(s)),
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), s = g({ top: "0px", left: "0px" }), x = async () => {
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 E = l.value, b = k.value, R = E.getBoundingClientRect(), w = 8, J = c.verticalPosition === "top" ? R.top - b.offsetHeight - w : R.bottom + w, B = R.left + R.width / 2, C = c.horizontalPosition === "left" ? B - b.offsetWidth : c.horizontalPosition === "right" ? B : B - b.offsetWidth / 2;
786
- s.value = {
785
+ const E = l.value, b = k.value, Z = E.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,7 +802,7 @@ const tt = "_getblock_ui_button_1pp63_1", lt = "_getblock_ui_buttonAccent_1pp63_
802
802
  };
803
803
  return Ke(() => {
804
804
  o.value = !1;
805
- }), (E, b) => (n(), u("div", {
805
+ }), (E, b) => (s(), u("div", {
806
806
  ref_key: "triggerRef",
807
807
  ref: l,
808
808
  class: "cursor-help relative z-[5] w-fit",
@@ -810,13 +810,13 @@ const tt = "_getblock_ui_button_1pp63_1", lt = "_getblock_ui_buttonAccent_1pp63_
810
810
  onMouseleave: v
811
811
  }, [
812
812
  $(E.$slots, "tooltip-component"),
813
- (n(), ue($e, { to: "body" }, [
814
- o.value ? (n(), u("div", {
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: Ee(s.value),
819
+ style: Ee(n.value),
820
820
  onMouseenter: W,
821
821
  onMouseleave: G
822
822
  }, [
@@ -877,7 +877,7 @@ 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), s = F({
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
  },
@@ -902,10 +902,10 @@ const tt = "_getblock_ui_button_1pp63_1", lt = "_getblock_ui_buttonAccent_1pp63_
902
902
  }, W = () => {
903
903
  o.value = !1;
904
904
  }, G = Re();
905
- return (E, b) => (n(), u("div", {
905
+ return (E, b) => (s(), u("div", {
906
906
  class: r(a(se).container)
907
907
  }, [
908
- a(G).label ? (n(), u("div", {
908
+ a(G).label ? (s(), u("div", {
909
909
  key: 0,
910
910
  class: r(a(se).labelContainer)
911
911
  }, [
@@ -916,7 +916,7 @@ const tt = "_getblock_ui_button_1pp63_1", lt = "_getblock_ui_buttonAccent_1pp63_
916
916
  ], 2),
917
917
  e("p", {
918
918
  class: r(a(se).labelText)
919
- }, i(a(s).length) + "/" + i(p.value), 3)
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] = (R) => Je(s) ? s.value = R : null),
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(s)]
938
+ [qe, a(n)]
939
939
  ]),
940
940
  e("div", {
941
941
  class: r(a(se).textareaResizeButton)
@@ -947,7 +947,7 @@ const tt = "_getblock_ui_button_1pp63_1", lt = "_getblock_ui_buttonAccent_1pp63_
947
947
  })
948
948
  ], 2)
949
949
  ], 34),
950
- a(G).hint ? (n(), u("p", {
950
+ a(G).hint ? (s(), u("p", {
951
951
  key: 1,
952
952
  class: r(a(t))
953
953
  }, [
@@ -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, s) => (n(), u("label", {
984
+ return (p, n) => (s(), u("label", {
985
985
  class: r(a(k))
986
986
  }, [
987
987
  e("input", {
@@ -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) => (n(), u("div", {
1030
+ return (o, p) => (s(), u("div", {
1031
1031
  class: r([a(ke).tabBarContainer, l.stretched ? "w-full" : "max-w-max"])
1032
1032
  }, [
1033
- (n(!0), u(_, null, f(d.tabItems, (s) => (n(), u("div", {
1034
- key: s.value,
1033
+ (s(!0), u(R, null, f(d.tabItems, (n) => (s(), u("div", {
1034
+ key: n.value,
1035
1035
  class: r([
1036
1036
  a(ke).tabBarItem,
1037
- l.selectedItem.value === s.value ? a(ke).tabBarSelected : a(ke).tabBarNotSelected,
1038
- { [a(ke).tabBarSelectedDisabled]: l.selectedItem.value === s.value && s.disabled },
1039
- { [a(ke).tabBarNotSelectedDisabled]: l.selectedItem.value !== s.value && s.disabled },
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(s)
1042
+ onClick: (x) => k(n)
1043
1043
  }, [
1044
- !s.iconName && !d.iconsAndText ? (n(), u(_, { key: 0 }, [
1045
- ie(i(s.text), 1)
1046
- ], 64)) : s.iconName && !d.iconsAndText ? (n(), ue(Y, {
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": s.iconName
1048
+ "icon-name": n.iconName
1049
1049
  }, null, 8, ["icon-name"])) : S("", !0),
1050
- s.iconName && d.iconsAndText ? (n(), u(_, { key: 2 }, [
1050
+ n.iconName && d.iconsAndText ? (s(), u(R, { key: 2 }, [
1051
1051
  T(Y, {
1052
- "icon-name": s.iconName
1052
+ "icon-name": n.iconName
1053
1053
  }, null, 8, ["icon-name"]),
1054
- e("span", wa, i(s.text), 1)
1054
+ e("span", wa, i(n.text), 1)
1055
1055
  ], 64)) : S("", !0),
1056
- $(o.$slots, s.value)
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) => (n(), u("div", {
1091
+ return (o, p) => (s(), u("div", {
1092
1092
  class: r([a(l), a(re).customLoader])
1093
1093
  }, [
1094
1094
  e("div", {
@@ -1136,10 +1136,10 @@ 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(""), s = g(!1), x = g([]), t = g(!1), M = g(null), v = F(() => o.value ? "main" : "tertiary"), W = F(() => l.items.filter(
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
- s.value && (s.value = !1, x.value = []);
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);
@@ -1148,12 +1148,12 @@ const tt = "_getblock_ui_button_1pp63_1", lt = "_getblock_ui_buttonAccent_1pp63_
1148
1148
  }, E = () => {
1149
1149
  x.value = [], l.items.map((m) => {
1150
1150
  m.checked && (m.checked = !1);
1151
- }), s.value && (s.value = !1);
1151
+ }), n.value && (n.value = !1);
1152
1152
  }, b = () => {
1153
- E(), s.value = !s.value, x.value.push(
1153
+ E(), 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
- }, R = () => {
1156
+ }, Z = () => {
1157
1157
  o.value = !o.value;
1158
1158
  }, w = () => {
1159
1159
  t.value || (o.value = !1);
@@ -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 = (Z) => {
1180
- const D = (Z.clientY - h) / (q - j) * (J.value.scrollHeight - J.value.clientHeight);
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((n(), u("div", {
1195
+ return K((s(), u("div", {
1196
1196
  tabindex: "0",
1197
- onClick: R,
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
- (n(!0), u(_, null, f(a(W), (j) => (n(), u("div", {
1235
+ (s(!0), u(R, null, f(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 ? (n(), u("span", lo, i(j.additionalText), 1)) : S("", !0)
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: s.value,
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 ? (n(), u("div", {
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
- }), s = F(
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) => (n(), u("div", co, [
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
1340
  style: Ee({ color: a(p) })
1341
- }, i(a(s)), 5)
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
- (n(!0), u(_, null, f(d.marks, (v) => (n(), u("div", {
1355
+ (s(!0), u(R, null, f(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
- (n(!0), u(_, null, f(d.marks, (v) => (n(), u("span", {
1362
+ (s(!0), u(R, null, f(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(), s = g(""), x = g(!1), t = g(""), M = g(!1), v = g(""), W = g(!1), G = g(null), E = g(""), b = g(!1), R = g(""), w = g(!1), J = F(() => {
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), E = g(""), b = g(!1), Z = g(""), w = g(!1), J = F(() => {
1423
1423
  const N = /^\S+@\S+\.\S+$/;
1424
- return s.value.trim().length === 0 || v.value.trim().length === 0 || !N.test(v.value.trim()) || E.value.trim().length === 0 || R.value.trim().length === 0;
1424
+ return n.value.trim().length === 0 || v.value.trim().length === 0 || !N.test(v.value.trim()) || E.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 = s.value.trim().length === 0), N === "company" && (M.value = t.value.trim().length === 0), N === "email") {
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 = E.value.trim().length === 0), N === "message" && (w.value = R.value.trim().length === 0);
1438
+ N === "contact" && (b.value = E.value.trim().length === 0), N === "message" && (w.value = Z.value.trim().length === 0);
1439
1439
  }, ne = () => {
1440
1440
  let N = !0;
1441
- s.value.trim().length === 0 && (x.value = !0, N = !1);
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), E.value.trim().length === 0 && (b.value = !0, N = !1), R.value.trim().length === 0 && (w.value = !0, N = !1), N;
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), E.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: s.value,
1445
+ ne() && (k("contactFormSent", {
1446
+ name: n.value,
1447
1447
  company: t.value,
1448
1448
  email: v.value,
1449
1449
  contact: E.value,
1450
- textMessage: R.value
1451
- });
1450
+ textMessage: Z.value
1451
+ }), n.value = "", t.value = "", v.value = "", E.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, Z, D, ae;
1457
- return n(), u("div", {
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 ? (n(), u("div", vo, [
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
- ])) : (n(), u("h1", Fo, i(l.title), 1))
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": s.value,
1489
- "onUpdate:inputValue": m[0] || (m[0] = (Q) => s.value = 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 }, [
@@ -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": R.value,
1582
- "onUpdate:inputValue": m[12] || (m[12] = (Q) => R.value = Q),
1583
- placeholder: (Z = a(o)) == null ? void 0 : Z.form.placeholders.textMessage,
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
- }, Eo = /* @__PURE__ */ xe(Ro, [["__scopeId", "data-v-afd6c1eb"]]), fo = /* @__PURE__ */ H({
1632
+ }, Eo = /* @__PURE__ */ xe(Ro, [["__scopeId", "data-v-c5635f6f"]]), fo = /* @__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 = (s) => {
1648
+ }, p = (n) => {
1649
1649
  k("contactModalSent", {
1650
- name: s.name.value,
1651
- company: s.company.value,
1652
- email: s.email.value,
1653
- contact: s.contact.value,
1654
- textMessage: s.textMessage.value
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 (s, x) => (n(), u("div", {
1657
+ return (n, x) => (s(), u("div", {
1658
1658
  class: r(["contact-modal", a(Be).contactModal]),
1659
1659
  onClick: he(o, ["self"])
1660
1660
  }, [
@@ -1683,7 +1683,7 @@ const xe = (d, c) => {
1683
1683
  onContactFormSent: p
1684
1684
  }, {
1685
1685
  "turnstile-widget": I(() => [
1686
- $(s.$slots, "turnstile-widget", {}, void 0, !0)
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(fo, [["__scopeId", "data-v-2139aade"]]), Wo = "_getblock_ui_cookie_1m598_1", zo = "dark", Io = "_getblock_ui_cookieManageModal_1m598_9", So = "_getblock_ui_cookieManageContainer_1m598_14", ye = {
1694
+ const ou = /* @__PURE__ */ xe(fo, [["__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,8 +1811,8 @@ const ou = /* @__PURE__ */ xe(fo, [["__scopeId", "data-v-2139aade"]]), Wo = "_ge
1811
1811
  id: "marketing",
1812
1812
  checked: !1
1813
1813
  }
1814
- ]), s = F(() => k.locale === "en" || k.locale === "en-gb"), x = F(() => k.mainProject ? "_self" : "_blank"), t = F(() => s.value ? "" : "cn/"), M = F(
1815
- () => s.value ? Do : jo
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
1816
  ), v = (E) => {
1817
1817
  o.value = E;
1818
1818
  }, W = () => {
@@ -1823,8 +1823,8 @@ const ou = /* @__PURE__ */ xe(fo, [["__scopeId", "data-v-2139aade"]]), Wo = "_ge
1823
1823
  }, G = () => {
1824
1824
  o.value && v(!1), l("onRejectCookie");
1825
1825
  };
1826
- return (E, b) => k.acceptCookie ? S("", !0) : (n(), u("div", Qo, [
1827
- o.value ? S("", !0) : (n(), u("div", {
1826
+ return (E, 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-2139aade"]]), 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] = (R) => v(!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-2139aade"]]), Wo = "_ge
1896
1896
  "size-type": "medium",
1897
1897
  class: "w-9",
1898
1898
  "color-type": "secondary",
1899
- onClick: b[1] || (b[1] = (R) => v(!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-2139aade"]]), Wo = "_ge
1909
1909
  })
1910
1910
  ]),
1911
1911
  e("div", Ho, [
1912
- (n(!0), u(_, null, f(p.value, (R) => (n(), u("div", {
1913
- key: R.id,
1912
+ (s(!0), u(R, null, f(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[R.id].title), 1),
1918
- e("p", Ko, i(M.value.manage.list[R.id].description), 1)
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: R.checked,
1923
- disabled: R.id === "strictly",
1924
- onInput: (w) => R.checked = !R.checked
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
  ]),
@@ -2321,8 +2321,8 @@ const ou = /* @__PURE__ */ xe(fo, [["__scopeId", "data-v-2139aade"]]), 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 = (s) => s.includes("blog") || c.locale === "en" ? s : s.includes("docs") ? s === "/docs/" ? "/docs/cn/" : `/docs/cn${s.split("docs/").join("")}` : s.includes("explorers") ? s === "/explorers/" ? "/explorers/cn/" : `/explorers/cn${s.split("explorers/").join("")}` : s === "/" ? "/cn/" : `/cn${s}`;
2325
- return (s, x) => (n(), u("footer", {
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-2139aade"]]), Wo = "_ge
2331
2331
  e("p", {
2332
2332
  class: r(a(V).navigationItemTitle)
2333
2333
  }, i(o.value.product.title), 3),
2334
- (n(!0), u(_, null, f(l.value[0].items, (t) => (n(), u("a", {
2334
+ (s(!0), u(R, null, f(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-2139aade"]]), Wo = "_ge
2341
2341
  e("p", {
2342
2342
  class: r(a(V).navigationItemTitle)
2343
2343
  }, i(o.value.chains.title), 3),
2344
- (n(!0), u(_, null, f(l.value[1].items, (t) => (n(), u("a", {
2344
+ (s(!0), u(R, null, f(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-2139aade"]]), Wo = "_ge
2352
2352
  e("p", {
2353
2353
  class: r(a(V).navigationItemTitle)
2354
2354
  }, i(o.value.explorers.title), 3),
2355
- (n(!0), u(_, null, f(l.value[2].items, (t) => (n(), u("a", {
2355
+ (s(!0), u(R, null, f(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-2139aade"]]), Wo = "_ge
2362
2362
  e("p", {
2363
2363
  class: r(a(V).navigationItemTitle)
2364
2364
  }, i(o.value["for-developers"].title), 3),
2365
- (n(!0), u(_, null, f(l.value[3].items, (t) => (n(), u("a", {
2365
+ (s(!0), u(R, null, f(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-2139aade"]]), Wo = "_ge
2373
2373
  e("p", {
2374
2374
  class: r(a(V).navigationItemTitle)
2375
2375
  }, i(o.value.company.title), 3),
2376
- (n(!0), u(_, null, f(l.value[4].items, (t) => (n(), u("a", {
2376
+ (s(!0), u(R, null, f(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-2139aade"]]), Wo = "_ge
2384
2384
  e("p", {
2385
2385
  class: r(a(V).navigationItemTitle)
2386
2386
  }, i(o.value.partnerships.title), 3),
2387
- (n(!0), u(_, null, f(l.value[5].items, (t) => (n(), u("a", {
2387
+ (s(!0), u(R, null, f(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-2139aade"]]), Wo = "_ge
2394
2394
  e("p", {
2395
2395
  class: r(a(V).navigationItemTitle)
2396
2396
  }, i(o.value["legal-documents"].title), 3),
2397
- (n(!0), u(_, null, f(l.value[6].items, (t) => (n(), u("a", {
2397
+ (s(!0), u(R, null, f(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-2139aade"]]), Wo = "_ge
2406
2406
  e("p", {
2407
2407
  class: r(a(V).navigationItemTitle)
2408
2408
  }, i(o.value.product.title), 3),
2409
- (n(!0), u(_, null, f(l.value[0].items, (t) => (n(), u("a", {
2409
+ (s(!0), u(R, null, f(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-2139aade"]]), Wo = "_ge
2416
2416
  e("p", {
2417
2417
  class: r(a(V).navigationItemTitle)
2418
2418
  }, i(o.value.chains.title), 3),
2419
- (n(!0), u(_, null, f(l.value[1].items, (t) => (n(), u("a", {
2419
+ (s(!0), u(R, null, f(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,7 +2427,7 @@ const ou = /* @__PURE__ */ xe(fo, [["__scopeId", "data-v-2139aade"]]), Wo = "_ge
2427
2427
  e("p", {
2428
2428
  class: r(a(V).navigationItemTitle)
2429
2429
  }, i(o.value.explorers.title), 3),
2430
- (n(!0), u(_, null, f(l.value[2].items, (t) => (n(), u("a", {
2430
+ (s(!0), u(R, null, f(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}`)
@@ -2437,7 +2437,7 @@ const ou = /* @__PURE__ */ xe(fo, [["__scopeId", "data-v-2139aade"]]), Wo = "_ge
2437
2437
  e("p", {
2438
2438
  class: r(a(V).navigationItemTitle)
2439
2439
  }, i(o.value["for-developers"].title), 3),
2440
- (n(!0), u(_, null, f(l.value[3].items, (t) => (n(), u("a", {
2440
+ (s(!0), u(R, null, f(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}`)
@@ -2449,7 +2449,7 @@ const ou = /* @__PURE__ */ xe(fo, [["__scopeId", "data-v-2139aade"]]), Wo = "_ge
2449
2449
  e("p", {
2450
2450
  class: r(a(V).navigationItemTitle)
2451
2451
  }, i(o.value.company.title), 3),
2452
- (n(!0), u(_, null, f(l.value[4].items, (t) => (n(), u("a", {
2452
+ (s(!0), u(R, null, f(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-2139aade"]]), Wo = "_ge
2460
2460
  e("p", {
2461
2461
  class: r(a(V).navigationItemTitle)
2462
2462
  }, i(o.value.partnerships.title), 3),
2463
- (n(!0), u(_, null, f(l.value[5].items, (t) => (n(), u("a", {
2463
+ (s(!0), u(R, null, f(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-2139aade"]]), Wo = "_ge
2471
2471
  e("p", {
2472
2472
  class: r(a(V).navigationItemTitle)
2473
2473
  }, i(o.value["legal-documents"].title), 3),
2474
- (n(!0), u(_, null, f(l.value[6].items, (t) => (n(), u("a", {
2474
+ (s(!0), u(R, null, f(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-2139aade"]]), Wo = "_ge
2484
2484
  e("p", {
2485
2485
  class: r(a(V).navigationItemTitle)
2486
2486
  }, i(o.value.product.title), 3),
2487
- (n(!0), u(_, null, f(l.value[0].items, (t) => (n(), u("a", {
2487
+ (s(!0), u(R, null, f(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-2139aade"]]), Wo = "_ge
2494
2494
  e("p", {
2495
2495
  class: r(a(V).navigationItemTitle)
2496
2496
  }, i(o.value.explorers.title), 3),
2497
- (n(!0), u(_, null, f(l.value[2].items, (t) => (n(), u("a", {
2497
+ (s(!0), u(R, null, f(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-2139aade"]]), Wo = "_ge
2506
2506
  e("p", {
2507
2507
  class: r(a(V).navigationItemTitle)
2508
2508
  }, i(o.value.chains.title), 3),
2509
- (n(!0), u(_, null, f(l.value[1].items, (t) => (n(), u("a", {
2509
+ (s(!0), u(R, null, f(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-2139aade"]]), Wo = "_ge
2516
2516
  e("p", {
2517
2517
  class: r(a(V).navigationItemTitle)
2518
2518
  }, i(o.value["for-developers"].title), 3),
2519
- (n(!0), u(_, null, f(l.value[3].items, (t) => (n(), u("a", {
2519
+ (s(!0), u(R, null, f(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-2139aade"]]), Wo = "_ge
2528
2528
  e("p", {
2529
2529
  class: r(a(V).navigationItemTitle)
2530
2530
  }, i(o.value.company.title), 3),
2531
- (n(!0), u(_, null, f(l.value[4].items, (t) => (n(), u("a", {
2531
+ (s(!0), u(R, null, f(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-2139aade"]]), Wo = "_ge
2539
2539
  e("p", {
2540
2540
  class: r(a(V).navigationItemTitle)
2541
2541
  }, i(o.value.partnerships.title), 3),
2542
- (n(!0), u(_, null, f(l.value[5].items, (t) => (n(), u("a", {
2542
+ (s(!0), u(R, null, f(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-2139aade"]]), Wo = "_ge
2549
2549
  e("p", {
2550
2550
  class: r(a(V).navigationItemTitle)
2551
2551
  }, i(o.value["legal-documents"].title), 3),
2552
- (n(!0), u(_, null, f(l.value[6].items, (t) => (n(), u("a", {
2552
+ (s(!0), u(R, null, f(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-2139aade"]]), Wo = "_ge
2563
2563
  e("p", {
2564
2564
  class: r(a(V).navigationItemTitle)
2565
2565
  }, i(o.value.product.title), 3),
2566
- (n(!0), u(_, null, f(l.value[0].items, (t) => (n(), u("a", {
2566
+ (s(!0), u(R, null, f(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-2139aade"]]), Wo = "_ge
2573
2573
  e("p", {
2574
2574
  class: r(a(V).navigationItemTitle)
2575
2575
  }, i(o.value.explorers.title), 3),
2576
- (n(!0), u(_, null, f(l.value[2].items, (t) => (n(), u("a", {
2576
+ (s(!0), u(R, null, f(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-2139aade"]]), Wo = "_ge
2583
2583
  e("p", {
2584
2584
  class: r(a(V).navigationItemTitle)
2585
2585
  }, i(o.value.company.title), 3),
2586
- (n(!0), u(_, null, f(l.value[4].items, (t) => (n(), u("a", {
2586
+ (s(!0), u(R, null, f(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-2139aade"]]), Wo = "_ge
2594
2594
  e("p", {
2595
2595
  class: r(a(V).navigationItemTitle)
2596
2596
  }, i(o.value.partnerships.title), 3),
2597
- (n(!0), u(_, null, f(l.value[5].items, (t) => (n(), u("a", {
2597
+ (s(!0), u(R, null, f(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-2139aade"]]), Wo = "_ge
2606
2606
  e("p", {
2607
2607
  class: r(a(V).navigationItemTitle)
2608
2608
  }, i(o.value.chains.title), 3),
2609
- (n(!0), u(_, null, f(l.value[1].items, (t) => (n(), u("a", {
2609
+ (s(!0), u(R, null, f(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-2139aade"]]), Wo = "_ge
2616
2616
  e("p", {
2617
2617
  class: r(a(V).navigationItemTitle)
2618
2618
  }, i(o.value["for-developers"].title), 3),
2619
- (n(!0), u(_, null, f(l.value[3].items, (t) => (n(), u("a", {
2619
+ (s(!0), u(R, null, f(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-2139aade"]]), Wo = "_ge
2626
2626
  e("p", {
2627
2627
  class: r(a(V).navigationItemTitle)
2628
2628
  }, i(o.value["legal-documents"].title), 3),
2629
- (n(!0), u(_, null, f(l.value[6].items, (t) => (n(), u("a", {
2629
+ (s(!0), u(R, null, f(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-2139aade"]]), Wo = "_ge
2636
2636
  ]),
2637
2637
  e("div", gs, [
2638
2638
  e("section", Ts, [
2639
- (n(!0), u(_, null, f(k.value, (t) => (n(), u("a", {
2639
+ (s(!0), u(R, null, f(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",
@@ -2690,27 +2690,27 @@ var Us = {
2690
2690
  }
2691
2691
  };
2692
2692
  function _e(d, c) {
2693
- function l(o, p, s) {
2693
+ function l(o, p, n) {
2694
2694
  if (!(typeof document > "u")) {
2695
- s = Ve({}, c, s), typeof s.expires == "number" && (s.expires = new Date(Date.now() + s.expires * 864e5)), s.expires && (s.expires = s.expires.toUTCString()), o = encodeURIComponent(o).replace(/%(2[346B]|5E|60|7C)/g, decodeURIComponent).replace(/[()]/g, escape);
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 s)
2698
- !s[t] || (x += "; " + t, s[t] !== !0 && (x += "=" + s[t].split(";")[0]));
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("; ") : [], s = {}, x = 0; x < p.length; x++) {
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 (s[v] = d.read(M, v), o === v)
2708
+ if (n[v] = d.read(M, v), o === v)
2709
2709
  break;
2710
2710
  } catch {
2711
2711
  }
2712
2712
  }
2713
- return o ? s[o] : s;
2713
+ return o ? n[o] : n;
2714
2714
  }
2715
2715
  }
2716
2716
  return Object.create(
@@ -3130,7 +3130,7 @@ const Fs = {
3130
3130
  fullCode: "zh-cn",
3131
3131
  name: "Chinese"
3132
3132
  }
3133
- ]), s = g(0), x = g(!1), t = g(!1), M = g(0), v = () => {
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]) || "/";
@@ -3156,11 +3156,11 @@ const Fs = {
3156
3156
  k("account-button-pressed");
3157
3157
  }, b = (N) => {
3158
3158
  t.value = !1, k("update-language", N);
3159
- }, R = () => {
3159
+ }, Z = () => {
3160
3160
  typeof window < "u" && (M.value = window.scrollY);
3161
3161
  }, w = () => {
3162
3162
  const N = document.getElementById("announcement");
3163
- N ? s.value = N.offsetHeight : s.value = 0;
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 < s.value ? Ue + s.value - M.value : Ue), U = F(() => l.locale === "en" || l.locale === "en-gb" ? Fs : Zs), z = F(() => {
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(), R(), typeof window < "u" && (window.location.search && localStorage.setItem("queryString", window.location.search), window.addEventListener("scroll", R, { passive: !0 }), window.addEventListener("resize", w, { passive: !0 }));
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
3186
  }), fe(() => {
3187
- typeof window < "u" && window.removeEventListener("scroll", R), typeof window < "u" && window.removeEventListener("resize", w);
3188
- }), (N, m) => (n(), u("nav", {
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
  }, [
@@ -3202,8 +3202,8 @@ const Fs = {
3202
3202
  }, null, -1)
3203
3203
  ])], 8, Es),
3204
3204
  e("div", fs, [
3205
- (n(!0), u(_, null, f(o.value, (h) => (n(), u(_, null, [
3206
- h.key !== "pricing" ? (n(), ue(a(le), {
3205
+ (s(!0), u(R, null, f(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"])) : (n(), u("a", {
3221
+ }, 1032, ["onMouseover"])) : (s(), u("a", {
3222
3222
  key: 1,
3223
3223
  href: J("/pricing/")
3224
3224
  }, [
3225
- (n(), ue(a(le), {
3225
+ (s(), ue(a(le), {
3226
3226
  key: h.key,
3227
3227
  "color-type": "transparent",
3228
3228
  "size-type": "small"
@@ -3328,19 +3328,19 @@ const Fs = {
3328
3328
  })
3329
3329
  ])
3330
3330
  ]),
3331
- (n(!0), u(_, null, f(o.value, (h) => K((n(), u("div", {
3331
+ (s(!0), u(R, null, f(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" ? (n(), u("div", Ys, [
3335
+ h.key !== "explorer" ? (s(), u("div", Ys, [
3336
3336
  e("div", Gs, [
3337
- (n(!0), u(_, null, f(h.items, (y) => (n(), u("a", {
3337
+ (s(!0), u(R, null, f(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" ? (n(), u("div", Os)) : S("", !0),
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" ? (n(), u("a", Ks, [
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" ? (n(), u("div", lc, [
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" ? (n(), u("a", nc, [
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,7 +3404,7 @@ const Fs = {
3404
3404
  ], 2)), [
3405
3405
  [oe, h.open]
3406
3406
  ])), 128)),
3407
- x.value ? (n(), u("div", {
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",
@@ -3443,18 +3443,18 @@ const Fs = {
3443
3443
  })
3444
3444
  ], 8, dc)
3445
3445
  ]),
3446
- (n(!0), u(_, null, f(o.value, (h) => (n(), u("div", {
3446
+ (s(!0), u(R, null, f(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" ? (n(), u("div", pc, [
3451
- (n(!0), u(_, null, f(h.items, (y) => (n(), u("a", {
3450
+ h.key !== "explorer" ? (s(), u("div", pc, [
3451
+ (s(!0), u(R, null, f(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" ? (n(), u("div", kc)) : S("", !0),
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 ? (n(), u("div", Fc, [
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]))
@@ -3546,7 +3546,7 @@ 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) => (n(), u("a", Ec, [
3549
+ return (k, o) => (s(), u("a", Ec, [
3550
3550
  e("p", fc, i(l.value.text), 1),
3551
3551
  o[0] || (o[0] = e("img", {
3552
3552
  class: "xs:w-[190px] xs:h-[55px]",
@@ -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) => (n(), u("a", Dc, [
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(), s = ["email", "name", "company"], x = {
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"
@@ -4214,79 +4214,79 @@ const Jc = { class: "flex flex-col gap-2" }, Oc = {
4214
4214
  }), v = g(""), W = g(null), G = g(!1), E = g({
4215
4215
  name: !1,
4216
4216
  email: !1
4217
- }), b = g(!1), R = F(() => {
4218
- var Z, D, ae;
4217
+ }), b = g(!1), Z = F(() => {
4218
+ var _, D, ae;
4219
4219
  return [
4220
- { value: "sales", text: (Z = o.value) == null ? void 0 : Z.objectRequest.sales },
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" ? s.filter((Z) => Z !== "company") : s), 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 Z, D;
4226
- return ((D = (Z = W.value) == null ? void 0 : Z.selectedItems) == null ? void 0 : D.length) !== 0;
4227
- }), ne = F(() => v.value.length < 15), U = (Z) => {
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 Z !== "email" ? (D = o.value) == null ? void 0 : D.errors.name : M.value[Z].length < 1 ? (ae = o.value) == null ? void 0 : ae.errors.email.empty : (Q = o.value) == null ? void 0 : Q.errors.email.noValid;
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 = (Z) => {
4235
- Z.code === "Enter" && ee();
4236
- }, h = (Z) => {
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[Z]) == null ? void 0 : ae[0]) == null ? void 0 : Q.toUpperCase()) + ((Te = (Ne = o.value) == null ? void 0 : Ne[Z]) == null ? void 0 : Te.slice(1, (ge = o.value) == null ? void 0 : ge[Z].length))
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(), E.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(), E.value.name = !0, !1), j = (Z) => {
4242
- Z !== "other" ? t.value = R.value.find((D) => D.value === Z) : t.value = R.value.find((D) => D.value === "support");
4243
- }, q = (Z) => {
4244
- t.value = Z;
4241
+ }, y = () => J.value ? (document.querySelector("[name='email']").focus(), E.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(), E.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 Z;
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 = (Z = W.value) == null ? void 0 : Z.selectedItems), k("send", D);
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
- (Z) => {
4259
- Z.length > 15 && (b.value = !1);
4258
+ (_) => {
4259
+ _.length > 15 && (b.value = !1);
4260
4260
  }
4261
4261
  ), ce(
4262
4262
  () => B.value,
4263
- (Z) => {
4264
- Z && (E.value.name = !1);
4263
+ (_) => {
4264
+ _ && (E.value.name = !1);
4265
4265
  }
4266
4266
  ), ce(
4267
4267
  () => J.value,
4268
- (Z) => {
4269
- Z || (E.value.email = !1);
4268
+ (_) => {
4269
+ _ || (E.value.email = !1);
4270
4270
  }
4271
4271
  ), ce(
4272
4272
  () => l.successfullySentMessage,
4273
- (Z) => {
4274
- Z && (v.value = "");
4273
+ (_) => {
4274
+ _ && (v.value = "");
4275
4275
  }
4276
4276
  ), j(l.placeOpenModal), ve(() => {
4277
4277
  z();
4278
4278
  }), fe(() => {
4279
4279
  N();
4280
- }), (Z, D) => {
4280
+ }), (_, D) => {
4281
4281
  var ae, Q, Ne, ge, Te, ze, Ie, Se, De;
4282
- return n(), u("div", {
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" ? (n(), u("span", Oc, i((ae = a(o)) == null ? void 0 : ae.theme), 1)) : S("", !0),
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": R.value,
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
- (n(!0), u(_, null, f(w.value, (P, Ae) => (n(), u("div", {
4297
+ (s(!0), u(R, null, f(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
- E.value[P] && P !== "company" ? (n(), u("span", Lc, i(U(P)), 1)) : S("", !0)
4319
+ E.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 ? (n(), u("span", Kc, i((Te = a(o)) == null ? void 0 : Te.errors.message), 1)) : S("", !0)
4352
+ b.value ? (s(), u("span", Kc, i((Te = a(o)) == null ? void 0 : Te.errors.message), 1)) : S("", !0)
4353
4353
  ]),
4354
- $(Z.$slots, "turnstile-widget"),
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 ? (n(), ue(a(Xe), {
4362
+ l.loading ? (s(), ue(a(Xe), {
4363
4363
  key: 0,
4364
4364
  class: "m-auto"
4365
- })) : (n(), u("span", $c, i((P = a(o)) == null ? void 0 : P.button), 1))
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) => (n(), u("a", ri, [
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(), s = g(!1), x = g(), t = g(), M = g(0), v = async () => {
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
- s.value = !0, x.value = b.changedTouches[0].clientY;
4482
+ n.value = !0, x.value = b.changedTouches[0].clientY;
4483
4483
  }, G = (b) => {
4484
- if (!s.value)
4484
+ if (!n.value)
4485
4485
  return;
4486
- const R = b.changedTouches[0].clientY;
4487
- x.value < R && t.value && (t.value.style.height = M.value - Math.abs(x.value - R) + "px");
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
4488
  }, E = (b) => {
4489
- s.value = !1, +t.value.style.height.split("px")[0] <= M.value / 1.5 && v(), t.value.style.height = M.value + "px", x.value = null;
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, R) => K((n(), u("div", {
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
  }, [
@@ -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
- R[0] || (R[0] = e("div", { class: "w-8 h-[6px] rounded-[5px] bg-[#E3E3E5] hidden xs:!block dark:bg-[#3B3B3D]" }, null, -1))
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
- (n(), u("svg", Ni, [
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" ? (n(), u("img", gi)) : (n(), u("img", Ti))
4527
+ k.type === "success" ? (s(), u("img", gi)) : (s(), u("img", Ti))
4528
4528
  ]),
4529
4529
  e("div", null, [
4530
4530
  e("p", {
@@ -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), s = je({
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,7 +4648,7 @@ 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
- s.rps = U;
4651
+ n.rps = U;
4652
4652
  }, W = {
4653
4653
  400: 2e11,
4654
4654
  600: 3e11,
@@ -4660,16 +4660,16 @@ const pu = /* @__PURE__ */ xe(Vi, [["__scopeId", "data-v-570e7644"]]), vi = (d)
4660
4660
  document.activeElement.blur();
4661
4661
  return;
4662
4662
  }
4663
- if (U > W[s.rps]) {
4664
- s.cu_amount = W[s.rps].toLocaleString("ru"), document.activeElement.blur();
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"), s.cu_amount = U;
4667
+ U = Number(U).toLocaleString("ru"), n.cu_amount = U;
4668
4668
  };
4669
4669
  ce(
4670
- () => s.rps,
4670
+ () => n.rps,
4671
4671
  (U) => {
4672
- +s.cu_amount.replace(/\s/g, "") > W[U] && (s.cu_amount = W[s.rps].toLocaleString("ru"));
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
- ], R = (U) => {
4682
- s.max_token_amount = U;
4683
- }, w = () => (x.email = "", x.company_name = "", x.telegram = "", Ce(s.company_name) ? vi(s.email) ? (document.querySelector("[name='email']").focus(), x.email = p.value.invalidEmail, !1) : Ce(s.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 () => {
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
- ...s,
4688
- max_token_amount: +s.max_token_amount.value,
4689
- cu_amount: +s.cu_amount.replace(/\s/g, ""),
4690
- is_custom_rps: s.rps === "Custom",
4691
- rps: s.rps === "Custom" ? 0 : s.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 ? (n(), u("div", {
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) : (n(), u("div", Zi, [
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 ? (n(), ue(a(Y), {
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 ? (n(), u("div", Ri, [
4734
+ d.step === 1 ? (s(), u("div", Ri, [
4735
4735
  T(a(No), {
4736
- value: s.rps,
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": s.cu_amount,
4745
+ "input-value": n.cu_amount,
4746
4746
  "onUpdate:inputValue": E
4747
4747
  }, {
4748
4748
  label: I(() => [
4749
4749
  e("div", Ei, [
4750
4750
  e("span", fi, i(p.value.cuAmount), 1),
4751
- e("span", Wi, "MAX " + i(G(W[s.rps])), 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": s.max_token_amount,
4761
- onSelectItem: R
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": s.premium_support }),
4786
- selected: s.premium_support,
4787
- onChangeSelected: z[1] || (z[1] = () => s.premium_support = !s.premium_support)
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": s.advanced_statistics }),
4812
- selected: s.advanced_statistics,
4813
- onChangeSelected: z[2] || (z[2] = () => s.advanced_statistics = !s.advanced_statistics)
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 ? (n(), u("div", Gi, [
4817
+ d.step === 2 ? (s(), u("div", Gi, [
4818
4818
  T(a(de), {
4819
- "input-value": "" + s.company_name,
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) => s.company_name = 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": "" + s.email,
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) => s.email = 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": "" + s.telegram,
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) => s.telegram = 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": s.message,
4883
+ "input-value": n.message,
4884
4884
  placeholder: p.value.textMessagePlaceholder,
4885
- "onUpdate:inputValue": z[6] || (z[6] = (N) => s.message = 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 ? (n(), u("div", Ai, [
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 ? (n(), ue(a(Y), {
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 ? (n(), ue(a(Xe), {
4925
+ d.isLoading ? (s(), ue(a(Xe), {
4926
4926
  key: 1,
4927
4927
  "color-type": "outline",
4928
4928
  class: "ml-2"