@alook/app 0.0.19 → 0.0.21
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 +4 -4
- package/bundled/web/.open-next/assets/BUILD_ID +1 -1
- package/bundled/web/.open-next/assets/_next/static/chunks/0.8_rnddefdxb.js +1 -0
- package/bundled/web/.open-next/assets/_next/static/chunks/07854mu3ik8bn.js +1 -0
- package/bundled/web/.open-next/cache/{JpvpBb9uBBz72TnryVX5l → Q17i96kBFcw4laPueb4qe}/_global-error.cache +1 -1
- package/bundled/web/.open-next/cache/{JpvpBb9uBBz72TnryVX5l → Q17i96kBFcw4laPueb4qe}/_not-found.cache +1 -1
- package/bundled/web/.open-next/cache/{JpvpBb9uBBz72TnryVX5l → Q17i96kBFcw4laPueb4qe}/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 +2 -2
- 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/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]/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]/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/api/agents/[id]/chat-init/route.js +3 -3
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/app/api/agents/[id]/whitelist/route.js +3 -3
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/app/api/agents/route.js +3 -3
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/app/api/artifacts/upload/route.js +2 -2
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/app/api/conversations/[id]/active-task/route.js +3 -3
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/app/api/conversations/[id]/buffered-messages/[messageId]/route.js +2 -2
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/app/api/conversations/[id]/buffered-messages/route.js +3 -3
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/app/api/conversations/[id]/messages/route.js +4 -4
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/app/api/daemon/deregister/route.js +2 -2
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/app/api/daemon/register/route.js +1 -1
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/app/api/daemon/tasks/[taskId]/complete/route.js +5 -5
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/app/api/daemon/tasks/[taskId]/fail/route.js +5 -5
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/app/api/daemon/tasks/[taskId]/messages/route.js +1 -1
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/app/api/daemon/tasks/[taskId]/start/route.js +5 -5
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/app/api/daemon/tasks/[taskId]/supersede/route.js +5 -5
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/app/api/daemon/tasks/poll/route.js +4 -4
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/app/api/daemon/workspace/report/route.js +2 -2
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/app/api/email/send/route.js +4 -4
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/app/api/issues/[id]/comments/route.js +4 -4
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/app/api/issues/[id]/route.js +3 -3
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/app/api/issues/route.js +3 -3
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/app/api/runtimes/machine/route.js +3 -3
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/app/api/runtimes/route.js +3 -3
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/app/api/studios/route.js +5 -5
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/app/api/tasks/[id]/retry/route.js +3 -3
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/[root-of-the-server]__0jqy_f~._.js +1 -1
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/_0-22391._.js +1 -1
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/_0.vfmip._.js +1 -1
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/_018di6j._.js +1 -1
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/_05mkm05._.js +1 -1
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/_05t_tvs._.js +1 -1
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/_06j7byr._.js +1 -1
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/_094sp1w._.js +1 -1
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/_09egrjz._.js +1 -1
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/_09twg0j._.js +1 -1
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/_0a_02v1._.js +1 -1
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/_0av05ao._.js +1 -1
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/_0dajh_g._.js +2 -2
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/_0dxfkbl._.js +1 -1
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/_0edx130._.js +1 -1
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/_0euvrn9._.js +1 -1
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/_0h1-_48._.js +1 -1
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/_0iyza7b._.js +1 -1
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/_0jo981d._.js +1 -1
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/_0mvym74._.js +1 -1
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/_0n.jaqy._.js +1 -1
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/_0qz~dij._.js +1 -1
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/_0sf57qo._.js +1 -1
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/_0xkjukg._.js +1 -1
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/_0zzdc3u._.js +1 -1
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/_0~8mo49._.js +1 -1
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/_0~~ji83._.js +1 -1
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/_13_kcb9._.js +1 -1
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/ssr/_0vhi1.k._.js +1 -1
- package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/ssr/_0y.08ek._.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 +1 -1
- package/bundled/web/.open-next/server-functions/default/src/web/handler.mjs +17 -17
- package/bundled/web/.open-next/server-functions/default/src/web/handler.mjs.meta.json +163 -163
- package/bundled/web/.open-next/server-functions/default/src/web/index.mjs +2 -2
- package/package.json +3 -3
- package/bundled/web/.open-next/assets/_next/static/chunks/0iq-wdylmm182.js +0 -1
- package/bundled/web/.open-next/assets/_next/static/chunks/0~d77nakvw-pm.js +0 -1
- /package/bundled/web/.open-next/assets/_next/static/{JpvpBb9uBBz72TnryVX5l → Q17i96kBFcw4laPueb4qe}/_buildManifest.js +0 -0
- /package/bundled/web/.open-next/assets/_next/static/{JpvpBb9uBBz72TnryVX5l → Q17i96kBFcw4laPueb4qe}/_clientMiddlewareManifest.js +0 -0
- /package/bundled/web/.open-next/assets/_next/static/{JpvpBb9uBBz72TnryVX5l → Q17i96kBFcw4laPueb4qe}/_ssgManifest.js +0 -0
- /package/bundled/web/.open-next/cache/{JpvpBb9uBBz72TnryVX5l → Q17i96kBFcw4laPueb4qe}/robots.txt.cache +0 -0
|
@@ -180,7 +180,7 @@ var DOQueueHandler = class extends DurableObject {
|
|
|
180
180
|
"INSERT OR REPLACE INTO sync (id, lastSuccess, buildId) VALUES (?, unixepoch(), ?)",
|
|
181
181
|
// We cannot use the deduplication id because it's not unique per route - every time a route is revalidated, the deduplication id is different.
|
|
182
182
|
`${host}${url}`,
|
|
183
|
-
"
|
|
183
|
+
"Q17i96kBFcw4laPueb4qe"
|
|
184
184
|
);
|
|
185
185
|
}
|
|
186
186
|
this.routeInFailedState.delete(msg.MessageDeduplicationId);
|
|
@@ -232,7 +232,7 @@ var DOQueueHandler = class extends DurableObject {
|
|
|
232
232
|
}
|
|
233
233
|
this.routeInFailedState.set(msg.MessageDeduplicationId, updatedFailedState);
|
|
234
234
|
if (!this.disableSQLite) {
|
|
235
|
-
this.sql.exec("INSERT OR REPLACE INTO failed_state (id, data, buildId) VALUES (?, ?, ?)", msg.MessageDeduplicationId, JSON.stringify(updatedFailedState), "
|
|
235
|
+
this.sql.exec("INSERT OR REPLACE INTO failed_state (id, data, buildId) VALUES (?, ?, ?)", msg.MessageDeduplicationId, JSON.stringify(updatedFailedState), "Q17i96kBFcw4laPueb4qe");
|
|
236
236
|
}
|
|
237
237
|
await this.addAlarm();
|
|
238
238
|
}
|
|
@@ -256,8 +256,8 @@ var DOQueueHandler = class extends DurableObject {
|
|
|
256
256
|
return;
|
|
257
257
|
this.sql.exec("CREATE TABLE IF NOT EXISTS failed_state (id TEXT PRIMARY KEY, data TEXT, buildId TEXT)");
|
|
258
258
|
this.sql.exec("CREATE TABLE IF NOT EXISTS sync (id TEXT PRIMARY KEY, lastSuccess INTEGER, buildId TEXT)");
|
|
259
|
-
this.sql.exec("DELETE FROM failed_state WHERE buildId != ?", "
|
|
260
|
-
this.sql.exec("DELETE FROM sync WHERE buildId != ?", "
|
|
259
|
+
this.sql.exec("DELETE FROM failed_state WHERE buildId != ?", "Q17i96kBFcw4laPueb4qe");
|
|
260
|
+
this.sql.exec("DELETE FROM sync WHERE buildId != ?", "Q17i96kBFcw4laPueb4qe");
|
|
261
261
|
const failedStateCursor = this.sql.exec("SELECT * FROM failed_state");
|
|
262
262
|
for (const row of failedStateCursor) {
|
|
263
263
|
this.routeInFailedState.set(row.id, JSON.parse(row.data));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
Q17i96kBFcw4laPueb4qe
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,642342,e=>{"use strict";var r=e.i(459119),t=e.i(298699);let n=(0,e.i(613349).isLocalMode)(),a=Number(r.default.env.NEXT_PUBLIC_WS_DO_PORT)||8789,s=Number(r.default.env.NEXT_PUBLIC_WS_RECONNECT_DELAY_MS)||1e3,o=Number(r.default.env.NEXT_PUBLIC_WS_RECONNECT_MAX_DELAY_MS)||3e4;e.s(["useUserWs",0,function(e){let r=(0,t.useRef)(null),i=(0,t.useRef)(s),l=(0,t.useRef)(e),d=(0,t.useRef)(null);(0,t.useEffect)(()=>{l.current=e},[e]);let c=(0,t.useRef)(null),u=(0,t.useCallback)(()=>{let e=Math.min(i.current,o);i.current=Math.min(2*e,o),d.current=setTimeout(()=>{c.current?.()},e+500*Math.random())},[]),f=(0,t.useCallback)(async()=>{let e,t,o,d=a;try{let r=await fetch("/api/ws/token");if(!r.ok){console.warn("[ws] token fetch failed:",r.status),u();return}let n=await r.json();e=n.userId,t=n.token,n.wsPort&&(d=n.wsPort)}catch(e){console.warn("[ws] token fetch error:",e),u();return}let c=n?`ws://localhost:${d}/?userId=${e}`:`${location.origin.replace("http","ws")}/api/ws/user?userId=${e}`;try{o=new WebSocket(c)}catch(e){console.warn("[ws] WebSocket creation failed:",e),u();return}r.current=o,o.onopen=()=>{i.current=s,o.send(JSON.stringify({type:"auth",token:t}))},o.onmessage=e=>{try{let r=JSON.parse(e.data);if("auth.ok"===r.type)return;l.current(r)}catch{}},o.onerror=()=>{},o.onclose=()=>{o===r.current&&u()}},[u]);(0,t.useEffect)(()=>{c.current=f},[f]),(0,t.useEffect)(()=>(f(),()=>{null!==d.current&&(clearTimeout(d.current),d.current=null);let e=r.current;r.current=null,e?.close()}),[f])}])},996718,e=>{"use strict";var r=e.i(298699);e.s(["useIsMobile",0,function(){let[e,t]=r.useState(void 0);return r.useEffect(()=>{let e=window.matchMedia("(max-width: 639px)"),r=()=>{t(window.innerWidth<640)};return e.addEventListener("change",r),t(window.innerWidth<640),()=>e.removeEventListener("change",r)},[]),!!e}])},400175,126366,819748,108772,e=>{"use strict";var r=e.i(368075),t=e.i(298699);let n="#27272a",a={fill:"rgba(255,255,255,0.92)",stroke:"rgba(255,255,255,0.95)",strokeWidth:3.5},s=[{name:"Purple",value:"#a855f7",gradient:["#c084fc","#a855f7","#7c3aed"],faceColor:"#2e1065"},{name:"Teal",value:"#14b8a6",gradient:["#5eead4","#14b8a6","#0d9488"],faceColor:"#134e4a"},{name:"Orange",value:"#f97316",gradient:["#fdba74","#f97316","#c2410c"],faceColor:"#7c2d12"},{name:"Blue",value:"#3b82f6",gradient:["#93c5fd","#3b82f6","#1d4ed8"],faceColor:"#1e3a5f"},{name:"Pink",value:"#f472b6",gradient:["#fda4af","#f472b6","#be185d"],faceColor:"#831843"},{name:"Yellow",value:"#eab308",gradient:["#fde047","#eab308","#a16207"],faceColor:"#713f12"},{name:"Green",value:"#22c55e",gradient:["#86efac","#22c55e","#15803d"],faceColor:"#14532d"},{name:"Beige",value:"#d6ccb8",gradient:["#e8e0d4","#d6ccb8","#b8a990"],faceColor:"#57534e"},{name:"Red",value:"#ef4444",gradient:["#fca5a5","#ef4444","#991b1b"],faceColor:"#7f1d1d"},{name:"Lake Blue",value:"#6366f1",gradient:["#a5b4fc","#6366f1","#3730a3"],faceColor:"#312e81"},{name:"Gray",value:"#9ca3af",gradient:["#d4d4d8","#9ca3af","#6b7280"],faceColor:"#374151"},{name:"Deep Purple",value:"#8b5cf6",gradient:["#c4b5fd","#8b5cf6","#5b21b6"],faceColor:"#3b0764"}],o={circle:{name:"Circle",face:{cx:100,cy:100,w:80},render:()=>(0,r.jsx)("circle",{cx:"100",cy:"100",r:"66",...a})},rounded:{name:"Rounded",face:{cx:100,cy:100,w:90},render:()=>(0,r.jsx)("rect",{x:"30",y:"30",width:"140",height:"140",rx:"32",...a})},hexagon:{name:"Hexagon",face:{cx:100,cy:100,w:86},render:()=>(0,r.jsx)("path",{d:"M100 32 C108 32 114 35 120 39 L155 60 C161 64 165 70 165 78 L165 122 C165 130 161 136 155 140 L120 161 C114 165 108 168 100 168 C92 168 86 165 80 161 L45 140 C39 136 35 130 35 122 L35 78 C35 70 39 64 45 60 L80 39 C86 35 92 32 100 32 Z",...a})},task:{name:"Task",face:{cx:100,cy:100,w:80},render:()=>(0,r.jsx)("rect",{x:"34",y:"34",width:"132",height:"132",rx:"24",...a})},book:{name:"Book",face:{cx:100,cy:100,w:80},render:()=>(0,r.jsx)("path",{d:"M42 162 L42 88 C42 54 68 34 100 34 C132 34 158 54 158 88 L158 162 C158 166 154 170 150 170 L50 170 C46 170 42 166 42 162 Z",...a})},mail:{name:"Mail",face:{cx:100,cy:100,w:86},render:()=>(0,r.jsx)("rect",{x:"28",y:"54",width:"144",height:"92",rx:"46",...a})},calendar:{name:"Calendar",face:{cx:100,cy:100,w:80},render:()=>(0,r.jsx)("path",{d:"M100 34 C138 34 166 52 166 80 C166 94 158 106 158 118 C158 148 138 166 100 166 C62 166 42 148 42 118 C42 106 34 94 34 80 C34 52 62 34 100 34 Z",...a})},bulb:{name:"Bulb",face:{cx:100,cy:104,w:76},render:()=>(0,r.jsx)("ellipse",{cx:"100",cy:"104",rx:"58",ry:"66",...a})},folder:{name:"Folder",face:{cx:102,cy:108,w:80},render:()=>(0,r.jsx)("path",{d:"M62 144 C40 144 32 128 36 116 C32 104 40 90 54 88 C56 72 70 60 88 62 C100 50 118 50 132 58 C144 52 162 60 162 76 C172 82 174 98 166 108 C172 120 164 136 150 140 Z",...a})},mountain:{name:"Mountain",face:{cx:100,cy:100,w:76},render:()=>(0,r.jsx)("path",{d:"M92 36 C120 32 156 48 164 78 C172 108 156 148 124 160 C92 172 48 156 38 124 C28 92 62 40 92 36 Z",...a})}},i=Object.keys(o),l={dot:{name:"Dot",render:(e=n)=>(0,r.jsx)("circle",{cx:"0",cy:"0",r:"4.5",fill:e})},dash:{name:"Dash",render:(e=n)=>(0,r.jsx)("line",{x1:"-10",y1:"0",x2:"10",y2:"0",stroke:e,strokeWidth:"5",strokeLinecap:"round"})},hookL:{name:"Hook",render:(e=n)=>(0,r.jsx)("path",{d:"M-11 0 Q-5.5 7 0 1.5 Q5.5 7 11 0",fill:"none",stroke:e,strokeWidth:"4.5",strokeLinecap:"round",strokeLinejoin:"round"})},smile:{name:"Smile",render:(e=n)=>(0,r.jsx)("path",{d:"M-11 0 Q0 11 11 0",fill:"none",stroke:e,strokeWidth:"5",strokeLinecap:"round"})},caret:{name:"Caret",render:(e=n)=>(0,r.jsxs)("g",{children:[(0,r.jsx)("path",{d:"M-10 0 Q0 8 10 0",fill:"none",stroke:e,strokeWidth:"4.5",strokeLinecap:"round"}),(0,r.jsx)("ellipse",{cx:"3",cy:"6",rx:"4",ry:"4.5",fill:"#f472b6"})]})},arrow:{name:"Arrow",render:(e=n)=>(0,r.jsx)("ellipse",{cx:"0",cy:"0",rx:"6",ry:"7.5",fill:e})},oh:{name:"o",render:(e=n)=>(0,r.jsx)("ellipse",{cx:"0",cy:"0",rx:"7",ry:"7.5",fill:"none",stroke:e,strokeWidth:"4.5"})}},d=Object.keys(l),c=(e,t)=>{let a=t??e,s=(t,s=n)=>(0,r.jsxs)("g",{children:[(0,r.jsx)("g",{transform:`translate(${-t}, 0)`,children:e(s)}),(0,r.jsx)("g",{transform:`translate(${t}, 0)`,children:a(s)})]});return s.displayName="EyePair",s},u={dots:{name:"Dots",render:c(e=>(0,r.jsx)("circle",{cx:"0",cy:"0",r:"7",fill:e}))},big:{name:"Big",render:c(e=>(0,r.jsxs)("g",{children:[(0,r.jsx)("circle",{cx:"0",cy:"0",r:"10",fill:e}),(0,r.jsx)("circle",{cx:"2.5",cy:"-3",r:"3.5",fill:"rgba(255,255,255,0.9)"})]}))},rings:{name:"Rings",render:c(e=>(0,r.jsx)("ellipse",{cx:"0",cy:"0",rx:"8.5",ry:"9.5",fill:"none",stroke:e,strokeWidth:"4.5"}))},arches:{name:"Arches",render:c(e=>(0,r.jsx)("path",{d:"M-10 2 Q0 -9 10 2",fill:"none",stroke:e,strokeWidth:"5",strokeLinecap:"round"}))},lines:{name:"Lines",render:c(e=>(0,r.jsx)("path",{d:"M-10 0 Q0 -6 10 0",fill:"none",stroke:e,strokeWidth:"5",strokeLinecap:"round"}))},happy:{name:"Happy",render:c(e=>(0,r.jsx)("path",{d:"M-10 5 Q0 -11 10 5",fill:"none",stroke:e,strokeWidth:"5",strokeLinecap:"round"}))},sleepy:{name:"Sleepy",render:c(e=>(0,r.jsx)("path",{d:"M-10 -2 Q0 8 10 -2",fill:"none",stroke:e,strokeWidth:"5",strokeLinecap:"round"}))},shy:{name:"Shy",render:c(e=>(0,r.jsx)("ellipse",{cx:"0",cy:"0",rx:"8.5",ry:"9.5",fill:e}))},wink:{name:"Wink",render:(e,t=n)=>(0,r.jsxs)("g",{children:[(0,r.jsx)("g",{transform:`translate(${-e}, 0)`,children:(0,r.jsx)("circle",{cx:"0",cy:"0",r:"7",fill:t})}),(0,r.jsx)("g",{transform:`translate(${e}, 0)`,children:(0,r.jsx)("path",{d:"M-10 2 Q0 -9 10 2",fill:"none",stroke:t,strokeWidth:"5",strokeLinecap:"round"})})]})}},f=Object.keys(u),x={shape:"book",eye:"happy",nose:"dash",bg:1},h=[{name:"Task",config:{shape:"task",nose:"dot",eye:"dots",bg:0}},{name:"Notes",config:{shape:"book",nose:"dash",eye:"happy",bg:1}},{name:"Mail",config:{shape:"mail",nose:"smile",eye:"dots",bg:3}},{name:"Schedule",config:{shape:"calendar",nose:"dot",eye:"dots",bg:4}},{name:"Idea",config:{shape:"bulb",nose:"oh",eye:"rings",bg:5}},{name:"Project",config:{shape:"folder",nose:"dash",eye:"lines",bg:7}},{name:"Goal",config:{shape:"mountain",nose:"caret",eye:"arches",bg:8}},{name:"Dream",config:{shape:"circle",nose:"smile",eye:"shy",bg:11}},{name:"Organize",config:{shape:"rounded",nose:"dot",eye:"sleepy",bg:6}},{name:"Explore",config:{shape:"hexagon",nose:"hookL",eye:"wink",bg:9}},{name:"Focus",config:{shape:"task",nose:"caret",eye:"lines",bg:2}},{name:"Collect",config:{shape:"book",nose:"oh",eye:"rings",bg:10}}];function m(e){return e[Math.floor(Math.random()*e.length)]}function p(){return{shape:m(i),eye:m(f),nose:m(d),bg:Math.floor(Math.random()*s.length)}}function g({config:e,size:n=200,className:a}){let i=(0,t.useId)().replace(/:/g,""),d=o[e.shape]??o.book,c=u[e.eye],f=l[e.nose],x=s[e.bg]??s[0],[h,m,p]=x.gradient,b=x.faceColor,{cx:v,cy:y,w:j}=d.face,k=Math.max(13,.24*j),C=y-Math.max(12,.16*j);return(0,r.jsxs)("svg",{viewBox:"0 0 200 200",width:n,height:n,className:a,style:{display:"block"},children:[(0,r.jsxs)("defs",{children:[(0,r.jsxs)("linearGradient",{id:`bg-${i}`,x1:"0%",y1:"0%",x2:"100%",y2:"100%",children:[(0,r.jsx)("stop",{offset:"0%",stopColor:h}),(0,r.jsx)("stop",{offset:"50%",stopColor:m}),(0,r.jsx)("stop",{offset:"100%",stopColor:p})]}),(0,r.jsxs)("radialGradient",{id:`gl-${i}`,cx:"30%",cy:"25%",r:"60%",children:[(0,r.jsx)("stop",{offset:"0%",stopColor:"rgba(255,255,255,0.32)"}),(0,r.jsx)("stop",{offset:"100%",stopColor:"rgba(255,255,255,0)"})]}),(0,r.jsx)("filter",{id:`sh-${i}`,x:"-10%",y:"-5%",width:"120%",height:"130%",children:(0,r.jsx)("feDropShadow",{dx:"0",dy:"3",stdDeviation:"4",floodColor:"rgba(0,0,0,0.18)"})})]}),(0,r.jsx)("rect",{x:"0",y:"0",width:"200",height:"200",rx:"56",fill:`url(#bg-${i})`}),(0,r.jsx)("rect",{x:"0",y:"0",width:"200",height:"200",rx:"56",fill:`url(#gl-${i})`}),(0,r.jsxs)("g",{transform:"translate(100,100) scale(0.8) translate(-100,-100)",children:[(0,r.jsx)("g",{"data-avatar-shape":"",filter:`url(#sh-${i})`,children:d.render()}),c&&(0,r.jsx)("g",{transform:`translate(${v}, ${C})`,children:(0,r.jsx)("g",{"data-avatar-eyes":"",children:c.render(k,b)})}),f&&(0,r.jsx)("g",{transform:`translate(${v}, ${y+7})`,children:(0,r.jsx)("g",{"data-avatar-nose":"",children:f.render(b)})})]})]})}let b="avatar:";e.s(["AvatarRenderer",0,g,"BG_COLORS",0,s,"DEFAULT_CONFIG",0,x,"EYE_KEYS",0,f,"Eyes",0,u,"NOSE_KEYS",0,d,"Noses",0,l,"PRESETS",0,h,"SHAPE_KEYS",0,i,"Shapes",0,o,"parseAvatarUrl",0,function(e){if(!e||!e.startsWith(b))return null;try{let r=JSON.parse(e.slice(b.length));if("object"==typeof r&&null!==r&&"string"==typeof r.shape&&"string"==typeof r.eye&&"string"==typeof r.nose&&"number"==typeof r.bg)return r;if("object"==typeof r&&null!==r&&"outline"in r)return x;return null}catch{return null}},"randomConfig",0,p,"serializeAvatarConfig",0,function(e){return b+JSON.stringify(e)}],126366);let v=["avatar-anim-shape-bounce","avatar-anim-head-tilt","avatar-anim-shake","avatar-anim-wobble","avatar-anim-pulse","avatar-anim-spin","avatar-anim-jelly","avatar-anim-float","avatar-anim-nod"];e.s(["AnimatedAvatar",0,function({config:e,size:n,className:a,isHovered:s,isWorking:o}){let[i,l]=(0,t.useState)(null),d=(0,t.useRef)(-1);function c(){let e=Math.floor(Math.random()*v.length);return e===d.current&&(e=(e+1)%v.length),d.current=e,v[e]}return(0,t.useEffect)(()=>{s?l(c()):o||l(null)},[s,o]),(0,t.useEffect)(()=>{if(!o){s||l(null);return}l(c());let e=setInterval(()=>{l(c())},4e3);return()=>clearInterval(e)},[s,o]),(0,r.jsx)("div",{className:i??void 0,children:(0,r.jsx)(g,{config:e,size:n,className:a})})}],819748);var y=e.i(613349);function j({label:e,keys:t,value:n,onChange:a,renderThumb:s,mobile:o=!1}){let i=t.indexOf(n),l=e=>a(t[(i+e+t.length)%t.length]),d=t[(i-1+t.length)%t.length],c=t[(i+1)%t.length];return(0,r.jsxs)("div",{className:"flex items-center gap-2",children:[(0,r.jsx)("span",{className:"w-12 text-xs font-medium text-muted-foreground shrink-0",children:e}),(0,r.jsx)("button",{type:"button",onClick:()=>l(-1),className:(0,y.cn)("flex items-center justify-center rounded-md hover:bg-accent transition-colors",o?"size-10":"size-7"),children:(0,r.jsx)("svg",{viewBox:"0 0 24 24",width:"16",height:"16",children:(0,r.jsx)("path",{d:"M15 5 L8 12 L15 19",fill:"none",stroke:"currentColor",strokeWidth:"2.4",strokeLinecap:"round",strokeLinejoin:"round"})})}),(0,r.jsxs)("div",{className:"flex items-center gap-1 flex-1 justify-center",children:[(0,r.jsx)("button",{type:"button",onClick:()=>l(-1),className:"opacity-30 hover:opacity-60 transition-opacity",tabIndex:-1,children:s(d)}),(0,r.jsx)("button",{type:"button",onClick:()=>l(1),className:"border-2 border-primary rounded-lg p-0.5",children:s(n)}),(0,r.jsx)("button",{type:"button",onClick:()=>l(1),className:"opacity-30 hover:opacity-60 transition-opacity",tabIndex:-1,children:s(c)})]}),(0,r.jsx)("button",{type:"button",onClick:()=>l(1),className:(0,y.cn)("flex items-center justify-center rounded-md hover:bg-accent transition-colors",o?"size-10":"size-7"),children:(0,r.jsx)("svg",{viewBox:"0 0 24 24",width:"16",height:"16",children:(0,r.jsx)("path",{d:"M9 5 L16 12 L9 19",fill:"none",stroke:"currentColor",strokeWidth:"2.4",strokeLinecap:"round",strokeLinejoin:"round"})})})]})}function k({config:e,onChange:n,layout:a="vertical",mobile:c=!1}){let[x,m]=(0,t.useState)("presets"),b=(0,t.useCallback)((r,t)=>{n({...e,[r]:t})},[e,n]),[v,C]=(0,t.useState)(!1),w=(0,t.useRef)(e);(0,t.useEffect)(()=>{if(w.current.shape!==e.shape||w.current.eye!==e.eye||w.current.nose!==e.nose||w.current.bg!==e.bg){C(!0);let r=setTimeout(()=>C(!1),450);return w.current=e,()=>clearTimeout(r)}},[e]),(0,t.useEffect)(()=>{if("horizontal"!==a)return;let e=e=>{"Space"===e.code&&e.target===document.body&&(e.preventDefault(),n(p()))};return window.addEventListener("keydown",e),()=>window.removeEventListener("keydown",e)},[a,n]);let N="horizontal"===a,L=N?220:c?120:160,z=(0,r.jsxs)("div",{className:(0,y.cn)("flex flex-col items-center gap-3 rounded-2xl bg-muted/30",c?"p-3":"p-4",N?"w-70 shrink-0 justify-center":""),children:[(0,r.jsx)("div",{className:(0,y.cn)("rounded-2xl",v&&"animate-[shake_0.45s_cubic-bezier(.36,.07,.19,.97)]"),children:(0,r.jsx)(g,{config:e,size:L})}),(0,r.jsxs)("button",{type:"button",onClick:()=>n(p()),className:"inline-flex items-center gap-2 rounded-full bg-foreground px-4 py-1.5 text-sm font-medium text-background hover:bg-foreground/80 transition-colors",children:[(0,r.jsxs)("svg",{viewBox:"0 0 24 24",width:"14",height:"14",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,r.jsx)("rect",{x:"2",y:"2",width:"20",height:"20",rx:"3"}),(0,r.jsx)("circle",{cx:"8",cy:"8",r:"1.5",fill:"currentColor"}),(0,r.jsx)("circle",{cx:"16",cy:"8",r:"1.5",fill:"currentColor"}),(0,r.jsx)("circle",{cx:"8",cy:"16",r:"1.5",fill:"currentColor"}),(0,r.jsx)("circle",{cx:"16",cy:"16",r:"1.5",fill:"currentColor"}),(0,r.jsx)("circle",{cx:"12",cy:"12",r:"1.5",fill:"currentColor"})]}),"Random",N&&(0,r.jsx)("kbd",{className:"ml-1 rounded bg-background/20 px-1.5 py-0.5 text-[10px] font-mono",children:"Space"})]})]}),E=(0,r.jsxs)("div",{className:(0,y.cn)("flex flex-col gap-3 flex-1 min-w-0",N&&"rounded-2xl bg-muted/30 p-4 h-95"),children:[(0,r.jsxs)("div",{className:"flex border-b border-border",children:[(0,r.jsx)("button",{type:"button",onClick:()=>m("presets"),className:(0,y.cn)("flex-1 pb-2 text-sm font-medium text-center transition-colors border-b-2","presets"===x?"border-primary text-foreground":"border-transparent text-muted-foreground hover:text-foreground"),children:"★ Presets"}),(0,r.jsx)("button",{type:"button",onClick:()=>m("custom"),className:(0,y.cn)("flex-1 pb-2 text-sm font-medium text-center transition-colors border-b-2","custom"===x?"border-primary text-foreground":"border-transparent text-muted-foreground hover:text-foreground"),children:"⚙ Custom"})]}),(0,r.jsxs)("div",{className:(0,y.cn)("flex-1 min-h-0",N&&"overflow-y-auto thin-scrollbar"),children:["presets"===x&&(0,r.jsx)("div",{className:(0,y.cn)("grid gap-2",c?"grid-cols-3":"grid-cols-4"),children:h.map(t=>{let a=t.config.shape===e.shape&&t.config.eye===e.eye&&t.config.nose===e.nose&&t.config.bg===e.bg;return(0,r.jsx)("button",{type:"button",onClick:()=>n(t.config),className:(0,y.cn)("flex items-center justify-center rounded-xl border p-2 transition-all",a?"border-primary border-2 bg-primary/5 shadow-sm":"border-border bg-background hover:border-primary/40"),children:(0,r.jsx)(g,{config:t.config,size:56})},t.name)})}),"custom"===x&&(0,r.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,r.jsx)(j,{label:"Shape",keys:i,value:e.shape,onChange:e=>b("shape",e),renderThumb:e=>(0,r.jsxs)("svg",{viewBox:"0 0 200 200",width:"40",height:"40",children:[(0,r.jsx)("rect",{width:"200",height:"200",rx:"56",fill:"hsl(var(--muted))"}),(0,r.jsx)("g",{transform:"translate(100,100) scale(0.8) translate(-100,-100)",children:o[e]?.render()})]}),mobile:c}),(0,r.jsx)(j,{label:"Nose",keys:d,value:e.nose,onChange:e=>b("nose",e),renderThumb:e=>(0,r.jsx)("svg",{viewBox:"-14 -10 28 20",width:"36",height:"24",children:l[e]?.render("currentColor")}),mobile:c}),(0,r.jsx)(j,{label:"Eyes",keys:f,value:e.eye,onChange:e=>b("eye",e),renderThumb:e=>(0,r.jsx)("svg",{viewBox:"-18 -10 36 20",width:"44",height:"24",children:u[e]?.render(8,"currentColor")}),mobile:c}),(0,r.jsxs)("div",{children:[(0,r.jsx)("div",{className:"mb-2 text-xs font-medium text-muted-foreground",children:"Color"}),(0,r.jsx)("div",{className:(0,y.cn)("flex flex-wrap p-1",c?"gap-3":"gap-2"),children:s.map((t,n)=>(0,r.jsx)("button",{type:"button",onClick:()=>b("bg",n),title:t.name,className:(0,y.cn)("rounded-full transition-shadow",c?"size-8":"size-7",e.bg===n?"ring-2 ring-primary ring-offset-2":"ring-1 ring-border"),style:{background:`linear-gradient(135deg, ${t.gradient[0]}, ${t.gradient[1]}, ${t.gradient[2]})`}},t.value))})]})]})]})]});return N?(0,r.jsxs)("div",{className:"flex gap-4",children:[z,E]}):(0,r.jsxs)("div",{className:"flex flex-col gap-4",children:[z,E]})}var C=e.i(779646),w=e.i(996718);e.s(["AvatarPickerDialog",0,function({config:e,onChange:n}){let[a,s]=(0,t.useState)(!1),[o,i]=(0,t.useState)(e),l=(0,w.useIsMobile)();return(0,r.jsxs)(C.Dialog,{open:a,onOpenChange:r=>{r&&i(e),s(r)},children:[(0,r.jsx)("div",{className:"flex justify-center",children:(0,r.jsx)(C.DialogTrigger,{render:(0,r.jsx)("button",{type:"button",className:"rounded-2xl bg-background p-1.5 shadow-sm border border-border hover:border-primary/40 transition-colors cursor-pointer"}),children:(0,r.jsx)(g,{config:e,size:80})})}),(0,r.jsxs)(C.DialogContent,{className:l?"top-auto left-0 translate-x-0 translate-y-0 bottom-0 max-w-full sm:max-w-full w-full rounded-b-none rounded-t-xl max-h-[85dvh] overflow-y-auto pb-[env(safe-area-inset-bottom)]":"sm:max-w-180",children:[(0,r.jsx)(C.DialogHeader,{children:(0,r.jsx)(C.DialogTitle,{children:"Choose Avatar"})}),(0,r.jsx)(k,{config:o,layout:l?"vertical":"horizontal",onChange:e=>{i(e),n(e)},mobile:l}),l&&(0,r.jsx)("button",{type:"button",onClick:()=>s(!1),className:"w-full rounded-xl bg-primary py-3 text-sm font-medium text-primary-foreground hover:bg-primary/90 transition-colors",children:"Done"})]})]})}],108772),e.s([],400175)},952003,e=>{"use strict";let r=(0,e.i(706875).default)("arrow-left",[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]]);e.s(["ArrowLeft",0,r],952003)},575607,e=>{"use strict";var r=e.i(29512);e.s(["Check",()=>r.default])},208020,(e,r,t)=>{r.exports=e.r(170928)},706875,e=>{"use strict";var r=e.i(298699);let t=(...e)=>e.filter((e,r,t)=>!!e&&""!==e.trim()&&t.indexOf(e)===r).join(" ").trim(),n=e=>{let r=e.replace(/^([A-Z])|[\s-_]+(\w)/g,(e,r,t)=>t?t.toUpperCase():r.toLowerCase());return r.charAt(0).toUpperCase()+r.slice(1)};var a={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};let s=(0,r.createContext)({}),o=(0,r.forwardRef)(({color:e,size:n,strokeWidth:o,absoluteStrokeWidth:i,className:l="",children:d,iconNode:c,...u},f)=>{let{size:x=24,strokeWidth:h=2,absoluteStrokeWidth:m=!1,color:p="currentColor",className:g=""}=(0,r.useContext)(s)??{},b=i??m?24*Number(o??h)/Number(n??x):o??h;return(0,r.createElement)("svg",{ref:f,...a,width:n??x??a.width,height:n??x??a.height,stroke:e??p,strokeWidth:b,className:t("lucide",g,l),...!d&&!(e=>{for(let r in e)if(r.startsWith("aria-")||"role"===r||"title"===r)return!0;return!1})(u)&&{"aria-hidden":"true"},...u},[...c.map(([e,t])=>(0,r.createElement)(e,t)),...Array.isArray(d)?d:[d]])});e.s(["default",0,(e,a)=>{let s=(0,r.forwardRef)(({className:s,...i},l)=>(0,r.createElement)(o,{ref:l,iconNode:a,className:t(`lucide-${n(e).replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()}`,`lucide-${e}`,s),...i}));return s.displayName=n(e),s}],706875)},616117,484665,e=>{"use strict";e.i(459119);var r=e.i(298699),t=e.i(92615),n=e.i(773825),a=e.i(389068),s=e.i(943891),o=e.i(398258);let i=r.createContext(void 0);function l(e=!1){let t=r.useContext(i);if(void 0===t&&!e)throw Error((0,o.default)(16));return t}function d(e){return(0,t.isHTMLElement)(e)&&"BUTTON"===e.tagName}e.s(["CompositeRootContext",0,i,"useCompositeRootContext",0,l],484665),e.s(["useButton",0,function(e={}){let{disabled:t=!1,focusableWhenDisabled:o,tabIndex:i=0,native:c=!0,composite:u}=e,f=r.useRef(null),x=l(!0),h=u??void 0!==x,{props:m}=function(e){let{focusableWhenDisabled:t,disabled:n,composite:a=!1,tabIndex:s=0,isNativeButton:o}=e,i=a&&!1!==t,l=a&&!1===t;return{props:r.useMemo(()=>{let e={onKeyDown(e){n&&t&&"Tab"!==e.key&&e.preventDefault()}};return a||(e.tabIndex=s,!o&&n&&(e.tabIndex=t?s:-1)),(o&&(t||i)||!o&&n)&&(e["aria-disabled"]=n),o&&(!t||l)&&(e.disabled=n),e},[a,n,t,i,l,o,s])}}({focusableWhenDisabled:o,disabled:t,composite:h,tabIndex:i,isNativeButton:c}),p=r.useCallback(()=>{let e=f.current;d(e)&&h&&t&&void 0===m.disabled&&e.disabled&&(e.disabled=!1)},[t,m.disabled,h]);return(0,a.useIsoLayoutEffect)(p,[p]),{getButtonProps:r.useCallback((e={})=>{let{onClick:r,onMouseDown:n,onKeyUp:a,onKeyDown:o,onPointerDown:i,...l}=e,u=c?"button":void 0;return(0,s.mergeProps)({type:u,onClick(e){t?e.preventDefault():r?.(e)},onMouseDown(e){t||n?.(e)},onKeyDown(e){var n;if(t||((0,s.makeEventPreventable)(e),o?.(e),e.baseUIHandlerPrevented))return;let a=e.target===e.currentTarget,i=e.currentTarget,l=d(i),u=!c&&(n=i,!!(n?.tagName==="A"&&n?.href)),f=a&&(c?l:!u),x="Enter"===e.key,m=" "===e.key,p=i.getAttribute("role"),g=p?.startsWith("menuitem")||"option"===p||"gridcell"===p;if(a&&h&&m){if(e.defaultPrevented&&g)return;e.preventDefault(),u||c&&l?(i.click(),e.preventBaseUIHandler()):f&&(r?.(e),e.preventBaseUIHandler());return}f&&(!c&&(m||x)&&e.preventDefault(),!c&&x&&r?.(e))},onKeyUp(e){t||(((0,s.makeEventPreventable)(e),a?.(e),e.target===e.currentTarget&&c&&h&&d(e.currentTarget)&&" "===e.key)?e.preventDefault():!e.baseUIHandlerPrevented&&(e.target!==e.currentTarget||c||h||" "!==e.key||r?.(e)))},onPointerDown(e){t?e.preventDefault():i?.(e)}},c?void 0:{role:"button"},m,l)},[t,m,h,c]),buttonRef:(0,n.useStableCallback)(e=>{f.current=e,p()})}}],616117)},294237,e=>{"use strict";var r=e.i(7284);let t=e=>"boolean"==typeof e?`${e}`:0===e?"0":e,n=r.clsx;e.s(["cva",0,(e,r)=>a=>{var s;if((null==r?void 0:r.variants)==null)return n(e,null==a?void 0:a.class,null==a?void 0:a.className);let{variants:o,defaultVariants:i}=r,l=Object.keys(o).map(e=>{let r=null==a?void 0:a[e],n=null==i?void 0:i[e];if(null===r)return null;let s=t(r)||t(n);return o[e][s]}),d=a&&Object.entries(a).reduce((e,r)=>{let[t,n]=r;return void 0===n||(e[t]=n),e},{});return n(e,l,null==r||null==(s=r.compoundVariants)?void 0:s.reduce((e,r)=>{let{class:t,className:n,...a}=r;return Object.entries(a).every(e=>{let[r,t]=e;return Array.isArray(t)?t.includes({...i,...d}[r]):({...i,...d})[r]===t})?[...e,t,n]:e},[]),null==a?void 0:a.class,null==a?void 0:a.className)}])},186339,e=>{"use strict";var r=e.i(368075);e.i(459119);var t=e.i(298699),n=e.i(616117),a=e.i(597849);let s=t.forwardRef(function(e,r){let{render:t,className:s,disabled:o=!1,focusableWhenDisabled:i=!1,nativeButton:l=!0,style:d,...c}=e,{getButtonProps:u,buttonRef:f}=(0,n.useButton)({disabled:o,focusableWhenDisabled:i,native:l});return(0,a.useRenderElement)("button",e,{state:{disabled:o},ref:[r,f],props:[c,u]})});var o=e.i(294237),i=e.i(613349);let l=(0,o.cva)("group/button inline-flex shrink-0 items-center justify-center rounded-lg border border-transparent bg-clip-padding text-sm font-medium whitespace-nowrap transition-all outline-none select-none focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 active:not-aria-[haspopup]:translate-y-px disabled:pointer-events-none disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",{variants:{variant:{default:"bg-primary text-primary-foreground [a]:hover:bg-primary/80",outline:"border-border bg-background hover:bg-muted hover:text-foreground aria-expanded:bg-muted aria-expanded:text-foreground dark:border-input dark:bg-input/30 dark:hover:bg-input/50",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80 aria-expanded:bg-secondary aria-expanded:text-secondary-foreground",ghost:"hover:bg-muted hover:text-foreground aria-expanded:bg-muted aria-expanded:text-foreground dark:hover:bg-muted/50",destructive:"bg-destructive/10 text-destructive hover:bg-destructive/20 focus-visible:border-destructive/40 focus-visible:ring-destructive/20 dark:bg-destructive/20 dark:hover:bg-destructive/30 dark:focus-visible:ring-destructive/40",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-8 gap-1.5 px-2.5 has-data-[icon=inline-end]:pr-2 has-data-[icon=inline-start]:pl-2",xs:"h-6 gap-1 rounded-[min(var(--radius-md),10px)] px-2 text-xs in-data-[slot=button-group]:rounded-lg has-data-[icon=inline-end]:pr-1.5 has-data-[icon=inline-start]:pl-1.5 [&_svg:not([class*='size-'])]:size-3",sm:"h-7 gap-1 rounded-[min(var(--radius-md),12px)] px-2.5 text-[0.8rem] in-data-[slot=button-group]:rounded-lg has-data-[icon=inline-end]:pr-1.5 has-data-[icon=inline-start]:pl-1.5 [&_svg:not([class*='size-'])]:size-3.5",lg:"h-9 gap-1.5 px-2.5 has-data-[icon=inline-end]:pr-2 has-data-[icon=inline-start]:pl-2",icon:"size-8","icon-xs":"size-6 rounded-[min(var(--radius-md),10px)] in-data-[slot=button-group]:rounded-lg [&_svg:not([class*='size-'])]:size-3","icon-sm":"size-7 rounded-[min(var(--radius-md),12px)] in-data-[slot=button-group]:rounded-lg","icon-lg":"size-9"}},defaultVariants:{variant:"default",size:"default"}});e.s(["Button",0,function({className:e,variant:t="default",size:n="default",...a}){return(0,r.jsx)(s,{"data-slot":"button",className:(0,i.cn)(l({variant:t,size:n,className:e})),...a})},"buttonVariants",0,l],186339)},29512,e=>{"use strict";let r=(0,e.i(706875).default)("check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]);e.s(["default",0,r])},858924,e=>{"use strict";let r=(0,e.i(706875).default)("loader-circle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]]);e.s(["Loader2",0,r],858924)},934351,e=>{"use strict";var r=e.i(368075),t=e.i(613349);e.s(["Card",0,function({className:e,size:n="default",...a}){return(0,r.jsx)("div",{"data-slot":"card","data-size":n,className:(0,t.cn)("group/card flex flex-col gap-4 overflow-hidden rounded-xl bg-card py-4 text-sm text-card-foreground ring-1 ring-foreground/10 has-data-[slot=card-footer]:pb-0 has-[>img:first-child]:pt-0 data-[size=sm]:gap-3 data-[size=sm]:py-3 data-[size=sm]:has-data-[slot=card-footer]:pb-0 *:[img:first-child]:rounded-t-xl *:[img:last-child]:rounded-b-xl",e),...a})},"CardAction",0,function({className:e,...n}){return(0,r.jsx)("div",{"data-slot":"card-action",className:(0,t.cn)("col-start-2 row-span-2 row-start-1 self-start justify-self-end",e),...n})},"CardContent",0,function({className:e,...n}){return(0,r.jsx)("div",{"data-slot":"card-content",className:(0,t.cn)("px-4 group-data-[size=sm]/card:px-3",e),...n})},"CardHeader",0,function({className:e,...n}){return(0,r.jsx)("div",{"data-slot":"card-header",className:(0,t.cn)("group/card-header @container/card-header grid auto-rows-min items-start gap-1 rounded-t-xl px-4 group-data-[size=sm]/card:px-3 has-data-[slot=card-action]:grid-cols-[1fr_auto] has-data-[slot=card-description]:grid-rows-[auto_auto] [.border-b]:pb-4 group-data-[size=sm]/card:[.border-b]:pb-3",e),...n})},"CardTitle",0,function({className:e,...n}){return(0,r.jsx)("div",{"data-slot":"card-title",className:(0,t.cn)("font-heading text-base leading-snug font-medium group-data-[size=sm]/card:text-sm",e),...n})}])},972248,e=>{"use strict";let r=(0,e.i(706875).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,r],972248)},371406,e=>{"use strict";var r=e.i(368075),t=e.i(298699),n=e.i(186339),a=e.i(575607),s=e.i(880932),o=e.i(613349);function i({step:e,completed:t}){return t?(0,r.jsx)("span",{className:"flex items-center justify-center size-5 rounded-full bg-emerald-500 text-white transition-all duration-300",children:(0,r.jsx)(a.Check,{className:"size-3",strokeWidth:3})}):(0,r.jsx)("span",{className:"flex items-center justify-center size-5 rounded-full bg-foreground text-background text-xs font-semibold",children:e})}e.s(["ConnectMachineSteps",0,function({generatedToken:e,generatingToken:a,onGenerateToken:l,registered:d}){let c=(0,t.useRef)(!1);(0,t.useEffect)(()=>{e||a||c.current||(c.current=!0,l())},[e,a,l]);let u=()=>{navigator.clipboard.writeText(`${(0,o.cliCmd)()} register --token ${e}`),s.toast.success("Copied to clipboard")},f=`${(0,o.cliCmd)()} daemon start`,x=()=>{navigator.clipboard.writeText(f),s.toast.success("Copied to clipboard")};return(0,r.jsxs)("div",{className:"space-y-6",children:[(0,r.jsxs)("div",{className:"space-y-2",children:[(0,r.jsxs)("p",{className:"text-sm font-medium flex items-center gap-2",children:[(0,r.jsx)(i,{step:1,completed:d}),"Register your CLI",d&&(0,r.jsx)("span",{className:"text-xs text-emerald-500 font-normal",children:"Done"})]}),(0,r.jsx)("p",{className:"text-xs text-muted-foreground pl-7",children:"Run this in your terminal to link your machine."}),a?(0,r.jsx)("div",{className:"pl-7",children:(0,r.jsx)("div",{className:"rounded-md bg-muted p-2.5 font-mono text-xs text-muted-foreground animate-pulse",children:"Generating token..."})}):e?(0,r.jsxs)("div",{className:"pl-7 space-y-2",children:[(0,r.jsxs)("div",{className:"rounded-md bg-muted p-2.5 font-mono text-xs text-muted-foreground cursor-pointer hover:bg-muted/80 transition-colors break-all",onClick:u,title:"Click to copy",children:[(0,o.cliCmd)()," register --token"," ",(0,r.jsx)("span",{className:"text-foreground/70",children:e})]}),!d&&(0,r.jsx)(n.Button,{size:"sm",onClick:u,className:"w-full",children:"Copy Command"})]}):null]}),(0,r.jsxs)("div",{className:`space-y-2 transition-opacity duration-300 ${!d?"opacity-40 pointer-events-none":""}`,children:[(0,r.jsxs)("p",{className:"text-sm font-medium flex items-center gap-2",children:[(0,r.jsx)(i,{step:2,completed:!1}),"Start the daemon"]}),(0,r.jsx)("p",{className:"text-xs text-muted-foreground pl-7",children:"The daemon connects your local agents to Alook."}),(0,r.jsx)("div",{className:"ml-7 rounded-md bg-muted p-2.5 font-mono text-xs text-muted-foreground cursor-pointer hover:bg-muted/80 transition-colors",onClick:x,title:"Click to copy",children:f}),d&&(0,r.jsx)("div",{className:"pl-7",children:(0,r.jsx)(n.Button,{size:"sm",onClick:x,className:"w-full",children:"Copy Command"})})]})]})}])}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,500324,e=>{"use strict";var t=e.i(368075),a=e.i(298699);let r=(0,a.createContext)(null);e.s(["WorkspaceProvider",0,function({workspaceId:e,slug:s,children:n}){return(0,a.useEffect)(()=>{try{localStorage.setItem("lastWorkspace",s)}catch{}},[s]),(0,t.jsx)(r.Provider,{value:{workspaceId:e,slug:s},children:n})},"useWorkspace",0,function(){let e=(0,a.useContext)(r);if(!e)throw Error("useWorkspace must be used within WorkspaceProvider");return e}])},222862,636557,e=>{"use strict";class t extends Error{status;details;constructor(e,t,a){super(e),this.name="ApiError",this.status=t,this.details=a}get isNetworkError(){return 0===this.status}get isRateLimit(){return 429===this.status}get isUnauthorized(){return 401===this.status}}function a(e,t){return"validation error"===e&&t?.length?function(e){let[t,...a]=e.split(":"),r=a.join(":").trim();if(!r)return e;let s=t.trim(),n=s.trim().replace(/[_-]+/g," ").replace(/\b\w/g,e=>e.toUpperCase()),i=r.replace(/^required$/i,"is required"),o=i.toLowerCase().replace(/[_-]+/g," "),l=s.toLowerCase().replace(/[_-]+/g," ");return l&&o.startsWith(`${l} `)&&(i=i.slice(s.length).trimStart()),n?`${n} ${i}`:i}(t[0]):e}async function r(e,r){let s;try{s=await fetch(""+e,{...r,credentials:"include",headers:{"Content-Type":"application/json",...r?.headers}})}catch(e){if(e instanceof TypeError)throw new t("Unable to connect — check your network",0);throw e}if(401===s.status)throw window.location.href="/sign-in",new t("Unauthorized",401);if(!s.ok){let e,r;try{let t=await s.json();e=t.error,r=t.details}catch{}if(429===s.status)throw new t("Please wait a moment before trying again",429);if(s.status>=500)throw new t(a(e,r)||"Something went wrong — please try again",s.status,r);throw new t(a(e,r)||"Something went wrong",s.status,r)}if(204!==s.status)return s.json()}function s(e,t){let a=new URLSearchParams({workspace_id:e,...t});return`?${a.toString()}`}e.s(["ApiError",0,t],636557);let n=async(e,a,n,i)=>{let o;if(!i||0===i.length)return r(`/api/conversations/${e}/messages${s(n)}`,{method:"POST",body:JSON.stringify({content:a})});let l=new FormData;for(let e of(l.append("content",a),i))l.append("file",e);try{o=await fetch(`/api/conversations/${e}/messages${s(n)}`,{method:"POST",credentials:"include",body:l})}catch(e){if(e instanceof TypeError)throw new t("Unable to connect — check your network",0);throw e}if(401===o.status)throw window.location.href="/sign-in",new t("Unauthorized",401);if(!o.ok){let e,a;try{let t=await o.json();e=t.error,a=t.details}catch{}if(429===o.status)throw new t("Please wait a moment before trying again",429);if(o.status>=500)throw new t(e||"Something went wrong — please try again",o.status,a);throw new t(e||"Something went wrong",o.status,a)}return o.json()},i=async(e,a,n,i)=>{let o;if(!i||0===i.length)return r(`/api/conversations/${e}/buffered-messages${s(n)}`,{method:"POST",body:JSON.stringify({content:a})});let l=new FormData;for(let e of(l.append("content",a),i))l.append("file",e);try{o=await fetch(`/api/conversations/${e}/buffered-messages${s(n)}`,{method:"POST",credentials:"include",body:l})}catch(e){if(e instanceof TypeError)throw new t("Unable to connect — check your network",0);throw e}if(401===o.status)throw window.location.href="/sign-in",new t("Unauthorized",401);if(!o.ok){let e,a;try{let t=await o.json();e=t.error,a=t.details}catch{}if(429===o.status)throw new t(e||"Maximum follow-ups reached",429);if(o.status>=500)throw new t(e||"Something went wrong — please try again",o.status,a);throw new t(e||"Something went wrong",o.status,a)}return o.json()},o=async(e,t)=>{let a=new URLSearchParams({workspace_id:t}),r=await fetch(`/api/email/${e}/body?${a}`,{credentials:"include"});if(!r.ok)return{content:"(body not available)",isHtml:!1};let s=r.headers.get("Content-Type")??"";return{content:await r.text(),isHtml:s.includes("text/html")}},l=async(e,a)=>{let r=new FormData;r.append("file",e);let n=await fetch(`/api/email/upload${s(a)}`,{method:"POST",credentials:"include",body:r});if(!n.ok)throw new t(await n.text().catch(()=>"Upload failed"),n.status);return n.json()},d=async(e,a)=>{let n;if(!a.files||0===a.files.length)return r(`/api/issues${s(e)}`,{method:"POST",body:JSON.stringify({agent_id:a.agent_id,title:a.title,description:a.description})});let i=new FormData;for(let e of(a.agent_id&&i.append("agent_id",a.agent_id),i.append("title",a.title),i.append("description",a.description??""),a.files))i.append("file",e);try{n=await fetch(`/api/issues${s(e)}`,{method:"POST",credentials:"include",body:i})}catch(e){if(e instanceof TypeError)throw new t("Unable to connect — check your network",0);throw e}if(401===n.status)throw window.location.href="/sign-in",new t("Unauthorized",401);if(!n.ok){let e,a;try{let t=await n.json();e=t.error,a=t.details}catch{}if(429===n.status)throw new t("Please wait a moment before trying again",429);if(n.status>=500)throw new t(e||"Something went wrong — please try again",n.status,a);throw new t(e||"Something went wrong",n.status,a)}return n.json()},c=async(e,t)=>{let a=new URLSearchParams({workspace_id:t}),r=await fetch(`/api/artifacts/${e}/content?${a}`,{credentials:"include"});return r.ok?r.text():"(content not available)"};e.s(["acceptInvite",0,e=>r(`/api/invite/${e}`,{method:"POST"}),"addWhitelistEmail",0,(e,t,a)=>r(`/api/agents/${e}/whitelist${s(a)}`,{method:"POST",body:JSON.stringify({email:t})}),"approveMeeting",0,(e,t,a)=>r(`/api/agents/${e}/meetings/${t}/approve${s(a)}`,{method:"POST"}),"cancelActiveTask",0,(e,t)=>r(`/api/conversations/${e}/active-task${s(t)}`,{method:"DELETE"}),"chatInit",0,(e,t,a)=>r(`/api/agents/${e}/chat-init${s(t)}`,{method:"POST",body:JSON.stringify({...a?{channel:a}:{}})}),"createAgent",0,(e,t)=>r(`/api/agents${s(t)}`,{method:"POST",body:JSON.stringify(e)}),"createAgentLink",0,(e,t)=>r(`/api/agent-links${s(t)}`,{method:"POST",body:JSON.stringify(e)}),"createBufferedMessage",0,i,"createCalendarEvent",0,(e,t)=>r(`/api/calendar${s(t)}`,{method:"POST",body:JSON.stringify(e)}),"createChannelApi",0,(e,t)=>r(`/api/channels${s(e)}`,{method:"POST",body:JSON.stringify({name:t})}),"createConversation",0,(e,t,a)=>r(`/api/conversations${s(t)}`,{method:"POST",body:JSON.stringify({agent_id:e,...a?{channel:a}:{}})}),"createEmailAccount",0,(e,t,a)=>r(`/api/agents/${e}/email-accounts${s(a)}`,{method:"POST",body:JSON.stringify(t)}),"createInvite",0,e=>r(`/api/workspaces/${e}/invites${s(e)}`,{method:"POST"}),"createIssue",0,d,"createMachineToken",0,(e,t)=>r(`/api/machine-tokens${t?s(t):""}`,{method:"POST",body:JSON.stringify({name:e||"default"})}),"createMeeting",0,(e,t,a)=>r(`/api/agents/${e}/meetings${s(t)}`,{method:"POST",body:JSON.stringify(a)}),"deleteAgent",0,(e,t)=>r(`/api/agents/${e}${s(t)}`,{method:"DELETE"}),"deleteAgentLink",0,(e,t)=>r(`/api/agent-links/${e}${s(t)}`,{method:"DELETE"}),"deleteBufferedMessage",0,(e,t,a)=>r(`/api/conversations/${e}/buffered-messages/${t}${s(a)}`,{method:"DELETE"}),"deleteCalendarEvent",0,(e,t,a)=>r(`/api/calendar/${e}${s(t)}`,{method:"DELETE",...a&&a.scope?{headers:{"Content-Type":"application/json"},body:JSON.stringify(a)}:{}}),"deleteChannelApi",0,(e,t)=>r(`/api/channels/${e}${s(t)}`,{method:"DELETE"}),"deleteEmail",0,(e,t)=>r(`/api/email/${e}${s(t)}`,{method:"DELETE"}),"deleteEmailAccount",0,(e,t,a)=>r(`/api/agents/${e}/email-accounts/${t}${s(a)}`,{method:"DELETE"}),"deleteIssue",0,(e,t)=>r(`/api/issues/${t}${s(e)}`,{method:"DELETE"}),"deleteMachine",0,(e,t)=>r(`/api/runtimes/machine${s(t,{daemon_id:e})}`,{method:"DELETE"}),"deleteMeeting",0,(e,t,a)=>r(`/api/agents/${e}/meetings/${t}${s(a)}`,{method:"DELETE"}),"deleteWorkspace",0,(e,t)=>r(`/api/workspaces/${e}${s(e)}`,{method:"DELETE",body:JSON.stringify({confirm_name:t})}),"fetchLatestCliVersion",0,()=>r("/api/cli/latest-version"),"fetchModelOptions",0,()=>r("/api/config/model-options"),"getActiveTask",0,(e,t)=>r(`/api/conversations/${e}/active-task${s(t)}`),"getArtifactContent",0,c,"getConversation",0,(e,t)=>r(`/api/conversations/${e}${s(t)}`),"getEmail",0,(e,t)=>r(`/api/email/${e}${s(t)}`),"getEmailBody",0,o,"getEmailThread",0,(e,t)=>r(`/api/email/${e}/thread${s(t)}`),"getInboxCount",0,e=>r(`/api/inbox/count${s(e)}`),"getInviteInfo",0,e=>r(`/api/invite/${e}`),"getIssue",0,(e,t)=>r(`/api/issues/${t}${s(e)}`),"getMemberMe",0,e=>r(`/api/members/me${s(e)}`),"getMinCliVersion",0,()=>r("/api/config/min-version"),"getTask",0,(e,t)=>r(`/api/tasks/${e}${s(t)}`),"getTaskMessages",0,(e,t,a)=>r(`/api/tasks/${e}/messages${s(t,a?{since:String(a)}:void 0)}`),"getTaskStepCounts",0,(e,t)=>r(`/api/tasks/step-counts${s(t)}`,{method:"POST",body:JSON.stringify({task_ids:e})}),"getTrace",0,(e,t)=>r(`/api/traces/${e}${s(t)}`),"getWorkspaceOverview",0,e=>r(`/api/workspaces/${e}/overview${s(e)}`),"grantAgentAccess",0,(e,t,a)=>r(`/api/agents/${t}/access${s(e)}`,{method:"POST",body:JSON.stringify({user_id:a})}),"listAgentAccess",0,(e,t)=>r(`/api/agents/${t}/access${s(e)}`),"listAgentActiveTaskCounts",0,e=>r(`/api/agents/active-task-counts${s(e)}`),"listAgentActivity",0,(e,t,a)=>{let n={};return a?.limit&&(n.limit=String(a.limit)),a?.before&&(n.before=a.before),a?.beforeId&&(n.before_id=a.beforeId),a?.status&&(n.status=a.status),a?.type&&(n.type=a.type),r(`/api/agents/${e}/activity${s(t,n)}`)},"listAgentLinks",0,e=>r(`/api/agent-links${s(e)}`),"listAgentPins",0,e=>r(`/api/agents/pins${s(e)}`),"listAgents",0,e=>r(`/api/agents${s(e)}`),"listArtifacts",0,(e,t)=>r(`/api/artifacts${s(t,{conversation_id:e})}`),"listBufferedMessages",0,(e,t)=>r(`/api/conversations/${e}/buffered-messages${s(t)}`),"listCalendarEvents",0,(e,t)=>{let a={};return t?.agentId&&(a.agentId=t.agentId),t?.from&&(a.from=t.from),t?.to&&(a.to=t.to),r(`/api/calendar${s(e,a)}`)},"listChannels",0,e=>r(`/api/channels${s(e)}`),"listEmailAccounts",0,(e,t)=>r(`/api/agents/${e}/email-accounts${s(t)}`),"listEmails",0,(e,t,a,n)=>r(`/api/email${s(t,{agentId:e,...a?{folder:a}:{},...n?{address:n}:{}})}`),"listInboxItems",0,(e,t)=>{let a={};return t?.limit&&(a.limit=String(t.limit)),t?.before&&(a.before=t.before),r(`/api/inbox${s(e,a)}`)},"listInvites",0,e=>r(`/api/workspaces/${e}/invites${s(e)}`),"listIssues",0,(e,t)=>{let a={};return t?.agentId&&(a.agentId=t.agentId),t?.status&&(a.status=t.status),t?.terminal!==void 0&&(a.terminal=String(t.terminal)),r(`/api/issues${s(e,a)}`)},"listMeetings",0,(e,t)=>r(`/api/agents/${e}/meetings${s(t)}`),"listMembers",0,e=>r(`/api/workspaces/${e}/members${s(e)}`),"listMessages",0,(e,t,a)=>{let n={};return a?.limit&&(n.limit=String(a.limit)),a?.before&&(n.before=a.before),a?.beforeId&&(n.before_id=a.beforeId),r(`/api/conversations/${e}/messages${s(t,n)}`)},"listMessagesAroundTask",0,(e,t,a)=>r(`/api/conversations/${e}/messages${s(t,{around_task:a})}`),"listPreviousConversations",0,(e,t,a)=>{let n={exclude:a.exclude,before:a.before};return a.channel&&(n.channel=a.channel),a.limit&&(n.limit=String(a.limit)),r(`/api/agents/${e}/conversations${s(t,n)}`)},"listRuntimes",0,e=>r(`/api/runtimes${s(e)}`),"listTraces",0,(e,t)=>{let a={};return t?.limit&&(a.limit=String(t.limit)),t?.before&&(a.before=t.before),t?.status&&(a.status=t.status),t?.multiAgent&&(a.multiAgent="true"),t?.agentId&&(a.agentId=t.agentId),t?.channel&&(a.channel=t.channel),r(`/api/traces${s(e,a)}`)},"listWhitelist",0,(e,t)=>r(`/api/agents/${e}/whitelist${s(t)}`),"listWorkspaceActiveTasks",0,e=>r(`/api/agents/active-tasks${s(e)}`),"listWorkspaces",0,()=>r("/api/workspaces"),"markAllInboxRead",0,e=>r(`/api/inbox/read-all${s(e)}`,{method:"POST"}),"markInboxRead",0,(e,t)=>r(`/api/inbox/read${s(t)}`,{method:"POST",body:JSON.stringify({conversationId:e})}),"pinAgent",0,(e,t)=>r(`/api/agents/${t}/pin${s(e)}`,{method:"POST"}),"removeMember",0,(e,t)=>r(`/api/workspaces/${e}/members/${t}${s(e)}`,{method:"DELETE"}),"removeWhitelistEmail",0,(e,t,a)=>r(`/api/agents/${e}/whitelist/${t}${s(a)}`,{method:"DELETE"}),"renameChannelApi",0,(e,t,a)=>r(`/api/channels/${e}${s(t)}`,{method:"PATCH",body:JSON.stringify({name:a})}),"reorderAgentPins",0,(e,t)=>r(`/api/agents/pins/reorder${s(e)}`,{method:"PUT",body:JSON.stringify({ordered_agent_ids:t})}),"reorderUnpinnedAgents",0,(e,t)=>r(`/api/agents/sidebar/reorder${s(e)}`,{method:"PUT",body:JSON.stringify({ordered_agent_ids:t})}),"requestWorkspaceBrowse",0,(e,t,a,n)=>r(`/api/agents/${e}/workspace/browse${s(t)}`,{method:"POST",body:JSON.stringify({request_type:a,path:n})}),"retryTask",0,(e,t)=>r(`/api/tasks/${e}/retry${s(t)}`,{method:"POST"}),"revokeAgentAccess",0,(e,t,a,n=!1)=>r(`/api/agents/${t}/access/${a}${s(e)}${n?"&remove_whitelist=true":""}`,{method:"DELETE"}),"revokeInvite",0,(e,t)=>r(`/api/workspaces/${e}/invites/${t}${s(e)}`,{method:"DELETE"}),"sendEmail",0,(e,t,a,n,i,o,l,d)=>r(`/api/email/send${s(i)}`,{method:"POST",body:JSON.stringify({agentId:e,to:t,subject:a,htmlBody:n,attachments:o,...l,customAccountId:d})}),"sendMessage",0,n,"stopMeeting",0,(e,t,a)=>r(`/api/agents/${e}/meetings/${t}/stop${s(a)}`,{method:"POST"}),"syncEmailAccount",0,(e,t,a)=>r(`/api/agents/${e}/email-accounts/${t}/sync${s(a)}`,{method:"POST"}),"triggerRuntimeRescan",0,(e,t)=>r(`/api/runtimes/${e}/rescan${s(t)}`,{method:"POST"}),"triggerRuntimeUpdate",0,(e,t)=>r(`/api/runtimes/${e}/update${s(t)}`,{method:"POST"}),"unpinAgent",0,(e,t)=>r(`/api/agents/${t}/pin${s(e)}`,{method:"DELETE"}),"updateAgent",0,(e,t,a)=>r(`/api/agents/${e}${s(a)}`,{method:"PATCH",body:JSON.stringify(t)}),"updateAgentLink",0,(e,t,a)=>r(`/api/agent-links/${e}${s(a)}`,{method:"PATCH",body:JSON.stringify(t)}),"updateCalendarEvent",0,(e,t,a)=>r(`/api/calendar/${e}${s(a)}`,{method:"PATCH",body:JSON.stringify(t)}),"updateEmailStatus",0,(e,t,a)=>r(`/api/email/${e}${s(t)}`,{method:"PATCH",body:JSON.stringify({status:a})}),"updateIssue",0,(e,t,a)=>r(`/api/issues/${t}${s(e)}`,{method:"PATCH",body:JSON.stringify(a)}),"updateMemberMe",0,(e,t)=>r(`/api/members/me${s(e)}`,{method:"PATCH",body:JSON.stringify({global_instruction:t})}),"updateWorkspace",0,(e,t)=>r(`/api/workspaces/${e}${s(e)}`,{method:"PATCH",body:JSON.stringify(t)}),"uploadEmailAttachment",0,l],222862)},728886,e=>{"use strict";var t=e.i(368075),a=e.i(613349);e.s(["Skeleton",0,function({className:e,...r}){return(0,t.jsx)("div",{"data-slot":"skeleton",className:(0,a.cn)("animate-pulse rounded-md bg-muted",e),...r})}])},642342,e=>{"use strict";var t=e.i(459119),a=e.i(298699);let r=(0,e.i(613349).isLocalMode)(),s=Number(t.default.env.NEXT_PUBLIC_WS_DO_PORT)||8789,n=Number(t.default.env.NEXT_PUBLIC_WS_RECONNECT_DELAY_MS)||1e3,i=Number(t.default.env.NEXT_PUBLIC_WS_RECONNECT_MAX_DELAY_MS)||3e4;e.s(["useUserWs",0,function(e){let t=(0,a.useRef)(null),o=(0,a.useRef)(n),l=(0,a.useRef)(e),d=(0,a.useRef)(null);(0,a.useEffect)(()=>{l.current=e},[e]);let c=(0,a.useRef)(null),u=(0,a.useCallback)(()=>{let e=Math.min(o.current,i);o.current=Math.min(2*e,i),d.current=setTimeout(()=>{c.current?.()},e+500*Math.random())},[]),p=(0,a.useCallback)(async()=>{let e,a,i,d=s;try{let t=await fetch("/api/ws/token");if(!t.ok){console.warn("[ws] token fetch failed:",t.status),u();return}let r=await t.json();e=r.userId,a=r.token,r.wsPort&&(d=r.wsPort)}catch(e){console.warn("[ws] token fetch error:",e),u();return}let c=r?`ws://localhost:${d}/?userId=${e}`:`${location.origin.replace("http","ws")}/api/ws/user?userId=${e}`;try{i=new WebSocket(c)}catch(e){console.warn("[ws] WebSocket creation failed:",e),u();return}t.current=i,i.onopen=()=>{o.current=n,i.send(JSON.stringify({type:"auth",token:a}))},i.onmessage=e=>{try{let t=JSON.parse(e.data);if("auth.ok"===t.type)return;l.current(t)}catch{}},i.onerror=()=>{},i.onclose=()=>{i===t.current&&u()}},[u]);(0,a.useEffect)(()=>{c.current=p},[p]),(0,a.useEffect)(()=>(p(),()=>{null!==d.current&&(clearTimeout(d.current),d.current=null);let e=t.current;t.current=null,e?.close()}),[p])}])},355578,e=>{"use strict";var t=e.i(368075),a=e.i(298699),r=e.i(222862),s=e.i(880932),n=e.i(642342);let i=(0,a.createContext)(null);e.s(["AgentProvider",0,function({workspaceId:e,children:o}){let[l,d]=(0,a.useState)([]),[c,u]=(0,a.useState)([]),[p,g]=(0,a.useState)(!0),[m,f]=(0,a.useState)({}),[h,v]=(0,a.useState)([]),b=(0,a.useRef)(!1),[y,x]=(0,a.useState)([]),[w,k]=(0,a.useState)(new Map),[$,S]=(0,a.useState)(new Map),T=(0,a.useRef)(!1),N=(0,a.useRef)(new Set),E=(0,a.useRef)(!0),C=(0,a.useCallback)(e=>(N.current.add(e),()=>{N.current.delete(e)}),[]),j=(0,a.useRef)(!1),A=(0,a.useCallback)(async()=>{if(!j.current){j.current=!0;try{if(b.current){let t=await (0,r.listWorkspaceActiveTasks)(e);if(!E.current)return;v(t.tasks);let a={};for(let e of t.tasks)a[e.agent_id]=(a[e.agent_id]??0)+1;f(a),b.current=t.tasks.length>0}else{let t=await (0,r.listAgentActiveTaskCounts)(e);if(!E.current)return;if(f(t.counts),Object.values(t.counts).some(e=>e>0)){b.current=!0;let t=await (0,r.listWorkspaceActiveTasks)(e);E.current&&v(t.tasks)}else v([])}}catch{}finally{j.current=!1}}},[e]);(0,a.useEffect)(()=>{E.current=!0,A();let e=setInterval(A,5e3);return()=>{E.current=!1,clearInterval(e)}},[A]);let P=(0,a.useCallback)(async()=>{try{let[t,a,s,n]=await Promise.all([(0,r.listAgents)(e),(0,r.listRuntimes)(e),(0,r.listAgentPins)(e),(0,r.listAgentLinks)(e)]);d(t),u(a),x(n),k(new Map(s.pins.map(e=>[e.agent_id,{created_at:e.created_at,position:e.position}]))),S(new Map(s.sidebar_order.map(e=>[e.agent_id,e.position])))}catch(e){s.toast.error(e instanceof Error?e.message:"Failed to load data")}finally{g(!1),T.current=!0}},[e]);(0,a.useEffect)(()=>{P()},[P]);let O=(0,a.useRef)(null),_=(0,a.useCallback)(()=>{O.current&&clearTimeout(O.current),O.current=setTimeout(()=>{O.current=null,P()},300)},[P]);(0,a.useEffect)(()=>()=>{O.current&&clearTimeout(O.current)},[]);let I=(0,a.useCallback)(t=>{for(let e of N.current)e(t);switch(t.type){case"runtime.registered":if(t.workspaceId!==e)break;P();break;case"runtime.deleted":P();break;case"runtime.status":if(t.workspaceId!==e)break;_();break;case"task.updated":A()}},[P,_,A,e]);(0,n.useUserWs)(I);let M=(0,a.useCallback)(async t=>{try{let a=await (0,r.createAgent)(t,e);return await P(),a}catch(e){return s.toast.error(e instanceof Error?e.message:"Failed to create agent"),null}},[P,e]),D=(0,a.useCallback)(async(t,a)=>{try{return await (0,r.updateAgent)(t,a,e),await P(),!0}catch(e){return s.toast.error(e instanceof Error?e.message:"Failed to update agent"),!1}},[P,e]),L=(0,a.useCallback)(async t=>{try{return await (0,r.deleteAgent)(t,e),await P(),!0}catch(e){return s.toast.error(e instanceof Error?e.message:"Failed to remove agent"),!1}},[P,e]),R=(0,a.useCallback)(async t=>{k(e=>{let a=Math.max(-1,...[...e.values()].map(e=>e.position));return new Map(e).set(t,{created_at:new Date().toISOString(),position:a+1})});try{await (0,r.pinAgent)(e,t)}catch{k(e=>{let a=new Map(e);return a.delete(t),a}),s.toast.error("Failed to pin agent")}},[e]),U=(0,a.useCallback)(async t=>{let a;k(e=>{a=e.get(t);let r=new Map(e);return r.delete(t),r});try{await (0,r.unpinAgent)(e,t)}catch{void 0!==a&&k(e=>new Map(e).set(t,a)),s.toast.error("Failed to unpin agent")}},[e]),z=(0,a.useCallback)(async t=>{let a=new Map(w);k(e=>{let a=new Map(e);return t.forEach((e,t)=>{let r=a.get(e);r&&a.set(e,{...r,position:t})}),a});try{await (0,r.reorderAgentPins)(e,t)}catch{k(a),s.toast.error("Failed to reorder pins")}},[e,w]),W=(0,a.useCallback)(async t=>{let a=new Map($);S(new Map(t.map((e,t)=>[e,t])));try{await (0,r.reorderUnpinnedAgents)(e,t)}catch{S(a),s.toast.error("Failed to reorder agents")}},[e,$]),J=(0,a.useCallback)(()=>{let e=c.find(e=>"online"===e.status);return e?.id??""},[c]),B=(0,a.useCallback)(async()=>{try{return(await (0,r.createMachineToken)("cli",e)).token}catch(e){return s.toast.error(e instanceof Error?e.message:"Failed to generate token"),null}},[e]),F=(0,a.useCallback)(async t=>{try{return await (0,r.deleteMachine)(t,e),await P(),!0}catch(e){return s.toast.error(e instanceof Error?e.message:"Failed to remove machine"),!1}},[P,e]);return(0,t.jsx)(i.Provider,{value:{workspaceId:e,agents:l,agentLinks:y,runtimes:c,loading:p,activeTaskCounts:m,activeTaskDetails:h,pins:w,reload:P,subscribeWs:C,handleCreateAgent:M,handleUpdateAgent:D,handleDeleteAgent:L,handlePinAgent:R,handleUnpinAgent:U,handleReorderPins:z,unpinnedOrder:$,handleReorderUnpinned:W,getFirstOnlineRuntimeId:J,handleGenerateToken:B,handleDeleteMachine:F},children:o})},"useAgentContext",0,function(){let e=(0,a.useContext)(i);if(!e)throw Error("useAgentContext must be used within AgentProvider");return e}])},361268,e=>{"use strict";let t=(0,e.i(706875).default)("copy",[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]]);e.s(["Copy",0,t],361268)},332680,e=>{"use strict";var t=e.i(368075),a=e.i(917739),r=e.i(613349),s=e.i(186339),n=e.i(71951);function i({...e}){return(0,t.jsx)(a.Dialog.Portal,{"data-slot":"sheet-portal",...e})}function o({className:e,...s}){return(0,t.jsx)(a.Dialog.Backdrop,{"data-slot":"sheet-overlay",className:(0,r.cn)("fixed inset-0 z-50 bg-black/20 backdrop-blur-[2px] transition-[opacity,backdrop-filter] duration-200 ease-out data-ending-style:opacity-0 data-ending-style:backdrop-blur-none data-starting-style:opacity-0 data-starting-style:backdrop-blur-none",e),...s})}e.s(["Sheet",0,function({...e}){return(0,t.jsx)(a.Dialog.Root,{"data-slot":"sheet",...e})},"SheetBody",0,function({className:e,...a}){return(0,t.jsx)("div",{"data-slot":"sheet-body",className:(0,r.cn)("flex-1 overflow-y-auto px-4 sm:px-6 py-5",e),...a})},"SheetContent",0,function({className:e,children:l,side:d="right",showCloseButton:c=!0,...u}){return(0,t.jsxs)(i,{children:[(0,t.jsx)(o,{}),(0,t.jsxs)(a.Dialog.Popup,{"data-slot":"sheet-content","data-side":d,className:(0,r.cn)("fixed z-50 flex flex-col bg-background shadow-xl outline-none transition duration-300 ease-in-out data-ending-style:opacity-0 data-starting-style:opacity-0","data-[side=right]:inset-y-0 data-[side=right]:right-0 data-[side=right]:h-full data-[side=right]:w-full data-[side=right]:max-w-md data-[side=right]:border-l data-[side=right]:data-ending-style:translate-x-10 data-[side=right]:data-starting-style:translate-x-10","data-[side=left]:inset-y-0 data-[side=left]:left-0 data-[side=left]:h-full data-[side=left]:w-full data-[side=left]:max-w-md data-[side=left]:border-r data-[side=left]:data-ending-style:-translate-x-10 data-[side=left]:data-starting-style:-translate-x-10","data-[side=top]:inset-x-0 data-[side=top]:top-0 data-[side=top]:h-auto data-[side=top]:border-b data-[side=top]:data-ending-style:-translate-y-10 data-[side=top]:data-starting-style:-translate-y-10","data-[side=bottom]:inset-x-0 data-[side=bottom]:bottom-0 data-[side=bottom]:h-auto data-[side=bottom]:border-t data-[side=bottom]:data-ending-style:translate-y-10 data-[side=bottom]:data-starting-style:translate-y-10",e),...u,children:[l,c&&(0,t.jsxs)(a.Dialog.Close,{"data-slot":"sheet-close",render:(0,t.jsx)(s.Button,{variant:"ghost",className:"absolute top-3 right-3 z-10",size:"icon-sm"}),children:[(0,t.jsx)(n.XIcon,{}),(0,t.jsx)("span",{className:"sr-only",children:"Close"})]})]})]})},"SheetDescription",0,function({className:e,...s}){return(0,t.jsx)(a.Dialog.Description,{"data-slot":"sheet-description",className:(0,r.cn)("text-sm text-muted-foreground",e),...s})},"SheetFooter",0,function({className:e,...a}){return(0,t.jsx)("div",{"data-slot":"sheet-footer",className:(0,r.cn)("flex flex-col-reverse gap-2 border-t bg-muted/50 px-4 sm:px-6 py-4 sm:flex-row sm:justify-end",e),...a})},"SheetHeader",0,function({className:e,...a}){return(0,t.jsx)("div",{"data-slot":"sheet-header",className:(0,r.cn)("flex flex-col gap-1 border-b px-4 sm:px-6 py-5",e),...a})},"SheetTitle",0,function({className:e,...s}){return(0,t.jsx)(a.Dialog.Title,{"data-slot":"sheet-title",className:(0,r.cn)("font-heading text-lg leading-none font-semibold",e),...s})},"SheetTrigger",0,function({...e}){return(0,t.jsx)(a.Dialog.Trigger,{"data-slot":"sheet-trigger",...e})}])},875061,e=>{"use strict";var t=e.i(943891),a=e.i(597849),r=e.i(294237),s=e.i(613349);let n=(0,r.cva)("group/badge inline-flex h-5 w-fit shrink-0 items-center justify-center gap-1 overflow-hidden rounded-4xl border border-transparent px-2 py-0.5 text-xs font-medium whitespace-nowrap transition-all focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 has-data-[icon=inline-end]:pr-1.5 has-data-[icon=inline-start]:pl-1.5 aria-invalid:border-destructive aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 [&>svg]:pointer-events-none [&>svg]:size-3!",{variants:{variant:{default:"bg-primary text-primary-foreground [a]:hover:bg-primary/80",secondary:"bg-secondary text-secondary-foreground [a]:hover:bg-secondary/80",destructive:"bg-destructive/10 text-destructive focus-visible:ring-destructive/20 dark:bg-destructive/20 dark:focus-visible:ring-destructive/40 [a]:hover:bg-destructive/20",outline:"border-border text-foreground [a]:hover:bg-muted [a]:hover:text-muted-foreground",ghost:"hover:bg-muted hover:text-muted-foreground dark:hover:bg-muted/50",link:"text-primary underline-offset-4 hover:underline"}},defaultVariants:{variant:"default"}});e.s(["Badge",0,function({className:e,variant:r="default",render:i,...o}){var l;return l={defaultTagName:"span",props:(0,t.mergeProps)({className:(0,s.cn)(n({variant:r}),e)},o),render:i,state:{slot:"badge",variant:r}},(0,a.useRenderElement)(l.defaultTagName??"div",l,l)},"badgeVariants",0,n],875061)},208020,(e,t,a)=>{t.exports=e.r(170928)},706875,e=>{"use strict";var t=e.i(298699);let a=(...e)=>e.filter((e,t,a)=>!!e&&""!==e.trim()&&a.indexOf(e)===t).join(" ").trim(),r=e=>{let t=e.replace(/^([A-Z])|[\s-_]+(\w)/g,(e,t,a)=>a?a.toUpperCase():t.toLowerCase());return t.charAt(0).toUpperCase()+t.slice(1)};var s={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};let n=(0,t.createContext)({}),i=(0,t.forwardRef)(({color:e,size:r,strokeWidth:i,absoluteStrokeWidth:o,className:l="",children:d,iconNode:c,...u},p)=>{let{size:g=24,strokeWidth:m=2,absoluteStrokeWidth:f=!1,color:h="currentColor",className:v=""}=(0,t.useContext)(n)??{},b=o??f?24*Number(i??m)/Number(r??g):i??m;return(0,t.createElement)("svg",{ref:p,...s,width:r??g??s.width,height:r??g??s.height,stroke:e??h,strokeWidth:b,className:a("lucide",v,l),...!d&&!(e=>{for(let t in e)if(t.startsWith("aria-")||"role"===t||"title"===t)return!0;return!1})(u)&&{"aria-hidden":"true"},...u},[...c.map(([e,a])=>(0,t.createElement)(e,a)),...Array.isArray(d)?d:[d]])});e.s(["default",0,(e,s)=>{let n=(0,t.forwardRef)(({className:n,...o},l)=>(0,t.createElement)(i,{ref:l,iconNode:s,className:a(`lucide-${r(e).replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()}`,`lucide-${e}`,n),...o}));return n.displayName=r(e),n}],706875)},616117,484665,e=>{"use strict";e.i(459119);var t=e.i(298699),a=e.i(92615),r=e.i(773825),s=e.i(389068),n=e.i(943891),i=e.i(398258);let o=t.createContext(void 0);function l(e=!1){let a=t.useContext(o);if(void 0===a&&!e)throw Error((0,i.default)(16));return a}function d(e){return(0,a.isHTMLElement)(e)&&"BUTTON"===e.tagName}e.s(["CompositeRootContext",0,o,"useCompositeRootContext",0,l],484665),e.s(["useButton",0,function(e={}){let{disabled:a=!1,focusableWhenDisabled:i,tabIndex:o=0,native:c=!0,composite:u}=e,p=t.useRef(null),g=l(!0),m=u??void 0!==g,{props:f}=function(e){let{focusableWhenDisabled:a,disabled:r,composite:s=!1,tabIndex:n=0,isNativeButton:i}=e,o=s&&!1!==a,l=s&&!1===a;return{props:t.useMemo(()=>{let e={onKeyDown(e){r&&a&&"Tab"!==e.key&&e.preventDefault()}};return s||(e.tabIndex=n,!i&&r&&(e.tabIndex=a?n:-1)),(i&&(a||o)||!i&&r)&&(e["aria-disabled"]=r),i&&(!a||l)&&(e.disabled=r),e},[s,r,a,o,l,i,n])}}({focusableWhenDisabled:i,disabled:a,composite:m,tabIndex:o,isNativeButton:c}),h=t.useCallback(()=>{let e=p.current;d(e)&&m&&a&&void 0===f.disabled&&e.disabled&&(e.disabled=!1)},[a,f.disabled,m]);return(0,s.useIsoLayoutEffect)(h,[h]),{getButtonProps:t.useCallback((e={})=>{let{onClick:t,onMouseDown:r,onKeyUp:s,onKeyDown:i,onPointerDown:o,...l}=e,u=c?"button":void 0;return(0,n.mergeProps)({type:u,onClick(e){a?e.preventDefault():t?.(e)},onMouseDown(e){a||r?.(e)},onKeyDown(e){var r;if(a||((0,n.makeEventPreventable)(e),i?.(e),e.baseUIHandlerPrevented))return;let s=e.target===e.currentTarget,o=e.currentTarget,l=d(o),u=!c&&(r=o,!!(r?.tagName==="A"&&r?.href)),p=s&&(c?l:!u),g="Enter"===e.key,f=" "===e.key,h=o.getAttribute("role"),v=h?.startsWith("menuitem")||"option"===h||"gridcell"===h;if(s&&m&&f){if(e.defaultPrevented&&v)return;e.preventDefault(),u||c&&l?(o.click(),e.preventBaseUIHandler()):p&&(t?.(e),e.preventBaseUIHandler());return}p&&(!c&&(f||g)&&e.preventDefault(),!c&&g&&t?.(e))},onKeyUp(e){a||(((0,n.makeEventPreventable)(e),s?.(e),e.target===e.currentTarget&&c&&m&&d(e.currentTarget)&&" "===e.key)?e.preventDefault():!e.baseUIHandlerPrevented&&(e.target!==e.currentTarget||c||m||" "!==e.key||t?.(e)))},onPointerDown(e){a?e.preventDefault():o?.(e)}},c?void 0:{role:"button"},f,l)},[a,f,m,c]),buttonRef:(0,r.useStableCallback)(e=>{p.current=e,h()})}}],616117)},294237,e=>{"use strict";var t=e.i(7284);let a=e=>"boolean"==typeof e?`${e}`:0===e?"0":e,r=t.clsx;e.s(["cva",0,(e,t)=>s=>{var n;if((null==t?void 0:t.variants)==null)return r(e,null==s?void 0:s.class,null==s?void 0:s.className);let{variants:i,defaultVariants:o}=t,l=Object.keys(i).map(e=>{let t=null==s?void 0:s[e],r=null==o?void 0:o[e];if(null===t)return null;let n=a(t)||a(r);return i[e][n]}),d=s&&Object.entries(s).reduce((e,t)=>{let[a,r]=t;return void 0===r||(e[a]=r),e},{});return r(e,l,null==t||null==(n=t.compoundVariants)?void 0:n.reduce((e,t)=>{let{class:a,className:r,...s}=t;return Object.entries(s).every(e=>{let[t,a]=e;return Array.isArray(a)?a.includes({...o,...d}[t]):({...o,...d})[t]===a})?[...e,a,r]:e},[]),null==s?void 0:s.class,null==s?void 0:s.className)}])},186339,e=>{"use strict";var t=e.i(368075);e.i(459119);var a=e.i(298699),r=e.i(616117),s=e.i(597849);let n=a.forwardRef(function(e,t){let{render:a,className:n,disabled:i=!1,focusableWhenDisabled:o=!1,nativeButton:l=!0,style:d,...c}=e,{getButtonProps:u,buttonRef:p}=(0,r.useButton)({disabled:i,focusableWhenDisabled:o,native:l});return(0,s.useRenderElement)("button",e,{state:{disabled:i},ref:[t,p],props:[c,u]})});var i=e.i(294237),o=e.i(613349);let l=(0,i.cva)("group/button inline-flex shrink-0 items-center justify-center rounded-lg border border-transparent bg-clip-padding text-sm font-medium whitespace-nowrap transition-all outline-none select-none focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 active:not-aria-[haspopup]:translate-y-px disabled:pointer-events-none disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",{variants:{variant:{default:"bg-primary text-primary-foreground [a]:hover:bg-primary/80",outline:"border-border bg-background hover:bg-muted hover:text-foreground aria-expanded:bg-muted aria-expanded:text-foreground dark:border-input dark:bg-input/30 dark:hover:bg-input/50",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80 aria-expanded:bg-secondary aria-expanded:text-secondary-foreground",ghost:"hover:bg-muted hover:text-foreground aria-expanded:bg-muted aria-expanded:text-foreground dark:hover:bg-muted/50",destructive:"bg-destructive/10 text-destructive hover:bg-destructive/20 focus-visible:border-destructive/40 focus-visible:ring-destructive/20 dark:bg-destructive/20 dark:hover:bg-destructive/30 dark:focus-visible:ring-destructive/40",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-8 gap-1.5 px-2.5 has-data-[icon=inline-end]:pr-2 has-data-[icon=inline-start]:pl-2",xs:"h-6 gap-1 rounded-[min(var(--radius-md),10px)] px-2 text-xs in-data-[slot=button-group]:rounded-lg has-data-[icon=inline-end]:pr-1.5 has-data-[icon=inline-start]:pl-1.5 [&_svg:not([class*='size-'])]:size-3",sm:"h-7 gap-1 rounded-[min(var(--radius-md),12px)] px-2.5 text-[0.8rem] in-data-[slot=button-group]:rounded-lg has-data-[icon=inline-end]:pr-1.5 has-data-[icon=inline-start]:pl-1.5 [&_svg:not([class*='size-'])]:size-3.5",lg:"h-9 gap-1.5 px-2.5 has-data-[icon=inline-end]:pr-2 has-data-[icon=inline-start]:pl-2",icon:"size-8","icon-xs":"size-6 rounded-[min(var(--radius-md),10px)] in-data-[slot=button-group]:rounded-lg [&_svg:not([class*='size-'])]:size-3","icon-sm":"size-7 rounded-[min(var(--radius-md),12px)] in-data-[slot=button-group]:rounded-lg","icon-lg":"size-9"}},defaultVariants:{variant:"default",size:"default"}});e.s(["Button",0,function({className:e,variant:a="default",size:r="default",...s}){return(0,t.jsx)(n,{"data-slot":"button",className:(0,o.cn)(l({variant:a,size:r,className:e})),...s})},"buttonVariants",0,l],186339)},29512,e=>{"use strict";let t=(0,e.i(706875).default)("check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]);e.s(["default",0,t])},575607,e=>{"use strict";var t=e.i(29512);e.s(["Check",()=>t.default])},309475,450463,e=>{"use strict";var t=e.i(368075),a=e.i(298699),r=e.i(789994),s=e.i(875061),n=e.i(224950),i=e.i(728886),o=e.i(613349),l=e.i(222862),d=e.i(500324);function c(e){let t=new Date(e);if(isNaN(t.getTime()))return"";let a=Math.floor((new Date().getTime()-t.getTime())/6e4);if(a<1)return"just now";if(a<60)return`${a}m ago`;let r=Math.floor(a/60);if(r<24)return`${r}h ago`;let s=Math.floor(r/24);return s<7?`${s}d ago`:t.toLocaleDateString(void 0,{month:"short",day:"numeric"})}function u({online:e}){return(0,t.jsx)("span",{className:(0,o.cn)("size-1.5 rounded-full shrink-0",e?"bg-status-online":"bg-status-offline")})}function p({task:e,slug:a,agentId:s}){var n;let i,l="running"===e.status;return(0,t.jsxs)(r.default,{href:`/w/${a}/agents/${s}?task=${e.id}&conv=${e.conversation_id}`,className:"flex items-center gap-2 w-full py-1.5 px-2 hover:bg-muted rounded-md transition-colors cursor-pointer",children:[(0,t.jsx)("span",{className:(0,o.cn)("size-1.5 rounded-full shrink-0",l?"bg-primary animate-pulse":"bg-muted-foreground/40")}),(0,t.jsx)("div",{className:"flex-1 min-w-0",children:(0,t.jsx)("p",{className:"text-xs truncate",children:(i=(n=e.prompt).match(/^Issue\s+iss_\w+:\s*(.+)/))?i[1].split("\n")[0]:n.split("\n")[0]})}),(0,t.jsx)("span",{className:"text-[10px] text-muted-foreground whitespace-nowrap shrink-0",children:c(e.created_at)})]})}e.s(["relativeTime",0,c],450463);let g="gap-1.5 text-muted-foreground hover:text-foreground cursor-pointer";e.s(["AgentStatusBadge",0,function({isOnline:e,taskCount:c,agentId:m}){let{slug:f,workspaceId:h}=(0,d.useWorkspace)(),[v,b]=(0,a.useState)(null),[y,x]=(0,a.useState)(!1),[w,k]=(0,a.useState)(!1),$=(0,a.useCallback)(async()=>{b(null),x(!0),k(!1);try{let e=await (0,l.listWorkspaceActiveTasks)(h);b(e.tasks.filter(e=>e.agent_id===m))}catch{k(!0)}finally{x(!1)}},[m,h]);return e?(0,t.jsxs)(n.Popover,{onOpenChange:e=>{e&&$()},children:[(0,t.jsxs)(n.PopoverTrigger,{render:(0,t.jsx)("button",{type:"button",className:(0,o.cn)((0,s.badgeVariants)({variant:"outline"}),g),onClick:e=>e.stopPropagation()}),children:[(0,t.jsx)(u,{online:!0}),c>0&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("span",{className:"hidden sm:inline",children:"Working"}),(0,t.jsx)("span",{className:"tabular-nums",children:c})]})]}),(0,t.jsx)(n.PopoverContent,{className:"w-72 p-1",children:y?(0,t.jsx)("div",{className:"p-2 space-y-1",children:Array.from({length:3}).map((e,a)=>(0,t.jsxs)("div",{className:"flex items-center gap-2 py-1.5 px-2",children:[(0,t.jsx)(i.Skeleton,{className:"size-1.5 rounded-full"}),(0,t.jsxs)("div",{className:"flex-1 space-y-1",children:[(0,t.jsx)(i.Skeleton,{className:"h-2.5 w-10"}),(0,t.jsx)(i.Skeleton,{className:"h-3 w-full"})]}),(0,t.jsx)(i.Skeleton,{className:"h-2.5 w-8"})]},a))}):w?(0,t.jsx)("div",{className:"p-3 text-xs text-muted-foreground",children:"Failed to load"}):v&&0!==v.length?(0,t.jsxs)("div",{className:"max-h-75 overflow-y-auto",children:[v.slice(0,6).map(e=>(0,t.jsx)(p,{task:e,slug:f,agentId:m},e.id)),v.length>6&&(0,t.jsxs)(r.default,{href:`/w/${f}/agents/${m}/activity?status=running`,className:"block text-xs text-muted-foreground hover:text-foreground text-center py-1.5 transition-colors",children:["View all ",v.length," tasks"]})]}):(0,t.jsx)("div",{className:"p-3 text-xs text-muted-foreground",children:"No active tasks"})})]}):(0,t.jsxs)(s.Badge,{variant:"outline",render:(0,t.jsx)(r.default,{href:`/w/${f}/runtimes`,title:"Runtime offline — click to manage runtimes"}),className:g,children:[(0,t.jsx)(u,{online:!1}),(0,t.jsx)("span",{className:"hidden sm:inline",children:"Offline"})]})}],309475)},844010,e=>{"use strict";var t=e.i(368075),a=e.i(298699),r=e.i(575607),s=e.i(361268),n=e.i(880932);e.i(400175);var i=e.i(819748),o=e.i(126366),l=e.i(309475),d=e.i(613349);e.s(["AgentPreviewCard",0,function({agent:e,isOnline:c,activeTaskCount:u,variant:p="default",isHovered:g}){let[m,f]=(0,a.useState)(!1),h=e.email_handle?`${e.email_handle}@alook.ai`:null,v=(0,a.useCallback)(async()=>{if(h)try{await navigator.clipboard.writeText(h),f(!0),n.toast.success("Email copied to clipboard"),setTimeout(()=>f(!1),2e3)}catch{n.toast.error("Failed to copy email")}},[h]);if("compact"===p){let a;return(0,t.jsxs)("div",{className:"flex items-center gap-2 p-0",children:[(a=(0,o.parseAvatarUrl)(e.avatar_url))?(0,t.jsx)(i.AnimatedAvatar,{config:a,size:32,className:"shrink-0 rounded-xl",isHovered:g??!1,isWorking:!!c&&(u??0)>0}):(0,t.jsx)("div",{className:"flex items-center justify-center size-8 rounded-xl bg-secondary text-secondary-foreground text-xs font-medium shrink-0",children:e.name.charAt(0).toUpperCase()}),(0,t.jsxs)("div",{className:"min-w-0 flex-1",children:[(0,t.jsxs)("div",{className:"flex items-center gap-1.5",children:[(0,t.jsx)("p",{className:"text-sm font-medium truncate max-w-35",children:e.name}),h&&(0,t.jsx)("span",{className:"text-xs text-muted-foreground truncate",children:h})]}),void 0!==c&&(0,t.jsx)("div",{className:"pointer-events-none mt-0.5",children:(0,t.jsx)(l.AgentStatusBadge,{isOnline:c,taskCount:u??0,agentId:e.id})})]})]})}return(0,t.jsxs)("div",{className:"flex flex-col gap-1.5 p-1",children:[(0,t.jsxs)("div",{className:"flex items-center gap-1.5",children:[(0,t.jsx)("p",{className:"text-sm font-medium truncate",children:e.name}),(0,t.jsx)("span",{className:"flex-1"}),void 0!==c&&(0,t.jsxs)("span",{className:"inline-flex items-center gap-1 text-[11px] text-muted-foreground",children:[(0,t.jsx)("span",{className:(0,d.cn)("size-1.5 rounded-full",c?"bg-status-online":"bg-status-offline")}),c?(u??0)>0?"Working":null:"Offline"]})]}),h&&(0,t.jsxs)("div",{className:"flex items-center gap-1",children:[(0,t.jsx)("span",{className:"text-xs text-muted-foreground truncate",children:h}),(0,t.jsx)("button",{type:"button",onClick:e=>{e.stopPropagation(),v()},className:"shrink-0 p-0.5 rounded-sm text-muted-foreground/60 hover:text-foreground transition-colors cursor-pointer",children:m?(0,t.jsx)(r.Check,{className:"size-3 text-green-500"}):(0,t.jsx)(s.Copy,{className:"size-3"})})]}),e.description&&(0,t.jsx)("p",{className:"text-xs text-muted-foreground line-clamp-2",children:e.description})]})}])}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"type":"app","meta":{"status":500,"headers":{"x-nextjs-stale-time":"300","x-nextjs-prerender":"1","x-next-cache-tags":"_N_T_/layout,_N_T_/_global-error/layout,_N_T_/_global-error/page,_N_T_/_global-error"},"segmentPaths":["/_tree","/_full","/__PAGE__","/_index","/_head"]},"html":"<!DOCTYPE html><html id=\"__next_error__\"><head><meta charSet=\"utf-8\"/><meta name=\"viewport\" content=\"width=device-width, initial-scale=1\"/><link rel=\"preload\" as=\"script\" fetchPriority=\"low\" href=\"/_next/static/chunks/002w8zenjl89m.js\"/><script src=\"/_next/static/chunks/0cdxx_wwk.t_-.js\" async=\"\"></script><script src=\"/_next/static/chunks/0b296.m-dcnud.js\" async=\"\"></script><script src=\"/_next/static/chunks/0dx03klusrev7.js\" async=\"\"></script><script src=\"/_next/static/chunks/0qwvs4yod0mnt.js\" async=\"\"></script><script src=\"/_next/static/chunks/turbopack-07j-.0_n.qvdv.js\" async=\"\"></script><script src=\"/_next/static/chunks/11to4eul..x_r.js\" async=\"\"></script><script src=\"/_next/static/chunks/0i03b5ztjvdxj.js\" async=\"\"></script><meta name=\"next-size-adjust\" content=\"\"/><title>500: This page couldn’t load</title><style>:root {--next-error-bg: #fff;--next-error-text: #171717;--next-error-title: #171717;--next-error-message: #171717;--next-error-digest: #666666;--next-error-btn-text: #fff;--next-error-btn-bg: #171717;--next-error-btn-border: none;--next-error-btn-secondary-text: #171717;--next-error-btn-secondary-bg: transparent;--next-error-btn-secondary-border: 1px solid rgba(0,0,0,0.08);}@media (prefers-color-scheme: dark) {:root {--next-error-bg: #0a0a0a;--next-error-text: #ededed;--next-error-title: #ededed;--next-error-message: #ededed;--next-error-digest: #a0a0a0;--next-error-btn-text: #0a0a0a;--next-error-btn-bg: #ededed;--next-error-btn-border: none;--next-error-btn-secondary-text: #ededed;--next-error-btn-secondary-bg: transparent;--next-error-btn-secondary-border: 1px solid rgba(255,255,255,0.14);}}body { margin: 0; color: var(--next-error-text); background: var(--next-error-bg); }</style><script src=\"/_next/static/chunks/03~yq9q893hmn.js\" noModule=\"\"></script></head><body><div hidden=\"\"><!--$--><!--/$--></div><div style=\"font-family:system-ui,"Segoe UI",Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";height:100vh;display:flex;align-items:center;justify-content:center\"><div style=\"margin-top:-32px;max-width:325px;padding:32px 28px;text-align:left\"><svg width=\"32\" height=\"32\" viewBox=\"-0.2 -1.5 32 32\" fill=\"none\" style=\"margin-bottom:24px\"><path d=\"M16.9328 0C18.0839 0.000116771 19.1334 0.658832 19.634 1.69531L31.4299 26.1309C32.0708 27.4588 31.1036 28.9999 29.6291 29H2.00215C0.527541 29 -0.439628 27.4588 0.201371 26.1309L11.9973 1.69531C12.4979 0.658823 13.5474 7.75066e-05 14.6984 0H16.9328ZM3.59493 26H28.0363L16.9328 3H14.6984L3.59493 26ZM15.8156 19C16.9202 19.0001 17.8156 19.8955 17.8156 21C17.8156 22.1045 16.9202 22.9999 15.8156 23C14.7111 23 13.8156 22.1046 13.8156 21C13.8156 19.8954 14.7111 19 15.8156 19ZM17.3156 16.5H14.3156V8.5H17.3156V16.5Z\" fill=\"var(--next-error-title)\"></path></svg><h1 style=\"font-size:24px;font-weight:500;letter-spacing:-0.02em;line-height:32px;margin:0 0 12px 0;color:var(--next-error-title)\">This page couldn’t load</h1><p style=\"font-size:14px;font-weight:400;line-height:21px;margin:0 0 20px 0;color:var(--next-error-message)\">A server error occurred. Reload to try again.</p><form style=\"margin:0\"><button type=\"submit\" style=\"display:inline-flex;align-items:center;justify-content:center;height:32px;padding:0 12px;font-size:14px;font-weight:500;line-height:20px;border-radius:6px;cursor:pointer;color:var(--next-error-btn-text);background:var(--next-error-btn-bg);border:var(--next-error-btn-border)\">Reload</button></form></div></div><!--$--><!--/$--><script src=\"/_next/static/chunks/002w8zenjl89m.js\" id=\"_R_\" async=\"\"></script><script>(self.__next_f=self.__next_f||[]).push([0])</script><script>self.__next_f.push([1,\"1:\\\"$Sreact.fragment\\\"\\n2:I[790577,[\\\"/_next/static/chunks/11to4eul..x_r.js\\\",\\\"/_next/static/chunks/0i03b5ztjvdxj.js\\\"],\\\"default\\\"]\\n3:I[355427,[\\\"/_next/static/chunks/11to4eul..x_r.js\\\",\\\"/_next/static/chunks/0i03b5ztjvdxj.js\\\"],\\\"default\\\"]\\n4:I[429253,[\\\"/_next/static/chunks/11to4eul..x_r.js\\\",\\\"/_next/static/chunks/0i03b5ztjvdxj.js\\\"],\\\"OutletBoundary\\\"]\\n5:\\\"$Sreact.suspense\\\"\\n8:I[429253,[\\\"/_next/static/chunks/11to4eul..x_r.js\\\",\\\"/_next/static/chunks/0i03b5ztjvdxj.js\\\"],\\\"ViewportBoundary\\\"]\\na:I[429253,[\\\"/_next/static/chunks/11to4eul..x_r.js\\\",\\\"/_next/static/chunks/0i03b5ztjvdxj.js\\\"],\\\"MetadataBoundary\\\"]\\nc:I[613133,[\\\"/_next/static/chunks/11to4eul..x_r.js\\\",\\\"/_next/static/chunks/0i03b5ztjvdxj.js\\\"],\\\"default\\\",1]\\n\"])</script><script>self.__next_f.push([1,\"0:{\\\"P\\\":null,\\\"c\\\":[\\\"\\\",\\\"_global-error\\\"],\\\"q\\\":\\\"\\\",\\\"i\\\":false,\\\"f\\\":[[[\\\"\\\",{\\\"children\\\":[\\\"__PAGE__\\\",{}]}],[[\\\"$\\\",\\\"$1\\\",\\\"c\\\",{\\\"children\\\":[null,[\\\"$\\\",\\\"$L2\\\",null,{\\\"parallelRouterKey\\\":\\\"children\\\",\\\"error\\\":\\\"$undefined\\\",\\\"errorStyles\\\":\\\"$undefined\\\",\\\"errorScripts\\\":\\\"$undefined\\\",\\\"template\\\":[\\\"$\\\",\\\"$L3\\\",null,{}],\\\"templateStyles\\\":\\\"$undefined\\\",\\\"templateScripts\\\":\\\"$undefined\\\",\\\"notFound\\\":\\\"$undefined\\\",\\\"forbidden\\\":\\\"$undefined\\\",\\\"unauthorized\\\":\\\"$undefined\\\"}]]}],{\\\"children\\\":[[\\\"$\\\",\\\"$1\\\",\\\"c\\\",{\\\"children\\\":[[\\\"$\\\",\\\"html\\\",null,{\\\"id\\\":\\\"__next_error__\\\",\\\"children\\\":[[\\\"$\\\",\\\"head\\\",null,{\\\"children\\\":[[\\\"$\\\",\\\"title\\\",null,{\\\"children\\\":\\\"500: This page couldn’t load\\\"}],[\\\"$\\\",\\\"style\\\",null,{\\\"dangerouslySetInnerHTML\\\":{\\\"__html\\\":\\\":root {--next-error-bg: #fff;--next-error-text: #171717;--next-error-title: #171717;--next-error-message: #171717;--next-error-digest: #666666;--next-error-btn-text: #fff;--next-error-btn-bg: #171717;--next-error-btn-border: none;--next-error-btn-secondary-text: #171717;--next-error-btn-secondary-bg: transparent;--next-error-btn-secondary-border: 1px solid rgba(0,0,0,0.08);}@media (prefers-color-scheme: dark) {:root {--next-error-bg: #0a0a0a;--next-error-text: #ededed;--next-error-title: #ededed;--next-error-message: #ededed;--next-error-digest: #a0a0a0;--next-error-btn-text: #0a0a0a;--next-error-btn-bg: #ededed;--next-error-btn-border: none;--next-error-btn-secondary-text: #ededed;--next-error-btn-secondary-bg: transparent;--next-error-btn-secondary-border: 1px solid rgba(255,255,255,0.14);}}body { margin: 0; color: var(--next-error-text); background: var(--next-error-bg); }\\\"}}]]}],[\\\"$\\\",\\\"body\\\",null,{\\\"children\\\":[\\\"$\\\",\\\"div\\\",null,{\\\"style\\\":{\\\"fontFamily\\\":\\\"system-ui,\\\\\\\"Segoe UI\\\\\\\",Roboto,Helvetica,Arial,sans-serif,\\\\\\\"Apple Color Emoji\\\\\\\",\\\\\\\"Segoe UI Emoji\\\\\\\"\\\",\\\"height\\\":\\\"100vh\\\",\\\"display\\\":\\\"flex\\\",\\\"alignItems\\\":\\\"center\\\",\\\"justifyContent\\\":\\\"center\\\"},\\\"children\\\":[\\\"$\\\",\\\"div\\\",null,{\\\"style\\\":{\\\"marginTop\\\":\\\"-32px\\\",\\\"maxWidth\\\":\\\"325px\\\",\\\"padding\\\":\\\"32px 28px\\\",\\\"textAlign\\\":\\\"left\\\"},\\\"children\\\":[[\\\"$\\\",\\\"svg\\\",null,{\\\"width\\\":\\\"32\\\",\\\"height\\\":\\\"32\\\",\\\"viewBox\\\":\\\"-0.2 -1.5 32 32\\\",\\\"fill\\\":\\\"none\\\",\\\"style\\\":{\\\"marginBottom\\\":\\\"24px\\\"},\\\"children\\\":[\\\"$\\\",\\\"path\\\",null,{\\\"d\\\":\\\"M16.9328 0C18.0839 0.000116771 19.1334 0.658832 19.634 1.69531L31.4299 26.1309C32.0708 27.4588 31.1036 28.9999 29.6291 29H2.00215C0.527541 29 -0.439628 27.4588 0.201371 26.1309L11.9973 1.69531C12.4979 0.658823 13.5474 7.75066e-05 14.6984 0H16.9328ZM3.59493 26H28.0363L16.9328 3H14.6984L3.59493 26ZM15.8156 19C16.9202 19.0001 17.8156 19.8955 17.8156 21C17.8156 22.1045 16.9202 22.9999 15.8156 23C14.7111 23 13.8156 22.1046 13.8156 21C13.8156 19.8954 14.7111 19 15.8156 19ZM17.3156 16.5H14.3156V8.5H17.3156V16.5Z\\\",\\\"fill\\\":\\\"var(--next-error-title)\\\"}]}],[\\\"$\\\",\\\"h1\\\",null,{\\\"style\\\":{\\\"fontSize\\\":\\\"24px\\\",\\\"fontWeight\\\":500,\\\"letterSpacing\\\":\\\"-0.02em\\\",\\\"lineHeight\\\":\\\"32px\\\",\\\"margin\\\":\\\"0 0 12px 0\\\",\\\"color\\\":\\\"var(--next-error-title)\\\"},\\\"children\\\":\\\"This page couldn’t load\\\"}],[\\\"$\\\",\\\"p\\\",null,{\\\"style\\\":{\\\"fontSize\\\":\\\"14px\\\",\\\"fontWeight\\\":400,\\\"lineHeight\\\":\\\"21px\\\",\\\"margin\\\":\\\"0 0 20px 0\\\",\\\"color\\\":\\\"var(--next-error-message)\\\"},\\\"children\\\":\\\"A server error occurred. Reload to try again.\\\"}],[\\\"$\\\",\\\"form\\\",null,{\\\"style\\\":{\\\"margin\\\":0},\\\"children\\\":[\\\"$\\\",\\\"button\\\",null,{\\\"type\\\":\\\"submit\\\",\\\"style\\\":{\\\"display\\\":\\\"inline-flex\\\",\\\"alignItems\\\":\\\"center\\\",\\\"justifyContent\\\":\\\"center\\\",\\\"height\\\":\\\"32px\\\",\\\"padding\\\":\\\"0 12px\\\",\\\"fontSize\\\":\\\"14px\\\",\\\"fontWeight\\\":500,\\\"lineHeight\\\":\\\"20px\\\",\\\"borderRadius\\\":\\\"6px\\\",\\\"cursor\\\":\\\"pointer\\\",\\\"color\\\":\\\"var(--next-error-btn-text)\\\",\\\"background\\\":\\\"var(--next-error-btn-bg)\\\",\\\"border\\\":\\\"var(--next-error-btn-border)\\\"},\\\"children\\\":\\\"Reload\\\"}]}]]}]}]}]]}],null,[\\\"$\\\",\\\"$L4\\\",null,{\\\"children\\\":[\\\"$\\\",\\\"$5\\\",null,{\\\"name\\\":\\\"Next.MetadataOutlet\\\",\\\"children\\\":\\\"$@6\\\"}]}]]}],{},null,false,null]},null,false,\\\"$@7\\\"],[\\\"$\\\",\\\"$1\\\",\\\"h\\\",{\\\"children\\\":[null,[\\\"$\\\",\\\"$L8\\\",null,{\\\"children\\\":\\\"$L9\\\"}],[\\\"$\\\",\\\"div\\\",null,{\\\"hidden\\\":true,\\\"children\\\":[\\\"$\\\",\\\"$La\\\",null,{\\\"children\\\":[\\\"$\\\",\\\"$5\\\",null,{\\\"name\\\":\\\"Next.Metadata\\\",\\\"children\\\":\\\"$Lb\\\"}]}]}],[\\\"$\\\",\\\"meta\\\",null,{\\\"name\\\":\\\"next-size-adjust\\\",\\\"content\\\":\\\"\\\"}]]}],false]],\\\"m\\\":\\\"$undefined\\\",\\\"G\\\":[\\\"$c\\\",[]],\\\"S\\\":true,\\\"h\\\":null,\\\"s\\\":\\\"$undefined\\\",\\\"l\\\":\\\"$undefined\\\",\\\"p\\\":\\\"$undefined\\\",\\\"d\\\":\\\"$undefined\\\",\\\"b\\\":\\\"JpvpBb9uBBz72TnryVX5l\\\"}\\n\"])</script><script>self.__next_f.push([1,\"d:[]\\n7:\\\"$Wd\\\"\\n\"])</script><script>self.__next_f.push([1,\"9:[[\\\"$\\\",\\\"meta\\\",\\\"0\\\",{\\\"charSet\\\":\\\"utf-8\\\"}],[\\\"$\\\",\\\"meta\\\",\\\"1\\\",{\\\"name\\\":\\\"viewport\\\",\\\"content\\\":\\\"width=device-width, initial-scale=1\\\"}]]\\n\"])</script><script>self.__next_f.push([1,\"6:null\\nb:[]\\n\"])</script></body></html>","rsc":"1:\"$Sreact.fragment\"\n2:I[790577,[\"/_next/static/chunks/11to4eul..x_r.js\",\"/_next/static/chunks/0i03b5ztjvdxj.js\"],\"default\"]\n3:I[355427,[\"/_next/static/chunks/11to4eul..x_r.js\",\"/_next/static/chunks/0i03b5ztjvdxj.js\"],\"default\"]\n4:I[429253,[\"/_next/static/chunks/11to4eul..x_r.js\",\"/_next/static/chunks/0i03b5ztjvdxj.js\"],\"OutletBoundary\"]\n5:\"$Sreact.suspense\"\n8:I[429253,[\"/_next/static/chunks/11to4eul..x_r.js\",\"/_next/static/chunks/0i03b5ztjvdxj.js\"],\"ViewportBoundary\"]\na:I[429253,[\"/_next/static/chunks/11to4eul..x_r.js\",\"/_next/static/chunks/0i03b5ztjvdxj.js\"],\"MetadataBoundary\"]\nc:I[613133,[\"/_next/static/chunks/11to4eul..x_r.js\",\"/_next/static/chunks/0i03b5ztjvdxj.js\"],\"default\",1]\n0:{\"P\":null,\"c\":[\"\",\"_global-error\"],\"q\":\"\",\"i\":false,\"f\":[[[\"\",{\"children\":[\"__PAGE__\",{}]}],[[\"$\",\"$1\",\"c\",{\"children\":[null,[\"$\",\"$L2\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L3\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]}],{\"children\":[[\"$\",\"$1\",\"c\",{\"children\":[[\"$\",\"html\",null,{\"id\":\"__next_error__\",\"children\":[[\"$\",\"head\",null,{\"children\":[[\"$\",\"title\",null,{\"children\":\"500: This page couldn’t load\"}],[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\":root {--next-error-bg: #fff;--next-error-text: #171717;--next-error-title: #171717;--next-error-message: #171717;--next-error-digest: #666666;--next-error-btn-text: #fff;--next-error-btn-bg: #171717;--next-error-btn-border: none;--next-error-btn-secondary-text: #171717;--next-error-btn-secondary-bg: transparent;--next-error-btn-secondary-border: 1px solid rgba(0,0,0,0.08);}@media (prefers-color-scheme: dark) {:root {--next-error-bg: #0a0a0a;--next-error-text: #ededed;--next-error-title: #ededed;--next-error-message: #ededed;--next-error-digest: #a0a0a0;--next-error-btn-text: #0a0a0a;--next-error-btn-bg: #ededed;--next-error-btn-border: none;--next-error-btn-secondary-text: #ededed;--next-error-btn-secondary-bg: transparent;--next-error-btn-secondary-border: 1px solid rgba(255,255,255,0.14);}}body { margin: 0; color: var(--next-error-text); background: var(--next-error-bg); }\"}}]]}],[\"$\",\"body\",null,{\"children\":[\"$\",\"div\",null,{\"style\":{\"fontFamily\":\"system-ui,\\\"Segoe UI\\\",Roboto,Helvetica,Arial,sans-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"display\":\"flex\",\"alignItems\":\"center\",\"justifyContent\":\"center\"},\"children\":[\"$\",\"div\",null,{\"style\":{\"marginTop\":\"-32px\",\"maxWidth\":\"325px\",\"padding\":\"32px 28px\",\"textAlign\":\"left\"},\"children\":[[\"$\",\"svg\",null,{\"width\":\"32\",\"height\":\"32\",\"viewBox\":\"-0.2 -1.5 32 32\",\"fill\":\"none\",\"style\":{\"marginBottom\":\"24px\"},\"children\":[\"$\",\"path\",null,{\"d\":\"M16.9328 0C18.0839 0.000116771 19.1334 0.658832 19.634 1.69531L31.4299 26.1309C32.0708 27.4588 31.1036 28.9999 29.6291 29H2.00215C0.527541 29 -0.439628 27.4588 0.201371 26.1309L11.9973 1.69531C12.4979 0.658823 13.5474 7.75066e-05 14.6984 0H16.9328ZM3.59493 26H28.0363L16.9328 3H14.6984L3.59493 26ZM15.8156 19C16.9202 19.0001 17.8156 19.8955 17.8156 21C17.8156 22.1045 16.9202 22.9999 15.8156 23C14.7111 23 13.8156 22.1046 13.8156 21C13.8156 19.8954 14.7111 19 15.8156 19ZM17.3156 16.5H14.3156V8.5H17.3156V16.5Z\",\"fill\":\"var(--next-error-title)\"}]}],[\"$\",\"h1\",null,{\"style\":{\"fontSize\":\"24px\",\"fontWeight\":500,\"letterSpacing\":\"-0.02em\",\"lineHeight\":\"32px\",\"margin\":\"0 0 12px 0\",\"color\":\"var(--next-error-title)\"},\"children\":\"This page couldn’t load\"}],[\"$\",\"p\",null,{\"style\":{\"fontSize\":\"14px\",\"fontWeight\":400,\"lineHeight\":\"21px\",\"margin\":\"0 0 20px 0\",\"color\":\"var(--next-error-message)\"},\"children\":\"A server error occurred. Reload to try again.\"}],[\"$\",\"form\",null,{\"style\":{\"margin\":0},\"children\":[\"$\",\"button\",null,{\"type\":\"submit\",\"style\":{\"display\":\"inline-flex\",\"alignItems\":\"center\",\"justifyContent\":\"center\",\"height\":\"32px\",\"padding\":\"0 12px\",\"fontSize\":\"14px\",\"fontWeight\":500,\"lineHeight\":\"20px\",\"borderRadius\":\"6px\",\"cursor\":\"pointer\",\"color\":\"var(--next-error-btn-text)\",\"background\":\"var(--next-error-btn-bg)\",\"border\":\"var(--next-error-btn-border)\"},\"children\":\"Reload\"}]}]]}]}]}]]}],null,[\"$\",\"$L4\",null,{\"children\":[\"$\",\"$5\",null,{\"name\":\"Next.MetadataOutlet\",\"children\":\"$@6\"}]}]]}],{},null,false,null]},null,false,\"$@7\"],[\"$\",\"$1\",\"h\",{\"children\":[null,[\"$\",\"$L8\",null,{\"children\":\"$L9\"}],[\"$\",\"div\",null,{\"hidden\":true,\"children\":[\"$\",\"$La\",null,{\"children\":[\"$\",\"$5\",null,{\"name\":\"Next.Metadata\",\"children\":\"$Lb\"}]}]}],[\"$\",\"meta\",null,{\"name\":\"next-size-adjust\",\"content\":\"\"}]]}],false]],\"m\":\"$undefined\",\"G\":[\"$c\",[]],\"S\":true,\"h\":null,\"s\":\"$undefined\",\"l\":\"$undefined\",\"p\":\"$undefined\",\"d\":\"$undefined\",\"b\":\"JpvpBb9uBBz72TnryVX5l\"}\nd:[]\n7:\"$Wd\"\n9:[[\"$\",\"meta\",\"0\",{\"charSet\":\"utf-8\"}],[\"$\",\"meta\",\"1\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}]]\n6:null\nb:[]\n","segmentData":{"/_tree":"0:{\"tree\":{\"name\":\"\",\"param\":null,\"prefetchHints\":0,\"slots\":{\"children\":{\"name\":\"__PAGE__\",\"param\":null,\"prefetchHints\":0,\"slots\":null}}},\"staleTime\":300,\"buildId\":\"JpvpBb9uBBz72TnryVX5l\"}\n","/_full":"1:\"$Sreact.fragment\"\n2:I[790577,[\"/_next/static/chunks/11to4eul..x_r.js\",\"/_next/static/chunks/0i03b5ztjvdxj.js\"],\"default\"]\n3:I[355427,[\"/_next/static/chunks/11to4eul..x_r.js\",\"/_next/static/chunks/0i03b5ztjvdxj.js\"],\"default\"]\n4:I[429253,[\"/_next/static/chunks/11to4eul..x_r.js\",\"/_next/static/chunks/0i03b5ztjvdxj.js\"],\"OutletBoundary\"]\n5:\"$Sreact.suspense\"\n8:I[429253,[\"/_next/static/chunks/11to4eul..x_r.js\",\"/_next/static/chunks/0i03b5ztjvdxj.js\"],\"ViewportBoundary\"]\na:I[429253,[\"/_next/static/chunks/11to4eul..x_r.js\",\"/_next/static/chunks/0i03b5ztjvdxj.js\"],\"MetadataBoundary\"]\nc:I[613133,[\"/_next/static/chunks/11to4eul..x_r.js\",\"/_next/static/chunks/0i03b5ztjvdxj.js\"],\"default\",1]\n0:{\"P\":null,\"c\":[\"\",\"_global-error\"],\"q\":\"\",\"i\":false,\"f\":[[[\"\",{\"children\":[\"__PAGE__\",{}]}],[[\"$\",\"$1\",\"c\",{\"children\":[null,[\"$\",\"$L2\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L3\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]}],{\"children\":[[\"$\",\"$1\",\"c\",{\"children\":[[\"$\",\"html\",null,{\"id\":\"__next_error__\",\"children\":[[\"$\",\"head\",null,{\"children\":[[\"$\",\"title\",null,{\"children\":\"500: This page couldn’t load\"}],[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\":root {--next-error-bg: #fff;--next-error-text: #171717;--next-error-title: #171717;--next-error-message: #171717;--next-error-digest: #666666;--next-error-btn-text: #fff;--next-error-btn-bg: #171717;--next-error-btn-border: none;--next-error-btn-secondary-text: #171717;--next-error-btn-secondary-bg: transparent;--next-error-btn-secondary-border: 1px solid rgba(0,0,0,0.08);}@media (prefers-color-scheme: dark) {:root {--next-error-bg: #0a0a0a;--next-error-text: #ededed;--next-error-title: #ededed;--next-error-message: #ededed;--next-error-digest: #a0a0a0;--next-error-btn-text: #0a0a0a;--next-error-btn-bg: #ededed;--next-error-btn-border: none;--next-error-btn-secondary-text: #ededed;--next-error-btn-secondary-bg: transparent;--next-error-btn-secondary-border: 1px solid rgba(255,255,255,0.14);}}body { margin: 0; color: var(--next-error-text); background: var(--next-error-bg); }\"}}]]}],[\"$\",\"body\",null,{\"children\":[\"$\",\"div\",null,{\"style\":{\"fontFamily\":\"system-ui,\\\"Segoe UI\\\",Roboto,Helvetica,Arial,sans-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"display\":\"flex\",\"alignItems\":\"center\",\"justifyContent\":\"center\"},\"children\":[\"$\",\"div\",null,{\"style\":{\"marginTop\":\"-32px\",\"maxWidth\":\"325px\",\"padding\":\"32px 28px\",\"textAlign\":\"left\"},\"children\":[[\"$\",\"svg\",null,{\"width\":\"32\",\"height\":\"32\",\"viewBox\":\"-0.2 -1.5 32 32\",\"fill\":\"none\",\"style\":{\"marginBottom\":\"24px\"},\"children\":[\"$\",\"path\",null,{\"d\":\"M16.9328 0C18.0839 0.000116771 19.1334 0.658832 19.634 1.69531L31.4299 26.1309C32.0708 27.4588 31.1036 28.9999 29.6291 29H2.00215C0.527541 29 -0.439628 27.4588 0.201371 26.1309L11.9973 1.69531C12.4979 0.658823 13.5474 7.75066e-05 14.6984 0H16.9328ZM3.59493 26H28.0363L16.9328 3H14.6984L3.59493 26ZM15.8156 19C16.9202 19.0001 17.8156 19.8955 17.8156 21C17.8156 22.1045 16.9202 22.9999 15.8156 23C14.7111 23 13.8156 22.1046 13.8156 21C13.8156 19.8954 14.7111 19 15.8156 19ZM17.3156 16.5H14.3156V8.5H17.3156V16.5Z\",\"fill\":\"var(--next-error-title)\"}]}],[\"$\",\"h1\",null,{\"style\":{\"fontSize\":\"24px\",\"fontWeight\":500,\"letterSpacing\":\"-0.02em\",\"lineHeight\":\"32px\",\"margin\":\"0 0 12px 0\",\"color\":\"var(--next-error-title)\"},\"children\":\"This page couldn’t load\"}],[\"$\",\"p\",null,{\"style\":{\"fontSize\":\"14px\",\"fontWeight\":400,\"lineHeight\":\"21px\",\"margin\":\"0 0 20px 0\",\"color\":\"var(--next-error-message)\"},\"children\":\"A server error occurred. Reload to try again.\"}],[\"$\",\"form\",null,{\"style\":{\"margin\":0},\"children\":[\"$\",\"button\",null,{\"type\":\"submit\",\"style\":{\"display\":\"inline-flex\",\"alignItems\":\"center\",\"justifyContent\":\"center\",\"height\":\"32px\",\"padding\":\"0 12px\",\"fontSize\":\"14px\",\"fontWeight\":500,\"lineHeight\":\"20px\",\"borderRadius\":\"6px\",\"cursor\":\"pointer\",\"color\":\"var(--next-error-btn-text)\",\"background\":\"var(--next-error-btn-bg)\",\"border\":\"var(--next-error-btn-border)\"},\"children\":\"Reload\"}]}]]}]}]}]]}],null,[\"$\",\"$L4\",null,{\"children\":[\"$\",\"$5\",null,{\"name\":\"Next.MetadataOutlet\",\"children\":\"$@6\"}]}]]}],{},null,false,null]},null,false,\"$@7\"],[\"$\",\"$1\",\"h\",{\"children\":[null,[\"$\",\"$L8\",null,{\"children\":\"$L9\"}],[\"$\",\"div\",null,{\"hidden\":true,\"children\":[\"$\",\"$La\",null,{\"children\":[\"$\",\"$5\",null,{\"name\":\"Next.Metadata\",\"children\":\"$Lb\"}]}]}],[\"$\",\"meta\",null,{\"name\":\"next-size-adjust\",\"content\":\"\"}]]}],false]],\"m\":\"$undefined\",\"G\":[\"$c\",[]],\"S\":true,\"h\":null,\"s\":\"$undefined\",\"l\":\"$undefined\",\"p\":\"$undefined\",\"d\":\"$undefined\",\"b\":\"JpvpBb9uBBz72TnryVX5l\"}\nd:[]\n7:\"$Wd\"\n9:[[\"$\",\"meta\",\"0\",{\"charSet\":\"utf-8\"}],[\"$\",\"meta\",\"1\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}]]\n6:null\nb:[]\n","/__PAGE__":"1:\"$Sreact.fragment\"\n2:I[429253,[\"/_next/static/chunks/11to4eul..x_r.js\",\"/_next/static/chunks/0i03b5ztjvdxj.js\"],\"OutletBoundary\"]\n3:\"$Sreact.suspense\"\n0:{\"rsc\":[\"$\",\"$1\",\"c\",{\"children\":[[\"$\",\"html\",null,{\"id\":\"__next_error__\",\"children\":[[\"$\",\"head\",null,{\"children\":[[\"$\",\"title\",null,{\"children\":\"500: This page couldn’t load\"}],[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\":root {--next-error-bg: #fff;--next-error-text: #171717;--next-error-title: #171717;--next-error-message: #171717;--next-error-digest: #666666;--next-error-btn-text: #fff;--next-error-btn-bg: #171717;--next-error-btn-border: none;--next-error-btn-secondary-text: #171717;--next-error-btn-secondary-bg: transparent;--next-error-btn-secondary-border: 1px solid rgba(0,0,0,0.08);}@media (prefers-color-scheme: dark) {:root {--next-error-bg: #0a0a0a;--next-error-text: #ededed;--next-error-title: #ededed;--next-error-message: #ededed;--next-error-digest: #a0a0a0;--next-error-btn-text: #0a0a0a;--next-error-btn-bg: #ededed;--next-error-btn-border: none;--next-error-btn-secondary-text: #ededed;--next-error-btn-secondary-bg: transparent;--next-error-btn-secondary-border: 1px solid rgba(255,255,255,0.14);}}body { margin: 0; color: var(--next-error-text); background: var(--next-error-bg); }\"}}]]}],[\"$\",\"body\",null,{\"children\":[\"$\",\"div\",null,{\"style\":{\"fontFamily\":\"system-ui,\\\"Segoe UI\\\",Roboto,Helvetica,Arial,sans-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"display\":\"flex\",\"alignItems\":\"center\",\"justifyContent\":\"center\"},\"children\":[\"$\",\"div\",null,{\"style\":{\"marginTop\":\"-32px\",\"maxWidth\":\"325px\",\"padding\":\"32px 28px\",\"textAlign\":\"left\"},\"children\":[[\"$\",\"svg\",null,{\"width\":\"32\",\"height\":\"32\",\"viewBox\":\"-0.2 -1.5 32 32\",\"fill\":\"none\",\"style\":{\"marginBottom\":\"24px\"},\"children\":[\"$\",\"path\",null,{\"d\":\"M16.9328 0C18.0839 0.000116771 19.1334 0.658832 19.634 1.69531L31.4299 26.1309C32.0708 27.4588 31.1036 28.9999 29.6291 29H2.00215C0.527541 29 -0.439628 27.4588 0.201371 26.1309L11.9973 1.69531C12.4979 0.658823 13.5474 7.75066e-05 14.6984 0H16.9328ZM3.59493 26H28.0363L16.9328 3H14.6984L3.59493 26ZM15.8156 19C16.9202 19.0001 17.8156 19.8955 17.8156 21C17.8156 22.1045 16.9202 22.9999 15.8156 23C14.7111 23 13.8156 22.1046 13.8156 21C13.8156 19.8954 14.7111 19 15.8156 19ZM17.3156 16.5H14.3156V8.5H17.3156V16.5Z\",\"fill\":\"var(--next-error-title)\"}]}],[\"$\",\"h1\",null,{\"style\":{\"fontSize\":\"24px\",\"fontWeight\":500,\"letterSpacing\":\"-0.02em\",\"lineHeight\":\"32px\",\"margin\":\"0 0 12px 0\",\"color\":\"var(--next-error-title)\"},\"children\":\"This page couldn’t load\"}],[\"$\",\"p\",null,{\"style\":{\"fontSize\":\"14px\",\"fontWeight\":400,\"lineHeight\":\"21px\",\"margin\":\"0 0 20px 0\",\"color\":\"var(--next-error-message)\"},\"children\":\"A server error occurred. Reload to try again.\"}],[\"$\",\"form\",null,{\"style\":{\"margin\":0},\"children\":[\"$\",\"button\",null,{\"type\":\"submit\",\"style\":{\"display\":\"inline-flex\",\"alignItems\":\"center\",\"justifyContent\":\"center\",\"height\":\"32px\",\"padding\":\"0 12px\",\"fontSize\":\"14px\",\"fontWeight\":500,\"lineHeight\":\"20px\",\"borderRadius\":\"6px\",\"cursor\":\"pointer\",\"color\":\"var(--next-error-btn-text)\",\"background\":\"var(--next-error-btn-bg)\",\"border\":\"var(--next-error-btn-border)\"},\"children\":\"Reload\"}]}]]}]}]}]]}],null,[\"$\",\"$L2\",null,{\"children\":[\"$\",\"$3\",null,{\"name\":\"Next.MetadataOutlet\",\"children\":\"$@4\"}]}]]}],\"isPartial\":false,\"staleTime\":300,\"varyParams\":null,\"buildId\":\"JpvpBb9uBBz72TnryVX5l\"}\n4:null\n","/_index":"1:\"$Sreact.fragment\"\n2:I[790577,[\"/_next/static/chunks/11to4eul..x_r.js\",\"/_next/static/chunks/0i03b5ztjvdxj.js\"],\"default\"]\n3:I[355427,[\"/_next/static/chunks/11to4eul..x_r.js\",\"/_next/static/chunks/0i03b5ztjvdxj.js\"],\"default\"]\n4:[]\n0:{\"rsc\":[\"$\",\"$1\",\"c\",{\"children\":[null,[\"$\",\"$L2\",null,{\"parallelRouterKey\":\"children\",\"template\":[\"$\",\"$L3\",null,{}]}]]}],\"isPartial\":false,\"staleTime\":300,\"varyParams\":\"$W4\",\"buildId\":\"JpvpBb9uBBz72TnryVX5l\"}\n","/_head":"1:\"$Sreact.fragment\"\n2:I[429253,[\"/_next/static/chunks/11to4eul..x_r.js\",\"/_next/static/chunks/0i03b5ztjvdxj.js\"],\"ViewportBoundary\"]\n3:I[429253,[\"/_next/static/chunks/11to4eul..x_r.js\",\"/_next/static/chunks/0i03b5ztjvdxj.js\"],\"MetadataBoundary\"]\n4:\"$Sreact.suspense\"\n0:{\"rsc\":[\"$\",\"$1\",\"h\",{\"children\":[null,[\"$\",\"$L2\",null,{\"children\":[[\"$\",\"meta\",\"0\",{\"charSet\":\"utf-8\"}],[\"$\",\"meta\",\"1\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}]]}],[\"$\",\"div\",null,{\"hidden\":true,\"children\":[\"$\",\"$L3\",null,{\"children\":[\"$\",\"$4\",null,{\"name\":\"Next.Metadata\",\"children\":[]}]}]}],[\"$\",\"meta\",null,{\"name\":\"next-size-adjust\",\"content\":\"\"}]]}],\"isPartial\":false,\"staleTime\":300,\"varyParams\":null,\"buildId\":\"JpvpBb9uBBz72TnryVX5l\"}\n"}}
|
|
1
|
+
{"type":"app","meta":{"status":500,"headers":{"x-nextjs-stale-time":"300","x-nextjs-prerender":"1","x-next-cache-tags":"_N_T_/layout,_N_T_/_global-error/layout,_N_T_/_global-error/page,_N_T_/_global-error"},"segmentPaths":["/_tree","/_full","/__PAGE__","/_index","/_head"]},"html":"<!DOCTYPE html><html id=\"__next_error__\"><head><meta charSet=\"utf-8\"/><meta name=\"viewport\" content=\"width=device-width, initial-scale=1\"/><link rel=\"preload\" as=\"script\" fetchPriority=\"low\" href=\"/_next/static/chunks/002w8zenjl89m.js\"/><script src=\"/_next/static/chunks/0cdxx_wwk.t_-.js\" async=\"\"></script><script src=\"/_next/static/chunks/0b296.m-dcnud.js\" async=\"\"></script><script src=\"/_next/static/chunks/0dx03klusrev7.js\" async=\"\"></script><script src=\"/_next/static/chunks/0qwvs4yod0mnt.js\" async=\"\"></script><script src=\"/_next/static/chunks/turbopack-07j-.0_n.qvdv.js\" async=\"\"></script><script src=\"/_next/static/chunks/11to4eul..x_r.js\" async=\"\"></script><script src=\"/_next/static/chunks/0i03b5ztjvdxj.js\" async=\"\"></script><meta name=\"next-size-adjust\" content=\"\"/><title>500: This page couldn’t load</title><style>:root {--next-error-bg: #fff;--next-error-text: #171717;--next-error-title: #171717;--next-error-message: #171717;--next-error-digest: #666666;--next-error-btn-text: #fff;--next-error-btn-bg: #171717;--next-error-btn-border: none;--next-error-btn-secondary-text: #171717;--next-error-btn-secondary-bg: transparent;--next-error-btn-secondary-border: 1px solid rgba(0,0,0,0.08);}@media (prefers-color-scheme: dark) {:root {--next-error-bg: #0a0a0a;--next-error-text: #ededed;--next-error-title: #ededed;--next-error-message: #ededed;--next-error-digest: #a0a0a0;--next-error-btn-text: #0a0a0a;--next-error-btn-bg: #ededed;--next-error-btn-border: none;--next-error-btn-secondary-text: #ededed;--next-error-btn-secondary-bg: transparent;--next-error-btn-secondary-border: 1px solid rgba(255,255,255,0.14);}}body { margin: 0; color: var(--next-error-text); background: var(--next-error-bg); }</style><script src=\"/_next/static/chunks/03~yq9q893hmn.js\" noModule=\"\"></script></head><body><div hidden=\"\"><!--$--><!--/$--></div><div style=\"font-family:system-ui,"Segoe UI",Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";height:100vh;display:flex;align-items:center;justify-content:center\"><div style=\"margin-top:-32px;max-width:325px;padding:32px 28px;text-align:left\"><svg width=\"32\" height=\"32\" viewBox=\"-0.2 -1.5 32 32\" fill=\"none\" style=\"margin-bottom:24px\"><path d=\"M16.9328 0C18.0839 0.000116771 19.1334 0.658832 19.634 1.69531L31.4299 26.1309C32.0708 27.4588 31.1036 28.9999 29.6291 29H2.00215C0.527541 29 -0.439628 27.4588 0.201371 26.1309L11.9973 1.69531C12.4979 0.658823 13.5474 7.75066e-05 14.6984 0H16.9328ZM3.59493 26H28.0363L16.9328 3H14.6984L3.59493 26ZM15.8156 19C16.9202 19.0001 17.8156 19.8955 17.8156 21C17.8156 22.1045 16.9202 22.9999 15.8156 23C14.7111 23 13.8156 22.1046 13.8156 21C13.8156 19.8954 14.7111 19 15.8156 19ZM17.3156 16.5H14.3156V8.5H17.3156V16.5Z\" fill=\"var(--next-error-title)\"></path></svg><h1 style=\"font-size:24px;font-weight:500;letter-spacing:-0.02em;line-height:32px;margin:0 0 12px 0;color:var(--next-error-title)\">This page couldn’t load</h1><p style=\"font-size:14px;font-weight:400;line-height:21px;margin:0 0 20px 0;color:var(--next-error-message)\">A server error occurred. Reload to try again.</p><form style=\"margin:0\"><button type=\"submit\" style=\"display:inline-flex;align-items:center;justify-content:center;height:32px;padding:0 12px;font-size:14px;font-weight:500;line-height:20px;border-radius:6px;cursor:pointer;color:var(--next-error-btn-text);background:var(--next-error-btn-bg);border:var(--next-error-btn-border)\">Reload</button></form></div></div><!--$--><!--/$--><script src=\"/_next/static/chunks/002w8zenjl89m.js\" id=\"_R_\" async=\"\"></script><script>(self.__next_f=self.__next_f||[]).push([0])</script><script>self.__next_f.push([1,\"1:\\\"$Sreact.fragment\\\"\\n2:I[790577,[\\\"/_next/static/chunks/11to4eul..x_r.js\\\",\\\"/_next/static/chunks/0i03b5ztjvdxj.js\\\"],\\\"default\\\"]\\n3:I[355427,[\\\"/_next/static/chunks/11to4eul..x_r.js\\\",\\\"/_next/static/chunks/0i03b5ztjvdxj.js\\\"],\\\"default\\\"]\\n4:I[429253,[\\\"/_next/static/chunks/11to4eul..x_r.js\\\",\\\"/_next/static/chunks/0i03b5ztjvdxj.js\\\"],\\\"OutletBoundary\\\"]\\n5:\\\"$Sreact.suspense\\\"\\n8:I[429253,[\\\"/_next/static/chunks/11to4eul..x_r.js\\\",\\\"/_next/static/chunks/0i03b5ztjvdxj.js\\\"],\\\"ViewportBoundary\\\"]\\na:I[429253,[\\\"/_next/static/chunks/11to4eul..x_r.js\\\",\\\"/_next/static/chunks/0i03b5ztjvdxj.js\\\"],\\\"MetadataBoundary\\\"]\\nc:I[613133,[\\\"/_next/static/chunks/11to4eul..x_r.js\\\",\\\"/_next/static/chunks/0i03b5ztjvdxj.js\\\"],\\\"default\\\",1]\\n\"])</script><script>self.__next_f.push([1,\"0:{\\\"P\\\":null,\\\"c\\\":[\\\"\\\",\\\"_global-error\\\"],\\\"q\\\":\\\"\\\",\\\"i\\\":false,\\\"f\\\":[[[\\\"\\\",{\\\"children\\\":[\\\"__PAGE__\\\",{}]}],[[\\\"$\\\",\\\"$1\\\",\\\"c\\\",{\\\"children\\\":[null,[\\\"$\\\",\\\"$L2\\\",null,{\\\"parallelRouterKey\\\":\\\"children\\\",\\\"error\\\":\\\"$undefined\\\",\\\"errorStyles\\\":\\\"$undefined\\\",\\\"errorScripts\\\":\\\"$undefined\\\",\\\"template\\\":[\\\"$\\\",\\\"$L3\\\",null,{}],\\\"templateStyles\\\":\\\"$undefined\\\",\\\"templateScripts\\\":\\\"$undefined\\\",\\\"notFound\\\":\\\"$undefined\\\",\\\"forbidden\\\":\\\"$undefined\\\",\\\"unauthorized\\\":\\\"$undefined\\\"}]]}],{\\\"children\\\":[[\\\"$\\\",\\\"$1\\\",\\\"c\\\",{\\\"children\\\":[[\\\"$\\\",\\\"html\\\",null,{\\\"id\\\":\\\"__next_error__\\\",\\\"children\\\":[[\\\"$\\\",\\\"head\\\",null,{\\\"children\\\":[[\\\"$\\\",\\\"title\\\",null,{\\\"children\\\":\\\"500: This page couldn’t load\\\"}],[\\\"$\\\",\\\"style\\\",null,{\\\"dangerouslySetInnerHTML\\\":{\\\"__html\\\":\\\":root {--next-error-bg: #fff;--next-error-text: #171717;--next-error-title: #171717;--next-error-message: #171717;--next-error-digest: #666666;--next-error-btn-text: #fff;--next-error-btn-bg: #171717;--next-error-btn-border: none;--next-error-btn-secondary-text: #171717;--next-error-btn-secondary-bg: transparent;--next-error-btn-secondary-border: 1px solid rgba(0,0,0,0.08);}@media (prefers-color-scheme: dark) {:root {--next-error-bg: #0a0a0a;--next-error-text: #ededed;--next-error-title: #ededed;--next-error-message: #ededed;--next-error-digest: #a0a0a0;--next-error-btn-text: #0a0a0a;--next-error-btn-bg: #ededed;--next-error-btn-border: none;--next-error-btn-secondary-text: #ededed;--next-error-btn-secondary-bg: transparent;--next-error-btn-secondary-border: 1px solid rgba(255,255,255,0.14);}}body { margin: 0; color: var(--next-error-text); background: var(--next-error-bg); }\\\"}}]]}],[\\\"$\\\",\\\"body\\\",null,{\\\"children\\\":[\\\"$\\\",\\\"div\\\",null,{\\\"style\\\":{\\\"fontFamily\\\":\\\"system-ui,\\\\\\\"Segoe UI\\\\\\\",Roboto,Helvetica,Arial,sans-serif,\\\\\\\"Apple Color Emoji\\\\\\\",\\\\\\\"Segoe UI Emoji\\\\\\\"\\\",\\\"height\\\":\\\"100vh\\\",\\\"display\\\":\\\"flex\\\",\\\"alignItems\\\":\\\"center\\\",\\\"justifyContent\\\":\\\"center\\\"},\\\"children\\\":[\\\"$\\\",\\\"div\\\",null,{\\\"style\\\":{\\\"marginTop\\\":\\\"-32px\\\",\\\"maxWidth\\\":\\\"325px\\\",\\\"padding\\\":\\\"32px 28px\\\",\\\"textAlign\\\":\\\"left\\\"},\\\"children\\\":[[\\\"$\\\",\\\"svg\\\",null,{\\\"width\\\":\\\"32\\\",\\\"height\\\":\\\"32\\\",\\\"viewBox\\\":\\\"-0.2 -1.5 32 32\\\",\\\"fill\\\":\\\"none\\\",\\\"style\\\":{\\\"marginBottom\\\":\\\"24px\\\"},\\\"children\\\":[\\\"$\\\",\\\"path\\\",null,{\\\"d\\\":\\\"M16.9328 0C18.0839 0.000116771 19.1334 0.658832 19.634 1.69531L31.4299 26.1309C32.0708 27.4588 31.1036 28.9999 29.6291 29H2.00215C0.527541 29 -0.439628 27.4588 0.201371 26.1309L11.9973 1.69531C12.4979 0.658823 13.5474 7.75066e-05 14.6984 0H16.9328ZM3.59493 26H28.0363L16.9328 3H14.6984L3.59493 26ZM15.8156 19C16.9202 19.0001 17.8156 19.8955 17.8156 21C17.8156 22.1045 16.9202 22.9999 15.8156 23C14.7111 23 13.8156 22.1046 13.8156 21C13.8156 19.8954 14.7111 19 15.8156 19ZM17.3156 16.5H14.3156V8.5H17.3156V16.5Z\\\",\\\"fill\\\":\\\"var(--next-error-title)\\\"}]}],[\\\"$\\\",\\\"h1\\\",null,{\\\"style\\\":{\\\"fontSize\\\":\\\"24px\\\",\\\"fontWeight\\\":500,\\\"letterSpacing\\\":\\\"-0.02em\\\",\\\"lineHeight\\\":\\\"32px\\\",\\\"margin\\\":\\\"0 0 12px 0\\\",\\\"color\\\":\\\"var(--next-error-title)\\\"},\\\"children\\\":\\\"This page couldn’t load\\\"}],[\\\"$\\\",\\\"p\\\",null,{\\\"style\\\":{\\\"fontSize\\\":\\\"14px\\\",\\\"fontWeight\\\":400,\\\"lineHeight\\\":\\\"21px\\\",\\\"margin\\\":\\\"0 0 20px 0\\\",\\\"color\\\":\\\"var(--next-error-message)\\\"},\\\"children\\\":\\\"A server error occurred. Reload to try again.\\\"}],[\\\"$\\\",\\\"form\\\",null,{\\\"style\\\":{\\\"margin\\\":0},\\\"children\\\":[\\\"$\\\",\\\"button\\\",null,{\\\"type\\\":\\\"submit\\\",\\\"style\\\":{\\\"display\\\":\\\"inline-flex\\\",\\\"alignItems\\\":\\\"center\\\",\\\"justifyContent\\\":\\\"center\\\",\\\"height\\\":\\\"32px\\\",\\\"padding\\\":\\\"0 12px\\\",\\\"fontSize\\\":\\\"14px\\\",\\\"fontWeight\\\":500,\\\"lineHeight\\\":\\\"20px\\\",\\\"borderRadius\\\":\\\"6px\\\",\\\"cursor\\\":\\\"pointer\\\",\\\"color\\\":\\\"var(--next-error-btn-text)\\\",\\\"background\\\":\\\"var(--next-error-btn-bg)\\\",\\\"border\\\":\\\"var(--next-error-btn-border)\\\"},\\\"children\\\":\\\"Reload\\\"}]}]]}]}]}]]}],null,[\\\"$\\\",\\\"$L4\\\",null,{\\\"children\\\":[\\\"$\\\",\\\"$5\\\",null,{\\\"name\\\":\\\"Next.MetadataOutlet\\\",\\\"children\\\":\\\"$@6\\\"}]}]]}],{},null,false,null]},null,false,\\\"$@7\\\"],[\\\"$\\\",\\\"$1\\\",\\\"h\\\",{\\\"children\\\":[null,[\\\"$\\\",\\\"$L8\\\",null,{\\\"children\\\":\\\"$L9\\\"}],[\\\"$\\\",\\\"div\\\",null,{\\\"hidden\\\":true,\\\"children\\\":[\\\"$\\\",\\\"$La\\\",null,{\\\"children\\\":[\\\"$\\\",\\\"$5\\\",null,{\\\"name\\\":\\\"Next.Metadata\\\",\\\"children\\\":\\\"$Lb\\\"}]}]}],[\\\"$\\\",\\\"meta\\\",null,{\\\"name\\\":\\\"next-size-adjust\\\",\\\"content\\\":\\\"\\\"}]]}],false]],\\\"m\\\":\\\"$undefined\\\",\\\"G\\\":[\\\"$c\\\",[]],\\\"S\\\":true,\\\"h\\\":null,\\\"s\\\":\\\"$undefined\\\",\\\"l\\\":\\\"$undefined\\\",\\\"p\\\":\\\"$undefined\\\",\\\"d\\\":\\\"$undefined\\\",\\\"b\\\":\\\"Q17i96kBFcw4laPueb4qe\\\"}\\n\"])</script><script>self.__next_f.push([1,\"d:[]\\n7:\\\"$Wd\\\"\\n\"])</script><script>self.__next_f.push([1,\"9:[[\\\"$\\\",\\\"meta\\\",\\\"0\\\",{\\\"charSet\\\":\\\"utf-8\\\"}],[\\\"$\\\",\\\"meta\\\",\\\"1\\\",{\\\"name\\\":\\\"viewport\\\",\\\"content\\\":\\\"width=device-width, initial-scale=1\\\"}]]\\n\"])</script><script>self.__next_f.push([1,\"6:null\\nb:[]\\n\"])</script></body></html>","rsc":"1:\"$Sreact.fragment\"\n2:I[790577,[\"/_next/static/chunks/11to4eul..x_r.js\",\"/_next/static/chunks/0i03b5ztjvdxj.js\"],\"default\"]\n3:I[355427,[\"/_next/static/chunks/11to4eul..x_r.js\",\"/_next/static/chunks/0i03b5ztjvdxj.js\"],\"default\"]\n4:I[429253,[\"/_next/static/chunks/11to4eul..x_r.js\",\"/_next/static/chunks/0i03b5ztjvdxj.js\"],\"OutletBoundary\"]\n5:\"$Sreact.suspense\"\n8:I[429253,[\"/_next/static/chunks/11to4eul..x_r.js\",\"/_next/static/chunks/0i03b5ztjvdxj.js\"],\"ViewportBoundary\"]\na:I[429253,[\"/_next/static/chunks/11to4eul..x_r.js\",\"/_next/static/chunks/0i03b5ztjvdxj.js\"],\"MetadataBoundary\"]\nc:I[613133,[\"/_next/static/chunks/11to4eul..x_r.js\",\"/_next/static/chunks/0i03b5ztjvdxj.js\"],\"default\",1]\n0:{\"P\":null,\"c\":[\"\",\"_global-error\"],\"q\":\"\",\"i\":false,\"f\":[[[\"\",{\"children\":[\"__PAGE__\",{}]}],[[\"$\",\"$1\",\"c\",{\"children\":[null,[\"$\",\"$L2\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L3\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]}],{\"children\":[[\"$\",\"$1\",\"c\",{\"children\":[[\"$\",\"html\",null,{\"id\":\"__next_error__\",\"children\":[[\"$\",\"head\",null,{\"children\":[[\"$\",\"title\",null,{\"children\":\"500: This page couldn’t load\"}],[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\":root {--next-error-bg: #fff;--next-error-text: #171717;--next-error-title: #171717;--next-error-message: #171717;--next-error-digest: #666666;--next-error-btn-text: #fff;--next-error-btn-bg: #171717;--next-error-btn-border: none;--next-error-btn-secondary-text: #171717;--next-error-btn-secondary-bg: transparent;--next-error-btn-secondary-border: 1px solid rgba(0,0,0,0.08);}@media (prefers-color-scheme: dark) {:root {--next-error-bg: #0a0a0a;--next-error-text: #ededed;--next-error-title: #ededed;--next-error-message: #ededed;--next-error-digest: #a0a0a0;--next-error-btn-text: #0a0a0a;--next-error-btn-bg: #ededed;--next-error-btn-border: none;--next-error-btn-secondary-text: #ededed;--next-error-btn-secondary-bg: transparent;--next-error-btn-secondary-border: 1px solid rgba(255,255,255,0.14);}}body { margin: 0; color: var(--next-error-text); background: var(--next-error-bg); }\"}}]]}],[\"$\",\"body\",null,{\"children\":[\"$\",\"div\",null,{\"style\":{\"fontFamily\":\"system-ui,\\\"Segoe UI\\\",Roboto,Helvetica,Arial,sans-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"display\":\"flex\",\"alignItems\":\"center\",\"justifyContent\":\"center\"},\"children\":[\"$\",\"div\",null,{\"style\":{\"marginTop\":\"-32px\",\"maxWidth\":\"325px\",\"padding\":\"32px 28px\",\"textAlign\":\"left\"},\"children\":[[\"$\",\"svg\",null,{\"width\":\"32\",\"height\":\"32\",\"viewBox\":\"-0.2 -1.5 32 32\",\"fill\":\"none\",\"style\":{\"marginBottom\":\"24px\"},\"children\":[\"$\",\"path\",null,{\"d\":\"M16.9328 0C18.0839 0.000116771 19.1334 0.658832 19.634 1.69531L31.4299 26.1309C32.0708 27.4588 31.1036 28.9999 29.6291 29H2.00215C0.527541 29 -0.439628 27.4588 0.201371 26.1309L11.9973 1.69531C12.4979 0.658823 13.5474 7.75066e-05 14.6984 0H16.9328ZM3.59493 26H28.0363L16.9328 3H14.6984L3.59493 26ZM15.8156 19C16.9202 19.0001 17.8156 19.8955 17.8156 21C17.8156 22.1045 16.9202 22.9999 15.8156 23C14.7111 23 13.8156 22.1046 13.8156 21C13.8156 19.8954 14.7111 19 15.8156 19ZM17.3156 16.5H14.3156V8.5H17.3156V16.5Z\",\"fill\":\"var(--next-error-title)\"}]}],[\"$\",\"h1\",null,{\"style\":{\"fontSize\":\"24px\",\"fontWeight\":500,\"letterSpacing\":\"-0.02em\",\"lineHeight\":\"32px\",\"margin\":\"0 0 12px 0\",\"color\":\"var(--next-error-title)\"},\"children\":\"This page couldn’t load\"}],[\"$\",\"p\",null,{\"style\":{\"fontSize\":\"14px\",\"fontWeight\":400,\"lineHeight\":\"21px\",\"margin\":\"0 0 20px 0\",\"color\":\"var(--next-error-message)\"},\"children\":\"A server error occurred. Reload to try again.\"}],[\"$\",\"form\",null,{\"style\":{\"margin\":0},\"children\":[\"$\",\"button\",null,{\"type\":\"submit\",\"style\":{\"display\":\"inline-flex\",\"alignItems\":\"center\",\"justifyContent\":\"center\",\"height\":\"32px\",\"padding\":\"0 12px\",\"fontSize\":\"14px\",\"fontWeight\":500,\"lineHeight\":\"20px\",\"borderRadius\":\"6px\",\"cursor\":\"pointer\",\"color\":\"var(--next-error-btn-text)\",\"background\":\"var(--next-error-btn-bg)\",\"border\":\"var(--next-error-btn-border)\"},\"children\":\"Reload\"}]}]]}]}]}]]}],null,[\"$\",\"$L4\",null,{\"children\":[\"$\",\"$5\",null,{\"name\":\"Next.MetadataOutlet\",\"children\":\"$@6\"}]}]]}],{},null,false,null]},null,false,\"$@7\"],[\"$\",\"$1\",\"h\",{\"children\":[null,[\"$\",\"$L8\",null,{\"children\":\"$L9\"}],[\"$\",\"div\",null,{\"hidden\":true,\"children\":[\"$\",\"$La\",null,{\"children\":[\"$\",\"$5\",null,{\"name\":\"Next.Metadata\",\"children\":\"$Lb\"}]}]}],[\"$\",\"meta\",null,{\"name\":\"next-size-adjust\",\"content\":\"\"}]]}],false]],\"m\":\"$undefined\",\"G\":[\"$c\",[]],\"S\":true,\"h\":null,\"s\":\"$undefined\",\"l\":\"$undefined\",\"p\":\"$undefined\",\"d\":\"$undefined\",\"b\":\"Q17i96kBFcw4laPueb4qe\"}\nd:[]\n7:\"$Wd\"\n9:[[\"$\",\"meta\",\"0\",{\"charSet\":\"utf-8\"}],[\"$\",\"meta\",\"1\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}]]\n6:null\nb:[]\n","segmentData":{"/_tree":"0:{\"tree\":{\"name\":\"\",\"param\":null,\"prefetchHints\":0,\"slots\":{\"children\":{\"name\":\"__PAGE__\",\"param\":null,\"prefetchHints\":0,\"slots\":null}}},\"staleTime\":300,\"buildId\":\"Q17i96kBFcw4laPueb4qe\"}\n","/_full":"1:\"$Sreact.fragment\"\n2:I[790577,[\"/_next/static/chunks/11to4eul..x_r.js\",\"/_next/static/chunks/0i03b5ztjvdxj.js\"],\"default\"]\n3:I[355427,[\"/_next/static/chunks/11to4eul..x_r.js\",\"/_next/static/chunks/0i03b5ztjvdxj.js\"],\"default\"]\n4:I[429253,[\"/_next/static/chunks/11to4eul..x_r.js\",\"/_next/static/chunks/0i03b5ztjvdxj.js\"],\"OutletBoundary\"]\n5:\"$Sreact.suspense\"\n8:I[429253,[\"/_next/static/chunks/11to4eul..x_r.js\",\"/_next/static/chunks/0i03b5ztjvdxj.js\"],\"ViewportBoundary\"]\na:I[429253,[\"/_next/static/chunks/11to4eul..x_r.js\",\"/_next/static/chunks/0i03b5ztjvdxj.js\"],\"MetadataBoundary\"]\nc:I[613133,[\"/_next/static/chunks/11to4eul..x_r.js\",\"/_next/static/chunks/0i03b5ztjvdxj.js\"],\"default\",1]\n0:{\"P\":null,\"c\":[\"\",\"_global-error\"],\"q\":\"\",\"i\":false,\"f\":[[[\"\",{\"children\":[\"__PAGE__\",{}]}],[[\"$\",\"$1\",\"c\",{\"children\":[null,[\"$\",\"$L2\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L3\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]}],{\"children\":[[\"$\",\"$1\",\"c\",{\"children\":[[\"$\",\"html\",null,{\"id\":\"__next_error__\",\"children\":[[\"$\",\"head\",null,{\"children\":[[\"$\",\"title\",null,{\"children\":\"500: This page couldn’t load\"}],[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\":root {--next-error-bg: #fff;--next-error-text: #171717;--next-error-title: #171717;--next-error-message: #171717;--next-error-digest: #666666;--next-error-btn-text: #fff;--next-error-btn-bg: #171717;--next-error-btn-border: none;--next-error-btn-secondary-text: #171717;--next-error-btn-secondary-bg: transparent;--next-error-btn-secondary-border: 1px solid rgba(0,0,0,0.08);}@media (prefers-color-scheme: dark) {:root {--next-error-bg: #0a0a0a;--next-error-text: #ededed;--next-error-title: #ededed;--next-error-message: #ededed;--next-error-digest: #a0a0a0;--next-error-btn-text: #0a0a0a;--next-error-btn-bg: #ededed;--next-error-btn-border: none;--next-error-btn-secondary-text: #ededed;--next-error-btn-secondary-bg: transparent;--next-error-btn-secondary-border: 1px solid rgba(255,255,255,0.14);}}body { margin: 0; color: var(--next-error-text); background: var(--next-error-bg); }\"}}]]}],[\"$\",\"body\",null,{\"children\":[\"$\",\"div\",null,{\"style\":{\"fontFamily\":\"system-ui,\\\"Segoe UI\\\",Roboto,Helvetica,Arial,sans-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"display\":\"flex\",\"alignItems\":\"center\",\"justifyContent\":\"center\"},\"children\":[\"$\",\"div\",null,{\"style\":{\"marginTop\":\"-32px\",\"maxWidth\":\"325px\",\"padding\":\"32px 28px\",\"textAlign\":\"left\"},\"children\":[[\"$\",\"svg\",null,{\"width\":\"32\",\"height\":\"32\",\"viewBox\":\"-0.2 -1.5 32 32\",\"fill\":\"none\",\"style\":{\"marginBottom\":\"24px\"},\"children\":[\"$\",\"path\",null,{\"d\":\"M16.9328 0C18.0839 0.000116771 19.1334 0.658832 19.634 1.69531L31.4299 26.1309C32.0708 27.4588 31.1036 28.9999 29.6291 29H2.00215C0.527541 29 -0.439628 27.4588 0.201371 26.1309L11.9973 1.69531C12.4979 0.658823 13.5474 7.75066e-05 14.6984 0H16.9328ZM3.59493 26H28.0363L16.9328 3H14.6984L3.59493 26ZM15.8156 19C16.9202 19.0001 17.8156 19.8955 17.8156 21C17.8156 22.1045 16.9202 22.9999 15.8156 23C14.7111 23 13.8156 22.1046 13.8156 21C13.8156 19.8954 14.7111 19 15.8156 19ZM17.3156 16.5H14.3156V8.5H17.3156V16.5Z\",\"fill\":\"var(--next-error-title)\"}]}],[\"$\",\"h1\",null,{\"style\":{\"fontSize\":\"24px\",\"fontWeight\":500,\"letterSpacing\":\"-0.02em\",\"lineHeight\":\"32px\",\"margin\":\"0 0 12px 0\",\"color\":\"var(--next-error-title)\"},\"children\":\"This page couldn’t load\"}],[\"$\",\"p\",null,{\"style\":{\"fontSize\":\"14px\",\"fontWeight\":400,\"lineHeight\":\"21px\",\"margin\":\"0 0 20px 0\",\"color\":\"var(--next-error-message)\"},\"children\":\"A server error occurred. Reload to try again.\"}],[\"$\",\"form\",null,{\"style\":{\"margin\":0},\"children\":[\"$\",\"button\",null,{\"type\":\"submit\",\"style\":{\"display\":\"inline-flex\",\"alignItems\":\"center\",\"justifyContent\":\"center\",\"height\":\"32px\",\"padding\":\"0 12px\",\"fontSize\":\"14px\",\"fontWeight\":500,\"lineHeight\":\"20px\",\"borderRadius\":\"6px\",\"cursor\":\"pointer\",\"color\":\"var(--next-error-btn-text)\",\"background\":\"var(--next-error-btn-bg)\",\"border\":\"var(--next-error-btn-border)\"},\"children\":\"Reload\"}]}]]}]}]}]]}],null,[\"$\",\"$L4\",null,{\"children\":[\"$\",\"$5\",null,{\"name\":\"Next.MetadataOutlet\",\"children\":\"$@6\"}]}]]}],{},null,false,null]},null,false,\"$@7\"],[\"$\",\"$1\",\"h\",{\"children\":[null,[\"$\",\"$L8\",null,{\"children\":\"$L9\"}],[\"$\",\"div\",null,{\"hidden\":true,\"children\":[\"$\",\"$La\",null,{\"children\":[\"$\",\"$5\",null,{\"name\":\"Next.Metadata\",\"children\":\"$Lb\"}]}]}],[\"$\",\"meta\",null,{\"name\":\"next-size-adjust\",\"content\":\"\"}]]}],false]],\"m\":\"$undefined\",\"G\":[\"$c\",[]],\"S\":true,\"h\":null,\"s\":\"$undefined\",\"l\":\"$undefined\",\"p\":\"$undefined\",\"d\":\"$undefined\",\"b\":\"Q17i96kBFcw4laPueb4qe\"}\nd:[]\n7:\"$Wd\"\n9:[[\"$\",\"meta\",\"0\",{\"charSet\":\"utf-8\"}],[\"$\",\"meta\",\"1\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}]]\n6:null\nb:[]\n","/__PAGE__":"1:\"$Sreact.fragment\"\n2:I[429253,[\"/_next/static/chunks/11to4eul..x_r.js\",\"/_next/static/chunks/0i03b5ztjvdxj.js\"],\"OutletBoundary\"]\n3:\"$Sreact.suspense\"\n0:{\"rsc\":[\"$\",\"$1\",\"c\",{\"children\":[[\"$\",\"html\",null,{\"id\":\"__next_error__\",\"children\":[[\"$\",\"head\",null,{\"children\":[[\"$\",\"title\",null,{\"children\":\"500: This page couldn’t load\"}],[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\":root {--next-error-bg: #fff;--next-error-text: #171717;--next-error-title: #171717;--next-error-message: #171717;--next-error-digest: #666666;--next-error-btn-text: #fff;--next-error-btn-bg: #171717;--next-error-btn-border: none;--next-error-btn-secondary-text: #171717;--next-error-btn-secondary-bg: transparent;--next-error-btn-secondary-border: 1px solid rgba(0,0,0,0.08);}@media (prefers-color-scheme: dark) {:root {--next-error-bg: #0a0a0a;--next-error-text: #ededed;--next-error-title: #ededed;--next-error-message: #ededed;--next-error-digest: #a0a0a0;--next-error-btn-text: #0a0a0a;--next-error-btn-bg: #ededed;--next-error-btn-border: none;--next-error-btn-secondary-text: #ededed;--next-error-btn-secondary-bg: transparent;--next-error-btn-secondary-border: 1px solid rgba(255,255,255,0.14);}}body { margin: 0; color: var(--next-error-text); background: var(--next-error-bg); }\"}}]]}],[\"$\",\"body\",null,{\"children\":[\"$\",\"div\",null,{\"style\":{\"fontFamily\":\"system-ui,\\\"Segoe UI\\\",Roboto,Helvetica,Arial,sans-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"display\":\"flex\",\"alignItems\":\"center\",\"justifyContent\":\"center\"},\"children\":[\"$\",\"div\",null,{\"style\":{\"marginTop\":\"-32px\",\"maxWidth\":\"325px\",\"padding\":\"32px 28px\",\"textAlign\":\"left\"},\"children\":[[\"$\",\"svg\",null,{\"width\":\"32\",\"height\":\"32\",\"viewBox\":\"-0.2 -1.5 32 32\",\"fill\":\"none\",\"style\":{\"marginBottom\":\"24px\"},\"children\":[\"$\",\"path\",null,{\"d\":\"M16.9328 0C18.0839 0.000116771 19.1334 0.658832 19.634 1.69531L31.4299 26.1309C32.0708 27.4588 31.1036 28.9999 29.6291 29H2.00215C0.527541 29 -0.439628 27.4588 0.201371 26.1309L11.9973 1.69531C12.4979 0.658823 13.5474 7.75066e-05 14.6984 0H16.9328ZM3.59493 26H28.0363L16.9328 3H14.6984L3.59493 26ZM15.8156 19C16.9202 19.0001 17.8156 19.8955 17.8156 21C17.8156 22.1045 16.9202 22.9999 15.8156 23C14.7111 23 13.8156 22.1046 13.8156 21C13.8156 19.8954 14.7111 19 15.8156 19ZM17.3156 16.5H14.3156V8.5H17.3156V16.5Z\",\"fill\":\"var(--next-error-title)\"}]}],[\"$\",\"h1\",null,{\"style\":{\"fontSize\":\"24px\",\"fontWeight\":500,\"letterSpacing\":\"-0.02em\",\"lineHeight\":\"32px\",\"margin\":\"0 0 12px 0\",\"color\":\"var(--next-error-title)\"},\"children\":\"This page couldn’t load\"}],[\"$\",\"p\",null,{\"style\":{\"fontSize\":\"14px\",\"fontWeight\":400,\"lineHeight\":\"21px\",\"margin\":\"0 0 20px 0\",\"color\":\"var(--next-error-message)\"},\"children\":\"A server error occurred. Reload to try again.\"}],[\"$\",\"form\",null,{\"style\":{\"margin\":0},\"children\":[\"$\",\"button\",null,{\"type\":\"submit\",\"style\":{\"display\":\"inline-flex\",\"alignItems\":\"center\",\"justifyContent\":\"center\",\"height\":\"32px\",\"padding\":\"0 12px\",\"fontSize\":\"14px\",\"fontWeight\":500,\"lineHeight\":\"20px\",\"borderRadius\":\"6px\",\"cursor\":\"pointer\",\"color\":\"var(--next-error-btn-text)\",\"background\":\"var(--next-error-btn-bg)\",\"border\":\"var(--next-error-btn-border)\"},\"children\":\"Reload\"}]}]]}]}]}]]}],null,[\"$\",\"$L2\",null,{\"children\":[\"$\",\"$3\",null,{\"name\":\"Next.MetadataOutlet\",\"children\":\"$@4\"}]}]]}],\"isPartial\":false,\"staleTime\":300,\"varyParams\":null,\"buildId\":\"Q17i96kBFcw4laPueb4qe\"}\n4:null\n","/_index":"1:\"$Sreact.fragment\"\n2:I[790577,[\"/_next/static/chunks/11to4eul..x_r.js\",\"/_next/static/chunks/0i03b5ztjvdxj.js\"],\"default\"]\n3:I[355427,[\"/_next/static/chunks/11to4eul..x_r.js\",\"/_next/static/chunks/0i03b5ztjvdxj.js\"],\"default\"]\n4:[]\n0:{\"rsc\":[\"$\",\"$1\",\"c\",{\"children\":[null,[\"$\",\"$L2\",null,{\"parallelRouterKey\":\"children\",\"template\":[\"$\",\"$L3\",null,{}]}]]}],\"isPartial\":false,\"staleTime\":300,\"varyParams\":\"$W4\",\"buildId\":\"Q17i96kBFcw4laPueb4qe\"}\n","/_head":"1:\"$Sreact.fragment\"\n2:I[429253,[\"/_next/static/chunks/11to4eul..x_r.js\",\"/_next/static/chunks/0i03b5ztjvdxj.js\"],\"ViewportBoundary\"]\n3:I[429253,[\"/_next/static/chunks/11to4eul..x_r.js\",\"/_next/static/chunks/0i03b5ztjvdxj.js\"],\"MetadataBoundary\"]\n4:\"$Sreact.suspense\"\n0:{\"rsc\":[\"$\",\"$1\",\"h\",{\"children\":[null,[\"$\",\"$L2\",null,{\"children\":[[\"$\",\"meta\",\"0\",{\"charSet\":\"utf-8\"}],[\"$\",\"meta\",\"1\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}]]}],[\"$\",\"div\",null,{\"hidden\":true,\"children\":[\"$\",\"$L3\",null,{\"children\":[\"$\",\"$4\",null,{\"name\":\"Next.Metadata\",\"children\":[]}]}]}],[\"$\",\"meta\",null,{\"name\":\"next-size-adjust\",\"content\":\"\"}]]}],\"isPartial\":false,\"staleTime\":300,\"varyParams\":null,\"buildId\":\"Q17i96kBFcw4laPueb4qe\"}\n"}}
|