PageSourceSearch

https://laylasleep.com/_next/static/chunks/9300-2c8c0ba02bbf7f20.js

js laylasleep.com collected 2026-10-02 06:20:57 UTC 6,374 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9300],{29866:(e,t,n)=>{n.d(t,{A:()=>c});var a=n(37876),i=n(27196),l=n(89099),o=n(14232),r=n(53655);let s=["".concat("laylasleep.com"),"laylasleep.com"],c=e=>{let{children:t,...n}=e,{popupKey:c,setPopupKey:d}=(0,i.useSafeContext)(r.u),h=(0,o.useRef)(null),u=(0,l.useRouter)();return(0,o.useEffect)(()=>{let e=async(e,t)=>{let n,a=e.target;if(t&&!t.contains(a))return;let l=a.closest("a");if(!l)return;let o=l.getAttribute("href")||"";if(!o)return;if(/^(mailto:|tel:|sms:|whatsapp:|viber:|skype:)/i.test(o)||o.includes("#faq-")){null==d||d(void 0);return}if(o.includes("#bundles"))return;let r=/^https?:\/\//.test(o),c=s.some(e=>o.includes(e));if(r&&!c||"_blank"===l.getAttribute("target")){var h;e.preventDefault(),null==(h=window.open(o,"_blank","noopener,noreferrer"))||h.focus();return}if(o.startsWith("#")){e.preventDefault(),await (0,i.delay)(0),null==d||d(void 0),await u.replace({pathname:"/".concat((0,i.truncateSlashesAndRemoveQueryHashes)(u.asPath)),hash:o},void 0,{shallow:!0,scroll:!1}).catch(e=>{if(!e.cancelled)throw e});return}try{n=new URL(o,window.location.origin)}catch(e){return}let p={};n.searchParams.forEach((e,t)=>{p[t]=e}),u.pathname.replace(/\/+$/,"")===n.pathname.replace(/\/+$/,"")&&n.hash?(e.preventDefault(),await (0,i.delay)(0),null==d||d(void 0),await u.replace({pathname:u.pathname,hash:n.hash},void 0,{shallow:!0,scroll:!1}).catch(e=>{if(!e.cancelled)throw e})):(e.preventDefault(),u.push({pathname:n.pathname,query:p,hash:n.hash}))},t=h.current;if(t)return t.addEventListener("click",n=>e(n,t)),()=>t.removeEventListener("click",n=>e(n,t))},[u,d]),(0,a.jsx)("div",{ref:h,...n,children:t})}},39244:(e,t,n)=>{n.d(t,{V:()=>r});var a=n(15037),i=n(14232),l=n(71682);let o=["mousemove","touchstart","mousewheel","keydown","scroll"],r=()=>{let[e,t]=(0,i.useState)();return(0,l.Z)(async()=>{if("object"!=typeof document)return;let{setCookie:i,getCookie:l}=await n.e(8248).then(n.t.bind(n,38248,23));if(e)return;if(await l(a.o0.USER_INTERACTED))return void t(!0);let r=()=>{t(!0);let e=new Date;e.setFullYear(e.getFullYear()+1),i(a.o0.USER_INTERACTED,"true",{expires:e}),o.forEach(e=>{window.removeEventListener(e,r)})};return o.forEach(e=>{window.addEventListener(e,r)}),()=>{o.forEach(e=>{window.removeEventListener(e,r)})}},[e]),e}},46139:(e,t,n)=>{n.d(t,{A:()=>i});var a=n(27196);let i=e=>(0,a.createCustomIcon)({tag:"svg",attr:{role:"presentation",id:"Layer_2",viewBox:"0 0 26.69 26.69"},child:[{tag:"g",attr:{id:"Layer_1-2"},child:[{tag:"path",attr:{d:"m13.34,26.69C5.99,26.69,0,20.7,0,13.34S5.99,0,13.34,0s13.34,5.99,13.34,13.34-5.99,13.34-13.34,13.34Zm0-25.69C6.54,1,1,6.54,1,13.34s5.54,12.34,12.34,12.34,12.34-5.54,12.34-12.34S20.15,1,13.34,1Z"},child:[]},{tag:"rect",attr:{x:"12.9",y:"8.71",width:"1.73",height:"10.38",transform:"translate(27.66 .14) rotate(90)"},child:[]}]}]})(e)},61978:(e,t,n)=>{n.d(t,{A:()=>v});var a=n(37876),i=n(14232),l=n(27196),o=n(22722),r=n(39244),s=n(96920),c=n(75784),d=n(51920),h=n(66144),u=n(96916),p=n(29866);let m=async()=>(await Promise.all([n.e(2293),n.e(7116)]).then(n.bind(n,67116))).default,y=e=>{let{children:t,open:n,animation:i}=e;return(0,a.jsx)(s.F,{features:m,strict:!0,children:(0,a.jsx)(c.N,{mode:"wait",initial:!0,children:n&&(0,a.jsx)(d.m.div,{..."slideUpDown"===i?{...h.Yo}:void 0,children:(0,a.jsx)(p.A,{children:(0,a.jsx)(u.A,{children:t})})})})})},v=e=>{let{type:t="single",items:n,wrapperClasses:s,itemClasses:c,iconPosition:d="start",animation:h="slideUpDown",defaultOpenIndex:u,onToggle:p}=e,m=(0,r.V)(),{userInteracted:v,isChromeLighthouse:w}=(0,l.useSafeContext)(o.GlobalContext),[f,g]=(0,i.useState)(n&&(void 0!==u?n.map((e,t)=>({...e,open:t===u})):n.map(e=>({...e,open:!1})))),x=e=>{g(n=>{var a;let i=null==n?void 0:n.map((n,a)=>("single"===t?a===e?n.open=!n.open:n.open=!1:a===e&&(n.open=!n.open),n));return null==p||p(e,null==i||null==(a=i.find((t,n)=>n===e))?void 0:a.open),i})};return(0,a.jsx)("div",{className:(0,l.classNames)(null!=s?s:[]),children:null==f?void 0:f.map((e,t)=>(0,a.jsxs)("div",{className:(0,l.classNames)(null!=c?c:[]),children:[e.content?(0,a.jsxs)("button",{onClick:()=>{x(t)},type:"button",children:["start"===d&&(e.open?(0,l.isFunction)(e.iconOpen)?e.iconOpen():e.iconOpen:(0,l.isFunction)(e.iconClose)?e.iconClose():e.iconClose),(0,l.isFunction)(e.title)?e.title():e.title,"end"===d&&(e.open?(0,l.isFunction)(e.iconOpen)?e.iconOpen():e.iconOpen:(0,l.isFunction)(e.iconClose)?e.iconClose():e.iconClose)]}):(0,l.isFunction)(e.title)?e.title():e.title,e.content&&!w&&(v||m)&&(0,a.jsx)(y,{open:e.open,animation:h,children:(0,l.isFunction)(e.content)?e.content():e.content})]},t))})}},62259:(e,t,n)=>{n.d(t,{A:()=>i});var a=n(27196);let i=e=>(0,a.createCustomIcon)({tag:"svg",attr:{role:"presentation",id:"Layer_2",viewBox:"0 0 26.69 26.69"},child:[{tag:"g",attr:{id:"Layer_1-2"},child:[{tag:"path",attr:{d:"m13.34,26.69C5.99,26.69,0,20.7,0,13.34S5.99,0,13.34,0s13.34,5.99,13.34,13.34-5.99,13.34-13.34,13.34Zm0-25.69C6.54,1,1,6.54,1,13.34s5.54,12.34,12.34,12.34,12.34-5.54,12.34-12.34S20.15,1,13.34,1Z"},child:[]},{tag:"rect",attr:{x:"12.9",y:"8.71",width:"1.73",height:"10.38"},child:[]},{tag:"rect",attr:{x:"12.9",y:"8.71",width:"1.73",height:"10.38",transform:"translate(27.66 .14) rotate(90)"},child:[]}]}]})(e)},66144:(e,t,n)=>{n.d(t,{Qr:()=>i,Wn:()=>r,Yo:()=>o,b$:()=>l,eO:()=>s,nU:()=>a});let a={style:{overflow:"hidden"},initial:{height:0},animate:{height:"auto"},exit:{height:0},transition:{type:"tween",duration:.3,delay:0,ease:"linear"}},i={initial:{x:"100%",opacity:0}
1,animate:{x:0,opacity:1},exit:{x:"100%",opacity:0},transition:{type:"tween",duration:.3,ease:"easeInOut"}},l={initial:{x:"-100%",opacity:0},animate:{x:0,opacity:1},exit:{x:"-100%",opacity:0},transition:{type:"tween",duration:.3,ease:"easeInOut"}},o={style:{overflow:"hidden"},initial:{height:0,opacity:0},animate:{height:"auto",opacity:1},exit:{height:0,opacity:0},transition:{type:"tween",duration:.3,delay:0,ease:"linear"}},r={initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},transition:{type:"tween",duration:.3,delay:0,ease:"linear"}},s=(e,t)=>({style:{overflow:t?"visible":"hidden"},transition:{type:"tween",duration:.1,ease:"linear"},initial:{height:0,opacity:0,margin:0,padding:0},...e?{animate:{height:"auto",opacity:1}}:{animate:{display:"none",height:0,opacity:0,margin:0,padding:0}}})}}]);

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.