@stigmer/server-slim 0.1.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/README.md +3 -0
- package/console/404.html +1 -0
- package/console/__next.__PAGE__.txt +54 -0
- package/console/__next._full.txt +71 -0
- package/console/__next._index.txt +62 -0
- package/console/__next._tree.txt +6 -0
- package/console/_next/static/GjBokeF86FffwftazOhh6/_buildManifest.js +11 -0
- package/console/_next/static/GjBokeF86FffwftazOhh6/_clientMiddlewareManifest.js +1 -0
- package/console/_next/static/GjBokeF86FffwftazOhh6/_ssgManifest.js +1 -0
- package/console/_next/static/chunks/0376wi8qbsw94.js +1 -0
- package/console/_next/static/chunks/04cglffeuwumk.js +1 -0
- package/console/_next/static/chunks/04d276dp3qb52.js +1 -0
- package/console/_next/static/chunks/05526ws9tzwim.js +1 -0
- package/console/_next/static/chunks/05t5235u7o-c4.js +25 -0
- package/console/_next/static/chunks/06fz-g9t73bd6.js +4 -0
- package/console/_next/static/chunks/0789xt7opwvm-.js +24 -0
- package/console/_next/static/chunks/07twy5plc911w.js +1 -0
- package/console/_next/static/chunks/08-p5zefc1rea.js +1 -0
- package/console/_next/static/chunks/085db4op75mf5.js +1 -0
- package/console/_next/static/chunks/0923388wak11-.js +1 -0
- package/console/_next/static/chunks/0_7s7fzux7kiv.js +1 -0
- package/console/_next/static/chunks/0_bjj6hug8d9a.js +1 -0
- package/console/_next/static/chunks/0_zscrk6o0d0-.js +1 -0
- package/console/_next/static/chunks/0a4x97q7frgj3.js +1 -0
- package/console/_next/static/chunks/0ab5jlm8l0aud.js +1 -0
- package/console/_next/static/chunks/0c_c2b4z1yc02.js +1 -0
- package/console/_next/static/chunks/0cuyycns49hl4.js +1 -0
- package/console/_next/static/chunks/0cz1d0mv5g_q7.js +1 -0
- package/console/_next/static/chunks/0d8f3-znyc_to.js +1 -0
- package/console/_next/static/chunks/0e-f1rkyz_u2k.js +1 -0
- package/console/_next/static/chunks/0ffx83gbnwq09.js +28 -0
- package/console/_next/static/chunks/0fyno0jk61txk.js +115 -0
- package/console/_next/static/chunks/0ggwoicp90w_s.js +1 -0
- package/console/_next/static/chunks/0h_7_i44vofe3.js +1 -0
- package/console/_next/static/chunks/0hagmppwo8s-f.js +1 -0
- package/console/_next/static/chunks/0hfvbn6c9k3pf.js +1 -0
- package/console/_next/static/chunks/0hw7vilkfpzlc.js +1 -0
- package/console/_next/static/chunks/0kb63xcvghh_3.js +1 -0
- package/console/_next/static/chunks/0ko5wsi6kukgd.js +1 -0
- package/console/_next/static/chunks/0kq99qin4db-q.js +1 -0
- package/console/_next/static/chunks/0kqg4u5n17gje.js +1 -0
- package/console/_next/static/chunks/0ky9qppyx1n57.js +62 -0
- package/console/_next/static/chunks/0og4_5pph-mhm.js +1 -0
- package/console/_next/static/chunks/0p7p-bpdrqx75.js +1 -0
- package/console/_next/static/chunks/0q2bnr94vvuc2.js +1 -0
- package/console/_next/static/chunks/0q3sxhnylk_gn.js +1 -0
- package/console/_next/static/chunks/0qg6l3tattq3j.js +1 -0
- package/console/_next/static/chunks/0qwyk_70quvjh.js +1 -0
- package/console/_next/static/chunks/0qzyqii8_m5r2.js +1 -0
- package/console/_next/static/chunks/0rlfx91598uvc.js +1 -0
- package/console/_next/static/chunks/0s9njms3lumhx.js +1 -0
- package/console/_next/static/chunks/0srualwd948m1.js +29 -0
- package/console/_next/static/chunks/0u4m2805tgi7x.js +1 -0
- package/console/_next/static/chunks/0udcs-1vq74rp.js +1 -0
- package/console/_next/static/chunks/0vno04lmwdchj.js +1 -0
- package/console/_next/static/chunks/0vt1_fu_q116n.js +1 -0
- package/console/_next/static/chunks/0vuq85gcb9zcl.js +1 -0
- package/console/_next/static/chunks/0wxazby0i4xu3.js +5 -0
- package/console/_next/static/chunks/0yeh2zqwmmec0.js +22 -0
- package/console/_next/static/chunks/0zvl88sijsrqk.js +1 -0
- package/console/_next/static/chunks/110bgpy30m6m6.js +1 -0
- package/console/_next/static/chunks/14ipylvs6qyyw.js +1 -0
- package/console/_next/static/chunks/1745jt9onokna.js +1 -0
- package/console/_next/static/chunks/177rfq0tsoku9.js +4 -0
- package/console/_next/static/chunks/17mfsiiquey1d.js +1 -0
- package/console/_next/static/chunks/197iuvi8udifl.js +1 -0
- package/console/_next/static/chunks/1_2-z0tjk0xio.js +1 -0
- package/console/_next/static/chunks/1_gh5a14dqnji.js +1 -0
- package/console/_next/static/chunks/1ame8n7x9g3xc.js +1 -0
- package/console/_next/static/chunks/1apepr-7dz16b.js +1 -0
- package/console/_next/static/chunks/1dtukwrl8nulc.js +1 -0
- package/console/_next/static/chunks/1e0br64ibniud.js +24 -0
- package/console/_next/static/chunks/1fm-45g777ifx.js +1 -0
- package/console/_next/static/chunks/1g_iha5barqef.js +1 -0
- package/console/_next/static/chunks/1glr_lki18csr.js +2 -0
- package/console/_next/static/chunks/1hl355w6m5bp5.js +1 -0
- package/console/_next/static/chunks/1id3p9v9v5knn.js +1 -0
- package/console/_next/static/chunks/1j6kp4gg0_ylt.js +80 -0
- package/console/_next/static/chunks/1jssq3ch7qgd6.js +60 -0
- package/console/_next/static/chunks/1jzfyfh-3gqlb.js +1 -0
- package/console/_next/static/chunks/1k3d5c49mpp-2.js +1 -0
- package/console/_next/static/chunks/1kte_bxw9m-ie.js +1 -0
- package/console/_next/static/chunks/1lw52jm27gon2.js +1 -0
- package/console/_next/static/chunks/1m9e28v8syzxx.js +34 -0
- package/console/_next/static/chunks/1mrmq_pigo_yb.js +1 -0
- package/console/_next/static/chunks/1muf1a96cgbv5.js +1 -0
- package/console/_next/static/chunks/1n1x0ykt8by6w.js +1 -0
- package/console/_next/static/chunks/1qu0tqybdtj0_.js +1 -0
- package/console/_next/static/chunks/1r8itpdfffwxa.js +1 -0
- package/console/_next/static/chunks/1r_opkrpbuykx.js +1 -0
- package/console/_next/static/chunks/1tl0h3c_bp62t.js +1 -0
- package/console/_next/static/chunks/1v1m1fr8f0yle.js +1 -0
- package/console/_next/static/chunks/1v34vj52v7q0g.js +1 -0
- package/console/_next/static/chunks/1wztfxoxnu5_9.js +1 -0
- package/console/_next/static/chunks/1x7exm5d_hhb8.js +153 -0
- package/console/_next/static/chunks/1xwdphzrhi9cn.js +1 -0
- package/console/_next/static/chunks/1yc4gdqzxa5ie.js +1 -0
- package/console/_next/static/chunks/1zunrzvni97zi.js +1 -0
- package/console/_next/static/chunks/1zv6mtmekep40.js +36 -0
- package/console/_next/static/chunks/2-jaie5wchnsy.js +1 -0
- package/console/_next/static/chunks/20aa5hen470pm.js +1 -0
- package/console/_next/static/chunks/2116ko93nwgx8.js +1 -0
- package/console/_next/static/chunks/23vk0ig36j0he.js +1 -0
- package/console/_next/static/chunks/245vlws7l85dk.js +1 -0
- package/console/_next/static/chunks/24__o4dkdytc8.js +1 -0
- package/console/_next/static/chunks/24iwqo9ejhxl8.js +127 -0
- package/console/_next/static/chunks/24o9ia1be2cze.js +1 -0
- package/console/_next/static/chunks/25aea0bgjydel.css +1 -0
- package/console/_next/static/chunks/26-p2jxr4f20d.js +1 -0
- package/console/_next/static/chunks/28c--yt2jaxxf.js +1 -0
- package/console/_next/static/chunks/28vym848oh1ng.js +1 -0
- package/console/_next/static/chunks/29ou6qb6p1lni.js +1 -0
- package/console/_next/static/chunks/2aalpmeu_tni-.js +3 -0
- package/console/_next/static/chunks/2c4ifddi2dal0.js +20 -0
- package/console/_next/static/chunks/2ckm4edha_gkb.js +43 -0
- package/console/_next/static/chunks/2d5ods6a8n6yd.js +1 -0
- package/console/_next/static/chunks/2dm5g7ylrulvb.js +15 -0
- package/console/_next/static/chunks/2dtosus35_o5k.js +1 -0
- package/console/_next/static/chunks/2e0_cm1_wv-b4.js +1 -0
- package/console/_next/static/chunks/2fh_0n31hibdi.js +226 -0
- package/console/_next/static/chunks/2fjsaw5pgjcqb.js +1 -0
- package/console/_next/static/chunks/2h5pk3yu15nwr.js +1 -0
- package/console/_next/static/chunks/2i7w4yyf77gzw.js +1 -0
- package/console/_next/static/chunks/2jo3q7mfk65kd.js +1 -0
- package/console/_next/static/chunks/2jutbapb-t64n.js +31 -0
- package/console/_next/static/chunks/2k6tx8-w1creu.js +148 -0
- package/console/_next/static/chunks/2kh_m5onqedc5.js +1 -0
- package/console/_next/static/chunks/2ltzdgpjq3v6a.js +1 -0
- package/console/_next/static/chunks/2o2ftjhtb8od3.js +2 -0
- package/console/_next/static/chunks/2pyn841-jq-oo.js +10 -0
- package/console/_next/static/chunks/2rn289343m-y_.js +139 -0
- package/console/_next/static/chunks/2t2l3h2w_04bb.js +1 -0
- package/console/_next/static/chunks/2v11hooq3xd5t.js +15 -0
- package/console/_next/static/chunks/2vsg5t3fnqmfn.js +1 -0
- package/console/_next/static/chunks/2wayafjfoiq7q.css +6 -0
- package/console/_next/static/chunks/2xsvteosdtsb-.js +1 -0
- package/console/_next/static/chunks/2y-x8nhnufxzb.js +1 -0
- package/console/_next/static/chunks/2za4b-si894xj.js +1 -0
- package/console/_next/static/chunks/3-igvp1-n4pxs.js +104 -0
- package/console/_next/static/chunks/3-k25f-adpe5f.js +1 -0
- package/console/_next/static/chunks/3-pzmot7dbrfa.js +1 -0
- package/console/_next/static/chunks/3-x5lrgs3wcpl.js +80 -0
- package/console/_next/static/chunks/30nrkrr9518_z.js +1 -0
- package/console/_next/static/chunks/316lh1-hzgnod.js +1 -0
- package/console/_next/static/chunks/31wj1au8smjge.js +1 -0
- package/console/_next/static/chunks/329o6uup9qmb3.js +1 -0
- package/console/_next/static/chunks/34_1w929-5o6r.js +287 -0
- package/console/_next/static/chunks/35szx1ga574xu.js +1 -0
- package/console/_next/static/chunks/36tg522pkl8hm.js +1 -0
- package/console/_next/static/chunks/37-y9fgnir35a.js +1 -0
- package/console/_next/static/chunks/39wss1g0ffaqt.js +1 -0
- package/console/_next/static/chunks/3_cv0gj1bm3l6.js +1 -0
- package/console/_next/static/chunks/3_f8gd_6816re.js +101 -0
- package/console/_next/static/chunks/3a4qfuhsxefh2.js +12 -0
- package/console/_next/static/chunks/3asb3ztrvogwl.js +1 -0
- package/console/_next/static/chunks/3bsxbw10qhvqo.js +1 -0
- package/console/_next/static/chunks/3by94g38ljxl1.js +1 -0
- package/console/_next/static/chunks/3c_6owv8m4rta.js +90 -0
- package/console/_next/static/chunks/3ea2eo8b5gmju.js +2 -0
- package/console/_next/static/chunks/3ercnb2rksl_a.js +1 -0
- package/console/_next/static/chunks/3esxfmmm0ypxb.js +2 -0
- package/console/_next/static/chunks/3exiw74xbmika.js +1 -0
- package/console/_next/static/chunks/3f88-tc5u2heg.js +1 -0
- package/console/_next/static/chunks/3f_axahrombdp.js +1 -0
- package/console/_next/static/chunks/3gz91kn_v2lfa.js +1 -0
- package/console/_next/static/chunks/3i9z3x7tka5x2.js +1 -0
- package/console/_next/static/chunks/3ih4kfufd47st.js +1 -0
- package/console/_next/static/chunks/3itfi41ayfopd.js +15 -0
- package/console/_next/static/chunks/3iwgig-fgcscf.js +15 -0
- package/console/_next/static/chunks/3jf8qh1ev3gb4.js +2 -0
- package/console/_next/static/chunks/3l6svfyqdsq6o.js +1 -0
- package/console/_next/static/chunks/3lj0i-qlb4ah2.js +64 -0
- package/console/_next/static/chunks/3lmx6tkunfd3u.js +1 -0
- package/console/_next/static/chunks/3lp4d64he__am.js +152 -0
- package/console/_next/static/chunks/3m_jz3b2j38nn.js +1 -0
- package/console/_next/static/chunks/3oe9w1b39nzmn.js +3 -0
- package/console/_next/static/chunks/3on7r_d8o-kna.js +1 -0
- package/console/_next/static/chunks/3pbpowf3kdu5z.js +119 -0
- package/console/_next/static/chunks/3pwwv0u29nk8c.js +23 -0
- package/console/_next/static/chunks/3rweyye6o1z6b.js +79 -0
- package/console/_next/static/chunks/3sdqgrmvxm_u4.js +201 -0
- package/console/_next/static/chunks/3t3vbs-x5hixj.js +1 -0
- package/console/_next/static/chunks/3thqnz0a5zy-h.js +9 -0
- package/console/_next/static/chunks/3udubdawo7583.js +1 -0
- package/console/_next/static/chunks/3uz4lg6e199sb.js +1 -0
- package/console/_next/static/chunks/3v2mkz_46uei2.js +1 -0
- package/console/_next/static/chunks/3w5crjmhb-3um.js +1 -0
- package/console/_next/static/chunks/3waxhrmr_82j5.js +93 -0
- package/console/_next/static/chunks/3zmlzef_jxopu.js +1 -0
- package/console/_next/static/chunks/3zqvalj8nr-1y.js +1 -0
- package/console/_next/static/chunks/40igag4gq4k0a.js +77 -0
- package/console/_next/static/chunks/40wq034qcdji_.js +1 -0
- package/console/_next/static/chunks/44crhetqymq_e.js +34 -0
- package/console/_next/static/chunks/44q2pv6a3w19q.js +1 -0
- package/console/_next/static/chunks/turbopack-2u1d16houkiyo.js +1 -0
- package/console/_next/static/media/GeistMono_Variable-s.p.21mfa-4xv0w3g.woff2 +0 -0
- package/console/_next/static/media/Geist_Variable-s.p.217kyf1h_p0cg.woff2 +0 -0
- package/console/_next/static/media/IBMPlexMono_Medium-s.2v25u5rd2tsaf.woff2 +0 -0
- package/console/_next/static/media/IBMPlexMono_Regular-s.09u63wo58kris.woff2 +0 -0
- package/console/_next/static/media/IBMPlexSans_Bold-s.3iicodgz0epim.woff2 +0 -0
- package/console/_next/static/media/IBMPlexSans_Light-s.3ntejfdcyftfg.woff2 +0 -0
- package/console/_next/static/media/IBMPlexSans_Medium-s.3n25cgfiu6qss.woff2 +0 -0
- package/console/_next/static/media/IBMPlexSans_Regular-s.2e_-c_m03txvi.woff2 +0 -0
- package/console/_next/static/media/IBMPlexSans_SemiBold-s.2sutjpuns2xc5.woff2 +0 -0
- package/console/_next/static/media/Inter_Variable-s.2-lfiv6s83kzn.woff2 +0 -0
- package/console/_next/static/media/Nunito_Variable-s.3r4_r9s3kxd_-.woff2 +0 -0
- package/console/_not-found/__next._full.txt +73 -0
- package/console/_not-found/__next._index.txt +62 -0
- package/console/_not-found/__next._not-found.__PAGE__.txt +61 -0
- package/console/_not-found/__next._tree.txt +5 -0
- package/console/_not-found.html +1 -0
- package/console/_not-found.txt +73 -0
- package/console/apple-touch-icon-dark.png +0 -0
- package/console/apple-touch-icon-light.png +0 -0
- package/console/auth/callback/__next._full.txt +82 -0
- package/console/auth/callback/__next._index.txt +62 -0
- package/console/auth/callback/__next._tree.txt +8 -0
- package/console/auth/callback/__next.auth.callback.__PAGE__.txt +67 -0
- package/console/auth/callback.html +1 -0
- package/console/auth/callback.txt +82 -0
- package/console/auth/oauth/callback/__next._full.txt +84 -0
- package/console/auth/oauth/callback/__next._index.txt +62 -0
- package/console/auth/oauth/callback/__next._tree.txt +9 -0
- package/console/auth/oauth/callback/__next.auth.oauth.callback.__PAGE__.txt +69 -0
- package/console/auth/oauth/callback.html +1 -0
- package/console/auth/oauth/callback.txt +84 -0
- package/console/brand-avatar.png +0 -0
- package/console/chat/__placeholder__/__next._full.txt +80 -0
- package/console/chat/__placeholder__/__next._index.txt +62 -0
- package/console/chat/__placeholder__/__next._tree.txt +8 -0
- package/console/chat/__placeholder__/__next.chat.$d$channel.__PAGE__.txt +65 -0
- package/console/chat/__placeholder__.html +1 -0
- package/console/chat/__placeholder__.txt +80 -0
- package/console/connect/__placeholder__/__next._full.txt +79 -0
- package/console/connect/__placeholder__/__next._index.txt +62 -0
- package/console/connect/__placeholder__/__next._tree.txt +8 -0
- package/console/connect/__placeholder__/__next.connect.$d$token.__PAGE__.txt +64 -0
- package/console/connect/__placeholder__.html +1 -0
- package/console/connect/__placeholder__.txt +79 -0
- package/console/conversations/__next._full.txt +79 -0
- package/console/conversations/__next._index.txt +62 -0
- package/console/conversations/__next._tree.txt +7 -0
- package/console/conversations/__next.conversations.__PAGE__.txt +64 -0
- package/console/conversations/__placeholder__/__placeholder__/__next._full.txt +83 -0
- package/console/conversations/__placeholder__/__placeholder__/__next._index.txt +62 -0
- package/console/conversations/__placeholder__/__placeholder__/__next._tree.txt +9 -0
- package/console/conversations/__placeholder__/__placeholder__/__next.conversations.$d$channelId.$d$key.__PAGE__.txt +68 -0
- package/console/conversations/__placeholder__/__placeholder__.html +1 -0
- package/console/conversations/__placeholder__/__placeholder__.txt +83 -0
- package/console/conversations.html +1 -0
- package/console/conversations.txt +79 -0
- package/console/dashboard/__next._full.txt +77 -0
- package/console/dashboard/__next._index.txt +62 -0
- package/console/dashboard/__next._tree.txt +7 -0
- package/console/dashboard/__next.dashboard.__PAGE__.txt +62 -0
- package/console/dashboard.html +1 -0
- package/console/dashboard.txt +77 -0
- package/console/desktop/billing/__next._full.txt +82 -0
- package/console/desktop/billing/__next._index.txt +62 -0
- package/console/desktop/billing/__next._tree.txt +8 -0
- package/console/desktop/billing/__next.desktop.billing.__PAGE__.txt +67 -0
- package/console/desktop/billing.html +1 -0
- package/console/desktop/billing.txt +82 -0
- package/console/embed.js +1 -0
- package/console/favicon-dark-16x16.png +0 -0
- package/console/favicon-dark-32x32.png +0 -0
- package/console/favicon-dark.ico +0 -0
- package/console/favicon-dark.svg +1 -0
- package/console/favicon-light-16x16.png +0 -0
- package/console/favicon-light-32x32.png +0 -0
- package/console/favicon-light.ico +0 -0
- package/console/favicon-light.svg +1 -0
- package/console/index.html +1 -0
- package/console/index.txt +71 -0
- package/console/invite/__placeholder__/__next._full.txt +80 -0
- package/console/invite/__placeholder__/__next._index.txt +62 -0
- package/console/invite/__placeholder__/__next._tree.txt +8 -0
- package/console/invite/__placeholder__/__next.invite.$d$token.__PAGE__.txt +65 -0
- package/console/invite/__placeholder__.html +1 -0
- package/console/invite/__placeholder__.txt +80 -0
- package/console/library/__next._full.txt +89 -0
- package/console/library/__next._index.txt +62 -0
- package/console/library/__next._tree.txt +7 -0
- package/console/library/__next.library.__PAGE__.txt +74 -0
- package/console/library/agents/__next._full.txt +94 -0
- package/console/library/agents/__next._index.txt +62 -0
- package/console/library/agents/__next._tree.txt +8 -0
- package/console/library/agents/__next.library.agents.__PAGE__.txt +79 -0
- package/console/library/agents/__placeholder__/__placeholder__/__next._full.txt +96 -0
- package/console/library/agents/__placeholder__/__placeholder__/__next._index.txt +62 -0
- package/console/library/agents/__placeholder__/__placeholder__/__next._tree.txt +10 -0
- package/console/library/agents/__placeholder__/__placeholder__/__next.library.agents.$d$org.$d$slug.__PAGE__.txt +81 -0
- package/console/library/agents/__placeholder__/__placeholder__.html +1 -0
- package/console/library/agents/__placeholder__/__placeholder__.txt +96 -0
- package/console/library/agents/new/__next._full.txt +99 -0
- package/console/library/agents/new/__next._index.txt +62 -0
- package/console/library/agents/new/__next._tree.txt +9 -0
- package/console/library/agents/new/__next.library.agents.new.__PAGE__.txt +84 -0
- package/console/library/agents/new.html +1 -0
- package/console/library/agents/new.txt +99 -0
- package/console/library/agents.html +1 -0
- package/console/library/agents.txt +94 -0
- package/console/library/environments/__next._full.txt +95 -0
- package/console/library/environments/__next._index.txt +62 -0
- package/console/library/environments/__next._tree.txt +8 -0
- package/console/library/environments/__next.library.environments.__PAGE__.txt +80 -0
- package/console/library/environments/__placeholder__/__placeholder__/__next._full.txt +97 -0
- package/console/library/environments/__placeholder__/__placeholder__/__next._index.txt +62 -0
- package/console/library/environments/__placeholder__/__placeholder__/__next._tree.txt +10 -0
- package/console/library/environments/__placeholder__/__placeholder__/__next.library.environments.$d$org.$d$slug.__PAGE__.txt +82 -0
- package/console/library/environments/__placeholder__/__placeholder__.html +1 -0
- package/console/library/environments/__placeholder__/__placeholder__.txt +97 -0
- package/console/library/environments/new/__next._full.txt +99 -0
- package/console/library/environments/new/__next._index.txt +62 -0
- package/console/library/environments/new/__next._tree.txt +9 -0
- package/console/library/environments/new/__next.library.environments.new.__PAGE__.txt +84 -0
- package/console/library/environments/new.html +1 -0
- package/console/library/environments/new.txt +99 -0
- package/console/library/environments.html +1 -0
- package/console/library/environments.txt +95 -0
- package/console/library/files/__next._full.txt +94 -0
- package/console/library/files/__next._index.txt +62 -0
- package/console/library/files/__next._tree.txt +8 -0
- package/console/library/files/__next.library.files.__PAGE__.txt +79 -0
- package/console/library/files.html +1 -0
- package/console/library/files.txt +94 -0
- package/console/library/plugins/__next._full.txt +94 -0
- package/console/library/plugins/__next._index.txt +62 -0
- package/console/library/plugins/__next._tree.txt +8 -0
- package/console/library/plugins/__next.library.plugins.__PAGE__.txt +79 -0
- package/console/library/plugins/__placeholder__/__placeholder__/__next._full.txt +97 -0
- package/console/library/plugins/__placeholder__/__placeholder__/__next._index.txt +62 -0
- package/console/library/plugins/__placeholder__/__placeholder__/__next._tree.txt +10 -0
- package/console/library/plugins/__placeholder__/__placeholder__/__next.library.plugins.$d$org.$d$slug.__PAGE__.txt +82 -0
- package/console/library/plugins/__placeholder__/__placeholder__.html +1 -0
- package/console/library/plugins/__placeholder__/__placeholder__.txt +97 -0
- package/console/library/plugins/upload/__next._full.txt +99 -0
- package/console/library/plugins/upload/__next._index.txt +62 -0
- package/console/library/plugins/upload/__next._tree.txt +9 -0
- package/console/library/plugins/upload/__next.library.plugins.upload.__PAGE__.txt +84 -0
- package/console/library/plugins/upload.html +1 -0
- package/console/library/plugins/upload.txt +99 -0
- package/console/library/plugins.html +1 -0
- package/console/library/plugins.txt +94 -0
- package/console/library/routines/__next._full.txt +94 -0
- package/console/library/routines/__next._index.txt +62 -0
- package/console/library/routines/__next._tree.txt +8 -0
- package/console/library/routines/__next.library.routines.__PAGE__.txt +79 -0
- package/console/library/routines/__placeholder__/__placeholder__/__next._full.txt +97 -0
- package/console/library/routines/__placeholder__/__placeholder__/__next._index.txt +62 -0
- package/console/library/routines/__placeholder__/__placeholder__/__next._tree.txt +10 -0
- package/console/library/routines/__placeholder__/__placeholder__/__next.library.routines.$d$org.$d$slug.__PAGE__.txt +82 -0
- package/console/library/routines/__placeholder__/__placeholder__.html +1 -0
- package/console/library/routines/__placeholder__/__placeholder__.txt +97 -0
- package/console/library/routines/new/__next._full.txt +98 -0
- package/console/library/routines/new/__next._index.txt +62 -0
- package/console/library/routines/new/__next._tree.txt +9 -0
- package/console/library/routines/new/__next.library.routines.new.__PAGE__.txt +83 -0
- package/console/library/routines/new.html +1 -0
- package/console/library/routines/new.txt +98 -0
- package/console/library/routines.html +1 -0
- package/console/library/routines.txt +94 -0
- package/console/library/skills/__next._full.txt +94 -0
- package/console/library/skills/__next._index.txt +62 -0
- package/console/library/skills/__next._tree.txt +8 -0
- package/console/library/skills/__next.library.skills.__PAGE__.txt +79 -0
- package/console/library/skills/__placeholder__/__placeholder__/__next._full.txt +96 -0
- package/console/library/skills/__placeholder__/__placeholder__/__next._index.txt +62 -0
- package/console/library/skills/__placeholder__/__placeholder__/__next._tree.txt +10 -0
- package/console/library/skills/__placeholder__/__placeholder__/__next.library.skills.$d$org.$d$slug.__PAGE__.txt +81 -0
- package/console/library/skills/__placeholder__/__placeholder__.html +1 -0
- package/console/library/skills/__placeholder__/__placeholder__.txt +96 -0
- package/console/library/skills/new/__next._full.txt +98 -0
- package/console/library/skills/new/__next._index.txt +62 -0
- package/console/library/skills/new/__next._tree.txt +9 -0
- package/console/library/skills/new/__next.library.skills.new.__PAGE__.txt +83 -0
- package/console/library/skills/new.html +1 -0
- package/console/library/skills/new.txt +98 -0
- package/console/library/skills.html +1 -0
- package/console/library/skills.txt +94 -0
- package/console/library.html +1 -0
- package/console/library.txt +89 -0
- package/console/login/__next._full.txt +81 -0
- package/console/login/__next._index.txt +62 -0
- package/console/login/__next._tree.txt +7 -0
- package/console/login/__next.login.__PAGE__.txt +66 -0
- package/console/login.html +1 -0
- package/console/login.txt +81 -0
- package/console/marketplace/__next._full.txt +81 -0
- package/console/marketplace/__next._index.txt +62 -0
- package/console/marketplace/__next._tree.txt +7 -0
- package/console/marketplace/__next.marketplace.__PAGE__.txt +66 -0
- package/console/marketplace.html +1 -0
- package/console/marketplace.txt +81 -0
- package/console/models/__next._full.txt +77 -0
- package/console/models/__next._index.txt +62 -0
- package/console/models/__next._tree.txt +7 -0
- package/console/models/__next.models.__PAGE__.txt +62 -0
- package/console/models.html +1 -0
- package/console/models.txt +77 -0
- package/console/oauth/slack/callback/__next._full.txt +84 -0
- package/console/oauth/slack/callback/__next._index.txt +62 -0
- package/console/oauth/slack/callback/__next._tree.txt +9 -0
- package/console/oauth/slack/callback/__next.oauth.slack.callback.__PAGE__.txt +69 -0
- package/console/oauth/slack/callback.html +1 -0
- package/console/oauth/slack/callback.txt +84 -0
- package/console/runs/__placeholder__/__next._full.txt +77 -0
- package/console/runs/__placeholder__/__next._index.txt +62 -0
- package/console/runs/__placeholder__/__next._tree.txt +8 -0
- package/console/runs/__placeholder__/__next.runs.$d$id.__PAGE__.txt +62 -0
- package/console/runs/__placeholder__.html +1 -0
- package/console/runs/__placeholder__.txt +77 -0
- package/console/sessions/__placeholder__/__next._full.txt +77 -0
- package/console/sessions/__placeholder__/__next._index.txt +62 -0
- package/console/sessions/__placeholder__/__next._tree.txt +8 -0
- package/console/sessions/__placeholder__/__next.sessions.$d$id.__PAGE__.txt +62 -0
- package/console/sessions/__placeholder__.html +1 -0
- package/console/sessions/__placeholder__.txt +77 -0
- package/console/settings/__next._full.txt +85 -0
- package/console/settings/__next._index.txt +62 -0
- package/console/settings/__next._tree.txt +7 -0
- package/console/settings/__next.settings.__PAGE__.txt +70 -0
- package/console/settings/access-history/__next._full.txt +87 -0
- package/console/settings/access-history/__next._index.txt +62 -0
- package/console/settings/access-history/__next._tree.txt +8 -0
- package/console/settings/access-history/__next.settings.access-history.__PAGE__.txt +72 -0
- package/console/settings/access-history.html +1 -0
- package/console/settings/access-history.txt +87 -0
- package/console/settings/account-preferences/__next._full.txt +87 -0
- package/console/settings/account-preferences/__next._index.txt +62 -0
- package/console/settings/account-preferences/__next._tree.txt +8 -0
- package/console/settings/account-preferences/__next.settings.account-preferences.__PAGE__.txt +72 -0
- package/console/settings/account-preferences.html +1 -0
- package/console/settings/account-preferences.txt +87 -0
- package/console/settings/api-keys/__next._full.txt +86 -0
- package/console/settings/api-keys/__next._index.txt +62 -0
- package/console/settings/api-keys/__next._tree.txt +8 -0
- package/console/settings/api-keys/__next.settings.api-keys.__PAGE__.txt +71 -0
- package/console/settings/api-keys.html +1 -0
- package/console/settings/api-keys.txt +86 -0
- package/console/settings/billing/__next._full.txt +89 -0
- package/console/settings/billing/__next._index.txt +62 -0
- package/console/settings/billing/__next._tree.txt +8 -0
- package/console/settings/billing/__next.settings.billing.__PAGE__.txt +74 -0
- package/console/settings/billing.html +1 -0
- package/console/settings/billing.txt +89 -0
- package/console/settings/channel-apps/__next._full.txt +87 -0
- package/console/settings/channel-apps/__next._index.txt +62 -0
- package/console/settings/channel-apps/__next._tree.txt +8 -0
- package/console/settings/channel-apps/__next.settings.channel-apps.__PAGE__.txt +72 -0
- package/console/settings/channel-apps.html +1 -0
- package/console/settings/channel-apps.txt +87 -0
- package/console/settings/federation-issuers/__next._full.txt +88 -0
- package/console/settings/federation-issuers/__next._index.txt +62 -0
- package/console/settings/federation-issuers/__next._tree.txt +8 -0
- package/console/settings/federation-issuers/__next.settings.federation-issuers.__PAGE__.txt +73 -0
- package/console/settings/federation-issuers.html +1 -0
- package/console/settings/federation-issuers.txt +88 -0
- package/console/settings/invitations/__next._full.txt +87 -0
- package/console/settings/invitations/__next._index.txt +62 -0
- package/console/settings/invitations/__next._tree.txt +8 -0
- package/console/settings/invitations/__next.settings.invitations.__PAGE__.txt +72 -0
- package/console/settings/invitations.html +1 -0
- package/console/settings/invitations.txt +87 -0
- package/console/settings/licenses/__next._full.txt +90 -0
- package/console/settings/licenses/__next._index.txt +62 -0
- package/console/settings/licenses/__next._tree.txt +8 -0
- package/console/settings/licenses/__next.settings.licenses.__PAGE__.txt +75 -0
- package/console/settings/licenses.html +1 -0
- package/console/settings/licenses.txt +90 -0
- package/console/settings/members/__next._full.txt +86 -0
- package/console/settings/members/__next._index.txt +62 -0
- package/console/settings/members/__next._tree.txt +8 -0
- package/console/settings/members/__next.settings.members.__PAGE__.txt +71 -0
- package/console/settings/members.html +1 -0
- package/console/settings/members.txt +86 -0
- package/console/settings/memory/__next._full.txt +86 -0
- package/console/settings/memory/__next._index.txt +62 -0
- package/console/settings/memory/__next._tree.txt +8 -0
- package/console/settings/memory/__next.settings.memory.__PAGE__.txt +71 -0
- package/console/settings/memory.html +1 -0
- package/console/settings/memory.txt +86 -0
- package/console/settings/model-catalog/__next._full.txt +89 -0
- package/console/settings/model-catalog/__next._index.txt +62 -0
- package/console/settings/model-catalog/__next._tree.txt +8 -0
- package/console/settings/model-catalog/__next.settings.model-catalog.__PAGE__.txt +74 -0
- package/console/settings/model-catalog.html +1 -0
- package/console/settings/model-catalog.txt +89 -0
- package/console/settings/notifications/__next._full.txt +89 -0
- package/console/settings/notifications/__next._index.txt +62 -0
- package/console/settings/notifications/__next._tree.txt +8 -0
- package/console/settings/notifications/__next.settings.notifications.__PAGE__.txt +74 -0
- package/console/settings/notifications.html +1 -0
- package/console/settings/notifications.txt +89 -0
- package/console/settings/oauth-apps/__next._full.txt +87 -0
- package/console/settings/oauth-apps/__next._index.txt +62 -0
- package/console/settings/oauth-apps/__next._tree.txt +8 -0
- package/console/settings/oauth-apps/__next.settings.oauth-apps.__PAGE__.txt +72 -0
- package/console/settings/oauth-apps.html +1 -0
- package/console/settings/oauth-apps.txt +87 -0
- package/console/settings/org-embedding/__next._full.txt +87 -0
- package/console/settings/org-embedding/__next._index.txt +62 -0
- package/console/settings/org-embedding/__next._tree.txt +8 -0
- package/console/settings/org-embedding/__next.settings.org-embedding.__PAGE__.txt +72 -0
- package/console/settings/org-embedding.html +1 -0
- package/console/settings/org-embedding.txt +87 -0
- package/console/settings/org-policies/__next._full.txt +87 -0
- package/console/settings/org-policies/__next._index.txt +62 -0
- package/console/settings/org-policies/__next._tree.txt +8 -0
- package/console/settings/org-policies/__next.settings.org-policies.__PAGE__.txt +72 -0
- package/console/settings/org-policies.html +1 -0
- package/console/settings/org-policies.txt +87 -0
- package/console/settings/org-preferences/__next._full.txt +87 -0
- package/console/settings/org-preferences/__next._index.txt +62 -0
- package/console/settings/org-preferences/__next._tree.txt +8 -0
- package/console/settings/org-preferences/__next.settings.org-preferences.__PAGE__.txt +72 -0
- package/console/settings/org-preferences.html +1 -0
- package/console/settings/org-preferences.txt +87 -0
- package/console/settings/org-profile/__next._full.txt +89 -0
- package/console/settings/org-profile/__next._index.txt +62 -0
- package/console/settings/org-profile/__next._tree.txt +8 -0
- package/console/settings/org-profile/__next.settings.org-profile.__PAGE__.txt +74 -0
- package/console/settings/org-profile.html +1 -0
- package/console/settings/org-profile.txt +89 -0
- package/console/settings/plans/__next._full.txt +89 -0
- package/console/settings/plans/__next._index.txt +62 -0
- package/console/settings/plans/__next._tree.txt +8 -0
- package/console/settings/plans/__next.settings.plans.__PAGE__.txt +74 -0
- package/console/settings/plans.html +1 -0
- package/console/settings/plans.txt +89 -0
- package/console/settings/service-accounts/__next._full.txt +87 -0
- package/console/settings/service-accounts/__next._index.txt +62 -0
- package/console/settings/service-accounts/__next._tree.txt +8 -0
- package/console/settings/service-accounts/__next.settings.service-accounts.__PAGE__.txt +72 -0
- package/console/settings/service-accounts.html +1 -0
- package/console/settings/service-accounts.txt +87 -0
- package/console/settings/teams/__next._full.txt +86 -0
- package/console/settings/teams/__next._index.txt +62 -0
- package/console/settings/teams/__next._tree.txt +8 -0
- package/console/settings/teams/__next.settings.teams.__PAGE__.txt +71 -0
- package/console/settings/teams.html +1 -0
- package/console/settings/teams.txt +86 -0
- package/console/settings/usage/__next._full.txt +86 -0
- package/console/settings/usage/__next._index.txt +62 -0
- package/console/settings/usage/__next._tree.txt +8 -0
- package/console/settings/usage/__next.settings.usage.__PAGE__.txt +71 -0
- package/console/settings/usage.html +1 -0
- package/console/settings/usage.txt +86 -0
- package/console/settings/vaults/__next._full.txt +86 -0
- package/console/settings/vaults/__next._index.txt +62 -0
- package/console/settings/vaults/__next._tree.txt +8 -0
- package/console/settings/vaults/__next.settings.vaults.__PAGE__.txt +71 -0
- package/console/settings/vaults.html +1 -0
- package/console/settings/vaults.txt +86 -0
- package/console/settings.html +1 -0
- package/console/settings.txt +85 -0
- package/main.js +1656 -0
- package/mappings.wasm +0 -0
- package/package.json +25 -0
- package/workflow-bundle-agent-execution.js +29297 -0
- package/workflow-bundle-evals.js +11997 -0
- package/workflow-bundle-grading.js +11155 -0
- package/workflow-bundle-routine.js +11300 -0
- package/workflow-worker-thread.cjs +111 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,937692,e=>{"use strict";e.i(189036);var t=e.i(651023),n=e.i(345808),r=e.i(229315),i=e.i(383799),o=e.i(500977),l=e.i(676477),s=e.i(672408),u=e.i(559266),a=e.i(5963),c=e.i(77175),f=e.i(132652),d=e.i(327601),p=e.i(417514),h=e.i(607335),g=e.i(974265);let m=t.createContext(null),v=()=>t.useContext(m),y=(0,f.f)("portal");function b(e={}){let{ref:s,container:u,componentProps:a=p.w,elementProps:c}=e,f=(0,i.f)(),h=v(),g=h?.portalNode,[m,w]=t.useState(null),[E,x]=t.useState(null),S=(0,l.f)(e=>{null!==e&&x(e)}),R=t.useRef(null);(0,o.f)(()=>{if(null===u){R.current&&(R.current=null,x(null),w(null));return}if(null==f)return;let e=(u&&((0,r.t)(u)?u:u.current))??g??document.body;if(null==e){R.current&&(R.current=null,x(null),w(null));return}R.current!==e&&(R.current=e,x(null),w(e))},[u,g,f]);let T=(0,d.f)("div",a,{ref:[s,S],props:[{id:f,[y]:""},c]});return{portalNode:E,portalSubtree:m&&T?n.createPortal(T,m):null}}let w=t.forwardRef(function(e,r){let{children:i,container:o,className:l,render:f,renderGuards:d,...p}=e,{portalNode:v,portalSubtree:y}=b({container:o,ref:r,componentProps:e,elementProps:p}),w=t.useRef(null),E=t.useRef(null),x=t.useRef(null),S=t.useRef(null),[R,T]=t.useState(null),C=R?.modal,O=R?.open,P="boolean"==typeof d?d:!!R&&!R.modal&&R.open&&!!v;t.useEffect(()=>{if(v&&!C)return v.addEventListener("focusin",e,!0),v.addEventListener("focusout",e,!0),()=>{v.removeEventListener("focusin",e,!0),v.removeEventListener("focusout",e,!0)};function e(e){v&&e.relatedTarget&&(0,u.A)(e)&&("focusin"===e.type?u.d:u.r)(v)}},[v,C]),t.useEffect(()=>{v&&!O&&(0,u.d)(v)},[O,v]);let I=t.useMemo(()=>({beforeOutsideRef:w,afterOutsideRef:E,beforeInsideRef:x,afterInsideRef:S,portalNode:v,setFocusManagerState:T}),[v]);return(0,g.jsxs)(t.Fragment,{children:[y,(0,g.jsxs)(m.Provider,{value:I,children:[P&&v&&(0,g.jsx)(s.f,{"data-type":"outside",ref:w,onFocus:e=>{if((0,u.A)(e,v))x.current?.focus();else{let e=R?R.domReference:null,t=(0,u.B)(e);t?.focus()}}}),P&&v&&(0,g.jsx)("span",{"aria-owns":v.id,style:h.Z}),v&&n.createPortal(i,v),P&&v&&(0,g.jsx)(s.f,{"data-type":"outside",ref:E,onFocus:e=>{if((0,u.A)(e,v))S.current?.focus();else{let t=R?R.domReference:null,n=(0,u.O)(t);n?.focus(),R?.closeOnFocusOut&&R?.onOpenChange(!1,(0,a.f)(c.f.focusOut,e.nativeEvent))}}})]})]})});e.s(["r",0,w,"o",0,b,"M",0,v])},524019,598263,e=>{"use strict";var t=e.i(783921),n=e.i(651023),r=e.i(802239),i=e.i(430224),o=e.i(35423),l=e.i(203851);let s=(0,o.f)(19)?function(e,t,i,o,s){let u,a=(0,l._)();if(!a){let l;return l=n.useCallback(()=>t(e.getSnapshot(),i,o,s),[e,t,i,o,s]),(0,r.useSyncExternalStore)(e.subscribe,l,l)}let c=a.syncIndex;return a.syncIndex+=1,a.didInitialize?(u=a.syncHooks[c]).store===e&&u.selector===t&&Object.is(u.a1,i)&&Object.is(u.a2,o)&&Object.is(u.a3,s)||(u.store!==e&&(a.didChangeStore=!0),u.store=e,u.selector=t,u.a1=i,u.a2=o,u.a3=s,u.didChange=!0):(u={store:e,selector:t,a1:i,a2:o,a3:s,value:t(e.getSnapshot(),i,o,s),didChange:!1},a.syncHooks.push(u)),u.value}:function(e,t,n,r,o){return(0,i.useSyncExternalStoreWithSelector)(e.subscribe,e.getSnapshot,e.getSnapshot,e=>t(e,n,r,o))};(0,l.V)({before(e){e.syncIndex=0,e.didInitialize||(e.syncTick=1,e.syncHooks=[],e.didChangeStore=!0,e.getSnapshot=()=>{let t=!1;for(let n=0;n<e.syncHooks.length;n+=1){let r=e.syncHooks[n],i=r.selector(r.store.state,r.a1,r.a2,r.a3);(r.didChange||!Object.is(r.value,i))&&(t=!0,r.value=i,r.didChange=!1)}return t&&(e.syncTick+=1),e.syncTick})},after(e){e.syncHooks.length>0&&(e.didChangeStore&&(e.didChangeStore=!1,e.subscribe=t=>{let n=new Set;for(let t of e.syncHooks)n.add(t.store);let r=[];for(let e of n)r.push(e.subscribe(t));return()=>{for(let e of r)e()}}),(0,r.useSyncExternalStore)(e.subscribe,e.getSnapshot,e.getSnapshot))}});class u{constructor(e){this.state=e,this.listeners=new Set,this.updateTick=0}subscribe=e=>(this.listeners.add(e),()=>{this.listeners.delete(e)});getSnapshot=()=>this.state;setState(e){if(this.state===e)return;this.state=e,this.updateTick+=1;let t=this.updateTick;for(let n of this.listeners){if(t!==this.updateTick)return;n(e)}}update(e){for(let t in e)if(!Object.is(this.state[t],e[t]))return void this.setState({...this.state,...e})}set(e,t){Object.is(this.state[e],t)||this.setState({...this.state,[e]:t})}notifyAll(){let e={...this.state};this.setState(e)}use(e,t,n,r){return s(this,e,t,n,r)}}var a=e.i(676477),c=e.i(500977),f=e.i(417514);class d extends u{constructor(e,t={},n){super(e),this.context=t,this.selectors=n}useSyncedValue(e,t){n.useDebugValue(e),(0,c.f)(()=>{this.state[e]!==t&&this.set(e,t)},[e,t])}useSyncedValueWithCleanup(e,t){let n=this;(0,c.f)(()=>(n.state[e]!==t&&n.set(e,t),()=>{n.set(e,void 0)}),[n,e,t])}useSyncedValues(e){let t=this,n=Object.values(e);(0,c.f)(()=>{t.update(e)},[t,...n])}useControlledProp(e,t){n.useDebugValue(e);let r=void 0!==t;(0,c.f)(()=>{r&&!Object.is(this.state[e],t)&&super.setState({...this.state,[e]:t})},[e,t,r])}select(e,t,n,r){return(0,this.selectors[e])(this.state,t,n,r)}useState(e,t,r,i){return n.useDebugValue(e),s(this,this.selectors[e],t,r,i)}useContextCallback(e,t){n.useDebugValue(e);let r=(0,a.f)(t??f.x);this.context[e]=r}useStateSetter(e){let t=n.useRef(void 0);return void 0===t.current&&(t.current=t=>{this.set(e,t)}),t.current}observe(e,t){let n,r=(n="function"==typeof e?e:this.selectors[e])(this.state);return t(r,r,this),this.subscribe(e=>{let i=n(e);if(!Object.is(r,i)){let e=r;r=i,t(i,e,this)}})}}e.s(["f",0,d],598263);var p=e.i(216385),h=e.i(282033);let g={open:(0,t.f)(e=>e.open),domReferenceElement:(0,t.f)(e=>e.domReferenceElement),referenceElement:(0,t.f)(e=>e.positionReference??e.referenceElement),floatingElement:(0,t.f)(e=>e.floatingElement),floatingId:(0,t.f)(e=>e.floatingId)};e.s(["f",0,class extends d{constructor(e){let{nested:t,noEmit:n,onOpenChange:r,triggerElements:i,...o}=e;super({...o,positionReference:o.referenceElement,domReferenceElement:o.referenceElement},{onOpenChange:r,dataRef:{current:{}},events:(0,p.f)(),nested:t,noEmit:n,triggerElements:i},g)}setOpen=(e,t)=>{if((!e||!this.state.open||(0,h.D)(t.event))&&(this.context.dataRef.current.openEvent=e?t.event:void 0),!this.context.noEmit){let n={open:e,reason:t.reason,nativeEvent:t.event,nested:this.context.nested,triggerElement:t.trigger};this.context.events.emit("openchange",n)}this.context.onOpenChange?.(e,t)}}],524019)},151665,216385,505671,e=>{"use strict";var t=e.i(651023),n=e.i(383799),r=e.i(500977),i=e.i(630628);function o(){let e=new Map;return{emit(t,n){e.get(t)?.forEach(e=>e(n))},on(t,n){e.has(t)||e.set(t,new Set),e.get(t).add(n)},off(t,n){e.get(t)?.delete(n)}}}e.s(["f",0,o],216385);class l{nodesRef={current:[]};events=o();addNode(e){this.nodesRef.current.push(e)}removeNode(e){let t=this.nodesRef.current.findIndex(t=>t===e);-1!==t&&this.nodesRef.current.splice(t,1)}}e.s(["f",0,l],505671);var s=e.i(974265);let u=t.createContext(null),a=t.createContext(null),c=()=>t.useContext(u)?.id||null,f=e=>{let n=t.useContext(a);return e??n};e.s(["s",0,function(e){let{children:n,id:r}=e,i=c();return(0,s.jsx)(u.Provider,{value:t.useMemo(()=>({id:r,parentId:i}),[r,i]),children:n})},"V",0,function(e){let{children:t,externalTree:n}=e,r=(0,i.f)(()=>n??new l).current;return(0,s.jsx)(a.Provider,{value:r,children:t})},"T",0,function(e){let t=(0,n.f)(),i=f(e),o=c();return(0,r.f)(()=>{if(!t)return;let e={id:t,parentId:o};return i?.addNode(e),()=>{i?.removeNode(e)}},[i,t,o]),t},"G",0,c,"$",0,f],151665)},933605,789633,e=>{"use strict";var t=e.i(651023),n=e.i(229315),r=e.i(566745),i=e.i(676477),o=e.i(290219),l=e.i(247857),s=e.i(282033),u=e.i(587612),a=e.i(151665),c=e.i(5963),f=e.i(258563),d=e.i(629361),p=e.i(133022),h=e.i(132652);let g={intentional:"onClick",sloppy:"onPointerDown"};function m(){return!1}e.s(["f",0,function(e,v={}){let y="rootStore"in e?e.rootStore:e,b=y.useState("open"),w=y.useState("floatingElement"),{dataRef:E}=y.context,{enabled:x=!0,escapeKey:S=!0,outsidePress:R=!0,outsidePressEvent:T="sloppy",referencePress:C=m,referencePressEvent:O="sloppy",bubbles:P,externalTree:I}=v,A=(0,a.$)(I),k=(0,i.f)("function"==typeof R?R:()=>!1),M="function"==typeof R?k:R,L=!1!==M,D=(0,i.f)(()=>T),$=t.useRef(!1),j=t.useRef(!1),V=t.useRef(!1),{escapeKey:H,outsidePress:N}={escapeKey:"boolean"==typeof P?P:P?.escapeKey??!1,outsidePress:"boolean"==typeof P?P:P?.outsidePress??!0},B=t.useRef(null),_=(0,r.e)(),W=(0,r.e)(),F=(0,i.f)(()=>{W.clear(),E.current.insideReactTree=!1}),q=t.useRef(!1),K=t.useRef(""),z=(0,i.f)(C),U=(0,i.f)(e=>{if(!b||!x||!S||"Escape"!==e.key||q.current)return;let t=E.current.floatingContext?.nodeId,n=A?(0,u.Q)(A.nodesRef.current,t):[];if(!H&&n.length>0){let e=!0;if(n.forEach(t=>{t.context?.open&&!t.context.dataRef.current.__escapeKeyBubbles&&(e=!1)}),!e)return}let r=(0,s.M)(e)?e.nativeEvent:e,i=(0,c.f)(f.f.escapeKey,r);y.setOpen(!1,i),H||i.isPropagationAllowed||e.stopPropagation()}),Z=(0,i.f)(()=>{E.current.insideReactTree=!0,W.start(0,F)});t.useEffect(()=>{if(!b||!x)return;E.current.__escapeKeyBubbles=H,E.current.__outsidePressBubbles=N;let e=new r.U,t=new r.U;function i(){e.clear(),q.current=!0}function s(){e.start(5*!!(0,n.i)(),()=>{q.current=!1})}function a(){V.current=!0,t.start(0,()=>{V.current=!1})}function f(){$.current=!1,j.current=!1}function p(){let e=K.current,t=D(),n="function"==typeof t?t():t;return"string"==typeof n?n:n["pen"!==e&&e?e:"mouse"]}function g(e){let t=E.current.floatingContext?.nodeId,n=A&&(0,u.Q)(A.nodesRef.current,t).some(t=>(0,l.V)(e,t.context?.elements.floating));return(0,l.V)(e,y.select("floatingElement"))||(0,l.V)(e,y.select("domReferenceElement"))||n}function m(e){let r;if("intentional"===(r=p())&&"click"!==e.type||"sloppy"===r&&"click"===e.type||E.current.insideReactTree)return void F();let i=(0,l.Z)(e),s=`[${(0,h.f)("inert")}]`,a=Array.from((0,o.f)(y.select("floatingElement")).querySelectorAll(s)),f=(0,n.m)(i)?i.getRootNode():null;(0,n.R)(f)&&(a=a.concat(Array.from(f.querySelectorAll(s))));let m=y.context.triggerElements;if(i&&(m.hasElement(i)||m.hasMatchingElement(e=>(0,l.I)(e,i))))return;let v=(0,n.m)(i)?i:null;for(;v&&!(0,n.Z)(v);){let e=(0,n.J)(v);if((0,n.Z)(e)||!(0,n.m)(e))break;v=e}if(a.length&&(0,n.m)(i)&&!(0,l.W)(i)&&!(0,l.I)(i,y.select("floatingElement"))&&a.every(e=>!(0,l.I)(v,e)))return;if((0,n.E)(i)&&!("touches"in e)){let t=(0,n.Z)(i),r=(0,n.X)(i),o=/auto|scroll/,l=t||o.test(r.overflowX),s=t||o.test(r.overflowY),u=l&&i.clientWidth>0&&i.scrollWidth>i.clientWidth,a=s&&i.clientHeight>0&&i.scrollHeight>i.clientHeight,c="rtl"===r.direction,f=a&&(c?e.offsetX<=i.offsetWidth-i.clientWidth:e.offsetX>i.clientWidth),d=u&&e.offsetY>i.clientHeight;if(f||d)return}if(g(e))return;if("intentional"===p()&&V.current){t.clear(),V.current=!1;return}if("function"==typeof M&&!M(e))return;let b=E.current.floatingContext?.nodeId,w=A?(0,u.Q)(A.nodesRef.current,b):[];if(w.length>0){let e=!0;if(w.forEach(t=>{t.context?.open&&!t.context.dataRef.current.__outsidePressBubbles&&(e=!1)}),!e)return}y.setOpen(!1,(0,c.f)(d.f.outsidePress,e)),F()}function v(e){K.current="touch";let t=(0,l.Z)(e);t?.addEventListener(e.type,function n(){!function(e){if("sloppy"!==p()||!y.select("open")||!x||(0,l.V)(e,y.select("floatingElement"))||(0,l.V)(e,y.select("domReferenceElement")))return;let t=e.touches[0];t&&(B.current={startTime:Date.now(),startX:t.clientX,startY:t.clientY,dismissOnTouchEnd:!1,dismissOnMouseDown:!0},_.start(1e3,()=>{B.current&&(B.current.dismissOnTouchEnd=!1,B.current.dismissOnMouseDown=!1)}))}(e),t?.removeEventListener(e.type,n)})}function R(e){if(_.clear(),"pointerdown"===e.type&&(K.current=e.pointerType),"mousedown"===e.type&&B.current&&!B.current.dismissOnMouseDown)return;let t=(0,l.Z)(e);t?.addEventListener(e.type,function n(){if("pointerdown"===e.type)"sloppy"!==p()||"touch"===e.pointerType||!y.select("open")||!x||(0,l.V)(e,y.select("floatingElement"))||(0,l.V)(e,y.select("domReferenceElement"))||m(e);else m(e);t?.removeEventListener(e.type,n)})}function T(e){if(!$.current)return;let n=j.current;if(f(),"intentional"===p()){if("pointercancel"===e.type){n&&a();return}g(e)||(n?a():("function"!=typeof M||M(e))&&(t.clear(),V.current=!0,F()))}}function C(e){let t=(0,l.Z)(e);t?.addEventListener(e.type,function n(){!function(e){if("sloppy"!==p()||!B.current||(0,l.V)(e,y.select("floatingElement"))||(0,l.V)(e,y.select("domReferenceElement")))return;let t=e.touches[0];if(!t)return;let n=Math.abs(t.clientX-B.current.startX),r=Math.abs(t.clientY-B.current.startY),i=Math.sqrt(n*n+r*r);i>5&&(B.current.dismissOnTouchEnd=!0),i>10&&(m(e),_.clear(),B.current=null)}(e),t?.removeEventListener(e.type,n)})}function O(e){let t=(0,l.Z)(e);t?.addEventListener(e.type,function n(){"sloppy"!==p()||!B.current||(0,l.V)(e,y.select("floatingElement"))||(0,l.V)(e,y.select("domReferenceElement"))||(B.current.dismissOnTouchEnd&&m(e),_.clear(),B.current=null),t?.removeEventListener(e.type,n)})}let P=(0,o.f)(w);return S&&(P.addEventListener("keydown",U),P.addEventListener("compositionstart",i),P.addEventListener("compositionend",s)),L&&(P.addEventListener("click",R,!0),P.addEventListener("pointerdown",R,!0),P.addEventListener("pointerup",T,!0),P.addEventListener("pointercancel",T,!0),P.addEventListener("mousedown",R,!0),P.addEventListener("mouseup",T,!0),P.addEventListener("touchstart",v,!0),P.addEventListener("touchmove",C,!0),P.addEventListener("touchend",O,!0)),()=>{S&&(P.removeEventListener("keydown",U),P.removeEventListener("compositionstart",i),P.removeEventListener("compositionend",s)),L&&(P.removeEventListener("click",R,!0),P.removeEventListener("pointerdown",R,!0),P.removeEventListener("pointerup",T,!0),P.removeEventListener("pointercancel",T,!0),P.removeEventListener("mousedown",R,!0),P.removeEventListener("mouseup",T,!0),P.removeEventListener("touchstart",v,!0),P.removeEventListener("touchmove",C,!0),P.removeEventListener("touchend",O,!0)),e.clear(),t.clear(),f(),V.current=!1}},[E,w,S,L,M,b,x,H,N,U,F,D,A,y,_]),t.useEffect(F,[M,F]);let X=t.useMemo(()=>({onKeyDown:U,[g[O]]:e=>{z()&&y.setOpen(!1,(0,c.f)(p.f.triggerPress,e.nativeEvent))},..."intentional"!==O&&{onClick(e){z()&&y.setOpen(!1,(0,c.f)(p.f.triggerPress,e.nativeEvent))}}}),[U,y,O,z]),J=(0,i.f)(e=>{if(!b||!x||0!==e.button)return;let t=(0,l.Z)(e.nativeEvent);(0,l.I)(y.select("floatingElement"),t)&&($.current||($.current=!0,j.current=!1))}),Q=(0,i.f)(e=>{!b||!x||(e.defaultPrevented||e.nativeEvent.defaultPrevented)&&$.current&&(j.current=!0)}),Y=t.useMemo(()=>({onKeyDown:U,onPointerDown:Q,onMouseDown:Q,onClickCapture:Z,onMouseDownCapture(e){Z(),J(e)},onPointerDownCapture(e){Z(),J(e)},onMouseUpCapture:Z,onTouchEndCapture:Z,onTouchMoveCapture:Z}),[U,Z,J,Q]);return t.useMemo(()=>x?{reference:X,floating:Y,trigger:X}:{},[x,X,Y])}],933605);var v=e.i(494);function y(e,t,n){let r=new Map,i="item"===n,o={};for(let t in"floating"===n&&(o.tabIndex=-1,o[v.Q]=""),e)i&&e&&(t===v.U||t===v.g)||(o[t]=e[t]);for(let l=0;l<t.length;l+=1){let s,u=t[l]?.[n];(s="function"==typeof u?e?u(e):null:u)&&b(o,s,i,r)}return b(o,e,i,r),o}function b(e,t,n,r){for(let i in t){let o=t[i];n&&(i===v.U||i===v.g)||(i.startsWith("on")?(r.has(i)||r.set(i,[]),"function"==typeof o&&(r.get(i)?.push(o),e[i]=(...e)=>r.get(i)?.map(t=>t(...e)).find(e=>void 0!==e))):e[i]=o)}}e.s(["f",0,function(e=[]){let n=e.map(e=>e?.reference),r=e.map(e=>e?.floating),i=e.map(e=>e?.item),o=e.map(e=>e?.trigger),l=t.useCallback(t=>y(t,e,"reference"),n),s=t.useCallback(t=>y(t,e,"floating"),r),u=t.useCallback(t=>y(t,e,"item"),i),a=t.useCallback(t=>y(t,e,"trigger"),o);return t.useMemo(()=>({getReferenceProps:l,getFloatingProps:s,getItemProps:u,getTriggerProps:a}),[l,s,u,a])}],789633)},68722,579144,680097,362747,e=>{"use strict";var t=e.i(651023),n=e.i(258950),r=e.i(229315),i=e.i(500977),o=e.i(151665),l=e.i(383799),s=e.i(630628),u=e.i(524019),a=e.i(769375);e.s(["f",0,function(e={}){let{nodeId:c,externalTree:f}=e,d=function(e){let{open:t=!1,onOpenChange:n,elements:c={}}=e,f=(0,l.f)(),d=null!=(0,o.G)(),p=(0,s.f)(()=>new u.f({open:t,onOpenChange:n,referenceElement:c.reference??null,floatingElement:c.floating??null,triggerElements:new a.f,floatingId:f,nested:d,noEmit:!1})).current;return(0,i.f)(()=>{let e={open:t,floatingId:f};void 0!==c.reference&&(e.referenceElement=c.reference,e.domReferenceElement=(0,r.m)(c.reference)?c.reference:null),void 0!==c.floating&&(e.floatingElement=c.floating),p.update(e)},[t,f,c.reference,c.floating,p]),p.context.onOpenChange=n,p.context.nested=d,p.context.noEmit=!1,p}(e),p=e.rootContext||d,h={reference:p.useState("referenceElement"),floating:p.useState("floatingElement"),domReference:p.useState("domReferenceElement")},[g,m]=t.useState(null),v=t.useRef(null),y=(0,o.$)(f);(0,i.f)(()=>{h.domReference&&(v.current=h.domReference)},[h.domReference]);let b=(0,n.E)({...e,elements:{...h,...g&&{reference:g}}}),w=t.useCallback(e=>{let t=(0,r.m)(e)?{getBoundingClientRect:()=>e.getBoundingClientRect(),getClientRects:()=>e.getClientRects(),contextElement:e}:e;m(t),b.refs.setReference(t)},[b.refs]),[E,x]=t.useState(null),[S,R]=t.useState(null);p.useSyncedValue("referenceElement",E),p.useSyncedValue("domReferenceElement",(0,r.m)(E)?E:null),p.useSyncedValue("floatingElement",S);let T=t.useCallback(e=>{((0,r.m)(e)||null===e)&&(v.current=e,x(e)),((0,r.m)(b.refs.reference.current)||null===b.refs.reference.current||null!==e&&!(0,r.m)(e))&&b.refs.setReference(e)},[b.refs,x]),C=t.useCallback(e=>{R(e),b.refs.setFloating(e)},[b.refs]),O=t.useMemo(()=>({...b.refs,setReference:T,setFloating:C,setPositionReference:w,domReference:v}),[b.refs,T,C,w]),P=t.useMemo(()=>({...b.elements,domReference:h.domReference}),[b.elements,h.domReference]),I=p.useState("open"),A=p.useState("floatingId"),k=t.useMemo(()=>({...b,dataRef:p.context.dataRef,open:I,onOpenChange:p.setOpen,events:p.context.events,floatingId:A,refs:O,elements:P,nodeId:c,rootStore:p}),[b,O,P,c,p,I,A]);return(0,i.f)(()=>{p.context.dataRef.current.floatingContext=k;let e=y?.nodesRef.current.find(e=>e.id===c);e&&(e.context=k)}),t.useMemo(()=>({...b,context:k,refs:O,elements:P,rootStore:p}),[b,O,P,k,p])}],68722);let c=t.createContext(void 0);e.s(["f",0,function(){let e=t.useContext(c);return e?.direction??"ltr"}],579144);var f=e.i(343084);e.s(["f",0,(e,t)=>({...{name:"arrow",options:e,async fn(t){let{x:n,y:r,placement:i,rects:o,platform:l,elements:s,middlewareData:u}=t,{element:a,padding:c=0,offsetParent:d="real"}=(0,f.h)(e,t)||{};if(null==a)return{};let p=(0,f.j)(c),h={x:n,y:r},g=(0,f.i)(i),m=(0,f.T)(g),v=await l.getDimensions(a),y="y"===g,b=y?"clientHeight":"clientWidth",w=o.reference[m]+o.reference[g]-h[g]-o.floating[m],E=h[g]-o.reference[g],x="real"===d?await l.getOffsetParent?.(a):s.floating,S=s.floating[b]||o.floating[m];S&&await l.isElement?.(x)||(S=s.floating[b]||o.floating[m]);let R=S/2-v[m]/2-1,T=Math.min(p[y?"top":"left"],R),C=Math.min(p[y?"bottom":"right"],R),O=S-v[m]-C,P=S/2-v[m]/2+(w/2-E/2),I=(0,f.O)(T,P,O),A=!u.arrow&&null!=(0,f.R)(i)&&P!==I&&o.reference[m]/2-(P<T?T:C)-v[m]/2<0,k=A?P<T?P-T:P-O:0;return{[g]:h[g]+k,data:{[g]:I,centerOffset:P-I-k,...A&&{alignmentOffset:k}},reset:A}}},options:[e,t]})],680097),e.s(["f",0,{name:"hide",async fn(e){let{width:t,height:r,x:i,y:o}=e.rects.reference,l=await (0,n.c)().fn(e);return{data:{referenceHidden:l.data?.referenceHidden||0===t&&0===r&&0===i&&0===o}}}}],362747)},761896,e=>{"use strict";var t=e.i(651023),n=e.i(229315),r=e.i(676477),i=e.i(500977),o=e.i(566745),l=e.i(290219),s=e.i(587612),u=e.i(247857),a=e.i(5963),c=e.i(245060),f=e.i(151665),d=e.i(469667),p=e.i(769356);e.s(["f",0,function(e,h={}){let g="rootStore"in e?e.rootStore:e,m=g.useState("open"),v=g.useState("floatingElement"),y=g.useState("domReferenceElement"),{dataRef:b}=g.context,{enabled:w=!0,closeDelay:E=0}=h,x=(0,d.s)(g),S=(0,f.$)(),R=(0,f.G)(),T=(0,r.f)(()=>(0,p.a)(b.current.openEvent?.type,x.interactedInside)),C=(0,r.f)(()=>{let e=b.current.openEvent?.type;return e?.includes("mouse")&&"mousedown"!==e}),O=(0,r.f)(e=>(0,u.x)(e,g.context.triggerElements)),P=t.useCallback(e=>{let t=(0,p.c)(E,"close",x.pointerType),n=()=>{g.setOpen(!1,(0,a.f)(c.f.triggerHover,e)),S?.events.emit("floating.closed",e)};t?x.openChangeTimeout.start(t,n):(x.openChangeTimeout.clear(),n())},[E,g,x,S]),I=(0,r.f)(()=>{(0,d.O)(x)}),A=(0,r.f)(e=>{let t=(0,u.Z)(e);if(!(0,d.W)(t)){x.interactedInside=!1;return}x.interactedInside=t?.closest("[aria-haspopup]")!=null});(0,i.f)(()=>{m||(x.pointerType=void 0,x.restTimeoutPending=!1,x.interactedInside=!1,I())},[m,x,I]),t.useEffect(()=>I,[I]),(0,i.f)(()=>{if(w&&m&&x.handleCloseOptions?.blockPointerEvents&&C()&&(0,n.m)(y)&&v){let e=(0,l.f)(v),t=S?.nodesRef.current.find(e=>e.id===R)?.context?.elements.floating;t&&(t.style.pointerEvents="");let n=x.handleCloseOptions?.getScope?.()??x.pointerEventsScopeElement??t??y.closest("[data-rootownerid]")??e.body;return(0,d.p)(x,{scopeElement:n,referenceElement:y,floatingElement:v}),()=>{I()}}},[w,m,y,v,x,C,S,R,I]);let k=(0,o.e)();t.useEffect(()=>{if(w)return v&&(v.addEventListener("mouseenter",e),v.addEventListener("mouseleave",t),v.addEventListener("pointerdown",A,!0)),()=>{v&&(v.removeEventListener("mouseenter",e),v.removeEventListener("mouseleave",t),v.removeEventListener("pointerdown",A,!0)),S?.events.off("floating.closed",n)};function e(){x.openChangeTimeout.clear(),k.clear(),S?.events.off("floating.closed",n),I()}function t(e){if(S&&R&&(0,s.Q)(S.nodesRef.current,R).length>0)return void S.events.on("floating.closed",n);if(!O(e.relatedTarget)){if(x.handler)return void x.handler(e);I(),T()||P(e)}}function n(e){S&&R&&!((0,s.Q)(S.nodesRef.current,R).length>0)&&k.start(0,()=>{S.events.off("floating.closed",n),g.setOpen(!1,(0,a.f)(c.f.triggerHover,e)),S.events.emit("floating.closed",e)})}},[w,v,g,b,T,O,P,I,A,x,S,R,k])}])},469667,e=>{"use strict";var t=e.i(294365),n=e.i(630628),r=e.i(566745),i=e.i(494);let o=`button,a,[role="button"],select,[tabindex]:not([tabindex="-1"]),${i.n}`;class l{constructor(){this.pointerType=void 0,this.interactedInside=!1,this.handler=void 0,this.blockMouseMove=!0,this.performedPointerEventsMutation=!1,this.pointerEventsScopeElement=null,this.pointerEventsReferenceElement=null,this.pointerEventsFloatingElement=null,this.restTimeoutPending=!1,this.openChangeTimeout=new r.U,this.restTimeout=new r.U,this.handleCloseOptions=void 0}static create(){return new l}dispose=()=>{this.openChangeTimeout.clear(),this.restTimeout.clear()};disposeEffect=()=>this.dispose}function s(e){e.performedPointerEventsMutation&&(e.pointerEventsScopeElement?.style.removeProperty("pointer-events"),e.pointerEventsReferenceElement?.style.removeProperty("pointer-events"),e.pointerEventsFloatingElement?.style.removeProperty("pointer-events"),e.performedPointerEventsMutation=!1,e.pointerEventsScopeElement=null,e.pointerEventsReferenceElement=null,e.pointerEventsFloatingElement=null)}e.s(["p",0,function(e,t){let{scopeElement:n,referenceElement:r,floatingElement:i}=t;s(e),e.performedPointerEventsMutation=!0,e.pointerEventsScopeElement=n,e.pointerEventsReferenceElement=r,e.pointerEventsFloatingElement=i,n.style.pointerEvents="none",r.style.pointerEvents="auto",i.style.pointerEvents="auto"},"O",0,s,"W",0,function(e){return!!e&&!!e.closest(o)},"s",0,function(e){let r=(0,n.f)(l.create).current,i=e.context.dataRef.current;return i.hoverInteractionState||(i.hoverInteractionState=r),(0,t.f)(i.hoverInteractionState.disposeEffect),i.hoverInteractionState}])},397254,e=>{"use strict";var t=e.i(651023),n=e.i(345808),r=e.i(229315),i=e.i(400231),o=e.i(676477),l=e.i(290219),s=e.i(247857),u=e.i(282033),a=e.i(5963),c=e.i(245060),f=e.i(151665),d=e.i(469667),p=e.i(769356);let h={current:null};e.s(["f",0,function(e,g={}){let m="rootStore"in e?e.rootStore:e,{dataRef:v,events:y}=m.context,{enabled:b=!0,delay:w=0,handleClose:E=null,mouseOnly:x=!1,restMs:S=0,move:R=!0,triggerElementRef:T=h,externalTree:C,isActiveTrigger:O=!0,getHandleCloseContext:P}=g,I=(0,f.$)(C),A=(0,d.s)(m),k=(0,i.f)(E),M=(0,i.f)(w),L=(0,i.f)(S),D=(0,i.f)(b);O&&(A.handleCloseOptions=k.current?.__options);let $=(0,o.f)(()=>(0,p.a)(v.current.openEvent?.type,A.interactedInside)),j=(0,o.f)(e=>(0,s.x)(e,m.context.triggerElements)),V=(0,o.f)((e,t,n)=>{let i=m.context.triggerElements;return i.hasElement(t)?!e||!(0,s.I)(e,t):!!(0,r.m)(n)&&i.hasMatchingElement(e=>(0,s.I)(e,n))&&(!e||!(0,s.I)(e,n))}),H=t.useCallback((e,t=!0)=>{let n=(0,p.c)(M.current,"close",A.pointerType);n?A.openChangeTimeout.start(n,()=>{m.setOpen(!1,(0,a.f)(c.f.triggerHover,e)),I?.events.emit("floating.closed",e)}):t&&(A.openChangeTimeout.clear(),m.setOpen(!1,(0,a.f)(c.f.triggerHover,e)),I?.events.emit("floating.closed",e))},[M,m,A,I]),N=(0,o.f)(()=>{A.handler&&((0,l.f)(m.select("domReferenceElement")).removeEventListener("mousemove",A.handler),A.handler=void 0)});t.useEffect(()=>N,[N]);let B=(0,o.f)(()=>{(0,d.O)(A)});return t.useEffect(()=>{if(b)return y.on("openchange",e),()=>{y.off("openchange",e)};function e(e){e.open||(N(),A.openChangeTimeout.clear(),A.restTimeout.clear(),A.blockMouseMove=!0,A.restTimeoutPending=!1)}},[b,y,A,N]),t.useEffect(()=>{if(!b)return;let e=T.current??(O?m.select("domReferenceElement"):null);if((0,r.m)(e))return R&&e.addEventListener("mousemove",t,{once:!0}),e.addEventListener("mouseenter",t),e.addEventListener("mouseleave",n),()=>{R&&e.removeEventListener("mousemove",t),e.removeEventListener("mouseenter",t),e.removeEventListener("mouseleave",n)};function t(e){if(A.openChangeTimeout.clear(),A.blockMouseMove=!1,x&&!(0,u.J)(A.pointerType)||(0,p.Z)(L.current)>0&&!(0,p.c)(M.current,"open"))return;let t=(0,p.c)(M.current,"open",A.pointerType),n=e.currentTarget??null,r=m.select("domReferenceElement"),i=null!=n&&V(r,n,e.target),o=m.select("open"),l=!o||i;i&&o?m.setOpen(!0,(0,a.f)(c.f.triggerHover,e,n)):t?A.openChangeTimeout.start(t,()=>{l&&m.setOpen(!0,(0,a.f)(c.f.triggerHover,e,n))}):l&&m.setOpen(!0,(0,a.f)(c.f.triggerHover,e,n))}function n(e){if($())return void B();N();let t=m.select("domReferenceElement"),n=(0,l.f)(t);A.restTimeout.clear(),A.restTimeoutPending=!1;let r=v.current.floatingContext??P?.();if(!j(e.relatedTarget)){if(k.current&&r){m.select("open")||A.openChangeTimeout.clear();let t=T.current;A.handler=k.current({...r,tree:I,x:e.clientX,y:e.clientY,onClose(){B(),N(),D.current&&!$()&&t===m.select("domReferenceElement")&&H(e,!0)}}),n.addEventListener("mousemove",A.handler),A.handler(e);return}"touch"===A.pointerType&&(0,s.I)(m.select("floatingElement"),e.relatedTarget)||H(e)}}},[N,B,v,M,H,m,b,k,A,O,V,$,j,x,R,L,T,I,D,P]),t.useMemo(()=>{if(b)return{onPointerDown:e,onPointerEnter:e,onMouseMove(e){let{nativeEvent:t}=e,r=e.currentTarget,i=m.select("domReferenceElement"),o=m.select("open"),l=V(i,r,e.target);if(x&&!(0,u.J)(A.pointerType))return;let s=(0,p.Z)(L.current);function f(){if(A.restTimeoutPending=!1,$())return;let e=m.select("open");A.blockMouseMove||e&&!l||m.setOpen(!0,(0,a.f)(c.f.triggerHover,t,r))}(!o||l)&&0!==s&&(!l&&A.restTimeoutPending&&e.movementX**2+e.movementY**2<2||(A.restTimeout.clear(),"touch"===A.pointerType?n.flushSync(()=>{f()}):l&&o?f():(A.restTimeoutPending=!0,A.restTimeout.start(s,f))))}};function e(e){A.pointerType=e.pointerType}},[b,A,$,V,x,m,L])}])},769356,e=>{"use strict";var t=e.i(282033);e.s(["c",0,function(e,n,r){let i=null==r||(0,t.J)(r)?"function"==typeof e?e():e:0;return"number"==typeof i?i:i?.[n]},"Z",0,function(e){return"function"==typeof e?e():e},"a",0,function(e,t){return t||"click"===e||"mousedown"===e}])},206157,e=>{"use strict";var t=e.i(383799),n=e.i(630628),r=e.i(500977),i=e.i(229315),o=e.i(151665),l=e.i(524019);e.s(["f",0,function(e){let{popupStore:s,noEmit:u=!1,treatPopupAsFloatingElement:a=!1,onOpenChange:c}=e,f=(0,t.f)(),d=null!=(0,o.G)(),p=s.useState("open"),h=s.useState("activeTriggerElement"),g=s.useState(a?"popupElement":"positionerElement"),m=s.context.triggerElements,v=(0,n.f)(()=>new l.f({open:p,referenceElement:h,floatingElement:g,triggerElements:m,onOpenChange:c,floatingId:f,nested:d,noEmit:u})).current;return(0,r.f)(()=>{let e={open:p,floatingId:f,referenceElement:h,floatingElement:g};(0,i.m)(h)&&(e.domReferenceElement=h),v.state.positionReference===v.state.referenceElement&&(e.positionReference=h),v.update(e)},[p,f,h,g,v]),v.context.onOpenChange=c,v.context.nested=d,v.context.noEmit=u,v}])},437287,e=>{"use strict";var t=e.i(229315),n=e.i(566745),r=e.i(247857),i=e.i(587612);let o=.1*.1;function l(e,t,n,r,i,o){return r>=t!=o>=t&&e<=(i-n)*(t-r)/(o-r)+n}function s(e,t,n,r,i,o,s,u,a,c){let f=!1;return l(e,t,n,r,i,o)&&(f=!f),l(e,t,i,o,s,u)&&(f=!f),l(e,t,s,u,a,c)&&(f=!f),l(e,t,a,c,n,r)&&(f=!f),f}function u(e,t,n,r,i,o){let l=Math.min(n,i),s=Math.max(n,i),u=Math.min(r,o),a=Math.max(r,o);return e>=l&&e<=s&&t>=u&&t<=a}e.s(["f",0,function(e={}){let{blockPointerEvents:l=!1}=e,a=new n.U,c=({x:e,y:n,placement:l,elements:c,onClose:f,nodeId:d,tree:p})=>{let h=l?.split("-")[0],g=!1,m=null,v=null,y="u">typeof performance?performance.now():0;return function(l){a.clear();let b=c.domReference,w=c.floating;if(!b||!w||null==h||null==e||null==n)return;let{clientX:E,clientY:x}=l,S=(0,r.Z)(l),R="mouseleave"===l.type,T=(0,r.I)(w,S),C=(0,r.I)(b,S);if(T&&(g=!0,!R))return;if(C&&(g=!1,!R)){g=!0;return}if(R&&(0,t.m)(l.relatedTarget)&&(0,r.I)(w,l.relatedTarget))return;function O(){return!!(p&&(0,i.Q)(p.nodesRef.current,d).length>0)}function P(){O()||(a.clear(),f())}if(O())return;let I=b.getBoundingClientRect(),A=w.getBoundingClientRect(),k=e>A.right-A.width/2,M=n>A.bottom-A.height/2,L=A.width>I.width,D=A.height>I.height,$=(L?I:A).left,j=(L?I:A).right,V=(D?I:A).top,H=(D?I:A).bottom;if("top"===h&&n>=I.bottom-1||"bottom"===h&&n<=I.top+1||"left"===h&&e>=I.right-1||"right"===h&&e<=I.left+1)return void P();let N=!1;switch(h){case"top":N=u(E,x,$,I.top+1,j,A.bottom-1);break;case"bottom":N=u(E,x,$,A.top+1,j,I.bottom-1);break;case"left":N=u(E,x,A.right-1,H,I.left+1,V);break;case"right":N=u(E,x,I.right-1,H,A.left+1,V)}if(N)return;if(g&&(!(E>=I.x)||!(E<=I.x+I.width)||!(x>=I.y)||!(x<=I.y+I.height))||!R&&function(e,t){let n=performance.now(),r=n-y;if(null===m||null===v||0===r)return m=e,v=t,y=n,!1;let i=e-m,l=t-v;return m=e,v=t,y=n,i*i+l*l<r*r*o}(E,x))return void P();let B=!1;switch(h){case"top":{let t=L?.25:2,r=n+.5+1,i=k||L?A.bottom-.5:A.top,o=k?L?A.bottom-.5:A.top:A.bottom-.5;B=s(E,x,L||k?e+t:e-t,r,L?e-t:k?e+t:e-t,r,A.left,i,A.right,o);break}case"bottom":{let t=L?.25:2,r=n-.5,i=k||L?A.top+.5:A.bottom,o=k?L?A.top+.5:A.bottom:A.top+.5;B=s(E,x,L||k?e+t:e-t,r,L?e-t:k?e+t:e-t,r,A.left,i,A.right,o);break}case"left":{let t=D?.25:2,r=e+.5+1,i=M||D?A.right-.5:A.left,o=M?D?A.right-.5:A.left:A.right-.5;B=s(E,x,i,A.top,o,A.bottom,r,D||M?n+t:n-t,r,D?n-t:M?n+t:n-t);break}case"right":{let t=D?.25:2,r=e-.5,i=M||D?A.left+.5:A.right,o=M?D?A.left+.5:A.right:A.left+.5;B=s(E,x,r,D||M?n+t:n-t,r,D?n-t:M?n+t:n-t,i,A.top,o,A.bottom)}}B?g||a.start(40,P):P()}};return c.__options={blockPointerEvents:l},c}])},132652,e=>{"use strict";e.s(["f",0,function(e){return`data-base-ui-${e}`}])},247857,494,282033,e=>{"use strict";var t=e.i(229315),n=e.i(757666);let r="data-base-ui-focusable",i="input:not([type='hidden']):not([disabled]),[contenteditable]:not([contenteditable='false']),textarea:not([disabled])";function o(e,n){if(!e||!n)return!1;let r=n.getRootNode?.();if(e.contains(n))return!0;if(r&&(0,t.R)(r)){let t=n;for(;t;){if(e===t)return!0;t=t.parentNode||t.host}}return!1}function l(e){return(0,t.E)(e)&&e.matches(i)}e.s(["U",0,"active","e",0,"ArrowDown","b",0,"ArrowLeft","q",0,"ArrowRight","V",0,"ArrowUp","Q",0,r,"g",0,"selected","n",0,i],494),e.s(["T",0,function(e){let t=e.activeElement;for(;t?.shadowRoot?.activeElement!=null;)t=t.shadowRoot.activeElement;return t},"I",0,o,"G",0,function(e){return e?e.hasAttribute(r)?e:e.querySelector(`[${r}]`)||e:null},"Z",0,function(e){return"composedPath"in e?e.composedPath()[0]:e.target},"V",0,function(e,t){return null!=t&&("composedPath"in e?e.composedPath().includes(t):null!=e.target&&t.contains(e.target))},"W",0,function(e){return e.matches("html,body")},"x",0,function(e,n){if(!(0,t.m)(e))return!1;if(n.hasElement(e))return!e.hasAttribute("data-trigger-disabled");for(let[,t]of n.entries())if(o(t,e))return!t.hasAttribute("data-trigger-disabled");return!1},"J",0,function(e){return!!e&&"combobox"===e.getAttribute("role")&&l(e)},"Q",0,l,"F",0,function(e){if(!e||n.S)return!0;try{return e.matches(":focus-visible")}catch(e){return!0}}],247857),e.s(["D",0,function(e){let t=e.type;return"click"===t||"mousedown"===t||"keydown"===t||"keyup"===t},"J",0,function(e,t){let n=["mouse","pen"];return t||n.push("",void 0),n.includes(e)},"M",0,function(e){return"nativeEvent"in e},"E",0,function(e){return""===e.pointerType&&!!e.isTrusted||(n.B&&e.pointerType?"click"===e.type&&1===e.buttons:0===e.detail&&!e.pointerType)},"$",0,function(e){return!n.S&&(!n.B&&0===e.width&&0===e.height||n.B&&1===e.width&&1===e.height&&0===e.pressure&&0===e.detail&&"mouse"===e.pointerType||e.width<1&&e.height<1&&0===e.pressure&&0===e.detail&&"touch"===e.pointerType)},"Y",0,function(e){e.preventDefault(),e.stopPropagation()}],282033)},587612,e=>{"use strict";e.s(["V",0,function(e,t){let n=[],r=e.find(e=>e.id===t)?.parentId;for(;r;){let t=e.find(e=>e.id===r);r=t?.parentId,t&&(n=n.concat(t))}return n},"Q",0,function e(t,n,r=!0){return t.filter(e=>e.parentId===n&&(!r||e.context?.open)).flatMap(n=>[n,...e(t,n.id,r)])}])},559266,e=>{"use strict";var t=e.i(397126),n=e.i(290219),r=e.i(247857);let i=()=>({getShadowRoot:!0,displayCheck:"function"==typeof ResizeObserver&&ResizeObserver.toString().includes("[native code]")?"full":"none"});function o(e,o){let l=(0,t.T)(e,i()),s=l.length;if(0===s)return;let u=(0,r.T)((0,n.f)(e)),a=l.indexOf(u);return l[-1===a?1===o?0:s-1:a+o]}function l(e,r){if(!e)return null;let o=(0,t.T)((0,n.f)(e).body,i()),l=o.length;if(0===l)return null;let s=o.indexOf(e);return -1===s?null:o[(s+r+l)%l]}e.s(["r",0,function(e){(0,t.T)(e,i()).forEach(e=>{e.dataset.tabindex=e.getAttribute("tabindex")||"",e.setAttribute("tabindex","-1")})},"d",0,function(e){e.querySelectorAll("[data-tabindex]").forEach(e=>{let t=e.dataset.tabindex;delete e.dataset.tabindex,t?e.setAttribute("tabindex",t):e.removeAttribute("tabindex")})},"O",0,function(e){return o((0,n.f)(e).body,1)||e},"B",0,function(e){return o((0,n.f)(e).body,-1)||e},"W",0,function(e){return l(e,1)},"E",0,function(e){return l(e,-1)},"C",0,i,"A",0,function(e,t){let n=t||e.currentTarget,i=e.relatedTarget;return!i||!(0,r.I)(n,i)}])},672408,e=>{"use strict";var t=e.i(651023),n=e.i(500977),r=e.i(757666);let i={clipPath:"inset(50%)",overflow:"hidden",whiteSpace:"nowrap",border:0,padding:0,width:1,height:1,margin:-1},o={...i,position:"fixed",top:0,left:0};({...i,position:"absolute"});var l=e.i(974265);let s=t.forwardRef(function(e,i){let[s,u]=t.useState();return(0,n.f)(()=>{r.G&&u("button")},[]),(0,l.jsx)("span",{...e,ref:i,style:o,"aria-hidden":!s||void 0,tabIndex:0,role:s,"data-base-ui-focus-guard":""})});e.s(["f",0,s],672408)},607335,e=>{"use strict";e.s(["j",0,"data-base-ui-click-trigger","e",0,{style:{transition:"none"}},"B",0,{fallbackAxisSide:"none"},"K",0,500,"n",0,{fallbackAxisSide:"end"},"g",0,500,"Z",0,{clipPath:"inset(50%)",position:"fixed",top:0,left:0}])},5963,e=>{"use strict";var t=e.i(417514);e.s(["f",0,function(e,n,r,i){let o=!1,l=!1,s=i??t.w;return{reason:e,event:n??new Event("base-ui"),cancel(){o=!0},allowPropagation(){l=!0},get isCanceled(){return o},get isPropagationAllowed(){return l},trigger:r,...s}}])},418847,e=>{"use strict";var t=e.i(607335),n=e.i(417514);e.s(["f",0,function(e){return"starting"===e?t.e:n.w}])},383590,e=>{"use strict";var t,n,r=e.i(284759);let i=((t={}).open="data-open",t.closed="data-closed",t[t.startingStyle=r.S.startingStyle]="startingStyle",t[t.endingStyle=r.S.endingStyle]="endingStyle",t.anchorHidden="data-anchor-hidden",t.side="data-side",t.align="data-align",t),o=((n={}).popupOpen="data-popup-open",n.pressed="data-pressed",n),l={[o.popupOpen]:""},s={[o.popupOpen]:"",[o.pressed]:""},u={[i.open]:""},a={[i.closed]:""},c={[i.anchorHidden]:""};e.s(["Y",0,o,"E",0,{open:e=>e?u:a,anchorHidden:e=>e?c:null},"f",0,{open:e=>e?s:null},"J",0,{open:e=>e?l:null}])},258642,e=>{"use strict";var t=e.i(651023),n=e.i(676477),r=e.i(500977),i=e.i(288841),o=e.i(889269);function l(e,n){let r=t.useRef(null),i=t.useRef(null);return t.useCallback(t=>{if(void 0!==e){if(null!==r.current){let e=r.current,t=i.current,o=n.context.triggerElements.getById(e);t&&o===t&&n.context.triggerElements.delete(e),r.current=null,i.current=null}null!==t&&(r.current=e,i.current=t,n.context.triggerElements.add(e,t))}},[n,e])}e.s(["z",0,function(e){let t=e.useState("open");(0,r.f)(()=>{if(t&&!e.select("activeTriggerId")&&1===e.context.triggerElements.size){let t=e.context.triggerElements.entries().next();if(!t.done){let[n,r]=t.value;e.update({activeTriggerId:n,activeTriggerElement:r})}}},[t,e])},"L",0,function(e,t,r){let{mounted:l,setMounted:s,transitionStatus:u}=(0,i.f)(e);t.useSyncedValues({mounted:l,transitionStatus:u});let a=(0,n.f)(()=>{s(!1),t.update({activeTriggerId:null,activeTriggerElement:null,mounted:!1}),r?.(),t.context.onOpenChangeComplete?.(!1)}),c=t.useState("preventUnmountingOnClose");return(0,o.f)({enabled:!c,open:e,ref:t.context.popupRef,onComplete(){e||a()}}),{forceUnmount:a,transitionStatus:u}},"F",0,function(e,t,i,o){let s=i.useState("isMountedByTrigger",e),u=l(e,i),a=(0,n.f)(t=>{if(u(t),!t||!i.select("open"))return;let n=i.select("activeTriggerId");n===e?i.update({activeTriggerElement:t,...o}):null==n&&i.update({activeTriggerId:e,activeTriggerElement:t,...o})});return(0,r.f)(()=>{s&&i.update({activeTriggerElement:t.current,...o})},[s,i,t,...Object.values(o)]),{registerTrigger:a,isMountedByThisTrigger:s}},"w",0,l])},769375,e=>{"use strict";e.i(189036),e.s(["f",0,class{constructor(){this.elementsSet=new Set,this.idMap=new Map}add(e,t){let n=this.idMap.get(e);n!==t&&(void 0!==n&&this.elementsSet.delete(n),this.elementsSet.add(t),this.idMap.set(e,t))}delete(e){let t=this.idMap.get(e);t&&(this.elementsSet.delete(t),this.idMap.delete(e))}hasElement(e){return this.elementsSet.has(e)}hasMatchingElement(e){for(let t of this.elementsSet)if(e(t))return!0;return!1}getById(e){return this.idMap.get(e)}entries(){return this.idMap.entries()}elements(){return this.elementsSet.values()}get size(){return this.idMap.size}}])},600628,e=>{"use strict";var t=e.i(783921),n=e.i(769375),r=e.i(524019),i=e.i(417514);let o=(0,t.f)(e=>e.triggerIdProp??e.activeTriggerId),l={open:(0,t.f)(e=>e.openProp??e.open),mounted:(0,t.f)(e=>e.mounted),transitionStatus:(0,t.f)(e=>e.transitionStatus),floatingRootContext:(0,t.f)(e=>e.floatingRootContext),preventUnmountingOnClose:(0,t.f)(e=>e.preventUnmountingOnClose),payload:(0,t.f)(e=>e.payload),activeTriggerId:o,activeTriggerElement:(0,t.f)(e=>e.mounted?e.activeTriggerElement:null),isTriggerActive:(0,t.f)((e,t)=>void 0!==t&&o(e)===t),isOpenedByTrigger:(0,t.f)((e,t)=>void 0!==t&&o(e)===t&&e.open),isMountedByTrigger:(0,t.f)((e,t)=>void 0!==t&&o(e)===t&&e.mounted),triggerProps:(0,t.f)((e,t)=>t?e.activeTriggerProps:e.inactiveTriggerProps),popupProps:(0,t.f)(e=>e.popupProps),popupElement:(0,t.f)(e=>e.popupElement),positionerElement:(0,t.f)(e=>e.positionerElement)};e.s(["i",0,function(){return{open:!1,openProp:void 0,mounted:!1,transitionStatus:"idle",floatingRootContext:new r.f({open:!1,floatingElement:null,referenceElement:null,triggerElements:new n.f,floatingId:"",nested:!1,noEmit:!1,onOpenChange:void 0}),preventUnmountingOnClose:!1,payload:void 0,activeTriggerId:null,activeTriggerElement:null,triggerIdProp:void 0,popupElement:null,positionerElement:null,activeTriggerProps:i.w,inactiveTriggerProps:i.w,popupProps:i.w}},"j",0,l],600628)},716162,e=>{"use strict";e.s(["cancelOpen",0,"cancel-open","disabled",0,"disabled","escapeKey",0,"escape-key","focusOut",0,"focus-out","imperativeAction",0,"imperative-action","itemPress",0,"item-press","listNavigation",0,"list-navigation","none",0,"none","outsidePress",0,"outside-press","siblingOpen",0,"sibling-open","triggerFocus",0,"trigger-focus","triggerHover",0,"trigger-hover","triggerPress",0,"trigger-press"])},258563,e=>{"use strict";var t=e.i(716162);e.s(["f",0,t])},77175,e=>{"use strict";var t=e.i(716162);e.s(["f",0,t])},210214,e=>{"use strict";var t=e.i(716162);e.s(["f",0,t])},629361,e=>{"use strict";var t=e.i(716162);e.s(["f",0,t])},245060,e=>{"use strict";var t=e.i(716162);e.s(["f",0,t])},133022,e=>{"use strict";var t=e.i(716162);e.s(["f",0,t])},284759,e=>{"use strict";var t;let n=((t={}).startingStyle="data-starting-style",t.endingStyle="data-ending-style",t),r={[n.startingStyle]:""},i={[n.endingStyle]:""};e.s(["S",0,n,"T",0,{transitionStatus:e=>"starting"===e?r:"ending"===e?i:null}])},56590,767569,e=>{"use strict";var t=e.i(651023),n=e.i(343084),r=e.i(290219),i=e.i(500977),o=e.i(400231),l=e.i(676477),s=e.i(953760),u=e.i(258950),a=e.i(68722),c=e.i(579144),f=e.i(680097),d=e.i(362747),p=e.i(333848);let h={sideX:"left",sideY:"top"};function g(e,t,n){let r="inline-start"===e||"inline-end"===e;return({top:"top",right:r?n?"inline-start":"inline-end":"right",bottom:"bottom",left:r?n?"inline-end":"inline-start":"left"})[t]}function m(e,t,r){let{rects:i,placement:o}=e;return{side:g(t,(0,n.m)(o),r),align:(0,n.R)(o)||"center",anchor:{width:i.reference.width,height:i.reference.height},positioner:{width:i.floating.width,height:i.floating.height}}}function v(e){return null!=e&&"current"in e}e.s(["x",0,h,"e",0,{name:"adaptiveOrigin",async fn(e){let{x:t,y:i,rects:{floating:o},elements:{floating:l},platform:s,strategy:u,placement:a}=e,c=(0,p.f)(l),f=c.getComputedStyle(l);if("0s"===f.transitionDuration||""===f.transitionDuration)return{x:t,y:i,data:h};let d=await s.getOffsetParent?.(l),g={width:0,height:0};if("fixed"===u&&c?.visualViewport)g={width:c.visualViewport.width,height:c.visualViewport.height};else if(d===c){let e=(0,r.f)(l);g={width:e.documentElement.clientWidth,height:e.documentElement.clientHeight}}else await s.isElement?.(d)&&(g=await s.getDimensions(d));let m=(0,n.m)(a),v=t,y=i;return"left"===m&&(v=g.width-(t+o.width)),"top"===m&&(y=g.height-(i+o.height)),{x:v,y,data:{sideX:"left"===m?"right":h.sideX,sideY:"top"===m?"bottom":h.sideY}}}}],767569),e.s(["f",0,function(e){let{anchor:p,positionMethod:y="absolute",side:b="bottom",sideOffset:w=0,align:E="center",alignOffset:x=0,collisionBoundary:S,collisionPadding:R=5,sticky:T=!1,arrowPadding:C=5,disableAnchorTracking:O=!1,keepMounted:P=!1,floatingRootContext:I,mounted:A,collisionAvoidance:k,shiftCrossAxis:M=!1,nodeId:L,adaptiveOrigin:D,lazyFlip:$=!1,externalTree:j}=e,[V,H]=t.useState(null);A||null===V||H(null);let N=k.side||"flip",B=k.align||"flip",_=k.fallbackAxisSide||"end",W="function"==typeof p?p:void 0,F=(0,l.f)(W),q=W?F:p,K=(0,o.f)(p),z="rtl"===(0,c.f)(),U=V||({top:"top",right:"right",bottom:"bottom",left:"left","inline-end":z?"left":"right","inline-start":z?"right":"left"})[b],Z="center"===E?U:`${U}-${E}`,X=R,J=+("bottom"===b),Q=+("top"===b),Y=+("right"===b),G=+("left"===b);"number"==typeof X?X={top:X+J,right:X+G,bottom:X+Q,left:X+Y}:X&&(X={top:(X.top||0)+J,right:(X.right||0)+G,bottom:(X.bottom||0)+Q,left:(X.left||0)+Y});let ee={boundary:"clipping-ancestors"===S?"clippingAncestors":S,padding:X},et=t.useRef(null),en=(0,o.f)(w),er=(0,o.f)(x),ei=[(0,u.T)(e=>{let t=m(e,b,z),n="function"==typeof en.current?en.current(t):en.current,r="function"==typeof er.current?er.current(t):er.current;return{mainAxis:n,crossAxis:r,alignmentAxis:r}},["function"!=typeof w?w:0,"function"!=typeof x?x:0,z,b])],eo="none"===B&&"shift"!==N,el=!eo&&(T||M||"shift"===N),es="none"===N?null:(0,u.x)({...ee,padding:{top:X.top+1,right:X.right+1,bottom:X.bottom+1,left:X.left+1},mainAxis:!M&&"flip"===N,crossAxis:"flip"===B&&"alignment",fallbackAxisSideDirection:_}),eu=eo?null:(0,u.e)(e=>{let t=(0,r.f)(e.elements.floating).documentElement;return{...ee,rootBoundary:M?{x:0,y:0,width:t.clientWidth,height:t.clientHeight}:void 0,mainAxis:"none"!==B,crossAxis:el,limiter:T||M?void 0:(0,u.n)(e=>{if(!et.current)return{};let{width:t,height:r}=et.current.getBoundingClientRect(),i=(0,n.$)((0,n.m)(e.placement)),o="y"===i?X.left+X.right:X.top+X.bottom;return{offset:("y"===i?t:r)/2+o/2}})}},[ee,T,M,X,B]);"shift"===N||"shift"===B||"center"===E?ei.push(eu,es):ei.push(es,eu),ei.push((0,u.o)({...ee,apply({elements:{floating:e},availableWidth:t,availableHeight:n,rects:r}){let i=e.style;i.setProperty("--available-width",`${t}px`),i.setProperty("--available-height",`${n}px`);let o=window.devicePixelRatio||1,{x:l,y:s,width:u,height:a}=r.reference,c=(Math.round((l+u)*o)-Math.round(l*o))/o,f=(Math.round((s+a)*o)-Math.round(s*o))/o;i.setProperty("--anchor-width",`${c}px`),i.setProperty("--anchor-height",`${f}px`)}}),(0,f.f)(()=>({element:et.current||document.createElement("div"),padding:C,offsetParent:"floating"}),[C]),{name:"transformOrigin",fn(e){let{elements:t,middlewareData:r,placement:i,rects:o,y:l}=e,s=(0,n.m)(i),u=(0,n.$)(s),a=et.current,c=r.arrow?.x||0,f=r.arrow?.y||0,d=a?.clientWidth||0,p=a?.clientHeight||0,h=c+d/2,g=f+p/2,v=Math.abs(r.shift?.y||0),y=o.reference.height/2,E="function"==typeof w?w(m(e,b,z)):w,x=v>E,S={top:`${h}px calc(100% + ${E}px)`,bottom:`${h}px ${-E}px`,left:`calc(100% + ${E}px) ${g}px`,right:`${-E}px ${g}px`}[s],R=`${h}px ${o.reference.y+y-l}px`;return t.floating.style.setProperty("--transform-origin",el&&"y"===u&&x?R:S),{}}},d.f,D),(0,i.f)(()=>{!A&&I&&I.update({referenceElement:null,floatingElement:null,domReferenceElement:null})},[A,I]);let ea=t.useMemo(()=>({elementResize:!O&&"u">typeof ResizeObserver,layoutShift:!O&&"u">typeof IntersectionObserver}),[O]),{refs:ec,elements:ef,x:ed,y:ep,middlewareData:eh,update:eg,placement:em,context:ev,isPositioned:ey,floatingStyles:eb}=(0,a.f)({rootContext:I,placement:Z,middleware:ei,strategy:y,whileElementsMounted:P?void 0:(...e)=>(0,s.n)(...e,ea),nodeId:L,externalTree:j}),{sideX:ew,sideY:eE}=eh.adaptiveOrigin||h,ex=ey?y:"fixed",eS=t.useMemo(()=>{let e=D?{position:ex,[ew]:ed,[eE]:ep}:{position:ex,...eb};return ey||(e.opacity=0),e},[D,ex,ew,ed,eE,ep,eb,ey]),eR=t.useRef(null);(0,i.f)(()=>{if(!A)return;let e=K.current,t="function"==typeof e?e():e,n=(v(t)?t.current:t)||null;n!==eR.current&&(ec.setPositionReference(n),eR.current=n)},[A,ec,q,K]),t.useEffect(()=>{if(!A)return;let e=K.current;"function"!=typeof e&&v(e)&&e.current!==eR.current&&(ec.setPositionReference(e.current),eR.current=e.current)},[A,ec,q,K]),t.useEffect(()=>{if(P&&A&&ef.domReference&&ef.floating)return(0,s.n)(ef.domReference,ef.floating,eg,ea)},[P,A,ef,eg,ea]);let eT=(0,n.m)(em),eC=g(b,eT,z),eO=(0,n.R)(em)||"center",eP=!!eh.hide?.referenceHidden;(0,i.f)(()=>{$&&A&&ey&&H(eT)},[$,A,ey,eT]);let eI=t.useMemo(()=>({position:"absolute",top:eh.arrow?.y,left:eh.arrow?.x}),[eh.arrow]),eA=eh.arrow?.centerOffset!==0;return t.useMemo(()=>({positionerStyles:eS,arrowStyles:eI,arrowRef:et,arrowUncentered:eA,side:eC,align:eO,physicalSide:eT,anchorHidden:eP,refs:ec,context:ev,isPositioned:ey,update:eg}),[eS,eI,et,eA,eC,eO,eT,eP,ec,ev,ey,eg])}],56590)},189879,e=>{"use strict";var t=e.i(383799);e.s(["f",0,function(e){return(0,t.f)(e,"base-ui")}])},889269,177817,e=>{"use strict";var t=e.i(651023),n=e.i(676477),r=e.i(345808),i=e.i(647135),o=e.i(819414),l=e.i(284759);function s(e,t=!1,u=!0){let a=(0,i.z)();return(0,n.f)((n,i=null)=>{function s(){r.flushSync(n)}a.cancel();let c=(0,o.f)(e);if(null!=c)if("function"!=typeof c.getAnimations||globalThis.BASE_UI_ANIMATIONS_DISABLED)n();else{function f(){Promise.all(c.getAnimations().map(e=>e.finished)).then(()=>{i?.aborted||s()}).catch(()=>{let e=c.getAnimations();if(u){if(i?.aborted)return;s()}else e.length>0&&e.some(e=>e.pending||"finished"!==e.playState)&&f()})}if(t)return void function(){let e=l.S.startingStyle;if(!c.hasAttribute(e))return a.request(f);let t=new MutationObserver(()=>{c.hasAttribute(e)||(t.disconnect(),f())});t.observe(c,{attributes:!0,attributeFilter:[e]}),i?.addEventListener("abort",()=>t.disconnect(),{once:!0})}();a.request(f)}})}e.s(["f",0,s],177817),e.s(["f",0,function(e){let{enabled:r=!0,open:i,ref:o,onComplete:l}=e,u=(0,n.f)(l),a=s(o,i,!1);t.useEffect(()=>{if(!r)return;let e=new AbortController;return a(u,e.signal),()=>{e.abort()}},[r,i,u,a])}],889269)},288841,819414,e=>{"use strict";var t=e.i(651023),n=e.i(500977),r=e.i(647135);e.s(["f",0,function(e,i=!1,o=!1){let[l,s]=t.useState(e&&i?"idle":void 0),[u,a]=t.useState(e);return e&&!u&&(a(!0),s("starting")),e||!u||"ending"===l||o||s("ending"),e||u||"ending"!==l||s(void 0),(0,n.f)(()=>{if(!e&&u&&"ending"!==l&&o){let e=r.$.request(()=>{s("ending")});return()=>{r.$.cancel(e)}}},[e,u,l,o]),(0,n.f)(()=>{if(!e||i)return;let t=r.$.request(()=>{s(void 0)});return()=>{r.$.cancel(t)}},[i,e]),(0,n.f)(()=>{if(!e||!i)return;e&&u&&"idle"!==l&&s("starting");let t=r.$.request(()=>{s("idle")});return()=>{r.$.cancel(t)}},[i,e,u,s,l]),t.useMemo(()=>({mounted:u,setMounted:a,transitionStatus:l}),[u,l])}],288841),e.s(["f",0,function(e){return null==e?e:"current"in e?e.current:e}],819414)},757666,e=>{"use strict";let t="u">typeof navigator,n=function(){if(!t)return{platform:"",maxTouchPoints:-1};let e=navigator.userAgentData;return e?.platform?{platform:e.platform,maxTouchPoints:navigator.maxTouchPoints}:{platform:navigator.platform??"",maxTouchPoints:navigator.maxTouchPoints??-1}}(),r=function(){if(!t)return"";let e=navigator.userAgentData;return e?.platform?e.platform:navigator.platform??""}(),i=function(){if(!t)return"";let e=navigator.userAgentData;return e&&Array.isArray(e.brands)?e.brands.map(({brand:e,version:t})=>`${e}/${t}`).join(" "):navigator.userAgent}(),o="u">typeof CSS&&!!CSS.supports&&CSS.supports("-webkit-backdrop-filter:none"),l="MacIntel"===n.platform&&n.maxTouchPoints>1||/iP(hone|ad|od)|iOS/.test(n.platform);t&&/firefox/i.test(i);let s=t&&/apple/i.test(navigator.vendor);t&&/Edg/i.test(i);let u=t&&/android/i.test(r)||/android/i.test(i),a=t&&r.toLowerCase().startsWith("mac")&&!navigator.maxTouchPoints,c=i.includes("jsdom/");e.s(["B",0,u,"I",0,l,"S",0,c,"F",0,a,"G",0,s,"i",0,o])},203851,e=>{"use strict";let t;var n=e.i(651023),r=e.i(630628);let i=[];function o(e){let n=(n,o)=>{let s,u=(0,r.f)(l).current;try{for(let e of(t=u,i))e.before(u);for(let t of(s=e(n,o),i))t.after(u);u.didInitialize=!0}finally{t=void 0}return s};return n.displayName=e.displayName||e.name,n}function l(){return{didInitialize:!1}}e.s(["U",0,o,"u",0,function(e){return n.forwardRef(o(e))},"_",0,function(){return t},"V",0,function(e){i.push(e)}])},290219,e=>{"use strict";e.s(["f",0,function(e){return e?.ownerDocument||document}])},783921,e=>{"use strict";var t=e.i(367805),n=Symbol("NOT_FOUND"),r=e=>Array.isArray(e)?e:[e],i=0,o=class{revision=i;_value;_lastValue;_isEqual=l;constructor(e,t=l){this._value=this._lastValue=e,this._isEqual=t}get value(){return this._value}set value(e){this.value!==e&&(this._value=e,this.revision=++i)}};function l(e,t){return e===t}function s(e){return e instanceof o||console.warn("Not a valid cell! ",e),e.value}var u=(e,t)=>!1;function a(){return function(e=l){return new o(null,e)}(u)}var c=e=>{let t=e.collectionTag;null===t&&(t=e.collectionTag=a()),s(t)};Symbol();var f=0,d=Object.getPrototypeOf({}),p=class{constructor(e){this.value=e,this.value=e,this.tag.value=e}proxy=new Proxy(this,h);tag=a();tags={};children={};collectionTag=null;id=f++},h={get:(e,t)=>(function(){let{value:n}=e,r=Reflect.get(n,t);if("symbol"==typeof t||t in d)return r;if("object"==typeof r&&null!==r){var i;let n=e.children[t];return void 0===n&&(n=e.children[t]=Array.isArray(i=r)?new g(i):new p(i)),n.tag&&s(n.tag),n.proxy}{let n=e.tags[t];return void 0===n&&((n=e.tags[t]=a()).value=r),s(n),r}})(),ownKeys:e=>(c(e),Reflect.ownKeys(e.value)),getOwnPropertyDescriptor:(e,t)=>Reflect.getOwnPropertyDescriptor(e.value,t),has:(e,t)=>Reflect.has(e.value,t)},g=class{constructor(e){this.value=e,this.value=e,this.tag.value=e}proxy=new Proxy([this],m);tag=a();tags={};children={};collectionTag=null;id=f++},m={get:([e],t)=>("length"===t&&c(e),h.get(e,t)),ownKeys:([e])=>h.ownKeys(e),getOwnPropertyDescriptor:([e],t)=>h.getOwnPropertyDescriptor(e,t),has:([e],t)=>h.has(e,t)},v=(e,t)=>e===t,y="u">typeof WeakRef?WeakRef:class{constructor(e){this.value=e}deref(){return this.value}};function b(){return{s:0,v:void 0,o:null,p:null}}function w(e,t={}){let n,r=b(),{resultEqualityCheck:i}=t,o=0;function l(){let t,l=r,{length:s}=arguments;for(let e=0;e<s;e++){let t=arguments[e];if("function"==typeof t||"object"==typeof t&&null!==t){let e=l.o;null===e&&(l.o=e=new WeakMap);let n=e.get(t);void 0===n?(l=b(),e.set(t,l)):l=n}else{let e=l.p;null===e&&(l.p=e=new Map);let n=e.get(t);void 0===n?(l=b(),e.set(t,l)):l=n}}let u=l;if(1===l.s)t=l.v;else if(t=e.apply(null,arguments),o++,i){let e=n?.deref?.()??n;null!=e&&i(e,t)&&(t=e,0!==o&&o--),n="object"==typeof t&&null!==t||"function"==typeof t?new y(t):t}return u.s=1,u.v=t,t}return l.clearCache=()=>{r=b(),l.resetResultsCount()},l.resultsCount=()=>o,l.resetResultsCount=()=>{o=0},l}function E(e,...t){let n="function"==typeof e?{memoize:e,memoizeOptions:t}:e,i=(...e)=>{let t,i,o=0,l=0,s={},u=e.pop();"object"==typeof u&&(s=u,u=e.pop()),function(e,t=`expected a function, instead received ${typeof e}`){if("function"!=typeof e)throw TypeError(t)}(u,`createSelector expects an output function after the inputs, but received: [${typeof u}]`);let{memoize:a,memoizeOptions:c=[],argsMemoize:f=w,argsMemoizeOptions:d=[],devModeChecks:p={}}={...n,...s},h=r(c),g=r(d),m=(!function(e,t="expected all items to be functions, instead received the following types: "){if(!e.every(e=>"function"==typeof e)){let n=e.map(e=>"function"==typeof e?`function ${e.name||"unnamed"}()`:typeof e).join(", ");throw TypeError(`${t}[${n}]`)}}(t=Array.isArray(e[0])?e[0]:e,"createSelector expects all input-selectors to be functions, but received the following types: "),t),v=a(function(){return o++,u.apply(null,arguments)},...h);return Object.assign(f(function(){l++;let e=function(e,t){let n=[],{length:r}=e;for(let i=0;i<r;i++)n.push(e[i].apply(null,t));return n}(m,arguments);return i=v.apply(null,e)},...g),{resultFunc:u,memoizedResultFunc:v,dependencies:m,dependencyRecomputations:()=>l,resetDependencyRecomputations:()=>{l=0},lastResult:()=>i,recomputations:()=>o,resetRecomputations:()=>{o=0},memoize:a,argsMemoize:f})};return Object.assign(i,{withTypes:()=>i}),i}var x=E(w),S=Object.assign((e,t=x)=>{!function(e,t=`expected an object, instead received ${typeof e}`){if("object"!=typeof e)throw TypeError(t)}(e,`createStructuredSelector expects first argument to be an object where each property is a selector, instead received a ${typeof e}`);let n=Object.keys(e);return t(n.map(t=>e[t]),(...e)=>e.reduce((e,t,r)=>(e[n[r]]=t,e),{}))},{withTypes:()=>S});E({memoize:function(e,t){let r,{equalityCheck:i=v,maxSize:o=1,resultEqualityCheck:l}="object"==typeof t?t:{equalityCheck:t},s=function(e,t){if(null===e||null===t||e.length!==t.length)return!1;let{length:n}=e;for(let r=0;r<n;r++)if(!i(e[r],t[r]))return!1;return!0},u=0,a=o<=1?{get:e=>r&&s(r.key,e)?r.value:n,put(e,t){r={key:e,value:t}},getEntries:()=>r?[r]:[],clear(){r=void 0}}:function(e,t){let r=[];function i(e){let i=r.findIndex(n=>t(e,n.key));if(i>-1){let e=r[i];return i>0&&(r.splice(i,1),r.unshift(e)),e.value}return n}return{get:i,put:function(t,o){i(t)===n&&(r.unshift({key:t,value:o}),r.length>e&&r.pop())},getEntries:function(){return r},clear:function(){r=[]}}}(o,s);function c(){let t=a.get(arguments);if(t===n){if(t=e.apply(null,arguments),u++,l){let e=a.getEntries().find(e=>l(e.value,t));e&&(t=e.value,0!==u&&u--)}a.put(arguments,t)}return t}return c.clearCache=()=>{a.clear(),c.resetResultsCount()},c.resultsCount=()=>u,c.resetResultsCount=()=>{u=0},c},memoizeOptions:{maxSize:1,equalityCheck:Object.is}}),e.s(["f",0,(e,n,r,i,o,l,...s)=>{let u;if(s.length>0)throw Error((0,t.f)(1));if(e&&n&&r&&i&&o&&l)u=(t,s,u,a)=>l(e(t,s,u,a),n(t,s,u,a),r(t,s,u,a),i(t,s,u,a),o(t,s,u,a),s,u,a);else if(e&&n&&r&&i&&o)u=(t,l,s,u)=>o(e(t,l,s,u),n(t,l,s,u),r(t,l,s,u),i(t,l,s,u),l,s,u);else if(e&&n&&r&&i)u=(t,o,l,s)=>i(e(t,o,l,s),n(t,o,l,s),r(t,o,l,s),o,l,s);else if(e&&n&&r)u=(t,i,o,l)=>r(e(t,i,o,l),n(t,i,o,l),i,o,l);else if(e&&n)u=(t,r,i,o)=>n(e(t,r,i,o),r,i,o);else if(e)u=e;else throw Error("Missing arguments");return u}],783921)},647135,e=>{"use strict";e.i(189036);var t=e.i(630628),n=e.i(294365);let r=new class{callbacks=[];callbacksCount=0;nextId=1;startId=1;isScheduled=!1;tick=e=>{this.isScheduled=!1;let t=this.callbacks,n=this.callbacksCount;if(this.callbacks=[],this.callbacksCount=0,this.startId=this.nextId,n>0)for(let n=0;n<t.length;n+=1)t[n]?.(e)};request(e){let t=this.nextId;return this.nextId+=1,this.callbacks.push(e),this.callbacksCount+=1,this.isScheduled||(requestAnimationFrame(this.tick),this.isScheduled=!0),t}cancel(e){let t=e-this.startId;t<0||t>=this.callbacks.length||(this.callbacks[t]=null,this.callbacksCount-=1)}};class i{static create(){return new i}static request(e){return r.request(e)}static cancel(e){return r.cancel(e)}currentId=null;request(e){this.cancel(),this.currentId=r.request(()=>{this.currentId=null,e()})}cancel=()=>{null!==this.currentId&&(r.cancel(this.currentId),this.currentId=null)};disposeEffect=()=>this.cancel}e.s(["$",0,i,"z",0,function(){let e=(0,t.f)(i.create).current;return(0,n.f)(e.disposeEffect),e}])},383799,e=>{"use strict";var t=e.i(651023);let n={...t},r=0,i=n.useId;e.s(["f",0,function(e,n){if(void 0!==i){let t=i();return e??(n?`${n}-${t}`:t)}return function(e,n="mui"){let[i,o]=t.useState(e),l=e||i;return t.useEffect(()=>{null==i&&(r+=1,o(`${n}-${r}`))},[i,n]),l}(e,n)}],383799)},58509,e=>{"use strict";var t=e.i(651023);e.s(["f",0,function(e){let n=t.useRef(!0);n.current&&(n.current=!1,e())}])},294365,e=>{"use strict";var t=e.i(651023);let n=[];e.s(["f",0,function(e){t.useEffect(e,n)}])},566745,e=>{"use strict";var t=e.i(630628),n=e.i(294365);class r{static create(){return new r}currentId=0;start(e,t){this.clear(),this.currentId=setTimeout(()=>{this.currentId=0,t()},e)}isStarted(){return 0!==this.currentId}clear=()=>{0!==this.currentId&&(clearTimeout(this.currentId),this.currentId=0)};disposeEffect=()=>this.clear}e.s(["U",0,r,"e",0,function(){let e=(0,t.f)(r.create).current;return(0,n.f)(e.disposeEffect),e}])},400231,e=>{"use strict";var t=e.i(500977),n=e.i(630628);function r(e){let t={current:e,next:e,effect:()=>{t.current=t.next}};return t}e.s(["f",0,function(e){let i=(0,n.f)(r,e).current;return i.next=e,(0,t.f)(i.effect),i}])},953760,258950,e=>{"use strict";var t=e.i(343084);function n(e,n,r){let i,{reference:o,floating:l}=e,s=(0,t.$)(n),u=(0,t.i)(n),a=(0,t.T)(u),c=(0,t.m)(n),f="y"===s,d=o.x+o.width/2-l.width/2,p=o.y+o.height/2-l.height/2,h=o[a]/2-l[a]/2;switch(c){case"top":i={x:d,y:o.y-l.height};break;case"bottom":i={x:d,y:o.y+o.height};break;case"right":i={x:o.x+o.width,y:p};break;case"left":i={x:o.x-l.width,y:p};break;default:i={x:o.x,y:o.y}}switch((0,t.R)(n)){case"start":i[u]-=h*(r&&f?-1:1);break;case"end":i[u]+=h*(r&&f?-1:1)}return i}async function r(e,n){var r;void 0===n&&(n={});let{x:i,y:o,platform:l,rects:s,elements:u,strategy:a}=e,{boundary:c="clippingAncestors",rootBoundary:f="viewport",elementContext:d="floating",altBoundary:p=!1,padding:h=0}=(0,t.h)(n,e),g=(0,t.j)(h),m=u[p?"floating"===d?"reference":"floating":d],v=(0,t._)(await l.getClippingRect({element:null==(r=await (null==l.isElement?void 0:l.isElement(m)))||r?m:m.contextElement||await (null==l.getDocumentElement?void 0:l.getDocumentElement(u.floating)),boundary:c,rootBoundary:f,strategy:a})),y="floating"===d?{x:i,y:o,width:s.floating.width,height:s.floating.height}:s.reference,b=await (null==l.getOffsetParent?void 0:l.getOffsetParent(u.floating)),w=await (null==l.isElement?void 0:l.isElement(b))&&await (null==l.getScale?void 0:l.getScale(b))||{x:1,y:1},E=(0,t._)(l.convertOffsetParentRelativeRectToViewportRelativeRect?await l.convertOffsetParentRelativeRectToViewportRelativeRect({elements:u,rect:y,offsetParent:b,strategy:a}):y);return{top:(v.top-E.top+g.top)/w.y,bottom:(E.bottom-v.bottom+g.bottom)/w.y,left:(v.left-E.left+g.left)/w.x,right:(E.right-v.right+g.right)/w.x}}let i=async(e,t,i)=>{let{placement:o="bottom",strategy:l="absolute",middleware:s=[],platform:u}=i,a=u.detectOverflow?u:{...u,detectOverflow:r},c=await (null==u.isRTL?void 0:u.isRTL(t)),f=await u.getElementRects({reference:e,floating:t,strategy:l}),{x:d,y:p}=n(f,o,c),h=o,g=0,m={};for(let r=0;r<s.length;r++){let i=s[r];if(!i)continue;let{name:v,fn:y}=i,{x:b,y:w,data:E,reset:x}=await y({x:d,y:p,initialPlacement:o,placement:h,strategy:l,middlewareData:m,rects:f,platform:a,elements:{reference:e,floating:t}});d=null!=b?b:d,p=null!=w?w:p,m[v]={...m[v],...E},x&&g<50&&(g++,"object"==typeof x&&(x.placement&&(h=x.placement),x.rects&&(f=!0===x.rects?await u.getElementRects({reference:e,floating:t,strategy:l}):x.rects),{x:d,y:p}=n(f,h,c)),r=-1)}return{x:d,y:p,placement:h,strategy:l,middlewareData:m}};function o(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function l(e){return t.M.some(t=>e[t]>=0)}function s(e){let n=(0,t.u)(...e.map(e=>e.left)),r=(0,t.u)(...e.map(e=>e.top));return{x:n,y:r,width:(0,t.y)(...e.map(e=>e.right))-n,height:(0,t.y)(...e.map(e=>e.bottom))-r}}let u=new Set(["left","top"]);async function a(e,n){let{placement:r,platform:i,elements:o}=e,l=await (null==i.isRTL?void 0:i.isRTL(o.floating)),s=(0,t.m)(r),a=(0,t.R)(r),c="y"===(0,t.$)(r),f=u.has(s)?-1:1,d=l&&c?-1:1,p=(0,t.h)(n,e),{mainAxis:h,crossAxis:g,alignmentAxis:m}="number"==typeof p?{mainAxis:p,crossAxis:0,alignmentAxis:null}:{mainAxis:p.mainAxis||0,crossAxis:p.crossAxis||0,alignmentAxis:p.alignmentAxis};return a&&"number"==typeof m&&(g="end"===a?-1*m:m),c?{x:g*d,y:h*f}:{x:h*f,y:g*d}}var c=e.i(229315);function f(e){let n=(0,c.X)(e),r=parseFloat(n.width)||0,i=parseFloat(n.height)||0,o=(0,c.E)(e),l=o?e.offsetWidth:r,s=o?e.offsetHeight:i,u=(0,t.H)(r)!==l||(0,t.H)(i)!==s;return u&&(r=l,i=s),{width:r,height:i,$:u}}function d(e){return(0,c.m)(e)?e:e.contextElement}function p(e){let n=d(e);if(!(0,c.E)(n))return(0,t.I)(1);let r=n.getBoundingClientRect(),{width:i,height:o,$:l}=f(n),s=(l?(0,t.H)(r.width):r.width)/i,u=(l?(0,t.H)(r.height):r.height)/o;return s&&Number.isFinite(s)||(s=1),u&&Number.isFinite(u)||(u=1),{x:s,y:u}}let h=(0,t.I)(0);function g(e){let t=(0,c.K)(e);return(0,c.i)()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:h}function m(e,n,r,i){var o;void 0===n&&(n=!1),void 0===r&&(r=!1);let l=e.getBoundingClientRect(),s=d(e),u=(0,t.I)(1);n&&(i?(0,c.m)(i)&&(u=p(i)):u=p(e));let a=(void 0===(o=r)&&(o=!1),i&&(!o||i===(0,c.K)(s))&&o)?g(s):(0,t.I)(0),f=(l.left+a.x)/u.x,h=(l.top+a.y)/u.y,m=l.width/u.x,v=l.height/u.y;if(s){let e=(0,c.K)(s),t=i&&(0,c.m)(i)?(0,c.K)(i):i,n=e,r=(0,c.w)(n);for(;r&&i&&t!==n;){let e=p(r),t=r.getBoundingClientRect(),i=(0,c.X)(r),o=t.left+(r.clientLeft+parseFloat(i.paddingLeft))*e.x,l=t.top+(r.clientTop+parseFloat(i.paddingTop))*e.y;f*=e.x,h*=e.y,m*=e.x,v*=e.y,f+=o,h+=l,n=(0,c.K)(r),r=(0,c.w)(n)}}return(0,t._)({width:m,height:v,x:f,y:h})}function v(e,t){let n=(0,c.Q)(e).scrollLeft;return t?t.left+n:m((0,c.I)(e)).left+n}function y(e,t){let n=e.getBoundingClientRect();return{x:n.left+t.scrollLeft-v(e,n),y:n.top+t.scrollTop}}function b(e,n,r){var i;let o;if("viewport"===n)o=function(e,t){let n=(0,c.K)(e),r=(0,c.I)(e),i=n.visualViewport,o=r.clientWidth,l=r.clientHeight,s=0,u=0;if(i){o=i.width,l=i.height;let e=(0,c.i)();(!e||e&&"fixed"===t)&&(s=i.offsetLeft,u=i.offsetTop)}let a=v(r);if(a<=0){let e=r.ownerDocument,t=e.body,n=getComputedStyle(t),i="CSS1Compat"===e.compatMode&&parseFloat(n.marginLeft)+parseFloat(n.marginRight)||0,l=Math.abs(r.clientWidth-t.clientWidth-i);l<=25&&(o-=l)}else a<=25&&(o+=a);return{width:o,height:l,x:s,y:u}}(e,r);else if("document"===n){let n,r,l,s,u,a,f;i=(0,c.I)(e),n=(0,c.I)(i),r=(0,c.Q)(i),l=i.ownerDocument.body,s=(0,t.y)(n.scrollWidth,n.clientWidth,l.scrollWidth,l.clientWidth),u=(0,t.y)(n.scrollHeight,n.clientHeight,l.scrollHeight,l.clientHeight),a=-r.scrollLeft+v(i),f=-r.scrollTop,"rtl"===(0,c.X)(l).direction&&(a+=(0,t.y)(n.clientWidth,l.clientWidth)-s),o={width:s,height:u,x:a,y:f}}else if((0,c.m)(n)){let e,i,l,s,u,a;i=(e=m(n,!0,"fixed"===r)).top+n.clientTop,l=e.left+n.clientLeft,s=(0,c.E)(n)?p(n):(0,t.I)(1),u=n.clientWidth*s.x,a=n.clientHeight*s.y,o={width:u,height:a,x:l*s.x,y:i*s.y}}else{let t=g(e);o={x:n.x-t.x,y:n.y-t.y,width:n.width,height:n.height}}return(0,t._)(o)}function w(e){return"static"===(0,c.X)(e).position}function E(e,t){if(!(0,c.E)(e)||"fixed"===(0,c.X)(e).position)return null;if(t)return t(e);let n=e.offsetParent;return(0,c.I)(e)===n&&(n=n.ownerDocument.body),n}function x(e,t){let n=(0,c.K)(e);if((0,c.D)(e))return n;if(!(0,c.E)(e)){let t=(0,c.J)(e);for(;t&&!(0,c.Z)(t);){if((0,c.m)(t)&&!w(t))return t;t=(0,c.J)(t)}return n}let r=E(e,t);for(;r&&(0,c.S)(r)&&w(r);)r=E(r,t);return r&&(0,c.Z)(r)&&w(r)&&!(0,c.e)(r)?n:r||(0,c.f)(e)||n}let S=async function(e){let n=this.getOffsetParent||x,r=this.getDimensions,i=await r(e.floating);return{reference:function(e,n,r){let i=(0,c.E)(n),o=(0,c.I)(n),l="fixed"===r,s=m(e,!0,l,n),u={scrollLeft:0,scrollTop:0},a=(0,t.I)(0);if(i||!i&&!l)if(("body"!==(0,c.A)(n)||(0,c.B)(o))&&(u=(0,c.Q)(n)),i){let e=m(n,!0,l,n);a.x=e.x+n.clientLeft,a.y=e.y+n.clientTop}else o&&(a.x=v(o));l&&!i&&o&&(a.x=v(o));let f=!o||i||l?(0,t.I)(0):y(o,u);return{x:s.left+u.scrollLeft-a.x-f.x,y:s.top+u.scrollTop-a.y-f.y,width:s.width,height:s.height}}(e.reference,await n(e.floating),e.strategy),floating:{x:0,y:0,width:i.width,height:i.height}}},R={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:n,rect:r,offsetParent:i,strategy:o}=e,l="fixed"===o,s=(0,c.I)(i),u=!!n&&(0,c.D)(n.floating);if(i===s||u&&l)return r;let a={scrollLeft:0,scrollTop:0},f=(0,t.I)(1),d=(0,t.I)(0),h=(0,c.E)(i);if((h||!h&&!l)&&(("body"!==(0,c.A)(i)||(0,c.B)(s))&&(a=(0,c.Q)(i)),h)){let e=m(i);f=p(i),d.x=e.x+i.clientLeft,d.y=e.y+i.clientTop}let g=!s||h||l?(0,t.I)(0):y(s,a);return{width:r.width*f.x,height:r.height*f.y,x:r.x*f.x-a.scrollLeft*f.x+d.x+g.x,y:r.y*f.y-a.scrollTop*f.y+d.y+g.y}},getDocumentElement:c.I,getClippingRect:function(e){let{element:n,boundary:r,rootBoundary:i,strategy:o}=e,l=[..."clippingAncestors"===r?(0,c.D)(n)?[]:function(e,t){let n=t.get(e);if(n)return n;let r=(0,c.G)(e,[],!1).filter(e=>(0,c.m)(e)&&"body"!==(0,c.A)(e)),i=null,o="fixed"===(0,c.X)(e).position,l=o?(0,c.J)(e):e;for(;(0,c.m)(l)&&!(0,c.Z)(l);){let t=(0,c.X)(l),n=(0,c.e)(l);n||"fixed"!==t.position||(i=null),(o?n||i:!(!n&&"static"===t.position&&i&&("absolute"===i.position||"fixed"===i.position)||(0,c.B)(l)&&!n&&function e(t,n){let r=(0,c.J)(t);return!(r===n||!(0,c.m)(r)||(0,c.Z)(r))&&("fixed"===(0,c.X)(r).position||e(r,n))}(e,l)))?i=t:r=r.filter(e=>e!==l),l=(0,c.J)(l)}return t.set(e,r),r}(n,this._c):[].concat(r),i],s=b(n,l[0],o),u=s.top,a=s.right,f=s.bottom,d=s.left;for(let e=1;e<l.length;e++){let r=b(n,l[e],o);u=(0,t.y)(r.top,u),a=(0,t.u)(r.right,a),f=(0,t.u)(r.bottom,f),d=(0,t.y)(r.left,d)}return{width:a-d,height:f-u,x:d,y:u}},getOffsetParent:x,getElementRects:S,getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){let{width:t,height:n}=f(e);return{width:t,height:n}},getScale:p,isElement:c.m,isRTL:function(e){return"rtl"===(0,c.X)(e).direction}};function T(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}let C=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){var n,r;let{x:i,y:o,placement:l,middlewareData:s}=t,u=await a(t,e);return l===(null==(n=s.offset)?void 0:n.placement)&&null!=(r=s.arrow)&&r.alignmentOffset?{}:{x:i+u.x,y:o+u.y,data:{...u,placement:l}}}}},O=function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(n){let{x:r,y:i,placement:o,platform:l}=n,{mainAxis:s=!0,crossAxis:u=!1,limiter:a={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...c}=(0,t.h)(e,n),f={x:r,y:i},d=await l.detectOverflow(n,c),p=(0,t.$)((0,t.m)(o)),h=(0,t.J)(p),g=f[h],m=f[p];if(s){let e="y"===h?"top":"left",n="y"===h?"bottom":"right",r=g+d[e],i=g-d[n];g=(0,t.O)(r,g,i)}if(u){let e="y"===p?"top":"left",n="y"===p?"bottom":"right",r=m+d[e],i=m-d[n];m=(0,t.O)(r,m,i)}let v=a.fn({...n,[h]:g,[p]:m});return{...v,data:{x:v.x-r,y:v.y-i,enabled:{[h]:s,[p]:u}}}}}},P=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(n){var r,i,o,l,s;let{placement:u,middlewareData:a,rects:c,initialPlacement:f,platform:d,elements:p}=n,{mainAxis:h=!0,crossAxis:g=!0,fallbackPlacements:m,fallbackStrategy:v="bestFit",fallbackAxisSideDirection:y="none",flipAlignment:b=!0,...w}=(0,t.h)(e,n);if(null!=(r=a.arrow)&&r.alignmentOffset)return{};let E=(0,t.m)(u),x=(0,t.$)(f),S=(0,t.m)(f)===f,R=await (null==d.isRTL?void 0:d.isRTL(p.floating)),T=m||(S||!b?[(0,t.t)(f)]:(0,t.P)(f)),C="none"!==y;!m&&C&&T.push(...(0,t.K)(f,b,y,R));let O=[f,...T],P=await d.detectOverflow(n,w),I=[],A=(null==(i=a.flip)?void 0:i.overflows)||[];if(h&&I.push(P[E]),g){let e=(0,t.N)(u,c,R);I.push(P[e[0]],P[e[1]])}if(A=[...A,{placement:u,overflows:I}],!I.every(e=>e<=0)){let e=((null==(o=a.flip)?void 0:o.index)||0)+1,n=O[e];if(n&&("alignment"!==g||x===(0,t.$)(n)||A.every(e=>(0,t.$)(e.placement)!==x||e.overflows[0]>0)))return{data:{index:e,overflows:A},reset:{placement:n}};let r=null==(l=A.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0])?void 0:l.placement;if(!r)switch(v){case"bestFit":{let e=null==(s=A.filter(e=>{if(C){let n=(0,t.$)(e.placement);return n===x||"y"===n}return!0}).map(e=>[e.placement,e.overflows.filter(e=>e>0).reduce((e,t)=>e+t,0)]).sort((e,t)=>e[1]-t[1])[0])?void 0:s[0];e&&(r=e);break}case"initialPlacement":r=f}if(u!==r)return{reset:{placement:r}}}return{}}}},I=function(e){return void 0===e&&(e={}),{name:"size",options:e,async fn(n){var r,i;let o,l,{placement:s,rects:u,platform:a,elements:c}=n,{apply:f=()=>{},...d}=(0,t.h)(e,n),p=await a.detectOverflow(n,d),h=(0,t.m)(s),g=(0,t.R)(s),m="y"===(0,t.$)(s),{width:v,height:y}=u.floating;"top"===h||"bottom"===h?(o=h,l=g===(await (null==a.isRTL?void 0:a.isRTL(c.floating))?"start":"end")?"left":"right"):(l=h,o="end"===g?"top":"bottom");let b=y-p.top-p.bottom,w=v-p.left-p.right,E=(0,t.u)(y-p[o],b),x=(0,t.u)(v-p[l],w),S=!n.middlewareData.shift,R=E,T=x;if(null!=(r=n.middlewareData.shift)&&r.enabled.x&&(T=w),null!=(i=n.middlewareData.shift)&&i.enabled.y&&(R=b),S&&!g){let e=(0,t.y)(p.left,0),n=(0,t.y)(p.right,0),r=(0,t.y)(p.top,0),i=(0,t.y)(p.bottom,0);m?T=v-2*(0!==e||0!==n?e+n:(0,t.y)(p.left,p.right)):R=y-2*(0!==r||0!==i?r+i:(0,t.y)(p.top,p.bottom))}await f({...n,availableWidth:T,availableHeight:R});let C=await a.getDimensions(c.floating);return v!==C.width||y!==C.height?{reset:{rects:!0}}:{}}}},A=function(e){return void 0===e&&(e={}),{name:"hide",options:e,async fn(n){let{rects:r,platform:i}=n,{strategy:s="referenceHidden",...u}=(0,t.h)(e,n);switch(s){case"referenceHidden":{let e=o(await i.detectOverflow(n,{...u,elementContext:"reference"}),r.reference);return{data:{referenceHiddenOffsets:e,referenceHidden:l(e)}}}case"escaped":{let e=o(await i.detectOverflow(n,{...u,altBoundary:!0}),r.floating);return{data:{escapedOffsets:e,escaped:l(e)}}}default:return{}}}}},k=function(e){return void 0===e&&(e={}),{options:e,fn(n){let{x:r,y:i,placement:o,rects:l,middlewareData:s}=n,{offset:a=0,mainAxis:c=!0,crossAxis:f=!0}=(0,t.h)(e,n),d={x:r,y:i},p=(0,t.$)(o),h=(0,t.J)(p),g=d[h],m=d[p],v=(0,t.h)(a,n),y="number"==typeof v?{mainAxis:v,crossAxis:0}:{mainAxis:0,crossAxis:0,...v};if(c){let e="y"===h?"height":"width",t=l.reference[h]-l.floating[e]+y.mainAxis,n=l.reference[h]+l.reference[e]-y.mainAxis;g<t?g=t:g>n&&(g=n)}if(f){var b,w;let e="y"===h?"width":"height",n=u.has((0,t.m)(o)),r=l.reference[p]-l.floating[e]+(n&&(null==(b=s.offset)?void 0:b[p])||0)+(n?0:y.crossAxis),i=l.reference[p]+l.reference[e]+(n?0:(null==(w=s.offset)?void 0:w[p])||0)-(n?y.crossAxis:0);m<r?m=r:m>i&&(m=i)}return{[h]:g,[p]:m}}}},M=(e,t,n)=>{let r=new Map,o={platform:R,...n},l={...o.platform,_c:r};return i(e,t,{...o,platform:l})};e.s(["P",0,e=>({name:"arrow",options:e,async fn(n){let{x:r,y:i,placement:o,rects:l,platform:s,elements:u,middlewareData:a}=n,{element:c,padding:f=0}=(0,t.h)(e,n)||{};if(null==c)return{};let d=(0,t.j)(f),p={x:r,y:i},h=(0,t.i)(o),g=(0,t.T)(h),m=await s.getDimensions(c),v="y"===h,y=v?"clientHeight":"clientWidth",b=l.reference[g]+l.reference[h]-p[h]-l.floating[g],w=p[h]-l.reference[h],E=await (null==s.getOffsetParent?void 0:s.getOffsetParent(c)),x=E?E[y]:0;x&&await (null==s.isElement?void 0:s.isElement(E))||(x=u.floating[y]||l.floating[g]);let S=x/2-m[g]/2-1,R=(0,t.u)(d[v?"top":"left"],S),T=(0,t.u)(d[v?"bottom":"right"],S),C=x-m[g]-T,O=x/2-m[g]/2+(b/2-w/2),P=(0,t.O)(R,O,C),I=!a.arrow&&null!=(0,t.R)(o)&&O!==P&&l.reference[g]/2-(O<R?R:T)-m[g]/2<0,A=I?O<R?O-R:O-C:0;return{[h]:p[h]+A,data:{[h]:P,centerOffset:O-P-A,...I&&{alignmentOffset:A}},reset:I}}}),"p",0,function(e){return void 0===e&&(e={}),{name:"autoPlacement",options:e,async fn(n){var r,i,o,l;let{rects:s,middlewareData:u,placement:a,platform:c,elements:f}=n,{crossAxis:d=!1,alignment:p,allowedPlacements:h=t.Z,autoAlignment:g=!0,...m}=(0,t.h)(e,n),v=void 0!==p||h===t.Z?((l=p||null)?[...h.filter(e=>(0,t.R)(e)===l),...h.filter(e=>(0,t.R)(e)!==l)]:h.filter(e=>(0,t.m)(e)===e)).filter(e=>!l||(0,t.R)(e)===l||!!g&&(0,t.o)(e)!==e):h,y=await c.detectOverflow(n,m),b=(null==(r=u.autoPlacement)?void 0:r.index)||0,w=v[b];if(null==w)return{};let E=(0,t.N)(w,s,await (null==c.isRTL?void 0:c.isRTL(f.floating)));if(a!==w)return{reset:{placement:v[0]}};let x=[y[(0,t.m)(w)],y[E[0]],y[E[1]]],S=[...(null==(i=u.autoPlacement)?void 0:i.overflows)||[],{placement:w,overflows:x}],R=v[b+1];if(R)return{data:{index:b+1,overflows:S},reset:{placement:R}};let T=S.map(e=>{let n=(0,t.R)(e.placement);return[e.placement,n&&d?e.overflows.slice(0,2).reduce((e,t)=>e+t,0):e.overflows[0],e.overflows]}).sort((e,t)=>e[1]-t[1]),C=(null==(o=T.filter(e=>e[2].slice(0,(0,t.R)(e[0])?2:3).every(e=>e<=0))[0])?void 0:o[0])||T[0][0];return C!==a?{data:{index:b+1,overflows:S},reset:{placement:C}}:{}}}},"n",0,function(e,n,r,i){let o;void 0===i&&(i={});let{ancestorScroll:l=!0,ancestorResize:s=!0,elementResize:u="function"==typeof ResizeObserver,layoutShift:a="function"==typeof IntersectionObserver,animationFrame:f=!1}=i,p=d(e),h=l||s?[...p?(0,c.G)(p):[],...n?(0,c.G)(n):[]]:[];h.forEach(e=>{l&&e.addEventListener("scroll",r,{passive:!0}),s&&e.addEventListener("resize",r)});let g=p&&a?function(e,n){let r,i=null,o=(0,c.I)(e);function l(){var e;clearTimeout(r),null==(e=i)||e.disconnect(),i=null}return!function s(u,a){void 0===u&&(u=!1),void 0===a&&(a=1),l();let c=e.getBoundingClientRect(),{left:f,top:d,width:p,height:h}=c;if(u||n(),!p||!h)return;let g={rootMargin:-(0,t.w)(d)+"px "+-(0,t.w)(o.clientWidth-(f+p))+"px "+-(0,t.w)(o.clientHeight-(d+h))+"px "+-(0,t.w)(f)+"px",threshold:(0,t.y)(0,(0,t.u)(1,a))||1},m=!0;function v(t){let n=t[0].intersectionRatio;if(n!==a){if(!m)return s();n?s(!1,n):r=setTimeout(()=>{s(!1,1e-7)},1e3)}1!==n||T(c,e.getBoundingClientRect())||s(),m=!1}try{i=new IntersectionObserver(v,{...g,root:o.ownerDocument})}catch(e){i=new IntersectionObserver(v,g)}i.observe(e)}(!0),l}(p,r):null,v=-1,y=null;u&&(y=new ResizeObserver(e=>{let[t]=e;t&&t.target===p&&y&&n&&(y.unobserve(n),cancelAnimationFrame(v),v=requestAnimationFrame(()=>{var e;null==(e=y)||e.observe(n)})),r()}),p&&!f&&y.observe(p),n&&y.observe(n));let b=f?m(e):null;return f&&function t(){let n=m(e);b&&!T(b,n)&&r(),b=n,o=requestAnimationFrame(t)}(),r(),()=>{var e;h.forEach(e=>{l&&e.removeEventListener("scroll",r),s&&e.removeEventListener("resize",r)}),null==g||g(),null==(e=y)||e.disconnect(),y=null,f&&cancelAnimationFrame(o)}},"A",0,M,"x",0,P,"c",0,A,"g",0,function(e){return void 0===e&&(e={}),{name:"inline",options:e,async fn(n){let{placement:r,elements:i,rects:o,platform:l,strategy:u}=n,{padding:a=2,x:c,y:f}=(0,t.h)(e,n),d=Array.from(await (null==l.getClientRects?void 0:l.getClientRects(i.reference))||[]),p=function(e){let n=e.slice().sort((e,t)=>e.y-t.y),r=[],i=null;for(let e=0;e<n.length;e++){let t=n[e];!i||t.y-i.y>i.height/2?r.push([t]):r[r.length-1].push(t),i=t}return r.map(e=>(0,t._)(s(e)))}(d),h=(0,t._)(s(d)),g=(0,t.j)(a),m=await l.getElementRects({reference:{getBoundingClientRect:function(){if(2===p.length&&p[0].left>p[1].right&&null!=c&&null!=f)return p.find(e=>c>e.left-g.left&&c<e.right+g.right&&f>e.top-g.top&&f<e.bottom+g.bottom)||h;if(p.length>=2){if("y"===(0,t.$)(r)){let e=p[0],n=p[p.length-1],i="top"===(0,t.m)(r),o=e.top,l=n.bottom,s=i?e.left:n.left,u=i?e.right:n.right;return{top:o,bottom:l,left:s,right:u,width:u-s,height:l-o,x:s,y:o}}let e="left"===(0,t.m)(r),n=(0,t.y)(...p.map(e=>e.right)),i=(0,t.u)(...p.map(e=>e.left)),o=p.filter(t=>e?t.left===i:t.right===n),l=o[0].top,s=o[o.length-1].bottom;return{top:l,bottom:s,left:i,right:n,width:n-i,height:s-l,x:i,y:l}}return h}},floating:i.floating,strategy:u});return o.reference.x!==m.reference.x||o.reference.y!==m.reference.y||o.reference.width!==m.reference.width||o.reference.height!==m.reference.height?{reset:{rects:m}}:{}}}},"o",0,k,"T",0,C,"e",0,O,"q",0,I],953760);var L=e.i(651023),D=e.i(345808),$="u">typeof document?L.useLayoutEffect:function(){};function j(e,t){let n,r,i;if(e===t)return!0;if(typeof e!=typeof t)return!1;if("function"==typeof e&&e.toString()===t.toString())return!0;if(e&&t&&"object"==typeof e){if(Array.isArray(e)){if((n=e.length)!==t.length)return!1;for(r=n;0!=r--;)if(!j(e[r],t[r]))return!1;return!0}if((n=(i=Object.keys(e)).length)!==Object.keys(t).length)return!1;for(r=n;0!=r--;)if(!({}).hasOwnProperty.call(t,i[r]))return!1;for(r=n;0!=r--;){let n=i[r];if(("_owner"!==n||!e.$$typeof)&&!j(e[n],t[n]))return!1}return!0}return e!=e&&t!=t}function V(e){return"u"<typeof window?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function H(e,t){let n=V(e);return Math.round(t*n)/n}function N(e){let t=L.useRef(e);return $(()=>{t.current=e}),t}e.s(["x",0,(e,t)=>{let n=P(e);return{name:n.name,fn:n.fn,options:[e,t]}},"c",0,(e,t)=>{let n=A(e);return{name:n.name,fn:n.fn,options:[e,t]}},"n",0,(e,t)=>({fn:k(e).fn,options:[e,t]}),"T",0,(e,t)=>{let n=C(e);return{name:n.name,fn:n.fn,options:[e,t]}},"e",0,(e,t)=>{let n=O(e);return{name:n.name,fn:n.fn,options:[e,t]}},"o",0,(e,t)=>{let n=I(e);return{name:n.name,fn:n.fn,options:[e,t]}},"E",0,function(e){void 0===e&&(e={});let{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:i,elements:{reference:o,floating:l}={},transform:s=!0,whileElementsMounted:u,open:a}=e,[c,f]=L.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[d,p]=L.useState(r);j(d,r)||p(r);let[h,g]=L.useState(null),[m,v]=L.useState(null),y=L.useCallback(e=>{e!==x.current&&(x.current=e,g(e))},[]),b=L.useCallback(e=>{e!==S.current&&(S.current=e,v(e))},[]),w=o||h,E=l||m,x=L.useRef(null),S=L.useRef(null),R=L.useRef(c),T=null!=u,C=N(u),O=N(i),P=N(a),I=L.useCallback(()=>{if(!x.current||!S.current)return;let e={placement:t,strategy:n,middleware:d};O.current&&(e.platform=O.current),M(x.current,S.current,e).then(e=>{let t={...e,isPositioned:!1!==P.current};A.current&&!j(R.current,t)&&(R.current=t,D.flushSync(()=>{f(t)}))})},[d,t,n,O,P]);$(()=>{!1===a&&R.current.isPositioned&&(R.current.isPositioned=!1,f(e=>({...e,isPositioned:!1})))},[a]);let A=L.useRef(!1);$(()=>(A.current=!0,()=>{A.current=!1}),[]),$(()=>{if(w&&(x.current=w),E&&(S.current=E),w&&E){if(C.current)return C.current(w,E,I);I()}},[w,E,I,C,T]);let k=L.useMemo(()=>({reference:x,floating:S,setReference:y,setFloating:b}),[y,b]),B=L.useMemo(()=>({reference:w,floating:E}),[w,E]),_=L.useMemo(()=>{let e={position:n,left:0,top:0};if(!B.floating)return e;let t=H(B.floating,c.x),r=H(B.floating,c.y);return s?{...e,transform:"translate("+t+"px, "+r+"px)",...V(B.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:t,top:r}},[n,s,B.floating,c.x,c.y]);return L.useMemo(()=>({...c,update:I,refs:k,elements:B,floatingStyles:_}),[c,I,k,B,_])}],258950)},333848,e=>{"use strict";var t=e.i(229315);e.s(["f",()=>t.K])},343084,e=>{"use strict";let t=["top","right","bottom","left"],n=t.reduce((e,t)=>e.concat(t,t+"-start",t+"-end"),[]),r=Math.min,i=Math.max,o=Math.round,l=Math.floor,s={left:"right",right:"left",bottom:"top",top:"bottom"};function u(e){return e.split("-")[0]}function a(e){return e.split("-")[1]}function c(e){return"x"===e?"y":"x"}function f(e){return"y"===e?"height":"width"}function d(e){let t=e[0];return"t"===t||"b"===t?"y":"x"}function p(e){return c(d(e))}function h(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}let g=["left","right"],m=["right","left"],v=["top","bottom"],y=["bottom","top"];function b(e){let t=u(e);return s[t]+e.slice(t.length)}e.s(["O",0,function(e,t,n){return i(e,r(t,n))},"I",0,e=>({x:e,y:e}),"h",0,function(e,t){return"function"==typeof e?e(t):e},"w",0,l,"R",0,a,"i",0,p,"N",0,function(e,t,n){void 0===n&&(n=!1);let r=a(e),i=p(e),o=f(i),l="x"===i?r===(n?"end":"start")?"right":"left":"start"===r?"bottom":"top";return t.reference[o]>t.floating[o]&&(l=b(l)),[l,b(l)]},"T",0,f,"P",0,function(e){let t=b(e);return[h(e),t,h(t)]},"o",0,h,"J",0,c,"K",0,function(e,t,n,r){let i=a(e),o=function(e,t,n){switch(e){case"top":case"bottom":if(n)return t?m:g;return t?g:m;case"left":case"right":return t?v:y;default:return[]}}(u(e),"start"===n,r);return i&&(o=o.map(e=>e+"-"+i),t&&(o=o.concat(o.map(h)))),o},"t",0,b,"j",0,function(e){return"number"!=typeof e?{top:0,right:0,bottom:0,left:0,...e}:{top:e,right:e,bottom:e,left:e}},"m",0,u,"$",0,d,"y",0,i,"u",0,r,"Z",0,n,"_",0,function(e){let{x:t,y:n,width:r,height:i}=e;return{width:r,height:i,top:n,left:t,right:t+r,bottom:n+i,x:t,y:n}},"H",0,o,"M",0,t])},397126,e=>{"use strict";var t='input:not([inert]):not([inert] *),select:not([inert]):not([inert] *),textarea:not([inert]):not([inert] *),a[href]:not([inert]):not([inert] *),button:not([inert]):not([inert] *),[tabindex]:not(slot):not([inert]):not([inert] *),audio[controls]:not([inert]):not([inert] *),video[controls]:not([inert]):not([inert] *),[contenteditable]:not([contenteditable="false"]):not([inert]):not([inert] *),details>summary:first-of-type:not([inert]):not([inert] *),details:not([inert]):not([inert] *)',n="u"<typeof Element,r=n?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,i=!n&&Element.prototype.getRootNode?function(e){var t;return null==e||null==(t=e.getRootNode)?void 0:t.call(e)}:function(e){return null==e?void 0:e.ownerDocument},o=function(e,t){void 0===t&&(t=!0);var n,r=null==e||null==(n=e.getAttribute)?void 0:n.call(e,"inert");return""===r||"true"===r||t&&e&&("function"==typeof e.closest?e.closest("[inert]"):o(e.parentNode))},l=function(e){var t,n=null==e||null==(t=e.getAttribute)?void 0:t.call(e,"contenteditable");return""===n||"true"===n},s=function(e,n,i){if(o(e))return[];var l=Array.prototype.slice.apply(e.querySelectorAll(t));return n&&r.call(e,t)&&l.unshift(e),l=l.filter(i)},u=function(e,n,i){for(var l=[],s=Array.from(e);s.length;){var a=s.shift();if(!o(a,!1))if("SLOT"===a.tagName){var c=a.assignedElements(),f=u(c.length?c:a.children,!0,i);i.flatten?l.push.apply(l,f):l.push({scopeParent:a,candidates:f})}else{r.call(a,t)&&i.filter(a)&&(n||!e.includes(a))&&l.push(a);var d=a.shadowRoot||"function"==typeof i.getShadowRoot&&i.getShadowRoot(a),p=!o(d,!1)&&(!i.shadowRootFilter||i.shadowRootFilter(a));if(d&&p){var h=u(!0===d?a.children:d.children,!0,i);i.flatten?l.push.apply(l,h):l.push({scopeParent:a,candidates:h})}else s.unshift.apply(s,a.children)}}return l},a=function(e){return!isNaN(parseInt(e.getAttribute("tabindex"),10))},c=function(e){if(!e)throw Error("No node provided");return e.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName)||l(e))&&!a(e)?0:e.tabIndex},f=function(e,t){var n=c(e);return n<0&&t&&!a(e)?0:n},d=function(e,t){return e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex},p=function(e){return"INPUT"===e.tagName},h=function(e,t){for(var n=0;n<e.length;n++)if(e[n].checked&&e[n].form===t)return e[n]},g=function(e){if(!e.name)return!0;var t,n=e.form||i(e),r=function(e){return n.querySelectorAll('input[type="radio"][name="'+e+'"]')};if("u">typeof window&&void 0!==window.CSS&&"function"==typeof window.CSS.escape)t=r(window.CSS.escape(e.name));else try{t=r(e.name)}catch(e){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",e.message),!1}var o=h(t,e.form);return!o||o===e},m=function(e){return p(e)&&"radio"===e.type&&!g(e)},v=function(e){var t,n,r,o,l,s,u,a=e&&i(e),c=null==(t=a)?void 0:t.host,f=!1;if(a&&a!==e)for(f=!!(null!=(n=c)&&null!=(r=n.ownerDocument)&&r.contains(c)||null!=e&&null!=(o=e.ownerDocument)&&o.contains(e));!f&&c;)f=!!(null!=(s=c=null==(l=a=i(c))?void 0:l.host)&&null!=(u=s.ownerDocument)&&u.contains(c));return f},y=function(e){var t=e.getBoundingClientRect(),n=t.width,r=t.height;return 0===n&&0===r},b=function(e,t){var n=t.displayCheck,o=t.getShadowRoot;if("full-native"===n&&"checkVisibility"in e)return!e.checkVisibility({checkOpacity:!1,opacityProperty:!1,contentVisibilityAuto:!0,visibilityProperty:!0,checkVisibilityCSS:!0});if("hidden"===getComputedStyle(e).visibility)return!0;var l=r.call(e,"details>summary:first-of-type")?e.parentElement:e;if(r.call(l,"details:not([open]) *"))return!0;if(n&&"full"!==n&&"full-native"!==n&&"legacy-full"!==n){if("non-zero-area"===n)return y(e)}else{if("function"==typeof o){for(var s=e;e;){var u=e.parentElement,a=i(e);if(u&&!u.shadowRoot&&!0===o(u))return y(e);e=e.assignedSlot?e.assignedSlot:u||a===e.ownerDocument?u:a.host}e=s}if(v(e))return!e.getClientRects().length;if("legacy-full"!==n)return!0}return!1},w=function(e){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(e.tagName))for(var t=e.parentElement;t;){if("FIELDSET"===t.tagName&&t.disabled){for(var n=0;n<t.children.length;n++){var i=t.children.item(n);if("LEGEND"===i.tagName)return!!r.call(t,"fieldset[disabled] *")||!i.contains(e)}return!0}t=t.parentElement}return!1},E=function(e,t){return!(t.disabled||p(t)&&"hidden"===t.type||b(t,e)||"DETAILS"===t.tagName&&Array.prototype.slice.apply(t.children).some(function(e){return"SUMMARY"===e.tagName})||w(t))},x=function(e,t){return!(m(t)||0>c(t))&&!!E(e,t)},S=function(e){var t=parseInt(e.getAttribute("tabindex"),10);return!!isNaN(t)||!!(t>=0)},R=function(e){var t=[],n=[];return e.forEach(function(e,r){var i=!!e.scopeParent,o=i?e.scopeParent:e,l=f(o,i),s=i?R(e.candidates):o;0===l?i?t.push.apply(t,s):t.push(o):n.push({documentOrder:r,tabIndex:l,item:e,isScope:i,content:s})}),n.sort(d).reduce(function(e,t){return t.isScope?e.push.apply(e,t.content):e.push(t.content),e},[]).concat(t)};e.s(["J",0,function(e,t){return(t=t||{}).getShadowRoot?u([e],t.includeContainer,{filter:E.bind(null,t),flatten:!0,getShadowRoot:t.getShadowRoot}):s(e,t.includeContainer,E.bind(null,t))},"m",0,function(e,n){if(n=n||{},!e)throw Error("No node provided");return!1!==r.call(e,t)&&x(n,e)},"T",0,function(e,t){return R((t=t||{}).getShadowRoot?u([e],t.includeContainer,{filter:x.bind(null,t),flatten:!1,getShadowRoot:t.getShadowRoot,shadowRootFilter:S}):s(e,t.includeContainer,x.bind(null,t)))}])},755838,(e,t,n)=>{"use strict";var r=e.r(651023),i="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},o=r.useState,l=r.useEffect,s=r.useLayoutEffect,u=r.useDebugValue;function a(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!i(e,n)}catch(e){return!0}}var c="u"<typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t){return t()}:function(e,t){var n=t(),r=o({inst:{value:n,getSnapshot:t}}),i=r[0].inst,c=r[1];return s(function(){i.value=n,i.getSnapshot=t,a(i)&&c({inst:i})},[e,n,t]),l(function(){return a(i)&&c({inst:i}),e(function(){a(i)&&c({inst:i})})},[e]),u(n),n};n.useSyncExternalStore=void 0!==r.useSyncExternalStore?r.useSyncExternalStore:c},752822,(e,t,n)=>{"use strict";var r=e.r(651023),i=e.r(802239),o="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},l=i.useSyncExternalStore,s=r.useRef,u=r.useEffect,a=r.useMemo,c=r.useDebugValue;n.useSyncExternalStoreWithSelector=function(e,t,n,r,i){var f=s(null);if(null===f.current){var d={hasValue:!1,value:null};f.current=d}else d=f.current;var p=l(e,(f=a(function(){function e(e){if(!u){if(u=!0,l=e,e=r(e),void 0!==i&&d.hasValue){var t=d.value;if(i(t,e))return s=t}return s=e}if(t=s,o(l,e))return t;var n=r(e);return void 0!==i&&i(t,n)?(l=e,t):(l=e,s=n)}var l,s,u=!1,a=void 0===n?null:n;return[function(){return e(t())},null===a?void 0:function(){return e(a())}]},[t,n,r,i]))[0],f[1]);return u(function(){d.hasValue=!0,d.value=p},[p]),c(p),p}},802239,(e,t,n)=>{"use strict";e.i(189036),t.exports=e.r(755838)},430224,(e,t,n)=>{"use strict";e.i(189036),t.exports=e.r(752822)}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,107141,e=>{"use strict";var t=e.i(651023),n=e.i(537097);let r="__placeholder__";e.s(["f",0,function(e,s=1){let i=(0,n.useParams)()[e];return(0,t.useMemo)(()=>{if(i!==r)return i;let e=window.location.pathname.split("/").filter(Boolean),t=e[e.length-s];return t&&t!==r?t:null},[i,s])}])},312056,e=>{"use strict";var t=e.i(974265),n=e.i(651023),r=e.i(537097);let s=(0,n.createContext)(null);function i(){return window.location.pathname}e.s(["AppNavigationProvider",0,function({children:e}){let[l,a]=(0,n.useState)(i),o=(0,n.useRef)(l);(0,n.useEffect)(()=>{o.current=l},[l]);let u=(0,r.usePathname)(),[d,c]=(0,n.useState)(u);u!==d&&(c(u),u!==l&&a(u));let f=(0,n.useCallback)(e=>{e!==o.current&&(a(e),window.history.pushState(null,"",e))},[]);(0,n.useEffect)(()=>{function e(){a(window.location.pathname)}return window.addEventListener("popstate",e),()=>window.removeEventListener("popstate",e)},[]);let h=(0,n.useMemo)(()=>({currentPath:l,navigate:f}),[l,f]);return(0,t.jsx)(s.Provider,{value:h,children:e})},"useAppNavigation",0,function(){let e=(0,n.useContext)(s);if(!e)throw Error("useAppNavigation must be used within <AppNavigationProvider>");return e}])},683738,e=>{"use strict";var t=e.i(651023),n=e.i(312056);let r=/^\/runs\/(.+)/;e.s(["f",0,function(){let{currentPath:e,navigate:s}=(0,n.useAppNavigation)(),i=r.test(e);return{activeRunId:i?e.match(r)?.[1]??null:null,isExecutionZone:i,navigateToRun:(0,t.useCallback)(e=>{s(`/runs/${e}`)},[s])}}])},705450,e=>{"use strict";var t=e.i(142245),n=e.i(57897),r=e.i(274217),s=e.i(971811),i=e.i(647767);function l(e,t,r,s){return t.$typeName==e.typeName&&r.$typeName==e.typeName&&(t===r||a((0,n.v)(e,t),(0,n.v)(e,r),s))}function a(e,n,a){if("google.protobuf.Any"===e.desc.typeName&&(null==a?void 0:a.unpackAny)==!0)return function(e,n,i){if(e.typeUrl!==n.typeUrl)return!1;let a=(0,s.Z)(e,i.registry),o=(0,s.Z)(n,i.registry);if(a&&o){let e=i.registry.getMessage(a.$typeName);if(e)return l(e,a,o,i)}return(0,t.F)(r.f.BYTES,e.value,n.value)}(e.message,n.message,a);for(let t of e.fields)if(!o(t,e,n,a))return!1;return((null==a?void 0:a.unknown)!=!0||!!function(e,n,s){function i(e,t){var n;let r=null!=(n=e.getUnknown())?n:[];return t?r.filter(n=>!t.getExtensionFor(e.desc,n.no)):r}let l=i(e,s),a=i(n,s);if(l.length!=a.length)return!1;for(let e=0;e<l.length;e++){let n=l[e],s=a[e];if(n.no!=s.no||n.wireType!=s.wireType||!(0,t.F)(r.f.BYTES,n.data,s.data))return!1}return!0}(e,n,a.registry))&&((null==a?void 0:a.extensions)!=!0||!!function(e,t,n){function r(e,t){var n;return(null!=(n=e.getUnknown())?n:[]).map(n=>t.getExtensionFor(e.desc,n.no)).filter(e=>void 0!=e).filter((e,t,n)=>n.indexOf(e)===t)}let s=r(e,n.registry),l=r(t,n.registry);if(s.length!=l.length||s.some(e=>!l.includes(e)))return!1;for(let r of s){let[s,l]=(0,i.F)(r,(0,i.h)(e.message,r)),[a]=(0,i.F)(r,(0,i.h)(t.message,r));if(!o(l,s,a,n))return!1}return!0}(e,n,a))}function o(e,n,r,s){if(!n.isSet(e)&&!r.isSet(e))return!0;if(!n.isSet(e)||!r.isSet(e))return!1;switch(e.fieldKind){case"scalar":return(0,t.F)(e.scalar,n.get(e),r.get(e));case"enum":return n.get(e)===r.get(e);case"message":return a(n.get(e),r.get(e),s);case"map":{let i=n.get(e),l=r.get(e),o=[];for(let e of i.keys()){if(!l.has(e))return!1;o.push(e)}for(let e of l.keys())if(!i.has(e))return!1;for(let n of o){let r=i.get(n),o=l.get(n);if(r!==o)switch(e.mapKind){case"enum":return!1;case"message":if(!a(r,o,s))return!1;break;case"scalar":if(!(0,t.F)(e.scalar,r,o))return!1}}break}case"list":{let i=n.get(e),l=r.get(e);if(i.size!=l.size)return!1;for(let n=0;n<i.size;n++){let r=i.get(n),o=l.get(n);if(r!==o)switch(e.listKind){case"enum":return!1;case"message":if(!a(r,o,s))return!1;break;case"scalar":if(!(0,t.F)(e.scalar,r,o))return!1}}}}return!0}e.s(["f",0,l])},531245,e=>{"use strict";let t=(0,e.i(475254).f)("bot",[["path",{d:"M12 8V4H8",key:"hb8ula"}],["rect",{width:"16",height:"12",x:"4",y:"8",rx:"2",key:"enze0r"}],["path",{d:"M2 14h2",key:"vft8re"}],["path",{d:"M20 14h2",key:"4cs60a"}],["path",{d:"M15 13v2",key:"1xurst"}],["path",{d:"M9 13v2",key:"rq6x2g"}]]);e.s(["f",0,t],531245)},63209,e=>{"use strict";let t=(0,e.i(475254).f)("circle-alert",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]]);e.s(["f",0,t],63209)},966992,e=>{"use strict";let t=(0,e.i(475254).f)("cpu",[["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M17 20v2",key:"1rnc9c"}],["path",{d:"M17 2v2",key:"11trls"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M2 17h2",key:"7oei6x"}],["path",{d:"M2 7h2",key:"asdhe0"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"M20 17h2",key:"1fpfkl"}],["path",{d:"M20 7h2",key:"1o8tra"}],["path",{d:"M7 20v2",key:"4gnj0m"}],["path",{d:"M7 2v2",key:"1i4yhu"}],["rect",{x:"4",y:"4",width:"16",height:"16",rx:"2",key:"1vbyd7"}],["rect",{x:"8",y:"8",width:"8",height:"8",rx:"1",key:"z9xiuo"}]]);e.s(["f",0,t],966992)},227516,221345,649582,e=>{"use strict";var t=e.i(475254);let n=(0,t.f)("history",[["path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"1357e3"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}],["path",{d:"M12 7v5l4 2",key:"1fdv2h"}]]);e.s(["f",0,n],227516);let r=(0,t.f)("link",[["path",{d:"M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71",key:"1cjeqo"}],["path",{d:"M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71",key:"19qd67"}]]);e.s(["f",0,r],221345);let s=(0,t.f)("sliders-horizontal",[["path",{d:"M10 5H3",key:"1qgfaw"}],["path",{d:"M12 19H3",key:"yhmn1j"}],["path",{d:"M14 3v4",key:"1sua03"}],["path",{d:"M16 17v4",key:"1q0r14"}],["path",{d:"M21 12h-9",key:"1o4lsq"}],["path",{d:"M21 19h-5",key:"1rlt1p"}],["path",{d:"M21 5h-7",key:"1oszz2"}],["path",{d:"M8 10v4",key:"tgpxqk"}],["path",{d:"M8 12H3",key:"a7s4jb"}]]);e.s(["f",0,s],649582)},686311,e=>{"use strict";let t=(0,e.i(475254).f)("message-square",[["path",{d:"M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z",key:"18887p"}]]);e.s(["f",0,t],686311)},367240,e=>{"use strict";let t=(0,e.i(475254).f)("rotate-ccw",[["path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"1357e3"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}]]);e.s(["f",0,t],367240)},284614,e=>{"use strict";let t=(0,e.i(475254).f)("user",[["path",{d:"M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2",key:"975kel"}],["circle",{cx:"12",cy:"7",r:"4",key:"17ys0d"}]]);e.s(["f",0,t],284614)},37727,e=>{"use strict";let t=(0,e.i(475254).f)("x",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);e.s(["X",0,t],37727)},400019,e=>{"use strict";var t=e.i(651023),n=e.i(781836),r=e.i(616701);e.s(["f",0,function(e,s,i,l){let{data:a,isLoading:o,isRefetching:u,error:d,refetch:c}=(0,r.f)(null===e?null:async()=>e(""),s,null,l),[f,h]=(0,t.useState)(null),[g,p]=(0,t.useState)(!1),[m,v]=(0,t.useState)(null),y=(0,t.useRef)(0),x=(0,t.useRef)(!1);(0,t.useEffect)(()=>{y.current+=1,x.current=!1,h(null),p(!1),v(null)},s);let k=(0,t.useMemo)(()=>{let e=new Set,t=[];for(let n of[...a?.entries??[],...f?.rows??[]]){let r=i(n);e.has(r)||(e.add(r),t.push(n))}return t},[a,f]),b=null!==f?f.nextPageToken:a?.nextPageToken??"",w=(0,t.useRef)(e);w.current=e;let j=(0,t.useRef)(i);j.current=i;let M=(0,t.useRef)(k);M.current=k;let N=(0,t.useRef)(b);N.current=b;let C=(0,t.useRef)(f);C.current=f;let P=(0,t.useCallback)(()=>{let e=w.current,t=N.current;if(null===e||""===t||x.current)return;x.current=!0;let r=y.current,s=M.current;p(!0),v(null),(async()=>{try{let n=[],i=C.current?.pages??0,l=t;for(let t=0;t<5;t++){i+=1;let t=await e(l);if(n.push(...t.entries),l=t.nextPageToken,n.length>0||""===l)break}if(y.current!==r)return;let a=j.current,o=new Set(s.map(a));h({rows:[...s,...n.filter(e=>!o.has(a(e)))],nextPageToken:l,pages:i})}catch(e){if(y.current!==r)return;v((0,n.f)(e))}finally{y.current===r&&(x.current=!1,p(!1))}})()},[]),T=(0,t.useCallback)(()=>{c();let e=w.current,t=C.current;if(null===e||null===t)return;let r=y.current;(async()=>{try{let n=[],s="";for(let r=0;r<=t.pages;r++){let t=await e(s);if(n.push(...t.entries),s=t.nextPageToken,""===s)break}if(y.current!==r||C.current!==t)return;h({rows:n,nextPageToken:s,pages:t.pages})}catch(e){if(y.current!==r)return;v((0,n.f)(e))}})()},[c]);return(0,t.useMemo)(()=>({items:k,firstPage:a,hasMore:""!==b,loadMore:P,isLoadingMore:g,loadMoreError:m,isLoading:o,isRefetching:u,error:d,refetch:T}),[k,a,b,P,g,m,o,u,d,T])}])},19395,e=>{"use strict";class t{diff(e,t,n={}){let r;"function"==typeof n?(r=n,n={}):"callback"in n&&(r=n.callback);let s=this.castInput(e,n),i=this.castInput(t,n),l=this.removeEmpty(this.tokenize(s,n)),a=this.removeEmpty(this.tokenize(i,n));return this.diffWithOptionsObj(l,a,n,r)}diffWithOptionsObj(e,t,n,r){var s;let i=e=>(e=this.postProcess(e,n),r)?void setTimeout(function(){r(e)},0):e,l=t.length,a=e.length,o=1,u=l+a;null!=n.maxEditLength&&(u=Math.min(u,n.maxEditLength));let d=null!=(s=n.timeout)?s:1/0,c=Date.now()+d,f=[{oldPos:-1,lastComponent:void 0}],h=this.extractCommon(f[0],t,e,0,n);if(f[0].oldPos+1>=a&&h+1>=l)return i(this.buildValues(f[0].lastComponent,t,e));let g=-1/0,p=1/0,m=()=>{for(let r=Math.max(g,-o);r<=Math.min(p,o);r+=2){let s,o=f[r-1],u=f[r+1];o&&(f[r-1]=void 0);let d=!1;if(u){let e=u.oldPos-r;d=u&&0<=e&&e<l}let c=o&&o.oldPos+1<a;if(!d&&!c){f[r]=void 0;continue}if(s=!c||d&&o.oldPos<u.oldPos?this.addToPath(u,!0,!1,0,n):this.addToPath(o,!1,!0,1,n),h=this.extractCommon(s,t,e,r,n),s.oldPos+1>=a&&h+1>=l)return i(this.buildValues(s.lastComponent,t,e))||!0;f[r]=s,s.oldPos+1>=a&&(p=Math.min(p,r-1)),h+1>=l&&(g=Math.max(g,r+1))}o++};if(r)!function e(){setTimeout(function(){if(o>u||Date.now()>c)return r(void 0);m()||e()},0)}();else for(;o<=u&&Date.now()<=c;){let e=m();if(e)return e}}addToPath(e,t,n,r,s){let i=e.lastComponent;return i&&!s.oneChangePerToken&&i.added===t&&i.removed===n?{oldPos:e.oldPos+r,lastComponent:{count:i.count+1,added:t,removed:n,previousComponent:i.previousComponent}}:{oldPos:e.oldPos+r,lastComponent:{count:1,added:t,removed:n,previousComponent:i}}}extractCommon(e,t,n,r,s){let i=t.length,l=n.length,a=e.oldPos,o=a-r,u=0;for(;o+1<i&&a+1<l&&this.equals(n[a+1],t[o+1],s);)o++,a++,u++,s.oneChangePerToken&&(e.lastComponent={count:1,previousComponent:e.lastComponent,added:!1,removed:!1});return u&&!s.oneChangePerToken&&(e.lastComponent={count:u,previousComponent:e.lastComponent,added:!1,removed:!1}),e.oldPos=a,o}equals(e,t,n){return n.comparator?n.comparator(e,t):e===t||!!n.ignoreCase&&e.toLowerCase()===t.toLowerCase()}removeEmpty(e){let t=[];for(let n=0;n<e.length;n++)e[n]&&t.push(e[n]);return t}castInput(e,t){return e}tokenize(e,t){return Array.from(e)}join(e){return e.join("")}postProcess(e,t){return e}get useLongestToken(){return!1}buildValues(e,t,n){let r,s=[];for(;e;)s.push(e),r=e.previousComponent,delete e.previousComponent,e=r;s.reverse();let i=s.length,l=0,a=0,o=0;for(;l<i;l++){let e=s[l];if(e.removed)e.value=this.join(n.slice(o,o+e.count)),o+=e.count;else{if(!e.added&&this.useLongestToken){let r=t.slice(a,a+e.count);r=r.map(function(e,t){let r=n[o+t];return r.length>e.length?r:e}),e.value=this.join(r)}else e.value=this.join(t.slice(a,a+e.count));a+=e.count,e.added||(o+=e.count)}}return s}}let n=new class extends t{constructor(){super(...arguments),this.tokenize=r}equals(e,t,n){return n.ignoreWhitespace?(n.newlineIsToken&&e.includes("\n")||(e=e.trim()),n.newlineIsToken&&t.includes("\n")||(t=t.trim())):n.ignoreNewlineAtEof&&!n.newlineIsToken&&(e.endsWith("\n")&&(e=e.slice(0,-1)),t.endsWith("\n")&&(t=t.slice(0,-1))),super.equals(e,t,n)}};function r(e,t){t.stripTrailingCr&&(e=e.replace(/\r\n/g,"\n"));let n=[],r=e.split(/(\n|\r\n)/);r[r.length-1]||r.pop();for(let e=0;e<r.length;e++){let s=r[e];e%2&&!t.newlineIsToken?n[n.length-1]+=s:n.push(s)}return n}e.s(["f",0,function(e,t,r=3){return(function(e,t,r){var s;let i;void 0===(i=r?"function"==typeof r?{callback:r}:r:{}).context&&(i.context=4);let l=i.context;if(i.newlineIsToken)throw Error("newlineIsToken may not be used with patch-generation functions, only with diffing functions");if(!i.callback)return a(n.diff(e,t,i));{let{callback:r}=i;s=Object.assign(Object.assign({},i),{callback:e=>{r(a(e))}}),n.diff(e,t,s)}function a(e){if(!e)return;function t(e){return e.map(function(e){return" "+e})}e.push({value:"",lines:[]});let n=[],r=0,s=0,i=[],a=1,o=1;for(let u=0;u<e.length;u++){let d=e[u],c=d.lines||function(e){let t=e.endsWith("\n"),n=e.split("\n").map(e=>e+"\n");return t?n.pop():n.push(n.pop().slice(0,-1)),n}(d.value);if(d.lines=c,d.added||d.removed){if(!r){let n=e[u-1];r=a,s=o,n&&(r-=(i=l>0?t(n.lines.slice(-l)):[]).length,s-=i.length)}for(let e of c)i.push((d.added?"+":"-")+e);d.added?o+=c.length:a+=c.length}else{if(r)if(c.length<=2*l&&u<e.length-2)for(let e of t(c))i.push(e);else{let e=Math.min(c.length,l);for(let n of t(c.slice(0,e)))i.push(n);let u={oldStart:r,oldLines:a-r+e,newStart:s,newLines:o-s+e,lines:i};n.push(u),r=0,s=0,i=[]}a+=c.length,o+=c.length}}for(let e of n)for(let t=0;t<e.lines.length;t++)e.lines[t].endsWith("\n")?e.lines[t]=e.lines[t].slice(0,-1):(e.lines.splice(t+1,0,"\"),t++);return{oldFileName:"a",newFileName:"b",oldHeader:"",newHeader:"",hunks:n}}})(e,t,{context:r}).hunks.map(e=>{let t=[],n=e.oldStart,r=e.newStart;for(let s of e.lines){if(s.startsWith("\\"))continue;let e=s[0],i=s.slice(1);"+"===e?(t.push({type:"added",content:i,newLineNumber:r}),r++):"-"===e?(t.push({type:"removed",content:i,oldLineNumber:n}),n++):(t.push({type:"context",content:i,oldLineNumber:n,newLineNumber:r}),n++,r++)}return{oldStart:e.oldStart,oldLines:e.oldLines,newStart:e.newStart,newLines:e.newLines,lines:t}})}],19395)},361353,e=>{"use strict";e.s(["f",0,function(e,t){let n=t??new Date,r=n.getTime()-e.getTime();if(r<6e4)return"now";let s=Math.floor(r/6e4);if(s<60)return`${s}m`;let i=Math.floor(s/60);if(i<24)return`${i}h`;let l=Math.floor(i/24);if(l<7)return`${l}d`;let a=e.getFullYear()===n.getFullYear();return e.toLocaleDateString(void 0,{month:"short",day:"numeric",...a?{}:{year:"numeric"}})}])},65642,e=>{"use strict";var t=e.i(974265),n=e.i(893976);let r={primary:"stg:bg-primary stg:text-primary-foreground stg:hover:bg-primary-hover",outline:"stg:border stg:border-border stg:text-foreground stg:hover:bg-accent-hover",ghost:"stg:text-foreground stg:hover:bg-accent-hover",destructive:"stg:bg-destructive stg:text-destructive-foreground stg:hover:bg-destructive-hover"},s={xs:"stg:px-2.5 stg:py-1 stg:text-xs",sm:"stg:px-3 stg:py-1.5 stg:text-xs"};e.s(["f",0,function({variant:e="primary",size:i="sm",icon:l,type:a="button",className:o,children:u,...d}){return(0,t.jsxs)("button",{type:a,className:(0,n.f)("stg:inline-flex stg:items-center stg:gap-1 stg:rounded-md stg:font-medium stg:transition-colors","stg:motion-reduce:transition-none","stg:focus-visible:outline-none stg:focus-visible:ring-2 stg:focus-visible:ring-ring","stg:disabled:pointer-events-none stg:disabled:opacity-50",s[i],r[e],o),...d,children:[l,u]})}])},996675,e=>{"use strict";var t=e.i(974265);e.s(["f",0,function({label:e,className:n,children:r}){return(0,t.jsxs)("div",{className:n,"aria-busy":"true",children:[e?(0,t.jsx)("span",{className:"stg:sr-only",children:e}):null,r]})}])},379410,e=>{"use strict";var t=e.i(974265),n=e.i(893976);e.s(["f",0,function({size:e=16,className:r}={}){return(0,t.jsx)("svg",{width:e,height:e,viewBox:"0 0 16 16",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",className:(0,n.f)("stg:animate-spin",r),"aria-hidden":"true",children:(0,t.jsx)("path",{d:"M8 2a6 6 0 1 0 6 6"})})}])},469196,e=>{"use strict";e.s(["f",0,function(e){let t=[];for(let n of[...e].sort((e,t)=>e.path.localeCompare(t.path))){let e=n.path.split("/");if(1===e.length)t.push({name:e[0],path:n.path});else{let r=t;for(let t=0;t<e.length-1;t++){let n=e[t],s=r.find(e=>e.name===n&&e.children);s||(s={name:n,path:e.slice(0,t+1).join("/")+"/",children:[]},r.push(s)),r=s.children}r.push({name:e[e.length-1],path:n.path})}}return t}])},364802,e=>{"use strict";var t=e.i(974265),n=e.i(651023),r=e.i(893976),s=e.i(188482);e.s(["f",0,function({text:e,className:i,side:l="top"}){let a=n.useRef(null),[o,u]=n.useState(!1),d=n.useCallback(e=>{var t;(!e||!a.current||(t=a.current).scrollWidth>t.clientWidth||t.scrollHeight>t.clientHeight)&&u(e)},[]);return(0,t.jsxs)(s.W,{open:o,onOpenChange:d,children:[(0,t.jsx)(s.y,{render:(0,t.jsx)("span",{ref:a,className:(0,r.f)("stg:block",i?.match(/(?:^|\s)stg:line-clamp-/)?void 0:"stg:truncate",i)}),children:e}),(0,t.jsx)(s.Y,{side:l,className:"stg:break-all",children:e})]})}])},582321,e=>{"use strict";var t=e.i(651023),n=e.i(610595),r=e.i(255817),s=e.i(781836),i=e.i(846696);function l(e){switch(e){case"agent":return"agent";case"skill":return"skill";case"routine":return"routine";case"plugin":return"plugin";case"environment":return"environment";case"file":return"file"}}e.s(["f",0,function(e,a,o){let u=(0,r.f)(),[d,c]=(0,t.useState)(!1),[f,h]=(0,t.useState)(null),g=(0,t.useCallback)(async()=>{if(a){c(!0),h(null);try{switch(e){case"agent":await u.agent.delete(a);break;case"skill":await u.skill.delete(a);break;case"routine":await u.routine.delete(a);break;case"plugin":await u.plugin.delete(a);break;case"environment":await u.environment.delete(a);break;case"file":await u.file.delete(a)}i.c.success(o?`${o} deleted`:`${l(e)} deleted`)}catch(r){let t=(0,s.f)(r);throw h(t),i.c.error(`Failed to delete ${l(e)}`,{description:(0,n.g)(t)}),t}finally{c(!1)}}},[u,e,a,o]);return(0,t.useMemo)(()=>({deleteResource:g,isDeleting:d,error:f}),[g,d,f])}])},676951,e=>{"use strict";var t=e.i(974265),n=e.i(893976);e.s(["f",0,function({fileCount:e,additions:r,deletions:s,className:i}){let l=1===e?"1 file changed":`${e} files changed`;return(0,t.jsxs)("div",{role:"status","aria-live":"polite",className:(0,n.f)("stg:flex stg:items-center stg:gap-2 stg:text-xs stg:text-muted-foreground",i),children:[(0,t.jsx)("span",{children:l}),r>0&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("span",{"aria-hidden":"true",children:"·"}),(0,t.jsxs)("span",{className:"stg:font-mono stg:text-diff-added-fg",children:["+",r," ",1===r?"addition":"additions"]})]}),s>0&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("span",{"aria-hidden":"true",children:"·"}),(0,t.jsxs)("span",{className:"stg:font-mono stg:text-diff-removed-fg",children:["-",s," ",1===s?"deletion":"deletions"]})]})]})}])},598529,e=>{"use strict";var t=e.i(974265),n=e.i(893976);function r({hunk:e,isFirst:n}){let i=`@@ -${e.oldStart},${e.oldLines} +${e.newStart},${e.newLines} @@`;return(0,t.jsxs)(t.Fragment,{children:[!n&&(0,t.jsx)("tr",{children:(0,t.jsx)("td",{colSpan:3,className:"stg:select-none stg:bg-diff-hunk-header-bg stg:px-3 stg:py-1 stg:text-2xs stg:text-diff-hunk-header-fg","aria-label":`Hunk: ${i}`,children:i})}),e.lines.map((e,n)=>(0,t.jsx)(s,{line:e},n))]})}function s({line:e}){let r="added"===e.type?"+":"removed"===e.type?"-":" ",i="added"===e.type?"stg:bg-diff-added-bg":"removed"===e.type?"stg:bg-diff-removed-bg":"",l="added"===e.type?"stg:text-diff-added-fg":"removed"===e.type?"stg:text-diff-removed-fg":"stg:text-muted-foreground-faint",a="added"===e.type?`Added line ${e.newLineNumber}: ${e.content}`:"removed"===e.type?`Removed line ${e.oldLineNumber}: ${e.content}`:void 0,o=e.newLineNumber??e.oldLineNumber;return(0,t.jsxs)("tr",{className:i,"aria-label":a,children:[(0,t.jsx)("td",{className:"stg:w-[1px] stg:min-w-10 stg:select-none stg:whitespace-nowrap stg:px-2 stg:text-right stg:text-2xs stg:text-muted-foreground-faint",children:o??""}),(0,t.jsx)("td",{className:(0,n.f)("stg:w-[1px] stg:select-none stg:px-1 stg:text-center",l),"aria-hidden":"true",children:r}),(0,t.jsx)("td",{className:"stg:whitespace-pre-wrap stg:break-all stg:px-2",children:e.content})]})}e.s(["f",0,function({hunks:e,filePath:s,className:i}){return 0===e.length?(0,t.jsx)("div",{role:"status",className:(0,n.f)("stg:flex stg:items-center stg:justify-center stg:py-8 stg:text-sm stg:text-muted-foreground",i),children:"No changes"}):(0,t.jsxs)("div",{className:(0,n.f)("stg:overflow-auto stg:rounded-lg stg:border stg:border-border stg:font-mono stg:text-xs stg:leading-[1.6]",i),children:[s&&(0,t.jsx)("div",{className:"stg:sticky stg:top-0 stg:z-10 stg:border-b stg:border-border stg:bg-muted stg:px-3 stg:py-1.5 stg:text-xs stg:font-medium stg:text-muted-foreground",children:s}),(0,t.jsxs)("table",{className:"stg:w-full stg:border-collapse",role:"table",children:[(0,t.jsx)("thead",{className:"stg:sr-only",children:(0,t.jsxs)("tr",{children:[(0,t.jsx)("th",{scope:"col",children:"Line"}),(0,t.jsx)("th",{scope:"col",children:"Change"}),(0,t.jsx)("th",{scope:"col",children:"Content"})]})}),(0,t.jsx)("tbody",{children:e.map((e,n)=>(0,t.jsx)(r,{hunk:e,isFirst:0===n},n))})]})]})}])},504788,e=>{"use strict";var t=e.i(170255);let n={[t.X.agent]:"agent",[t.X.skill]:"skill",[t.X.plugin]:"plugin",[t.X.vault]:"vault",[t.X.channel_app]:"channel app",[t.X.federation_issuer]:"federation issuer"};e.s(["$",0,function(e){return`deleted ${n[e]??"resource"}`},"Q",0,function(e){return null!=e&&""===e.slug&&""!==e.id}])}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,859448,75786,e=>{"use strict";var t=e.i(833811);let r="https://agent-plugins.org/schemas/1.0.0/plugin.schema.json",s="https://agent-plugins.org/schemas/1.0.0/mcp.schema.json",a={"agent-plugins":"plugin.json",claude:".claude-plugin/plugin.json",cursor:".cursor-plugin/plugin.json",codex:".codex-plugin/plugin.json"},n=e=>`'${e??""}'`,i=e=>void 0===e?"":` in ${n(e)}`,o={"no-manifest":()=>`no plugin manifest found: expected one of ${Object.values(a).map(e=>n(e)).join(", ")}`,"manifest-unreadable":e=>`manifest ${n(e.path)} is not valid JSON: ${e.detail??"parse error"}`,"manifest-schema-missing":e=>`manifest ${n(e.path)} is missing the required '$schema' field; an Agent Plugins manifest declares ${n(r)}`,"manifest-schema-unsupported":e=>`manifest ${n(e.path)} declares an unsupported '$schema' ${n(e.detail)}; this reader supports ${n(r)}`,"manifest-name-missing":e=>`manifest ${n(e.path)} is missing the required 'name' field`,"manifest-name-invalid":e=>`plugin name ${n(e.subject)}${i(e.path)} is invalid: 1 to 64 characters of lowercase letters, digits, hyphens and periods, starting and ending alphanumeric, with no '--' or '..'`,"manifest-name-conflict":e=>`manifests disagree on the plugin name: ${n(e.subject)} in ${n(e.path)} versus ${e.detail??"another manifest"}`,"manifest-field-type":e=>`field ${n(e.subject)}${i(e.path)} has the wrong type: expected ${e.detail??"a different type"}`,"path-not-relative":e=>`path ${n(e.subject)}${i(e.path)} must be plugin-relative and begin with './'`,"path-escapes-root":e=>`path ${n(e.subject)}${i(e.path)} escapes the plugin root`,"path-glob-unsupported":e=>`path ${n(e.subject)}${i(e.path)} is a glob pattern; declare directories and files by path`,"path-uncontained":e=>`the reader listed a path outside the plugin root: ${n(e.path)}`,"document-too-large":e=>`${n(e.path)} is ${e.subject??"too many"} bytes, over the ${e.detail??""}-byte limit for this kind of document`,"skill-frontmatter-missing":e=>`${n(e.path)} must start with YAML frontmatter ('---')`,"skill-frontmatter-unclosed":e=>`${n(e.path)} frontmatter is not closed (missing the closing '---')`,"skill-frontmatter-unreadable":e=>`${n(e.path)} frontmatter is not valid YAML: ${e.detail??"parse error"}`,"skill-name-invalid":e=>`skill name ${n(e.subject)}${i(e.path)} is invalid: lowercase letters, digits and hyphens, optionally dot-scoped, with every segment alphanumeric`,"skill-name-duplicate":e=>`skill name ${n(e.subject)} appears more than once (again${i(e.path)})`,"mcp-config-unreadable":e=>`MCP configuration ${n(e.path)} is not valid JSON: ${e.detail??"parse error"}`,"mcp-config-shape":e=>`MCP configuration ${n(e.path)} must be an object with an 'mcpServers' object`,"mcp-config-schema-missing":e=>`MCP configuration ${n(e.path)} is missing the required '$schema' field; an Agent Plugins configuration declares ${n(s)}`,"mcp-config-schema-unsupported":e=>`MCP configuration ${n(e.path)} declares an unsupported '$schema' ${n(e.detail)}; this reader supports ${n(s)}`,"mcp-config-field-unknown":e=>`MCP configuration ${n(e.path)} has an unexpected top-level field ${n(e.subject)}; only '$schema' and 'mcpServers' are allowed`,"mcp-server-shape":e=>`MCP server ${n(e.subject)}${i(e.path)} must be an object`,"mcp-server-type-missing":e=>`MCP server ${n(e.subject)}${i(e.path)} is missing the 'type' field the Agent Plugins format requires ('stdio', 'streamable-http' or 'sse')`,"mcp-server-transport-unknown":e=>`MCP server ${n(e.subject)}${i(e.path)} has no 'type' and neither a 'command' nor a 'url' to infer it from`,"mcp-server-type-ambiguous":e=>`MCP server ${n(e.subject)}${i(e.path)} declares both 'command' and 'url'; a server is either stdio or HTTP`,"mcp-server-type-unknown":e=>`MCP server ${n(e.subject)}${i(e.path)} has an unknown 'type' ${n(e.detail)}; expected 'stdio', 'http', 'streamable-http' or 'sse'`,"mcp-server-field-unknown":e=>`MCP server ${n(e.subject)}${i(e.path)} has a field ${n(e.detail)} that its transport does not define`,"mcp-server-field-type":e=>`MCP server ${n(e.subject)}${i(e.path)} field ${n(e.detail)} has the wrong type`,"mcp-server-url-missing":e=>`MCP server ${n(e.subject)}${i(e.path)} is missing the 'url' its HTTP transport requires`,"mcp-server-url-invalid":e=>`MCP server ${n(e.subject)}${i(e.path)} has an invalid 'url' ${n(e.detail)}: expected an absolute HTTPS URL (HTTP only for localhost) with no user information or fragment`,"mcp-server-url-variable":e=>`MCP server ${n(e.subject)}${i(e.path)} has a variable in its 'url'; Stigmer sends the URL as written, so write the URL out and put variables in 'headers'`,"mcp-server-command-missing":e=>`MCP server ${n(e.subject)}${i(e.path)} is missing the 'command' its stdio transport requires`,"mcp-server-command-invalid":e=>`MCP server ${n(e.subject)}${i(e.path)} has a 'command' that is not a single executable name; put arguments in 'args'`,"mcp-server-command-relative":e=>`MCP server ${n(e.subject)}${i(e.path)} runs a command bundled in the plugin ${n(e.detail)}; Stigmer runs only commands on the runner's PATH (for example 'npx' or 'uvx')`,"mcp-server-plugin-root-reference":e=>`MCP server ${n(e.subject)}${i(e.path)} references the plugin's own files through ${n(e.detail)}; Stigmer does not mount plugin files into the runner`,"mcp-server-cwd-unsupported":e=>`MCP server ${n(e.subject)}${i(e.path)} sets a working directory; Stigmer does not mount plugin files, so a bundled directory cannot be reached`,"mcp-server-env-literal":e=>`MCP server ${n(e.subject)}${i(e.path)} sets environment variable ${n(e.detail)} to a literal value; Stigmer passes declared variables by name, so write ${n(`${e.detail??"KEY"}: "$\{${e.detail??"KEY"}}"`)} and declare the variable`,"mcp-server-env-rename":e=>`MCP server ${n(e.subject)}${i(e.path)} maps environment variable ${n(e.detail)} to a differently named variable; Stigmer passes declared variables by name, so use the same name on both sides`,"mcp-server-name-duplicate":e=>`MCP server name ${n(e.subject)} appears more than once (again${i(e.path)})`,"mcp-server-header-duplicate":e=>`MCP server ${n(e.subject)}${i(e.path)} declares header ${n(e.detail)} more than once (header names are case-insensitive)`,"mcp-server-header-invalid":e=>`MCP server ${n(e.subject)}${i(e.path)} has an invalid header name ${n(e.detail)}`,"sub-agent-frontmatter-unreadable":e=>`${n(e.path)} frontmatter is not valid YAML: ${e.detail??"parse error"}`,"sub-agent-instructions-short":e=>`subagent ${n(e.subject)}${i(e.path)} has instructions under ${e.detail??""} characters; the body of the file is the subagent's prompt`,"sub-agent-name-duplicate":e=>`subagent name ${n(e.subject)} appears more than once (again${i(e.path)})`,"sub-agent-tool-list-invalid":e=>`subagent ${n(e.subject)}${i(e.path)} has a ${n(e.detail)} field that is neither a comma-separated string nor a list of strings`,"hooks-unreadable":e=>`hooks file ${n(e.path)} is not valid JSON: ${e.detail??"parse error"}`,"hooks-shape":e=>`hooks ${n(e.path)} are not in a shape Stigmer reads: ${e.detail??"unexpected shape"}`,"hook-command-missing":e=>`a hook${i(e.path)} on ${n(e.subject)} has no 'command'; a command hook names the command it runs`,"hook-matcher-invalid":e=>`a hook${i(e.path)} on ${n(e.subject)} has a matcher ${n(e.detail)} that is neither '*', a list of names, nor a valid regular expression`,"hook-condition-invalid":e=>`a hook${i(e.path)} on ${n(e.subject)} has an 'if' ${n(e.detail)} that is not a permission rule such as 'Bash' or 'Bash(git push *)'`,"settings-unreadable":e=>`plugin settings ${n(e.path)} are not valid JSON: ${e.detail??"parse error"}`,"variable-name-invalid":e=>`variable name ${n(e.subject)}${i(e.path)} is invalid: an environment variable name is letters, digits and underscores, not starting with a digit`},l={"manifest-field-unknown":e=>`manifest ${n(e.path)} has an unknown field ${n(e.subject)}, ignored`,"manifest-extensions-invalid":e=>`manifest ${n(e.path)} has an 'extensions' field that is not an object, ignored`,"path-missing":e=>`path ${n(e.subject)} declared${i(e.path)} does not exist in the plugin`,"skill-name-defaulted":e=>`${n(e.path)} has no 'name' in its frontmatter; the skill is named after its directory, ${n(e.subject)}`,"skill-name-differs-from-directory":e=>`skill ${n(e.subject)}${i(e.path)} is named differently from its directory ${n(e.detail)}`,"skill-description-missing":e=>`skill ${n(e.subject)}${i(e.path)} has no 'description'`,"mcp-config-field-ignored":e=>`MCP configuration ${n(e.path)} has a top-level field ${n(e.subject)} Stigmer does not read, ignored`,"mcp-server-sse-mapped":e=>`MCP server ${n(e.subject)}${i(e.path)} declares the legacy 'sse' transport; Stigmer connects over Streamable HTTP and falls back to SSE only when the server rejects it`,"mcp-server-field-ignored":e=>`MCP server ${n(e.subject)}${i(e.path)} has a field ${n(e.detail)} Stigmer does not read, ignored`,"mcp-server-auth-ignored":e=>`MCP server ${n(e.subject)}${i(e.path)} has an 'auth' block Stigmer does not read; a person signs in to a server at its address`,"variable-inferred":e=>`variable ${n(e.subject)} is referenced by MCP server ${n(e.detail)} but not declared; it is declared as a required secret`,"variable-unreferenced":e=>`variable ${n(e.subject)}${i(e.path)} is declared but no MCP server or hook references it`,"variable-default-dropped":e=>`variable ${n(e.subject)}${i(e.path)} has a default value, which Stigmer does not carry; the user supplies the value`,"variable-type-narrowed":e=>`variable ${n(e.subject)}${i(e.path)} is typed ${n(e.detail)}; Stigmer variables are strings`,"variable-option-dropped":e=>`variable ${n(e.subject)}${i(e.path)} has a ${n(e.detail)} constraint, which Stigmer does not carry`,"sub-agent-name-defaulted":e=>`${n(e.path)} has no 'name' in its frontmatter; the subagent is named after the file, ${n(e.subject)}`,"sub-agent-skill-unknown":e=>`subagent ${n(e.subject)}${i(e.path)} asks for skill ${n(e.detail)}, which the plugin does not ship`,"sub-agent-model-unknown":e=>`subagent ${n(e.subject)}${i(e.path)} names model ${n(e.detail)}, which is not a model alias Stigmer knows; the subagent runs on it only where the conversation's harness lists it as a model, else on the conversation's model`,"sub-agent-field-ignored":e=>`subagent ${n(e.subject)}${i(e.path)} has a field ${n(e.detail)} Stigmer does not read, ignored${d.has(e.detail??"")?"; Claude Code ignores it on a plugin's agents too":""}`,"hook-event-not-run":e=>`hooks${i(e.path)} on ${n(e.subject)} are not run on Stigmer, which reads hooks on tool calls only`,"hook-handler-not-run":e=>`a hook${i(e.path)} on ${n(e.subject)} is not run on Stigmer: ${e.detail??"unsupported handler"}`,"hook-field-ignored":e=>`hooks${i(e.path)}${void 0===e.subject?"":` on ${n(e.subject)}`} have a field ${n(e.detail)} Stigmer does not read, ignored`,"hooks-format-not-run":e=>`hooks${i(e.path)} are in ${e.detail??"another"} format and are not run, because the plugin's Claude Code hooks are`,"skill-hooks-not-run":e=>`skill ${n(e.subject)}${i(e.path)} declares hooks in its frontmatter, which Stigmer does not run`,"hooks-not-read":e=>`${e.path??"hooks/"} is not read: Stigmer reads hooks in the Claude Code, Codex and Cursor layouts`,"settings-agent-unknown":e=>`plugin settings${i(e.path)} name ${n(e.detail)} as the main agent, which is not one of the plugin's agents, ignored`,"settings-key-ignored":e=>`plugin settings${i(e.path)} have a key ${n(e.subject)} Stigmer does not apply, ignored`},d=new Set(["hooks","mcpServers","permissionMode","initialPrompt"]);class u{errorSentences;warningSentences;errors=[];warnings=[];constructor(e,t){this.errorSentences=e,this.warningSentences=t}error(e,t={}){this.errors.push(c(e,t,this.errorSentences[e](t)))}warn(e,t={}){this.warnings.push(c(e,t,this.warningSentences[e](t)))}}function c(e,t,r){return{kind:e,...void 0!==t.path&&{path:t.path},...void 0!==t.subject&&{subject:t.subject},...void 0!==t.detail&&{detail:t.detail},message:r}}e.s(["Q",0,r,"a",0,s,"k",0,u,"Y",0,class extends u{constructor(){super(o,l)}},"t",0,a,"R",0,i,"q",0,n],75786);var p=e.i(39182);let h=new Set(["$schema","mcpServers"]),m=new Set(["type","command","args","env","cwd"]),g=new Set(["type","url","headers"]),f=new Set(["type","command","args","env","cwd"]),v=new Set(["type","url","headers"]),$=/^[!#$%&'*+.^_`|~0-9A-Za-z-]+$/;function b(e){var t;let r;try{r=new URL(e)}catch{return!1}return""===r.username&&""===r.password&&""===r.hash&&("https:"===r.protocol||"http:"===r.protocol&&("localhost"===(t=r.hostname)||"[::1]"===t||"::1"===t||/^127\.\d{1,3}\.\d{1,3}\.\d{1,3}$/.test(t)))}function j(e,t){for(let r of(0,p.j)(e))t.add(r)}e.s(["t",0,b,"O",0,function(e,r,a){let n=[],i=new Set,o=0;for(let l of r){let r=function(e,r,a){let n="agent-plugins"===r.dialect;if("inline"===r.kind){let e=(0,t.F)(r.servers)?r.servers.mcpServers:void 0,s=(0,t.F)(e)?e:r.servers;return(0,t.F)(s)?{path:r.manifest,servers:s}:void a.error("mcp-config-shape",{path:r.manifest})}if(!e.has(r.path))return void a.warn("path-missing",{path:r.manifest,subject:`./${r.path}`});let i=(0,t._)(e,r.path,"mcpConfig",a);if(void 0===i)return;let o=(0,t.L)(i,r.path,"mcp-config-unreadable",a);if(void 0===o)return;if(n){let e=o.$schema;void 0===e?a.error("mcp-config-schema-missing",{path:r.path}):e!==s&&a.error("mcp-config-schema-unsupported",{path:r.path,detail:(0,t.O)(e)})}for(let[e]of(0,t.d)(o))h.has(e)||(n?a.error("mcp-config-field-unknown",{path:r.path,subject:e}):a.warn("mcp-config-field-ignored",{path:r.path,subject:e}));let l=o.mcpServers;return(0,t.F)(l)?{path:r.path,servers:l}:void a.error("mcp-config-shape",{path:r.path})}(e,l,a);if(void 0===r){o++;continue}for(let[e,s]of(0,t.d)(r.servers)){if(i.has(e)){a.error("mcp-server-name-duplicate",{subject:e,path:r.path}),o++;continue}i.add(e);let d=function(e,r,s,a,n){let i={subject:e,path:s};if(!(0,t.F)(r))return void n.error("mcp-server-shape",i);let o=function(e,t,r,s){let a=e.type;if(void 0!==a&&"string"!=typeof a)return void s.error("mcp-server-field-type",{...t,detail:"type"});if(void 0===a){if(r)return void s.error("mcp-server-type-missing",t);let a=void 0!==e.command,n=void 0!==e.url;return a&&n?void s.error("mcp-server-type-ambiguous",t):a?"stdio":n?"http":void s.error("mcp-server-transport-unknown",t)}switch(a){case"stdio":return"stdio";case"streamable-http":return"http";case"http":if(r)return void s.error("mcp-server-type-unknown",{...t,detail:a});return"http";case"sse":return s.warn("mcp-server-sse-mapped",t),"http";default:s.error("mcp-server-type-unknown",{...t,detail:a});return}}(r,i,a,n);if(void 0===o)return;let l="stdio"===o?a?m:f:a?g:v,d=new Set,u=!0;for(let[e,s]of(0,t.d)(r))if(!l.has(e))if(a)n.error("mcp-server-field-unknown",{...i,detail:e}),u=!1;else if("auth"===e)for(let e of(n.warn("mcp-server-auth-ignored",i),function e(r){return"string"==typeof r?[(0,p.n)(r)]:Array.isArray(r)?r.flatMap(e):(0,t.F)(r)?Object.values(r).flatMap(e):[]}(s)))j(e,d);else n.warn("mcp-server-field-ignored",{...i,detail:e});if(u)return"stdio"===o?function(e,r,s,a,n){let i=!0,o=()=>{i=!1},l=r.command;if(void 0===l)n.error("mcp-server-command-missing",s),o();else if("string"!=typeof l)n.error("mcp-server-field-type",{...s,detail:"command"}),o();else{let e=(0,p.m)(l);void 0!==e?(n.error("mcp-server-plugin-root-reference",{...s,detail:e}),o()):l.startsWith("./")?(n.error("mcp-server-command-relative",{...s,detail:l}),o()):(""===l||/\s/.test(l)||l.includes("/"))&&(n.error("mcp-server-command-invalid",s),o())}let d=[],u=r.args;if(void 0!==u)if((0,t.j)(u))for(let e of u){let t=(0,p.n)(e),r=(0,p.m)(t);if(void 0!==r){n.error("mcp-server-plugin-root-reference",{...s,detail:r}),o();continue}j(t,a),d.push(t)}else n.error("mcp-server-field-type",{...s,detail:"args"}),o();let c=r.env;if(void 0!==c)if((0,t.P)(c))for(let[e,t]of Object.entries(c)){if(p.N.has(e)){n.error("mcp-server-plugin-root-reference",{...s,detail:e}),o();continue}if(!p.g.test(e)){n.error("variable-name-invalid",{subject:e,path:s.path}),o();continue}let r=(0,p.n)(t),i=(0,p.m)(r);if(void 0!==i){n.error("mcp-server-plugin-root-reference",{...s,detail:i}),o();continue}let l=(0,p.V)(r);void 0===l?(n.error("mcp-server-env-literal",{...s,detail:e}),o()):l!==e?(n.error("mcp-server-env-rename",{...s,detail:e}),o()):a.add(e)}else n.error("mcp-server-field-type",{...s,detail:"env"}),o();if(void 0!==r.cwd&&(n.error("mcp-server-cwd-unsupported",s),o()),i&&"string"==typeof l)return{name:e,transport:"stdio",command:l,args:d,env:[...a].sort()}}(e,r,i,d,n):function(e,r,s,a,n){let i,o=!0,l=()=>{o=!1},d=r.url;if(void 0===d)n.error("mcp-server-url-missing",s),l();else if("string"!=typeof d)n.error("mcp-server-field-type",{...s,detail:"url"}),l();else{i=(0,p.n)(d);let e=(0,p.m)(i);void 0!==e?(n.error("mcp-server-plugin-root-reference",{...s,detail:e}),l()):(0,p.j)(i).length>0?(n.error("mcp-server-url-variable",s),l()):b(i)||(n.error("mcp-server-url-invalid",{...s,detail:i}),l())}let u=[],c=r.headers;if(void 0!==c)if((0,t.P)(c)){let e=new Set;for(let[t,r]of Object.entries(c)){if(!$.test(t)){n.error("mcp-server-header-invalid",{...s,detail:t}),l();continue}let i=t.toLowerCase();if(e.has(i)){n.error("mcp-server-header-duplicate",{...s,detail:t}),l();continue}e.add(i);let o=(0,p.n)(r),d=(0,p.m)(o);if(void 0!==d){n.error("mcp-server-plugin-root-reference",{...s,detail:d}),l();continue}j(o,a),u.push([t,o])}}else n.error("mcp-server-field-type",{...s,detail:"headers"}),l();if(o&&void 0!==i)return{name:e,transport:"http",url:i,headers:Object.fromEntries(u),env:[...a].sort()}}(e,r,i,d,n)}(e,s,r.path,"agent-plugins"===l.dialect,a);void 0!==d?n.push(d):o++}}return{servers:n,refused:o}}],859448)},758301,e=>{"use strict";var t=e.i(974265);e.s(["f",0,function({className:e}){return(0,t.jsxs)("svg",{className:e,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",children:[(0,t.jsx)("path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4"}),(0,t.jsx)("polyline",{points:"17 8 12 3 7 8"}),(0,t.jsx)("line",{x1:"12",y1:"3",x2:"12",y2:"15"})]})}])},830419,775106,816053,e=>{"use strict";var t=e.i(974265),r=e.i(651023),s=e.i(893976),a=e.i(65642),n=e.i(476007),i=e.i(468806),o=e.i(379410),l=e.i(427187),d=e.i(891287),u=e.i(44454),c=e.i(255817),p=e.i(781836);function h(){let e=(0,c.f)(),[t,s]=(0,r.useState)(!1),[a,n]=(0,r.useState)(null),i=(0,r.useCallback)(async(t,r)=>{s(!0),n(null);try{return{plugin:await e.plugin.push((0,d.f)(u.l,{org:r.org,artifact:t.archive,message:void 0===r.installedFrom?"upload"===t.origin.kind?"uploaded from the console":"installed from the console":`installed from marketplace '${r.installedFrom}'`,...void 0!==r.visibility&&{visibility:r.visibility}}))}}catch(t){let e=(0,p.f)(t);throw n(e),e}finally{s(!1)}},[e]),o=(0,r.useCallback)(()=>n(null),[]);return(0,r.useMemo)(()=>({install:i,isInstalling:t,error:a,clearError:o}),[i,t,a,o])}e.s(["f",0,h],775106);var m=e.i(616701),g=e.i(961378),f=e.i(910304);function v(e,t){let s=(0,c.f)(),a=e?.plugin.name??null,n=e?.digest??null,{data:i,isLoading:o,error:l,refetch:d}=(0,m.f)(a&&t?()=>s.plugin.getByReference({org:t,slug:a}).catch(e=>{if((0,f.c)(e))return null;throw e}):null,[a,t,s],void 0),u=(0,r.useMemo)(()=>void 0===i||null===n?null:null===i?"not-installed":i.status?.digest===n?"installed":"upgrade",[i,n]);return(0,r.useMemo)(()=>({installed:i??null,relation:u,isLoading:o,error:l,refetch:d}),[i,u,o,l,d])}e.s(["f",0,v],816053);var $=e.i(42592);function b({opened:e,entryName:s,sourceName:i,org:d,onClose:u,onInstalled:c}){let p,f,k,y=(0,$.b)(),{prepared:x,relation:w,isPreparing:C,error:S,refetch:P}=(p=e&&s?(0,g.b)(e.marketplace,s):void 0,k=v((f=(0,m.f)(e&&p?()=>(0,g._)(e,p):null,[e,p],null)).data,d),(0,r.useMemo)(()=>({prepared:f.data,installed:k.installed,relation:k.relation,isPreparing:f.isLoading||k.isLoading,error:f.error??k.error,refetch:f.refetch}),[f.data,f.isLoading,f.error,f.refetch,k])),{install:M,isInstalling:N,error:z,clearError:A}=h(),[T,O]=(0,r.useState)(null);(0,r.useEffect)(()=>{A(),O(null)},[s,A]);let L=(0,r.useCallback)(async()=>{if(x)try{let e=await M(x,{org:d,installedFrom:i});O(e),c?.(e)}catch{}},[x,M,d,i,c]),R="upgrade"===w?`Upgrade ${s}`:`Install ${s}`;return(0,t.jsxs)("div",{className:"stg:flex stg:flex-col stg:gap-5",children:[(0,t.jsx)("header",{className:"stg:flex stg:items-start stg:justify-between stg:gap-4",children:(0,t.jsxs)("div",{children:[(0,t.jsx)("h2",{className:"stg:text-base stg:font-semibold stg:text-foreground",children:R}),(0,t.jsxs)("p",{className:"stg:mt-0.5 stg:text-xs stg:text-muted-foreground",children:["From ",i," (",x?(0,l.G)(x.origin):e.tree.describe,") into ",y(d)]})]})}),C&&(0,t.jsxs)("div",{className:"stg:flex stg:items-center stg:gap-2 stg:text-sm stg:text-muted-foreground",role:"status",children:[(0,t.jsx)(o.f,{className:"stg:size-4"}),"Reading the plugin's files…"]}),S&&(0,t.jsx)(l.C,{error:S,retry:P}),x&&!C&&(0,t.jsx)(l.k,{prepared:x,relation:w}),z&&(0,t.jsx)(n.f,{error:z,title:"The server refused the install"}),T&&(0,t.jsxs)("div",{role:"status",className:"stg:rounded-md stg:border stg:border-border stg:bg-muted stg:p-3 stg:text-sm stg:text-foreground",children:["Installed plugin '",T.plugin.metadata?.slug,"' (",j(T),")."]}),(0,t.jsxs)("footer",{className:"stg:flex stg:justify-end stg:gap-2 stg:pt-1",children:[(0,t.jsx)(a.f,{variant:"outline",size:"sm",onClick:u,children:T?"Close":"Cancel"}),!T&&(0,t.jsx)(a.f,{variant:"primary",size:"sm",onClick:L,disabled:!x||C||N||"installed"===w,children:N?"Installing…":"upgrade"===w?"Upgrade":"Install"})]})]})}function j(e){let t=e.plugin.status,r=[[t?.skills.length??0,"skill"],[t?.mcpServers.length??0,"MCP server"],[t?.agents.length??0,"agent"]].filter(([e])=>e>0).map(([e,t])=>{var r,s;return r=e,s=t,`${r} ${s}${1===r?"":"s"}`});return(t?.hooks?.groups.length??0)>0&&r.push("hooks"),0===r.length?"nothing Stigmer runs":r.join(", ")}e.s(["H",0,function({opened:e,entryName:r,sourceName:a,org:n,open:o,onClose:l,onInstalled:d,className:u}){return o&&null!==e&&null!==r?(0,t.jsx)(i.f,{open:!0,onOpenChange:e=>{e||l()},width:"lg",className:(0,s.f)("stg:max-h-[85vh] stg:bg-card stg:text-foreground",u),"aria-label":`Install ${r}`,children:(0,t.jsx)("div",{className:"stg:flex stg:max-h-[85vh] stg:flex-col stg:overflow-y-auto stg:p-6",children:(0,t.jsx)(b,{opened:e,entryName:r,sourceName:a,org:n,onClose:l,onInstalled:d})})}):null},"A",0,j],830419)},563212,e=>{"use strict";var t=e.i(974265),r=e.i(651023),s=e.i(893976),a=e.i(65642),n=e.i(476007),i=e.i(379410),o=e.i(758301),l=e.i(427187),d=e.i(830419),u=e.i(775106),c=e.i(816053),p=e.i(229969),h=e.i(802087);function m(e){let t=null;for(let r of e){let e=r.indexOf("/");if(e<=0)return null;let s=r.slice(0,e);if(null===t)t=s;else if(t!==s)return null}return t}var g=e.i(321252),f=e.i(961378);class v extends Error{reason;constructor(e,t){super(e),this.reason=t,this.name="LocalPluginError"}}let $=[80,75,3,4];function b(e,t){if(0===t.length)throw new v(`'${e}' holds no files`,"empty");return{kind:"folder",name:e,candidates:t.map(({path:e,file:t})=>({path:e,size:t.size,read:async()=>new Uint8Array(await t.arrayBuffer())}))}}async function j(e){let t=new Uint8Array(await e.arrayBuffer());if(!$.every((e,r)=>t[r]===e))throw new v(`'${e.name}' is not a zip archive`,"not-a-zip");let r=Object.entries((0,p.unzipSync)(t)).filter(([e])=>!e.endsWith("/")&&!e.startsWith("__MACOSX/"));if(0===r.length)throw new v(`'${e.name}' holds no files`,"empty");let s=m(r.map(([e])=>e)),a=null===s?0:s.length+1;return{kind:"zip",name:e.name,candidates:r.map(([e,t])=>({path:e.slice(a),size:t.length,read:async()=>t})),...null!==s&&{rerooted:s}}}async function k(e){let t=await (0,h.X)(e.candidates,{respectGitignore:!0,maxBytes:g.$.pluginBytes});if(!t.ok)switch(t.kind){case"refused":throw new f.P(`'${e.name}' cannot be installed`,t.errors,t.warnings);case"too-large":throw new v(`'${e.name}' is ${(0,g.j)(t.selectedBytes)} of files after ignores, over the ${(0,g.j)(t.maxBytes)} a plugin archive may carry`,"too-large");default:return t}let{plugin:r,warnings:s,stats:a,archive:n,digest:i}=t.prepared;return{origin:{kind:"upload",pick:e.kind,name:e.name,...void 0!==e.rerooted&&{rerooted:e.rerooted}},plugin:r,warnings:s,stats:a,archive:n,digest:i}}let y=/\.zip$/i;async function x(e,t){let r=[],s=e.createReader();for(;;){let e=await new Promise((e,t)=>s.readEntries(e,t));if(0===e.length)break;for(let s of e){let e=""===t?s.name:`${t}/${s.name}`;if(s.isDirectory)r.push(...await x(s,e));else if(s.isFile){let t=await new Promise((e,t)=>s.file(e,t));r.push({path:e,file:t})}}}return r}var w=e.i(42592),C=e.i(311015);function S({className:e}){return(0,t.jsx)(C.f,{variant:"permission",title:"Only admins install plugins here",description:"Ask an admin of this organization to install the plugin; once installed, you can use it in your chats and agents.",className:e})}var P=e.i(962838);function M({org:e,onComplete:a,onCancel:n,className:i}){let o=function(){let[e,t]=(0,r.useState)({kind:"idle"}),s=(0,r.useCallback)(async(e,r,s)=>{t({kind:"preparing",name:r});try{let r=await k(await e());t({kind:"prepared",prepared:r})}catch(e){t({kind:"refused",error:e instanceof Error?e:Error(String(e)),pick:s})}},[]),a=(0,r.useCallback)(e=>{let t=e[0];return s(async()=>(function(e){let t=Array.from(e);if(0===t.length)throw new v("no files were picked","empty");let r=t.map(e=>({path:e.webkitRelativePath||e.name,file:e})),s=m(r.map(e=>e.path)),a=null===s?r:r.map(({path:e,file:t})=>({path:e.slice(s.length+1),file:t}));return b(s??"folder",a)})(e),t?.webkitRelativePath.split("/")[0]||"folder","folder")},[s]),n=(0,r.useCallback)(e=>s(()=>j(e),e.name,"zip"),[s]),i=(0,r.useCallback)(async(e,r)=>{let a=e[0]?.webkitGetAsEntry?.()??null;if(null!==a&&a.isDirectory)return s(async()=>b(a.name,await x(a,"")),a.name,"folder");let i=r[0];if(void 0!==i&&y.test(i.name))return n(i);t({kind:"refused",error:new v("drop a plugin folder or a .zip of one","empty"),pick:null})},[s,n]),o=(0,r.useCallback)(()=>t({kind:"idle"}),[]);return(0,r.useMemo)(()=>({phase:e,fromFolderInput:a,fromZip:n,fromDrop:i,reset:o}),[e,a,n,i,o])}();return(0,t.jsx)("div",{className:(0,s.f)("stg:flex stg:flex-col stg:gap-4",i),children:"prepared"===o.phase.kind?(0,t.jsx)(z,{prepared:o.phase.prepared,org:e,onBack:o.reset,onComplete:a}):(0,t.jsx)(N,{upload:o,onCancel:n})})}function N({upload:e,onCancel:n}){let[d,u]=(0,r.useState)(!1),c=(0,r.useRef)(null),p=(0,r.useRef)(null),{phase:h}=e,m="preparing"===h.kind,g=(0,r.useCallback)(t=>{t.preventDefault(),t.stopPropagation(),u(!1),e.fromDrop(t.dataTransfer.items,t.dataTransfer.files)},[e]);return(0,t.jsxs)("div",{className:"stg:flex stg:flex-col stg:gap-3",children:[(0,t.jsxs)("div",{onDragOver:e=>{e.preventDefault(),e.stopPropagation(),u(!0)},onDragLeave:e=>{e.preventDefault(),e.stopPropagation(),u(!1)},onDrop:g,"aria-label":"Upload a plugin",className:(0,s.f)("stg:flex stg:flex-col stg:items-center stg:justify-center stg:gap-3 stg:rounded-lg stg:border-2 stg:border-dashed stg:p-12 stg:transition-colors",d?"stg:border-primary stg:bg-muted-subtle":"stg:border-border",m&&"stg:pointer-events-none stg:opacity-60"),children:[(0,t.jsx)(o.f,{className:(0,s.f)("stg:size-10 stg:text-muted-foreground",d&&"stg:text-primary")}),m?(0,t.jsxs)("p",{className:"stg:flex stg:items-center stg:gap-2 stg:text-sm stg:font-medium stg:text-foreground",role:"status",children:[(0,t.jsx)(i.f,{className:"stg:size-4"}),"Reading ",h.name,"…"]}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("p",{className:"stg:text-sm stg:font-medium stg:text-foreground",children:"Drop a plugin folder or a .zip of one here"}),(0,t.jsxs)("div",{className:"stg:flex stg:gap-2",children:[(0,t.jsx)(a.f,{variant:"outline",size:"sm",onClick:()=>c.current?.click(),children:"Choose a folder"}),(0,t.jsx)(a.f,{variant:"outline",size:"sm",onClick:()=>p.current?.click(),children:"Choose a .zip"})]})]}),(0,t.jsx)("p",{className:"stg:mt-2 stg:text-2xs stg:text-muted-foreground-subtle",children:"A Cursor, Claude Code, Codex or Agent Plugins folder installs unchanged."}),(0,t.jsx)("input",{ref:e=>{c.current=e,e?.setAttribute("webkitdirectory","")},type:"file",multiple:!0,onChange:t=>{let{files:r}=t.target;r&&r.length>0&&e.fromFolderInput(r),t.target.value=""},className:"stg:hidden","aria-hidden":"true","data-testid":"plugin-folder-input"}),(0,t.jsx)("input",{ref:p,type:"file",accept:".zip",onChange:t=>{let r=t.target.files?.[0];r&&e.fromZip(r),t.target.value=""},className:"stg:hidden","aria-hidden":"true","data-testid":"plugin-zip-input"})]}),"refused"===h.kind&&(0,t.jsx)(l.C,{error:h.error,..."refused"===h.kind&&"folder"===h.pick&&h.error instanceof f.P&&h.error.errors.some(e=>"no-manifest"===e.kind)&&{hint:"No manifest was found in the folder. Some browsers leave out files and folders whose names begin with a dot when a folder is picked, and a Cursor or Claude Code plugin keeps its manifest in one; zip the folder and upload the .zip instead."}}),n&&(0,t.jsx)("div",{className:"stg:flex stg:justify-end",children:(0,t.jsx)(a.f,{variant:"outline",size:"sm",onClick:n,children:"Cancel"})})]})}function z({prepared:e,org:s,onBack:i,onComplete:o}){let p=(0,w.b)(),h=(0,c.f)(e,s),{install:m,isInstalling:g,error:f}=(0,u.f)(),[v,$]=(0,r.useState)(null),b=(0,r.useCallback)(async()=>{try{let t=await m(e,{org:s});$(t),o?.(t)}catch{}},[m,e,s,o]),j="upgrade"===h.relation?"Upgrade":"Install";return(0,t.jsxs)("div",{className:"stg:flex stg:flex-col stg:gap-5",children:[(0,t.jsxs)("header",{children:[(0,t.jsxs)("h2",{className:"stg:text-base stg:font-semibold stg:text-foreground",children:[j," ",e.plugin.name]}),(0,t.jsxs)("p",{className:"stg:mt-0.5 stg:text-xs stg:text-muted-foreground",children:["From ",(0,l.G)(e.origin)," into ",p(s),". The archive is rebuilt from the selected files, so its digest is the one `stigmer push plugin` prints for this folder."]})]}),(0,t.jsx)(l.k,{prepared:e,relation:h.relation}),h.error&&(0,t.jsx)(n.f,{error:h.error,title:"The organization could not be asked what it holds"}),f&&(0,t.jsx)(n.f,{error:f,title:"The server refused the install"}),v&&(0,t.jsxs)("div",{role:"status",className:"stg:rounded-md stg:border stg:border-border stg:bg-muted stg:p-3 stg:text-sm stg:text-foreground",children:["Installed plugin '",v.plugin.metadata?.slug,"' (",(0,d.A)(v),")."]}),(0,t.jsxs)("footer",{className:"stg:flex stg:justify-end stg:gap-2 stg:pt-1",children:[(0,t.jsx)(a.f,{variant:"outline",size:"sm",onClick:i,disabled:g,children:v?"Upload another":"Choose a different plugin"}),!v&&(0,t.jsx)(a.f,{variant:"primary",size:"sm",onClick:b,disabled:g||h.isLoading||"installed"===h.relation,children:g?"Installing…":j})]})]})}e.s(["f",0,function(e){let{allowed:r,isLoading:s}=(0,P.f)(e.org||null);return s?null:r?(0,t.jsx)(M,{...e}):(0,t.jsx)(S,{className:e.className})}],563212)},962838,e=>{"use strict";var t=e.i(651023),r=e.i(803874);e.s(["f",0,function(e){let{allowed:s,isLoading:a}=(0,r.f)(e?{kind:"organization",id:e}:null,"can_create_plugin",{fail:"closed"});return(0,t.useMemo)(()=>({allowed:!!e&&s,isLoading:!!e&&a}),[e,s,a])}])},853989,e=>{"use strict";var t=e.i(428665);let r={"claude-code":"Claude Code",cursor:"Cursor"},s=new Map([["PreToolUse","Before a tool call"],["PostToolUse","After a tool call"],["preToolUse","Before a tool call"],["postToolUse","After a tool call"],["beforeShellExecution","Before a shell command"],["beforeMCPExecution","Before an MCP tool call"],["afterMCPExecution","After an MCP tool call"]]);e.s(["L",0,r,"Z",0,function(e){return s.get(e)??null},"u",0,function(e){return e===t.W.CURSOR?"cursor":"claude-code"},"n",0,function(e){return""===e||"*"===e?"every tool":null},"R",0,function(e,t){let s=new Map;for(let e of t)s.set(e.event,(s.get(e.event)??0)+e.handlers.length);let a=[...s].map(([e,t])=>`${e} ${t}`).join(", ");return`${r[e]} format: ${a}`}])}]);
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,249953,e=>{"use strict";var s=e.i(974265),t=e.i(651023),i=e.i(19738),a=e.i(537097),r=e.i(961888),n=e.i(174886),l=e.i(778917),o=e.i(618393),d=e.i(223945),c=e.i(727612),u=e.i(569074),g=e.i(451241),m=e.i(784214),p=e.i(893976),h=e.i(65642),f=e.i(476007),x=e.i(468806),v=e.i(231666),b=e.i(346298),j=e.i(427187),y=e.i(961378),N=e.i(891287),w=e.i(44454),k=e.i(466531),C=e.i(802087),M=e.i(910304),$=e.i(255817),A=e.i(781836);async function P(e){let s,t,i,a,r,n=(0,k.R)((s=e.name.trim(),t=e.description?.trim()??"",i=Object.fromEntries(Object.entries(e.headers??{}).map(([e,s])=>[e.trim(),s.trim()]).filter(([e])=>""!==e)),a={name:s,...""!==t&&{description:t}},r={type:"http",url:e.url.trim(),...Object.keys(i).length>0&&{headers:i}},new Map([[".claude-plugin/plugin.json",`${JSON.stringify(a,null,2)}
|
|
2
|
+
`],[".mcp.json",`${JSON.stringify({mcpServers:{[s]:r}},null,2)}
|
|
3
|
+
`]]))),l=n.entries.reduce((e,s)=>e+s.size,0),o=await (0,C.y)({files:n,stats:{filesIncluded:n.entries.length,filesIgnored:0,dirsSkipped:0,totalSize:l}});if(!o.ok)throw new y.P(`'${e.name.trim()||"this server"}' cannot be added`,o.errors,o.warnings);return o.prepared}function S({org:e,open:i,onClose:a,onAdded:r,className:n}){let l=(0,t.useId)();return(0,s.jsx)(x.f,{open:i,onOpenChange:e=>{e||a()},width:"md",dismissOnBackdrop:!1,className:(0,p.f)("stg:max-h-[85vh] stg:bg-card stg:text-foreground",n),"aria-labelledby":l,children:i&&(0,s.jsx)(I,{org:e,titleId:l,onClose:a,onAdded:r})})}function I({org:e,titleId:i,onClose:a,onAdded:r}){let n=(0,t.useId)(),{add:l,isAdding:o,error:d}=function(){let e=(0,$.f)(),[s,i]=(0,t.useState)(!1),[a,r]=(0,t.useState)(null),n=(0,t.useCallback)(async(s,t)=>{i(!0),r(null);try{let i=await P(s);if(await e.plugin.getByReference({org:t.org,slug:i.plugin.name}).then(()=>!0,e=>{if((0,M.c)(e))return!1;throw e}))throw Error(`a plugin named '${i.plugin.name}' is installed already; choose another name, or open that plugin to use its servers`);return await e.plugin.push((0,N.f)(w.l,{org:t.org,artifact:i.archive,message:"added from the console's MCP server form",...void 0!==t.visibility&&{visibility:t.visibility}}))}catch(s){let e=s instanceof y.P?s:(0,A.f)(s);throw r(e),e}finally{i(!1)}},[e]),l=(0,t.useCallback)(()=>r(null),[]);return(0,t.useMemo)(()=>({add:n,isAdding:s,error:a,clearError:l}),[n,s,a,l])}(),[c,u]=(0,t.useState)(""),[g,m]=(0,t.useState)(""),[p,x]=(0,t.useState)(""),[k,C]=(0,t.useState)([]),S=""!==c.trim()&&""!==g.trim()&&!o;return(0,s.jsxs)("form",{onSubmit:s=>{s.preventDefault(),S&&l({name:c,url:g,description:p,headers:Object.fromEntries(k.map(e=>[e.key,e.value]))},{org:e}).then(e=>r?.(e),()=>void 0)},className:"stg:flex stg:max-h-[85vh] stg:flex-col stg:gap-4 stg:overflow-y-auto stg:p-6",children:[(0,s.jsxs)("header",{children:[(0,s.jsx)("h2",{id:i,className:"stg:text-base stg:font-semibold stg:text-foreground",children:"Add MCP server"}),(0,s.jsx)("p",{className:"stg:mt-0.5 stg:text-xs stg:text-muted-foreground",children:"Installs a plugin of this one server. A chat or an agent that uses the plugin gets the server's tools; if the server asks you to sign in, its plugin page says so."})]}),(0,s.jsxs)("div",{className:"stg:space-y-1",children:[(0,s.jsx)("label",{htmlFor:`${n}-name`,className:"stg:text-xs stg:font-medium stg:text-foreground",children:"Name"}),(0,s.jsx)("input",{id:`${n}-name`,value:c,onChange:e=>u(e.target.value),placeholder:"linear",autoComplete:"off",spellCheck:!1,disabled:o,className:v.c}),(0,s.jsx)("p",{className:"stg:text-xs stg:text-muted-foreground",children:"Lowercase letters, digits, dots and hyphens. The plugin is named after it."})]}),(0,s.jsxs)("div",{className:"stg:space-y-1",children:[(0,s.jsx)("label",{htmlFor:`${n}-url`,className:"stg:text-xs stg:font-medium stg:text-foreground",children:"URL"}),(0,s.jsx)("input",{id:`${n}-url`,type:"url",value:g,onChange:e=>m(e.target.value),placeholder:"https://mcp.linear.app/mcp",autoComplete:"off",spellCheck:!1,disabled:o,className:v.c})]}),(0,s.jsxs)("div",{className:"stg:space-y-1",children:[(0,s.jsxs)("label",{htmlFor:`${n}-description`,className:"stg:text-xs stg:font-medium stg:text-muted-foreground",children:["Description ",(0,s.jsx)("span",{className:"stg:text-muted-foreground-subtle",children:"(optional)"})]}),(0,s.jsx)("input",{id:`${n}-description`,value:p,onChange:e=>x(e.target.value),disabled:o,className:v.c})]}),(0,s.jsx)(b.I,{rows:k,onChange:C,disabled:o}),d instanceof y.P?(0,s.jsx)(j.C,{error:d}):d&&(0,s.jsx)(f.f,{error:d,title:"The server could not be added"}),(0,s.jsxs)("footer",{className:"stg:flex stg:justify-end stg:gap-2 stg:pt-1",children:[(0,s.jsx)(h.f,{type:"button",variant:"outline",size:"sm",onClick:a,disabled:o,children:"Cancel"}),(0,s.jsx)(h.f,{type:"submit",variant:"primary",size:"sm",disabled:!S,children:o?"Adding…":"Add"})]})]})}var z=e.i(610008),O=e.i(962838),R=e.i(810048),T=e.i(297629),F=e.i(885795),B=e.i(42592),D=e.i(966205),K=e.i(10337),L=e.i(846696),E=e.i(874792),U=e.i(170255);let H=[{id:"name",header:"Name",cell:e=>(0,s.jsx)("span",{className:"font-medium text-foreground",children:e.name||e.slug}),sortable:!0,flex:2},{id:"org",header:"Organization",cell:e=>(0,s.jsx)(F.f,{orgId:e.org,className:"text-muted-foreground"}),flex:1},{id:"description",header:"Description",cell:e=>(0,s.jsx)("span",{className:"line-clamp-1 text-muted-foreground",children:e.description||"—"}),flex:3}],V="inline-flex items-center gap-1.5 rounded-md border border-border px-3 py-1.5 font-medium text-foreground transition-colors hover:bg-muted focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring";function q({size:e,mayInstall:t,onAddMcpServer:a}){let r="sm"===e?"text-sm":"text-xs";return(0,s.jsxs)("div",{className:"flex flex-wrap items-center gap-2",children:[(0,s.jsxs)(i.default,{href:"/marketplace",className:`inline-flex items-center gap-1.5 rounded-md bg-primary px-3 py-1.5 font-medium text-primary-foreground transition-colors hover:bg-primary-hover focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring ${r}`,children:[(0,s.jsx)(d.f,{className:"size-3.5","aria-hidden":"true"}),"Browse Marketplace"]}),t&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)(i.default,{href:"/library/plugins/upload",className:`${V} ${r}`,children:[(0,s.jsx)(u.f,{className:"size-3.5","aria-hidden":"true"}),"Upload plugin"]}),(0,s.jsxs)("button",{type:"button",onClick:a,className:`${V} ${r}`,children:[(0,s.jsx)(o.f,{className:"size-3.5","aria-hidden":"true"}),"Add MCP server"]})]})]})}e.s(["PluginListPage",0,function(){let e=(0,T.x)(),i=(0,O.f)(e||null).allowed,o=(0,B.b)(),d=(0,$.f)(),{navigateToDetail:u}=(0,g.b)(),{confirmState:p,confirm:h,handleConfirm:f,handleCancel:x}=(0,D.f)(),v=(0,a.useSearchParams)(),[b,j]=(0,t.useState)(()=>v.get(m.l)===m.K),y=(0,t.useCallback)(()=>j(!0),[]),[N,w]=(0,t.useReducer)(e=>e+1,0),k=(0,t.useCallback)(async e=>{if(await h({title:`Remove ${e.name||e.slug}?`,description:"Removes the plugin and its versions. The server refuses while an agent of the organization uses it; a conversation that uses it fails its next message.",confirmLabel:"Remove",variant:"destructive"}))try{await d.plugin.delete(e.id),L.c.success(`${e.name||e.slug} removed`),w()}catch(e){L.c.error(e instanceof Error?e.message:"Failed to remove plugin")}},[h,d]),C=(0,t.useMemo)(()=>(0,E.f)(d,U.X.plugin),[d]);return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)("div",{className:"mb-6",children:[(0,s.jsx)("h1",{className:"text-foreground text-xl font-semibold",children:"Plugins"}),(0,s.jsx)("p",{className:"text-muted-foreground mt-1 text-sm",children:"What you have installed. A plugin is what you install; the agent it installs is what runs."})]}),(0,s.jsx)(z.f,{refetchToken:N,listFn:C,org:e,columns:H,defaultViewMode:"cards",viewModes:["table","cards"],viewModeStorageKey:"stigmer:workbench:plugins:viewMode",searchPlaceholder:"Search plugins…",emptyIcon:(0,s.jsx)(r.f,{className:"size-10","aria-hidden":"true"}),emptyTitle:"No plugins installed",emptyDescription:i?"Install a plugin from the Marketplace, upload one from your computer, or add an MCP server: a chat or an agent that uses a plugin gets its skills, agents, hooks and MCP servers, as one unit.":"An admin of this organization installs plugins. Browse the Marketplace to see what is offered: a chat or an agent that uses a plugin gets its skills, agents, hooks and MCP servers, as one unit.",headerAction:(0,s.jsx)(q,{size:"sm",mayInstall:i,onAddMcpServer:y}),emptyAction:(0,s.jsx)(q,{size:"xs",mayInstall:i,onAddMcpServer:y}),onItemClick:e=>u("plugins",e.org,e.slug),renderItemAction:e=>(0,s.jsx)("div",{onClick:e=>e.stopPropagation(),children:(0,s.jsx)(R.f,{resource:{kind:"plugin",id:e.id},menuLabel:`Actions for ${e.name||e.slug}`,actions:[{id:"view",label:"View details",icon:(0,s.jsx)(l.f,{className:"size-4"}),group:"row",onAction:()=>u("plugins",e.org,e.slug)},{id:"copy-id",label:"Copy ID",icon:(0,s.jsx)(n.f,{className:"size-4"}),group:"row",onAction:()=>{navigator.clipboard.writeText(`${o(e.org)}/${e.slug}`),L.c.success("Copied plugin ID")}},{id:"remove",label:"Remove",icon:(0,s.jsx)(c.f,{className:"size-4"}),variant:"destructive",group:"danger",requires:"can_delete",onAction:()=>void k(e)}]})}),"aria-label":"Plugin workbench"}),e&&i&&(0,s.jsx)(S,{org:e,open:b,onClose:()=>j(!1),onAdded:s=>{j(!1),u("plugins",s.metadata?.org??e,s.metadata?.slug??"")}}),(0,s.jsx)(K.f,{state:p,onConfirm:f,onCancel:x})]})}],249953)},961888,784214,e=>{"use strict";let s=(0,e.i(475254).f)("blocks",[["path",{d:"M10 22V7a1 1 0 0 0-1-1H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-5a1 1 0 0 0-1-1H2",key:"1ah6g2"}],["rect",{x:"14",y:"2",width:"8",height:"8",rx:"1",key:"88lufb"}]]);e.s(["f",0,s],961888);let t="mcp-server",i=`/library/plugins?add=${t}`;e.s(["K",0,t,"u",0,i,"l",0,"add"],784214)},569074,e=>{"use strict";let s=(0,e.i(475254).f)("upload",[["path",{d:"M12 3v12",key:"1x0j5s"}],["path",{d:"m17 8-5-5-5 5",key:"7q97r8"}],["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}]]);e.s(["f",0,s],569074)}]);
|