thursday-agent 0.28.0 → 0.30.0
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/.next/BUILD_ID +1 -1
- package/.next/app-path-routes-manifest.json +1 -0
- package/.next/build-manifest.json +3 -3
- package/.next/prerender-manifest.json +3 -3
- package/.next/routes-manifest.json +6 -0
- package/.next/server/app/_global-error/page.js.nft.json +1 -1
- package/.next/server/app/_global-error.html +1 -1
- package/.next/server/app/_global-error.rsc +1 -1
- package/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +1 -1
- package/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
- package/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
- package/.next/server/app/_not-found/page.js.nft.json +1 -1
- package/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
- package/.next/server/app/_not-found.html +1 -1
- package/.next/server/app/_not-found.rsc +3 -3
- package/.next/server/app/_not-found.segments/_full.segment.rsc +3 -3
- package/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +3 -3
- package/.next/server/app/_not-found.segments/_tree.segment.rsc +3 -3
- package/.next/server/app/api/artifact/route.js +13 -14
- package/.next/server/app/api/artifact/route.js.nft.json +1 -1
- package/.next/server/app/api/bot/memory/files/route.js +11 -6
- package/.next/server/app/api/bot/memory/files/route.js.nft.json +1 -1
- package/.next/server/app/api/bot/memory/route.js +11 -11
- package/.next/server/app/api/bot/memory/route.js.nft.json +1 -1
- package/.next/server/app/api/bot/route.js +11 -11
- package/.next/server/app/api/bot/route.js.nft.json +1 -1
- package/.next/server/app/api/bot/thread/file/route.js +19 -19
- package/.next/server/app/api/bot/thread/file/route.js.nft.json +1 -1
- package/.next/server/app/api/bot/thread/lessons/route/app-paths-manifest.json +3 -0
- package/.next/server/app/api/bot/thread/lessons/route/build-manifest.json +12 -0
- package/.next/server/app/api/bot/thread/lessons/route/server-reference-manifest.json +4 -0
- package/.next/server/app/api/bot/thread/lessons/route.js +18 -0
- package/.next/server/app/api/bot/thread/lessons/route.js.map +5 -0
- package/.next/server/app/api/bot/thread/lessons/route.js.nft.json +1 -0
- package/.next/server/app/api/bot/thread/lessons/route_client-reference-manifest.js +3 -0
- package/.next/server/app/api/bot/thread/route.js +8 -9
- package/.next/server/app/api/bot/thread/route.js.nft.json +1 -1
- package/.next/server/app/api/bot/tool-result/[id]/route.js +10 -11
- package/.next/server/app/api/bot/tool-result/[id]/route.js.nft.json +1 -1
- package/.next/server/app/api/config/route.js +6 -7
- package/.next/server/app/api/config/route.js.nft.json +1 -1
- package/.next/server/app/api/events/route.js +4 -4
- package/.next/server/app/api/events/route.js.nft.json +1 -1
- package/.next/server/app/api/favicon/[host]/route.js +3 -3
- package/.next/server/app/api/favicon/[host]/route.js.nft.json +1 -1
- package/.next/server/app/api/file/[...path]/route.js +11 -6
- package/.next/server/app/api/file/[...path]/route.js.nft.json +1 -1
- package/.next/server/app/api/llm-model/automatic/route.js +10 -11
- package/.next/server/app/api/llm-model/automatic/route.js.nft.json +1 -1
- package/.next/server/app/api/llm-model/catalog/[provider]/route.js +10 -11
- package/.next/server/app/api/llm-model/catalog/[provider]/route.js.nft.json +1 -1
- package/.next/server/app/api/llm-model/credits/[provider]/route.js +10 -11
- package/.next/server/app/api/llm-model/credits/[provider]/route.js.nft.json +1 -1
- package/.next/server/app/api/llm-model/route.js +8 -9
- package/.next/server/app/api/llm-model/route.js.nft.json +1 -1
- package/.next/server/app/api/llm-model/subscription/route.js +8 -9
- package/.next/server/app/api/llm-model/subscription/route.js.nft.json +1 -1
- package/.next/server/app/api/mcp/[name]/route.js +8 -9
- package/.next/server/app/api/mcp/[name]/route.js.nft.json +1 -1
- package/.next/server/app/api/mcp/oauth/callback/route.js +10 -11
- package/.next/server/app/api/mcp/oauth/callback/route.js.nft.json +1 -1
- package/.next/server/app/api/mcp/route.js +8 -9
- package/.next/server/app/api/mcp/route.js.nft.json +1 -1
- package/.next/server/app/api/mcp/tools/route.js +8 -9
- package/.next/server/app/api/mcp/tools/route.js.nft.json +1 -1
- package/.next/server/app/api/memory/edit/route.js +19 -19
- package/.next/server/app/api/memory/edit/route.js.nft.json +1 -1
- package/.next/server/app/api/memory/route.js +6 -7
- package/.next/server/app/api/memory/route.js.nft.json +1 -1
- package/.next/server/app/api/reach/route.js +20 -20
- package/.next/server/app/api/reach/route.js.nft.json +1 -1
- package/.next/server/app/api/routine/route.js +12 -12
- package/.next/server/app/api/routine/route.js.nft.json +1 -1
- package/.next/server/app/api/running/route.js +3 -3
- package/.next/server/app/api/running/route.js.nft.json +1 -1
- package/.next/server/app/api/signins/route.js +11 -7
- package/.next/server/app/api/signins/route.js.nft.json +1 -1
- package/.next/server/app/api/skills/[source]/[name]/route.js +14 -14
- package/.next/server/app/api/skills/[source]/[name]/route.js.nft.json +1 -1
- package/.next/server/app/api/skills/route.js +14 -14
- package/.next/server/app/api/skills/route.js.nft.json +1 -1
- package/.next/server/app/api/thursday/call/end/route.js +19 -19
- package/.next/server/app/api/thursday/call/end/route.js.nft.json +1 -1
- package/.next/server/app/api/thursday/call/plan/route.js +19 -19
- package/.next/server/app/api/thursday/call/plan/route.js.nft.json +1 -1
- package/.next/server/app/api/thursday/call/route.js +11 -12
- package/.next/server/app/api/thursday/call/route.js.nft.json +1 -1
- package/.next/server/app/api/thursday/settings/route.js +11 -12
- package/.next/server/app/api/thursday/settings/route.js.nft.json +1 -1
- package/.next/server/app/api/thursday/text/route.js +20 -20
- package/.next/server/app/api/thursday/text/route.js.nft.json +1 -1
- package/.next/server/app/api/thursday/tool-call/route.js +20 -20
- package/.next/server/app/api/thursday/tool-call/route.js.nft.json +1 -1
- package/.next/server/app/api/update/route.js +10 -11
- package/.next/server/app/api/update/route.js.nft.json +1 -1
- package/.next/server/app/api/workspace/files/route.js +13 -13
- package/.next/server/app/api/workspace/files/route.js.nft.json +1 -1
- package/.next/server/app/api/workspace/route.js +13 -13
- package/.next/server/app/api/workspace/route.js.nft.json +1 -1
- package/.next/server/app/artifact/[...path]/page/server-reference-manifest.json +11 -11
- package/.next/server/app/artifact/[...path]/page.js +11 -11
- package/.next/server/app/artifact/[...path]/page.js.nft.json +1 -1
- package/.next/server/app/artifact/[...path]/page_client-reference-manifest.js +1 -1
- package/.next/server/app/favicon.ico/route.js.nft.json +1 -1
- package/.next/server/app/manifest.webmanifest/route.js.nft.json +1 -1
- package/.next/server/app/page/server-reference-manifest.json +101 -68
- package/.next/server/app/page.js +10 -10
- package/.next/server/app/page.js.nft.json +1 -1
- package/.next/server/app/page_client-reference-manifest.js +1 -1
- package/.next/server/app-paths-manifest.json +1 -0
- package/.next/server/chunks/[root-of-the-server]__0-xeb9k._.js +3 -0
- package/.next/server/chunks/{[root-of-the-server]__0qkh140._.js → [root-of-the-server]__01lftiq._.js} +1 -1
- package/.next/server/chunks/[root-of-the-server]__022hmm4._.js +1 -1
- package/.next/server/chunks/{[root-of-the-server]__1im7w7z._.js → [root-of-the-server]__02td13j._.js} +1 -1
- package/.next/server/chunks/[root-of-the-server]__03bjojd._.js +2 -2
- package/.next/server/chunks/[root-of-the-server]__03jn6g5._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__05wauq3._.js +12 -0
- package/.next/server/chunks/[root-of-the-server]__06eoz24._.js +5 -0
- package/.next/server/chunks/{[root-of-the-server]__0sfx6id._.js → [root-of-the-server]__0_jtzqu._.js} +2 -2
- package/.next/server/chunks/[root-of-the-server]__0_k10q9._.js +3 -0
- package/.next/server/chunks/{[root-of-the-server]__1l4feoc._.js → [root-of-the-server]__0cmzvf7._.js} +1 -1
- package/.next/server/chunks/[root-of-the-server]__0cq8fp4._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__0cyki0f._.js +8 -0
- package/.next/server/chunks/[root-of-the-server]__0fvz6w5._.js +6 -0
- package/.next/server/chunks/[root-of-the-server]__0kj7-jk._.js +3 -0
- package/.next/server/chunks/{[root-of-the-server]__1p1ww2o._.js → [root-of-the-server]__0mq_mis._.js} +1 -1
- package/.next/server/chunks/[root-of-the-server]__0ncs9uu._.js +1 -1
- package/.next/server/chunks/{[root-of-the-server]__00dtf7h._.js → [root-of-the-server]__0o6p3jk._.js} +2 -2
- package/.next/server/chunks/[root-of-the-server]__0opzn4f._.js +3 -0
- package/.next/server/chunks/{[root-of-the-server]__0ags3y9._.js → [root-of-the-server]__0puaol7._.js} +2 -2
- package/.next/server/chunks/[root-of-the-server]__0qhf60h._.js +1 -1
- package/.next/server/chunks/{[root-of-the-server]__0ah_uba._.js → [root-of-the-server]__0s6-921._.js} +1 -1
- package/.next/server/chunks/{[root-of-the-server]__0n4xgfd._.js → [root-of-the-server]__0sg3_9d._.js} +2 -2
- package/.next/server/chunks/[root-of-the-server]__0t9e405._.js +3 -0
- package/.next/server/chunks/{[root-of-the-server]__20zucml._.js → [root-of-the-server]__0ubu0sh._.js} +1 -1
- package/.next/server/chunks/[root-of-the-server]__0ucigrb._.js +3 -0
- package/.next/server/chunks/{[root-of-the-server]__0_qe8iq._.js → [root-of-the-server]__0wnd1ac._.js} +2 -2
- package/.next/server/chunks/[root-of-the-server]__1-ga0kh._.js +5 -0
- package/.next/server/chunks/[root-of-the-server]__10x2qg8._.js +5 -0
- package/.next/server/chunks/{[root-of-the-server]__0fo9gc5._.js → [root-of-the-server]__114bnf1._.js} +1 -1
- package/.next/server/chunks/[root-of-the-server]__1343ru3._.js +3 -0
- package/.next/server/chunks/{[root-of-the-server]__1g6_6it._.js → [root-of-the-server]__16682o8._.js} +1 -1
- package/.next/server/chunks/[root-of-the-server]__16bbvlw._.js +7 -0
- package/.next/server/chunks/{[root-of-the-server]__1ui547o._.js → [root-of-the-server]__16cwbuc._.js} +1 -1
- package/.next/server/chunks/{[root-of-the-server]__05fq824._.js → [root-of-the-server]__17luxss._.js} +2 -2
- package/.next/server/chunks/[root-of-the-server]__17ses32._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__1_04mcf._.js +1 -1
- package/.next/server/chunks/{[root-of-the-server]__1m9dh1w._.js → [root-of-the-server]__1ahc9c9._.js} +1 -1
- package/.next/server/chunks/[root-of-the-server]__1bewni6._.js +8 -0
- package/.next/server/chunks/{[root-of-the-server]__0lg1fok._.js → [root-of-the-server]__1bk734v._.js} +1 -1
- package/.next/server/chunks/{[root-of-the-server]__0atf1-_._.js → [root-of-the-server]__1btmuni._.js} +5 -5
- package/.next/server/chunks/[root-of-the-server]__1e2aiae._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__1fjmju_._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__1j-6f71._.js +3 -0
- package/.next/server/chunks/{[root-of-the-server]__0btxiu1._.js → [root-of-the-server]__1ltmy5k._.js} +2 -2
- package/.next/server/chunks/[root-of-the-server]__1mf425m._.js +8 -0
- package/.next/server/chunks/[root-of-the-server]__1ndi14y._.js +1 -1
- package/.next/server/chunks/[root-of-the-server]__1o7z93z._.js +1 -1
- package/.next/server/chunks/[root-of-the-server]__1orn-5b._.js +11 -0
- package/.next/server/chunks/[root-of-the-server]__1pho9cl._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__1q2jauq._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__1rs2v4h._.js +5 -0
- package/.next/server/chunks/{[root-of-the-server]__1ivv7te._.js → [root-of-the-server]__1rso8xj._.js} +2 -2
- package/.next/server/chunks/[root-of-the-server]__1xr0wxp._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__1yiazek._.js +3 -0
- package/.next/server/chunks/{[root-of-the-server]__0a2v56f._.js → [root-of-the-server]__20_po2e._.js} +2 -2
- package/.next/server/chunks/{[root-of-the-server]__0gmxpev._.js → [root-of-the-server]__20v-jxs._.js} +2 -2
- package/.next/server/chunks/[root-of-the-server]__212_w8j._.js +5 -0
- package/.next/server/chunks/_0-g8m2a._.js +72 -0
- package/.next/server/chunks/_0-qt5if._.js +1 -1
- package/.next/server/chunks/_00uhvhe._.js +12 -12
- package/.next/server/chunks/_02tecta._.js +5 -0
- package/.next/server/chunks/_04862qx._.js +3 -0
- package/.next/server/chunks/_05p90of._.js +3 -0
- package/.next/server/chunks/{_1_30lb4._.js → _06tj0ik._.js} +2 -2
- package/.next/server/chunks/_06u9yo-._.js +1 -1
- package/.next/server/chunks/_07mczew._.js +1 -1
- package/.next/server/chunks/_07pkeds._.js +2 -2
- package/.next/server/chunks/_08-mlqd._.js +1 -1
- package/.next/server/chunks/_08354bn._.js +12 -12
- package/.next/server/chunks/_08bp8w1._.js +3 -0
- package/.next/server/chunks/_0adsimt._.js +3 -0
- package/.next/server/chunks/_0bcx24d._.js +8 -0
- package/.next/server/chunks/{_0e8ks1n._.js → _0chqx-h._.js} +16 -12
- package/.next/server/chunks/_0d4f7pc._.js +5 -0
- package/.next/server/chunks/_0d9208_._.js +6 -0
- package/.next/server/chunks/{_0lip2ae._.js → _0ejet8x._.js} +16 -12
- package/.next/server/chunks/_0eowjm_._.js +72 -0
- package/.next/server/chunks/_0gxz_1b._.js +1 -1
- package/.next/server/chunks/_0iy3dus._.js +1 -1
- package/.next/server/chunks/_0jzv71c._.js +5 -0
- package/.next/server/chunks/{_0hin38_._.js → _0khihjk._.js} +6 -6
- package/.next/server/chunks/_0lrns0i._.js +3 -0
- package/.next/server/chunks/_0nbkv9k._.js +7 -0
- package/.next/server/chunks/_0p94gu0._.js +57 -0
- package/.next/server/chunks/_0pzqm_r._.js +3 -3
- package/.next/server/chunks/_0s515yz._.js +57 -0
- package/.next/server/chunks/_0supk_r._.js +5 -0
- package/.next/server/chunks/_0sxwm3y._.js +3 -0
- package/.next/server/chunks/_0tkzlv1._.js +11 -9
- package/.next/server/chunks/{_02o3ay7._.js → _0tzxrjg._.js} +2 -2
- package/.next/server/chunks/_0u0pa-b._.js +72 -0
- package/.next/server/chunks/_0umx0sn._.js +3 -0
- package/.next/server/chunks/_0vojr2u._.js +3 -0
- package/.next/server/chunks/_0wyh244._.js +12 -12
- package/.next/server/chunks/_0xlv72v._.js +57 -0
- package/.next/server/chunks/{_0a9x0xp._.js → _0y-5vzm._.js} +2 -2
- package/.next/server/chunks/{_0xt812m._.js → _0z06xn0._.js} +16 -12
- package/.next/server/chunks/_0zwjr-g._.js +1 -1
- package/.next/server/chunks/_1002x_9._.js +72 -0
- package/.next/server/chunks/{_0cdeabn._.js → _1299dpz._.js} +2 -2
- package/.next/server/chunks/_12htlm_._.js +9 -0
- package/.next/server/chunks/_13tat6z._.js +1 -1
- package/.next/server/chunks/_143moy6._.js +5 -0
- package/.next/server/chunks/_186uku9._.js +1 -1
- package/.next/server/chunks/_190pdee._.js +3 -0
- package/.next/server/chunks/_1951_6o._.js +3 -0
- package/.next/server/chunks/_19h6ag7._.js +3 -0
- package/.next/server/chunks/_1_0gehg._.js +11 -9
- package/.next/server/chunks/_1be0yao._.js +12 -12
- package/.next/server/chunks/_1dtm9bs._.js +1 -1
- package/.next/server/chunks/_1e1t6tm._.js +57 -0
- package/.next/server/chunks/_1e1yip3._.js +3 -0
- package/.next/server/chunks/{_0uet1h6._.js → _1e48czp._.js} +6 -6
- package/.next/server/chunks/_1fqa4ax._.js +72 -0
- package/.next/server/chunks/_1gb0_wm._.js +3 -0
- package/.next/server/chunks/_1i6626u._.js +3 -0
- package/.next/server/chunks/_1jca8ws._.js +3 -0
- package/.next/server/chunks/_1k6bmez._.js +1 -1
- package/.next/server/chunks/{_10qam6o._.js → _1kg70wc._.js} +6 -6
- package/.next/server/chunks/_1ko5shz._.js +1 -1
- package/.next/server/chunks/{_12a_gfz._.js → _1kqgeww._.js} +16 -12
- package/.next/server/chunks/_1kwmzab._.js +1 -1
- package/.next/server/chunks/_1l5qbki._.js +6 -0
- package/.next/server/chunks/_1mlsbwy._.js +3 -0
- package/.next/server/chunks/_1nej_f5._.js +72 -0
- package/.next/server/chunks/_1o15f0b._.js +3 -0
- package/.next/server/chunks/_1omiszv._.js +57 -0
- package/.next/server/chunks/_1otx63k._.js +3 -0
- package/.next/server/chunks/_1pwai-w._.js +72 -0
- package/.next/server/chunks/_1qdqpgf._.js +3 -0
- package/.next/server/chunks/_1qo2kxe._.js +3 -0
- package/.next/server/chunks/_1qoa_n_._.js +3 -0
- package/.next/server/chunks/_1qwi06-._.js +5 -0
- package/.next/server/chunks/_1qxheoa._.js +1 -1
- package/.next/server/chunks/{_1skgy7b._.js → _1ry6afh._.js} +6 -6
- package/.next/server/chunks/_1u9tb9z._.js +57 -0
- package/.next/server/chunks/_1v7z66t._.js +5 -0
- package/.next/server/chunks/_1vdlc8g._.js +5 -0
- package/.next/server/chunks/_1x2xiyw._.js +1 -1
- package/.next/server/chunks/_1y-e2mk._.js +79 -0
- package/.next/server/chunks/_1yx285_._.js +1 -1
- package/.next/server/chunks/_1za6dtx._.js +72 -0
- package/.next/server/chunks/_1zsrejy._.js +3 -0
- package/.next/server/chunks/_1zvhk_m._.js +1 -1
- package/.next/server/chunks/{_0m3sdq8._.js → _20sfopz._.js} +16 -12
- package/.next/server/chunks/_next-internal_server_app_api_bot_thread_lessons_route_actions_0zt-nr6.js +3 -0
- package/.next/server/chunks/config_ts_1g4sz5o._.js +1 -1
- package/.next/server/chunks/features_0-728_-._.js +1 -1
- package/.next/server/chunks/features_0uy40ze._.js +1 -1
- package/.next/server/chunks/features_0vyrnq0._.js +3 -0
- package/.next/server/chunks/features_116bwtn._.js +1 -1
- package/.next/server/chunks/features_14kex_m._.js +6 -4
- package/.next/server/chunks/features_1cb9luv._.js +1 -1
- package/.next/server/chunks/features_1jd2zjm._.js +8 -8
- package/.next/server/chunks/features_1xn6un-._.js +6 -4
- package/.next/server/chunks/features_bot_1d6ghh5._.js +1 -1
- package/.next/server/chunks/features_bot_1dfrdsb._.js +1 -1
- package/.next/server/chunks/ssr/{[root-of-the-server]__1j2x83w._.js → [root-of-the-server]__0ama9d0._.js} +2 -2
- package/.next/server/chunks/ssr/[root-of-the-server]__0auk-ke._.js +13 -8
- package/.next/server/chunks/ssr/{[root-of-the-server]__02-kwsg._.js → [root-of-the-server]__0p0cgo1._.js} +2 -2
- package/.next/server/chunks/ssr/{[root-of-the-server]__1ngprpi._.js → [root-of-the-server]__0rpm20m._.js} +2 -2
- package/.next/server/chunks/ssr/[root-of-the-server]__0vcuiyu._.js +3 -0
- package/.next/server/chunks/ssr/{[root-of-the-server]__13xx3dr._.js → [root-of-the-server]__0x2--_p._.js} +2 -2
- package/.next/server/chunks/ssr/{[root-of-the-server]__1qiq402._.js → [root-of-the-server]__145268e._.js} +2 -2
- package/.next/server/chunks/ssr/{[root-of-the-server]__11_ws3y._.js → [root-of-the-server]__153-ebp._.js} +2 -2
- package/.next/server/chunks/ssr/[root-of-the-server]__16jc196._.js +1 -1
- package/.next/server/chunks/ssr/[root-of-the-server]__1867koj._.js +1 -1
- package/.next/server/chunks/ssr/[root-of-the-server]__1hqly37._.js +3 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__1j-bkt7._.js +3 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__1nb9kc9._.js +3 -0
- package/.next/server/chunks/ssr/_0692i-a._.js +1 -1
- package/.next/server/chunks/ssr/{_0ldpw1q._.js → _0732nef._.js} +2 -2
- package/.next/server/chunks/ssr/_0cu8_pz._.js +3 -0
- package/.next/server/chunks/ssr/_0gk_72-._.js +3 -0
- package/.next/server/chunks/ssr/_0jvrmoz._.js +9 -0
- package/.next/server/chunks/ssr/_0k06tdw._.js +6 -0
- package/.next/server/chunks/ssr/{_1tc_gbg._.js → _0l_qakv._.js} +2 -2
- package/.next/server/chunks/ssr/_0lqzdd0._.js +3 -0
- package/.next/server/chunks/ssr/{_19g10gj._.js → _0p18b0z._.js} +2 -2
- package/.next/server/chunks/ssr/{_04f6fil._.js → _0pg2mgq._.js} +3 -3
- package/.next/server/chunks/ssr/{_1nnl9sj._.js → _0rm-9aj._.js} +2 -2
- package/.next/server/chunks/ssr/_128r03g._.js +13 -11
- package/.next/server/chunks/ssr/_17fa2ns._.js +12 -12
- package/.next/server/chunks/ssr/_18cjc9o._.js +3 -0
- package/.next/server/chunks/ssr/_1_px1o-._.js +1 -1
- package/.next/server/chunks/ssr/_1a_w_du._.js +1 -1
- package/.next/server/chunks/ssr/_1crszf7._.js +2 -2
- package/.next/server/chunks/ssr/_1e_9qjr._.js +1 -1
- package/.next/server/chunks/ssr/_1ehd80b._.js +3 -0
- package/.next/server/chunks/ssr/{_0a31ywo._.js → _1fua8fv._.js} +2 -2
- package/.next/server/chunks/ssr/_1m290ru._.js +3 -0
- package/.next/server/chunks/ssr/_1neoj22._.js +1 -1
- package/.next/server/chunks/ssr/{_0nans9v._.js → _1q30h74._.js} +2 -2
- package/.next/server/chunks/ssr/_1q9r6u6._.js +1 -1
- package/.next/server/chunks/ssr/_1soynbw._.js +2 -2
- package/.next/server/chunks/ssr/{_079xt7h._.js → _1v_5j9l._.js} +23 -19
- package/.next/server/chunks/ssr/_1x_6jyh._.js +3 -0
- package/.next/server/chunks/ssr/{components_ui_markdown-body_tsx_13aa4_2._.js → components_ui_markdown-body_tsx_0ywzjrl._.js} +2 -2
- package/.next/server/chunks/ssr/features_0rrgq_t._.js +1 -1
- package/.next/server/chunks/ssr/features_ai_components_model-picker_tsx_0ucb1y9._.js +1 -1
- package/.next/server/chunks/ssr/features_bot_1stfytf._.js +1 -1
- package/.next/server/chunks/ssr/features_bot_components_01ye2wp._.js +1 -1
- package/.next/server/chunks/ssr/features_bot_components_bot-setting_tsx_01ajft6._.js +2 -2
- package/.next/server/chunks/ssr/features_bot_components_thread-setting_tsx_0yae7zy._.js +1 -1
- package/.next/server/chunks/ssr/features_config_components_config-setting_tsx_0xfwqdg._.js +1 -1
- package/.next/server/chunks/ssr/features_connectors_components_mcp-setting_tsx_0jmbgvp._.js +1 -1
- package/.next/server/chunks/ssr/features_memory_components_memory-setting_tsx_0oa43sw._.js +1 -1
- package/.next/server/chunks/ssr/features_routine_components_routine-setting_tsx_055fknz._.js +1 -1
- package/.next/server/chunks/ssr/features_skills_components_skills-setting_tsx_1wtuuip._.js +1 -1
- package/.next/server/chunks/ssr/features_thursday_components_thursday-setting_tsx_1_6ydrc._.js +1 -1
- package/.next/server/chunks/ssr/{node_modules_1k0ygyl._.js → node_modules_0-s3xam._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_0jrjbfv._.js → node_modules_02p2t58._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_1si826e._.js → node_modules_03gt5eg._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_0jqaiyb._.js → node_modules_03ytewb._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_19acw__._.js → node_modules_05yikon._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_0gb732y._.js → node_modules_060s01j._.js} +2 -2
- package/.next/server/chunks/ssr/{node_modules_0wsygp2._.js → node_modules_07k-xj6._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_1fa_3_c._.js → node_modules_08xo4p2._.js} +2 -2
- package/.next/server/chunks/ssr/{node_modules_05fihwh._.js → node_modules_09e0lw8._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_0kdc_b7._.js → node_modules_0a1kt26._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_050v667._.js → node_modules_0ahwwc6._.js} +2 -2
- package/.next/server/chunks/ssr/{node_modules_0ou72wu._.js → node_modules_0c2vpni._.js} +2 -2
- package/.next/server/chunks/ssr/{node_modules_1n5ds4a._.js → node_modules_0e7nwfw._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_04qcy8e._.js → node_modules_0er1nmg._.js} +2 -2
- package/.next/server/chunks/ssr/{node_modules_1misalx._.js → node_modules_0f3769j._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_0ljjw5o._.js → node_modules_0fi5we8._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_1-vdt7b._.js → node_modules_0i2j6g6._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_1861d28._.js → node_modules_0ka66-h._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_140qn14._.js → node_modules_0keiwh2._.js} +2 -2
- package/.next/server/chunks/ssr/{node_modules_06p_ayw._.js → node_modules_0mihldg._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_107hxun._.js → node_modules_0mujceo._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_06b7g0r._.js → node_modules_0ntw_qg._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_0jaxs1q._.js → node_modules_0py4_6y._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_0y_dhgi._.js → node_modules_0qu8a5o._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_1vh6nr-._.js → node_modules_0sk7kv9._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_2045nus._.js → node_modules_0ted14c._.js} +2 -2
- package/.next/server/chunks/ssr/{node_modules_0z8o0-n._.js → node_modules_0u78wn3._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_0skzy7i._.js → node_modules_0umtxxj._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_1o1ud40._.js → node_modules_0ze7604._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_152bm83._.js → node_modules_116k0n3._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_0-zy1_5._.js → node_modules_15_65ve._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_12409ud._.js → node_modules_16hmz5b._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_069gsbk._.js → node_modules_16ki2uq._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_0ia9-w8._.js → node_modules_19xrd6b._.js} +2 -2
- package/.next/server/chunks/ssr/{node_modules_1pt7o47._.js → node_modules_1_c3zat._.js} +2 -2
- package/.next/server/chunks/ssr/{node_modules_19gok-9._.js → node_modules_1axn4aw._.js} +2 -2
- package/.next/server/chunks/ssr/{node_modules_1jrlct1._.js → node_modules_1bjctcm._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_1jt8w7f._.js → node_modules_1cxx8tm._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_1v-un0n._.js → node_modules_1d7evv9._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_13ccsqp._.js → node_modules_1depc7o._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_1b45v66._.js → node_modules_1dm5c-u._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_1uyu3cc._.js → node_modules_1fdivhl._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_0ob-uxg._.js → node_modules_1gxpcyd._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_0wa05ay._.js → node_modules_1ih7lxu._.js} +2 -2
- package/.next/server/chunks/ssr/{node_modules_18uwehg._.js → node_modules_1k-0av-._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_0zi89fj._.js → node_modules_1kpg87p._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_0q8xm6u._.js → node_modules_1le-lim._.js} +2 -2
- package/.next/server/chunks/ssr/{node_modules_17-v4n4._.js → node_modules_1lnx_h4._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_0v0l095._.js → node_modules_1mwxdhp._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_1x7napn._.js → node_modules_1q2a30m._.js} +2 -2
- package/.next/server/chunks/ssr/{node_modules_0walxvo._.js → node_modules_1soi3y1._.js} +2 -2
- package/.next/server/chunks/ssr/{node_modules_1xtd9ml._.js → node_modules_1sphzx9._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_150qjpq._.js → node_modules_1tfn213._.js} +2 -2
- package/.next/server/chunks/ssr/{node_modules_20llbw8._.js → node_modules_1vmqt-a._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_0xetrwd._.js → node_modules_1w8ljz0._.js} +2 -2
- package/.next/server/chunks/ssr/{node_modules_0_uhcxd._.js → node_modules_208s6_i._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_katex_dist_katex_mjs_1bf0rdx._.js → node_modules_katex_dist_katex_mjs_0jhievg._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_katex_dist_katex_mjs_0-moq-r._.js → node_modules_katex_dist_katex_mjs_1zcod1m._.js} +1 -1
- package/.next/server/middleware-build-manifest.js +3 -3
- package/.next/server/pages/404.html +1 -1
- package/.next/server/pages/500.html +1 -1
- package/.next/server/server-reference-manifest.js +1 -1
- package/.next/server/server-reference-manifest.json +102 -69
- package/.next/static/chunks/{0lc_77uhatqgd.js → 078xraafllix3.js} +1 -1
- package/.next/static/chunks/{2njcedjozdqm7.js → 0nev6q2iq077s.js} +1 -1
- package/.next/static/chunks/{06ymo4xf31ggh.js → 0ocx6nt76fc71.js} +1 -1
- package/.next/static/chunks/0oo3vqzbrckzw.js +1 -0
- package/.next/static/chunks/{1ki7x6-ehua0u.js → 0piazplcpaho6.js} +1 -1
- package/.next/static/chunks/{25tttxgpn-fdl.js → 0totfwrzgu9zy.js} +2 -2
- package/.next/static/chunks/{1s5t41jiomssd.css → 0tpwm72wdln0d.css} +1 -1
- package/.next/static/chunks/{1o4z63f94c3r-.js → 0u_wx1-lmoae2.js} +1 -1
- package/.next/static/chunks/{2tlvu360xbisx.js → 0wwq57j09skhy.js} +1 -1
- package/.next/static/chunks/152u4p6c_6spk.js +1 -0
- package/.next/static/chunks/{3f4aku2z0zdxp.js → 1fignuuc030t2.js} +1 -1
- package/.next/static/chunks/{29fpns41ml485.js → 1n3a07w81jbc-.js} +1 -1
- package/.next/static/chunks/2-zfbypxf0agx.js +1 -0
- package/.next/static/chunks/{277zw6dp5yzks.js → 21wm184xoke98.js} +9 -9
- package/.next/static/chunks/{1vxq-0uxcm5yl.js → 25-zh-0nfxqyg.js} +1 -1
- package/.next/static/chunks/{1gca5ia-a-3e2.js → 29p2mdrn-z1oz.js} +1 -1
- package/.next/static/chunks/{2jn9y4sol_low.js → 2biit-egkb-xl.js} +2 -2
- package/.next/static/chunks/{1zwj72bhapocl.js → 2cciu1ow-svbf.js} +1 -1
- package/.next/static/chunks/{0i4df8t5_6a-g.js → 2gl-fo_rmmmq0.js} +1 -1
- package/.next/static/chunks/2kt0nc5m372ie.js +4 -0
- package/.next/static/chunks/2v486bh_6kl11.js +1 -0
- package/.next/static/chunks/33_a4j5altfr5.js +1 -0
- package/.next/static/chunks/37pwubc1t0jyy.js +1 -0
- package/.next/static/chunks/{0km5rjf8k0gst.js → 38rbtwatw658l.js} +1 -1
- package/.next/static/chunks/{233p45nuh4m5b.css → 3d-1vk5hzu5rq.css} +2 -2
- package/.next/static/chunks/{3ymtwwxmbactm.js → 3da8rr3q6pt0b.js} +1 -1
- package/.next/static/chunks/3i12sqqp1v8a8.js +1 -0
- package/.next/static/chunks/{1e3karuzhh7ik.js → 3iwdx3_gikxbg.js} +1 -1
- package/.next/static/chunks/{17ow2tmvy65in.js → 3k_xm_e4grb9u.js} +1 -1
- package/.next/static/chunks/{0_o7o4-itqsz7.js → 3odtl00mfb4u7.js} +1 -1
- package/.next/static/chunks/3wblbyhomh9va.js +1 -0
- package/.next/static/chunks/{1vwqvgit8a1vm.js → 3x2goglbfw5t7.js} +1 -1
- package/database/migrations/20261006014533_first_mercury/migration.sql +16 -0
- package/database/migrations/20261006014533_first_mercury/snapshot.json +2134 -0
- package/database/migrations/20261006022849_purple_young_avengers/migration.sql +1 -0
- package/database/migrations/20261006022849_purple_young_avengers/snapshot.json +2144 -0
- package/database/migrations/20261006040316_lazy_ogun/migration.sql +3 -0
- package/database/migrations/20261006040316_lazy_ogun/snapshot.json +2174 -0
- package/database/migrations/20261006043313_modern_goliath/migration.sql +1 -0
- package/database/migrations/20261006043313_modern_goliath/snapshot.json +2184 -0
- package/guide/bots.md +29 -0
- package/guide/calls.md +3 -1
- package/guide/phone.md +3 -1
- package/package.json +1 -1
- package/.next/server/chunks/[root-of-the-server]__00qilm2._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__01jpmcj._.js +0 -11
- package/.next/server/chunks/[root-of-the-server]__0bzz4u5._.js +0 -8
- package/.next/server/chunks/[root-of-the-server]__0d-dfqm._.js +0 -5
- package/.next/server/chunks/[root-of-the-server]__0elyqrt._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__0jqidnu._.js +0 -8
- package/.next/server/chunks/[root-of-the-server]__0mmynvy._.js +0 -5
- package/.next/server/chunks/[root-of-the-server]__0mzzwmt._.js +0 -8
- package/.next/server/chunks/[root-of-the-server]__0qo3zap._.js +0 -8
- package/.next/server/chunks/[root-of-the-server]__0rqmdxt._.js +0 -6
- package/.next/server/chunks/[root-of-the-server]__0sea36s._.js +0 -10
- package/.next/server/chunks/[root-of-the-server]__0unmyur._.js +0 -6
- package/.next/server/chunks/[root-of-the-server]__0wimh1u._.js +0 -8
- package/.next/server/chunks/[root-of-the-server]__0zezbds._.js +0 -5
- package/.next/server/chunks/[root-of-the-server]__12hkdpz._.js +0 -8
- package/.next/server/chunks/[root-of-the-server]__13dy1f5._.js +0 -5
- package/.next/server/chunks/[root-of-the-server]__13hng6h._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__14inehv._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__17kdjf6._.js +0 -5
- package/.next/server/chunks/[root-of-the-server]__17yv6lg._.js +0 -5
- package/.next/server/chunks/[root-of-the-server]__1ac25yp._.js +0 -12
- package/.next/server/chunks/[root-of-the-server]__1hjb8wf._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__1jcu_e9._.js +0 -5
- package/.next/server/chunks/[root-of-the-server]__1jmr2ed._.js +0 -8
- package/.next/server/chunks/[root-of-the-server]__1onvx8x._.js +0 -5
- package/.next/server/chunks/[root-of-the-server]__1r2kimd._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__1rjj4i4._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__1s3umyw._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__212tz6e._.js +0 -8
- package/.next/server/chunks/_0-mqt2w._.js +0 -3
- package/.next/server/chunks/_0bcg3vg._.js +0 -6
- package/.next/server/chunks/_0cm67bo._.js +0 -6
- package/.next/server/chunks/_0gifi_2._.js +0 -7
- package/.next/server/chunks/_0li046e._.js +0 -3
- package/.next/server/chunks/_0mirg2-._.js +0 -3
- package/.next/server/chunks/_0oj2slk._.js +0 -5
- package/.next/server/chunks/_0oyz9x0._.js +0 -3
- package/.next/server/chunks/_0pljp-1._.js +0 -3
- package/.next/server/chunks/_0rdxqrk._.js +0 -5
- package/.next/server/chunks/_0sxih1y._.js +0 -3
- package/.next/server/chunks/_0u-96in._.js +0 -9
- package/.next/server/chunks/_0wjia9n._.js +0 -5
- package/.next/server/chunks/_0x2mdif._.js +0 -5
- package/.next/server/chunks/_0xa89lt._.js +0 -3
- package/.next/server/chunks/_0y2a-fg._.js +0 -3
- package/.next/server/chunks/_0ynjnhl._.js +0 -5
- package/.next/server/chunks/_1-sk_q4._.js +0 -3
- package/.next/server/chunks/_1355-km._.js +0 -3
- package/.next/server/chunks/_14-kmob._.js +0 -5
- package/.next/server/chunks/_1d7gbgb._.js +0 -3
- package/.next/server/chunks/_1d_enhu._.js +0 -3
- package/.next/server/chunks/_1evvnbp._.js +0 -18
- package/.next/server/chunks/_1g10pf5._.js +0 -3
- package/.next/server/chunks/_1icgbi8._.js +0 -18
- package/.next/server/chunks/_1ihge52._.js +0 -6
- package/.next/server/chunks/_1k92b3d._.js +0 -3
- package/.next/server/chunks/_1nfr-75._.js +0 -3
- package/.next/server/chunks/_1o2r4ja._.js +0 -5
- package/.next/server/chunks/_1pv6xbq._.js +0 -5
- package/.next/server/chunks/_1qgix-j._.js +0 -3
- package/.next/server/chunks/_1sd6nev._.js +0 -3
- package/.next/server/chunks/_1t8fv7b._.js +0 -18
- package/.next/server/chunks/_1ufbxe1._.js +0 -5
- package/.next/server/chunks/features_workspace_workspace_ts_13h82gv._.js +0 -3
- package/.next/server/chunks/features_workspace_workspace_ts_1iyjroj._.js +0 -8
- package/.next/server/chunks/node_modules_consola_dist_chunks_prompt_mjs_0omj5b1._.js +0 -3
- package/.next/server/chunks/node_modules_consola_dist_chunks_prompt_mjs_0s2o664._.js +0 -3
- package/.next/server/chunks/node_modules_consola_dist_chunks_prompt_mjs_0ufuc3s._.js +0 -3
- package/.next/server/chunks/node_modules_consola_dist_chunks_prompt_mjs_1cvpr1j._.js +0 -3
- package/.next/server/chunks/node_modules_consola_dist_chunks_prompt_mjs_1y49572._.js +0 -3
- package/.next/server/chunks/node_modules_zod_v4_03dw6sa._.js +0 -57
- package/.next/server/chunks/node_modules_zod_v4_0h0-drr._.js +0 -57
- package/.next/server/chunks/node_modules_zod_v4_0uctlhw._.js +0 -57
- package/.next/server/chunks/node_modules_zod_v4_13mu186._.js +0 -57
- package/.next/server/chunks/node_modules_zod_v4_17gxt3_._.js +0 -57
- package/.next/server/chunks/node_modules_zod_v4_1mygyfn._.js +0 -3
- package/.next/server/chunks/node_modules_zod_v4_1u-rl3b._.js +0 -57
- package/.next/server/chunks/ssr/[root-of-the-server]__0lv-wr_._.js +0 -3
- package/.next/server/chunks/ssr/[root-of-the-server]__0utwbb5._.js +0 -3
- package/.next/server/chunks/ssr/[root-of-the-server]__1fvh0zn._.js +0 -3
- package/.next/server/chunks/ssr/[root-of-the-server]__1ynag_l._.js +0 -3
- package/.next/server/chunks/ssr/_0f3t9pm._.js +0 -9
- package/.next/server/chunks/ssr/_131wmbl._.js +0 -6
- package/.next/server/chunks/ssr/_15zznka._.js +0 -3
- package/.next/server/chunks/ssr/_183f3bo._.js +0 -3
- package/.next/server/chunks/ssr/_1e1qe7w._.js +0 -3
- package/.next/server/chunks/ssr/_1kj3d2q._.js +0 -3
- package/.next/server/chunks/ssr/_1qtcl42._.js +0 -3
- package/.next/server/chunks/ssr/lib_utils_ts_0_f1xvm._.js +0 -3
- package/.next/static/chunks/051z85h3ofmif.js +0 -1
- package/.next/static/chunks/1hwehpk3kk-pc.js +0 -1
- package/.next/static/chunks/1pxe_gpjic1_h.js +0 -1
- package/.next/static/chunks/2zvo7b47hhxi5.js +0 -1
- package/.next/static/chunks/3k7fum0yljmyr.js +0 -1
- package/.next/static/chunks/3qhhs3dk6cdbq.js +0 -4
- package/.next/static/chunks/3sawwm4vucnzn.js +0 -1
- package/.next/static/chunks/3ul6m16ba_i3u.js +0 -1
- /package/.next/static/{pekZvsOZ3_8_ohluwgZtY → nXUvWsiGKRvNRk8kqeJ-u}/_buildManifest.js +0 -0
- /package/.next/static/{pekZvsOZ3_8_ohluwgZtY → nXUvWsiGKRvNRk8kqeJ-u}/_clientMiddlewareManifest.js +0 -0
- /package/.next/static/{pekZvsOZ3_8_ohluwgZtY → nXUvWsiGKRvNRk8kqeJ-u}/_ssgManifest.js +0 -0
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,567334,877267,t=>{"use strict";let r,e=[[" "],[" ",".","`"],[".",",","·","'"],[":",";","-","^"],["=","+","~",'"'],["*","?","◦","j"],["c","v","○","7"],["o","x","◇","い"],["s","y","t","あ"],["e","a","u","な"],["k","w","z","や"],["q","h","n","米"]],n=e.length;function o(t,r){return f(.05,.42,t/r)}let i={A:[".##.","#..#","####","#..#","#..#"],B:["###.","#..#","###.","#..#","###."],C:[".###","#...","#...","#...",".###"],D:["###.","#..#","#..#","#..#","###."],E:["####","#...","###.","#...","####"],F:["####","#...","###.","#...","#..."],G:[".###","#...","#.##","#..#",".###"],H:["#..#","#..#","####","#..#","#..#"],I:["###",".#.",".#.",".#.","###"],J:["..##","...#","...#","#..#",".##."],K:["#..#","#.#.","##..","#.#.","#..#"],L:["#...","#...","#...","#...","####"],M:["#...#","##.##","#.#.#","#...#","#...#"],N:["#..#","##.#","#.##","#..#","#..#"],O:[".##.","#..#","#..#","#..#",".##."],P:["###.","#..#","###.","#...","#..."],Q:[".##.","#..#","#..#","#.#.",".#.#"],R:["###.","#..#","###.","#.#.","#..#"],S:[".###","#...",".##.","...#","###."],T:["###",".#.",".#.",".#.",".#."],U:["#..#","#..#","#..#","#..#",".##."],V:["#...#","#...#",".#.#.",".#.#.","..#.."],W:["#...#","#...#","#.#.#","##.##","#...#"],X:["#..#","#..#",".##.","#..#","#..#"],Y:["#.#","#.#",".#.",".#.",".#."],Z:["####","...#",".##.","#...","####"],0:[".##.","#.##","#..#","##.#",".##."],1:[".#.","##.",".#.",".#.","###"],2:["###.","...#",".##.","#...","####"],3:["###.","...#",".##.","...#","###."],4:["#..#","#..#","####","...#","...#"],5:["####","#...","###.","...#","###."],6:[".##.","#...","###.","#..#",".##."],7:["####","...#","..#.",".#..",".#.."],8:[".##.","#..#",".##.","#..#",".##."],9:[".##.","#..#",".###","...#",".##."],"!":["#","#","#",".","#"],"?":["###.","...#",".##.","....",".#.."],".":[".",".",".",".","#"],",":["..","..","..",".#","#."],"'":["#","#",".",".","."],"-":["...","...","###","...","..."],"+":["...",".#.","###",".#.","..."],":":[".","#",".","#","."],"(":[".#","#.","#.","#.",".#"],")":["#.",".#",".#",".#","#."],"<":["..#",".#.","#..",".#.","..#"],">":["#..",".#.","..#",".#.","#.."],"^":[".#.","#.#","...","...","..."],"~":["....",".#.#","#.#.","....","...."],"♥":[".#.#.","#####","#####",".###.","..#.."]," ":["..","..","..","..",".."]};function f(t,r,e){let n=Math.min(1,Math.max(0,(e-t)/(r-t)));return n*n*(3-2*n)}Object.keys(i).filter(t=>!/^[A-Z0-9 ]$/.test(t)),t.s(["ALPHA_TOP",0,.82,"CHAR_RATE",0,2.2,"EMOJI_CHAR_RATE",0,.6,"EMOJI_POOL",0,["🍎","🌹","🍓","❤️","🎈","🧨","🔴","🍊","🔥","🦊","🏀","🧡","🍑","⭐","🍋","🌻","💛","🐥","🌟","🍌","🍀","🌿","🐸","🥝","💚","🌵","🥑","💧","🌊","🫐","🐳","💙","🔵","🧊","🍇","💜","🔮","🟣","🪻","🍆","🌸","🌷","💗","🦩","🩷","🍫","🐻","🌰","🥐","🤍","☁️","🖤","⚪","⚫","🦢","🌈","🦜","🎨","🪩","🦄","✨","🍬","🎡"],"FACE_WORD_MAX",0,8,"LETTERS",0,i,"LEVELS",0,n,"ORB_INK",0,{dark:[247,247,247],light:[10,10,10]},"RAMP",0,e,"emojiAlpha",0,function(t,r){return .06+.94*o(t,r)},"emojiPx",0,function(t,r,e){return t*(.5+.5*o(r,e))},"emojiWeight",0,o,"hash",0,function(t,r){let e=43758.5453*Math.sin(127.1*t+311.7*r);return e-Math.floor(e)},"smoothstep",0,f,"undrawable",0,function(t){return Array.from(t.toUpperCase()).find(t=>!(t in i))??null}],567334);var a=t.i(271645);function s(){if(r)return r;let t=navigator,e=t.userAgentData?.platform||t.platform||"";return r=/mac|iphone|ipad|ipod/i.test(e)?"emoji":"letters"}let u=()=>()=>{};t.s(["faceGlyphs",0,s,"useFaceGlyphs",0,function(){return(0,a.useSyncExternalStore)(u,s,()=>"emoji")}],877267)},183414,t=>{"use strict";var r=t.i(41533);let e=Math.PI/180,n=t=>((t+180)%360+360)%360-180,o=null;function i(t,r,e){let n=!1;for(let o=0,i=e.length-2;o<e.length;i=o,o+=2){let f=e[o],a=e[o+1],s=e[i],u=e[i+1];a>r!=u>r&&t<(s-f)*(r-a)/(u-a)+f&&(n=!n)}return n}function f(t,r,e){for(let n of[e,e+360,e-360]){let[e,o,f,a]=t.bbox;if(!(n<e)&&!(n>o)&&!(r<f)&&!(r>a))for(let e=0;e<t.polys.length;e++){let{rings:o,bbox:f}=t.polys[e];if(!(n<f[0])&&!(n>f[1])&&!(r<f[2])&&!(r>f[3])&&i(n,r,o[0])&&!o.slice(1).some(t=>i(n,r,t)))return e}}return -1}t.s(["fitView",0,function(t,o,i,a,s){let u,h=function(t,o,i,a){let s=a?t.countries.findIndex(t=>t.code===a):-1;if(s>=0&&t.countries[s].polys.length){let r,a,u=t.countries[s],h=f(u,o,i);return{country:s,poly:h>=0?h:(r=0,a=1/0,u.polys.forEach(({bbox:t},f)=>{let s=Math.max(0,Math.abs(n(i-(t[0]+t[1])/2))-(t[1]-t[0])/2),u=Math.max(0,t[2]-o,o-t[3]),h=Math.hypot(s*Math.cos(o*e),u);h<a&&(a=h,r=f)}),r)}}let u=(r,e)=>{for(let n=0;n<t.countries.length;n++){let o=f(t.countries[n],r,e);if(o>=0)return{country:n,poly:o}}return null},h=u(o,i),l=Math.round(10*r.HERE.coastDeg);for(let t=1;!h&&t<=l;t++){let r=t/10;for(let t=0;t<8&&!h;t++)h=u(o+r*Math.sin(t*Math.PI/4),i+r*Math.cos(t*Math.PI/4))}return h}(t,o,i,s),{width:l,height:c}=a,p=o,y=i;if(h){let r=t.countries[h.country].polys,f=t=>{let r=0;for(let e=0,n=t.length-2;e<t.length;n=e,e+=2)r+=t[n]*t[e+1]-t[e]*t[n+1];return Math.abs(r/2)*Math.cos(t[1]*e)},a=h.poly,s=0;r.forEach((t,r)=>{let e=f(t.rings[0]);e>s&&(s=e,a=r)});let g=h.poly;if(a!==h.poly&&f(r[h.poly].rings[0])<.25*s){let t=r[a].bbox;4>Math.hypot(Math.max(0,t[0]-i,i-t[1])*Math.cos(o*e),Math.max(0,t[2]-o,o-t[3]))&&(g=a)}let d=[...r[g].bbox],m=[g];for(let t=0;t<3;t++)r.forEach((t,r)=>{let e=t.bbox;m.includes(r)||Math.max(0,e[0]-d[1],d[0]-e[1])>=2.5||Math.max(0,e[2]-d[3],d[2]-e[3])>=2.5||(m.push(r),d[0]=Math.min(d[0],e[0]),d[1]=Math.max(d[1],e[1]),d[2]=Math.min(d[2],e[2]),d[3]=Math.max(d[3],e[3]))});p=(d[2]+d[3])/2,y=n((d[0]+d[1])/2);let v=Math.cos(p*e),b=Math.abs(o-p),w=Math.abs(n(i-y))*v;for(let t of m){let e=r[t].rings[0];for(let t=0;t<e.length;t+=2)w=Math.max(w,Math.abs(n(e[t]-y))*v),b=Math.max(b,Math.abs(e[t+1]-p))}u=Math.min(.32*c/Math.sin(Math.min(70,Math.max(1,1.15*b))*e),.44*l/Math.sin(Math.min(80,Math.max(1,1.15*w))*e))}else u=c/2/Math.sin(8*e);return u=Math.max(a.least,Math.min(.32*c/Math.sin(e),u)),h&&(p=Math.min(89,p+.08*c/u/e)),{lat:o,lon:i,latc:p,lonc:y,radius:u,home:h?h.country:-1}},"loadWorld",0,function(){return o??=fetch("/here/world.json").then(async t=>{if(!t.ok)throw Error(`/here/world.json answered ${t.status}`);return function(t){if(t?.v!==2||!Array.isArray(t.a)||!Array.isArray(t.c))throw Error("world.json is not a map this app packs");let r=t.q,e=t.a.map(t=>{let e=new Float32Array(t.length),n=0,o=0;for(let i=0;i<t.length;i+=2)n+=t[i],o+=t[i+1],e[i]=n/r-180,e[i+1]=o/r-90;return e}),n=t=>{let r=[],n=null;for(let o of t){let t=e[o>=0?o:~o],i=t.length/2;for(let e=+!!r.length;e<i;e++){let f=o>=0?e:i-1-e,a=t[2*f];if(null!==n){for(;a-n>180;)a-=360;for(;a-n<-180;)a+=360}r.push(a,t[2*f+1]),n=a}}if(r.length>=4&&Math.abs(r[r.length-2]-r[0])>359){let t=0;for(let e=1;e<r.length;e+=2)t+=r[e];let e=t<0?-90:90;r.push(r[r.length-2],e,r[0],e)}return new Float32Array(r)},o=()=>[180,-180,90,-90],i=(t,r)=>{for(let e=0;e<r.length;e+=2)t[0]=Math.min(t[0],r[e]),t[1]=Math.max(t[1],r[e]),t[2]=Math.min(t[2],r[e+1]),t[3]=Math.max(t[3],r[e+1])};return{countries:t.c.map(({n:t,k:r,p:e})=>{let f=o();return{name:t,code:r??null,polys:e.map(t=>t.map(n).filter(t=>(t=>{let r=0;for(let e=0,n=t.length-2;e<t.length;n=e,e+=2)r+=t[n]*t[e+1]-t[e]*t[n+1];return Math.abs(r/2)})(t)>0)).filter(t=>t.length>0).map(t=>{let r=o();return i(r,t[0]),i(f,t[0]),{rings:t,bbox:r}}),bbox:f}})}}(await t.json())}).catch(t=>{throw o=null,t})},"project",0,function(t,r,n,o,i){let f=t*e,a=n*e,s=(r-o)*e;return{x:i*Math.cos(f)*Math.sin(s),y:-i*(Math.cos(a)*Math.sin(f)-Math.sin(a)*Math.cos(f)*Math.cos(s)),seen:Math.sin(a)*Math.sin(f)+Math.cos(a)*Math.cos(f)*Math.cos(s)>0}},"releaseWorld",0,function(){o=null},"wrap",0,n])},989366,t=>{"use strict";var r=t.i(55545),e=t.i(455024),n=t.i(99151),o=t.i(845110),i=t.i(281092),f=t.i(234662);t.s(["formatDistanceStrict",0,function(t,a,s){var u;let h,l,c=(0,e.getDefaultOptions)(),p=s?.locale??c.locale??r.defaultLocale,y=(l=(0,i.toDate)(t)-(0,i.toDate)(a))<0?-1:l>0?1:l;if(isNaN(y))throw RangeError("Invalid time value");let g=Object.assign({},s,{addSuffix:s?.addSuffix,comparison:y}),[d,m]=(0,o.normalizeDates)(s?.in,...y>0?[a,t]:[t,a]),v=(u=s?.roundingMethod??"round",t=>{let r=(u?Math[u]:Math.trunc)(t);return 0===r?0:r}),b=m.getTime()-d.getTime(),w=b/f.millisecondsInMinute,M=(b-((0,n.getTimezoneOffsetInMilliseconds)(m)-(0,n.getTimezoneOffsetInMilliseconds)(d)))/f.millisecondsInMinute,E=s?.unit;if("second"===(h=E||(w<1?"second":w<60?"minute":w<f.minutesInDay?"hour":M<f.minutesInMonth?"day":M<f.minutesInYear?"month":"year"))){let t=v(b/1e3);return p.formatDistance("xSeconds",t,g)}if("minute"===h){let t=v(w);return p.formatDistance("xMinutes",t,g)}if("hour"===h){let t=v(w/60);return p.formatDistance("xHours",t,g)}if("day"===h){let t=v(M/f.minutesInDay);return p.formatDistance("xDays",t,g)}if("month"===h){let t=v(M/f.minutesInMonth);return 12===t&&"month"!==E?p.formatDistance("xYears",1,g):p.formatDistance("xMonths",t,g)}else{let t=v(M/f.minutesInYear);return p.formatDistance("xYears",t,g)}}],989366)},569644,t=>{"use strict";var r=t.i(456420);let e={name:"folder-open",size:24,node:[["path",{d:"m6 14 1.5-2.9A2 2 0 0 1 9.24 10H20a2 2 0 0 1 1.94 2.5l-1.54 6a2 2 0 0 1-1.95 1.5H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H18a2 2 0 0 1 2 2v2",key:"usdka0"}]]};e.node;let n=(0,r.default)(e);t.s(["FolderOpen",0,n],569644)},97923,t=>{"use strict";var r=t.i(456420);let e={name:"log-in",size:24,node:[["path",{d:"m10 17 5-5-5-5",key:"1bsop3"}],["path",{d:"M15 12H3",key:"6jk70r"}],["path",{d:"M15 3h4a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-4",key:"u53s6r"}]]};e.node;let n=(0,r.default)(e);t.s(["LogIn",0,n],97923)},467034,(t,r,e)=>{var n={872:function(t,r){"use strict";r.byteLength=function(t){var r=s(t),e=r[0],n=r[1];return(e+n)*3/4-n},r.toByteArray=function(t){var r,e,i=s(t),f=i[0],a=i[1],u=new o((f+a)*3/4-a),h=0,l=a>0?f-4:f;for(e=0;e<l;e+=4)r=n[t.charCodeAt(e)]<<18|n[t.charCodeAt(e+1)]<<12|n[t.charCodeAt(e+2)]<<6|n[t.charCodeAt(e+3)],u[h++]=r>>16&255,u[h++]=r>>8&255,u[h++]=255&r;return 2===a&&(r=n[t.charCodeAt(e)]<<2|n[t.charCodeAt(e+1)]>>4,u[h++]=255&r),1===a&&(r=n[t.charCodeAt(e)]<<10|n[t.charCodeAt(e+1)]<<4|n[t.charCodeAt(e+2)]>>2,u[h++]=r>>8&255,u[h++]=255&r),u},r.fromByteArray=function(t){for(var r,n=t.length,o=n%3,i=[],f=0,a=n-o;f<a;f+=16383)i.push(function(t,r,n){for(var o,i=[],f=r;f<n;f+=3)o=(t[f]<<16&0xff0000)+(t[f+1]<<8&65280)+(255&t[f+2]),i.push(e[o>>18&63]+e[o>>12&63]+e[o>>6&63]+e[63&o]);return i.join("")}(t,f,f+16383>a?a:f+16383));return 1===o?i.push(e[(r=t[n-1])>>2]+e[r<<4&63]+"=="):2===o&&i.push(e[(r=(t[n-2]<<8)+t[n-1])>>10]+e[r>>4&63]+e[r<<2&63]+"="),i.join("")};for(var e=[],n=[],o="u">typeof Uint8Array?Uint8Array:Array,i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",f=0,a=i.length;f<a;++f)e[f]=i[f],n[i.charCodeAt(f)]=f;function s(t){var r=t.length;if(r%4>0)throw Error("Invalid string. Length must be a multiple of 4");var e=t.indexOf("=");-1===e&&(e=r);var n=e===r?0:4-e%4;return[e,n]}n[45]=62,n[95]=63},230:function(t,r,e){"use strict";var n=e(872),o=e(321),i="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;function f(t){if(t>0x7fffffff)throw RangeError('The value "'+t+'" is invalid for option "size"');var r=new Uint8Array(t);return Object.setPrototypeOf(r,a.prototype),r}function a(t,r,e){if("number"==typeof t){if("string"==typeof r)throw TypeError('The "string" argument must be of type string. Received type number');return h(t)}return s(t,r,e)}function s(t,r,e){if("string"==typeof t){var n=t,o=r;if(("string"!=typeof o||""===o)&&(o="utf8"),!a.isEncoding(o))throw TypeError("Unknown encoding: "+o);var i=0|p(n,o),s=f(i),u=s.write(n,o);return u!==i&&(s=s.slice(0,u)),s}if(ArrayBuffer.isView(t))return l(t);if(null==t)throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t);if(O(t,ArrayBuffer)||t&&O(t.buffer,ArrayBuffer)||"u">typeof SharedArrayBuffer&&(O(t,SharedArrayBuffer)||t&&O(t.buffer,SharedArrayBuffer)))return function(t,r,e){var n;if(r<0||t.byteLength<r)throw RangeError('"offset" is outside of buffer bounds');if(t.byteLength<r+(e||0))throw RangeError('"length" is outside of buffer bounds');return Object.setPrototypeOf(n=void 0===r&&void 0===e?new Uint8Array(t):void 0===e?new Uint8Array(t,r):new Uint8Array(t,r,e),a.prototype),n}(t,r,e);if("number"==typeof t)throw TypeError('The "value" argument must not be of type number. Received type number');var h=t.valueOf&&t.valueOf();if(null!=h&&h!==t)return a.from(h,r,e);var y=function(t){if(a.isBuffer(t)){var r=0|c(t.length),e=f(r);return 0===e.length||t.copy(e,0,0,r),e}return void 0!==t.length?"number"!=typeof t.length||function(t){return t!=t}(t.length)?f(0):l(t):"Buffer"===t.type&&Array.isArray(t.data)?l(t.data):void 0}(t);if(y)return y;if("u">typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof t[Symbol.toPrimitive])return a.from(t[Symbol.toPrimitive]("string"),r,e);throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t)}function u(t){if("number"!=typeof t)throw TypeError('"size" argument must be of type number');if(t<0)throw RangeError('The value "'+t+'" is invalid for option "size"')}function h(t){return u(t),f(t<0?0:0|c(t))}function l(t){for(var r=t.length<0?0:0|c(t.length),e=f(r),n=0;n<r;n+=1)e[n]=255&t[n];return e}r.Buffer=a,r.SlowBuffer=function(t){return+t!=t&&(t=0),a.alloc(+t)},r.INSPECT_MAX_BYTES=50,r.kMaxLength=0x7fffffff,a.TYPED_ARRAY_SUPPORT=function(){try{var t=new Uint8Array(1),r={foo:function(){return 42}};return Object.setPrototypeOf(r,Uint8Array.prototype),Object.setPrototypeOf(t,r),42===t.foo()}catch(t){return!1}}(),!a.TYPED_ARRAY_SUPPORT&&"u">typeof console&&"function"==typeof console.error&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(a.prototype,"parent",{enumerable:!0,get:function(){if(a.isBuffer(this))return this.buffer}}),Object.defineProperty(a.prototype,"offset",{enumerable:!0,get:function(){if(a.isBuffer(this))return this.byteOffset}}),a.poolSize=8192,a.from=function(t,r,e){return s(t,r,e)},Object.setPrototypeOf(a.prototype,Uint8Array.prototype),Object.setPrototypeOf(a,Uint8Array),a.alloc=function(t,r,e){return(u(t),t<=0)?f(t):void 0!==r?"string"==typeof e?f(t).fill(r,e):f(t).fill(r):f(t)},a.allocUnsafe=function(t){return h(t)},a.allocUnsafeSlow=function(t){return h(t)};function c(t){if(t>=0x7fffffff)throw RangeError("Attempt to allocate Buffer larger than maximum size: 0x7fffffff bytes");return 0|t}function p(t,r){if(a.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||O(t,ArrayBuffer))return t.byteLength;if("string"!=typeof t)throw TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof t);var e=t.length,n=arguments.length>2&&!0===arguments[2];if(!n&&0===e)return 0;for(var o=!1;;)switch(r){case"ascii":case"latin1":case"binary":return e;case"utf8":case"utf-8":return B(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*e;case"hex":return e>>>1;case"base64":return T(t).length;default:if(o)return n?-1:B(t).length;r=(""+r).toLowerCase(),o=!0}}function y(t,r,e){var o,i,f,a=!1;if((void 0===r||r<0)&&(r=0),r>this.length||((void 0===e||e>this.length)&&(e=this.length),e<=0||(e>>>=0)<=(r>>>=0)))return"";for(t||(t="utf8");;)switch(t){case"hex":return function(t,r,e){var n=t.length;(!r||r<0)&&(r=0),(!e||e<0||e>n)&&(e=n);for(var o="",i=r;i<e;++i)o+=R[t[i]];return o}(this,r,e);case"utf8":case"utf-8":return v(this,r,e);case"ascii":return function(t,r,e){var n="";e=Math.min(t.length,e);for(var o=r;o<e;++o)n+=String.fromCharCode(127&t[o]);return n}(this,r,e);case"latin1":case"binary":return function(t,r,e){var n="";e=Math.min(t.length,e);for(var o=r;o<e;++o)n+=String.fromCharCode(t[o]);return n}(this,r,e);case"base64":return o=this,i=r,f=e,0===i&&f===o.length?n.fromByteArray(o):n.fromByteArray(o.slice(i,f));case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return function(t,r,e){for(var n=t.slice(r,e),o="",i=0;i<n.length;i+=2)o+=String.fromCharCode(n[i]+256*n[i+1]);return o}(this,r,e);default:if(a)throw TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),a=!0}}function g(t,r,e){var n=t[r];t[r]=t[e],t[e]=n}function d(t,r,e,n,o){var i;if(0===t.length)return -1;if("string"==typeof e?(n=e,e=0):e>0x7fffffff?e=0x7fffffff:e<-0x80000000&&(e=-0x80000000),(i=e*=1)!=i&&(e=o?0:t.length-1),e<0&&(e=t.length+e),e>=t.length)if(o)return -1;else e=t.length-1;else if(e<0)if(!o)return -1;else e=0;if("string"==typeof r&&(r=a.from(r,n)),a.isBuffer(r))return 0===r.length?-1:m(t,r,e,n,o);if("number"==typeof r){if(r&=255,"function"==typeof Uint8Array.prototype.indexOf)if(o)return Uint8Array.prototype.indexOf.call(t,r,e);else return Uint8Array.prototype.lastIndexOf.call(t,r,e);return m(t,[r],e,n,o)}throw TypeError("val must be string, number or Buffer")}function m(t,r,e,n,o){var i,f=1,a=t.length,s=r.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(t.length<2||r.length<2)return -1;f=2,a/=2,s/=2,e/=2}function u(t,r){return 1===f?t[r]:t.readUInt16BE(r*f)}if(o){var h=-1;for(i=e;i<a;i++)if(u(t,i)===u(r,-1===h?0:i-h)){if(-1===h&&(h=i),i-h+1===s)return h*f}else -1!==h&&(i-=i-h),h=-1}else for(e+s>a&&(e=a-s),i=e;i>=0;i--){for(var l=!0,c=0;c<s;c++)if(u(t,i+c)!==u(r,c)){l=!1;break}if(l)return i}return -1}a.isBuffer=function(t){return null!=t&&!0===t._isBuffer&&t!==a.prototype},a.compare=function(t,r){if(O(t,Uint8Array)&&(t=a.from(t,t.offset,t.byteLength)),O(r,Uint8Array)&&(r=a.from(r,r.offset,r.byteLength)),!a.isBuffer(t)||!a.isBuffer(r))throw TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(t===r)return 0;for(var e=t.length,n=r.length,o=0,i=Math.min(e,n);o<i;++o)if(t[o]!==r[o]){e=t[o],n=r[o];break}return e<n?-1:+(n<e)},a.isEncoding=function(t){switch(String(t).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},a.concat=function(t,r){if(!Array.isArray(t))throw TypeError('"list" argument must be an Array of Buffers');if(0===t.length)return a.alloc(0);if(void 0===r)for(e=0,r=0;e<t.length;++e)r+=t[e].length;var e,n=a.allocUnsafe(r),o=0;for(e=0;e<t.length;++e){var i=t[e];if(O(i,Uint8Array)&&(i=a.from(i)),!a.isBuffer(i))throw TypeError('"list" argument must be an Array of Buffers');i.copy(n,o),o+=i.length}return n},a.byteLength=p,a.prototype._isBuffer=!0,a.prototype.swap16=function(){var t=this.length;if(t%2!=0)throw RangeError("Buffer size must be a multiple of 16-bits");for(var r=0;r<t;r+=2)g(this,r,r+1);return this},a.prototype.swap32=function(){var t=this.length;if(t%4!=0)throw RangeError("Buffer size must be a multiple of 32-bits");for(var r=0;r<t;r+=4)g(this,r,r+3),g(this,r+1,r+2);return this},a.prototype.swap64=function(){var t=this.length;if(t%8!=0)throw RangeError("Buffer size must be a multiple of 64-bits");for(var r=0;r<t;r+=8)g(this,r,r+7),g(this,r+1,r+6),g(this,r+2,r+5),g(this,r+3,r+4);return this},a.prototype.toString=function(){var t=this.length;return 0===t?"":0==arguments.length?v(this,0,t):y.apply(this,arguments)},a.prototype.toLocaleString=a.prototype.toString,a.prototype.equals=function(t){if(!a.isBuffer(t))throw TypeError("Argument must be a Buffer");return this===t||0===a.compare(this,t)},a.prototype.inspect=function(){var t="",e=r.INSPECT_MAX_BYTES;return t=this.toString("hex",0,e).replace(/(.{2})/g,"$1 ").trim(),this.length>e&&(t+=" ... "),"<Buffer "+t+">"},i&&(a.prototype[i]=a.prototype.inspect),a.prototype.compare=function(t,r,e,n,o){if(O(t,Uint8Array)&&(t=a.from(t,t.offset,t.byteLength)),!a.isBuffer(t))throw TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof t);if(void 0===r&&(r=0),void 0===e&&(e=t?t.length:0),void 0===n&&(n=0),void 0===o&&(o=this.length),r<0||e>t.length||n<0||o>this.length)throw RangeError("out of range index");if(n>=o&&r>=e)return 0;if(n>=o)return -1;if(r>=e)return 1;if(r>>>=0,e>>>=0,n>>>=0,o>>>=0,this===t)return 0;for(var i=o-n,f=e-r,s=Math.min(i,f),u=this.slice(n,o),h=t.slice(r,e),l=0;l<s;++l)if(u[l]!==h[l]){i=u[l],f=h[l];break}return i<f?-1:+(f<i)},a.prototype.includes=function(t,r,e){return -1!==this.indexOf(t,r,e)},a.prototype.indexOf=function(t,r,e){return d(this,t,r,e,!0)},a.prototype.lastIndexOf=function(t,r,e){return d(this,t,r,e,!1)};function v(t,r,e){e=Math.min(t.length,e);for(var n=[],o=r;o<e;){var i,f,a,s,u=t[o],h=null,l=u>239?4:u>223?3:u>191?2:1;if(o+l<=e)switch(l){case 1:u<128&&(h=u);break;case 2:(192&(i=t[o+1]))==128&&(s=(31&u)<<6|63&i)>127&&(h=s);break;case 3:i=t[o+1],f=t[o+2],(192&i)==128&&(192&f)==128&&(s=(15&u)<<12|(63&i)<<6|63&f)>2047&&(s<55296||s>57343)&&(h=s);break;case 4:i=t[o+1],f=t[o+2],a=t[o+3],(192&i)==128&&(192&f)==128&&(192&a)==128&&(s=(15&u)<<18|(63&i)<<12|(63&f)<<6|63&a)>65535&&s<1114112&&(h=s)}null===h?(h=65533,l=1):h>65535&&(h-=65536,n.push(h>>>10&1023|55296),h=56320|1023&h),n.push(h),o+=l}var c=n,p=c.length;if(p<=4096)return String.fromCharCode.apply(String,c);for(var y="",g=0;g<p;)y+=String.fromCharCode.apply(String,c.slice(g,g+=4096));return y}function b(t,r,e){if(t%1!=0||t<0)throw RangeError("offset is not uint");if(t+r>e)throw RangeError("Trying to access beyond buffer length")}function w(t,r,e,n,o,i){if(!a.isBuffer(t))throw TypeError('"buffer" argument must be a Buffer instance');if(r>o||r<i)throw RangeError('"value" argument is out of bounds');if(e+n>t.length)throw RangeError("Index out of range")}function M(t,r,e,n,o,i){if(e+n>t.length||e<0)throw RangeError("Index out of range")}function E(t,r,e,n,i){return r*=1,e>>>=0,i||M(t,r,e,4,34028234663852886e22,-34028234663852886e22),o.write(t,r,e,n,23,4),e+4}function A(t,r,e,n,i){return r*=1,e>>>=0,i||M(t,r,e,8,17976931348623157e292,-17976931348623157e292),o.write(t,r,e,n,52,8),e+8}a.prototype.write=function(t,r,e,n){if(void 0===r)n="utf8",e=this.length,r=0;else if(void 0===e&&"string"==typeof r)n=r,e=this.length,r=0;else if(isFinite(r))r>>>=0,isFinite(e)?(e>>>=0,void 0===n&&(n="utf8")):(n=e,e=void 0);else throw Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var o,i,f,a,s,u,h,l,c=this.length-r;if((void 0===e||e>c)&&(e=c),t.length>0&&(e<0||r<0)||r>this.length)throw RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var p=!1;;)switch(n){case"hex":return function(t,r,e,n){e=Number(e)||0;var o=t.length-e;n?(n=Number(n))>o&&(n=o):n=o;var i=r.length;n>i/2&&(n=i/2);for(var f=0;f<n;++f){var a,s=parseInt(r.substr(2*f,2),16);if((a=s)!=a)break;t[e+f]=s}return f}(this,t,r,e);case"utf8":case"utf-8":return o=r,i=e,U(B(t,this.length-o),this,o,i);case"ascii":return f=r,a=e,U(I(t),this,f,a);case"latin1":case"binary":return function(t,r,e,n){return U(I(r),t,e,n)}(this,t,r,e);case"base64":return s=r,u=e,U(T(t),this,s,u);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return h=r,l=e,U(function(t,r){for(var e,n,o=[],i=0;i<t.length&&!((r-=2)<0);++i)n=(e=t.charCodeAt(i))>>8,o.push(e%256),o.push(n);return o}(t,this.length-h),this,h,l);default:if(p)throw TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),p=!0}},a.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},a.prototype.slice=function(t,r){var e=this.length;t=~~t,r=void 0===r?e:~~r,t<0?(t+=e)<0&&(t=0):t>e&&(t=e),r<0?(r+=e)<0&&(r=0):r>e&&(r=e),r<t&&(r=t);var n=this.subarray(t,r);return Object.setPrototypeOf(n,a.prototype),n},a.prototype.readUIntLE=function(t,r,e){t>>>=0,r>>>=0,e||b(t,r,this.length);for(var n=this[t],o=1,i=0;++i<r&&(o*=256);)n+=this[t+i]*o;return n},a.prototype.readUIntBE=function(t,r,e){t>>>=0,r>>>=0,e||b(t,r,this.length);for(var n=this[t+--r],o=1;r>0&&(o*=256);)n+=this[t+--r]*o;return n},a.prototype.readUInt8=function(t,r){return t>>>=0,r||b(t,1,this.length),this[t]},a.prototype.readUInt16LE=function(t,r){return t>>>=0,r||b(t,2,this.length),this[t]|this[t+1]<<8},a.prototype.readUInt16BE=function(t,r){return t>>>=0,r||b(t,2,this.length),this[t]<<8|this[t+1]},a.prototype.readUInt32LE=function(t,r){return t>>>=0,r||b(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+0x1000000*this[t+3]},a.prototype.readUInt32BE=function(t,r){return t>>>=0,r||b(t,4,this.length),0x1000000*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},a.prototype.readIntLE=function(t,r,e){t>>>=0,r>>>=0,e||b(t,r,this.length);for(var n=this[t],o=1,i=0;++i<r&&(o*=256);)n+=this[t+i]*o;return n>=(o*=128)&&(n-=Math.pow(2,8*r)),n},a.prototype.readIntBE=function(t,r,e){t>>>=0,r>>>=0,e||b(t,r,this.length);for(var n=r,o=1,i=this[t+--n];n>0&&(o*=256);)i+=this[t+--n]*o;return i>=(o*=128)&&(i-=Math.pow(2,8*r)),i},a.prototype.readInt8=function(t,r){return(t>>>=0,r||b(t,1,this.length),128&this[t])?-((255-this[t]+1)*1):this[t]},a.prototype.readInt16LE=function(t,r){t>>>=0,r||b(t,2,this.length);var e=this[t]|this[t+1]<<8;return 32768&e?0xffff0000|e:e},a.prototype.readInt16BE=function(t,r){t>>>=0,r||b(t,2,this.length);var e=this[t+1]|this[t]<<8;return 32768&e?0xffff0000|e:e},a.prototype.readInt32LE=function(t,r){return t>>>=0,r||b(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},a.prototype.readInt32BE=function(t,r){return t>>>=0,r||b(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},a.prototype.readFloatLE=function(t,r){return t>>>=0,r||b(t,4,this.length),o.read(this,t,!0,23,4)},a.prototype.readFloatBE=function(t,r){return t>>>=0,r||b(t,4,this.length),o.read(this,t,!1,23,4)},a.prototype.readDoubleLE=function(t,r){return t>>>=0,r||b(t,8,this.length),o.read(this,t,!0,52,8)},a.prototype.readDoubleBE=function(t,r){return t>>>=0,r||b(t,8,this.length),o.read(this,t,!1,52,8)},a.prototype.writeUIntLE=function(t,r,e,n){if(t*=1,r>>>=0,e>>>=0,!n){var o=Math.pow(2,8*e)-1;w(this,t,r,e,o,0)}var i=1,f=0;for(this[r]=255&t;++f<e&&(i*=256);)this[r+f]=t/i&255;return r+e},a.prototype.writeUIntBE=function(t,r,e,n){if(t*=1,r>>>=0,e>>>=0,!n){var o=Math.pow(2,8*e)-1;w(this,t,r,e,o,0)}var i=e-1,f=1;for(this[r+i]=255&t;--i>=0&&(f*=256);)this[r+i]=t/f&255;return r+e},a.prototype.writeUInt8=function(t,r,e){return t*=1,r>>>=0,e||w(this,t,r,1,255,0),this[r]=255&t,r+1},a.prototype.writeUInt16LE=function(t,r,e){return t*=1,r>>>=0,e||w(this,t,r,2,65535,0),this[r]=255&t,this[r+1]=t>>>8,r+2},a.prototype.writeUInt16BE=function(t,r,e){return t*=1,r>>>=0,e||w(this,t,r,2,65535,0),this[r]=t>>>8,this[r+1]=255&t,r+2},a.prototype.writeUInt32LE=function(t,r,e){return t*=1,r>>>=0,e||w(this,t,r,4,0xffffffff,0),this[r+3]=t>>>24,this[r+2]=t>>>16,this[r+1]=t>>>8,this[r]=255&t,r+4},a.prototype.writeUInt32BE=function(t,r,e){return t*=1,r>>>=0,e||w(this,t,r,4,0xffffffff,0),this[r]=t>>>24,this[r+1]=t>>>16,this[r+2]=t>>>8,this[r+3]=255&t,r+4},a.prototype.writeIntLE=function(t,r,e,n){if(t*=1,r>>>=0,!n){var o=Math.pow(2,8*e-1);w(this,t,r,e,o-1,-o)}var i=0,f=1,a=0;for(this[r]=255&t;++i<e&&(f*=256);)t<0&&0===a&&0!==this[r+i-1]&&(a=1),this[r+i]=(t/f|0)-a&255;return r+e},a.prototype.writeIntBE=function(t,r,e,n){if(t*=1,r>>>=0,!n){var o=Math.pow(2,8*e-1);w(this,t,r,e,o-1,-o)}var i=e-1,f=1,a=0;for(this[r+i]=255&t;--i>=0&&(f*=256);)t<0&&0===a&&0!==this[r+i+1]&&(a=1),this[r+i]=(t/f|0)-a&255;return r+e},a.prototype.writeInt8=function(t,r,e){return t*=1,r>>>=0,e||w(this,t,r,1,127,-128),t<0&&(t=255+t+1),this[r]=255&t,r+1},a.prototype.writeInt16LE=function(t,r,e){return t*=1,r>>>=0,e||w(this,t,r,2,32767,-32768),this[r]=255&t,this[r+1]=t>>>8,r+2},a.prototype.writeInt16BE=function(t,r,e){return t*=1,r>>>=0,e||w(this,t,r,2,32767,-32768),this[r]=t>>>8,this[r+1]=255&t,r+2},a.prototype.writeInt32LE=function(t,r,e){return t*=1,r>>>=0,e||w(this,t,r,4,0x7fffffff,-0x80000000),this[r]=255&t,this[r+1]=t>>>8,this[r+2]=t>>>16,this[r+3]=t>>>24,r+4},a.prototype.writeInt32BE=function(t,r,e){return t*=1,r>>>=0,e||w(this,t,r,4,0x7fffffff,-0x80000000),t<0&&(t=0xffffffff+t+1),this[r]=t>>>24,this[r+1]=t>>>16,this[r+2]=t>>>8,this[r+3]=255&t,r+4},a.prototype.writeFloatLE=function(t,r,e){return E(this,t,r,!0,e)},a.prototype.writeFloatBE=function(t,r,e){return E(this,t,r,!1,e)},a.prototype.writeDoubleLE=function(t,r,e){return A(this,t,r,!0,e)},a.prototype.writeDoubleBE=function(t,r,e){return A(this,t,r,!1,e)},a.prototype.copy=function(t,r,e,n){if(!a.isBuffer(t))throw TypeError("argument should be a Buffer");if(e||(e=0),n||0===n||(n=this.length),r>=t.length&&(r=t.length),r||(r=0),n>0&&n<e&&(n=e),n===e||0===t.length||0===this.length)return 0;if(r<0)throw RangeError("targetStart out of bounds");if(e<0||e>=this.length)throw RangeError("Index out of range");if(n<0)throw RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),t.length-r<n-e&&(n=t.length-r+e);var o=n-e;if(this===t&&"function"==typeof Uint8Array.prototype.copyWithin)this.copyWithin(r,e,n);else if(this===t&&e<r&&r<n)for(var i=o-1;i>=0;--i)t[i+r]=this[i+e];else Uint8Array.prototype.set.call(t,this.subarray(e,n),r);return o},a.prototype.fill=function(t,r,e,n){if("string"==typeof t){if("string"==typeof r?(n=r,r=0,e=this.length):"string"==typeof e&&(n=e,e=this.length),void 0!==n&&"string"!=typeof n)throw TypeError("encoding must be a string");if("string"==typeof n&&!a.isEncoding(n))throw TypeError("Unknown encoding: "+n);if(1===t.length){var o,i=t.charCodeAt(0);("utf8"===n&&i<128||"latin1"===n)&&(t=i)}}else"number"==typeof t?t&=255:"boolean"==typeof t&&(t=Number(t));if(r<0||this.length<r||this.length<e)throw RangeError("Out of range index");if(e<=r)return this;if(r>>>=0,e=void 0===e?this.length:e>>>0,t||(t=0),"number"==typeof t)for(o=r;o<e;++o)this[o]=t;else{var f=a.isBuffer(t)?t:a.from(t,n),s=f.length;if(0===s)throw TypeError('The value "'+t+'" is invalid for argument "value"');for(o=0;o<e-r;++o)this[o+r]=f[o%s]}return this};var x=/[^+/0-9A-Za-z-_]/g;function B(t,r){r=r||1/0;for(var e,n=t.length,o=null,i=[],f=0;f<n;++f){if((e=t.charCodeAt(f))>55295&&e<57344){if(!o){if(e>56319||f+1===n){(r-=3)>-1&&i.push(239,191,189);continue}o=e;continue}if(e<56320){(r-=3)>-1&&i.push(239,191,189),o=e;continue}e=(o-55296<<10|e-56320)+65536}else o&&(r-=3)>-1&&i.push(239,191,189);if(o=null,e<128){if((r-=1)<0)break;i.push(e)}else if(e<2048){if((r-=2)<0)break;i.push(e>>6|192,63&e|128)}else if(e<65536){if((r-=3)<0)break;i.push(e>>12|224,e>>6&63|128,63&e|128)}else if(e<1114112){if((r-=4)<0)break;i.push(e>>18|240,e>>12&63|128,e>>6&63|128,63&e|128)}else throw Error("Invalid code point")}return i}function I(t){for(var r=[],e=0;e<t.length;++e)r.push(255&t.charCodeAt(e));return r}function T(t){return n.toByteArray(function(t){if((t=(t=t.split("=")[0]).trim().replace(x,"")).length<2)return"";for(;t.length%4!=0;)t+="=";return t}(t))}function U(t,r,e,n){for(var o=0;o<n&&!(o+e>=r.length)&&!(o>=t.length);++o)r[o+e]=t[o];return o}function O(t,r){return t instanceof r||null!=t&&null!=t.constructor&&null!=t.constructor.name&&t.constructor.name===r.name}var R=function(){for(var t="0123456789abcdef",r=Array(256),e=0;e<16;++e)for(var n=16*e,o=0;o<16;++o)r[n+o]=t[e]+t[o];return r}()},321:function(t,r){r.read=function(t,r,e,n,o){var i,f,a=8*o-n-1,s=(1<<a)-1,u=s>>1,h=-7,l=e?o-1:0,c=e?-1:1,p=t[r+l];for(l+=c,i=p&(1<<-h)-1,p>>=-h,h+=a;h>0;i=256*i+t[r+l],l+=c,h-=8);for(f=i&(1<<-h)-1,i>>=-h,h+=n;h>0;f=256*f+t[r+l],l+=c,h-=8);if(0===i)i=1-u;else{if(i===s)return f?NaN:1/0*(p?-1:1);f+=Math.pow(2,n),i-=u}return(p?-1:1)*f*Math.pow(2,i-n)},r.write=function(t,r,e,n,o,i){var f,a,s,u=8*i-o-1,h=(1<<u)-1,l=h>>1,c=5960464477539062e-23*(23===o),p=n?0:i-1,y=n?1:-1,g=+(r<0||0===r&&1/r<0);for(isNaN(r=Math.abs(r))||r===1/0?(a=+!!isNaN(r),f=h):(f=Math.floor(Math.log(r)/Math.LN2),r*(s=Math.pow(2,-f))<1&&(f--,s*=2),f+l>=1?r+=c/s:r+=c*Math.pow(2,1-l),r*s>=2&&(f++,s/=2),f+l>=h?(a=0,f=h):f+l>=1?(a=(r*s-1)*Math.pow(2,o),f+=l):(a=r*Math.pow(2,l-1)*Math.pow(2,o),f=0));o>=8;t[e+p]=255&a,p+=y,a/=256,o-=8);for(f=f<<o|a,u+=o;u>0;t[e+p]=255&f,p+=y,f/=256,u-=8);t[e+p-y]|=128*g}}},o={};function i(t){var r=o[t];if(void 0!==r)return r.exports;var e=o[t]={exports:{}},f=!0;try{n[t](e,e.exports,i),f=!1}finally{f&&delete o[t]}return e.exports}i.ab="/ROOT/node_modules/next/dist/compiled/buffer/",r.exports=i(230)}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,835878,e=>{"use strict";var t=e.i(843476),n=e.i(635963);e.s(["BotRoster",0,function({bots:e}){return e.length<2?null:(0,t.jsxs)("span",{className:"flex shrink-0 items-center gap-1.5",title:e.map(e=>e.name).join(", "),children:[(0,t.jsx)("span",{className:"flex items-center gap-0.5",children:e.slice(0,3).map(e=>(0,t.jsx)(n.BotMark,{size:18,seed:e.name,color:e.icon?.color,shape:e.icon?.shape,outline:e.icon?.outline,paint:e.icon?.paint,notify:!1,className:"shrink-0"},e.name))}),(0,t.jsxs)("span",{className:"font-mono text-[10px] text-muted-foreground",children:[e.length," bots"]})]})}])},351866,51481,825398,e=>{"use strict";var t=e.i(843476),n=e.i(401851),a=e.i(689664),s=e.i(716327),o=e.i(24071),r=e.i(456420);let i={name:"circle-question-mark",size:24,node:[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3",key:"1u773s"}],["path",{d:"M12 17h.01",key:"p32p05"}]],aliases:["help-circle","circle-help"]};i.node;let l=(0,r.default)(i);e.s(["CircleQuestionMark",0,l],51481);var d=e.i(508734),c=e.i(919191),u=e.i(632781);let m={name:"rotate-cw",size:24,node:[["path",{d:"M21 12a9 9 0 1 1-9-9c2.52 0 4.93 1 6.74 2.74L21 8",key:"1p45f6"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}]]};m.node;let x=(0,r.default)(m);e.s(["RotateCw",0,x],825398);var b=e.i(263676),p=e.i(271645),f=e.i(176782),h=e.i(552245),g=e.i(225913),k=e.i(647163);let j=(0,g.cva)("group/bubble relative flex w-fit max-w-[80%] min-w-0 flex-col gap-1 group-data-[align=end]/message:self-end data-[align=end]:self-end data-[variant=ghost]:max-w-full",{variants:{variant:{default:"*:data-[slot=bubble-content]:bg-primary *:data-[slot=bubble-content]:text-primary-foreground [&>[data-slot=bubble-content]:is(button,a):hover]:bg-primary/80",secondary:"*:data-[slot=bubble-content]:bg-secondary *:data-[slot=bubble-content]:text-secondary-foreground [&>[data-slot=bubble-content]:is(button,a):hover]:bg-[color-mix(in_oklch,var(--secondary),var(--foreground)_5%)]",muted:"*:data-[slot=bubble-content]:bg-muted [&>[data-slot=bubble-content]:is(button,a):hover]:bg-[color-mix(in_oklch,var(--muted),var(--foreground)_5%)]",tinted:"*:data-[slot=bubble-content]:bg-[oklch(from_var(--primary)_0.93_calc(c*0.4)_h)] *:data-[slot=bubble-content]:text-foreground dark:*:data-[slot=bubble-content]:bg-[oklch(from_var(--primary)_0.3_calc(c*0.4)_h)] [&>[data-slot=bubble-content]:is(button,a):hover]:bg-[oklch(from_var(--primary)_0.88_calc(c*0.5)_h)] dark:[&>[data-slot=bubble-content]:is(button,a):hover]:bg-[oklch(from_var(--primary)_0.35_calc(c*0.5)_h)]",outline:"*:data-[slot=bubble-content]:border-border *:data-[slot=bubble-content]:bg-background [&>[data-slot=bubble-content]:is(button,a):hover]:bg-muted [&>[data-slot=bubble-content]:is(button,a):hover]:text-foreground dark:[&>[data-slot=bubble-content]:is(button,a):hover]:bg-input/30",ghost:"border-none *:data-[slot=bubble-content]:rounded-none *:data-[slot=bubble-content]:bg-transparent *:data-[slot=bubble-content]:p-0 [&>[data-slot=bubble-content]:is(button,a):hover]:bg-muted [&>[data-slot=bubble-content]:is(button,a):hover]:text-foreground dark:[&>[data-slot=bubble-content]:is(button,a):hover]:bg-muted/50",destructive:"*:data-[slot=bubble-content]:bg-destructive/10 *:data-[slot=bubble-content]:text-destructive dark:*:data-[slot=bubble-content]:bg-destructive/20 [&>[data-slot=bubble-content]:is(button,a):hover]:bg-destructive/20 dark:[&>[data-slot=bubble-content]:is(button,a):hover]:bg-destructive/30"}},defaultVariants:{variant:"default"}});function v({variant:e="default",align:n="start",className:a,...s}){return(0,t.jsx)("div",{"data-slot":"bubble","data-variant":e,"data-align":n,className:(0,k.cn)(j({variant:e}),a),...s})}function w({className:e,render:t,...n}){var a;return a={defaultTagName:"div",props:(0,f.mergeProps)({className:(0,k.cn)("w-fit max-w-full min-w-0 overflow-hidden rounded-xl border border-transparent px-3 py-2 text-sm leading-relaxed wrap-break-word group-data-[align=end]/bubble:self-end [button]:text-left [button,a]:transition-colors [button,a]:outline-none [button,a]:focus-visible:border-ring [button,a]:focus-visible:ring-3 [button,a]:focus-visible:ring-ring/50",e)},n),render:t,state:{slot:"bubble-content"}},(0,h.useRenderElement)(a.defaultTagName??"div",a,a)}(0,g.cva)("absolute z-10 flex w-fit shrink-0 items-center justify-center gap-1 rounded-full bg-muted px-1.5 py-0.5 text-sm ring-3 ring-card has-[button]:p-0",{variants:{side:{top:"top-0 -translate-y-3/4",bottom:"bottom-0 translate-y-3/4"},align:{start:"left-3",end:"right-3"}},defaultVariants:{side:"bottom",align:"end"}});var N=e.i(496336),y=e.i(683408),_=e.i(660302),T=e.i(127341),z=e.i(6799),C=e.i(95187);let M=(0,C.createServerReference)("7ff09f7439ecc587fec9774691ced41c20de0788c5",C.callServer,void 0,C.findSourceMapURL,"compactThreadAction");var S=e.i(807038),B=e.i(635963),R=e.i(256604),$=e.i(621285),O=e.i(245629),I=e.i(609856),P=e.i(553429),F=e.i(978411),L=e.i(222055);function A({onClick:e}){return(0,t.jsx)("button",{type:"button",onClick:e,"aria-label":"Fold the room away",className:"grid size-7 shrink-0 place-items-center rounded-full bg-muted text-foreground outline-none transition-colors hover:bg-muted-foreground/20 focus-visible:ring-3 focus-visible:ring-ring/50",children:(0,t.jsx)(b.X,{className:"size-3.5"})})}function q({thread:e}){return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(H,{thread:e}),(0,t.jsx)(E,{thread:e}),(0,t.jsx)(Y,{thread:e})]})}function H({thread:e}){let{contextTokens:n,tokens:a}=e;return n?(0,t.jsx)("span",{title:`Last step ${(0,k.formatCount)(n)} tokens \xb7 in total in ${(0,k.formatCount)(a.input)} \xb7 out ${(0,k.formatCount)(a.output)}`,className:"shrink-0 font-mono text-[10px] text-muted-foreground tabular-nums",children:(0,k.formatCount)(n)}):null}function E({thread:e}){let{contextTokens:n,contextBudget:a}=e,[s,o]=(0,p.useState)(!1),[r,i]=(0,I.useServerAction)(M,{onOk:()=>o(!0)}),[l,d]=(0,p.useState)(n);if(l!==n&&(d(n),o(!1)),!n||!a)return null;let c=Math.min(1,n/a);return(0,t.jsx)("button",{type:"button",disabled:i||s,onClick:()=>void r(e.id,e.bot.name),title:s?"It summarizes itself at its next step":`Context ${(0,k.formatCount)(n)} of ${(0,k.formatCount)(a)} — it summarizes itself at the end of the bar. Press to have it do so at its next step`,"aria-label":"Summarize this thread's context at its next step",className:"-my-2 flex h-6 shrink-0 items-center rounded-sm outline-none focus-visible:ring-3 focus-visible:ring-ring/50 disabled:cursor-default",children:(0,t.jsx)("span",{className:"block h-[3px] w-9 overflow-hidden rounded-full bg-muted",children:(0,t.jsx)("span",{className:(0,k.cn)("block h-full rounded-full",s?"animate-pulse bg-muted-foreground/40":c>.9?"bg-amber-500/80":"bg-muted-foreground/70"),style:{width:`${Math.max(4,Math.round(100*c))}%`}})})})}let D={working:"text-muted-foreground",waiting:k.WAITING_INK,done:"text-foreground",cancelled:"text-muted-foreground"},U={working:"working",waiting:"waiting",done:"done",cancelled:"stopped"};function Y({thread:e}){let n="done"===e.status&&e.seen?"text-muted-foreground":D[e.status];return"working"===e.status?(0,t.jsx)(_.ShinyText,{text:U.working,speed:2.2,className:"shrink-0 font-mono text-[10px]"}):(0,t.jsx)("span",{className:(0,k.cn)("flex shrink-0 items-center gap-1.5 font-mono text-[10px]",n),children:U[e.status]})}function V({thread:e,roster:n,side:a,onPick:s,className:o}){let r=(0,F.useOfficePointed)();return(0,p.useEffect)(()=>()=>F.officePointed.set(null),[]),(0,t.jsx)(T.Tabs,{value:a??e.bot.name,onValueChange:t=>s(t===e.bot.name?null:String(t)),className:(0,k.cn)("shrink-0 gap-0 px-3 pt-1 pb-0.5",o),children:(0,t.jsx)(T.TabsList,{className:"relative w-full justify-start gap-1 overflow-x-auto rounded-none bg-transparent p-0 scrollbar-none group-data-horizontal/tabs:h-auto",children:n.map(n=>{let a=G(e,n.name);return(0,t.jsxs)(T.TabsTrigger,{value:n.name,onPointerEnter:()=>F.officePointed.set(n.name),onPointerLeave:()=>F.officePointed.set(null),className:(0,k.cn)(K,"pl-1.5",r===n.name&&"bg-muted/60 text-foreground"),children:[(0,t.jsx)(B.BotMark,{size:16,seed:n.name,color:n.icon?.color,shape:n.icon?.shape,outline:n.icon?.outline,paint:n.icon?.paint,notify:"asking"===a,crossed:Q(e,n.name),className:"shrink-0"}),(0,t.jsx)("span",{className:"max-w-28 truncate",children:n.name}),"running"===a&&(0,t.jsx)(u.Loader2,{className:"size-3 animate-spin text-muted-foreground/70"})]},n.name)})})})}let K="h-7 flex-none rounded-full px-3 py-0 text-[12px] text-muted-foreground hover:bg-muted/60 data-active:bg-muted data-active:text-foreground group-data-[variant=default]/tabs-list:data-active:shadow-none dark:data-active:border-transparent dark:data-active:bg-muted",Q=(e,t)=>e.room.participants.some(e=>e.bot===t&&("cancelled"===e.state||"paused"===e.state));function G(e,t){let{room:n}=e;return n.questions.some(e=>e.bot===t)?"asking":"working"===e.status&&n.participants.some(e=>e.bot===t&&"running"===e.state)?"running":null}function W({turn:e,thread:n,self:a}){let s=e.speaker.name===a,o=s?"none":er(e.speaker)?"dark":"secondary",r=null;return(0,t.jsx)("div",{className:"animate-in fade-in slide-in-from-bottom-2 duration-300",children:(0,t.jsx)(em,{side:s?"start":"end",name:ei(e.speaker),mark:(0,t.jsx)(ec,{bot:e.speaker}),children:e.entries.map(i=>{if("work"===i.kind)return s?(0,t.jsx)(J,{lines:i.lines,trailing:i.open,bot:e.speaker,thread:n},i.key):(0,t.jsx)(X,{lines:i.lines,trailing:i.open,bot:e.speaker,thread:n},i.key);let l=(0,F.heardBy)(i.line),d=l&&l.name!==e.speaker.name&&l.name!==a&&!er(l)&&l.name!==r?l:null;return l&&(r=l.name),(0,t.jsx)(ex,{line:i.line,surface:o,mention:d,threadId:n.id},i.key)})})})}function X({lines:e,trailing:n,bot:a,thread:s}){var o;let[r,i]=(0,p.useState)(!1),[l,d]=(0,p.useState)(null),c=n?G(s,a.name):null,m=(o=e,[["tool","step"],["say","note"],["stop","stop"],["note","compaction"]].map(([e,t])=>[o.filter(t=>t.kind===e).length,t]).filter(([e])=>e>0).map(([e,t])=>`${e} ${t}${1===e?"":"s"}`).join(" · ")),x=e.filter(e=>e.tool?.results!==void 0);if(!c&&!m)return null;let b=e.findLast(e=>"tool"===e.kind||"say"===e.kind),f=r&&e.length>0;return(0,t.jsxs)("div",{className:(0,k.cn)("flex min-w-0 flex-col rounded-2xl bg-muted/40 p-1",f?"w-full":"w-fit max-w-full"),children:[(0,t.jsxs)("button",{type:"button",disabled:!e.length,"aria-expanded":f,onClick:()=>{i(e=>!e),d(null)},className:"flex min-w-0 items-center gap-2 rounded-xl px-2.5 py-1.5 text-left outline-none transition-colors enabled:hover:bg-muted/60 focus-visible:ring-3 focus-visible:ring-ring/50",children:["running"===c&&(0,t.jsx)(u.Loader2,{className:"size-3 shrink-0 animate-spin text-muted-foreground/60"}),c?(0,t.jsx)(_.ShinyText,{text:"asking"===c?"waiting on you":b?en(b):"working",tone:"asking"===c?"waiting":"muted",speed:2.4,className:(0,k.cn)("min-w-0 truncate text-[12px] leading-4",f&&"flex-1")}):(0,t.jsx)(ee,{words:b?en(b):"",facts:[m,function(e){let t=e.flatMap(e=>e.at?[(0,O.toDate)(e.at).getTime()]:[]);if(t.length<2)return"";let n=Math.round((Math.max(...t)-Math.min(...t))/1e3);if(n<1)return"";if(n<60)return`${n}s`;let a=Math.round(n/60);return a<60?`${a} min`:`${Math.floor(a/60)}h ${a%60}m`}(e)].filter(Boolean).join(" · "),grow:f}),e.length>0&&(0,t.jsx)(et,{open:f})]}),!f&&x.length>0&&(0,t.jsx)("div",{className:"flex flex-wrap items-center gap-1 px-2 pt-0.5 pb-1.5",children:x.map(e=>e.tool&&(0,t.jsx)(L.StepTile,{tool:e.tool,onOpen:()=>{d(e.id),i(!0)}},e.id))}),f&&(0,t.jsx)("div",{className:"flex min-w-0 flex-col gap-0.5 pt-0.5",children:ew(e).map(e=>"tools"===e.kind?e.lines.map(e=>e.tool&&(0,t.jsx)(L.BotTool,{tool:e.tool,threadId:s.id,collapsed:e.id!==l},e.id)):"stops"===e.kind?(0,t.jsx)("div",{className:"px-1.5 py-1",children:(0,t.jsx)(ej,{lines:e.lines})},e.key):e.lines.map(e=>(0,t.jsx)(eg,{line:e,inset:!0},e.id)))})]})}function J({lines:e,trailing:n,bot:a,thread:s}){let o=n?G(s,a.name):null,r=e.some(e=>e.tool&&void 0===e.tool.results);return(0,t.jsxs)(t.Fragment,{children:[ew(e).map(e=>"tools"===e.kind?(0,t.jsx)(Z,{lines:e.lines,threadId:s.id},e.key):"stops"===e.kind?(0,t.jsx)(ej,{lines:e.lines},e.key):e.lines.map(e=>(0,t.jsx)(eg,{line:e},e.id))),o&&(0,t.jsx)(_.ShinyText,{text:"asking"===o?"waiting on you":"on the next step…",tone:"asking"===o?"waiting":"muted",speed:2.2,className:(0,k.cn)("block px-1 font-mono text-[10px]",r&&"invisible")})]})}function Z({lines:e,threadId:n}){return(0,t.jsx)("div",{className:"flex w-full flex-col gap-0.5 rounded-2xl bg-muted/40 p-1",children:e.map(e=>e.tool&&(0,t.jsx)(L.BotTool,{tool:e.tool,threadId:n,collapsed:!0},e.id))})}function ee({words:e,facts:n,grow:a=!1}){return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("span",{className:(0,k.cn)("min-w-0 truncate text-[12.5px] leading-5 text-foreground/80",a&&"flex-1"),children:e}),(0,t.jsx)("span",{className:"shrink-0 font-mono text-[10.5px] leading-4 text-muted-foreground",children:n})]})}function et({open:e}){return(0,t.jsx)("span",{className:"grid size-5.5 shrink-0 place-items-center rounded-md bg-background text-muted-foreground ring-1 ring-border/60",children:(0,t.jsx)(s.ChevronDown,{className:(0,k.cn)("size-3.5 transition-transform",e&&"rotate-180")})})}function en(e){return"tool"===e.kind&&e.tool?e.tool.note??`${e.tool.name} \xb7 ${e.tool.input}`:(0,k.plainText)(e.text).replace(/\s+/g," ").trim()}function ea({thread:e}){let n="user"===e.startedBy?eo:es;return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(el,{from:n,to:e.bot}),(0,t.jsx)(em,{side:"end",name:ei(n),mark:(0,t.jsx)(ec,{bot:n}),children:(0,t.jsx)(eu,{dark:!0,className:"py-2 pr-2 pl-3.5",children:(0,t.jsx)(N.FoldedText,{text:e.request,subject:"request",className:"wrap-anywhere"})})})]})}let es={name:P.ROOM_THURSDAY},eo={name:P.ROOM_USER},er=e=>e.name===es.name||e.name===eo.name,ei=e=>e.name===eo.name?"You":e.name;function el({from:e,to:n}){return(0,t.jsx)("div",{className:"flex animate-in justify-center fade-in duration-300",children:(0,t.jsxs)("span",{className:"flex max-w-full items-center gap-1.5 rounded-full bg-muted px-2.5 py-1 font-mono text-[10px] text-muted-foreground",children:[(0,t.jsx)(ed,{bot:e}),(0,t.jsx)("span",{className:"shrink-0 text-muted-foreground",children:e.name===eo.name?"asked":"invited"}),(0,t.jsx)(ed,{bot:n})]})})}function ed({bot:e}){return e.name===eo.name?(0,t.jsx)("span",{className:"shrink-0",children:"You"}):(0,t.jsxs)("span",{className:"flex min-w-0 items-center gap-1.5",children:[e.name===es.name?(0,t.jsx)(R.ThursdayMark,{size:15,className:"shrink-0"}):(0,t.jsx)(B.BotMark,{size:15,seed:e.name,color:e.icon?.color,shape:e.icon?.shape,outline:e.icon?.outline,paint:e.icon?.paint,notify:!1,className:"shrink-0"}),(0,t.jsx)("span",{className:"truncate",children:e.name})]})}function ec({bot:e}){return e.name===eo.name?null:e.name===es.name?(0,t.jsx)(R.ThursdayMark,{size:26,className:"mt-1 shrink-0"}):(0,t.jsx)(B.BotMark,{size:26,seed:e.name,color:e.icon?.color,shape:e.icon?.shape,outline:e.icon?.outline,paint:e.icon?.paint,notify:!1,className:"mt-1 shrink-0"})}function eu({dark:e=!1,children:n,className:a}){return(0,t.jsx)(v,{align:"end",variant:e?"default":"secondary",className:"max-w-full",children:(0,t.jsx)(w,{className:(0,k.cn)("rounded-tr-md px-3.5",a),children:(0,t.jsx)("div",{className:(0,k.cn)("min-w-0",e&&"inverse"),children:n})})})}function em({side:e,mark:n,name:a,children:s}){return(0,t.jsxs)("div",{className:(0,k.cn)("flex gap-2.5","end"===e&&"flex-row-reverse"),children:[n,(0,t.jsxs)("div",{className:(0,k.cn)("flex min-w-0 flex-1 flex-col gap-1.5 [&>*+*]:max-w-[80%]","end"===e&&"items-end"),children:[(0,t.jsx)("p",{className:"max-w-[80%] truncate px-1 font-mono text-[10px] text-muted-foreground",children:a}),s]})]})}function ex({line:e,surface:n,mention:a,threadId:s=null}){let o=!!e.question,r="result"===e.kind,i="none"!==n,l=(0,S.shortenPaths)(e.text),d=(0,t.jsxs)(t.Fragment,{children:[o&&(0,t.jsx)(eh,{}),a?(0,t.jsx)(ef,{bot:a,bubble:i,children:l}):(0,t.jsx)(eb,{bubble:i,className:(0,k.cn)(!r&&"leading-snug"),children:l}),(0,t.jsx)(S.Attachments,{text:e.text,from:s,onBubble:i,className:"mt-2"})]});return(0,t.jsxs)(t.Fragment,{children:[i?(0,t.jsx)(eu,{dark:"dark"===n,children:d}):(0,t.jsx)("div",{className:"min-w-0 max-w-full px-1",children:d}),e.steppedIn&&(0,t.jsxs)("p",{className:"flex items-center gap-1 px-1 font-mono text-[10px] text-muted-foreground",children:[(0,t.jsx)(c.CornerDownLeft,{className:"size-2.5"}),"stepped in"]}),r&&(0,t.jsx)("div",{className:"flex px-1",children:(0,t.jsx)(ek,{text:e.text})})]})}function eb({children:e,bubble:n=!1,className:a}){return(0,t.jsx)(y.Markdown,{className:(0,k.cn)("min-w-0 max-w-full text-[13px] leading-relaxed wrap-anywhere break-keep [&_h1]:text-[15px] [&_h2]:text-[14px] [&_h3]:text-[13px] [&_h3]:font-semibold [&_li]:my-0.5 [&_table]:text-[12px] [&_table]:wrap-normal [&>*:first-child]:mt-0 [&>*:last-child]:mb-0",n&&"[&_[data-streamdown=inline-code]]:text-[12px] [&_[data-streamdown=code-block]]:my-2 [&_[data-streamdown=code-block]]:gap-0 [&_[data-streamdown=code-block]]:rounded-[10px] [&_[data-streamdown=code-block]]:border-0 [&_[data-streamdown=code-block]]:bg-background [&_[data-streamdown=code-block]]:p-0 [&_[data-streamdown=code-block-header]]:h-7 [&_[data-streamdown=code-block-header]]:px-2.5 [&_[data-streamdown=code-block-header]]:text-[11px] [&_[data-streamdown=code-block-body]]:border-0 [&_[data-streamdown=code-block-body]]:bg-transparent! [&_[data-streamdown=code-block-body]]:px-2.5 [&_[data-streamdown=code-block-body]]:pt-0 [&_[data-streamdown=code-block-body]]:pb-2.5 [&_[data-streamdown=code-block-body]]:text-[12.5px] [&_[data-streamdown=code-block]_div:has(>[data-streamdown=code-block-actions])]:-mt-7 [&_[data-streamdown=code-block-actions]]:mr-1 [&_[data-streamdown=code-block-actions]]:border-0 [&_[data-streamdown=code-block-actions]]:bg-transparent!",a),children:e})}function ep({bot:e,bubble:n}){return(0,t.jsxs)("span",{className:(0,k.cn)("mr-1.5 inline-flex h-5 max-w-full items-center gap-1 rounded-full pr-2 pl-[3px] align-[-4px] text-[12px] leading-none font-medium whitespace-nowrap text-foreground",n?"bg-background":"bg-muted"),children:[(0,t.jsx)(B.BotMark,{size:14,seed:e.name,color:e.icon?.color,shape:e.icon?.shape,outline:e.icon?.outline,paint:e.icon?.paint,notify:!1,className:"shrink-0"}),(0,t.jsx)("span",{className:"truncate",children:e.name})]})}function ef({bot:e,bubble:n,children:a}){return(0,t.jsxs)("div",{className:"min-w-0 max-w-full text-[13px] leading-snug",children:[(0,t.jsx)(ep,{bot:e,bubble:n}),(0,t.jsx)(eb,{bubble:n,className:"contents leading-snug [&>p:first-child]:inline",children:a})]})}function eh(){return(0,t.jsxs)("p",{className:"mb-1 flex items-center gap-1.5 text-[12px] leading-4 font-medium text-muted-foreground",children:[(0,t.jsx)(l,{className:"size-3.5 shrink-0"}),"Question"]})}function eg({line:e,inset:n=!1}){return"note"===e.kind?(0,t.jsxs)("details",{className:"w-full px-2 py-1 text-muted-foreground",children:[(0,t.jsxs)("summary",{className:"flex cursor-pointer list-none items-center gap-2.5 outline-none [&::-webkit-details-marker]:hidden",children:[(0,t.jsx)("span",{className:"h-px flex-1 bg-border"}),(0,t.jsx)("span",{className:"min-w-0 text-center font-mono text-[10px]",children:"Compacted — it goes on from its summary"}),(0,t.jsx)("span",{className:"h-px flex-1 bg-border"})]}),(0,t.jsx)(eb,{className:"mt-2 rounded-xl bg-muted/40 px-3 py-2 text-[11px]",children:e.text})]}):(0,t.jsx)(eb,{className:(0,k.cn)("text-[12.5px] text-muted-foreground",n?"px-2.5 py-1":"px-1"),children:e.text})}function ek({text:e}){let[n,s]=(0,p.useState)(!1),o=(0,p.useRef)(null);return(0,p.useEffect)(()=>()=>{o.current&&clearTimeout(o.current)},[]),(0,t.jsx)("button",{type:"button","aria-label":"Copy the answer",onClick:async()=>{try{await navigator.clipboard.writeText(e),s(!0),o.current&&clearTimeout(o.current),o.current=setTimeout(()=>s(!1),1400)}catch(e){z.toast.add({type:"error",title:"Could not copy the answer",description:(0,k.errorToString)(e)})}},className:"grid size-5 shrink-0 place-items-center rounded-md text-muted-foreground outline-none transition-colors hover:bg-muted hover:text-foreground focus-visible:ring-3 focus-visible:ring-ring/50",children:n?(0,t.jsx)(a.Check,{className:"size-3"}):(0,t.jsx)(d.Copy,{className:"size-3"})})}function ej({lines:e}){return(0,t.jsxs)("details",{className:"group min-w-0 px-1 text-muted-foreground",children:[(0,t.jsxs)("summary",{className:"flex cursor-pointer list-none items-center gap-1.5 text-[12.5px] leading-relaxed outline-none [&::-webkit-details-marker]:hidden",children:[(0,t.jsx)(x,{className:"size-3 shrink-0"}),(0,t.jsx)("span",{className:"min-w-0 truncate",children:ev(e[0].text)}),e.length>1&&(0,t.jsxs)("span",{className:"shrink-0 font-mono text-[10px] text-muted-foreground",children:["×",e.length]}),(0,t.jsx)(s.ChevronDown,{className:"size-2.5 shrink-0 text-muted-foreground/70 transition-transform group-open:rotate-180"})]}),(0,t.jsx)("div",{className:"mt-1 space-y-1 pl-4.5 text-[11px] leading-relaxed",children:e.map(e=>(0,t.jsxs)("p",{className:"flex gap-2 break-keep wrap-anywhere",children:[e.at&&(0,t.jsx)("span",{className:"shrink-0 font-mono text-muted-foreground tabular-nums",children:(0,n.format)((0,O.toDate)(e.at),"HH:mm:ss")}),(0,t.jsx)("span",{className:"min-w-0",children:e.text})]},e.id))})]})}let ev=e=>e.split(" (")[0].replace(/\.$/,"");function ew(e){let t=[];for(let n of e){let e="tool"===n.kind&&n.tool?"tools":"stop"===n.kind?"stops":"said",a=t.at(-1),s=a?.kind===e&&("stops"!==e||ev(a.lines[0].text)===ev(n.text));a&&s?a.lines.push(n):t.push({kind:e,key:n.id,lines:[n]})}return t}e.s(["Conversation",0,function({thread:e,tab:n=null,onTab:a,className:s,tabsClassName:o}){let r,i=(0,p.useRef)(null),l=(0,p.useRef)(!0),d=e.roster,c=a&&n!==e.bot.name&&d.some(e=>e.name===n)?n:null,u=c??e.bot.name,m=d.filter(t=>(!c||t.name===c)&&G(e,t.name)),x=(0,F.threadItems)((r=new Set(e.room.questions.map(e=>e.id))).size?{...e,lines:e.lines.filter(e=>!("ask"===e.kind&&void 0!==e.questionId&&r.has(e.questionId)))}:e,u,m);return(0,p.useEffect)(()=>{l.current=!0},[e.id,c]),(0,p.useEffect)(()=>{let e=i.current;e&&l.current&&(e.scrollTop=e.scrollHeight)},[e.lines,e.status,c]),(0,p.useEffect)(()=>{let e=i.current;if(!e)return;let t=new ResizeObserver(()=>{l.current&&(e.scrollTop=e.scrollHeight)});for(let n of(t.observe(e),Array.from(e.children)))t.observe(n);return()=>t.disconnect()},[x.length,e.lines,c]),(0,t.jsxs)($.FileViewer,{children:[a&&(0,t.jsx)(V,{thread:e,roster:d,side:c,onPick:a,className:o}),(0,t.jsxs)("div",{ref:i,onScroll:e=>{let t=e.currentTarget;l.current=t.scrollHeight-t.scrollTop-t.clientHeight<24},className:(0,k.cn)("min-w-0 max-h-[64vh] space-y-3 overflow-y-auto px-4 pt-6 pb-4 mask-[linear-gradient(to_bottom,transparent,black_2rem)] scrollbar-none",s),children:[!c&&(0,t.jsx)(ea,{thread:e}),x.map(n=>"invite"===n.kind?(0,t.jsx)(el,{from:n.from,to:n.to},n.key):(0,t.jsx)(W,{turn:n,thread:e,self:u},n.key))]})]})},"FoldButton",0,A,"TAB",0,K,"THURSDAY",0,es,"ThreadFacts",0,q,"ThreadHeader",0,function({thread:e,onBack:n,onClose:a,titled:s=!0,children:r}){return s?(0,t.jsxs)("div",{className:"flex items-center gap-2 px-3 pt-3 pb-1",children:[(0,t.jsx)("button",{type:"button",onClick:n,"aria-label":"Back to the list",className:"shrink-0 rounded-md p-1 text-muted-foreground outline-none transition-colors hover:text-foreground focus-visible:ring-3 focus-visible:ring-ring/50",children:(0,t.jsx)(o.ChevronLeft,{className:"size-4"})}),(0,t.jsx)(B.BotMark,{size:22,seed:e.bot.name,color:e.bot.icon?.color,shape:e.bot.icon?.shape,outline:e.bot.icon?.outline,paint:e.bot.icon?.paint,notify:!1,crossed:"cancelled"===e.status||Q(e,e.bot.name)}),(0,t.jsx)("span",{className:"min-w-0 flex-1 truncate text-[13px] font-medium",children:e.label}),(0,t.jsx)(q,{thread:e}),r,(0,t.jsx)(A,{onClick:a})]}):(0,t.jsxs)("div",{className:"flex items-center gap-2 px-3 pt-3 pb-1",children:[(0,t.jsxs)("button",{type:"button",onClick:n,"aria-label":"Back to the list",className:"flex shrink-0 items-center gap-1 rounded-md p-1 pr-2 text-[12.5px] text-muted-foreground outline-none transition-colors hover:text-foreground focus-visible:ring-3 focus-visible:ring-ring/50",children:[(0,t.jsx)(o.ChevronLeft,{className:"size-4"}),"Threads"]}),(0,t.jsx)("span",{className:"flex-1"}),(0,t.jsx)(q,{thread:e}),r,(0,t.jsx)(A,{onClick:a})]})},"YOU",0,eo,"leadOf",0,ev,"stepOf",0,en],351866)}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,683408,e=>{"use strict";var t=e.i(843476),a=e.i(271645);let n=null,r=()=>e.A(195730).then(e=>(n=e.MarkdownBody,e)),l=(0,a.lazy)(()=>r().then(e=>({default:e.MarkdownBody})));{let e=()=>void r().catch(()=>{}),t=()=>{"requestIdleCallback"in window?requestIdleCallback(e):setTimeout(e)};"complete"===document.readyState?t():window.addEventListener("load",t,{once:!0})}let s=(0,a.memo)(function(e){if(n){let a=n;return(0,t.jsx)(a,{...e})}return(0,t.jsx)(a.Suspense,{fallback:(0,t.jsx)("div",{className:e.className,style:{whiteSpace:"pre-wrap"},children:e.children}),children:(0,t.jsx)(l,{...e})})});e.s(["Markdown",0,s])},633669,e=>{"use strict";var t=e.i(843476),a=e.i(818125),n=e.i(647163);e.s(["SourceChips",0,function({sources:e,limit:r,className:l}){let s=e.flatMap(e=>{let t=(0,n.hostOf)(e.url);return t?[{...e,host:t}]:[]}),i=r?s.slice(0,r):s,o=s.length-i.length;return(0,t.jsxs)("span",{className:(0,n.cn)("flex min-w-0 flex-wrap items-center gap-1",l),children:[i.map(e=>(0,t.jsxs)("a",{href:e.url,target:"_blank",rel:"noreferrer",title:e.title??e.url,className:"flex h-[22px] min-w-0 items-center gap-1.5 rounded-full bg-muted pr-2 pl-1 text-[11.5px] leading-4 text-foreground/80 outline-none transition-colors hover:bg-accent focus-visible:ring-3 focus-visible:ring-ring/50",children:[(0,t.jsx)(a.SiteIcon,{host:e.host}),(0,t.jsx)("span",{className:"truncate",children:e.host})]},e.url)),o>0&&(0,t.jsxs)("span",{className:"shrink-0 font-mono text-[11px] text-muted-foreground",children:["+",o]})]})}])},213377,e=>{"use strict";e.s(["STUDIO_TOOLS",0,{generate_image:"generate_image",generate_speech:"generate_speech",transcribe:"transcribe",generate_video:"generate_video"},"TOOL_NAMES",0,{memory_recall:"memory_recall",memory_create:"memory_create",memory_remember:"memory_remember",memory_describe:"memory_describe",memory_forget:"memory_forget",bash:"bash",write_file:"write_file",tool_search:"tool_search",tool_call:"tool_call",load_skill:"load_skill",web_search:"web_search",thread_start:"thread_start",thread_tell:"thread_tell",thread_answer:"thread_answer",thread_status:"thread_status",thread_cancel:"thread_cancel",thread_show:"thread_show",thread_seen:"thread_seen",routine:"routine",send_message:"send_message",thread_recall:"thread_recall",sign_in_use:"sign_in_use",sign_in_keep:"sign_in_keep",check_mail:"check_mail",look_at:"look_at",make_deck:"make_deck",describe_self:"describe_self",end_call:"end_call",emote:"emote"}])},807038,e=>{"use strict";var t=e.i(843476),a=e.i(456420);let n={name:"file-x",size:24,node:[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"m14.5 12.5-5 5",key:"b62r18"}],["path",{d:"m9.5 12.5 5 5",key:"1rk7el"}]]};n.node;let r=(0,a.default)(n);var l=e.i(657688),s=e.i(271645),i=e.i(798120),o=e.i(41533),d=e.i(83928),c=e.i(621285),u=e.i(616172),h=e.i(283653),p=e.i(647163);let m=e=>e.split(".").pop()?.toLowerCase()??"file",f=e=>e.split("/").pop()??e;e.s(["Attachments",0,function({text:e,from:a=null,className:n,onBubble:g=!1}){let x=(0,s.useMemo)(()=>(0,u.pathsIn)(e),[e]),{data:y}=(0,h.useServerRoute)(x.length?i.queryKey.workspaceFiles(x):null),k=(0,s.useMemo)(()=>y??[],[y]),_=(0,s.useMemo)(()=>k.filter(e=>"image"===(0,u.viewKindOf)(e.path)),[k]),b=(0,s.useMemo)(()=>{let e=0;return k.filter(t=>{let a=(0,d.faceOf)(t.path,t.bytes);return"text"===a||"page"===a&&(e+=1)<=o.FILE_THUMB.pages})},[k]),v=k.filter(e=>!_.includes(e)&&!b.includes(e)),M=new Set(k.map(e=>f(e.path))),w=x.filter(e=>!k.some(t=>t.path===e)&&!M.has(f(e)));if(!x.length||!y||!k.length&&!w.length)return null;let j=_.map(e=>e.path),O=_.slice(0,4),N=_.length-O.length,S=_.length+b.length<=2,E=S?"h-40 w-32":"h-26.25 w-21";return(0,t.jsxs)("div",{className:(0,p.cn)("flex min-w-0 flex-col gap-1.5",n),children:[(O.length>0||b.length>0)&&(0,t.jsxs)("div",{className:"flex flex-wrap items-start gap-1.5",children:[b.map(e=>(0,t.jsxs)(c.FileLink,{from:a,path:e.path,title:`${e.path} — ${(0,p.formatBytes)(e.bytes)}`,className:(0,p.cn)("flex shrink-0 flex-col gap-1 rounded-xl outline-none transition-opacity hover:opacity-90 focus-visible:ring-3 focus-visible:ring-ring/50",S?"w-32":"w-21"),children:[(0,t.jsx)(d.FileThumb,{path:e.path,bytes:e.bytes,className:(0,p.cn)("w-full rounded-xl ring-1 ring-foreground/5 ring-inset",E)}),(0,t.jsxs)("span",{className:"flex flex-col items-start px-0.5",children:[(0,t.jsx)("span",{className:"max-w-full truncate text-[11.5px] leading-4",children:f(e.path)}),(0,t.jsxs)("span",{className:"font-mono text-[10px] leading-3.5 text-muted-foreground",children:[m(e.path)," · ",(0,p.formatBytes)(e.bytes)]})]})]},e.path)),O.map((e,n)=>(0,t.jsxs)(c.FileLink,{from:a,path:e.path,group:j,title:`${e.path} — ${(0,p.formatBytes)(e.bytes)}`,className:(0,p.cn)("relative shrink-0 overflow-hidden rounded-xl bg-muted outline-none ring-1 ring-foreground/5 ring-inset transition-opacity hover:opacity-90 focus-visible:ring-3 focus-visible:ring-ring/50",E),children:[(0,t.jsx)(l.default,{src:i.queryKey.file(e.path),alt:f(e.path),fill:!0,sizes:`${o.FILE_THUMB.imageWidth}px`,loading:"lazy",decoding:"async",className:"object-cover"}),N>0&&n===O.length-1&&(0,t.jsxs)("span",{className:"absolute inset-0 grid place-items-center bg-black/45 text-[14px] font-medium text-white",children:["+",N]})]},e.path))]}),v.map(e=>{let n=(0,d.fileIcon)(e.path);return(0,t.jsxs)(c.FileLink,{from:a,path:e.path,title:e.path,className:(0,p.cn)("flex w-fit max-w-full items-center gap-2.5 rounded-xl py-1.5 pr-3 pl-1.5 outline-none transition-colors focus-visible:ring-3 focus-visible:ring-ring/50",g?"bg-background/70 hover:bg-background":"bg-muted/70 hover:bg-muted"),children:[(0,t.jsx)("span",{className:(0,p.cn)("grid size-8 shrink-0 place-items-center rounded-lg text-muted-foreground",g?"bg-muted":"bg-background"),children:(0,t.jsx)(n,{className:"size-3.5"})}),(0,t.jsxs)("span",{className:"flex min-w-0 flex-col items-start",children:[(0,t.jsx)("span",{className:"max-w-full truncate text-[12.5px] leading-4.25",children:f(e.path)}),(0,t.jsxs)("span",{className:"font-mono text-[10px] leading-3.5 text-muted-foreground",children:[m(e.path)," · ",(0,p.formatBytes)(e.bytes)]})]})]},e.path)}),w.length>0&&(0,t.jsx)("div",{className:"flex flex-wrap gap-1.5",children:w.map(e=>(0,t.jsxs)("span",{title:`${e} — not on disk`,className:"flex max-w-full items-center gap-1.5 rounded-full bg-muted/70 py-1 pr-2.5 pl-2 font-mono text-[11px] text-muted-foreground",children:[(0,t.jsx)(r,{className:"size-3 shrink-0"}),(0,t.jsx)("span",{className:"truncate line-through",children:f(e)})]},e))})]})},"imagePathsIn",0,function(e){return(0,u.pathsIn)(e).filter(e=>"image"===(0,u.viewKindOf)(e))},"shortenPaths",0,function(e){return e.split(/(```[\s\S]*?```)/).map((e,t)=>t%2==1?e:e.replace(/`([^`\n]+)`/g,(e,t)=>{let a=t.trim();if(!a.includes("/"))return e;let[n]=(0,u.pathsIn)(a),r=n?.split("/").pop();return n&&r&&a.endsWith(r)?`\`${r}\``:e})).join("")}],807038)},222055,991322,852116,589128,e=>{"use strict";var t=e.i(843476),a=e.i(422411),n=e.i(518515),r=e.i(525335),l=e.i(689664),s=e.i(716327),i=e.i(482022),o=e.i(772382),d=e.i(60744),c=e.i(226091),u=e.i(91511),h=e.i(341123),p=e.i(815170),m=e.i(758925),f=e.i(218964),g=e.i(632781),x=e.i(96315),y=e.i(468590),k=e.i(928310),_=e.i(609374),b=e.i(730274),v=e.i(604139),M=e.i(438583),w=e.i(747925),j=e.i(657688),O=e.i(271645),N=e.i(798120),S=e.i(660302),E=e.i(818125),L=e.i(671428),z=e.i(633669),T=e.i(41533),A=e.i(213377),I=e.i(807038),C=e.i(456420);let R={name:"cable",size:24,node:[["path",{d:"M17 19a1 1 0 0 1-1-1v-2a2 2 0 0 1 2-2h2a2 2 0 0 1 2 2v2a1 1 0 0 1-1 1z",key:"trhst0"}],["path",{d:"M17 21v-2",key:"ds4u3f"}],["path",{d:"M19 14V6.5a1 1 0 0 0-7 0v11a1 1 0 0 1-7 0V10",key:"1mo9zo"}],["path",{d:"M21 21v-2",key:"eo0ou"}],["path",{d:"M3 5V3",key:"1k5hjh"}],["path",{d:"M4 10a2 2 0 0 1-2-2V6a1 1 0 0 1 1-1h4a1 1 0 0 1 1 1v2a2 2 0 0 1-2 2z",key:"1dd30t"}],["path",{d:"M7 5V3",key:"1t1388"}]]};R.node;let P=(0,C.default)(R);e.s(["McpMark",0,P],991322);let F={name:"cpu",size:24,node:[["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M17 20v2",key:"1rnc9c"}],["path",{d:"M17 2v2",key:"11trls"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M2 17h2",key:"7oei6x"}],["path",{d:"M2 7h2",key:"asdhe0"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"M20 17h2",key:"1fpfkl"}],["path",{d:"M20 7h2",key:"1o8tra"}],["path",{d:"M7 20v2",key:"4gnj0m"}],["path",{d:"M7 2v2",key:"1i4yhu"}],["rect",{x:"4",y:"4",width:"16",height:"16",rx:"2",key:"1vbyd7"}],["rect",{x:"8",y:"8",width:"8",height:"8",rx:"1",key:"z9xiuo"}]]};F.node;let $=(0,C.default)(F);e.s(["MemoryMark",0,$],852116);var U=e.i(431594);let D=e.i(856539).BookMarked;e.s(["SkillsMark",0,D],589128);var H=e.i(83928),K=e.i(621285),V=e.i(283653),q=e.i(647163);let B={[A.TOOL_NAMES.web_search]:function({tool:e,threadId:a,collapsed:n}){let r=ee(e),l=r.length?[]:ep(e.results);return(0,t.jsxs)(ei,{tool:e,threadId:a,collapsed:n,children:[(0,t.jsxs)("p",{className:"px-3 pt-1 pb-1.5 text-[13px] leading-snug break-keep wrap-anywhere",children:["“",e.input,"”"]}),r.length>0&&(0,t.jsx)(z.SourceChips,{sources:r,className:"px-3 pb-2"}),l.length>0&&(0,t.jsx)("ol",{className:"space-y-0.5 px-3 pb-2",children:l.map((e,a)=>(0,t.jsxs)("li",{className:"flex gap-2 text-[11.5px] leading-snug text-muted-foreground",children:[(0,t.jsx)("span",{className:"mt-1.25 size-1 shrink-0 rounded-full bg-muted-foreground/50"}),(0,t.jsx)("span",{className:"truncate",children:e})]},`${a}-${e}`))})]})},[A.TOOL_NAMES.bash]:function({tool:e,threadId:a,collapsed:n}){let r=ep(e.results);return(0,t.jsx)(ei,{tool:e,threadId:a,collapsed:n,children:(0,t.jsxs)("pre",{className:"mx-3 overflow-x-auto rounded-lg bg-foreground/5 px-2.5 py-1.5 font-mono text-[11px] leading-relaxed scrollbar-none dark:bg-black/25",children:[(0,t.jsx)("span",{className:"text-muted-foreground/60",children:"$ "}),e.input,r.length>0&&(0,t.jsx)("span",{className:"block text-muted-foreground",children:r.join("\n")})]})})},[A.TOOL_NAMES.write_file]:function({tool:e,threadId:a,collapsed:n}){let r=e.path??e.input;return(0,t.jsxs)(ei,{tool:e,threadId:a,collapsed:n,children:[(0,t.jsxs)("div",{className:"flex items-center gap-2 px-3 pt-1 pb-1.5",children:[(0,t.jsx)("span",{className:"min-w-0 flex-1 truncate font-mono text-[11px]",children:e.input}),(0,t.jsxs)(K.FileLink,{path:r,from:a,label:`Open ${r}`,className:"flex shrink-0 items-center gap-1 rounded-md px-1.5 py-0.5 font-mono text-[10px] text-muted-foreground outline-none transition-colors hover:bg-background hover:text-foreground focus-visible:ring-3 focus-visible:ring-ring/50 disabled:opacity-50",children:[(0,t.jsx)(i.ExternalLink,{className:"size-3"}),"Open"]})]}),(0,t.jsx)(eh,{lines:ep(e.results),mono:!0})]})}},G=Object.values(A.STUDIO_TOOLS);function W(e){if(e.name!==A.TOOL_NAMES.tool_call)return null;let[t,a,...n]=e.input.split(" ");if(t!==T.STUDIO_SERVER)return null;let r=G.find(e=>e===a);return r?{name:r,words:n.join(" ")}:null}let J={[A.STUDIO_TOOLS.generate_image]:p.Image,[A.STUDIO_TOOLS.generate_video]:M.Video,[A.STUDIO_TOOLS.generate_speech]:a.AudioLines,[A.STUDIO_TOOLS.transcribe]:r.Captions},Y={[A.TOOL_NAMES.web_search]:u.Globe,[A.TOOL_NAMES.bash]:v.Terminal,[A.TOOL_NAMES.write_file]:d.FilePen,[A.TOOL_NAMES.memory_recall]:$,[A.TOOL_NAMES.memory_create]:$,[A.TOOL_NAMES.memory_remember]:$,[A.TOOL_NAMES.memory_describe]:$,[A.TOOL_NAMES.memory_forget]:$,[A.TOOL_NAMES.load_skill]:D,[A.TOOL_NAMES.tool_search]:P,[A.TOOL_NAMES.tool_call]:P,[A.TOOL_NAMES.thread_start]:b.Send,[A.TOOL_NAMES.thread_tell]:b.Send,[A.TOOL_NAMES.thread_answer]:b.Send,[A.TOOL_NAMES.thread_status]:f.ListChecks,[A.TOOL_NAMES.thread_cancel]:f.ListChecks,[A.TOOL_NAMES.thread_show]:f.ListChecks,[A.TOOL_NAMES.thread_seen]:f.ListChecks,[A.TOOL_NAMES.send_message]:y.MessageSquare,[A.TOOL_NAMES.look_at]:o.Eye,[A.TOOL_NAMES.make_deck]:_.Presentation,[A.TOOL_NAMES.describe_self]:h.IdCard,[A.TOOL_NAMES.sign_in_use]:m.KeyRound,[A.TOOL_NAMES.sign_in_keep]:m.KeyRound,[A.TOOL_NAMES.check_mail]:x.Mail,[A.TOOL_NAMES.end_call]:k.PhoneOff,[A.TOOL_NAMES.routine]:U.RoutineMark},Z=e=>Y[e]??w.Wrench,X=new Set(["cat","sed","head","tail","grep","rg","ls","find","wc","awk","jq"]),Q=e=>e.split("/").pop()??e;function ee(e){return ep(e.results).flatMap(e=>{let t=/https?:\/\/\S+/.exec(e)?.[0];if(!t)return[];let a=e.slice(0,e.indexOf(t)).replace(/[\s—-]+$/,"");return[{url:t,...a?{title:a}:{}}]})}function et(e){return(0,I.imagePathsIn)([e.path??"",e.input,...ep(e.results)].join("\n"))}function ea(e){let t=et(e)[0],a=W(e);if(a)return{icon:J[a.name]??w.Wrench,image:t,makes:a.name===A.STUDIO_TOOLS.generate_image};if(e.name===A.TOOL_NAMES.web_search)return{icon:u.Globe,pages:ee(e)};if(e.name===A.TOOL_NAMES.write_file)return{icon:d.FilePen,image:t,target:Q(e.path??e.input)};if(e.name!==A.TOOL_NAMES.bash)return{icon:Z(e.name),image:t};let r=e.input.replace(/^\s*cd\s+\S+\s*&&\s*/,"").trim(),[l=""]=r.split(/\s+/),s=/(?:^|[\s;&|(])playwright-cli((?:\s+-\S+)*)\s+([a-z-]+)/.exec(r);if(s){if("screenshot"===s[2])return{icon:n.Camera,image:t};let e=/https?:\/\/[^\s'"]+/.exec(r)?.[0];return{icon:u.Globe,host:e&&(0,q.hostOf)(e)||void 0,image:t}}return X.has(l)?{icon:c.FileText,image:t,target:e.path?Q(e.path):void 0}:{icon:v.Terminal,image:t,target:l||void 0}}function en({face:e}){if(e.pages?.length){let a=[...new Set(e.pages.flatMap(e=>(0,q.hostOf)(e.url)??[]))].slice(0,3);return(0,t.jsx)("span",{className:"flex shrink-0 items-center gap-1",children:a.map(e=>(0,t.jsx)(E.SiteIcon,{host:e},e))})}return e.host?(0,t.jsxs)("span",{className:"flex h-5 shrink-0 items-center gap-1.5 rounded-full bg-muted pr-2 pl-1 text-[11px] text-foreground/80",children:[(0,t.jsx)(E.SiteIcon,{host:e.host}),e.host]}):e.target&&!e.image?(0,t.jsx)("span",{className:"max-w-40 shrink truncate font-mono text-[10.5px] text-muted-foreground",children:e.target}):null}let er="size-36 rounded-xl";function el({tool:e,threadId:a,collapsed:n}){let r=W(e),[l]=et(e),s=void 0===e.results&&r?.name===A.STUDIO_TOOLS.generate_image;return(0,t.jsxs)(ei,{tool:e,threadId:a,collapsed:n,children:[r?.words&&(0,t.jsxs)("p",{className:"px-3 pt-1 pb-1.5 text-[13px] leading-snug break-keep wrap-anywhere",children:["“",r.words,"”"]}),l?(0,t.jsx)(K.FileLink,{path:l,from:a,title:l,className:"mx-3 mb-1.5 block w-fit overflow-hidden rounded-xl outline-none ring-1 ring-foreground/5 transition-opacity ring-inset hover:opacity-90 focus-visible:ring-3 focus-visible:ring-ring/50",children:(0,t.jsx)(H.FileThumb,{path:l,className:er})}):s?(0,t.jsx)(L.Skeleton,{className:(0,q.cn)("mx-3 mb-1.5",er)}):(0,t.jsx)(eh,{lines:ep(e.results)})]})}function es({tool:e,threadId:a,collapsed:n}){return(0,t.jsxs)(ei,{tool:e,threadId:a,collapsed:n,children:[(0,t.jsx)("p",{className:"px-3 pt-1 pb-1.5 text-[12px] leading-snug break-keep wrap-anywhere",children:e.input}),(0,t.jsx)(eh,{lines:ep(e.results)})]})}function ei({tool:e,threadId:a,collapsed:n=!1,children:r}){let i=void 0===e.results,o=ea(e),d=o.icon,[c,u]=(0,O.useState)(!n),h=a&&e.callId&&((e.results?.length??0)>0||e.more);return(0,t.jsxs)("div",{className:(0,q.cn)("@container w-full overflow-hidden rounded-xl transition-colors",c?"bg-background/80 dark:bg-white/4":"hover:bg-foreground/4"),children:[(0,t.jsxs)("button",{type:"button",onClick:()=>u(e=>!e),"aria-expanded":c,className:"flex w-full items-center gap-2 rounded-xl px-2.5 py-1.5 text-left outline-none focus-visible:ring-3 focus-visible:ring-ring/50",children:[(0,t.jsx)("span",{className:"grid size-5 shrink-0 place-items-center rounded-[7px] bg-foreground/8 text-muted-foreground",children:i?(0,t.jsx)(g.Loader2,{className:"size-3 animate-spin"}):(0,t.jsx)(d,{className:"size-3"})}),e.note?(0,t.jsxs)(t.Fragment,{children:[i?(0,t.jsx)(S.ShinyText,{text:e.note,speed:2.4,className:"min-w-0 flex-1 truncate text-[12px] leading-4 break-keep"}):(0,t.jsx)("span",{className:"min-w-0 flex-1 truncate text-[12px] leading-4 break-keep",children:e.note}),(0,t.jsx)("span",{className:"hidden min-w-0 flex-1 truncate font-mono text-[11px] leading-4 text-muted-foreground @lg:block",children:e.input})]}):i?(0,t.jsx)(S.ShinyText,{text:e.input,speed:2.4,className:"min-w-0 flex-1 truncate font-mono text-[11px] leading-4"}):(0,t.jsx)("span",{className:"min-w-0 flex-1 truncate font-mono text-[11px] leading-4 text-foreground/80",children:e.input}),(0,t.jsx)(eo,{paths:et(e),waiting:i&&o.makes}),(0,t.jsx)(en,{face:o}),!i&&(0,t.jsx)(l.Check,{className:"size-3 shrink-0 text-muted-foreground/50"}),(0,t.jsx)(s.ChevronDown,{className:(0,q.cn)("size-3 shrink-0 text-muted-foreground/50 transition-transform",c&&"rotate-180")})]}),c&&(0,t.jsxs)("div",{className:"pb-1.5 pl-[1.625rem]",children:[r,h&&(0,t.jsx)(ec,{threadId:a,callId:e.callId})]})]})}function eo({paths:e,waiting:a}){let[n,r]=(0,O.useState)([]),l=e.filter(e=>!n.includes(e)).slice(0,ed);return l.length?(0,t.jsx)("span",{className:"flex shrink-0 items-center",children:l.map((e,a)=>(0,t.jsx)(j.default,{src:N.queryKey.file(e),alt:"",width:48,height:48,loading:"lazy",decoding:"async",onError:()=>r(t=>[...t,e]),className:(0,q.cn)("size-6 rounded-md bg-muted object-cover ring-2 ring-background",a>0&&"-ml-1.5")},e))}):a?(0,t.jsx)(L.Skeleton,{className:"size-6 shrink-0 rounded-md"}):null}let ed=3;function ec({threadId:e,callId:a}){let[n,r]=(0,O.useState)(!1),{data:l,isLoading:i}=(0,V.useServerRoute)(n?N.queryKey.toolResult(e,a):null);return(0,t.jsxs)("div",{className:"px-3 pb-1",children:[(0,t.jsxs)("button",{type:"button",onClick:()=>r(e=>!e),className:"flex items-center gap-1 rounded-md py-0.5 font-mono text-[10px] text-muted-foreground outline-none transition-colors hover:text-foreground focus-visible:ring-3 focus-visible:ring-ring/50",children:[(0,t.jsx)(s.ChevronDown,{className:(0,q.cn)("size-3",n&&"rotate-180")}),n?"Less":"Everything"]}),n&&(i||!l?(0,t.jsx)(L.Skeleton,{className:"mt-1.5 h-12 w-full rounded-lg"}):(0,t.jsxs)("div",{className:"mt-1.5 space-y-1.5",children:[em(l).map((e,a)=>(0,t.jsx)(eu,{src:e},`${a}-${e.length}`)),ep(l).length>0&&(0,t.jsx)("pre",{className:"max-h-72 overflow-auto rounded-lg bg-foreground/5 px-2.5 py-2 font-mono text-[11px] leading-relaxed break-all whitespace-pre-wrap dark:bg-black/25",children:ep(l).join("\n")})]}))]})}function eu({src:e}){let[a,n]=(0,O.useState)(!1);return a?null:(0,t.jsx)("img",{src:e,alt:"",onError:()=>n(!0),className:"block w-full rounded-lg bg-muted object-contain"})}function eh({lines:e,mono:a}){return 0===e.length?null:(0,t.jsx)("ul",{className:"px-3 pb-1.5",children:e.map((e,n)=>(0,t.jsx)("li",{className:(0,q.cn)("truncate text-[11px] leading-relaxed text-muted-foreground",a&&"font-mono"),children:e},`${n}-${e}`))})}let ep=e=>e?.flatMap(e=>"text"===e.type?[e.text]:[])??[],em=e=>e?.flatMap(e=>"image"===e.type?[e.src]:[])??[];e.s(["BotTool",0,function(e){let a=W(e.tool)?el:B[e.tool.name]??es;return(0,t.jsx)(a,{...e})},"StepTile",0,function({tool:e,onOpen:a}){let n=ea(e),[r,l]=(0,O.useState)(!1),s=n.icon;return(0,t.jsx)("button",{type:"button",onClick:a,title:e.note??e.input,"aria-label":e.note??e.input,className:"grid size-6 shrink-0 place-items-center overflow-hidden rounded-full bg-background text-muted-foreground outline-none transition-transform hover:scale-110 focus-visible:ring-3 focus-visible:ring-ring/50",children:n.image&&!r?(0,t.jsx)(j.default,{src:N.queryKey.file(n.image),alt:"",width:48,height:48,loading:"lazy",decoding:"async",onError:()=>l(!0),className:"size-full object-cover"}):n.host?(0,t.jsx)(E.SiteIcon,{host:n.host,className:"size-3.5 rounded-full",fallback:(0,t.jsx)(s,{className:"size-3"})}):(0,t.jsx)(s,{className:"size-3"})})},"toolIcon",0,Z],222055)},431594,e=>{"use strict";var t=e.i(456420);let a={name:"repeat",size:24,node:[["path",{d:"m17 2 4 4-4 4",key:"nntrym"}],["path",{d:"M3 11v-1a4 4 0 0 1 4-4h14",key:"84bu3i"}],["path",{d:"m7 22-4-4 4-4",key:"1wqhfi"}],["path",{d:"M21 13v1a4 4 0 0 1-4 4H3",key:"1rx37r"}]]};a.node;let n=(0,t.default)(a);e.s(["RoutineMark",0,n],431594)},211658,e=>{"use strict";var t=e.i(95187);let a=(0,t.createServerReference)("7f4e8940f57b6b1ee414ae0f82359f8e2dc5f1c114",t.callServer,void 0,t.findSourceMapURL,"setSignInBotAction");e.s(["setSignInBotAction",0,a])},256604,e=>{"use strict";var t=e.i(843476),a=e.i(271645),n=e.i(467580),r=e.i(567334),l=e.i(877267);let s=240/276,i=new Map,o=new Set,d=null;e.s(["THURSDAY_SEED",0,"thursday","ThursdayMark",0,function({size:e=16,className:c}){let u="emoji"===(0,l.useFaceGlyphs)(),{cells:h,font:p}=function(e){let t=i.get(e);if(t)return t;let a=e*s,n=(e-a)/2,l=Math.max(2,Math.round(a/4)),o=a/l,d=.98*o,c=[];for(let e=0;e<l;e++)for(let t=0;t<l;t++){let s=3===l&&1!==e&&1!==t?.72:1,i=a/2+o*(t+.5-l/2)*s,u=a/2+o*(e+.5-l/2)*s,h=Math.hypot(i-a/2,u-a/2)/(a/2),p=977*l+e*l+t;!(h+(l>=5?((0,r.hash)(p,1)-.5)*.24:0)>.98)&&(l>=8&&(0,r.hash)(p,2)<.02+.24*h**3||c.push({seed:p,x:n+i,y:n+u+.36*d,r:h}))}let u={cells:c,font:d};return i.set(e,u),u}(e),[m,f]=(0,a.useState)(0),g=(0,a.useRef)(null),x=(0,n.useOnScreen)(g);return(0,a.useEffect)(()=>{if(x&&!window.matchMedia("(prefers-reduced-motion: reduce)").matches){if(o.add(f),!d){let e=Date.now();d=setInterval(()=>{let t=Date.now()-e;for(let e of o)e(t)},155)}return()=>{o.delete(f),0===o.size&&d&&(clearInterval(d),d=null)}}},[x]),(0,t.jsx)("svg",{ref:g,viewBox:`0 0 ${e} ${e}`,width:e,height:e,className:c,fill:"currentColor","aria-hidden":!0,children:h.map(e=>(0,t.jsx)("text",{x:e.x,y:e.y,textAnchor:"middle",fontFamily:u?'"Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif':"ui-monospace, SFMono-Regular, Menlo, monospace",fontWeight:u?void 0:700,fontSize:p,children:function(e,t,a){let n=Math.floor((t+620*(0,r.hash)(e.seed,11)*3)/620);if(a){let t=Math.floor((0,r.hash)(e.seed,17)*r.EMOJI_POOL.length);return r.EMOJI_POOL[(t+9*n)%r.EMOJI_POOL.length]}let l=Math.round(5+4*Math.max(0,1-e.r**2)**.6),s=r.RAMP[Math.min(r.RAMP.length-1,l)];return s[Math.floor((0,r.hash)(e.seed,n)*s.length)]??" "}(e,m,u)},e.seed))})}])},661504,e=>{"use strict";var t=e.i(271645),a=e.i(699018),n=e.i(677309),r=e.i(271235),l=e.i(802239),s=e.i(646192);let i=Promise.resolve(),o=(0,r.withMiddleware)(a.u,e=>(a,r,o)=>{let d,c=(0,t.useRef)(!1),{cache:u,initialSize:h=1,revalidateAll:p=!1,persistSize:m=!1,revalidateFirstPage:f=!0,revalidateOnMount:g=!1,parallel:x=!1}=o,[,,,y]=n.a.get(n.o);try{(d=(0,n.s)(a?a(0,null):null)[0])&&(d=s.INFINITE_PREFIX+d)}catch(e){}let[k,_,b]=(0,n.c)(u,d),v=(0,t.useCallback)(()=>(0,n.i)(k()._l)?h:k()._l,[u,d,h]);(0,l.useSyncExternalStore)((0,t.useCallback)(e=>d?b(d,()=>{e()}):()=>{},[u,d]),v,v);let M=(0,t.useCallback)(()=>{let e=k()._l;return(0,n.i)(e)?h:e},[d,h]),w=(0,t.useRef)(M());(0,n.u)(()=>{if(!c.current){c.current=!0;return}d&&_({_l:m?w.current:M()})},[d,u]);let j=g&&!c.current,O=e(d,async e=>{let t=k()._i,l=k()._r,s=n.a.get(u),i=s[8],d=()=>s[8]!==i;_({_r:n.U});let c=[],h=M(),[m]=(0,n.c)(u,e),g=m().data,b=[],v=null;for(let e=0;e<h;++e){let[s,i]=(0,n.s)(a(e,x?null:v));if(!s)break;let[h,m]=(0,n.c)(u,s),k=h().data,_=p||t||(0,n.i)(k)||f&&!e&&!(0,n.i)(g)||j||g&&!(0,n.i)(g[e])&&!o.compare(g[e],k);if(r&&("function"==typeof l?l(k,i):_)){let t=async()=>{if(s in y){let e=y[s];delete y[s],k=await e}else k=await r(i);d()||m({data:k,_k:i}),c[e]=k};x?b.push(t):await t()}else c[e]=k;x||(v=k)}return x&&await Promise.all(b.map(e=>e())),d()||_({_i:n.U}),c},o),N=(0,t.useCallback)(function(e,t){let a="boolean"==typeof t?{revalidate:t}:t||{},r=!1!==a.revalidate;return d?(r&&((0,n.i)(e)?_({_i:!0,_r:a.revalidate}):_({_i:!1,_r:a.revalidate})),arguments.length?O.mutate(e,{...a,revalidate:r}):O.mutate()):i},[d,u]),S=(0,t.useCallback)(e=>{let t;if(!d)return i;let[,r]=(0,n.c)(u,d);if((0,n.e)(e)?t=e(M()):"number"==typeof e&&(t=e),"number"!=typeof t)return i;r({_l:t}),w.current=t;let l=[],[s]=(0,n.c)(u,d),o=null;for(let e=0;e<t;++e){let[t]=(0,n.s)(a(e,o)),[r]=(0,n.c)(u,t),i=t?r().data:n.U;if((0,n.i)(i))return N(s().data);l.push(i),o=i}return N(l)},[d,u,N,M]);return{size:M(),setSize:S,mutate:N,get data(){return O.data},get error(){return O.error},get isValidating(){return O.isValidating},get isLoading(){return O.isLoading}}});var d=e.i(41533),c=e.i(283653);e.s(["useServerPages",0,function(e){let a=e.size??d.PAGE_SIZE,{key:n}=e,{data:r,error:l,isLoading:s,isValidating:i,setSize:u,mutate:h}=o((e,t)=>(0,c.resolveKey)(n(e,t)),c.fetchRoute,{...c.READ_DEFAULTS,revalidateFirstPage:!1,...e.swr}),p=r??[],m=(0,t.useMemo)(()=>(r??[]).flat(),[r]),f=p.at(-1),g=void 0!==f&&f.length>=a,x=(0,t.useRef)(0),y=i&&p.length>0&&x.current>p.length,k=(0,t.useRef)({isValidating:i,setSize:u,pages:p.length});(0,t.useEffect)(()=>{k.current={isValidating:i,setSize:u,pages:p.length}});let _=(0,t.useCallback)(()=>h(),[h]),b=(0,c.resolveKey)(n(0,null)),v="string"==typeof b?b:b?.url;(0,t.useEffect)(()=>{if(v)return(0,c.registerPagedReader)({url:v,refresh:_})},[v,_]);let M=function(e,a={}){let{enabled:n=!0,margin:r="600px",revision:l}=a,s=(0,t.useRef)(e);s.current=e;let i=(0,t.useRef)(null),o=(0,t.useRef)(null),d=(0,t.useCallback)(e=>{i.current=e},[]);return(0,t.useEffect)(()=>{o.current?.disconnect();let e=i.current;if(e&&n)return o.current=new IntersectionObserver(([e])=>{e.isIntersecting&&s.current()},{root:function(e){let t=e.parentElement;for(;t;){let{overflowY:e}=getComputedStyle(t);if(("auto"===e||"scroll"===e)&&t.scrollHeight>t.clientHeight)return t;t=t.parentElement}return null}(e),rootMargin:r}),o.current.observe(e),()=>o.current?.disconnect()},[n,r,l]),d}(()=>{let e=k.current;e.isValidating||(x.current=e.pages+1,e.setSize(e.pages+1))},{enabled:g,revision:`${p.length}:${i}`});return{items:m,isLoading:s,isLoadingMore:y,error:l,hasMore:g,sentinelRef:M,refresh:_}}],661504)},96892,319841,e=>{"use strict";var t=e.i(456420);let a={name:"arrow-up",size:24,node:[["path",{d:"m5 12 7-7 7 7",key:"hav0vg"}],["path",{d:"M12 19V5",key:"x0mq9r"}]]};a.node;let n=(0,t.default)(a);e.s(["ArrowUp",0,n],96892);var r=e.i(271645);let l=["ctrl","alt","meta"],s=/^(Control|Alt|Shift|Meta|OS)/,i=/^(input|textarea|select)$/i,o=e=>!!e&&!!(i.test(e.tagName)||e.isContentEditable||e.closest?.("[data-hotkey-capture]")),d=e=>{let t="nativeEvent"in e?e.nativeEvent:e;return t.isComposing||229===t.keyCode},c=[],u=e=>{if("Escape"!==e.key||e.defaultPrevented||d(e))return;let t=c.at(-1);t&&(e.preventDefault(),t.current())};function h(e){let{code:t,ctrlKey:a,altKey:n,shiftKey:r,metaKey:l}=e;if(!t||s.test(t)||!a&&!n&&!l)return null;let i=[];return a&&i.push("ctrl"),n&&i.push("alt"),r&&i.push("shift"),l&&i.push("meta"),[...i,t].join("+")}let p={ctrl:["Ctrl","⌃"],alt:["Alt","⌥"],shift:["Shift","⇧"],meta:["Meta","⌘"]};function m(e,t=!1){let a=e.split("+"),n=a.at(-1)??"",r=a.slice(0,-1).map(e=>p[e]?.[+!!t]??e),l=n.replace(/^(Key|Digit|Numpad)/,"").replace(/([a-z])([A-Z])/g,"$1 $2")||n;return t?[...r,l].join(""):[...r,l].join(" + ")}e.s(["HOTKEY_CAPTURE",0,{"data-hotkey-capture":""},"capturesKeys",0,o,"comboOf",0,h,"composing",0,d,"isCombo",0,e=>{let t=e.split("+"),a=t.at(-1);return!!(a&&!s.test(a)&&t.slice(0,-1).some(e=>l.includes(e)))},"typed",0,(e,t)=>e.key===t&&!e.metaKey&&(e.altKey||!e.ctrlKey),"useCommandLabel",0,function(e,t=!1){let[a,n]=(0,r.useState)(!1);return(0,r.useEffect)(()=>n(/mac/i.test(navigator.userAgent)),[]),m([...(a?["shift","meta"]:["ctrl","shift"]).filter(e=>t||"shift"!==e),e].join("+"),a)},"useEscape",0,function(e,t){let a=(0,r.useRef)(t);a.current=t,(0,r.useEffect)(()=>{if(e)return c.push(a),1===c.length&&window.addEventListener("keydown",u),()=>{c.splice(c.indexOf(a),1),c.length||window.removeEventListener("keydown",u)}},[e])},"useHotkey",0,function({enabled:e,combo:t,onPress:a}){let n=(0,r.useRef)(a);n.current=a,(0,r.useEffect)(()=>{if(!e||!t)return;let a=e=>{e.repeat||o(e.target)||h(e)===t&&(e.preventDefault(),n.current())};return window.addEventListener("keydown",a),()=>window.removeEventListener("keydown",a)},[e,t])},"useHotkeyLabel",0,function(e){let[t,a]=(0,r.useState)(!1);return(0,r.useEffect)(()=>a(/mac/i.test(navigator.userAgent)),[]),e?m(e,t):null},"windowKey",0,e=>!e.defaultPrevented&&!d(e)&&!o(e.target)&&!e.target?.closest?.('[role="dialog"]')],319841)},856539,e=>{"use strict";var t=e.i(456420);let a={name:"book-bookmark",size:24,node:[["path",{d:"M10 2v7.751a.25.25 0 00.407.195l2.28-1.834a.5.5 0 01.627 0l2.28 1.834A.25.25 0 0016 9.751V2",key:"x9x4jl"}],["path",{d:"M4 19.5v-15A2.5 2.5 0 016.5 2H19a1 1 0 011 1v18a1 1 0 01-1 1H6.5a1 1 0 010-5H20",key:"1889un"}]],aliases:["book-marked"]};a.node;let n=(0,t.default)(a);e.s(["BookMarked",0,n],856539)},518515,772382,60744,341123,218964,468590,928310,730274,604139,e=>{"use strict";var t=e.i(456420);let a={name:"camera",size:24,node:[["path",{d:"M13.997 4a2 2 0 0 1 1.76 1.05l.486.9A2 2 0 0 0 18.003 7H20a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V9a2 2 0 0 1 2-2h1.997a2 2 0 0 0 1.759-1.048l.489-.904A2 2 0 0 1 10.004 4z",key:"18u6gg"}],["circle",{cx:"12",cy:"13",r:"3",key:"1vg3eu"}]]};a.node;let n=(0,t.default)(a);e.s(["Camera",0,n],518515);let r={name:"eye",size:24,node:[["path",{d:"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",key:"1nclc0"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]]};r.node;let l=(0,t.default)(r);e.s(["Eye",0,l],772382);let s={name:"file-pen",size:24,node:[["path",{d:"M12.659 22H18a2 2 0 0 0 2-2V8a2.4 2.4 0 0 0-.706-1.706l-3.588-3.588A2.4 2.4 0 0 0 14 2H6a2 2 0 0 0-2 2v9.34",key:"o6klzx"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"M10.378 12.622a1 1 0 0 1 3 3.003L8.36 20.637a2 2 0 0 1-.854.506l-2.867.837a.5.5 0 0 1-.62-.62l.836-2.869a2 2 0 0 1 .506-.853z",key:"zhnas1"}]],aliases:["file-edit"]};s.node;let i=(0,t.default)(s);e.s(["FilePen",0,i],60744);let o={name:"id-card",size:24,node:[["path",{d:"M13 19a4 4 0 00-8 0",key:"cugzd5"}],["path",{d:"M16 10h2",key:"8sgtl7"}],["path",{d:"M16 14h2",key:"epxaof"}],["circle",{cx:"9",cy:"12",r:"3",key:"u3jwor"}],["rect",{x:"2",y:"5",width:"20",height:"14",rx:"2",key:"qneu4z"}]]};o.node;let d=(0,t.default)(o);e.s(["IdCard",0,d],341123);let c={name:"list-checks",size:24,node:[["path",{d:"M13 5h8",key:"a7qcls"}],["path",{d:"M13 12h8",key:"h98zly"}],["path",{d:"M13 19h8",key:"c3s6r1"}],["path",{d:"m3 17 2 2 4-4",key:"1jhpwq"}],["path",{d:"m3 7 2 2 4-4",key:"1obspn"}]]};c.node;let u=(0,t.default)(c);e.s(["ListChecks",0,u],218964);let h={name:"message-square",size:24,node:[["path",{d:"M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z",key:"18887p"}]]};h.node;let p=(0,t.default)(h);e.s(["MessageSquare",0,p],468590);let m={name:"phone-off",size:24,node:[["path",{d:"M10.1 13.9a14 14 0 0 0 3.732 2.668 1 1 0 0 0 1.213-.303l.355-.465A2 2 0 0 1 17 15h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2 18 18 0 0 1-12.728-5.272",key:"1wngk7"}],["path",{d:"M22 2 2 22",key:"y4kqgn"}],["path",{d:"M4.76 13.582A18 18 0 0 1 2 4a2 2 0 0 1 2-2h3a2 2 0 0 1 2 2v3a2 2 0 0 1-.8 1.6l-.468.351a1 1 0 0 0-.292 1.233 14 14 0 0 0 .244.473",key:"10hv5p"}]]};m.node;let f=(0,t.default)(m);e.s(["PhoneOff",0,f],928310);let g={name:"send",size:24,node:[["path",{d:"M14.536 21.686a.5.5 0 0 0 .937-.024l6.5-19a.496.496 0 0 0-.635-.635l-19 6.5a.5.5 0 0 0-.024.937l7.93 3.18a2 2 0 0 1 1.112 1.11z",key:"1ffxy3"}],["path",{d:"m21.854 2.147-10.94 10.939",key:"12cjpa"}]]};g.node;let x=(0,t.default)(g);e.s(["Send",0,x],730274);let y={name:"terminal",size:24,node:[["path",{d:"M12 19h8",key:"baeox8"}],["path",{d:"m4 17 6-6-6-6",key:"1yngyt"}]]};y.node;let k=(0,t.default)(y);e.s(["Terminal",0,k],604139)},24071,e=>{"use strict";var t=e.i(456420);let a={name:"chevron-left",size:24,node:[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]]};a.node;let n=(0,t.default)(a);e.s(["ChevronLeft",0,n],24071)},226091,e=>{"use strict";var t=e.i(456420);let a={name:"file-text",size:24,node:[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"M10 9H8",key:"b1mrlr"}],["path",{d:"M16 13H8",key:"t4e002"}],["path",{d:"M16 17H8",key:"z1uh3a"}]]};a.node;let n=(0,t.default)(a);e.s(["FileText",0,n],226091)},829600,e=>{"use strict";var t=e.i(456420);let a={name:"file",size:24,node:[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}]]};a.node;let n=(0,t.default)(a);e.s(["File",0,n],829600)},91511,e=>{"use strict";var t=e.i(456420);let a={name:"globe",size:24,node:[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20",key:"13o1zl"}],["path",{d:"M2 12h20",key:"9i4pu4"}]]};a.node;let n=(0,t.default)(a);e.s(["Globe",0,n],91511)},815170,e=>{"use strict";var t=e.i(456420);let a={name:"image",size:24,node:[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",ry:"2",key:"1m3agn"}],["circle",{cx:"9",cy:"9",r:"2",key:"af1f0g"}],["path",{d:"m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21",key:"1xmnt7"}]]};a.node;let n=(0,t.default)(a);e.s(["Image",0,n],815170)},632781,e=>{"use strict";var t=e.i(758379);e.s(["Loader2",()=>t.default])},438583,e=>{"use strict";var t=e.i(456420);let a={name:"video",size:24,node:[["path",{d:"m16 13 5.223 3.482a.5.5 0 0 0 .777-.416V7.87a.5.5 0 0 0-.752-.432L16 10.5",key:"ftymec"}],["rect",{x:"2",y:"6",width:"14",height:"12",rx:"2",key:"158x01"}]]};a.node;let n=(0,t.default)(a);e.s(["Video",0,n],438583)},747925,e=>{"use strict";var t=e.i(456420);let a={name:"wrench",size:24,node:[["path",{d:"M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.106-3.105c.32-.322.863-.22.983.218a6 6 0 0 1-8.259 7.057l-7.91 7.91a1 1 0 0 1-2.999-3l7.91-7.91a6 6 0 0 1 7.057-8.259c.438.12.54.662.219.984z",key:"1ngwbx"}]]};a.node;let n=(0,t.default)(a);e.s(["Wrench",0,n],747925)}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,798120,e=>{"use strict";let l=e=>e.split("/").map(encodeURIComponent).join("/");e.s(["queryKey",0,{memory:"/api/memory",memoryPage:e=>({url:"/api/memory",query:{offset:e||null}}),mcp:"/api/mcp",mcpServer:e=>({url:"/api/mcp",pathVariable:[e]}),mcpTools:"/api/mcp/tools",skills:"/api/skills",skillNode:(e,l,a)=>({url:"/api/skills",pathVariable:[e,l],query:{path:a}}),bot:"/api/bot",botMemory:"/api/bot/memory",botMemoryFiles:e=>({url:"/api/bot/memory/files",query:{bot:e}}),routines:"/api/routine",threads:"/api/bot/thread",threadHistory:(e,l)=>({url:"/api/bot/thread",query:{history:1,before:e,q:l||void 0}}),thread:e=>({url:"/api/bot/thread",query:{id:e}}),fileNotes:"/api/bot/thread/file",fileNote:(e,l)=>({url:"/api/bot/thread/file",query:{path:e,from:l}}),toolResult:(e,l)=>({url:"/api/bot/tool-result",pathVariable:[e],query:{call:l}}),workspace:"/api/workspace",workspaceFolder:(e,l)=>({url:"/api/workspace",query:{path:e||null,rows:l}}),workspaceFiles:e=>({url:"/api/workspace/files",query:{paths:JSON.stringify(e)}}),artifacts:"/api/artifact",artifactShelf:e=>({url:"/api/artifact",query:{rows:e}}),artifactSet:(e,l)=>({url:"/api/artifact",query:{set:e,rows:l}}),file:e=>`/api/file/${l(e)}`,fileFace:e=>`/api/file/${l(e)}?face`,favicon:e=>`/api/favicon/${encodeURIComponent(e)}`,fileView:e=>`/artifact/${l(e)}`,events:"/api/events",config:"/api/config",callHistory:e=>({url:"/api/thursday/call",query:{before:e}}),thursdaySettings:"/api/thursday/settings",toolCall:"/api/thursday/tool-call",callEnd:"/api/thursday/call/end",signIns:"/api/signins",reach:"/api/reach",textCall:"/api/thursday/text",memoryEdit:"/api/memory/edit",llmModel:"/api/llm-model",automaticModel:"/api/llm-model/automatic",modelCatalog:e=>`/api/llm-model/catalog/${e}`,keyCredits:e=>`/api/llm-model/credits/${e}`,subscriptionUsage:"/api/llm-model/subscription",running:"/api/running",update:"/api/update"}])},421429,e=>{"use strict";var l=e.i(843476),a=e.i(271645),t=e.i(647163);e.s(["Segmented",0,function({options:e,value:i,onChange:s,view:n=!1,size:r="default",className:c,...o}){let d=(0,a.useRef)([]),m=e.findIndex(e=>e.value===i);return(0,l.jsx)("div",{role:"radiogroup",onKeyDown:l=>{let a={ArrowRight:1,ArrowDown:1,ArrowLeft:-1,ArrowUp:-1}[l.key];if(a&&!(e.length<2)){let t;l.preventDefault(),l.stopPropagation(),t=(Math.max(0,m)+a+e.length)%e.length,s(e[t].value),d.current[t]?.focus()}},className:(0,t.cn)("flex w-fit gap-0.5 rounded-full bg-muted","sm"===r?"p-0.5":"p-0.75",c),...o,children:e.map((e,a)=>{let c=e.value===i;return(0,l.jsx)("button",{ref:e=>{d.current[a]=e},type:"button",role:"radio","aria-checked":c,tabIndex:c||m<0&&0===a?0:-1,title:e.title,onClick:()=>s(e.value),className:(0,t.cn)("flex items-center justify-center gap-1.5 rounded-full whitespace-nowrap transition-colors outline-none focus-visible:ring-3 focus-visible:ring-ring/50","sm"===r?"h-6 px-2.5 text-[12px]":"h-7 px-3 text-[12.5px]",!c&&"text-muted-foreground hover:text-foreground",c&&(n?"bg-background font-medium text-foreground shadow-sm dark:bg-input/60":"bg-brand font-medium text-brand-foreground")),children:e.label},e.value)})})}])},146538,e=>{"use strict";var l=e.i(843476),a=e.i(689664),t=e.i(563707),i=e.i(456420);let s={name:"circle-dashed",size:24,node:[["path",{d:"M10.1 2.182a10 10 0 0 1 3.8 0",key:"5ilxe3"}],["path",{d:"M13.9 21.818a10 10 0 0 1-3.8 0",key:"11zvb9"}],["path",{d:"M17.609 3.721a10 10 0 0 1 2.69 2.7",key:"1iw5b2"}],["path",{d:"M2.182 13.9a10 10 0 0 1 0-3.8",key:"c0bmvh"}],["path",{d:"M20.279 17.609a10 10 0 0 1-2.7 2.69",key:"1ruxm7"}],["path",{d:"M21.818 10.1a10 10 0 0 1 0 3.8",key:"qkgqxc"}],["path",{d:"M3.721 6.391a10 10 0 0 1 2.7-2.69",key:"1mcia2"}],["path",{d:"M6.391 20.279a10 10 0 0 1-2.69-2.7",key:"1fvljs"}]]};s.node;let n=(0,i.default)(s);var r=e.i(758925),c=e.i(271645),o=e.i(798120),d=e.i(167881),m=e.i(23750),u=e.i(59377),p=e.i(41533),h=e.i(584923),x=e.i(992112),f=e.i(609856),v=e.i(283653),g=e.i(647163),b=e.i(265402),y=e.i(412294),j=e.i(611568),N=e.i(566595),z=e.i(630374),k=e.i(421429),M=e.i(968978);let V={alibaba:[{d:"M12.604 1.34c.393.69.784 1.382 1.174 2.075a.18.18 0 00.157.091h5.552c.174 0 .322.11.446.327l1.454 2.57c.19.337.24.478.024.837-.26.43-.513.864-.76 1.3l-.367.658c-.106.196-.223.28-.04.512l2.652 4.637c.172.301.111.494-.043.77-.437.785-.882 1.564-1.335 2.34-.159.272-.352.375-.68.37-.777-.016-1.552-.01-2.327.016a.099.099 0 00-.081.05 575.097 575.097 0 01-2.705 4.74c-.169.293-.38.363-.725.364-.997.003-2.002.004-3.017.002a.537.537 0 01-.465-.271l-1.335-2.323a.09.09 0 00-.083-.049H4.982c-.285.03-.553-.001-.805-.092l-1.603-2.77a.543.543 0 01-.002-.54l1.207-2.12a.198.198 0 000-.197 550.951 550.951 0 01-1.875-3.272l-.79-1.395c-.16-.31-.173-.496.095-.965.465-.813.927-1.625 1.387-2.436.132-.234.304-.334.584-.335a338.3 338.3 0 012.589-.001.124.124 0 00.107-.063l2.806-4.895a.488.488 0 01.422-.246c.524-.001 1.053 0 1.583-.006L11.704 1c.341-.003.724.032.9.34zm-3.432.403a.06.06 0 00-.052.03L6.254 6.788a.157.157 0 01-.135.078H3.253c-.056 0-.07.025-.041.074l5.81 10.156c.025.042.013.062-.034.063l-2.795.015a.218.218 0 00-.2.116l-1.32 2.31c-.044.078-.021.118.068.118l5.716.008c.046 0 .08.02.104.061l1.403 2.454c.046.081.092.082.139 0l5.006-8.76.783-1.382a.055.055 0 01.096 0l1.424 2.53a.122.122 0 00.107.062l2.763-.02a.04.04 0 00.035-.02.041.041 0 000-.04l-2.9-5.086a.108.108 0 010-.113l.293-.507 1.12-1.977c.024-.041.012-.062-.035-.062H9.2c-.059 0-.073-.026-.043-.077l1.434-2.505a.107.107 0 000-.114L9.225 1.774a.06.06 0 00-.053-.031zm6.29 8.02c.046 0 .058.02.034.06l-.832 1.465-2.613 4.585a.056.056 0 01-.05.029.058.058 0 01-.05-.029L8.498 9.841c-.02-.034-.01-.052.028-.054l.216-.012 6.722-.012z"}],amazon:[{d:"M13.05 15.513h3.08c.214 0 .389.177.389.394v1.82a1.704 1.704 0 011.296 1.661c0 .943-.755 1.708-1.685 1.708-.931 0-1.686-.765-1.686-1.708 0-.807.554-1.484 1.297-1.662v-1.425h-2.69v4.663a.395.395 0 01-.188.338l-2.69 1.641a.385.385 0 01-.405-.002l-4.926-3.086a.395.395 0 01-.185-.336V16.3L2.196 14.87A.395.395 0 012 14.555L2 14.528V9.406c0-.14.073-.27.192-.34l2.465-1.462V4.448c0-.129.062-.249.165-.322l.021-.014L9.77 1.058a.385.385 0 01.407 0l2.69 1.675a.395.395 0 01.185.336V7.6h3.856V5.683a1.704 1.704 0 01-1.296-1.662c0-.943.755-1.708 1.685-1.708.931 0 1.685.765 1.685 1.708 0 .807-.553 1.484-1.296 1.662v2.311a.391.391 0 01-.389.394h-4.245v1.806h6.624a1.69 1.69 0 011.64-1.313c.93 0 1.685.764 1.685 1.707 0 .943-.754 1.708-1.685 1.708a1.69 1.69 0 01-1.64-1.314H13.05v1.937h4.953l.915 1.18a1.66 1.66 0 01.84-.227c.931 0 1.685.764 1.685 1.707 0 .943-.754 1.708-1.685 1.708-.93 0-1.685-.765-1.685-1.708 0-.346.102-.668.276-.937l-.724-.935H13.05v1.806zM9.973 1.856L7.93 3.122V6.09h-.778V3.604L5.435 4.669v2.945l2.11 1.36L9.712 7.61V5.334h.778V7.83c0 .136-.07.263-.184.335L7.963 9.638v2.081l1.422 1.009-.446.646-1.406-.998-1.53 1.005-.423-.66 1.605-1.055v-1.99L5.038 8.29l-2.26 1.34v1.676l1.972-1.189.398.677-2.37 1.429V14.3l2.166 1.258 2.27-1.368.397.677-2.176 1.311V19.3l1.876 1.175 2.365-1.426.398.678-2.017 1.216 1.918 1.201 2.298-1.403v-5.78l-4.758 2.893-.4-.675 5.158-3.136V3.289L9.972 1.856zM16.13 18.47a.913.913 0 00-.908.92c0 .507.406.918.908.918a.913.913 0 00.907-.919.913.913 0 00-.907-.92zm3.63-3.81a.913.913 0 00-.908.92c0 .508.406.92.907.92a.913.913 0 00.908-.92.913.913 0 00-.908-.92zm1.555-4.99a.913.913 0 00-.908.92c0 .507.407.918.908.918a.913.913 0 00.907-.919.913.913 0 00-.907-.92zM17.296 3.1a.913.913 0 00-.907.92c0 .508.406.92.907.92a.913.913 0 00.908-.92.913.913 0 00-.908-.92z"}],"arcee-ai":[{d:"M13.236 2.377L2.751 20.493H0L11.863 0l1.373 2.377zm3.554 6.156l-9.606 11.96H4.13L15.511 6.32l1.279 2.212zm6.908 11.96H14.05l8.406-2.151 1.242 2.15zm-3.42-5.922l-7.843 5.92H8.482l10.597-7.997 1.2 2.077z"}],bfl:[{d:"M0 20.683L12.01 2.5 24 20.683h-2.233L12.009 5.878 3.471 18.806h12.122l1.239 1.877H0z"},{d:"M8.069 16.724l2.073-3.115 2.074 3.115H8.069zM18.24 20.683l-5.668-8.707h2.177l5.686 8.707h-2.196zM19.74 11.676l2.13-3.19 2.13 3.19h-4.26z"}],bytedance:[{d:"M14.944 18.587l-1.704-.445V10.01l1.824-.462c1-.254 1.84-.461 1.88-.453.032 0 .056 2.235.056 4.972v4.973l-.176-.008c-.104 0-.952-.207-1.88-.446z"},{d:"M7 16.542c0-2.736.024-4.98.064-4.98.032-.008.872.2 1.88.454l1.816.461-.016 4.05-.024 4.049-1.632.422c-.896.23-1.736.445-1.856.469L7 21.523v-4.98z"},{d:"M19.24 12.477c0-9.03.008-9.515.144-9.475.072.024.784.207 1.576.406.792.207 1.576.405 1.744.445l.296.08-.016 8.56-.024 8.568-1.624.414c-.888.23-1.728.437-1.856.47l-.24.055v-9.523z"},{d:"M1 12.509c0-4.678.024-8.505.064-8.505.032 0 .872.207 1.872.454l1.824.461v7.582c0 4.16-.016 7.574-.032 7.574-.024 0-.872.215-1.88.47L1 21.013v-8.505z"}],"fish-audio":[{d:"M23.12 12.13v.62c0 .24.19.44.44.44.24 0 .44-.2.44-.44v-.62c0-.24-.2-.44-.44-.44-.25 0-.44.2-.44.44m-1.77.37v1.74c0 .24.2.44.44.44.25 0 .44-.2.44-.44V12.5c0-.24-.19-.44-.44-.44-.24 0-.44.2-.44.44m-1.76.43v1.99q0 .09.03.17.04.08.1.14.07.07.15.1t.17.03c.24 0 .44-.19.44-.44v-1.99c0-.25-.2-.44-.44-.44q-.09 0-.17.03t-.15.1q-.06.06-.1.14-.03.08-.03.17m-1.76.35v1.97c0 .24.19.44.44.44.24 0 .44-.2.44-.44v-1.97c0-.24-.2-.44-.44-.44-.25 0-.44.2-.44.44m-1.77.32v1.65c0 .25.2.45.44.45s.44-.2.44-.45V13.6c0-.25-.2-.45-.44-.45s-.44.2-.44.45m-1.76 1.26v.3q.01.17.14.3.13.11.3.12.18-.01.31-.12.13-.13.14-.3v-.3q-.01-.17-.14-.3-.13-.11-.31-.12-.17.01-.3.12-.13.13-.14.3M0 9.38v.19c0 .24.2.44.44.44.25 0 .44-.2.44-.44v-.19c0-.25-.19-.44-.44-.44-.24 0-.44.19-.44.44m1.82.15v.81c0 .24.19.44.44.44.24 0 .44-.2.44-.44v-.81q0-.18-.13-.31t-.31-.13-.31.13-.13.31m1.81-.24v3.39q.01.17.14.3.13.11.3.12.18-.01.31-.12.13-.13.14-.3V9.29q-.01-.17-.14-.3-.13-.11-.31-.12-.17.01-.3.12-.13.13-.14.3m1.83-.35v.22c0 .24.19.44.44.44.24 0 .44-.2.44-.44v-.22q0-.18-.13-.31T5.9 8.5t-.31.13-.13.31m0 2.94v2.34c0 .25.19.44.44.44.24 0 .44-.19.44-.44v-2.34c0-.24-.2-.44-.44-.44-.25 0-.44.2-.44.44m15.89-3.32V11c0 .25.2.44.44.44.25 0 .44-.19.44-.44V8.56c0-.24-.19-.44-.44-.44-.24 0-.44.2-.44.44m-1.76-.39v3.28q.01.17.14.3.13.11.3.12.18-.01.31-.12.13-.13.14-.3V8.17c0-.25-.2-.44-.44-.44q-.09 0-.17.03t-.15.1q-.06.06-.1.14-.03.08-.03.17M17.83 8v3.9c0 .24.19.44.44.44.24 0 .44-.2.44-.44V8c0-.25-.2-.44-.44-.44-.25 0-.44.19-.44.44m-1.77.11v3.96c0 .25.2.44.44.44s.44-.19.44-.44V8.11c0-.25-.2-.44-.44-.44s-.44.19-.44.44m-1.76.27v5.03q.01.17.14.3.13.11.3.12.18-.01.31-.12.13-.13.14-.3V8.38c0-.25-.2-.44-.45-.44-.24 0-.44.19-.44.44m-1.8.46v5.75q.01.17.14.3.13.11.3.12.18-.01.31-.12.13-.13.14-.3V8.84c0-.25-.2-.44-.45-.44-.24 0-.44.19-.44.44m-1.76.76v5.52c0 .24.2.44.44.44.25 0 .44-.2.44-.44V9.6c0-.24-.19-.44-.44-.44-.24 0-.44.2-.44.44m-1.77 1.01v4.77q.01.17.14.3.13.11.3.12.18-.01.31-.12.13-.13.14-.3v-4.77q-.01-.17-.14-.3-.13-.11-.31-.12-.17.01-.3.12-.13.13-.14.3M23.12 9.6v1.22c0 .24.19.44.44.44.24 0 .44-.2.44-.44V9.6c0-.24-.2-.44-.44-.44-.25 0-.44.2-.44.44M7.21 11.32V16c0 .24.19.44.44.44.24 0 .44-.2.44-.44v-4.68q0-.18-.13-.31t-.31-.13-.31.13-.13.31"}],inception:[{d:"M14.767 1H7.884L1 7.883v6.884h6.884V7.883h6.883V1zM9.234 23h6.882L23 16.116V9.233h-6.884v6.883H9.234V23z"}],klingai:[{d:"M5.493 21.234c-1.112-1.451-1.109-4.263-.081-7.459l-4.557-2.63a1.683 1.683 0 01-.85-1.304 1.505 1.505 0 01.08-.622 13.18 13.18 0 011.037-2.255c3.476-6.02 10.916-8.23 16.619-4.938.46.266.82.67 1.081 1.184.785 1.545.685 4.096-.234 6.954l4.557 2.631c.339.196.596.492.736.832a1.53 1.53 0 01.034 1.093 13.146 13.146 0 01-1.037 2.255c-3.476 6.02-10.916 8.23-16.619 4.938a2.6 2.6 0 01-.766-.68zm11.096-6.615c-2.073 3.591-5.808 5.316-8.343 3.852-1.267-.731-1.994-2.122-2.145-3.778-.095-1.035.036-2.173.4-3.32.217-.684.517-1.37.902-2.039l.008-.014c2.073-3.59 5.808-5.315 8.343-3.852.633.366 1.13.895 1.49 1.54.986 1.772.922 4.415-.285 6.914-.111.23-.232.457-.362.683l-.008.014z"}],kwaipilot:[{d:"M11.765.03C5.327.03.108 5.25.108 11.686c0 3.514 1.556 6.665 4.015 8.804L9.89 8.665h6.451L9.31 23.083c.807.173 1.63.26 2.455.26 6.438 0 11.657-5.22 11.657-11.658S18.202.028 11.765.028V.03z"}],meta:[{d:"M6.897 4c1.915 0 3.516.932 5.43 3.376l.282-.373c.19-.246.383-.484.58-.71l.313-.35C14.588 4.788 15.792 4 17.225 4c1.273 0 2.469.557 3.491 1.516l.218.213c1.73 1.765 2.917 4.71 3.053 8.026l.011.392.002.25c0 1.501-.28 2.759-.818 3.7l-.14.23-.108.153c-.301.42-.664.758-1.086 1.009l-.265.142-.087.04a3.493 3.493 0 01-.302.118 4.117 4.117 0 01-1.33.208c-.524 0-.996-.067-1.438-.215-.614-.204-1.163-.56-1.726-1.116l-.227-.235c-.753-.812-1.534-1.976-2.493-3.586l-1.43-2.41-.544-.895-1.766 3.13-.343.592C7.597 19.156 6.227 20 4.356 20c-1.21 0-2.205-.42-2.936-1.182l-.168-.184c-.484-.573-.837-1.311-1.043-2.189l-.067-.32a8.69 8.69 0 01-.136-1.288L0 14.468c.002-.745.06-1.49.174-2.23l.1-.573c.298-1.53.828-2.958 1.536-4.157l.209-.34c1.177-1.83 2.789-3.053 4.615-3.16L6.897 4zm-.033 2.615l-.201.01c-.83.083-1.606.673-2.252 1.577l-.138.199-.01.018c-.67 1.017-1.185 2.378-1.456 3.845l-.004.022a12.591 12.591 0 00-.207 2.254l.002.188c.004.18.017.36.04.54l.043.291c.092.503.257.908.486 1.208l.117.137c.303.323.698.492 1.17.492 1.1 0 1.796-.676 3.696-3.641l2.175-3.4.454-.701-.139-.198C9.11 7.3 8.084 6.616 6.864 6.616zm10.196-.552l-.176.007c-.635.048-1.223.359-1.82.933l-.196.198c-.439.462-.887 1.064-1.367 1.807l.266.398c.18.274.362.56.55.858l.293.475 1.396 2.335.695 1.114c.583.926 1.03 1.6 1.408 2.082l.213.262c.282.326.529.54.777.673l.102.05c.227.1.457.138.718.138.176.002.35-.023.518-.073.338-.104.61-.32.813-.637l.095-.163.077-.162c.194-.459.29-1.06.29-1.785l-.006-.449c-.08-2.871-.938-5.372-2.2-6.798l-.176-.189c-.67-.683-1.444-1.074-2.27-1.074z"}],minimax:[{d:"M16.278 2c1.156 0 2.093.927 2.093 2.07v12.501a.74.74 0 00.744.709.74.74 0 00.743-.709V9.099a2.06 2.06 0 012.071-2.049A2.06 2.06 0 0124 9.1v6.561a.649.649 0 01-.652.645.649.649 0 01-.653-.645V9.1a.762.762 0 00-.766-.758.762.762 0 00-.766.758v7.472a2.037 2.037 0 01-2.048 2.026 2.037 2.037 0 01-2.048-2.026v-12.5a.785.785 0 00-.788-.753.785.785 0 00-.789.752l-.001 15.904A2.037 2.037 0 0113.441 22a2.037 2.037 0 01-2.048-2.026V18.04c0-.356.292-.645.652-.645.36 0 .652.289.652.645v1.934c0 .263.142.506.372.638.23.131.514.131.744 0a.734.734 0 00.372-.638V4.07c0-1.143.937-2.07 2.093-2.07zm-5.674 0c1.156 0 2.093.927 2.093 2.07v11.523a.648.648 0 01-.652.645.648.648 0 01-.652-.645V4.07a.785.785 0 00-.789-.78.785.785 0 00-.789.78v14.013a2.06 2.06 0 01-2.07 2.048 2.06 2.06 0 01-2.071-2.048V9.1a.762.762 0 00-.766-.758.762.762 0 00-.766.758v3.8a2.06 2.06 0 01-2.071 2.049A2.06 2.06 0 010 12.9v-1.378c0-.357.292-.646.652-.646.36 0 .653.29.653.646V12.9c0 .418.343.757.766.757s.766-.339.766-.757V9.099a2.06 2.06 0 012.07-2.048 2.06 2.06 0 012.071 2.048v8.984c0 .419.343.758.767.758.423 0 .766-.339.766-.758V4.07c0-1.143.937-2.07 2.093-2.07z"}],moonshotai:[{d:"M1.052 16.916l9.539 2.552a21.007 21.007 0 00.06 2.033l5.956 1.593a11.997 11.997 0 01-5.586.865l-.18-.016-.044-.004-.084-.009-.094-.01a11.605 11.605 0 01-.157-.02l-.107-.014-.11-.016a11.962 11.962 0 01-.32-.051l-.042-.008-.075-.013-.107-.02-.07-.015-.093-.019-.075-.016-.095-.02-.097-.023-.094-.022-.068-.017-.088-.022-.09-.024-.095-.025-.082-.023-.109-.03-.062-.02-.084-.025-.093-.028-.105-.034-.058-.019-.08-.026-.09-.031-.066-.024a6.293 6.293 0 01-.044-.015l-.068-.025-.101-.037-.057-.022-.08-.03-.087-.035-.088-.035-.079-.032-.095-.04-.063-.028-.063-.027a5.655 5.655 0 01-.041-.018l-.066-.03-.103-.047-.052-.024-.096-.046-.062-.03-.084-.04-.086-.044-.093-.047-.052-.027-.103-.055-.057-.03-.058-.032a6.49 6.49 0 01-.046-.026l-.094-.053-.06-.034-.051-.03-.072-.041-.082-.05-.093-.056-.052-.032-.084-.053-.061-.039-.079-.05-.07-.047-.053-.035a7.785 7.785 0 01-.054-.036l-.044-.03-.044-.03a6.066 6.066 0 01-.04-.028l-.057-.04-.076-.054-.069-.05-.074-.054-.056-.042-.076-.057-.076-.059-.086-.067-.045-.035-.064-.052-.074-.06-.089-.073-.046-.039-.046-.039a7.516 7.516 0 01-.043-.037l-.045-.04-.061-.053-.07-.062-.068-.06-.062-.058-.067-.062-.053-.05-.088-.084a13.28 13.28 0 01-.099-.097l-.029-.028-.041-.042-.069-.07-.05-.051-.05-.053a6.457 6.457 0 01-.168-.179l-.08-.088-.062-.07-.071-.08-.042-.049-.053-.062-.058-.068-.046-.056a7.175 7.175 0 01-.027-.033l-.045-.055-.066-.082-.041-.052-.05-.064-.02-.025a11.99 11.99 0 01-1.44-2.402zm-1.02-5.794l11.353 3.037a20.468 20.468 0 00-.469 2.011l10.817 2.894a12.076 12.076 0 01-1.845 2.005L.657 15.923l-.016-.046-.035-.104a11.965 11.965 0 01-.05-.153l-.007-.023a11.896 11.896 0 01-.207-.741l-.03-.126-.018-.08-.021-.097-.018-.081-.018-.09-.017-.084-.018-.094c-.026-.141-.05-.283-.071-.426l-.017-.118-.011-.083-.013-.102a12.01 12.01 0 01-.019-.161l-.005-.047a12.12 12.12 0 01-.034-2.145zm1.593-5.15l11.948 3.196c-.368.605-.705 1.231-1.01 1.875l11.295 3.022c-.142.82-.368 1.612-.668 2.365l-11.55-3.09L.124 10.26l.015-.1.008-.049.01-.067.015-.087.018-.098c.026-.148.056-.295.088-.442l.028-.124.02-.085.024-.097c.022-.09.045-.18.07-.268l.028-.102.023-.083.03-.1.025-.082.03-.096.026-.082.031-.095a11.896 11.896 0 011.01-2.232zm4.442-4.4L17.352 4.59a20.77 20.77 0 00-1.688 1.721l7.823 2.093c.267.852.442 1.744.513 2.665L2.106 5.213l.045-.065.027-.04.04-.055.046-.065.055-.076.054-.072.064-.086.05-.065.057-.073.055-.07.06-.074.055-.069.065-.077.054-.066.066-.077.053-.06.072-.082.053-.06.067-.074.054-.058.073-.078.058-.06.063-.067.168-.17.1-.098.059-.056.076-.071a12.084 12.084 0 012.272-1.677zM12.017 0h.097l.082.001.069.001.054.002.068.002.046.001.076.003.047.002.06.003.054.002.087.005.105.007.144.011.088.007.044.004.077.008.082.008.047.005.102.012.05.006.108.014.081.01.042.006.065.01.207.032.07.012.065.011.14.026.092.018.11.022.046.01.075.016.041.01L14.7.3l.042.01.065.015.049.012.071.017.096.024.112.03.113.03.113.032.05.015.07.02.078.024.073.023.05.016.05.016.076.025.099.033.102.036.048.017.064.023.093.034.11.041.116.045.1.04.047.02.06.024.041.018.063.026.04.018.057.025.11.048.1.046.074.035.075.036.06.028.092.046.091.045.102.052.053.028.049.026.046.024.06.033.041.022.052.029.088.05.106.06.087.051.057.034.053.032.096.059.088.055.098.062.036.024.064.041.084.056.04.027.062.042.062.043.023.017c.054.037.108.075.161.114l.083.06.065.048.056.043.086.065.082.064.04.03.05.041.086.069.079.065.085.071c.712.6 1.353 1.283 1.909 2.031L7.222.994l.062-.027.065-.028.081-.034.086-.035c.113-.045.227-.09.341-.131l.096-.035.093-.033.084-.03.096-.031c.087-.03.176-.058.264-.085l.091-.027.086-.025.102-.03.085-.023.1-.026L9.04.37l.09-.023.091-.022.095-.022.09-.02.098-.021.091-.02.095-.018.092-.018.1-.018.091-.016.098-.017.092-.014.097-.015.092-.013.102-.013.091-.012.105-.012.09-.01.105-.01c.093-.01.186-.018.28-.024l.106-.008.09-.005.11-.006.093-.004.1-.004.097-.002.099-.002.197-.002z"}],morph:[{d:"M7.941 2c.23 0 .452.073.638.21.186.136.325.328.397.55l.593 1.814c.073.221.212.413.397.55.186.136.409.21.638.21h2.791c.23 0 .452-.074.638-.21a1.11 1.11 0 00.397-.55l.594-1.815a1.11 1.11 0 01.397-.55c.185-.136.408-.209.637-.209h1.7c.23 0 .453.073.639.21.185.136.324.328.397.55l.652 1.994c.118.361.41.635.77.728l2.957.752c.236.06.446.199.596.394.15.195.23.436.231.684v9.376c0 .248-.081.488-.231.684a1.09 1.09 0 01-.595.394l-2.957.752a1.086 1.086 0 00-.477.263 1.114 1.114 0 00-.293.465l-.653 1.994a1.11 1.11 0 01-.396.55c-.186.136-.41.21-.638.21h-1.702c-.229 0-.452-.073-.637-.21a1.11 1.11 0 01-.397-.55l-.364-1.11a1.131 1.131 0 01.15-1.002 1.074 1.074 0 01.885-.462h2.85c.29 0 .567-.116.772-.325.204-.208.32-.49.32-.785V6.444c0-.294-.116-.577-.32-.785a1.08 1.08 0 00-.771-.326h-3.273c-.29 0-.567.117-.772.326-.204.208-.32.49-.32.785v7.778c0 .295-.114.578-.319.786a1.08 1.08 0 01-.771.325h-2.182a1.08 1.08 0 01-.771-.325 1.122 1.122 0 01-.32-.786V6.444c0-.294-.115-.577-.32-.785a1.081 1.081 0 00-.77-.326H5.454c-.29 0-.567.117-.772.326-.204.208-.32.49-.32.785v11.112c0 .294.116.577.32.785.205.209.482.326.772.326h2.85a1.075 1.075 0 01.885.461 1.122 1.122 0 01.15 1.001l-.364 1.112a1.11 1.11 0 01-.397.55c-.185.136-.408.209-.637.209H6.24c-.229 0-.452-.073-.638-.21a1.11 1.11 0 01-.397-.55l-.652-1.994a1.114 1.114 0 00-.294-.465 1.086 1.086 0 00-.477-.263l-2.956-.752a1.09 1.09 0 01-.595-.394A1.124 1.124 0 010 16.688V7.312c0-.248.081-.489.231-.684.15-.195.36-.334.595-.394l2.957-.753c.178-.045.342-.136.477-.263.134-.127.235-.287.293-.464l.653-1.995a1.11 1.11 0 01.397-.55C5.788 2.075 6.01 2 6.24 2h1.701z"}],nvidia:[{d:"M10.212 8.976V7.62c.127-.01.256-.017.388-.021 3.596-.117 5.957 3.184 5.957 3.184s-2.548 3.647-5.282 3.647a3.227 3.227 0 01-1.063-.175v-4.109c1.4.174 1.681.812 2.523 2.258l1.873-1.627a4.905 4.905 0 00-3.67-1.846 6.594 6.594 0 00-.729.044m0-4.476v2.025c.13-.01.259-.019.388-.024 5.002-.174 8.261 4.226 8.261 4.226s-3.743 4.69-7.643 4.69c-.338 0-.675-.031-1.007-.092v1.25c.278.038.558.057.838.057 3.629 0 6.253-1.91 8.794-4.169.421.347 2.146 1.193 2.501 1.564-2.416 2.083-8.048 3.763-11.24 3.763-.308 0-.603-.02-.894-.048V19.5H24v-15H10.21zm0 9.756v1.068c-3.356-.616-4.287-4.21-4.287-4.21a7.173 7.173 0 014.287-2.138v1.172h-.005a3.182 3.182 0 00-2.502 1.178s.615 2.276 2.507 2.931m-5.961-3.3c1.436-1.935 3.604-3.148 5.961-3.336V6.523C5.81 6.887 2 10.723 2 10.723s2.158 6.427 8.21 7.015v-1.166C5.77 16 4.25 10.958 4.25 10.958h-.002z"}],perplexity:[{d:"M19.785 0v7.272H22.5V17.62h-2.935V24l-7.037-6.194v6.145h-1.091v-6.152L4.392 24v-6.465H1.5V7.188h2.884V0l7.053 6.494V.19h1.09v6.49L19.786 0zm-7.257 9.044v7.319l5.946 5.234V14.44l-5.946-5.397zm-1.099-.08l-5.946 5.398v7.235l5.946-5.234V8.965zm8.136 7.58h1.844V8.349H13.46l6.105 5.54v2.655zm-8.982-8.28H2.59v8.195h1.8v-2.576l6.192-5.62zM5.475 2.476v4.71h5.115l-5.115-4.71zm13.219 0l-5.115 4.71h5.115v-4.71z"}],recraft:[{d:"M19.667 8.275c0-4.57-4.15-8.275-9.27-8.275-1.774 0-3.213 3.705-3.213 8.275 0 1.143.09 2.233.253 3.224H4.29L1 23h9.4v-6.447c5.117 0 9.266-3.707 9.266-8.275l.001-.002zm-9.27-6.76c.93 0 1.682 3.028 1.682 6.76 0 3.733-.752 6.76-1.681 6.76-.93 0-1.681-3.027-1.681-6.76 0-3.732.752-6.76 1.68-6.76z"},{d:"M19.848 16.552h-9.44L14.028 23h9.438l-3.618-6.448z"}],stepfun:[{d:"M12 0C5.372 0 0 5.372 0 12s5.372 12 12 12 12-5.372 12-12S18.628 0 12 0zM8.762 19.614H4.376v-4.386h4.386v4.386zm5.423 0H9.798v-4.386h4.387v4.386zm0-5.42H9.798V9.81h4.387v4.386zm0-5.418H9.798V4.39h4.387v4.386zm5.422-.004h-4.386V4.386h4.386v4.386z"}],tencent:[{d:"M12 0c6.627 0 12 5.373 12 12s-5.373 12-12 12S0 18.627 0 12 5.373 0 12 0zm1.652 1.123l-.01-.001c.533.097 1.023.233 1.41.404 6.084 2.683 7.396 9.214 1.601 14.338a3.781 3.781 0 01-5.337-.328 3.654 3.654 0 01-.884-3.044c-1.934.6-3.295 2.305-3.524 4.45-.204 1.912.324 4.044 2.056 5.634l.245.067C10.1 22.876 11.036 23 12 23c6.075 0 11-4.925 11-11 0-5.513-4.056-10.08-9.348-10.877zM2.748 6.21c-.178.269-.348.536-.51.803l-.235.394.078-.167A10.957 10.957 0 001 12c0 4.919 3.228 9.083 7.682 10.49l.214.065C3.523 18.528 2.84 14.149 6.47 8.68A2.234 2.234 0 102.748 6.21zm10.157-5.172c4.408 1.33 3.61 5.41 2.447 6.924-.86 1.117-2.922 1.46-3.708 2.238-.666.657-1.077 1.462-1.212 2.291A5.303 5.303 0 0112 12.258a5.672 5.672 0 001.404-11.169 10.51 10.51 0 00-.5-.052z"}],voyage:[{d:"M5.407 0v.066a.974.974 0 00-.048.245c-.011.11-.016.208-.016.295 0 .339.043.715.128 1.13.097.405.274.912.531 1.524l7.125 16.366L20.011 3.39c.161-.404.333-.846.515-1.327.182-.48.273-.966.273-1.458a1.406 1.406 0 00-.096-.54V0H24v.066c-.204.207-.45.578-.74 1.114-.29.535-.606 1.195-.949 1.982L13.095 24h-1.287L3.075 3.965c-.204-.47-.418-.923-.644-1.36-.214-.437-.418-.83-.61-1.18-.194-.36-.365-.66-.515-.9A5.666 5.666 0 001 .064V0h4.407z"}],xiaomi:[{d:"M12 0C8.016 0 4.756.255 2.493 2.516.23 4.776 0 8.033 0 12.012c0 3.98.23 7.235 2.494 9.497C4.757 23.77 8.017 24 12 24c3.983 0 7.243-.23 9.506-2.491C23.77 19.247 24 15.99 24 12.012c0-3.984-.233-7.243-2.502-9.504C19.234.252 15.978 0 12 0zM4.906 7.405h5.624c1.47 0 3.007.068 3.764.827.746.746.827 2.233.83 3.676v4.54a.15.15 0 0 1-.152.147h-1.947a.15.15 0 0 1-.152-.148V11.83c-.002-.806-.048-1.634-.464-2.051-.358-.36-1.026-.441-1.72-.458H7.158a.15.15 0 0 0-.151.147v6.98a.15.15 0 0 1-.152.148H4.906a.15.15 0 0 1-.15-.148V7.554a.15.15 0 0 1 .15-.149zm12.131 0h1.949a.15.15 0 0 1 .15.15v8.892a.15.15 0 0 1-.15.148h-1.949a.15.15 0 0 1-.151-.148V7.554a.15.15 0 0 1 .151-.149zM8.92 10.948h2.046c.083 0 .15.066.15.147v5.352a.15.15 0 0 1-.15.148H8.92a.15.15 0 0 1-.152-.148v-5.352a.15.15 0 0 1 .152-.147Z"}],zai:[{d:"M12.105 2L9.927 4.953H.653L2.83 2h9.276zM23.254 19.048L21.078 22h-9.242l2.174-2.952h9.244zM24 2L9.264 22H0L14.736 2H24z"}]};function C({owner:e,className:a}){let t=b.VENDOR_PROVIDERS[e];if(t)return(0,l.jsx)(M.ProviderIcon,{provider:t,className:a});let i=V[e];return i?(0,l.jsx)("svg",{viewBox:"0 0 24 24",fill:"currentColor",fillRule:"evenodd",className:a,"aria-hidden":"true",children:i.map(e=>(0,l.jsx)("path",{d:e.d,opacity:e.opacity},e.d))}):null}function w({provider:e,models:a,kind:t,value:i,loading:s,onPick:n}){let[r,o]=(0,c.useState)(!1),[u,p]=(0,c.useState)(""),[h,x]=(0,c.useState)("cheap"),[f,v]=(0,c.useState)(i),{label:y}=b.TEXT_MODEL_PROVIDERS[e],V=a.filter(e=>e.type===(t??b.CATALOG_TEXT)),C=t?V:V.filter(e=>e.tags.includes(b.CATALOG_TOOL_USE)),H=u.trim().toLowerCase(),I=(H?C.filter(e=>`${e.id} ${e.label}`.toLowerCase().includes(H)):C).slice().sort(S[h].compare);return(0,l.jsxs)(z.Dialog,{open:r,onOpenChange:e=>{o(e),e?v(i):p("")},children:[(0,l.jsxs)(z.DialogTrigger,{render:(0,l.jsx)("button",{type:"button","aria-label":"Model",className:(0,g.cn)(m.inputClassName,"relative flex items-center pr-8 text-left font-mono text-sm")}),children:[(0,l.jsx)("span",{className:(0,g.cn)("min-w-0 flex-1 truncate",!i&&"font-sans text-muted-foreground"),children:i||"Pick a model"}),(0,l.jsx)("span",{className:"absolute inset-y-0 right-0 flex w-8 items-center justify-center text-muted-foreground",children:s&&0===C.length?(0,l.jsx)(j.LoaderCircle,{className:"size-3.5 animate-spin"}):(0,l.jsx)(N.Search,{className:"size-3.5"})})]}),(0,l.jsx)(z.DialogContent,{className:"h-[min(40rem,calc(100vh-3rem))] gap-0 overflow-hidden p-0 sm:max-w-2xl",children:(0,l.jsxs)("div",{className:"flex h-full min-h-0 min-w-0 flex-col",children:[(0,l.jsxs)("div",{className:"shrink-0 space-y-1 px-6 pt-5 pb-4",children:[(0,l.jsxs)(z.DialogTitle,{className:"flex items-center gap-2.5 text-xl font-semibold",children:[(0,l.jsx)(M.ProviderIcon,{provider:e,className:"size-3.5"}),t?L[t]:"Text"," models"]}),(0,l.jsx)("p",{className:"font-mono text-xs text-muted-foreground",children:H?`${I.length} matching “${u.trim()}”`:t?`${C.length} on ${y}`:`${C.length} of ${V.length} on ${y} can call tools`})]}),(0,l.jsxs)("div",{className:"flex shrink-0 items-center gap-3 border-t border-border/60 px-6 py-3",children:[(0,l.jsxs)("div",{className:"relative min-w-0 flex-1",children:[(0,l.jsx)(N.Search,{className:"pointer-events-none absolute top-1/2 left-2.5 size-3.5 -translate-y-1/2 text-muted-foreground"}),(0,l.jsx)(m.Input,{autoFocus:!0,"aria-label":"Search models",placeholder:"name, id or provider",spellCheck:!1,value:u,onChange:e=>p(e.target.value),className:"h-8 pl-8 font-mono text-xs"})]}),(0,l.jsx)(k.Segmented,{"aria-label":"Sort",options:q,value:h,onChange:x})]}),(0,l.jsxs)("div",{className:"flex shrink-0 items-center gap-4 px-6 pb-1.5 font-mono text-[10px] tracking-wide text-muted-foreground",children:[(0,l.jsx)("span",{className:"min-w-0 flex-1",children:"model"}),(0,l.jsx)("span",{className:"w-28 text-right",children:"per 1M in / out"})]}),(0,l.jsxs)("div",{className:"min-h-0 flex-1 overflow-y-auto border-t border-border/60",children:[I.map(e=>(0,l.jsx)(A,{model:e,picked:e.id===f,onPick:()=>v(e.id)},e.id)),0===I.length&&(0,l.jsxs)("div",{className:"flex flex-col items-start gap-2.5 p-10",children:[(0,l.jsx)("p",{className:"font-mono text-xs text-muted-foreground",children:H?`Nothing matches “${u.trim()}”.`:"Nothing on the shelf — search for an id."}),H&&(0,l.jsxs)("div",{className:"flex gap-2",children:[(0,l.jsxs)(d.Button,{size:"sm",onClick:()=>v(u.trim()),children:["Use “",u.trim(),"” as the id"]}),(0,l.jsx)(d.Button,{variant:"outline",size:"sm",onClick:()=>p(""),children:"Clear search"})]})]})]}),(0,l.jsxs)("div",{className:"flex h-14 shrink-0 items-center gap-3 border-t border-border/60 px-6",children:[(0,l.jsx)("span",{className:"min-w-0 flex-1 truncate font-mono text-xs text-muted-foreground",children:f||"Nothing picked — the field keeps what it has"}),(0,l.jsx)(d.Button,{variant:"outline",onClick:()=>o(!1),children:"Cancel"}),(0,l.jsx)(d.Button,{disabled:!f,onClick:()=>{n(f),o(!1)},children:"Use this model"})]})]})})]})}let L={image:"Image",video:"Video",speech:"Speech",transcription:"Transcription"},S={cheap:{label:"$↑",title:"Cheapest first",compare:(e,l)=>(e.price.in??1/0)-(l.price.in??1/0)},dear:{label:"$↓",title:"Dearest first",compare:(e,l)=>(l.price.in??-1)-(e.price.in??-1)},name:{label:"a–z",title:"By name",compare:(e,l)=>e.label.localeCompare(l.label)}},q=Object.keys(S).map(e=>({value:e,label:S[e].label,title:S[e].title})),H=e=>e>=1?e.toFixed(2):String(Number(e.toFixed(4)));function A({model:e,picked:t,onPick:i}){let{price:s}=e,n=null!==s.in||null!==s.out;return(0,l.jsxs)("button",{type:"button",onClick:i,className:(0,g.cn)("flex w-full items-center gap-4 border-b border-border/60 px-6 py-2.5 text-left outline-none focus-visible:ring-3 focus-visible:ring-ring/50 focus-visible:ring-inset",t?"bg-muted/40":"hover:bg-muted/50"),children:[(0,l.jsx)("span",{className:"grid size-[18px] shrink-0 place-items-center",children:(0,l.jsx)(C,{owner:e.owner,className:"size-[15px]"})}),(0,l.jsxs)("span",{className:"min-w-0 flex-1",children:[(0,l.jsxs)("span",{className:"flex min-w-0 items-center gap-1.5",children:[(0,l.jsx)("span",{className:(0,g.cn)("truncate text-[13px]",t&&"font-medium"),children:e.label}),t&&(0,l.jsx)(a.Check,{className:"size-3.5 shrink-0"}),e.retiring&&(0,l.jsx)("span",{className:"shrink-0 font-mono text-[10px] text-muted-foreground",children:"retiring"})]}),(0,l.jsx)("span",{className:"block truncate font-mono text-[11px] text-muted-foreground",children:e.id})]}),(0,l.jsxs)("span",{className:"flex w-28 shrink-0 flex-col items-end",children:[(0,l.jsx)("span",{className:(0,g.cn)("font-mono text-xs",n||s.free?"text-foreground":"text-muted-foreground"),children:s.free?"free":null===s.in&&null===s.out?s.note??"—":`${null===s.in?"—":H(s.in)} / ${null===s.out?"—":H(s.out)}`}),n&&s.note&&(0,l.jsx)("span",{className:"font-mono text-[9px] text-muted-foreground",children:s.note})]})]})}function I({tier:e}){return(0,l.jsx)("span",{className:"shrink-0 rounded-full px-1.5 font-mono text-[9.5px] leading-4 font-normal text-muted-foreground ring-1 ring-border ring-inset",children:e})}function P({provider:e,onSaved:a}){let[t,i]=(0,c.useState)(""),[s,n]=(0,f.useServerAction)(h.setConfigAction,{onOk:()=>{(0,v.revalidate)(o.queryKey.llmModel),(0,v.revalidate)(o.queryKey.config),a()}});return e.signIn?(0,l.jsxs)("div",{className:"flex items-center justify-between gap-2",children:[(0,l.jsx)("p",{className:"px-1 font-mono text-[11px] text-muted-foreground",children:"Runs on your plan once you sign in"}),(0,l.jsx)(y.ChatGptSignIn,{variant:"outline"})]}):(0,l.jsxs)("div",{className:"flex gap-2",children:[(0,l.jsx)(m.Input,{value:t,onChange:e=>i(e.target.value),placeholder:b.TEXT_MODEL_PROVIDERS[e.id].keyLooks??"Paste the key",spellCheck:!1,type:"password"}),(0,l.jsx)(d.Button,{variant:"outline",loading:n,disabled:t.trim().length<p.KEY_MIN,onClick:()=>s(e.apiKeyName,t),children:"Save key"})]})}e.s(["ModelPicker",0,function({provider:e,model:i,kind:s,unset:p,onChange:h,onUnset:f,compact:y=!1}){let{data:j=[],mutate:N}=(0,v.useServerRoute)(o.queryKey.llmModel),z=s?j.filter(e=>(0,b.canMakeKind)(e.id,s)):j,k=z.find(l=>l.id===e),[V,C]=(0,c.useState)(!1),[L,S]=(0,c.useState)(null),[q,H]=(0,c.useState)(""),A=z.find(l=>l.id===(L??e))??z[0],T=A&&(0,b.isCatalogProvider)(A.id)?A.id:null,$=(0,v.useServerRoute)(V&&T&&o.queryKey.modelCatalog(T)),R=e=>s&&e?b.MEDIA_MODEL_PROVIDERS[e.id]?.models[s]??[]:e?.suggestModels??[],D=R(k).find(e=>e.id===i),O=e=>{A&&e.trim()&&(h({provider:A.id,model:e.trim()}),H(""),C(!1))};return(0,l.jsxs)(u.Popover,{open:V,onOpenChange:e=>{C(e),e||S(null)},children:[(0,l.jsxs)(u.PopoverTrigger,{render:y?(0,l.jsx)("button",{type:"button",className:"inline-flex h-5 max-w-64 items-center gap-1.5 rounded-full px-2 text-foreground/80 ring-1 ring-border outline-none ring-inset transition-colors hover:text-foreground focus-visible:ring-3 focus-visible:ring-ring/50"}):(0,l.jsx)(d.Button,{variant:"outline",className:"w-full min-w-0 justify-start gap-2 font-normal"}),children:[k?(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(M.ProviderIcon,{provider:k.id,className:(0,g.cn)("shrink-0",y?"size-3":"size-4")}),!y&&(0,l.jsxs)("span",{className:"min-w-0 max-w-fit grow basis-0 truncate text-muted-foreground",children:[k.label,(0,l.jsx)("span",{className:"ml-2 text-muted-foreground/40",children:"·"})]}),(0,l.jsx)("span",{className:(0,g.cn)("truncate",!y&&"font-medium"),children:D?.label??(i||"Pick a model")})]}):(0,l.jsx)("span",{className:"truncate text-muted-foreground",children:p??(s?"Not picked":"App default")}),(0,l.jsx)(t.ChevronsUpDown,{className:(0,g.cn)("ml-auto shrink-0 text-muted-foreground",y?"size-2.5":"size-3.5")})]}),(0,l.jsxs)(u.PopoverContent,{align:"start",className:"flex w-[min(34rem,calc(100vw-2rem))] flex-row gap-0 overflow-hidden rounded-2xl p-0",children:[(0,l.jsxs)("div",{className:"flex max-h-80 w-48 shrink-0 flex-col gap-px overflow-y-auto border-r border-border/60 bg-muted/40 p-1.5",children:[f&&(0,l.jsxs)("button",{type:"button",onClick:()=>{f(),C(!1)},className:(0,g.cn)("mb-1 flex h-8.5 shrink-0 items-center gap-2 rounded-lg px-2 text-left text-[13px] outline-none transition-colors focus-visible:ring-3 focus-visible:ring-ring/50",k?"hover:bg-muted/60":"bg-muted font-medium"),children:[(0,l.jsx)(n,{className:"size-4 shrink-0 text-muted-foreground"}),(0,l.jsx)("span",{className:"min-w-0 flex-1 truncate",children:p??(s?"Not picked":"App default")}),!k&&(0,l.jsx)(a.Check,{className:"size-3.5 shrink-0"})]}),z.map(e=>(0,l.jsxs)("button",{type:"button",onClick:()=>S(e.id),className:(0,g.cn)("flex h-8.5 shrink-0 items-center gap-2 rounded-lg px-2 text-left text-[13px] outline-none transition-colors focus-visible:ring-3 focus-visible:ring-ring/50",e.id===A?.id?"bg-muted font-medium":"hover:bg-muted/60",!e.hasKey&&"text-muted-foreground"),children:[(0,l.jsx)(M.ProviderIcon,{provider:e.id,className:"size-4 shrink-0"}),(0,l.jsx)("span",{className:"min-w-0 flex-1 truncate",children:e.label}),!e.hasKey&&(0,l.jsx)(r.KeyRound,{className:"size-3 shrink-0"})]},e.id))]}),(0,l.jsx)("div",{className:"flex max-h-80 min-w-0 flex-1 flex-col gap-px overflow-y-auto p-1.5",children:A?A.hasKey?T&&!$.error?(0,l.jsxs)("div",{className:"space-y-2 p-2",children:[(0,l.jsxs)("p",{className:"text-xs leading-relaxed text-muted-foreground",children:["Every model ",A.label," carries, with what each costs."]}),(0,l.jsx)(w,{provider:T,models:$.data??[],kind:s,value:A.id===e?i:"",loading:$.isLoading,onPick:O})]}):(0,l.jsxs)(l.Fragment,{children:[R(A).map(t=>{let s=A.id===e&&t.id===i;return(0,l.jsxs)("button",{type:"button",onClick:()=>O(t.id),className:(0,g.cn)("flex shrink-0 items-center gap-2 rounded-lg px-2.5 py-1.5 text-left outline-none transition-colors focus-visible:ring-3 focus-visible:ring-ring/50",s?"bg-muted":"hover:bg-muted/60"),children:[(0,l.jsxs)("span",{className:"min-w-0 flex-1",children:[(0,l.jsxs)("span",{className:"flex items-center gap-1.5 text-[13px] font-medium",children:[(0,l.jsx)("span",{className:"truncate",children:t.label}),(0,l.jsx)(I,{tier:t.tier})]}),(0,l.jsx)("span",{className:"block truncate font-mono text-[10.5px] text-muted-foreground",children:t.id})]}),s&&(0,l.jsx)(a.Check,{className:"size-3.5 shrink-0"})]},t.id)}),(0,l.jsx)("form",{onSubmit:e=>{e.preventDefault(),O(q)},className:"mt-1 px-1 pb-1",children:(0,l.jsx)(m.Input,{value:q,onChange:e=>H(e.target.value),spellCheck:!1,"aria-label":"Model id",placeholder:$.error?"Could not read the catalog — type an id":"or type a model id",className:"h-8 font-mono text-xs"})})]}):(0,l.jsxs)("div",{className:"space-y-2 p-2",children:[(0,l.jsx)("p",{className:(0,g.cn)("text-xs leading-relaxed",A.lostKey?g.WAITING_INK:"text-muted-foreground"),children:A.lostKey?A.signIn?(0,x.lostWords)(`The ${A.label} sign-in saved before`,"Sign in again."):(0,x.lostWords)(`The ${A.label} key saved before`,"Paste it again."):`${A.label} has no key yet.`}),(0,l.jsx)(P,{provider:A,onSaved:()=>N()})]}):null})]})]})}],146538)},689664,e=>{"use strict";var l=e.i(643957);e.s(["Check",()=>l.default])},77071,e=>{"use strict";var l=e.i(456420);let a={name:"plus",size:24,node:[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]]};a.node;let t=(0,l.default)(a);e.s(["Plus",0,t],77071)}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,798120,e=>{"use strict";let t=e=>e.split("/").map(encodeURIComponent).join("/");e.s(["queryKey",0,{memory:"/api/memory",memoryPage:e=>({url:"/api/memory",query:{offset:e||null}}),mcp:"/api/mcp",mcpServer:e=>({url:"/api/mcp",pathVariable:[e]}),mcpTools:"/api/mcp/tools",skills:"/api/skills",skillNode:(e,t,n)=>({url:"/api/skills",pathVariable:[e,t],query:{path:n}}),bot:"/api/bot",botMemory:"/api/bot/memory",botMemoryFiles:e=>({url:"/api/bot/memory/files",query:{bot:e}}),routines:"/api/routine",threads:"/api/bot/thread",threadHistory:(e,t)=>({url:"/api/bot/thread",query:{history:1,before:e,q:t||void 0}}),thread:e=>({url:"/api/bot/thread",query:{id:e}}),fileNotes:"/api/bot/thread/file",fileNote:(e,t)=>({url:"/api/bot/thread/file",query:{path:e,from:t}}),toolResult:(e,t)=>({url:"/api/bot/tool-result",pathVariable:[e],query:{call:t}}),workspace:"/api/workspace",workspaceFolder:(e,t)=>({url:"/api/workspace",query:{path:e||null,rows:t}}),workspaceFiles:e=>({url:"/api/workspace/files",query:{paths:JSON.stringify(e)}}),artifacts:"/api/artifact",artifactShelf:e=>({url:"/api/artifact",query:{rows:e}}),artifactSet:(e,t)=>({url:"/api/artifact",query:{set:e,rows:t}}),file:e=>`/api/file/${t(e)}`,fileFace:e=>`/api/file/${t(e)}?face`,favicon:e=>`/api/favicon/${encodeURIComponent(e)}`,fileView:e=>`/artifact/${t(e)}`,events:"/api/events",config:"/api/config",callHistory:e=>({url:"/api/thursday/call",query:{before:e}}),thursdaySettings:"/api/thursday/settings",toolCall:"/api/thursday/tool-call",callEnd:"/api/thursday/call/end",signIns:"/api/signins",reach:"/api/reach",textCall:"/api/thursday/text",memoryEdit:"/api/memory/edit",llmModel:"/api/llm-model",automaticModel:"/api/llm-model/automatic",modelCatalog:e=>`/api/llm-model/catalog/${e}`,keyCredits:e=>`/api/llm-model/credits/${e}`,subscriptionUsage:"/api/llm-model/subscription",running:"/api/running",update:"/api/update"}])},245629,401851,980797,383482,e=>{"use strict";var t=e.i(55545),n=e.i(455024),r=e.i(99151),a=e.i(845110),i=e.i(234662),o=e.i(281092);function u(e,t){let n=(0,o.toDate)(e,t?.in);return n.setHours(0,0,0,0),n}function s(e,t){let r=(0,n.getDefaultOptions)(),a=t?.weekStartsOn??t?.locale?.options?.weekStartsOn??r.weekStartsOn??r.locale?.options?.weekStartsOn??0,i=(0,o.toDate)(e,t?.in),u=i.getDay();return i.setDate(i.getDate()-(7*(u<a)+u-a)),i.setHours(0,0,0,0),i}function l(e,t){return s(e,{...t,weekStartsOn:1})}var c=e.i(677241);function d(e,t){let n=(0,o.toDate)(e,t?.in),r=n.getFullYear(),a=(0,c.constructFrom)(n,0);a.setFullYear(r+1,0,4),a.setHours(0,0,0,0);let i=l(a),u=(0,c.constructFrom)(n,0);u.setFullYear(r,0,4),u.setHours(0,0,0,0);let s=l(u);return n.getTime()>=i.getTime()?r+1:n.getTime()>=s.getTime()?r:r-1}function m(e,t){let r=(0,o.toDate)(e,t?.in),a=r.getFullYear(),i=(0,n.getDefaultOptions)(),u=t?.firstWeekContainsDate??t?.locale?.options?.firstWeekContainsDate??i.firstWeekContainsDate??i.locale?.options?.firstWeekContainsDate??1,l=(0,c.constructFrom)(t?.in||e,0);l.setFullYear(a+1,0,u),l.setHours(0,0,0,0);let d=s(l,t),m=(0,c.constructFrom)(t?.in||e,0);m.setFullYear(a,0,u),m.setHours(0,0,0,0);let h=s(m,t);return+r>=+d?a+1:+r>=+h?a:a-1}function h(e,t){let n=Math.abs(e).toString().padStart(t,"0");return(e<0?"-":"")+n}let f={y(e,t){let n=e.getFullYear(),r=n>0?n:1-n;return h("yy"===t?r%100:r,t.length)},M(e,t){let n=e.getMonth();return"M"===t?String(n+1):h(n+1,2)},d:(e,t)=>h(e.getDate(),t.length),a(e,t){let n=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];default:return"am"===n?"a.m.":"p.m."}},h:(e,t)=>h(e.getHours()%12||12,t.length),H:(e,t)=>h(e.getHours(),t.length),m:(e,t)=>h(e.getMinutes(),t.length),s:(e,t)=>h(e.getSeconds(),t.length),S(e,t){let n=t.length;return h(Math.trunc(e.getMilliseconds()*Math.pow(10,n-3)),t.length)}},g={G:function(e,t,n){let r=+(e.getFullYear()>0);switch(t){case"G":case"GG":case"GGG":return n.era(r,{width:"abbreviated"});case"GGGGG":return n.era(r,{width:"narrow"});default:return n.era(r,{width:"wide"})}},y:function(e,t,n){if("yo"===t){let t=e.getFullYear();return n.ordinalNumber(t>0?t:1-t,{unit:"year"})}return f.y(e,t)},Y:function(e,t,n,r){let a=m(e,r),i=a>0?a:1-a;return"YY"===t?h(i%100,2):"Yo"===t?n.ordinalNumber(i,{unit:"year"}):h(i,t.length)},R:function(e,t){return h(d(e),t.length)},u:function(e,t){return h(e.getFullYear(),t.length)},Q:function(e,t,n){let r=Math.ceil((e.getMonth()+1)/3);switch(t){case"Q":return String(r);case"QQ":return h(r,2);case"Qo":return n.ordinalNumber(r,{unit:"quarter"});case"QQQ":return n.quarter(r,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(r,{width:"narrow",context:"formatting"});default:return n.quarter(r,{width:"wide",context:"formatting"})}},q:function(e,t,n){let r=Math.ceil((e.getMonth()+1)/3);switch(t){case"q":return String(r);case"qq":return h(r,2);case"qo":return n.ordinalNumber(r,{unit:"quarter"});case"qqq":return n.quarter(r,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(r,{width:"narrow",context:"standalone"});default:return n.quarter(r,{width:"wide",context:"standalone"})}},M:function(e,t,n){let r=e.getMonth();switch(t){case"M":case"MM":return f.M(e,t);case"Mo":return n.ordinalNumber(r+1,{unit:"month"});case"MMM":return n.month(r,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(r,{width:"narrow",context:"formatting"});default:return n.month(r,{width:"wide",context:"formatting"})}},L:function(e,t,n){let r=e.getMonth();switch(t){case"L":return String(r+1);case"LL":return h(r+1,2);case"Lo":return n.ordinalNumber(r+1,{unit:"month"});case"LLL":return n.month(r,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(r,{width:"narrow",context:"standalone"});default:return n.month(r,{width:"wide",context:"standalone"})}},w:function(e,t,r,a){let u,l,d,f,g,p=Math.round((s(u=(0,o.toDate)(e,a?.in),a)-(l=(0,n.getDefaultOptions)(),d=a?.firstWeekContainsDate??a?.locale?.options?.firstWeekContainsDate??l.firstWeekContainsDate??l.locale?.options?.firstWeekContainsDate??1,f=m(u,a),(g=(0,c.constructFrom)(a?.in||u,0)).setFullYear(f,0,d),g.setHours(0,0,0,0),s(g,a)))/i.millisecondsInWeek)+1;return"wo"===t?r.ordinalNumber(p,{unit:"week"}):h(p,t.length)},I:function(e,t,n){let r,a,u,s=Math.round((l(r=(0,o.toDate)(e,void 0))-(a=d(r,void 0),(u=(0,c.constructFrom)(r,0)).setFullYear(a,0,4),u.setHours(0,0,0,0),l(u)))/i.millisecondsInWeek)+1;return"Io"===t?n.ordinalNumber(s,{unit:"week"}):h(s,t.length)},d:function(e,t,n){return"do"===t?n.ordinalNumber(e.getDate(),{unit:"date"}):f.d(e,t)},D:function(e,t,n){let s,l,c=function(e,t){let[n,o]=(0,a.normalizeDates)(void 0,e,t),s=u(n),l=u(o);return Math.round((s-(0,r.getTimezoneOffsetInMilliseconds)(s)-(l-(0,r.getTimezoneOffsetInMilliseconds)(l)))/i.millisecondsInDay)}(s=(0,o.toDate)(e,void 0),((l=(0,o.toDate)(s,void 0)).setFullYear(l.getFullYear(),0,1),l.setHours(0,0,0,0),l))+1;return"Do"===t?n.ordinalNumber(c,{unit:"dayOfYear"}):h(c,t.length)},E:function(e,t,n){let r=e.getDay();switch(t){case"E":case"EE":case"EEE":return n.day(r,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(r,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(r,{width:"short",context:"formatting"});default:return n.day(r,{width:"wide",context:"formatting"})}},e:function(e,t,n,r){let a=e.getDay(),i=(a-r.weekStartsOn+8)%7||7;switch(t){case"e":return String(i);case"ee":return h(i,2);case"eo":return n.ordinalNumber(i,{unit:"day"});case"eee":return n.day(a,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(a,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(a,{width:"short",context:"formatting"});default:return n.day(a,{width:"wide",context:"formatting"})}},c:function(e,t,n,r){let a=e.getDay(),i=(a-r.weekStartsOn+8)%7||7;switch(t){case"c":return String(i);case"cc":return h(i,t.length);case"co":return n.ordinalNumber(i,{unit:"day"});case"ccc":return n.day(a,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(a,{width:"narrow",context:"standalone"});case"cccccc":return n.day(a,{width:"short",context:"standalone"});default:return n.day(a,{width:"wide",context:"standalone"})}},i:function(e,t,n){let r=e.getDay(),a=0===r?7:r;switch(t){case"i":return String(a);case"ii":return h(a,t.length);case"io":return n.ordinalNumber(a,{unit:"day"});case"iii":return n.day(r,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(r,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(r,{width:"short",context:"formatting"});default:return n.day(r,{width:"wide",context:"formatting"})}},a:function(e,t,n){let r=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(r,{width:"narrow",context:"formatting"});default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},b:function(e,t,n){let r,a=e.getHours();switch(r=12===a?"noon":0===a?"midnight":a/12>=1?"pm":"am",t){case"b":case"bb":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(r,{width:"narrow",context:"formatting"});default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},B:function(e,t,n){let r,a=e.getHours();switch(r=a>=17?"evening":a>=12?"afternoon":a>=4?"morning":"night",t){case"B":case"BB":case"BBB":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(r,{width:"narrow",context:"formatting"});default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},h:function(e,t,n){if("ho"===t){let t=e.getHours()%12;return 0===t&&(t=12),n.ordinalNumber(t,{unit:"hour"})}return f.h(e,t)},H:function(e,t,n){return"Ho"===t?n.ordinalNumber(e.getHours(),{unit:"hour"}):f.H(e,t)},K:function(e,t,n){let r=e.getHours()%12;return"Ko"===t?n.ordinalNumber(r,{unit:"hour"}):h(r,t.length)},k:function(e,t,n){let r=e.getHours();return(0===r&&(r=24),"ko"===t)?n.ordinalNumber(r,{unit:"hour"}):h(r,t.length)},m:function(e,t,n){return"mo"===t?n.ordinalNumber(e.getMinutes(),{unit:"minute"}):f.m(e,t)},s:function(e,t,n){return"so"===t?n.ordinalNumber(e.getSeconds(),{unit:"second"}):f.s(e,t)},S:function(e,t){return f.S(e,t)},X:function(e,t,n){let r=e.getTimezoneOffset();if(0===r)return"Z";switch(t){case"X":return w(r);case"XXXX":case"XX":return b(r);default:return b(r,":")}},x:function(e,t,n){let r=e.getTimezoneOffset();switch(t){case"x":return w(r);case"xxxx":case"xx":return b(r);default:return b(r,":")}},O:function(e,t,n){let r=e.getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+p(r,":");default:return"GMT"+b(r,":")}},z:function(e,t,n){let r=e.getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+p(r,":");default:return"GMT"+b(r,":")}},t:function(e,t,n){return h(Math.trunc(e/1e3),t.length)},T:function(e,t,n){return h(+e,t.length)}};function p(e,t=""){let n=e>0?"-":"+",r=Math.abs(e),a=Math.trunc(r/60),i=r%60;return 0===i?n+String(a):n+String(a)+t+h(i,2)}function w(e,t){return e%60==0?(e>0?"-":"+")+h(Math.abs(e)/60,2):b(e,t)}function b(e,t=""){let n=Math.abs(e);return(e>0?"-":"+")+h(Math.trunc(n/60),2)+t+h(n%60,2)}let y=(e,t)=>{switch(e){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});default:return t.date({width:"full"})}},v=(e,t)=>{switch(e){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});default:return t.time({width:"full"})}},M={p:v,P:(e,t)=>{let n,r=e.match(/(P+)(p+)?/)||[],a=r[1],i=r[2];if(!i)return y(e,t);switch(a){case"P":n=t.dateTime({width:"short"});break;case"PP":n=t.dateTime({width:"medium"});break;case"PPP":n=t.dateTime({width:"long"});break;default:n=t.dateTime({width:"full"})}return n.replace("{{date}}",y(a,t)).replace("{{time}}",v(i,t))}},x=/^D+$/,D=/^Y+$/,k=["D","DD","YY","YYYY"],S=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,C=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,P=/^'([^]*?)'?$/,O=/''/g,T=/[a-zA-Z]/;function W(e,r,a){let i=(0,n.getDefaultOptions)(),u=a?.locale??i.locale??t.defaultLocale,s=a?.firstWeekContainsDate??a?.locale?.options?.firstWeekContainsDate??i.firstWeekContainsDate??i.locale?.options?.firstWeekContainsDate??1,l=a?.weekStartsOn??a?.locale?.options?.weekStartsOn??i.weekStartsOn??i.locale?.options?.weekStartsOn??0,c=(0,o.toDate)(e,a?.in);if(!(c instanceof Date||"object"==typeof c&&"[object Date]"===Object.prototype.toString.call(c))&&"number"!=typeof c||isNaN(+(0,o.toDate)(c)))throw RangeError("Invalid time value");let d=r.match(C).map(e=>{let t=e[0];return"p"===t||"P"===t?(0,M[t])(e,u.formatLong):e}).join("").match(S).map(e=>{if("''"===e)return{isToken:!1,value:"'"};let t=e[0];if("'"===t){var n;let t;return{isToken:!1,value:(t=(n=e).match(P))?t[1].replace(O,"'"):n}}if(g[t])return{isToken:!0,value:e};if(t.match(T))throw RangeError("Format string contains an unescaped latin alphabet character `"+t+"`");return{isToken:!1,value:e}});u.localize.preprocessor&&(d=u.localize.preprocessor(c,d));let m={firstWeekContainsDate:s,weekStartsOn:l,locale:u};return d.map(t=>{if(!t.isToken)return t.value;let n=t.value;return(!a?.useAdditionalWeekYearTokens&&D.test(n)||!a?.useAdditionalDayOfYearTokens&&x.test(n))&&function(e,t,n){var r,a,i;let o,u=(r=e,a=t,i=n,o="Y"===r[0]?"years":"days of the month",`Use \`${r.toLowerCase()}\` instead of \`${r}\` (in \`${a}\`) for formatting ${o} to the input \`${i}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`);if(console.warn(u),k.includes(e))throw RangeError(u)}(n,r,String(e)),(0,g[n[0]])(c,n,u.localize,m)}).join("")}e.s(["format",0,W],401851);var F=e.i(24708);function q(e,t,n){let[r,i]=(0,a.normalizeDates)(n?.in,e,t);return+u(r)==+u(i)}function I(e,t){return q((0,c.constructFrom)(t?.in||e,e),(0,F.constructNow)(t?.in||e))}function N(e,t){var n,r;let a;return q((0,c.constructFrom)(t?.in||e,e),(n=(0,F.constructNow)(t?.in||e),r=void 0,a=(0,o.toDate)(n,r?.in),isNaN(-1)?(0,c.constructFrom)(r?.in||n,NaN):(a.setDate(a.getDate()+-1),a)))}e.s(["isToday",0,I],980797),e.s(["isYesterday",0,N],383482);var E=e.i(362201),Y=e.i(650215);function L(e){return Y._isoDateTime(E.ZodISODateTime,e)}function H(e){return Y._isoDate(E.ZodISODate,e)}function z(e){return Y._isoTime(E.ZodISOTime,e)}function R(e){return Y._isoDuration(E.ZodISODuration,e)}e.s(["date",0,H,"datetime",0,L,"duration",0,R,"time",0,z],433832),e.i(433832),e.s(["ZodISODate",()=>E.ZodISODate,"ZodISODateTime",()=>E.ZodISODateTime,"ZodISODuration",()=>E.ZodISODuration,"ZodISOTime",()=>E.ZodISOTime,"date",0,H,"datetime",0,L,"duration",0,R,"time",0,z],49732);var j=e.i(49732),j=j;let $=E.union([E.date(),j.datetime()]),A=e=>new Date(e);e.s(["DateLikeSchema",0,$,"shortAgo",0,function(e,t=Date.now()){let n=Math.max(0,Math.round((t-A(e).getTime())/1e3));if(n<60)return"now";let r=Math.round(n/60);if(r<60)return`${r}m`;let a=Math.round(r/60);return a<24?`${a}h`:`${Math.round(a/24)}d`},"toDate",0,A,"whenOf",0,function(e){let t=A(e),n=W(t,"HH:mm");return I(t)?n:N(t)?`Yesterday ${n}`:`${W(t,"MMM d")} \xb7 ${n}`}],245629)},395530,e=>{"use strict";var t=e.i(271645),n=e.i(828918),r=e.i(838452),a=e.i(673553);e.s(["useCompositeItem",0,function(e={}){let{highlightItemOnHover:i,highlightedIndex:o,onHighlightedIndexChange:u}=(0,r.useCompositeRootContext)(),{ref:s,index:l}=(0,a.useCompositeListItem)(e),c=o===l,d=t.useRef(null),m=(0,n.useMergedRefs)(s,d);return{compositeProps:{tabIndex:c?0:-1,onFocus(){u(l)},onMouseMove(){let e=d.current;if(!i||!e)return;let t=e.hasAttribute("disabled")||"true"===e.ariaDisabled;c||t||e.focus()}},compositeRef:m,index:l}}])},53687,e=>{"use strict";var t=e.i(271645),n=e.i(388940),r=e.i(667865),a=e.i(146376),i=e.i(545356),o=e.i(843476);function u(){return new Map}function s(){return new Set}function l(e,t){return e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING?-1:1}e.s(["CompositeList",0,function(e){let{children:c,elementsRef:d,labelsRef:m,onMapChange:h}=e,f=(0,r.useStableCallback)(h),[,g]=t.useState(!1),p=(0,n.useRefWithInit)(s).current,w=(0,n.useRefWithInit)(u).current,b=t.useRef(0),y=t.useRef(!0),v=t.useRef(null),M=t.useRef(null),x=(0,r.useStableCallback)(()=>{y.current||(y.current=!0,g(e=>!e))}),D=(0,r.useStableCallback)((e,t)=>{w.set(e,t),x()}),k=(0,r.useStableCallback)(e=>{w.delete(e),x()}),S=(0,r.useStableCallback)(e=>{let t=new Map;return d.current.length=0,m&&(m.current.length=0),e.forEach(e=>{t.set(e.element,{...e.registration.metadata??{},index:e.index}),d.current[e.index]=e.element,m&&(m.current[e.index]=void 0!==e.registration.label?e.registration.label:e.registration.textRef?.current?.textContent??e.element.textContent)}),b.current=d.current.length,t}),C=(0,r.useStableCallback)(()=>{var e;let t,n,r,a,[i,o]=(e=w,t=new Set,n=[],r=[],e.forEach((e,a)=>{if(!a.isConnected)return;let i=e.index,o={index:i??-1,element:a,registration:e};null===i?r.push(o):i>=0&&(t.add(i),n.push(o))}),a=0,r.sort((e,t)=>l(e.element,t.element)),r.forEach(e=>{for(;t.has(a);)a+=1;e.index=a,n.push(e),a+=1}),t.size>0&&n.sort((e,t)=>e.index-t.index),[n,r.map(e=>e.element)]),u=S(i),s=v.current,c=!s||s.length!==i.length||i.some((e,t)=>{let n=s[t];return e.index!==n.index||e.element!==n.element||e.registration.index!==n.registration.index||e.registration.metadata!==n.registration.metadata});!function(e){if(M.current?.disconnect(),M.current=null,"function"!=typeof MutationObserver||e.length<2)return;let t=new MutationObserver(n=>{if(!function(e){for(let t of e)for(let e=0;e<t.removedNodes.length;e+=1)if(t.removedNodes[e].isConnected)return!0;return!1}(n))return;let r=null;for(let n of e)if(n.isConnected){if(r&&l(r,n)>0){t.disconnect(),x();return}r=n}});M.current=t;let n=new Set;for(let t=1;t<e.length;t+=1){let r=function(e,t){let n=e.parentElement;for(;n&&!n.contains(t);)n=n.parentElement;return n}(e[t-1],e[t]);r&&n.add(r)}n.forEach(e=>t.observe(e,{childList:!0}))}(o),v.current=i,y.current=!1,c&&(p.forEach(e=>e(u)),f(u))});(0,a.useIsoLayoutEffect)(()=>(!y.current&&v.current&&S(v.current),()=>{d.current=[],m&&(m.current=[])}),[d,m,S]),(0,a.useIsoLayoutEffect)(()=>{y.current&&C()}),(0,a.useIsoLayoutEffect)(()=>()=>{M.current?.disconnect(),y.current=!0},[]);let P=(0,r.useStableCallback)(e=>(p.add(e),()=>{p.delete(e)})),O=t.useMemo(()=>({register:D,unregister:k,subscribeMapChange:P,nextIndexRef:b}),[D,k,P,b]);return(0,o.jsx)(i.CompositeListContext.Provider,{value:O,children:c})}])},545356,e=>{"use strict";e.i(247167);var t=e.i(271645);let n=t.createContext({register:()=>{},unregister:()=>{},subscribeMapChange:()=>()=>{},nextIndexRef:{current:0}});e.s(["CompositeListContext",0,n,"useCompositeListContext",0,function(){return t.useContext(n)}])},673553,e=>{"use strict";var t=e.i(271645),n=e.i(146376),r=e.i(545356);e.s(["useCompositeListItem",0,function(e={}){let{guess:a,label:i,metadata:o,textRef:u,index:s}=e,{register:l,unregister:c,subscribeMapChange:d,nextIndexRef:m}=(0,r.useCompositeListContext)(),h=t.useRef(-1),[f,g]=t.useState(null==s&&a?()=>{if(-1===h.current){let e=m.current;m.current+=1,h.current=e}return h.current}:-1),p=s??f,w=t.useRef(null),b=t.useCallback(e=>{let t=w.current;t&&c(t),w.current=e,e&&l(e,{metadata:o??null,index:s??null,label:i,textRef:u})},[s,l,c,o,i,u]);return(0,n.useIsoLayoutEffect)(()=>{if(null==s)return d(e=>{let t=w.current?e.get(w.current)?.index:null;null!=t&&g(t)})},[s,d]),{ref:b,index:p}}])},652225,e=>{"use strict";e.i(247167);var t=e.i(271645),n=e.i(552245);let r=t.forwardRef(function(e,t){let{className:r,render:a,orientation:i="horizontal",style:o,...u}=e;return(0,n.useRenderElement)("div",e,{state:{orientation:i},ref:t,props:[{role:"separator","aria-orientation":i},u]})});e.s(["Separator",0,r])},73364,e=>{"use strict";var t=e.i(343084),n=e.i(229315);e.s(["getCssDimensions",0,function(e){let r=(0,n.getComputedStyle)(e),a=parseFloat(r.width)||0,i=parseFloat(r.height)||0,o=(0,n.isHTMLElement)(e),u=o?e.offsetWidth:a,s=o?e.offsetHeight:i;return((0,t.round)(a)!==u||(0,t.round)(i)!==s)&&(a=u,i=s),{width:a,height:i}}])},99151,281092,845110,e=>{"use strict";var t=e.i(677241);function n(e,n){return(0,t.constructFrom)(n||e,e)}e.s(["toDate",0,n],281092),e.s(["getTimezoneOffsetInMilliseconds",0,function(e){let t=n(e),r=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return r.setUTCFullYear(t.getFullYear()),e-r}],99151),e.s(["normalizeDates",0,function(e,...n){let r=t.constructFrom.bind(null,e||n.find(e=>"object"==typeof e));return n.map(r)}],845110)},677241,234662,e=>{"use strict";let t=Symbol.for("constructDateFrom");e.s(["constructFromSymbol",0,t,"millisecondsInDay",0,864e5,"millisecondsInMinute",0,6e4,"millisecondsInWeek",0,6048e5,"minutesInDay",0,1440,"minutesInMonth",0,43200,"minutesInYear",0,525600],234662),e.s(["constructFrom",0,function(e,n){return"function"==typeof e?e(n):e&&"object"==typeof e&&t in e?e[t](n):e instanceof Date?new e.constructor(n):new Date(n)}],677241)},24708,e=>{"use strict";var t=e.i(677241);e.s(["constructNow",0,function(e){return(0,t.constructFrom)(e,Date.now())}])},55545,455024,e=>{"use strict";var t;let n={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}};function r(e){return (t={})=>{let n=t.width?String(t.width):e.defaultWidth;return e.formats[n]||e.formats[e.defaultWidth]}}let a={date:r({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:r({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}),dateTime:r({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},i={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"};function o(e){return(t,n)=>{let r;if("formatting"===(n?.context?String(n.context):"standalone")&&e.formattingValues){let t=e.defaultFormattingWidth||e.defaultWidth,a=n?.width?String(n.width):t;r=e.formattingValues[a]||e.formattingValues[t]}else{let t=e.defaultWidth,a=n?.width?String(n.width):e.defaultWidth;r=e.values[a]||e.values[t]}return r[e.argumentCallback?e.argumentCallback(t):t]}}let u={ordinalNumber:(e,t)=>{let n=Number(e),r=n%100;if(r>20||r<10)switch(r%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},era:o({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:o({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},defaultWidth:"wide",argumentCallback:e=>e-1}),month:o({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},defaultWidth:"wide"}),day:o({values:{narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},defaultWidth:"wide"}),dayPeriod:o({values:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},defaultFormattingWidth:"wide"})};function s(e){return(t,n={})=>{let r,a=n.width,i=a&&e.matchPatterns[a]||e.matchPatterns[e.defaultMatchWidth],o=t.match(i);if(!o)return null;let u=o[0],s=a&&e.parsePatterns[a]||e.parsePatterns[e.defaultParseWidth],l=Array.isArray(s)?function(e,t){for(let n=0;n<e.length;n++)if(t(e[n]))return n}(s,e=>e.test(u)):function(e,t){for(let n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&t(e[n]))return n}(s,e=>e.test(u));return r=e.valueCallback?e.valueCallback(l):l,{value:r=n.valueCallback?n.valueCallback(r):r,rest:t.slice(u.length)}}}let l={ordinalNumber:(t={matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:e=>parseInt(e,10)},(e,n={})=>{let r=e.match(t.matchPattern);if(!r)return null;let a=r[0],i=e.match(t.parsePattern);if(!i)return null;let o=t.valueCallback?t.valueCallback(i[0]):i[0];return{value:o=n.valueCallback?n.valueCallback(o):o,rest:e.slice(a.length)}}),era:s({matchPatterns:{narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^b/i,/^(a|c)/i]},defaultParseWidth:"any"}),quarter:s({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:e=>e+1}),month:s({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:s({matchPatterns:{narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:s({matchPatterns:{narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},defaultParseWidth:"any"})};e.s(["defaultLocale",0,{code:"en-US",formatDistance:(e,t,r)=>{let a,i=n[e];if(a="string"==typeof i?i:1===t?i.one:i.other.replace("{{count}}",t.toString()),r?.addSuffix)if(r.comparison&&r.comparison>0)return"in "+a;else return a+" ago";return a},formatLong:a,formatRelative:(e,t,n,r)=>i[e],localize:u,match:l,options:{weekStartsOn:0,firstWeekContainsDate:1}}],55545);let c={};e.s(["getDefaultOptions",0,function(){return c}],455024)},643957,e=>{"use strict";var t=e.i(456420);let n={name:"check",size:24,node:[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]};n.node;let r=(0,t.default)(n);e.s(["default",0,r])},716327,e=>{"use strict";var t=e.i(456420);let n={name:"chevron-down",size:24,node:[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]};n.node;let r=(0,t.default)(n);e.s(["ChevronDown",0,r],716327)},867927,986253,e=>{"use strict";var t=e.i(456420);let n={name:"chevron-right",size:24,node:[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]};n.node;let r=(0,t.default)(n);e.s(["default",0,r],986253),e.s(["ChevronRight",0,r],867927)},263676,e=>{"use strict";var t=e.i(814387);e.s(["X",()=>t.default])}]);
|