PageSourceSearch

https://www.domperignon.com/_next/static/chunks/8916-a17bd31265721a86.js

js domperignon.com collected 2026-09-24 19:40:54 UTC 10,248 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8916],{1212:(e,t,r)=>{r.d(t,{Wx:()=>f,pL:()=>d});var i,s,n=r(1872),l=Object.defineProperty,o=(e,t,r)=>((e,t,r)=>t in e?l(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r)(e,"symbol"!=typeof t?t+"":t,r),a=new Map,u=new WeakMap,c=0;function h(e,t,r={},s=i){if(void 0===window.IntersectionObserver&&void 0!==s){let i=e.getBoundingClientRect();return t(s,{isIntersecting:s,target:e,intersectionRatio:"number"==typeof r.threshold?r.threshold:0,time:0,boundingClientRect:i,intersectionRect:i,rootBounds:i}),()=>{}}let{id:n,observer:l,elements:o}=function(e){let t=Object.keys(e).sort().filter(t=>void 0!==e[t]).map(t=>{var r;return`${t}_${"root"===t?!(r=e.root)?"0":(u.has(r)||(c+=1,u.set(r,c.toString())),u.get(r)):e[t]}`}).toString(),r=a.get(t);if(!r){let i,s=new Map,n=new IntersectionObserver(t=>{t.forEach(t=>{var r;let n=t.isIntersecting&&i.some(e=>t.intersectionRatio>=e);e.trackVisibility&&void 0===t.isVisible&&(t.isVisible=n),[...null!=(r=s.get(t.target))?r:[]].forEach(e=>{e(n,t)})})},e);i=n.thresholds||(Array.isArray(e.threshold)?e.threshold:[e.threshold||0]),r={id:t,observer:n,elements:s},a.set(t,r)}return r}(r),d=o.get(e)||[];return o.has(e)||o.set(e,d),d.push(t),l.observe(e),function(){d.splice(d.indexOf(t),1),0===d.length&&(o.delete(e),l.unobserve(e)),0===o.size&&(l.disconnect(),a.delete(n))}}var d=class extends n.Component{constructor(e){super(e),o(this,"node",null),o(this,"_unobserveCb",null),o(this,"lastInView"),o(this,"handleNode",e=>{this.node&&(this.unobserve(),e||this.props.triggerOnce||this.props.skip||(this.setState({inView:!!this.props.initialInView,entry:void 0}),this.lastInView=this.props.initialInView)),this.node=e||null,this.observeNode()}),o(this,"handleChange",(e,t)=>{let r=this.lastInView;this.lastInView=e,(void 0!==r||e)&&(e&&this.props.triggerOnce&&this.unobserve(),"function"==typeof this.props.children&&this.setState({inView:e,entry:t}),this.props.onChange&&this.props.onChange(e,t))}),this.state={inView:!!e.initialInView,entry:void 0},this.lastInView=e.initialInView}componentDidMount(){this.unobserve(),this.observeNode()}componentDidUpdate(e){(e.rootMargin!==this.props.rootMargin||e.scrollMargin!==this.props.scrollMargin||e.root!==this.props.root||e.threshold!==this.props.threshold||e.skip!==this.props.skip||e.trackVisibility!==this.props.trackVisibility||e.delay!==this.props.delay)&&(this.unobserve(),this.observeNode())}componentWillUnmount(){this.unobserve()}observeNode(){if(!this.node||this.props.skip)return;let{threshold:e,root:t,rootMargin:r,scrollMargin:i,trackVisibility:s,delay:n,fallbackInView:l}=this.props;void 0===this.lastInView&&(this.lastInView=this.props.initialInView),this._unobserveCb=h(this.node,this.handleChange,{threshold:e,root:t,rootMargin:r,scrollMargin:i,trackVisibility:s,delay:n},l)}unobserve(){this._unobserveCb&&(this._unobserveCb(),this._unobserveCb=null)}render(){let{children:e}=this.props;if("function"==typeof e){let{inView:t,entry:r}=this.state;return e({inView:t,entry:r,ref:this.handleNode})}let{as:t,triggerOnce:r,threshold:i,root:s,rootMargin:l,scrollMargin:o,onChange:a,skip:u,trackVisibility:c,delay:h,initialInView:d,fallbackInView:f,...p}=this.props;return n.createElement(t||"div",{ref:this.handleNode,...p},e)}};function f({threshold:e,delay:t,trackVisibility:r,rootMargin:i,scrollMargin:s,root:l,triggerOnce:o,skip:a,initialInView:u,fallbackInView:c,onChange:d}={}){var p;let[v,g]=n.useState(null),b=n.useRef(d),m=n.useRef(u),[w,x]=n.useState({inView:!!u,entry:void 0});b.current=d,n.useEffect(()=>{let n;if(void 0===m.current&&(m.current=u),!a&&v)return n=h(v,(e,t)=>{let r=m.current;m.current=e,(void 0!==r||e)&&(x({inView:e,entry:t}),b.current&&b.current(e,t),t.isIntersecting&&o&&n&&(n(),n=void 0))},{root:l,rootMargin:i,scrollMargin:s,threshold:e,trackVisibility:r,delay:t},c),()=>{n&&n()}},[Array.isArray(e)?e.toString():e,v,l,i,s,o,a,r,c,t]);let y=null==(p=w.entry)?void 0:p.target,V=n.useRef(void 0);v||!y||o||a||V.current===y||(V.current=y,x({inView:!!u,entry:void 0}),m.current=u);let N=[g,w.inView,w.entry];return N.ref=N[0],N.inView=N[1],N.entry=N[2],N}null!=(null!=(s=n.useInsertionEffect)?s:n.useLayoutEffect)||n.useEffect},5053:(e,t,r)=>{r.d(t,{m:()=>n});var i=r(3436),s=r(8012);let n=(0,r(1872).forwardRef)(({clip:e,as:t="div",bleed:r=!1,className:n,children:l,...o},a)=>(0,i.jsx)(t,{...o,ref:a,className:(0,s.A)(r?"w-full":"grid-container",e&&"overflow-clip",n),children:l}))},6625:(e,t,r)=>{r.d(t,{Y:()=>a});
1var i=r(3436),s=r(9929),n=r(8012),l=r(1872),o=r(6850);let a=({as:e="div",distance:t=100,useViewportRatio:r=!1,clip:a=!0,offset:u=[[.5,.5],[1,0]],children:c,scrollProps:h={},className:d,onChange:f,...p})=>{let[v,g]=(0,l.useState)(null);return(0,i.jsxs)(e,{...p,className:(0,n.A)(d,"group/video relative",a&&"overflow-clip"),children:[(0,i.jsx)(o.A.Provider,{value:v,children:(0,i.jsx)(s.A,{...h,y:t,useViewportRatio:r,offset:u,scaleToFit:!0,children:c})}),(0,i.jsx)("div",{ref:g,className:"absolute inset-0 z-2 pointer-events-none"})]})}},8063:(e,t,r)=>{r.d(t,{A:()=>a});var i=r(3436);r(1692);var s=r(5458),n=r(1872),l=r(1212),o=r(8012);let a=(0,n.forwardRef)(({id:e,children:t,className:r,as:a="section",_type:u,pageType:c,pageTypeDetail:h,anchor:d,index:f,slicesCount:p,dataTag:v,collapseTop:g,collapseBottom:b},m)=>{let w=(0,n.useRef)(),[x]=(0,l.Wx)({triggerOnce:!0,initialInView:!1,threshold:.8,delay:1e3,onChange(t){t&&u&&h&&!("productPage"===c&&!d&&f!==p)&&(0,s.f0)("view_content",{content_id:e||v||u,content_type:h})}});return(0,i.jsx)(a,{ref:e=>{w.current=e,m&&(m.current=e),e&&x(e)},id:e,"data-tag":v,className:(0,o.A)(r,g&&"!mt-0 !pt-0",b&&"!mb-0 !pb-0"),children:t})})},8371:(e,t,r)=>{r.d(t,{AK:()=>o,Cc:()=>i,Fz:()=>l,Tj:()=>n,qE:()=>s});let i=(e,t,r)=>e*(1-r)+r*t,s=(e,t,r)=>t<r?Math.min(Math.max(e,t),r):Math.min(Math.max(e,r),t),n=(e,t,r,i,n)=>s((e-t)/(r-t)*(n-i)+i,i,n),l=(e,t=3)=>{let r=10**t;return~~(e*r)/r},o=(e,t,r,i,s)=>{let n=1-e,l=e*e,o=n*n,a=o*n*r;return a+(3*o*e*t+3*n*l*i+l*e*s)}},8916:(e,t,r)=>{r.r(t),r.d(t,{FullScreenCard:()=>p});var i=r(3436),s=r(1872),n=r(8063),l=r(5053),o=r(3832),a=r(6625),u=r(4309),c=r(8012),h=r(1692),d=r(3779),f=r(7859);let p=({id:e,title:t,subtitle:r,cta:p,media:v,withPadding:g,textPosition:b,priority:m,index:w,theme:x="light",...y})=>{let V={};p&&(V.linkInput=p);let N=(0,f._L)(e=>e.lenis),R=(0,s.useRef)(null);return(0,h.FD)(R,e=>{if(e){let e=(0,d.H5)(R.current);N.scrollTo(e,{offset:2,duration:.2})}}),(0,i.jsx)(n.A,{...y,id:e,className:(0,c.A)("relative",g?"flex flex-col my-60 lg:my-120":m?"h-screen":"h-screen-content"),children:(0,i.jsxs)(l.m,{as:p?o.$:"div",...V,"aria-label":void 0,ref:R,bleed:!g,className:(0,c.A)("h-full focus-visible:outline-none after:inset-0 after:pointer-events-none after:z-2 after:absolute focus-visible:after:outline focus-visible:after:outline-2 after:-outline-offset-8 after:outline-inset group","light"===x?"after:outline-white ":"after:outline-black"),children:[(0,i.jsx)(a.Y,{className:"w-full h-full",scrollProps:{className:"w-full h-full"},useViewportRatio:!0,distance:.7,children:(0,i.jsx)(u.c,{className:(0,c.A)("w-full h-full","image"===v.selectedTab&&"overflow-hidden object-cover"),...v,mobileWidth:414,desktopWidth:1440,width:16,height:9,ratioMobile:9/16,videoProps:{fill:!0,pauseButtonPosition:"top-right"},imageProps:{fill:!g},priority:m})}),(0,i.jsxs)("div",{className:(0,c.A)("flex items-center lg:items-baseline flex-col lg:flex-row uppercase","top"===b?"top-40 lg:top-44":"bottom-44 lg:bottom-40",g?"flex-shrink-0 py-30":"absolute z-2 left-40 right-40","light"===x?"text-white":"text-black"),children:[(0,i.jsx)(0===w?"h1":"h2",{className:"order-2 lg:order-1 lg-max:max-w-[250px] text-24 leading-[1] font-medium text-center",children:t}),(0,i.jsx)("span",{className:(0,c.A)("order-1 lg:order-2 lg-max:mb-10 lg:ml-10 text-12 lg:text-12",g?"text-grey-dark-solid":"text-white"),children:r}),p&&(0,i.jsx)(o.$,{as:"div",variant:"underlined",active:!0,className:(0,c.A)("order-3 text-12 lg-max:mt-44 lg:ml-auto","group-focus-visible:outline group-focus-visible:outline-2 group-focus-visible:outline-offset-2","light"===x?"group-focus-visible:outline-white text-white":"text-black group-focus-visible:outline-black"),children:p.label})]})]})})}},9929:(e,t,r)=>{r.d(t,{A:()=>a});var i=r(3436),s=r(1872),n=r(1692),l=r(878),o=r(8371);let a=(0,s.forwardRef)(({children:e,useViewportRatio:t,scaleToFit:r,offset:a=[[.5,.5],[1,0]],x:u=0,y:c=0,scaleInit:h=1,rotateInit:d=0,rotate:f=0,className:p,easingFunction:v=e=>e,transform:g,mediaQueries:b=Object.values(l.U),as:m="div",unit:w="px",disableTouchDevice:x=!0},y)=>{let V=(0,s.useRef)(null),N=(0,s.useCallback)(e=>{V.current=e,y&&(y.current=e)},[]),R=(0,s.useRef)(!!x&&(0,n._s)());(0,n.N$)(["(hover:hover)"],e=>{R.current=!!x&&!e.matches});let k=(0,s.useRef)(d),j=(0,s.useRef)(0),C=(0,s.useRef)(0),I=(0,s.useRef)(0),A=(0,s.useRef)(null),$=(0,s.useRef)(null),M=(0,s.useRef)(!1),_=(0,n.Y0)(!0);return(0,n.Wg)(V,(e,{scrollY:i,top:s,height:n,viewport:l,originalRatio:a})=>{if(R.current)return;if(j.current=n,!(b.includes(null==_?void 0:_.current)&&!1===R.current))return V.current.style.transform="",!1;let p=t?u*l.innerWidth:u,v=t?c*l.documentHeight:c,m=h;if(r){let e=(l.documentHeight-n)/2,t=l.documentHeight+n;m+=Math.max(1,(n+2*v*e/t*2)/n)-1}let x=s-i,y=l.documentHeight;C.current=e*(void 0!==u?u:0)*(t?Math.abs(p):1),I.current=e*(void 0!==c?c:0)*(t?Math.abs(v):1),(f||d)&&(k.current=-f*x/y+d);let N={x:(0,o.Fz)(C.current),y:(0,o.Fz)(I.current),rotate:f},E=x+I.current,O=E+n>=0&&E<=y||x+n>=0&&x<=y,S={ratio:e,originalRatio:a,ref:V,top:s,height:n,viewport:l,inView:O,enabled:!1},W=k.current?` rotate(${k.current}deg)`:"";V.current&&O&&(N.x!==A.current||N.y!==$.current)?(V.current.style.transform=g?g(N,{...S,enabled:!0}):`translate3d(${N.x}${w},${N.y}${w},0)${W} scale(${m})`,V.current.style.willChange="transform",M.current=!0):V.current&&!O&&M.current?(V.current.style.transform=g?g(N,S):`translate(${N.x}${w},${N.y}${w})${W} scale(${m})`,V.current.style.willChange="",M.current=!1):O||""===V.current.style.transform||(V.current.style.transform=""),A.current=N.x,$.current=N.y},{offset:a,easingFunction:v,mediaQueries:b},[u,c,g,v]),(0,i.jsx)(m,{ref:N,className:p,children:e})})}}]);

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.