@visitscotland/component-library 5.3.13 → 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/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 +0 -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 +606 -787
- 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,11 +1,8 @@
|
|
|
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
|
|
8
|
-
const _sfc_main$
|
|
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";
|
|
5
|
+
const _sfc_main$2l = {
|
|
9
6
|
name: "VsAccordion",
|
|
10
7
|
status: "prototype",
|
|
11
8
|
release: "0.0.1",
|
|
@@ -28,16 +25,16 @@ const _sfc_main$2m = {
|
|
|
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
|
-
function _sfc_render$
|
|
36
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
32
|
+
function _sfc_render$28(e, n, t, a, r, s) {
|
|
33
|
+
return openBlock(), createElementBlock("div", _hoisted_1$1Q, [
|
|
37
34
|
renderSlot(e.$slots, "default")
|
|
38
35
|
]);
|
|
39
36
|
}
|
|
40
|
-
const VsAccordion = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
37
|
+
const VsAccordion = /* @__PURE__ */ _export_sfc(_sfc_main$2l, [["render", _sfc_render$28]]), _sfc_main$2k = {
|
|
41
38
|
name: "VsAccordionToggle",
|
|
42
39
|
status: "prototype",
|
|
43
40
|
release: "0.0.1",
|
|
@@ -66,8 +63,8 @@ const VsAccordion = /* @__PURE__ */ _export_sfc(_sfc_main$2m, [["render", _sfc_r
|
|
|
66
63
|
this.$emit("toggle-panel");
|
|
67
64
|
}
|
|
68
65
|
}
|
|
69
|
-
}, _hoisted_1$
|
|
70
|
-
function _sfc_render$
|
|
66
|
+
}, _hoisted_1$1P = { class: "vs-accordion-toggle__text" }, _hoisted_2$1i = { class: "vs-accordion-toggle__icon" };
|
|
67
|
+
function _sfc_render$27(e, n, t, a, r, s) {
|
|
71
68
|
const o = resolveComponent("VsButton");
|
|
72
69
|
return openBlock(), createBlock(o, {
|
|
73
70
|
animate: !1,
|
|
@@ -79,7 +76,7 @@ function _sfc_render$28(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, [
|
|
@@ -89,7 +86,7 @@ function _sfc_render$28(e, n, t, a, r, s) {
|
|
|
89
86
|
_: 3
|
|
90
87
|
}, 8, ["aria-expanded", "onClick", "class", "variant"]);
|
|
91
88
|
}
|
|
92
|
-
const VsAccordionToggle = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
89
|
+
const VsAccordionToggle = /* @__PURE__ */ _export_sfc(_sfc_main$2k, [["render", _sfc_render$27]]), _sfc_main$2j = {
|
|
93
90
|
name: "VsAccordionItem",
|
|
94
91
|
status: "prototype",
|
|
95
92
|
release: "0.0.1",
|
|
@@ -186,7 +183,7 @@ const VsAccordionToggle = /* @__PURE__ */ _export_sfc(_sfc_main$2l, [["render",
|
|
|
186
183
|
}
|
|
187
184
|
}
|
|
188
185
|
};
|
|
189
|
-
function _sfc_render$
|
|
186
|
+
function _sfc_render$26(e, n, t, a, r, s) {
|
|
190
187
|
const o = resolveComponent("VsIcon"), i = resolveComponent("VsAccordionToggle"), l = resolveComponent("VsHeading"), c = resolveComponent("BCardHeader"), u = resolveComponent("BCardBody"), d = resolveComponent("BCard");
|
|
191
188
|
return openBlock(), createBlock(d, {
|
|
192
189
|
"no-body": "",
|
|
@@ -264,20 +261,20 @@ function _sfc_render$27(e, n, t, a, r, s) {
|
|
|
264
261
|
_: 3
|
|
265
262
|
}, 8, ["class"]);
|
|
266
263
|
}
|
|
267
|
-
const VsAccordionItem = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
264
|
+
const VsAccordionItem = /* @__PURE__ */ _export_sfc(_sfc_main$2j, [["render", _sfc_render$26]]), _sfc_main$2i = {
|
|
268
265
|
name: "VsAddress",
|
|
269
266
|
status: "prototype",
|
|
270
267
|
release: "0.1.0",
|
|
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
|
-
function _sfc_render$
|
|
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"
|
|
@@ -287,20 +284,20 @@ function _sfc_render$26(e, n, t, a, r, s) {
|
|
|
287
284
|
])
|
|
288
285
|
]);
|
|
289
286
|
}
|
|
290
|
-
const Address = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
287
|
+
const Address = /* @__PURE__ */ _export_sfc(_sfc_main$2i, [["render", _sfc_render$25]]), _sfc_main$2h = {
|
|
291
288
|
name: "VsAlert",
|
|
292
289
|
status: "prototype",
|
|
293
290
|
release: "0.1.0",
|
|
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$
|
|
301
|
-
function _sfc_render$
|
|
297
|
+
}, _hoisted_2$1g = { class: "vs-alert__icon-holder" }, _hoisted_3$11 = { class: "vs-alert__content-wrapper" }, _hoisted_4$M = { class: "vs-alert__content" };
|
|
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,13 +306,13 @@ function _sfc_render$25(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
|
])
|
|
316
313
|
]);
|
|
317
314
|
}
|
|
318
|
-
const Alert = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
315
|
+
const Alert = /* @__PURE__ */ _export_sfc(_sfc_main$2h, [["render", _sfc_render$24]]), _sfc_main$2g = {
|
|
319
316
|
name: "VsArticle",
|
|
320
317
|
status: "prototype",
|
|
321
318
|
release: "0.0.1",
|
|
@@ -372,8 +369,8 @@ const Alert = /* @__PURE__ */ _export_sfc(_sfc_main$2i, [["render", _sfc_render$
|
|
|
372
369
|
)
|
|
373
370
|
}
|
|
374
371
|
}
|
|
375
|
-
}, _hoisted_1$
|
|
376
|
-
function _sfc_render$
|
|
372
|
+
}, _hoisted_1$1M = ["id"], _hoisted_2$1f = { class: "vs-article__content" };
|
|
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({
|
|
379
376
|
class: "vs-article",
|
|
@@ -411,7 +408,7 @@ function _sfc_render$24(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"]),
|
|
@@ -457,7 +454,7 @@ function _sfc_render$24(e, n, t, a, r, s) {
|
|
|
457
454
|
})
|
|
458
455
|
], 16);
|
|
459
456
|
}
|
|
460
|
-
const Article = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
457
|
+
const Article = /* @__PURE__ */ _export_sfc(_sfc_main$2g, [["render", _sfc_render$23]]), _sfc_main$2f = {
|
|
461
458
|
name: "VsArticleSection",
|
|
462
459
|
status: "prototype",
|
|
463
460
|
release: "0.0.1",
|
|
@@ -489,7 +486,7 @@ const Article = /* @__PURE__ */ _export_sfc(_sfc_main$2h, [["render", _sfc_rende
|
|
|
489
486
|
}
|
|
490
487
|
}
|
|
491
488
|
};
|
|
492
|
-
function _sfc_render$
|
|
489
|
+
function _sfc_render$22(e, n, t, a, r, s) {
|
|
493
490
|
const o = resolveComponent("VsCol"), i = resolveComponent("VsBody"), l = resolveComponent("VsRow");
|
|
494
491
|
return openBlock(), createElementBlock("div", {
|
|
495
492
|
class: normalizeClass(["vs-article-section mb-200 mb-md-400", s.sidebarAlignClass]),
|
|
@@ -538,7 +535,7 @@ function _sfc_render$23(e, n, t, a, r, s) {
|
|
|
538
535
|
})
|
|
539
536
|
], 2);
|
|
540
537
|
}
|
|
541
|
-
const ArticleSection = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
538
|
+
const ArticleSection = /* @__PURE__ */ _export_sfc(_sfc_main$2f, [["render", _sfc_render$22]]), _sfc_main$2e = {
|
|
542
539
|
name: "VsArticleSidebar",
|
|
543
540
|
status: "prototype",
|
|
544
541
|
release: "0.0.1",
|
|
@@ -558,7 +555,7 @@ const ArticleSection = /* @__PURE__ */ _export_sfc(_sfc_main$2g, [["render", _sf
|
|
|
558
555
|
}
|
|
559
556
|
}
|
|
560
557
|
};
|
|
561
|
-
function _sfc_render$
|
|
558
|
+
function _sfc_render$21(e, n, t, a, r, s) {
|
|
562
559
|
return openBlock(), createElementBlock("div", {
|
|
563
560
|
class: normalizeClass(["vs-article-sidebar", s.sidebarAlignClass]),
|
|
564
561
|
"data-test": "vs-article-sidebar"
|
|
@@ -577,10 +574,10 @@ function _sfc_render$22(e, n, t, a, r, s) {
|
|
|
577
574
|
], 2)) : createCommentVNode("", !0)
|
|
578
575
|
], 2);
|
|
579
576
|
}
|
|
580
|
-
const ArticleSidebar = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
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
|
-
}, _sfc_main$
|
|
580
|
+
}, _sfc_main$2d = {
|
|
584
581
|
__name: "BackToTop",
|
|
585
582
|
props: {
|
|
586
583
|
/**
|
|
@@ -613,7 +610,7 @@ const ArticleSidebar = /* @__PURE__ */ _export_sfc(_sfc_main$2f, [["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",
|
|
@@ -628,7 +625,7 @@ const ArticleSidebar = /* @__PURE__ */ _export_sfc(_sfc_main$2f, [["render", _sf
|
|
|
628
625
|
})) : createCommentVNode("", !0)
|
|
629
626
|
]));
|
|
630
627
|
}
|
|
631
|
-
}, _sfc_main$
|
|
628
|
+
}, _sfc_main$2c = {
|
|
632
629
|
name: "VsBadge",
|
|
633
630
|
status: "prototype",
|
|
634
631
|
release: "0.0.1",
|
|
@@ -655,7 +652,7 @@ const ArticleSidebar = /* @__PURE__ */ _export_sfc(_sfc_main$2f, [["render", _sf
|
|
|
655
652
|
}
|
|
656
653
|
}
|
|
657
654
|
};
|
|
658
|
-
function _sfc_render$
|
|
655
|
+
function _sfc_render$20(e, n, t, a, r, s) {
|
|
659
656
|
const o = resolveComponent("BBadge");
|
|
660
657
|
return openBlock(), createElementBlock("div", {
|
|
661
658
|
class: normalizeClass(s.badgeClasses),
|
|
@@ -669,7 +666,7 @@ function _sfc_render$21(e, n, t, a, r, s) {
|
|
|
669
666
|
})
|
|
670
667
|
], 2);
|
|
671
668
|
}
|
|
672
|
-
const Badge = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
669
|
+
const Badge = /* @__PURE__ */ _export_sfc(_sfc_main$2c, [["render", _sfc_render$20]]), cookieMixin = {
|
|
673
670
|
computed: {
|
|
674
671
|
selectedLanguage() {
|
|
675
672
|
return this.language.substr(0, 2).toUpperCase();
|
|
@@ -694,7 +691,7 @@ const Badge = /* @__PURE__ */ _export_sfc(_sfc_main$2d, [["render", _sfc_render$
|
|
|
694
691
|
document.cookie = r;
|
|
695
692
|
}
|
|
696
693
|
}
|
|
697
|
-
}, _sfc_main$
|
|
694
|
+
}, _sfc_main$2b = {
|
|
698
695
|
name: "VsBanner",
|
|
699
696
|
status: "prototype",
|
|
700
697
|
release: "0.0.1",
|
|
@@ -749,7 +746,7 @@ const Badge = /* @__PURE__ */ _export_sfc(_sfc_main$2d, [["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",
|
|
@@ -758,9 +755,9 @@ const Badge = /* @__PURE__ */ _export_sfc(_sfc_main$2d, [["render", _sfc_render$
|
|
|
758
755
|
key: 0,
|
|
759
756
|
class: "vs-banner__cta-link"
|
|
760
757
|
};
|
|
761
|
-
function _sfc_render$
|
|
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, {
|
|
@@ -835,7 +832,7 @@ function _sfc_render$20(e, n, t, a, r, s) {
|
|
|
835
832
|
})
|
|
836
833
|
])) : createCommentVNode("", !0);
|
|
837
834
|
}
|
|
838
|
-
const Banner = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
835
|
+
const Banner = /* @__PURE__ */ _export_sfc(_sfc_main$2b, [["render", _sfc_render$1$]]), _sfc_main$2a = {
|
|
839
836
|
name: "VsArticleDetails",
|
|
840
837
|
status: "prototype",
|
|
841
838
|
release: "0.0.1",
|
|
@@ -870,7 +867,7 @@ const Banner = /* @__PURE__ */ _export_sfc(_sfc_main$2c, [["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$2c, [["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
|
-
function _sfc_render$
|
|
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,26 +898,26 @@ 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)
|
|
908
905
|
])) : createCommentVNode("", !0);
|
|
909
906
|
}
|
|
910
|
-
const ArticleDetails = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
907
|
+
const ArticleDetails = /* @__PURE__ */ _export_sfc(_sfc_main$2a, [["render", _sfc_render$1_]]), _sfc_main$29 = {
|
|
911
908
|
name: "VsBreadcrumb",
|
|
912
909
|
status: "prototype",
|
|
913
910
|
release: "0.0.1",
|
|
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
|
-
function _sfc_render$
|
|
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")
|
|
@@ -929,7 +926,7 @@ function _sfc_render$1_(e, n, t, a, r, s) {
|
|
|
929
926
|
}, 16)
|
|
930
927
|
]);
|
|
931
928
|
}
|
|
932
|
-
const Breadcrumb = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
929
|
+
const Breadcrumb = /* @__PURE__ */ _export_sfc(_sfc_main$29, [["render", _sfc_render$1Z]]), _sfc_main$28 = {
|
|
933
930
|
name: "VsBreadcrumbItem",
|
|
934
931
|
status: "prototype",
|
|
935
932
|
release: "0.0.1",
|
|
@@ -968,7 +965,7 @@ const Breadcrumb = /* @__PURE__ */ _export_sfc(_sfc_main$2a, [["render", _sfc_re
|
|
|
968
965
|
}
|
|
969
966
|
}
|
|
970
967
|
};
|
|
971
|
-
function _sfc_render$
|
|
968
|
+
function _sfc_render$1Y(e, n, t, a, r, s) {
|
|
972
969
|
const o = resolveComponent("BBreadcrumbItem");
|
|
973
970
|
return openBlock(), createBlock(o, mergeProps({
|
|
974
971
|
class: "vs-breadcrumb-item",
|
|
@@ -978,7 +975,7 @@ function _sfc_render$1Z(e, n, t, a, r, s) {
|
|
|
978
975
|
text: t.text
|
|
979
976
|
}, e.$attrs), null, 16, ["active", "aria-current", "href", "text"]);
|
|
980
977
|
}
|
|
981
|
-
const BreadcrumbItem = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
978
|
+
const BreadcrumbItem = /* @__PURE__ */ _export_sfc(_sfc_main$28, [["render", _sfc_render$1Y]]);
|
|
982
979
|
let currentURL = "";
|
|
983
980
|
typeof window < "u" && (currentURL = window.location.href);
|
|
984
981
|
const dmoAnalyticsLogic = (e) => {
|
|
@@ -996,7 +993,7 @@ const dmoAnalyticsLogic = (e) => {
|
|
|
996
993
|
e.target.href.includes(o) && (n = !0, s = a("True"));
|
|
997
994
|
}), n || (s = a("False")), s;
|
|
998
995
|
})();
|
|
999
|
-
}, _sfc_main$
|
|
996
|
+
}, _sfc_main$27 = {
|
|
1000
997
|
name: "VsLink",
|
|
1001
998
|
status: "prototype",
|
|
1002
999
|
release: "0.0.2",
|
|
@@ -1112,8 +1109,8 @@ const dmoAnalyticsLogic = (e) => {
|
|
|
1112
1109
|
(e.keyCode === 13 || e.keyCode === 32) && (e.preventDefault(), this.clickHandler(e));
|
|
1113
1110
|
}
|
|
1114
1111
|
}
|
|
1115
|
-
}, _hoisted_1$
|
|
1116
|
-
function _sfc_render$
|
|
1112
|
+
}, _hoisted_1$1H = ["href", "download", "disabled", "tabindex"];
|
|
1113
|
+
function _sfc_render$1X(e, n, t, a, r, s) {
|
|
1117
1114
|
const o = resolveComponent("VsIcon");
|
|
1118
1115
|
return openBlock(), createElementBlock("a", mergeProps({
|
|
1119
1116
|
class: ["vs-link", [
|
|
@@ -1136,9 +1133,9 @@ function _sfc_render$1Y(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
|
-
const VsLink = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
1138
|
+
const VsLink = /* @__PURE__ */ _export_sfc(_sfc_main$27, [["render", _sfc_render$1X]]), _sfc_main$26 = {
|
|
1142
1139
|
name: "VsCannedSearchProductCard",
|
|
1143
1140
|
status: "prototype",
|
|
1144
1141
|
release: "0.0.1",
|
|
@@ -1243,14 +1240,14 @@ const VsLink = /* @__PURE__ */ _export_sfc(_sfc_main$28, [["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 = {
|
|
1250
1247
|
class: "vs-product-card__logos-container",
|
|
1251
1248
|
"data-chromatic": "ignore"
|
|
1252
1249
|
};
|
|
1253
|
-
function _sfc_render$
|
|
1250
|
+
function _sfc_render$1W(e, n, t, a, r, s) {
|
|
1254
1251
|
const o = resolveComponent("VsImg"), i = resolveComponent("VsLink"), l = resolveComponent("VsHeading"), c = resolveComponent("VsCol");
|
|
1255
1252
|
return openBlock(), createBlock(c, {
|
|
1256
1253
|
cols: s.slideCols.xs,
|
|
@@ -1266,7 +1263,7 @@ function _sfc_render$1X(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$1X(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",
|
|
@@ -1333,7 +1330,7 @@ function _sfc_render$1X(e, n, t, a, r, s) {
|
|
|
1333
1330
|
_: 3
|
|
1334
1331
|
}, 8, ["cols", "sm", "lg", "xl", "aria-disabled"]);
|
|
1335
1332
|
}
|
|
1336
|
-
const VsCannedSearchProductCard = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
1333
|
+
const VsCannedSearchProductCard = /* @__PURE__ */ _export_sfc(_sfc_main$26, [["render", _sfc_render$1W]]), _sfc_main$25 = {
|
|
1337
1334
|
name: "VsCannedSearchStars",
|
|
1338
1335
|
status: "prototype",
|
|
1339
1336
|
release: "0.0.1",
|
|
@@ -1355,12 +1352,12 @@ const VsCannedSearchProductCard = /* @__PURE__ */ _export_sfc(_sfc_main$27, [["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
|
-
function _sfc_render$
|
|
1363
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
1359
|
+
function _sfc_render$1V(e, n, t, a, r, s) {
|
|
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)
|
|
@@ -1372,7 +1369,7 @@ function _sfc_render$1W(e, n, t, a, r, s) {
|
|
|
1372
1369
|
]))
|
|
1373
1370
|
]);
|
|
1374
1371
|
}
|
|
1375
|
-
const VsCannedSearchStars = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
1372
|
+
const VsCannedSearchStars = /* @__PURE__ */ _export_sfc(_sfc_main$25, [["render", _sfc_render$1V]]), _sfc_main$24 = {
|
|
1376
1373
|
name: "VsTooltip",
|
|
1377
1374
|
status: "prototype",
|
|
1378
1375
|
release: "0.0.1",
|
|
@@ -1401,7 +1398,7 @@ const VsCannedSearchStars = /* @__PURE__ */ _export_sfc(_sfc_main$26, [["render"
|
|
|
1401
1398
|
}
|
|
1402
1399
|
}
|
|
1403
1400
|
};
|
|
1404
|
-
function _sfc_render$
|
|
1401
|
+
function _sfc_render$1U(e, n, t, a, r, s) {
|
|
1405
1402
|
const o = resolveComponent("VsButton"), i = resolveDirective("b-tooltip");
|
|
1406
1403
|
return withDirectives((openBlock(), createBlock(o, mergeProps(e.$attrs, {
|
|
1407
1404
|
class: "vs-tooltip position-relative",
|
|
@@ -1415,7 +1412,7 @@ function _sfc_render$1V(e, n, t, a, r, s) {
|
|
|
1415
1412
|
[i, { placement: t.position }]
|
|
1416
1413
|
]);
|
|
1417
1414
|
}
|
|
1418
|
-
const VsTooltip = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
1415
|
+
const VsTooltip = /* @__PURE__ */ _export_sfc(_sfc_main$24, [["render", _sfc_render$1U]]), _sfc_main$23 = {
|
|
1419
1416
|
name: "VsCannedSearchLogos",
|
|
1420
1417
|
status: "prototype",
|
|
1421
1418
|
release: "0.0.1",
|
|
@@ -1458,10 +1455,10 @@ const VsTooltip = /* @__PURE__ */ _export_sfc(_sfc_main$25, [["render", _sfc_ren
|
|
|
1458
1455
|
default: null
|
|
1459
1456
|
}
|
|
1460
1457
|
}
|
|
1461
|
-
}, _hoisted_1$
|
|
1462
|
-
function _sfc_render$
|
|
1458
|
+
}, _hoisted_1$1E = { class: "vs-canned-search-logos" };
|
|
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,
|
|
@@ -1540,7 +1537,7 @@ function _sfc_render$1U(e, n, t, a, r, s) {
|
|
|
1540
1537
|
}, 8, ["title", "disabled", "tabindex"])) : createCommentVNode("", !0)
|
|
1541
1538
|
]);
|
|
1542
1539
|
}
|
|
1543
|
-
const VsCannedSearchLogos = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
1540
|
+
const VsCannedSearchLogos = /* @__PURE__ */ _export_sfc(_sfc_main$23, [["render", _sfc_render$1T]]), _sfc_main$22 = {
|
|
1544
1541
|
name: "VsCannedSearchCategories",
|
|
1545
1542
|
status: "prototype",
|
|
1546
1543
|
release: "0.0.1",
|
|
@@ -1563,14 +1560,14 @@ const VsCannedSearchLogos = /* @__PURE__ */ _export_sfc(_sfc_main$24, [["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
|
-
function _sfc_render$
|
|
1571
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
1567
|
+
function _sfc_render$1S(e, n, t, a, r, s) {
|
|
1568
|
+
return openBlock(), createElementBlock("div", _hoisted_1$1D, toDisplayString(s.transformedCategories), 1);
|
|
1572
1569
|
}
|
|
1573
|
-
const VsCannedSearchCategories = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
1570
|
+
const VsCannedSearchCategories = /* @__PURE__ */ _export_sfc(_sfc_main$22, [["render", _sfc_render$1S]]), _sfc_main$21 = {
|
|
1574
1571
|
name: "VsCannedSearchPrice",
|
|
1575
1572
|
status: "prototype",
|
|
1576
1573
|
release: "0.0.1",
|
|
@@ -1597,24 +1594,24 @@ const VsCannedSearchCategories = /* @__PURE__ */ _export_sfc(_sfc_main$23, [["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
|
-
function _sfc_render$
|
|
1611
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
1607
|
+
function _sfc_render$1R(e, n, t, a, r, s) {
|
|
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
|
-
const VsCannedSearchPrice = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
1614
|
+
const VsCannedSearchPrice = /* @__PURE__ */ _export_sfc(_sfc_main$21, [["render", _sfc_render$1R]]), _sfc_main$20 = {
|
|
1618
1615
|
name: "VsCannedSearchDuration",
|
|
1619
1616
|
status: "prototype",
|
|
1620
1617
|
release: "0.0.1",
|
|
@@ -1634,20 +1631,20 @@ const VsCannedSearchPrice = /* @__PURE__ */ _export_sfc(_sfc_main$22, [["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 = {
|
|
1641
1638
|
key: 1,
|
|
1642
1639
|
class: "vs-canned-search-duration__main"
|
|
1643
1640
|
};
|
|
1644
|
-
function _sfc_render$
|
|
1645
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
1641
|
+
function _sfc_render$1Q(e, n, t, a, r, s) {
|
|
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
|
]);
|
|
1649
1646
|
}
|
|
1650
|
-
const VsCannedSearchDuration = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
1647
|
+
const VsCannedSearchDuration = /* @__PURE__ */ _export_sfc(_sfc_main$20, [["render", _sfc_render$1Q]]), _sfc_main$1$ = {
|
|
1651
1648
|
name: "VsCannedSearchSummaryBox",
|
|
1652
1649
|
status: "prototype",
|
|
1653
1650
|
release: "0.0.1",
|
|
@@ -1689,8 +1686,8 @@ const VsCannedSearchDuration = /* @__PURE__ */ _export_sfc(_sfc_main$21, [["rend
|
|
|
1689
1686
|
default: ""
|
|
1690
1687
|
}
|
|
1691
1688
|
}
|
|
1692
|
-
}, _hoisted_1$
|
|
1693
|
-
function _sfc_render$
|
|
1689
|
+
}, _hoisted_1$1A = ["disabled"], _hoisted_2$18 = { class: "visually-hidden" };
|
|
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", {
|
|
1696
1693
|
class: "vs-canned-search-summary-box",
|
|
@@ -1758,9 +1755,9 @@ function _sfc_render$1Q(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
|
-
const VsCannedSearchSummaryBox = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
1760
|
+
const VsCannedSearchSummaryBox = /* @__PURE__ */ _export_sfc(_sfc_main$1$, [["render", _sfc_render$1P]]), _sfc_main$1_ = {
|
|
1764
1761
|
name: "VsCannedSearchDates",
|
|
1765
1762
|
status: "prototype",
|
|
1766
1763
|
release: "0.0.1",
|
|
@@ -1787,14 +1784,14 @@ const VsCannedSearchSummaryBox = /* @__PURE__ */ _export_sfc(_sfc_main$20, [["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$
|
|
1791
|
-
function _sfc_render$
|
|
1792
|
-
return openBlock(), createElementBlock("div", _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" };
|
|
1788
|
+
function _sfc_render$1O(e, n, t, a, r, s) {
|
|
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
|
]);
|
|
1796
1793
|
}
|
|
1797
|
-
const VsCannedSearchDates = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
1794
|
+
const VsCannedSearchDates = /* @__PURE__ */ _export_sfc(_sfc_main$1_, [["render", _sfc_render$1O]]), _sfc_main$1Z = {
|
|
1798
1795
|
name: "VsCannedSearchBadges",
|
|
1799
1796
|
status: "prototype",
|
|
1800
1797
|
release: "0.0.1",
|
|
@@ -1839,32 +1836,32 @@ 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 = {
|
|
1852
1849
|
key: 3,
|
|
1853
1850
|
class: "vs-canned-search-badges__badge vs-canned-search-badges__badge--open vs-canned-search-badges__badge--br"
|
|
1854
1851
|
};
|
|
1855
|
-
function _sfc_render$
|
|
1856
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
1852
|
+
function _sfc_render$1N(e, n, t, a, r, s) {
|
|
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
|
}
|
|
1867
|
-
const VsCannedSearchBadges = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
1864
|
+
const VsCannedSearchBadges = /* @__PURE__ */ _export_sfc(_sfc_main$1Z, [["render", _sfc_render$1N]]), _sfc_main$1Y = {
|
|
1868
1865
|
name: "VsCannedSearchCuisines",
|
|
1869
1866
|
status: "prototype",
|
|
1870
1867
|
release: "0.0.1",
|
|
@@ -1878,19 +1875,19 @@ const VsCannedSearchBadges = /* @__PURE__ */ _export_sfc(_sfc_main$1_, [["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
|
-
function _sfc_render$
|
|
1886
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
1882
|
+
function _sfc_render$1M(e, n, t, a, r, s) {
|
|
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
|
|
1890
1887
|
}, toDisplayString(o.name), 1))), 128))
|
|
1891
1888
|
]);
|
|
1892
1889
|
}
|
|
1893
|
-
const VsCannedSearchCuisines = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
1890
|
+
const VsCannedSearchCuisines = /* @__PURE__ */ _export_sfc(_sfc_main$1Y, [["render", _sfc_render$1M]]), _sfc_main$1X = {
|
|
1894
1891
|
name: "VsCannedSearchSubHeading",
|
|
1895
1892
|
status: "prototype",
|
|
1896
1893
|
release: "0.0.1",
|
|
@@ -1918,7 +1915,7 @@ const VsCannedSearchCuisines = /* @__PURE__ */ _export_sfc(_sfc_main$1Z, [["rend
|
|
|
1918
1915
|
}
|
|
1919
1916
|
}
|
|
1920
1917
|
};
|
|
1921
|
-
function _sfc_render$
|
|
1918
|
+
function _sfc_render$1L(e, n, t, a, r, s) {
|
|
1922
1919
|
const o = resolveComponent("VsHeading");
|
|
1923
1920
|
return t.subHeading ? (openBlock(), createBlock(o, {
|
|
1924
1921
|
key: 0,
|
|
@@ -1933,7 +1930,7 @@ function _sfc_render$1M(e, n, t, a, r, s) {
|
|
|
1933
1930
|
_: 1
|
|
1934
1931
|
}, 8, ["class"])) : createCommentVNode("", !0);
|
|
1935
1932
|
}
|
|
1936
|
-
const VsCannedSearchSubHeading = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
1933
|
+
const VsCannedSearchSubHeading = /* @__PURE__ */ _export_sfc(_sfc_main$1X, [["render", _sfc_render$1L]]), _sfc_main$1W = {
|
|
1937
1934
|
name: "VsCannedSearchTourRuns",
|
|
1938
1935
|
status: "prototype",
|
|
1939
1936
|
release: "0.0.1",
|
|
@@ -1971,11 +1968,11 @@ const VsCannedSearchSubHeading = /* @__PURE__ */ _export_sfc(_sfc_main$1Y, [["re
|
|
|
1971
1968
|
return this.endDay && (e = `${e} - ${this.endDay}`), e;
|
|
1972
1969
|
}
|
|
1973
1970
|
}
|
|
1974
|
-
}, _hoisted_1$
|
|
1975
|
-
function _sfc_render$
|
|
1976
|
-
return openBlock(), createElementBlock("p", _hoisted_1$
|
|
1971
|
+
}, _hoisted_1$1w = { class: "vs-canned-search-tour-runs" };
|
|
1972
|
+
function _sfc_render$1K(e, n, t, a, r, s) {
|
|
1973
|
+
return openBlock(), createElementBlock("p", _hoisted_1$1w, toDisplayString(s.formattedPeriod), 1);
|
|
1977
1974
|
}
|
|
1978
|
-
const VsCannedSearchTourRuns = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
1975
|
+
const VsCannedSearchTourRuns = /* @__PURE__ */ _export_sfc(_sfc_main$1W, [["render", _sfc_render$1K]]), _sfc_main$1V = {
|
|
1979
1976
|
name: "VsCannedSearchTourDeparts",
|
|
1980
1977
|
status: "prototype",
|
|
1981
1978
|
release: "0.0.1",
|
|
@@ -2005,14 +2002,14 @@ const VsCannedSearchTourRuns = /* @__PURE__ */ _export_sfc(_sfc_main$1X, [["rend
|
|
|
2005
2002
|
return this.origins ? this.origins.map((e) => e.name).join(", ") : "";
|
|
2006
2003
|
}
|
|
2007
2004
|
}
|
|
2008
|
-
}, _hoisted_1$
|
|
2009
|
-
function _sfc_render$
|
|
2010
|
-
return openBlock(), createElementBlock("p", _hoisted_1$
|
|
2005
|
+
}, _hoisted_1$1v = { class: "vs-canned-search-tour-departs" }, _hoisted_2$15 = { class: "vs-canned-search-tour-departs__label" };
|
|
2006
|
+
function _sfc_render$1J(e, n, t, a, r, s) {
|
|
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
|
]);
|
|
2014
2011
|
}
|
|
2015
|
-
const VsCannedSearchTourDeparts = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
2012
|
+
const VsCannedSearchTourDeparts = /* @__PURE__ */ _export_sfc(_sfc_main$1V, [["render", _sfc_render$1J]]), _sfc_main$1U = {
|
|
2016
2013
|
name: "VsCarousel",
|
|
2017
2014
|
status: "prototype",
|
|
2018
2015
|
release: "0.0.1",
|
|
@@ -2175,23 +2172,23 @@ const VsCannedSearchTourDeparts = /* @__PURE__ */ _export_sfc(_sfc_main$1W, [["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 = {
|
|
2189
2186
|
class: "vs-carousel__mobile-pagination",
|
|
2190
2187
|
"data-test": "vs-carousel__mobile-pagination"
|
|
2191
2188
|
};
|
|
2192
|
-
function _sfc_render$
|
|
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$1J(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
|
]),
|
|
@@ -2278,7 +2275,7 @@ function _sfc_render$1J(e, n, t, a, r, s) {
|
|
|
2278
2275
|
})
|
|
2279
2276
|
], 512);
|
|
2280
2277
|
}
|
|
2281
|
-
const VsCarousel = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
2278
|
+
const VsCarousel = /* @__PURE__ */ _export_sfc(_sfc_main$1U, [["render", _sfc_render$1I]]), _sfc_main$1T = {
|
|
2282
2279
|
name: "VsModuleWrapper",
|
|
2283
2280
|
status: "prototype",
|
|
2284
2281
|
release: "0.0.1",
|
|
@@ -2364,7 +2361,7 @@ const VsCarousel = /* @__PURE__ */ _export_sfc(_sfc_main$1V, [["render", _sfc_re
|
|
|
2364
2361
|
}
|
|
2365
2362
|
}
|
|
2366
2363
|
};
|
|
2367
|
-
function _sfc_render$
|
|
2364
|
+
function _sfc_render$1H(e, n, t, a, r, s) {
|
|
2368
2365
|
const o = resolveComponent("VsHeading"), i = resolveComponent("VsCol"), l = resolveComponent("VsBody"), c = resolveComponent("VsRow"), u = resolveComponent("VsContainer");
|
|
2369
2366
|
return openBlock(), createElementBlock("section", mergeProps({
|
|
2370
2367
|
class: s.sectionClasses,
|
|
@@ -2415,7 +2412,7 @@ function _sfc_render$1I(e, n, t, a, r, s) {
|
|
|
2415
2412
|
renderSlot(e.$slots, "default")
|
|
2416
2413
|
], 16);
|
|
2417
2414
|
}
|
|
2418
|
-
const VsModuleWrapper = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
2415
|
+
const VsModuleWrapper = /* @__PURE__ */ _export_sfc(_sfc_main$1T, [["render", _sfc_render$1H]]), _sfc_main$1S = {
|
|
2419
2416
|
name: "VsCannedSearch",
|
|
2420
2417
|
status: "prototype",
|
|
2421
2418
|
release: "0.0.1",
|
|
@@ -2557,15 +2554,15 @@ const VsModuleWrapper = /* @__PURE__ */ _export_sfc(_sfc_main$1U, [["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
|
-
function _sfc_render$
|
|
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(
|
|
2561
|
+
function _sfc_render$1G(e, n, t, a, r, s) {
|
|
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, {
|
|
@@ -2763,7 +2760,7 @@ function _sfc_render$1H(e, n, t, a, r, s) {
|
|
|
2763
2760
|
[vShow, r.products.length]
|
|
2764
2761
|
]);
|
|
2765
2762
|
}
|
|
2766
|
-
const CannedSearch = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
2763
|
+
const CannedSearch = /* @__PURE__ */ _export_sfc(_sfc_main$1S, [["render", _sfc_render$1G]]), _sfc_main$1R = {
|
|
2767
2764
|
name: "VsCaptionImageMap",
|
|
2768
2765
|
status: "prototype",
|
|
2769
2766
|
release: "0.0.1",
|
|
@@ -2832,8 +2829,8 @@ const CannedSearch = /* @__PURE__ */ _export_sfc(_sfc_main$1T, [["render", _sfc_
|
|
|
2832
2829
|
return (t - e) * a / (n - e);
|
|
2833
2830
|
}
|
|
2834
2831
|
}
|
|
2835
|
-
}, _hoisted_1$
|
|
2836
|
-
function _sfc_render$
|
|
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"];
|
|
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",
|
|
2839
2836
|
width: r.mapWidth,
|
|
@@ -2874,7 +2871,7 @@ function _sfc_render$1G(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$1G(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,9 +3248,9 @@ function _sfc_render$1G(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
|
-
const VsCaptionImageMap = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
3253
|
+
const VsCaptionImageMap = /* @__PURE__ */ _export_sfc(_sfc_main$1R, [["render", _sfc_render$1F]]), _sfc_main$1Q = {
|
|
3257
3254
|
name: "VsCaption",
|
|
3258
3255
|
status: "prototype",
|
|
3259
3256
|
release: "0.0.1",
|
|
@@ -3329,14 +3326,14 @@ const VsCaptionImageMap = /* @__PURE__ */ _export_sfc(_sfc_main$1S, [["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$
|
|
3339
|
-
function _sfc_render$
|
|
3335
|
+
}, _hoisted_4$F = { class: "vs-caption__map-wrapper pt-075 pt-sm-050 pb-sm-050 mx-auto" };
|
|
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", {
|
|
3342
3339
|
"data-test": "vs-caption",
|
|
@@ -3350,7 +3347,7 @@ function _sfc_render$1F(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$1F(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,
|
|
@@ -3385,7 +3382,7 @@ function _sfc_render$1F(e, n, t, a, r, s) {
|
|
|
3385
3382
|
})
|
|
3386
3383
|
], 2);
|
|
3387
3384
|
}
|
|
3388
|
-
const VsCaption = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
3385
|
+
const VsCaption = /* @__PURE__ */ _export_sfc(_sfc_main$1Q, [["render", _sfc_render$1E]]), _sfc_main$1P = {
|
|
3389
3386
|
name: "VsProgressBar",
|
|
3390
3387
|
status: "prototype",
|
|
3391
3388
|
release: "0.1.0",
|
|
@@ -3460,11 +3457,11 @@ const VsCaption = /* @__PURE__ */ _export_sfc(_sfc_main$1R, [["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"];
|
|
3467
|
-
function _sfc_render$
|
|
3464
|
+
function _sfc_render$1D(e, n, t, a, r, s) {
|
|
3468
3465
|
const o = resolveComponent("BProgressBar"), i = resolveComponent("BProgress");
|
|
3469
3466
|
return openBlock(), createElementBlock("div", {
|
|
3470
3467
|
class: normalizeClass(["vs-progress-bar", s.computedClasses]),
|
|
@@ -3482,7 +3479,7 @@ function _sfc_render$1E(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
|
|
@@ -3507,7 +3504,7 @@ function _sfc_render$1E(e, n, t, a, r, s) {
|
|
|
3507
3504
|
}, toDisplayString(t.currentStep) + " / " + toDisplayString(t.max), 9, _hoisted_3$S))
|
|
3508
3505
|
], 2);
|
|
3509
3506
|
}
|
|
3510
|
-
const VsProgressBar = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
3507
|
+
const VsProgressBar = /* @__PURE__ */ _export_sfc(_sfc_main$1P, [["render", _sfc_render$1D]]), _sfc_main$1O = {
|
|
3511
3508
|
name: "VsCarbonCalculatorTip",
|
|
3512
3509
|
status: "prototype",
|
|
3513
3510
|
release: "0.0.1",
|
|
@@ -3526,13 +3523,13 @@ const VsProgressBar = /* @__PURE__ */ _export_sfc(_sfc_main$1Q, [["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$
|
|
3533
|
-
function _sfc_render$
|
|
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"];
|
|
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$1D(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",
|
|
@@ -3566,7 +3563,7 @@ function _sfc_render$1D(e, n, t, a, r, s) {
|
|
|
3566
3563
|
])
|
|
3567
3564
|
]);
|
|
3568
3565
|
}
|
|
3569
|
-
const VsCarbonCalculatorTip = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
3566
|
+
const VsCarbonCalculatorTip = /* @__PURE__ */ _export_sfc(_sfc_main$1O, [["render", _sfc_render$1C]]);
|
|
3570
3567
|
function _isPlaceholder(e) {
|
|
3571
3568
|
return e != null && typeof e == "object" && e["@@functional/placeholder"] === !0;
|
|
3572
3569
|
}
|
|
@@ -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,
|
|
@@ -8139,7 +8136,7 @@ function render(e, n, t, a, r, s) {
|
|
|
8139
8136
|
}
|
|
8140
8137
|
script.render = render;
|
|
8141
8138
|
script.__file = "src/components/HoverBar/index.vue";
|
|
8142
|
-
const _sfc_main$
|
|
8139
|
+
const _sfc_main$1N = {
|
|
8143
8140
|
name: "VsCarbonCalculatorResults",
|
|
8144
8141
|
status: "prototype",
|
|
8145
8142
|
release: "0.0.1",
|
|
@@ -8323,8 +8320,8 @@ const _sfc_main$1O = {
|
|
|
8323
8320
|
};
|
|
8324
8321
|
}
|
|
8325
8322
|
}
|
|
8326
|
-
}, _hoisted_1$
|
|
8327
|
-
function _sfc_render$
|
|
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" };
|
|
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, {
|
|
8330
8327
|
"data-test": "vs-carbon-calculator-results",
|
|
@@ -8354,7 +8351,7 @@ function _sfc_render$1C(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$1C(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
|
})
|
|
@@ -8460,7 +8457,7 @@ function _sfc_render$1C(e, n, t, a, r, s) {
|
|
|
8460
8457
|
_: 1
|
|
8461
8458
|
}, 8, ["style"]);
|
|
8462
8459
|
}
|
|
8463
|
-
const VsCarbonCalculatorResults = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
8460
|
+
const VsCarbonCalculatorResults = /* @__PURE__ */ _export_sfc(_sfc_main$1N, [["render", _sfc_render$1B]]), _sfc_main$1M = {
|
|
8464
8461
|
name: "VsCarbonCalculatorRunningTotal",
|
|
8465
8462
|
status: "prototype",
|
|
8466
8463
|
release: "0.0.1",
|
|
@@ -8489,13 +8486,13 @@ const VsCarbonCalculatorResults = /* @__PURE__ */ _export_sfc(_sfc_main$1O, [["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$
|
|
8496
|
-
function _sfc_render$
|
|
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" };
|
|
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,13 +8502,13 @@ function _sfc_render$1B(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
|
])
|
|
8512
8509
|
]);
|
|
8513
8510
|
}
|
|
8514
|
-
const VsCarbonCalculatorRunningTotal = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
8511
|
+
const VsCarbonCalculatorRunningTotal = /* @__PURE__ */ _export_sfc(_sfc_main$1M, [["render", _sfc_render$1A]]), _sfc_main$1L = {
|
|
8515
8512
|
name: "VsCarbonCalculatorIntro",
|
|
8516
8513
|
status: "prototype",
|
|
8517
8514
|
release: "0.0.1",
|
|
@@ -8519,13 +8516,13 @@ const VsCarbonCalculatorRunningTotal = /* @__PURE__ */ _export_sfc(_sfc_main$1N,
|
|
|
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
|
-
function _sfc_render$
|
|
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"
|
|
@@ -8538,7 +8535,7 @@ function _sfc_render$1A(e, n, t, a, r, s) {
|
|
|
8538
8535
|
createElementVNode("p", null, toDisplayString(s.labelsMap.introContent), 1)
|
|
8539
8536
|
]);
|
|
8540
8537
|
}
|
|
8541
|
-
const VsCarbonCalculatorIntro = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
8538
|
+
const VsCarbonCalculatorIntro = /* @__PURE__ */ _export_sfc(_sfc_main$1L, [["render", _sfc_render$1z]]);
|
|
8542
8539
|
function ownKeys$1(e, n) {
|
|
8543
8540
|
var t = Object.keys(e);
|
|
8544
8541
|
if (Object.getOwnPropertySymbols) {
|
|
@@ -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,
|
|
@@ -9374,7 +9371,7 @@ const postcode = common$1.regex(/^([A-Za-z][A-HJ-Ya-hj-y]?\d[A-Za-z\d]? ?\d[A-Za
|
|
|
9374
9371
|
return this.v$.inputVal && this.v$.inputVal.$anyError || this.invalid ? `error-${this.fieldName}` : this.hintText ? `hint-${this.fieldName}` : null;
|
|
9375
9372
|
}
|
|
9376
9373
|
}
|
|
9377
|
-
}, _sfc_main$
|
|
9374
|
+
}, _sfc_main$1K = {
|
|
9378
9375
|
name: "VsRadioButton",
|
|
9379
9376
|
status: "prototype",
|
|
9380
9377
|
release: "0.0.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$
|
|
9565
|
-
function _sfc_render$
|
|
9561
|
+
}, _hoisted_2$Y = ["id"], _hoisted_3$N = { class: "visually-hidden" }, _hoisted_4$A = ["id"];
|
|
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,10 +9619,10 @@ function _sfc_render$1z(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
|
-
const VsRadioButton = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
9625
|
+
const VsRadioButton = /* @__PURE__ */ _export_sfc(_sfc_main$1K, [["render", _sfc_render$1y]]), _sfc_main$1J = {
|
|
9629
9626
|
name: "VsInput",
|
|
9630
9627
|
status: "prototype",
|
|
9631
9628
|
release: "0.0.1",
|
|
@@ -9846,10 +9843,10 @@ const VsRadioButton = /* @__PURE__ */ _export_sfc(_sfc_main$1L, [["render", _sfc
|
|
|
9846
9843
|
validations() {
|
|
9847
9844
|
return this.rules;
|
|
9848
9845
|
}
|
|
9849
|
-
}, _hoisted_1$
|
|
9850
|
-
function _sfc_render$
|
|
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" };
|
|
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$1y(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]
|
|
@@ -9936,7 +9933,7 @@ function _sfc_render$1y(e, n, t, a, r, s) {
|
|
|
9936
9933
|
})) : createCommentVNode("", !0)
|
|
9937
9934
|
]);
|
|
9938
9935
|
}
|
|
9939
|
-
const VsNumberInput = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
9936
|
+
const VsNumberInput = /* @__PURE__ */ _export_sfc(_sfc_main$1J, [["render", _sfc_render$1x]]), _sfc_main$1I = {
|
|
9940
9937
|
name: "VsCarbonCalculatorQuestion",
|
|
9941
9938
|
status: "prototype",
|
|
9942
9939
|
release: "0.0.1",
|
|
@@ -10027,8 +10024,8 @@ const VsNumberInput = /* @__PURE__ */ _export_sfc(_sfc_main$1K, [["render", _sfc
|
|
|
10027
10024
|
this.$emit("updateFieldData", e);
|
|
10028
10025
|
}
|
|
10029
10026
|
}
|
|
10030
|
-
}, _hoisted_1$
|
|
10031
|
-
function _sfc_render$
|
|
10027
|
+
}, _hoisted_1$1i = ["for"];
|
|
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, {
|
|
10034
10031
|
class: normalizeClass([t.fieldClass, "vs-carbon-calculator-question"]),
|
|
@@ -10041,7 +10038,7 @@ function _sfc_render$1x(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,
|
|
@@ -10065,7 +10062,7 @@ function _sfc_render$1x(e, n, t, a, r, s) {
|
|
|
10065
10062
|
_: 1
|
|
10066
10063
|
}, 8, ["class"]);
|
|
10067
10064
|
}
|
|
10068
|
-
const VsCarbonCalculatorQuestion = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
10065
|
+
const VsCarbonCalculatorQuestion = /* @__PURE__ */ _export_sfc(_sfc_main$1I, [["render", _sfc_render$1w]]), _sfc_main$1H = {
|
|
10069
10066
|
name: "VsCarbonCalculator",
|
|
10070
10067
|
status: "prototype",
|
|
10071
10068
|
release: "0.0.1",
|
|
@@ -10485,10 +10482,10 @@ const VsCarbonCalculatorQuestion = /* @__PURE__ */ _export_sfc(_sfc_main$1J, [["
|
|
|
10485
10482
|
this.repeatableStages[this.activeStage].generations = n;
|
|
10486
10483
|
}
|
|
10487
10484
|
}
|
|
10488
|
-
}, _hoisted_1$
|
|
10489
|
-
function _sfc_render$
|
|
10485
|
+
}, _hoisted_1$1h = { class: "vs-carbon-calculator__wrapper" }, _hoisted_2$W = { key: 1 };
|
|
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"
|
|
@@ -10680,7 +10677,7 @@ function _sfc_render$1w(e, n, t, a, r, s) {
|
|
|
10680
10677
|
})
|
|
10681
10678
|
]);
|
|
10682
10679
|
}
|
|
10683
|
-
const CarbonCalculator = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
10680
|
+
const CarbonCalculator = /* @__PURE__ */ _export_sfc(_sfc_main$1H, [["render", _sfc_render$1v]]), _sfc_main$1G = {
|
|
10684
10681
|
name: "VsCard",
|
|
10685
10682
|
status: "prototype",
|
|
10686
10683
|
release: "0.1.0",
|
|
@@ -10738,7 +10735,7 @@ const CarbonCalculator = /* @__PURE__ */ _export_sfc(_sfc_main$1I, [["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 = {
|
|
@@ -10748,13 +10745,13 @@ const CarbonCalculator = /* @__PURE__ */ _export_sfc(_sfc_main$1I, [["render", _
|
|
|
10748
10745
|
key: 2,
|
|
10749
10746
|
class: "vs-card__footer"
|
|
10750
10747
|
};
|
|
10751
|
-
function _sfc_render$
|
|
10748
|
+
function _sfc_render$1u(e, n, t, a, r, s) {
|
|
10752
10749
|
return openBlock(), createElementBlock("div", {
|
|
10753
10750
|
class: normalizeClass(["vs-card", s.cardClasses]),
|
|
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,7 @@ function _sfc_render$1v(e, n, t, a, r, s) {
|
|
|
10765
10762
|
])) : createCommentVNode("", !0)
|
|
10766
10763
|
], 6);
|
|
10767
10764
|
}
|
|
10768
|
-
const Card = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
10765
|
+
const Card = /* @__PURE__ */ _export_sfc(_sfc_main$1G, [["render", _sfc_render$1u]]), _sfc_main$1F = {
|
|
10769
10766
|
name: "VsCardGroup",
|
|
10770
10767
|
status: "prototype",
|
|
10771
10768
|
release: "0.1.0",
|
|
@@ -10808,7 +10805,7 @@ const Card = /* @__PURE__ */ _export_sfc(_sfc_main$1H, [["render", _sfc_render$1
|
|
|
10808
10805
|
}
|
|
10809
10806
|
}
|
|
10810
10807
|
};
|
|
10811
|
-
function _sfc_render$
|
|
10808
|
+
function _sfc_render$1t(e, n, t, a, r, s) {
|
|
10812
10809
|
return openBlock(), createElementBlock("div", {
|
|
10813
10810
|
class: normalizeClass(s.cardGroupClasses),
|
|
10814
10811
|
style: normalizeStyle({
|
|
@@ -10819,7 +10816,7 @@ function _sfc_render$1u(e, n, t, a, r, s) {
|
|
|
10819
10816
|
renderSlot(e.$slots, "default")
|
|
10820
10817
|
], 6);
|
|
10821
10818
|
}
|
|
10822
|
-
const CardGroup = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
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", {
|
|
10823
10820
|
state: () => ({
|
|
10824
10821
|
videos: {}
|
|
10825
10822
|
}),
|
|
@@ -10830,58 +10827,54 @@ const CardGroup = /* @__PURE__ */ _export_sfc(_sfc_main$1G, [["render", _sfc_ren
|
|
|
10830
10827
|
};
|
|
10831
10828
|
}
|
|
10832
10829
|
}
|
|
10833
|
-
}), useCookiesStore = defineStore("cookies", () => {
|
|
10834
|
-
const e = ref([]), n = ref(!1);
|
|
10835
|
-
function t(r) {
|
|
10836
|
-
e.value = [], r.forEach((s) => {
|
|
10837
|
-
e.value.push(s);
|
|
10838
|
-
});
|
|
10839
|
-
}
|
|
10840
|
-
function a(r) {
|
|
10841
|
-
n.value = r;
|
|
10842
|
-
}
|
|
10843
|
-
return {
|
|
10844
|
-
allowedCookies: e,
|
|
10845
|
-
cookiesTestRun: n,
|
|
10846
|
-
setCookieArray: t,
|
|
10847
|
-
setTestRun: a
|
|
10848
|
-
};
|
|
10849
10830
|
}), cookieCheckerMixin = {
|
|
10850
10831
|
data() {
|
|
10851
10832
|
return {
|
|
10852
|
-
|
|
10833
|
+
requiredCookies: [],
|
|
10834
|
+
requiredCookiesAllowed: !1,
|
|
10835
|
+
cookieManagerLoaded: !1
|
|
10853
10836
|
};
|
|
10854
10837
|
},
|
|
10855
|
-
|
|
10856
|
-
|
|
10857
|
-
|
|
10858
|
-
return e.allowedCookies;
|
|
10859
|
-
}
|
|
10860
|
-
}),
|
|
10861
|
-
onetrustActiveGroups() {
|
|
10862
|
-
return typeof window < "u" ? window.OnetrustActiveGroups : null;
|
|
10838
|
+
methods: {
|
|
10839
|
+
managerLoaded() {
|
|
10840
|
+
this.cookieManagerLoaded = !0;
|
|
10863
10841
|
},
|
|
10864
|
-
|
|
10865
|
-
|
|
10866
|
-
|
|
10867
|
-
|
|
10868
|
-
|
|
10869
|
-
|
|
10870
|
-
|
|
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;
|
|
10871
10852
|
},
|
|
10872
|
-
|
|
10873
|
-
return typeof window < "u" && window.
|
|
10853
|
+
cookiesLoaded() {
|
|
10854
|
+
return typeof window < "u" && window.bypassCookiesLoaded ? !0 : this.cookieManagerLoaded;
|
|
10874
10855
|
}
|
|
10875
10856
|
},
|
|
10876
10857
|
mounted() {
|
|
10877
|
-
|
|
10878
|
-
|
|
10879
|
-
|
|
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
|
+
});
|
|
10880
10873
|
}
|
|
10881
10874
|
}, cookieValues$5 = {
|
|
10882
|
-
youtube: [
|
|
10883
|
-
embed: [
|
|
10884
|
-
}, cookieValues$4 = cookieValues$5.youtube, _sfc_main$
|
|
10875
|
+
youtube: [0],
|
|
10876
|
+
embed: [0, 1]
|
|
10877
|
+
}, cookieValues$4 = cookieValues$5.youtube, _sfc_main$1E = {
|
|
10885
10878
|
name: "VsStretchedLinkCard",
|
|
10886
10879
|
status: "prototype",
|
|
10887
10880
|
release: "0.0.1",
|
|
@@ -11056,13 +11049,13 @@ const CardGroup = /* @__PURE__ */ _export_sfc(_sfc_main$1G, [["render", _sfc_ren
|
|
|
11056
11049
|
// Calculates if warning is showing and gives class for appropriate styles
|
|
11057
11050
|
warningClass() {
|
|
11058
11051
|
let e = "";
|
|
11059
|
-
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;
|
|
11060
11053
|
},
|
|
11061
11054
|
showCookieWarning() {
|
|
11062
|
-
return !!(this.videoId && !this.jsDisabled && !this.
|
|
11055
|
+
return !!(this.videoId && !this.jsDisabled && !this.cookiesAllowed && this.cookiesLoaded);
|
|
11063
11056
|
},
|
|
11064
11057
|
showError() {
|
|
11065
|
-
return !!(this.videoId && this.errorMessage !== "" && this.
|
|
11058
|
+
return !!(this.videoId && this.errorMessage !== "" && !this.cookiesLoaded);
|
|
11066
11059
|
},
|
|
11067
11060
|
showWarning() {
|
|
11068
11061
|
return this.showError || this.showCookieWarning ? this.errorType : !!this.jsDisabled;
|
|
@@ -11073,7 +11066,7 @@ const CardGroup = /* @__PURE__ */ _export_sfc(_sfc_main$1G, [["render", _sfc_ren
|
|
|
11073
11066
|
},
|
|
11074
11067
|
warningAttrs() {
|
|
11075
11068
|
const e = {};
|
|
11076
|
-
return this.type === "cookie" && (e.class = "
|
|
11069
|
+
return this.type === "cookie" && (e.class = "vs-warning__cookie-trigger"), this.size === "small" && (e.size = "sm"), e;
|
|
11077
11070
|
},
|
|
11078
11071
|
isSvg() {
|
|
11079
11072
|
return !!(this.imgSrc && this.imgSrc.includes(".svg"));
|
|
@@ -11084,10 +11077,10 @@ const CardGroup = /* @__PURE__ */ _export_sfc(_sfc_main$1G, [["render", _sfc_ren
|
|
|
11084
11077
|
},
|
|
11085
11078
|
methods: {
|
|
11086
11079
|
emitShowModal() {
|
|
11087
|
-
!this.videoId || !this.
|
|
11080
|
+
!this.videoId || !this.cookiesAllowed || this.emitter && this.emitter.emit("showModal", this.videoId, "#videoShow");
|
|
11088
11081
|
}
|
|
11089
11082
|
}
|
|
11090
|
-
}, _hoisted_1$
|
|
11083
|
+
}, _hoisted_1$1f = {
|
|
11091
11084
|
key: 0,
|
|
11092
11085
|
class: "vs-stretched-link-card__video-btn-text"
|
|
11093
11086
|
}, _hoisted_2$U = {
|
|
@@ -11097,7 +11090,7 @@ const CardGroup = /* @__PURE__ */ _export_sfc(_sfc_main$1G, [["render", _sfc_ren
|
|
|
11097
11090
|
key: 0,
|
|
11098
11091
|
class: "vs-stretched-link-card__category",
|
|
11099
11092
|
"data-test": "vs-stretched-link-card__category"
|
|
11100
|
-
}, _hoisted_4$
|
|
11093
|
+
}, _hoisted_4$y = {
|
|
11101
11094
|
class: "vs-stretched-link-card__content",
|
|
11102
11095
|
"data-test": "vs-stretched-link-card__content"
|
|
11103
11096
|
}, _hoisted_5$n = {
|
|
@@ -11105,7 +11098,7 @@ const CardGroup = /* @__PURE__ */ _export_sfc(_sfc_main$1G, [["render", _sfc_ren
|
|
|
11105
11098
|
class: "vs-stretched-link-card__badges",
|
|
11106
11099
|
"data-test": "vs-stretched-link-card__badges"
|
|
11107
11100
|
};
|
|
11108
|
-
function _sfc_render$
|
|
11101
|
+
function _sfc_render$1s(e, n, t, a, r, s) {
|
|
11109
11102
|
const o = resolveComponent("VsWarning"), i = resolveComponent("VsImg"), l = resolveComponent("VsButton"), c = resolveComponent("VsLink"), u = resolveComponent("VsHeading");
|
|
11110
11103
|
return openBlock(), createElementBlock("div", {
|
|
11111
11104
|
class: normalizeClass(["card vs-stretched-link-card", s.stretchedLinkCardClasses]),
|
|
@@ -11156,7 +11149,7 @@ function _sfc_render$1t(e, n, t, a, r, s) {
|
|
|
11156
11149
|
"data-test": "vs-stretched-link-card__img",
|
|
11157
11150
|
"data-chromatic": "ignore"
|
|
11158
11151
|
}, null, 8, ["src", "alt", "class"]),
|
|
11159
|
-
t.videoId && s.videoLoaded && e.
|
|
11152
|
+
t.videoId && s.videoLoaded && e.cookiesAllowed ? (openBlock(), createBlock(l, {
|
|
11160
11153
|
key: 0,
|
|
11161
11154
|
class: "vs-stretched-link-card__video-button",
|
|
11162
11155
|
"data-test": "vs-stretched-link-card__video-button",
|
|
@@ -11168,7 +11161,7 @@ function _sfc_render$1t(e, n, t, a, r, s) {
|
|
|
11168
11161
|
onClick: s.emitShowModal
|
|
11169
11162
|
}, {
|
|
11170
11163
|
default: withCtx(() => [
|
|
11171
|
-
t.videoBtnText ? (openBlock(), createElementBlock("span", _hoisted_1$
|
|
11164
|
+
t.videoBtnText ? (openBlock(), createElementBlock("span", _hoisted_1$1f, toDisplayString(s.formattedVideoBtnText), 1)) : createCommentVNode("", !0),
|
|
11172
11165
|
createTextVNode(" " + toDisplayString(s.formattedVideoDuration), 1)
|
|
11173
11166
|
]),
|
|
11174
11167
|
_: 1
|
|
@@ -11237,7 +11230,7 @@ function _sfc_render$1t(e, n, t, a, r, s) {
|
|
|
11237
11230
|
]),
|
|
11238
11231
|
_: 3
|
|
11239
11232
|
}, 8, ["level", "heading-style"])) : createCommentVNode("", !0),
|
|
11240
|
-
createElementVNode("div", _hoisted_4$
|
|
11233
|
+
createElementVNode("div", _hoisted_4$y, [
|
|
11241
11234
|
renderSlot(e.$slots, "stretched-card-content")
|
|
11242
11235
|
]),
|
|
11243
11236
|
e.$slots["stretched-card-badges"] && e.$slots["stretched-card-badges"]() ? (openBlock(), createElementBlock("div", _hoisted_5$n, [
|
|
@@ -11257,7 +11250,7 @@ function _sfc_render$1t(e, n, t, a, r, s) {
|
|
|
11257
11250
|
])) : createCommentVNode("", !0)
|
|
11258
11251
|
], 34);
|
|
11259
11252
|
}
|
|
11260
|
-
const VsStretchedLinkCard = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
11253
|
+
const VsStretchedLinkCard = /* @__PURE__ */ _export_sfc(_sfc_main$1E, [["render", _sfc_render$1s]]), _sfc_main$1D = {
|
|
11261
11254
|
name: "VsStretchedLinkPanels",
|
|
11262
11255
|
status: "prototype",
|
|
11263
11256
|
release: "0.0.1",
|
|
@@ -11295,19 +11288,19 @@ const VsStretchedLinkCard = /* @__PURE__ */ _export_sfc(_sfc_main$1F, [["render"
|
|
|
11295
11288
|
default: ""
|
|
11296
11289
|
}
|
|
11297
11290
|
}
|
|
11298
|
-
}, _hoisted_1$
|
|
11291
|
+
}, _hoisted_1$1e = { class: "vs-stretched-link-panels" }, _hoisted_2$T = {
|
|
11299
11292
|
class: "vs-stretched-link-panels__panel vs-stretched-link-panels__panel--days",
|
|
11300
11293
|
"data-test": "vs-stretched-link-panel--days"
|
|
11301
|
-
}, _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 = {
|
|
11302
11295
|
class: "vs-stretched-link-panels__panel",
|
|
11303
11296
|
"data-test": "vs-stretched-link-panel"
|
|
11304
11297
|
}, _hoisted_6$f = { "data-test": "vs-stretched-link-panel__icon" };
|
|
11305
|
-
function _sfc_render$
|
|
11298
|
+
function _sfc_render$1r(e, n, t, a, r, s) {
|
|
11306
11299
|
const o = resolveComponent("VsIcon");
|
|
11307
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
11300
|
+
return openBlock(), createElementBlock("div", _hoisted_1$1e, [
|
|
11308
11301
|
createElementVNode("div", _hoisted_2$T, [
|
|
11309
11302
|
createElementVNode("p", _hoisted_3$J, [
|
|
11310
|
-
createElementVNode("span", _hoisted_4$
|
|
11303
|
+
createElementVNode("span", _hoisted_4$x, toDisplayString(t.days), 1),
|
|
11311
11304
|
createTextVNode(toDisplayString(t.daysLabel), 1)
|
|
11312
11305
|
])
|
|
11313
11306
|
]),
|
|
@@ -11322,7 +11315,7 @@ function _sfc_render$1s(e, n, t, a, r, s) {
|
|
|
11322
11315
|
])
|
|
11323
11316
|
]);
|
|
11324
11317
|
}
|
|
11325
|
-
const VsStretchedLinkPanels = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
11318
|
+
const VsStretchedLinkPanels = /* @__PURE__ */ _export_sfc(_sfc_main$1D, [["render", _sfc_render$1r]]), _sfc_main$1C = {
|
|
11326
11319
|
name: "VsCarouselSlide",
|
|
11327
11320
|
status: "prototype",
|
|
11328
11321
|
release: "0.0.1",
|
|
@@ -11421,11 +11414,11 @@ const VsStretchedLinkPanels = /* @__PURE__ */ _export_sfc(_sfc_main$1E, [["rende
|
|
|
11421
11414
|
return this.visibleSlides.indexOf(n) >= 0;
|
|
11422
11415
|
}
|
|
11423
11416
|
}
|
|
11424
|
-
}, _hoisted_1$
|
|
11417
|
+
}, _hoisted_1$1d = { class: "vs-carousel-slide" }, _hoisted_2$S = { class: "visually-hidden" }, _hoisted_3$I = {
|
|
11425
11418
|
class: "vs-carousel-slide__title",
|
|
11426
11419
|
"data-test": "vs-carousel-slide__title"
|
|
11427
11420
|
};
|
|
11428
|
-
function _sfc_render$
|
|
11421
|
+
function _sfc_render$1q(e, n, t, a, r, s) {
|
|
11429
11422
|
const o = resolveComponent("VsStretchedLinkPanels"), i = resolveComponent("VsStretchedLinkCard"), l = resolveComponent("VsCol");
|
|
11430
11423
|
return openBlock(), createBlock(l, {
|
|
11431
11424
|
cols: s.slideCols.xs,
|
|
@@ -11436,7 +11429,7 @@ function _sfc_render$1r(e, n, t, a, r, s) {
|
|
|
11436
11429
|
"aria-disabled": !s.isVisible(t.slideIndex)
|
|
11437
11430
|
}, {
|
|
11438
11431
|
default: withCtx(() => [
|
|
11439
|
-
createElementVNode("div", _hoisted_1$
|
|
11432
|
+
createElementVNode("div", _hoisted_1$1d, [
|
|
11440
11433
|
createVNode(i, {
|
|
11441
11434
|
link: t.linkUrl,
|
|
11442
11435
|
type: t.linkType,
|
|
@@ -11475,7 +11468,7 @@ function _sfc_render$1r(e, n, t, a, r, s) {
|
|
|
11475
11468
|
_: 3
|
|
11476
11469
|
}, 8, ["cols", "sm", "lg", "xl", "aria-disabled"]);
|
|
11477
11470
|
}
|
|
11478
|
-
const CarouselSlide = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
11471
|
+
const CarouselSlide = /* @__PURE__ */ _export_sfc(_sfc_main$1C, [["render", _sfc_render$1q]]), _sfc_main$1B = {
|
|
11479
11472
|
name: "VsCheckbox",
|
|
11480
11473
|
status: "prototype",
|
|
11481
11474
|
release: "0.0.1",
|
|
@@ -11620,8 +11613,8 @@ const CarouselSlide = /* @__PURE__ */ _export_sfc(_sfc_main$1D, [["render", _sfc
|
|
|
11620
11613
|
validations() {
|
|
11621
11614
|
return this.rules;
|
|
11622
11615
|
}
|
|
11623
|
-
}, _hoisted_1$
|
|
11624
|
-
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) {
|
|
11625
11618
|
const o = resolveComponent("BFormCheckbox");
|
|
11626
11619
|
return openBlock(), createElementBlock("div", {
|
|
11627
11620
|
class: normalizeClass(s.checkBoxClasses)
|
|
@@ -11629,7 +11622,7 @@ function _sfc_render$1q(e, n, t, a, r, s) {
|
|
|
11629
11622
|
createElementVNode("p", {
|
|
11630
11623
|
class: "hint-text",
|
|
11631
11624
|
id: `hint-${t.fieldName}`
|
|
11632
|
-
}, toDisplayString(t.hintText), 9, _hoisted_1$
|
|
11625
|
+
}, toDisplayString(t.hintText), 9, _hoisted_1$1c),
|
|
11633
11626
|
t.infoText !== "" ? (openBlock(), createElementBlock("div", {
|
|
11634
11627
|
key: 0,
|
|
11635
11628
|
innerHTML: t.infoText
|
|
@@ -11644,7 +11637,7 @@ function _sfc_render$1q(e, n, t, a, r, s) {
|
|
|
11644
11637
|
key: i,
|
|
11645
11638
|
class: "error mb-0"
|
|
11646
11639
|
}, [
|
|
11647
|
-
createElementVNode("span", _hoisted_4$
|
|
11640
|
+
createElementVNode("span", _hoisted_4$w, toDisplayString(t.fieldName), 1),
|
|
11648
11641
|
createTextVNode(" " + toDisplayString(t.validationMessages[i] || t.genericValidation[i]), 1)
|
|
11649
11642
|
])), [
|
|
11650
11643
|
[vShow, !t.reAlertErrors]
|
|
@@ -11674,169 +11667,7 @@ function _sfc_render$1q(e, n, t, a, r, s) {
|
|
|
11674
11667
|
}, 16, ["modelValue", "name", "id", "value", "unchecked_value", "onBlur", "onChange", "required", "aria-invalid", "aria-describedby"])) : createCommentVNode("", !0)
|
|
11675
11668
|
], 2);
|
|
11676
11669
|
}
|
|
11677
|
-
const VsCheckbox = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
11678
|
-
function hashCode() {
|
|
11679
|
-
return Math.random().toString(36).substring(7);
|
|
11680
|
-
}
|
|
11681
|
-
class OneTrustVS {
|
|
11682
|
-
constructor() {
|
|
11683
|
-
/*
|
|
11684
|
-
* Initialize setup of the VS side of OneTrust integration
|
|
11685
|
-
* Listens for cookie related popups or instagram embeds
|
|
11686
|
-
* The config object sent to each listener is slightly different hence the different
|
|
11687
|
-
* eventlistener functions
|
|
11688
|
-
*/
|
|
11689
|
-
ce(this, "init", () => {
|
|
11690
|
-
window.NodeList && !NodeList.prototype.forEach && (NodeList.prototype.forEach = Array.prototype.forEach);
|
|
11691
|
-
});
|
|
11692
|
-
ce(this, "instaOT", (n, t, a, r, s = null) => {
|
|
11693
|
-
console.log("insta");
|
|
11694
|
-
let o = this;
|
|
11695
|
-
this.checkThirdPartyLibrary("OneTrust", () => {
|
|
11696
|
-
this.onetrustCookieCheck(n, (i) => {
|
|
11697
|
-
if (i)
|
|
11698
|
-
o.setIframeSrc();
|
|
11699
|
-
else if (r) {
|
|
11700
|
-
console.log("fallback", a), console.log("container", r);
|
|
11701
|
-
let l = Array.from(a.classList)[0], c;
|
|
11702
|
-
r.length > 1 ? r.forEach((u, d) => {
|
|
11703
|
-
c = r[d].querySelector(`.${l}`), c || o.showOneTrustFallback(n, t, a, r[d], s);
|
|
11704
|
-
}) : (c = r.querySelector(`.${l}`), c || o.showOneTrustFallback(n, t, a, r, s));
|
|
11705
|
-
}
|
|
11706
|
-
}), window.OneTrust.OnConsentChanged(function() {
|
|
11707
|
-
o.onetrustCookieCheck(n, (i) => {
|
|
11708
|
-
i && (window.OneTrustEventBus.dispatchEvent("otCategory-approved"), o.hideOneTrustFallback(n), o.setIframeSrc());
|
|
11709
|
-
});
|
|
11710
|
-
});
|
|
11711
|
-
});
|
|
11712
|
-
});
|
|
11713
|
-
ce(this, "showOneTrustFallback", (n, t, a, r, s = null) => {
|
|
11714
|
-
console.log("showfallback");
|
|
11715
|
-
let o = {
|
|
11716
|
-
visible: !1,
|
|
11717
|
-
fallback: a
|
|
11718
|
-
};
|
|
11719
|
-
if (o.visible)
|
|
11720
|
-
return !1;
|
|
11721
|
-
if (r.length > 1 && o.fallback)
|
|
11722
|
-
console.log("aqui"), r.forEach((i) => {
|
|
11723
|
-
let l = o.fallback.cloneNode(!0);
|
|
11724
|
-
l.id = hashCode(), i.insertAdjacentHTML("afterend", l.outerHTML);
|
|
11725
|
-
let c = document.getElementById(l.id);
|
|
11726
|
-
c.style.display = "block", o.visible = !0, l.classList.add(`vscookies-${n}`), this.fallbacks.push({
|
|
11727
|
-
id: c.id,
|
|
11728
|
-
cat: n,
|
|
11729
|
-
visible: !0
|
|
11730
|
-
}), this.setFBButtonListener(l);
|
|
11731
|
-
});
|
|
11732
|
-
else {
|
|
11733
|
-
console.log("aca");
|
|
11734
|
-
let i = o.fallback.cloneNode(!0);
|
|
11735
|
-
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({
|
|
11736
|
-
id: i.id,
|
|
11737
|
-
cat: n
|
|
11738
|
-
}), o.visible = !0, this.setFBButtonListener(i);
|
|
11739
|
-
}
|
|
11740
|
-
});
|
|
11741
|
-
/*
|
|
11742
|
-
* Return true or false to a match of consented cookie category
|
|
11743
|
-
* @param category {string} the category to look for e.g. C0003
|
|
11744
|
-
* @param callback {function} - callback function to run
|
|
11745
|
-
*/
|
|
11746
|
-
ce(this, "onetrustCookieCheck", (n, t) => {
|
|
11747
|
-
if (typeof window < "u")
|
|
11748
|
-
return t(window.OnetrustActiveGroups.includes(n));
|
|
11749
|
-
});
|
|
11750
|
-
/*
|
|
11751
|
-
* Hide specified fallback category
|
|
11752
|
-
* @param otCategory {string} the class a fallback is within
|
|
11753
|
-
*/
|
|
11754
|
-
ce(this, "hideOneTrustFallback", (n) => {
|
|
11755
|
-
this.fallbacks.map((a) => {
|
|
11756
|
-
if (a.cat === n && document.getElementById(a.id)) {
|
|
11757
|
-
document.getElementById(a.id).style.display = "none";
|
|
11758
|
-
return;
|
|
11759
|
-
}
|
|
11760
|
-
});
|
|
11761
|
-
const t = document.querySelectorAll(`.vscookies-${n}`);
|
|
11762
|
-
t.size > 0 && t.map((a) => {
|
|
11763
|
-
a.style.display = "none";
|
|
11764
|
-
});
|
|
11765
|
-
});
|
|
11766
|
-
/*
|
|
11767
|
-
* Check for the availability of the specified library
|
|
11768
|
-
* @param name {string} name - library to wait for
|
|
11769
|
-
* @param callback {function} - function to call if the library is loaded
|
|
11770
|
-
*/
|
|
11771
|
-
ce(this, "checkThirdPartyLibrary", (n, t) => {
|
|
11772
|
-
let a = 500, r = this;
|
|
11773
|
-
window.setTimeout(function() {
|
|
11774
|
-
window[n] ? t(window[n]) : r.checkThirdPartyLibrary(n, t);
|
|
11775
|
-
}, a);
|
|
11776
|
-
});
|
|
11777
|
-
ce(this, "setFBButtonListener", (n) => {
|
|
11778
|
-
n.querySelector("#ot-sdk-btn").addEventListener("click", function() {
|
|
11779
|
-
window.OneTrust.ToggleInfoDisplay();
|
|
11780
|
-
});
|
|
11781
|
-
});
|
|
11782
|
-
ce(this, "setIframeSrc", () => {
|
|
11783
|
-
let n = document.querySelectorAll('iframe[data-src]:not([data-src=""])');
|
|
11784
|
-
n && n.forEach((t) => {
|
|
11785
|
-
t.src = t.dataset.src, t.removeAttribute("data-src");
|
|
11786
|
-
});
|
|
11787
|
-
});
|
|
11788
|
-
this.fallbacks = [];
|
|
11789
|
-
}
|
|
11790
|
-
}
|
|
11791
|
-
let cookieStore = null;
|
|
11792
|
-
const _sfc_main$1B = {
|
|
11793
|
-
data() {
|
|
11794
|
-
return {
|
|
11795
|
-
oneTrust: new OneTrustVS(),
|
|
11796
|
-
activeGroups: ""
|
|
11797
|
-
};
|
|
11798
|
-
},
|
|
11799
|
-
watch: {
|
|
11800
|
-
activeGroups() {
|
|
11801
|
-
const n = this.activeGroups.split(",").filter((t) => t !== "");
|
|
11802
|
-
cookieStore && (cookieStore.setCookieArray(n), cookieStore.setTestRun(!0));
|
|
11803
|
-
}
|
|
11804
|
-
},
|
|
11805
|
-
mounted() {
|
|
11806
|
-
cookieStore = useCookiesStore();
|
|
11807
|
-
},
|
|
11808
|
-
created() {
|
|
11809
|
-
this.checkOneTrust(), this.checkActiveGroups();
|
|
11810
|
-
},
|
|
11811
|
-
methods: {
|
|
11812
|
-
/**
|
|
11813
|
-
* initialises listener to ensure accepted cookie values
|
|
11814
|
-
* are updated when OneTrust preferences are changed
|
|
11815
|
-
*/
|
|
11816
|
-
checkOneTrust() {
|
|
11817
|
-
typeof window < "u" && this.oneTrust.checkThirdPartyLibrary("OneTrust", () => {
|
|
11818
|
-
window.OneTrust.OnConsentChanged(() => {
|
|
11819
|
-
this.oneTrust.checkThirdPartyLibrary("OnetrustActiveGroups", () => {
|
|
11820
|
-
this.activeGroups = window.OnetrustActiveGroups;
|
|
11821
|
-
});
|
|
11822
|
-
});
|
|
11823
|
-
});
|
|
11824
|
-
},
|
|
11825
|
-
/**
|
|
11826
|
-
* checks cookies have been accepted via OneTrust and
|
|
11827
|
-
* adds them to activeGroups
|
|
11828
|
-
*/
|
|
11829
|
-
checkActiveGroups() {
|
|
11830
|
-
typeof window < "u" && this.oneTrust.checkThirdPartyLibrary("OnetrustActiveGroups", () => {
|
|
11831
|
-
this.activeGroups = window.OnetrustActiveGroups;
|
|
11832
|
-
});
|
|
11833
|
-
}
|
|
11834
|
-
}
|
|
11835
|
-
}, _hoisted_1$1c = { class: "d-none" };
|
|
11836
|
-
function _sfc_render$1p(e, n, t, a, r, s) {
|
|
11837
|
-
return openBlock(), createElementBlock("span", _hoisted_1$1c);
|
|
11838
|
-
}
|
|
11839
|
-
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 = {
|
|
11840
11671
|
name: "VsDescriptionList",
|
|
11841
11672
|
status: "prototype",
|
|
11842
11673
|
release: "0.0.1",
|
|
@@ -12048,17 +11879,20 @@ const VsDropdownItem = /* @__PURE__ */ _export_sfc(_sfc_main$1x, [["render", _sf
|
|
|
12048
11879
|
},
|
|
12049
11880
|
computed: {
|
|
12050
11881
|
showError() {
|
|
12051
|
-
return this.noCookiesRequired ? !1 : !this.
|
|
11882
|
+
return this.noCookiesRequired ? !1 : !this.cookiesAllowed && this.cookiesLoaded === !0 || !this.cookiesLoaded;
|
|
12052
11883
|
},
|
|
12053
11884
|
warningText() {
|
|
12054
11885
|
let e = "";
|
|
12055
|
-
return this.
|
|
11886
|
+
return this.cookiesLoaded || (e = this.errorText), !this.cookiesAllowed && this.cookiesLoaded === !0 && (e = this.noCookieText), e;
|
|
12056
11887
|
}
|
|
12057
11888
|
}
|
|
12058
11889
|
}, _hoisted_1$1a = {
|
|
12059
11890
|
"data-test": "vs-embed-wrapper",
|
|
12060
11891
|
class: "vs-embed-wrapper"
|
|
12061
|
-
}, _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"];
|
|
12062
11896
|
function _sfc_render$1k(e, n, t, a, r, s) {
|
|
12063
11897
|
const o = resolveComponent("VsBody"), i = resolveComponent("VsCol"), l = resolveComponent("VsWarning"), c = resolveComponent("VsRow"), u = resolveComponent("VsContainer");
|
|
12064
11898
|
return openBlock(), createElementBlock("div", _hoisted_1$1a, [
|
|
@@ -12089,15 +11923,12 @@ function _sfc_render$1k(e, n, t, a, r, s) {
|
|
|
12089
11923
|
}),
|
|
12090
11924
|
createVNode(i, { cols: "12" }, {
|
|
12091
11925
|
default: withCtx(() => [
|
|
12092
|
-
|
|
12093
|
-
class: normalizeClass(["vs-embed-wrapper__container", e.requiredCookiesExist || t.noCookiesRequired ? "" : "d-none"]),
|
|
12094
|
-
key: "embeddedContent"
|
|
12095
|
-
}, [
|
|
11926
|
+
e.cookiesAllowed || t.noCookiesRequired ? (openBlock(), createElementBlock("div", _hoisted_2$Q, [
|
|
12096
11927
|
renderSlot(e.$slots, "embed-widget")
|
|
12097
|
-
],
|
|
12098
|
-
s.showError ? (openBlock(), createElementBlock("div",
|
|
11928
|
+
])) : createCommentVNode("", !0),
|
|
11929
|
+
s.showError ? (openBlock(), createElementBlock("div", _hoisted_3$G, [
|
|
12099
11930
|
createVNode(l, {
|
|
12100
|
-
type: e.
|
|
11931
|
+
type: e.cookiesLoaded === !0 ? "cookie" : "normal",
|
|
12101
11932
|
class: "vs-embed-wrapper__error",
|
|
12102
11933
|
"data-test": "vs-embed-wrapper__error"
|
|
12103
11934
|
}, createSlots({
|
|
@@ -12109,11 +11940,11 @@ function _sfc_render$1k(e, n, t, a, r, s) {
|
|
|
12109
11940
|
t.extraContent ? {
|
|
12110
11941
|
name: "extra-content",
|
|
12111
11942
|
fn: withCtx(() => [
|
|
12112
|
-
createElementVNode("div", { innerHTML: t.extraContent }, null, 8,
|
|
11943
|
+
createElementVNode("div", { innerHTML: t.extraContent }, null, 8, _hoisted_4$v)
|
|
12113
11944
|
]),
|
|
12114
11945
|
key: "0"
|
|
12115
11946
|
} : void 0,
|
|
12116
|
-
!e.
|
|
11947
|
+
!e.cookiesAllowed && e.cookiesLoaded === !0 ? {
|
|
12117
11948
|
name: "button-text",
|
|
12118
11949
|
fn: withCtx(() => [
|
|
12119
11950
|
renderSlot(e.$slots, "embed-button-text")
|
|
@@ -13183,10 +13014,10 @@ function requireUtil$1() {
|
|
|
13183
13014
|
E.push(s(arguments[M]));
|
|
13184
13015
|
return E.join(" ");
|
|
13185
13016
|
}
|
|
13186
|
-
for (var M = 1, q = arguments,
|
|
13187
|
-
if (
|
|
13188
|
-
if (M >=
|
|
13189
|
-
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) {
|
|
13190
13021
|
case "%s":
|
|
13191
13022
|
return String(q[M++]);
|
|
13192
13023
|
case "%d":
|
|
@@ -13198,9 +13029,9 @@ function requireUtil$1() {
|
|
|
13198
13029
|
return "[Circular]";
|
|
13199
13030
|
}
|
|
13200
13031
|
default:
|
|
13201
|
-
return
|
|
13032
|
+
return T;
|
|
13202
13033
|
}
|
|
13203
|
-
}), B = q[M]; M <
|
|
13034
|
+
}), B = q[M]; M < J; B = q[++M])
|
|
13204
13035
|
v(B) || !N(B) ? $ += " " + B : $ += " " + s(B);
|
|
13205
13036
|
return $;
|
|
13206
13037
|
}, e.deprecate = function(w, E) {
|
|
@@ -13287,18 +13118,18 @@ function requireUtil$1() {
|
|
|
13287
13118
|
var q = E.inspect(M, w);
|
|
13288
13119
|
return C(q) || (q = c(w, q, M)), q;
|
|
13289
13120
|
}
|
|
13290
|
-
var
|
|
13291
|
-
if (
|
|
13292
|
-
return
|
|
13121
|
+
var J = u(w, E);
|
|
13122
|
+
if (J)
|
|
13123
|
+
return J;
|
|
13293
13124
|
var $ = Object.keys(E), B = l($);
|
|
13294
13125
|
if (w.showHidden && ($ = Object.getOwnPropertyNames(E)), R(E) && ($.indexOf("message") >= 0 || $.indexOf("description") >= 0))
|
|
13295
13126
|
return d(E);
|
|
13296
13127
|
if ($.length === 0) {
|
|
13297
13128
|
if (O(E)) {
|
|
13298
|
-
var
|
|
13299
|
-
return w.stylize("[Function" +
|
|
13129
|
+
var T = E.name ? ": " + E.name : "";
|
|
13130
|
+
return w.stylize("[Function" + T + "]", "special");
|
|
13300
13131
|
}
|
|
13301
|
-
if (
|
|
13132
|
+
if (L(E))
|
|
13302
13133
|
return w.stylize(RegExp.prototype.toString.call(E), "regexp");
|
|
13303
13134
|
if (A(E))
|
|
13304
13135
|
return w.stylize(Date.prototype.toString.call(E), "date");
|
|
@@ -13310,14 +13141,14 @@ function requireUtil$1() {
|
|
|
13310
13141
|
var W = E.name ? ": " + E.name : "";
|
|
13311
13142
|
F = " [Function" + W + "]";
|
|
13312
13143
|
}
|
|
13313
|
-
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))
|
|
13314
13145
|
return H[0] + F + H[1];
|
|
13315
13146
|
if (M < 0)
|
|
13316
|
-
return
|
|
13147
|
+
return L(E) ? w.stylize(RegExp.prototype.toString.call(E), "regexp") : w.stylize("[Object]", "special");
|
|
13317
13148
|
w.seen.push(E);
|
|
13318
13149
|
var U;
|
|
13319
|
-
return P ? U = f(w, E, M, B, $) : U = $.map(function(
|
|
13320
|
-
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);
|
|
13321
13152
|
}), w.seen.pop(), p(U, F, H);
|
|
13322
13153
|
}
|
|
13323
13154
|
function u(w, E) {
|
|
@@ -13337,8 +13168,8 @@ function requireUtil$1() {
|
|
|
13337
13168
|
function d(w) {
|
|
13338
13169
|
return "[" + Error.prototype.toString.call(w) + "]";
|
|
13339
13170
|
}
|
|
13340
|
-
function f(w, E, M, q,
|
|
13341
|
-
for (var $ = [], B = 0,
|
|
13171
|
+
function f(w, E, M, q, J) {
|
|
13172
|
+
for (var $ = [], B = 0, T = E.length; B < T; ++B)
|
|
13342
13173
|
Y(E, String(B)) ? $.push(m(
|
|
13343
13174
|
w,
|
|
13344
13175
|
E,
|
|
@@ -13347,7 +13178,7 @@ function requireUtil$1() {
|
|
|
13347
13178
|
String(B),
|
|
13348
13179
|
!0
|
|
13349
13180
|
)) : $.push("");
|
|
13350
|
-
return
|
|
13181
|
+
return J.forEach(function(F) {
|
|
13351
13182
|
F.match(/^\d+$/) || $.push(m(
|
|
13352
13183
|
w,
|
|
13353
13184
|
E,
|
|
@@ -13358,29 +13189,29 @@ function requireUtil$1() {
|
|
|
13358
13189
|
));
|
|
13359
13190
|
}), $;
|
|
13360
13191
|
}
|
|
13361
|
-
function m(w, E, M, q,
|
|
13362
|
-
var B,
|
|
13363
|
-
if (F = Object.getOwnPropertyDescriptor(E,
|
|
13364
|
-
`) > -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(`
|
|
13365
13196
|
`).map(function(P) {
|
|
13366
13197
|
return " " + P;
|
|
13367
13198
|
}).join(`
|
|
13368
|
-
`).substr(2) :
|
|
13369
|
-
` +
|
|
13199
|
+
`).substr(2) : T = `
|
|
13200
|
+
` + T.split(`
|
|
13370
13201
|
`).map(function(P) {
|
|
13371
13202
|
return " " + P;
|
|
13372
13203
|
}).join(`
|
|
13373
|
-
`))) :
|
|
13374
|
-
if ($ &&
|
|
13375
|
-
return
|
|
13376
|
-
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"));
|
|
13377
13208
|
}
|
|
13378
|
-
return B + ": " +
|
|
13209
|
+
return B + ": " + T;
|
|
13379
13210
|
}
|
|
13380
13211
|
function p(w, E, M) {
|
|
13381
|
-
var q = w.reduce(function(
|
|
13212
|
+
var q = w.reduce(function(J, $) {
|
|
13382
13213
|
return $.indexOf(`
|
|
13383
|
-
`) >= 0,
|
|
13214
|
+
`) >= 0, J + $.replace(/\u001b\[\d\d?m/g, "").length + 1;
|
|
13384
13215
|
}, 0);
|
|
13385
13216
|
return q > 60 ? M[0] + (E === "" ? "" : E + `
|
|
13386
13217
|
`) + " " + w.join(`,
|
|
@@ -13418,10 +13249,10 @@ function requireUtil$1() {
|
|
|
13418
13249
|
return w === void 0;
|
|
13419
13250
|
}
|
|
13420
13251
|
e.isUndefined = V;
|
|
13421
|
-
function
|
|
13252
|
+
function L(w) {
|
|
13422
13253
|
return N(w) && D(w) === "[object RegExp]";
|
|
13423
13254
|
}
|
|
13424
|
-
e.isRegExp =
|
|
13255
|
+
e.isRegExp = L;
|
|
13425
13256
|
function N(w) {
|
|
13426
13257
|
return typeof w == "object" && w !== null;
|
|
13427
13258
|
}
|
|
@@ -13559,9 +13390,9 @@ function requirePath() {
|
|
|
13559
13390
|
}
|
|
13560
13391
|
if (S == 0)
|
|
13561
13392
|
return p;
|
|
13562
|
-
for (var
|
|
13563
|
-
|
|
13564
|
-
return
|
|
13393
|
+
for (var L = [], V = S; V < b.length; V++)
|
|
13394
|
+
L.push("..");
|
|
13395
|
+
return L = L.concat(v.slice(S)), L.join("\\");
|
|
13565
13396
|
}, o._makeLong = function(m) {
|
|
13566
13397
|
if (!n.isString(m))
|
|
13567
13398
|
return m;
|
|
@@ -14307,7 +14138,7 @@ function requireAsync() {
|
|
|
14307
14138
|
});
|
|
14308
14139
|
}
|
|
14309
14140
|
S = s(v, S);
|
|
14310
|
-
var
|
|
14141
|
+
var L = S.isFile || u, N = S.isDirectory || d, A = S.readFile || e.readFile, R = S.realpath || f, O = S.readPackage || p;
|
|
14311
14142
|
if (S.readFile && S.readPackage) {
|
|
14312
14143
|
var z = new TypeError("`readFile` and `readPackage` are mutually exclusive.");
|
|
14313
14144
|
return process.nextTick(function() {
|
|
@@ -14328,7 +14159,7 @@ function requireAsync() {
|
|
|
14328
14159
|
var E;
|
|
14329
14160
|
function M(P) {
|
|
14330
14161
|
if (/^(?:\.\.?(?:\/|$)|\/|([A-Za-z]:)?[/\\])/.test(v))
|
|
14331
|
-
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);
|
|
14332
14163
|
else {
|
|
14333
14164
|
if (Z && o(v))
|
|
14334
14165
|
return C(null, v);
|
|
@@ -14339,17 +14170,17 @@ function requireAsync() {
|
|
|
14339
14170
|
return m(R, W, S, function(ee, X) {
|
|
14340
14171
|
ee ? C(ee) : C(null, X, U);
|
|
14341
14172
|
});
|
|
14342
|
-
var
|
|
14343
|
-
|
|
14173
|
+
var G = new Error("Cannot find module '" + v + "' from '" + Y + "'");
|
|
14174
|
+
G.code = "MODULE_NOT_FOUND", C(G);
|
|
14344
14175
|
}
|
|
14345
14176
|
});
|
|
14346
14177
|
}
|
|
14347
14178
|
}
|
|
14348
14179
|
function q(P, H, W) {
|
|
14349
|
-
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) {
|
|
14350
14181
|
if (U) C(U);
|
|
14351
|
-
else if (
|
|
14352
|
-
m(R,
|
|
14182
|
+
else if (G)
|
|
14183
|
+
m(R, G, S, function(te, ne) {
|
|
14353
14184
|
te ? C(te) : C(null, ne, ee);
|
|
14354
14185
|
});
|
|
14355
14186
|
else {
|
|
@@ -14358,30 +14189,30 @@ function requireAsync() {
|
|
|
14358
14189
|
}
|
|
14359
14190
|
});
|
|
14360
14191
|
}
|
|
14361
|
-
function
|
|
14362
|
-
var U = H,
|
|
14363
|
-
typeof U == "function" && (
|
|
14192
|
+
function J(P, H, W) {
|
|
14193
|
+
var U = H, G = W;
|
|
14194
|
+
typeof U == "function" && (G = U, U = void 0);
|
|
14364
14195
|
var ee = [""].concat(j);
|
|
14365
14196
|
X(ee, P, U);
|
|
14366
14197
|
function X(te, ne, ae) {
|
|
14367
|
-
if (te.length === 0) return
|
|
14198
|
+
if (te.length === 0) return G(null, void 0, ae);
|
|
14368
14199
|
var oe = ne + te[0], se = ae;
|
|
14369
14200
|
se ? I(null, se) : $(t.dirname(oe), I);
|
|
14370
|
-
function I(ie,
|
|
14371
|
-
if (se =
|
|
14201
|
+
function I(ie, ue, le) {
|
|
14202
|
+
if (se = ue, ie) return G(ie);
|
|
14372
14203
|
if (le && se && S.pathFilter) {
|
|
14373
|
-
var
|
|
14374
|
-
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(
|
|
14375
14206
|
[""].concat(j.slice()),
|
|
14376
|
-
t.resolve(le,
|
|
14207
|
+
t.resolve(le, de),
|
|
14377
14208
|
se
|
|
14378
14209
|
);
|
|
14379
14210
|
}
|
|
14380
|
-
|
|
14211
|
+
L(oe, ce);
|
|
14381
14212
|
}
|
|
14382
|
-
function
|
|
14383
|
-
if (ie) return
|
|
14384
|
-
if (
|
|
14213
|
+
function ce(ie, ue) {
|
|
14214
|
+
if (ie) return G(ie);
|
|
14215
|
+
if (ue) return G(null, oe, se);
|
|
14385
14216
|
X(te.slice(1), ne, se);
|
|
14386
14217
|
}
|
|
14387
14218
|
}
|
|
@@ -14390,61 +14221,61 @@ function requireAsync() {
|
|
|
14390
14221
|
if (P === "" || P === "/" || /[/\\]node_modules[/\\]*$/.test(P)) return H(null);
|
|
14391
14222
|
m(R, P, S, function(W, U) {
|
|
14392
14223
|
if (W) return $(t.dirname(P), H);
|
|
14393
|
-
var
|
|
14394
|
-
|
|
14224
|
+
var G = t.join(U, "package.json");
|
|
14225
|
+
L(G, function(ee, X) {
|
|
14395
14226
|
if (!X) return $(t.dirname(P), H);
|
|
14396
|
-
O(A,
|
|
14227
|
+
O(A, G, function(te, ne) {
|
|
14397
14228
|
te && H(te);
|
|
14398
14229
|
var ae = ne;
|
|
14399
|
-
ae && S.packageFilter && (ae = S.packageFilter(ae,
|
|
14230
|
+
ae && S.packageFilter && (ae = S.packageFilter(ae, G)), H(null, ae, P);
|
|
14400
14231
|
});
|
|
14401
14232
|
});
|
|
14402
14233
|
});
|
|
14403
14234
|
}
|
|
14404
14235
|
function B(P, H, W) {
|
|
14405
|
-
var U = W,
|
|
14406
|
-
typeof
|
|
14236
|
+
var U = W, G = H;
|
|
14237
|
+
typeof G == "function" && (U = G, G = S.package), m(R, P, S, function(ee, X) {
|
|
14407
14238
|
if (ee) return U(ee);
|
|
14408
14239
|
var te = t.join(X, "package.json");
|
|
14409
|
-
|
|
14240
|
+
L(te, function(ne, ae) {
|
|
14410
14241
|
if (ne) return U(ne);
|
|
14411
|
-
if (!ae) return
|
|
14242
|
+
if (!ae) return J(t.join(P, "index"), G, U);
|
|
14412
14243
|
O(A, te, function(oe, se) {
|
|
14413
14244
|
if (oe) return U(oe);
|
|
14414
14245
|
var I = se;
|
|
14415
14246
|
if (I && S.packageFilter && (I = S.packageFilter(I, te)), I && I.main) {
|
|
14416
14247
|
if (typeof I.main != "string") {
|
|
14417
|
-
var
|
|
14418
|
-
return
|
|
14248
|
+
var ce = new TypeError("package “" + I.name + "” `main` must be a string");
|
|
14249
|
+
return ce.code = "INVALID_PACKAGE_MAIN", U(ce);
|
|
14419
14250
|
}
|
|
14420
|
-
(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) {
|
|
14421
14252
|
if (ie) return U(ie);
|
|
14422
|
-
if (
|
|
14423
|
-
if (!le) return
|
|
14424
|
-
var
|
|
14425
|
-
B(
|
|
14426
|
-
if (
|
|
14427
|
-
if (
|
|
14428
|
-
|
|
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);
|
|
14429
14260
|
});
|
|
14430
14261
|
});
|
|
14431
14262
|
return;
|
|
14432
14263
|
}
|
|
14433
|
-
|
|
14264
|
+
J(t.join(P, "/index"), I, U);
|
|
14434
14265
|
});
|
|
14435
14266
|
});
|
|
14436
14267
|
});
|
|
14437
14268
|
}
|
|
14438
|
-
function
|
|
14269
|
+
function T(P, H) {
|
|
14439
14270
|
if (H.length === 0) return P(null, void 0);
|
|
14440
14271
|
var W = H[0];
|
|
14441
14272
|
N(t.dirname(W), U);
|
|
14442
14273
|
function U(X, te) {
|
|
14443
14274
|
if (X) return P(X);
|
|
14444
|
-
if (!te) return
|
|
14445
|
-
|
|
14275
|
+
if (!te) return T(P, H.slice(1));
|
|
14276
|
+
J(W, S.package, G);
|
|
14446
14277
|
}
|
|
14447
|
-
function
|
|
14278
|
+
function G(X, te, ne) {
|
|
14448
14279
|
if (X) return P(X);
|
|
14449
14280
|
if (te) return P(null, te, ne);
|
|
14450
14281
|
B(W, S.package, ee);
|
|
@@ -14452,14 +14283,14 @@ function requireAsync() {
|
|
|
14452
14283
|
function ee(X, te, ne) {
|
|
14453
14284
|
if (X) return P(X);
|
|
14454
14285
|
if (te) return P(null, te, ne);
|
|
14455
|
-
|
|
14286
|
+
T(P, H.slice(1));
|
|
14456
14287
|
}
|
|
14457
14288
|
}
|
|
14458
14289
|
function F(P, H, W) {
|
|
14459
14290
|
var U = function() {
|
|
14460
14291
|
return g(P, H, S);
|
|
14461
14292
|
};
|
|
14462
|
-
|
|
14293
|
+
T(
|
|
14463
14294
|
W,
|
|
14464
14295
|
D ? D(P, H, U, S) : U()
|
|
14465
14296
|
);
|
|
@@ -14912,29 +14743,29 @@ function requireSync() {
|
|
|
14912
14743
|
return sync = function(v, b) {
|
|
14913
14744
|
if (typeof v != "string")
|
|
14914
14745
|
throw new TypeError("Path must be a string.");
|
|
14915
|
-
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;
|
|
14916
14747
|
if (k.readFileSync && k.readPackageSync)
|
|
14917
14748
|
throw new TypeError("`readFileSync` and `readPackageSync` are mutually exclusive.");
|
|
14918
14749
|
var A = k.packageIterator, R = k.extensions || [".js"], O = k.includeCoreModules !== !1, z = k.basedir || t.dirname(r()), D = k.filename || z;
|
|
14919
14750
|
k.paths = k.paths || c();
|
|
14920
|
-
var j = m(
|
|
14751
|
+
var j = m(L, t.resolve(z), k);
|
|
14921
14752
|
if (/^(?:\.\.?(?:\/|$)|\/|([A-Za-z]:)?[/\\])/.test(v)) {
|
|
14922
14753
|
var Z = t.resolve(j, v);
|
|
14923
14754
|
(v === "." || v === ".." || v.slice(-1) === "/") && (Z += "/");
|
|
14924
14755
|
var Q = E(Z) || q(Z);
|
|
14925
|
-
if (Q) return m(
|
|
14756
|
+
if (Q) return m(L, Q, k);
|
|
14926
14757
|
} else {
|
|
14927
14758
|
if (O && e(v))
|
|
14928
14759
|
return v;
|
|
14929
|
-
var Y =
|
|
14930
|
-
if (Y) return m(
|
|
14760
|
+
var Y = J(v, j);
|
|
14761
|
+
if (Y) return m(L, Y, k);
|
|
14931
14762
|
}
|
|
14932
14763
|
var w = new Error("Cannot find module '" + v + "' from '" + D + "'");
|
|
14933
14764
|
throw w.code = "MODULE_NOT_FOUND", w;
|
|
14934
14765
|
function E($) {
|
|
14935
14766
|
var B = M(t.dirname($));
|
|
14936
14767
|
if (B && B.dir && B.pkg && k.pathFilter) {
|
|
14937
|
-
var
|
|
14768
|
+
var T = t.relative(B.dir, $), F = k.pathFilter(B.pkg, $, T);
|
|
14938
14769
|
F && ($ = t.resolve(B.dir, F));
|
|
14939
14770
|
}
|
|
14940
14771
|
if (C($))
|
|
@@ -14947,38 +14778,38 @@ function requireSync() {
|
|
|
14947
14778
|
}
|
|
14948
14779
|
function M($) {
|
|
14949
14780
|
if (!($ === "" || $ === "/") && !/[/\\]node_modules[/\\]*$/.test($)) {
|
|
14950
|
-
var B = t.join(m(
|
|
14781
|
+
var B = t.join(m(L, $, k), "package.json");
|
|
14951
14782
|
if (!C(B))
|
|
14952
14783
|
return M(t.dirname($));
|
|
14953
|
-
var
|
|
14954
|
-
return
|
|
14955
|
-
|
|
14784
|
+
var T = N(S, B);
|
|
14785
|
+
return T && k.packageFilter && (T = k.packageFilter(
|
|
14786
|
+
T,
|
|
14956
14787
|
/*pkgfile,*/
|
|
14957
14788
|
$
|
|
14958
|
-
)), { pkg:
|
|
14789
|
+
)), { pkg: T, dir: $ };
|
|
14959
14790
|
}
|
|
14960
14791
|
}
|
|
14961
14792
|
function q($) {
|
|
14962
|
-
var B = t.join(m(
|
|
14793
|
+
var B = t.join(m(L, $, k), "/package.json");
|
|
14963
14794
|
if (C(B)) {
|
|
14964
14795
|
try {
|
|
14965
|
-
var
|
|
14796
|
+
var T = N(S, B);
|
|
14966
14797
|
} catch {
|
|
14967
14798
|
}
|
|
14968
|
-
if (
|
|
14969
|
-
|
|
14799
|
+
if (T && k.packageFilter && (T = k.packageFilter(
|
|
14800
|
+
T,
|
|
14970
14801
|
/*pkgfile,*/
|
|
14971
14802
|
$
|
|
14972
|
-
)),
|
|
14973
|
-
if (typeof
|
|
14974
|
-
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");
|
|
14975
14806
|
throw F.code = "INVALID_PACKAGE_MAIN", F;
|
|
14976
14807
|
}
|
|
14977
|
-
(
|
|
14808
|
+
(T.main === "." || T.main === "./") && (T.main = "index");
|
|
14978
14809
|
try {
|
|
14979
|
-
var P = E(t.resolve($,
|
|
14810
|
+
var P = E(t.resolve($, T.main));
|
|
14980
14811
|
if (P) return P;
|
|
14981
|
-
var H = q(t.resolve($,
|
|
14812
|
+
var H = q(t.resolve($, T.main));
|
|
14982
14813
|
if (H) return H;
|
|
14983
14814
|
} catch {
|
|
14984
14815
|
}
|
|
@@ -14986,10 +14817,10 @@ function requireSync() {
|
|
|
14986
14817
|
}
|
|
14987
14818
|
return E(t.join($, "/index"));
|
|
14988
14819
|
}
|
|
14989
|
-
function
|
|
14990
|
-
for (var
|
|
14820
|
+
function J($, B) {
|
|
14821
|
+
for (var T = function() {
|
|
14991
14822
|
return g($, B, k);
|
|
14992
|
-
}, F = A ? A($, B,
|
|
14823
|
+
}, F = A ? A($, B, T, k) : T(), P = 0; P < F.length; P++) {
|
|
14993
14824
|
var H = F[P];
|
|
14994
14825
|
if (V(t.dirname(H))) {
|
|
14995
14826
|
var W = E(H);
|
|
@@ -15123,11 +14954,11 @@ function requireTypes() {
|
|
|
15123
14954
|
var f = s(BigInt.prototype.valueOf);
|
|
15124
14955
|
if (i)
|
|
15125
14956
|
var m = s(Symbol.prototype.valueOf);
|
|
15126
|
-
function p(I,
|
|
14957
|
+
function p(I, ce) {
|
|
15127
14958
|
if (typeof I != "object")
|
|
15128
14959
|
return !1;
|
|
15129
14960
|
try {
|
|
15130
|
-
return
|
|
14961
|
+
return ce(I), !0;
|
|
15131
14962
|
} catch {
|
|
15132
14963
|
return !1;
|
|
15133
14964
|
}
|
|
@@ -15165,10 +14996,10 @@ function requireTypes() {
|
|
|
15165
14996
|
return a(I) === "Int16Array";
|
|
15166
14997
|
}
|
|
15167
14998
|
e.isInt16Array = V;
|
|
15168
|
-
function
|
|
14999
|
+
function L(I) {
|
|
15169
15000
|
return a(I) === "Int32Array";
|
|
15170
15001
|
}
|
|
15171
|
-
e.isInt32Array =
|
|
15002
|
+
e.isInt32Array = L;
|
|
15172
15003
|
function N(I) {
|
|
15173
15004
|
return a(I) === "Float32Array";
|
|
15174
15005
|
}
|
|
@@ -15225,20 +15056,20 @@ function requireTypes() {
|
|
|
15225
15056
|
return typeof ArrayBuffer > "u" ? !1 : M.working ? M(I) : I instanceof ArrayBuffer;
|
|
15226
15057
|
}
|
|
15227
15058
|
e.isArrayBuffer = q;
|
|
15228
|
-
function
|
|
15059
|
+
function J(I) {
|
|
15229
15060
|
return l(I) === "[object DataView]";
|
|
15230
15061
|
}
|
|
15231
|
-
|
|
15062
|
+
J.working = typeof ArrayBuffer < "u" && typeof DataView < "u" && J(new DataView(new ArrayBuffer(1), 0, 1));
|
|
15232
15063
|
function $(I) {
|
|
15233
|
-
return typeof DataView > "u" ? !1 :
|
|
15064
|
+
return typeof DataView > "u" ? !1 : J.working ? J(I) : I instanceof DataView;
|
|
15234
15065
|
}
|
|
15235
15066
|
e.isDataView = $;
|
|
15236
15067
|
var B = typeof SharedArrayBuffer < "u" ? SharedArrayBuffer : void 0;
|
|
15237
|
-
function
|
|
15068
|
+
function T(I) {
|
|
15238
15069
|
return l(I) === "[object SharedArrayBuffer]";
|
|
15239
15070
|
}
|
|
15240
15071
|
function F(I) {
|
|
15241
|
-
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);
|
|
15242
15073
|
}
|
|
15243
15074
|
e.isSharedArrayBuffer = F;
|
|
15244
15075
|
function P(I) {
|
|
@@ -15257,10 +15088,10 @@ function requireTypes() {
|
|
|
15257
15088
|
return l(I) === "[object Generator]";
|
|
15258
15089
|
}
|
|
15259
15090
|
e.isGeneratorObject = U;
|
|
15260
|
-
function
|
|
15091
|
+
function G(I) {
|
|
15261
15092
|
return l(I) === "[object WebAssembly.Module]";
|
|
15262
15093
|
}
|
|
15263
|
-
e.isWebAssemblyCompiledModule =
|
|
15094
|
+
e.isWebAssemblyCompiledModule = G;
|
|
15264
15095
|
function ee(I) {
|
|
15265
15096
|
return p(I, c);
|
|
15266
15097
|
}
|
|
@@ -15328,34 +15159,34 @@ var hasRequiredUtil;
|
|
|
15328
15159
|
function requireUtil() {
|
|
15329
15160
|
return hasRequiredUtil || (hasRequiredUtil = 1, function(e) {
|
|
15330
15161
|
var n = {}, t = Object.getOwnPropertyDescriptors || function(B) {
|
|
15331
|
-
for (var
|
|
15332
|
-
F[
|
|
15162
|
+
for (var T = Object.keys(B), F = {}, P = 0; P < T.length; P++)
|
|
15163
|
+
F[T[P]] = Object.getOwnPropertyDescriptor(B, T[P]);
|
|
15333
15164
|
return F;
|
|
15334
15165
|
}, a = /%[sdj%]/g;
|
|
15335
15166
|
e.format = function($) {
|
|
15336
15167
|
if (!V($)) {
|
|
15337
|
-
for (var B = [],
|
|
15338
|
-
B.push(i(arguments[
|
|
15168
|
+
for (var B = [], T = 0; T < arguments.length; T++)
|
|
15169
|
+
B.push(i(arguments[T]));
|
|
15339
15170
|
return B.join(" ");
|
|
15340
15171
|
}
|
|
15341
|
-
for (var
|
|
15172
|
+
for (var T = 1, F = arguments, P = F.length, H = String($).replace(a, function(U) {
|
|
15342
15173
|
if (U === "%%") return "%";
|
|
15343
|
-
if (
|
|
15174
|
+
if (T >= P) return U;
|
|
15344
15175
|
switch (U) {
|
|
15345
15176
|
case "%s":
|
|
15346
|
-
return String(F[
|
|
15177
|
+
return String(F[T++]);
|
|
15347
15178
|
case "%d":
|
|
15348
|
-
return Number(F[
|
|
15179
|
+
return Number(F[T++]);
|
|
15349
15180
|
case "%j":
|
|
15350
15181
|
try {
|
|
15351
|
-
return JSON.stringify(F[
|
|
15182
|
+
return JSON.stringify(F[T++]);
|
|
15352
15183
|
} catch {
|
|
15353
15184
|
return "[Circular]";
|
|
15354
15185
|
}
|
|
15355
15186
|
default:
|
|
15356
15187
|
return U;
|
|
15357
15188
|
}
|
|
15358
|
-
}), W = F[
|
|
15189
|
+
}), W = F[T]; T < P; W = F[++T])
|
|
15359
15190
|
k(W) || !R(W) ? H += " " + W : H += " " + i(W);
|
|
15360
15191
|
return H;
|
|
15361
15192
|
}, e.deprecate = function($, B) {
|
|
@@ -15365,12 +15196,12 @@ function requireUtil() {
|
|
|
15365
15196
|
return function() {
|
|
15366
15197
|
return e.deprecate($, B).apply(this, arguments);
|
|
15367
15198
|
};
|
|
15368
|
-
var
|
|
15199
|
+
var T = !1;
|
|
15369
15200
|
function F() {
|
|
15370
|
-
if (!
|
|
15201
|
+
if (!T) {
|
|
15371
15202
|
if (process.throwDeprecation)
|
|
15372
15203
|
throw new Error(B);
|
|
15373
|
-
process.traceDeprecation ? console.trace(B) : console.error(B),
|
|
15204
|
+
process.traceDeprecation ? console.trace(B) : console.error(B), T = !0;
|
|
15374
15205
|
}
|
|
15375
15206
|
return $.apply(this, arguments);
|
|
15376
15207
|
}
|
|
@@ -15386,8 +15217,8 @@ function requireUtil() {
|
|
|
15386
15217
|
if (s.test($)) {
|
|
15387
15218
|
var B = process.pid;
|
|
15388
15219
|
r[$] = function() {
|
|
15389
|
-
var
|
|
15390
|
-
console.error("%s %d: %s", $, B,
|
|
15220
|
+
var T = e.format.apply(e, arguments);
|
|
15221
|
+
console.error("%s %d: %s", $, B, T);
|
|
15391
15222
|
};
|
|
15392
15223
|
} else
|
|
15393
15224
|
r[$] = function() {
|
|
@@ -15395,11 +15226,11 @@ function requireUtil() {
|
|
|
15395
15226
|
return r[$];
|
|
15396
15227
|
};
|
|
15397
15228
|
function i($, B) {
|
|
15398
|
-
var
|
|
15229
|
+
var T = {
|
|
15399
15230
|
seen: [],
|
|
15400
15231
|
stylize: c
|
|
15401
15232
|
};
|
|
15402
|
-
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);
|
|
15403
15234
|
}
|
|
15404
15235
|
e.inspect = i, i.colors = {
|
|
15405
15236
|
bold: [1, 22],
|
|
@@ -15427,24 +15258,24 @@ function requireUtil() {
|
|
|
15427
15258
|
regexp: "red"
|
|
15428
15259
|
};
|
|
15429
15260
|
function l($, B) {
|
|
15430
|
-
var
|
|
15431
|
-
return
|
|
15261
|
+
var T = i.styles[B];
|
|
15262
|
+
return T ? "\x1B[" + i.colors[T][0] + "m" + $ + "\x1B[" + i.colors[T][1] + "m" : $;
|
|
15432
15263
|
}
|
|
15433
15264
|
function c($, B) {
|
|
15434
15265
|
return $;
|
|
15435
15266
|
}
|
|
15436
15267
|
function u($) {
|
|
15437
15268
|
var B = {};
|
|
15438
|
-
return $.forEach(function(
|
|
15439
|
-
B[
|
|
15269
|
+
return $.forEach(function(T, F) {
|
|
15270
|
+
B[T] = !0;
|
|
15440
15271
|
}), B;
|
|
15441
15272
|
}
|
|
15442
|
-
function d($, B,
|
|
15273
|
+
function d($, B, T) {
|
|
15443
15274
|
if ($.customInspect && B && D(B.inspect) && // Filter out the util module, it's inspect function is special
|
|
15444
15275
|
B.inspect !== e.inspect && // Also filter out any prototype objects using the circular check.
|
|
15445
15276
|
!(B.constructor && B.constructor.prototype === B)) {
|
|
15446
|
-
var F = B.inspect(
|
|
15447
|
-
return V(F) || (F = d($, F,
|
|
15277
|
+
var F = B.inspect(T, $);
|
|
15278
|
+
return V(F) || (F = d($, F, T)), F;
|
|
15448
15279
|
}
|
|
15449
15280
|
var P = f($, B);
|
|
15450
15281
|
if (P)
|
|
@@ -15464,27 +15295,27 @@ function requireUtil() {
|
|
|
15464
15295
|
if (z(B))
|
|
15465
15296
|
return m(B);
|
|
15466
15297
|
}
|
|
15467
|
-
var
|
|
15298
|
+
var G = "", ee = !1, X = ["{", "}"];
|
|
15468
15299
|
if (v(B) && (ee = !0, X = ["[", "]"]), D(B)) {
|
|
15469
15300
|
var te = B.name ? ": " + B.name : "";
|
|
15470
|
-
|
|
15301
|
+
G = " [Function" + te + "]";
|
|
15471
15302
|
}
|
|
15472
|
-
if (A(B) && (
|
|
15473
|
-
return X[0] +
|
|
15474
|
-
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)
|
|
15475
15306
|
return A(B) ? $.stylize(RegExp.prototype.toString.call(B), "regexp") : $.stylize("[Object]", "special");
|
|
15476
15307
|
$.seen.push(B);
|
|
15477
15308
|
var ne;
|
|
15478
|
-
return ee ? ne = p($, B,
|
|
15479
|
-
return g($, B,
|
|
15480
|
-
}), $.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);
|
|
15481
15312
|
}
|
|
15482
15313
|
function f($, B) {
|
|
15483
15314
|
if (N(B))
|
|
15484
15315
|
return $.stylize("undefined", "undefined");
|
|
15485
15316
|
if (V(B)) {
|
|
15486
|
-
var
|
|
15487
|
-
return $.stylize(
|
|
15317
|
+
var T = "'" + JSON.stringify(B).replace(/^"|"$/g, "").replace(/'/g, "\\'").replace(/\\"/g, '"') + "'";
|
|
15318
|
+
return $.stylize(T, "string");
|
|
15488
15319
|
}
|
|
15489
15320
|
if (S(B))
|
|
15490
15321
|
return $.stylize("" + B, "number");
|
|
@@ -15496,30 +15327,30 @@ function requireUtil() {
|
|
|
15496
15327
|
function m($) {
|
|
15497
15328
|
return "[" + Error.prototype.toString.call($) + "]";
|
|
15498
15329
|
}
|
|
15499
|
-
function p($, B,
|
|
15330
|
+
function p($, B, T, F, P) {
|
|
15500
15331
|
for (var H = [], W = 0, U = B.length; W < U; ++W)
|
|
15501
15332
|
E(B, String(W)) ? H.push(g(
|
|
15502
15333
|
$,
|
|
15503
15334
|
B,
|
|
15504
|
-
|
|
15335
|
+
T,
|
|
15505
15336
|
F,
|
|
15506
15337
|
String(W),
|
|
15507
15338
|
!0
|
|
15508
15339
|
)) : H.push("");
|
|
15509
|
-
return P.forEach(function(
|
|
15510
|
-
|
|
15340
|
+
return P.forEach(function(G) {
|
|
15341
|
+
G.match(/^\d+$/) || H.push(g(
|
|
15511
15342
|
$,
|
|
15512
15343
|
B,
|
|
15513
|
-
|
|
15344
|
+
T,
|
|
15514
15345
|
F,
|
|
15515
|
-
|
|
15346
|
+
G,
|
|
15516
15347
|
!0
|
|
15517
15348
|
));
|
|
15518
15349
|
}), H;
|
|
15519
15350
|
}
|
|
15520
|
-
function g($, B,
|
|
15521
|
-
var W, U,
|
|
15522
|
-
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(`
|
|
15523
15354
|
`) > -1 && (H ? U = U.split(`
|
|
15524
15355
|
`).map(function(ee) {
|
|
15525
15356
|
return " " + ee;
|
|
@@ -15536,14 +15367,14 @@ function requireUtil() {
|
|
|
15536
15367
|
}
|
|
15537
15368
|
return W + ": " + U;
|
|
15538
15369
|
}
|
|
15539
|
-
function _($, B,
|
|
15370
|
+
function _($, B, T) {
|
|
15540
15371
|
var F = $.reduce(function(P, H) {
|
|
15541
15372
|
return H.indexOf(`
|
|
15542
15373
|
`) >= 0, P + H.replace(/\u001b\[\d\d?m/g, "").length + 1;
|
|
15543
15374
|
}, 0);
|
|
15544
|
-
return F > 60 ?
|
|
15375
|
+
return F > 60 ? T[0] + (B === "" ? "" : B + `
|
|
15545
15376
|
`) + " " + $.join(`,
|
|
15546
|
-
`) + " " +
|
|
15377
|
+
`) + " " + T[1] : T[0] + B + " " + $.join(", ") + " " + T[1];
|
|
15547
15378
|
}
|
|
15548
15379
|
e.types = requireTypes();
|
|
15549
15380
|
function v($) {
|
|
@@ -15570,10 +15401,10 @@ function requireUtil() {
|
|
|
15570
15401
|
return typeof $ == "string";
|
|
15571
15402
|
}
|
|
15572
15403
|
e.isString = V;
|
|
15573
|
-
function
|
|
15404
|
+
function L($) {
|
|
15574
15405
|
return typeof $ == "symbol";
|
|
15575
15406
|
}
|
|
15576
|
-
e.isSymbol =
|
|
15407
|
+
e.isSymbol = L;
|
|
15577
15408
|
function N($) {
|
|
15578
15409
|
return $ === void 0;
|
|
15579
15410
|
}
|
|
@@ -15635,8 +15466,8 @@ function requireUtil() {
|
|
|
15635
15466
|
console.log("%s - %s", w(), e.format.apply(e, arguments));
|
|
15636
15467
|
}, e.inherits = requireInherits_browser(), e._extend = function($, B) {
|
|
15637
15468
|
if (!B || !R(B)) return $;
|
|
15638
|
-
for (var
|
|
15639
|
-
$[
|
|
15469
|
+
for (var T = Object.keys(B), F = T.length; F--; )
|
|
15470
|
+
$[T[F]] = B[T[F]];
|
|
15640
15471
|
return $;
|
|
15641
15472
|
};
|
|
15642
15473
|
function E($, B) {
|
|
@@ -15647,61 +15478,61 @@ function requireUtil() {
|
|
|
15647
15478
|
if (typeof B != "function")
|
|
15648
15479
|
throw new TypeError('The "original" argument must be of type Function');
|
|
15649
15480
|
if (M && B[M]) {
|
|
15650
|
-
var
|
|
15651
|
-
if (typeof
|
|
15481
|
+
var T = B[M];
|
|
15482
|
+
if (typeof T != "function")
|
|
15652
15483
|
throw new TypeError('The "util.promisify.custom" argument must be of type Function');
|
|
15653
|
-
return Object.defineProperty(
|
|
15654
|
-
value:
|
|
15484
|
+
return Object.defineProperty(T, M, {
|
|
15485
|
+
value: T,
|
|
15655
15486
|
enumerable: !1,
|
|
15656
15487
|
writable: !1,
|
|
15657
15488
|
configurable: !0
|
|
15658
|
-
}),
|
|
15489
|
+
}), T;
|
|
15659
15490
|
}
|
|
15660
|
-
function
|
|
15661
|
-
for (var F, P, H = new Promise(function(
|
|
15662
|
-
F =
|
|
15491
|
+
function T() {
|
|
15492
|
+
for (var F, P, H = new Promise(function(G, ee) {
|
|
15493
|
+
F = G, P = ee;
|
|
15663
15494
|
}), W = [], U = 0; U < arguments.length; U++)
|
|
15664
15495
|
W.push(arguments[U]);
|
|
15665
|
-
W.push(function(
|
|
15666
|
-
|
|
15496
|
+
W.push(function(G, ee) {
|
|
15497
|
+
G ? P(G) : F(ee);
|
|
15667
15498
|
});
|
|
15668
15499
|
try {
|
|
15669
15500
|
B.apply(this, W);
|
|
15670
|
-
} catch (
|
|
15671
|
-
P(
|
|
15501
|
+
} catch (G) {
|
|
15502
|
+
P(G);
|
|
15672
15503
|
}
|
|
15673
15504
|
return H;
|
|
15674
15505
|
}
|
|
15675
|
-
return Object.setPrototypeOf(
|
|
15676
|
-
value:
|
|
15506
|
+
return Object.setPrototypeOf(T, Object.getPrototypeOf(B)), M && Object.defineProperty(T, M, {
|
|
15507
|
+
value: T,
|
|
15677
15508
|
enumerable: !1,
|
|
15678
15509
|
writable: !1,
|
|
15679
15510
|
configurable: !0
|
|
15680
15511
|
}), Object.defineProperties(
|
|
15681
|
-
|
|
15512
|
+
T,
|
|
15682
15513
|
t(B)
|
|
15683
15514
|
);
|
|
15684
15515
|
}, e.promisify.custom = M;
|
|
15685
15516
|
function q($, B) {
|
|
15686
15517
|
if (!$) {
|
|
15687
|
-
var
|
|
15688
|
-
|
|
15518
|
+
var T = new Error("Promise was rejected with a falsy value");
|
|
15519
|
+
T.reason = $, $ = T;
|
|
15689
15520
|
}
|
|
15690
15521
|
return B($);
|
|
15691
15522
|
}
|
|
15692
|
-
function
|
|
15523
|
+
function J($) {
|
|
15693
15524
|
if (typeof $ != "function")
|
|
15694
15525
|
throw new TypeError('The "original" argument must be of type Function');
|
|
15695
15526
|
function B() {
|
|
15696
|
-
for (var
|
|
15697
|
-
|
|
15698
|
-
var P =
|
|
15527
|
+
for (var T = [], F = 0; F < arguments.length; F++)
|
|
15528
|
+
T.push(arguments[F]);
|
|
15529
|
+
var P = T.pop();
|
|
15699
15530
|
if (typeof P != "function")
|
|
15700
15531
|
throw new TypeError("The last argument must be of type Function");
|
|
15701
15532
|
var H = this, W = function() {
|
|
15702
15533
|
return P.apply(H, arguments);
|
|
15703
15534
|
};
|
|
15704
|
-
$.apply(this,
|
|
15535
|
+
$.apply(this, T).then(
|
|
15705
15536
|
function(U) {
|
|
15706
15537
|
process.nextTick(W.bind(null, null, U));
|
|
15707
15538
|
},
|
|
@@ -15715,7 +15546,7 @@ function requireUtil() {
|
|
|
15715
15546
|
t($)
|
|
15716
15547
|
), B;
|
|
15717
15548
|
}
|
|
15718
|
-
e.callbackify =
|
|
15549
|
+
e.callbackify = J;
|
|
15719
15550
|
}(util)), util;
|
|
15720
15551
|
}
|
|
15721
15552
|
var isArrayish, hasRequiredIsArrayish;
|
|
@@ -16069,11 +15900,11 @@ function requireLib() {
|
|
|
16069
15900
|
const u = /* @__PURE__ */ new Set(["as", "async", "from", "get", "of", "set"]), d = /\r\n|[\n\r\u2028\u2029]/, f = /^[()[\]{}]$/;
|
|
16070
15901
|
let m;
|
|
16071
15902
|
{
|
|
16072
|
-
const C = /^[a-z][\w-]*$/i, S = function(V,
|
|
15903
|
+
const C = /^[a-z][\w-]*$/i, S = function(V, L, N) {
|
|
16073
15904
|
if (V.type === "name") {
|
|
16074
15905
|
if (a.isKeyword(V.value) || a.isStrictReservedWord(V.value, !0) || u.has(V.value))
|
|
16075
15906
|
return "keyword";
|
|
16076
|
-
if (C.test(V.value) && (N[
|
|
15907
|
+
if (C.test(V.value) && (N[L - 1] === "<" || N.slice(L - 2, L) === "</"))
|
|
16077
15908
|
return "jsxIdentifier";
|
|
16078
15909
|
if (V.value[0] !== V.value[0].toLowerCase())
|
|
16079
15910
|
return "capitalized";
|
|
@@ -16081,11 +15912,11 @@ function requireLib() {
|
|
|
16081
15912
|
return V.type === "punctuator" && f.test(V.value) ? "bracket" : V.type === "invalid" && (V.value === "@" || V.value === "#") ? "punctuator" : V.type;
|
|
16082
15913
|
};
|
|
16083
15914
|
m = function* (V) {
|
|
16084
|
-
let
|
|
16085
|
-
for (;
|
|
16086
|
-
const N = t.matchToToken(
|
|
15915
|
+
let L;
|
|
15916
|
+
for (; L = t.default.exec(V); ) {
|
|
15917
|
+
const N = t.matchToToken(L);
|
|
16087
15918
|
yield {
|
|
16088
|
-
type: S(N,
|
|
15919
|
+
type: S(N, L.index, V),
|
|
16089
15920
|
value: N.value
|
|
16090
15921
|
};
|
|
16091
15922
|
}
|
|
@@ -16096,23 +15927,23 @@ function requireLib() {
|
|
|
16096
15927
|
const S = c(!0);
|
|
16097
15928
|
let V = "";
|
|
16098
15929
|
for (const {
|
|
16099
|
-
type:
|
|
15930
|
+
type: L,
|
|
16100
15931
|
value: N
|
|
16101
15932
|
} of m(C))
|
|
16102
|
-
|
|
15933
|
+
L in S ? V += N.split(d).map((A) => S[L](A)).join(`
|
|
16103
15934
|
`) : V += N;
|
|
16104
15935
|
return V;
|
|
16105
15936
|
}
|
|
16106
15937
|
let g = !1;
|
|
16107
15938
|
const _ = /\r\n|[\n\r\u2028\u2029]/;
|
|
16108
15939
|
function v(C, S, V) {
|
|
16109
|
-
const
|
|
15940
|
+
const L = Object.assign({
|
|
16110
15941
|
column: 0,
|
|
16111
15942
|
line: -1
|
|
16112
|
-
}, C.start), N = Object.assign({},
|
|
15943
|
+
}, C.start), N = Object.assign({}, L, C.end), {
|
|
16113
15944
|
linesAbove: A = 2,
|
|
16114
15945
|
linesBelow: R = 3
|
|
16115
|
-
} = V || {}, O =
|
|
15946
|
+
} = V || {}, O = L.line, z = L.column, D = N.line, j = N.column;
|
|
16116
15947
|
let Z = Math.max(O - (A + 1), 0), Q = Math.min(S.length, D + R);
|
|
16117
15948
|
O === -1 && (Z = 0), D === -1 && (Q = S.length);
|
|
16118
15949
|
const Y = D - O, w = {};
|
|
@@ -16140,19 +15971,19 @@ function requireLib() {
|
|
|
16140
15971
|
};
|
|
16141
15972
|
}
|
|
16142
15973
|
function b(C, S, V = {}) {
|
|
16143
|
-
const
|
|
15974
|
+
const L = V.forceColor || r() && V.highlightCode, N = c(L), A = C.split(_), {
|
|
16144
15975
|
start: R,
|
|
16145
15976
|
end: O,
|
|
16146
15977
|
markerLines: z
|
|
16147
15978
|
} = v(S, A, V), D = S.start && typeof S.start.column == "number", j = String(O).length;
|
|
16148
|
-
let Q = (
|
|
16149
|
-
const E = R + 1 + w, q = ` ${` ${E}`.slice(-j)} |`,
|
|
16150
|
-
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) {
|
|
16151
15982
|
let B = "";
|
|
16152
|
-
if (Array.isArray(
|
|
16153
|
-
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;
|
|
16154
15985
|
B = [`
|
|
16155
|
-
`, 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));
|
|
16156
15987
|
}
|
|
16157
15988
|
return [N.marker(">"), N.gutter(q), Y.length > 0 ? ` ${Y}` : "", B].join("");
|
|
16158
15989
|
} else
|
|
@@ -16160,9 +15991,9 @@ function requireLib() {
|
|
|
16160
15991
|
}).join(`
|
|
16161
15992
|
`);
|
|
16162
15993
|
return V.message && !D && (Q = `${" ".repeat(j + 1)}${V.message}
|
|
16163
|
-
${Q}`),
|
|
15994
|
+
${Q}`), L ? N.reset(Q) : Q;
|
|
16164
15995
|
}
|
|
16165
|
-
function k(C, S, V,
|
|
15996
|
+
function k(C, S, V, L = {}) {
|
|
16166
15997
|
if (!g) {
|
|
16167
15998
|
g = !0;
|
|
16168
15999
|
const A = "Passing lineNumber and colNumber is deprecated to @babel/code-frame. Please use `codeFrameColumns`.";
|
|
@@ -16178,7 +16009,7 @@ ${Q}`), T ? N.reset(Q) : Q;
|
|
|
16178
16009
|
column: V,
|
|
16179
16010
|
line: S
|
|
16180
16011
|
}
|
|
16181
|
-
},
|
|
16012
|
+
}, L);
|
|
16182
16013
|
}
|
|
16183
16014
|
return lib$1.codeFrameColumns = b, lib$1.default = k, lib$1.highlight = p, lib$1;
|
|
16184
16015
|
}
|
|
@@ -17264,10 +17095,10 @@ var Collection$1 = /* @__PURE__ */ function(e) {
|
|
|
17264
17095
|
}, d);
|
|
17265
17096
|
if (!V) return d;
|
|
17266
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) {
|
|
17267
|
-
for (var
|
|
17268
|
-
N = i[--
|
|
17098
|
+
for (var L = d - 1, N = i[L]; N === " " || N === " "; )
|
|
17099
|
+
N = i[--L];
|
|
17269
17100
|
N === `
|
|
17270
|
-
` && (l =
|
|
17101
|
+
` && (l = L + 1, m = !0);
|
|
17271
17102
|
}
|
|
17272
17103
|
var A = grabCollectionEndComments(V);
|
|
17273
17104
|
A && Array.prototype.push.apply(this.items, A);
|
|
@@ -17560,13 +17391,13 @@ var Collection$1 = /* @__PURE__ */ function(e) {
|
|
|
17560
17391
|
` : v = `
|
|
17561
17392
|
`;
|
|
17562
17393
|
else {
|
|
17563
|
-
var V = Node$1.endOfLine(c, k),
|
|
17394
|
+
var V = Node$1.endOfLine(c, k), L = c.slice(k, V);
|
|
17564
17395
|
k = V, p && (S === " " || S === " ") && k < f ? (v === " " ? v = `
|
|
17565
17396
|
` : !b && !g && v === `
|
|
17566
17397
|
` && (v = `
|
|
17567
17398
|
|
|
17568
|
-
`), _ += v +
|
|
17569
|
-
`, 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);
|
|
17570
17401
|
}
|
|
17571
17402
|
}
|
|
17572
17403
|
return this.chomping === Chomp.STRIP ? _ : _ + `
|
|
@@ -18299,10 +18130,10 @@ var isEmptyPath = function e(n) {
|
|
|
18299
18130
|
w && (!k && w.spaceBefore && Y.push({
|
|
18300
18131
|
type: "comment",
|
|
18301
18132
|
str: ""
|
|
18302
|
-
}), w.commentBefore && w.commentBefore.match(/^.*$/gm).forEach(function(
|
|
18133
|
+
}), w.commentBefore && w.commentBefore.match(/^.*$/gm).forEach(function(J) {
|
|
18303
18134
|
Y.push({
|
|
18304
18135
|
type: "comment",
|
|
18305
|
-
str: "#".concat(
|
|
18136
|
+
str: "#".concat(J)
|
|
18306
18137
|
});
|
|
18307
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;
|
|
18308
18139
|
var q = _(w, r, function() {
|
|
@@ -18319,13 +18150,13 @@ var isEmptyPath = function e(n) {
|
|
|
18319
18150
|
if (S.length === 0)
|
|
18320
18151
|
V = u.start + u.end;
|
|
18321
18152
|
else if (v) {
|
|
18322
|
-
var
|
|
18153
|
+
var L = u.start, N = u.end, A = S.map(function(Y) {
|
|
18323
18154
|
return Y.str;
|
|
18324
18155
|
});
|
|
18325
18156
|
if (C || A.reduce(function(Y, w) {
|
|
18326
18157
|
return Y + w.length + 2;
|
|
18327
18158
|
}, 2) > t.maxFlowStringSingleLineLength) {
|
|
18328
|
-
V =
|
|
18159
|
+
V = L;
|
|
18329
18160
|
var R = _createForOfIteratorHelper(A), O;
|
|
18330
18161
|
try {
|
|
18331
18162
|
for (R.s(); !(O = R.n()).done; ) {
|
|
@@ -18342,7 +18173,7 @@ var isEmptyPath = function e(n) {
|
|
|
18342
18173
|
V += `
|
|
18343
18174
|
`.concat(p).concat(N);
|
|
18344
18175
|
} else
|
|
18345
|
-
V = "".concat(
|
|
18176
|
+
V = "".concat(L, " ").concat(A.join(" "), " ").concat(N);
|
|
18346
18177
|
} else {
|
|
18347
18178
|
var D = S.map(c);
|
|
18348
18179
|
V = D.shift();
|
|
@@ -18531,12 +18362,12 @@ var YAMLSeq = /* @__PURE__ */ function(e) {
|
|
|
18531
18362
|
return this.comment ? (V = addComment(V, r.indent, this.comment), s && s()) : S && !m && o && o(), r.inFlow && !g ? V : "? ".concat(V);
|
|
18532
18363
|
V = g ? "? ".concat(V, `
|
|
18533
18364
|
`).concat(b, ":") : "".concat(V, ":"), this.comment && (V = addComment(V, r.indent, this.comment), s && s());
|
|
18534
|
-
var
|
|
18365
|
+
var L = "", N = null;
|
|
18535
18366
|
if (f instanceof Node) {
|
|
18536
|
-
if (f.spaceBefore && (
|
|
18367
|
+
if (f.spaceBefore && (L = `
|
|
18537
18368
|
`), f.commentBefore) {
|
|
18538
18369
|
var A = f.commentBefore.replace(/^/gm, "".concat(r.indent, "#"));
|
|
18539
|
-
|
|
18370
|
+
L += `
|
|
18540
18371
|
`.concat(A);
|
|
18541
18372
|
}
|
|
18542
18373
|
N = f.comment;
|
|
@@ -18547,8 +18378,8 @@ var YAMLSeq = /* @__PURE__ */ function(e) {
|
|
|
18547
18378
|
}, function() {
|
|
18548
18379
|
return S = !0;
|
|
18549
18380
|
}), O = " ";
|
|
18550
|
-
if (
|
|
18551
|
-
O = "".concat(
|
|
18381
|
+
if (L || this.comment)
|
|
18382
|
+
O = "".concat(L, `
|
|
18552
18383
|
`).concat(r.indent);
|
|
18553
18384
|
else if (!g && f instanceof Collection) {
|
|
18554
18385
|
var z = R[0] === "[" || R[0] === "{";
|
|
@@ -18893,9 +18724,9 @@ function foldFlowLines(e, n, t, a) {
|
|
|
18893
18724
|
else if (t === FOLD_QUOTED) {
|
|
18894
18725
|
for (; _ === " " || _ === " "; )
|
|
18895
18726
|
_ = S, S = e[b += 1], v = !0;
|
|
18896
|
-
var
|
|
18897
|
-
if (m[
|
|
18898
|
-
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;
|
|
18899
18730
|
} else
|
|
18900
18731
|
v = !0;
|
|
18901
18732
|
}
|
|
@@ -21607,8 +21438,8 @@ function requireDist() {
|
|
|
21607
21438
|
function d(S, V = {}) {
|
|
21608
21439
|
if (V.configName === "options")
|
|
21609
21440
|
throw new Error('You cannot use the configName "options". It is reserved for babel-plugin-macros.');
|
|
21610
|
-
return
|
|
21611
|
-
function
|
|
21441
|
+
return L.isBabelMacro = !0, L.options = V, L;
|
|
21442
|
+
function L(N) {
|
|
21612
21443
|
const {
|
|
21613
21444
|
source: A,
|
|
21614
21445
|
isBabelMacrosCall: R
|
|
@@ -21628,12 +21459,12 @@ function requireDist() {
|
|
|
21628
21459
|
}
|
|
21629
21460
|
function m(S, V = {}) {
|
|
21630
21461
|
let {
|
|
21631
|
-
require:
|
|
21462
|
+
require: L = commonjsRequire,
|
|
21632
21463
|
resolvePath: N = f,
|
|
21633
21464
|
isMacrosName: A = i
|
|
21634
21465
|
} = V, R = (0, a.default)(V, ["require", "resolvePath", "isMacrosName"]);
|
|
21635
21466
|
function O(z) {
|
|
21636
|
-
const D =
|
|
21467
|
+
const D = L(z);
|
|
21637
21468
|
return D && D.__esModule && D.default ? D.default : D;
|
|
21638
21469
|
}
|
|
21639
21470
|
return {
|
|
@@ -21705,7 +21536,7 @@ function requireDist() {
|
|
|
21705
21536
|
function p({
|
|
21706
21537
|
path: S,
|
|
21707
21538
|
imports: V,
|
|
21708
|
-
source:
|
|
21539
|
+
source: L,
|
|
21709
21540
|
state: N,
|
|
21710
21541
|
babel: A,
|
|
21711
21542
|
interopRequire: R,
|
|
@@ -21721,15 +21552,15 @@ function requireDist() {
|
|
|
21721
21552
|
} = N;
|
|
21722
21553
|
let j = !1;
|
|
21723
21554
|
const Z = V.reduce((q, {
|
|
21724
|
-
importedName:
|
|
21555
|
+
importedName: J,
|
|
21725
21556
|
localName: $
|
|
21726
21557
|
}) => {
|
|
21727
21558
|
const B = S.scope.getBinding($);
|
|
21728
|
-
return q[
|
|
21729
|
-
}, {}), 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);
|
|
21730
21561
|
if (!w.isBabelMacro)
|
|
21731
|
-
throw new Error(`The macro imported from "${
|
|
21732
|
-
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);
|
|
21733
21564
|
let M;
|
|
21734
21565
|
try {
|
|
21735
21566
|
N.file.scope.path.traverse({
|
|
@@ -21737,14 +21568,14 @@ function requireDist() {
|
|
|
21737
21568
|
}
|
|
21738
21569
|
}), M = w({
|
|
21739
21570
|
references: Z,
|
|
21740
|
-
source:
|
|
21571
|
+
source: L,
|
|
21741
21572
|
state: N,
|
|
21742
21573
|
babel: A,
|
|
21743
21574
|
config: E,
|
|
21744
21575
|
isBabelMacrosCall: !0
|
|
21745
21576
|
});
|
|
21746
21577
|
} catch (q) {
|
|
21747
|
-
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(
|
|
21748
21579
|
// remove everything after package name
|
|
21749
21580
|
// @org/package/macro -> @org/package
|
|
21750
21581
|
// package/macro -> package
|
|
@@ -21756,15 +21587,15 @@ function requireDist() {
|
|
|
21756
21587
|
}
|
|
21757
21588
|
function g(S, V) {
|
|
21758
21589
|
try {
|
|
21759
|
-
const
|
|
21760
|
-
if (
|
|
21590
|
+
const L = u().search(V);
|
|
21591
|
+
if (L)
|
|
21761
21592
|
return {
|
|
21762
|
-
options:
|
|
21763
|
-
path:
|
|
21593
|
+
options: L.config[S],
|
|
21594
|
+
path: L.filepath
|
|
21764
21595
|
};
|
|
21765
|
-
} catch (
|
|
21596
|
+
} catch (L) {
|
|
21766
21597
|
return {
|
|
21767
|
-
error:
|
|
21598
|
+
error: L
|
|
21768
21599
|
};
|
|
21769
21600
|
}
|
|
21770
21601
|
return {};
|
|
@@ -21779,14 +21610,14 @@ function requireDist() {
|
|
|
21779
21610
|
};
|
|
21780
21611
|
return {};
|
|
21781
21612
|
}
|
|
21782
|
-
function v(S, V,
|
|
21613
|
+
function v(S, V, L, N) {
|
|
21783
21614
|
const {
|
|
21784
21615
|
configName: A
|
|
21785
21616
|
} = S.options;
|
|
21786
21617
|
if (A) {
|
|
21787
21618
|
const R = g(A, V), O = _(A, N);
|
|
21788
21619
|
if (O.options === void 0 && R.options === void 0 && R.error !== void 0)
|
|
21789
|
-
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;
|
|
21790
21621
|
if (R.options !== void 0 && O.options !== void 0 && typeof R.options != "object")
|
|
21791
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.`);
|
|
21792
21623
|
return (0, t.default)({}, O.options, {}, R.options);
|
|
@@ -21796,8 +21627,8 @@ function requireDist() {
|
|
|
21796
21627
|
return r.isAbsolute(S) ? S : r.join(process.cwd(), S);
|
|
21797
21628
|
}
|
|
21798
21629
|
function k(S, V) {
|
|
21799
|
-
return S && V && Object.keys(V).every((
|
|
21800
|
-
const N = V[
|
|
21630
|
+
return S && V && Object.keys(V).every((L) => {
|
|
21631
|
+
const N = V[L], A = S[L];
|
|
21801
21632
|
return typeof N == "function" ? N(A) : C(N) ? N === A : k(A, N);
|
|
21802
21633
|
});
|
|
21803
21634
|
}
|
|
@@ -22584,7 +22415,7 @@ const VsHeroSectionVideoControl = /* @__PURE__ */ _export_sfc(_sfc_main$1d, [["r
|
|
|
22584
22415
|
}, _hoisted_3$A = ["poster"], _hoisted_4$s = ["src"], _hoisted_5$j = {
|
|
22585
22416
|
key: 2,
|
|
22586
22417
|
class: "vs-hero-section__divider"
|
|
22587
|
-
}, _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" };
|
|
22588
22419
|
function _sfc_render$12(e, n, t, a, r, s) {
|
|
22589
22420
|
const o = resolveComponent("VsHeroSectionImage"), i = resolveComponent("VsHeading"), l = resolveComponent("VsBody"), c = resolveComponent("VsHeroSectionVideoControl");
|
|
22590
22421
|
return openBlock(), createElementBlock("div", {
|
|
@@ -22646,7 +22477,7 @@ function _sfc_render$12(e, n, t, a, r, s) {
|
|
|
22646
22477
|
variant: "lead"
|
|
22647
22478
|
}, {
|
|
22648
22479
|
default: withCtx(() => [
|
|
22649
|
-
createElementVNode("p", _hoisted_8$
|
|
22480
|
+
createElementVNode("p", _hoisted_8$4, toDisplayString(t.lede), 1)
|
|
22650
22481
|
]),
|
|
22651
22482
|
_: 1
|
|
22652
22483
|
})) : createCommentVNode("", !0)
|
|
@@ -22977,7 +22808,7 @@ const VsToggleButton = /* @__PURE__ */ _export_sfc(_sfc_main$17, [["render", _sf
|
|
|
22977
22808
|
return typeof this.videoDetails < "u" && this.videoDetails.videoDuration > 0;
|
|
22978
22809
|
},
|
|
22979
22810
|
showCookieMessage() {
|
|
22980
|
-
return !!(!this.
|
|
22811
|
+
return !!(!this.cookiesAllowed && this.noCookiesMessage);
|
|
22981
22812
|
}
|
|
22982
22813
|
},
|
|
22983
22814
|
methods: {
|
|
@@ -22999,9 +22830,6 @@ const VsToggleButton = /* @__PURE__ */ _export_sfc(_sfc_main$17, [["render", _sf
|
|
|
22999
22830
|
class: "vs-video-caption vs-video-caption--warning"
|
|
23000
22831
|
}, _hoisted_7$b = {
|
|
23001
22832
|
key: 2,
|
|
23002
|
-
class: "vs-video-caption vs-video-caption--warning"
|
|
23003
|
-
}, _hoisted_8$4 = {
|
|
23004
|
-
key: 3,
|
|
23005
22833
|
class: "vs-video-caption vs-video-caption--no-js vs-video-caption--warning",
|
|
23006
22834
|
"data-test": "video-caption-nojs"
|
|
23007
22835
|
};
|
|
@@ -23011,7 +22839,7 @@ function _sfc_render$Y(e, n, t, a, r, s) {
|
|
|
23011
22839
|
"data-test": "video-caption",
|
|
23012
22840
|
class: normalizeClass(["vs-video-caption__wrapper", `vs-video-caption__wrapper--${t.variant}`])
|
|
23013
22841
|
}, [
|
|
23014
|
-
s.videoLoaded && e.
|
|
22842
|
+
s.videoLoaded && e.cookiesAllowed ? (openBlock(), createElementBlock("div", {
|
|
23015
22843
|
"data-test": "video-caption-variants",
|
|
23016
22844
|
class: normalizeClass(["vs-video-caption", `vs-video-caption--${t.variant}`]),
|
|
23017
22845
|
key: "video-caption"
|
|
@@ -23044,14 +22872,14 @@ function _sfc_render$Y(e, n, t, a, r, s) {
|
|
|
23044
22872
|
__: [0]
|
|
23045
22873
|
}, 8, ["onToggleAction"])) : createCommentVNode("", !0)
|
|
23046
22874
|
])) : createCommentVNode("", !0),
|
|
23047
|
-
e.
|
|
22875
|
+
e.cookiesAllowed ? (openBlock(), createElementBlock("div", _hoisted_3$x, [
|
|
23048
22876
|
createElementVNode("p", _hoisted_4$q, [
|
|
23049
22877
|
renderSlot(e.$slots, "video-title")
|
|
23050
22878
|
]),
|
|
23051
22879
|
createElementVNode("p", _hoisted_5$i, toDisplayString(s.videoDetails.videoDurationMsg), 1)
|
|
23052
22880
|
])) : createCommentVNode("", !0)
|
|
23053
22881
|
], 2)) : createCommentVNode("", !0),
|
|
23054
|
-
!(s.videoLoaded && e.
|
|
22882
|
+
!(s.videoLoaded && e.cookiesAllowed) && s.showCookieMessage ? (openBlock(), createElementBlock("div", _hoisted_6$d, [
|
|
23055
22883
|
createVNode(l, {
|
|
23056
22884
|
size: "small",
|
|
23057
22885
|
type: "cookie"
|
|
@@ -23065,15 +22893,7 @@ function _sfc_render$Y(e, n, t, a, r, s) {
|
|
|
23065
22893
|
_: 1
|
|
23066
22894
|
})
|
|
23067
22895
|
])) : createCommentVNode("", !0),
|
|
23068
|
-
|
|
23069
|
-
createVNode(l, { size: "small" }, {
|
|
23070
|
-
default: withCtx(() => [
|
|
23071
|
-
createTextVNode(toDisplayString(s.errorMessage), 1)
|
|
23072
|
-
]),
|
|
23073
|
-
_: 1
|
|
23074
|
-
})
|
|
23075
|
-
])) : createCommentVNode("", !0),
|
|
23076
|
-
s.noJsMessage ? (openBlock(), createElementBlock("div", _hoisted_8$4, [
|
|
22896
|
+
s.noJsMessage ? (openBlock(), createElementBlock("div", _hoisted_7$b, [
|
|
23077
22897
|
createVNode(l, { size: "small" }, {
|
|
23078
22898
|
default: withCtx(() => [
|
|
23079
22899
|
createTextVNode(toDisplayString(s.noJsMessage), 1)
|
|
@@ -23237,7 +23057,7 @@ const VsVideoCaption = /* @__PURE__ */ _export_sfc(_sfc_main$16, [["render", _sf
|
|
|
23237
23057
|
return {
|
|
23238
23058
|
"vs-image-with-caption--closed-default": this.closedDefaultCaption,
|
|
23239
23059
|
"vs-image-with-caption--hero": this.isHeroImage,
|
|
23240
|
-
"vs-image-with-caption--show-caption": !this.
|
|
23060
|
+
"vs-image-with-caption--show-caption": !this.cookiesAllowed && this.cookiesLoaded,
|
|
23241
23061
|
"vs-image-with-caption--video": this.isVideo,
|
|
23242
23062
|
"vs-image-with-caption--svg": this.isSvg
|
|
23243
23063
|
};
|
|
@@ -28813,12 +28633,12 @@ const _hoisted_1$m = {
|
|
|
28813
28633
|
getItemProps: C,
|
|
28814
28634
|
getItemEventListeners: S,
|
|
28815
28635
|
getComboboxProps: V,
|
|
28816
|
-
openMenu:
|
|
28636
|
+
openMenu: L
|
|
28817
28637
|
}) => [
|
|
28818
28638
|
createElementVNode("div", mergeProps(V(), { class: "vs-autocomplete__list-wrapper" }), [
|
|
28819
28639
|
createElementVNode("input", mergeProps({ class: "vs-input form-control" }, p(), toHandlers(g(), !0), {
|
|
28820
28640
|
placeholder: f.placeholder,
|
|
28821
|
-
onClick: (N) =>
|
|
28641
|
+
onClick: (N) => L()
|
|
28822
28642
|
}), null, 16, _hoisted_3$d),
|
|
28823
28643
|
createVNode(VsIcon, {
|
|
28824
28644
|
icon: "vs-icon-control-expand",
|
|
@@ -29100,12 +28920,12 @@ const _hoisted_1$m = {
|
|
|
29100
28920
|
S.push(C), c.value = S, u.value = S.length, i.value = !0, r.value = r.value + adultDefaultCount;
|
|
29101
28921
|
}
|
|
29102
28922
|
}, b = (C, S, V) => {
|
|
29103
|
-
const
|
|
29104
|
-
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);
|
|
29105
28925
|
}, k = (C, S, V) => {
|
|
29106
28926
|
r.value = C === "increase" ? r.value + 1 : r.value - 1, S !== "adults" && (l.value = C === "increase" ? l.value + 1 : l.value - 1);
|
|
29107
|
-
const
|
|
29108
|
-
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;
|
|
29109
28929
|
};
|
|
29110
28930
|
return (C, S) => (openBlock(), createElementBlock("div", _hoisted_1$j, [
|
|
29111
28931
|
createElementVNode("span", _hoisted_2$e, toDisplayString(unref(o)), 1),
|
|
@@ -29139,11 +28959,11 @@ const _hoisted_1$m = {
|
|
|
29139
28959
|
_: 1
|
|
29140
28960
|
}),
|
|
29141
28961
|
createElementVNode("div", _hoisted_4$8, [
|
|
29142
|
-
(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, {
|
|
29143
28963
|
key: V.id,
|
|
29144
|
-
name: "r" + (
|
|
28964
|
+
name: "r" + (L + 1),
|
|
29145
28965
|
"show-remove-btn": i.value,
|
|
29146
|
-
"unit-label": unref(getLabelText)("room", "Room", "guests_rooms") + " " + (
|
|
28966
|
+
"unit-label": unref(getLabelText)("room", "Room", "guests_rooms") + " " + (L + 1),
|
|
29147
28967
|
"unit-options": V,
|
|
29148
28968
|
"unit-removed": m.value,
|
|
29149
28969
|
onNumberChange: k,
|
|
@@ -29449,7 +29269,7 @@ const _hoisted_1$m = {
|
|
|
29449
29269
|
w.forEach((M) => {
|
|
29450
29270
|
E.push(M);
|
|
29451
29271
|
}), S.value = E;
|
|
29452
|
-
},
|
|
29272
|
+
}, L = computed$1(() => t.value ? [] : S.value.map((E) => ({
|
|
29453
29273
|
...E,
|
|
29454
29274
|
text: getProductName(E.value, E.text)
|
|
29455
29275
|
}))), N = async () => {
|
|
@@ -29488,7 +29308,7 @@ const _hoisted_1$m = {
|
|
|
29488
29308
|
}, 500);
|
|
29489
29309
|
};
|
|
29490
29310
|
return (w, E) => {
|
|
29491
|
-
var M, q,
|
|
29311
|
+
var M, q, J, $, B, T;
|
|
29492
29312
|
return openBlock(), createElementBlock("div", _hoisted_1$g, [
|
|
29493
29313
|
t.value ? createCommentVNode("", !0) : (openBlock(), createElementBlock("div", _hoisted_2$b, [
|
|
29494
29314
|
createElementVNode("div", _hoisted_3$7, [
|
|
@@ -29506,7 +29326,7 @@ const _hoisted_1$m = {
|
|
|
29506
29326
|
class: normalizeClass(Z.value)
|
|
29507
29327
|
}, [
|
|
29508
29328
|
createVNode(VsSelect, {
|
|
29509
|
-
options:
|
|
29329
|
+
options: L.value,
|
|
29510
29330
|
value: e.defaultProd,
|
|
29511
29331
|
onUpdated: E[0] || (E[0] = (F) => z(F)),
|
|
29512
29332
|
"field-name": "prodtypes"
|
|
@@ -29539,7 +29359,7 @@ const _hoisted_1$m = {
|
|
|
29539
29359
|
key: 2,
|
|
29540
29360
|
type: "hidden",
|
|
29541
29361
|
name: "locpoly",
|
|
29542
|
-
disabled: ((
|
|
29362
|
+
disabled: ((J = unref(s)) == null ? void 0 : J.type) !== "POLYGON",
|
|
29543
29363
|
value: (($ = unref(s)) == null ? void 0 : $.key) || ""
|
|
29544
29364
|
}, null, 8, _hoisted_11$2)) : createCommentVNode("", !0),
|
|
29545
29365
|
a.value !== "tour" ? (openBlock(), createElementBlock("input", {
|
|
@@ -29548,7 +29368,7 @@ const _hoisted_1$m = {
|
|
|
29548
29368
|
name: "locprox",
|
|
29549
29369
|
value: ((B = unref(s)) == null ? void 0 : B.type) === "DISTRICT" ? 1 : 0
|
|
29550
29370
|
}, null, 8, _hoisted_12$2)) : createCommentVNode("", !0),
|
|
29551
|
-
a.value !== "tour" && ((
|
|
29371
|
+
a.value !== "tour" && ((T = unref(s)) == null ? void 0 : T.type) === "DISTRICT" ? (openBlock(), createElementBlock("input", _hoisted_13$2)) : createCommentVNode("", !0),
|
|
29552
29372
|
a.value === "even" || a.value === "acco" ? (openBlock(), createElementBlock("div", _hoisted_14$1, [
|
|
29553
29373
|
createVNode(_sfc_main$r, {
|
|
29554
29374
|
"start-label": unref(getLabelText)("startdate", "Start Date", "dates"),
|
|
@@ -31482,11 +31302,11 @@ function _sfc_render$d(e, n, t, a, r, s) {
|
|
|
31482
31302
|
}),
|
|
31483
31303
|
createVNode(v, null, {
|
|
31484
31304
|
default: withCtx(() => [
|
|
31485
|
-
(openBlock(!0), createElementBlock(Fragment, null, renderList(r.lifts, (
|
|
31486
|
-
key:
|
|
31305
|
+
(openBlock(!0), createElementBlock(Fragment, null, renderList(r.lifts, (L) => (openBlock(), createBlock(_, {
|
|
31306
|
+
key: L.name
|
|
31487
31307
|
}, {
|
|
31488
31308
|
default: withCtx(() => [
|
|
31489
|
-
|
|
31309
|
+
L.status === "0" || L.status === 0 ? (openBlock(), createBlock(g, { key: 0 }, {
|
|
31490
31310
|
default: withCtx(() => [
|
|
31491
31311
|
createVNode(p, {
|
|
31492
31312
|
icon: "fa-regular fa-ban",
|
|
@@ -31497,7 +31317,7 @@ function _sfc_render$d(e, n, t, a, r, s) {
|
|
|
31497
31317
|
]),
|
|
31498
31318
|
_: 1
|
|
31499
31319
|
})) : createCommentVNode("", !0),
|
|
31500
|
-
|
|
31320
|
+
L.status === "1" || L.status === 1 ? (openBlock(), createBlock(g, { key: 1 }, {
|
|
31501
31321
|
default: withCtx(() => [
|
|
31502
31322
|
createVNode(p, {
|
|
31503
31323
|
icon: "fa-regular fa-check",
|
|
@@ -31508,7 +31328,7 @@ function _sfc_render$d(e, n, t, a, r, s) {
|
|
|
31508
31328
|
]),
|
|
31509
31329
|
_: 1
|
|
31510
31330
|
})) : createCommentVNode("", !0),
|
|
31511
|
-
|
|
31331
|
+
L.status === "2" || L.status === 2 ? (openBlock(), createBlock(g, { key: 2 }, {
|
|
31512
31332
|
default: withCtx(() => [
|
|
31513
31333
|
createVNode(p, {
|
|
31514
31334
|
icon: "fa-regular fa-timer",
|
|
@@ -31519,7 +31339,7 @@ function _sfc_render$d(e, n, t, a, r, s) {
|
|
|
31519
31339
|
]),
|
|
31520
31340
|
_: 1
|
|
31521
31341
|
})) : createCommentVNode("", !0),
|
|
31522
|
-
|
|
31342
|
+
L.status === "3" || L.status === 3 ? (openBlock(), createBlock(g, { key: 3 }, {
|
|
31523
31343
|
default: withCtx(() => [
|
|
31524
31344
|
createVNode(p, {
|
|
31525
31345
|
icon: "fa-regular fa-ski-boot-ski",
|
|
@@ -31530,7 +31350,7 @@ function _sfc_render$d(e, n, t, a, r, s) {
|
|
|
31530
31350
|
]),
|
|
31531
31351
|
_: 1
|
|
31532
31352
|
})) : createCommentVNode("", !0),
|
|
31533
|
-
|
|
31353
|
+
L.status === "4" || L.status === 4 ? (openBlock(), createBlock(g, { key: 4 }, {
|
|
31534
31354
|
default: withCtx(() => [
|
|
31535
31355
|
createVNode(p, {
|
|
31536
31356
|
icon: "fa-regular fa-hourglass",
|
|
@@ -31543,7 +31363,7 @@ function _sfc_render$d(e, n, t, a, r, s) {
|
|
|
31543
31363
|
})) : createCommentVNode("", !0),
|
|
31544
31364
|
createVNode(g, null, {
|
|
31545
31365
|
default: withCtx(() => [
|
|
31546
|
-
createTextVNode(toDisplayString(
|
|
31366
|
+
createTextVNode(toDisplayString(L.name), 1)
|
|
31547
31367
|
]),
|
|
31548
31368
|
_: 2
|
|
31549
31369
|
}, 1024)
|
|
@@ -31598,28 +31418,28 @@ function _sfc_render$d(e, n, t, a, r, s) {
|
|
|
31598
31418
|
]),
|
|
31599
31419
|
_: 1
|
|
31600
31420
|
}),
|
|
31601
|
-
(openBlock(!0), createElementBlock(Fragment, null, renderList(s.filteredRunLevels, (
|
|
31602
|
-
key:
|
|
31421
|
+
(openBlock(!0), createElementBlock(Fragment, null, renderList(s.filteredRunLevels, (L) => (openBlock(), createElementBlock("div", {
|
|
31422
|
+
key: L.name
|
|
31603
31423
|
}, [
|
|
31604
31424
|
createVNode(V, null, {
|
|
31605
31425
|
default: withCtx(() => [
|
|
31606
31426
|
createVNode(S, {
|
|
31607
31427
|
variant: "subtle",
|
|
31608
|
-
"control-id": `accordion_item_${
|
|
31609
|
-
"colour-badge":
|
|
31428
|
+
"control-id": `accordion_item_${L.name}`,
|
|
31429
|
+
"colour-badge": L.colourToken
|
|
31610
31430
|
}, {
|
|
31611
31431
|
title: withCtx(() => [
|
|
31612
31432
|
createElementVNode("div", {
|
|
31613
|
-
"data-test": `vs-ski__${
|
|
31433
|
+
"data-test": `vs-ski__${L.name}-label`,
|
|
31614
31434
|
class: "d-inline-block"
|
|
31615
31435
|
}, [
|
|
31616
|
-
createElementVNode("span", _hoisted_17, toDisplayString(s.getColourLabel(
|
|
31617
|
-
createTextVNode(" " + toDisplayString(
|
|
31436
|
+
createElementVNode("span", _hoisted_17, toDisplayString(s.getColourLabel(L.colour)), 1),
|
|
31437
|
+
createTextVNode(" " + toDisplayString(L.name), 1)
|
|
31618
31438
|
], 8, _hoisted_16)
|
|
31619
31439
|
]),
|
|
31620
31440
|
default: withCtx(() => [
|
|
31621
31441
|
createVNode(k, {
|
|
31622
|
-
"table-caption": `${
|
|
31442
|
+
"table-caption": `${L.colour} - ${L.name}`,
|
|
31623
31443
|
class: "vs-ski-scotland-status__run-status-table"
|
|
31624
31444
|
}, {
|
|
31625
31445
|
default: withCtx(() => [
|
|
@@ -31642,9 +31462,9 @@ function _sfc_render$d(e, n, t, a, r, s) {
|
|
|
31642
31462
|
}),
|
|
31643
31463
|
createVNode(v, null, {
|
|
31644
31464
|
default: withCtx(() => [
|
|
31645
|
-
(openBlock(!0), createElementBlock(Fragment, null, renderList(
|
|
31465
|
+
(openBlock(!0), createElementBlock(Fragment, null, renderList(L.runs, (N) => (openBlock(), createBlock(_, {
|
|
31646
31466
|
key: N.name,
|
|
31647
|
-
"data-test": `vs-ski__${
|
|
31467
|
+
"data-test": `vs-ski__${L.name}-row`
|
|
31648
31468
|
}, {
|
|
31649
31469
|
default: withCtx(() => [
|
|
31650
31470
|
N.status === "0" || N.status === 0 ? (openBlock(), createBlock(g, { key: 0 }, {
|
|
@@ -33079,11 +32899,11 @@ function setup(e) {
|
|
|
33079
32899
|
const v = g, b = Number(/* @__PURE__ */ new Date()), k = b - (d || b);
|
|
33080
32900
|
v.diff = k, v.prev = d, v.curr = b, d = b, _[0] = t.coerce(_[0]), typeof _[0] != "string" && _.unshift("%O");
|
|
33081
32901
|
let C = 0;
|
|
33082
|
-
_[0] = _[0].replace(/%([a-zA-Z%])/g, (V,
|
|
32902
|
+
_[0] = _[0].replace(/%([a-zA-Z%])/g, (V, L) => {
|
|
33083
32903
|
if (V === "%%")
|
|
33084
32904
|
return "%";
|
|
33085
32905
|
C++;
|
|
33086
|
-
const N = t.formatters[
|
|
32906
|
+
const N = t.formatters[L];
|
|
33087
32907
|
if (typeof N == "function") {
|
|
33088
32908
|
const A = _[C];
|
|
33089
32909
|
V = N.call(v, A), _.splice(C, 1), C--;
|
|
@@ -33366,14 +33186,14 @@ var functionNamesExports = functionNames.exports;
|
|
|
33366
33186
|
const k = s.default[_], C = b.getPlayerState(), S = b[_].apply(b, v);
|
|
33367
33187
|
return k.stateChangeRequired || // eslint-disable-next-line no-extra-parens
|
|
33368
33188
|
Array.isArray(k.acceptableStates) && !k.acceptableStates.includes(C) ? new Promise((V) => {
|
|
33369
|
-
const
|
|
33189
|
+
const L = () => {
|
|
33370
33190
|
const N = b.getPlayerState();
|
|
33371
33191
|
let A;
|
|
33372
33192
|
typeof k.timeout == "number" && (A = setTimeout(() => {
|
|
33373
|
-
b.removeEventListener("onStateChange",
|
|
33374
|
-
}, 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());
|
|
33375
33195
|
};
|
|
33376
|
-
b.addEventListener("onStateChange",
|
|
33196
|
+
b.addEventListener("onStateChange", L);
|
|
33377
33197
|
}).then(() => S) : S;
|
|
33378
33198
|
}) : g[_] = (...v) => m.then((b) => b[_].apply(b, v));
|
|
33379
33199
|
return g;
|
|
@@ -33681,11 +33501,11 @@ const cookieValues = cookieValues$5.youtube, _sfc_main = {
|
|
|
33681
33501
|
},
|
|
33682
33502
|
computed: {
|
|
33683
33503
|
showError() {
|
|
33684
|
-
return !this.
|
|
33504
|
+
return !this.cookiesAllowed && this.cookiesLoaded === !0 || this.cookiesLoaded === !1;
|
|
33685
33505
|
},
|
|
33686
33506
|
warningText() {
|
|
33687
33507
|
let e = "";
|
|
33688
|
-
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;
|
|
33689
33509
|
},
|
|
33690
33510
|
player() {
|
|
33691
33511
|
return this.$refs.youtube ? this.$refs.youtube.player : null;
|
|
@@ -33814,7 +33634,7 @@ function _sfc_render(e, n, t, a, r, s) {
|
|
|
33814
33634
|
const o = resolveComponent("VueYoutube"), i = resolveComponent("VsWarning");
|
|
33815
33635
|
return r.reRendering ? createCommentVNode("", !0) : (openBlock(), createElementBlock("div", _hoisted_1, [
|
|
33816
33636
|
createElementVNode("div", _hoisted_2, [
|
|
33817
|
-
e.
|
|
33637
|
+
e.cookiesAllowed ? (openBlock(), createElementBlock("div", _hoisted_3, [
|
|
33818
33638
|
createVNode(o, {
|
|
33819
33639
|
autoplay: 0,
|
|
33820
33640
|
"video-id": t.videoId,
|
|
@@ -33829,7 +33649,7 @@ function _sfc_render(e, n, t, a, r, s) {
|
|
|
33829
33649
|
])) : createCommentVNode("", !0),
|
|
33830
33650
|
s.showError ? (openBlock(), createBlock(i, {
|
|
33831
33651
|
key: 1,
|
|
33832
|
-
type: e.
|
|
33652
|
+
type: e.cookiesLoaded === !0 ? "cookie" : "normal",
|
|
33833
33653
|
"data-test": "vs-video__warning",
|
|
33834
33654
|
class: "vs-video__warning"
|
|
33835
33655
|
}, createSlots({
|
|
@@ -33838,7 +33658,7 @@ function _sfc_render(e, n, t, a, r, s) {
|
|
|
33838
33658
|
]),
|
|
33839
33659
|
_: 2
|
|
33840
33660
|
}, [
|
|
33841
|
-
!e.
|
|
33661
|
+
!e.cookiesAllowed && e.cookiesLoaded === !0 ? {
|
|
33842
33662
|
name: "button-text",
|
|
33843
33663
|
fn: withCtx(() => [
|
|
33844
33664
|
createTextVNode(toDisplayString(t.cookieBtnText), 1)
|
|
@@ -33869,14 +33689,14 @@ export {
|
|
|
33869
33689
|
ArticleDetails as VsArticleDetails,
|
|
33870
33690
|
ArticleSection as VsArticleSection,
|
|
33871
33691
|
ArticleSidebar as VsArticleSidebar,
|
|
33872
|
-
_sfc_main$
|
|
33692
|
+
_sfc_main$2d as VsBackToTop,
|
|
33873
33693
|
Badge as VsBadge,
|
|
33874
33694
|
Banner as VsBanner,
|
|
33875
33695
|
VsBody,
|
|
33876
33696
|
Breadcrumb as VsBreadcrumb,
|
|
33877
33697
|
BreadcrumbItem as VsBreadcrumbItem,
|
|
33878
33698
|
VsButton,
|
|
33879
|
-
|
|
33699
|
+
Se as VsButtonToggleGroup,
|
|
33880
33700
|
CannedSearch as VsCannedSearch,
|
|
33881
33701
|
VsCaption,
|
|
33882
33702
|
CarbonCalculator as VsCarbonCalculator,
|
|
@@ -33887,7 +33707,6 @@ export {
|
|
|
33887
33707
|
VsCheckbox,
|
|
33888
33708
|
VsCol,
|
|
33889
33709
|
VsContainer,
|
|
33890
|
-
CookieChecker as VsCookieChecker,
|
|
33891
33710
|
DescriptionList as VsDescriptionList,
|
|
33892
33711
|
DescriptionListItem as VsDescriptionListItem,
|
|
33893
33712
|
VsDropdown,
|