@visitscotland/component-library 5.5.1 → 5.5.2
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/{997f5afdf3ec826f2625.js → 5b29d723f85256ca7cf7.js} +1 -1
- package/dist/components/vs-component-library.js +1 -1
- package/dist/components/vs-component-library.mjs +5 -10
- package/dist/ssr/index.js +1 -1
- package/dist/ssr/manifest.json +1 -1
- package/package.json +1 -1
- /package/dist/ssr/styles/{cb0593fdc0a90f865cd5.css → 07daf122352a40cf311c.css} +0 -0
|
@@ -10855,17 +10855,12 @@ 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
|
-
|
|
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(() => {
|
|
10858
|
+
if (!window.dataLayerExtended && window.dataLayer) {
|
|
10859
|
+
const e = window.dataLayer.push;
|
|
10860
|
+
window.dataLayer.push = (n) => {
|
|
10861
|
+
skipOriginalPush || (n ? e(n) : e()), n && n.event === "cookie_permission_loaded" && setTimeout(() => {
|
|
10867
10862
|
window.dispatchEvent(new Event("cookieManagerLoaded"));
|
|
10868
|
-
}),
|
|
10863
|
+
}), n && n.event === "cookie_permission_changed" && setTimeout(() => {
|
|
10869
10864
|
window.dispatchEvent(new Event("cookiesUpdated"));
|
|
10870
10865
|
});
|
|
10871
10866
|
}, window.dataLayerExtended = !0;
|