@konnectio/core 4.3.4 → 4.3.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{ActionField-aNzOb2ZE.js → ActionField-BMKZiDiJ.js} +3 -3
- package/dist/ActionField-BMKZiDiJ.js.br +0 -0
- package/dist/ActionField-BMKZiDiJ.js.gz +0 -0
- package/dist/{AvailabilitySkeleton-BEQboDHw.js → AvailabilitySkeleton-HWz2N6k7.js} +6 -6
- package/dist/AvailabilitySkeleton-HWz2N6k7.js.br +0 -0
- package/dist/AvailabilitySkeleton-HWz2N6k7.js.gz +0 -0
- package/dist/{AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-D0Nr2tTn.js → AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-4nck4H1_.js} +3 -3
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-4nck4H1_.js.br +0 -0
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-4nck4H1_.js.gz +0 -0
- package/dist/{CheckoutWindow-BmHYd2-t.js → CheckoutWindow-CygAQEhN.js} +5 -5
- package/dist/CheckoutWindow-CygAQEhN.js.br +0 -0
- package/dist/CheckoutWindow-CygAQEhN.js.gz +0 -0
- package/dist/{ErrorMessage-CR6nsvpG.js → ErrorMessage-CJtwhDck.js} +5 -5
- package/dist/ErrorMessage-CJtwhDck.js.br +0 -0
- package/dist/{ErrorMessage-CR6nsvpG.js.gz → ErrorMessage-CJtwhDck.js.gz} +0 -0
- package/dist/{EventAvailabilityForm-BifH0nPI.js → EventAvailabilityForm-2hNVmD1B.js} +4 -4
- package/dist/EventAvailabilityForm-2hNVmD1B.js.br +0 -0
- package/dist/EventAvailabilityForm-2hNVmD1B.js.gz +0 -0
- package/dist/{Field-B2jdmjrN.js → Field-BJWCVTGO.js} +4 -4
- package/dist/Field-BJWCVTGO.js.br +0 -0
- package/dist/Field-BJWCVTGO.js.gz +0 -0
- package/dist/{Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-VcCD-H0U.js → Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-C2vcLWBx.js} +3 -3
- package/dist/Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-C2vcLWBx.js.br +0 -0
- package/dist/Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-C2vcLWBx.js.gz +0 -0
- package/dist/{SelectField.vue_vue_type_style_index_0_lang-BPnYFHa4.js → SelectField.vue_vue_type_style_index_0_lang-BKeIWAxT.js} +509 -507
- package/dist/SelectField.vue_vue_type_style_index_0_lang-BKeIWAxT.js.br +0 -0
- package/dist/SelectField.vue_vue_type_style_index_0_lang-BKeIWAxT.js.gz +0 -0
- package/dist/{TermsOfService-DbQt3pLi.js → TermsOfService-CERWtFOo.js} +4 -4
- package/dist/TermsOfService-CERWtFOo.js.br +0 -0
- package/dist/TermsOfService-CERWtFOo.js.gz +0 -0
- package/dist/_-CNvItXhQ.js +5 -0
- package/dist/{_.vue_vue_type_style_index_0_lang-DRp7kMrC.js → _.vue_vue_type_style_index_0_lang-CjRvTIZE.js} +3 -3
- package/dist/_.vue_vue_type_style_index_0_lang-CjRvTIZE.js.br +0 -0
- package/dist/_.vue_vue_type_style_index_0_lang-CjRvTIZE.js.gz +0 -0
- package/dist/availability.js +7 -7
- package/dist/availability.js.br +0 -0
- package/dist/availability.js.gz +0 -0
- package/dist/cancel-reservation.js +7 -7
- package/dist/cancel-reservation.js.br +0 -0
- package/dist/cancel-reservation.js.gz +0 -0
- package/dist/core.css +1 -1
- package/dist/core.css.br +0 -0
- package/dist/core.css.gz +0 -0
- package/dist/deep-link.js +1 -1
- package/dist/deep-link.js.br +0 -0
- package/dist/deep-link.js.gz +0 -0
- package/dist/event.js +10 -10
- package/dist/event.js.br +0 -0
- package/dist/event.js.gz +0 -0
- package/dist/gift-card-validation.js +9 -9
- package/dist/gift-card-validation.js.br +0 -0
- package/dist/gift-card-validation.js.gz +0 -0
- package/dist/gift-card.js +11 -11
- package/dist/gift-card.js.br +0 -0
- package/dist/gift-card.js.gz +0 -0
- package/dist/{giftCard-DuYeuLQX.js → giftCard-CbjZKIJ0.js} +3 -3
- package/dist/giftCard-CbjZKIJ0.js.br +0 -0
- package/dist/giftCard-CbjZKIJ0.js.gz +0 -0
- package/dist/hotel.js +1556 -1549
- package/dist/hotel.js.br +0 -0
- package/dist/hotel.js.gz +0 -0
- package/dist/{index-DmkBVtIQ.js → index-BpsyN2FY.js} +137 -128
- package/dist/index-BpsyN2FY.js.br +0 -0
- package/dist/index-BpsyN2FY.js.gz +0 -0
- package/dist/{masonry.plugin-BX6FQ1DO.js → masonry.plugin-CQx4YR-L.js} +7 -7
- package/dist/masonry.plugin-CQx4YR-L.js.br +0 -0
- package/dist/masonry.plugin-CQx4YR-L.js.gz +0 -0
- package/dist/{mitt-CWSmi8M-.js → mitt-bGMsQrYA.js} +1951 -1949
- package/dist/mitt-bGMsQrYA.js.br +0 -0
- package/dist/mitt-bGMsQrYA.js.gz +0 -0
- package/dist/polyfill.js +1 -1
- package/dist/polyfill.js.br +0 -0
- package/dist/polyfill.js.gz +0 -0
- package/dist/{style-DJF9fHLt.js → style-C4ivj8SO.js} +2 -2
- package/dist/style-C4ivj8SO.js.br +0 -0
- package/dist/style-C4ivj8SO.js.gz +0 -0
- package/package.json +6 -6
- package/dist/ActionField-aNzOb2ZE.js.br +0 -0
- package/dist/ActionField-aNzOb2ZE.js.gz +0 -0
- package/dist/AvailabilitySkeleton-BEQboDHw.js.br +0 -0
- package/dist/AvailabilitySkeleton-BEQboDHw.js.gz +0 -0
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-D0Nr2tTn.js.br +0 -0
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-D0Nr2tTn.js.gz +0 -0
- package/dist/CheckoutWindow-BmHYd2-t.js.br +0 -0
- package/dist/CheckoutWindow-BmHYd2-t.js.gz +0 -0
- package/dist/ErrorMessage-CR6nsvpG.js.br +0 -0
- package/dist/EventAvailabilityForm-BifH0nPI.js.br +0 -0
- package/dist/EventAvailabilityForm-BifH0nPI.js.gz +0 -0
- package/dist/Field-B2jdmjrN.js.br +0 -0
- package/dist/Field-B2jdmjrN.js.gz +0 -0
- package/dist/Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-VcCD-H0U.js.br +0 -0
- package/dist/Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-VcCD-H0U.js.gz +0 -0
- package/dist/SelectField.vue_vue_type_style_index_0_lang-BPnYFHa4.js.br +0 -0
- package/dist/SelectField.vue_vue_type_style_index_0_lang-BPnYFHa4.js.gz +0 -0
- package/dist/TermsOfService-DbQt3pLi.js.br +0 -0
- package/dist/TermsOfService-DbQt3pLi.js.gz +0 -0
- package/dist/_-CCH1RDZD.js +0 -5
- package/dist/_.vue_vue_type_style_index_0_lang-DRp7kMrC.js.br +0 -0
- package/dist/_.vue_vue_type_style_index_0_lang-DRp7kMrC.js.gz +0 -0
- package/dist/giftCard-DuYeuLQX.js.br +0 -0
- package/dist/giftCard-DuYeuLQX.js.gz +0 -0
- package/dist/index-DmkBVtIQ.js.br +0 -0
- package/dist/index-DmkBVtIQ.js.gz +0 -0
- package/dist/masonry.plugin-BX6FQ1DO.js.br +0 -0
- package/dist/masonry.plugin-BX6FQ1DO.js.gz +0 -0
- package/dist/mitt-CWSmi8M-.js.br +0 -0
- package/dist/mitt-CWSmi8M-.js.gz +0 -0
- package/dist/style-DJF9fHLt.js.br +0 -0
- package/dist/style-DJF9fHLt.js.gz +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { aj as ll, D as an, a9 as E1, aa as N1, a2 as L1, r as N, ak as P1, al as
|
|
1
|
+
import { aj as ll, D as an, a9 as E1, aa as N1, a2 as L1, r as N, ak as P1, al as Ft, am as D1, a7 as bt, o as nn, $ as cl, V as ul, Y as Wi, c as p, g as Q, an as O1, I as x, H as Bt, s as aa, _ as z1, ao as x1, d as We, U as M1, a as Ue, b as R, n as He, h as U, i as ue, f as ia, e as G, t as Re, q as Ae, K as wn, F as vo, u as fl, x as Ga, J as Ja, w as va, N as dl, E as ga, ap as I1, aq as R1, j as go, a3 as je, a4 as it, v as qi, a5 as Yr, L as F1, G as Ki, T as _1 } from "./mitt-bGMsQrYA.js";
|
|
2
2
|
function ai(e) {
|
|
3
3
|
return E1() ? (N1(e), !0) : !1;
|
|
4
4
|
}
|
|
@@ -88,7 +88,7 @@ function J1(e, t, a = {}) {
|
|
|
88
88
|
const {
|
|
89
89
|
immediate: n = !0,
|
|
90
90
|
immediateCallback: r = !1
|
|
91
|
-
} = a, o =
|
|
91
|
+
} = a, o = Ft(!1);
|
|
92
92
|
let i;
|
|
93
93
|
function s() {
|
|
94
94
|
i && (clearTimeout(i), i = void 0);
|
|
@@ -99,7 +99,7 @@ function J1(e, t, a = {}) {
|
|
|
99
99
|
function c(...u) {
|
|
100
100
|
r && e(), s(), o.value = !0, i = setTimeout(() => {
|
|
101
101
|
o.value = !1, i = void 0, e(...u);
|
|
102
|
-
},
|
|
102
|
+
}, bt(t));
|
|
103
103
|
}
|
|
104
104
|
return n && (o.value = !0, ni && c()), ai(l), {
|
|
105
105
|
isPending: D1(o),
|
|
@@ -120,24 +120,24 @@ function Y1(e, t, a) {
|
|
|
120
120
|
const Ya = ni ? window : void 0, hl = ni ? window.navigator : void 0;
|
|
121
121
|
function On(e) {
|
|
122
122
|
var t;
|
|
123
|
-
const a =
|
|
123
|
+
const a = bt(e);
|
|
124
124
|
return (t = a?.$el) != null ? t : a;
|
|
125
125
|
}
|
|
126
126
|
function ba(...e) {
|
|
127
127
|
const t = [], a = () => {
|
|
128
128
|
t.forEach((s) => s()), t.length = 0;
|
|
129
129
|
}, n = (s, l, c, u) => (s.addEventListener(l, c, u), () => s.removeEventListener(l, c, u)), r = p(() => {
|
|
130
|
-
const s = Dn(
|
|
130
|
+
const s = Dn(bt(e[0])).filter((l) => l != null);
|
|
131
131
|
return s.every((l) => typeof l != "string") ? s : void 0;
|
|
132
132
|
}), o = Y1(
|
|
133
133
|
() => {
|
|
134
134
|
var s, l;
|
|
135
135
|
return [
|
|
136
136
|
(l = (s = r.value) == null ? void 0 : s.map((c) => On(c))) != null ? l : [Ya].filter((c) => c != null),
|
|
137
|
-
Dn(
|
|
137
|
+
Dn(bt(r.value ? e[1] : e[0])),
|
|
138
138
|
Dn(Q(r.value ? e[2] : e[1])),
|
|
139
139
|
// @ts-expect-error - TypeScript gets the correct types, but somehow still complains
|
|
140
|
-
|
|
140
|
+
bt(r.value ? e[3] : e[2])
|
|
141
141
|
];
|
|
142
142
|
},
|
|
143
143
|
([s, l, c, u]) => {
|
|
@@ -160,7 +160,7 @@ function ba(...e) {
|
|
|
160
160
|
}
|
|
161
161
|
// @__NO_SIDE_EFFECTS__
|
|
162
162
|
function X1() {
|
|
163
|
-
const e =
|
|
163
|
+
const e = Ft(!1), t = ul();
|
|
164
164
|
return t && nn(() => {
|
|
165
165
|
e.value = !0;
|
|
166
166
|
}, t), e;
|
|
@@ -175,7 +175,7 @@ function Gi(e, t = {}) {
|
|
|
175
175
|
const {
|
|
176
176
|
controls: a = !1,
|
|
177
177
|
navigator: n = hl
|
|
178
|
-
} = t, r = /* @__PURE__ */ ri(() => n && "permissions" in n), o =
|
|
178
|
+
} = t, r = /* @__PURE__ */ ri(() => n && "permissions" in n), o = Ft(), i = typeof e == "string" ? { name: e } : e, s = Ft(), l = () => {
|
|
179
179
|
var u, f;
|
|
180
180
|
s.value = (f = (u = o.value) == null ? void 0 : u.state) != null ? f : "prompt";
|
|
181
181
|
};
|
|
@@ -207,7 +207,7 @@ function Q1(e = {}) {
|
|
|
207
207
|
source: n,
|
|
208
208
|
copiedDuring: r = 1500,
|
|
209
209
|
legacy: o = !1
|
|
210
|
-
} = e, i = /* @__PURE__ */ ri(() => t && "clipboard" in t), s = /* @__PURE__ */ Gi("clipboard-read"), l = /* @__PURE__ */ Gi("clipboard-write"), c = p(() => i.value || o), u =
|
|
210
|
+
} = e, i = /* @__PURE__ */ ri(() => t && "clipboard" in t), s = /* @__PURE__ */ Gi("clipboard-read"), l = /* @__PURE__ */ Gi("clipboard-write"), c = p(() => i.value || o), u = Ft(""), f = Ft(!1), y = J1(() => f.value = !1, r, { immediate: !1 });
|
|
211
211
|
async function b() {
|
|
212
212
|
let v = !(i.value && h(s.value));
|
|
213
213
|
if (!v)
|
|
@@ -219,7 +219,7 @@ function Q1(e = {}) {
|
|
|
219
219
|
v && (u.value = m());
|
|
220
220
|
}
|
|
221
221
|
c.value && a && ba(["copy", "cut"], b, { passive: !0 });
|
|
222
|
-
async function S(v =
|
|
222
|
+
async function S(v = bt(n)) {
|
|
223
223
|
if (c.value && v != null) {
|
|
224
224
|
let A = !(i.value && h(l.value));
|
|
225
225
|
if (!A)
|
|
@@ -304,43 +304,43 @@ function Z(e, t, a, n = {}) {
|
|
|
304
304
|
shallow: u,
|
|
305
305
|
window: f = Ya,
|
|
306
306
|
eventFilter: y,
|
|
307
|
-
onError: b = (
|
|
308
|
-
console.error(
|
|
307
|
+
onError: b = (D) => {
|
|
308
|
+
console.error(D);
|
|
309
309
|
},
|
|
310
310
|
initOnMounted: S
|
|
311
|
-
} = n, d = (u ?
|
|
311
|
+
} = n, d = (u ? Ft : N)(typeof t == "function" ? t() : t), m = p(() => bt(e));
|
|
312
312
|
if (!a)
|
|
313
313
|
try {
|
|
314
314
|
a = tu("getDefaultStorage", () => {
|
|
315
|
-
var
|
|
316
|
-
return (
|
|
315
|
+
var D;
|
|
316
|
+
return (D = Ya) == null ? void 0 : D.localStorage;
|
|
317
317
|
})();
|
|
318
|
-
} catch (
|
|
319
|
-
b(
|
|
318
|
+
} catch (D) {
|
|
319
|
+
b(D);
|
|
320
320
|
}
|
|
321
321
|
if (!a)
|
|
322
322
|
return d;
|
|
323
|
-
const h =
|
|
323
|
+
const h = bt(t), v = au(h), A = (r = n.serializer) != null ? r : X[v], { pause: k, resume: w } = ml(
|
|
324
324
|
d,
|
|
325
|
-
() => ae(
|
|
325
|
+
(D) => ae(D),
|
|
326
326
|
{ flush: o, deep: i, eventFilter: y }
|
|
327
327
|
);
|
|
328
328
|
an(m, () => se(), { flush: o });
|
|
329
329
|
let P = !1;
|
|
330
|
-
const F = (
|
|
331
|
-
S && !P || se(
|
|
332
|
-
}, J = (
|
|
333
|
-
S && !P || ne(
|
|
330
|
+
const F = (D) => {
|
|
331
|
+
S && !P || se(D);
|
|
332
|
+
}, J = (D) => {
|
|
333
|
+
S && !P || ne(D);
|
|
334
334
|
};
|
|
335
335
|
f && s && (a instanceof Storage ? ba(f, "storage", F, { passive: !0 }) : ba(f, Ji, J)), S ? G1(() => {
|
|
336
336
|
P = !0, se();
|
|
337
337
|
}) : se();
|
|
338
|
-
function te(
|
|
338
|
+
function te(D, q) {
|
|
339
339
|
if (f) {
|
|
340
340
|
const Y = {
|
|
341
341
|
key: m.value,
|
|
342
|
-
oldValue:
|
|
343
|
-
newValue:
|
|
342
|
+
oldValue: D,
|
|
343
|
+
newValue: q,
|
|
344
344
|
storageArea: a
|
|
345
345
|
};
|
|
346
346
|
f.dispatchEvent(a instanceof Storage ? new StorageEvent("storage", Y) : new CustomEvent(Ji, {
|
|
@@ -348,48 +348,49 @@ function Z(e, t, a, n = {}) {
|
|
|
348
348
|
}));
|
|
349
349
|
}
|
|
350
350
|
}
|
|
351
|
-
function ae(
|
|
351
|
+
function ae(D) {
|
|
352
352
|
try {
|
|
353
|
-
const
|
|
354
|
-
if (
|
|
355
|
-
te(
|
|
353
|
+
const q = a.getItem(m.value);
|
|
354
|
+
if (D == null)
|
|
355
|
+
te(q, null), a.removeItem(m.value);
|
|
356
356
|
else {
|
|
357
|
-
const Y = A.write(
|
|
358
|
-
|
|
357
|
+
const Y = A.write(D);
|
|
358
|
+
q !== Y && (a.setItem(m.value, Y), te(q, Y));
|
|
359
359
|
}
|
|
360
|
-
} catch (
|
|
361
|
-
b(
|
|
360
|
+
} catch (q) {
|
|
361
|
+
b(q);
|
|
362
362
|
}
|
|
363
363
|
}
|
|
364
|
-
function
|
|
365
|
-
const
|
|
366
|
-
if (
|
|
364
|
+
function K(D) {
|
|
365
|
+
const q = D ? D.newValue : a.getItem(m.value);
|
|
366
|
+
if (q == null)
|
|
367
367
|
return l && h != null && a.setItem(m.value, A.write(h)), h;
|
|
368
|
-
if (!
|
|
369
|
-
const Y = A.read(
|
|
368
|
+
if (!D && c) {
|
|
369
|
+
const Y = A.read(q);
|
|
370
370
|
return typeof c == "function" ? c(Y, h) : v === "object" && !Array.isArray(Y) ? { ...h, ...Y } : Y;
|
|
371
|
-
} else return typeof
|
|
371
|
+
} else return typeof q != "string" ? q : A.read(q);
|
|
372
372
|
}
|
|
373
|
-
function se(
|
|
374
|
-
if (!(
|
|
375
|
-
if (
|
|
373
|
+
function se(D) {
|
|
374
|
+
if (!(D && D.storageArea !== a)) {
|
|
375
|
+
if (D && D.key == null) {
|
|
376
376
|
d.value = h;
|
|
377
377
|
return;
|
|
378
378
|
}
|
|
379
|
-
if (!(
|
|
379
|
+
if (!(D && D.key !== m.value)) {
|
|
380
380
|
k();
|
|
381
381
|
try {
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
382
|
+
const q = A.write(d.value);
|
|
383
|
+
(D === void 0 || D?.newValue !== q) && (d.value = K(D));
|
|
384
|
+
} catch (q) {
|
|
385
|
+
b(q);
|
|
385
386
|
} finally {
|
|
386
|
-
|
|
387
|
+
D ? cl(w) : w();
|
|
387
388
|
}
|
|
388
389
|
}
|
|
389
390
|
}
|
|
390
391
|
}
|
|
391
|
-
function ne(
|
|
392
|
-
se(
|
|
392
|
+
function ne(D) {
|
|
393
|
+
se(D.detail);
|
|
393
394
|
}
|
|
394
395
|
return d;
|
|
395
396
|
}
|
|
@@ -401,11 +402,11 @@ function nh(e, t, a = {}) {
|
|
|
401
402
|
window: i = Ya,
|
|
402
403
|
immediate: s = !0
|
|
403
404
|
} = a, l = /* @__PURE__ */ ri(() => i && "IntersectionObserver" in i), c = p(() => {
|
|
404
|
-
const S =
|
|
405
|
+
const S = bt(e);
|
|
405
406
|
return Dn(S).map(On).filter($1);
|
|
406
407
|
});
|
|
407
408
|
let u = Pn;
|
|
408
|
-
const f =
|
|
409
|
+
const f = Ft(s), y = l.value ? an(
|
|
409
410
|
() => [c.value, On(n), f.value],
|
|
410
411
|
([S, d]) => {
|
|
411
412
|
if (u(), !f.value || !S.length)
|
|
@@ -651,7 +652,7 @@ Pe.prototype = {
|
|
|
651
652
|
return r.j[e] = i, i;
|
|
652
653
|
}
|
|
653
654
|
};
|
|
654
|
-
const j = (e, t, a, n, r) => e.ta(t, a, n, r), oe = (e, t, a, n, r) => e.tr(t, a, n, r), Yi = (e, t, a, n, r) => e.ts(t, a, n, r), C = (e, t, a, n, r) => e.tt(t, a, n, r),
|
|
655
|
+
const j = (e, t, a, n, r) => e.ta(t, a, n, r), oe = (e, t, a, n, r) => e.tr(t, a, n, r), Yi = (e, t, a, n, r) => e.ts(t, a, n, r), C = (e, t, a, n, r) => e.tt(t, a, n, r), gt = "WORD", Co = "UWORD", gl = "ASCIINUMERICAL", yl = "ALPHANUMERICAL", Xa = "LOCALHOST", Ao = "TLD", To = "UTLD", zn = "SCHEME", ma = "SLASH_SCHEME", oi = "NUM", ko = "WS", ii = "NL", Ba = "OPENBRACE", Ua = "CLOSEBRACE", jn = "OPENBRACKET", Bn = "CLOSEBRACKET", Un = "OPENPAREN", Hn = "CLOSEPAREN", Vn = "OPENANGLEBRACKET", Wn = "CLOSEANGLEBRACKET", qn = "FULLWIDTHLEFTPAREN", Kn = "FULLWIDTHRIGHTPAREN", Gn = "LEFTCORNERBRACKET", Jn = "RIGHTCORNERBRACKET", Yn = "LEFTWHITECORNERBRACKET", Xn = "RIGHTWHITECORNERBRACKET", Qn = "FULLWIDTHLESSTHAN", Zn = "FULLWIDTHGREATERTHAN", er = "AMPERSAND", tr = "APOSTROPHE", ar = "ASTERISK", Mt = "AT", nr = "BACKSLASH", rr = "BACKTICK", or = "CARET", It = "COLON", si = "COMMA", ir = "DOLLAR", lt = "DOT", sr = "EQUALS", li = "EXCLAMATION", Me = "HYPHEN", Ha = "PERCENT", lr = "PIPE", cr = "PLUS", ur = "POUND", Va = "QUERY", ci = "QUOTE", bl = "FULLWIDTHMIDDLEDOT", ui = "SEMI", ct = "SLASH", Wa = "TILDE", fr = "UNDERSCORE", Sl = "EMOJI", dr = "SYM";
|
|
655
656
|
var wl = /* @__PURE__ */ Object.freeze({
|
|
656
657
|
__proto__: null,
|
|
657
658
|
ALPHANUMERICAL: yl,
|
|
@@ -659,7 +660,7 @@ var wl = /* @__PURE__ */ Object.freeze({
|
|
|
659
660
|
APOSTROPHE: tr,
|
|
660
661
|
ASCIINUMERICAL: gl,
|
|
661
662
|
ASTERISK: ar,
|
|
662
|
-
AT:
|
|
663
|
+
AT: Mt,
|
|
663
664
|
BACKSLASH: nr,
|
|
664
665
|
BACKTICK: rr,
|
|
665
666
|
CARET: or,
|
|
@@ -667,10 +668,10 @@ var wl = /* @__PURE__ */ Object.freeze({
|
|
|
667
668
|
CLOSEBRACE: Ua,
|
|
668
669
|
CLOSEBRACKET: Bn,
|
|
669
670
|
CLOSEPAREN: Hn,
|
|
670
|
-
COLON:
|
|
671
|
+
COLON: It,
|
|
671
672
|
COMMA: si,
|
|
672
673
|
DOLLAR: ir,
|
|
673
|
-
DOT:
|
|
674
|
+
DOT: lt,
|
|
674
675
|
EMOJI: Sl,
|
|
675
676
|
EQUALS: sr,
|
|
676
677
|
EXCLAMATION: li,
|
|
@@ -699,7 +700,7 @@ var wl = /* @__PURE__ */ Object.freeze({
|
|
|
699
700
|
RIGHTWHITECORNERBRACKET: Xn,
|
|
700
701
|
SCHEME: zn,
|
|
701
702
|
SEMI: ui,
|
|
702
|
-
SLASH:
|
|
703
|
+
SLASH: ct,
|
|
703
704
|
SLASH_SCHEME: ma,
|
|
704
705
|
SYM: dr,
|
|
705
706
|
TILDE: Wa,
|
|
@@ -707,33 +708,33 @@ var wl = /* @__PURE__ */ Object.freeze({
|
|
|
707
708
|
UNDERSCORE: fr,
|
|
708
709
|
UTLD: To,
|
|
709
710
|
UWORD: Co,
|
|
710
|
-
WORD:
|
|
711
|
+
WORD: gt,
|
|
711
712
|
WS: ko
|
|
712
713
|
});
|
|
713
|
-
const
|
|
714
|
+
const ht = /[a-z]/, Ia = /\p{L}/u, Qr = /\p{Emoji}/u, vt = /\d/, Zr = /\s/, Xi = "\r", eo = `
|
|
714
715
|
`, uu = "️", fu = "", to = "";
|
|
715
716
|
let Tn = null, kn = null;
|
|
716
717
|
function du(e = []) {
|
|
717
718
|
const t = {};
|
|
718
719
|
Pe.groups = t;
|
|
719
720
|
const a = new Pe();
|
|
720
|
-
Tn == null && (Tn = Qi(ru)), kn == null && (kn = Qi(ou)), C(a, "'", tr), C(a, "{", Ba), C(a, "}", Ua), C(a, "[", jn), C(a, "]", Bn), C(a, "(", Un), C(a, ")", Hn), C(a, "<", Vn), C(a, ">", Wn), C(a, "(", qn), C(a, ")", Kn), C(a, "「", Gn), C(a, "」", Jn), C(a, "『", Yn), C(a, "』", Xn), C(a, "<", Qn), C(a, ">", Zn), C(a, "&", er), C(a, "*", ar), C(a, "@",
|
|
721
|
-
const n = oe(a,
|
|
721
|
+
Tn == null && (Tn = Qi(ru)), kn == null && (kn = Qi(ou)), C(a, "'", tr), C(a, "{", Ba), C(a, "}", Ua), C(a, "[", jn), C(a, "]", Bn), C(a, "(", Un), C(a, ")", Hn), C(a, "<", Vn), C(a, ">", Wn), C(a, "(", qn), C(a, ")", Kn), C(a, "「", Gn), C(a, "」", Jn), C(a, "『", Yn), C(a, "』", Xn), C(a, "<", Qn), C(a, ">", Zn), C(a, "&", er), C(a, "*", ar), C(a, "@", Mt), C(a, "`", rr), C(a, "^", or), C(a, ":", It), C(a, ",", si), C(a, "$", ir), C(a, ".", lt), C(a, "=", sr), C(a, "!", li), C(a, "-", Me), C(a, "%", Ha), C(a, "|", lr), C(a, "+", cr), C(a, "#", ur), C(a, "?", Va), C(a, '"', ci), C(a, "/", ct), C(a, ";", ui), C(a, "~", Wa), C(a, "_", fr), C(a, "\\", nr), C(a, "・", bl);
|
|
722
|
+
const n = oe(a, vt, oi, {
|
|
722
723
|
[yo]: !0
|
|
723
724
|
});
|
|
724
|
-
oe(n,
|
|
725
|
-
const r = oe(n,
|
|
725
|
+
oe(n, vt, n);
|
|
726
|
+
const r = oe(n, ht, gl, {
|
|
726
727
|
[ja]: !0
|
|
727
728
|
}), o = oe(n, Ia, yl, {
|
|
728
729
|
[Fa]: !0
|
|
729
|
-
}), i = oe(a,
|
|
730
|
+
}), i = oe(a, ht, gt, {
|
|
730
731
|
[bo]: !0
|
|
731
732
|
});
|
|
732
|
-
oe(i,
|
|
733
|
+
oe(i, vt, r), oe(i, ht, i), oe(r, vt, r), oe(r, ht, r);
|
|
733
734
|
const s = oe(a, Ia, Co, {
|
|
734
735
|
[So]: !0
|
|
735
736
|
});
|
|
736
|
-
oe(s,
|
|
737
|
+
oe(s, ht), oe(s, vt, o), oe(s, Ia, s), oe(o, vt, o), oe(o, ht), oe(o, Ia, o);
|
|
737
738
|
const l = C(a, eo, ii, {
|
|
738
739
|
[Xr]: !0
|
|
739
740
|
}), c = C(a, Xi, ko, {
|
|
@@ -748,18 +749,18 @@ function du(e = []) {
|
|
|
748
749
|
C(f, "#"), oe(f, Qr, f), C(f, uu, f);
|
|
749
750
|
const y = C(f, fu);
|
|
750
751
|
C(y, "#"), oe(y, Qr, f);
|
|
751
|
-
const b = [[
|
|
752
|
+
const b = [[ht, i], [vt, r]], S = [[ht, null], [Ia, s], [vt, o]];
|
|
752
753
|
for (let d = 0; d < Tn.length; d++)
|
|
753
|
-
|
|
754
|
+
xt(a, Tn[d], Ao, gt, b);
|
|
754
755
|
for (let d = 0; d < kn.length; d++)
|
|
755
|
-
|
|
756
|
+
xt(a, kn[d], To, Co, S);
|
|
756
757
|
Yt(Ao, {
|
|
757
758
|
tld: !0,
|
|
758
759
|
ascii: !0
|
|
759
760
|
}, t), Yt(To, {
|
|
760
761
|
utld: !0,
|
|
761
762
|
alpha: !0
|
|
762
|
-
}, t),
|
|
763
|
+
}, t), xt(a, "file", zn, gt, b), xt(a, "mailto", zn, gt, b), xt(a, "http", ma, gt, b), xt(a, "https", ma, gt, b), xt(a, "ftp", ma, gt, b), xt(a, "ftps", ma, gt, b), Yt(zn, {
|
|
763
764
|
scheme: !0,
|
|
764
765
|
ascii: !0
|
|
765
766
|
}, t), Yt(ma, {
|
|
@@ -772,7 +773,7 @@ function du(e = []) {
|
|
|
772
773
|
} : {
|
|
773
774
|
[su]: !0
|
|
774
775
|
};
|
|
775
|
-
m.indexOf("-") >= 0 ? v[wo] = !0 :
|
|
776
|
+
m.indexOf("-") >= 0 ? v[wo] = !0 : ht.test(m) ? vt.test(m) ? v[ja] = !0 : v[bo] = !0 : v[yo] = !0, Yi(a, m, m, v);
|
|
776
777
|
}
|
|
777
778
|
return Yi(a, "localhost", Xa, {
|
|
778
779
|
ascii: !0
|
|
@@ -812,7 +813,7 @@ function pu(e) {
|
|
|
812
813
|
}
|
|
813
814
|
return t;
|
|
814
815
|
}
|
|
815
|
-
function
|
|
816
|
+
function xt(e, t, a, n, r) {
|
|
816
817
|
let o;
|
|
817
818
|
const i = t.length;
|
|
818
819
|
for (let s = 0; s < i - 1; s++) {
|
|
@@ -1067,41 +1068,41 @@ const es = Sr("email", {
|
|
|
1067
1068
|
*/
|
|
1068
1069
|
hasProtocol() {
|
|
1069
1070
|
const e = this.tk;
|
|
1070
|
-
return e.length >= 2 && e[0].t !== Xa && e[1].t ===
|
|
1071
|
+
return e.length >= 2 && e[0].t !== Xa && e[1].t === It;
|
|
1071
1072
|
}
|
|
1072
1073
|
}), xe = (e) => new Pe(e);
|
|
1073
1074
|
function hu({
|
|
1074
1075
|
groups: e
|
|
1075
1076
|
}) {
|
|
1076
|
-
const t = e.domain.concat([er, ar,
|
|
1077
|
+
const t = e.domain.concat([er, ar, Mt, nr, rr, or, ir, sr, Me, oi, Ha, lr, cr, ur, ct, dr, Wa, fr]), a = [tr, It, si, lt, li, Ha, Va, ci, ui, Vn, Wn, Ba, Ua, Bn, jn, Un, Hn, qn, Kn, Gn, Jn, Yn, Xn, Qn, Zn], n = [er, tr, ar, nr, rr, or, ir, sr, Me, Ba, Ua, Ha, lr, cr, ur, Va, ct, dr, Wa, fr], r = xe(), o = C(r, Wa);
|
|
1077
1078
|
j(o, n, o), j(o, e.domain, o);
|
|
1078
1079
|
const i = xe(), s = xe(), l = xe();
|
|
1079
1080
|
j(r, e.domain, i), j(r, e.scheme, s), j(r, e.slashscheme, l), j(i, n, o), j(i, e.domain, i);
|
|
1080
|
-
const c = C(i,
|
|
1081
|
-
C(o,
|
|
1082
|
-
const u = C(o,
|
|
1081
|
+
const c = C(i, Mt);
|
|
1082
|
+
C(o, Mt, c), C(s, Mt, c), C(l, Mt, c);
|
|
1083
|
+
const u = C(o, lt);
|
|
1083
1084
|
j(u, n, o), j(u, e.domain, o);
|
|
1084
1085
|
const f = xe();
|
|
1085
1086
|
j(c, e.domain, f), j(f, e.domain, f);
|
|
1086
|
-
const y = C(f,
|
|
1087
|
+
const y = C(f, lt);
|
|
1087
1088
|
j(y, e.domain, f);
|
|
1088
1089
|
const b = xe(es);
|
|
1089
1090
|
j(y, e.tld, b), j(y, e.utld, b), C(c, Xa, b);
|
|
1090
1091
|
const S = C(f, Me);
|
|
1091
|
-
C(S, Me, S), j(S, e.domain, f), j(b, e.domain, f), C(b,
|
|
1092
|
-
const d = C(b,
|
|
1092
|
+
C(S, Me, S), j(S, e.domain, f), j(b, e.domain, f), C(b, lt, y), C(b, Me, S);
|
|
1093
|
+
const d = C(b, It);
|
|
1093
1094
|
j(d, e.numeric, es);
|
|
1094
|
-
const m = C(i, Me), h = C(i,
|
|
1095
|
+
const m = C(i, Me), h = C(i, lt);
|
|
1095
1096
|
C(m, Me, m), j(m, e.domain, i), j(h, n, o), j(h, e.domain, i);
|
|
1096
1097
|
const v = xe(En);
|
|
1097
|
-
j(h, e.tld, v), j(h, e.utld, v), j(v, e.domain, i), j(v, n, o), C(v,
|
|
1098
|
-
const A = C(v,
|
|
1098
|
+
j(h, e.tld, v), j(h, e.utld, v), j(v, e.domain, i), j(v, n, o), C(v, lt, h), C(v, Me, m), C(v, Mt, c);
|
|
1099
|
+
const A = C(v, It), k = xe(En);
|
|
1099
1100
|
j(A, e.numeric, k);
|
|
1100
1101
|
const w = xe(En), P = xe();
|
|
1101
|
-
j(w, t, w), j(w, a, P), j(P, t, w), j(P, a, P), C(v,
|
|
1102
|
-
const F = C(s,
|
|
1103
|
-
j(s, e.domain, i), C(s,
|
|
1104
|
-
const
|
|
1102
|
+
j(w, t, w), j(w, a, P), j(P, t, w), j(P, a, P), C(v, ct, w), C(k, ct, w);
|
|
1103
|
+
const F = C(s, It), J = C(l, It), te = C(J, ct), ae = C(te, ct);
|
|
1104
|
+
j(s, e.domain, i), C(s, lt, h), C(s, Me, m), j(l, e.domain, i), C(l, lt, h), C(l, Me, m), j(F, e.domain, w), C(F, ct, w), C(F, Va, w), j(ae, e.domain, w), j(ae, t, w), C(ae, ct, w);
|
|
1105
|
+
const K = [
|
|
1105
1106
|
[Ba, Ua],
|
|
1106
1107
|
// {}
|
|
1107
1108
|
[jn, Bn],
|
|
@@ -1119,13 +1120,13 @@ function hu({
|
|
|
1119
1120
|
[Qn, Zn]
|
|
1120
1121
|
// <>
|
|
1121
1122
|
];
|
|
1122
|
-
for (let se = 0; se <
|
|
1123
|
-
const [ne,
|
|
1124
|
-
C(P, ne,
|
|
1123
|
+
for (let se = 0; se < K.length; se++) {
|
|
1124
|
+
const [ne, D] = K[se], q = C(w, ne);
|
|
1125
|
+
C(P, ne, q), C(q, D, w);
|
|
1125
1126
|
const Y = xe(En);
|
|
1126
|
-
j(
|
|
1127
|
+
j(q, t, Y);
|
|
1127
1128
|
const pe = xe();
|
|
1128
|
-
j(
|
|
1129
|
+
j(q, a), j(Y, t, Y), j(Y, a, pe), j(pe, t, Y), j(pe, a, pe), C(Y, D, w), C(pe, D, w);
|
|
1129
1130
|
}
|
|
1130
1131
|
return C(r, Xa, v), C(r, ii, mu), {
|
|
1131
1132
|
start: r,
|
|
@@ -1916,21 +1917,21 @@ var _u = /* @__PURE__ */ ((e) => (e.LoyaltyCard = "LoyalityCard", e.FirmaCard =
|
|
|
1916
1917
|
function rh(e) {
|
|
1917
1918
|
switch (e) {
|
|
1918
1919
|
case ce.PerUnit:
|
|
1919
|
-
return
|
|
1920
|
+
return x.t("general.perUnit");
|
|
1920
1921
|
case ce.PerPerson:
|
|
1921
|
-
return
|
|
1922
|
+
return x.t("general.perPerson");
|
|
1922
1923
|
case ce.PerAdult:
|
|
1923
|
-
return
|
|
1924
|
+
return x.t("general.perAdult");
|
|
1924
1925
|
case ce.PerChild:
|
|
1925
|
-
return
|
|
1926
|
+
return x.t("general.perChild");
|
|
1926
1927
|
case ce.PerNight:
|
|
1927
|
-
return
|
|
1928
|
+
return x.t("general.perNight");
|
|
1928
1929
|
case ce.PerPersonPerNight:
|
|
1929
|
-
return
|
|
1930
|
+
return x.t("general.perPersonPerNight");
|
|
1930
1931
|
case ce.PerAdultPerNight:
|
|
1931
|
-
return
|
|
1932
|
+
return x.t("general.perAdultPerNight");
|
|
1932
1933
|
case ce.PerChildPerNight:
|
|
1933
|
-
return
|
|
1934
|
+
return x.t("general.perChildPerNight");
|
|
1934
1935
|
}
|
|
1935
1936
|
}
|
|
1936
1937
|
function Do(e, t, a, n = 0, r = 0) {
|
|
@@ -1974,13 +1975,13 @@ function oh(e) {
|
|
|
1974
1975
|
function rs(e) {
|
|
1975
1976
|
switch (e) {
|
|
1976
1977
|
case 2:
|
|
1977
|
-
return
|
|
1978
|
+
return x.t("booking.reservation.nameTitleMr");
|
|
1978
1979
|
case 3:
|
|
1979
|
-
return
|
|
1980
|
+
return x.t("booking.reservation.nameTitleMs");
|
|
1980
1981
|
case 4:
|
|
1981
|
-
return
|
|
1982
|
+
return x.t("booking.reservation.nameTitleMrs");
|
|
1982
1983
|
case 5:
|
|
1983
|
-
return
|
|
1984
|
+
return x.t("booking.reservation.nameTitleDr");
|
|
1984
1985
|
default:
|
|
1985
1986
|
return "";
|
|
1986
1987
|
}
|
|
@@ -2072,7 +2073,7 @@ function uh(e) {
|
|
|
2072
2073
|
r = { 1: "Mondays", 2: "Tuedays", 3: "Wednesdays", 4: "Thusdays", 5: "Fridays", 6: "Saturdays", 7: "Sundays" };
|
|
2073
2074
|
break;
|
|
2074
2075
|
}
|
|
2075
|
-
return t = n.map((o) => r[o]).join(", "), n.length === 1 ? t = `${r[n[0]]}` : n.length === 7 ? t =
|
|
2076
|
+
return t = n.map((o) => r[o]).join(", "), n.length === 1 ? t = `${r[n[0]]}` : n.length === 7 ? t = x.t("general.everyday") : Wu(a, n) ? t = x.t("general.weekends") : Vu(n) && n.length > 1 && (t = `${r[n[0]]} - ${r[n[n.length - 1]]}`), t;
|
|
2076
2077
|
}
|
|
2077
2078
|
function no(e) {
|
|
2078
2079
|
let t = e;
|
|
@@ -2121,18 +2122,18 @@ function os(e, t) {
|
|
|
2121
2122
|
const a = +(t[0] || 0), n = +(t[1] || 0), r = +(t[2] || 0) / 60;
|
|
2122
2123
|
return _a[e] = a * 60 + n > 0 ? a * 60 + n + r : a * 60 - n - r;
|
|
2123
2124
|
}
|
|
2124
|
-
class
|
|
2125
|
+
class ut extends Date {
|
|
2125
2126
|
//#region static
|
|
2126
2127
|
constructor(...t) {
|
|
2127
2128
|
super(), t.length > 1 && typeof t[t.length - 1] == "string" && (this.timeZone = t.pop()), this.internal = /* @__PURE__ */ new Date(), isNaN(Qt(this.timeZone, this)) ? this.setTime(NaN) : t.length ? typeof t[0] == "number" && (t.length === 1 || t.length === 2 && typeof t[1] != "number") ? this.setTime(t[0]) : typeof t[0] == "string" ? this.setTime(+new Date(t[0])) : t[0] instanceof Date ? this.setTime(+t[0]) : (this.setTime(+new Date(...t)), Dl(this), Oo(this)) : this.setTime(Date.now());
|
|
2128
2129
|
}
|
|
2129
2130
|
static tz(t, ...a) {
|
|
2130
|
-
return a.length ? new
|
|
2131
|
+
return a.length ? new ut(...a, t) : new ut(Date.now(), t);
|
|
2131
2132
|
}
|
|
2132
2133
|
//#endregion
|
|
2133
2134
|
//#region time zone
|
|
2134
2135
|
withTimeZone(t) {
|
|
2135
|
-
return new
|
|
2136
|
+
return new ut(+this, t);
|
|
2136
2137
|
}
|
|
2137
2138
|
getTimezoneOffset() {
|
|
2138
2139
|
const t = -Qt(this.timeZone, this);
|
|
@@ -2146,7 +2147,7 @@ class ct extends Date {
|
|
|
2146
2147
|
//#endregion
|
|
2147
2148
|
//#region date-fns integration
|
|
2148
2149
|
[Symbol.for("constructDateFrom")](t) {
|
|
2149
|
-
return new
|
|
2150
|
+
return new ut(+new Date(t), this.timeZone);
|
|
2150
2151
|
}
|
|
2151
2152
|
//#endregion
|
|
2152
2153
|
}
|
|
@@ -2154,11 +2155,11 @@ const is = /^(get|set)(?!UTC)/;
|
|
|
2154
2155
|
Object.getOwnPropertyNames(Date.prototype).forEach((e) => {
|
|
2155
2156
|
if (!is.test(e)) return;
|
|
2156
2157
|
const t = e.replace(is, "$1UTC");
|
|
2157
|
-
|
|
2158
|
+
ut.prototype[t] && (e.startsWith("get") ? ut.prototype[e] = function() {
|
|
2158
2159
|
return this.internal[t]();
|
|
2159
|
-
} : (
|
|
2160
|
+
} : (ut.prototype[e] = function() {
|
|
2160
2161
|
return Date.prototype[t].apply(this.internal, arguments), Yu(this), +this;
|
|
2161
|
-
},
|
|
2162
|
+
}, ut.prototype[t] = function() {
|
|
2162
2163
|
return Date.prototype[t].apply(this, arguments), Oo(this), +this;
|
|
2163
2164
|
}));
|
|
2164
2165
|
});
|
|
@@ -2186,10 +2187,10 @@ function Dl(e) {
|
|
|
2186
2187
|
k && (e.internal.setUTCMinutes(e.internal.getUTCMinutes() + k), Date.prototype.setUTCMinutes.call(e, Date.prototype.getUTCMinutes.call(e) + k));
|
|
2187
2188
|
}
|
|
2188
2189
|
}
|
|
2189
|
-
class
|
|
2190
|
+
class Rt extends ut {
|
|
2190
2191
|
//#region static
|
|
2191
2192
|
static tz(t, ...a) {
|
|
2192
|
-
return a.length ? new
|
|
2193
|
+
return a.length ? new Rt(...a, t) : new Rt(Date.now(), t);
|
|
2193
2194
|
}
|
|
2194
2195
|
//#endregion
|
|
2195
2196
|
//#region representation
|
|
@@ -2234,11 +2235,11 @@ class It extends ct {
|
|
|
2234
2235
|
}
|
|
2235
2236
|
//#endregion
|
|
2236
2237
|
withTimeZone(t) {
|
|
2237
|
-
return new
|
|
2238
|
+
return new Rt(+this, t);
|
|
2238
2239
|
}
|
|
2239
2240
|
//#region date-fns integration
|
|
2240
2241
|
[Symbol.for("constructDateFrom")](t) {
|
|
2241
|
-
return new
|
|
2242
|
+
return new Rt(+new Date(t), this.timeZone);
|
|
2242
2243
|
}
|
|
2243
2244
|
//#endregion
|
|
2244
2245
|
}
|
|
@@ -3641,7 +3642,7 @@ function Tf(e, t, a) {
|
|
|
3641
3642
|
const In = {
|
|
3642
3643
|
assertOptions: Tf,
|
|
3643
3644
|
validators: Nr
|
|
3644
|
-
},
|
|
3645
|
+
}, st = In.validators;
|
|
3645
3646
|
let ta = class {
|
|
3646
3647
|
constructor(t) {
|
|
3647
3648
|
this.defaults = t || {}, this.interceptors = {
|
|
@@ -3678,17 +3679,17 @@ let ta = class {
|
|
|
3678
3679
|
typeof t == "string" ? (a = a || {}, a.url = t) : a = t || {}, a = na(this.defaults, a);
|
|
3679
3680
|
const { transitional: n, paramsSerializer: r, headers: o } = a;
|
|
3680
3681
|
n !== void 0 && In.assertOptions(n, {
|
|
3681
|
-
silentJSONParsing:
|
|
3682
|
-
forcedJSONParsing:
|
|
3683
|
-
clarifyTimeoutError:
|
|
3682
|
+
silentJSONParsing: st.transitional(st.boolean),
|
|
3683
|
+
forcedJSONParsing: st.transitional(st.boolean),
|
|
3684
|
+
clarifyTimeoutError: st.transitional(st.boolean)
|
|
3684
3685
|
}, !1), r != null && (g.isFunction(r) ? a.paramsSerializer = {
|
|
3685
3686
|
serialize: r
|
|
3686
3687
|
} : In.assertOptions(r, {
|
|
3687
|
-
encode:
|
|
3688
|
-
serialize:
|
|
3688
|
+
encode: st.function,
|
|
3689
|
+
serialize: st.function
|
|
3689
3690
|
}, !0)), a.allowAbsoluteUrls !== void 0 || (this.defaults.allowAbsoluteUrls !== void 0 ? a.allowAbsoluteUrls = this.defaults.allowAbsoluteUrls : a.allowAbsoluteUrls = !0), In.assertOptions(a, {
|
|
3690
|
-
baseUrl:
|
|
3691
|
-
withXsrfToken:
|
|
3691
|
+
baseUrl: st.spelling("baseURL"),
|
|
3692
|
+
withXsrfToken: st.spelling("withXSRFToken")
|
|
3692
3693
|
}, !0), a.method = (a.method || this.defaults.method || "get").toLowerCase();
|
|
3693
3694
|
let i = o && g.merge(
|
|
3694
3695
|
o.common,
|
|
@@ -3958,7 +3959,7 @@ const {
|
|
|
3958
3959
|
formToJSON: Ph,
|
|
3959
3960
|
getAdapter: Dh,
|
|
3960
3961
|
mergeConfig: Oh
|
|
3961
|
-
} = ie, sa =
|
|
3962
|
+
} = ie, sa = Bt("alert", () => {
|
|
3962
3963
|
const e = N(""), t = N("default"), a = N("NotActive"), n = N(NaN), r = N("global");
|
|
3963
3964
|
function o({ message: i, type: s = "default" }) {
|
|
3964
3965
|
e.value = i, t.value = s, a.value !== "NotActive" ? (a.value = "KeepActive", clearTimeout(n.value), n.value = window.setTimeout(() => {
|
|
@@ -4027,20 +4028,20 @@ function zf(e, t) {
|
|
|
4027
4028
|
}
|
|
4028
4029
|
const xf = { resource: { url: "https://www.googletagmanager.com/gtag/js", inject: !0 }, dataLayerName: "dataLayer", gtagName: "gtag", groupName: "default", initMode: "auto" };
|
|
4029
4030
|
let $o = { ...xf };
|
|
4030
|
-
function
|
|
4031
|
+
function dt() {
|
|
4031
4032
|
return $o;
|
|
4032
4033
|
}
|
|
4033
4034
|
function Mf(e) {
|
|
4034
4035
|
$o = ac($o, e);
|
|
4035
4036
|
}
|
|
4036
|
-
function
|
|
4037
|
-
let { dataLayerName: t, gtagName: a } =
|
|
4037
|
+
function St(...e) {
|
|
4038
|
+
let { dataLayerName: t, gtagName: a } = dt();
|
|
4038
4039
|
hi() || (window[t] = window[t] || [], window[a] = function() {
|
|
4039
4040
|
window[t].push(arguments);
|
|
4040
4041
|
}, window[a](...e));
|
|
4041
4042
|
}
|
|
4042
4043
|
function nc(e, t) {
|
|
4043
|
-
|
|
4044
|
+
St("consent", e, t);
|
|
4044
4045
|
}
|
|
4045
4046
|
function If(e = "default") {
|
|
4046
4047
|
nc(e, { ad_user_data: "granted", ad_personalization: "granted", ad_storage: "granted", analytics_storage: "granted" });
|
|
@@ -4049,20 +4050,20 @@ function Rf(e = "default") {
|
|
|
4049
4050
|
nc(e, { ad_user_data: "denied", ad_personalization: "denied", ad_storage: "denied", analytics_storage: "denied" });
|
|
4050
4051
|
}
|
|
4051
4052
|
function Rn(e, t) {
|
|
4052
|
-
let { groupName: a, additionalAccounts: n } =
|
|
4053
|
-
t.send_to === void 0 && n?.length && (t.send_to = a),
|
|
4053
|
+
let { groupName: a, additionalAccounts: n } = dt();
|
|
4054
|
+
t.send_to === void 0 && n?.length && (t.send_to = a), St("event", e, t);
|
|
4054
4055
|
}
|
|
4055
4056
|
function jo(e, t) {
|
|
4056
4057
|
Rn(e, t);
|
|
4057
4058
|
}
|
|
4058
4059
|
function Ff(e) {
|
|
4059
|
-
|
|
4060
|
+
St("set", "linker", e);
|
|
4060
4061
|
}
|
|
4061
4062
|
function _f(...e) {
|
|
4062
|
-
|
|
4063
|
+
St("set", ...e);
|
|
4063
4064
|
}
|
|
4064
4065
|
function $f(e) {
|
|
4065
|
-
let { pageTracker: t } =
|
|
4066
|
+
let { pageTracker: t } = dt(), a;
|
|
4066
4067
|
if (typeof e == "string") a = { page_path: e };
|
|
4067
4068
|
else if ("path" in e) {
|
|
4068
4069
|
let n = t?.router.options.history.base ?? "", r = t?.useRouteFullPath ? e.fullPath : e.path;
|
|
@@ -4072,28 +4073,28 @@ function $f(e) {
|
|
|
4072
4073
|
let { utmParams: n, cleanUrl: r, cleanQueryParams: o } = Df(a.page_location);
|
|
4073
4074
|
a.page_location = r, Pf(o), _f("campaign", n);
|
|
4074
4075
|
}
|
|
4075
|
-
|
|
4076
|
+
St("event", "page_view", a);
|
|
4076
4077
|
}
|
|
4077
4078
|
function jf(e) {
|
|
4078
|
-
let { appName: t } =
|
|
4079
|
-
typeof e == "string" ? a.screen_name = e : "path" in e ? a.screen_name = e.name ?? e.path : a = e, t && a?.app_name === void 0 && (a.app_name = t),
|
|
4079
|
+
let { appName: t } = dt(), a = {};
|
|
4080
|
+
typeof e == "string" ? a.screen_name = e : "path" in e ? a.screen_name = e.name ?? e.path : a = e, t && a?.app_name === void 0 && (a.app_name = t), St("event", "screen_view", a);
|
|
4080
4081
|
}
|
|
4081
4082
|
function ws(e = {}) {
|
|
4082
4083
|
return { send_page_view: !1, anonymize_ip: !0, ...e };
|
|
4083
4084
|
}
|
|
4084
4085
|
function Bf() {
|
|
4085
|
-
let { tagId: e, config: t, groupName: a, linker: n, additionalAccounts: r, hooks: o, consentMode: i } =
|
|
4086
|
+
let { tagId: e, config: t, groupName: a, linker: n, additionalAccounts: r, hooks: o, consentMode: i } = dt();
|
|
4086
4087
|
if (e) {
|
|
4087
|
-
if (o?.["config:init:before"]?.(), i === "granted" ? If() : i === "denied" && Rf(), n && Ff(n),
|
|
4088
|
+
if (o?.["config:init:before"]?.(), i === "granted" ? If() : i === "denied" && Rf(), n && Ff(n), St("js", /* @__PURE__ */ new Date()), St("config", e, ws(t)), r) for (let s of r) St("config", s.tagId, ws({ groups: a, ...s.config }));
|
|
4088
4089
|
o?.["config:init:after"]?.();
|
|
4089
4090
|
}
|
|
4090
4091
|
}
|
|
4091
4092
|
function Uf(e) {
|
|
4092
|
-
let { pageTracker: t } =
|
|
4093
|
+
let { pageTracker: t } = dt();
|
|
4093
4094
|
return t?.exclude ? typeof t.exclude == "function" ? t.exclude(e) : t.exclude?.some(({ name: a, path: n } = {}) => a && a === e.name || n && n === e.path) : !1;
|
|
4094
4095
|
}
|
|
4095
4096
|
function Cs(e) {
|
|
4096
|
-
let { pageTracker: t, hooks: a } =
|
|
4097
|
+
let { pageTracker: t, hooks: a } = dt();
|
|
4097
4098
|
if (Uf(e)) return;
|
|
4098
4099
|
a?.["router:track:before"]?.(e);
|
|
4099
4100
|
let n;
|
|
@@ -4107,7 +4108,7 @@ function Cs(e) {
|
|
|
4107
4108
|
a?.["router:track:after"]?.(e);
|
|
4108
4109
|
}
|
|
4109
4110
|
async function Hf() {
|
|
4110
|
-
let { pageTracker: e } =
|
|
4111
|
+
let { pageTracker: e } = dt();
|
|
4111
4112
|
if (!e?.router) return;
|
|
4112
4113
|
let { router: t } = e;
|
|
4113
4114
|
await t.isReady(), Cs(t.currentRoute.value), t.afterEach((a, n) => {
|
|
@@ -4115,7 +4116,7 @@ async function Hf() {
|
|
|
4115
4116
|
});
|
|
4116
4117
|
}
|
|
4117
4118
|
async function Vf() {
|
|
4118
|
-
let { resource: e, dataLayerName: t, tagId: a, pageTracker: n, hooks: r } =
|
|
4119
|
+
let { resource: e, dataLayerName: t, tagId: a, pageTracker: n, hooks: r } = dt();
|
|
4119
4120
|
if (a && (Bf(), n?.router && Hf(), e.inject)) try {
|
|
4120
4121
|
await Lf(`${e.url}?id=${a}&l=${t}`, { preconnect: e.preconnect, defer: e.defer, nonce: e.nonce }), r?.["script:loaded"]?.();
|
|
4121
4122
|
} catch (o) {
|
|
@@ -4123,13 +4124,13 @@ async function Vf() {
|
|
|
4123
4124
|
}
|
|
4124
4125
|
}
|
|
4125
4126
|
function Wf() {
|
|
4126
|
-
let { initMode: e } =
|
|
4127
|
+
let { initMode: e } = dt();
|
|
4127
4128
|
e !== "manual" && Vf();
|
|
4128
4129
|
}
|
|
4129
4130
|
function qf(e) {
|
|
4130
4131
|
Mf(e), Wf();
|
|
4131
4132
|
}
|
|
4132
|
-
const rc =
|
|
4133
|
+
const rc = Bt("applyGiftCard", () => {
|
|
4133
4134
|
const { display: e } = sa(), t = N(0), a = N(""), n = N(""), r = N(""), o = N(!1), i = N(!1);
|
|
4134
4135
|
async function s() {
|
|
4135
4136
|
a.value !== "" ? (i.value = !0, await de().get("/gift-card/validate", {
|
|
@@ -4145,20 +4146,20 @@ const rc = jt("applyGiftCard", () => {
|
|
|
4145
4146
|
productName: b
|
|
4146
4147
|
} = c.data;
|
|
4147
4148
|
u ? (t.value = f, n.value = y, r.value = b, o.value = !0, e({
|
|
4148
|
-
message:
|
|
4149
|
+
message: x.t("alert.success.giftCardApplied"),
|
|
4149
4150
|
type: "success"
|
|
4150
4151
|
})) : (o.value = !1, e({
|
|
4151
|
-
message:
|
|
4152
|
+
message: x.t("alert.error.giftCardInvalid"),
|
|
4152
4153
|
type: "warning"
|
|
4153
4154
|
}));
|
|
4154
4155
|
}), i.value = !1) : e({
|
|
4155
|
-
message:
|
|
4156
|
+
message: x.t("alert.error.giftCardEmpty"),
|
|
4156
4157
|
type: "error"
|
|
4157
4158
|
});
|
|
4158
4159
|
}
|
|
4159
4160
|
function l() {
|
|
4160
4161
|
t.value = 0, a.value = "", o.value = !1, e({
|
|
4161
|
-
message:
|
|
4162
|
+
message: x.t("alert.success.giftCardRemoved"),
|
|
4162
4163
|
type: "success"
|
|
4163
4164
|
});
|
|
4164
4165
|
}
|
|
@@ -4172,8 +4173,8 @@ const rc = jt("applyGiftCard", () => {
|
|
|
4172
4173
|
apply: s,
|
|
4173
4174
|
reset: l
|
|
4174
4175
|
};
|
|
4175
|
-
}), oc =
|
|
4176
|
-
const { display: e } = sa(), { paymentGatewayId: t } = aa(
|
|
4176
|
+
}), oc = Bt("payment", () => {
|
|
4177
|
+
const { display: e } = sa(), { paymentGatewayId: t } = aa(wt()), a = N({}), n = N(), r = N(NaN), o = p(() => t.value !== Xt.None), i = p(() => a.value && a.value.guest ? a.value.guest.name : ""), s = p(() => a.value && a.value.guest ? a.value.guest.email : ""), l = p(() => a.value && a.value.guest ? a.value.guest.phone : ""), c = p(() => a.value.adults), u = p(() => a.value.children), f = p(() => a.value.totalPrice || 0), y = p(() => a.value.totalVAT || 0), b = p(() => a.value.offerDate), S = p(() => f.value - y.value), d = p(() => a.value.orderLines), m = p(() => d.value ? d.value.length > 0 : !1);
|
|
4177
4178
|
function h() {
|
|
4178
4179
|
de().put("/capture/confirm", {
|
|
4179
4180
|
confirmationId: n.value
|
|
@@ -4210,7 +4211,7 @@ const rc = jt("applyGiftCard", () => {
|
|
|
4210
4211
|
if (!w.error)
|
|
4211
4212
|
if (!w.offer)
|
|
4212
4213
|
e({
|
|
4213
|
-
message:
|
|
4214
|
+
message: x.t("booking.other.errorMessage"),
|
|
4214
4215
|
type: "warning"
|
|
4215
4216
|
});
|
|
4216
4217
|
else if (a.value = w.offer, n.value = w.confirmationId, r.value = w.offer.id, w.easyPayment)
|
|
@@ -4221,12 +4222,12 @@ const rc = jt("applyGiftCard", () => {
|
|
|
4221
4222
|
);
|
|
4222
4223
|
P.addEventHandler(Lo.Accept, () => {
|
|
4223
4224
|
h(), e({
|
|
4224
|
-
message:
|
|
4225
|
+
message: x.t("alert.success.payment"),
|
|
4225
4226
|
type: "success"
|
|
4226
4227
|
}), k();
|
|
4227
4228
|
}), P.addEventHandler(Lo.Error, () => {
|
|
4228
4229
|
e({
|
|
4229
|
-
message:
|
|
4230
|
+
message: x.t("alert.error.payment"),
|
|
4230
4231
|
type: "warning"
|
|
4231
4232
|
});
|
|
4232
4233
|
});
|
|
@@ -4239,7 +4240,7 @@ const rc = jt("applyGiftCard", () => {
|
|
|
4239
4240
|
}, F = new Dibs.Checkout(P);
|
|
4240
4241
|
F.on("payment-completed", () => {
|
|
4241
4242
|
console.log("Konnectio: Payment completed!"), h(), e({
|
|
4242
|
-
message:
|
|
4243
|
+
message: x.t("alert.success.payment"),
|
|
4243
4244
|
type: "success"
|
|
4244
4245
|
}), k();
|
|
4245
4246
|
}), F.on("pay-initialized", () => {
|
|
@@ -4270,37 +4271,37 @@ const rc = jt("applyGiftCard", () => {
|
|
|
4270
4271
|
pay: v,
|
|
4271
4272
|
clearOfferId: A
|
|
4272
4273
|
};
|
|
4273
|
-
}), Kf = z1, vi = Kf(), ic =
|
|
4274
|
-
const e = gi(), t = sc(), a = oc(), { voucher: n, amount: r } = aa(rc()), { display: o } = sa(), { metaData: i } = aa(
|
|
4274
|
+
}), Kf = z1, vi = Kf(), ic = Bt("hotel", () => {
|
|
4275
|
+
const e = gi(), t = sc(), a = oc(), { voucher: n, amount: r } = aa(rc()), { display: o } = sa(), { metaData: i } = aa(wt()), s = wt(), l = N({}), c = p(() => {
|
|
4275
4276
|
const E = [];
|
|
4276
|
-
for (const
|
|
4277
|
-
const M = parseInt(
|
|
4277
|
+
for (const z in l.value) {
|
|
4278
|
+
const M = parseInt(z), H = I.value.roomGroups.find((Ot) => Ot.id === M), fe = H?.title || "", $e = {
|
|
4278
4279
|
roomGroupID: M,
|
|
4279
4280
|
title: fe
|
|
4280
4281
|
}, Gt = [];
|
|
4281
|
-
l.value[M].forEach((
|
|
4282
|
-
const Oa =
|
|
4282
|
+
l.value[M].forEach((Ot) => {
|
|
4283
|
+
const Oa = Ot.id, bn = H?.rates.find((za) => za.id === Oa);
|
|
4283
4284
|
if (bn) {
|
|
4284
4285
|
const { name: za, occupantRates: Vr, addons: xa } = bn, Ri = {
|
|
4285
4286
|
ratePlanID: Oa,
|
|
4286
4287
|
name: za,
|
|
4287
4288
|
addons: xa
|
|
4288
4289
|
}, Wr = [];
|
|
4289
|
-
|
|
4290
|
+
Ot.config.forEach((Sn, C1) => {
|
|
4290
4291
|
const Fi = Sn.units, _i = Sn.addons;
|
|
4291
4292
|
if (Fi > 0)
|
|
4292
4293
|
for (let Ma = 0; Ma < Fi; Ma++) {
|
|
4293
|
-
const qr = Vr.find((
|
|
4294
|
+
const qr = Vr.find((zt) => zt.index === Sn.id);
|
|
4294
4295
|
if (!qr) continue;
|
|
4295
4296
|
const { adultsCount: $i, childrenCount: ji } = qr;
|
|
4296
4297
|
let { totalPrice: Bi } = qr;
|
|
4297
|
-
|
|
4298
|
-
(
|
|
4298
|
+
ot.value && (Bi = ot.value.offer.rooms.find(
|
|
4299
|
+
(zt) => zt.ratePlanID === Oa && zt.roomGroupID === M
|
|
4299
4300
|
)?.totalPrice);
|
|
4300
4301
|
const Ui = [];
|
|
4301
4302
|
if (!xa) continue;
|
|
4302
|
-
for (const
|
|
4303
|
-
const Gr = parseInt(
|
|
4303
|
+
for (const zt in _i[Ma]) {
|
|
4304
|
+
const Gr = parseInt(zt), Jr = _i[Ma][Gr];
|
|
4304
4305
|
if (Jr > 0) {
|
|
4305
4306
|
const {
|
|
4306
4307
|
name: A1,
|
|
@@ -4324,7 +4325,7 @@ const rc = jt("applyGiftCard", () => {
|
|
|
4324
4325
|
}
|
|
4325
4326
|
const Kr = Sn.roomId;
|
|
4326
4327
|
let Hi;
|
|
4327
|
-
Kr && (Hi = H?.roomList.find((
|
|
4328
|
+
Kr && (Hi = H?.roomList.find((zt) => zt.id === Kr)?.name), Wr.push({
|
|
4328
4329
|
configIdx: C1,
|
|
4329
4330
|
roomIdx: Ma,
|
|
4330
4331
|
adultsCount: $i,
|
|
@@ -4344,8 +4345,8 @@ const rc = jt("applyGiftCard", () => {
|
|
|
4344
4345
|
});
|
|
4345
4346
|
function u() {
|
|
4346
4347
|
for (const E in l.value) {
|
|
4347
|
-
const
|
|
4348
|
-
l.value[
|
|
4348
|
+
const z = parseInt(E);
|
|
4349
|
+
l.value[z].forEach((M) => {
|
|
4349
4350
|
M.config.forEach((H) => {
|
|
4350
4351
|
H.units = 0;
|
|
4351
4352
|
});
|
|
@@ -4354,11 +4355,11 @@ const rc = jt("applyGiftCard", () => {
|
|
|
4354
4355
|
}
|
|
4355
4356
|
const f = p(() => le.value ? le.value.addons.length === 0 : c.value.every((E) => !y(E)));
|
|
4356
4357
|
function y(E) {
|
|
4357
|
-
return !E.variants?.every((
|
|
4358
|
+
return !E.variants?.every((z) => z.rooms?.every((M) => at(z.addons, M.childrenCount).length === 0));
|
|
4358
4359
|
}
|
|
4359
4360
|
const b = p(() => c.value.length > 0);
|
|
4360
|
-
function S(E,
|
|
4361
|
-
l.value[E][
|
|
4361
|
+
function S(E, z, M) {
|
|
4362
|
+
l.value[E][z].config[M].units = 0;
|
|
4362
4363
|
}
|
|
4363
4364
|
function d(E) {
|
|
4364
4365
|
return I.value.roomGroups.find((M) => M.id === E)?.addons.filter((M) => M.cardinality === Ll.Mandatory).map((M) => ({
|
|
@@ -4371,14 +4372,14 @@ const rc = jt("applyGiftCard", () => {
|
|
|
4371
4372
|
}
|
|
4372
4373
|
const m = p(() => {
|
|
4373
4374
|
const E = [];
|
|
4374
|
-
for (const
|
|
4375
|
-
const M = parseInt(
|
|
4375
|
+
for (const z in Ke.value) {
|
|
4376
|
+
const M = parseInt(z), H = Ke.value[M];
|
|
4376
4377
|
if (H > 0) {
|
|
4377
4378
|
const {
|
|
4378
4379
|
price: fe,
|
|
4379
4380
|
name: $e,
|
|
4380
4381
|
quantityStrategy: Gt
|
|
4381
|
-
} = le.value?.addons.find((
|
|
4382
|
+
} = le.value?.addons.find((Ot) => Ot.id === M);
|
|
4382
4383
|
E.push({
|
|
4383
4384
|
addonID: M,
|
|
4384
4385
|
name: $e,
|
|
@@ -4395,29 +4396,29 @@ const rc = jt("applyGiftCard", () => {
|
|
|
4395
4396
|
}
|
|
4396
4397
|
}
|
|
4397
4398
|
return E;
|
|
4398
|
-
}), h = p(() => m.value.reduce((E, { totalPrice:
|
|
4399
|
+
}), h = p(() => m.value.reduce((E, { totalPrice: z }) => E + z, 0)), v = p(() => {
|
|
4399
4400
|
let E = 0;
|
|
4400
|
-
const
|
|
4401
|
+
const z = 0 - r.value;
|
|
4401
4402
|
if (_.value && le.value) {
|
|
4402
4403
|
const M = d(le.value.id) || [];
|
|
4403
|
-
E =
|
|
4404
|
+
E = z + ve.value + h.value + A.value + M.reduce((H, { totalPrice: fe }) => H + fe, 0);
|
|
4404
4405
|
} else {
|
|
4405
|
-
const M = c.value.flatMap(({ variants: H }) => H).flatMap(({ rooms: H }) => H).reduce((H, { totalPrice: fe }) => H + fe,
|
|
4406
|
+
const M = c.value.flatMap(({ variants: H }) => H).flatMap(({ rooms: H }) => H).reduce((H, { totalPrice: fe }) => H + fe, z);
|
|
4406
4407
|
E = c.value.flatMap(({ variants: H }) => H).flatMap(({ rooms: H }) => H).flatMap(({ roomAddons: H }) => H).reduce((H, { totalPrice: fe }) => H + fe, M);
|
|
4407
4408
|
}
|
|
4408
|
-
return E;
|
|
4409
|
-
}), A = p(() => B.value ? B.value.weekendFee : 0), k = p(() => c.value.flatMap(({ variants: E }) => E).flatMap(({ rooms: E }) => E)), w = p(() => _.value ? 1 : k.value.length), P = p(() => _.value ? se.value : k.value.reduce((E, { adultsCount:
|
|
4409
|
+
return tt.value && tt.value?.providesDiscount && (E = E - E * (tt.value.discountPercent / 100)), E;
|
|
4410
|
+
}), A = p(() => B.value ? B.value.weekendFee : 0), k = p(() => c.value.flatMap(({ variants: E }) => E).flatMap(({ rooms: E }) => E)), w = p(() => _.value ? 1 : k.value.length), P = p(() => _.value ? se.value : k.value.reduce((E, { adultsCount: z }) => E + z, 0)), F = p(() => _.value ? ne.value : k.value.reduce((E, { childrenCount: z }) => E + z, 0)), J = p(() => P.value > 0 ? P.value !== e.adults : !1), te = p(() => F.value > 0 ? F.value !== e.children : !1), ae = N(e.arrivalDate), K = N(e.departureDate), se = N(e.adults), ne = N(e.children), D = N(e.location || NaN), q = p(() => ae.value !== e.arrivalDate && K.value !== e.departureDate), Y = p(() => D.value !== e.location), pe = p(() => q.value || Y.value), I = N({}), W = N(!0), me = N(
|
|
4410
4411
|
0
|
|
4411
4412
|
/* InitialState */
|
|
4412
|
-
), Oe = N(NaN), Ke = N({}),
|
|
4413
|
+
), Oe = N(NaN), Ke = N({}), pt = N(NaN), kt = N(""), Ge = N(""), Ht = N(""), Je = N(""), he = N(""), mt = N(null), Ye = Z("konnectio_name", "", void 0, { serializer: X.string }), Xe = Z("konnectio_nameTitle", 2, void 0, { serializer: X.number }), Qe = Z("konnectio_email", "", void 0, { serializer: X.string }), Fe = Z("konnectio_phone", "", void 0, { serializer: X.string }), la = Z("konnectio_company", "", void 0, { serializer: X.string }), ze = Z("konnectio_postal", "", void 0, { serializer: X.string }), Vt = Z("konnectio_city", "", void 0, { serializer: X.string }), ca = Z("konnectio_country", 57, void 0, { serializer: X.number }), Et = Z("konnectio_address", "", void 0, { serializer: X.string }), ua = Z("konnectio_sortingKeys", {
|
|
4413
4414
|
pricesFrom: !1
|
|
4414
|
-
}, void 0, { serializer: X.object }),
|
|
4415
|
+
}, void 0, { serializer: X.object }), Wt = N(""), Lt = N(""), Ze = N(!1), Pt = N(!1), fa = N(!1), qt = N(null), Dt = N(void 0), et = N(), Kt = N(), _ = p(() => !isNaN(Oe.value)), Ne = p(() => s.metaData.hotels.findIndex((E) => E.id === e.location) || 0), Ce = p(() => s.metaData.hotels[Ne.value]), Ta = p(() => s.metaData.hotels && s.metaData.hotels.length > 1), xr = p(() => s.metaData.hotels ? s.metaData.hotels.flatMap((E) => ({
|
|
4415
4416
|
id: E.id,
|
|
4416
4417
|
name: E.name
|
|
4417
|
-
})) : []), dn = p(() => !!
|
|
4418
|
+
})) : []), dn = p(() => !!mt.value), pn = p(() => Ce.value.termsOfService ? Ce.value.termsOfService : ""), Mr = p(() => Ce.value.hotelMapImage ? Ce.value.hotelMapImage : null), Ir = p(() => Ce.value.useDiscountCard ? Ce.value.useDiscountCard : !1), ka = p(() => pn.value !== ""), Rr = p(() => Ce.value.country ? Ce.value.country.name : ""), Fr = p(() => s.metaData.countries ? s.metaData.countries : []), Ea = p(() => s.metaData.cardTypes ? s.metaData.cardTypes : []), mn = p(() => Ea.value.map((E) => ({
|
|
4418
4419
|
value: E.name,
|
|
4419
4420
|
label: E.shortDescription
|
|
4420
|
-
}))),
|
|
4421
|
+
}))), tt = p(() => Ea.value.find((E) => E.name === Dt.value?.cardType)), _r = p(() => Ce.value.name ? Ce.value.name : ""), $r = p(() => s.metaData && Object.keys(s.metaData).length !== 0), Na = p(() => Object.keys(I.value).length !== 0), jr = p(() => !(!Ye.value[1] || !Qe.value || !(Fe.value.length >= 5) || !ze.value || !Vt.value || !Et.value)), Br = p(() => me.value === 1 && W.value), Ur = p(() => me.value === 3 && W.value), L = p(() => Na.value ? I.value.templates.concat(I.value.specialTemplates) : []), B = p(() => {
|
|
4421
4422
|
if (L.value.length > 0)
|
|
4422
4423
|
return L.value.find(
|
|
4423
4424
|
(E) => E.id === Oe.value
|
|
@@ -4426,34 +4427,34 @@ const rc = jt("applyGiftCard", () => {
|
|
|
4426
4427
|
function re(E) {
|
|
4427
4428
|
if (B.value)
|
|
4428
4429
|
return B.value.templateRoomGroups.find(
|
|
4429
|
-
(
|
|
4430
|
+
(z) => z.roomGroupID === E
|
|
4430
4431
|
);
|
|
4431
4432
|
}
|
|
4432
4433
|
const le = p(() => {
|
|
4433
4434
|
if (B.value)
|
|
4434
4435
|
return B.value.templateRoomGroups.find(
|
|
4435
|
-
(E) => E.id ===
|
|
4436
|
+
(E) => E.id === pt.value
|
|
4436
4437
|
);
|
|
4437
|
-
}), ve = p(() =>
|
|
4438
|
-
function
|
|
4438
|
+
}), ve = p(() => ot.value ? ot.value.offer.offerTemplates[0].totalPrice : le.value?.extraPrice || 0);
|
|
4439
|
+
function at(E, z) {
|
|
4439
4440
|
let M = [];
|
|
4440
|
-
E && (M = E.filter((fe) => !((fe.quantityStrategy === ce.PerChild || fe.quantityStrategy === ce.PerChildPerNight) &&
|
|
4441
|
+
E && (M = E.filter((fe) => !((fe.quantityStrategy === ce.PerChild || fe.quantityStrategy === ce.PerChildPerNight) && z == 0)));
|
|
4441
4442
|
const H = Object.groupBy(M, (fe) => fe.image ? 0 : 1);
|
|
4442
4443
|
return H[0] ? H[0].concat(H[1] || []) : M;
|
|
4443
4444
|
}
|
|
4444
|
-
function
|
|
4445
|
+
function nt(E) {
|
|
4445
4446
|
return I.value.roomGroups.find(
|
|
4446
|
-
(
|
|
4447
|
+
(z) => z.id === E
|
|
4447
4448
|
);
|
|
4448
4449
|
}
|
|
4449
|
-
function
|
|
4450
|
-
return `[REMARKS]: ${
|
|
4451
|
-
[ALLERGIES]: ${
|
|
4450
|
+
function rt(E, z) {
|
|
4451
|
+
return `[REMARKS]: ${Wt.value} \r
|
|
4452
|
+
[ALLERGIES]: ${Lt.value} \r
|
|
4452
4453
|
[REQUESTED ARRIVAL]: ${E} \r
|
|
4453
|
-
[REQUESTED DEPARTURE]: ${
|
|
4454
|
+
[REQUESTED DEPARTURE]: ${z}`;
|
|
4454
4455
|
}
|
|
4455
|
-
function _e(E,
|
|
4456
|
-
const $e = (
|
|
4456
|
+
function _e(E, z, M, H) {
|
|
4457
|
+
const $e = (z ? M : H ? Ge.value : Ht.value).split(":");
|
|
4457
4458
|
return Hu(
|
|
4458
4459
|
new Date(E).setUTCHours(parseInt($e[0]), parseInt($e[1]), 0, 0)
|
|
4459
4460
|
);
|
|
@@ -4475,7 +4476,7 @@ const rc = jt("applyGiftCard", () => {
|
|
|
4475
4476
|
i.value = E;
|
|
4476
4477
|
} catch {
|
|
4477
4478
|
o({
|
|
4478
|
-
message:
|
|
4479
|
+
message: x.t("alert.error.couldntFetchMetadata"),
|
|
4479
4480
|
type: "warning"
|
|
4480
4481
|
});
|
|
4481
4482
|
}
|
|
@@ -4484,25 +4485,25 @@ const rc = jt("applyGiftCard", () => {
|
|
|
4484
4485
|
const Pa = N(), vn = p(() => Pa.value?.name);
|
|
4485
4486
|
async function Da(E) {
|
|
4486
4487
|
try {
|
|
4487
|
-
const
|
|
4488
|
-
if (
|
|
4488
|
+
const z = await de().post("/hotel/check-guest-discount", { guestDiscountId: E });
|
|
4489
|
+
if (z.data.isValid) {
|
|
4489
4490
|
o({
|
|
4490
|
-
message:
|
|
4491
|
+
message: x.t("alert.success.guestDiscountCodeApplied"),
|
|
4491
4492
|
type: "success"
|
|
4492
4493
|
});
|
|
4493
|
-
const M =
|
|
4494
|
+
const M = z.data.guestDiscount;
|
|
4494
4495
|
return Pa.value = M, Mi(M.id), e.updateDates(
|
|
4495
4496
|
new Date(M.periods[0].fromDate),
|
|
4496
4497
|
new Date(M.periods[0].toDate)
|
|
4497
4498
|
), !0;
|
|
4498
4499
|
}
|
|
4499
4500
|
return o({
|
|
4500
|
-
message:
|
|
4501
|
+
message: x.t("alert.error.guestDiscountCodeInvalid"),
|
|
4501
4502
|
type: "error"
|
|
4502
4503
|
}), !1;
|
|
4503
4504
|
} catch {
|
|
4504
4505
|
return o({
|
|
4505
|
-
message:
|
|
4506
|
+
message: x.t("booking.other.errorMessage"),
|
|
4506
4507
|
type: "error"
|
|
4507
4508
|
}), !1;
|
|
4508
4509
|
}
|
|
@@ -4512,25 +4513,25 @@ const rc = jt("applyGiftCard", () => {
|
|
|
4512
4513
|
let E = e.location;
|
|
4513
4514
|
isNaN(E) && (E = null);
|
|
4514
4515
|
try {
|
|
4515
|
-
const
|
|
4516
|
+
const z = await de().get("/hotel/availability", {
|
|
4516
4517
|
params: {
|
|
4517
4518
|
fromDate: Ie(e.arrivalDate),
|
|
4518
4519
|
toDate: Ie(e.departureDate),
|
|
4519
4520
|
adultsCount: e.adults,
|
|
4520
4521
|
childrenCount: e.children,
|
|
4521
4522
|
roomGroupIds: s.hasActiveIdFilter ? s.activeIdFilter : null,
|
|
4522
|
-
guestDiscountId: dn.value ?
|
|
4523
|
+
guestDiscountId: dn.value ? mt.value : null,
|
|
4523
4524
|
language: Te(),
|
|
4524
4525
|
hotelId: E
|
|
4525
4526
|
}
|
|
4526
4527
|
});
|
|
4527
|
-
|
|
4528
|
-
message: `${
|
|
4528
|
+
z.status !== 200 ? o({
|
|
4529
|
+
message: `${x.t("booking.other.errorMessage")} (HTTP: ${z.status})`,
|
|
4529
4530
|
type: "warning"
|
|
4530
|
-
}) : (I.value =
|
|
4531
|
+
}) : (I.value = z.data, se.value = e.adults, ne.value = e.children, ae.value = e.arrivalDate, K.value = e.departureDate, D.value = e.location, Ge.value = s.defaultArrivalTime(D.value), Ht.value = s.defaultDepartureTime(D.value), vi.emit("scrollToTop"), t.viewItemList());
|
|
4531
4532
|
} catch {
|
|
4532
4533
|
o({
|
|
4533
|
-
message:
|
|
4534
|
+
message: x.t("alert.error.couldntFetchListings"),
|
|
4534
4535
|
type: "warning"
|
|
4535
4536
|
});
|
|
4536
4537
|
}
|
|
@@ -4540,12 +4541,12 @@ const rc = jt("applyGiftCard", () => {
|
|
|
4540
4541
|
await Promise.all([hn(), e.fetchMetadata()]);
|
|
4541
4542
|
}
|
|
4542
4543
|
function Hr(E = !1) {
|
|
4543
|
-
const
|
|
4544
|
+
const z = [];
|
|
4544
4545
|
isNaN(Oe.value) ? c.value.forEach(({ variants: fe, roomGroupID: $e }) => {
|
|
4545
4546
|
const Gt = d($e);
|
|
4546
|
-
fe?.forEach(({ rooms:
|
|
4547
|
-
|
|
4548
|
-
|
|
4547
|
+
fe?.forEach(({ rooms: Ot, ratePlanID: Oa }) => {
|
|
4548
|
+
Ot?.forEach(({ adultsCount: bn, childrenCount: za, roomAddons: Vr, roomId: xa }) => {
|
|
4549
|
+
z.push({
|
|
4549
4550
|
roomGroupID: $e,
|
|
4550
4551
|
ratePlanID: Oa,
|
|
4551
4552
|
adultsCount: bn,
|
|
@@ -4560,13 +4561,13 @@ const rc = jt("applyGiftCard", () => {
|
|
|
4560
4561
|
});
|
|
4561
4562
|
});
|
|
4562
4563
|
});
|
|
4563
|
-
}) :
|
|
4564
|
+
}) : z.push({
|
|
4564
4565
|
templateID: Oe.value,
|
|
4565
|
-
roomGroupID:
|
|
4566
|
+
roomGroupID: pt.value,
|
|
4566
4567
|
ratePlanID: null,
|
|
4567
4568
|
adultsCount: se.value,
|
|
4568
4569
|
childrenCount: ne.value,
|
|
4569
|
-
roomAddons: m.value.concat(d(
|
|
4570
|
+
roomAddons: m.value.concat(d(pt.value) || []),
|
|
4570
4571
|
guest: {
|
|
4571
4572
|
title: rs(Xe.value),
|
|
4572
4573
|
guestID: 0,
|
|
@@ -4576,15 +4577,15 @@ const rc = jt("applyGiftCard", () => {
|
|
|
4576
4577
|
newsmails: Ze.value
|
|
4577
4578
|
}
|
|
4578
4579
|
});
|
|
4579
|
-
let M =
|
|
4580
|
+
let M = D.value;
|
|
4580
4581
|
return isNaN(M) && (M = null), {
|
|
4581
|
-
offerID:
|
|
4582
|
+
offerID: ot.value ? ot.value.offer.id : null,
|
|
4582
4583
|
totalPrice: v.value,
|
|
4583
4584
|
fromDate: Ie(ae.value),
|
|
4584
|
-
toDate: Ie(
|
|
4585
|
+
toDate: Ie(K.value),
|
|
4585
4586
|
hotelId: M,
|
|
4586
4587
|
guest: {
|
|
4587
|
-
travellingFor:
|
|
4588
|
+
travellingFor: kt.value,
|
|
4588
4589
|
title: rs(Xe.value),
|
|
4589
4590
|
guestID: 0,
|
|
4590
4591
|
name: Ye.value,
|
|
@@ -4592,86 +4593,86 @@ const rc = jt("applyGiftCard", () => {
|
|
|
4592
4593
|
firmName: la.value,
|
|
4593
4594
|
phone: Fe.value,
|
|
4594
4595
|
country: ca.value,
|
|
4595
|
-
address1:
|
|
4596
|
+
address1: Et.value,
|
|
4596
4597
|
postal: String(ze.value),
|
|
4597
|
-
city:
|
|
4598
|
+
city: Vt.value,
|
|
4598
4599
|
newsmails: Ze.value
|
|
4599
4600
|
},
|
|
4600
4601
|
giftCardCode: n.value,
|
|
4601
4602
|
discountCode: E ? he.value : Je.value,
|
|
4602
|
-
selectedRooms:
|
|
4603
|
-
remark:
|
|
4604
|
-
_e(ae.value, !s.hasUserArrivalSelection(
|
|
4605
|
-
_e(
|
|
4603
|
+
selectedRooms: z,
|
|
4604
|
+
remark: rt(
|
|
4605
|
+
_e(ae.value, !s.hasUserArrivalSelection(D.value), s.defaultArrivalTime(D.value), !0),
|
|
4606
|
+
_e(K.value, !s.hasUserDepartureSelection(D.value), s.defaultDepartureTime(D.value), !1)
|
|
4606
4607
|
),
|
|
4607
4608
|
checkoutUrl: window.location.origin,
|
|
4608
4609
|
privacyUrl: window.location.origin,
|
|
4609
4610
|
termsOfserviceURL: window.location.origin,
|
|
4610
|
-
memberCard:
|
|
4611
|
+
memberCard: Dt.value
|
|
4611
4612
|
};
|
|
4612
4613
|
}
|
|
4613
|
-
const
|
|
4614
|
+
const ot = N(), yn = N(!1);
|
|
4614
4615
|
async function m1() {
|
|
4615
4616
|
Je.value !== "" ? (yn.value = !0, de().post("/hotel/validate-discount-code", Hr()).then((E) => {
|
|
4616
4617
|
yn.value = !1;
|
|
4617
|
-
const
|
|
4618
|
-
|
|
4619
|
-
message:
|
|
4618
|
+
const z = E.data;
|
|
4619
|
+
z.discountApplyed === !0 ? (ot.value = z, he.value = Je.value, Je.value = "", o({
|
|
4620
|
+
message: x.t("alert.success.discountCodeApplied"),
|
|
4620
4621
|
type: "success"
|
|
4621
|
-
})) :
|
|
4622
|
-
message:
|
|
4622
|
+
})) : z.error == "CodeNotApplicable" ? o({
|
|
4623
|
+
message: x.t("alert.error.discountCodeNotApplicable"),
|
|
4623
4624
|
type: "error"
|
|
4624
4625
|
}) : o({
|
|
4625
|
-
message:
|
|
4626
|
+
message: x.t("alert.error.discountCodeInvalid"),
|
|
4626
4627
|
type: "error"
|
|
4627
4628
|
});
|
|
4628
4629
|
}).catch(() => {
|
|
4629
4630
|
yn.value = !1, o({
|
|
4630
|
-
message: `${
|
|
4631
|
+
message: `${x.t("alert.error.discountCodeValidation")}`,
|
|
4631
4632
|
type: "warning"
|
|
4632
4633
|
});
|
|
4633
4634
|
})) : o({
|
|
4634
|
-
message:
|
|
4635
|
+
message: x.t("alert.error.discountCodeEmpty"),
|
|
4635
4636
|
type: "error"
|
|
4636
4637
|
});
|
|
4637
4638
|
}
|
|
4638
|
-
const h1 = p(() =>
|
|
4639
|
+
const h1 = p(() => ot.value?.offer.properties);
|
|
4639
4640
|
function xi() {
|
|
4640
|
-
|
|
4641
|
+
ot.value = void 0, Je.value = "", he.value = "";
|
|
4641
4642
|
}
|
|
4642
4643
|
async function v1() {
|
|
4643
|
-
if (
|
|
4644
|
+
if (qt.value && et.value) {
|
|
4644
4645
|
const E = {
|
|
4645
|
-
cardType:
|
|
4646
|
+
cardType: qt.value,
|
|
4646
4647
|
cardNumber: String(et.value),
|
|
4647
|
-
controlNr:
|
|
4648
|
+
controlNr: Kt.value,
|
|
4648
4649
|
postalCode: String(ze.value)
|
|
4649
4650
|
};
|
|
4650
|
-
de().post("/hotel/validate-card-number", E).then((
|
|
4651
|
-
|
|
4652
|
-
message:
|
|
4651
|
+
de().post("/hotel/validate-card-number", E).then((z) => {
|
|
4652
|
+
z.status === 200 && (z.data.success === !0 ? (Dt.value = E, o({
|
|
4653
|
+
message: x.t("alert.success.memberCardValid"),
|
|
4653
4654
|
type: "success"
|
|
4654
4655
|
})) : o({
|
|
4655
|
-
message:
|
|
4656
|
+
message: x.t("alert.error.memberCardInvalid"),
|
|
4656
4657
|
type: "error"
|
|
4657
4658
|
}));
|
|
4658
4659
|
});
|
|
4659
4660
|
} else
|
|
4660
4661
|
o({
|
|
4661
|
-
message:
|
|
4662
|
+
message: x.t("alert.error.memberCardEmpty"),
|
|
4662
4663
|
type: "error"
|
|
4663
4664
|
});
|
|
4664
4665
|
}
|
|
4665
|
-
async function g1(E,
|
|
4666
|
+
async function g1(E, z) {
|
|
4666
4667
|
if (fa.value === !1 && ka.value) {
|
|
4667
4668
|
o({
|
|
4668
|
-
message:
|
|
4669
|
+
message: x.t("alert.error.acceptTerms", { terms: x.t("general.termsAndConditions") }),
|
|
4669
4670
|
type: "error"
|
|
4670
4671
|
});
|
|
4671
4672
|
return;
|
|
4672
4673
|
}
|
|
4673
4674
|
me.value = 3, W.value = !0, await de().post("/hotel/create-reservation", Hr(!0)).then((M) => {
|
|
4674
|
-
|
|
4675
|
+
Pt.value = !1, W.value = !1;
|
|
4675
4676
|
try {
|
|
4676
4677
|
a.pay({
|
|
4677
4678
|
callback: E,
|
|
@@ -4679,7 +4680,7 @@ const rc = jt("applyGiftCard", () => {
|
|
|
4679
4680
|
});
|
|
4680
4681
|
} catch {
|
|
4681
4682
|
me.value = 2, o({
|
|
4682
|
-
message:
|
|
4683
|
+
message: x.t("booking.other.errorMessage"),
|
|
4683
4684
|
type: "warning"
|
|
4684
4685
|
});
|
|
4685
4686
|
}
|
|
@@ -4687,33 +4688,33 @@ const rc = jt("applyGiftCard", () => {
|
|
|
4687
4688
|
W.value = !1;
|
|
4688
4689
|
const { status: H } = M.response;
|
|
4689
4690
|
H === 503 ? (me.value = 1, o({
|
|
4690
|
-
message:
|
|
4691
|
+
message: x.t("alert.error.noRoomAvailable"),
|
|
4691
4692
|
type: "warning"
|
|
4692
|
-
}),
|
|
4693
|
-
message:
|
|
4693
|
+
}), z(), S1()) : (me.value = 2, o({
|
|
4694
|
+
message: x.t("booking.other.errorMessage"),
|
|
4694
4695
|
type: "warning"
|
|
4695
4696
|
}));
|
|
4696
4697
|
});
|
|
4697
4698
|
}
|
|
4698
4699
|
async function y1({
|
|
4699
4700
|
id: E,
|
|
4700
|
-
reason:
|
|
4701
|
+
reason: z,
|
|
4701
4702
|
remark: M
|
|
4702
4703
|
}) {
|
|
4703
4704
|
await de().post("/hotel/cancel-reservation", {
|
|
4704
4705
|
id: E,
|
|
4705
|
-
reason:
|
|
4706
|
+
reason: z,
|
|
4706
4707
|
remark: M
|
|
4707
4708
|
});
|
|
4708
4709
|
}
|
|
4709
4710
|
function Mi(E) {
|
|
4710
|
-
|
|
4711
|
+
mt.value = E;
|
|
4711
4712
|
}
|
|
4712
4713
|
function b1() {
|
|
4713
|
-
|
|
4714
|
+
mt.value = null;
|
|
4714
4715
|
}
|
|
4715
4716
|
function Ii() {
|
|
4716
|
-
Oe.value = NaN,
|
|
4717
|
+
Oe.value = NaN, pt.value = NaN, Ke.value = {};
|
|
4717
4718
|
}
|
|
4718
4719
|
function S1() {
|
|
4719
4720
|
u(), xi(), Ii();
|
|
@@ -4731,18 +4732,18 @@ const rc = jt("applyGiftCard", () => {
|
|
|
4731
4732
|
locationMismatch: Y,
|
|
4732
4733
|
totalTemplateAddonPrice: h,
|
|
4733
4734
|
hasTermOfService: ka,
|
|
4734
|
-
currentDepartureDate:
|
|
4735
|
+
currentDepartureDate: K,
|
|
4735
4736
|
currentArrivalDate: ae,
|
|
4736
4737
|
currentAdults: se,
|
|
4737
4738
|
currentChildren: ne,
|
|
4738
|
-
currentLocation:
|
|
4739
|
+
currentLocation: D,
|
|
4739
4740
|
isValidatingDiscountCode: yn,
|
|
4740
4741
|
discountVouchers: h1,
|
|
4741
4742
|
discountCode: Je,
|
|
4742
|
-
datesMismatch:
|
|
4743
|
+
datesMismatch: q,
|
|
4743
4744
|
appliedDiscountCode: he,
|
|
4744
4745
|
hasGuestDiscountId: dn,
|
|
4745
|
-
guestDiscountId:
|
|
4746
|
+
guestDiscountId: mt,
|
|
4746
4747
|
hasMemberCards: Ir,
|
|
4747
4748
|
getMandatoryRoomGroupAddons: d,
|
|
4748
4749
|
resetDiscountVoucher: xi,
|
|
@@ -4751,8 +4752,8 @@ const rc = jt("applyGiftCard", () => {
|
|
|
4751
4752
|
setGuestDiscountId: Mi,
|
|
4752
4753
|
clearGuestDiscountId: b1,
|
|
4753
4754
|
validateMemberCard: v1,
|
|
4754
|
-
selectedMemberCardData:
|
|
4755
|
-
selectedMemberCardObject:
|
|
4755
|
+
selectedMemberCardData: tt,
|
|
4756
|
+
selectedMemberCardObject: Dt,
|
|
4756
4757
|
isTemplateReservation: _,
|
|
4757
4758
|
selectionHasNoAddons: f,
|
|
4758
4759
|
guestDiscountName: vn,
|
|
@@ -4768,24 +4769,24 @@ const rc = jt("applyGiftCard", () => {
|
|
|
4768
4769
|
moduleState: me,
|
|
4769
4770
|
templateAddons: Ke,
|
|
4770
4771
|
templateID: Oe,
|
|
4771
|
-
roomGroupID:
|
|
4772
|
-
travelingFor:
|
|
4772
|
+
roomGroupID: pt,
|
|
4773
|
+
travelingFor: kt,
|
|
4773
4774
|
arrivalTime: Ge,
|
|
4774
|
-
departureTime:
|
|
4775
|
+
departureTime: Ht,
|
|
4775
4776
|
name: Ye,
|
|
4776
4777
|
nameTitle: Xe,
|
|
4777
4778
|
email: Qe,
|
|
4778
4779
|
phone: Fe,
|
|
4779
4780
|
firmName: la,
|
|
4780
4781
|
postal: ze,
|
|
4781
|
-
city:
|
|
4782
|
+
city: Vt,
|
|
4782
4783
|
country: ca,
|
|
4783
|
-
address:
|
|
4784
|
-
remark:
|
|
4785
|
-
allergies:
|
|
4784
|
+
address: Et,
|
|
4785
|
+
remark: Wt,
|
|
4786
|
+
allergies: Lt,
|
|
4786
4787
|
newsMails: Ze,
|
|
4787
4788
|
roomDisplay: c,
|
|
4788
|
-
isPaymentInitialized:
|
|
4789
|
+
isPaymentInitialized: Pt,
|
|
4789
4790
|
hotelCountry: Rr,
|
|
4790
4791
|
countries: Fr,
|
|
4791
4792
|
title: _r,
|
|
@@ -4794,7 +4795,7 @@ const rc = jt("applyGiftCard", () => {
|
|
|
4794
4795
|
totalPrice: v,
|
|
4795
4796
|
selectedPackage: B,
|
|
4796
4797
|
isPaymentLoading: Ur,
|
|
4797
|
-
getSingleListing:
|
|
4798
|
+
getSingleListing: nt,
|
|
4798
4799
|
getSpecifiedPackageRoom: re,
|
|
4799
4800
|
getBasePrice: La,
|
|
4800
4801
|
getSelectedPackageRoom: le,
|
|
@@ -4806,24 +4807,24 @@ const rc = jt("applyGiftCard", () => {
|
|
|
4806
4807
|
resetTemplate: Ii,
|
|
4807
4808
|
initialize: w1,
|
|
4808
4809
|
reservationPayload: Hr,
|
|
4809
|
-
filterAddons:
|
|
4810
|
+
filterAddons: at,
|
|
4810
4811
|
cancelReservation: y1,
|
|
4811
4812
|
hasAvailableRoomAddons: y,
|
|
4812
4813
|
checkGuestDiscount: Da,
|
|
4813
4814
|
templateRoomTotalPrice: ve,
|
|
4814
|
-
discountPayload:
|
|
4815
|
+
discountPayload: ot,
|
|
4815
4816
|
acceptTerms: fa,
|
|
4816
4817
|
sortingKeys: ua,
|
|
4817
4818
|
weekendFee: A,
|
|
4818
4819
|
hotelMapImage: Mr,
|
|
4819
4820
|
memberCards: Ea,
|
|
4820
4821
|
memberCardList: mn,
|
|
4821
|
-
selectedMemberCard:
|
|
4822
|
-
memberCardControlNumber:
|
|
4822
|
+
selectedMemberCard: qt,
|
|
4823
|
+
memberCardControlNumber: Kt,
|
|
4823
4824
|
memberCardNumber: et
|
|
4824
4825
|
};
|
|
4825
|
-
}), sc =
|
|
4826
|
-
const e =
|
|
4826
|
+
}), sc = Bt("tracking", () => {
|
|
4827
|
+
const e = wt(), t = ic(), a = cc(), n = p(() => {
|
|
4827
4828
|
const d = [];
|
|
4828
4829
|
return t.roomDisplay.forEach(({ variants: m }) => {
|
|
4829
4830
|
m?.forEach(({ rooms: h, name: v }) => {
|
|
@@ -4944,15 +4945,15 @@ const rc = jt("applyGiftCard", () => {
|
|
|
4944
4945
|
beginEventCheckout: S,
|
|
4945
4946
|
viewItemList: s
|
|
4946
4947
|
};
|
|
4947
|
-
}),
|
|
4948
|
-
const e = gi(), t = sc(), { display: a } = sa(), n = Z("k_utils_settings", {}, void 0, { serializer: X.object }), r = N([]), o = N({}), i = p(() => (_) => r.value[_] ? !r.value[_].disableChildSelection : !0), s = p(() => (_) => r.value[_] ? !r.value[_].hideArrivalDepartureInputs : !1), l = p(() => (_) => r.value[_] ? !r.value[_].disableArrivalUserSelection : !1), c = p(() => (_) => r.value[_] ? !r.value[_].disableDepartureUserSelection : !1), u = p(() => (_) => r.value[_].arrivalEarliest), f = p(() => (_) => r.value[_].arrivalDefault), y = p(() => (_) => r.value[_].arrivalLatest), b = p(() => (_) => r.value[_].departureEarliest), S = p(() => (_) => r.value[_].departureDefault), d = p(() => (_) => r.value[_].departureLatest), m = p(() => n.value.maximumNightsAvailable), h = p(() => n.value.enableTracking), v = p(() => n.value.googleApiKey), A = p(() => n.value.recaptchaSiteKey), k = p(() => n.value.defaultAdultAmount), w = p(() => n.value.defaultChildAmount), P = p(() => n.value.maxAdultAmount), F = p(() => n.value.maxChildAmount), J = p(() => n.value.firstSelectableDateOffset), te = p(() => n.value.lastSelectableDateOffset), ae = p(() => n.value.hideTitle),
|
|
4948
|
+
}), wt = Bt("utilities", () => {
|
|
4949
|
+
const e = gi(), t = sc(), { display: a } = sa(), n = Z("k_utils_settings", {}, void 0, { serializer: X.object }), r = N([]), o = N({}), i = p(() => (_) => r.value[_] ? !r.value[_].disableChildSelection : !0), s = p(() => (_) => r.value[_] ? !r.value[_].hideArrivalDepartureInputs : !1), l = p(() => (_) => r.value[_] ? !r.value[_].disableArrivalUserSelection : !1), c = p(() => (_) => r.value[_] ? !r.value[_].disableDepartureUserSelection : !1), u = p(() => (_) => r.value[_].arrivalEarliest), f = p(() => (_) => r.value[_].arrivalDefault), y = p(() => (_) => r.value[_].arrivalLatest), b = p(() => (_) => r.value[_].departureEarliest), S = p(() => (_) => r.value[_].departureDefault), d = p(() => (_) => r.value[_].departureLatest), m = p(() => n.value.maximumNightsAvailable), h = p(() => n.value.enableTracking), v = p(() => n.value.googleApiKey), A = p(() => n.value.recaptchaSiteKey), k = p(() => n.value.defaultAdultAmount), w = p(() => n.value.defaultChildAmount), P = p(() => n.value.maxAdultAmount), F = p(() => n.value.maxChildAmount), J = p(() => n.value.firstSelectableDateOffset), te = p(() => n.value.lastSelectableDateOffset), ae = p(() => n.value.hideTitle), K = p(() => n.value.headerHeight), se = p(() => n.value.enableStickyHeader), ne = p(() => n.value.disableNamePrefix), D = p(() => n.value.disableGiftCardVoucher), q = p(() => n.value.disableDiscountVoucher), Y = p(() => n.value.disablePricesFrom), pe = p(() => n.value.hideAvailableRoomAmount), I = p(() => n.value.disableNewsletterSignup), W = p(() => n.value.disableTravelingFor), me = p(() => n.value.disableTravelingForBleasure), Oe = p(() => n.value.disableCompanyField), Ke = p(() => n.value.hideEventLength), pt = p(() => n.value.hideEventEndTime), kt = p(() => n.value.hideAvailabilityNotice), Ge = p(() => n.value.autoSelectRateId), Ht = p(() => n.value.splitBookingCalendar), Je = p(() => n.value.hideEventGuestAmount), he = p(() => n.value.hideOptionalLabel), mt = p(() => n.value.enableMultipleConfigurations), Ye = p(() => n.value.selectGiftCardAsDefault), Xe = N(null), Qe = N(""), Fe = N(!1), la = p(() => `Bearer ${Qe.value}`), ze = p(() => !!o.value && !!o.value.hotels), Vt = p(() => ze.value ? o.value.hotels[0].currency.currencyCode : ""), ca = p(() => ze.value ? o.value.hotels[0].currency.id : NaN), Et = p(() => ze.value ? o.value.hotels[0].name : ""), Nt = p(() => ze.value && o.value.hotels[0].paymentGatewayId || Xt.None), ua = p(() => !!A.value), Wt = p(() => !!Xe.value), Lt = p(() => {
|
|
4949
4950
|
let _ = !0;
|
|
4950
|
-
return (
|
|
4951
|
-
}), Ze = () => new Date(new Date((/* @__PURE__ */ new Date()).setDate((/* @__PURE__ */ new Date()).getDate() + J.value)).setHours(12, 0, 0, 0)),
|
|
4951
|
+
return (Nt.value === Xt.None || Nt.value === Xt.AskForCreditCard) && (_ = !1), _;
|
|
4952
|
+
}), Ze = () => new Date(new Date((/* @__PURE__ */ new Date()).setDate((/* @__PURE__ */ new Date()).getDate() + J.value)).setHours(12, 0, 0, 0)), Pt = () => new Date(new Date((/* @__PURE__ */ new Date()).setDate((/* @__PURE__ */ new Date()).getDate() + J.value + 1)).setHours(12, 0, 0, 0));
|
|
4952
4953
|
async function fa(_) {
|
|
4953
4954
|
Qe.value = _, await Jf();
|
|
4954
4955
|
}
|
|
4955
|
-
async function
|
|
4956
|
+
async function qt(_ = "none") {
|
|
4956
4957
|
try {
|
|
4957
4958
|
if (_ !== "none") {
|
|
4958
4959
|
const Ne = (await de().get(`/${_}/metadata`, {
|
|
@@ -4964,36 +4965,36 @@ const rc = jt("applyGiftCard", () => {
|
|
|
4964
4965
|
}
|
|
4965
4966
|
} catch {
|
|
4966
4967
|
a({
|
|
4967
|
-
message:
|
|
4968
|
+
message: x.t("alert.error.couldntFetchMetadata"),
|
|
4968
4969
|
type: "warning"
|
|
4969
4970
|
});
|
|
4970
4971
|
}
|
|
4971
4972
|
}
|
|
4972
|
-
async function
|
|
4973
|
+
async function Dt() {
|
|
4973
4974
|
await de().get("/utility/get-settings-and-translations").then((_) => {
|
|
4974
4975
|
const { settings: Ne, hotelSettings: Ce, translations: Ta } = _.data;
|
|
4975
|
-
n.value = Ne, r.value = Ce, isNaN(e.adults) && (e.adults = Ne.defaultAdultAmount), isNaN(e.children) && (e.children = Ne.defaultChildAmount), e.arrivalDate === null && (e.arrivalDate = Ze()), e.departureDate === null && (e.departureDate =
|
|
4976
|
+
n.value = Ne, r.value = Ce, isNaN(e.adults) && (e.adults = Ne.defaultAdultAmount), isNaN(e.children) && (e.children = Ne.defaultChildAmount), e.arrivalDate === null && (e.arrivalDate = Ze()), e.departureDate === null && (e.departureDate = Pt()), x1(Ta), n.value.enableTracking && t.setup();
|
|
4976
4977
|
});
|
|
4977
4978
|
}
|
|
4978
4979
|
function et(_) {
|
|
4979
4980
|
Xe.value = _;
|
|
4980
4981
|
}
|
|
4981
|
-
function
|
|
4982
|
+
function Kt() {
|
|
4982
4983
|
Xe.value = null;
|
|
4983
4984
|
}
|
|
4984
4985
|
return {
|
|
4985
4986
|
defaultArrivalDate: Ze,
|
|
4986
|
-
defaultDepartureDate:
|
|
4987
|
+
defaultDepartureDate: Pt,
|
|
4987
4988
|
setAccessToken: fa,
|
|
4988
|
-
fetchUtilities:
|
|
4989
|
-
fetchMetadata:
|
|
4990
|
-
clearActiveIdFilter:
|
|
4989
|
+
fetchUtilities: Dt,
|
|
4990
|
+
fetchMetadata: qt,
|
|
4991
|
+
clearActiveIdFilter: Kt,
|
|
4991
4992
|
setActiveIdFilter: et,
|
|
4992
|
-
enableMultipleConfigurations:
|
|
4993
|
+
enableMultipleConfigurations: mt,
|
|
4993
4994
|
selectGiftCardAsDefault: Ye,
|
|
4994
4995
|
hideOptionalLabel: he,
|
|
4995
4996
|
activeIdFilter: Xe,
|
|
4996
|
-
hasActiveIdFilter:
|
|
4997
|
+
hasActiveIdFilter: Wt,
|
|
4997
4998
|
hasChildSelection: i,
|
|
4998
4999
|
hasArrivalDepartureInputs: s,
|
|
4999
5000
|
hasUserArrivalSelection: l,
|
|
@@ -5005,20 +5006,20 @@ const rc = jt("applyGiftCard", () => {
|
|
|
5005
5006
|
defaultDepartureTime: S,
|
|
5006
5007
|
latestDepartureTime: d,
|
|
5007
5008
|
hotelSettings: r,
|
|
5008
|
-
splitBookingCalendar:
|
|
5009
|
+
splitBookingCalendar: Ht,
|
|
5009
5010
|
autoSelectRateId: Ge,
|
|
5010
5011
|
hideEventLength: Ke,
|
|
5011
|
-
hideEventEndTime:
|
|
5012
|
-
disableDiscountVoucher:
|
|
5012
|
+
hideEventEndTime: pt,
|
|
5013
|
+
disableDiscountVoucher: q,
|
|
5013
5014
|
disableTravelingForBleasure: me,
|
|
5014
5015
|
enableStickyHeader: se,
|
|
5015
|
-
hasPaymentGateway:
|
|
5016
|
+
hasPaymentGateway: Lt,
|
|
5016
5017
|
hasError: Fe,
|
|
5017
|
-
name:
|
|
5018
|
+
name: Et,
|
|
5018
5019
|
hasMetadata: ze,
|
|
5019
|
-
paymentGatewayId:
|
|
5020
|
+
paymentGatewayId: Nt,
|
|
5020
5021
|
metaData: o,
|
|
5021
|
-
currency:
|
|
5022
|
+
currency: Vt,
|
|
5022
5023
|
currencyId: ca,
|
|
5023
5024
|
bearerToken: la,
|
|
5024
5025
|
maximumNightsAvailable: m,
|
|
@@ -5032,16 +5033,16 @@ const rc = jt("applyGiftCard", () => {
|
|
|
5032
5033
|
firstSelectableDateOffset: J,
|
|
5033
5034
|
lastSelectableDateOffset: te,
|
|
5034
5035
|
hideTitle: ae,
|
|
5035
|
-
headerHeight:
|
|
5036
|
+
headerHeight: K,
|
|
5036
5037
|
disableNamePrefix: ne,
|
|
5037
|
-
disableGiftCardVoucher:
|
|
5038
|
+
disableGiftCardVoucher: D,
|
|
5038
5039
|
disablePricesFrom: Y,
|
|
5039
5040
|
hideAvailableRoomAmount: pe,
|
|
5040
5041
|
disableNewsletterSignup: I,
|
|
5041
5042
|
disableTravelingFor: W,
|
|
5042
5043
|
disableCompanyField: Oe,
|
|
5043
5044
|
isRecaptchaEnabled: ua,
|
|
5044
|
-
hideAvailabilityNotice:
|
|
5045
|
+
hideAvailabilityNotice: kt,
|
|
5045
5046
|
hideEventGuestAmount: Je,
|
|
5046
5047
|
settings: n
|
|
5047
5048
|
};
|
|
@@ -5051,7 +5052,7 @@ const Gf = nu("history", {
|
|
|
5051
5052
|
removeNullishValues: !0
|
|
5052
5053
|
});
|
|
5053
5054
|
async function Jf() {
|
|
5054
|
-
const e =
|
|
5055
|
+
const e = wt();
|
|
5055
5056
|
return lc.value = e.bearerToken, Promise.resolve();
|
|
5056
5057
|
}
|
|
5057
5058
|
function de() {
|
|
@@ -5060,79 +5061,79 @@ function de() {
|
|
|
5060
5061
|
headers: {
|
|
5061
5062
|
Accept: "application/json",
|
|
5062
5063
|
Authorization: lc.value,
|
|
5063
|
-
"Konnectio-Version": "4.3.
|
|
5064
|
+
"Konnectio-Version": "4.3.6",
|
|
5064
5065
|
"Konnectio-Ref": Gf.ref
|
|
5065
5066
|
}
|
|
5066
5067
|
});
|
|
5067
5068
|
}
|
|
5068
|
-
const cc =
|
|
5069
|
-
const e = oc(), { voucher: t } = aa(rc()), { display: a } = sa(), { metaData: n } = aa(
|
|
5070
|
-
function
|
|
5069
|
+
const cc = Bt("event", () => {
|
|
5070
|
+
const e = oc(), { voucher: t } = aa(rc()), { display: a } = sa(), { metaData: n } = aa(wt()), r = wt(), o = gi(), i = N({}), s = p(() => Object.keys(i.value).length > 0), l = N(void 0), c = N(!0), u = N(Le.InitialState), f = N(NaN), y = N(1), b = N(NaN), S = N(NaN), d = N(""), m = Z("konnectio_name", "", void 0, { serializer: X.string }), h = Z("konnectio_phone", "", void 0, { serializer: X.string }), v = Z("konnectio_email", "", void 0, { serializer: X.string }), A = N(""), k = N(""), w = N(!1), P = N(0), F = N({}), J = N({}), te = N(""), ae = N("");
|
|
5071
|
+
function K(L) {
|
|
5071
5072
|
return L ? L.templateId !== void 0 : !1;
|
|
5072
5073
|
}
|
|
5073
|
-
const se = p(() => r.metaData.hotels.findIndex((L) => L.id === o.eventLocation) || 0), ne = p(() => r.metaData.hotels[se.value]),
|
|
5074
|
-
if (!
|
|
5074
|
+
const se = p(() => r.metaData.hotels.findIndex((L) => L.id === o.eventLocation) || 0), ne = p(() => r.metaData.hotels[se.value]), D = p(() => ne.value ? ne.value.maxNumberPerBooking : 1 / 0), q = p(() => ne.value.name ? ne.value.name : ""), Y = p(() => ne.value.subtitle ? ne.value.subtitle : ""), pe = p(() => ne.value.timezone ? ne.value.timezone : ""), I = N(o.eventDate), W = N(o.eventLocation), me = p(() => I.value !== o.eventDate), Oe = p(() => W.value !== o.eventLocation), Ke = p(() => me.value || Oe.value), pt = p(() => o.eventDate.toISOString()), kt = p(() => K(l.value)), Ge = p(() => K(l.value) ? l.value.numberOfDays : y.value), Ht = p(() => K(l.value) ? l.value.packageCount : 0), Je = p(() => K(l.value) ? l.value.fromDate : ""), he = p(() => i.value.events !== void 0 ? i.value.events.flatMap((L) => L.events).find((L) => L.id === b.value) : void 0), mt = p(() => he.value ? he.value.length : void 0), Ye = p(() => K(l.value) ? l.value.templateId : 0), Xe = p(() => i.value.events), Qe = p(() => i.value.events.filter((L) => L.isAvailable === !1 && Ie(L.fromDate) !== Ie(I.value))), Fe = p(() => i.value.templates), la = p(() => i.value.fallbackEvents), ze = p(() => i.value.events.length > 0), Vt = p(() => i.value.fallbackEvents.length > 0), ca = p(() => i.value.templates.length > 0), Et = p(() => he.value && he.value.eventRateType ? he.value.eventRateType : Po.None), Nt = p(() => {
|
|
5075
|
+
if (!K(l.value))
|
|
5075
5076
|
return l.value;
|
|
5076
5077
|
}), ua = p(() => {
|
|
5077
|
-
if (
|
|
5078
|
-
const L =
|
|
5078
|
+
if (Nt.value !== void 0) {
|
|
5079
|
+
const L = Nt.value.find(
|
|
5079
5080
|
(B) => B.time === d.value
|
|
5080
5081
|
);
|
|
5081
5082
|
if (L && L.price)
|
|
5082
5083
|
return L.price;
|
|
5083
5084
|
}
|
|
5084
5085
|
return 0;
|
|
5085
|
-
}),
|
|
5086
|
-
if (
|
|
5086
|
+
}), Wt = p(() => {
|
|
5087
|
+
if (K(l.value))
|
|
5087
5088
|
return l.value.rooms;
|
|
5088
5089
|
});
|
|
5089
|
-
function
|
|
5090
|
+
function Lt(L, B, re) {
|
|
5090
5091
|
let le = 0;
|
|
5091
|
-
if (
|
|
5092
|
+
if (K(l.value)) {
|
|
5092
5093
|
const ve = l.value.rooms[re];
|
|
5093
5094
|
if (ve) {
|
|
5094
|
-
const
|
|
5095
|
-
if (
|
|
5096
|
-
const
|
|
5097
|
-
le += Do(
|
|
5095
|
+
const at = ve.addons, nt = F.value[`${B}.${L}.${re}`] || 0;
|
|
5096
|
+
if (nt > 0) {
|
|
5097
|
+
const rt = at?.find((La) => La.id === L), _e = typeof nt == "boolean" ? 1 : nt;
|
|
5098
|
+
le += Do(rt?.price, rt?.quantityStrategy, Ge.value, ve.adultPerRoom) * _e;
|
|
5098
5099
|
}
|
|
5099
5100
|
}
|
|
5100
5101
|
} else {
|
|
5101
5102
|
const ve = J.value[L] || 0;
|
|
5102
5103
|
if (ve > 0) {
|
|
5103
|
-
const
|
|
5104
|
-
|
|
5104
|
+
const at = he.value?.products?.find((nt) => nt.id === L);
|
|
5105
|
+
at && (le += at.price * ve);
|
|
5105
5106
|
}
|
|
5106
5107
|
}
|
|
5107
5108
|
return le;
|
|
5108
5109
|
}
|
|
5109
5110
|
function Ze(L, B) {
|
|
5110
5111
|
let re = 0;
|
|
5111
|
-
if (
|
|
5112
|
+
if (K(l.value))
|
|
5112
5113
|
for (const le in F.value) {
|
|
5113
5114
|
const ve = le.split(".");
|
|
5114
|
-
parseInt(ve[0]) === L && parseInt(ve[2]) === B && (re +=
|
|
5115
|
+
parseInt(ve[0]) === L && parseInt(ve[2]) === B && (re += Lt(parseInt(ve[1]), L, B));
|
|
5115
5116
|
}
|
|
5116
5117
|
else
|
|
5117
5118
|
for (const le in J.value)
|
|
5118
|
-
re +=
|
|
5119
|
+
re += Lt(parseInt(le)) * y.value;
|
|
5119
5120
|
return re;
|
|
5120
5121
|
}
|
|
5121
|
-
const
|
|
5122
|
-
if (
|
|
5123
|
-
return
|
|
5122
|
+
const Pt = p(() => K(l.value) && l.value.totalPrice || 0), fa = p(() => {
|
|
5123
|
+
if (tt.value)
|
|
5124
|
+
return tt.value;
|
|
5124
5125
|
let L = NaN;
|
|
5125
|
-
return
|
|
5126
|
+
return K(l.value) ? l.value.rooms !== void 0 && (L = l.value.rooms.flatMap((B) => B.roomGroupId).reduce(
|
|
5126
5127
|
(B, re, le) => B + Ze(re, le),
|
|
5127
|
-
|
|
5128
|
+
Pt.value
|
|
5128
5129
|
) || 0) : (L = Ze(), L += ua.value), L;
|
|
5129
|
-
}),
|
|
5130
|
+
}), qt = p(() => K(l.value) && l.value.rooms !== void 0 && l.value.rooms.flatMap((L) => L.weekendFee).reduce((L, B) => L + B, 0) || 0), Dt = p(() => K(l.value) && l.value.rooms !== void 0 && l.value.rooms.flatMap((L) => L.roomUpgrade).reduce((L, B) => L + B, 0) || 0), et = p(() => {
|
|
5130
5131
|
const L = J.value;
|
|
5131
5132
|
let B = 0;
|
|
5132
5133
|
for (const re in L)
|
|
5133
5134
|
B += Number.isNaN(L[re]) ? 0 : L[re];
|
|
5134
5135
|
return B;
|
|
5135
|
-
}),
|
|
5136
|
+
}), Kt = p(() => et.value > 0), _ = p(() => !K(l.value) && he.value ? he.value.products.length > 0 : !1), Ne = p(() => _.value ? Kt.value : !0), Ce = p(() => Et.value !== Po.FullDayEvent && !kt.value), Ta = p(() => !!(m.value !== "" && v.value !== "" && h.value.length >= 5 && Ne.value && (!Ce.value || d.value !== "")));
|
|
5136
5137
|
function xr(L) {
|
|
5137
5138
|
return u.value === Le.ReservationState && b.value === L && c.value;
|
|
5138
5139
|
}
|
|
@@ -5147,17 +5148,17 @@ const cc = jt("event", () => {
|
|
|
5147
5148
|
n.value = L;
|
|
5148
5149
|
} catch {
|
|
5149
5150
|
a({
|
|
5150
|
-
message:
|
|
5151
|
+
message: x.t("alert.error.couldntFetchMetadata"),
|
|
5151
5152
|
type: "warning"
|
|
5152
5153
|
});
|
|
5153
5154
|
}
|
|
5154
5155
|
}
|
|
5155
5156
|
async function Rr() {
|
|
5156
5157
|
u.value = Le.AvailabilityState, c.value = !0;
|
|
5157
|
-
const L =
|
|
5158
|
-
if (L < B && (o.eventDate =
|
|
5158
|
+
const L = Rt.tz(pe.value, new Date(o.eventDate)).setHours(12, 0, 0, 0), B = Rt.tz(pe.value).setHours(12, 0, 0, 0);
|
|
5159
|
+
if (L < B && (o.eventDate = Rt.tz(pe.value)), isNaN(o.eventLocation)) {
|
|
5159
5160
|
a({
|
|
5160
|
-
message:
|
|
5161
|
+
message: x.t("alert.error.selectEventId"),
|
|
5161
5162
|
type: "warning"
|
|
5162
5163
|
});
|
|
5163
5164
|
return;
|
|
@@ -5174,7 +5175,7 @@ const cc = jt("event", () => {
|
|
|
5174
5175
|
i.value = re, I.value = o.eventDate, W.value = o.eventLocation, vi.emit("scrollToTop"), c.value = !1;
|
|
5175
5176
|
} catch {
|
|
5176
5177
|
a({
|
|
5177
|
-
message:
|
|
5178
|
+
message: x.t("alert.error.couldntFetchListings"),
|
|
5178
5179
|
type: "warning"
|
|
5179
5180
|
});
|
|
5180
5181
|
}
|
|
@@ -5192,12 +5193,12 @@ const cc = jt("event", () => {
|
|
|
5192
5193
|
}
|
|
5193
5194
|
})).data;
|
|
5194
5195
|
B.rooms.length === 0 ? a({
|
|
5195
|
-
message:
|
|
5196
|
+
message: x.t("alert.error.eventNotAvailable"),
|
|
5196
5197
|
type: "warning"
|
|
5197
5198
|
}) : (l.value = B, L()), c.value = !1;
|
|
5198
5199
|
} catch {
|
|
5199
5200
|
c.value = !1, u.value = Le.AvailabilityState, a({
|
|
5200
|
-
message:
|
|
5201
|
+
message: x.t("alert.error.couldntFetchEvent"),
|
|
5201
5202
|
type: "warning"
|
|
5202
5203
|
});
|
|
5203
5204
|
}
|
|
@@ -5218,7 +5219,7 @@ const cc = jt("event", () => {
|
|
|
5218
5219
|
l.value = B, c.value = !1, _.value ? L() : L(2);
|
|
5219
5220
|
} catch {
|
|
5220
5221
|
c.value = !1, u.value = Le.AvailabilityState, a({
|
|
5221
|
-
message:
|
|
5222
|
+
message: x.t("alert.error.couldntFetchEvent"),
|
|
5222
5223
|
type: "warning"
|
|
5223
5224
|
});
|
|
5224
5225
|
}
|
|
@@ -5234,7 +5235,7 @@ const cc = jt("event", () => {
|
|
|
5234
5235
|
}
|
|
5235
5236
|
return L;
|
|
5236
5237
|
}
|
|
5237
|
-
const
|
|
5238
|
+
const tt = N();
|
|
5238
5239
|
async function _r() {
|
|
5239
5240
|
if (te.value !== "")
|
|
5240
5241
|
try {
|
|
@@ -5245,22 +5246,22 @@ const cc = jt("event", () => {
|
|
|
5245
5246
|
products: mn(),
|
|
5246
5247
|
restaurantId: W.value
|
|
5247
5248
|
})).data;
|
|
5248
|
-
L.total ? (
|
|
5249
|
-
message:
|
|
5249
|
+
L.total ? (tt.value = L.total, ae.value = te.value, te.value = "", a({
|
|
5250
|
+
message: x.t("alert.success.discountCodeApplied"),
|
|
5250
5251
|
type: "success"
|
|
5251
5252
|
})) : a({
|
|
5252
|
-
message:
|
|
5253
|
+
message: x.t("alert.error.discountCodeValidation"),
|
|
5253
5254
|
type: "warning"
|
|
5254
5255
|
});
|
|
5255
5256
|
} catch {
|
|
5256
5257
|
a({
|
|
5257
|
-
message:
|
|
5258
|
+
message: x.t("alert.error.discountCodeValidation"),
|
|
5258
5259
|
type: "warning"
|
|
5259
5260
|
});
|
|
5260
5261
|
}
|
|
5261
5262
|
else
|
|
5262
5263
|
a({
|
|
5263
|
-
message:
|
|
5264
|
+
message: x.t("alert.error.discountCodeEmpty"),
|
|
5264
5265
|
type: "error"
|
|
5265
5266
|
});
|
|
5266
5267
|
}
|
|
@@ -5268,13 +5269,13 @@ const cc = jt("event", () => {
|
|
|
5268
5269
|
u.value = Le.PaymentState, c.value = !0;
|
|
5269
5270
|
const B = () => {
|
|
5270
5271
|
c.value = !1, u.value = Le.ReservationState, a({
|
|
5271
|
-
message:
|
|
5272
|
+
message: x.t("booking.other.errorMessage"),
|
|
5272
5273
|
type: "warning"
|
|
5273
5274
|
});
|
|
5274
5275
|
};
|
|
5275
5276
|
let re, le, ve;
|
|
5276
|
-
const
|
|
5277
|
-
|
|
5277
|
+
const at = [];
|
|
5278
|
+
K(l.value) ? (Wt.value?.forEach((_e, La) => {
|
|
5278
5279
|
const hn = [];
|
|
5279
5280
|
let Pa = 0;
|
|
5280
5281
|
for (const vn in F.value) {
|
|
@@ -5285,7 +5286,7 @@ const cc = jt("event", () => {
|
|
|
5285
5286
|
quantity: gn
|
|
5286
5287
|
}), Pa++);
|
|
5287
5288
|
}
|
|
5288
|
-
|
|
5289
|
+
at.push({
|
|
5289
5290
|
adultPerRoom: _e.adultPerRoom,
|
|
5290
5291
|
count: _e.count,
|
|
5291
5292
|
roomGroupID: _e.roomGroupId,
|
|
@@ -5295,11 +5296,11 @@ const cc = jt("event", () => {
|
|
|
5295
5296
|
totalPerson: isNaN(f.value) ? et.value : f.value,
|
|
5296
5297
|
templateID: Ye.value,
|
|
5297
5298
|
numberOfDays: y.value,
|
|
5298
|
-
templateCounts:
|
|
5299
|
+
templateCounts: at,
|
|
5299
5300
|
fromDate: Ie(I.value)
|
|
5300
5301
|
}) : (le = mn(), ve = d.value);
|
|
5301
|
-
let
|
|
5302
|
-
const
|
|
5302
|
+
let nt = "/event/book-template";
|
|
5303
|
+
const rt = {
|
|
5303
5304
|
language: Te(),
|
|
5304
5305
|
restaurantId: W.value,
|
|
5305
5306
|
date: Ie(I.value),
|
|
@@ -5317,7 +5318,7 @@ const cc = jt("event", () => {
|
|
|
5317
5318
|
checkoutUrl: window.location.origin,
|
|
5318
5319
|
privacyUrl: window.location.origin
|
|
5319
5320
|
};
|
|
5320
|
-
|
|
5321
|
+
K(l.value) ? rt.templateGroup = re : (rt.time = ve, rt.eventId = b.value, rt.products = le, nt = "/event/book-event"), await de().post(nt, rt).then((_e) => {
|
|
5321
5322
|
c.value = !1, e.pay({
|
|
5322
5323
|
callback: L,
|
|
5323
5324
|
response: _e.data
|
|
@@ -5325,13 +5326,13 @@ const cc = jt("event", () => {
|
|
|
5325
5326
|
}).catch(() => B());
|
|
5326
5327
|
}
|
|
5327
5328
|
function Na() {
|
|
5328
|
-
|
|
5329
|
+
tt.value = void 0, te.value = "", ae.value = "";
|
|
5329
5330
|
}
|
|
5330
5331
|
function jr(L = !1) {
|
|
5331
5332
|
l.value = void 0, F.value = {}, J.value = {}, d.value = "", Na(), L && o.resetEventDate();
|
|
5332
5333
|
}
|
|
5333
5334
|
function Br(L) {
|
|
5334
|
-
|
|
5335
|
+
kt.value || _.value ? L() : L(2), Na();
|
|
5335
5336
|
}
|
|
5336
5337
|
async function Ur() {
|
|
5337
5338
|
await Promise.all([ka(), o.fetchMetadata()]);
|
|
@@ -5360,30 +5361,30 @@ const cc = jt("event", () => {
|
|
|
5360
5361
|
phone: h,
|
|
5361
5362
|
email: v,
|
|
5362
5363
|
remark: A,
|
|
5363
|
-
isTemplateEvent:
|
|
5364
|
-
maxNumberOfPeople:
|
|
5365
|
-
title:
|
|
5364
|
+
isTemplateEvent: kt,
|
|
5365
|
+
maxNumberOfPeople: D,
|
|
5366
|
+
title: q,
|
|
5366
5367
|
subtitle: Y,
|
|
5367
|
-
date:
|
|
5368
|
+
date: pt,
|
|
5368
5369
|
numberOfTotalDays: Ge,
|
|
5369
|
-
numberOfRooms:
|
|
5370
|
+
numberOfRooms: Ht,
|
|
5370
5371
|
fromDate: Je,
|
|
5371
5372
|
getEventData: he,
|
|
5372
|
-
length:
|
|
5373
|
+
length: mt,
|
|
5373
5374
|
templateId: Ye,
|
|
5374
5375
|
getEvents: Xe,
|
|
5375
5376
|
getTemplates: Fe,
|
|
5376
5377
|
hasEvents: ze,
|
|
5377
|
-
hasFallbackEvents:
|
|
5378
|
+
hasFallbackEvents: Vt,
|
|
5378
5379
|
hasTemplates: ca,
|
|
5379
|
-
basePrice:
|
|
5380
|
+
basePrice: Pt,
|
|
5380
5381
|
totalPrice: fa,
|
|
5381
|
-
getTemplateData:
|
|
5382
|
-
getEventTableData:
|
|
5383
|
-
roomUpgrade:
|
|
5384
|
-
weekendFee:
|
|
5382
|
+
getTemplateData: Wt,
|
|
5383
|
+
getEventTableData: Nt,
|
|
5384
|
+
roomUpgrade: Dt,
|
|
5385
|
+
weekendFee: qt,
|
|
5385
5386
|
hasProducts: _,
|
|
5386
|
-
eventRateType:
|
|
5387
|
+
eventRateType: Et,
|
|
5387
5388
|
isReservationFormFilled: Ta,
|
|
5388
5389
|
isMetadataAvailable: dn,
|
|
5389
5390
|
areListingsAvailable: pn,
|
|
@@ -5395,7 +5396,7 @@ const cc = jt("event", () => {
|
|
|
5395
5396
|
getTemplateAvailability: Fr,
|
|
5396
5397
|
getEventAvailability: Ea,
|
|
5397
5398
|
validateDiscountCode: _r,
|
|
5398
|
-
localAddonPrice:
|
|
5399
|
+
localAddonPrice: Lt,
|
|
5399
5400
|
totalAddonPrice: Ze,
|
|
5400
5401
|
createBooking: $r,
|
|
5401
5402
|
reset: jr,
|
|
@@ -5403,18 +5404,18 @@ const cc = jt("event", () => {
|
|
|
5403
5404
|
goBack: Br,
|
|
5404
5405
|
getFallbackEvents: la,
|
|
5405
5406
|
hasListingData: s,
|
|
5406
|
-
hasSelectedProducts:
|
|
5407
|
+
hasSelectedProducts: Kt,
|
|
5407
5408
|
totalSelectedProducts: et,
|
|
5408
5409
|
requiresArrivalTime: Ce,
|
|
5409
5410
|
hasSelectedRequiredProducts: Ne,
|
|
5410
5411
|
getUnavailableEvents: Qe,
|
|
5411
5412
|
timezone: pe,
|
|
5412
5413
|
numberOfHighChairs: P,
|
|
5413
|
-
discountValue:
|
|
5414
|
+
discountValue: tt,
|
|
5414
5415
|
appliedDiscountCode: ae
|
|
5415
5416
|
};
|
|
5416
|
-
}), As = () => /* @__PURE__ */ new Date(), Ts = () => new Date((/* @__PURE__ */ new Date()).getTime() + 12 * 60 * 60 * 1e3), gi =
|
|
5417
|
-
const e = cc(), t = ic(), a =
|
|
5417
|
+
}), As = () => /* @__PURE__ */ new Date(), Ts = () => new Date((/* @__PURE__ */ new Date()).getTime() + 12 * 60 * 60 * 1e3), gi = Bt("availability", () => {
|
|
5418
|
+
const e = cc(), t = ic(), a = wt(), { display: n } = sa(), r = N({}), o = Z("k_avail_expiry", Ts(), void 0, { serializer: X.date }), i = p(() => o.value === void 0 ? !1 : o.value < /* @__PURE__ */ new Date()), s = Z("k_hotel_adults", NaN, void 0, { serializer: X.number }), l = Z("k_hotel_children", NaN, void 0, { serializer: X.number }), c = Z("k_hotel_arrival", null, void 0, { serializer: X.date }), u = Z("k_hotel_departure", null, void 0, { serializer: X.date }), f = Z("k_hotel_loc", void 0, void 0, { serializer: X.number }), y = Z("k_hotel_loc_c", NaN, void 0, { serializer: X.number }), b = Z("k_hotel_has_selected_loc", !1, void 0, { serializer: X.boolean }), S = p(() => Object.keys(r.value).length > 0), d = p(() => S.value && r.value.hotels.length > 1), m = p(() => r.value ? r.value.hotels : []), h = p(() => Pl(c.value, u.value));
|
|
5418
5419
|
function v(I) {
|
|
5419
5420
|
if (S.value)
|
|
5420
5421
|
return r.value.hotels.some((W) => W.id === I);
|
|
@@ -5431,7 +5432,7 @@ const cc = jt("event", () => {
|
|
|
5431
5432
|
function ae() {
|
|
5432
5433
|
o.value = Ts();
|
|
5433
5434
|
}
|
|
5434
|
-
function
|
|
5435
|
+
function K(I) {
|
|
5435
5436
|
w.value = I, e.fetchListings();
|
|
5436
5437
|
}
|
|
5437
5438
|
function se(I, W) {
|
|
@@ -5446,14 +5447,14 @@ const cc = jt("event", () => {
|
|
|
5446
5447
|
}) {
|
|
5447
5448
|
ae(), s.value = I, l.value = W, c.value = me, u.value = Oe, f.value = Ke;
|
|
5448
5449
|
}
|
|
5449
|
-
function
|
|
5450
|
+
function D({ date: I, location: W }) {
|
|
5450
5451
|
w.value = I, A.value = W;
|
|
5451
5452
|
}
|
|
5452
|
-
function
|
|
5453
|
+
function q() {
|
|
5453
5454
|
w.value = As();
|
|
5454
5455
|
}
|
|
5455
5456
|
function Y() {
|
|
5456
|
-
s.value = a.defaultAdultAmount, l.value = a.defaultChildAmount, c.value = a.defaultArrivalDate(),
|
|
5457
|
+
s.value = a.defaultAdultAmount, l.value = a.defaultChildAmount, c.value = a.defaultArrivalDate(), q(), u.value = a.defaultDepartureDate(), f.value = void 0, A.value = NaN, b.value = !1, ae();
|
|
5457
5458
|
}
|
|
5458
5459
|
async function pe() {
|
|
5459
5460
|
try {
|
|
@@ -5465,7 +5466,7 @@ const cc = jt("event", () => {
|
|
|
5465
5466
|
r.value = I, i.value && Y(), I.defaultHotelId && (isNaN(y.value) ? y.value = I.defaultHotelId : y.value !== I.defaultHotelId && (y.value = I.defaultHotelId, f.value = y.value), isNaN(f.value) && (f.value = I.defaultHotelId)), I.defaultEventId && (isNaN(k.value) ? k.value = I.defaultEventId : k.value !== I.defaultEventId && (k.value = I.defaultEventId, A.value = k.value), isNaN(A.value) && (A.value = I.defaultEventId));
|
|
5466
5467
|
} catch {
|
|
5467
5468
|
n({
|
|
5468
|
-
message:
|
|
5469
|
+
message: x.t("alert.error.couldntFetchMetadata"),
|
|
5469
5470
|
type: "warning"
|
|
5470
5471
|
});
|
|
5471
5472
|
}
|
|
@@ -5493,13 +5494,13 @@ const cc = jt("event", () => {
|
|
|
5493
5494
|
reset: Y,
|
|
5494
5495
|
updateDates: se,
|
|
5495
5496
|
updateHotelAvailability: ne,
|
|
5496
|
-
updateEventAvailability:
|
|
5497
|
+
updateEventAvailability: D,
|
|
5497
5498
|
fetchMetadata: pe,
|
|
5498
5499
|
isValidHotelId: v,
|
|
5499
5500
|
isValidRestaurantId: J,
|
|
5500
5501
|
getHotelLocationName: te,
|
|
5501
|
-
resetEventDate:
|
|
5502
|
-
updateEventDate:
|
|
5502
|
+
resetEventDate: q,
|
|
5503
|
+
updateEventDate: K
|
|
5503
5504
|
};
|
|
5504
5505
|
});
|
|
5505
5506
|
/*!
|
|
@@ -5684,9 +5685,9 @@ try {
|
|
|
5684
5685
|
typeof window < "u" && (bi = window), typeof document < "u" && (fc = document), typeof MutationObserver < "u" && (dc = MutationObserver), typeof performance < "u" && (pc = performance);
|
|
5685
5686
|
} catch {
|
|
5686
5687
|
}
|
|
5687
|
-
var i0 = bi.navigator || {}, Ns = i0.userAgent, Ls = Ns === void 0 ? "" : Ns,
|
|
5688
|
-
|
|
5689
|
-
var
|
|
5688
|
+
var i0 = bi.navigator || {}, Ns = i0.userAgent, Ls = Ns === void 0 ? "" : Ns, _t = bi, ee = fc, Ps = dc, Nn = pc;
|
|
5689
|
+
_t.document;
|
|
5690
|
+
var Tt = !!ee.documentElement && !!ee.head && typeof ee.addEventListener == "function" && typeof ee.createElement == "function", mc = ~Ls.indexOf("MSIE") || ~Ls.indexOf("Trident/"), so, s0 = /fa(k|kd|s|r|l|t|d|dr|dl|dt|b|slr|slpr|wsb|tl|ns|nds|es|jr|jfr|jdr|cr|ss|sr|sl|st|sds|sdr|sdl|sdt)?[\-\ ]/, l0 = /Font ?Awesome ?([567 ]*)(Solid|Regular|Light|Thin|Duotone|Brands|Free|Pro|Sharp Duotone|Sharp|Kit|Notdog Duo|Notdog|Chisel|Etch|Thumbprint|Jelly Fill|Jelly Duo|Jelly|Slab Press|Slab|Whiteboard)?.*/i, hc = {
|
|
5690
5691
|
classic: {
|
|
5691
5692
|
fa: "solid",
|
|
5692
5693
|
fas: "solid",
|
|
@@ -6273,7 +6274,7 @@ var yd = {
|
|
|
6273
6274
|
"Font Awesome 5 Duotone": {
|
|
6274
6275
|
900: "fad"
|
|
6275
6276
|
}
|
|
6276
|
-
},
|
|
6277
|
+
}, Ct = "___FONT_AWESOME___", Ho = 16, Mc = "fa", Ic = "svg-inline--fa", ra = "data-fa-i2svg", Vo = "data-fa-pseudo-element", Ed = "data-fa-pseudo-element-pending", Si = "data-prefix", wi = "data-icon", zs = "fontawesome-i2svg", Nd = "async", Ld = ["HTML", "HEAD", "STYLE", "SCRIPT"], Rc = ["::before", "::after", ":before", ":after"], Fc = function() {
|
|
6277
6278
|
try {
|
|
6278
6279
|
return !0;
|
|
6279
6280
|
} catch {
|
|
@@ -6302,7 +6303,7 @@ Ko[we] = T(T({}, Ko[we]), M0.kit);
|
|
|
6302
6303
|
un(Ko);
|
|
6303
6304
|
var Dd = s0, jc = "fa-layers-text", Od = l0, zd = T({}, k0);
|
|
6304
6305
|
un(zd);
|
|
6305
|
-
var xd = ["class", "data-prefix", "data-icon", "data-fa-transform", "data-fa-mask"], co = c0, Md = [].concat(Ve(P0), Ve(Td)), qa =
|
|
6306
|
+
var xd = ["class", "data-prefix", "data-icon", "data-fa-transform", "data-fa-mask"], co = c0, Md = [].concat(Ve(P0), Ve(Td)), qa = _t.FontAwesomeConfig || {};
|
|
6306
6307
|
function Id(e) {
|
|
6307
6308
|
var t = ee.querySelector("script[" + e + "]");
|
|
6308
6309
|
if (t)
|
|
@@ -6337,13 +6338,13 @@ var Bc = {
|
|
|
6337
6338
|
qa.familyPrefix && (qa.cssPrefix = qa.familyPrefix);
|
|
6338
6339
|
var Sa = T(T({}, Bc), qa);
|
|
6339
6340
|
Sa.autoReplaceSvg || (Sa.observeMutations = !1);
|
|
6340
|
-
var
|
|
6341
|
+
var O = {};
|
|
6341
6342
|
Object.keys(Bc).forEach(function(e) {
|
|
6342
|
-
Object.defineProperty(
|
|
6343
|
+
Object.defineProperty(O, e, {
|
|
6343
6344
|
enumerable: !0,
|
|
6344
6345
|
set: function(a) {
|
|
6345
6346
|
Sa[e] = a, Ka.forEach(function(n) {
|
|
6346
|
-
return n(
|
|
6347
|
+
return n(O);
|
|
6347
6348
|
});
|
|
6348
6349
|
},
|
|
6349
6350
|
get: function() {
|
|
@@ -6351,25 +6352,25 @@ Object.keys(Bc).forEach(function(e) {
|
|
|
6351
6352
|
}
|
|
6352
6353
|
});
|
|
6353
6354
|
});
|
|
6354
|
-
Object.defineProperty(
|
|
6355
|
+
Object.defineProperty(O, "familyPrefix", {
|
|
6355
6356
|
enumerable: !0,
|
|
6356
6357
|
set: function(t) {
|
|
6357
6358
|
Sa.cssPrefix = t, Ka.forEach(function(a) {
|
|
6358
|
-
return a(
|
|
6359
|
+
return a(O);
|
|
6359
6360
|
});
|
|
6360
6361
|
},
|
|
6361
6362
|
get: function() {
|
|
6362
6363
|
return Sa.cssPrefix;
|
|
6363
6364
|
}
|
|
6364
6365
|
});
|
|
6365
|
-
|
|
6366
|
+
_t.FontAwesomeConfig = O;
|
|
6366
6367
|
var Ka = [];
|
|
6367
6368
|
function _d(e) {
|
|
6368
6369
|
return Ka.push(e), function() {
|
|
6369
6370
|
Ka.splice(Ka.indexOf(e), 1);
|
|
6370
6371
|
};
|
|
6371
6372
|
}
|
|
6372
|
-
var da = Ho,
|
|
6373
|
+
var da = Ho, ft = {
|
|
6373
6374
|
size: 16,
|
|
6374
6375
|
x: 0,
|
|
6375
6376
|
y: 0,
|
|
@@ -6378,7 +6379,7 @@ var da = Ho, ut = {
|
|
|
6378
6379
|
flipY: !1
|
|
6379
6380
|
};
|
|
6380
6381
|
function $d(e) {
|
|
6381
|
-
if (!(!e || !
|
|
6382
|
+
if (!(!e || !Tt)) {
|
|
6382
6383
|
var t = ee.createElement("style");
|
|
6383
6384
|
t.setAttribute("type", "text/css"), t.innerHTML = e;
|
|
6384
6385
|
for (var a = ee.head.childNodes, n = null, r = a.length - 1; r > -1; r--) {
|
|
@@ -6418,7 +6419,7 @@ function Pr(e) {
|
|
|
6418
6419
|
}, "");
|
|
6419
6420
|
}
|
|
6420
6421
|
function Ai(e) {
|
|
6421
|
-
return e.size !==
|
|
6422
|
+
return e.size !== ft.size || e.x !== ft.x || e.y !== ft.y || e.rotate !== ft.rotate || e.flipX || e.flipY;
|
|
6422
6423
|
}
|
|
6423
6424
|
function Ud(e) {
|
|
6424
6425
|
var t = e.transform, a = e.containerWidth, n = e.iconWidth, r = {
|
|
@@ -6988,7 +6989,7 @@ var Vd = `:root, :host {
|
|
|
6988
6989
|
z-index: var(--fa-stack-z-index, auto);
|
|
6989
6990
|
}`;
|
|
6990
6991
|
function Hc() {
|
|
6991
|
-
var e = Mc, t = Ic, a =
|
|
6992
|
+
var e = Mc, t = Ic, a = O.cssPrefix, n = O.replacementClass, r = Vd;
|
|
6992
6993
|
if (a !== e || n !== t) {
|
|
6993
6994
|
var o = new RegExp("\\.".concat(e, "\\-"), "g"), i = new RegExp("\\--".concat(e, "\\-"), "g"), s = new RegExp("\\.".concat(t), "g");
|
|
6994
6995
|
r = r.replace(o, ".".concat(a, "-")).replace(i, "--".concat(a, "-")).replace(s, ".".concat(n));
|
|
@@ -6997,7 +6998,7 @@ function Hc() {
|
|
|
6997
6998
|
}
|
|
6998
6999
|
var Is = !1;
|
|
6999
7000
|
function uo() {
|
|
7000
|
-
|
|
7001
|
+
O.autoAddCss && !Is && ($d(Hc()), Is = !0);
|
|
7001
7002
|
}
|
|
7002
7003
|
var Wd = {
|
|
7003
7004
|
mixout: function() {
|
|
@@ -7018,19 +7019,19 @@ var Wd = {
|
|
|
7018
7019
|
}
|
|
7019
7020
|
};
|
|
7020
7021
|
}
|
|
7021
|
-
},
|
|
7022
|
-
Ct
|
|
7023
|
-
Ct
|
|
7024
|
-
Ct
|
|
7025
|
-
Ct
|
|
7026
|
-
var Be = Ct
|
|
7022
|
+
}, At = _t || {};
|
|
7023
|
+
At[Ct] || (At[Ct] = {});
|
|
7024
|
+
At[Ct].styles || (At[Ct].styles = {});
|
|
7025
|
+
At[Ct].hooks || (At[Ct].hooks = {});
|
|
7026
|
+
At[Ct].shims || (At[Ct].shims = []);
|
|
7027
|
+
var Be = At[Ct], Vc = [], Wc = function() {
|
|
7027
7028
|
ee.removeEventListener("DOMContentLoaded", Wc), gr = 1, Vc.map(function(t) {
|
|
7028
7029
|
return t();
|
|
7029
7030
|
});
|
|
7030
7031
|
}, gr = !1;
|
|
7031
|
-
|
|
7032
|
+
Tt && (gr = (ee.documentElement.doScroll ? /^loaded|^c/ : /^loaded|^i|^c/).test(ee.readyState), gr || ee.addEventListener("DOMContentLoaded", Wc));
|
|
7032
7033
|
function qd(e) {
|
|
7033
|
-
|
|
7034
|
+
Tt && (gr ? setTimeout(e, 0) : Vc.push(e));
|
|
7034
7035
|
}
|
|
7035
7036
|
function fn(e) {
|
|
7036
7037
|
var t = e.tag, a = e.attributes, n = a === void 0 ? {} : a, r = e.children, o = r === void 0 ? [] : r;
|
|
@@ -7105,7 +7106,7 @@ var e1 = function() {
|
|
|
7105
7106
|
r[l] = i;
|
|
7106
7107
|
}), r;
|
|
7107
7108
|
});
|
|
7108
|
-
var a = "far" in en ||
|
|
7109
|
+
var a = "far" in en || O.autoFetchSvg, n = fo(Kd, function(r, o) {
|
|
7109
7110
|
var i = o[0], s = o[1], l = o[2];
|
|
7110
7111
|
return s === "far" && !a && (s = "fas"), typeof i == "string" && (r.names[i] = {
|
|
7111
7112
|
prefix: s,
|
|
@@ -7118,13 +7119,13 @@ var e1 = function() {
|
|
|
7118
7119
|
names: {},
|
|
7119
7120
|
unicodes: {}
|
|
7120
7121
|
});
|
|
7121
|
-
Xc = n.names, Qc = n.unicodes, Ti = Dr(
|
|
7122
|
-
family:
|
|
7122
|
+
Xc = n.names, Qc = n.unicodes, Ti = Dr(O.styleDefault, {
|
|
7123
|
+
family: O.familyDefault
|
|
7123
7124
|
});
|
|
7124
7125
|
};
|
|
7125
7126
|
_d(function(e) {
|
|
7126
7127
|
Ti = Dr(e.styleDefault, {
|
|
7127
|
-
family:
|
|
7128
|
+
family: O.familyDefault
|
|
7128
7129
|
});
|
|
7129
7130
|
});
|
|
7130
7131
|
e1();
|
|
@@ -7153,7 +7154,7 @@ function Qd(e) {
|
|
|
7153
7154
|
iconName: null
|
|
7154
7155
|
};
|
|
7155
7156
|
}
|
|
7156
|
-
function
|
|
7157
|
+
function $t() {
|
|
7157
7158
|
return Ti;
|
|
7158
7159
|
}
|
|
7159
7160
|
var a1 = function() {
|
|
@@ -7165,7 +7166,7 @@ var a1 = function() {
|
|
|
7165
7166
|
};
|
|
7166
7167
|
function Zd(e) {
|
|
7167
7168
|
var t = we, a = Gc.reduce(function(n, r) {
|
|
7168
|
-
return n[r] = "".concat(
|
|
7169
|
+
return n[r] = "".concat(O.cssPrefix, "-").concat(r), n;
|
|
7169
7170
|
}, {});
|
|
7170
7171
|
return Dc.forEach(function(n) {
|
|
7171
7172
|
(e.includes(a[n]) || e.some(function(r) {
|
|
@@ -7183,7 +7184,7 @@ function Dr(e) {
|
|
|
7183
7184
|
function e6(e) {
|
|
7184
7185
|
var t = [], a = null;
|
|
7185
7186
|
return e.forEach(function(n) {
|
|
7186
|
-
var r = Yd(
|
|
7187
|
+
var r = Yd(O.cssPrefix, n);
|
|
7187
7188
|
r ? a = r : n && t.push(n);
|
|
7188
7189
|
}), {
|
|
7189
7190
|
iconName: a,
|
|
@@ -7212,7 +7213,7 @@ function Or(e) {
|
|
|
7212
7213
|
values: e,
|
|
7213
7214
|
family: f,
|
|
7214
7215
|
styles: en,
|
|
7215
|
-
config:
|
|
7216
|
+
config: O,
|
|
7216
7217
|
canonical: y,
|
|
7217
7218
|
givenPrefix: r
|
|
7218
7219
|
})), t6(n, r, y));
|
|
@@ -7225,7 +7226,7 @@ function t6(e, t, a) {
|
|
|
7225
7226
|
iconName: r
|
|
7226
7227
|
};
|
|
7227
7228
|
var o = t === "fa" ? t1(r) : {}, i = ea(n, r);
|
|
7228
|
-
return r = o.iconName || i || r, n = o.prefix || n, n === "far" && !en.far && en.fas && !
|
|
7229
|
+
return r = o.iconName || i || r, n = o.prefix || n, n === "far" && !en.far && en.fas && !O.autoFetchSvg && (n = "fas"), {
|
|
7229
7230
|
prefix: n,
|
|
7230
7231
|
iconName: r
|
|
7231
7232
|
};
|
|
@@ -7248,7 +7249,7 @@ function r6(e) {
|
|
|
7248
7249
|
n.prefix = d, n.iconName = ea(n.prefix, n.iconName) || n.iconName;
|
|
7249
7250
|
}
|
|
7250
7251
|
}
|
|
7251
|
-
return (n.prefix === "fa" || o === "fa") && (n.prefix =
|
|
7252
|
+
return (n.prefix === "fa" || o === "fa") && (n.prefix = $t() || "fas"), n;
|
|
7252
7253
|
}
|
|
7253
7254
|
var o6 = /* @__PURE__ */ function() {
|
|
7254
7255
|
function e() {
|
|
@@ -7319,26 +7320,26 @@ function oa(e) {
|
|
|
7319
7320
|
o.apply(null, a);
|
|
7320
7321
|
});
|
|
7321
7322
|
}
|
|
7322
|
-
function
|
|
7323
|
+
function jt() {
|
|
7323
7324
|
var e = arguments[0], t = Array.prototype.slice.call(arguments, 1);
|
|
7324
7325
|
return ya[e] ? ya[e].apply(null, t) : void 0;
|
|
7325
7326
|
}
|
|
7326
7327
|
function Jo(e) {
|
|
7327
7328
|
e.prefix === "fa" && (e.prefix = "fas");
|
|
7328
|
-
var t = e.iconName, a = e.prefix ||
|
|
7329
|
+
var t = e.iconName, a = e.prefix || $t();
|
|
7329
7330
|
if (t)
|
|
7330
7331
|
return t = ea(a, t) || t, Rs(n1.definitions, a, t) || Rs(Be.styles, a, t);
|
|
7331
7332
|
}
|
|
7332
7333
|
var n1 = new o6(), l6 = function() {
|
|
7333
|
-
|
|
7334
|
+
O.autoReplaceSvg = !1, O.observeMutations = !1, oa("noAuto");
|
|
7334
7335
|
}, c6 = {
|
|
7335
7336
|
i2svg: function() {
|
|
7336
7337
|
var t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
7337
|
-
return
|
|
7338
|
+
return Tt ? (oa("beforeI2svg", t), jt("pseudoElements2svg", t), jt("i2svg", t)) : Promise.reject(new Error("Operation requires a DOM of some kind."));
|
|
7338
7339
|
},
|
|
7339
7340
|
watch: function() {
|
|
7340
7341
|
var t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, a = t.autoReplaceSvgRoot;
|
|
7341
|
-
|
|
7342
|
+
O.autoReplaceSvg === !1 && (O.autoReplaceSvg = !0), O.observeMutations = !0, qd(function() {
|
|
7342
7343
|
f6({
|
|
7343
7344
|
autoReplaceSvgRoot: a
|
|
7344
7345
|
}), oa("watch", t);
|
|
@@ -7360,17 +7361,17 @@ var n1 = new o6(), l6 = function() {
|
|
|
7360
7361
|
iconName: ea(n, a) || a
|
|
7361
7362
|
};
|
|
7362
7363
|
}
|
|
7363
|
-
if (typeof t == "string" && (t.indexOf("".concat(
|
|
7364
|
+
if (typeof t == "string" && (t.indexOf("".concat(O.cssPrefix, "-")) > -1 || t.match(Dd))) {
|
|
7364
7365
|
var r = Or(t.split(" "), {
|
|
7365
7366
|
skipLookups: !0
|
|
7366
7367
|
});
|
|
7367
7368
|
return {
|
|
7368
|
-
prefix: r.prefix ||
|
|
7369
|
+
prefix: r.prefix || $t(),
|
|
7369
7370
|
iconName: ea(r.prefix, r.iconName) || r.iconName
|
|
7370
7371
|
};
|
|
7371
7372
|
}
|
|
7372
7373
|
if (typeof t == "string") {
|
|
7373
|
-
var o =
|
|
7374
|
+
var o = $t();
|
|
7374
7375
|
return {
|
|
7375
7376
|
prefix: o,
|
|
7376
7377
|
iconName: ea(o, t) || t
|
|
@@ -7379,7 +7380,7 @@ var n1 = new o6(), l6 = function() {
|
|
|
7379
7380
|
}
|
|
7380
7381
|
}, De = {
|
|
7381
7382
|
noAuto: l6,
|
|
7382
|
-
config:
|
|
7383
|
+
config: O,
|
|
7383
7384
|
dom: c6,
|
|
7384
7385
|
parse: u6,
|
|
7385
7386
|
library: n1,
|
|
@@ -7387,7 +7388,7 @@ var n1 = new o6(), l6 = function() {
|
|
|
7387
7388
|
toHtml: fn
|
|
7388
7389
|
}, f6 = function() {
|
|
7389
7390
|
var t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, a = t.autoReplaceSvgRoot, n = a === void 0 ? ee : a;
|
|
7390
|
-
(Object.keys(Be.styles).length > 0 ||
|
|
7391
|
+
(Object.keys(Be.styles).length > 0 || O.autoFetchSvg) && Tt && O.autoReplaceSvg && De.dom.i2svg({
|
|
7391
7392
|
node: n
|
|
7392
7393
|
});
|
|
7393
7394
|
};
|
|
@@ -7402,7 +7403,7 @@ function zr(e, t) {
|
|
|
7402
7403
|
}
|
|
7403
7404
|
}), Object.defineProperty(e, "node", {
|
|
7404
7405
|
get: function() {
|
|
7405
|
-
if (
|
|
7406
|
+
if (Tt) {
|
|
7406
7407
|
var n = ee.createElement("div");
|
|
7407
7408
|
return n.innerHTML = e.html, n.children;
|
|
7408
7409
|
}
|
|
@@ -7427,7 +7428,7 @@ function d6(e) {
|
|
|
7427
7428
|
}];
|
|
7428
7429
|
}
|
|
7429
7430
|
function p6(e) {
|
|
7430
|
-
var t = e.prefix, a = e.iconName, n = e.children, r = e.attributes, o = e.symbol, i = o === !0 ? "".concat(t, "-").concat(
|
|
7431
|
+
var t = e.prefix, a = e.iconName, n = e.children, r = e.attributes, o = e.symbol, i = o === !0 ? "".concat(t, "-").concat(O.cssPrefix, "-").concat(a) : o;
|
|
7431
7432
|
return [{
|
|
7432
7433
|
tag: "svg",
|
|
7433
7434
|
attributes: {
|
|
@@ -7449,7 +7450,7 @@ function m6(e) {
|
|
|
7449
7450
|
});
|
|
7450
7451
|
}
|
|
7451
7452
|
function Ei(e) {
|
|
7452
|
-
var t = e.icons, a = t.main, n = t.mask, r = e.prefix, o = e.iconName, i = e.transform, s = e.symbol, l = e.maskId, c = e.extra, u = e.watchable, f = u === void 0 ? !1 : u, y = n.found ? n : a, b = y.width, S = y.height, d = [
|
|
7453
|
+
var t = e.icons, a = t.main, n = t.mask, r = e.prefix, o = e.iconName, i = e.transform, s = e.symbol, l = e.maskId, c = e.extra, u = e.watchable, f = u === void 0 ? !1 : u, y = n.found ? n : a, b = y.width, S = y.height, d = [O.replacementClass, o ? "".concat(O.cssPrefix, "-").concat(o) : ""].filter(function(w) {
|
|
7453
7454
|
return c.classes.indexOf(w) === -1;
|
|
7454
7455
|
}).filter(function(w) {
|
|
7455
7456
|
return w !== "" || !!w;
|
|
@@ -7473,10 +7474,10 @@ function Ei(e) {
|
|
|
7473
7474
|
transform: i,
|
|
7474
7475
|
symbol: s,
|
|
7475
7476
|
styles: T({}, c.styles)
|
|
7476
|
-
}), v = n.found && a.found ?
|
|
7477
|
+
}), v = n.found && a.found ? jt("generateAbstractMask", h) || {
|
|
7477
7478
|
children: [],
|
|
7478
7479
|
attributes: {}
|
|
7479
|
-
} :
|
|
7480
|
+
} : jt("generateAbstractIcon", h) || {
|
|
7480
7481
|
children: [],
|
|
7481
7482
|
attributes: {}
|
|
7482
7483
|
}, A = v.children, k = v.attributes;
|
|
@@ -7520,19 +7521,19 @@ function Yo(e) {
|
|
|
7520
7521
|
return Array.isArray(o) ? i = {
|
|
7521
7522
|
tag: "g",
|
|
7522
7523
|
attributes: {
|
|
7523
|
-
class: "".concat(
|
|
7524
|
+
class: "".concat(O.cssPrefix, "-").concat(co.GROUP)
|
|
7524
7525
|
},
|
|
7525
7526
|
children: [{
|
|
7526
7527
|
tag: "path",
|
|
7527
7528
|
attributes: {
|
|
7528
|
-
class: "".concat(
|
|
7529
|
+
class: "".concat(O.cssPrefix, "-").concat(co.SECONDARY),
|
|
7529
7530
|
fill: "currentColor",
|
|
7530
7531
|
d: o[0]
|
|
7531
7532
|
}
|
|
7532
7533
|
}, {
|
|
7533
7534
|
tag: "path",
|
|
7534
7535
|
attributes: {
|
|
7535
|
-
class: "".concat(
|
|
7536
|
+
class: "".concat(O.cssPrefix, "-").concat(co.PRIMARY),
|
|
7536
7537
|
fill: "currentColor",
|
|
7537
7538
|
d: o[1]
|
|
7538
7539
|
}
|
|
@@ -7556,11 +7557,11 @@ var v6 = {
|
|
|
7556
7557
|
height: 512
|
|
7557
7558
|
};
|
|
7558
7559
|
function g6(e, t) {
|
|
7559
|
-
!Fc && !
|
|
7560
|
+
!Fc && !O.showMissingIcons && e && console.error('Icon with name "'.concat(e, '" and prefix "').concat(t, '" is missing.'));
|
|
7560
7561
|
}
|
|
7561
7562
|
function Xo(e, t) {
|
|
7562
7563
|
var a = t;
|
|
7563
|
-
return t === "fa" &&
|
|
7564
|
+
return t === "fa" && O.styleDefault !== null && (t = $t()), new Promise(function(n, r) {
|
|
7564
7565
|
if (a === "fa") {
|
|
7565
7566
|
var o = t1(e) || {};
|
|
7566
7567
|
e = o.iconName || e, t = o.prefix || t;
|
|
@@ -7570,12 +7571,12 @@ function Xo(e, t) {
|
|
|
7570
7571
|
return n(Yo(i));
|
|
7571
7572
|
}
|
|
7572
7573
|
g6(e, t), n(T(T({}, v6), {}, {
|
|
7573
|
-
icon:
|
|
7574
|
+
icon: O.showMissingIcons && e ? jt("missingIconAbstract") || {} : {}
|
|
7574
7575
|
}));
|
|
7575
7576
|
});
|
|
7576
7577
|
}
|
|
7577
7578
|
var Us = function() {
|
|
7578
|
-
}, Qo =
|
|
7579
|
+
}, Qo = O.measurePerformance && Nn && Nn.mark && Nn.measure ? Nn : {
|
|
7579
7580
|
mark: Us,
|
|
7580
7581
|
measure: Us
|
|
7581
7582
|
}, $a = 'FA "7.0.0"', y6 = function(t) {
|
|
@@ -7598,12 +7599,12 @@ function b6(e) {
|
|
|
7598
7599
|
return t && a;
|
|
7599
7600
|
}
|
|
7600
7601
|
function S6(e) {
|
|
7601
|
-
return e && e.classList && e.classList.contains && e.classList.contains(
|
|
7602
|
+
return e && e.classList && e.classList.contains && e.classList.contains(O.replacementClass);
|
|
7602
7603
|
}
|
|
7603
7604
|
function w6() {
|
|
7604
|
-
if (
|
|
7605
|
+
if (O.autoReplaceSvg === !0)
|
|
7605
7606
|
return $n.replace;
|
|
7606
|
-
var e = $n[
|
|
7607
|
+
var e = $n[O.autoReplaceSvg];
|
|
7607
7608
|
return e || $n.replace;
|
|
7608
7609
|
}
|
|
7609
7610
|
function C6(e) {
|
|
@@ -7637,7 +7638,7 @@ var $n = {
|
|
|
7637
7638
|
if (a.parentNode)
|
|
7638
7639
|
if (t[1].forEach(function(r) {
|
|
7639
7640
|
a.parentNode.insertBefore(o1(r), a);
|
|
7640
|
-
}), a.getAttribute(ra) === null &&
|
|
7641
|
+
}), a.getAttribute(ra) === null && O.keepOriginalSource) {
|
|
7641
7642
|
var n = ee.createComment(T6(a));
|
|
7642
7643
|
a.parentNode.replaceChild(n, a);
|
|
7643
7644
|
} else
|
|
@@ -7645,12 +7646,12 @@ var $n = {
|
|
|
7645
7646
|
},
|
|
7646
7647
|
nest: function(t) {
|
|
7647
7648
|
var a = t[0], n = t[1];
|
|
7648
|
-
if (~Ci(a).indexOf(
|
|
7649
|
+
if (~Ci(a).indexOf(O.replacementClass))
|
|
7649
7650
|
return $n.replace(t);
|
|
7650
|
-
var r = new RegExp("".concat(
|
|
7651
|
+
var r = new RegExp("".concat(O.cssPrefix, "-.*"));
|
|
7651
7652
|
if (delete n[0].attributes.id, n[0].attributes.class) {
|
|
7652
7653
|
var o = n[0].attributes.class.split(" ").reduce(function(s, l) {
|
|
7653
|
-
return l ===
|
|
7654
|
+
return l === O.replacementClass || l.match(r) ? s.toSvg.push(l) : s.toNode.push(l), s;
|
|
7654
7655
|
}, {
|
|
7655
7656
|
toNode: [],
|
|
7656
7657
|
toSvg: []
|
|
@@ -7673,7 +7674,7 @@ function i1(e, t) {
|
|
|
7673
7674
|
a();
|
|
7674
7675
|
else {
|
|
7675
7676
|
var n = Vs;
|
|
7676
|
-
|
|
7677
|
+
O.mutateApproach === Nd && (n = _t.requestAnimationFrame || Vs), n(function() {
|
|
7677
7678
|
var r = w6(), o = Ni.begin("mutate");
|
|
7678
7679
|
e.map(r), o(), a();
|
|
7679
7680
|
});
|
|
@@ -7688,20 +7689,20 @@ function Zo() {
|
|
|
7688
7689
|
}
|
|
7689
7690
|
var yr = null;
|
|
7690
7691
|
function Ws(e) {
|
|
7691
|
-
if (Ps &&
|
|
7692
|
+
if (Ps && O.observeMutations) {
|
|
7692
7693
|
var t = e.treeCallback, a = t === void 0 ? _n : t, n = e.nodeCallback, r = n === void 0 ? _n : n, o = e.pseudoElementsCallback, i = o === void 0 ? _n : o, s = e.observeMutationsRoot, l = s === void 0 ? ee : s;
|
|
7693
7694
|
yr = new Ps(function(c) {
|
|
7694
7695
|
if (!Li) {
|
|
7695
|
-
var u =
|
|
7696
|
+
var u = $t();
|
|
7696
7697
|
Aa(c).forEach(function(f) {
|
|
7697
|
-
if (f.type === "childList" && f.addedNodes.length > 0 && !Hs(f.addedNodes[0]) && (
|
|
7698
|
+
if (f.type === "childList" && f.addedNodes.length > 0 && !Hs(f.addedNodes[0]) && (O.searchPseudoElements && i(f.target), a(f.target)), f.type === "attributes" && f.target.parentNode && O.searchPseudoElements && i([f.target], !0), f.type === "attributes" && Hs(f.target) && ~xd.indexOf(f.attributeName))
|
|
7698
7699
|
if (f.attributeName === "class" && b6(f.target)) {
|
|
7699
7700
|
var y = Or(Ci(f.target)), b = y.prefix, S = y.iconName;
|
|
7700
7701
|
f.target.setAttribute(Si, b || u), S && f.target.setAttribute(wi, S);
|
|
7701
7702
|
} else S6(f.target) && r(f.target);
|
|
7702
7703
|
});
|
|
7703
7704
|
}
|
|
7704
|
-
}),
|
|
7705
|
+
}), Tt && yr.observe(l, {
|
|
7705
7706
|
childList: !0,
|
|
7706
7707
|
attributes: !0,
|
|
7707
7708
|
characterData: !0,
|
|
@@ -7721,7 +7722,7 @@ function E6(e) {
|
|
|
7721
7722
|
}
|
|
7722
7723
|
function N6(e) {
|
|
7723
7724
|
var t = e.getAttribute("data-prefix"), a = e.getAttribute("data-icon"), n = e.innerText !== void 0 ? e.innerText.trim() : "", r = Or(Ci(e));
|
|
7724
|
-
return r.prefix || (r.prefix =
|
|
7725
|
+
return r.prefix || (r.prefix = $t()), t && a && (r.prefix = t, r.iconName = a), r.iconName && r.prefix || (r.prefix && n.length > 0 && (r.iconName = Xd(r.prefix, e.innerText) || ki(r.prefix, qc(e.innerText))), !r.iconName && O.autoFetchSvg && e.firstChild && e.firstChild.nodeType === Node.TEXT_NODE && (r.iconName = e.firstChild.data)), r;
|
|
7725
7726
|
}
|
|
7726
7727
|
function L6(e) {
|
|
7727
7728
|
var t = Aa(e.attributes).reduce(function(a, n) {
|
|
@@ -7733,7 +7734,7 @@ function P6() {
|
|
|
7733
7734
|
return {
|
|
7734
7735
|
iconName: null,
|
|
7735
7736
|
prefix: null,
|
|
7736
|
-
transform:
|
|
7737
|
+
transform: ft,
|
|
7737
7738
|
symbol: !1,
|
|
7738
7739
|
mask: {
|
|
7739
7740
|
iconName: null,
|
|
@@ -7755,7 +7756,7 @@ function qs(e) {
|
|
|
7755
7756
|
return T({
|
|
7756
7757
|
iconName: n,
|
|
7757
7758
|
prefix: r,
|
|
7758
|
-
transform:
|
|
7759
|
+
transform: ft,
|
|
7759
7760
|
mask: {
|
|
7760
7761
|
iconName: null,
|
|
7761
7762
|
prefix: null,
|
|
@@ -7772,22 +7773,22 @@ function qs(e) {
|
|
|
7772
7773
|
}
|
|
7773
7774
|
var D6 = Be.styles;
|
|
7774
7775
|
function l1(e) {
|
|
7775
|
-
var t =
|
|
7776
|
+
var t = O.autoReplaceSvg === "nest" ? qs(e, {
|
|
7776
7777
|
styleParser: !1
|
|
7777
7778
|
}) : qs(e);
|
|
7778
|
-
return ~t.extra.classes.indexOf(jc) ?
|
|
7779
|
+
return ~t.extra.classes.indexOf(jc) ? jt("generateLayersText", e, t) : jt("generateSvgReplacementMutation", e, t);
|
|
7779
7780
|
}
|
|
7780
7781
|
function O6() {
|
|
7781
7782
|
return [].concat(Ve(Oc), Ve(zc));
|
|
7782
7783
|
}
|
|
7783
7784
|
function Ks(e) {
|
|
7784
7785
|
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : null;
|
|
7785
|
-
if (!
|
|
7786
|
+
if (!Tt) return Promise.resolve();
|
|
7786
7787
|
var a = ee.documentElement.classList, n = function(f) {
|
|
7787
7788
|
return a.add("".concat(zs, "-").concat(f));
|
|
7788
7789
|
}, r = function(f) {
|
|
7789
7790
|
return a.remove("".concat(zs, "-").concat(f));
|
|
7790
|
-
}, o =
|
|
7791
|
+
}, o = O.autoFetchSvg ? O6() : vc.concat(Object.keys(D6));
|
|
7791
7792
|
o.includes("fa") || o.push("fa");
|
|
7792
7793
|
var i = [".".concat(jc, ":not([").concat(ra, "])")].concat(o.map(function(u) {
|
|
7793
7794
|
return ".".concat(u, ":not([").concat(ra, "])");
|
|
@@ -7837,7 +7838,7 @@ function x6(e) {
|
|
|
7837
7838
|
};
|
|
7838
7839
|
}
|
|
7839
7840
|
var M6 = function(t) {
|
|
7840
|
-
var a = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = a.transform, r = n === void 0 ?
|
|
7841
|
+
var a = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = a.transform, r = n === void 0 ? ft : n, o = a.symbol, i = o === void 0 ? !1 : o, s = a.mask, l = s === void 0 ? null : s, c = a.maskId, u = c === void 0 ? null : c, f = a.classes, y = f === void 0 ? [] : f, b = a.attributes, S = b === void 0 ? {} : b, d = a.styles, m = d === void 0 ? {} : d;
|
|
7841
7842
|
if (t) {
|
|
7842
7843
|
var h = t.prefix, v = t.iconName, A = t.icon;
|
|
7843
7844
|
return zr(T({
|
|
@@ -7858,7 +7859,7 @@ var M6 = function(t) {
|
|
|
7858
7859
|
},
|
|
7859
7860
|
prefix: h,
|
|
7860
7861
|
iconName: v,
|
|
7861
|
-
transform: T(T({},
|
|
7862
|
+
transform: T(T({}, ft), r),
|
|
7862
7863
|
symbol: i,
|
|
7863
7864
|
maskId: u,
|
|
7864
7865
|
extra: {
|
|
@@ -7916,7 +7917,7 @@ var M6 = function(t) {
|
|
|
7916
7917
|
var n = a.children, r = a.attributes, o = a.main, i = a.transform, s = a.styles, l = Pr(s);
|
|
7917
7918
|
l.length > 0 && (r.style = l);
|
|
7918
7919
|
var c;
|
|
7919
|
-
return Ai(i) && (c =
|
|
7920
|
+
return Ai(i) && (c = jt("generateAbstractTransformGrouping", {
|
|
7920
7921
|
main: o,
|
|
7921
7922
|
transform: i,
|
|
7922
7923
|
containerWidth: o.width,
|
|
@@ -7947,7 +7948,7 @@ var M6 = function(t) {
|
|
|
7947
7948
|
}), [{
|
|
7948
7949
|
tag: "span",
|
|
7949
7950
|
attributes: {
|
|
7950
|
-
class: ["".concat(
|
|
7951
|
+
class: ["".concat(O.cssPrefix, "-layers")].concat(Ve(o)).join(" ")
|
|
7951
7952
|
},
|
|
7952
7953
|
children: i
|
|
7953
7954
|
}];
|
|
@@ -7974,7 +7975,7 @@ var M6 = function(t) {
|
|
|
7974
7975
|
extra: {
|
|
7975
7976
|
attributes: s,
|
|
7976
7977
|
styles: c,
|
|
7977
|
-
classes: ["".concat(
|
|
7978
|
+
classes: ["".concat(O.cssPrefix, "-layers-counter")].concat(Ve(o))
|
|
7978
7979
|
}
|
|
7979
7980
|
});
|
|
7980
7981
|
});
|
|
@@ -7985,7 +7986,7 @@ var M6 = function(t) {
|
|
|
7985
7986
|
mixout: function() {
|
|
7986
7987
|
return {
|
|
7987
7988
|
text: function(a) {
|
|
7988
|
-
var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, r = n.transform, o = r === void 0 ?
|
|
7989
|
+
var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, r = n.transform, o = r === void 0 ? ft : r, i = n.classes, s = i === void 0 ? [] : i, l = n.attributes, c = l === void 0 ? {} : l, u = n.styles, f = u === void 0 ? {} : u;
|
|
7989
7990
|
return zr({
|
|
7990
7991
|
type: "text",
|
|
7991
7992
|
content: a
|
|
@@ -7995,11 +7996,11 @@ var M6 = function(t) {
|
|
|
7995
7996
|
params: n
|
|
7996
7997
|
}), Bs({
|
|
7997
7998
|
content: a,
|
|
7998
|
-
transform: T(T({},
|
|
7999
|
+
transform: T(T({}, ft), o),
|
|
7999
8000
|
extra: {
|
|
8000
8001
|
attributes: c,
|
|
8001
8002
|
styles: f,
|
|
8002
|
-
classes: ["".concat(
|
|
8003
|
+
classes: ["".concat(O.cssPrefix, "-layers-text")].concat(Ve(s))
|
|
8003
8004
|
}
|
|
8004
8005
|
});
|
|
8005
8006
|
});
|
|
@@ -8053,7 +8054,7 @@ function Ys(e, t) {
|
|
|
8053
8054
|
return n();
|
|
8054
8055
|
var o = Aa(e.children), i = o.filter(function(P) {
|
|
8055
8056
|
return P.getAttribute(Vo) === t;
|
|
8056
|
-
})[0], s =
|
|
8057
|
+
})[0], s = _t.getComputedStyle(e, t), l = s.getPropertyValue("font-family"), c = l.match(Od), u = s.getPropertyValue("font-weight"), f = s.getPropertyValue("content");
|
|
8057
8058
|
if (i && !c)
|
|
8058
8059
|
return e.removeChild(i), n();
|
|
8059
8060
|
if (c && f !== "none" && f !== "") {
|
|
@@ -8133,11 +8134,11 @@ var W6 = function(t) {
|
|
|
8133
8134
|
};
|
|
8134
8135
|
function Xs(e) {
|
|
8135
8136
|
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1;
|
|
8136
|
-
if (
|
|
8137
|
+
if (Tt) {
|
|
8137
8138
|
var a;
|
|
8138
8139
|
if (t)
|
|
8139
8140
|
a = e;
|
|
8140
|
-
else if (
|
|
8141
|
+
else if (O.searchPseudoElementsFullScan)
|
|
8141
8142
|
a = e.querySelectorAll("*");
|
|
8142
8143
|
else {
|
|
8143
8144
|
var n = /* @__PURE__ */ new Set(), r = Fn(document.styleSheets), o;
|
|
@@ -8166,7 +8167,7 @@ function Xs(e) {
|
|
|
8166
8167
|
s.f();
|
|
8167
8168
|
}
|
|
8168
8169
|
} catch (d) {
|
|
8169
|
-
|
|
8170
|
+
O.searchPseudoElementsWarnings && console.warn("Font Awesome: cannot parse stylesheet: ".concat(i.href, " (").concat(d.message, `)
|
|
8170
8171
|
If it declares any Font Awesome CSS pseudo-elements, they will not be rendered as SVG icons. Add crossorigin="anonymous" to the <link>, enable searchPseudoElementsFullScan for slower but more thorough DOM parsing, or suppress this warning by setting searchPseudoElementsWarnings to false.`));
|
|
8171
8172
|
}
|
|
8172
8173
|
}
|
|
@@ -8203,7 +8204,7 @@ var K6 = {
|
|
|
8203
8204
|
provides: function(t) {
|
|
8204
8205
|
t.pseudoElements2svg = function(a) {
|
|
8205
8206
|
var n = a.node, r = n === void 0 ? ee : n;
|
|
8206
|
-
|
|
8207
|
+
O.searchPseudoElements && Xs(r);
|
|
8207
8208
|
};
|
|
8208
8209
|
}
|
|
8209
8210
|
}, Qs = !1, G6 = {
|
|
@@ -8340,7 +8341,7 @@ var X6 = {
|
|
|
8340
8341
|
var r = n.getAttribute("data-fa-mask"), o = r ? Or(r.split(" ").map(function(i) {
|
|
8341
8342
|
return i.trim();
|
|
8342
8343
|
})) : a1();
|
|
8343
|
-
return o.prefix || (o.prefix =
|
|
8344
|
+
return o.prefix || (o.prefix = $t()), a.mask = o, a.maskId = n.getAttribute("data-fa-mask-id"), a;
|
|
8344
8345
|
}
|
|
8345
8346
|
};
|
|
8346
8347
|
},
|
|
@@ -8402,7 +8403,7 @@ var X6 = {
|
|
|
8402
8403
|
}, Q6 = {
|
|
8403
8404
|
provides: function(t) {
|
|
8404
8405
|
var a = !1;
|
|
8405
|
-
|
|
8406
|
+
_t.matchMedia && (a = _t.matchMedia("(prefers-reduced-motion: reduce)").matches), t.missingIconAbstract = function() {
|
|
8406
8407
|
var n = [], r = {
|
|
8407
8408
|
fill: "currentColor"
|
|
8408
8409
|
}, o = {
|
|
@@ -8513,7 +8514,7 @@ function tl(e, t) {
|
|
|
8513
8514
|
}
|
|
8514
8515
|
return a;
|
|
8515
8516
|
}
|
|
8516
|
-
function
|
|
8517
|
+
function yt(e) {
|
|
8517
8518
|
for (var t = 1; t < arguments.length; t++) {
|
|
8518
8519
|
var a = arguments[t] != null ? arguments[t] : {};
|
|
8519
8520
|
t % 2 ? tl(Object(a), !0).forEach(function(n) {
|
|
@@ -8697,9 +8698,9 @@ function f1(e) {
|
|
|
8697
8698
|
});
|
|
8698
8699
|
a.class;
|
|
8699
8700
|
var o = a.style, i = o === void 0 ? {} : o, s = n4(a, u4);
|
|
8700
|
-
return M1(e.tag,
|
|
8701
|
+
return M1(e.tag, yt(yt(yt({}, t), {}, {
|
|
8701
8702
|
class: r.class,
|
|
8702
|
-
style:
|
|
8703
|
+
style: yt(yt({}, r.style), i)
|
|
8703
8704
|
}, r.attrs), s), n);
|
|
8704
8705
|
}
|
|
8705
8706
|
var d1 = !1;
|
|
@@ -8874,7 +8875,7 @@ var m4 = We({
|
|
|
8874
8875
|
}), s = p(function() {
|
|
8875
8876
|
return ho("mask", al(t.mask));
|
|
8876
8877
|
}), l = p(function() {
|
|
8877
|
-
var u =
|
|
8878
|
+
var u = yt(yt(yt(yt({}, o.value), i.value), s.value), {}, {
|
|
8878
8879
|
symbol: t.symbol,
|
|
8879
8880
|
maskId: t.maskId
|
|
8880
8881
|
});
|
|
@@ -9424,12 +9425,12 @@ const D3 = /* @__PURE__ */ We({
|
|
|
9424
9425
|
rotation: t.rotate ? 180 : void 0
|
|
9425
9426
|
}, null, 8, ["class", "icon", "rotation"]));
|
|
9426
9427
|
}
|
|
9427
|
-
}),
|
|
9428
|
+
}), Ut = (e, t) => {
|
|
9428
9429
|
const a = e.__vccOpts || e;
|
|
9429
9430
|
for (const [n, r] of t)
|
|
9430
9431
|
a[n] = r;
|
|
9431
9432
|
return a;
|
|
9432
|
-
}, tn = /* @__PURE__ */
|
|
9433
|
+
}, tn = /* @__PURE__ */ Ut(D3, [["__scopeId", "data-v-6d49975d"]]), O3 = {
|
|
9433
9434
|
key: 0,
|
|
9434
9435
|
class: "konnectio-alert-message"
|
|
9435
9436
|
}, z3 = /* @__PURE__ */ We({
|
|
@@ -9460,7 +9461,7 @@ const D3 = /* @__PURE__ */ We({
|
|
|
9460
9461
|
])) : ue("", !0)
|
|
9461
9462
|
], 2));
|
|
9462
9463
|
}
|
|
9463
|
-
}), x3 = /* @__PURE__ */
|
|
9464
|
+
}), x3 = /* @__PURE__ */ Ut(z3, [["__scopeId", "data-v-46bf8609"]]), M3 = { class: "konnectio-container" }, I3 = /* @__PURE__ */ We({
|
|
9464
9465
|
__name: "Container",
|
|
9465
9466
|
props: {
|
|
9466
9467
|
styling: {}
|
|
@@ -9488,6 +9489,7 @@ const D3 = /* @__PURE__ */ We({
|
|
|
9488
9489
|
headerFontFamily: "inherit",
|
|
9489
9490
|
headerLetterSpacing: "inherit",
|
|
9490
9491
|
headerTextTransform: "none",
|
|
9492
|
+
highlightBackground: "#fff5c3",
|
|
9491
9493
|
inputBorder: "1px solid rgba(0, 0, 0, 0.15)",
|
|
9492
9494
|
inputBackground: "#f8f8f8",
|
|
9493
9495
|
inputBorderWidth: "0px 0px 1px",
|
|
@@ -9520,7 +9522,7 @@ const D3 = /* @__PURE__ */ We({
|
|
|
9520
9522
|
}));
|
|
9521
9523
|
return nn(() => {
|
|
9522
9524
|
const n = document.documentElement.style;
|
|
9523
|
-
n.setProperty("--accentColor", a.value.accentColor), n.setProperty("--accentColorSecondary", a.value.accentColorSecondary), n.setProperty("--buttonBackground", a.value.buttonBackground), n.setProperty("--buttonBorder", a.value.buttonBorder), n.setProperty("--buttonBorderRadius", a.value.buttonBorderRadius), n.setProperty("--buttonColor", a.value.buttonColor), n.setProperty("--buttonFontFamily", a.value.buttonFontFamily), n.setProperty("--buttonFontSize", a.value.buttonFontSize), n.setProperty("--buttonFontWeight", a.value.buttonFontWeight), n.setProperty("--buttonTextTransform", a.value.buttonTextTransform), n.setProperty("--dangerColor", a.value.dangerColor), n.setProperty("--fontColor", a.value.fontColor), n.setProperty("--fontFamily", a.value.fontFamily), n.setProperty("--fontWeight", a.value.fontWeight), n.setProperty("--fontSize", a.value.fontSize), n.setProperty("--grayColor", a.value.grayColor), n.setProperty("--headerColor", a.value.headerColor), n.setProperty("--headerFontFamily", a.value.headerFontFamily), n.setProperty("--headerLetterSpacing", a.value.headerLetterSpacing), n.setProperty("--headerTextTransform", a.value.headerTextTransform), n.setProperty("--inputBackground", a.value.inputBackground), n.setProperty("--inputBorder", a.value.inputBorder), n.setProperty("--inputBorderRadius", a.value.inputBorderRadius), n.setProperty("--inputBorderWidth", a.value.inputBorderWidth), n.setProperty("--inputFontColor", a.value.inputFontColor), n.setProperty("--inputFontWeight", a.value.inputFontWeight), n.setProperty("--inputFontSize", a.value.inputFontSize), n.setProperty("--labelFontColor", a.value.labelFontColor), n.setProperty("--labelFontWeight", a.value.labelFontWeight), n.setProperty("--labelFontSize", a.value.labelFontSize), n.setProperty("--labelPadding", a.value.labelPadding), n.setProperty("--labelTextTransform", a.value.labelTextTransform), n.setProperty("--linkColor", a.value.linkColor), n.setProperty("--linkHoverColor", a.value.linkHoverColor), n.setProperty("--loadingColor", a.value.loadingColor), n.setProperty("--panelBackground", a.value.panelBackground), n.setProperty("--panelBorder", a.value.panelBorder), n.setProperty("--panelBorderRadius", a.value.panelBorderRadius), n.setProperty("--panelInnerPadding", a.value.panelInnerPadding), n.setProperty("--panelMaxWidth", a.value.panelMaxWidth), n.setProperty("--panelPadding", a.value.panelPadding), n.setProperty("--panelSectionBackground", a.value.panelSectionBackground), n.setProperty("--panelSectionBorder", a.value.panelSectionBorder), n.setProperty("--panelSectionBorderRadius", a.value.panelSectionBorderRadius), n.setProperty("--panelShadow", a.value.panelShadow), n.setProperty("--successColor", a.value.successColor), n.setProperty("--stepBarBorderRadius", a.value.stepBarBorderRadius), n.setProperty("--stepBarBackground", a.value.stepBarBackground);
|
|
9525
|
+
n.setProperty("--accentColor", a.value.accentColor), n.setProperty("--accentColorSecondary", a.value.accentColorSecondary), n.setProperty("--buttonBackground", a.value.buttonBackground), n.setProperty("--buttonBorder", a.value.buttonBorder), n.setProperty("--buttonBorderRadius", a.value.buttonBorderRadius), n.setProperty("--buttonColor", a.value.buttonColor), n.setProperty("--buttonFontFamily", a.value.buttonFontFamily), n.setProperty("--buttonFontSize", a.value.buttonFontSize), n.setProperty("--buttonFontWeight", a.value.buttonFontWeight), n.setProperty("--buttonTextTransform", a.value.buttonTextTransform), n.setProperty("--dangerColor", a.value.dangerColor), n.setProperty("--fontColor", a.value.fontColor), n.setProperty("--fontFamily", a.value.fontFamily), n.setProperty("--fontWeight", a.value.fontWeight), n.setProperty("--fontSize", a.value.fontSize), n.setProperty("--grayColor", a.value.grayColor), n.setProperty("--headerColor", a.value.headerColor), n.setProperty("--headerFontFamily", a.value.headerFontFamily), n.setProperty("--headerLetterSpacing", a.value.headerLetterSpacing), n.setProperty("--headerTextTransform", a.value.headerTextTransform), n.setProperty("--highlightBackground", a.value.highlightBackground), n.setProperty("--inputBackground", a.value.inputBackground), n.setProperty("--inputBorder", a.value.inputBorder), n.setProperty("--inputBorderRadius", a.value.inputBorderRadius), n.setProperty("--inputBorderWidth", a.value.inputBorderWidth), n.setProperty("--inputFontColor", a.value.inputFontColor), n.setProperty("--inputFontWeight", a.value.inputFontWeight), n.setProperty("--inputFontSize", a.value.inputFontSize), n.setProperty("--labelFontColor", a.value.labelFontColor), n.setProperty("--labelFontWeight", a.value.labelFontWeight), n.setProperty("--labelFontSize", a.value.labelFontSize), n.setProperty("--labelPadding", a.value.labelPadding), n.setProperty("--labelTextTransform", a.value.labelTextTransform), n.setProperty("--linkColor", a.value.linkColor), n.setProperty("--linkHoverColor", a.value.linkHoverColor), n.setProperty("--loadingColor", a.value.loadingColor), n.setProperty("--panelBackground", a.value.panelBackground), n.setProperty("--panelBorder", a.value.panelBorder), n.setProperty("--panelBorderRadius", a.value.panelBorderRadius), n.setProperty("--panelInnerPadding", a.value.panelInnerPadding), n.setProperty("--panelMaxWidth", a.value.panelMaxWidth), n.setProperty("--panelPadding", a.value.panelPadding), n.setProperty("--panelSectionBackground", a.value.panelSectionBackground), n.setProperty("--panelSectionBorder", a.value.panelSectionBorder), n.setProperty("--panelSectionBorderRadius", a.value.panelSectionBorderRadius), n.setProperty("--panelShadow", a.value.panelShadow), n.setProperty("--successColor", a.value.successColor), n.setProperty("--stepBarBorderRadius", a.value.stepBarBorderRadius), n.setProperty("--stepBarBackground", a.value.stepBarBackground);
|
|
9524
9526
|
}), (n, r) => (R(), U("div", null, [
|
|
9525
9527
|
G("div", M3, [
|
|
9526
9528
|
Ae(n.$slots, "default", {}, void 0, !0)
|
|
@@ -9528,7 +9530,7 @@ const D3 = /* @__PURE__ */ We({
|
|
|
9528
9530
|
ia(x3, { "local-domain": "global" })
|
|
9529
9531
|
]));
|
|
9530
9532
|
}
|
|
9531
|
-
}), zh = /* @__PURE__ */
|
|
9533
|
+
}), zh = /* @__PURE__ */ Ut(I3, [["__scopeId", "data-v-9e36fdbf"]]), R3 = /* @__PURE__ */ We({
|
|
9532
9534
|
__name: "Loading",
|
|
9533
9535
|
props: {
|
|
9534
9536
|
color: {},
|
|
@@ -9555,13 +9557,13 @@ const D3 = /* @__PURE__ */ We({
|
|
|
9555
9557
|
}, null, 4)
|
|
9556
9558
|
], 2));
|
|
9557
9559
|
}
|
|
9558
|
-
}), F3 = /* @__PURE__ */
|
|
9560
|
+
}), F3 = /* @__PURE__ */ Ut(R3, [["__scopeId", "data-v-38453619"]]), _3 = {}, $3 = { class: "konnectio-spinner" };
|
|
9559
9561
|
function j3(e, t) {
|
|
9560
|
-
return R(), U("div", $3, t[0] || (t[0] = [
|
|
9562
|
+
return R(), U("div", $3, [...t[0] || (t[0] = [
|
|
9561
9563
|
G("span", null, null, -1)
|
|
9562
|
-
]));
|
|
9564
|
+
])]);
|
|
9563
9565
|
}
|
|
9564
|
-
const B3 = /* @__PURE__ */
|
|
9566
|
+
const B3 = /* @__PURE__ */ Ut(_3, [["render", j3], ["__scopeId", "data-v-88ad2e2d"]]), U3 = ["type", "tabindex", "disabled"], H3 = { style: { "--accentColor": "var(--buttonColor)" } }, V3 = {
|
|
9565
9567
|
key: 0,
|
|
9566
9568
|
class: "konnectio-button-label"
|
|
9567
9569
|
}, W3 = {
|
|
@@ -9626,7 +9628,7 @@ const B3 = /* @__PURE__ */ Bt(_3, [["render", j3], ["__scopeId", "data-v-88ad2e2
|
|
|
9626
9628
|
], 64))
|
|
9627
9629
|
], 10, U3));
|
|
9628
9630
|
}
|
|
9629
|
-
}), xh = /* @__PURE__ */
|
|
9631
|
+
}), xh = /* @__PURE__ */ Ut(K3, [["__scopeId", "data-v-540a1086"]]), G3 = { class: "konnectio-input-field" }, J3 = ["for"], Y3 = { key: 0 }, X3 = {
|
|
9630
9632
|
key: 0,
|
|
9631
9633
|
class: "konnectio-description-label"
|
|
9632
9634
|
}, Q3 = ["for"], Z3 = {
|
|
@@ -9650,7 +9652,7 @@ const B3 = /* @__PURE__ */ Bt(_3, [["render", j3], ["__scopeId", "data-v-88ad2e2
|
|
|
9650
9652
|
noOptionalLabel: { type: Boolean, default: !0 }
|
|
9651
9653
|
},
|
|
9652
9654
|
setup(e) {
|
|
9653
|
-
const t = e, { t: a } = fl(), { hideOptionalLabel: n } = aa(
|
|
9655
|
+
const t = e, { t: a } = fl(), { hideOptionalLabel: n } = aa(wt()), r = t.id || wr(), o = p(() => !!t.icon && t.iconPlacement === "label"), i = p(() => !!t.icon && t.iconPlacement === "field"), s = p(() => {
|
|
9654
9656
|
if (t.limit !== 1 / 0) {
|
|
9655
9657
|
let l = t.limit.toString().length;
|
|
9656
9658
|
return l <= 2 ? "has-2-digit-limit" : l === 3 ? "has-3-digit-limit" : "has-4-digit-limit";
|
|
@@ -9714,7 +9716,7 @@ const B3 = /* @__PURE__ */ Bt(_3, [["render", j3], ["__scopeId", "data-v-88ad2e2
|
|
|
9714
9716
|
])) : ue("", !0)
|
|
9715
9717
|
]));
|
|
9716
9718
|
}
|
|
9717
|
-
}), Pi = /* @__PURE__ */
|
|
9719
|
+
}), Pi = /* @__PURE__ */ Ut(tm, [["__scopeId", "data-v-b0727f34"]]);
|
|
9718
9720
|
/*! vue-number-input v2.0.1 | (c) 2018-present Chen Fengyuan | MIT */
|
|
9719
9721
|
const Jt = Number.isNaN || window.isNaN, am = /^-?(?:\d+|\d+\.\d+|\.\d+)(?:[eE][-+]?\d+)?$/, nm = /\.\d*(?:0|9){10}\d*$/, nl = (e, t = 1e11) => nm.test(String(e)) ? Math.round(e * t) / t : e;
|
|
9720
9722
|
var Di = We({
|
|
@@ -10120,7 +10122,7 @@ const Mh = /* @__PURE__ */ We({
|
|
|
10120
10122
|
}, 8, ["label", "id", "icon", "icon-color", "icon-type", "required", "type", "readonly", "description", "limit", "no-optional-label"]);
|
|
10121
10123
|
};
|
|
10122
10124
|
}
|
|
10123
|
-
}), Ih = /* @__PURE__ */
|
|
10125
|
+
}), Ih = /* @__PURE__ */ Ut(vm, [["__scopeId", "data-v-4c9a8a33"]]);
|
|
10124
10126
|
var gm = Object.defineProperty, ym = Object.defineProperties, bm = Object.getOwnPropertyDescriptors, rl = Object.getOwnPropertySymbols, Sm = Object.prototype.hasOwnProperty, wm = Object.prototype.propertyIsEnumerable, ol = (e, t, a) => t in e ? gm(e, t, { enumerable: !0, configurable: !0, writable: !0, value: a }) : e[t] = a, pa = (e, t) => {
|
|
10125
10127
|
for (var a in t || (t = {}))
|
|
10126
10128
|
Sm.call(t, a) && ol(e, a, t[a]);
|
|
@@ -10766,7 +10768,7 @@ function eh(e, t, a, n, r, o) {
|
|
|
10766
10768
|
dir: a.dir,
|
|
10767
10769
|
class: He(["v-select", o.stateClasses])
|
|
10768
10770
|
}, [
|
|
10769
|
-
Ae(e.$slots, "header", je(
|
|
10771
|
+
Ae(e.$slots, "header", je(it(o.scope.header))),
|
|
10770
10772
|
G("div", {
|
|
10771
10773
|
id: `vs${a.uid}__combobox`,
|
|
10772
10774
|
ref: "toggle",
|
|
@@ -10788,7 +10790,7 @@ function eh(e, t, a, n, r, o) {
|
|
|
10788
10790
|
key: a.getOptionKey(s),
|
|
10789
10791
|
class: "vs__selected"
|
|
10790
10792
|
}, [
|
|
10791
|
-
Ae(e.$slots, "selected-option", je(
|
|
10793
|
+
Ae(e.$slots, "selected-option", je(it(o.normalizeOptionForSlot(s))), () => [
|
|
10792
10794
|
Ga(Re(a.getOptionLabel(s)), 1)
|
|
10793
10795
|
]),
|
|
10794
10796
|
a.multiple ? (R(), U("button", {
|
|
@@ -10806,7 +10808,7 @@ function eh(e, t, a, n, r, o) {
|
|
|
10806
10808
|
], 8, Wm)) : ue("", !0)
|
|
10807
10809
|
]))
|
|
10808
10810
|
])), 256)),
|
|
10809
|
-
Ae(e.$slots, "search", je(
|
|
10811
|
+
Ae(e.$slots, "search", je(it(o.scope.search)), () => [
|
|
10810
10812
|
G("input", Ja({ class: "vs__search" }, o.scope.search.attributes, F1(o.scope.search.events)), null, 16)
|
|
10811
10813
|
])
|
|
10812
10814
|
], 512),
|
|
@@ -10824,10 +10826,10 @@ function eh(e, t, a, n, r, o) {
|
|
|
10824
10826
|
], 8, Km), [
|
|
10825
10827
|
[Ki, o.showClearButton]
|
|
10826
10828
|
]),
|
|
10827
|
-
Ae(e.$slots, "open-indicator", je(
|
|
10829
|
+
Ae(e.$slots, "open-indicator", je(it(o.scope.openIndicator)), () => [
|
|
10828
10830
|
a.noDrop ? ue("", !0) : (R(), Ue(Yr(o.childComponents.OpenIndicator), je(Ja({ key: 0 }, o.scope.openIndicator.attributes)), null, 16))
|
|
10829
10831
|
]),
|
|
10830
|
-
Ae(e.$slots, "spinner", je(
|
|
10832
|
+
Ae(e.$slots, "spinner", je(it(o.scope.spinner)), () => [
|
|
10831
10833
|
ga(G("div", Gm, "Loading...", 512), [
|
|
10832
10834
|
[Ki, e.mutableLoading]
|
|
10833
10835
|
])
|
|
@@ -10846,7 +10848,7 @@ function eh(e, t, a, n, r, o) {
|
|
|
10846
10848
|
onMousedown: t[2] || (t[2] = go((...s) => o.onMousedown && o.onMousedown(...s), ["prevent"])),
|
|
10847
10849
|
onMouseup: t[3] || (t[3] = (...s) => o.onMouseUp && o.onMouseUp(...s))
|
|
10848
10850
|
}, [
|
|
10849
|
-
Ae(e.$slots, "list-header", je(
|
|
10851
|
+
Ae(e.$slots, "list-header", je(it(o.scope.listHeader))),
|
|
10850
10852
|
(R(!0), U(vo, null, qi(o.filteredOptions, (s, l) => (R(), U("li", {
|
|
10851
10853
|
id: `vs${a.uid}__option-${l}`,
|
|
10852
10854
|
key: a.getOptionKey(s),
|
|
@@ -10861,16 +10863,16 @@ function eh(e, t, a, n, r, o) {
|
|
|
10861
10863
|
onMouseover: (c) => a.selectable(s) ? e.typeAheadPointer = l : null,
|
|
10862
10864
|
onClick: go((c) => a.selectable(s) ? o.select(s) : null, ["prevent", "stop"])
|
|
10863
10865
|
}, [
|
|
10864
|
-
Ae(e.$slots, "option", je(
|
|
10866
|
+
Ae(e.$slots, "option", je(it(o.normalizeOptionForSlot(s))), () => [
|
|
10865
10867
|
Ga(Re(a.getOptionLabel(s)), 1)
|
|
10866
10868
|
])
|
|
10867
10869
|
], 42, Ym))), 128)),
|
|
10868
10870
|
o.filteredOptions.length === 0 ? (R(), U("li", Xm, [
|
|
10869
|
-
Ae(e.$slots, "no-options", je(
|
|
10871
|
+
Ae(e.$slots, "no-options", je(it(o.scope.noOptions)), () => [
|
|
10870
10872
|
Qm
|
|
10871
10873
|
])
|
|
10872
10874
|
])) : ue("", !0),
|
|
10873
|
-
Ae(e.$slots, "list-footer", je(
|
|
10875
|
+
Ae(e.$slots, "list-footer", je(it(o.scope.listFooter)))
|
|
10874
10876
|
], 40, Jm)), [
|
|
10875
10877
|
[i]
|
|
10876
10878
|
]) : (R(), U("ul", {
|
|
@@ -10882,7 +10884,7 @@ function eh(e, t, a, n, r, o) {
|
|
|
10882
10884
|
]),
|
|
10883
10885
|
_: 3
|
|
10884
10886
|
}, 8, ["name"]),
|
|
10885
|
-
Ae(e.$slots, "footer", je(
|
|
10887
|
+
Ae(e.$slots, "footer", je(it(o.scope.footer)))
|
|
10886
10888
|
], 10, Um);
|
|
10887
10889
|
}
|
|
10888
10890
|
const th = /* @__PURE__ */ Oi(Bm, [["render", eh]]), Rh = /* @__PURE__ */ We({
|
|
@@ -10982,13 +10984,13 @@ export {
|
|
|
10982
10984
|
Xt as Q,
|
|
10983
10985
|
X as S,
|
|
10984
10986
|
Ih as T,
|
|
10985
|
-
|
|
10987
|
+
Ut as _,
|
|
10986
10988
|
sa as a,
|
|
10987
10989
|
ic as b,
|
|
10988
10990
|
Uu as c,
|
|
10989
10991
|
Rh as d,
|
|
10990
10992
|
xh as e,
|
|
10991
|
-
|
|
10993
|
+
wt as f,
|
|
10992
10994
|
cc as g,
|
|
10993
10995
|
sc as h,
|
|
10994
10996
|
Mh as i,
|
|
@@ -11010,4 +11012,4 @@ export {
|
|
|
11010
11012
|
rc as y,
|
|
11011
11013
|
oc as z
|
|
11012
11014
|
};
|
|
11013
|
-
//# sourceMappingURL=SelectField.vue_vue_type_style_index_0_lang-
|
|
11015
|
+
//# sourceMappingURL=SelectField.vue_vue_type_style_index_0_lang-BKeIWAxT.js.map
|