PageSourceSearch

https://www.schloks.com/_next/static/chunks/app/layout-51d201a1c5c…?dpl=dpl_8Zm6gA3LSfddCXASa5FRPwLwyTce

js schloks.com collected 2026-10-06 13:49:27 UTC 11,311 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7177],{13754:(e,n,t)=>{"use strict";t.d(n,{CookieConsentProvider:()=>g,CookiePreferencesButton:()=>x,u:()=>b});var r=t(26610),o=t(56471),a=t(70860),s=t(93689),i=t(72513),c=t(56075),l=t(39876),d=t(95368),u="marketing-site-cookie-consent",f={preferences:!1,analytics:!1,marketing:!1},m=(0,d.createContext)(null);function p(e){return{necessary:!0,preferences:e.preferences,analytics:e.analytics,marketing:e.marketing,respondedAt:new Date().toISOString()}}function v(){var e=(0,d.useContext)(m);return(null==e?void 0:e.hasHydrated)&&!e.consent?(0,l.jsxs)("div",{role:"dialog","aria-label":"Cookie consent",className:"fixed bottom-0 left-0 right-0 z-50 border-t border-[rgba(4,56,67,0.15)] bg-[#F9F0DB] px-4 py-4 shadow-lg sm:bottom-4 sm:left-4 sm:right-auto sm:max-w-sm sm:rounded-lg sm:border",style:{fontFamily:"'Poppins', sans-serif"},children:[(0,l.jsx)("p",{className:"text-sm text-[#043843] leading-relaxed",children:"We use cookies to improve your experience and analyze site traffic."}),(0,l.jsxs)("div",{className:"mt-3 flex flex-wrap items-center gap-2",children:[(0,l.jsx)("button",{onClick:e.acceptAll,className:"rounded bg-[#043843] px-4 py-2 text-sm font-semibold text-[#F9F0DB] transition-opacity hover:opacity-90",children:"Accept All"}),(0,l.jsx)("button",{onClick:e.declineAll,className:"rounded border border-[#043843] px-4 py-2 text-sm font-semibold text-[#043843] transition-opacity hover:opacity-90",children:"Necessary Only"}),(0,l.jsx)("button",{onClick:e.openPreferences,className:"px-2 py-2 text-sm text-[#043843] underline underline-offset-2 transition-opacity hover:opacity-70",children:"Manage Preferences"})]})]}):null}function h(){var e=(0,d.useContext)(m),n=(0,d.useId)(),t=(0,d.useId)(),c=(0,i._)((0,d.useState)(f),2),u=c[0],p=c[1],v=(0,d.useRef)(null),h=(0,d.useRef)(null),g=(0,d.useRef)(null);if((0,d.useEffect)(function(){if(null==e?void 0:e.isModalOpen){var n;p((n=e.consent)?{preferences:n.preferences,analytics:n.analytics,marketing:n.marketing}:f)}},[null==e?void 0:e.consent,null==e?void 0:e.isModalOpen]),(0,d.useEffect)(function(){var n,t=function(e){if("Escape"===e.key)return void a();if("Tab"===e.key){var n,t=(n=v.current)?Array.from(n.querySelectorAll('button:not([disabled]), [href], input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex="-1"])')):[];if(0===t.length)return void e.preventDefault();var r=t[0],o=t[t.length-1],s=document.activeElement;e.shiftKey||s!==o?e.shiftKey&&s===r&&(e.preventDefault(),o.focus()):(e.preventDefault(),r.focus())}};if(null==e?void 0:e.isModalOpen){g.current=(0,o._)(document.activeElement,HTMLElement)?document.activeElement:null;var r=document.body.style.overflow;document.body.style.overflow="hidden",null==(n=h.current)||n.focus();var a=e.closePreferences;return window.addEventListener("keydown",t),function(){var e;document.body.style.overflow=r,null==(e=g.current)||e.focus(),window.removeEventListener("keydown",t)}}},[null==e?void 0:e.isModalOpen,null==e?void 0:e.closePreferences]),!(null==e?void 0:e.isModalOpen))return null;function x(e){p(function(n){return(0,s._)((0,a._)({},n),(0,r._)({},e,!n[e]))})}return(0,l.jsx)("div",{className:"fixed inset-0 z-50 flex items-end justify-center bg-[var(--color-overlay)] p-4 md:items-center",children:(0,l.jsxs)("div",{role:"dialog","aria-modal":"true","aria-labelledby":n,"aria-describedby":t,ref:v,className:"w-full max-w-2xl rounded-[2rem] border border-[var(--color-border)] bg-[var(--color-surface-strong)] p-6 shadow-[0_28px_80px_rgba(26,20,15,0.24)]",children:[(0,l.jsxs)("div",{className:"flex items-start justify-between gap-6",children:[(0,l.jsxs)("div",{children:[(0,l.jsx)("h2",{id:n,className:"text-2xl font-semibold tracking-tight text-[var(--color-foreground)]",children:"Cookie preferences"}),(0,l.jsx)("p",{id:t,className:"mt-2 max-w-xl text-sm leading-6 text-[var(--color-muted)]",children:"Choose which optional cookies this site may use. Necessary cookies stay on because they are required for core site functionality."})]}),(0,l.jsx)("button",{type:"button",onClick:e.closePreferences,ref:h,className:"rounded-full border border-[var(--color-border)] px-3 py-1.5 text-sm font-medium text-[var(--color-muted)] transition hover:bg-black/5 hover:text-[var(--color-foreground)]","aria-label":"Close cookie preferences",children:"Close"})]}),(0,l.jsxs)("div",{className:"mt-6 space-y-3",children:[(0,l.jsx)(y,{title:"Str
1ictly necessary",description:"Required for security, consent storage, and core website behavior.",checked:!0,disabled:!0}),(0,l.jsx)(y,{title:"Preferences",description:"Remember choices such as region, ordering preferences, or other saved site settings.",checked:u.preferences,onChange:function(){return x("preferences")}}),(0,l.jsx)(y,{title:"Analytics",description:"Help us understand site usage so future versions can improve performance and content.",checked:u.analytics,onChange:function(){return x("analytics")}}),(0,l.jsx)(y,{title:"Marketing",description:"Allow campaign attribution, remarketing, or advertising tools if they are added later.",checked:u.marketing,onChange:function(){return x("marketing")}})]}),(0,l.jsxs)("div",{className:"mt-6 flex flex-wrap gap-2",children:[(0,l.jsx)("button",{type:"button",onClick:function(){return e.savePreferences(u)},className:"rounded-full bg-[var(--color-accent)] px-4 py-2 font-medium text-[var(--color-accent-foreground)] transition hover:brightness-105",children:"Save preferences"}),(0,l.jsx)("button",{type:"button",onClick:e.acceptAll,className:"rounded-full border border-[var(--color-border-strong)] px-4 py-2 font-medium text-[var(--color-foreground)] transition hover:bg-black/5",children:"Accept all"}),(0,l.jsx)("button",{type:"button",onClick:e.declineAll,className:"rounded-full px-4 py-2 font-medium text-[var(--color-muted)] underline decoration-[var(--color-border-strong)] underline-offset-4 transition hover:text-[var(--color-foreground)]",children:"Necessary only"})]})]})})}function y(e){var n=e.title,t=e.description,r=e.checked,o=e.disabled,a=e.onChange;return(0,l.jsxs)("label",{className:"flex items-start justify-between gap-4 rounded-3xl border border-[var(--color-border)] bg-white/50 px-4 py-4",children:[(0,l.jsxs)("div",{className:"pr-2",children:[(0,l.jsx)("p",{className:"font-medium text-[var(--color-foreground)]",children:n}),(0,l.jsx)("p",{className:"mt-1 text-sm leading-6 text-[var(--color-muted)]",children:t})]}),(0,l.jsxs)("span",{className:"relative mt-1 inline-flex items-center",children:[(0,l.jsx)("input",{type:"checkbox",className:"peer sr-only",checked:r,disabled:void 0!==o&&o,onChange:a}),(0,l.jsx)("span",{className:"h-7 w-12 rounded-full bg-[color:var(--color-border-strong)] transition peer-checked:bg-[var(--color-accent)] peer-disabled:opacity-70"}),(0,l.jsx)("span",{className:"pointer-events-none absolute left-1 h-5 w-5 rounded-full bg-white transition peer-checked:translate-x-5"})]})]})}function g(e){var n=e.children,t=(0,i._)((0,d.useState)(null),2),r=t[0],o=t[1],a=(0,i._)((0,d.useState)(!1),2),s=a[0],y=a[1],g=(0,i._)((0,d.useState)(!1),2),x=g[0],b=g[1];function w(e){if("undefined"!=typeof document){var n=JSON.stringify(e);try{window.localStorage.setItem(u,n)}catch(e){}document.cookie="".concat(u,"=").concat(encodeURIComponent(n),"; path=/; max-age=").concat(15552e3,"; SameSite=Lax"),window.dispatchEvent(new Event("open:cookie-consent-change"))}o(e),b(!1)}return(0,d.useEffect)(function(){o(function(){var e=function(){if("undefined"==typeof document)return null;var e=document.cookie.split("; ").find(function(e){return e.startsWith("".concat(u,"="))});if(!e)return null;try{var n,t=decodeURIComponent(e.split("=").slice(1).join("="));return(n=JSON.parse(t))&&(void 0===n?"undefined":(0,c._)(n))==="object"?"boolean"!=typeof n.preferences||"boolean"!=typeof n.analytics||"boolean"!=typeof n.marketing||"string"!=typeof n.respondedAt?null:{necessary:!0,preferences:n.preferences,analytics:n.analytics,marketing:n.marketing,respondedAt:n.respondedAt}:null}catch(e){return null}}();if(e){try{window.localStorage.setItem(u,JSON.stringify(e))}catch(e){}return e}try{window.localStorage.removeItem(u)}catch(e){}return null}()),y(!0)},[]),(0,l.jsxs)(m.Provider,{value:{consent:r,hasHydrated:s,isModalOpen:x,openPreferences:function(){return b(!0)},closePreferences:function(){return b(!1)},acceptAll:function(){w(p({preferences:!0,analytics:!0,marketing:!0}))},declineAll:function(){w(p(f))},savePreferences:function(e){w(p(e))}},children:[n,(0,l.jsx)(v,{}),(0,l.jsx)(h,{})]})}function x(){var e=(0,d.useContext)(m);if(!e)throw Error("CookiePreferencesButton must be used within CookieConsentProvider.");return(0,l.jsx)("button",{type:"button",onClick:e.openPreferences,className:"text-sm font-medium text-[var(--color-cream)] underline decoration-[var(--color-cream)]/40 underline-offset-4 transition hover:text-white",children:"Cookie preferences"})}function b(){var e=(0,d.useContext)(m);if(!e)throw Error("useCookieConsent must be used within CookieConsentProvider.");return e}},18313:e=>{e.exports={style:{fontFamily:"'Poppins', 'Poppins Fallback'",fontStyle:"normal"},className:"__className_1e35df",variable:"__variable_1e35df"}},71907:(e,n,t)=>{Promise.resolve().then(t.bind(t,13754)),Promise.resolve().then(t.bind(t,72795)),Promise.resolve().then(t.t.bind(t,18313,23)),Promise.resolve().then(t.t.bind(t,88548,23))},72795:(e,n,t)=>{"use strict";t.d(n,{TrackingScripts:()=>a});var r=t(95368),o=t(13754);
1function a(){var e=(0,o.u)().consent,n=(0,r.useRef)(!1),t=(0,r.useRef)(!1),a=(0,r.useRef)(!1),s=(0,r.useRef)(!1);return(0,r.useEffect)(function(){if(!n.current&&(null==e?void 0:e.analytics)){var t,r,o,a,s,i;n.current=!0,t=window,r=document,t[o="dataLayer"]=t[o]||[],t[o].push({"gtm.start":new Date().getTime(),event:"gtm.js"}),s=r.getElementsByTagName("script")[0],(i=r.createElement("script")).async=!0,i.src="https://www.googletagmanager.com/gtm.js?id=GTM-PC4G6DZV",null==s||null==(a=s.parentNode)||a.insertBefore(i,s)}},[null==e?void 0:e.analytics]),(0,r.useEffect)(function(){var n=function(){for(var e=arguments.length,n=Array(e),t=0;t<e;t++)n[t]=arguments[t];window.dataLayer.push(n)};if(!t.current&&(null==e?void 0:e.analytics)){t.current=!0;var r=document.createElement("script");r.async=!0,r.src="https://www.googletagmanager.com/gtag/js?id=G-4MWFH75J3G",document.head.appendChild(r),window.dataLayer=window.dataLayer||[],n("js",new Date),n("config","G-4MWFH75J3G")}},[null==e?void 0:e.analytics]),(0,r.useEffect)(function(){var n=function(){for(var e=arguments.length,n=Array(e),t=0;t<e;t++)n[t]=arguments[t];window.dataLayer.push(n)};if(!a.current&&(null==e?void 0:e.marketing)){a.current=!0;var t=document.createElement("script");t.async=!0,t.src="https://www.googletagmanager.com/gtag/js?id=AW-17479835130",document.head.appendChild(t),window.dataLayer=window.dataLayer||[],n("js",new Date),n("config","AW-17479835130")}},[null==e?void 0:e.marketing]),(0,r.useEffect)(function(){if(!s.current&&(null==e?void 0:e.marketing)){s.current=!0;var n=document.createElement("script");n.async=!0,n.src="https://snap.licdn.com/li.lms-analytics/insight.min.js",document.head.appendChild(n)}},[null==e?void 0:e.marketing]),null}},88548:()=>{}},e=>{e.O(0,[7862,5769,9374,6480,7358],()=>e(e.s=71907)),_N_E=e.O()}]);

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.