PageSourceSearch

https://inoui-editions.com/_next/static/chunks/pages/[locale]/louvre/[slug]-10d9194bbbe48bf3.js

js inoui-editions.com collected 2026-09-26 12:31:02 UTC 7,682 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1796],{471:(e,l,t)=>{"use strict";t.d(l,{A:()=>s});var i=t(5182),r=t(3406),a=t(9950),n=t(3700);let s=(0,a.forwardRef)((e,l)=>{let t,a,s,c,o,d,u,g,m,p,h,f,v=(0,r.c)(24);if(v[0]!==e){let{as:l,children:i,className:r,setContainer:n,marginsXMobile:p,marginsXDesktop:h,maxHeightScreen:f,slicesCount:x,prevSliceType:b,_key:y,_type:j,index:N,solidMenu:w,...k}=e;s=l,c=i,o=r,d=n,u=p,g=h,m=f,t=j,a=k,v[0]=e,v[1]=t,v[2]=a,v[3]=s,v[4]=c,v[5]=o,v[6]=d,v[7]=u,v[8]=g,v[9]=m}else t=v[1],a=v[2],s=v[3],c=v[4],o=v[5],d=v[6],u=v[7],g=v[8],m=v[9];let x=void 0===s?"section":s,b=void 0===c?null:c,y=void 0===o?null:o,j=void 0===d||d,N=void 0!==u&&u,w=void 0===g||g,k=void 0!==m&&m;v[10]!==t?(p=!1,v[10]=t,v[11]=p):p=v[11];let _=j&&(N?"grid-container":"grid-container-full"),I=j&&(w?"lg:grid-container":"lg:grid-container-full"),E=j&&k&&"lg:h-screen lg:max-h-[60vw]";return v[12]!==y||v[13]!==I||v[14]!==E||v[15]!==_?(h=(0,n.cn)(_,I,E,y),v[12]=y,v[13]=I,v[14]=E,v[15]=_,v[16]=h):h=v[16],v[17]!==x||v[18]!==b||v[19]!==l||v[20]!==a||v[21]!==h||v[22]!==p?(f=(0,i.jsx)(x,{ref:l,...p,className:h,...a,children:b}),v[17]=x,v[18]=b,v[19]=l,v[20]=a,v[21]=h,v[22]=p,v[23]=f):f=v[23],f})},8226:(e,l,t)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/[locale]/louvre/[slug]",function(){return t(9797)}])},9797:(e,l,t)=>{"use strict";t.r(l),t.d(l,{__N_SSG:()=>k,default:()=>_});var i=t(5182),r=t(3406),a=t(3700),n=t(9950),s=t(4753),c=t(7115),o=t(2715),d=t(4565),u=t(6226),g=t(6414),m=t(7393),p=t(211),h=t(5405),f=t(5861),v=t(4576),x=t(471),b=t(8343),y=t(1094),j=t(4442),N=t(8600);let w=e=>{var l,t;let w,k,_,I,E,P,A,W,C,$,F,{product:O,previousProductSlug:R,nextProductSlug:S,section:X,productPage:q}=e,{slug:z,title:B,gallery:H,productImageNoMargins:D}=O,G=O.description?.split("\n").filter(Boolean),M=G?.slice(G?.length-3).join(" - "),T=(0,s.GL)(),V=(0,n.useRef)(),L=(0,n.useRef)(),[J,K]=(0,n.useState)(),Q=(0,c.A)(),U=(0,o.i$)(e=>e.trackViewItem),Y=(0,y.Ed)();(0,n.useEffect)(()=>{O&&el(O.variantId)},[O?.variantId]);let Z=(0,d.A)(e=>e.scrollTo);(0,n.useEffect)(()=>{Z(0,{immediate:!0})},[O?.slug]);let[ee,el,et]=(0,u.z)(e=>[e.freshProductVariants.find(e=>e.variantId===O.variantId),e.requestFreshProduct,!e.loading&&e.alreadyRequestedVariantIds.includes(O.variantId)],b.x);return(0,n.useEffect)(()=>{O&&!O.disabled&&el(O.variantId)},[O?.variantId]),(0,n.useEffect)(()=>{ee&&U({url:`https://inoui-editions.com${Y({...O,astro:!0}).href}`,product:O,freshProduct:ee})},[ee]),l=e=>{if(V.current){let e=Math.max(document.documentElement.clientHeight,window.innerHeight||0)-V.current.scrollHeight-108;L.current.style.height=`${e}px`}},t=[],A=(0,r.c)(14),W=void 0===t?null:t,void 0!==A[0]?(w=[],A[0]=void 0,A[1]=w):w=A[1],C=w,$=(0,n.useRef)(l),F=(0,n.useRef)(null),A[2]!==l?(k=()=>{$.current=l},_=[l],A[2]=l,A[3]=k,A[4]=_):(k=A[3],_=A[4]),(0,n.useEffect)(k,_),A[5]!==L?(I=()=>{L.current&&F.current.observe(L.current)},A[5]=L,A[6]=I):I=A[6],(0,g.A)(I),A[7]!==W||A[8]!==L?(E=()=>{if(window.IntersectionObserver)return F.current=new IntersectionObserver(e=>{let l=e[0];l&&($.current(l),F.current.unobserve(l.target))},W||{}),F.current.observe(L.current),()=>{F.current.disconnect()}},A[7]=W,A[8]=L,A[9]=E):E=A[9],A[10]!==C||A[11]!==W||A[12]!==L?(P=[L,W,...C],A[10]=C,A[11]=W,A[12]=L,A[13]=P):P=A[13],(0,n.useEffect)(E,P),(0,i.jsxs)("div",{className:(0,a.cn)("grid-container"),children:[(0,i.jsxs)(x.A,{as:"article",marginsXDesktop:!1,marginsXMobile:!1,className:(0,a.cn)("min-h-[calc(100svh-100px-var(--header-height-usp))] lg:h-[calc(100svh-var(--header-height-usp))]","flex flex-col","relative"),children:[(0,i.jsxs)("div",{className:"flex-1 flex nlg:flex-col",children:[(0,i.jsx)("div",{className:"w-1/2 relative nlg:hidden",children:(0,i.jsx)(f.s,{image:H[0],desktopWidth:770,mobileWidth:414,layout:"fill",objectFit:"cover"})}),(0,i.jsx)("div",{ref:L,className:"lg:hidden z-1",children:(0,i.jsx)(v.c,{containerClassName:"relative h-full bg-[#F6F6F6]",className:"h-full",withDotNavigation:!0,children:H.filter(Boolean).map((e,l)=>(0,i.jsx)("div",{className:(0,a.cn)("relative","h-[92%] lg:h-screen","w-screen lg:w-[calc(var(--margin)+12*var(--column)+11.5*var(--gutter))]"),children:(0,i.jsx)(f.s,{image:e,desktopWidth:770,mobileWidth:414,layout:"fill",objectFit:"cover",ratio:1,priority:l<2,alt:e.alt||O.title,onClick:()=>{K(e)}})},e._key))})}),(0,i.jsxs)("div",{className:(0,a.cn)("lg:w-1/2 lg:h-full","lg:span-p-1","flex lg:flex-col lg:items-center"),children:[(0,i.jsx)(p.$,{linkInput
1:{slug:X},className:(0,a.cn)("absolute margin-top-1 lg:top-8 margin-right-1 z-2"),children:(0,i.jsx)(j.A,{className:(0,a.cn)("w-12 h-12")})}),(0,i.jsx)("div",{className:(0,a.cn)("relative","flex-1 w-full","nlg:hidden","mt-30 mb-60"),children:(0,i.jsx)(f.s,{image:D||H[1],desktopWidth:830,mobileWidth:300,layout:"fill",objectFit:"contain",className:(0,a.cn)("w-full h-full")})}),(0,i.jsxs)("div",{ref:V,className:(0,a.cn)("nlg:w-full nlg:py-20 nlg:border-t nlg:border-grey-line flex flex-col lg:items-center gap-12 lg:gap-16 nlg:margin-px-1"),children:[(0,i.jsxs)("div",{className:(0,a.cn)("flex flex-col lg:items-center gap-8 lg:gap-8"),children:[(0,i.jsxs)("div",{className:"flex gap-12 lg:gap-10 justify-between",children:[(0,i.jsx)("h1",{className:"text-14 uppercase font-medium",children:B}),!O.disabled&&(0,i.jsx)(h.g,{className:"lg:hidden",compareAtPrice:ee?.compareAtPrice?.amount,currency:ee?.price?.currencyCode,children:ee?.price?.amount})]}),(0,i.jsx)("p",{className:"text-12 text-grey text-center",children:M}),!O.disabled&&(0,i.jsx)(h.g,{className:"nlg:hidden",compareAtPrice:ee?.compareAtPrice?.amount,currency:ee?.price?.currencyCode,children:ee?.price?.amount})]}),O.disabled?(0,i.jsx)(p.$,{variant:"primaryGrey",disabled:!0,className:(0,a.cn)("text-12 w-full mt-12 lg:mt-16"),children:q.disabledProductLabel||"Product not available"}):(0,i.jsx)(m.p,{className:(0,a.cn)("text-12 min-w-full lg:span-min-w-3"),product:O,freshProduct:ee,notAvailable:!ee&&et,list:`/astro/${O.slug}`})]})]})]}),(0,i.jsxs)("nav",{className:"margin-px-1 pt-14 pb-16 lg:py-14 flex gap-32 justify-between text-14 font-medium border-t border-grey-line",children:[(0,i.jsx)(p.$,{variant:"underlined",className:"uppercase",disabled:!R,linkInput:R?{_type:"product",slug:R,pdpSection:X}:null,children:T("product.previous","Previous")}),(0,i.jsx)(p.$,{variant:"underlined",className:"uppercase",disabled:!S,linkInput:S?{_type:"product",slug:S,pdpSection:X}:null,children:T("product.next","Next")})]})]}),Q&&(0,N.createPortal)((0,i.jsxs)("div",{className:(0,a.cn)("fixed inset-0","bg-grey-lighter",J?"":"opacity-0 invisible pointer-events-none","transition-[opacity,visibility] duration-500 ease-quart-out","lg:overflow-y-scroll"),children:[H.filter(Boolean).map(e=>(0,i.jsxs)("div",{className:(0,a.cn)("absolute","nlg:top-0 nlg:inset-0","lg:top-0 lg:inset-x-0",J?._key===e._key?"":"opacity-0","transition-opacity duration-500 ease-quart-out"),children:[(0,i.jsx)(f.s,{image:e,desktopWidth:1440,mobileWidth:414,desktopOnly:!0,ratio:1,priority:J?._key===e._key,alt:e.alt||O.title}),(0,i.jsx)(f.s,{image:e,desktopWidth:1440,mobileWidth:414,mobileOnly:!0,layout:"fill",objectFit:"cover",ratio:1,priority:J?._key===e._key,alt:e.alt||O.title})]},e._key)),(0,i.jsx)(p.$,{onClick:()=>K(null),className:(0,a.cn)("fixed","z-2","top-0 lg:top-20 right-0","p-30"),label:T("global.close","Close"),children:(0,i.jsx)(j.A,{className:(0,a.cn)("w-18 h-18")})})]}),document.getElementById("pdp-gallery-container"))]},z)};var k=!0;let _=e=>{let l,t=(0,r.c)(2);return t[0]!==e?(l=(0,i.jsx)(w,{...e,section:"louvre"}),t[0]=e,t[1]=l):l=t[1],l}}},e=>{e.O(0,[9461,8126,6593,636,8792],()=>e(e.s=8226)),_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.