PageSourceSearch

https://static.cdn.btcdirect.eu/_next/static/chunks/app/(frontend)…/%5Btenant%5D/layout-4da20a49ddfa6712.js

js btcdirect.eu collected 2026-10-01 11:32:37 UTC 6,452 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6255],{18483:(e,t,n)=>{Promise.resolve().then(n.bind(n,66490)),Promise.resolve().then(n.bind(n,93534)),Promise.resolve().then(n.t.bind(n,45547,23)),Promise.resolve().then(n.t.bind(n,82383,23)),Promise.resolve().then(n.t.bind(n,10983,23)),Promise.resolve().then(n.bind(n,11517)),Promise.resolve().then(n.bind(n,38652)),Promise.resolve().then(n.bind(n,6147)),Promise.resolve().then(n.bind(n,55118)),Promise.resolve().then(n.bind(n,87846)),Promise.resolve().then(n.bind(n,18879)),Promise.resolve().then(n.bind(n,89025)),Promise.resolve().then(n.bind(n,76886)),Promise.resolve().then(n.bind(n,92788)),Promise.resolve().then(n.bind(n,54295)),Promise.resolve().then(n.bind(n,15898)),Promise.resolve().then(n.bind(n,96800)),Promise.resolve().then(n.bind(n,27826))},18879:(e,t,n)=>{"use strict";n.d(t,{HydrationErrorReporter:()=>i});var r=n(42049);let o=0;class i extends r.Component{componentDidCatch(e,t){var n={kind:"boundary",message:(e?.message??String(e)).slice(0,500),stack:(e?.stack??"").slice(0,2e3),componentStack:(t?.componentStack??"").slice(0,4e3)};if(!(o>=5)){o++;try{let e=JSON.stringify({...n,url:window.location.href,userAgent:navigator.userAgent});navigator.sendBeacon?navigator.sendBeacon("/api/client-error",new Blob([e],{type:"application/json"})):fetch("/api/client-error",{method:"POST",headers:{"Content-Type":"application/json"},body:e,keepalive:!0}).catch(()=>{})}catch{}}}static getDerivedStateFromError(){return{hasError:!0}}render(){return this.state.hasError?null:this.props.children}constructor(...e){super(...e),this.state={hasError:!1}}}},55118:(e,t,n)=>{"use strict";n.d(t,{CMChatbot:()=>d});var r=n(22783),o=n(42049),i=n(87189);let s="https://my.btcdirect.eu",c="btcdirect_cxapi_page_history",l=/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i,a="#chatbot-open";function d({locale:e,tenantSlug:t,chatbot:n}){let u,m=(0,r.usePathname)(),h="nl"===(u=e.slice(0,2))||"en"===u||"es"===u||"de"===u||"fr"===u?u:"en",w=n?.enabled?(e=>{if("string"!=typeof e)return null;let t=e.trim();return l.test(t)?t:null})(n.botId):null,p=(0,o.useRef)(null);return(0,o.useEffect)(()=>{let e;if(!w||document.getElementById("cm-snippet"))return;let t=(e=i.env.NEXT_PUBLIC_SERVER_URL??"").includes("btcdirect.eu")?"prod":e.includes("btcdirect.dev")?"staging":"dev",n=e=>{window.cmwc&&!window.cmChatbotInstalled&&(window.cmChatbotInstalled=!0,window.cmwc.add(w,()=>{window.cmwc&&(window.cmwc.get(w).setLanguage(h),e&&window.cmwc.get(w).addContext({APP_ENV:t,CXAPI_JWT:e,LANG:h}))}).install())};window.installCMChatbot=n;let r=()=>{let e=document.createElement("iframe");e.style.display="none",e.src=`${s}/auth/cxapi-token`;let t=!1,r=()=>{window.removeEventListener("message",o),e.remove()},o=e=>{if(e.origin!==s||t)return;t=!0;let o=e.data,i=o?.btcdirect_cxapi_token??null;if(i)try{window.localStorage.setItem("btcdirect_cxapi_token",i)}catch{}n(i),r()};e.onload=()=>{e.contentWindow?.postMessage("REQUEST_CXAPI_TOKEN",s)},window.addEventListener("message",o),document.body.appendChild(e),window.setTimeout(()=>{t||(t=!0,n(null),r())},3e3)},o=null,c=["pointerdown","keydown","touchstart","scroll"],l=!1,a=()=>{for(let e of c)window.removeEventListener(e,u);null!==o&&window.clearTimeout(o)},d=()=>{l||(l=!0,a(),(()=>{if(document.getElementById("cm-snippet"))return;let e=document.createElement("script");e.id="cm-snippet",e.type="text/javascript",e.src="https://webchat.digitalcx.com/webchat.js",e.async=!0,e.onload=r,document.head.appendChild(e)})())};function u(){d()}for(let e of c)window.addEventListener(e,u,{passive:!0});return o=window.setTimeout(d,6e3),p.current=d,()=>{p.current=null,a()}},[w,h]),(0,o.useEffect)(()=>{let e;if(!w)return;let n=((e=m.split("/")).length>=3&&e[2]===t&&e.splice(2,1),e.join("/")||"/"),r=[];try{let e=window.sessionStorage.getItem(c);r=e?JSON.parse(e):[]}catch{}if(r[r.length-1]!==n){r.push(n),r.length>20&&(r=r.slice(-20));try{window.sessionStorage.setItem(c,JSON.stringify(r))}catch{}}let o=!1,i=()=>{if(o)return;let e=window.cmwc?.get(w);e?e.addContext({PAGE_PATH:n,PAGE_URL:window.location.href,PAGE_HISTORY:JSON.stringify(r)}):window.setTimeout(i,250)};return i(),()=>{o=!0}},[w,m,t]),(0,o.useEffect)(()=>
1{if(!w)return;let e=(t=0)=>{p.current?.();let n=window.cmwc?.get(w);if(!n){t<40&&window.setTimeout(()=>e(t+1),250);return}n.open(),history.replaceState(null,"",window.location.pathname+window.location.search)},t=()=>{window.location.hash===a&&e()},n=t=>{if(0!==t.button||t.metaKey||t.ctrlKey||t.shiftKey||t.altKey)return;let n=t.target,r=n?.closest("a");if(!r)return;let o=r.getAttribute("href");if(!o)return;let i=o.indexOf("#");-1!==i&&o.slice(i)===a&&(t.preventDefault(),t.stopPropagation(),e())};return t(),window.addEventListener("hashchange",t),document.addEventListener("click",n,!0),()=>{window.removeEventListener("hashchange",t),document.removeEventListener("click",n,!0)}},[w,m]),null}},87846:(e,t,n)=>{"use strict";n.d(t,{HubSpotScript:()=>l});var r=n(42049);let o=/^\d{4,12}$/,i="hs-script-loader";function s(){if("u"<typeof document)return!1;let e=document.cookie.split("; ").find(e=>e.startsWith("cookieyes-consent="))?.slice("cookieyes-consent=".length);return!!e&&/(?:^|,)analytics:yes(?:,|$)/.test(decodeURIComponent(e))}function c(e){if(document.getElementById(i))return;let t=window;t._hsq=t._hsq??[];let n=document.createElement("script");n.id=i,n.async=!0,n.defer=!0,n.src=`https://js-eu1.hs-scripts.com/${e}.js`,document.head.appendChild(n)}function l({hubspot:e}){let t=e?.enabled?(e=>{if("string"!=typeof e)return null;let t=e.trim();return o.test(t)?t:null})(e.portalId):null;return(0,r.useEffect)(()=>{if(!t)return;if(s())return void c(t);let e=()=>{s()&&c(t)};return document.addEventListener("cookieyes_consent_update",e),()=>document.removeEventListener("cookieyes_consent_update",e)},[t]),null}},92788:(e,t,n)=>{"use strict";n.d(t,{ScrollToTopOnNav:()=>i});var r=n(22783),o=n(42049);function i(){let e=(0,r.usePathname)(),t=(0,o.useRef)(!1),n=(0,o.useRef)(!0);return(0,o.useEffect)(()=>{let e=()=>{t.current=!0};return window.addEventListener("popstate",e),()=>window.removeEventListener("popstate",e)},[]),(0,o.useEffect)(()=>{if(n.current){n.current=!1;return}if(t.current){t.current=!1;return}window.location.hash||window.scrollTo({top:0,left:0,behavior:"instant"})},[e]),null}}},e=>{e.O(0,[4150,98,4156,5498,5765,3309,51,8925,7108,1608,3128,451,1754,8162,7358],()=>e(e.s=18483)),_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.