PageSourceSearch

https://www.sogeti.ie/wp-content/themes/sogeti2024/public/dist/dmlm-toggle.build.js

js sogeti.ie collected 2026-10-04 13:31:41 UTC 2,826 bytes, 2 lines download raw bytes

1(self.webpackChunksogeti=self.webpackChunksogeti||[]).push([[156],{196(){!function(){const e="data-cg-theme",t="data-bs-theme",n=/(tmap|academy|labs)/i,o=/(?:^|\.)(?:sogeti\.(?:nl|de|es|uk|se|ie|lu|no|be|fi)|fr\.sogeti\.com)$/i;function c(e){const t=(e||"").toLowerCase();return n.test(t)||o.test(t)}function r(n){const o=document.documentElement;o.setAttribute(e,n),o.setAttribute(t,n),document.body&&(document.body.classList.toggle("dark-theme","dark"===n),document.body.classList.toggle("light-theme","light"===n))}const a=function(){const e=function(){if(-1===location.search.indexOf("mode="))return null;let e=new URLSearchParams(location.search).get("mode");return"string"==typeof e&&(e=e.replace(/[^a-z]/gi,"").toLowerCase(),"dark"===e||"light"===e)?e:null}();if(e)return e;return function(){try{const e=document.cookie.match(/(?:^|; )cg-user-prefer-color-scheme=([^;]+)/);if(!e)return null;const t=decodeURIComponent(e[1]).replace(/[^a-z]/gi,"").toLowerCase();return"dark"===t||"light"===t?t:null}catch(e){return null}}()||(c((location.hostname||"").toLowerCase())?"light":"dark")}();var d;r(a),d=function(){if(c(location.hostname||""))return document.body.classList.add("not-dmlm"),void document.querySelectorAll(".header-dmlm-wrapper.toggle-container").forEach(function(e){e.style.display="none",e.setAttribute("aria-hidden","true")});const n=document.getElementById("darkModeCheckboxDesktop"),o=document.getElementById("darkModeCheckboxMobile");function d(e){n&&(n.checked="dark"===e),o&&(o.checked="dark"===e)}function u(e){const t="Dark and light mode toggle, currently "+e+" mode",c=document.getElementById("modeStatus"),r=document.getElementById("modeStatusMobile");c&&(c.textContent=t),r&&(r.textContent=t),n&&n.setAttribute("aria-checked","dark"===e?"true":"false"),o&&o.setAttribute("aria-checked","dark"===e?"true":"false")}function i(e){const t=e.target.checked?"dark":"light";r(t),function(e){try{const t=new Date;t.setFullYear(t.getFullYear()+1);const n="https:"===location.protocol?";Secure":"";document.cookie="cg-user-prefer-color-scheme="+encodeURIComponent(e)+";path=/;expires="+t.toUTCString()+";SameSite=Lax"+n}catch(e){}}(t),u(t),function(e){const t="Currently "+e+" mode",n=document.getElementById("darkModeStatusDesktop")||document.getElementById("darkModeStatusMobile");n&&(n.textContent=t,setTimeout(function(){n.textContent=""},1500))}(t)}new MutationObserver(function(n){n.forEach(function(n){if(n.attributeName===e||n.attributeName===t){const t=document.documentElement.getAttribute(e);d(t),u(t)}})}).observe(document.documentElement,{attributes:!0,attributeFilter:[e,t]}),d(a),u(a),n&&n.addEventListener("change",i),o&&o.addEventListener("change",i)},"loading"!==document.readyState?d():document.addEventListener("DOMContentLoaded",d)}()}}]);
2//# sourceMappingURL=dmlm-toggle.build.js.map

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.