PageSourceSearch

https://www.postcodelottery.ca/_next/static/chunks/5662.b5f3897d7efd5d72.js

js postcodelottery.ca collected 2026-10-08 17:37:05 UTC 7,698 bytes, 1 lines download raw bytes

1!function(){try{var e="u">typeof window?window:"u">typeof global?global:"u">typeof globalThis?globalThis:"u">typeof self?self:{};e._sentryModuleMetadata=e._sentryModuleMetadata||{},e._sentryModuleMetadata[(new e.Error).stack]=function(e){for(var l=1;l<arguments.length;l++){var t=arguments[l];if(null!=t)for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])}return e}({},e._sentryModuleMetadata[(new e.Error).stack],{"_sentryBundlerPluginAppKey:groupwebsite-cpl":!0});var l=(new e.Error).stack;l&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[l]="6e159edb-4580-4198-a00d-2f742483f942",e._sentryDebugIdIdentifier="sentry-dbid-6e159edb-4580-4198-a00d-2f742483f942")}catch(e){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5662],{5818:(e,l,t)=>{t.d(l,{G:()=>n});let n=e=>({Korting:"green","Kans op":"blue",Exclusief:"gold",Gratis:"red","2 personen gratis":"red"})[e]||"green"},12697:(e,l,t)=>{t.d(l,{f:()=>a});var n,i=((n={}).DISCOUNT="Korting",n.CHANCE="Kans op",n.FREE="Gratis",n.EXCLUSIVE="Exclusief",n.FREE_FOR_TWO="2 personen gratis",n);let r=[i.FREE_FOR_TWO,i.FREE],a=e=>{let l=(Array.isArray(e)?e:e?[e]:[]).map(e=>e in i?i[e]:Object.values(i).includes(e)?e:null).filter(e=>!!e),t=r.find(e=>l.includes(e));return null!=t?t:1===l.length?l[0]:"Korting"}},28148:(e,l,t)=>{t.d(l,{i:()=>r});var n=t(33574),i=t(53425);let r=(e,l,t)=>{let r,a,o=(0,i.X)(e),d=(0,i.X)(l),u=new Date;return o.dateValid||d.dateValid?o.dateValid&&!d.dateValid?o.date.getTime()<u.getTime()?"Doorlopend":"Vanaf ".concat((0,n.Y)(o,t)):o.dateValid&&d.dateValid&&(r=o.date,a=d.date,r.getFullYear()===a.getFullYear()&&r.getMonth()===a.getMonth()&&r.getDate()===a.getDate())?(0,n.Y)(o,t):"".concat((0,n.Y)(o,t)," t/m ").concat((0,n.Y)(d,t)):"Doorlopend"}},33574:(e,l,t)=>{t.d(l,{Y:()=>n});let n=function(e){let{date:l,dateValid:t}=e,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{day:"numeric",month:"long"},i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"nl-NL";return t?new Intl.DateTimeFormat(i,n).format(l):""}},52388:(e,l,t)=>{t.d(l,{g:()=>n});let n=e=>e&&0!==e.length?e.length>1?"Meerdere locaties":e[0].city||"Onbekend":"Onbekend"},53425:(e,l,t)=>{t.d(l,{X:()=>n});let n=e=>{let l=new Date(e||"");return{date:l,dateValid:!isNaN(l.getTime())}}},75662:(e,l,t)=>{t.r(l),t.d(l,{ContentCardSB:()=>x});var n=t(6029),i=t(75155),r=t(66186),a=t(41834),o=t(5818),d=t(12697);let u={Calendar:(0,n.jsx)(a.A0M,{}),Pin:(0,n.jsx)(a.uWp,{})},s=e=>{let l,t,u,s,g,f,v,p,h,m,b,y,_,x,k=(0,i.c)(37),{_uid:E,title:j,description:w,list:M,offers:C,label:D,ctaLink:N,image:I}=e;if(k[0]!==E||k[1]!==N||k[2]!==I||k[3]!==D||k[4]!==C){let e=(0,d.f)(C||[]);t=a.ZpM,f=E,v="relative h-full",p=N,l=a.VoS,u="relative h-[180px] md:h-[240px]",k[13]!==I?(s=(null==I?void 0:I.filename)?{srcSet:{default:I.filename},alt:I.alt}:void 0,k[13]=I,k[14]=s):s=k[14],g=C&&C.length>0&&(0,n.jsx)(a.JU7,{className:"!absolute bottom-[20px] right-0 z-10",color:(0,o.G)(e),label:D||e,alignment:"right"}),k[0]=E,k[1]=N,k[2]=I,k[3]=D,k[4]=C,k[5]=l,k[6]=t,k[7]=u,k[8]=s,k[9]=g,k[10]=f,k[11]=v,k[12]=p}else l=k[5],t=k[6],u=k[7],s=k[8],g=k[9],f=k[10],v=k[11],p=k[12];k[15]!==l||k[16]!==u||k[17]!==s||k[18]!==g?(h=(0,n.jsx)(l,{className:u,image:s,children:g}),k[15]=l,k[16]=u,k[17]=s,k[18]=g,k[19]=h):h=k[19],k[20]!==j?(m=(0,n.jsx)(a.ZBx,{children:j}),k[20]=j,k[21]=m):m=k[21],k[22]!==M?(b=M&&(null==M?void 0:M.length)>0&&(0,n.jsx)(a.z55,{items:M.map(c)}),k[22]=M,k[23]=b):b=k[23];let S=w||"";return k[24]!==S?(y=(0,n.jsx)(r.o,{content:S}),k[24]=S,k[25]=y):y=k[25],k[26]!==y||k[27]!==b?(_=(0,n.jsxs)(a.bwi,{children:[b,y]}),k[26]=y,k[27]=b,k[28]=_):_=k[28],k[29]!==t||k[30]!==_||k[31]!==f||k[32]!==v||k[33]!==p||k[34]!==h||k[35]!==m?(x=(0,n.jsxs)(t,{className:v,link:p,children:[h,m,_]},f),k[29]=t,k[30]=_,k[31]=f,k[32]=v,k[33]=p,k[34]=h,k[35]=m,k[36]=x):x=k[36],x};function c(e){return(0,n.jsxs)("span",{className:"flex items-center gap-2",children:[e.icon&&u[e.icon],e.label]},e._uid)}var g=t(52388),f=t(28148),v=t(33574),p=t(53425),h=t(88454),m=t(99280);let b=e=>(null==e?void 0:e.component)==="EventCard";var y=t(95525),_=t(18794);let x=e=>{var l,t,r,a,o,d,u,c,_,x;let M,C,D,N,I,S,T=(0,i.c)(43),{blok:V}=e;if(!V)return null;let{title:F,description:O,offer:Y,label:K,ctaLink:L,image:R,list:A,_uid:W,relatedStory:X}=V,B=null==X?void 0:X[0],G=(0,m.S)(B)?B:null;if(T[0]!==W||T[1]!==V||T[2]!==R||T[3]!==L||T[4]!==O||T[5]!==K||T[6]!==A||T[7]!==Y||T[8]!==G||T[9]!==F){N=Symbol.for("react.early_return_sentinel");e:{let{introCard:e,heroSection:i}=null!=(l=null==G?void 0:G.content)?l:{},o=(null==e?void 0:e[0])||(b(e)?e:void 0),d=F||(null==G?void 0:G.name)||"No title given";D=j(R)||j(null==i||null==(a=i[0])||null==(r=a.images)||null==(t=r[0])?void 0:t.mobile);let u=(null==A?void 0:A.map(k))||[];if(M=w(L)||((null==G?void 0:G.full_slug)?{href:G.full_slug}:void 0),C={_uid:W,title:d,description:O||"",offers:(null==Y?void 0:Y.length)?Y:[],label:K||"",ctaLink:M,image:D,list:u},!G){N=(0,n.jsx)(s,{...C});break e}if((0,y.n)(o)){let{header:e,text:l,label:t}=o;N=(0,n.jsx)(s,{...C,title:d||e,description:O||l||"",label:K||t||"",list:u});break e}if(b(o)){let e,l,{startDate:t,endDate:i,locations:r,header:a,markdown:c,label:v,offer:p}=o,m=(0,g.g)(r),b=(0,f.i)(t,i,{day:"numeric",month:"long"}),y=u.length>0?u:E(W,b,m);T[14]!==V?(e=(0,h.d)(V),T[14]=V,T[15]=e):e=T[15];let _=d||a,x=O||(c||"").replace(/\*\*/g,"").replace(/#+\s*/g,"").split(/\n+|\s+-\s+/).map(e=>
1e.replace(/^-\s+/,"").trim()).filter(Boolean).map(e=>/[.!?]$/.test(e)?e:e+".").join(" ").replace(/[.!?]+$/,"."),k=(null==Y?void 0:Y.length)?Y:p||[],j=K||v||"";T[16]!==C||T[17]!==y||T[18]!==e||T[19]!==_||T[20]!==x||T[21]!==k||T[22]!==j?(l=(0,n.jsx)(s,{...e,...C,title:_,description:x,offers:k,label:j,list:y}),T[16]=C,T[17]=y,T[18]=e,T[19]=_,T[20]=x,T[21]=k,T[22]=j,T[23]=l):l=T[23],N=l;break e}}T[0]=W,T[1]=V,T[2]=R,T[3]=L,T[4]=O,T[5]=K,T[6]=A,T[7]=Y,T[8]=G,T[9]=F,T[10]=M,T[11]=C,T[12]=D,T[13]=N}else M=T[10],C=T[11],D=T[12],N=T[13];if(N!==Symbol.for("react.early_return_sentinel"))return N;if((null==G||null==(x=G.content)||null==(_=x.topicType)?void 0:_.topic)==="press"){let e,l,t,i=null==G?void 0:G.content,r=i._uid,a=i.introCard[0],g=null==a?void 0:a.header,f=null==a?void 0:a.text,m=(null==f?void 0:f.length)&&f.length>125?f.slice(0,100)+"...":f;if(T[24]!==r||T[25]!==(null==a?void 0:a.date)||T[26]!==(null==a||null==(o=a.province)?void 0:o[0].province)){let l=null==a||null==(u=a.province)||null==(d=u[0].province)?void 0:d.toString(),t=null==a?void 0:a.date;e=E(r,t?(0,v.Y)((0,p.X)(t),{day:"numeric",month:"long",year:"numeric"}):void 0,l),T[24]=r,T[25]=null==a?void 0:a.date,T[26]=null==a||null==(c=a.province)?void 0:c[0].province,T[27]=e}else e=T[27];let b=e;T[28]!==V?(l=(0,h.d)(V),T[28]=V,T[29]=l):l=T[29];let y=g||"",_=m||"";return T[30]!==r||T[31]!==M||T[32]!==b||T[33]!==D||T[34]!==l||T[35]!==y||T[36]!==_?(t=(0,n.jsx)(s,{...l,_uid:r,title:y,description:_,list:b,image:D,ctaLink:M}),T[30]=r,T[31]=M,T[32]=b,T[33]=D,T[34]=l,T[35]=y,T[36]=_,T[37]=t):t=T[37],t}return T[38]!==V?(I=(0,h.d)(V),T[38]=V,T[39]=I):I=T[39],T[40]!==C||T[41]!==I?(S=(0,n.jsx)(s,{...I,...C}),T[40]=C,T[41]=I,T[42]=S):S=T[42],S},k=e=>({label:e.label,icon:e.icon||void 0,_uid:e._uid}),E=(e,l,t)=>{let n=[];return l&&n.push({label:l,icon:"Calendar",_uid:"date-".concat(e),component:"LabelWithIcon"}),t&&n.push({label:t,icon:"Pin",_uid:"location-".concat(e),component:"LabelWithIcon"}),n},j=e=>(null==e?void 0:e.filename)?{filename:e.filename,alt:e.alt||""}:void 0,w=e=>{var l,t;if(!(null==e?void 0:e.length))return;let n=e[0];return"string"==typeof n?{href:(0,_.n)(n)}:{href:(0,_.n)(n.linkHref||n.link),target:(null==(l=n.linkHref)?void 0:l.target)||(null==(t=n.link)?void 0:t.target)}}}}]);

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.