@visitscotland/component-library 5.3.12 → 5.4.0
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/client/manifest.json +86 -126
- package/dist/client/scripts/{03dabaf7b74e6b13a280.js → 007e4562cff1a54b02d9.js} +1 -1
- package/dist/client/scripts/03aac36fba2028e24b34.js +1 -0
- package/dist/client/scripts/2de3ebcd8f366e520df4.js +1 -0
- package/dist/client/scripts/38d5589b9158ab8e7423.js +1 -0
- package/dist/client/scripts/{c6ddfee230946125f4ae.js → 398c7026bf99c5123f33.js} +1 -1
- package/dist/client/scripts/429cc9d01d282b82d939.js +1 -0
- package/dist/client/scripts/{f9a07db6b846bfc59b9f.js → 46f297ddc7600ed24071.js} +1 -1
- package/dist/client/scripts/72a2a2aa2657236e20c7.js +1 -0
- package/dist/client/scripts/{106feba94fa38e0dd6f3.js → 75103c9a77f2713dfb3c.js} +1 -1
- package/dist/client/scripts/{1fb7da852a7963b117d3.js → 811b90e5f1380e56e0ce.js} +1 -1
- package/dist/client/scripts/cec8d6c00ce6b039698f.js +1 -0
- package/dist/client/scripts/ec37d8bfaa1148156c17.js +1 -0
- package/dist/client/scripts/{2ce32325356abf89c85a.js → f103260f33c5d2e02238.js} +1 -1
- package/dist/client/scripts/{6698abfc632ba46561e6.js → fb8f301408cc3f1509ea.js} +1 -1
- package/dist/client/scripts/fd24aecec67c3ec3de20.js +1 -0
- package/dist/client/styles/2de3ebcd8f366e520df4.css +1 -0
- package/dist/components/{LoadingSpinner-G6yO-xf9.mjs → LoadingSpinner-BOFE0yHA.mjs} +9 -3
- package/dist/components/{LoadingSpinner-BUWD-yFb.js → LoadingSpinner-CLe19mqk.js} +1 -1
- package/dist/components/components/carbon-calculator/CarbonCalculator.vue.d.ts +3 -1
- package/dist/components/components/card-group/CardGroup.vue.d.ts +63 -0
- package/dist/components/components/carousel/components/CarouselSlide.vue.d.ts +13 -7
- package/dist/components/components/embed-wrapper/EmbedWrapper.vue.d.ts +13 -7
- package/dist/components/components/form/Form.vue.d.ts +3 -1
- package/dist/components/components/image-with-caption/ImageWithCaption.vue.d.ts +24 -14
- package/dist/components/components/index.d.ts +1 -1
- package/dist/components/components/map/Map.vue.d.ts +3 -1
- package/dist/components/components/map-with-sidebar/MapWithSidebar.vue.d.ts +6 -2
- package/dist/components/components/mega-nav/components/MegaNavFeaturedEvent.vue.d.ts +13 -7
- package/dist/components/components/mega-nav/components/MegaNavFeaturedItem.vue.d.ts +13 -7
- package/dist/components/components/megalinks/components/megalink-link-list/MegalinkLinkList.vue.d.ts +13 -7
- package/dist/components/components/megalinks/components/megalink-multi-image/MegalinkMultiImage.vue.d.ts +13 -7
- package/dist/components/components/product-search/ProductSearch.vue.d.ts +3 -1
- package/dist/components/components/ski-scotland/ski-scotland-card/SkiScotlandCard.vue.d.ts +3 -1
- package/dist/components/components/ski-scotland/ski-scotland-status/SkiScotlandStatus.vue.d.ts +3 -1
- package/dist/components/components/stretched-link-card/StretchedLinkCard.vue.d.ts +13 -7
- package/dist/components/components/video/Video.vue.d.ts +13 -7
- package/dist/components/components/video-caption/VideoCaption.vue.d.ts +13 -7
- package/dist/components/components/warning/Warning.vue.d.ts +3 -1
- package/dist/components/mixins/__mocks__/verifyCookiesMixin.d.ts +4 -6
- package/dist/components/mixins/verifyCookiesMixin.d.ts +9 -5
- package/dist/components/style.css +1 -1
- package/dist/components/utils/required-cookies-data.d.ts +2 -5
- package/dist/components/vs-component-library-maps.js +1 -1
- package/dist/components/vs-component-library-maps.mjs +1 -1
- package/dist/components/vs-component-library.js +23 -23
- package/dist/components/vs-component-library.mjs +567 -693
- package/dist/ssr/index.js +1 -1
- package/dist/ssr/manifest.json +1 -1
- package/dist/ssr/styles/{09cb3256fdc0e4d8f042.css → 680b2b3cfc365d4dd57d.css} +1 -1
- package/package.json +1 -1
- package/dist/client/scripts/049d5fb993a7e3aa7153.js +0 -1
- package/dist/client/scripts/204bf0ecf8a7214b2a3e.js +0 -1
- package/dist/client/scripts/28bb6e247135d4ee42d0.js +0 -1
- package/dist/client/scripts/38e5f6b3be1cf4387852.js +0 -1
- package/dist/client/scripts/4030eed7d71592ce1e3e.js +0 -1
- package/dist/client/scripts/490b9e05e79f41cc1280.js +0 -1
- package/dist/client/scripts/65d833da76ffb9e822d5.js +0 -1
- package/dist/client/scripts/75e20b62c8b654176032.js +0 -1
- package/dist/client/scripts/b3069ef55ec689e96eb2.js +0 -1
- package/dist/client/scripts/bf69148436e7bfb3f6ea.js +0 -1
- package/dist/client/scripts/fce15340fcbd449ae9cc.js +0 -1
- package/dist/client/styles/049d5fb993a7e3aa7153.css +0 -1
- package/dist/components/components/cookie-checker/CookieChecker.vue.d.ts +0 -17
- package/dist/components/components/cookie-checker/index.d.ts +0 -2
- package/dist/components/stores/cookies.store.d.ts +0 -19
- package/dist/components/utils/one-trust.d.ts +0 -11
- /package/dist/client/styles/{4030eed7d71592ce1e3e.css → 03aac36fba2028e24b34.css} +0 -0
- /package/dist/client/styles/{b3069ef55ec689e96eb2.css → 38d5589b9158ab8e7423.css} +0 -0
- /package/dist/client/styles/{38e5f6b3be1cf4387852.css → 429cc9d01d282b82d939.css} +0 -0
- /package/dist/client/styles/{f9a07db6b846bfc59b9f.css → 46f297ddc7600ed24071.css} +0 -0
- /package/dist/client/styles/{106feba94fa38e0dd6f3.css → 75103c9a77f2713dfb3c.css} +0 -0
- /package/dist/client/styles/{1fb7da852a7963b117d3.css → 811b90e5f1380e56e0ce.css} +0 -0
- /package/dist/client/styles/{204bf0ecf8a7214b2a3e.css → cec8d6c00ce6b039698f.css} +0 -0
- /package/dist/client/styles/{65d833da76ffb9e822d5.css → ec37d8bfaa1148156c17.css} +0 -0
- /package/dist/client/styles/{2ce32325356abf89c85a.css → f103260f33c5d2e02238.css} +0 -0
- /package/dist/client/styles/{6698abfc632ba46561e6.css → fb8f301408cc3f1509ea.css} +0 -0
- /package/dist/client/styles/{28bb6e247135d4ee42d0.css → fd24aecec67c3ec3de20.css} +0 -0
|
@@ -1,10 +1,7 @@
|
|
|
1
|
-
var ge = Object.defineProperty;
|
|
2
|
-
var _e = (e, n, t) => n in e ? ge(e, n, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[n] = t;
|
|
3
|
-
var ce = (e, n, t) => _e(e, typeof n != "symbol" ? n + "" : n, t);
|
|
4
1
|
import { createElementBlock, openBlock, renderSlot, resolveComponent, createBlock, normalizeClass, withCtx, createElementVNode, createVNode, withDirectives, createCommentVNode, normalizeStyle, vShow, inject, mergeProps, toDisplayString, ref, onMounted, onUnmounted, createTextVNode, Fragment, renderList, resolveDirective, withModifiers, normalizeProps, createSlots, getCurrentInstance, defineComponent, computed as computed$1, watch, reactive, provide, onBeforeMount, isRef, onBeforeUnmount, unref, isReactive, isReadonly, nextTick, isVNode, markRaw, toRef, resolveDynamicComponent, h, withKeys, mergeModels, useModel, toHandlers, vModelText, guardReactiveProps } from "vue";
|
|
5
|
-
import { _ as _export_sfc, V as VsButton, d as dataLayerMixin, a as VsHeading, n as nn, b as an, c as VsIcon, r as rn, l as lodashExports, e as VsBody, f as VsContainer, g as VsRow, h as VsCol, i as ci, p as pi$2, j as en, k as dmoUrls, m as VsImg, E as Ed, o as axios, q as designTokens, Y as Yo, Z as Zo, s as pn, O as Ou, T as Tu, t as ku, u as VsWarning, v as fn, w as un, X as Xi, x as commonjsGlobal, y as require$$0$1, z as requireHasown, A as requireShams, B as callBound, C as isGeneratorFunction, D as isTypedArray, F as whichTypedArray, G as getAugmentedNamespace, H as getDefaultExportFromCjs, L as Lu, I as ld, J as _a, K as products, M as paths, N as monthsEnglish, P as VsLoading, Q as ol, R as wn, S as Ea, U as Bn, W as Je, $ as St, a0 as Pa, a1 as Ka, a2 as vc, a3 as dc } from "./LoadingSpinner-
|
|
6
|
-
import { a4 as
|
|
7
|
-
import { defineStore
|
|
2
|
+
import { _ as _export_sfc, V as VsButton, d as dataLayerMixin, a as VsHeading, n as nn, b as an, c as VsIcon, r as rn, l as lodashExports, e as VsBody, f as VsContainer, g as VsRow, h as VsCol, i as ci, p as pi$2, j as en, k as dmoUrls, m as VsImg, E as Ed, o as axios, q as designTokens, Y as Yo, Z as Zo, s as pn, O as Ou, T as Tu, t as ku, u as VsWarning, v as fn, w as un, X as Xi, x as commonjsGlobal, y as require$$0$1, z as requireHasown, A as requireShams, B as callBound, C as isGeneratorFunction, D as isTypedArray, F as whichTypedArray, G as getAugmentedNamespace, H as getDefaultExportFromCjs, L as Lu, I as ld, J as _a, K as products, M as paths, N as monthsEnglish, P as VsLoading, Q as ol, R as wn, S as Ea, U as Bn, W as Je, $ as St, a0 as Pa, a1 as Ka, a2 as vc, a3 as dc } from "./LoadingSpinner-BOFE0yHA.mjs";
|
|
3
|
+
import { a4 as Se } from "./LoadingSpinner-BOFE0yHA.mjs";
|
|
4
|
+
import { defineStore } from "pinia";
|
|
8
5
|
const _sfc_main$2l = {
|
|
9
6
|
name: "VsAccordion",
|
|
10
7
|
status: "prototype",
|
|
@@ -28,12 +25,12 @@ const _sfc_main$2l = {
|
|
|
28
25
|
validator: (e) => e.match(/(xs|sm|md|lg|xl|xxl)/)
|
|
29
26
|
}
|
|
30
27
|
}
|
|
31
|
-
}, _hoisted_1$
|
|
28
|
+
}, _hoisted_1$1Q = {
|
|
32
29
|
class: "vs-accordion",
|
|
33
30
|
"data-test": "vs-accordion"
|
|
34
31
|
};
|
|
35
32
|
function _sfc_render$28(e, n, t, a, r, s) {
|
|
36
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
33
|
+
return openBlock(), createElementBlock("div", _hoisted_1$1Q, [
|
|
37
34
|
renderSlot(e.$slots, "default")
|
|
38
35
|
]);
|
|
39
36
|
}
|
|
@@ -66,7 +63,7 @@ const VsAccordion = /* @__PURE__ */ _export_sfc(_sfc_main$2l, [["render", _sfc_r
|
|
|
66
63
|
this.$emit("toggle-panel");
|
|
67
64
|
}
|
|
68
65
|
}
|
|
69
|
-
}, _hoisted_1$
|
|
66
|
+
}, _hoisted_1$1P = { class: "vs-accordion-toggle__text" }, _hoisted_2$1i = { class: "vs-accordion-toggle__icon" };
|
|
70
67
|
function _sfc_render$27(e, n, t, a, r, s) {
|
|
71
68
|
const o = resolveComponent("VsButton");
|
|
72
69
|
return openBlock(), createBlock(o, {
|
|
@@ -79,7 +76,7 @@ function _sfc_render$27(e, n, t, a, r, s) {
|
|
|
79
76
|
rounded: !1
|
|
80
77
|
}, {
|
|
81
78
|
default: withCtx(() => [
|
|
82
|
-
createElementVNode("span", _hoisted_1$
|
|
79
|
+
createElementVNode("span", _hoisted_1$1P, [
|
|
83
80
|
renderSlot(e.$slots, "default")
|
|
84
81
|
]),
|
|
85
82
|
createElementVNode("span", _hoisted_2$1i, [
|
|
@@ -271,13 +268,13 @@ const VsAccordionItem = /* @__PURE__ */ _export_sfc(_sfc_main$2j, [["render", _s
|
|
|
271
268
|
components: {
|
|
272
269
|
VsIcon
|
|
273
270
|
}
|
|
274
|
-
}, _hoisted_1$
|
|
271
|
+
}, _hoisted_1$1O = {
|
|
275
272
|
class: "vs-address",
|
|
276
273
|
"data-test": "vs-address"
|
|
277
274
|
}, _hoisted_2$1h = { class: "vs-address__address-box" };
|
|
278
275
|
function _sfc_render$25(e, n, t, a, r, s) {
|
|
279
276
|
const o = resolveComponent("VsIcon");
|
|
280
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
277
|
+
return openBlock(), createElementBlock("div", _hoisted_1$1O, [
|
|
281
278
|
createVNode(o, {
|
|
282
279
|
icon: "fa-regular fa-location-dot",
|
|
283
280
|
class: "vs-address__map-marker me-050"
|
|
@@ -294,13 +291,13 @@ const Address = /* @__PURE__ */ _export_sfc(_sfc_main$2i, [["render", _sfc_rende
|
|
|
294
291
|
components: {
|
|
295
292
|
VsIcon
|
|
296
293
|
}
|
|
297
|
-
}, _hoisted_1$
|
|
294
|
+
}, _hoisted_1$1N = {
|
|
298
295
|
class: "vs-alert",
|
|
299
296
|
"data-test": "vs-alert"
|
|
300
|
-
}, _hoisted_2$1g = { class: "vs-alert__icon-holder" }, _hoisted_3$11 = { class: "vs-alert__content-wrapper" }, _hoisted_4$
|
|
297
|
+
}, _hoisted_2$1g = { class: "vs-alert__icon-holder" }, _hoisted_3$11 = { class: "vs-alert__content-wrapper" }, _hoisted_4$M = { class: "vs-alert__content" };
|
|
301
298
|
function _sfc_render$24(e, n, t, a, r, s) {
|
|
302
299
|
const o = resolveComponent("VsIcon");
|
|
303
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
300
|
+
return openBlock(), createElementBlock("div", _hoisted_1$1N, [
|
|
304
301
|
createElementVNode("div", _hoisted_2$1g, [
|
|
305
302
|
createVNode(o, {
|
|
306
303
|
class: "vs-alert__icon",
|
|
@@ -309,7 +306,7 @@ function _sfc_render$24(e, n, t, a, r, s) {
|
|
|
309
306
|
})
|
|
310
307
|
]),
|
|
311
308
|
createElementVNode("div", _hoisted_3$11, [
|
|
312
|
-
createElementVNode("div", _hoisted_4$
|
|
309
|
+
createElementVNode("div", _hoisted_4$M, [
|
|
313
310
|
renderSlot(e.$slots, "default")
|
|
314
311
|
])
|
|
315
312
|
])
|
|
@@ -372,7 +369,7 @@ const Alert = /* @__PURE__ */ _export_sfc(_sfc_main$2h, [["render", _sfc_render$
|
|
|
372
369
|
)
|
|
373
370
|
}
|
|
374
371
|
}
|
|
375
|
-
}, _hoisted_1$
|
|
372
|
+
}, _hoisted_1$1M = ["id"], _hoisted_2$1f = { class: "vs-article__content" };
|
|
376
373
|
function _sfc_render$23(e, n, t, a, r, s) {
|
|
377
374
|
const o = resolveComponent("VsHeading"), i = resolveComponent("VsBody"), l = resolveComponent("VsCol"), c = resolveComponent("VsRow"), u = resolveComponent("VsContainer");
|
|
378
375
|
return openBlock(), createElementBlock("article", mergeProps({
|
|
@@ -411,7 +408,7 @@ function _sfc_render$23(e, n, t, a, r, s) {
|
|
|
411
408
|
default: withCtx(() => [
|
|
412
409
|
createElementVNode("span", {
|
|
413
410
|
id: t.anchorLink ? t.anchorLink : ""
|
|
414
|
-
}, toDisplayString(t.title), 9, _hoisted_1$
|
|
411
|
+
}, toDisplayString(t.title), 9, _hoisted_1$1M)
|
|
415
412
|
]),
|
|
416
413
|
_: 1
|
|
417
414
|
}, 8, ["level", "heading-style", "class"]),
|
|
@@ -577,7 +574,7 @@ function _sfc_render$21(e, n, t, a, r, s) {
|
|
|
577
574
|
], 2)) : createCommentVNode("", !0)
|
|
578
575
|
], 2);
|
|
579
576
|
}
|
|
580
|
-
const ArticleSidebar = /* @__PURE__ */ _export_sfc(_sfc_main$2e, [["render", _sfc_render$21]]), _hoisted_1$
|
|
577
|
+
const ArticleSidebar = /* @__PURE__ */ _export_sfc(_sfc_main$2e, [["render", _sfc_render$21]]), _hoisted_1$1L = {
|
|
581
578
|
class: "vs-back-to-top",
|
|
582
579
|
"data-test": "vs-back-to-top"
|
|
583
580
|
}, _sfc_main$2d = {
|
|
@@ -613,7 +610,7 @@ const ArticleSidebar = /* @__PURE__ */ _export_sfc(_sfc_main$2e, [["render", _sf
|
|
|
613
610
|
window.addEventListener("scroll", a);
|
|
614
611
|
}), onUnmounted(() => {
|
|
615
612
|
window.removeEventListener("scroll", a);
|
|
616
|
-
}), (s, o) => (openBlock(), createElementBlock("div", _hoisted_1$
|
|
613
|
+
}), (s, o) => (openBlock(), createElementBlock("div", _hoisted_1$1L, [
|
|
617
614
|
t.value ? (openBlock(), createBlock(VsButton, {
|
|
618
615
|
key: 0,
|
|
619
616
|
icon: "vs-icon-control-back-to-top",
|
|
@@ -749,7 +746,7 @@ const Badge = /* @__PURE__ */ _export_sfc(_sfc_main$2c, [["render", _sfc_render$
|
|
|
749
746
|
this.setCookie("vs_showbanner", this.showBanner, !e, !0);
|
|
750
747
|
}
|
|
751
748
|
}
|
|
752
|
-
}, _hoisted_1$
|
|
749
|
+
}, _hoisted_1$1K = {
|
|
753
750
|
key: 0,
|
|
754
751
|
class: "vs-banner",
|
|
755
752
|
"data-test": "vs-banner",
|
|
@@ -760,7 +757,7 @@ const Badge = /* @__PURE__ */ _export_sfc(_sfc_main$2c, [["render", _sfc_render$
|
|
|
760
757
|
};
|
|
761
758
|
function _sfc_render$1$(e, n, t, a, r, s) {
|
|
762
759
|
const o = resolveComponent("VsIcon"), i = resolveComponent("VsCol"), l = resolveComponent("VsBody"), c = resolveComponent("VsRow"), u = resolveComponent("VsButton"), d = resolveComponent("VsContainer");
|
|
763
|
-
return r.showBanner ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
760
|
+
return r.showBanner ? (openBlock(), createElementBlock("div", _hoisted_1$1K, [
|
|
764
761
|
createVNode(d, null, {
|
|
765
762
|
default: withCtx(() => [
|
|
766
763
|
createVNode(c, null, {
|
|
@@ -870,7 +867,7 @@ const Banner = /* @__PURE__ */ _export_sfc(_sfc_main$2b, [["render", _sfc_render
|
|
|
870
867
|
return this.articleAuthor ? "secondary" : "highlight";
|
|
871
868
|
}
|
|
872
869
|
}
|
|
873
|
-
}, _hoisted_1$
|
|
870
|
+
}, _hoisted_1$1J = {
|
|
874
871
|
key: 0,
|
|
875
872
|
class: "vs-article-details",
|
|
876
873
|
"data-test": "vs-article-details"
|
|
@@ -880,13 +877,13 @@ const Banner = /* @__PURE__ */ _export_sfc(_sfc_main$2b, [["render", _sfc_render
|
|
|
880
877
|
}, _hoisted_3$10 = {
|
|
881
878
|
key: 1,
|
|
882
879
|
class: "vs-article-details__date"
|
|
883
|
-
}, _hoisted_4$
|
|
880
|
+
}, _hoisted_4$L = {
|
|
884
881
|
key: 0,
|
|
885
882
|
class: "vs-article-details__divider"
|
|
886
883
|
};
|
|
887
884
|
function _sfc_render$1_(e, n, t, a, r, s) {
|
|
888
885
|
const o = resolveComponent("VsIcon");
|
|
889
|
-
return t.articleAuthor || t.articleReadTime || t.articlePublishDate ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
886
|
+
return t.articleAuthor || t.articleReadTime || t.articlePublishDate ? (openBlock(), createElementBlock("div", _hoisted_1$1J, [
|
|
890
887
|
t.articleAuthor ? (openBlock(), createElementBlock("div", _hoisted_2$1d, toDisplayString(t.articleAuthor), 1)) : createCommentVNode("", !0),
|
|
891
888
|
createElementVNode("div", {
|
|
892
889
|
"data-test": "vs-article-details__date-time",
|
|
@@ -901,7 +898,7 @@ function _sfc_render$1_(e, n, t, a, r, s) {
|
|
|
901
898
|
createTextVNode(toDisplayString(t.articleReadTime), 1)
|
|
902
899
|
], 64)) : createCommentVNode("", !0),
|
|
903
900
|
t.articlePublishDate ? (openBlock(), createElementBlock("span", _hoisted_3$10, [
|
|
904
|
-
t.articleReadTime ? (openBlock(), createElementBlock("span", _hoisted_4$
|
|
901
|
+
t.articleReadTime ? (openBlock(), createElementBlock("span", _hoisted_4$L, "•")) : createCommentVNode("", !0),
|
|
905
902
|
createTextVNode(" " + toDisplayString(t.articlePublishDate), 1)
|
|
906
903
|
])) : createCommentVNode("", !0)
|
|
907
904
|
], 2)
|
|
@@ -914,13 +911,13 @@ const ArticleDetails = /* @__PURE__ */ _export_sfc(_sfc_main$2a, [["render", _sf
|
|
|
914
911
|
components: {
|
|
915
912
|
BBreadcrumb: pi$2
|
|
916
913
|
}
|
|
917
|
-
}, _hoisted_1$
|
|
914
|
+
}, _hoisted_1$1I = {
|
|
918
915
|
"aria-label": "breadcrumbs",
|
|
919
916
|
class: "vs-breadcrumb py-050"
|
|
920
917
|
};
|
|
921
918
|
function _sfc_render$1Z(e, n, t, a, r, s) {
|
|
922
919
|
const o = resolveComponent("BBreadcrumb");
|
|
923
|
-
return openBlock(), createElementBlock("nav", _hoisted_1$
|
|
920
|
+
return openBlock(), createElementBlock("nav", _hoisted_1$1I, [
|
|
924
921
|
createVNode(o, mergeProps({ class: "flex-nowrap p-0 mb-0" }, e.$attrs), {
|
|
925
922
|
default: withCtx(() => [
|
|
926
923
|
renderSlot(e.$slots, "default")
|
|
@@ -1112,7 +1109,7 @@ const dmoAnalyticsLogic = (e) => {
|
|
|
1112
1109
|
(e.keyCode === 13 || e.keyCode === 32) && (e.preventDefault(), this.clickHandler(e));
|
|
1113
1110
|
}
|
|
1114
1111
|
}
|
|
1115
|
-
}, _hoisted_1$
|
|
1112
|
+
}, _hoisted_1$1H = ["href", "download", "disabled", "tabindex"];
|
|
1116
1113
|
function _sfc_render$1X(e, n, t, a, r, s) {
|
|
1117
1114
|
const o = resolveComponent("VsIcon");
|
|
1118
1115
|
return openBlock(), createElementBlock("a", mergeProps({
|
|
@@ -1136,7 +1133,7 @@ function _sfc_render$1X(e, n, t, a, r, s) {
|
|
|
1136
1133
|
size: t.iconSize,
|
|
1137
1134
|
class: "ms-025 vs-link__icon"
|
|
1138
1135
|
}, null, 8, ["icon", "variant", "size"])) : createCommentVNode("", !0)
|
|
1139
|
-
], 16, _hoisted_1$
|
|
1136
|
+
], 16, _hoisted_1$1H);
|
|
1140
1137
|
}
|
|
1141
1138
|
const VsLink = /* @__PURE__ */ _export_sfc(_sfc_main$27, [["render", _sfc_render$1X]]), _sfc_main$26 = {
|
|
1142
1139
|
name: "VsCannedSearchProductCard",
|
|
@@ -1243,7 +1240,7 @@ const VsLink = /* @__PURE__ */ _export_sfc(_sfc_main$27, [["render", _sfc_render
|
|
|
1243
1240
|
return this.visibleSlides.indexOf(e) >= 0;
|
|
1244
1241
|
}
|
|
1245
1242
|
}
|
|
1246
|
-
}, _hoisted_1$
|
|
1243
|
+
}, _hoisted_1$1G = { class: "vs-product-card__image-container" }, _hoisted_2$1c = { class: "vs-product-card__image-inner-container" }, _hoisted_3$$ = { class: "vs-product-card__description" }, _hoisted_4$K = {
|
|
1247
1244
|
key: 0,
|
|
1248
1245
|
class: "vs-product-card__description-inner"
|
|
1249
1246
|
}, _hoisted_5$v = { class: "visually-hidden" }, _hoisted_6$k = {
|
|
@@ -1266,7 +1263,7 @@ function _sfc_render$1W(e, n, t, a, r, s) {
|
|
|
1266
1263
|
"data-test": "vs-product-card"
|
|
1267
1264
|
}, [
|
|
1268
1265
|
createElementVNode("section", mergeProps({ class: "card" }, e.$attrs), [
|
|
1269
|
-
createElementVNode("div", _hoisted_1$
|
|
1266
|
+
createElementVNode("div", _hoisted_1$1G, [
|
|
1270
1267
|
createElementVNode("div", _hoisted_2$1c, [
|
|
1271
1268
|
createVNode(o, {
|
|
1272
1269
|
src: t.imgSrc,
|
|
@@ -1309,7 +1306,7 @@ function _sfc_render$1W(e, n, t, a, r, s) {
|
|
|
1309
1306
|
renderSlot(e.$slots, "vs-canned-search-categories"),
|
|
1310
1307
|
createElementVNode("div", _hoisted_3$$, [
|
|
1311
1308
|
renderSlot(e.$slots, "vs-canned-search-tour-info"),
|
|
1312
|
-
t.description ? (openBlock(), createElementBlock("p", _hoisted_4$
|
|
1309
|
+
t.description ? (openBlock(), createElementBlock("p", _hoisted_4$K, toDisplayString(t.description), 1)) : createCommentVNode("", !0),
|
|
1313
1310
|
createVNode(i, {
|
|
1314
1311
|
href: t.detailLink.link,
|
|
1315
1312
|
class: "vs-product-card__description-link",
|
|
@@ -1355,12 +1352,12 @@ const VsCannedSearchProductCard = /* @__PURE__ */ _export_sfc(_sfc_main$26, [["r
|
|
|
1355
1352
|
default: null
|
|
1356
1353
|
}
|
|
1357
1354
|
}
|
|
1358
|
-
}, _hoisted_1$
|
|
1355
|
+
}, _hoisted_1$1F = {
|
|
1359
1356
|
class: "vs-canned-search-stars",
|
|
1360
1357
|
"data-test": "vs-canned-search-stars"
|
|
1361
1358
|
}, _hoisted_2$1b = { key: 0 }, _hoisted_3$_ = { key: 1 };
|
|
1362
1359
|
function _sfc_render$1V(e, n, t, a, r, s) {
|
|
1363
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
1360
|
+
return openBlock(), createElementBlock("div", _hoisted_1$1F, [
|
|
1364
1361
|
t.min && t.max && t.min !== t.max ? (openBlock(), createElementBlock("div", _hoisted_2$1b, [
|
|
1365
1362
|
n[0] || (n[0] = createElementVNode("span", { class: "vs-canned-search-stars__star" }, " ★ ", -1)),
|
|
1366
1363
|
createTextVNode(" " + toDisplayString(t.min) + "-" + toDisplayString(t.max), 1)
|
|
@@ -1458,10 +1455,10 @@ const VsTooltip = /* @__PURE__ */ _export_sfc(_sfc_main$24, [["render", _sfc_ren
|
|
|
1458
1455
|
default: null
|
|
1459
1456
|
}
|
|
1460
1457
|
}
|
|
1461
|
-
}, _hoisted_1$
|
|
1458
|
+
}, _hoisted_1$1E = { class: "vs-canned-search-logos" };
|
|
1462
1459
|
function _sfc_render$1T(e, n, t, a, r, s) {
|
|
1463
1460
|
const o = resolveComponent("VsImg"), i = resolveComponent("VsTooltip");
|
|
1464
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
1461
|
+
return openBlock(), createElementBlock("div", _hoisted_1$1E, [
|
|
1465
1462
|
t.goodToGoLogo ? (openBlock(), createBlock(i, {
|
|
1466
1463
|
key: 0,
|
|
1467
1464
|
title: t.goodToGoLogo.name,
|
|
@@ -1563,12 +1560,12 @@ const VsCannedSearchLogos = /* @__PURE__ */ _export_sfc(_sfc_main$23, [["render"
|
|
|
1563
1560
|
return this.categories ? this.categories.slice(0, 3).map((e) => e.name).join(" | ") : "";
|
|
1564
1561
|
}
|
|
1565
1562
|
}
|
|
1566
|
-
}, _hoisted_1$
|
|
1563
|
+
}, _hoisted_1$1D = {
|
|
1567
1564
|
class: "vs-canned-search-categories",
|
|
1568
1565
|
"data-test": "vs-canned-search-categories"
|
|
1569
1566
|
};
|
|
1570
1567
|
function _sfc_render$1S(e, n, t, a, r, s) {
|
|
1571
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
1568
|
+
return openBlock(), createElementBlock("div", _hoisted_1$1D, toDisplayString(s.transformedCategories), 1);
|
|
1572
1569
|
}
|
|
1573
1570
|
const VsCannedSearchCategories = /* @__PURE__ */ _export_sfc(_sfc_main$22, [["render", _sfc_render$1S]]), _sfc_main$21 = {
|
|
1574
1571
|
name: "VsCannedSearchPrice",
|
|
@@ -1597,21 +1594,21 @@ const VsCannedSearchCategories = /* @__PURE__ */ _export_sfc(_sfc_main$22, [["re
|
|
|
1597
1594
|
default: ""
|
|
1598
1595
|
}
|
|
1599
1596
|
}
|
|
1600
|
-
}, _hoisted_1$
|
|
1597
|
+
}, _hoisted_1$1C = { class: "vs-canned-search-price" }, _hoisted_2$1a = {
|
|
1601
1598
|
key: 0,
|
|
1602
1599
|
class: "vs-canned-search-price__intro"
|
|
1603
1600
|
}, _hoisted_3$Z = {
|
|
1604
1601
|
key: 1,
|
|
1605
1602
|
class: "vs-canned-search-price__main"
|
|
1606
|
-
}, _hoisted_4$
|
|
1603
|
+
}, _hoisted_4$J = {
|
|
1607
1604
|
key: 2,
|
|
1608
1605
|
class: "vs-canned-search-price__outro"
|
|
1609
1606
|
};
|
|
1610
1607
|
function _sfc_render$1R(e, n, t, a, r, s) {
|
|
1611
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
1608
|
+
return openBlock(), createElementBlock("div", _hoisted_1$1C, [
|
|
1612
1609
|
t.priceIntro ? (openBlock(), createElementBlock("div", _hoisted_2$1a, toDisplayString(t.priceIntro), 1)) : createCommentVNode("", !0),
|
|
1613
1610
|
t.price ? (openBlock(), createElementBlock("div", _hoisted_3$Z, toDisplayString(t.price), 1)) : createCommentVNode("", !0),
|
|
1614
|
-
t.priceOutro ? (openBlock(), createElementBlock("div", _hoisted_4$
|
|
1611
|
+
t.priceOutro ? (openBlock(), createElementBlock("div", _hoisted_4$J, toDisplayString(t.priceOutro), 1)) : createCommentVNode("", !0)
|
|
1615
1612
|
]);
|
|
1616
1613
|
}
|
|
1617
1614
|
const VsCannedSearchPrice = /* @__PURE__ */ _export_sfc(_sfc_main$21, [["render", _sfc_render$1R]]), _sfc_main$20 = {
|
|
@@ -1634,7 +1631,7 @@ const VsCannedSearchPrice = /* @__PURE__ */ _export_sfc(_sfc_main$21, [["render"
|
|
|
1634
1631
|
default: ""
|
|
1635
1632
|
}
|
|
1636
1633
|
}
|
|
1637
|
-
}, _hoisted_1$
|
|
1634
|
+
}, _hoisted_1$1B = { class: "vs-canned-search-duration" }, _hoisted_2$19 = {
|
|
1638
1635
|
key: 0,
|
|
1639
1636
|
class: "vs-canned-search-duration__intro"
|
|
1640
1637
|
}, _hoisted_3$Y = {
|
|
@@ -1642,7 +1639,7 @@ const VsCannedSearchPrice = /* @__PURE__ */ _export_sfc(_sfc_main$21, [["render"
|
|
|
1642
1639
|
class: "vs-canned-search-duration__main"
|
|
1643
1640
|
};
|
|
1644
1641
|
function _sfc_render$1Q(e, n, t, a, r, s) {
|
|
1645
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
1642
|
+
return openBlock(), createElementBlock("div", _hoisted_1$1B, [
|
|
1646
1643
|
t.durationIntro ? (openBlock(), createElementBlock("div", _hoisted_2$19, toDisplayString(t.durationIntro), 1)) : createCommentVNode("", !0),
|
|
1647
1644
|
t.duration ? (openBlock(), createElementBlock("div", _hoisted_3$Y, toDisplayString(t.duration), 1)) : createCommentVNode("", !0)
|
|
1648
1645
|
]);
|
|
@@ -1689,7 +1686,7 @@ const VsCannedSearchDuration = /* @__PURE__ */ _export_sfc(_sfc_main$20, [["rend
|
|
|
1689
1686
|
default: ""
|
|
1690
1687
|
}
|
|
1691
1688
|
}
|
|
1692
|
-
}, _hoisted_1$
|
|
1689
|
+
}, _hoisted_1$1A = ["disabled"], _hoisted_2$18 = { class: "visually-hidden" };
|
|
1693
1690
|
function _sfc_render$1P(e, n, t, a, r, s) {
|
|
1694
1691
|
const o = resolveComponent("VsCol"), i = resolveComponent("VsRow"), l = resolveComponent("VsLink"), c = resolveComponent("VsContainer");
|
|
1695
1692
|
return openBlock(), createElementBlock("div", {
|
|
@@ -1758,7 +1755,7 @@ function _sfc_render$1P(e, n, t, a, r, s) {
|
|
|
1758
1755
|
]),
|
|
1759
1756
|
_: 3
|
|
1760
1757
|
})
|
|
1761
|
-
], 8, _hoisted_1$
|
|
1758
|
+
], 8, _hoisted_1$1A);
|
|
1762
1759
|
}
|
|
1763
1760
|
const VsCannedSearchSummaryBox = /* @__PURE__ */ _export_sfc(_sfc_main$1$, [["render", _sfc_render$1P]]), _sfc_main$1_ = {
|
|
1764
1761
|
name: "VsCannedSearchDates",
|
|
@@ -1787,9 +1784,9 @@ const VsCannedSearchSummaryBox = /* @__PURE__ */ _export_sfc(_sfc_main$1$, [["re
|
|
|
1787
1784
|
return this.period && this.period.startDay ? this.period.endDay ? `${this.period.startDay} - ${this.period.endDay}` : this.period.startDay : "";
|
|
1788
1785
|
}
|
|
1789
1786
|
}
|
|
1790
|
-
}, _hoisted_1$
|
|
1787
|
+
}, _hoisted_1$1z = { class: "vs-canned-search-dates" }, _hoisted_2$17 = { class: "vs-canned-search-dates__intro" }, _hoisted_3$X = { class: "vs-canned-search-dates__main" };
|
|
1791
1788
|
function _sfc_render$1O(e, n, t, a, r, s) {
|
|
1792
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
1789
|
+
return openBlock(), createElementBlock("div", _hoisted_1$1z, [
|
|
1793
1790
|
createElementVNode("div", _hoisted_2$17, toDisplayString(t.label), 1),
|
|
1794
1791
|
createElementVNode("div", _hoisted_3$X, toDisplayString(s.datePeriod), 1)
|
|
1795
1792
|
]);
|
|
@@ -1839,13 +1836,13 @@ const VsCannedSearchDates = /* @__PURE__ */ _export_sfc(_sfc_main$1_, [["render"
|
|
|
1839
1836
|
return this.multiBadgeOne ? this.multiBadgeOne.slice(0, 3) : [];
|
|
1840
1837
|
}
|
|
1841
1838
|
}
|
|
1842
|
-
}, _hoisted_1$
|
|
1839
|
+
}, _hoisted_1$1y = { class: "vs-canned-search-badges" }, _hoisted_2$16 = {
|
|
1843
1840
|
key: 0,
|
|
1844
1841
|
class: "vs-canned-search-badges__badge vs-canned-search-badges__badge--category vs-canned-search-badges__badge--tr"
|
|
1845
1842
|
}, _hoisted_3$W = {
|
|
1846
1843
|
key: 1,
|
|
1847
1844
|
class: "vs-canned-search-badges__multi-badge-holder"
|
|
1848
|
-
}, _hoisted_4$
|
|
1845
|
+
}, _hoisted_4$I = {
|
|
1849
1846
|
key: 2,
|
|
1850
1847
|
class: "vs-canned-search-badges__badge vs-canned-search-badges__badge--offer vs-canned-search-badges__badge--tr2"
|
|
1851
1848
|
}, _hoisted_5$u = {
|
|
@@ -1853,14 +1850,14 @@ const VsCannedSearchDates = /* @__PURE__ */ _export_sfc(_sfc_main$1_, [["render"
|
|
|
1853
1850
|
class: "vs-canned-search-badges__badge vs-canned-search-badges__badge--open vs-canned-search-badges__badge--br"
|
|
1854
1851
|
};
|
|
1855
1852
|
function _sfc_render$1N(e, n, t, a, r, s) {
|
|
1856
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
1853
|
+
return openBlock(), createElementBlock("div", _hoisted_1$1y, [
|
|
1857
1854
|
t.badgeOne ? (openBlock(), createElementBlock("div", _hoisted_2$16, toDisplayString(t.badgeOne), 1)) : t.multiBadgeOne && t.multiBadgeOne.length ? (openBlock(), createElementBlock("div", _hoisted_3$W, [
|
|
1858
1855
|
(openBlock(!0), createElementBlock(Fragment, null, renderList(s.limitedMulti, (o, i) => (openBlock(), createElementBlock("div", {
|
|
1859
1856
|
key: i,
|
|
1860
1857
|
class: "vs-canned-search-badges__badge vs-canned-search-badges__badge--category vs-canned-search-badges__multi-badge"
|
|
1861
1858
|
}, toDisplayString(o), 1))), 128))
|
|
1862
1859
|
])) : createCommentVNode("", !0),
|
|
1863
|
-
t.badgeTwo ? (openBlock(), createElementBlock("div", _hoisted_4$
|
|
1860
|
+
t.badgeTwo ? (openBlock(), createElementBlock("div", _hoisted_4$I, toDisplayString(t.badgeTwo), 1)) : createCommentVNode("", !0),
|
|
1864
1861
|
t.badgeThree ? (openBlock(), createElementBlock("div", _hoisted_5$u, toDisplayString(t.badgeThree), 1)) : createCommentVNode("", !0)
|
|
1865
1862
|
]);
|
|
1866
1863
|
}
|
|
@@ -1878,12 +1875,12 @@ const VsCannedSearchBadges = /* @__PURE__ */ _export_sfc(_sfc_main$1Z, [["render
|
|
|
1878
1875
|
default: null
|
|
1879
1876
|
}
|
|
1880
1877
|
}
|
|
1881
|
-
}, _hoisted_1$
|
|
1878
|
+
}, _hoisted_1$1x = {
|
|
1882
1879
|
class: "vs-canned-search-cuisines",
|
|
1883
1880
|
"data-test": "vs-canned-search-cuisines"
|
|
1884
1881
|
};
|
|
1885
1882
|
function _sfc_render$1M(e, n, t, a, r, s) {
|
|
1886
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
1883
|
+
return openBlock(), createElementBlock("div", _hoisted_1$1x, [
|
|
1887
1884
|
(openBlock(!0), createElementBlock(Fragment, null, renderList(t.cuisines, (o, i) => (openBlock(), createElementBlock("span", {
|
|
1888
1885
|
class: "vs-canned-search-cuisines__cuisine",
|
|
1889
1886
|
key: i
|
|
@@ -1971,9 +1968,9 @@ const VsCannedSearchSubHeading = /* @__PURE__ */ _export_sfc(_sfc_main$1X, [["re
|
|
|
1971
1968
|
return this.endDay && (e = `${e} - ${this.endDay}`), e;
|
|
1972
1969
|
}
|
|
1973
1970
|
}
|
|
1974
|
-
}, _hoisted_1$
|
|
1971
|
+
}, _hoisted_1$1w = { class: "vs-canned-search-tour-runs" };
|
|
1975
1972
|
function _sfc_render$1K(e, n, t, a, r, s) {
|
|
1976
|
-
return openBlock(), createElementBlock("p", _hoisted_1$
|
|
1973
|
+
return openBlock(), createElementBlock("p", _hoisted_1$1w, toDisplayString(s.formattedPeriod), 1);
|
|
1977
1974
|
}
|
|
1978
1975
|
const VsCannedSearchTourRuns = /* @__PURE__ */ _export_sfc(_sfc_main$1W, [["render", _sfc_render$1K]]), _sfc_main$1V = {
|
|
1979
1976
|
name: "VsCannedSearchTourDeparts",
|
|
@@ -2005,9 +2002,9 @@ const VsCannedSearchTourRuns = /* @__PURE__ */ _export_sfc(_sfc_main$1W, [["rend
|
|
|
2005
2002
|
return this.origins ? this.origins.map((e) => e.name).join(", ") : "";
|
|
2006
2003
|
}
|
|
2007
2004
|
}
|
|
2008
|
-
}, _hoisted_1$
|
|
2005
|
+
}, _hoisted_1$1v = { class: "vs-canned-search-tour-departs" }, _hoisted_2$15 = { class: "vs-canned-search-tour-departs__label" };
|
|
2009
2006
|
function _sfc_render$1J(e, n, t, a, r, s) {
|
|
2010
|
-
return openBlock(), createElementBlock("p", _hoisted_1$
|
|
2007
|
+
return openBlock(), createElementBlock("p", _hoisted_1$1v, [
|
|
2011
2008
|
createElementVNode("span", _hoisted_2$15, toDisplayString(t.label) + ":", 1),
|
|
2012
2009
|
createTextVNode(" " + toDisplayString(s.transformedOrigins), 1)
|
|
2013
2010
|
]);
|
|
@@ -2175,14 +2172,14 @@ const VsCannedSearchTourDeparts = /* @__PURE__ */ _export_sfc(_sfc_main$1V, [["r
|
|
|
2175
2172
|
return 100 / this.slidesPerPage[this.currentWidth] * n;
|
|
2176
2173
|
}
|
|
2177
2174
|
}
|
|
2178
|
-
}, _hoisted_1$
|
|
2175
|
+
}, _hoisted_1$1u = {
|
|
2179
2176
|
class: "vs-carousel",
|
|
2180
2177
|
"data-test": "vs-carousel",
|
|
2181
2178
|
ref: "carousel"
|
|
2182
2179
|
}, _hoisted_2$14 = { class: "slider" }, _hoisted_3$V = {
|
|
2183
2180
|
key: 2,
|
|
2184
2181
|
class: "vs-carousel__navigation"
|
|
2185
|
-
}, _hoisted_4$
|
|
2182
|
+
}, _hoisted_4$H = ["onClick", "onKeypress", "data-test"], _hoisted_5$t = { class: "visually-hidden" }, _hoisted_6$j = {
|
|
2186
2183
|
key: 0,
|
|
2187
2184
|
class: "vs-carousel__mobile-pagination-wrapper"
|
|
2188
2185
|
}, _hoisted_7$f = {
|
|
@@ -2191,7 +2188,7 @@ const VsCannedSearchTourDeparts = /* @__PURE__ */ _export_sfc(_sfc_main$1V, [["r
|
|
|
2191
2188
|
};
|
|
2192
2189
|
function _sfc_render$1I(e, n, t, a, r, s) {
|
|
2193
2190
|
const o = resolveComponent("VsButton"), i = resolveComponent("VsRow"), l = resolveComponent("VsCol"), c = resolveComponent("VsContainer");
|
|
2194
|
-
return openBlock(), createElementBlock("section", _hoisted_1$
|
|
2191
|
+
return openBlock(), createElementBlock("section", _hoisted_1$1u, [
|
|
2195
2192
|
createVNode(c, null, {
|
|
2196
2193
|
default: withCtx(() => [
|
|
2197
2194
|
createVNode(i, null, {
|
|
@@ -2256,7 +2253,7 @@ function _sfc_render$1I(e, n, t, a, r, s) {
|
|
|
2256
2253
|
renderSlot(e.$slots, "vs-carousel-navigate"),
|
|
2257
2254
|
createTextVNode(" " + toDisplayString(u), 1)
|
|
2258
2255
|
])
|
|
2259
|
-
], 42, _hoisted_4$
|
|
2256
|
+
], 42, _hoisted_4$H)
|
|
2260
2257
|
]))), 128))
|
|
2261
2258
|
])) : createCommentVNode("", !0)
|
|
2262
2259
|
]),
|
|
@@ -2557,15 +2554,15 @@ const VsModuleWrapper = /* @__PURE__ */ _export_sfc(_sfc_main$1T, [["render", _s
|
|
|
2557
2554
|
return e.covidInformation && e.covidInformation.weAreOpen ? e.covidInformation.weAreOpen : e.opening && e.opening.nowOn ? e.opening.nowOn : "";
|
|
2558
2555
|
}
|
|
2559
2556
|
}
|
|
2560
|
-
}, _hoisted_1$
|
|
2557
|
+
}, _hoisted_1$1t = {
|
|
2561
2558
|
class: "vs-canned-search",
|
|
2562
2559
|
"data-test": "vs-canned-search"
|
|
2563
2560
|
};
|
|
2564
2561
|
function _sfc_render$1G(e, n, t, a, r, s) {
|
|
2565
|
-
const o = resolveComponent("VsCol"), i = resolveComponent("VsRow"), l = resolveComponent("VsContainer"), c = resolveComponent("VsCannedSearchTourRuns"), u = resolveComponent("VsCannedSearchTourDeparts"), d = resolveComponent("VsCannedSearchSubHeading"), f = resolveComponent("VsCannedSearchStars"), m = resolveComponent("VsCannedSearchCategories"), p = resolveComponent("VsCannedSearchLogos"), g = resolveComponent("VsCannedSearchBadges"), _ = resolveComponent("VsCannedSearchDates"), v = resolveComponent("VsCannedSearchDuration"), b = resolveComponent("VsCannedSearchPrice"), k = resolveComponent("VsCannedSearchCuisines"), C = resolveComponent("VsCannedSearchSummaryBox"), S = resolveComponent("VsCannedSearchProductCard"), V = resolveComponent("VsCarousel"),
|
|
2566
|
-
return withDirectives((openBlock(), createBlock(
|
|
2562
|
+
const o = resolveComponent("VsCol"), i = resolveComponent("VsRow"), l = resolveComponent("VsContainer"), c = resolveComponent("VsCannedSearchTourRuns"), u = resolveComponent("VsCannedSearchTourDeparts"), d = resolveComponent("VsCannedSearchSubHeading"), f = resolveComponent("VsCannedSearchStars"), m = resolveComponent("VsCannedSearchCategories"), p = resolveComponent("VsCannedSearchLogos"), g = resolveComponent("VsCannedSearchBadges"), _ = resolveComponent("VsCannedSearchDates"), v = resolveComponent("VsCannedSearchDuration"), b = resolveComponent("VsCannedSearchPrice"), k = resolveComponent("VsCannedSearchCuisines"), C = resolveComponent("VsCannedSearchSummaryBox"), S = resolveComponent("VsCannedSearchProductCard"), V = resolveComponent("VsCarousel"), L = resolveComponent("VsModuleWrapper");
|
|
2563
|
+
return withDirectives((openBlock(), createBlock(L, null, createSlots({
|
|
2567
2564
|
default: withCtx(() => [
|
|
2568
|
-
createElementVNode("div", _hoisted_1$
|
|
2565
|
+
createElementVNode("div", _hoisted_1$1t, [
|
|
2569
2566
|
createVNode(l, null, {
|
|
2570
2567
|
default: withCtx(() => [
|
|
2571
2568
|
createVNode(i, null, {
|
|
@@ -2832,7 +2829,7 @@ const CannedSearch = /* @__PURE__ */ _export_sfc(_sfc_main$1S, [["render", _sfc_
|
|
|
2832
2829
|
return (t - e) * a / (n - e);
|
|
2833
2830
|
}
|
|
2834
2831
|
}
|
|
2835
|
-
}, _hoisted_1$
|
|
2832
|
+
}, _hoisted_1$1s = ["width", "height"], _hoisted_2$13 = ["stroke"], _hoisted_3$U = ["stroke"], _hoisted_4$G = ["stroke"], _hoisted_5$s = ["stroke"], _hoisted_6$i = ["stroke"], _hoisted_7$e = ["stroke"], _hoisted_8$5 = ["stroke"], _hoisted_9$4 = ["stroke"], _hoisted_10$4 = ["stroke"], _hoisted_11$3 = ["stroke"], _hoisted_12$3 = ["stroke"], _hoisted_13$3 = ["stroke"], _hoisted_14$2 = ["stroke"], _hoisted_15$2 = ["stroke"], _hoisted_16$2 = ["stroke"], _hoisted_17$2 = ["stroke"], _hoisted_18$1 = ["stroke"], _hoisted_19$1 = ["stroke"], _hoisted_20$1 = ["stroke"], _hoisted_21 = ["stroke"], _hoisted_22 = ["stroke"], _hoisted_23 = ["stroke"], _hoisted_24 = ["stroke"], _hoisted_25 = ["stroke"], _hoisted_26 = ["stroke"], _hoisted_27 = ["stroke"], _hoisted_28 = ["stroke"], _hoisted_29 = ["stroke"], _hoisted_30 = ["stroke"], _hoisted_31 = ["stroke"], _hoisted_32 = ["width", "height"], _hoisted_33 = ["fill", "cx", "cy"];
|
|
2836
2833
|
function _sfc_render$1F(e, n, t, a, r, s) {
|
|
2837
2834
|
return openBlock(), createElementBlock("svg", {
|
|
2838
2835
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -2874,7 +2871,7 @@ function _sfc_render$1F(e, n, t, a, r, s) {
|
|
|
2874
2871
|
"stroke-linejoin": "round",
|
|
2875
2872
|
"stroke-width": "0.5",
|
|
2876
2873
|
"fill-rule": "evenodd"
|
|
2877
|
-
}, null, 8, _hoisted_4$
|
|
2874
|
+
}, null, 8, _hoisted_4$G),
|
|
2878
2875
|
createElementVNode("path", {
|
|
2879
2876
|
d: `M62.1546,11.3043l-1.5,1.1c.5.92.8349.736,
|
|
2880
2877
|
1.837.736l-.3341.368h-.173a1.6911,1.6911,0,0,0,1.336.92c-.668,
|
|
@@ -2919,7 +2916,7 @@ function _sfc_render$1F(e, n, t, a, r, s) {
|
|
|
2919
2916
|
"stroke-linejoin": "round",
|
|
2920
2917
|
"stroke-width": "0.5",
|
|
2921
2918
|
"fill-rule": "evenodd"
|
|
2922
|
-
}, null, 8, _hoisted_8$
|
|
2919
|
+
}, null, 8, _hoisted_8$5),
|
|
2923
2920
|
createElementVNode("path", {
|
|
2924
2921
|
d: "M51.2975,30.9843l.167,1.655,1.169-1.287Z",
|
|
2925
2922
|
transform: "translate(-0.2662 -0.2662)",
|
|
@@ -3251,7 +3248,7 @@ function _sfc_render$1F(e, n, t, a, r, s) {
|
|
|
3251
3248
|
cx: s.positionX,
|
|
3252
3249
|
cy: s.positionY
|
|
3253
3250
|
}, null, 8, _hoisted_33)
|
|
3254
|
-
], 8, _hoisted_1$
|
|
3251
|
+
], 8, _hoisted_1$1s);
|
|
3255
3252
|
}
|
|
3256
3253
|
const VsCaptionImageMap = /* @__PURE__ */ _export_sfc(_sfc_main$1R, [["render", _sfc_render$1F]]), _sfc_main$1Q = {
|
|
3257
3254
|
name: "VsCaption",
|
|
@@ -3329,13 +3326,13 @@ const VsCaptionImageMap = /* @__PURE__ */ _export_sfc(_sfc_main$1R, [["render",
|
|
|
3329
3326
|
];
|
|
3330
3327
|
}
|
|
3331
3328
|
}
|
|
3332
|
-
}, _hoisted_1$
|
|
3329
|
+
}, _hoisted_1$1r = { class: "vs-caption__caption-info" }, _hoisted_2$12 = {
|
|
3333
3330
|
key: 0,
|
|
3334
3331
|
class: "vs-caption__image-caption"
|
|
3335
3332
|
}, _hoisted_3$T = {
|
|
3336
3333
|
key: 1,
|
|
3337
3334
|
class: "vs-caption__image-credit"
|
|
3338
|
-
}, _hoisted_4$
|
|
3335
|
+
}, _hoisted_4$F = { class: "vs-caption__map-wrapper pt-075 pt-sm-050 pb-sm-050 mx-auto" };
|
|
3339
3336
|
function _sfc_render$1E(e, n, t, a, r, s) {
|
|
3340
3337
|
const o = resolveComponent("VsCol"), i = resolveComponent("VsCaptionImageMap"), l = resolveComponent("VsRow"), c = resolveComponent("VsContainer");
|
|
3341
3338
|
return openBlock(), createElementBlock("div", {
|
|
@@ -3350,7 +3347,7 @@ function _sfc_render$1E(e, n, t, a, r, s) {
|
|
|
3350
3347
|
class: normalizeClass(["order-2 order-sm-1", [s.showMap ? "" : "align-self-center"]])
|
|
3351
3348
|
}, {
|
|
3352
3349
|
default: withCtx(() => [
|
|
3353
|
-
createElementVNode("div", _hoisted_1$
|
|
3350
|
+
createElementVNode("div", _hoisted_1$1r, [
|
|
3354
3351
|
e.$slots.caption ? (openBlock(), createElementBlock("p", _hoisted_2$12, [
|
|
3355
3352
|
renderSlot(e.$slots, "caption")
|
|
3356
3353
|
])) : createCommentVNode("", !0),
|
|
@@ -3366,7 +3363,7 @@ function _sfc_render$1E(e, n, t, a, r, s) {
|
|
|
3366
3363
|
class: "col-12 col-sm-auto order-1 order-sm-2 ps-sm-0 align-self-end align-self-sm-start"
|
|
3367
3364
|
}, {
|
|
3368
3365
|
default: withCtx(() => [
|
|
3369
|
-
createElementVNode("div", _hoisted_4$
|
|
3366
|
+
createElementVNode("div", _hoisted_4$F, [
|
|
3370
3367
|
createVNode(i, {
|
|
3371
3368
|
latitude: t.latitude,
|
|
3372
3369
|
longitude: t.longitude,
|
|
@@ -3460,7 +3457,7 @@ const VsCaption = /* @__PURE__ */ _export_sfc(_sfc_main$1Q, [["render", _sfc_ren
|
|
|
3460
3457
|
const e = getCurrentInstance();
|
|
3461
3458
|
this.compId = ref(e.uid);
|
|
3462
3459
|
}
|
|
3463
|
-
}, _hoisted_1$
|
|
3460
|
+
}, _hoisted_1$1q = {
|
|
3464
3461
|
key: 1,
|
|
3465
3462
|
class: "vs-progress-bar__stepper"
|
|
3466
3463
|
}, _hoisted_2$11 = ["id"], _hoisted_3$S = ["id"];
|
|
@@ -3482,7 +3479,7 @@ function _sfc_render$1D(e, n, t, a, r, s) {
|
|
|
3482
3479
|
]),
|
|
3483
3480
|
_: 1
|
|
3484
3481
|
}, 8, ["max"])) : createCommentVNode("", !0),
|
|
3485
|
-
t.isStepped && t.max <= 5 ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
3482
|
+
t.isStepped && t.max <= 5 ? (openBlock(), createElementBlock("div", _hoisted_1$1q, [
|
|
3486
3483
|
(openBlock(!0), createElementBlock(Fragment, null, renderList(t.max, (l) => (openBlock(), createBlock(i, {
|
|
3487
3484
|
key: l,
|
|
3488
3485
|
max: 1
|
|
@@ -3526,13 +3523,13 @@ const VsProgressBar = /* @__PURE__ */ _export_sfc(_sfc_main$1P, [["render", _sfc
|
|
|
3526
3523
|
default: !1
|
|
3527
3524
|
}
|
|
3528
3525
|
}
|
|
3529
|
-
}, _hoisted_1$
|
|
3526
|
+
}, _hoisted_1$1p = {
|
|
3530
3527
|
class: "vs-carbon-calculator-tip",
|
|
3531
3528
|
"data-test": "vs-carbon-calculator-tip"
|
|
3532
|
-
}, _hoisted_2$10 = { class: "vs-carbon-calculator-tip__icon-container" }, _hoisted_3$R = { class: "vs-carbon-calculator-tip__content" }, _hoisted_4$
|
|
3529
|
+
}, _hoisted_2$10 = { class: "vs-carbon-calculator-tip__icon-container" }, _hoisted_3$R = { class: "vs-carbon-calculator-tip__content" }, _hoisted_4$E = ["innerHTML"], _hoisted_5$r = ["innerHTML"];
|
|
3533
3530
|
function _sfc_render$1C(e, n, t, a, r, s) {
|
|
3534
3531
|
const o = resolveComponent("VsIcon"), i = resolveComponent("VsHeading");
|
|
3535
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
3532
|
+
return openBlock(), createElementBlock("div", _hoisted_1$1p, [
|
|
3536
3533
|
createElementVNode("div", _hoisted_2$10, [
|
|
3537
3534
|
createVNode(o, {
|
|
3538
3535
|
icon: "fa-kit fa-vs-coo-head",
|
|
@@ -3556,7 +3553,7 @@ function _sfc_render$1C(e, n, t, a, r, s) {
|
|
|
3556
3553
|
class: "vs-carbon-calculator-tip__content",
|
|
3557
3554
|
"data-test": "vs-carbon-calculator-tip__summary",
|
|
3558
3555
|
innerHTML: s.labelsMap.allTips
|
|
3559
|
-
}, null, 8, _hoisted_4$
|
|
3556
|
+
}, null, 8, _hoisted_4$E)) : createCommentVNode("", !0),
|
|
3560
3557
|
t.showingAllTips ? createCommentVNode("", !0) : (openBlock(), createElementBlock("p", {
|
|
3561
3558
|
key: 1,
|
|
3562
3559
|
class: "vs-carbon-calculator-tip__content",
|
|
@@ -5062,10 +5059,10 @@ function formatLocale(e) {
|
|
|
5062
5059
|
d = formatSpecifier(d);
|
|
5063
5060
|
var f = d.fill, m = d.align, p = d.sign, g = d.symbol, _ = d.zero, v = d.width, b = d.comma, k = d.precision, C = d.trim, S = d.type;
|
|
5064
5061
|
S === "n" ? (b = !0, S = "g") : formatTypes[S] || (k === void 0 && (k = 12), C = !0, S = "g"), (_ || f === "0" && m === "=") && (_ = !0, f = "0", m = "=");
|
|
5065
|
-
var V = g === "$" ? t : g === "#" && /[boxX]/.test(S) ? "0" + S.toLowerCase() : "",
|
|
5062
|
+
var V = g === "$" ? t : g === "#" && /[boxX]/.test(S) ? "0" + S.toLowerCase() : "", L = g === "$" ? a : /[%p]/.test(S) ? o : "", N = formatTypes[S], A = /[defgprs%]/.test(S);
|
|
5066
5063
|
k = k === void 0 ? 6 : /[gprs]/.test(S) ? Math.max(1, Math.min(21, k)) : Math.max(0, Math.min(20, k));
|
|
5067
5064
|
function R(O) {
|
|
5068
|
-
var z = V, D =
|
|
5065
|
+
var z = V, D = L, j, Z, Q;
|
|
5069
5066
|
if (S === "c")
|
|
5070
5067
|
D = N(O) + D, O = "";
|
|
5071
5068
|
else {
|
|
@@ -5395,7 +5392,7 @@ function intersect(e, n, t, a, r, s, o, i) {
|
|
|
5395
5392
|
return f = (u * (n - s) - d * (e - r)) / f, [e + f * l, n + f * c];
|
|
5396
5393
|
}
|
|
5397
5394
|
function cornerTangents(e, n, t, a, r, s, o) {
|
|
5398
|
-
var i = e - t, l = n - a, c = (o ? s : -s) / sqrt(i * i + l * l), u = c * l, d = -c * i, f = e + u, m = n + d, p = t + u, g = a + d, _ = (f + p) / 2, v = (m + g) / 2, b = p - f, k = g - m, C = b * b + k * k, S = r - s, V = f * g - p * m,
|
|
5395
|
+
var i = e - t, l = n - a, c = (o ? s : -s) / sqrt(i * i + l * l), u = c * l, d = -c * i, f = e + u, m = n + d, p = t + u, g = a + d, _ = (f + p) / 2, v = (m + g) / 2, b = p - f, k = g - m, C = b * b + k * k, S = r - s, V = f * g - p * m, L = (k < 0 ? -1 : 1) * sqrt(max(0, S * S * C - V * V)), N = (V * k - b * L) / C, A = (-V * b - k * L) / C, R = (V * k + b * L) / C, O = (-V * b + k * L) / C, z = N - _, D = A - v, j = R - _, Z = O - v;
|
|
5399
5396
|
return z * z + D * D > j * j + Z * Z && (N = R, A = O), {
|
|
5400
5397
|
cx: N,
|
|
5401
5398
|
cy: A,
|
|
@@ -5413,22 +5410,22 @@ function arc() {
|
|
|
5413
5410
|
else if (_ > tau$1 - epsilon$2)
|
|
5414
5411
|
i.moveTo(m * cos(p), m * sin(p)), i.arc(0, 0, m, p, g, !v), f > epsilon$2 && (i.moveTo(f * cos(g), f * sin(g)), i.arc(0, 0, f, g, p, v));
|
|
5415
5412
|
else {
|
|
5416
|
-
var b = p, k = g, C = p, S = g, V = _,
|
|
5413
|
+
var b = p, k = g, C = p, S = g, V = _, L = _, N = o.apply(this, arguments) / 2, A = N > epsilon$2 && (a ? +a.apply(this, arguments) : sqrt(f * f + m * m)), R = min(abs(m - f) / 2, +t.apply(this, arguments)), O = R, z = R, D, j;
|
|
5417
5414
|
if (A > epsilon$2) {
|
|
5418
5415
|
var Z = asin(A / f * sin(N)), Q = asin(A / m * sin(N));
|
|
5419
|
-
(V -= Z * 2) > epsilon$2 ? (Z *= v ? 1 : -1, C += Z, S -= Z) : (V = 0, C = S = (p + g) / 2), (
|
|
5416
|
+
(V -= Z * 2) > epsilon$2 ? (Z *= v ? 1 : -1, C += Z, S -= Z) : (V = 0, C = S = (p + g) / 2), (L -= Q * 2) > epsilon$2 ? (Q *= v ? 1 : -1, b += Q, k -= Q) : (L = 0, b = k = (p + g) / 2);
|
|
5420
5417
|
}
|
|
5421
5418
|
var Y = m * cos(b), w = m * sin(b), E = f * cos(S), M = f * sin(S);
|
|
5422
5419
|
if (R > epsilon$2) {
|
|
5423
|
-
var q = m * cos(k),
|
|
5420
|
+
var q = m * cos(k), J = m * sin(k), $ = f * cos(C), B = f * sin(C), T;
|
|
5424
5421
|
if (_ < pi$1)
|
|
5425
|
-
if (
|
|
5426
|
-
var F = Y -
|
|
5427
|
-
O = min(R, (f -
|
|
5422
|
+
if (T = intersect(Y, w, $, B, q, J, E, M)) {
|
|
5423
|
+
var F = Y - T[0], P = w - T[1], H = q - T[0], W = J - T[1], U = 1 / sin(acos((F * H + P * W) / (sqrt(F * F + P * P) * sqrt(H * H + W * W))) / 2), G = sqrt(T[0] * T[0] + T[1] * T[1]);
|
|
5424
|
+
O = min(R, (f - G) / (U - 1)), z = min(R, (m - G) / (U + 1));
|
|
5428
5425
|
} else
|
|
5429
5426
|
O = z = 0;
|
|
5430
5427
|
}
|
|
5431
|
-
|
|
5428
|
+
L > epsilon$2 ? z > epsilon$2 ? (D = cornerTangents($, B, Y, w, m, z, v), j = cornerTangents(q, J, E, M, m, z, v), i.moveTo(D.cx + D.x01, D.cy + D.y01), z < R ? i.arc(D.cx, D.cy, z, atan2(D.y01, D.x01), atan2(j.y01, j.x01), !v) : (i.arc(D.cx, D.cy, z, atan2(D.y01, D.x01), atan2(D.y11, D.x11), !v), i.arc(0, 0, m, atan2(D.cy + D.y11, D.cx + D.x11), atan2(j.cy + j.y11, j.cx + j.x11), !v), i.arc(j.cx, j.cy, z, atan2(j.y11, j.x11), atan2(j.y01, j.x01), !v))) : (i.moveTo(Y, w), i.arc(0, 0, m, b, k, !v)) : i.moveTo(Y, w), !(f > epsilon$2) || !(V > epsilon$2) ? i.lineTo(E, M) : O > epsilon$2 ? (D = cornerTangents(E, M, q, J, f, -O, v), j = cornerTangents(Y, w, $, B, f, -O, v), i.lineTo(D.cx + D.x01, D.cy + D.y01), O < R ? i.arc(D.cx, D.cy, O, atan2(D.y01, D.x01), atan2(j.y01, j.x01), !v) : (i.arc(D.cx, D.cy, O, atan2(D.y01, D.x01), atan2(D.y11, D.x11), !v), i.arc(0, 0, f, atan2(D.cy + D.y11, D.cx + D.x11), atan2(j.cy + j.y11, j.cx + j.x11), v), i.arc(j.cx, j.cy, O, atan2(j.y11, j.x11), atan2(j.y01, j.x01), !v))) : i.arc(0, 0, f, S, C, v);
|
|
5432
5429
|
}
|
|
5433
5430
|
if (i.closePath(), u) return i = null, u + "" || null;
|
|
5434
5431
|
}
|
|
@@ -6495,13 +6492,13 @@ function entering() {
|
|
|
6495
6492
|
function axis(e, n) {
|
|
6496
6493
|
var t = [], a = null, r = null, s = 6, o = 6, i = 3, l = typeof window < "u" && window.devicePixelRatio > 1 ? 0 : 0.5, c = e === top || e === left ? -1 : 1, u = e === left || e === right ? "x" : "y", d = e === top || e === bottom ? translateX : translateY;
|
|
6497
6494
|
function f(m) {
|
|
6498
|
-
var p = a ?? (n.ticks ? n.ticks.apply(n, t) : n.domain()), g = r ?? (n.tickFormat ? n.tickFormat.apply(n, t) : identity), _ = Math.max(s, 0) + i, v = n.range(), b = +v[0] + l, k = +v[v.length - 1] + l, C = (n.bandwidth ? center : number)(n.copy(), l), S = m.selection ? m.selection() : m, V = S.selectAll(".domain").data([null]),
|
|
6499
|
-
V = V.merge(V.enter().insert("path", ".tick").attr("class", "domain").attr("stroke", "currentColor")),
|
|
6495
|
+
var p = a ?? (n.ticks ? n.ticks.apply(n, t) : n.domain()), g = r ?? (n.tickFormat ? n.tickFormat.apply(n, t) : identity), _ = Math.max(s, 0) + i, v = n.range(), b = +v[0] + l, k = +v[v.length - 1] + l, C = (n.bandwidth ? center : number)(n.copy(), l), S = m.selection ? m.selection() : m, V = S.selectAll(".domain").data([null]), L = S.selectAll(".tick").data(p, n).order(), N = L.exit(), A = L.enter().append("g").attr("class", "tick"), R = L.select("line"), O = L.select("text");
|
|
6496
|
+
V = V.merge(V.enter().insert("path", ".tick").attr("class", "domain").attr("stroke", "currentColor")), L = L.merge(A), R = R.merge(A.append("line").attr("stroke", "currentColor").attr(u + "2", c * s)), O = O.merge(A.append("text").attr("fill", "currentColor").attr(u, c * _).attr("dy", e === top ? "0em" : e === bottom ? "0.71em" : "0.32em")), m !== S && (V = V.transition(m), L = L.transition(m), R = R.transition(m), O = O.transition(m), N = N.transition(m).attr("opacity", epsilon).attr("transform", function(z) {
|
|
6500
6497
|
return isFinite(z = C(z)) ? d(z + l) : this.getAttribute("transform");
|
|
6501
6498
|
}), A.attr("opacity", epsilon).attr("transform", function(z) {
|
|
6502
6499
|
var D = this.parentNode.__axis;
|
|
6503
6500
|
return d((D && isFinite(D = D(z)) ? D : C(z)) + l);
|
|
6504
|
-
})), N.remove(), V.attr("d", e === left || e === right ? o ? "M" + c * o + "," + b + "H" + l + "V" + k + "H" + c * o : "M" + l + "," + b + "V" + k : o ? "M" + b + "," + c * o + "V" + l + "H" + k + "V" + c * o : "M" + b + "," + l + "H" + k),
|
|
6501
|
+
})), N.remove(), V.attr("d", e === left || e === right ? o ? "M" + c * o + "," + b + "H" + l + "V" + k + "H" + c * o : "M" + l + "," + b + "V" + k : o ? "M" + b + "," + c * o + "V" + l + "H" + k + "V" + c * o : "M" + b + "," + l + "H" + k), L.attr("opacity", 1).attr("transform", function(z) {
|
|
6505
6502
|
return d(C(z) + l);
|
|
6506
6503
|
}), R.attr(u + "2", c * s), O.attr(u, c * _).text(g), S.filter(entering).attr("fill", "none").attr("font-size", 10).attr("font-family", "sans-serif").attr("text-anchor", e === right ? "start" : e === left ? "end" : "middle"), S.each(function() {
|
|
6507
6504
|
this.__axis = C;
|
|
@@ -6587,8 +6584,8 @@ var useChart = () => inject("chart"), usePoints = (e, n = { stacked: !1, type: "
|
|
|
6587
6584
|
function d(m, p) {
|
|
6588
6585
|
const { bandScale: g, linearScale: _ } = i(), v = l(), b = c(), k = u();
|
|
6589
6586
|
return p.map((C) => {
|
|
6590
|
-
const S = { x: 0, y: 0, width: 0, height: 0, props: { values: [...C], data: C.data } }, V = g.scale(C.data[m]), [
|
|
6591
|
-
return a.config.direction === "horizontal" ? (S.y = Math.min(
|
|
6587
|
+
const S = { x: 0, y: 0, width: 0, height: 0, props: { values: [...C], data: C.data } }, V = g.scale(C.data[m]), [L, N] = _.map(C);
|
|
6588
|
+
return a.config.direction === "horizontal" ? (S.y = Math.min(L, N), S.height = Math.abs(L - N), S.x = k + V + v * b + o / 2, S.width = b) : a.config.direction === "vertical" && (S.x = Math.min(L, N), S.width = Math.abs(L - N), S.y = k + V + v * b + o / 2, S.height = b), S;
|
|
6592
6589
|
});
|
|
6593
6590
|
}
|
|
6594
6591
|
function f() {
|
|
@@ -8033,7 +8030,7 @@ var script$1 = defineComponent({
|
|
|
8033
8030
|
const _hoisted_1$1$1 = {
|
|
8034
8031
|
class: "treemap",
|
|
8035
8032
|
style: { display: "flex", position: "relative" }
|
|
8036
|
-
}, _hoisted_2$1$1 = ["width", "height", "viewBox"], _hoisted_3$Q = { class: "layer-rectangles" }, _hoisted_4$
|
|
8033
|
+
}, _hoisted_2$1$1 = ["width", "height", "viewBox"], _hoisted_3$Q = { class: "layer-rectangles" }, _hoisted_4$D = ["transform", "onMouseover"], _hoisted_5$q = ["width", "height"], _hoisted_6$h = {
|
|
8037
8034
|
x: 10,
|
|
8038
8035
|
y: 20,
|
|
8039
8036
|
"font-size": "15px",
|
|
@@ -8082,7 +8079,7 @@ function render$1(e, n, t, a, r, s) {
|
|
|
8082
8079
|
)
|
|
8083
8080
|
])
|
|
8084
8081
|
])
|
|
8085
|
-
], 42, _hoisted_4$
|
|
8082
|
+
], 42, _hoisted_4$D))),
|
|
8086
8083
|
128
|
|
8087
8084
|
/* KEYED_FRAGMENT */
|
|
8088
8085
|
))
|
|
@@ -8123,12 +8120,12 @@ var script = defineComponent({
|
|
|
8123
8120
|
}), { bar: t, canvas: r, direction: a, mouse: n };
|
|
8124
8121
|
}
|
|
8125
8122
|
});
|
|
8126
|
-
const _hoisted_1$
|
|
8123
|
+
const _hoisted_1$1o = {
|
|
8127
8124
|
key: 0,
|
|
8128
8125
|
class: "layer-hover-bar"
|
|
8129
8126
|
}, _hoisted_2$$ = ["x", "y", "width", "height"];
|
|
8130
8127
|
function render(e, n, t, a, r, s) {
|
|
8131
|
-
return e.mouse.hover ? (openBlock(), createElementBlock("g", _hoisted_1$
|
|
8128
|
+
return e.mouse.hover ? (openBlock(), createElementBlock("g", _hoisted_1$1o, [
|
|
8132
8129
|
createElementVNode("rect", mergeProps({ class: "hover-bar" }, e.barStyle, {
|
|
8133
8130
|
x: e.bar.x,
|
|
8134
8131
|
y: e.bar.y,
|
|
@@ -8323,7 +8320,7 @@ const _sfc_main$1N = {
|
|
|
8323
8320
|
};
|
|
8324
8321
|
}
|
|
8325
8322
|
}
|
|
8326
|
-
}, _hoisted_1$
|
|
8323
|
+
}, _hoisted_1$1n = { class: "vs-carbon-calculator-results__headline" }, _hoisted_2$_ = { class: "mb-050" }, _hoisted_3$P = { class: "vs-carbon-calculator-results__total" }, _hoisted_4$C = ["innerHTML"], _hoisted_5$p = { class: "vs-carbon-calculator-results__unicorn-icon-container" }, _hoisted_6$g = { class: "vs-carbon-calculator-results__unicorn-content" };
|
|
8327
8324
|
function _sfc_render$1B(e, n, t, a, r, s) {
|
|
8328
8325
|
const o = resolveComponent("VsHeading"), i = resolveComponent("VsCol"), l = resolveComponent("VsRow"), c = resolveComponent("VsIcon"), u = resolveComponent("Grid"), d = resolveComponent("Bar"), f = resolveComponent("Chart"), m = resolveComponent("Responsive");
|
|
8329
8326
|
return openBlock(), createBlock(l, {
|
|
@@ -8354,7 +8351,7 @@ function _sfc_render$1B(e, n, t, a, r, s) {
|
|
|
8354
8351
|
md: "6"
|
|
8355
8352
|
}, {
|
|
8356
8353
|
default: withCtx(() => [
|
|
8357
|
-
createElementVNode("div", _hoisted_1$
|
|
8354
|
+
createElementVNode("div", _hoisted_1$1n, [
|
|
8358
8355
|
createElementVNode("p", _hoisted_2$_, toDisplayString(s.labelsMap.resultsIntro), 1),
|
|
8359
8356
|
createElementVNode("p", null, [
|
|
8360
8357
|
createElementVNode("span", _hoisted_3$P, toDisplayString(t.totalKilos.toLocaleString(t.language, {
|
|
@@ -8372,7 +8369,7 @@ function _sfc_render$1B(e, n, t, a, r, s) {
|
|
|
8372
8369
|
class: "vs-carbon-calculator-results__comparison"
|
|
8373
8370
|
}, {
|
|
8374
8371
|
default: withCtx(() => [
|
|
8375
|
-
createElementVNode("p", { innerHTML: s.interpolComparison }, null, 8, _hoisted_4$
|
|
8372
|
+
createElementVNode("p", { innerHTML: s.interpolComparison }, null, 8, _hoisted_4$C)
|
|
8376
8373
|
]),
|
|
8377
8374
|
_: 1
|
|
8378
8375
|
})
|
|
@@ -8489,13 +8486,13 @@ const VsCarbonCalculatorResults = /* @__PURE__ */ _export_sfc(_sfc_main$1N, [["r
|
|
|
8489
8486
|
default: "en-gb"
|
|
8490
8487
|
}
|
|
8491
8488
|
}
|
|
8492
|
-
}, _hoisted_1$
|
|
8489
|
+
}, _hoisted_1$1m = {
|
|
8493
8490
|
class: "vs-carbon-calculator-running-total",
|
|
8494
8491
|
"data-test": "vs-carbon-calculator-running-total"
|
|
8495
|
-
}, _hoisted_2$Z = { class: "vs-carbon-calculator-running-total__icon" }, _hoisted_3$O = { class: "vs-carbon-calculator-running-total__content" }, _hoisted_4$
|
|
8492
|
+
}, _hoisted_2$Z = { class: "vs-carbon-calculator-running-total__icon" }, _hoisted_3$O = { class: "vs-carbon-calculator-running-total__content" }, _hoisted_4$B = { class: "vs-carbon-calculator-running-total__value" };
|
|
8496
8493
|
function _sfc_render$1A(e, n, t, a, r, s) {
|
|
8497
8494
|
const o = resolveComponent("VsIcon");
|
|
8498
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
8495
|
+
return openBlock(), createElementBlock("div", _hoisted_1$1m, [
|
|
8499
8496
|
createElementVNode("div", _hoisted_2$Z, [
|
|
8500
8497
|
createVNode(o, {
|
|
8501
8498
|
icon: "fa-regular fa-pen-field",
|
|
@@ -8505,7 +8502,7 @@ function _sfc_render$1A(e, n, t, a, r, s) {
|
|
|
8505
8502
|
createElementVNode("div", _hoisted_3$O, [
|
|
8506
8503
|
createElementVNode("p", null, toDisplayString(s.labelsMap.soFar), 1),
|
|
8507
8504
|
createElementVNode("p", null, [
|
|
8508
|
-
createElementVNode("span", _hoisted_4$
|
|
8505
|
+
createElementVNode("span", _hoisted_4$B, toDisplayString(t.totalKilos.toLocaleString(t.language, { minimumFractionDigits: 3 })), 1),
|
|
8509
8506
|
createTextVNode(" " + toDisplayString(s.labelsMap.kgsOf), 1)
|
|
8510
8507
|
])
|
|
8511
8508
|
])
|
|
@@ -8519,13 +8516,13 @@ const VsCarbonCalculatorRunningTotal = /* @__PURE__ */ _export_sfc(_sfc_main$1M,
|
|
|
8519
8516
|
VsHeading
|
|
8520
8517
|
},
|
|
8521
8518
|
inject: ["labelsMap"]
|
|
8522
|
-
}, _hoisted_1$
|
|
8519
|
+
}, _hoisted_1$1l = {
|
|
8523
8520
|
class: "vs-carbon-calculator-intro",
|
|
8524
8521
|
"data-test": "vs-carbon-calculator-intro"
|
|
8525
8522
|
};
|
|
8526
8523
|
function _sfc_render$1z(e, n, t, a, r, s) {
|
|
8527
8524
|
const o = resolveComponent("VsHeading");
|
|
8528
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
8525
|
+
return openBlock(), createElementBlock("div", _hoisted_1$1l, [
|
|
8529
8526
|
createVNode(o, {
|
|
8530
8527
|
level: "2",
|
|
8531
8528
|
"heading-style": "heading-l"
|
|
@@ -8847,18 +8844,18 @@ function setValidations(e) {
|
|
|
8847
8844
|
return a ? M ? unref(M[a]) : void 0 : M;
|
|
8848
8845
|
}), k = createValidationResults(d, _, a, o, u, g, l, b, t), C = collectNestedValidationResults(f, _, u, o, g, l, b), S = {};
|
|
8849
8846
|
p && Object.entries(p).forEach((M) => {
|
|
8850
|
-
let [q,
|
|
8847
|
+
let [q, J] = M;
|
|
8851
8848
|
S[q] = {
|
|
8852
|
-
$invalid: gatherBooleanGroupProperties(
|
|
8853
|
-
$error: gatherBooleanGroupProperties(
|
|
8854
|
-
$pending: gatherBooleanGroupProperties(
|
|
8855
|
-
$errors: gatherArrayGroupProperties(
|
|
8856
|
-
$silentErrors: gatherArrayGroupProperties(
|
|
8849
|
+
$invalid: gatherBooleanGroupProperties(J, C, "$invalid"),
|
|
8850
|
+
$error: gatherBooleanGroupProperties(J, C, "$error"),
|
|
8851
|
+
$pending: gatherBooleanGroupProperties(J, C, "$pending"),
|
|
8852
|
+
$errors: gatherArrayGroupProperties(J, C, "$errors"),
|
|
8853
|
+
$silentErrors: gatherArrayGroupProperties(J, C, "$silentErrors")
|
|
8857
8854
|
};
|
|
8858
8855
|
});
|
|
8859
8856
|
const {
|
|
8860
8857
|
$dirty: V,
|
|
8861
|
-
$errors:
|
|
8858
|
+
$errors: L,
|
|
8862
8859
|
$invalid: N,
|
|
8863
8860
|
$anyDirty: A,
|
|
8864
8861
|
$error: R,
|
|
@@ -8871,8 +8868,8 @@ function setValidations(e) {
|
|
|
8871
8868
|
get: () => unref(_),
|
|
8872
8869
|
set: (M) => {
|
|
8873
8870
|
V.value = !0;
|
|
8874
|
-
const q = unref(t),
|
|
8875
|
-
|
|
8871
|
+
const q = unref(t), J = unref(c);
|
|
8872
|
+
J && (J[a] = v[a]), isRef(q[a]) ? q[a].value = M : q[a] = M;
|
|
8876
8873
|
}
|
|
8877
8874
|
}) : null;
|
|
8878
8875
|
a && g.$autoDirty && watch(_, () => {
|
|
@@ -8902,7 +8899,7 @@ function setValidations(e) {
|
|
|
8902
8899
|
$model: Q,
|
|
8903
8900
|
$dirty: V,
|
|
8904
8901
|
$error: R,
|
|
8905
|
-
$errors:
|
|
8902
|
+
$errors: L,
|
|
8906
8903
|
$invalid: N,
|
|
8907
8904
|
$anyDirty: A,
|
|
8908
8905
|
$pending: O,
|
|
@@ -9127,17 +9124,17 @@ function forEach(e) {
|
|
|
9127
9124
|
const C = unwrapNormalizedValidator(b).call(this, f, o, i, ...a), S = unwrapValidatorResponse(C);
|
|
9128
9125
|
if (g.$data[v] = C, g.$data.$invalid = !S || !!g.$data.$invalid, g.$data.$error = g.$data.$invalid, !S) {
|
|
9129
9126
|
let V = b.$message || "";
|
|
9130
|
-
const
|
|
9127
|
+
const L = b.$params || {};
|
|
9131
9128
|
typeof V == "function" && (V = V({
|
|
9132
9129
|
$pending: !1,
|
|
9133
9130
|
$invalid: !S,
|
|
9134
|
-
$params:
|
|
9131
|
+
$params: L,
|
|
9135
9132
|
$model: f,
|
|
9136
9133
|
$response: C
|
|
9137
9134
|
})), g.$errors.push({
|
|
9138
9135
|
$property: d,
|
|
9139
9136
|
$message: V,
|
|
9140
|
-
$params:
|
|
9137
|
+
$params: L,
|
|
9141
9138
|
$response: C,
|
|
9142
9139
|
$model: f,
|
|
9143
9140
|
$pending: !1,
|
|
@@ -9558,13 +9555,13 @@ const postcode = common$1.regex(/^([A-Za-z][A-HJ-Ya-hj-y]?\d[A-Za-z\d]? ?\d[A-Za
|
|
|
9558
9555
|
validations() {
|
|
9559
9556
|
return this.rules;
|
|
9560
9557
|
}
|
|
9561
|
-
}, _hoisted_1$
|
|
9558
|
+
}, _hoisted_1$1k = {
|
|
9562
9559
|
class: "vs-radio-button",
|
|
9563
9560
|
"data-test": "vs-radio-button"
|
|
9564
|
-
}, _hoisted_2$Y = ["id"], _hoisted_3$N = { class: "visually-hidden" }, _hoisted_4$
|
|
9561
|
+
}, _hoisted_2$Y = ["id"], _hoisted_3$N = { class: "visually-hidden" }, _hoisted_4$A = ["id"];
|
|
9565
9562
|
function _sfc_render$1y(e, n, t, a, r, s) {
|
|
9566
9563
|
const o = resolveComponent("BFormRadio"), i = resolveComponent("BFormRadioGroup");
|
|
9567
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
9564
|
+
return openBlock(), createElementBlock("div", _hoisted_1$1k, [
|
|
9568
9565
|
e.errorsList.length || t.invalid ? (openBlock(), createElementBlock("div", {
|
|
9569
9566
|
key: 0,
|
|
9570
9567
|
role: "alert",
|
|
@@ -9622,7 +9619,7 @@ function _sfc_render$1y(e, n, t, a, r, s) {
|
|
|
9622
9619
|
key: 1,
|
|
9623
9620
|
class: "hint-text",
|
|
9624
9621
|
id: `hint-${t.fieldName}`
|
|
9625
|
-
}, toDisplayString(t.hintText), 9, _hoisted_4$
|
|
9622
|
+
}, toDisplayString(t.hintText), 9, _hoisted_4$A)) : createCommentVNode("", !0)
|
|
9626
9623
|
]);
|
|
9627
9624
|
}
|
|
9628
9625
|
const VsRadioButton = /* @__PURE__ */ _export_sfc(_sfc_main$1K, [["render", _sfc_render$1y]]), _sfc_main$1J = {
|
|
@@ -9846,10 +9843,10 @@ const VsRadioButton = /* @__PURE__ */ _export_sfc(_sfc_main$1K, [["render", _sfc
|
|
|
9846
9843
|
validations() {
|
|
9847
9844
|
return this.rules;
|
|
9848
9845
|
}
|
|
9849
|
-
}, _hoisted_1$
|
|
9846
|
+
}, _hoisted_1$1j = { "data-test": "vs-number-input" }, _hoisted_2$X = ["id"], _hoisted_3$M = ["id"], _hoisted_4$z = { class: "visually-hidden" }, _hoisted_5$o = { class: "visually-hidden" };
|
|
9850
9847
|
function _sfc_render$1x(e, n, t, a, r, s) {
|
|
9851
9848
|
const o = resolveComponent("VsButton"), i = resolveComponent("BFormInput");
|
|
9852
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
9849
|
+
return openBlock(), createElementBlock("div", _hoisted_1$1j, [
|
|
9853
9850
|
t.hintText ? (openBlock(), createElementBlock("p", {
|
|
9854
9851
|
key: 0,
|
|
9855
9852
|
class: "hint-text",
|
|
@@ -9865,7 +9862,7 @@ function _sfc_render$1x(e, n, t, a, r, s) {
|
|
|
9865
9862
|
key: l,
|
|
9866
9863
|
class: "error mb-0"
|
|
9867
9864
|
}, [
|
|
9868
|
-
createElementVNode("span", _hoisted_4$
|
|
9865
|
+
createElementVNode("span", _hoisted_4$z, toDisplayString(t.fieldName), 1),
|
|
9869
9866
|
createTextVNode(" " + toDisplayString(t.validationMessages[l] || t.genericValidation[l]), 1)
|
|
9870
9867
|
])), [
|
|
9871
9868
|
[vShow, !t.reAlertErrors && !r.clearErrorsOnFocus]
|
|
@@ -10027,7 +10024,7 @@ const VsNumberInput = /* @__PURE__ */ _export_sfc(_sfc_main$1J, [["render", _sfc
|
|
|
10027
10024
|
this.$emit("updateFieldData", e);
|
|
10028
10025
|
}
|
|
10029
10026
|
}
|
|
10030
|
-
}, _hoisted_1$
|
|
10027
|
+
}, _hoisted_1$1i = ["for"];
|
|
10031
10028
|
function _sfc_render$1w(e, n, t, a, r, s) {
|
|
10032
10029
|
const o = resolveComponent("VsRadioButton"), i = resolveComponent("VsNumberInput"), l = resolveComponent("BFormGroup");
|
|
10033
10030
|
return openBlock(), createBlock(l, {
|
|
@@ -10041,7 +10038,7 @@ function _sfc_render$1w(e, n, t, a, r, s) {
|
|
|
10041
10038
|
createElementVNode("label", {
|
|
10042
10039
|
class: "vs-carbon-calculator-question__label mb-200",
|
|
10043
10040
|
for: t.fieldName
|
|
10044
|
-
}, toDisplayString(t.label), 9, _hoisted_1$
|
|
10041
|
+
}, toDisplayString(t.label), 9, _hoisted_1$1i),
|
|
10045
10042
|
t.fieldType === "radio" ? (openBlock(), createBlock(o, {
|
|
10046
10043
|
key: 0,
|
|
10047
10044
|
"field-name": t.fieldName,
|
|
@@ -10485,10 +10482,10 @@ const VsCarbonCalculatorQuestion = /* @__PURE__ */ _export_sfc(_sfc_main$1I, [["
|
|
|
10485
10482
|
this.repeatableStages[this.activeStage].generations = n;
|
|
10486
10483
|
}
|
|
10487
10484
|
}
|
|
10488
|
-
}, _hoisted_1$
|
|
10485
|
+
}, _hoisted_1$1h = { class: "vs-carbon-calculator__wrapper" }, _hoisted_2$W = { key: 1 };
|
|
10489
10486
|
function _sfc_render$1v(e, n, t, a, r, s) {
|
|
10490
10487
|
const o = resolveComponent("VsCarbonCalculatorIntro"), i = resolveComponent("VsProgressBar"), l = resolveComponent("VsHeading"), c = resolveComponent("VsCarbonCalculatorQuestion"), u = resolveComponent("VsButton"), d = resolveComponent("VsCarbonCalculatorTip"), f = resolveComponent("VsCol"), m = resolveComponent("VsCarbonCalculatorRunningTotal"), p = resolveComponent("VsCarbonCalculatorResults"), g = resolveComponent("VsRow"), _ = resolveComponent("VsContainer"), v = resolveComponent("VsWarning");
|
|
10491
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
10488
|
+
return openBlock(), createElementBlock("div", _hoisted_1$1h, [
|
|
10492
10489
|
createVNode(_, {
|
|
10493
10490
|
class: "vs-carbon-calculator",
|
|
10494
10491
|
"data-test": "vs-carbon-calculator"
|
|
@@ -10738,7 +10735,7 @@ const CarbonCalculator = /* @__PURE__ */ _export_sfc(_sfc_main$1H, [["render", _
|
|
|
10738
10735
|
} : null;
|
|
10739
10736
|
}
|
|
10740
10737
|
}
|
|
10741
|
-
}, _hoisted_1$
|
|
10738
|
+
}, _hoisted_1$1g = {
|
|
10742
10739
|
key: 0,
|
|
10743
10740
|
class: "vs-card__header"
|
|
10744
10741
|
}, _hoisted_2$V = {
|
|
@@ -10754,7 +10751,7 @@ function _sfc_render$1u(e, n, t, a, r, s) {
|
|
|
10754
10751
|
"data-test": "vs-card",
|
|
10755
10752
|
style: normalizeStyle(s.cardStyles)
|
|
10756
10753
|
}, [
|
|
10757
|
-
e.$slots["vs-card-header"] && e.$slots["vs-card-header"]() ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
10754
|
+
e.$slots["vs-card-header"] && e.$slots["vs-card-header"]() ? (openBlock(), createElementBlock("div", _hoisted_1$1g, [
|
|
10758
10755
|
renderSlot(e.$slots, "vs-card-header")
|
|
10759
10756
|
])) : createCommentVNode("", !0),
|
|
10760
10757
|
e.$slots["vs-card-body"] && e.$slots["vs-card-body"]() ? (openBlock(), createElementBlock("div", _hoisted_2$V, [
|
|
@@ -10765,7 +10762,61 @@ function _sfc_render$1u(e, n, t, a, r, s) {
|
|
|
10765
10762
|
])) : createCommentVNode("", !0)
|
|
10766
10763
|
], 6);
|
|
10767
10764
|
}
|
|
10768
|
-
const Card = /* @__PURE__ */ _export_sfc(_sfc_main$1G, [["render", _sfc_render$1u]]),
|
|
10765
|
+
const Card = /* @__PURE__ */ _export_sfc(_sfc_main$1G, [["render", _sfc_render$1u]]), _sfc_main$1F = {
|
|
10766
|
+
name: "VsCardGroup",
|
|
10767
|
+
status: "prototype",
|
|
10768
|
+
release: "0.1.0",
|
|
10769
|
+
props: {
|
|
10770
|
+
/**
|
|
10771
|
+
* the layout of the card group
|
|
10772
|
+
* `grid`
|
|
10773
|
+
*/
|
|
10774
|
+
variant: {
|
|
10775
|
+
type: String,
|
|
10776
|
+
default: "grid",
|
|
10777
|
+
validator: (e) => e.match(/(grid)/)
|
|
10778
|
+
},
|
|
10779
|
+
/**
|
|
10780
|
+
* specifies the number of cards per row
|
|
10781
|
+
* `3` or `4`
|
|
10782
|
+
*/
|
|
10783
|
+
cardsPerRow: {
|
|
10784
|
+
type: Number,
|
|
10785
|
+
default: 3,
|
|
10786
|
+
validator: (e) => [3, 4].includes(e)
|
|
10787
|
+
},
|
|
10788
|
+
/**
|
|
10789
|
+
* sets the card group to scroll snap
|
|
10790
|
+
*/
|
|
10791
|
+
scrollSnap: {
|
|
10792
|
+
type: Boolean,
|
|
10793
|
+
default: !1
|
|
10794
|
+
}
|
|
10795
|
+
},
|
|
10796
|
+
computed: {
|
|
10797
|
+
cardGroupClasses() {
|
|
10798
|
+
return [
|
|
10799
|
+
"vs-card-group",
|
|
10800
|
+
{
|
|
10801
|
+
"is-scroll-snap": this.scrollSnap,
|
|
10802
|
+
"is-grid": this.variant === "grid"
|
|
10803
|
+
}
|
|
10804
|
+
];
|
|
10805
|
+
}
|
|
10806
|
+
}
|
|
10807
|
+
};
|
|
10808
|
+
function _sfc_render$1t(e, n, t, a, r, s) {
|
|
10809
|
+
return openBlock(), createElementBlock("div", {
|
|
10810
|
+
class: normalizeClass(s.cardGroupClasses),
|
|
10811
|
+
style: normalizeStyle({
|
|
10812
|
+
"--cards-in-row": t.cardsPerRow
|
|
10813
|
+
}),
|
|
10814
|
+
"data-test": "vs-card-group"
|
|
10815
|
+
}, [
|
|
10816
|
+
renderSlot(e.$slots, "default")
|
|
10817
|
+
], 6);
|
|
10818
|
+
}
|
|
10819
|
+
const CardGroup = /* @__PURE__ */ _export_sfc(_sfc_main$1F, [["render", _sfc_render$1t]]), noJsClass = "no-js", jsIsDisabled = () => document.getElementsByClassName(noJsClass).length > 0, useVideoStore = defineStore("video", {
|
|
10769
10820
|
state: () => ({
|
|
10770
10821
|
videos: {}
|
|
10771
10822
|
}),
|
|
@@ -10776,58 +10827,54 @@ const Card = /* @__PURE__ */ _export_sfc(_sfc_main$1G, [["render", _sfc_render$1
|
|
|
10776
10827
|
};
|
|
10777
10828
|
}
|
|
10778
10829
|
}
|
|
10779
|
-
}), useCookiesStore = defineStore("cookies", () => {
|
|
10780
|
-
const e = ref([]), n = ref(!1);
|
|
10781
|
-
function t(r) {
|
|
10782
|
-
e.value = [], r.forEach((s) => {
|
|
10783
|
-
e.value.push(s);
|
|
10784
|
-
});
|
|
10785
|
-
}
|
|
10786
|
-
function a(r) {
|
|
10787
|
-
n.value = r;
|
|
10788
|
-
}
|
|
10789
|
-
return {
|
|
10790
|
-
allowedCookies: e,
|
|
10791
|
-
cookiesTestRun: n,
|
|
10792
|
-
setCookieArray: t,
|
|
10793
|
-
setTestRun: a
|
|
10794
|
-
};
|
|
10795
10830
|
}), cookieCheckerMixin = {
|
|
10796
10831
|
data() {
|
|
10797
10832
|
return {
|
|
10798
|
-
|
|
10833
|
+
requiredCookies: [],
|
|
10834
|
+
requiredCookiesAllowed: !1,
|
|
10835
|
+
cookieManagerLoaded: !1
|
|
10799
10836
|
};
|
|
10800
10837
|
},
|
|
10801
|
-
|
|
10802
|
-
|
|
10803
|
-
|
|
10804
|
-
return e.allowedCookies;
|
|
10805
|
-
}
|
|
10806
|
-
}),
|
|
10807
|
-
onetrustActiveGroups() {
|
|
10808
|
-
return typeof window < "u" ? window.OnetrustActiveGroups : null;
|
|
10838
|
+
methods: {
|
|
10839
|
+
managerLoaded() {
|
|
10840
|
+
this.cookieManagerLoaded = !0;
|
|
10809
10841
|
},
|
|
10810
|
-
|
|
10811
|
-
|
|
10812
|
-
|
|
10813
|
-
|
|
10814
|
-
|
|
10815
|
-
|
|
10816
|
-
|
|
10842
|
+
cookiesUpdated() {
|
|
10843
|
+
const e = this.requiredCookies.every(
|
|
10844
|
+
(n) => CookieControl && CookieControl.getCategoryConsent(n) !== !1
|
|
10845
|
+
);
|
|
10846
|
+
this.requiredCookiesAllowed = e;
|
|
10847
|
+
}
|
|
10848
|
+
},
|
|
10849
|
+
computed: {
|
|
10850
|
+
cookiesAllowed() {
|
|
10851
|
+
return typeof window < "u" && window.bypassCookiesRequired ? !0 : this.requiredCookiesAllowed;
|
|
10817
10852
|
},
|
|
10818
|
-
|
|
10819
|
-
return typeof window < "u" && window.
|
|
10853
|
+
cookiesLoaded() {
|
|
10854
|
+
return typeof window < "u" && window.bypassCookiesLoaded ? !0 : this.cookieManagerLoaded;
|
|
10820
10855
|
}
|
|
10821
10856
|
},
|
|
10822
10857
|
mounted() {
|
|
10823
|
-
|
|
10824
|
-
|
|
10825
|
-
|
|
10858
|
+
if (!window.dataLayerExtended && window.dataLayer) {
|
|
10859
|
+
const e = window.dataLayer.push;
|
|
10860
|
+
window.dataLayer.push = (n) => {
|
|
10861
|
+
e.apply(this, n), n && n.event === "cookie_permission_loaded" && setTimeout(() => {
|
|
10862
|
+
window.dispatchEvent("cookieManagerLoaded");
|
|
10863
|
+
}), n && n.event === "cookie_permission_changed" && setTimeout(() => {
|
|
10864
|
+
window.dispatchEvent("cookiesUpdated");
|
|
10865
|
+
});
|
|
10866
|
+
}, window.dataLayerExtended = !0;
|
|
10867
|
+
}
|
|
10868
|
+
window.addEventListener("cookieManagerLoaded", () => {
|
|
10869
|
+
this.managerLoaded();
|
|
10870
|
+
}), window.addEventListener("cookiesUpdated", () => {
|
|
10871
|
+
this.cookiesUpdated();
|
|
10872
|
+
});
|
|
10826
10873
|
}
|
|
10827
10874
|
}, cookieValues$5 = {
|
|
10828
|
-
youtube: [
|
|
10829
|
-
embed: [
|
|
10830
|
-
}, cookieValues$4 = cookieValues$5.youtube, _sfc_main$
|
|
10875
|
+
youtube: [0],
|
|
10876
|
+
embed: [0, 1]
|
|
10877
|
+
}, cookieValues$4 = cookieValues$5.youtube, _sfc_main$1E = {
|
|
10831
10878
|
name: "VsStretchedLinkCard",
|
|
10832
10879
|
status: "prototype",
|
|
10833
10880
|
release: "0.0.1",
|
|
@@ -11002,13 +11049,13 @@ const Card = /* @__PURE__ */ _export_sfc(_sfc_main$1G, [["render", _sfc_render$1
|
|
|
11002
11049
|
// Calculates if warning is showing and gives class for appropriate styles
|
|
11003
11050
|
warningClass() {
|
|
11004
11051
|
let e = "";
|
|
11005
|
-
return this.videoId && (this.jsDisabled || !this.
|
|
11052
|
+
return this.videoId && (this.jsDisabled || !this.cookiesAllowed) && (e = "vs-stretched-link-card__img-container--warning ", this.errorType === "full" && (this.cookiesLoaded || this.jsDisabled) && (e += "vs-stretched-link-card__img-container--warning-full")), e;
|
|
11006
11053
|
},
|
|
11007
11054
|
showCookieWarning() {
|
|
11008
|
-
return !!(this.videoId && !this.jsDisabled && !this.
|
|
11055
|
+
return !!(this.videoId && !this.jsDisabled && !this.cookiesAllowed && this.cookiesLoaded);
|
|
11009
11056
|
},
|
|
11010
11057
|
showError() {
|
|
11011
|
-
return !!(this.videoId && this.errorMessage !== "" && this.
|
|
11058
|
+
return !!(this.videoId && this.errorMessage !== "" && !this.cookiesLoaded);
|
|
11012
11059
|
},
|
|
11013
11060
|
showWarning() {
|
|
11014
11061
|
return this.showError || this.showCookieWarning ? this.errorType : !!this.jsDisabled;
|
|
@@ -11019,7 +11066,7 @@ const Card = /* @__PURE__ */ _export_sfc(_sfc_main$1G, [["render", _sfc_render$1
|
|
|
11019
11066
|
},
|
|
11020
11067
|
warningAttrs() {
|
|
11021
11068
|
const e = {};
|
|
11022
|
-
return this.type === "cookie" && (e.class = "
|
|
11069
|
+
return this.type === "cookie" && (e.class = "vs-warning__cookie-trigger"), this.size === "small" && (e.size = "sm"), e;
|
|
11023
11070
|
},
|
|
11024
11071
|
isSvg() {
|
|
11025
11072
|
return !!(this.imgSrc && this.imgSrc.includes(".svg"));
|
|
@@ -11030,10 +11077,10 @@ const Card = /* @__PURE__ */ _export_sfc(_sfc_main$1G, [["render", _sfc_render$1
|
|
|
11030
11077
|
},
|
|
11031
11078
|
methods: {
|
|
11032
11079
|
emitShowModal() {
|
|
11033
|
-
!this.videoId || !this.
|
|
11080
|
+
!this.videoId || !this.cookiesAllowed || this.emitter && this.emitter.emit("showModal", this.videoId, "#videoShow");
|
|
11034
11081
|
}
|
|
11035
11082
|
}
|
|
11036
|
-
}, _hoisted_1$
|
|
11083
|
+
}, _hoisted_1$1f = {
|
|
11037
11084
|
key: 0,
|
|
11038
11085
|
class: "vs-stretched-link-card__video-btn-text"
|
|
11039
11086
|
}, _hoisted_2$U = {
|
|
@@ -11043,7 +11090,7 @@ const Card = /* @__PURE__ */ _export_sfc(_sfc_main$1G, [["render", _sfc_render$1
|
|
|
11043
11090
|
key: 0,
|
|
11044
11091
|
class: "vs-stretched-link-card__category",
|
|
11045
11092
|
"data-test": "vs-stretched-link-card__category"
|
|
11046
|
-
}, _hoisted_4$
|
|
11093
|
+
}, _hoisted_4$y = {
|
|
11047
11094
|
class: "vs-stretched-link-card__content",
|
|
11048
11095
|
"data-test": "vs-stretched-link-card__content"
|
|
11049
11096
|
}, _hoisted_5$n = {
|
|
@@ -11051,7 +11098,7 @@ const Card = /* @__PURE__ */ _export_sfc(_sfc_main$1G, [["render", _sfc_render$1
|
|
|
11051
11098
|
class: "vs-stretched-link-card__badges",
|
|
11052
11099
|
"data-test": "vs-stretched-link-card__badges"
|
|
11053
11100
|
};
|
|
11054
|
-
function _sfc_render$
|
|
11101
|
+
function _sfc_render$1s(e, n, t, a, r, s) {
|
|
11055
11102
|
const o = resolveComponent("VsWarning"), i = resolveComponent("VsImg"), l = resolveComponent("VsButton"), c = resolveComponent("VsLink"), u = resolveComponent("VsHeading");
|
|
11056
11103
|
return openBlock(), createElementBlock("div", {
|
|
11057
11104
|
class: normalizeClass(["card vs-stretched-link-card", s.stretchedLinkCardClasses]),
|
|
@@ -11102,7 +11149,7 @@ function _sfc_render$1t(e, n, t, a, r, s) {
|
|
|
11102
11149
|
"data-test": "vs-stretched-link-card__img",
|
|
11103
11150
|
"data-chromatic": "ignore"
|
|
11104
11151
|
}, null, 8, ["src", "alt", "class"]),
|
|
11105
|
-
t.videoId && s.videoLoaded && e.
|
|
11152
|
+
t.videoId && s.videoLoaded && e.cookiesAllowed ? (openBlock(), createBlock(l, {
|
|
11106
11153
|
key: 0,
|
|
11107
11154
|
class: "vs-stretched-link-card__video-button",
|
|
11108
11155
|
"data-test": "vs-stretched-link-card__video-button",
|
|
@@ -11114,7 +11161,7 @@ function _sfc_render$1t(e, n, t, a, r, s) {
|
|
|
11114
11161
|
onClick: s.emitShowModal
|
|
11115
11162
|
}, {
|
|
11116
11163
|
default: withCtx(() => [
|
|
11117
|
-
t.videoBtnText ? (openBlock(), createElementBlock("span", _hoisted_1$
|
|
11164
|
+
t.videoBtnText ? (openBlock(), createElementBlock("span", _hoisted_1$1f, toDisplayString(s.formattedVideoBtnText), 1)) : createCommentVNode("", !0),
|
|
11118
11165
|
createTextVNode(" " + toDisplayString(s.formattedVideoDuration), 1)
|
|
11119
11166
|
]),
|
|
11120
11167
|
_: 1
|
|
@@ -11183,7 +11230,7 @@ function _sfc_render$1t(e, n, t, a, r, s) {
|
|
|
11183
11230
|
]),
|
|
11184
11231
|
_: 3
|
|
11185
11232
|
}, 8, ["level", "heading-style"])) : createCommentVNode("", !0),
|
|
11186
|
-
createElementVNode("div", _hoisted_4$
|
|
11233
|
+
createElementVNode("div", _hoisted_4$y, [
|
|
11187
11234
|
renderSlot(e.$slots, "stretched-card-content")
|
|
11188
11235
|
]),
|
|
11189
11236
|
e.$slots["stretched-card-badges"] && e.$slots["stretched-card-badges"]() ? (openBlock(), createElementBlock("div", _hoisted_5$n, [
|
|
@@ -11203,7 +11250,7 @@ function _sfc_render$1t(e, n, t, a, r, s) {
|
|
|
11203
11250
|
])) : createCommentVNode("", !0)
|
|
11204
11251
|
], 34);
|
|
11205
11252
|
}
|
|
11206
|
-
const VsStretchedLinkCard = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
11253
|
+
const VsStretchedLinkCard = /* @__PURE__ */ _export_sfc(_sfc_main$1E, [["render", _sfc_render$1s]]), _sfc_main$1D = {
|
|
11207
11254
|
name: "VsStretchedLinkPanels",
|
|
11208
11255
|
status: "prototype",
|
|
11209
11256
|
release: "0.0.1",
|
|
@@ -11241,19 +11288,19 @@ const VsStretchedLinkCard = /* @__PURE__ */ _export_sfc(_sfc_main$1F, [["render"
|
|
|
11241
11288
|
default: ""
|
|
11242
11289
|
}
|
|
11243
11290
|
}
|
|
11244
|
-
}, _hoisted_1$
|
|
11291
|
+
}, _hoisted_1$1e = { class: "vs-stretched-link-panels" }, _hoisted_2$T = {
|
|
11245
11292
|
class: "vs-stretched-link-panels__panel vs-stretched-link-panels__panel--days",
|
|
11246
11293
|
"data-test": "vs-stretched-link-panel--days"
|
|
11247
|
-
}, _hoisted_3$J = { "data-test": "" }, _hoisted_4$
|
|
11294
|
+
}, _hoisted_3$J = { "data-test": "" }, _hoisted_4$x = { class: "vs-stretched-link-panels__days" }, _hoisted_5$m = {
|
|
11248
11295
|
class: "vs-stretched-link-panels__panel",
|
|
11249
11296
|
"data-test": "vs-stretched-link-panel"
|
|
11250
11297
|
}, _hoisted_6$f = { "data-test": "vs-stretched-link-panel__icon" };
|
|
11251
|
-
function _sfc_render$
|
|
11298
|
+
function _sfc_render$1r(e, n, t, a, r, s) {
|
|
11252
11299
|
const o = resolveComponent("VsIcon");
|
|
11253
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
11300
|
+
return openBlock(), createElementBlock("div", _hoisted_1$1e, [
|
|
11254
11301
|
createElementVNode("div", _hoisted_2$T, [
|
|
11255
11302
|
createElementVNode("p", _hoisted_3$J, [
|
|
11256
|
-
createElementVNode("span", _hoisted_4$
|
|
11303
|
+
createElementVNode("span", _hoisted_4$x, toDisplayString(t.days), 1),
|
|
11257
11304
|
createTextVNode(toDisplayString(t.daysLabel), 1)
|
|
11258
11305
|
])
|
|
11259
11306
|
]),
|
|
@@ -11268,7 +11315,7 @@ function _sfc_render$1s(e, n, t, a, r, s) {
|
|
|
11268
11315
|
])
|
|
11269
11316
|
]);
|
|
11270
11317
|
}
|
|
11271
|
-
const VsStretchedLinkPanels = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
11318
|
+
const VsStretchedLinkPanels = /* @__PURE__ */ _export_sfc(_sfc_main$1D, [["render", _sfc_render$1r]]), _sfc_main$1C = {
|
|
11272
11319
|
name: "VsCarouselSlide",
|
|
11273
11320
|
status: "prototype",
|
|
11274
11321
|
release: "0.0.1",
|
|
@@ -11367,11 +11414,11 @@ const VsStretchedLinkPanels = /* @__PURE__ */ _export_sfc(_sfc_main$1E, [["rende
|
|
|
11367
11414
|
return this.visibleSlides.indexOf(n) >= 0;
|
|
11368
11415
|
}
|
|
11369
11416
|
}
|
|
11370
|
-
}, _hoisted_1$
|
|
11417
|
+
}, _hoisted_1$1d = { class: "vs-carousel-slide" }, _hoisted_2$S = { class: "visually-hidden" }, _hoisted_3$I = {
|
|
11371
11418
|
class: "vs-carousel-slide__title",
|
|
11372
11419
|
"data-test": "vs-carousel-slide__title"
|
|
11373
11420
|
};
|
|
11374
|
-
function _sfc_render$
|
|
11421
|
+
function _sfc_render$1q(e, n, t, a, r, s) {
|
|
11375
11422
|
const o = resolveComponent("VsStretchedLinkPanels"), i = resolveComponent("VsStretchedLinkCard"), l = resolveComponent("VsCol");
|
|
11376
11423
|
return openBlock(), createBlock(l, {
|
|
11377
11424
|
cols: s.slideCols.xs,
|
|
@@ -11382,7 +11429,7 @@ function _sfc_render$1r(e, n, t, a, r, s) {
|
|
|
11382
11429
|
"aria-disabled": !s.isVisible(t.slideIndex)
|
|
11383
11430
|
}, {
|
|
11384
11431
|
default: withCtx(() => [
|
|
11385
|
-
createElementVNode("div", _hoisted_1$
|
|
11432
|
+
createElementVNode("div", _hoisted_1$1d, [
|
|
11386
11433
|
createVNode(i, {
|
|
11387
11434
|
link: t.linkUrl,
|
|
11388
11435
|
type: t.linkType,
|
|
@@ -11421,7 +11468,7 @@ function _sfc_render$1r(e, n, t, a, r, s) {
|
|
|
11421
11468
|
_: 3
|
|
11422
11469
|
}, 8, ["cols", "sm", "lg", "xl", "aria-disabled"]);
|
|
11423
11470
|
}
|
|
11424
|
-
const CarouselSlide = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
11471
|
+
const CarouselSlide = /* @__PURE__ */ _export_sfc(_sfc_main$1C, [["render", _sfc_render$1q]]), _sfc_main$1B = {
|
|
11425
11472
|
name: "VsCheckbox",
|
|
11426
11473
|
status: "prototype",
|
|
11427
11474
|
release: "0.0.1",
|
|
@@ -11566,8 +11613,8 @@ const CarouselSlide = /* @__PURE__ */ _export_sfc(_sfc_main$1D, [["render", _sfc
|
|
|
11566
11613
|
validations() {
|
|
11567
11614
|
return this.rules;
|
|
11568
11615
|
}
|
|
11569
|
-
}, _hoisted_1$
|
|
11570
|
-
function _sfc_render$
|
|
11616
|
+
}, _hoisted_1$1c = ["id"], _hoisted_2$R = ["innerHTML"], _hoisted_3$H = ["id"], _hoisted_4$w = { class: "visually-hidden" }, _hoisted_5$l = { class: "vs-checkbox__label" };
|
|
11617
|
+
function _sfc_render$1p(e, n, t, a, r, s) {
|
|
11571
11618
|
const o = resolveComponent("BFormCheckbox");
|
|
11572
11619
|
return openBlock(), createElementBlock("div", {
|
|
11573
11620
|
class: normalizeClass(s.checkBoxClasses)
|
|
@@ -11575,7 +11622,7 @@ function _sfc_render$1q(e, n, t, a, r, s) {
|
|
|
11575
11622
|
createElementVNode("p", {
|
|
11576
11623
|
class: "hint-text",
|
|
11577
11624
|
id: `hint-${t.fieldName}`
|
|
11578
|
-
}, toDisplayString(t.hintText), 9, _hoisted_1$
|
|
11625
|
+
}, toDisplayString(t.hintText), 9, _hoisted_1$1c),
|
|
11579
11626
|
t.infoText !== "" ? (openBlock(), createElementBlock("div", {
|
|
11580
11627
|
key: 0,
|
|
11581
11628
|
innerHTML: t.infoText
|
|
@@ -11590,7 +11637,7 @@ function _sfc_render$1q(e, n, t, a, r, s) {
|
|
|
11590
11637
|
key: i,
|
|
11591
11638
|
class: "error mb-0"
|
|
11592
11639
|
}, [
|
|
11593
|
-
createElementVNode("span", _hoisted_4$
|
|
11640
|
+
createElementVNode("span", _hoisted_4$w, toDisplayString(t.fieldName), 1),
|
|
11594
11641
|
createTextVNode(" " + toDisplayString(t.validationMessages[i] || t.genericValidation[i]), 1)
|
|
11595
11642
|
])), [
|
|
11596
11643
|
[vShow, !t.reAlertErrors]
|
|
@@ -11620,169 +11667,7 @@ function _sfc_render$1q(e, n, t, a, r, s) {
|
|
|
11620
11667
|
}, 16, ["modelValue", "name", "id", "value", "unchecked_value", "onBlur", "onChange", "required", "aria-invalid", "aria-describedby"])) : createCommentVNode("", !0)
|
|
11621
11668
|
], 2);
|
|
11622
11669
|
}
|
|
11623
|
-
const VsCheckbox = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
11624
|
-
function hashCode() {
|
|
11625
|
-
return Math.random().toString(36).substring(7);
|
|
11626
|
-
}
|
|
11627
|
-
class OneTrustVS {
|
|
11628
|
-
constructor() {
|
|
11629
|
-
/*
|
|
11630
|
-
* Initialize setup of the VS side of OneTrust integration
|
|
11631
|
-
* Listens for cookie related popups or instagram embeds
|
|
11632
|
-
* The config object sent to each listener is slightly different hence the different
|
|
11633
|
-
* eventlistener functions
|
|
11634
|
-
*/
|
|
11635
|
-
ce(this, "init", () => {
|
|
11636
|
-
window.NodeList && !NodeList.prototype.forEach && (NodeList.prototype.forEach = Array.prototype.forEach);
|
|
11637
|
-
});
|
|
11638
|
-
ce(this, "instaOT", (n, t, a, r, s = null) => {
|
|
11639
|
-
console.log("insta");
|
|
11640
|
-
let o = this;
|
|
11641
|
-
this.checkThirdPartyLibrary("OneTrust", () => {
|
|
11642
|
-
this.onetrustCookieCheck(n, (i) => {
|
|
11643
|
-
if (i)
|
|
11644
|
-
o.setIframeSrc();
|
|
11645
|
-
else if (r) {
|
|
11646
|
-
console.log("fallback", a), console.log("container", r);
|
|
11647
|
-
let l = Array.from(a.classList)[0], c;
|
|
11648
|
-
r.length > 1 ? r.forEach((u, d) => {
|
|
11649
|
-
c = r[d].querySelector(`.${l}`), c || o.showOneTrustFallback(n, t, a, r[d], s);
|
|
11650
|
-
}) : (c = r.querySelector(`.${l}`), c || o.showOneTrustFallback(n, t, a, r, s));
|
|
11651
|
-
}
|
|
11652
|
-
}), window.OneTrust.OnConsentChanged(function() {
|
|
11653
|
-
o.onetrustCookieCheck(n, (i) => {
|
|
11654
|
-
i && (window.OneTrustEventBus.dispatchEvent("otCategory-approved"), o.hideOneTrustFallback(n), o.setIframeSrc());
|
|
11655
|
-
});
|
|
11656
|
-
});
|
|
11657
|
-
});
|
|
11658
|
-
});
|
|
11659
|
-
ce(this, "showOneTrustFallback", (n, t, a, r, s = null) => {
|
|
11660
|
-
console.log("showfallback");
|
|
11661
|
-
let o = {
|
|
11662
|
-
visible: !1,
|
|
11663
|
-
fallback: a
|
|
11664
|
-
};
|
|
11665
|
-
if (o.visible)
|
|
11666
|
-
return !1;
|
|
11667
|
-
if (r.length > 1 && o.fallback)
|
|
11668
|
-
console.log("aqui"), r.forEach((i) => {
|
|
11669
|
-
let l = o.fallback.cloneNode(!0);
|
|
11670
|
-
l.id = hashCode(), i.insertAdjacentHTML("afterend", l.outerHTML);
|
|
11671
|
-
let c = document.getElementById(l.id);
|
|
11672
|
-
c.style.display = "block", o.visible = !0, l.classList.add(`vscookies-${n}`), this.fallbacks.push({
|
|
11673
|
-
id: c.id,
|
|
11674
|
-
cat: n,
|
|
11675
|
-
visible: !0
|
|
11676
|
-
}), this.setFBButtonListener(l);
|
|
11677
|
-
});
|
|
11678
|
-
else {
|
|
11679
|
-
console.log("aca");
|
|
11680
|
-
let i = o.fallback.cloneNode(!0);
|
|
11681
|
-
i.id = hashCode(), i.style.display = "block", i.classList.add(`vscookies-${n}`), s ? r.insertBefore(i, r.childNodes[s]) : r.appendChild(i), this.fallbacks.push({
|
|
11682
|
-
id: i.id,
|
|
11683
|
-
cat: n
|
|
11684
|
-
}), o.visible = !0, this.setFBButtonListener(i);
|
|
11685
|
-
}
|
|
11686
|
-
});
|
|
11687
|
-
/*
|
|
11688
|
-
* Return true or false to a match of consented cookie category
|
|
11689
|
-
* @param category {string} the category to look for e.g. C0003
|
|
11690
|
-
* @param callback {function} - callback function to run
|
|
11691
|
-
*/
|
|
11692
|
-
ce(this, "onetrustCookieCheck", (n, t) => {
|
|
11693
|
-
if (typeof window < "u")
|
|
11694
|
-
return t(window.OnetrustActiveGroups.includes(n));
|
|
11695
|
-
});
|
|
11696
|
-
/*
|
|
11697
|
-
* Hide specified fallback category
|
|
11698
|
-
* @param otCategory {string} the class a fallback is within
|
|
11699
|
-
*/
|
|
11700
|
-
ce(this, "hideOneTrustFallback", (n) => {
|
|
11701
|
-
this.fallbacks.map((a) => {
|
|
11702
|
-
if (a.cat === n && document.getElementById(a.id)) {
|
|
11703
|
-
document.getElementById(a.id).style.display = "none";
|
|
11704
|
-
return;
|
|
11705
|
-
}
|
|
11706
|
-
});
|
|
11707
|
-
const t = document.querySelectorAll(`.vscookies-${n}`);
|
|
11708
|
-
t.size > 0 && t.map((a) => {
|
|
11709
|
-
a.style.display = "none";
|
|
11710
|
-
});
|
|
11711
|
-
});
|
|
11712
|
-
/*
|
|
11713
|
-
* Check for the availability of the specified library
|
|
11714
|
-
* @param name {string} name - library to wait for
|
|
11715
|
-
* @param callback {function} - function to call if the library is loaded
|
|
11716
|
-
*/
|
|
11717
|
-
ce(this, "checkThirdPartyLibrary", (n, t) => {
|
|
11718
|
-
let a = 500, r = this;
|
|
11719
|
-
window.setTimeout(function() {
|
|
11720
|
-
window[n] ? t(window[n]) : r.checkThirdPartyLibrary(n, t);
|
|
11721
|
-
}, a);
|
|
11722
|
-
});
|
|
11723
|
-
ce(this, "setFBButtonListener", (n) => {
|
|
11724
|
-
n.querySelector("#ot-sdk-btn").addEventListener("click", function() {
|
|
11725
|
-
window.OneTrust.ToggleInfoDisplay();
|
|
11726
|
-
});
|
|
11727
|
-
});
|
|
11728
|
-
ce(this, "setIframeSrc", () => {
|
|
11729
|
-
let n = document.querySelectorAll('iframe[data-src]:not([data-src=""])');
|
|
11730
|
-
n && n.forEach((t) => {
|
|
11731
|
-
t.src = t.dataset.src, t.removeAttribute("data-src");
|
|
11732
|
-
});
|
|
11733
|
-
});
|
|
11734
|
-
this.fallbacks = [];
|
|
11735
|
-
}
|
|
11736
|
-
}
|
|
11737
|
-
let cookieStore = null;
|
|
11738
|
-
const _sfc_main$1B = {
|
|
11739
|
-
data() {
|
|
11740
|
-
return {
|
|
11741
|
-
oneTrust: new OneTrustVS(),
|
|
11742
|
-
activeGroups: ""
|
|
11743
|
-
};
|
|
11744
|
-
},
|
|
11745
|
-
watch: {
|
|
11746
|
-
activeGroups() {
|
|
11747
|
-
const n = this.activeGroups.split(",").filter((t) => t !== "");
|
|
11748
|
-
cookieStore && (cookieStore.setCookieArray(n), cookieStore.setTestRun(!0));
|
|
11749
|
-
}
|
|
11750
|
-
},
|
|
11751
|
-
mounted() {
|
|
11752
|
-
cookieStore = useCookiesStore();
|
|
11753
|
-
},
|
|
11754
|
-
created() {
|
|
11755
|
-
this.checkOneTrust(), this.checkActiveGroups();
|
|
11756
|
-
},
|
|
11757
|
-
methods: {
|
|
11758
|
-
/**
|
|
11759
|
-
* initialises listener to ensure accepted cookie values
|
|
11760
|
-
* are updated when OneTrust preferences are changed
|
|
11761
|
-
*/
|
|
11762
|
-
checkOneTrust() {
|
|
11763
|
-
typeof window < "u" && this.oneTrust.checkThirdPartyLibrary("OneTrust", () => {
|
|
11764
|
-
window.OneTrust.OnConsentChanged(() => {
|
|
11765
|
-
this.oneTrust.checkThirdPartyLibrary("OnetrustActiveGroups", () => {
|
|
11766
|
-
this.activeGroups = window.OnetrustActiveGroups;
|
|
11767
|
-
});
|
|
11768
|
-
});
|
|
11769
|
-
});
|
|
11770
|
-
},
|
|
11771
|
-
/**
|
|
11772
|
-
* checks cookies have been accepted via OneTrust and
|
|
11773
|
-
* adds them to activeGroups
|
|
11774
|
-
*/
|
|
11775
|
-
checkActiveGroups() {
|
|
11776
|
-
typeof window < "u" && this.oneTrust.checkThirdPartyLibrary("OnetrustActiveGroups", () => {
|
|
11777
|
-
this.activeGroups = window.OnetrustActiveGroups;
|
|
11778
|
-
});
|
|
11779
|
-
}
|
|
11780
|
-
}
|
|
11781
|
-
}, _hoisted_1$1c = { class: "d-none" };
|
|
11782
|
-
function _sfc_render$1p(e, n, t, a, r, s) {
|
|
11783
|
-
return openBlock(), createElementBlock("span", _hoisted_1$1c);
|
|
11784
|
-
}
|
|
11785
|
-
const CookieChecker = /* @__PURE__ */ _export_sfc(_sfc_main$1B, [["render", _sfc_render$1p]]), _sfc_main$1A = {
|
|
11670
|
+
const VsCheckbox = /* @__PURE__ */ _export_sfc(_sfc_main$1B, [["render", _sfc_render$1p]]), _sfc_main$1A = {
|
|
11786
11671
|
name: "VsDescriptionList",
|
|
11787
11672
|
status: "prototype",
|
|
11788
11673
|
release: "0.0.1",
|
|
@@ -11994,17 +11879,20 @@ const VsDropdownItem = /* @__PURE__ */ _export_sfc(_sfc_main$1x, [["render", _sf
|
|
|
11994
11879
|
},
|
|
11995
11880
|
computed: {
|
|
11996
11881
|
showError() {
|
|
11997
|
-
return this.noCookiesRequired ? !1 : !this.
|
|
11882
|
+
return this.noCookiesRequired ? !1 : !this.cookiesAllowed && this.cookiesLoaded === !0 || !this.cookiesLoaded;
|
|
11998
11883
|
},
|
|
11999
11884
|
warningText() {
|
|
12000
11885
|
let e = "";
|
|
12001
|
-
return this.
|
|
11886
|
+
return this.cookiesLoaded || (e = this.errorText), !this.cookiesAllowed && this.cookiesLoaded === !0 && (e = this.noCookieText), e;
|
|
12002
11887
|
}
|
|
12003
11888
|
}
|
|
12004
11889
|
}, _hoisted_1$1a = {
|
|
12005
11890
|
"data-test": "vs-embed-wrapper",
|
|
12006
11891
|
class: "vs-embed-wrapper"
|
|
12007
|
-
}, _hoisted_2$Q = {
|
|
11892
|
+
}, _hoisted_2$Q = {
|
|
11893
|
+
class: "vs-embed-wrapper__container",
|
|
11894
|
+
key: "embeddedContent"
|
|
11895
|
+
}, _hoisted_3$G = { key: "fallback" }, _hoisted_4$v = ["innerHTML"];
|
|
12008
11896
|
function _sfc_render$1k(e, n, t, a, r, s) {
|
|
12009
11897
|
const o = resolveComponent("VsBody"), i = resolveComponent("VsCol"), l = resolveComponent("VsWarning"), c = resolveComponent("VsRow"), u = resolveComponent("VsContainer");
|
|
12010
11898
|
return openBlock(), createElementBlock("div", _hoisted_1$1a, [
|
|
@@ -12035,15 +11923,12 @@ function _sfc_render$1k(e, n, t, a, r, s) {
|
|
|
12035
11923
|
}),
|
|
12036
11924
|
createVNode(i, { cols: "12" }, {
|
|
12037
11925
|
default: withCtx(() => [
|
|
12038
|
-
|
|
12039
|
-
class: normalizeClass(["vs-embed-wrapper__container", e.requiredCookiesExist || t.noCookiesRequired ? "" : "d-none"]),
|
|
12040
|
-
key: "embeddedContent"
|
|
12041
|
-
}, [
|
|
11926
|
+
e.cookiesAllowed || t.noCookiesRequired ? (openBlock(), createElementBlock("div", _hoisted_2$Q, [
|
|
12042
11927
|
renderSlot(e.$slots, "embed-widget")
|
|
12043
|
-
],
|
|
12044
|
-
s.showError ? (openBlock(), createElementBlock("div",
|
|
11928
|
+
])) : createCommentVNode("", !0),
|
|
11929
|
+
s.showError ? (openBlock(), createElementBlock("div", _hoisted_3$G, [
|
|
12045
11930
|
createVNode(l, {
|
|
12046
|
-
type: e.
|
|
11931
|
+
type: e.cookiesLoaded === !0 ? "cookie" : "normal",
|
|
12047
11932
|
class: "vs-embed-wrapper__error",
|
|
12048
11933
|
"data-test": "vs-embed-wrapper__error"
|
|
12049
11934
|
}, createSlots({
|
|
@@ -12055,11 +11940,11 @@ function _sfc_render$1k(e, n, t, a, r, s) {
|
|
|
12055
11940
|
t.extraContent ? {
|
|
12056
11941
|
name: "extra-content",
|
|
12057
11942
|
fn: withCtx(() => [
|
|
12058
|
-
createElementVNode("div", { innerHTML: t.extraContent }, null, 8,
|
|
11943
|
+
createElementVNode("div", { innerHTML: t.extraContent }, null, 8, _hoisted_4$v)
|
|
12059
11944
|
]),
|
|
12060
11945
|
key: "0"
|
|
12061
11946
|
} : void 0,
|
|
12062
|
-
!e.
|
|
11947
|
+
!e.cookiesAllowed && e.cookiesLoaded === !0 ? {
|
|
12063
11948
|
name: "button-text",
|
|
12064
11949
|
fn: withCtx(() => [
|
|
12065
11950
|
renderSlot(e.$slots, "embed-button-text")
|
|
@@ -13129,10 +13014,10 @@ function requireUtil$1() {
|
|
|
13129
13014
|
E.push(s(arguments[M]));
|
|
13130
13015
|
return E.join(" ");
|
|
13131
13016
|
}
|
|
13132
|
-
for (var M = 1, q = arguments,
|
|
13133
|
-
if (
|
|
13134
|
-
if (M >=
|
|
13135
|
-
switch (
|
|
13017
|
+
for (var M = 1, q = arguments, J = q.length, $ = String(w).replace(t, function(T) {
|
|
13018
|
+
if (T === "%%") return "%";
|
|
13019
|
+
if (M >= J) return T;
|
|
13020
|
+
switch (T) {
|
|
13136
13021
|
case "%s":
|
|
13137
13022
|
return String(q[M++]);
|
|
13138
13023
|
case "%d":
|
|
@@ -13144,9 +13029,9 @@ function requireUtil$1() {
|
|
|
13144
13029
|
return "[Circular]";
|
|
13145
13030
|
}
|
|
13146
13031
|
default:
|
|
13147
|
-
return
|
|
13032
|
+
return T;
|
|
13148
13033
|
}
|
|
13149
|
-
}), B = q[M]; M <
|
|
13034
|
+
}), B = q[M]; M < J; B = q[++M])
|
|
13150
13035
|
v(B) || !N(B) ? $ += " " + B : $ += " " + s(B);
|
|
13151
13036
|
return $;
|
|
13152
13037
|
}, e.deprecate = function(w, E) {
|
|
@@ -13233,18 +13118,18 @@ function requireUtil$1() {
|
|
|
13233
13118
|
var q = E.inspect(M, w);
|
|
13234
13119
|
return C(q) || (q = c(w, q, M)), q;
|
|
13235
13120
|
}
|
|
13236
|
-
var
|
|
13237
|
-
if (
|
|
13238
|
-
return
|
|
13121
|
+
var J = u(w, E);
|
|
13122
|
+
if (J)
|
|
13123
|
+
return J;
|
|
13239
13124
|
var $ = Object.keys(E), B = l($);
|
|
13240
13125
|
if (w.showHidden && ($ = Object.getOwnPropertyNames(E)), R(E) && ($.indexOf("message") >= 0 || $.indexOf("description") >= 0))
|
|
13241
13126
|
return d(E);
|
|
13242
13127
|
if ($.length === 0) {
|
|
13243
13128
|
if (O(E)) {
|
|
13244
|
-
var
|
|
13245
|
-
return w.stylize("[Function" +
|
|
13129
|
+
var T = E.name ? ": " + E.name : "";
|
|
13130
|
+
return w.stylize("[Function" + T + "]", "special");
|
|
13246
13131
|
}
|
|
13247
|
-
if (
|
|
13132
|
+
if (L(E))
|
|
13248
13133
|
return w.stylize(RegExp.prototype.toString.call(E), "regexp");
|
|
13249
13134
|
if (A(E))
|
|
13250
13135
|
return w.stylize(Date.prototype.toString.call(E), "date");
|
|
@@ -13256,14 +13141,14 @@ function requireUtil$1() {
|
|
|
13256
13141
|
var W = E.name ? ": " + E.name : "";
|
|
13257
13142
|
F = " [Function" + W + "]";
|
|
13258
13143
|
}
|
|
13259
|
-
if (
|
|
13144
|
+
if (L(E) && (F = " " + RegExp.prototype.toString.call(E)), A(E) && (F = " " + Date.prototype.toUTCString.call(E)), R(E) && (F = " " + d(E)), $.length === 0 && (!P || E.length == 0))
|
|
13260
13145
|
return H[0] + F + H[1];
|
|
13261
13146
|
if (M < 0)
|
|
13262
|
-
return
|
|
13147
|
+
return L(E) ? w.stylize(RegExp.prototype.toString.call(E), "regexp") : w.stylize("[Object]", "special");
|
|
13263
13148
|
w.seen.push(E);
|
|
13264
13149
|
var U;
|
|
13265
|
-
return P ? U = f(w, E, M, B, $) : U = $.map(function(
|
|
13266
|
-
return m(w, E, M, B,
|
|
13150
|
+
return P ? U = f(w, E, M, B, $) : U = $.map(function(G) {
|
|
13151
|
+
return m(w, E, M, B, G, P);
|
|
13267
13152
|
}), w.seen.pop(), p(U, F, H);
|
|
13268
13153
|
}
|
|
13269
13154
|
function u(w, E) {
|
|
@@ -13283,8 +13168,8 @@ function requireUtil$1() {
|
|
|
13283
13168
|
function d(w) {
|
|
13284
13169
|
return "[" + Error.prototype.toString.call(w) + "]";
|
|
13285
13170
|
}
|
|
13286
|
-
function f(w, E, M, q,
|
|
13287
|
-
for (var $ = [], B = 0,
|
|
13171
|
+
function f(w, E, M, q, J) {
|
|
13172
|
+
for (var $ = [], B = 0, T = E.length; B < T; ++B)
|
|
13288
13173
|
Y(E, String(B)) ? $.push(m(
|
|
13289
13174
|
w,
|
|
13290
13175
|
E,
|
|
@@ -13293,7 +13178,7 @@ function requireUtil$1() {
|
|
|
13293
13178
|
String(B),
|
|
13294
13179
|
!0
|
|
13295
13180
|
)) : $.push("");
|
|
13296
|
-
return
|
|
13181
|
+
return J.forEach(function(F) {
|
|
13297
13182
|
F.match(/^\d+$/) || $.push(m(
|
|
13298
13183
|
w,
|
|
13299
13184
|
E,
|
|
@@ -13304,29 +13189,29 @@ function requireUtil$1() {
|
|
|
13304
13189
|
));
|
|
13305
13190
|
}), $;
|
|
13306
13191
|
}
|
|
13307
|
-
function m(w, E, M, q,
|
|
13308
|
-
var B,
|
|
13309
|
-
if (F = Object.getOwnPropertyDescriptor(E,
|
|
13310
|
-
`) > -1 && ($ ?
|
|
13192
|
+
function m(w, E, M, q, J, $) {
|
|
13193
|
+
var B, T, F;
|
|
13194
|
+
if (F = Object.getOwnPropertyDescriptor(E, J) || { value: E[J] }, F.get ? F.set ? T = w.stylize("[Getter/Setter]", "special") : T = w.stylize("[Getter]", "special") : F.set && (T = w.stylize("[Setter]", "special")), Y(q, J) || (B = "[" + J + "]"), T || (w.seen.indexOf(F.value) < 0 ? (v(M) ? T = c(w, F.value, null) : T = c(w, F.value, M - 1), T.indexOf(`
|
|
13195
|
+
`) > -1 && ($ ? T = T.split(`
|
|
13311
13196
|
`).map(function(P) {
|
|
13312
13197
|
return " " + P;
|
|
13313
13198
|
}).join(`
|
|
13314
|
-
`).substr(2) :
|
|
13315
|
-
` +
|
|
13199
|
+
`).substr(2) : T = `
|
|
13200
|
+
` + T.split(`
|
|
13316
13201
|
`).map(function(P) {
|
|
13317
13202
|
return " " + P;
|
|
13318
13203
|
}).join(`
|
|
13319
|
-
`))) :
|
|
13320
|
-
if ($ &&
|
|
13321
|
-
return
|
|
13322
|
-
B = JSON.stringify("" +
|
|
13204
|
+
`))) : T = w.stylize("[Circular]", "special")), V(B)) {
|
|
13205
|
+
if ($ && J.match(/^\d+$/))
|
|
13206
|
+
return T;
|
|
13207
|
+
B = JSON.stringify("" + J), B.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/) ? (B = B.substr(1, B.length - 2), B = w.stylize(B, "name")) : (B = B.replace(/'/g, "\\'").replace(/\\"/g, '"').replace(/(^"|"$)/g, "'"), B = w.stylize(B, "string"));
|
|
13323
13208
|
}
|
|
13324
|
-
return B + ": " +
|
|
13209
|
+
return B + ": " + T;
|
|
13325
13210
|
}
|
|
13326
13211
|
function p(w, E, M) {
|
|
13327
|
-
var q = w.reduce(function(
|
|
13212
|
+
var q = w.reduce(function(J, $) {
|
|
13328
13213
|
return $.indexOf(`
|
|
13329
|
-
`) >= 0,
|
|
13214
|
+
`) >= 0, J + $.replace(/\u001b\[\d\d?m/g, "").length + 1;
|
|
13330
13215
|
}, 0);
|
|
13331
13216
|
return q > 60 ? M[0] + (E === "" ? "" : E + `
|
|
13332
13217
|
`) + " " + w.join(`,
|
|
@@ -13364,10 +13249,10 @@ function requireUtil$1() {
|
|
|
13364
13249
|
return w === void 0;
|
|
13365
13250
|
}
|
|
13366
13251
|
e.isUndefined = V;
|
|
13367
|
-
function
|
|
13252
|
+
function L(w) {
|
|
13368
13253
|
return N(w) && D(w) === "[object RegExp]";
|
|
13369
13254
|
}
|
|
13370
|
-
e.isRegExp =
|
|
13255
|
+
e.isRegExp = L;
|
|
13371
13256
|
function N(w) {
|
|
13372
13257
|
return typeof w == "object" && w !== null;
|
|
13373
13258
|
}
|
|
@@ -13505,9 +13390,9 @@ function requirePath() {
|
|
|
13505
13390
|
}
|
|
13506
13391
|
if (S == 0)
|
|
13507
13392
|
return p;
|
|
13508
|
-
for (var
|
|
13509
|
-
|
|
13510
|
-
return
|
|
13393
|
+
for (var L = [], V = S; V < b.length; V++)
|
|
13394
|
+
L.push("..");
|
|
13395
|
+
return L = L.concat(v.slice(S)), L.join("\\");
|
|
13511
13396
|
}, o._makeLong = function(m) {
|
|
13512
13397
|
if (!n.isString(m))
|
|
13513
13398
|
return m;
|
|
@@ -14253,7 +14138,7 @@ function requireAsync() {
|
|
|
14253
14138
|
});
|
|
14254
14139
|
}
|
|
14255
14140
|
S = s(v, S);
|
|
14256
|
-
var
|
|
14141
|
+
var L = S.isFile || u, N = S.isDirectory || d, A = S.readFile || e.readFile, R = S.realpath || f, O = S.readPackage || p;
|
|
14257
14142
|
if (S.readFile && S.readPackage) {
|
|
14258
14143
|
var z = new TypeError("`readFile` and `readPackage` are mutually exclusive.");
|
|
14259
14144
|
return process.nextTick(function() {
|
|
@@ -14274,7 +14159,7 @@ function requireAsync() {
|
|
|
14274
14159
|
var E;
|
|
14275
14160
|
function M(P) {
|
|
14276
14161
|
if (/^(?:\.\.?(?:\/|$)|\/|([A-Za-z]:)?[/\\])/.test(v))
|
|
14277
|
-
E = t.resolve(P, v), (v === "." || v === ".." || v.slice(-1) === "/") && (E += "/"), /\/$/.test(v) && E === P ? B(E, S.package, q) :
|
|
14162
|
+
E = t.resolve(P, v), (v === "." || v === ".." || v.slice(-1) === "/") && (E += "/"), /\/$/.test(v) && E === P ? B(E, S.package, q) : J(E, S.package, q);
|
|
14278
14163
|
else {
|
|
14279
14164
|
if (Z && o(v))
|
|
14280
14165
|
return C(null, v);
|
|
@@ -14285,17 +14170,17 @@ function requireAsync() {
|
|
|
14285
14170
|
return m(R, W, S, function(ee, X) {
|
|
14286
14171
|
ee ? C(ee) : C(null, X, U);
|
|
14287
14172
|
});
|
|
14288
|
-
var
|
|
14289
|
-
|
|
14173
|
+
var G = new Error("Cannot find module '" + v + "' from '" + Y + "'");
|
|
14174
|
+
G.code = "MODULE_NOT_FOUND", C(G);
|
|
14290
14175
|
}
|
|
14291
14176
|
});
|
|
14292
14177
|
}
|
|
14293
14178
|
}
|
|
14294
14179
|
function q(P, H, W) {
|
|
14295
|
-
P ? C(P) : H ? C(null, H, W) : B(E, function(U,
|
|
14180
|
+
P ? C(P) : H ? C(null, H, W) : B(E, function(U, G, ee) {
|
|
14296
14181
|
if (U) C(U);
|
|
14297
|
-
else if (
|
|
14298
|
-
m(R,
|
|
14182
|
+
else if (G)
|
|
14183
|
+
m(R, G, S, function(te, ne) {
|
|
14299
14184
|
te ? C(te) : C(null, ne, ee);
|
|
14300
14185
|
});
|
|
14301
14186
|
else {
|
|
@@ -14304,30 +14189,30 @@ function requireAsync() {
|
|
|
14304
14189
|
}
|
|
14305
14190
|
});
|
|
14306
14191
|
}
|
|
14307
|
-
function
|
|
14308
|
-
var U = H,
|
|
14309
|
-
typeof U == "function" && (
|
|
14192
|
+
function J(P, H, W) {
|
|
14193
|
+
var U = H, G = W;
|
|
14194
|
+
typeof U == "function" && (G = U, U = void 0);
|
|
14310
14195
|
var ee = [""].concat(j);
|
|
14311
14196
|
X(ee, P, U);
|
|
14312
14197
|
function X(te, ne, ae) {
|
|
14313
|
-
if (te.length === 0) return
|
|
14198
|
+
if (te.length === 0) return G(null, void 0, ae);
|
|
14314
14199
|
var oe = ne + te[0], se = ae;
|
|
14315
14200
|
se ? I(null, se) : $(t.dirname(oe), I);
|
|
14316
|
-
function I(ie,
|
|
14317
|
-
if (se =
|
|
14201
|
+
function I(ie, ue, le) {
|
|
14202
|
+
if (se = ue, ie) return G(ie);
|
|
14318
14203
|
if (le && se && S.pathFilter) {
|
|
14319
|
-
var
|
|
14320
|
-
if (
|
|
14204
|
+
var fe = t.relative(le, oe), he = fe.slice(0, fe.length - te[0].length), de = S.pathFilter(se, ne, he);
|
|
14205
|
+
if (de) return X(
|
|
14321
14206
|
[""].concat(j.slice()),
|
|
14322
|
-
t.resolve(le,
|
|
14207
|
+
t.resolve(le, de),
|
|
14323
14208
|
se
|
|
14324
14209
|
);
|
|
14325
14210
|
}
|
|
14326
|
-
|
|
14211
|
+
L(oe, ce);
|
|
14327
14212
|
}
|
|
14328
|
-
function
|
|
14329
|
-
if (ie) return
|
|
14330
|
-
if (
|
|
14213
|
+
function ce(ie, ue) {
|
|
14214
|
+
if (ie) return G(ie);
|
|
14215
|
+
if (ue) return G(null, oe, se);
|
|
14331
14216
|
X(te.slice(1), ne, se);
|
|
14332
14217
|
}
|
|
14333
14218
|
}
|
|
@@ -14336,61 +14221,61 @@ function requireAsync() {
|
|
|
14336
14221
|
if (P === "" || P === "/" || /[/\\]node_modules[/\\]*$/.test(P)) return H(null);
|
|
14337
14222
|
m(R, P, S, function(W, U) {
|
|
14338
14223
|
if (W) return $(t.dirname(P), H);
|
|
14339
|
-
var
|
|
14340
|
-
|
|
14224
|
+
var G = t.join(U, "package.json");
|
|
14225
|
+
L(G, function(ee, X) {
|
|
14341
14226
|
if (!X) return $(t.dirname(P), H);
|
|
14342
|
-
O(A,
|
|
14227
|
+
O(A, G, function(te, ne) {
|
|
14343
14228
|
te && H(te);
|
|
14344
14229
|
var ae = ne;
|
|
14345
|
-
ae && S.packageFilter && (ae = S.packageFilter(ae,
|
|
14230
|
+
ae && S.packageFilter && (ae = S.packageFilter(ae, G)), H(null, ae, P);
|
|
14346
14231
|
});
|
|
14347
14232
|
});
|
|
14348
14233
|
});
|
|
14349
14234
|
}
|
|
14350
14235
|
function B(P, H, W) {
|
|
14351
|
-
var U = W,
|
|
14352
|
-
typeof
|
|
14236
|
+
var U = W, G = H;
|
|
14237
|
+
typeof G == "function" && (U = G, G = S.package), m(R, P, S, function(ee, X) {
|
|
14353
14238
|
if (ee) return U(ee);
|
|
14354
14239
|
var te = t.join(X, "package.json");
|
|
14355
|
-
|
|
14240
|
+
L(te, function(ne, ae) {
|
|
14356
14241
|
if (ne) return U(ne);
|
|
14357
|
-
if (!ae) return
|
|
14242
|
+
if (!ae) return J(t.join(P, "index"), G, U);
|
|
14358
14243
|
O(A, te, function(oe, se) {
|
|
14359
14244
|
if (oe) return U(oe);
|
|
14360
14245
|
var I = se;
|
|
14361
14246
|
if (I && S.packageFilter && (I = S.packageFilter(I, te)), I && I.main) {
|
|
14362
14247
|
if (typeof I.main != "string") {
|
|
14363
|
-
var
|
|
14364
|
-
return
|
|
14248
|
+
var ce = new TypeError("package “" + I.name + "” `main` must be a string");
|
|
14249
|
+
return ce.code = "INVALID_PACKAGE_MAIN", U(ce);
|
|
14365
14250
|
}
|
|
14366
|
-
(I.main === "." || I.main === "./") && (I.main = "index"),
|
|
14251
|
+
(I.main === "." || I.main === "./") && (I.main = "index"), J(t.resolve(P, I.main), I, function(ie, ue, le) {
|
|
14367
14252
|
if (ie) return U(ie);
|
|
14368
|
-
if (
|
|
14369
|
-
if (!le) return
|
|
14370
|
-
var
|
|
14371
|
-
B(
|
|
14372
|
-
if (
|
|
14373
|
-
if (
|
|
14374
|
-
|
|
14253
|
+
if (ue) return U(null, ue, le);
|
|
14254
|
+
if (!le) return J(t.join(P, "index"), le, U);
|
|
14255
|
+
var fe = t.resolve(P, le.main);
|
|
14256
|
+
B(fe, le, function(he, de, me) {
|
|
14257
|
+
if (he) return U(he);
|
|
14258
|
+
if (de) return U(null, de, me);
|
|
14259
|
+
J(t.join(P, "index"), me, U);
|
|
14375
14260
|
});
|
|
14376
14261
|
});
|
|
14377
14262
|
return;
|
|
14378
14263
|
}
|
|
14379
|
-
|
|
14264
|
+
J(t.join(P, "/index"), I, U);
|
|
14380
14265
|
});
|
|
14381
14266
|
});
|
|
14382
14267
|
});
|
|
14383
14268
|
}
|
|
14384
|
-
function
|
|
14269
|
+
function T(P, H) {
|
|
14385
14270
|
if (H.length === 0) return P(null, void 0);
|
|
14386
14271
|
var W = H[0];
|
|
14387
14272
|
N(t.dirname(W), U);
|
|
14388
14273
|
function U(X, te) {
|
|
14389
14274
|
if (X) return P(X);
|
|
14390
|
-
if (!te) return
|
|
14391
|
-
|
|
14275
|
+
if (!te) return T(P, H.slice(1));
|
|
14276
|
+
J(W, S.package, G);
|
|
14392
14277
|
}
|
|
14393
|
-
function
|
|
14278
|
+
function G(X, te, ne) {
|
|
14394
14279
|
if (X) return P(X);
|
|
14395
14280
|
if (te) return P(null, te, ne);
|
|
14396
14281
|
B(W, S.package, ee);
|
|
@@ -14398,14 +14283,14 @@ function requireAsync() {
|
|
|
14398
14283
|
function ee(X, te, ne) {
|
|
14399
14284
|
if (X) return P(X);
|
|
14400
14285
|
if (te) return P(null, te, ne);
|
|
14401
|
-
|
|
14286
|
+
T(P, H.slice(1));
|
|
14402
14287
|
}
|
|
14403
14288
|
}
|
|
14404
14289
|
function F(P, H, W) {
|
|
14405
14290
|
var U = function() {
|
|
14406
14291
|
return g(P, H, S);
|
|
14407
14292
|
};
|
|
14408
|
-
|
|
14293
|
+
T(
|
|
14409
14294
|
W,
|
|
14410
14295
|
D ? D(P, H, U, S) : U()
|
|
14411
14296
|
);
|
|
@@ -14858,29 +14743,29 @@ function requireSync() {
|
|
|
14858
14743
|
return sync = function(v, b) {
|
|
14859
14744
|
if (typeof v != "string")
|
|
14860
14745
|
throw new TypeError("Path must be a string.");
|
|
14861
|
-
var k = o(v, b), C = k.isFile || u, S = k.readFileSync || n.readFileSync, V = k.isDirectory || d,
|
|
14746
|
+
var k = o(v, b), C = k.isFile || u, S = k.readFileSync || n.readFileSync, V = k.isDirectory || d, L = k.realpathSync || f, N = k.readPackageSync || p;
|
|
14862
14747
|
if (k.readFileSync && k.readPackageSync)
|
|
14863
14748
|
throw new TypeError("`readFileSync` and `readPackageSync` are mutually exclusive.");
|
|
14864
14749
|
var A = k.packageIterator, R = k.extensions || [".js"], O = k.includeCoreModules !== !1, z = k.basedir || t.dirname(r()), D = k.filename || z;
|
|
14865
14750
|
k.paths = k.paths || c();
|
|
14866
|
-
var j = m(
|
|
14751
|
+
var j = m(L, t.resolve(z), k);
|
|
14867
14752
|
if (/^(?:\.\.?(?:\/|$)|\/|([A-Za-z]:)?[/\\])/.test(v)) {
|
|
14868
14753
|
var Z = t.resolve(j, v);
|
|
14869
14754
|
(v === "." || v === ".." || v.slice(-1) === "/") && (Z += "/");
|
|
14870
14755
|
var Q = E(Z) || q(Z);
|
|
14871
|
-
if (Q) return m(
|
|
14756
|
+
if (Q) return m(L, Q, k);
|
|
14872
14757
|
} else {
|
|
14873
14758
|
if (O && e(v))
|
|
14874
14759
|
return v;
|
|
14875
|
-
var Y =
|
|
14876
|
-
if (Y) return m(
|
|
14760
|
+
var Y = J(v, j);
|
|
14761
|
+
if (Y) return m(L, Y, k);
|
|
14877
14762
|
}
|
|
14878
14763
|
var w = new Error("Cannot find module '" + v + "' from '" + D + "'");
|
|
14879
14764
|
throw w.code = "MODULE_NOT_FOUND", w;
|
|
14880
14765
|
function E($) {
|
|
14881
14766
|
var B = M(t.dirname($));
|
|
14882
14767
|
if (B && B.dir && B.pkg && k.pathFilter) {
|
|
14883
|
-
var
|
|
14768
|
+
var T = t.relative(B.dir, $), F = k.pathFilter(B.pkg, $, T);
|
|
14884
14769
|
F && ($ = t.resolve(B.dir, F));
|
|
14885
14770
|
}
|
|
14886
14771
|
if (C($))
|
|
@@ -14893,38 +14778,38 @@ function requireSync() {
|
|
|
14893
14778
|
}
|
|
14894
14779
|
function M($) {
|
|
14895
14780
|
if (!($ === "" || $ === "/") && !/[/\\]node_modules[/\\]*$/.test($)) {
|
|
14896
|
-
var B = t.join(m(
|
|
14781
|
+
var B = t.join(m(L, $, k), "package.json");
|
|
14897
14782
|
if (!C(B))
|
|
14898
14783
|
return M(t.dirname($));
|
|
14899
|
-
var
|
|
14900
|
-
return
|
|
14901
|
-
|
|
14784
|
+
var T = N(S, B);
|
|
14785
|
+
return T && k.packageFilter && (T = k.packageFilter(
|
|
14786
|
+
T,
|
|
14902
14787
|
/*pkgfile,*/
|
|
14903
14788
|
$
|
|
14904
|
-
)), { pkg:
|
|
14789
|
+
)), { pkg: T, dir: $ };
|
|
14905
14790
|
}
|
|
14906
14791
|
}
|
|
14907
14792
|
function q($) {
|
|
14908
|
-
var B = t.join(m(
|
|
14793
|
+
var B = t.join(m(L, $, k), "/package.json");
|
|
14909
14794
|
if (C(B)) {
|
|
14910
14795
|
try {
|
|
14911
|
-
var
|
|
14796
|
+
var T = N(S, B);
|
|
14912
14797
|
} catch {
|
|
14913
14798
|
}
|
|
14914
|
-
if (
|
|
14915
|
-
|
|
14799
|
+
if (T && k.packageFilter && (T = k.packageFilter(
|
|
14800
|
+
T,
|
|
14916
14801
|
/*pkgfile,*/
|
|
14917
14802
|
$
|
|
14918
|
-
)),
|
|
14919
|
-
if (typeof
|
|
14920
|
-
var F = new TypeError("package “" +
|
|
14803
|
+
)), T && T.main) {
|
|
14804
|
+
if (typeof T.main != "string") {
|
|
14805
|
+
var F = new TypeError("package “" + T.name + "” `main` must be a string");
|
|
14921
14806
|
throw F.code = "INVALID_PACKAGE_MAIN", F;
|
|
14922
14807
|
}
|
|
14923
|
-
(
|
|
14808
|
+
(T.main === "." || T.main === "./") && (T.main = "index");
|
|
14924
14809
|
try {
|
|
14925
|
-
var P = E(t.resolve($,
|
|
14810
|
+
var P = E(t.resolve($, T.main));
|
|
14926
14811
|
if (P) return P;
|
|
14927
|
-
var H = q(t.resolve($,
|
|
14812
|
+
var H = q(t.resolve($, T.main));
|
|
14928
14813
|
if (H) return H;
|
|
14929
14814
|
} catch {
|
|
14930
14815
|
}
|
|
@@ -14932,10 +14817,10 @@ function requireSync() {
|
|
|
14932
14817
|
}
|
|
14933
14818
|
return E(t.join($, "/index"));
|
|
14934
14819
|
}
|
|
14935
|
-
function
|
|
14936
|
-
for (var
|
|
14820
|
+
function J($, B) {
|
|
14821
|
+
for (var T = function() {
|
|
14937
14822
|
return g($, B, k);
|
|
14938
|
-
}, F = A ? A($, B,
|
|
14823
|
+
}, F = A ? A($, B, T, k) : T(), P = 0; P < F.length; P++) {
|
|
14939
14824
|
var H = F[P];
|
|
14940
14825
|
if (V(t.dirname(H))) {
|
|
14941
14826
|
var W = E(H);
|
|
@@ -15069,11 +14954,11 @@ function requireTypes() {
|
|
|
15069
14954
|
var f = s(BigInt.prototype.valueOf);
|
|
15070
14955
|
if (i)
|
|
15071
14956
|
var m = s(Symbol.prototype.valueOf);
|
|
15072
|
-
function p(I,
|
|
14957
|
+
function p(I, ce) {
|
|
15073
14958
|
if (typeof I != "object")
|
|
15074
14959
|
return !1;
|
|
15075
14960
|
try {
|
|
15076
|
-
return
|
|
14961
|
+
return ce(I), !0;
|
|
15077
14962
|
} catch {
|
|
15078
14963
|
return !1;
|
|
15079
14964
|
}
|
|
@@ -15111,10 +14996,10 @@ function requireTypes() {
|
|
|
15111
14996
|
return a(I) === "Int16Array";
|
|
15112
14997
|
}
|
|
15113
14998
|
e.isInt16Array = V;
|
|
15114
|
-
function
|
|
14999
|
+
function L(I) {
|
|
15115
15000
|
return a(I) === "Int32Array";
|
|
15116
15001
|
}
|
|
15117
|
-
e.isInt32Array =
|
|
15002
|
+
e.isInt32Array = L;
|
|
15118
15003
|
function N(I) {
|
|
15119
15004
|
return a(I) === "Float32Array";
|
|
15120
15005
|
}
|
|
@@ -15171,20 +15056,20 @@ function requireTypes() {
|
|
|
15171
15056
|
return typeof ArrayBuffer > "u" ? !1 : M.working ? M(I) : I instanceof ArrayBuffer;
|
|
15172
15057
|
}
|
|
15173
15058
|
e.isArrayBuffer = q;
|
|
15174
|
-
function
|
|
15059
|
+
function J(I) {
|
|
15175
15060
|
return l(I) === "[object DataView]";
|
|
15176
15061
|
}
|
|
15177
|
-
|
|
15062
|
+
J.working = typeof ArrayBuffer < "u" && typeof DataView < "u" && J(new DataView(new ArrayBuffer(1), 0, 1));
|
|
15178
15063
|
function $(I) {
|
|
15179
|
-
return typeof DataView > "u" ? !1 :
|
|
15064
|
+
return typeof DataView > "u" ? !1 : J.working ? J(I) : I instanceof DataView;
|
|
15180
15065
|
}
|
|
15181
15066
|
e.isDataView = $;
|
|
15182
15067
|
var B = typeof SharedArrayBuffer < "u" ? SharedArrayBuffer : void 0;
|
|
15183
|
-
function
|
|
15068
|
+
function T(I) {
|
|
15184
15069
|
return l(I) === "[object SharedArrayBuffer]";
|
|
15185
15070
|
}
|
|
15186
15071
|
function F(I) {
|
|
15187
|
-
return typeof B > "u" ? !1 : (typeof
|
|
15072
|
+
return typeof B > "u" ? !1 : (typeof T.working > "u" && (T.working = T(new B())), T.working ? T(I) : I instanceof B);
|
|
15188
15073
|
}
|
|
15189
15074
|
e.isSharedArrayBuffer = F;
|
|
15190
15075
|
function P(I) {
|
|
@@ -15203,10 +15088,10 @@ function requireTypes() {
|
|
|
15203
15088
|
return l(I) === "[object Generator]";
|
|
15204
15089
|
}
|
|
15205
15090
|
e.isGeneratorObject = U;
|
|
15206
|
-
function
|
|
15091
|
+
function G(I) {
|
|
15207
15092
|
return l(I) === "[object WebAssembly.Module]";
|
|
15208
15093
|
}
|
|
15209
|
-
e.isWebAssemblyCompiledModule =
|
|
15094
|
+
e.isWebAssemblyCompiledModule = G;
|
|
15210
15095
|
function ee(I) {
|
|
15211
15096
|
return p(I, c);
|
|
15212
15097
|
}
|
|
@@ -15274,34 +15159,34 @@ var hasRequiredUtil;
|
|
|
15274
15159
|
function requireUtil() {
|
|
15275
15160
|
return hasRequiredUtil || (hasRequiredUtil = 1, function(e) {
|
|
15276
15161
|
var n = {}, t = Object.getOwnPropertyDescriptors || function(B) {
|
|
15277
|
-
for (var
|
|
15278
|
-
F[
|
|
15162
|
+
for (var T = Object.keys(B), F = {}, P = 0; P < T.length; P++)
|
|
15163
|
+
F[T[P]] = Object.getOwnPropertyDescriptor(B, T[P]);
|
|
15279
15164
|
return F;
|
|
15280
15165
|
}, a = /%[sdj%]/g;
|
|
15281
15166
|
e.format = function($) {
|
|
15282
15167
|
if (!V($)) {
|
|
15283
|
-
for (var B = [],
|
|
15284
|
-
B.push(i(arguments[
|
|
15168
|
+
for (var B = [], T = 0; T < arguments.length; T++)
|
|
15169
|
+
B.push(i(arguments[T]));
|
|
15285
15170
|
return B.join(" ");
|
|
15286
15171
|
}
|
|
15287
|
-
for (var
|
|
15172
|
+
for (var T = 1, F = arguments, P = F.length, H = String($).replace(a, function(U) {
|
|
15288
15173
|
if (U === "%%") return "%";
|
|
15289
|
-
if (
|
|
15174
|
+
if (T >= P) return U;
|
|
15290
15175
|
switch (U) {
|
|
15291
15176
|
case "%s":
|
|
15292
|
-
return String(F[
|
|
15177
|
+
return String(F[T++]);
|
|
15293
15178
|
case "%d":
|
|
15294
|
-
return Number(F[
|
|
15179
|
+
return Number(F[T++]);
|
|
15295
15180
|
case "%j":
|
|
15296
15181
|
try {
|
|
15297
|
-
return JSON.stringify(F[
|
|
15182
|
+
return JSON.stringify(F[T++]);
|
|
15298
15183
|
} catch {
|
|
15299
15184
|
return "[Circular]";
|
|
15300
15185
|
}
|
|
15301
15186
|
default:
|
|
15302
15187
|
return U;
|
|
15303
15188
|
}
|
|
15304
|
-
}), W = F[
|
|
15189
|
+
}), W = F[T]; T < P; W = F[++T])
|
|
15305
15190
|
k(W) || !R(W) ? H += " " + W : H += " " + i(W);
|
|
15306
15191
|
return H;
|
|
15307
15192
|
}, e.deprecate = function($, B) {
|
|
@@ -15311,12 +15196,12 @@ function requireUtil() {
|
|
|
15311
15196
|
return function() {
|
|
15312
15197
|
return e.deprecate($, B).apply(this, arguments);
|
|
15313
15198
|
};
|
|
15314
|
-
var
|
|
15199
|
+
var T = !1;
|
|
15315
15200
|
function F() {
|
|
15316
|
-
if (!
|
|
15201
|
+
if (!T) {
|
|
15317
15202
|
if (process.throwDeprecation)
|
|
15318
15203
|
throw new Error(B);
|
|
15319
|
-
process.traceDeprecation ? console.trace(B) : console.error(B),
|
|
15204
|
+
process.traceDeprecation ? console.trace(B) : console.error(B), T = !0;
|
|
15320
15205
|
}
|
|
15321
15206
|
return $.apply(this, arguments);
|
|
15322
15207
|
}
|
|
@@ -15332,8 +15217,8 @@ function requireUtil() {
|
|
|
15332
15217
|
if (s.test($)) {
|
|
15333
15218
|
var B = process.pid;
|
|
15334
15219
|
r[$] = function() {
|
|
15335
|
-
var
|
|
15336
|
-
console.error("%s %d: %s", $, B,
|
|
15220
|
+
var T = e.format.apply(e, arguments);
|
|
15221
|
+
console.error("%s %d: %s", $, B, T);
|
|
15337
15222
|
};
|
|
15338
15223
|
} else
|
|
15339
15224
|
r[$] = function() {
|
|
@@ -15341,11 +15226,11 @@ function requireUtil() {
|
|
|
15341
15226
|
return r[$];
|
|
15342
15227
|
};
|
|
15343
15228
|
function i($, B) {
|
|
15344
|
-
var
|
|
15229
|
+
var T = {
|
|
15345
15230
|
seen: [],
|
|
15346
15231
|
stylize: c
|
|
15347
15232
|
};
|
|
15348
|
-
return arguments.length >= 3 && (
|
|
15233
|
+
return arguments.length >= 3 && (T.depth = arguments[2]), arguments.length >= 4 && (T.colors = arguments[3]), b(B) ? T.showHidden = B : B && e._extend(T, B), N(T.showHidden) && (T.showHidden = !1), N(T.depth) && (T.depth = 2), N(T.colors) && (T.colors = !1), N(T.customInspect) && (T.customInspect = !0), T.colors && (T.stylize = l), d(T, $, T.depth);
|
|
15349
15234
|
}
|
|
15350
15235
|
e.inspect = i, i.colors = {
|
|
15351
15236
|
bold: [1, 22],
|
|
@@ -15373,24 +15258,24 @@ function requireUtil() {
|
|
|
15373
15258
|
regexp: "red"
|
|
15374
15259
|
};
|
|
15375
15260
|
function l($, B) {
|
|
15376
|
-
var
|
|
15377
|
-
return
|
|
15261
|
+
var T = i.styles[B];
|
|
15262
|
+
return T ? "\x1B[" + i.colors[T][0] + "m" + $ + "\x1B[" + i.colors[T][1] + "m" : $;
|
|
15378
15263
|
}
|
|
15379
15264
|
function c($, B) {
|
|
15380
15265
|
return $;
|
|
15381
15266
|
}
|
|
15382
15267
|
function u($) {
|
|
15383
15268
|
var B = {};
|
|
15384
|
-
return $.forEach(function(
|
|
15385
|
-
B[
|
|
15269
|
+
return $.forEach(function(T, F) {
|
|
15270
|
+
B[T] = !0;
|
|
15386
15271
|
}), B;
|
|
15387
15272
|
}
|
|
15388
|
-
function d($, B,
|
|
15273
|
+
function d($, B, T) {
|
|
15389
15274
|
if ($.customInspect && B && D(B.inspect) && // Filter out the util module, it's inspect function is special
|
|
15390
15275
|
B.inspect !== e.inspect && // Also filter out any prototype objects using the circular check.
|
|
15391
15276
|
!(B.constructor && B.constructor.prototype === B)) {
|
|
15392
|
-
var F = B.inspect(
|
|
15393
|
-
return V(F) || (F = d($, F,
|
|
15277
|
+
var F = B.inspect(T, $);
|
|
15278
|
+
return V(F) || (F = d($, F, T)), F;
|
|
15394
15279
|
}
|
|
15395
15280
|
var P = f($, B);
|
|
15396
15281
|
if (P)
|
|
@@ -15410,27 +15295,27 @@ function requireUtil() {
|
|
|
15410
15295
|
if (z(B))
|
|
15411
15296
|
return m(B);
|
|
15412
15297
|
}
|
|
15413
|
-
var
|
|
15298
|
+
var G = "", ee = !1, X = ["{", "}"];
|
|
15414
15299
|
if (v(B) && (ee = !0, X = ["[", "]"]), D(B)) {
|
|
15415
15300
|
var te = B.name ? ": " + B.name : "";
|
|
15416
|
-
|
|
15301
|
+
G = " [Function" + te + "]";
|
|
15417
15302
|
}
|
|
15418
|
-
if (A(B) && (
|
|
15419
|
-
return X[0] +
|
|
15420
|
-
if (
|
|
15303
|
+
if (A(B) && (G = " " + RegExp.prototype.toString.call(B)), O(B) && (G = " " + Date.prototype.toUTCString.call(B)), z(B) && (G = " " + m(B)), H.length === 0 && (!ee || B.length == 0))
|
|
15304
|
+
return X[0] + G + X[1];
|
|
15305
|
+
if (T < 0)
|
|
15421
15306
|
return A(B) ? $.stylize(RegExp.prototype.toString.call(B), "regexp") : $.stylize("[Object]", "special");
|
|
15422
15307
|
$.seen.push(B);
|
|
15423
15308
|
var ne;
|
|
15424
|
-
return ee ? ne = p($, B,
|
|
15425
|
-
return g($, B,
|
|
15426
|
-
}), $.seen.pop(), _(ne,
|
|
15309
|
+
return ee ? ne = p($, B, T, W, H) : ne = H.map(function(ae) {
|
|
15310
|
+
return g($, B, T, W, ae, ee);
|
|
15311
|
+
}), $.seen.pop(), _(ne, G, X);
|
|
15427
15312
|
}
|
|
15428
15313
|
function f($, B) {
|
|
15429
15314
|
if (N(B))
|
|
15430
15315
|
return $.stylize("undefined", "undefined");
|
|
15431
15316
|
if (V(B)) {
|
|
15432
|
-
var
|
|
15433
|
-
return $.stylize(
|
|
15317
|
+
var T = "'" + JSON.stringify(B).replace(/^"|"$/g, "").replace(/'/g, "\\'").replace(/\\"/g, '"') + "'";
|
|
15318
|
+
return $.stylize(T, "string");
|
|
15434
15319
|
}
|
|
15435
15320
|
if (S(B))
|
|
15436
15321
|
return $.stylize("" + B, "number");
|
|
@@ -15442,30 +15327,30 @@ function requireUtil() {
|
|
|
15442
15327
|
function m($) {
|
|
15443
15328
|
return "[" + Error.prototype.toString.call($) + "]";
|
|
15444
15329
|
}
|
|
15445
|
-
function p($, B,
|
|
15330
|
+
function p($, B, T, F, P) {
|
|
15446
15331
|
for (var H = [], W = 0, U = B.length; W < U; ++W)
|
|
15447
15332
|
E(B, String(W)) ? H.push(g(
|
|
15448
15333
|
$,
|
|
15449
15334
|
B,
|
|
15450
|
-
|
|
15335
|
+
T,
|
|
15451
15336
|
F,
|
|
15452
15337
|
String(W),
|
|
15453
15338
|
!0
|
|
15454
15339
|
)) : H.push("");
|
|
15455
|
-
return P.forEach(function(
|
|
15456
|
-
|
|
15340
|
+
return P.forEach(function(G) {
|
|
15341
|
+
G.match(/^\d+$/) || H.push(g(
|
|
15457
15342
|
$,
|
|
15458
15343
|
B,
|
|
15459
|
-
|
|
15344
|
+
T,
|
|
15460
15345
|
F,
|
|
15461
|
-
|
|
15346
|
+
G,
|
|
15462
15347
|
!0
|
|
15463
15348
|
));
|
|
15464
15349
|
}), H;
|
|
15465
15350
|
}
|
|
15466
|
-
function g($, B,
|
|
15467
|
-
var W, U,
|
|
15468
|
-
if (
|
|
15351
|
+
function g($, B, T, F, P, H) {
|
|
15352
|
+
var W, U, G;
|
|
15353
|
+
if (G = Object.getOwnPropertyDescriptor(B, P) || { value: B[P] }, G.get ? G.set ? U = $.stylize("[Getter/Setter]", "special") : U = $.stylize("[Getter]", "special") : G.set && (U = $.stylize("[Setter]", "special")), E(F, P) || (W = "[" + P + "]"), U || ($.seen.indexOf(G.value) < 0 ? (k(T) ? U = d($, G.value, null) : U = d($, G.value, T - 1), U.indexOf(`
|
|
15469
15354
|
`) > -1 && (H ? U = U.split(`
|
|
15470
15355
|
`).map(function(ee) {
|
|
15471
15356
|
return " " + ee;
|
|
@@ -15482,14 +15367,14 @@ function requireUtil() {
|
|
|
15482
15367
|
}
|
|
15483
15368
|
return W + ": " + U;
|
|
15484
15369
|
}
|
|
15485
|
-
function _($, B,
|
|
15370
|
+
function _($, B, T) {
|
|
15486
15371
|
var F = $.reduce(function(P, H) {
|
|
15487
15372
|
return H.indexOf(`
|
|
15488
15373
|
`) >= 0, P + H.replace(/\u001b\[\d\d?m/g, "").length + 1;
|
|
15489
15374
|
}, 0);
|
|
15490
|
-
return F > 60 ?
|
|
15375
|
+
return F > 60 ? T[0] + (B === "" ? "" : B + `
|
|
15491
15376
|
`) + " " + $.join(`,
|
|
15492
|
-
`) + " " +
|
|
15377
|
+
`) + " " + T[1] : T[0] + B + " " + $.join(", ") + " " + T[1];
|
|
15493
15378
|
}
|
|
15494
15379
|
e.types = requireTypes();
|
|
15495
15380
|
function v($) {
|
|
@@ -15516,10 +15401,10 @@ function requireUtil() {
|
|
|
15516
15401
|
return typeof $ == "string";
|
|
15517
15402
|
}
|
|
15518
15403
|
e.isString = V;
|
|
15519
|
-
function
|
|
15404
|
+
function L($) {
|
|
15520
15405
|
return typeof $ == "symbol";
|
|
15521
15406
|
}
|
|
15522
|
-
e.isSymbol =
|
|
15407
|
+
e.isSymbol = L;
|
|
15523
15408
|
function N($) {
|
|
15524
15409
|
return $ === void 0;
|
|
15525
15410
|
}
|
|
@@ -15581,8 +15466,8 @@ function requireUtil() {
|
|
|
15581
15466
|
console.log("%s - %s", w(), e.format.apply(e, arguments));
|
|
15582
15467
|
}, e.inherits = requireInherits_browser(), e._extend = function($, B) {
|
|
15583
15468
|
if (!B || !R(B)) return $;
|
|
15584
|
-
for (var
|
|
15585
|
-
$[
|
|
15469
|
+
for (var T = Object.keys(B), F = T.length; F--; )
|
|
15470
|
+
$[T[F]] = B[T[F]];
|
|
15586
15471
|
return $;
|
|
15587
15472
|
};
|
|
15588
15473
|
function E($, B) {
|
|
@@ -15593,61 +15478,61 @@ function requireUtil() {
|
|
|
15593
15478
|
if (typeof B != "function")
|
|
15594
15479
|
throw new TypeError('The "original" argument must be of type Function');
|
|
15595
15480
|
if (M && B[M]) {
|
|
15596
|
-
var
|
|
15597
|
-
if (typeof
|
|
15481
|
+
var T = B[M];
|
|
15482
|
+
if (typeof T != "function")
|
|
15598
15483
|
throw new TypeError('The "util.promisify.custom" argument must be of type Function');
|
|
15599
|
-
return Object.defineProperty(
|
|
15600
|
-
value:
|
|
15484
|
+
return Object.defineProperty(T, M, {
|
|
15485
|
+
value: T,
|
|
15601
15486
|
enumerable: !1,
|
|
15602
15487
|
writable: !1,
|
|
15603
15488
|
configurable: !0
|
|
15604
|
-
}),
|
|
15489
|
+
}), T;
|
|
15605
15490
|
}
|
|
15606
|
-
function
|
|
15607
|
-
for (var F, P, H = new Promise(function(
|
|
15608
|
-
F =
|
|
15491
|
+
function T() {
|
|
15492
|
+
for (var F, P, H = new Promise(function(G, ee) {
|
|
15493
|
+
F = G, P = ee;
|
|
15609
15494
|
}), W = [], U = 0; U < arguments.length; U++)
|
|
15610
15495
|
W.push(arguments[U]);
|
|
15611
|
-
W.push(function(
|
|
15612
|
-
|
|
15496
|
+
W.push(function(G, ee) {
|
|
15497
|
+
G ? P(G) : F(ee);
|
|
15613
15498
|
});
|
|
15614
15499
|
try {
|
|
15615
15500
|
B.apply(this, W);
|
|
15616
|
-
} catch (
|
|
15617
|
-
P(
|
|
15501
|
+
} catch (G) {
|
|
15502
|
+
P(G);
|
|
15618
15503
|
}
|
|
15619
15504
|
return H;
|
|
15620
15505
|
}
|
|
15621
|
-
return Object.setPrototypeOf(
|
|
15622
|
-
value:
|
|
15506
|
+
return Object.setPrototypeOf(T, Object.getPrototypeOf(B)), M && Object.defineProperty(T, M, {
|
|
15507
|
+
value: T,
|
|
15623
15508
|
enumerable: !1,
|
|
15624
15509
|
writable: !1,
|
|
15625
15510
|
configurable: !0
|
|
15626
15511
|
}), Object.defineProperties(
|
|
15627
|
-
|
|
15512
|
+
T,
|
|
15628
15513
|
t(B)
|
|
15629
15514
|
);
|
|
15630
15515
|
}, e.promisify.custom = M;
|
|
15631
15516
|
function q($, B) {
|
|
15632
15517
|
if (!$) {
|
|
15633
|
-
var
|
|
15634
|
-
|
|
15518
|
+
var T = new Error("Promise was rejected with a falsy value");
|
|
15519
|
+
T.reason = $, $ = T;
|
|
15635
15520
|
}
|
|
15636
15521
|
return B($);
|
|
15637
15522
|
}
|
|
15638
|
-
function
|
|
15523
|
+
function J($) {
|
|
15639
15524
|
if (typeof $ != "function")
|
|
15640
15525
|
throw new TypeError('The "original" argument must be of type Function');
|
|
15641
15526
|
function B() {
|
|
15642
|
-
for (var
|
|
15643
|
-
|
|
15644
|
-
var P =
|
|
15527
|
+
for (var T = [], F = 0; F < arguments.length; F++)
|
|
15528
|
+
T.push(arguments[F]);
|
|
15529
|
+
var P = T.pop();
|
|
15645
15530
|
if (typeof P != "function")
|
|
15646
15531
|
throw new TypeError("The last argument must be of type Function");
|
|
15647
15532
|
var H = this, W = function() {
|
|
15648
15533
|
return P.apply(H, arguments);
|
|
15649
15534
|
};
|
|
15650
|
-
$.apply(this,
|
|
15535
|
+
$.apply(this, T).then(
|
|
15651
15536
|
function(U) {
|
|
15652
15537
|
process.nextTick(W.bind(null, null, U));
|
|
15653
15538
|
},
|
|
@@ -15661,7 +15546,7 @@ function requireUtil() {
|
|
|
15661
15546
|
t($)
|
|
15662
15547
|
), B;
|
|
15663
15548
|
}
|
|
15664
|
-
e.callbackify =
|
|
15549
|
+
e.callbackify = J;
|
|
15665
15550
|
}(util)), util;
|
|
15666
15551
|
}
|
|
15667
15552
|
var isArrayish, hasRequiredIsArrayish;
|
|
@@ -16015,11 +15900,11 @@ function requireLib() {
|
|
|
16015
15900
|
const u = /* @__PURE__ */ new Set(["as", "async", "from", "get", "of", "set"]), d = /\r\n|[\n\r\u2028\u2029]/, f = /^[()[\]{}]$/;
|
|
16016
15901
|
let m;
|
|
16017
15902
|
{
|
|
16018
|
-
const C = /^[a-z][\w-]*$/i, S = function(V,
|
|
15903
|
+
const C = /^[a-z][\w-]*$/i, S = function(V, L, N) {
|
|
16019
15904
|
if (V.type === "name") {
|
|
16020
15905
|
if (a.isKeyword(V.value) || a.isStrictReservedWord(V.value, !0) || u.has(V.value))
|
|
16021
15906
|
return "keyword";
|
|
16022
|
-
if (C.test(V.value) && (N[
|
|
15907
|
+
if (C.test(V.value) && (N[L - 1] === "<" || N.slice(L - 2, L) === "</"))
|
|
16023
15908
|
return "jsxIdentifier";
|
|
16024
15909
|
if (V.value[0] !== V.value[0].toLowerCase())
|
|
16025
15910
|
return "capitalized";
|
|
@@ -16027,11 +15912,11 @@ function requireLib() {
|
|
|
16027
15912
|
return V.type === "punctuator" && f.test(V.value) ? "bracket" : V.type === "invalid" && (V.value === "@" || V.value === "#") ? "punctuator" : V.type;
|
|
16028
15913
|
};
|
|
16029
15914
|
m = function* (V) {
|
|
16030
|
-
let
|
|
16031
|
-
for (;
|
|
16032
|
-
const N = t.matchToToken(
|
|
15915
|
+
let L;
|
|
15916
|
+
for (; L = t.default.exec(V); ) {
|
|
15917
|
+
const N = t.matchToToken(L);
|
|
16033
15918
|
yield {
|
|
16034
|
-
type: S(N,
|
|
15919
|
+
type: S(N, L.index, V),
|
|
16035
15920
|
value: N.value
|
|
16036
15921
|
};
|
|
16037
15922
|
}
|
|
@@ -16042,23 +15927,23 @@ function requireLib() {
|
|
|
16042
15927
|
const S = c(!0);
|
|
16043
15928
|
let V = "";
|
|
16044
15929
|
for (const {
|
|
16045
|
-
type:
|
|
15930
|
+
type: L,
|
|
16046
15931
|
value: N
|
|
16047
15932
|
} of m(C))
|
|
16048
|
-
|
|
15933
|
+
L in S ? V += N.split(d).map((A) => S[L](A)).join(`
|
|
16049
15934
|
`) : V += N;
|
|
16050
15935
|
return V;
|
|
16051
15936
|
}
|
|
16052
15937
|
let g = !1;
|
|
16053
15938
|
const _ = /\r\n|[\n\r\u2028\u2029]/;
|
|
16054
15939
|
function v(C, S, V) {
|
|
16055
|
-
const
|
|
15940
|
+
const L = Object.assign({
|
|
16056
15941
|
column: 0,
|
|
16057
15942
|
line: -1
|
|
16058
|
-
}, C.start), N = Object.assign({},
|
|
15943
|
+
}, C.start), N = Object.assign({}, L, C.end), {
|
|
16059
15944
|
linesAbove: A = 2,
|
|
16060
15945
|
linesBelow: R = 3
|
|
16061
|
-
} = V || {}, O =
|
|
15946
|
+
} = V || {}, O = L.line, z = L.column, D = N.line, j = N.column;
|
|
16062
15947
|
let Z = Math.max(O - (A + 1), 0), Q = Math.min(S.length, D + R);
|
|
16063
15948
|
O === -1 && (Z = 0), D === -1 && (Q = S.length);
|
|
16064
15949
|
const Y = D - O, w = {};
|
|
@@ -16086,19 +15971,19 @@ function requireLib() {
|
|
|
16086
15971
|
};
|
|
16087
15972
|
}
|
|
16088
15973
|
function b(C, S, V = {}) {
|
|
16089
|
-
const
|
|
15974
|
+
const L = V.forceColor || r() && V.highlightCode, N = c(L), A = C.split(_), {
|
|
16090
15975
|
start: R,
|
|
16091
15976
|
end: O,
|
|
16092
15977
|
markerLines: z
|
|
16093
15978
|
} = v(S, A, V), D = S.start && typeof S.start.column == "number", j = String(O).length;
|
|
16094
|
-
let Q = (
|
|
16095
|
-
const E = R + 1 + w, q = ` ${` ${E}`.slice(-j)} |`,
|
|
16096
|
-
if (
|
|
15979
|
+
let Q = (L ? p(C) : C).split(_, O).slice(R, O).map((Y, w) => {
|
|
15980
|
+
const E = R + 1 + w, q = ` ${` ${E}`.slice(-j)} |`, J = z[E], $ = !z[E + 1];
|
|
15981
|
+
if (J) {
|
|
16097
15982
|
let B = "";
|
|
16098
|
-
if (Array.isArray(
|
|
16099
|
-
const
|
|
15983
|
+
if (Array.isArray(J)) {
|
|
15984
|
+
const T = Y.slice(0, Math.max(J[0] - 1, 0)).replace(/[^\t]/g, " "), F = J[1] || 1;
|
|
16100
15985
|
B = [`
|
|
16101
|
-
`, N.gutter(q.replace(/\d/g, " ")), " ",
|
|
15986
|
+
`, N.gutter(q.replace(/\d/g, " ")), " ", T, N.marker("^").repeat(F)].join(""), $ && V.message && (B += " " + N.message(V.message));
|
|
16102
15987
|
}
|
|
16103
15988
|
return [N.marker(">"), N.gutter(q), Y.length > 0 ? ` ${Y}` : "", B].join("");
|
|
16104
15989
|
} else
|
|
@@ -16106,9 +15991,9 @@ function requireLib() {
|
|
|
16106
15991
|
}).join(`
|
|
16107
15992
|
`);
|
|
16108
15993
|
return V.message && !D && (Q = `${" ".repeat(j + 1)}${V.message}
|
|
16109
|
-
${Q}`),
|
|
15994
|
+
${Q}`), L ? N.reset(Q) : Q;
|
|
16110
15995
|
}
|
|
16111
|
-
function k(C, S, V,
|
|
15996
|
+
function k(C, S, V, L = {}) {
|
|
16112
15997
|
if (!g) {
|
|
16113
15998
|
g = !0;
|
|
16114
15999
|
const A = "Passing lineNumber and colNumber is deprecated to @babel/code-frame. Please use `codeFrameColumns`.";
|
|
@@ -16124,7 +16009,7 @@ ${Q}`), T ? N.reset(Q) : Q;
|
|
|
16124
16009
|
column: V,
|
|
16125
16010
|
line: S
|
|
16126
16011
|
}
|
|
16127
|
-
},
|
|
16012
|
+
}, L);
|
|
16128
16013
|
}
|
|
16129
16014
|
return lib$1.codeFrameColumns = b, lib$1.default = k, lib$1.highlight = p, lib$1;
|
|
16130
16015
|
}
|
|
@@ -17210,10 +17095,10 @@ var Collection$1 = /* @__PURE__ */ function(e) {
|
|
|
17210
17095
|
}, d);
|
|
17211
17096
|
if (!V) return d;
|
|
17212
17097
|
if (this.items.push(V), this.valueRange.end = V.valueRange.end, d = Node$1.normalizeOffset(i, V.range.end), f = i[d], m = !1, p = V.includesTrailingLines, f) {
|
|
17213
|
-
for (var
|
|
17214
|
-
N = i[--
|
|
17098
|
+
for (var L = d - 1, N = i[L]; N === " " || N === " "; )
|
|
17099
|
+
N = i[--L];
|
|
17215
17100
|
N === `
|
|
17216
|
-
` && (l =
|
|
17101
|
+
` && (l = L + 1, m = !0);
|
|
17217
17102
|
}
|
|
17218
17103
|
var A = grabCollectionEndComments(V);
|
|
17219
17104
|
A && Array.prototype.push.apply(this.items, A);
|
|
@@ -17506,13 +17391,13 @@ var Collection$1 = /* @__PURE__ */ function(e) {
|
|
|
17506
17391
|
` : v = `
|
|
17507
17392
|
`;
|
|
17508
17393
|
else {
|
|
17509
|
-
var V = Node$1.endOfLine(c, k),
|
|
17394
|
+
var V = Node$1.endOfLine(c, k), L = c.slice(k, V);
|
|
17510
17395
|
k = V, p && (S === " " || S === " ") && k < f ? (v === " " ? v = `
|
|
17511
17396
|
` : !b && !g && v === `
|
|
17512
17397
|
` && (v = `
|
|
17513
17398
|
|
|
17514
|
-
`), _ += v +
|
|
17515
|
-
`, b = !1), g &&
|
|
17399
|
+
`), _ += v + L, v = V < o && c[V] || "", b = !0) : (_ += v + L, v = p && k < f ? " " : `
|
|
17400
|
+
`, b = !1), g && L !== "" && (g = !1);
|
|
17516
17401
|
}
|
|
17517
17402
|
}
|
|
17518
17403
|
return this.chomping === Chomp.STRIP ? _ : _ + `
|
|
@@ -18245,10 +18130,10 @@ var isEmptyPath = function e(n) {
|
|
|
18245
18130
|
w && (!k && w.spaceBefore && Y.push({
|
|
18246
18131
|
type: "comment",
|
|
18247
18132
|
str: ""
|
|
18248
|
-
}), w.commentBefore && w.commentBefore.match(/^.*$/gm).forEach(function(
|
|
18133
|
+
}), w.commentBefore && w.commentBefore.match(/^.*$/gm).forEach(function(J) {
|
|
18249
18134
|
Y.push({
|
|
18250
18135
|
type: "comment",
|
|
18251
|
-
str: "#".concat(
|
|
18136
|
+
str: "#".concat(J)
|
|
18252
18137
|
});
|
|
18253
18138
|
}), w.comment && (M = w.comment), v && (!k && w.spaceBefore || w.commentBefore || w.comment || w.key && (w.key.commentBefore || w.key.comment) || w.value && (w.value.commentBefore || w.value.comment)) && (C = !0)), k = !1;
|
|
18254
18139
|
var q = _(w, r, function() {
|
|
@@ -18265,13 +18150,13 @@ var isEmptyPath = function e(n) {
|
|
|
18265
18150
|
if (S.length === 0)
|
|
18266
18151
|
V = u.start + u.end;
|
|
18267
18152
|
else if (v) {
|
|
18268
|
-
var
|
|
18153
|
+
var L = u.start, N = u.end, A = S.map(function(Y) {
|
|
18269
18154
|
return Y.str;
|
|
18270
18155
|
});
|
|
18271
18156
|
if (C || A.reduce(function(Y, w) {
|
|
18272
18157
|
return Y + w.length + 2;
|
|
18273
18158
|
}, 2) > t.maxFlowStringSingleLineLength) {
|
|
18274
|
-
V =
|
|
18159
|
+
V = L;
|
|
18275
18160
|
var R = _createForOfIteratorHelper(A), O;
|
|
18276
18161
|
try {
|
|
18277
18162
|
for (R.s(); !(O = R.n()).done; ) {
|
|
@@ -18288,7 +18173,7 @@ var isEmptyPath = function e(n) {
|
|
|
18288
18173
|
V += `
|
|
18289
18174
|
`.concat(p).concat(N);
|
|
18290
18175
|
} else
|
|
18291
|
-
V = "".concat(
|
|
18176
|
+
V = "".concat(L, " ").concat(A.join(" "), " ").concat(N);
|
|
18292
18177
|
} else {
|
|
18293
18178
|
var D = S.map(c);
|
|
18294
18179
|
V = D.shift();
|
|
@@ -18477,12 +18362,12 @@ var YAMLSeq = /* @__PURE__ */ function(e) {
|
|
|
18477
18362
|
return this.comment ? (V = addComment(V, r.indent, this.comment), s && s()) : S && !m && o && o(), r.inFlow && !g ? V : "? ".concat(V);
|
|
18478
18363
|
V = g ? "? ".concat(V, `
|
|
18479
18364
|
`).concat(b, ":") : "".concat(V, ":"), this.comment && (V = addComment(V, r.indent, this.comment), s && s());
|
|
18480
|
-
var
|
|
18365
|
+
var L = "", N = null;
|
|
18481
18366
|
if (f instanceof Node) {
|
|
18482
|
-
if (f.spaceBefore && (
|
|
18367
|
+
if (f.spaceBefore && (L = `
|
|
18483
18368
|
`), f.commentBefore) {
|
|
18484
18369
|
var A = f.commentBefore.replace(/^/gm, "".concat(r.indent, "#"));
|
|
18485
|
-
|
|
18370
|
+
L += `
|
|
18486
18371
|
`.concat(A);
|
|
18487
18372
|
}
|
|
18488
18373
|
N = f.comment;
|
|
@@ -18493,8 +18378,8 @@ var YAMLSeq = /* @__PURE__ */ function(e) {
|
|
|
18493
18378
|
}, function() {
|
|
18494
18379
|
return S = !0;
|
|
18495
18380
|
}), O = " ";
|
|
18496
|
-
if (
|
|
18497
|
-
O = "".concat(
|
|
18381
|
+
if (L || this.comment)
|
|
18382
|
+
O = "".concat(L, `
|
|
18498
18383
|
`).concat(r.indent);
|
|
18499
18384
|
else if (!g && f instanceof Collection) {
|
|
18500
18385
|
var z = R[0] === "[" || R[0] === "{";
|
|
@@ -18839,9 +18724,9 @@ function foldFlowLines(e, n, t, a) {
|
|
|
18839
18724
|
else if (t === FOLD_QUOTED) {
|
|
18840
18725
|
for (; _ === " " || _ === " "; )
|
|
18841
18726
|
_ = S, S = e[b += 1], v = !0;
|
|
18842
|
-
var
|
|
18843
|
-
if (m[
|
|
18844
|
-
f.push(
|
|
18727
|
+
var L = b > C + 1 ? b - 2 : k - 1;
|
|
18728
|
+
if (m[L]) return e;
|
|
18729
|
+
f.push(L), m[L] = !0, p = L + d, g = void 0;
|
|
18845
18730
|
} else
|
|
18846
18731
|
v = !0;
|
|
18847
18732
|
}
|
|
@@ -21553,8 +21438,8 @@ function requireDist() {
|
|
|
21553
21438
|
function d(S, V = {}) {
|
|
21554
21439
|
if (V.configName === "options")
|
|
21555
21440
|
throw new Error('You cannot use the configName "options". It is reserved for babel-plugin-macros.');
|
|
21556
|
-
return
|
|
21557
|
-
function
|
|
21441
|
+
return L.isBabelMacro = !0, L.options = V, L;
|
|
21442
|
+
function L(N) {
|
|
21558
21443
|
const {
|
|
21559
21444
|
source: A,
|
|
21560
21445
|
isBabelMacrosCall: R
|
|
@@ -21574,12 +21459,12 @@ function requireDist() {
|
|
|
21574
21459
|
}
|
|
21575
21460
|
function m(S, V = {}) {
|
|
21576
21461
|
let {
|
|
21577
|
-
require:
|
|
21462
|
+
require: L = commonjsRequire,
|
|
21578
21463
|
resolvePath: N = f,
|
|
21579
21464
|
isMacrosName: A = i
|
|
21580
21465
|
} = V, R = (0, a.default)(V, ["require", "resolvePath", "isMacrosName"]);
|
|
21581
21466
|
function O(z) {
|
|
21582
|
-
const D =
|
|
21467
|
+
const D = L(z);
|
|
21583
21468
|
return D && D.__esModule && D.default ? D.default : D;
|
|
21584
21469
|
}
|
|
21585
21470
|
return {
|
|
@@ -21651,7 +21536,7 @@ function requireDist() {
|
|
|
21651
21536
|
function p({
|
|
21652
21537
|
path: S,
|
|
21653
21538
|
imports: V,
|
|
21654
|
-
source:
|
|
21539
|
+
source: L,
|
|
21655
21540
|
state: N,
|
|
21656
21541
|
babel: A,
|
|
21657
21542
|
interopRequire: R,
|
|
@@ -21667,15 +21552,15 @@ function requireDist() {
|
|
|
21667
21552
|
} = N;
|
|
21668
21553
|
let j = !1;
|
|
21669
21554
|
const Z = V.reduce((q, {
|
|
21670
|
-
importedName:
|
|
21555
|
+
importedName: J,
|
|
21671
21556
|
localName: $
|
|
21672
21557
|
}) => {
|
|
21673
21558
|
const B = S.scope.getBinding($);
|
|
21674
|
-
return q[
|
|
21675
|
-
}, {}), Q =
|
|
21559
|
+
return q[J] = B.referencePaths, j = j || !!q[J].length, q;
|
|
21560
|
+
}, {}), Q = L.indexOf(".") === 0, Y = O(L, r.dirname(b(D))), w = R(Y);
|
|
21676
21561
|
if (!w.isBabelMacro)
|
|
21677
|
-
throw new Error(`The macro imported from "${
|
|
21678
|
-
const E = v(w, D,
|
|
21562
|
+
throw new Error(`The macro imported from "${L}" must be wrapped in "createMacro" which you can get from "babel-plugin-macros". Please refer to the documentation to see how to do this properly: https://github.com/kentcdodds/babel-plugin-macros/blob/master/other/docs/author.md#writing-a-macro`);
|
|
21563
|
+
const E = v(w, D, L, z);
|
|
21679
21564
|
let M;
|
|
21680
21565
|
try {
|
|
21681
21566
|
N.file.scope.path.traverse({
|
|
@@ -21683,14 +21568,14 @@ function requireDist() {
|
|
|
21683
21568
|
}
|
|
21684
21569
|
}), M = w({
|
|
21685
21570
|
references: Z,
|
|
21686
|
-
source:
|
|
21571
|
+
source: L,
|
|
21687
21572
|
state: N,
|
|
21688
21573
|
babel: A,
|
|
21689
21574
|
config: E,
|
|
21690
21575
|
isBabelMacrosCall: !0
|
|
21691
21576
|
});
|
|
21692
21577
|
} catch (q) {
|
|
21693
|
-
throw q.name === "MacroError" || (q.message = `${
|
|
21578
|
+
throw q.name === "MacroError" || (q.message = `${L}: ${q.message}`, Q || (q.message = `${q.message} Learn more: https://www.npmjs.com/package/${L.replace(
|
|
21694
21579
|
// remove everything after package name
|
|
21695
21580
|
// @org/package/macro -> @org/package
|
|
21696
21581
|
// package/macro -> package
|
|
@@ -21702,15 +21587,15 @@ function requireDist() {
|
|
|
21702
21587
|
}
|
|
21703
21588
|
function g(S, V) {
|
|
21704
21589
|
try {
|
|
21705
|
-
const
|
|
21706
|
-
if (
|
|
21590
|
+
const L = u().search(V);
|
|
21591
|
+
if (L)
|
|
21707
21592
|
return {
|
|
21708
|
-
options:
|
|
21709
|
-
path:
|
|
21593
|
+
options: L.config[S],
|
|
21594
|
+
path: L.filepath
|
|
21710
21595
|
};
|
|
21711
|
-
} catch (
|
|
21596
|
+
} catch (L) {
|
|
21712
21597
|
return {
|
|
21713
|
-
error:
|
|
21598
|
+
error: L
|
|
21714
21599
|
};
|
|
21715
21600
|
}
|
|
21716
21601
|
return {};
|
|
@@ -21725,14 +21610,14 @@ function requireDist() {
|
|
|
21725
21610
|
};
|
|
21726
21611
|
return {};
|
|
21727
21612
|
}
|
|
21728
|
-
function v(S, V,
|
|
21613
|
+
function v(S, V, L, N) {
|
|
21729
21614
|
const {
|
|
21730
21615
|
configName: A
|
|
21731
21616
|
} = S.options;
|
|
21732
21617
|
if (A) {
|
|
21733
21618
|
const R = g(A, V), O = _(A, N);
|
|
21734
21619
|
if (O.options === void 0 && R.options === void 0 && R.error !== void 0)
|
|
21735
|
-
throw console.error(`There was an error trying to load the config "${A}" for the macro imported from "${
|
|
21620
|
+
throw console.error(`There was an error trying to load the config "${A}" for the macro imported from "${L}. Please see the error thrown for more information.`), R.error;
|
|
21736
21621
|
if (R.options !== void 0 && O.options !== void 0 && typeof R.options != "object")
|
|
21737
21622
|
throw new Error(`${R.path} specified a ${A} config of type ${typeof O.options}, but the the macros plugin's options.${A} did contain an object. Both configs must contain objects for their options to be mergeable.`);
|
|
21738
21623
|
return (0, t.default)({}, O.options, {}, R.options);
|
|
@@ -21742,8 +21627,8 @@ function requireDist() {
|
|
|
21742
21627
|
return r.isAbsolute(S) ? S : r.join(process.cwd(), S);
|
|
21743
21628
|
}
|
|
21744
21629
|
function k(S, V) {
|
|
21745
|
-
return S && V && Object.keys(V).every((
|
|
21746
|
-
const N = V[
|
|
21630
|
+
return S && V && Object.keys(V).every((L) => {
|
|
21631
|
+
const N = V[L], A = S[L];
|
|
21747
21632
|
return typeof N == "function" ? N(A) : C(N) ? N === A : k(A, N);
|
|
21748
21633
|
});
|
|
21749
21634
|
}
|
|
@@ -22530,7 +22415,7 @@ const VsHeroSectionVideoControl = /* @__PURE__ */ _export_sfc(_sfc_main$1d, [["r
|
|
|
22530
22415
|
}, _hoisted_3$A = ["poster"], _hoisted_4$s = ["src"], _hoisted_5$j = {
|
|
22531
22416
|
key: 2,
|
|
22532
22417
|
class: "vs-hero-section__divider"
|
|
22533
|
-
}, _hoisted_6$e = { class: "vs-hero-section__text" }, _hoisted_7$c = ["innerHTML"], _hoisted_8$
|
|
22418
|
+
}, _hoisted_6$e = { class: "vs-hero-section__text" }, _hoisted_7$c = ["innerHTML"], _hoisted_8$4 = { class: "mb-0" };
|
|
22534
22419
|
function _sfc_render$12(e, n, t, a, r, s) {
|
|
22535
22420
|
const o = resolveComponent("VsHeroSectionImage"), i = resolveComponent("VsHeading"), l = resolveComponent("VsBody"), c = resolveComponent("VsHeroSectionVideoControl");
|
|
22536
22421
|
return openBlock(), createElementBlock("div", {
|
|
@@ -22592,7 +22477,7 @@ function _sfc_render$12(e, n, t, a, r, s) {
|
|
|
22592
22477
|
variant: "lead"
|
|
22593
22478
|
}, {
|
|
22594
22479
|
default: withCtx(() => [
|
|
22595
|
-
createElementVNode("p", _hoisted_8$
|
|
22480
|
+
createElementVNode("p", _hoisted_8$4, toDisplayString(t.lede), 1)
|
|
22596
22481
|
]),
|
|
22597
22482
|
_: 1
|
|
22598
22483
|
})) : createCommentVNode("", !0)
|
|
@@ -22923,7 +22808,7 @@ const VsToggleButton = /* @__PURE__ */ _export_sfc(_sfc_main$17, [["render", _sf
|
|
|
22923
22808
|
return typeof this.videoDetails < "u" && this.videoDetails.videoDuration > 0;
|
|
22924
22809
|
},
|
|
22925
22810
|
showCookieMessage() {
|
|
22926
|
-
return !!(!this.
|
|
22811
|
+
return !!(!this.cookiesAllowed && this.noCookiesMessage);
|
|
22927
22812
|
}
|
|
22928
22813
|
},
|
|
22929
22814
|
methods: {
|
|
@@ -22945,9 +22830,6 @@ const VsToggleButton = /* @__PURE__ */ _export_sfc(_sfc_main$17, [["render", _sf
|
|
|
22945
22830
|
class: "vs-video-caption vs-video-caption--warning"
|
|
22946
22831
|
}, _hoisted_7$b = {
|
|
22947
22832
|
key: 2,
|
|
22948
|
-
class: "vs-video-caption vs-video-caption--warning"
|
|
22949
|
-
}, _hoisted_8$4 = {
|
|
22950
|
-
key: 3,
|
|
22951
22833
|
class: "vs-video-caption vs-video-caption--no-js vs-video-caption--warning",
|
|
22952
22834
|
"data-test": "video-caption-nojs"
|
|
22953
22835
|
};
|
|
@@ -22957,7 +22839,7 @@ function _sfc_render$Y(e, n, t, a, r, s) {
|
|
|
22957
22839
|
"data-test": "video-caption",
|
|
22958
22840
|
class: normalizeClass(["vs-video-caption__wrapper", `vs-video-caption__wrapper--${t.variant}`])
|
|
22959
22841
|
}, [
|
|
22960
|
-
s.videoLoaded && e.
|
|
22842
|
+
s.videoLoaded && e.cookiesAllowed ? (openBlock(), createElementBlock("div", {
|
|
22961
22843
|
"data-test": "video-caption-variants",
|
|
22962
22844
|
class: normalizeClass(["vs-video-caption", `vs-video-caption--${t.variant}`]),
|
|
22963
22845
|
key: "video-caption"
|
|
@@ -22990,14 +22872,14 @@ function _sfc_render$Y(e, n, t, a, r, s) {
|
|
|
22990
22872
|
__: [0]
|
|
22991
22873
|
}, 8, ["onToggleAction"])) : createCommentVNode("", !0)
|
|
22992
22874
|
])) : createCommentVNode("", !0),
|
|
22993
|
-
e.
|
|
22875
|
+
e.cookiesAllowed ? (openBlock(), createElementBlock("div", _hoisted_3$x, [
|
|
22994
22876
|
createElementVNode("p", _hoisted_4$q, [
|
|
22995
22877
|
renderSlot(e.$slots, "video-title")
|
|
22996
22878
|
]),
|
|
22997
22879
|
createElementVNode("p", _hoisted_5$i, toDisplayString(s.videoDetails.videoDurationMsg), 1)
|
|
22998
22880
|
])) : createCommentVNode("", !0)
|
|
22999
22881
|
], 2)) : createCommentVNode("", !0),
|
|
23000
|
-
!(s.videoLoaded && e.
|
|
22882
|
+
!(s.videoLoaded && e.cookiesAllowed) && s.showCookieMessage ? (openBlock(), createElementBlock("div", _hoisted_6$d, [
|
|
23001
22883
|
createVNode(l, {
|
|
23002
22884
|
size: "small",
|
|
23003
22885
|
type: "cookie"
|
|
@@ -23011,15 +22893,7 @@ function _sfc_render$Y(e, n, t, a, r, s) {
|
|
|
23011
22893
|
_: 1
|
|
23012
22894
|
})
|
|
23013
22895
|
])) : createCommentVNode("", !0),
|
|
23014
|
-
|
|
23015
|
-
createVNode(l, { size: "small" }, {
|
|
23016
|
-
default: withCtx(() => [
|
|
23017
|
-
createTextVNode(toDisplayString(s.errorMessage), 1)
|
|
23018
|
-
]),
|
|
23019
|
-
_: 1
|
|
23020
|
-
})
|
|
23021
|
-
])) : createCommentVNode("", !0),
|
|
23022
|
-
s.noJsMessage ? (openBlock(), createElementBlock("div", _hoisted_8$4, [
|
|
22896
|
+
s.noJsMessage ? (openBlock(), createElementBlock("div", _hoisted_7$b, [
|
|
23023
22897
|
createVNode(l, { size: "small" }, {
|
|
23024
22898
|
default: withCtx(() => [
|
|
23025
22899
|
createTextVNode(toDisplayString(s.noJsMessage), 1)
|
|
@@ -23183,7 +23057,7 @@ const VsVideoCaption = /* @__PURE__ */ _export_sfc(_sfc_main$16, [["render", _sf
|
|
|
23183
23057
|
return {
|
|
23184
23058
|
"vs-image-with-caption--closed-default": this.closedDefaultCaption,
|
|
23185
23059
|
"vs-image-with-caption--hero": this.isHeroImage,
|
|
23186
|
-
"vs-image-with-caption--show-caption": !this.
|
|
23060
|
+
"vs-image-with-caption--show-caption": !this.cookiesAllowed && this.cookiesLoaded,
|
|
23187
23061
|
"vs-image-with-caption--video": this.isVideo,
|
|
23188
23062
|
"vs-image-with-caption--svg": this.isSvg
|
|
23189
23063
|
};
|
|
@@ -28759,12 +28633,12 @@ const _hoisted_1$m = {
|
|
|
28759
28633
|
getItemProps: C,
|
|
28760
28634
|
getItemEventListeners: S,
|
|
28761
28635
|
getComboboxProps: V,
|
|
28762
|
-
openMenu:
|
|
28636
|
+
openMenu: L
|
|
28763
28637
|
}) => [
|
|
28764
28638
|
createElementVNode("div", mergeProps(V(), { class: "vs-autocomplete__list-wrapper" }), [
|
|
28765
28639
|
createElementVNode("input", mergeProps({ class: "vs-input form-control" }, p(), toHandlers(g(), !0), {
|
|
28766
28640
|
placeholder: f.placeholder,
|
|
28767
|
-
onClick: (N) =>
|
|
28641
|
+
onClick: (N) => L()
|
|
28768
28642
|
}), null, 16, _hoisted_3$d),
|
|
28769
28643
|
createVNode(VsIcon, {
|
|
28770
28644
|
icon: "vs-icon-control-expand",
|
|
@@ -29046,12 +28920,12 @@ const _hoisted_1$m = {
|
|
|
29046
28920
|
S.push(C), c.value = S, u.value = S.length, i.value = !0, r.value = r.value + adultDefaultCount;
|
|
29047
28921
|
}
|
|
29048
28922
|
}, b = (C, S, V) => {
|
|
29049
|
-
const
|
|
29050
|
-
c.value.splice(
|
|
28923
|
+
const L = c.value.findIndex((N) => N.id === V);
|
|
28924
|
+
c.value.splice(L, 1), u.value = c.value.length, m.value = !0, r.value = r.value - C, l.value = l.value - S, c.value.length === 1 && (i.value = !1);
|
|
29051
28925
|
}, k = (C, S, V) => {
|
|
29052
28926
|
r.value = C === "increase" ? r.value + 1 : r.value - 1, S !== "adults" && (l.value = C === "increase" ? l.value + 1 : l.value - 1);
|
|
29053
|
-
const
|
|
29054
|
-
c.value[
|
|
28927
|
+
const L = c.value.findIndex((N) => N.id === V);
|
|
28928
|
+
c.value[L].numberGroups[S].count = C === "increase" ? c.value[L].numberGroups[S].count + 1 : c.value[L].numberGroups[S].count - 1;
|
|
29055
28929
|
};
|
|
29056
28930
|
return (C, S) => (openBlock(), createElementBlock("div", _hoisted_1$j, [
|
|
29057
28931
|
createElementVNode("span", _hoisted_2$e, toDisplayString(unref(o)), 1),
|
|
@@ -29085,11 +28959,11 @@ const _hoisted_1$m = {
|
|
|
29085
28959
|
_: 1
|
|
29086
28960
|
}),
|
|
29087
28961
|
createElementVNode("div", _hoisted_4$8, [
|
|
29088
|
-
(openBlock(!0), createElementBlock(Fragment, null, renderList(c.value, (V,
|
|
28962
|
+
(openBlock(!0), createElementBlock(Fragment, null, renderList(c.value, (V, L) => (openBlock(), createBlock(_sfc_main$u, {
|
|
29089
28963
|
key: V.id,
|
|
29090
|
-
name: "r" + (
|
|
28964
|
+
name: "r" + (L + 1),
|
|
29091
28965
|
"show-remove-btn": i.value,
|
|
29092
|
-
"unit-label": unref(getLabelText)("room", "Room", "guests_rooms") + " " + (
|
|
28966
|
+
"unit-label": unref(getLabelText)("room", "Room", "guests_rooms") + " " + (L + 1),
|
|
29093
28967
|
"unit-options": V,
|
|
29094
28968
|
"unit-removed": m.value,
|
|
29095
28969
|
onNumberChange: k,
|
|
@@ -29395,7 +29269,7 @@ const _hoisted_1$m = {
|
|
|
29395
29269
|
w.forEach((M) => {
|
|
29396
29270
|
E.push(M);
|
|
29397
29271
|
}), S.value = E;
|
|
29398
|
-
},
|
|
29272
|
+
}, L = computed$1(() => t.value ? [] : S.value.map((E) => ({
|
|
29399
29273
|
...E,
|
|
29400
29274
|
text: getProductName(E.value, E.text)
|
|
29401
29275
|
}))), N = async () => {
|
|
@@ -29434,7 +29308,7 @@ const _hoisted_1$m = {
|
|
|
29434
29308
|
}, 500);
|
|
29435
29309
|
};
|
|
29436
29310
|
return (w, E) => {
|
|
29437
|
-
var M, q,
|
|
29311
|
+
var M, q, J, $, B, T;
|
|
29438
29312
|
return openBlock(), createElementBlock("div", _hoisted_1$g, [
|
|
29439
29313
|
t.value ? createCommentVNode("", !0) : (openBlock(), createElementBlock("div", _hoisted_2$b, [
|
|
29440
29314
|
createElementVNode("div", _hoisted_3$7, [
|
|
@@ -29452,7 +29326,7 @@ const _hoisted_1$m = {
|
|
|
29452
29326
|
class: normalizeClass(Z.value)
|
|
29453
29327
|
}, [
|
|
29454
29328
|
createVNode(VsSelect, {
|
|
29455
|
-
options:
|
|
29329
|
+
options: L.value,
|
|
29456
29330
|
value: e.defaultProd,
|
|
29457
29331
|
onUpdated: E[0] || (E[0] = (F) => z(F)),
|
|
29458
29332
|
"field-name": "prodtypes"
|
|
@@ -29485,7 +29359,7 @@ const _hoisted_1$m = {
|
|
|
29485
29359
|
key: 2,
|
|
29486
29360
|
type: "hidden",
|
|
29487
29361
|
name: "locpoly",
|
|
29488
|
-
disabled: ((
|
|
29362
|
+
disabled: ((J = unref(s)) == null ? void 0 : J.type) !== "POLYGON",
|
|
29489
29363
|
value: (($ = unref(s)) == null ? void 0 : $.key) || ""
|
|
29490
29364
|
}, null, 8, _hoisted_11$2)) : createCommentVNode("", !0),
|
|
29491
29365
|
a.value !== "tour" ? (openBlock(), createElementBlock("input", {
|
|
@@ -29494,7 +29368,7 @@ const _hoisted_1$m = {
|
|
|
29494
29368
|
name: "locprox",
|
|
29495
29369
|
value: ((B = unref(s)) == null ? void 0 : B.type) === "DISTRICT" ? 1 : 0
|
|
29496
29370
|
}, null, 8, _hoisted_12$2)) : createCommentVNode("", !0),
|
|
29497
|
-
a.value !== "tour" && ((
|
|
29371
|
+
a.value !== "tour" && ((T = unref(s)) == null ? void 0 : T.type) === "DISTRICT" ? (openBlock(), createElementBlock("input", _hoisted_13$2)) : createCommentVNode("", !0),
|
|
29498
29372
|
a.value === "even" || a.value === "acco" ? (openBlock(), createElementBlock("div", _hoisted_14$1, [
|
|
29499
29373
|
createVNode(_sfc_main$r, {
|
|
29500
29374
|
"start-label": unref(getLabelText)("startdate", "Start Date", "dates"),
|
|
@@ -31428,11 +31302,11 @@ function _sfc_render$d(e, n, t, a, r, s) {
|
|
|
31428
31302
|
}),
|
|
31429
31303
|
createVNode(v, null, {
|
|
31430
31304
|
default: withCtx(() => [
|
|
31431
|
-
(openBlock(!0), createElementBlock(Fragment, null, renderList(r.lifts, (
|
|
31432
|
-
key:
|
|
31305
|
+
(openBlock(!0), createElementBlock(Fragment, null, renderList(r.lifts, (L) => (openBlock(), createBlock(_, {
|
|
31306
|
+
key: L.name
|
|
31433
31307
|
}, {
|
|
31434
31308
|
default: withCtx(() => [
|
|
31435
|
-
|
|
31309
|
+
L.status === "0" || L.status === 0 ? (openBlock(), createBlock(g, { key: 0 }, {
|
|
31436
31310
|
default: withCtx(() => [
|
|
31437
31311
|
createVNode(p, {
|
|
31438
31312
|
icon: "fa-regular fa-ban",
|
|
@@ -31443,7 +31317,7 @@ function _sfc_render$d(e, n, t, a, r, s) {
|
|
|
31443
31317
|
]),
|
|
31444
31318
|
_: 1
|
|
31445
31319
|
})) : createCommentVNode("", !0),
|
|
31446
|
-
|
|
31320
|
+
L.status === "1" || L.status === 1 ? (openBlock(), createBlock(g, { key: 1 }, {
|
|
31447
31321
|
default: withCtx(() => [
|
|
31448
31322
|
createVNode(p, {
|
|
31449
31323
|
icon: "fa-regular fa-check",
|
|
@@ -31454,7 +31328,7 @@ function _sfc_render$d(e, n, t, a, r, s) {
|
|
|
31454
31328
|
]),
|
|
31455
31329
|
_: 1
|
|
31456
31330
|
})) : createCommentVNode("", !0),
|
|
31457
|
-
|
|
31331
|
+
L.status === "2" || L.status === 2 ? (openBlock(), createBlock(g, { key: 2 }, {
|
|
31458
31332
|
default: withCtx(() => [
|
|
31459
31333
|
createVNode(p, {
|
|
31460
31334
|
icon: "fa-regular fa-timer",
|
|
@@ -31465,7 +31339,7 @@ function _sfc_render$d(e, n, t, a, r, s) {
|
|
|
31465
31339
|
]),
|
|
31466
31340
|
_: 1
|
|
31467
31341
|
})) : createCommentVNode("", !0),
|
|
31468
|
-
|
|
31342
|
+
L.status === "3" || L.status === 3 ? (openBlock(), createBlock(g, { key: 3 }, {
|
|
31469
31343
|
default: withCtx(() => [
|
|
31470
31344
|
createVNode(p, {
|
|
31471
31345
|
icon: "fa-regular fa-ski-boot-ski",
|
|
@@ -31476,7 +31350,7 @@ function _sfc_render$d(e, n, t, a, r, s) {
|
|
|
31476
31350
|
]),
|
|
31477
31351
|
_: 1
|
|
31478
31352
|
})) : createCommentVNode("", !0),
|
|
31479
|
-
|
|
31353
|
+
L.status === "4" || L.status === 4 ? (openBlock(), createBlock(g, { key: 4 }, {
|
|
31480
31354
|
default: withCtx(() => [
|
|
31481
31355
|
createVNode(p, {
|
|
31482
31356
|
icon: "fa-regular fa-hourglass",
|
|
@@ -31489,7 +31363,7 @@ function _sfc_render$d(e, n, t, a, r, s) {
|
|
|
31489
31363
|
})) : createCommentVNode("", !0),
|
|
31490
31364
|
createVNode(g, null, {
|
|
31491
31365
|
default: withCtx(() => [
|
|
31492
|
-
createTextVNode(toDisplayString(
|
|
31366
|
+
createTextVNode(toDisplayString(L.name), 1)
|
|
31493
31367
|
]),
|
|
31494
31368
|
_: 2
|
|
31495
31369
|
}, 1024)
|
|
@@ -31544,28 +31418,28 @@ function _sfc_render$d(e, n, t, a, r, s) {
|
|
|
31544
31418
|
]),
|
|
31545
31419
|
_: 1
|
|
31546
31420
|
}),
|
|
31547
|
-
(openBlock(!0), createElementBlock(Fragment, null, renderList(s.filteredRunLevels, (
|
|
31548
|
-
key:
|
|
31421
|
+
(openBlock(!0), createElementBlock(Fragment, null, renderList(s.filteredRunLevels, (L) => (openBlock(), createElementBlock("div", {
|
|
31422
|
+
key: L.name
|
|
31549
31423
|
}, [
|
|
31550
31424
|
createVNode(V, null, {
|
|
31551
31425
|
default: withCtx(() => [
|
|
31552
31426
|
createVNode(S, {
|
|
31553
31427
|
variant: "subtle",
|
|
31554
|
-
"control-id": `accordion_item_${
|
|
31555
|
-
"colour-badge":
|
|
31428
|
+
"control-id": `accordion_item_${L.name}`,
|
|
31429
|
+
"colour-badge": L.colourToken
|
|
31556
31430
|
}, {
|
|
31557
31431
|
title: withCtx(() => [
|
|
31558
31432
|
createElementVNode("div", {
|
|
31559
|
-
"data-test": `vs-ski__${
|
|
31433
|
+
"data-test": `vs-ski__${L.name}-label`,
|
|
31560
31434
|
class: "d-inline-block"
|
|
31561
31435
|
}, [
|
|
31562
|
-
createElementVNode("span", _hoisted_17, toDisplayString(s.getColourLabel(
|
|
31563
|
-
createTextVNode(" " + toDisplayString(
|
|
31436
|
+
createElementVNode("span", _hoisted_17, toDisplayString(s.getColourLabel(L.colour)), 1),
|
|
31437
|
+
createTextVNode(" " + toDisplayString(L.name), 1)
|
|
31564
31438
|
], 8, _hoisted_16)
|
|
31565
31439
|
]),
|
|
31566
31440
|
default: withCtx(() => [
|
|
31567
31441
|
createVNode(k, {
|
|
31568
|
-
"table-caption": `${
|
|
31442
|
+
"table-caption": `${L.colour} - ${L.name}`,
|
|
31569
31443
|
class: "vs-ski-scotland-status__run-status-table"
|
|
31570
31444
|
}, {
|
|
31571
31445
|
default: withCtx(() => [
|
|
@@ -31588,9 +31462,9 @@ function _sfc_render$d(e, n, t, a, r, s) {
|
|
|
31588
31462
|
}),
|
|
31589
31463
|
createVNode(v, null, {
|
|
31590
31464
|
default: withCtx(() => [
|
|
31591
|
-
(openBlock(!0), createElementBlock(Fragment, null, renderList(
|
|
31465
|
+
(openBlock(!0), createElementBlock(Fragment, null, renderList(L.runs, (N) => (openBlock(), createBlock(_, {
|
|
31592
31466
|
key: N.name,
|
|
31593
|
-
"data-test": `vs-ski__${
|
|
31467
|
+
"data-test": `vs-ski__${L.name}-row`
|
|
31594
31468
|
}, {
|
|
31595
31469
|
default: withCtx(() => [
|
|
31596
31470
|
N.status === "0" || N.status === 0 ? (openBlock(), createBlock(g, { key: 0 }, {
|
|
@@ -33025,11 +32899,11 @@ function setup(e) {
|
|
|
33025
32899
|
const v = g, b = Number(/* @__PURE__ */ new Date()), k = b - (d || b);
|
|
33026
32900
|
v.diff = k, v.prev = d, v.curr = b, d = b, _[0] = t.coerce(_[0]), typeof _[0] != "string" && _.unshift("%O");
|
|
33027
32901
|
let C = 0;
|
|
33028
|
-
_[0] = _[0].replace(/%([a-zA-Z%])/g, (V,
|
|
32902
|
+
_[0] = _[0].replace(/%([a-zA-Z%])/g, (V, L) => {
|
|
33029
32903
|
if (V === "%%")
|
|
33030
32904
|
return "%";
|
|
33031
32905
|
C++;
|
|
33032
|
-
const N = t.formatters[
|
|
32906
|
+
const N = t.formatters[L];
|
|
33033
32907
|
if (typeof N == "function") {
|
|
33034
32908
|
const A = _[C];
|
|
33035
32909
|
V = N.call(v, A), _.splice(C, 1), C--;
|
|
@@ -33312,14 +33186,14 @@ var functionNamesExports = functionNames.exports;
|
|
|
33312
33186
|
const k = s.default[_], C = b.getPlayerState(), S = b[_].apply(b, v);
|
|
33313
33187
|
return k.stateChangeRequired || // eslint-disable-next-line no-extra-parens
|
|
33314
33188
|
Array.isArray(k.acceptableStates) && !k.acceptableStates.includes(C) ? new Promise((V) => {
|
|
33315
|
-
const
|
|
33189
|
+
const L = () => {
|
|
33316
33190
|
const N = b.getPlayerState();
|
|
33317
33191
|
let A;
|
|
33318
33192
|
typeof k.timeout == "number" && (A = setTimeout(() => {
|
|
33319
|
-
b.removeEventListener("onStateChange",
|
|
33320
|
-
}, k.timeout)), Array.isArray(k.acceptableStates) && k.acceptableStates.includes(N) && (b.removeEventListener("onStateChange",
|
|
33193
|
+
b.removeEventListener("onStateChange", L), V();
|
|
33194
|
+
}, k.timeout)), Array.isArray(k.acceptableStates) && k.acceptableStates.includes(N) && (b.removeEventListener("onStateChange", L), clearTimeout(A), V());
|
|
33321
33195
|
};
|
|
33322
|
-
b.addEventListener("onStateChange",
|
|
33196
|
+
b.addEventListener("onStateChange", L);
|
|
33323
33197
|
}).then(() => S) : S;
|
|
33324
33198
|
}) : g[_] = (...v) => m.then((b) => b[_].apply(b, v));
|
|
33325
33199
|
return g;
|
|
@@ -33627,11 +33501,11 @@ const cookieValues = cookieValues$5.youtube, _sfc_main = {
|
|
|
33627
33501
|
},
|
|
33628
33502
|
computed: {
|
|
33629
33503
|
showError() {
|
|
33630
|
-
return !this.
|
|
33504
|
+
return !this.cookiesAllowed && this.cookiesLoaded === !0 || this.cookiesLoaded === !1;
|
|
33631
33505
|
},
|
|
33632
33506
|
warningText() {
|
|
33633
33507
|
let e = "";
|
|
33634
|
-
return this.videoId && this.jsDisabled && (e = this.noJsMessage),
|
|
33508
|
+
return this.videoId && this.jsDisabled && (e = this.noJsMessage), !this.cookiesAllowed && this.cookiesLoaded === !0 && (e = this.noCookiesMessage), e;
|
|
33635
33509
|
},
|
|
33636
33510
|
player() {
|
|
33637
33511
|
return this.$refs.youtube ? this.$refs.youtube.player : null;
|
|
@@ -33760,7 +33634,7 @@ function _sfc_render(e, n, t, a, r, s) {
|
|
|
33760
33634
|
const o = resolveComponent("VueYoutube"), i = resolveComponent("VsWarning");
|
|
33761
33635
|
return r.reRendering ? createCommentVNode("", !0) : (openBlock(), createElementBlock("div", _hoisted_1, [
|
|
33762
33636
|
createElementVNode("div", _hoisted_2, [
|
|
33763
|
-
e.
|
|
33637
|
+
e.cookiesAllowed ? (openBlock(), createElementBlock("div", _hoisted_3, [
|
|
33764
33638
|
createVNode(o, {
|
|
33765
33639
|
autoplay: 0,
|
|
33766
33640
|
"video-id": t.videoId,
|
|
@@ -33775,7 +33649,7 @@ function _sfc_render(e, n, t, a, r, s) {
|
|
|
33775
33649
|
])) : createCommentVNode("", !0),
|
|
33776
33650
|
s.showError ? (openBlock(), createBlock(i, {
|
|
33777
33651
|
key: 1,
|
|
33778
|
-
type: e.
|
|
33652
|
+
type: e.cookiesLoaded === !0 ? "cookie" : "normal",
|
|
33779
33653
|
"data-test": "vs-video__warning",
|
|
33780
33654
|
class: "vs-video__warning"
|
|
33781
33655
|
}, createSlots({
|
|
@@ -33784,7 +33658,7 @@ function _sfc_render(e, n, t, a, r, s) {
|
|
|
33784
33658
|
]),
|
|
33785
33659
|
_: 2
|
|
33786
33660
|
}, [
|
|
33787
|
-
!e.
|
|
33661
|
+
!e.cookiesAllowed && e.cookiesLoaded === !0 ? {
|
|
33788
33662
|
name: "button-text",
|
|
33789
33663
|
fn: withCtx(() => [
|
|
33790
33664
|
createTextVNode(toDisplayString(t.cookieBtnText), 1)
|
|
@@ -33822,17 +33696,17 @@ export {
|
|
|
33822
33696
|
Breadcrumb as VsBreadcrumb,
|
|
33823
33697
|
BreadcrumbItem as VsBreadcrumbItem,
|
|
33824
33698
|
VsButton,
|
|
33825
|
-
|
|
33699
|
+
Se as VsButtonToggleGroup,
|
|
33826
33700
|
CannedSearch as VsCannedSearch,
|
|
33827
33701
|
VsCaption,
|
|
33828
33702
|
CarbonCalculator as VsCarbonCalculator,
|
|
33829
33703
|
Card as VsCard,
|
|
33704
|
+
CardGroup as VsCardGroup,
|
|
33830
33705
|
VsCarousel,
|
|
33831
33706
|
CarouselSlide as VsCarouselSlide,
|
|
33832
33707
|
VsCheckbox,
|
|
33833
33708
|
VsCol,
|
|
33834
33709
|
VsContainer,
|
|
33835
|
-
CookieChecker as VsCookieChecker,
|
|
33836
33710
|
DescriptionList as VsDescriptionList,
|
|
33837
33711
|
DescriptionListItem as VsDescriptionListItem,
|
|
33838
33712
|
VsDropdown,
|