@konnectio/core 4.0.56-rc8 → 4.0.56

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (70) hide show
  1. package/dist/{ActionField-na8McB-H.js → ActionField-j1i8YL6H.js} +43 -34
  2. package/dist/ActionField-j1i8YL6H.js.br +0 -0
  3. package/dist/AvailabilitySkeleton-78ug9z_g.js +294 -0
  4. package/dist/AvailabilitySkeleton-78ug9z_g.js.br +0 -0
  5. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-B72HmqV2.js +8652 -0
  6. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-B72HmqV2.js.br +0 -0
  7. package/dist/CheckoutWindow-DYdrHbQ-.js +677 -0
  8. package/dist/CheckoutWindow-DYdrHbQ-.js.br +0 -0
  9. package/dist/ErrorMessage-DJ_hHpkR.js +45 -0
  10. package/dist/ErrorMessage-DJ_hHpkR.js.br +0 -0
  11. package/dist/EventAvailabilityForm-B4Y8N8P1.js +117 -0
  12. package/dist/EventAvailabilityForm-B4Y8N8P1.js.br +0 -0
  13. package/dist/Field-CHlcB-1U.js +50 -0
  14. package/dist/Field-CHlcB-1U.js.br +0 -0
  15. package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-CXrsASkr.js +18825 -0
  16. package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-CXrsASkr.js.br +0 -0
  17. package/dist/TermsOfService-BTaz4T1c.js +36 -0
  18. package/dist/TermsOfService-BTaz4T1c.js.br +0 -0
  19. package/dist/_-Bv_QUFw4.js +12 -0
  20. package/dist/_.vue_vue_type_style_index_0_lang-BHKGq8g4.js +69 -0
  21. package/dist/_.vue_vue_type_style_index_0_lang-BHKGq8g4.js.br +0 -0
  22. package/dist/_commonjsHelpers-4HJ9V5A_.js +17 -0
  23. package/dist/_sentry-release-injection-file-B7Jqb6lo.js +9598 -0
  24. package/dist/_sentry-release-injection-file-B7Jqb6lo.js.br +0 -0
  25. package/dist/availability.js +89 -170
  26. package/dist/availability.js.br +0 -0
  27. package/dist/deep-link.js +62 -0
  28. package/dist/deep-link.js.br +0 -0
  29. package/dist/event.js +780 -500
  30. package/dist/event.js.br +0 -0
  31. package/dist/gift-card-validation.js +114 -67
  32. package/dist/gift-card-validation.js.br +0 -0
  33. package/dist/gift-card.js +356 -390
  34. package/dist/gift-card.js.br +0 -0
  35. package/dist/giftCard-D5RQomNw.js +134 -0
  36. package/dist/giftCard-D5RQomNw.js.br +0 -0
  37. package/dist/hotel.js +2215 -11
  38. package/dist/hotel.js.br +0 -0
  39. package/dist/masonry.plugin-DKJPmkN0.js +12766 -0
  40. package/dist/masonry.plugin-DKJPmkN0.js.br +0 -0
  41. package/dist/mitt-mvNuFbhJ.js +2952 -0
  42. package/dist/mitt-mvNuFbhJ.js.br +0 -0
  43. package/dist/polyfill.js +13670 -4711
  44. package/dist/polyfill.js.br +0 -0
  45. package/dist/style.css +1 -1
  46. package/dist/style.css.br +0 -0
  47. package/dist/tracing-CMlyHB3J.js +2537 -0
  48. package/dist/tracing-CMlyHB3J.js.br +0 -0
  49. package/package.json +47 -38
  50. package/dist/ActionField-na8McB-H.js.br +0 -0
  51. package/dist/AvailabilitySkeleton-1_yLVsq6.js +0 -214
  52. package/dist/AvailabilitySkeleton-1_yLVsq6.js.br +0 -0
  53. package/dist/CheckoutWindow-r6ch1iOr.js +0 -205
  54. package/dist/CheckoutWindow-r6ch1iOr.js.br +0 -0
  55. package/dist/DateField.vue_vue_type_style_index_0_lang-ZM6h3KFg.js +0 -8558
  56. package/dist/DateField.vue_vue_type_style_index_0_lang-ZM6h3KFg.js.br +0 -0
  57. package/dist/Field-S_yxW5IQ.js +0 -42
  58. package/dist/Field-S_yxW5IQ.js.br +0 -0
  59. package/dist/SelectField.vue_vue_type_style_index_0_lang-K94DVjrE.js +0 -30460
  60. package/dist/SelectField.vue_vue_type_style_index_0_lang-K94DVjrE.js.br +0 -0
  61. package/dist/ThankYou-ekf_1AWY.js +0 -13233
  62. package/dist/ThankYou-ekf_1AWY.js.br +0 -0
  63. package/dist/_-vErl-x3v.js +0 -19
  64. package/dist/_commonjsHelpers-2ufMB8rV.js +0 -30
  65. package/dist/event-iDLUEMAV.js +0 -328
  66. package/dist/event-iDLUEMAV.js.br +0 -0
  67. package/dist/favicon.ico +0 -0
  68. package/dist/hotel-4O89o7V2.js +0 -3111
  69. package/dist/hotel-4O89o7V2.js.br +0 -0
  70. package/dist/navigation.js +0 -1
@@ -0,0 +1,677 @@
1
+ import { d as $, a as u, g as m, r as c, o as j, a4 as me, a5 as he, z as X, c as U, I as ge, b as I, e as d, f as H, w as k, A as Z, B as Q, J as q, T as x, n as v, l as B, i as S, $ as be, D as we, m as ne, q as Se, u as f, t as b, L as ke, K as Ce, x as W, p as $e, j as Be } from "./_sentry-release-injection-file-B7Jqb6lo.js";
2
+ import { I as Ve, _ as z, D as ee, T as oe, p as ae, d as Pe, P as Te } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-CXrsASkr.js";
3
+ import { u as Ie, s as He } from "./mitt-mvNuFbhJ.js";
4
+ (function() {
5
+ try {
6
+ var e = typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, o = new Error().stack;
7
+ o && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[o] = "fa342c0e-db9e-4a98-a68f-1d3bb7e41342", e._sentryDebugIdIdentifier = "sentry-dbid-fa342c0e-db9e-4a98-a68f-1d3bb7e41342");
8
+ } catch {
9
+ }
10
+ })();
11
+ function Ae(e) {
12
+ if (Array.isArray(e)) {
13
+ for (var o = 0, l = Array(e.length); o < e.length; o++)
14
+ l[o] = e[o];
15
+ return l;
16
+ } else
17
+ return Array.from(e);
18
+ }
19
+ var K = !1;
20
+ if (typeof window < "u") {
21
+ var te = {
22
+ get passive() {
23
+ K = !0;
24
+ }
25
+ };
26
+ window.addEventListener("testPassive", null, te), window.removeEventListener("testPassive", null, te);
27
+ }
28
+ var D = typeof window < "u" && window.navigator && window.navigator.platform && (/iP(ad|hone|od)/.test(window.navigator.platform) || window.navigator.platform === "MacIntel" && window.navigator.maxTouchPoints > 1), C = [], E = !1, ie = -1, P = void 0, w = void 0, T = void 0, de = function(o) {
29
+ return C.some(function(l) {
30
+ return !!(l.options.allowTouchMove && l.options.allowTouchMove(o));
31
+ });
32
+ }, O = function(o) {
33
+ var l = o || window.event;
34
+ return de(l.target) || l.touches.length > 1 ? !0 : (l.preventDefault && l.preventDefault(), !1);
35
+ }, Ne = function(o) {
36
+ if (T === void 0) {
37
+ var l = !!o && o.reserveScrollBarGap === !0, n = window.innerWidth - document.documentElement.clientWidth;
38
+ if (l && n > 0) {
39
+ var a = parseInt(window.getComputedStyle(document.body).getPropertyValue("padding-right"), 10);
40
+ T = document.body.style.paddingRight, document.body.style.paddingRight = a + n + "px";
41
+ }
42
+ }
43
+ P === void 0 && (P = document.body.style.overflow, document.body.style.overflow = "hidden");
44
+ }, qe = function() {
45
+ T !== void 0 && (document.body.style.paddingRight = T, T = void 0), P !== void 0 && (document.body.style.overflow = P, P = void 0);
46
+ }, De = function() {
47
+ return window.requestAnimationFrame(function() {
48
+ if (w === void 0) {
49
+ w = {
50
+ position: document.body.style.position,
51
+ top: document.body.style.top,
52
+ left: document.body.style.left
53
+ };
54
+ var o = window, l = o.scrollY, n = o.scrollX, a = o.innerHeight;
55
+ document.body.style.position = "fixed", document.body.style.top = -l, document.body.style.left = -n, setTimeout(function() {
56
+ return window.requestAnimationFrame(function() {
57
+ var s = a - window.innerHeight;
58
+ s && l >= a && (document.body.style.top = -(l + s));
59
+ });
60
+ }, 300);
61
+ }
62
+ });
63
+ }, Ee = function() {
64
+ if (w !== void 0) {
65
+ var o = -parseInt(document.body.style.top, 10), l = -parseInt(document.body.style.left, 10);
66
+ document.body.style.position = w.position, document.body.style.top = w.top, document.body.style.left = w.left, window.scrollTo(l, o), w = void 0;
67
+ }
68
+ }, Oe = function(o) {
69
+ return o ? o.scrollHeight - o.scrollTop <= o.clientHeight : !1;
70
+ }, ze = function(o, l) {
71
+ var n = o.targetTouches[0].clientY - ie;
72
+ return de(o.target) ? !1 : l && l.scrollTop === 0 && n > 0 || Oe(l) && n < 0 ? O(o) : (o.stopPropagation(), !0);
73
+ }, Le = function(o, l) {
74
+ if (!o) {
75
+ console.error("disableBodyScroll unsuccessful - targetElement must be provided when calling disableBodyScroll on IOS devices.");
76
+ return;
77
+ }
78
+ if (!C.some(function(a) {
79
+ return a.targetElement === o;
80
+ })) {
81
+ var n = {
82
+ targetElement: o,
83
+ options: l || {}
84
+ };
85
+ C = [].concat(Ae(C), [n]), D ? De() : Ne(l), D && (o.ontouchstart = function(a) {
86
+ a.targetTouches.length === 1 && (ie = a.targetTouches[0].clientY);
87
+ }, o.ontouchmove = function(a) {
88
+ a.targetTouches.length === 1 && ze(a, o);
89
+ }, E || (document.addEventListener("touchmove", O, K ? { passive: !1 } : void 0), E = !0));
90
+ }
91
+ }, Me = function(o) {
92
+ if (!o) {
93
+ console.error("enableBodyScroll unsuccessful - targetElement must be provided when calling enableBodyScroll on IOS devices.");
94
+ return;
95
+ }
96
+ C = C.filter(function(l) {
97
+ return l.targetElement !== o;
98
+ }), D && (o.ontouchstart = null, o.ontouchmove = null, E && C.length === 0 && (document.removeEventListener("touchmove", O, K ? { passive: !1 } : void 0), E = !1)), D ? Ee() : qe();
99
+ }, Y = $({
100
+ name: "SidePanelCloseButton",
101
+ emits: ["close"]
102
+ });
103
+ const Fe = /* @__PURE__ */ d(
104
+ "span",
105
+ { class: "vsp-close__x" },
106
+ null,
107
+ -1
108
+ /* HOISTED */
109
+ ), Re = [
110
+ Fe
111
+ ];
112
+ function Ge(e, o, l, n, a, s) {
113
+ return u(), m("div", {
114
+ class: "vsp-close",
115
+ onClick: o[0] || (o[0] = (t) => e.$emit("close"))
116
+ }, [...Re]);
117
+ }
118
+ Y.render = Ge;
119
+ Y.__file = "src/components/SidePanelCloseButton.vue";
120
+ var _ = $({
121
+ name: "VueSidePanel",
122
+ components: {
123
+ SidePanelCloseButton: Y
124
+ },
125
+ props: {
126
+ idName: {
127
+ type: String,
128
+ default: "vsp-container"
129
+ },
130
+ hideCloseBtn: {
131
+ type: Boolean,
132
+ default: !1
133
+ },
134
+ noClose: {
135
+ type: Boolean,
136
+ default: !1
137
+ },
138
+ side: {
139
+ type: String,
140
+ validator: (e) => ["top", "right", "bottom", "left"].includes(e),
141
+ default: "right"
142
+ },
143
+ rerender: {
144
+ type: Boolean,
145
+ default: !1
146
+ },
147
+ zIndex: {
148
+ type: [Number, String],
149
+ default: "auto"
150
+ },
151
+ width: {
152
+ type: String,
153
+ default: "auto"
154
+ },
155
+ height: {
156
+ type: String,
157
+ default: "auto"
158
+ },
159
+ lockScroll: {
160
+ type: Boolean,
161
+ default: !1
162
+ },
163
+ lockScrollHtml: {
164
+ type: Boolean,
165
+ default: !0
166
+ },
167
+ modelValue: {
168
+ type: Boolean,
169
+ default: !1,
170
+ required: !0
171
+ },
172
+ overlayColor: {
173
+ type: String,
174
+ default: "black"
175
+ },
176
+ overlayOpacity: {
177
+ type: Number,
178
+ default: 0.5
179
+ },
180
+ overlayDuration: {
181
+ type: Number,
182
+ default: 500
183
+ },
184
+ panelColor: {
185
+ type: String,
186
+ default: "white"
187
+ },
188
+ panelDuration: {
189
+ type: Number,
190
+ default: 300
191
+ },
192
+ transitionName: {
193
+ type: String,
194
+ default: void 0
195
+ },
196
+ headerClass: {
197
+ type: String,
198
+ default: ""
199
+ },
200
+ bodyClass: {
201
+ type: String,
202
+ default: ""
203
+ },
204
+ footerClass: {
205
+ type: String,
206
+ default: ""
207
+ }
208
+ },
209
+ emits: ["update:modelValue", "closed", "opened"],
210
+ setup(e, { emit: o, attrs: l }) {
211
+ let n;
212
+ const a = c(null), s = c(null), t = c(null), r = c(null), i = c(null), p = c(0), h = c(0), A = c(0), L = c(0), M = c(0), F = c(), J = c(!1), V = async () => {
213
+ window?.innerHeight > 0 && (M.value = window.innerHeight), p.value = t.value ? t.value.clientHeight : 0, A.value = r.value ? r.value.clientHeight : 0, h.value = i.value ? i.value.scrollHeight : 0, L.value = a.value ? a.value.clientHeight : 0;
214
+ }, re = () => o("update:modelValue", !1), R = (y, g) => {
215
+ if (g) {
216
+ setTimeout(() => {
217
+ Le(y, { reserveScrollBarGap: !0 }), e.lockScrollHtml && (document.documentElement.style.overflow = "hidden");
218
+ }, 0);
219
+ return;
220
+ }
221
+ Me(y), e.lockScrollHtml && document.documentElement.style.removeProperty("overflow");
222
+ }, se = () => Math.max(...Array.from(document.querySelectorAll("body *"), (y) => parseFloat(window.getComputedStyle(y).zIndex)).filter((y) => !Number.isNaN(y)), 0);
223
+ j(() => {
224
+ F.value = e.zIndex === "auto" ? se() : e.zIndex;
225
+ }), me(() => {
226
+ document.getElementById(e.idName) || (n = document.createElement("div"), n.setAttribute("id", e.idName), document.body.appendChild(n));
227
+ }), he(() => {
228
+ const { modelValue: y, lockScroll: g } = e;
229
+ g && a.value && y && R(a.value, !1), n && document.body.removeChild(n), window.removeEventListener("resize", V);
230
+ }), X(() => [r.value, t.value, e.height, e.width, e.side, e.modelValue], () => {
231
+ we(() => V());
232
+ }), X(() => [e.modelValue, a.value], (y, g) => {
233
+ const pe = g ? g[0] : !1, [G, N] = y, ye = G, ve = pe && !G;
234
+ if (N) {
235
+ if (ye && (J.value = !!document.body.style.overflow), G) {
236
+ e.lockScroll && R(N, !0), V(), window.addEventListener("resize", V);
237
+ return;
238
+ }
239
+ !e.lockScroll || !ve || J.value || (setTimeout(() => {
240
+ N && R(N, !1);
241
+ }, e.panelDuration), window.removeEventListener("resize", V));
242
+ }
243
+ }, { immediate: !0 });
244
+ const ue = U(() => {
245
+ if (!L.value)
246
+ return;
247
+ const y = h.value + A.value + p.value;
248
+ let g = L.value - A.value - p.value;
249
+ return ["top", "bottom"].includes(e.side) && e.height === "auto" && (g = M.value >= y ? h.value : M.value - A.value - p.value), g;
250
+ }), ce = U(() => ({
251
+ zIndex: F.value,
252
+ animationDuration: `${e.overlayDuration}ms`,
253
+ "--overlay-opacity": e.overlayOpacity,
254
+ opacity: e.modelValue ? e.overlayOpacity : 0,
255
+ backgroundColor: e.overlayColor,
256
+ pointerEvents: e.modelValue ? "all" : "none"
257
+ })), fe = U(() => ({
258
+ width: ["left", "right"].includes(e.side) ? e.width : void 0,
259
+ maxWidth: "100%",
260
+ ...["top", "bottom"].includes(e.side) ? {
261
+ // minHeight: props.height,
262
+ height: e.height,
263
+ maxHeight: "100%"
264
+ } : {},
265
+ zIndex: F.value,
266
+ backgroundColor: e.panelColor,
267
+ animationDuration: `${e.panelDuration}ms`,
268
+ ...Object.assign({}, l.style)
269
+ }));
270
+ return {
271
+ body: i,
272
+ panel: a,
273
+ overlay: s,
274
+ overlayStyles: ce,
275
+ header: r,
276
+ footer: t,
277
+ closePanel: re,
278
+ panelStyles: fe,
279
+ bodyHeight: ue
280
+ };
281
+ }
282
+ });
283
+ function Ue(e, o, l, n, a, s) {
284
+ const t = ge("SidePanelCloseButton");
285
+ return u(), I(be, {
286
+ to: `#${e.idName}`
287
+ }, [
288
+ d(
289
+ "div",
290
+ {
291
+ class: v(["vsp-wrapper", [e.modelValue && "vsp-wrapper--active"]])
292
+ },
293
+ [
294
+ H(x, {
295
+ name: "overlay",
296
+ persisted: ""
297
+ }, {
298
+ default: k(() => [
299
+ Z(d(
300
+ "div",
301
+ {
302
+ ref: "overlay",
303
+ class: "vsp-overlay",
304
+ style: q(e.overlayStyles),
305
+ onClick: o[0] || (o[0] = () => e.noClose ? void 0 : e.closePanel())
306
+ },
307
+ null,
308
+ 4
309
+ /* STYLE */
310
+ ), [
311
+ [Q, e.modelValue]
312
+ ])
313
+ ]),
314
+ _: 1
315
+ /* STABLE */
316
+ }),
317
+ H(x, {
318
+ name: e.transitionName || `slide-${e.side}`,
319
+ onAfterEnter: o[1] || (o[1] = (r) => e.$emit("opened")),
320
+ onAfterLeave: o[2] || (o[2] = (r) => e.$emit("closed"))
321
+ }, {
322
+ default: k(() => [
323
+ !e.rerender || e.modelValue ? Z((u(), m(
324
+ "div",
325
+ {
326
+ key: 0,
327
+ ref: "panel",
328
+ class: v(["vsp", [`vsp--${e.side}-side`, e.$attrs.class]]),
329
+ style: q(e.panelStyles)
330
+ },
331
+ [
332
+ e.$slots.header ? (u(), m(
333
+ "div",
334
+ {
335
+ key: 0,
336
+ ref: "header",
337
+ class: v([e.headerClass, "vsp__header"])
338
+ },
339
+ [
340
+ B(e.$slots, "header", { close: e.closePanel })
341
+ ],
342
+ 2
343
+ /* CLASS */
344
+ )) : S("v-if", !0),
345
+ d(
346
+ "div",
347
+ {
348
+ ref: "body",
349
+ class: v([e.bodyClass, "vsp__body"]),
350
+ style: q({ height: `${e.bodyHeight}px` })
351
+ },
352
+ [
353
+ B(e.$slots, "default", { close: e.closePanel }),
354
+ e.hideCloseBtn ? S("v-if", !0) : (u(), I(t, {
355
+ key: 0,
356
+ onClose: e.closePanel
357
+ }, null, 8, ["onClose"]))
358
+ ],
359
+ 6
360
+ /* CLASS, STYLE */
361
+ ),
362
+ e.$slots.footer ? (u(), m(
363
+ "div",
364
+ {
365
+ key: 1,
366
+ ref: "footer",
367
+ class: v([e.footerClass, "vsp__footer"])
368
+ },
369
+ [
370
+ B(e.$slots, "footer")
371
+ ],
372
+ 2
373
+ /* CLASS */
374
+ )) : S("v-if", !0)
375
+ ],
376
+ 6
377
+ /* CLASS, STYLE */
378
+ )), [
379
+ [Q, e.rerender ? !0 : e.modelValue]
380
+ ]) : S("v-if", !0)
381
+ ]),
382
+ _: 3
383
+ /* FORWARDED */
384
+ }, 8, ["name"])
385
+ ],
386
+ 2
387
+ /* CLASS */
388
+ )
389
+ ], 8, ["to"]);
390
+ }
391
+ _.render = Ue;
392
+ _.__file = "src/components/SidePanel.vue";
393
+ const We = { id: "konnectio-side-panel-header" }, je = { id: "konnectio-side-panel-title" }, Ke = {
394
+ key: 0,
395
+ id: "konnectio-side-panel-subtitle"
396
+ }, Ye = ["innerHTML"], _e = /* @__PURE__ */ $({
397
+ __name: "Base",
398
+ props: {
399
+ modelValue: { type: Boolean },
400
+ title: {},
401
+ subtitle: {},
402
+ idName: {},
403
+ description: {},
404
+ side: { default: "right" },
405
+ lockScroll: { type: Boolean, default: !0 },
406
+ hideCloseButton: { type: Boolean, default: !0 },
407
+ width: { default: "840px" }
408
+ },
409
+ emits: ["update:modelValue", "opened", "closed"],
410
+ setup(e, { emit: o }) {
411
+ const l = o, n = ne();
412
+ function a() {
413
+ l("closed");
414
+ }
415
+ function s() {
416
+ l("opened");
417
+ }
418
+ return (t, r) => (u(), I(f(_), {
419
+ modelValue: t.modelValue,
420
+ "lock-scroll": t.lockScroll,
421
+ "hide-close-btn": t.hideCloseButton,
422
+ width: t.width,
423
+ "onUpdate:modelValue": r[1] || (r[1] = (i) => t.$emit("update:modelValue", i)),
424
+ onClosed: a,
425
+ onOpened: s
426
+ }, Se({
427
+ header: k(() => [
428
+ d("div", We, [
429
+ d("h2", je, [
430
+ d("span", null, b(t.title), 1),
431
+ d("button", {
432
+ id: "konnectio-side-panel-close",
433
+ onClick: r[0] || (r[0] = (i) => t.$emit("update:modelValue", !1))
434
+ }, [
435
+ H(Ve, {
436
+ icon: "times",
437
+ type: "fas",
438
+ color: "header"
439
+ })
440
+ ])
441
+ ]),
442
+ t.subtitle ? (u(), m("h4", Ke, [
443
+ d("span", null, b(t.subtitle), 1)
444
+ ])) : S("", !0)
445
+ ])
446
+ ]),
447
+ default: k(() => [
448
+ d("div", null, [
449
+ d("div", {
450
+ class: "konnectio-side-panel-description",
451
+ innerHTML: t.description
452
+ }, null, 8, Ye),
453
+ B(t.$slots, "default", {}, void 0, !0)
454
+ ])
455
+ ]),
456
+ _: 2
457
+ }, [
458
+ f(n).footer ? {
459
+ name: "footer",
460
+ fn: k(() => [
461
+ B(t.$slots, "footer", {}, void 0, !0)
462
+ ]),
463
+ key: "0"
464
+ } : void 0
465
+ ]), 1032, ["modelValue", "lock-scroll", "hide-close-btn", "width"]));
466
+ }
467
+ }), po = /* @__PURE__ */ z(_e, [["__scopeId", "data-v-c027dd25"]]), Je = { class: "fresh-booking-phone-input" }, Xe = /* @__PURE__ */ $({
468
+ __name: "PhoneField",
469
+ props: {
470
+ modelValue: {},
471
+ label: {},
472
+ id: {},
473
+ placeholder: {},
474
+ icon: { default: "phone-office" },
475
+ iconColor: {},
476
+ iconType: { default: "fal" },
477
+ required: { type: Boolean, default: !1 },
478
+ readonly: { type: Boolean, default: !1 },
479
+ inputStyle: {}
480
+ },
481
+ emits: ["update:modelValue"],
482
+ setup(e, { emit: o }) {
483
+ const l = o, n = e, a = n.id || ee(), s = c("+45"), t = c("");
484
+ function r() {
485
+ l("update:modelValue", `${s.value} ${t.value}`);
486
+ }
487
+ return j(() => {
488
+ if (n.modelValue) {
489
+ const i = n.modelValue.split(" ");
490
+ s.value = i[0], t.value = i[1];
491
+ }
492
+ }), (i, p) => (u(), I(ae, {
493
+ label: i.label,
494
+ id: f(a),
495
+ type: "phone",
496
+ required: i.required,
497
+ readonly: i.readonly
498
+ }, {
499
+ default: k(() => [
500
+ d("div", Je, [
501
+ H(oe, {
502
+ modelValue: s.value,
503
+ "onUpdate:modelValue": p[0] || (p[0] = (h) => s.value = h),
504
+ type: "text",
505
+ id: f(ee)(),
506
+ name: "phone-code",
507
+ autocomplete: "tel-country-code",
508
+ icon: i.icon,
509
+ "icon-color": i.iconColor,
510
+ "icon-type": i.iconType,
511
+ placeholder: "+45",
512
+ required: i.required,
513
+ readonly: i.readonly,
514
+ "input-style": i.inputStyle,
515
+ onInput: p[1] || (p[1] = (h) => r())
516
+ }, null, 8, ["modelValue", "id", "icon", "icon-color", "icon-type", "required", "readonly", "input-style"]),
517
+ H(oe, {
518
+ modelValue: t.value,
519
+ "onUpdate:modelValue": p[2] || (p[2] = (h) => t.value = h),
520
+ type: "number",
521
+ name: "phone",
522
+ autocomplete: "tel-national",
523
+ id: f(a),
524
+ placeholder: i.placeholder,
525
+ required: i.required,
526
+ readonly: i.readonly,
527
+ "input-style": i.inputStyle,
528
+ onInput: p[3] || (p[3] = (h) => r())
529
+ }, null, 8, ["modelValue", "id", "placeholder", "required", "readonly", "input-style"])
530
+ ])
531
+ ]),
532
+ _: 1
533
+ }, 8, ["label", "id", "required", "readonly"]));
534
+ }
535
+ }), yo = /* @__PURE__ */ z(Xe, [["__scopeId", "data-v-5cd094ab"]]), Ze = ["required", "type", "name", "readonly", "disabled", "value", "checked"], Qe = ["data-test"], xe = { key: 0 }, eo = {
536
+ key: 1,
537
+ class: /* @__PURE__ */ v(["konnectio-click-box-label", "inline"])
538
+ }, oo = /* @__PURE__ */ $({
539
+ __name: "Checkbox",
540
+ props: {
541
+ modelValue: { type: [String, Boolean, Number] },
542
+ numeric: { type: Boolean, default: !1 },
543
+ checked: { type: Boolean, default: !1 },
544
+ label: {},
545
+ price: {},
546
+ name: {},
547
+ readonly: { type: Boolean, default: !1 },
548
+ type: { default: "checkbox" },
549
+ required: { type: Boolean, default: !1 },
550
+ inputStyle: {},
551
+ val: {}
552
+ },
553
+ emits: ["update:modelValue"],
554
+ setup(e, { emit: o }) {
555
+ const l = e, n = o, a = ne();
556
+ function s() {
557
+ l.readonly !== !0 && n(
558
+ "update:modelValue",
559
+ l.type === "radio" ? l.val : l.numeric ? l.modelValue ? 0 : 1 : !l.modelValue
560
+ );
561
+ }
562
+ return (t, r) => (u(), I(ae, {
563
+ required: t.required,
564
+ type: t.type,
565
+ readonly: t.readonly
566
+ }, {
567
+ default: k(() => [
568
+ d("label", {
569
+ class: v([
570
+ "konnectio-click-box-container",
571
+ { "is-readonly": t.readonly },
572
+ { "has-label": t.label || f(a).default },
573
+ t.type === "radio" ? "radio" : "checkbox"
574
+ ])
575
+ }, [
576
+ d("input", ke(t.$attrs, {
577
+ required: !!t.required,
578
+ type: t.type,
579
+ name: t.name,
580
+ class: "hidden",
581
+ readonly: !!t.readonly,
582
+ disabled: !!t.readonly,
583
+ value: t.type === "radio" ? t.val : t.modelValue,
584
+ checked: t.type === "radio" ? t.val === t.modelValue : !!t.modelValue,
585
+ onChange: r[0] || (r[0] = (i) => s())
586
+ }), null, 16, Ze),
587
+ d("div", {
588
+ class: v([
589
+ "konnectio-click-box",
590
+ { checked: t.type === "radio" ? t.val === t.modelValue : !!t.modelValue }
591
+ ]),
592
+ tabindex: "0",
593
+ style: q(t.inputStyle),
594
+ "data-test": t.name,
595
+ onKeyup: r[1] || (r[1] = Ce((i) => s(), ["enter"]))
596
+ }, null, 46, Qe),
597
+ t.label ? (u(), m("div", {
598
+ key: 0,
599
+ class: v(["konnectio-click-box-label", "text-hover", { "with-price": t.price }])
600
+ }, [
601
+ d("span", null, b(t.label), 1),
602
+ t.price ? (u(), m("span", xe, b(t.price), 1)) : S("", !0)
603
+ ], 2)) : f(a).default ? (u(), m("div", eo, [
604
+ B(t.$slots, "default", {}, void 0, !0)
605
+ ])) : S("", !0)
606
+ ], 2)
607
+ ]),
608
+ _: 3
609
+ }, 8, ["required", "type", "readonly"]));
610
+ }
611
+ }), vo = /* @__PURE__ */ z(oo, [["__scopeId", "data-v-1827c76b"]]), to = {
612
+ href: "https://policies.google.com/privacy",
613
+ target: "_blank"
614
+ }, lo = {
615
+ href: "https://policies.google.com/terms",
616
+ target: "_blank"
617
+ }, no = /* @__PURE__ */ $({
618
+ __name: "GoogleNotice",
619
+ setup(e) {
620
+ const { t: o } = Ie();
621
+ return (l, n) => (u(), m("span", null, [
622
+ W(b(f(o)("googleNotice")) + " ", 1),
623
+ d("a", to, b(f(o)("googlePrivacyPolicy")), 1),
624
+ W(" " + b(f(o)("googleAnd")) + " ", 1),
625
+ d("a", lo, b(f(o)("googleTOS")), 1),
626
+ W(" " + b(f(o)("googleApply")) + ". ", 1)
627
+ ]));
628
+ }
629
+ });
630
+ function le(e) {
631
+ const o = e;
632
+ o.__i18n = o.__i18n || [], o.__i18n.push({
633
+ locale: "",
634
+ resource: {
635
+ da: {
636
+ googleNotice: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Denne side er beskyttet af reCAPTCHA og Google's" } },
637
+ googlePrivacyPolicy: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Privatlivspolitik" } },
638
+ googleAnd: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "og" } },
639
+ googleTOS: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Servicevilkår" } },
640
+ googleApply: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "er gældende" } }
641
+ },
642
+ en: {
643
+ googleNotice: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "This site is protected by reCAPTCHA and the Google" } },
644
+ googlePrivacyPolicy: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Privacy Policy" } },
645
+ googleAnd: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "and" } },
646
+ googleTOS: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Terms of Service" } },
647
+ googleApply: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "apply" } }
648
+ }
649
+ }
650
+ });
651
+ }
652
+ typeof le == "function" && le(no);
653
+ const ao = (e) => ($e("data-v-853041a4"), e = e(), Be(), e), io = /* @__PURE__ */ ao(() => /* @__PURE__ */ d("div", { id: "konnectio-payment-checkout" }, null, -1)), ro = [
654
+ io
655
+ ], so = /* @__PURE__ */ $({
656
+ __name: "CheckoutWindow",
657
+ setup(e) {
658
+ const { paymentGatewayId: o } = He(Pe());
659
+ return j(() => {
660
+ const l = document.createElement("script"), n = document.createElement("script");
661
+ l.setAttribute("src", "https://checkout.dibspayment.eu/v1/checkout.js?v=1"), n.setAttribute("src", "https://checkout.reepay.com/checkout.js"), document.head.appendChild(l), document.head.appendChild(n);
662
+ }), (l, n) => (u(), m("div", null, [
663
+ d("div", {
664
+ id: "konnectio-payment-checkout-wrapper",
665
+ class: v({ reePay: f(o) === f(Te).ReePay })
666
+ }, ro, 2)
667
+ ]));
668
+ }
669
+ }), mo = /* @__PURE__ */ z(so, [["__scopeId", "data-v-853041a4"]]);
670
+ export {
671
+ po as B,
672
+ vo as C,
673
+ yo as P,
674
+ no as _,
675
+ mo as a
676
+ };
677
+ //# sourceMappingURL=CheckoutWindow-DYdrHbQ-.js.map