@visitscotland/component-library 5.4.3 → 5.5.1
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 +10 -10
- package/dist/client/scripts/{27ab6c3556b3564d9b2c.js → 997f5afdf3ec826f2625.js} +1 -1
- package/dist/components/vs-component-library.js +1 -1
- package/dist/components/vs-component-library.mjs +10 -5
- package/dist/ssr/index.js +1 -1
- package/dist/ssr/manifest.json +1 -1
- package/package.json +1 -1
- /package/dist/ssr/styles/{2c85ef55e2ed7ce5a414.css → cb0593fdc0a90f865cd5.css} +0 -0
|
@@ -10855,12 +10855,17 @@ const CardGroup = /* @__PURE__ */ _export_sfc(_sfc_main$1F, [["render", _sfc_ren
|
|
|
10855
10855
|
}
|
|
10856
10856
|
},
|
|
10857
10857
|
mounted() {
|
|
10858
|
-
if (!window.dataLayerExtended
|
|
10859
|
-
|
|
10860
|
-
window.dataLayer
|
|
10861
|
-
|
|
10858
|
+
if (!window.dataLayerExtended) {
|
|
10859
|
+
let e = !1;
|
|
10860
|
+
window.dataLayer || (e = !0, window.dataLayer = {
|
|
10861
|
+
push: () => {
|
|
10862
|
+
}
|
|
10863
|
+
});
|
|
10864
|
+
const n = window.dataLayer.push;
|
|
10865
|
+
window.dataLayer.push = (t) => {
|
|
10866
|
+
e || (t ? n(t) : n()), t && t.event === "cookie_permission_loaded" && setTimeout(() => {
|
|
10862
10867
|
window.dispatchEvent(new Event("cookieManagerLoaded"));
|
|
10863
|
-
}),
|
|
10868
|
+
}), t && t.event === "cookie_permission_changed" && setTimeout(() => {
|
|
10864
10869
|
window.dispatchEvent(new Event("cookiesUpdated"));
|
|
10865
10870
|
});
|
|
10866
10871
|
}, window.dataLayerExtended = !0;
|