@visitscotland/component-library 5.46.0 → 5.47.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.
@@ -1,6 +1,6 @@
1
1
  import { openBlock, createElementBlock, renderSlot, resolveComponent, createBlock, normalizeClass, withCtx, createElementVNode, createVNode, normalizeStyle, createCommentVNode, withDirectives, vShow, inject, mergeProps, toDisplayString, ref, onMounted, onUnmounted, createTextVNode, Fragment, renderList, resolveDirective, withKeys, withModifiers, normalizeProps, createSlots, getCurrentInstance, defineComponent, computed as computed$1, watch, reactive, provide, onBeforeMount, isRef, onBeforeUnmount, unref, isReactive, isReadonly, nextTick, isVNode, markRaw, toRef, resolveDynamicComponent, h, Transition, Teleport, useModel, mergeModels, toHandlers, vModelText, guardReactiveProps, onUpdated, Suspense } from "vue";
2
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 getDefaultExportFromCjs, y as vt, L as Lu, z as ld, A as _a, M as Md, B as products, C as paths, D as monthsEnglish, F as VsLoading, G as ol, H as wn, I as Ea, J as Bn, K as Je, S as St, P as Pa, N as Ka, Q as vc, R as dc, U as useDataLayerStore, W as checkVendorLibrary, $ as siteSearchCloseTemplate, a0 as siteSearchClickTemplate, a1 as siteSearchUsageTemplate, a2 as siteSearchOpenTemplate, a3 as googleMapInteractionTemplate, a4 as googleMapTimeToFirstInteractionTemplate, a5 as googleMapFilterInteractionTemplate, a6 as googleMapSearchTemplate } from "./LoadingSpinner-CaO_-caf.mjs";
3
- import { a7 as Se } from "./LoadingSpinner-CaO_-caf.mjs";
3
+ import { a7 as xe } from "./LoadingSpinner-CaO_-caf.mjs";
4
4
  import { defineStore, storeToRefs } from "pinia";
5
5
  const _sfc_main$2D = {
6
6
  name: "VsAccordion",
@@ -1681,19 +1681,19 @@ const MAX_RESET_COUNT = 50, computePosition$1 = async (e, n, t) => {
1681
1681
  x: t,
1682
1682
  y: a
1683
1683
  }, f = getAlignmentAxis(o), p = getAxisLength(f), g = await s.getDimensions(c), v = f === "y", b = v ? "top" : "left", _ = v ? "bottom" : "right", k = v ? "clientHeight" : "clientWidth", V = r.reference[p] + r.reference[f] - m[f] - r.floating[p], S = m[f] - r.reference[f], B = await (s.getOffsetParent == null ? void 0 : s.getOffsetParent(c));
1684
- let w = B ? B[k] : 0;
1685
- (!w || !await (s.isElement == null ? void 0 : s.isElement(B))) && (w = i.floating[k] || r.floating[p]);
1686
- const C = V / 2 - S / 2, O = w / 2 - g[p] / 2 - 1, R = min$3(u[b], O), E = min$3(u[_], O), D = R, N = w - g[p] - E, T = w / 2 - g[p] / 2 + C, H = clamp(D, T, N), F = !l.arrow && getAlignment(o) != null && T !== H && r.reference[p] / 2 - (T < D ? R : E) - g[p] / 2 < 0, z = F ? T < D ? T - D : T - N : 0;
1684
+ let $ = B ? B[k] : 0;
1685
+ (!$ || !await (s.isElement == null ? void 0 : s.isElement(B))) && ($ = i.floating[k] || r.floating[p]);
1686
+ const C = V / 2 - S / 2, O = $ / 2 - g[p] / 2 - 1, R = min$3(u[b], O), E = min$3(u[_], O), D = R, N = $ - g[p] - E, T = $ / 2 - g[p] / 2 + C, H = clamp(D, T, N), z = !l.arrow && getAlignment(o) != null && T !== H && r.reference[p] / 2 - (T < D ? R : E) - g[p] / 2 < 0, F = z ? T < D ? T - D : T - N : 0;
1687
1687
  return {
1688
- [f]: m[f] + z,
1688
+ [f]: m[f] + F,
1689
1689
  data: {
1690
1690
  [f]: H,
1691
- centerOffset: T - H - z,
1692
- ...F && {
1693
- alignmentOffset: z
1691
+ centerOffset: T - H - F,
1692
+ ...z && {
1693
+ alignmentOffset: F
1694
1694
  }
1695
1695
  },
1696
- reset: F
1696
+ reset: z
1697
1697
  };
1698
1698
  }
1699
1699
  }), flip$1 = function(e) {
@@ -1722,7 +1722,7 @@ const MAX_RESET_COUNT = 50, computePosition$1 = async (e, n, t) => {
1722
1722
  return {};
1723
1723
  const b = getSide(o), _ = getSideAxis(i), k = getSide(i) === i, V = await (l.isRTL == null ? void 0 : l.isRTL(c.floating)), S = m || (k || !g ? [getOppositePlacement(i)] : getExpandedPlacements(i)), B = p !== "none";
1724
1724
  !m && B && S.push(...getOppositeAxisPlacements(i, g, p, V));
1725
- const w = [i, ...S], C = await l.detectOverflow(n, v), O = [];
1725
+ const $ = [i, ...S], C = await l.detectOverflow(n, v), O = [];
1726
1726
  let R = ((a = r.flip) == null ? void 0 : a.overflows) || [];
1727
1727
  if (d && O.push(C[b]), u) {
1728
1728
  const T = getAlignmentSides(o, s, V);
@@ -1733,10 +1733,10 @@ const MAX_RESET_COUNT = 50, computePosition$1 = async (e, n, t) => {
1733
1733
  overflows: O
1734
1734
  }], !O.every((T) => T <= 0)) {
1735
1735
  var E, D;
1736
- const T = (((E = r.flip) == null ? void 0 : E.index) || 0) + 1, H = w[T];
1736
+ const T = (((E = r.flip) == null ? void 0 : E.index) || 0) + 1, H = $[T];
1737
1737
  if (H && (!(u === "alignment" ? _ !== getSideAxis(H) : !1) || // We leave the current main axis only if every placement on that axis
1738
1738
  // overflows the main axis.
1739
- R.every(($) => getSideAxis($.placement) === _ ? $.overflows[0] > 0 : !0)))
1739
+ R.every((w) => getSideAxis(w.placement) === _ ? w.overflows[0] > 0 : !0)))
1740
1740
  return {
1741
1741
  data: {
1742
1742
  index: T,
@@ -1746,31 +1746,31 @@ const MAX_RESET_COUNT = 50, computePosition$1 = async (e, n, t) => {
1746
1746
  placement: H
1747
1747
  }
1748
1748
  };
1749
- let F = (D = R.filter((z) => z.overflows[0] <= 0).sort((z, $) => z.overflows[1] - $.overflows[1])[0]) == null ? void 0 : D.placement;
1750
- if (!F)
1749
+ let z = (D = R.filter((F) => F.overflows[0] <= 0).sort((F, w) => F.overflows[1] - w.overflows[1])[0]) == null ? void 0 : D.placement;
1750
+ if (!z)
1751
1751
  switch (f) {
1752
1752
  case "bestFit": {
1753
1753
  var N;
1754
- const z = (N = R.filter(($) => {
1754
+ const F = (N = R.filter((w) => {
1755
1755
  if (B) {
1756
- const M = getSideAxis($.placement);
1757
- return M === _ || // Create a bias to the `y` side axis due to horizontal
1756
+ const I = getSideAxis(w.placement);
1757
+ return I === _ || // Create a bias to the `y` side axis due to horizontal
1758
1758
  // reading directions favoring greater width.
1759
- M === "y";
1759
+ I === "y";
1760
1760
  }
1761
1761
  return !0;
1762
- }).map(($) => [$.placement, $.overflows.filter((M) => M > 0).reduce((M, A) => M + A, 0)]).sort(($, M) => $[1] - M[1])[0]) == null ? void 0 : N[0];
1763
- z && (F = z);
1762
+ }).map((w) => [w.placement, w.overflows.filter((I) => I > 0).reduce((I, A) => I + A, 0)]).sort((w, I) => w[1] - I[1])[0]) == null ? void 0 : N[0];
1763
+ F && (z = F);
1764
1764
  break;
1765
1765
  }
1766
1766
  case "initialPlacement":
1767
- F = i;
1767
+ z = i;
1768
1768
  break;
1769
1769
  }
1770
- if (o !== F)
1770
+ if (o !== z)
1771
1771
  return {
1772
1772
  reset: {
1773
- placement: F
1773
+ placement: z
1774
1774
  }
1775
1775
  };
1776
1776
  }
@@ -2317,15 +2317,15 @@ function observeMove(e, n) {
2317
2317
  };
2318
2318
  let V = !0;
2319
2319
  function S(B) {
2320
- const w = B[0].intersectionRatio;
2321
- if (w !== l) {
2320
+ const $ = B[0].intersectionRatio;
2321
+ if ($ !== l) {
2322
2322
  if (!V)
2323
2323
  return s();
2324
- w ? s(!1, w) : a = setTimeout(() => {
2324
+ $ ? s(!1, $) : a = setTimeout(() => {
2325
2325
  s(!1, 1e-7);
2326
2326
  }, 1e3);
2327
2327
  }
2328
- w === 1 && !rectsAreEqual(c, e.getBoundingClientRect()) && s(), V = !1;
2328
+ $ === 1 && !rectsAreEqual(c, e.getBoundingClientRect()) && s(), V = !1;
2329
2329
  }
2330
2330
  try {
2331
2331
  t = new IntersectionObserver(S, {
@@ -3728,8 +3728,8 @@ const VsModuleWrapper = /* @__PURE__ */ _export_sfc(_sfc_main$28, [["render", _s
3728
3728
  "data-test": "vs-canned-search"
3729
3729
  };
3730
3730
  function _sfc_render$1S(e, n, t, a, o, r) {
3731
- const s = resolveComponent("VsCol"), i = resolveComponent("VsRow"), l = resolveComponent("VsContainer"), c = resolveComponent("VsCannedSearchTourRuns"), d = resolveComponent("VsCannedSearchTourDeparts"), u = resolveComponent("VsCannedSearchSubHeading"), m = resolveComponent("VsCannedSearchStars"), f = resolveComponent("VsCannedSearchCategories"), p = resolveComponent("VsCannedSearchLogos"), g = resolveComponent("VsCannedSearchBadges"), v = resolveComponent("VsCannedSearchDates"), b = resolveComponent("VsCannedSearchDuration"), _ = resolveComponent("VsCannedSearchPrice"), k = resolveComponent("VsCannedSearchCuisines"), V = resolveComponent("VsCannedSearchSummaryBox"), S = resolveComponent("VsCannedSearchProductCard"), B = resolveComponent("VsCarousel"), w = resolveComponent("VsModuleWrapper");
3732
- return withDirectives((openBlock(), createBlock(w, null, createSlots({
3731
+ const s = resolveComponent("VsCol"), i = resolveComponent("VsRow"), l = resolveComponent("VsContainer"), c = resolveComponent("VsCannedSearchTourRuns"), d = resolveComponent("VsCannedSearchTourDeparts"), u = resolveComponent("VsCannedSearchSubHeading"), m = resolveComponent("VsCannedSearchStars"), f = resolveComponent("VsCannedSearchCategories"), p = resolveComponent("VsCannedSearchLogos"), g = resolveComponent("VsCannedSearchBadges"), v = resolveComponent("VsCannedSearchDates"), b = resolveComponent("VsCannedSearchDuration"), _ = resolveComponent("VsCannedSearchPrice"), k = resolveComponent("VsCannedSearchCuisines"), V = resolveComponent("VsCannedSearchSummaryBox"), S = resolveComponent("VsCannedSearchProductCard"), B = resolveComponent("VsCarousel"), $ = resolveComponent("VsModuleWrapper");
3732
+ return withDirectives((openBlock(), createBlock($, null, createSlots({
3733
3733
  default: withCtx(() => [
3734
3734
  createElementVNode("div", _hoisted_1$1F, [
3735
3735
  createVNode(l, null, {
@@ -6228,37 +6228,37 @@ function formatLocale(e) {
6228
6228
  u = formatSpecifier(u);
6229
6229
  var m = u.fill, f = u.align, p = u.sign, g = u.symbol, v = u.zero, b = u.width, _ = u.comma, k = u.precision, V = u.trim, S = u.type;
6230
6230
  S === "n" ? (_ = !0, S = "g") : formatTypes[S] || (k === void 0 && (k = 12), V = !0, S = "g"), (v || m === "0" && f === "=") && (v = !0, m = "0", f = "=");
6231
- var B = g === "$" ? t : g === "#" && /[boxX]/.test(S) ? "0" + S.toLowerCase() : "", w = g === "$" ? a : /[%p]/.test(S) ? s : "", C = formatTypes[S], O = /[defgprs%]/.test(S);
6231
+ var B = g === "$" ? t : g === "#" && /[boxX]/.test(S) ? "0" + S.toLowerCase() : "", $ = g === "$" ? a : /[%p]/.test(S) ? s : "", C = formatTypes[S], O = /[defgprs%]/.test(S);
6232
6232
  k = k === void 0 ? 6 : /[gprs]/.test(S) ? Math.max(1, Math.min(21, k)) : Math.max(0, Math.min(20, k));
6233
6233
  function R(E) {
6234
- var D = B, N = w, T, H, F;
6234
+ var D = B, N = $, T, H, z;
6235
6235
  if (S === "c")
6236
6236
  N = C(E) + N, E = "";
6237
6237
  else {
6238
6238
  E = +E;
6239
- var z = E < 0 || 1 / E < 0;
6240
- if (E = isNaN(E) ? l : C(Math.abs(E), k), V && (E = formatTrim(E)), z && +E == 0 && p !== "+" && (z = !1), D = (z ? p === "(" ? p : i : p === "-" || p === "(" ? "" : p) + D, N = (S === "s" ? prefixes[8 + prefixExponent / 3] : "") + N + (z && p === "(" ? ")" : ""), O) {
6239
+ var F = E < 0 || 1 / E < 0;
6240
+ if (E = isNaN(E) ? l : C(Math.abs(E), k), V && (E = formatTrim(E)), F && +E == 0 && p !== "+" && (F = !1), D = (F ? p === "(" ? p : i : p === "-" || p === "(" ? "" : p) + D, N = (S === "s" ? prefixes[8 + prefixExponent / 3] : "") + N + (F && p === "(" ? ")" : ""), O) {
6241
6241
  for (T = -1, H = E.length; ++T < H; )
6242
- if (F = E.charCodeAt(T), 48 > F || F > 57) {
6243
- N = (F === 46 ? o + E.slice(T + 1) : E.slice(T)) + N, E = E.slice(0, T);
6242
+ if (z = E.charCodeAt(T), 48 > z || z > 57) {
6243
+ N = (z === 46 ? o + E.slice(T + 1) : E.slice(T)) + N, E = E.slice(0, T);
6244
6244
  break;
6245
6245
  }
6246
6246
  }
6247
6247
  }
6248
6248
  _ && !v && (E = n(E, 1 / 0));
6249
- var $ = D.length + E.length + N.length, M = $ < b ? new Array(b - $ + 1).join(m) : "";
6250
- switch (_ && v && (E = n(M + E, M.length ? b - N.length : 1 / 0), M = ""), f) {
6249
+ var w = D.length + E.length + N.length, I = w < b ? new Array(b - w + 1).join(m) : "";
6250
+ switch (_ && v && (E = n(I + E, I.length ? b - N.length : 1 / 0), I = ""), f) {
6251
6251
  case "<":
6252
- E = D + E + N + M;
6252
+ E = D + E + N + I;
6253
6253
  break;
6254
6254
  case "=":
6255
- E = D + M + E + N;
6255
+ E = D + I + E + N;
6256
6256
  break;
6257
6257
  case "^":
6258
- E = M.slice(0, $ = M.length >> 1) + D + E + N + M.slice($);
6258
+ E = I.slice(0, w = I.length >> 1) + D + E + N + I.slice(w);
6259
6259
  break;
6260
6260
  default:
6261
- E = M + D + E + N;
6261
+ E = I + D + E + N;
6262
6262
  break;
6263
6263
  }
6264
6264
  return r(E);
@@ -6561,7 +6561,7 @@ function intersect(e, n, t, a, o, r, s, i) {
6561
6561
  return m = (d * (n - r) - u * (e - o)) / m, [e + m * l, n + m * c];
6562
6562
  }
6563
6563
  function cornerTangents(e, n, t, a, o, r, s) {
6564
- var i = e - t, l = n - a, c = (s ? r : -r) / sqrt(i * i + l * l), d = c * l, u = -c * i, m = e + d, f = n + u, p = t + d, g = a + u, v = (m + p) / 2, b = (f + g) / 2, _ = p - m, k = g - f, V = _ * _ + k * k, S = o - r, B = m * g - p * f, w = (k < 0 ? -1 : 1) * sqrt(max(0, S * S * V - B * B)), C = (B * k - _ * w) / V, O = (-B * _ - k * w) / V, R = (B * k + _ * w) / V, E = (-B * _ + k * w) / V, D = C - v, N = O - b, T = R - v, H = E - b;
6564
+ var i = e - t, l = n - a, c = (s ? r : -r) / sqrt(i * i + l * l), d = c * l, u = -c * i, m = e + d, f = n + u, p = t + d, g = a + u, v = (m + p) / 2, b = (f + g) / 2, _ = p - m, k = g - f, V = _ * _ + k * k, S = o - r, B = m * g - p * f, $ = (k < 0 ? -1 : 1) * sqrt(max(0, S * S * V - B * B)), C = (B * k - _ * $) / V, O = (-B * _ - k * $) / V, R = (B * k + _ * $) / V, E = (-B * _ + k * $) / V, D = C - v, N = O - b, T = R - v, H = E - b;
6565
6565
  return D * D + N * N > T * T + H * H && (C = R, O = E), {
6566
6566
  cx: C,
6567
6567
  cy: O,
@@ -6579,22 +6579,22 @@ function arc() {
6579
6579
  else if (v > tau$1 - epsilon$2)
6580
6580
  i.moveTo(f * cos(p), f * sin(p)), i.arc(0, 0, f, p, g, !b), m > epsilon$2 && (i.moveTo(m * cos(g), m * sin(g)), i.arc(0, 0, m, g, p, b));
6581
6581
  else {
6582
- var _ = p, k = g, V = p, S = g, B = v, w = v, C = s.apply(this, arguments) / 2, O = C > epsilon$2 && (a ? +a.apply(this, arguments) : sqrt(m * m + f * f)), R = min(abs(f - m) / 2, +t.apply(this, arguments)), E = R, D = R, N, T;
6582
+ var _ = p, k = g, V = p, S = g, B = v, $ = v, C = s.apply(this, arguments) / 2, O = C > epsilon$2 && (a ? +a.apply(this, arguments) : sqrt(m * m + f * f)), R = min(abs(f - m) / 2, +t.apply(this, arguments)), E = R, D = R, N, T;
6583
6583
  if (O > epsilon$2) {
6584
- var H = asin(O / m * sin(C)), F = asin(O / f * sin(C));
6585
- (B -= H * 2) > epsilon$2 ? (H *= b ? 1 : -1, V += H, S -= H) : (B = 0, V = S = (p + g) / 2), (w -= F * 2) > epsilon$2 ? (F *= b ? 1 : -1, _ += F, k -= F) : (w = 0, _ = k = (p + g) / 2);
6584
+ var H = asin(O / m * sin(C)), z = asin(O / f * sin(C));
6585
+ (B -= H * 2) > epsilon$2 ? (H *= b ? 1 : -1, V += H, S -= H) : (B = 0, V = S = (p + g) / 2), ($ -= z * 2) > epsilon$2 ? (z *= b ? 1 : -1, _ += z, k -= z) : ($ = 0, _ = k = (p + g) / 2);
6586
6586
  }
6587
- var z = f * cos(_), $ = f * sin(_), M = m * cos(S), A = m * sin(S);
6587
+ var F = f * cos(_), w = f * sin(_), I = m * cos(S), A = m * sin(S);
6588
6588
  if (R > epsilon$2) {
6589
- var W = f * cos(k), G = f * sin(k), X = m * cos(V), Q = m * sin(V), Y;
6589
+ var Y = f * cos(k), W = f * sin(k), Z = m * cos(V), Q = m * sin(V), G;
6590
6590
  if (v < pi$1)
6591
- if (Y = intersect(z, $, X, Q, W, G, M, A)) {
6592
- var Z = z - Y[0], ne = $ - Y[1], ae = W - Y[0], se = G - Y[1], oe = 1 / sin(acos((Z * ae + ne * se) / (sqrt(Z * Z + ne * ne) * sqrt(ae * ae + se * se))) / 2), ie = sqrt(Y[0] * Y[0] + Y[1] * Y[1]);
6593
- E = min(R, (m - ie) / (oe - 1)), D = min(R, (f - ie) / (oe + 1));
6591
+ if (G = intersect(F, w, Z, Q, Y, W, I, A)) {
6592
+ var J = F - G[0], ne = w - G[1], te = Y - G[0], oe = W - G[1], se = 1 / sin(acos((J * te + ne * oe) / (sqrt(J * J + ne * ne) * sqrt(te * te + oe * oe))) / 2), le = sqrt(G[0] * G[0] + G[1] * G[1]);
6593
+ E = min(R, (m - le) / (se - 1)), D = min(R, (f - le) / (se + 1));
6594
6594
  } else
6595
6595
  E = D = 0;
6596
6596
  }
6597
- w > epsilon$2 ? D > epsilon$2 ? (N = cornerTangents(X, Q, z, $, f, D, b), T = cornerTangents(W, G, M, A, f, D, b), i.moveTo(N.cx + N.x01, N.cy + N.y01), D < R ? i.arc(N.cx, N.cy, D, atan2(N.y01, N.x01), atan2(T.y01, T.x01), !b) : (i.arc(N.cx, N.cy, D, atan2(N.y01, N.x01), atan2(N.y11, N.x11), !b), i.arc(0, 0, f, atan2(N.cy + N.y11, N.cx + N.x11), atan2(T.cy + T.y11, T.cx + T.x11), !b), i.arc(T.cx, T.cy, D, atan2(T.y11, T.x11), atan2(T.y01, T.x01), !b))) : (i.moveTo(z, $), i.arc(0, 0, f, _, k, !b)) : i.moveTo(z, $), !(m > epsilon$2) || !(B > epsilon$2) ? i.lineTo(M, A) : E > epsilon$2 ? (N = cornerTangents(M, A, W, G, m, -E, b), T = cornerTangents(z, $, X, Q, m, -E, b), i.lineTo(N.cx + N.x01, N.cy + N.y01), E < R ? i.arc(N.cx, N.cy, E, atan2(N.y01, N.x01), atan2(T.y01, T.x01), !b) : (i.arc(N.cx, N.cy, E, atan2(N.y01, N.x01), atan2(N.y11, N.x11), !b), i.arc(0, 0, m, atan2(N.cy + N.y11, N.cx + N.x11), atan2(T.cy + T.y11, T.cx + T.x11), b), i.arc(T.cx, T.cy, E, atan2(T.y11, T.x11), atan2(T.y01, T.x01), !b))) : i.arc(0, 0, m, S, V, b);
6597
+ $ > epsilon$2 ? D > epsilon$2 ? (N = cornerTangents(Z, Q, F, w, f, D, b), T = cornerTangents(Y, W, I, A, f, D, b), i.moveTo(N.cx + N.x01, N.cy + N.y01), D < R ? i.arc(N.cx, N.cy, D, atan2(N.y01, N.x01), atan2(T.y01, T.x01), !b) : (i.arc(N.cx, N.cy, D, atan2(N.y01, N.x01), atan2(N.y11, N.x11), !b), i.arc(0, 0, f, atan2(N.cy + N.y11, N.cx + N.x11), atan2(T.cy + T.y11, T.cx + T.x11), !b), i.arc(T.cx, T.cy, D, atan2(T.y11, T.x11), atan2(T.y01, T.x01), !b))) : (i.moveTo(F, w), i.arc(0, 0, f, _, k, !b)) : i.moveTo(F, w), !(m > epsilon$2) || !(B > epsilon$2) ? i.lineTo(I, A) : E > epsilon$2 ? (N = cornerTangents(I, A, Y, W, m, -E, b), T = cornerTangents(F, w, Z, Q, m, -E, b), i.lineTo(N.cx + N.x01, N.cy + N.y01), E < R ? i.arc(N.cx, N.cy, E, atan2(N.y01, N.x01), atan2(T.y01, T.x01), !b) : (i.arc(N.cx, N.cy, E, atan2(N.y01, N.x01), atan2(N.y11, N.x11), !b), i.arc(0, 0, m, atan2(N.cy + N.y11, N.cx + N.x11), atan2(T.cy + T.y11, T.cx + T.x11), b), i.arc(T.cx, T.cy, E, atan2(T.y11, T.x11), atan2(T.y01, T.x01), !b))) : i.arc(0, 0, m, S, V, b);
6598
6598
  }
6599
6599
  if (i.closePath(), d) return i = null, d + "" || null;
6600
6600
  }
@@ -7661,13 +7661,13 @@ function entering() {
7661
7661
  function axis(e, n) {
7662
7662
  var t = [], a = null, o = null, r = 6, s = 6, i = 3, l = typeof window < "u" && window.devicePixelRatio > 1 ? 0 : 0.5, c = e === top || e === left ? -1 : 1, d = e === left || e === right ? "x" : "y", u = e === top || e === bottom ? translateX : translateY;
7663
7663
  function m(f) {
7664
- var p = a ?? (n.ticks ? n.ticks.apply(n, t) : n.domain()), g = o ?? (n.tickFormat ? n.tickFormat.apply(n, t) : identity), v = Math.max(r, 0) + i, b = n.range(), _ = +b[0] + l, k = +b[b.length - 1] + l, V = (n.bandwidth ? center : number)(n.copy(), l), S = f.selection ? f.selection() : f, B = S.selectAll(".domain").data([null]), w = S.selectAll(".tick").data(p, n).order(), C = w.exit(), O = w.enter().append("g").attr("class", "tick"), R = w.select("line"), E = w.select("text");
7665
- B = B.merge(B.enter().insert("path", ".tick").attr("class", "domain").attr("stroke", "currentColor")), w = w.merge(O), R = R.merge(O.append("line").attr("stroke", "currentColor").attr(d + "2", c * r)), E = E.merge(O.append("text").attr("fill", "currentColor").attr(d, c * v).attr("dy", e === top ? "0em" : e === bottom ? "0.71em" : "0.32em")), f !== S && (B = B.transition(f), w = w.transition(f), R = R.transition(f), E = E.transition(f), C = C.transition(f).attr("opacity", epsilon).attr("transform", function(D) {
7664
+ var p = a ?? (n.ticks ? n.ticks.apply(n, t) : n.domain()), g = o ?? (n.tickFormat ? n.tickFormat.apply(n, t) : identity), v = Math.max(r, 0) + i, b = n.range(), _ = +b[0] + l, k = +b[b.length - 1] + l, V = (n.bandwidth ? center : number)(n.copy(), l), S = f.selection ? f.selection() : f, B = S.selectAll(".domain").data([null]), $ = S.selectAll(".tick").data(p, n).order(), C = $.exit(), O = $.enter().append("g").attr("class", "tick"), R = $.select("line"), E = $.select("text");
7665
+ B = B.merge(B.enter().insert("path", ".tick").attr("class", "domain").attr("stroke", "currentColor")), $ = $.merge(O), R = R.merge(O.append("line").attr("stroke", "currentColor").attr(d + "2", c * r)), E = E.merge(O.append("text").attr("fill", "currentColor").attr(d, c * v).attr("dy", e === top ? "0em" : e === bottom ? "0.71em" : "0.32em")), f !== S && (B = B.transition(f), $ = $.transition(f), R = R.transition(f), E = E.transition(f), C = C.transition(f).attr("opacity", epsilon).attr("transform", function(D) {
7666
7666
  return isFinite(D = V(D)) ? u(D + l) : this.getAttribute("transform");
7667
7667
  }), O.attr("opacity", epsilon).attr("transform", function(D) {
7668
7668
  var N = this.parentNode.__axis;
7669
7669
  return u((N && isFinite(N = N(D)) ? N : V(D)) + l);
7670
- })), C.remove(), B.attr("d", e === left || e === right ? s ? "M" + c * s + "," + _ + "H" + l + "V" + k + "H" + c * s : "M" + l + "," + _ + "V" + k : s ? "M" + _ + "," + c * s + "V" + l + "H" + k + "V" + c * s : "M" + _ + "," + l + "H" + k), w.attr("opacity", 1).attr("transform", function(D) {
7670
+ })), C.remove(), B.attr("d", e === left || e === right ? s ? "M" + c * s + "," + _ + "H" + l + "V" + k + "H" + c * s : "M" + l + "," + _ + "V" + k : s ? "M" + _ + "," + c * s + "V" + l + "H" + k + "V" + c * s : "M" + _ + "," + l + "H" + k), $.attr("opacity", 1).attr("transform", function(D) {
7671
7671
  return u(V(D) + l);
7672
7672
  }), R.attr(d + "2", c * r), E.attr(d, c * v).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() {
7673
7673
  this.__axis = V;
@@ -7753,8 +7753,8 @@ var useChart = () => inject("chart"), usePoints = (e, n = { stacked: !1, type: "
7753
7753
  function u(f, p) {
7754
7754
  const { bandScale: g, linearScale: v } = i(), b = l(), _ = c(), k = d();
7755
7755
  return p.map((V) => {
7756
- const S = { x: 0, y: 0, width: 0, height: 0, props: { values: [...V], data: V.data } }, B = g.scale(V.data[f]), [w, C] = v.map(V);
7757
- return a.config.direction === "horizontal" ? (S.y = Math.min(w, C), S.height = Math.abs(w - C), S.x = k + B + b * _ + s / 2, S.width = _) : a.config.direction === "vertical" && (S.x = Math.min(w, C), S.width = Math.abs(w - C), S.y = k + B + b * _ + s / 2, S.height = _), S;
7756
+ const S = { x: 0, y: 0, width: 0, height: 0, props: { values: [...V], data: V.data } }, B = g.scale(V.data[f]), [$, C] = v.map(V);
7757
+ return a.config.direction === "horizontal" ? (S.y = Math.min($, C), S.height = Math.abs($ - C), S.x = k + B + b * _ + s / 2, S.width = _) : a.config.direction === "vertical" && (S.x = Math.min($, C), S.width = Math.abs($ - C), S.y = k + B + b * _ + s / 2, S.height = _), S;
7758
7758
  });
7759
7759
  }
7760
7760
  function m() {
@@ -10013,18 +10013,18 @@ function setValidations(e) {
10013
10013
  return a ? A ? unref(A[a]) : void 0 : A;
10014
10014
  }), k = createValidationResults(u, v, a, s, d, g, l, _, t), V = collectNestedValidationResults(m, v, d, s, g, l, _), S = {};
10015
10015
  p && Object.entries(p).forEach((A) => {
10016
- let [W, G] = A;
10017
- S[W] = {
10018
- $invalid: gatherBooleanGroupProperties(G, V, "$invalid"),
10019
- $error: gatherBooleanGroupProperties(G, V, "$error"),
10020
- $pending: gatherBooleanGroupProperties(G, V, "$pending"),
10021
- $errors: gatherArrayGroupProperties(G, V, "$errors"),
10022
- $silentErrors: gatherArrayGroupProperties(G, V, "$silentErrors")
10016
+ let [Y, W] = A;
10017
+ S[Y] = {
10018
+ $invalid: gatherBooleanGroupProperties(W, V, "$invalid"),
10019
+ $error: gatherBooleanGroupProperties(W, V, "$error"),
10020
+ $pending: gatherBooleanGroupProperties(W, V, "$pending"),
10021
+ $errors: gatherArrayGroupProperties(W, V, "$errors"),
10022
+ $silentErrors: gatherArrayGroupProperties(W, V, "$silentErrors")
10023
10023
  };
10024
10024
  });
10025
10025
  const {
10026
10026
  $dirty: B,
10027
- $errors: w,
10027
+ $errors: $,
10028
10028
  $invalid: C,
10029
10029
  $anyDirty: O,
10030
10030
  $error: R,
@@ -10033,12 +10033,12 @@ function setValidations(e) {
10033
10033
  $reset: N,
10034
10034
  $silentErrors: T,
10035
10035
  $commit: H
10036
- } = createMetaFields(k, V, r), F = a ? computed$1({
10036
+ } = createMetaFields(k, V, r), z = a ? computed$1({
10037
10037
  get: () => unref(v),
10038
10038
  set: (A) => {
10039
10039
  B.value = !0;
10040
- const W = unref(t), G = unref(c);
10041
- G && (G[a] = b[a]), isRef(W[a]) ? W[a].value = A : W[a] = A;
10040
+ const Y = unref(t), W = unref(c);
10041
+ W && (W[a] = b[a]), isRef(Y[a]) ? Y[a].value = A : Y[a] = A;
10042
10042
  }
10043
10043
  }) : null;
10044
10044
  a && g.$autoDirty && watch(v, () => {
@@ -10048,27 +10048,27 @@ function setValidations(e) {
10048
10048
  }, {
10049
10049
  flush: "sync"
10050
10050
  });
10051
- async function z() {
10051
+ async function F() {
10052
10052
  return D(), g.$rewardEarly && (H(), await nextTick()), await nextTick(), new Promise((A) => {
10053
10053
  if (!E.value) return A(!C.value);
10054
- const W = watch(E, () => {
10055
- A(!C.value), W();
10054
+ const Y = watch(E, () => {
10055
+ A(!C.value), Y();
10056
10056
  });
10057
10057
  });
10058
10058
  }
10059
- function $(A) {
10059
+ function w(A) {
10060
10060
  return (r.value || {})[A];
10061
10061
  }
10062
- function M() {
10062
+ function I() {
10063
10063
  isRef(c) ? c.value = b : Object.keys(b).length === 0 ? Object.keys(c).forEach((A) => {
10064
10064
  delete c[A];
10065
10065
  }) : Object.assign(c, b);
10066
10066
  }
10067
10067
  return reactive(_objectSpread2$1(_objectSpread2$1(_objectSpread2$1({}, k), {}, {
10068
- $model: F,
10068
+ $model: z,
10069
10069
  $dirty: B,
10070
10070
  $error: R,
10071
- $errors: w,
10071
+ $errors: $,
10072
10072
  $invalid: C,
10073
10073
  $anyDirty: O,
10074
10074
  $pending: E,
@@ -10076,11 +10076,11 @@ function setValidations(e) {
10076
10076
  $reset: N,
10077
10077
  $path: d || ROOT_PATH,
10078
10078
  $silentErrors: T,
10079
- $validate: z,
10079
+ $validate: F,
10080
10080
  $commit: H
10081
10081
  }, r && {
10082
- $getResultsForChild: $,
10083
- $clearExternalResults: M,
10082
+ $getResultsForChild: w,
10083
+ $clearExternalResults: I,
10084
10084
  $validationGroups: S
10085
10085
  }), V));
10086
10086
  }
@@ -10293,17 +10293,17 @@ function forEach(e) {
10293
10293
  const V = unwrapNormalizedValidator(_).call(this, m, s, i, ...a), S = unwrapValidatorResponse(V);
10294
10294
  if (g.$data[b] = V, g.$data.$invalid = !S || !!g.$data.$invalid, g.$data.$error = g.$data.$invalid, !S) {
10295
10295
  let B = _.$message || "";
10296
- const w = _.$params || {};
10296
+ const $ = _.$params || {};
10297
10297
  typeof B == "function" && (B = B({
10298
10298
  $pending: !1,
10299
10299
  $invalid: !S,
10300
- $params: w,
10300
+ $params: $,
10301
10301
  $model: m,
10302
10302
  $response: V
10303
10303
  })), g.$errors.push({
10304
10304
  $property: u,
10305
10305
  $message: B,
10306
- $params: w,
10306
+ $params: $,
10307
10307
  $response: V,
10308
10308
  $model: m,
10309
10309
  $pending: !1,
@@ -15008,11 +15008,11 @@ function setup(e) {
15008
15008
  const b = g, _ = Number(/* @__PURE__ */ new Date()), k = _ - (u || _);
15009
15009
  b.diff = k, b.prev = u, b.curr = _, u = _, v[0] = t.coerce(v[0]), typeof v[0] != "string" && v.unshift("%O");
15010
15010
  let V = 0;
15011
- v[0] = v[0].replace(/%([a-zA-Z%])/g, (B, w) => {
15011
+ v[0] = v[0].replace(/%([a-zA-Z%])/g, (B, $) => {
15012
15012
  if (B === "%%")
15013
15013
  return "%";
15014
15014
  V++;
15015
- const C = t.formatters[w];
15015
+ const C = t.formatters[$];
15016
15016
  if (typeof C == "function") {
15017
15017
  const O = v[V];
15018
15018
  B = C.call(b, O), v.splice(V, 1), V--;
@@ -15295,14 +15295,14 @@ var functionNamesExports = functionNames.exports;
15295
15295
  const k = r.default[v], V = _.getPlayerState(), S = _[v].apply(_, b);
15296
15296
  return k.stateChangeRequired || // eslint-disable-next-line no-extra-parens
15297
15297
  Array.isArray(k.acceptableStates) && !k.acceptableStates.includes(V) ? new Promise((B) => {
15298
- const w = () => {
15298
+ const $ = () => {
15299
15299
  const C = _.getPlayerState();
15300
15300
  let O;
15301
15301
  typeof k.timeout == "number" && (O = setTimeout(() => {
15302
- _.removeEventListener("onStateChange", w), B();
15303
- }, k.timeout)), Array.isArray(k.acceptableStates) && k.acceptableStates.includes(C) && (_.removeEventListener("onStateChange", w), clearTimeout(O), B());
15302
+ _.removeEventListener("onStateChange", $), B();
15303
+ }, k.timeout)), Array.isArray(k.acceptableStates) && k.acceptableStates.includes(C) && (_.removeEventListener("onStateChange", $), clearTimeout(O), B());
15304
15304
  };
15305
- _.addEventListener("onStateChange", w);
15305
+ _.addEventListener("onStateChange", $);
15306
15306
  }).then(() => S) : S;
15307
15307
  }) : g[v] = (...b) => f.then((_) => _[v].apply(_, b));
15308
15308
  return g;
@@ -23466,12 +23466,12 @@ const _hoisted_1$r = {
23466
23466
  getItemProps: V,
23467
23467
  getItemEventListeners: S,
23468
23468
  getComboboxProps: B,
23469
- openMenu: w
23469
+ openMenu: $
23470
23470
  }) => [
23471
23471
  createElementVNode("div", mergeProps(B(), { class: "vs-autocomplete__list-wrapper" }), [
23472
23472
  createElementVNode("input", mergeProps({ class: "vs-input form-control" }, p(), toHandlers(g(), !0), {
23473
23473
  placeholder: e.placeholder,
23474
- onClick: (C) => w()
23474
+ onClick: (C) => $()
23475
23475
  }), null, 16, _hoisted_3$e),
23476
23476
  createVNode(VsIcon, {
23477
23477
  icon: "vs-icon-control-expand",
@@ -23721,8 +23721,8 @@ const _hoisted_1$r = {
23721
23721
  type: ""
23722
23722
  };
23723
23723
  const s = ref("off"), i = ref(!1), l = computed$1(() => {
23724
- const $ = typeof a.value > "u" ? "see-do" : a.value;
23725
- return `/info/${paths[$]}`;
23724
+ const w = typeof a.value > "u" ? "see-do" : a.value;
23725
+ return `/info/${paths[w]}`;
23726
23726
  });
23727
23727
  let c = ref(!1);
23728
23728
  const d = {
@@ -23745,36 +23745,36 @@ const _hoisted_1$r = {
23745
23745
  localeUrl: "nl-nl"
23746
23746
  }
23747
23747
  }, u = computed$1(() => {
23748
- let $ = n.defaultLocale.length > 0 ? n.defaultLocale : getLocale();
23749
- return $ === "en" && ($ = ""), $;
23748
+ let w = n.defaultLocale.length > 0 ? n.defaultLocale : getLocale();
23749
+ return w === "en" && (w = ""), w;
23750
23750
  }), m = computed$1(() => {
23751
23751
  if (typeof window < "u") {
23752
- let $ = window.location.origin;
23753
- return $.includes("localhost") ? "https://www.visitscotland.com" : $;
23752
+ let w = window.location.origin;
23753
+ return w.includes("localhost") ? "https://www.visitscotland.com" : w;
23754
23754
  }
23755
23755
  return "https://www.visitscotland.com";
23756
23756
  }), f = computed$1(() => `${m.value}${u.value ? "/" + u.value : ""}${l.value}/search-results`), g = "https://www.visitscotland.com/data/locations" + `?locale=${u.value}`, v = ref([]), b = "https://www.visitscotland.com/tms-api/v1/attractions", _ = ref([]), k = "https://www.visitscotland.com/tms-api/v1/origins?active=1", V = ref([]), S = ref([]), B = () => {
23757
- const $ = getProductTypes(), M = [];
23758
- $.forEach((A) => {
23759
- M.push(A);
23760
- }), S.value = M;
23761
- }, w = computed$1(() => t.value ? [] : S.value.map((M) => ({
23762
- ...M,
23763
- text: getProductName(M.value, M.text)
23757
+ const w = getProductTypes(), I = [];
23758
+ w.forEach((A) => {
23759
+ I.push(A);
23760
+ }), S.value = I;
23761
+ }, $ = computed$1(() => t.value ? [] : S.value.map((I) => ({
23762
+ ...I,
23763
+ text: getProductName(I.value, I.text)
23764
23764
  }))), C = async () => {
23765
- const $ = await getData(g);
23766
- $ && (v.value = $.data);
23765
+ const w = await getData(g);
23766
+ w && (v.value = w.data);
23767
23767
  }, O = async () => {
23768
- const $ = await getData(k);
23769
- $ && (V.value = $.data);
23768
+ const w = await getData(k);
23769
+ w && (V.value = w.data);
23770
23770
  }, R = async () => {
23771
- const $ = await getData(b);
23772
- $ && (_.value = $.data);
23773
- }, E = ($, M) => {
23774
- M === "key" ? r.value = v.value.find((A) => A.key === $) : M === "id" ? r.value = v.value.find((A) => A.id === $) : r.value = v.value.find((A) => A.name === $.trim());
23775
- }, D = ($) => {
23776
- const M = $.value;
23777
- a.value = M, M === "tour" && (O(), R());
23771
+ const w = await getData(b);
23772
+ w && (_.value = w.data);
23773
+ }, E = (w, I) => {
23774
+ I === "key" ? r.value = v.value.find((A) => A.key === w) : I === "id" ? r.value = v.value.find((A) => A.id === w) : r.value = v.value.find((A) => A.name === w.trim());
23775
+ }, D = (w) => {
23776
+ const I = w.value;
23777
+ a.value = I, I === "tour" && (O(), R());
23778
23778
  }, N = () => d[n.defaultLocale] || "", T = () => {
23779
23779
  t.value = !0, nextTick(() => {
23780
23780
  t.value = !1, n.defaultLocation !== "" && c && E(n.defaultLocation, "id");
@@ -23782,22 +23782,22 @@ const _hoisted_1$r = {
23782
23782
  }, H = computed$1(() => a.value !== "cate" && a.value !== "acti,attr,reta" ? "d-lg-flex" : "");
23783
23783
  onBeforeMount(async () => {
23784
23784
  window.VS = {};
23785
- const $ = document.createElement("script");
23786
- $.async = !1, $.onload = T, $.setAttribute("src", `https://www.visitscotland.com/${N().localeUrl}/data/template/search.js`), document.head.appendChild($);
23785
+ const w = document.createElement("script");
23786
+ w.async = !1, w.onload = T, w.setAttribute("src", `https://www.visitscotland.com/${N().localeUrl}/data/template/search.js`), document.head.appendChild(w);
23787
23787
  }), onMounted(async () => {
23788
23788
  C(), c.value = !0, a.value = n.defaultProd, a.value === "tour" && (O(), R()), B();
23789
23789
  });
23790
- const F = ($) => {
23791
- s.value = $ ? "on" : "off";
23792
- }, z = ($) => {
23790
+ const z = (w) => {
23791
+ s.value = w ? "on" : "off";
23792
+ }, F = (w) => {
23793
23793
  i.value = !0;
23794
- const M = $.currentTarget;
23794
+ const I = w.currentTarget;
23795
23795
  setTimeout(function() {
23796
- M.submit();
23796
+ I.submit();
23797
23797
  }, 500);
23798
23798
  };
23799
- return ($, M) => {
23800
- var A, W, G, X, Q, Y;
23799
+ return (w, I) => {
23800
+ var A, Y, W, Z, Q, G;
23801
23801
  return openBlock(), createElementBlock("div", _hoisted_1$o, [
23802
23802
  t.value ? createCommentVNode("", !0) : (openBlock(), createElementBlock("div", _hoisted_2$i, [
23803
23803
  createElementVNode("div", _hoisted_3$b, [
@@ -23805,7 +23805,7 @@ const _hoisted_1$r = {
23805
23805
  unref(c) ? (openBlock(), createElementBlock("form", {
23806
23806
  key: 0,
23807
23807
  action: f.value,
23808
- onSubmit: withModifiers(z, ["prevent"]),
23808
+ onSubmit: withModifiers(F, ["prevent"]),
23809
23809
  "accept-charset": "UTF-8",
23810
23810
  "data-test": "psw-form"
23811
23811
  }, [
@@ -23815,9 +23815,9 @@ const _hoisted_1$r = {
23815
23815
  class: normalizeClass(H.value)
23816
23816
  }, [
23817
23817
  createVNode(VsSelect, {
23818
- options: w.value,
23818
+ options: $.value,
23819
23819
  value: e.defaultProd,
23820
- onUpdated: M[0] || (M[0] = (Z) => D(Z)),
23820
+ onUpdated: I[0] || (I[0] = (J) => D(J)),
23821
23821
  "field-name": "prodtypes"
23822
23822
  }, null, 8, ["options", "value"]),
23823
23823
  createElementVNode("div", _hoisted_8$4, toDisplayString(unref(getLabelText)("in", "in")), 1)
@@ -23833,7 +23833,7 @@ const _hoisted_1$r = {
23833
23833
  options: v.value,
23834
23834
  placeholder: unref(getLabelText)("location_placeholder", "Enter a location"),
23835
23835
  "track-by": "name",
23836
- onChangeValue: M[1] || (M[1] = (Z) => E(Z)),
23836
+ onChangeValue: I[1] || (I[1] = (J) => E(J)),
23837
23837
  "default-val": unref(r),
23838
23838
  "data-chromatic": "ignore"
23839
23839
  }, null, 8, ["label", "options", "placeholder", "default-val"])) : createCommentVNode("", !0),
@@ -23842,14 +23842,14 @@ const _hoisted_1$r = {
23842
23842
  type: "hidden",
23843
23843
  name: "locplace",
23844
23844
  disabled: ((A = unref(r)) == null ? void 0 : A.type) === "POLYGON",
23845
- value: ((W = unref(r)) == null ? void 0 : W.key) || ""
23845
+ value: ((Y = unref(r)) == null ? void 0 : Y.key) || ""
23846
23846
  }, null, 8, _hoisted_10$4)) : createCommentVNode("", !0),
23847
23847
  a.value !== "tour" ? (openBlock(), createElementBlock("input", {
23848
23848
  key: 2,
23849
23849
  type: "hidden",
23850
23850
  name: "locpoly",
23851
- disabled: ((G = unref(r)) == null ? void 0 : G.type) !== "POLYGON",
23852
- value: ((X = unref(r)) == null ? void 0 : X.key) || ""
23851
+ disabled: ((W = unref(r)) == null ? void 0 : W.type) !== "POLYGON",
23852
+ value: ((Z = unref(r)) == null ? void 0 : Z.key) || ""
23853
23853
  }, null, 8, _hoisted_11$3)) : createCommentVNode("", !0),
23854
23854
  a.value !== "tour" ? (openBlock(), createElementBlock("input", {
23855
23855
  key: 3,
@@ -23857,12 +23857,12 @@ const _hoisted_1$r = {
23857
23857
  name: "locprox",
23858
23858
  value: ((Q = unref(r)) == null ? void 0 : Q.type) === "DISTRICT" ? 1 : 0
23859
23859
  }, null, 8, _hoisted_12$2)) : createCommentVNode("", !0),
23860
- a.value !== "tour" && ((Y = unref(r)) == null ? void 0 : Y.type) === "DISTRICT" ? (openBlock(), createElementBlock("input", _hoisted_13$2)) : createCommentVNode("", !0),
23860
+ a.value !== "tour" && ((G = unref(r)) == null ? void 0 : G.type) === "DISTRICT" ? (openBlock(), createElementBlock("input", _hoisted_13$2)) : createCommentVNode("", !0),
23861
23861
  a.value === "even" ? (openBlock(), createElementBlock("div", _hoisted_14$1, [
23862
23862
  createVNode(_sfc_main$z, {
23863
23863
  "start-label": unref(getLabelText)("startdate", "Start Date", "dates"),
23864
23864
  "end-label": unref(getLabelText)("enddate", "End Date", "dates"),
23865
- onDateUpdated: M[2] || (M[2] = (Z) => F(Z)),
23865
+ onDateUpdated: I[2] || (I[2] = (J) => z(J)),
23866
23866
  "default-dates": i.value,
23867
23867
  "selected-prod": a.value
23868
23868
  }, null, 8, ["start-label", "end-label", "default-dates", "selected-prod"]),
@@ -23875,7 +23875,7 @@ const _hoisted_1$r = {
23875
23875
  }, null, 8, ["placeholder"])
23876
23876
  ])) : createCommentVNode("", !0)
23877
23877
  ])) : createCommentVNode("", !0),
23878
- a.value === "acco" ? (openBlock(), createElementBlock("div", _hoisted_17$1, [...M[4] || (M[4] = [
23878
+ a.value === "acco" ? (openBlock(), createElementBlock("div", _hoisted_17$1, [...I[4] || (I[4] = [
23879
23879
  createElementVNode("input", {
23880
23880
  hidden: "true",
23881
23881
  name: "avail",
@@ -23894,10 +23894,10 @@ const _hoisted_1$r = {
23894
23894
  "track-by": "name",
23895
23895
  "is-tour-location": !0
23896
23896
  }, null, 8, ["label", "options", "placeholder"]),
23897
- (openBlock(!0), createElementBlock(Fragment, null, renderList(o.value, (Z) => (openBlock(), createElementBlock("input", {
23897
+ (openBlock(!0), createElementBlock(Fragment, null, renderList(o.value, (J) => (openBlock(), createElementBlock("input", {
23898
23898
  type: "hidden",
23899
23899
  name: "attractions[]",
23900
- value: Z
23900
+ value: J
23901
23901
  }, null, 8, _hoisted_19))), 256)),
23902
23902
  createVNode(_sfc_main$B, {
23903
23903
  id: "tour-month",
@@ -23913,7 +23913,7 @@ const _hoisted_1$r = {
23913
23913
  class: "mt-150",
23914
23914
  "data-test": "psw-submit",
23915
23915
  type: "submit",
23916
- onClick: M[3] || (M[3] = (Z) => $.trackSubmit(a.value, typeof unref(r) > "u" ? "" : unref(r)))
23916
+ onClick: I[3] || (I[3] = (J) => w.trackSubmit(a.value, typeof unref(r) > "u" ? "" : unref(r)))
23917
23917
  }, {
23918
23918
  default: withCtx(() => [
23919
23919
  createTextVNode(toDisplayString(unref(getLabelText)("search", "Search")), 1)
@@ -25892,11 +25892,11 @@ function _sfc_render$c(e, n, t, a, o, r) {
25892
25892
  }),
25893
25893
  createVNode(b, null, {
25894
25894
  default: withCtx(() => [
25895
- (openBlock(!0), createElementBlock(Fragment, null, renderList(o.lifts, (w) => (openBlock(), createBlock(v, {
25896
- key: w.name
25895
+ (openBlock(!0), createElementBlock(Fragment, null, renderList(o.lifts, ($) => (openBlock(), createBlock(v, {
25896
+ key: $.name
25897
25897
  }, {
25898
25898
  default: withCtx(() => [
25899
- w.status === "0" || w.status === 0 ? (openBlock(), createBlock(g, { key: 0 }, {
25899
+ $.status === "0" || $.status === 0 ? (openBlock(), createBlock(g, { key: 0 }, {
25900
25900
  default: withCtx(() => [
25901
25901
  createVNode(p, {
25902
25902
  icon: "fa-regular fa-ban",
@@ -25907,7 +25907,7 @@ function _sfc_render$c(e, n, t, a, o, r) {
25907
25907
  ]),
25908
25908
  _: 1
25909
25909
  })) : createCommentVNode("", !0),
25910
- w.status === "1" || w.status === 1 ? (openBlock(), createBlock(g, { key: 1 }, {
25910
+ $.status === "1" || $.status === 1 ? (openBlock(), createBlock(g, { key: 1 }, {
25911
25911
  default: withCtx(() => [
25912
25912
  createVNode(p, {
25913
25913
  icon: "fa-regular fa-check",
@@ -25918,7 +25918,7 @@ function _sfc_render$c(e, n, t, a, o, r) {
25918
25918
  ]),
25919
25919
  _: 1
25920
25920
  })) : createCommentVNode("", !0),
25921
- w.status === "2" || w.status === 2 ? (openBlock(), createBlock(g, { key: 2 }, {
25921
+ $.status === "2" || $.status === 2 ? (openBlock(), createBlock(g, { key: 2 }, {
25922
25922
  default: withCtx(() => [
25923
25923
  createVNode(p, {
25924
25924
  icon: "fa-regular fa-timer",
@@ -25929,7 +25929,7 @@ function _sfc_render$c(e, n, t, a, o, r) {
25929
25929
  ]),
25930
25930
  _: 1
25931
25931
  })) : createCommentVNode("", !0),
25932
- w.status === "3" || w.status === 3 ? (openBlock(), createBlock(g, { key: 3 }, {
25932
+ $.status === "3" || $.status === 3 ? (openBlock(), createBlock(g, { key: 3 }, {
25933
25933
  default: withCtx(() => [
25934
25934
  createVNode(p, {
25935
25935
  icon: "fa-regular fa-ski-boot-ski",
@@ -25940,7 +25940,7 @@ function _sfc_render$c(e, n, t, a, o, r) {
25940
25940
  ]),
25941
25941
  _: 1
25942
25942
  })) : createCommentVNode("", !0),
25943
- w.status === "4" || w.status === 4 ? (openBlock(), createBlock(g, { key: 4 }, {
25943
+ $.status === "4" || $.status === 4 ? (openBlock(), createBlock(g, { key: 4 }, {
25944
25944
  default: withCtx(() => [
25945
25945
  createVNode(p, {
25946
25946
  icon: "fa-regular fa-hourglass",
@@ -25953,7 +25953,7 @@ function _sfc_render$c(e, n, t, a, o, r) {
25953
25953
  })) : createCommentVNode("", !0),
25954
25954
  createVNode(g, null, {
25955
25955
  default: withCtx(() => [
25956
- createTextVNode(toDisplayString(w.name), 1)
25956
+ createTextVNode(toDisplayString($.name), 1)
25957
25957
  ]),
25958
25958
  _: 2
25959
25959
  }, 1024)
@@ -26008,28 +26008,28 @@ function _sfc_render$c(e, n, t, a, o, r) {
26008
26008
  ]),
26009
26009
  _: 1
26010
26010
  }),
26011
- (openBlock(!0), createElementBlock(Fragment, null, renderList(r.filteredRunLevels, (w) => (openBlock(), createElementBlock("div", {
26012
- key: w.name
26011
+ (openBlock(!0), createElementBlock(Fragment, null, renderList(r.filteredRunLevels, ($) => (openBlock(), createElementBlock("div", {
26012
+ key: $.name
26013
26013
  }, [
26014
26014
  createVNode(B, null, {
26015
26015
  default: withCtx(() => [
26016
26016
  createVNode(S, {
26017
26017
  variant: "subtle",
26018
- "control-id": `accordion_item_${w.name}`,
26019
- "colour-badge": w.colourToken
26018
+ "control-id": `accordion_item_${$.name}`,
26019
+ "colour-badge": $.colourToken
26020
26020
  }, {
26021
26021
  title: withCtx(() => [
26022
26022
  createElementVNode("div", {
26023
- "data-test": `vs-ski__${w.name}-label`,
26023
+ "data-test": `vs-ski__${$.name}-label`,
26024
26024
  class: "d-inline-block"
26025
26025
  }, [
26026
- createElementVNode("span", _hoisted_17, toDisplayString(r.getColourLabel(w.colour)), 1),
26027
- createTextVNode(" " + toDisplayString(w.name), 1)
26026
+ createElementVNode("span", _hoisted_17, toDisplayString(r.getColourLabel($.colour)), 1),
26027
+ createTextVNode(" " + toDisplayString($.name), 1)
26028
26028
  ], 8, _hoisted_16)
26029
26029
  ]),
26030
26030
  default: withCtx(() => [
26031
26031
  createVNode(k, {
26032
- "table-caption": `${w.colour} - ${w.name}`,
26032
+ "table-caption": `${$.colour} - ${$.name}`,
26033
26033
  class: "vs-ski-scotland-status__run-status-table"
26034
26034
  }, {
26035
26035
  default: withCtx(() => [
@@ -26052,9 +26052,9 @@ function _sfc_render$c(e, n, t, a, o, r) {
26052
26052
  }),
26053
26053
  createVNode(b, null, {
26054
26054
  default: withCtx(() => [
26055
- (openBlock(!0), createElementBlock(Fragment, null, renderList(w.runs, (C) => (openBlock(), createBlock(v, {
26055
+ (openBlock(!0), createElementBlock(Fragment, null, renderList($.runs, (C) => (openBlock(), createBlock(v, {
26056
26056
  key: C.name,
26057
- "data-test": `vs-ski__${w.name}-row`
26057
+ "data-test": `vs-ski__${$.name}-row`
26058
26058
  }, {
26059
26059
  default: withCtx(() => [
26060
26060
  C.status === "0" || C.status === 0 ? (openBlock(), createBlock(g, { key: 0 }, {
@@ -27503,17 +27503,17 @@ async function cludoAutocomplete(e, n) {
27503
27503
  }
27504
27504
  }
27505
27505
  const useFederatedSearchStore = defineStore("federatedSearch", () => {
27506
- const e = ref(null), n = ref(void 0), t = ref(!1), a = ref(1), o = ref(void 0), r = ref(!1), s = ref(!1), i = ref(null), l = ref(""), c = ref(null), d = ref(null), u = ref([]), m = ref([]), f = ref(void 0), p = ref(void 0), g = ref(void 0), v = ref(!1), b = ref(""), _ = ref(""), k = ref(void 0), V = ref(void 0), S = ref(void 0), B = ref(-1), w = ref(""), C = ref(""), O = ref(""), R = ref(0), E = ref(""), D = ref("or");
27507
- async function N(F = !1) {
27508
- s.value = !0, F || (B.value += 1);
27509
- const z = await cludoSearch(
27506
+ const e = ref(null), n = ref(void 0), t = ref(!1), a = ref(1), o = ref(void 0), r = ref(!1), s = ref(!1), i = ref(null), l = ref(""), c = ref(null), d = ref(null), u = ref([]), m = ref([]), f = ref(void 0), p = ref(void 0), g = ref(void 0), v = ref(!1), b = ref(""), _ = ref(""), k = ref(void 0), V = ref(void 0), S = ref(void 0), B = ref(-1), $ = ref(""), C = ref(""), O = ref(""), R = ref(0), E = ref(""), D = ref("or");
27507
+ async function N(z = !1) {
27508
+ s.value = !0, z || (B.value += 1);
27509
+ const F = await cludoSearch(
27510
27510
  l.value,
27511
27511
  n.value,
27512
27512
  a.value,
27513
27513
  c.value,
27514
27514
  d.value,
27515
27515
  D.value
27516
- ), $ = await eventSearch(
27516
+ ), w = await eventSearch(
27517
27517
  o.value,
27518
27518
  l.value,
27519
27519
  a.value,
@@ -27528,18 +27528,18 @@ const useFederatedSearchStore = defineStore("federatedSearch", () => {
27528
27528
  R.value,
27529
27529
  E.value
27530
27530
  );
27531
- i.value = [...z.results, ...$.results], p.value = z.totalResults, g.value = $.totalResults, f.value = z.totalResults + $.totalResults, s.value = !1;
27531
+ i.value = [...F.results, ...w.results], p.value = F.totalResults, g.value = w.totalResults, f.value = F.totalResults + w.totalResults, s.value = !1;
27532
27532
  }
27533
27533
  async function T() {
27534
27534
  return cludoAutocomplete(l.value, n.value);
27535
27535
  }
27536
- async function H(F, z) {
27537
- const $ = new URL(window.location.href);
27538
- if (z ? w.value = "Autosuggestion" : w.value = "User input", l.value ? $.searchParams.set("search-term", l.value) : $.searchParams.delete("search-term"), d.value ? $.searchParams.set("category", encodeURIComponent(d.value)) : $.searchParams.delete("category"), m.value.length > 0 ? $.searchParams.set("sub-category", encodeURIComponent(m.value.join(","))) : $.searchParams.delete("sub-category"), F ? (a.value = 1, $.searchParams.set("page", a.value.toString())) : a.value && a.value > 1 ? $.searchParams.set("page", a.value.toString()) : $.searchParams.delete("page"), b.value ? $.searchParams.set("start-date", b.value) : $.searchParams.delete("start-date"), _.value ? $.searchParams.set("end-date", _.value) : $.searchParams.delete("end-date"), k.value ? $.searchParams.set("sort-by", k.value) : $.searchParams.delete("sort-by"), !v.value)
27539
- window.history.pushState({}, "", $), await N();
27536
+ async function H(z, F) {
27537
+ const w = new URL(window.location.href);
27538
+ if (F ? $.value = "Autosuggestion" : $.value = "User input", l.value ? w.searchParams.set("search-term", l.value) : w.searchParams.delete("search-term"), d.value ? w.searchParams.set("category", encodeURIComponent(d.value)) : w.searchParams.delete("category"), m.value.length > 0 ? w.searchParams.set("sub-category", encodeURIComponent(m.value.join(","))) : w.searchParams.delete("sub-category"), z ? (a.value = 1, w.searchParams.set("page", a.value.toString())) : a.value && a.value > 1 ? w.searchParams.set("page", a.value.toString()) : w.searchParams.delete("page"), b.value ? w.searchParams.set("start-date", b.value) : w.searchParams.delete("start-date"), _.value ? w.searchParams.set("end-date", _.value) : w.searchParams.delete("end-date"), k.value ? w.searchParams.set("sort-by", k.value) : w.searchParams.delete("sort-by"), !v.value)
27539
+ window.history.pushState({}, "", w), await N();
27540
27540
  else {
27541
- const M = `${V.value}/${$.search}`;
27542
- window.location.href = M;
27541
+ const I = `${V.value}/${w.search}`;
27542
+ window.location.href = I;
27543
27543
  }
27544
27544
  }
27545
27545
  return {
@@ -27569,7 +27569,7 @@ const useFederatedSearchStore = defineStore("federatedSearch", () => {
27569
27569
  sortBy: k,
27570
27570
  siteLanguage: S,
27571
27571
  searchInSessionCount: B,
27572
- queryInput: w,
27572
+ queryInput: $,
27573
27573
  postcode: C,
27574
27574
  location: O,
27575
27575
  radius: R,
@@ -29237,35 +29237,35 @@ const _hoisted_1 = { class: "vs-map" }, _hoisted_2 = { class: "vs-map__controls"
29237
29237
  provide("featuredPlaces", {
29238
29238
  categories: o,
29239
29239
  places: t.featuredPlaces
29240
- }), provide("onFeaturedLocationClick", ve);
29240
+ }), provide("onFeaturedLocationClick", be);
29241
29241
  let r, s, i, l, c, d, u, m, f, p, g = {}, v;
29242
- const b = ref(), _ = ref(/* @__PURE__ */ new Set()), k = ref(), V = ref(/* @__PURE__ */ new Set()), S = ref(/* @__PURE__ */ new Set()), B = ref(/* @__PURE__ */ new Set()), w = ref(/* @__PURE__ */ new Set()), C = ref(), O = ref(), R = ref(t.zoom), E = ref(!1), D = ref(), N = ref(/* @__PURE__ */ new Set()), T = ref(), H = computed$1(() => {
29243
- const L = /* @__PURE__ */ new Map(), I = W[b.value].subCategory;
29244
- return Object.values(I).forEach((P) => {
29242
+ const b = ref(), _ = ref(/* @__PURE__ */ new Set()), k = ref(), V = ref(/* @__PURE__ */ new Set()), S = ref(/* @__PURE__ */ new Set()), B = ref(/* @__PURE__ */ new Set()), $ = ref(/* @__PURE__ */ new Set()), C = ref(), O = ref(), R = ref(t.zoom), E = ref(!1), D = ref(), N = ref(/* @__PURE__ */ new Set()), T = ref(), H = ref(!1), z = ref(void 0), F = computed$1(() => {
29243
+ const L = /* @__PURE__ */ new Map(), M = Z[b.value].subCategory;
29244
+ return Object.values(M).forEach((P) => {
29245
29245
  L.set(P.id, {
29246
29246
  includedTypes: P.includedType,
29247
29247
  excludedTypes: P.excludedType
29248
29248
  });
29249
29249
  }), L;
29250
- }), F = useGoogleMapStore(), z = ref(void 0);
29251
- let $;
29252
- const M = ref(void 0), A = {
29250
+ }), w = useGoogleMapStore(), I = ref(void 0);
29251
+ let A;
29252
+ const Y = ref(void 0), W = {
29253
29253
  north: 60.8,
29254
29254
  south: 54.8,
29255
29255
  west: -8.5,
29256
29256
  east: -0.7
29257
29257
  };
29258
- let W = {};
29259
- const G = t.categoryLabels;
29260
- let X = 0;
29258
+ let Z = {};
29259
+ const Q = t.categoryLabels;
29260
+ let G = 0;
29261
29261
  onBeforeMount(() => {
29262
29262
  const L = cookieCheckerComposable();
29263
- L.requiredCookies.value = cookieValues$5.google_maps, $ = computed$1(() => !L.cookiesAllowed.value && L.cookiesLoaded.value === !0 || !L.cookiesLoaded.value ? (M.value = "noCookie", !0) : !1);
29263
+ L.requiredCookies.value = cookieValues$5.google_maps, A = computed$1(() => !L.cookiesAllowed.value && L.cookiesLoaded.value === !0 || !L.cookiesLoaded.value ? (Y.value = "noCookie", !0) : !1);
29264
29264
  }), onMounted(async () => {
29265
- if (t.categoriesLocation && axios.get(t.categoriesLocation).then((I) => {
29266
- W = I.data;
29265
+ if (t.categoriesLocation && axios.get(t.categoriesLocation).then((M) => {
29266
+ Z = M.data, z.value = M.data.accommodation.keywords;
29267
29267
  }).catch(() => {
29268
- }), $.value === !1) {
29268
+ }), A.value === !1) {
29269
29269
  setOptions({
29270
29270
  key: t.apiKey,
29271
29271
  v: "quarterly",
@@ -29282,7 +29282,7 @@ const _hoisted_1 = { class: "vs-map" }, _hoisted_2 = { class: "vs-map__controls"
29282
29282
  s = document.getElementById("vs-map"), i = document.getElementById("nearbySearch"), l = document.getElementById("textSearch"), c = document.querySelector("gmp-place-text-search-request"), d = document.querySelector("gmp-place-nearby-search-request"), u = document.querySelector("gmp-place-details"), m = document.getElementById("placeRequest"), f = document.getElementById("vs-map-search-input");
29283
29283
  async function L() {
29284
29284
  try {
29285
- const I = {
29285
+ const M = {
29286
29286
  center: {
29287
29287
  lat: t.center.lat,
29288
29288
  lng: t.center.lng
@@ -29292,7 +29292,7 @@ const _hoisted_1 = { class: "vs-map" }, _hoisted_2 = { class: "vs-map__controls"
29292
29292
  isFractionalZoomEnabled: !0,
29293
29293
  mapId: t.mapId,
29294
29294
  restriction: {
29295
- latLngBounds: A
29295
+ latLngBounds: W
29296
29296
  },
29297
29297
  zoomControl: !0,
29298
29298
  fullscreenControl: !1,
@@ -29302,28 +29302,28 @@ const _hoisted_1 = { class: "vs-map" }, _hoisted_2 = { class: "vs-map__controls"
29302
29302
  gestureHandling: "greedy"
29303
29303
  };
29304
29304
  if (s)
29305
- r = new google.maps.Map(s, I), r.fitBounds(A);
29305
+ r = new google.maps.Map(s, M), r.fitBounds(W);
29306
29306
  else
29307
29307
  throw new Error("Init error, mapContainer undefined");
29308
- } catch (I) {
29309
- console.error("Maps init error", I.message);
29308
+ } catch (M) {
29309
+ console.error("Maps init error", M.message);
29310
29310
  }
29311
29311
  p = new google.maps.InfoWindow(), p.addListener("closeclick", () => {
29312
- le("card_close", m.place);
29313
- }), Q(), r.addListener("zoom_changed", () => {
29314
- R.value = r.getZoom(), R.value < CATEGORY_VISIBLE_ZOOM ? Q() : Q(!0);
29312
+ ie("card_close", m.place);
29313
+ }), J(), r.addListener("zoom_changed", () => {
29314
+ R.value = r.getZoom(), R.value < CATEGORY_VISIBLE_ZOOM ? J() : J(!0);
29315
29315
  }), r.addListener("idle", () => {
29316
- v = _e();
29317
- }), i.addEventListener("gmp-select", ({ place: I }) => {
29318
- g[I.id] && ue(I, g[I.id]);
29319
- }), l.addEventListener("gmp-select", ({ place: I }) => {
29320
- g[I.id] && ue(I, g[I.id]);
29316
+ v = ye();
29317
+ }), i.addEventListener("gmp-select", ({ place: M }) => {
29318
+ g[M.id] && ue(M, g[M.id]);
29319
+ }), l.addEventListener("gmp-select", ({ place: M }) => {
29320
+ g[M.id] && ue(M, g[M.id]);
29321
29321
  });
29322
29322
  }
29323
- F.firstInteraction = !1, F.searchesCount = 0, F.filterUsesCount = 0, $.value === !1 && await L();
29323
+ w.firstInteraction = !1, w.searchesCount = 0, w.filterUsesCount = 0, A.value === !1 && await L();
29324
29324
  });
29325
- function Q(L) {
29326
- const I = {
29325
+ function J(L) {
29326
+ const M = {
29327
29327
  strokeColor: "#A3A3CC",
29328
29328
  strokeOpacity: 1,
29329
29329
  strokeWeight: 1,
@@ -29388,150 +29388,156 @@ const _hoisted_1 = { class: "vs-map" }, _hoisted_2 = { class: "vs-map__controls"
29388
29388
  "ChIJ6_ktdpMVvEgRJBv3ZEgxsD8"
29389
29389
  // Faroe Islands
29390
29390
  ], j = r.getFeatureLayer(google.maps.FeatureType.COUNTRY), U = r.getFeatureLayer(google.maps.FeatureType.ADMINISTRATIVE_AREA_LEVEL_1);
29391
- L ? (j.style = null, U.style = null, j.style = (J) => {
29392
- if (q.includes(J.feature.placeId))
29393
- return I;
29394
- }, U.style = (J) => {
29395
- if (q.includes(J.feature.placeId))
29396
- return I;
29397
- }) : (j.style = (J) => {
29398
- if (P.includes(J.feature.placeId))
29399
- return I;
29400
- }, U.style = (J) => {
29401
- if (P.includes(J.feature.placeId))
29402
- return I;
29391
+ L ? (j.style = null, U.style = null, j.style = (X) => {
29392
+ if (q.includes(X.feature.placeId))
29393
+ return M;
29394
+ }, U.style = (X) => {
29395
+ if (q.includes(X.feature.placeId))
29396
+ return M;
29397
+ }) : (j.style = (X) => {
29398
+ if (P.includes(X.feature.placeId))
29399
+ return M;
29400
+ }, U.style = (X) => {
29401
+ if (P.includes(X.feature.placeId))
29402
+ return M;
29403
29403
  });
29404
29404
  }
29405
- function Y(L, I) {
29406
- de(), b.value = L, Object.values(W[L].subCategory).forEach(
29405
+ function ne(L, M) {
29406
+ de(), b.value = L, Z[L].includedType && V.value.add(Z[L].includedType), Object.values(Z[L].subCategory).forEach(
29407
29407
  (P) => V.value.add(P.includedType)
29408
- ), Object.values(W[L].subCategory).forEach(
29408
+ ), Object.values(Z[L].subCategory).forEach(
29409
29409
  (P) => {
29410
29410
  P.excludedType && S.value.add(P.excludedType);
29411
29411
  }
29412
29412
  ), V.value = new Set(Array.from(V.value).flat()), S.value = new Set(Array.from(S.value).flat()), V.value.forEach((P) => {
29413
29413
  S.value.has(P) && S.value.delete(P);
29414
- }), k.value = W[L], C.value = I, oe({
29414
+ }), k.value = Z[L], C.value = M, me({
29415
29415
  includedTypes: Array.from(V.value),
29416
29416
  excludedTypes: Array.from(S.value)
29417
- }), D.value = G[C.value].label, f.value = D.value;
29417
+ }), D.value = Q[C.value].label, f.value = D.value;
29418
29418
  }
29419
- function Z(L, I) {
29419
+ function te(L, M) {
29420
29420
  const P = ref([]), q = ref();
29421
29421
  return L.forEach(() => {
29422
- G.forEach((j) => {
29422
+ Q.forEach((j) => {
29423
29423
  j.id === b.value && (P.value = j);
29424
29424
  }), Object.values(P.value).forEach((j) => {
29425
29425
  Object.values(j).forEach((U) => {
29426
- I === U.id && (q.value = U.label);
29426
+ M === U.id && (q.value = U.label);
29427
29427
  });
29428
29428
  });
29429
29429
  }), q;
29430
29430
  }
29431
- function ne() {
29431
+ function oe() {
29432
29432
  B.value.forEach((L) => {
29433
- w.value.has(L) && w.value.delete(L);
29433
+ $.value.has(L) && $.value.delete(L);
29434
29434
  });
29435
29435
  }
29436
- function ae(L, {
29437
- includeTypes: I = !1,
29436
+ function se(L, {
29437
+ includeTypes: M = !1,
29438
29438
  excludeTypes: P = !1,
29439
29439
  removeIncludedTypes: q = !1,
29440
29440
  removeExcludedTypes: j = !1
29441
29441
  } = {}) {
29442
- var J;
29443
- const U = H.value.get(L);
29444
- I && U.includedTypes.forEach((ee) => {
29445
- I && B.value.add(ee), q && B.value.delete(ee);
29446
- }), (P || j) && ((J = U.excludedTypes) == null || J.forEach((ee) => {
29447
- P && w.value.add(ee), j && w.value.delete(ee);
29442
+ var X;
29443
+ const U = F.value.get(L);
29444
+ M && U.includedTypes.forEach((ee) => {
29445
+ M && B.value.add(ee), q && B.value.delete(ee);
29446
+ }), (P || j) && ((X = U.excludedTypes) == null || X.forEach((ee) => {
29447
+ P && $.value.add(ee), j && $.value.delete(ee);
29448
29448
  }));
29449
29449
  }
29450
- function se(L, I) {
29451
- O.value = I, L === "self-catering" ? (me(), _.value = /* @__PURE__ */ new Set(), _.value.add(L), D.value = Z(_.value, L).value, de(), f.value = D.value, ie()) : _.value.has(L) ? (_.value.delete(L), B.value = /* @__PURE__ */ new Set(), w.value = /* @__PURE__ */ new Set(), _.value.forEach((P) => {
29452
- ae(P, {
29450
+ function le(L, M) {
29451
+ if (O.value = M, L === "self-catering") {
29452
+ H.value = !0, fe(), _.value = /* @__PURE__ */ new Set(), _.value.add(L);
29453
+ const P = te(_.value, L).value;
29454
+ D.value = te(_.value, L).value, de(), f.value = D.value, pe(), f.value = P;
29455
+ } else _.value.has(L) ? (_.value.delete(L), B.value = /* @__PURE__ */ new Set(), $.value = /* @__PURE__ */ new Set(), _.value.forEach((P) => {
29456
+ se(P, {
29453
29457
  includeTypes: !0,
29454
29458
  excludeTypes: !0
29455
29459
  });
29456
- }), ne(), N.value.delete(
29457
- Z(_.value, L).value
29458
- ), _.value.size === 0 ? (N.value = /* @__PURE__ */ new Set(), Y(b.value, C.value)) : (oe({
29460
+ }), oe(), N.value.delete(
29461
+ te(_.value, L).value
29462
+ ), _.value.size === 0 ? (N.value = /* @__PURE__ */ new Set(), ne(b.value, C.value)) : (me({
29459
29463
  includedTypes: Array.from(B.value).flat(),
29460
- excludedTypes: Array.from(w.value).flat()
29461
- }), D.value = Array.from(N.value).join(", "), f.value = D.value)) : (_.value.add(L), ae(L, {
29464
+ excludedTypes: Array.from($.value).flat()
29465
+ }), D.value = Array.from(N.value).join(", "), f.value = D.value)) : (_.value.add(L), se(L, {
29462
29466
  includeTypes: !0,
29463
29467
  excludeTypes: !0
29464
- }), ne(), oe({
29468
+ }), oe(), me({
29465
29469
  includedTypes: Array.from(B.value).flat(),
29466
- excludedTypes: Array.from(w.value).flat()
29470
+ excludedTypes: Array.from($.value).flat()
29467
29471
  }), N.value.add(
29468
- Z(_.value, L).value
29472
+ te(_.value, L).value
29469
29473
  ), D.value = Array.from(N.value).join(", "), f.value = D.value);
29470
29474
  }
29471
- async function oe({
29475
+ async function me({
29472
29476
  includedTypes: L = [],
29473
- excludedTypes: I = []
29477
+ excludedTypes: M = []
29474
29478
  } = {}) {
29475
- ce(), me(), X += 1;
29476
- const P = X;
29477
- F.filterUsesCount += 1, T.value = "nearby";
29478
- const q = r.getBounds(), j = q.getNorthEast(), U = q.getSouthWest(), J = google.maps.geometry.spherical.computeDistanceBetween(j, U), ee = Math.min(J / 2, 25e3);
29479
- d.includedTypes = L, d.excludedTypes = I ?? [], d.maxResultCount = NUMBER_OF_RESULTS, d.locationRestriction = {
29479
+ ce(), fe(), G += 1;
29480
+ const P = G;
29481
+ w.filterUsesCount += 1, T.value = "nearby";
29482
+ const q = r.getBounds(), j = q.getNorthEast(), U = q.getSouthWest(), X = google.maps.geometry.spherical.computeDistanceBetween(j, U), ee = Math.min(X / 2, 25e3);
29483
+ d.includedTypes = L, d.excludedTypes = M ?? [], d.maxResultCount = NUMBER_OF_RESULTS, d.locationRestriction = {
29480
29484
  center: r.getCenter(),
29481
29485
  radius: ee
29482
29486
  }, i.style.display = "block", i.addEventListener("gmp-load", () => {
29483
- if (P !== X) return;
29484
- he(P);
29485
- let te = "main", pe = b.value;
29486
- _.value.size && (te = "sub", pe = Array.from(_.value).join(", ")), n.createDataLayerObject("googleMapFilterEvent", {
29487
- filter_type: te,
29487
+ if (P !== G) return;
29488
+ ge(P);
29489
+ let ae = "main", _e = b.value;
29490
+ _.value.size && (ae = "sub", _e = Array.from(_.value).join(", ")), n.createDataLayerObject("googleMapFilterEvent", {
29491
+ filter_type: ae,
29488
29492
  search_map_location: r.getCenter().toString(),
29489
- filter_selection: pe,
29493
+ filter_selection: _e,
29490
29494
  results_count: i.places.length,
29491
- filter_usage_index: F.filterUsesCount
29492
- }), fe("map_filter");
29495
+ filter_usage_index: w.filterUsesCount
29496
+ }), he("map_filter");
29493
29497
  }, {
29494
29498
  once: !0
29495
29499
  });
29496
29500
  }
29497
- async function ie() {
29498
- ce(), de(), X += 1;
29499
- const L = X;
29500
- F.searchesCount += 1, T.value = "text", D.value = f.value.trim(), D.value && (c.textQuery = `${D.value} in Scotland`, c.locationRestriction = r.getBounds(), c.maxResultCount = NUMBER_OF_RESULTS, l.style.display = "block", l.addEventListener("gmp-load", () => {
29501
- L === X && (he(L), n.createDataLayerObject("googleMapSearchEvent", {
29501
+ async function pe() {
29502
+ ce(), de(), G += 1;
29503
+ const L = G;
29504
+ w.searchesCount += 1, T.value = "text", D.value = f.value.trim(), D.value && (H.value ? (c.locationBias = null, c.locationRestriction = r.getBounds()) : (c.locationRestriction = null, c.locationBias = r.getCenter()), c.includedType = z.value.some(
29505
+ (M) => D.value.toLowerCase().includes(M)
29506
+ ) ? "lodging" : null, c.textQuery = `${D.value} in Scotland`, c.maxResultCount = NUMBER_OF_RESULTS, l.style.display = "block", l.addEventListener("gmp-load", () => {
29507
+ L === G && (ge(L), H.value = !1, n.createDataLayerObject("googleMapSearchEvent", {
29502
29508
  search_query: D.value,
29503
29509
  search_map_location: r.getCenter().toString(),
29504
29510
  search_results_count: l.places.length,
29505
- search_usage_index: F.searchesCount
29506
- }), fe("map_search"));
29511
+ search_usage_index: w.searchesCount
29512
+ }), he("map_search"));
29507
29513
  }, {
29508
29514
  once: !0
29509
29515
  }));
29510
29516
  }
29511
- async function he(L) {
29512
- const { AdvancedMarkerElement: I } = await importLibrary("marker"), { LatLngBounds: P } = await importLibrary("core");
29513
- if (L !== X) return;
29517
+ async function ge(L) {
29518
+ const { AdvancedMarkerElement: M } = await importLibrary("marker"), { LatLngBounds: P } = await importLibrary("core");
29519
+ if (L !== G) return;
29514
29520
  const q = ref();
29515
- T.value === "nearby" ? q.value = i : T.value === "text" ? q.value = l : console.error("Unrecognised Search type"), q.value.places.length === 0 ? (z.value = !0, q.value.style.display = "none") : (z.value = !1, q.value.style.display = "block");
29521
+ T.value === "nearby" ? q.value = i : T.value === "text" ? q.value = l : console.error("Unrecognised Search type"), q.value.places.length === 0 ? (I.value = !0, q.value.style.display = "none") : (I.value = !1, q.value.style.display = "block");
29516
29522
  const j = new P();
29517
29523
  q.value.places && q.value.places.forEach((U) => {
29518
- const J = document.createElement("div");
29519
- J.classList.add("vs-map-marker");
29524
+ const X = document.createElement("div");
29525
+ X.classList.add("vs-map-marker");
29520
29526
  const ee = document.createElement("i");
29521
- ee.classList.add("fa-solid", "fa-location-dot"), J.appendChild(ee);
29522
- const te = new I({
29527
+ ee.classList.add("fa-solid", "fa-location-dot"), X.appendChild(ee);
29528
+ const ae = new M({
29523
29529
  map: r,
29524
29530
  position: U.location,
29525
- content: J,
29531
+ content: X,
29526
29532
  title: "Map pin"
29527
29533
  });
29528
- te.addEventListener("gmp-placeclick", () => {
29534
+ ae.addEventListener("gmp-placeclick", () => {
29529
29535
  ue(U);
29530
- }), te.addListener("click", () => {
29536
+ }), ae.addListener("click", () => {
29531
29537
  ue(U);
29532
- }), te.metadata = {
29538
+ }), ae.metadata = {
29533
29539
  id: U.id
29534
- }, g[U.id] = te, j.extend(U.location), q.value.places.length === 1 ? (r.setCenter(
29540
+ }, g[U.id] = ae, j.extend(U.location), q.value.places.length === 1 ? (r.setCenter(
29535
29541
  {
29536
29542
  lat: U.location.lat(),
29537
29543
  lng: U.location.lng()
@@ -29539,22 +29545,22 @@ const _hoisted_1 = { class: "vs-map" }, _hoisted_2 = { class: "vs-map__controls"
29539
29545
  ), r.setZoom(14), r.fitBounds(U.viewport)) : (r.setCenter(j.getCenter()), r.fitBounds(j));
29540
29546
  });
29541
29547
  }
29542
- function ce(L, I) {
29543
- ge(), T.value = "", i.style.display = "none", l.style.display = "none", c.textQuery = null, E.value = !1, p && p.close && p.close(), z.value = void 0, L && (me(), de(), le("clear_all")), I && (r.setCenter(t.center), r.setZoom(t.zoom), r.fitBounds(A), le("reset_map"));
29548
+ function ce(L, M) {
29549
+ ve(), T.value = "", i.style.display = "none", l.style.display = "none", c.textQuery = null, E.value = !1, p && p.close && p.close(), I.value = void 0, L && (fe(), de(), ie("clear_all")), M && (r.setCenter(t.center), r.setZoom(t.zoom), r.fitBounds(W), ie("reset_map"));
29544
29550
  }
29545
- function me() {
29551
+ function fe() {
29546
29552
  D.value = null, f.value = "";
29547
29553
  }
29548
29554
  function de() {
29549
- b.value = void 0, _.value = /* @__PURE__ */ new Set(), V.value = /* @__PURE__ */ new Set(), S.value = /* @__PURE__ */ new Set(), B.value = /* @__PURE__ */ new Set(), w.value = /* @__PURE__ */ new Set(), N.value = /* @__PURE__ */ new Set(), C.value = void 0, O.value = void 0;
29555
+ b.value = void 0, _.value = /* @__PURE__ */ new Set(), V.value = /* @__PURE__ */ new Set(), S.value = /* @__PURE__ */ new Set(), B.value = /* @__PURE__ */ new Set(), $.value = /* @__PURE__ */ new Set(), N.value = /* @__PURE__ */ new Set(), C.value = void 0, O.value = void 0;
29550
29556
  }
29551
- function ge() {
29557
+ function ve() {
29552
29558
  for (const L in g)
29553
29559
  g[L] && (g[L].map = null);
29554
29560
  g = {};
29555
29561
  }
29556
29562
  function ue(L) {
29557
- p.isOpen && (p.close(), le("card_close", m.place)), m.place = L, window.innerWidth <= 768 ? (u.style.width = "85vw", u.style.height = "32em", F.sidebarOpen = !1) : (u.style.width = "20em", u.style.height = "32em"), u.style.display = "block", u.style.overflowY = "auto", u.style.overflowX = "hidden", u.style.boxSizing = "border-box", u.style.maxHeight = "32em", p.setOptions({
29563
+ p.isOpen && (p.close(), ie("card_close", m.place)), m.place = L, window.innerWidth <= 768 ? (u.style.width = "85vw", u.style.height = "32em", w.sidebarOpen = !1) : (u.style.width = "20em", u.style.height = "32em"), u.style.display = "block", u.style.overflowY = "auto", u.style.overflowX = "hidden", u.style.boxSizing = "border-box", u.style.maxHeight = "32em", p.setOptions({
29558
29564
  content: u,
29559
29565
  maxWidth: "25em",
29560
29566
  position: L.location,
@@ -29563,19 +29569,19 @@ const _hoisted_1 = { class: "vs-map" }, _hoisted_2 = { class: "vs-map__controls"
29563
29569
  }), p.open({
29564
29570
  map: r
29565
29571
  }), google.maps.event.addListenerOnce(r, "idle", () => {
29566
- r.getZoom() > MAX_ZOOM && r.setZoom(MAX_ZOOM), le("card_open", L);
29572
+ r.getZoom() > MAX_ZOOM && r.setZoom(MAX_ZOOM), ie("card_open", L);
29567
29573
  }), r.setCenter(L.location);
29568
29574
  }
29569
- async function le(L, I) {
29575
+ async function ie(L, M) {
29570
29576
  let P = "", q = "", j = "", U = "";
29571
- I && (await I.fetchFields({
29577
+ M && (await M.fetchFields({
29572
29578
  fields: [
29573
29579
  "displayName",
29574
29580
  "primaryType",
29575
29581
  "rating",
29576
29582
  "websiteURI"
29577
29583
  ]
29578
- }), P = I.displayName, q = I.rating, j = I.websiteURI, U = I.primaryType), n.createDataLayerObject("googleMapInteractionEvent", {
29584
+ }), P = M.displayName, q = M.rating, j = M.websiteURI, U = M.primaryType), n.createDataLayerObject("googleMapInteractionEvent", {
29579
29585
  interaction_type: L,
29580
29586
  search_query: f.value.trim(),
29581
29587
  map_location: r.getCenter().toString(),
@@ -29585,28 +29591,28 @@ const _hoisted_1 = { class: "vs-map" }, _hoisted_2 = { class: "vs-map__controls"
29585
29591
  card_attraction_rating: q,
29586
29592
  card_attraction_url: j,
29587
29593
  interaction_timestamp_ms: Date.now()
29588
- }), fe(L);
29594
+ }), he(L);
29589
29595
  }
29590
- function fe(L) {
29591
- if (!F.firstInteraction) {
29592
- const P = Date.now() - F.timeMounted;
29596
+ function he(L) {
29597
+ if (!w.firstInteraction) {
29598
+ const P = Date.now() - w.timeMounted;
29593
29599
  n.createDataLayerObject("googleMapTimeToFirstInteractionEvent", {
29594
29600
  time_to_first_interaction_ms: P,
29595
29601
  first_interaction_type: L
29596
- }), F.firstInteraction = !0;
29602
+ }), w.firstInteraction = !0;
29597
29603
  }
29598
29604
  }
29599
- function _e() {
29605
+ function ye() {
29600
29606
  const L = r.getBounds();
29601
29607
  if (!L) return 0;
29602
- let I = 0;
29608
+ let M = 0;
29603
29609
  for (let P = 0; P < Object.keys(g).length; P++) {
29604
29610
  const j = g[Object.keys(g)[P]].position;
29605
- L.contains(j) && (I += 1);
29611
+ L.contains(j) && (M += 1);
29606
29612
  }
29607
- return I;
29613
+ return M;
29608
29614
  }
29609
- function ve(L) {
29615
+ function be(L) {
29610
29616
  r.fitBounds(
29611
29617
  // eslint-disable-next-line no-undef
29612
29618
  new google.maps.LatLngBounds(
@@ -29627,11 +29633,11 @@ const _hoisted_1 = { class: "vs-map" }, _hoisted_2 = { class: "vs-map__controls"
29627
29633
  L.properties.locationCentre.latitude,
29628
29634
  L.properties.locationCentre.longitude
29629
29635
  )
29630
- ), Y("things-to-do", 2), E.value = !0;
29636
+ ), ne("things-to-do", 2), E.value = !0;
29631
29637
  }
29632
- return (L, I) => (openBlock(), createElementBlock("div", _hoisted_1, [
29638
+ return (L, M) => (openBlock(), createElementBlock("div", _hoisted_1, [
29633
29639
  createElementVNode("div", {
29634
- class: normalizeClass(["vs-map__container", unref($) ? "d-none" : ""])
29640
+ class: normalizeClass(["vs-map__container", unref(A) ? "d-none" : ""])
29635
29641
  }, [
29636
29642
  createElementVNode("div", _hoisted_2, [
29637
29643
  createVNode(_sfc_main$1, {
@@ -29646,22 +29652,22 @@ const _hoisted_1 = { class: "vs-map" }, _hoisted_2 = { class: "vs-map__controls"
29646
29652
  "sub-filter-header-label": t.labels.subFilterHeader,
29647
29653
  "search-results-label": t.labels.searchResults,
29648
29654
  "open-sidebar-button-label": t.labels.openSidebarButton,
29649
- onSearchInputChanged: ie,
29650
- onResetMap: I[1] || (I[1] = (P) => ce(!0))
29655
+ onSearchInputChanged: pe,
29656
+ onResetMap: M[1] || (M[1] = (P) => ce(!0))
29651
29657
  }, createSlots({
29652
29658
  "vs-map-sidebar-search-results": withCtx(() => [
29653
- z.value || t.alertText && z.value === !1 ? (openBlock(), createBlock(unref(VsAlert), {
29659
+ I.value || t.alertText && I.value === !1 ? (openBlock(), createBlock(unref(VsAlert), {
29654
29660
  key: 0,
29655
29661
  class: "mt-075 mb-150",
29656
29662
  id: "vs-map__alert",
29657
29663
  size: "small"
29658
29664
  }, {
29659
29665
  default: withCtx(() => [
29660
- z.value ? (openBlock(), createElementBlock("span", _hoisted_4, [
29666
+ I.value ? (openBlock(), createElementBlock("span", _hoisted_4, [
29661
29667
  createTextVNode(toDisplayString(e.noResultsMessage) + " ", 1),
29662
29668
  createElementVNode("a", {
29663
29669
  href: "#",
29664
- onClick: I[0] || (I[0] = withModifiers((P) => ce(!0, !0), ["prevent"]))
29670
+ onClick: M[0] || (M[0] = withModifiers((P) => ce(!0, !0), ["prevent"]))
29665
29671
  }, toDisplayString(e.resetMapNoResultsMessage), 1)
29666
29672
  ])) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
29667
29673
  createTextVNode(toDisplayString(e.alertText), 1)
@@ -29670,7 +29676,7 @@ const _hoisted_1 = { class: "vs-map" }, _hoisted_2 = { class: "vs-map__controls"
29670
29676
  _: 1
29671
29677
  })) : createCommentVNode("", !0),
29672
29678
  (openBlock(), createBlock(Suspense, null, {
29673
- default: withCtx(() => [...I[2] || (I[2] = [
29679
+ default: withCtx(() => [...M[2] || (M[2] = [
29674
29680
  createElementVNode("div", { id: "search-container" }, [
29675
29681
  createElementVNode("gmp-place-search", {
29676
29682
  id: "nearbySearch",
@@ -29725,11 +29731,11 @@ const _hoisted_1 = { class: "vs-map" }, _hoisted_2 = { class: "vs-map__controls"
29725
29731
  name: "vs-map-sidebar-sub-filters",
29726
29732
  fn: withCtx(() => [
29727
29733
  createElementVNode("div", _hoisted_3, [
29728
- (openBlock(!0), createElementBlock(Fragment, null, renderList(unref(G)[C.value].subCategory, (P, q) => (openBlock(), createBlock(unref(VsButton), {
29734
+ (openBlock(!0), createElementBlock(Fragment, null, renderList(unref(Q)[C.value].subCategory, (P, q) => (openBlock(), createBlock(unref(VsButton), {
29729
29735
  key: q,
29730
29736
  variant: _.value.has(P.id) ? "primary" : "secondary",
29731
29737
  size: "sm",
29732
- onClick: (j) => se(P.id, q)
29738
+ onClick: (j) => le(P.id, q)
29733
29739
  }, {
29734
29740
  default: withCtx(() => [
29735
29741
  createTextVNode(toDisplayString(P.label), 1)
@@ -29741,14 +29747,14 @@ const _hoisted_1 = { class: "vs-map" }, _hoisted_2 = { class: "vs-map__controls"
29741
29747
  key: "0"
29742
29748
  } : void 0
29743
29749
  ]), 1032, ["query", "selected-categories", "header-label", "close-sidebar-button-label", "search-bar-aria-label", "input-placeholder-label", "search-button-label", "clear-map-label", "sub-filter-header-label", "search-results-label", "open-sidebar-button-label"]),
29744
- (R.value >= CATEGORY_VISIBLE_ZOOM || E.value) && unref(F).sidebarOpen && Object.keys(unref(W)).length > 0 ? (openBlock(), createElementBlock("div", _hoisted_5, [
29745
- (openBlock(!0), createElementBlock(Fragment, null, renderList(unref(G), (P, q) => (openBlock(), createElementBlock(Fragment, { key: q }, [
29750
+ (R.value >= CATEGORY_VISIBLE_ZOOM || E.value) && unref(w).sidebarOpen && Object.keys(unref(Z)).length > 0 ? (openBlock(), createElementBlock("div", _hoisted_5, [
29751
+ (openBlock(!0), createElementBlock(Fragment, null, renderList(unref(Q), (P, q) => (openBlock(), createElementBlock(Fragment, { key: q }, [
29746
29752
  P.cmsData ? createCommentVNode("", !0) : (openBlock(), createBlock(unref(VsButton), {
29747
29753
  key: 0,
29748
29754
  class: "vs-map__filter-controls-button",
29749
29755
  variant: b.value === P.id ? "primary" : "secondary",
29750
- onClick: withModifiers((j) => Y(P.id, q), ["prevent"]),
29751
- icon: Object.values(unref(W))[q].icon
29756
+ onClick: withModifiers((j) => ne(P.id, q), ["prevent"]),
29757
+ icon: Object.values(unref(Z))[q].icon
29752
29758
  }, {
29753
29759
  default: withCtx(() => [
29754
29760
  createTextVNode(toDisplayString(P.label), 1)
@@ -29761,7 +29767,7 @@ const _hoisted_1 = { class: "vs-map" }, _hoisted_2 = { class: "vs-map__controls"
29761
29767
  createElementVNode("div", _hoisted_6, [
29762
29768
  createElementVNode("div", _hoisted_7, null, 512),
29763
29769
  (openBlock(), createBlock(Suspense, null, {
29764
- default: withCtx(() => [...I[3] || (I[3] = [
29770
+ default: withCtx(() => [...M[3] || (M[3] = [
29765
29771
  createElementVNode("div", { id: "detail-container" }, [
29766
29772
  createElementVNode("gmp-place-details", {
29767
29773
  id: "placeDetails",
@@ -29794,10 +29800,10 @@ const _hoisted_1 = { class: "vs-map" }, _hoisted_2 = { class: "vs-map__controls"
29794
29800
  }))
29795
29801
  ])
29796
29802
  ], 2),
29797
- unref($) && M.value === "noCookie" ? (openBlock(), createBlock(unref(VsWarning), {
29803
+ unref(A) && Y.value === "noCookie" ? (openBlock(), createBlock(unref(VsWarning), {
29798
29804
  key: 0,
29799
29805
  type: "cookie",
29800
- class: normalizeClass(["vs-map__error vs-map__error--no-cookies", unref($) ? "d-block" : "d-none"]),
29806
+ class: normalizeClass(["vs-map__error vs-map__error--no-cookies", unref(A) ? "d-block" : "d-none"]),
29801
29807
  "data-test": "vs-map__warning--no-cookies"
29802
29808
  }, {
29803
29809
  "button-text": withCtx(() => [
@@ -29837,7 +29843,7 @@ export {
29837
29843
  Breadcrumb as VsBreadcrumb,
29838
29844
  BreadcrumbItem as VsBreadcrumbItem,
29839
29845
  VsButton,
29840
- Se as VsButtonToggleGroup,
29846
+ xe as VsButtonToggleGroup,
29841
29847
  CannedSearch as VsCannedSearch,
29842
29848
  Caption as VsCaption,
29843
29849
  CarbonCalculator as VsCarbonCalculator,