PageSourceSearch

https://www.novocure.com/_next/static/chunks/pages/[...slug]-ae0dc778fd5819d8.js

js novocure.com collected 2026-10-03 21:24:01 UTC 5,777 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2203],{24608:(e,t,n)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/[...slug]",function(){return n(79635)}])},33507:(e,t,n)=>{"use strict";n.d(t,{S:()=>v});var i=n(37876),l=n(27038),r=n(57667),a=n(35578),o=n(93262),s=n(96239),c=n(2515),d=n(43087),u=n(8961);function f(e){let{children:t,title:n,author:r,mainImage:f}=e,g={headingTag:"h1",color:u.lm.NEUTRAL_COLOR_00,text:n,maxW:"1200px"},_={color:u.lm.NEUTRAL_COLOR_00,text:"By: ".concat(r),maxW:"1200px"},h={backgroundColor:u.lm.TERTIARY_COLOR,padding:"50px"};return(0,i.jsxs)(a.az,{children:[(0,i.jsxs)(o.T,{...h,children:[(0,i.jsx)(d.Title,{...g}),r&&(0,i.jsx)(c.Paragraph,{..._})]}),f&&(0,i.jsx)(l.s,{...{align:"center",justify:"center",padding:"50px"},children:(0,i.jsx)(s._,{...f,alt:f.alt})}),t]})}var g=n(99823),_=n(97980),h=n(91058);function v(e){let{node:t}=e,{langDirection:n}=(0,h.gK)(),{children:a,...o}=(0,_.oK)(t),s=o.tags.map(e=>e.name).join(", "),d=u.IO[u.lm.SECONDARY_COLOR];return(0,i.jsx)(f,{...o,children:(null==a?void 0:a.length)&&a.map((e,t)=>t<a.length-1?(0,i.jsx)(r.m,{...e},e.id):(0,i.jsx)(r.m,{...e,children:(0,i.jsxs)(l.s,{w:"full",gridColumn:"1 / -1",alignItems:"flex-start",flexDirection:"column",gap:"60px",dir:n,children:[(0,i.jsx)(c.Paragraph,{fontSizes:{base:"lg",md:"lg",lg:"lg"},fontWeights:{base:"light",md:"light",lg:"light"},text:"Topics: <span style='color: ".concat(d,"; font-weight: 600;'>").concat(s,"</span>")}),(0,i.jsx)(g.Cta,{typeCta:"Secondary",text:"Back to patients stories",icon:{name:"ChevronLeft"},alignment:"Left",onClick:()=>{history.back()}})]})},e.id))})}},79540:(e,t,n)=>{"use strict";n.d(t,{x:()=>f});var i=n(79499),l=n(22278),r=n(89099),a=n(14232),o=n(56874),s=n(93704),c=n(14e3),d=n(67470),u=n(99742);let f=(e,t)=>{let n=(0,r.useRouter)(),[f,g]=(0,a.useState)(e),{setOpenModal:_,permission:h,setPermission:v,setModalName:p,setRedirectedFromPath:m,redirectedFromPath:x,openModal:w,isGigyaLogged:y,modalName:j,gigyaScreenset:S}=(0,i.Jd)(),N=(0,c.useSearchParams)().get("qr"),C=(0,a.useRef)(0),T=(0,a.useRef)(null),E="true"===u.env.NEXT_PRIVATE_SSO;return(0,a.useEffect)(()=>{if(!E)return;let t=(null==e?void 0:e.type)===l.rC?"field_news_content":"field_content";(null==e?void 0:e[t])&&void 0===e.sso_can_access&&(h?g(e):m(n.asPath))},[t,e,E,h,n.asPath,m]),(0,a.useEffect)(()=>{if(!E)return;let n=(null==e?void 0:e.type)===l.rC?"field_news_content":"field_content",i=(null==f?void 0:f.field_news_content)||(null==f?void 0:f.field_content),r=t.includes(null==f?void 0:f.id);(null==e?void 0:e[n])||!i||r||g({})},[e,t,f,E]),(0,a.useEffect)(()=>{if(!E)return;let n=(null==e?void 0:e.type)===l.rC?"field_news_content":"field_content";if(!1===y&&!(null==e?void 0:e[n])){let i=null==f?void 0:f[n],l=!(null==e?void 0:e[n])&&t.includes(f.id);(j||i&&l)&&(_(!0),p(j||S))}!0===y&&h&&!j&&T.current===h&&_(!1)},[e,t,y,E,h,j,f,S,p,_]),(0,a.useEffect)(()=>{let i=(null==e?void 0:e.type)===l.rC?"field_news_content":"field_content",r=!(null==e?void 0:e[i])&&E,a=!(null==e?void 0:e[i])&&!1,c=null==e?void 0:e.id,u=(null==e?void 0:e[i])&&void 0===e.sso_can_access,x=(0,s.Ri)("gigya-jwt");(0,s.Ri)("auth_type");let y=!1;return((r||a)&&!x||h)&&!u?((r||a)&&!x&&!h&&m(n.asPath),(async()=>{var n,i,l;if(c){if(await (null==(l=window.gigya)?void 0:l.accounts.hideScreenSet({containerID:"login-container"})),y)return;_(!1),p(""),f&&f.id&&f.id!==c&&g(e)}else{let e=await (0,o.zc)(h,t);if(y)return;if(!e||e.fetchFailed){if(await (null==(n=window.gigya)?void 0:n.accounts.hideScreenSet({containerID:"login-container"})),y)return;_(!1),p("");return}let l=null==e?void 0:e.isValidUser;l&&(C.current=0,T.current=h);let r=h&&[d.NA,d.l6].includes(null==e?void 0:e.modalName);if(!l&&r&&C.current<3){let e=window.gigya;if(e){C.current+=1,setTimeout(()=>{y||e.accounts.getAccountInfo({callback:async e=>{let{UID:t,UIDSignature:n,signatureTimestamp:i,errorCode:l}=e;if(!y&&0===l){sessionStorage.removeItem("jwtGigyaGenerated");try{await (0,o.GX)({UID:t,UIDSignature:n,signatureTimestamp:Number(i),setPermission:v,setOpenModal:_})}catch(e){console.error("[DocCheck] Failed to regenerate JWT for stale-token retry:",e)}}}})},1500);return}}if(!e||l||w){if(e&&l&&f.id!==e.resource.id){if(y||(await (null==(i=window.gigya)?void 0:i.accounts.hideScreenSet({containerID:"login-container"})),y))return;g(e.resource),_(!1),p("")}}else f&&(_(!0),p(e.modalName),g({}))}})()):(_(!1),f&&f.id&&c&&f.id!==c&&g(e)),()=>{y=!0}},[e,t,E,!1,w,h,x,f,n.asPath,p,_,v,m,N]),E?f:e}},79635:(e,t,n)=>{"use strict";n.r(t),n.d(t,{__N_SSG:()=>h,default:()=>v});var i=n(37876),l=n(89099),r=n(14232),a=n(83425),o=n(33507),s=n(55373),c=n(12562),d=n(22278),u=n(79540),f=n(93704),g=n(29229),_=n(99742),h=!0;
1function v(e){let{resource:t,footer:n,header:h,gtmId:v,gscId:p,path:m,themes:x,locale:w}=e,[y,j]=(0,r.useState)("true"===_.env.NEXT_IS_LANDING_HUB),S=(0,l.useRouter)();(0,r.useEffect)(()=>{if(!_.env.NEXT_IS_LANDING_HUB)return;let e=(0,f.Tl)(),{pathname:t}=window.location;return e?t!=="/".concat(e)?void S.replace("/404"):void(window.history.replaceState(null,"","/"),j(!1)):void S.replace("/")},[S]),(0,g.A)({signInPage:!1,profileDetailsPage:!1});let N=(0,u.x)(t,m);return N&&!y&&(0,i.jsxs)(s.P,{footer:n,header:h,metatags:N.metatag,pageTitle:N.title,gtmId:v,gscId:p,lang:w,themes:x,children:[N.type===d.I8&&(0,i.jsx)(o.S,{node:N}),N.type===d.rA&&(0,i.jsx)(a._,{node:N}),N.type===d.rC&&(0,i.jsx)(c.nt,{node:N})]})}},83425:(e,t,n)=>{"use strict";n.d(t,{_:()=>a});var i=n(37876),l=n(57667),r=n(97980);function a(e){let{node:t}=e,n=(0,r.xp)(t);return(0,i.jsx)(i.Fragment,{children:(null==n?void 0:n.length)&&n.map(e=>(0,i.jsx)(l.m,{...e},e.id))})}}},e=>{e.O(0,[1121,6701,2438,4940,6167,910,7458,1157,2961,9555,2703,8195,124,5373,9229,636,6593,8792],()=>e(e.s=24608)),_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.