thursday-agent 0.16.0 → 0.17.1
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/build-manifest.json +3 -3
- package/.next/prerender-manifest.json +3 -3
- 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.html +1 -1
- package/.next/server/app/_not-found.rsc +1 -1
- package/.next/server/app/_not-found.segments/_full.segment.rsc +1 -1
- package/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +1 -1
- package/.next/server/app/_not-found.segments/_tree.segment.rsc +1 -1
- package/.next/server/app/api/artifact/route.js +9 -9
- package/.next/server/app/api/artifact/route.js.nft.json +1 -1
- package/.next/server/app/api/bot/memory/files/route.js +3 -3
- package/.next/server/app/api/bot/memory/files/route.js.nft.json +1 -1
- package/.next/server/app/api/bot/memory/route.js +8 -8
- package/.next/server/app/api/bot/memory/route.js.nft.json +1 -1
- package/.next/server/app/api/bot/route.js +8 -8
- package/.next/server/app/api/bot/route.js.nft.json +1 -1
- package/.next/server/app/api/bot/thread/[id]/route.js +3 -3
- package/.next/server/app/api/bot/thread/[id]/route.js.nft.json +1 -1
- package/.next/server/app/api/bot/thread/route.js +3 -3
- package/.next/server/app/api/bot/thread/route.js.nft.json +1 -1
- package/.next/server/app/api/config/route.js.nft.json +1 -1
- package/.next/server/app/api/events/route.js.nft.json +1 -1
- package/.next/server/app/api/favicon/[host]/route.js.nft.json +1 -1
- package/.next/server/app/api/file/[...path]/route.js +4 -4
- package/.next/server/app/api/file/[...path]/route.js.nft.json +1 -1
- package/.next/server/app/api/llm-model/catalog/route.js.nft.json +1 -1
- package/.next/server/app/api/llm-model/credits/route.js.nft.json +1 -1
- package/.next/server/app/api/llm-model/route.js.nft.json +1 -1
- package/.next/server/app/api/llm-model/subscription/route.js.nft.json +1 -1
- package/.next/server/app/api/mcp/[name]/route.js.nft.json +1 -1
- package/.next/server/app/api/mcp/oauth/callback/route.js.nft.json +1 -1
- package/.next/server/app/api/mcp/route.js.nft.json +1 -1
- package/.next/server/app/api/mcp/tools/route.js.nft.json +1 -1
- package/.next/server/app/api/memory/edit/route.js +11 -11
- package/.next/server/app/api/memory/edit/route.js.nft.json +1 -1
- package/.next/server/app/api/memory/route.js.nft.json +1 -1
- package/.next/server/app/api/reach/route.js +11 -11
- package/.next/server/app/api/reach/route.js.nft.json +1 -1
- package/.next/server/app/api/routine/route.js +7 -7
- package/.next/server/app/api/routine/route.js.nft.json +1 -1
- package/.next/server/app/api/signins/route.js +5 -5
- package/.next/server/app/api/signins/route.js.nft.json +1 -1
- package/.next/server/app/api/skills/[source]/[name]/route.js +7 -7
- package/.next/server/app/api/skills/[source]/[name]/route.js.nft.json +1 -1
- package/.next/server/app/api/skills/route.js +7 -7
- package/.next/server/app/api/skills/route.js.nft.json +1 -1
- package/.next/server/app/api/thursday/call/route.js +5 -5
- package/.next/server/app/api/thursday/call/route.js.nft.json +1 -1
- package/.next/server/app/api/thursday/settings/route.js +5 -5
- package/.next/server/app/api/thursday/settings/route.js.nft.json +1 -1
- package/.next/server/app/api/thursday/text/route.js +13 -13
- package/.next/server/app/api/thursday/text/route.js.nft.json +1 -1
- package/.next/server/app/api/thursday/tool-call/route.js +12 -12
- package/.next/server/app/api/thursday/tool-call/route.js.nft.json +1 -1
- package/.next/server/app/api/workspace/files/route.js +8 -8
- package/.next/server/app/api/workspace/files/route.js.nft.json +1 -1
- package/.next/server/app/api/workspace/route.js +9 -9
- package/.next/server/app/api/workspace/route.js.nft.json +1 -1
- package/.next/server/app/artifact/[...path]/page/server-reference-manifest.json +3 -3
- package/.next/server/app/artifact/[...path]/page.js +4 -4
- 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 +60 -60
- package/.next/server/app/page.js +5 -5
- package/.next/server/app/page.js.nft.json +1 -1
- package/.next/server/app/page_client-reference-manifest.js +1 -1
- package/.next/server/chunks/[root-of-the-server]__00qyw01._.js +1 -1
- package/.next/server/chunks/[root-of-the-server]__01ypm_z._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__021dkui._.js +3 -0
- package/.next/server/chunks/{[root-of-the-server]__18e65_-._.js → [root-of-the-server]__03xamry._.js} +2 -2
- package/.next/server/chunks/[root-of-the-server]__05dp5tr._.js +1 -1
- package/.next/server/chunks/[root-of-the-server]__09gdscj._.js +7 -0
- package/.next/server/chunks/{[root-of-the-server]__10_7vqz._.js → [root-of-the-server]__0b36yfw._.js} +1 -1
- package/.next/server/chunks/{[root-of-the-server]__1gamvcz._.js → [root-of-the-server]__0jzwdg-._.js} +2 -2
- package/.next/server/chunks/[root-of-the-server]__0mrk2it._.js +1 -1
- package/.next/server/chunks/[root-of-the-server]__0nmust6._.js +5 -0
- package/.next/server/chunks/[root-of-the-server]__0svzjwa._.js +7 -0
- package/.next/server/chunks/{[root-of-the-server]__16yw3mb._.js → [root-of-the-server]__12m24xl._.js} +1 -1
- package/.next/server/chunks/{[root-of-the-server]__1zrwxis._.js → [root-of-the-server]__12tahb4._.js} +1 -1
- package/.next/server/chunks/{[root-of-the-server]__1ep-pao._.js → [root-of-the-server]__1_h4hf9._.js} +4 -4
- package/.next/server/chunks/{[root-of-the-server]__1-tdj60._.js → [root-of-the-server]__1de1o6m._.js} +2 -2
- package/.next/server/chunks/{[root-of-the-server]__1voqqyc._.js → [root-of-the-server]__1ignh6-._.js} +1 -1
- package/.next/server/chunks/[root-of-the-server]__1t02-1p._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__1ygplx1._.js +1 -1
- package/.next/server/chunks/{[root-of-the-server]__11g20j-._.js → [root-of-the-server]__1yl5l25._.js} +1 -1
- package/.next/server/chunks/{[root-of-the-server]__1mbd2w_._.js → [root-of-the-server]__208vmyf._.js} +1 -1
- package/.next/server/chunks/{_1mfu9a3._.js → _02lipqs._.js} +1 -1
- package/.next/server/chunks/_05sa7xl._.js +1 -1
- package/.next/server/chunks/{_1rg5bfd._.js → _074f2ts._.js} +1 -1
- package/.next/server/chunks/_07nxi75._.js +37 -37
- package/.next/server/chunks/_08354bn._.js +12 -12
- package/.next/server/chunks/_08btiir._.js +7 -0
- package/.next/server/chunks/_0caua_s._.js +1 -1
- package/.next/server/chunks/{_0qoush_._.js → _0gt6cbj._.js} +1 -1
- package/.next/server/chunks/_0xygcxs._.js +37 -37
- package/.next/server/chunks/{_09c4we8._.js → _17i1lt2._.js} +1 -1
- package/.next/server/chunks/_19kea1l._.js +9 -9
- package/.next/server/chunks/_1gn2r2q._.js +3 -3
- package/.next/server/chunks/{_03niwml._.js → _1ntwp1s._.js} +1 -1
- package/.next/server/chunks/_1q6e56i._.js +3 -3
- package/.next/server/chunks/{_02fn1o3._.js → _1tkzgtm._.js} +1 -1
- package/.next/server/chunks/_1wl2g8_._.js +2 -2
- package/.next/server/chunks/{_1w6uf9k._.js → _1y3mnz4._.js} +1 -1
- package/.next/server/chunks/features_workspace_workspace_ts_13h82gv._.js +4 -4
- package/.next/server/chunks/features_workspace_workspace_ts_1iyjroj._.js +4 -4
- package/.next/server/chunks/{node_modules_consola_dist_chunks_prompt_mjs_0cux6zt._.js → node_modules_consola_dist_chunks_prompt_mjs_04oxl25._.js} +1 -1
- package/.next/server/chunks/{node_modules_consola_dist_chunks_prompt_mjs_0w32bqh._.js → node_modules_consola_dist_chunks_prompt_mjs_0g87zst._.js} +1 -1
- package/.next/server/chunks/{node_modules_consola_dist_chunks_prompt_mjs_1clmnaj._.js → node_modules_consola_dist_chunks_prompt_mjs_1341cnf._.js} +1 -1
- package/.next/server/chunks/ssr/{[root-of-the-server]__02jdtqa._.js → [root-of-the-server]__07660xu._.js} +3 -3
- package/.next/server/chunks/ssr/[root-of-the-server]__07iyl1_._.js +3 -0
- package/.next/server/chunks/ssr/{[root-of-the-server]__0rnjkw2._.js → [root-of-the-server]__0g__u45._.js} +2 -2
- package/.next/server/chunks/ssr/[root-of-the-server]__17h1ggo._.js +1 -1
- package/.next/server/chunks/ssr/[root-of-the-server]__1jyeu61._.js +1 -1
- package/.next/server/chunks/ssr/_0-i6wdi._.js +3 -0
- package/.next/server/chunks/ssr/{_1k0efi3._.js → _00g5sq-._.js} +2 -2
- package/.next/server/chunks/ssr/{_0ncuqct._.js → _03akcjz._.js} +2 -2
- package/.next/server/chunks/ssr/{_0l1-xc6._.js → _06xy39t._.js} +2 -2
- package/.next/server/chunks/ssr/_088vzgn._.js +3 -0
- package/.next/server/chunks/ssr/_0fo4552._.js +7 -7
- package/.next/server/chunks/ssr/_0r0g9ki._.js +1 -1
- package/.next/server/chunks/ssr/{_1dqaksc._.js → _0sefgiu._.js} +2 -2
- package/.next/server/chunks/ssr/_0v9r8g2._.js +3 -0
- package/.next/server/chunks/ssr/_0x8ophf._.js +1 -1
- package/.next/server/chunks/ssr/{_0w8r7o7._.js → _1-41lck._.js} +2 -2
- package/.next/server/chunks/ssr/{_11pnnvd._.js → _113ukfo._.js} +3 -3
- package/.next/server/chunks/ssr/_12p8f9_._.js +3 -0
- package/.next/server/chunks/ssr/{_10fwcz_._.js → _14dfh7a._.js} +2 -2
- package/.next/server/chunks/ssr/{_1f6s34p._.js → _1_gwau0._.js} +2 -2
- package/.next/server/chunks/ssr/{_0wupyvd._.js → _1hn3szq._.js} +2 -2
- package/.next/server/chunks/ssr/_1neoj22._.js +1 -1
- package/.next/server/chunks/ssr/{_17ble8k._.js → _1o7a11b._.js} +3 -3
- package/.next/server/chunks/ssr/{_0y28gl3._.js → _1swhm5m._.js} +3 -3
- package/.next/server/chunks/ssr/_1uij_rj._.js +1 -1
- package/.next/server/chunks/ssr/_1umbr78._.js +1 -1
- package/.next/server/chunks/ssr/_1w9w1ok._.js +1 -1
- package/.next/server/chunks/ssr/_1wac78_._.js +3 -0
- package/.next/server/chunks/ssr/{_1z586yw._.js → _20ywznt._.js} +2 -2
- package/.next/server/chunks/ssr/features_0796o8r._.js +1 -1
- package/.next/server/chunks/ssr/{features_bot_1k25jdg._.js → features_bot_0j4h9qu._.js} +2 -2
- package/.next/server/chunks/ssr/features_bot_1knyan7._.js +3 -0
- package/.next/server/chunks/ssr/{features_config_11dpa7r._.js → features_config_1xrlh3l._.js} +3 -3
- 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_workspace_workspace_ts_1wc7_u_._.js +4 -4
- package/.next/server/chunks/ssr/{node_modules_1r5o-bo._.js → node_modules_00kqq8n._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_0u24mg0._.js → node_modules_04o9dd2._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_0mark4f._.js → node_modules_05jatne._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_0bas34k._.js → node_modules_06rkzq5._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_0y5uubt._.js → node_modules_07w6r9n._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_0ka8te1._.js → node_modules_08ld3lm._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_0n1js5k._.js → node_modules_0ft86sp._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_156m1qh._.js → node_modules_0g0lr19._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_0bbwe-u._.js → node_modules_0kg-vd-._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_0x_2io2._.js → node_modules_0nl9i29._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_18yn_bs._.js → node_modules_0p0xf5f._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_0-8r9yw._.js → node_modules_0pyepmf._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_1dzye0n._.js → node_modules_0vg-4fo._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_1xua-g1._.js → node_modules_0y5upun._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_1o9n7_n._.js → node_modules_13seln7._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_1ozyial._.js → node_modules_15vsfpv._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_0sdjzae._.js → node_modules_17azpeb._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_1zkzksd._.js → node_modules_1_il5l7._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_0-ew8f8._.js → node_modules_1aeg65a._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_0etz1i0._.js → node_modules_1d73q89._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_0ld7p-1._.js → node_modules_1iq8zjs._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_138kcrz._.js → node_modules_1mcsva4._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_0uibk9z._.js → node_modules_1mhg5br._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_1tj7_9z._.js → node_modules_1mqisle._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_02uwbwp._.js → node_modules_1va4lz9._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_097cl9f._.js → node_modules_207ay1p._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_@mermaid-js_parser_dist_chunks_mermaid-parser_core_133hjui._.js → node_modules_@mermaid-js_parser_dist_chunks_mermaid-parser_core_0hefprb._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_@mermaid-js_parser_dist_chunks_mermaid-parser_core_1b3vwd3._.js → node_modules_@mermaid-js_parser_dist_chunks_mermaid-parser_core_1uuvrfp._.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 +61 -61
- package/.next/static/chunks/04toe_3nqfjqt.js +1 -0
- package/.next/static/chunks/{245_cp14iz637.js → 0780wmy0_rva8.js} +1 -1
- package/.next/static/chunks/{314szf8yer-3n.js → 09opsnra7k4k0.js} +2 -2
- package/.next/static/chunks/{42m371fn687r5.js → 0if7xqoj3ysfj.js} +1 -1
- package/.next/static/chunks/{0609ejkwuy4sf.js → 1-q6so9vze75d.js} +2 -2
- package/.next/static/chunks/{23tx-2paw9qa6.js → 106jbz6qd0c5l.js} +1 -1
- package/.next/static/chunks/19wkcgzetkh6-.js +1 -0
- package/.next/static/chunks/{39miwvg4k-b2d.js → 1_me_-lnpwdfd.js} +1 -1
- package/.next/static/chunks/{2oa4gpkzjtpni.js → 1mkw_05uc8_ft.js} +1 -1
- package/.next/static/chunks/1njjf8bfkg4_v.js +1 -0
- package/.next/static/chunks/{1ub9obhgfm4jl.js → 25ciqm-ee14nf.js} +1 -1
- package/.next/static/chunks/{2xjr5b-yk_h3o.js → 29laj9_xhx0d1.js} +1 -1
- package/.next/static/chunks/{2jbjyazqfqyoh.js → 2b306ek_blfp1.js} +1 -1
- package/.next/static/chunks/2mpqmpf8wcst1.js +15 -0
- package/.next/static/chunks/{3ro66d9dc70bc.js → 2rpyc6mevfhu6.js} +1 -1
- package/.next/static/chunks/{0cl_fgkphk1oz.js → 2wj77vx62ng3n.js} +1 -1
- package/.next/static/chunks/{3j-l8un0d77v7.js → 2y2v3bk65fdle.js} +3 -3
- package/.next/static/chunks/{3vwjs5kq11417.js → 32oho7re_n3dq.js} +1 -1
- package/.next/static/chunks/388l-zszwa_jf.js +1 -0
- package/.next/static/chunks/{0q4ws7qd21chx.js → 3_s5svfgu9kl_.js} +3 -3
- package/.next/static/chunks/3bwrvpjk95_x4.js +1 -0
- package/.next/static/chunks/{07vcuxousbmy1.js → 3suz18umxycuk.js} +1 -1
- package/.next/static/chunks/{0unonxbajyknw.js → 44n-w1bs83ejz.js} +1 -1
- package/README.md +12 -12
- package/guide/bots.md +48 -8
- package/guide/calls.md +13 -12
- package/guide/setup.md +4 -2
- package/package.json +1 -1
- package/public/sounds/NOTICE +3 -0
- package/public/sounds/opening-land.ogg +0 -0
- package/public/sounds/opening-rise.ogg +0 -0
- package/public/sounds/opening-step-1.ogg +0 -0
- package/public/sounds/opening-step-2.ogg +0 -0
- package/public/sounds/opening-step-3.ogg +0 -0
- package/skills/README.md +3 -0
- package/skills/artifact/SKILL.md +6 -5
- package/skills/artifact/references/book.md +23 -8
- package/skills/artifact/references/deck.md +4 -2
- package/skills/artifact/references/document.md +9 -0
- package/skills/artifact/references/sheet.md +113 -0
- package/skills/artifact/runtime/book/book.css +75 -0
- package/skills/artifact/runtime/book/book.html +6 -3
- package/skills/artifact/runtime/book/book.js +21 -0
- package/skills/artifact/runtime/canvas/canvas.css +1 -1
- package/skills/artifact/runtime/canvas/canvas.js +11 -1
- package/skills/artifact/runtime/deck/deck.css +164 -1
- package/skills/artifact/runtime/deck/deck.js +76 -1
- package/skills/artifact/runtime/document/docx.js +631 -0
- package/skills/artifact/runtime/document/markdown.mjs +58 -2
- package/skills/artifact/runtime/document/quick.css +66 -0
- package/skills/artifact/runtime/document/quick.html +1 -0
- package/skills/artifact/runtime/document/quick.js +154 -0
- package/skills/artifact/runtime/document/word.mjs +65 -0
- package/skills/artifact/runtime/sheet/format.mjs +392 -0
- package/skills/artifact/runtime/sheet/formula.mjs +755 -0
- package/skills/artifact/runtime/sheet/sheet.css +499 -0
- package/skills/artifact/runtime/sheet/sheet.html +102 -0
- package/skills/artifact/runtime/sheet/sheet.js +1361 -0
- package/skills/artifact/runtime/sheet/xlsx.mjs +320 -0
- package/skills/artifact/runtime/shell/head.html +1 -1
- package/skills/artifact/runtime/shell/shell.css +3 -0
- package/skills/artifact/runtime/shell/wear.mjs +47 -1
- package/skills/artifact/runtime/vendor/fflate.LICENSE.md +23 -0
- package/skills/artifact/runtime/vendor/fflate.mjs +2710 -0
- package/skills/artifact/scripts/book.mjs +160 -11
- package/skills/artifact/scripts/chart.mjs +229 -11
- package/skills/artifact/scripts/document.mjs +29 -2
- package/skills/artifact/scripts/spreadsheet.mjs +1165 -0
- package/skills/data-report/SKILL.md +8 -1
- package/.next/server/chunks/[root-of-the-server]__0aijj66._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__0tvoct-._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__118qjk_._.js +0 -7
- package/.next/server/chunks/[root-of-the-server]__1b8tp42._.js +0 -5
- package/.next/server/chunks/[root-of-the-server]__1gzcbda._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__1qcn1ti._.js +0 -7
- package/.next/server/chunks/_0xx3ryc._.js +0 -7
- package/.next/server/chunks/ssr/[root-of-the-server]__1y5_1cv._.js +0 -3
- package/.next/server/chunks/ssr/_0-ou1b0._.js +0 -3
- package/.next/server/chunks/ssr/_1g48r6t._.js +0 -3
- package/.next/server/chunks/ssr/_1u5vsy-._.js +0 -3
- package/.next/server/chunks/ssr/features_bot_1s_-2vj._.js +0 -3
- package/.next/server/chunks/ssr/lib_utils_ts_0_f1xvm._.js +0 -3
- package/.next/static/chunks/00d54fcfm-lko.js +0 -1
- package/.next/static/chunks/0gjlsu6vrfzod.js +0 -1
- package/.next/static/chunks/17yqt1p_svv13.js +0 -1
- package/.next/static/chunks/203pbwecfs3tm.js +0 -1
- package/.next/static/chunks/3ghvoe_mlljzs.js +0 -15
- package/.next/static/chunks/3gn7dubb4-pwy.js +0 -1
- /package/.next/static/{RtLRT9EEaGn-OqwpMFdYg → SNCDmWKeIrXB6yqnwzClS}/_buildManifest.js +0 -0
- /package/.next/static/{RtLRT9EEaGn-OqwpMFdYg → SNCDmWKeIrXB6yqnwzClS}/_clientMiddlewareManifest.js +0 -0
- /package/.next/static/{RtLRT9EEaGn-OqwpMFdYg → SNCDmWKeIrXB6yqnwzClS}/_ssgManifest.js +0 -0
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,41533,t=>{"use strict";var s=t.i(247167);s.default.env.THURSDAY_APP_DIR?.trim()||s.default.cwd(),s.default.env.THURSDAY_HOME?.trim()||s.default.cwd(),s.default.env.THURSDAY_URL?.trim()||s.default.env.PORT?.trim();let a=".ai-workspace",e={workspace:a,artifacts:"artifacts",projects:"projects",scratch:"scratch",bots:"bots",output:".output",signIns:".sign-ins",skills:{default:"skills",custom:`${a}/.agents/skills`,own:".agents/skills",runtime:"runtime",seeds:"seed-skills"}};t.s(["APP_NAME",0,"Thursday","ARTIFACT_SKILL",0,"artifact","ARTIFACT_VIEW",0,{rows:200,setFiles:120},"ASCII_FACE",0,{charset:"emojiOnly",fontSize:8,density:1.4,fps:30},"BOT_ROSTER",0,{max:14},"BOT_RUN",0,{steps:100,compactAt:5e5,compactHeadroom:.8,summaryWords:{min:600,max:3e3,perTokens:200},participants:12,concurrent:4,turns:120,queuedMessages:200,silenceMs:3e5,overflowShrink:.6,retryMs:1e4,compactFiles:40},"CALL_BACK",0,{ringMs:3e4},"CALL_END",0,{quietMs:600,unsaidMs:2e3,maxMs:8e3},"CALL_ENDED_MS",0,12e3,"CALL_HISTORY_PAGE",0,10,"CALL_IDLE",0,{hangUpMs:4e4,warnMs:1e4},"CALL_LINE",0,{dwellMs:2e3,lingerMs:2500,relayLingerMs:5e3,thinkingTailMs:6e3},"CALL_PAGE",0,{scrollback:24,saveFailures:3},"CALL_RELAY",0,{quietMs:2e3,perTurn:3,readMs:15e3,chars:600},"CHATGPT_SIGN_IN",0,{waitMs:6e5,renewBeforeMs:3e5},"COMMON_VALIDATE",0,{name:{max:16},shortDescription:{max:60},description:{max:100},prompt:{max:4e3}},"FILE_THUMB",0,{pageWidth:1024,textWidth:512,textBytes:4096,pages:2,imageWidth:384,cacheSeconds:300},"FINISHED_NOTICE",0,{rows:5,shown:1,words:240},"GIVEN_FILES",0,{dir:"inbox",maxBytes:0x1900000,perMessage:8},"INBOX_POLL_MS",0,3e4,"IS_DEV",0,!1,"KEY_MIN",0,8,"LIVE_CALL",0,{startupMs:3e4,closeMs:15e3,transcriptGapMs:1500,transcriptSaveMs:500,appendMs:15e3,backendOutputTokens:4096,reasoningCheckMs:5e3,keyCheckMs:5e3},"MARKETING_SKILL",0,"marketing","MAX_PINNED_TOOLS",0,10,"MEMORY_LIMITS",0,{facts:400,factsPerNote:50,descriptionChars:100},"PAGE_SIZE",0,50,"PATHS",0,e,"PROMPT_CROWDED",0,{bots:10,skills:20},"ROUTINE",0,{tickMs:3e4,max:12,minHours:1,runsShown:5},"SKILL_FILES",0,{uploadBytes:0x1400000,inlineBytes:524288,unpackedBytes:0x6400000,archiveEntries:1e3},"STUDIO_SERVER",0,"studio","TEXT_CALL",0,{maxSteps:12,model:"text",autoTurns:10},"TRAVEL_SKILL",0,"travel","WAKE_TOLERANCE",0,.34,"WORKSPACE_VIEW",0,{rows:200,textMax:524288,autoCloseMs:5e3,elementMax:0x3200000}])},516690,t=>{t.v(s=>Promise.all(["static/chunks/0teeo9xl5wnnq.js"].map(s=>t.l(s))).then(()=>s(395360)))},274435,t=>{t.v(s=>Promise.all(["static/chunks/1wiw0gk7-qp8i.js"].map(s=>t.l(s))).then(()=>s(249740)))},796339,t=>{t.v(s=>Promise.all(["static/chunks/0w_ja4ciemrbk.js"].map(s=>t.l(s))).then(()=>s(948115)))},196546,t=>{t.v(s=>Promise.all(["static/chunks/3zx2nr3-vl_eh.js","static/chunks/1dy9mwr1pcdwo.js","static/chunks/1ozmtvibzzync.js"].map(s=>t.l(s))).then(()=>s(365711)))},60308,t=>{t.v(s=>Promise.all(["static/chunks/18ov-ugtitlq2.js","static/chunks/1ozmtvibzzync.js","static/chunks/0iowzpfymsgpq.js","static/chunks/1dy9mwr1pcdwo.js"].map(s=>t.l(s))).then(()=>s(148707)))},608734,t=>{t.v(s=>Promise.all(["static/chunks/0p3bmx6ek0qp8.js"].map(s=>t.l(s))).then(()=>s(398778)))},902952,t=>{t.v(s=>Promise.all(["static/chunks/0q82iw85zo1m8.js"].map(s=>t.l(s))).then(()=>s(262053)))},814026,t=>{t.v(s=>Promise.all(["static/chunks/1txgr9-t0s4je.js","static/chunks/1dy9mwr1pcdwo.js","static/chunks/1ozmtvibzzync.js"].map(s=>t.l(s))).then(()=>s(922608)))},210042,t=>{t.v(s=>Promise.all(["static/chunks/1qwswx0hjsw00.js"].map(s=>t.l(s))).then(()=>s(894523)))},327701,t=>{t.v(s=>Promise.all(["static/chunks/0r5gq9qo4arwu.js"].map(s=>t.l(s))).then(()=>s(641837)))},864940,t=>{t.v(s=>Promise.all(["static/chunks/0r3z95rc2ypfx.js"].map(s=>t.l(s))).then(()=>s(730184)))},581996,t=>{t.v(s=>Promise.all(["static/chunks/0t5b3chki_9fl.js"].map(s=>t.l(s))).then(()=>s(625004)))},185223,t=>{t.v(s=>Promise.all(["static/chunks/2g-myvn_f_a_4.js","static/chunks/16vtcomz233wa.js","static/chunks/1dy9mwr1pcdwo.js","static/chunks/0agnc6vlr5bvi.js","static/chunks/31rpioh8q87-5.js"].map(s=>t.l(s))).then(()=>s(484803)))},577689,t=>{t.v(s=>Promise.all(["static/chunks/0-mnxu8ow6er0.js"].map(s=>t.l(s))).then(()=>s(401885)))},887861,t=>{t.v(s=>Promise.all(["static/chunks/05m1q2yic6i_6.js"].map(s=>t.l(s))).then(()=>s(545199)))},769047,t=>{t.v(s=>Promise.all(["static/chunks/0n7sj9xm17ln0.js"].map(s=>t.l(s))).then(()=>s(135626)))},566005,t=>{t.v(s=>Promise.all(["static/chunks/20p5cex0-ilx3.js"].map(s=>t.l(s))).then(()=>s(532400)))},64129,t=>{t.v(s=>Promise.all(["static/chunks/1hoe492g5-o2q.js"].map(s=>t.l(s))).then(()=>s(770767)))},686785,t=>{t.v(s=>Promise.all(["static/chunks/40epaf180rm_o.js"].map(s=>t.l(s))).then(()=>s(770913)))},234475,t=>{t.v(s=>Promise.all(["static/chunks/3v2r9tkahr03c.js"].map(s=>t.l(s))).then(()=>s(427540)))},273197,t=>{t.v(s=>Promise.all(["static/chunks/26elp1iu9_rfo.js"].map(s=>t.l(s))).then(()=>s(574536)))},184291,t=>{t.v(s=>Promise.all(["static/chunks/3y2yeb8hqhgma.js","static/chunks/29kou1oqg257y.js","static/chunks/1ozmtvibzzync.js","static/chunks/1dy9mwr1pcdwo.js","static/chunks/2-ohkulfwwqkp.js"].map(s=>t.l(s))).then(()=>s(294139)))},254810,t=>{t.v(s=>Promise.all(["static/chunks/31srg3-v_-3ex.js"].map(s=>t.l(s))).then(()=>s(124527)))},715630,t=>{t.v(s=>Promise.all(["static/chunks/2v-fuc1wwaulc.js"].map(s=>t.l(s))).then(()=>s(39516)))},721406,t=>{t.v(s=>Promise.all(["static/chunks/251ctc7y-p1x6.js"].map(s=>t.l(s))).then(()=>s(55582)))},928418,t=>{t.v(s=>Promise.all(["static/chunks/3svu996x25pgh.js"].map(s=>t.l(s))).then(()=>s(324330)))},496018,t=>{t.v(s=>Promise.all(["static/chunks/10a6xv-y_2nwl.js","static/chunks/36oxg-33dy_jz.js"].map(s=>t.l(s))).then(()=>s(944027)))},268805,t=>{t.v(s=>Promise.all(["static/chunks/3xpdaet8dw9x9.js"].map(s=>t.l(s))).then(()=>s(732548)))},885670,t=>{t.v(s=>Promise.all(["static/chunks/1ctnkqxh0n4u3.js"].map(s=>t.l(s))).then(()=>s(218663)))},850277,t=>{t.v(s=>Promise.all(["static/chunks/28t2bvti86a67.js"].map(s=>t.l(s))).then(()=>s(774228)))},608435,t=>{t.v(s=>Promise.all(["static/chunks/2urfmi-h-efgc.js","static/chunks/1dy9mwr1pcdwo.js","static/chunks/1ozmtvibzzync.js"].map(s=>t.l(s))).then(()=>s(183824)))},677655,t=>{t.v(s=>Promise.all(["static/chunks/07o4ns4nqda4i.js"].map(s=>t.l(s))).then(()=>s(773966)))},393919,t=>{t.v(s=>Promise.all(["static/chunks/1-vnisuyudqdj.js"].map(s=>t.l(s))).then(()=>s(135921)))},499510,t=>{t.v(s=>Promise.all(["static/chunks/34asi35tmks9s.js","static/chunks/1dy9mwr1pcdwo.js"].map(s=>t.l(s))).then(()=>s(694693)))},314583,t=>{t.v(s=>Promise.all(["static/chunks/368hf3scqy9et.js"].map(s=>t.l(s))).then(()=>s(694899)))},138305,t=>{t.v(s=>Promise.all(["static/chunks/02cmf-0vz-j0l.js"].map(s=>t.l(s))).then(()=>s(98254)))},162895,t=>{t.v(s=>Promise.all(["static/chunks/446dwbh9a1brd.js","static/chunks/2ro2w2784zwl0.js","static/chunks/2v-fuc1wwaulc.js"].map(s=>t.l(s))).then(()=>s(750497)))},715822,t=>{t.v(s=>Promise.all(["static/chunks/45c7xyr85-p84.js","static/chunks/1vpp0zxc5amhf.js","static/chunks/1ozmtvibzzync.js","static/chunks/1dy9mwr1pcdwo.js","static/chunks/2v-fuc1wwaulc.js"].map(s=>t.l(s))).then(()=>s(276426)))},156548,t=>{t.v(s=>Promise.all(["static/chunks/1px0m_9u11val.js"].map(s=>t.l(s))).then(()=>s(804440)))},68853,t=>{t.v(s=>Promise.all(["static/chunks/04kziyzzvkmhl.js"].map(s=>t.l(s))).then(()=>s(174708)))},508072,t=>{t.v(s=>Promise.all(["static/chunks/1fw3www6hshi2.js"].map(s=>t.l(s))).then(()=>s(717147)))},379420,t=>{t.v(s=>Promise.all(["static/chunks/07fixed86aya_.js"].map(s=>t.l(s))).then(()=>s(517328)))},901081,t=>{t.v(s=>Promise.all(["static/chunks/2sj3ymj88_zus.js"].map(s=>t.l(s))).then(()=>s(820123)))},732086,t=>{t.v(s=>Promise.all(["static/chunks/0n0bzpsdtg893.js"].map(s=>t.l(s))).then(()=>s(293222)))},8814,t=>{t.v(s=>Promise.all(["static/chunks/16zbzmvpg2ww4.js"].map(s=>t.l(s))).then(()=>s(333824)))},706010,t=>{t.v(s=>Promise.all(["static/chunks/0s54dho0z8p6j.js"].map(s=>t.l(s))).then(()=>s(258271)))},611671,t=>{t.v(s=>Promise.all(["static/chunks/2_jhl4ez3w5lm.js"].map(s=>t.l(s))).then(()=>s(612944)))},499264,t=>{t.v(s=>Promise.all(["static/chunks/0f4x882qymosc.js"].map(s=>t.l(s))).then(()=>s(289460)))},964927,t=>{t.v(s=>Promise.all(["static/chunks/09k-wbu71lfrt.js"].map(s=>t.l(s))).then(()=>s(551327)))},86855,t=>{t.v(s=>Promise.all(["static/chunks/1dd6qzaoby04o.js"].map(s=>t.l(s))).then(()=>s(12522)))},955357,t=>{t.v(s=>Promise.all(["static/chunks/34678qecnnj_h.js"].map(s=>t.l(s))).then(()=>s(217285)))},40814,t=>{t.v(s=>Promise.all(["static/chunks/3paqvl_z7hv3n.js","static/chunks/1ozmtvibzzync.js","static/chunks/0agnc6vlr5bvi.js","static/chunks/1dy9mwr1pcdwo.js"].map(s=>t.l(s))).then(()=>s(164704)))},534593,t=>{t.v(s=>Promise.all(["static/chunks/0_lh4_g7vdhq1.js","static/chunks/1dy9mwr1pcdwo.js","static/chunks/1ozmtvibzzync.js"].map(s=>t.l(s))).then(()=>s(805100)))},80402,t=>{t.v(s=>Promise.all(["static/chunks/3qum31hte42y1.js","static/chunks/2v-fuc1wwaulc.js"].map(s=>t.l(s))).then(()=>s(709757)))},659962,t=>{t.v(s=>Promise.all(["static/chunks/1u8j3eb8for0y.js"].map(s=>t.l(s))).then(()=>s(563571)))},655306,t=>{t.v(s=>Promise.all(["static/chunks/3qlz6dwx-4wpg.js","static/chunks/29kou1oqg257y.js","static/chunks/1ozmtvibzzync.js","static/chunks/0agnc6vlr5bvi.js","static/chunks/2v-fuc1wwaulc.js","static/chunks/1dy9mwr1pcdwo.js","static/chunks/3tq8wpaa3ie4_.js","static/chunks/31rpioh8q87-5.js","static/chunks/2six92-4e054u.js","static/chunks/2ro2w2784zwl0.js"].map(s=>t.l(s))).then(()=>s(24609)))},379291,t=>{t.v(s=>Promise.all(["static/chunks/16ya3783k-z1s.js"].map(s=>t.l(s))).then(()=>s(329263)))},56334,t=>{t.v(s=>Promise.all(["static/chunks/0u__wtz-jozok.js"].map(s=>t.l(s))).then(()=>s(970013)))},955953,t=>{t.v(s=>Promise.all(["static/chunks/1jz5jakghqd9v.js"].map(s=>t.l(s))).then(()=>s(274265)))},372286,t=>{t.v(s=>Promise.all(["static/chunks/2jhadmpmcpdrj.js"].map(s=>t.l(s))).then(()=>s(146027)))},709599,t=>{t.v(s=>Promise.all(["static/chunks/2tfc-naqg7z-u.js","static/chunks/319502xf-tnxv.js"].map(s=>t.l(s))).then(()=>s(774293)))},417187,t=>{t.v(s=>Promise.all(["static/chunks/319502xf-tnxv.js"].map(s=>t.l(s))).then(()=>s(363400)))},106583,t=>{t.v(s=>Promise.all(["static/chunks/28-z_wt6ndz-b.js"].map(s=>t.l(s))).then(()=>s(576577)))},600350,t=>{t.v(s=>Promise.all(["static/chunks/3hwj-0h-0-lla.js"].map(s=>t.l(s))).then(()=>s(823068)))},718592,t=>{t.v(s=>Promise.all(["static/chunks/00uuedu6-4dre.js"].map(s=>t.l(s))).then(()=>s(129659)))},964292,t=>{t.v(s=>Promise.all(["static/chunks/10jgwafb21-7w.js"].map(s=>t.l(s))).then(()=>s(961451)))},251227,t=>{t.v(s=>Promise.all(["static/chunks/3_8v942h1s07y.js"].map(s=>t.l(s))).then(()=>s(869943)))},781674,t=>{t.v(s=>Promise.all(["static/chunks/0uud_z0v566uf.js"].map(s=>t.l(s))).then(()=>s(143691)))},765886,t=>{t.v(s=>Promise.all(["static/chunks/3mk3dcnt98mri.js"].map(s=>t.l(s))).then(()=>s(640067)))},643635,t=>{t.v(s=>Promise.all(["static/chunks/0ftzs9_34hr49.js"].map(s=>t.l(s))).then(()=>s(118337)))},469752,t=>{t.v(s=>Promise.all(["static/chunks/0qo6w-wynmd7q.js"].map(s=>t.l(s))).then(()=>s(598277)))},220210,t=>{t.v(s=>Promise.all(["static/chunks/43x-wo-t6g20f.js","static/chunks/1ozmtvibzzync.js","static/chunks/1dy9mwr1pcdwo.js","static/chunks/0agnc6vlr5bvi.js"].map(s=>t.l(s))).then(()=>s(872516)))},952204,t=>{t.v(s=>Promise.all(["static/chunks/2qqx13x1_na_q.js","static/chunks/1ozmtvibzzync.js","static/chunks/0agnc6vlr5bvi.js","static/chunks/1dy9mwr1pcdwo.js"].map(s=>t.l(s))).then(()=>s(405817)))},615932,t=>{t.v(s=>Promise.all(["static/chunks/2nuuq6y_mebd9.js","static/chunks/2v-fuc1wwaulc.js"].map(s=>t.l(s))).then(()=>s(238102)))},846517,t=>{t.v(s=>Promise.all(["static/chunks/22e7k4k061g55.js"].map(s=>t.l(s))).then(()=>s(289319)))},334810,t=>{t.v(s=>Promise.all(["static/chunks/17pegra88jm_q.js"].map(s=>t.l(s))).then(()=>s(466502)))},518233,t=>{t.v(s=>Promise.all(["static/chunks/2e7ddq5vayqre.js"].map(s=>t.l(s))).then(()=>s(902077)))},527502,t=>{t.v(s=>Promise.all(["static/chunks/0vuwq9sa14vne.js","static/chunks/3tq8wpaa3ie4_.js","static/chunks/0agnc6vlr5bvi.js","static/chunks/31rpioh8q87-5.js","static/chunks/1dy9mwr1pcdwo.js"].map(s=>t.l(s))).then(()=>s(564011)))},783131,t=>{t.v(s=>Promise.all(["static/chunks/324t9a-cp4u8q.js"].map(s=>t.l(s))).then(()=>s(394796)))},866363,t=>{t.v(s=>Promise.all(["static/chunks/17tgaro217rkw.js","static/chunks/3v4h-8da4l5p7.js","static/chunks/1ozmtvibzzync.js","static/chunks/1dy9mwr1pcdwo.js"].map(s=>t.l(s))).then(()=>s(416128)))},936482,t=>{t.v(s=>Promise.all(["static/chunks/38lhx55kr9dl6.js","static/chunks/1dy9mwr1pcdwo.js"].map(s=>t.l(s))).then(()=>s(23141)))},219104,t=>{t.v(s=>Promise.all(["static/chunks/1jbxee7jz6bbc.js","static/chunks/1dy9mwr1pcdwo.js","static/chunks/1ozmtvibzzync.js"].map(s=>t.l(s))).then(()=>s(892708)))},982274,t=>{t.v(s=>Promise.all(["static/chunks/0_9ky7_0gqp29.js"].map(s=>t.l(s))).then(()=>s(375491)))},843593,t=>{t.v(s=>Promise.all(["static/chunks/1niiwgkyydxzm.js"].map(s=>t.l(s))).then(()=>s(462002)))},392582,t=>{t.v(s=>Promise.all(["static/chunks/21xei27jfzp7x.js"].map(s=>t.l(s))).then(()=>s(40781)))},32395,t=>{t.v(s=>Promise.all(["static/chunks/16hinmy0f-glt.js"].map(s=>t.l(s))).then(()=>s(609979)))},336975,t=>{t.v(s=>Promise.all(["static/chunks/0zgg9c0-wj935.js"].map(s=>t.l(s))).then(()=>s(563498)))},736812,t=>{t.v(s=>Promise.all(["static/chunks/3uf4bpnwlk9hu.js","static/chunks/1dy9mwr1pcdwo.js","static/chunks/1ozmtvibzzync.js"].map(s=>t.l(s))).then(()=>s(662407)))},615475,t=>{t.v(s=>Promise.all(["static/chunks/1ozmtvibzzync.js","static/chunks/1dy9mwr1pcdwo.js"].map(s=>t.l(s))).then(()=>s(346619)))},722332,t=>{t.v(s=>Promise.all(["static/chunks/1zse9_sq278z3.js","static/chunks/0agnc6vlr5bvi.js","static/chunks/1ebo_riinwqq8.js","static/chunks/31rpioh8q87-5.js","static/chunks/1dy9mwr1pcdwo.js","static/chunks/3tq8wpaa3ie4_.js"].map(s=>t.l(s))).then(()=>s(679394)))},77996,t=>{t.v(s=>Promise.all(["static/chunks/1u06mkqc8lt5y.js","static/chunks/31rpioh8q87-5.js","static/chunks/3tq8wpaa3ie4_.js","static/chunks/1dy9mwr1pcdwo.js","static/chunks/0agnc6vlr5bvi.js"].map(s=>t.l(s))).then(()=>s(546754)))},412671,t=>{t.v(s=>Promise.all(["static/chunks/2id4c69a8l7tw.js"].map(s=>t.l(s))).then(()=>s(788619)))},98975,t=>{t.v(s=>Promise.all(["static/chunks/1k3nt_5za2_5v.js"].map(s=>t.l(s))).then(()=>s(894666)))},221794,t=>{t.v(s=>Promise.all(["static/chunks/0ju2q95btugv1.js"].map(s=>t.l(s))).then(()=>s(904077)))},712237,t=>{t.v(s=>Promise.all(["static/chunks/1oyr1d-wo_dr-.js"].map(s=>t.l(s))).then(()=>s(251070)))},25004,t=>{t.v(s=>Promise.all(["static/chunks/1ggeg-sqe8ngu.js"].map(s=>t.l(s))).then(()=>s(388943)))},792799,t=>{t.v(s=>Promise.all(["static/chunks/1dy9mwr1pcdwo.js"].map(s=>t.l(s))).then(()=>s(122952)))},300535,t=>{t.v(s=>Promise.all(["static/chunks/1xlbhszlykr4p.js","static/chunks/1dy9mwr1pcdwo.js","static/chunks/1ozmtvibzzync.js"].map(s=>t.l(s))).then(()=>s(776627)))},299868,t=>{t.v(s=>Promise.all(["static/chunks/335-38r54vx4c.js","static/chunks/1dy9mwr1pcdwo.js"].map(s=>t.l(s))).then(()=>s(313300)))},692658,t=>{t.v(s=>Promise.all(["static/chunks/39sp7w7wcwxjl.js"].map(s=>t.l(s))).then(()=>s(866695)))},145390,t=>{t.v(s=>Promise.all(["static/chunks/0kmw809wgqjkq.js"].map(s=>t.l(s))).then(()=>s(948742)))},459901,t=>{t.v(s=>Promise.all(["static/chunks/0z36xjjyl3kid.js"].map(s=>t.l(s))).then(()=>s(75400)))},844018,t=>{t.v(s=>Promise.all(["static/chunks/2t-fmsms_i3sr.js"].map(s=>t.l(s))).then(()=>s(380021)))},932597,t=>{t.v(s=>Promise.all(["static/chunks/3a7qna12wpg2h.js"].map(s=>t.l(s))).then(()=>s(45900)))},386493,t=>{t.v(s=>Promise.all(["static/chunks/3xcqoeizdjzn2.js"].map(s=>t.l(s))).then(()=>s(398160)))},287672,t=>{t.v(s=>Promise.all(["static/chunks/3tq8wpaa3ie4_.js"].map(s=>t.l(s))).then(()=>s(823760)))},148045,t=>{t.v(s=>Promise.all(["static/chunks/36oxg-33dy_jz.js","static/chunks/2v-fuc1wwaulc.js","static/chunks/2ro2w2784zwl0.js","static/chunks/1dy9mwr1pcdwo.js","static/chunks/3_ue_94qji2lm.js"].map(s=>t.l(s))).then(()=>s(134812)))},704538,t=>{t.v(s=>Promise.all(["static/chunks/1crpy7f655-f-.js","static/chunks/29kou1oqg257y.js","static/chunks/0agnc6vlr5bvi.js","static/chunks/2v-fuc1wwaulc.js","static/chunks/36oxg-33dy_jz.js","static/chunks/31rpioh8q87-5.js","static/chunks/1dy9mwr1pcdwo.js","static/chunks/2ro2w2784zwl0.js","static/chunks/1ozmtvibzzync.js","static/chunks/2six92-4e054u.js","static/chunks/3tq8wpaa3ie4_.js"].map(s=>t.l(s))).then(()=>s(398122)))},522051,t=>{t.v(s=>Promise.all(["static/chunks/1t8ujmkza6s35.js"].map(s=>t.l(s))).then(()=>s(281694)))},278014,t=>{t.v(s=>Promise.all(["static/chunks/1c0t4bkzgxkho.js"].map(s=>t.l(s))).then(()=>s(376175)))},511938,t=>{t.v(s=>Promise.all(["static/chunks/2n0e6pbzr1vhc.js"].map(s=>t.l(s))).then(()=>s(251031)))},382697,t=>{t.v(s=>Promise.all(["static/chunks/3_3mt55_s_8nf.js","static/chunks/0w75738j7k0f7.js"].map(s=>t.l(s))).then(()=>s(906106)))},106774,t=>{t.v(s=>Promise.all(["static/chunks/2-0-eka22mzly.js"].map(s=>t.l(s))).then(()=>s(548052)))},657069,t=>{t.v(s=>Promise.all(["static/chunks/3ia1uy-ta-wwx.js"].map(s=>t.l(s))).then(()=>s(315754)))},133954,t=>{t.v(s=>Promise.all(["static/chunks/35w79dw14-r51.js","static/chunks/1dy9mwr1pcdwo.js","static/chunks/1ozmtvibzzync.js"].map(s=>t.l(s))).then(()=>s(411335)))},969445,t=>{t.v(s=>Promise.all(["static/chunks/3ma22p0pjm53-.js"].map(s=>t.l(s))).then(()=>s(233218)))},532210,t=>{t.v(s=>Promise.all(["static/chunks/1t4tz6qnsit4z.js"].map(s=>t.l(s))).then(()=>s(127844)))},917136,t=>{t.v(s=>Promise.all(["static/chunks/20i3ov2af4zvh.js"].map(s=>t.l(s))).then(()=>s(499412)))},147287,t=>{t.v(s=>Promise.all(["static/chunks/3oyixq96_fa_z.js","static/chunks/2v-fuc1wwaulc.js"].map(s=>t.l(s))).then(()=>s(950510)))},298173,t=>{t.v(s=>Promise.all(["static/chunks/38rdxmvrwtp57.js"].map(s=>t.l(s))).then(()=>s(372302)))},418877,t=>{t.v(s=>Promise.all(["static/chunks/3pzxtzd-vdn2f.js"].map(s=>t.l(s))).then(()=>s(377217)))},159142,t=>{t.v(s=>Promise.all(["static/chunks/2bk7wc4-ptm-c.js"].map(s=>t.l(s))).then(()=>s(274754)))},644609,t=>{t.v(s=>Promise.all(["static/chunks/13qtfpmkarvmt.js","static/chunks/0bp3uew85t0ry.js","static/chunks/3ia1uy-ta-wwx.js","static/chunks/0agnc6vlr5bvi.js"].map(s=>t.l(s))).then(()=>s(76277)))},323845,t=>{t.v(s=>Promise.all(["static/chunks/29hqqnd781kvs.js"].map(s=>t.l(s))).then(()=>s(744344)))},367535,t=>{t.v(s=>Promise.all(["static/chunks/1j_bjoxgu91mc.js","static/chunks/1dy9mwr1pcdwo.js","static/chunks/1ozmtvibzzync.js"].map(s=>t.l(s))).then(()=>s(635473)))},659189,t=>{t.v(s=>Promise.all(["static/chunks/1q28ddzt1afnq.js"].map(s=>t.l(s))).then(()=>s(857397)))},457619,t=>{t.v(s=>Promise.all(["static/chunks/3-06o0suuf1y4.js"].map(s=>t.l(s))).then(()=>s(368643)))},401626,t=>{t.v(s=>Promise.all(["static/chunks/151lx87jseoly.js"].map(s=>t.l(s))).then(()=>s(321142)))},524176,t=>{t.v(s=>Promise.all(["static/chunks/2asmzjaah8m8z.js"].map(s=>t.l(s))).then(()=>s(747044)))},205353,t=>{t.v(s=>Promise.all(["static/chunks/0hyz-d49g6v3x.js"].map(s=>t.l(s))).then(()=>s(518227)))},847969,t=>{t.v(s=>Promise.all(["static/chunks/1u6au-494n78m.js"].map(s=>t.l(s))).then(()=>s(990800)))},755902,t=>{t.v(s=>Promise.all(["static/chunks/2e150n34zc8g9.js"].map(s=>t.l(s))).then(()=>s(731026)))},272194,t=>{t.v(s=>Promise.all(["static/chunks/05-_p9k102i_g.js"].map(s=>t.l(s))).then(()=>s(874353)))},557638,t=>{t.v(s=>Promise.all(["static/chunks/0v_3gh96z3jaa.js"].map(s=>t.l(s))).then(()=>s(400936)))},47723,t=>{t.v(s=>Promise.all(["static/chunks/3dur64hdd_v7c.js","static/chunks/2v-fuc1wwaulc.js"].map(s=>t.l(s))).then(()=>s(337476)))},446820,t=>{t.v(s=>Promise.all(["static/chunks/2v-fuc1wwaulc.js","static/chunks/2zxe_jdp_h7n8.js","static/chunks/1ozmtvibzzync.js","static/chunks/1dy9mwr1pcdwo.js"].map(s=>t.l(s))).then(()=>s(181320)))},565220,t=>{t.v(s=>Promise.all(["static/chunks/2800ji7zpl6a7.js"].map(s=>t.l(s))).then(()=>s(775253)))},821908,t=>{t.v(s=>Promise.all(["static/chunks/0-a6206-r3j_8.js"].map(s=>t.l(s))).then(()=>s(265932)))},798543,t=>{t.v(s=>Promise.all(["static/chunks/2ovlkdbar4cl8.js"].map(s=>t.l(s))).then(()=>s(873456)))},953213,t=>{t.v(s=>Promise.all(["static/chunks/39upf2vnyk-xq.js"].map(s=>t.l(s))).then(()=>s(573095)))},357016,t=>{t.v(s=>Promise.all(["static/chunks/0jrnpgq-_qp2f.js"].map(s=>t.l(s))).then(()=>s(739360)))},144,t=>{t.v(s=>Promise.all(["static/chunks/273azq8ya_70t.js"].map(s=>t.l(s))).then(()=>s(834527)))},389188,t=>{t.v(s=>Promise.all(["static/chunks/1tcwgfbes5bur.js"].map(s=>t.l(s))).then(()=>s(292052)))},494584,t=>{t.v(s=>Promise.all(["static/chunks/2mgfqtimlpa2_.js"].map(s=>t.l(s))).then(()=>s(386104)))},590087,t=>{t.v(s=>Promise.all(["static/chunks/3rnj3hwd2gpl1.js","static/chunks/29kou1oqg257y.js","static/chunks/1ozmtvibzzync.js","static/chunks/1dy9mwr1pcdwo.js"].map(s=>t.l(s))).then(()=>s(362833)))},753525,t=>{t.v(s=>Promise.all(["static/chunks/39sp7w7wcwxjl.js","static/chunks/29kou1oqg257y.js","static/chunks/1ozmtvibzzync.js","static/chunks/1dy9mwr1pcdwo.js","static/chunks/3rudiphv22_sj.js"].map(s=>t.l(s))).then(()=>s(235865)))},506695,t=>{t.v(s=>Promise.all(["static/chunks/16j4idsrg5cyn.js"].map(s=>t.l(s))).then(()=>s(528594)))},985641,t=>{t.v(s=>Promise.all(["static/chunks/1y1vu9-4l76_e.js"].map(s=>t.l(s))).then(()=>s(762570)))},215520,t=>{t.v(s=>Promise.all(["static/chunks/0o66-rbdl-bpr.js"].map(s=>t.l(s))).then(()=>s(767399)))},579736,t=>{t.v(s=>Promise.all(["static/chunks/3bnhh87m-vba3.js"].map(s=>t.l(s))).then(()=>s(793940)))},344743,t=>{t.v(s=>Promise.all(["static/chunks/0lmkqj5bnn1tx.js"].map(s=>t.l(s))).then(()=>s(478163)))},69901,t=>{t.v(s=>Promise.all(["static/chunks/2fx1t7nywz-zx.js"].map(s=>t.l(s))).then(()=>s(293157)))},849765,t=>{t.v(s=>Promise.all(["static/chunks/0uw1nhbzgcr4z.js"].map(s=>t.l(s))).then(()=>s(65260)))},925840,t=>{t.v(s=>Promise.all(["static/chunks/2htbqsoc2bojb.js"].map(s=>t.l(s))).then(()=>s(620602)))},678110,t=>{t.v(s=>Promise.all(["static/chunks/028oldt2v0xyz.js"].map(s=>t.l(s))).then(()=>s(121139)))},710002,t=>{t.v(s=>Promise.all(["static/chunks/3b13ywcpwn31z.js"].map(s=>t.l(s))).then(()=>s(236865)))},753456,t=>{t.v(s=>Promise.all(["static/chunks/1wxrfgphp_7tx.js","static/chunks/1dy9mwr1pcdwo.js","static/chunks/1ozmtvibzzync.js"].map(s=>t.l(s))).then(()=>s(487420)))},328116,t=>{t.v(s=>Promise.all(["static/chunks/1eyi5me_bl5mq.js"].map(s=>t.l(s))).then(()=>s(303348)))},762792,t=>{t.v(s=>Promise.all(["static/chunks/012oo6xzblu6s.js"].map(s=>t.l(s))).then(()=>s(122362)))},548436,t=>{t.v(s=>Promise.all(["static/chunks/36oxg-33dy_jz.js"].map(s=>t.l(s))).then(()=>s(265525)))},985774,t=>{t.v(s=>Promise.all(["static/chunks/0xnzoirqkfqgi.js","static/chunks/1dy9mwr1pcdwo.js"].map(s=>t.l(s))).then(()=>s(979978)))},822682,t=>{t.v(s=>Promise.all(["static/chunks/1xcq4o53ccqj-.js"].map(s=>t.l(s))).then(()=>s(777438)))},29273,t=>{t.v(s=>Promise.all(["static/chunks/3wssn6tbdvadr.js"].map(s=>t.l(s))).then(()=>s(12899)))},917431,t=>{t.v(s=>Promise.all(["static/chunks/2w0jipt45km-n.js"].map(s=>t.l(s))).then(()=>s(426182)))},127184,t=>{t.v(s=>Promise.all(["static/chunks/1kkj4dqqizj1g.js"].map(s=>t.l(s))).then(()=>s(569590)))},402999,t=>{t.v(s=>Promise.all(["static/chunks/1abc3xfswhk36.js"].map(s=>t.l(s))).then(()=>s(389508)))},22510,t=>{t.v(s=>Promise.all(["static/chunks/3p-mvzd69i8m_.js","static/chunks/1px0m_9u11val.js","static/chunks/1ozmtvibzzync.js","static/chunks/1dy9mwr1pcdwo.js"].map(s=>t.l(s))).then(()=>s(792808)))},392914,t=>{t.v(s=>Promise.all(["static/chunks/3qa8z7ahjfjda.js"].map(s=>t.l(s))).then(()=>s(270093)))},864980,t=>{t.v(s=>Promise.all(["static/chunks/0unfsbpxtuicd.js"].map(s=>t.l(s))).then(()=>s(221610)))},362249,t=>{t.v(s=>Promise.all(["static/chunks/2pma0utbxjpx3.js"].map(s=>t.l(s))).then(()=>s(292310)))},919686,t=>{t.v(s=>Promise.all(["static/chunks/418b-iezadyqk.js"].map(s=>t.l(s))).then(()=>s(513929)))},123169,t=>{t.v(s=>Promise.all(["static/chunks/0-e41flx3-6kr.js"].map(s=>t.l(s))).then(()=>s(495422)))},866973,t=>{t.v(s=>Promise.all(["static/chunks/3trm7ge6o-yl3.js"].map(s=>t.l(s))).then(()=>s(381082)))},580357,t=>{t.v(s=>Promise.all(["static/chunks/0l8oeumi7zreb.js","static/chunks/29kou1oqg257y.js","static/chunks/2v-fuc1wwaulc.js","static/chunks/1ozmtvibzzync.js","static/chunks/36oxg-33dy_jz.js","static/chunks/1dy9mwr1pcdwo.js","static/chunks/2ro2w2784zwl0.js","static/chunks/31rpioh8q87-5.js","static/chunks/0agnc6vlr5bvi.js","static/chunks/2six92-4e054u.js","static/chunks/3tq8wpaa3ie4_.js"].map(s=>t.l(s))).then(()=>s(428855)))},660137,t=>{t.v(s=>Promise.all(["static/chunks/29kou1oqg257y.js","static/chunks/2v-fuc1wwaulc.js","static/chunks/1ozmtvibzzync.js","static/chunks/0agnc6vlr5bvi.js","static/chunks/2ro2w2784zwl0.js","static/chunks/3tq8wpaa3ie4_.js","static/chunks/31rpioh8q87-5.js","static/chunks/1dy9mwr1pcdwo.js","static/chunks/2six92-4e054u.js"].map(s=>t.l(s))).then(()=>s(259585)))},225837,t=>{t.v(s=>Promise.all(["static/chunks/409byf0ixcxxo.js"].map(s=>t.l(s))).then(()=>s(98542)))},559154,t=>{t.v(s=>Promise.all(["static/chunks/2e7zn6goip-16.js"].map(s=>t.l(s))).then(()=>s(672283)))},428160,t=>{t.v(s=>Promise.all(["static/chunks/2np1b-o9o9lxe.js"].map(s=>t.l(s))).then(()=>s(428978)))},679226,t=>{t.v(s=>Promise.all(["static/chunks/1zexcknv1j-z7.js"].map(s=>t.l(s))).then(()=>s(351908)))},95554,t=>{t.v(s=>Promise.all(["static/chunks/1zch7s-d9ym1d.js"].map(s=>t.l(s))).then(()=>s(843805)))},256229,t=>{t.v(s=>Promise.all(["static/chunks/0bp3uew85t0ry.js"].map(s=>t.l(s))).then(()=>s(455496)))},257294,t=>{t.v(s=>Promise.all(["static/chunks/34vbgf3h6aynb.js"].map(s=>t.l(s))).then(()=>s(763343)))},287646,t=>{t.v(s=>Promise.all(["static/chunks/3py7aam1ahr8d.js"].map(s=>t.l(s))).then(()=>s(470313)))},77876,t=>{t.v(s=>Promise.all(["static/chunks/10ur2oml6p9x4.js"].map(s=>t.l(s))).then(()=>s(883808)))},702789,t=>{t.v(s=>Promise.all(["static/chunks/11b9yf9dfuujx.js"].map(s=>t.l(s))).then(()=>s(713367)))},105404,t=>{t.v(s=>Promise.all(["static/chunks/2dnh5lwhlmqjo.js"].map(s=>t.l(s))).then(()=>s(503988)))},664050,t=>{t.v(s=>Promise.all(["static/chunks/40ei945lllr9w.js"].map(s=>t.l(s))).then(()=>s(80464)))},423766,t=>{t.v(s=>Promise.all(["static/chunks/0ra7vu-67oxip.js","static/chunks/1dy9mwr1pcdwo.js","static/chunks/1ozmtvibzzync.js"].map(s=>t.l(s))).then(()=>s(34684)))},471095,t=>{t.v(s=>Promise.all(["static/chunks/2evctkklgum84.js"].map(s=>t.l(s))).then(()=>s(259514)))},713125,t=>{t.v(s=>Promise.all(["static/chunks/2_59ceoqu2j9o.js"].map(s=>t.l(s))).then(()=>s(435493)))},347760,t=>{t.v(s=>Promise.all(["static/chunks/17tgaro217rkw.js"].map(s=>t.l(s))).then(()=>s(588587)))},525380,t=>{t.v(s=>Promise.all(["static/chunks/0txq63lra1gy5.js"].map(s=>t.l(s))).then(()=>s(843156)))},927772,t=>{t.v(s=>Promise.all(["static/chunks/38b2vebizod3f.js"].map(s=>t.l(s))).then(()=>s(286144)))},131592,t=>{t.v(s=>Promise.all(["static/chunks/1-pex3noy3abf.js"].map(s=>t.l(s))).then(()=>s(568096)))},942509,t=>{t.v(s=>Promise.all(["static/chunks/208d1-7kvefg6.js","static/chunks/1dy9mwr1pcdwo.js"].map(s=>t.l(s))).then(()=>s(809240)))},209551,t=>{t.v(s=>Promise.all(["static/chunks/1asjpdf763drn.js","static/chunks/4469hynu4qc3x.js","static/chunks/0agnc6vlr5bvi.js","static/chunks/1dy9mwr1pcdwo.js"].map(s=>t.l(s))).then(()=>s(361218)))},174099,t=>{t.v(s=>Promise.all(["static/chunks/3l445yien52wx.js"].map(s=>t.l(s))).then(()=>s(42)))},401250,t=>{t.v(s=>Promise.all(["static/chunks/2qbs5ja7xij_y.js"].map(s=>t.l(s))).then(()=>s(921955)))},944475,t=>{t.v(s=>Promise.all(["static/chunks/3agxmq5t1fgcm.js"].map(s=>t.l(s))).then(()=>s(775193)))},600538,t=>{t.v(s=>Promise.all(["static/chunks/2osmatdeuj3s-.js"].map(s=>t.l(s))).then(()=>s(705623)))},336651,t=>{t.v(s=>Promise.all(["static/chunks/0obkw0gs46t63.js"].map(s=>t.l(s))).then(()=>s(605927)))},709948,t=>{t.v(s=>Promise.all(["static/chunks/1nax-hzuha2nt.js"].map(s=>t.l(s))).then(()=>s(596338)))},340336,t=>{t.v(s=>Promise.all(["static/chunks/1caj6_s4hafz8.js","static/chunks/1dy9mwr1pcdwo.js"].map(s=>t.l(s))).then(()=>s(461138)))},508436,t=>{t.v(s=>Promise.all(["static/chunks/1flk5q9pa7qsp.js"].map(s=>t.l(s))).then(()=>s(318633)))},155636,t=>{t.v(s=>Promise.all(["static/chunks/3_3mt55_s_8nf.js"].map(s=>t.l(s))).then(()=>s(107395)))},351979,t=>{t.v(s=>Promise.all(["static/chunks/0rc3dvh91j2qq.js"].map(s=>t.l(s))).then(()=>s(40899)))},65678,t=>{t.v(s=>Promise.all(["static/chunks/0n-9icasrt3tr.js","static/chunks/2v-fuc1wwaulc.js","static/chunks/29kou1oqg257y.js","static/chunks/1dy9mwr1pcdwo.js","static/chunks/1ozmtvibzzync.js","static/chunks/0agnc6vlr5bvi.js"].map(s=>t.l(s))).then(()=>s(352763)))},841727,t=>{t.v(s=>Promise.all(["static/chunks/1t71kx4hckhdg.js"].map(s=>t.l(s))).then(()=>s(526893)))},557754,t=>{t.v(s=>Promise.all(["static/chunks/31rpioh8q87-5.js"].map(s=>t.l(s))).then(()=>s(578270)))},670454,t=>{t.v(s=>Promise.all(["static/chunks/42lcx54bokm4l.js"].map(s=>t.l(s))).then(()=>s(891579)))},670515,t=>{t.v(s=>Promise.all(["static/chunks/2fkhtkfyegbfl.js","static/chunks/2v-fuc1wwaulc.js","static/chunks/29kou1oqg257y.js","static/chunks/1ozmtvibzzync.js","static/chunks/36oxg-33dy_jz.js","static/chunks/3rudiphv22_sj.js","static/chunks/2ro2w2784zwl0.js","static/chunks/0agnc6vlr5bvi.js","static/chunks/1dy9mwr1pcdwo.js","static/chunks/31rpioh8q87-5.js","static/chunks/2six92-4e054u.js","static/chunks/3tq8wpaa3ie4_.js"].map(s=>t.l(s))).then(()=>s(259443)))},48460,t=>{t.v(s=>Promise.all(["static/chunks/0agnc6vlr5bvi.js"].map(s=>t.l(s))).then(()=>s(3737)))},744538,t=>{t.v(s=>Promise.all(["static/chunks/38f2w40jfofcx.js"].map(s=>t.l(s))).then(()=>s(610648)))},963321,t=>{t.v(s=>Promise.all(["static/chunks/2keoa22_a2i05.js"].map(s=>t.l(s))).then(()=>s(717620)))},43837,t=>{t.v(s=>Promise.all(["static/chunks/3iufy6ir2ow_s.js"].map(s=>t.l(s))).then(()=>s(476205)))},830536,t=>{t.v(s=>Promise.all(["static/chunks/0dum5lyb1kgdu.js"].map(s=>t.l(s))).then(()=>s(18661)))},785051,t=>{t.v(s=>Promise.all(["static/chunks/3iooxhh1ig5bw.js"].map(s=>t.l(s))).then(()=>s(938702)))},586017,t=>{t.v(s=>Promise.all(["static/chunks/17z996osqxkqt.js"].map(s=>t.l(s))).then(()=>s(588430)))},495694,t=>{t.v(s=>Promise.all(["static/chunks/0h-2v5t5yj2f3.js"].map(s=>t.l(s))).then(()=>s(562973)))},404547,t=>{t.v(s=>Promise.all(["static/chunks/1idh9y3ry9ztt.js"].map(s=>t.l(s))).then(()=>s(44445)))},160550,t=>{t.v(s=>Promise.all(["static/chunks/2tslt-7b091nm.js","static/chunks/1dy9mwr1pcdwo.js"].map(s=>t.l(s))).then(()=>s(338022)))},109,t=>{t.v(s=>Promise.all(["static/chunks/1mi-5-8zn56-m.js","static/chunks/0bp3uew85t0ry.js","static/chunks/1qil2ska-_5gi.js","static/chunks/1dy9mwr1pcdwo.js","static/chunks/3ia1uy-ta-wwx.js"].map(s=>t.l(s))).then(()=>s(534365)))},934329,t=>{t.v(s=>Promise.all(["static/chunks/2cl_2bjqc1lsc.js","static/chunks/1ozmtvibzzync.js","static/chunks/1dy9mwr1pcdwo.js","static/chunks/0agnc6vlr5bvi.js"].map(s=>t.l(s))).then(()=>s(532041)))},834235,t=>{t.v(s=>Promise.all(["static/chunks/3c5h1ejnae2s_.js"].map(s=>t.l(s))).then(()=>s(288188)))},879931,t=>{t.v(s=>Promise.all(["static/chunks/0tbmf55xnq95w.js"].map(s=>t.l(s))).then(()=>s(997855)))},738463,t=>{t.v(s=>Promise.all(["static/chunks/41klrxz2-ykw3.js"].map(s=>t.l(s))).then(()=>s(786105)))},464547,t=>{t.v(s=>Promise.all(["static/chunks/1g4yzqc8g06o2.js"].map(s=>t.l(s))).then(()=>s(995255)))},74196,t=>{t.v(s=>Promise.all(["static/chunks/1pgom6axjfimi.js"].map(s=>t.l(s))).then(()=>s(786142)))},926245,t=>{t.v(s=>Promise.all(["static/chunks/00f7egm3k9vam.js"].map(s=>t.l(s))).then(()=>s(829634)))},998654,t=>{t.v(s=>Promise.all(["static/chunks/0gklkn8q2umf3.js"].map(s=>t.l(s))).then(()=>s(121147)))},160115,t=>{t.v(s=>Promise.all(["static/chunks/0-rd1xjzbrve6.js"].map(s=>t.l(s))).then(()=>s(244703)))},656841,t=>{t.v(s=>Promise.all(["static/chunks/3vdfjhigz-c80.js"].map(s=>t.l(s))).then(()=>s(33176)))},291412,t=>{t.v(s=>Promise.all(["static/chunks/2rbi0f59-vmf9.js"].map(s=>t.l(s))).then(()=>s(620584)))},441270,t=>{t.v(s=>Promise.all(["static/chunks/088x63_2l0zc9.js"].map(s=>t.l(s))).then(()=>s(675022)))},332344,t=>{t.v(s=>Promise.all(["static/chunks/3ve5sdpvgjpbu.js"].map(s=>t.l(s))).then(()=>s(642400)))},252913,t=>{t.v(s=>Promise.all(["static/chunks/2i6moah6rdm25.js"].map(s=>t.l(s))).then(()=>s(202714)))},695208,t=>{t.v(s=>Promise.all(["static/chunks/3_gqqu4iritf3.js"].map(s=>t.l(s))).then(()=>s(40379)))},952844,t=>{t.v(s=>Promise.all(["static/chunks/0wdb6hvovrzpj.js"].map(s=>t.l(s))).then(()=>s(48975)))},776488,t=>{t.v(s=>Promise.all(["static/chunks/07ciqblogdtfg.js"].map(s=>t.l(s))).then(()=>s(938096)))},536002,t=>{t.v(s=>Promise.all(["static/chunks/0n254r0xtp5py.js"].map(s=>t.l(s))).then(()=>s(340767)))},872934,t=>{t.v(s=>Promise.all(["static/chunks/3qx8r_111vbcq.js"].map(s=>t.l(s))).then(()=>s(216129)))},831036,t=>{t.v(s=>Promise.all(["static/chunks/0b7u4oyc-4h1f.js"].map(s=>t.l(s))).then(()=>s(188870)))},423803,t=>{t.v(s=>Promise.all(["static/chunks/1464ilzyzd67x.js"].map(s=>t.l(s))).then(()=>s(9753)))},486330,t=>{t.v(s=>Promise.all(["static/chunks/0akc8wpmmqk3w.js"].map(s=>t.l(s))).then(()=>s(611191)))},381001,t=>{t.v(s=>Promise.all(["static/chunks/0db0pjco5lunx.js"].map(s=>t.l(s))).then(()=>s(297569)))},902100,t=>{t.v(s=>Promise.all(["static/chunks/3cayxge-4bh_2.js"].map(s=>t.l(s))).then(()=>s(899637)))},295735,t=>{t.v(s=>Promise.all(["static/chunks/1_dzz-lgnak2h.js"].map(s=>t.l(s))).then(()=>s(504007)))},358172,t=>{t.v(s=>Promise.all(["static/chunks/2cbug7-1qys8e.js"].map(s=>t.l(s))).then(()=>s(824395)))},775274,t=>{t.v(s=>Promise.all(["static/chunks/16_2z7zojg3g3.js"].map(s=>t.l(s))).then(()=>s(760511)))},514214,t=>{t.v(s=>Promise.all(["static/chunks/0cmf43-qvwr5g.js"].map(s=>t.l(s))).then(()=>s(815758)))},948353,t=>{t.v(s=>Promise.all(["static/chunks/210l205kz5g3q.js"].map(s=>t.l(s))).then(()=>s(365094)))},640920,t=>{t.v(s=>Promise.all(["static/chunks/3skrxw7zfkqzf.js"].map(s=>t.l(s))).then(()=>s(363976)))},157811,t=>{t.v(s=>Promise.all(["static/chunks/17brxt738o00g.js"].map(s=>t.l(s))).then(()=>s(805755)))},805550,t=>{t.v(s=>Promise.all(["static/chunks/0cg7tv-i19f6n.js"].map(s=>t.l(s))).then(()=>s(7419)))},360233,t=>{t.v(s=>Promise.all(["static/chunks/2tsbrs7m-0f65.js"].map(s=>t.l(s))).then(()=>s(797673)))},579755,t=>{t.v(s=>Promise.all(["static/chunks/01bd73-hm8457.js"].map(s=>t.l(s))).then(()=>s(525522)))},980721,t=>{t.v(s=>Promise.all(["static/chunks/458hu9cfcc3s_.js"].map(s=>t.l(s))).then(()=>s(560616)))},27266,t=>{t.v(s=>Promise.all(["static/chunks/01i1qitd_8rtz.js"].map(s=>t.l(s))).then(()=>s(134497)))},231214,t=>{t.v(s=>Promise.all(["static/chunks/1fviz3qosnq__.js"].map(s=>t.l(s))).then(()=>s(770771)))},881110,t=>{t.v(s=>Promise.all(["static/chunks/037scab0ici8w.js"].map(s=>t.l(s))).then(()=>s(764248)))},337683,t=>{t.v(s=>Promise.all(["static/chunks/1yj-z4gstw2xu.js"].map(s=>t.l(s))).then(()=>s(581666)))},28130,t=>{t.v(s=>Promise.all(["static/chunks/0p3vq3l43725n.js"].map(s=>t.l(s))).then(()=>s(365013)))},487165,t=>{t.v(s=>Promise.all(["static/chunks/3xes-pn_ri2cj.js"].map(s=>t.l(s))).then(()=>s(7363)))},470579,t=>{t.v(s=>Promise.all(["static/chunks/12z0zeu7lvha7.js"].map(s=>t.l(s))).then(()=>s(791178)))},677856,t=>{t.v(s=>Promise.all(["static/chunks/3v0b10wj4wq9y.js"].map(s=>t.l(s))).then(()=>s(182360)))},194363,t=>{t.v(s=>Promise.all(["static/chunks/3pa4udctptdhb.js"].map(s=>t.l(s))).then(()=>s(720465)))},448953,t=>{t.v(s=>Promise.all(["static/chunks/3473zud7njrud.js"].map(s=>t.l(s))).then(()=>s(951566)))},711812,t=>{t.v(s=>Promise.all(["static/chunks/1xdsthrspgqid.js"].map(s=>t.l(s))).then(()=>s(935992)))},409732,t=>{t.v(s=>Promise.all(["static/chunks/3t3e6rkuocks5.js"].map(s=>t.l(s))).then(()=>s(553497)))},930788,t=>{t.v(s=>Promise.all(["static/chunks/0r8pu9o18-9be.js"].map(s=>t.l(s))).then(()=>s(94790)))},769460,t=>{t.v(s=>Promise.all(["static/chunks/2wewgtk8lsm47.js"].map(s=>t.l(s))).then(()=>s(258941)))},774478,t=>{t.v(s=>Promise.all(["static/chunks/2l6fe0r1d_q6v.js"].map(s=>t.l(s))).then(()=>s(899054)))},49008,t=>{t.v(s=>Promise.all(["static/chunks/14_d5b8v93ic0.js"].map(s=>t.l(s))).then(()=>s(645619)))},377952,t=>{t.v(s=>Promise.all(["static/chunks/1ji12pypkyvd6.js"].map(s=>t.l(s))).then(()=>s(464754)))},411374,t=>{t.v(s=>Promise.all(["static/chunks/0j6p1caglumb5.js"].map(s=>t.l(s))).then(()=>s(669891)))},820463,t=>{t.v(s=>Promise.all(["static/chunks/3oj0ck1e2y0rg.js"].map(s=>t.l(s))).then(()=>s(966937)))},630169,t=>{t.v(s=>Promise.all(["static/chunks/21bsne5xprg9x.js"].map(s=>t.l(s))).then(()=>s(412397)))},777035,t=>{t.v(s=>Promise.all(["static/chunks/2nz_jsjkeh_3n.js"].map(s=>t.l(s))).then(()=>s(323854)))},28589,t=>{t.v(s=>Promise.all(["static/chunks/3bl5nolxelhoh.js"].map(s=>t.l(s))).then(()=>s(299023)))},161439,t=>{t.v(s=>Promise.all(["static/chunks/2qvx9cvdob30_.js"].map(s=>t.l(s))).then(()=>s(83923)))},467304,t=>{t.v(s=>Promise.all(["static/chunks/2r50d8i8nzafy.js"].map(s=>t.l(s))).then(()=>s(620576)))},794497,t=>{t.v(s=>Promise.all(["static/chunks/2-q2d_mg8eewn.js"].map(s=>t.l(s))).then(()=>s(383983)))},353619,t=>{t.v(s=>Promise.all(["static/chunks/00133qbkud_a1.js"].map(s=>t.l(s))).then(()=>s(311461)))},841717,t=>{t.v(s=>Promise.all(["static/chunks/3wyndekp6gs1e.js"].map(s=>t.l(s))).then(()=>s(905139)))},703232,t=>{t.v(s=>Promise.all(["static/chunks/0a5uw59rid6rr.js"].map(s=>t.l(s))).then(()=>s(7846)))},469411,t=>{t.v(s=>Promise.all(["static/chunks/1tdg7-4y92ae5.js"].map(s=>t.l(s))).then(()=>s(135966)))},81356,t=>{t.v(s=>Promise.all(["static/chunks/27679aiblwt7d.js"].map(s=>t.l(s))).then(()=>s(920400)))},291336,t=>{t.v(s=>Promise.all(["static/chunks/2-r_2y3shm5dp.js"].map(s=>t.l(s))).then(()=>s(154629)))},753065,t=>{t.v(s=>Promise.all(["static/chunks/3zru906admgda.js"].map(s=>t.l(s))).then(()=>s(792599)))},758732,t=>{t.v(s=>Promise.all(["static/chunks/1m_1wucqbm0dk.js"].map(s=>t.l(s))).then(()=>s(341854)))},505358,t=>{t.v(s=>Promise.all(["static/chunks/3n91b_r3lsocx.js"].map(s=>t.l(s))).then(()=>s(273427)))},953493,t=>{t.v(s=>Promise.all(["static/chunks/0ppunhtgdiybw.js"].map(s=>t.l(s))).then(()=>s(468746)))},767374,t=>{t.v(s=>Promise.all(["static/chunks/2e77rof1d6aab.js"].map(s=>t.l(s))).then(()=>s(948350)))},461630,t=>{t.v(s=>Promise.all(["static/chunks/1ua4os8wtpq3w.js"].map(s=>t.l(s))).then(()=>s(200388)))},135353,t=>{t.v(s=>Promise.all(["static/chunks/3_rh0kun_htkr.js"].map(s=>t.l(s))).then(()=>s(720692)))},129817,t=>{t.v(s=>Promise.all(["static/chunks/2wgde6wz3k5s5.js"].map(s=>t.l(s))).then(()=>s(832876)))},666144,t=>{t.v(s=>Promise.all(["static/chunks/2wm8p15qdp-ng.js"].map(s=>t.l(s))).then(()=>s(942760)))},496740,t=>{t.v(s=>Promise.all(["static/chunks/365l-wyhfm_-p.js"].map(s=>t.l(s))).then(()=>s(436913)))},896290,t=>{t.v(s=>Promise.all(["static/chunks/0_81-tq3u4vi9.js"].map(s=>t.l(s))).then(()=>s(67631)))},161379,t=>{t.v(s=>Promise.all(["static/chunks/2ktgnhn-0j381.js"].map(s=>t.l(s))).then(()=>s(397216)))},839484,t=>{t.v(t=>Promise.resolve().then(()=>t(716400)))},867927,986253,t=>{"use strict";var s=t.i(456420);let a={name:"chevron-right",size:24,node:[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]};a.node;let e=(0,s.default)(a);t.s(["default",0,e],986253),t.s(["ChevronRight",0,e],867927)},482022,t=>{"use strict";var s=t.i(456420);let a={name:"external-link",size:24,node:[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]]};a.node;let e=(0,s.default)(a);t.s(["ExternalLink",0,e],482022)},350117,t=>{t.v(s=>Promise.all(["static/chunks/0mkmxdnpoteey.js","static/chunks/2qq7e47gpyc_e.js","static/chunks/1kzq0rdlu1v0j.js"].map(s=>t.l(s))).then(()=>s(36245)))},382528,t=>{t.v(s=>Promise.all(["static/chunks/00h58csdfefay.js","static/chunks/1-2_pusn4n8oh.js","static/chunks/2qq7e47gpyc_e.js","static/chunks/411-m6wb1xycs.js"].map(s=>t.l(s))).then(()=>s(868938)))},705108,t=>{t.v(s=>Promise.all(["static/chunks/0kdfzi54utgbh.js","static/chunks/42kilhgqayez4.js"].map(s=>t.l(s))).then(()=>s(121437)))},143904,t=>{t.v(s=>Promise.all(["static/chunks/0u3ktztrzu1fa.js","static/chunks/1ebh7wwf-wzqn.js"].map(s=>t.l(s))).then(()=>s(482661)))},696017,t=>{"use strict";var s=t.i(60231),a=t.i(419524);t.i(947716);var e=t.i(723685),i=(0,a.__name)(t=>{let{securityLevel:a}=(0,s.getConfig2)(),i=(0,e.select)("body");if("sandbox"===a){let s=(0,e.select)(`#i${t}`),a=s.node()?.contentDocument??document;i=(0,e.select)(a.body)}return i.select(`#${t}`)},"selectSvgElement");t.s(["selectSvgElement",0,i])},502056,t=>{"use strict";var s=t.i(217248),a=t.i(447804),e=t.i(508324),i=t.i(419524),l=(0,i.__name)(({flowchart:t})=>{let s=t?.subGraphTitleMargin?.top??0,a=t?.subGraphTitleMargin?.bottom??0;return{subGraphTitleTopMargin:s,subGraphTitleBottomMargin:a,subGraphTitleTotalMargin:s+a}},"getSubGraphTitleMargins"),c=new Map;async function n(t,e,i){let l,n;"rect"===e.shape&&(e.rx&&e.ry?e.shape="roundedRect":e.shape="squareRect");let h=e.shape?s.shapes[e.shape]:void 0;if(!h)throw Error(`No such shape: ${e.shape}. Please check your syntax.`);if(e.link){let s;"sandbox"===i.config.securityLevel?s="_top":e.linkTarget&&(s=e.linkTarget||"_blank"),l=t.insert("svg:a").attr("xlink:href",e.link).attr("target",s??null),n=await h(l,e,i)}else l=n=await h(t,e,i);return l.attr("data-look",(0,a.handleUndefinedAttr)(e.look)),e.tooltip&&n.attr("title",e.tooltip),c.set(e.id,l),e.haveCallback&&l.attr("class",l.attr("class")+" clickable"),l}(0,i.__name)(n,"insertNode");var h=(0,i.__name)((t,s)=>{c.set(s.id,t)},"setNodeElem"),r=(0,i.__name)(()=>{c.clear()},"clear"),m=(0,i.__name)(t=>{let s=c.get(t.id);e.log.trace("Transforming node",t.diff,t,"translate("+(t.x-t.width/2-5)+", "+t.width/2+")");let a=t.diff||0;return t.clusterNode?s.attr("transform","translate("+(t.x+a-t.width/2)+", "+(t.y-t.height/2-8)+")"):s.attr("transform","translate("+t.x+", "+t.y+")"),a},"positionNode");t.s(["clear",0,r,"getSubGraphTitleMargins",0,l,"insertNode",0,n,"positionNode",0,m,"setNodeElem",0,h])},369110,t=>{"use strict";var s=t.i(502056),a=t.i(217248),e=t.i(224797),i=t.i(836333),l=t.i(60231),c=t.i(508324),n=t.i(419524);t.i(947716);var h=t.i(723685),r=t.i(883272),m=(0,n.__name)(async(t,s)=>{let n,m,o=(0,l.getConfig2)(),{themeVariables:u,handDrawnSeed:k}=o,{clusterBkg:p,clusterBorder:j}=u,{labelStyles:d,nodeStyles:v,borderStyles:g,backgroundStyles:w}=(0,e.styles2String)(s),P=t.insert("g").attr("class","cluster swimlane "+(s.cssClasses||"")).attr("id",s.id).attr("data-id",s.id).attr("data-et","cluster").attr("data-look",s.look),f=(0,l.evaluate)(o.flowchart.htmlLabels),y="LR"===s.direction,_=P.insert("g").attr("class","cluster-label swimlane-label"),z=await (0,i.createText)(_,s.label,{style:s.labelStyle,useHtmlLabels:f,isNode:!0,width:s.width}),b=z.getBBox();if(f){let t=z.children[0],s=(0,h.select)(z);b=t.getBoundingClientRect(),s.attr("width",b.width),s.attr("height",b.height)}let x=s.padding??0,q=s.width<=b.width+x?b.width+x:s.width;s.width<=b.width+x?s.diff=(q-s.width)/2-x:s.diff=-x;let L=s.height,M=s.y-L/2,C=s.y+L/2,E=s.x-q/2,T=void 0!==s.swimlaneContentTop?s.swimlaneContentTop:M+L/3,S=4*!!y,B=b.height+2*S;if(y){let t=Math.max(B,b.height+2*S),a=E+t,i=Math.max(0,q-t);if("handDrawn"===s.look){let l=r.default.svg(P),c=(0,e.userNodeOverrides)(s,{roughness:.7,fill:p,stroke:j,fillWeight:3,seed:k}),h=(0,e.userNodeOverrides)(s,{roughness:.7,fill:"none",stroke:j,seed:k}),o=l.rectangle(E,M,t,L,c);n=P.insert(()=>o,":first-child");let u=l.rectangle(a,M,i,L,h);m=P.insert(()=>u,":first-child"),n.select("path:nth-child(2)").attr("style",g.join(";")),n.select("path").attr("style",w.join(";").replace("fill","stroke"))}else n=P.insert("rect",":first-child"),m=P.insert("rect",":first-child"),n.attr("class","swimlane-title").attr("style",v).attr("x",E).attr("y",M).attr("width",t).attr("height",L).attr("fill",p).attr("stroke",j),m.attr("class","swimlane-body").attr("style",v).attr("x",a).attr("y",M).attr("width",i).attr("height",L).attr("fill","none").attr("stroke",j);let l=E+t/2,c=s.y;_.attr("transform",`translate(${l}, ${c}) rotate(-90) translate(${-b.width/2}, ${-b.height/2})`)}else{let t=Math.min(B,Math.max(0,T-M)),a=M+t,i=Math.max(0,C-a),l=s.x-q/2;if("handDrawn"===s.look){let c=r.default.svg(P),h=(0,e.userNodeOverrides)(s,{roughness:.7,fill:p,stroke:j,fillWeight:3,seed:k}),o=(0,e.userNodeOverrides)(s,{roughness:.7,fill:"none",stroke:j,seed:k}),u=c.rectangle(l,M,q,t,h);n=P.insert(()=>u,":first-child");let d=c.rectangle(l,a,q,i,o);m=P.insert(()=>d,":first-child"),n.select("path:nth-child(2)").attr("style",g.join(";")),n.select("path").attr("style",w.join(";").replace("fill","stroke"))}else n=P.insert("rect",":first-child"),m=P.insert("rect",":first-child"),n.attr("class","swimlane-title").attr("style",v).attr("x",l).attr("y",M).attr("width",q).attr("height",t).attr("fill",p).attr("stroke",j),m.attr("class","swimlane-body").attr("style",v).attr("x",l).attr("y",a).attr("width",q).attr("height",i).attr("fill","none").attr("stroke",j);let c=s.x-b.width/2,h=M+(t-b.height)/2;_.attr("transform",`translate(${c}, ${h})`)}if(c.log.trace("Swimlane data ",s,JSON.stringify(s)),d){let t=_.select("span");t&&t.attr("style",d)}return s.offsetX=0,s.width=q,s.height=L,s.offsetY=b.height-x/2,s.intersect=function(t){return(0,a.intersect_rect_default)(s,t)},{cluster:P,labelBBox:b}},"swimlane"),o=(0,n.__name)(async(t,n)=>{let m,o;c.log.info("Creating subgraph rect for ",n.id,n);let u=(0,l.getConfig2)(),{themeVariables:k,handDrawnSeed:p}=u,{clusterBkg:j,clusterBorder:d}=k,{labelStyles:v,nodeStyles:g,borderStyles:w,backgroundStyles:P}=(0,e.styles2String)(n),f=t.insert("g").attr("class","cluster "+n.cssClasses).attr("id",n.domId).attr("data-look",n.look),y=(0,l.getEffectiveHtmlLabels)(u),_=f.insert("g").attr("class","cluster-label "),z=(m="markdown"===n.labelType?await (0,i.createText)(_,n.label,{style:n.labelStyle,useHtmlLabels:y,isNode:!0,width:n.width}):await (0,a.createLabel_default)(_,n.label,n.labelStyle||"",!1,!0)).getBBox();if((0,l.getEffectiveHtmlLabels)(u)){let t=m.children[0],s=(0,h.select)(m);z=t.getBoundingClientRect(),s.attr("width",z.width),s.attr("height",z.height)}let b=n.width<=z.width+n.padding?z.width+n.padding:n.width;n.width<=z.width+n.padding?n.diff=(b-n.width)/2-n.padding:n.diff=-n.padding;let x=n.height,q=n.x-b/2,L=n.y-x/2;if(c.log.trace("Data ",n,JSON.stringify(n)),"handDrawn"===n.look){let t=r.default.svg(f),s=(0,e.userNodeOverrides)(n,{roughness:.7,fill:j,stroke:d,fillWeight:3,seed:p}),i=t.path((0,a.createRoundedRectPathD)(q,L,b,x,0),s);(o=f.insert(()=>(c.log.debug("Rough node insert CXC",i),i),":first-child")).select("path:nth-child(2)").attr("style",w.join(";")),o.select("path").attr("style",P.join(";").replace("fill","stroke"))}else(o=f.insert("rect",":first-child")).attr("style",g).attr("rx",n.rx).attr("ry",n.ry).attr("x",q).attr("y",L).attr("width",b).attr("height",x);let{subGraphTitleTopMargin:M}=(0,s.getSubGraphTitleMargins)(u);if(_.attr("transform",`translate(${n.x-z.width/2}, ${n.y-n.height/2+M})`),v){let t=_.select("span");t&&t.attr("style",v)}let C=o.node().getBBox();return n.offsetX=0,n.width=C.width,n.height=C.height,n.offsetY=z.height-n.padding/2,n.intersect=function(t){return(0,a.intersect_rect_default)(n,t)},{cluster:f,labelBBox:z}},"rect"),u=(0,n.__name)((t,s)=>{let e=t.insert("g").attr("class","note-cluster").attr("id",s.domId),i=e.insert("rect",":first-child"),l=0*s.padding,c=l/2;i.attr("rx",s.rx).attr("ry",s.ry).attr("x",s.x-s.width/2-c).attr("y",s.y-s.height/2-c).attr("width",s.width+l).attr("height",s.height+l).attr("fill","none");let n=i.node().getBBox();return s.width=n.width,s.height=n.height,s.intersect=function(t){return(0,a.intersect_rect_default)(s,t)},{cluster:e,labelBBox:{width:0,height:0}}},"noteGroup"),k=(0,n.__name)(async(t,s)=>{let e,i=(0,l.getConfig2)(),{themeVariables:c,handDrawnSeed:n}=i,{altBackground:m,compositeBackground:o,compositeTitleBackground:u,nodeBorder:k}=c,p=t.insert("g").attr("class",s.cssClasses).attr("id",s.domId).attr("data-id",s.id).attr("data-look",s.look),j=p.insert("g",":first-child"),d=p.insert("g").attr("class","cluster-label"),v=p.append("rect"),g=await (0,a.createLabel_default)(d,s.label,s.labelStyle,void 0,!0),w=g.getBBox();if((0,l.getEffectiveHtmlLabels)(i)){let t=g.children[0],s=(0,h.select)(g);w=t.getBoundingClientRect(),s.attr("width",w.width),s.attr("height",w.height)}let P=0*s.padding,f=(s.width<=w.width+s.padding?w.width+s.padding:s.width)+P;s.width<=w.width+s.padding?s.diff=(f-s.width)/2-s.padding:s.diff=-s.padding;let y=s.height+P,_=s.height+P-w.height-6,z=s.x-f/2,b=s.y-y/2;s.width=f;let x=s.y-s.height/2-P/2+w.height+2;if("handDrawn"===s.look){let t=s.cssClasses.includes("statediagram-cluster-alt"),i=r.default.svg(p),l=s.rx||s.ry?i.path((0,a.createRoundedRectPathD)(z,b,f,y,10),{roughness:.7,fill:u,fillStyle:"solid",stroke:k,seed:n}):i.rectangle(z,b,f,y,{seed:n});e=p.insert(()=>l,":first-child");let c=i.rectangle(z,x,f,_,{fill:t?m:o,fillStyle:t?"hachure":"solid",stroke:k,seed:n});e=p.insert(()=>l,":first-child"),v=p.insert(()=>c)}else(e=j.insert("rect",":first-child")).attr("class","outer").attr("x",z).attr("y",b).attr("width",f).attr("height",y).attr("data-look",s.look),v.attr("class","inner").attr("x",z).attr("y",x).attr("width",f).attr("height",_);return d.attr("transform",`translate(${s.x-w.width/2}, ${b+1-3*!(0,l.getEffectiveHtmlLabels)(i)})`),s.height=e.node().getBBox().height,s.offsetX=0,s.offsetY=w.height-s.padding/2,s.labelBBox=w,s.intersect=function(t){return(0,a.intersect_rect_default)(s,t)},{cluster:p,labelBBox:w}},"roundedWithTitle"),p=(0,n.__name)(async(t,n)=>{let m;c.log.info("Creating subgraph rect for ",n.id,n);let o=(0,l.getConfig2)(),{themeVariables:u,handDrawnSeed:k}=o,{clusterBkg:p,clusterBorder:j}=u,{labelStyles:d,nodeStyles:v,borderStyles:g,backgroundStyles:w}=(0,e.styles2String)(n),P=t.insert("g").attr("class","cluster "+n.cssClasses).attr("id",n.domId).attr("data-look",n.look),f=(0,l.getEffectiveHtmlLabels)(o),y=P.insert("g").attr("class","cluster-label "),_=await (0,i.createText)(y,n.label,{style:n.labelStyle,useHtmlLabels:f,isNode:!0,width:n.width}),z=_.getBBox();if((0,l.getEffectiveHtmlLabels)(o)){let t=_.children[0],s=(0,h.select)(_);z=t.getBoundingClientRect(),s.attr("width",z.width),s.attr("height",z.height)}let b=n.width<=z.width+n.padding?z.width+n.padding:n.width;n.width<=z.width+n.padding?n.diff=(b-n.width)/2-n.padding:n.diff=-n.padding;let x=n.height,q=n.x-b/2,L=n.y-x/2;if(c.log.trace("Data ",n,JSON.stringify(n)),"handDrawn"===n.look){let t=r.default.svg(P),s=(0,e.userNodeOverrides)(n,{roughness:.7,fill:p,stroke:j,fillWeight:4,seed:k}),i=t.path((0,a.createRoundedRectPathD)(q,L,b,x,n.rx),s);(m=P.insert(()=>(c.log.debug("Rough node insert CXC",i),i),":first-child")).select("path:nth-child(2)").attr("style",g.join(";")),m.select("path").attr("style",w.join(";").replace("fill","stroke"))}else(m=P.insert("rect",":first-child")).attr("style",v).attr("rx",n.rx).attr("ry",n.ry).attr("x",q).attr("y",L).attr("width",b).attr("height",x);let{subGraphTitleTopMargin:M}=(0,s.getSubGraphTitleMargins)(o);if(y.attr("transform",`translate(${n.x-z.width/2}, ${n.y-n.height/2+M})`),d){let t=y.select("span");t&&t.attr("style",d)}let C=m.node().getBBox();return n.offsetX=0,n.width=C.width,n.height=C.height,n.offsetY=z.height-n.padding/2,n.intersect=function(t){return(0,a.intersect_rect_default)(n,t)},{cluster:P,labelBBox:z}},"kanbanSection"),j={rect:o,squareRect:o,roundedWithTitle:k,noteGroup:u,divider:(0,n.__name)((t,s)=>{let e,{themeVariables:i,handDrawnSeed:c}=(0,l.getConfig2)(),{nodeBorder:n}=i,h=t.insert("g").attr("class",s.cssClasses).attr("id",s.domId).attr("data-look",s.look),m=h.insert("g",":first-child"),o=0*s.padding,u=s.width+o;s.diff=-s.padding;let k=s.height+o,p=s.x-u/2,j=s.y-k/2;if(s.width=u,"handDrawn"===s.look){let t=r.default.svg(h).rectangle(p,j,u,k,{fill:"lightgrey",roughness:.5,strokeLineDash:[5],stroke:n,seed:c});e=h.insert(()=>t,":first-child")}else{e=m.insert("rect",":first-child");let t="outer";s.look,t="divider",e.attr("class",t).attr("x",p).attr("y",j).attr("width",u).attr("height",k).attr("data-look",s.look)}return s.height=e.node().getBBox().height,s.offsetX=0,s.offsetY=0,s.intersect=function(t){return(0,a.intersect_rect_default)(s,t)},{cluster:h,labelBBox:{}}},"divider"),kanbanSection:p,swimlane:m},d=new Map,v=(0,n.__name)(async(t,s)=>{let a=s.shape||"rect",e=await j[a](t,s);return d.set(s.id,e),e},"insertCluster"),g=(0,n.__name)(()=>{d=new Map},"clear");t.s(["clear",0,g,"insertCluster",0,v])},121292,t=>{"use strict";var s=t.i(369110),a=t.i(382793),e=t.i(502056),i=t.i(217248),l=t.i(447804),c=t.i(60231),n=t.i(508324),h=t.i(419524),r={common:c.common_default,getConfig:c.getConfig,insertCluster:s.insertCluster,insertEdge:a.insertEdge,insertEdgeLabel:a.insertEdgeLabel,insertMarkers:a.markers_default,insertNode:e.insertNode,interpolateToCurve:l.interpolateToCurve,labelHelper:i.labelHelper,log:n.log,positionEdgeLabel:a.positionEdgeLabel},m={},o=(0,h.__name)(t=>{for(let s of t)m[s.name]=s},"registerLayoutLoaders");(0,h.__name)(()=>{o([{name:"dagre",loader:(0,h.__name)(async()=>await t.A(555153),"loader")},{name:"swimlane",loader:(0,h.__name)(async()=>await t.A(12782),"loader")},{name:"cose-bilkent",loader:(0,h.__name)(async()=>await t.A(208503),"loader")}])},"registerDefaultLayoutLoaders")();var u=(0,h.__name)(async(t,s)=>{if(!(t.layoutAlgorithm in m))throw Error(`Unknown layout algorithm: ${t.layoutAlgorithm}`);if(t.diagramId)for(let s of t.nodes){let a=s.domId||s.id;s.domId=`${t.diagramId}-${a}`}let a=m[t.layoutAlgorithm],e=await a.loader(),{theme:i,themeVariables:l}=t.config,{useGradient:c,gradientStart:n,gradientStop:h}=l,o=s.attr("id");if(s.append("defs").append("filter").attr("id",`${o}-drop-shadow`).attr("height","130%").attr("width","130%").append("feDropShadow").attr("dx","4").attr("dy","4").attr("stdDeviation",0).attr("flood-opacity","0.06").attr("flood-color",`${i?.includes("dark")?"#FFFFFF":"#000000"}`),s.append("defs").append("filter").attr("id",`${o}-drop-shadow-small`).attr("height","150%").attr("width","150%").append("feDropShadow").attr("dx","2").attr("dy","2").attr("stdDeviation",0).attr("flood-opacity","0.06").attr("flood-color",`${i?.includes("dark")?"#FFFFFF":"#000000"}`),c){let t=s.append("linearGradient").attr("id",s.attr("id")+"-gradient").attr("gradientUnits","objectBoundingBox").attr("x1","0%").attr("y1","0%").attr("x2","100%").attr("y2","0%");t.append("svg:stop").attr("offset","0%").attr("stop-color",n).attr("stop-opacity",1),t.append("svg:stop").attr("offset","100%").attr("stop-color",h).attr("stop-opacity",1)}return e.render(t,s,r,{algorithm:a.algorithm})},"render"),k=(0,h.__name)((t="",{fallback:s="dagre"}={})=>{if(t in m)return t;if(s in m)return n.log.warn(`Layout algorithm ${t} is not registered. Using ${s} as fallback.`),s;throw Error(`Both layout algorithms ${t} and ${s} are not registered.`)},"getRegisteredLayoutAlgorithm");t.s(["getRegisteredLayoutAlgorithm",0,k,"registerLayoutLoaders",0,o,"render",0,u])},110338,t=>{t.v(s=>Promise.all(["static/chunks/2gocl3dq0_h1s.js","static/chunks/2itcfm_igcz5x.js"].map(s=>t.l(s))).then(()=>s(59618)))},4699,t=>{t.v(s=>Promise.all(["static/chunks/01xjer0i_e5z5.js","static/chunks/2itcfm_igcz5x.js"].map(s=>t.l(s))).then(()=>s(595016)))},208503,t=>{t.v(s=>Promise.all(["static/chunks/0vhltcpdssl3-.js","static/chunks/411-m6wb1xycs.js"].map(s=>t.l(s))).then(()=>s(752312)))},342649,t=>{t.v(s=>Promise.all(["static/chunks/3n80kknp-eoi9.js","static/chunks/2qq7e47gpyc_e.js","static/chunks/1g6hadfcoz4ag.js"].map(s=>t.l(s))).then(()=>s(447429)))},555153,t=>{t.v(s=>Promise.all(["static/chunks/16mzcd_gvdgbo.js","static/chunks/3lx-n8v_8u7og.js"].map(s=>t.l(s))).then(()=>s(921789)))},121563,t=>{t.v(s=>Promise.all(["static/chunks/3n80kknp-eoi9.js","static/chunks/2qq7e47gpyc_e.js","static/chunks/221-n1wtpkus8.js"].map(s=>t.l(s))).then(()=>s(52278)))},775281,t=>{t.v(s=>Promise.all(["static/chunks/3n80kknp-eoi9.js","static/chunks/2qq7e47gpyc_e.js","static/chunks/3oif9bymgqjgd.js"].map(s=>t.l(s))).then(()=>s(75306)))},840094,t=>{t.v(s=>Promise.all(["static/chunks/3n80kknp-eoi9.js","static/chunks/2qq7e47gpyc_e.js","static/chunks/3mjwob-a5hhwz.js"].map(s=>t.l(s))).then(()=>s(958133)))},806739,t=>{t.v(s=>Promise.all(["static/chunks/3n80kknp-eoi9.js","static/chunks/2qq7e47gpyc_e.js","static/chunks/266qo7h19xz_m.js"].map(s=>t.l(s))).then(()=>s(486182)))},725135,t=>{t.v(s=>Promise.all(["static/chunks/25pfy8u3vc_bn.js","static/chunks/2qq7e47gpyc_e.js"].map(s=>t.l(s))).then(()=>s(271981)))},257999,t=>{t.v(s=>Promise.all(["static/chunks/1kg8hnvdsweku.js","static/chunks/2qq7e47gpyc_e.js","static/chunks/1kzq0rdlu1v0j.js"].map(s=>t.l(s))).then(()=>s(954776)))},126038,t=>{t.v(s=>Promise.all(["static/chunks/1wrwqqt23_cqy.js"].map(s=>t.l(s))).then(()=>s(868948)))},299022,t=>{t.v(s=>Promise.all(["static/chunks/025bmrgeukcb2.js","static/chunks/2b4v6n9b8htrv.js"].map(s=>t.l(s))).then(()=>s(595502)))},216587,t=>{t.v(s=>Promise.all(["static/chunks/1ztlt8o8gnas8.js","static/chunks/04e-e--5lk26x.js"].map(s=>t.l(s))).then(()=>s(222024)))},405760,t=>{t.v(s=>Promise.all(["static/chunks/3n80kknp-eoi9.js","static/chunks/2qq7e47gpyc_e.js","static/chunks/1rh4z578p-h1a.js"].map(s=>t.l(s))).then(()=>s(896515)))},937084,t=>{t.v(s=>Promise.all(["static/chunks/09nk4rn1z6j8b.js","static/chunks/2qq7e47gpyc_e.js"].map(s=>t.l(s))).then(()=>s(722875)))},223045,t=>{t.v(s=>Promise.all(["static/chunks/0x7n81v2cw92f.js"].map(s=>t.l(s))).then(()=>s(239077)))},104423,t=>{t.v(s=>Promise.all(["static/chunks/0oyz95sujd2c7.js"].map(s=>t.l(s))).then(()=>s(547384)))},847615,t=>{t.v(s=>Promise.all(["static/chunks/3s-zbm7kxc46y.js"].map(s=>t.l(s))).then(()=>s(980953)))},265584,t=>{t.v(s=>Promise.all(["static/chunks/14b2ne-5dycww.js"].map(s=>t.l(s))).then(()=>s(582576)))},121612,t=>{t.v(s=>Promise.all(["static/chunks/1-axl1a1s8xi7.js","static/chunks/2qq7e47gpyc_e.js","static/chunks/1kzq0rdlu1v0j.js"].map(s=>t.l(s))).then(()=>s(724854)))},761201,t=>{t.v(s=>Promise.all(["static/chunks/3n80kknp-eoi9.js","static/chunks/2qq7e47gpyc_e.js","static/chunks/38h4_u_fq6ose.js"].map(s=>t.l(s))).then(()=>s(537834)))},480988,t=>{t.v(s=>Promise.all(["static/chunks/0dhmf6y59xjoo.js"].map(s=>t.l(s))).then(()=>s(713179)))},780947,t=>{t.v(s=>Promise.all(["static/chunks/3r7r2d2yc93-y.js","static/chunks/2qq7e47gpyc_e.js","static/chunks/1kzq0rdlu1v0j.js"].map(s=>t.l(s))).then(()=>s(354077)))},775900,t=>{t.v(s=>Promise.all(["static/chunks/14osgsp3aiqpz.js"].map(s=>t.l(s))).then(()=>s(207851)))},650519,t=>{t.v(s=>Promise.all(["static/chunks/3peltyinql2qj.js"].map(s=>t.l(s))).then(()=>s(621500)))},654159,t=>{t.v(s=>Promise.all(["static/chunks/2o4dndk0d68do.js","static/chunks/1u5i-jti87jbo.js"].map(s=>t.l(s))).then(()=>s(801891)))},483976,t=>{t.v(s=>Promise.all(["static/chunks/0p54qye85am3w.js"].map(s=>t.l(s))).then(()=>s(122015)))},99530,t=>{t.v(s=>Promise.all(["static/chunks/0u9ae9k_2g7k3.js","static/chunks/3lx-n8v_8u7og.js","static/chunks/3her9o9_qn46y.js"].map(s=>t.l(s))).then(()=>s(757018)))},633604,t=>{t.v(s=>Promise.all(["static/chunks/2sdwbfs1x5skp.js","static/chunks/3her9o9_qn46y.js"].map(s=>t.l(s))).then(()=>s(196572)))},12782,t=>{t.v(s=>Promise.all(["static/chunks/0_l0vn2teso0z.js"].map(s=>t.l(s))).then(()=>s(619325)))},868278,t=>{t.v(s=>Promise.all(["static/chunks/2m267diam_vib.js","static/chunks/2b4v6n9b8htrv.js"].map(s=>t.l(s))).then(()=>s(557786)))},9691,t=>{t.v(s=>Promise.all(["static/chunks/2udhdtq_z8488.js"].map(s=>t.l(s))).then(()=>s(254768)))},539575,t=>{t.v(s=>Promise.all(["static/chunks/0si45yj1su8y7.js"].map(s=>t.l(s))).then(()=>s(263487)))},85919,t=>{t.v(s=>Promise.all(["static/chunks/3n80kknp-eoi9.js","static/chunks/2qq7e47gpyc_e.js","static/chunks/02slxciv9jt1p.js"].map(s=>t.l(s))).then(()=>s(353883)))},437446,t=>{t.v(s=>Promise.all(["static/chunks/2v_t22-0u_seu.js","static/chunks/0m-pl93u72hp9.js"].map(s=>t.l(s))).then(()=>s(819125)))},514467,t=>{t.v(s=>Promise.all(["static/chunks/1zlldlu99uorc.js"].map(s=>t.l(s))).then(()=>s(477142)))},369582,t=>{t.v(s=>Promise.all(["static/chunks/2hugas7n-e13p.js"].map(s=>t.l(s))).then(()=>s(976823)))},558850,t=>{t.v(s=>Promise.all(["static/chunks/41s9cnvp51p5u.js"].map(s=>t.l(s))).then(()=>s(335871)))}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,633669,e=>{"use strict";var t=e.i(843476),r=e.i(818125),a=e.i(647163);e.s(["SourceChips",0,function({sources:e,limit:n,className:i}){let s=e.flatMap(e=>{let t=(0,a.hostOf)(e.url);return t?[{...e,host:t}]:[]}),l=n?s.slice(0,n):s,o=s.length-l.length;return(0,t.jsxs)("span",{className:(0,a.cn)("flex min-w-0 flex-wrap items-center gap-1",i),children:[l.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)(r.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]})]})}])},41533,e=>{"use strict";var t=e.i(247167);t.default.env.THURSDAY_APP_DIR?.trim()||t.default.cwd(),t.default.env.THURSDAY_HOME?.trim()||t.default.cwd(),t.default.env.THURSDAY_URL?.trim()||t.default.env.PORT?.trim();let r=".ai-workspace",a={workspace:r,artifacts:"artifacts",projects:"projects",scratch:"scratch",bots:"bots",output:".output",signIns:".sign-ins",skills:{default:"skills",custom:`${r}/.agents/skills`,own:".agents/skills",runtime:"runtime",seeds:"seed-skills"}};e.s(["APP_NAME",0,"Thursday","ARTIFACT_SKILL",0,"artifact","ARTIFACT_VIEW",0,{rows:200,setFiles:120},"ASCII_FACE",0,{charset:"emojiOnly",fontSize:8,density:1.4,fps:30},"BOT_ROSTER",0,{max:14},"BOT_RUN",0,{steps:100,compactAt:5e5,compactHeadroom:.8,summaryWords:{min:600,max:3e3,perTokens:200},participants:12,concurrent:4,turns:120,queuedMessages:200,silenceMs:3e5,overflowShrink:.6,retryMs:1e4,compactFiles:40},"CALL_BACK",0,{ringMs:3e4},"CALL_END",0,{quietMs:600,unsaidMs:2e3,maxMs:8e3},"CALL_ENDED_MS",0,12e3,"CALL_HISTORY_PAGE",0,10,"CALL_IDLE",0,{hangUpMs:4e4,warnMs:1e4},"CALL_LINE",0,{dwellMs:2e3,lingerMs:2500,relayLingerMs:5e3,thinkingTailMs:6e3},"CALL_PAGE",0,{scrollback:24,saveFailures:3},"CALL_RELAY",0,{quietMs:2e3,perTurn:3,readMs:15e3,chars:600},"CHATGPT_SIGN_IN",0,{waitMs:6e5,renewBeforeMs:3e5},"COMMON_VALIDATE",0,{name:{max:16},shortDescription:{max:60},description:{max:100},prompt:{max:4e3}},"FILE_THUMB",0,{pageWidth:1024,textWidth:512,textBytes:4096,pages:2,imageWidth:384,cacheSeconds:300},"FINISHED_NOTICE",0,{rows:5,shown:1,words:240},"GIVEN_FILES",0,{dir:"inbox",maxBytes:0x1900000,perMessage:8},"INBOX_POLL_MS",0,3e4,"IS_DEV",0,!1,"KEY_MIN",0,8,"LIVE_CALL",0,{startupMs:3e4,closeMs:15e3,transcriptGapMs:1500,transcriptSaveMs:500,appendMs:15e3,backendOutputTokens:4096,reasoningCheckMs:5e3,keyCheckMs:5e3},"MARKETING_SKILL",0,"marketing","MAX_PINNED_TOOLS",0,10,"MEMORY_LIMITS",0,{facts:400,factsPerNote:50,descriptionChars:100},"PAGE_SIZE",0,50,"PATHS",0,a,"PROMPT_CROWDED",0,{bots:10,skills:20},"ROUTINE",0,{tickMs:3e4,max:12,minHours:1,runsShown:5},"SKILL_FILES",0,{uploadBytes:0x1400000,inlineBytes:524288,unpackedBytes:0x6400000,archiveEntries:1e3},"STUDIO_SERVER",0,"studio","TEXT_CALL",0,{maxSteps:12,model:"text",autoTurns:10},"TRAVEL_SKILL",0,"travel","WAKE_TOLERANCE",0,.34,"WORKSPACE_VIEW",0,{rows:200,textMax:524288,autoCloseMs:5e3,elementMax:0x3200000}])},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",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),r=e.i(456420);let a={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"}]]};a.node;let n=(0,r.default)(a);var i=e.i(657688),s=e.i(271645),l=e.i(798120),o=e.i(41533),d=e.i(83928),c=e.i(621285),u=e.i(616172),h=e.i(283653),f=e.i(647163);let g=e=>e.split(".").pop()?.toLowerCase()??"file",p=e=>e.split("/").pop()??e;e.s(["Attachments",0,function({text:e,className:r,onBubble:a=!1}){let m=(0,s.useMemo)(()=>(0,u.pathsIn)(e),[e]),{data:x}=(0,h.useServerRoute)(m.length?l.queryKey.workspaceFiles(m):null),y=(0,s.useMemo)(()=>x??[],[x]),k=(0,s.useMemo)(()=>y.filter(e=>"image"===(0,u.viewKindOf)(e.path)),[y]),w=(0,s.useMemo)(()=>{let e=0;return y.filter(t=>{let r=(0,d.faceOf)(t.path,t.bytes);return"text"===r||"page"===r&&(e+=1)<=o.FILE_THUMB.pages})},[y]),v=y.filter(e=>!k.includes(e)&&!w.includes(e)),_=new Set(y.map(e=>p(e.path))),b=m.filter(e=>!y.some(t=>t.path===e)&&!_.has(p(e)));if(!m.length||!x||!y.length&&!b.length)return null;let M=k.map(e=>e.path),E=k.slice(0,4),O=k.length-E.length,S=k.length+w.length<=2,N=S?"h-40 w-32":"h-26.25 w-21";return(0,t.jsxs)("div",{className:(0,f.cn)("flex min-w-0 flex-col gap-1.5",r),children:[(E.length>0||w.length>0)&&(0,t.jsxs)("div",{className:"flex flex-wrap items-start gap-1.5",children:[w.map(e=>(0,t.jsxs)(c.FileLink,{path:e.path,title:`${e.path} — ${(0,f.formatBytes)(e.bytes)}`,className:(0,f.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,f.cn)("w-full rounded-xl ring-1 ring-foreground/5 ring-inset",N)}),(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:p(e.path)}),(0,t.jsxs)("span",{className:"font-mono text-[10px] leading-3.5 text-muted-foreground",children:[g(e.path)," · ",(0,f.formatBytes)(e.bytes)]})]})]},e.path)),E.map((e,r)=>(0,t.jsxs)(c.FileLink,{path:e.path,group:M,title:`${e.path} — ${(0,f.formatBytes)(e.bytes)}`,className:(0,f.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",N),children:[(0,t.jsx)(i.default,{src:l.queryKey.file(e.path),alt:p(e.path),fill:!0,sizes:`${o.FILE_THUMB.imageWidth}px`,loading:"lazy",decoding:"async",className:"object-cover"}),O>0&&r===E.length-1&&(0,t.jsxs)("span",{className:"absolute inset-0 grid place-items-center bg-black/45 text-[14px] font-medium text-white",children:["+",O]})]},e.path))]}),v.map(e=>{let r=(0,d.fileIcon)(e.path);return(0,t.jsxs)(c.FileLink,{path:e.path,title:e.path,className:(0,f.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",a?"bg-background/70 hover:bg-background":"bg-muted/70 hover:bg-muted"),children:[(0,t.jsx)("span",{className:(0,f.cn)("grid size-8 shrink-0 place-items-center rounded-lg text-muted-foreground",a?"bg-muted":"bg-background"),children:(0,t.jsx)(r,{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:p(e.path)}),(0,t.jsxs)("span",{className:"font-mono text-[10px] leading-3.5 text-muted-foreground",children:[g(e.path)," · ",(0,f.formatBytes)(e.bytes)]})]})]},e.path)}),b.length>0&&(0,t.jsx)("div",{className:"flex flex-wrap gap-1.5",children:b.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)(n,{className:"size-3 shrink-0"}),(0,t.jsx)("span",{className:"truncate line-through",children:p(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 r=t.trim();if(!r.includes("/"))return e;let[a]=(0,u.pathsIn)(r),n=a?.split("/").pop();return a&&n&&r.endsWith(n)?`\`${n}\``:e})).join("")}],807038)},222055,991322,852116,589128,e=>{"use strict";var t=e.i(843476),r=e.i(422411),a=e.i(518515),n=e.i(525335),i=e.i(689664),s=e.i(716327),l=e.i(482022),o=e.i(772382),d=e.i(60744),c=e.i(226091),u=e.i(91511),h=e.i(341123),f=e.i(815170),g=e.i(758925),p=e.i(218964),m=e.i(632781),x=e.i(468590),y=e.i(928310),k=e.i(609374),w=e.i(730274),v=e.i(604139),_=e.i(438583),b=e.i(747925),M=e.i(657688),E=e.i(271645),O=e.i(798120),S=e.i(660302),N=e.i(818125),L=e.i(671428),T=e.i(633669),j=e.i(41533),A=e.i(213377),I=e.i(807038),R=e.i(456420);let C={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"}]]};C.node;let z=(0,R.default)(C);e.s(["McpMark",0,z],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 B=(0,R.default)(F);e.s(["MemoryMark",0,B],852116);var D=e.i(431594);let H=e.i(856539).BookMarked;e.s(["SkillsMark",0,H],589128);var $=e.i(83928),P=e.i(621285),W=e.i(283653),V=e.i(647163);let U={[A.TOOL_NAMES.web_search]:function({tool:e,threadId:r,collapsed:a}){let n=Q(e),i=n.length?[]:eh(e.results);return(0,t.jsxs)(es,{tool:e,threadId:r,collapsed:a,children:[(0,t.jsxs)("p",{className:"px-3 pt-1 pb-1.5 text-[13px] leading-snug break-keep wrap-anywhere",children:["“",e.input,"”"]}),n.length>0&&(0,t.jsx)(T.SourceChips,{sources:n,className:"px-3 pb-2"}),i.length>0&&(0,t.jsx)("ol",{className:"space-y-0.5 px-3 pb-2",children:i.map((e,r)=>(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})]},`${r}-${e}`))})]})},[A.TOOL_NAMES.bash]:function({tool:e,threadId:r,collapsed:a}){let n=eh(e.results);return(0,t.jsx)(es,{tool:e,threadId:r,collapsed:a,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,n.length>0&&(0,t.jsx)("span",{className:"block text-muted-foreground",children:n.join("\n")})]})})},[A.TOOL_NAMES.write_file]:function({tool:e,threadId:r,collapsed:a}){let n=e.path??e.input;return(0,t.jsxs)(es,{tool:e,threadId:r,collapsed:a,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)(P.FileLink,{path:n,label:`Open ${n}`,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)(l.ExternalLink,{className:"size-3"}),"Open"]})]}),(0,t.jsx)(eu,{lines:eh(e.results),mono:!0})]})}},K=Object.values(A.STUDIO_TOOLS);function q(e){if(e.name!==A.TOOL_NAMES.tool_call)return null;let[t,r,...a]=e.input.split(" ");if(t!==j.STUDIO_SERVER)return null;let n=K.find(e=>e===r);return n?{name:n,words:a.join(" ")}:null}let G={[A.STUDIO_TOOLS.generate_image]:f.Image,[A.STUDIO_TOOLS.generate_video]:_.Video,[A.STUDIO_TOOLS.generate_speech]:r.AudioLines,[A.STUDIO_TOOLS.transcribe]:n.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]:B,[A.TOOL_NAMES.memory_create]:B,[A.TOOL_NAMES.memory_remember]:B,[A.TOOL_NAMES.memory_describe]:B,[A.TOOL_NAMES.memory_forget]:B,[A.TOOL_NAMES.load_skill]:H,[A.TOOL_NAMES.tool_search]:z,[A.TOOL_NAMES.tool_call]:z,[A.TOOL_NAMES.thread_start]:w.Send,[A.TOOL_NAMES.thread_tell]:w.Send,[A.TOOL_NAMES.thread_answer]:w.Send,[A.TOOL_NAMES.thread_status]:p.ListChecks,[A.TOOL_NAMES.thread_cancel]:p.ListChecks,[A.TOOL_NAMES.thread_show]:p.ListChecks,[A.TOOL_NAMES.thread_seen]:p.ListChecks,[A.TOOL_NAMES.send_message]:x.MessageSquare,[A.TOOL_NAMES.look_at]:o.Eye,[A.TOOL_NAMES.make_deck]:k.Presentation,[A.TOOL_NAMES.describe_self]:h.IdCard,[A.TOOL_NAMES.sign_in_use]:g.KeyRound,[A.TOOL_NAMES.sign_in_keep]:g.KeyRound,[A.TOOL_NAMES.end_call]:y.PhoneOff,[A.TOOL_NAMES.routine]:D.RoutineMark},X=e=>Y[e]??b.Wrench,J=new Set(["cat","sed","head","tail","grep","rg","ls","find","wc","awk","jq"]),Z=e=>e.split("/").pop()??e;function Q(e){return eh(e.results).flatMap(e=>{let t=/https?:\/\/\S+/.exec(e)?.[0];if(!t)return[];let r=e.slice(0,e.indexOf(t)).replace(/[\s—-]+$/,"");return[{url:t,...r?{title:r}:{}}]})}function ee(e){return(0,I.imagePathsIn)([e.path??"",e.input,...eh(e.results)].join("\n"))}function et(e){let t=ee(e)[0],r=q(e);if(r)return{icon:G[r.name]??b.Wrench,image:t,makes:r.name===A.STUDIO_TOOLS.generate_image};if(e.name===A.TOOL_NAMES.web_search)return{icon:u.Globe,pages:Q(e)};if(e.name===A.TOOL_NAMES.write_file)return{icon:d.FilePen,image:t,target:Z(e.path??e.input)};if(e.name!==A.TOOL_NAMES.bash)return{icon:X(e.name),image:t};let n=e.input.replace(/^\s*cd\s+\S+\s*&&\s*/,"").trim(),[i=""]=n.split(/\s+/),s=/(?:^|[\s;&|(])playwright-cli((?:\s+-\S+)*)\s+([a-z-]+)/.exec(n);if(s){if("screenshot"===s[2])return{icon:a.Camera,image:t};let e=/https?:\/\/[^\s'"]+/.exec(n)?.[0];return{icon:u.Globe,host:e&&(0,V.hostOf)(e)||void 0,image:t}}return J.has(i)?{icon:c.FileText,image:t,target:e.path?Z(e.path):void 0}:{icon:v.Terminal,image:t,target:i||void 0}}function er({face:e}){if(e.pages?.length){let r=[...new Set(e.pages.flatMap(e=>(0,V.hostOf)(e.url)??[]))].slice(0,3);return(0,t.jsx)("span",{className:"flex shrink-0 items-center gap-1",children:r.map(e=>(0,t.jsx)(N.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)(N.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 ea="size-36 rounded-xl";function en({tool:e,threadId:r,collapsed:a}){let n=q(e),[i]=ee(e),s=void 0===e.results&&n?.name===A.STUDIO_TOOLS.generate_image;return(0,t.jsxs)(es,{tool:e,threadId:r,collapsed:a,children:[n?.words&&(0,t.jsxs)("p",{className:"px-3 pt-1 pb-1.5 text-[13px] leading-snug break-keep wrap-anywhere",children:["“",n.words,"”"]}),i?(0,t.jsx)(P.FileLink,{path:i,title:i,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)($.FileThumb,{path:i,className:ea})}):s?(0,t.jsx)(L.Skeleton,{className:(0,V.cn)("mx-3 mb-1.5",ea)}):(0,t.jsx)(eu,{lines:eh(e.results)})]})}function ei({tool:e,threadId:r,collapsed:a}){return(0,t.jsxs)(es,{tool:e,threadId:r,collapsed:a,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)(eu,{lines:eh(e.results)})]})}function es({tool:e,threadId:r,collapsed:a=!1,children:n}){let l=void 0===e.results,o=et(e),d=o.icon,[c,u]=(0,E.useState)(!a),h=c||l,f=r&&e.callId&&((e.results?.length??0)>0||e.more);return(0,t.jsxs)("div",{className:(0,V.cn)("@container w-full overflow-hidden rounded-xl transition-colors",h?"bg-background/80 dark:bg-white/4":"hover:bg-foreground/4"),children:[(0,t.jsxs)("button",{type:"button",onClick:()=>u(e=>!e),"aria-expanded":h,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:l?(0,t.jsx)(m.Loader2,{className:"size-3 animate-spin"}):(0,t.jsx)(d,{className:"size-3"})}),e.note?(0,t.jsxs)(t.Fragment,{children:[l?(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/85 @lg:block",children:e.input})]}):l?(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)(el,{paths:ee(e),waiting:l&&o.makes}),(0,t.jsx)(er,{face:o}),!l&&(0,t.jsx)(i.Check,{className:"size-3 shrink-0 text-muted-foreground/50"}),(0,t.jsx)(s.ChevronDown,{className:(0,V.cn)("size-3 shrink-0 text-muted-foreground/50 transition-transform",h&&"rotate-180")})]}),h&&(0,t.jsxs)("div",{className:"pb-1.5 pl-[1.625rem]",children:[n,f&&(0,t.jsx)(ed,{threadId:r,callId:e.callId})]})]})}function el({paths:e,waiting:r}){let[a,n]=(0,E.useState)([]),i=e.filter(e=>!a.includes(e)).slice(0,eo);return i.length?(0,t.jsx)("span",{className:"flex shrink-0 items-center",children:i.map((e,r)=>(0,t.jsx)(M.default,{src:O.queryKey.file(e),alt:"",width:48,height:48,loading:"lazy",decoding:"async",onError:()=>n(t=>[...t,e]),className:(0,V.cn)("size-6 rounded-md bg-muted object-cover ring-2 ring-background",r>0&&"-ml-1.5")},e))}):r?(0,t.jsx)(L.Skeleton,{className:"size-6 shrink-0 rounded-md"}):null}let eo=3;function ed({threadId:e,callId:r}){let[a,n]=(0,E.useState)(!1),{data:i,isLoading:l}=(0,W.useServerRoute)(a?O.queryKey.toolResult(e,r):null);return(0,t.jsxs)("div",{className:"px-3 pb-1",children:[(0,t.jsxs)("button",{type:"button",onClick:()=>n(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,V.cn)("size-3",a&&"rotate-180")}),a?"Less":"Everything"]}),a&&(l||!i?(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:[ef(i).map((e,r)=>(0,t.jsx)(ec,{src:e},`${r}-${e.length}`)),eh(i).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:eh(i).join("\n")})]}))]})}function ec({src:e}){let[r,a]=(0,E.useState)(!1);return r?null:(0,t.jsx)("img",{src:e,alt:"",onError:()=>a(!0),className:"block w-full rounded-lg bg-muted object-contain"})}function eu({lines:e,mono:r}){return 0===e.length?null:(0,t.jsx)("ul",{className:"px-3 pb-1.5",children:e.map((e,a)=>(0,t.jsx)("li",{className:(0,V.cn)("truncate text-[11px] leading-relaxed text-muted-foreground",r&&"font-mono"),children:e},`${a}-${e}`))})}let eh=e=>e?.flatMap(e=>"text"===e.type?[e.text]:[])??[],ef=e=>e?.flatMap(e=>"image"===e.type?[e.src]:[])??[];e.s(["BotTool",0,function(e){let r=q(e.tool)?en:U[e.tool.name]??ei;return(0,t.jsx)(r,{...e})},"StepTile",0,function({tool:e,onOpen:r}){let a=et(e),[n,i]=(0,E.useState)(!1),s=a.icon;return(0,t.jsx)("button",{type:"button",onClick:r,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:a.image&&!n?(0,t.jsx)(M.default,{src:O.queryKey.file(a.image),alt:"",width:48,height:48,loading:"lazy",decoding:"async",onError:()=>i(!0),className:"size-full object-cover"}):a.host?(0,t.jsx)(N.SiteIcon,{host:a.host,className:"size-3.5 rounded-full",fallback:(0,t.jsx)(s,{className:"size-3"})}):(0,t.jsx)(s,{className:"size-3"})})},"toolIcon",0,X],222055)},256604,567334,e=>{"use strict";var t=e.i(843476),r=e.i(271645),a=e.i(41533);let n=[[" "],[" ",".","`"],[".",",","·","'"],[":",";","-","^"],["=","+","~",'"'],["*","?","◦","j"],["c","v","○","7"],["o","x","◇","い"],["s","y","t","あ"],["e","a","u","な"],["k","w","z","や"],["q","h","n","米"]],i=["🍎","🌹","🍓","❤️","🎈","🧨","🔴","🍊","🔥","🦊","🏀","🧡","🍑","⭐","🍋","🌻","💛","🐥","🌟","🍌","🍀","🌿","🐸","🥝","💚","🌵","🥑","💧","🌊","🫐","🐳","💙","🔵","🧊","🍇","💜","🔮","🟣","🪻","🍆","🌸","🌷","💗","🦩","🩷","🍫","🐻","🌰","🥐","🤍","☁️","🖤","⚪","⚫","🦢","🌈","🦜","🎨","🪩","🦄","✨","🍬","🎡"];function s(e,t){return d(.05,.42,e/t)}let l={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 o(e,t){let r=43758.5453*Math.sin(127.1*e+311.7*t);return r-Math.floor(r)}function d(e,t,r){let a=Math.min(1,Math.max(0,(r-e)/(t-e)));return a*a*(3-2*a)}Object.keys(l).filter(e=>!/^[A-Z0-9 ]$/.test(e)),e.s(["ALPHA_TOP",0,.82,"CHAR_RATE",0,2.2,"EMOJI_CHAR_RATE",0,.6,"EMOJI_MIN_LEVEL",0,6,"EMOJI_POOL",0,i,"EMOJI_RATIO",0,.11,"FACE_WORD_MAX",0,8,"LETTERS",0,l,"RAMP",0,n,"emojiAlpha",0,function(e,t,r){return r?.06+.94*s(e,t):.35+e/t*.65},"emojiWeight",0,s,"hash",0,o,"smoothstep",0,d,"undrawable",0,function(e){return Array.from(e.toUpperCase()).find(e=>!(e in l))??null}],567334);let c=240/276,u=a.ASCII_FACE.charset,h=new Map,f=new Set,g=null;e.s(["THURSDAY_SEED",0,"thursday","ThursdayMark",0,function({size:e=16,className:a}){let s="ascii"!==u,{cells:l,font:d}=function(e){let t=h.get(e);if(t)return t;let r=e*c,a=(e-r)/2,n=Math.max(2,Math.round(r/4)),i=r/n,s=.98*i,l=[];for(let e=0;e<n;e++)for(let t=0;t<n;t++){let d=3===n&&1!==e&&1!==t?.72:1,c=r/2+i*(t+.5-n/2)*d,u=r/2+i*(e+.5-n/2)*d,h=Math.hypot(c-r/2,u-r/2)/(r/2),f=977*n+e*n+t;!(h+(n>=5?(o(f,1)-.5)*.24:0)>.98)&&(n>=8&&o(f,2)<.02+.24*h**3||l.push({seed:f,x:a+c,y:a+u+.36*s,r:h}))}let d={cells:l,font:s};return h.set(e,d),d}(e),[p,m]=(0,r.useState)(0);return(0,r.useEffect)(()=>{if(!window.matchMedia("(prefers-reduced-motion: reduce)").matches){if(f.add(m),!g){let e=Date.now();g=setInterval(()=>{let t=Date.now()-e;for(let e of f)e(t)},155)}return()=>{f.delete(m),0===f.size&&g&&(clearInterval(g),g=null)}}},[]),(0,t.jsx)("svg",{viewBox:`0 0 ${e} ${e}`,width:e,height:e,className:a,fill:"currentColor","aria-hidden":!0,children:l.map(e=>(0,t.jsx)("text",{x:e.x,y:e.y,textAnchor:"middle",fontFamily:s?'"Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif':"ui-monospace, SFMono-Regular, Menlo, monospace",fontWeight:s?void 0:700,fontSize:d,children:function(e,t,r){let a=Math.floor((t+620*o(e.seed,11)*3)/620);if(r){let t=Math.floor(o(e.seed,17)*i.length);return i[(t+9*a)%i.length]}let s=Math.round(5+4*Math.max(0,1-e.r**2)**.6),l=n[Math.min(n.length-1,s)];return l[Math.floor(o(e.seed,a)*l.length)]??" "}(e,p,s)},e.seed))})}],256604)},83928,e=>{"use strict";var t=e.i(843476),r=e.i(829600),a=e.i(989360),n=e.i(575780),i=e.i(905015),s=e.i(693819),l=e.i(226091),o=e.i(227148),d=e.i(941464),c=e.i(51921),u=e.i(609374),h=e.i(657688),f=e.i(271645),g=e.i(798120),p=e.i(683408),m=e.i(41533),x=e.i(616172),y=e.i(647163);let k={markdown:l.FileText,csv:s.FileSpreadsheet,json:i.FileJson,text:o.FileType,image:n.FileImage,audio:c.Music,video:d.FileVideo},w={pdf:l.FileText,html:a.FileCode,htm:a.FileCode,docx:o.FileType,xlsx:s.FileSpreadsheet,pptx:u.Presentation};function v(e){return w[(0,x.extensionOf)(e)]??k[(0,x.viewKindOf)(e)]??r.File}let _=new Set(["markdown","text","csv","json"]);function b(e,t){let r=(0,x.viewKindOf)(e);return void 0!==t&&t>m.WORKSPACE_VIEW.elementMax?"glyph":"image"===r?"image":"frame"===r&&/\.html?$/i.test(e)?"page":_.has(r)?"text":"glyph"}function M({width:e,className:r,children:a}){let n=(0,f.useRef)(null),[i,s]=(0,f.useState)(null);(0,f.useLayoutEffect)(()=>{let e=n.current;if(!e)return;let t=()=>s({w:e.clientWidth,h:e.clientHeight});t();let r=new ResizeObserver(t);return r.observe(e),()=>r.disconnect()},[]);let l=i?i.w/e:0;return(0,t.jsx)("span",{ref:n,"aria-hidden":!0,className:(0,y.cn)("relative block overflow-hidden",r),children:l>0&&i&&(0,t.jsx)("span",{className:"absolute top-0 left-0 block origin-top-left",style:{width:e,transform:`scale(${l})`},children:a(Math.ceil(i.h/l))})})}function E({path:e,onMissing:r}){let[a,n]=(0,f.useState)(null);return((0,f.useEffect)(()=>{let t=new AbortController;return fetch(g.queryKey.file(e),{headers:{range:`bytes=0-${m.FILE_THUMB.textBytes-1}`},signal:t.signal}).then(e=>e.ok?e.text():Promise.reject()).then(e=>n(e.replace(/\uFFFD+$/,""))).catch(()=>{t.signal.aborted||r()}),()=>t.abort()},[e,r]),null===a)?null:"markdown"===(0,x.viewKindOf)(e)?(0,t.jsx)("div",{className:"pointer-events-none px-9 py-8 text-[15px] text-foreground",children:(0,t.jsx)(p.Markdown,{controls:!1,components:{a:"span"},children:a})}):(0,t.jsx)("pre",{className:"pointer-events-none px-7 py-6 font-mono text-[13px] leading-relaxed whitespace-pre-wrap text-foreground",children:a})}e.s(["FileThumb",0,function({path:e,bytes:r,glyph:a="size-4",className:n}){let[i,s]=(0,f.useState)(!1),l=(0,f.useCallback)(()=>s(!0),[]),o=i?"glyph":b(e,r);if("image"===o)return(0,t.jsx)("span",{className:(0,y.cn)("relative block overflow-hidden bg-muted",n),children:(0,t.jsx)(h.default,{src:g.queryKey.file(e),alt:"",fill:!0,sizes:`${m.FILE_THUMB.imageWidth}px`,loading:"lazy",decoding:"async",onError:()=>s(!0),className:"object-cover dark:brightness-[0.82]"})});if("page"===o)return(0,t.jsx)(M,{width:m.FILE_THUMB.pageWidth,className:(0,y.cn)("bg-white dark:brightness-[0.82]",n),children:r=>(0,t.jsx)("iframe",{title:"",src:g.queryKey.fileFace(e),sandbox:"allow-scripts",loading:"lazy",tabIndex:-1,"aria-hidden":!0,scrolling:"no",style:{width:m.FILE_THUMB.pageWidth,height:r},className:"pointer-events-none block border-0 bg-white"})});if("text"===o)return(0,t.jsx)(M,{width:m.FILE_THUMB.textWidth,className:(0,y.cn)("bg-background dark:brightness-[0.82]",n),children:()=>(0,t.jsx)(E,{path:e,onMissing:l})});let d=v(e);return(0,t.jsx)("span",{className:(0,y.cn)("grid place-items-center bg-muted text-muted-foreground",n),children:(0,t.jsx)(d,{className:a})})},"faceOf",0,b,"fileIcon",0,v])},260891,e=>{"use strict";e.i(247167);var t=e.i(271645),r=e.i(708445),a=e.i(146376),n=e.i(108868),i=e.i(667865),s=e.i(446265),l=e.i(328744),o=e.i(229315),d=e.i(675606),c=e.i(56434),u=e.i(46420),h=e.i(621082),f=e.i(449055),g=e.i(584446),p=e.i(596296),m=e.i(503596),x=e.i(157940);function y(e){return l.platform.engine.webkit&&0===e.movementX&&0===e.movementY}function k(e,t,r){switch(e){case"vertical":return t;case"horizontal":return r;default:return t||r}}function w(e,t){return k(t,e===f.ARROW_UP||e===f.ARROW_DOWN,e===f.ARROW_LEFT||e===f.ARROW_RIGHT)}function v(e,t,r){return k(t,e===f.ARROW_DOWN,r?e===f.ARROW_LEFT:e===f.ARROW_RIGHT)||"Enter"===e||" "===e||""===e}e.s(["useListNavigation",0,function(e,l){let{listRef:_,activeIndex:b,onNavigate:M=()=>{},enabled:E=!0,selectedIndex:O=null,allowEscape:S=!1,loopFocus:N=!1,nested:L=!1,rtl:T=!1,virtual:j=!1,focusItemOnOpen:A="auto",focusItemOnHover:I=!0,openOnArrowKeyDown:R=!0,disabledIndices:C,orientation:z="vertical",parentOrientation:F,id:B,resetOnPointerLeave:D=!0,externalTree:H,grid:$}=l,P=null!=$,W="rootStore"in e?e.rootStore:e,V=W.useState("open"),U=W.useState("floatingElement"),K=W.useState("domReferenceElement"),q=W.context.dataRef,G=(0,p.getFloatingFocusElement)(U),Y=(0,p.isTypeableCombobox)(K),X=(0,s.useValueAsRef)(G),J=(0,u.useFloatingParentNodeId)(),Z=(0,u.useFloatingTree)(H),Q=t.useRef(A),ee=t.useRef(O??-1),et=t.useRef(null),er=t.useRef(!0),ea=(0,i.useStableCallback)(e=>{M(-1===ee.current?null:ee.current,e)}),en=t.useRef(!!U),ei=t.useRef(V),es=t.useRef(!1),el=t.useRef(!1),eo=t.useRef(null),ed=(0,s.useValueAsRef)(C),ec=(0,s.useValueAsRef)(V),eu=(0,s.useValueAsRef)(O),eh=(0,s.useValueAsRef)(D),ef=(0,r.useAnimationFrame)(),eg=(0,r.useAnimationFrame)(),ep=(0,i.useStableCallback)(()=>{function e(e){j?Z?.events.emit("virtualfocus",e):eo.current=(0,m.enqueueFocus)(e,{sync:es.current,preventScroll:!0})}let t=_.current[ee.current],r=el.current;t&&e(t),(es.current?e=>e():e=>ef.request(e))(()=>{let a=_.current[ee.current]||t;!a||(t||e(a),ev&&(r||!er.current)&&a.scrollIntoView?.({block:"nearest",inline:"nearest"}))})});(0,a.useIsoLayoutEffect)(()=>{q.current.orientation=z},[q,z]),(0,a.useIsoLayoutEffect)(()=>{E&&(V&&U?(ee.current=O??-1,Q.current&&null!=O&&(el.current=!0,ea())):en.current&&(ee.current=-1,ea()))},[E,V,U,O,ea]),(0,a.useIsoLayoutEffect)(()=>{if(E){if(!V){es.current=!1;return}if(U)if(null==b){if(es.current=!1,null!=eu.current)return;if(en.current&&(ee.current=-1,ep()),(!ei.current||!en.current)&&Q.current&&(null!=et.current||!0===Q.current&&null==et.current)){let e=0,t=()=>{null==_.current[0]?(e<2&&(e?e=>eg.request(e):queueMicrotask)(t),e+=1):(ee.current=null==et.current||v(et.current,z,T)||L?(0,h.getMinListIndex)(_):(0,h.getMaxListIndex)(_),et.current=null,ea())};t()}}else(0,h.isIndexOutOfListBounds)(_.current,b)||(ee.current=b,ep(),el.current=!1)}},[E,V,U,b,eu,L,_,z,T,ea,ep,eg]),(0,a.useIsoLayoutEffect)(()=>{if(!E||U||!Z||j||!en.current)return;let e=Z.nodesRef.current,t=e.find(e=>e.id===J)?.context?.elements.floating,r=(0,g.activeElement)((0,n.ownerDocument)(K??t??null)),a=e.some(e=>e.context&&(0,g.contains)(e.context.elements.floating,r));t&&!a&&er.current&&t.focus({preventScroll:!0})},[E,U,K,Z,J,j]),(0,a.useIsoLayoutEffect)(()=>{ei.current=V,en.current=!!U}),(0,a.useIsoLayoutEffect)(()=>{V||(et.current=null,Q.current=A)},[V,A]);let em=null!=b,ex=(0,i.useStableCallback)(e=>{if(!ec.current)return;let t=_.current.indexOf(e.currentTarget);-1!==t&&(ee.current!==t||b!==t)&&(ee.current=t,ea(e))}),ey=(0,i.useStableCallback)(()=>F??Z?.nodesRef.current.find(e=>e.id===J)?.context?.dataRef?.current.orientation),ek=(0,i.useStableCallback)(()=>(0,h.getMinListIndex)(_,ed.current)),ew=(0,i.useStableCallback)(e=>{var t;let r,a;if(er.current=!1,es.current=!0,229===e.which||!ec.current&&e.currentTarget===X.current)return;if(L&&(t=e.key,r=T?t===f.ARROW_RIGHT:t===f.ARROW_LEFT,a=t===f.ARROW_UP,"both"===z||"horizontal"===z&&P?"Escape"===t:k(z,r,a))){w(e.key,ey())||(0,x.stopEvent)(e),W.setOpen(!1,(0,d.createChangeEventDetails)(c.REASONS.listNavigation,e.nativeEvent)),(0,o.isHTMLElement)(K)&&(j?Z?.events.emit("virtualfocus",K):K.focus());return}let n=ee.current,i=(0,h.getMinListIndex)(_,C),s=(0,h.getMaxListIndex)(_,C);if(Y||("Home"===e.key&&((0,x.stopEvent)(e),ee.current=i,ea(e)),"End"===e.key&&((0,x.stopEvent)(e),ee.current=s,ea(e))),null!=$){let t=$(e,ee.current,_,z,N,T,C,i,s);if(null!=t&&(ee.current=t,ea(e)),"both"===z)return}if(w(e.key,z)){if((0,x.stopEvent)(e),V&&!j&&(0,g.activeElement)(e.currentTarget.ownerDocument)===e.currentTarget){ee.current=v(e.key,z,T)?i:s,ea(e);return}v(e.key,z,T)?N?n>=s?S&&n!==_.current.length?ee.current=-1:(es.current=!1,ee.current=i):ee.current=(0,h.findNonDisabledListIndex)(_.current,{startingIndex:n,disabledIndices:C}):ee.current=Math.min(s,(0,h.findNonDisabledListIndex)(_.current,{startingIndex:n,disabledIndices:C})):N?n<=i?S&&-1!==n?ee.current=_.current.length:(es.current=!1,ee.current=s):ee.current=(0,h.findNonDisabledListIndex)(_.current,{startingIndex:n,decrement:!0,disabledIndices:C}):ee.current=Math.max(i,(0,h.findNonDisabledListIndex)(_.current,{startingIndex:n,decrement:!0,disabledIndices:C})),(0,h.isIndexOutOfListBounds)(_.current,ee.current)&&(ee.current=-1),ea(e)}}),ev=t.useMemo(()=>({onFocus(e){es.current=!0,ex(e)},onClick:({currentTarget:e})=>e.focus({preventScroll:!0}),onMouseMove(e){!y(e)&&(es.current=!0,el.current=!1,I&&ex(e))},onPointerLeave(e){if(!ec.current||!er.current||"touch"===e.pointerType)return;es.current=!0;let t=e.relatedTarget;if(!(!I||_.current.includes(t))&&eh.current&&(eo.current?.(),eo.current=null,ee.current=-1,ea(e),!j)){let e=X.current,t=(0,g.activeElement)((0,n.ownerDocument)(e));e&&(0,g.contains)(e,t)&&e.focus({preventScroll:!0})}}}),[ex,ec,X,I,_,ea,eh,j]),e_=t.useMemo(()=>j&&V&&em&&{"aria-activedescendant":`${B}-${b}`},[j,V,em,B,b]),eb=t.useMemo(()=>({...!Y?e_:{},onKeyDown(e){if("Tab"===e.key&&e.shiftKey&&V&&!j){let t=(0,g.getTarget)(e.nativeEvent);if(t&&!(0,g.contains)(X.current,t))return;(0,x.stopEvent)(e),W.setOpen(!1,(0,d.createChangeEventDetails)(c.REASONS.focusOut,e.nativeEvent)),(0,o.isHTMLElement)(K)&&K.focus();return}ew(e)},onPointerMove(e){y(e)||(er.current=!0)}}),[e_,ew,X,Y,W,V,j,K]),eM=t.useMemo(()=>{function e(e){W.setOpen(!0,(0,d.createChangeEventDetails)(c.REASONS.listNavigation,e.nativeEvent,e.currentTarget))}function t(e){"auto"===A&&(0,x.isVirtualClick)(e.nativeEvent)&&(Q.current=!j)}function r(e){Q.current=A,"auto"===A&&(0,x.isVirtualPointerEvent)(e.nativeEvent)&&(Q.current=!0)}return{onKeyDown(t){var r,a;let n=W.select("open");er.current=!1;let i=t.key.startsWith("Arrow"),s=(r=t.key,a=ey(),k(a,T?r===f.ARROW_LEFT:r===f.ARROW_RIGHT,r===f.ARROW_DOWN)),l=w(t.key,z),o=(L?s:l)||"Enter"===t.key||""===t.key.trim();if(j&&n)return ew(t);if(n||R||!i){if(o){let e=w(t.key,ey());et.current=L&&e?null:t.key}if(L){s&&((0,x.stopEvent)(t),n?(ee.current=ek(),ea(t)):e(t));return}l&&(null!=eu.current&&(ee.current=eu.current),(0,x.stopEvent)(t),!n&&R?e(t):ew(t),n&&ea(t))}},onFocus(e){W.select("open")&&!j&&(ee.current=-1,ea(e))},onPointerDown:r,onPointerEnter:r,onMouseDown:t,onClick:t}},[ew,A,ek,L,ea,W,R,z,ey,T,eu,j]),eE=t.useMemo(()=>({...e_,...eM}),[e_,eM]);return t.useMemo(()=>E?{reference:eE,floating:eb,item:ev,trigger:eM}:{},[E,eE,eb,eM,ev])}])},736760,e=>{"use strict";var t=e.i(271645),r=e.i(146376),a=e.i(667865),n=e.i(439957),i=e.i(956789),s=e.i(621082),l=e.i(584446),o=e.i(157940);e.s(["useTypeahead",0,function(e,d){let{listRef:c,elementsRef:u,activeIndex:h,onMatch:f,disabledIndices:g,onTyping:p,enabled:m=!0,resetMs:x=750,selectedIndex:y=null}=d,k="rootStore"in e?e.rootStore:e,w=k.useState("open"),v=(0,n.useTimeout)(),_=t.useRef(""),b=t.useRef(y??h??-1),M=t.useRef(null),E=(0,a.useStableCallback)(e=>{function t(e){let t=u?.current[e];return!(t&&!(0,s.isElementVisible)(t)||t?.matches(":disabled"))&&(null==g||!(0,s.isListIndexDisabled)(i.EMPTY_ARRAY,e,g))}function r(e,a,n=0){if(0===e.length)return -1;let i=(n%e.length+e.length)%e.length,s=a.toLowerCase();for(let r=0;r<e.length;r+=1){let a=(i+r)%e.length,n=e[a];if(n?.toLowerCase().startsWith(s)&&t(a))return a}return -1}let a=c.current;if(_.current.length>0&&" "===e.key&&((0,o.stopEvent)(e),p?.(!0)),_.current.length>0&&" "!==_.current[0]&&-1===r(a,_.current)&&" "!==e.key&&p?.(!1),null==a||1!==e.key.length||e.ctrlKey||e.metaKey||e.altKey)return;w&&" "!==e.key&&((0,o.stopEvent)(e),p?.(!0));let n=""===_.current;n&&(b.current=y??h??-1),a.every((e,r)=>!(e&&t(r))||e[0]?.toLowerCase()!==e[1]?.toLowerCase())&&_.current===e.key&&(_.current="",b.current=M.current),_.current+=e.key,v.start(x,()=>{_.current="",b.current=M.current,p?.(!1)});let l=n?y??h??-1:b.current,d=r(a,_.current,(l??0)+1);-1!==d?(f?.(d),M.current=d):" "!==e.key&&(_.current="",p?.(!1))}),O=(0,a.useStableCallback)(e=>{let t=e.relatedTarget,r=k.select("domReferenceElement"),a=k.select("floatingElement");(0,l.contains)(r,t)||(0,l.contains)(a,t)||(v.clear(),_.current="",b.current=M.current,p?.(!1))});(0,r.useIsoLayoutEffect)(()=>{(w||null===y)&&(v.clear(),M.current=null,""!==_.current&&(_.current=""))},[w,y,v]);let S=t.useMemo(()=>({onKeyDown:E,onBlur:O}),[E,O]);return t.useMemo(()=>m?{reference:S,floating:S}:{},[m,S])}])},348990,431594,e=>{"use strict";var t=e.i(956789),r=e.i(552245),a=e.i(395530);e.s(["CompositeItem",0,function(e){let{render:n,className:i,style:s,state:l=t.EMPTY_OBJECT,props:o=t.EMPTY_ARRAY,refs:d=t.EMPTY_ARRAY,metadata:c,stateAttributesMapping:u,tag:h="div",...f}=e,{compositeProps:g,compositeRef:p}=(0,a.useCompositeItem)({metadata:c});return(0,r.useRenderElement)(h,e,{state:l,ref:[p,...d],props:[g,...o,f],stateAttributesMapping:u})}],348990);var n=e.i(456420);let i={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"}]]};i.node;let s=(0,n.default)(i);e.s(["RoutineMark",0,s],431594)},264042,e=>{"use strict";var t=e.i(333848),r=e.i(328744);e.s(["isMouseWithinBounds",0,function(e,a){let n=function(e){let a=e.getBoundingClientRect(),n=(0,t.ownerWindow)(e);if(r.platform.env.jsdom)return a;let i=n.getComputedStyle(e,"::before"),s=n.getComputedStyle(e,"::after");if("none"===i.content&&"none"===s.content)return a;let l=parseFloat(i.width)||0,o=parseFloat(i.height)||0,d=parseFloat(s.width)||0,c=parseFloat(s.height)||0,u=Math.max(a.width,l,d),h=Math.max(a.height,o,c),f=u-a.width,g=h-a.height;return{left:a.left-f/2,right:a.right+f/2,top:a.top-g/2,bottom:a.bottom+g/2}}(a);return e.clientX>=n.left-5&&e.clientX<=n.right+5&&e.clientY>=n.top-5&&e.clientY<=n.bottom+5}])},856539,e=>{"use strict";var t=e.i(456420);let r={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"]};r.node;let a=(0,t.default)(r);e.s(["BookMarked",0,a],856539)},518515,772382,60744,341123,218964,468590,928310,730274,604139,e=>{"use strict";var t=e.i(456420);let r={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"}]]};r.node;let a=(0,t.default)(r);e.s(["Camera",0,a],518515);let n={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"}]]};n.node;let i=(0,t.default)(n);e.s(["Eye",0,i],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 l=(0,t.default)(s);e.s(["FilePen",0,l],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 f=(0,t.default)(h);e.s(["MessageSquare",0,f],468590);let g={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"}]]};g.node;let p=(0,t.default)(g);e.s(["PhoneOff",0,p],928310);let m={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"}]]};m.node;let x=(0,t.default)(m);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)},867927,986253,e=>{"use strict";var t=e.i(456420);let r={name:"chevron-right",size:24,node:[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]};r.node;let a=(0,t.default)(r);e.s(["default",0,a],986253),e.s(["ChevronRight",0,a],867927)},482022,e=>{"use strict";var t=e.i(456420);let r={name:"external-link",size:24,node:[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]]};r.node;let a=(0,t.default)(r);e.s(["ExternalLink",0,a],482022)},905015,51921,e=>{"use strict";var t=e.i(456420);let r={name:"file-braces",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 12a1 1 0 0 0-1 1v1a1 1 0 0 1-1 1 1 1 0 0 1 1 1v1a1 1 0 0 0 1 1",key:"1oajmo"}],["path",{d:"M14 18a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1 1 1 0 0 1-1-1v-1a1 1 0 0 0-1-1",key:"mpwhp6"}]],aliases:["file-json"]};r.node;let a=(0,t.default)(r);e.s(["FileJson",0,a],905015);let n={name:"music",size:24,node:[["path",{d:"M9 18V5l12-2v13",key:"1jmyc2"}],["circle",{cx:"6",cy:"18",r:"3",key:"fqmcym"}],["circle",{cx:"18",cy:"16",r:"3",key:"1hluhg"}]]};n.node;let i=(0,t.default)(n);e.s(["Music",0,i],51921)},989360,575780,693819,227148,941464,e=>{"use strict";var t=e.i(456420);let r={name:"file-code",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 12.5 8 15l2 2.5",key:"1tg20x"}],["path",{d:"m14 12.5 2 2.5-2 2.5",key:"yinavb"}]]};r.node;let a=(0,t.default)(r);e.s(["FileCode",0,a],989360);let n={name:"file-image",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"}],["circle",{cx:"10",cy:"12",r:"2",key:"737tya"}],["path",{d:"m20 17-1.296-1.296a2.41 2.41 0 0 0-3.408 0L9 22",key:"wt3hpn"}]]};n.node;let i=(0,t.default)(n);e.s(["FileImage",0,i],575780);let s={name:"file-spreadsheet",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:"M8 13h2",key:"yr2amv"}],["path",{d:"M14 13h2",key:"un5t4a"}],["path",{d:"M8 17h2",key:"2yhykz"}],["path",{d:"M14 17h2",key:"10kma7"}]]};s.node;let l=(0,t.default)(s);e.s(["FileSpreadsheet",0,l],693819);let o={name:"file-type",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:"M11 18h2",key:"12mj7e"}],["path",{d:"M12 12v6",key:"3ahymv"}],["path",{d:"M9 13v-.5a.5.5 0 0 1 .5-.5h5a.5.5 0 0 1 .5.5v.5",key:"qbrxap"}]]};o.node;let d=(0,t.default)(o);e.s(["FileType",0,d],227148);let c={name:"file-play",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:"M15.033 13.44a.647.647 0 0 1 0 1.12l-4.065 2.352a.645.645 0 0 1-.968-.56v-4.704a.645.645 0 0 1 .967-.56z",key:"1tzo1f"}]],aliases:["file-video"]};c.node;let u=(0,t.default)(c);e.s(["FileVideo",0,u],941464)},226091,e=>{"use strict";var t=e.i(456420);let r={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"}]]};r.node;let a=(0,t.default)(r);e.s(["FileText",0,a],226091)},829600,e=>{"use strict";var t=e.i(456420);let r={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"}]]};r.node;let a=(0,t.default)(r);e.s(["File",0,a],829600)},91511,e=>{"use strict";var t=e.i(456420);let r={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"}]]};r.node;let a=(0,t.default)(r);e.s(["Globe",0,a],91511)},815170,e=>{"use strict";var t=e.i(456420);let r={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"}]]};r.node;let a=(0,t.default)(r);e.s(["Image",0,a],815170)},758925,e=>{"use strict";var t=e.i(456420);let r={name:"key-round",size:24,node:[["path",{d:"M2.586 17.414A2 2 0 0 0 2 18.828V21a1 1 0 0 0 1 1h3a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h1a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h.172a2 2 0 0 0 1.414-.586l.814-.814a6.5 6.5 0 1 0-4-4z",key:"1s6t7t"}],["circle",{cx:"16.5",cy:"7.5",r:".5",fill:"currentColor",key:"w0ekpg"}]]};r.node;let a=(0,t.default)(r);e.s(["KeyRound",0,a],758925)},609374,e=>{"use strict";var t=e.i(456420);let r={name:"presentation",size:24,node:[["path",{d:"M2 3h20",key:"91anmk"}],["path",{d:"M21 3v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V3",key:"2k9sn8"}],["path",{d:"m7 21 5-5 5 5",key:"bip4we"}]]};r.node;let a=(0,t.default)(r);e.s(["Presentation",0,a],609374)},438583,e=>{"use strict";var t=e.i(456420);let r={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"}]]};r.node;let a=(0,t.default)(r);e.s(["Video",0,a],438583)},747925,e=>{"use strict";var t=e.i(456420);let r={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"}]]};r.node;let a=(0,t.default)(r);e.s(["Wrench",0,a],747925)},696017,e=>{"use strict";var t=e.i(60231),r=e.i(419524);e.i(947716);var a=e.i(723685),n=(0,r.__name)(e=>{let{securityLevel:r}=(0,t.getConfig2)(),n=(0,a.select)("body");if("sandbox"===r){let t=(0,a.select)(`#i${e}`),r=t.node()?.contentDocument??document;n=(0,a.select)(r.body)}return n.select(`#${e}`)},"selectSvgElement");e.s(["selectSvgElement",0,n])},502056,e=>{"use strict";var t=e.i(217248),r=e.i(447804),a=e.i(508324),n=e.i(419524),i=(0,n.__name)(({flowchart:e})=>{let t=e?.subGraphTitleMargin?.top??0,r=e?.subGraphTitleMargin?.bottom??0;return{subGraphTitleTopMargin:t,subGraphTitleBottomMargin:r,subGraphTitleTotalMargin:t+r}},"getSubGraphTitleMargins"),s=new Map;async function l(e,a,n){let i,l;"rect"===a.shape&&(a.rx&&a.ry?a.shape="roundedRect":a.shape="squareRect");let o=a.shape?t.shapes[a.shape]:void 0;if(!o)throw Error(`No such shape: ${a.shape}. Please check your syntax.`);if(a.link){let t;"sandbox"===n.config.securityLevel?t="_top":a.linkTarget&&(t=a.linkTarget||"_blank"),i=e.insert("svg:a").attr("xlink:href",a.link).attr("target",t??null),l=await o(i,a,n)}else i=l=await o(e,a,n);return i.attr("data-look",(0,r.handleUndefinedAttr)(a.look)),a.tooltip&&l.attr("title",a.tooltip),s.set(a.id,i),a.haveCallback&&i.attr("class",i.attr("class")+" clickable"),i}(0,n.__name)(l,"insertNode");var o=(0,n.__name)((e,t)=>{s.set(t.id,e)},"setNodeElem"),d=(0,n.__name)(()=>{s.clear()},"clear"),c=(0,n.__name)(e=>{let t=s.get(e.id);a.log.trace("Transforming node",e.diff,e,"translate("+(e.x-e.width/2-5)+", "+e.width/2+")");let r=e.diff||0;return e.clusterNode?t.attr("transform","translate("+(e.x+r-e.width/2)+", "+(e.y-e.height/2-8)+")"):t.attr("transform","translate("+e.x+", "+e.y+")"),r},"positionNode");e.s(["clear",0,d,"getSubGraphTitleMargins",0,i,"insertNode",0,l,"positionNode",0,c,"setNodeElem",0,o])},369110,e=>{"use strict";var t=e.i(502056),r=e.i(217248),a=e.i(224797),n=e.i(836333),i=e.i(60231),s=e.i(508324),l=e.i(419524);e.i(947716);var o=e.i(723685),d=e.i(883272),c=(0,l.__name)(async(e,t)=>{let l,c,u=(0,i.getConfig2)(),{themeVariables:h,handDrawnSeed:f}=u,{clusterBkg:g,clusterBorder:p}=h,{labelStyles:m,nodeStyles:x,borderStyles:y,backgroundStyles:k}=(0,a.styles2String)(t),w=e.insert("g").attr("class","cluster swimlane "+(t.cssClasses||"")).attr("id",t.id).attr("data-id",t.id).attr("data-et","cluster").attr("data-look",t.look),v=(0,i.evaluate)(u.flowchart.htmlLabels),_="LR"===t.direction,b=w.insert("g").attr("class","cluster-label swimlane-label"),M=await (0,n.createText)(b,t.label,{style:t.labelStyle,useHtmlLabels:v,isNode:!0,width:t.width}),E=M.getBBox();if(v){let e=M.children[0],t=(0,o.select)(M);E=e.getBoundingClientRect(),t.attr("width",E.width),t.attr("height",E.height)}let O=t.padding??0,S=t.width<=E.width+O?E.width+O:t.width;t.width<=E.width+O?t.diff=(S-t.width)/2-O:t.diff=-O;let N=t.height,L=t.y-N/2,T=t.y+N/2,j=t.x-S/2,A=void 0!==t.swimlaneContentTop?t.swimlaneContentTop:L+N/3,I=4*!!_,R=E.height+2*I;if(_){let e=Math.max(R,E.height+2*I),r=j+e,n=Math.max(0,S-e);if("handDrawn"===t.look){let i=d.default.svg(w),s=(0,a.userNodeOverrides)(t,{roughness:.7,fill:g,stroke:p,fillWeight:3,seed:f}),o=(0,a.userNodeOverrides)(t,{roughness:.7,fill:"none",stroke:p,seed:f}),u=i.rectangle(j,L,e,N,s);l=w.insert(()=>u,":first-child");let h=i.rectangle(r,L,n,N,o);c=w.insert(()=>h,":first-child"),l.select("path:nth-child(2)").attr("style",y.join(";")),l.select("path").attr("style",k.join(";").replace("fill","stroke"))}else l=w.insert("rect",":first-child"),c=w.insert("rect",":first-child"),l.attr("class","swimlane-title").attr("style",x).attr("x",j).attr("y",L).attr("width",e).attr("height",N).attr("fill",g).attr("stroke",p),c.attr("class","swimlane-body").attr("style",x).attr("x",r).attr("y",L).attr("width",n).attr("height",N).attr("fill","none").attr("stroke",p);let i=j+e/2,s=t.y;b.attr("transform",`translate(${i}, ${s}) rotate(-90) translate(${-E.width/2}, ${-E.height/2})`)}else{let e=Math.min(R,Math.max(0,A-L)),r=L+e,n=Math.max(0,T-r),i=t.x-S/2;if("handDrawn"===t.look){let s=d.default.svg(w),o=(0,a.userNodeOverrides)(t,{roughness:.7,fill:g,stroke:p,fillWeight:3,seed:f}),u=(0,a.userNodeOverrides)(t,{roughness:.7,fill:"none",stroke:p,seed:f}),h=s.rectangle(i,L,S,e,o);l=w.insert(()=>h,":first-child");let m=s.rectangle(i,r,S,n,u);c=w.insert(()=>m,":first-child"),l.select("path:nth-child(2)").attr("style",y.join(";")),l.select("path").attr("style",k.join(";").replace("fill","stroke"))}else l=w.insert("rect",":first-child"),c=w.insert("rect",":first-child"),l.attr("class","swimlane-title").attr("style",x).attr("x",i).attr("y",L).attr("width",S).attr("height",e).attr("fill",g).attr("stroke",p),c.attr("class","swimlane-body").attr("style",x).attr("x",i).attr("y",r).attr("width",S).attr("height",n).attr("fill","none").attr("stroke",p);let s=t.x-E.width/2,o=L+(e-E.height)/2;b.attr("transform",`translate(${s}, ${o})`)}if(s.log.trace("Swimlane data ",t,JSON.stringify(t)),m){let e=b.select("span");e&&e.attr("style",m)}return t.offsetX=0,t.width=S,t.height=N,t.offsetY=E.height-O/2,t.intersect=function(e){return(0,r.intersect_rect_default)(t,e)},{cluster:w,labelBBox:E}},"swimlane"),u=(0,l.__name)(async(e,l)=>{let c,u;s.log.info("Creating subgraph rect for ",l.id,l);let h=(0,i.getConfig2)(),{themeVariables:f,handDrawnSeed:g}=h,{clusterBkg:p,clusterBorder:m}=f,{labelStyles:x,nodeStyles:y,borderStyles:k,backgroundStyles:w}=(0,a.styles2String)(l),v=e.insert("g").attr("class","cluster "+l.cssClasses).attr("id",l.domId).attr("data-look",l.look),_=(0,i.getEffectiveHtmlLabels)(h),b=v.insert("g").attr("class","cluster-label "),M=(c="markdown"===l.labelType?await (0,n.createText)(b,l.label,{style:l.labelStyle,useHtmlLabels:_,isNode:!0,width:l.width}):await (0,r.createLabel_default)(b,l.label,l.labelStyle||"",!1,!0)).getBBox();if((0,i.getEffectiveHtmlLabels)(h)){let e=c.children[0],t=(0,o.select)(c);M=e.getBoundingClientRect(),t.attr("width",M.width),t.attr("height",M.height)}let E=l.width<=M.width+l.padding?M.width+l.padding:l.width;l.width<=M.width+l.padding?l.diff=(E-l.width)/2-l.padding:l.diff=-l.padding;let O=l.height,S=l.x-E/2,N=l.y-O/2;if(s.log.trace("Data ",l,JSON.stringify(l)),"handDrawn"===l.look){let e=d.default.svg(v),t=(0,a.userNodeOverrides)(l,{roughness:.7,fill:p,stroke:m,fillWeight:3,seed:g}),n=e.path((0,r.createRoundedRectPathD)(S,N,E,O,0),t);(u=v.insert(()=>(s.log.debug("Rough node insert CXC",n),n),":first-child")).select("path:nth-child(2)").attr("style",k.join(";")),u.select("path").attr("style",w.join(";").replace("fill","stroke"))}else(u=v.insert("rect",":first-child")).attr("style",y).attr("rx",l.rx).attr("ry",l.ry).attr("x",S).attr("y",N).attr("width",E).attr("height",O);let{subGraphTitleTopMargin:L}=(0,t.getSubGraphTitleMargins)(h);if(b.attr("transform",`translate(${l.x-M.width/2}, ${l.y-l.height/2+L})`),x){let e=b.select("span");e&&e.attr("style",x)}let T=u.node().getBBox();return l.offsetX=0,l.width=T.width,l.height=T.height,l.offsetY=M.height-l.padding/2,l.intersect=function(e){return(0,r.intersect_rect_default)(l,e)},{cluster:v,labelBBox:M}},"rect"),h=(0,l.__name)((e,t)=>{let a=e.insert("g").attr("class","note-cluster").attr("id",t.domId),n=a.insert("rect",":first-child"),i=0*t.padding,s=i/2;n.attr("rx",t.rx).attr("ry",t.ry).attr("x",t.x-t.width/2-s).attr("y",t.y-t.height/2-s).attr("width",t.width+i).attr("height",t.height+i).attr("fill","none");let l=n.node().getBBox();return t.width=l.width,t.height=l.height,t.intersect=function(e){return(0,r.intersect_rect_default)(t,e)},{cluster:a,labelBBox:{width:0,height:0}}},"noteGroup"),f=(0,l.__name)(async(e,t)=>{let a,n=(0,i.getConfig2)(),{themeVariables:s,handDrawnSeed:l}=n,{altBackground:c,compositeBackground:u,compositeTitleBackground:h,nodeBorder:f}=s,g=e.insert("g").attr("class",t.cssClasses).attr("id",t.domId).attr("data-id",t.id).attr("data-look",t.look),p=g.insert("g",":first-child"),m=g.insert("g").attr("class","cluster-label"),x=g.append("rect"),y=await (0,r.createLabel_default)(m,t.label,t.labelStyle,void 0,!0),k=y.getBBox();if((0,i.getEffectiveHtmlLabels)(n)){let e=y.children[0],t=(0,o.select)(y);k=e.getBoundingClientRect(),t.attr("width",k.width),t.attr("height",k.height)}let w=0*t.padding,v=(t.width<=k.width+t.padding?k.width+t.padding:t.width)+w;t.width<=k.width+t.padding?t.diff=(v-t.width)/2-t.padding:t.diff=-t.padding;let _=t.height+w,b=t.height+w-k.height-6,M=t.x-v/2,E=t.y-_/2;t.width=v;let O=t.y-t.height/2-w/2+k.height+2;if("handDrawn"===t.look){let e=t.cssClasses.includes("statediagram-cluster-alt"),n=d.default.svg(g),i=t.rx||t.ry?n.path((0,r.createRoundedRectPathD)(M,E,v,_,10),{roughness:.7,fill:h,fillStyle:"solid",stroke:f,seed:l}):n.rectangle(M,E,v,_,{seed:l});a=g.insert(()=>i,":first-child");let s=n.rectangle(M,O,v,b,{fill:e?c:u,fillStyle:e?"hachure":"solid",stroke:f,seed:l});a=g.insert(()=>i,":first-child"),x=g.insert(()=>s)}else(a=p.insert("rect",":first-child")).attr("class","outer").attr("x",M).attr("y",E).attr("width",v).attr("height",_).attr("data-look",t.look),x.attr("class","inner").attr("x",M).attr("y",O).attr("width",v).attr("height",b);return m.attr("transform",`translate(${t.x-k.width/2}, ${E+1-3*!(0,i.getEffectiveHtmlLabels)(n)})`),t.height=a.node().getBBox().height,t.offsetX=0,t.offsetY=k.height-t.padding/2,t.labelBBox=k,t.intersect=function(e){return(0,r.intersect_rect_default)(t,e)},{cluster:g,labelBBox:k}},"roundedWithTitle"),g=(0,l.__name)(async(e,l)=>{let c;s.log.info("Creating subgraph rect for ",l.id,l);let u=(0,i.getConfig2)(),{themeVariables:h,handDrawnSeed:f}=u,{clusterBkg:g,clusterBorder:p}=h,{labelStyles:m,nodeStyles:x,borderStyles:y,backgroundStyles:k}=(0,a.styles2String)(l),w=e.insert("g").attr("class","cluster "+l.cssClasses).attr("id",l.domId).attr("data-look",l.look),v=(0,i.getEffectiveHtmlLabels)(u),_=w.insert("g").attr("class","cluster-label "),b=await (0,n.createText)(_,l.label,{style:l.labelStyle,useHtmlLabels:v,isNode:!0,width:l.width}),M=b.getBBox();if((0,i.getEffectiveHtmlLabels)(u)){let e=b.children[0],t=(0,o.select)(b);M=e.getBoundingClientRect(),t.attr("width",M.width),t.attr("height",M.height)}let E=l.width<=M.width+l.padding?M.width+l.padding:l.width;l.width<=M.width+l.padding?l.diff=(E-l.width)/2-l.padding:l.diff=-l.padding;let O=l.height,S=l.x-E/2,N=l.y-O/2;if(s.log.trace("Data ",l,JSON.stringify(l)),"handDrawn"===l.look){let e=d.default.svg(w),t=(0,a.userNodeOverrides)(l,{roughness:.7,fill:g,stroke:p,fillWeight:4,seed:f}),n=e.path((0,r.createRoundedRectPathD)(S,N,E,O,l.rx),t);(c=w.insert(()=>(s.log.debug("Rough node insert CXC",n),n),":first-child")).select("path:nth-child(2)").attr("style",y.join(";")),c.select("path").attr("style",k.join(";").replace("fill","stroke"))}else(c=w.insert("rect",":first-child")).attr("style",x).attr("rx",l.rx).attr("ry",l.ry).attr("x",S).attr("y",N).attr("width",E).attr("height",O);let{subGraphTitleTopMargin:L}=(0,t.getSubGraphTitleMargins)(u);if(_.attr("transform",`translate(${l.x-M.width/2}, ${l.y-l.height/2+L})`),m){let e=_.select("span");e&&e.attr("style",m)}let T=c.node().getBBox();return l.offsetX=0,l.width=T.width,l.height=T.height,l.offsetY=M.height-l.padding/2,l.intersect=function(e){return(0,r.intersect_rect_default)(l,e)},{cluster:w,labelBBox:M}},"kanbanSection"),p={rect:u,squareRect:u,roundedWithTitle:f,noteGroup:h,divider:(0,l.__name)((e,t)=>{let a,{themeVariables:n,handDrawnSeed:s}=(0,i.getConfig2)(),{nodeBorder:l}=n,o=e.insert("g").attr("class",t.cssClasses).attr("id",t.domId).attr("data-look",t.look),c=o.insert("g",":first-child"),u=0*t.padding,h=t.width+u;t.diff=-t.padding;let f=t.height+u,g=t.x-h/2,p=t.y-f/2;if(t.width=h,"handDrawn"===t.look){let e=d.default.svg(o).rectangle(g,p,h,f,{fill:"lightgrey",roughness:.5,strokeLineDash:[5],stroke:l,seed:s});a=o.insert(()=>e,":first-child")}else{a=c.insert("rect",":first-child");let e="outer";t.look,e="divider",a.attr("class",e).attr("x",g).attr("y",p).attr("width",h).attr("height",f).attr("data-look",t.look)}return t.height=a.node().getBBox().height,t.offsetX=0,t.offsetY=0,t.intersect=function(e){return(0,r.intersect_rect_default)(t,e)},{cluster:o,labelBBox:{}}},"divider"),kanbanSection:g,swimlane:c},m=new Map,x=(0,l.__name)(async(e,t)=>{let r=t.shape||"rect",a=await p[r](e,t);return m.set(t.id,a),a},"insertCluster"),y=(0,l.__name)(()=>{m=new Map},"clear");e.s(["clear",0,y,"insertCluster",0,x])},121292,e=>{"use strict";var t=e.i(369110),r=e.i(382793),a=e.i(502056),n=e.i(217248),i=e.i(447804),s=e.i(60231),l=e.i(508324),o=e.i(419524),d={common:s.common_default,getConfig:s.getConfig,insertCluster:t.insertCluster,insertEdge:r.insertEdge,insertEdgeLabel:r.insertEdgeLabel,insertMarkers:r.markers_default,insertNode:a.insertNode,interpolateToCurve:i.interpolateToCurve,labelHelper:n.labelHelper,log:l.log,positionEdgeLabel:r.positionEdgeLabel},c={},u=(0,o.__name)(e=>{for(let t of e)c[t.name]=t},"registerLayoutLoaders");(0,o.__name)(()=>{u([{name:"dagre",loader:(0,o.__name)(async()=>await e.A(555153),"loader")},{name:"swimlane",loader:(0,o.__name)(async()=>await e.A(12782),"loader")},{name:"cose-bilkent",loader:(0,o.__name)(async()=>await e.A(208503),"loader")}])},"registerDefaultLayoutLoaders")();var h=(0,o.__name)(async(e,t)=>{if(!(e.layoutAlgorithm in c))throw Error(`Unknown layout algorithm: ${e.layoutAlgorithm}`);if(e.diagramId)for(let t of e.nodes){let r=t.domId||t.id;t.domId=`${e.diagramId}-${r}`}let r=c[e.layoutAlgorithm],a=await r.loader(),{theme:n,themeVariables:i}=e.config,{useGradient:s,gradientStart:l,gradientStop:o}=i,u=t.attr("id");if(t.append("defs").append("filter").attr("id",`${u}-drop-shadow`).attr("height","130%").attr("width","130%").append("feDropShadow").attr("dx","4").attr("dy","4").attr("stdDeviation",0).attr("flood-opacity","0.06").attr("flood-color",`${n?.includes("dark")?"#FFFFFF":"#000000"}`),t.append("defs").append("filter").attr("id",`${u}-drop-shadow-small`).attr("height","150%").attr("width","150%").append("feDropShadow").attr("dx","2").attr("dy","2").attr("stdDeviation",0).attr("flood-opacity","0.06").attr("flood-color",`${n?.includes("dark")?"#FFFFFF":"#000000"}`),s){let e=t.append("linearGradient").attr("id",t.attr("id")+"-gradient").attr("gradientUnits","objectBoundingBox").attr("x1","0%").attr("y1","0%").attr("x2","100%").attr("y2","0%");e.append("svg:stop").attr("offset","0%").attr("stop-color",l).attr("stop-opacity",1),e.append("svg:stop").attr("offset","100%").attr("stop-color",o).attr("stop-opacity",1)}return a.render(e,t,d,{algorithm:r.algorithm})},"render"),f=(0,o.__name)((e="",{fallback:t="dagre"}={})=>{if(e in c)return e;if(t in c)return l.log.warn(`Layout algorithm ${e} is not registered. Using ${t} as fallback.`),t;throw Error(`Both layout algorithms ${e} and ${t} are not registered.`)},"getRegisteredLayoutAlgorithm");e.s(["getRegisteredLayoutAlgorithm",0,f,"registerLayoutLoaders",0,u,"render",0,h])},504565,e=>{"use strict";var t=e.i(722219);e.s(["default",0,t])}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,616816,e=>{"use strict";var t=e.i(843476),a=e.i(375775),r=e.i(689664),n=e.i(263676),l=e.i(271645),i=e.i(798120),o=e.i(167881),s=e.i(23750),h=e.i(41533),u=e.i(968978),c=e.i(149666),d=e.i(265402),f=e.i(609856),m=e.i(283653),p=e.i(647163),g=e.i(790930),y=e.i(992112);function M({provider:e,saved:a,autoFocus:r,dense:n,plain:l,value:i,ready:o,saving:s,onValue:h,onSubmit:c}){return(0,t.jsxs)("div",{className:"space-y-2",children:[!l&&(0,t.jsxs)("span",{className:"flex items-center gap-2 px-0.5 text-muted-foreground",children:[(0,t.jsx)(u.ProviderIcon,{provider:e.id,className:"size-4 shrink-0"}),(0,t.jsx)("span",{className:(0,p.cn)("font-mono",n?"text-[11px]":"text-[12.5px]"),children:e.label})]}),(0,t.jsx)(w,{provider:e,saved:a,autoFocus:r,dense:n,mark:l,value:i,ready:o,saving:s,onValue:h,onSubmit:c})]})}let x=e=>e?.replace(/…$/,"")??"";function w({provider:e,saved:a,autoFocus:n,dense:l,mark:i,value:h,ready:c,saving:f,onValue:m,onSubmit:g}){var y;let M,b=(y=e.id,M=x(d.TEXT_MODEL_PROVIDERS[y].keyLooks),Object.entries(d.TEXT_MODEL_PROVIDERS).flatMap(([e,t])=>{let a=x(t.keyLooks);return e!==y&&a&&!M.startsWith(a)?[a]:[]})).some(e=>h.trim().startsWith(e));return(0,t.jsxs)("form",{onSubmit:e=>{e.preventDefault(),g()},className:(0,p.cn)("flex items-center gap-3 rounded-2xl border bg-muted/40 px-4 transition-colors",l?"h-11 rounded-xl px-3":"h-14",a||c?"border-foreground bg-transparent":"border-border"),children:[i&&(0,t.jsx)(u.ProviderIcon,{provider:e.id,className:"size-4 shrink-0 text-muted-foreground"}),(0,t.jsx)(s.Input,{autoFocus:n,type:"password","aria-label":"OpenAI API key",autoComplete:"off",value:h,spellCheck:!1,placeholder:a?"Replace it":"sk-…",onChange:e=>m(e.target.value),className:(0,p.cn)("min-w-0 flex-1 border-0 bg-transparent px-0 font-mono shadow-none focus-visible:ring-0 dark:bg-transparent",l?"h-7 text-[13px]":"h-9 text-[15px]")}),h?(0,t.jsx)(o.Button,{type:"submit",size:"sm",variant:b?"outline":"default",loading:f,disabled:!c,className:(0,p.cn)("shrink-0",l?"h-7 px-3":"h-9 px-4"),children:b?`Not ${e.label}?`:"Save"}):a&&(0,t.jsx)("span",{className:(0,p.cn)("grid shrink-0 animate-in place-items-center rounded-full bg-foreground text-background zoom-in-50 duration-300",l?"size-5":"size-7"),children:(0,t.jsx)(r.Check,{className:l?"size-3":"size-4"})})]})}e.s(["GetKeyLink",0,function(){let e=d.TEXT_MODEL_PROVIDERS[c.LIVE_PROVIDER.id].keysAt;return e?(0,t.jsxs)("a",{href:e,target:"_blank",rel:"noreferrer",className:"flex items-center gap-2.5 text-[13px] font-medium text-foreground no-underline",children:[(0,t.jsxs)("span",{className:"flex h-7.5 shrink-0 items-center gap-1.5 rounded-full bg-muted px-3.5 whitespace-nowrap transition-colors hover:bg-accent",children:["Get a key",(0,t.jsx)(a.ArrowUpRight,{className:"size-3.5"})]}),(0,t.jsx)("span",{className:"truncate font-mono text-[11px] font-normal text-muted-foreground/70",children:e.replace(/^https:\/\//,"")})]}):null},"KeyInput",0,w,"VoiceKeys",0,function({ref:e,autoFocus:a,dense:r=!1,plain:s=!1,onCancel:u,onSaved:d,className:x}){let{data:w}=(0,m.useServerRoute)(i.queryKey.config),[b,v]=(0,l.useState)({}),[A,k]=(0,l.useState)(null),[O,S]=(0,l.useState)(null),[_]=(0,f.useServerAction)(g.setConfigAction,{errorMessage:!1,onError:e=>S(e??"That key was not saved."),onOk:()=>{(0,m.revalidate)(i.queryKey.config),(0,m.revalidate)(i.queryKey.llmModel)}}),E=e=>(b[e]?.trim().length??0)>=h.KEY_MIN,L=async e=>{let t=e.apiKeyName;if(!E(t)||A)return!1;S(null),k(t);try{return await _(t,b[t]),v(e=>({...e,[t]:""})),d?.(e.id),!0}catch{return!1}finally{k(null)}};return(0,l.useImperativeHandle)(e,()=>({pending:()=>E(c.LIVE_PROVIDER.apiKeyName),flush:async()=>!E(c.LIVE_PROVIDER.apiKeyName)||L(c.LIVE_PROVIDER)})),(0,t.jsxs)("div",{className:(0,p.cn)("w-full",r?"space-y-2":"space-y-4",x),children:[r&&!s&&(0,t.jsxs)("div",{className:"flex h-6 items-center justify-between gap-2",children:[(0,t.jsx)("span",{className:"px-0.5 font-mono text-[11px] text-muted-foreground",children:"Voice key"}),u&&(0,t.jsx)(o.Button,{type:"button",size:"icon",variant:"ghost","aria-label":"Not now",onClick:u,className:"-my-1 size-6",children:(0,t.jsx)(n.X,{className:"size-3.5"})})]}),(0,t.jsx)(M,{provider:c.LIVE_PROVIDER,saved:(0,y.isConfigSet)(w,c.LIVE_PROVIDER.apiKeyName),autoFocus:a,dense:r,plain:s,value:b[c.LIVE_PROVIDER.apiKeyName]??"",ready:E(c.LIVE_PROVIDER.apiKeyName),saving:A===c.LIVE_PROVIDER.apiKeyName,onValue:e=>{S(null),v(t=>({...t,[c.LIVE_PROVIDER.apiKeyName]:e}))},onSubmit:()=>void L(c.LIVE_PROVIDER)}),O&&(0,t.jsx)("p",{className:(0,p.cn)("px-0.5 leading-5 break-words",r?"text-xs":"text-center text-[13px]",p.WAITING_INK),children:O}),!s&&(0,t.jsx)("p",{className:(0,p.cn)("px-0.5 font-mono text-muted-foreground",r?"text-[11px]":"pt-1 text-center text-[12.5px]"),children:r?"Live voice and reasoning share this OpenAI API key.":"Live uses an OpenAI API key, billed separately from ChatGPT. Stored on this machine, in this app's database."})]})}])},671228,67045,297825,e=>{"use strict";let t,a;var r=e.i(504565),n=e.i(265402),l=e.i(413168);let i=[{id:"chatgpt",...n.TEXT_MODEL_PROVIDERS.chatgpt},{id:"openai",...n.TEXT_MODEL_PROVIDERS.openai}];r.default.object({id:r.default.string().min(1),text:r.default.string(),said:r.default.boolean()});let o="note",s=e=>e.type===`data-${o}`?e.data:null,h={min:3,max:32},u=r.default.object({enabled:r.default.boolean(),phrase:r.default.string().trim().min(h.min).max(h.max)}),c={enabled:!1,phrase:"hey thursday"},d=r.default.object({enabled:r.default.boolean(),combo:r.default.string().trim().min(1).max(64)}),f={enabled:!1,combo:"alt+shift+KeyT"},m=["off","waiting","any"],p=r.default.enum(m),g="waiting",y=["center","sides"],M=r.default.enum(y);r.default.object({id:r.default.string().min(1),role:r.default.enum(["user","assistant","tool"]),tool:r.default.string().nullish(),text:r.default.string(),seq:r.default.number().int().min(0),fragments:r.default.array(l.LiveFragmentSchema).nullish()}),r.default.object({id:r.default.string().min(1),text:r.default.string(),seq:r.default.number().int().min(0)}),e.s(["CALL_BACK_DEFAULT",0,g,"CALL_BACK_LABEL",0,{off:"Never",waiting:"When a job needs me",any:"Whenever a job ends"},"CALL_BACK_MODES",0,m,"CAPTION_VIEWS",0,y,"CallBackSchema",0,p,"CaptionViewSchema",0,M,"HOTKEY_DEFAULT",0,f,"HotkeySchema",0,d,"TEXT_CALL_NOTE",0,o,"WAKE_DEFAULT",0,c,"WAKE_PHRASE",0,h,"WakeSchema",0,u,"isEnglishPhrase",0,e=>/^[a-z0-9\s'.,!?-]+$/i.test(e.trim())&&/[a-z]/i.test(e),"noteOf",0,s,"notesIn",0,e=>e.flatMap(e=>e.parts.flatMap(e=>{let t=s(e);return t?[t]:[]})),"textCallRunsOn",0,e=>i.find(t=>e(t.apiKeyName))?.id??null],671228);var x=e.i(681307),w=e.i(768834);let b=e=>t=>{try{let a=e(t);if(a instanceof Promise)return a;return{then:e=>b(e)(a),catch(e){return this}}}catch(e){return{then(e){return this},catch:t=>b(t)(e)}}};var v=e.i(149666);let A=x.z.object({wake:u.catch(c),hotkey:d.catch(f),callBack:p.catch(g),captionView:M.catch("sides"),textModel:n.textModelRefSchema.nullable().catch(null)}),k={wake:c,hotkey:f,callBack:g,captionView:"sides",textModel:null},O=(0,w.create)()((t=e=>({...k,carried:null,patch:t=>e(t),carriedDone:()=>e({carried:null})}),a={name:"thursday.settings",version:2,migrate:(e,t)=>t<1&&e&&"object"==typeof e?{...e,webSearch:!0}:e,partialize:e=>({wake:e.wake,hotkey:e.hotkey,callBack:e.callBack,captionView:e.captionView,textModel:e.textModel}),merge:(e,t)=>{let a=A.safeParse(e),r=a.success?a.data:k;return{...t,...r,carried:function(e){if(!e||"object"!=typeof e)return null;let t=[...Object.keys(v.LiveSettingsSchema.shape),"voicePrompt","systemPrompt","model"].filter(t=>t in e);return t.length?Object.fromEntries(t.map(t=>[t,e[t]])):null}(e)}}},(e,r,n)=>{let l,i={storage:function(e){let t;try{t=e()}catch(e){return}return{getItem:e=>{var a;let r=e=>null===e?null:JSON.parse(e,void 0),n=null!=(a=t.getItem(e))?a:null;return n instanceof Promise?n.then(r):r(n)},setItem:(e,a)=>t.setItem(e,JSON.stringify(a,void 0)),removeItem:e=>t.removeItem(e)}}(()=>window.localStorage),partialize:e=>e,version:0,merge:(e,t)=>({...t,...e}),...a},o=!1,s=0,h=new Set,u=new Set,c=i.storage;if(!c)return t((...t)=>{console.warn(`[zustand persist middleware] Unable to update item '${i.name}', the given storage is currently unavailable.`),e(...t)});let d=()=>{let e=i.partialize({...r()});return c.setItem(i.name,{state:e,version:i.version})},f=n.setState;n.setState=(e,t)=>(f(e,t),d());let m=t((...t)=>(e(...t),d()));n.getInitialState=()=>m;let p=()=>{var t,a;if(!c)return;let n=++s;o=!1,h.forEach(e=>{var t;return e(null!=(t=r())?t:m)});let f=(null==(a=i.onRehydrateStorage)?void 0:a.call(i,null!=(t=r())?t:m))||void 0;return b(c.getItem.bind(c))(i.name).then(e=>{if(e)if("number"!=typeof e.version||e.version===i.version)return[!1,e.state];else{if(i.migrate){let t=i.migrate(e.state,e.version);return t instanceof Promise?t.then(e=>[!0,e]):[!0,t]}console.error("State loaded from storage couldn't be migrated since no migrate function was provided")}return[!1,void 0]}).then(t=>{var a;if(n!==s)return;let[o,h]=t;if(e(l=i.merge(h,null!=(a=r())?a:m),!0),o)return d()}).then(()=>{n===s&&(null==f||f(r(),void 0),l=r(),o=!0,u.forEach(e=>e(l)))}).catch(e=>{n===s&&(null==f||f(void 0,e))})};return n.persist={setOptions:e=>{i={...i,...e},e.storage&&(c=e.storage)},clearStorage:()=>{++s,null==c||c.removeItem(i.name)},getOptions:()=>i,rehydrate:()=>p(),hasHydrated:()=>o,onHydrate:e=>(h.add(e),()=>{h.delete(e)}),onFinishHydration:e=>(u.add(e),()=>{u.delete(e)})},i.skipHydration||p(),l||m}));e.s(["useThursdayStore",0,O],67045);var S=e.i(271645),_=e.i(798120),E=e.i(609856),L=e.i(283653),N=e.i(95187);let R=(0,N.createServerReference)("7f46291180d6c1fd9732a36194a563097dfd1a1c7e",N.callServer,void 0,N.findSourceMapURL,"seedLiveSettingsAction"),I=(0,N.createServerReference)("7f2f84f33cb10d029abb01910aa3ad70ff1af268f0",N.callServer,void 0,N.findSourceMapURL,"setLiveSettingsAction");e.s(["useLiveSettings",0,function(){let{data:e}=(0,L.useServerRoute)(_.queryKey.thursdaySettings),[t]=(0,E.useServerAction)(I,{onOk:()=>(0,L.revalidate)(_.queryKey.thursdaySettings)}),a=(0,S.useRef)(e);a.current=e;let r=(0,S.useCallback)(e=>{let r=a.current;r&&t({...r,...e})},[t]);return function(){let e=O(e=>e.carried),t=O(e=>e.carriedDone),[a]=(0,E.useServerAction)(R,{onOk:e=>{e&&(0,L.revalidate)(_.queryKey.thursdaySettings)},errorMessage:!1});(0,S.useEffect)(()=>{e&&(t(),a(e))},[e,t,a])}(),{settings:e,patch:r}}],297825)},561540,377090,732061,298293,387758,333495,e=>{"use strict";var t=e.i(213377);let a={[t.TOOL_NAMES.memory_recall]:"Checking your notes",[t.TOOL_NAMES.memory_create]:"Starting a note",[t.TOOL_NAMES.memory_remember]:"Noting that down",[t.TOOL_NAMES.memory_describe]:"Renaming a note",[t.TOOL_NAMES.memory_forget]:"Forgetting that",[t.TOOL_NAMES.bash]:"Doing it on this computer",[t.TOOL_NAMES.web_search]:"Searching the web",[t.TOOL_NAMES.load_skill]:"Reading how to do this",[t.TOOL_NAMES.look_at]:"Looking at the picture",[t.TOOL_NAMES.make_deck]:"Making the deck",[t.TOOL_NAMES.end_call]:"Ending the call",[t.TOOL_NAMES.routine]:"Checking your routines"};function r(e,t=28){let a=e.trim().replace(/\s+/g," ");if(a.length<=t)return a;let n=a.slice(0,t),l=n.lastIndexOf(" ");return`${(l>t/2?n.slice(0,l):n).trimEnd()}…`}let n=(e,t)=>"string"==typeof e[t]?e[t].trim():"";function l(e){if(!e)return null;try{let t=JSON.parse(e);if(t&&"object"==typeof t&&!Array.isArray(t))return t}catch{}return null}let i=new Set([t.TOOL_NAMES.thread_tell,t.TOOL_NAMES.thread_answer,t.TOOL_NAMES.thread_status,t.TOOL_NAMES.thread_show,t.TOOL_NAMES.thread_cancel,t.TOOL_NAMES.thread_seen]);function o(e){return Array.isArray(e)?e.flatMap(e=>e&&"object"==typeof e&&"string"==typeof e.url?[e]:[]):[]}e.s(["reasoningTitle",0,function(e){return/^\s*\*\*(.+?)\*\*/.exec(e)?.[1]?.trim()||null},"searchOf",0,function(e,a){if(e!==t.TOOL_NAMES.web_search)return null;try{let e=JSON.parse(a);return{query:"string"==typeof e.query?e.query:null,sources:o(e.sources)}}catch{return null}},"searchQueryOf",0,function(e){let t=l(e)?.query;return"string"==typeof t&&t.trim()?t.trim():null},"searchSourcesOf",0,function(e){return o(l(e)?.sources)},"startedLabel",0,function(e,a){if(e!==t.TOOL_NAMES.thread_start)return null;try{let e=JSON.parse(a);return"string"==typeof e.label?e.label:null}catch{return null}},"toolBot",0,function(e,a,r,n){let o=l(a);if(!o)return null;if(e===t.TOOL_NAMES.thread_start)return"string"==typeof o.bot&&o.bot.trim()?o.bot.trim():null;if(!i.has(e))return null;let s="string"==typeof o.thread?o.thread.trim():"";if(!s||"all"===s.toLowerCase())return null;let h=s.toLowerCase(),u=r?.find(e=>e.id===s)??r?.find(e=>e.label.toLowerCase()===h);return u?e===t.TOOL_NAMES.thread_answer?u.room.questions[0]?.bot??u.bot:u.bot:function(e){let t=l(e);if(!t)return null;if("string"==typeof t.bot&&t.bot.trim())return t.bot.trim();let a=t.answered;return"string"==typeof a?.bot?a.bot:null}(n)},"toolLine",0,function(e,i,o=null){let s;if(e===t.TOOL_NAMES.tool_search||e===t.TOOL_NAMES.tool_call)return"Reaching a connected service";let h=l(i);return(h&&function(e,a,l){if(e===t.TOOL_NAMES.memory_remember||e===t.TOOL_NAMES.memory_create){let l=n(a,"path"),i=function(e){if(!Array.isArray(e.facts))return null;let t=e.facts.map(e=>e&&"object"==typeof e&&"string"==typeof e.text?e.text.trim():"").filter(Boolean);return t.length?{text:t[0],more:t.length-1}:null}(a),o=e===t.TOOL_NAMES.memory_create?"Starting":"Noting";if(!l)return null;if(!i)return`${o} ${l}`;let s=i.more>0?` (+${i.more})`:"";return`${o} ${l}: ${r(i.text)}${s}`}if(e===t.TOOL_NAMES.memory_recall){let e=n(a,"path");return e?`Checking \xb7 ${e}`:null}if(e===t.TOOL_NAMES.memory_describe){let e=n(a,"path");return e?`Renaming \xb7 ${e}`:null}if(e===t.TOOL_NAMES.bash){let e=n(a,"description")||n(a,"command");return e?`On this computer \xb7 ${r(e,44)}`:null}if(e===t.TOOL_NAMES.load_skill){let e=n(a,"name");return e?`Reading the ${e} skill`:null}if(e===t.TOOL_NAMES.look_at){let e=n(a,"path");return e?`Looking at ${e.split("/").filter(Boolean).at(-1)??""}`:null}if(e===t.TOOL_NAMES.make_deck){let e=n(a,"title");return e?`Making the deck \xb7 ${r(e,44)}`:null}if(e===t.TOOL_NAMES.thread_start){let e=n(a,"bot");return e?`Handing this to ${e}`:"Handing this over"}if(e===t.TOOL_NAMES.web_search){let e=n(a,"query");return e?`Searching \xb7 ${e}`:null}if(e===t.TOOL_NAMES.routine){if("create"===a.action){let e=[n(a,"bot"),function(e){if("string"==typeof e.at&&e.at.length>=16){let[t,a]=e.at.split(" "),[r,n,l]=t.split("-").map(Number),i=new Date(r,n-1,l);if(i.toDateString()===new Date().toDateString())return`once at ${a}`;let o=i.toLocaleDateString("en-US",{month:"short",day:"numeric"});return`once, ${o} ${a}`}return"string"==typeof e.time&&e.time?`daily at ${e.time}`:"number"==typeof e.everyHours?`every ${e.everyHours} hours`:null}(a)].filter(Boolean).join(", ");return e?`Setting a routine \xb7 ${e}`:"Setting a routine"}return"change"===a.action?"Changing a routine":"delete"===a.action?"Deleting a routine":null}let i=n(a,"thread");return e===t.TOOL_NAMES.thread_tell?l?`Telling ${l}`:"Passing that on":e===t.TOOL_NAMES.thread_answer?l?`Answering ${l}`:"Answering that":e===t.TOOL_NAMES.thread_cancel?i?`Stopping ${i}`:"Stopping that":e===t.TOOL_NAMES.thread_seen?i?`Marking ${i} as read`:"Marking that as read":e===t.TOOL_NAMES.thread_show?i?`Opening ${i}`:"Opening that":e===t.TOOL_NAMES.thread_status?i&&"all"!==i.toLowerCase()?`Checking on ${i}`:"Checking on the work":null}(e,h,o))??a[e]??((s=e.indexOf("__"))<=0?null:`Reaching ${e.slice(0,s).replace(/[-_]/g," ")}`)}],561540);var s=e.i(843476),h=e.i(271645),u=e.i(41533),c=e.i(218080),d=e.i(567334);function f(e,t,a){let r=(0|e)*0x165667b1+(0|t)*0x27d4eb2f+(0|a)*0x4bf19f61;return(((r=Math.imul(r^r>>>13,0x4bf19f61))^r>>>16)>>>0)/0x100000000}let m=(e,t,a)=>e+(t-e)*a;function p(e,t,a){let r=Math.floor(e),n=Math.floor(t),l=Math.floor(a),i=e-r,o=t-n,s=a-l,h=i*i*(3-2*i),u=o*o*(3-2*o),c=m(f(r,n,l),f(r+1,n,l),h),d=m(f(r,n+1,l),f(r+1,n+1,l),h),p=m(f(r,n,l+1),f(r+1,n,l+1),h),g=m(f(r,n+1,l+1),f(r+1,n+1,l+1),h);return m(m(c,d,u),m(p,g,u),s*s*(3-2*s))}function g(e,t,a,r=3){let n=0,l=.5,i=0;for(let o=0;o<r;o++)n+=l*p(e,t,a),i+=l,e*=2.03,t*=2.03,a*=1.97,l*=.5;return n/i}function y(e,t,a,r=4){let n=g(e,t,a,2),l=g(e+5.2,t+1.3,a+2.8,2);return g(e+r*n,t+r*l,a,3)}function M(e,t=0){let a=9.2*g(.1*e+3.7*t,3.1+t,1.4,2);return{x:Math.cos(a),y:Math.sin(a),g:.38+.62*Math.max(0,Math.min(1,(g(.11*e+5.3*t,7.7,2.2,3)-.38)*3.2))**1.5}}e.s(["fbm",0,g,"ihash",0,f,"vnoise",0,p,"warp",0,y,"windAt",0,M],377090);let x=2*Math.PI,w=(e,t,a)=>(0,d.smoothstep)(t,t+(a-t)*.3,e)*(1-(0,d.smoothstep)(a-(a-t)*.3,a,e)),b={x:0,y:0,rot:0,yaw:0,pitch:0,spin:0,axis:0,sx:1,sy:1,lidL:1,lidR:1,size:1,gx:0,gy:0},v=(()=>{let e=0;for(let t=0;t<5;t++)e+=Math.exp(-t/1.6);return Array.from({length:5},(t,a)=>Math.exp(-a/1.6)/e)})(),A={now:{wake:!0,sighs:!0,len:0,pose:()=>b},dust:{wake:!0,len:2.4,pose(e,t){let a=t?-1:1,r=.55*(0,d.smoothstep)(.16,.3,e)*Math.exp(-Math.max(0,e-.3)/.55),n=2.5*x*(e-.2),l=.3+.2*(0,d.smoothstep)(.05,.25,e)+.5*(0,d.smoothstep)(1.35,1.75,e),i=w(e,1.45,2.4);return{...b,yaw:a*r*Math.sin(n),x:.035*a*r*Math.sin(n-.5),rot:.03*a*r*Math.sin(n+.9),y:-.02*i,lidL:l,lidR:l,size:1+.06*i}},fx(e,t,a,r,n,l,i,o){let s=t?-1:1,h=1;for(let t=0;t<5;t++){let a=.2+(.25+.5*t)/2.5;h-=v[t]*(0,d.smoothstep)(a-.03,a+.1,e),e>=a&&l.thrown<=t&&(l.thrown=t+1,function(e,t,a,r){let n=e.head,l=Math.min(1.4,3.2*a),i=4+Math.round(6*l);for(let a=0;a<i;a++){let a=(Math.random()-.5)*1.6*r,i=t*Math.sqrt(Math.max(0,r*r-a*a))*(.1+.8*Math.random()),o=(230+170*Math.random())*(.55+.45*l),s=(Math.random()-.6)*90+a/r*50;for(let l=0;l<7;l++){let l=o*(.75+.5*Math.random());L(e,{...N,x:n.x*r+i+(Math.random()-.5)*24,y:n.y*r+a+(Math.random()-.5)*24,vx:t*l,vy:s+(Math.random()-.5)*50,life:1.3+.8*Math.random(),a:.55+.3*Math.random(),r0:4,r1:30+20*Math.random(),grow:.5,keep:.35,fall:45,curl:40,kind:2,hold:0,fadeP:1.5})}for(let l=0;l<3;l++)L(e,{...N,x:n.x*r+i,y:n.y*r+a,vx:t*o*(.8+.5*Math.random()),vy:s-40*Math.random(),life:.6+.4*Math.random(),a:.9,r0:1.5,r1:2.5,grow:1,keep:.4,fall:320,curl:0,kind:2,hold:0,fadeP:1})}}(r,s*(t%2?-1:1),v[t],o))}a.crust=Math.max(a.crust,e<0?(0,d.smoothstep)(-.8,-.3,e):Math.max(0,h))}},turn:{wake:!0,len:1.8,pose(e,t){let a=t?-1:1,r=x*(0,d.smoothstep)(-.6,.95,e),n=e>.95?-.1*Math.sin(Math.min(1,(e-.95)/.6)*Math.PI):0,l=(0,d.smoothstep)(0,.3,e);return{...b,spin:a*(r+n),axis:.22*a,y:-.02*w(e,.5,1.6),lidL:l,lidR:l}}},vape:{len:6.6,pose(e){let t=w(e,.2,1.7),a=(0,d.smoothstep)(1.7,2.3,e)*(1-(0,d.smoothstep)(5.2,6.4,e)),r=1-.35*t-.42*a;return{...b,pitch:.12*t-.08*a,y:-.02*t+.015*a,sx:1+.03*t,sy:1+.03*t,lidL:r,lidR:r}},fx(e,t,a,r,n,l,i,o){if(e<0||e>6.8)return;a.hush=Math.max(a.hush,.8*w(e,.2,2));let s=e>1.8&&e<5.4?(0,d.smoothstep)(1.8,2.2,e)*(.4+.6*Math.exp(-(e-1.8)/1.6))*(1-(0,d.smoothstep)(4.5,5.4,e)):0;s>0&&function(e,t,a,r,n,l){var i;let o,s,h,u,c,[d,f]=(i=.55*l,s=Math.cos((o=e.head).rot),h=Math.sin(o.rot),u=0*o.sx,c=i*o.sy,[o.x*l+u*s-c*h,o.y*l+u*h+c*s]),m=.88*t.field;for(a.owed+=110*r*n;a.owed>=1;){a.owed-=1;let t=Math.PI/2+(Math.random()-.5)*1.6,n=165*(.6+.4*r)*(.7+.6*Math.random());L(e,{x:d+(Math.random()-.5)*26,y:f+(Math.random()-.5)*10,vx:Math.cos(t)*n,vy:Math.sin(t)*n,life:5+2.5*Math.random(),a:.75,r0:10,r1:96*(.7+.6*Math.random()),grow:1.6,keep:.55,fall:10,rise:30,riseT:3.6,curl:85,splay:55,wall:m,home:m*Math.random()**.85*.92,peel:.1+1.0999999999999999*Math.random(),side:0,hitAt:-1,peeled:!1,kind:1,hold:3,fadeP:2.4})}}(r,n,l,s,i,o)}},look:{len:2.8,pose(e,t){let a=t?-1:1,r=w(e,.45,1.35),n=w(e,1.45,2.45);return{...b,yaw:a*(-.42*r+.42*n),gx:a*(-.08*r+.08*n),x:a*(-.03*r+.03*n),rot:a*(-.03*r+.03*n)}}},wink:{len:2,pose(e,t){let a=w(e,.8,1.35),r=.08*w(e,.7,1.55);return t?{...b,lidL:1-a,rot:-r}:{...b,lidR:1-a,rot:r}}},sleepy:{len:3.2,hold:!0,pose(e){let t=w(e,1.5,1.95),a=.8*(0,d.smoothstep)(.1,1.5,e)*(1-.8*t)+.2*(0,d.smoothstep)(1.95,3.1,e),r=1-.7*a;return{...b,y:.07*a,rot:.1*a,gy:.05*a,lidL:r,lidR:r}}},spin:{len:3,pose(e,t){let a=t?-1:1,r=-.25*w(e,0,.45)+x*(0,d.smoothstep)(.3,1.75,e),n=e>1.7?Math.exp(-(e-1.7)/.55)*(0,d.smoothstep)(1.7,1.85,e):0,l=1.5*x*(e-1.7),i=1-.3*n;return{...b,spin:a*r,axis:.62*a,x:.035*n*Math.sin(l),y:.022*n*Math.cos(l),rot:.07*n*Math.sin(l+.6),gx:.06*n*Math.sin(1.3*l),gy:.04*n*Math.cos(1.3*l),lidL:i,lidR:i}}}},k=Object.keys(A),O=k.filter(e=>A[e].wake),S=k.filter(e=>!A[e].wake),_=(e,t,a,r)=>e+(t-e)*(1-Math.exp(-r/a)),E=e=>Math.abs(e.x)+Math.abs(e.y)+Math.abs(e.rot)+Math.abs(e.yaw)+Math.abs(e.pitch)+Math.abs(e.spin)+Math.abs(e.sx-1)+Math.abs(e.sy-1)<1e-4;function L(e,t){e.parts.length>=2200||e.parts.push({...t,age:0,seed:60*Math.random()})}let N={rise:0,riseT:1,splay:0,wall:0,home:0,peel:0,side:0,hitAt:-1,peeled:!1},R={x:0,y:0},I={v:0,kind:0,hold:0,covers:!1},T=(e,t,a)=>e+(t-e)*a,z=(e,t,a)=>{let r,n=(r=(a-e)/(t-e))<0?0:r>1?1:r;return n*n*(3-2*n)};function j(e,t=!1,a=0){let r,n=t=>f(e,7*t+3,1),l=.5>n(3)?-1:1,i=(.26+.18*n(2))*l,o=[0,0],s=e=>[l*e*(.15+.07*n(9)),(n(10)-.5)*.07],h=e=>({ms:.62+.2*n(11),tilt:0,gaze:o,blink:[e,e+.22]});switch(t?[0,2,3,4][4*n(1)|0]:5*n(1)|0){case 0:r=[{ms:1.3+.9*n(4),tilt:0,gaze:o,snap:.01},{ms:1.4+.9*n(5),tilt:0,gaze:o},h(.12),{ms:1.2+.9*n(6),tilt:0,gaze:s(1),snap:.1},{ms:1.3+.9*n(7),tilt:0,gaze:o,snap:.12},{ms:.95,tilt:0,gaze:o,blink:[.1,.3],blink2:.5>n(8)?[.44,.64]:null},{ms:1.6+1.2*n(12),tilt:0,gaze:o}];break;case 1:r=[{ms:.9+.5*n(4),tilt:0,gaze:o,snap:.01},{ms:.8+.5*n(5),tilt:0,gaze:o},h(.1),{ms:.7+.6*n(6),tilt:0,gaze:o}];break;case 2:r=[{ms:1.2+.8*n(4),tilt:0,gaze:o,snap:.01},{ms:1.6+1.2*n(13),tilt:i,gaze:o,snap:.9},{ms:.8,tilt:i,gaze:o,blink:[.14,.36]},{ms:1.8+1.1*n(5),tilt:0,gaze:o,snap:.75},{ms:1.5+1.3*n(6),tilt:0,gaze:o}];break;case 3:r=[{ms:.9+.5*n(4),tilt:0,gaze:o,snap:.01},{ms:1.1+.7*n(5),tilt:0,gaze:s(1.1),snap:.09},{ms:1.4+.8*n(6),tilt:0,gaze:o,snap:.12},{ms:1,tilt:0,gaze:o,blink:[.08,.28],blink2:[.42,.62]},{ms:1.4+1.2*n(7),tilt:0,gaze:o}];break;default:r=[{ms:1.2+.7*n(4),tilt:0,gaze:o,snap:.01},{ms:1.2+.7*n(5),tilt:0,gaze:o},{ms:1+.6*n(6),tilt:0,gaze:s(1),snap:.09},{ms:.9+.5*n(7),tilt:0,gaze:s(-.85),snap:.09},{ms:1.2+.8*n(8),tilt:0,gaze:o,snap:.12},h(.12),{ms:1.3+ +n(12),tilt:0,gaze:o}]}let u=0;for(let e of r)u+=e.ms;for(let e=20;u<a;e+=2){let t=2.6+1.8*n(e);r.push({ms:t,tilt:0,gaze:o,blink:.7>n(e+1)?[.4,.62]:void 0}),u+=t}return{beats:r,total:u}}let P={gaze:[0,0],tilt:0,lid:1},F=(e,t,a)=>e+(t-e)*a,V=(e,t,a,r)=>r<.5?e+(t-e)*r*2:t+(a-t)*(r-.5)*2;function C(e,t,a){return .58+.07*Math.sin(.35*a)+(g(.011*e+.04*a,.011*t-.03*a,.22*a,2)-.5)*.6}function $(){let e={face:0,hush:0,dim:0,ink:0,reach:0,few:0,narrow:0,hard:0,haze:0,sigh:{live:!1,t0:0,dir:Math.PI/2,seed:0,now:0,front:0},ways:{jumble:new Float32Array(257),reach:new Float32Array(257),gush:new Float32Array(257),gust:new Float32Array(257),lobe:new Float32Array(257)}};return D(e),e}function D(e){let t=F(.52,1,e.face);e.ink=F(1.52,2.5,e.face),e.reach=F(2.2,4,e.face),e.haze=F(.27,.57,e.face),e.few=V(4.2,1.9,1,t),e.narrow=V(.3,.17,.04,t),e.hard=V(2.6,2,1.25,t)}function K(e,t){return(0,d.smoothstep)(0,.05,e)*Math.max(.18,Math.exp(-Math.max(0,e-.5)/.3))*(.6+.8*g(5*e+t,1.7,2.9,2))}function q(e,t,a,r,n,l,i=!0){let o=e.sigh;i&&l>=0&&l<.3&&!o.live&&(o.live=!0,o.t0=t-l,o.dir=Math.PI/2+(.5>Math.random()?-1:1)*(.7+(Math.random()-.5)*.3),o.seed=50*Math.random());let s=(t-o.t0)*.65;o.live&&s>2.4&&(o.live=!1),o.now=o.live?K(s,o.seed)*(1-(0,d.smoothstep)(.855,2.4,s))*1.5*(0,d.smoothstep)(0,.25,s):0,o.front=.55+1.53*(1-Math.exp(-Math.max(0,s)/.6))+.18*Math.max(0,s),e.dim=Math.max(n,e.dim*Math.exp(-a/2.2));let h=l>=0?r*(0,d.smoothstep)(.65,.65+.2,l):0,u=h>e.face?2.05/2.3:.5;e.face+=(h-e.face)*(1-Math.exp(-a/u)),D(e);let c=e.ways;for(let e=0;e<=256;e++){let a=-Math.PI+e/256*Math.PI*2,r=Math.cos(a),n=Math.sin(a);c.jumble[e]=(g(2.2*r+11,2.2*n,.35*t,2)-.5)*220,c.reach[e]=Math.max(0,g(1.1*r+5,1.1*n,.12*t,2)-.22),c.gush[e]=(0,d.smoothstep)(.5,.78,g(1.6*r+3,1.6*n,.5*t,2)),c.gust[e]=.4+1.2*g(1.2*r+7,1.2*n,.4*t,2),o.live&&(c.lobe[e]=1.53*(.5+ +g(1.4*r+o.seed,1.4*n,.3*s,2)))}}function B(e,t){let a=(t+Math.PI)/(2*Math.PI)*256,r=Math.min(255,Math.max(0,Math.floor(a)));return e[r]+(e[r+1]-e[r])*(a-r)}function W(e,t,a,r,n,l,i){let o=e.px??e.dx,s=e.py??e.dy,h=e.sx??e.dx,u=e.sy??e.dy,c=.018*i.g*Math.min(1,e.dist/r)**2*r,f=Math.hypot(o-i.x*c,s-i.y*c),m=1-(0,d.smoothstep)(.55*r,r,f),p=m>0?(C(e.dx,e.dy,t)+a)*m:0;l.dim>.002&&(p*=1-.16*l.dim);let M=1-l.hush,x=Math.hypot(h-i.x*c,u-i.y*c);if(l.haze>0&&M>0&&x<1.32*r){let e=l.haze*M*(1-.39*l.dim)*(1-(0,d.smoothstep)(.9*r,1.32*r,x))*n;if(1.55*e>p){let a=e*(.45+1.1*y(.012*h+11,.012*u,.15*t,2));a>p&&(p=a)}}let w=.55+Math.max(0,.92*l.ink-.55)*(0,d.smoothstep)(.92*r,1.14*r,x);if(M>0&&w*n*M>p){let e=function(e,t,a,r,n,l,i,o,s){let h;if(n>r*(i.reach+.2+.54))return 0;let u=.087*o.g*n,c=e-o.x*u,f=t-o.y*u,m=Math.hypot(c,f)||1,p=Math.atan2(f,c),M=i.few/(1+.006*n),x=g(c/m*M,f/m*M,.008*(n-66*a-B(i.ways.jumble,p)),3),w=function(e,t){let a=e.sigh;if(!a.live||a.now<=.01)return 0;let r=t-a.dir;return r-=Math.round(r/(2*Math.PI))*Math.PI*2,a.now*(1-(0,d.smoothstep)(1.3608,3.024,Math.abs(r)))}(i,p),b=i.sigh.front,v=w>0?w*(1-(0,d.smoothstep)(b-.35,b+.05,n/r)):0,A=w>0?w*((h=b-1)<0?0:h>1?1:h):0,k=r*(1.05+(i.reach-1.05)*Math.min(1,2.4*B(i.ways.reach,p))+.54*A),O=(0,d.smoothstep)(.55*r,k,n),S=.4+i.narrow*O;if(1.2*x<=S)return 0;let _=x*(.8+.4*y(.02*e+3,.02*t,.3*a,2)),E=(3.2*Math.max(0,_-S))**i.hard;return E<=0?0:(E*=1+.9*B(i.ways.gush,p)+1.2*v,i.dim>.002&&(E*=1-.65*i.dim),Math.min(s,E*(1-O)**1.25*(.6+.65*(o.g*B(i.ways.gust,p)))*i.ink)*l)}(h,u,t,r,x,n,l,i,w)*M;e>p&&(p=e)}if(n<.98&&p>0){let t=y(.015*e.dx-7,.015*e.dy+3,11.4,2);p*=(0,d.smoothstep)(t-.34,t+.34,1.7*n-.24)}return p}function H(e,t,a,r){let n=r.sigh;if(!n.live)return 0;let l=(t-n.t0)*.65,i=e.dist/a-.55;if(i<=0)return 0;let o=Math.atan2(e.py??e.dy,e.px??e.dx)-n.dir;if(Math.abs(o-=Math.round(o/(2*Math.PI))*Math.PI*2)>3.141592653589793)return 0;let s=B(r.ways.lobe,o);if(i>s*(1-Math.exp(-l/.6))+.18*l)return 0;let h=-.6*Math.log(1-Math.min(i/s,.97));for(let e=0;e<3;e++){let e=Math.exp(-h/.6);h-=(s*(1-e)+.18*h-i)/(s*e/.6+.18)}let u=l-h;if(h<0||u<0||u>1.9)return 0;let c=K(u,n.seed),f=1-(0,d.smoothstep)(.855,2.4,l);if(c*f<.01)return 0;o+=(g(1.8*i,2.2*u,.3*t,2)-.5)*1.1*(.3+h);let m=Math.min(Math.PI,(.95+1.45*(1-Math.exp(-h/.45)))*1.8*(.55+.9*g(2.2*i+n.seed,1.7*u,3.3,2))),p=1-(0,d.smoothstep)(.55*m,m,Math.abs(o));if(p<=0)return 0;let M=1+.4*h,x=(3*Math.max(0,g(2.2*o/M+4,3*u+.6*i/M,5.1,3)-.32))**1.4,w=1-(0,d.smoothstep)(.15,.9,i)*(1-Math.min(1,.45+x)),b=1/(1+(i/.81)**2),v=(0,d.smoothstep)(.25,.65,y(.014*e.dx+n.seed,.014*e.dy,.9*u+.2*t,2)),A=1-.65*(0,d.smoothstep)(.1,.7,i)*(1-v);return Math.min(.95,C(e.dx,e.dy,t)*c*f*p*w*b*A*3.5)}e.s(["createSmoke",0,$,"restValue",0,W,"sighValue",0,H,"stepSmoke",0,q],732061);let U=(e,t,a)=>{let r,n=(r=(a-e)/(t-e))<0?0:r>1?1:r;return n*n*(3-2*n)},J=[{ascii:["0","1","7","4","9","2","8","3","5","6"],emoji:["🤍","🖤","⚪","⚫","☁️","🦢","🐧","🐼","🎱","🕊️"]},{ascii:["/","\\","|","_","-","~","^","<",">","="],emoji:["🌑","🌒","🌓","🌔","🌕","🌖","🌗","🌘","🌙","🌚"]},{ascii:["(",")","[","]","{","}",":",";","*","+"],emoji:["❄️","🫧","💧","🌊","🧊","🐳","🐟","🪸","🌌","🔮"]},{ascii:[".",",","'","`",":",'"',";","·","*","^"],emoji:["🗿","💬","🖨️","📀","🗝️","🧷","📎","🖇️","🧮","🔭"]}];function X(e,t,a,r,n){let l=Math.floor(a/r);return Y(e,t,a,l*r+.6+f(l,11,5)*r*.45,n*(.6+3.4*f(l,17,9)**2),l)}function G(e){let t=e;for(let e=0;e<400;e++,t++){let e=1+t%J.length;if(.25>f(t,19,7)&&(2===e||3===e)&&.35>f(t,3,2))break}return t}function Y(e,t,a,r,n,l){let i=a-r;if(i<0||i>n)return 0;let o=U(0,1.7+2.6*f(l,3,2),i),s=U(n-(1.5+2.8*f(l,4,3)),n,i),h=1+(4*f(l,19,7)|0);for(let a=0;a<h;a++){let r=(f(7*l+a,23,1)-.5)*300,n=(f(7*l+a,29,2)-.5)*300,i=e-r,h=t-n,u=Math.hypot(i,h),c=470*o*(.4+1.1*g(.011*i+l,.011*h,3.3*a,3));if(u>=c||s>.85*g(.016*i-4,.016*h+6,5.1*a+1,2)+.1)continue;let d=1-u/Math.max(1,c);if(!(g(.05*e+a,.05*t,2.7*l,2)>.95*d+.34))return 1+(l+a)%J.length}return 0}e.s(["WASH_SETS",0,J,"wakingSlot",0,G,"washAt",0,X,"washOnce",0,Y],298293);let Q=1e3/240,Z=e=>`700 ${e}px ui-monospace,SFMono-Regular,Menlo,monospace`,ee=(e,t,a)=>Z(e*(.5+.5*(0,d.emojiWeight)(t,a))),et=[235,235,235];function ea(e){let t=[[],[],[],[],[]],a=0;for(let r of Array.from(e.toUpperCase())){let e=d.LETTERS[r];if(e){if(t[0].length)for(let e of t)e.push(-1);e.forEach((e,r)=>{for(let n of e)t[r].push("#"===n?a:-1)})," "!==r&&a++}}return t}let er=ea("ERROR");function en(e,t,a,r,n){return e+(t-e)*Math.min(1,n/(t>e?a:r))}function el(e,t,a,r,n,l){let i=Math.floor(t/(r*l)+e[0].length/2),o=Math.floor(a/(n*l)+e.length/2);return o<0||o>=e.length?-1:e[o][i]??-1}let ei=[...J,{ascii:["~","s","S","§","~","∫","s","≈","S","~"],emoji:["💨","☁️","🌫️","💨","☁️","🫧","💭","💨","☁️","🌫️"]},{ascii:["*",":","'",".","*",",",":","`","*",";"],emoji:null}],eo=J.length,es={gap:1,size:1.1},eh=e=>e<0?0:e>1?1:e;function eu(e,t,a,r){let n=e=>Math.max(1,Math.min(3,Math.floor(625.6/(e[0].length*t)),Math.floor(421.6/(e.length*a)))),l=ea(r),i=3>n(l)?function(e){let t=Array.from(e.trim()),a=t.flatMap((e,t)=>" "===e?[t]:[]);if(!a.length)return null;let r=t.length/2,n=a.reduce((e,t)=>Math.abs(t-r)<Math.abs(e-r)?t:e),l=ea(t.slice(0,n).join("")),i=ea(t.slice(n+1).join(""));if(!l[0].length||!i[0].length)return null;let o=Math.max(-1,...l.flat())+1,s=Math.max(l[0].length,i[0].length),h=(e,t)=>{let a=Math.floor((s-e.length)/2);return[...Array(a).fill(-1),...e.map(e=>e<0?e:e+t),...Array(s-e.length-a).fill(-1)]},u=()=>Array(s).fill(-1);return[...l.map(e=>h(e,0)),u(),u(),...i.map(e=>h(e,o))]}(r):null,o=i&&n(i)>n(l)?i:l,s=n(o),h=0;for(let r of e)r.word=el(o,r.dx,r.dy,t,a,s),h=Math.max(h,r.word+1);return h}function ec({className:e,mode:t="idle",charset:a=u.ASCII_FACE.charset,fontSize:r=u.ASCII_FACE.fontSize,density:n=u.ASCII_FACE.density,size:l=680,color:i=et,getSpectrum:o,word:f=null,waking:m=!1}){let y=(0,h.useRef)(null),x=(0,h.useRef)(null),w=(0,h.useRef)([]),v=(0,h.useRef)(null),k=(0,h.useRef)(a),F=(0,h.useRef)({cur:[...i],target:i}),V=(0,h.useRef)(0),C=(0,h.useRef)(o);C.current=o;let D=(0,h.useRef)({phrase:0,bob:0,bobVel:0,amp:[,,,,].fill(0),phase:Array.from({length:4},(e,t)=>2.1*t),spin:0,rings:[]}),K=(0,h.useRef)({mode:t,start:0}),B=(0,h.useRef)(performance.now()),U=(0,h.useRef)(90*Math.random()).current,J=(0,h.useRef)({scale:.3,lift:0,gather:0,comet:0,speech:0,err:0,word:0}),ea=(0,h.useRef)(null),ed=(0,h.useRef)({cw:1,ch:1}),ef=(0,h.useRef)({script:null,from:0,until:0}),em=(0,h.useRef)(null),ep=(0,h.useRef)(m);return(0,h.useEffect)(()=>{let e=y.current;if(!e)return;let t=.95*r/n,a=1.25*r/n,i=680/l,o=t*i,s=a*i,h=Math.max(1,Math.floor(625.6/(er[0].length*o)));V.current=l,ed.current={cw:o,ch:s};let u=[],c=Math.ceil(l/t),f=Math.ceil(l/a),m=new Int32Array(c*f).fill(-1);for(let e=0;e<f;e++)for(let r=0;r<c;r++){let n=r*t,f=e*a,p=(n-l/2)*i,g=(f-l/2)*i,y=Math.hypot(p,g),M=el(er,p,g,o,s,h);M<0&&y>328||(m[e*c+r]=u.length,u.push({x:n+t/2,y:f+a/2,dx:p,dy:g,dist:y,angle:Math.atan2(g,p),cos:y>0?p/y:1,sin:y>0?g/y:0,seed:(0,d.hash)(r,e),grain:(0,d.hash)(5.7*r+19,2.3*e+53),gap:.05+.3*(0,d.hash)(7.3*r+11,3.1*e+5),emoji:(0,d.hash)(2.7*r+31,5.9*e+17)<d.EMOJI_RATIO,speck:(0,d.hash)(4.1*r+23,6.3*e+41),letter:M,word:-1}))}w.current=u,em.current={cells:u,cols:c,rows:f,cw:o,ch:s,half:340,at:m,field:328},ea.current&&eu(u,o,s,ea.current.text),v.current={ascii:Array.from({length:d.RAMP.length},()=>new Int32Array(u.length)),emoji:Array.from({length:d.RAMP.length},()=>new Int32Array(u.length)),asciiN:new Int32Array(d.RAMP.length),emojiN:new Int32Array(d.RAMP.length),glyph:Array(u.length),fast:new Float32Array(u.length),slow:new Float32Array(u.length),wasLevel:new Int8Array(u.length).fill(-9),turn:new Int32Array(u.length).fill(-9),pick:new Int32Array(u.length),pool:new Int8Array(u.length),poolFor:new Float32Array(u.length)};let p=Math.min(2,window.devicePixelRatio||1);e.width=l*p,e.height=l*p,e.style.width=`${l}px`,e.style.height=`${l}px`;let g=e.getContext("2d");return g&&(g.setTransform(p,0,0,p,0,0),g.font=Z(r),g.textAlign="center",g.textBaseline="middle",!function(e,t,a){if(0===a.length)return;let r=new Set(d.EMOJI_POOL);for(let e of ei)for(let t of e.emoji??[])r.add(t);let n=d.RAMP.length-1,l=[Z(t)];for(let e=1;e<=n;e++)l.push(ee(t,e,n));for(let t of l){e.font=t;let n=0;for(let t of r){let r=a[97*n++%a.length];e.fillText(t,r.x,r.y)}}e.font=Z(t),e.clearRect(0,0,e.canvas.width,e.canvas.height)}(g,r,u),x.current=g),()=>{g?.clearRect(0,0,l,l),w.current=[],em.current=null,v.current=null}},[r,n,l]),(0,h.useEffect)(()=>{k.current=a},[a]),(0,h.useEffect)(()=>{F.current.target=i},[i]),(0,h.useEffect)(()=>{K.current.mode!==t&&(K.current={mode:t,start:.001*performance.now()})},[t]),(0,h.useEffect)(()=>{if(!f||Date.now()-f.at>(f.hold??3.4)*1e3)return;let{cw:e,ch:t}=ed.current,a=performance.now();if(ea.current={text:f.text,start:.001*a,letters:eu(w.current,e,t,f.text),hold:f.hold??3.4},a-B.current<600){let e=J.current;e.word=1,e.scale=0}},[f]),(0,h.useEffect)(()=>{let e,t=0,a=(0,c.createVoiceFollower)(),n=$(),l=(e=new Float32Array(0),{deck:[],lastWake:null,head:{...b},smoke:{...b},want:{hush:0,crust:0},doing:{hush:0,crust:0},yawSlow:0,yawV:0,moved:!1,turned:!1,hx:e,hy:e,hz:e,px:e,py:e,pd:e,sx:e,sy:e,crust:0,crustSeed:40*Math.random(),crustWas:new Uint8Array(0),crusted:0,crustedNow:0,parts:[],live:!1,calm:1,thick:e,top:e,kind:new Int8Array(0),keep:e}),i={dx:0,dy:0,dist:0,px:0,py:0,sx:0,sy:0},o=Array(c.SPECTRUM_BANDS).fill(0),s=.001*performance.now(),h=0,f=0,m=ep.current?{slot:G(4e3*Math.random()|0)}:null;if(m){let e=j(1e6*Math.random()|0,!0);ef.current={script:e,from:.15,until:1.4+e.total+1.5}}let y=-1/0,B=e=>{var c,$;if(e-y<1e3/u.ASCII_FACE.fps-Q){t=requestAnimationFrame(B);return}y=e;let G=.001*e,et=Math.min(.05,Math.max(0,G-s));s=G;let er=x.current,el=v.current,eu=em.current;if(!er||!el||!eu){t=requestAnimationFrame(B);return}let ec=k.current,ed=V.current;el.asciiN.fill(0),el.emojiN.fill(0);let ep=C.current?.();if(!ep||ep.length<2){for(let e=0;e<o.length;e++){let t=.5*Math.sin(1.7*G+1.7*e)+.3*Math.sin(.8*G+.6*e)+.2*Math.sin(3*G+2.9*e);o[e]=.5*t+.5}ep=o}let eg=D.current,ey=Math.max(1,Math.round(60*et)),eM=a.read(ep,et);eg.phrase=eM.phrase,eM.onset>0&&(eg.bobVel+=.06*eM.onset,eg.rings.push({born:G,power:eM.onset}),eg.rings.length>5&&eg.rings.shift());for(let e=0;e<ey;e++)eg.bobVel+=-(.012*eg.bob)-.09*eg.bobVel,eg.bob+=eg.bobVel;h+=et;for(let e=0;e<4;e++){let t=Math.floor(e*eM.bands.length/4),a=Math.max(t+1,Math.floor((e+1)*eM.bands.length/4)),r=0;for(let e=t;e<a;e++)r+=eM.bands[e];r/=a-t;let n=.7+.6*(0,d.hash)((.9*G|0)+31*e,e);eg.amp[e]+=(r*n-eg.amp[e])*(1-(1-(.05+.02*e))**ey),eg.phase[e]+=et*(.9+.5*e)*(e%2?-1:1)}for(eg.spin+=et*(1.1+.9*eg.phrase);eg.rings.length>0&&G-eg.rings[0].born>.7;)eg.rings.shift();let ex=K.current,ew=ea.current,eb=ew?G-ew.start:0,ev=null!==ew&&"error"!==ex.mode&&eb<ew.hold+.08*ew.letters+.45+.35+.9,eA=function(e,t){let a={scale:1,lift:0,gather:0,comet:0,speech:0,err:0,word:0};switch(e){case"idle":return a;case"connecting":{let e=1-Math.exp(-t/1.3);return{...a,scale:.45+.55*e,lift:.06*e,gather:1}}case"speaking":return{...a,speech:1};case"working":return{...a,scale:0,comet:1};case"ending":return{...a,scale:0};case"error":return{...a,scale:0,err:1}}}(ex.mode,G-ex.start);ev&&(eA.word=1,null!==ew&&eb<ew.hold&&(eA.scale=0,eA.lift=0,eA.gather=0,eA.comet=0,eA.speech=0));let ek=J.current;ek.scale=en(ek.scale,eA.scale,.45,"ending"===ex.mode?.4:.7,et),ek.lift=en(ek.lift,eA.lift,.22,.4,et),ek.gather=en(ek.gather,eA.gather,.3,.95,et),ek.comet=en(ek.comet,eA.comet,.45,.9,et),ek.speech=en(ek.speech,eA.speech,.5,.75,et),"error"===ex.mode&&(ek.err<=.01&&(f=0),f+=et),ek.err=en(ek.err,eA.err,.5,.6,et),ek.word=en(ek.word,eA.word,.35,.5,et);let eO=ek.err>.5,eS=ek.word>.5,e_="emojiOnly"===ec?.264:.4,eE=M(h,U),eL=Math.exp(-et/.085),eN=Math.exp(-et/.8),eR=ek.scale*(1-ek.speech)*(1-ek.comet)*(1-ek.gather),eI=null,eT=0,ez=0,ej=0,eP=-1,eF=null,eV=-1,eC=ef.current,e$=eR>.4&&!eO&&!eS,eD=(0,d.smoothstep)(.4,.75,eR)*(1-(0,d.smoothstep)(0,.5,ek.word));if(!e$&&void 0===eC.cut&&eC.script&&h>eC.from&&h<eC.until&&(eC.cut=h),e$&&void 0===eC.cut&&h>eC.until){let e=0===eC.until,t=function(e){let[t,a]=function(e){let t=e.deck;if(!t.length){for(let e of O)for(let a of S)t.push([e,a]);for(let a=0;a<200;a++){for(let e=t.length-1;e>0;e--){let a=Math.random()*(e+1)|0;[t[e],t[a]]=[t[a],t[e]]}let a=t[t.length-1][0]!==e.lastWake;for(let e=1;a&&e<t.length;e++)a=t[e][0]!==t[e-1][0];if(a)break}}let a=t.pop()??[O[0],S[0]];return e.lastWake=a[0],a}(e),r=11*(.75+.5*Math.random()),n=Math.max(Math.max(A[t].len,1.5)+.8,r-A[a].len),l=(e,t)=>({key:e,at:t,m:.5>Math.random(),thrown:0,owed:0});return{items:[l(t,0),l(a,n)],open:n+A[a].len+.8*!A[a].hold}}(l);eC.plan=t,eC.script=j(1e3*h|0,!1,t.open),eC.from=h+(e?.15:17*(.55+.9*Math.random())),eC.until=eC.from+1.25+Math.max(eC.script.total,t.open)+1.5}if(e$||void 0!==eC.cut){let e=h-eC.from,t=eC.until-eC.from;if(eC.script&&e>0){let a=(0,d.smoothstep)(.4,.75,eR),r=t-1.5-.3,n=void 0===eC.cut?eh((e-r)/1.35):Math.max(eh((e-r)/1.35),eh((h-eC.cut)/.4));eT=(0,d.smoothstep)(.75,1.05,e);let l=function(e,t){let a=0,r=[0,0],n=0;for(let l of e.beats){let e=t-a;if(e<l.ms){let t=z(0,l.snap??.12,e),a=1;for(let t of[l.blink,l.blink2])!t||e<=t[0]||e>=t[1]||(a*=Math.abs(Math.cos(Math.PI*((e-t[0])/(t[1]-t[0]))))**.7);return{gaze:[T(r[0],l.gaze[0],t),T(r[1],l.gaze[1],t)],tilt:T(n,l.tilt,t),lid:a}}a+=l.ms,r=l.gaze,n=l.tilt}return P}(eC.script,Math.max(0,e-.875)),i=l.lid*(0,d.smoothstep)(.75,1.13,e),o=(1-n)**2.2;eI={...l,gaze:[l.gaze[0],l.gaze[1]+.04*(0,d.smoothstep)(0,.65,n)],lid:i*o,fall:i*(1-o)*.3999999999999999},ez=eT*(1-n)*a,ej=(0,d.smoothstep)(.1,.9,n)*a,a>.5&&(eP=e-.75),void 0===eC.cut?(eF=eC.plan??null,eV=e-.75):n>=1&&(eC.until=h,eC.cut=void 0,eI=null,eT=0)}}let eK=170*1.08*Math.max(.02,ek.scale);eI=function(e,t,a,r,n,l,i,o,s){var h;h=t.cells.length,e.hx.length!==h&&(e.hx=new Float32Array(h),e.hy=new Float32Array(h),e.hz=new Float32Array(h),e.px=new Float32Array(h),e.py=new Float32Array(h),e.pd=new Float32Array(h),e.sx=new Float32Array(h),e.sy=new Float32Array(h),e.crustWas=new Uint8Array(h),e.thick=new Float32Array(h),e.top=new Float32Array(h),e.kind=new Int8Array(h),e.keep=new Float32Array(h),e.parts.length=0,e.live=!1),e.calm=s,e.crusted=e.crustedNow,e.crustedNow=0;let u=b,c=e.want;if(c.hush=0,c.crust=0,n&&l>-1){let s={...b},h=!1;for(let a of n.items){let n=A[a.key],i=l-a.at;if(n.fx?.(i,a.m,c,e,t,a,r,o),i<(n.wake?-.8:0)||!n.hold&&i>n.len+.6)continue;let u=n.pose(i,a.m);u!==b&&(h=!0,s.x+=u.x,s.y+=u.y,s.rot+=u.rot,s.yaw+=u.yaw,s.pitch+=u.pitch,s.spin+=u.spin,u.spin&&(s.axis=u.axis),s.gx+=u.gx,s.gy+=u.gy,s.sx*=u.sx,s.sy*=u.sy,s.lidL*=u.lidL,s.lidR*=u.lidR,s.size*=u.size)}if(i&&l>=0){let e;s.yaw+=.08*(g(.13*a+3.1,1.7,.4,2)-.5)*2*(0,d.smoothstep)(0,1.2,l)*((e=i.lid)<0?0:e>1?1:e),h=!0}h&&(u=s)}let f=e.doing;f.hush=_(f.hush,c.hush,.15,r),f.crust=_(f.crust,c.crust,.1,r),e.crust=f.crust;let m=e.head,y=m.yaw,M=u!==b?.045:s<.99?.3:.6;m.spin=u.spin+Math.atan2(Math.sin(m.spin-u.spin),Math.cos(m.spin-u.spin)),u.spin&&(m.axis=u.axis),m.x=_(m.x,u.x,M,r),m.y=_(m.y,u.y,M,r),m.rot=_(m.rot,u.rot,M,r),m.yaw=_(m.yaw,u.yaw,M,r),m.pitch=_(m.pitch,u.pitch,M,r),m.spin=_(m.spin,u.spin,M,r),m.sx=_(m.sx,u.sx,M,r),m.sy=_(m.sy,u.sy,M,r),e.yawV=(m.yaw-y)/Math.max(r,.001);let x=e.smoke;e.yawSlow=_(e.yawSlow,m.yaw,.3,r);let w=1-Math.exp(-r/.12);return(x.x+=(m.x+.25*Math.sin(e.yawSlow)-x.x)*w,x.y+=(m.y-x.y)*w,x.rot+=(m.rot-x.rot)*w,x.sx+=(m.sx-x.sx)*w,x.sy+=(m.sy-x.sy)*w,e.moved=!(E(m)&&E(x)),e.turned=Math.abs(m.yaw)+Math.abs(m.pitch)+Math.abs(m.spin)>1e-4,e.moved&&function(e,t,a){let r=t.cells,n=e.head;{let t=Math.cos(n.rot),l=Math.sin(n.rot),i=n.x*a,o=n.y*a,s=e.turned?function(e){let t=Math.cos(e.yaw),a=Math.sin(e.yaw),r=Math.cos(e.pitch),n=Math.sin(e.pitch),l=[t,a*n,a*r,0,r,-n,-a,t*n,t*r];if(!e.spin)return l;let i=Math.sin(e.axis),o=Math.cos(e.axis),s=Math.cos(e.spin),h=Math.sin(e.spin),u=1-s,c=[s+i*i*u,i*o*u,o*h,i*o*u,s+o*o*u,-i*h,-o*h,i*h,s],d=Array(9);for(let e=0;e<3;e++)for(let t=0;t<3;t++)d[3*e+t]=c[3*e]*l[t]+c[3*e+1]*l[3+t]+c[3*e+2]*l[6+t];return d}(n):null,h=a*a;for(let a=0;a<r.length;a++){let u=r[a].dx-i,c=r[a].dy-o,d=(u*t+c*l)/n.sx,f=(-u*l+c*t)/n.sy;if(e.px[a]=d,e.py[a]=f,e.pd[a]=Math.hypot(d,f),s){let t=Math.sqrt(Math.max(0,h-d*d-f*f));e.hx[a]=s[0]*d+s[3]*f+s[6]*t,e.hy[a]=s[1]*d+s[4]*f+s[7]*t,e.hz[a]=s[2]*d+s[5]*f+s[8]*t}else e.hx[a]=d,e.hy[a]=f,e.hz[a]=1}}let l=e.smoke,i=Math.cos(l.rot),o=Math.sin(l.rot),s=l.x*a,h=l.y*a;for(let t=0;t<r.length;t++){let a=r[t].dx-s,n=r[t].dy-h;e.sx[t]=(a*i+n*o)/l.sx,e.sy[t]=(-a*o+n*i)/l.sy}}(e,t,o),function(e,t,a,r){let n=e.parts;if(!n.length&&!e.live)return;e.calm<.02&&(n.length=0),e.thick.fill(0),e.top.fill(0),e.keep.fill(0);let l=0;for(let i of n){if(i.age+=r,i.age>=i.life)continue;let o=i.x,s=i.y,h=i.keep**r;i.vx*=h,i.vy*=h,i.vy+=(i.fall-i.rise*Math.min(1,i.age/i.riseT))*r,i.splay&&(i.vx+=(0===i.vx?i.seed%2<1?-1:1:Math.sign(i.vx))*i.splay*Math.min(1,i.age/.8)*r),i.wall&&function(e,t){let a=Math.hypot(e.x,e.y);if(a>.94*e.wall){let r=e.x/a,n=e.y/a,l=-n,i=e.vx*r+e.vy*n;if(!e.side){let t=e.vx*l+e.vy*r;e.side=Math.abs(t)>1?Math.sign(t):e.seed%2<1?-1:1}a>e.wall&&i>0&&(e.vx+=-i*r+e.side*i*.85*l,e.vy+=-i*n+e.side*i*.85*r);let o=120*Math.max(0,1-e.age/3.2);e.vx+=e.side*l*o*t,e.vy+=e.side*r*o*t,a>e.wall&&(e.x-=r*(a-e.wall)*.5,e.y-=n*(a-e.wall)*.5),e.hitAt<0&&(e.hitAt=e.age)}if(e.hitAt>=0&&e.age-e.hitAt>e.peel&&a>1){e.peeled||(e.peeled=!0,e.rise=Math.min(e.rise,14));let r=1.2*(a-e.home)*Math.min(1,(e.age-e.hitAt-e.peel)/.6);e.vx-=e.x/a*r*t,e.vy-=e.y/a*r*t}}(i,r);let u=0,c=0;if(i.curl){let e=i.curl*Math.min(1,i.age/.4);!function(e,t,a){let r=.011*e,n=.011*t,l=.3*a;R.x=(p(r,n+.25,l)-p(r,n-.25,l))/.5,R.y=-(p(r+.25,n,l)-p(r-.25,n,l))/.5}(i.x+7*i.seed,i.y,a),u=R.x*e,c=R.y*e}i.x+=(i.vx+u)*r,i.y+=(i.vy+c)*r;let f=i.a*(1-(i.age/i.life)**i.fadeP)*(0,d.smoothstep)(0,.06,i.age)*e.calm,m=i.r0+(i.r1-i.r0)*(1-Math.exp(-i.age/i.grow)),g=Math.min(4,Math.max(1,Math.ceil(Math.hypot(i.x-o,i.y-s)/7)));for(let a=1;a<=g;a++)!function(e,t,a,r,n,l,i,o){let s=Math.min(70,n+9),h=(a+t.half)/t.cw,u=(r+t.half)/t.ch,c=s/t.cw,d=s/t.ch,f=Math.max(0,Math.floor(h-c)),m=Math.min(t.cols-1,Math.ceil(h+c)),p=Math.max(0,Math.floor(u-d)),g=Math.min(t.rows-1,Math.ceil(u+d)),y=1/(s*s),M=t.cells;for(let n=p;n<=g;n++)for(let s=f;s<=m;s++){let h=t.at[n*t.cols+s];if(h<0)continue;let u=M[h].dx-a,c=M[h].dy-r,d=1-(u*u+c*c)*y;if(d<=0)continue;let f=l*d*d;e.thick[h]+=f-e.thick[h]*f,f>e.top[h]&&(e.top[h]=f,e.kind[h]=i),o>e.keep[h]&&(e.keep[h]=o)}}(e,t,o+(i.x-o)*a/g,s+(i.y-s)*a/g,m,f/Math.sqrt(g),i.kind,i.hold);n[l++]=i}n.length=l,e.live=l>0}(e,t,a,r),i&&u!==b)?{...i,gaze:[i.gaze[0]+u.gx,i.gaze[1]+u.gy],lids:[u.lidL,u.lidR],size:u.size}:i}(l,eu,G,et,eF,eV,eI,eK,eD),n.hush=l.doing.hush,q(n,G,et,ez,ej,eP,null===eF||null!==(c=eF)&&!0===A[c.items[0].key].sighs);let eq=l.moved,eB=l.live||l.crust>.004||l.crusted>0,eW=w.current;for(let e=0;e<eW.length;e++){let t=eW[e];eq?(i.dx=l.hx[e],i.dy=l.hy[e],i.px=l.px[e],i.py=l.py[e],i.dist=l.pd[e],i.sx=l.sx[e],i.sy=l.sy[e]):(i.dx=i.px=i.sx=t.dx,i.dy=i.py=i.sy=t.dy,i.dist=t.dist);let a=function(e,t,a,r,n,l,i,o,s,h){let u,c,f,m,p=i.scale>.02?W(t,a,i.lift,170*1.08*i.scale,i.scale,s,h)*(1-.6*i.speech):0;return i.gather>.01&&(p+=function(e,t,a){let r=170*a;if(e.speck>=.55||e.dist<.8*r)return 0;let n=Math.min(55,Math.floor((e.angle+Math.PI)/(2*Math.PI)*56)),l=(.7*t+(0,d.hash)(n,5.3))%1,i=e.dist-(r+(320-r)*(1-l)**1.25)-(e.grain-.5)*16;return Math.exp(-(i*i)/260)*(0,d.smoothstep)(0,.2,l)*(1-l)*1.1}(e,a,i.scale)*i.gather),i.comet>.01&&(p+=(c=Math.exp(-((u=e.dist-210)*u)/1100),c*Math.exp(-((m=Math.atan2(Math.sin(f=e.angle-3*a),Math.cos(f)))*m)/(m<0?2.8:.16))*i.comet)),i.speech>.01&&(p+=function(e,t,a,r){var n;let l=170+40*a.phrase+85*a.bob;for(let t=0;t<4;t++)l+=28*a.amp[t]*Math.sin((t+2)*(e.angle+a.spin)+a.phase[t]);let i=170+(((n=l)<=205?Math.max(110,n):205+30*Math.tanh((n-205)/30))-170)*r,o=(e.grain-.5)*20+20*Math.sin(5*e.angle+.9*t+6.283*e.seed)*.3,s=e.dist-(i+o),h=Math.exp(-(s*s)/800)+.5*Math.exp(-(e.dist*e.dist)/6e3);if(e.dist<i&&(h+=.22*(1-e.dist/i)**.6*(.75+.25*Math.sin(.05*e.dist-1.2*t))),e.speck<.22){let r=90*(.6+.9*e.grain);for(let n=0;n<a.rings.length;n++){let l=a.rings[n],o=t-l.born,s=e.dist-(i+6+o*r);h+=Math.exp(-(s*s)/500)*l.power*Math.max(0,1-o/.7)}}return h}(e,a,o,i.speech)*i.speech),i.err>.01&&(p+=function(e,t,a){if(e.letter<0)return 0;let r=a%9.2,n=.12*e.seed;return Math.max(0,(0,d.smoothstep)(0,1,(r-.65*e.letter-n)/.8)-(0,d.smoothstep)(0,1,(r-5.6-.5*e.letter-n)/.7))*(.86+.14*Math.sin(3.5*t+6*e.seed))}(e,a,r)*i.err),i.word>.01&&(p+=function(e,t,a,r){if(e.word<0)return 0;let n=.45*e.seed,l=(0,d.smoothstep)(0,1,(a-.11*e.word-n)/.3),i=a-r-.08*e.word-n,o=(0,d.smoothstep)(0,1,i/.35),s=.2*(1-(0,d.smoothstep)(0,1,(i-.35)/.9));return Math.max(l-o,l>.5?s*o:0)*((l>0&&l<1||o>0&&s>0)&&.35>(0,d.hash)(Math.floor(14*t)+97*e.seed,31*e.grain)?.25:1)*(.86+.14*Math.sin(3.5*t+6*e.seed))}(e,a,n,l)*i.word),p}(t,i,G,f,eb,ew?.hold??3.4,ek,eg,n,eE);if(n.sigh.live){let e=H(i,G,eK,n)*ek.scale;e>a&&(a=e)}let r=!(eO&&t.letter>=0||eS&&t.word>=0),o=0,s=0,u=!1;if(eB&&r){let t=function(e,t,a,r,n,l,i){let o=t.cells[a];if(I.v=r,I.kind=0,I.hold=0,I.covers=!1,e.crust>.004||e.crusted>0){let t=e.moved?e.hx[a]:o.dx,r=e.moved?e.hy[a]:o.dy,n=e.moved?e.pd[a]:o.dist,s=1-(0,d.smoothstep)(.92*l,1.1*l,n),h=!1;if(s>.05){let a=.12+.76*g(.022*t+e.crustSeed,.022*r,2.7,2);(h=e.crust>a)&&(I.v=.42*(.5+.9*g(.09*t,.09*r,5.5,2))*s*i,I.kind=2,I.hold=.15,e.crustedNow++)}e.crustWas[a]&&!h&&.06>Math.random()&&function(e,t,a){let r=Math.sqrt(Math.max(0,a*a-t.dist*t.dist)),n=Math.max(-260,Math.min(260,e.yawV*r*.55)),l=90+80*Math.random();L(e,{...N,x:t.dx,y:t.dy,vx:n+t.cos*l,vy:t.sin*l-30,life:1+.7*Math.random(),a:.45+.25*Math.random(),r0:3,r1:18+12*Math.random(),grow:.6,keep:.3,fall:45,curl:35,kind:2,hold:0,fadeP:1.5}),.35>Math.random()&&L(e,{...N,x:t.dx,y:t.dy,vx:n+t.cos*(120+80*Math.random()),vy:t.sin*l-50,life:.6+.4*Math.random(),a:.9,r0:1.5,r1:2.5,grow:1,keep:.4,fall:300,curl:0,kind:2,hold:0,fadeP:1})}(e,o,l),e.crustWas[a]=+!!h}if(e.live){let t=e.thick[a];if(t>.02){let r=e.kind[a],l=t*i*(.6+.8*p(.04*o.dx+.3*n,.04*o.dy-.2*n,.5*n)),s=.1+.3*o.grain;l>s?(I.v=2===r?.5*(1-Math.exp(-1.5*l)):.3+.62*Math.min(1,l),I.kind=r,I.hold=.12,l>.45&&2===r&&(I.covers=!0)):e.keep[a]>0&&l>.5*s&&(I.kind=r,I.hold=e.keep[a]*(.5+o.grain))}}return I}(l,eu,e,a,G,eK,ek.scale);a=t.v,o=t.kind,s=t.hold,u=t.covers}r&&(a*=(.66+.72*t.grain)*(.8+.4*(0,d.hash)(Math.floor(.05*t.dx+.5*G),Math.floor(.05*t.dy-.3*G))))>.3&&(0,d.hash)(31.7*Math.floor(1.6*G),613*t.seed)>.992&&(a=Math.max(a,.9));let c=!r||o?0:h<42?m?Y(t.dx,t.dy,h,1,2.9,m.slot):0:X(t.dx,t.dy,h,42,3.2);if(o?(el.pool[e]=eo+o,el.poolFor[e]=s):c?(el.pool[e]=c,el.poolFor[e]=.3+.9*t.grain):el.poolFor[e]>0?(el.poolFor[e]-=et,el.poolFor[e]<=0&&(el.pool[e]=0)):el.pool[e]=0,eT>.03&&null!==eI&&r&&!u&&($=e,!l.turned||l.pd[$]<.985*eK&&l.hz[$]>0)&&function(e,t,a,r,n,l){if(r<=.03||n.lid<=.02)return!1;let i=a/112,o=i*l.size*(n.size??1);for(let s of[-1,1]){let h=n.lid*(n.lids?n.lids[s<0?0:1]:1);if(h<=.02)continue;let u=e-(44*s*i*l.gap+n.gaze[0]*a),c=t-(-20*i+n.gaze[1]*a+(n.fall??0)*51*o/2),d=Math.cos(n.tilt),f=Math.sin(n.tilt),m=u*d-c*f,p=51*o*h,y=(-(u*f+c*d)+p/2)/p;if(!(y<=0||y>=1||Math.abs(m- - -(2*(1-y)*y*1)*o)>38*o/2*Math.sin(Math.PI*y)**.35)&&!(r<.99&&r<.88*g(.026*u+3,.026*c,7.7,2)+.06))return!0}return!1}(eq?l.hx[e]:t.dx,eq?l.hy[e]:t.dy,eK,eT,eI,es)){el.fast[e]=0,el.slow[e]=0,el.pool[e]=0;continue}let y=el.fast[e]=a>el.fast[e]*eL?a:el.fast[e]*eL,M=el.slow[e]=a>el.slow[e]*eN?a:el.slow[e]*eN;a=y>.52*M?y:.52*M,r&&a<t.gap+.05*Math.sin(.28*G+6.283*t.seed)&&(a=0);let x=(a=a<0?0:a>1?1:a)*(d.RAMP.length-1)|0;if(0===x)continue;let w=h*e_+7*t.seed|0;(w!==el.turn[e]||x-el.wasLevel[e]>=2||el.wasLevel[e]-x>=2)&&(el.turn[e]=w,el.wasLevel[e]=x,el.pick[e]=(997*t.seed|0)+w+x);let b=el.pick[e],v="emojiOnly"===ec||"emoji"===ec&&t.emoji&&x>=d.EMOJI_MIN_LEVEL,A=el.pool[e]?ei[el.pool[e]-1]:null;if(v){let t=A?.emoji??d.EMOJI_POOL;el.glyph[e]=t[(b%t.length+t.length)%t.length],el.emoji[x][el.emojiN[x]++]=e}else{let t=A?A.ascii:d.RAMP[x];el.glyph[e]=t[(b%t.length+t.length)%t.length],el.ascii[x][el.asciiN[x]++]=e}}er.clearRect(0,0,ed,ed);let eH=w.current,eU=d.RAMP.length-1,eJ=F.current;for(let e=0;e<3;e++)eJ.cur[e]+=(eJ.target[e]-eJ.cur[e])*(1-.95**ey);er.fillStyle=`rgb(${0|eJ.cur[0]},${0|eJ.cur[1]},${0|eJ.cur[2]})`;for(let e=1;e<=eU;e++){let t=el.asciiN[e];if(0===t)continue;er.globalAlpha=d.ALPHA_TOP*(e/eU);let a=el.ascii[e];for(let e=0;e<t;e++){let t=eH[a[e]];er.fillText(el.glyph[a[e]],t.x,t.y)}}let eX="emojiOnly"===ec;for(let e=1;e<=eU;e++){let t=el.emojiN[e];if(0===t)continue;er.globalAlpha=(0,d.emojiAlpha)(e,eU,eX),eX&&(er.font=ee(r,e,eU));let a=el.emoji[e];for(let e=0;e<t;e++){let t=eH[a[e]];er.fillText(el.glyph[a[e]],t.x,t.y)}}eX&&(er.font=Z(r)),er.globalAlpha=1,t=requestAnimationFrame(B)};return t=requestAnimationFrame(B),()=>cancelAnimationFrame(t)},[]),(0,s.jsx)("canvas",{ref:y,className:e,"aria-hidden":!0,style:{display:"block",pointerEvents:"none"}})}e.s(["AsciiOrb",0,ec,"CHURN_ASCII",0,.4,"CHURN_EMOJI",0,.264,"DESIGN",0,680,"GLYPH_FONT",0,Z,"REST_R",0,170*1.08,"TRAIL_FAST",0,.085],387758);var ed=e.i(922521),ef=e.i(647163);let em={ending:"ending",idle:"idle",connecting:"connecting",listening:"idle",speaking:"speaking",working:"working",delegating:"working"},ep=[247,247,247],eg=[10,10,10];function ey({status:e,failed:t,word:a,size:r,getSpectrum:n,waking:l,className:i}){let o=(0,ed.useIsDark)();return(0,s.jsx)(ec,{mode:t?"error":em[e],word:a,size:r,color:o?ep:eg,getSpectrum:n,waking:l,className:i})}let eM=(0,h.memo)(function({status:e="idle",className:t,...a}){let r=(0,h.useRef)(null),[n,l]=(0,h.useState)(null),[i,o]=(0,h.useState)(!1);return(0,h.useEffect)(()=>{let e=r.current;if(!e)return;let t=new ResizeObserver(([e])=>{let t=Math.round(e.contentRect.width);t>0&&l(t)});return t.observe(e),()=>t.disconnect()},[]),(0,h.useEffect)(()=>{let e=requestAnimationFrame(()=>o(!0));return()=>cancelAnimationFrame(e)},[]),(0,s.jsx)("div",{ref:r,className:(0,ef.cn)("aspect-square transition-opacity duration-700 ease-out",i&&null!==n?"opacity-100":"opacity-0",t),children:null!==n&&(0,s.jsx)(ey,{...a,status:e,size:n})})});e.s(["Face",0,eM],333495)}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,457343,e=>{"use strict";var t=e.i(843476),s=e.i(867927),n=e.i(632781),a=e.i(648119),i=e.i(929272),r=e.i(759659),o=e.i(263676),l=e.i(271645),d=e.i(798120),c=e.i(167881),u=e.i(630374),x=e.i(463415),h=e.i(917162),m=e.i(660302),p=e.i(671428),f=e.i(41533),g=e.i(43374),j=e.i(95187);let b=(0,j.createServerReference)("7f48fe61fe223edd441e06c5a298c96193881538b1",j.callServer,void 0,j.findSourceMapURL,"clearFinishedThreadsAction"),k=(0,j.createServerReference)("7f6111468a06cf7a0bfaa23bd80358c4ce156af908",j.callServer,void 0,j.findSourceMapURL,"deleteThreadAction");var N=e.i(451888),w=e.i(635963),v=e.i(835878),y=e.i(222055),S=e.i(351866),T=e.i(978411),M=e.i(431594),D=e.i(895836),C=e.i(245629),R=e.i(609856),z=e.i(661504),A=e.i(283653),I=e.i(647163),$=e.i(399512);let O="w-36";function F({thread:e,bots:a,open:i,onOpen:r,onStop:o,onDelete:d}){let c="running"===e.status,u=(0,l.useMemo)(()=>(0,T.threadFromRow)(e,a),[e,a]),x=function(e){let t=e.room.questions[0];if(t)return{text:(0,I.plainText)(t.text),tone:I.WAITING_INK};if("waiting"===e.status&&e.ask)return{text:(0,N.isAppStop)(e.ask)?(0,I.plainText)(e.outcome??e.ask.question):e.ask.question,tone:I.WAITING_INK};let s=e.seen;if("cancelled"===e.status)return{text:"Stopped",tone:"text-muted-foreground"};if("done"===e.status)return{text:(0,I.plainText)(e.outcome??"Done"),tone:s?"text-muted-foreground":"text-foreground/80"};for(let t=e.lines.length-1;t>=0;t--){let s=e.lines[t];if("tool"===s.kind)return{text:s.note??s.input,tone:"text-muted-foreground",tool:s.name,shine:!0};if("text"===s.kind)return{text:s.text,tone:"text-muted-foreground",shine:!0};if("user"===s.kind)break}return{text:`${e.bot} is taking it on…`,tone:"text-muted-foreground italic",shine:!0}}(e),h=e.tokens.input+e.tokens.output;return(0,t.jsxs)("div",{className:(0,I.cn)("group/row relative transition-colors",i?"bg-muted/80":"hover:bg-muted/50"),children:[(0,t.jsxs)("div",{className:"flex items-center gap-3 p-4",children:[(0,t.jsxs)("button",{type:"button",onClick:r,className:"flex min-w-0 flex-1 items-center gap-3 rounded-md text-left outline-none focus-visible:ring-3 focus-visible:ring-ring/50 focus-visible:ring-inset",children:[(0,t.jsx)(w.BotMark,{size:40,seed:e.bot,...(0,w.markOf)(e.bot,a),state:c?"thinking":"idle",notify:(0,N.needsThreadReply)(e)||(0,N.isUnread)(e),crossed:"cancelled"===e.status,className:"shrink-0"}),(0,t.jsxs)("span",{className:"min-w-0 flex-1 space-y-0.5",children:[(0,t.jsxs)("span",{className:"flex items-center gap-2",children:[(0,t.jsx)("span",{className:"truncate text-sm font-medium",children:e.label}),e.routineId&&(0,t.jsx)("span",{title:"Started by a routine",className:"shrink-0",children:(0,t.jsx)(M.RoutineMark,{className:"size-3 text-muted-foreground/80"})}),(0,t.jsx)(v.BotRoster,{bots:u.roster}),c&&(0,t.jsx)(n.Loader2,{className:"size-3 shrink-0 animate-spin text-muted-foreground"})]}),x&&(0,t.jsxs)("span",{className:"flex min-w-0 items-center gap-1.5 text-[13px] leading-snug",children:[x.tool&&(0,t.jsx)("span",{className:"shrink-0 font-mono text-[11px] text-muted-foreground",children:x.tool}),x.shine?(0,t.jsx)(m.ShinyText,{text:x.text,speed:2.2,className:"min-w-0 truncate"}):(0,t.jsx)("span",{className:(0,I.cn)("min-w-0 truncate",x.tone),children:x.text})]})]}),(0,t.jsxs)("span",{className:(0,I.cn)("flex shrink-0 flex-col items-end gap-0.5 font-mono text-[11px] leading-4 text-muted-foreground tabular-nums",O),children:[(0,t.jsx)("span",{children:(0,C.whenOf)(e.updatedAt)}),(0,t.jsxs)("span",{className:"max-w-full truncate text-muted-foreground/70",title:h>0?`${e.id} \xb7 in ${(0,I.formatCount)(e.tokens.input)} \xb7 out ${(0,I.formatCount)(e.tokens.output)}`:e.id,children:[e.bot,h>0&&` \xb7 ${(0,I.formatCount)(h)}`]})]}),(0,t.jsx)(s.ChevronRight,{className:"size-4 shrink-0 text-muted-foreground"})]}),(0,t.jsx)(K,{thread:e,onStop:o,onDelete:d})]}),c&&(0,t.jsx)(B,{thread:e})]})}function K({thread:e,onStop:s,onDelete:n,className:o}){let l="running"===e.status||"waiting"===e.status;return(0,t.jsxs)(x.DropdownMenu,{children:[(0,t.jsx)(x.DropdownMenuTrigger,{render:(0,t.jsx)(c.Button,{size:"icon-sm",variant:"ghost","aria-label":"More",className:o}),children:(0,t.jsx)(a.MoreHorizontal,{})}),(0,t.jsxs)(x.DropdownMenuContent,{align:"end",children:[l&&(0,t.jsxs)(x.DropdownMenuItem,{onClick:s,children:[(0,t.jsx)(i.Square,{}),"Stop"]}),(0,t.jsxs)(x.DropdownMenuItem,{variant:"destructive",onClick:n,children:[(0,t.jsx)(r.Trash2,{}),"Delete"]})]})]})}function q({thread:e,whole:s,bots:n,onClose:a,onStop:i,onDelete:r}){let[d,x]=(0,l.useState)(null),h=(0,l.useCallback)(e=>{x(e?.closest("[data-slot=dialog-content]")??null)},[]),[m,f]=(0,l.useState)({}),g=(0,l.useMemo)(()=>e?(0,T.threadFromRow)(e,n):null,[e,n]),j=(0,l.useMemo)(()=>s?(0,T.threadFromRow)(s,n):g?.lines.length?g:null,[s,g,n]),b=e?m[e.id]??null:null;return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("span",{ref:h,hidden:!0}),(0,t.jsx)(u.Dialog,{open:!!(e&&d),onOpenChange:e=>!e&&a(),modal:!1,disablePointerDismissal:!0,children:(0,t.jsx)(u.DialogPortal,{container:d,children:(0,t.jsx)(u.DialogPopup,{className:"absolute inset-y-0 right-0 z-10 flex w-[min(35rem,calc(100%-13rem))] flex-col border-l border-border/60 bg-popover text-popover-foreground shadow-2xl shadow-black/10 duration-150 data-open:animate-in data-open:fade-in-0 data-open:slide-in-from-right-4 data-closed:animate-out data-closed:fade-out-0 data-closed:slide-out-to-right-4",children:e&&g&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{className:"flex shrink-0 items-center gap-2.5 pt-3.5 pr-3 pb-1.5 pl-5",children:[(0,t.jsx)(w.BotMark,{size:28,seed:e.bot,...(0,w.markOf)(e.bot,n),state:"running"===e.status?"thinking":"idle",notify:(0,N.needsThreadReply)(e),crossed:"cancelled"===e.status,className:"shrink-0"}),(0,t.jsxs)("div",{className:"min-w-0 flex-1",children:[(0,t.jsx)(u.DialogTitle,{className:"sr-only",children:e.label}),(0,t.jsx)("p",{className:"truncate text-[15px] leading-5 font-semibold",children:e.label}),(0,t.jsxs)("div",{className:"mt-0.5 flex min-w-0 items-center gap-2 font-mono text-[11px] text-muted-foreground",children:[(0,t.jsxs)("span",{title:e.id,className:"min-w-0 truncate",children:[e.bot," · ",(0,C.whenOf)(e.updatedAt)]}),(0,t.jsx)(S.ThreadFacts,{thread:g})]})]}),(0,t.jsx)(K,{thread:e,onStop:()=>i(e),onDelete:()=>r(e),className:"text-muted-foreground"}),(0,t.jsx)(u.DialogClose,{render:(0,t.jsx)(c.Button,{size:"icon-sm",variant:"ghost","aria-label":"Close the thread"}),children:(0,t.jsx)(o.X,{})})]}),j?(0,t.jsx)(S.Conversation,{thread:j,tab:b,onTab:t=>f(s=>({...s,[e.id]:t})),className:"max-h-none min-h-0 flex-1 px-5",tabsClassName:"px-5"}):(0,t.jsxs)("div",{className:"flex min-h-0 flex-1 flex-col gap-2 px-5 py-4",children:[(0,t.jsx)(p.Skeleton,{className:"h-3 w-4/5"}),(0,t.jsx)(p.Skeleton,{className:"h-3 w-3/5"}),(0,t.jsx)(p.Skeleton,{className:"h-3 w-2/3"})]}),(0,t.jsx)("div",{className:"shrink-0 px-5 pt-2 pb-4",children:(0,t.jsx)($.ThreadReply,{thread:{id:e.id,label:e.label,bot:e.bot,ask:e.ask,room:e.room},status:e.status,faces:g.roster,to:b??e.bot})})]})})})})]})}function B({thread:e}){let s=[];if(e.lines.forEach((t,n)=>{if("tool"!==t.kind)return;let a=e.lines[n+1];s.push({step:t,took:a?(0,C.toDate)(a.at).getTime()-(0,C.toDate)(t.at).getTime():null})}),0===s.length)return null;let a=(0,C.toDate)(e.updatedAt).getTime()-(0,C.toDate)(e.createdAt).getTime();return(0,t.jsxs)("div",{className:"pointer-events-none absolute top-[calc(100%-0.75rem)] left-17 z-20 hidden w-96 max-w-[calc(100%-5rem)] rounded-xl bg-background p-3 pb-2 shadow-xl shadow-black/10 ring-1 ring-border/60 group-hover/row:block",children:[(0,t.jsxs)("div",{className:"mb-1.5 flex items-center gap-2 font-mono text-[10px] text-muted-foreground",children:[(0,t.jsx)("span",{children:e.bot}),(0,t.jsx)("span",{className:"opacity-50",children:"·"}),(0,t.jsxs)("span",{children:[s.length," ",1===s.length?"step":"steps"]}),(0,t.jsx)("span",{className:"opacity-50",children:"·"}),(0,t.jsx)("span",{children:P(a)})]}),s.slice(-6).map(({step:e,took:s})=>{let a=(0,y.toolIcon)(e.name);return(0,t.jsxs)("div",{className:"flex h-5.5 items-center gap-2 font-mono text-[11px]",children:[null===s?(0,t.jsx)(n.Loader2,{className:"size-3 shrink-0 animate-spin text-muted-foreground"}):(0,t.jsx)(a,{className:"size-3 shrink-0 text-muted-foreground"}),(0,t.jsx)("span",{className:"w-24 shrink-0 truncate text-muted-foreground",children:e.name}),null===s?(0,t.jsx)(m.ShinyText,{text:e.note??e.input,speed:2.2,className:"min-w-0 flex-1 truncate"}):(0,t.jsx)("span",{className:"min-w-0 flex-1 truncate text-foreground",children:e.note??e.input}),(0,t.jsx)("span",{className:"w-10 shrink-0 text-right text-muted-foreground/70 tabular-nums",children:null===s?"":P(s)})]},e.id)})]})}function P(e){let t=Math.max(0,e)/1e3;if(t<10)return`${t.toFixed(1)}s`;if(t<60)return`${Math.round(t)}s`;let s=Math.floor(t/60);return`${s}m ${Math.round(t-60*s)}s`}function L(){return(0,t.jsxs)("div",{className:"flex items-center gap-3 p-4",children:[(0,t.jsx)(p.Skeleton,{className:"size-10 shrink-0 rounded-full"}),(0,t.jsxs)("span",{className:"min-w-0 flex-1 space-y-2",children:[(0,t.jsx)(p.Skeleton,{className:"h-3 w-40 max-w-full"}),(0,t.jsx)(p.Skeleton,{className:"h-2.5 w-80 max-w-full"})]}),(0,t.jsxs)("span",{className:(0,I.cn)("flex shrink-0 flex-col items-end gap-1.5",O),children:[(0,t.jsx)(p.Skeleton,{className:"h-2.5 w-12"}),(0,t.jsx)(p.Skeleton,{className:"h-2.5 w-24"})]}),(0,t.jsx)("span",{className:"size-4 shrink-0"}),(0,t.jsx)("span",{className:"size-7 shrink-0"})]})}e.s(["ThreadSetting",0,function(){let[e,s]=(0,l.useState)(null),[n,a]=(0,l.useState)(""),{data:i}=(0,A.useServerRoute)(d.queryKey.bot),{items:r,isLoading:o,isLoadingMore:u,error:x,hasMore:m,sentinelRef:p}=(0,z.useServerPages)({key:(e,t)=>{if(0===e)return d.queryKey.threadHistory(null);let s=t?.at(-1);return s?d.queryKey.threadHistory((0,C.toDate)(s.updatedAt).toISOString()):null},size:f.PAGE_SIZE}),j=r.find(t=>t.id===e),{data:w}=(0,A.useServerRoute)(e?d.queryKey.thread(e):null),v=w?.id===e?w:void 0;(0,T.useSeenOnDetail)(j);let[y]=(0,R.useServerAction)(g.cancelThreadAction,{onOk:e=>{(0,A.revalidate)(d.queryKey.threads),T.screenActs.announce({kind:"stopped",id:e.id,label:e.label})}}),[S]=(0,R.useServerAction)(k,{onOk:()=>(0,A.revalidate)(d.queryKey.threads)}),[M]=(0,R.useServerAction)(b,{onOk:()=>(0,A.revalidate)(d.queryKey.threads)}),I=n.trim().toLowerCase(),$=I?r.filter(e=>[e.label,e.outcome,e.bot].join(" ").toLowerCase().includes(I)):r,O=async()=>{await h.notify.confirm({title:"Clear finished jobs?",description:"Everything done or stopped goes, messages included. Running and waiting jobs stay.",okText:"Clear",destructive:!0})&&M()},K=async t=>{if(!await h.notify.confirm({title:`Delete "${t.label}"?`,description:"Its messages go with it — nothing can be picked back up.",okText:"Delete",destructive:!0}))return;let n=$.findIndex(e=>e.id===t.id),a=$[n+1]??$[n-1];try{await S(t.id)}catch{return}t.id===e&&s(a?.id??null)};if(o)return(0,t.jsx)(D.SettingSkeleton,{rows:3});if(x)return(0,t.jsx)(D.SettingError,{message:x.message});let B=r.filter(e=>"waiting"===e.status).length,P=r.filter(N.isUnread).length;return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(D.SettingScreen,{footer:(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)(D.SettingRailNote,{children:[r.length," shown",B>0&&` \xb7 ${B} waiting on you`,P>0&&` \xb7 ${P} new result${1===P?"":"s"}`]}),(m||r.some(e=>"done"===e.status||"cancelled"===e.status))&&(0,t.jsx)(c.Button,{variant:"outline",size:"sm",onClick:O,children:"Clear finished"})]}),children:(0,t.jsx)(D.SettingGroup,{filter:(0,t.jsx)(D.SettingFilter,{value:n,onChange:a,placeholder:"Filter by label, bot or word"}),right:I?`${$.length} of ${r.length}`:void 0,children:(0,t.jsxs)(D.SettingItems,{children:[0===$.length?(0,t.jsx)("p",{className:"p-4 text-sm leading-relaxed text-muted-foreground",children:I?"Nothing here matches. Keep scrolling to search further back.":"Nothing yet. When Thursday hands a job to a bot mid-call, it shows up here — while it runs, and after."}):$.map(e=>(0,t.jsx)(F,{thread:e,bots:i,open:e.id===j?.id,onOpen:()=>s(e.id),onStop:()=>y(e.id),onDelete:()=>K(e)},e.id)),(0,t.jsx)(D.SettingMore,{hasMore:m,loading:u,sentinelRef:p,ghost:(0,t.jsx)(L,{}),className:"divide-y divide-border/60"})]})})}),(0,t.jsx)(q,{thread:j,whole:v,bots:i,onClose:()=>s(null),onStop:e=>y(e.id),onDelete:K})]})}],457343)},648119,e=>{"use strict";var t=e.i(560972);e.s(["MoreHorizontal",()=>t.default])},759659,e=>{"use strict";var t=e.i(456420);let s={name:"trash",size:24,node:[["path",{d:"M10 11v6",key:"nco0om"}],["path",{d:"M14 11v6",key:"outv1u"}],["path",{d:"M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6",key:"miytrc"}],["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2",key:"e791ji"}]],aliases:["trash-2"]};s.node;let n=(0,t.default)(s);e.s(["Trash2",0,n],759659)}]);
|