thursday-agent 0.2.0 → 0.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.next/BUILD_ID +1 -1
- package/.next/app-path-routes-manifest.json +5 -2
- package/.next/build-manifest.json +3 -3
- package/.next/prerender-manifest.json +5 -5
- package/.next/routes-manifest.json +24 -6
- package/.next/server/app/_global-error/page.js +2 -2
- package/.next/server/app/_global-error/page.js.nft.json +1 -1
- package/.next/server/app/_global-error/page_client-reference-manifest.js +1 -1
- package/.next/server/app/_global-error.html +1 -1
- package/.next/server/app/_global-error.rsc +2 -2
- package/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +1 -1
- package/.next/server/app/_global-error.segments/_full.segment.rsc +2 -2
- package/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
- package/.next/server/app/_not-found/page.js +2 -2
- package/.next/server/app/_not-found/page.js.nft.json +1 -1
- package/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
- package/.next/server/app/_not-found.html +1 -1
- package/.next/server/app/_not-found.rsc +14 -14
- package/.next/server/app/_not-found.segments/_full.segment.rsc +14 -14
- package/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +12 -12
- package/.next/server/app/_not-found.segments/_tree.segment.rsc +2 -2
- package/.next/server/app/api/artifact/route.js +3 -3
- package/.next/server/app/api/artifact/route.js.nft.json +1 -1
- package/.next/server/app/api/bot/memory/files/route/app-paths-manifest.json +3 -0
- package/.next/server/app/api/bot/memory/files/route.js +10 -0
- package/.next/server/app/api/bot/memory/files/route.js.nft.json +1 -0
- package/.next/server/app/api/bot/memory/files/route_client-reference-manifest.js +3 -0
- package/.next/server/app/api/bot/memory/route/app-paths-manifest.json +3 -0
- package/.next/server/app/api/bot/memory/route.js +14 -0
- package/.next/server/app/api/bot/{notes → memory}/route.js.nft.json +1 -1
- package/.next/server/app/api/bot/memory/route_client-reference-manifest.js +3 -0
- package/.next/server/app/api/bot/route.js +6 -6
- package/.next/server/app/api/bot/route.js.nft.json +1 -1
- package/.next/server/app/api/bot/task/[id]/route.js +8 -8
- package/.next/server/app/api/bot/task/[id]/route.js.nft.json +1 -1
- package/.next/server/app/api/bot/task/route.js +8 -8
- package/.next/server/app/api/bot/task/route.js.nft.json +1 -1
- package/.next/server/app/api/config/route.js +5 -5
- package/.next/server/app/api/config/route.js.nft.json +1 -1
- package/.next/server/app/api/events/route.js +4 -5
- package/.next/server/app/api/events/route.js.nft.json +1 -1
- package/.next/server/app/api/file/[...path]/route.js +3 -3
- package/.next/server/app/api/file/[...path]/route.js.nft.json +1 -1
- package/.next/server/app/api/llm-model/catalog/route.js +9 -8
- package/.next/server/app/api/llm-model/catalog/route.js.nft.json +1 -1
- package/.next/server/app/api/llm-model/credits/route/app-paths-manifest.json +3 -0
- package/.next/server/app/api/llm-model/credits/route/build-manifest.json +12 -0
- package/.next/server/app/api/llm-model/credits/route/server-reference-manifest.json +4 -0
- package/.next/server/app/api/llm-model/credits/route.js +16 -0
- package/.next/server/app/api/llm-model/credits/route.js.map +5 -0
- package/.next/server/app/api/llm-model/credits/route.js.nft.json +1 -0
- package/.next/server/app/api/llm-model/credits/route_client-reference-manifest.js +3 -0
- package/.next/server/app/api/llm-model/route.js +10 -8
- package/.next/server/app/api/llm-model/route.js.nft.json +1 -1
- package/.next/server/app/api/llm-model/subscription/route/app-paths-manifest.json +3 -0
- package/.next/server/app/api/llm-model/subscription/route/build-manifest.json +12 -0
- package/.next/server/app/api/llm-model/subscription/route/server-reference-manifest.json +4 -0
- package/.next/server/app/api/llm-model/subscription/route.js +15 -0
- package/.next/server/app/api/llm-model/subscription/route.js.map +5 -0
- package/.next/server/app/api/llm-model/subscription/route.js.nft.json +1 -0
- package/.next/server/app/api/llm-model/subscription/route_client-reference-manifest.js +3 -0
- package/.next/server/app/api/mcp/[name]/route.js +4 -4
- package/.next/server/app/api/mcp/[name]/route.js.nft.json +1 -1
- package/.next/server/app/api/mcp/oauth/callback/route.js +5 -5
- package/.next/server/app/api/mcp/oauth/callback/route.js.nft.json +1 -1
- package/.next/server/app/api/mcp/route.js +4 -4
- package/.next/server/app/api/mcp/route.js.nft.json +1 -1
- package/.next/server/app/api/mcp/tools/route.js +4 -4
- package/.next/server/app/api/mcp/tools/route.js.nft.json +1 -1
- package/.next/server/app/api/memory/edit/route/app-paths-manifest.json +3 -0
- package/.next/server/app/api/memory/edit/route/build-manifest.json +12 -0
- package/.next/server/app/api/memory/edit/route/server-reference-manifest.json +4 -0
- package/.next/server/app/api/memory/edit/route.js +24 -0
- package/.next/server/app/api/memory/edit/route.js.map +5 -0
- package/.next/server/app/api/memory/edit/route.js.nft.json +1 -0
- package/.next/server/app/api/memory/{tidy → edit}/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/memory/route.js +6 -7
- package/.next/server/app/api/memory/route.js.nft.json +1 -1
- package/.next/server/app/api/skills/[source]/[name]/route.js +3 -3
- package/.next/server/app/api/skills/[source]/[name]/route.js.nft.json +1 -1
- package/.next/server/app/api/skills/route.js +3 -3
- package/.next/server/app/api/skills/route.js.nft.json +1 -1
- package/.next/server/app/api/thursday/call/route.js +9 -7
- package/.next/server/app/api/thursday/call/route.js.nft.json +1 -1
- package/.next/server/app/api/thursday/skills/route.js +9 -7
- package/.next/server/app/api/thursday/skills/route.js.nft.json +1 -1
- package/.next/server/app/api/thursday/tool-call/route.js +17 -15
- package/.next/server/app/api/thursday/tool-call/route.js.nft.json +1 -1
- package/.next/server/app/api/workspace/route.js +4 -5
- package/.next/server/app/api/workspace/route.js.nft.json +1 -1
- package/.next/server/app/artifact/[...path]/page/server-reference-manifest.json +1 -1
- package/.next/server/app/artifact/[...path]/page.js +5 -6
- 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 +3 -4
- package/.next/server/app/favicon.ico/route.js.nft.json +1 -1
- package/.next/server/app/favicon.ico.body +0 -0
- package/.next/server/app/page/server-reference-manifest.json +57 -90
- package/.next/server/app/page.js +10 -10
- package/.next/server/app/page.js.nft.json +1 -1
- package/.next/server/app/page_client-reference-manifest.js +1 -1
- package/.next/server/app-paths-manifest.json +5 -2
- package/.next/server/chunks/[externals]__0dzuk6_._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__01dkp4a._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__02va5wz._.js +1 -1
- package/.next/server/chunks/[root-of-the-server]__02xjoto._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__04q--0f._.js +8 -0
- package/.next/server/chunks/[root-of-the-server]__0bl-e63._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__0ce8nf8._.js +5 -0
- package/.next/server/chunks/[root-of-the-server]__0ffbg85._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__0j7z0r3._.js +12 -0
- package/.next/server/chunks/[root-of-the-server]__0jq4ohy._.js +8 -0
- package/.next/server/chunks/[root-of-the-server]__0ls6_8y._.js +8 -0
- package/.next/server/chunks/[root-of-the-server]__0ncs9uu._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__0pa2n68._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__0q0vvt2._.js +5 -0
- package/.next/server/chunks/[root-of-the-server]__1-ga0kh._.js +5 -0
- package/.next/server/chunks/[root-of-the-server]__11n256_._.js +5 -0
- package/.next/server/chunks/[root-of-the-server]__12cabg9._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__1339jnv._.js +8 -0
- package/.next/server/chunks/[root-of-the-server]__15bjnu5._.js +5 -0
- package/.next/server/chunks/[root-of-the-server]__18_teo8._.js +8 -0
- package/.next/server/chunks/[root-of-the-server]__1_04mcf._.js +5 -0
- package/.next/server/chunks/[root-of-the-server]__1anc1p9._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__1ccon1w._.js +5 -5
- package/.next/server/chunks/[root-of-the-server]__1fizn31._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__1llj3-b._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__1orn-5b._.js +12 -0
- package/.next/server/chunks/[root-of-the-server]__1p8m3f4._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__1wa1k7r._.js +8 -0
- package/.next/server/chunks/_0-73of8._.js +5 -5
- package/.next/server/chunks/_0-fjql4._.js +26 -0
- package/.next/server/chunks/_00xh_q0._.js +25 -0
- package/.next/server/chunks/_051qh8u._.js +3 -0
- package/.next/server/chunks/{node_modules_next_04q-o58._.js → _05dla15._.js} +2 -2
- package/.next/server/chunks/_05h2cii._.js +1 -1
- package/.next/server/chunks/_0c9j6rb._.js +49 -0
- package/.next/server/chunks/_0fzqt2y._.js +134 -0
- package/.next/server/chunks/{_0vnutv9._.js → _0ioz3nd._.js} +1 -1
- package/.next/server/chunks/_0iwfby5._.js +3 -0
- package/.next/server/chunks/_0mecv0f._.js +26 -0
- package/.next/server/chunks/_0mh8j4m._.js +3 -0
- package/.next/server/chunks/_0n74zsf._.js +4 -4
- package/.next/server/chunks/_0obojvv._.js +3 -0
- package/.next/server/chunks/_0recufk._.js +49 -0
- package/.next/server/chunks/_0rnf-6n._.js +4 -4
- package/.next/server/chunks/_0sb7tlz._.js +3 -0
- package/.next/server/chunks/_0u10wmw._.js +5 -5
- package/.next/server/chunks/_0u4aiy2._.js +3 -0
- package/.next/server/chunks/_0wp4le3._.js +1 -1
- package/.next/server/chunks/_0y5fg-x._.js +1 -1
- package/.next/server/chunks/_1230wbx._.js +10 -0
- package/.next/server/chunks/_12nheja._.js +3 -0
- package/.next/server/chunks/_13510xh._.js +3 -0
- package/.next/server/chunks/_15hq89o._.js +1 -1
- package/.next/server/chunks/_17l5ygt._.js +49 -0
- package/.next/server/chunks/_18-1wcc._.js +5 -5
- package/.next/server/chunks/_1_5mnq4._.js +4 -4
- package/.next/server/chunks/_1_9mjx-._.js +3 -0
- package/.next/server/chunks/{_0pppbb5._.js → _1c78vw5._.js} +166 -37
- package/.next/server/chunks/_1d0j961._.js +6 -0
- package/.next/server/chunks/_1d5zmy8._.js +1 -1
- package/.next/server/chunks/_1drgfx4._.js +4 -4
- package/.next/server/chunks/_1f46eie._.js +3 -0
- package/.next/server/chunks/_1h5_8sk._.js +3 -0
- package/.next/server/chunks/_1hdnxb7._.js +3 -0
- package/.next/server/chunks/_1j8k_j5._.js +3 -0
- package/.next/server/chunks/_1krd9rf._.js +3 -0
- package/.next/server/chunks/_1nc0eui._.js +11 -0
- package/.next/server/chunks/_1nula3v._.js +3 -0
- package/.next/server/chunks/_1pf4qe-._.js +3 -0
- package/.next/server/chunks/_1php4eq._.js +1 -1
- package/.next/server/chunks/_1qxheoa._.js +3 -0
- package/.next/server/chunks/_1x6kd1r._.js +3 -0
- package/.next/server/chunks/_1yuv4vp._.js +1 -1
- package/.next/server/chunks/_1zjrdag._.js +3 -0
- package/.next/server/chunks/_next-internal_server_app_api_bot_memory_files_route_actions_1_xd_8f.js +3 -0
- package/.next/server/chunks/_next-internal_server_app_api_bot_memory_route_actions_1a8xfr7.js +3 -0
- package/.next/server/chunks/_next-internal_server_app_api_llm-model_credits_route_actions_0v424pb.js +3 -0
- package/.next/server/chunks/_next-internal_server_app_api_llm-model_subscription_route_actions_0-udcm5.js +3 -0
- package/.next/server/chunks/_next-internal_server_app_api_memory_edit_route_actions_02sfnmr.js +3 -0
- package/.next/server/chunks/config_ts_1g4sz5o._.js +1 -1
- package/.next/server/chunks/features_0rpfxbk._.js +3 -0
- package/.next/server/chunks/features_1qf3cei._.js +3 -0
- package/.next/server/chunks/features_bot_0zt92oh._.js +3 -0
- package/.next/server/chunks/features_bot_bot_query_ts_12mgkl2._.js +3 -0
- package/.next/server/chunks/features_memory_1uqvksn._.js +6 -0
- package/.next/server/chunks/{node_modules_consola_dist_chunks_prompt_mjs_0a1rd09._.js → node_modules_consola_dist_chunks_prompt_mjs_0i7cvml._.js} +1 -1
- package/.next/server/chunks/{node_modules_consola_dist_chunks_prompt_mjs_06067w6._.js → node_modules_consola_dist_chunks_prompt_mjs_0icqaqw._.js} +1 -1
- package/.next/server/chunks/{node_modules_consola_dist_chunks_prompt_mjs_096ais_._.js → node_modules_consola_dist_chunks_prompt_mjs_0r28-sm._.js} +1 -1
- package/.next/server/chunks/{node_modules_consola_dist_chunks_prompt_mjs_02s3hjt._.js → node_modules_consola_dist_chunks_prompt_mjs_0v_7drq._.js} +1 -1
- package/.next/server/chunks/node_modules_consola_dist_chunks_prompt_mjs_1xoq2rl._.js +3 -0
- package/.next/server/chunks/{node_modules_consola_dist_chunks_prompt_mjs_0tvkfgh._.js → node_modules_consola_dist_chunks_prompt_mjs_1y49572._.js} +1 -1
- package/.next/server/chunks/ssr/[root-of-the-server]__092knlj._.js +3 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__09q9med._.js +1 -1
- package/.next/server/chunks/ssr/[root-of-the-server]__0hg5gib._.js +1 -1
- package/.next/server/chunks/ssr/[root-of-the-server]__0i8ie7f._.js +3 -0
- package/.next/server/chunks/ssr/{[root-of-the-server]__0jsmmb-._.js → [root-of-the-server]__0mz33a7._.js} +1 -1
- package/.next/server/chunks/ssr/[root-of-the-server]__0s9dq5u._.js +3 -0
- package/.next/server/chunks/ssr/{[root-of-the-server]__0m1b5ky._.js → [root-of-the-server]__0s9l2sv._.js} +1 -1
- package/.next/server/chunks/ssr/[root-of-the-server]__0tbkdlx._.js +3 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__0vnmv-s._.js +3 -0
- package/.next/server/chunks/ssr/{[root-of-the-server]__0f6s48x._.js → [root-of-the-server]__0xpcv9w._.js} +3 -3
- package/.next/server/chunks/ssr/[root-of-the-server]__0xsog8n._.js +3 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__0xtssj3._.js +1 -1
- package/.next/server/chunks/ssr/[root-of-the-server]__10-dz5o._.js +61 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__15_uhip._.js +3 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__16jc196._.js +1 -1
- package/.next/server/chunks/ssr/[root-of-the-server]__1gtlw6v._.js +43 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__1mzi-ju._.js +1 -1
- package/.next/server/chunks/ssr/[root-of-the-server]__1ox7hbk._.js +4 -0
- package/.next/server/chunks/ssr/{[root-of-the-server]__1qfqvmg._.js → [root-of-the-server]__202p40z._.js} +2 -2
- package/.next/server/chunks/ssr/{_1mznrxk._.js → _001_ms1._.js} +3 -3
- package/.next/server/chunks/ssr/_01n3o0m._.js +3 -0
- package/.next/server/chunks/ssr/_0ap2fzn._.js +3 -0
- package/.next/server/chunks/ssr/_0fz4mf_._.js +3 -0
- package/.next/server/chunks/ssr/_0gb4gmf._.js +3 -0
- package/.next/server/chunks/ssr/_0h42fze._.js +3 -0
- package/.next/server/chunks/ssr/_0h7zdni._.js +1 -1
- package/.next/server/chunks/ssr/_0i_6q1w._.js +41 -0
- package/.next/server/chunks/ssr/_0ilna52._.js +42 -0
- package/.next/server/chunks/ssr/_0n3toaw._.js +3 -0
- package/.next/server/chunks/ssr/{_13punpm._.js → _0q0zan6._.js} +2 -2
- package/.next/server/chunks/ssr/{_077-g6s._.js → _0s99bgb._.js} +3 -3
- package/.next/server/chunks/ssr/_0zcjrbg._.js +3 -0
- package/.next/server/chunks/ssr/_0zhoc3r._.js +3 -0
- package/.next/server/chunks/ssr/{_1lip4th._.js → _1-_etts._.js} +2 -2
- package/.next/server/chunks/ssr/_1-teee5._.js +3 -3
- package/.next/server/chunks/ssr/_13fke0x._.js +3 -0
- package/.next/server/chunks/ssr/_15j2_8f._.js +3 -0
- package/.next/server/chunks/ssr/_1b2mjwr._.js +3 -0
- package/.next/server/chunks/ssr/{_09ja_w1._.js → _1f-dg-6._.js} +2 -2
- package/.next/server/chunks/ssr/_1fojd41._.js +4 -0
- package/.next/server/chunks/ssr/_1gd8q8l._.js +3 -0
- package/.next/server/chunks/ssr/{_1m3bsfr._.js → _1h0rw11._.js} +2 -2
- package/.next/server/chunks/ssr/_1jhd09t._.js +3 -0
- package/.next/server/chunks/ssr/{_040sk32._.js → _1lz_cq2._.js} +84 -88
- package/.next/server/chunks/ssr/_1nnsk7z._.js +3 -0
- package/.next/server/chunks/ssr/_1sji22n._.js +3 -0
- package/.next/server/chunks/ssr/{_0x_nu5e._.js → _1vi_uo7._.js} +2 -2
- package/.next/server/chunks/ssr/_1vyd1ji._.js +1 -1
- package/.next/server/chunks/ssr/features_bot_1s_-2vj._.js +3 -0
- package/.next/server/chunks/ssr/features_config_components_config-setting_tsx_0xfwqdg._.js +1 -1
- package/.next/server/chunks/ssr/features_connectors_components_mcp-setting_tsx_0jmbgvp._.js +1 -1
- package/.next/server/chunks/ssr/{node_modules_0kxz4gt._.js → node_modules_00etblx._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_18_dk7_._.js → node_modules_04jf_m8._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_0_n241r._.js → node_modules_08dhkiq._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_0n1kj4p._.js → node_modules_0940ns5._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_17lrt3y._.js → node_modules_09q35v_._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_1toafc-._.js → node_modules_0_-_a--._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_0lrjk5t._.js → node_modules_0arus10._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_04n7mjs._.js → node_modules_0b__sgl._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_0iz1rzd._.js → node_modules_0cxaxk9._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_0ndvxub._.js → node_modules_0g7fzk3._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_0kl7-tn._.js → node_modules_0had7xd._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_19dp7ko._.js → node_modules_0pvd7q-._.js} +1 -1
- package/.next/server/chunks/ssr/node_modules_0x3-ply._.js +3 -0
- package/.next/server/chunks/ssr/{node_modules_1dwguw_._.js → node_modules_0yugy6m._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_004qlr4._.js → node_modules_14om4ar._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_1q0p85z._.js → node_modules_14q6g4n._.js} +1 -1
- package/.next/server/chunks/ssr/node_modules_17bwo43._.js +55 -0
- package/.next/server/chunks/ssr/{node_modules_1hd-5tv._.js → node_modules_198nmll._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_0m93zeg._.js → node_modules_1_pc9kq._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_1n5ygqe._.js → node_modules_1aaxuef._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_01qnv-a._.js → node_modules_1cx_ql6._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_1zu988w._.js → node_modules_1cz2hle._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_1xyd7ov._.js → node_modules_1efrqxi._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_13r44jq._.js → node_modules_1eg7m6c._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_08d8bke._.js → node_modules_1gdh31p._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_1hn8z1f._.js → node_modules_1hpopmo._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_20yebtj._.js → node_modules_1qpjvy5._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_09xhur7._.js → node_modules_1vh5ntv._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_@mermaid-js_parser_dist_chunks_mermaid-parser_core_0m9a4y0._.js → node_modules_@mermaid-js_parser_dist_chunks_mermaid-parser_core_1b748ic._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_@mermaid-js_parser_dist_chunks_mermaid-parser_core_13w_wy9._.js → node_modules_@mermaid-js_parser_dist_chunks_mermaid-parser_core_1z4hm5e._.js} +1 -1
- package/.next/server/chunks/ssr/node_modules_@vercel_oidc_dist_06mk8id._.js +3 -0
- package/.next/server/chunks/ssr/{node_modules_next_dist_0w6mzq5._.js → node_modules_next_dist_0drixxt._.js} +4 -4
- package/.next/server/chunks/ssr/node_modules_next_dist_1n3w9lb._.js +2 -2
- package/.next/server/instrumentation.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 +58 -91
- package/.next/static/chunks/00rd4-v8r7axp.js +1 -0
- package/.next/static/chunks/08qe4as2q428z.js +3 -0
- package/.next/static/chunks/{31ttnjt6g35a0.js → 0ev4hyghq0mbb.js} +1 -1
- package/.next/static/chunks/0fl3gwe4-l6tz.js +1 -0
- package/.next/static/chunks/0gnqdjn2lvdad.js +2 -0
- package/.next/static/chunks/0hwap1-p0m5sa.js +1 -0
- package/.next/static/chunks/0r5qcctujhxli.js +1 -0
- package/.next/static/chunks/0w52rrrmuj9r9.js +1 -0
- package/.next/static/chunks/{07kl352c-lvcz.js → 0wcprt5ot5she.js} +1 -1
- package/.next/static/chunks/10teww7wt-f6h.js +1 -0
- package/.next/static/chunks/15m575979un5f.js +38 -0
- package/.next/static/chunks/17p6tk6k88dq6.js +1 -0
- package/.next/static/chunks/{3_h9txt3tq8t8.js → 1dkjg87pxk0n9.js} +1 -1
- package/.next/static/chunks/1jd09sxcjddu1.js +1 -0
- package/.next/static/chunks/1kq8h8wi_e0bc.js +53 -0
- package/.next/static/chunks/{18vhba44l1fc9.js → 1w73ece_6bheu.js} +1 -1
- package/.next/static/chunks/{3ard_noqapnw1.js → 214ya3n5gxeih.js} +1 -1
- package/.next/static/chunks/22_zkas21rpna.js +1 -0
- package/.next/static/chunks/2h0sd2vumhb15.js +1 -0
- package/.next/static/chunks/2t4vhi3m8ahya.js +1 -0
- package/.next/static/chunks/2tigdtz3dpcy8.js +1 -0
- package/.next/static/chunks/2u7xt6mxg44lf.js +1 -0
- package/.next/static/chunks/39j0fvpybzabl.js +40 -0
- package/.next/static/chunks/3akmqm77muj4-.js +1 -0
- package/.next/static/chunks/3cq5g494yuke8.css +1 -0
- package/.next/static/chunks/3woj-xd7ki5_i.js +1 -0
- package/.next/static/chunks/3xk7yqgomx7yq.js +1 -0
- package/.next/static/chunks/3zmcsnuo25zvq.js +1 -0
- package/.next/static/media/favicon.37o1pjldwi2uc.ico +0 -0
- package/README.md +47 -22
- package/app/api/bot/memory/files/route.ts +14 -0
- package/app/api/bot/memory/route.ts +5 -0
- package/app/api/events/app-event.ts +3 -7
- package/app/api/llm-model/credits/route.ts +11 -0
- package/app/api/llm-model/route.ts +6 -1
- package/app/api/llm-model/subscription/route.ts +11 -0
- package/app/api/memory/edit/route.ts +7 -0
- package/app/api/memory/route.ts +21 -0
- package/app/api/query-key.ts +19 -4
- package/bin/port.mjs +65 -0
- package/bin/thursday.mjs +5 -33
- package/components/ui/shiny-text.tsx +48 -134
- package/database/migrations/{20260909060813_optimal_sabretooth → 20260910173049_numerous_spirit}/migration.sql +24 -34
- package/database/migrations/{20260909060813_optimal_sabretooth → 20260910173049_numerous_spirit}/snapshot.json +71 -145
- package/database/migrations/20260911030320_opposite_jack_power/migration.sql +1 -0
- package/database/migrations/{20260909063821_bitter_tenebrous → 20260911030320_opposite_jack_power}/snapshot.json +57 -184
- package/docs/how-it-works.md +11 -7
- package/docs/images/face-dark.png +0 -0
- package/docs/images/face-light.png +0 -0
- package/docs/images/keeps-going.png +0 -0
- package/features/ai/chatgpt.ts +639 -0
- package/features/ai/components/chatgpt-sign-in.tsx +66 -0
- package/features/ai/components/model-picker.tsx +17 -1
- package/features/ai/components/provider-icon.tsx +1 -0
- package/features/ai/load-tools.ts +78 -56
- package/features/ai/model.schema.ts +232 -34
- package/features/ai/model.ts +169 -24
- package/features/ai/prompts/bot.prompt.ts +207 -114
- package/features/ai/prompts/memory-edit.prompt.ts +33 -0
- package/features/ai/prompts/prompt-helper.ts +45 -26
- package/features/ai/prompts/thursday.prompt.ts +57 -27
- package/features/ai/tools/bot.tool.ts +35 -52
- package/features/ai/tools/connected.ts +17 -4
- package/features/ai/tools/memory.tool.ts +181 -117
- package/features/ai/tools/search.tool.ts +136 -47
- package/features/ai/tools/tool-name.ts +2 -6
- package/features/ai/tools/workspace.tool.ts +5 -1
- package/features/bot/bot.action.ts +14 -19
- package/features/bot/bot.memory.ts +89 -0
- package/features/bot/bot.query.ts +37 -57
- package/features/bot/bot.run.ts +512 -242
- package/features/bot/bot.runner.ts +434 -120
- package/features/bot/bot.schema.ts +104 -19
- package/features/bot/bot.seed.ts +89 -16
- package/features/bot/components/bot-mark.tsx +122 -20
- package/features/bot/components/bot-room.tsx +214 -132
- package/features/bot/components/bot-setting.tsx +790 -402
- package/features/bot/components/bot-tool.tsx +2 -7
- package/features/bot/components/mark-palette.tsx +54 -0
- package/features/bot/components/path-chips.tsx +1 -1
- package/features/bot/components/task-badge.tsx +26 -6
- package/features/bot/components/task-reply.tsx +22 -33
- package/features/bot/components/task-setting.tsx +20 -17
- package/features/bot/task.query.ts +240 -34
- package/features/bot/task.store.ts +76 -13
- package/features/config/components/config-setting.tsx +265 -34
- package/features/config/components/models-badge.tsx +42 -0
- package/features/config/config.action.ts +12 -0
- package/features/config/config.const.ts +38 -2
- package/features/connectors/mcp.manager.ts +10 -2
- package/features/intro/components/intro.tsx +47 -46
- package/features/memory/components/memory-edit.tsx +340 -0
- package/features/memory/components/memory-setting.tsx +75 -77
- package/features/memory/memory.action.ts +3 -43
- package/features/memory/memory.edit.ts +87 -0
- package/features/memory/memory.query.ts +24 -42
- package/features/memory/memory.schema.ts +29 -106
- package/features/settings/components/settings.tsx +2 -0
- package/features/settings/settings.alert.ts +3 -1
- package/features/thursday/components/ascii-orb.tsx +106 -90
- package/features/thursday/components/boot.tsx +7 -0
- package/features/thursday/components/call-log.tsx +219 -92
- package/features/thursday/components/face.tsx +6 -4
- package/features/thursday/components/tab-state.tsx +97 -0
- package/features/thursday/components/thursday-mark.tsx +4 -1
- package/features/thursday/components/thursday-setting.tsx +17 -47
- package/features/thursday/components/thursday.tsx +208 -98
- package/features/thursday/thursday.action.ts +12 -17
- package/features/thursday/thursday.query.ts +61 -70
- package/features/thursday/thursday.schema.ts +20 -7
- package/features/thursday/tool-line.ts +85 -12
- package/features/thursday/use-thursday.ts +87 -60
- package/features/workspace/components/file-view.tsx +4 -2
- package/features/workspace/workspace.ts +110 -26
- package/lib/limits.ts +1 -1
- package/lib/oauth-page.ts +27 -0
- package/lib/realtime/openai.ts +2 -2
- package/lib/realtime/realtime.protocol.ts +1 -1
- package/lib/realtime/realtime.tap.ts +122 -0
- package/lib/sandbox.ts +59 -36
- package/package.json +1 -1
- package/skills/browser/SKILL.md +55 -34
- package/.next/server/app/api/bot/notes/route/app-paths-manifest.json +0 -3
- package/.next/server/app/api/bot/notes/route.js +0 -14
- package/.next/server/app/api/bot/notes/route_client-reference-manifest.js +0 -3
- package/.next/server/app/api/memory/tidy/route/app-paths-manifest.json +0 -3
- package/.next/server/app/api/memory/tidy/route.js +0 -22
- package/.next/server/app/api/memory/tidy/route.js.nft.json +0 -1
- package/.next/server/chunks/0d-b_next_dist_server_app-render_after-task-async-storage_external_0-exn7p.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__0-npkh_._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__005var5._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__019dx9f._.js +0 -5
- package/.next/server/chunks/[root-of-the-server]__02_2sm-._.js +0 -5
- package/.next/server/chunks/[root-of-the-server]__04_8spk._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__05luceg._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__06t77t4._.js +0 -11
- package/.next/server/chunks/[root-of-the-server]__0bed6hu._.js +0 -8
- package/.next/server/chunks/[root-of-the-server]__0cro2dz._.js +0 -5
- package/.next/server/chunks/[root-of-the-server]__0dupqt7._.js +0 -5
- package/.next/server/chunks/[root-of-the-server]__0emr6go._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__0le4d-p._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__0m8ywyo._.js +0 -10
- package/.next/server/chunks/[root-of-the-server]__0nfuugi._.js +0 -5
- package/.next/server/chunks/[root-of-the-server]__0p32jfz._.js +0 -12
- package/.next/server/chunks/[root-of-the-server]__0phdgco._.js +0 -8
- package/.next/server/chunks/[root-of-the-server]__0wvgrsl._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__10qshki._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__11j52t0._.js +0 -5
- package/.next/server/chunks/[root-of-the-server]__1692zrv._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__16thabu._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__173nhwf._.js +0 -8
- package/.next/server/chunks/[root-of-the-server]__1_aoyr9._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__1bn73ih._.js +0 -10
- package/.next/server/chunks/[root-of-the-server]__1bqhuh9._.js +0 -8
- package/.next/server/chunks/[root-of-the-server]__1cqizfq._.js +0 -5
- package/.next/server/chunks/[root-of-the-server]__1e-ci13._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__1fboj2j._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__1lr7j9t._.js +0 -5
- package/.next/server/chunks/[root-of-the-server]__1oli73c._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__1txedx6._.js +0 -8
- package/.next/server/chunks/[root-of-the-server]__1untqv8._.js +0 -5
- package/.next/server/chunks/[root-of-the-server]__1zgpz1w._.js +0 -3
- package/.next/server/chunks/_00_584r._.js +0 -293
- package/.next/server/chunks/_012yhfm._.js +0 -39
- package/.next/server/chunks/_06mxlgn._.js +0 -3
- package/.next/server/chunks/_07rtlxv._.js +0 -3
- package/.next/server/chunks/_0a351g7._.js +0 -6
- package/.next/server/chunks/_0kjjmag._.js +0 -3
- package/.next/server/chunks/_0nn99o2._.js +0 -3
- package/.next/server/chunks/_0zuzmt_._.js +0 -39
- package/.next/server/chunks/_106co2o._.js +0 -3
- package/.next/server/chunks/_12bbv5i._.js +0 -100
- package/.next/server/chunks/_15q1pig._.js +0 -3
- package/.next/server/chunks/_19wg5yn._.js +0 -138
- package/.next/server/chunks/_1bt95p9._.js +0 -55
- package/.next/server/chunks/_1cbk7ms._.js +0 -26
- package/.next/server/chunks/_1drv2et._.js +0 -40
- package/.next/server/chunks/_1ic3bew._.js +0 -5
- package/.next/server/chunks/_1mxn_lb._.js +0 -3
- package/.next/server/chunks/_1rysr-r._.js +0 -10
- package/.next/server/chunks/_1u3rwbr._.js +0 -3
- package/.next/server/chunks/_1x7p319._.js +0 -6
- package/.next/server/chunks/_next-internal_server_app_api_bot_notes_route_actions_0qcsyu7.js +0 -3
- package/.next/server/chunks/_next-internal_server_app_api_memory_tidy_route_actions_0_cfuom.js +0 -3
- package/.next/server/chunks/features_bot_task_query_ts_11xuzl3._.js +0 -3
- package/.next/server/chunks/node_modules_consola_dist_chunks_prompt_mjs_0gzvgfv._.js +0 -3
- package/.next/server/chunks/node_modules_consola_dist_chunks_prompt_mjs_0vorg6w._.js +0 -3
- package/.next/server/chunks/node_modules_consola_dist_chunks_prompt_mjs_1tpvamf._.js +0 -3
- package/.next/server/chunks/node_modules_consola_dist_chunks_prompt_mjs_1vmaq9f._.js +0 -3
- package/.next/server/chunks/node_modules_consola_dist_chunks_prompt_mjs_1y9-wcr._.js +0 -3
- package/.next/server/chunks/ssr/[externals]_node_crypto_1kn79-7._.js +0 -3
- package/.next/server/chunks/ssr/[root-of-the-server]__0iuoa-r._.js +0 -3
- package/.next/server/chunks/ssr/[root-of-the-server]__0un-erv._.js +0 -4
- package/.next/server/chunks/ssr/[root-of-the-server]__1-mnhyd._.js +0 -92
- package/.next/server/chunks/ssr/[root-of-the-server]__1bww500._.js +0 -3
- package/.next/server/chunks/ssr/[root-of-the-server]__1vcdast._.js +0 -3
- package/.next/server/chunks/ssr/[root-of-the-server]__1xwnu-h._.js +0 -3
- package/.next/server/chunks/ssr/_0-mc7ro._.js +0 -3
- package/.next/server/chunks/ssr/_01p5r6-._.js +0 -3
- package/.next/server/chunks/ssr/_03webdr._.js +0 -3
- package/.next/server/chunks/ssr/_09-0k3z._.js +0 -3
- package/.next/server/chunks/ssr/_0f_b_9s._.js +0 -3
- package/.next/server/chunks/ssr/_0fafgvl._.js +0 -3
- package/.next/server/chunks/ssr/_0sf1isi._.js +0 -3
- package/.next/server/chunks/ssr/_0su6_08._.js +0 -3
- package/.next/server/chunks/ssr/_0ti51xc._.js +0 -3
- package/.next/server/chunks/ssr/_0w5bgak._.js +0 -3
- package/.next/server/chunks/ssr/_0y84qo6._.js +0 -3
- package/.next/server/chunks/ssr/_1ciyoo3._.js +0 -3
- package/.next/server/chunks/ssr/_1e-dgz0._.js +0 -4
- package/.next/server/chunks/ssr/_1fq7zgb._.js +0 -3
- package/.next/server/chunks/ssr/_1g6l4uj._.js +0 -3
- package/.next/server/chunks/ssr/_1ruzehw._.js +0 -3
- package/.next/server/chunks/ssr/features_bot_components_bot-setting_tsx_01ajft6._.js +0 -4
- package/.next/server/chunks/ssr/features_config_components_14jqgy4._.js +0 -3
- package/.next/server/chunks/ssr/features_memory_components_memory-setting_tsx_0oa43sw._.js +0 -4
- package/.next/server/chunks/ssr/node_modules_zod_v4_classic_external_15fmmz3.js +0 -55
- package/.next/static/chunks/05b6nx_o3_f_n.js +0 -1
- package/.next/static/chunks/0dmns-gi0raa4.js +0 -1
- package/.next/static/chunks/0f9sq-7q_yxyl.js +0 -1
- package/.next/static/chunks/0oc4_xoia77dg.css +0 -1
- package/.next/static/chunks/0pheo8m3a-rzi.js +0 -1
- package/.next/static/chunks/19i8h2t-5evjx.js +0 -1
- package/.next/static/chunks/1c5fcj473025q.js +0 -1
- package/.next/static/chunks/1pi_hbmjw-f-z.js +0 -1
- package/.next/static/chunks/1twt6k09vg4np.js +0 -1
- package/.next/static/chunks/1ytnip8wdng93.js +0 -1
- package/.next/static/chunks/28gotuisldmom.js +0 -1
- package/.next/static/chunks/2998p0y7k1c8z.js +0 -3
- package/.next/static/chunks/29gyb3nubj51j.js +0 -53
- package/.next/static/chunks/2l233xfycjpd8.js +0 -1
- package/.next/static/chunks/2p5n7pa3c40t-.js +0 -2
- package/.next/static/chunks/2ru1q132af7h7.js +0 -1
- package/.next/static/chunks/2t8wqycwg3y04.js +0 -2
- package/.next/static/chunks/2uxum7qbyeyxd.js +0 -1
- package/.next/static/chunks/32z_ypgtchw48.js +0 -1
- package/.next/static/chunks/33pyjb3xd1iez.js +0 -1
- package/.next/static/chunks/3omud5xunrk1f.js +0 -1
- package/.next/static/chunks/42dnrkbph9e-1.js +0 -1
- package/.next/static/media/favicon.2vob68tjqpejf.ico +0 -0
- package/database/migrations/20260909063821_bitter_tenebrous/migration.sql +0 -1
- package/features/ai/prompts/memory-tidy.prompt.ts +0 -129
- package/features/ai/tools/tidy.tool.ts +0 -22
- package/features/bot/bot.notes.ts +0 -120
- package/features/memory/components/memory-tidy.tsx +0 -395
- package/features/memory/components/memory-view.tsx +0 -84
- package/features/memory/memory.tidy.ts +0 -332
- package/features/memory/tidy.query.ts +0 -135
- package/features/thursday/use-call-title.ts +0 -31
- /package/.next/server/app/api/bot/{notes → memory/files}/route/build-manifest.json +0 -0
- /package/.next/server/app/api/bot/{notes → memory/files}/route/server-reference-manifest.json +0 -0
- /package/.next/server/app/api/bot/{notes → memory/files}/route.js.map +0 -0
- /package/.next/server/app/api/{memory/tidy → bot/memory}/route/build-manifest.json +0 -0
- /package/.next/server/app/api/{memory/tidy → bot/memory}/route/server-reference-manifest.json +0 -0
- /package/.next/server/app/api/{memory/tidy → bot/memory}/route.js.map +0 -0
- /package/.next/static/{YR4NWcDDuzwLbTTU7U7Vr → kaTO0UHqF1bMnWgCDik2f}/_buildManifest.js +0 -0
- /package/.next/static/{YR4NWcDDuzwLbTTU7U7Vr → kaTO0UHqF1bMnWgCDik2f}/_clientMiddlewareManifest.js +0 -0
- /package/.next/static/{YR4NWcDDuzwLbTTU7U7Vr → kaTO0UHqF1bMnWgCDik2f}/_ssgManifest.js +0 -0
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,147701,747985,616816,e=>{"use strict";var t,n,r=e.i(843476);function i(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function a(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}var s,o,l,u,c,d,h,f,p,m,g,_,v,x,y,b,w,k,T,S,M,j,E,C,O,R,A={autoSleep:120,force3D:"auto",nullTargetWarn:1,units:{lineHeight:""}},P={duration:.5,overwrite:!1,delay:0},N=2*Math.PI,D=N/4,I=0,z=Math.sqrt,L=Math.cos,F=Math.sin,B=function(e){return"string"==typeof e},$=function(e){return"function"==typeof e},U=function(e){return"number"==typeof e},q=function(e){return void 0===e},H=function(e){return"object"==typeof e},K=function(e){return!1!==e},Y=function(){return"u">typeof window},V=function(e){return $(e)||B(e)},X="function"==typeof ArrayBuffer&&ArrayBuffer.isView||function(){},W=Array.isArray,G=/random\([^)]+\)/g,J=/,\s*/g,Q=/(?:-?\.?\d|\.)+/gi,Z=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,ee=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,et=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,en=/[+-]=-?[.\d]+/,er=/[^,'"\[\]\s]+/gi,ei=/^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i,ea={},es={},eo=function(e){return(es=ez(e,ea))&&nE},el=function(e,t){return console.warn("Invalid property",e,"set to",t,"Missing plugin? gsap.registerPlugin()")},eu=function(e,t){return!t&&console.warn(e)},ec=function(e,t){return e&&(ea[e]=t)&&es&&(es[e]=t)||ea},ed=function(){return 0},eh={suppressEvents:!0,isStart:!0,kill:!1},ef={suppressEvents:!0,kill:!1},ep={suppressEvents:!0},em={},eg=[],e_={},ev={},ex={},ey=30,eb=[],ew="",ek=function(e){var t,n,r=e[0];if(H(r)||$(r)||(e=[e]),!(t=(r._gsap||{}).harness)){for(n=eb.length;n--&&!eb[n].targetTest(r););t=eb[n]}for(n=e.length;n--;)e[n]&&(e[n]._gsap||(e[n]._gsap=new tH(e[n],t)))||e.splice(n,1);return e},eT=function(e){return e._gsap||ek(to(e))[0]._gsap},eS=function(e,t,n){return(n=e[t])&&$(n)?e[t]():q(n)&&e.getAttribute&&e.getAttribute(t)||n},eM=function(e,t){return(e=e.split(",")).forEach(t)||e},ej=function(e){return Math.round(1e5*e)/1e5||0},eE=function(e){return Math.round(1e7*e)/1e7||0},eC=function(e,t){var n=t.charAt(0),r=parseFloat(t.substr(2));return e=parseFloat(e),"+"===n?e+r:"-"===n?e-r:"*"===n?e*r:e/r},eO=function(e,t){for(var n=t.length,r=0;0>e.indexOf(t[r])&&++r<n;);return r<n},eR=function(){var e,t,n=eg.length,r=eg.slice(0);for(e_={},eg.length=0,e=0;e<n;e++)(t=r[e])&&t._lazy&&(t.render(t._lazy[0],t._lazy[1],!0)._lazy=0)},eA=function(e){return!!(e._initted||e._startAt||e.add)},eP=function(e,t,n,r){eg.length&&!w&&eR(),e.render(t,n,r||!!(w&&t<0&&eA(e))),eg.length&&!w&&eR()},eN=function(e){var t=parseFloat(e);return(t||0===t)&&(e+"").match(er).length<2?t:B(e)?e.trim():e},eD=function(e){return e},eI=function(e,t){for(var n in t)n in e||(e[n]=t[n]);return e},ez=function(e,t){for(var n in t)e[n]=t[n];return e},eL=function e(t,n){for(var r in n)"__proto__"!==r&&"constructor"!==r&&"prototype"!==r&&(t[r]=H(n[r])?e(t[r]||(t[r]={}),n[r]):n[r]);return t},eF=function(e,t){var n,r={};for(n in e)n in t||(r[n]=e[n]);return r},eB=function(e){var t,n=e.parent||T,r=e.keyframes?(t=W(e.keyframes),function(e,n){for(var r in n)r in e||"duration"===r&&t||"ease"===r||(e[r]=n[r])}):eI;if(K(e.inherit))for(;n;)r(e,n.vars.defaults),n=n.parent||n._dp;return e},e$=function(e,t){for(var n=e.length,r=n===t.length;r&&n--&&e[n]===t[n];);return n<0},eU=function(e,t,n,r,i){void 0===n&&(n="_first"),void 0===r&&(r="_last");var a,s=e[r];if(i)for(a=t[i];s&&s[i]>a;)s=s._prev;return s?(t._next=s._next,s._next=t):(t._next=e[n],e[n]=t),t._next?t._next._prev=t:e[r]=t,t._prev=s,t.parent=t._dp=e,t},eq=function(e,t,n,r){void 0===n&&(n="_first"),void 0===r&&(r="_last");var i=t._prev,a=t._next;i?i._next=a:e[n]===t&&(e[n]=a),a?a._prev=i:e[r]===t&&(e[r]=i),t._next=t._prev=t.parent=null},eH=function(e,t){e.parent&&(!t||e.parent.autoRemoveChildren)&&e.parent.remove&&e.parent.remove(e),e._act=0},eK=function(e,t){if(e&&(!t||t._end>e._dur||t._start<0))for(var n=e;n;)n._dirty=1,n=n.parent;return e},eY=function(e){for(var t=e.parent;t&&t.parent;)t._dirty=1,t.totalDuration(),t=t.parent;return e},eV=function(e,t,n,r){return e._startAt&&(w?e._startAt.revert(ef):e.vars.immediateRender&&!e.vars.autoRevert||e._startAt.render(t,!0,r))},eX=function(e){return e._repeat?eW(e._tTime,e=e.duration()+e._rDelay)*e:0},eW=function(e,t){var n=Math.floor(e=eE(e/t));return e&&n===e?n-1:n},eG=function(e,t){return(e-t._start)*t._ts+(t._ts>=0?0:t._dirty?t.totalDuration():t._tDur)},eJ=function(e){return e._end=eE(e._start+(e._tDur/Math.abs(e._ts||e._rts||1e-8)||0))},eQ=function(e,t){var n=e._dp;return n&&n.smoothChildTiming&&e._ts&&(e._start=eE(n._time-(e._ts>0?t/e._ts:-(((e._dirty?e.totalDuration():e._tDur)-t)/e._ts))),eJ(e),n._dirty||eK(n,e)),e},eZ=function(e,t){var n;if((t._time||!t._dur&&t._initted||t._start<e._time&&(t._dur||!t.add))&&(n=eG(e.rawTime(),t),(!t._dur||tr(0,t.totalDuration(),n)-t._tTime>1e-8)&&t.render(n,!0)),eK(e,t)._dp&&e._initted&&e._time>=e._dur&&e._ts){if(e._dur<e.duration())for(n=e;n._dp;)n.rawTime()>=0&&n.totalTime(n._tTime),n=n._dp;e._zTime=-1e-8}},e0=function(e,t,n,r){return t.parent&&eH(t),t._start=eE((U(n)?n:n||e!==T?te(e,n,t):e._time)+t._delay),t._end=eE(t._start+(t.totalDuration()/Math.abs(t.timeScale())||0)),eU(e,t,"_first","_last",e._sort?"_start":0),e3(t)||(e._recent=t),r||eZ(e,t),e._ts<0&&eQ(e,e._tTime),e},e1=function(e,t){return(ea.ScrollTrigger||el("scrollTrigger",t))&&ea.ScrollTrigger.create(t,e)},e2=function(e,t,n,r,i){return(t5(e,t,i),e._initted)?!n&&e._pt&&!w&&(e._dur&&!1!==e.vars.lazy||!e._dur&&e.vars.lazy)&&C!==tO.frame?(eg.push(e),e._lazy=[i,r],1):void 0:1},e5=function e(t){var n=t.parent;return n&&n._ts&&n._initted&&!n._lock&&(0>n.rawTime()||e(n))},e3=function(e){var t=e.data;return"isFromStart"===t||"isStart"===t},e6=function(e,t,n,r){var i,a,s,o=e.ratio,l=t<0||!t&&(!e._start&&e5(e)&&!(!e._initted&&e3(e))||(e._ts<0||e._dp._ts<0)&&!e3(e))?0:1,u=e._rDelay,c=0;if(u&&e._repeat&&(a=eW(c=tr(0,e._tDur,t),u),e._yoyo&&1&a&&(l=1-l),a!==eW(e._tTime,u)&&(o=1-l,e.vars.repeatRefresh&&e._initted&&e.invalidate())),l!==o||w||r||1e-8===e._zTime||!t&&e._zTime){if(!e._initted&&e2(e,t,r,n,c))return;for(s=e._zTime,e._zTime=t||1e-8*!!n,n||(n=t&&!s),e.ratio=l,e._from&&(l=1-l),e._time=0,e._tTime=c,i=e._pt;i;)i.r(l,i.d),i=i._next;t<0&&eV(e,t,n,!0),e._onUpdate&&!n&&tv(e,"onUpdate"),c&&e._repeat&&!n&&e.parent&&tv(e,"onRepeat"),(t>=e._tDur||t<0)&&e.ratio===l&&(l&&eH(e,1),n||w||(tv(e,l?"onComplete":"onReverseComplete",!0),e._prom&&e._prom()))}else e._zTime||(e._zTime=t)},e4=function(e,t,n){var r;if(n>t)for(r=e._first;r&&r._start<=n;){if("isPause"===r.data&&r._start>t)return r;r=r._next}else for(r=e._last;r&&r._start>=n;){if("isPause"===r.data&&r._start<t)return r;r=r._prev}},e7=function(e,t,n,r){var i=e._repeat,a=eE(t)||0,s=e._tTime/e._tDur;return s&&!r&&(e._time*=a/e._dur),e._dur=a,e._tDur=i?i<0?1e10:eE(a*(i+1)+e._rDelay*i):a,s>0&&!r&&eQ(e,e._tTime=e._tDur*s),e.parent&&eJ(e),n||eK(e.parent,e),e},e8=function(e){return e instanceof tY?eK(e):e7(e,e._dur)},e9={_start:0,endTime:ed,totalDuration:ed},te=function e(t,n,r){var i,a,s,o=t.labels,l=t._recent||e9,u=t.duration()>=1e8?l.endTime(!1):t._dur;return B(n)&&(isNaN(n)||n in o)?(a=n.charAt(0),s="%"===n.substr(-1),i=n.indexOf("="),"<"===a||">"===a)?(i>=0&&(n=n.replace(/=/,"")),("<"===a?l._start:l.endTime(l._repeat>=0))+(parseFloat(n.substr(1))||0)*(s?(i<0?l:r).totalDuration()/100:1)):i<0?(n in o||(o[n]=u),o[n]):(a=parseFloat(n.charAt(i-1)+n.substr(i+1)),s&&r&&(a=a/100*(W(r)?r[0]:r).totalDuration()),i>1?e(t,n.substr(0,i-1),r)+a:u+a):null==n?u:+n},tt=function(e,t,n){var r,i,a=U(t[1]),s=(a?2:1)+(e<2?0:1),o=t[s];if(a&&(o.duration=t[1]),o.parent=n,e){for(r=o,i=n;i&&!("immediateRender"in r);)r=i.vars.defaults||{},i=K(i.vars.inherit)&&i.parent;o.immediateRender=K(r.immediateRender),e<2?o.runBackwards=1:o.startAt=t[s-1]}return new ne(t[0],o,t[s+1])},tn=function(e,t){return e||0===e?t(e):t},tr=function(e,t,n){return n<e?e:n>t?t:n},ti=function(e,t){return B(e)&&(t=ei.exec(e))?t[1]:""},ta=[].slice,ts=function(e,t){return e&&H(e)&&"length"in e&&(!t&&!e.length||e.length-1 in e&&H(e[0]))&&!e.nodeType&&e!==S},to=function(e,t,n){var r;return k&&!t&&k.selector?k.selector(e):B(e)&&!n&&(M||!tR())?ta.call((t||j).querySelectorAll(e),0):W(e)?(void 0===r&&(r=[]),e.forEach(function(e){var t;return B(e)&&!n||ts(e,1)?(t=r).push.apply(t,to(e)):r.push(e)})||r):ts(e)?ta.call(e,0):e?[e]:[]},tl=function(e){return e=to(e)[0]||eu("Invalid scope")||{},function(t){var n=e.current||e.nativeElement||e;return to(t,n.querySelectorAll?n:n===e?eu("Invalid scope")||j.createElement("div"):e)}},tu=function(e){return e.sort(function(){return .5-Math.random()})},tc=function(e){if($(e))return e;var t=H(e)?e:{each:e},n=tF(t.ease),r=t.from||0,i=parseFloat(t.base)||0,a={},s=r>0&&r<1,o=isNaN(r)||s,l=t.axis,u=r,c=r;return B(r)?u=c=({center:.5,edges:.5,end:1})[r]||0:!s&&o&&(u=r[0],c=r[1]),function(e,s,d){var h,f,p,m,g,_,v,x,y,b=(d||t).length,w=a[b];if(!w){if(!(y="auto"===t.grid?0:(t.grid||[1,1e8])[1])){for(v=-1e8;v<(v=d[y++].getBoundingClientRect().left)&&y<b;);y<b&&y--}for(w=a[b]=[],h=o?Math.min(y,b)*u-.5:r%y,f=1e8===y?0:o?b*c/y-.5:r/y|0,v=0,x=1e8,_=0;_<b;_++)p=_%y-h,m=f-(_/y|0),w[_]=g=l?Math.abs("y"===l?m:p):z(p*p+m*m),g>v&&(v=g),g<x&&(x=g);"random"===r&&tu(w),w.max=v-x,w.min=x,w.v=b=(parseFloat(t.amount)||parseFloat(t.each)*(y>b?b-1:l?"y"===l?b/y:y:Math.max(y,b/y))||0)*("edges"===r?-1:1),w.b=b<0?i-b:i,w.u=ti(t.amount||t.each)||0,n=n&&b<0?tL(n):n}return b=(w[e]-w.min)/w.max||0,eE(w.b+(n?n(b):b)*w.v)+w.u}},td=function(e){var t=Math.pow(10,((e+"").split(".")[1]||"").length);return function(n){var r=eE(Math.round(parseFloat(n)/e)*e*t);return(r-r%1)/t+(U(n)?0:ti(n))}},th=function(e,t){var n,r,i=W(e);return!i&&H(e)&&(n=i=e.radius||1e8,e.values?(r=!U((e=to(e.values))[0]))&&(n*=n):e=td(e.increment)),tn(t,i?$(e)?function(t){return Math.abs((r=e(t))-t)<=n?r:t}:function(t){for(var i,a,s=parseFloat(r?t.x:t),o=parseFloat(r?t.y:0),l=1e8,u=0,c=e.length;c--;)(i=r?(i=e[c].x-s)*i+(a=e[c].y-o)*a:Math.abs(e[c]-s))<l&&(l=i,u=c);return u=!n||l<=n?e[u]:t,r||u===t||U(t)?u:u+ti(t)}:td(e))},tf=function(e,t,n,r){return tn(W(e)?!t:!0===n?(n=0,!1):!r,function(){return W(e)?e[~~(Math.random()*e.length)]:(r=(n=n||1e-5)<1?Math.pow(10,(n+"").length-2):1)&&Math.floor(Math.round((e-n/2+Math.random()*(t-e+.99*n))/n)*n*r)/r})},tp=function(e,t,n){return tn(n,function(n){return e[~~t(n)]})},tm=function(e){return e.replace(G,function(e){var t=e.indexOf("[")+1,n=e.substring(t||7,t?e.indexOf("]"):e.length-1).split(J);return tf(t?n:+n[0],t?0:+n[1],+n[2]||1e-5)})},tg=function(e,t,n,r,i){var a=t-e,s=r-n;return tn(i,function(t){return n+((t-e)/a*s||0)})},t_=function(e,t,n){var r,i,a,s=e.labels,o=1e8;for(r in s)(i=s[r]-t)<0==!!n&&i&&o>(i=Math.abs(i))&&(a=r,o=i);return a},tv=function(e,t,n){var r,i,a,s=e.vars,o=s[t],l=k,u=e._ctx;if(o)return r=s[t+"Params"],i=s.callbackScope||e,n&&eg.length&&eR(),u&&(k=u),a=r?o.apply(i,r):o.call(i),k=l,a},tx=function(e){return eH(e),e.scrollTrigger&&e.scrollTrigger.kill(!!w),1>e.progress()&&tv(e,"onInterrupt"),e},ty=[],tb=function(e){if(e)if(e=!e.name&&e.default||e,Y()||e.headless){var t=e.name,n=$(e),r=t&&!n&&e.init?function(){this._props=[]}:e,i={init:ed,render:nu,add:t0,kill:nd,modifier:nc,rawVars:0},a={targetTest:0,get:0,getSetter:na,aliases:{},register:0};if(tR(),e!==r){if(ev[t])return;eI(r,eI(eF(e,i),a)),ez(r.prototype,ez(i,eF(e,a))),ev[r.prop=t]=r,e.targetTest&&(eb.push(r),em[t]=1),t=("css"===t?"CSS":t.charAt(0).toUpperCase()+t.substr(1))+"Plugin"}ec(t,r),e.register&&e.register(nE,r,np)}else ty.push(e)},tw={aqua:[0,255,255],lime:[0,255,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,255],navy:[0,0,128],white:[255,255,255],olive:[128,128,0],yellow:[255,255,0],orange:[255,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[255,0,0],pink:[255,192,203],cyan:[0,255,255],transparent:[255,255,255,0]},tk=function(e,t,n){return(6*(e+=e<0?1:e>1?-1:0)<1?t+(n-t)*e*6:e<.5?n:3*e<2?t+(n-t)*(2/3-e)*6:t)*255+.5|0},tT=function(e,t,n){var r,i,a,s,o,l,u,c,d,h,f=e?U(e)?[e>>16,e>>8&255,255&e]:0:tw.black;if(!f){if(","===e.substr(-1)&&(e=e.substr(0,e.length-1)),tw[e])f=tw[e];else if("#"===e.charAt(0)){if(e.length<6&&(r=e.charAt(1),e="#"+r+r+(i=e.charAt(2))+i+(a=e.charAt(3))+a+(5===e.length?e.charAt(4)+e.charAt(4):"")),9===e.length)return[(f=parseInt(e.substr(1,6),16))>>16,f>>8&255,255&f,parseInt(e.substr(7),16)/255];f=[(e=parseInt(e.substr(1),16))>>16,e>>8&255,255&e]}else if("hsl"===e.substr(0,3))if(f=h=e.match(Q),t){if(~e.indexOf("="))return f=e.match(Z),n&&f.length<4&&(f[3]=1),f}else s=f[0]%360/360,o=f[1]/100,i=(l=f[2]/100)<=.5?l*(o+1):l+o-l*o,r=2*l-i,f.length>3&&(f[3]*=1),f[0]=tk(s+1/3,r,i),f[1]=tk(s,r,i),f[2]=tk(s-1/3,r,i);else f=e.match(Q)||tw.transparent;f=f.map(Number)}return t&&!h&&(r=f[0]/255,l=((u=Math.max(r,i=f[1]/255,a=f[2]/255))+(c=Math.min(r,i,a)))/2,u===c?s=o=0:(d=u-c,o=l>.5?d/(2-u-c):d/(u+c),s=(u===r?(i-a)/d+6*(i<a):u===i?(a-r)/d+2:(r-i)/d+4)*60),f[0]=~~(s+.5),f[1]=~~(100*o+.5),f[2]=~~(100*l+.5)),n&&f.length<4&&(f[3]=1),f},tS=function(e){var t=[],n=[],r=-1;return e.split(tj).forEach(function(e){var i=e.match(ee)||[];t.push.apply(t,i),n.push(r+=i.length+1)}),t.c=n,t},tM=function(e,t,n){var r,i,a,s,o="",l=(e+o).match(tj),u=t?"hsla(":"rgba(",c=0;if(!l)return e;if(l=l.map(function(e){return(e=tT(e,t,1))&&u+(t?e[0]+","+e[1]+"%,"+e[2]+"%,"+e[3]:e.join(","))+")"}),n&&(a=tS(e),(r=n.c).join(o)!==a.c.join(o)))for(s=(i=e.replace(tj,"1").split(ee)).length-1;c<s;c++)o+=i[c]+(~r.indexOf(c)?l.shift()||u+"0,0,0,0)":(a.length?a:l.length?l:n).shift());if(!i)for(s=(i=e.split(tj)).length-1;c<s;c++)o+=i[c]+l[c];return o+i[s]},tj=function(){var e,t="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3,4}){1,2}\\b";for(e in tw)t+="|"+e+"\\b";return RegExp(t+")","gi")}(),tE=/hsl[a]?\(/,tC=function(e){var t,n=e.join(" ");if(tj.lastIndex=0,tj.test(n))return t=tE.test(n),e[1]=tM(e[1],t),e[0]=tM(e[0],t,tS(e[1])),!0},tO=(h=Date.now,f=500,p=33,g=m=h(),_=1e3/240,v=1e3/240,x=[],y=function e(t){var n,r,i,a,l=h()-g,y=!0===t;if((l>f||l<0)&&(m+=l-p),g+=l,((n=(i=g-m)-v)>0||y)&&(a=++u.frame,c=i-1e3*u.time,u.time=i/=1e3,v+=n+(n>=_?4:_-n),r=1),y||(s=o(e)),r)for(d=0;d<x.length;d++)x[d](i,c,a,t)},u={time:0,frame:0,tick:function(){y(!0)},deltaRatio:function(e){return c/(1e3/(e||60))},wake:function(){E&&(!M&&Y()&&(j=(S=M=window).document||{},ea.gsap=nE,(S.gsapVersions||(S.gsapVersions=[])).push(nE.version),eo(es||S.GreenSockGlobals||!S.gsap&&S||{}),ty.forEach(tb)),l="u">typeof requestAnimationFrame&&requestAnimationFrame,s&&u.sleep(),o=l||function(e){return setTimeout(e,v-1e3*u.time+1|0)},R=1,y(2))},sleep:function(){(l?cancelAnimationFrame:clearTimeout)(s),R=0,o=ed},lagSmoothing:function(e,t){p=Math.min(t||33,f=e||1/0)},fps:function(e){_=1e3/(e||240),v=1e3*u.time+_},add:function(e,t,n){var r=t?function(t,n,i,a){e(t,n,i,a),u.remove(r)}:e;return u.remove(e),x[n?"unshift":"push"](r),tR(),r},remove:function(e,t){~(t=x.indexOf(e))&&x.splice(t,1)&&d>=t&&d--},_listeners:x}),tR=function(){return!R&&tO.wake()},tA={},tP=/^[\d.\-M][\d.\-,\s]/,tN=/["']/g,tD=function(e){for(var t,n,r,i={},a=e.substr(1,e.length-3).split(":"),s=a[0],o=1,l=a.length;o<l;o++)n=a[o],t=o!==l-1?n.lastIndexOf(","):n.length,r=n.substr(0,t),i[s]=isNaN(r)?r.replace(tN,"").trim():+r,s=n.substr(t+1).trim();return i},tI=function(e){var t=e.indexOf("(")+1,n=e.indexOf(")"),r=e.indexOf("(",t);return e.substring(t,~r&&r<n?e.indexOf(")",n+1):n)},tz=function(e){var t=(e+"").split("("),n=tA[t[0]];return n&&t.length>1&&n.config?n.config.apply(null,~e.indexOf("{")?[tD(t[1])]:tI(e).split(",").map(eN)):tA._CE&&tP.test(e)?tA._CE("",e):n},tL=function(e){return function(t){return 1-e(1-t)}},tF=function(e,t){return e&&($(e)?e:tA[e]||tz(e))||t},tB=function(e,t,n,r){void 0===n&&(n=function(e){return 1-t(1-e)}),void 0===r&&(r=function(e){return e<.5?t(2*e)/2:1-t((1-e)*2)/2});var i,a={easeIn:t,easeOut:n,easeInOut:r};return eM(e,function(e){for(var t in tA[e]=ea[e]=a,tA[i=e.toLowerCase()]=n,a)tA[i+("easeIn"===t?".in":"easeOut"===t?".out":".inOut")]=tA[e+"."+t]=a[t]}),a},t$=function(e){return function(t){return t<.5?(1-e(1-2*t))/2:.5+e((t-.5)*2)/2}},tU=function e(t,n,r){var i=n>=1?n:1,a=(r||(t?.3:.45))/(n<1?n:1),s=a/N*(Math.asin(1/i)||0),o=function(e){return 1===e?1:i*Math.pow(2,-10*e)*F((e-s)*a)+1},l="out"===t?o:"in"===t?function(e){return 1-o(1-e)}:t$(o);return a=N/a,l.config=function(n,r){return e(t,n,r)},l},tq=function e(t,n){void 0===n&&(n=1.70158);var r=function(e){return e?--e*e*((n+1)*e+n)+1:0},i="out"===t?r:"in"===t?function(e){return 1-r(1-e)}:t$(r);return i.config=function(n){return e(t,n)},i};eM("Linear,Quad,Cubic,Quart,Quint,Strong",function(e,t){var n=t<5?t+1:t;tB(e+",Power"+(n-1),t?function(e){return Math.pow(e,n)}:function(e){return e},function(e){return 1-Math.pow(1-e,n)},function(e){return e<.5?Math.pow(2*e,n)/2:1-Math.pow((1-e)*2,n)/2})}),tA.Linear.easeNone=tA.none=tA.Linear.easeIn,tB("Elastic",tU("in"),tU("out"),tU()),tX=2*(tV=1/2.75),tW=2.5*tV,tB("Bounce",function(e){return 1-tG(1-e)},tG=function(e){return e<tV?7.5625*e*e:e<tX?7.5625*Math.pow(e-1.5/2.75,2)+.75:e<tW?7.5625*(e-=2.25/2.75)*e+.9375:7.5625*Math.pow(e-2.625/2.75,2)+.984375}),tB("Expo",function(e){return Math.pow(2,10*(e-1))*e+e*e*e*e*e*e*(1-e)}),tB("Circ",function(e){return-(z(1-e*e)-1)}),tB("Sine",function(e){return 1===e?1:-L(e*D)+1}),tB("Back",tq("in"),tq("out"),tq()),tA.SteppedEase=tA.steps=ea.SteppedEase={config:function(e,t){void 0===e&&(e=1);var n=1/e,r=e+ +!t,i=+!!t,a=.99999999;return function(e){return((r*tr(0,a,e)|0)+i)*n}}},P.ease=tA["quad.out"],eM("onComplete,onUpdate,onStart,onRepeat,onReverseComplete,onInterrupt",function(e){return ew+=e+","+e+"Params,"});var tH=function(e,t){this.id=I++,e._gsap=this,this.target=e,this.harness=t,this.get=t?t.get:eS,this.set=t?t.getSetter:na},tK=function(){function e(e){this.vars=e,this._delay=+e.delay||0,(this._repeat=e.repeat===1/0?-2:e.repeat||0)&&(this._rDelay=e.repeatDelay||0,this._yoyo=!!e.yoyo||!!e.yoyoEase),this._ts=1,e7(this,+e.duration,1,1),this.data=e.data,k&&(this._ctx=k,k.data.push(this)),R||tO.wake()}var t=e.prototype;return t.delay=function(e){return e||0===e?(this.parent&&this.parent.smoothChildTiming&&this.startTime(this._start+e-this._delay),this._delay=e,this):this._delay},t.duration=function(e){return arguments.length?this.totalDuration(this._repeat>0?e+(e+this._rDelay)*this._repeat:e):this.totalDuration()&&this._dur},t.totalDuration=function(e){return arguments.length?(this._dirty=0,e7(this,this._repeat<0?e:(e-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur},t.totalTime=function(e,t){if(tR(),!arguments.length)return this._tTime;var n=this._dp;if(n&&n.smoothChildTiming&&this._ts){for(eQ(this,e),!n._dp||n.parent||eZ(n,this);n&&n.parent;)n.parent._time!==n._start+(n._ts>=0?n._tTime/n._ts:-((n.totalDuration()-n._tTime)/n._ts))&&n.totalTime(n._tTime,!0),n=n.parent;!this.parent&&this._dp.autoRemoveChildren&&(this._ts>0&&e<this._tDur||this._ts<0&&e>0||!this._tDur&&!e)&&e0(this._dp,this,this._start-this._delay)}return(this._tTime!==e||!this._dur&&!t||this._initted&&1e-8===Math.abs(this._zTime)||!this._initted&&this._dur&&e||!e&&!this._initted&&(this.add||this._ptLookup))&&(this._ts||(this._pTime=e),eP(this,e,t)),this},t.time=function(e,t){return arguments.length?this.totalTime(Math.min(this.totalDuration(),e+eX(this))%(this._dur+this._rDelay)||(e?this._dur:0),t):this._time},t.totalProgress=function(e,t){return arguments.length?this.totalTime(this.totalDuration()*e,t):this.totalDuration()?Math.min(1,this._tTime/this._tDur):this.rawTime()>=0&&this._initted?1:0},t.progress=function(e,t){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&!(1&this.iteration())?1-e:e)+eX(this),t):this.duration()?Math.min(1,this._time/this._dur):+(this.rawTime()>0)},t.iteration=function(e,t){var n=this.duration()+this._rDelay;return arguments.length?this.totalTime(this._time+(e-1)*n,t):this._repeat?eW(this._tTime,n)+1:1},t.timeScale=function(e,t){if(!arguments.length)return -1e-8===this._rts?0:this._rts;if(this._rts===e)return this;var n=this.parent&&this._ts?eG(this.parent._time,this):this._tTime;return this._rts=+e||0,this._ts=this._ps||-1e-8===e?0:this._rts,this.totalTime(tr(-Math.abs(this._delay),this.totalDuration(),n),!1!==t),eJ(this),eY(this)},t.paused=function(e){return arguments.length?(this._ps!==e&&(this._ps=e,e?(this._pTime=this._tTime||Math.max(-this._delay,this.rawTime()),this._ts=this._act=0):(tR(),this._ts=this._rts,this.totalTime(this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,1===this.progress()&&1e-8!==Math.abs(this._zTime)&&(this._tTime-=1e-8)))),this):this._ps},t.startTime=function(e){if(arguments.length){this._start=eE(e);var t=this.parent||this._dp;return t&&(t._sort||!this.parent)&&e0(t,this,this._start-this._delay),this}return this._start},t.endTime=function(e){return this._start+(K(e)?this.totalDuration():this.duration())/Math.abs(this._ts||1)},t.rawTime=function(e){var t=this.parent||this._dp;return t?e&&(!this._ts||this._repeat&&this._time&&1>this.totalProgress())?this._tTime%(this._dur+this._rDelay):this._ts?eG(t.rawTime(e),this):this._tTime:this._tTime},t.revert=function(e){void 0===e&&(e=ep);var t=w;return w=e,eA(this)&&(this.timeline&&this.timeline.revert(e),this.totalTime(-.01,e.suppressEvents)),"nested"!==this.data&&!1!==e.kill&&this.kill(),w=t,this},t.globalTime=function(e){for(var t=this,n=arguments.length?e:t.rawTime();t;)n=t._start+n/(Math.abs(t._ts)||1),t=t._dp;return!this.parent&&this._sat?this._sat.globalTime(e):n},t.repeat=function(e){return arguments.length?(this._repeat=e===1/0?-2:e,e8(this)):-2===this._repeat?1/0:this._repeat},t.repeatDelay=function(e){if(arguments.length){var t=this._time;return this._rDelay=e,e8(this),t?this.time(t):this}return this._rDelay},t.yoyo=function(e){return arguments.length?(this._yoyo=e,this):this._yoyo},t.seek=function(e,t){return this.totalTime(te(this,e),K(t))},t.restart=function(e,t){return this.play().totalTime(e?-this._delay:0,K(t)),this._dur||(this._zTime=-1e-8),this},t.play=function(e,t){return null!=e&&this.seek(e,t),this.reversed(!1).paused(!1)},t.reverse=function(e,t){return null!=e&&this.seek(e||this.totalDuration(),t),this.reversed(!0).paused(!1)},t.pause=function(e,t){return null!=e&&this.seek(e,t),this.paused(!0)},t.resume=function(){return this.paused(!1)},t.reversed=function(e){return arguments.length?(!!e!==this.reversed()&&this.timeScale(-this._rts||(e?-1e-8:0)),this):this._rts<0},t.invalidate=function(){return this._initted=this._act=0,this._zTime=-1e-8,this},t.isActive=function(){var e,t=this.parent||this._dp,n=this._start;return!!(!t||this._ts&&this._initted&&t.isActive()&&(e=t.rawTime(!0))>=n&&e<this.endTime(!0)-1e-8)},t.eventCallback=function(e,t,n){var r=this.vars;return arguments.length>1?(t?(r[e]=t,n&&(r[e+"Params"]=n),"onUpdate"===e&&(this._onUpdate=t)):delete r[e],this):r[e]},t.then=function(e){var t=this,n=t._prom;return new Promise(function(r){var i=$(e)?e:eD,a=function(){var e=t.then;t.then=null,n&&n(),$(i)&&(i=i(t))&&(i.then||i===t)&&(t.then=e),r(i),t.then=e};t._initted&&1===t.totalProgress()&&t._ts>=0||!t._tTime&&t._ts<0?a():t._prom=a})},t.kill=function(){tx(this)},e}();eI(tK.prototype,{_time:0,_start:0,_end:0,_tTime:0,_tDur:0,_dirty:0,_repeat:0,_yoyo:!1,parent:null,_initted:!1,_rDelay:0,_ts:1,_dp:0,ratio:0,_zTime:-1e-8,_prom:0,_ps:!1,_rts:1});var tY=function(e){function t(t,n){var r;return void 0===t&&(t={}),(r=e.call(this,t)||this).labels={},r.smoothChildTiming=!!t.smoothChildTiming,r.autoRemoveChildren=!!t.autoRemoveChildren,r._sort=K(t.sortChildren),T&&e0(t.parent||T,i(r),n),t.reversed&&r.reverse(),t.paused&&r.paused(!0),t.scrollTrigger&&e1(i(r),t.scrollTrigger),r}a(t,e);var n=t.prototype;return n.to=function(e,t,n){return tt(0,arguments,this),this},n.from=function(e,t,n){return tt(1,arguments,this),this},n.fromTo=function(e,t,n,r){return tt(2,arguments,this),this},n.set=function(e,t,n){return t.duration=0,t.parent=this,eB(t).repeatDelay||(t.repeat=0),t.immediateRender=!!t.immediateRender,new ne(e,t,te(this,n),1),this},n.call=function(e,t,n){return e0(this,ne.delayedCall(0,e,t),n)},n.staggerTo=function(e,t,n,r,i,a,s){return n.duration=t,n.stagger=n.stagger||r,n.onComplete=a,n.onCompleteParams=s,n.parent=this,new ne(e,n,te(this,i)),this},n.staggerFrom=function(e,t,n,r,i,a,s){return n.runBackwards=1,eB(n).immediateRender=K(n.immediateRender),this.staggerTo(e,t,n,r,i,a,s)},n.staggerFromTo=function(e,t,n,r,i,a,s,o){return r.startAt=n,eB(r).immediateRender=K(r.immediateRender),this.staggerTo(e,t,r,i,a,s,o)},n.render=function(e,t,n){var r,i,a,s,o,l,u,c,d,h,f,p,m=this._time,g=this._dirty?this.totalDuration():this._tDur,_=this._dur,v=e<=0?0:eE(e),x=this._zTime<0!=e<0&&(this._initted||!_);if(this!==T&&v>g&&e>=0&&(v=g),v!==this._tTime||n||x){if(m!==this._time&&_&&(v+=this._time-m,e+=this._time-m),r=v,d=this._start,l=!(c=this._ts),x&&(_||(m=this._zTime),(e||!t)&&(this._zTime=e)),this._repeat){if(f=this._yoyo,o=_+this._rDelay,this._repeat<-1&&e<0)return this.totalTime(100*o+e,t,n);if(r=eE(v%o),v===g?(s=this._repeat,r=_):((s=~~(h=eE(v/o)))&&s===h&&(r=_,s--),r>_&&(r=_)),h=eW(this._tTime,o),!m&&this._tTime&&h!==s&&this._tTime-h*o-this._dur<=0&&(h=s),f&&1&s&&(r=_-r,p=1),s!==h&&!this._lock){var y=f&&1&h,b=y===(f&&1&s);if(s<h&&(y=!y),m=y?0:v%_?_:v,this._lock=1,this.render(m||(p?0:eE(s*o)),t,!_)._lock=0,this._tTime=v,!t&&this.parent&&tv(this,"onRepeat"),this.vars.repeatRefresh&&!p&&(this.invalidate()._lock=1,h=s),m&&m!==this._time||!this._ts!==l||this.vars.onRepeat&&!this.parent&&!this._act||(_=this._dur,g=this._tDur,b&&(this._lock=2,m=y?_:-1e-4,this.render(m,!0),this.vars.repeatRefresh&&!p&&this.invalidate()),this._lock=0,!this._ts&&!l))return this}}if(this._hasPause&&!this._forcing&&this._lock<2&&(u=e4(this,eE(m),eE(r)))&&(v-=r-(r=u._start)),this._tTime=v,this._time=r,this._act=!!c,this._initted||(this._onUpdate=this.vars.onUpdate,this._initted=1,this._zTime=e,m=0),!m&&v&&_&&!t&&!h&&(tv(this,"onStart"),this._tTime!==v))return this;if(r>=m&&e>=0)for(i=this._first;i;){if(a=i._next,(i._act||r>=i._start)&&i._ts&&u!==i){if(i.parent!==this)return this.render(e,t,n);if(i.render(i._ts>0?(r-i._start)*i._ts:(i._dirty?i.totalDuration():i._tDur)+(r-i._start)*i._ts,t,n),r!==this._time||!this._ts&&!l){u=0,a&&(v+=this._zTime=-1e-8);break}}i=a}else{i=this._last;for(var k=e<0?e:r;i;){if(a=i._prev,(i._act||k<=i._end)&&i._ts&&u!==i){if(i.parent!==this)return this.render(e,t,n);if(i.render(i._ts>0?(k-i._start)*i._ts:(i._dirty?i.totalDuration():i._tDur)+(k-i._start)*i._ts,t,n||w&&eA(i)),r!==this._time||!this._ts&&!l){u=0,a&&(v+=this._zTime=k?-1e-8:1e-8);break}}i=a}}if(u&&!t&&(this.pause(),u.render(r>=m?0:-1e-8)._zTime=r>=m?1:-1,this._ts))return this._start=d,eJ(this),this.render(e,t,n);this._onUpdate&&!t&&tv(this,"onUpdate",!0),(v===g&&this._tTime>=this.totalDuration()||!v&&m)&&(d===this._start||Math.abs(c)!==Math.abs(this._ts))&&!this._lock&&((e||!_)&&(v===g&&this._ts>0||!v&&this._ts<0)&&eH(this,1),t||e<0&&!m||!v&&!m&&g||(tv(this,v===g&&e>=0?"onComplete":"onReverseComplete",!0),this._prom&&!(v<g&&this.timeScale()>0)&&this._prom()))}return this},n.add=function(e,t){var n=this;if(U(t)||(t=te(this,t,e)),!(e instanceof tK)){if(W(e))return e.forEach(function(e){return n.add(e,t)}),this;if(B(e))return this.addLabel(e,t);if(!$(e))return this;e=ne.delayedCall(0,e)}return this!==e?e0(this,e,t):this},n.getChildren=function(e,t,n,r){void 0===e&&(e=!0),void 0===t&&(t=!0),void 0===n&&(n=!0),void 0===r&&(r=-1e8);for(var i=[],a=this._first;a;)a._start>=r&&(a instanceof ne?t&&i.push(a):(n&&i.push(a),e&&i.push.apply(i,a.getChildren(!0,t,n)))),a=a._next;return i},n.getById=function(e){for(var t=this.getChildren(1,1,1),n=t.length;n--;)if(t[n].vars.id===e)return t[n]},n.remove=function(e){return B(e)?this.removeLabel(e):$(e)?this.killTweensOf(e):(e.parent===this&&eq(this,e),e===this._recent&&(this._recent=this._last),eK(this))},n.totalTime=function(t,n){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=eE(tO.time-(this._ts>0?t/this._ts:-((this.totalDuration()-t)/this._ts)))),e.prototype.totalTime.call(this,t,n),this._forcing=0,this):this._tTime},n.addLabel=function(e,t){return this.labels[e]=te(this,t),this},n.removeLabel=function(e){return delete this.labels[e],this},n.addPause=function(e,t,n){var r=ne.delayedCall(0,t||ed,n);return r.data="isPause",this._hasPause=1,e0(this,r,te(this,e))},n.removePause=function(e){var t=this._first;for(e=te(this,e);t;)t._start===e&&"isPause"===t.data&&eH(t),t=t._next},n.killTweensOf=function(e,t,n){for(var r=this.getTweensOf(e,n),i=r.length;i--;)tJ!==r[i]&&r[i].kill(e,t);return this},n.getTweensOf=function(e,t){for(var n,r=[],i=to(e),a=this._first,s=U(t);a;)a instanceof ne?eO(a._targets,i)&&(s?(!tJ||a._initted&&a._ts)&&a.globalTime(0)<=t&&a.globalTime(a.totalDuration())>t:!t||a.isActive())&&r.push(a):(n=a.getTweensOf(i,t)).length&&r.push.apply(r,n),a=a._next;return r},n.tweenTo=function(e,t){t=t||{};var n,r=this,i=te(r,e),a=t,s=a.startAt,o=a.onStart,l=a.onStartParams,u=a.immediateRender,c=ne.to(r,eI({ease:t.ease||"none",lazy:!1,immediateRender:!1,time:i,overwrite:"auto",duration:t.duration||Math.abs((i-(s&&"time"in s?s.time:r._time))/r.timeScale())||1e-8,onStart:function(){if(r.pause(),!n){var e=t.duration||Math.abs((i-(s&&"time"in s?s.time:r._time))/r.timeScale());c._dur!==e&&e7(c,e,0,1).render(c._time,!0,!0),n=1}o&&o.apply(c,l||[])}},t));return u?c.render(0):c},n.tweenFromTo=function(e,t,n){return this.tweenTo(t,eI({startAt:{time:te(this,e)}},n))},n.recent=function(){return this._recent},n.nextLabel=function(e){return void 0===e&&(e=this._time),t_(this,te(this,e))},n.previousLabel=function(e){return void 0===e&&(e=this._time),t_(this,te(this,e),1)},n.currentLabel=function(e){return arguments.length?this.seek(e,!0):this.previousLabel(this._time+1e-8)},n.shiftChildren=function(e,t,n){void 0===n&&(n=0);var r,i=this._first,a=this.labels;for(e=eE(e);i;)i._start>=n&&(i._start+=e,i._end+=e),i=i._next;if(t)for(r in a)a[r]>=n&&(a[r]+=e);return eK(this)},n.invalidate=function(t){var n=this._first;for(this._lock=0;n;)n.invalidate(t),n=n._next;return e.prototype.invalidate.call(this,t)},n.clear=function(e){void 0===e&&(e=!0);for(var t,n=this._first;n;)t=n._next,this.remove(n),n=t;return this._dp&&(this._time=this._tTime=this._pTime=0),e&&(this.labels={}),eK(this)},n.totalDuration=function(e){var t,n,r,i=0,a=this._last,s=1e8;if(arguments.length)return this.timeScale((this._repeat<0?this.duration():this.totalDuration())/(this.reversed()?-e:e));if(this._dirty){for(r=this.parent;a;)t=a._prev,a._dirty&&a.totalDuration(),(n=a._start)>s&&this._sort&&a._ts&&!this._lock?(this._lock=1,e0(this,a,n-a._delay,1)._lock=0):s=n,n<0&&a._ts&&(i-=n,(!r&&!this._dp||r&&r.smoothChildTiming)&&(this._start+=eE(n/this._ts),this._time-=n,this._tTime-=n),this.shiftChildren(-n,!1,-Infinity),s=0),a._end>i&&a._ts&&(i=a._end),a=t;e7(this,this===T&&this._time>i?this._time:i,1,1),this._dirty=0}return this._tDur},t.updateRoot=function(e){if(T._ts&&(eP(T,eG(e,T)),C=tO.frame),tO.frame>=ey){ey+=A.autoSleep||120;var t=T._first;if((!t||!t._ts)&&A.autoSleep&&tO._listeners.length<2){for(;t&&!t._ts;)t=t._next;t||tO.sleep()}}},t}(tK);eI(tY.prototype,{_lock:0,_hasPause:0,_forcing:0});var tV,tX,tW,tG,tJ,tQ,tZ=function(e,t,n,r,i,a,s){var o,l,u,c,d,h,f,p,m=new np(this._pt,e,t,0,1,nl,null,i),g=0,_=0;for(m.b=n,m.e=r,n+="",r+="",(f=~r.indexOf("random("))&&(r=tm(r)),a&&(a(p=[n,r],e,t),n=p[0],r=p[1]),l=n.match(et)||[];o=et.exec(r);)c=o[0],d=r.substring(g,o.index),u?u=(u+1)%5:"rgba("===d.substr(-5)&&(u=1),c!==l[_++]&&(h=parseFloat(l[_-1])||0,m._pt={_next:m._pt,p:d||1===_?d:",",s:h,c:"="===c.charAt(1)?eC(h,c)-h:parseFloat(c)-h,m:u&&u<4?Math.round:0},g=et.lastIndex);return m.c=g<r.length?r.substring(g,r.length):"",m.fp=s,(en.test(r)||f)&&(m.e=0),this._pt=m,m},t0=function(e,t,n,r,i,a,s,o,l,u){$(r)&&(r=r(i||0,e,a));var c,d=e[t],h="get"!==n?n:$(d)?l?e[t.indexOf("set")||!$(e["get"+t.substr(3)])?t:"get"+t.substr(3)](l):e[t]():d,f=$(d)?l?nr:nn:nt;if(B(r)&&(~r.indexOf("random(")&&(r=tm(r)),"="===r.charAt(1)&&((c=eC(h,r)+(ti(h)||0))||0===c)&&(r=c)),!u||h!==r||tQ)return isNaN(h*r)||""===r?(d||t in e||el(t,r),tZ.call(this,e,t,h,r,f,o||A.stringFilter,l)):(c=new np(this._pt,e,t,+h||0,r-(h||0),"boolean"==typeof d?no:ns,0,f),l&&(c.fp=l),s&&c.modifier(s,this,e),this._pt=c)},t1=function(e,t,n,r,i){if($(e)&&(e=t7(e,i,t,n,r)),!H(e)||e.style&&e.nodeType||W(e)||X(e))return B(e)?t7(e,i,t,n,r):e;var a,s={};for(a in e)s[a]=t7(e[a],i,t,n,r);return s},t2=function(e,t,n,r,i,a){var s,o,l,u;if(ev[e]&&!1!==(s=new ev[e]).init(i,s.rawVars?t[e]:t1(t[e],r,i,a,n),n,r,a)&&(n._pt=o=new np(n._pt,i,e,0,1,s.render,s,0,s.priority),n!==O))for(l=n._ptLookup[n._targets.indexOf(i)],u=s._props.length;u--;)l[s._props[u]]=o;return s},t5=function e(t,n,r){var i,a,s,o,l,u,c,d,h,f,p,m,g,_=t.vars,v=_.ease,x=_.startAt,y=_.immediateRender,k=_.lazy,S=_.onUpdate,M=_.runBackwards,j=_.yoyoEase,E=_.keyframes,C=_.autoRevert,O=t._dur,R=t._startAt,A=t._targets,N=t.parent,D=N&&"nested"===N.data?N.vars.targets:A,I="auto"===t._overwrite&&!b,z=t.timeline,L=_.easeReverse||j;if(!z||E&&v||(v="none"),t._ease=tF(v,P.ease),t._rEase=L&&(tF(L)||t._ease),t._from=!z&&!!_.runBackwards,t._from&&(t.ratio=1),!z||E&&!_.stagger){if(m=(d=A[0]?eT(A[0]).harness:0)&&_[d.prop],i=eF(_,em),R&&(R._zTime<0&&R.progress(1),n<0&&M&&y&&!C?R.render(-1,!0):R.revert(M&&O?ef:eh),R._lazy=0),x){if(eH(t._startAt=ne.set(A,eI({data:"isStart",overwrite:!1,parent:N,immediateRender:!0,lazy:!R&&K(k),startAt:null,delay:0,onUpdate:S&&function(){return tv(t,"onUpdate")},stagger:0},x))),t._startAt._dp=0,t._startAt._sat=t,n<0&&(w||!y&&!C)&&t._startAt.revert(ef),y&&O&&n<=0&&r<=0){n&&(t._zTime=n);return}}else if(M&&O&&!R)if(n&&(y=!1),s=eI({overwrite:!1,data:"isFromStart",lazy:y&&!R&&K(k),immediateRender:y,stagger:0,parent:N},i),m&&(s[d.prop]=m),eH(t._startAt=ne.set(A,s)),t._startAt._dp=0,t._startAt._sat=t,n<0&&(w?t._startAt.revert(ef):t._startAt.render(-1,!0)),t._zTime=n,y){if(!n)return}else e(t._startAt,1e-8,1e-8);for(t._pt=t._ptCache=0,k=O&&K(k)||k&&!O,a=0;a<A.length;a++){if(c=(l=A[a])._gsap||ek(A)[a]._gsap,t._ptLookup[a]=f={},e_[c.id]&&eg.length&&eR(),p=D===A?a:D.indexOf(l),d&&!1!==(h=new d).init(l,m||i,t,p,D)&&(t._pt=o=new np(t._pt,l,h.name,0,1,h.render,h,0,h.priority),h._props.forEach(function(e){f[e]=o}),h.priority&&(u=1)),!d||m)for(s in i)ev[s]&&(h=t2(s,i,t,p,l,D))?h.priority&&(u=1):f[s]=o=t0.call(t,l,s,"get",i[s],p,D,0,_.stringFilter);t._op&&t._op[a]&&t.kill(l,t._op[a]),I&&t._pt&&(tJ=t,T.killTweensOf(l,f,t.globalTime(n)),g=!t.parent,tJ=0),t._pt&&k&&(e_[c.id]=1)}u&&nf(t),t._onInit&&t._onInit(t)}t._onUpdate=S,t._initted=(!t._op||t._pt)&&!g,E&&n<=0&&z.render(1e8,!0,!0)},t3=function(e,t,n,r,i,a,s,o){var l,u,c,d,h=(e._pt&&e._ptCache||(e._ptCache={}))[t];if(!h)for(h=e._ptCache[t]=[],c=e._ptLookup,d=e._targets.length;d--;){if((l=c[d][t])&&l.d&&l.d._pt)for(l=l.d._pt;l&&l.p!==t&&l.fp!==t;)l=l._next;if(!l)return tQ=1,e.vars[t]="+=0",t5(e,s),tQ=0,o?eu(t+" not eligible for reset. Try splitting into individual properties"):1;h.push(l)}for(d=h.length;d--;)(l=(u=h[d])._pt||u).s=(r||0===r)&&!i?r:l.s+(r||0)+a*l.c,l.c=n-l.s,u.e&&(u.e=ej(n)+ti(u.e)),u.b&&(u.b=l.s+ti(u.b))},t6=function(e,t){var n,r,i,a,s=e[0]?eT(e[0]).harness:0,o=s&&s.aliases;if(!o)return t;for(r in n=ez({},t),o)if(r in n)for(i=(a=o[r].split(",")).length;i--;)n[a[i]]=n[r];return n},t4=function(e,t,n,r){var i,a,s=t.ease||r||"power1.inOut";if(W(t))a=n[e]||(n[e]=[]),t.forEach(function(e,n){return a.push({t:n/(t.length-1)*100,v:e,e:s})});else for(i in t)a=n[i]||(n[i]=[]),"ease"===i||a.push({t:parseFloat(e),v:t[i],e:s})},t7=function(e,t,n,r,i){return $(e)?e.call(t,n,r,i):B(e)&&~e.indexOf("random(")?tm(e):e},t8=ew+"repeat,repeatDelay,yoyo,repeatRefresh,yoyoEase,easeReverse,autoRevert",t9={};eM(t8+",id,stagger,delay,duration,paused,scrollTrigger",function(e){return t9[e]=1});var ne=function(e){function t(t,n,r,a){"number"==typeof n&&(r.duration=n,n=r,r=null);var s,o,l,u,c,d,h,f,p=e.call(this,a?n:eB(n))||this,m=p.vars,g=m.duration,_=m.delay,v=m.immediateRender,x=m.stagger,y=m.overwrite,w=m.keyframes,k=m.defaults,S=m.scrollTrigger,M=n.parent||T,j=(W(t)||X(t)?U(t[0]):"length"in n)?[t]:to(t);if(p._targets=j.length?ek(j):eu("GSAP target "+t+" not found. https://gsap.com",!A.nullTargetWarn)||[],p._ptLookup=[],p._overwrite=y,w||x||V(g)||V(_)){var E=(n=p.vars).easeReverse||n.yoyoEase;if((s=p.timeline=new tY({data:"nested",defaults:k||{},targets:M&&"nested"===M.data?M.vars.targets:j})).kill(),s.parent=s._dp=i(p),s._start=0,x||V(g)||V(_)){if(u=j.length,h=x&&tc(x),H(x))for(c in x)~t8.indexOf(c)&&(f||(f={}),f[c]=x[c]);for(o=0;o<u;o++)(l=eF(n,t9)).stagger=0,E&&(l.easeReverse=E),f&&ez(l,f),d=j[o],l.duration=+t7(g,i(p),o,d,j),l.delay=(+t7(_,i(p),o,d,j)||0)-p._delay,!x&&1===u&&l.delay&&(p._delay=_=l.delay,p._start+=_,l.delay=0),s.to(d,l,h?h(o,d,j):0),s._ease=tA.none;s.duration()?g=_=0:p.timeline=0}else if(w){eB(eI(s.vars.defaults,{ease:"none"})),s._ease=tF(w.ease||n.ease||"none");var C,O,R,P=0;if(W(w))w.forEach(function(e){return s.to(j,e,">")}),s.duration();else{for(c in l={},w)"ease"===c||"easeEach"===c||t4(c,w[c],l,w.easeEach);for(c in l)for(C=l[c].sort(function(e,t){return e.t-t.t}),P=0,o=0;o<C.length;o++)(R={ease:(O=C[o]).e,duration:(O.t-(o?C[o-1].t:0))/100*g})[c]=O.v,s.to(j,R,P),P+=R.duration;s.duration()<g&&s.to({},{duration:g-s.duration()})}}g||p.duration(g=s.duration())}else p.timeline=0;return!0!==y||b||(tJ=i(p),T.killTweensOf(j),tJ=0),e0(M,i(p),r),n.reversed&&p.reverse(),n.paused&&p.paused(!0),(v||!g&&!w&&p._start===eE(M._time)&&K(v)&&function e(t){return!t||t._ts&&e(t.parent)}(i(p))&&"nested"!==M.data)&&(p._tTime=-1e-8,p.render(Math.max(0,-_)||0)),S&&e1(i(p),S),p}a(t,e);var n=t.prototype;return n.render=function(e,t,n){var r,i,a,s,o,l,u,c,d=this._time,h=this._tDur,f=this._dur,p=e<0,m=e>h-1e-8&&!p?h:e<1e-8?0:e;if(f){if(m!==this._tTime||!e||n||!this._initted&&this._tTime||this._startAt&&this._zTime<0!==p||this._lazy){if(r=m,c=this.timeline,this._repeat){if(s=f+this._rDelay,this._repeat<-1&&p)return this.totalTime(100*s+e,t,n);if(r=eE(m%s),m===h?(a=this._repeat,r=f):(a=~~(o=eE(m/s)))&&a===o?(r=f,a--):r>f&&(r=f),(l=this._yoyo&&1&a)&&(r=f-r),o=eW(this._tTime,s),r===d&&!n&&this._initted&&a===o)return this._tTime=m,this;a!==o&&this.vars.repeatRefresh&&!l&&!this._lock&&r!==s&&this._initted&&(this._lock=n=1,this.render(eE(s*a),!0).invalidate()._lock=0)}if(!this._initted){if(e2(this,p?e:r,n,t,m))return this._tTime=0,this;if(d!==this._time&&!(n&&this.vars.repeatRefresh&&a!==o))return this;if(f!==this._dur)return this.render(e,t,n)}if(this._rEase){var g=r<d;if(g!==this._inv){var _=g?d:f-d;this._inv=g,this._from&&(this.ratio=1-this.ratio),this._invRatio=this.ratio,this._invTime=d,this._invRecip=_?(g?-1:1)/_:0,this._invScale=g?-this.ratio:1-this.ratio,this._invEase=g?this._rEase:this._ease}this.ratio=u=this._invRatio+this._invScale*this._invEase((r-this._invTime)*this._invRecip)}else this.ratio=u=this._ease(r/f);if(this._from&&(this.ratio=u=1-u),this._tTime=m,this._time=r,!this._act&&this._ts&&(this._act=1,this._lazy=0),!d&&m&&!t&&!o&&(tv(this,"onStart"),this._tTime!==m))return this;for(i=this._pt;i;)i.r(u,i.d),i=i._next;c&&c.render(e<0?e:c._dur*c._ease(r/this._dur),t,n)||this._startAt&&(this._zTime=e),this._onUpdate&&!t&&(p&&eV(this,e,t,n),tv(this,"onUpdate")),this._repeat&&a!==o&&this.vars.onRepeat&&!t&&this.parent&&tv(this,"onRepeat"),(m===this._tDur||!m)&&this._tTime===m&&(p&&!this._onUpdate&&eV(this,e,!0,!0),(e||!f)&&(m===this._tDur&&this._ts>0||!m&&this._ts<0)&&eH(this,1),!t&&!(p&&!d)&&(m||d||l)&&(tv(this,m===h?"onComplete":"onReverseComplete",!0),this._prom&&!(m<h&&this.timeScale()>0)&&this._prom()))}}else e6(this,e,t,n);return this},n.targets=function(){return this._targets},n.invalidate=function(t){return t&&this.vars.runBackwards||(this._startAt=0),this._pt=this._op=this._onUpdate=this._lazy=this.ratio=0,this._ptLookup=[],this.timeline&&this.timeline.invalidate(t),e.prototype.invalidate.call(this,t)},n.resetTo=function(e,t,n,r,i){R||tO.wake(),this._ts||this.play();var a=Math.min(this._dur,(this._dp._time-this._start)*this._ts);return(this._initted||t5(this,a),t3(this,e,t,n,r,this._ease(a/this._dur),a,i))?this.resetTo(e,t,n,r,1):(eQ(this,0),this.parent||eU(this._dp,this,"_first","_last",this._dp._sort?"_start":0),this.render(0))},n.kill=function(e,t){if(void 0===t&&(t="all"),!e&&(!t||"all"===t))return this._lazy=this._pt=0,this.parent?tx(this):this.scrollTrigger&&this.scrollTrigger.kill(!!w),this;if(this.timeline){var n=this.timeline.totalDuration();return this.timeline.killTweensOf(e,t,tJ&&!0!==tJ.vars.overwrite)._first||tx(this),this.parent&&n!==this.timeline.totalDuration()&&e7(this,this._dur*this.timeline._tDur/n,0,1),this}var r,i,a,s,o,l,u,c=this._targets,d=e?to(e):c,h=this._ptLookup,f=this._pt;if((!t||"all"===t)&&e$(c,d))return"all"===t&&(this._pt=0),tx(this);for(r=this._op=this._op||[],"all"!==t&&(B(t)&&(o={},eM(t,function(e){return o[e]=1}),t=o),t=t6(c,t)),u=c.length;u--;)if(~d.indexOf(c[u]))for(o in i=h[u],"all"===t?(r[u]=t,s=i,a={}):(a=r[u]=r[u]||{},s=t),s)(l=i&&i[o])&&("kill"in l.d&&!0!==l.d.kill(o)||eq(this,l,"_pt"),delete i[o]),"all"!==a&&(a[o]=1);return this._initted&&!this._pt&&f&&tx(this),this},t.to=function(e,n){return new t(e,n,arguments[2])},t.from=function(e,t){return tt(1,arguments)},t.delayedCall=function(e,n,r,i){return new t(n,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:e,onComplete:n,onReverseComplete:n,onCompleteParams:r,onReverseCompleteParams:r,callbackScope:i})},t.fromTo=function(e,t,n){return tt(2,arguments)},t.set=function(e,n){return n.duration=0,n.repeatDelay||(n.repeat=0),new t(e,n)},t.killTweensOf=function(e,t,n){return T.killTweensOf(e,t,n)},t}(tK);eI(ne.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0}),eM("staggerTo,staggerFrom,staggerFromTo",function(e){ne[e]=function(){var t=new tY,n=ta.call(arguments,0);return n.splice("staggerFromTo"===e?5:4,0,0),t[e].apply(t,n)}});var nt=function(e,t,n){return e[t]=n},nn=function(e,t,n){return e[t](n)},nr=function(e,t,n,r){return e[t](r.fp,n)},ni=function(e,t,n){return e.setAttribute(t,n)},na=function(e,t){return $(e[t])?nn:q(e[t])&&e.setAttribute?ni:nt},ns=function(e,t){return t.set(t.t,t.p,Math.round((t.s+t.c*e)*1e6)/1e6,t)},no=function(e,t){return t.set(t.t,t.p,!!(t.s+t.c*e),t)},nl=function(e,t){var n=t._pt,r="";if(!e&&t.b)r=t.b;else if(1===e&&t.e)r=t.e;else{for(;n;)r=n.p+(n.m?n.m(n.s+n.c*e):Math.round((n.s+n.c*e)*1e4)/1e4)+r,n=n._next;r+=t.c}t.set(t.t,t.p,r,t)},nu=function(e,t){for(var n=t._pt;n;)n.r(e,n.d),n=n._next},nc=function(e,t,n,r){for(var i,a=this._pt;a;)i=a._next,a.p===r&&a.modifier(e,t,n),a=i},nd=function(e){for(var t,n,r=this._pt;r;)n=r._next,(r.p!==e||r.op)&&r.op!==e?r.dep||(t=1):eq(this,r,"_pt"),r=n;return!t},nh=function(e,t,n,r){r.mSet(e,t,r.m.call(r.tween,n,r.mt),r)},nf=function(e){for(var t,n,r,i,a=e._pt;a;){for(t=a._next,n=r;n&&n.pr>a.pr;)n=n._next;(a._prev=n?n._prev:i)?a._prev._next=a:r=a,(a._next=n)?n._prev=a:i=a,a=t}e._pt=r},np=function(){function e(e,t,n,r,i,a,s,o,l){this.t=t,this.s=r,this.c=i,this.p=n,this.r=a||ns,this.d=s||this,this.set=o||nt,this.pr=l||0,this._next=e,e&&(e._prev=this)}return e.prototype.modifier=function(e,t,n){this.mSet=this.mSet||this.set,this.set=nh,this.m=e,this.mt=n,this.tween=t},e}();eM(ew+"parent,duration,ease,delay,overwrite,runBackwards,startAt,yoyo,immediateRender,repeat,repeatDelay,data,paused,reversed,lazy,callbackScope,stringFilter,id,yoyoEase,stagger,inherit,repeatRefresh,keyframes,autoRevert,scrollTrigger,easeReverse",function(e){return em[e]=1}),ea.TweenMax=ea.TweenLite=ne,ea.TimelineLite=ea.TimelineMax=tY,T=new tY({sortChildren:!1,defaults:P,autoRemoveChildren:!0,id:"root",smoothChildTiming:!0}),A.stringFilter=tC;var nm=[],ng={},n_=[],nv=0,nx=0,ny=function(e){return(ng[e]||n_).map(function(e){return e()})},nb=function(){var e=Date.now(),t=[];e-nv>2&&(ny("matchMediaInit"),nm.forEach(function(e){var n,r,i,a,s=e.queries,o=e.conditions;for(r in s)(n=S.matchMedia(s[r]).matches)&&(i=1),n!==o[r]&&(o[r]=n,a=1);a&&(e.revert(),i&&t.push(e))}),ny("matchMediaRevert"),t.forEach(function(e){return e.onMatch(e,function(t){return e.add(null,t)})}),nv=e,ny("matchMedia"))},nw=function(){function e(e,t){this.selector=t&&tl(t),this.data=[],this._r=[],this.isReverted=!1,this.id=nx++,e&&this.add(e)}var t=e.prototype;return t.add=function(e,t,n){$(e)&&(n=t,t=e,e=$);var r=this,i=function(){var e,i=k,a=r.selector;return i&&i!==r&&i.data.push(r),n&&(r.selector=tl(n)),k=r,e=t.apply(r,arguments),$(e)&&r._r.push(e),k=i,r.selector=a,r.isReverted=!1,e};return r.last=i,e===$?i(r,function(e){return r.add(null,e)}):e?r[e]=i:i},t.ignore=function(e){var t=k;k=null,e(this),k=t},t.getTweens=function(){var t=[];return this.data.forEach(function(n){return n instanceof e?t.push.apply(t,n.getTweens()):n instanceof ne&&!(n.parent&&"nested"===n.parent.data)&&t.push(n)}),t},t.clear=function(){this._r.length=this.data.length=0},t.kill=function(e,t){var n=this;if(e){for(var r,i=n.getTweens(),a=n.data.length;a--;)"isFlip"===(r=n.data[a]).data&&(r.revert(),r.getChildren(!0,!0,!1).forEach(function(e){return i.splice(i.indexOf(e),1)}));for(i.map(function(e){return{g:e._dur||e._delay||e._sat&&!e._sat.vars.immediateRender?e.globalTime(0):-1/0,t:e}}).sort(function(e,t){return t.g-e.g||-1/0}).forEach(function(t){return t.t.revert(e)}),a=n.data.length;a--;)(r=n.data[a])instanceof tY?"nested"!==r.data&&(r.scrollTrigger&&r.scrollTrigger.revert(),r.kill()):r instanceof ne||!r.revert||r.revert(e);n._r.forEach(function(t){return t(e,n)}),n.isReverted=!0}else this.data.forEach(function(e){return e.kill&&e.kill()});if(this.clear(),t)for(var s=nm.length;s--;)nm[s].id===this.id&&nm.splice(s,1)},t.revert=function(e){this.kill(e||{})},e}(),nk=function(){function e(e){this.contexts=[],this.scope=e,k&&k.data.push(this)}var t=e.prototype;return t.add=function(e,t,n){H(e)||(e={matches:e});var r,i,a,s=new nw(0,n||this.scope),o=s.conditions={};for(i in k&&!s.selector&&(s.selector=k.selector),this.contexts.push(s),t=s.add("onMatch",t),s.queries=e,e)"all"===i?a=1:(r=S.matchMedia(e[i]))&&(0>nm.indexOf(s)&&nm.push(s),(o[i]=r.matches)&&(a=1),r.addListener?r.addListener(nb):r.addEventListener("change",nb));return a&&t(s,function(e){return s.add(null,e)}),this},t.revert=function(e){this.kill(e||{})},t.kill=function(e){this.contexts.forEach(function(t){return t.kill(e,!0)})},e}(),nT={registerPlugin:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];t.forEach(function(e){return tb(e)})},timeline:function(e){return new tY(e)},getTweensOf:function(e,t){return T.getTweensOf(e,t)},getProperty:function(e,t,n,r){B(e)&&(e=to(e)[0]);var i=eT(e||{}).get,a=n?eD:eN;return"native"===n&&(n=""),e?t?a((ev[t]&&ev[t].get||i)(e,t,n,r)):function(t,n,r){return a((ev[t]&&ev[t].get||i)(e,t,n,r))}:e},quickSetter:function(e,t,n){if((e=to(e)).length>1){var r=e.map(function(e){return nE.quickSetter(e,t,n)}),i=r.length;return function(e){for(var t=i;t--;)r[t](e)}}e=e[0]||{};var a=ev[t],s=eT(e),o=s.harness&&(s.harness.aliases||{})[t]||t,l=a?function(t){var r=new a;O._pt=0,r.init(e,n?t+n:t,O,0,[e]),r.render(1,r),O._pt&&nu(1,O)}:s.set(e,o);return a?l:function(t){return l(e,o,n?t+n:t,s,1)}},quickTo:function(e,t,n){var r,i=nE.to(e,eI(((r={})[t]="+=0.1",r.paused=!0,r.stagger=0,r),n||{})),a=function(e,n,r){return i.resetTo(t,e,n,r)};return a.tween=i,a},isTweening:function(e){return T.getTweensOf(e,!0).length>0},defaults:function(e){return e&&e.ease&&(e.ease=tF(e.ease,P.ease)),eL(P,e||{})},config:function(e){return eL(A,e||{})},registerEffect:function(e){var t=e.name,n=e.effect,r=e.plugins,i=e.defaults,a=e.extendTimeline;(r||"").split(",").forEach(function(e){return e&&!ev[e]&&!ea[e]&&eu(t+" effect requires "+e+" plugin.")}),ex[t]=function(e,t,r){return n(to(e),eI(t||{},i),r)},a&&(tY.prototype[t]=function(e,n,r){return this.add(ex[t](e,H(n)?n:(r=n)&&{},this),r)})},registerEase:function(e,t){tA[e]=tF(t)},parseEase:function(e,t){return arguments.length?tF(e,t):tA},getById:function(e){return T.getById(e)},exportRoot:function(e,t){void 0===e&&(e={});var n,r,i=new tY(e);for(i.smoothChildTiming=K(e.smoothChildTiming),T.remove(i),i._dp=0,i._time=i._tTime=T._time,n=T._first;n;)r=n._next,(t||!(!n._dur&&n instanceof ne&&n.vars.onComplete===n._targets[0]))&&e0(i,n,n._start-n._delay),n=r;return e0(T,i,0),i},context:function(e,t){return e?new nw(e,t):k},matchMedia:function(e){return new nk(e)},matchMediaRefresh:function(){return nm.forEach(function(e){var t,n,r=e.conditions;for(n in r)r[n]&&(r[n]=!1,t=1);t&&e.revert()})||nb()},addEventListener:function(e,t){var n=ng[e]||(ng[e]=[]);~n.indexOf(t)||n.push(t)},removeEventListener:function(e,t){var n=ng[e],r=n&&n.indexOf(t);r>=0&&n.splice(r,1)},utils:{wrap:function e(t,n,r){var i=n-t;return W(t)?tp(t,e(0,t.length),n):tn(r,function(e){return(i+(e-t)%i)%i+t})},wrapYoyo:function e(t,n,r){var i=n-t,a=2*i;return W(t)?tp(t,e(0,t.length-1),n):tn(r,function(e){return e=(a+(e-t)%a)%a||0,t+(e>i?a-e:e)})},distribute:tc,random:tf,snap:th,normalize:function(e,t,n){return tg(e,t,0,1,n)},getUnit:ti,clamp:function(e,t,n){return tn(n,function(n){return tr(e,t,n)})},splitColor:tT,toArray:to,selector:tl,mapRange:tg,pipe:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){return t.reduce(function(e,t){return t(e)},e)}},unitize:function(e,t){return function(n){return e(parseFloat(n))+(t||ti(n))}},interpolate:function e(t,n,r,i){var a=isNaN(t+n)?0:function(e){return(1-e)*t+e*n};if(!a){var s,o,l,u,c,d=B(t),h={};if(!0===r&&(i=1)&&(r=null),d)t={p:t},n={p:n};else if(W(t)&&!W(n)){for(l=[],c=(u=t.length)-2,o=1;o<u;o++)l.push(e(t[o-1],t[o]));u--,a=function(e){var t=Math.min(c,~~(e*=u));return l[t](e-t)},r=n}else i||(t=ez(W(t)?[]:{},t));if(!l){for(s in n)t0.call(h,t,s,"get",n[s]);a=function(e){return nu(e,h)||(d?t.p:t)}}}return tn(r,a)},shuffle:tu},install:eo,effects:ex,ticker:tO,updateRoot:tY.updateRoot,plugins:ev,globalTimeline:T,core:{PropTween:np,globals:ec,Tween:ne,Timeline:tY,Animation:tK,getCache:eT,_removeLinkedListItem:eq,reverting:function(){return w},context:function(e){return e&&k&&(k.data.push(e),e._ctx=k),k},suppressOverwrites:function(e){return b=e}}};eM("to,from,fromTo,delayedCall,set,killTweensOf",function(e){return nT[e]=ne[e]}),tO.add(tY.updateRoot),O=nT.to({},{duration:0});var nS=function(e,t){for(var n=e._pt;n&&n.p!==t&&n.op!==t&&n.fp!==t;)n=n._next;return n},nM=function(e,t){var n,r,i,a=e._targets;for(n in t)for(r=a.length;r--;)(i=e._ptLookup[r][n])&&(i=i.d)&&(i._pt&&(i=nS(i,n)),i&&i.modifier&&i.modifier(t[n],e,a[r],n))},nj=function(e,t){return{name:e,headless:1,rawVars:1,init:function(e,n,r){r._onInit=function(e){var r,i;if(B(n)&&(r={},eM(n,function(e){return r[e]=1}),n=r),t){for(i in r={},n)r[i]=t(n[i]);n=r}nM(e,n)}}}},nE=nT.registerPlugin({name:"attr",init:function(e,t,n,r,i){var a,s,o;for(a in this.tween=n,t)o=e.getAttribute(a)||"",(s=this.add(e,"setAttribute",(o||0)+"",t[a],r,i,0,0,a)).op=a,s.b=o,this._props.push(a)},render:function(e,t){for(var n=t._pt;n;)w?n.set(n.t,n.p,n.b,n):n.r(e,n.d),n=n._next}},{name:"endArray",headless:1,init:function(e,t){for(var n=t.length;n--;)this.add(e,n,e[n]||0,t[n],0,0,0,0,0,1)}},nj("roundProps",td),nj("modifiers"),nj("snap",th))||nT;ne.version=tY.version=nE.version="3.15.0",E=1,Y()&&tR(),tA.Power0,tA.Power1,tA.Power2,tA.Power3,tA.Power4,tA.Linear,tA.Quad,tA.Cubic,tA.Quart,tA.Quint,tA.Strong,tA.Elastic,tA.Back,tA.SteppedEase,tA.Bounce,tA.Sine,tA.Expo,tA.Circ;var nC,nO,nR,nA,nP,nN,nD,nI={},nz=180/Math.PI,nL=Math.PI/180,nF=Math.atan2,nB=/([A-Z])/g,n$=/(left|right|width|margin|padding|x)/i,nU=/[\s,\(]\S/,nq={autoAlpha:"opacity,visibility",scale:"scaleX,scaleY",alpha:"opacity"},nH=function(e,t){return t.set(t.t,t.p,Math.round((t.s+t.c*e)*1e4)/1e4+t.u,t)},nK=function(e,t){return t.set(t.t,t.p,1===e?t.e:Math.round((t.s+t.c*e)*1e4)/1e4+t.u,t)},nY=function(e,t){return t.set(t.t,t.p,e?Math.round((t.s+t.c*e)*1e4)/1e4+t.u:t.b,t)},nV=function(e,t){return t.set(t.t,t.p,1===e?t.e:e?Math.round((t.s+t.c*e)*1e4)/1e4+t.u:t.b,t)},nX=function(e,t){var n=t.s+t.c*e;t.set(t.t,t.p,~~(n+(n<0?-.5:.5))+t.u,t)},nW=function(e,t){return t.set(t.t,t.p,e?t.e:t.b,t)},nG=function(e,t){return t.set(t.t,t.p,1!==e?t.b:t.e,t)},nJ=function(e,t,n){return e.style[t]=n},nQ=function(e,t,n){return e.style.setProperty(t,n)},nZ=function(e,t,n){return e._gsap[t]=n},n0=function(e,t,n){return e._gsap.scaleX=e._gsap.scaleY=n},n1=function(e,t,n,r,i){var a=e._gsap;a.scaleX=a.scaleY=n,a.renderTransform(i,a)},n2=function(e,t,n,r,i){var a=e._gsap;a[t]=n,a.renderTransform(i,a)},n5="transform",n3=n5+"Origin",n6=function e(t,n){var r=this,i=this.target,a=i.style,s=i._gsap;if(t in nI&&a){if(this.tfm=this.tfm||{},"transform"===t)return nq.transform.split(",").forEach(function(t){return e.call(r,t,n)});if(~(t=nq[t]||t).indexOf(",")?t.split(",").forEach(function(e){return r.tfm[e]=rf(i,e)}):this.tfm[t]=s.x?s[t]:rf(i,t),t===n3&&(this.tfm.zOrigin=s.zOrigin),this.props.indexOf(n5)>=0)return;s.svg&&(this.svgo=i.getAttribute("data-svg-origin"),this.props.push(n3,n,"")),t=n5}(a||n)&&this.props.push(t,n,a[t])},n4=function(e){e.translate&&(e.removeProperty("translate"),e.removeProperty("scale"),e.removeProperty("rotate"))},n7=function(){var e,t,n=this.props,r=this.target,i=r.style,a=r._gsap;for(e=0;e<n.length;e+=3)n[e+1]?2===n[e+1]?r[n[e]](n[e+2]):r[n[e]]=n[e+2]:n[e+2]?i[n[e]]=n[e+2]:i.removeProperty("--"===n[e].substr(0,2)?n[e]:n[e].replace(nB,"-$1").toLowerCase());if(this.tfm){for(t in this.tfm)a[t]=this.tfm[t];a.svg&&(a.renderTransform(),r.setAttribute("data-svg-origin",this.svgo||"")),(e=nN())&&e.isStart||i[n5]||(n4(i),a.zOrigin&&i[n3]&&(i[n3]+=" "+a.zOrigin+"px",a.zOrigin=0,a.renderTransform()),a.uncache=1)}},n8=function(e,t){var n={target:e,props:[],revert:n7,save:n6};return e._gsap||nE.core.getCache(e),t&&e.style&&e.nodeType&&t.split(",").forEach(function(e){return n.save(e)}),n},n9=function(e,t){var n=nC.createElementNS?nC.createElementNS((t||"http://www.w3.org/1999/xhtml").replace(/^https/,"http"),e):nC.createElement(e);return n&&n.style?n:nC.createElement(e)},re=function e(t,n,r){var i=getComputedStyle(t);return i[n]||i.getPropertyValue(n.replace(nB,"-$1").toLowerCase())||i.getPropertyValue(n)||!r&&e(t,rn(n)||n,1)||""},rt="O,Moz,ms,Ms,Webkit".split(","),rn=function(e,t,n){var r=(t||nA).style,i=5;if(e in r&&!n)return e;for(e=e.charAt(0).toUpperCase()+e.substr(1);i--&&!(rt[i]+e in r););return i<0?null:(3===i?"ms":i>=0?rt[i]:"")+e},rr=function(){"u">typeof window&&window.document&&(nO=(nC=window.document).documentElement,nA=n9("div")||{style:{}},n9("div"),n3=(n5=rn(n5))+"Origin",nA.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",nD=!!rn("perspective"),nN=nE.core.reverting,nR=1)},ri=function(e){var t,n=e.ownerSVGElement,r=n9("svg",n&&n.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),i=e.cloneNode(!0);i.style.display="block",r.appendChild(i),nO.appendChild(r);try{t=i.getBBox()}catch(e){}return r.removeChild(i),nO.removeChild(r),t},ra=function(e,t){for(var n=t.length;n--;)if(e.hasAttribute(t[n]))return e.getAttribute(t[n])},rs=function(e){var t,n;try{t=e.getBBox()}catch(r){t=ri(e),n=1}return t&&(t.width||t.height)||n||(t=ri(e)),!t||t.width||t.x||t.y?t:{x:+ra(e,["x","cx","x1"])||0,y:+ra(e,["y","cy","y1"])||0,width:0,height:0}},ro=function(e){return!!(e.getCTM&&(!e.parentNode||e.ownerSVGElement)&&rs(e))},rl=function(e,t){if(t){var n,r=e.style;t in nI&&t!==n3&&(t=n5),r.removeProperty?(("ms"===(n=t.substr(0,2))||"webkit"===t.substr(0,6))&&(t="-"+t),r.removeProperty("--"===n?t:t.replace(nB,"-$1").toLowerCase())):r.removeAttribute(t)}},ru=function(e,t,n,r,i,a){var s=new np(e._pt,t,n,0,1,a?nG:nW);return e._pt=s,s.b=r,s.e=i,e._props.push(n),s},rc={deg:1,rad:1,turn:1},rd={grid:1,flex:1},rh=function e(t,n,r,i){var a,s,o,l,u=parseFloat(r)||0,c=(r+"").trim().substr((u+"").length)||"px",d=nA.style,h=n$.test(n),f="svg"===t.tagName.toLowerCase(),p=(f?"client":"offset")+(h?"Width":"Height"),m="px"===i,g="%"===i;if(i===c||!u||rc[i]||rc[c])return u;if("px"===c||m||(u=e(t,n,r,"px")),l=t.getCTM&&ro(t),(g||"%"===c)&&(nI[n]||~n.indexOf("adius")))return a=l?t.getBBox()[h?"width":"height"]:t[p],ej(g?u/a*100:u/100*a);if(d[h?"width":"height"]=100+(m?c:i),s="rem"!==i&&~n.indexOf("adius")||"em"===i&&t.appendChild&&!f?t:t.parentNode,l&&(s=(t.ownerSVGElement||{}).parentNode),s&&s!==nC&&s.appendChild||(s=nC.body),(o=s._gsap)&&g&&o.width&&h&&o.time===tO.time&&!o.uncache)return ej(u/o.width*100);if(g&&("height"===n||"width"===n)){var _=t.style[n];t.style[n]=100+i,a=t[p],_?t.style[n]=_:rl(t,n)}else(g||"%"===c)&&!rd[re(s,"display")]&&(d.position=re(t,"position")),s===t&&(d.position="static"),s.appendChild(nA),a=nA[p],s.removeChild(nA),d.position="absolute";return h&&g&&((o=eT(s)).time=tO.time,o.width=s[p]),ej(m?a*u/100:a&&u?100/a*u:0)},rf=function(e,t,n,r){var i;return nR||rr(),t in nq&&"transform"!==t&&~(t=nq[t]).indexOf(",")&&(t=t.split(",")[0]),nI[t]&&"transform"!==t?(i=rS(e,r),i="transformOrigin"!==t?i[t]:i.svg?i.origin:rM(re(e,n3))+" "+i.zOrigin+"px"):(!(i=e.style[t])||"auto"===i||r||~(i+"").indexOf("calc("))&&(i=rv[t]&&rv[t](e,t,n)||re(e,t)||eS(e,t)||+("opacity"===t)),n&&!~(i+"").trim().indexOf(" ")?rh(e,t,i,n)+n:i},rp=function(e,t,n,r){if(!n||"none"===n){var i=rn(t,e,1),a=i&&re(e,i,1);a&&a!==n?(t=i,n=a):"borderColor"===t&&(n=re(e,"borderTopColor"))}var s,o,l,u,c,d,h,f,p,m,g,_=new np(this._pt,e.style,t,0,1,nl),v=0,x=0;if(_.b=n,_.e=r,n+="","var(--"===(r+="").substring(0,6)&&(r=re(e,r.substring(4,r.indexOf(")")))),"auto"===r&&(d=e.style[t],e.style[t]=r,r=re(e,t)||r,d?e.style[t]=d:rl(e,t)),tC(s=[n,r]),n=s[0],r=s[1],l=n.match(ee)||[],(r.match(ee)||[]).length){for(;o=ee.exec(r);)h=o[0],p=r.substring(v,o.index),c?c=(c+1)%5:("rgba("===p.substr(-5)||"hsla("===p.substr(-5))&&(c=1),h!==(d=l[x++]||"")&&(u=parseFloat(d)||0,g=d.substr((u+"").length),"="===h.charAt(1)&&(h=eC(u,h)+g),f=parseFloat(h),m=h.substr((f+"").length),v=ee.lastIndex-m.length,m||(m=m||A.units[t]||g,v===r.length&&(r+=m,_.e+=m)),g!==m&&(u=rh(e,t,d,m)||0),_._pt={_next:_._pt,p:p||1===x?p:",",s:u,c:f-u,m:c&&c<4||"zIndex"===t?Math.round:0});_.c=v<r.length?r.substring(v,r.length):""}else _.r="display"===t&&"none"===r?nG:nW;return en.test(r)&&(_.e=0),this._pt=_,_},rm={top:"0%",bottom:"100%",left:"0%",right:"100%",center:"50%"},rg=function(e){var t=e.split(" "),n=t[0],r=t[1]||"50%";return("top"===n||"bottom"===n||"left"===r||"right"===r)&&(e=n,n=r,r=e),t[0]=rm[n]||n,t[1]=rm[r]||r,t.join(" ")},r_=function(e,t){if(t.tween&&t.tween._time===t.tween._dur){var n,r,i,a=t.t,s=a.style,o=t.u,l=a._gsap;if("all"===o||!0===o)s.cssText="",r=1;else for(i=(o=o.split(",")).length;--i>-1;)nI[n=o[i]]&&(r=1,n="transformOrigin"===n?n3:n5),rl(a,n);r&&(rl(a,n5),l&&(l.svg&&a.removeAttribute("transform"),s.scale=s.rotate=s.translate="none",rS(a,1),l.uncache=1,n4(s)))}},rv={clearProps:function(e,t,n,r,i){if("isFromStart"!==i.data){var a=e._pt=new np(e._pt,t,n,0,0,r_);return a.u=r,a.pr=-10,a.tween=i,e._props.push(n),1}}},rx=[1,0,0,1,0,0],ry={},rb=function(e){return"matrix(1, 0, 0, 1, 0, 0)"===e||"none"===e||!e},rw=function(e){var t=re(e,n5);return rb(t)?rx:t.substr(7).match(Z).map(ej)},rk=function(e,t){var n,r,i,a,s=e._gsap||eT(e),o=e.style,l=rw(e);return s.svg&&e.getAttribute("transform")?"1,0,0,1,0,0"===(l=[(i=e.transform.baseVal.consolidate().matrix).a,i.b,i.c,i.d,i.e,i.f]).join(",")?rx:l:(l!==rx||e.offsetParent||e===nO||s.svg||(i=o.display,o.display="block",(n=e.parentNode)&&(e.offsetParent||e.getBoundingClientRect().width)||(a=1,r=e.nextElementSibling,nO.appendChild(e)),l=rw(e),i?o.display=i:rl(e,"display"),a&&(r?n.insertBefore(e,r):n?n.appendChild(e):nO.removeChild(e))),t&&l.length>6?[l[0],l[1],l[4],l[5],l[12],l[13]]:l)},rT=function(e,t,n,r,i,a){var s,o,l,u,c=e._gsap,d=i||rk(e,!0),h=c.xOrigin||0,f=c.yOrigin||0,p=c.xOffset||0,m=c.yOffset||0,g=d[0],_=d[1],v=d[2],x=d[3],y=d[4],b=d[5],w=t.split(" "),k=parseFloat(w[0])||0,T=parseFloat(w[1])||0;n?d!==rx&&(o=g*x-_*v)&&(l=x/o*k+-v/o*T+(v*b-x*y)/o,u=-_/o*k+g/o*T-(g*b-_*y)/o,k=l,T=u):(k=(s=rs(e)).x+(~w[0].indexOf("%")?k/100*s.width:k),T=s.y+(~(w[1]||w[0]).indexOf("%")?T/100*s.height:T)),r||!1!==r&&c.smooth?(c.xOffset=p+((y=k-h)*g+(b=T-f)*v)-y,c.yOffset=m+(y*_+b*x)-b):c.xOffset=c.yOffset=0,c.xOrigin=k,c.yOrigin=T,c.smooth=!!r,c.origin=t,c.originIsAbsolute=!!n,e.style[n3]="0px 0px",a&&(ru(a,c,"xOrigin",h,k),ru(a,c,"yOrigin",f,T),ru(a,c,"xOffset",p,c.xOffset),ru(a,c,"yOffset",m,c.yOffset)),e.setAttribute("data-svg-origin",k+" "+T)},rS=function(e,t){var n=e._gsap||new tH(e);if("x"in n&&!t&&!n.uncache)return n;var r,i,a,s,o,l,u,c,d,h,f,p,m,g,_,v,x,y,b,w,k,T,S,M,j,E,C,O,R,P,N,D,I=e.style,z=n.scaleX<0,L=getComputedStyle(e),F=re(e,n3)||"0";return r=i=a=l=u=c=d=h=f=0,s=o=1,n.svg=!!(e.getCTM&&ro(e)),L.translate&&(("none"!==L.translate||"none"!==L.scale||"none"!==L.rotate)&&(I[n5]=("none"!==L.translate?"translate3d("+(L.translate+" 0 0").split(" ").slice(0,3).join(", ")+") ":"")+("none"!==L.rotate?"rotate("+L.rotate+") ":"")+("none"!==L.scale?"scale("+L.scale.split(" ").join(",")+") ":"")+("none"!==L[n5]?L[n5]:"")),I.scale=I.rotate=I.translate="none"),g=rk(e,n.svg),n.svg&&(n.uncache?(j=e.getBBox(),F=n.xOrigin-j.x+"px "+(n.yOrigin-j.y)+"px",M=""):M=!t&&e.getAttribute("data-svg-origin"),rT(e,M||F,!!M||n.originIsAbsolute,!1!==n.smooth,g)),p=n.xOrigin||0,m=n.yOrigin||0,g!==rx&&(y=g[0],b=g[1],w=g[2],k=g[3],r=T=g[4],i=S=g[5],6===g.length?(s=Math.sqrt(y*y+b*b),o=Math.sqrt(k*k+w*w),l=y||b?nF(b,y)*nz:0,(d=w||k?nF(w,k)*nz+l:0)&&(o*=Math.abs(Math.cos(d*nL))),n.svg&&(r-=p-(p*y+m*w),i-=m-(p*b+m*k))):(D=g[6],P=g[7],C=g[8],O=g[9],R=g[10],N=g[11],r=g[12],i=g[13],a=g[14],u=(_=nF(D,R))*nz,_&&(M=T*(v=Math.cos(-_))+C*(x=Math.sin(-_)),j=S*v+O*x,E=D*v+R*x,C=-(T*x)+C*v,O=-(S*x)+O*v,R=-(D*x)+R*v,N=-(P*x)+N*v,T=M,S=j,D=E),c=(_=nF(-w,R))*nz,_&&(M=y*(v=Math.cos(-_))-C*(x=Math.sin(-_)),j=b*v-O*x,E=w*v-R*x,N=k*x+N*v,y=M,b=j,w=E),l=(_=nF(b,y))*nz,_&&(M=y*(v=Math.cos(_))+b*(x=Math.sin(_)),j=T*v+S*x,b=b*v-y*x,S=S*v-T*x,y=M,T=j),u&&Math.abs(u)+Math.abs(l)>359.9&&(u=l=0,c=180-c),s=ej(Math.sqrt(y*y+b*b+w*w)),o=ej(Math.sqrt(S*S+D*D)),d=Math.abs(_=nF(T,S))>2e-4?_*nz:0,f=N?1/(N<0?-N:N):0),n.svg&&(M=e.getAttribute("transform"),n.forceCSS=e.setAttribute("transform","")||!rb(re(e,n5)),M&&e.setAttribute("transform",M))),Math.abs(d)>90&&270>Math.abs(d)&&(z?(s*=-1,d+=l<=0?180:-180,l+=l<=0?180:-180):(o*=-1,d+=d<=0?180:-180)),t=t||n.uncache,n.x=r-((n.xPercent=r&&(!t&&n.xPercent||(Math.round(e.offsetWidth/2)===Math.round(-r)?-50:0)))?e.offsetWidth*n.xPercent/100:0)+"px",n.y=i-((n.yPercent=i&&(!t&&n.yPercent||(Math.round(e.offsetHeight/2)===Math.round(-i)?-50:0)))?e.offsetHeight*n.yPercent/100:0)+"px",n.z=a+"px",n.scaleX=ej(s),n.scaleY=ej(o),n.rotation=ej(l)+"deg",n.rotationX=ej(u)+"deg",n.rotationY=ej(c)+"deg",n.skewX=d+"deg",n.skewY=h+"deg",n.transformPerspective=f+"px",(n.zOrigin=parseFloat(F.split(" ")[2])||!t&&n.zOrigin||0)&&(I[n3]=rM(F)),n.xOffset=n.yOffset=0,n.force3D=A.force3D,n.renderTransform=n.svg?rR:nD?rO:rE,n.uncache=0,n},rM=function(e){return(e=e.split(" "))[0]+" "+e[1]},rj=function(e,t,n){var r=ti(t);return ej(parseFloat(t)+parseFloat(rh(e,"x",n+"px",r)))+r},rE=function(e,t){t.z="0px",t.rotationY=t.rotationX="0deg",t.force3D=0,rO(e,t)},rC="0deg",rO=function(e,t){var n=t||this,r=n.xPercent,i=n.yPercent,a=n.x,s=n.y,o=n.z,l=n.rotation,u=n.rotationY,c=n.rotationX,d=n.skewX,h=n.skewY,f=n.scaleX,p=n.scaleY,m=n.transformPerspective,g=n.force3D,_=n.target,v=n.zOrigin,x="",y="auto"===g&&e&&1!==e||!0===g;if(v&&(c!==rC||u!==rC)){var b,w=parseFloat(u)*nL,k=Math.sin(w),T=Math.cos(w);a=rj(_,a,-(k*(b=Math.cos(w=parseFloat(c)*nL))*v)),s=rj(_,s,-(-Math.sin(w)*v)),o=rj(_,o,-(T*b*v)+v)}"0px"!==m&&(x+="perspective("+m+") "),(r||i)&&(x+="translate("+r+"%, "+i+"%) "),(y||"0px"!==a||"0px"!==s||"0px"!==o)&&(x+="0px"!==o||y?"translate3d("+a+", "+s+", "+o+") ":"translate("+a+", "+s+") "),l!==rC&&(x+="rotate("+l+") "),u!==rC&&(x+="rotateY("+u+") "),c!==rC&&(x+="rotateX("+c+") "),(d!==rC||h!==rC)&&(x+="skew("+d+", "+h+") "),(1!==f||1!==p)&&(x+="scale("+f+", "+p+") "),_.style[n5]=x||"translate(0, 0)"},rR=function(e,t){var n,r,i,a,s,o=t||this,l=o.xPercent,u=o.yPercent,c=o.x,d=o.y,h=o.rotation,f=o.skewX,p=o.skewY,m=o.scaleX,g=o.scaleY,_=o.target,v=o.xOrigin,x=o.yOrigin,y=o.xOffset,b=o.yOffset,w=o.forceCSS,k=parseFloat(c),T=parseFloat(d);h=parseFloat(h),f=parseFloat(f),(p=parseFloat(p))&&(f+=p=parseFloat(p),h+=p),h||f?(h*=nL,f*=nL,n=Math.cos(h)*m,r=Math.sin(h)*m,i=-(Math.sin(h-f)*g),a=Math.cos(h-f)*g,f&&(p*=nL,i*=s=Math.sqrt(1+(s=Math.tan(f-p))*s),a*=s,p&&(n*=s=Math.sqrt(1+(s=Math.tan(p))*s),r*=s)),n=ej(n),r=ej(r),i=ej(i),a=ej(a)):(n=m,a=g,r=i=0),(k&&!~(c+"").indexOf("px")||T&&!~(d+"").indexOf("px"))&&(k=rh(_,"x",c,"px"),T=rh(_,"y",d,"px")),(v||x||y||b)&&(k=ej(k+v-(v*n+x*i)+y),T=ej(T+x-(v*r+x*a)+b)),(l||u)&&(k=ej(k+l/100*(s=_.getBBox()).width),T=ej(T+u/100*s.height)),s="matrix("+n+","+r+","+i+","+a+","+k+","+T+")",_.setAttribute("transform",s),w&&(_.style[n5]=s)},rA=function(e,t,n,r,i){var a,s,o=B(i),l=parseFloat(i)*(o&&~i.indexOf("rad")?nz:1)-r,u=r+l+"deg";return o&&("short"===(a=i.split("_")[1])&&(l%=360)!=l%180&&(l+=l<0?360:-360),"cw"===a&&l<0?l=(l+36e9)%360-360*~~(l/360):"ccw"===a&&l>0&&(l=(l-36e9)%360-360*~~(l/360))),e._pt=s=new np(e._pt,t,n,r,l,nK),s.e=u,s.u="deg",e._props.push(n),s},rP=function(e,t){for(var n in t)e[n]=t[n];return e},rN=function(e,t,n){var r,i,a,s,o,l,u,c=rP({},n._gsap),d=n.style;for(i in c.svg?(a=n.getAttribute("transform"),n.setAttribute("transform",""),d[n5]=t,r=rS(n,1),rl(n,n5),n.setAttribute("transform",a)):(a=getComputedStyle(n)[n5],d[n5]=t,r=rS(n,1),d[n5]=a),nI)(a=c[i])!==(s=r[i])&&0>"perspective,force3D,transformOrigin,svgOrigin".indexOf(i)&&(o=ti(a)!==(u=ti(s))?rh(n,i,a,u):parseFloat(a),l=parseFloat(s),e._pt=new np(e._pt,r,i,o,l-o,nH),e._pt.u=u||0,e._props.push(i));rP(r,c)};eM("padding,margin,Width,Radius",function(e,t){var n="Right",r="Bottom",i="Left",a=(t<3?["Top",n,r,i]:["Top"+i,"Top"+n,r+n,r+i]).map(function(n){return t<2?e+n:"border"+n+e});rv[t>1?"border"+e:e]=function(e,t,n,r,i){var s,o;if(arguments.length<4)return 5===(o=(s=a.map(function(t){return rf(e,t,n)})).join(" ")).split(s[0]).length?s[0]:o;s=(r+"").split(" "),o={},a.forEach(function(e,t){return o[e]=s[t]=s[t]||s[(t-1)/2|0]}),e.init(t,o,i)}});var rD={name:"css",register:rr,targetTest:function(e){return e.style&&e.nodeType},init:function(e,t,n,r,i){var a,s,o,l,u,c,d,h,f,p,m,g,_,v,x,y,b,w=this._props,k=e.style,T=n.vars.startAt;for(d in nR||rr(),this.styles=this.styles||n8(e),y=this.styles.props,this.tween=n,t)if("autoRound"!==d&&(s=t[d],!(ev[d]&&t2(d,t,n,r,e,i)))){if(u=typeof s,c=rv[d],"function"===u&&(u=typeof(s=s.call(n,r,e,i))),"string"===u&&~s.indexOf("random(")&&(s=tm(s)),c)c(this,e,d,s,n)&&(x=1);else if("--"===d.substr(0,2))a=(getComputedStyle(e).getPropertyValue(d)+"").trim(),s+="",tj.lastIndex=0,!tj.test(a)&&(h=ti(a),(f=ti(s))?h!==f&&(a=rh(e,d,a,f)+f):h&&(s+=h)),this.add(k,"setProperty",a,s,r,i,0,0,d),w.push(d),y.push(d,0,k[d]);else if("undefined"!==u){if(T&&d in T?(B(a="function"==typeof T[d]?T[d].call(n,r,e,i):T[d])&&~a.indexOf("random(")&&(a=tm(a)),ti(a+"")||"auto"===a||(a+=A.units[d]||ti(rf(e,d))||""),"="===(a+"").charAt(1)&&(a=rf(e,d))):a=rf(e,d),l=parseFloat(a),(p="string"===u&&"="===s.charAt(1)&&s.substr(0,2))&&(s=s.substr(2)),o=parseFloat(s),d in nq&&("autoAlpha"===d&&(1===l&&"hidden"===rf(e,"visibility")&&o&&(l=0),y.push("visibility",0,k.visibility),ru(this,k,"visibility",l?"inherit":"hidden",o?"inherit":"hidden",!o)),"scale"!==d&&"transform"!==d&&~(d=nq[d]).indexOf(",")&&(d=d.split(",")[0])),m=d in nI){if(this.styles.save(d),b=s,"string"===u&&"var(--"===s.substring(0,6)){if("calc("===(s=re(e,s.substring(4,s.indexOf(")")))).substring(0,5)){var S=e.style.perspective;e.style.perspective=s,s=re(e,"perspective"),S?e.style.perspective=S:rl(e,"perspective")}o=parseFloat(s)}if(g||((_=e._gsap).renderTransform&&!t.parseTransform||rS(e,t.parseTransform),v=!1!==t.smoothOrigin&&_.smooth,(g=this._pt=new np(this._pt,k,n5,0,1,_.renderTransform,_,0,-1)).dep=1),"scale"===d)this._pt=new np(this._pt,_,"scaleY",_.scaleY,(p?eC(_.scaleY,p+o):o)-_.scaleY||0,nH),this._pt.u=0,w.push("scaleY",d),d+="X";else if("transformOrigin"===d){y.push(n3,0,k[n3]),s=rg(s),_.svg?rT(e,s,0,v,0,this):((f=parseFloat(s.split(" ")[2])||0)!==_.zOrigin&&ru(this,_,"zOrigin",_.zOrigin,f),ru(this,k,d,rM(a),rM(s)));continue}else if("svgOrigin"===d){rT(e,s,1,v,0,this);continue}else if(d in ry){rA(this,_,d,l,p?eC(l,p+s):s);continue}else if("smoothOrigin"===d){ru(this,_,"smooth",_.smooth,s);continue}else if("force3D"===d){_[d]=s;continue}else if("transform"===d){rN(this,s,e);continue}}else d in k||(d=rn(d)||d);if(m||(o||0===o)&&(l||0===l)&&!nU.test(s)&&d in k)h=(a+"").substr((l+"").length),o||(o=0),f=ti(s)||(d in A.units?A.units[d]:h),h!==f&&(l=rh(e,d,a,f)),this._pt=new np(this._pt,m?_:k,d,l,(p?eC(l,p+o):o)-l,!m&&("px"===f||"zIndex"===d)&&!1!==t.autoRound?nX:nH),this._pt.u=f||0,m&&b!==s?(this._pt.b=a,this._pt.e=b,this._pt.r=nV):h!==f&&"%"!==f&&(this._pt.b=a,this._pt.r=nY);else if(d in k)rp.call(this,e,d,a,p?p+s:s);else if(d in e)this.add(e,d,a||e[d],p?p+s:s,r,i);else if("parseTransform"!==d){el(d,s);continue}m||(d in k?y.push(d,0,k[d]):"function"==typeof e[d]?y.push(d,2,e[d]()):y.push(d,1,a||e[d])),w.push(d)}}x&&nf(this)},render:function(e,t){if(t.tween._time||!nN())for(var n=t._pt;n;)n.r(e,n.d),n=n._next;else t.styles.revert()},get:rf,aliases:nq,getSetter:function(e,t,n){var r=nq[t];return r&&0>r.indexOf(",")&&(t=r),t in nI&&t!==n3&&(e._gsap.x||rf(e,"x"))?n&&nP===n?"scale"===t?n0:nZ:(nP=n||{},"scale"===t?n1:n2):e.style&&!q(e.style[t])?nJ:~t.indexOf("-")?nQ:na(e,t)},core:{_removeProperty:rl,_getMatrix:rk}};nE.utils.checkPrefix=rn,nE.core.getStyleSaver=n8,n=eM("x,y,z,scale,scaleX,scaleY,xPercent,yPercent,"+(t="rotation,rotationX,rotationY,skewX,skewY")+",transform,transformOrigin,svgOrigin,force3D,smoothOrigin,transformPerspective",function(e){nI[e]=1}),eM(t,function(e){A.units[e]="deg",ry[e]=1}),nq[n[13]]="x,y,z,scale,scaleX,scaleY,xPercent,yPercent,"+t,eM("0:translateX,1:translateY,2:translateZ,8:rotate,8:rotationZ,8:rotateZ,9:rotateX,10:rotateY",function(e){var t=e.split(":");nq[t[1]]=n[t[0]]}),eM("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",function(e){A.units[e]="px"}),nE.registerPlugin(rD);var rI=nE.registerPlugin(rD)||nE;rI.core.Tween;var rz=e.i(271645);e.s(["default",0,({text:e,as:t="div",typingSpeed:n=50,initialDelay:i=0,pauseDuration:a=2e3,deletingSpeed:s=30,loop:o=!0,className:l="",showCursor:u=!0,hideCursorWhileTyping:c=!1,cursorCharacter:d="|",cursorClassName:h="",cursorBlinkDuration:f=.5,textColors:p=[],variableSpeed:m,onSentenceComplete:g,startOnVisible:_=!1,reverseMode:v=!1,...x})=>{let[y,b]=(0,rz.useState)(""),[w,k]=(0,rz.useState)(0),[T,S]=(0,rz.useState)(!1),[M,j]=(0,rz.useState)(0),[E,C]=(0,rz.useState)(!_),O=(0,rz.useRef)(null),R=(0,rz.useRef)(null),A=(0,rz.useMemo)(()=>Array.isArray(e)?e:[e],[e]),P=(0,rz.useCallback)(()=>{if(!m)return n;let{min:e,max:t}=m;return Math.random()*(t-e)+e},[m,n]);(0,rz.useEffect)(()=>{if(!_||!R.current)return;let e=new IntersectionObserver(e=>{e.forEach(e=>{e.isIntersecting&&C(!0)})},{threshold:.1});return e.observe(R.current),()=>e.disconnect()},[_]),(0,rz.useEffect)(()=>{u&&O.current&&(rI.set(O.current,{opacity:1}),rI.to(O.current,{opacity:0,duration:f,repeat:-1,yoyo:!0,ease:"power2.inOut"}))},[u,f]),(0,rz.useEffect)(()=>{let e;if(!E)return;let t=A[M],r=v?t.split("").reverse().join(""):t,l=()=>{if(T)if(""===y){if(S(!1),M===A.length-1&&!o)return;g&&g(A[M],M),j(e=>(e+1)%A.length),k(0),e=setTimeout(()=>{},a)}else e=setTimeout(()=>{b(e=>e.slice(0,-1))},s);else if(w<r.length)e=setTimeout(()=>{b(e=>e+r[w]),k(e=>e+1)},m?P():n);else if(A.length>=1){if(!o&&M===A.length-1)return;e=setTimeout(()=>{S(!0)},a)}};return 0!==w||T||""!==y?l():e=setTimeout(l,i),()=>clearTimeout(e)},[w,y,T,n,s,a,A,M,o,i,E,v,m,g]);let N=c&&(w<A[M].length||T);return(0,rz.createElement)(t,{ref:R,className:`inline-block whitespace-pre-wrap tracking-tight ${l}`,...x},(0,r.jsx)("span",{className:"inline",style:{color:(0===p.length?"inherit":p[M%p.length])||"inherit"},children:y}),u&&(0,r.jsx)("span",{ref:O,className:`ml-1 inline-block opacity-100 ${N?"hidden":""} ${h}`,children:d}))}],147701);var rL=e.i(798120),rF=e.i(6799),rB=e.i(393080),r$=e.i(283653),rU=e.i(647163),rq=e.i(461569),rH=e.i(463625);e.s(["installSeedBots",0,function(e){let t=e??rH.BOT_SEEDS.filter(e=>e.recommended).map(e=>({name:e.name}));t.length&&(0,rq.createSeedBotsAction)(t).then(rB.unwrapResult).then(()=>(0,r$.revalidate)(rL.queryKey.bot)).catch(e=>rF.toast.add({type:"warning",title:"Could not set up the bots",description:(0,rU.errorToString)(e)}))}],747985);var rK=e.i(689664),rY=e.i(263676),rV=e.i(167881),rX=e.i(23750),rW=e.i(968978),rG=e.i(265402),rJ=e.i(609856),rQ=e.i(905871),rZ=e.i(992112);function r0({provider:e,saved:t,autoFocus:n,dense:i,value:a,ready:s,saving:o,onValue:l,onSubmit:u}){let c=(0,rG.detectSpeachProvider)(a),d=null!==c&&c!==e.id;return(0,r.jsxs)("div",{className:"space-y-2",children:[(0,r.jsxs)("span",{className:"flex items-center gap-2 px-0.5 text-muted-foreground",children:[(0,r.jsx)(rW.ProviderIcon,{provider:e.id,className:"size-4 shrink-0"}),(0,r.jsx)("span",{className:(0,rU.cn)("font-mono",i?"text-[11px]":"text-[12.5px]"),children:e.label})]}),(0,r.jsxs)("form",{onSubmit:e=>{e.preventDefault(),u()},className:(0,rU.cn)("flex items-center gap-3 rounded-2xl border bg-muted/40 px-4 transition-colors",i?"h-11 rounded-xl px-3":"h-14",t||s?"border-foreground bg-transparent":"border-border"),children:[(0,r.jsx)(rX.Input,{autoFocus:n,type:"password",value:a,spellCheck:!1,placeholder:t?"Replace it":`${e.keyPrefix[0]}…`,onChange:e=>l(e.target.value),className:(0,rU.cn)("min-w-0 flex-1 border-0 bg-transparent px-0 font-mono shadow-none focus-visible:ring-0 dark:bg-transparent",i?"h-7 text-[13px]":"h-9 text-[15px]")}),a?(0,r.jsx)(rV.Button,{type:"submit",size:"sm",variant:d?"outline":"default",loading:o,disabled:!s,className:(0,rU.cn)("shrink-0",i?"h-7 px-3":"h-9 px-4"),children:d?`Not ${e.label}?`:"Save"}):t&&(0,r.jsx)("span",{className:(0,rU.cn)("grid shrink-0 animate-in place-items-center rounded-full bg-foreground text-background zoom-in-50 duration-300",i?"size-5":"size-7"),children:(0,r.jsx)(rK.Check,{className:i?"size-3":"size-4"})})]})]})}e.s(["VoiceKeys",0,function({ref:e,autoFocus:t,dense:n=!1,onCancel:i,onSaved:a,className:s}){let{data:o}=(0,r$.useServerRoute)(rL.queryKey.config),[l,u]=(0,rz.useState)({}),[c,d]=(0,rz.useState)(null),[h]=(0,rJ.useServerAction)(rQ.setConfigAction,{onOk:()=>{(0,r$.revalidate)(rL.queryKey.config),(0,r$.revalidate)(rL.queryKey.llmModel)}}),f=e=>(l[e]?.trim().length??0)>=8,p=async e=>{let t=e.apiKeyName;if(!f(t)||c)return!1;d(t);try{return await h(t,l[t]),u(e=>({...e,[t]:""})),a?.(e.id),!0}catch{return!1}finally{d(null)}};return(0,rz.useImperativeHandle)(e,()=>({pending:()=>rG.SPEACH_MODEL_PROVIDER_LIST.some(e=>f(e.apiKeyName)),flush:async()=>{for(let e of rG.SPEACH_MODEL_PROVIDER_LIST)if(f(e.apiKeyName)&&!await p(e))return!1;return!0}})),(0,r.jsxs)("div",{className:(0,rU.cn)("w-full",n?"space-y-2":"space-y-4",s),children:[n&&(0,r.jsxs)("div",{className:"flex h-6 items-center justify-between gap-2",children:[(0,r.jsx)("span",{className:"px-0.5 font-mono text-[11px] text-muted-foreground",children:"Voice key"}),i&&(0,r.jsx)(rV.Button,{type:"button",size:"icon",variant:"ghost","aria-label":"Not now",onClick:i,className:"-my-1 size-6",children:(0,r.jsx)(rY.X,{className:"size-3.5"})})]}),rG.SPEACH_MODEL_PROVIDER_LIST.map((e,i)=>(0,r.jsx)(r0,{provider:e,saved:(0,rZ.isConfigSet)(o,e.apiKeyName),autoFocus:t&&0===i,dense:n,value:l[e.apiKeyName]??"",ready:f(e.apiKeyName),saving:c===e.apiKeyName,onValue:t=>u(n=>({...n,[e.apiKeyName]:t})),onSubmit:()=>void p(e)},e.id)),(0,r.jsx)("p",{className:(0,rU.cn)("px-0.5 font-mono text-muted-foreground",n?"text-[11px]":"pt-1 text-center text-[12.5px]"),children:n?"One is enough.":"One is enough — the other can wait. Stored on this machine, in this app's own database."})]})}],616816)},302707,e=>{"use strict";var t=e.i(843476),n=e.i(689664),r=e.i(867927),i=e.i(618566),a=e.i(271645),s=e.i(167881),o=e.i(917162),l=e.i(660302),u=e.i(147701),c=e.i(41533),d=e.i(146538),h=e.i(451888),f=e.i(463625),p=e.i(635963),m=e.i(747985),g=e.i(616816),_=e.i(112599),v=e.i(252284),x=e.i(647163);function y({ink:e}){let n=f.RECOMMENDED_SEEDS;return(0,t.jsxs)("div",{className:"flex w-full flex-col items-center",children:[(0,t.jsx)("div",{className:"h-[19rem] shrink-0"}),(0,t.jsxs)("span",{className:"flex animate-in items-center gap-2.5 rounded-full bg-muted/50 py-1.5 pr-3.5 pl-1.5 ring-1 ring-border/60 fade-in slide-in-from-bottom-1 duration-700 [animation-delay:1.9s] [animation-fill-mode:backwards]",children:[(0,t.jsx)("span",{className:"flex",children:n.map((n,r)=>(0,t.jsx)(p.BotMark,{size:22,seed:n.name,vary:n.name,color:e(n),shape:n.icon?.shape,outline:n.icon?.outline,state:"thinking",notify:!1,className:(0,x.cn)("shrink-0",r>0&&"-ml-1.5")},n.name))}),(0,t.jsx)("span",{className:"text-[13px] text-muted-foreground",children:1===n.length?"A bot is on it":"Bots are on it"}),(0,t.jsx)("span",{className:"font-mono text-[10.5px] text-muted-foreground/70",children:"ask_bot"})]}),(0,t.jsxs)("p",{className:"mt-6 max-w-xl animate-in text-center text-[21px] leading-relaxed text-balance break-keep fade-in duration-1000 [animation-delay:2.5s] [animation-fill-mode:backwards]",children:["On it — ",1===n.length?"a bot":"the bots"," went to look. Keep talking, I’ll say when it is back."]}),(0,t.jsx)("span",{className:"mt-10 flex h-6 items-center gap-2 font-mono text-sm text-muted-foreground",children:(0,t.jsx)(u.default,{as:"span",text:`Say "Hey ${c.APP_NAME}" to start talking`,loop:!1,typingSpeed:52,initialDelay:500,cursorCharacter:"▌",cursorClassName:"ml-0.5 text-muted-foreground/50",className:"tracking-normal"})})]})}function b({ref:e,onSaved:n}){return(0,t.jsxs)("div",{className:"flex w-full max-w-lg flex-col items-center",children:[(0,t.jsx)("h1",{className:"text-center text-[34px] font-medium tracking-tight text-balance break-keep",children:"One key opens the call."}),(0,t.jsx)("p",{className:"mt-3.5 max-w-md text-center text-base leading-relaxed text-pretty text-muted-foreground break-keep",children:"Calls run on a speech model — the only thing this app cannot do without. Bots, memory and settings do not need it."}),(0,t.jsx)(g.VoiceKeys,{ref:e,className:"mt-9",autoFocus:!0,onSaved:n})]})}let w={1:"One",2:"Two",3:"Three"};function k({picks:e,ink:n,onPatch:r}){let i=f.RECOMMENDED_SEEDS.filter(t=>e[t.name]?.on),a=f.BOT_SEEDS.length-f.RECOMMENDED_SEEDS.length;return(0,t.jsxs)("div",{className:"flex w-full max-w-2xl flex-col items-center",children:[(0,t.jsx)("h1",{className:"text-center text-[30px] font-medium tracking-tight text-balance break-keep",children:1===f.RECOMMENDED_SEEDS.length?"One bot comes with her.":`${w[f.RECOMMENDED_SEEDS.length]??f.RECOMMENDED_SEEDS.length} bots come with her.`}),(0,t.jsx)("p",{className:"mt-3 max-w-lg text-center text-[15px] leading-relaxed text-pretty text-muted-foreground break-keep",children:1===f.RECOMMENDED_SEEDS.length?"It takes the work that would leave the call silent, and reports back.":"They take the work that would leave the call silent, and report back."}),(0,t.jsx)("span",{className:"mt-5 flex h-9 items-center gap-2 rounded-full bg-muted/50 py-1.5 pr-3.5 pl-1.5 ring-1 ring-border/60",children:i.length>0?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("span",{className:"flex",children:i.map((e,r)=>(0,t.jsx)(p.BotMark,{size:22,seed:e.name,vary:e.name,color:n(e),shape:e.icon?.shape,outline:e.icon?.outline,notify:!1,className:(0,x.cn)("shrink-0",r>0&&"-ml-1.5")},e.name))}),(0,t.jsx)(l.ShinyText,{text:"handed-over work shows up here",speed:2.2,className:"font-mono text-[10.5px] leading-4"})]}):(0,t.jsxs)("span",{className:"px-2 font-mono text-[10.5px] text-muted-foreground",children:["nobody on the roster — ",h.DEFAULT_BOT.name," takes it"]})}),(0,t.jsx)("div",{className:"mt-4 flex w-full max-w-lg flex-col gap-2",children:f.RECOMMENDED_SEEDS.map(i=>(0,t.jsx)(T,{seed:i,pick:e[i.name],ink:n(i),onPatch:e=>r(i.name,e)},i.name))}),a>0&&(0,t.jsx)("p",{className:"mt-3.5 text-[13px] text-muted-foreground",children:"More wait in Settings › Bots."})]})}function T({seed:e,pick:r,ink:i,onPatch:a}){let s=!!r?.on;return(0,t.jsxs)("div",{className:(0,x.cn)("min-w-0 rounded-xl ring-1 transition-colors",s?"ring-foreground":"ring-border/60"),children:[(0,t.jsxs)("button",{type:"button",onClick:()=>a({on:!s}),"aria-pressed":s,className:"flex w-full items-center gap-3 rounded-xl px-3.5 py-2.5 text-left outline-none focus-visible:ring-3 focus-visible:ring-ring/50",children:[(0,t.jsx)(p.BotMark,{size:28,seed:e.name,vary:e.name,color:i,shape:e.icon?.shape,outline:e.icon?.outline,state:s?"thinking":"idle",notify:!1,className:(0,x.cn)("shrink-0 transition-opacity",!s&&"opacity-35")}),(0,t.jsxs)("span",{className:"min-w-0 flex-1 space-y-px",children:[(0,t.jsx)("span",{className:"block text-[14px] leading-[18px] font-medium",children:e.name}),(0,t.jsx)("span",{className:"block truncate text-[12px] leading-[17px] text-muted-foreground",children:e.hint})]}),(0,t.jsx)("span",{className:(0,x.cn)("grid size-5 shrink-0 place-items-center rounded-full transition-colors",s?"bg-foreground text-background":"ring-1 ring-border/60 ring-inset"),children:s&&(0,t.jsx)(n.Check,{className:"size-3"})})]}),s&&(0,t.jsx)("div",{className:"px-3.5 pb-3",children:(0,t.jsx)(d.ModelPicker,{provider:r?.provider??null,model:r?.model??"",onChange:e=>a(e)})})]})}e.s(["Intro",0,function({ready:e,forced:n,colors:l}){let u=e=>l[f.BOT_SEEDS.indexOf(e)]??e.icon?.color,c=(0,i.useRouter)(),[d,h]=(0,a.useState)(0),[p,g]=(0,a.useState)(!1),[w,T]=(0,a.useState)(!1),[S,M]=(0,a.useState)(e),[j,E]=(0,a.useState)(()=>Object.fromEntries(f.RECOMMENDED_SEEDS.map(e=>[e.name,{on:!0,provider:null,model:""}]))),C=(0,a.useRef)(null),[O,R]=(0,a.useState)(!1),A=async()=>{if(1===d&&C.current?.pending()&&await o.notify.confirm({title:"Save this key first?",description:"There is a key in the field that has not been saved. Leaving now drops it.",okText:"Save and continue",cancelText:"Discard it"})){R(!0);let e=await C.current.flush();if(R(!1),!e)return}h(e=>e+1)};if((0,a.useEffect)(()=>{if(!p)return;let e=setTimeout(()=>T(!0),700);return()=>clearTimeout(e)},[p]),w||e&&!n)return null;let P=0===d;return(0,t.jsxs)("div",{className:(0,x.cn)("fixed inset-0 z-40 bg-background transition-opacity duration-700",p&&"pointer-events-none opacity-0"),children:[(0,t.jsx)(_.AsciiField,{rim:P?v.INTRO_FACE.rim:.03,centerY:v.INTRO_FACE.centerY,clearAt:P?.52:.24,clearBy:P?.7:.55,className:"absolute inset-0"}),(0,t.jsxs)("div",{className:"absolute inset-x-12 top-22 bottom-44 flex flex-col items-center justify-center overflow-y-auto",children:[0===d&&(0,t.jsx)(y,{ink:u}),1===d&&(0,t.jsx)(b,{ref:C,onSaved:()=>M(!0)}),2===d&&(0,t.jsx)(k,{picks:j,ink:u,onPatch:(e,t)=>E(n=>({...n,[e]:{...n[e],...t}}))})]}),(0,t.jsxs)("div",{className:"absolute inset-x-0 bottom-13 flex flex-col items-center gap-5.5",children:[(0,t.jsxs)("div",{className:"flex flex-col items-center gap-2.5",children:[2===d?(0,t.jsxs)(s.Button,{onClick:()=>{g(!0),S&&((0,m.installSeedBots)(f.RECOMMENDED_SEEDS.filter(e=>j[e.name]?.on).map(e=>({name:e.name,provider:j[e.name]?.provider??null,model:j[e.name]?.model||null,color:u(e)}))),c.replace("/"),c.refresh())},className:"h-12 px-6 pl-7 text-[15px]",children:[S?"Start talking":"Look around",(0,t.jsx)(r.ChevronRight,{})]}):(0,t.jsxs)(s.Button,{onClick:A,loading:O,className:"h-12 px-6 pl-7 text-[15px]",children:[0===d?"Set up":"Continue",(0,t.jsx)(r.ChevronRight,{})]}),1===d&&!S&&(0,t.jsx)(s.Button,{variant:"ghost",onClick:()=>h(2),className:"h-8 text-[13.5px] text-muted-foreground",children:"I will add it later"})]}),(0,t.jsx)("div",{className:"flex items-center gap-1.75",children:Array.from({length:3},(e,n)=>(0,t.jsx)("span",{className:(0,x.cn)("h-1.75 rounded-full transition-all duration-300",n===d?"w-5.5 bg-foreground":"w-1.75",n<d?"bg-foreground/40":"",n>d?"bg-border":"")},n))})]})]})}])},252284,112599,e=>{"use strict";var t=e.i(843476),n=e.i(271645),r=e.i(647163),i=e.i(922521),a=e.i(567334);let s=[247,247,247],o=[10,10,10];function l({boot:e=!1,rim:u=.28,centerY:c=.34,clearAt:d=null,clearBy:h=.5,emojiRatio:f=a.EMOJI_RATIO/2,dim:p=1,onSettled:m,className:g}){let _=(0,n.useRef)(null),v="dark"===(0,i.useResolvedTheme)(),x=(0,n.useRef)({rim:u,clearAt:d,clearBy:h,emojiRatio:f,dim:p,dark:v});x.current={rim:u,clearAt:d,clearBy:h,emojiRatio:f,dim:p,dark:v};let y=(0,n.useRef)(m);return y.current=m,(0,n.useEffect)(()=>{let t=_.current;if(!t)return;let n=t.getContext("2d");if(!n)return;let r="function"==typeof matchMedia&&matchMedia("(prefers-reduced-motion: reduce)").matches,i=e&&!r,l=[],u=null,d=0,h=0,f=13,p=1,m=()=>{if(d=t.clientWidth,h=t.clientHeight,d<2||h<2)return;let e=.95*(f=Math.round(13*Math.max(1,Math.sqrt(d*h/14e5))))/1.15,r=1.25*f/1.15,i=Math.ceil(d/e),s=Math.ceil(h/r),o=d/2,m=h*c;p=Math.hypot(Math.max(o,d-o),Math.max(m,h-m)),l=[];for(let t=0;t<s;t++)for(let n=0;n<i;n++){let i=n*e+e/2,s=t*r+r/2,u=i-o,c=s-m;l.push({x:i,y:s,dx:u,dy:c,dist:Math.hypot(u,c),angle:Math.atan2(c,u),seed:(0,a.hash)(n,t),grain:(0,a.hash)(5.7*n+19,2.3*t+53),gap:.05+.3*(0,a.hash)(7.3*n+11,3.1*t+5),birth:(0,a.hash)(3.1*n+7,5.7*t+2),roll:(0,a.hash)(2.7*n+31,5.9*t+17)})}u={ascii:Array.from({length:a.RAMP.length},()=>new Int32Array(l.length)),emoji:Array.from({length:a.RAMP.length},()=>new Int32Array(l.length)),an:new Int32Array(a.RAMP.length),en:new Int32Array(a.RAMP.length),glyph:Array(l.length)};let g=Math.min(2,window.devicePixelRatio||1);t.width=Math.round(d*g),t.height=Math.round(h*g),n.setTransform(g,0,0,g,0,0)};m();let g=new ResizeObserver(m);g.observe(t);let v=0,b=0,w=!1,k=performance.now(),T=null,S=null,M=e=>{var t,r;if(v=requestAnimationFrame(M),e-b<(i&&(e-k)/1e3<1.1?16:48)||(b=e,!u||!l.length))return;let c=(e-k)/1e3;i&&!w&&c>=.26&&(w=!0,y.current?.());let{rim:m,clearAt:g,clearBy:_,emojiRatio:j,dim:E,dark:C}=x.current;T=null===T?m:T+(m-T)*.06;let O=null===g?-1:g;S=null===S?O:S+(O-S)*.06;let R=null===g?null:h*S,{reach:A,body:P,growing:N}=(t=c,r=T,i?{reach:1.56,body:t<0?1.56:t<.9?1.56-(1-(1-(t-0)/.9)**3)*(1.56-r):r,growing:!1}:{reach:1.56,body:r,growing:!1}),D=C?s:o,I=a.RAMP.length-1;u.an.fill(0),u.en.fill(0);for(let e=0;e<l.length;e++){let t=l[e],n=t.dist/p,r=1+.17*Math.sin(2*t.angle+.7+.11*c)+.12*Math.sin(3*t.angle-1.9+.22*c)+.07*Math.sin(5*t.angle+3.1-.08*c),i=n*(1+.075*Math.sin(2*t.angle+.21*c)+.055*Math.sin(3*t.angle-.13*c+4.5*n)+.038*Math.sin(5*t.angle+.09*c-8*n)+.03*Math.sin(11*n+.17*c+3*t.seed)),s=A-(i/r+(t.birth-.5)*.55);if(s<-.03)continue;let o=(0,a.smoothstep)(0,.62,s),d=.55*Math.sin(.03*t.dist-.4*c+1.6*t.angle)+.3*Math.sin(.018*t.dist+.27*c-2.7*t.angle)+.15*Math.sin(4*t.angle+.33*c),h=i/r+(t.grain-.5)*.11,f=(.62+.22*d+.07*Math.sin(.35*c))*(1-(0,a.smoothstep)(.5*P,1.06*P,h));if(t.seed>.895&&(f+=Math.exp(-(((i-(1.02*P+(0,a.hash)(311*t.seed,9)*Math.max(.3,1.25-.7*P)))/.12)**2))*(.42+.58*Math.sin(c*(.5+1.5*(0,a.hash)(47*t.seed,21))+300*t.seed))*.7),f+=.22*Math.exp(-(.8*i))*(.6+.4*d),f=(f*o+Math.exp(-(s*s/.0024))*(N?.5:.12))*E,null!==R&&(f*=1-_*(0,a.smoothstep)(R-130,R+70,t.y)),(f*=(.66+.72*t.grain)*(.8+.4*(0,a.hash)(Math.floor(.05*t.dx+.5*c),Math.floor(.05*t.dy-.3*c))))<t.gap+.05*Math.sin(.28*c+6.283*t.seed))continue;let m=Math.min(1,f)*I|0;if(!(m<=0))if(j>0&&t.roll<j&&m>=a.EMOJI_MIN_LEVEL+1){let n=c*a.EMOJI_CHAR_RATE+7*t.seed|0;u.glyph[e]=a.EMOJI_POOL[((t.seed*a.EMOJI_POOL.length|0)+n)%a.EMOJI_POOL.length],u.emoji[m][u.en[m]++]=e}else{let n=a.RAMP[m],r=c*a.CHAR_RATE+7*t.seed|0;u.glyph[e]=n[((t.seed*n.length|0)+r)%n.length],u.ascii[m][u.an[m]++]=e}}n.clearRect(0,0,d,h),n.textAlign="center",n.textBaseline="middle",n.fillStyle=`rgb(${D[0]},${D[1]},${D[2]})`,n.font=`700 ${f}px ui-monospace,SFMono-Regular,Menlo,monospace`;for(let e=1;e<=I;e++){let t=u.an[e];if(0===t)continue;n.globalAlpha=a.ALPHA_TOP*(e/I);let r=u.ascii[e];for(let e=0;e<t;e++){let t=l[r[e]];n.fillText(u.glyph[r[e]],t.x,t.y)}}n.font=`${Math.round(.8*f)}px "Apple Color Emoji","Segoe UI Emoji","Noto Color Emoji",sans-serif`;for(let e=1;e<=I;e++){let t=u.en[e];if(0===t)continue;n.globalAlpha=(.35+e/I*.65)*E;let r=u.emoji[e];for(let e=0;e<t;e++){let t=l[r[e]];n.fillText(u.glyph[r[e]],t.x,t.y)}}n.globalAlpha=1};return M(performance.now()),i||y.current?.(),()=>{cancelAnimationFrame(v),g.disconnect(),n.clearRect(0,0,d,h)}},[e,c]),(0,t.jsx)("canvas",{ref:_,"aria-hidden":!0,className:(0,r.cn)("block size-full",g)})}e.s(["AsciiField",0,l],112599);let u={centerY:.3,rim:.16},c={centerY:.42,rim:.2};e.s(["Boot",0,function({over:e="call"}){let i="intro"===e?u:c,[a,s]=(0,n.useState)(!1),[o,d]=(0,n.useState)(!1),h=(0,n.useCallback)(()=>s(!0),[]);return((0,n.useEffect)(()=>{if(!a)return;let e=setTimeout(()=>d(!0),560);return()=>clearTimeout(e)},[a]),(0,n.useEffect)(()=>{if(o)return;let e=()=>h();return window.addEventListener("pointerdown",e,{once:!0}),window.addEventListener("keydown",e,{once:!0}),()=>{window.removeEventListener("pointerdown",e),window.removeEventListener("keydown",e)}},[o,h]),o)?null:(0,t.jsxs)("div",{"aria-hidden":!0,onClick:h,className:(0,r.cn)("fixed inset-0 z-50 bg-background transition-opacity",a&&"pointer-events-none opacity-0"),style:{transitionDuration:"560ms",transitionTimingFunction:"cubic-bezier(0.4, 0, 0.2, 1)"},children:[(0,t.jsx)(l,{boot:!0,rim:i.rim,centerY:i.centerY,onSettled:h}),(0,t.jsx)("p",{className:"absolute inset-x-0 bottom-16 animate-stalled text-center text-[13px] text-muted-foreground opacity-0",children:"The page did not start. Reload it."})]})},"CALL_FACE",0,c,"INTRO_FACE",0,u],252284)},692888,e=>{"use strict";var t=e.i(843476),n=e.i(716327),r=e.i(456420);let i={name:"chevron-up",size:24,node:[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]]};i.node;let a=(0,r.default)(i);var s=e.i(831458);let o={name:"mic",size:24,node:[["path",{d:"M12 19v3",key:"npa21l"}],["path",{d:"M19 10v2a7 7 0 0 1-14 0v-2",key:"1vc78b"}],["rect",{x:"9",y:"2",width:"6",height:"13",rx:"3",key:"s6n7sd"}]]};o.node;let l=(0,r.default)(o),u={name:"mic-off",size:24,node:[["path",{d:"M12 19v3",key:"npa21l"}],["path",{d:"M15 9.34V5a3 3 0 0 0-5.68-1.33",key:"1gzdoj"}],["path",{d:"M16.95 16.95A7 7 0 0 1 5 12v-2",key:"cqa7eg"}],["path",{d:"M18.89 13.23A7 7 0 0 0 19 12v-2",key:"16hl24"}],["path",{d:"m2 2 20 20",key:"1ooewy"}],["path",{d:"M9 9v3a3 3 0 0 0 5.12 2.12",key:"r2i35w"}]]};u.node;let c=(0,r.default)(u),d={name:"settings-2",size:24,node:[["path",{d:"M14 17H5",key:"gfn3mx"}],["path",{d:"M19 7h-9",key:"6i9tg"}],["circle",{cx:"17",cy:"17",r:"3",key:"18b49y"}],["circle",{cx:"7",cy:"7",r:"3",key:"dfmy0x"}]]};d.node;let h=(0,r.default)(d);var f=e.i(271645),p=e.i(798120),m=e.i(167881),g=e.i(225913),_=e.i(647163);let v=(0,g.cva)("flex w-fit items-stretch has-[>[data-slot=button-group]]:gap-1.5 [&>*]:relative [&>*]:focus-visible:z-10",{variants:{orientation:{horizontal:"[&>*:not(:first-child)]:rounded-l-none [&>*:not(:first-child)]:border-l-0 [&>*:not(:last-child)]:rounded-r-none",vertical:"flex-col [&>*:not(:first-child)]:rounded-t-none [&>*:not(:first-child)]:border-t-0 [&>*:not(:last-child)]:rounded-b-none"}},defaultVariants:{orientation:"horizontal"}});function x({className:e,orientation:n="horizontal",...r}){return(0,t.jsx)("div",{"data-slot":"button-group","data-orientation":n,role:"group",className:(0,_.cn)(v({orientation:n}),e),...r})}var y=e.i(660302),b=e.i(147701);e.s([],951047),e.i(951047);var w=e.i(896499),k=e.i(956789),T=e.i(146376),S=e.i(733332);let M=f.createContext(void 0);function j(e){let t=f.useContext(M);if(void 0===t&&!e)throw Error((0,S.default)(72));return t}var E=e.i(574735),C=e.i(667865),O=e.i(229315),R=e.i(584446),A=e.i(157940);function P(e){return null!=e&&null!=e.clientX}var N=e.i(17989),D=e.i(675606),I=e.i(264111),z=e.i(176782),L=e.i(301252),F=e.i(56434),B=e.i(18478),$=e.i(116786),U=e.i(990627);let q={...$.popupStoreSelectors,disabled:e=>e.disabled,instantType:e=>e.instantType,isInstantPhase:e=>e.isInstantPhase,trackCursorAxis:e=>e.trackCursorAxis,disableHoverablePopup:e=>e.disableHoverablePopup,lastOpenChangeReason:e=>e.openChangeReason,closeOnClick:e=>e.closeOnClick,closeDelay:e=>e.closeDelay,adaptiveOrigin:e=>e.adaptiveOrigin};class H extends L.ReactStore{constructor(e,t,n){const r=new U.PopupTriggerMap;super(K(e,r,t,n),Y(r),q)}setOpen=(e,t)=>{(0,I.applyPopupOpenChange)(this,e,t,{extraState:{openChangeReason:t.reason}})};cancelPendingOpen(e){this.state.floatingRootContext.dispatchOpenChange(!1,(0,D.createChangeEventDetails)(F.REASONS.triggerPress,e))}}function K(e,t,n,r=!1){return{...(0,$.createInitialPopupStoreState)(t,n,r),disabled:!1,instantType:void 0,isInstantPhase:!1,trackCursorAxis:"none",disableHoverablePopup:!1,openChangeReason:null,closeOnClick:!0,closeDelay:0,adaptiveOrigin:void 0,...e}}function Y(e){return{popupRef:f.createRef(),onOpenChange:void 0,onOpenChangeComplete:void 0,triggerElements:e}}let V=(0,w.fastComponent)(function(e){let{disabled:n=!1,defaultOpen:r=!1,open:i,disableHoverablePopup:a=!1,trackCursorAxis:s="none",actionsRef:o,onOpenChange:l,onOpenChangeComplete:u,handle:c,triggerId:d,defaultTriggerId:h=null,children:p}=e,m=(0,I.usePopupRootStore)((e,t)=>new H({open:r,openProp:i,activeTriggerId:h,triggerIdProp:d},e,t));m.useControlledProp("openProp",i),m.useControlledProp("triggerIdProp",d),m.useContextCallback("onOpenChange",l),m.useContextCallback("onOpenChangeComplete",u);let g=m.useState("open"),_=!n&&g,v=m.useState("activeTriggerId"),x=m.useState("mounted"),y=m.useState("payload");m.useSyncedValues({trackCursorAxis:s,disableHoverablePopup:a,disabled:n}),(0,I.useImplicitActiveTrigger)(m,{closeOnActiveTriggerUnmount:!0});let{forceUnmount:b,transitionStatus:w}=(0,I.useOpenStateTransitions)(_,m),k=m.useState("isInstantPhase"),S=m.useState("instantType"),j=m.useState("lastOpenChangeReason"),E=f.useRef(null);(0,T.useIsoLayoutEffect)(()=>{g&&n&&m.setOpen(!1,(0,D.createChangeEventDetails)(F.REASONS.disabled))},[g,n,m]),(0,T.useIsoLayoutEffect)(()=>{"ending"===w&&j===F.REASONS.none||"ending"!==w&&k?("delay"!==S&&(E.current=S),m.set("instantType","delay")):null!==E.current&&(m.set("instantType",E.current),E.current=null)},[w,k,j,S,m]),(0,T.useIsoLayoutEffect)(()=>{_&&null==v&&m.set("payload",void 0)},[m,v,_]),f.useImperativeHandle(o,()=>({unmount:b,close:()=>m.setOpen(!1,(0,D.createChangeEventDetails)(F.REASONS.imperativeAction))}),[b,m]);let C=_||x||!n&&"none"!==s;return(0,t.jsxs)(M.Provider,{value:m,children:[c&&(0,t.jsx)(I.PopupHandleAttachment,{handle:c,store:m}),C&&(0,t.jsx)(X,{store:m,disabled:n,trackCursorAxis:s}),"function"==typeof p?p({payload:y}):p]})});function X({store:e,disabled:t,trackCursorAxis:n}){let r=e.useState("floatingRootContext"),i=(0,N.useDismiss)(r,{enabled:!t,referencePress:()=>e.select("closeOnClick")}),a=function(e,t={}){let{enabled:n=!0,axis:r="both"}=t,i="rootStore"in e?e.rootStore:e,a=i.useState("open"),s=i.useState("floatingElement"),o=i.useState("domReferenceElement"),l=i.context.dataRef,u=f.useRef(!1),c=f.useRef(null),[d,h]=f.useState(),[p,m]=f.useState([]),g=(0,C.useStableCallback)(e=>{i.set("positionReference",e)}),_=(0,C.useStableCallback)((e,t,n)=>{if(!u.current&&(!l.current.openEvent||P(l.current.openEvent))){var a,s;let u,c,h;i.set("positionReference",(a=n??o,s={x:e,y:t,axis:r,dataRef:l,pointerType:d},u=null,c=null,h=!1,{contextElement:a||void 0,getBoundingClientRect(){let e=a?.getBoundingClientRect()||{width:0,height:0,x:0,y:0},t="x"===s.axis||"both"===s.axis,n="y"===s.axis||"both"===s.axis,r=["mouseenter","mousemove"].includes(s.dataRef.current.openEvent?.type||"")&&"touch"!==s.pointerType,i=e.width,o=e.height,l=e.x,d=e.y;return null==u&&s.x&&t&&(u=e.x-s.x),null==c&&s.y&&n&&(c=e.y-s.y),l-=u||0,d-=c||0,i=0,o=0,!h||r?(i="y"===s.axis?e.width:0,o="x"===s.axis?e.height:0,l=t&&null!=s.x?s.x:l,d=n&&null!=s.y?s.y:d):h&&!r&&(o="x"===s.axis?e.height:o,i="y"===s.axis?e.width:i),h=!0,{width:i,height:o,x:l,y:d,top:d,right:l+i,bottom:d+o,left:l}}}))}}),v=(0,C.useStableCallback)(e=>{a?c.current||(_(e.clientX,e.clientY,e.currentTarget),m([])):_(e.clientX,e.clientY,e.currentTarget)}),x=(0,A.isMouseLikePointerType)(d)?s:a;f.useEffect(()=>{if(!n)return void g(o);if(!x)return;function e(){c.current?.(),c.current=null}let t=(0,O.getWindow)(s);return!l.current.openEvent||P(l.current.openEvent)?c.current=(0,E.addEventListener)(t,"mousemove",function(t){let n=(0,R.getTarget)(t);(0,R.contains)(s,n)?e():_(t.clientX,t.clientY)}):g(o),e},[x,n,s,l,o,i,_,g,p]),f.useEffect(()=>()=>{i.set("positionReference",null)},[i]),f.useEffect(()=>{n&&!s&&(u.current=!1)},[n,s]),f.useEffect(()=>{!n&&a&&(u.current=!0)},[n,a]);let y=f.useMemo(()=>{function e(e){h(e.pointerType)}return{onPointerDown:e,onPointerEnter:e,onMouseMove:v,onMouseEnter:v}},[v]);return f.useMemo(()=>n?{reference:y,trigger:y}:{},[n,y])}(r,{enabled:!t&&"none"!==n,axis:"none"===n?void 0:n}),s=f.useMemo(()=>(0,z.mergeProps)(a.reference,i.reference),[a.reference,i.reference]);return(0,I.usePopupInteractionProps)(e,{activeTriggerProps:s,inactiveTriggerProps:s,popupProps:i.floating??k.EMPTY_OBJECT}),null}var W=e.i(439957),G=e.i(446265),J=e.i(879938),Q=e.i(552245),Z=e.i(459636),ee=e.i(788015);let et=f.createContext(void 0);var en=e.i(650316),er=e.i(944681);let ei=f.createContext({hasProvider:!1,timeoutMs:0,delayRef:{current:0},initialDelayRef:{current:0},timeout:new W.Timeout,currentIdRef:{current:null},currentContextRef:{current:null}});function ea(e){let{children:n,delay:r,timeoutMs:i=0}=e,a=f.useRef(r),s=f.useRef(r),o=f.useRef(null),l=f.useRef(null),u=(0,W.useTimeout)();return(0,T.useIsoLayoutEffect)(()=>{if(s.current=r,!o.current){a.current=r;return}a.current={open:(0,er.getDelay)(a.current,"open"),close:(0,er.getDelay)(r,"close")}},[r,o,a,s]),(0,t.jsx)(ei.Provider,{value:f.useMemo(()=>({hasProvider:!0,delayRef:a,initialDelayRef:s,currentIdRef:o,timeoutMs:i,currentContextRef:l,timeout:u}),[i,u]),children:n})}var es=e.i(413082),eo=e.i(872135),el=e.i(673752),eu=e.i(322846);let ec="data-base-ui-tooltip-trigger";function ed(e){if("composedPath"in e){let t=e.composedPath();for(let e=0;e<t.length;e+=1){let n=t[e];if((0,O.isElement)(n))return n}}let t=e.target;return(0,O.isElement)(t)?t:null}let eh=(0,w.fastComponentRef)(function(e,t){let{render:n,className:r,style:i,handle:a,payload:s,disabled:o,delay:l,closeOnClick:u=!0,closeDelay:c,id:d,...h}=e,p=j(!0),m=(0,Z.usePopupHandleStore)(a)??p;if(!m)throw Error((0,S.default)(82));let g=(0,ee.useBaseUiId)(d),_=m.useState("isTriggerActive",g),v=m.useState("isOpenedByTrigger",g),x=m.useState("floatingRootContext"),y=f.useRef(null),b=c??0,{registerTrigger:w,isMountedByThisTrigger:k}=(0,I.useTriggerDataForwarding)(g,y,m,{payload:s,closeOnClick:u,closeDelay:b}),M=f.useContext(et),{activeIdRef:E,delayRef:C,isInstantPhase:P,hasProvider:N}=function(e,t={open:!1}){let{open:n}=t,r="rootStore"in e?e.rootStore:e,i=r.useState("floatingId"),{currentIdRef:a,delayRef:s,timeoutMs:o,initialDelayRef:l,currentContextRef:u,hasProvider:c,timeout:d}=f.useContext(ei),[h,p]=f.useState(!1),m=f.useRef(n);return(0,T.useIsoLayoutEffect)(()=>{m.current=n},[n]),(0,T.useIsoLayoutEffect)(()=>{function e(){u.current?.setIsInstantPhase(!1),a.current=null,u.current=null,s.current=l.current,d.clear()}if(a.current&&!n&&a.current===i){if(p(!1),o)return d.start(o,()=>{r.select("open")||a.current&&a.current!==i||e()}),()=>{(m.current||a.current!==i)&&d.clear()};e()}},[n,i,a,s,o,l,u,d,r]),(0,T.useIsoLayoutEffect)(()=>{if(!n)return;let e=u.current,t=a.current;d.clear(),u.current={onOpenChange:r.setOpen,setIsInstantPhase:p},a.current=i,s.current={open:0,close:(0,er.getDelay)(l.current,"close")},null!==t&&t!==i?(p(!0),e?.setIsInstantPhase(!0),e?.onOpenChange(!1,(0,D.createChangeEventDetails)(F.REASONS.none))):(p(!1),e?.setIsInstantPhase(!1))},[n,i,r,a,s,l,u,d]),(0,T.useIsoLayoutEffect)(()=>()=>{a.current===i&&(u.current=null,m.current)&&(a.current=null,s.current=l.current,d.clear())},[u,a,s,i,l,d]),f.useMemo(()=>({activeIdRef:a,hasProvider:c,delayRef:s,isInstantPhase:h}),[a,c,s,h])}(x,{open:v}),z=(0,el.useHoverInteractionSharedState)(x);m.useSyncedValue("isInstantPhase",P);let L=m.useState("disabled"),B=o??L,$=(0,G.useValueAsRef)(B),U=m.useState("trackCursorAxis"),q=m.useState("disableHoverablePopup"),H=f.useRef(!1),K=(0,W.useTimeout)(),Y=f.useRef(void 0);function V(){return N&&null!=E.current?0:l??M??600}function X(e){let t=y.current;if(!t||!e)return!1;let n=function(e){let t=e;for(;t;){let e=t.closest(`[${ec}]`);if(e)return e;let n=t.getRootNode();t="host"in n&&(0,O.isElement)(n.host)?n.host:null}return null}(e);return null!==n&&n!==t&&(0,R.contains)(t,n)}let ea=(0,eo.useHoverReferenceInteraction)(x,{enabled:!B,mouseOnly:!0,move:!1,handleClose:q||"both"===U?null:(0,en.safePolygon)(),restMs:V,delay:()=>null==c&&N?{close:(0,er.getDelay)(C.current,"close")}:{close:b},triggerElementRef:y,isActiveTrigger:_,isClosing:()=>"ending"===m.select("transitionStatus"),shouldOpen:()=>!H.current}),eh=(0,es.useFocus)(x,{enabled:!B}).reference,ef=m.useState("triggerProps",k),ep=k||"none"!==U;return(0,Q.useRenderElement)("button",e,{state:{open:v},ref:[t,w,y],props:[ea,eh,ep?ef:void 0,{onMouseOver(e){(e=>{let t,n=H.current,r=ed(e),i=(H.current=t=X(r),t&&(z.openChangeTimeout.clear(),z.restTimeout.clear(),z.restTimeoutPending=!1,K.clear()),t),a=y.current,s=a&&r&&(0,R.contains)(a,r);if(i&&m.select("open")&&m.select("lastOpenChangeReason")===F.REASONS.triggerHover)return m.setOpen(!1,(0,D.createChangeEventDetails)(F.REASONS.triggerHover,e));if(n&&!i&&s&&!$.current&&!m.select("open")&&a&&(0,A.isMouseLikePointerType)(Y.current)){let t=()=>{H.current||$.current||m.select("open")||m.setOpen(!0,(0,D.createChangeEventDetails)(F.REASONS.triggerHover,e,a))},n=V();0===n?(K.clear(),t()):K.start(n,t)}})(e.nativeEvent)},onFocus(e){X(ed(e.nativeEvent))&&e.preventBaseUIHandler()},onMouseLeave(){H.current=!1,K.clear(),Y.current=void 0},onPointerEnter(e){Y.current=e.pointerType},onPointerDown(e){Y.current=e.pointerType,m.set("closeOnClick",u),u&&!m.select("open")&&m.cancelPendingOpen(e.nativeEvent)},onClick(e){u&&!m.select("open")&&m.cancelPendingOpen(e.nativeEvent)},id:g,[eu.triggerDisabled]:B?"":void 0,[ec]:B?void 0:""},h],stateAttributesMapping:J.triggerOpenStateMapping})}),ef=f.createContext(void 0);var ep=e.i(378680);let em=f.forwardRef(function(e,n){let{keepMounted:r=!1,...i}=e;return j().useState("mounted")||r?(0,t.jsx)(ef.Provider,{value:r,children:(0,t.jsx)(ep.FloatingPortalLite,{ref:n,...i})}):null}),eg=f.createContext(void 0);function e_(){let e=f.useContext(eg);if(void 0===e)throw Error((0,S.default)(71));return e}var ev=e.i(923706),ex=e.i(638396),ey=e.i(789579);let eb=f.forwardRef(function(e,n){let{render:r,className:i,anchor:a,positionMethod:s="absolute",side:o="top",align:l="center",sideOffset:u=0,alignOffset:c=0,collisionBoundary:d="clipping-ancestors",collisionPadding:h=5,arrowPadding:p=5,sticky:m=!1,disableAnchorTracking:g=!1,collisionAvoidance:_=ex.POPUP_COLLISION_AVOIDANCE,style:v,...x}=e,y=j(),b=function(){let e=f.useContext(ef);if(void 0===e)throw Error((0,S.default)(70));return e}(),w=y.useState("open"),k=y.useState("mounted"),T=y.useState("trackCursorAxis"),M=y.useState("disableHoverablePopup"),E=y.useState("floatingRootContext"),C=y.useState("instantType"),O=y.useState("transitionStatus"),R=y.useState("adaptiveOrigin"),A=(0,ev.useAnchorPositioning)({anchor:a,positionMethod:s,floatingRootContext:E,mounted:k,side:o,sideOffset:u,align:l,alignOffset:c,collisionBoundary:d,collisionPadding:h,sticky:m,arrowPadding:p,disableAnchorTracking:g,keepMounted:b,collisionAvoidance:_,adaptiveOrigin:R}),P=f.useMemo(()=>({open:w,side:A.side,align:A.align,anchorHidden:A.anchorHidden,instant:"none"!==T?"tracking-cursor":C}),[w,A.side,A.align,A.anchorHidden,T,C]),N=(0,ey.usePositioner)(e,P,{styles:A.positionerStyles,transitionStatus:O,props:x,refs:[n,y.useStateSetter("positionerElement")],hidden:!k,inert:!w||"both"===T||M});return(0,t.jsx)(eg.Provider,{value:A,children:N})});var ew=e.i(137584),ek=e.i(253984),eT=e.i(431157);let eS=f.forwardRef(function(e,t){let{render:n,className:r,style:i,...a}=e,s=j(),{side:o,align:l}=e_(),u=s.useState("open"),c=s.useState("instantType"),d=s.useState("transitionStatus"),h=s.useState("popupProps"),f=s.useState("floatingRootContext"),p=s.useState("disabled"),m=s.useState("closeDelay");(0,ew.useOpenChangeComplete)({open:u,ref:s.context.popupRef,onComplete(){u&&s.context.onOpenChangeComplete?.(!0)}}),(0,eT.useHoverFloatingInteraction)(f,{enabled:!p,closeDelay:m});let g=s.useStateSetter("popupElement");return(0,Q.useRenderElement)("div",e,{state:{open:u,side:o,align:l,instant:c,transitionStatus:d},ref:[t,s.context.popupRef,g],props:[I.FOCUSABLE_POPUP_PROPS,h,(0,ek.getDisabledMountTransitionStyles)(d),a],stateAttributesMapping:J.popupTransitionStateMapping})}),eM=f.forwardRef(function(e,t){let{render:n,className:r,style:i,...a}=e,s=j(),{arrowRef:o,side:l,align:u,arrowUncentered:c,arrowStyles:d}=e_(),h=s.useState("open"),f=s.useState("instantType");return(0,Q.useRenderElement)("div",e,{state:{open:h,side:l,align:u,uncentered:c,instant:f},ref:[t,o],props:[{style:d,"aria-hidden":!0},a],stateAttributesMapping:J.popupStateMapping})});var ej=e.i(818390);let eE=f.forwardRef(function(e,t){let{render:n,className:r,style:i,children:a,...s}=e,o=j(),l=e_(),u=o.useState("instantType"),{children:c,state:d}=(0,ej.usePopupViewport)({store:o,side:l.side,children:a}),h={activationDirection:d.activationDirection,transitioning:d.transitioning,instant:u};return(0,Q.useRenderElement)("div",e,{state:h,ref:t,props:[s,{children:c}],stateAttributesMapping:ej.popupViewportStateMapping})});var eC=e.i(564170);class eO extends eC.BasePopupHandle{constructor(){super(function(){let e=new U.PopupTriggerMap;return Object.assign(new B.NullStore(Object.freeze(K(void 0,e)),Object.freeze(Y(e)),q),{setOpen:k.NOOP,cancelPendingOpen:k.NOOP})}(),"Tooltip")}open(e){this.openByTrigger(e)}close(){this.closePopup()}get isOpen(){return this.attachedStore?.select("open")??!1}}e.s(["Arrow",0,eM,"Handle",0,eO,"Popup",0,eS,"Portal",0,em,"Positioner",0,eb,"Provider",0,function(e){let{delay:n,closeDelay:r,timeout:i=400}=e,a=f.useMemo(()=>({open:n,close:r}),[n,r]);return(0,t.jsx)(et.Provider,{value:n,children:(0,t.jsx)(ea,{delay:a,timeoutMs:i,children:e.children})})},"Root",0,V,"Trigger",0,eh,"Viewport",0,eE,"createHandle",0,function(){return new eO}],599643);var eR=e.i(599643),eR=eR;function eA({delay:e=0,...n}){return(0,t.jsx)(eR.Provider,{"data-slot":"tooltip-provider",delay:e,...n})}function eP({...e}){return(0,t.jsx)(eR.Root,{"data-slot":"tooltip",...e})}function eN({...e}){return(0,t.jsx)(eR.Trigger,{"data-slot":"tooltip-trigger",...e})}function eD({className:e,side:n="top",sideOffset:r=4,align:i="center",alignOffset:a=0,children:s,...o}){return(0,t.jsx)(eR.Portal,{children:(0,t.jsx)(eR.Positioner,{align:i,alignOffset:a,side:n,sideOffset:r,className:"isolate z-50",children:(0,t.jsxs)(eR.Popup,{"data-slot":"tooltip-content",className:(0,_.cn)("z-50 inline-flex w-fit max-w-xs origin-(--transform-origin) items-center gap-1.5 rounded-md bg-foreground px-3 py-1.5 text-xs text-background has-data-[slot=kbd]:pr-1.5 data-[side=bottom]:slide-in-from-top-2 data-[side=inline-end]:slide-in-from-left-2 data-[side=inline-start]:slide-in-from-right-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 **:data-[slot=kbd]:relative **:data-[slot=kbd]:isolate **:data-[slot=kbd]:z-50 **:data-[slot=kbd]:rounded-sm data-[state=delayed-open]:animate-in data-[state=delayed-open]:fade-in-0 data-[state=delayed-open]:zoom-in-95 data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95",e),...o,children:[s,(0,t.jsx)(eR.Arrow,{className:"z-50 size-2.5 translate-y-[calc(-50%-2px)] rotate-45 rounded-[2px] bg-foreground fill-foreground data-[side=bottom]:top-1 data-[side=inline-end]:top-1/2! data-[side=inline-end]:-left-1 data-[side=inline-end]:-translate-y-1/2 data-[side=inline-start]:top-1/2! data-[side=inline-start]:-right-1 data-[side=inline-start]:-translate-y-1/2 data-[side=left]:top-1/2! data-[side=left]:-right-1 data-[side=left]:-translate-y-1/2 data-[side=right]:top-1/2! data-[side=right]:-left-1 data-[side=right]:-translate-y-1/2 data-[side=top]:-bottom-2.5"})]})})})}var eI=e.i(265402),ez=e.i(451888),eL=e.i(635963),eF=e.i(279265),eB=e.i(222055),e$=e.i(747985),eU=e.i(616816),eq=e.i(992112);let eH={name:"aperture",size:24,node:[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m14.31 8 5.74 9.94",key:"1y6ab4"}],["path",{d:"M9.69 8h11.48",key:"1wxppr"}],["path",{d:"m7.38 12 5.74-9.94",key:"1grp0k"}],["path",{d:"M9.69 16 3.95 6.06",key:"libnyf"}],["path",{d:"M14.31 16H2.83",key:"x5fava"}],["path",{d:"m16.62 12-5.74 9.94",key:"1vwawt"}]]};eH.node;let eK=(0,r.default)(eH);var eY=e.i(758925),eV=e.i(218964);let eX={name:"monitor",size:24,node:[["rect",{width:"20",height:"14",x:"2",y:"3",rx:"2",key:"48i651"}],["line",{x1:"8",x2:"16",y1:"21",y2:"21",key:"1svkeh"}],["line",{x1:"12",x2:"12",y1:"17",y2:"21",key:"vw1qmm"}]]};eX.node;let eW=(0,r.default)(eX),eG={name:"moon",size:24,node:[["path",{d:"M20.985 12.486a9 9 0 1 1-9.473-9.472c.405-.022.617.46.402.803a6 6 0 0 0 8.268 8.268c.344-.215.825-.004.803.401",key:"kfwtm"}]]};eG.node;let eJ=(0,r.default)(eG),eQ={name:"sun",size:24,node:[["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"m4.93 4.93 1.41 1.41",key:"149t6j"}],["path",{d:"m17.66 17.66 1.41 1.41",key:"ptbguv"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"m6.34 17.66-1.41 1.41",key:"1m8zz5"}],["path",{d:"m19.07 4.93-1.41 1.41",key:"1shlcs"}]]};eQ.node;let eZ=(0,r.default)(eQ);var e0=e.i(770703),e1=e.i(630374),e2=e.i(421429);let e5={name:"package",size:24,node:[["path",{d:"M11 21.73a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73z",key:"1a0edw"}],["path",{d:"M12 22V12",key:"d0xqtd"}],["polyline",{points:"3.29 7 12 12 20.71 7",key:"ousv84"}],["path",{d:"m7.5 4.27 9 5.15",key:"1c824w"}]]};e5.node;let e3=(0,r.default)(e5);var e6=e.i(895836),e4=e.i(283653);function e7(){let{data:e}=(0,e4.useServerRoute)(p.queryKey.bot);return e&&0===e.length?"amber":null}function e8(){let{data:e}=(0,e4.useServerRoute)(p.queryKey.tasks),t=e??[],n=e=>("done"===e.status||"failed"===e.status)&&!e.seen;return{owed:t.filter(e=>"waiting"===e.status||n(e)).length,failed:t.some(e=>"failed"===e.status&&n(e))}}function e9(){let{data:e,isLoading:t}=(0,e4.useServerRoute)(p.queryKey.config);if(t)return null;let n=t=>(0,eq.isConfigSet)(e,t);return eq.CONFIG_GROUPS.some(e=>"keys"===e.section&&!(0,eq.groupSatisfied)(e,n))?"amber":null}let te=eq.CONFIG_GROUPS.filter(e=>"models"===e.section).flatMap(e=>e.entries.filter(e=>e.kind).map(e=>e.key));function tt(){let{data:e,isLoading:t}=(0,e4.useServerRoute)(p.queryKey.config);return t||!e?null:te.every(t=>!(0,eq.isConfigSet)(e,t))?"amber":null}function tn(){let{data:e}=(0,e4.useServerRoute)(p.queryKey.mcp);return e?.some(e=>e.lastError)?"red":null}var tr=e.i(991322),ti=e.i(852116),ta=e.i(589128),ts=e.i(567334),to=e.i(762074);let tl=ts.RAMP.slice(0,10),tu=Array.from({length:35},(e,t)=>{let n=t%7,r=(t-n)/7;return{i:t,x:1.7142857142857142*(n+.5),y:2.4*(r+.5)+.72,r:Math.hypot((n-3)/3,(r-2)/2)}}).filter(e=>e.r<=1.02);function tc(e){return tu.map(t=>{let n=Math.sin(e/1700*Math.PI*2-2.2*t.r),r=5.4+4.4*(1-t.r**2)**.6+1.7*n,i=Math.max(0,Math.min(tl.length-1,Math.round(r))),a=tl[i];return{char:a[Math.floor((0,ts.hash)(t.i,Math.floor(e/1e3*ts.CHAR_RATE*1.6+.41*t.i))*a.length)]??" ",alpha:.42+.58*Math.max(0,Math.min(1,r/(tl.length-1)))}})}let td=new Set,th=null,tf=e.i(569644).FolderOpen;var tp=e.i(922521),tm=e.i(734080),tg=e.i(989409),t_=e6;let tv=(e,n=t_.SettingSkeleton)=>(0,e0.default)(e,{loading:()=>(0,t.jsx)(n,{})}),tx=tv(()=>e.A(48663).then(e=>({default:e.MemorySetting})),t_.SettingPanesSkeleton),ty=tv(()=>e.A(959484).then(e=>({default:e.BotSetting})),t_.SettingPanesSkeleton),tb=tv(()=>e.A(682612).then(e=>({default:e.TaskSetting}))),tw=tv(()=>e.A(711454).then(e=>({default:e.ConfigSetting}))),tk=tv(()=>e.A(915664).then(e=>({default:e.ModelsSetting}))),tT=tv(()=>e.A(17613).then(e=>({default:e.ThursdaySetting}))),tS=tv(()=>e.A(706108).then(e=>({default:e.ArtifactSetting})),t_.SettingPanesSkeleton),tM=tv(()=>e.A(194379).then(e=>({default:e.WorkspaceSetting})),t_.SettingPanesSkeleton),tj=tv(()=>e.A(832663).then(e=>({default:e.SkillsSetting}))),tE=tv(()=>e.A(959108).then(e=>({default:e.McpSetting}))),tC=["call","work","app"],tO=[{id:"thursday",label:"Thursday",group:"call",hint:"Her face, voice and prompt",icon:function({size:e=16,className:n}){let r=(0,to.useThursdayFace)(),[i,a]=(0,f.useState)(()=>tc(0));return(0,f.useEffect)(()=>(function(e){if(td.add(e),!th){let e=Date.now();th=setInterval(()=>{let t=Date.now()-e;for(let e of td)e(t)},60)}return()=>{td.delete(e),0===td.size&&th&&(clearInterval(th),th=null)}})(e=>a(tc(e))),[]),(0,t.jsx)("svg",{viewBox:"0 0 12 12",width:e,height:e,className:n,fill:r.color??"currentColor","aria-hidden":!0,children:i.map((e,n)=>(0,t.jsx)("text",{x:tu[n].x,y:tu[n].y,textAnchor:"middle",fontFamily:"ui-monospace, SFMono-Regular, Menlo, monospace",fontSize:"2.85",fillOpacity:e.alpha,children:e.char},tu[n].i))})},Component:tT},{id:"memory",label:"Memory",group:"call",hint:"What the agent knows",icon:ti.MemoryMark,Component:tx},{id:"bot",label:"Bots",group:"work",hint:"Workers the agent delegates to",icon:eL.BotsMark,Component:ty,Badge:function(){return e7()?(0,t.jsx)(e6.NavBadge,{tone:"amber"}):null}},{id:"tasks",label:"Tasks",group:"work",hint:"Jobs the bots were handed, and what came of them",icon:eV.ListChecks,Component:tb,Badge:function(){let{owed:e,failed:n}=e8();return(0,t.jsxs)("span",{className:"flex items-center gap-1.5",children:[n&&(0,t.jsx)(e6.NavBadge,{tone:"red"}),(0,t.jsx)(e6.NavBadge,{tone:"amber",count:e})]})}},{id:"artifact",label:"Artifacts",group:"work",hint:"What the bots finished and handed over",icon:e3,Component:tS},{id:"workspace",label:"Workspace",group:"work",hint:"What the bots wrote, and the room it takes",icon:tf,Component:tM},{id:"skills",label:"Skills",group:"work",hint:"Instructions the bots load on demand",icon:ta.SkillsMark,Component:tj},{id:"mcp",label:"Connectors",group:"work",hint:"Tools from MCP servers",icon:tr.McpMark,Component:tE,Badge:function(){return tn()?(0,t.jsx)(e6.NavBadge,{tone:"red"}):null}},{id:"models",label:"Models",group:"app",hint:"What bots draw, film, speak and transcribe with",icon:eK,Component:tk,Badge:function(){return tt()?(0,t.jsx)(e6.NavBadge,{tone:"amber"}):null}},{id:"config",label:"Keys",group:"app",hint:"API keys the app runs on",icon:eY.KeyRound,Component:tw,Badge:function(){return e9()?(0,t.jsx)(e6.NavBadge,{tone:"amber"}):null}}],tR={system:{label:"System",icon:eW},light:{label:"Light",icon:eZ},dark:{label:"Dark",icon:eJ}};function tA(){let e=(0,tp.useTheme)();return(0,t.jsx)(e2.Segmented,{"aria-label":"Theme",className:"w-full gap-0.5 *:flex-1 *:py-1.5",options:tm.THEMES.map(e=>{let{label:n,icon:r}=tR[e];return{value:e,title:n,label:(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(r,{className:"size-3.5"}),(0,t.jsx)("span",{className:"sr-only",children:n})]})}}),value:e,onChange:tp.setTheme})}function tP({children:e}){let n=(0,tg.useSettingsStore)(e=>e.open),r=(0,tg.useSettingsStore)(e=>e.section),i=(0,tg.useSettingsStore)(e=>e.show),a=(0,tg.useSettingsStore)(e=>e.hide),s=(0,tg.useSettingsStore)(e=>e.pick),o=(0,f.useRef)(null),l=tO.find(e=>e.id===r)??tO[0];return(0,f.useEffect)(()=>{if(!n)return;let e=e=>{if(!e.metaKey&&!e.ctrlKey)return;if("k"===e.key){let t=o.current?.querySelector("[data-setting-filter]");if(!t)return;e.preventDefault(),t.focus(),t.select();return}let t=Number(e.key);Number.isInteger(t)&&t>=1&&t<=tO.length&&(e.preventDefault(),s(tO[t-1].id))};return window.addEventListener("keydown",e),()=>window.removeEventListener("keydown",e)},[n,s]),(0,t.jsxs)(e1.Dialog,{open:n,onOpenChange:e=>e?i():a(),children:[e&&(0,t.jsx)(e1.DialogTrigger,{render:e}),(0,t.jsxs)(e1.DialogContent,{className:"h-[min(52rem,calc(100vh-3rem))] gap-0 overflow-hidden p-0 sm:max-w-[min(80rem,calc(100vw-3rem))]",children:[(0,t.jsx)(e1.DialogTitle,{className:"sr-only",children:"Settings"}),(0,t.jsxs)("div",{className:"flex h-full min-h-0 min-w-0",children:[(0,t.jsxs)("nav",{"aria-label":"Settings sections",onKeyDown:e=>{let t,n="ArrowDown"===e.key?1:"ArrowUp"===e.key?-1:0;if(!n)return;e.preventDefault();let i=(t=(tO.findIndex(e=>e.id===r)+n+tO.length)%tO.length,tO[t].id);s(i),e.currentTarget.querySelector(`[data-section="${i}"]`)?.focus()},className:"flex w-52 shrink-0 flex-col gap-0.5 border-r border-border/60 bg-muted/30 p-3",children:[tC.map(e=>(0,t.jsxs)(f.Fragment,{children:[(0,t.jsx)("span",{className:"px-3 pt-3 pb-1 font-mono text-[10px] text-muted-foreground/60",children:e}),tO.filter(t=>t.group===e).map(e=>(0,t.jsxs)(m.Button,{"data-section":e.id,onClick:()=>s(e.id),variant:e.id===r?"secondary":"ghost",className:(0,_.cn)("justify-start",e.id===r?"text-foreground bg-[color-mix(in_oklch,var(--secondary),var(--foreground)_5%)]":"text-muted-foreground"),children:[(0,t.jsx)(e.icon,{className:(0,_.cn)("mr-1")}),(0,t.jsx)("span",{className:"truncate text-sm",children:e.label}),e.Badge&&(0,t.jsx)("span",{className:"ml-auto flex items-center",children:(0,t.jsx)(e.Badge,{})})]},e.id))]},e)),(0,t.jsx)("div",{className:"mt-auto px-1 pt-3",children:(0,t.jsx)(tA,{})})]}),(0,t.jsxs)("div",{className:"flex min-h-0 min-w-0 flex-1 flex-col",children:[(0,t.jsx)("div",{className:"shrink-0 px-8 pt-10",children:(0,t.jsxs)(t_.SettingColumn,{className:"animate-in space-y-0.5 fade-in slide-in-from-bottom-1 duration-300",children:[(0,t.jsx)("p",{className:"truncate text-2xl font-semibold",children:l.label}),(0,t.jsx)("p",{className:"truncate text-xs text-muted-foreground",children:l.hint})]},l.id)}),(0,t.jsx)("div",{ref:o,className:"min-h-0 min-w-0 flex-1",children:(0,t.jsx)(l.Component,{})})]})]})]})]})}function tN(e){return e.includes("red")?"red":e.includes("amber")?"amber":null}function tD(){let e=e7(),t=function(){let{owed:e,failed:t}=e8();return t?"red":e>0?"amber":null}(),n=tn();return{bot:e,tasks:t,mcp:n,config:e9(),models:tt()}}var tI=e.i(671228),tz=e.i(67045),tL=e.i(511769),tF=e.i(6799),tB=e.i(213377),t$=e.i(864723),tU=e.i(240829),tq=e.i(393080);async function tH(e,t,n){try{let r=await fetch(p.queryKey.toolCall,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({toolCallId:t.id,callId:e,name:t.name,input:t.arguments?JSON.parse(t.arguments):{}}),signal:n}),{output:i}=(0,tq.unwrapResult)(await r.json());return"string"==typeof i?i:JSON.stringify(i??null)}catch(e){return`Error: ${(0,_.errorToString)(e)}`}}var tK=e.i(319841);let tY={"not-allowed":"The microphone is not allowed","service-not-allowed":"The microphone is not allowed","audio-capture":"There is no microphone","language-not-supported":"This browser cannot listen in that language"},tV=e=>e.toLowerCase().replace(/[^a-z0-9 ]/g,"").split(/\s+/).filter(Boolean),tX=(e,t,n)=>Math.abs(e.length-t.length)<=n&&function(e,t){let n=Array.from({length:e.length+1},(e,t)=>t),r=Array(e.length+1).fill(0);for(let i=1;i<=t.length;i++){r[0]=i;for(let a=1;a<=e.length;a++){let s=n[a-1]+ +(t[i-1]!==e[a-1]);r[a]=Math.min(s,n[a]+1,r[a-1]+1)}[n,r]=[r,n]}return n[e.length]}(e,t)<=n;var tW=e.i(245629);let tG={openai:async()=>(await e.A(948790)).createOpenAiSession,xai:async()=>(await e.A(273919)).createXaiSession};async function tJ(e){let t=(await tG[e.provider]())(e);try{await t.connect()}catch(e){throw t.close(),e}return t}var tQ=e.i(541302),tZ=e.i(95187);let t0=(0,tZ.createServerReference)("7f193795576ff7b17df3f9ed43ee4a37ce55e1b0ca",tZ.callServer,void 0,tZ.findSourceMapURL,"endCallAction"),t1=(0,tZ.createServerReference)("7f4f57b79d5e765d21849bc9acd4d0fefc4e90284b",tZ.callServer,void 0,tZ.findSourceMapURL,"openCallAction"),t2=(0,tZ.createServerReference)("7f7da8b019454b82e7476d72e6ca572be4ada58fdd",tZ.callServer,void 0,tZ.findSourceMapURL,"saveTurnsAction");var t5=e.i(561540);let t3=Array(t$.MARK_BANDS).fill(0),t6=e=>`${e.id}@${(0,tW.toDate)(e.updatedAt).getTime()}`,t4=!1;var t7=e.i(621285);function t8(){return(0,t.jsx)(t7.FileViewer,{children:(0,t.jsx)(t9,{})})}function t9(){let e=(0,t7.useOpenFile)();return(0,tL.useAppEvent)({artifact:t=>{if(e(t.path))return;let n=t.path.split("/").pop()??t.path;tF.toast.add({type:"success",title:t.label,description:`${n} is ready.`,actionProps:{children:"Open",onClick:()=>e(t.path)}})}}),null}var ne=e.i(333495),nt=e.i(41533),nn=e.i(256604);let nr=["▁▄▇▄","▂▆▆▂","▄▇▄▁","▆▆▂▂","▇▄▁▄","▆▂▂▆","▄▁▄▇","▂▂▆▆"];function ni({live:e}){let{owed:t}=e8(),n=tN(Object.values(tD()).map(e=>e??null));return(0,f.useEffect)(()=>{let n=t>0?`(${t}) ${nt.APP_NAME}`:nt.APP_NAME;if(!e){document.title=n;return}let r=0;document.title=`${n} ${nr[r]}`;let i=setInterval(()=>{r=(r+1)%nr.length,document.title=`${n} ${nr[r]}`},100);return()=>clearInterval(i)},[e,t]),(0,f.useEffect)(()=>{let e=document.head.querySelector("link[data-tab-icon]");e||((e=document.createElement("link")).rel="icon",e.type="image/svg+xml",e.setAttribute("sizes","any"),e.dataset.tabIcon="",document.head.append(e)),e.href=`data:image/svg+xml,${encodeURIComponent(function(e){let{head:t,eyes:n}=(0,eL.markAtRest)(nn.THURSDAY_SEED),r=e?`<circle cx="200" cy="200" r="${66}"/>`:"",i=e?`<circle class="${e}" cx="200" cy="200" r="46"/>`:"";return`<svg xmlns="http://www.w3.org/2000/svg" viewBox="-6 -6 252 252"><style>.ink{fill:#0a0a0a}.amber{fill:#e17100}.red{fill:#e7000b}@media (prefers-color-scheme:dark){.ink{fill:#fafafa}.amber{fill:#ffb900}.red{fill:#ff6467}}</style><mask id="m" maskUnits="userSpaceOnUse"><path d="${t}" fill="#fff"/><path d="${n[0]}"/><path d="${n[1]}"/>${r}</mask><path class="ink" d="${t}" mask="url(#m)"/>${i}</svg>`}(n))}`},[n]),null}function na({status:e,messages:n,tool:r,onTap:i,wakePhrase:a=null,hotkeyLabel:s=null,idleLeft:o=null,since:l=null,micOff:u=!1,getSpectrum:c,getMicSpectrum:d,captionView:h="center",face:p=tI.FACE_DEFAULT,callable:m=!0}){let[g,v]=(0,f.useState)(!1),x=!m&&"idle"===e,y="connecting"===e,b="idle"!==e&&"connecting"!==e,w=n.findLast(e=>"assistant"===e.role)?.text??"",k="sides"===h&&"idle"!==e,T=function(e){let[t,n]=(0,f.useState)(0),[r,i]=(0,f.useState)(0),a=(0,f.useRef)(0),s=(0,f.useRef)(null),o=(0,f.useRef)(e.length),l=Math.max(0,e.length-3);(0,f.useEffect)(()=>{let t=e.length-o.current;o.current=e.length,t>0&&n(e=>e>0?Math.min(e+t,l):0)},[e.length,l]),(0,f.useEffect)(()=>()=>{s.current&&clearTimeout(s.current)},[]);let u=e.length-t;return{shown:e.slice(Math.max(0,u-3),u),give:r,onWheel:e=>{if(0===l)return;a.current+=e.deltaY;let t=Math.trunc(a.current/360);0!==t&&(a.current-=360*t,n(e=>Math.min(l,Math.max(0,e-t)))),i(a.current/360),s.current&&clearTimeout(s.current),s.current=setTimeout(()=>{a.current=0,i(0)},220)}}}(n);return(0,t.jsxs)("div",{className:"relative flex h-full flex-col",children:[(0,t.jsx)("div",{className:"absolute top-5 right-5 z-10",children:(0,t.jsx)(nl,{})}),(0,t.jsxs)("div",{onWheel:k?T.onWheel:void 0,className:"flex min-h-0 flex-1 flex-col items-center justify-center gap-5 pt-[7vh]",children:[(0,t.jsxs)("div",{className:"relative w-[min(28rem,72vw,52vh)]",children:[(0,t.jsx)("button",{type:"button",disabled:y,onClick:x?()=>v(!0):i,"aria-label":x?"Add a speech key":b?"End the call":"Call Thursday",className:(0,_.cn)("block w-full rounded-full outline-none transition-all duration-700 ease-out focus-visible:ring-3 focus-visible:ring-ring/50 enabled:active:scale-[0.99] disabled:opacity-70",x&&"opacity-35"),children:(0,t.jsx)(ne.Face,{look:p,status:e,getSpectrum:c,className:"w-full"})}),k&&(0,t.jsx)(nE,{shown:T.shown,give:T.give})]}),(0,t.jsxs)("div",{className:"flex w-full max-w-3xl flex-col items-center gap-2 px-6 text-center",children:[(0,t.jsx)(nk,{tool:r,micOff:u,listening:"listening"===e,getMicSpectrum:d}),(0,t.jsx)(ng,{text:k||"idle"===e?"":w,fixed:!0,paged:!0,className:"w-full max-w-160 text-center text-base"}),(0,t.jsx)("div",{className:(0,_.cn)("flex flex-col items-center","idle"===e&&"order-first"),children:x?(0,t.jsx)(nM,{open:g,onOpen:()=>v(!0),onClose:()=>v(!1)}):(0,t.jsx)(nS,{status:e,idleLeft:o,since:l,wakePhrase:a,hotkeyLabel:s})})]})]}),(0,t.jsx)(t8,{}),(0,t.jsx)(eF.BotRoom,{})]})}let ns=["thursday","memory","bot"];function no({alert:e}){return e?(0,t.jsx)("span",{"aria-hidden":!0,className:(0,_.cn)("absolute top-0.5 right-0.5 size-1.5 rounded-full ring-2 ring-background","red"===e?"bg-destructive":"bg-amber-600 dark:bg-amber-400")}):null}function nl(){let e=tD(),n=tN(tO.filter(e=>!ns.includes(e.id)).map(t=>e[t.id]??null));return(0,t.jsxs)(eA,{delay:400,children:[(0,t.jsxs)(x,{className:"bg-background/75 backdrop-blur-md",children:[(0,t.jsx)(x,{children:ns.map(n=>{let r=tO.find(e=>e.id===n);return r?(0,t.jsxs)(eP,{children:[(0,t.jsxs)(eN,{render:(0,t.jsx)(m.Button,{size:"icon",variant:"outline","aria-label":r.label,onClick:()=>(0,tg.openSettings)(n)}),children:[(0,t.jsx)(r.icon,{className:"text-muted-foreground"}),(0,t.jsx)(no,{alert:e[n]??null})]}),(0,t.jsx)(eD,{side:"bottom",children:r.label})]},n):null})}),(0,t.jsx)(x,{children:(0,t.jsxs)(eP,{children:[(0,t.jsxs)(eN,{render:(0,t.jsx)(m.Button,{size:"icon",variant:"outline","aria-label":"Everything else",onClick:()=>(0,tg.openSettings)()}),children:[(0,t.jsx)(h,{className:"text-muted-foreground"}),(0,t.jsx)(no,{alert:n})]}),(0,t.jsx)(eD,{side:"bottom",children:"Everything else"})]})})]}),(0,t.jsx)(tP,{})]})}let nu=[5,3,2],nc=["text-lg","text-[15px]","text-[13px]"],nd=["px-4 py-3","px-3.5 py-2.5","px-3 py-2"],nh=["bg-muted","bg-muted/70","bg-muted/45"],nf=["bg-primary","bg-primary/75","bg-primary/60"];function np(e,t){return e[t]??e[e.length-1]}let nm=["text-foreground","text-muted-foreground","text-muted-foreground/60"];function ng({text:e,lead:r,lines:i=3,fixed:s=!1,paged:o=!1,className:l}){let u=(0,f.useRef)(null),[c,d]=(0,f.useState)(i),[h,p]=(0,f.useState)(0);(0,f.useEffect)(()=>p(0),[e]),(0,f.useEffect)(()=>{let e=u.current;if(!e||!o)return;let t=()=>{let t=Number.parseFloat(getComputedStyle(e).lineHeight);t&&d(Math.max(1,Math.round(e.scrollHeight/t)))};t();let n=new ResizeObserver(t);return n.observe(e),()=>n.disconnect()},[e,o]);let m=Math.ceil(Math.max(0,c-i)/i),g=Math.max(0,c-i-Math.min(h,m)*i),v=`calc(${i} * 1.625em)`,x=(0,t.jsxs)("p",{ref:u,style:{lineHeight:1.625,...o?{transform:`translateY(-${1.625*g}em)`}:{}},className:(0,_.cn)("break-keep",o&&"transition-transform duration-200"),children:[r,e]});return o?(0,t.jsxs)("div",{className:"relative flex w-full justify-center",children:[(0,t.jsx)("div",{style:{height:v},onClick:m>0?()=>p(e=>e>=m?0:e+1):void 0,className:(0,_.cn)("overflow-hidden",m>0&&"cursor-pointer",l),children:x}),m>0&&(0,t.jsxs)("div",{className:"absolute top-1/2 right-0 flex -translate-y-1/2 flex-col items-center gap-0.5",children:[(0,t.jsx)(n_,{look:a,label:"Earlier lines",shown:h<m,onPick:()=>p(e=>Math.min(m,e+1))}),(0,t.jsx)(n_,{look:n.ChevronDown,label:"Later lines",shown:h>0,onPick:()=>p(e=>Math.max(0,e-1))})]})]}):(0,t.jsx)("div",{style:s?{height:v}:{maxHeight:v},className:(0,_.cn)("overflow-hidden mask-[linear-gradient(to_bottom,black_calc(100%-0.7rem),transparent_100%)]",l),children:x})}function n_({look:e,label:n,shown:r,onPick:i}){return(0,t.jsx)("button",{type:"button","aria-label":n,"aria-hidden":!r,tabIndex:r?void 0:-1,onClick:e=>{e.stopPropagation(),i()},className:(0,_.cn)("grid size-7 place-items-center rounded-full text-muted-foreground/60 outline-none transition-colors hover:bg-muted hover:text-foreground focus-visible:ring-3 focus-visible:ring-ring/50",!r&&"invisible"),children:(0,t.jsx)(e,{className:"size-3.5"})})}let nv=[{id:"a",from:0,to:1,gain:.8},{id:"b",from:1,to:3,gain:1},{id:"c",from:3,to:5,gain:1.15},{id:"d",from:5,to:6,gain:1.35},{id:"e",from:6,to:8,gain:1.55}];function nx({live:e,getMicSpectrum:n}){let r=(0,f.useRef)({}),i=(0,f.useRef)(nv.map(()=>0));return(0,f.useEffect)(()=>{if(!e||!n)return;let t=requestAnimationFrame(function e(){let a=n();nv.forEach((e,t)=>{let n=0;for(let t=e.from;t<e.to;t++)n=Math.max(n,a[t]??0);let s=Math.min(1,(n*e.gain)**.8),o=i.current[t],l=o+(s-o)*(s>o?.6:.16);i.current[t]=l;let u=r.current[e.id];u&&(u.style.height=`${2+12*l}px`)}),t=requestAnimationFrame(e)});return()=>cancelAnimationFrame(t)},[e,n]),(0,t.jsx)("span",{"aria-hidden":!0,className:"flex h-3.5 w-[18px] shrink-0 items-center gap-0.5",children:nv.map(e=>(0,t.jsx)("span",{ref:t=>{r.current[e.id]=t},style:{height:2},className:"w-0.5 rounded-full bg-muted-foreground/70"},e.id))})}function ny({live:e,getMicSpectrum:n}){return(0,t.jsxs)("span",{className:"flex items-center gap-1.5 text-[13px] leading-5 text-muted-foreground",children:[(0,t.jsx)(nx,{live:e,getMicSpectrum:n}),"Listening"]})}function nb({tool:e,micOff:n}){let r="relay"===e.kind?s.Flag:(0,eB.toolIcon)(e.name),i=e.line??e.name,a=e.line?"min-w-0 truncate text-[13px] leading-5 break-keep":"min-w-0 truncate font-mono text-xs leading-5",o=(0,e4.useServerRoute)(p.queryKey.bot).data,l=e.bot?o?.find(t=>t.name===e.bot)??null:null;return(0,t.jsxs)("span",{className:"flex max-w-full items-center gap-1.5",children:[(0,t.jsxs)("span",{className:"relative grid size-[18px] shrink-0 place-items-center",children:[(0,t.jsx)(nw,{tool:e,bot:l,icon:r}),!e.done&&(0,t.jsx)("span",{className:"absolute inset-0 grid animate-ink place-items-center",children:(0,t.jsx)(nw,{tool:e,bot:l,icon:r,running:!0})})]}),e.done?(0,t.jsx)("span",{className:(0,_.cn)(a,"text-muted-foreground"),children:i}):(0,t.jsx)(y.ShinyText,{text:i,speed:2.4,className:a}),n&&(0,t.jsxs)("span",{className:"flex shrink-0 items-center gap-1 rounded-full bg-muted/60 py-0.5 pr-2 pl-1.5 font-mono text-[11px] leading-4 text-muted-foreground",children:[(0,t.jsx)(c,{className:"size-3 shrink-0"}),"mic off"]})]})}function nw({tool:e,bot:n,icon:r,running:i}){return e.bot?(0,t.jsx)("span",{className:(0,_.cn)("flex",!i&&!e.done&&"opacity-40"),children:(0,t.jsx)(eL.BotMark,{size:16,seed:e.bot,vary:e.bot,color:n?.icon?.color,shape:n?.icon?.shape,outline:n?.icon?.outline,notify:!1})}):(0,t.jsx)(r,{className:(0,_.cn)("size-3.5",i?"text-foreground":"text-muted-foreground",!i&&!e.done&&"opacity-40")})}function nk({tool:e,micOff:n,listening:r,getMicSpectrum:i}){let[a,s]=(0,f.useState)(e);(0,f.useEffect)(()=>{e&&s(e)},[e]);let o=r&&!e;return(0,t.jsxs)("div",{className:"grid h-7 max-w-full items-center justify-items-center",children:[a&&(0,t.jsx)(nT,{at:"col-start-1 row-start-1 max-w-full",shown:null!==e,children:(0,t.jsx)(nb,{tool:a,micOff:n})}),(0,t.jsx)(nT,{at:"col-start-1 row-start-1",shown:o,children:(0,t.jsx)(ny,{live:o,getMicSpectrum:i})})]})}function nT({at:e,shown:n,children:r}){return(0,t.jsx)("span",{"aria-hidden":!n,className:(0,_.cn)("flex transition-opacity duration-300 ease-out",e,n?"opacity-100":"pointer-events-none opacity-0"),children:r})}function nS({status:e,idleLeft:n,since:r,wakePhrase:i,hotkeyLabel:a}){let s,o,u="connecting"===e,c="idle"!==e&&!u;return u?(o=e,s=(0,t.jsx)(y.ShinyText,{text:"connecting"===e?"Connecting…":"Ending…",className:"text-muted-foreground/70"})):c&&null!==n?(o="quiet",s=`Quiet — ending in ${n}s. Say anything to stay.`):c?(o="live",s=(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("span",{children:"Tap Thursday to end"}),(0,t.jsx)("span",{className:"text-muted-foreground/40",children:"·"}),(0,t.jsx)(nj,{since:r})]})):i?(o=`wake:${i}`,s=(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("span",{children:"Tap Thursday, or say"}),(0,t.jsxs)("span",{className:"flex items-center gap-1 rounded-full bg-muted px-2 py-0.5 text-foreground/80",children:[(0,t.jsx)(l,{className:"size-3"}),i]})]})):a?(o=`key:${a}`,s=(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("span",{children:"Tap Thursday, or press"}),(0,t.jsx)("kbd",{className:"rounded-md border border-border bg-background px-1.5 py-0.5 font-mono text-[10px] text-foreground/80 shadow-[0_1px_0_var(--border)]",children:a})]})):(o="tap",s=(0,t.jsx)(b.default,{as:"span",text:"Tap Thursday to talk",loop:!1,typingSpeed:95,initialDelay:400,cursorCharacter:"▌",cursorClassName:"ml-0.5 text-muted-foreground/50",className:"tracking-normal"})),(0,t.jsx)("span",{className:"flex h-6 animate-in items-center gap-1.5 font-mono text-[11px] text-muted-foreground/70 fade-in duration-700",children:s},o)}function nM({open:e,onOpen:n,onClose:r}){return e?(0,t.jsx)("div",{className:"w-[min(26rem,84vw)] animate-in rounded-2xl bg-background/80 p-3 ring-1 ring-border/60 backdrop-blur-md fade-in duration-300",children:(0,t.jsx)(eU.VoiceKeys,{dense:!0,autoFocus:!0,onCancel:r,onSaved:()=>(0,e$.installSeedBots)()})}):(0,t.jsxs)("span",{className:"flex animate-in items-center gap-2 rounded-full bg-muted/60 py-1 pr-1 pl-1.5 ring-1 ring-border/60 fade-in duration-500",children:[(0,t.jsxs)("span",{className:"relative flex size-6 shrink-0 items-center justify-center",children:[(0,t.jsx)(eL.BotMark,{size:24,seed:ez.DEFAULT_BOT.name,vary:ez.DEFAULT_BOT.name,color:ez.DEFAULT_BOT.icon?.color,shape:ez.DEFAULT_BOT.icon?.shape,outline:ez.DEFAULT_BOT.icon?.outline,notify:!1}),(0,t.jsx)(c,{className:"absolute -right-0.5 -bottom-0.5 size-2.5 rounded-full bg-muted text-muted-foreground"})]}),(0,t.jsx)("span",{className:"text-[13px] text-muted-foreground break-keep",children:"Calls need one speech key. Everything else here already works."}),(0,t.jsx)(m.Button,{size:"sm",onClick:n,className:"h-7 rounded-full px-3.5",children:"Add key"})]})}function nj({since:e}){let[n,r]=(0,f.useState)(()=>Date.now());if((0,f.useEffect)(()=>{if(null===e)return;let t=setInterval(()=>r(Date.now()),1e3);return()=>clearInterval(t)},[e]),null===e)return null;let i=Math.max(0,Math.floor((n-e)/1e3)),a=String(Math.floor(i/60)).padStart(2,"0"),s=String(i%60).padStart(2,"0");return(0,t.jsxs)("span",{className:"tabular-nums",children:[a,":",s]})}function nE({shown:e,give:n}){return(0,t.jsx)(t.Fragment,{children:e.map((r,i)=>{let a="user"===r.role,s=18+50*i/Math.max(1,e.length-1),o=e.length-1-i,l=np(nc,o),u=np(nd,o),c=np(a?nf:nh,o),d=np(nm,o);return(0,t.jsx)("div",{style:{top:`${s}%`,transform:`translateY(calc(-50% + ${-(10*n)}px))`},className:(0,_.cn)("pointer-events-auto absolute flex w-[min(23rem,24vw)] transition-transform duration-100",a?"left-full ml-6":"right-full mr-6 justify-end"),children:(0,t.jsx)("div",{className:(0,_.cn)("w-fit max-w-full animate-in rounded-[18px] fade-in duration-500",u,a?(0,_.cn)("rounded-bl-md text-primary-foreground slide-in-from-left-2",c):(0,_.cn)("rounded-br-md slide-in-from-right-2",c,d)),children:(0,t.jsx)(ng,{text:r.text,lines:nu[o]??2,className:l})})},r.id)})})}e.s(["CallScreen",0,na,"Thursday",0,function(){let{status:e,messages:n,tool:r,idleLeft:i,since:a,micOff:s,call:o,getSpectrum:l,getMicSpectrum:u,wakePhrase:c,hotkey:d}=function(){let e,t,n=(0,f.useRef)(null),r=(0,f.useRef)(null),i=(0,f.useRef)(null),[a,s]=(0,f.useState)("idle"),[o,l]=(0,f.useState)([]),[u,c]=(0,f.useState)(null),[d,h]=(0,f.useState)(null),[m,g]=(0,f.useState)(null),[v,x]=(0,f.useState)(!1),y=(0,f.useRef)({tool:!1,reading:!1,spoke:!1,giveUp:null}),b=(0,f.useRef)({since:0,asked:!1,owed:null,grace:null}),w=(0,f.useRef)(null),k=(0,f.useRef)(null),T=(0,f.useRef)(null),S=(0,f.useRef)(new Set),M=(0,f.useRef)(0),j=(0,f.useRef)(null),E=j.current??=(e=[],t=null,{send(n){t?t(n):e.push(n)},open(n){t=n;let r=e;for(let t of(e=[],r))n(t)},close(){t=null},clear(){let t=e;return e=[],t}}),C=(0,f.useRef)(null),O=(0,f.useRef)(!1),R=(0,f.useRef)(!1),A=(0,f.useCallback)(e=>{w.current&&clearTimeout(w.current),c({name:e.name,line:(0,t5.toolLine)(e.name,e.arguments),bot:(0,t5.toolBot)(e.name,e.arguments),done:!1})},[]),P=(0,f.useCallback)(e=>{w.current&&clearTimeout(w.current),c(e),w.current=setTimeout(()=>c(e=>e?.kind==="relay"?null:e),5e3)},[]),N=(0,f.useCallback)(e=>{c(t=>t?.name===e?{...t,done:!0}:t),w.current&&clearTimeout(w.current),w.current=setTimeout(()=>c(e=>e?.done?null:e),2500)},[]),D=(0,f.useCallback)(()=>{x(y.current.tool||y.current.reading)},[]),I=(0,f.useCallback)(()=>{y.current.giveUp&&clearTimeout(y.current.giveUp),y.current.giveUp=null,y.current.reading=!1,y.current.spoke=!1,D()},[D]),z=(0,f.useCallback)(()=>{y.current.giveUp&&clearTimeout(y.current.giveUp),y.current.reading=!0,y.current.spoke=!1,y.current.giveUp=setTimeout(()=>{I(),C.current?.()},15e3),D()},[I,D]);(0,f.useEffect)(()=>{n.current?.mute(v)},[v]);let L=(0,f.useRef)(a);(0,f.useEffect)(()=>{L.current=a},[a]);let F=(0,f.useRef)("listening"),B=(0,f.useRef)(null),$=(0,f.useCallback)(()=>{B.current&&clearTimeout(B.current),B.current=null},[]),U=(0,f.useCallback)(e=>{L.current=e,s(e)},[]),q=(0,f.useCallback)(e=>{F.current=e;let t=L.current;if("speaking"===e){$(),U(e);return}let n="working"===e||"delegating"===e;if(n&&("working"===t||"delegating"===t)){$(),U(e);return}n||"listening"!==t?B.current||(B.current=setTimeout(()=>{B.current=null,U(F.current)},n?800:600)):$()},[$,U]),H="idle"!==a&&"connecting"!==a,{data:K}=(0,e4.useServerRoute)(p.queryKey.tasks,{refreshInterval:3e4}),Y=(0,f.useRef)(null);(0,tL.useAppEvent)({hello:e=>{Y.current=e.boot,(0,e4.revalidateAll)()},tasks:()=>void(0,e4.revalidate)(p.queryKey.tasks),memory:()=>void(0,e4.revalidate)(p.queryKey.memory),mcp:()=>{(0,e4.revalidate)(p.queryKey.mcp),(0,e4.revalidate)(p.queryKey.mcpTools)},config:()=>{(0,e4.revalidate)(p.queryKey.config),(0,e4.revalidate)(p.queryKey.llmModel)}});let{data:V}=(0,e4.useServerRoute)(p.queryKey.bot);(0,f.useEffect)(()=>{K&&tU.botTasks.sync(K,V)},[K,V]),(0,f.useEffect)(()=>{if(K&&O.current)for(let e of K){if("running"===e.status||e.ask?.auto||"waiting"!==e.status&&(0,tW.toDate)(e.updatedAt).getTime()<M.current)continue;let t=t6(e);S.current.has(t)||(S.current.add(t),E.send({line:function(e){let t=`[${e.bot} → you, about "${e.label}" — not the user speaking; they have not heard this. Anything more on this job goes to the task tool as "${e.label}", never a new job.]`;switch(e.status){case"waiting":{let n=e.ask?.options??[],r=e.ask?.question??e.outcome??"";if((0,ez.isAppStop)(e.ask))return`${t} It stopped before finishing. Where it got to: ${r} Ask whether to keep going; if yes, send "${ez.TASK_CONTINUE}" with the task tool.`;let i=n.length?` Options: ${n.join(" / ")}.`:"";return`${t} It asks: ${r}${i} Answer with the task tool if you can; otherwise ask the user and send back what they say.`}case"failed":return`${t} It could not finish: ${e.outcome??""}`;default:return`${t} Done. Its answer: ${e.outcome??""}`}}(e),show:function(e){let t="waiting"===e.status?(0,ez.isAppStop)(e.ask)?`${e.bot} stopped`:`${e.bot} is asking`:"failed"===e.status?`${e.bot} could not finish`:`Answer from ${e.bot}`;return{kind:"relay",name:e.label,line:t,done:!0,bot:e.bot}}(e)}))}},[K,E,a]),(0,f.useEffect)(()=>tU.screenActs.subscribe(e=>{O.current&&E.send({line:"answered"===e.kind?`The user answered task "${e.label}" on screen: ${e.answer}. The bot is going on with that — do not ask again.`:`The user stopped task "${e.label}" on screen. It is not running any more — do not wait for it or say anything more about it.`})}),[E]);let X=(0,f.useCallback)(async()=>{let e=n.current,t=T.current;n.current=null,T.current=null,O.current=!1,R.current=!1,S.current.clear(),E.close(),E.clear(),C.current=null,k.current?.abort(),k.current=null,y.current.tool=!1,I(),w.current&&clearTimeout(w.current),$(),b.current.grace&&clearTimeout(b.current.grace),b.current={since:0,asked:!1,owed:null,grace:null},g(null),h(null),s("idle"),l([]),c(null),e?.close(),t&&t0(t),e&&i.current&&(i.current.currentTime=0,i.current.play().catch(()=>{}))},[E,$,I]);(0,f.useEffect)(()=>()=>{n.current?.close(),n.current=null;let e=T.current;T.current=null,O.current=!1,R.current=!1,e&&t0(e),k.current?.abort(),k.current=null,w.current&&clearTimeout(w.current),B.current&&clearTimeout(B.current),y.current.giveUp&&clearTimeout(y.current.giveUp),b.current.grace&&clearTimeout(b.current.grace)},[]);let W=(0,f.useCallback)(e=>{let t=Date.now();if(b.current.since=t,"user"!==e){b.current.owed=null;return}b.current.owed=t,b.current.grace&&clearTimeout(b.current.grace),b.current.grace=null,b.current.asked=!1},[]);(0,f.useEffect)(()=>{if(!H)return;W("agent");let e=setInterval(()=>{let e=n.current;if(!e)return;let t=b.current.owed;if(null!==t&&Date.now()-t>=3e4){tF.toast.add({type:"error",title:"Call ended",description:"The model stopped answering."}),X();return}let r=6e4-(Date.now()-b.current.since);g(r<=15e3&&!b.current.asked?Math.max(0,Math.ceil(r/1e3)):null),r>0||b.current.asked||(b.current.asked=!0,e.say("The user has said nothing for a minute. Say a one-line goodbye, then call end_call."),b.current.grace=setTimeout(()=>void X(),15e3))},1e3);return()=>clearInterval(e)},[H,W,X]);let G=(0,f.useCallback)(async()=>{if(!R.current){if(O.current||"idle"!==a)return X();s("connecting"),R.current=!0,O.current=!0,M.current=Date.now(),E.clear();try{let e=(0,tq.unwrapResult)(await t1((0,tz.thursdaySettings)()));T.current=e.callId;let t=new AbortController;k.current=t;let a={failures:0};r.current??=(0,tQ.createAudioTap)(),function(e){if("suspended"!==e.state||t4)return;t4=!0;let t=()=>{t4=!1,window.removeEventListener("pointerdown",t),window.removeEventListener("keydown",t),e.resume().catch(()=>{})};window.addEventListener("pointerdown",t),window.addEventListener("keydown",t),tF.toast.add({type:"warning",title:"Tap anywhere to hear her",description:"This call opened on its own, so the browser is holding the audio."})}(r.current.open().context);let s=new Audio("/sounds/start_voice.ogg");i.current??=new Audio("/sounds/end_voice.ogg");let o=[],u=await tJ({provider:e.provider,credential:e.credential,setup:e.session,audio:r.current,on:{runTool:async n=>{if(n.name===tB.TOOL_NAMES.end_call)return setTimeout(()=>void X(),400),"Ending the call.";A(n);try{return await tH(e.callId,n,t.signal)}finally{N(n.name)}},turn:t=>{if(W("user"===t.role?"user":"agent"),"tool"!==t.role&&(o[t.seq]={id:t.id,role:t.role,text:t.text},l(o.filter(Boolean).slice(-24))),t.done){var n,r,i;let{id:s,role:o,tool:l,text:u,seq:c}=t;n=e.callId,r={id:s,role:o,tool:l,text:u,seq:c},(i=a).failures>=3||t2(n,[r]).then(e=>(0,tq.unwrapResult)(e)).catch(e=>{i.failures+=1,3===i.failures&&tF.toast.add({type:"warning",title:"This call is not being saved",description:(0,_.errorToString)(e)})})}},activity:e=>{var t;q((t=e).tools.length?t.tools.includes(tB.TOOL_NAMES.delegate)?"delegating":"working":t.speaking?"speaking":"listening"),e.hearing?W("user"):(e.speaking||e.tools.length)&&W("agent"),y.current.tool=e.tools.length>0,y.current.reading&&(e.speaking?y.current.spoke=!0:y.current.spoke&&(y.current.reading=!1,C.current?.())),y.current.reading?D():I()},warn:e=>tF.toast.add({type:"warning",title:"Call warning",description:e}),failed:e=>{tF.toast.add({type:"error",title:"Call failed",description:e}),X()}}}),c=e=>{var t;if(!e.length)return;z(),u.say(1===e.length?e[0].line:(t=e,`[${t.length} jobs came back at once — not the user speaking; they have heard none of this. Tell them in one turn, not ${t.length}.]
|
|
2
|
+
|
|
3
|
+
${t.map(e=>e.line).join("\n\n")}`));let n=e.at(-1)?.show;n&&P(n),E.close()};C.current=()=>{let e=E.clear();E.open(e=>c([e])),c(e)},E.open(e=>c([e])),e.opening&&(z(),u.say(e.opening)),n.current=u,R.current=!1,U("listening"),h(Date.now()),s.play().catch(()=>{})}catch(e){tF.toast.add({type:"error",title:"Could not start the call",description:(0,_.errorToString)(e)}),T.current&&t0(T.current),T.current=null,R.current=!1,O.current=!1,E.clear(),S.current.clear(),s("idle")}}},[a,X,A,N,P,q,U,W,E,z,I,D]),J=(0,tz.useThursdayStore)(e=>e.callBack),Q=(0,f.useRef)(null);(0,f.useEffect)(()=>{if(!K)return;let e=K.filter(e=>{var t;return!e.seen&&!e.ask?.auto&&("waiting"===(t=e).status&&!(0,ez.isAppStop)(t.ask)||"any"===J&&"running"!==e.status)});if(!Q.current){Q.current=new Set(e.map(e=>e.id));return}let t=new Set(e.map(e=>e.id));for(let e of Q.current)t.has(e)||Q.current.delete(e);if("off"!==J&&"idle"===a&&e.filter(e=>!Q.current?.has(e.id)).length){for(let t of e)Q.current.add(t.id);G()}},[K,J,a,G]);let Z=(0,f.useCallback)(()=>r.current?.read()??t3,[]),ee=(0,f.useCallback)(()=>r.current?.readMic()??t3,[]),et=(0,tz.useThursdayStore)(e=>e.wake),[en,er]=(0,f.useState)(!1);!function({enabled:e,onWake:t,phrases:n,lang:r="en-US",tolerance:i=.34,onError:a}){let s=(0,f.useRef)({onWake:t,onError:a,phrases:n,tolerance:i});s.current={onWake:t,onError:a,phrases:n,tolerance:i},(0,f.useEffect)(()=>{if(!e)return;let t=window,n=t.SpeechRecognition??t.webkitSpeechRecognition;if(!n)return void s.current.onError?.("This browser cannot listen for a wake word");let i=new n,a=!0,o=!0,l=null,u=300;i.lang=r,i.continuous=!0,i.interimResults=!0,i.maxAlternatives=3;let c=()=>{if(a){o=!0;try{i.start()}catch{}}};return i.onresult=({resultIndex:e,results:t})=>{if(!a||!o)return;u=300;let{phrases:n,tolerance:r,onWake:l}=s.current,c=n.map(tV).filter(e=>e.length);for(let n=e;n<t.length;n++){let e=t[n];for(let t=0;t<e.length;t++){let n=e[t].transcript,a=tV(n);if(c.some(e=>(function(e,t,n){for(let r=0;r<e.length;r++)if(function e(t,n,r,i,a){if(i===r.length)return!0;if(n>=t.length)return!1;let s=r[i],o=Math.max(1,Math.round(s.length*a));return!!(tX(t[n],s,o)&&e(t,n+1,r,i+1,a))||n+1<t.length&&tX(t[n]+t[n+1],s,o)&&e(t,n+2,r,i+1,a)}(e,r,t,0,n))return!0;return!1})(a,e,r))){o=!1,i.abort(),l(n.trim());return}}}},i.onerror=({error:e})=>{let t=tY[e];t?(a=!1,s.current.onError?.(t)):"network"===e&&(u=Math.min(2*u,1e4))},i.onend=()=>{a&&(l=setTimeout(c,u))},c(),()=>{a=!1,l&&clearTimeout(l),i.onresult=null,i.onerror=null,i.onend=null,i.abort()}},[e,r])}({enabled:"idle"===a&&et.enabled&&!en,phrases:[et.phrase],onWake:()=>void G(),onError:()=>er(!0)});let ei=(0,tz.useThursdayStore)(e=>e.hotkey),ea="connecting"===a;return(0,tK.useHotkey)({enabled:ei.enabled&&!ea,combo:ei.enabled&&(0,tK.isCombo)(ei.combo)?ei.combo:null,onPress:()=>void G()}),{status:a,messages:o,tool:u,idleLeft:m,micOff:v,since:d,call:G,getSpectrum:Z,getMicSpectrum:ee,wakePhrase:et.enabled&&!en?et.phrase:null,hotkey:ei.enabled&&(0,tK.isCombo)(ei.combo)?ei.combo:null}}(),h=(0,tK.useHotkeyLabel)(d),m=(0,to.useThursdayFace)(),g=(0,tz.useThursdayStore)(e=>e.captionView),{data:v}=(0,e4.useServerRoute)(p.queryKey.config),x=eI.SPEACH_MODEL_PROVIDER_LIST.some(e=>(0,eq.isConfigSet)(v,e.apiKeyName));return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(ni,{live:"idle"!==e}),(0,t.jsx)(na,{status:e,messages:n,tool:r,onTap:o,wakePhrase:c,hotkeyLabel:h,idleLeft:i,since:a,micOff:s,getSpectrum:l,getMicSpectrum:u,face:m,captionView:g,callable:x})]})}],692888)},90317,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r={bindSnapshot:function(){return u},createAsyncLocalStorage:function(){return l},createSnapshot:function(){return c}};for(var i in r)Object.defineProperty(n,i,{enumerable:!0,get:r[i]});let a=Object.defineProperty(Error("Invariant: AsyncLocalStorage accessed in runtime where it is not available"),"__NEXT_ERROR_CODE",{value:"E504",enumerable:!1,configurable:!0});class s{disable(){throw a}getStore(){}run(){throw a}exit(){throw a}enterWith(){throw a}static bind(e){return e}}let o="u">typeof globalThis&&globalThis.AsyncLocalStorage;function l(){return o?new o:new s}function u(e){return o?o.bind(e):s.bind(e)}function c(){return o?o.snapshot():function(e,...t){return e(...t)}}},242344,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"workAsyncStorageInstance",{enumerable:!0,get:function(){return r}});let r=(0,e.r(90317).createAsyncLocalStorage)()},563599,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"workAsyncStorage",{enumerable:!0,get:function(){return r.workAsyncStorageInstance}});let r=e.r(242344)},309885,(e,t,n)=>{"use strict";function r(e){return e.split("/").map(e=>encodeURIComponent(e)).join("/")}Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"encodeURIPath",{enumerable:!0,get:function(){return r}})},667585,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"BailoutToCSR",{enumerable:!0,get:function(){return i}});let r=e.r(132061);function i({reason:e,children:t}){if("u"<typeof window)throw Object.defineProperty(new r.BailoutToCSRError(e),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0});return t}},652157,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"PreloadChunks",{enumerable:!0,get:function(){return l}});let r=e.r(843476),i=e.r(174080),a=e.r(563599),s=e.r(309885),o=e.r(543369);function l({moduleIds:e}){if("u">typeof window)return null;let t=a.workAsyncStorage.getStore();if(void 0===t)return null;let n=[];if(t.reactLoadableManifest&&e){let r=t.reactLoadableManifest;for(let t of e){if(!r[t])continue;let e=r[t].files;n.push(...e)}}if(0===n.length)return null;let u=(0,o.getAssetTokenQuery)();return(0,r.jsx)(r.Fragment,{children:n.map(e=>{let n=`${t.assetPrefix}/_next/${(0,s.encodeURIPath)(e)}${u}`;return e.endsWith(".css")?(0,r.jsx)("link",{precedence:"dynamic",href:n,rel:"stylesheet",as:"style",nonce:t.nonce},e):((0,i.preload)(n,{as:"script",fetchPriority:"low",nonce:t.nonce}),null)})})}},869093,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return u}});let r=e.r(843476),i=e.r(271645),a=e.r(667585),s=e.r(652157);function o(e){return{default:e&&"default"in e?e.default:e}}let l={loader:()=>Promise.resolve(o(()=>null)),loading:null,ssr:!0},u=function(e){let t={...l,...e},n=(0,i.lazy)(()=>t.loader().then(o)),u=t.loading;function c(e){let o=u?(0,r.jsx)(u,{isLoading:!0,pastDelay:!0,error:null}):null,l=!t.ssr||!!t.loading,c=l?i.Suspense:i.Fragment,d=t.ssr?(0,r.jsxs)(r.Fragment,{children:["u"<typeof window?(0,r.jsx)(s.PreloadChunks,{moduleIds:t.modules}):null,(0,r.jsx)(n,{...e})]}):(0,r.jsx)(a.BailoutToCSR,{reason:"next/dynamic",children:(0,r.jsx)(n,{...e})});return(0,r.jsx)(c,{...l?{fallback:o}:{},children:d})}return c.displayName="LoadableComponent",c}},770703,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return i}});let r=e.r(555682)._(e.r(869093));function i(e,t){let n={};"function"==typeof e&&(n.loader=e);let i={...n,...t};return(0,r.default)({...i,modules:i.loadableGenerated?.modules})}("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esModule",{value:!0}),Object.assign(n.default,n),t.exports=n.default)},618566,(e,t,n)=>{t.exports=e.r(976562)}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,566661,930892,126200,790947,790104,653411,113431,126841,681047,704642,t=>{"use strict";var e,r,n=t.i(587652),i=t.i(621017),u=t.i(37050),a=t.i(812319),s=t.i(615308),o=t.i(178662),l=t.i(595007),f=t.i(661196),c=t.i(910022);let d=function(t,e,r){switch(r.length){case 0:return t.call(e);case 1:return t.call(e,r[0]);case 2:return t.call(e,r[0],r[1]);case 3:return t.call(e,r[0],r[1],r[2])}return t.apply(e,r)};var h=Math.max;let v=function(t,e,r){return e=h(void 0===e?t.length-1:e,0),function(){for(var n=arguments,i=-1,u=h(n.length-e,0),a=Array(u);++i<u;)a[i]=n[e+i];i=-1;for(var s=Array(e+1);++i<e;)s[i]=n[i];return s[e]=r(a),d(t,this,s)}};t.s(["default",0,v],930892);var p=t.i(949132),_=t.i(747244),b=function(){try{var t=(0,_.default)(Object,"defineProperty");return t({},"",{}),t}catch(t){}}();t.s(["default",0,b],126200);var y=b?function(t,e){return b(t,"toString",{configurable:!0,enumerable:!1,value:(0,p.default)(e),writable:!0})}:c.default,g=Date.now,j=(e=0,r=0,function(){var t=g(),n=16-(t-r);if(r=t,n>0){if(++e>=800)return arguments[0]}else e=0;return y.apply(void 0,arguments)});t.s(["default",0,j],790947);let O=function(t,e){return j(v(t,e,c.default),t+"")};t.s(["default",0,O],790104);var w=t.i(470838);let m=function(t,e,r,n){for(var i=t.length,u=r+(n?1:-1);n?u--:++u<i;)if(e(t[u],u,t))return u;return -1};t.s(["default",0,m],653411);let C=function(t){return t!=t},E=function(t,e,r){for(var n=r-1,i=t.length;++n<i;)if(t[n]===e)return n;return -1},P=function(t,e){return!!(null==t?0:t.length)&&(e==e?E(t,e,0):m(t,C,0))>-1},A=function(t,e,r){for(var n=-1,i=null==t?0:t.length;++n<i;)if(r(e,t[n]))return!0;return!1};var z=t.i(989682),L=t.i(9752),S=t.i(428562),k=L.default&&1/(0,S.default)(new L.default([,-0]))[1]==1/0?function(t){return new L.default(t)}:function(){};let N=function(t,e,r){var n=-1,i=P,u=t.length,a=!0,s=[],o=s;if(r)a=!1,i=A;else if(u>=200){var l=e?null:k(t);if(l)return(0,S.default)(l);a=!1,i=z.default,o=new w.default}else o=e?[]:s;t:for(;++n<u;){var f=t[n],c=e?e(f):f;if(f=r||0!==f?f:0,a&&c==c){for(var d=o.length;d--;)if(o[d]===c)continue t;e&&o.push(c),s.push(f)}else i(o,c,r)||(o!==s&&o.push(c),s.push(f))}return s};var D=t.i(441338),F=t.i(563615);let M=function(t){return(0,F.default)(t)&&(0,D.default)(t)};t.s(["default",0,M],113431);var U=O(function(t){return N((0,f.default)(t,1,M,!0))}),x=t.i(982735),$=t.i(154069);let T=function(t){var e;return null==t?[]:(e=(0,$.default)(t),(0,x.default)(e,function(e){return t[e]}))};t.s(["values",0,T],126841);let B=function(t,e,r,n){var i=-1,u=null==t?0:t.length;for(n&&u&&(r=t[++i]);++i<u;)r=e(r,t[i],i,t);return r};var I=t.i(369104),R=t.i(450266);let G=function(t,e,r,n,i){return i(t,function(t,i,u){r=n?(n=!1,t):e(r,t,i,u)}),r};var V=t.i(644071);let W=function(t,e,r){var n=(0,V.default)(t)?B:G,i=arguments.length<3;return n(t,(0,R.default)(e,4),r,i,I.default)};t.s(["reduce",0,W],681047);class K{constructor(t={}){this._isDirected=!Object.prototype.hasOwnProperty.call(t,"directed")||t.directed,this._isMultigraph=!!Object.prototype.hasOwnProperty.call(t,"multigraph")&&t.multigraph,this._isCompound=!!Object.prototype.hasOwnProperty.call(t,"compound")&&t.compound,this._label=void 0,this._defaultNodeLabelFn=n.constant(void 0),this._defaultEdgeLabelFn=n.constant(void 0),this._nodes={},this._isCompound&&(this._parent={},this._children={},this._children["\0"]={}),this._in={},this._preds={},this._out={},this._sucs={},this._edgeObjs={},this._edgeLabels={}}isDirected(){return this._isDirected}isMultigraph(){return this._isMultigraph}isCompound(){return this._isCompound}setGraph(t){return this._label=t,this}graph(){return this._label}setDefaultNodeLabel(t){return i.isFunction(t)||(t=n.constant(t)),this._defaultNodeLabelFn=t,this}nodeCount(){return this._nodeCount}nodes(){return u.keys(this._nodes)}sources(){var t=this;return a.filter(this.nodes(),function(e){return s.isEmpty(t._in[e])})}sinks(){var t=this;return a.filter(this.nodes(),function(e){return s.isEmpty(t._out[e])})}setNodes(t,e){var r=arguments,n=this;return o.each(t,function(t){r.length>1?n.setNode(t,e):n.setNode(t)}),this}setNode(t,e){return Object.prototype.hasOwnProperty.call(this._nodes,t)?arguments.length>1&&(this._nodes[t]=e):(this._nodes[t]=arguments.length>1?e:this._defaultNodeLabelFn(t),this._isCompound&&(this._parent[t]="\0",this._children[t]={},this._children["\0"][t]=!0),this._in[t]={},this._preds[t]={},this._out[t]={},this._sucs[t]={},++this._nodeCount),this}node(t){return this._nodes[t]}hasNode(t){return Object.prototype.hasOwnProperty.call(this._nodes,t)}removeNode(t){if(Object.prototype.hasOwnProperty.call(this._nodes,t)){var e=t=>this.removeEdge(this._edgeObjs[t]);delete this._nodes[t],this._isCompound&&(this._removeFromParentsChildList(t),delete this._parent[t],o.each(this.children(t),t=>{this.setParent(t)}),delete this._children[t]),o.each(u.keys(this._in[t]),e),delete this._in[t],delete this._preds[t],o.each(u.keys(this._out[t]),e),delete this._out[t],delete this._sucs[t],--this._nodeCount}return this}setParent(t,e){if(!this._isCompound)throw Error("Cannot set parent in a non-compound graph");if(l.isUndefined(e))e="\0";else{e+="";for(var r=e;!l.isUndefined(r);r=this.parent(r))if(r===t)throw Error("Setting "+e+" as parent of "+t+" would create a cycle");this.setNode(e)}return this.setNode(t),this._removeFromParentsChildList(t),this._parent[t]=e,this._children[e][t]=!0,this}_removeFromParentsChildList(t){delete this._children[this._parent[t]][t]}parent(t){if(this._isCompound){var e=this._parent[t];if("\0"!==e)return e}}children(t){if(l.isUndefined(t)&&(t="\0"),this._isCompound){var e=this._children[t];if(e)return u.keys(e)}else if("\0"===t)return this.nodes();else if(this.hasNode(t))return[]}predecessors(t){var e=this._preds[t];if(e)return u.keys(e)}successors(t){var e=this._sucs[t];if(e)return u.keys(e)}neighbors(t){var e=this.predecessors(t);if(e)return U(e,this.successors(t))}isLeaf(t){return 0===(this.isDirected()?this.successors(t):this.neighbors(t)).length}filterNodes(t){var e=new this.constructor({directed:this._isDirected,multigraph:this._isMultigraph,compound:this._isCompound});e.setGraph(this.graph());var r=this;o.each(this._nodes,function(r,n){t(n)&&e.setNode(n,r)}),o.each(this._edgeObjs,function(t){e.hasNode(t.v)&&e.hasNode(t.w)&&e.setEdge(t,r.edge(t))});var n={};return this._isCompound&&o.each(e.nodes(),function(t){e.setParent(t,function t(i){var u=r.parent(i);return void 0===u||e.hasNode(u)?(n[i]=u,u):u in n?n[u]:t(u)}(t))}),e}setDefaultEdgeLabel(t){return i.isFunction(t)||(t=n.constant(t)),this._defaultEdgeLabelFn=t,this}edgeCount(){return this._edgeCount}edges(){return T(this._edgeObjs)}setPath(t,e){var r=this,n=arguments;return W(t,function(t,i){return n.length>1?r.setEdge(t,i,e):r.setEdge(t,i),i}),this}setEdge(){var t,e,r,n,i=!1,u=arguments[0];"object"==typeof u&&null!==u&&"v"in u?(t=u.v,e=u.w,r=u.name,2==arguments.length&&(n=arguments[1],i=!0)):(t=u,e=arguments[1],r=arguments[3],arguments.length>2&&(n=arguments[2],i=!0)),t=""+t,e=""+e,l.isUndefined(r)||(r=""+r);var a=J(this._isDirected,t,e,r);if(Object.prototype.hasOwnProperty.call(this._edgeLabels,a))return i&&(this._edgeLabels[a]=n),this;if(!l.isUndefined(r)&&!this._isMultigraph)throw Error("Cannot set a named edge when isMultigraph = false");this.setNode(t),this.setNode(e),this._edgeLabels[a]=i?n:this._defaultEdgeLabelFn(t,e,r);var s=function(t,e,r,n){var i=""+e,u=""+r;if(!t&&i>u){var a=i;i=u,u=a}var s={v:i,w:u};return n&&(s.name=n),s}(this._isDirected,t,e,r);return t=s.v,e=s.w,Object.freeze(s),this._edgeObjs[a]=s,q(this._preds[e],t),q(this._sucs[t],e),this._in[e][a]=s,this._out[t][a]=s,this._edgeCount++,this}edge(t,e,r){var n=1==arguments.length?Q(this._isDirected,arguments[0]):J(this._isDirected,t,e,r);return this._edgeLabels[n]}hasEdge(t,e,r){var n=1==arguments.length?Q(this._isDirected,arguments[0]):J(this._isDirected,t,e,r);return Object.prototype.hasOwnProperty.call(this._edgeLabels,n)}removeEdge(t,e,r){var n=1==arguments.length?Q(this._isDirected,arguments[0]):J(this._isDirected,t,e,r),i=this._edgeObjs[n];return i&&(t=i.v,e=i.w,delete this._edgeLabels[n],delete this._edgeObjs[n],H(this._preds[e],t),H(this._sucs[t],e),delete this._in[e][n],delete this._out[t][n],this._edgeCount--),this}inEdges(t,e){var r=this._in[t];if(r){var n=T(r);return e?a.filter(n,function(t){return t.v===e}):n}}outEdges(t,e){var r=this._out[t];if(r){var n=T(r);return e?a.filter(n,function(t){return t.w===e}):n}}nodeEdges(t,e){var r=this.inEdges(t,e);if(r)return r.concat(this.outEdges(t,e))}}function q(t,e){t[e]?t[e]++:t[e]=1}function H(t,e){--t[e]||delete t[e]}function J(t,e,r,n){var i=""+e,u=""+r;if(!t&&i>u){var a=i;i=u,u=a}return i+"\x01"+u+"\x01"+(l.isUndefined(n)?"\0":n)}function Q(t,e){return J(t,e.v,e.w,e.name)}K.prototype._nodeCount=0,K.prototype._edgeCount=0,t.s(["Graph",0,K],704642),t.s([],566661)},697015,208986,366762,747244,544483,702052,470838,989682,814400,97787,428562,52040,t=>{"use strict";let e=function(t,e){return t===e||t!=t&&e!=e};t.s(["default",0,e],208986);let r=function(t,r){for(var n=t.length;n--;)if(e(t[n][0],r))return n;return -1};var n,i=Array.prototype.splice;function u(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}u.prototype.clear=function(){this.__data__=[],this.size=0},u.prototype.delete=function(t){var e=this.__data__,n=r(e,t);return!(n<0)&&(n==e.length-1?e.pop():i.call(e,n,1),--this.size,!0)},u.prototype.get=function(t){var e=this.__data__,n=r(e,t);return n<0?void 0:e[n][1]},u.prototype.has=function(t){return r(this.__data__,t)>-1},u.prototype.set=function(t,e){var n=this.__data__,i=r(n,t);return i<0?(++this.size,n.push([t,e])):n[i][1]=e,this};var a=t.i(764929),s=t.i(56176),o=s.default["__core-js_shared__"],l=(n=/[^.]+$/.exec(o&&o.keys&&o.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"",f=t.i(159110),c=Function.prototype.toString;let d=function(t){if(null!=t){try{return c.call(t)}catch(t){}try{return t+""}catch(t){}}return""};t.s(["default",0,d],366762);var h=/^\[object .+?Constructor\]$/,v=Object.prototype,p=Function.prototype.toString,_=v.hasOwnProperty,b=RegExp("^"+p.call(_).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");let y=function(t){return!!(0,f.default)(t)&&(!l||!(l in t))&&((0,a.default)(t)?b:h).test(d(t))},g=function(t,e){var r=null==t?void 0:t[e];return y(r)?r:void 0};t.s(["default",0,g],747244);var j=g(s.default,"Map");t.s(["default",0,j],544483);var O=g(Object,"create"),w=Object.prototype.hasOwnProperty,m=Object.prototype.hasOwnProperty;function C(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}C.prototype.clear=function(){this.__data__=O?O(null):{},this.size=0},C.prototype.delete=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=!!e,e},C.prototype.get=function(t){var e=this.__data__;if(O){var r=e[t];return"__lodash_hash_undefined__"===r?void 0:r}return w.call(e,t)?e[t]:void 0},C.prototype.has=function(t){var e=this.__data__;return O?void 0!==e[t]:m.call(e,t)},C.prototype.set=function(t,e){var r=this.__data__;return this.size+=+!this.has(t),r[t]=O&&void 0===e?"__lodash_hash_undefined__":e,this};let E=function(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t},P=function(t,e){var r=t.__data__;return E(e)?r["string"==typeof e?"string":"hash"]:r.map};function A(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}function z(t){var e=this.__data__=new u(t);this.size=e.size}function L(t){var e=-1,r=null==t?0:t.length;for(this.__data__=new A;++e<r;)this.add(t[e])}A.prototype.clear=function(){this.size=0,this.__data__={hash:new C,map:new(j||u),string:new C}},A.prototype.delete=function(t){var e=P(this,t).delete(t);return this.size-=!!e,e},A.prototype.get=function(t){return P(this,t).get(t)},A.prototype.has=function(t){return P(this,t).has(t)},A.prototype.set=function(t,e){var r=P(this,t),n=r.size;return r.set(t,e),this.size+=+(r.size!=n),this},t.s(["default",0,A],702052),z.prototype.clear=function(){this.__data__=new u,this.size=0},z.prototype.delete=function(t){var e=this.__data__,r=e.delete(t);return this.size=e.size,r},z.prototype.get=function(t){return this.__data__.get(t)},z.prototype.has=function(t){return this.__data__.has(t)},z.prototype.set=function(t,e){var r=this.__data__;if(r instanceof u){var n=r.__data__;if(!j||n.length<199)return n.push([t,e]),this.size=++r.size,this;r=this.__data__=new A(n)}return r.set(t,e),this.size=r.size,this},t.s(["default",0,z],697015),L.prototype.add=L.prototype.push=function(t){return this.__data__.set(t,"__lodash_hash_undefined__"),this},L.prototype.has=function(t){return this.__data__.has(t)},t.s(["default",0,L],470838);let S=function(t,e){for(var r=-1,n=null==t?0:t.length;++r<n;)if(e(t[r],r,t))return!0;return!1},k=function(t,e){return t.has(e)};t.s(["default",0,k],989682);let N=function(t,e,r,n,i,u){var a=1&r,s=t.length,o=e.length;if(s!=o&&!(a&&o>s))return!1;var l=u.get(t),f=u.get(e);if(l&&f)return l==e&&f==t;var c=-1,d=!0,h=2&r?new L:void 0;for(u.set(t,e),u.set(e,t);++c<s;){var v=t[c],p=e[c];if(n)var _=a?n(p,v,c,e,t,u):n(v,p,c,t,e,u);if(void 0!==_){if(_)continue;d=!1;break}if(h){if(!S(e,function(t,e){if(!k(h,e)&&(v===t||i(v,t,r,n,u)))return h.push(e)})){d=!1;break}}else if(!(v===p||i(v,p,r,n,u))){d=!1;break}}return u.delete(t),u.delete(e),d};t.s(["default",0,N],814400);var D=t.i(854201),F=s.default.Uint8Array;t.s(["default",0,F],97787);let M=function(t){var e=-1,r=Array(t.size);return t.forEach(function(t,n){r[++e]=[n,t]}),r},U=function(t){var e=-1,r=Array(t.size);return t.forEach(function(t){r[++e]=t}),r};t.s(["default",0,U],428562);var x=D.default?D.default.prototype:void 0,$=x?x.valueOf:void 0;t.s(["default",0,function(t,r,n,i,u,a,s){switch(n){case"[object DataView]":if(t.byteLength!=r.byteLength||t.byteOffset!=r.byteOffset)break;t=t.buffer,r=r.buffer;case"[object ArrayBuffer]":if(t.byteLength!=r.byteLength||!a(new F(t),new F(r)))break;return!0;case"[object Boolean]":case"[object Date]":case"[object Number]":return e(+t,+r);case"[object Error]":return t.name==r.name&&t.message==r.message;case"[object RegExp]":case"[object String]":return t==r+"";case"[object Map]":var o=M;case"[object Set]":var l=1&i;if(o||(o=U),t.size!=r.size&&!l)break;var f=s.get(t);if(f)return f==r;i|=2,s.set(t,r);var c=N(o(t),o(r),i,u,a,s);return s.delete(t),c;case"[object Symbol]":if($)return $.call(t)==$.call(r)}return!1}],52040)},60989,t=>{"use strict";t.s(["default",0,function(t,e){for(var r=-1,n=null==t?0:t.length;++r<n&&!1!==e(t[r],r,t););return t}])},520667,t=>{"use strict";t.s(["default",0,function(t,e){for(var r=-1,n=null==t?0:t.length,i=0,u=[];++r<n;){var a=t[r];e(a,r,t)&&(u[i++]=a)}return u}])},688212,563615,515300,644071,303745,448178,872445,894228,651434,801645,849915,765485,919556,t=>{"use strict";var e=t.i(766790),r=t.i(835287);let n=function(t){return null!=t&&"object"==typeof t};t.s(["default",0,n],563615);let i=function(t){return n(t)&&"[object Arguments]"==(0,r.default)(t)};var u=Object.prototype,a=u.hasOwnProperty,s=u.propertyIsEnumerable,o=i(function(){return arguments}())?i:function(t){return n(t)&&a.call(t,"callee")&&!s.call(t,"callee")};t.s(["default",0,o],515300);var l=Array.isArray;t.s(["default",0,l],644071);let f=function(){return!1};t.s(["default",0,f],303745);var c=/^(?:0|[1-9]\d*)$/;let d=function(t,e){var r=typeof t;return!!(e=null==e?0x1fffffffffffff:e)&&("number"==r||"symbol"!=r&&c.test(t))&&t>-1&&t%1==0&&t<e};t.s(["default",0,d],448178);let h=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=0x1fffffffffffff};t.s(["default",0,h],872445);var v={};v["[object Float32Array]"]=v["[object Float64Array]"]=v["[object Int8Array]"]=v["[object Int16Array]"]=v["[object Int32Array]"]=v["[object Uint8Array]"]=v["[object Uint8ClampedArray]"]=v["[object Uint16Array]"]=v["[object Uint32Array]"]=!0,v["[object Arguments]"]=v["[object Array]"]=v["[object ArrayBuffer]"]=v["[object Boolean]"]=v["[object DataView]"]=v["[object Date]"]=v["[object Error]"]=v["[object Function]"]=v["[object Map]"]=v["[object Number]"]=v["[object Object]"]=v["[object RegExp]"]=v["[object Set]"]=v["[object String]"]=v["[object WeakMap]"]=!1;let p=function(t){return function(e){return t(e)}};t.s(["default",0,p],894228),t.i(179282);var _=function(){try{return!1}catch(t){}}();t.s(["default",0,_],651434);var b=_&&_.isTypedArray,y=b?p(b):function(t){return n(t)&&h(t.length)&&!!v[(0,r.default)(t)]};t.s(["default",0,y],801645);var g=Object.prototype.hasOwnProperty;t.s(["default",0,function(t,r){var n=l(t),i=!n&&o(t),u=!n&&!i&&f(),a=!n&&!i&&!u&&y(t),s=n||i||u||a,c=s?(0,e.default)(t.length,String):[],h=c.length;for(var v in t)(r||g.call(t,v))&&!(s&&("length"==v||u&&("offset"==v||"parent"==v)||a&&("buffer"==v||"byteLength"==v||"byteOffset"==v)||d(v,h)))&&c.push(v);return c}],688212);var j=Object.prototype;let O=function(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||j)};t.s(["default",0,O],849915);let w=function(t,e){return function(r){return t(e(r))}};t.s(["default",0,w],765485);var m=w(Object.keys,Object),C=Object.prototype.hasOwnProperty;t.s(["default",0,function(t){if(!O(t))return m(t);var e=[];for(var r in Object(t))C.call(t,r)&&"constructor"!=r&&e.push(r);return e}],919556)},982735,t=>{"use strict";t.s(["default",0,function(t,e){for(var r=-1,n=null==t?0:t.length,i=Array(n);++r<n;)i[r]=e(t[r],r,t);return i}])},522099,t=>{"use strict";t.s(["default",0,function(t,e){for(var r=-1,n=e.length,i=t.length;++r<n;)t[i+r]=e[r];return t}])},369104,791578,t=>{"use strict";var e=t.i(840622),r=t.i(154069);let n=function(t,n){return t&&(0,e.default)(t,n,r.default)};t.s(["default",0,n],791578);var i=t.i(441338),u=function(t,e){if(null==t)return t;if(!(0,i.default)(t))return n(t,e);for(var r=t.length,u=-1,a=Object(t);++u<r&&!1!==e(a[u],u,a););return t};t.s(["default",0,u],369104)},421043,t=>{"use strict";var e=t.i(369104);t.s(["default",0,function(t,r){var n=[];return(0,e.default)(t,function(t,e,i){r(t,e,i)&&n.push(t)}),n}])},661196,t=>{"use strict";var e=t.i(522099),r=t.i(854201),n=t.i(515300),i=t.i(644071),u=r.default?r.default.isConcatSpreadable:void 0;let a=function(t){return(0,i.default)(t)||(0,n.default)(t)||!!(u&&t&&t[u])};t.s(["default",0,function t(r,n,i,u,s){var o=-1,l=r.length;for(i||(i=a),s||(s=[]);++o<l;){var f=r[o];n>0&&i(f)?n>1?t(f,n-1,i,u,s):(0,e.default)(s,f):u||(s[s.length]=f)}return s}],661196)},840622,t=>{"use strict";t.s(["default",0,function(t,e,r){for(var n=-1,i=Object(t),u=r(t),a=u.length;a--;){var s=u[++n];if(!1===e(i[s],s,i))break}return t}],840622)},902704,t=>{"use strict";var e=t.i(522099),r=t.i(644071);t.s(["default",0,function(t,n,i){var u=n(t);return(0,r.default)(t)?u:(0,e.default)(u,i(t))}])},835287,179282,56176,854201,t=>{"use strict";var e=t.g&&t.g.Object===Object&&t.g;t.s(["default",0,e],179282);var r="object"==typeof self&&self&&self.Object===Object&&self,n=e||r||Function("return this")();t.s(["default",0,n],56176);var i=n.Symbol;t.s(["default",0,i],854201);var u=Object.prototype,a=u.hasOwnProperty,s=u.toString,o=i?i.toStringTag:void 0;let l=function(t){var e=a.call(t,o),r=t[o];try{t[o]=void 0;var n=!0}catch(t){}var i=s.call(t);return n&&(e?t[o]=r:delete t[o]),i};var f=Object.prototype.toString,c=i?i.toStringTag:void 0;t.s(["default",0,function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":c&&c in Object(t)?l(t):f.call(t)}],835287)},450266,627180,t=>{"use strict";var e=t.i(816051),r=t.i(914171),n=t.i(910022),i=t.i(644071);let u=function(t){return function(e){return null==e?void 0:e[t]}};t.s(["default",0,u],627180);var a=t.i(426881),s=t.i(931293),o=t.i(277734);let l=function(t){return(0,s.default)(t)?u((0,o.default)(t)):function(e){return(0,a.default)(e,t)}};t.s(["default",0,function(t){return"function"==typeof t?t:null==t?n.default:"object"==typeof t?(0,i.default)(t)?(0,r.default)(t[0],t[1]):(0,e.default)(t):l(t)}],450266)},816051,173647,324151,861182,9752,820486,294123,289416,639552,t=>{"use strict";var e=t.i(697015),r=t.i(814400),n=t.i(52040),i=t.i(902704),u=t.i(520667);let a=function(){return[]};t.s(["default",0,a],173647);var s=Object.prototype.propertyIsEnumerable,o=Object.getOwnPropertySymbols,l=o?function(t){return null==t?[]:(t=Object(t),(0,u.default)(o(t),function(e){return s.call(t,e)}))}:a;t.s(["default",0,l],324151);var f=t.i(154069);let c=function(t){return(0,i.default)(t,f.default,l)};t.s(["default",0,c],861182);var d=Object.prototype.hasOwnProperty;let h=function(t,e,r,n,i,u){var a=1&r,s=c(t),o=s.length;if(o!=c(e).length&&!a)return!1;for(var l=o;l--;){var f=s[l];if(!(a?f in e:d.call(e,f)))return!1}var h=u.get(t),v=u.get(e);if(h&&v)return h==e&&v==t;var p=!0;u.set(t,e),u.set(e,t);for(var _=a;++l<o;){var b=t[f=s[l]],y=e[f];if(n)var g=a?n(y,b,f,e,t,u):n(b,y,f,t,e,u);if(!(void 0===g?b===y||i(b,y,r,n,u):g)){p=!1;break}_||(_="constructor"==f)}if(p&&!_){var j=t.constructor,O=e.constructor;j!=O&&"constructor"in t&&"constructor"in e&&!("function"==typeof j&&j instanceof j&&"function"==typeof O&&O instanceof O)&&(p=!1)}return u.delete(t),u.delete(e),p};var v=t.i(747244),p=t.i(56176),_=(0,v.default)(p.default,"DataView"),b=t.i(544483),y=(0,v.default)(p.default,"Promise"),g=(0,v.default)(p.default,"Set");t.s(["default",0,g],9752);var j=(0,v.default)(p.default,"WeakMap"),O=t.i(835287),w=t.i(366762),m="[object Map]",C="[object Promise]",E="[object Set]",P="[object WeakMap]",A="[object DataView]",z=(0,w.default)(_),L=(0,w.default)(b.default),S=(0,w.default)(y),k=(0,w.default)(g),N=(0,w.default)(j),D=O.default;(_&&D(new _(new ArrayBuffer(1)))!=A||b.default&&D(new b.default)!=m||y&&D(y.resolve())!=C||g&&D(new g)!=E||j&&D(new j)!=P)&&(D=function(t){var e=(0,O.default)(t),r="[object Object]"==e?t.constructor:void 0,n=r?(0,w.default)(r):"";if(n)switch(n){case z:return A;case L:return m;case S:return C;case k:return E;case N:return P}return e});let F=D;t.s(["default",0,F],820486);var M=t.i(644071),U=t.i(303745),x=t.i(801645),$="[object Arguments]",T="[object Array]",B="[object Object]",I=Object.prototype.hasOwnProperty;let R=function(t,i,u,a,s,o){var l=(0,M.default)(t),f=(0,M.default)(i),c=l?T:F(t),d=f?T:F(i);c=c==$?B:c,d=d==$?B:d;var v=c==B,p=d==B,_=c==d;if(_&&(0,U.default)(t)){if(!(0,U.default)(i))return!1;l=!0,v=!1}if(_&&!v)return o||(o=new e.default),l||(0,x.default)(t)?(0,r.default)(t,i,u,a,s,o):(0,n.default)(t,i,c,u,a,s,o);if(!(1&u)){var b=v&&I.call(t,"__wrapped__"),y=p&&I.call(i,"__wrapped__");if(b||y){var g=b?t.value():t,j=y?i.value():i;return o||(o=new e.default),s(g,j,u,a,o)}}return!!_&&(o||(o=new e.default),h(t,i,u,a,s,o))};var G=t.i(563615);let V=function t(e,r,n,i,u){return e===r||(null!=e&&null!=r&&((0,G.default)(e)||(0,G.default)(r))?R(e,r,n,i,t,u):e!=e&&r!=r)};t.s(["default",0,V],294123);let W=function(t,r,n,i){var u=n.length,a=u,s=!i;if(null==t)return!a;for(t=Object(t);u--;){var o=n[u];if(s&&o[2]?o[1]!==t[o[0]]:!(o[0]in t))return!1}for(;++u<a;){var l=(o=n[u])[0],f=t[l],c=o[1];if(s&&o[2]){if(void 0===f&&!(l in t))return!1}else{var d=new e.default;if(i)var h=i(f,c,l,t,r,d);if(!(void 0===h?V(c,f,3,i,d):h))return!1}}return!0};var K=t.i(159110);let q=function(t){return t==t&&!(0,K.default)(t)};t.s(["default",0,q],289416);let H=function(t){for(var e=(0,f.default)(t),r=e.length;r--;){var n=e[r],i=t[n];e[r]=[n,i,q(i)]}return e},J=function(t,e){return function(r){return null!=r&&r[t]===e&&(void 0!==e||t in Object(r))}};t.s(["default",0,J],639552),t.s(["default",0,function(t){var e=H(t);return 1==e.length&&e[0][2]?J(e[0][0],e[0][1]):function(r){return r===t||W(r,t,e)}}],816051)},914171,172778,277734,426881,878978,171114,t=>{"use strict";var e=t.i(294123),r=t.i(644071),n=t.i(931293),i=t.i(832181),u=t.i(104009);let a=function(t,e){return(0,r.default)(t)?t:(0,n.default)(t,e)?[t]:(0,i.default)((0,u.default)(t))};t.s(["default",0,a],172778);var s=t.i(316827),o=1/0;let l=function(t){if("string"==typeof t||(0,s.default)(t))return t;var e=t+"";return"0"==e&&1/t==-o?"-0":e};t.s(["default",0,l],277734);let f=function(t,e){e=a(e,t);for(var r=0,n=e.length;null!=t&&r<n;)t=t[l(e[r++])];return r&&r==n?t:void 0};t.s(["default",0,f],426881);let c=function(t,e,r){var n=null==t?void 0:f(t,e);return void 0===n?r:n},d=function(t,e){return null!=t&&e in Object(t)};var h=t.i(515300),v=t.i(448178),p=t.i(872445);let _=function(t,e,n){e=a(e,t);for(var i=-1,u=e.length,s=!1;++i<u;){var o=l(e[i]);if(!(s=null!=t&&n(t,o)))break;t=t[o]}return s||++i!=u?s:!!(u=null==t?0:t.length)&&(0,p.default)(u)&&(0,v.default)(o,u)&&((0,r.default)(t)||(0,h.default)(t))};t.s(["default",0,_],878978);let b=function(t,e){return null!=t&&_(t,e,d)};t.s(["default",0,b],171114);var y=t.i(289416),g=t.i(639552);t.s(["default",0,function(t,r){return(0,n.default)(t)&&(0,y.default)(r)?(0,g.default)(l(t),r):function(n){var i=c(n,t);return void 0===i&&i===r?b(n,t):(0,e.default)(r,i,3)}}],914171)},766790,t=>{"use strict";t.s(["default",0,function(t,e){for(var r=-1,n=Array(t);++r<t;)n[r]=e(r);return n}])},931293,832181,t=>{"use strict";var e,r,n=t.i(644071),i=t.i(316827),u=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,a=/^\w*$/;t.s(["default",0,function(t,e){if((0,n.default)(t))return!1;var r=typeof t;return!!("number"==r||"symbol"==r||"boolean"==r||null==t||(0,i.default)(t))||a.test(t)||!u.test(t)||null!=e&&t in Object(e)}],931293);var s=t.i(702052);function o(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw TypeError("Expected a function");var r=function(){var n=arguments,i=e?e.apply(this,n):n[0],u=r.cache;if(u.has(i))return u.get(i);var a=t.apply(this,n);return r.cache=u.set(i,a)||u,a};return r.cache=new(o.Cache||s.default),r}o.Cache=s.default;var l=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,f=/\\(\\)?/g,c=(r=(e=o(function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(l,function(t,r,n,i){e.push(n?i.replace(f,"$1"):r||t)}),e},function(t){return 500===r.size&&r.clear(),t})).cache,e);t.s(["default",0,c],832181)},587652,949132,t=>{"use strict";let e=function(t){return function(){return t}};t.s(["default",0,e],949132),t.s(["constant",0,e],587652)},812319,615308,t=>{"use strict";var e=t.i(520667),r=t.i(421043),n=t.i(450266),i=t.i(644071);t.s(["filter",0,function(t,u){return((0,i.default)(t)?e.default:r.default)(t,(0,n.default)(u,3))}],812319);var u=t.i(919556),a=t.i(820486),s=t.i(515300),o=t.i(441338),l=t.i(303745),f=t.i(849915),c=t.i(801645),d=Object.prototype.hasOwnProperty;t.s(["isEmpty",0,function(t){if(null==t)return!0;if((0,o.default)(t)&&((0,i.default)(t)||"string"==typeof t||"function"==typeof t.splice||(0,l.default)(t)||(0,c.default)(t)||(0,s.default)(t)))return!t.length;var e=(0,a.default)(t);if("[object Map]"==e||"[object Set]"==e)return!t.size;if((0,f.default)(t))return!(0,u.default)(t).length;for(var r in t)if(d.call(t,r))return!1;return!0}],615308)},984891,524399,t=>{"use strict";var e=t.i(60989),r=t.i(369104),n=t.i(910022);let i=function(t){return"function"==typeof t?t:n.default};t.s(["default",0,i],524399);var u=t.i(644071);t.s(["default",0,function(t,n){return((0,u.default)(t)?e.default:r.default)(t,i(n))}],984891)},178662,595007,t=>{"use strict";var e=t.i(984891);t.s(["each",()=>e.default],178662),t.s(["isUndefined",0,function(t){return void 0===t}],595007)},910022,t=>{"use strict";t.s(["default",0,function(t){return t}])},764929,159110,t=>{"use strict";var e=t.i(835287);let r=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)};t.s(["default",0,r],159110),t.s(["default",0,function(t){if(!r(t))return!1;var n=(0,e.default)(t);return"[object Function]"==n||"[object GeneratorFunction]"==n||"[object AsyncFunction]"==n||"[object Proxy]"==n}],764929)},621017,t=>{"use strict";var e=t.i(764929);t.s(["isFunction",()=>e.default])},316827,t=>{"use strict";var e=t.i(835287),r=t.i(563615);t.s(["default",0,function(t){return"symbol"==typeof t||(0,r.default)(t)&&"[object Symbol]"==(0,e.default)(t)}])},154069,441338,t=>{"use strict";var e=t.i(688212),r=t.i(919556),n=t.i(764929),i=t.i(872445);let u=function(t){return null!=t&&(0,i.default)(t.length)&&!(0,n.default)(t)};t.s(["default",0,u],441338),t.s(["default",0,function(t){return u(t)?(0,e.default)(t):(0,r.default)(t)}],154069)},37050,t=>{"use strict";var e=t.i(154069);t.s(["keys",()=>e.default])},104009,t=>{"use strict";var e=t.i(854201),r=t.i(982735),n=t.i(644071),i=t.i(316827),u=1/0,a=e.default?e.default.prototype:void 0,s=a?a.toString:void 0;let o=function t(e){if("string"==typeof e)return e;if((0,n.default)(e))return(0,r.default)(e,t)+"";if((0,i.default)(e))return s?s.call(e):"";var a=e+"";return"0"==a&&1/e==-u?"-0":a};t.s(["default",0,function(t){return null==t?"":o(t)}],104009)}]);
|
|
1
|
+
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,566661,930892,126200,790947,790104,653411,113431,126841,681047,704642,t=>{"use strict";var e,r,n=t.i(587652),i=t.i(621017),u=t.i(37050),a=t.i(812319),s=t.i(615308),o=t.i(178662),l=t.i(595007),f=t.i(661196),c=t.i(910022);let d=function(t,e,r){switch(r.length){case 0:return t.call(e);case 1:return t.call(e,r[0]);case 2:return t.call(e,r[0],r[1]);case 3:return t.call(e,r[0],r[1],r[2])}return t.apply(e,r)};var h=Math.max;let v=function(t,e,r){return e=h(void 0===e?t.length-1:e,0),function(){for(var n=arguments,i=-1,u=h(n.length-e,0),a=Array(u);++i<u;)a[i]=n[e+i];i=-1;for(var s=Array(e+1);++i<e;)s[i]=n[i];return s[e]=r(a),d(t,this,s)}};t.s(["default",0,v],930892);var p=t.i(949132),_=t.i(747244),b=function(){try{var t=(0,_.default)(Object,"defineProperty");return t({},"",{}),t}catch(t){}}();t.s(["default",0,b],126200);var y=b?function(t,e){return b(t,"toString",{configurable:!0,enumerable:!1,value:(0,p.default)(e),writable:!0})}:c.default,g=Date.now,j=(e=0,r=0,function(){var t=g(),n=16-(t-r);if(r=t,n>0){if(++e>=800)return arguments[0]}else e=0;return y.apply(void 0,arguments)});t.s(["default",0,j],790947);let O=function(t,e){return j(v(t,e,c.default),t+"")};t.s(["default",0,O],790104);var w=t.i(470838);let m=function(t,e,r,n){for(var i=t.length,u=r+(n?1:-1);n?u--:++u<i;)if(e(t[u],u,t))return u;return -1};t.s(["default",0,m],653411);let C=function(t){return t!=t},E=function(t,e,r){for(var n=r-1,i=t.length;++n<i;)if(t[n]===e)return n;return -1},P=function(t,e){return!!(null==t?0:t.length)&&(e==e?E(t,e,0):m(t,C,0))>-1},A=function(t,e,r){for(var n=-1,i=null==t?0:t.length;++n<i;)if(r(e,t[n]))return!0;return!1};var z=t.i(989682),L=t.i(9752),S=t.i(428562),k=L.default&&1/(0,S.default)(new L.default([,-0]))[1]==1/0?function(t){return new L.default(t)}:function(){};let N=function(t,e,r){var n=-1,i=P,u=t.length,a=!0,s=[],o=s;if(r)a=!1,i=A;else if(u>=200){var l=e?null:k(t);if(l)return(0,S.default)(l);a=!1,i=z.default,o=new w.default}else o=e?[]:s;t:for(;++n<u;){var f=t[n],c=e?e(f):f;if(f=r||0!==f?f:0,a&&c==c){for(var d=o.length;d--;)if(o[d]===c)continue t;e&&o.push(c),s.push(f)}else i(o,c,r)||(o!==s&&o.push(c),s.push(f))}return s};var D=t.i(441338),F=t.i(563615);let M=function(t){return(0,F.default)(t)&&(0,D.default)(t)};t.s(["default",0,M],113431);var U=O(function(t){return N((0,f.default)(t,1,M,!0))}),x=t.i(982735),$=t.i(154069);let T=function(t){var e;return null==t?[]:(e=(0,$.default)(t),(0,x.default)(e,function(e){return t[e]}))};t.s(["values",0,T],126841);let B=function(t,e,r,n){var i=-1,u=null==t?0:t.length;for(n&&u&&(r=t[++i]);++i<u;)r=e(r,t[i],i,t);return r};var I=t.i(369104),R=t.i(450266);let G=function(t,e,r,n,i){return i(t,function(t,i,u){r=n?(n=!1,t):e(r,t,i,u)}),r};var V=t.i(644071);let W=function(t,e,r){var n=(0,V.default)(t)?B:G,i=arguments.length<3;return n(t,(0,R.default)(e,4),r,i,I.default)};t.s(["reduce",0,W],681047);class K{constructor(t={}){this._isDirected=!Object.prototype.hasOwnProperty.call(t,"directed")||t.directed,this._isMultigraph=!!Object.prototype.hasOwnProperty.call(t,"multigraph")&&t.multigraph,this._isCompound=!!Object.prototype.hasOwnProperty.call(t,"compound")&&t.compound,this._label=void 0,this._defaultNodeLabelFn=n.constant(void 0),this._defaultEdgeLabelFn=n.constant(void 0),this._nodes={},this._isCompound&&(this._parent={},this._children={},this._children["\0"]={}),this._in={},this._preds={},this._out={},this._sucs={},this._edgeObjs={},this._edgeLabels={}}isDirected(){return this._isDirected}isMultigraph(){return this._isMultigraph}isCompound(){return this._isCompound}setGraph(t){return this._label=t,this}graph(){return this._label}setDefaultNodeLabel(t){return i.isFunction(t)||(t=n.constant(t)),this._defaultNodeLabelFn=t,this}nodeCount(){return this._nodeCount}nodes(){return u.keys(this._nodes)}sources(){var t=this;return a.filter(this.nodes(),function(e){return s.isEmpty(t._in[e])})}sinks(){var t=this;return a.filter(this.nodes(),function(e){return s.isEmpty(t._out[e])})}setNodes(t,e){var r=arguments,n=this;return o.each(t,function(t){r.length>1?n.setNode(t,e):n.setNode(t)}),this}setNode(t,e){return Object.prototype.hasOwnProperty.call(this._nodes,t)?arguments.length>1&&(this._nodes[t]=e):(this._nodes[t]=arguments.length>1?e:this._defaultNodeLabelFn(t),this._isCompound&&(this._parent[t]="\0",this._children[t]={},this._children["\0"][t]=!0),this._in[t]={},this._preds[t]={},this._out[t]={},this._sucs[t]={},++this._nodeCount),this}node(t){return this._nodes[t]}hasNode(t){return Object.prototype.hasOwnProperty.call(this._nodes,t)}removeNode(t){if(Object.prototype.hasOwnProperty.call(this._nodes,t)){var e=t=>this.removeEdge(this._edgeObjs[t]);delete this._nodes[t],this._isCompound&&(this._removeFromParentsChildList(t),delete this._parent[t],o.each(this.children(t),t=>{this.setParent(t)}),delete this._children[t]),o.each(u.keys(this._in[t]),e),delete this._in[t],delete this._preds[t],o.each(u.keys(this._out[t]),e),delete this._out[t],delete this._sucs[t],--this._nodeCount}return this}setParent(t,e){if(!this._isCompound)throw Error("Cannot set parent in a non-compound graph");if(l.isUndefined(e))e="\0";else{e+="";for(var r=e;!l.isUndefined(r);r=this.parent(r))if(r===t)throw Error("Setting "+e+" as parent of "+t+" would create a cycle");this.setNode(e)}return this.setNode(t),this._removeFromParentsChildList(t),this._parent[t]=e,this._children[e][t]=!0,this}_removeFromParentsChildList(t){delete this._children[this._parent[t]][t]}parent(t){if(this._isCompound){var e=this._parent[t];if("\0"!==e)return e}}children(t){if(l.isUndefined(t)&&(t="\0"),this._isCompound){var e=this._children[t];if(e)return u.keys(e)}else if("\0"===t)return this.nodes();else if(this.hasNode(t))return[]}predecessors(t){var e=this._preds[t];if(e)return u.keys(e)}successors(t){var e=this._sucs[t];if(e)return u.keys(e)}neighbors(t){var e=this.predecessors(t);if(e)return U(e,this.successors(t))}isLeaf(t){return 0===(this.isDirected()?this.successors(t):this.neighbors(t)).length}filterNodes(t){var e=new this.constructor({directed:this._isDirected,multigraph:this._isMultigraph,compound:this._isCompound});e.setGraph(this.graph());var r=this;o.each(this._nodes,function(r,n){t(n)&&e.setNode(n,r)}),o.each(this._edgeObjs,function(t){e.hasNode(t.v)&&e.hasNode(t.w)&&e.setEdge(t,r.edge(t))});var n={};return this._isCompound&&o.each(e.nodes(),function(t){e.setParent(t,function t(i){var u=r.parent(i);return void 0===u||e.hasNode(u)?(n[i]=u,u):u in n?n[u]:t(u)}(t))}),e}setDefaultEdgeLabel(t){return i.isFunction(t)||(t=n.constant(t)),this._defaultEdgeLabelFn=t,this}edgeCount(){return this._edgeCount}edges(){return T(this._edgeObjs)}setPath(t,e){var r=this,n=arguments;return W(t,function(t,i){return n.length>1?r.setEdge(t,i,e):r.setEdge(t,i),i}),this}setEdge(){var t,e,r,n,i=!1,u=arguments[0];"object"==typeof u&&null!==u&&"v"in u?(t=u.v,e=u.w,r=u.name,2==arguments.length&&(n=arguments[1],i=!0)):(t=u,e=arguments[1],r=arguments[3],arguments.length>2&&(n=arguments[2],i=!0)),t=""+t,e=""+e,l.isUndefined(r)||(r=""+r);var a=J(this._isDirected,t,e,r);if(Object.prototype.hasOwnProperty.call(this._edgeLabels,a))return i&&(this._edgeLabels[a]=n),this;if(!l.isUndefined(r)&&!this._isMultigraph)throw Error("Cannot set a named edge when isMultigraph = false");this.setNode(t),this.setNode(e),this._edgeLabels[a]=i?n:this._defaultEdgeLabelFn(t,e,r);var s=function(t,e,r,n){var i=""+e,u=""+r;if(!t&&i>u){var a=i;i=u,u=a}var s={v:i,w:u};return n&&(s.name=n),s}(this._isDirected,t,e,r);return t=s.v,e=s.w,Object.freeze(s),this._edgeObjs[a]=s,q(this._preds[e],t),q(this._sucs[t],e),this._in[e][a]=s,this._out[t][a]=s,this._edgeCount++,this}edge(t,e,r){var n=1==arguments.length?Q(this._isDirected,arguments[0]):J(this._isDirected,t,e,r);return this._edgeLabels[n]}hasEdge(t,e,r){var n=1==arguments.length?Q(this._isDirected,arguments[0]):J(this._isDirected,t,e,r);return Object.prototype.hasOwnProperty.call(this._edgeLabels,n)}removeEdge(t,e,r){var n=1==arguments.length?Q(this._isDirected,arguments[0]):J(this._isDirected,t,e,r),i=this._edgeObjs[n];return i&&(t=i.v,e=i.w,delete this._edgeLabels[n],delete this._edgeObjs[n],H(this._preds[e],t),H(this._sucs[t],e),delete this._in[e][n],delete this._out[t][n],this._edgeCount--),this}inEdges(t,e){var r=this._in[t];if(r){var n=T(r);return e?a.filter(n,function(t){return t.v===e}):n}}outEdges(t,e){var r=this._out[t];if(r){var n=T(r);return e?a.filter(n,function(t){return t.w===e}):n}}nodeEdges(t,e){var r=this.inEdges(t,e);if(r)return r.concat(this.outEdges(t,e))}}function q(t,e){t[e]?t[e]++:t[e]=1}function H(t,e){--t[e]||delete t[e]}function J(t,e,r,n){var i=""+e,u=""+r;if(!t&&i>u){var a=i;i=u,u=a}return i+"\x01"+u+"\x01"+(l.isUndefined(n)?"\0":n)}function Q(t,e){return J(t,e.v,e.w,e.name)}K.prototype._nodeCount=0,K.prototype._edgeCount=0,t.s(["Graph",0,K],704642),t.s([],566661)},697015,208986,366762,747244,544483,702052,470838,989682,814400,97787,428562,52040,t=>{"use strict";let e=function(t,e){return t===e||t!=t&&e!=e};t.s(["default",0,e],208986);let r=function(t,r){for(var n=t.length;n--;)if(e(t[n][0],r))return n;return -1};var n,i=Array.prototype.splice;function u(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}u.prototype.clear=function(){this.__data__=[],this.size=0},u.prototype.delete=function(t){var e=this.__data__,n=r(e,t);return!(n<0)&&(n==e.length-1?e.pop():i.call(e,n,1),--this.size,!0)},u.prototype.get=function(t){var e=this.__data__,n=r(e,t);return n<0?void 0:e[n][1]},u.prototype.has=function(t){return r(this.__data__,t)>-1},u.prototype.set=function(t,e){var n=this.__data__,i=r(n,t);return i<0?(++this.size,n.push([t,e])):n[i][1]=e,this};var a=t.i(764929),s=t.i(56176),o=s.default["__core-js_shared__"],l=(n=/[^.]+$/.exec(o&&o.keys&&o.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"",f=t.i(159110),c=Function.prototype.toString;let d=function(t){if(null!=t){try{return c.call(t)}catch(t){}try{return t+""}catch(t){}}return""};t.s(["default",0,d],366762);var h=/^\[object .+?Constructor\]$/,v=Object.prototype,p=Function.prototype.toString,_=v.hasOwnProperty,b=RegExp("^"+p.call(_).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");let y=function(t){return!!(0,f.default)(t)&&(!l||!(l in t))&&((0,a.default)(t)?b:h).test(d(t))},g=function(t,e){var r=null==t?void 0:t[e];return y(r)?r:void 0};t.s(["default",0,g],747244);var j=g(s.default,"Map");t.s(["default",0,j],544483);var O=g(Object,"create"),w=Object.prototype.hasOwnProperty,m=Object.prototype.hasOwnProperty;function C(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}C.prototype.clear=function(){this.__data__=O?O(null):{},this.size=0},C.prototype.delete=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=!!e,e},C.prototype.get=function(t){var e=this.__data__;if(O){var r=e[t];return"__lodash_hash_undefined__"===r?void 0:r}return w.call(e,t)?e[t]:void 0},C.prototype.has=function(t){var e=this.__data__;return O?void 0!==e[t]:m.call(e,t)},C.prototype.set=function(t,e){var r=this.__data__;return this.size+=+!this.has(t),r[t]=O&&void 0===e?"__lodash_hash_undefined__":e,this};let E=function(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t},P=function(t,e){var r=t.__data__;return E(e)?r["string"==typeof e?"string":"hash"]:r.map};function A(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}function z(t){var e=this.__data__=new u(t);this.size=e.size}function L(t){var e=-1,r=null==t?0:t.length;for(this.__data__=new A;++e<r;)this.add(t[e])}A.prototype.clear=function(){this.size=0,this.__data__={hash:new C,map:new(j||u),string:new C}},A.prototype.delete=function(t){var e=P(this,t).delete(t);return this.size-=!!e,e},A.prototype.get=function(t){return P(this,t).get(t)},A.prototype.has=function(t){return P(this,t).has(t)},A.prototype.set=function(t,e){var r=P(this,t),n=r.size;return r.set(t,e),this.size+=+(r.size!=n),this},t.s(["default",0,A],702052),z.prototype.clear=function(){this.__data__=new u,this.size=0},z.prototype.delete=function(t){var e=this.__data__,r=e.delete(t);return this.size=e.size,r},z.prototype.get=function(t){return this.__data__.get(t)},z.prototype.has=function(t){return this.__data__.has(t)},z.prototype.set=function(t,e){var r=this.__data__;if(r instanceof u){var n=r.__data__;if(!j||n.length<199)return n.push([t,e]),this.size=++r.size,this;r=this.__data__=new A(n)}return r.set(t,e),this.size=r.size,this},t.s(["default",0,z],697015),L.prototype.add=L.prototype.push=function(t){return this.__data__.set(t,"__lodash_hash_undefined__"),this},L.prototype.has=function(t){return this.__data__.has(t)},t.s(["default",0,L],470838);let S=function(t,e){for(var r=-1,n=null==t?0:t.length;++r<n;)if(e(t[r],r,t))return!0;return!1},k=function(t,e){return t.has(e)};t.s(["default",0,k],989682);let N=function(t,e,r,n,i,u){var a=1&r,s=t.length,o=e.length;if(s!=o&&!(a&&o>s))return!1;var l=u.get(t),f=u.get(e);if(l&&f)return l==e&&f==t;var c=-1,d=!0,h=2&r?new L:void 0;for(u.set(t,e),u.set(e,t);++c<s;){var v=t[c],p=e[c];if(n)var _=a?n(p,v,c,e,t,u):n(v,p,c,t,e,u);if(void 0!==_){if(_)continue;d=!1;break}if(h){if(!S(e,function(t,e){if(!k(h,e)&&(v===t||i(v,t,r,n,u)))return h.push(e)})){d=!1;break}}else if(!(v===p||i(v,p,r,n,u))){d=!1;break}}return u.delete(t),u.delete(e),d};t.s(["default",0,N],814400);var D=t.i(854201),F=s.default.Uint8Array;t.s(["default",0,F],97787);let M=function(t){var e=-1,r=Array(t.size);return t.forEach(function(t,n){r[++e]=[n,t]}),r},U=function(t){var e=-1,r=Array(t.size);return t.forEach(function(t){r[++e]=t}),r};t.s(["default",0,U],428562);var x=D.default?D.default.prototype:void 0,$=x?x.valueOf:void 0;t.s(["default",0,function(t,r,n,i,u,a,s){switch(n){case"[object DataView]":if(t.byteLength!=r.byteLength||t.byteOffset!=r.byteOffset)break;t=t.buffer,r=r.buffer;case"[object ArrayBuffer]":if(t.byteLength!=r.byteLength||!a(new F(t),new F(r)))break;return!0;case"[object Boolean]":case"[object Date]":case"[object Number]":return e(+t,+r);case"[object Error]":return t.name==r.name&&t.message==r.message;case"[object RegExp]":case"[object String]":return t==r+"";case"[object Map]":var o=M;case"[object Set]":var l=1&i;if(o||(o=U),t.size!=r.size&&!l)break;var f=s.get(t);if(f)return f==r;i|=2,s.set(t,r);var c=N(o(t),o(r),i,u,a,s);return s.delete(t),c;case"[object Symbol]":if($)return $.call(t)==$.call(r)}return!1}],52040)},60989,t=>{"use strict";t.s(["default",0,function(t,e){for(var r=-1,n=null==t?0:t.length;++r<n&&!1!==e(t[r],r,t););return t}])},520667,t=>{"use strict";t.s(["default",0,function(t,e){for(var r=-1,n=null==t?0:t.length,i=0,u=[];++r<n;){var a=t[r];e(a,r,t)&&(u[i++]=a)}return u}])},688212,563615,515300,644071,303745,448178,872445,894228,651434,801645,849915,765485,919556,t=>{"use strict";var e=t.i(766790),r=t.i(835287);let n=function(t){return null!=t&&"object"==typeof t};t.s(["default",0,n],563615);let i=function(t){return n(t)&&"[object Arguments]"==(0,r.default)(t)};var u=Object.prototype,a=u.hasOwnProperty,s=u.propertyIsEnumerable,o=i(function(){return arguments}())?i:function(t){return n(t)&&a.call(t,"callee")&&!s.call(t,"callee")};t.s(["default",0,o],515300);var l=Array.isArray;t.s(["default",0,l],644071);let f=function(){return!1};t.s(["default",0,f],303745);var c=/^(?:0|[1-9]\d*)$/;let d=function(t,e){var r=typeof t;return!!(e=null==e?0x1fffffffffffff:e)&&("number"==r||"symbol"!=r&&c.test(t))&&t>-1&&t%1==0&&t<e};t.s(["default",0,d],448178);let h=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=0x1fffffffffffff};t.s(["default",0,h],872445);var v={};v["[object Float32Array]"]=v["[object Float64Array]"]=v["[object Int8Array]"]=v["[object Int16Array]"]=v["[object Int32Array]"]=v["[object Uint8Array]"]=v["[object Uint8ClampedArray]"]=v["[object Uint16Array]"]=v["[object Uint32Array]"]=!0,v["[object Arguments]"]=v["[object Array]"]=v["[object ArrayBuffer]"]=v["[object Boolean]"]=v["[object DataView]"]=v["[object Date]"]=v["[object Error]"]=v["[object Function]"]=v["[object Map]"]=v["[object Number]"]=v["[object Object]"]=v["[object RegExp]"]=v["[object Set]"]=v["[object String]"]=v["[object WeakMap]"]=!1;let p=function(t){return function(e){return t(e)}};t.s(["default",0,p],894228),t.i(179282);var _=function(){try{return!1}catch(t){}}();t.s(["default",0,_],651434);var b=_&&_.isTypedArray,y=b?p(b):function(t){return n(t)&&h(t.length)&&!!v[(0,r.default)(t)]};t.s(["default",0,y],801645);var g=Object.prototype.hasOwnProperty;t.s(["default",0,function(t,r){var n=l(t),i=!n&&o(t),u=!n&&!i&&f(),a=!n&&!i&&!u&&y(t),s=n||i||u||a,c=s?(0,e.default)(t.length,String):[],h=c.length;for(var v in t)(r||g.call(t,v))&&!(s&&("length"==v||u&&("offset"==v||"parent"==v)||a&&("buffer"==v||"byteLength"==v||"byteOffset"==v)||d(v,h)))&&c.push(v);return c}],688212);var j=Object.prototype;let O=function(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||j)};t.s(["default",0,O],849915);let w=function(t,e){return function(r){return t(e(r))}};t.s(["default",0,w],765485);var m=w(Object.keys,Object),C=Object.prototype.hasOwnProperty;t.s(["default",0,function(t){if(!O(t))return m(t);var e=[];for(var r in Object(t))C.call(t,r)&&"constructor"!=r&&e.push(r);return e}],919556)},982735,t=>{"use strict";t.s(["default",0,function(t,e){for(var r=-1,n=null==t?0:t.length,i=Array(n);++r<n;)i[r]=e(t[r],r,t);return i}])},522099,t=>{"use strict";t.s(["default",0,function(t,e){for(var r=-1,n=e.length,i=t.length;++r<n;)t[i+r]=e[r];return t}])},369104,791578,t=>{"use strict";var e=t.i(840622),r=t.i(154069);let n=function(t,n){return t&&(0,e.default)(t,n,r.default)};t.s(["default",0,n],791578);var i=t.i(441338),u=function(t,e){if(null==t)return t;if(!(0,i.default)(t))return n(t,e);for(var r=t.length,u=-1,a=Object(t);++u<r&&!1!==e(a[u],u,a););return t};t.s(["default",0,u],369104)},421043,t=>{"use strict";var e=t.i(369104);t.s(["default",0,function(t,r){var n=[];return(0,e.default)(t,function(t,e,i){r(t,e,i)&&n.push(t)}),n}])},661196,t=>{"use strict";var e=t.i(522099),r=t.i(854201),n=t.i(515300),i=t.i(644071),u=r.default?r.default.isConcatSpreadable:void 0;let a=function(t){return(0,i.default)(t)||(0,n.default)(t)||!!(u&&t&&t[u])};t.s(["default",0,function t(r,n,i,u,s){var o=-1,l=r.length;for(i||(i=a),s||(s=[]);++o<l;){var f=r[o];n>0&&i(f)?n>1?t(f,n-1,i,u,s):(0,e.default)(s,f):u||(s[s.length]=f)}return s}],661196)},840622,t=>{"use strict";t.s(["default",0,function(t,e,r){for(var n=-1,i=Object(t),u=r(t),a=u.length;a--;){var s=u[++n];if(!1===e(i[s],s,i))break}return t}],840622)},902704,t=>{"use strict";var e=t.i(522099),r=t.i(644071);t.s(["default",0,function(t,n,i){var u=n(t);return(0,r.default)(t)?u:(0,e.default)(u,i(t))}])},835287,179282,56176,854201,t=>{"use strict";var e=t.g&&t.g.Object===Object&&t.g;t.s(["default",0,e],179282);var r="object"==typeof self&&self&&self.Object===Object&&self,n=e||r||Function("return this")();t.s(["default",0,n],56176);var i=n.Symbol;t.s(["default",0,i],854201);var u=Object.prototype,a=u.hasOwnProperty,s=u.toString,o=i?i.toStringTag:void 0;let l=function(t){var e=a.call(t,o),r=t[o];try{t[o]=void 0;var n=!0}catch(t){}var i=s.call(t);return n&&(e?t[o]=r:delete t[o]),i};var f=Object.prototype.toString,c=i?i.toStringTag:void 0;t.s(["default",0,function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":c&&c in Object(t)?l(t):f.call(t)}],835287)},450266,627180,t=>{"use strict";var e=t.i(353984),r=t.i(914171),n=t.i(910022),i=t.i(644071);let u=function(t){return function(e){return null==e?void 0:e[t]}};t.s(["default",0,u],627180);var a=t.i(426881),s=t.i(931293),o=t.i(277734);let l=function(t){return(0,s.default)(t)?u((0,o.default)(t)):function(e){return(0,a.default)(e,t)}};t.s(["default",0,function(t){return"function"==typeof t?t:null==t?n.default:"object"==typeof t?(0,i.default)(t)?(0,r.default)(t[0],t[1]):(0,e.default)(t):l(t)}],450266)},353984,173647,324151,861182,9752,820486,294123,289416,639552,t=>{"use strict";var e=t.i(697015),r=t.i(814400),n=t.i(52040),i=t.i(902704),u=t.i(520667);let a=function(){return[]};t.s(["default",0,a],173647);var s=Object.prototype.propertyIsEnumerable,o=Object.getOwnPropertySymbols,l=o?function(t){return null==t?[]:(t=Object(t),(0,u.default)(o(t),function(e){return s.call(t,e)}))}:a;t.s(["default",0,l],324151);var f=t.i(154069);let c=function(t){return(0,i.default)(t,f.default,l)};t.s(["default",0,c],861182);var d=Object.prototype.hasOwnProperty;let h=function(t,e,r,n,i,u){var a=1&r,s=c(t),o=s.length;if(o!=c(e).length&&!a)return!1;for(var l=o;l--;){var f=s[l];if(!(a?f in e:d.call(e,f)))return!1}var h=u.get(t),v=u.get(e);if(h&&v)return h==e&&v==t;var p=!0;u.set(t,e),u.set(e,t);for(var _=a;++l<o;){var b=t[f=s[l]],y=e[f];if(n)var g=a?n(y,b,f,e,t,u):n(b,y,f,t,e,u);if(!(void 0===g?b===y||i(b,y,r,n,u):g)){p=!1;break}_||(_="constructor"==f)}if(p&&!_){var j=t.constructor,O=e.constructor;j!=O&&"constructor"in t&&"constructor"in e&&!("function"==typeof j&&j instanceof j&&"function"==typeof O&&O instanceof O)&&(p=!1)}return u.delete(t),u.delete(e),p};var v=t.i(747244),p=t.i(56176),_=(0,v.default)(p.default,"DataView"),b=t.i(544483),y=(0,v.default)(p.default,"Promise"),g=(0,v.default)(p.default,"Set");t.s(["default",0,g],9752);var j=(0,v.default)(p.default,"WeakMap"),O=t.i(835287),w=t.i(366762),m="[object Map]",C="[object Promise]",E="[object Set]",P="[object WeakMap]",A="[object DataView]",z=(0,w.default)(_),L=(0,w.default)(b.default),S=(0,w.default)(y),k=(0,w.default)(g),N=(0,w.default)(j),D=O.default;(_&&D(new _(new ArrayBuffer(1)))!=A||b.default&&D(new b.default)!=m||y&&D(y.resolve())!=C||g&&D(new g)!=E||j&&D(new j)!=P)&&(D=function(t){var e=(0,O.default)(t),r="[object Object]"==e?t.constructor:void 0,n=r?(0,w.default)(r):"";if(n)switch(n){case z:return A;case L:return m;case S:return C;case k:return E;case N:return P}return e});let F=D;t.s(["default",0,F],820486);var M=t.i(644071),U=t.i(303745),x=t.i(801645),$="[object Arguments]",T="[object Array]",B="[object Object]",I=Object.prototype.hasOwnProperty;let R=function(t,i,u,a,s,o){var l=(0,M.default)(t),f=(0,M.default)(i),c=l?T:F(t),d=f?T:F(i);c=c==$?B:c,d=d==$?B:d;var v=c==B,p=d==B,_=c==d;if(_&&(0,U.default)(t)){if(!(0,U.default)(i))return!1;l=!0,v=!1}if(_&&!v)return o||(o=new e.default),l||(0,x.default)(t)?(0,r.default)(t,i,u,a,s,o):(0,n.default)(t,i,c,u,a,s,o);if(!(1&u)){var b=v&&I.call(t,"__wrapped__"),y=p&&I.call(i,"__wrapped__");if(b||y){var g=b?t.value():t,j=y?i.value():i;return o||(o=new e.default),s(g,j,u,a,o)}}return!!_&&(o||(o=new e.default),h(t,i,u,a,s,o))};var G=t.i(563615);let V=function t(e,r,n,i,u){return e===r||(null!=e&&null!=r&&((0,G.default)(e)||(0,G.default)(r))?R(e,r,n,i,t,u):e!=e&&r!=r)};t.s(["default",0,V],294123);let W=function(t,r,n,i){var u=n.length,a=u,s=!i;if(null==t)return!a;for(t=Object(t);u--;){var o=n[u];if(s&&o[2]?o[1]!==t[o[0]]:!(o[0]in t))return!1}for(;++u<a;){var l=(o=n[u])[0],f=t[l],c=o[1];if(s&&o[2]){if(void 0===f&&!(l in t))return!1}else{var d=new e.default;if(i)var h=i(f,c,l,t,r,d);if(!(void 0===h?V(c,f,3,i,d):h))return!1}}return!0};var K=t.i(159110);let q=function(t){return t==t&&!(0,K.default)(t)};t.s(["default",0,q],289416);let H=function(t){for(var e=(0,f.default)(t),r=e.length;r--;){var n=e[r],i=t[n];e[r]=[n,i,q(i)]}return e},J=function(t,e){return function(r){return null!=r&&r[t]===e&&(void 0!==e||t in Object(r))}};t.s(["default",0,J],639552),t.s(["default",0,function(t){var e=H(t);return 1==e.length&&e[0][2]?J(e[0][0],e[0][1]):function(r){return r===t||W(r,t,e)}}],353984)},914171,172778,277734,426881,878978,171114,t=>{"use strict";var e=t.i(294123),r=t.i(644071),n=t.i(931293),i=t.i(832181),u=t.i(104009);let a=function(t,e){return(0,r.default)(t)?t:(0,n.default)(t,e)?[t]:(0,i.default)((0,u.default)(t))};t.s(["default",0,a],172778);var s=t.i(316827),o=1/0;let l=function(t){if("string"==typeof t||(0,s.default)(t))return t;var e=t+"";return"0"==e&&1/t==-o?"-0":e};t.s(["default",0,l],277734);let f=function(t,e){e=a(e,t);for(var r=0,n=e.length;null!=t&&r<n;)t=t[l(e[r++])];return r&&r==n?t:void 0};t.s(["default",0,f],426881);let c=function(t,e,r){var n=null==t?void 0:f(t,e);return void 0===n?r:n},d=function(t,e){return null!=t&&e in Object(t)};var h=t.i(515300),v=t.i(448178),p=t.i(872445);let _=function(t,e,n){e=a(e,t);for(var i=-1,u=e.length,s=!1;++i<u;){var o=l(e[i]);if(!(s=null!=t&&n(t,o)))break;t=t[o]}return s||++i!=u?s:!!(u=null==t?0:t.length)&&(0,p.default)(u)&&(0,v.default)(o,u)&&((0,r.default)(t)||(0,h.default)(t))};t.s(["default",0,_],878978);let b=function(t,e){return null!=t&&_(t,e,d)};t.s(["default",0,b],171114);var y=t.i(289416),g=t.i(639552);t.s(["default",0,function(t,r){return(0,n.default)(t)&&(0,y.default)(r)?(0,g.default)(l(t),r):function(n){var i=c(n,t);return void 0===i&&i===r?b(n,t):(0,e.default)(r,i,3)}}],914171)},766790,t=>{"use strict";t.s(["default",0,function(t,e){for(var r=-1,n=Array(t);++r<t;)n[r]=e(r);return n}])},931293,832181,t=>{"use strict";var e,r,n=t.i(644071),i=t.i(316827),u=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,a=/^\w*$/;t.s(["default",0,function(t,e){if((0,n.default)(t))return!1;var r=typeof t;return!!("number"==r||"symbol"==r||"boolean"==r||null==t||(0,i.default)(t))||a.test(t)||!u.test(t)||null!=e&&t in Object(e)}],931293);var s=t.i(702052);function o(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw TypeError("Expected a function");var r=function(){var n=arguments,i=e?e.apply(this,n):n[0],u=r.cache;if(u.has(i))return u.get(i);var a=t.apply(this,n);return r.cache=u.set(i,a)||u,a};return r.cache=new(o.Cache||s.default),r}o.Cache=s.default;var l=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,f=/\\(\\)?/g,c=(r=(e=o(function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(l,function(t,r,n,i){e.push(n?i.replace(f,"$1"):r||t)}),e},function(t){return 500===r.size&&r.clear(),t})).cache,e);t.s(["default",0,c],832181)},587652,949132,t=>{"use strict";let e=function(t){return function(){return t}};t.s(["default",0,e],949132),t.s(["constant",0,e],587652)},812319,615308,t=>{"use strict";var e=t.i(520667),r=t.i(421043),n=t.i(450266),i=t.i(644071);t.s(["filter",0,function(t,u){return((0,i.default)(t)?e.default:r.default)(t,(0,n.default)(u,3))}],812319);var u=t.i(919556),a=t.i(820486),s=t.i(515300),o=t.i(441338),l=t.i(303745),f=t.i(849915),c=t.i(801645),d=Object.prototype.hasOwnProperty;t.s(["isEmpty",0,function(t){if(null==t)return!0;if((0,o.default)(t)&&((0,i.default)(t)||"string"==typeof t||"function"==typeof t.splice||(0,l.default)(t)||(0,c.default)(t)||(0,s.default)(t)))return!t.length;var e=(0,a.default)(t);if("[object Map]"==e||"[object Set]"==e)return!t.size;if((0,f.default)(t))return!(0,u.default)(t).length;for(var r in t)if(d.call(t,r))return!1;return!0}],615308)},984891,524399,t=>{"use strict";var e=t.i(60989),r=t.i(369104),n=t.i(910022);let i=function(t){return"function"==typeof t?t:n.default};t.s(["default",0,i],524399);var u=t.i(644071);t.s(["default",0,function(t,n){return((0,u.default)(t)?e.default:r.default)(t,i(n))}],984891)},178662,595007,t=>{"use strict";var e=t.i(984891);t.s(["each",()=>e.default],178662),t.s(["isUndefined",0,function(t){return void 0===t}],595007)},910022,t=>{"use strict";t.s(["default",0,function(t){return t}])},764929,159110,t=>{"use strict";var e=t.i(835287);let r=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)};t.s(["default",0,r],159110),t.s(["default",0,function(t){if(!r(t))return!1;var n=(0,e.default)(t);return"[object Function]"==n||"[object GeneratorFunction]"==n||"[object AsyncFunction]"==n||"[object Proxy]"==n}],764929)},621017,t=>{"use strict";var e=t.i(764929);t.s(["isFunction",()=>e.default])},316827,t=>{"use strict";var e=t.i(835287),r=t.i(563615);t.s(["default",0,function(t){return"symbol"==typeof t||(0,r.default)(t)&&"[object Symbol]"==(0,e.default)(t)}])},154069,441338,t=>{"use strict";var e=t.i(688212),r=t.i(919556),n=t.i(764929),i=t.i(872445);let u=function(t){return null!=t&&(0,i.default)(t.length)&&!(0,n.default)(t)};t.s(["default",0,u],441338),t.s(["default",0,function(t){return u(t)?(0,e.default)(t):(0,r.default)(t)}],154069)},37050,t=>{"use strict";var e=t.i(154069);t.s(["keys",()=>e.default])},104009,t=>{"use strict";var e=t.i(854201),r=t.i(982735),n=t.i(644071),i=t.i(316827),u=1/0,a=e.default?e.default.prototype:void 0,s=a?a.toString:void 0;let o=function t(e){if("string"==typeof e)return e;if((0,n.default)(e))return(0,r.default)(e,t)+"";if((0,i.default)(e))return s?s.call(e):"";var a=e+"";return"0"==a&&1/e==-u?"-0":a};t.s(["default",0,function(t){return null==t?"":o(t)}],104009)}]);
|