@billgangcom/theme-lib 1.120.0 → 1.120.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (39) hide show
  1. package/dist/{builder-COOwVmYf.js → builder-CE6yg5oK.js} +5 -5
  2. package/dist/{builder-D2Z888EH.cjs → builder-CWaG42kw.cjs} +2 -2
  3. package/dist/{builder-components-DIW3F4oN.js → builder-components-5Z24DJJP.js} +4 -4
  4. package/dist/{builder-components-CeV8vAD9.cjs → builder-components-Dyplqbia.cjs} +1 -1
  5. package/dist/builder.cjs.js +1 -1
  6. package/dist/builder.es.js +206 -206
  7. package/dist/{charge-GM7BICIx.js → charge-B1GrtVWc.js} +7 -7
  8. package/dist/{charge-D3lrI4Ud.cjs → charge-BEnNfxFr.cjs} +2 -2
  9. package/dist/{checkout-7Tq3dWUe.js → checkout-B21z1TGE.js} +5 -5
  10. package/dist/{checkout-CjlGQSvn.cjs → checkout-CF05O03i.cjs} +1 -1
  11. package/dist/exports.cjs.js +1 -1
  12. package/dist/exports.es.js +6 -6
  13. package/dist/{index-BDiRhZO4.cjs → index-1x0-wbdS.cjs} +1 -1
  14. package/dist/{index-BNbbZxAR.cjs → index-BZ7C0iBt.cjs} +1 -1
  15. package/dist/{index-Cnz2WUHM.js → index-Be2NRkjG.js} +5 -5
  16. package/dist/{index-CjkknAhD.cjs → index-Bl91R63p.cjs} +1 -1
  17. package/dist/{index-9pUVSOhu.cjs → index-BpWh-qOk.cjs} +1 -1
  18. package/dist/{index-DqP6nS6V.js → index-C9ZIjLVQ.js} +5 -5
  19. package/dist/{index-BSEVf9MF.js → index-Cs9xerh4.js} +5 -5
  20. package/dist/{index-Cr_7GBLp.js → index-DTAlnIyB.js} +1 -1
  21. package/dist/{index-C6t0KlJ9.cjs → index-DT_aTpZf.cjs} +1 -1
  22. package/dist/{index-CCCarAz0.js → index-Dez8BiQX.js} +5 -5
  23. package/dist/index.cjs.js +1 -1
  24. package/dist/index.es.js +6 -6
  25. package/dist/{order-Bww_-NyP.cjs → order-BEBOxyTb.cjs} +1 -1
  26. package/dist/{order-D6A71mPV.js → order-dg2Oyqn4.js} +5 -5
  27. package/dist/{subscription-B2CA6LXD.cjs → subscription-Cd-C2FDT.cjs} +1 -1
  28. package/dist/{subscription-D4heazS1.js → subscription-ts1zCYfh.js} +5 -5
  29. package/dist/{ticket-FbE64Ih2.js → ticket-KYg6_LAo.js} +5 -5
  30. package/dist/{ticket-9tbnrHX0.cjs → ticket-STaDp20p.cjs} +1 -1
  31. package/dist/{top-up-D45914YA.cjs → top-up-ZgLo1nZF.cjs} +1 -1
  32. package/dist/{top-up-BDG04hQY.js → top-up-dXcEKblL.js} +5 -5
  33. package/dist/{ui-components-B6WYf8_6.js → ui-components-CpDQ53a4.js} +4 -4
  34. package/dist/{ui-components-CUItRi8R.cjs → ui-components-s9Q6Wg3R.cjs} +1 -1
  35. package/dist/ui.cjs.js +1 -1
  36. package/dist/ui.es.js +1 -1
  37. package/dist/{validation-C4E-87ir.js → validation-DC8gCoJH.js} +5 -5
  38. package/dist/{validation-BAXOBuUN.cjs → validation-DLYUReRT.cjs} +1 -1
  39. package/package.json +1 -1
@@ -1,305 +1,305 @@
1
- import { jsx as t, Fragment as G, jsxs as R } from "react/jsx-runtime";
2
- import { N as W, K as _, j, c as V, m as N, a as q, M as Q, ai as X, aj as J, ak as K } from "./builder-COOwVmYf.js";
3
- import { f as $, l as Y, j as Z, k as ee, D as te } from "./ticket-FbE64Ih2.js";
4
- import o, { Suspense as oe } from "react";
5
- import { _ as ne, $ as re, a0 as ae } from "./charge-GM7BICIx.js";
6
- import { w as ce } from "./ui-components-B6WYf8_6.js";
7
- import { TextUnderlineIcon as ie, TextStrikethroughIcon as se, TextItalicIcon as le, AlignBottomIcon as de, AlignTopIcon as he, AlignRightIcon as ue, AlignLeftIcon as Ie, TextAlignCenterIcon as me, TextAlignRightIcon as ge, TextAlignLeftIcon as pe, PushPinIcon as fe, CardsIcon as Se, DeviceMobileCameraIcon as Ce, DeviceTabletCameraIcon as ye, DesktopIcon as Ae, UserCircleGearIcon as we, TicketIcon as ke, ChatCenteredIcon as Te, SealQuestionIcon as Pe, SquaresFourIcon as De, TextboxIcon as Le, ArrowSquareInIcon as Re, CornersOutIcon as xe, TextHIcon as be, TextBIcon as Be, TextAaIcon as Ee, PaintBrushBroadIcon as Ue, GearIcon as ze, PaletteIcon as ve, TreeStructureIcon as He, WarningDiamondIcon as Fe, WarningIcon as Oe, QuestionIcon as Me, CalendarCheckIcon as Ge, MedalIcon as We, CurrencyCircleDollarIcon as _e, HouseSimpleIcon as je, HouseIcon as Ve, GlobeIcon as Ne, SmileyIcon as qe, CalendarIcon as Qe, UserIcon as Xe, HeartIcon as Je, LockIcon as Ke, FileCloudIcon as $e, ShieldCheckIcon as Ye, ShieldIcon as Ze, ShareIcon as et, DotsSixVerticalIcon as tt, ChatsTeardropIcon as ot, PaperPlaneRightIcon as nt, WalletIcon as rt, SignOutIcon as at, TelegramLogoIcon as ct, DiscordLogoIcon as it, DownloadSimpleIcon as st, BookOpenIcon as lt, FileTextIcon as dt, FileIcon as ht, AlignCenterHorizontalIcon as ut, LightningIcon as It, FireIcon as mt, StarIcon as gt, XCircleIcon as pt, CheckCircleIcon as ft, ArrowsVerticalIcon as St, ArrowsHorizontalIcon as Ct, CloudArrowUpIcon as yt, SelectionIcon as At, ArrowLineDownIcon as wt, MagnifyingGlassMinusIcon as kt, MagnifyingGlassIcon as Tt, CaretLeftIcon as Pt, CaretUpIcon as Dt, CaretDownIcon as Lt, CaretRightIcon as Rt, ArrowUUpRightIcon as xt, ArrowUUpLeftIcon as bt, ArrowUpRightIcon as Bt, ArrowLineUpRightIcon as Et, ArrowRightIcon as Ut, ArrowLeftIcon as zt, ConfettiIcon as vt, ArrowDownIcon as Ht, ArrowUpIcon as Ft, CrownIcon as Ot, EyeIcon as Mt, BagIcon as Gt, HandbagIcon as Wt, ListIcon as _t, ImageIcon as jt, SlidersIcon as Vt, TrashIcon as Nt, CopyIcon as qt, InfoIcon as Qt, ClockIcon as Xt, CheckIcon as Jt, MinusIcon as Kt, PlusIcon as $t, XIcon as Yt } from "@phosphor-icons/react";
8
- const Zt = ({
1
+ import { jsx as t, Fragment as _, jsxs as R } from "react/jsx-runtime";
2
+ import { N as j, K as V, j as N, c as q, m as Q, a as X, M as J, ai as K, aj as $, ak as Y } from "./builder-CE6yg5oK.js";
3
+ import { f as Z, l as ee, j as te, k as oe, D as ne } from "./ticket-KYg6_LAo.js";
4
+ import o, { Suspense as re } from "react";
5
+ import { _ as ce, $ as ae, a0 as ie } from "./charge-B1GrtVWc.js";
6
+ import { w as se } from "./ui-components-CpDQ53a4.js";
7
+ import { TextUnderlineIcon as le, TextStrikethroughIcon as de, TextItalicIcon as ue, AlignBottomIcon as he, AlignTopIcon as Ie, AlignRightIcon as me, AlignLeftIcon as ge, TextAlignCenterIcon as pe, TextAlignRightIcon as fe, TextAlignLeftIcon as Se, PushPinIcon as Ce, CardsIcon as Ae, DeviceMobileCameraIcon as ye, DeviceTabletCameraIcon as we, DesktopIcon as ke, UserCircleGearIcon as Te, TicketIcon as Pe, ChatCenteredIcon as De, SealQuestionIcon as Le, SquaresFourIcon as Re, TextboxIcon as xe, ArrowSquareInIcon as be, CornersOutIcon as Be, TextHIcon as Ee, TextBIcon as Ue, TextAaIcon as ze, PaintBrushBroadIcon as ve, GearIcon as He, PaletteIcon as Fe, TreeStructureIcon as Oe, WarningDiamondIcon as Me, WarningIcon as Ge, QuestionIcon as We, CalendarCheckIcon as _e, MedalIcon as je, CurrencyCircleDollarIcon as Ve, HouseSimpleIcon as Ne, HouseIcon as qe, GlobeIcon as Qe, SmileyIcon as Xe, CalendarIcon as Je, UserIcon as Ke, HeartIcon as $e, LockIcon as Ye, FileCloudIcon as Ze, ShieldCheckIcon as et, ShieldIcon as tt, ShareIcon as ot, DotsSixVerticalIcon as nt, ChatsTeardropIcon as rt, PaperPlaneRightIcon as ct, WalletIcon as at, SignOutIcon as it, TelegramLogoIcon as st, DiscordLogoIcon as lt, DownloadSimpleIcon as dt, BookOpenIcon as ut, FileTextIcon as ht, FileIcon as It, AlignCenterHorizontalIcon as mt, LightningIcon as gt, FireIcon as pt, StarIcon as ft, XCircleIcon as St, CheckCircleIcon as Ct, ArrowsVerticalIcon as At, ArrowsHorizontalIcon as yt, CloudArrowUpIcon as wt, SelectionIcon as kt, ArrowLineDownIcon as Tt, MagnifyingGlassMinusIcon as Pt, MagnifyingGlassIcon as Dt, CaretLeftIcon as Lt, CaretUpIcon as Rt, CaretDownIcon as xt, CaretRightIcon as bt, ArrowUUpRightIcon as Bt, ArrowUUpLeftIcon as Et, ArrowUpRightIcon as Ut, ArrowLineUpRightIcon as zt, ArrowRightIcon as vt, ArrowLeftIcon as Ht, ConfettiIcon as Ft, ArrowDownIcon as Ot, ArrowUpIcon as Mt, CrownIcon as Gt, EyeIcon as Wt, BagIcon as _t, HandbagIcon as jt, ListIcon as Vt, ImageIcon as Nt, SlidersIcon as qt, TrashIcon as Qt, CopyIcon as Xt, InfoIcon as Jt, ClockIcon as Kt, CheckIcon as $t, MinusIcon as Yt, PlusIcon as Zt, XIcon as eo } from "@phosphor-icons/react";
8
+ const to = ({
9
9
  children: e,
10
10
  shopDomain: s,
11
11
  shopId: l,
12
12
  shopPassword: d,
13
- shopLogo: u
13
+ shopLogo: h
14
14
  }) => {
15
15
  const {
16
16
  setShopDomain: I,
17
17
  setShopId: C,
18
- setShopPassword: y,
18
+ setShopPassword: A,
19
19
  setShopTerms: m,
20
- setShopPrivacyPolicy: c,
20
+ setShopPrivacyPolicy: a,
21
21
  setShopRefundPolicy: g,
22
- setShopLogo: A
23
- } = W();
22
+ setShopLogo: y
23
+ } = j();
24
24
  return o.useLayoutEffect(() => {
25
25
  const r = async () => {
26
- const { data: i } = await ne();
26
+ const { data: i } = await ce();
27
27
  m(i);
28
28
  }, p = async () => {
29
- const { data: i } = await re();
30
- c(i);
31
- }, w = async () => {
32
29
  const { data: i } = await ae();
30
+ a(i);
31
+ }, w = async () => {
32
+ const { data: i } = await ie();
33
33
  g(i);
34
34
  };
35
- I(s), C(l), d && y(d), u && A(u), r(), p(), w();
36
- }, [s, l, d]), /* @__PURE__ */ t(G, { children: e });
37
- }, eo = "_wrapper_1xuz3_18", x = {
38
- wrapper: eo
35
+ I(s), C(l), d && A(d), h && y(h), r(), p(), w();
36
+ }, [s, l, d]), /* @__PURE__ */ t(_, { children: e });
37
+ }, oo = "_wrapper_1xuz3_18", x = {
38
+ wrapper: oo
39
39
  };
40
- function to() {
41
- ce({
40
+ function no() {
41
+ se({
42
42
  // Основные UI иконки
43
- X: Yt,
44
- Plus: $t,
45
- Minus: Kt,
46
- Check: Jt,
47
- Clock: Xt,
48
- Info: Qt,
49
- Copy: qt,
50
- Trash: Nt,
51
- Sliders: Vt,
52
- Image: jt,
53
- List: _t,
54
- Handbag: Wt,
55
- Bag: Gt,
56
- Eye: Mt,
57
- Crown: Ot,
58
- ArrowUp: Ft,
59
- ArrowDown: Ht,
60
- Confetti: vt,
61
- ArrowLeft: zt,
62
- ArrowRight: Ut,
63
- ArrowLineUpRight: Et,
64
- ArrowUpRight: Bt,
65
- ArrowUUpLeft: bt,
66
- ArrowUUpRight: xt,
67
- CaretRight: Rt,
68
- CaretDown: Lt,
69
- CaretUp: Dt,
70
- CaretLeft: Pt,
71
- MagnifyingGlass: Tt,
72
- MagnifyingGlassMinus: kt,
73
- ArrowLineDown: wt,
74
- Selection: At,
75
- CloudArrowUpIcon: yt,
76
- ArrowsHorizontal: Ct,
77
- ArrowsVertical: St,
43
+ X: eo,
44
+ Plus: Zt,
45
+ Minus: Yt,
46
+ Check: $t,
47
+ Clock: Kt,
48
+ Info: Jt,
49
+ Copy: Xt,
50
+ Trash: Qt,
51
+ Sliders: qt,
52
+ Image: Nt,
53
+ List: Vt,
54
+ Handbag: jt,
55
+ Bag: _t,
56
+ Eye: Wt,
57
+ Crown: Gt,
58
+ ArrowUp: Mt,
59
+ ArrowDown: Ot,
60
+ Confetti: Ft,
61
+ ArrowLeft: Ht,
62
+ ArrowRight: vt,
63
+ ArrowLineUpRight: zt,
64
+ ArrowUpRight: Ut,
65
+ ArrowUUpLeft: Et,
66
+ ArrowUUpRight: Bt,
67
+ CaretRight: bt,
68
+ CaretDown: xt,
69
+ CaretUp: Rt,
70
+ CaretLeft: Lt,
71
+ MagnifyingGlass: Dt,
72
+ MagnifyingGlassMinus: Pt,
73
+ ArrowLineDown: Tt,
74
+ Selection: kt,
75
+ CloudArrowUpIcon: wt,
76
+ ArrowsHorizontal: yt,
77
+ ArrowsVertical: At,
78
78
  // Статусы и действия
79
- CheckCircle: ft,
80
- XCircle: pt,
81
- Star: gt,
82
- Fire: mt,
83
- Lightning: It,
84
- AlignCenterHorizontal: ut,
79
+ CheckCircle: Ct,
80
+ XCircle: St,
81
+ Star: ft,
82
+ Fire: pt,
83
+ Lightning: gt,
84
+ AlignCenterHorizontal: mt,
85
85
  // Файлы и документы
86
- File: ht,
87
- FileText: dt,
88
- BookOpen: lt,
89
- DownloadSimple: st,
86
+ File: It,
87
+ FileText: ht,
88
+ BookOpen: ut,
89
+ DownloadSimple: dt,
90
90
  // Социальные сети
91
- DiscordLogo: it,
92
- TelegramLogo: ct,
91
+ DiscordLogo: lt,
92
+ TelegramLogo: st,
93
93
  // Навигация и интерфейс
94
- SignOut: at,
95
- Wallet: rt,
96
- PaperPlaneRight: nt,
97
- ChatsTeardrop: ot,
98
- DotsSixVertical: tt,
99
- Share: et,
94
+ SignOut: it,
95
+ Wallet: at,
96
+ PaperPlaneRight: ct,
97
+ ChatsTeardrop: rt,
98
+ DotsSixVertical: nt,
99
+ Share: ot,
100
100
  // Безопасность и файлы (для Checkout/Secured)
101
- Shield: Ze,
102
- ShieldCheck: Ye,
103
- FileCloud: $e,
104
- Lock: Ke,
101
+ Shield: tt,
102
+ ShieldCheck: et,
103
+ FileCloud: Ze,
104
+ Lock: Ye,
105
105
  // Специальные иконки
106
- Heart: Je,
107
- User: Xe,
108
- Calendar: Qe,
109
- Smiley: qe,
110
- Globe: Ne,
106
+ Heart: $e,
107
+ User: Ke,
108
+ Calendar: Je,
109
+ Smiley: Xe,
110
+ Globe: Qe,
111
111
  // Иконки для навигации в сайдбаре
112
- House: Ve,
113
- HouseSimple: je,
114
- CurrencyCircleDollar: _e,
115
- Medal: We,
116
- CalendarCheck: Ge,
117
- Question: Me,
112
+ House: qe,
113
+ HouseSimple: Ne,
114
+ CurrencyCircleDollar: Ve,
115
+ Medal: je,
116
+ CalendarCheck: _e,
117
+ Question: We,
118
118
  // Иконки для статусов
119
- Warning: Oe,
120
- WarningDiamond: Fe,
119
+ Warning: Ge,
120
+ WarningDiamond: Me,
121
121
  // Иконки для билдера (Builder icons)
122
- TreeStructure: He,
123
- Palette: ve,
124
- Gear: ze,
125
- PaintBrushBroad: Ue,
126
- TextAa: Ee,
127
- TextB: Be,
128
- TextH: be,
129
- CornersOut: xe,
130
- ArrowSquareIn: Re,
131
- Textbox: Le,
132
- SquaresFour: De,
133
- SealQuestion: Pe,
134
- ChatCentered: Te,
135
- Ticket: ke,
136
- UserCircleGear: we,
137
- Desktop: Ae,
138
- DeviceTabletCamera: ye,
139
- DeviceMobileCamera: Ce,
140
- Cards: Se,
141
- PushPin: fe,
122
+ TreeStructure: Oe,
123
+ Palette: Fe,
124
+ Gear: He,
125
+ PaintBrushBroad: ve,
126
+ TextAa: ze,
127
+ TextB: Ue,
128
+ TextH: Ee,
129
+ CornersOut: Be,
130
+ ArrowSquareIn: be,
131
+ Textbox: xe,
132
+ SquaresFour: Re,
133
+ SealQuestion: Le,
134
+ ChatCentered: De,
135
+ Ticket: Pe,
136
+ UserCircleGear: Te,
137
+ Desktop: ke,
138
+ DeviceTabletCamera: we,
139
+ DeviceMobileCamera: ye,
140
+ Cards: Ae,
141
+ PushPin: Ce,
142
142
  // Иконки для выравнивания текста и отступов
143
- TextAlignLeft: pe,
144
- TextAlignRight: ge,
145
- TextAlignCenter: me,
146
- AlignLeft: Ie,
147
- AlignRight: ue,
148
- AlignTop: he,
149
- AlignBottom: de,
143
+ TextAlignLeft: Se,
144
+ TextAlignRight: fe,
145
+ TextAlignCenter: pe,
146
+ AlignLeft: ge,
147
+ AlignRight: me,
148
+ AlignTop: Ie,
149
+ AlignBottom: he,
150
150
  // Иконки для форматирования текста
151
- TextItalic: le,
152
- TextStrikethrough: se,
153
- TextUnderline: ie
151
+ TextItalic: ue,
152
+ TextStrikethrough: de,
153
+ TextUnderline: le
154
154
  });
155
155
  }
156
- const oo = o.lazy(
157
- () => import("./builder-COOwVmYf.js").then((e) => e.an).then((e) => ({ default: e.BuilderPage }))
158
- ), no = o.lazy(
159
- () => import("./index-Cnz2WUHM.js").then((e) => ({ default: e.ErrorPage }))
160
- ), ro = o.lazy(
161
- () => import("./index-Cr_7GBLp.js").then((e) => ({ default: e.ActivePage }))
162
- ), ao = o.lazy(
163
- () => import("./validation-C4E-87ir.js").then((e) => ({ default: e.ValidationPage }))
156
+ const ro = o.lazy(
157
+ () => import("./builder-CE6yg5oK.js").then((e) => e.an).then((e) => ({ default: e.BuilderPage }))
164
158
  ), co = o.lazy(
165
- () => import("./index-DqP6nS6V.js").then((e) => ({ default: e.WrapperPage }))
159
+ () => import("./index-Be2NRkjG.js").then((e) => ({ default: e.ErrorPage }))
160
+ ), ao = o.lazy(
161
+ () => import("./index-DTAlnIyB.js").then((e) => ({ default: e.ActivePage }))
166
162
  ), io = o.lazy(
167
- () => import("./index-CCCarAz0.js").then((e) => ({ default: e.RouterErrorPage }))
168
- ), a = o.lazy(
169
- () => import("./index-BSEVf9MF.js").then((e) => ({ default: e.DynamicErrorPage }))
163
+ () => import("./validation-DC8gCoJH.js").then((e) => ({ default: e.ValidationPage }))
170
164
  ), so = o.lazy(
171
- () => import("./checkout-7Tq3dWUe.js").then((e) => ({ default: e.Checkout }))
165
+ () => import("./index-C9ZIjLVQ.js").then((e) => ({ default: e.WrapperPage }))
172
166
  ), lo = o.lazy(
173
- () => import("./charge-GM7BICIx.js").then((e) => e.a5).then((e) => ({ default: e.ChargePage }))
174
- ), ho = o.lazy(
175
- () => import("./ticket-FbE64Ih2.js").then((e) => e.m).then((e) => ({ default: e.TicketItem }))
167
+ () => import("./index-Dez8BiQX.js").then((e) => ({ default: e.RouterErrorPage }))
168
+ ), c = o.lazy(
169
+ () => import("./index-Cs9xerh4.js").then((e) => ({ default: e.DynamicErrorPage }))
176
170
  ), uo = o.lazy(
177
- () => import("./subscription-D4heazS1.js").then((e) => e.i).then((e) => ({ default: e.Subscription }))
171
+ () => import("./checkout-B21z1TGE.js").then((e) => ({ default: e.Checkout }))
172
+ ), ho = o.lazy(
173
+ () => import("./charge-B1GrtVWc.js").then((e) => e.a5).then((e) => ({ default: e.ChargePage }))
178
174
  ), Io = o.lazy(
179
- () => import("./top-up-BDG04hQY.js").then((e) => ({ default: e.TopUpBalance }))
175
+ () => import("./ticket-KYg6_LAo.js").then((e) => e.m).then((e) => ({ default: e.TicketItem }))
180
176
  ), mo = o.lazy(
181
- () => import("./order-D6A71mPV.js").then((e) => e.i).then((e) => ({ default: e.OrderPage }))
177
+ () => import("./subscription-ts1zCYfh.js").then((e) => e.i).then((e) => ({ default: e.Subscription }))
182
178
  ), go = o.lazy(
183
- () => import("./charge-GM7BICIx.js").then((e) => e.a4).then((e) => ({ default: e.CustomerDashboard }))
179
+ () => import("./top-up-dXcEKblL.js").then((e) => ({ default: e.TopUpBalance }))
180
+ ), po = o.lazy(
181
+ () => import("./order-dg2Oyqn4.js").then((e) => e.i).then((e) => ({ default: e.OrderPage }))
182
+ ), fo = o.lazy(
183
+ () => import("./charge-B1GrtVWc.js").then((e) => e.a4).then((e) => ({ default: e.CustomerDashboard }))
184
184
  ), b = o.lazy(
185
- () => import("./charge-GM7BICIx.js").then((e) => e.a3).then((e) => ({ default: e.ReCaptchaProvider }))
186
- ), po = () => null, n = ({ children: e }) => /* @__PURE__ */ t(oe, { fallback: /* @__PURE__ */ t(po, {}), children: e }), fo = o.lazy(
187
- () => import("./builder-components-DIW3F4oN.js").then((e) => e.i).then((e) => ({
185
+ () => import("./charge-B1GrtVWc.js").then((e) => e.a3).then((e) => ({ default: e.ReCaptchaProvider }))
186
+ ), So = () => null, n = ({ children: e }) => /* @__PURE__ */ t(re, { fallback: /* @__PURE__ */ t(So, {}), children: e }), Co = o.lazy(
187
+ () => import("./builder-components-5Z24DJJP.js").then((e) => e.i).then((e) => ({
188
188
  default: e.RenderAnnouncement
189
189
  }))
190
190
  ), B = o.lazy(
191
- () => import("./builder-components-DIW3F4oN.js").then((e) => e.i).then((e) => ({
191
+ () => import("./builder-components-5Z24DJJP.js").then((e) => e.i).then((e) => ({
192
192
  default: e.RenderFooter
193
193
  }))
194
194
  ), E = o.lazy(
195
- () => import("./builder-components-DIW3F4oN.js").then((e) => e.i).then((e) => ({
195
+ () => import("./builder-components-5Z24DJJP.js").then((e) => e.i).then((e) => ({
196
196
  default: e.RenderHeader
197
197
  }))
198
- ), Po = (e) => {
198
+ ), Lo = (e) => {
199
+ var D;
199
200
  const {
200
201
  blocks: s,
201
202
  settings: l,
202
203
  header: d,
203
- footer: u,
204
+ footer: h,
204
205
  announcement: I,
205
206
  routes: C = [],
206
- shopLogo: y,
207
+ shopLogo: A,
207
208
  apiURLs: m,
208
- isAntistock: c = !1
209
- } = e, [g, A] = o.useState(null), { general: r, setIsAntistock: p } = _(), { setApiUrls: w } = j(), {
210
- setBlocks: i,
211
- setSourceBlocks: U,
212
- setHeader: z,
213
- setFooter: v,
214
- setAnnouncement: H,
215
- setSettings: F
216
- } = V(), { themeSettings: f } = N(), { settings: k, setSettings: O } = q(), S = Q ? localStorage.getItem("fakeDomain") || "" : window.location.hostname, M = localStorage.getItem("shopPassword"), P = localStorage.getItem("shopId") || "";
209
+ isAntistock: a = !1
210
+ } = e, [g, y] = o.useState(null), { general: r, setIsAntistock: p } = V(), { setApiUrls: w } = N(), i = ((D = r == null ? void 0 : r.info) == null ? void 0 : D.customerAccountSettings) ?? "OPTIONAL", U = i === "DISABLED", {
211
+ setBlocks: z,
212
+ setSourceBlocks: v,
213
+ setHeader: H,
214
+ setFooter: F,
215
+ setAnnouncement: O,
216
+ setSettings: M
217
+ } = q(), { themeSettings: f } = Q(), { settings: k, setSettings: G } = X(), S = J ? localStorage.getItem("fakeDomain") || "" : window.location.hostname, W = localStorage.getItem("shopPassword"), P = localStorage.getItem("shopId") || "";
217
218
  return o.useEffect(() => {
218
- p(c);
219
- }, [c, p]), o.useEffect(() => {
219
+ p(a);
220
+ }, [a, p]), o.useEffect(() => {
220
221
  !P && (r != null && r.info.id) && localStorage.setItem("shopId", r == null ? void 0 : r.info.id);
221
222
  }, [r]), o.useEffect(() => {
222
- !S && !c && localStorage.setItem("fakeDomain", "drafts-ca18cf24-6659-4015-b1ab-9ebe9fa64e74.bgng.io"), !S && c && localStorage.setItem("fakeDomain", "eva8.astck.io");
223
+ !S && !a && localStorage.setItem("fakeDomain", "drafts-ca18cf24-6659-4015-b1ab-9ebe9fa64e74.bgng.io"), !S && a && localStorage.setItem("fakeDomain", "eva8.astck.io");
223
224
  }, [S]), o.useEffect(() => {
224
225
  if (f && k) {
225
- const h = $(f, k);
226
- Y(), Z(f), ee(h);
226
+ const u = Z(f, k);
227
+ ee(), te(f), oe(u);
227
228
  }
228
229
  }, [f, JSON.stringify(k), window.location.hostname]), o.useEffect(() => {
229
230
  const T = new l().blockSettings;
230
- O(T);
231
+ G(T);
231
232
  }, []), o.useEffect(() => {
232
- to();
233
+ no();
233
234
  }, []), o.useLayoutEffect(() => {
234
- var D;
235
- const h = {};
235
+ const u = {};
236
236
  Object.keys(s).map((L) => {
237
- h[L] = s[L];
238
- }), U(h), i(h), z(d), v(u), H(I), F(l), m && w(m);
239
- const T = X([
237
+ u[L] = s[L];
238
+ }), v(u), z(u), H(d), F(h), O(I), M(l), m && w(m);
239
+ const T = K([
240
240
  {
241
241
  element: /* @__PURE__ */ t(
242
- Zt,
242
+ to,
243
243
  {
244
244
  shopDomain: S,
245
245
  shopId: P,
246
- shopPassword: M || void 0,
247
- shopLogo: y,
248
- children: /* @__PURE__ */ t(b, { children: /* @__PURE__ */ t(co, { children: /* @__PURE__ */ t(J, {}) }) })
246
+ shopPassword: W || void 0,
247
+ shopLogo: A,
248
+ children: /* @__PURE__ */ t(b, { children: /* @__PURE__ */ t(so, { children: /* @__PURE__ */ t($, {}) }) })
249
249
  }
250
250
  ),
251
- errorElement: /* @__PURE__ */ t(n, { children: /* @__PURE__ */ t(io, {}) }),
251
+ errorElement: /* @__PURE__ */ t(n, { children: /* @__PURE__ */ t(lo, {}) }),
252
252
  children: [
253
253
  {
254
254
  path: "/admin/builder/*",
255
- element: /* @__PURE__ */ t(n, { children: /* @__PURE__ */ t(ro, { children: /* @__PURE__ */ t(
256
- oo,
255
+ element: /* @__PURE__ */ t(n, { children: /* @__PURE__ */ t(ao, { children: /* @__PURE__ */ t(
256
+ ro,
257
257
  {
258
258
  blocks: s,
259
259
  settings: l,
260
260
  header: d,
261
- footer: u,
261
+ footer: h,
262
262
  announcement: I
263
263
  }
264
264
  ) }) }),
265
- errorElement: /* @__PURE__ */ t(n, { children: /* @__PURE__ */ t(no, {}) })
265
+ errorElement: /* @__PURE__ */ t(n, { children: /* @__PURE__ */ t(co, {}) })
266
266
  },
267
267
  ...C,
268
268
  {
269
269
  path: "/checkout",
270
- element: /* @__PURE__ */ t(n, { children: /* @__PURE__ */ t(so, {}) }),
271
- errorElement: /* @__PURE__ */ t(n, { children: /* @__PURE__ */ t(a, {}) }),
270
+ element: /* @__PURE__ */ t(n, { children: /* @__PURE__ */ t(uo, {}) }),
271
+ errorElement: /* @__PURE__ */ t(n, { children: /* @__PURE__ */ t(c, {}) }),
272
272
  loader: () => (document.title = "Checkout", !0)
273
273
  },
274
274
  {
275
275
  path: "/top-up",
276
- element: /* @__PURE__ */ t(n, { children: /* @__PURE__ */ t(Io, {}) }),
277
- errorElement: /* @__PURE__ */ t(n, { children: /* @__PURE__ */ t(a, {}) }),
276
+ element: /* @__PURE__ */ t(n, { children: /* @__PURE__ */ t(go, {}) }),
277
+ errorElement: /* @__PURE__ */ t(n, { children: /* @__PURE__ */ t(c, {}) }),
278
278
  loader: () => (document.title = "Top Up Balance", !0)
279
279
  },
280
280
  {
281
281
  path: "/charges/:id",
282
- element: /* @__PURE__ */ t(n, { children: /* @__PURE__ */ t(lo, {}) }),
283
- errorElement: /* @__PURE__ */ t(n, { children: /* @__PURE__ */ t(a, {}) }),
282
+ element: /* @__PURE__ */ t(n, { children: /* @__PURE__ */ t(ho, {}) }),
283
+ errorElement: /* @__PURE__ */ t(n, { children: /* @__PURE__ */ t(c, {}) }),
284
284
  loader: () => (document.title = "Charges", !0)
285
285
  },
286
286
  {
287
287
  path: "/orders/:id/:accessToken?",
288
- element: /* @__PURE__ */ t(n, { children: /* @__PURE__ */ t(mo, {}) }),
289
- errorElement: /* @__PURE__ */ t(n, { children: /* @__PURE__ */ t(a, {}) }),
288
+ element: /* @__PURE__ */ t(n, { children: /* @__PURE__ */ t(po, {}) }),
289
+ errorElement: /* @__PURE__ */ t(n, { children: /* @__PURE__ */ t(c, {}) }),
290
290
  loader: () => (document.title = "Orders", !0)
291
291
  },
292
292
  {
293
293
  path: "/subscriptions/:id/:accessToken?",
294
- element: /* @__PURE__ */ t(n, { children: /* @__PURE__ */ t(uo, {}) }),
295
- errorElement: /* @__PURE__ */ t(n, { children: /* @__PURE__ */ t(a, {}) }),
294
+ element: /* @__PURE__ */ t(n, { children: /* @__PURE__ */ t(mo, {}) }),
295
+ errorElement: /* @__PURE__ */ t(n, { children: /* @__PURE__ */ t(c, {}) }),
296
296
  loader: () => (document.title = "Subscriptions", !0)
297
297
  },
298
- ...(((D = r == null ? void 0 : r.info) == null ? void 0 : D.customerAccountSettings) ?? "OPTIONAL") === "DISABLED" ? [] : [
298
+ ...U ? [] : [
299
299
  {
300
- path: c ? "/account" : "/customer-dash",
300
+ path: a ? "/account" : "/customer-dash",
301
301
  element: /* @__PURE__ */ t(n, { children: /* @__PURE__ */ R("div", { className: x.wrapper, children: [
302
- /* @__PURE__ */ t(fo, {}),
302
+ /* @__PURE__ */ t(Co, {}),
303
303
  /* @__PURE__ */ t(E, {}),
304
304
  /* @__PURE__ */ t(
305
305
  "div",
@@ -307,19 +307,19 @@ const oo = o.lazy(
307
307
  style: {
308
308
  flex: "1 1 auto"
309
309
  },
310
- children: /* @__PURE__ */ t(go, {})
310
+ children: /* @__PURE__ */ t(fo, {})
311
311
  }
312
312
  ),
313
313
  /* @__PURE__ */ t(B, {})
314
314
  ] }) }),
315
- errorElement: /* @__PURE__ */ t(n, { children: /* @__PURE__ */ t(a, {}) }),
316
- loader: () => (document.title = c ? "Account" : "Customer Dashboard", !0)
315
+ errorElement: /* @__PURE__ */ t(n, { children: /* @__PURE__ */ t(c, {}) }),
316
+ loader: () => (document.title = a ? "Account" : "Customer Dashboard", !0)
317
317
  }
318
318
  ],
319
319
  {
320
320
  path: "/validation",
321
- element: /* @__PURE__ */ t(n, { children: /* @__PURE__ */ t(ao, {}) }),
322
- errorElement: /* @__PURE__ */ t(n, { children: /* @__PURE__ */ t(a, {}) }),
321
+ element: /* @__PURE__ */ t(n, { children: /* @__PURE__ */ t(io, {}) }),
322
+ errorElement: /* @__PURE__ */ t(n, { children: /* @__PURE__ */ t(c, {}) }),
323
323
  loader: () => (document.title = "Validation", !0)
324
324
  },
325
325
  {
@@ -334,25 +334,25 @@ const oo = o.lazy(
334
334
  width: "100%",
335
335
  height: "100%"
336
336
  },
337
- children: /* @__PURE__ */ t(b, { children: /* @__PURE__ */ t(ho, {}) })
337
+ children: /* @__PURE__ */ t(b, { children: /* @__PURE__ */ t(Io, {}) })
338
338
  }
339
339
  ),
340
340
  /* @__PURE__ */ t(B, {})
341
341
  ] }) }),
342
- errorElement: /* @__PURE__ */ t(n, { children: /* @__PURE__ */ t(a, {}) }),
342
+ errorElement: /* @__PURE__ */ t(n, { children: /* @__PURE__ */ t(c, {}) }),
343
343
  loader: () => (document.title = "Ticket", !0)
344
344
  },
345
345
  {
346
346
  path: "*",
347
- element: /* @__PURE__ */ t(te, {}),
348
- errorElement: /* @__PURE__ */ t(n, { children: /* @__PURE__ */ t(a, {}) })
347
+ element: /* @__PURE__ */ t(ne, {}),
348
+ errorElement: /* @__PURE__ */ t(n, { children: /* @__PURE__ */ t(c, {}) })
349
349
  }
350
350
  ]
351
351
  }
352
352
  ]);
353
- A(T);
354
- }, [r]), /* @__PURE__ */ t(o.Suspense, { fallback: null, children: g && /* @__PURE__ */ t(K, { router: g }) });
353
+ y(T);
354
+ }, [r, i]), /* @__PURE__ */ t(o.Suspense, { fallback: null, children: g && /* @__PURE__ */ t(Y, { router: g }) });
355
355
  };
356
356
  export {
357
- Po as App
357
+ Lo as App
358
358
  };
@@ -1,13 +1,13 @@
1
- import { j as Ve, M as Ze, r as $e, N as Gt, O as Xt, Q as pn, U as Cs, V as pr, e as Rt, v as De, K as Pe, W as Es, p as cn, f as ee, X as wa, Y as _r, Z as nt, _ as We, J as Ke, $ as Tt, b as b2, u as _2, a as ys, a0 as C2, a1 as E2, a2 as Su, a3 as zi, a4 as y2, a5 as xo, a6 as Ll, a7 as Ts, a8 as Da, a9 as T2 } from "./builder-COOwVmYf.js";
1
+ import { j as Ve, M as Ze, r as $e, N as Gt, O as Xt, Q as pn, U as Cs, V as pr, e as Rt, v as De, K as Pe, W as Es, p as cn, f as ee, X as wa, Y as _r, Z as nt, _ as We, J as Ke, $ as Tt, b as b2, u as _2, a as ys, a0 as C2, a1 as E2, a2 as Su, a3 as zi, a4 as y2, a5 as xo, a6 as Ll, a7 as Ts, a8 as Da, a9 as T2 } from "./builder-CE6yg5oK.js";
2
2
  import { jsx as c, jsxs as b, Fragment as Ue } from "react/jsx-runtime";
3
3
  import * as he from "react";
4
4
  import z, { useEffect as xn, forwardRef as Pl, createElement as ct, Component as x2, isValidElement as k2, useState as Ce, useRef as Xn, useMemo as jn } from "react";
5
- import { I as B, e as At, f as _n, g as te, h as Rl, M as Mt, W as A2, i as Ml, j as Ol, k as Fl, l as Fu, m as ha, R as I2 } from "./ui-components-B6WYf8_6.js";
6
- import { F as Bl } from "./builder-components-DIW3F4oN.js";
5
+ import { I as B, e as At, f as _n, g as te, h as Rl, M as Mt, W as A2, i as Ml, j as Ol, k as Fl, l as Fu, m as ha, R as I2 } from "./ui-components-CpDQ53a4.js";
6
+ import { F as Bl } from "./builder-components-5Z24DJJP.js";
7
7
  import "react-dom";
8
- import { T as Hl } from "./ticket-FbE64Ih2.js";
9
- import { O as Ul } from "./order-D6A71mPV.js";
10
- import { S as S2 } from "./subscription-D4heazS1.js";
8
+ import { T as Hl } from "./ticket-KYg6_LAo.js";
9
+ import { O as Ul } from "./order-dg2Oyqn4.js";
10
+ import { S as S2 } from "./subscription-ts1zCYfh.js";
11
11
  const N2 = () => typeof document < "u" ? document.documentElement.hasAttribute("translated") || document.documentElement.querySelector(".translated-ltr, .translated-rtl") !== null || // Safari переводчик добавляет мета-тег с name="_translator"
12
12
  document.head.querySelector('meta[name="_translator"]') !== null : !1, v2 = ({
13
13
  children: e,
@@ -11124,7 +11124,7 @@ const lb = {
11124
11124
  h(T), l !== T && y(T);
11125
11125
  },
11126
11126
  selected: k.name === l,
11127
- total: n.totalWithDiscount ?? 0,
11127
+ total: n.totalWithDiscount ?? n.total,
11128
11128
  onSignInClick: r,
11129
11129
  reversed: !0,
11130
11130
  isAntistock: a