PageSourceSearch

https://noli.com/_next/static/chunks/app/(home-pages)/layout-06d135b2ef4b44f9.js?dpl=2_0_1522

js noli.com collected 2026-09-29 16:03:11 UTC 8,850 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[505],{4889:(e,t,r)=>{"use strict";r.d(t,{StackDivider:()=>a});var n=r(94799),s=r(75718);let a=e=>(0,n.jsx)(s.chakra.div,{className:"chakra-stack__divider",...e,__css:{...e.__css,borderWidth:0,alignSelf:"stretch",borderColor:"inherit",width:"auto",height:"auto"}});a.displayName="StackDivider"},11058:(e,t,r)=>{Promise.resolve().then(r.bind(r,71098)),Promise.resolve().then(r.bind(r,93480)),Promise.resolve().then(r.bind(r,66222))},15439:(e,t,r)=>{"use strict";r.d(t,{Y:()=>s});var n=r(24401);function s(e,t){return+(0,n.a)(e)<+(0,n.a)(t)}},15584:(e,t,r)=>{"use strict";r.d(t,{f:()=>a});var n=r(24401),s=r(37139);function a(e,t){let r=(0,n.a)(e);return isNaN(t)?(0,s.w)(e,NaN):(t&&r.setDate(r.getDate()+t),r)}},22068:()=>{},24037:()=>{},24401:(e,t,r)=>{"use strict";function n(e){let t=Object.prototype.toString.call(e);return e instanceof Date||"object"==typeof e&&"[object Date]"===t?new e.constructor(+e):new Date("number"==typeof e||"[object Number]"===t||"string"==typeof e||"[object String]"===t?e:NaN)}r.d(t,{a:()=>n})},33524:(e,t,r)=>{"use strict";r.d(t,{m:()=>i});var n=r(55971),s=r(24401);function a(e){let t=(0,s.a)(e);return t.setHours(0,0,0,0),t}function o(e){let t=(0,s.a)(e),r=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return r.setUTCFullYear(t.getFullYear()),e-r}function i(e,t){let r=a(e),s=a(t);return Math.round((r-o(r)-(s-o(s)))/n.w4)}},37139:(e,t,r)=>{"use strict";function n(e,t){return e instanceof Date?new e.constructor(t):new Date(t)}r.d(t,{w:()=>n})},37618:(e,t,r)=>{"use strict";r.d(t,{F:()=>p});var n=r(15584),s=r(24401),a=r(37139);function o(e,t){let{years:r=0,months:o=0,weeks:i=0,days:l=0,hours:u=0,minutes:c=0,seconds:d=0}=t,g=(0,s.a)(e),p=o||r?function(e,t){let r=(0,s.a)(e);if(isNaN(t))return(0,a.w)(e,NaN);if(!t)return r;let n=r.getDate(),o=(0,a.w)(e,r.getTime());return(o.setMonth(r.getMonth()+t+1,0),n>=o.getDate())?o:(r.setFullYear(o.getFullYear(),o.getMonth(),n),r)}(g,o+12*r):g,h=l||i?(0,n.f)(p,l+7*i):p;return(0,a.w)(e,h.getTime()+1e3*(d+60*(c+60*u)))}var i=r(33524);function l(e,t){let r=e.getFullYear()-t.getFullYear()||e.getMonth()-t.getMonth()||e.getDate()-t.getDate()||e.getHours()-t.getHours()||e.getMinutes()-t.getMinutes()||e.getSeconds()-t.getSeconds()||e.getMilliseconds()-t.getMilliseconds();return r<0?-1:r>0?1:r}function u(e){return t=>{let r=(e?Math[e]:Math.trunc)(t);return 0===r?0:r}}var c=r(55971);function d(e,t){return(0,s.a)(e)-(0,s.a)(t)}function g(e,t){let r=(0,s.a)(e),n=(0,s.a)(t),a=r.getTime()-n.getTime();return a<0?-1:a>0?1:a}function p(e){let t,r,n,a,p,h,m,f,y,v,b,E,M,x,N,D,w,F=(0,s.a)(e.start),P=(0,s.a)(e.end),j={},C=(t=(0,s.a)(P),n=g(t,r=(0,s.a)(F)),h=Math.abs((a=(0,s.a)(t),p=(0,s.a)(r),a.getFullYear()-p.getFullYear())),t.setFullYear(1584),r.setFullYear(1584),m=g(t,r)===-n,0==(f=n*(h-m))?0:f);C&&(j.years=C);let S=o(F,{years:j.years}),T=function(e,t){var r;let n,a,o,i=(0,s.a)(e),l=(0,s.a)(t),u=g(i,l),c=Math.abs((a=(0,s.a)(i),o=(0,s.a)(l),12*(a.getFullYear()-o.getFullYear())+(a.getMonth()-o.getMonth())));if(c<1)n=0;else{let t,a,o,d;1===i.getMonth()&&i.getDate()>27&&i.setDate(30),i.setMonth(i.getMonth()-u*c);let p=g(i,l)===-u;r=(0,s.a)(e),+(t=(0,s.a)(r),(a=(0,s.a)(t)).setHours(23,59,59,999),a)==+(d=(o=(0,s.a)(t)).getMonth(),o.setFullYear(o.getFullYear(),d+1,0),o.setHours(23,59,59,999),o)&&1===c&&1===g(e,l)&&(p=!1),n=u*(c-Number(p))}return 0===n?0:n}(P,S);T&&(j.months=T);let Y=o(S,{months:j.months}),O=(y=(0,s.a)(P),b=l(y,v=(0,s.a)(Y)),E=Math.abs((0,i.m)(y,v)),y.setDate(y.getDate()-b*E),M=Number(l(y,v)===-b),0==(x=b*(E-M))?0:x);O&&(j.days=O);let _=o(Y,{days:j.days}),k=(N=d(P,_)/c.s0,u(void 0)(N));k&&(j.hours=k);let H=o(_,{hours:j.hours}),I=(D=d(P,H)/c.Cg,u(void 0)(D));I&&(j.minutes=I);let B=(w=d(P,o(H,{minutes:j.minutes}))/1e3,u(void 0)(w));return B&&(j.seconds=B),j}},51599:(e,t,r)=>{"use strict";r.d(t,{E:()=>s});var n,s=((n={}).NOT_PUBLISHED="not_published",n.FORBIDDEN="forbidden",n)},55971:(e,t,r)=>{"use strict";r.d(t,{Cg:()=>a,my:()=>n,s0:()=>o,w4:()=>s});let n=6048e5,s=864e5,a=6e4,o=36e5},65997:(e,t,r)=>{"use strict";r.d(t,{V:()=>a});var n=r(33696),s=r(41504);let a=(e,t)=>{let{bdnaService:r}=(0,s.aN)(),{user:a,userIsReady:o,isAnonymous:i}=(0,s.GU)(),l=i?"anonymous":a?.id,u=(t?.enabled??!0)&&o;return(0,n.Vg)(r,e,l,{...t,enabled:u})}},66222:(e,t,r)=>{"use strict";r.r(t),r.d(t,{PromoModal:()=>C,useCase:()=>j});var n,s=r(94799),a=r(15439),o=r(60979),i=r(43474),l=r(41504),u=r(71801),c=r(19906),d=r(33750),g=r(36252),p=r(66774),h=r(4465),m=r(25174),f=r(76636),y=r(58909),v=r(74767),b=r(14997),E=r(22664),M=r(99187),x=r(34023),N=r(81535),D=r(60216),w=r(45206),F=r(85392);let P=({data:e,displayPreconditionsMet:t,displayTimeoutMs:r=1,onDisplayCallback:n,initialOpen:a=!1,onCtaClick:o,forceOpen:i=!1,isInteractionNeeded:l=!1})=>{let u=(0,g.useMultiStyleConfig)("PopupModal"),c=(0,N.lze)(),d=(0,x.useRef)(!1),P=(0,x.useRef)(!1),j=(0,x.useRef)(!1),{isOpen:C,onOpen:S,onClose:T}=(0,p.useDisclosure)({defaultIsOpen:a}),Y=()=>{P.current||!e||d.current||(P.current=!0,d.current=!0,S(),n?.())};return((0,x.useEffect)(()=>
1{i&&!P.current&&Y()},[i]),(0,x.useEffect)(()=>{if(!t||P.current)return;let e=setTimeout(()=>{j.current=!0,l||Y()},r);return()=>clearTimeout(e)},[t]),(0,x.useEffect)(()=>{if(!t||P.current||a)return;let e=window.scrollY,r=t=>{j.current&&((c?"scroll"===t.type&&window.scrollY<e:t instanceof MouseEvent&&(t.clientY<=0||t.clientY>=window.innerHeight||t.clientX<=0||t.clientX>=window.innerWidth))&&Y(),e=window.scrollY)};return document.addEventListener("mouseleave",r),document.addEventListener("scroll",r),()=>{document.removeEventListener("mouseleave",r),document.removeEventListener("scroll",r)}},[t,c,a]),e&&d.current)?(0,s.jsxs)(h.Modal,{onClose:T,size:"full",isOpen:C,blockScrollOnMount:!1,trapFocus:!1,children:[(0,s.jsx)(m.ModalOverlay,{}),(0,s.jsxs)(f.ModalContent,{sx:u.container,children:[(0,s.jsx)(D.$,{sx:u.closeButton,size:"sm",variant:"primaryLight",onClick:T,"data-testid":"popupCloseButton","aria-label":"Close popup",children:(0,s.jsx)(N.w0d,{width:6,height:6})}),(0,s.jsxs)(y.Flex,{sx:u.contentContainer,children:[(0,s.jsx)(v.ModalHeader,{sx:u.contentHeader,children:(0,s.jsx)(b.Box,{sx:u.imageContainer,children:(0,s.jsx)(N.p$y,{src:e.image?.url??"",alt:"Popup image",style:{objectFit:"cover",objectPosition:"center",height:"100%",width:"100%"}})})}),(0,s.jsx)(E.ModalBody,{sx:u.contentBody,children:(0,s.jsxs)(y.Flex,{sx:u.textContainer,children:[(0,s.jsx)(M.Text,{textStyle:"display.d2","data-testid":"popupTitle",children:e.title}),e.subTitle&&(0,s.jsx)(M.Text,{textStyle:"body.semibold","data-testid":"popupSubTitle",children:e.subTitle}),e.description&&(0,s.jsx)(M.Text,{textStyle:"body.label","data-testid":"popupDescription",children:e.description}),e.consentForm&&(0,s.jsx)(F.k,{cmsProps:{name:e?.consentForm?.fields?.name,componentId:e?.consentForm?.fields?.componentId},contextProps:{analytics:{page_category:"marketing-popup"}}}),e.cta&&(0,s.jsx)(w.ButtonLink,{href:e.cta.url??"#",size:"md",variant:"primary",onClick:()=>o?.(),children:e.cta.text})]})})]})]})]}):null};var j=((n={}).EVERYONE="Everyone",n.NON_AUTHENTICATED="Non-authenticated",n);let C=({initialOpen:e=!1,forceOpen:t=!1})=>{let{user:r}=(0,l.GU)(),{data:n}=(0,u.useQuery)({queryKey:["getMarketingPopup"],enabled:!0,queryFn:()=>c.Z.getMarketingPopup()}),{setCookies:g,getCookie:p}=(0,o.lT)([i.nj.NECESSARY,d.Ei.SHOWN_POPUP]),h=p(i.nj.NECESSARY),m=!p(d.Ei.SHOWN_POPUP)&&!!(n?.useCase==="Everyone"||n?.useCase==="Non-authenticated"&&!r)&&(0,a.Y)(Date.now(),new Date(n?.promotionExpirationDate??""))&&h;return(0,s.jsx)(P,{data:{title:n?.title,subTitle:n?.subTitle,description:n?.description,image:n?.image,cta:n?.cta?.[0],consentForm:n?.consentForm},initialOpen:e,displayTimeoutMs:n?.delayTimeInSeconds?1e3*n.delayTimeInSeconds:void 0,displayPreconditionsMet:m,onDisplayCallback:()=>g([d.Ei.SHOWN_POPUP],d.E7,{path:"/"}),forceOpen:t,isInteractionNeeded:!0})}},71098:(e,t,r)=>{"use strict";r.d(t,{ClientSideMissingProductPopup:()=>i});var n=r(53306),s=r(34023),a=r(81535),o=r(51599);let i=()=>{let e=(0,n.useSearchParams)().get("error"),t=(0,a.iAR)();return(0,s.useEffect)(()=>{switch(e){case o.E.NOT_PUBLISHED:return t({type:a.P7E.Add,alertKey:"product-not-published-error",message:"This product is not currently available, please try another product!",variant:a.iCI.Error});case o.E.FORBIDDEN:return t({type:a.P7E.Add,alertKey:"forbidden-error",message:"You cannot access this page!",variant:a.iCI.Error});default:return}},[e]),null}}},e=>{e.O(0,[7222,5580,2300,561,2854,8741,8202,486,6012,2139,3892,7043,1071,8155,9987,9821,2509,7218,997,3564,6842,9982,659,7461,9155,3043,6311,3570,3160,5286,4834,3341,8449,4385,2791,3651,2799,3541,5392,2655,5761,8607,4169,3480,7408,7838,7358],()=>e(e.s=11058)),_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.