1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7177],{25044:(e,t,n)=>{"use strict";n.d(t,{Toaster:()=>u});var i=n(95155),r=n(12651),a=n(68822),s=n(41585),o=n(26620),l=n(6296),c=n(70460),d=n(66609);let u=({...e})=>{let{theme:t="system"}=(0,c.D)();return(0,i.jsx)(d.l$,{theme:t,className:"toaster group",icons:{success:(0,i.jsx)(r.A,{className:"size-4"}),info:(0,i.jsx)(a.A,{className:"size-4"}),warning:(0,i.jsx)(s.A,{className:"size-4"}),error:(0,i.jsx)(o.A,{className:"size-4"}),loading:(0,i.jsx)(l.A,{className:"size-4 animate-spin"})},style:{"--normal-bg":"var(--popover)","--normal-text":"var(--popover-foreground)","--normal-border":"var(--border)","--border-radius":"var(--radius)"},...e})}},25338:(e,t,n)=>{"use strict";n.d(t,{MotionProvider:()=>o});var i=n(95155),r=n(71833),a=n(51347),s=n(9937);function o({children:e}){return(0,i.jsx)(r.F,{features:a.l,children:(0,i.jsx)(s.x,{reducedMotion:"user",children:e})})}},28411:(e,t,n)=>{"use strict";n.d(t,{HeatmapAnalytics:()=>f});var i=n(95155),r=n(7664),a=n(65596),s=n(73321),o=n(12115),l=n(83371),c=n(25020),d=n(87358);let u=d.env.NEXT_PUBLIC_HOTJAR_ID,m=d.env.NEXT_PUBLIC_CLARITY_ID;function p(){let[e,t]=(0,o.useState)(!1);return(0,o.useEffect)(()=>{let e=requestAnimationFrame(()=>t((0,l.Yh)()?.analytics===!0&&(0,l.wY)()?.analytics===!0)),n=()=>{t((0,l.Yh)()?.analytics===!0&&(0,l.wY)()?.analytics===!0)};return window.addEventListener("consentUpdate",n),()=>{cancelAnimationFrame(e),window.removeEventListener("consentUpdate",n)}},[]),e}function v(){let e=p();return u&&e?(0,i.jsx)(a.default,{id:"hotjar",strategy:"afterInteractive",dangerouslySetInnerHTML:{__html:` 2 (function(h,o,t,j,a,r){ 3 h.hj=h.hj||function(){(h.hj.q=h.hj.q||[]).push(arguments)}; 4 h._hjSettings={hjid:${u},hjsv:6}; 5 a=o.getElementsByTagName('head')[0]; 6 r=o.createElement('script');r.async=1; 7 r.src=t+h._hjSettings.hjid+j+h._hjSettings.hjsv; 8 a.appendChild(r); 9 })(window,document,'https://static.hotjar.com/c/hotjar-','.js?sv='); 10 `}}):null}function w(){let e=p();return m&&e?(0,i.jsx)(a.default,{id:"clarity",strategy:"afterInteractive",dangerouslySetInnerHTML:{__html:` 11 (function(c,l,a,r,i,t,y){ 12 c[a]=c[a]||function(){(c[a].q=c[a].q||[]).push(arguments)}; 13 t=l.createElement(r);t.async=1;t.src="https://www.clarity.ms/tag/"+i; 14 y=l.getElementsByTagName(r)[0];y.parentNode.insertBefore(t,y); 15 })(window, document, "clarity", "script", "${m}"); 16 `}}):null}function f(){let e=(0,s.usePathname)(),t=(0,r.O)(e);return!u&&!m||t||(0,c.Hb)(e)?null:(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(v,{}),(0,i.jsx)(w,{})]})}},42623:(e,t,n)=>{Promise.resolve().then(n.bind(n,54921)),Promise.resolve().then(n.t.bind(n,95216,23)),Promise.resolve().then(n.t.bind(n,28548,23)),Promise.resolve().then(n.t.bind(n,71531,23)),Promise.resolve().then(n.t.bind(n,64039,23)),Promise.resolve().then(n.t.bind(n,8679,23)),Promise.resolve().then(n.t.bind(n,17331,23)),Promise.resolve().then(n.t.bind(n,51743,23)),Promise.resolve().then(n.bind(n,96895)),Promise.resolve().then(n.bind(n,28411)),Promise.resolve().then(n.bind(n,94652)),Promise.resolve().then(n.bind(n,83371)),Promise.resolve().then(n.bind(n,25338)),Promise.resolve().then(n.bind(n,99045)),Promise.resolve().then(n.bind(n,72737)),Promise.resolve().then(n.bind(n,25044))},51743:()=>{},72737:(e,t,n)=>{"use strict";n.d(t,{ThemeProvider:()=>a});var i=n(95155);n(12115);var r=n(70460);function a({children:e,...t}){return(0,i.jsx)(r.N,{...t,children:e})}},94652:(e,t,n)=>{"use strict";n.d(t,{VisitorTracker:()=>V});var i=n(95155),r=n(64809);let a={hero:"Introduction",logos:"Client logos",overview:"Scope & budget overview",film:"Featured film",proof:"Client results",process:"Process",pricing:"Packages & pricing",production:"On set",reel:"More work",testimonials:"Client interviews",founder:"About WERZ",consultation:"Consultation",faq:"Questions",related:"Related pages",contact:"Contact",work:"Selected work",useCases:"Use cases"}
16,s=["/video-production/launch-video","/video-production/corporate"];function o(e){return"string"==typeof e&&Object.hasOwn(a,e)}function l(e){return s.includes(e.split(/[?#]/)[0].replace(/\/$/,""))}var c=n(12115),d=n(73321),u=n(83371),m=n(6306),p=n(25020),v=n(53426),w=n(31727);function f(e,t){let n=(0,w.L)(e,t),i={landingPage:n.pathname+n.search};for(let[e,r]of(t&&(i.referrer=t),Object.entries({utm_source:"utmSource",utm_medium:"utmMedium",utm_campaign:"utmCampaign",utm_term:"utmTerm",utm_content:"utmContent",gclid:"gclid",gbraid:"gbraid",wbraid:"wbraid",msclkid:"msclkid",fbclid:"fbclid",li_fat_id:"liFatId",ttclid:"ttclid"}))){let t=n.searchParams.get(e);t&&(i[r]=t)}return i}let h=null,g="werz_session_attribution";function y(e){if(h?.sessionId===e)return h.fields;try{let t=JSON.parse(sessionStorage.getItem(g)||"null");if(t?.sessionId===e&&t?.fields&&"object"==typeof t.fields)return t.fields}catch{}return null}var b=n(10755),E=n(28520);function S(e){let t={...e,pageUrl:(0,E.yY)(e.pageUrl).slice(0,500)};if(t.landingPage&&(t.landingPage=(0,E.yY)(t.landingPage).slice(0,500)),t.pageTitle&&(t.pageTitle=t.pageTitle.slice(0,300)),t.referrer){let e=function(e){if(!e)return null;try{return new URL(e.includes("://")?e:`https://${e}`).hostname.toLowerCase().replace(/^www\./,"")}catch{return null}}(t.referrer);t.referrer=e?`https://${e}/`:void 0}let n={utmSource:120,utmMedium:120,utmCampaign:160,utmTerm:160,utmContent:160,gclid:200,gbraid:200,wbraid:200,fbclid:200,msclkid:200,liFatId:200,ttclid:200,gaClientId:200};for(let e of Object.keys(n))t[e]&&(t[e]=t[e].slice(0,n[e]));t.language&&!/^[a-z]{2,3}(-[a-z0-9]{2,8})*$/i.test(t.language)&&(t.language=void 0);let i=(0,b.T0)(t.eventName||"",t);return t.videoId=i.videoId,t.videoTitle=i.videoTitle,t.sectionEngagement=function(e,t){if(!l(t)||!e||"object"!=typeof e||!Number.isInteger(e.elapsedMs)||e.elapsedMs<0||e.elapsedMs>864e5||!o(e.lastSection)||!e.milliseconds||"object"!=typeof e.milliseconds)return;let n={},i=0;for(let[t,r]of Object.entries(e.milliseconds))if(o(t)){if(!Number.isInteger(r)||r<0||r>864e5)return;n[t]=r,i+=r}if(!(i>e.elapsedMs))return{elapsedMs:e.elapsedMs,lastSection:e.lastSection,milliseconds:n}}(t.sectionEngagement,t.pageUrl),t}async function I(e,t){return await _(e,t)==="accepted"}async function _(e,t){let n=S(e),i="pageview"===n.type&&n.pageViewId||["activity","page_activity"].includes(n.type)&&n.eventId?3:1;for(let e=0;e<i;e++){if(e&&await new Promise(t=>setTimeout(t,1e3*e)),("heartbeat"!==n.type||!1!==n.active)&&!t())return"cancelled";let i=new AbortController,r=setTimeout(()=>i.abort(),1e4);try{let e=await fetch("/api/track/visitor",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(n),keepalive:!0,signal:i.signal});if(e.ok){let t=await e.json();return!0===t.ignored?"excluded":!0===t.success?"accepted":"rejected"}if(429!==e.status&&e.status<500)return"rejected"}catch{}finally{clearTimeout(r)}}return"unavailable"}let T=n(87358).env.NEXT_PUBLIC_FINGERPRINT_API_KEY,j={sessionTimeoutMinutes:30,trackScrollDepth:!0,scrollThresholds:[25,50,75,90,100]},L="visitor_session",k="visitor_session_ts",P="werz_visitor_id";function M(e){if(e.sectionClock)return e.sectionSnapshot=function(e,t,n,i){let r=Math.max(0,Math.min(t-e.at,864e5-e.elapsed));if(e.visible&&(e.elapsed+=r,e.current&&(e.milliseconds[e.current]=(e.milliseconds[e.current]||0)+r)),e.at=t,e.visible=n,e.current=i,n&&i&&(e.last=i,e.milliseconds[i]??=0),e.last)return{elapsedMs:Math.floor(e.elapsed),lastSection:e.last,milliseconds:Object.fromEntries(Object.entries(e.milliseconds).map(([e,t])=>[e,Math.floor(t)]))}}(e.sectionClock,performance.now(),!e.ended&&"visible"===document.visibilityState,function(){if("u"<typeof document||[...document.querySelectorAll('[role="dialog"][aria-modal="true"],dialog[open],[aria-labelledby="cookie-consent-heading"]')].some(e=>{let t=e.getBoundingClientRect();return t.width>0&&t.height>0&&"hidden"!==getComputedStyle(e).visibility}))return;let e=window.innerHeight/2;for(let t of document.querySelectorAll("[data-analytics-section]")){let n=t.dataset.analyticsSection;if(!o(n))continue;let i=t.getBoundingClientRect();if(i.width>0&&i.top<=e&&i.bottom>e)return n}}()),e.sectionSnapshot}let C=null;async function U(){try{let e=Function("moduleName","return import(moduleName)");return await e("@fingerprintjs/fingerprintjs-pro")}catch{return null}}function N(e){try{return window.sessionStorage.getItem(e)}catch{return null}}function $(e,t){try{return window.sessionStorage.setItem(e,t),!0}catch{return!1}}
16async function D(){if(T&&(0,u.Yh)()?.analytics===!0)try{let e=await U(),t=e?.default??e;if(t?.load){let e=await t.load({apiKey:T});return(await e.get()).visitorId}}catch(e){console.warn("FingerprintJS Pro error, falling back to a first-party ID:",e)}try{let e=window.localStorage.getItem(P);if(e)return e;let t=`vid_${"function"==typeof crypto.randomUUID?crypto.randomUUID():`${Date.now()}_${Math.random().toString(36).slice(2)}`}`;return window.localStorage.setItem(P,t),t}catch{return`vid_${Date.now()}_${Math.random().toString(36).slice(2)}`}}function x(e,t=!1){let n=Date.now(),i=60*e*1e3,r=N(L),a=N(k);if(r&&a&&!t){let e=n-parseInt(a,10);if(Number.isFinite(e)&&e>=0&&e<i)return $(k,n.toString()),r}if(!t&&C&&n-C.timestamp<i)return C.timestamp=n,C.id;let s=`sess_${Date.now()}_${Math.random().toString(36).slice(2)}`,o=$(L,s),l=$(k,n.toString());return C=o&&l?null:{id:s,timestamp:n},s}function Y(e){return I(e,()=>(0,u.wY)()?.analytics===!0)}function R({config:e}){let t=(0,d.usePathname)(),n=(0,d.useSearchParams)(),i=n?.toString()||"",a=(0,c.useRef)(null),s=(0,c.useRef)(void 0),o=(0,c.useRef)(null),p=(0,c.useRef)([]),w=(0,c.useRef)(0),T=(0,c.useRef)(new Set),P=(0,c.useRef)(""),U=(0,c.useRef)(!0),[V]=(0,c.useState)(()=>({page:`${window.location.pathname}${window.location.search}${window.location.hash}`,referrer:document.referrer||void 0})),[A,O]=(0,c.useState)(()=>(0,v.n)(`${window.location.pathname}${window.location.search}${window.location.hash}`));(0,c.useEffect)(()=>{let e=()=>{let e=(0,v.n)(`${window.location.pathname}${window.location.search}${window.location.hash}`);e&&O(e)};return window.addEventListener("hashchange",e),()=>window.removeEventListener("hashchange",e)},[]);let[F,B]=(0,c.useState)(()=>(0,u.wY)()?.analytics??!1),[z,H]=(0,c.useState)(!1),q=(0,c.useCallback)((e=!1)=>
16{let t=o.current;if(!t||t.ended||(t.ended=e,!(0,u.wY)()?.analytics))return;let n=t.sessionId;if(!n)return;t.elapsed+=null===t.visibleSince?0:performance.now()-t.visibleSince,t.visibleSince=e||"visible"!==document.visibilityState?null:performance.now(),t.exitTime=Math.min(86400,Math.max(0,Math.round(t.elapsed/1e3)));let i={...t.event,type:t.event?"page_checkpoint":"session_end",analyticsConsent:!0,sessionId:n,fingerprintId:s.current,pageUrl:t.pageUrl,pageViewId:t.pageViewId,timeOnPage:t.exitTime,sectionEngagement:M(t)},r=JSON.stringify(S(i)),a=!1;try{a=navigator.sendBeacon?.("/api/track/visitor",new Blob([r],{type:"application/json"}))??!1}catch{}a||Y(i)},[]),J=(0,c.useCallback)(()=>q(!0),[q]),W=(0,c.useCallback)((e,t)=>{let n=w.current;e.event&&I({...e.event,type:"page_activity",analyticsConsent:!0,sessionId:e.sessionId,pageUrl:e.pageUrl,pageViewId:e.pageViewId,eventId:t.id,eventName:t.name,milestone:t.milestone,...(0,b.T0)(t.name,t)},()=>n===w.current&&(0,u.wY)()?.analytics===!0)},[]);(0,c.useEffect)(()=>{let e=e=>{let t=e.detail;if(!(0,u.wY)()?.analytics||!t||!(0,b.AZ)(t.name)||"string"!=typeof t.id||!/^[a-zA-Z0-9_-]{8,100}$/.test(t.id)||t.path!==window.location.pathname||"public"!==(0,E.Ee)(t.path))return;let n={id:t.id,name:t.name,path:t.path,milestone:(0,b.EE)(t.milestone),...(0,b.T0)(t.name,t)},i=o.current;!i||i.ended||i.pageUrl.split("?")[0]!==t.path?p.current.length<30&&p.current.push(n):i.event?W(i,n):i.activities.length<30&&i.activities.push(n)};return window.addEventListener(b.VM,e),()=>window.removeEventListener(b.VM,e)},[W]);let X=(0,c.useRef)(null),Z=(0,c.useRef)(t);(0,c.useEffect)(()=>{if(t!==Z.current&&(Z.current=null),F&&t&&/^\/(de\/)?(book|video-production\/(launch-video|corporate))\/?$/.test(t))return X.current?.path!==t&&(X.current={path:t,seen:new Set}),function({emit:e,permitted:t,measureNavigation:n,seen:i=new Set}){let r,a=n=>{if(!(!t()||"visible"!==document.visibilityState||i.has(n))){i.add(n);try{e(n)}catch{}}},s=()=>{let e;if(n&&t()&&"visible"===document.visibilityState){try{e=performance.getEntriesByType?.("navigation")[0]}catch{return}!e||"back_forward"===e.type||!Number.isFinite(e.loadEventEnd)||e.loadEventEnd<=0||e.loadEventEnd>6e5||i.has("navigation")||(i.add("navigation"),a(e.loadEventEnd>3e3?"performance_load_slow":"performance_load_fast"))}},o=()=>{r=setTimeout(s,0)},l=e=>{e.target instanceof HTMLVideoElement?a("performance_video_error"):e instanceof ErrorEvent&&a("performance_script_error")};return"complete"===document.readyState?o():window.addEventListener("load",o,{once:!0}),window.addEventListener("error",l,!0),()=>{window.removeEventListener("load",o),window.removeEventListener("error",l,!0),void 0!==r&&clearTimeout(r)}}({emit:r.g,permitted:()=>(0,u.wY)()?.analytics===!0,measureNavigation:t===Z.current&&!X.current.seen.has("navigation"),seen:X.current.seen})},[t,F]);let K=(0,c.useCallback)(e=>{let t=o.current;if(!t||e&&(!(0,u.wY)()?.analytics||!t.tracked||t.ended||"visible"!==document.visibilityState))return;let n=e?Math.min(86400,Math.max(0,Math.round((t.elapsed+(null===t.visibleSince?0:performance.now()-t.visibleSince))/1e3))):void 0;Y({type:"heartbeat",sessionId:t.sessionId,tabId:P.current,active:e,pageUrl:t.pageUrl,...e?{pageViewId:t.pageViewId,timeOnPage:n,sectionEngagement:M(t)}:{}})},[]),G=(0,c.useCallback)(async e=>{if(!e.event||e.inFlight||!(0,u.wY)()?.analytics)return;let t=w.current;e.inFlight=!0;let n=await _(e.event,()=>t===w.current&&(0,u.wY)()?.analytics===!0);if(e.inFlight=!1,t!==w.current)return;e.retryable="unavailable"===n;let i="accepted"===n;i?e.scrollDepth>0&&Y({type:"scroll",sessionId:e.sessionId,pageUrl:e.pageUrl,pageViewId:e.pageViewId,scrollDepth:e.scrollDepth}):"unavailable"!==n&&(e.activities=[]),i&&void 0!==e.exitTime&&Y({type:"session_end",sessionId:e.sessionId,pageUrl:e.pageUrl,pageViewId:e.pageViewId,timeOnPage:e.exitTime,sectionEngagement:e.sectionSnapshot}),o.current===e&&(e.tracked=i,i&&K(!0))},[K]);return(0,c.useEffect)(()=>{let e=()=>{let e=o.current;!e||e.ended||e.tracked||!e.retryable||"visible"!==document.visibilityState||Date.now()-e.startedAt>3e5||G(e)};return window.addEventListener("online",e),document.addEventListener("visibilitychange",e),()=>{window.removeEventListener("online",e),document.removeEventListener("visibilitychange",e)}},[G]),(0,c.useEffect)(()=>{let e=e=>{e.detail.analytics||(w.current+=1,C=null,K(!1),(0,m.kI)(),o.current=null,p.current=[],a.current=null,s.current=void 0,T.current.clear(),U.current=!0,H(!1)),B(e.detail.analytics)};return window.addEventListener("consentUpdate",e),B((0,u.wY)()?.anal
16ytics===!0),()=>window.removeEventListener("consentUpdate",e)},[K]),(0,c.useEffect)(()=>{let t=!1;return(async()=>{if(!F||!(0,u.wY)()?.analytics)return;P.current||(P.current=crypto.randomUUID?crypto.randomUUID():`tab_${Math.random().toString(36).slice(2)}`),H(!1),(0,m.p0)(V??void 0),a.current=x(e.sessionTimeoutMinutes||30);let n=await D();!t&&(0,u.wY)()?.analytics&&(s.current=n,H(!0))})(),()=>{t=!0}},[F,V,e.sessionTimeoutMinutes]),(0,c.useEffect)(()=>{if(!F||!z)return;let t=-1/0,n=()=>{if(!(!(0,u.wY)()?.analytics||"visible"!==document.visibilityState||!a.current||Date.now()-t<15e3)){var n,i;let r,s,o;t=Date.now(),n=a.current,i=e.sessionTimeoutMinutes||30,r=Date.now(),s=6e4*i,o=Number(N(k)),N(L)===n&&r-o>=0&&r-o<s&&$(k,String(r)),C?.id===n&&r-C.timestamp>=0&&r-C.timestamp<s&&(C.timestamp=r)}},i=["pointerdown","keydown","scroll"];for(let e of i)window.addEventListener(e,n,{passive:!0});return()=>{for(let e of i)window.removeEventListener(e,n)}},[F,z,e.sessionTimeoutMinutes]),(0,c.useEffect)(()=>{let n,r=(0,u.wY)();if(!r?.analytics||!z)return;J();let c=t+(i?`?${i}`:""),d=`${c}${window.location.hash}`,m=U.current&&V?.page||d,v=U.current&&(V?.referrer||document.referrer)||void 0,w=a.current,b=x(e.sessionTimeoutMinutes||30,!!w&&function(e,t,n){let i=y(e);if(!i)return!1;let r=f(t,n);return["utmSource","utmMedium","utmCampaign","utmTerm","utmContent","gclid","gbraid","wbraid","msclkid","fbclid","liFatId","ttclid"].some(e=>!!r[e]&&r[e]!==i[e])}(w,m,v));if(o.current&&o.current.sessionId!==b&&K(!1),a.current=b,!b)return;T.current.clear(),o.current={pageUrl:c,pageViewId:"function"==typeof crypto.randomUUID?crypto.randomUUID():`pv_${Date.now()}_${Math.random().toString(36).slice(2)}`,sessionId:b,visibleSince:"visible"===document.visibilityState?performance.now():null,elapsed:0,ended:!1,tracked:!1,startedAt:Date.now(),scrollDepth:0,activities:p.current.filter(e=>e.path===t)},p.current=[];let E=o.current;l(c)&&(E.sectionClock={at:performance.now(),visible:!1,elapsed:0,milliseconds:{}},M(E));let S=function(e,t,n){let i=y(e);if(i)return i;let r=f(t,n);h={sessionId:e,fields:r};try{sessionStorage.setItem(g,JSON.stringify({sessionId:e,fields:r}))}catch{}return r}(b,m,v);for(let e of(E.event={type:"pageview",measurementBasis:(0,u.Pb)?.()??"explicit",pageViewId:E.pageViewId,sessionId:b,fingerprintId:s.current,pageUrl:c,pageTitle:document.title,pageVersion:"/video-production/launch-video"===(n=c.split(/[?#]/)[0].replace(/\/$/,""))?"launch-2026-09-24-v1":"/video-production/corporate"===n?"corporate-2026-09-24-v1":"/de/video-production/launch-video"===n?"launch-2026-09-23-v1":void 0,...S,...A?{recipientLinkCode:A,analyticsConsent:!0}:{},attributionVersion:2,language:navigator.language},E.activities.splice(0)))W(E,e);G(E),U.current=!1},[t,i,z,e.sessionTimeoutMinutes,J,V,K,G,W,A]),(0,c.useEffect)(()=>{if(!F||!z)return;let e=()=>{let e=o.current;e&&!e.ended&&(0,u.wY)()?.analytics&&M(e)},t=window.setInterval(e,1e3);return window.addEventListener("scroll",e,{passive:!0}),document.addEventListener("visibilitychange",e),()=>{window.clearInterval(t),window.removeEventListener("scroll",e),document.removeEventListener("visibilitychange",e)}},[F,z]),(0,c.useEffect)(()=>{if(!F||!z)return;let e=()=>{"visible"!==document.visibilityState&&q(),K("visible"===document.visibilityState)},t=()=>K(!1),n=e=>{e.persisted&&o.current&&(o.current.ended=!1,o.current.visibleSince="visible"===document.visibilityState?performance.now():null,K(!0))},i=window.setInterval(()=>K(!0),3e4),r=window.setTimeout(()=>K(!0),5e3);return document.addEventListener("visibilitychange",e),window.addEventListener("pagehide",t),window.addEventListener("pageshow",n),()=>{window.clearInterval(i),window.clearTimeout(r),document.removeEventListener("visibilitychange",e),window.removeEventListener("pagehide",t),window.removeEventListener("pageshow",n),K(!1)}},[F,z,K,q,t,i]),(0,c.useEffect)(()=>
16{if(!e.trackScrollDepth||!F||!z)return;let n=(0,u.wY)();if(!n?.analytics)return;let r=!1,l=()=>{r||(window.requestAnimationFrame(()=>{(()=>{if(!(0,u.wY)()?.analytics)return;let n=a.current;if(!n)return;let r=window.scrollY,l=document.documentElement.scrollHeight-window.innerHeight,c=l>0?Math.round(r/l*100):0;for(let r of e.scrollThresholds||j.scrollThresholds)if(c>=r&&!T.current.has(r)){T.current.add(r),o.current&&(o.current.scrollDepth=Math.max(o.current.scrollDepth,r));let e=t+(i?`?${i}`:"");Y({type:"scroll",pageViewId:o.current?.pageViewId,sessionId:n,fingerprintId:s.current,pageUrl:e,scrollDepth:r})}})(),r=!1}),r=!0)};return window.addEventListener("scroll",l,{passive:!0}),()=>window.removeEventListener("scroll",l)},[t,i,F,z,e.trackScrollDepth,e.scrollThresholds]),(0,c.useEffect)(()=>{if(!F||!z)return;let e=()=>{let e=o.current;e&&!e.ended&&(null!==e.visibleSince&&(e.elapsed+=performance.now()-e.visibleSince),e.visibleSince="visible"===document.visibilityState?performance.now():null)};return document.addEventListener("visibilitychange",e),window.addEventListener("pagehide",J),()=>{J(),document.removeEventListener("visibilitychange",e),window.removeEventListener("pagehide",J)}},[F,z,J]),null}function V({config:e=j}){let t=(0,d.usePathname)();return(0,p.Hb)(t)||"system"===(0,E.Ee)(t)?null:(0,i.jsx)(c.Suspense,{fallback:null,children:(0,i.jsx)(R,{config:{...j,...e}})})}},99045:(e,t,n)=>{"use strict";n.d(t,{ServiceWorkerRegistration:()=>o});var i=n(12115),r=n(73321),a=n(25020),s=n(87358);function o(){let e=(0,r.usePathname)();return(0,i.useEffect)(()=>{let t="";try{t=new URL(s.env.NEXT_PUBLIC_APP_URL||window.location.origin).hostname}catch{t=window.location.hostname}(!(0,a.Hb)(e)||window.location.hostname===t)&&"serviceWorker"in navigator&&(async()=>{try{let e=await navigator.serviceWorker.getRegistrations();if(await Promise.all(e.map(e=>e.unregister())),"caches"in window){let e=await caches.keys();await Promise.all(e.filter(e=>e.startsWith("werz-")).map(e=>caches.delete(e)))}}catch(e){console.log("SW cleanup failed:",e)}})()},[e]),null}}},e=>{e.O(0,[88793,73334,98500,94744,66609,30373,78459,59622,54921,6472,997,54604,28441,93794,77358],()=>e(e.s=42623)),_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.