PageSourceSearch

https://173944-contemporaryand.vercel.app/_next/static/immutable/chunks/06vomvg4ifxbb.js

js 173944-contemporaryand.vercel.app collected 2026-10-03 06:03:25 UTC 10,273 bytes, 149 lines download raw bytes

1;!function(){try { var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&((e._debugIds|| (e._debugIds={}))[n]="5c0aee8b-9a62-23e7-5bb7-98315e8e002b")}catch(e){}}();
2(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,682685,e=>{"use strict";var i=e.i(93434),t=e.i(777592),a=e.i(454614),l=e.i(934674),o=e.i(908376),n=e.i(188545),r=e.i(727943),s=e.i(595928),d=e.i(184989),c=e.i(346740),m=e.i(46898),h=e.i(899186),g=e.i(908106),p=e.i(112221);let u=({data:e,pageType:a,pageId:u,theme:j="dark",previousBlock:y})=>{let $=(0,s.useTranslations)("UI"),_=(0,t.useMemo)(()=>Array.isArray(e?.media)?e.media:[],[e]),{locale:k}=(0,h.useLocale)(),S=(a||"").toLowerCase().includes("article"),B="light"===(e?.theme??j),N=(0,g.normalizePageId)(u),I=e?.paddingVariant||"default",L="large"===I,M="article"===I,T=(0,t.useMemo)(()=>{if(!M||!y)return{marginTop:void 0,marginBottom:void 0};let e=y?._type;return"textBlock"===e?{marginTop:"-17px",marginBottom:"-6px"}:"mediaBlock"===e?{marginTop:"45px",marginBottom:"-6px"}:{marginTop:void 0,marginBottom:void 0}},[M,y]),A=(0,t.useMemo)(()=>_.flatMap((e,i)=>{let t=e?._key??String(i),a=[];return e?.image&&a.push({key:`${t}-img1`,image:e.image,caption:e.caption}),e?.secondImage&&a.push({key:`${t}-img2`,image:e.secondImage,caption:e.caption}),a}),[_]),P=(0,t.useRef)(A.length),[z,R]=(0,n.default)({align:"start",loop:!0,containScroll:"keepSnaps"},[(0,r.WheelGesturesPlugin)()]),[E,F]=(0,t.useState)(0),[H,G]=(0,t.useState)(!0),[U,W]=(0,t.useState)(!0),[K,O]=(0,t.useState)(!1),[Z,q]=(0,t.useState)(!1),V=(0,t.useMemo)(()=>{let e=[];return _.forEach((i,t)=>{i?.image&&e.push(t),i?.secondImage&&e.push(t)}),e},[_]),D=(0,t.useMemo)(()=>V[E]??0,[E,V]);(0,t.useEffect)(()=>{if(!R)return;let e=()=>{F(R.selectedScrollSnap());let e=R.canScrollPrev(),i=R.canScrollNext();G(!1===e),W(!1===i),q(!e&&!i)};R.on("init",e),R.on("reInit",e),R.on("select",e),e()},[R]),(0,t.useEffect)(()=>{O(!1)},[A.length]),(0,t.useEffect)(()=>{if(!R)return;let e=P.current,i=A.length;if(e!==i){P.current=i;let e=Math.min(R.selectedScrollSnap(),Math.max(0,i-1));F(e),requestAnimationFrame(()=>{R.reInit(),R.scrollTo(e)})}},[R,A.length]);let J=A[E]?.caption,Q=J?(0,g.getLocalizedContent)(J,k):"";return(0,i.jsxs)(x,{$isArticle:S,$isLight:B,$largePadding:L,$isProjectsPage:"projects"===N,$articleMargins:T,children:[(0,i.jsxs)(f,{children:[A.length>1&&(0,i.jsxs)(C,{children:[(0,i.jsx)(l.AnimatePresence,{initial:!1,children:K&&!H&&(0,i.jsx)(o.motion.button,{initial:{opacity:0,x:-10},animate:{opacity:1,x:0,transition:{duration:.45,ease:[.25,.1,.25,1]}},exit:{opacity:0,x:-10,transition:{duration:.28,ease:[.25,.1,.25,1]}},onClick:()=>R?.scrollPrev(),disabled:H,"aria-label":$("previous"),children:(0,i.jsx)(m.default,{name:"arrow-left",size:"24px",color:B?p.colors.black:p.colors.white})},"prev")}),!Z&&(0,i.jsx)("button",{onClick:()=>{O(!0),R?.scrollNext()},disabled:U,"aria-label":$("next"),children:(0,i.jsx)(m.default,{name:"arrow-right",size:"24px",color:B?p.colors.black:p.colors.white})})]}),(0,i.jsx)(b,{$isLight:B,children:(0,i.jsx)(c.default,{as:"span",className:"body-intro",children:_.length>0?(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("span",{className:"num",children:D+1})," ",(0,i.jsx)("span",{className:"of",children:$("of")})," ",(0,i.jsx)("span",{className:"num",children:_.length})]}):""})}),(0,i.jsx)(v,{$isLight:B,children:(0,i.jsx)(l.AnimatePresence,{mode:"wait",children:(0,i.jsx)(o.motion.div,{initial:{opacity:0}
2,animate:{opacity:1},exit:{opacity:0},children:(0,i.jsx)(c.default,{as:"p",children:Q})},Q||"empty")})})]}),(0,i.jsx)(w,{ref:z,className:"embla",children:(0,i.jsx)("div",{className:"embla__container",children:A.map(e=>{let t=(L?660:544)*(e.image?.asset?.aspectRatio??1.5),a=`(max-width: 1024px) 100vw, ${Math.ceil(t)}px`;return(0,i.jsx)("div",{className:`embla__slide ${!L?"small-slide":""}`,style:{"--slide-width":`${t}px`},children:(0,i.jsx)(d.default,{image:e.image,alt:e.image?.alt??"",objectFit:"contain",fill:!0,sizes:a})},e.key)})})})]})},x=a.default.div.withConfig({displayName:"SliderContentBlock__Wrapper",componentId:"sc-ed2b4348-0"})`
3  display: grid;
4  grid-template-columns: 214px 1fr;
5  gap: 3.15rem;
6  width: 100%;
7  max-width: 100%;
8  background: ${({$isLight:e})=>e?p.colors.white:p.colors.black};
9  padding: ${({$largePadding:e})=>e?"0":"0 0 2rem 0"};
10  padding-top: ${({$largePadding:e,$isProjectsPage:i,$isLight:t})=>e?"384px":i?"4rem":t?"0":"2rem"};
11  margin-top: ${({$isLight:e,$articleMargins:i})=>i?.marginTop?i.marginTop:e?"0":"-1rem"};
12  padding-bottom: ${({$largePadding:e,$isProjectsPage:i})=>e?"444px":i?"11rem":void 0};
13  margin-bottom: ${({$articleMargins:e})=>e?.marginBottom||void 0};
14
15  ${p.mobile} {
16    grid-template-columns: 1fr;
17    gap: 1.25rem;
18    width: 100%;
19    margin-left: 0;
20    margin-right: 0;
21    padding: ${({$largePadding:e})=>e?"2.5rem 0":"2rem 0"};
22    padding-right: 1rem;
23  }
24`,f=a.default.aside.withConfig({displayName:"SliderContentBlock__Aside",componentId:"sc-ed2b4348-1"})`
25  display: flex;
26  flex-direction: column;
27  gap: 1.25rem;
28  padding-left: 2.15625rem;
29
30  ${p.mobile} {
31    padding: 0 1rem;
32    gap: 0.5rem;
33  }
34`,w=a.default.div.withConfig({displayName:"SliderContentBlock__Carousel",componentId:"sc-ed2b4348-2"})`
35  --slide-spacing: 1.6rem;
36
37  &.embla {
38    overflow: hidden;
39    max-width: 100%;
40    width: 100%;
41  }
42
43  .embla__container {
44    display: flex;
45    padding-right: var(--slide-spacing);
46  }
47
48  .embla__slide {
49    position: relative;
50    flex: 0 0 auto;
51    min-width: 0;
52    max-width: none;
53    width: var(--slide-width, auto);
54    height: 660px;
55    margin-right: var(--slide-spacing);
56
57    display: flex;
58    align-items: center;
59    justify-content: center;
60    overflow: hidden;
61
62    &.small-slide {
63      height: 544px;
64
65      ${p.mobile} {
66        height: max-content;
67        min-height: 280px;
68      }
69    }
70  }
71
72  ${p.tablet} {
73    --slide-spacing: 1.25rem;
74
75    .embla__slide {
76      flex: 0 0 100%;
77      max-width: 100%;
78      width: 100%;
79    }
80  }
81
82  ${p.mobile} {
83    --slide-spacing: 0rem;
84
85    .embla__slide {
86      flex: 0 0 100%;
87      max-width: 100%;
88      width: 100%;
89      height: clamp(320px, 60vh, 560px);
90      padding: 0 0 0 0.75rem;
91      margin-right: 0;
92    }
93  }
94
95  .embla__slide :where(img, picture, video, canvas) {
96    width: 100%;
97    height: 100%;
98    max-width: 100%;
99    max-height: 100%;
100    object-fit: contain;
101  }
102`,C=a.default.div.withConfig({displayName:"SliderContentBlock__Controls",componentId:"sc-ed2b4348-3"})`
103  display: flex;
104  gap: 0.66rem;
105
106  button {
107    padding-bottom: 1.625rem;
108
109    ${p.mobile} {
110      padding-bottom: 0;
111    }
112  }
113
114  button[disabled] {
115    opacity: 0.3;
116  }
117`,b=a.default.div.withConfig({displayName:"SliderContentBlock__Counter",componentId:"sc-ed2b4348-4"})`
118  span {
119    font-size: 0.8125rem;
120    line-height: 1.625rem;
121  }
122
123  .num {
124    color: ${({$isLight:e})=>e?p.colors.black:p.colors.white};
125  }
126
127  .of {
128    color: ${p.colors.lightGrey};
129  }
130`,v=a.default.div.withConfig({displayName:"SliderContentBlock__Caption",componentId:"sc-ed2b4348-5"})`
131  p {
132    font-size: 0.875rem;
133    line-height: 1.25rem;
134    color: ${({$isLight:e})=>e?p.colors.black:p.colors.lightGrey};
135  }
136`;e.s(["SliderContentBlock",0,u,"default",0,u])},195610,function(e){e.n(e.i(682685))},46898,e=>{"use strict";var i=e.i(93434),t=e.i(83975);let a=({color:e="var(--color-fg)"})=>(0,i.jsx)("svg",{width:"29",height:"24",viewBox:"0 0 29 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,i.jsx)("path",{d:"M29 11.977C29 12.2218 28.9025 12.4566 28.7289 12.6297C28.5553 12.8028 28.3199 12.9001 28.0744 12.9001H3.15997L12.6855 22.4016C12.7764 22.4861 12.8494 22.588 12.9 22.7012C12.9505 22.8145 12.9777 22.9367 12.9799 23.0606C12.9821 23.1846 12.9593 23.3077 12.9127 23.4226C12.8662 23.5376 12.7969 23.642 12.709 23.7296C12.6211 23.8173 12.5164 23.8864 12.4012 23.9328C12.2859 23.9792 12.1625 24.002 12.0382 23.9999C11.9139 23.9977 11.7914 23.9705 11.6778 23.9201C11.5643 23.8696 11.4621 23.7969 11.3774 23.7062L0.270682 12.6293C0.0973556 12.4562 0 12.2216 0 11.977C0 11.7324 
1360.0973556 11.4977 0.270682 11.3247L11.3774 0.247743C11.5528 0.0846912 11.7849 -0.00407553 12.0247 0.000143812C12.2645 0.00436316 12.4932 0.101239 12.6628 0.270363C12.8324 0.439487 12.9295 0.667653 12.9338 0.906793C12.938 1.14593 12.849 1.37737 12.6855 1.55236L3.15997 11.0539H28.0744C28.3199 11.0539 28.5553 11.1512 28.7289 11.3243C28.9025 11.4974 29 11.7322 29 11.977Z",fill:e})});var l=e.i(875490),o=e.i(454614);let n=(0,o.default)(l.Flex).withConfig({displayName:"Icon__Wrapper",componentId:"sc-60d612d1-0"})`
137  overflow: visible;
138  svg {
139    width: 100%;
140    height: 100%;
141  }
142
143  &,
144  & path {
145    transition: transform var(--duration) var(--ease);
146  }
147`;e.s(["default",0,({name:e,color:l="var(--color-fg)",size:o="1rem",className:r})=>{let s=(e=>{switch(e){case"arrow-right":return t.ArrowRight;case"arrow-left":return a;default:throw Error(`Icon ${e} not found`)}})(e);return(0,i.jsx)(n,{width:o,height:o,className:`icon icon-${e}${r?` ${r}`:""}`,children:(0,i.jsx)(s,{color:l})})}],46898)},83975,e=>{"use strict";var i=e.i(93434);e.s(["ArrowRight",0,({color:e="var(--color-fg)"})=>(0,i.jsx)("svg",{width:"29",height:"24",viewBox:"0 0 29 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,i.jsx)("path",{d:"M28.7293 12.6536L17.6226 23.7518C17.4472 23.9151 17.2151 24.0041 16.9753 23.9999C16.7355 23.9956 16.5068 23.8986 16.3372 23.7291C16.1676 23.5597 16.0705 23.3311 16.0662 23.0915C16.062 22.8519 16.151 22.62 16.3145 22.4447L25.84 12.9249H0.925558C0.680085 12.9249 0.444665 12.8274 0.27109 12.654C0.0975137 12.4805 0 12.2453 0 12C0 11.7547 0.0975137 11.5195 0.27109 11.346C0.444665 11.1726 0.680085 11.0751 0.925558 11.0751H25.84L16.3145 1.55534C16.151 1.38002 16.062 1.14814 16.0662 0.908536C16.0705 0.668937 16.1676 0.440331 16.3372 0.270883C16.5068 0.101434 16.7355 0.00437154 16.9753 0.000144089C17.2151 -0.00408337 17.4472 0.084854 17.6226 0.24822L28.7293 11.3464C28.9026 11.5198 29 11.7549 29 12C29 12.2451 28.9026 12.4802 28.7293 12.6536Z",fill:e})})])}]);
148
149//# debugId=5c0aee8b-9a62-23e7-5bb7-98315e8e002b

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.