@alook/app 0.0.123 → 0.0.124
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundled/web/.open-next/.build/durable-objects/queue.js +5 -5
- package/bundled/web/.open-next/assets/BUILD_ID +1 -1
- package/bundled/web/.open-next/assets/_next/static/chunks/0b0bf61oxocmd.js +1 -0
- package/bundled/web/.open-next/assets/_next/static/chunks/0hy07ql5hqe_e.js +1 -0
- package/bundled/web/.open-next/assets/_next/static/chunks/0ix7g0wppe7ap.js +1 -0
- package/bundled/web/.open-next/assets/_next/static/chunks/{1mx37r05ln6g1.js → 1-jzxwxd2yppa.js} +2 -2
- package/bundled/web/.open-next/assets/_next/static/chunks/{2h5i0w9yjtehx.js → 17ewotvd7-nyl.js} +25 -25
- package/bundled/web/.open-next/assets/_next/static/chunks/1ftpvvqesj-9s.js +3 -0
- package/bundled/web/.open-next/assets/_next/static/chunks/24uei2njvsgf4.js +1 -0
- package/bundled/web/.open-next/assets/_next/static/chunks/{18gk2x7nnxbqe.js → 2bsr3n9nxv0sc.js} +3 -3
- package/bundled/web/.open-next/assets/_next/static/chunks/{1f1919o6u7ie4.js → 2fgjbyei3irh0.js} +2 -2
- package/bundled/web/.open-next/assets/_next/static/chunks/2v94k7fybopcq.css +1 -0
- package/bundled/web/.open-next/assets/_next/static/chunks/40cggm_5dua8j.js +3 -0
- package/bundled/web/.open-next/cache/{p7dPVZmAMrsESYaje5GVD → LNMccyS5SZzzNBkt0dM4K}/_global-error.cache +1 -1
- package/bundled/web/.open-next/cache/{p7dPVZmAMrsESYaje5GVD → LNMccyS5SZzzNBkt0dM4K}/_not-found.cache +1 -1
- package/bundled/web/.open-next/cache/{p7dPVZmAMrsESYaje5GVD → LNMccyS5SZzzNBkt0dM4K}/device.cache +1 -1
- package/bundled/web/.open-next/cache/{p7dPVZmAMrsESYaje5GVD → LNMccyS5SZzzNBkt0dM4K}/privacy.cache +1 -1
- package/bundled/web/.open-next/cache/{p7dPVZmAMrsESYaje5GVD → LNMccyS5SZzzNBkt0dM4K}/sitemap.xml.cache +1 -1
- package/bundled/web/.open-next/cloudflare/cache-assets-manifest.sql +1 -1
- package/bundled/web/.open-next/cloudflare/init.js +1 -1
- package/bundled/web/.open-next/dynamodb-provider/dynamodb-cache.json +1 -1
- package/bundled/web/.open-next/middleware/handler.mjs +3 -3
- package/bundled/web/.open-next/server-functions/default/src/web/.next/BUILD_ID +1 -1
- package/bundled/web/.open-next/server-functions/default/src/web/.next/build-manifest.json +3 -3
- package/bundled/web/.open-next/server-functions/default/src/web/.next/prerender-manifest.json +3 -3
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/app/(app)/invite/[token]/page_client-reference-manifest.js +1 -1
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/app/(app)/studio/new/page_client-reference-manifest.js +1 -1
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/app/(app)/w/[slug]/agents/[id]/activity/page_client-reference-manifest.js +1 -1
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/app/(app)/w/[slug]/agents/[id]/chat/[convId]/page_client-reference-manifest.js +1 -1
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/app/(app)/w/[slug]/agents/[id]/chat/page_client-reference-manifest.js +1 -1
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/app/(app)/w/[slug]/agents/[id]/email/page_client-reference-manifest.js +1 -1
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/app/(app)/w/[slug]/agents/[id]/files/page_client-reference-manifest.js +1 -1
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/app/(app)/w/[slug]/agents/[id]/meetings/page_client-reference-manifest.js +1 -1
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/app/(app)/w/[slug]/agents/[id]/page_client-reference-manifest.js +1 -1
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/app/(app)/w/[slug]/agents/new/page_client-reference-manifest.js +1 -1
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/app/(app)/w/[slug]/agents/page_client-reference-manifest.js +1 -1
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/app/(app)/w/[slug]/calendar/page_client-reference-manifest.js +1 -1
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/app/(app)/w/[slug]/flags/page_client-reference-manifest.js +1 -1
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/app/(app)/w/[slug]/help/email-setup/page_client-reference-manifest.js +1 -1
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/app/(app)/w/[slug]/home/page_client-reference-manifest.js +1 -1
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/app/(app)/w/[slug]/issues/page_client-reference-manifest.js +1 -1
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/app/(app)/w/[slug]/page_client-reference-manifest.js +1 -1
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/app/(app)/w/[slug]/runtimes/page_client-reference-manifest.js +1 -1
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/app/(app)/w/[slug]/settings/page_client-reference-manifest.js +1 -1
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/app/(app)/w/[slug]/threads/[traceId]/page_client-reference-manifest.js +1 -1
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/app/(app)/w/[slug]/threads/page_client-reference-manifest.js +1 -1
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/app/(app)/w/[slug]/unread/page_client-reference-manifest.js +1 -1
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/app/(app)/workspaces/page_client-reference-manifest.js +1 -1
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/app/(auth)/sign-in/page_client-reference-manifest.js +1 -1
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/app/device/page_client-reference-manifest.js +1 -1
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/app/page_client-reference-manifest.js +1 -1
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/app/privacy/page_client-reference-manifest.js +1 -1
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/app/templates/[id]/page_client-reference-manifest.js +1 -1
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/app/templates/page_client-reference-manifest.js +1 -1
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/[turbopack]_runtime.js +12 -12
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/ssr/{[root-of-the-server]__0am_4wb._.js → [root-of-the-server]__0h57d-t._.js} +2 -2
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/ssr/{[root-of-the-server]__1-8w6mo._.js → [root-of-the-server]__0h_is3c._.js} +2 -2
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/ssr/[root-of-the-server]__1efy1ql._.js +3 -0
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/ssr/[turbopack]_runtime.js +12 -12
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/ssr/_0ank6h0._.js +3 -0
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/ssr/_0h4t18a._.js +3 -0
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/ssr/_0pnr14d._.js +65 -0
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/ssr/_15s-tjk._.js +3 -0
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/ssr/{_0cw18c9._.js → _17uno5p._.js} +2 -2
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/ssr/{src_web_src_components_avatar_0hmu31-._.js → _1_l18p2._.js} +2 -2
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/ssr/{_0wtkjzl._.js → _1xq5127._.js} +2 -2
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/ssr/node_modules__pnpm_1jq1kez._.js +3 -0
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/ssr/src_web_src_1gzvmep._.js +3 -0
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/ssr/src_web_src_1sy648u._.js +1 -1
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/ssr/src_web_src_components_home_home-page_tsx_1e1vr_i._.js +1 -1
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/middleware-build-manifest.js +3 -3
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/middleware-manifest.json +5 -5
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/server-reference-manifest.js +1 -1
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/server-reference-manifest.json +1 -1
- package/bundled/web/.open-next/server-functions/default/src/web/handler.mjs +43 -43
- package/bundled/web/.open-next/server-functions/default/src/web/handler.mjs.meta.json +161 -161
- package/bundled/web/.open-next/server-functions/default/src/web/index.mjs +3 -3
- package/package.json +1 -1
- package/bundled/web/.open-next/assets/_next/static/chunks/08_59eymmivc3.css +0 -1
- package/bundled/web/.open-next/assets/_next/static/chunks/0q121fbd7g_tm.js +0 -1
- package/bundled/web/.open-next/assets/_next/static/chunks/1hysx7io25oee.js +0 -3
- package/bundled/web/.open-next/assets/_next/static/chunks/20ufhzii8j1s-.js +0 -3
- package/bundled/web/.open-next/assets/_next/static/chunks/31l_dqaqpowsj.js +0 -1
- package/bundled/web/.open-next/assets/_next/static/chunks/3c8i7pzls-plb.js +0 -1
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/ssr/[root-of-the-server]__015bdc7._.js +0 -3
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/ssr/_08f25id._.js +0 -3
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/ssr/_1fplcoj._.js +0 -65
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/ssr/_1q2gs7z._.js +0 -3
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/ssr/_1rpi0ih._.js +0 -3
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/ssr/node_modules__pnpm_0b17d5w._.js +0 -3
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/ssr/node_modules__pnpm_1xmk7_g._.js +0 -3
- /package/bundled/web/.open-next/assets/_next/static/{p7dPVZmAMrsESYaje5GVD → LNMccyS5SZzzNBkt0dM4K}/_buildManifest.js +0 -0
- /package/bundled/web/.open-next/assets/_next/static/{p7dPVZmAMrsESYaje5GVD → LNMccyS5SZzzNBkt0dM4K}/_clientMiddlewareManifest.js +0 -0
- /package/bundled/web/.open-next/assets/_next/static/{p7dPVZmAMrsESYaje5GVD → LNMccyS5SZzzNBkt0dM4K}/_ssgManifest.js +0 -0
- /package/bundled/web/.open-next/cache/{p7dPVZmAMrsESYaje5GVD → LNMccyS5SZzzNBkt0dM4K}/robots.txt.cache +0 -0
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,855062,e=>{"use strict";var t=e.i(511043);e.s(["useLocalStorage",0,function(e,n){let[r,s]=(0,t.useState)(n);return(0,t.useLayoutEffect)(()=>{try{let t=localStorage.getItem(e);t&&s(JSON.parse(t))}catch{}},[e]),[r,(0,t.useCallback)(t=>{s(n=>{let r=t instanceof Function?t(n):t;try{localStorage.setItem(e,JSON.stringify(r))}catch{}return r})},[e])]}])},646769,e=>{"use strict";let t=(0,e.i(419412).default)("monitor",[["rect",{width:"20",height:"14",x:"2",y:"3",rx:"2",key:"48i651"}],["line",{x1:"8",x2:"16",y1:"21",y2:"21",key:"1svkeh"}],["line",{x1:"12",x2:"12",y1:"17",y2:"21",key:"vw1qmm"}]]);e.s(["Monitor",0,t],646769)},758870,e=>{"use strict";let t=(0,e.i(419412).default)("refresh-cw",[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]]);e.s(["RefreshCw",0,t],758870)},345262,e=>{"use strict";let t=(0,e.i(419412).default)("arrow-up-right",[["path",{d:"M7 7h10v10",key:"1tivn9"}],["path",{d:"M7 17 17 7",key:"1vkiza"}]]);e.s(["ArrowUpRight",0,t],345262)},947308,e=>{"use strict";let t=(0,e.i(419412).default)("plus",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]]);e.s(["Plus",0,t],947308)},813141,e=>{"use strict";let t=(0,e.i(419412).default)("trash-2",[["path",{d:"M10 11v6",key:"nco0om"}],["path",{d:"M14 11v6",key:"outv1u"}],["path",{d:"M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6",key:"miytrc"}],["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2",key:"e791ji"}]]);e.s(["Trash2",0,t],813141)},922833,e=>{"use strict";var t=e.i(511043),n=e.i(489648),r=e.i(384265),s=e.i(657614);e.s(["useCompositeItem",0,function(e={}){let{highlightItemOnHover:i,highlightedIndex:a,onHighlightedIndexChange:l}=(0,r.useCompositeRootContext)(),{ref:o,index:u}=(0,s.useCompositeListItem)(e),d=a===u,c=t.useRef(null),f=(0,n.useMergedRefs)(o,c);return{compositeProps:t.useMemo(()=>({tabIndex:d?0:-1,onFocus(){l(u)},onMouseMove(){let e=c.current;if(!i||!e)return;let t=e.hasAttribute("disabled")||"true"===e.ariaDisabled;d||t||e.focus()}}),[d,l,u,i]),compositeRef:f,index:u}}])},988232,655940,389007,150225,e=>{"use strict";var t=e.i(653772),n=e.i(511043),r=e.i(947308);let s=(0,e.i(419412).default)("pencil",[["path",{d:"M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z",key:"1a8usu"}],["path",{d:"m15 5 4 4",key:"1mk7zo"}]]);e.s(["Pencil",0,s],655940);var i=e.i(813141),a=e.i(945074),l=e.i(540255),o=e.i(97867);let u=e=>{let{transform:t}=e;return{...t,y:0}};function d(e,t,n){let r=e.slice();return r.splice(n<0?r.length+n:n,0,r.splice(t,1)[0]),r}function c(e){return null!==e&&e>=0}e.s(["restrictToHorizontalAxis",0,u,"restrictToVerticalAxis",0,e=>{let{transform:t}=e;return{...t,x:0}}],389007);let f={scaleX:1,scaleY:1},h=e=>{var t,n,r,s;let i,a,l,{rects:o,activeNodeRect:u,activeIndex:d,overIndex:c,index:h}=e,m=null!=(t=o[d])?t:u;if(!m)return null;let p=(n=o,r=h,s=d,i=n[r],a=n[r-1],l=n[r+1],i&&(a||l)?s<r?a?i.left-(a.left+a.width):l.left-(i.left+i.width):l?l.left-(i.left+i.width):i.left-(a.left+a.width):0);if(h===d){let e=o[c];return e?{x:d<c?e.left+e.width-(m.left+m.width):e.left-m.left,y:0,...f}:null}return h>d&&h<=c?{x:-m.width-p,y:0,...f}:h<d&&h>=c?{x:m.width+p,y:0,...f}:{x:0,y:0,...f}},m=e=>{let{rects:t,activeIndex:n,overIndex:r,index:s}=e,i=d(t,r,n),a=t[s],l=i[s];return l&&a?{x:l.left-a.left,y:l.top-a.top,scaleX:l.width/a.width,scaleY:l.height/a.height}:null},p={scaleX:1,scaleY:1},g="Sortable",v=n.default.createContext({activeIndex:-1,containerId:g,disableTransforms:!1,items:[],overIndex:-1,useDragOverlay:!1,sortedRects:[],strategy:m,disabled:{draggable:!1,droppable:!1}});function x(e){let{children:t,id:r,items:s,strategy:i=m,disabled:a=!1}=e,{active:u,dragOverlay:d,droppableRects:c,over:f,measureDroppableContainers:h}=(0,l.useDndContext)(),p=(0,o.useUniqueId)(g,r),x=null!==d.rect,b=(0,n.useMemo)(()=>s.map(e=>"object"==typeof e&&"id"in e?e.id:e),[s]),y=null!=u,j=u?b.indexOf(u.id):-1,k=f?b.indexOf(f.id):-1,w=(0,n.useRef)(b),C=!function(e,t){if(e===t)return!0;if(e.length!==t.length)return!1;for(let n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}(b,w.current),_=-1!==k&&-1===j||C,P="boolean"==typeof a?{draggable:a,droppable:a}:a;(0,o.useIsomorphicLayoutEffect)(()=>{C&&y&&h(b)},[C,b,y,h]),(0,n.useEffect)(()=>{w.current=b},[b]);let S=(0,n.useMemo)(()=>({activeIndex:j,containerId:p,disabled:P,disableTransforms:_,items:b,overIndex:k,useDragOverlay:x,sortedRects:b.reduce((e,t,n)=>{let r=c.get(t);return r&&(e[n]=r),e},Array(b.length)),strategy:i}),[j,p,P.draggable,P.droppable,_,b,k,c,x,i]);return n.default.createElement(v.Provider,{value:S},t)}let b=e=>{let{id:t,items:n,activeIndex:r,overIndex:s}=e;return d(n,r,s).indexOf(t)},y=e=>{let{containerId:t,isSorting:n,wasDragging:r,index:s,items:i,newIndex:a,previousItems:l,previousContainerId:o,transition:u}=e;return!!u&&!!r&&(l===i||s!==a)&&(!!n||a!==s&&t===o)},j={duration:200,easing:"ease"},k="transform",w=o.CSS.Transition.toString({property:k,duration:0,easing:"linear"}),C={roleDescription:"sortable"};function _(e){var t,r,s,i;let{animateLayoutChanges:a=y,attributes:u,disabled:d,data:f,getNewIndex:h=b,id:m,strategy:p,resizeObserverConfig:g,transition:x=j}=e,{items:_,containerId:P,activeIndex:S,disabled:M,disableTransforms:R,sortedRects:z,overIndex:O,useDragOverlay:E,strategy:I}=(0,n.useContext)(v),N=(t=d,r=M,"boolean"==typeof t?{draggable:t,droppable:!1}:{draggable:null!=(s=null==t?void 0:t.draggable)?s:r.draggable,droppable:null!=(i=null==t?void 0:t.droppable)?i:r.droppable}),T=_.indexOf(m),D=(0,n.useMemo)(()=>({sortable:{containerId:P,index:T,items:_},...f}),[P,f,T,_]),A=(0,n.useMemo)(()=>_.slice(_.indexOf(m)),[_,m]),{rect:q,node:L,isOver:$,setNodeRef:F}=(0,l.useDroppable)({id:m,data:D,disabled:N.droppable,resizeObserverConfig:{updateMeasurementsFor:A,...g}}),{active:U,activatorEvent:B,activeNodeRect:H,attributes:W,setNodeRef:G,listeners:K,isDragging:V,over:X,setActivatorNodeRef:Y,transform:J}=(0,l.useDraggable)({id:m,data:D,attributes:{...C,...u},disabled:N.draggable}),Q=(0,o.useCombinedRefs)(F,G),Z=!!U,ee=Z&&!R&&c(S)&&c(O),et=!E&&V,en=et&&ee?J:null,er=ee?null!=en?en:(null!=p?p:I)({rects:z,activeNodeRect:H,activeIndex:S,overIndex:O,index:T}):null,es=c(S)&&c(O)?h({id:m,items:_,activeIndex:S,overIndex:O}):T,ei=null==U?void 0:U.id,ea=(0,n.useRef)({activeId:ei,items:_,newIndex:es,containerId:P}),el=_!==ea.current.items,eo=a({active:U,containerId:P,isDragging:V,isSorting:Z,id:m,index:T,items:_,newIndex:ea.current.newIndex,previousItems:ea.current.items,previousContainerId:ea.current.containerId,transition:x,wasDragging:null!=ea.current.activeId}),eu=function(e){let{disabled:t,index:r,node:s,rect:i}=e,[a,u]=(0,n.useState)(null),d=(0,n.useRef)(r);return(0,o.useIsomorphicLayoutEffect)(()=>{if(!t&&r!==d.current&&s.current){let e=i.current;if(e){let t=(0,l.getClientRect)(s.current,{ignoreTransform:!0}),n={x:e.left-t.left,y:e.top-t.top,scaleX:e.width/t.width,scaleY:e.height/t.height};(n.x||n.y)&&u(n)}}r!==d.current&&(d.current=r)},[t,r,s,i]),(0,n.useEffect)(()=>{a&&u(null)},[a]),a}({disabled:!eo,index:T,node:L,rect:q});return(0,n.useEffect)(()=>{Z&&ea.current.newIndex!==es&&(ea.current.newIndex=es),P!==ea.current.containerId&&(ea.current.containerId=P),_!==ea.current.items&&(ea.current.items=_)},[Z,es,P,_]),(0,n.useEffect)(()=>{if(ei===ea.current.activeId)return;if(null!=ei&&null==ea.current.activeId){ea.current.activeId=ei;return}let e=setTimeout(()=>{ea.current.activeId=ei},50);return()=>clearTimeout(e)},[ei]),{active:U,activeIndex:S,attributes:W,data:D,rect:q,index:T,newIndex:es,items:_,isOver:$,isSorting:Z,isDragging:V,listeners:K,node:L,overIndex:O,over:X,setNodeRef:Q,setActivatorNodeRef:Y,setDroppableNodeRef:F,setDraggableNodeRef:G,transform:null!=eu?eu:er,transition:eu||el&&ea.current.newIndex===T?w:(!et||(0,o.isKeyboardEvent)(B))&&x&&(Z||eo)?o.CSS.Transition.toString({...x,property:k}):void 0}}l.KeyboardCode.Down,l.KeyboardCode.Right,l.KeyboardCode.Up,l.KeyboardCode.Left,e.s(["SortableContext",0,x,"arrayMove",0,d,"horizontalListSortingStrategy",0,h,"useSortable",0,_,"verticalListSortingStrategy",0,e=>{var t,n,r,s;let i,a,l,{activeIndex:o,activeNodeRect:u,index:d,rects:c,overIndex:f}=e,h=null!=(t=c[o])?t:u;if(!h)return null;if(d===o){let e=c[f];return e?{x:0,y:o<f?e.top+e.height-(h.top+h.height):e.top-h.top,...p}:null}let m=(n=c,r=d,s=o,i=n[r],a=n[r-1],l=n[r+1],i?s<r?a?i.top-(a.top+a.height):l?l.top-(i.top+i.height):0:l?l.top-(i.top+i.height):a?i.top-(a.top+a.height):0:0);return d>o&&d<=f?{x:0,y:-h.height-m,...p}:d<o&&d>=f?{x:0,y:h.height+m,...p}:{x:0,y:0,...p}}],150225);var P=e.i(872937),S=e.i(613349),M=e.i(607711),R=e.i(224950),z=e.i(329686),O=e.i(186339),E=e.i(516266);function I({id:e,disabled:n,...r}){let{attributes:s,listeners:i,setNodeRef:a,transform:l,transition:u,isDragging:d}=_({id:e,disabled:n}),c={transform:o.CSS.Transform.toString(l),transition:u,opacity:d?.5:1};return(0,t.jsx)("div",{ref:a,style:c,className:"inline-flex items-center",...s,...i,children:(0,t.jsx)(N,{id:e,...r})})}function N({name:e,active:n,deleting:r,isDeleting:l,onSelect:o,onRename:u,onDeleteRequest:d,onDeleteCancel:c,onDeleteConfirm:f}){let h="default"===e,m=(0,S.cn)("h-5 px-1.5 rounded-md text-[11px] font-medium inline-flex items-center gap-1 cursor-pointer select-none transition-colors duration-200 shrink-0","active:translate-y-px focus-visible:ring-2 focus-visible:ring-ring/50 outline-none",n?"bg-secondary text-foreground shadow-sm ring-1 ring-foreground/5":"text-muted-foreground hover:text-foreground hover:bg-accent");return h?(0,t.jsxs)("button",{onClick:o,className:m,children:["#",e]}):(0,t.jsxs)(z.Tooltip,{children:[(0,t.jsxs)(R.Popover,{open:r,onOpenChange:e=>{e||c()},children:[(0,t.jsxs)(M.ContextMenu,{children:[(0,t.jsx)(z.TooltipTrigger,{render:(0,t.jsx)(M.ContextMenuTrigger,{className:"inline-flex"}),children:(0,t.jsxs)(R.PopoverTrigger,{render:(0,t.jsx)("button",{onClick:o,className:m}),children:["#",e]})}),(0,t.jsxs)(M.ContextMenuContent,{children:[(0,t.jsxs)(M.ContextMenuItem,{onClick:u,children:[(0,t.jsx)(s,{className:"size-3.5 mr-2"}),"Rename"]}),(0,t.jsx)(M.ContextMenuSeparator,{}),(0,t.jsxs)(M.ContextMenuItem,{onClick:d,className:"text-destructive focus:text-destructive",children:[(0,t.jsx)(i.Trash2,{className:"size-3.5 mr-2"}),"Delete"]})]})]}),(0,t.jsxs)(R.PopoverContent,{className:"w-auto p-3",align:"start",children:[(0,t.jsxs)("p",{className:"text-sm mb-3",children:["Delete “",e,"”? Its conversations will be removed."]}),(0,t.jsxs)("div",{className:"flex gap-2 justify-end",children:[(0,t.jsx)(O.Button,{variant:"ghost",size:"sm",onClick:c,disabled:l,children:"Cancel"}),(0,t.jsxs)(O.Button,{variant:"destructive",size:"sm",onClick:f,disabled:l,children:[l&&(0,t.jsx)(a.Loader2,{className:"size-3 animate-spin mr-1"}),"Delete"]})]})]})]}),(0,t.jsx)(z.TooltipContent,{side:"bottom",children:"Right-click for options"})]})}function T({loading:e,onSave:r,onCancel:s}){let i=(0,n.useRef)(null),l=(0,n.useRef)(!1),[o,u]=(0,n.useState)("");(0,n.useEffect)(()=>{i.current?.focus()},[]);let d=(0,n.useCallback)(()=>{let e=o.trim();e?(l.current=!0,r(e)):s()},[o,r,s]);return(0,t.jsxs)("span",{className:"inline-flex items-center gap-1 shrink-0",children:[(0,t.jsx)("input",{ref:i,value:o,onChange:e=>u(e.target.value),onKeyDown:e=>{"Enter"===e.key&&d(),"Escape"===e.key&&s()},onBlur:()=>{l.current||s()},disabled:e,placeholder:"name...",className:"h-5 w-24 px-1.5 rounded-md text-[11px] bg-transparent border border-input focus:border-ring focus:ring-2 focus:ring-ring/50 placeholder:text-muted-foreground/50 outline-none shrink-0 disabled:opacity-50"}),e&&(0,t.jsx)(a.Loader2,{className:"size-3 animate-spin text-muted-foreground"})]})}function D({currentName:e,loading:r,onSave:s,onCancel:i}){let a=(0,n.useRef)(null),l=(0,n.useRef)(!1),o=(0,n.useRef)(!1),[u,d]=(0,n.useState)(e);(0,n.useEffect)(()=>{let e=requestAnimationFrame(()=>{a.current?.focus(),a.current?.select(),o.current=!0});return()=>cancelAnimationFrame(e)},[]);let c=(0,n.useCallback)(()=>{let t=u.trim();t&&t!==e?(l.current=!0,s(t)):i()},[u,e,s,i]);return(0,t.jsx)("input",{ref:a,value:u,onChange:e=>d(e.target.value),onKeyDown:e=>{"Enter"===e.key&&c(),"Escape"===e.key&&i()},onBlur:()=>{o.current&&!l.current&&i()},disabled:r,className:"h-5 w-24 px-1.5 rounded-md text-[11px] bg-transparent border border-input focus:border-ring focus:ring-2 focus:ring-ring/50 outline-none shrink-0 disabled:opacity-50"})}e.s(["ChannelBar",0,function(){let{channels:e,activeChannel:s,loading:i,creating:a,deleting:o,renaming:c,setActiveChannel:f,createChannel:m,renameChannel:p,deleteChannel:g,reorderChannels:v}=(0,P.useChannel)(),[b,y]=(0,n.useState)(!1),[j,k]=(0,n.useState)(null),[w,C]=(0,n.useState)(null),_=(0,l.useSensors)((0,l.useSensor)(l.PointerSensor,{activationConstraint:{distance:5}})),S=e.find(e=>"default"===e.name),M=e.filter(e=>"default"!==e.name),R=(0,n.useCallback)(e=>{let{active:t,over:n}=e;if(!n||t.id===n.id)return;let r=M.findIndex(e=>e.id===t.id),s=M.findIndex(e=>e.id===n.id);-1===r||-1===s||v(d(M,r,s).map(e=>e.id))},[M,v]);return i?(0,t.jsxs)("div",{className:"h-8 flex items-center gap-1.5 px-2 mb-1 shrink-0",children:[(0,t.jsx)("div",{className:"h-5 w-14 rounded-md bg-muted animate-pulse"}),(0,t.jsx)("div",{className:"h-5 w-12 rounded-md bg-muted animate-pulse"}),(0,t.jsx)("div",{className:"h-5 w-16 rounded-md bg-muted animate-pulse"})]}):(0,t.jsxs)("div",{className:"h-8 flex items-center gap-1.5 px-4 md:px-5 mb-1 min-w-0 overflow-x-auto thin-scrollbar shrink-0",children:[S&&(0,t.jsx)(N,{id:S.id,name:S.name,active:S.name===s,deleting:!1,isDeleting:!1,onSelect:()=>f(S.name),onRename:()=>{},onDeleteRequest:()=>{},onDeleteCancel:()=>{},onDeleteConfirm:()=>{}}),(0,t.jsx)(l.DndContext,{sensors:_,collisionDetection:l.closestCenter,modifiers:[u],onDragEnd:R,children:(0,t.jsx)(x,{items:M.map(e=>e.id),strategy:h,children:M.map(e=>j===e.id?(0,t.jsx)(D,{currentName:e.name,loading:c===e.id,onSave:async t=>{try{await p(e.id,t)}catch(e){E.toast.error(e instanceof Error?e.message:"Failed to rename")}k(null)},onCancel:()=>k(null)},e.id):(0,t.jsx)(I,{id:e.id,name:e.name,active:e.name===s,deleting:w===e.id,isDeleting:o===e.id,disabled:null!==j,onSelect:()=>f(e.name),onRename:()=>k(e.id),onDeleteRequest:()=>C(e.id),onDeleteCancel:()=>C(null),onDeleteConfirm:async()=>{try{await g(e.id)}catch(e){E.toast.error(e instanceof Error?e.message:"Failed to delete")}C(null)}},e.id))})}),b?(0,t.jsx)(T,{loading:a,onSave:async e=>{try{await m(e),f(e)}catch(e){E.toast.error(e instanceof Error?e.message:"Failed to create")}y(!1)},onCancel:()=>y(!1)}):(0,t.jsxs)(z.Tooltip,{children:[(0,t.jsx)(z.TooltipTrigger,{render:(0,t.jsx)("button",{onClick:()=>y(!0),className:"h-5 w-5 rounded-md border border-dashed border-muted-foreground/30 text-muted-foreground hover:border-foreground/50 hover:text-foreground hover:bg-accent transition-colors duration-200 inline-flex items-center justify-center cursor-pointer shrink-0"}),children:(0,t.jsx)(r.Plus,{className:"size-3"})}),(0,t.jsx)(z.TooltipContent,{side:"bottom",children:"Add New Chatting Channel"})]}),(0,t.jsx)("div",{className:"shrink-0 w-1"})]})}],988232)},252304,e=>{"use strict";var t=e.i(653772),n=e.i(511043),r=e.i(126942),s=e.i(355578),i=e.i(500324),a=e.i(288329),l=e.i(332680);e.i(954194);var o=e.i(439769);e.i(400175);var u=e.i(819748),d=e.i(126366),c=e.i(988232),f=e.i(49879),h=e.i(345262),m=e.i(887972),p=e.i(186339),g=e.i(329686);function v({open:e,onOpenChange:n,agentId:x,agent:b,targetConvId:y,scrollToTaskId:j,scrollToMessageId:k}){let w,C,_,P,S,M,{runtimes:R,activeTaskCounts:z}=(0,s.useAgentContext)(),{slug:O}=(0,i.useWorkspace)(),E=(0,r.useRouter)(),{width:I,onPointerDown:N,onPointerMove:T,onPointerUp:D}=(0,a.useSheetResize)({defaultWidth:480,minWidth:320,maxWidthRatio:.8});return(0,t.jsx)(l.Sheet,{open:e,onOpenChange:n,children:(0,t.jsxs)(l.SheetContent,{side:"right",showCloseButton:!1,style:{width:`min(${I}px, 100vw)`,maxWidth:"none"},className:"data-[side=right]:sm:inset-y-2 data-[side=right]:sm:right-2 data-[side=right]:sm:h-auto data-[side=right]:sm:rounded-xl data-[side=right]:sm:border flex flex-col",children:[(0,t.jsx)(a.SheetResizeHandle,{onPointerDown:N,onPointerMove:T,onPointerUp:D}),(0,t.jsxs)("div",{className:"absolute top-3 right-3 z-10 flex items-center gap-1",children:[x&&(w=new URLSearchParams,j&&w.set("task",j),k&&w.set("msg",k),y&&w.set("conv",y),C=w.toString(),_=`/w/${O}/agents/${x}${C?`?${C}`:""}`,(0,t.jsxs)(g.Tooltip,{children:[(0,t.jsx)(g.TooltipTrigger,{render:(0,t.jsx)("a",{href:_,onClick:e=>{e.metaKey||e.ctrlKey||e.shiftKey||(e.preventDefault(),n(!1),E.push(_))},className:(0,p.buttonVariants)({variant:"ghost",size:"icon-sm"})}),children:(0,t.jsx)(h.ArrowUpRight,{})}),(0,t.jsx)(g.TooltipContent,{children:"Open full page"})]})),(0,t.jsxs)(l.SheetClose,{render:(0,t.jsx)(p.Button,{variant:"ghost",size:"icon-sm"}),children:[(0,t.jsx)(m.XIcon,{}),(0,t.jsx)("span",{className:"sr-only",children:"Close"})]})]}),(0,t.jsx)(l.SheetHeader,{children:(0,t.jsxs)("div",{className:"flex items-center gap-3 pr-16",children:[b&&(P=(0,d.parseAvatarUrl)(b.avatar_url),S=R.find(e=>e.id===b.runtime_id),M=S?.status==="online"&&(z[b.id]??0)>0,P?(0,t.jsx)(u.AnimatedAvatar,{config:P,size:28,className:"shrink-0 rounded-lg",isHovered:!1,isWorking:M}):null),(0,t.jsxs)("div",{className:"flex items-baseline gap-2 min-w-0",children:[(0,t.jsx)(l.SheetTitle,{className:"truncate shrink-0",children:b?.name??"Chat"}),b?.email_handle&&(0,t.jsx)("span",{className:"text-xs text-muted-foreground truncate",children:(0,o.toAlookAddress)(b.email_handle)})]})]})}),!y&&(0,t.jsx)("div",{className:"px-4 pb-2",children:(0,t.jsx)(c.ChannelBar,{})}),x&&(0,t.jsx)("div",{className:"flex-1 overflow-hidden flex flex-col",children:(0,t.jsx)(f.AgentChatView,{agentId:x,targetConvId:y,scrollToTaskId:j,scrollToMessageId:k},`${x}-${y??""}`)})]})})}let x=(0,n.createContext)(null);e.s(["AgentChatSheetProvider",0,function({children:e}){let a=(0,r.useRouter)(),{agents:l}=(0,s.useAgentContext)(),{slug:o}=(0,i.useWorkspace)(),[u,d]=(0,n.useState)(!1),[c,f]=(0,n.useState)(null),[h,m]=(0,n.useState)(null),[p,g]=(0,n.useState)(null),[b,y]=(0,n.useState)(null),j=c?l.find(e=>e.id===c)??null:null,k=(0,n.useRef)(l);(0,n.useEffect)(()=>{k.current=l});let w=(0,n.useCallback)((e,t)=>{k.current.find(t=>t.id===e)?(f(e),m(t?.conversationId??null),g(t?.taskId??null),y(t?.messageId??null),d(!0)):a.push(`/w/${o}/agents/${e}`)},[a,o]),C=(0,n.useCallback)(e=>{d(e),e||(m(null),g(null),y(null))},[]);return(0,t.jsxs)(x.Provider,{value:{openAgentChat:w},children:[e,(0,t.jsx)(v,{open:u,onOpenChange:C,agentId:c,agent:j,targetConvId:h,scrollToTaskId:p,scrollToMessageId:b})]})},"useAgentChatSheet",0,function(){let e=(0,n.useContext)(x);if(!e)throw Error("useAgentChatSheet must be used within AgentChatSheetProvider");return e}],252304)},489960,e=>{"use strict";let t=(0,e.i(419412).default)("log-out",[["path",{d:"m16 17 5-5-5-5",key:"1bji2h"}],["path",{d:"M21 12H9",key:"dn1m92"}],["path",{d:"M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4",key:"1uf3rs"}]]);e.s(["LogOut",0,t],489960)},46464,e=>{"use strict";let t=(0,e.i(419412).default)("inbox",[["polyline",{points:"22 12 16 12 14 15 10 15 8 12 2 12",key:"o97t9d"}],["path",{d:"M5.45 5.11 2 12v6a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-6l-3.45-6.89A2 2 0 0 0 16.76 4H7.24a2 2 0 0 0-1.79 1.11z",key:"oot6mr"}]]);e.s(["Inbox",0,t],46464)},898707,e=>{"use strict";var t=e.i(653772);e.s(["GradientBackground",0,function(){return(0,t.jsx)("div",{"aria-hidden":!0,className:"pointer-events-none fixed inset-0 -z-10 overflow-hidden bg-[oklch(0.93_0.015_80)] dark:bg-transparent"})}])},860150,(e,t,n)=>{"use strict";function r({widthInt:e,heightInt:t,blurWidth:n,blurHeight:s,blurDataURL:i,objectFit:a}){let l=n?40*n:e,o=s?40*s:t,u=l&&o?`viewBox='0 0 ${l} ${o}'`:"";return`%3Csvg xmlns='http://www.w3.org/2000/svg' ${u}%3E%3Cfilter id='b' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3CfeColorMatrix values='1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 100 -1' result='s'/%3E%3CfeFlood x='0' y='0' width='100%25' height='100%25'/%3E%3CfeComposite operator='out' in='s'/%3E%3CfeComposite in2='SourceGraphic'/%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3C/filter%3E%3Cimage width='100%25' height='100%25' x='0' y='0' preserveAspectRatio='${u?"none":"contain"===a?"xMidYMid":"cover"===a?"xMidYMid slice":"none"}' style='filter: url(%23b);' href='${i}'/%3E%3C/svg%3E`}Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"getImageBlurSvg",{enumerable:!0,get:function(){return r}})},495703,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r={VALID_LOADERS:function(){return i},imageConfigDefault:function(){return a}};for(var s in r)Object.defineProperty(n,s,{enumerable:!0,get:r[s]});let i=["default","imgix","cloudinary","akamai","custom"],a={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[32,48,64,96,128,256,384],path:"/_next/image",loader:"default",loaderFile:"",domains:[],disableStaticImages:!1,minimumCacheTTL:14400,formats:["image/webp"],maximumDiskCacheSize:void 0,maximumRedirects:3,maximumResponseBody:5e7,dangerouslyAllowLocalIP:!1,dangerouslyAllowSVG:!1,contentSecurityPolicy:"script-src 'none'; frame-src 'none'; sandbox;",contentDispositionType:"attachment",localPatterns:void 0,remotePatterns:[],qualities:[75],unoptimized:!1,customCacheHandler:!1}},715596,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"getImgProps",{enumerable:!0,get:function(){return u}}),e.r(519990);let r=e.r(66960),s=e.r(860150),i=e.r(495703),a=["-moz-initial","fill","none","scale-down",void 0];function l(e){return void 0!==e.default}function o(e){return void 0===e?e:"number"==typeof e?Number.isFinite(e)?e:NaN:"string"==typeof e&&/^[0-9]+$/.test(e)?parseInt(e,10):NaN}function u({src:e,sizes:t,unoptimized:n=!1,priority:d=!1,preload:c=!1,loading:f,className:h,quality:m,width:p,height:g,fill:v=!1,style:x,overrideSrc:b,onLoad:y,onLoadingComplete:j,placeholder:k="empty",blurDataURL:w,fetchPriority:C,decoding:_="async",layout:P,objectFit:S,objectPosition:M,lazyBoundary:R,lazyRoot:z,...O},E){var I;let N,T,D,{imgConf:A,showAltText:q,blurComplete:L,defaultLoader:$}=E,F=A||i.imageConfigDefault;if("allSizes"in F)N=F;else{let e=[...F.deviceSizes,...F.imageSizes].sort((e,t)=>e-t),t=F.deviceSizes.sort((e,t)=>e-t),n=F.qualities?.sort((e,t)=>e-t);N={...F,allSizes:e,deviceSizes:t,qualities:n}}if(void 0===$)throw Object.defineProperty(Error("images.loaderFile detected but the file is missing default export.\nRead more: https://nextjs.org/docs/messages/invalid-images-config"),"__NEXT_ERROR_CODE",{value:"E163",enumerable:!1,configurable:!0});let U=O.loader||$;delete O.loader,delete O.srcSet;let B="__next_img_default"in U;if(B){if("custom"===N.loader)throw Object.defineProperty(Error(`Image with src "${e}" is missing "loader" prop.
|
|
2
|
+
Read more: https://nextjs.org/docs/messages/next-image-missing-loader`),"__NEXT_ERROR_CODE",{value:"E252",enumerable:!1,configurable:!0})}else{let e=U;U=t=>{let{config:n,...r}=t;return e(r)}}if(P){"fill"===P&&(v=!0);let e={intrinsic:{maxWidth:"100%",height:"auto"},responsive:{width:"100%",height:"auto"}}[P];e&&(x={...x,...e});let n={responsive:"100vw",fill:"100vw"}[P];n&&!t&&(t=n)}let H="",W=o(p),G=o(g);if((I=e)&&"object"==typeof I&&(l(I)||void 0!==I.src)){let t=l(e)?e.default:e;if(!t.src)throw Object.defineProperty(Error(`An object should only be passed to the image component src parameter if it comes from a static image import. It must include src. Received ${JSON.stringify(t)}`),"__NEXT_ERROR_CODE",{value:"E460",enumerable:!1,configurable:!0});if(!t.height||!t.width)throw Object.defineProperty(Error(`An object should only be passed to the image component src parameter if it comes from a static image import. It must include height and width. Received ${JSON.stringify(t)}`),"__NEXT_ERROR_CODE",{value:"E48",enumerable:!1,configurable:!0});if(T=t.blurWidth,D=t.blurHeight,w=w||t.blurDataURL,H=t.src,!v)if(W||G){if(W&&!G){let e=W/t.width;G=Math.round(t.height*e)}else if(!W&&G){let e=G/t.height;W=Math.round(t.width*e)}}else W=t.width,G=t.height}let K=!d&&!c&&("lazy"===f||void 0===f);(!(e="string"==typeof e?e:H)||e.startsWith("data:")||e.startsWith("blob:"))&&(n=!0,K=!1),N.unoptimized&&(n=!0),B&&!N.dangerouslyAllowSVG&&e.split("?",1)[0].endsWith(".svg")&&(n=!0);let V=o(m),X=Object.assign(v?{position:"absolute",height:"100%",width:"100%",left:0,top:0,right:0,bottom:0,objectFit:S,objectPosition:M}:{},q?{}:{color:"transparent"},x),Y=L||"empty"===k?null:"blur"===k?`url("data:image/svg+xml;charset=utf-8,${(0,s.getImageBlurSvg)({widthInt:W,heightInt:G,blurWidth:T,blurHeight:D,blurDataURL:w||"",objectFit:X.objectFit})}")`:`url("${k}")`,J=a.includes(X.objectFit)?"fill"===X.objectFit?"100% 100%":"cover":X.objectFit,Q=Y?{backgroundSize:J,backgroundPosition:X.objectPosition||"50% 50%",backgroundRepeat:"no-repeat",backgroundImage:Y}:{},Z=function({config:e,src:t,unoptimized:n,width:s,quality:i,sizes:a,loader:l}){if(n){if(t.startsWith("/")&&!t.startsWith("//")){let e=(0,r.getDeploymentId)();if(e){let n=t.indexOf("?");if(-1!==n){let r=new URLSearchParams(t.slice(n+1));r.get("dpl")||(r.append("dpl",e),t=t.slice(0,n)+"?"+r.toString())}else t+=`?dpl=${e}`}}return{src:t,srcSet:void 0,sizes:void 0}}let{widths:o,kind:u}=function({deviceSizes:e,allSizes:t},n,r){if(r){let n=/(^|\s)(1?\d?\d)vw/g,s=[];for(let e;e=n.exec(r);)s.push(parseInt(e[2]));if(s.length){let n=.01*Math.min(...s);return{widths:t.filter(t=>t>=e[0]*n),kind:"w"}}return{widths:t,kind:"w"}}return"number"!=typeof n?{widths:e,kind:"w"}:{widths:[...new Set([n,2*n].map(e=>t.find(t=>t>=e)||t[t.length-1]))],kind:"x"}}(e,s,a),d=o.length-1;return{sizes:a||"w"!==u?a:"100vw",srcSet:o.map((n,r)=>`${l({config:e,src:t,quality:i,width:n})} ${"w"===u?n:r+1}${u}`).join(", "),src:l({config:e,src:t,quality:i,width:o[d]})}}({config:N,src:e,unoptimized:n,width:W,quality:V,sizes:t,loader:U}),ee=K?"lazy":f;return{props:{...O,loading:ee,fetchPriority:C,width:W,height:G,decoding:_,className:h,style:{...X,...Q},sizes:Z.sizes,srcSet:Z.srcSet,src:b||Z.src},meta:{unoptimized:n,preload:c||d,placeholder:k,fill:v}}}},948147,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return l}});let r=e.r(511043),s="u"<typeof window,i=s?()=>{}:r.useLayoutEffect,a=s?()=>{}:r.useEffect;function l(e){let{headManager:t,reduceComponentsToState:n}=e;function l(){if(t&&t.mountedInstances){let e=r.Children.toArray(Array.from(t.mountedInstances).filter(Boolean));t.updateHead(n(e))}}return s&&(t?.mountedInstances?.add(e.children),l()),i(()=>(t?.mountedInstances?.add(e.children),()=>{t?.mountedInstances?.delete(e.children)})),i(()=>(t&&(t._pendingUpdate=l),()=>{t&&(t._pendingUpdate=l)})),a(()=>(t&&t._pendingUpdate&&(t._pendingUpdate(),t._pendingUpdate=null),()=>{t&&t._pendingUpdate&&(t._pendingUpdate(),t._pendingUpdate=null)})),null}},818757,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r={default:function(){return p},defaultHead:function(){return c}};for(var s in r)Object.defineProperty(n,s,{enumerable:!0,get:r[s]});let i=e.r(481258),a=e.r(744066),l=e.r(653772),o=a._(e.r(511043)),u=i._(e.r(948147)),d=e.r(477441);function c(){return[(0,l.jsx)("meta",{charSet:"utf-8"},"charset"),(0,l.jsx)("meta",{name:"viewport",content:"width=device-width"},"viewport")]}function f(e,t){return"string"==typeof t||"number"==typeof t?e:t.type===o.default.Fragment?e.concat(o.default.Children.toArray(t.props.children).reduce((e,t)=>"string"==typeof t||"number"==typeof t?e:e.concat(t),[])):e.concat(t)}e.r(519990);let h=["name","httpEquiv","charSet","itemProp"];function m(e){let t,n,r,s;return e.reduce(f,[]).reverse().concat(c().reverse()).filter((t=new Set,n=new Set,r=new Set,s={},e=>{let i=!0,a=!1;if(e.key&&"number"!=typeof e.key&&e.key.indexOf("$")>0){a=!0;let n=e.key.slice(e.key.indexOf("$")+1);t.has(n)?i=!1:t.add(n)}switch(e.type){case"title":case"base":n.has(e.type)?i=!1:n.add(e.type);break;case"meta":for(let t=0,n=h.length;t<n;t++){let n=h[t];if(e.props.hasOwnProperty(n))if("charSet"===n)r.has(n)?i=!1:r.add(n);else{let t=e.props[n],r=s[n]||new Set;("name"!==n||!a)&&r.has(t)?i=!1:(r.add(t),s[n]=r)}}}return i})).reverse().map((e,t)=>{let n=e.key||t;return o.default.cloneElement(e,{key:n})})}let p=function({children:e}){let t=(0,o.useContext)(d.HeadManagerContext);return(0,l.jsx)(u.default,{reduceComponentsToState:m,headManager:t,children:e})};("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esModule",{value:!0}),Object.assign(n.default,n),t.exports=n.default)},660272,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"ImageConfigContext",{enumerable:!0,get:function(){return i}});let r=e.r(481258)._(e.r(511043)),s=e.r(495703),i=r.default.createContext(s.imageConfigDefault)},738821,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"RouterContext",{enumerable:!0,get:function(){return r}});let r=e.r(481258)._(e.r(511043)).default.createContext(null)},800643,(e,t,n)=>{"use strict";function r(e,t){let n=e||75;return t?.qualities?.length?t.qualities.reduce((e,t)=>Math.abs(t-n)<Math.abs(e-n)?t:e,t.qualities[0]):n}Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"findClosestQuality",{enumerable:!0,get:function(){return r}})},179871,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return a}});let r=e.r(800643),s=e.r(66960);function i({config:e,src:t,width:n,quality:a}){let l=(0,s.getDeploymentId)();if(t.startsWith("/")&&!t.startsWith("//")){let e=t.indexOf("?");if(-1!==e){let n=new URLSearchParams(t.slice(e+1)),r=n.get("dpl");if(r){l=r,n.delete("dpl");let s=n.toString();t=t.slice(0,e)+(s?"?"+s:"")}}}if(t.startsWith("/")&&t.includes("?")&&e.localPatterns?.length===1&&"**"===e.localPatterns[0].pathname&&""===e.localPatterns[0].search)throw Object.defineProperty(Error(`Image with src "${t}" is using a query string which is not configured in images.localPatterns.
|
|
3
|
+
Read more: https://nextjs.org/docs/messages/next-image-unconfigured-localpatterns`),"__NEXT_ERROR_CODE",{value:"E871",enumerable:!1,configurable:!0});let o=(0,r.findClosestQuality)(a,e);return`${e.path}?url=${encodeURIComponent(t)}&w=${n}&q=${o}${t.startsWith("/")&&l?`&dpl=${l}`:""}`}i.__next_img_default=!0;let a=i},348935,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"Image",{enumerable:!0,get:function(){return y}});let r=e.r(481258),s=e.r(744066),i=e.r(653772),a=s._(e.r(511043)),l=r._(e.r(280115)),o=r._(e.r(818757)),u=e.r(715596),d=e.r(495703),c=e.r(660272);e.r(519990);let f=e.r(738821),h=r._(e.r(179871)),m=e.r(842781),p={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[32,48,64,96,128,256,384],qualities:[75],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1};function g(e,t,n,r,s,i,a){let l=e?.src;e&&e["data-loaded-src"]!==l&&(e["data-loaded-src"]=l,("decode"in e?e.decode():Promise.resolve()).catch(()=>{}).then(()=>{if(e.parentElement&&e.isConnected){if("empty"!==t&&s(!0),n?.current){let t=new Event("load");Object.defineProperty(t,"target",{writable:!1,value:e});let r=!1,s=!1;n.current({...t,nativeEvent:t,currentTarget:e,target:e,isDefaultPrevented:()=>r,isPropagationStopped:()=>s,persist:()=>{},preventDefault:()=>{r=!0,t.preventDefault()},stopPropagation:()=>{s=!0,t.stopPropagation()}})}r?.current&&r.current(e)}}))}function v(e){return a.use?{fetchPriority:e}:{fetchpriority:e}}"u"<typeof window&&(globalThis.__NEXT_IMAGE_IMPORTED=!0);let x=(0,a.forwardRef)(({src:e,srcSet:t,sizes:n,height:r,width:s,decoding:l,className:o,style:u,fetchPriority:d,placeholder:c,loading:f,unoptimized:h,fill:p,onLoadRef:x,onLoadingCompleteRef:b,setBlurComplete:y,setShowAltText:j,sizesInput:k,onLoad:w,onError:C,..._},P)=>{let S=(0,a.useCallback)(e=>{e&&(C&&(e.src=e.src),e.complete&&g(e,c,x,b,y,h,k))},[e,c,x,b,y,C,h,k]),M=(0,m.useMergedRef)(P,S);return(0,i.jsx)("img",{..._,...v(d),loading:f,width:s,height:r,decoding:l,"data-nimg":p?"fill":"1",className:o,style:u,sizes:n,srcSet:t,src:e,ref:M,onLoad:e=>{g(e.currentTarget,c,x,b,y,h,k)},onError:e=>{j(!0),"empty"!==c&&y(!0),C&&C(e)}})});function b({isAppRouter:e,imgAttributes:t}){let n={as:"image",imageSrcSet:t.srcSet,imageSizes:t.sizes,crossOrigin:t.crossOrigin,referrerPolicy:t.referrerPolicy,...v(t.fetchPriority)};return e&&l.default.preload?(l.default.preload(t.src,n),null):(0,i.jsx)(o.default,{children:(0,i.jsx)("link",{rel:"preload",href:t.srcSet?void 0:t.src,...n},"__nimg-"+t.src+t.srcSet+t.sizes)})}let y=(0,a.forwardRef)((e,t)=>{let n=(0,a.useContext)(f.RouterContext),r=(0,a.useContext)(c.ImageConfigContext),s=(0,a.useMemo)(()=>{let e=p||r||d.imageConfigDefault,t=[...e.deviceSizes,...e.imageSizes].sort((e,t)=>e-t),n=e.deviceSizes.sort((e,t)=>e-t),s=e.qualities?.sort((e,t)=>e-t);return{...e,allSizes:t,deviceSizes:n,qualities:s,localPatterns:"u"<typeof window?r?.localPatterns:e.localPatterns}},[r]),{onLoad:l,onLoadingComplete:o}=e,m=(0,a.useRef)(l);(0,a.useEffect)(()=>{m.current=l},[l]);let g=(0,a.useRef)(o);(0,a.useEffect)(()=>{g.current=o},[o]);let[v,y]=(0,a.useState)(!1),[j,k]=(0,a.useState)(!1),{props:w,meta:C}=(0,u.getImgProps)(e,{defaultLoader:h.default,imgConf:s,blurComplete:v,showAltText:j});return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(x,{...w,unoptimized:C.unoptimized,placeholder:C.placeholder,fill:C.fill,onLoadRef:m,onLoadingCompleteRef:g,setBlurComplete:y,setShowAltText:k,sizesInput:e.sizes,ref:t}),C.preload?(0,i.jsx)(b,{isAppRouter:!n,imgAttributes:w}):null]})});("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esModule",{value:!0}),Object.assign(n.default,n),t.exports=n.default)},121649,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r={default:function(){return d},getImageProps:function(){return u}};for(var s in r)Object.defineProperty(n,s,{enumerable:!0,get:r[s]});let i=e.r(481258),a=e.r(715596),l=e.r(348935),o=i._(e.r(179871));function u(e){let{props:t}=(0,a.getImgProps)(e,{defaultLoader:o.default,imgConf:{deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[32,48,64,96,128,256,384],qualities:[75],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1}});for(let[e,n]of Object.entries(t))void 0===n&&delete t[e];return{props:t}}let d=l.Image},837002,(e,t,n)=>{t.exports=e.r(121649)},643486,e=>{"use strict";var t=e.i(653772),n=e.i(511043),r=e.i(111114),s=e.i(837002),i=e.i(613349);let a={sm:{icon:28,text:"text-2xl"},lg:{icon:36,text:"text-4xl"}};e.s(["Logo",0,function({size:e="sm",className:l,iconOnly:o=!1}){let{icon:u,text:d}=a[e],{resolvedTheme:c,setTheme:f}=(0,r.useTheme)(),[h,m]=(0,n.useState)(!1),p=(0,n.useRef)(m);return(0,n.useEffect)(()=>{p.current(!0)},[]),(0,t.jsxs)("button",{type:"button",onClick:()=>{f("dark"===c?"light":"dark")},"aria-label":"Toggle theme",className:(0,i.cn)("flex items-center gap-1.5 cursor-pointer select-none transition-opacity hover:opacity-70",l),children:[h?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(s.default,{src:"/alook.svg",alt:"Alook",width:u,height:u,className:"dark:hidden"}),(0,t.jsx)(s.default,{src:"/alook-dark.svg",alt:"Alook",width:u,height:u,className:"hidden dark:block"})]}):(0,t.jsx)("span",{style:{width:u,height:u}}),!o&&(0,t.jsx)("span",{className:(0,i.cn)(d,"font-black tracking-tight"),style:{fontFamily:"var(--font-brand)"},children:"Alook"})]})}])},907903,e=>{"use strict";e.s(["semverGte",0,function(e,t){let n=e.split(".").map(Number),r=t.split(".").map(Number);for(let e=0;e<Math.max(n.length,r.length);e++){let t=n[e]??0,s=r[e]??0;if(t>s)break;if(t<s)return!1}return!0}])},721839,e=>{"use strict";let t=(0,e.i(419412).default)("folder",[["path",{d:"M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z",key:"1kt360"}]]);e.s(["Folder",0,t],721839)},444951,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"BailoutToCSR",{enumerable:!0,get:function(){return s}});let r=e.r(953041);function s({reason:e,children:t}){if("u"<typeof window)throw Object.defineProperty(new r.BailoutToCSRError(e),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0});return t}},868822,(e,t,n)=>{"use strict";function r(e){return e.split("/").map(e=>encodeURIComponent(e)).join("/")}Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"encodeURIPath",{enumerable:!0,get:function(){return r}})},105815,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"PreloadChunks",{enumerable:!0,get:function(){return o}});let r=e.r(653772),s=e.r(280115),i=e.r(860598),a=e.r(868822),l=e.r(66960);function o({moduleIds:e}){if("u">typeof window)return null;let t=i.workAsyncStorage.getStore();if(void 0===t)return null;let n=[];if(t.reactLoadableManifest&&e){let r=t.reactLoadableManifest;for(let t of e){if(!r[t])continue;let e=r[t].files;n.push(...e)}}if(0===n.length)return null;let u=(0,l.getAssetTokenQuery)();return(0,r.jsx)(r.Fragment,{children:n.map(e=>{let n=`${t.assetPrefix}/_next/${(0,a.encodeURIPath)(e)}${u}`;return e.endsWith(".css")?(0,r.jsx)("link",{precedence:"dynamic",href:n,rel:"stylesheet",as:"style",nonce:t.nonce},e):((0,s.preload)(n,{as:"script",fetchPriority:"low",nonce:t.nonce}),null)})})}},790961,e=>{"use strict";var t=e.i(511043);let n="alook-home-pet-settings-changed",r="alook-home-pet-enabled-v1",s={enabled:!1};function i(){let e=window.localStorage.getItem(r);return{enabled:null===e?s.enabled:"true"===e}}e.s(["readHomePetSettings",0,i,"useHomePetSettings",0,function(){let[e,a]=(0,t.useState)(s);return(0,t.useEffect)(()=>{a(i());let e=e=>{a(e.detail??i())},t=e=>{e.key===r&&a(i())};return window.addEventListener(n,e),window.addEventListener("storage",t),()=>{window.removeEventListener(n,e),window.removeEventListener("storage",t)}},[]),e},"writeHomePetSettings",0,function(e){let t={...i(),...e};return window.localStorage.setItem(r,String(t.enabled)),window.dispatchEvent(new CustomEvent(n,{detail:t})),t}])},383297,e=>{"use strict";let t=(0,e.i(419412).default)("house",[["path",{d:"M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8",key:"5wwlr5"}],["path",{d:"M3 10a2 2 0 0 1 .709-1.528l7-6a2 2 0 0 1 2.582 0l7 6A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z",key:"r6nss1"}]]);e.s(["Home",0,t],383297)},864048,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return u}});let r=e.r(653772),s=e.r(511043),i=e.r(444951),a=e.r(105815);function l(e){return{default:e&&"default"in e?e.default:e}}let o={loader:()=>Promise.resolve(l(()=>null)),loading:null,ssr:!0},u=function(e){let t={...o,...e},n=(0,s.lazy)(()=>t.loader().then(l)),u=t.loading;function d(e){let l=u?(0,r.jsx)(u,{isLoading:!0,pastDelay:!0,error:null}):null,o=!t.ssr||!!t.loading,d=o?s.Suspense:s.Fragment,c=t.ssr?(0,r.jsxs)(r.Fragment,{children:["u"<typeof window?(0,r.jsx)(a.PreloadChunks,{moduleIds:t.modules}):null,(0,r.jsx)(n,{...e})]}):(0,r.jsx)(i.BailoutToCSR,{reason:"next/dynamic",children:(0,r.jsx)(n,{...e})});return(0,r.jsx)(d,{...o?{fallback:l}:{},children:c})}return d.displayName="LoadableComponent",d}},23382,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return s}});let r=e.r(481258)._(e.r(864048));function s(e,t){let n={};"function"==typeof e&&(n.loader=e);let s={...n,...t};return(0,r.default)({...s,modules:s.loadableGenerated?.modules})}("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esModule",{value:!0}),Object.assign(n.default,n),t.exports=n.default)},89164,e=>{"use strict";var t=e.i(653772),n=e.i(287761),r=e.i(613349);e.i(895449),e.i(26349),e.s(["DropdownMenu",0,function({...e}){return(0,t.jsx)(n.Menu.Root,{"data-slot":"dropdown-menu",...e})},"DropdownMenuContent",0,function({align:e="start",alignOffset:s=0,side:i="bottom",sideOffset:a=4,className:l,...o}){return(0,t.jsx)(n.Menu.Portal,{children:(0,t.jsx)(n.Menu.Positioner,{className:"isolate z-50 outline-none",align:e,alignOffset:s,side:i,sideOffset:a,children:(0,t.jsx)(n.Menu.Popup,{"data-slot":"dropdown-menu-content",className:(0,r.cn)("z-50 max-h-(--available-height) w-(--anchor-width) min-w-32 origin-(--transform-origin) overflow-x-hidden overflow-y-auto rounded-lg bg-popover p-1 text-popover-foreground shadow-md ring-1 ring-foreground/10 duration-100 outline-none data-[side=bottom]:slide-in-from-top-2 data-[side=inline-end]:slide-in-from-left-2 data-[side=inline-start]:slide-in-from-right-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:overflow-hidden data-closed:fade-out-0 data-closed:zoom-out-95",l),...o})})})},"DropdownMenuGroup",0,function({...e}){return(0,t.jsx)(n.Menu.Group,{"data-slot":"dropdown-menu-group",...e})},"DropdownMenuItem",0,function({className:e,inset:s,variant:i="default",...a}){return(0,t.jsx)(n.Menu.Item,{"data-slot":"dropdown-menu-item","data-inset":s,"data-variant":i,className:(0,r.cn)("group/dropdown-menu-item relative flex cursor-default items-center gap-1.5 rounded-md px-1.5 py-1 text-sm outline-hidden select-none focus:bg-accent focus:text-accent-foreground not-data-[variant=destructive]:focus:**:text-accent-foreground data-inset:pl-7 data-[variant=destructive]:text-destructive data-[variant=destructive]:focus:bg-destructive/10 data-[variant=destructive]:focus:text-destructive dark:data-[variant=destructive]:focus:bg-destructive/20 data-disabled:pointer-events-none data-disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 data-[variant=destructive]:*:[svg]:text-destructive",e),...a})},"DropdownMenuLabel",0,function({className:e,inset:s,...i}){return(0,t.jsx)(n.Menu.GroupLabel,{"data-slot":"dropdown-menu-label","data-inset":s,className:(0,r.cn)("px-1.5 py-1 text-xs font-medium text-muted-foreground data-inset:pl-7",e),...i})},"DropdownMenuSeparator",0,function({className:e,...s}){return(0,t.jsx)(n.Menu.Separator,{"data-slot":"dropdown-menu-separator",className:(0,r.cn)("-mx-1 my-1 h-px bg-border",e),...s})},"DropdownMenuTrigger",0,function({...e}){return(0,t.jsx)(n.Menu.Trigger,{"data-slot":"dropdown-menu-trigger",...e})}],89164)},380112,e=>{e.v(t=>Promise.all(["static/chunks/2i251yam3gukd.js"].map(t=>e.l(t))).then(()=>t(213178)))},885568,e=>{e.v(t=>Promise.all(["static/chunks/0b__9zesbwxly.js"].map(t=>e.l(t))).then(()=>t(293083)))},897083,e=>{e.v(e=>Promise.resolve().then(()=>e(113488)))},274989,e=>{e.v(t=>Promise.all(["static/chunks/3o24ksy-hf7cz.js","static/chunks/2docwilyglhtw.js","static/chunks/1plsryi36jp9q.js"].map(t=>e.l(t))).then(()=>t(71485)))},619639,e=>{e.v(t=>Promise.all(["static/chunks/34y5n1580dvyi.js","static/chunks/2zaq8dkx0qrqk.js"].map(t=>e.l(t))).then(()=>t(163939)))},313201,e=>{e.v(t=>Promise.all(["static/chunks/22sdd8p6t-xu3.js","static/chunks/0nglqrz5z0j6k.js"].map(t=>e.l(t))).then(()=>t(778154)))},202703,e=>{e.v(t=>Promise.all(["static/chunks/1-unde_ytbfaz.js","static/chunks/2_sjxba5ba36z.js"].map(t=>e.l(t))).then(()=>t(261717)))},475824,e=>{e.v(t=>Promise.all(["static/chunks/3ysbw6dyw6rtn.js"].map(t=>e.l(t))).then(()=>t(432997)))},209245,e=>{e.v(t=>Promise.all(["static/chunks/2s603-6jgiozy.js","static/chunks/2flsedbfq_570.js","static/chunks/3juv2ui8w2ubq.js"].map(t=>e.l(t))).then(()=>t(971693)))},31795,e=>{e.v(t=>Promise.all(["static/chunks/30u383vfo6-6n.js","static/chunks/09n60xd4-6zrz.js"].map(t=>e.l(t))).then(()=>t(701263)))},136922,e=>{e.v(t=>Promise.all(["static/chunks/3-abxnem3l1t-.js","static/chunks/2flsedbfq_570.js","static/chunks/2s603-6jgiozy.js"].map(t=>e.l(t))).then(()=>t(910393)))},927676,e=>{e.v(t=>Promise.all(["static/chunks/1rj3yo_venu4o.js","static/chunks/2flsedbfq_570.js","static/chunks/2s603-6jgiozy.js"].map(t=>e.l(t))).then(()=>t(203233)))},976014,e=>{e.v(t=>Promise.all(["static/chunks/3gxyb1hyv78t7.js"].map(t=>e.l(t))).then(()=>t(501398)))},148963,e=>{e.v(t=>Promise.all(["static/chunks/1dyf60g_iqslr.js","static/chunks/1m9i9y_o2lp65.js"].map(t=>e.l(t))).then(()=>t(941311)))},6986,e=>{e.v(t=>Promise.all(["static/chunks/1ns5dtfnp656m.js"].map(t=>e.l(t))).then(()=>t(492862)))},610535,e=>{e.v(t=>Promise.all(["static/chunks/2liwoswb7qae8.js","static/chunks/24f-_6wmvrg2h.js"].map(t=>e.l(t))).then(()=>t(31839)))},671557,e=>{e.v(t=>Promise.all(["static/chunks/1x96nm08uncui.js","static/chunks/03ynwl3kzn1wb.js"].map(t=>e.l(t))).then(()=>t(432452)))},504907,e=>{e.v(t=>Promise.all(["static/chunks/3s9for8q-xg-d.js","static/chunks/03ynwl3kzn1wb.js"].map(t=>e.l(t))).then(()=>t(321377)))},149263,e=>{e.v(t=>Promise.all(["static/chunks/3o24ksy-hf7cz.js","static/chunks/0obx5uqduz1nq.js","static/chunks/0x-ffq6_glhkh.js","static/chunks/2docwilyglhtw.js"].map(t=>e.l(t))).then(()=>t(674237)))},712767,e=>{e.v(t=>Promise.all(["static/chunks/091mzj83dfue_.js","static/chunks/0x-ffq6_glhkh.js"].map(t=>e.l(t))).then(()=>t(362812)))},328987,e=>{e.v(t=>Promise.all(["static/chunks/2tn9a1b6u-gv4.js"].map(t=>e.l(t))).then(()=>t(841507)))},351764,e=>{e.v(t=>Promise.all(["static/chunks/3dpmfn9-y0k9l.js"].map(t=>e.l(t))).then(()=>t(241012)))},317698,e=>{e.v(t=>Promise.all(["static/chunks/2l354tj66xvf8.js"].map(t=>e.l(t))).then(()=>t(692719)))},385629,e=>{e.v(t=>Promise.all(["static/chunks/42raj7_lezvi2.js"].map(t=>e.l(t))).then(()=>t(974554)))},555021,e=>{e.v(t=>Promise.all(["static/chunks/2kmkawaozwpe9.js"].map(t=>e.l(t))).then(()=>t(98532)))},412540,e=>{e.v(t=>Promise.all(["static/chunks/3a55_4dkyyd_5.js","static/chunks/2flsedbfq_570.js","static/chunks/2s603-6jgiozy.js"].map(t=>e.l(t))).then(()=>t(74004)))},899471,e=>{e.v(t=>Promise.all(["static/chunks/3lbt_6y7h9_-w.js","static/chunks/2flsedbfq_570.js","static/chunks/2s603-6jgiozy.js"].map(t=>e.l(t))).then(()=>t(289778)))},818422,e=>{e.v(t=>Promise.all(["static/chunks/1i-po5b8kgv0v.js","static/chunks/07ix2bohmpt3k.js","static/chunks/38mq5ev7u7aes.js"].map(t=>e.l(t))).then(()=>t(550349)))},172936,e=>{e.v(t=>Promise.all(["static/chunks/1rbbgqczzujhb.js","static/chunks/2flsedbfq_570.js","static/chunks/2s603-6jgiozy.js"].map(t=>e.l(t))).then(()=>t(614141)))},909838,e=>{e.v(t=>Promise.all(["static/chunks/1uoocz9-vg-2r.js","static/chunks/2s603-6jgiozy.js","static/chunks/2flsedbfq_570.js","static/chunks/2zaq8dkx0qrqk.js","static/chunks/1v02i1no6rodb.js"].map(t=>e.l(t))).then(()=>t(553743)))},37014,e=>{e.v(t=>Promise.all(["static/chunks/2wmpt4s5jisv6.js"].map(t=>e.l(t))).then(()=>t(557982)))},900698,e=>{e.v(t=>Promise.all(["static/chunks/0638-l8xu4pmj.js"].map(t=>e.l(t))).then(()=>t(46486)))},846133,e=>{e.v(t=>Promise.all(["static/chunks/2s603-6jgiozy.js","static/chunks/2flsedbfq_570.js","static/chunks/2f6cto3fbwwp8.js"].map(t=>e.l(t))).then(()=>t(170696)))},898971,e=>{e.v(t=>Promise.all(["static/chunks/2s603-6jgiozy.js","static/chunks/2flsedbfq_570.js","static/chunks/1k7katyqan7g6.js"].map(t=>e.l(t))).then(()=>t(502195)))},967422,e=>{e.v(t=>Promise.all(["static/chunks/0lq1yjb3t23ab.css","static/chunks/39fav4s_hedd9.js","static/chunks/08ry13eaw_kkf.js","static/chunks/43o2ye26rg7v8.js"].map(t=>e.l(t))).then(()=>t(928210)))}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,371836,e=>{"use strict";var t=e.i(653772),r=e.i(511043),n=e.i(23382),a=e.i(732919),i=e.i(886819),o,s,l,c,d,u,p,m,f,g,h,x,v,y=function(){return o||"u">typeof window&&(o=window.gsap)&&o.registerPlugin&&o},b=1,k=[],w=[],j=[],N=Date.now,C=function(e,t){return t},S=function(){var e=f.core,t=e.bridge||{},r=e._scrollers,n=e._proxies;r.push.apply(r,w),n.push.apply(n,j),w=r,j=n,C=function(e,r){return t[e](r)}},A=function(e,t){return~j.indexOf(e)&&j[j.indexOf(e)+1][t]},_=function(e){return!!~g.indexOf(e)},T=function(e,t,r,n,a){return e.addEventListener(t,r,{passive:!1!==n,capture:!!a})},M=function(e,t,r,n){return e.removeEventListener(t,r,!!n)},E="scrollLeft",P="scrollTop",R=function(){return h&&h.isPressed||w.cache++},F=function(e,t){var r=function r(n){if(n||0===n){b&&(l.history.scrollRestoration="manual");var a=h&&h.isPressed;e(n=r.v=Math.round(n)||(h&&h.iOS?1:0)),r.cacheID=w.cache,a&&C("ss",n)}else(t||w.cache!==r.cacheID||C("ref"))&&(r.cacheID=w.cache,r.v=e());return r.v+r.offset};return r.offset=0,e&&r},z={s:E,p:"left",p2:"Left",os:"right",os2:"Right",d:"width",d2:"Width",a:"x",sc:F(function(e){return arguments.length?l.scrollTo(e,O.sc()):l.pageXOffset||c[E]||d[E]||u[E]||0})},O={s:P,p:"top",p2:"Top",os:"bottom",os2:"Bottom",d:"height",d2:"Height",a:"y",op:z,sc:F(function(e){return arguments.length?l.scrollTo(z.sc(),e):l.pageYOffset||c[P]||d[P]||u[P]||0})},I=function(e,t){return(t&&t._ctx&&t._ctx.selector||o.utils.toArray)(e)[0]||("string"==typeof e&&!1!==o.config().nullTargetWarn?console.warn("Element not found:",e):null)},L=function(e,t){for(var r=t.length;r--;)if(t[r]===e||t[r].contains(e))return!0;return!1},D=function(e,t){var r=t.s,n=t.sc;_(e)&&(e=c.scrollingElement||d);var a=w.indexOf(e),i=n===O.sc?1:2;~a||(a=w.push(e)-1),w[a+i]||T(e,"scroll",R);var s=w[a+i],l=s||(w[a+i]=F(A(e,r),!0)||(_(e)?n:F(function(t){return arguments.length?e[r]=t:e[r]})));return l.target=e,s||(l.smooth="smooth"===o.getProperty(e,"scrollBehavior")),l},Y=function(e,t,r){var n=e,a=e,i=N(),o=i,s=t||50,l=Math.max(500,3*s),c=function(e,t){var l=N();t||l-i>s?(a=n,n=e,o=i,i=l):r?n+=e:n=a+(e-a)/(l-o)*(i-o)};return{update:c,reset:function(){a=n=r?0:n,o=i=0},getVelocity:function(e){var t=o,s=a,d=N();return(e||0===e)&&e!==n&&c(e),i===o||d-o>l?0:(n+(r?s:-s))/((r?d:i)-t)*1e3}}},B=function(e,t){return t&&!e._gsapAllow&&!1!==e.cancelable&&e.preventDefault(),e.changedTouches?e.changedTouches[0]:e},W=function(e){var t=Math.max.apply(Math,e),r=Math.min.apply(Math,e);return Math.abs(t)>=Math.abs(r)?t:r},H=function(){(f=o.core.globals().ScrollTrigger)&&f.core&&S()},V=function(e){return o=e||y(),!s&&o&&"u">typeof document&&document.body&&(l=window,d=(c=document).documentElement,u=c.body,g=[l,c,d,u],o.utils.clamp,v=o.core.context||function(){},m="onpointerenter"in u?"pointer":"mouse",p=X.isTouch=l.matchMedia&&l.matchMedia("(hover: none), (pointer: coarse)").matches?1:2*("ontouchstart"in l||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0),x=X.eventTypes=("ontouchstart"in d?"touchstart,touchmove,touchcancel,touchend":!("onpointerdown"in d)?"mousedown,mousemove,mouseup,mouseup":"pointerdown,pointermove,pointercancel,pointerup").split(","),setTimeout(function(){return b=0},500),s=1),f||H(),s};z.op=O,w.cache=0;var X=function(){var e;function t(e){this.init(e)}return t.prototype.init=function(e){s||V(o)||console.warn("Please gsap.registerPlugin(Observer)"),f||H();var t=e.tolerance,r=e.dragMinimum,n=e.type,a=e.target,i=e.lineHeight,g=e.debounce,y=e.preventDefault,b=e.onStop,w=e.onStopDelay,j=e.ignore,C=e.wheelSpeed,S=e.event,A=e.onDragStart,E=e.onDragEnd,P=e.onDrag,F=e.onPress,X=e.onRelease,G=e.onRight,U=e.onLeft,q=e.onUp,$=e.onDown,K=e.onChangeX,Z=e.onChangeY,J=e.onChange,Q=e.onToggleX,ee=e.onToggleY,et=e.onHover,er=e.onHoverEnd,en=e.onMove,ea=e.ignoreCheck,ei=e.isNormalizer,eo=e.onGestureStart,es=e.onGestureEnd,el=e.onWheel,ec=e.onEnable,ed=e.onDisable,eu=e.onClick,ep=e.scrollSpeed,em=e.capture,ef=e.allowClicks,eg=e.lockAxis,eh=e.onLockAxis;this.target=a=I(a)||d,this.vars=e,j&&(j=o.utils.toArray(j)),t=t||1e-9,r=r||0,C=C||1,ep=ep||1,n=n||"wheel,touch,pointer",g=!1!==g,i||(i=parseFloat(l.getComputedStyle(u).lineHeight)||22);var ex,ev,ey,eb,ek,ew,ej,eN=this,eC=0,eS=0,eA=e.passive||!y&&!1!==e.passive,e_=D(a,z),eT=D(a,O),eM=e_(),eE=eT(),eP=~n.indexOf("touch")&&!~n.indexOf("pointer")&&"pointerdown"===x[0],eR=_(a),eF=a.ownerDocument||c,ez=[0,0,0],eO=[0,0,0],eI=0,eL=function(){return eI=N()},eD=function(e,t){return(eN.event=e)&&j&&L(e.target,j)||t&&eP&&"touch"!==e.pointerType||ea&&ea(e,t)},eY=function(){var e=eN.deltaX=W(ez),r=eN.deltaY=W(eO),n=Math.abs(e)>=t,a=Math.abs(r)>=t;J&&(n||a)&&J(eN,e,r,ez,eO),n&&(G&&eN.deltaX>0&&G(eN),U&&eN.deltaX<0&&U(eN),K&&K(eN),Q&&eN.deltaX<0!=eC<0&&Q(eN),eC=eN.deltaX,ez[0]=ez[1]=ez[2]=0),a&&($&&eN.deltaY>0&&$(eN),q&&eN.deltaY<0&&q(eN),Z&&Z(eN),ee&&eN.deltaY<0!=eS<0&&ee(eN),eS=eN.deltaY,eO[0]=eO[1]=eO[2]=0),(eb||ey)&&(en&&en(eN),ey&&(A&&1===ey&&A(eN),P&&P(eN),ey=0),eb=!1),ew&&(ew=!1,1)&&eh&&eh(eN),ek&&(el(eN),ek=!1),ex=0},eB=function(e,t,r){ez[r]+=e,eO[r]+=t,eN._vx.update(e),eN._vy.update(t),g?ex||(ex=requestAnimationFrame(eY)):eY()},eW=function(e,t){eg&&!ej&&(eN.axis=ej=Math.abs(e)>Math.abs(t)?"x":"y",ew=!0),"y"!==ej&&(ez[2]+=e,eN._vx.update(e,!0)),"x"!==ej&&(eO[2]+=t,eN._vy.update(t,!0)),g?ex||(ex=requestAnimationFrame(eY)):eY()},eH=function(e){if(!eD(e,1)){var t=(e=B(e,y)).clientX,n=e.clientY,a=t-eN.x,i=n-eN.y,o=eN.isDragging;eN.x=t,eN.y=n,(o||(a||i)&&(Math.abs(eN.startX-t)>=r||Math.abs(eN.startY-n)>=r))&&(ey||(ey=o?2:1),o||(eN.isDragging=!0),eW(a,i))}},eV=eN.onPress=function(e){eD(e,1)||e&&e.button||(eN.axis=ej=null,ev.pause(),eN.isPressed=!0,e=B(e),eC=eS=0,eN.startX=eN.x=e.clientX,eN.startY=eN.y=e.clientY,eN._vx.reset(),eN._vy.reset(),T(ei?a:eF,x[1],eH,eA,!0),eN.deltaX=eN.deltaY=0,F&&F(eN))},eX=eN.onRelease=function(e){if(!eD(e,1)){M(ei?a:eF,x[1],eH,!0);var t=!isNaN(eN.y-eN.startY),r=eN.isDragging,n=r&&(Math.abs(eN.x-eN.startX)>3||Math.abs(eN.y-eN.startY)>3),i=B(e);!n&&t&&(eN._vx.reset(),eN._vy.reset(),y&&ef&&o.delayedCall(.08,function(){if(N()-eI>300&&!e.defaultPrevented){if(e.target.click)e.target.click();else if(eF.createEvent){var t=eF.createEvent("MouseEvents");t.initMouseEvent("click",!0,!0,l,1,i.screenX,i.screenY,i.clientX,i.clientY,!1,!1,!1,!1,0,null),e.target.dispatchEvent(t)}}})),eN.isDragging=eN.isGesturing=eN.isPressed=!1,b&&r&&!ei&&ev.restart(!0),ey&&eY(),E&&r&&E(eN),X&&X(eN,n)}},eG=function(e){return e.touches&&e.touches.length>1&&(eN.isGesturing=!0)&&eo(e,eN.isDragging)},eU=function(){return eN.isGesturing=!1,es(eN)},eq=function(e){if(!eD(e)){var t=e_(),r=eT();eB((t-eM)*ep,(r-eE)*ep,1),eM=t,eE=r,b&&ev.restart(!0)}},e$=function(e){if(!eD(e)){e=B(e,y),el&&(ek=!0);var t=(1===e.deltaMode?i:2===e.deltaMode?l.innerHeight:1)*C;eB(e.deltaX*t,e.deltaY*t,0),b&&!ei&&ev.restart(!0)}},eK=function(e){if(!eD(e)){var t=e.clientX,r=e.clientY,n=t-eN.x,a=r-eN.y;eN.x=t,eN.y=r,eb=!0,b&&ev.restart(!0),(n||a)&&eW(n,a)}},eZ=function(e){eN.event=e,et(eN)},eJ=function(e){eN.event=e,er(eN)},eQ=function(e){return eD(e)||B(e,y)&&eu(eN)};ev=eN._dc=o.delayedCall(w||.25,function(){eN._vx.reset(),eN._vy.reset(),ev.pause(),b&&b(eN)}).pause(),eN.deltaX=eN.deltaY=0,eN._vx=Y(0,50,!0),eN._vy=Y(0,50,!0),eN.scrollX=e_,eN.scrollY=eT,eN.isDragging=eN.isGesturing=eN.isPressed=!1,v(this),eN.enable=function(e){return!eN.isEnabled&&(T(eR?eF:a,"scroll",R),n.indexOf("scroll")>=0&&T(eR?eF:a,"scroll",eq,eA,em),n.indexOf("wheel")>=0&&T(a,"wheel",e$,eA,em),(n.indexOf("touch")>=0&&p||n.indexOf("pointer")>=0)&&(T(a,x[0],eV,eA,em),T(eF,x[2],eX),T(eF,x[3],eX),ef&&T(a,"click",eL,!0,!0),eu&&T(a,"click",eQ),eo&&T(eF,"gesturestart",eG),es&&T(eF,"gestureend",eU),et&&T(a,m+"enter",eZ),er&&T(a,m+"leave",eJ),en&&T(a,m+"move",eK)),eN.isEnabled=!0,eN.isDragging=eN.isGesturing=eN.isPressed=eb=ey=!1,eN._vx.reset(),eN._vy.reset(),eM=e_(),eE=eT(),e&&e.type&&eV(e),ec&&ec(eN)),eN},eN.disable=function(){eN.isEnabled&&(k.filter(function(e){return e!==eN&&_(e.target)}).length||M(eR?eF:a,"scroll",R),eN.isPressed&&(eN._vx.reset(),eN._vy.reset(),M(ei?a:eF,x[1],eH,!0)),M(eR?eF:a,"scroll",eq,em),M(a,"wheel",e$,em),M(a,x[0],eV,em),M(eF,x[2],eX),M(eF,x[3],eX),M(a,"click",eL,!0),M(a,"click",eQ),M(eF,"gesturestart",eG),M(eF,"gestureend",eU),M(a,m+"enter",eZ),M(a,m+"leave",eJ),M(a,m+"move",eK),eN.isEnabled=eN.isPressed=eN.isDragging=!1,ed&&ed(eN))},eN.kill=eN.revert=function(){eN.disable();var e=k.indexOf(eN);e>=0&&k.splice(e,1),h===eN&&(h=0)},k.push(eN),ei&&_(a)&&(h=eN),eN.enable(S)},e=[{key:"velocityX",get:function(){return this._vx.getVelocity()}},{key:"velocityY",get:function(){return this._vy.getVelocity()}}],function(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}(t.prototype,e),t}();X.version="3.15.0",X.create=function(e){return new X(e)},X.register=V,X.getAll=function(){return k.slice()},X.getById=function(e){return k.filter(function(t){return t.vars.id===e})[0]},y()&&o.registerPlugin(X);var G,U,q,$,K,Z,J,Q,ee,et,er,en,ea,ei,eo,es,el,ec,ed,eu,ep,em,ef,eg,eh,ex,ev,ey,eb,ek,ew,ej,eN,eC,eS,eA,e_,eT,eM=1,eE=Date.now,eP=eE(),eR=0,eF=0,ez=function(e,t,r){var n=e$(e)&&("clamp("===e.substr(0,6)||e.indexOf("max")>-1);return r["_"+t+"Clamp"]=n,n?e.substr(6,e.length-7):e},eO=function(e,t){return t&&(!e$(e)||"clamp("!==e.substr(0,6))?"clamp("+e+")":e},eI=function(){return ei=1},eL=function(){return ei=0},eD=function(e){return e},eY=function(e){return Math.round(1e5*e)/1e5||0},eB=function(){return"u">typeof window},eW=function(){return G||eB()&&(G=window.gsap)&&G.registerPlugin&&G},eH=function(e){return!!~J.indexOf(e)},eV=function(e){return("Height"===e?ew:q["inner"+e])||K["client"+e]||Z["client"+e]},eX=function(e){return A(e,"getBoundingClientRect")||(eH(e)?function(){return tJ.width=q.innerWidth,tJ.height=ew,tJ}:function(){return ts(e)})},eG=function(e,t,r){var n=r.d,a=r.d2,i=r.a;return(i=A(e,"getBoundingClientRect"))?function(){return i()[n]}:function(){return(t?eV(a):e["client"+a])||0}},eU=function(e,t){var r=t.s,n=t.d2,a=t.d,i=t.a;return Math.max(0,(i=A(e,r="scroll"+n))?i()-eX(e)()[a]:eH(e)?(K[r]||Z[r])-eV(n):e[r]-e["offset"+n])},eq=function(e,t){for(var r=0;r<ed.length;r+=3)(!t||~t.indexOf(ed[r+1]))&&e(ed[r],ed[r+1],ed[r+2])},e$=function(e){return"string"==typeof e},eK=function(e){return"function"==typeof e},eZ=function(e){return"number"==typeof e},eJ=function(e){return"object"==typeof e},eQ=function(e,t,r){return e&&e.progress(+!t)&&r&&e.pause()},e0=function(e,t,r){if(e.enabled){var n=e._ctx?e._ctx.add(function(){return t(e,r)}):t(e,r);n&&n.totalTime&&(e.callbackAnimation=n)}},e1=Math.abs,e2="left",e3="right",e5="bottom",e4="width",e7="height",e8="Right",e6="Left",e9="Bottom",te="padding",tt="margin",tr="Width",tn="Height",ta=function(e){return q.getComputedStyle(e.nodeType===Node.DOCUMENT_NODE?e.scrollingElement:e)},ti=function(e){var t=ta(e).position;e.style.position="absolute"===t||"fixed"===t?t:"relative"},to=function(e,t){for(var r in t)r in e||(e[r]=t[r]);return e},ts=function(e,t){var r=t&&"matrix(1, 0, 0, 1, 0, 0)"!==ta(e)[eo]&&G.to(e,{x:0,y:0,xPercent:0,yPercent:0,rotation:0,rotationX:0,rotationY:0,scale:1,skewX:0,skewY:0}).progress(1),n=e.getBoundingClientRect?e.getBoundingClientRect():e.scrollingElement.getBoundingClientRect();return r&&r.progress(0).kill(),n},tl=function(e,t){var r=t.d2;return e["offset"+r]||e["client"+r]||0},tc=function(e){var t,r=[],n=e.labels,a=e.duration();for(t in n)r.push(n[t]/a);return r},td=function(e){var t=G.utils.snap(e),r=Array.isArray(e)&&e.slice(0).sort(function(e,t){return e-t});return r?function(e,n,a){var i;if(void 0===a&&(a=.001),!n)return t(e);if(n>0){for(e-=a,i=0;i<r.length;i++)if(r[i]>=e)return r[i];return r[i-1]}for(i=r.length,e+=a;i--;)if(r[i]<=e)return r[i];return r[0]}:function(r,n,a){void 0===a&&(a=.001);var i=t(r);return!n||Math.abs(i-r)<a||i-r<0==n<0?i:t(n<0?r-e:r+e)}},tu=function(e,t,r,n){return r.split(",").forEach(function(r){return e(t,r,n)})},tp=function(e,t,r,n,a){return e.addEventListener(t,r,{passive:!n,capture:!!a})},tm=function(e,t,r,n){return e.removeEventListener(t,r,!!n)},tf=function(e,t,r){(r=r&&r.wheelHandler)&&(e(t,"wheel",r),e(t,"touchmove",r))},tg={startColor:"green",endColor:"red",indent:0,fontSize:"16px",fontWeight:"normal"},th={toggleActions:"play",anticipatePin:0},tx={top:0,left:0,center:.5,bottom:1,right:1},tv=function(e,t){if(e$(e)){var r=e.indexOf("="),n=~r?(e.charAt(r-1)+1)*parseFloat(e.substr(r+1)):0;~r&&(e.indexOf("%")>r&&(n*=t/100),e=e.substr(0,r-1)),e=n+(e in tx?tx[e]*t:~e.indexOf("%")?parseFloat(e)*t/100:parseFloat(e)||0)}return e},ty=function(e,t,r,n,a,i,o,s){var l=a.startColor,c=a.endColor,d=a.fontSize,u=a.indent,p=a.fontWeight,m=$.createElement("div"),f=eH(r)||"fixed"===A(r,"pinType"),g=-1!==e.indexOf("scroller"),h=f?Z:"IFRAME"===r.tagName?r.contentDocument.body:r,x=-1!==e.indexOf("start"),v=x?l:c,y="border-color:"+v+";font-size:"+d+";color:"+v+";font-weight:"+p+";pointer-events:none;white-space:nowrap;font-family:sans-serif,Arial;z-index:1000;padding:4px 8px;border-width:0;border-style:solid;";return y+="position:"+((g||s)&&f?"fixed;":"absolute;"),(g||s||!f)&&(y+=(n===O?e3:e5)+":"+(i+parseFloat(u))+"px;"),o&&(y+="box-sizing:border-box;text-align:left;width:"+o.offsetWidth+"px;"),m._isStart=x,m.setAttribute("class","gsap-marker-"+e+(t?" marker-"+t:"")),m.style.cssText=y,m.innerText=t||0===t?e+"-"+t:e,h.children[0]?h.insertBefore(m,h.children[0]):h.appendChild(m),m._offset=m["offset"+n.op.d2],tb(m,0,n,x),m},tb=function(e,t,r,n){var a={display:"block"},i=r[n?"os2":"p2"],o=r[n?"p2":"os2"];e._isFlipped=n,a[r.a+"Percent"]=n?-100:0,a[r.a]=n?"1px":0,a["border"+i+tr]=1,a["border"+o+tr]=0,a[r.p]=t+"px",G.set(e,a)},tk=[],tw={},tj=function(){return eE()-eR>34&&(eS||(eS=requestAnimationFrame(tH)))},tN=function(){ef&&ef.isPressed&&!(ef.startX>Z.clientWidth)||(w.cache++,ef?eS||(eS=requestAnimationFrame(tH)):tH(),eR||tM("scrollStart"),eR=eE())},tC=function(){ex=q.innerWidth,eh=q.innerHeight},tS=function(e){w.cache++,(!0===e||!ea&&!em&&!$.fullscreenElement&&!$.webkitFullscreenElement&&(!eg||ex!==q.innerWidth||Math.abs(q.innerHeight-eh)>.25*q.innerHeight))&&Q.restart(!0)},tA={},t_=[],tT=function e(){return tm(t4,"scrollEnd",e)||tY(!0)},tM=function(e){return tA[e]&&tA[e].map(function(e){return e()})||t_},tE=[],tP=function(e){for(var t=0;t<tE.length;t+=5)(!e||tE[t+4]&&tE[t+4].query===e)&&(tE[t].style.cssText=tE[t+1],tE[t].getBBox&&tE[t].setAttribute("transform",tE[t+2]||""),tE[t+3].uncache=1)},tR=function(){return w.forEach(function(e){return eK(e)&&++e.cacheID&&(e.rec=e())})},tF=function(e,t){var r;for(es=0;es<tk.length;es++)(r=tk[es])&&(!t||r._ctx===t)&&(e?r.kill(1):r.revert(!0,!0));ej=!0,t&&tP(t),t||tM("revert")},tz=function(e,t){w.cache++,(t||!eA)&&w.forEach(function(e){return eK(e)&&e.cacheID++&&(e.rec=0)}),e$(e)&&(q.history.scrollRestoration=eb=e)},tO=0,tI=function(){if(e_!==tO){var e=e_=tO;requestAnimationFrame(function(){return e===tO&&tY(!0)})}},tL=function(){Z.appendChild(ek),ew=!ef&&ek.offsetHeight||q.innerHeight,Z.removeChild(ek)},tD=function(e){return ee(".gsap-marker-start, .gsap-marker-end, .gsap-marker-scroller-start, .gsap-marker-scroller-end").forEach(function(t){return t.style.display=e?"none":"block"})},tY=function(e,t){if(K=$.documentElement,Z=$.body,J=[q,$,K,Z],eR&&!e&&!ej)return void tp(t4,"scrollEnd",tT);tL(),eA=t4.isRefreshing=!0,ej||tR();var r=tM("refreshInit");eu&&t4.sort(),t||tF(),w.forEach(function(e){eK(e)&&(e.smooth&&(e.target.style.scrollBehavior="auto"),e(0))}),tk.slice(0).forEach(function(e){return e.refresh()}),ej=!1,tk.forEach(function(e){if(e._subPinOffset&&e.pin){var t=e.vars.horizontal?"offsetWidth":"offsetHeight",r=e.pin[t];e.revert(!0,1),e.adjustPinSpacing(e.pin[t]-r),e.refresh()}}),eN=1,tD(!0),tk.forEach(function(e){var t=eU(e.scroller,e._dir),r="max"===e.vars.end||e._endClamp&&e.end>t,n=e._startClamp&&e.start>=t;(r||n)&&e.setPositions(n?t-1:e.start,r?Math.max(n?t:e.start+1,t):e.end,!0)}),tD(!1),eN=0,r.forEach(function(e){return e&&e.render&&e.render(-1)}),w.forEach(function(e){eK(e)&&(e.smooth&&requestAnimationFrame(function(){return e.target.style.scrollBehavior="smooth"}),e.rec&&e(e.rec))}),tz(eb,1),Q.pause(),tO++,eA=2,tH(2),tk.forEach(function(e){return eK(e.vars.onRefresh)&&e.vars.onRefresh(e)}),eA=t4.isRefreshing=!1,tM("refresh")},tB=0,tW=1,tH=function(e){if(2===e||!eA&&!ej){t4.isUpdating=!0,eT&&eT.update(0);var t=tk.length,r=eE(),n=r-eP>=50,a=t&&tk[0].scroll();if(tW=tB>a?-1:1,eA||(tB=a),n&&(eR&&!ei&&r-eR>200&&(eR=0,tM("scrollEnd")),er=eP,eP=r),tW<0){for(es=t;es-- >0;)tk[es]&&tk[es].update(0,n);tW=1}else for(es=0;es<t;es++)tk[es]&&tk[es].update(0,n);t4.isUpdating=!1}eS=0},tV=[e2,"top",e5,e3,tt+e9,tt+e8,tt+"Top",tt+e6,"display","flexShrink","float","zIndex","gridColumnStart","gridColumnEnd","gridRowStart","gridRowEnd","gridArea","justifySelf","alignSelf","placeSelf","order"],tX=tV.concat([e4,e7,"boxSizing","max"+tr,"max"+tn,"position",tt,te,te+"Top",te+e8,te+e9,te+e6]),tG=function(e,t,r){t$(r);var n=e._gsap;if(n.spacerIsNative)t$(n.spacerState);else if(e._gsap.swappedIn){var a=t.parentNode;a&&(a.insertBefore(e,t),a.removeChild(t))}e._gsap.swappedIn=!1},tU=function(e,t,r,n){if(!e._gsap.swappedIn){for(var a,i=tV.length,o=t.style,s=e.style;i--;)o[a=tV[i]]=r[a];o.position="absolute"===r.position?"absolute":"relative","inline"===r.display&&(o.display="inline-block"),s[e5]=s[e3]="auto",o.flexBasis=r.flexBasis||"auto",o.overflow="visible",o.boxSizing="border-box",o[e4]=tl(e,z)+"px",o[e7]=tl(e,O)+"px",o[te]=s[tt]=s.top=s[e2]="0",t$(n),s[e4]=s["max"+tr]=r[e4],s[e7]=s["max"+tn]=r[e7],s[te]=r[te],e.parentNode!==t&&(e.parentNode.insertBefore(t,e),t.appendChild(e)),e._gsap.swappedIn=!0}},tq=/([A-Z])/g,t$=function(e){if(e){var t,r,n=e.t.style,a=e.length,i=0;for((e.t._gsap||G.core.getCache(e.t)).uncache=1;i<a;i+=2)r=e[i+1],t=e[i],r?n[t]=r:n[t]&&n.removeProperty(t.replace(tq,"-$1").toLowerCase())}},tK=function(e){for(var t=tX.length,r=e.style,n=[],a=0;a<t;a++)n.push(tX[a],r[tX[a]]);return n.t=e,n},tZ=function(e,t,r){for(var n,a=[],i=e.length,o=8*!!r;o<i;o+=2)n=e[o],a.push(n,n in t?t[n]:e[o+1]);return a.t=e.t,a},tJ={left:0,top:0},tQ=function(e,t,r,n,a,i,o,s,l,c,d,u,p,m){eK(e)&&(e=e(s)),e$(e)&&"max"===e.substr(0,3)&&(e=u+("="===e.charAt(4)?tv("0"+e.substr(3),r):0));var f,g,h,x=p?p.time():0;if(p&&p.seek(0),isNaN(e)||(e*=1),eZ(e))p&&(e=G.utils.mapRange(p.scrollTrigger.start,p.scrollTrigger.end,0,u,e)),o&&tb(o,r,n,!0);else{eK(t)&&(t=t(s));var v,y,b,k,w=(e||"0").split(" ");(v=ts(h=I(t,s)||Z)||{}).left||v.top||"none"!==ta(h).display||(k=h.style.display,h.style.display="block",v=ts(h),k?h.style.display=k:h.style.removeProperty("display")),y=tv(w[0],v[n.d]),b=tv(w[1]||"0",r),e=v[n.p]-l[n.p]-c+y+a-b,o&&tb(o,b,n,r-b<20||o._isStart&&b>20),r-=r-b}if(m&&(s[m]=e||-.001,e<0&&(e=0)),i){var j=e+r,N=i._isStart;f="scroll"+n.d2,tb(i,j,n,N&&j>20||!N&&(d?Math.max(Z[f],K[f]):i.parentNode[f])<=j+1),d&&(l=ts(o),d&&(i.style[n.op.p]=l[n.op.p]-n.op.m-i._offset+"px"))}return p&&h&&(f=ts(h),p.seek(u),g=ts(h),p._caScrollDist=f[n.p]-g[n.p],e=e/p._caScrollDist*u),p&&p.seek(x),p?e:Math.round(e)},t0=/(webkit|moz|length|cssText|inset)/i,t1=function(e,t,r,n){if(e.parentNode!==t){var a,i,o=e.style;if(t===Z){for(a in e._stOrig=o.cssText,i=ta(e))+a||t0.test(a)||!i[a]||"string"!=typeof o[a]||"0"===a||(o[a]=i[a]);o.top=r,o.left=n}else o.cssText=e._stOrig;G.core.getCache(e).uncache=1,t.appendChild(e)}},t2=function(e,t,r){var n=t,a=n;return function(t){var i=Math.round(e());return i!==n&&i!==a&&Math.abs(i-n)>3&&Math.abs(i-a)>3&&(t=i,r&&r()),a=n,n=Math.round(t)}},t3=function(e,t,r){var n={};n[t.p]="+="+r,G.set(e,n)},t5=function(e,t){var r=D(e,t),n="_scroll"+t.p2,a=function t(a,i,o,s,l){var c=t.tween,d=i.onComplete,u={};o=o||r();var p=t2(r,o,function(){c.kill(),t.tween=0});return l=s&&l||0,s=s||a-o,c&&c.kill(),i[n]=a,i.inherit=!1,i.modifiers=u,u[n]=function(){return p(o+s*c.ratio+l*c.ratio*c.ratio)},i.onUpdate=function(){w.cache++,t.tween&&tH()},i.onComplete=function(){t.tween=0,d&&d.call(c)},c=t.tween=G.to(e,i)};return e[n]=r,r.wheelHandler=function(){return a.tween&&a.tween.kill()&&(a.tween=0)},tp(e,"wheel",r.wheelHandler),t4.isTouch&&tp(e,"touchmove",r.wheelHandler),a},t4=function(){function e(t,r){U||e.register(G)||console.warn("Please gsap.registerPlugin(ScrollTrigger)"),ey(this),this.init(t,r)}return e.prototype.init=function(t,r){if(this.progress=this.start=0,this.vars&&this.kill(!0,!0),!eF){this.update=this.refresh=this.kill=eD;return}var n,a,i,o,s,l,c,d,u,p,m,f,g,h,x,v,y,b,k,N,C,S,_,T,M,E,P,R,F,L,Y,B,W,H,V,X,U,J,Q,en,eo,el=t=to(e$(t)||eZ(t)||t.nodeType?{trigger:t}:t,th),ec=el.onUpdate,ed=el.toggleClass,em=el.id,ef=el.onToggle,eg=el.onRefresh,eh=el.scrub,ex=el.trigger,ev=el.pin,ey=el.pinSpacing,eb=el.invalidateOnRefresh,ek=el.anticipatePin,ew=el.onScrubComplete,ej=el.onSnapComplete,eS=el.once,e_=el.snap,eP=el.pinReparent,eI=el.pinSpacer,eL=el.containerAnimation,eB=el.fastScrollEnd,eW=el.preventOverlaps,eV=t.horizontal||t.containerAnimation&&!1!==t.horizontal?z:O,eq=!eh&&0!==eh,e2=I(t.scroller||q),e3=G.core.getCache(e2),e5=eH(e2),tu=("pinType"in t?t.pinType:A(e2,"pinType")||e5&&"fixed")==="fixed",tf=[t.onEnter,t.onLeave,t.onEnterBack,t.onLeaveBack],tx=eq&&t.toggleActions.split(" "),tb="markers"in t?t.markers:th.markers,tj=e5?0:parseFloat(ta(e2)["border"+eV.p2+tr])||0,tC=this,tA=t.onRefreshInit&&function(){return t.onRefreshInit(tC)},t_=eG(e2,e5,eV),tM=!e5||~j.indexOf(e2)?eX(e2):function(){return tJ},tE=0,tP=0,tR=0,tF=D(e2,eV);if(tC._startClamp=tC._endClamp=!1,tC._dir=eV,ek*=45,tC.scroller=e2,tC.scroll=eL?eL.time.bind(eL):tF,l=tF(),tC.vars=t,r=r||t.animation,"refreshPriority"in t&&(eu=1,-9999===t.refreshPriority&&(eT=tC)),e3.tweenScroll=e3.tweenScroll||{top:t5(e2,O),left:t5(e2,z)},tC.tweenTo=i=e3.tweenScroll[eV.p],tC.scrubDuration=function(e){(V=eZ(e)&&e)?H?H.duration(e):H=G.to(r,{ease:"expo",totalProgress:"+=0",inherit:!1,duration:V,paused:!0,onComplete:function(){return ew&&ew(tC)}}):(H&&H.progress(1).kill(),H=0)},r&&(r.vars.lazy=!1,r._initted&&!tC.isReverted||!1!==r.vars.immediateRender&&!1!==t.immediateRender&&r.duration()&&r.render(0,!0,!0),tC.animation=r.pause(),r.scrollTrigger=tC,tC.scrubDuration(eh),B=0,em||(em=r.vars.id)),e_&&((!eJ(e_)||e_.push)&&(e_={snapTo:e_}),"scrollBehavior"in Z.style&&G.set(e5?[Z,K]:e2,{scrollBehavior:"auto"}),w.forEach(function(e){return eK(e)&&e.target===(e5?$.scrollingElement||K:e2)&&(e.smooth=!1)}),s=eK(e_.snapTo)?e_.snapTo:"labels"===e_.snapTo?(n=r,function(e){return G.utils.snap(tc(n),e)}):"labelsDirectional"===e_.snapTo?(a=r,function(e,t){return td(tc(a))(e,t.direction)}):!1!==e_.directional?function(e,t){return td(e_.snapTo)(e,eE()-tP<500?0:t.direction)}:G.utils.snap(e_.snapTo),X=eJ(X=e_.duration||{min:.1,max:2})?et(X.min,X.max):et(X,X),U=G.delayedCall(e_.delay||V/2||.1,function(){var e=tF(),t=eE()-tP<500,n=i.tween;if((t||10>Math.abs(tC.getVelocity()))&&!n&&!ei&&tE!==e){var a,o,l=(e-d)/v,c=r&&!eq?r.totalProgress():l,p=t?0:(c-W)/(eE()-er)*1e3||0,m=G.utils.clamp(-l,1-l,e1(p/2)*p/.185),f=l+(!1===e_.inertia?0:m),g=e_,h=g.onStart,x=g.onInterrupt,y=g.onComplete;if(eZ(a=s(f,tC))||(a=f),o=Math.max(0,Math.round(d+a*v)),e<=u&&e>=d&&o!==e){if(n&&!n._initted&&n.data<=e1(o-e))return;!1===e_.inertia&&(m=a-l),i(o,{duration:X(e1(.185*Math.max(e1(f-c),e1(a-c))/p/.05||0)),ease:e_.ease||"power3",data:e1(o-e),onInterrupt:function(){return U.restart(!0)&&x&&e0(tC,x)},onComplete:function(){tC.update(),tE=tF(),r&&!eq&&(H?H.resetTo("totalProgress",a,r._tTime/r._tDur):r.progress(a)),B=W=r&&!eq?r.totalProgress():tC.progress,ej&&ej(tC),y&&e0(tC,y)}},e,m*v,o-e-m*v),h&&e0(tC,h,i.tween)}}else tC.isActive&&tE!==e&&U.restart(!0)}).pause()),em&&(tw[em]=tC),(eo=(ex=tC.trigger=I(ex||!0!==ev&&ev))&&ex._gsap&&ex._gsap.stRevert)&&(eo=eo(tC)),ev=!0===ev?ex:I(ev),e$(ed)&&(ed={targets:ex,className:ed}),ev&&(!1===ey||ey===tt||(ey=(!!ey||!ev.parentNode||!ev.parentNode.style||"flex"!==ta(ev.parentNode).display)&&te),tC.pin=ev,(o=G.core.getCache(ev)).spacer?y=o.pinState:(eI&&((eI=I(eI))&&!eI.nodeType&&(eI=eI.current||eI.nativeElement),o.spacerIsNative=!!eI,eI&&(o.spacerState=tK(eI))),o.spacer=N=eI||$.createElement("div"),N.classList.add("pin-spacer"),em&&N.classList.add("pin-spacer-"+em),o.pinState=y=tK(ev)),!1!==t.force3D&&G.set(ev,{force3D:!0}),tC.spacer=N=o.spacer,E=(Y=ta(ev))[ey+eV.os2],S=G.getProperty(ev),_=G.quickSetter(ev,eV.a,"px"),tU(ev,N,Y),k=tK(ev)),tb){h=eJ(tb)?to(tb,tg):tg,f=ty("scroller-start",em,e2,eV,h,0),g=ty("scroller-end",em,e2,eV,h,0,f),C=f["offset"+eV.op.d2];var tz=I(A(e2,"content")||e2);p=this.markerStart=ty("start",em,tz,eV,h,C,0,eL),m=this.markerEnd=ty("end",em,tz,eV,h,C,0,eL),eL&&(en=G.quickSetter([p,m],eV.a,"px")),tu||j.length&&!0===A(e2,"fixedMarkers")||(ti(e5?Z:e2),G.set([f,g],{force3D:!0}),R=G.quickSetter(f,eV.a,"px"),L=G.quickSetter(g,eV.a,"px"))}if(eL){var tO=eL.vars.onUpdate,tL=eL.vars.onUpdateParams;eL.eventCallback("onUpdate",function(){tC.update(0,0,1),tO&&tO.apply(eL,tL||[])})}if(tC.previous=function(){return tk[tk.indexOf(tC)-1]},tC.next=function(){return tk[tk.indexOf(tC)+1]},tC.revert=function(e,t){if(!t)return tC.kill(!0);var n=!1!==e||!tC.enabled,a=ea;n!==tC.isReverted&&(n&&(J=Math.max(tF(),tC.scroll.rec||0),tR=tC.progress,Q=r&&r.progress()),p&&[p,m,f,g].forEach(function(e){return e.style.display=n?"none":"block"}),n&&(ea=tC,tC.update(n)),!ev||eP&&tC.isActive||(n?tG(ev,N,y):tU(ev,N,ta(ev),P)),n||tC.update(n),ea=a,tC.isReverted=n)},tC.refresh=function(n,a,o,s){if(!ea&&tC.enabled||a){if(ev&&n&&eR)return void tp(e,"scrollEnd",tT);!eA&&tA&&tA(tC),ea=tC,i.tween&&!o&&(i.tween.kill(),i.tween=0),H&&H.pause(),eb&&r&&(r.revert({kill:!1}).invalidate(),r.getChildren?r.getChildren(!0,!0,!1).forEach(function(e){return e.vars.immediateRender&&e.render(0,!0,!0)}):r.vars.immediateRender&&r.render(0,!0,!0)),tC.isReverted||tC.revert(!0,!0),tC._subPinOffset=!1;var h,w,j,C,A,_,E,R,L,Y,B,W,V,X=t_(),q=tM(),ee=eL?eL.duration():eU(e2,eV),et=v<=.01||!v,er=0,en=s||0,ei=eJ(o)?o.end:t.end,eo=t.endTrigger||ex,es=eJ(o)?o.start:t.start||(0!==t.start&&ex?ev?"0 0":"0 100%":0),el=tC.pinnedContainer=t.pinnedContainer&&I(t.pinnedContainer,tC),ec=ex&&Math.max(0,tk.indexOf(tC))||0,ed=ec;for(tb&&eJ(o)&&(W=G.getProperty(f,eV.p),V=G.getProperty(g,eV.p));ed-- >0;)(_=tk[ed]).end||_.refresh(0,1)||(ea=tC),(E=_.pin)&&(E===ex||E===ev||E===el)&&!_.isReverted&&(Y||(Y=[]),Y.unshift(_),_.revert(!0,!0)),_!==tk[ed]&&(ec--,ed--);for(eK(es)&&(es=es(tC)),d=tQ(es=ez(es,"start",tC),ex,X,eV,tF(),p,f,tC,q,tj,tu,ee,eL,tC._startClamp&&"_startClamp")||(ev?-.001:0),eK(ei)&&(ei=ei(tC)),e$(ei)&&!ei.indexOf("+=")&&(~ei.indexOf(" ")?ei=(e$(es)?es.split(" ")[0]:"")+ei:(er=tv(ei.substr(2),X),ei=e$(es)?es:(eL?G.utils.mapRange(0,eL.duration(),eL.scrollTrigger.start,eL.scrollTrigger.end,d):d)+er,eo=ex)),ei=ez(ei,"end",tC),u=Math.max(d,tQ(ei||(eo?"100% 0":ee),eo,X,eV,tF()+er,m,g,tC,q,tj,tu,ee,eL,tC._endClamp&&"_endClamp"))||-.001,er=0,ed=ec;ed--;)(E=(_=tk[ed]||{}).pin)&&_.start-_._pinPush<=d&&!eL&&_.end>0&&(h=_.end-(tC._startClamp?Math.max(0,_.start):_.start),(E===ex&&_.start-_._pinPush<d||E===el)&&isNaN(es)&&(er+=h*(1-_.progress)),E===ev&&(en+=h));if(d+=er,u+=er,tC._startClamp&&(tC._startClamp+=er),tC._endClamp&&!eA&&(tC._endClamp=u||-.001,u=Math.min(u,eU(e2,eV))),v=u-d||(d-=.01)&&.001,et&&(tR=G.utils.clamp(0,1,G.utils.normalize(d,u,J))),tC._pinPush=en,p&&er&&((h={})[eV.a]="+="+er,el&&(h[eV.p]="-="+tF()),G.set([p,m],h)),ev&&!(eN&&tC.end>=eU(e2,eV)))h=ta(ev),C=eV===O,j=tF(),T=parseFloat(S(eV.a))+en,!ee&&u>1&&(B={style:B=(e5?$.scrollingElement||K:e2).style,value:B["overflow"+eV.a.toUpperCase()]},e5&&"scroll"!==ta(Z)["overflow"+eV.a.toUpperCase()]&&(B.style["overflow"+eV.a.toUpperCase()]="scroll")),tU(ev,N,h),k=tK(ev),w=ts(ev,!0),R=tu&&D(e2,C?z:O)(),ey?((P=[ey+eV.os2,v+en+"px"]).t=N,(ed=ey===te?tl(ev,eV)+v+en:0)&&(P.push(eV.d,ed+"px"),"auto"!==N.style.flexBasis&&(N.style.flexBasis=ed+"px")),t$(P),el&&tk.forEach(function(e){e.pin===el&&!1!==e.vars.pinSpacing&&(e._subPinOffset=!0)}),tu&&tF(J)):(ed=tl(ev,eV))&&"auto"!==N.style.flexBasis&&(N.style.flexBasis=ed+"px"),tu&&((A={top:w.top+(C?j-d:R)+"px",left:w.left+(C?R:j-d)+"px",boxSizing:"border-box",position:"fixed"})[e4]=A["max"+tr]=Math.ceil(w.width)+"px",A[e7]=A["max"+tn]=Math.ceil(w.height)+"px",A[tt]=A[tt+"Top"]=A[tt+e8]=A[tt+e9]=A[tt+e6]="0",A[te]=h[te],A[te+"Top"]=h[te+"Top"],A[te+e8]=h[te+e8],A[te+e9]=h[te+e9],A[te+e6]=h[te+e6],b=tZ(y,A,eP),eA&&tF(0)),r?(L=r._initted,ep(1),r.render(r.duration(),!0,!0),M=S(eV.a)-T+v+en,F=Math.abs(v-M)>1,tu&&F&&b.splice(b.length-2,2),r.render(0,!0,!0),L||r.invalidate(!0),r.parent||r.totalTime(r.totalTime()),ep(0)):M=v,B&&(B.value?B.style["overflow"+eV.a.toUpperCase()]=B.value:B.style.removeProperty("overflow-"+eV.a));else if(ex&&tF()&&!eL)for(w=ex.parentNode;w&&w!==Z;)w._pinOffset&&(d-=w._pinOffset,u-=w._pinOffset),w=w.parentNode;Y&&Y.forEach(function(e){return e.revert(!1,!0)}),tC.start=d,tC.end=u,l=c=eA?J:tF(),eL||eA||(l<J&&tF(J),tC.scroll.rec=0),tC.revert(!1,!0),tP=eE(),U&&(tE=-1,U.restart(!0)),ea=0,r&&eq&&(r._initted||Q)&&r.progress()!==Q&&r.progress(Q||0,!0).render(r.time(),!0,!0),(et||tR!==tC.progress||eL||eb||r&&!r._initted)&&(r&&!eq&&(r._initted||tR||!1!==r.vars.immediateRender)&&r.totalProgress(eL&&d<-.001&&!tR?G.utils.normalize(d,u,0):tR,!0),tC.progress=et||(l-d)/v===tR?0:tR),ev&&ey&&(N._pinOffset=Math.round(tC.progress*M)),H&&H.invalidate(),isNaN(W)||(W-=G.getProperty(f,eV.p),V-=G.getProperty(g,eV.p),t3(f,eV,W),t3(p,eV,W-(s||0)),t3(g,eV,V),t3(m,eV,V-(s||0))),et&&!eA&&tC.update(),!eg||eA||x||(x=!0,eg(tC),x=!1)}},tC.getVelocity=function(){return(tF()-c)/(eE()-er)*1e3||0},tC.endAnimation=function(){eQ(tC.callbackAnimation),r&&(H?H.progress(1):r.paused()?eq||eQ(r,tC.direction<0,1):eQ(r,r.reversed()))},tC.labelToScroll=function(e){return r&&r.labels&&(d||tC.refresh()||d)+r.labels[e]/r.duration()*v||0},tC.getTrailing=function(e){var t=tk.indexOf(tC),r=tC.direction>0?tk.slice(0,t).reverse():tk.slice(t+1);return(e$(e)?r.filter(function(t){return t.vars.preventOverlaps===e}):r).filter(function(e){return tC.direction>0?e.end<=d:e.start>=u})},tC.update=function(e,t,n){if(!eL||n||e){var a,o,s,p,m,g,h,x=!0===eA?J:tC.scroll(),y=e?0:(x-d)/v,w=y<0?0:y>1?1:y||0,j=tC.progress;if(t&&(c=l,l=eL?tF():x,e_&&(W=B,B=r&&!eq?r.totalProgress():w)),ek&&ev&&!ea&&!eM&&eR&&(!w&&d<x+(x-c)/(eE()-er)*ek?w=1e-4:1===w&&u>x+(x-c)/(eE()-er)*ek&&(w=.9999)),w!==j&&tC.enabled){if(p=(m=(a=tC.isActive=!!w&&w<1)!=(!!j&&j<1))||!!w!=!!j,tC.direction=w>j?1:-1,tC.progress=w,p&&!ea&&(o=w&&!j?0:1===w?1:1===j?2:3,eq&&(s=!m&&"none"!==tx[o+1]&&tx[o+1]||tx[o],h=r&&("complete"===s||"reset"===s||s in r))),eW&&(m||h)&&(h||eh||!r)&&(eK(eW)?eW(tC):tC.getTrailing(eW).forEach(function(e){return e.endAnimation()})),!eq&&(!H||ea||eM?r&&r.totalProgress(w,!!(ea&&(tP||e))):(H._dp._time-H._start!==H._time&&H.render(H._dp._time-H._start),H.resetTo?H.resetTo("totalProgress",w,r._tTime/r._tDur):(H.vars.totalProgress=w,H.invalidate().restart()))),ev)if(e&&ey&&(N.style[ey+eV.os2]=E),tu){if(p){if(g=!e&&w>j&&u+1>x&&x+1>=eU(e2,eV),eP)if(!e&&(a||g)){var C=ts(ev,!0),S=x-d;t1(ev,Z,C.top+(eV===O?S:0)+"px",C.left+(eV===O?0:S)+"px")}else t1(ev,N);t$(a||g?b:k),F&&w<1&&a||_(T+(1!==w||g?0:M))}}else _(eY(T+M*w));!e_||i.tween||ea||eM||U.restart(!0),ed&&(m||eS&&w&&(w<1||!eC))&&ee(ed.targets).forEach(function(e){return e.classList[a||eS?"add":"remove"](ed.className)}),!ec||eq||e||ec(tC),p&&!ea?(eq&&(h&&("complete"===s?r.pause().totalProgress(1):"reset"===s?r.restart(!0).pause():"restart"===s?r.restart(!0):r[s]()),ec&&ec(tC)),(m||!eC)&&(ef&&m&&e0(tC,ef),tf[o]&&e0(tC,tf[o]),eS&&(1===w?tC.kill(!1,1):tf[o]=0),!m&&tf[o=1===w?1:3]&&e0(tC,tf[o])),eB&&!a&&Math.abs(tC.getVelocity())>(eZ(eB)?eB:2500)&&(eQ(tC.callbackAnimation),H?H.progress(1):eQ(r,"reverse"===s?1:!w,1))):eq&&ec&&!ea&&ec(tC)}if(L){var A=eL?x/eL.duration()*(eL._caScrollDist||0):x;R(A+ +!!f._isFlipped),L(A)}en&&en(-x/eL.duration()*(eL._caScrollDist||0))}},tC.enable=function(t,r){tC.enabled||(tC.enabled=!0,tp(e2,"resize",tS),e5||tp(e2,"scroll",tN),tA&&tp(e,"refreshInit",tA),!1!==t&&(tC.progress=tR=0,l=c=tE=tF()),!1!==r&&tC.refresh())},tC.getTween=function(e){return e&&i?i.tween:H},tC.setPositions=function(e,t,r,n){if(eL){var a=eL.scrollTrigger,i=eL.duration(),o=a.end-a.start;e=a.start+o*e/i,t=a.start+o*t/i}tC.refresh(!1,!1,{start:eO(e,r&&!!tC._startClamp),end:eO(t,r&&!!tC._endClamp)},n),tC.update()},tC.adjustPinSpacing=function(e){if(P&&e){var t=P.indexOf(eV.d)+1;P[t]=parseFloat(P[t])+e+"px",P[1]=parseFloat(P[1])+e+"px",t$(P)}},tC.disable=function(t,r){if(!1!==t&&tC.revert(!0,!0),tC.enabled&&(tC.enabled=tC.isActive=!1,r||H&&H.pause(),J=0,o&&(o.uncache=1),tA&&tm(e,"refreshInit",tA),U&&(U.pause(),i.tween&&i.tween.kill()&&(i.tween=0)),!e5)){for(var n=tk.length;n--;)if(tk[n].scroller===e2&&tk[n]!==tC)return;tm(e2,"resize",tS),e5||tm(e2,"scroll",tN)}},tC.kill=function(e,n){tC.disable(e,n),H&&!n&&H.kill(),em&&delete tw[em];var a=tk.indexOf(tC);a>=0&&tk.splice(a,1),a===es&&tW>0&&es--,a=0,tk.forEach(function(e){return e.scroller===tC.scroller&&(a=1)}),a||eA||(tC.scroll.rec=0),r&&(r.scrollTrigger=null,e&&r.revert({kill:!1}),n||r.kill()),p&&[p,m,f,g].forEach(function(e){return e.parentNode&&e.parentNode.removeChild(e)}),eT===tC&&(eT=0),ev&&(o&&(o.uncache=1),a=0,tk.forEach(function(e){return e.pin===ev&&a++}),a||(o.spacer=0)),t.onKill&&t.onKill(tC)},tk.push(tC),tC.enable(!1,!1),eo&&eo(tC),r&&r.add&&!v){var tD=tC.update;tC.update=function(){tC.update=tD,w.cache++,d||u||tC.refresh()},G.delayedCall(.01,tC.update),v=.01,d=u=0}else tC.refresh();ev&&tI()},e.register=function(t){return U||(G=t||eW(),eB()&&window.document&&e.enable(),U=eF),U},e.defaults=function(e){if(e)for(var t in e)th[t]=e[t];return th},e.disable=function(e,t){eF=0,tk.forEach(function(r){return r[t?"kill":"disable"](e)}),tm(q,"wheel",tN),tm($,"scroll",tN),clearInterval(en),tm($,"touchcancel",eD),tm(Z,"touchstart",eD),tu(tm,$,"pointerdown,touchstart,mousedown",eI),tu(tm,$,"pointerup,touchend,mouseup",eL),Q.kill(),eq(tm);for(var r=0;r<w.length;r+=3)tf(tm,w[r],w[r+1]),tf(tm,w[r],w[r+2])},e.enable=function(){if(q=window,K=($=document).documentElement,Z=$.body,G)if(ee=G.utils.toArray,et=G.utils.clamp,ey=G.core.context||eD,ep=G.core.suppressOverwrites||eD,eb=q.history.scrollRestoration||"auto",tB=q.pageYOffset||0,G.core.globals("ScrollTrigger",e),Z){eF=1,(ek=document.createElement("div")).style.height="100vh",ek.style.position="absolute",tL(),function e(){return eF&&requestAnimationFrame(e)}(),X.register(G),e.isTouch=X.isTouch,ev=X.isTouch&&/(iPad|iPhone|iPod|Mac)/g.test(navigator.userAgent),eg=1===X.isTouch,tp(q,"wheel",tN),J=[q,$,K,Z],G.matchMedia?(e.matchMedia=function(e){var t,r=G.matchMedia();for(t in e)r.add(t,e[t]);return r},G.addEventListener("matchMediaInit",function(){tR(),tF()}),G.addEventListener("matchMediaRevert",function(){return tP()}),G.addEventListener("matchMedia",function(){tY(0,1),tM("matchMedia")}),G.matchMedia().add("(orientation: portrait)",function(){return tC(),tC})):console.warn("Requires GSAP 3.11.0 or later"),tC(),tp($,"scroll",tN);var t,r,n=Z.hasAttribute("style"),a=Z.style,i=a.borderTopStyle,o=G.core.Animation.prototype;for(o.revert||Object.defineProperty(o,"revert",{value:function(){return this.time(-.01,!0)}}),a.borderTopStyle="solid",O.m=Math.round((t=ts(Z)).top+O.sc())||0,z.m=Math.round(t.left+z.sc())||0,i?a.borderTopStyle=i:a.removeProperty("border-top-style"),n||(Z.setAttribute("style",""),Z.removeAttribute("style")),en=setInterval(tj,250),G.delayedCall(.5,function(){return eM=0}),tp($,"touchcancel",eD),tp(Z,"touchstart",eD),tu(tp,$,"pointerdown,touchstart,mousedown",eI),tu(tp,$,"pointerup,touchend,mouseup",eL),eo=G.utils.checkPrefix("transform"),tX.push(eo),U=eE(),Q=G.delayedCall(.2,tY).pause(),ed=[$,"visibilitychange",function(){var e=q.innerWidth,t=q.innerHeight;$.hidden?(el=e,ec=t):(el!==e||ec!==t)&&tS()},$,"DOMContentLoaded",tY,q,"load",tY,q,"resize",tS],eq(tp),tk.forEach(function(e){return e.enable(0,1)}),r=0;r<w.length;r+=3)tf(tm,w[r],w[r+1]),tf(tm,w[r],w[r+2])}else $&&$.addEventListener("DOMContentLoaded",function t(){e.enable(),$.removeEventListener("DOMContentLoaded",t)})},e.config=function(t){"limitCallbacks"in t&&(eC=!!t.limitCallbacks);var r=t.syncInterval;r&&clearInterval(en)||(en=r)&&setInterval(tj,r),"ignoreMobileResize"in t&&(eg=1===e.isTouch&&t.ignoreMobileResize),"autoRefreshEvents"in t&&(eq(tm)||eq(tp,t.autoRefreshEvents||"none"),em=-1===(t.autoRefreshEvents+"").indexOf("resize"))},e.scrollerProxy=function(e,t){var r=I(e),n=w.indexOf(r),a=eH(r);~n&&w.splice(n,a?6:2),t&&(a?j.unshift(q,t,Z,t,K,t):j.unshift(r,t))},e.clearMatchMedia=function(e){tk.forEach(function(t){return t._ctx&&t._ctx.query===e&&t._ctx.kill(!0,!0)})},e.isInViewport=function(e,t,r){var n=(e$(e)?I(e):e).getBoundingClientRect(),a=n[r?e4:e7]*t||0;return r?n.right-a>0&&n.left+a<q.innerWidth:n.bottom-a>0&&n.top+a<q.innerHeight},e.positionInViewport=function(e,t,r){e$(e)&&(e=I(e));var n=e.getBoundingClientRect(),a=n[r?e4:e7],i=null==t?a/2:t in tx?tx[t]*a:~t.indexOf("%")?parseFloat(t)*a/100:parseFloat(t)||0;return r?(n.left+i)/q.innerWidth:(n.top+i)/q.innerHeight},e.killAll=function(e){if(tk.slice(0).forEach(function(e){return"ScrollSmoother"!==e.vars.id&&e.kill()}),!0!==e){var t=tA.killAll||[];tA={},t.forEach(function(e){return e()})}},e}();t4.version="3.15.0",t4.saveStyles=function(e){return e?ee(e).forEach(function(e){if(e&&e.style){var t=tE.indexOf(e);t>=0&&tE.splice(t,5),tE.push(e,e.style.cssText,e.getBBox&&e.getAttribute("transform"),G.core.getCache(e),ey())}}):tE},t4.revert=function(e,t){return tF(!e,t)},t4.create=function(e,t){return new t4(e,t)},t4.refresh=function(e){return e?tS(!0):(U||t4.register())&&tY(!0)},t4.update=function(e){return++w.cache&&tH(2*(!0===e))},t4.clearScrollMemory=tz,t4.maxScroll=function(e,t){return eU(e,t?z:O)},t4.getScrollFunc=function(e,t){return D(I(e),t?z:O)},t4.getById=function(e){return tw[e]},t4.getAll=function(){return tk.filter(function(e){return"ScrollSmoother"!==e.vars.id})},t4.isScrolling=function(){return!!eR},t4.snapDirectional=td,t4.addEventListener=function(e,t){var r=tA[e]||(tA[e]=[]);~r.indexOf(t)||r.push(t)},t4.removeEventListener=function(e,t){var r=tA[e],n=r&&r.indexOf(t);n>=0&&r.splice(n,1)},t4.batch=function(e,t){var r,n=[],a={},i=t.interval||.016,o=t.batchMax||1e9,s=function(e,t){var r=[],n=[],a=G.delayedCall(i,function(){t(r,n),r=[],n=[]}).pause();return function(e){r.length||a.restart(!0),r.push(e.trigger),n.push(e),o<=r.length&&a.progress(1)}};for(r in t)a[r]="on"===r.substr(0,2)&&eK(t[r])&&"onRefreshInit"!==r?s(r,t[r]):t[r];return eK(o)&&(o=o(),tp(t4,"refresh",function(){return o=t.batchMax()})),ee(e).forEach(function(e){var t={};for(r in a)t[r]=a[r];t.trigger=e,n.push(t4.create(t))}),n};var t7,t8=function(e,t,r,n){return t>n?e(n):t<0&&e(0),r>n?(n-t)/(r-t):r<0?t/(t-r):1},t6=function e(t,r){!0===r?t.style.removeProperty("touch-action"):t.style.touchAction=!0===r?"auto":r?"pan-"+r+(X.isTouch?" pinch-zoom":""):"none",t===K&&e(Z,r)},t9={auto:1,scroll:1},re=function(e){var t,r=e.event,n=e.target,a=e.axis,i=(r.changedTouches?r.changedTouches[0]:r).target,o=i._gsap||G.core.getCache(i),s=eE();if(!o._isScrollT||s-o._isScrollT>2e3){for(;i&&i!==Z&&(i.scrollHeight<=i.clientHeight&&i.scrollWidth<=i.clientWidth||!(t9[(t=ta(i)).overflowY]||t9[t.overflowX]));)i=i.parentNode;o._isScroll=i&&i!==n&&!eH(i)&&(t9[(t=ta(i)).overflowY]||t9[t.overflowX]),o._isScrollT=s}(o._isScroll||"x"===a)&&(r.stopPropagation(),r._gsapAllow=!0)},rt=function(e,t,r,n){return X.create({target:e,capture:!0,debounce:!1,lockAxis:!0,type:t,onWheel:n=n&&re,onPress:n,onDrag:n,onScroll:n,onEnable:function(){return r&&tp($,X.eventTypes[0],rn,!1,!0)},onDisable:function(){return tm($,X.eventTypes[0],rn,!0)}})},rr=/(input|label|select|textarea)/i,rn=function(e){var t=rr.test(e.target.tagName);(t||t7)&&(e._gsapAllow=!0,t7=t)},ra=function(e){eJ(e)||(e={}),e.preventDefault=e.isNormalizer=e.allowClicks=!0,e.type||(e.type="wheel,touch"),e.debounce=!!e.debounce,e.id=e.id||"normalizer";var t,r,n,a,i,o,s,l,c=e,d=c.normalizeScrollX,u=c.momentum,p=c.allowNestedScroll,m=c.onRelease,f=I(e.target)||K,g=G.core.globals().ScrollSmoother,h=g&&g.get(),x=ev&&(e.content&&I(e.content)||h&&!1!==e.content&&!h.smooth()&&h.content()),v=D(f,O),y=D(f,z),b=1,k=(X.isTouch&&q.visualViewport?q.visualViewport.scale*q.visualViewport.width:q.outerWidth)/q.innerWidth,j=0,N=eK(u)?function(){return u(t)}:function(){return u||2.8},C=rt(f,e.type,!0,p),S=function(){return a=!1},A=eD,_=eD,T=function(){r=eU(f,O),_=et(+!!ev,r),d&&(A=et(0,eU(f,z))),n=tO},M=function(){x._gsap.y=eY(parseFloat(x._gsap.y)+v.offset)+"px",x.style.transform="matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, "+parseFloat(x._gsap.y)+", 0, 1)",v.offset=v.cacheID=0},E=function(){if(a){requestAnimationFrame(S);var e=eY(t.deltaY/2),r=_(v.v-e);if(x&&r!==v.v+v.offset){v.offset=r-v.v;var n=eY((parseFloat(x&&x._gsap.y)||0)-v.offset);x.style.transform="matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, "+n+", 0, 1)",x._gsap.y=n+"px",v.cacheID=w.cache,tH()}return!0}v.offset&&M(),a=!0},P=function(){T(),i.isActive()&&i.vars.scrollY>r&&(v()>r?i.progress(1)&&v(r):i.resetTo("scrollY",r))};return x&&G.set(x,{y:"+=0"}),e.ignoreCheck=function(e){return ev&&"touchmove"===e.type&&E(e)||b>1.05&&"touchstart"!==e.type||t.isGesturing||e.touches&&e.touches.length>1},e.onPress=function(){a=!1;var e=b;b=eY((q.visualViewport&&q.visualViewport.scale||1)/k),i.pause(),e!==b&&t6(f,b>1.01||!d&&"x"),o=y(),s=v(),T(),n=tO},e.onRelease=e.onGestureStart=function(e,t){if(v.offset&&M(),t){w.cache++;var n,a,o=N();d&&(a=(n=y())+-(.05*o*e.velocityX)/.227,o*=t8(y,n,a,eU(f,z)),i.vars.scrollX=A(a)),a=(n=v())+-(.05*o*e.velocityY)/.227,o*=t8(v,n,a,eU(f,O)),i.vars.scrollY=_(a),i.invalidate().duration(o).play(.01),(ev&&i.vars.scrollY>=r||n>=r-1)&&G.to({},{onUpdate:P,duration:o})}else l.restart(!0);m&&m(e)},e.onWheel=function(){i._ts&&i.pause(),eE()-j>1e3&&(n=0,j=eE())},e.onChange=function(e,t,r,a,i){if(tO!==n&&T(),t&&d&&y(A(a[2]===t?o+(e.startX-e.x):y()+t-a[1])),r){v.offset&&M();var l=i[2]===r,c=l?s+e.startY-e.y:v()+r-i[1],u=_(c);l&&c!==u&&(s+=u-c),v(u)}(r||t)&&tH()},e.onEnable=function(){t6(f,!d&&"x"),t4.addEventListener("refresh",P),tp(q,"resize",P),v.smooth&&(v.target.style.scrollBehavior="auto",v.smooth=y.smooth=!1),C.enable()},e.onDisable=function(){t6(f,!0),tm(q,"resize",P),t4.removeEventListener("refresh",P),C.kill()},e.lockAxis=!1!==e.lockAxis,(t=new X(e)).iOS=ev,ev&&!v()&&v(1),ev&&G.ticker.add(eD),l=t._dc,i=G.to(t,{ease:"power4",paused:!0,inherit:!1,scrollX:d?"+=0.1":"+=0",scrollY:"+=0.1",modifiers:{scrollY:t2(v,v(),function(){return i.pause()})},onUpdate:tH,onComplete:l.vars.onComplete}),t};t4.sort=function(e){if(eK(e))return tk.sort(e);var t=q.pageYOffset||0;return t4.getAll().forEach(function(e){return e._sortY=e.trigger?t+e.trigger.getBoundingClientRect().top:e.start+q.innerHeight}),tk.sort(e||function(e,t){return -1e6*(e.vars.refreshPriority||0)+(e.vars.containerAnimation?1e6:e._sortY)-((t.vars.containerAnimation?1e6:t._sortY)+-1e6*(t.vars.refreshPriority||0))})},t4.observe=function(e){return new X(e)},t4.normalizeScroll=function(e){if(void 0===e)return ef;if(!0===e&&ef)return ef.enable();if(!1===e){ef&&ef.kill(),ef=e;return}var t=e instanceof X?e:ra(e);return ef&&ef.target===t.target&&ef.kill(),eH(t.target)&&(ef=t),t},t4.core={_getVelocityProp:Y,_inputObserver:rt,_scrollers:w,_proxies:j,bridge:{ss:function(){eR||tM("scrollStart"),eR=eE()},ref:function(){return ea}}},eW()&&G.registerPlugin(t4);var ri=e.i(790961),ro=e.i(837002),rs=e.i(48663),rl=e.i(438342),rc=e.i(795379),rd=e.i(205189);function ru({isLoggedIn:e}){let n=(0,r.useRef)(null),o=(0,r.useRef)(null),s=(0,r.useRef)(null),l=(0,r.useRef)(null),[c,d]=(0,r.useState)(!1);return(0,i.useGSAP)(()=>{o.current&&s.current&&l.current&&a.default.timeline({delay:.3}).fromTo(".hero-brand",{y:-20,opacity:0},{y:0,opacity:1,duration:.5,ease:"power3.out"}).to(o.current,{opacity:1,duration:.4,ease:"power2.out"},.2).to(s.current,{opacity:1,duration:.3,ease:"power2.out"},"-=0.1").fromTo(".hero-clipboard",{y:10,opacity:0},{y:0,opacity:1,duration:.3,ease:"power2.out"},"-=0.1").fromTo(".hero-specs",{y:15,opacity:0},{y:0,opacity:1,duration:.5,ease:"power2.out"},"-=0.1").fromTo(".hero-providers",{y:10,opacity:0},{y:0,opacity:1,duration:.4,ease:"power2.out"},"-=0.2").fromTo(l.current,{y:15,opacity:0},{y:0,opacity:1,duration:.4,ease:"power2.out"},"-=0.2")},{scope:n}),(0,t.jsxs)("section",{ref:n,className:"hero-section relative flex h-screen items-center justify-center overflow-hidden",style:{backgroundColor:"var(--landing-bg)"},children:[(0,t.jsx)("div",{className:"pointer-events-none absolute inset-0 opacity-[0.03]",style:{backgroundImage:"url(\"data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.06'/%3E%3C/svg%3E\")",backgroundRepeat:"repeat",backgroundSize:"256px 256px"}}),(0,t.jsxs)("div",{className:"hero-content relative z-10 mx-auto flex w-full max-w-4xl flex-col items-center px-4 sm:px-6 py-8 max-h-full",children:[(0,t.jsxs)("div",{className:"hero-brand mb-6 flex shrink-0 items-center gap-1.5",style:{opacity:0},children:[(0,t.jsx)(ro.default,{src:"/alook.svg",alt:"Alook",width:32,height:32}),(0,t.jsx)("span",{className:"text-2xl tracking-tight",style:{fontFamily:"var(--font-brand)",color:"var(--landing-text)",fontWeight:700},children:"Alook"})]}),(0,t.jsx)("div",{className:"typewriter-wrapper flex w-full shrink min-h-0 flex-col items-center",style:{height:"clamp(192px, calc(100vh - 200px), 750px)"},children:(0,t.jsxs)("div",{className:"hero-scalable flex w-full flex-1 min-h-0 flex-col items-center",children:[(0,t.jsxs)("div",{className:"relative w-full shrink min-h-0 flex-1",children:[(0,t.jsxs)("div",{className:"absolute top-0 left-0 right-0 z-10 flex flex-col items-center pt-2",children:[(0,t.jsx)("h1",{ref:o,className:"mb-1 text-center leading-[1.2] px-2",style:{fontFamily:"var(--font-crt)",color:"var(--landing-text)",fontSize:"clamp(26px, 4vw, 44px)",letterSpacing:"-0.01em",opacity:0},children:"Run Your Personal Company"}),(0,t.jsx)("p",{ref:s,className:"block max-w-lg text-center text-sm sm:text-base leading-relaxed px-2",style:{fontFamily:"var(--font-crt)",color:"var(--landing-text-muted)",fontSize:"clamp(15px, 3.6vw, 20px)",opacity:0},children:"You have ideas that need ten people to execute. Now you only need yourself and Alook."})]}),(0,t.jsx)(rc.TypewriterVisual,{interactive:!0,entranceDelay:1.2,className:"absolute! inset-0"})]}),(0,t.jsxs)("div",{className:"hero-clipboard relative mt-8 shrink-0 w-full max-w-lg cursor-pointer",style:{opacity:0},onClick:()=>{navigator.clipboard.writeText(`Read ${window.location.origin}/onboard.md and follow the instructions to install and configure Alook`),d(!0),setTimeout(()=>d(!1),2e3)},children:[(0,t.jsx)("span",{className:"absolute left-1/2 top-0 -translate-x-1/2 -translate-y-1/2 whitespace-nowrap overflow-hidden text-ellipsis px-2 py-0.5 text-[10px] sm:text-xs",style:{fontFamily:"var(--font-mono)",color:"var(--landing-text-muted)",backgroundColor:"var(--landing-bg)"},children:"Copy and Paste Into Your Agent's Chat to Get Started"}),(0,t.jsxs)("div",{className:"flex w-full items-center gap-2 rounded px-3 py-2.5 pt-3 text-xs sm:text-sm",style:{fontFamily:"var(--font-mono)",color:"var(--landing-text)",border:"1px solid color-mix(in srgb, var(--landing-text-muted) 30%, transparent)"},children:[(0,t.jsxs)("span",{className:"flex-1 overflow-hidden whitespace-nowrap text-ellipsis",children:["Read"," ",(0,t.jsx)("a",{href:"/onboard.md",target:"_blank",rel:"noopener noreferrer",className:"underline transition-opacity hover:opacity-70",style:{color:"var(--landing-text)"},onClick:e=>e.stopPropagation(),children:"Onboard.md"})," ","and follow the instructions to install and configure Alook"]}),(0,t.jsx)("span",{className:"shrink-0 p-1",style:{color:c?"var(--landing-text)":"var(--landing-text-muted)"},children:c?(0,t.jsx)("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:(0,t.jsx)("polyline",{points:"20 6 9 17 4 12"})}):(0,t.jsxs)("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,t.jsx)("rect",{x:"9",y:"9",width:"13",height:"13",rx:"2",ry:"2"}),(0,t.jsx)("path",{d:"M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"})]})})]})]}),(0,t.jsxs)("div",{className:"hero-providers mt-5 shrink-0 flex items-center justify-center gap-4",style:{opacity:0},children:[(0,t.jsx)("a",{href:"https://github.com/alookai/alook",target:"_blank",rel:"noopener noreferrer",className:"flex items-center justify-center p-1.5 transition-opacity hover:opacity-70",style:{color:"var(--landing-text)"},"aria-label":"GitHub",children:(0,t.jsx)("svg",{width:"18",height:"18",viewBox:"0 0 24 24",fill:"currentColor",children:(0,t.jsx)("path",{d:"M12 0c-6.626 0-12 5.373-12 12 0 5.302 3.438 9.8 8.207 11.387.599.111.793-.261.793-.577v-2.234c-3.338.726-4.033-1.416-4.033-1.416-.546-1.387-1.333-1.756-1.333-1.756-1.089-.745.083-.729.083-.729 1.205.084 1.839 1.237 1.839 1.237 1.07 1.834 2.807 1.304 3.492.997.107-.775.418-1.305.762-1.604-2.665-.305-5.467-1.334-5.467-5.931 0-1.311.469-2.381 1.236-3.221-.124-.303-.535-1.524.117-3.176 0 0 1.008-.322 3.301 1.23.957-.266 1.983-.399 3.003-.404 1.02.005 2.047.138 3.006.404 2.291-1.552 3.297-1.23 3.297-1.23.653 1.653.242 2.874.118 3.176.77.84 1.235 1.911 1.235 3.221 0 4.609-2.807 5.624-5.479 5.921.43.372.823 1.102.823 2.222v3.293c0 .319.192.694.801.576 4.765-1.589 8.199-6.086 8.199-11.386 0-6.627-5.373-12-12-12z"})})}),(0,t.jsx)("a",{href:"https://discord.alook.ai",target:"_blank",rel:"noopener noreferrer",className:"flex items-center justify-center p-1.5 transition-opacity hover:opacity-70",style:{color:"var(--landing-text)"},"aria-label":"Discord",children:(0,t.jsx)("svg",{width:"18",height:"18",viewBox:"0 0 24 24",fill:"currentColor",children:(0,t.jsx)("path",{d:"M20.317 4.37a19.791 19.791 0 0 0-4.885-1.515.074.074 0 0 0-.079.037c-.21.375-.444.864-.608 1.25a18.27 18.27 0 0 0-5.487 0 12.64 12.64 0 0 0-.617-1.25.077.077 0 0 0-.079-.037A19.736 19.736 0 0 0 3.677 4.37a.07.07 0 0 0-.032.027C.533 9.046-.32 13.58.099 18.057a.082.082 0 0 0 .031.057 19.9 19.9 0 0 0 5.993 3.03.078.078 0 0 0 .084-.028c.462-.63.874-1.295 1.226-1.994a.076.076 0 0 0-.041-.106 13.107 13.107 0 0 1-1.872-.892.077.077 0 0 1-.008-.128 10.2 10.2 0 0 0 .372-.292.074.074 0 0 1 .077-.01c3.928 1.793 8.18 1.793 12.062 0a.074.074 0 0 1 .078.01c.12.098.246.198.373.292a.077.077 0 0 1-.006.127 12.299 12.299 0 0 1-1.873.892.077.077 0 0 0-.041.107c.36.698.772 1.362 1.225 1.993a.076.076 0 0 0 .084.028 19.839 19.839 0 0 0 6.002-3.03.077.077 0 0 0 .032-.054c.5-5.177-.838-9.674-3.549-13.66a.061.061 0 0 0-.031-.03z"})})}),(0,t.jsx)("a",{href:"https://x.com/alook_ai",target:"_blank",rel:"noopener noreferrer",className:"flex items-center justify-center p-1.5 transition-opacity hover:opacity-70",style:{color:"var(--landing-text)"},"aria-label":"Follow us on X",children:(0,t.jsx)("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"currentColor",children:(0,t.jsx)("path",{d:"M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z"})})})]}),(0,t.jsxs)("div",{ref:l,className:"mt-8 shrink-0 flex flex-nowrap items-center justify-center gap-3",style:{opacity:0},children:[e?(0,t.jsxs)("a",{href:"/workspaces?auto",onClick:()=>(0,rd.trackLandingCtaClicked)({cta_name:"open_app"}),className:"inline-flex items-center gap-2 px-6 py-2.5 text-sm transition-all duration-200 hover:opacity-80",style:{fontFamily:"var(--font-mono)",color:"var(--landing-bg)",backgroundColor:"var(--landing-text)",letterSpacing:"0.12em"},children:[(0,t.jsxs)("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,t.jsx)("path",{d:"M15 3h4a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-4"}),(0,t.jsx)("polyline",{points:"10 17 15 12 10 7"}),(0,t.jsx)("line",{x1:"15",y1:"12",x2:"3",y2:"12"})]}),"OPEN APP"]}):(0,t.jsxs)("a",{href:"/sign-in",onClick:()=>(0,rd.trackLandingCtaClicked)({cta_name:"get_started"}),className:"inline-flex items-center gap-2 px-6 py-2.5 text-sm transition-all duration-200 hover:opacity-80",style:{fontFamily:"var(--font-mono)",color:"var(--landing-bg)",backgroundColor:"var(--landing-text)",letterSpacing:"0.12em"},children:[(0,t.jsxs)("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,t.jsx)("path",{d:"M15 3h4a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-4"}),(0,t.jsx)("polyline",{points:"10 17 15 12 10 7"}),(0,t.jsx)("line",{x1:"15",y1:"12",x2:"3",y2:"12"})]}),"GET STARTED"]}),(0,t.jsxs)(rs.default,{href:"/templates",onClick:()=>(0,rd.trackLandingCtaClicked)({cta_name:"templates"}),className:"inline-flex items-center gap-2 px-6 py-2.5 text-sm transition-all duration-200 hover:opacity-80",style:{fontFamily:"var(--font-mono)",color:"var(--landing-text)",border:"1px solid var(--landing-text)",letterSpacing:"0.12em"},children:[(0,t.jsxs)("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,t.jsx)("rect",{x:"3",y:"3",width:"7",height:"7"}),(0,t.jsx)("rect",{x:"14",y:"3",width:"7",height:"7"}),(0,t.jsx)("rect",{x:"3",y:"14",width:"7",height:"7"}),(0,t.jsx)("rect",{x:"14",y:"14",width:"7",height:"7"})]}),"TEMPLATES"]})]})]})}),(0,t.jsx)("p",{className:"mt-4 shrink-0 sm:hidden text-center text-xs",style:{fontFamily:"var(--font-mono)",color:"var(--landing-text-muted)"},children:"For the full experience, open on a desktop browser."})]})]})}a.default.registerPlugin(t4,rl.SplitText),a.default.registerPlugin(t4);let rp=[{number:"I",title:"Collaboration",spec:"DEFINE YOUR COMPANY STRUCTURE",description:"You're the CEO. Assign agents to roles — dev, ops, research — and let them coordinate. Define your org chart, and Alook keeps everyone in sync.",terminal:["▓▓▓▓▓▓▓▓▓ ▓▓▓▓▓▓▓▓▓ ▓▓▓▓▓▓▓▓▓","▓ YOU ▓░░░░░░░░░░░▓ DEV ▓░░░░░░░░░░░▓ OPS ▓","▓▓▓▓▓▓▓▓▓ ▓▓▓▓▓▓▓▓▓ ▓▓▓▓▓▓▓▓▓"," ░ ░ ░ "," ░ ░ ░ ","▓▓▓▓▓▓▓▓▓ ▓▓▓▓▓▓▓▓▓ ▓▓▓▓▓▓▓▓▓","▓ R&D ▓░░░░░░░░░░░▓ SALES ▓░░░░░░░░░░░▓ BIZ ▓","▓▓▓▓▓▓▓▓▓ ▓▓▓▓▓▓▓▓▓ ▓▓▓▓▓▓▓▓▓"],cta:{tagline:"Design your org chart",label:"BUILD YOUR TEAM",href:"/sign-in"}},{number:"II",title:"Traceable",spec:"EVERY INTERACTION · RECORDED · AUDITABLE",description:"Agents communicate through email and work on your local machine. Every instruction, decision, and reply is recorded — in your inbox or in local files. Full accountability, no black boxes.",terminal:["█████████████████████████","█▓▒ ▒▓█","█ ▓▒░ ░▒▓ █","█ ▓▒░ ░▒▓ █","█ ▓▒░ ░▒▓ █","█ ▓▒░ ░▒▓ █","█ ▓▒█▒▓ █","█ ▒█▒ █","█ █","█████████████████████████"],cta:{tagline:"Full audit trail, zero black boxes",label:"SEE EVERY DECISION",href:"/sign-in"}},{number:"III",title:"Calendar",spec:"SHOWS UP AT THE RIGHT TIME",description:"Your agent manages its own schedule. It knows when to work, when to follow up, and when to wait — always on time, never in the way.",terminal:["▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓","▓ M T W T F S S ▓","▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓","▓ ░ ░ ░ ░ ░ ░ ░ ▓","▓ ░ ░ ░ ░ ░ ░ ░ ▓","▓ ░ ░ ▒ ▓ ░ ░ ░ ▓","▓ ░ ░ ░ ░ █ ░ ░ ▓","▓ ░ ░ ░ ░ ░ ░ ░ ▓","▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓"],cta:{tagline:"Agents that show up on time",label:"SET UP SCHEDULES",href:"/sign-in"}},{number:"IV",title:"Always-On",spec:"YOUR COMPANY NEVER SLEEPS",description:"A persistent daemon keeps every agent running around the clock — picking up tasks, responding to emails, shipping work while you sleep.",terminal:[" "," "," █ "," █ █ "," ▒▓ █ ","░░░░░░░░░ ▓ ▒░░░░░░"," █ ▓ "," ▓ "," "," "],cta:{tagline:"Ship while you sleep",label:"START THE DAEMON",href:"/sign-in"}},{number:"V",title:"Self-Learning",spec:"EVERY TASK MAKES THE TEAM SMARTER",description:"Agents build memory from past work — decisions, preferences, context. Your company gets sharper with every conversation, every task, every day.",terminal:[" "," █ "," ▓█▓ "," ▒▓█▓▒ "," ░▒▓█▓▒░ "," ░░▒▓█▓▒░░ "," ░░░▒▓█▓▒░░░ "," ░░░░▒▓█▓▒░░░░ "," ░░░░░▒▓█▓▒░░░░░ "," "],cta:{tagline:"Smarter with every task",label:"GROW YOUR TEAM",href:"/sign-in"}}];function rm(){let e=(0,r.useRef)(null);return(0,i.useGSAP)(()=>{a.default.from(".feature-hero",{y:30,opacity:0,duration:.6,scrollTrigger:{trigger:e.current,start:"top 75%",toggleActions:"play none none none"}}),a.default.utils.toArray(".feature-row").forEach(e=>{a.default.from(e,{y:40,opacity:0,duration:.6,ease:"power2.out",scrollTrigger:{trigger:e,start:"top 80%",toggleActions:"play none none none"}})})},{scope:e}),(0,t.jsxs)("section",{ref:e,className:"relative overflow-hidden py-24 lg:py-32",style:{backgroundColor:"var(--landing-bg)"},children:[(0,t.jsxs)("div",{className:"feature-hero mx-auto mb-20 max-w-4xl px-6 text-center lg:mb-28",children:[(0,t.jsx)("div",{className:"mb-3 text-xs uppercase tracking-[0.3em]",style:{fontFamily:"var(--font-mono)",color:"var(--landing-text-muted)"},children:"Features"}),(0,t.jsx)("h2",{style:{fontFamily:"var(--font-crt)",color:"var(--landing-text)",fontSize:"clamp(1.75rem, 4vw, 3rem)"},children:"Your Company, Your Agents"}),(0,t.jsx)("p",{className:"mx-auto mt-3 max-w-xl",style:{fontFamily:"var(--font-mono)",color:"var(--landing-text-muted)",fontSize:"0.85rem"},children:"Define roles, assign agents, and let them run. Alook is the orchestration layer that turns agents into a company."})]}),(0,t.jsx)("div",{className:"mx-auto flex max-w-5xl flex-col gap-16 px-6 sm:gap-24 lg:gap-32 lg:px-12",children:rp.map((e,r)=>(0,t.jsx)(rf,{feature:e,reversed:r%2==1},e.number))})]})}function rf({feature:e,reversed:r}){return(0,t.jsxs)("div",{className:"feature-row grid w-full grid-cols-1 items-center gap-8 lg:grid-cols-2 lg:gap-16",children:[(0,t.jsxs)("div",{className:`panel-text text-center lg:text-left ${r?"lg:order-2":""}`,children:[(0,t.jsxs)("div",{className:"mb-2 flex items-baseline justify-center gap-3 lg:justify-start",children:[(0,t.jsxs)("span",{className:"text-3xl",style:{fontFamily:"var(--font-crt)",color:"var(--landing-text-muted)"},children:[e.number,"."]}),(0,t.jsx)("h2",{className:"leading-tight",style:{fontFamily:"var(--font-crt)",color:"var(--landing-text)",fontSize:"clamp(2rem, 4vw, 3rem)"},children:e.title})]}),(0,t.jsx)("div",{className:"mt-2 text-[10px] uppercase tracking-[0.2em]",style:{fontFamily:"var(--font-mono)",color:"var(--landing-text-muted)"},children:e.spec}),(0,t.jsx)("p",{className:"mx-auto mt-4 max-w-md leading-relaxed text-[0.8125rem] sm:text-[0.875rem] lg:mx-0",style:{fontFamily:"var(--font-mono)",color:"var(--landing-text-muted)"},children:e.description})]}),(0,t.jsx)("div",{className:`mx-auto w-full max-w-sm sm:max-w-md ${r?"lg:order-1":""}`,style:{isolation:"isolate"},children:(0,t.jsx)(rg,{feature:e})})]})}function rg({feature:e}){let[n,a]=(0,r.useState)(!1);return(0,t.jsx)("div",{className:"flip-card panel-crt relative z-1 cursor-pointer",style:{perspective:"1200px"},onClick:e=>{e.target.closest("a")||a(e=>!e)},children:(0,t.jsxs)("div",{className:"flip-card-inner relative w-full transition-transform duration-500 ease-out transform-3d",style:n?{transform:"rotateY(180deg)"}:void 0,children:[(0,t.jsx)("div",{className:"flip-card-front crt-panel-outer",style:{backfaceVisibility:"hidden",WebkitBackfaceVisibility:"hidden",pointerEvents:n?"none":void 0,boxShadow:"0 4px 16px oklch(0.15 0.01 55 / 15%), inset 0 1px 0 oklch(0.95 0.01 80 / 40%)"},children:(0,t.jsx)("div",{className:"crt-panel-inner p-5",children:(0,t.jsx)("div",{className:"flex items-center justify-center min-h-35",children:(0,t.jsx)(rx,{lines:e.terminal})})})}),(0,t.jsxs)("div",{className:"flip-card-back absolute inset-0 flex flex-col items-center justify-center rounded-lg p-6",style:{backfaceVisibility:"hidden",WebkitBackfaceVisibility:"hidden",transform:"rotateY(180deg)",backgroundColor:"var(--landing-crt-bg)",boxShadow:"0 4px 16px oklch(0.15 0.01 55 / 15%)"},children:[(0,t.jsx)("p",{className:"mb-5 text-center text-sm",style:{fontFamily:"var(--font-crt)",color:"var(--landing-phosphor)",textShadow:"0 0 6px oklch(0.75 0.18 80 / 30%)"},children:e.cta.tagline}),(0,t.jsx)("a",{href:e.cta.href,className:"inline-flex items-center gap-2 px-5 py-2.5 text-xs uppercase tracking-widest transition-opacity hover:opacity-80",style:{fontFamily:"var(--font-mono)",color:"var(--landing-crt-bg)",backgroundColor:"var(--landing-phosphor)",boxShadow:"0 0 12px oklch(0.75 0.18 80 / 40%)"},children:e.cta.label})]})]})})}let rh=[" ","░","▒","▓","█"];function rx({lines:e}){let n=(0,r.useRef)(null);return(0,r.useEffect)(()=>{if(!n.current||window.matchMedia("(prefers-reduced-motion: reduce)").matches)return;let t=e.join("\n"),r=[...t].map((e,r)=>{let n=rh.indexOf(e),a=0,i=0;for(let e=0;e<r;e++)"\n"===t[e]?(a++,i=0):i++;return{orig:e,level:n,row:a,col:i}}),a=0,i=null,o=()=>{if(++a%2==0){let e=[];for(let t=0;t<r.length;t++){let n=r[t];if(n.level<=0){e.push(n.orig);continue}let i=Math.sin(.015*a+.45*n.row+.1*n.col),o=Math.max(1,Math.min(4,n.level+Math.round(i)));e.push(rh[o])}n.current&&(n.current.textContent=e.join(""))}i=requestAnimationFrame(o)},s=new IntersectionObserver(([e])=>{e.isIntersecting?null===i&&(i=requestAnimationFrame(o)):null!==i&&(cancelAnimationFrame(i),i=null)},{threshold:.1});return s.observe(n.current),()=>{null!==i&&cancelAnimationFrame(i),s.disconnect()}},[e]),(0,t.jsx)("pre",{ref:n,style:{fontFamily:"'Menlo', 'Consolas', 'DejaVu Sans Mono', monospace",fontSize:"clamp(7px, 2.5vw, 13px)",color:"var(--landing-phosphor)",textShadow:"0 0 8px oklch(0.75 0.18 80 / 40%)",opacity:.8,lineHeight:1.35,overflowX:"hidden"},children:e.join("\n")})}var rv=e.i(613349);function ry({title:e,children:r,className:n}){return(0,t.jsxs)("div",{className:(0,rv.cn)("rounded-xl border border-border/60 bg-background shadow-lg overflow-hidden flex flex-col dark",n),children:[(0,t.jsxs)("div",{className:"flex items-center gap-1.5 px-3 py-2 border-b border-border/40 bg-muted/30 shrink-0",children:[(0,t.jsx)("span",{className:"size-2.5 rounded-full bg-red-400/80"}),(0,t.jsx)("span",{className:"size-2.5 rounded-full bg-yellow-400/80"}),(0,t.jsx)("span",{className:"size-2.5 rounded-full bg-green-400/80"}),e&&(0,t.jsx)("span",{className:"ml-2 text-[11px] text-muted-foreground font-medium",children:e})]}),(0,t.jsx)("div",{className:"relative flex-1 min-h-0",children:r})]})}var rb=e.i(131890),rk=e.i(80137),rw=e.i(383297),rj=e.i(896210),rN=e.i(758956),rC=e.i(754902),rS=e.i(855351),rA=e.i(157349),r_=e.i(465368),rT=e.i(819748),rM=e.i(126366),rE=e.i(643486);function rP({state:e,config:r,className:n}){let a=r.agents.find(t=>t.name.toLowerCase()===e.activeAgent)??r.agents[0],i=e.steps.slice(0,e.visibleCount);return(0,t.jsxs)("div",{className:(0,rv.cn)("flex h-full overflow-hidden dark",n),children:[(0,t.jsxs)("div",{className:"flex h-full w-11 flex-col items-center py-2 gap-1 border-r border-border/40 shrink-0",children:[(0,t.jsx)("div",{className:"mb-1.5",children:(0,t.jsx)(rE.Logo,{size:"sm",iconOnly:!0})}),(0,t.jsxs)("div",{className:"flex flex-col items-center gap-1 mb-1 pb-1.5 border-b border-border/30",children:[(0,t.jsx)("div",{className:"flex items-center justify-center size-7 rounded-lg text-muted-foreground/50",children:(0,t.jsx)(rw.Home,{className:"size-3"})}),(0,t.jsx)("div",{className:"flex items-center justify-center size-7 rounded-lg text-muted-foreground/50",children:(0,t.jsx)(rj.Mail,{className:"size-3"})})]}),(0,t.jsx)("div",{className:"flex flex-col items-center gap-1.5 flex-1",children:r.agents.map(r=>{let n=e.activeAgent===r.name.toLowerCase();return(0,t.jsx)("div",{className:(0,rv.cn)("size-8 rounded-xl overflow-hidden ring-2 transition-all duration-300",n?"ring-primary shadow-md shadow-primary/20 scale-105":"ring-transparent hover:ring-border/60"),children:(0,t.jsx)(rM.AvatarRenderer,{config:r.config,size:32})},r.name)})})]}),(0,t.jsxs)("div",{className:"flex-1 min-w-0 flex flex-col",children:[(0,t.jsxs)("div",{className:"flex items-center justify-between border-b border-border/50 px-3 py-2",children:[(0,t.jsxs)("div",{className:"flex items-center gap-2 min-w-0",children:[(0,t.jsx)("span",{className:"size-2 rounded-full bg-green-500"}),(0,t.jsx)("span",{className:"text-sm font-medium text-foreground",children:a.name}),(0,t.jsx)("span",{className:"text-xs text-muted-foreground",children:"/ Chat"})]}),(0,t.jsxs)("div",{className:"flex items-center gap-0.5",children:[(0,t.jsxs)("span",{className:"inline-flex items-center rounded-lg text-xs h-6 px-2 text-foreground bg-muted",children:[(0,t.jsx)(rN.MessageSquare,{className:"size-3 mr-1"}),"Chat"]}),(0,t.jsxs)("span",{className:"inline-flex items-center rounded-lg text-xs h-6 px-2 text-muted-foreground hover:bg-muted",children:[(0,t.jsx)(rj.Mail,{className:"size-3 mr-1"}),"Email"]})]})]}),(0,t.jsx)("div",{className:"flex-1 min-h-0 overflow-hidden px-3 py-3",children:(0,t.jsx)("div",{className:"flex flex-col h-full justify-end",children:i.map((r,n)=>{let o="message"===r.type,s=n>0&&"message"===i[n-1].type,l=n<i.length-1&&i[n+1]?.type==="message",c="solo";o&&(!s&&l?c="first":s&&l?c="middle":s&&!l&&(c="last"));let d=0===n?"":s&&o?"mt-0.5":"mt-4";return(0,t.jsxs)("div",{className:`animate-[fade-up_300ms_ease-out_both] ${d}`,children:["email-in"===r.type&&(0,t.jsx)(rS.MessageCluster,{avatar:(0,t.jsx)("div",{className:"size-6.5 rounded-lg overflow-hidden",children:(0,t.jsx)(rT.AnimatedAvatar,{config:a.config,size:26,isHovered:!1,isWorking:e.isWorking})}),name:a.name,position:"solo",children:(0,t.jsx)(r_.EmailCard,{subject:r.subject,address:r.address,direction:"inbound"})}),"email-out"===r.type&&(0,t.jsx)(rS.MessageCluster,{avatar:(0,t.jsx)("div",{className:"size-6.5 rounded-lg overflow-hidden",children:(0,t.jsx)(rT.AnimatedAvatar,{config:a.config,size:26,isHovered:!1,isWorking:!1})}),name:a.name,position:"solo",children:(0,t.jsx)(r_.EmailCard,{subject:r.subject,address:r.address,direction:"outbound"})}),"user-message"===r.type&&(0,t.jsx)("div",{className:"flex justify-end",children:(0,t.jsxs)(rC.MessageBubble,{variant:"user",position:"single",children:[(0,t.jsx)("span",{className:"text-sm",children:r.text}),r.attachment&&(0,t.jsxs)("div",{className:"flex items-center gap-1 mt-1.5 rounded-md bg-primary-foreground/10 border border-primary-foreground/20 px-2 py-1",children:[(0,t.jsx)(rk.FileText,{className:"size-3 shrink-0"}),(0,t.jsx)("span",{className:"text-xs opacity-80",children:r.attachment})]})]})}),"message"===r.type&&(0,t.jsx)(rS.MessageCluster,{avatar:(0,t.jsx)("div",{className:"size-6.5 rounded-lg overflow-hidden",children:(0,t.jsx)(rT.AnimatedAvatar,{config:a.config,size:26,isHovered:!1,isWorking:e.isWorking})}),name:a.name,position:c,children:(0,t.jsx)(rC.MessageBubble,{variant:"agent",position:"solo"===c?"single":c,children:r.markdown?(0,t.jsx)("div",{className:"text-sm space-y-1",dangerouslySetInnerHTML:{__html:r.markdown}}):(0,t.jsx)("span",{className:"text-sm",children:r.text})})})]},n)})})}),(0,t.jsxs)("div",{className:"px-3 py-3 border-t border-border/40",children:[e.isTyping&&(0,t.jsx)(rA.PresenceLine,{agentFirstName:a.name,taskStatus:"running"}),(0,t.jsxs)("div",{className:"flex items-center gap-2 rounded-3xl border border-border/60 bg-muted/20 px-4 py-2.5",children:[(0,t.jsxs)("span",{className:"flex-1 text-sm text-muted-foreground/50",children:["Message ",a.name,"..."]}),(0,t.jsx)("div",{className:"size-6 rounded-full bg-primary flex items-center justify-center",children:(0,t.jsx)(rb.ArrowUp,{className:"size-3.5 text-primary-foreground"})})]})]})]})]})}function rR({lines:e,visibleCount:r,className:n}){return(0,t.jsxs)("div",{className:(0,rv.cn)("flex flex-col h-full bg-neutral-950 text-[11.5px] leading-relaxed font-mono overflow-hidden",n),children:[(0,t.jsx)("div",{className:"flex-1 px-4 py-3 space-y-1 overflow-hidden flex flex-col justify-end",children:e.slice(0,r).map((e,r)=>{let n=e.level??"info";return(0,t.jsx)("div",{className:(0,rv.cn)("animate-[fade-up_200ms_ease-out_both] whitespace-nowrap",!e.spans&&"info"===n&&"text-neutral-400",!e.spans&&"dim"===n&&"text-neutral-600",!e.spans&&"success"===n&&"text-green-400",!e.spans&&"highlight"===n&&"text-white"),children:e.spans?e.spans.map((e,r)=>(0,t.jsx)("span",{className:(0,rv.cn)("dim"===e.color&&"text-neutral-600","info"===e.color&&"text-neutral-400","highlight"===e.color&&"text-white","success"===e.color&&"text-green-400","keyword"===e.color&&"text-blue-400","string"===e.color&&"text-amber-300","muted"===e.color&&"text-neutral-500",!e.color&&"text-neutral-400"),children:e.text},r)):e.text},r)})}),(0,t.jsxs)("div",{className:"px-4 py-2 border-t border-neutral-800 flex items-center gap-2 text-[10px] text-neutral-500",children:[(0,t.jsx)("span",{className:"text-green-400",children:"●"}),(0,t.jsx)("span",{className:"text-neutral-400",children:"alook daemon"}),(0,t.jsx)("span",{className:"text-neutral-700",children:"·"}),(0,t.jsx)("span",{children:"1 workspace · 3 runtimes"})]})]})}var rF=e.i(41793),rz=e.i(51724);function rO({state:e,config:r,className:n}){let a=r.agents.find(t=>t.name.toLowerCase()===e.activeAgent)??r.agents[0],i=e.steps.slice(0,e.visibleCount);return(0,t.jsxs)("div",{className:(0,rv.cn)("flex flex-col h-full overflow-hidden dark",n),children:[(0,t.jsxs)("div",{className:"h-6 flex items-center px-1.5 shrink-0",children:[(0,t.jsxs)("div",{className:"flex items-center gap-0.5",children:[(0,t.jsx)("div",{className:"shrink-0 [&>button]:pointer-events-none scale-[0.6] origin-center",children:(0,t.jsx)(rE.Logo,{size:"sm",iconOnly:!0})}),(0,t.jsx)(rw.Home,{className:"size-2.5 text-muted-foreground shrink-0"}),(0,t.jsx)(rF.CalendarDays,{className:"size-2.5 text-muted-foreground shrink-0"}),(0,t.jsx)(rz.CircleDot,{className:"size-2.5 text-muted-foreground shrink-0"})]}),(0,t.jsx)("div",{className:"flex-1 flex items-center gap-1 ml-1 overflow-hidden",children:r.agents.map(r=>{let n=e.activeAgent===r.name.toLowerCase();return(0,t.jsx)("div",{className:(0,rv.cn)("shrink-0 size-4 rounded-full overflow-hidden transition-all",n&&"shadow-[inset_0_0_0_1.5px_hsl(var(--primary))]"),children:(0,t.jsx)(rM.AvatarRenderer,{config:r.config,size:16})},r.name)})})]}),(0,t.jsxs)("div",{className:"flex-1 min-h-0 mx-1.5 mb-1.5 rounded-xl bg-card/80 backdrop-blur-xl shadow-lg ring-1 ring-border/40 overflow-hidden flex flex-col",children:[(0,t.jsxs)("div",{className:"flex items-center gap-1 px-2 py-1 border-b border-border/40",children:[(0,t.jsx)("span",{className:"size-1 rounded-full bg-green-500"}),(0,t.jsx)("span",{className:"text-[9px] font-medium text-foreground",children:a.name}),(0,t.jsx)("span",{className:"text-[8px] text-muted-foreground",children:"/ Chat"})]}),(0,t.jsx)("div",{className:"flex-1 min-h-0 overflow-hidden px-2.5 py-2",children:(0,t.jsx)("div",{className:"flex flex-col h-full justify-end gap-2",children:i.map((r,n)=>{let o="message"===r.type,s=n>0&&"message"===i[n-1].type,l=n<i.length-1&&i[n+1]?.type==="message",c="solo";o&&(!s&&l?c="first":s&&l?c="middle":s&&!l&&(c="last"));let d=0===n?"":s&&o?"mt-0.5":"mt-2.5";return(0,t.jsxs)("div",{className:`animate-[fade-up_300ms_ease-out_both] ${d}`,children:[("email-in"===r.type||"email-out"===r.type)&&(0,t.jsxs)("div",{className:"rounded border border-border/60 bg-card/80 px-2 py-1.5",children:[(0,t.jsxs)("div",{className:"flex items-center gap-1",children:[(0,t.jsxs)("span",{className:"text-[8px] text-muted-foreground truncate flex-1",children:["email-in"===r.type?"from ":"to ",r.address]}),(0,t.jsx)("span",{className:"text-[7px] font-bold uppercase tracking-wider text-muted-foreground/60 px-0.5 border border-muted-foreground/30 rounded-sm",children:"email-in"===r.type?"In":"Sent"})]}),(0,t.jsx)("div",{className:"text-[9px] font-medium leading-tight mt-0.5 line-clamp-1",children:r.subject})]}),"user-message"===r.type&&(0,t.jsx)("div",{className:"flex justify-end",children:(0,t.jsx)(rC.MessageBubble,{variant:"user",position:"single",className:"text-[9px]! leading-tight!",children:r.text})}),"message"===r.type&&(0,t.jsxs)("div",{className:"flex items-start gap-1",children:["solo"===c||"first"===c?(0,t.jsx)("div",{className:"size-4 rounded overflow-hidden shrink-0 mt-0.5",children:(0,t.jsx)(rT.AnimatedAvatar,{config:a.config,size:16,isHovered:!1,isWorking:e.isWorking})}):(0,t.jsx)("div",{className:"w-4 shrink-0"}),(0,t.jsxs)("div",{className:"min-w-0 flex flex-col",children:[("solo"===c||"first"===c)&&(0,t.jsx)("span",{className:"text-[8px] font-semibold text-foreground leading-none mb-0.5",children:a.name}),(0,t.jsx)(rC.MessageBubble,{variant:"agent",position:"solo"===c?"single":c,className:"text-[9px]! leading-tight!",children:r.markdown?(0,t.jsx)("div",{className:"space-y-0.5",dangerouslySetInnerHTML:{__html:r.markdown}}):r.text})]})]})]},n)})})}),(0,t.jsxs)("div",{className:"px-2 py-1.5 border-t border-border/40",children:[e.isTyping&&(0,t.jsxs)("div",{className:"h-3 flex items-center mb-0.5",children:[(0,t.jsxs)("span",{className:"text-[8px] text-muted-foreground",children:[a.name," is typing"]}),(0,t.jsxs)("span",{className:"inline-flex items-center gap-px ml-1",children:[(0,t.jsx)("span",{className:"size-0.5 rounded-full bg-muted-foreground/60 animate-[typing-dot_1.2s_ease-in-out_infinite]"}),(0,t.jsx)("span",{className:"size-0.5 rounded-full bg-muted-foreground/60 animate-[typing-dot_1.2s_ease-in-out_0.2s_infinite]"}),(0,t.jsx)("span",{className:"size-0.5 rounded-full bg-muted-foreground/60 animate-[typing-dot_1.2s_ease-in-out_0.4s_infinite]"})]})]}),(0,t.jsxs)("div",{className:"flex items-center gap-1.5 rounded-full border border-border/60 bg-muted/20 px-2.5 py-1",children:[(0,t.jsx)("span",{className:"flex-1 text-[8px] text-muted-foreground/50",children:"Message..."}),(0,t.jsx)("div",{className:"size-3.5 rounded-full bg-primary flex items-center justify-center",children:(0,t.jsx)(rb.ArrowUp,{className:"size-2 text-primary-foreground"})})]})]})]})]})}function rI({steps:e,holdAfterComplete:t=4e3,resetDuration:n=300}){let[a,i]=(0,r.useState)(0),[o,s]=(0,r.useState)(!1),[l,c]=(0,r.useState)(!1),d=(0,r.useRef)(null),u=(0,r.useRef)(!1);(0,r.useEffect)(()=>{let t=window.matchMedia("(prefers-reduced-motion: reduce)");u.current=t.matches,t.matches&&i(e.length);let r=t=>{u.current=t.matches,t.matches&&(i(e.length),s(!1))};return t.addEventListener("change",r),()=>t.removeEventListener("change",r)},[e.length]);let p=(0,r.useCallback)(()=>{null!==d.current&&(clearTimeout(d.current),d.current=null)},[]);(0,r.useEffect)(()=>!l||u.current?void p():(i(0),s(!1),d.current=setTimeout(()=>(function r(a){if(a>=e.length){d.current=setTimeout(()=>{s(!0),d.current=setTimeout(()=>{s(!1),i(0),d.current=setTimeout(()=>r(0),200)},n)},t);return}i(a+1),d.current=setTimeout(()=>r(a+1),e[a].duration)})(0),500),p),[l,e,t,n,p]);let m=(0,r.useRef)(null);return(0,r.useEffect)(()=>{let e=m.current;if(!e)return;let t=new IntersectionObserver(([e])=>{c(e.isIntersecting)},{threshold:.3});return t.observe(e),()=>t.disconnect()},[]),{visibleCount:a,isResetting:o,containerRef:m,isStepVisible:e=>e<a}}a.default.registerPlugin(t4);let rL={agents:[{name:"Planner",email:"planner@alook.ai",config:{shape:"hexagon",eye:"dots",nose:"dash",bg:5}},{name:"Coder",email:"coder@alook.ai",config:{shape:"task",eye:"happy",nose:"dot",bg:0}}]},rD=[{type:"user-message",text:"A user reported Safari crashes on login — can you fix it?"},{type:"message",text:"On it. Let me investigate and delegate to Coder."},{type:"email-out",subject:"Fix Safari flex gap in login page",address:"coder@alook.ai"},{type:"email-in",subject:"Re: Fix Safari flex gap — Done, PR #142",address:"coder@alook.ai"},{type:"message",markdown:"Coder fixed it — <strong>PR #142</strong> opened. Both <code>login-page.tsx</code> and <code>signup.tsx</code> patched, 42 tests passing."},{type:"user-message",text:"Nice, ship it"},{type:"message",text:"Done. Merged and replied to the reporter."},{type:"email-out",subject:"Re: Login crashes on Safari — Fixed",address:"user@company.com"}],rY=[{type:"email-in",subject:"Fix Safari flex gap in login page",address:"planner@alook.ai"},{type:"message",text:"Got it. Searching for flex gap usage..."},{type:"message",markdown:"Found 2 affected files:<br/><code>login-page.tsx:42</code> and <code>signup.tsx:18</code>. Fixing both."},{type:"message",markdown:"Done — replaced flex gap → margin spacing. <strong>42 tests passing ✓</strong>"},{type:"email-out",subject:"Re: Fix Safari flex gap — Done, PR #142",address:"planner@alook.ai"}],rB=[{spans:[{text:"INFO ",color:"keyword"},{text:"[daemon] ",color:"muted"},{text:"Task ",color:"info"},{text:"PhGFC9l ",color:"string"},{text:"claimed agent=",color:"info"},{text:"Planner",color:"string"}]},{spans:[{text:"INFO ",color:"keyword"},{text:"[session-runner] ",color:"muted"},{text:"send-dm",color:"highlight"},{text:": ",color:"muted"},{text:'"Let me investigate and delegate..."',color:"string"}]},{spans:[{text:"INFO ",color:"keyword"},{text:"[session-runner] ",color:"muted"},{text:"email-send",color:"highlight"},{text:": → ",color:"muted"},{text:"coder@alook.ai",color:"string"}]},{spans:[{text:"INFO ",color:"keyword"},{text:"[daemon] ",color:"muted"},{text:"Task ",color:"info"},{text:"xK9mT2r ",color:"string"},{text:"claimed agent=",color:"info"},{text:"Coder",color:"string"}]},{spans:[{text:"INFO ",color:"keyword"},{text:"[session-runner] ",color:"muted"},{text:"starting ",color:"info"},{text:"(provider=",color:"muted"},{text:"claude",color:"string"},{text:")",color:"muted"}]},{spans:[{text:"INFO ",color:"keyword"},{text:"[session-runner] ",color:"muted"},{text:"Bash",color:"highlight"},{text:": grep -rn ",color:"info"},{text:"flex-gap",color:"string"},{text:" src/",color:"muted"}]},{spans:[{text:"INFO ",color:"keyword"},{text:"[session-runner] ",color:"muted"},{text:"→ found in ",color:"info"},{text:"login-page.tsx:42",color:"highlight"},{text:", ",color:"muted"},{text:"signup.tsx:18",color:"highlight"}]},{spans:[{text:"INFO ",color:"keyword"},{text:"[session-runner] ",color:"muted"},{text:"Edit",color:"highlight"},{text:": ",color:"muted"},{text:"login-page.tsx",color:"string"},{text:", ",color:"muted"},{text:"signup.tsx",color:"string"}]},{spans:[{text:"INFO ",color:"keyword"},{text:"[session-runner] ",color:"muted"},{text:"Bash",color:"highlight"},{text:": pnpm test ",color:"info"},{text:"→ ",color:"muted"},{text:"42 passed ✓",color:"success"}]},{spans:[{text:"INFO ",color:"keyword"},{text:"[session-runner] ",color:"muted"},{text:"email-send",color:"highlight"},{text:": → ",color:"muted"},{text:"planner@alook.ai",color:"string"}]},{spans:[{text:"INFO ",color:"keyword"},{text:"[session-runner] ",color:"muted"},{text:"completed ",color:"success"},{text:"(duration=18s, tools=4)",color:"muted"}]},{spans:[{text:"INFO ",color:"keyword"},{text:"[session-runner] ",color:"muted"},{text:"send-dm",color:"highlight"},{text:": ",color:"muted"},{text:'"Coder fixed it — PR #142 opened."',color:"string"}]},{spans:[{text:"INFO ",color:"keyword"},{text:"[session-runner] ",color:"muted"},{text:"email-send",color:"highlight"},{text:": → ",color:"muted"},{text:"user@company.com",color:"string"},{text:" — ",color:"muted"},{text:"completed",color:"success"}]}],rW=[{id:"user-asks",duration:2e3},{id:"planner-typing",duration:1500},{id:"planner-msg1",duration:1500},{id:"planner-email-out",duration:2e3},{id:"switch-to-coder",duration:1200},{id:"coder-email-in",duration:1800},{id:"coder-typing",duration:1200},{id:"coder-msg1",duration:1500},{id:"coder-msg2",duration:1800},{id:"coder-msg3",duration:1800},{id:"coder-email-out",duration:2e3},{id:"switch-to-planner",duration:1200},{id:"planner-email-in",duration:1800},{id:"planner-msg2",duration:2e3},{id:"user-confirms",duration:1800},{id:"planner-msg3",duration:1500},{id:"planner-final-email",duration:3e3}];function rH(){let e=(0,r.useRef)(null),{visibleCount:n,isResetting:o,containerRef:s,isStepVisible:l}=rI({steps:rW,holdAfterComplete:3500}),c=(0,r.useMemo)(()=>{let e,t,r,n,a=l(4)&&!l(11);return a?(e=rY,t=0,l(5)&&(t=1),l(7)&&(t=2),l(8)&&(t=3),l(9)&&(t=4),l(10)&&(t=5),r=l(6)&&!l(7),n=l(5)&&!l(10)):(e=rD,t=0,l(0)&&(t=1),l(2)&&(t=2),l(3)&&(t=3),l(12)&&(t=4),l(13)&&(t=5),l(14)&&(t=6),l(15)&&(t=7),l(16)&&(t=8),r=l(1)&&!l(2),n=l(0)&&!l(16)),{activeAgent:a?"coder":"planner",steps:e,visibleCount:t,isTyping:r,isWorking:n}},[n]),d=(0,r.useMemo)(()=>{let e=[0,1,2,3,4,4,5,6,7,8,9,10,10,11,11,12,12],t=0;for(let r=0;r<e.length;r++)l(r)&&(t=e[r]+1);return Math.min(t,rB.length)},[n]);return(0,i.useGSAP)(()=>{a.default.from(".arch-title",{y:30,opacity:0,duration:.6,scrollTrigger:{trigger:e.current,start:"top 75%",toggleActions:"play none none none"}}),a.default.from(".arch-demo-container",{y:40,opacity:0,duration:.7,scrollTrigger:{trigger:".arch-demo-container",start:"top 70%",toggleActions:"play none none none"}})},{scope:e}),(0,t.jsxs)("section",{ref:e,className:"relative flex flex-col items-center justify-center px-6 py-24 lg:py-32",style:{backgroundColor:"var(--landing-bg)"},children:[(0,t.jsxs)("div",{className:"arch-title mb-16 text-center",children:[(0,t.jsx)("div",{className:"mb-3 text-xs uppercase tracking-[0.3em]",style:{fontFamily:"var(--font-mono)",color:"var(--landing-text-muted)"},children:"How It Works"}),(0,t.jsx)("h2",{style:{fontFamily:"var(--font-crt)",color:"var(--landing-text)",fontSize:"clamp(1.75rem, 4vw, 3rem)"},children:"Local Agent, Global Reach"}),(0,t.jsx)("p",{className:"mt-2 max-w-2xl mx-auto",style:{fontFamily:"var(--font-mono)",color:"var(--landing-text-muted)",fontSize:"0.85rem"},children:"Your agent runs on your machine with full access to your tools. Alook connects it to email, dashboards, and the outside world."})]}),(0,t.jsxs)("div",{ref:s,className:`arch-demo-container relative w-full max-w-5xl mx-auto h-130 lg:h-120 transition-opacity duration-300 ${o?"opacity-0":"opacity-100"}`,children:[(0,t.jsx)("div",{className:"absolute top-0 left-0 w-[60%] h-[88%] z-10 hidden md:block",children:(0,t.jsx)(ry,{title:"Alook Desktop",className:"h-full shadow-[0_28px_70px_rgba(0,0,0,0.14),0_14px_32px_rgba(0,0,0,0.1)]",children:(0,t.jsx)(rP,{state:c,config:rL})})}),(0,t.jsxs)("div",{className:"absolute top-[25%] left-[40%] right-0 h-[75%] z-20 hidden md:flex gap-3",children:[(0,t.jsx)("div",{className:"w-45 shrink-0 h-full hidden lg:block",children:(0,t.jsxs)("div",{className:"h-full rounded-[1.5rem] border-[3px] border-neutral-700 bg-background shadow-[0_28px_70px_rgba(0,0,0,0.18),0_14px_32px_rgba(0,0,0,0.12)] overflow-hidden flex flex-col dark",children:[(0,t.jsx)("div",{className:"flex justify-center pt-1 shrink-0",children:(0,t.jsx)("div",{className:"px-2 py-px bg-neutral-800 rounded-full flex items-center justify-center",children:(0,t.jsx)("span",{className:"text-[8px] text-neutral-400",children:"Alook Mobile"})})}),(0,t.jsx)("div",{className:"flex-1 min-h-0",children:(0,t.jsx)(rO,{state:c,config:rL})}),(0,t.jsx)("div",{className:"flex justify-center py-1 shrink-0",children:(0,t.jsx)("div",{className:"w-12 h-1 bg-muted-foreground/30 rounded-full"})})]})}),(0,t.jsx)("div",{className:"flex-1 min-w-0 h-full",children:(0,t.jsx)(ry,{title:"Your Machine",className:"h-full shadow-[0_28px_70px_rgba(0,0,0,0.18),0_14px_32px_rgba(0,0,0,0.12)]",children:(0,t.jsx)(rR,{lines:rB,visibleCount:d})})})]}),(0,t.jsx)("div",{className:"md:hidden flex justify-center h-full",children:(0,t.jsxs)("div",{className:"w-65 h-full rounded-[2rem] border-[3px] border-neutral-700 bg-background shadow-lg overflow-hidden flex flex-col dark",children:[(0,t.jsx)("div",{className:"flex justify-center pt-2 shrink-0",children:(0,t.jsx)("div",{className:"px-4 py-1 bg-neutral-800 rounded-full flex items-center justify-center",children:(0,t.jsx)("span",{className:"text-[11px] text-neutral-400 leading-none",children:"Alook Mobile"})})}),(0,t.jsx)("div",{className:"flex-1 min-h-0",children:(0,t.jsx)(rO,{state:c,config:rL})}),(0,t.jsx)("div",{className:"flex justify-center py-1 shrink-0",children:(0,t.jsx)("div",{className:"w-16 h-1 bg-muted-foreground/30 rounded-full"})})]})})]})]})}function rV({isLoggedIn:e}){return(0,t.jsx)("nav",{className:"marketing-nav fixed top-0 right-0 left-0 z-50 invisible opacity-0",style:{backgroundColor:"var(--landing-bg-translucent)",backdropFilter:"blur(8px)",borderBottom:"1px solid var(--landing-border)"},children:(0,t.jsxs)("div",{className:"mx-auto flex max-w-5xl items-center justify-between px-6 py-2.5",children:[(0,t.jsxs)(rs.default,{href:"/",className:"flex items-center gap-1",children:[(0,t.jsx)(ro.default,{src:"/alook.svg",alt:"Alook",width:22,height:22}),(0,t.jsx)("span",{className:"text-lg tracking-tight",style:{fontFamily:"var(--font-brand)",color:"var(--landing-text)",fontWeight:700},children:"Alook"})]}),(0,t.jsxs)("div",{className:"flex items-center gap-3",children:[(0,t.jsx)(rs.default,{href:"/templates",className:"hidden sm:block px-3 py-1.5 text-xs uppercase tracking-widest transition-opacity duration-150 hover:opacity-70",style:{fontFamily:"var(--font-mono)",color:"var(--landing-text)"},children:"Templates"}),(0,t.jsx)(rs.default,{href:"/blog",className:"hidden sm:block px-3 py-1.5 text-xs uppercase tracking-widest transition-opacity duration-150 hover:opacity-70",style:{fontFamily:"var(--font-mono)",color:"var(--landing-text)"},children:"Blog"}),(0,t.jsx)("a",{href:"https://github.com/alookai/alook",target:"_blank",rel:"noopener noreferrer",className:"flex items-center justify-center p-1.5 transition-opacity duration-150 hover:opacity-70","aria-label":"GitHub",children:(0,t.jsx)("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"var(--landing-text)",children:(0,t.jsx)("path",{d:"M12 0c-6.626 0-12 5.373-12 12 0 5.302 3.438 9.8 8.207 11.387.599.111.793-.261.793-.577v-2.234c-3.338.726-4.033-1.416-4.033-1.416-.546-1.387-1.333-1.756-1.333-1.756-1.089-.745.083-.729.083-.729 1.205.084 1.839 1.237 1.839 1.237 1.07 1.834 2.807 1.304 3.492.997.107-.775.418-1.305.762-1.604-2.665-.305-5.467-1.334-5.467-5.931 0-1.311.469-2.381 1.236-3.221-.124-.303-.535-1.524.117-3.176 0 0 1.008-.322 3.301 1.23.957-.266 1.983-.399 3.003-.404 1.02.005 2.047.138 3.006.404 2.291-1.552 3.297-1.23 3.297-1.23.653 1.653.242 2.874.118 3.176.77.84 1.235 1.911 1.235 3.221 0 4.609-2.807 5.624-5.479 5.921.43.372.823 1.102.823 2.222v3.293c0 .319.192.694.801.576 4.765-1.589 8.199-6.086 8.199-11.386 0-6.627-5.373-12-12-12z"})})}),(0,t.jsx)("a",{href:"https://discord.alook.ai",target:"_blank",rel:"noopener noreferrer",className:"flex items-center justify-center p-1.5 transition-opacity duration-150 hover:opacity-70","aria-label":"Discord",children:(0,t.jsx)("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"var(--landing-text)",children:(0,t.jsx)("path",{d:"M20.317 4.37a19.791 19.791 0 0 0-4.885-1.515.074.074 0 0 0-.079.037c-.21.375-.444.864-.608 1.25a18.27 18.27 0 0 0-5.487 0 12.64 12.64 0 0 0-.617-1.25.077.077 0 0 0-.079-.037A19.736 19.736 0 0 0 3.677 4.37a.07.07 0 0 0-.032.027C.533 9.046-.32 13.58.099 18.057a.082.082 0 0 0 .031.057 19.9 19.9 0 0 0 5.993 3.03.078.078 0 0 0 .084-.028c.462-.63.874-1.295 1.226-1.994a.076.076 0 0 0-.041-.106 13.107 13.107 0 0 1-1.872-.892.077.077 0 0 1-.008-.128 10.2 10.2 0 0 0 .372-.292.074.074 0 0 1 .077-.01c3.928 1.793 8.18 1.793 12.062 0a.074.074 0 0 1 .078.01c.12.098.246.198.373.292a.077.077 0 0 1-.006.127 12.299 12.299 0 0 1-1.873.892.077.077 0 0 0-.041.107c.36.698.772 1.362 1.225 1.993a.076.076 0 0 0 .084.028 19.839 19.839 0 0 0 6.002-3.03.077.077 0 0 0 .032-.054c.5-5.177-.838-9.674-3.549-13.66a.061.061 0 0 0-.031-.03z"})})}),(0,t.jsx)("a",{href:"https://x.com/alook_ai",target:"_blank",rel:"noopener noreferrer",className:"flex items-center justify-center p-1.5 transition-opacity duration-150 hover:opacity-70","aria-label":"Follow us on X",children:(0,t.jsx)("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"var(--landing-text)",children:(0,t.jsx)("path",{d:"M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z"})})}),e?(0,t.jsxs)(rs.default,{href:"/workspaces?auto",className:"inline-flex items-center gap-1.5 px-4 py-1.5 text-xs uppercase tracking-widest transition-opacity duration-150 hover:opacity-70",style:{fontFamily:"var(--font-mono)",color:"var(--landing-text)",border:"1px solid var(--landing-text)"},children:["App",(0,t.jsx)("svg",{width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round",children:(0,t.jsx)("path",{d:"M5 12h14M12 5l7 7-7 7"})})]}):(0,t.jsx)("a",{href:"/sign-in",className:"inline-flex items-center gap-1.5 px-4 py-1.5 text-xs uppercase tracking-widest transition-opacity duration-150 hover:opacity-70",style:{fontFamily:"var(--font-mono)",color:"var(--landing-bg)",backgroundColor:"var(--landing-text)"},children:"Get Started"})]})]})})}a.default.registerPlugin(t4);let rX=[{href:"/templates",label:"Templates"},{href:"/blog",label:"Blog"},{href:"https://github.com/alookai/alook",label:"GitHub",external:!0},{href:"https://discord.alook.ai",label:"Discord",external:!0},{href:"https://x.com/alook_ai",label:"X",external:!0},{href:"/privacy",label:"Privacy"}];function rG(){let e=(0,r.useRef)(null);(0,i.useGSAP)(()=>{a.default.from(e.current,{y:20,opacity:0,duration:.6,ease:"power2.out",scrollTrigger:{trigger:e.current,start:"top 90%",toggleActions:"play none none none"}})},{scope:e});let n={fontFamily:"var(--font-mono)",color:"var(--landing-text-muted)",fontSize:"11px",textTransform:"uppercase",letterSpacing:"0.15em"};return(0,t.jsx)("footer",{ref:e,className:"px-6 py-12",style:{backgroundColor:"var(--landing-surface)",borderTop:"1px solid var(--landing-border)"},children:(0,t.jsxs)("div",{className:"mx-auto flex max-w-5xl flex-col items-center justify-between gap-6 md:flex-row",children:[(0,t.jsxs)("div",{className:"flex items-center gap-4",children:[(0,t.jsxs)("div",{className:"flex items-center gap-1",children:[(0,t.jsx)(ro.default,{src:"/alook.svg",alt:"Alook",width:20,height:20}),(0,t.jsx)("span",{className:"text-lg tracking-tight",style:{fontFamily:"var(--font-brand)",color:"var(--landing-text)",fontWeight:700},children:"Alook"})]}),(0,t.jsx)("span",{className:"text-[10px] uppercase tracking-[0.2em]",style:{fontFamily:"var(--font-mono)",color:"var(--landing-text-muted)"},children:"Your Personal Company"})]}),(0,t.jsx)("nav",{className:"flex items-center gap-5","aria-label":"Footer navigation",children:rX.map(e=>e.external?(0,t.jsx)("a",{href:e.href,target:"_blank",rel:"noopener noreferrer",className:"transition-opacity hover:opacity-70",style:n,children:e.label},e.label):(0,t.jsx)(rs.default,{href:e.href,className:"transition-opacity hover:opacity-70",style:n,children:e.label},e.label))}),(0,t.jsx)("div",{className:"flex items-center gap-6",children:(0,t.jsxs)("span",{className:"text-[10px] uppercase tracking-[0.2em]",style:{fontFamily:"var(--font-mono)",color:"var(--landing-text-muted)",opacity:.5},children:["© ",new Date().getFullYear()," Alook AI"]})})]})})}var rU=e.i(855372);a.default.registerPlugin(t4);let rq=[{name:"Claude Code",provider:"claude",detail:"Anthropic's CLI agent"},{name:"Codex",provider:"codex",detail:"OpenAI's coding agent"},{name:"OpenCode",provider:"opencode",detail:"Open-source coding agent"},{name:"Cursor",provider:"cursor",detail:"AI-powered code editor",comingSoon:!0},{name:"Hermes",provider:"hermes",detail:"Autonomous coding agent",comingSoon:!0},{name:"OpenClaw",provider:"openclaw",detail:"Open-source AI agent",comingSoon:!0}];function r$({agent:e}){let r=e.comingSoon;return(0,t.jsx)("div",{className:"byoa-card crt-panel-outer",style:{opacity:r?.55:1},children:(0,t.jsx)("div",{className:"crt-panel-inner px-5 py-4",children:(0,t.jsxs)("div",{className:"flex items-center gap-3",children:[(0,t.jsx)("div",{className:"flex shrink-0 items-center justify-center rounded",style:{opacity:r?.45:.85},children:(0,t.jsx)(rU.ProviderLogo,{provider:e.provider,className:"h-5 w-5 text-white"})}),(0,t.jsxs)("div",{className:"min-w-0 flex-1",children:[(0,t.jsxs)("div",{className:"flex items-center justify-between gap-2",children:[(0,t.jsx)("div",{className:"text-sm font-medium",style:{fontFamily:"var(--font-crt)",color:"var(--landing-phosphor)",textShadow:r?"none":"0 0 6px oklch(0.75 0.18 80 / 30%)",opacity:r?.5:1},children:e.name}),r&&(0,t.jsx)("span",{className:"text-[9px] uppercase tracking-[0.15em]",style:{fontFamily:"var(--font-mono)",color:"var(--landing-phosphor)",opacity:.4},children:"Soon"}),!r&&(0,t.jsx)("span",{className:"inline-block h-1.5 w-1.5 rounded-full",style:{backgroundColor:"var(--landing-phosphor)",boxShadow:"0 0 6px oklch(0.75 0.18 80 / 50%)"}})]}),(0,t.jsx)("div",{className:"mt-0.5 text-[11px] leading-relaxed",style:{fontFamily:"var(--font-crt)",color:"var(--landing-phosphor)",textShadow:r?"none":"0 0 6px oklch(0.75 0.18 80 / 30%)",opacity:r?.35:.55},children:e.detail})]})]})})})}function rK(){let e=(0,r.useRef)(null);return(0,i.useGSAP)(()=>{a.default.from(".byoa-title",{y:30,opacity:0,duration:.6,scrollTrigger:{trigger:e.current,start:"top 75%",toggleActions:"play none none none"}}),a.default.from(".byoa-card",{y:30,opacity:0,duration:.5,stagger:.1,scrollTrigger:{trigger:".byoa-grid",start:"top 80%",toggleActions:"play none none none"}})},{scope:e}),(0,t.jsxs)("section",{ref:e,className:"relative px-6 py-24 lg:py-32",style:{backgroundColor:"var(--landing-bg)"},children:[(0,t.jsxs)("div",{className:"byoa-title mx-auto mb-12 max-w-4xl text-center lg:mb-16",children:[(0,t.jsx)("div",{className:"mb-3 text-xs uppercase tracking-[0.3em]",style:{fontFamily:"var(--font-mono)",color:"var(--landing-text-muted)"},children:"Agent Agnostic"}),(0,t.jsx)("h2",{style:{fontFamily:"var(--font-crt)",color:"var(--landing-text)",fontSize:"clamp(1.75rem, 4vw, 3rem)"},children:"Bring Your Own Agent"}),(0,t.jsx)("p",{className:"mx-auto mt-2 max-w-lg",style:{fontFamily:"var(--font-mono)",color:"var(--landing-text-muted)",fontSize:"0.85rem"},children:"Alook is the orchestration layer. Pick the agents you trust — we give them roles, inboxes, and an always-on runtime."})]}),(0,t.jsx)("div",{className:"byoa-grid mx-auto grid max-w-3xl grid-cols-1 gap-3 sm:grid-cols-2 lg:grid-cols-3",children:rq.map(e=>(0,t.jsx)(r$,{agent:e},e.name))})]})}var rZ=e.i(419412);let rJ=(0,rZ.default)("calendar",[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M3 10h18",key:"8toen8"}]]),rQ=(0,rZ.default)("dollar-sign",[["line",{x1:"12",x2:"12",y1:"2",y2:"22",key:"7eqyqh"}],["path",{d:"M17 5H9.5a3.5 3.5 0 0 0 0 7h5a3.5 3.5 0 0 1 0 7H6",key:"1b0p4s"}]]),r0=(0,rZ.default)("chart-column",[["path",{d:"M3 3v16a2 2 0 0 0 2 2h16",key:"c24i48"}],["path",{d:"M18 17V9",key:"2bz60n"}],["path",{d:"M13 17V5",key:"1frdt8"}],["path",{d:"M8 17v-3",key:"17ska0"}]]),r1=(0,rZ.default)("bug",[["path",{d:"M12 20v-9",key:"1qisl0"}],["path",{d:"M14 7a4 4 0 0 1 4 4v3a6 6 0 0 1-12 0v-3a4 4 0 0 1 4-4z",key:"uouzyp"}],["path",{d:"M14.12 3.88 16 2",key:"qol33r"}],["path",{d:"M21 21a4 4 0 0 0-3.81-4",key:"1b0z45"}],["path",{d:"M21 5a4 4 0 0 1-3.55 3.97",key:"5cxbf6"}],["path",{d:"M22 13h-4",key:"1jl80f"}],["path",{d:"M3 21a4 4 0 0 1 3.81-4",key:"1fjd4g"}],["path",{d:"M3 5a4 4 0 0 0 3.55 3.97",key:"1d7oge"}],["path",{d:"M6 13H2",key:"82j7cp"}],["path",{d:"m8 2 1.88 1.88",key:"fmnt4t"}],["path",{d:"M9 7.13V6a3 3 0 1 1 6 0v1.13",key:"1vgav8"}]]),r2=(0,rZ.default)("brain",[["path",{d:"M12 18V5",key:"adv99a"}],["path",{d:"M15 13a4.17 4.17 0 0 1-3-4 4.17 4.17 0 0 1-3 4",key:"1e3is1"}],["path",{d:"M17.598 6.5A3 3 0 1 0 12 5a3 3 0 1 0-5.598 1.5",key:"1gqd8o"}],["path",{d:"M17.997 5.125a4 4 0 0 1 2.526 5.77",key:"iwvgf7"}],["path",{d:"M18 18a4 4 0 0 0 2-7.464",key:"efp6ie"}],["path",{d:"M19.967 17.483A4 4 0 1 1 12 18a4 4 0 1 1-7.967-.517",key:"1gq6am"}],["path",{d:"M6 18a4 4 0 0 1-2-7.464",key:"k1g0md"}],["path",{d:"M6.003 5.125a4 4 0 0 0-2.526 5.77",key:"q97ue3"}]]);function r3({script:e}){let{visibleCount:n,isResetting:a,containerRef:i,isStepVisible:o}=rI({steps:e.timeline,holdAfterComplete:3e3}),s=(0,r.useMemo)(()=>e.derive(o),[n]),l=(0,r.useMemo)(()=>({agents:e.agents}),[e.agents]);return(0,t.jsx)("div",{ref:i,className:`h-full transition-opacity duration-300 ${a?"opacity-0":"opacity-100"}`,children:(0,t.jsx)(rP,{state:s,config:l})})}let r5={name:"Planner",email:"planner@alook.ai",config:{shape:"hexagon",eye:"dots",nose:"dash",bg:5}},r4={name:"Coder",email:"coder@alook.ai",config:{shape:"task",eye:"happy",nose:"dot",bg:0}},r7={name:"Marketer",email:"marketer@alook.ai",config:{shape:"mail",eye:"dots",nose:"smile",bg:3}},r8=[{type:"email-in",subject:"What's your pricing for a 50-person team?",address:"sarah@acmecorp.com"},{type:"message",text:"I remember this person. AcmeCorp, Series A — asked about API access on Discord 2 weeks ago."},{type:"email-out",subject:"Does our API support bulk user import? Sarah needs this for 50 seats.",address:"coder@alook.ai"},{type:"email-in",subject:"Re: Yes, /api/users/bulk supports CSV import up to 500 users.",address:"coder@alook.ai"},{type:"message",text:"Got confirmation. Sending personalized reply with accurate info."},{type:"email-out",subject:"Re: Pricing — Team plan $29/seat with API access",address:"sarah@acmecorp.com"}],r6=[{type:"email-in",subject:"Does our API support bulk user import? Sarah needs this for 50 seats.",address:"sales@alook.ai"},{type:"message",markdown:"Yes, <code>/api/users/bulk</code> supports CSV import up to 500 users. Shipped last week."},{type:"email-out",subject:"Re: Yes, /api/users/bulk supports CSV import up to 500 users.",address:"sales@alook.ai"}],r9=[{type:"email-in",subject:"Weekly Briefing — Mon 8:00 AM",address:"calendar@alook.ai"},{type:"message",text:"Collecting updates from the team..."},{type:"email-out",subject:"What shipped this week? Any blockers?",address:"coder@alook.ai"},{type:"email-in",subject:"Shipped calendar v2, 3 bug fixes. Blocker: OAuth refresh in staging.",address:"coder@alook.ai"},{type:"email-out",subject:"Marketing status update?",address:"marketer@alook.ai"},{type:"email-in",subject:"Blog post live, 2 social campaigns running. Launch copy 80% done.",address:"marketer@alook.ai"},{type:"message",markdown:`<strong>Weekly Briefing — May 19</strong><br/><span style="display:inline-block;margin:4px 0"><span style="font-size:18px;font-weight:600">12</span> <span style="font-size:11px;opacity:0.6">Completed</span> \xb7 <span style="font-size:18px;font-weight:600;color:#ca8a04">1</span> <span style="font-size:11px;opacity:0.6">Blocker</span> \xb7 <span style="font-size:18px;font-weight:600">5</span> <span style="font-size:11px;opacity:0.6">This Week</span></span><br/>🔴 OAuth token refresh failing in staging`},{type:"email-out",subject:"Your Monday Briefing — May 19",address:"owner@company.com"}],ne=[{type:"email-in",subject:"What shipped this week? Any blockers?",address:"planner@alook.ai"},{type:"message",text:"Shipped calendar v2, 3 bug fixes. Blocker: OAuth refresh failing in staging."},{type:"email-out",subject:"Shipped calendar v2, 3 bug fixes. Blocker: OAuth refresh in staging.",address:"planner@alook.ai"}],nt=[{type:"email-in",subject:"Marketing status update?",address:"planner@alook.ai"},{type:"message",text:"Blog post live, 2 social campaigns running. Launch copy 80% done."},{type:"email-out",subject:"Blog post live, 2 social campaigns running. Launch copy 80% done.",address:"planner@alook.ai"}],nr=[{type:"email-in",subject:"Daily Store Check — 7:00 AM",address:"calendar@alook.ai"},{type:"message",markdown:"Checking inventory, traffic, sales...<br/>✓ Check Inventory Levels<br/>✓ Pull Yesterday's Traffic & Sales<br/>✓ Spot Anomalies"},{type:"message",text:'"Classic Tee" almost out of stock (3 left). Emailing Marketer to pause that ad.'},{type:"email-out",subject:'Pause "Classic Tee" Instagram ad — only 3 left in stock',address:"marketer@alook.ai"},{type:"email-in",subject:"Re: Paused. Switching budget to Hoodie campaign.",address:"marketer@alook.ai"},{type:"email-out",subject:"Daily Store Report — May 23",address:"owner@company.com"}],nn=[{type:"email-in",subject:'Pause "Classic Tee" Instagram ad — only 3 left in stock',address:"ops@alook.ai"},{type:"message",text:"Paused. Switching budget to the Hoodie campaign instead."},{type:"email-out",subject:"Re: Paused. Switching budget to Hoodie campaign.",address:"ops@alook.ai"}],na=[{type:"email-in",subject:"Login page crashes on Safari",address:"user@company.com"},{type:"message",text:"Reproduced it — WebKit flex gap bug in Safari 14. Writing fix plan and emailing Coder."},{type:"email-out",subject:"Replace flex gap with margin-based spacing in login page.",address:"coder@alook.ai"},{type:"email-in",subject:"Re: Fixed. PR #142 ready for review.",address:"coder@alook.ai"},{type:"email-in",subject:"Re: All tests pass. Approved.",address:"reviewer@alook.ai"},{type:"email-out",subject:"Re: Login page crashes on Safari — Fixed in PR #142",address:"user@company.com"}],ni=[{type:"email-in",subject:"Replace flex gap with margin-based spacing in login page.",address:"planner@alook.ai"},{type:"message",text:"Fixed. PR opened. Emailing Reviewer."},{type:"email-out",subject:"PR #142 ready. Safari flex gap fix.",address:"reviewer@alook.ai"},{type:"email-out",subject:"Re: Fixed. PR #142 ready for review.",address:"planner@alook.ai"}],no=[{type:"email-in",subject:"PR #142 ready. Safari flex gap fix.",address:"coder@alook.ai"},{type:"message",text:"All tests pass. Approved."},{type:"email-out",subject:"Re: All tests pass. Approved.",address:"planner@alook.ai"}],ns=[{type:"user-message",text:"Post something about today's release"},{type:"message",text:"I need to know what shipped today. Emailing Coder."},{type:"email-out",subject:"What did we ship today? I need to write a post.",address:"coder@alook.ai"},{type:"email-in",subject:"Re: Shipped calendar recurring events, email forwarding, and 3 bug fixes.",address:"coder@alook.ai"},{type:"message",markdown:'Got it. Drafting and publishing now.<br/><br/>✓ Posted to X: <em>"Just shipped: recurring calendar events, email forwarding, and squashed 3 bugs. Your AI team never sleeps."</em>'}],nl=[{type:"email-in",subject:"What did we ship today? I need to write a post.",address:"marketer@alook.ai"},{type:"message",text:"Shipped calendar recurring events, email forwarding, and 3 bug fixes."},{type:"email-out",subject:"Re: Shipped calendar recurring events, email forwarding, and 3 bug fixes.",address:"marketer@alook.ai"}],nc=[{type:"user-message",text:"Fill this for me",attachment:"YC_Application_W27.pdf"},{type:"message",text:"I have most of this from memory. Let me check what I know..."},{type:"message",markdown:'<span style="font-size:10px;text-transform:uppercase;letter-spacing:0.05em;opacity:0.6">Recalled from memory</span><br/><span style="color:#10b981">✓</span> Company name, address, EIN<br/><span style="color:#10b981">✓</span> Founder name, email, background<br/><span style="color:#10b981">✓</span> Product description, tech stack<br/><span style="color:#10b981">✓</span> Revenue, team size, launch date'},{type:"message",markdown:'All <strong>31 fields</strong> filled from memory. No questions needed.<br/><br/><span style="display:inline-flex;align-items:center;gap:4px;background:var(--muted);border:1px solid var(--border);border-radius:6px;padding:4px 10px"><svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z"/><polyline points="14,2 14,8 20,8"/></svg><span style="font-size:13px;font-weight:500">YC_Application_W27_filled.pdf</span></span>'}];a.default.registerPlugin(t4);let nd=[{id:"lead-followup",title:"Lead auto follow-up",subtitle:"Personalized reply in minutes. Not hours.",icon:(0,t.jsx)(rQ,{className:"size-4"}),script:{agents:[{name:"Sales",email:"sales@alook.ai",config:{shape:"hexagon",eye:"dots",nose:"dash",bg:5}},r4],timeline:[{id:"email-in",duration:2e3},{id:"sales-typing",duration:1500},{id:"sales-msg",duration:1800},{id:"sales-email-out",duration:1800},{id:"switch-coder",duration:1e3},{id:"coder-email-in",duration:1500},{id:"coder-typing",duration:1200},{id:"coder-msg",duration:1500},{id:"coder-email-out",duration:1800},{id:"switch-sales",duration:1e3},{id:"sales-email-in-2",duration:1500},{id:"sales-msg-2",duration:1800},{id:"sales-email-out-2",duration:3e3}],derive(e){if(e(4)&&!e(9)){let t=0;return e(5)&&(t=1),e(7)&&(t=2),e(8)&&(t=3),{activeAgent:"coder",steps:r6,visibleCount:t,isTyping:e(6)&&!e(7),isWorking:e(5)&&!e(8)}}let t=0;return e(0)&&(t=1),e(2)&&(t=2),e(3)&&(t=3),e(10)&&(t=4),e(11)&&(t=5),e(12)&&(t=6),{activeAgent:"sales",steps:r8,visibleCount:t,isTyping:e(1)&&!e(2),isWorking:e(0)&&!e(12)}}}},{id:"weekly-brief",title:"Monday 8am briefing",subtitle:"Your week is planned before coffee.",icon:(0,t.jsx)(rJ,{className:"size-4"}),script:{agents:[r5,r4,r7],timeline:[{id:"trigger",duration:2e3},{id:"planner-typing",duration:1500},{id:"planner-msg",duration:1500},{id:"planner-email-out-coder",duration:1800},{id:"switch-coder",duration:1e3},{id:"coder-email-in",duration:1500},{id:"coder-typing",duration:1200},{id:"coder-msg",duration:1500},{id:"coder-email-out",duration:1800},{id:"switch-planner-1",duration:1e3},{id:"planner-email-in-coder",duration:1200},{id:"planner-email-out-marketer",duration:1500},{id:"switch-marketer",duration:1e3},{id:"marketer-email-in",duration:1500},{id:"marketer-typing",duration:1200},{id:"marketer-msg",duration:1500},{id:"marketer-email-out",duration:1800},{id:"switch-planner-2",duration:1e3},{id:"planner-email-in-marketer",duration:1200},{id:"planner-msg-2",duration:2500},{id:"planner-email-out-final",duration:3e3}],derive(e){let t=e(4)&&!e(9);if(e(12)&&!e(17)){let t=0;return e(13)&&(t=1),e(15)&&(t=2),e(16)&&(t=3),{activeAgent:"marketer",steps:nt,visibleCount:t,isTyping:e(14)&&!e(15),isWorking:e(13)&&!e(16)}}if(t){let t=0;return e(5)&&(t=1),e(7)&&(t=2),e(8)&&(t=3),{activeAgent:"coder",steps:ne,visibleCount:t,isTyping:e(6)&&!e(7),isWorking:e(5)&&!e(8)}}let r=0;return e(0)&&(r=1),e(2)&&(r=2),e(3)&&(r=3),e(10)&&(r=4),e(11)&&(r=5),e(18)&&(r=6),e(19)&&(r=7),e(20)&&(r=8),{activeAgent:"planner",steps:r9,visibleCount:r,isTyping:e(1)&&!e(2),isWorking:e(0)&&!e(20)}}}},{id:"store-ops",title:"Daily store operations",subtitle:"Your AI ops manager checks in every morning.",icon:(0,t.jsx)(r0,{className:"size-4"}),script:{agents:[{name:"Ops",email:"ops@alook.ai",config:{shape:"folder",eye:"lines",nose:"dash",bg:7}},r7],timeline:[{id:"trigger",duration:2e3},{id:"ops-typing",duration:1500},{id:"ops-msg",duration:2200},{id:"ops-msg-2",duration:1500},{id:"ops-email-out",duration:1800},{id:"switch-marketer",duration:1e3},{id:"marketer-email-in",duration:1500},{id:"marketer-typing",duration:1200},{id:"marketer-msg",duration:1500},{id:"marketer-email-out",duration:1800},{id:"switch-ops",duration:1e3},{id:"ops-email-in",duration:1500},{id:"ops-final-email",duration:3e3}],derive(e){if(e(5)&&!e(10)){let t=0;return e(6)&&(t=1),e(8)&&(t=2),e(9)&&(t=3),{activeAgent:"marketer",steps:nn,visibleCount:t,isTyping:e(7)&&!e(8),isWorking:e(6)&&!e(9)}}let t=0;return e(0)&&(t=1),e(2)&&(t=2),e(3)&&(t=3),e(4)&&(t=4),e(11)&&(t=5),e(12)&&(t=6),{activeAgent:"ops",steps:nr,visibleCount:t,isTyping:e(1)&&!e(2),isWorking:e(0)&&!e(12)}}}},{id:"bug-to-pr",title:"Bug report → PR ready",subtitle:"Three agents turn a bug email into a merged fix.",icon:(0,t.jsx)(r1,{className:"size-4"}),script:{agents:[r5,r4,{name:"Reviewer",email:"reviewer@alook.ai",config:{shape:"circle",eye:"arches",nose:"smile",bg:8}}],timeline:[{id:"email-in",duration:2e3},{id:"planner-typing",duration:1500},{id:"planner-msg",duration:1800},{id:"planner-email-out",duration:1800},{id:"switch-coder",duration:1e3},{id:"coder-email-in",duration:1500},{id:"coder-typing",duration:1200},{id:"coder-msg",duration:1500},{id:"coder-email-out-1",duration:1200},{id:"coder-email-out-2",duration:1500},{id:"switch-reviewer",duration:1e3},{id:"reviewer-email-in",duration:1500},{id:"reviewer-typing",duration:1200},{id:"reviewer-msg",duration:1500},{id:"reviewer-email-out",duration:1800},{id:"switch-planner",duration:1e3},{id:"planner-email-in-1",duration:1200},{id:"planner-email-in-2",duration:1200},{id:"planner-email-out-2",duration:3e3}],derive(e){let t=e(4)&&!e(10);if(e(10)&&!e(15)){let t=0;return e(11)&&(t=1),e(13)&&(t=2),e(14)&&(t=3),{activeAgent:"reviewer",steps:no,visibleCount:t,isTyping:e(12)&&!e(13),isWorking:e(11)&&!e(14)}}if(t){let t=0;return e(5)&&(t=1),e(7)&&(t=2),e(8)&&(t=3),e(9)&&(t=4),{activeAgent:"coder",steps:ni,visibleCount:t,isTyping:e(6)&&!e(7),isWorking:e(5)&&!e(9)}}let r=0;return e(0)&&(r=1),e(2)&&(r=2),e(3)&&(r=3),e(16)&&(r=4),e(17)&&(r=5),e(18)&&(r=6),{activeAgent:"planner",steps:na,visibleCount:r,isTyping:e(1)&&!e(2),isWorking:e(0)&&!e(18)}}}},{id:"post-update",title:'"Post an update"',subtitle:"One sentence. Five minutes. Published.",icon:(0,t.jsx)(rN.MessageSquare,{className:"size-4"}),script:{agents:[r7,r4],timeline:[{id:"user-asks",duration:2e3},{id:"marketer-typing",duration:1500},{id:"marketer-msg",duration:1500},{id:"marketer-email-out",duration:1800},{id:"switch-coder",duration:1e3},{id:"coder-email-in",duration:1500},{id:"coder-typing",duration:1200},{id:"coder-msg",duration:1500},{id:"coder-email-out",duration:1800},{id:"switch-marketer",duration:1e3},{id:"marketer-email-in",duration:1500},{id:"marketer-msg-2",duration:3e3}],derive(e){if(e(4)&&!e(9)){let t=0;return e(5)&&(t=1),e(7)&&(t=2),e(8)&&(t=3),{activeAgent:"coder",steps:nl,visibleCount:t,isTyping:e(6)&&!e(7),isWorking:e(5)&&!e(8)}}let t=0;return e(0)&&(t=1),e(2)&&(t=2),e(3)&&(t=3),e(10)&&(t=4),e(11)&&(t=5),{activeAgent:"marketer",steps:ns,visibleCount:t,isTyping:e(1)&&!e(2),isWorking:e(0)&&!e(11)}}}},{id:"fill-form",title:'"Fill this form"',subtitle:"It remembers everything. You just sign.",icon:(0,t.jsx)(r2,{className:"size-4"}),script:{agents:[{name:"Assistant",email:"assistant@alook.ai",config:{shape:"bulb",eye:"rings",nose:"oh",bg:11}}],timeline:[{id:"user-drops",duration:2e3},{id:"agent-typing",duration:1800},{id:"agent-msg-1",duration:2e3},{id:"agent-msg-2",duration:2500},{id:"agent-msg-3",duration:3e3}],derive(e){let t=0;return e(0)&&(t=1),e(2)&&(t=2),e(3)&&(t=3),e(4)&&(t=4),{activeAgent:"assistant",steps:nc,visibleCount:t,isTyping:e(1)&&!e(2),isWorking:e(0)&&!e(4)}}}}];function nu(){let e=(0,r.useRef)(null),[n,o]=(0,r.useState)(0),[s,l]=(0,r.useState)("left");return(0,i.useGSAP)(()=>{a.default.from(".usecase-title",{y:30,opacity:0,duration:.6,scrollTrigger:{trigger:e.current,start:"top 75%",toggleActions:"play none none none"}}),a.default.from(".usecase-layout",{y:40,opacity:0,duration:.6,ease:"power2.out",scrollTrigger:{trigger:".usecase-layout",start:"top 85%",toggleActions:"play none none none"}})},{scope:e}),(0,t.jsxs)("section",{ref:e,className:"relative px-6 py-24 lg:py-32",style:{backgroundColor:"var(--landing-bg)"},children:[(0,t.jsxs)("div",{className:"usecase-title mx-auto mb-14 max-w-4xl text-center lg:mb-20",children:[(0,t.jsx)("div",{className:"mb-3 text-xs uppercase tracking-[0.3em]",style:{fontFamily:"var(--font-mono)",color:"var(--landing-text-muted)"},children:"Use Cases"}),(0,t.jsx)("h2",{style:{fontFamily:"var(--font-crt)",color:"var(--landing-text)",fontSize:"clamp(1.75rem, 4vw, 3rem)"},children:"See It In Action"}),(0,t.jsx)("p",{className:"mx-auto mt-3 max-w-xl",style:{fontFamily:"var(--font-mono)",color:"var(--landing-text-muted)",fontSize:"0.85rem"},children:"Real scenarios running on real agents. Every day."})]}),(0,t.jsxs)("div",{className:"usecase-layout mx-auto flex max-w-5xl flex-col gap-6 md:flex-row md:items-start md:gap-8",children:[(0,t.jsx)("div",{className:"flex flex-row gap-2 overflow-x-auto thin-scrollbar pb-2 md:w-72 md:shrink-0 md:flex-col md:overflow-x-visible md:pb-0",children:nd.map((e,r)=>(0,t.jsxs)("button",{type:"button",onClick:()=>{l(r>n?"left":"right"),o(r)},className:`flex items-start gap-3 rounded-xl px-4 py-3 text-left transition-all duration-200 cursor-pointer shrink-0 md:shrink md:w-full ${r===n?"ring-1 ring-[var(--landing-border)] shadow-sm":"hover:bg-[oklch(0.88_0.02_75)] opacity-70 hover:opacity-100"}`,style:r===n?{backgroundColor:"var(--landing-surface)"}:void 0,children:[(0,t.jsx)("span",{className:"mt-0.5 shrink-0",style:{color:r===n?"var(--landing-text)":"var(--landing-text-muted)"},children:e.icon}),(0,t.jsxs)("div",{className:"min-w-0",children:[(0,t.jsx)("div",{className:"text-sm font-medium leading-snug whitespace-nowrap lg:whitespace-normal",style:{fontFamily:"var(--font-crt)",color:r===n?"var(--landing-text)":"var(--landing-text-muted)"},children:e.title}),r===n&&(0,t.jsx)("div",{className:"mt-0.5 text-[11px] leading-snug hidden md:block",style:{fontFamily:"var(--font-mono)",color:"var(--landing-text-muted)"},children:e.subtitle})]})]},e.id))}),(0,t.jsx)("div",{className:"flex-1 min-w-0 overflow-hidden rounded-2xl",style:{perspective:"1200px"},children:(0,t.jsx)("div",{className:`overflow-hidden ${"left"===s?"usecase-demo-slide-left":"usecase-demo-slide-right"}`,children:(0,t.jsx)(ry,{title:`alook — ${nd[n].title}`,className:"shadow-[0_4px_24px_oklch(0.15_0.01_55/10%)]",children:(0,t.jsx)("div",{className:"h-120 overflow-hidden",children:(0,t.jsx)(r3,{script:nd[n].script})})})},n)})]})]})}a.default.registerPlugin(t4);let np=["Your Machine, Your Rules","No Vendor Lock-In","One Command to Start"];function nm(){let e=(0,r.useRef)(null);return(0,i.useGSAP)(()=>{a.default.from(".selfhost-title",{y:30,opacity:0,duration:.6,scrollTrigger:{trigger:e.current,start:"top 75%",toggleActions:"play none none none"}}),a.default.from(".selfhost-point",{y:25,opacity:0,duration:.5,stagger:.12,scrollTrigger:{trigger:".selfhost-grid",start:"top 80%",toggleActions:"play none none none"}})},{scope:e}),(0,t.jsxs)("section",{ref:e,className:"relative px-6 py-24 lg:py-32",style:{backgroundColor:"var(--landing-crt-bg)"},children:[(0,t.jsx)("div",{className:"pointer-events-none absolute inset-0",style:{backgroundImage:"repeating-linear-gradient(to bottom, transparent 0px, transparent 1px, oklch(0 0 0 / 4%) 1px, oklch(0 0 0 / 4%) 2px)",backgroundSize:"100% 2px"}}),(0,t.jsxs)("div",{className:"selfhost-title relative mx-auto mb-12 max-w-4xl text-center lg:mb-16",children:[(0,t.jsx)("div",{className:"mb-3 text-xs uppercase tracking-[0.3em]",style:{fontFamily:"var(--font-mono)",color:"var(--landing-phosphor)",opacity:.6},children:"Open Source & Self-Hosted"}),(0,t.jsx)("h2",{style:{fontFamily:"var(--font-crt)",color:"var(--landing-phosphor)",fontSize:"clamp(1.75rem, 4vw, 3rem)",textShadow:"0 0 12px oklch(0.75 0.18 80 / 30%)"},children:"Own Your Infrastructure"}),(0,t.jsx)("p",{className:"mx-auto mt-3 max-w-xl",style:{fontFamily:"var(--font-mono)",color:"var(--landing-phosphor)",fontSize:"0.85rem",opacity:.65},children:"Alook is fully open source. Self-host the entire platform, keep your data private, and run your AI company on hardware you control."})]}),(0,t.jsx)("div",{className:"selfhost-grid relative mx-auto flex max-w-3xl flex-wrap items-center justify-center gap-x-8 gap-y-3",children:np.map(e=>(0,t.jsx)("span",{className:"selfhost-point text-sm",style:{fontFamily:"var(--font-crt)",color:"var(--landing-phosphor)",textShadow:"0 0 6px oklch(0.75 0.18 80 / 25%)"},children:e},e))}),(0,t.jsx)("div",{className:"relative mx-auto mt-10 max-w-md",children:(0,t.jsx)("div",{className:"rounded-lg border px-5 py-4",style:{borderColor:"oklch(0.75 0.18 80 / 20%)",backgroundColor:"oklch(0.12 0.01 55)"},children:(0,t.jsx)("code",{className:"block text-center text-sm leading-relaxed",style:{fontFamily:"var(--font-crt)",color:"var(--landing-phosphor)",textShadow:"0 0 6px oklch(0.75 0.18 80 / 30%)"},children:"$ npx @alook/app onboard"})})}),(0,t.jsx)("div",{className:"relative mx-auto mt-8 flex justify-center",children:(0,t.jsx)("a",{href:"/sign-in",className:"inline-flex items-center gap-2 px-7 py-3 text-sm transition-all duration-200 hover:opacity-80",style:{fontFamily:"var(--font-mono)",color:"var(--landing-crt-bg)",backgroundColor:"var(--landing-phosphor)",letterSpacing:"0.12em",boxShadow:"0 0 20px oklch(0.75 0.18 80 / 30%)"},children:"START YOUR COMPANY"})})]})}let nf=(0,n.default)(()=>e.A(967422).then(e=>e.CloudCodeMonsterPet),{loadableGenerated:{modules:[928210]},ssr:!1});a.default.registerPlugin(i.useGSAP,t4),e.s(["HomePage",0,function({isLoggedIn:e}){let n=(0,r.useRef)(null),o=(0,ri.useHomePetSettings)();return(0,r.useEffect)(()=>{window.matchMedia("(prefers-reduced-motion: reduce)").matches&&a.default.globalTimeline.timeScale(20)},[]),(0,i.useGSAP)(()=>{t4.create({trigger:".hero-section",start:"bottom top",onEnterBack:()=>{a.default.to(".marketing-nav",{autoAlpha:0,duration:.3,ease:"power2.out"})},onLeave:()=>{a.default.to(".marketing-nav",{autoAlpha:1,duration:.3,ease:"power2.out"})}})},{scope:n}),(0,t.jsxs)("div",{ref:n,className:"landing relative flex-1 overflow-x-clip",style:{backgroundColor:"var(--landing-bg)"},children:[(0,t.jsx)(rV,{isLoggedIn:e}),(0,t.jsx)(ru,{isLoggedIn:e}),(0,t.jsx)(nu,{}),(0,t.jsx)(rm,{}),(0,t.jsx)(rK,{}),(0,t.jsx)(nm,{}),(0,t.jsx)(rH,{}),(0,t.jsx)(rG,{}),e&&o.enabled?(0,t.jsx)(nf,{boundaryRef:n}):null]})}],371836)}]);
|