PageSourceSearch

https://almondspirit.com/_next/static/chunks/5723-99ebc3394fb08b21.js?dpl=dpl_HPrU6EbZWkMWhxP8ZUy5uqK2z3nm

js almondspirit.com collected 2026-10-06 07:04:31 UTC 11,343 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5723],{9759:(t,e,l)=>{"use strict";l.d(e,{J:()=>c,LanguageCtxProvider:()=>d,LanguageSetter:()=>h});var n=l(95155),o=l(12115),i=l(58978),a=l(47605),r=l(20063),u=l(91676);let s=(0,o.createContext)({}),d=t=>{let{children:e}=t,[l,d]=(0,o.useState)(i.RC),[c,h]=(0,o.useState)([]),{triggerTransition:v}=(0,u.b)(),g=(0,r.usePathname)(),m=(0,o.useCallback)((t,e)=>{var l;let n;null==e||e();let o=null==c?void 0:c.find(e=>(null==e?void 0:e.language)===t),r=null!=(l=null==o?void 0:o.slug)?l:"",u="/"===r?"":r.replace(/^\//,"");(n=t===i.RC?u?"/".concat(u):"/":u?"/".concat(t,"/").concat(u):"/".concat(t))!==g&&(a.os.set("nav",{zIndex:"var(--z-transition-animation)"}),v(n,null))},[g,c]);return(0,o.useEffect)(()=>{var t;let e=null!=(t=null==g?void 0:g.split("/")[1])?t:"";d(i.r4.has(e)?e:i.RC)},[g]),(0,n.jsx)(s.Provider,{value:{currentLanguage:l,setCurrentLanguage:d,translations:c,setTranslations:h,changeLanguage:m},children:e})},c=()=>(0,o.useContext)(s),h=t=>{let{language:e,translations:l}=t,{setTranslations:n,setCurrentLanguage:i}=c();return(0,o.useEffect)(()=>{i(e||""),n(l||null)},[e,l,i,n]),null}},15488:(t,e,l)=>{"use strict";l.d(e,{LoaderCtxProvider:()=>a,M:()=>r});var n=l(95155),o=l(12115);let i=(0,o.createContext)({}),a=t=>{let{children:e}=t,[l,a]=(0,o.useState)(!1),[r,u]=(0,o.useState)(!1);return(0,n.jsx)(i.Provider,{value:{isAgeGateResolved:l,setIsAgeGateResolved:a,isPageLoaded:r,setIsPageLoaded:u},children:e})},r=()=>(0,o.useContext)(i)},30925:(t,e,l)=>{"use strict";l.d(e,{D:()=>r,SanityThemeSetter:()=>s,ThemeCtxProvider:()=>a,X:()=>u});var n=l(95155),o=l(12115);let i=(0,o.createContext)({}),a=t=>{let{children:e}=t,[l,a]=(0,o.useState)({id:null,colorMode:"light"}),[r,u]=(0,o.useState)({id:null}),[s,d]=(0,o.useState)("dark"),[c,h]=(0,o.useState)("bronze");return(0,o.useEffect)(()=>{document.body.dataset.theme=s},[s]),(0,o.useEffect)(()=>{document.body.dataset.colorScheme=c},[c]),(0,n.jsx)(i.Provider,{value:{navTheme:l,setNavTheme:a,footerTheme:r,setFooterTheme:u,pageColorMode:s,setPageColorMode:d,colorScheme:c,setColorScheme:h},children:e})},r=()=>(0,o.useContext)(i),u=t=>{let{navTheme:e,footerTheme:l,pageColorMode:n,colorScheme:i}=t,{setNavTheme:a,setFooterTheme:u,setPageColorMode:s,setColorScheme:d}=r();return(0,o.useEffect)(()=>{e&&a(t=>{var l,n;return{id:null!=(l=e.id)?l:t.id,colorMode:null!=(n=e.colorMode)?n:t.colorMode}}),l&&u(t=>{var e;return{id:null!=(e=l.id)?e:t.id}}),n&&s(n),i&&d(i)},[e,l,n,i,a,u,s,d]),null},s=t=>{var e,l,o,i;let{themeData:a,navColorMode:r}=t;return(0,n.jsx)(u,{navTheme:{id:null!=(o=null==a||null==(e=a.nav)?void 0:e._ref)?o:null,colorMode:r},footerTheme:{id:null!=(i=null==a||null==(l=a.footer)?void 0:l._ref)?i:null},colorScheme:(null==a?void 0:a.colorScheme)==="orange"?"orange":"bronze"})}},40036:t=>{t.exports={"mobile-only":"RoutingContext_mobile-only__6Y_1N","desktop-only":"RoutingContext_desktop-only__McQaL","desktop-tablet-only":"RoutingContext_desktop-tablet-only__CF2DJ","phone-only":"RoutingContext_phone-only__RZ46e","tablet-only":"RoutingContext_tablet-only__0C2Rs",curtain:"RoutingContext_curtain__bf_Nk"}},42787:(t,e,l)=>{"use strict";l.d(e,{gy:()=>i,kw:()=>a,ol:()=>o});var n=l(82543);let o=(t,e,l)=>{"number"==typeof t&&(t="".concat(Math.ceil(t/1920*100),"vw")),"number"==typeof e&&(e="".concat(Math.ceil(e/768*100),"vw")),"number"==typeof l&&(l="".concat(Math.ceil(l/375*100),"vw"));let n="";return l&&(n+="(max-width: 768px) ".concat(l,", ")),e&&(n+="(max-width: 952px) ".concat(e,", ")),n+="".concat(t)},i=(t,e,l)=>{var n,o;let i=null==t||null==(o=t.asset)||null==(n=o.metadata)?void 0:n.dimensions;return(l||e)&&(!e&&l&&(null==i?void 0:i.width)&&(null==i?void 0:i.height)&&(e=Math.ceil(l/i.height*i.width)),!l&&e&&(null==i?void 0:i.width)&&(null==i?void 0:i.height)&&(l=Math.ceil(e/i.width*i.height))),{width:e,height:l}},a=(t,e,l)=>{if(!(null==t?void 0:t.asset))return;let o=(0,n.ij)(t);return((null==e?void 0:e.width)||(null==e?void 0:e.height))&&(e.width&&(o=null==o?void 0:o.width(e.width*(null!=l?l:2))),e.height&&(o=null==o?void 0:o.height(e.height*(null!=l?l:2)))),o}},58158:(t,e,l)=>{"use strict";l.d(e,{Q:()=>o});var n=l(30926);let o=(0,n.createServerReference)("7ff1d02cec67b3299b9a21fe83b1769cbb2b6e5a3c",n.callServer,void 0,n.findSourceMapURL,"revalidateSyncTags")},75840:(t,e,l)=>{"use strict";l.d(e,{Gv:()=>s,S1:()=>u,p2:()=>r});var n=l(2616),o=l(14647),i=l(55580),a=l(47605);let r=function(){let t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];a.os.registerPlugin(i.u,n.R,o.I);let e=n.R.get();e&&e.paused(t),t?a.os.set(document.body,{overflow:"hidden"}):a.os.set(document.body,{overflowY:"scroll"})},u=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=n.R.get();e?e.scrollTop(t):window.scrollTo(0,t)},s=t=>{let{target:e="",position:l="",pxPosition:o=-1,duration:i=1.5,ease:u="power2.inOut"}=t,s=n.R.get(),d=a.os.timeline();if(s&&e&&l){let t=Math.min(l?s.offset(e,l):o,s.offset("body","bottom bottom"));d.to(s,{scrollTop:t,duration:i,ease:u,onStart:()=>{r(!1)}})}else o>=0&&d.to(window,{scrollTo:o,duration:i,ease:u,onStart:()=>{r(!1)}});return d}},81789:(t,e,l)=>{"use strict";l.d(e,{SanityImage:()=>u});var n=l(95155),o=l(12115),i=l(42787),a=l(9759),r=l(15239);let u=t=>{if("object"!=typeof t.image||null===t.image)return null;let e=t.image.desktop;return e&&"object"==typeof e?(0,n.jsx)(h,{...t,image:t.image}):(0,n.jsx)(v,{...t,image:t.image})},s=(t,e,l)=>'\n<svg width="'.concat(t,'" height="').concat(e,'" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n  <image\n    width="').concat(t,'"\n    height="').concat(e,'"\n    x="0"\n    y="0"\n    preserveAspectRatio="none"\n    href="').concat(l,'"\n  />\n</svg>'),d=t=>
1window.btoa(t),c=t=>{var e,l,o,u,c,h,v,g,m,p,w,x,f,b,y,S,k,C,_,j,R,T;let{imageData:M,isFill:P,width:L,height:E,sizes:z,className:I="",priority:N=!1,unoptimized:A,noPlaceholer:q=!1,style:D,objectFit:J="cover"}=t,{currentLanguage:Q}=(0,a.J)();if(!M)return null;let U=(0,i.gy)(M,L,E),W=(0,i.kw)(M,U),Y=null==M?void 0:M.hotspot,F=!q&&!!(null==M||null==(l=M.asset)||null==(e=l.metadata)?void 0:e.lqip)&&(void 0!==U.width&&U.width>=60||void 0!==U.height&&U.height>=60||!U.height&&!U.width),G={"data-hotspot-x":null==Y?void 0:Y.x,"data-hotspot-y":null==Y?void 0:Y.y,"data-hotspot-height":null==Y?void 0:Y.height,"data-hotspot-width":null==Y?void 0:Y.width},O=null!=(x=null!=(w=null!=(p=null==M?void 0:M.alt)?p:null==M||null==(o=M.asset)?void 0:o.altText)?w:null==M||null==(c=M.asset)||null==(u=c.altTexts)?void 0:u[Q])?x:"";return P?(0,n.jsx)("div",{className:I,children:(0,n.jsx)(r.default,{src:(null==W?void 0:W.url())||"",alt:O,width:P?void 0:U.width,height:P?void 0:U.height,sizes:z,priority:N,fill:P,unoptimized:A||(null==M||null==(b=M.asset)||null==(f=b.mimeType)?void 0:f.startsWith("image/svg")),style:{objectFit:J,...D},...G,placeholder:F?"data:image/svg+xml;base64,".concat(d(s(null!=(k=U.width)?k:0,null!=(C=U.height)?C:0,null!=(_=null==M||null==(S=M.asset)||null==(y=S.metadata)?void 0:y.lqip)?_:""))):void 0})}):(0,n.jsx)(r.default,{className:I,src:(null==W?void 0:W.url())||"",alt:O,width:U.width,height:U.height,sizes:z,priority:N,unoptimized:A||(null==M||null==(v=M.asset)||null==(h=v.mimeType)?void 0:h.startsWith("image/svg")),...G,fill:P,style:D,placeholder:F?"data:image/svg+xml;base64,".concat(d(s(null!=(j=U.width)?j:0,null!=(R=U.height)?R:0,null!=(T=null==M||null==(m=M.asset)||null==(g=m.metadata)?void 0:g.lqip)?T:""))):void 0})},h=t=>{var e,l,u,d,c,h,v,g,m,p,w;let x,{image:f,width:b,height:y,responsiveDimensions:S,sizes:k,priority:C,className:_,classNames:j}=t,{currentLanguage:R}=(0,a.J)(),[T,M]=(0,o.useState)(!1),P=(0,o.useCallback)(t=>{(null==t?void 0:t.complete)&&M(!0)},[]),L={width:b,height:y},E=null!=(v=null==S?void 0:S.tablet)?v:L,z=null!=(g=null==S?void 0:S.mobile)?g:E,I=null==(u=f.desktop)||null==(l=u.asset)||null==(e=l.metadata)?void 0:e.lqip,N=I&&b&&y?(x=s(b,y,I),"data:image/svg+xml,".concat(encodeURIComponent(x))):void 0,A={sizes:k,priority:C,alt:(t=>{var e,l,n,o,i,a;return null!=(a=null!=(i=null!=(o=null==t?void 0:t.alt)?o:null==t||null==(e=t.asset)?void 0:e.altText)?i:null==t||null==(n=t.asset)||null==(l=n.altTexts)?void 0:l[R])?a:""})(f.desktop)},{props:{srcSet:q,...D}}=(0,r.getImageProps)({...A,src:(null==(d=(0,i.kw)(f.desktop,L))?void 0:d.url())||"",width:L.width,height:L.height}),{props:{srcSet:J}}=(0,r.getImageProps)({...A,src:(null==(c=(0,i.kw)(null!=(m=f.tablet)?m:f.desktop,E))?void 0:c.url())||"",width:E.width,height:E.height}),{props:{srcSet:Q}}=(0,r.getImageProps)({...A,src:(null==(h=(0,i.kw)(null!=(w=null!=(p=f.mobile)?p:f.tablet)?w:f.desktop,z))?void 0:h.url())||"",width:z.width,height:z.height});return(0,n.jsxs)("picture",{className:null==j?void 0:j.container,style:{backgroundImage:!T&&N?'url("'.concat(N,'")'):void 0,backgroundSize:"cover",backgroundPosition:"center"},children:[(0,n.jsx)("source",{media:"(min-width: 953px)",srcSet:q}),f.tablet&&(0,n.jsx)("source",{media:"(min-width: 768px)",srcSet:J}),f.mobile&&(0,n.jsx)("source",{media:"(max-width: 767px)",srcSet:Q}),(0,n.jsx)("img",{...D,ref:P,className:_,onLoad:()=>M(!0)})]})},v=t=>{let{image:e,fill:l,className:o="",objectFit:i="cover",...a}=t,r=l||!a.width&&!a.height,u={imageData:e,isFill:r,className:o,objectFit:i,...a};return r?(0,n.jsx)("div",{className:o,children:(0,n.jsx)(c,{...u})}):(0,n.jsx)(c,{...u})}},82543:(t,e,l)=>{"use strict";l.d(e,{ij:()=>r,vM:()=>u});var n=l(27883),o=l(34941),i=l(39781);let a=l.n(i)()({projectId:o.Lg||"",dataset:o.RT||""}),r=t=>{if(t)return null==a?void 0:a.image(t).auto("format").fit("max")},u=t=>{try{return(0,n.ly)(t,{dataset:o.RT,projectId:o.Lg}).asset.url}catch(t){return null}}},91676:(t,e,l)=>{"use strict";l.d(e,{RoutingCtxProvider:()=>g,b:()=>m});var n=l(95155),o=l(87460),i=l(12115),a=l(75840),r=l(47605),u=l(40036),s=l.n(u),d=l(39957),c=l(20063),h=l(30925);let v=(0,i.createContext)({}),g=t=>{let{children:e,data:l,productPrefixes:u}=t,[g,m]=(0,i.useState)(!1),[p,w]=(0,i.useState)(!1),x=(0,i.useMemo)(()=>(0,o.P)(l,u),[l,u]),f=(0,c.usePathname)(),b=(0,c.useRouter)(),{setPageColorMode:y,setNavTheme:S,setFooterTheme:k,setColorScheme:C}=(0,h.D)(),_=(0,i.useCallback)(()=>{y("dark"),S({id:null,colorMode:"light"}),k({id:null}),C("bronze")},[y,S,k,C]),j=t=>x[t];return(0,i.useEffect)(()=>{let t=()=>{_()};return window.addEventListener("popstate",t),()=>window.removeEventListener("popstate",t)},[_]),(0,d.L)(()=>{p?((0,a.S1)(0),r.Ay.timeline({onComplete:()=>{r.Ay.set(".".concat(s().curtain),{display:"none"})}}).to(".".concat(s().curtain),{opacity:0,duration:.5,delay:.1,ease:"power2.out",overwrite:!0})):((0,a.S1)(0),w(!0))},[f]),(0,i.useEffect)(()=>{history.scrollRestoration="manual"},[]),(0,n.jsxs)(v.Provider,{value:{isRouteTransitioning:g,hrefTable:x,getHref:j,hrefResolver:t=>{var e;return j(null==(e=t.internalLink)?void 0:e._ref)},triggerTransition:function(){for(var t,e=arguments.length,l=Array(e),n=0;n<e;n++)l[n]=arguments[n];let[o]=l;return m(!0),t=()=>
1{(0,a.S1)(0),m(!1),_(),b.push(o.toString(),{scroll:!1})},r.Ay.timeline({onStart:()=>{r.Ay.set(".".concat(s().curtain),{display:"block"})},onComplete:()=>{null==t||t()}}).to(".".concat(s().curtain),{opacity:1,duration:.6,ease:"power2.out"}),!0}},children:[e,(0,n.jsx)("div",{className:s().curtain})]})},m=()=>(0,i.useContext)(v)}}]);

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.