@ssgoi/core 3.1.2 → 3.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/animator/multi-animator.d.ts +0 -2
- package/dist/animator/multi-animator.d.ts.map +1 -1
- package/dist/index.cjs +2 -2
- package/dist/index.js +100 -97
- package/dist/transition/create-transition-callback.d.ts.map +1 -1
- package/dist/types.cjs +1 -1
- package/dist/types.d.ts +35 -5
- package/dist/types.d.ts.map +1 -1
- package/dist/types.js +39 -36
- package/dist/view-transitions/hero.d.ts.map +1 -1
- package/dist/view-transitions/index.cjs +15 -15
- package/dist/view-transitions/index.js +547 -510
- package/dist/view-transitions/instagram.d.ts.map +1 -1
- package/dist/view-transitions/pinterest.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/types.d.ts
CHANGED
|
@@ -80,16 +80,33 @@ export type SpringItem = {
|
|
|
80
80
|
* When provided, the animation uses Web Animation API instead of RAF.
|
|
81
81
|
* Spring physics are pre-computed and converted to keyframes.
|
|
82
82
|
*
|
|
83
|
+
* Two forms supported:
|
|
84
|
+
* 1. Function only - uses parent element: `css: (progress) => ({ ... })`
|
|
85
|
+
* 2. Object with element - specifies target element: `css: { element, style: (progress) => ({ ... }) }`
|
|
86
|
+
*
|
|
83
87
|
* @param progress - Current progress value (0 to 1)
|
|
84
88
|
* @returns Style object for Web Animation API
|
|
85
89
|
*
|
|
86
90
|
* @example
|
|
91
|
+
* // Form 1: Function (element from parent)
|
|
87
92
|
* css: (progress) => ({
|
|
88
93
|
* opacity: progress,
|
|
89
94
|
* transform: `translateY(${(1 - progress) * 20}px)`,
|
|
90
95
|
* })
|
|
96
|
+
*
|
|
97
|
+
* @example
|
|
98
|
+
* // Form 2: Object with custom element
|
|
99
|
+
* css: {
|
|
100
|
+
* element: myElement,
|
|
101
|
+
* style: (progress) => ({
|
|
102
|
+
* transform: `scale(${progress})`,
|
|
103
|
+
* }),
|
|
104
|
+
* }
|
|
91
105
|
*/
|
|
92
|
-
css?: (progress: number) => StyleObject
|
|
106
|
+
css?: ((progress: number) => StyleObject) | {
|
|
107
|
+
element: HTMLElement;
|
|
108
|
+
style: (progress: number) => StyleObject;
|
|
109
|
+
};
|
|
93
110
|
onStart?: () => void;
|
|
94
111
|
onComplete?: () => void;
|
|
95
112
|
/**
|
|
@@ -259,15 +276,26 @@ export type NormalizedScheduleEntry = {
|
|
|
259
276
|
*/
|
|
260
277
|
offset: number;
|
|
261
278
|
};
|
|
279
|
+
/**
|
|
280
|
+
* Normalized spring item for internal use
|
|
281
|
+
* - css is always in object form: { element, style }
|
|
282
|
+
* - normalizedOffset is always present
|
|
283
|
+
* @internal
|
|
284
|
+
*/
|
|
285
|
+
export type NormalizedSpringItem = Omit<SpringItem, "css" | "offset"> & {
|
|
286
|
+
css?: {
|
|
287
|
+
element: HTMLElement;
|
|
288
|
+
style: (progress: number) => StyleObject;
|
|
289
|
+
};
|
|
290
|
+
normalizedOffset: number;
|
|
291
|
+
};
|
|
262
292
|
/**
|
|
263
293
|
* Normalized multi-spring config for internal use
|
|
264
294
|
* Schedule is always normalized to progress-based offsets
|
|
265
295
|
* @internal
|
|
266
296
|
*/
|
|
267
297
|
export type NormalizedMultiSpringConfig = Omit<MultiSpringConfig, "springs" | "schedule"> & {
|
|
268
|
-
springs:
|
|
269
|
-
normalizedOffset: number;
|
|
270
|
-
}>;
|
|
298
|
+
springs: NormalizedSpringItem[];
|
|
271
299
|
};
|
|
272
300
|
/**
|
|
273
301
|
* Normalize MultiSpringConfig schedule to progress-based offsets
|
|
@@ -277,9 +305,11 @@ export type NormalizedMultiSpringConfig = Omit<MultiSpringConfig, "springs" | "s
|
|
|
277
305
|
* - sequential: All springs get offset 1 (wait for previous)
|
|
278
306
|
* - stagger: Use each spring's custom offset (0-1)
|
|
279
307
|
*
|
|
308
|
+
* Also normalizes css to object form: { element, style }
|
|
309
|
+
*
|
|
280
310
|
* @internal
|
|
281
311
|
*/
|
|
282
|
-
export declare function normalizeMultiSpringSchedule(config: MultiSpringConfig): NormalizedMultiSpringConfig;
|
|
312
|
+
export declare function normalizeMultiSpringSchedule(config: MultiSpringConfig, element?: HTMLElement): NormalizedMultiSpringConfig;
|
|
283
313
|
/**
|
|
284
314
|
* Animation state
|
|
285
315
|
* For MultiAnimator: returns first animator's state
|
package/dist/types.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/lib/types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,aAAa,GAAG,MAAM,GAAG,MAAM,CAAC;AAE5C,MAAM,MAAM,YAAY,GAAG;IACzB,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,WAAW,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAAC,CAAC;AAE1D;;;;;GAKG;AACH,MAAM,MAAM,YAAY,GAAG,UAAU,GAAG,YAAY,GAAG,SAAS,CAAC;AAEjE;;GAEG;AACH,MAAM,MAAM,oBAAoB,GAAG;IAEjC,OAAO,CAAC,EAAE,CAAC,OAAO,EAAE,WAAW,KAAK,IAAI,CAAC;IAGzC,IAAI,CAAC,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;IAG3B,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IAGrB,KAAK,CAAC,EAAE,MAAM,IAAI,CAAC;CACpB,CAAC;AAEF;;;;;;;GAOG;AACH,MAAM,MAAM,kBAAkB,GAAG,oBAAoB,GAAG;IAEtD,MAAM,CAAC,EAAE,YAAY,CAAC;IAGtB,IAAI,CAAC,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAC;IAElC;;;;;;;;;;;;;;;;OAgBG;IACH,GAAG,CAAC,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,WAAW,CAAC;CACzC,CAAC;AAEF;;;;;;GAMG;AACH,MAA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AG;IACtE,GAAG,CAAC,EAAE;QAAE,OAAO,EAAE,WAAW,CAAC;QAAC,KAAK,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,WAAW,CAAA;KAAE,CAAC;IACzE,gBAAgB,EAAE,MAAM,CAAC;CAC1B,CAAC;AAEF;;;;GAIG;AACH,MAAM,MAAM,2BAA2B,GAAG,IAAI,CAC5C,iBAAiB,EACjB,SAAS,GAAG,UAAU,CACvB,GAAG;IACF,OAAO,EAAE,oBAAoB,EAAE,CAAC;CACjC,CAAC;AAEF;;;;;;;;;;;GAWG;AACH,wBAAgB,4BAA4B,CAC1C,MAAM,EAAE,iBAAiB,EACzB,OAAO,CAAC,EAAE,WAAW,GACpB,2BAA2B,CA8C7B;AAED;;;;GAIG;AACH,MAAM,MAAM,cAAc,GAAG;IAC3B,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;IACjB,IAAI,EAAE,MAAM,CAAC;IACb,EAAE,EAAE,MAAM,CAAC;CACZ,CAAC"}
|
package/dist/types.js
CHANGED
|
@@ -1,30 +1,30 @@
|
|
|
1
|
-
function
|
|
1
|
+
function S(n) {
|
|
2
2
|
return ("tick" in n || "css" in n) && !("springs" in n);
|
|
3
3
|
}
|
|
4
|
-
function
|
|
4
|
+
function u(n) {
|
|
5
5
|
return "springs" in n;
|
|
6
6
|
}
|
|
7
|
-
function
|
|
7
|
+
function p(n) {
|
|
8
8
|
return "css" in n && typeof n.css == "function";
|
|
9
9
|
}
|
|
10
|
-
function
|
|
10
|
+
function d(n) {
|
|
11
11
|
return "tick" in n && typeof n.tick == "function";
|
|
12
12
|
}
|
|
13
|
-
function
|
|
14
|
-
if (
|
|
13
|
+
function f(n) {
|
|
14
|
+
if (p(n) && d(n))
|
|
15
15
|
throw new Error(
|
|
16
16
|
"SingleSpringConfig cannot have both 'tick' and 'css' defined. Use one or the other."
|
|
17
17
|
);
|
|
18
18
|
}
|
|
19
|
-
function
|
|
19
|
+
function h(n) {
|
|
20
20
|
if (n.tick && n.css)
|
|
21
21
|
throw new Error(
|
|
22
22
|
"SpringItem cannot have both 'tick' and 'css' defined. Use one or the other."
|
|
23
23
|
);
|
|
24
24
|
}
|
|
25
|
-
async function
|
|
25
|
+
async function k(n) {
|
|
26
26
|
const e = await n;
|
|
27
|
-
return
|
|
27
|
+
return u(e) ? (e.springs.forEach(h), e) : (f(e), {
|
|
28
28
|
prepare: e.prepare,
|
|
29
29
|
wait: e.wait,
|
|
30
30
|
onStart: e.onStart,
|
|
@@ -39,36 +39,39 @@ async function h(n) {
|
|
|
39
39
|
schedule: "parallel"
|
|
40
40
|
});
|
|
41
41
|
}
|
|
42
|
-
function
|
|
43
|
-
const
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
42
|
+
function w(n, e) {
|
|
43
|
+
const r = n.schedule ?? "parallel", o = n.springs.map(
|
|
44
|
+
(s) => {
|
|
45
|
+
let t;
|
|
46
|
+
switch (r) {
|
|
47
|
+
case "parallel":
|
|
48
|
+
t = 0;
|
|
49
|
+
break;
|
|
50
|
+
case "sequential":
|
|
51
|
+
t = 1;
|
|
52
|
+
break;
|
|
53
|
+
case "stagger":
|
|
54
|
+
t = Math.max(0, Math.min(1, s.offset ?? 0));
|
|
55
|
+
break;
|
|
56
|
+
default:
|
|
57
|
+
t = 0;
|
|
58
|
+
}
|
|
59
|
+
const { css: i, offset: m, ...c } = s, l = i ? typeof i == "function" ? e ? { element: e, style: i } : void 0 : { element: i.element, style: i.style } : void 0;
|
|
60
|
+
return { ...c, css: l, normalizedOffset: t };
|
|
57
61
|
}
|
|
58
|
-
|
|
59
|
-
}), { schedule: p, ...s } = n;
|
|
62
|
+
), { schedule: g, ...a } = n;
|
|
60
63
|
return {
|
|
61
|
-
...
|
|
62
|
-
springs:
|
|
64
|
+
...a,
|
|
65
|
+
springs: o
|
|
63
66
|
};
|
|
64
67
|
}
|
|
65
68
|
export {
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
69
|
+
p as isCssAnimation,
|
|
70
|
+
u as isMultiSpring,
|
|
71
|
+
S as isSingleSpring,
|
|
72
|
+
d as isTickAnimation,
|
|
73
|
+
w as normalizeMultiSpringSchedule,
|
|
74
|
+
k as normalizeToMultiSpring,
|
|
75
|
+
f as validateAnimationMode,
|
|
76
|
+
h as validateSpringItem
|
|
74
77
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hero.d.ts","sourceRoot":"","sources":["../../src/lib/view-transitions/hero.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAI9D,UAAU,WAAW;IACnB,MAAM,CAAC,EAAE,OAAO,CAAC,YAAY,CAAC,CAAC;IAC/B,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAMD,eAAO,MAAM,IAAI,GAAI,UAAS,WAAgB,KAAG,
|
|
1
|
+
{"version":3,"file":"hero.d.ts","sourceRoot":"","sources":["../../src/lib/view-transitions/hero.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAI9D,UAAU,WAAW;IACnB,MAAM,CAAC,EAAE,OAAO,CAAC,YAAY,CAAC,CAAC;IAC/B,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAMD,eAAO,MAAM,IAAI,GAAI,UAAS,WAAgB,KAAG,eA6KhD,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const m=require("../jaemin-BG8HRXG1.cjs"),F=t=>new Promise(n=>setTimeout(n,t)),H={stiffness:80,damping:25},q={stiffness:75,damping:25},G=300,j=10,K="horizontal",Z="#000000",J=(t={})=>{const{inSpring:n=q,outSpring:s=H,transitionDelay:c=G,blindCount:a=j,direction:r=K,blindColor:l=Z}=t;let i,d=null;const o=(e,h,y="left")=>{window.getComputedStyle(e).position==="static"&&(e.style.position="relative");const g=document.createElement("div");g.className="blind-container",g.style.cssText=`
|
|
2
2
|
position: absolute;
|
|
3
3
|
top: 0;
|
|
4
4
|
left: 0;
|
|
@@ -7,29 +7,29 @@
|
|
|
7
7
|
pointer-events: none;
|
|
8
8
|
z-index: 9999;
|
|
9
9
|
overflow: hidden;
|
|
10
|
-
`;const
|
|
10
|
+
`;const p=[];for(let f=0;f<a;f++){const $=document.createElement("div");if(r==="horizontal"){const x=100/a,w=`calc(${x}% + 1px)`;$.style.cssText=`
|
|
11
11
|
position: absolute;
|
|
12
|
-
top: ${
|
|
12
|
+
top: ${x*f}%;
|
|
13
13
|
left: 0;
|
|
14
14
|
width: 100%;
|
|
15
|
-
height: ${
|
|
16
|
-
background: ${
|
|
17
|
-
transform: scaleX(${
|
|
18
|
-
transform-origin: ${
|
|
15
|
+
height: ${w};
|
|
16
|
+
background: ${l};
|
|
17
|
+
transform: scaleX(${h==="hidden"?0:1});
|
|
18
|
+
transform-origin: ${y} center;
|
|
19
19
|
will-change: transform;
|
|
20
|
-
`}else{const
|
|
20
|
+
`}else{const x=100/a,w=`calc(${x}% + 1px)`;$.style.cssText=`
|
|
21
21
|
position: absolute;
|
|
22
22
|
top: 0;
|
|
23
|
-
left: ${
|
|
24
|
-
width: ${
|
|
23
|
+
left: ${x*f}%;
|
|
24
|
+
width: ${w};
|
|
25
25
|
height: 100%;
|
|
26
|
-
background: ${
|
|
27
|
-
transform: scaleY(${
|
|
28
|
-
transform-origin: ${
|
|
26
|
+
background: ${l};
|
|
27
|
+
transform: scaleY(${h==="hidden"?0:1});
|
|
28
|
+
transform-origin: ${y==="left"?"top":"bottom"} center;
|
|
29
29
|
will-change: transform;
|
|
30
|
-
`}
|
|
30
|
+
`}p.push($),g.appendChild($)}return e.appendChild(g),{container:g,blinds:p}};return{out:()=>{let e=null;return i=new Promise(y=>{d=y}),{springs:Array.from({length:a},(y,u)=>({spring:s,offset:.2,tick:g=>{if(!e)return;const p=e.blinds[u];if(!p)return;const f=1-g;r==="horizontal"?p.style.transform=`scaleX(${f})`:p.style.transform=`scaleY(${f})`}})),schedule:"stagger",prepare:y=>{m.prepareOutgoing(y),y.style.zIndex="1000",e=o(y,"hidden","left")},onStart:()=>{},onEnd:()=>{d&&d()}}},in:()=>{let e=null;return{springs:Array.from({length:a},(y,u)=>({spring:n,offset:.2,tick:g=>{if(!e)return;const p=e.blinds[u];if(!p)return;const f=1-g;r==="horizontal"?p.style.transform=`scaleX(${f})`:p.style.transform=`scaleY(${f})`}})),schedule:"stagger",prepare:y=>{y.style.position="relative",y.style.zIndex="0",e=o(y,"closed","right")},onStart:()=>{},wait:async()=>{i&&await i,await F(c)},onEnd:()=>{e&&e.container&&e.container.remove()}}}}},Q={stiffness:150,damping:20},R={stiffness:100,damping:20},tt=(t={})=>{var r,l;const{opacity:n=!1,direction:s="enter"}=t,c=s==="enter"?Q:R,a={stiffness:((r=t.spring)==null?void 0:r.stiffness)??c.stiffness,damping:((l=t.spring)==null?void 0:l.damping)??c.damping};return s==="enter"?{in:i=>({spring:a,prepare:()=>{i.style.willChange=n?"transform, opacity":"transform",i.style.backfaceVisibility="hidden",i.style.contain="layout paint"},css:d=>{const o={transform:`translate3d(${(1-d)*100}%, 0, 0)`};return n&&(o.opacity=d),o},onEnd:()=>{i.style.willChange="auto",i.style.backfaceVisibility="",i.style.contain=""}}),out:(i,d)=>({spring:a,prepare:o=>{m.prepareOutgoing(o,d),o.style.zIndex="-1",o.style.willChange=n?"transform, opacity":"transform",o.style.backfaceVisibility="hidden",o.style.contain="layout paint",o.style.pointerEvents="none"},css:o=>{const e={transform:`translate3d(${-(1-o)*20}%, 0, 0)`};return n&&(e.opacity=o),e}})}:{in:i=>({spring:a,prepare:()=>{i.style.willChange=n?"transform, opacity":"transform",i.style.backfaceVisibility="hidden",i.style.contain="layout paint"},css:d=>{const o={transform:`translate3d(${-(1-d)*20}%, 0, 0)`};return n&&(o.opacity=d),o},onEnd:()=>{i.style.willChange="auto",i.style.backfaceVisibility="",i.style.contain=""}}),out:(i,d)=>({spring:a,prepare:o=>{m.prepareOutgoing(o,d),o.style.zIndex="100",o.style.willChange=n?"transform, opacity":"transform",o.style.backfaceVisibility="hidden",o.style.contain="layout paint",o.style.pointerEvents="none"},css:o=>{const e={transform:`translate3d(${(1-o)*100}%, 0, 0)`};return n&&(e.opacity=o),e}})}},nt={stiffness:65,damping:16},et={stiffness:65,damping:14},it=0,st=(t={})=>{const{inSpring:n=et,outSpring:s=nt,transitionDelay:c=it}=t;let a,r=null;return{in:l=>({spring:n,prepare:()=>{l.style.willChange="opacity"},wait:async()=>{a&&(await a,await F(c))},css:i=>({opacity:i}),onEnd:()=>{l.style.willChange="auto"}}),out:(l,i)=>(a=new Promise(d=>{r=d}),{spring:s,css:d=>({opacity:d}),prepare:()=>{m.prepareOutgoing(l,i),l.style.willChange="opacity"},onEnd:()=>{r&&r(),l.style.willChange="auto"}})}},rt={stiffness:5,damping:3.5},at=.8,lt="white",b={start:0,end:.45},E={start:.85,end:1},A={start:.2,end:.9},ot=t=>{var a;const n=(t==null?void 0:t.spring)??rt,s=(t==null?void 0:t.scale)??at,c=((a=t==null?void 0:t.border)==null?void 0:a.color)??lt;return{out:async(r,l)=>{const i=O(l),d=m.getRect(document.body,l.positionedParent),o=ct(c,{...i,top:d.top});let e=1,h=-i.top;return{spring:n,prepare:()=>{m.prepareOutgoing(r),k(r,i),_(r,i),ht(r,i);for(const y of o)l.positionedParent.appendChild(y)},onEnd:()=>{r.style.clipPath="",r.style.transformOrigin="",setTimeout(()=>{for(const y of o)l.positionedParent.removeChild(y)},1e3)},tick:y=>{const u=1-y;if(b.start<=u&&u<=b.end){const f=C(u,b.start,b.end);e=1-(1-s)*f}if(E.start<=u&&u<=E.end){const f=C(u,E.start,E.end);e=s+(1-s)*f}if(A.start<=u&&u<=A.end){const f=C(u,A.start,A.end);h=-i.top-i.height*f}r.style.transform=`translateY(${h}px) scale(${e})`;const g=(i.width-i.width*e)/2,p=(i.height-i.height*e)/2;dt(o,g,p)}}},in:async(r,l)=>{const i=O(l);let d=s,o=-i.top+i.height;return{spring:n,prepare:()=>{k(r,i),_(r,i),r.style.transform=`translateY(${-i.top+i.height}px) scale(${s})`},onEnd:()=>{r.style.clipPath="",r.style.transformOrigin="",r.style.transform=""},tick:e=>{if(b.start<=e&&e<=b.end){const h=C(e,b.start,b.end);d=1-(1-s)*h}if(E.start<=e&&e<=E.end){const h=C(e,E.start,E.end);d=s+(1-s)*h}if(A.start<=e&&e<=A.end){const h=C(e,A.start,A.end);o=-i.top+i.height*(1-h)}r.style.transform=`translateY(${o}px) scale(${d})`}}}}};function dt(t,n,s){const c=n*.7,a=s*.7;t.topLeft.style.transform=`translate(${c}px, ${a}px)`,t.topRight.style.transform=`translate(${-c}px, ${a}px)`,t.bottomLeft.style.transform=`translate(${c}px, ${-a}px)`,t.bottomRight.style.transform=`translate(${-c}px, ${-a}px)`}function ct(t="white",n){const a=document.createElement("div");a.style.position="fixed",a.style.pointerEvents="none",a.style.zIndex="9999",a.style.top=`${n.top-1}px`,a.style.left=`${n.left-1}px`,a.style.width="15px",a.style.height="15px";const r=document.createElement("div");r.style.position="absolute",r.style.width="15px",r.style.height="1px",r.style.backgroundColor=t,r.style.top="0",r.style.left="0";const l=document.createElement("div");l.style.position="absolute",l.style.width="1px",l.style.height="15px",l.style.backgroundColor=t,l.style.top="0",l.style.left="0",a.appendChild(r),a.appendChild(l);const i=document.createElement("div");i.style.position="fixed",i.style.pointerEvents="none",i.style.zIndex="9999",i.style.top=`${n.top-1}px`,i.style.left=`${n.left+n.width-15+1}px`,i.style.width="15px",i.style.height="15px";const d=document.createElement("div");d.style.position="absolute",d.style.width="15px",d.style.height="1px",d.style.backgroundColor=t,d.style.top="0",d.style.right="0";const o=document.createElement("div");o.style.position="absolute",o.style.width="1px",o.style.height="15px",o.style.backgroundColor=t,o.style.top="0",o.style.right="0",i.appendChild(d),i.appendChild(o);const e=document.createElement("div");e.style.position="fixed",e.style.pointerEvents="none",e.style.zIndex="9999",e.style.top=`${n.top+n.height-15+1}px`,e.style.left=`${n.left-1}px`,e.style.width="15px",e.style.height="15px";const h=document.createElement("div");h.style.position="absolute",h.style.width="15px",h.style.height="1px",h.style.backgroundColor=t,h.style.bottom="0",h.style.left="0";const y=document.createElement("div");y.style.position="absolute",y.style.width="1px",y.style.height="15px",y.style.backgroundColor=t,y.style.bottom="0",y.style.left="0",e.appendChild(h),e.appendChild(y);const u=document.createElement("div");u.style.position="fixed",u.style.pointerEvents="none",u.style.zIndex="9999",u.style.top=`${n.top+n.height-15+1}px`,u.style.left=`${n.left+n.width-15+1}px`,u.style.width="15px",u.style.height="15px";const g=document.createElement("div");g.style.position="absolute",g.style.width="15px",g.style.height="1px",g.style.backgroundColor=t,g.style.bottom="0",g.style.right="0";const p=document.createElement("div");return p.style.position="absolute",p.style.width="1px",p.style.height="15px",p.style.backgroundColor=t,p.style.bottom="0",p.style.right="0",u.appendChild(g),u.appendChild(p),{topLeft:a,topRight:i,bottomLeft:e,bottomRight:u,*[Symbol.iterator](){yield a,yield i,yield e,yield u}}}function O(t){const n=m.getRect(document.body,t.positionedParent);return{top:t.scroll.y,left:0,width:n.width,height:window.innerHeight-n.top}}function k(t,n){const s=n.left+n.width/2,c=n.top+n.height/2;t.style.transformOrigin=`${s}px ${c}px`}function _(t,n){t.style.clipPath=`polygon(
|
|
31
31
|
${n.left}px ${n.top}px,
|
|
32
32
|
${n.left+n.width}px ${n.top}px,
|
|
33
33
|
${n.left+n.width}px ${n.top+n.height}px,
|
|
34
34
|
${n.left}px ${n.top+n.height}px
|
|
35
|
-
)`}function ht(t,n){t.style.transform=`translateY(${-n.top}px)`}function L(t,n,r){return t<=n?0:t>=r?1:(t-n)/(r-n)}function pt(t,n){return t.querySelector(`[data-hero-key="${n}"]`)}const yt=(t={})=>{var c,i;const n={stiffness:((c=t.spring)==null?void 0:c.stiffness)??300,damping:((i=t.spring)==null?void 0:i.damping)??30},r=t.timeout??300,d=t.maxDistance??700;let s=null,a=null;return{in:async(o,l)=>{const e=o,g=Array.from(e.querySelectorAll("[data-hero-key]"));if(g.length===0)return{spring:n,tick:()=>{}};if(!await new Promise(y=>{s?y(!0):(a=y,setTimeout(()=>{a=null,y(!1)},r))})||!s)return s=null,{spring:n,tick:()=>{}};const u=g.map(y=>{const h=y.getAttribute("data-hero-key");if(!h)return null;const f=pt(s,h);if(!f)return null;const $=y,w=b.getRect(s,f),x=b.getRect(e,$),Y=w.left-x.left-l.scrollOffset.x,U=w.top-x.top-l.scrollOffset.y,V=w.width/x.width,W=w.height/x.height,H=$.style.transform,B=$.style.position,z=$.style.transformOrigin,X=$.style.zIndex,M=$.style.willChange;return{toEl:$,dx:Y,dy:U,dw:V,dh:W,originalTransform:H,originalPosition:B,originalTransformOrigin:z,originalZIndex:X,originalWillChange:M}}).filter(y=>y!==null&&Math.abs(y.dy)<=d);return s=null,u.length===0?{spring:n,tick:()=>{}}:{spring:n,prepare:()=>{u.forEach(({toEl:y})=>{y.style.position="relative",y.style.transformOrigin="top left",y.style.zIndex="1000",y.style.willChange="transform"})},tick:y=>{u.forEach(({toEl:h,dx:f,dy:$,dw:w,dh:x})=>{h.style.transform=`translate(${(1-y)*f}px,${(1-y)*$}px) scale(${y+(1-y)*w}, ${y+(1-y)*x})`})},onEnd:()=>{u.forEach(({toEl:y,originalTransform:h,originalPosition:f,originalTransformOrigin:$,originalZIndex:w,originalWillChange:x})=>{y.style.transform=h,y.style.position=f,y.style.transformOrigin=$,y.style.zIndex=w,y.style.willChange=x})}}},out:async o=>({onStart:()=>{s=o,a&&(a(!0),a=null)},tick:()=>{},prepare:l=>{b.prepareOutgoing(l),l.style.opacity="0"}})}};function ut({detailRect:t,galleryRect:n,pageRect:r,scrollOffset:d},s){const a=n.left-t.left+(n.width-t.width)/2-d.x,c=n.top-t.top+(n.height-t.height)/2-d.y,i=n.width/t.width,o=n.height/t.height,l=Math.max(i,o),e=t.top/r.height*100,g=(r.width-(t.left+t.width))/r.width*100,p=(r.height-(t.top+t.height))/r.height*100,u=t.left/r.width*100;return s.style.transformOrigin=`${t.left+t.width/2}px ${t.top+t.height/2}px`,y=>{const h=1-y,f=e*h,$=g*h,w=p*h,x=u*h;s.style.clipPath=`inset(${f}% ${$}% ${w}% ${x}%)`,s.style.transform=`translate(${a*h}px, ${c*h}px) scale(${1+(l-1)*h})`}}function gt({detailRect:t,galleryRect:n,pageRect:r,scrollOffset:d},s){const a=n.left-t.left+(n.width-t.width)/2+d.x,c=n.top-t.top+(n.height-t.height)/2+d.y,i=n.width/t.width,o=n.height/t.height,l=Math.min(i,o),e=t.top/r.height*100,g=(r.width-(t.left+t.width))/r.width*100,p=(r.height-(t.top+t.height))/r.height*100,u=t.left/r.width*100;return s.style.transformOrigin=`${t.left+t.width/2}px ${t.top+t.height/2}px`,y=>{const h=1-y,f=e*h,$=g*h,w=p*h,x=u*h;s.style.clipPath=`inset(${f}% ${$}% ${w}% ${x}%)`,s.style.transform=`translate(${a*h-d.x}px, ${c*h-d.y}px) scale(${1+(l-1)*h})`}}function ft(t,n,r){const d=t.querySelector("[data-instagram-detail-key]"),s=n.querySelector("[data-instagram-detail-key]");if(t.querySelectorAll("[data-instagram-detail-key]").length>1||n.querySelectorAll("[data-instagram-detail-key]").length>1)return null;let a=null,c=null,i=!1;if(!d&&s){c=s;const e=c.getAttribute("data-instagram-detail-key");if(!e)return null;a=t.querySelector(`[data-instagram-gallery-key="${e}"]`),a&&(i=!0)}else if(d&&!s){c=d;const e=c.getAttribute("data-instagram-detail-key");if(!e)return null;a=n.querySelector(`[data-instagram-gallery-key="${e}"]`),a&&(i=!1)}if(!a||!c)return null;const o=b.getRect(i?t:n,a),l=b.getRect(i?n:t,c);return i?{isEnterMode:!0,inAnimation:ut({detailRect:l,galleryRect:o,pageRect:n.getBoundingClientRect(),scrollOffset:r},n)}:{isEnterMode:!1,outAnimation:gt({detailRect:l,galleryRect:o,pageRect:t.getBoundingClientRect(),scrollOffset:r},t)}}const $t=(t={})=>{var c,i;const n={stiffness:((c=t.spring)==null?void 0:c.stiffness)??150,damping:((i=t.spring)==null?void 0:i.damping)??20},r=t.timeout??300;let d=null,s=null,a=null;return{in:async(o,{scrollOffset:l})=>{const e=o;return!await new Promise(p=>{d?p(!0):(s=p,setTimeout(()=>{s=null,p(!1)},r))})||!d?(d=null,{spring:n,tick:()=>{}}):(a=ft(d,e,l),a?(d=null,{spring:n,tick:p=>{a!=null&&a.inAnimation&&a.inAnimation(p)}}):{spring:n,tick:()=>{}})},out:async o=>({spring:n,onStart:()=>{d=o,s&&(s(!0),s=null)},prepare:l=>{b.prepareOutgoing(l),a!=null&&a.isEnterMode||(l.style.zIndex="-1")},tick:l=>{a!=null&&a.outAnimation&&a.outAnimation(l)}})}};function wt({detailRect:t,galleryRect:n,pageRect:r,scrollOffset:d},s){const a=n.left-t.left+(n.width-t.width)/2-d.x,c=n.top-t.top+(n.height-t.height)/2-d.y,i=n.width/t.width,o=n.height/t.height,l=Math.max(i,o),e=t.top/r.height*100,g=(r.width-(t.left+t.width))/r.width*100,p=(r.height-(t.top+t.height))/r.height*100,u=t.left/r.width*100;return s.style.transformOrigin=`${t.left+t.width/2}px ${t.top+t.height/2}px`,y=>{const h=1-y,f=e*h,$=g*h,w=p*h,x=u*h;s.style.clipPath=`inset(${f}% ${$}% ${w}% ${x}%)`,s.style.transform=`translate(${a*h}px, ${c*h}px) scale(${1+(l-1)*h})`}}function xt({galleryRect:t,detailRect:n,scrollOffset:r},d){const s=n.left-t.left+(n.width-t.width)/2+r.x,a=n.top-t.top+(n.height-t.height)/2+r.y,c=n.width/t.width,i=n.height/t.height,o=Math.max(c,i);return l=>{d.style.transformOrigin=`${t.left+t.width/2}px ${t.top+t.height/2}px`;const e=1-l;d.style.transform=`translate(${s*e-r.x}px, ${a*e-r.y}px) scale(${1+(o-1)*e})`,d.style.opacity=`${1-e}`}}function bt({galleryRect:t,detailRect:n,scrollOffset:r},d){const s=n.left-t.left+(n.width-t.width)/2-r.x,a=n.top-t.top+(n.height-t.height)/2-r.y,c=n.width/t.width,i=n.height/t.height,o=Math.max(c,i);return l=>{const e=1-l,g=l;d.style.transformOrigin=`${t.left+t.width/2}px ${t.top+t.height/2}px`,d.style.transform=`translate(${s*e}px, ${a*e}px) scale(${1+(o-1)*e})`,d.style.opacity=`${g}`}}function mt({detailRect:t,galleryRect:n,pageRect:r,scrollOffset:d},s){const a=n.left-t.left+(n.width-t.width)/2+d.x,c=n.top-t.top+(n.height-t.height)/2+d.y,i=n.width/t.width,o=n.height/t.height,l=Math.min(i,o),e=t.top/r.height*100,g=(r.width-(t.left+t.width))/r.width*100,p=(r.height-(t.top+t.height))/r.height*100,u=t.left/r.width*100;return s.style.transformOrigin=`${t.left+t.width/2}px ${t.top+t.height/2}px`,y=>{const h=1-y,f=e*h,$=g*h,w=p*h,x=u*h;s.style.clipPath=`inset(${f}% ${$}% ${w}% ${x}%)`,s.style.transform=`translate(${a*h-d.x}px, ${c*h-d.y}px) scale(${1+(l-1)*h})`}}function Et(t,n,r){const d=t.querySelector("[data-pinterest-detail-key]"),s=n.querySelector("[data-pinterest-detail-key]");if(t.querySelectorAll("[data-pinterest-detail-key]").length>1||n.querySelectorAll("[data-pinterest-detail-key]").length>1)return null;let a=null,c=null,i=!1;if(!d&&s){c=s;const e=c.getAttribute("data-pinterest-detail-key");if(!e)return null;a=t.querySelector(`[data-pinterest-gallery-key="${e}"]`),a&&(i=!0)}else if(d&&!s){c=d;const e=c.getAttribute("data-pinterest-detail-key");if(!e)return null;a=n.querySelector(`[data-pinterest-gallery-key="${e}"]`),a&&(i=!1)}if(!a||!c)return null;const o=b.getRect(i?t:n,a),l=b.getRect(i?n:t,c);return i?{inAnimation:wt({detailRect:l,galleryRect:o,pageRect:n.getBoundingClientRect(),scrollOffset:r},n),outAnimation:xt({galleryRect:o,detailRect:l,scrollOffset:r},t)}:{inAnimation:bt({galleryRect:o,detailRect:l,scrollOffset:r},n),outAnimation:mt({detailRect:l,galleryRect:o,pageRect:t.getBoundingClientRect(),scrollOffset:r},t)}}const At=(t={})=>{var c,i;const n={stiffness:((c=t.spring)==null?void 0:c.stiffness)??30,damping:((i=t.spring)==null?void 0:i.damping)??10},r=t.timeout??300;let d=null,s=null,a=null;return{in:async(o,{scrollOffset:l})=>{const e=o;return!await new Promise(p=>{d?p(!0):(s=p,setTimeout(()=>{s=null,p(!1)},r))})||!d?(d=null,{spring:n,tick:()=>{}}):(a=Et(d,e,l),a?(d=null,{spring:n,tick:p=>{a&&a.inAnimation(p)}}):{spring:n,tick:()=>{}})},out:async o=>({spring:n,onStart:()=>{d=o,s&&(s(!0),s=null)},prepare:l=>{b.prepareOutgoing(l),l.style.zIndex="-1"},tick:l=>{a&&a.outAnimation(l)}})}},I={stiffness:5,damping:4},Lt=(t={})=>{var o,l;const n=t.direction??"up",r={stiffness:((o=t.spring)==null?void 0:o.stiffness)??I.stiffness,damping:((l=t.spring)==null?void 0:l.damping)??I.damping},d=n==="up";let s=null,a=null,c=null;const i=()=>{if(s===null||a===null)return null;const e=Math.min(s,a),g=window.innerHeight;return Math.max(e,g)};return{in:e=>(a=e.offsetHeight,s!==null&&(c=i()),{spring:r,prepare:()=>{e.style.willChange="transform",e.style.backfaceVisibility="hidden",e.style.contain="layout paint"},tick:g=>{c===null&&(c=i());const p=c??window.innerHeight,u=d?(1-g)*p:(1-g)*-p;e.style.transform=`translate3d(0, ${u}px, 0)`},onEnd:()=>{e.style.willChange="auto",e.style.backfaceVisibility="",e.style.contain=""}}),out:(e,g)=>({spring:r,onStart:()=>{s=e.offsetHeight,a!==null&&(c=i())},tick:p=>{c===null&&(c=i());const u=c??window.innerHeight,y=d?(1-p)*-u:(1-p)*u;e.style.transform=`translate3d(0, ${y}px, 0)`},prepare:p=>{b.prepareOutgoing(p,g),p.style.zIndex=d?"-1":"1",p.style.willChange="transform",p.style.backfaceVisibility="hidden",p.style.contain="layout paint",p.style.pointerEvents="none"}})}},v={stiffness:15,damping:7},Ct=(t={})=>{var s,a;const n=t.direction??"left",r={stiffness:((s=t.spring)==null?void 0:s.stiffness)??v.stiffness,damping:((a=t.spring)==null?void 0:a.damping)??v.damping},d=n==="left";return{in:c=>({spring:r,prepare:()=>{c.style.willChange="transform",c.style.backfaceVisibility="hidden",c.style.contain="layout paint"},css:i=>({transform:`translate3d(${d?(1-i)*100:(1-i)*-100}%, 0, 0)`}),onEnd:()=>{c.style.willChange="auto",c.style.backfaceVisibility="",c.style.contain=""}}),out:(c,i)=>({spring:r,css:o=>({transform:`translate3d(${d?(1-o)*-100:(1-o)*100}%, 0, 0)`}),prepare:o=>{b.prepareOutgoing(o,i),o.style.willChange="transform",o.style.backfaceVisibility="hidden",o.style.contain="layout paint",o.style.pointerEvents="none"}})}},D={stiffness:17,damping:6},k=20,C=800,Tt=()=>{let t,n=null;return{in:r=>({spring:D,prepare:()=>{r.style.willChange="transform",r.style.backfaceVisibility="hidden",r.style.contain="layout paint",r.style.transform=`perspective(${C}px) rotateY(${k}deg) translate3d(-100%, 0, 0)`},wait:async()=>{t&&await t},css:d=>{const s=(1-d)*k,a=-(1-d)*100;return{transform:`perspective(${C}px) rotateY(${s}deg) translate3d(${a}%, 0, 0)`}},onEnd:()=>{r.style.transform="",r.style.willChange="auto",r.style.backfaceVisibility="",r.style.contain=""}}),out:(r,d)=>(t=new Promise(s=>{n=s}),{spring:D,prepare:s=>{b.prepareOutgoing(s,d),s.style.willChange="transform",s.style.backfaceVisibility="hidden",s.style.contain="layout paint",s.style.pointerEvents="none",s.style.transform=`perspective(${C}px) rotateY(0deg) translate3d(0%, 0, 0)`},css:s=>{const a=1-s,c=a*k,i=a*100;return{transform:`perspective(${C}px) rotateY(${-c}deg) translate3d(${i}%, 0, 0)`}},onEnd:()=>{n&&n(),r.style.transform=""}})}},kt={stiffness:1,damping:1},St={stiffness:20,damping:25},_t="#000000",Pt="circle",O="CURTAIN_REVEAL_OVERLAY_ID",It={position:"fixed",inset:"0",width:"100vw",height:"100%",zIndex:"9999",display:"flex",alignItems:"center",justifyContent:"center",overflow:"hidden"},vt={position:"relative",display:"inline-block",height:"5.5rem",overflow:"hidden"},Dt={display:"flex",height:"100%",willChange:"transform",transition:"transform 0.3s ease"},Ot={display:"inline-flex",alignItems:"center",justifyContent:"center",whiteSpace:"nowrap",fontSize:"5.5rem",fontWeight:"900",letterSpacing:"0.02em",color:"#FFFFFF"},Ft=.4,T=.5,Yt=.2;function Ut(t,n){switch(t){case"circle":return`circle(${n*100}% at 50% 50%)`;case"square":return`inset(${(1-n)*50}% round ${10*n}%)`;case"triangle":{const r=n*100;return`polygon(50% ${50-r}%, ${50-r}% ${50+r}%, ${50+r}% ${50+r}%)`}}}const Vt=t=>t.reduce((n,r)=>n+r,0),Wt=(t={})=>{const{background:n=_t,texts:r=[],shape:d=Pt,inSpring:s=St,outSpring:a=kt,textStyle:c={}}=t;return{out:(i,o)=>{const l=i.style.opacity;return{spring:a,from:1,to:0,prepare:e=>{b.prepareOutgoing(e,o),e.style.opacity="1"},tick:e=>{const g=Math.max(0,e-Ft);i.style.opacity=String(g)},onEnd:()=>{i.style.opacity=l}}},in:i=>{let o=null,l=null,e=null;const g=document.body.style.overflow,p=document.getElementById(O);let u=[];const y=()=>{o=document.createElement("div"),o.id=O,Object.assign(o.style,It,{background:n}),document.body.appendChild(o),l=document.createElement("div"),Object.assign(l.style,vt),o.appendChild(l),e=document.createElement("div"),Object.assign(e.style,Dt),l.appendChild(e),r.forEach(h=>{const f=document.createElement("div");f.textContent=h,Object.assign(f.style,Ot,c),e.appendChild(f)}),u=Array.from(e.children).map(h=>h.getBoundingClientRect().width)};return{spring:s,from:0,to:1,prepare:()=>{document.body.style.overflow="hidden",i.style.opacity="1",p==null||p.remove(),y(),o&&l&&(o.style.clipPath="none",l.style.transform="scale(1)")},tick:h=>{if(!(!o||!l||!e)){if(h<=T&&r.length>0){const f=h/T,$=Math.min(Math.floor(f*r.length),r.length-1),w=u[$]??0,x=Vt(u.slice(0,$));l.style.width=`${w}px`,e.style.transform=`translateX(-${x}px)`}if(h>T){const $=1-Math.max(0,Math.min(1,(h-T)/Yt));o.style.clipPath=Ut(d,$),l.style.transform=`scale(${$})`}}},onEnd:()=>{o==null||o.remove(),o=l=e=null,document.body.style.overflow=g}}}}};exports.jaemin=b.jaemin;exports.blind=J;exports.curtainReveal=Wt;exports.drill=tt;exports.fade=st;exports.film=ot;exports.hero=yt;exports.instagram=$t;exports.pinterest=At;exports.scroll=Lt;exports.slide=Ct;exports.strip=Tt;
|
|
35
|
+
)`}function ht(t,n){t.style.transform=`translateY(${-n.top}px)`}function C(t,n,s){return t<=n?0:t>=s?1:(t-n)/(s-n)}function pt(t,n){return t.querySelector(`[data-hero-key="${n}"]`)}const yt=(t={})=>{var l,i;const n={stiffness:((l=t.spring)==null?void 0:l.stiffness)??300,damping:((i=t.spring)==null?void 0:i.damping)??30},s=t.timeout??300,c=t.maxDistance??700;let a=null,r=null;return{in:async(d,o)=>{const e=d,h=Array.from(e.querySelectorAll("[data-hero-key]"));if(h.length===0)return{spring:n,tick:()=>{}};if(!await new Promise(g=>{a?g(!0):(r=g,setTimeout(()=>{r=null,g(!1)},s))})||!a)return a=null,{spring:n,tick:()=>{}};const u=h.map(g=>{const p=g.getAttribute("data-hero-key");if(!p)return null;const f=pt(a,p);if(!f)return null;const $=g,x=m.getRect(a,f),w=m.getRect(e,$),Y=x.left-w.left-o.scrollOffset.x,U=x.top-w.top-o.scrollOffset.y,V=x.width/w.width,W=x.height/w.height,z=$.style.transform,X=$.style.position,M=$.style.transformOrigin,B=$.style.zIndex,N=$.style.willChange;return{toEl:$,dx:Y,dy:U,dw:V,dh:W,originalTransform:z,originalPosition:X,originalTransformOrigin:M,originalZIndex:B,originalWillChange:N}}).filter(g=>g!==null&&Math.abs(g.dy)<=c);return a=null,u.length===0?{spring:n,tick:()=>{}}:{springs:u.map(({toEl:g,dx:p,dy:f,dw:$,dh:x})=>({spring:n,tick:w=>{g.style.transform=`translate(${(1-w)*p}px, ${(1-w)*f}px) scale(${w+(1-w)*$}, ${w+(1-w)*x})`}})),schedule:"parallel",prepare:()=>{u.forEach(({toEl:g})=>{g.style.position="relative",g.style.transformOrigin="top left",g.style.zIndex="1000",g.style.willChange="transform"})},onEnd:()=>{u.forEach(({toEl:g,originalTransform:p,originalPosition:f,originalTransformOrigin:$,originalZIndex:x,originalWillChange:w})=>{g.style.transform=p,g.style.position=f,g.style.transformOrigin=$,g.style.zIndex=x,g.style.willChange=w})}}},out:async d=>({spring:n,onStart:()=>{a=d,r&&(r(!0),r=null)},tick:()=>{},prepare:o=>{m.prepareOutgoing(o),o.style.opacity="0"}})}};function ut({detailRect:t,galleryRect:n,pageRect:s,scrollOffset:c}){const a=n.left-t.left+(n.width-t.width)/2-c.x,r=n.top-t.top+(n.height-t.height)/2-c.y,l=n.width/t.width,i=n.height/t.height,d=Math.max(l,i),o=t.top/s.height*100,e=(s.width-(t.left+t.width))/s.width*100,h=(s.height-(t.top+t.height))/s.height*100,y=t.left/s.width*100;return{transformOrigin:`${t.left+t.width/2}px ${t.top+t.height/2}px`,animate:g=>{const p=1-g;return{clipPath:`inset(${o*p}% ${e*p}% ${h*p}% ${y*p}%)`,transform:`translate(${a*p}px, ${r*p}px) scale(${1+(d-1)*p})`}}}}function gt({detailRect:t,galleryRect:n,pageRect:s,scrollOffset:c}){const a=n.left-t.left+(n.width-t.width)/2+c.x,r=n.top-t.top+(n.height-t.height)/2+c.y,l=n.width/t.width,i=n.height/t.height,d=Math.min(l,i),o=t.top/s.height*100,e=(s.width-(t.left+t.width))/s.width*100,h=(s.height-(t.top+t.height))/s.height*100,y=t.left/s.width*100;return{transformOrigin:`${t.left+t.width/2}px ${t.top+t.height/2}px`,animate:g=>{const p=1-g;return{clipPath:`inset(${o*p}% ${e*p}% ${h*p}% ${y*p}%)`,transform:`translate(${a*p-c.x}px, ${r*p-c.y}px) scale(${1+(d-1)*p})`}}}}function ft(t,n,s){const c=t.querySelector("[data-instagram-detail-key]"),a=n.querySelector("[data-instagram-detail-key]");if(t.querySelectorAll("[data-instagram-detail-key]").length>1||n.querySelectorAll("[data-instagram-detail-key]").length>1)return null;let r=null,l=null,i=!1;if(!c&&a){l=a;const e=l.getAttribute("data-instagram-detail-key");if(!e)return null;r=t.querySelector(`[data-instagram-gallery-key="${e}"]`),r&&(i=!0)}else if(c&&!a){l=c;const e=l.getAttribute("data-instagram-detail-key");if(!e)return null;r=n.querySelector(`[data-instagram-gallery-key="${e}"]`),r&&(i=!1)}if(!r||!l)return null;const d=m.getRect(i?t:n,r),o=m.getRect(i?n:t,l);if(i){const e=ut({detailRect:o,galleryRect:d,pageRect:n.getBoundingClientRect(),scrollOffset:s});return n.style.transformOrigin=e.transformOrigin,{isEnterMode:!0,inAnimation:e.animate}}else{const e=gt({detailRect:o,galleryRect:d,pageRect:t.getBoundingClientRect(),scrollOffset:s});return t.style.transformOrigin=e.transformOrigin,{isEnterMode:!1,outAnimation:e.animate}}}const $t=(t={})=>{var i,d;const n={stiffness:((i=t.spring)==null?void 0:i.stiffness)??150,damping:((d=t.spring)==null?void 0:d.damping)??20},s=t.timeout??300;let c=null,a=null,r=null,l=null;return{in:async(o,{scrollOffset:e})=>{const h=o;return!await new Promise(u=>{c?u(!0):(a=u,setTimeout(()=>{a=null,u(!1)},s))})||!c?(l==null||l(),l=null,c=null,{spring:n,css:()=>({})}):(r=ft(c,h,e),l==null||l(),l=null,r?(c=null,{spring:n,css:u=>r!=null&&r.inAnimation?r.inAnimation(u):{}}):(c=null,{spring:n,css:()=>({})}))},out:async o=>{const e=new Promise(h=>{l=h});return{spring:n,prepare:h=>{m.prepareOutgoing(h),r!=null&&r.isEnterMode||(h.style.zIndex="-1")},wait:async()=>{c=o,a&&(a(!0),a=null),await e},css:h=>r!=null&&r.outAnimation?r.outAnimation(h):{}}}}};function mt({detailRect:t,galleryRect:n,pageRect:s,scrollOffset:c}){const a=n.left-t.left+(n.width-t.width)/2-c.x,r=n.top-t.top+(n.height-t.height)/2-c.y,l=n.width/t.width,i=n.height/t.height,d=Math.max(l,i),o=t.top/s.height*100,e=(s.width-(t.left+t.width))/s.width*100,h=(s.height-(t.top+t.height))/s.height*100,y=t.left/s.width*100;return{transformOrigin:`${t.left+t.width/2}px ${t.top+t.height/2}px`,animate:g=>{const p=1-g;return{clipPath:`inset(${o*p}% ${e*p}% ${h*p}% ${y*p}%)`,transform:`translate(${a*p}px, ${r*p}px) scale(${1+(d-1)*p})`}}}}function wt({galleryRect:t,detailRect:n,scrollOffset:s}){const c=n.left-t.left+(n.width-t.width)/2+s.x,a=n.top-t.top+(n.height-t.height)/2+s.y,r=n.width/t.width,l=n.height/t.height,i=Math.max(r,l);return{transformOrigin:`${t.left+t.width/2}px ${t.top+t.height/2}px`,animate:o=>{const e=1-o;return{transform:`translate(${c*e-s.x}px, ${a*e-s.y}px) scale(${1+(i-1)*e})`,opacity:`${1-e}`}}}}function xt({galleryRect:t,detailRect:n,scrollOffset:s}){const c=n.left-t.left+(n.width-t.width)/2-s.x,a=n.top-t.top+(n.height-t.height)/2-s.y,r=n.width/t.width,l=n.height/t.height,i=Math.max(r,l);return{transformOrigin:`${t.left+t.width/2}px ${t.top+t.height/2}px`,animate:o=>{const e=1-o,h=o;return{transform:`translate(${c*e}px, ${a*e}px) scale(${1+(i-1)*e})`,opacity:`${h}`}}}}function bt({detailRect:t,galleryRect:n,pageRect:s,scrollOffset:c}){const a=n.left-t.left+(n.width-t.width)/2+c.x,r=n.top-t.top+(n.height-t.height)/2+c.y,l=n.width/t.width,i=n.height/t.height,d=Math.min(l,i),o=t.top/s.height*100,e=(s.width-(t.left+t.width))/s.width*100,h=(s.height-(t.top+t.height))/s.height*100,y=t.left/s.width*100;return{transformOrigin:`${t.left+t.width/2}px ${t.top+t.height/2}px`,animate:g=>{const p=1-g;return{clipPath:`inset(${o*p}% ${e*p}% ${h*p}% ${y*p}%)`,transform:`translate(${a*p-c.x}px, ${r*p-c.y}px) scale(${1+(d-1)*p})`}}}}function Et(t,n,s){const c=t.querySelector("[data-pinterest-detail-key]"),a=n.querySelector("[data-pinterest-detail-key]");if(t.querySelectorAll("[data-pinterest-detail-key]").length>1||n.querySelectorAll("[data-pinterest-detail-key]").length>1)return null;let r=null,l=null,i=!1;if(!c&&a){l=a;const e=l.getAttribute("data-pinterest-detail-key");if(!e)return null;r=t.querySelector(`[data-pinterest-gallery-key="${e}"]`),r&&(i=!0)}else if(c&&!a){l=c;const e=l.getAttribute("data-pinterest-detail-key");if(!e)return null;r=n.querySelector(`[data-pinterest-gallery-key="${e}"]`),r&&(i=!1)}if(!r||!l)return null;const d=m.getRect(i?t:n,r),o=m.getRect(i?n:t,l);if(i){const e=mt({detailRect:o,galleryRect:d,pageRect:n.getBoundingClientRect(),scrollOffset:s}),h=wt({galleryRect:d,detailRect:o,scrollOffset:s});return n.style.transformOrigin=e.transformOrigin,t.style.transformOrigin=h.transformOrigin,{inAnimation:e.animate,outAnimation:h.animate}}else{const e=xt({galleryRect:d,detailRect:o,scrollOffset:s}),h=bt({detailRect:o,galleryRect:d,pageRect:t.getBoundingClientRect(),scrollOffset:s});return n.style.transformOrigin=e.transformOrigin,t.style.transformOrigin=h.transformOrigin,{inAnimation:e.animate,outAnimation:h.animate}}}const At=(t={})=>{var i,d;const n={stiffness:((i=t.spring)==null?void 0:i.stiffness)??30,damping:((d=t.spring)==null?void 0:d.damping)??10},s=t.timeout??300;let c=null,a=null,r=null,l=null;return{in:async(o,{scrollOffset:e})=>{const h=o;return!await new Promise(u=>{c?u(!0):(a=u,setTimeout(()=>{a=null,u(!1)},s))})||!c?(l==null||l(),l=null,c=null,{spring:n,css:()=>({})}):(r=Et(c,h,e),l==null||l(),l=null,r?(c=null,{spring:n,css:u=>r?r.inAnimation(u):{}}):(c=null,{spring:n,css:()=>({})}))},out:async o=>{const e=new Promise(h=>{l=h});return{spring:n,prepare:h=>{m.prepareOutgoing(h),h.style.zIndex="-1"},wait:async()=>{c=o,a&&(a(!0),a=null),await e},css:h=>r?r.outAnimation(h):{}}}}},P={stiffness:5,damping:4},Ct=(t={})=>{var d,o;const n=t.direction??"up",s={stiffness:((d=t.spring)==null?void 0:d.stiffness)??P.stiffness,damping:((o=t.spring)==null?void 0:o.damping)??P.damping},c=n==="up";let a=null,r=null,l=null;const i=()=>{if(a===null||r===null)return null;const e=Math.min(a,r),h=window.innerHeight;return Math.max(e,h)};return{in:e=>(r=e.offsetHeight,a!==null&&(l=i()),{spring:s,prepare:()=>{e.style.willChange="transform",e.style.backfaceVisibility="hidden",e.style.contain="layout paint"},tick:h=>{l===null&&(l=i());const y=l??window.innerHeight,u=c?(1-h)*y:(1-h)*-y;e.style.transform=`translate3d(0, ${u}px, 0)`},onEnd:()=>{e.style.willChange="auto",e.style.backfaceVisibility="",e.style.contain=""}}),out:(e,h)=>({spring:s,onStart:()=>{a=e.offsetHeight,r!==null&&(l=i())},tick:y=>{l===null&&(l=i());const u=l??window.innerHeight,g=c?(1-y)*-u:(1-y)*u;e.style.transform=`translate3d(0, ${g}px, 0)`},prepare:y=>{m.prepareOutgoing(y,h),y.style.zIndex=c?"-1":"1",y.style.willChange="transform",y.style.backfaceVisibility="hidden",y.style.contain="layout paint",y.style.pointerEvents="none"}})}},I={stiffness:15,damping:7},Lt=(t={})=>{var a,r;const n=t.direction??"left",s={stiffness:((a=t.spring)==null?void 0:a.stiffness)??I.stiffness,damping:((r=t.spring)==null?void 0:r.damping)??I.damping},c=n==="left";return{in:l=>({spring:s,prepare:()=>{l.style.willChange="transform",l.style.backfaceVisibility="hidden",l.style.contain="layout paint"},css:i=>({transform:`translate3d(${c?(1-i)*100:(1-i)*-100}%, 0, 0)`}),onEnd:()=>{l.style.willChange="auto",l.style.backfaceVisibility="",l.style.contain=""}}),out:(l,i)=>({spring:s,css:d=>({transform:`translate3d(${c?(1-d)*-100:(1-d)*100}%, 0, 0)`}),prepare:d=>{m.prepareOutgoing(d,i),d.style.willChange="transform",d.style.backfaceVisibility="hidden",d.style.contain="layout paint",d.style.pointerEvents="none"}})}},D={stiffness:17,damping:6},S=20,L=800,Tt=()=>{let t,n=null;return{in:s=>({spring:D,prepare:()=>{s.style.willChange="transform",s.style.backfaceVisibility="hidden",s.style.contain="layout paint",s.style.transform=`perspective(${L}px) rotateY(${S}deg) translate3d(-100%, 0, 0)`},wait:async()=>{t&&await t},css:c=>{const a=(1-c)*S,r=-(1-c)*100;return{transform:`perspective(${L}px) rotateY(${a}deg) translate3d(${r}%, 0, 0)`}},onEnd:()=>{s.style.transform="",s.style.willChange="auto",s.style.backfaceVisibility="",s.style.contain=""}}),out:(s,c)=>(t=new Promise(a=>{n=a}),{spring:D,prepare:a=>{m.prepareOutgoing(a,c),a.style.willChange="transform",a.style.backfaceVisibility="hidden",a.style.contain="layout paint",a.style.pointerEvents="none",a.style.transform=`perspective(${L}px) rotateY(0deg) translate3d(0%, 0, 0)`},css:a=>{const r=1-a,l=r*S,i=r*100;return{transform:`perspective(${L}px) rotateY(${-l}deg) translate3d(${i}%, 0, 0)`}},onEnd:()=>{n&&n(),s.style.transform=""}})}},St={stiffness:1,damping:1},Ot={stiffness:20,damping:25},kt="#000000",_t="circle",v="CURTAIN_REVEAL_OVERLAY_ID",Pt={position:"fixed",inset:"0",width:"100vw",height:"100%",zIndex:"9999",display:"flex",alignItems:"center",justifyContent:"center",overflow:"hidden"},It={position:"relative",display:"inline-block",height:"5.5rem",overflow:"hidden"},Dt={display:"flex",height:"100%",willChange:"transform",transition:"transform 0.3s ease"},vt={display:"inline-flex",alignItems:"center",justifyContent:"center",whiteSpace:"nowrap",fontSize:"5.5rem",fontWeight:"900",letterSpacing:"0.02em",color:"#FFFFFF"},Ft=.4,T=.5,Yt=.2;function Ut(t,n){switch(t){case"circle":return`circle(${n*100}% at 50% 50%)`;case"square":return`inset(${(1-n)*50}% round ${10*n}%)`;case"triangle":{const s=n*100;return`polygon(50% ${50-s}%, ${50-s}% ${50+s}%, ${50+s}% ${50+s}%)`}}}const Vt=t=>t.reduce((n,s)=>n+s,0),Wt=(t={})=>{const{background:n=kt,texts:s=[],shape:c=_t,inSpring:a=Ot,outSpring:r=St,textStyle:l={}}=t;return{out:(i,d)=>{const o=i.style.opacity;return{spring:r,from:1,to:0,prepare:e=>{m.prepareOutgoing(e,d),e.style.opacity="1"},tick:e=>{const h=Math.max(0,e-Ft);i.style.opacity=String(h)},onEnd:()=>{i.style.opacity=o}}},in:i=>{let d=null,o=null,e=null;const h=document.body.style.overflow,y=document.getElementById(v);let u=[];const g=()=>{d=document.createElement("div"),d.id=v,Object.assign(d.style,Pt,{background:n}),document.body.appendChild(d),o=document.createElement("div"),Object.assign(o.style,It),d.appendChild(o),e=document.createElement("div"),Object.assign(e.style,Dt),o.appendChild(e),s.forEach(p=>{const f=document.createElement("div");f.textContent=p,Object.assign(f.style,vt,l),e.appendChild(f)}),u=Array.from(e.children).map(p=>p.getBoundingClientRect().width)};return{spring:a,from:0,to:1,prepare:()=>{document.body.style.overflow="hidden",i.style.opacity="1",y==null||y.remove(),g(),d&&o&&(d.style.clipPath="none",o.style.transform="scale(1)")},tick:p=>{if(!(!d||!o||!e)){if(p<=T&&s.length>0){const f=p/T,$=Math.min(Math.floor(f*s.length),s.length-1),x=u[$]??0,w=Vt(u.slice(0,$));o.style.width=`${x}px`,e.style.transform=`translateX(-${w}px)`}if(p>T){const $=1-Math.max(0,Math.min(1,(p-T)/Yt));d.style.clipPath=Ut(c,$),o.style.transform=`scale(${$})`}}},onEnd:()=>{d==null||d.remove(),d=o=e=null,document.body.style.overflow=h}}}}};exports.jaemin=m.jaemin;exports.blind=J;exports.curtainReveal=Wt;exports.drill=tt;exports.fade=st;exports.film=ot;exports.hero=yt;exports.instagram=$t;exports.pinterest=At;exports.scroll=Ct;exports.slide=Lt;exports.strip=Tt;
|