Repository navigation
Expand file tree
/
Copy pathlanding.js
More file actions
128 lines (121 loc) · 108 KB
/
Copy pathlanding.js
File metadata and controls
128 lines (121 loc) · 108 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
"use strict";(()=>{var Tt={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":2,"stroke-linecap":"round","stroke-linejoin":"round"};var Va=([f,e,t])=>{let r=document.createElementNS("http://www.w3.org/2000/svg",f);return Object.keys(e).forEach(a=>{r.setAttribute(a,String(e[a]))}),t?.length&&t.forEach(a=>{let o=Va(a);r.appendChild(o)}),r},Ga=(f,e={})=>{let r={...Tt,...e};return Va(["svg",r,f])};var Na=(...f)=>f.filter((e,t,r)=>!!e&&e.trim()!==""&&r.indexOf(e)===t).join(" ").trim();var Wa=f=>{for(let e in f)if(e.startsWith("aria-")||e==="role"||e==="title")return!0;return!1};var Xa=f=>{let e="",t=!1;for(let r of f){if(r==="-"||r==="_"||r<=" "){t=e.length>0;continue}e.length===0?e+=r.toLowerCase():e+=t?r.toUpperCase():r,t=!1}return e};var $a=f=>{let e=Xa(f);return e.charAt(0).toUpperCase()+e.slice(1)};var Ss=f=>Array.from(f.attributes).reduce((e,t)=>(e[t.name]=t.value,e),{}),Ka=f=>typeof f=="string"?f:!f||!f.class?"":f.class&&typeof f.class=="string"?f.class.split(" "):f.class&&Array.isArray(f.class)?f.class:"",or=(f,{nameAttr:e,icons:t,attrs:r})=>{let a=f.getAttribute(e);if(a==null)return;let o=$a(a),s=t[o];if(!s)return console.warn(`${f.outerHTML} icon name was not found in the provided icons object.`);let i=Ss(f),l=Wa(i)?{}:{"aria-hidden":"true"},n={...Tt,"data-lucide":a,...l,...r,...i},u=Ka(i),p=Ka(r),m=Na("lucide",`lucide-${a}`,...u,...p);m&&Object.assign(n,{class:m});let c=Ga(s,n);return f.parentNode?.replaceChild(c,f)};var sr=[["path",{d:"m7 7 10 10"}],["path",{d:"M17 7v10H7"}]];var fr=[["path",{d:"M12 5v14"}],["path",{d:"m19 12-7 7-7-7"}]];var ir=[["path",{d:"M5 12h14"}],["path",{d:"m12 5 7 7-7 7"}]];var lr=[["path",{d:"M7 7h10v10"}],["path",{d:"M7 17 17 7"}]];var nr=[["path",{d:"M10 22V7a1 1 0 0 0-1-1H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-5a1 1 0 0 0-1-1H2"}],["rect",{x:"14",y:"2",width:"8",height:"8",rx:"1"}]];var ur=[["path",{d:"M20 6 9 17l-5-5"}]];var dr=[["path",{d:"m6 9 6 6 6-6"}]];var pr=[["path",{d:"m15 18-6-6 6-6"}]];var mr=[["path",{d:"m9 18 6-6-6-6"}]];var cr=[["circle",{cx:"12",cy:"12",r:"10"}],["path",{d:"M12 6v6l4 2"}]];var Mt=[["path",{d:"m18 16 4-4-4-4"}],["path",{d:"m6 8-4 4 4 4"}],["path",{d:"m14.5 4-5 16"}]];var xr=[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2"}]];var hr=[["path",{d:"M12 15V3"}],["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4"}],["path",{d:"m7 10 5 5 5-5"}]];var gr=[["path",{d:"M15 3h6v6"}],["path",{d:"M10 14 21 3"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"}]];var At=[["path",{d:"M14 22h4a2 2 0 0 0 2-2V8a2.4 2.4 0 0 0-.706-1.706l-3.588-3.588A2.4 2.4 0 0 0 14 2H6a2 2 0 0 0-2 2v6"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5"}],["path",{d:"M5 14a1 1 0 0 0-1 1v2a1 1 0 0 1-1 1 1 1 0 0 1 1 1v2a1 1 0 0 0 1 1"}],["path",{d:"M9 22a1 1 0 0 0 1-1v-2a1 1 0 0 1 1-1 1 1 0 0 1-1-1v-2a1 1 0 0 0-1-1"}]];var Lt=[["path",{d:"M10.5 22H6a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.706.706l3.588 3.588A2.4 2.4 0 0 1 20 8v6"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5"}],["path",{d:"m14 20 2 2 4-4"}]];var Dt=[["path",{d:"M4 12.15V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.706.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2h-3.35"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5"}],["path",{d:"m5 16-3 3 3 3"}],["path",{d:"m9 22 3-3-3-3"}]];var _r=[["path",{d:"M15 2h-4a2 2 0 0 0-2 2v11a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V8"}],["path",{d:"M16.706 2.706A2.4 2.4 0 0 0 15 2v5a1 1 0 0 0 1 1h5a2.4 2.4 0 0 0-.706-1.706z"}],["path",{d:"M5 7a2 2 0 0 0-2 2v11a2 2 0 0 0 2 2h8a2 2 0 0 0 1.732-1"}]];var Cr=[["path",{d:"M14 2v6a2 2 0 0 0 .245.96l5.51 10.08A2 2 0 0 1 18 22H6a2 2 0 0 1-1.755-2.96l5.51-10.08A2 2 0 0 0 10 8V2"}],["path",{d:"M6.453 15h11.094"}],["path",{d:"M8.5 2h7"}]];var yr=[["path",{d:"m6 14 1.5-2.9A2 2 0 0 1 9.24 10H20a2 2 0 0 1 1.94 2.5l-1.54 6a2 2 0 0 1-1.95 1.5H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H18a2 2 0 0 1 2 2v2"}]];var Sr=[["circle",{cx:"12",cy:"18",r:"3"}],["circle",{cx:"6",cy:"6",r:"3"}],["circle",{cx:"18",cy:"6",r:"3"}],["path",{d:"M18 9v2c0 .6-.4 1-1 1H7c-.6 0-1-.4-1-1V9"}],["path",{d:"M12 12v3"}]];var wr=[["circle",{cx:"12",cy:"12",r:"10"}],["path",{d:"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20"}],["path",{d:"M2 12h20"}]];var vr=[["circle",{cx:"12",cy:"12",r:"10"}],["path",{d:"M12 16v-4"}],["path",{d:"M12 8h.01"}]];var kr=[["path",{d:"M2.586 17.414A2 2 0 0 0 2 18.828V21a1 1 0 0 0 1 1h3a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h1a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h.172a2 2 0 0 0 1.414-.586l.814-.814a6.5 6.5 0 1 0-4-4z"}],["circle",{cx:"16.5",cy:"7.5",r:".5",fill:"currentColor"}]];var br=[["path",{d:"M15 3h6v6"}],["path",{d:"m21 3-7 7"}],["path",{d:"m3 21 7-7"}],["path",{d:"M9 21H3v-6"}]];var Pr=[["path",{d:"M4 5h16"}],["path",{d:"M4 12h16"}],["path",{d:"M4 19h16"}]];var Tr=[["rect",{x:"16",y:"16",width:"6",height:"6",rx:"1"}],["rect",{x:"2",y:"16",width:"6",height:"6",rx:"1"}],["rect",{x:"9",y:"2",width:"6",height:"6",rx:"1"}],["path",{d:"M5 16v-3a1 1 0 0 1 1-1h12a1 1 0 0 1 1 1v3"}],["path",{d:"M12 12V8"}]];var Mr=[["rect",{x:"14",y:"3",width:"5",height:"18",rx:"1"}],["rect",{x:"5",y:"3",width:"5",height:"18",rx:"1"}]];var Ar=[["path",{d:"M5 5a2 2 0 0 1 3.008-1.728l11.997 6.998a2 2 0 0 1 .003 3.458l-12 7A2 2 0 0 1 5 19z"}]];var Lr=[["path",{d:"M5 12h14"}],["path",{d:"M12 5v14"}]];var Rt=[["path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8"}],["path",{d:"M3 3v5h5"}],["path",{d:"M12 7v5l4 2"}]];var Dr=[["path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8"}],["path",{d:"M3 3v5h5"}]];var Rr=[["path",{d:"M3 7V5a2 2 0 0 1 2-2h2"}],["path",{d:"M17 3h2a2 2 0 0 1 2 2v2"}],["path",{d:"M21 17v2a2 2 0 0 1-2 2h-2"}],["path",{d:"M7 21H5a2 2 0 0 1-2-2v-2"}],["path",{d:"M7 12h10"}]];var Br=[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z"}],["path",{d:"m9 12 2 2 4-4"}]];var Fr=[["path",{d:"M19 7V4a1 1 0 0 0-1-1H5a2 2 0 0 0 0 4h15a1 1 0 0 1 1 1v4h-3a2 2 0 0 0 0 4h3a1 1 0 0 0 1-1v-2a1 1 0 0 0-1-1"}],["path",{d:"M3 5v14a2 2 0 0 0 2 2h15a1 1 0 0 0 1-1v-4"}]];var Or=[["path",{d:"M18 6 6 18"}],["path",{d:"m6 6 12 12"}]];var Er=[["circle",{cx:"11",cy:"11",r:"8"}],["line",{x1:"21",x2:"16.65",y1:"21",y2:"16.65"}],["line",{x1:"11",x2:"11",y1:"8",y2:"14"}],["line",{x1:"8",x2:"14",y1:"11",y2:"11"}]];var qr=[["circle",{cx:"11",cy:"11",r:"8"}],["line",{x1:"21",x2:"16.65",y1:"21",y2:"16.65"}],["line",{x1:"8",x2:"14",y1:"11",y2:"11"}]];var Hr=({icons:f={},nameAttr:e="data-lucide",attrs:t={},root:r=document,inTemplates:a}={})=>{if(!Object.values(f).length)throw new Error(`Please provide an icons object.
If you want to use all the icons you can import it like:
\`import { createIcons, icons } from 'lucide';
lucide.createIcons({icons});\``);if(typeof r>"u")throw new Error("`createIcons()` only works in a browser environment.");if(Array.from(r.querySelectorAll(`[${e}]`)).forEach(s=>or(s,{nameAttr:e,icons:f,attrs:t})),a&&Array.from(r.querySelectorAll("template")).forEach(i=>Hr({icons:f,nameAttr:e,attrs:t,root:i.content,inTemplates:a})),e==="data-lucide"){let s=r.querySelectorAll("[icon-name]");s.length>0&&(console.warn("[Lucide] Some icons were found with the now deprecated icon-name attribute. These will still be replaced for backwards compatibility, but will no longer be supported in v1.0 and you should switch to data-lucide"),Array.from(s).forEach(i=>or(i,{nameAttr:"icon-name",icons:f,attrs:t})))}};function ye(f){if(f===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return f}function ao(f,e){f.prototype=Object.create(e.prototype),f.prototype.constructor=f,f.__proto__=e}var oe={autoSleep:120,force3D:"auto",nullTargetWarn:1,units:{lineHeight:""}},mt={duration:.5,overwrite:!1,delay:0},ra,K,H,pe=1e8,O=1/pe,Xr=Math.PI*2,ws=Xr/4,vs=0,oo=Math.sqrt,ks=Math.cos,bs=Math.sin,$=function(e){return typeof e=="string"},G=function(e){return typeof e=="function"},we=function(e){return typeof e=="number"},Vt=function(e){return typeof e>"u"},he=function(e){return typeof e=="object"},ae=function(e){return e!==!1},aa=function(){return typeof window<"u"},Bt=function(e){return G(e)||$(e)},so=typeof ArrayBuffer=="function"&&ArrayBuffer.isView||function(){},Q=Array.isArray,Ps=/random\([^)]+\)/g,Ts=/,\s*/g,Ya=/(?:-?\.?\d|\.)+/gi,oa=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,ze=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,Ur=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,sa=/[+-]=-?[.\d]+/,Ms=/[^,'"\[\]\s]+/gi,As=/^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i,z,ce,$r,fa,ie={},qt={},fo,io=function(e){return(qt=Ye(e,ie))&&J},Gt=function(e,t){return console.warn("Invalid property",e,"set to",t,"Missing plugin? gsap.registerPlugin()")},ct=function(e,t){return!t&&console.warn(e)},lo=function(e,t){return e&&(ie[e]=t)&&qt&&(qt[e]=t)||ie},xt=function(){return 0},Ls={suppressEvents:!0,isStart:!0,kill:!1},Ft={suppressEvents:!0,kill:!1},Ds={suppressEvents:!0},ia={},Pe=[],Kr={},no,te={},zr={},Za=30,Ot=[],la="",na=function(e){var t=e[0],r,a;if(he(t)||G(t)||(e=[e]),!(r=(t._gsap||{}).harness)){for(a=Ot.length;a--&&!Ot[a].targetTest(t););r=Ot[a]}for(a=e.length;a--;)e[a]&&(e[a]._gsap||(e[a]._gsap=new ma(e[a],r)))||e.splice(a,1);return e},Te=function(e){return e._gsap||na(me(e))[0]._gsap},ua=function(e,t,r){return(r=e[t])&&G(r)?e[t]():Vt(r)&&e.getAttribute&&e.getAttribute(t)||r},j=function(e,t){return(e=e.split(",")).forEach(t)||e},N=function(e){return Math.round(e*1e5)/1e5||0},U=function(e){return Math.round(e*1e7)/1e7||0},Ie=function(e,t){var r=t.charAt(0),a=parseFloat(t.substr(2));return e=parseFloat(e),r==="+"?e+a:r==="-"?e-a:r==="*"?e*a:e/a},Rs=function(e,t){for(var r=t.length,a=0;e.indexOf(t[a])<0&&++a<r;);return a<r},Ht=function(){var e=Pe.length,t=Pe.slice(0),r,a;for(Kr={},Pe.length=0,r=0;r<e;r++)a=t[r],a&&a._lazy&&(a.render(a._lazy[0],a._lazy[1],!0)._lazy=0)},da=function(e){return!!(e._initted||e._startAt||e.add)},uo=function(e,t,r,a){Pe.length&&!K&&Ht(),e.render(t,r,a||!!(K&&t<0&&da(e))),Pe.length&&!K&&Ht()},po=function(e){var t=parseFloat(e);return(t||t===0)&&(e+"").match(Ms).length<2?t:$(e)?e.trim():e},mo=function(e){return e},le=function(e,t){for(var r in t)r in e||(e[r]=t[r]);return e},Bs=function(e){return function(t,r){for(var a in r)a in t||a==="duration"&&e||a==="ease"||(t[a]=r[a])}},Ye=function(e,t){for(var r in t)e[r]=t[r];return e},Qa=function f(e,t){for(var r in t)r!=="__proto__"&&r!=="constructor"&&r!=="prototype"&&(e[r]=he(t[r])?f(e[r]||(e[r]={}),t[r]):t[r]);return e},Ut=function(e,t){var r={},a;for(a in e)a in t||(r[a]=e[a]);return r},ut=function(e){var t=e.parent||z,r=e.keyframes?Bs(Q(e.keyframes)):le;if(ae(e.inherit))for(;t;)r(e,t.vars.defaults),t=t.parent||t._dp;return e},Fs=function(e,t){for(var r=e.length,a=r===t.length;a&&r--&&e[r]===t[r];);return r<0},co=function(e,t,r,a,o){r===void 0&&(r="_first"),a===void 0&&(a="_last");var s=e[a],i;if(o)for(i=t[o];s&&s[o]>i;)s=s._prev;return s?(t._next=s._next,s._next=t):(t._next=e[r],e[r]=t),t._next?t._next._prev=t:e[a]=t,t._prev=s,t.parent=t._dp=e,t},Nt=function(e,t,r,a){r===void 0&&(r="_first"),a===void 0&&(a="_last");var o=t._prev,s=t._next;o?o._next=s:e[r]===t&&(e[r]=s),s?s._prev=o:e[a]===t&&(e[a]=o),t._next=t._prev=t.parent=null},Me=function(e,t){e.parent&&(!t||e.parent.autoRemoveChildren)&&e.parent.remove&&e.parent.remove(e),e._act=0},qe=function(e,t){if(e&&(!t||t._end>e._dur||t._start<0))for(var r=e;r;)r._dirty=1,r=r.parent;return e},Os=function(e){for(var t=e.parent;t&&t.parent;)t._dirty=1,t.totalDuration(),t=t.parent;return e},Yr=function(e,t,r,a){return e._startAt&&(K?e._startAt.revert(Ft):e.vars.immediateRender&&!e.vars.autoRevert||e._startAt.render(t,!0,a))},Es=function f(e){return!e||e._ts&&f(e.parent)},Ja=function(e){return e._repeat?Ze(e._tTime,e=e.duration()+e._rDelay)*e:0},Ze=function(e,t){var r=Math.floor(e=U(e/t));return e&&r===e?r-1:r},zt=function(e,t){return(e-t._start)*t._ts+(t._ts>=0?0:t._dirty?t.totalDuration():t._tDur)},Wt=function(e){return e._end=U(e._start+(e._tDur/Math.abs(e._ts||e._rts||O)||0))},Xt=function(e,t){var r=e._dp;return r&&r.smoothChildTiming&&e._ts&&(e._start=U(r._time-(e._ts>0?t/e._ts:((e._dirty?e.totalDuration():e._tDur)-t)/-e._ts)),Wt(e),r._dirty||qe(r,e)),e},xo=function(e,t){var r;if((t._time||!t._dur&&t._initted||t._start<e._time&&(t._dur||!t.add))&&(r=zt(e.rawTime(),t),(!t._dur||_t(0,t.totalDuration(),r)-t._tTime>O)&&t.render(r,!0)),qe(e,t)._dp&&e._initted&&e._time>=e._dur&&e._ts){if(e._dur<e.duration())for(r=e;r._dp;)r.rawTime()>=0&&r.totalTime(r._tTime),r=r._dp;e._zTime=-O}},xe=function(e,t,r,a){return t.parent&&Me(t),t._start=U((we(r)?r:r||e!==z?de(e,r,t):e._time)+t._delay),t._end=U(t._start+(t.totalDuration()/Math.abs(t.timeScale())||0)),co(e,t,"_first","_last",e._sort?"_start":0),Zr(t)||(e._recent=t),a||xo(e,t),e._ts<0&&Xt(e,e._tTime),e},ho=function(e,t){return(ie.ScrollTrigger||Gt("scrollTrigger",t))&&ie.ScrollTrigger.create(t,e)},go=function(e,t,r,a,o){if(ha(e,t,o),!e._initted)return 1;if(!r&&e._pt&&!K&&(e._dur&&e.vars.lazy!==!1||!e._dur&&e.vars.lazy)&&no!==re.frame)return Pe.push(e),e._lazy=[o,a],1},qs=function f(e){var t=e.parent;return t&&t._ts&&t._initted&&!t._lock&&(t.rawTime()<0||f(t))},Zr=function(e){var t=e.data;return t==="isFromStart"||t==="isStart"},Hs=function(e,t,r,a){var o=e.ratio,s=t<0||!t&&(!e._start&&qs(e)&&!(!e._initted&&Zr(e))||(e._ts<0||e._dp._ts<0)&&!Zr(e))?0:1,i=e._rDelay,l=0,n,u,p;if(i&&e._repeat&&(l=_t(0,e._tDur,t),u=Ze(l,i),e._yoyo&&u&1&&(s=1-s),u!==Ze(e._tTime,i)&&(o=1-s,e.vars.repeatRefresh&&e._initted&&e.invalidate())),s!==o||K||a||e._zTime===O||!t&&e._zTime){if(!e._initted&&go(e,t,a,r,l))return;for(p=e._zTime,e._zTime=t||(r?O:0),r||(r=t&&!p),e.ratio=s,e._from&&(s=1-s),e._time=0,e._tTime=l,n=e._pt;n;)n.r(s,n.d),n=n._next;t<0&&Yr(e,t,r,!0),e._onUpdate&&!r&&fe(e,"onUpdate"),l&&e._repeat&&!r&&e.parent&&fe(e,"onRepeat"),(t>=e._tDur||t<0)&&e.ratio===s&&(s&&Me(e,1),!r&&!K&&(fe(e,s?"onComplete":"onReverseComplete",!0),e._prom&&e._prom()))}else e._zTime||(e._zTime=t)},Us=function(e,t,r){var a;if(r>t)for(a=e._first;a&&a._start<=r;){if(a.data==="isPause"&&a._start>t)return a;a=a._next}else for(a=e._last;a&&a._start>=r;){if(a.data==="isPause"&&a._start<t)return a;a=a._prev}},Qe=function(e,t,r,a){var o=e._repeat,s=U(t)||0,i=e._tTime/e._tDur;return i&&!a&&(e._time*=s/e._dur),e._dur=s,e._tDur=o?o<0?1e10:U(s*(o+1)+e._rDelay*o):s,i>0&&!a&&Xt(e,e._tTime=e._tDur*i),e.parent&&Wt(e),r||qe(e.parent,e),e},ja=function(e){return e instanceof Z?qe(e):Qe(e,e._dur)},zs={_start:0,endTime:xt,totalDuration:xt},de=function f(e,t,r){var a=e.labels,o=e._recent||zs,s=e.duration()>=pe?o.endTime(!1):e._dur,i,l,n;return $(t)&&(isNaN(t)||t in a)?(l=t.charAt(0),n=t.substr(-1)==="%",i=t.indexOf("="),l==="<"||l===">"?(i>=0&&(t=t.replace(/=/,"")),(l==="<"?o._start:o.endTime(o._repeat>=0))+(parseFloat(t.substr(1))||0)*(n?(i<0?o:r).totalDuration()/100:1)):i<0?(t in a||(a[t]=s),a[t]):(l=parseFloat(t.charAt(i-1)+t.substr(i+1)),n&&r&&(l=l/100*(Q(r)?r[0]:r).totalDuration()),i>1?f(e,t.substr(0,i-1),r)+l:s+l)):t==null?s:+t},dt=function(e,t,r){var a=we(t[1]),o=(a?2:1)+(e<2?0:1),s=t[o],i,l;if(a&&(s.duration=t[1]),s.parent=r,e){for(i=s,l=r;l&&!("immediateRender"in i);)i=l.vars.defaults||{},l=ae(l.vars.inherit)&&l.parent;s.immediateRender=ae(i.immediateRender),e<2?s.runBackwards=1:s.startAt=t[o-1]}return new X(t[0],s,t[o+1])},Ae=function(e,t){return e||e===0?t(e):t},_t=function(e,t,r){return r<e?e:r>t?t:r},Y=function(e,t){return!$(e)||!(t=As.exec(e))?"":t[1]},Is=function(e,t,r){return Ae(r,function(a){return _t(e,t,a)})},Qr=[].slice,_o=function(e,t){return e&&he(e)&&"length"in e&&(!t&&!e.length||e.length-1 in e&&he(e[0]))&&!e.nodeType&&e!==ce},Vs=function(e,t,r){return r===void 0&&(r=[]),e.forEach(function(a){var o;return $(a)&&!t||_o(a,1)?(o=r).push.apply(o,me(a)):r.push(a)})||r},me=function(e,t,r){return H&&!t&&H.selector?H.selector(e):$(e)&&!r&&($r||!Je())?Qr.call((t||fa).querySelectorAll(e),0):Q(e)?Vs(e,r):_o(e)?Qr.call(e,0):e?[e]:[]},Jr=function(e){return e=me(e)[0]||ct("Invalid scope")||{},function(t){var r=e.current||e.nativeElement||e;return me(t,r.querySelectorAll?r:r===e?ct("Invalid scope")||fa.createElement("div"):e)}},Co=function(e){return e.sort(function(){return .5-Math.random()})},yo=function(e){if(G(e))return e;var t=he(e)?e:{each:e},r=He(t.ease),a=t.from||0,o=parseFloat(t.base)||0,s={},i=a>0&&a<1,l=isNaN(a)||i,n=t.axis,u=a,p=a;return $(a)?u=p={center:.5,edges:.5,end:1}[a]||0:!i&&l&&(u=a[0],p=a[1]),function(m,c,x){var d=(x||t).length,h=s[d],_,g,y,S,C,T,w,P,k;if(!h){if(k=t.grid==="auto"?0:(t.grid||[1,pe])[1],!k){for(w=-pe;w<(w=x[k++].getBoundingClientRect().left)&&k<d;);k<d&&k--}for(h=s[d]=[],_=l?Math.min(k,d)*u-.5:a%k,g=k===pe?0:l?d*p/k-.5:a/k|0,w=0,P=pe,T=0;T<d;T++)y=T%k-_,S=g-(T/k|0),h[T]=C=n?Math.abs(n==="y"?S:y):oo(y*y+S*S),C>w&&(w=C),C<P&&(P=C);a==="random"&&Co(h),h.max=w-P,h.min=P,h.v=d=(parseFloat(t.amount)||parseFloat(t.each)*(k>d?d-1:n?n==="y"?d/k:k:Math.max(k,d/k))||0)*(a==="edges"?-1:1),h.b=d<0?o-d:o,h.u=Y(t.amount||t.each)||0,r=r&&d<0?tf(r):r}return d=(h[m]-h.min)/h.max||0,U(h.b+(r?r(d):d)*h.v)+h.u}},jr=function(e){var t=Math.pow(10,((e+"").split(".")[1]||"").length);return function(r){var a=U(Math.round(parseFloat(r)/e)*e*t);return(a-a%1)/t+(we(r)?0:Y(r))}},So=function(e,t){var r=Q(e),a,o;return!r&&he(e)&&(a=r=e.radius||pe,e.values?(e=me(e.values),(o=!we(e[0]))&&(a*=a)):e=jr(e.increment)),Ae(t,r?G(e)?function(s){return o=e(s),Math.abs(o-s)<=a?o:s}:function(s){for(var i=parseFloat(o?s.x:s),l=parseFloat(o?s.y:0),n=pe,u=0,p=e.length,m,c;p--;)o?(m=e[p].x-i,c=e[p].y-l,m=m*m+c*c):m=Math.abs(e[p]-i),m<n&&(n=m,u=p);return u=!a||n<=a?e[u]:s,o||u===s||we(s)?u:u+Y(s)}:jr(e))},wo=function(e,t,r,a){return Ae(Q(e)?!t:r===!0?!!(r=0):!a,function(){return Q(e)?e[~~(Math.random()*e.length)]:(r=r||1e-5)&&(a=r<1?Math.pow(10,(r+"").length-2):1)&&Math.floor(Math.round((e-r/2+Math.random()*(t-e+r*.99))/r)*r*a)/a})},Gs=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return function(a){return t.reduce(function(o,s){return s(o)},a)}},Ns=function(e,t){return function(r){return e(parseFloat(r))+(t||Y(r))}},Ws=function(e,t,r){return ko(e,t,0,1,r)},vo=function(e,t,r){return Ae(r,function(a){return e[~~t(a)]})},Xs=function f(e,t,r){var a=t-e;return Q(e)?vo(e,f(0,e.length),t):Ae(r,function(o){return(a+(o-e)%a)%a+e})},$s=function f(e,t,r){var a=t-e,o=a*2;return Q(e)?vo(e,f(0,e.length-1),t):Ae(r,function(s){return s=(o+(s-e)%o)%o||0,e+(s>a?o-s:s)})},je=function(e){return e.replace(Ps,function(t){var r=t.indexOf("[")+1,a=t.substring(r||7,r?t.indexOf("]"):t.length-1).split(Ts);return wo(r?a:+a[0],r?0:+a[1],+a[2]||1e-5)})},ko=function(e,t,r,a,o){var s=t-e,i=a-r;return Ae(o,function(l){return r+((l-e)/s*i||0)})},Ks=function f(e,t,r,a){var o=isNaN(e+t)?0:function(c){return(1-c)*e+c*t};if(!o){var s=$(e),i={},l,n,u,p,m;if(r===!0&&(a=1)&&(r=null),s)e={p:e},t={p:t};else if(Q(e)&&!Q(t)){for(u=[],p=e.length,m=p-2,n=1;n<p;n++)u.push(f(e[n-1],e[n]));p--,o=function(x){x*=p;var d=Math.min(m,~~x);return u[d](x-d)},r=t}else a||(e=Ye(Q(e)?[]:{},e));if(!u){for(l in t)ca.call(i,e,l,"get",t[l]);o=function(x){return Ca(x,i)||(s?e.p:e)}}}return Ae(r,o)},eo=function(e,t,r){var a=e.labels,o=pe,s,i,l;for(s in a)i=a[s]-t,i<0==!!r&&i&&o>(i=Math.abs(i))&&(l=s,o=i);return l},fe=function(e,t,r){var a=e.vars,o=a[t],s=H,i=e._ctx,l,n,u;if(o)return l=a[t+"Params"],n=a.callbackScope||e,r&&Pe.length&&Ht(),i&&(H=i),u=l?o.apply(n,l):o.call(n),H=s,u},lt=function(e){return Me(e),e.scrollTrigger&&e.scrollTrigger.kill(!!K),e.progress()<1&&fe(e,"onInterrupt"),e},Ke,bo=[],Po=function(e){if(e)if(e=!e.name&&e.default||e,aa()||e.headless){var t=e.name,r=G(e),a=t&&!r&&e.init?function(){this._props=[]}:e,o={init:xt,render:Ca,add:ca,kill:pf,modifier:df,rawVars:0},s={targetTest:0,get:0,getSetter:$t,aliases:{},register:0};if(Je(),e!==a){if(te[t])return;le(a,le(Ut(e,o),s)),Ye(a.prototype,Ye(o,Ut(e,s))),te[a.prop=t]=a,e.targetTest&&(Ot.push(a),ia[t]=1),t=(t==="css"?"CSS":t.charAt(0).toUpperCase()+t.substr(1))+"Plugin"}lo(t,a),e.register&&e.register(J,a,ee)}else bo.push(e)},F=255,nt={aqua:[0,F,F],lime:[0,F,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,F],navy:[0,0,128],white:[F,F,F],olive:[128,128,0],yellow:[F,F,0],orange:[F,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[F,0,0],pink:[F,192,203],cyan:[0,F,F],transparent:[F,F,F,0]},Ir=function(e,t,r){return e+=e<0?1:e>1?-1:0,(e*6<1?t+(r-t)*e*6:e<.5?r:e*3<2?t+(r-t)*(2/3-e)*6:t)*F+.5|0},To=function(e,t,r){var a=e?we(e)?[e>>16,e>>8&F,e&F]:0:nt.black,o,s,i,l,n,u,p,m,c,x;if(!a){if(e.substr(-1)===","&&(e=e.substr(0,e.length-1)),nt[e])a=nt[e];else if(e.charAt(0)==="#"){if(e.length<6&&(o=e.charAt(1),s=e.charAt(2),i=e.charAt(3),e="#"+o+o+s+s+i+i+(e.length===5?e.charAt(4)+e.charAt(4):"")),e.length===9)return a=parseInt(e.substr(1,6),16),[a>>16,a>>8&F,a&F,parseInt(e.substr(7),16)/255];e=parseInt(e.substr(1),16),a=[e>>16,e>>8&F,e&F]}else if(e.substr(0,3)==="hsl"){if(a=x=e.match(Ya),!t)l=+a[0]%360/360,n=+a[1]/100,u=+a[2]/100,s=u<=.5?u*(n+1):u+n-u*n,o=u*2-s,a.length>3&&(a[3]*=1),a[0]=Ir(l+1/3,o,s),a[1]=Ir(l,o,s),a[2]=Ir(l-1/3,o,s);else if(~e.indexOf("="))return a=e.match(oa),r&&a.length<4&&(a[3]=1),a}else a=e.match(Ya)||nt.transparent;a=a.map(Number)}return t&&!x&&(o=a[0]/F,s=a[1]/F,i=a[2]/F,p=Math.max(o,s,i),m=Math.min(o,s,i),u=(p+m)/2,p===m?l=n=0:(c=p-m,n=u>.5?c/(2-p-m):c/(p+m),l=p===o?(s-i)/c+(s<i?6:0):p===s?(i-o)/c+2:(o-s)/c+4,l*=60),a[0]=~~(l+.5),a[1]=~~(n*100+.5),a[2]=~~(u*100+.5)),r&&a.length<4&&(a[3]=1),a},Mo=function(e){var t=[],r=[],a=-1;return e.split(Se).forEach(function(o){var s=o.match(ze)||[];t.push.apply(t,s),r.push(a+=s.length+1)}),t.c=r,t},to=function(e,t,r){var a="",o=(e+a).match(Se),s=t?"hsla(":"rgba(",i=0,l,n,u,p;if(!o)return e;if(o=o.map(function(m){return(m=To(m,t,1))&&s+(t?m[0]+","+m[1]+"%,"+m[2]+"%,"+m[3]:m.join(","))+")"}),r&&(u=Mo(e),l=r.c,l.join(a)!==u.c.join(a)))for(n=e.replace(Se,"1").split(ze),p=n.length-1;i<p;i++)a+=n[i]+(~l.indexOf(i)?o.shift()||s+"0,0,0,0)":(u.length?u:o.length?o:r).shift());if(!n)for(n=e.split(Se),p=n.length-1;i<p;i++)a+=n[i]+o[i];return a+n[p]},Se=(function(){var f="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3,4}){1,2}\\b",e;for(e in nt)f+="|"+e+"\\b";return new RegExp(f+")","gi")})(),Ys=/hsl[a]?\(/,pa=function(e){var t=e.join(" "),r;if(Se.lastIndex=0,Se.test(t))return r=Ys.test(t),e[1]=to(e[1],r),e[0]=to(e[0],r,Mo(e[1])),!0},ht,re=(function(){var f=Date.now,e=500,t=33,r=f(),a=r,o=1e3/240,s=o,i=[],l,n,u,p,m,c,x=function d(h){var _=f()-a,g=h===!0,y,S,C,T;if((_>e||_<0)&&(r+=_-t),a+=_,C=a-r,y=C-s,(y>0||g)&&(T=++p.frame,m=C-p.time*1e3,p.time=C=C/1e3,s+=y+(y>=o?4:o-y),S=1),g||(l=n(d)),S)for(c=0;c<i.length;c++)i[c](C,m,T,h)};return p={time:0,frame:0,tick:function(){x(!0)},deltaRatio:function(h){return m/(1e3/(h||60))},wake:function(){fo&&(!$r&&aa()&&(ce=$r=window,fa=ce.document||{},ie.gsap=J,(ce.gsapVersions||(ce.gsapVersions=[])).push(J.version),io(qt||ce.GreenSockGlobals||!ce.gsap&&ce||{}),bo.forEach(Po)),u=typeof requestAnimationFrame<"u"&&requestAnimationFrame,l&&p.sleep(),n=u||function(h){return setTimeout(h,s-p.time*1e3+1|0)},ht=1,x(2))},sleep:function(){(u?cancelAnimationFrame:clearTimeout)(l),ht=0,n=xt},lagSmoothing:function(h,_){e=h||1/0,t=Math.min(_||33,e)},fps:function(h){o=1e3/(h||240),s=p.time*1e3+o},add:function(h,_,g){var y=_?function(S,C,T,w){h(S,C,T,w),p.remove(y)}:h;return p.remove(h),i[g?"unshift":"push"](y),Je(),y},remove:function(h,_){~(_=i.indexOf(h))&&i.splice(_,1)&&c>=_&&c--},_listeners:i},p})(),Je=function(){return!ht&&re.wake()},R={},Zs=/^[\d.\-M][\d.\-,\s]/,Qs=/["']/g,Js=function(e){for(var t={},r=e.substr(1,e.length-3).split(":"),a=r[0],o=1,s=r.length,i,l,n;o<s;o++)l=r[o],i=o!==s-1?l.lastIndexOf(","):l.length,n=l.substr(0,i),t[a]=isNaN(n)?n.replace(Qs,"").trim():+n,a=l.substr(i+1).trim();return t},js=function(e){var t=e.indexOf("(")+1,r=e.indexOf(")"),a=e.indexOf("(",t);return e.substring(t,~a&&a<r?e.indexOf(")",r+1):r)},ef=function(e){var t=(e+"").split("("),r=R[t[0]];return r&&t.length>1&&r.config?r.config.apply(null,~e.indexOf("{")?[Js(t[1])]:js(e).split(",").map(po)):R._CE&&Zs.test(e)?R._CE("",e):r},tf=function(e){return function(t){return 1-e(1-t)}},He=function(e,t){return e&&(G(e)?e:R[e]||ef(e))||t},Ve=function(e,t,r,a){r===void 0&&(r=function(l){return 1-t(1-l)}),a===void 0&&(a=function(l){return l<.5?t(l*2)/2:1-t((1-l)*2)/2});var o={easeIn:t,easeOut:r,easeInOut:a},s;return j(e,function(i){R[i]=ie[i]=o,R[s=i.toLowerCase()]=r;for(var l in o)R[s+(l==="easeIn"?".in":l==="easeOut"?".out":".inOut")]=R[i+"."+l]=o[l]}),o},Ao=function(e){return function(t){return t<.5?(1-e(1-t*2))/2:.5+e((t-.5)*2)/2}},Vr=function f(e,t,r){var a=t>=1?t:1,o=(r||(e?.3:.45))/(t<1?t:1),s=o/Xr*(Math.asin(1/a)||0),i=function(u){return u===1?1:a*Math.pow(2,-10*u)*bs((u-s)*o)+1},l=e==="out"?i:e==="in"?function(n){return 1-i(1-n)}:Ao(i);return o=Xr/o,l.config=function(n,u){return f(e,n,u)},l},Gr=function f(e,t){t===void 0&&(t=1.70158);var r=function(s){return s?--s*s*((t+1)*s+t)+1:0},a=e==="out"?r:e==="in"?function(o){return 1-r(1-o)}:Ao(r);return a.config=function(o){return f(e,o)},a};j("Linear,Quad,Cubic,Quart,Quint,Strong",function(f,e){var t=e<5?e+1:e;Ve(f+",Power"+(t-1),e?function(r){return Math.pow(r,t)}:function(r){return r},function(r){return 1-Math.pow(1-r,t)},function(r){return r<.5?Math.pow(r*2,t)/2:1-Math.pow((1-r)*2,t)/2})});R.Linear.easeNone=R.none=R.Linear.easeIn;Ve("Elastic",Vr("in"),Vr("out"),Vr());(function(f,e){var t=1/e,r=2*t,a=2.5*t,o=function(i){return i<t?f*i*i:i<r?f*Math.pow(i-1.5/e,2)+.75:i<a?f*(i-=2.25/e)*i+.9375:f*Math.pow(i-2.625/e,2)+.984375};Ve("Bounce",function(s){return 1-o(1-s)},o)})(7.5625,2.75);Ve("Expo",function(f){return Math.pow(2,10*(f-1))*f+f*f*f*f*f*f*(1-f)});Ve("Circ",function(f){return-(oo(1-f*f)-1)});Ve("Sine",function(f){return f===1?1:-ks(f*ws)+1});Ve("Back",Gr("in"),Gr("out"),Gr());R.SteppedEase=R.steps=ie.SteppedEase={config:function(e,t){e===void 0&&(e=1);var r=1/e,a=e+(t?0:1),o=t?1:0,s=1-O;return function(i){return((a*_t(0,s,i)|0)+o)*r}}};mt.ease=R["quad.out"];j("onComplete,onUpdate,onStart,onRepeat,onReverseComplete,onInterrupt",function(f){return la+=f+","+f+"Params,"});var ma=function(e,t){this.id=vs++,e._gsap=this,this.target=e,this.harness=t,this.get=t?t.get:ua,this.set=t?t.getSetter:$t},gt=(function(){function f(t){this.vars=t,this._delay=+t.delay||0,(this._repeat=t.repeat===1/0?-2:t.repeat||0)&&(this._rDelay=t.repeatDelay||0,this._yoyo=!!t.yoyo||!!t.yoyoEase),this._ts=1,Qe(this,+t.duration,1,1),this.data=t.data,H&&(this._ctx=H,H.data.push(this)),ht||re.wake()}var e=f.prototype;return e.delay=function(r){return r||r===0?(this.parent&&this.parent.smoothChildTiming&&this.startTime(this._start+r-this._delay),this._delay=r,this):this._delay},e.duration=function(r){return arguments.length?this.totalDuration(this._repeat>0?r+(r+this._rDelay)*this._repeat:r):this.totalDuration()&&this._dur},e.totalDuration=function(r){return arguments.length?(this._dirty=0,Qe(this,this._repeat<0?r:(r-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur},e.totalTime=function(r,a){if(Je(),!arguments.length)return this._tTime;var o=this._dp;if(o&&o.smoothChildTiming&&this._ts){for(Xt(this,r),!o._dp||o.parent||xo(o,this);o&&o.parent;)o.parent._time!==o._start+(o._ts>=0?o._tTime/o._ts:(o.totalDuration()-o._tTime)/-o._ts)&&o.totalTime(o._tTime,!0),o=o.parent;!this.parent&&this._dp.autoRemoveChildren&&(this._ts>0&&r<this._tDur||this._ts<0&&r>0||!this._tDur&&!r)&&xe(this._dp,this,this._start-this._delay)}return(this._tTime!==r||!this._dur&&!a||this._initted&&Math.abs(this._zTime)===O||!this._initted&&this._dur&&r||!r&&!this._initted&&(this.add||this._ptLookup))&&(this._ts||(this._pTime=r),uo(this,r,a)),this},e.time=function(r,a){return arguments.length?this.totalTime(Math.min(this.totalDuration(),r+Ja(this))%(this._dur+this._rDelay)||(r?this._dur:0),a):this._time},e.totalProgress=function(r,a){return arguments.length?this.totalTime(this.totalDuration()*r,a):this.totalDuration()?Math.min(1,this._tTime/this._tDur):this.rawTime()>=0&&this._initted?1:0},e.progress=function(r,a){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&!(this.iteration()&1)?1-r:r)+Ja(this),a):this.duration()?Math.min(1,this._time/this._dur):this.rawTime()>0?1:0},e.iteration=function(r,a){var o=this.duration()+this._rDelay;return arguments.length?this.totalTime(this._time+(r-1)*o,a):this._repeat?Ze(this._tTime,o)+1:1},e.timeScale=function(r,a){if(!arguments.length)return this._rts===-O?0:this._rts;if(this._rts===r)return this;var o=this.parent&&this._ts?zt(this.parent._time,this):this._tTime;return this._rts=+r||0,this._ts=this._ps||r===-O?0:this._rts,this.totalTime(_t(-Math.abs(this._delay),this.totalDuration(),o),a!==!1),Wt(this),Os(this)},e.paused=function(r){return arguments.length?(this._ps!==r&&(this._ps=r,r?(this._pTime=this._tTime||Math.max(-this._delay,this.rawTime()),this._ts=this._act=0):(Je(),this._ts=this._rts,this.totalTime(this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,this.progress()===1&&Math.abs(this._zTime)!==O&&(this._tTime-=O)))),this):this._ps},e.startTime=function(r){if(arguments.length){this._start=U(r);var a=this.parent||this._dp;return a&&(a._sort||!this.parent)&&xe(a,this,this._start-this._delay),this}return this._start},e.endTime=function(r){return this._start+(ae(r)?this.totalDuration():this.duration())/Math.abs(this._ts||1)},e.rawTime=function(r){var a=this.parent||this._dp;return a?r&&(!this._ts||this._repeat&&this._time&&this.totalProgress()<1)?this._tTime%(this._dur+this._rDelay):this._ts?zt(a.rawTime(r),this):this._tTime:this._tTime},e.revert=function(r){r===void 0&&(r=Ds);var a=K;return K=r,da(this)&&(this.timeline&&this.timeline.revert(r),this.totalTime(-.01,r.suppressEvents)),this.data!=="nested"&&r.kill!==!1&&this.kill(),K=a,this},e.globalTime=function(r){for(var a=this,o=arguments.length?r:a.rawTime();a;)o=a._start+o/(Math.abs(a._ts)||1),a=a._dp;return!this.parent&&this._sat?this._sat.globalTime(r):o},e.repeat=function(r){return arguments.length?(this._repeat=r===1/0?-2:r,ja(this)):this._repeat===-2?1/0:this._repeat},e.repeatDelay=function(r){if(arguments.length){var a=this._time;return this._rDelay=r,ja(this),a?this.time(a):this}return this._rDelay},e.yoyo=function(r){return arguments.length?(this._yoyo=r,this):this._yoyo},e.seek=function(r,a){return this.totalTime(de(this,r),ae(a))},e.restart=function(r,a){return this.play().totalTime(r?-this._delay:0,ae(a)),this._dur||(this._zTime=-O),this},e.play=function(r,a){return r!=null&&this.seek(r,a),this.reversed(!1).paused(!1)},e.reverse=function(r,a){return r!=null&&this.seek(r||this.totalDuration(),a),this.reversed(!0).paused(!1)},e.pause=function(r,a){return r!=null&&this.seek(r,a),this.paused(!0)},e.resume=function(){return this.paused(!1)},e.reversed=function(r){return arguments.length?(!!r!==this.reversed()&&this.timeScale(-this._rts||(r?-O:0)),this):this._rts<0},e.invalidate=function(){return this._initted=this._act=0,this._zTime=-O,this},e.isActive=function(){var r=this.parent||this._dp,a=this._start,o;return!!(!r||this._ts&&this._initted&&r.isActive()&&(o=r.rawTime(!0))>=a&&o<this.endTime(!0)-O)},e.eventCallback=function(r,a,o){var s=this.vars;return arguments.length>1?(a?(s[r]=a,o&&(s[r+"Params"]=o),r==="onUpdate"&&(this._onUpdate=a)):delete s[r],this):s[r]},e.then=function(r){var a=this,o=a._prom;return new Promise(function(s){var i=G(r)?r:mo,l=function(){var u=a.then;a.then=null,o&&o(),G(i)&&(i=i(a))&&(i.then||i===a)&&(a.then=u),s(i),a.then=u};a._initted&&a.totalProgress()===1&&a._ts>=0||!a._tTime&&a._ts<0?l():a._prom=l})},e.kill=function(){lt(this)},f})();le(gt.prototype,{_time:0,_start:0,_end:0,_tTime:0,_tDur:0,_dirty:0,_repeat:0,_yoyo:!1,parent:null,_initted:!1,_rDelay:0,_ts:1,_dp:0,ratio:0,_zTime:-O,_prom:0,_ps:!1,_rts:1});var Z=(function(f){ao(e,f);function e(r,a){var o;return r===void 0&&(r={}),o=f.call(this,r)||this,o.labels={},o.smoothChildTiming=!!r.smoothChildTiming,o.autoRemoveChildren=!!r.autoRemoveChildren,o._sort=ae(r.sortChildren),z&&xe(r.parent||z,ye(o),a),r.reversed&&o.reverse(),r.paused&&o.paused(!0),r.scrollTrigger&&ho(ye(o),r.scrollTrigger),o}var t=e.prototype;return t.to=function(a,o,s){return dt(0,arguments,this),this},t.from=function(a,o,s){return dt(1,arguments,this),this},t.fromTo=function(a,o,s,i){return dt(2,arguments,this),this},t.set=function(a,o,s){return o.duration=0,o.parent=this,ut(o).repeatDelay||(o.repeat=0),o.immediateRender=!!o.immediateRender,new X(a,o,de(this,s),1),this},t.call=function(a,o,s){return xe(this,X.delayedCall(0,a,o),s)},t.staggerTo=function(a,o,s,i,l,n,u){return s.duration=o,s.stagger=s.stagger||i,s.onComplete=n,s.onCompleteParams=u,s.parent=this,new X(a,s,de(this,l)),this},t.staggerFrom=function(a,o,s,i,l,n,u){return s.runBackwards=1,ut(s).immediateRender=ae(s.immediateRender),this.staggerTo(a,o,s,i,l,n,u)},t.staggerFromTo=function(a,o,s,i,l,n,u,p){return i.startAt=s,ut(i).immediateRender=ae(i.immediateRender),this.staggerTo(a,o,i,l,n,u,p)},t.render=function(a,o,s){var i=this._time,l=this._dirty?this.totalDuration():this._tDur,n=this._dur,u=a<=0?0:U(a),p=this._zTime<0!=a<0&&(this._initted||!n),m,c,x,d,h,_,g,y,S,C,T,w;if(this!==z&&u>l&&a>=0&&(u=l),u!==this._tTime||s||p){if(i!==this._time&&n&&(u+=this._time-i,a+=this._time-i),m=u,S=this._start,y=this._ts,_=!y,p&&(n||(i=this._zTime),(a||!o)&&(this._zTime=a)),this._repeat){if(T=this._yoyo,h=n+this._rDelay,this._repeat<-1&&a<0)return this.totalTime(h*100+a,o,s);if(m=U(u%h),u===l?(d=this._repeat,m=n):(C=U(u/h),d=~~C,d&&d===C&&(m=n,d--),m>n&&(m=n)),C=Ze(this._tTime,h),!i&&this._tTime&&C!==d&&this._tTime-C*h-this._dur<=0&&(C=d),T&&d&1&&(m=n-m,w=1),d!==C&&!this._lock){var P=T&&C&1,k=P===(T&&d&1);if(d<C&&(P=!P),i=P?0:u%n?n:u,this._lock=1,this.render(i||(w?0:U(d*h)),o,!n)._lock=0,this._tTime=u,!o&&this.parent&&fe(this,"onRepeat"),this.vars.repeatRefresh&&!w&&(this.invalidate()._lock=1,C=d),i&&i!==this._time||_!==!this._ts||this.vars.onRepeat&&!this.parent&&!this._act)return this;if(n=this._dur,l=this._tDur,k&&(this._lock=2,i=P?n:-1e-4,this.render(i,!0),this.vars.repeatRefresh&&!w&&this.invalidate()),this._lock=0,!this._ts&&!_)return this}}if(this._hasPause&&!this._forcing&&this._lock<2&&(g=Us(this,U(i),U(m)),g&&(u-=m-(m=g._start))),this._tTime=u,this._time=m,this._act=!!y,this._initted||(this._onUpdate=this.vars.onUpdate,this._initted=1,this._zTime=a,i=0),!i&&u&&n&&!o&&!C&&(fe(this,"onStart"),this._tTime!==u))return this;if(m>=i&&a>=0)for(c=this._first;c;){if(x=c._next,(c._act||m>=c._start)&&c._ts&&g!==c){if(c.parent!==this)return this.render(a,o,s);if(c.render(c._ts>0?(m-c._start)*c._ts:(c._dirty?c.totalDuration():c._tDur)+(m-c._start)*c._ts,o,s),m!==this._time||!this._ts&&!_){g=0,x&&(u+=this._zTime=-O);break}}c=x}else{c=this._last;for(var v=a<0?a:m;c;){if(x=c._prev,(c._act||v<=c._end)&&c._ts&&g!==c){if(c.parent!==this)return this.render(a,o,s);if(c.render(c._ts>0?(v-c._start)*c._ts:(c._dirty?c.totalDuration():c._tDur)+(v-c._start)*c._ts,o,s||K&&da(c)),m!==this._time||!this._ts&&!_){g=0,x&&(u+=this._zTime=v?-O:O);break}}c=x}}if(g&&!o&&(this.pause(),g.render(m>=i?0:-O)._zTime=m>=i?1:-1,this._ts))return this._start=S,Wt(this),this.render(a,o,s);this._onUpdate&&!o&&fe(this,"onUpdate",!0),(u===l&&this._tTime>=this.totalDuration()||!u&&i)&&(S===this._start||Math.abs(y)!==Math.abs(this._ts))&&(this._lock||((a||!n)&&(u===l&&this._ts>0||!u&&this._ts<0)&&Me(this,1),!o&&!(a<0&&!i)&&(u||i||!l)&&(fe(this,u===l&&a>=0?"onComplete":"onReverseComplete",!0),this._prom&&!(u<l&&this.timeScale()>0)&&this._prom())))}return this},t.add=function(a,o){var s=this;if(we(o)||(o=de(this,o,a)),!(a instanceof gt)){if(Q(a))return a.forEach(function(i){return s.add(i,o)}),this;if($(a))return this.addLabel(a,o);if(G(a))a=X.delayedCall(0,a);else return this}return this!==a?xe(this,a,o):this},t.getChildren=function(a,o,s,i){a===void 0&&(a=!0),o===void 0&&(o=!0),s===void 0&&(s=!0),i===void 0&&(i=-pe);for(var l=[],n=this._first;n;)n._start>=i&&(n instanceof X?o&&l.push(n):(s&&l.push(n),a&&l.push.apply(l,n.getChildren(!0,o,s)))),n=n._next;return l},t.getById=function(a){for(var o=this.getChildren(1,1,1),s=o.length;s--;)if(o[s].vars.id===a)return o[s]},t.remove=function(a){return $(a)?this.removeLabel(a):G(a)?this.killTweensOf(a):(a.parent===this&&Nt(this,a),a===this._recent&&(this._recent=this._last),qe(this))},t.totalTime=function(a,o){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=U(re.time-(this._ts>0?a/this._ts:(this.totalDuration()-a)/-this._ts))),f.prototype.totalTime.call(this,a,o),this._forcing=0,this):this._tTime},t.addLabel=function(a,o){return this.labels[a]=de(this,o),this},t.removeLabel=function(a){return delete this.labels[a],this},t.addPause=function(a,o,s){var i=X.delayedCall(0,o||xt,s);return i.data="isPause",this._hasPause=1,xe(this,i,de(this,a))},t.removePause=function(a){var o=this._first;for(a=de(this,a);o;)o._start===a&&o.data==="isPause"&&Me(o),o=o._next},t.killTweensOf=function(a,o,s){for(var i=this.getTweensOf(a,s),l=i.length;l--;)be!==i[l]&&i[l].kill(a,o);return this},t.getTweensOf=function(a,o){for(var s=[],i=me(a),l=this._first,n=we(o),u;l;)l instanceof X?Rs(l._targets,i)&&(n?(!be||l._initted&&l._ts)&&l.globalTime(0)<=o&&l.globalTime(l.totalDuration())>o:!o||l.isActive())&&s.push(l):(u=l.getTweensOf(i,o)).length&&s.push.apply(s,u),l=l._next;return s},t.tweenTo=function(a,o){o=o||{};var s=this,i=de(s,a),l=o,n=l.startAt,u=l.onStart,p=l.onStartParams,m=l.immediateRender,c,x=X.to(s,le({ease:o.ease||"none",lazy:!1,immediateRender:!1,time:i,overwrite:"auto",duration:o.duration||Math.abs((i-(n&&"time"in n?n.time:s._time))/s.timeScale())||O,onStart:function(){if(s.pause(),!c){var h=o.duration||Math.abs((i-(n&&"time"in n?n.time:s._time))/s.timeScale());x._dur!==h&&Qe(x,h,0,1).render(x._time,!0,!0),c=1}u&&u.apply(x,p||[])}},o));return m?x.render(0):x},t.tweenFromTo=function(a,o,s){return this.tweenTo(o,le({startAt:{time:de(this,a)}},s))},t.recent=function(){return this._recent},t.nextLabel=function(a){return a===void 0&&(a=this._time),eo(this,de(this,a))},t.previousLabel=function(a){return a===void 0&&(a=this._time),eo(this,de(this,a),1)},t.currentLabel=function(a){return arguments.length?this.seek(a,!0):this.previousLabel(this._time+O)},t.shiftChildren=function(a,o,s){s===void 0&&(s=0);var i=this._first,l=this.labels,n;for(a=U(a);i;)i._start>=s&&(i._start+=a,i._end+=a),i=i._next;if(o)for(n in l)l[n]>=s&&(l[n]+=a);return qe(this)},t.invalidate=function(a){var o=this._first;for(this._lock=0;o;)o.invalidate(a),o=o._next;return f.prototype.invalidate.call(this,a)},t.clear=function(a){a===void 0&&(a=!0);for(var o=this._first,s;o;)s=o._next,this.remove(o),o=s;return this._dp&&(this._time=this._tTime=this._pTime=0),a&&(this.labels={}),qe(this)},t.totalDuration=function(a){var o=0,s=this,i=s._last,l=pe,n,u,p;if(arguments.length)return s.timeScale((s._repeat<0?s.duration():s.totalDuration())/(s.reversed()?-a:a));if(s._dirty){for(p=s.parent;i;)n=i._prev,i._dirty&&i.totalDuration(),u=i._start,u>l&&s._sort&&i._ts&&!s._lock?(s._lock=1,xe(s,i,u-i._delay,1)._lock=0):l=u,u<0&&i._ts&&(o-=u,(!p&&!s._dp||p&&p.smoothChildTiming)&&(s._start+=U(u/s._ts),s._time-=u,s._tTime-=u),s.shiftChildren(-u,!1,-1/0),l=0),i._end>o&&i._ts&&(o=i._end),i=n;Qe(s,s===z&&s._time>o?s._time:o,1,1),s._dirty=0}return s._tDur},e.updateRoot=function(a){if(z._ts&&(uo(z,zt(a,z)),no=re.frame),re.frame>=Za){Za+=oe.autoSleep||120;var o=z._first;if((!o||!o._ts)&&oe.autoSleep&&re._listeners.length<2){for(;o&&!o._ts;)o=o._next;o||re.sleep()}}},e})(gt);le(Z.prototype,{_lock:0,_hasPause:0,_forcing:0});var rf=function(e,t,r,a,o,s,i){var l=new ee(this._pt,e,t,0,1,_a,null,o),n=0,u=0,p,m,c,x,d,h,_,g;for(l.b=r,l.e=a,r+="",a+="",(_=~a.indexOf("random("))&&(a=je(a)),s&&(g=[r,a],s(g,e,t),r=g[0],a=g[1]),m=r.match(Ur)||[];p=Ur.exec(a);)x=p[0],d=a.substring(n,p.index),c?c=(c+1)%5:d.substr(-5)==="rgba("&&(c=1),x!==m[u++]&&(h=parseFloat(m[u-1])||0,l._pt={_next:l._pt,p:d||u===1?d:",",s:h,c:x.charAt(1)==="="?Ie(h,x)-h:parseFloat(x)-h,m:c&&c<4?Math.round:0},n=Ur.lastIndex);return l.c=n<a.length?a.substring(n,a.length):"",l.fp=i,(sa.test(a)||_)&&(l.e=0),this._pt=l,l},ca=function(e,t,r,a,o,s,i,l,n,u){G(a)&&(a=a(o||0,e,s));var p=e[t],m=r!=="get"?r:G(p)?n?e[t.indexOf("set")||!G(e["get"+t.substr(3)])?t:"get"+t.substr(3)](n):e[t]():p,c=G(p)?n?lf:Ro:ga,x;if($(a)&&(~a.indexOf("random(")&&(a=je(a)),a.charAt(1)==="="&&(x=Ie(m,a)+(Y(m)||0),(x||x===0)&&(a=x))),!u||m!==a||ea)return!isNaN(m*a)&&a!==""?(x=new ee(this._pt,e,t,+m||0,a-(m||0),typeof p=="boolean"?uf:Bo,0,c),n&&(x.fp=n),i&&x.modifier(i,this,e),this._pt=x):(!p&&!(t in e)&&Gt(t,a),rf.call(this,e,t,m,a,c,l||oe.stringFilter,n))},af=function(e,t,r,a,o){if(G(e)&&(e=pt(e,o,t,r,a)),!he(e)||e.style&&e.nodeType||Q(e)||so(e))return $(e)?pt(e,o,t,r,a):e;var s={},i;for(i in e)s[i]=pt(e[i],o,t,r,a);return s},xa=function(e,t,r,a,o,s){var i,l,n,u;if(te[e]&&(i=new te[e]).init(o,i.rawVars?t[e]:af(t[e],a,o,s,r),r,a,s)!==!1&&(r._pt=l=new ee(r._pt,o,e,0,1,i.render,i,0,i.priority),r!==Ke))for(n=r._ptLookup[r._targets.indexOf(o)],u=i._props.length;u--;)n[i._props[u]]=l;return i},be,ea,ha=function f(e,t,r){var a=e.vars,o=a.ease,s=a.startAt,i=a.immediateRender,l=a.lazy,n=a.onUpdate,u=a.runBackwards,p=a.yoyoEase,m=a.keyframes,c=a.autoRevert,x=e._dur,d=e._startAt,h=e._targets,_=e.parent,g=_&&_.data==="nested"?_.vars.targets:h,y=e._overwrite==="auto"&&!ra,S=e.timeline,C=a.easeReverse||p,T,w,P,k,v,b,M,A,D,B,V,W,ue;if(S&&(!m||!o)&&(o="none"),e._ease=He(o,mt.ease),e._rEase=C&&(He(C)||e._ease),e._from=!S&&!!a.runBackwards,e._from&&(e.ratio=1),!S||m&&!a.stagger){if(A=h[0]?Te(h[0]).harness:0,W=A&&a[A.prop],T=Ut(a,ia),d&&(d._zTime<0&&d.progress(1),t<0&&u&&i&&!c?d.render(-1,!0):d.revert(u&&x?Ft:Ls),d._lazy=0),s){if(Me(e._startAt=X.set(h,le({data:"isStart",overwrite:!1,parent:_,immediateRender:!0,lazy:!d&&ae(l),startAt:null,delay:0,onUpdate:n&&function(){return fe(e,"onUpdate")},stagger:0},s))),e._startAt._dp=0,e._startAt._sat=e,t<0&&(K||!i&&!c)&&e._startAt.revert(Ft),i&&x&&t<=0&&r<=0){t&&(e._zTime=t);return}}else if(u&&x&&!d){if(t&&(i=!1),P=le({overwrite:!1,data:"isFromStart",lazy:i&&!d&&ae(l),immediateRender:i,stagger:0,parent:_},T),W&&(P[A.prop]=W),Me(e._startAt=X.set(h,P)),e._startAt._dp=0,e._startAt._sat=e,t<0&&(K?e._startAt.revert(Ft):e._startAt.render(-1,!0)),e._zTime=t,!i)f(e._startAt,O,O);else if(!t)return}for(e._pt=e._ptCache=0,l=x&&ae(l)||l&&!x,w=0;w<h.length;w++){if(v=h[w],M=v._gsap||na(h)[w]._gsap,e._ptLookup[w]=B={},Kr[M.id]&&Pe.length&&Ht(),V=g===h?w:g.indexOf(v),A&&(D=new A).init(v,W||T,e,V,g)!==!1&&(e._pt=k=new ee(e._pt,v,D.name,0,1,D.render,D,0,D.priority),D._props.forEach(function($e){B[$e]=k}),D.priority&&(b=1)),!A||W)for(P in T)te[P]&&(D=xa(P,T,e,V,v,g))?D.priority&&(b=1):B[P]=k=ca.call(e,v,P,"get",T[P],V,g,0,a.stringFilter);e._op&&e._op[w]&&e.kill(v,e._op[w]),y&&e._pt&&(be=e,z.killTweensOf(v,B,e.globalTime(t)),ue=!e.parent,be=0),e._pt&&l&&(Kr[M.id]=1)}b&&ya(e),e._onInit&&e._onInit(e)}e._onUpdate=n,e._initted=(!e._op||e._pt)&&!ue,m&&t<=0&&S.render(pe,!0,!0)},of=function(e,t,r,a,o,s,i,l){var n=(e._pt&&e._ptCache||(e._ptCache={}))[t],u,p,m,c;if(!n)for(n=e._ptCache[t]=[],m=e._ptLookup,c=e._targets.length;c--;){if(u=m[c][t],u&&u.d&&u.d._pt)for(u=u.d._pt;u&&u.p!==t&&u.fp!==t;)u=u._next;if(!u)return ea=1,e.vars[t]="+=0",ha(e,i),ea=0,l?ct(t+" not eligible for reset. Try splitting into individual properties"):1;n.push(u)}for(c=n.length;c--;)p=n[c],u=p._pt||p,u.s=(a||a===0)&&!o?a:u.s+(a||0)+s*u.c,u.c=r-u.s,p.e&&(p.e=N(r)+Y(p.e)),p.b&&(p.b=u.s+Y(p.b))},sf=function(e,t){var r=e[0]?Te(e[0]).harness:0,a=r&&r.aliases,o,s,i,l;if(!a)return t;o=Ye({},t);for(s in a)if(s in o)for(l=a[s].split(","),i=l.length;i--;)o[l[i]]=o[s];return o},ff=function(e,t,r,a){var o=t.ease||a||"power1.inOut",s,i;if(Q(t))i=r[e]||(r[e]=[]),t.forEach(function(l,n){return i.push({t:n/(t.length-1)*100,v:l,e:o})});else for(s in t)i=r[s]||(r[s]=[]),s==="ease"||i.push({t:parseFloat(e),v:t[s],e:o})},pt=function(e,t,r,a,o){return G(e)?e.call(t,r,a,o):$(e)&&~e.indexOf("random(")?je(e):e},Lo=la+"repeat,repeatDelay,yoyo,repeatRefresh,yoyoEase,easeReverse,autoRevert",Do={};j(Lo+",id,stagger,delay,duration,paused,scrollTrigger",function(f){return Do[f]=1});var X=(function(f){ao(e,f);function e(r,a,o,s){var i;typeof a=="number"&&(o.duration=a,a=o,o=null),i=f.call(this,s?a:ut(a))||this;var l=i.vars,n=l.duration,u=l.delay,p=l.immediateRender,m=l.stagger,c=l.overwrite,x=l.keyframes,d=l.defaults,h=l.scrollTrigger,_=a.parent||z,g=(Q(r)||so(r)?we(r[0]):"length"in a)?[r]:me(r),y,S,C,T,w,P,k,v;if(i._targets=g.length?na(g):ct("GSAP target "+r+" not found. https://gsap.com",!oe.nullTargetWarn)||[],i._ptLookup=[],i._overwrite=c,x||m||Bt(n)||Bt(u)){a=i.vars;var b=a.easeReverse||a.yoyoEase;if(y=i.timeline=new Z({data:"nested",defaults:d||{},targets:_&&_.data==="nested"?_.vars.targets:g}),y.kill(),y.parent=y._dp=ye(i),y._start=0,m||Bt(n)||Bt(u)){if(T=g.length,k=m&&yo(m),he(m))for(w in m)~Lo.indexOf(w)&&(v||(v={}),v[w]=m[w]);for(S=0;S<T;S++)C=Ut(a,Do),C.stagger=0,b&&(C.easeReverse=b),v&&Ye(C,v),P=g[S],C.duration=+pt(n,ye(i),S,P,g),C.delay=(+pt(u,ye(i),S,P,g)||0)-i._delay,!m&&T===1&&C.delay&&(i._delay=u=C.delay,i._start+=u,C.delay=0),y.to(P,C,k?k(S,P,g):0),y._ease=R.none;y.duration()?n=u=0:i.timeline=0}else if(x){ut(le(y.vars.defaults,{ease:"none"})),y._ease=He(x.ease||a.ease||"none");var M=0,A,D,B;if(Q(x))x.forEach(function(V){return y.to(g,V,">")}),y.duration();else{C={};for(w in x)w==="ease"||w==="easeEach"||ff(w,x[w],C,x.easeEach);for(w in C)for(A=C[w].sort(function(V,W){return V.t-W.t}),M=0,S=0;S<A.length;S++)D=A[S],B={ease:D.e,duration:(D.t-(S?A[S-1].t:0))/100*n},B[w]=D.v,y.to(g,B,M),M+=B.duration;y.duration()<n&&y.to({},{duration:n-y.duration()})}}n||i.duration(n=y.duration())}else i.timeline=0;return c===!0&&!ra&&(be=ye(i),z.killTweensOf(g),be=0),xe(_,ye(i),o),a.reversed&&i.reverse(),a.paused&&i.paused(!0),(p||!n&&!x&&i._start===U(_._time)&&ae(p)&&Es(ye(i))&&_.data!=="nested")&&(i._tTime=-O,i.render(Math.max(0,-u)||0)),h&&ho(ye(i),h),i}var t=e.prototype;return t.render=function(a,o,s){var i=this._time,l=this._tDur,n=this._dur,u=a<0,p=a>l-O&&!u?l:a<O?0:a,m,c,x,d,h,_,g,y;if(!n)Hs(this,a,o,s);else if(p!==this._tTime||!a||s||!this._initted&&this._tTime||this._startAt&&this._zTime<0!==u||this._lazy){if(m=p,y=this.timeline,this._repeat){if(d=n+this._rDelay,this._repeat<-1&&u)return this.totalTime(d*100+a,o,s);if(m=U(p%d),p===l?(x=this._repeat,m=n):(h=U(p/d),x=~~h,x&&x===h?(m=n,x--):m>n&&(m=n)),_=this._yoyo&&x&1,_&&(m=n-m),h=Ze(this._tTime,d),m===i&&!s&&this._initted&&x===h)return this._tTime=p,this;x!==h&&this.vars.repeatRefresh&&!_&&!this._lock&&m!==d&&this._initted&&(this._lock=s=1,this.render(U(d*x),!0).invalidate()._lock=0)}if(!this._initted){if(go(this,u?a:m,s,o,p))return this._tTime=0,this;if(i!==this._time&&!(s&&this.vars.repeatRefresh&&x!==h))return this;if(n!==this._dur)return this.render(a,o,s)}if(this._rEase){var S=m<i;if(S!==this._inv){var C=S?i:n-i;this._inv=S,this._from&&(this.ratio=1-this.ratio),this._invRatio=this.ratio,this._invTime=i,this._invRecip=C?(S?-1:1)/C:0,this._invScale=S?-this.ratio:1-this.ratio,this._invEase=S?this._rEase:this._ease}this.ratio=g=this._invRatio+this._invScale*this._invEase((m-this._invTime)*this._invRecip)}else this.ratio=g=this._ease(m/n);if(this._from&&(this.ratio=g=1-g),this._tTime=p,this._time=m,!this._act&&this._ts&&(this._act=1,this._lazy=0),!i&&p&&!o&&!h&&(fe(this,"onStart"),this._tTime!==p))return this;for(c=this._pt;c;)c.r(g,c.d),c=c._next;y&&y.render(a<0?a:y._dur*y._ease(m/this._dur),o,s)||this._startAt&&(this._zTime=a),this._onUpdate&&!o&&(u&&Yr(this,a,o,s),fe(this,"onUpdate")),this._repeat&&x!==h&&this.vars.onRepeat&&!o&&this.parent&&fe(this,"onRepeat"),(p===this._tDur||!p)&&this._tTime===p&&(u&&!this._onUpdate&&Yr(this,a,!0,!0),(a||!n)&&(p===this._tDur&&this._ts>0||!p&&this._ts<0)&&Me(this,1),!o&&!(u&&!i)&&(p||i||_)&&(fe(this,p===l?"onComplete":"onReverseComplete",!0),this._prom&&!(p<l&&this.timeScale()>0)&&this._prom()))}return this},t.targets=function(){return this._targets},t.invalidate=function(a){return(!a||!this.vars.runBackwards)&&(this._startAt=0),this._pt=this._op=this._onUpdate=this._lazy=this.ratio=0,this._ptLookup=[],this.timeline&&this.timeline.invalidate(a),f.prototype.invalidate.call(this,a)},t.resetTo=function(a,o,s,i,l){ht||re.wake(),this._ts||this.play();var n=Math.min(this._dur,(this._dp._time-this._start)*this._ts),u;return this._initted||ha(this,n),u=this._ease(n/this._dur),of(this,a,o,s,i,u,n,l)?this.resetTo(a,o,s,i,1):(Xt(this,0),this.parent||co(this._dp,this,"_first","_last",this._dp._sort?"_start":0),this.render(0))},t.kill=function(a,o){if(o===void 0&&(o="all"),!a&&(!o||o==="all"))return this._lazy=this._pt=0,this.parent?lt(this):this.scrollTrigger&&this.scrollTrigger.kill(!!K),this;if(this.timeline){var s=this.timeline.totalDuration();return this.timeline.killTweensOf(a,o,be&&be.vars.overwrite!==!0)._first||lt(this),this.parent&&s!==this.timeline.totalDuration()&&Qe(this,this._dur*this.timeline._tDur/s,0,1),this}var i=this._targets,l=a?me(a):i,n=this._ptLookup,u=this._pt,p,m,c,x,d,h,_;if((!o||o==="all")&&Fs(i,l))return o==="all"&&(this._pt=0),lt(this);for(p=this._op=this._op||[],o!=="all"&&($(o)&&(d={},j(o,function(g){return d[g]=1}),o=d),o=sf(i,o)),_=i.length;_--;)if(~l.indexOf(i[_])){m=n[_],o==="all"?(p[_]=o,x=m,c={}):(c=p[_]=p[_]||{},x=o);for(d in x)h=m&&m[d],h&&((!("kill"in h.d)||h.d.kill(d)===!0)&&Nt(this,h,"_pt"),delete m[d]),c!=="all"&&(c[d]=1)}return this._initted&&!this._pt&&u&<(this),this},e.to=function(a,o){return new e(a,o,arguments[2])},e.from=function(a,o){return dt(1,arguments)},e.delayedCall=function(a,o,s,i){return new e(o,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:a,onComplete:o,onReverseComplete:o,onCompleteParams:s,onReverseCompleteParams:s,callbackScope:i})},e.fromTo=function(a,o,s){return dt(2,arguments)},e.set=function(a,o){return o.duration=0,o.repeatDelay||(o.repeat=0),new e(a,o)},e.killTweensOf=function(a,o,s){return z.killTweensOf(a,o,s)},e})(gt);le(X.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0});j("staggerTo,staggerFrom,staggerFromTo",function(f){X[f]=function(){var e=new Z,t=Qr.call(arguments,0);return t.splice(f==="staggerFromTo"?5:4,0,0),e[f].apply(e,t)}});var ga=function(e,t,r){return e[t]=r},Ro=function(e,t,r){return e[t](r)},lf=function(e,t,r,a){return e[t](a.fp,r)},nf=function(e,t,r){return e.setAttribute(t,r)},$t=function(e,t){return G(e[t])?Ro:Vt(e[t])&&e.setAttribute?nf:ga},Bo=function(e,t){return t.set(t.t,t.p,Math.round((t.s+t.c*e)*1e6)/1e6,t)},uf=function(e,t){return t.set(t.t,t.p,!!(t.s+t.c*e),t)},_a=function(e,t){var r=t._pt,a="";if(!e&&t.b)a=t.b;else if(e===1&&t.e)a=t.e;else{for(;r;)a=r.p+(r.m?r.m(r.s+r.c*e):Math.round((r.s+r.c*e)*1e4)/1e4)+a,r=r._next;a+=t.c}t.set(t.t,t.p,a,t)},Ca=function(e,t){for(var r=t._pt;r;)r.r(e,r.d),r=r._next},df=function(e,t,r,a){for(var o=this._pt,s;o;)s=o._next,o.p===a&&o.modifier(e,t,r),o=s},pf=function(e){for(var t=this._pt,r,a;t;)a=t._next,t.p===e&&!t.op||t.op===e?Nt(this,t,"_pt"):t.dep||(r=1),t=a;return!r},mf=function(e,t,r,a){a.mSet(e,t,a.m.call(a.tween,r,a.mt),a)},ya=function(e){for(var t=e._pt,r,a,o,s;t;){for(r=t._next,a=o;a&&a.pr>t.pr;)a=a._next;(t._prev=a?a._prev:s)?t._prev._next=t:o=t,(t._next=a)?a._prev=t:s=t,t=r}e._pt=o},ee=(function(){function f(t,r,a,o,s,i,l,n,u){this.t=r,this.s=o,this.c=s,this.p=a,this.r=i||Bo,this.d=l||this,this.set=n||ga,this.pr=u||0,this._next=t,t&&(t._prev=this)}var e=f.prototype;return e.modifier=function(r,a,o){this.mSet=this.mSet||this.set,this.set=mf,this.m=r,this.mt=o,this.tween=a},f})();j(la+"parent,duration,ease,delay,overwrite,runBackwards,startAt,yoyo,immediateRender,repeat,repeatDelay,data,paused,reversed,lazy,callbackScope,stringFilter,id,yoyoEase,stagger,inherit,repeatRefresh,keyframes,autoRevert,scrollTrigger,easeReverse",function(f){return ia[f]=1});ie.TweenMax=ie.TweenLite=X;ie.TimelineLite=ie.TimelineMax=Z;z=new Z({sortChildren:!1,defaults:mt,autoRemoveChildren:!0,id:"root",smoothChildTiming:!0});oe.stringFilter=pa;var Ue=[],Et={},cf=[],ro=0,xf=0,Nr=function(e){return(Et[e]||cf).map(function(t){return t()})},ta=function(){var e=Date.now(),t=[];e-ro>2&&(Nr("matchMediaInit"),Ue.forEach(function(r){var a=r.queries,o=r.conditions,s,i,l,n;for(i in a)s=ce.matchMedia(a[i]).matches,s&&(l=1),s!==o[i]&&(o[i]=s,n=1);n&&(r.revert(),l&&t.push(r))}),Nr("matchMediaRevert"),t.forEach(function(r){return r.onMatch(r,function(a){return r.add(null,a)})}),ro=e,Nr("matchMedia"))},Fo=(function(){function f(t,r){this.selector=r&&Jr(r),this.data=[],this._r=[],this.isReverted=!1,this.id=xf++,t&&this.add(t)}var e=f.prototype;return e.add=function(r,a,o){G(r)&&(o=a,a=r,r=G);var s=this,i=function(){var n=H,u=s.selector,p;return n&&n!==s&&n.data.push(s),o&&(s.selector=Jr(o)),H=s,p=a.apply(s,arguments),G(p)&&s._r.push(p),H=n,s.selector=u,s.isReverted=!1,p};return s.last=i,r===G?i(s,function(l){return s.add(null,l)}):r?s[r]=i:i},e.ignore=function(r){var a=H;H=null,r(this),H=a},e.getTweens=function(){var r=[];return this.data.forEach(function(a){return a instanceof f?r.push.apply(r,a.getTweens()):a instanceof X&&!(a.parent&&a.parent.data==="nested")&&r.push(a)}),r},e.clear=function(){this._r.length=this.data.length=0},e.kill=function(r,a){var o=this;if(r?(function(){for(var i=o.getTweens(),l=o.data.length,n;l--;)n=o.data[l],n.data==="isFlip"&&(n.revert(),n.getChildren(!0,!0,!1).forEach(function(u){return i.splice(i.indexOf(u),1)}));for(i.map(function(u){return{g:u._dur||u._delay||u._sat&&!u._sat.vars.immediateRender?u.globalTime(0):-1/0,t:u}}).sort(function(u,p){return p.g-u.g||-1/0}).forEach(function(u){return u.t.revert(r)}),l=o.data.length;l--;)n=o.data[l],n instanceof Z?n.data!=="nested"&&(n.scrollTrigger&&n.scrollTrigger.revert(),n.kill()):!(n instanceof X)&&n.revert&&n.revert(r);o._r.forEach(function(u){return u(r,o)}),o.isReverted=!0})():this.data.forEach(function(i){return i.kill&&i.kill()}),this.clear(),a)for(var s=Ue.length;s--;)Ue[s].id===this.id&&Ue.splice(s,1)},e.revert=function(r){this.kill(r||{})},f})(),hf=(function(){function f(t){this.contexts=[],this.scope=t,H&&H.data.push(this)}var e=f.prototype;return e.add=function(r,a,o){he(r)||(r={matches:r});var s=new Fo(0,o||this.scope),i=s.conditions={},l,n,u;H&&!s.selector&&(s.selector=H.selector),this.contexts.push(s),a=s.add("onMatch",a),s.queries=r;for(n in r)n==="all"?u=1:(l=ce.matchMedia(r[n]),l&&(Ue.indexOf(s)<0&&Ue.push(s),(i[n]=l.matches)&&(u=1),l.addListener?l.addListener(ta):l.addEventListener("change",ta)));return u&&a(s,function(p){return s.add(null,p)}),this},e.revert=function(r){this.kill(r||{})},e.kill=function(r){this.contexts.forEach(function(a){return a.kill(r,!0)})},f})(),It={registerPlugin:function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];t.forEach(function(a){return Po(a)})},timeline:function(e){return new Z(e)},getTweensOf:function(e,t){return z.getTweensOf(e,t)},getProperty:function(e,t,r,a){$(e)&&(e=me(e)[0]);var o=Te(e||{}).get,s=r?mo:po;return r==="native"&&(r=""),e&&(t?s((te[t]&&te[t].get||o)(e,t,r,a)):function(i,l,n){return s((te[i]&&te[i].get||o)(e,i,l,n))})},quickSetter:function(e,t,r){if(e=me(e),e.length>1){var a=e.map(function(u){return J.quickSetter(u,t,r)}),o=a.length;return function(u){for(var p=o;p--;)a[p](u)}}e=e[0]||{};var s=te[t],i=Te(e),l=i.harness&&(i.harness.aliases||{})[t]||t,n=s?function(u){var p=new s;Ke._pt=0,p.init(e,r?u+r:u,Ke,0,[e]),p.render(1,p),Ke._pt&&Ca(1,Ke)}:i.set(e,l);return s?n:function(u){return n(e,l,r?u+r:u,i,1)}},quickTo:function(e,t,r){var a,o=J.to(e,le((a={},a[t]="+=0.1",a.paused=!0,a.stagger=0,a),r||{})),s=function(l,n,u){return o.resetTo(t,l,n,u)};return s.tween=o,s},isTweening:function(e){return z.getTweensOf(e,!0).length>0},defaults:function(e){return e&&e.ease&&(e.ease=He(e.ease,mt.ease)),Qa(mt,e||{})},config:function(e){return Qa(oe,e||{})},registerEffect:function(e){var t=e.name,r=e.effect,a=e.plugins,o=e.defaults,s=e.extendTimeline;(a||"").split(",").forEach(function(i){return i&&!te[i]&&!ie[i]&&ct(t+" effect requires "+i+" plugin.")}),zr[t]=function(i,l,n){return r(me(i),le(l||{},o),n)},s&&(Z.prototype[t]=function(i,l,n){return this.add(zr[t](i,he(l)?l:(n=l)&&{},this),n)})},registerEase:function(e,t){R[e]=He(t)},parseEase:function(e,t){return arguments.length?He(e,t):R},getById:function(e){return z.getById(e)},exportRoot:function(e,t){e===void 0&&(e={});var r=new Z(e),a,o;for(r.smoothChildTiming=ae(e.smoothChildTiming),z.remove(r),r._dp=0,r._time=r._tTime=z._time,a=z._first;a;)o=a._next,(t||!(!a._dur&&a instanceof X&&a.vars.onComplete===a._targets[0]))&&xe(r,a,a._start-a._delay),a=o;return xe(z,r,0),r},context:function(e,t){return e?new Fo(e,t):H},matchMedia:function(e){return new hf(e)},matchMediaRefresh:function(){return Ue.forEach(function(e){var t=e.conditions,r,a;for(a in t)t[a]&&(t[a]=!1,r=1);r&&e.revert()})||ta()},addEventListener:function(e,t){var r=Et[e]||(Et[e]=[]);~r.indexOf(t)||r.push(t)},removeEventListener:function(e,t){var r=Et[e],a=r&&r.indexOf(t);a>=0&&r.splice(a,1)},utils:{wrap:Xs,wrapYoyo:$s,distribute:yo,random:wo,snap:So,normalize:Ws,getUnit:Y,clamp:Is,splitColor:To,toArray:me,selector:Jr,mapRange:ko,pipe:Gs,unitize:Ns,interpolate:Ks,shuffle:Co},install:io,effects:zr,ticker:re,updateRoot:Z.updateRoot,plugins:te,globalTimeline:z,core:{PropTween:ee,globals:lo,Tween:X,Timeline:Z,Animation:gt,getCache:Te,_removeLinkedListItem:Nt,reverting:function(){return K},context:function(e){return e&&H&&(H.data.push(e),e._ctx=H),H},suppressOverwrites:function(e){return ra=e}}};j("to,from,fromTo,delayedCall,set,killTweensOf",function(f){return It[f]=X[f]});re.add(Z.updateRoot);Ke=It.to({},{duration:0});var gf=function(e,t){for(var r=e._pt;r&&r.p!==t&&r.op!==t&&r.fp!==t;)r=r._next;return r},_f=function(e,t){var r=e._targets,a,o,s;for(a in t)for(o=r.length;o--;)s=e._ptLookup[o][a],s&&(s=s.d)&&(s._pt&&(s=gf(s,a)),s&&s.modifier&&s.modifier(t[a],e,r[o],a))},Wr=function(e,t){return{name:e,headless:1,rawVars:1,init:function(a,o,s){s._onInit=function(i){var l,n;if($(o)&&(l={},j(o,function(u){return l[u]=1}),o=l),t){l={};for(n in o)l[n]=t(o[n]);o=l}_f(i,o)}}}},J=It.registerPlugin({name:"attr",init:function(e,t,r,a,o){var s,i,l;this.tween=r;for(s in t)l=e.getAttribute(s)||"",i=this.add(e,"setAttribute",(l||0)+"",t[s],a,o,0,0,s),i.op=s,i.b=l,this._props.push(s)},render:function(e,t){for(var r=t._pt;r;)K?r.set(r.t,r.p,r.b,r):r.r(e,r.d),r=r._next}},{name:"endArray",headless:1,init:function(e,t){for(var r=t.length;r--;)this.add(e,r,e[r]||0,t[r],0,0,0,0,0,1)}},Wr("roundProps",jr),Wr("modifiers"),Wr("snap",So))||It;X.version=Z.version=J.version="3.15.0";fo=1;aa()&&Je();var Cf=R.Power0,yf=R.Power1,Sf=R.Power2,wf=R.Power3,vf=R.Power4,kf=R.Linear,bf=R.Quad,Pf=R.Cubic,Tf=R.Quart,Mf=R.Quint,Af=R.Strong,Lf=R.Elastic,Df=R.Back,Rf=R.SteppedEase,Bf=R.Bounce,Ff=R.Sine,Of=R.Expo,Ef=R.Circ;var Oo,Le,tt,Pa,Xe,qf,Eo,Ta,Hf=function(){return typeof window<"u"},ke={},We=180/Math.PI,rt=Math.PI/180,et=Math.atan2,qo=1e8,Ma=/([A-Z])/g,Uf=/(left|right|width|margin|padding|x)/i,zf=/[\s,\(]\S/,ge={autoAlpha:"opacity,visibility",scale:"scaleX,scaleY",alpha:"opacity"},wa=function(e,t){return t.set(t.t,t.p,Math.round((t.s+t.c*e)*1e4)/1e4+t.u,t)},If=function(e,t){return t.set(t.t,t.p,e===1?t.e:Math.round((t.s+t.c*e)*1e4)/1e4+t.u,t)},Vf=function(e,t){return t.set(t.t,t.p,e?Math.round((t.s+t.c*e)*1e4)/1e4+t.u:t.b,t)},Gf=function(e,t){return t.set(t.t,t.p,e===1?t.e:e?Math.round((t.s+t.c*e)*1e4)/1e4+t.u:t.b,t)},Nf=function(e,t){var r=t.s+t.c*e;t.set(t.t,t.p,~~(r+(r<0?-.5:.5))+t.u,t)},Wo=function(e,t){return t.set(t.t,t.p,e?t.e:t.b,t)},Xo=function(e,t){return t.set(t.t,t.p,e!==1?t.b:t.e,t)},Wf=function(e,t,r){return e.style[t]=r},Xf=function(e,t,r){return e.style.setProperty(t,r)},$f=function(e,t,r){return e._gsap[t]=r},Kf=function(e,t,r){return e._gsap.scaleX=e._gsap.scaleY=r},Yf=function(e,t,r,a,o){var s=e._gsap;s.scaleX=s.scaleY=r,s.renderTransform(o,s)},Zf=function(e,t,r,a,o){var s=e._gsap;s[t]=r,s.renderTransform(o,s)},I="transform",se=I+"Origin",Qf=function f(e,t){var r=this,a=this.target,o=a.style,s=a._gsap;if(e in ke&&o){if(this.tfm=this.tfm||{},e!=="transform")e=ge[e]||e,~e.indexOf(",")?e.split(",").forEach(function(i){return r.tfm[i]=ve(a,i)}):this.tfm[e]=s.x?s[e]:ve(a,e),e===se&&(this.tfm.zOrigin=s.zOrigin);else return ge.transform.split(",").forEach(function(i){return f.call(r,i,t)});if(this.props.indexOf(I)>=0)return;s.svg&&(this.svgo=a.getAttribute("data-svg-origin"),this.props.push(se,t,"")),e=I}(o||t)&&this.props.push(e,t,o[e])},$o=function(e){e.translate&&(e.removeProperty("translate"),e.removeProperty("scale"),e.removeProperty("rotate"))},Jf=function(){var e=this.props,t=this.target,r=t.style,a=t._gsap,o,s;for(o=0;o<e.length;o+=3)e[o+1]?e[o+1]===2?t[e[o]](e[o+2]):t[e[o]]=e[o+2]:e[o+2]?r[e[o]]=e[o+2]:r.removeProperty(e[o].substr(0,2)==="--"?e[o]:e[o].replace(Ma,"-$1").toLowerCase());if(this.tfm){for(s in this.tfm)a[s]=this.tfm[s];a.svg&&(a.renderTransform(),t.setAttribute("data-svg-origin",this.svgo||"")),o=Ta(),(!o||!o.isStart)&&!r[I]&&($o(r),a.zOrigin&&r[se]&&(r[se]+=" "+a.zOrigin+"px",a.zOrigin=0,a.renderTransform()),a.uncache=1)}},Ko=function(e,t){var r={target:e,props:[],revert:Jf,save:Qf};return e._gsap||J.core.getCache(e),t&&e.style&&e.nodeType&&t.split(",").forEach(function(a){return r.save(a)}),r},Yo,va=function(e,t){var r=Le.createElementNS?Le.createElementNS((t||"http://www.w3.org/1999/xhtml").replace(/^https/,"http"),e):Le.createElement(e);return r&&r.style?r:Le.createElement(e)},ne=function f(e,t,r){var a=getComputedStyle(e);return a[t]||a.getPropertyValue(t.replace(Ma,"-$1").toLowerCase())||a.getPropertyValue(t)||!r&&f(e,at(t)||t,1)||""},Ho="O,Moz,ms,Ms,Webkit".split(","),at=function(e,t,r){var a=t||Xe,o=a.style,s=5;if(e in o&&!r)return e;for(e=e.charAt(0).toUpperCase()+e.substr(1);s--&&!(Ho[s]+e in o););return s<0?null:(s===3?"ms":s>=0?Ho[s]:"")+e},ka=function(){Hf()&&window.document&&(Oo=window,Le=Oo.document,tt=Le.documentElement,Xe=va("div")||{style:{}},qf=va("div"),I=at(I),se=I+"Origin",Xe.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",Yo=!!at("perspective"),Ta=J.core.reverting,Pa=1)},Uo=function(e){var t=e.ownerSVGElement,r=va("svg",t&&t.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),a=e.cloneNode(!0),o;a.style.display="block",r.appendChild(a),tt.appendChild(r);try{o=a.getBBox()}catch{}return r.removeChild(a),tt.removeChild(r),o},zo=function(e,t){for(var r=t.length;r--;)if(e.hasAttribute(t[r]))return e.getAttribute(t[r])},Zo=function(e){var t,r;try{t=e.getBBox()}catch{t=Uo(e),r=1}return t&&(t.width||t.height)||r||(t=Uo(e)),t&&!t.width&&!t.x&&!t.y?{x:+zo(e,["x","cx","x1"])||0,y:+zo(e,["y","cy","y1"])||0,width:0,height:0}:t},Qo=function(e){return!!(e.getCTM&&(!e.parentNode||e.ownerSVGElement)&&Zo(e))},Re=function(e,t){if(t){var r=e.style,a;t in ke&&t!==se&&(t=I),r.removeProperty?(a=t.substr(0,2),(a==="ms"||t.substr(0,6)==="webkit")&&(t="-"+t),r.removeProperty(a==="--"?t:t.replace(Ma,"-$1").toLowerCase())):r.removeAttribute(t)}},De=function(e,t,r,a,o,s){var i=new ee(e._pt,t,r,0,1,s?Xo:Wo);return e._pt=i,i.b=a,i.e=o,e._props.push(r),i},Io={deg:1,rad:1,turn:1},jf={grid:1,flex:1},Be=function f(e,t,r,a){var o=parseFloat(r)||0,s=(r+"").trim().substr((o+"").length)||"px",i=Xe.style,l=Uf.test(t),n=e.tagName.toLowerCase()==="svg",u=(n?"client":"offset")+(l?"Width":"Height"),p=100,m=a==="px",c=a==="%",x,d,h,_;if(a===s||!o||Io[a]||Io[s])return o;if(s!=="px"&&!m&&(o=f(e,t,r,"px")),_=e.getCTM&&Qo(e),(c||s==="%")&&(ke[t]||~t.indexOf("adius")))return x=_?e.getBBox()[l?"width":"height"]:e[u],N(c?o/x*p:o/100*x);if(i[l?"width":"height"]=p+(m?s:a),d=a!=="rem"&&~t.indexOf("adius")||a==="em"&&e.appendChild&&!n?e:e.parentNode,_&&(d=(e.ownerSVGElement||{}).parentNode),(!d||d===Le||!d.appendChild)&&(d=Le.body),h=d._gsap,h&&c&&h.width&&l&&h.time===re.time&&!h.uncache)return N(o/h.width*p);if(c&&(t==="height"||t==="width")){var g=e.style[t];e.style[t]=p+a,x=e[u],g?e.style[t]=g:Re(e,t)}else(c||s==="%")&&!jf[ne(d,"display")]&&(i.position=ne(e,"position")),d===e&&(i.position="static"),d.appendChild(Xe),x=Xe[u],d.removeChild(Xe),i.position="absolute";return l&&c&&(h=Te(d),h.time=re.time,h.width=d[u]),N(m?x*o/p:x&&o?p/x*o:0)},ve=function(e,t,r,a){var o;return Pa||ka(),t in ge&&t!=="transform"&&(t=ge[t],~t.indexOf(",")&&(t=t.split(",")[0])),ke[t]&&t!=="transform"?(o=St(e,a),o=t!=="transformOrigin"?o[t]:o.svg?o.origin:Yt(ne(e,se))+" "+o.zOrigin+"px"):(o=e.style[t],(!o||o==="auto"||a||~(o+"").indexOf("calc("))&&(o=Kt[t]&&Kt[t](e,t,r)||ne(e,t)||ua(e,t)||(t==="opacity"?1:0))),r&&!~(o+"").trim().indexOf(" ")?Be(e,t,o,r)+r:o},ei=function(e,t,r,a){if(!r||r==="none"){var o=at(t,e,1),s=o&&ne(e,o,1);s&&s!==r?(t=o,r=s):t==="borderColor"&&(r=ne(e,"borderTopColor"))}var i=new ee(this._pt,e.style,t,0,1,_a),l=0,n=0,u,p,m,c,x,d,h,_,g,y,S,C;if(i.b=r,i.e=a,r+="",a+="",a.substring(0,6)==="var(--"&&(a=ne(e,a.substring(4,a.indexOf(")")))),a==="auto"&&(d=e.style[t],e.style[t]=a,a=ne(e,t)||a,d?e.style[t]=d:Re(e,t)),u=[r,a],pa(u),r=u[0],a=u[1],m=r.match(ze)||[],C=a.match(ze)||[],C.length){for(;p=ze.exec(a);)h=p[0],g=a.substring(l,p.index),x?x=(x+1)%5:(g.substr(-5)==="rgba("||g.substr(-5)==="hsla(")&&(x=1),h!==(d=m[n++]||"")&&(c=parseFloat(d)||0,S=d.substr((c+"").length),h.charAt(1)==="="&&(h=Ie(c,h)+S),_=parseFloat(h),y=h.substr((_+"").length),l=ze.lastIndex-y.length,y||(y=y||oe.units[t]||S,l===a.length&&(a+=y,i.e+=y)),S!==y&&(c=Be(e,t,d,y)||0),i._pt={_next:i._pt,p:g||n===1?g:",",s:c,c:_-c,m:x&&x<4||t==="zIndex"?Math.round:0});i.c=l<a.length?a.substring(l,a.length):""}else i.r=t==="display"&&a==="none"?Xo:Wo;return sa.test(a)&&(i.e=0),this._pt=i,i},Vo={top:"0%",bottom:"100%",left:"0%",right:"100%",center:"50%"},ti=function(e){var t=e.split(" "),r=t[0],a=t[1]||"50%";return(r==="top"||r==="bottom"||a==="left"||a==="right")&&(e=r,r=a,a=e),t[0]=Vo[r]||r,t[1]=Vo[a]||a,t.join(" ")},ri=function(e,t){if(t.tween&&t.tween._time===t.tween._dur){var r=t.t,a=r.style,o=t.u,s=r._gsap,i,l,n;if(o==="all"||o===!0)a.cssText="",l=1;else for(o=o.split(","),n=o.length;--n>-1;)i=o[n],ke[i]&&(l=1,i=i==="transformOrigin"?se:I),Re(r,i);l&&(Re(r,I),s&&(s.svg&&r.removeAttribute("transform"),a.scale=a.rotate=a.translate="none",St(r,1),s.uncache=1,$o(a)))}},Kt={clearProps:function(e,t,r,a,o){if(o.data!=="isFromStart"){var s=e._pt=new ee(e._pt,t,r,0,0,ri);return s.u=a,s.pr=-10,s.tween=o,e._props.push(r),1}}},yt=[1,0,0,1,0,0],Jo={},jo=function(e){return e==="matrix(1, 0, 0, 1, 0, 0)"||e==="none"||!e},Go=function(e){var t=ne(e,I);return jo(t)?yt:t.substr(7).match(oa).map(N)},Aa=function(e,t){var r=e._gsap||Te(e),a=e.style,o=Go(e),s,i,l,n;return r.svg&&e.getAttribute("transform")?(l=e.transform.baseVal.consolidate().matrix,o=[l.a,l.b,l.c,l.d,l.e,l.f],o.join(",")==="1,0,0,1,0,0"?yt:o):(o===yt&&!e.offsetParent&&e!==tt&&!r.svg&&(l=a.display,a.display="block",s=e.parentNode,(!s||!e.offsetParent&&!e.getBoundingClientRect().width)&&(n=1,i=e.nextElementSibling,tt.appendChild(e)),o=Go(e),l?a.display=l:Re(e,"display"),n&&(i?s.insertBefore(e,i):s?s.appendChild(e):tt.removeChild(e))),t&&o.length>6?[o[0],o[1],o[4],o[5],o[12],o[13]]:o)},ba=function(e,t,r,a,o,s){var i=e._gsap,l=o||Aa(e,!0),n=i.xOrigin||0,u=i.yOrigin||0,p=i.xOffset||0,m=i.yOffset||0,c=l[0],x=l[1],d=l[2],h=l[3],_=l[4],g=l[5],y=t.split(" "),S=parseFloat(y[0])||0,C=parseFloat(y[1])||0,T,w,P,k;r?l!==yt&&(w=c*h-x*d)&&(P=S*(h/w)+C*(-d/w)+(d*g-h*_)/w,k=S*(-x/w)+C*(c/w)-(c*g-x*_)/w,S=P,C=k):(T=Zo(e),S=T.x+(~y[0].indexOf("%")?S/100*T.width:S),C=T.y+(~(y[1]||y[0]).indexOf("%")?C/100*T.height:C)),a||a!==!1&&i.smooth?(_=S-n,g=C-u,i.xOffset=p+(_*c+g*d)-_,i.yOffset=m+(_*x+g*h)-g):i.xOffset=i.yOffset=0,i.xOrigin=S,i.yOrigin=C,i.smooth=!!a,i.origin=t,i.originIsAbsolute=!!r,e.style[se]="0px 0px",s&&(De(s,i,"xOrigin",n,S),De(s,i,"yOrigin",u,C),De(s,i,"xOffset",p,i.xOffset),De(s,i,"yOffset",m,i.yOffset)),e.setAttribute("data-svg-origin",S+" "+C)},St=function(e,t){var r=e._gsap||new ma(e);if("x"in r&&!t&&!r.uncache)return r;var a=e.style,o=r.scaleX<0,s="px",i="deg",l=getComputedStyle(e),n=ne(e,se)||"0",u,p,m,c,x,d,h,_,g,y,S,C,T,w,P,k,v,b,M,A,D,B,V,W,ue,$e,ft,it,Oe,Ia,Ce,Ee;return u=p=m=d=h=_=g=y=S=0,c=x=1,r.svg=!!(e.getCTM&&Qo(e)),l.translate&&((l.translate!=="none"||l.scale!=="none"||l.rotate!=="none")&&(a[I]=(l.translate!=="none"?"translate3d("+(l.translate+" 0 0").split(" ").slice(0,3).join(", ")+") ":"")+(l.rotate!=="none"?"rotate("+l.rotate+") ":"")+(l.scale!=="none"?"scale("+l.scale.split(" ").join(",")+") ":"")+(l[I]!=="none"?l[I]:"")),a.scale=a.rotate=a.translate="none"),w=Aa(e,r.svg),r.svg&&(r.uncache?(ue=e.getBBox(),n=r.xOrigin-ue.x+"px "+(r.yOrigin-ue.y)+"px",W=""):W=!t&&e.getAttribute("data-svg-origin"),ba(e,W||n,!!W||r.originIsAbsolute,r.smooth!==!1,w)),C=r.xOrigin||0,T=r.yOrigin||0,w!==yt&&(b=w[0],M=w[1],A=w[2],D=w[3],u=B=w[4],p=V=w[5],w.length===6?(c=Math.sqrt(b*b+M*M),x=Math.sqrt(D*D+A*A),d=b||M?et(M,b)*We:0,g=A||D?et(A,D)*We+d:0,g&&(x*=Math.abs(Math.cos(g*rt))),r.svg&&(u-=C-(C*b+T*A),p-=T-(C*M+T*D))):(Ee=w[6],Ia=w[7],ft=w[8],it=w[9],Oe=w[10],Ce=w[11],u=w[12],p=w[13],m=w[14],P=et(Ee,Oe),h=P*We,P&&(k=Math.cos(-P),v=Math.sin(-P),W=B*k+ft*v,ue=V*k+it*v,$e=Ee*k+Oe*v,ft=B*-v+ft*k,it=V*-v+it*k,Oe=Ee*-v+Oe*k,Ce=Ia*-v+Ce*k,B=W,V=ue,Ee=$e),P=et(-A,Oe),_=P*We,P&&(k=Math.cos(-P),v=Math.sin(-P),W=b*k-ft*v,ue=M*k-it*v,$e=A*k-Oe*v,Ce=D*v+Ce*k,b=W,M=ue,A=$e),P=et(M,b),d=P*We,P&&(k=Math.cos(P),v=Math.sin(P),W=b*k+M*v,ue=B*k+V*v,M=M*k-b*v,V=V*k-B*v,b=W,B=ue),h&&Math.abs(h)+Math.abs(d)>359.9&&(h=d=0,_=180-_),c=N(Math.sqrt(b*b+M*M+A*A)),x=N(Math.sqrt(V*V+Ee*Ee)),P=et(B,V),g=Math.abs(P)>2e-4?P*We:0,S=Ce?1/(Ce<0?-Ce:Ce):0),r.svg&&(W=e.getAttribute("transform"),r.forceCSS=e.setAttribute("transform","")||!jo(ne(e,I)),W&&e.setAttribute("transform",W))),Math.abs(g)>90&&Math.abs(g)<270&&(o?(c*=-1,g+=d<=0?180:-180,d+=d<=0?180:-180):(x*=-1,g+=g<=0?180:-180)),t=t||r.uncache,r.x=u-((r.xPercent=u&&(!t&&r.xPercent||(Math.round(e.offsetWidth/2)===Math.round(-u)?-50:0)))?e.offsetWidth*r.xPercent/100:0)+s,r.y=p-((r.yPercent=p&&(!t&&r.yPercent||(Math.round(e.offsetHeight/2)===Math.round(-p)?-50:0)))?e.offsetHeight*r.yPercent/100:0)+s,r.z=m+s,r.scaleX=N(c),r.scaleY=N(x),r.rotation=N(d)+i,r.rotationX=N(h)+i,r.rotationY=N(_)+i,r.skewX=g+i,r.skewY=y+i,r.transformPerspective=S+s,(r.zOrigin=parseFloat(n.split(" ")[2])||!t&&r.zOrigin||0)&&(a[se]=Yt(n)),r.xOffset=r.yOffset=0,r.force3D=oe.force3D,r.renderTransform=r.svg?oi:Yo?es:ai,r.uncache=0,r},Yt=function(e){return(e=e.split(" "))[0]+" "+e[1]},Sa=function(e,t,r){var a=Y(t);return N(parseFloat(t)+parseFloat(Be(e,"x",r+"px",a)))+a},ai=function(e,t){t.z="0px",t.rotationY=t.rotationX="0deg",t.force3D=0,es(e,t)},Ge="0deg",Ct="0px",Ne=") ",es=function(e,t){var r=t||this,a=r.xPercent,o=r.yPercent,s=r.x,i=r.y,l=r.z,n=r.rotation,u=r.rotationY,p=r.rotationX,m=r.skewX,c=r.skewY,x=r.scaleX,d=r.scaleY,h=r.transformPerspective,_=r.force3D,g=r.target,y=r.zOrigin,S="",C=_==="auto"&&e&&e!==1||_===!0;if(y&&(p!==Ge||u!==Ge)){var T=parseFloat(u)*rt,w=Math.sin(T),P=Math.cos(T),k;T=parseFloat(p)*rt,k=Math.cos(T),s=Sa(g,s,w*k*-y),i=Sa(g,i,-Math.sin(T)*-y),l=Sa(g,l,P*k*-y+y)}h!==Ct&&(S+="perspective("+h+Ne),(a||o)&&(S+="translate("+a+"%, "+o+"%) "),(C||s!==Ct||i!==Ct||l!==Ct)&&(S+=l!==Ct||C?"translate3d("+s+", "+i+", "+l+") ":"translate("+s+", "+i+Ne),n!==Ge&&(S+="rotate("+n+Ne),u!==Ge&&(S+="rotateY("+u+Ne),p!==Ge&&(S+="rotateX("+p+Ne),(m!==Ge||c!==Ge)&&(S+="skew("+m+", "+c+Ne),(x!==1||d!==1)&&(S+="scale("+x+", "+d+Ne),g.style[I]=S||"translate(0, 0)"},oi=function(e,t){var r=t||this,a=r.xPercent,o=r.yPercent,s=r.x,i=r.y,l=r.rotation,n=r.skewX,u=r.skewY,p=r.scaleX,m=r.scaleY,c=r.target,x=r.xOrigin,d=r.yOrigin,h=r.xOffset,_=r.yOffset,g=r.forceCSS,y=parseFloat(s),S=parseFloat(i),C,T,w,P,k;l=parseFloat(l),n=parseFloat(n),u=parseFloat(u),u&&(u=parseFloat(u),n+=u,l+=u),l||n?(l*=rt,n*=rt,C=Math.cos(l)*p,T=Math.sin(l)*p,w=Math.sin(l-n)*-m,P=Math.cos(l-n)*m,n&&(u*=rt,k=Math.tan(n-u),k=Math.sqrt(1+k*k),w*=k,P*=k,u&&(k=Math.tan(u),k=Math.sqrt(1+k*k),C*=k,T*=k)),C=N(C),T=N(T),w=N(w),P=N(P)):(C=p,P=m,T=w=0),(y&&!~(s+"").indexOf("px")||S&&!~(i+"").indexOf("px"))&&(y=Be(c,"x",s,"px"),S=Be(c,"y",i,"px")),(x||d||h||_)&&(y=N(y+x-(x*C+d*w)+h),S=N(S+d-(x*T+d*P)+_)),(a||o)&&(k=c.getBBox(),y=N(y+a/100*k.width),S=N(S+o/100*k.height)),k="matrix("+C+","+T+","+w+","+P+","+y+","+S+")",c.setAttribute("transform",k),g&&(c.style[I]=k)},si=function(e,t,r,a,o){var s=360,i=$(o),l=parseFloat(o)*(i&&~o.indexOf("rad")?We:1),n=l-a,u=a+n+"deg",p,m;return i&&(p=o.split("_")[1],p==="short"&&(n%=s,n!==n%(s/2)&&(n+=n<0?s:-s)),p==="cw"&&n<0?n=(n+s*qo)%s-~~(n/s)*s:p==="ccw"&&n>0&&(n=(n-s*qo)%s-~~(n/s)*s)),e._pt=m=new ee(e._pt,t,r,a,n,If),m.e=u,m.u="deg",e._props.push(r),m},No=function(e,t){for(var r in t)e[r]=t[r];return e},fi=function(e,t,r){var a=No({},r._gsap),o="perspective,force3D,transformOrigin,svgOrigin",s=r.style,i,l,n,u,p,m,c,x;a.svg?(n=r.getAttribute("transform"),r.setAttribute("transform",""),s[I]=t,i=St(r,1),Re(r,I),r.setAttribute("transform",n)):(n=getComputedStyle(r)[I],s[I]=t,i=St(r,1),s[I]=n);for(l in ke)n=a[l],u=i[l],n!==u&&o.indexOf(l)<0&&(c=Y(n),x=Y(u),p=c!==x?Be(r,l,n,x):parseFloat(n),m=parseFloat(u),e._pt=new ee(e._pt,i,l,p,m-p,wa),e._pt.u=x||0,e._props.push(l));No(i,a)};j("padding,margin,Width,Radius",function(f,e){var t="Top",r="Right",a="Bottom",o="Left",s=(e<3?[t,r,a,o]:[t+o,t+r,a+r,a+o]).map(function(i){return e<2?f+i:"border"+i+f});Kt[e>1?"border"+f:f]=function(i,l,n,u,p){var m,c;if(arguments.length<4)return m=s.map(function(x){return ve(i,x,n)}),c=m.join(" "),c.split(m[0]).length===5?m[0]:c;m=(u+"").split(" "),c={},s.forEach(function(x,d){return c[x]=m[d]=m[d]||m[(d-1)/2|0]}),i.init(l,c,p)}});var La={name:"css",register:ka,targetTest:function(e){return e.style&&e.nodeType},init:function(e,t,r,a,o){var s=this._props,i=e.style,l=r.vars.startAt,n,u,p,m,c,x,d,h,_,g,y,S,C,T,w,P,k;Pa||ka(),this.styles=this.styles||Ko(e),P=this.styles.props,this.tween=r;for(d in t)if(d!=="autoRound"&&(u=t[d],!(te[d]&&xa(d,t,r,a,e,o)))){if(c=typeof u,x=Kt[d],c==="function"&&(u=u.call(r,a,e,o),c=typeof u),c==="string"&&~u.indexOf("random(")&&(u=je(u)),x)x(this,e,d,u,r)&&(w=1);else if(d.substr(0,2)==="--")n=(getComputedStyle(e).getPropertyValue(d)+"").trim(),u+="",Se.lastIndex=0,Se.test(n)||(h=Y(n),_=Y(u),_?h!==_&&(n=Be(e,d,n,_)+_):h&&(u+=h)),this.add(i,"setProperty",n,u,a,o,0,0,d),s.push(d),P.push(d,0,i[d]);else if(c!=="undefined"){if(l&&d in l?(n=typeof l[d]=="function"?l[d].call(r,a,e,o):l[d],$(n)&&~n.indexOf("random(")&&(n=je(n)),Y(n+"")||n==="auto"||(n+=oe.units[d]||Y(ve(e,d))||""),(n+"").charAt(1)==="="&&(n=ve(e,d))):n=ve(e,d),m=parseFloat(n),g=c==="string"&&u.charAt(1)==="="&&u.substr(0,2),g&&(u=u.substr(2)),p=parseFloat(u),d in ge&&(d==="autoAlpha"&&(m===1&&ve(e,"visibility")==="hidden"&&p&&(m=0),P.push("visibility",0,i.visibility),De(this,i,"visibility",m?"inherit":"hidden",p?"inherit":"hidden",!p)),d!=="scale"&&d!=="transform"&&(d=ge[d],~d.indexOf(",")&&(d=d.split(",")[0]))),y=d in ke,y){if(this.styles.save(d),k=u,c==="string"&&u.substring(0,6)==="var(--"){if(u=ne(e,u.substring(4,u.indexOf(")"))),u.substring(0,5)==="calc("){var v=e.style.perspective;e.style.perspective=u,u=ne(e,"perspective"),v?e.style.perspective=v:Re(e,"perspective")}p=parseFloat(u)}if(S||(C=e._gsap,C.renderTransform&&!t.parseTransform||St(e,t.parseTransform),T=t.smoothOrigin!==!1&&C.smooth,S=this._pt=new ee(this._pt,i,I,0,1,C.renderTransform,C,0,-1),S.dep=1),d==="scale")this._pt=new ee(this._pt,C,"scaleY",C.scaleY,(g?Ie(C.scaleY,g+p):p)-C.scaleY||0,wa),this._pt.u=0,s.push("scaleY",d),d+="X";else if(d==="transformOrigin"){P.push(se,0,i[se]),u=ti(u),C.svg?ba(e,u,0,T,0,this):(_=parseFloat(u.split(" ")[2])||0,_!==C.zOrigin&&De(this,C,"zOrigin",C.zOrigin,_),De(this,i,d,Yt(n),Yt(u)));continue}else if(d==="svgOrigin"){ba(e,u,1,T,0,this);continue}else if(d in Jo){si(this,C,d,m,g?Ie(m,g+u):u);continue}else if(d==="smoothOrigin"){De(this,C,"smooth",C.smooth,u);continue}else if(d==="force3D"){C[d]=u;continue}else if(d==="transform"){fi(this,u,e);continue}}else d in i||(d=at(d)||d);if(y||(p||p===0)&&(m||m===0)&&!zf.test(u)&&d in i)h=(n+"").substr((m+"").length),p||(p=0),_=Y(u)||(d in oe.units?oe.units[d]:h),h!==_&&(m=Be(e,d,n,_)),this._pt=new ee(this._pt,y?C:i,d,m,(g?Ie(m,g+p):p)-m,!y&&(_==="px"||d==="zIndex")&&t.autoRound!==!1?Nf:wa),this._pt.u=_||0,y&&k!==u?(this._pt.b=n,this._pt.e=k,this._pt.r=Gf):h!==_&&_!=="%"&&(this._pt.b=n,this._pt.r=Vf);else if(d in i)ei.call(this,e,d,n,g?g+u:u);else if(d in e)this.add(e,d,n||e[d],g?g+u:u,a,o);else if(d!=="parseTransform"){Gt(d,u);continue}y||(d in i?P.push(d,0,i[d]):typeof e[d]=="function"?P.push(d,2,e[d]()):P.push(d,1,n||e[d])),s.push(d)}}w&&ya(this)},render:function(e,t){if(t.tween._time||!Ta())for(var r=t._pt;r;)r.r(e,r.d),r=r._next;else t.styles.revert()},get:ve,aliases:ge,getSetter:function(e,t,r){var a=ge[t];return a&&a.indexOf(",")<0&&(t=a),t in ke&&t!==se&&(e._gsap.x||ve(e,"x"))?r&&Eo===r?t==="scale"?Kf:$f:(Eo=r||{})&&(t==="scale"?Yf:Zf):e.style&&!Vt(e.style[t])?Wf:~t.indexOf("-")?Xf:$t(e,t)},core:{_removeProperty:Re,_getMatrix:Aa}};J.utils.checkPrefix=at;J.core.getStyleSaver=Ko;(function(f,e,t,r){var a=j(f+","+e+","+t,function(o){ke[o]=1});j(e,function(o){oe.units[o]="deg",Jo[o]=1}),ge[a[13]]=f+","+e,j(r,function(o){var s=o.split(":");ge[s[1]]=a[s[0]]})})("x,y,z,scale,scaleX,scaleY,xPercent,yPercent","rotation,rotationX,rotationY,skewX,skewY","transform,transformOrigin,svgOrigin,force3D,smoothOrigin,transformPerspective","0:translateX,1:translateY,2:translateZ,8:rotate,8:rotationZ,8:rotateZ,9:rotateX,10:rotateY");j("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",function(f){oe.units[f]="px"});J.registerPlugin(La);var E=J.registerPlugin(La)||J,dn=E.core.Tween;
// Share the existing animation core with locally served scroll plugins.
window.gsap=E;
function Zt(f,e){let t=Array.from(f.querySelectorAll('[role="tab"]')),r=document.createElement("span");r.className="selection-indicator",r.setAttribute("aria-hidden","true"),f.prepend(r);let a=!1,o;function s(n=!0){if(a)return;let u=t.find(c=>c.getAttribute("aria-selected")==="true");if(!u||!u.offsetWidth||!u.offsetHeight)return;let p={x:u.offsetLeft,y:u.offsetTop,scaleX:u.offsetWidth,scaleY:u.offsetHeight};!(!o||Object.keys(p).some(c=>Math.abs(p[c]-o[c])>.1))&&n||(!o||!n||e.matches||document.hidden?(E.killTweensOf(r),E.set(r,p)):E.to(r,{...p,duration:.36,ease:"power3.out",overwrite:!0}),o=p,f.classList.add("has-selection-indicator"))}let i=()=>s(!1),l=new ResizeObserver(i);return l.observe(f),t.forEach(n=>l.observe(n)),e.addEventListener("change",i),document.fonts.ready.then(i),s(!1),{update:s,destroy(){a=!0,l.disconnect(),e.removeEventListener("change",i),E.killTweensOf(r),r.remove(),f.classList.remove("has-selection-indicator")}}}function ts(f){let e=document.querySelector(".replay-window"),t=v=>e.querySelector(v),r=matchMedia("(prefers-reduced-motion: reduce)"),a={zh:{pause:"\u6682\u505C\u56DE\u653E",resume:"\u7EE7\u7EED\u64AD\u653E",play:"\u64AD\u653E\u8BC1\u660E\u56DE\u653E",playing:"\u64AD\u653E\u4E2D",ended:"\u56DE\u653E\u7ED3\u675F",paused:"\u5DF2\u6682\u505C",step:(v,b)=>`\u7B2C ${v} \u6B65\uFF0C\u5171 4 \u6B65\uFF1A${b}`},en:{pause:"Pause replay",resume:"Resume replay",play:"Play the recorded replay",playing:"Playing",ended:"Replay finished",paused:"Paused",step:(v,b)=>`Step ${v} of 4: ${b}`}}[f],o=Array.from(e.querySelectorAll("[data-replay-stage]")),s=Zt(t(".replay-tabs"),r),i=e,l=o.map(v=>t(`#stage-${v.dataset.replayStage}`)),n=t("#replay-play"),u=t("#replay-progress"),p=t(".replay-progress-fill"),m=o.map(v=>v.querySelector("span").textContent),c=[3.2,4.4,3.6,4],x=o.length-1,d=!1,h=!1,_=!1,g;t(".replay-playback").hidden=!1,o.forEach(v=>{v.disabled=!1});function y(){i.dataset.replayPlaying=String(d),i.dataset.replayCurrent=o[x].dataset.replayStage,i.dataset.replayState=d?"playing":_?"complete":"paused";let v=d?a.pause:h?a.resume:a.play;n.setAttribute("aria-label",v),n.title=v,n.setAttribute("aria-pressed",String(d)),t("#replay-prev").disabled=x===0,t("#replay-next").disabled=x===o.length-1,t("#replay-step-number").textContent=`0${x+1} / 04`,t("#replay-step-label").textContent=m[x];let b=d?a.playing:_?a.ended:a.paused;t("#replay-status").textContent!==b&&(t("#replay-status").textContent=b),u.setAttribute("aria-valuenow",String(x+1)),u.setAttribute("aria-valuetext",a.step(x+1,m[x]))}function S(v,b=!1){let M=x!==v;x=v;for(let[A,D]of o.entries()){let B=A===v;D.setAttribute("aria-selected",String(B)),D.tabIndex=B?0:-1,D.dataset.stepState=A<v?"complete":B?"current":"upcoming",l[A].hidden=!B}E.set(p,{scaleX:(v+1)/o.length}),s.update(),y(),M&&(E.killTweensOf(l),E.set(l,{clearProps:"opacity,transform"}),r.matches||E.fromTo(l[v],{opacity:.45,y:6},{opacity:1,y:0,duration:.28,ease:"power2.out",clearProps:"opacity,transform"})),b&&o[v].focus({preventScroll:!0})}function C(){g?.pause(),d=!1,y()}function T(v,b=!1){C(),g?.kill(),g=void 0,h=!1,_=!1,S(o.indexOf(v),b)}function w(){g?.kill(),g=E.timeline({onComplete:()=>{if(g=void 0,!!d){if(x===o.length-1){d=!1,h=!1,_=!0,y();return}S(x+1),w()}}}),r.matches?g.to({},{duration:c[x]}):g.fromTo(p,{scaleX:x/o.length},{scaleX:(x+1)/o.length,duration:c[x],ease:"none"})}function P(v=!1){let b=i.getBoundingClientRect();document.hidden||!b.width||!b.height||b.bottom<=70||b.top>=innerHeight||((v||!h)&&(g?.kill(),g=void 0,_=!1,S(0)),h=!0,d=!0,y(),g?g.resume():w())}return o.forEach(v=>v.addEventListener("click",()=>T(v))),t(".replay-tabs").addEventListener("keydown",v=>{let b=o.indexOf(v.target);if(b<0)return;let M;if(["ArrowRight","ArrowDown"].includes(v.key))M=(b+1)%o.length;else if(["ArrowLeft","ArrowUp"].includes(v.key))M=(b-1+o.length)%o.length;else if(v.key==="Home")M=0;else if(v.key==="End")M=o.length-1;else return;v.preventDefault(),T(o[M],!0)}),n.addEventListener("click",()=>{d?C():P()}),t("#replay-prev").addEventListener("click",()=>T(o[Math.max(0,x-1)])),t("#replay-next").addEventListener("click",()=>T(o[Math.min(o.length-1,x+1)])),t("#replay-restart").addEventListener("click",()=>P(!0)),new IntersectionObserver(v=>{(!v[0].isIntersecting||v[0].intersectionRect.height<=0)&&d&&C()},{rootMargin:"-70px 0px 0px 0px"}).observe(i),document.addEventListener("visibilitychange",()=>{document.hidden&&(C(),s.update(!1))}),window.addEventListener("pagehide",v=>{C(),v.persisted?s.update(!1):s.destroy()}),window.addEventListener("pageshow",()=>s.update(!1)),r.addEventListener("change",()=>{C(),g?.kill(),g=void 0,E.killTweensOf(l),E.set(l,{clearProps:"opacity,transform"}),E.set(p,{scaleX:(x+1)/o.length})}),y(),{pause:C}}function rs(f){let e=document.querySelector("[data-human-decision]");if(!e)return;let t=b=>e.querySelector(b),r={zh:{review:["\u7B49\u5F85\u4F60\u7684\u786E\u8BA4","\u5C1A\u672A\u786E\u8BA4\u76EE\u6807\u3002\u786E\u8BA4\u540E\u53EF\u67E5\u770B\u8BC1\u660E\u56DE\u653E\u3002"],revise:["\u6B63\u5728\u4FEE\u6539\u9648\u8FF0","\u4FEE\u6539\u539F\u9898\u6216\u76EE\u6807\uFF0C\u4FDD\u5B58\u540E\u518D\u91CD\u65B0\u6838\u5BF9\u3002"],saved:["\u4FEE\u6539\u5DF2\u4FDD\u5B58","\u8BF7\u786E\u8BA4\u66F4\u65B0\u540E\u7684\u539F\u9898\u548C\u4E24\u4E2A\u76EE\u6807\u3002"],confirm:["\u8BC1\u660E\u9636\u6BB5\u5DF2\u5F00\u653E","\u4E24\u4E2A\u76EE\u6807\u5DF2\u786E\u8BA4\u3002\u73B0\u5728\u53EF\u4EE5\u67E5\u770B\u8FD9\u9053\u9898\u5DF2\u6709\u7684\u8BC1\u660E\u56DE\u653E\u3002"],confirmEdited:["\u4FEE\u6539\u540E\u7684\u9648\u8FF0\u5DF2\u786E\u8BA4","\u590D\u5236\u8FD9\u4EFD\u4FEE\u6539\u7A3F\uFF0C\u518D\u7C98\u8D34\u5230\u5DE5\u4F5C\u53F0\u7684\u539F\u9898\u8F93\u5165\u6846\u7EE7\u7EED\u3002"],goalNames:["\u76EE\u6807\u4E00","\u76EE\u6807\u4E8C"],questionName:"\u539F\u9898",copyPrompt:"\u590D\u5236\u4FEE\u6539\u540E\u7684\u539F\u9898\u548C\u4E24\u4E2A\u76EE\u6807\uFF0C\u518D\u7C98\u8D34\u5230\u5DE5\u4F5C\u53F0\u3002",copied:"\u4FEE\u6539\u7A3F\u5DF2\u590D\u5236\u3002\u6253\u5F00\u5DE5\u4F5C\u53F0\u540E\uFF0C\u7C98\u8D34\u5230\u539F\u9898\u8F93\u5165\u6846\u3002",copyFallback:"\u6D4F\u89C8\u5668\u672A\u80FD\u590D\u5236\uFF0C\u8BF7\u590D\u5236\u4E0B\u65B9\u5DF2\u9009\u4E2D\u7684\u4FEE\u6539\u7A3F\uFF0C\u518D\u7C98\u8D34\u5230\u5DE5\u4F5C\u53F0\u3002"},en:{review:["Waiting for your confirmation","The two goals are still under review. The proof stage is locked."],revise:["Editing the statement","Change the question or either goal, then save it to review again."],saved:["Changes saved","Review the updated question and both goals before confirming."],confirm:["The proof stage is unlocked","Both goals are confirmed. You can now explore this problem\u2019s recorded proof replay."],confirmEdited:["Revised statement confirmed","Copy this revision, then paste it into the workbench question field to continue."],goalNames:["Goal one","Goal two"],questionName:"Question",copyPrompt:"Copy the question and both goals, then paste them into the workbench.",copied:"Revision copied. Open the workbench and paste it into the question field.",copyFallback:"The browser could not copy. Copy the selected revision below, then paste it into the workbench."}}[f],a=t('[data-decision="confirm"]'),o=t('[data-decision="revise"]'),s=t('[data-decision="reset"]'),i=t('[data-decision="cancel-edit"]'),l=t("[data-decision-edit]"),n=b=>t(`[data-decision-field="${b}"]`),u=t("[data-decision-question]"),p=[t('[data-decision-goal="0"]'),t('[data-decision-goal="1"]')],m=[t('[data-decision-theorem="0"]'),t('[data-decision-theorem="1"]')],c=t("[data-decision-continue]"),x=t("[data-decision-workbench]"),d=t("[data-decision-copy]"),h=t("[data-decision-copy-status]"),_=t("[data-decision-export]"),g={question:u.textContent??"",goals:p.map(b=>b.textContent??""),theorems:m.map(b=>b.textContent??"")},y=["question","goal-0","goal-1"],S="review",C="review",T=!1;function w(b){b.focus({preventScroll:!0}),b.scrollIntoView({block:"nearest",inline:"nearest",behavior:"instant"})}function P(b){S=b;let M=S==="confirm",A=S==="revise";e.dataset.decisionState=S;let D=S==="confirm"&&T?r.confirmEdited:r[S];t("[data-decision-status]").textContent=D[0],t("[data-decision-description]").textContent=D[1],a.setAttribute("aria-pressed",String(M)),o.setAttribute("aria-pressed",String(A)),o.setAttribute("aria-expanded",String(A)),a.disabled=A,o.disabled=A,u.hidden=A,t(".decision-targets").hidden=A,t("[data-decision-controls]").hidden=A,t("[data-decision-feedback]").hidden=A,t("[data-decision-next]").hidden=A,l.hidden=!A,c.hidden=!M||T,x.hidden=!M||!T,t("[data-decision-locked]").hidden=M,s.hidden=S==="review",t("[data-decision-handoff]").hidden=!M||!T,m.forEach((B,V)=>{B.textContent=T?r.goalNames[V]:g.theorems[V]}),_.hidden=!0,_.value=`${r.questionName}
${u.textContent}
${r.goalNames[0]}
${p[0].textContent}
${r.goalNames[1]}
${p[1].textContent}`,h.textContent=r.copyPrompt}function k(b){let M=!n(b).value.trim();return n(b).setAttribute("aria-invalid",String(M)),t(`[data-decision-error="${b}"]`).hidden=!M,!M}function v(){P(C),w(o)}a.addEventListener("click",()=>P("confirm")),o.addEventListener("click",()=>{C=S;for(let[b,M]of[["question",u.textContent??""],["goal-0",p[0].textContent??""],["goal-1",p[1].textContent??""]])n(b).value=M;for(let b of y)n(b).removeAttribute("aria-invalid"),t(`[data-decision-error="${b}"]`).hidden=!0;P("revise"),w(n("question"))}),i.addEventListener("click",v),l.addEventListener("keydown",b=>{b.key==="Escape"&&(b.preventDefault(),v())});for(let b of y)n(b).addEventListener("input",()=>{n(b).hasAttribute("aria-invalid")&&k(b)});l.addEventListener("submit",b=>{b.preventDefault();let M=y.filter(D=>!k(D));if(M.length){w(n(M[0]));return}let A={question:n("question").value.trim(),goals:[n("goal-0").value.trim(),n("goal-1").value.trim()]};u.textContent=A.question,A.goals.forEach((D,B)=>{p[B].textContent=D}),T=A.question!==g.question||A.goals.some((D,B)=>D!==g.goals[B]),P("saved"),w(a)}),s.addEventListener("click",()=>{u.textContent=g.question,g.goals.forEach((b,M)=>{p[M].textContent=b}),T=!1,P("review"),w(a)}),d.addEventListener("click",async()=>{let b=_.value;d.disabled=!0;try{await navigator.clipboard.writeText(b),S==="confirm"&&b===_.value&&(_.hidden=!0,h.textContent=r.copied)}catch{S==="confirm"&&b===_.value&&(_.hidden=!1,h.textContent=r.copyFallback,w(_),_.select())}finally{d.disabled=!1}}),P("review")}var ii="https://github.com/HuggingMath/TheoremOS",li=`${ii}/issues/new`,Cn=`${li}?template=early-access.yml`;var as=f=>f.toLowerCase().startsWith("en")?"en":"zh",os=f=>f==="en"?"../":"";function ss(){for(let f of document.querySelectorAll("a.lang-link")){let e=()=>{f.hash=location.hash};for(let t of["click","auxclick","contextmenu"])f.addEventListener(t,e)}}var ni={ArrowDown:fr,ArrowDownRight:sr,ArrowRight:ir,ArrowUpRight:lr,Blocks:nr,Check:ur,ChevronLeft:pr,ChevronRight:mr,Clock:cr,Code2:Mt,Copy:xr,ChevronDown:dr,Download:hr,ExternalLink:gr,FileCheck2:Lt,FileCode2:Dt,FileJson2:At,Files:_r,FlaskConical:Cr,FolderOpen:yr,GitFork:Sr,Globe:wr,History:Rt,Info:vr,KeyRound:kr,Maximize2:br,Menu:Pr,Network:Tr,Pause:Mr,Play:Ar,Plus:Lr,RotateCcw:Dr,ScanLine:Rr,ShieldCheck:Br,Wallet:Fr,X:Or,ZoomIn:Er,ZoomOut:qr},ui=()=>Hr({icons:ni,attrs:{"aria-hidden":"true"}}),L=f=>{let e=document.querySelector(f);if(!e)throw new Error(`Missing landing page element: ${f}`);return e},_e=as(document.documentElement.lang),di=os(_e),ot={zh:{previewLabel:f=>`\u67E5\u770B${f}\u539F\u59CB\u622A\u56FE`,fit:"\u9002\u5E94\u7A97\u53E3",zoom:"\u653E\u5927\u622A\u56FE",closeMenu:"\u5173\u95ED\u5BFC\u822A",openMenu:"\u6253\u5F00\u5BFC\u822A"},en:{previewLabel:f=>`View the full-size ${f.toLowerCase()} screenshot`,fit:"Fit to window",zoom:"Zoom in",closeMenu:"Close navigation",openMenu:"Open navigation"}}[_e];ui();document.documentElement.classList.add("js");var jt=matchMedia("(prefers-reduced-motion: reduce)");matchMedia("(max-width: 600px)").matches&&document.querySelectorAll("[data-mobile-disclosure]").forEach(f=>{f.open=!1});var Qt=new Set;function ds(f,e=7){for(let t of f)Qt.add(t);if(E.killTweensOf(f),jt.matches){E.set(f,{clearProps:"opacity,transform"});return}E.set(f,{opacity:.45,y:e}),E.to(f,{opacity:1,y:0,duration:.28,stagger:.035,ease:"power2.out",clearProps:"opacity,transform"})}var fs=!1,pi=E.matchMedia(),ps=()=>document.documentElement.classList.add("m-enter-done");
pi.add("(prefers-reduced-motion: no-preference)",()=>{
if(fs)return;
fs=!0;
const heroEntranceTargets=E.utils.toArray(".hero .hero-name, .hero .hero-category, .hero .hero-description, .hero .hero-actions > *, .hero .hero-practice, .hero .hero-terms, .hero .hero-proof");
const logoLetters=E.utils.toArray(".site-header .brand-letter");
E.set(logoLetters,{yPercent:115,autoAlpha:0});
const heroEntrance=E.timeline({defaults:{duration:.65,ease:"power3.out"},onComplete:ps});
heroEntrance.to(logoLetters,{yPercent:0,autoAlpha:1,duration:.55,stagger:.08,clearProps:"opacity,visibility,transform"},0);
heroEntranceTargets.forEach((target,index)=>{
const titleLine=target.classList.contains("hero-name");
const blurRadius=titleLine?8:target.classList.contains("hero-proof")?6:0;
const fromState=titleLine?{yPercent:115,autoAlpha:0}:{translate:"0 14px",autoAlpha:0};
const toState=titleLine
?{yPercent:0,autoAlpha:1,duration:.82,clearProps:"opacity,visibility,transform"}
:{translate:"0 0px",autoAlpha:1,clearProps:"opacity,visibility,translate"};
if(blurRadius){
fromState.filter=`blur(${blurRadius}px)`;
toState.filter="blur(0px)";
toState.clearProps+=",filter";
}
E.set(target,fromState);
heroEntrance.to(target,toState,index*.08);
});
document.documentElement.classList.add("m-enter-started");
});
jt.matches&&ps();
var mi={zh:{m1:{contract:"M1 \xB7 \u8BC1\u660E\u6784\u9020\u63A5\u53E3",title:"\u6784\u9020\u4E0E\u4FEE\u590D\u5019\u9009",description:"\u8C03\u7528\u6A21\u578B\u4F1A\u8BDD\uFF0C\u5728\u9694\u79BB\u5DE5\u4F5C\u533A\u4E2D\u6784\u9020\u548C\u4FEE\u590D Lean \u5019\u9009\u3002\u7814\u7A76\u4F60\u7684\u751F\u6210\u65B9\u5F0F\u3001\u63D0\u793A\u548C\u4FEE\u590D\u7B56\u7565\u3002",input:"\u9898\u76EE \xB7 \u4E0A\u4E0B\u6587 \xB7 \u64CD\u4F5C \xB7 \u6A21\u578B\u4F1A\u8BDD",output:"\u5019\u9009\u8BB0\u5F55 \xB7 \u5DE5\u4F5C\u533A\u4E2D\u7684\u8BC1\u660E"},m2:{contract:"M2 \xB7 \u68C0\u67E5\u53CD\u9988\u63A5\u53E3",title:"\u6574\u7406 Lean \u8BCA\u65AD",description:"\u68C0\u67E5\u5019\u9009\u4E0E\u8F85\u52A9\u8BC1\u660E\uFF0C\u628A Lean \u8BCA\u65AD\u4EA4\u8FD8\u7814\u7A76\u8FC7\u7A0B\u3002\u5C40\u90E8\u68C0\u67E5\u4E4B\u540E\uFF0C\u96C6\u6210\u7ED3\u679C\u4ECD\u9700\u63A5\u53D7\u5B8C\u6574\u539F\u9898\u7684\u72EC\u7ACB\u9A8C\u6536\u3002",input:"\u56FA\u5B9A\u9898\u76EE \xB7 \u5019\u9009\u6E90\u7801 \xB7 \u68C0\u67E5\u73AF\u5883",output:"\u7ED1\u5B9A\u6E90\u7801\u6458\u8981\u7684\u68C0\u67E5\u4E0E\u8BCA\u65AD"},m3:{contract:"M3 \xB7 \u641C\u7D22\u51B3\u7B56",title:"\u51B3\u5B9A\u4E0B\u4E00\u6B65\u505A\u4EC0\u4E48",description:"\u4ECE\u5C31\u7EEA\u4EFB\u52A1\u4E2D\u9009\u62E9\u4E0B\u4E00\u6B65\uFF0C\u7ED3\u5408\u7814\u7A76\u8DEF\u7EBF\u548C\u5171\u4EAB\u9884\u7B97\uFF0C\u51B3\u5B9A\u7EE7\u7EED\u3001\u91CD\u8BD5\u6216\u505C\u6B62\u3002",input:"\u7814\u7A76\u72B6\u6001 \xB7 \u5019\u9009\u64CD\u4F5C \xB7 \u5171\u4EAB\u9884\u7B97",output:"\u4E0B\u4E00\u6B65\u64CD\u4F5C \xB7 \u6709\u5E8F\u5C31\u7EEA\u4EFB\u52A1"},m4:{contract:"M4 \xB7 \u4E0A\u4E0B\u6587\u63A5\u53E3",title:"\u9009\u62E9\u7814\u7A76\u4E0A\u4E0B\u6587",description:"\u4ECE\u9898\u76EE\u3001\u5DF2\u6709\u6210\u679C\u4E0E\u5931\u8D25\u8BB0\u5F55\u4E2D\u6574\u7406\u4E0A\u4E0B\u6587\u3002\u6BD4\u8F83\u4FE1\u606F\u9009\u62E9\u3001\u4E0A\u4E0B\u6587\u538B\u7F29\u548C\u68C0\u7D22\u7B56\u7565\u3002",input:"\u9898\u76EE \xB7 \u5F53\u524D\u4EFB\u52A1 \xB7 \u53EF\u89C1\u8BC1\u636E",output:"\u5E26\u6765\u6E90\u8EAB\u4EFD\u7684\u4E0A\u4E0B\u6587\u5305"},m5:{contract:"M5 \xB7 \u534F\u4F5C\u590D\u7528\u63A5\u53E3",title:"\u5206\u5DE5\u4E0E\u590D\u7528\u8BC1\u660E",description:"\u7EC4\u7EC7\u9694\u79BB\u5DE5\u4F5C\u533A\u3001\u4EFB\u52A1\u5206\u914D\u4E0E\u72EC\u7ACB\u5BA1\u9605\u3002\u6BD4\u8F83\u5355 Agent\u3001\u72EC\u7ACB\u5E76\u884C\u4E0E\u4EFB\u52A1\u534F\u4F5C\u7684\u7814\u7A76\u65B9\u6CD5\u3002",input:"\u5C31\u7EEA\u4EFB\u52A1 \xB7 Worker \xB7 \u8DEF\u7EBF\u7EA6\u675F",output:"\u5DE5\u4F5C\u533A\u914D\u7F6E \xB7 \u4EFB\u52A1\u4E0E\u5BA1\u9605\u5206\u914D"}},en:{m1:{contract:"M1 \xB7 Proof construction",title:"Build and repair candidates",description:"Calls a model session to build and repair Lean candidates in an isolated workspace. Study your generation method, prompts and repair strategy.",input:"Statement \xB7 context \xB7 operation \xB7 model session",output:"Candidate record \xB7 proof in the workspace"},m2:{contract:"M2 \xB7 Check feedback",title:"Inspect Lean diagnostics",description:"Checks candidates and helper proofs and returns Lean diagnostics to the research process. After local checks, the integrated result still has to pass independent verification of the full original statement.",input:"Fixed statement \xB7 candidate source \xB7 check environment",output:"Checks and diagnostics bound to a source digest"},m3:{contract:"M3 \xB7 Search",title:"Choose the next task",description:"Select ready tasks and decide whether to continue, retry or stop within route constraints and a shared budget.",input:"Research state \xB7 candidate operations \xB7 shared budget",output:"Next operation \xB7 ordered ready tasks"},m4:{contract:"M4 \xB7 Context",title:"Select the research context",description:"Assembles context from the statement, earlier results and failure records. Compare information selection, context compression and retrieval strategies.",input:"Statement \xB7 current task \xB7 visible evidence",output:"Context bundle with source identities"},m5:{contract:"M5 \xB7 Collaboration and reuse",title:"Assign tasks and review results",description:"Organizes isolated workspaces, task assignment and independent review. Compare single-agent, independent parallel and task-collaboration methods.",input:"Ready tasks \xB7 workers \xB7 route constraints",output:"Workspace configuration \xB7 task and review assignment"}}}[_e],er=matchMedia("(max-width: 600px)"),Ra=Array.from(document.querySelectorAll("[data-component]")),ms=Zt(L(".component-tabs"),jt),Ba=Array.from(document.querySelectorAll("[data-graph-component]")),cs=Array.from(document.querySelectorAll("[data-graph-from]")),ci={zh:{m1:"M1 \u2192 M2 \xB7 \u5019\u9009\u8BC1\u660E\u4EA4\u7ED9 Lean \u68C0\u67E5\u3002",m2:"M2 \u2192 M3 \xB7 \u8BCA\u65AD\u53CD\u9988\u7528\u4E8E\u4E0B\u4E00\u8F6E\u51B3\u7B56\uFF0C\u96C6\u6210\u7ED3\u679C\u4EA4\u7ED9 S3 \u72EC\u7ACB\u9A8C\u6536\u3002",m3:"M3 \u2192 M4 \xB7 \u6839\u636E\u5C31\u7EEA\u4EFB\u52A1\uFF0C\u6574\u7406\u4E0B\u4E00\u6B65\u6240\u9700\u7684\u4E0A\u4E0B\u6587\u3002",m4:"M4 \u2192 M1 \xB7 \u5C06\u5E26\u6765\u6E90\u7684\u4E0A\u4E0B\u6587\u4EA4\u7ED9\u8BC1\u660E\u6784\u9020\u3002",m5:"M5 \xB7 \u4E3A\u7814\u7A76\u5FAA\u73AF\u5206\u914D\u4EFB\u52A1\u3001\u9694\u79BB\u5DE5\u4F5C\u533A\u4E0E\u72EC\u7ACB\u5BA1\u9605\u3002"},en:{m1:"M1 \u2192 M2 \xB7 Lean checks the candidate proof.",m2:"M2 \u2192 M3 \xB7 Diagnostics guide the next decision. The integrated proof goes to S3.",m3:"M3 \u2192 M4 \xB7 Ready tasks guide the context selection.",m4:"M4 \u2192 M1 \xB7 Context with source identities informs proof construction.",m5:"M5 \xB7 Assign tasks, isolated workspaces and independent review across the research loop."}}[_e];function bt(f,e=!1){let t=mi[f];if(!t)return;let r=L("#component-panel").getAttribute("aria-labelledby")!==`tab-${f}`;for(let a of Ra){let o=a.dataset.component===f;a.setAttribute("aria-selected",String(o)),a.tabIndex=o?0:-1,o&&e&&a.focus()}L("#component-panel").setAttribute("aria-labelledby",`tab-${f}`);for(let[a,o]of Object.entries({kicker:t.contract,title:t.title,description:t.description,input:t.input,output:t.output}))L(`#module-${a}`).textContent=o;for(let a of Ba)a.setAttribute("aria-pressed",String(a.dataset.graphComponent===f));for(let a of cs){let o=a.dataset.graphFrom===f||a.dataset.graphTo===f;a.dataset.active=String(o),a.setAttribute("marker-end",`url(#module-graph-arrow${o?"-active":""})`)}L("#module-graph-route").textContent=ci[f],ms.update(),r&&ds([L(".module-details")])}Ra.forEach(f=>f.addEventListener("click",()=>bt(f.dataset.component)));function Fa(f,e,t){let r=e.indexOf(f.target);if(r<0)return;let a;if(["ArrowRight","ArrowDown"].includes(f.key))a=(r+1)%e.length;else if(["ArrowLeft","ArrowUp"].includes(f.key))a=(r-1+e.length)%e.length;else if(f.key==="Home")a=0;else if(f.key==="End")a=e.length-1;else return;f.preventDefault(),t(e[a])}for(let f of Ba)f.disabled=!1,f.addEventListener("click",()=>bt(f.dataset.graphComponent));L(".module-graph").addEventListener("keydown",f=>Fa(f,Ba,e=>{bt(e.dataset.graphComponent),e.focus({preventScroll:!0}),e.scrollIntoView({block:"nearest",inline:"nearest",behavior:"instant"})}));var Oa=L(".module-graph-canvas"),is=Oa.querySelector(".module-graph-edges");function Ea(){let f=Oa.getBoundingClientRect();if(!f.width||!f.height)return;let e=t=>{let a=L(t==="s3"?'[data-graph-terminal="s3"]':`[data-graph-component="${t}"]`).getBoundingClientRect();return{left:a.left-f.left,right:a.right-f.left,top:a.top-f.top,bottom:a.bottom-f.top,x:a.left+a.width/2-f.left,y:a.top+a.height/2-f.top}};is.setAttribute("viewBox",`0 0 ${f.width} ${f.height}`);for(let t of cs){let r=t.dataset.graphFrom,a=t.dataset.graphTo,o=e(r),s=e(a),i;if(r==="m5")i=`M ${s.x} ${o.bottom+7} V ${s.top-9}`;else if(a==="s3")i=`M ${o.x} ${o.bottom+7} V ${s.top-9}`;else if(r==="m3"&&a==="m4"||r==="m1"&&a==="m2"){let l=s.x>o.x;i=`M ${l?o.right+7:o.left-7} ${o.y} H ${l?s.left-9:s.right+9}`}else{let l=s.y>o.y;i=`M ${o.x} ${l?o.bottom+7:o.top-7} V ${l?s.top-9:s.bottom+9}`}t.setAttribute("d",i)}is.dataset.ready="true"}new ResizeObserver(Ea).observe(Oa);document.fonts.ready.then(Ea);bt("m3");var xi={zh:{modules:{label:"\u6A21\u5757\u56FE\u8C31",caption:"\u51B3\u7B56\u7EC4\u4EF6\u4E0E\u72EC\u7ACB\u9A8C\u6536"},library:{label:"\u65B9\u6848\u5E93",caption:"Mathlib \u4EE3\u6570\u7814\u7A76 \xB7 2 \u9879\u81EA\u5B9A\u4E49\u7B56\u7565"}},en:{modules:{label:"Module map",caption:"Research modules and independent verification"},library:{label:"Strategy library",caption:"Mathlib algebra study \xB7 2 custom strategies"}}}[_e],qa=Array.from(document.querySelectorAll("[data-module-preview]")),hi=L("#module-preview-panel"),Da=L(".module-preview-link"),Jt="modules";function tr(f,e=!1){let t=xi[f],r=Jt!==f;Jt=f;for(let o of qa){let s=o.dataset.modulePreview===f;o.setAttribute("aria-selected",String(s)),o.tabIndex=s?0:-1,s&&e&&o.focus({preventScroll:!0})}hi.setAttribute("aria-labelledby",`module-preview-tab-${f}`),L(".module-graph").hidden=f!=="modules",L(".module-library").hidden=f!=="library";let a=_e==="en"?"-en":"";Da.href=`${di}assets/workbench-library-${er.matches?"mobile":"desktop"}${a}.png`,L("#module-preview-caption").textContent=t.caption,f==="modules"&&Ea(),r&&ds([L(f==="modules"?".module-graph":".module-library")],6)}L(".module-preview-tabs").hidden=!1;qa.forEach(f=>f.addEventListener("click",()=>tr(f.dataset.modulePreview)));L(".module-preview-tabs").addEventListener("keydown",f=>Fa(f,qa,e=>tr(e.dataset.modulePreview,!0)));er.addEventListener("change",()=>tr(Jt));tr(Jt);ts(_e);rs(_e);L("[data-decision-continue]").addEventListener("click",f=>{f.button!==0||f.metaKey||f.ctrlKey||f.shiftKey||f.altKey||L('[data-replay-stage="candidate"]').click()});var gi=L(".proof-list"),Pt=L("#proof-register-dialog"),xs=L(".proof-register-open");L(".proof-register-content").append(gi);xs.hidden=!1;function rr(){document.documentElement.classList.toggle("preview-open",Pt.open||L("#workbench-dialog").open)}function hs(f){f.addEventListener("click",e=>{if(e.target!==f)return;let t=f.getBoundingClientRect();(e.clientX<t.left||e.clientX>t.right||e.clientY<t.top||e.clientY>t.bottom)&&f.close()})}xs.addEventListener("click",()=>{Pt.showModal(),rr()});L(".proof-register-close").addEventListener("click",()=>Pt.close());Pt.addEventListener("close",rr);hs(Pt);jt.addEventListener("change",()=>{Qt.size&&(E.killTweensOf([...Qt]),E.set([...Qt],{clearProps:"opacity,transform"}))});L(".component-tabs").addEventListener("keydown",f=>Fa(f,Ra,e=>bt(e.dataset.component,!0)));var gs=matchMedia("(max-width: 900px)"),_s=()=>{L(".component-tabs").setAttribute("aria-orientation",gs.matches?"horizontal":"vertical")};_s();gs.addEventListener("change",_s);var _i=document.querySelector(".workbench-image-link"),kt=L("#workbench-dialog"),q=L(".preview-dialog-media"),wt=L(".preview-zoom"),ls=L(".source-fragment a"),Ha=[{link:_i,picture:q.querySelector("picture"),description:L("#preview-description").textContent},{link:ls,picture:ls.querySelector("picture"),description:_e==="zh"?"Lean \u6E90\u7801\u4E0E\u8BCA\u65AD":"Lean source and diagnostics"},{link:Da,picture:Da.querySelector("picture"),description:_e==="zh"?"\u6A21\u5757\u65B9\u6848\u5E93":"Research component library"}].filter(item=>item.link),Cs=Ha[0],Ua=()=>{for(let f of Ha){let e=er.matches?f.picture.querySelector("source")?.getAttribute("srcset"):void 0;f.link.setAttribute("href",e||f.picture.querySelector("img").getAttribute("src"))}L(".preview-original").setAttribute("href",Cs.link.getAttribute("href"))};Ua();er.addEventListener("change",Ua);function ys(f){let e=f?2:.5,t=(q.scrollLeft+q.clientWidth/2)*e-q.clientWidth/2,r=(q.scrollTop+q.clientHeight/2)*e-q.clientHeight/2;q.classList.toggle("is-zoomed",f),wt.setAttribute("aria-pressed",String(f)),wt.setAttribute("aria-label",f?ot.fit:ot.zoom),wt.title=f?ot.fit:ot.zoom,requestAnimationFrame(()=>q.scrollTo({left:f?t:0,top:f?r:0}))}for(let f of Ha)f.link.addEventListener("click",e=>{if(!kt.showModal||e.button!==0||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey)return;e.preventDefault(),Cs=f;let t=f.picture.cloneNode(!0),r=t.querySelector("img");r.loading="eager",q.replaceChildren(t),q.setAttribute("aria-label",r.alt),L("#preview-description").textContent=f.description,Ua(),ys(!1),kt.showModal(),q.scrollTo({left:0,top:0}),rr()});wt.addEventListener("click",()=>ys(wt.getAttribute("aria-pressed")!=="true"));L(".preview-close").addEventListener("click",()=>kt.close());kt.addEventListener("close",rr);hs(kt);var Fe;q.addEventListener("pointerdown",f=>{f.pointerType!=="mouse"||f.button!==0||!q.classList.contains("is-zoomed")||(f.preventDefault(),Fe={pointer:f.pointerId,x:f.clientX,y:f.clientY,left:q.scrollLeft,top:q.scrollTop},q.setPointerCapture(f.pointerId),q.classList.add("is-panning"))});q.addEventListener("pointermove",f=>{!Fe||Fe.pointer!==f.pointerId||(q.scrollLeft=Fe.left+Fe.x-f.clientX,q.scrollTop=Fe.top+Fe.y-f.clientY)});q.addEventListener("pointerup",f=>{q.hasPointerCapture(f.pointerId)&&q.releasePointerCapture(f.pointerId)});q.addEventListener("lostpointercapture",()=>{Fe=void 0,q.classList.remove("is-panning")});var vt=L(".menu-toggle"),ar=L("#mobile-nav");function st(f,e=!1){vt.setAttribute("aria-expanded",String(f)),vt.setAttribute("aria-label",f?ot.closeMenu:ot.openMenu),ar.hidden=!f,e&&vt.focus()}vt.addEventListener("click",()=>st(vt.getAttribute("aria-expanded")!=="true"));ar.addEventListener("click",f=>{f.target.closest("a")&&st(!1)});document.addEventListener("keydown",f=>{f.key==="Escape"&&!ar.hidden&&st(!1,!0)});document.addEventListener("click",f=>{!f.target.closest(".site-header")&&!ar.hidden&&st(!1)});var ns=L(".site-header");ns.addEventListener("focusout",f=>{ns.contains(f.relatedTarget)||st(!1)});var us=matchMedia("(min-width: 901px)");us.addEventListener("change",()=>{us.matches&&st(!1)});var za=[ms];document.addEventListener("visibilitychange",()=>{document.hidden&&za.forEach(f=>f.update(!1))});window.addEventListener("pagehide",f=>za.forEach(e=>{f.persisted?e.update(!1):e.destroy()}));window.addEventListener("pageshow",()=>za.forEach(f=>f.update(!1)));ss();document.documentElement.dataset.landingReady="true";})();
/*! Bundled license information:
lucide/dist/esm/defaultAttributes.mjs:
lucide/dist/esm/createElement.mjs:
lucide/dist/esm/shared/src/utils/mergeClasses.mjs:
lucide/dist/esm/shared/src/utils/hasA11yProp.mjs:
lucide/dist/esm/shared/src/utils/toCamelCase.mjs:
lucide/dist/esm/shared/src/utils/toPascalCase.mjs:
lucide/dist/esm/replaceElement.mjs:
lucide/dist/esm/icons/arrow-down-right.mjs:
lucide/dist/esm/icons/arrow-down.mjs:
lucide/dist/esm/icons/arrow-right.mjs:
lucide/dist/esm/icons/arrow-up-right.mjs:
lucide/dist/esm/icons/blocks.mjs:
lucide/dist/esm/icons/check.mjs:
lucide/dist/esm/icons/chevron-down.mjs:
lucide/dist/esm/icons/chevron-left.mjs:
lucide/dist/esm/icons/chevron-right.mjs:
lucide/dist/esm/icons/clock.mjs:
lucide/dist/esm/icons/code-xml.mjs:
lucide/dist/esm/icons/copy.mjs:
lucide/dist/esm/icons/download.mjs:
lucide/dist/esm/icons/external-link.mjs:
lucide/dist/esm/icons/file-braces-corner.mjs:
lucide/dist/esm/icons/file-check-corner.mjs:
lucide/dist/esm/icons/file-code-corner.mjs:
lucide/dist/esm/icons/files.mjs:
lucide/dist/esm/icons/flask-conical.mjs:
lucide/dist/esm/icons/folder-open.mjs:
lucide/dist/esm/icons/git-fork.mjs:
lucide/dist/esm/icons/globe.mjs:
lucide/dist/esm/icons/info.mjs:
lucide/dist/esm/icons/key-round.mjs:
lucide/dist/esm/icons/maximize-2.mjs:
lucide/dist/esm/icons/menu.mjs:
lucide/dist/esm/icons/network.mjs:
lucide/dist/esm/icons/pause.mjs:
lucide/dist/esm/icons/play.mjs:
lucide/dist/esm/icons/plus.mjs:
lucide/dist/esm/icons/rotate-ccw-clock.mjs:
lucide/dist/esm/icons/rotate-ccw.mjs:
lucide/dist/esm/icons/scan-line.mjs:
lucide/dist/esm/icons/shield-check.mjs:
lucide/dist/esm/icons/wallet.mjs:
lucide/dist/esm/icons/x.mjs:
lucide/dist/esm/icons/zoom-in.mjs:
lucide/dist/esm/icons/zoom-out.mjs:
lucide/dist/esm/lucide.mjs:
(**
* @license lucide v1.57.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*)
gsap/gsap-core.js:
(*!
* GSAP 3.15.0
* https://gsap.com
*
* @license Copyright 2008-2026, GreenSock. All rights reserved.
* Subject to the terms at https://gsap.com/standard-license
* @author: Jack Doyle, jack@greensock.com
*)
gsap/CSSPlugin.js:
(*!
* CSSPlugin 3.15.0
* https://gsap.com
*
* Copyright 2008-2026, GreenSock. All rights reserved.
* Subject to the terms at https://gsap.com/standard-license
* @author: Jack Doyle, jack@greensock.com
*)
*/
(function(){const u=matchMedia("(prefers-reduced-motion: reduce)");function w(){const t=document.querySelector("[data-proof-stage]");if(!t)return;const a=t.querySelector(".proof-stage-canvas");if(!a)return;const f=e=>t.style.setProperty("--stage-scale",String(e/1120));f(t.getBoundingClientRect().width),typeof ResizeObserver=="function"?new ResizeObserver(e=>e.forEach(s=>f(s.contentRect.width))).observe(t):window.addEventListener("resize",()=>f(t.getBoundingClientRect().width));const y=Array.from(a.querySelectorAll("[data-step]")),h=Array.from(a.querySelectorAll(".proof-node")).map(e=>({node:e,start:Number(e.dataset.start??e.dataset.step??0),step:Number(e.dataset.step??0),fail:Number(e.dataset.fail??-1),done:Number(e.dataset.done??e.dataset.step??0)})),g=a.querySelector("[data-tab-count]"),m=e=>{t.dataset.step=String(e),y.forEach(l=>{l.hidden=Number(l.dataset.step)>e});let s=0;h.forEach(({node:l,start:L,fail:p,done:S})=>{const v=e>=S?"done":e>=p&&p>0?"failed":e>=L?"running":"waiting";l.dataset.state=v,v==="done"&&(s+=1)}),g&&(g.textContent=`${s}/${h.length}`)},n=[[900,1],[1100,2],[1200,3],[1400,4],[1200,5],[1300,6]],E=n[n.length-1][1];let i=0,r=0,o=!1,c=!1;const b=()=>{i=0,m(n[r++][1]),r<n.length?i=window.setTimeout(b,n[r][0]):c=!0},d=()=>{if(clearTimeout(i),i=0,u.matches){t.classList.remove("is-prepared"),m(E),r=n.length,c=!0;return}c||(r===0&&(t.classList.add("is-prepared"),m(0)),o&&!document.hidden&&r<n.length&&(i=window.setTimeout(b,n[r][0])))};u.addEventListener("change",()=>{u.matches||(c=!1,r=0),d()}),document.addEventListener("visibilitychange",d),"IntersectionObserver"in window?new IntersectionObserver(e=>{const s=e[0].isIntersecting&&e[0].intersectionRatio>=.25;s!==o&&(o=s,d())},{threshold:.25}).observe(t):o=!0,d()}w()})();
// Keep the first-screen declaration compact on phones; the disclosure stays user-controlled.
(() => {
const source = document.querySelector('[data-hero-source]');
if (!source) return;
const phone = window.matchMedia('(max-width: 600px)');
const syncSource = () => { source.open = !phone.matches; };
syncSource();
phone.addEventListener('change', syncSource);
})();