From d45f686ca6fb2966076264850ffcc59cc19e787b Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Fri, 27 Mar 2026 12:10:39 +0000 Subject: [PATCH] Deploy 1.x docs --- 200.html | 2 +- 404.html | 2 +- __nuxt_content/landing/sql_dump.txt | 2 +- _payload.json | 2 +- assets/{DgLuoqMo.js => 2QjoQjHN.js} | 2 +- assets/{4geVMwKU.js => ALU7qGuA.js} | 2 +- assets/{BuEXHZM4.js => BAInfj29.js} | 4 ++-- assets/{PGrg6JrO.js => BI9s2eu6.js} | 2 +- assets/{CPqlHjwQ.js => BILlFXHa.js} | 2 +- assets/{BB8f-fnx.js => BI_2AZ0T.js} | 2 +- assets/{Bzw3B9ST.js => BLoocZPz.js} | 2 +- assets/{BLM-gHsq.js => BO9r3vVu.js} | 2 +- assets/{Bfu_U5-L.js => BSIZYPu4.js} | 2 +- assets/{BBkDooDw.js => BT07FD-X.js} | 2 +- assets/{DBvuT6Rn.js => BX3MvpYz.js} | 2 +- assets/{CGmNF7c0.js => BYX-Fuv8.js} | 2 +- assets/{9fHaxxcf.js => BZF47zcU.js} | 2 +- assets/{BjGUPQBu.js => BbjXMA62.js} | 2 +- assets/{DXTdElLG.js => BfoQBf7N.js} | 2 +- assets/{rlQ8XdZv.js => Bfv0HSUf.js} | 2 +- assets/{BMvmZwTJ.js => Bo7dFHxP.js} | 2 +- assets/{CumI3Y8A.js => Bw2iW2wh.js} | 2 +- assets/{Ce74DA75.js => ByiZ1TIZ.js} | 2 +- assets/{Bq3ieHZ5.js => C4Bgkocn.js} | 2 +- assets/{CfdcdzjK.js => C5KpsIEK.js} | 4 ++-- assets/{BidMfeEk.js => C77U2lz4.js} | 2 +- assets/C8bC2vpE.js | 1 - assets/{tOweAOJv.js => C8rlYhEz.js} | 2 +- assets/{BnWD00Mr.js => CB0pqUbN.js} | 2 +- assets/{Ca_2f93x.js => CDEkn73i.js} | 2 +- assets/{CjzR56Xk.js => CIUBNquS.js} | 2 +- assets/{CANCTBfH.js => CTFIZA_D.js} | 2 +- assets/{B9iXeHun.js => CTGtweTb.js} | 2 +- assets/{BqBJuCYV.js => CTQfqdqs.js} | 2 +- assets/{Ba9qITSN.js => CXpIEjcs.js} | 2 +- assets/{CL7wIhgG.js => CZA_HeFn.js} | 2 +- assets/{CxnGnurX.js => ChKjD2N-.js} | 2 +- assets/{CZKfTBmy.js => CoFDp80G.js} | 2 +- assets/{DgfQJ90r.js => Cs5chWOM.js} | 2 +- assets/{CAvwm2Ra.js => Cs_C5Hxr.js} | 2 +- assets/{C4x3GRAb.js => CuVQRRrB.js} | 2 +- assets/{_LX0b7A9.js => CwVYtG5_.js} | 2 +- assets/{oZ4tf5kN.js => Czx2Cs4p.js} | 2 +- assets/{dDXv_e4b.js => D02NvDXQ.js} | 2 +- assets/{_6E1Z7a7.js => D1rfTq7u.js} | 2 +- assets/{CzZF-Hx3.js => D4qJZeLc.js} | 2 +- assets/{BMqJWTDa.js => DBhEayJC.js} | 2 +- assets/{r1MYRSZy.js => DDZnhW94.js} | 2 +- assets/{Bg3yXSss.js => DE0Fl81X.js} | 2 +- assets/{Dzv2jvA8.js => DIeN43BN.js} | 2 +- assets/{BGqPxSb_.js => DNke5-TS.js} | 2 +- assets/{Dt_cdDua.js => DWpnoitU.js} | 2 +- assets/{DKqmGj5l.js => DXHJqSLO.js} | 2 +- assets/{D_5BbqUW.js => DaC1Smdk.js} | 2 +- assets/{lYciAGvX.js => Dc-0Ffnn.js} | 2 +- assets/{BAIwO3PA.js => DgFfHvtP.js} | 2 +- assets/{CkJ5KmX1.js => Dhwn1cVK.js} | 2 +- assets/{Sa-_S7_w.js => DklXDfzJ.js} | 6 +++--- assets/{C2YCDdgW.js => Dq7OQ_Lf.js} | 2 +- assets/{By6s8kVp.js => DxjyxIot.js} | 2 +- assets/{DaldoYD7.js => HMVwWJyQ.js} | 2 +- assets/{CgIOeGUO.js => JNjzKBD0.js} | 2 +- assets/{DdGGUwSf.js => P1Petxml.js} | 2 +- assets/{CR739YIT.js => V6yV-AT3.js} | 2 +- assets/{DjjroVRY.js => YeboR_OY.js} | 2 +- assets/_ytc_FhA.js | 1 + assets/builds/latest.json | 2 +- .../builds/meta/3bcd59e5-3446-4db1-b838-99b09adecd48.json | 1 - .../builds/meta/5fe52460-0632-42ee-9d0a-224a55658ec3.json | 1 + assets/{Ddi6dmKb.js => ddqIpjjP.js} | 2 +- assets/{C6hkIHKO.js => iDtI4Vp4.js} | 2 +- assets/{BeE4c48p.js => j0jMKefp.js} | 2 +- assets/{CEq-pUOP.js => jg8n9eFI.js} | 2 +- assets/{YPsXU7de.js => neiL10X0.js} | 2 +- assets/{DkGvnzxz.js => rx69X1pm.js} | 2 +- assets/{B6ew2NSL.js => tUdKOItG.js} | 2 +- community/contributing.html | 4 ++-- community/contributing/_payload.json | 2 +- community/license.html | 4 ++-- community/license/_payload.json | 2 +- essentials/attachments.html | 4 ++-- essentials/attachments/_payload.json | 2 +- essentials/authorization.html | 4 ++-- essentials/authorization/_payload.json | 2 +- essentials/configuration.html | 4 ++-- essentials/configuration/_payload.json | 2 +- essentials/database-schema.html | 4 ++-- essentials/database-schema/_payload.json | 2 +- essentials/mentions.html | 4 ++-- essentials/mentions/_payload.json | 2 +- essentials/notifications.html | 4 ++-- essentials/notifications/_payload.json | 2 +- essentials/reactions.html | 4 ++-- essentials/reactions/_payload.json | 2 +- getting-started/installation.html | 4 ++-- getting-started/installation/_payload.json | 2 +- getting-started/upgrading.html | 2 +- getting-started/upgrading/_payload.json | 2 +- index.html | 4 ++-- llms-full.txt | 2 +- raw/index.md | 4 ++-- 101 files changed, 115 insertions(+), 115 deletions(-) rename assets/{DgLuoqMo.js => 2QjoQjHN.js} (88%) rename assets/{4geVMwKU.js => ALU7qGuA.js} (98%) rename assets/{BuEXHZM4.js => BAInfj29.js} (98%) rename assets/{PGrg6JrO.js => BI9s2eu6.js} (95%) rename assets/{CPqlHjwQ.js => BILlFXHa.js} (89%) rename assets/{BB8f-fnx.js => BI_2AZ0T.js} (96%) rename assets/{Bzw3B9ST.js => BLoocZPz.js} (84%) rename assets/{BLM-gHsq.js => BO9r3vVu.js} (68%) rename assets/{Bfu_U5-L.js => BSIZYPu4.js} (86%) rename assets/{BBkDooDw.js => BT07FD-X.js} (98%) rename assets/{DBvuT6Rn.js => BX3MvpYz.js} (98%) rename assets/{CGmNF7c0.js => BYX-Fuv8.js} (99%) rename assets/{9fHaxxcf.js => BZF47zcU.js} (92%) rename assets/{BjGUPQBu.js => BbjXMA62.js} (64%) rename assets/{DXTdElLG.js => BfoQBf7N.js} (99%) rename assets/{rlQ8XdZv.js => Bfv0HSUf.js} (98%) rename assets/{BMvmZwTJ.js => Bo7dFHxP.js} (89%) rename assets/{CumI3Y8A.js => Bw2iW2wh.js} (85%) rename assets/{Ce74DA75.js => ByiZ1TIZ.js} (84%) rename assets/{Bq3ieHZ5.js => C4Bgkocn.js} (99%) rename assets/{CfdcdzjK.js => C5KpsIEK.js} (90%) rename assets/{BidMfeEk.js => C77U2lz4.js} (85%) delete mode 100644 assets/C8bC2vpE.js rename assets/{tOweAOJv.js => C8rlYhEz.js} (97%) rename assets/{BnWD00Mr.js => CB0pqUbN.js} (92%) rename assets/{Ca_2f93x.js => CDEkn73i.js} (64%) rename assets/{CjzR56Xk.js => CIUBNquS.js} (66%) rename assets/{CANCTBfH.js => CTFIZA_D.js} (65%) rename assets/{B9iXeHun.js => CTGtweTb.js} (65%) rename assets/{BqBJuCYV.js => CTQfqdqs.js} (86%) rename assets/{Ba9qITSN.js => CXpIEjcs.js} (64%) rename assets/{CL7wIhgG.js => CZA_HeFn.js} (94%) rename assets/{CxnGnurX.js => ChKjD2N-.js} (96%) rename assets/{CZKfTBmy.js => CoFDp80G.js} (96%) rename assets/{DgfQJ90r.js => Cs5chWOM.js} (99%) rename assets/{CAvwm2Ra.js => Cs_C5Hxr.js} (85%) rename assets/{C4x3GRAb.js => CuVQRRrB.js} (98%) rename assets/{_LX0b7A9.js => CwVYtG5_.js} (97%) rename assets/{oZ4tf5kN.js => Czx2Cs4p.js} (63%) rename assets/{dDXv_e4b.js => D02NvDXQ.js} (85%) rename assets/{_6E1Z7a7.js => D1rfTq7u.js} (86%) rename assets/{CzZF-Hx3.js => D4qJZeLc.js} (74%) rename assets/{BMqJWTDa.js => DBhEayJC.js} (97%) rename assets/{r1MYRSZy.js => DDZnhW94.js} (89%) rename assets/{Bg3yXSss.js => DE0Fl81X.js} (92%) rename assets/{Dzv2jvA8.js => DIeN43BN.js} (92%) rename assets/{BGqPxSb_.js => DNke5-TS.js} (93%) rename assets/{Dt_cdDua.js => DWpnoitU.js} (88%) rename assets/{DKqmGj5l.js => DXHJqSLO.js} (95%) rename assets/{D_5BbqUW.js => DaC1Smdk.js} (90%) rename assets/{lYciAGvX.js => Dc-0Ffnn.js} (86%) rename assets/{BAIwO3PA.js => DgFfHvtP.js} (86%) rename assets/{CkJ5KmX1.js => Dhwn1cVK.js} (93%) rename assets/{Sa-_S7_w.js => DklXDfzJ.js} (53%) rename assets/{C2YCDdgW.js => Dq7OQ_Lf.js} (86%) rename assets/{By6s8kVp.js => DxjyxIot.js} (89%) rename assets/{DaldoYD7.js => HMVwWJyQ.js} (97%) rename assets/{CgIOeGUO.js => JNjzKBD0.js} (91%) rename assets/{DdGGUwSf.js => P1Petxml.js} (99%) rename assets/{CR739YIT.js => V6yV-AT3.js} (92%) rename assets/{DjjroVRY.js => YeboR_OY.js} (85%) create mode 100644 assets/_ytc_FhA.js delete mode 100644 assets/builds/meta/3bcd59e5-3446-4db1-b838-99b09adecd48.json create mode 100644 assets/builds/meta/5fe52460-0632-42ee-9d0a-224a55658ec3.json rename assets/{Ddi6dmKb.js => ddqIpjjP.js} (84%) rename assets/{C6hkIHKO.js => iDtI4Vp4.js} (74%) rename assets/{BeE4c48p.js => j0jMKefp.js} (98%) rename assets/{CEq-pUOP.js => jg8n9eFI.js} (85%) rename assets/{YPsXU7de.js => neiL10X0.js} (93%) rename assets/{DkGvnzxz.js => rx69X1pm.js} (95%) rename assets/{B6ew2NSL.js => tUdKOItG.js} (96%) diff --git a/200.html b/200.html index de8d51c..169a5d1 100644 --- a/200.html +++ b/200.html @@ -1 +1 @@ -
\ No newline at end of file +
\ No newline at end of file diff --git a/404.html b/404.html index 9dfcb9d..11a171b 100644 --- a/404.html +++ b/404.html @@ -1 +1 @@ -
\ No newline at end of file +
\ No newline at end of file diff --git a/__nuxt_content/landing/sql_dump.txt b/__nuxt_content/landing/sql_dump.txt index 246b4bf..d4f1884 100644 --- a/__nuxt_content/landing/sql_dump.txt +++ b/__nuxt_content/landing/sql_dump.txt @@ -1 +1 @@ -H4sIAAAAAAAAA71YbW/jNhL+KwN9SQ+w7N3u7rWXQ3F1Emfj1HG2jp2XRoFBU2OJa4pUSMqOswjQH9FfeL/kMJRkx0n2xe3dfQhiUSQ188zMMw95HewPOu1hB4btvV4HuofQPx1C57J7NjyDMdfKoXJjoaYavhMxDDuXQ/gw6J60B1fwS+eqAVFgkMXLKIC909Nep92nIetMwV1h8ByNFVpFAZy3B/tH7QG9nb80OB6nzKbjcRSUHxn1u7+OOn/7J4QhrLYLGkG3f9YZDKHbH54+se+83Rt1zuC7HZ4in9kiG0umYqGSnQZMmbTYgB332/L0l4nbu3h99fePyWmylG9MFiZpcTw6tpPe/lE32ftw3708mM52GrAzf9N813wVhlcXah5faXRZ0Q+vLo25Oj560zlJL35c/OP9gU7uxufvinv26rg3omW9wx/y/fyW/7CfHPbjxY9Hg7fv3y76M/5r91ZPu0oJ89oen497F3qn9DBDx4JGcDA4/bCOxNMoVO48g+RbIlit/WwQnXASNyMy0T6sNJseY7TciNw9ixzeOVTPA0ouPVqu2FwkrFrtLTjoHLZHvSE4UyDNyJlLN7ewqJ9O3vn0sFNmGGb/xQSq4VnlUDXQEirGu2YWU1jp71MUuGWOUbAbBZlQImNmFgWNKJgzWdDw9XUUFGHOEgxTNDoKGp8eGtdR4DDLJXNIA1EwD63UbrdCfTcKouChEQX7OstQORsFN59dsxGHauV1FOTll6KgDdNCynCKjByOgZd7knd2SbDBVBs4FJLRMORMobSwEC4Fl1ItYwwGcynQNuBnv1Qr2wDM9EcBBhmvBpiiiUyGTmQIRR4zh7ZZmb4y58DoPBQKhHKYGJ8A5ceYWq6tMGh1YTjWy5lE40q3V3AvmFFCJZW/1hlND5XTMk8ZnOmpWzCDtEkUwL9//wP2DLIZ+c5TphK0kLElaM4LAxN0C0QFBiUyi7YJfU2WlIARDARUbnRceJehsN6+z4dGCjWzj4NShJPCOQoUzeJaauNfKyycYdInjhX3pX935bPT/qmVoKOghdYx4zBuCWUdk7IqIZpomJA0Q/AqFUQoCy5iDJkxehEakaSuTKz36KDaqEL4L5iWOpfb3VYrES4tJk2us5ZBMoxLbPFVCjeiYGWZFVku0Vtqd8t1VdUYwZTzc3ThpFBYGSzcEc25KeGOxbwyVDJr+yzzpUZhuHMhR+XQ+P0ydhcuwneVvdldyAoy+oa2jCIFEAVf2o7ZHLkL5yIm5mlEgdEFZUIokxKQlMV6UT/pOZqp1IswFXGM6vFn6g+JLCk/ZA0vw5obnAtcNHNVbsJk6X1d+hCuyzAWlheWqNWCUKtq8eueWL4Iqer9m3T9U08+kj+cLH084HRO1t6sUbmpksITl0VeZdkW3HWRLoGnWluE2pd/fYnHKoJ6Ui/++9Wrcvrz7M7QWpagDe1t4av9240c1tAOSobblmijoI/WrVm1ilXFn1yrqUgKwyYSIcbcpSBFJpxtwsiiscCZ8ty6BKeBck1MBa/3ssANMk/U2iRMifvNFGg+idJXUGIutCJR26Dz80nF9tvD0i6c5pqK3CERpYG6c1RsD7ywTmfi3oNDfC/naHxbMFPGsQkHwubM8RQt4NzjQfyrtCOQysaRMhUT5W0Jhc2E3CpNOr7XDepetz0cZ+IOJoWQjlrfk865AuRxtlh0m0nCuKMkWeVGtcgKlUgELgWfbYlCznI0XIp8GyQOhURoO8d4+qeUSRSMcqlZDCKjkvWiIda8KJ165uAmJk4blmADqA9VlVTKjpPuSQdIGMCcSRH75NgSDcNiobdBYrCSOqNS6mwPxakfYBImRrOYM+uLfS4Y5EbMmUOvUtZ6jJpXRn0Vci0p7+kcIyeMz5orjqW2vqTuYJeKA+NGWwsW/xRl5MX9/XaFclhIuVZx3bXG2x4combckIk5cw6NsrtgJZlHXQzKImqAK3lEL1YjlBh0EJTCOkDlzLIJF9rM7Ff05s1f732nhYEO16W+3t71Dp2gYljqwkCPGTZHCSzPZUV7lQP0FuuPgJ5CybfkDzPUUbSsc5IzE4eJ0UW+8oOGnsX9sSwLZfnlUukxk2ApTMYTyVR5xlm7TUAeapPZl3ThVEg2pZdNltdksxJCtd7Z3OGJmskm4duX9NcjlZNr3zrCslWESqtK9tdK60VrWiJLWjoJPRuVGuxh87xyLmzBJLWezDN4jMb3ISZlGaC8mEjBwynjviD9znWZvQhy3YQoh439Jnj3fa+EQ4EyfhHild5uViJc6FbZYMNptehl2J/v/D+E/qtWfjkUPXReSlhgcVzpBygXUueggs50jNKXhy4ccB1jfdCrKvvGY0dmfXoMcKnmkRmeHpBOi4Ld7xt0x7H+XR/mrm8eHurTf3kP4K8gdujagv636muBjeLwLLPi6LOKGBpPrlF2/4/H9Sl1crbu5J8/wNM5IelSWMojy5Mgkb/+WoR+xPZt+x3r9c9P7l6f/zaKr8Yf929ndv/yDl9dXhydfD98dzLvq/lt+Kq66tpiRdAIRh8O6G5r86bvrDMEf+sIP/nbI7g46gw6IGL4CZ7f/q0v2G7+A+4065XuFAAA \ No newline at end of file +H4sIAAAAAAAAA71Y6XLjNhJ+lS7+cbZKlJI5MhmnUolsy7Fsj+TIkj1j0+WCwCaJEQgwAKjDU67ah9gn3CfZapCSLNtzKNndHyqRII7ur68PfR3sDzrtYQeG7b3TDnQPodcfQud993x4DrdcK4fK3QqVaPhOxDDsvB/C2aD7rj34ACedDw2IAoMsXkQB7PX7p512j4asMyV3pcELNFZoFQVw0R7sH7UH9HX63ODtbcZsdnsbBdUho173j1HnHz9DGMJqu6ARdHvnncEQur1h/5F8F+3TUeccvtvhGfKJLfNbyVQsVLrTgIRJiw3YcVeL/snY7V3+8OHHj2k/XciXJg/TrDweHdvx6f5RN907u+u+P0gmOw3Ymb5svm5+H4ZXvbvTux9fvt6fT3uT/vjqJJl+v/f+4vIsvUrYm+Tk7tUVztze2aRPh+1koWLHbj4cHna5e3v1YoHJm7danx19vNwbHJ5m+tXJMEySeTh/tVNpmKNjQSM4GPTP1pZ4bIVanSeQfIsF67WfNaITTuKmRcbam5Vm02uMlhtRuCeWw7lD9dSgpNKD5YpNRcrq1V6Cg85he3Q6BGdKpBkFc9nmFhb148k7n+53Kg/D/L/oQEt4Vj5UD7SEinHezGMyK/0+RYFbFBgFu1GQCyVyZiZR0IiCKZMlDV9fR0EZFizFMEOjo6Dx6b5xHQUO80IyhzQQBdPQSu12a9R3oyAK7htRsK/zHJWzUXDz2TUbdqhXXkdBUZ0UBW1ISinDBBkpHAOv9iTt7IJgg0QbOBSS0TAUTKG0MBMuA5dRLGMMBgsp0DbgN79UK9sAzPVHAQYZrweYoolMhk7kCGURM4e2WYu+EufA6CIUCoRymBrvANVhTC3WUhi0ujQcl8s5k1KXrlKca6mN15XlYzQebsFr9UUoSy5iDJ0RTKUSQybRuBoV64xW6QoaWWQMznXiZswgHRUF8O9//gv2DLIJIcQzplK0kLMFaM5LA2N0M0QFBiUyi7YJPU3yVrASWARnYXRcemCgtF6LzxtQCjWxD01XhuPSOdJnU1uFpTNMen2tuKscZV69O+3fWik6Mm1oHTMO45ZQ1jEp60CjiYYJSTOeIsaM0bPQiDRzlfv9jg7qjWo7/A3RMucKu9tqpcJl5bjJdd4ySIJxiS2+cvSHtrQiLyR6Se1uta6OLbKt83N06aRQWAss3BHNuangjsW0FlQya3ss9wFJZpi7kKNytfPkbB7Owte1vPk8ZCUJfUNbRpECiIIvbcdsgdyFUxFTfmpEgdEleUIo0wqQjMV6tnzTUzSJ1LMwE3GM6uExy4NEnlYHWcMrsxYGpwJnzUJVmzBZab9MEBCugzUWlpeWErAFoVYx5dc9knwWUm7wX7L1ox5/JH04SfpwwOmCpL1Zo3JTO4VPbxZ57WVbZLjLbAE809oiLHX59UvZrk5jj+LFn19/qqY/9e4crWUp2tD+Wfpo/3Yhh0toB1Ue3DYdR0EPrVvn3tpWdZblWiUiLQ0bS4QYC5eBFLlwtgkji8YCZ8pn4AU4DeRrIhF8uZcFbpD5dK5NypS423SB5iMrfQUl5kIrUrUNOr+9q2vC9rC0S6e5piB3SInSwLK+1DUBeGmdzsWdB4eqgpyi8cXDJIxjEw6ELZjjGVrAqceD8q/SjkCqykvGVEwpb0sobC7kVm7S8RVxsKyI28NxLuYwLoV0VCAf1dcVIA+9xaLbdBLGHTnJyjfqRVZQJQQuBZ9siULBCjRcimIbJA6FRGg7x3j2l/hLFIwKqVkMIqeQ9dQi1ryslHqi4CYmThuWYgOoDtWRVJGTd913HSC2BlMmReydY0s0DIuF3gaJwYoQjSpCtD0UfT/AJIyNZjFn1gf7VDAojJgyh56lrFkbFa+c6ioUWpLf021HjhmfNFc5lsr6gqqDXSgOjBttLVj8SymjKO/utguUw1LKNdfrrpng9uBQasYNMlkw59AouwtWknhUxaAKoga4Ko/o2WqEHIOui1JYB6icWTThUpuJ/Qorvfn7ta9fGuhwXbHw7VXv0D0rhoUuDZwyw6YogRWFrNNerQB9xeUhoBOo8i3pwwxVFC3timSbOEyNLouVHjT0xO4PaVkoq5MrpsdMihUxuR1Lpqqb0FptAvJQm9w+xwsTIVlCH5usWCabFRFa8p3NHR6xmXwcvnqOfz1gOYX2pSOsSkWotKpp/5JpPStNS+RpS6ehz0YVB7vfvNVcCFsySaUn9xk8RuPrEJOyMlBRjqXgYcK4D0i/8zLMngV5WYTIh439Jnj3fa2EQ4EyfhbiFd9u1iRc6FZVYMOkXvQ87E93/h9C/1Upv2yKU3SeSlhgcVzzB6gWUuWggM51jNKHhy4dcB3j8qJXR/aNx47E+vQQ4IrNIzM8OyCeFgW7LxrUCVk/Ly9z1zf398seQdUt8I2KHWpu0H9r2TzYCA6fZVY5+rxODI1HzZbd/+OlPqFKztaV/PPXfLonpF0yS3VleWQk0tc3T/zD6PeydyZPXox+uhzrbq8zPv5jf3Se3iaDNzJ7m/30Ynw8P/lw+8PU1g2xLVYEjWB0dkAdsM1+4HlnCL43Cb/4HhNcHnUGHRAx/AJPe4TrNtzNfwDibXqyFBUAAA== \ No newline at end of file diff --git a/_payload.json b/_payload.json index 5bf93bb..66e5c76 100644 --- a/_payload.json +++ b/_payload.json @@ -1 +1 @@ -[{"data":1,"prerenderedAt":259},["ShallowReactive",2],{"navigation_docs":3,"landing":75},[4,20,60],{"title":5,"icon":6,"path":7,"stem":8,"children":9,"page":6},"Getting Started",false,"\u002Fgetting-started","1.getting-started",[10,15],{"title":11,"path":12,"stem":13,"icon":14},"Installation","\u002Fgetting-started\u002Finstallation","1.getting-started\u002F1.installation","i-lucide-download",{"title":16,"path":17,"stem":18,"icon":19},"Upgrading","\u002Fgetting-started\u002Fupgrading","1.getting-started\u002F2.upgrading","i-lucide-arrow-up-circle",{"title":21,"path":22,"stem":23,"children":24,"page":6},"Essentials","\u002Fessentials","2.essentials",[25,30,35,40,45,50,55],{"title":26,"path":27,"stem":28,"icon":29},"Configuration","\u002Fessentials\u002Fconfiguration","2.essentials\u002F1.configuration","i-lucide-settings",{"title":31,"path":32,"stem":33,"icon":34},"Authorization","\u002Fessentials\u002Fauthorization","2.essentials\u002F2.authorization","i-lucide-shield",{"title":36,"path":37,"stem":38,"icon":39},"Mentions","\u002Fessentials\u002Fmentions","2.essentials\u002F3.mentions","i-lucide-at-sign",{"title":41,"path":42,"stem":43,"icon":44},"Reactions","\u002Fessentials\u002Freactions","2.essentials\u002F4.reactions","i-lucide-smile",{"title":46,"path":47,"stem":48,"icon":49},"Attachments","\u002Fessentials\u002Fattachments","2.essentials\u002F5.attachments","i-lucide-paperclip",{"title":51,"path":52,"stem":53,"icon":54},"Notifications","\u002Fessentials\u002Fnotifications","2.essentials\u002F6.notifications","i-lucide-bell",{"title":56,"path":57,"stem":58,"icon":59},"Database Schema","\u002Fessentials\u002Fdatabase-schema","2.essentials\u002F7.database-schema","i-lucide-database",{"title":61,"path":62,"stem":63,"children":64,"page":6},"Community","\u002Fcommunity","4.community",[65,70],{"title":66,"path":67,"stem":68,"icon":69},"Contributing","\u002Fcommunity\u002Fcontributing","4.community\u002F1.contributing","i-lucide-heart-handshake",{"title":71,"path":72,"stem":73,"icon":74},"License","\u002Fcommunity\u002Flicense","4.community\u002F2.license","i-lucide-scale",{"id":76,"title":77,"body":78,"description":77,"extension":249,"meta":250,"navigation":251,"path":252,"seo":253,"stem":257,"__hash__":258},"landing\u002Findex.md","",{"type":79,"value":80,"toc":246},"minimark",[81,121,147,207],[82,83,84,88,106],"u-page-hero",{},[85,86,87],"template",{"v-slot:title":77},"Comments",[85,89,90,94,97],{"v-slot:description":77},[91,92,93],"p",{},"A full-featured commenting system for Filament panels with threaded replies, @mentions, emoji reactions, and real-time updates.",[91,95,96],{},"Drop-in integration with any Filament resource.",[98,99,101,105],"alert",{"type":100},"warning",[102,103,104],"strong",{},"Alpha Software"," — Breaking changes may occur between releases. Not recommended for production use.",[85,107,108,115],{"v-slot:links":77},[109,110,114],"u-button",{"color":111,"size":112,"to":12,"trailing-icon":113},"neutral","xl","i-lucide-arrow-right","Get started",[109,116,120],{"color":111,"size":112,"to":117,"icon":118,"variant":119},"https:\u002F\u002Fgithub.com\u002Frelaticle\u002Fcomments","simple-icons:github","outline","GitHub",[122,123,128,129],"div",{"className":124},[125,126,127],"text-center","max-w-5xl","mx-auto","\n ",[122,130,136,137,128],{"className":131},[132,133,134,135],"aspect-video","rounded-lg","shadow-lg","overflow-hidden","\n ",[138,139],"img",{"src":140,"alt":141,"className":142},"\u002Fpreview.png","Comments - threaded discussions in Filament",[143,144,145,146],"w-full","h-full","object-cover","object-top",[148,149,150,153],"u-page-section",{},[85,151,152],{"v-slot:title":77},"Why choose Comments?",[85,154,155,165,173,181,189,198],{"v-slot:features":77},[156,157,159,162],"u-page-feature",{"icon":158},"i-lucide-messages-square",[85,160,161],{"v-slot:title":77},"Threaded Replies",[85,163,164],{"v-slot:description":77},"Nested comment threads with configurable depth limits. Users can reply to specific comments creating organized discussions.",[156,166,167,170],{"icon":39},[85,168,169],{"v-slot:title":77},"@Mentions",[85,171,172],{"v-slot:description":77},"Autocomplete user mentions with a customizable resolver interface. Dispatches events for notification handling.",[156,174,175,178],{"icon":44},[85,176,177],{"v-slot:title":77},"Emoji Reactions",[85,179,180],{"v-slot:description":77},"Six built-in emoji reactions with a configurable set. Users can react to comments with a single click.",[156,182,183,186],{"icon":49},[85,184,185],{"v-slot:title":77},"File Attachments",[85,187,188],{"v-slot:description":77},"Upload images and documents to comments with configurable storage, size limits, and MIME type validation.",[156,190,192,195],{"icon":191},"i-lucide-radio",[85,193,194],{"v-slot:title":77},"Real-time Updates",[85,196,197],{"v-slot:description":77},"Optional broadcasting via private channels with automatic polling fallback. Comments stay in sync across sessions.",[156,199,201,204],{"icon":200},"i-lucide-puzzle",[85,202,203],{"v-slot:title":77},"Full Filament Integration",[85,205,206],{"v-slot:description":77},"Three integration patterns: slide-over action, table row action, and infolist entry. Works with any Filament resource.",[148,208,209,212,215],{},[85,210,211],{"v-slot:title":77},"Our Ecosystem",[85,213,214],{"v-slot:description":77},"Extend your Laravel applications with our ecosystem of complementary tools",[216,217,218,234],"card-group",{},[219,220,225,231],"card",{"icon":221,"target":222,"title":223,"to":224},"i-simple-icons-laravel","_blank","FilaForms","https:\u002F\u002Ffilaforms.app",[138,226],{"alt":223,"className":227,"src":230},[228,133,143,229],"mb-4","pointer-events-none","https:\u002F\u002Ffilaforms.app\u002Fimg\u002Fog-image.png",[91,232,233],{},"Visual form builder for all your public-facing forms.",[219,235,239,243],{"icon":236,"target":222,"title":237,"to":238},"i-lucide-sliders","Custom Fields","https:\u002F\u002Frelaticle.github.io\u002Fcustom-fields",[138,240],{"alt":237,"className":241,"src":242},[228,133,143,229],"https:\u002F\u002Frelaticle.github.io\u002Fcustom-fields\u002Fog-image.png",[91,244,245],{},"Let users add custom fields to any model without code changes.",{"title":77,"searchDepth":247,"depth":247,"links":248},2,[],"md",{},true,"\u002F",{"title":254,"description":255,"ogImage":256},"Filament Comments System","A full-featured commenting system for Filament panels with threaded replies, @mentions, emoji reactions, file attachments, and real-time updates.","\u002Fog-image.png","index","ds4A5aLNVMx1VZUdY_jCqksCXxe0XWHM2T5MvNnvq-0",1774613359744] \ No newline at end of file +[{"data":1,"prerenderedAt":260},["ShallowReactive",2],{"navigation_docs":3,"landing":75},[4,20,60],{"title":5,"icon":6,"path":7,"stem":8,"children":9,"page":6},"Getting Started",false,"\u002Fgetting-started","1.getting-started",[10,15],{"title":11,"path":12,"stem":13,"icon":14},"Installation","\u002Fgetting-started\u002Finstallation","1.getting-started\u002F1.installation","i-lucide-download",{"title":16,"path":17,"stem":18,"icon":19},"Upgrading","\u002Fgetting-started\u002Fupgrading","1.getting-started\u002F2.upgrading","i-lucide-arrow-up-circle",{"title":21,"path":22,"stem":23,"children":24,"page":6},"Essentials","\u002Fessentials","2.essentials",[25,30,35,40,45,50,55],{"title":26,"path":27,"stem":28,"icon":29},"Configuration","\u002Fessentials\u002Fconfiguration","2.essentials\u002F1.configuration","i-lucide-settings",{"title":31,"path":32,"stem":33,"icon":34},"Authorization","\u002Fessentials\u002Fauthorization","2.essentials\u002F2.authorization","i-lucide-shield",{"title":36,"path":37,"stem":38,"icon":39},"Mentions","\u002Fessentials\u002Fmentions","2.essentials\u002F3.mentions","i-lucide-at-sign",{"title":41,"path":42,"stem":43,"icon":44},"Reactions","\u002Fessentials\u002Freactions","2.essentials\u002F4.reactions","i-lucide-smile",{"title":46,"path":47,"stem":48,"icon":49},"Attachments","\u002Fessentials\u002Fattachments","2.essentials\u002F5.attachments","i-lucide-paperclip",{"title":51,"path":52,"stem":53,"icon":54},"Notifications","\u002Fessentials\u002Fnotifications","2.essentials\u002F6.notifications","i-lucide-bell",{"title":56,"path":57,"stem":58,"icon":59},"Database Schema","\u002Fessentials\u002Fdatabase-schema","2.essentials\u002F7.database-schema","i-lucide-database",{"title":61,"path":62,"stem":63,"children":64,"page":6},"Community","\u002Fcommunity","4.community",[65,70],{"title":66,"path":67,"stem":68,"icon":69},"Contributing","\u002Fcommunity\u002Fcontributing","4.community\u002F1.contributing","i-lucide-heart-handshake",{"title":71,"path":72,"stem":73,"icon":74},"License","\u002Fcommunity\u002Flicense","4.community\u002F2.license","i-lucide-scale",{"id":76,"title":77,"body":78,"description":77,"extension":250,"meta":251,"navigation":252,"path":253,"seo":254,"stem":258,"__hash__":259},"landing\u002Findex.md","",{"type":79,"value":80,"toc":247},"minimark",[81,122,148,208],[82,83,84,88,107],"u-page-hero",{},[85,86,87],"template",{"v-slot:title":77},"Comments",[85,89,90,94,97],{"v-slot:description":77},[91,92,93],"p",{},"A full-featured commenting system for Filament panels with threaded replies, @mentions, emoji reactions, and real-time updates.",[91,95,96],{},"Drop-in integration with any Filament resource.",[98,99,102,106],"callout",{"color":100,"icon":101},"amber","i-lucide-triangle-alert",[103,104,105],"strong",{},"Alpha Software"," — Breaking changes may occur between releases. Not recommended for production use.",[85,108,109,116],{"v-slot:links":77},[110,111,115],"u-button",{"color":112,"size":113,"to":12,"trailing-icon":114},"neutral","xl","i-lucide-arrow-right","Get started",[110,117,121],{"color":112,"size":113,"to":118,"icon":119,"variant":120},"https:\u002F\u002Fgithub.com\u002Frelaticle\u002Fcomments","simple-icons:github","outline","GitHub",[123,124,129,130],"div",{"className":125},[126,127,128],"text-center","max-w-5xl","mx-auto","\n ",[123,131,137,138,129],{"className":132},[133,134,135,136],"aspect-video","rounded-lg","shadow-lg","overflow-hidden","\n ",[139,140],"img",{"src":141,"alt":142,"className":143},"\u002Fpreview.png","Comments - threaded discussions in Filament",[144,145,146,147],"w-full","h-full","object-cover","object-top",[149,150,151,154],"u-page-section",{},[85,152,153],{"v-slot:title":77},"Why choose Comments?",[85,155,156,166,174,182,190,199],{"v-slot:features":77},[157,158,160,163],"u-page-feature",{"icon":159},"i-lucide-messages-square",[85,161,162],{"v-slot:title":77},"Threaded Replies",[85,164,165],{"v-slot:description":77},"Nested comment threads with configurable depth limits. Users can reply to specific comments creating organized discussions.",[157,167,168,171],{"icon":39},[85,169,170],{"v-slot:title":77},"@Mentions",[85,172,173],{"v-slot:description":77},"Autocomplete user mentions with a customizable resolver interface. Dispatches events for notification handling.",[157,175,176,179],{"icon":44},[85,177,178],{"v-slot:title":77},"Emoji Reactions",[85,180,181],{"v-slot:description":77},"Six built-in emoji reactions with a configurable set. Users can react to comments with a single click.",[157,183,184,187],{"icon":49},[85,185,186],{"v-slot:title":77},"File Attachments",[85,188,189],{"v-slot:description":77},"Upload images and documents to comments with configurable storage, size limits, and MIME type validation.",[157,191,193,196],{"icon":192},"i-lucide-radio",[85,194,195],{"v-slot:title":77},"Real-time Updates",[85,197,198],{"v-slot:description":77},"Optional broadcasting via private channels with automatic polling fallback. Comments stay in sync across sessions.",[157,200,202,205],{"icon":201},"i-lucide-puzzle",[85,203,204],{"v-slot:title":77},"Full Filament Integration",[85,206,207],{"v-slot:description":77},"Three integration patterns: slide-over action, table row action, and infolist entry. Works with any Filament resource.",[149,209,210,213,216],{},[85,211,212],{"v-slot:title":77},"Our Ecosystem",[85,214,215],{"v-slot:description":77},"Extend your Laravel applications with our ecosystem of complementary tools",[217,218,219,235],"card-group",{},[220,221,226,232],"card",{"icon":222,"target":223,"title":224,"to":225},"i-simple-icons-laravel","_blank","FilaForms","https:\u002F\u002Ffilaforms.app",[139,227],{"alt":224,"className":228,"src":231},[229,134,144,230],"mb-4","pointer-events-none","https:\u002F\u002Ffilaforms.app\u002Fimg\u002Fog-image.png",[91,233,234],{},"Visual form builder for all your public-facing forms.",[220,236,240,244],{"icon":237,"target":223,"title":238,"to":239},"i-lucide-sliders","Custom Fields","https:\u002F\u002Frelaticle.github.io\u002Fcustom-fields",[139,241],{"alt":238,"className":242,"src":243},[229,134,144,230],"https:\u002F\u002Frelaticle.github.io\u002Fcustom-fields\u002Fog-image.png",[91,245,246],{},"Let users add custom fields to any model without code changes.",{"title":77,"searchDepth":248,"depth":248,"links":249},2,[],"md",{},true,"\u002F",{"title":255,"description":256,"ogImage":257},"Filament Comments System","A full-featured commenting system for Filament panels with threaded replies, @mentions, emoji reactions, file attachments, and real-time updates.","\u002Fog-image.png","index","iUGuNPlK2U8WboINEbJQCUSg_fR7lh9h82bJxKY_1vs",1774613432889] \ No newline at end of file diff --git a/assets/DgLuoqMo.js b/assets/2QjoQjHN.js similarity index 88% rename from assets/DgLuoqMo.js rename to assets/2QjoQjHN.js index 2d5da3b..058f65f 100644 --- a/assets/DgLuoqMo.js +++ b/assets/2QjoQjHN.js @@ -1 +1 @@ -import{a0 as i,a1 as p,a as n,p as c,ac as d,s as a,P as f,c as m,am as t,o as v,q as y}from"./Sa-_S7_w.js";const C={base:"my-5 divide-y divide-default *:not-last:pb-5"},P={__name:"ProseFieldGroup",props:{as:{type:null,required:!1},class:{type:null,required:!1},ui:{type:Object,required:!1}},setup(s){const e=s,o=i(),l=p("prose.fieldGroup",e),r=m(()=>t({extend:t(C),...o.ui?.prose?.fieldGroup||{}}));return(u,b)=>(v(),n(a(f),{as:s.as,class:d(r.value({class:[a(l)?.base,e.class]}))},{default:c(()=>[y(u.$slots,"default")]),_:3},8,["as","class"]))}};export{P as default}; +import{a0 as i,a1 as p,a as n,p as c,ac as d,s as a,P as f,c as m,am as t,o as v,q as y}from"./DklXDfzJ.js";const C={base:"my-5 divide-y divide-default *:not-last:pb-5"},P={__name:"ProseFieldGroup",props:{as:{type:null,required:!1},class:{type:null,required:!1},ui:{type:Object,required:!1}},setup(s){const e=s,o=i(),l=p("prose.fieldGroup",e),r=m(()=>t({extend:t(C),...o.ui?.prose?.fieldGroup||{}}));return(u,b)=>(v(),n(a(f),{as:s.as,class:d(r.value({class:[a(l)?.base,e.class]}))},{default:c(()=>[y(u.$slots,"default")]),_:3},8,["as","class"]))}};export{P as default}; diff --git a/assets/4geVMwKU.js b/assets/ALU7qGuA.js similarity index 98% rename from assets/4geVMwKU.js rename to assets/ALU7qGuA.js index 50118fe..ae2920b 100644 --- a/assets/4geVMwKU.js +++ b/assets/ALU7qGuA.js @@ -1 +1 @@ -import{Q as _,a0 as K,a1 as P,a2 as O,a3 as j,o,a as d,p as b,B as A,s as a,ac as g,q as f,e as w,F as I,r as $,Z as m,ab as D,ad as F,m as V,f as y,ah as T,ag as C,bC as R,v as U,c as B,am as x,_ as E,G as H,bD as L,w as M,bu as W,ay as G,al as Q,W as Z}from"./Sa-_S7_w.js";import{a as J,b as X,c as Y,d as ee,T as ae}from"./BeE4c48p.js";import"./BB8f-fnx.js";const te={slots:{root:"flex items-center gap-2",list:"relative flex p-1 group",indicator:"absolute transition-[translate,width] duration-200",trigger:["group relative inline-flex items-center min-w-0 data-[state=inactive]:text-muted hover:data-[state=inactive]:not-disabled:text-default font-medium rounded-md disabled:cursor-not-allowed disabled:opacity-75","transition-colors"],leadingIcon:"shrink-0",leadingAvatar:"shrink-0",leadingAvatarSize:"",label:"truncate",trailingBadge:"shrink-0",trailingBadgeSize:"sm",content:"focus:outline-none w-full"},variants:{color:{primary:"",secondary:"",success:"",info:"",warning:"",error:"",neutral:""},variant:{pill:{list:"bg-elevated rounded-lg",trigger:"grow",indicator:"rounded-md shadow-xs"},link:{list:"border-default",indicator:"rounded-full",trigger:"focus:outline-none"}},orientation:{horizontal:{root:"flex-col",list:"w-full",indicator:"left-0 w-(--reka-tabs-indicator-size) translate-x-(--reka-tabs-indicator-position)",trigger:"justify-center"},vertical:{list:"flex-col",indicator:"top-0 h-(--reka-tabs-indicator-size) translate-y-(--reka-tabs-indicator-position)"}},size:{xs:{trigger:"px-2 py-1 text-xs gap-1",leadingIcon:"size-4",leadingAvatarSize:"3xs"},sm:{trigger:"px-2.5 py-1.5 text-xs gap-1.5",leadingIcon:"size-4",leadingAvatarSize:"3xs"},md:{trigger:"px-3 py-1.5 text-sm gap-1.5",leadingIcon:"size-5",leadingAvatarSize:"2xs"},lg:{trigger:"px-3 py-2 text-sm gap-2",leadingIcon:"size-5",leadingAvatarSize:"2xs"},xl:{trigger:"px-3 py-2 text-base gap-2",leadingIcon:"size-6",leadingAvatarSize:"xs"}}},compoundVariants:[{orientation:"horizontal",variant:"pill",class:{indicator:"inset-y-1"}},{orientation:"horizontal",variant:"link",class:{list:"border-b -mb-px",indicator:"-bottom-px h-px"}},{orientation:"vertical",variant:"pill",class:{indicator:"inset-x-1",list:"items-center"}},{orientation:"vertical",variant:"link",class:{list:"border-s -ms-px",indicator:"-start-px w-px"}},{color:"primary",variant:"pill",class:{indicator:"bg-primary",trigger:"data-[state=active]:text-inverted focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-primary"}},{color:"secondary",variant:"pill",class:{indicator:"bg-secondary",trigger:"data-[state=active]:text-inverted focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-secondary"}},{color:"success",variant:"pill",class:{indicator:"bg-success",trigger:"data-[state=active]:text-inverted focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-success"}},{color:"info",variant:"pill",class:{indicator:"bg-info",trigger:"data-[state=active]:text-inverted focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-info"}},{color:"warning",variant:"pill",class:{indicator:"bg-warning",trigger:"data-[state=active]:text-inverted focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-warning"}},{color:"error",variant:"pill",class:{indicator:"bg-error",trigger:"data-[state=active]:text-inverted focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-error"}},{color:"neutral",variant:"pill",class:{indicator:"bg-inverted",trigger:"data-[state=active]:text-inverted focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-inverted"}},{color:"primary",variant:"link",class:{indicator:"bg-primary",trigger:"data-[state=active]:text-primary focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-primary"}},{color:"secondary",variant:"link",class:{indicator:"bg-secondary",trigger:"data-[state=active]:text-secondary focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-secondary"}},{color:"success",variant:"link",class:{indicator:"bg-success",trigger:"data-[state=active]:text-success focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-success"}},{color:"info",variant:"link",class:{indicator:"bg-info",trigger:"data-[state=active]:text-info focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-info"}},{color:"warning",variant:"link",class:{indicator:"bg-warning",trigger:"data-[state=active]:text-warning focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-warning"}},{color:"error",variant:"link",class:{indicator:"bg-error",trigger:"data-[state=active]:text-error focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-error"}},{color:"neutral",variant:"link",class:{indicator:"bg-inverted",trigger:"data-[state=active]:text-highlighted focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-inverted"}}],defaultVariants:{color:"primary",variant:"pill",size:"md"}},ie={__name:"UTabs",props:{as:{type:null,required:!1},items:{type:Array,required:!1},color:{type:null,required:!1},variant:{type:null,required:!1},size:{type:null,required:!1},orientation:{type:null,required:!1,default:"horizontal"},content:{type:Boolean,required:!1,default:!0},valueKey:{type:null,required:!1,default:"value"},labelKey:{type:null,required:!1,default:"label"},class:{type:null,required:!1},ui:{type:Object,required:!1},defaultValue:{type:[String,Number],required:!1,default:"0"},modelValue:{type:[String,Number],required:!1},activationMode:{type:String,required:!1},unmountOnHide:{type:Boolean,required:!1,default:!0}},emits:["update:modelValue"],setup(n,{expose:c,emit:h}){const t=n,z=h,S=_(),k=K(),r=P("tabs",t),q=O(j(t,"as","unmountOnHide"),z),s=B(()=>x({extend:x(te),...k.ui?.tabs||{}})({color:t.color,variant:t.variant,size:t.size,orientation:t.orientation})),p=U([]);function l(i,v){p.value[i]=v}return c({triggersRef:p}),(i,v)=>(o(),d(a(ae),V(a(q),{"model-value":n.modelValue,"default-value":n.defaultValue,orientation:n.orientation,"activation-mode":n.activationMode,"data-slot":"root",class:s.value.root({class:[a(r)?.root,t.class]})}),{default:b(()=>[A(a(J),{"data-slot":"list",class:g(s.value.list({class:a(r)?.list}))},{default:b(()=>[A(a(X),{"data-slot":"indicator",class:g(s.value.indicator({class:a(r)?.indicator}))},null,8,["class"]),f(i.$slots,"list-leading"),(o(!0),w(I,null,$(n.items,(e,u)=>(o(),d(a(Y),{key:u,ref_for:!0,ref:N=>l(u,N),value:a(m)(e,t.valueKey)??String(u),disabled:e.disabled,"data-slot":"trigger",class:g(s.value.trigger({class:[a(r)?.trigger,e.ui?.trigger]}))},{default:b(()=>[f(i.$slots,"leading",{item:e,index:u,ui:s.value},()=>[e.icon?(o(),d(D,{key:0,name:e.icon,"data-slot":"leadingIcon",class:g(s.value.leadingIcon({class:[a(r)?.leadingIcon,e.ui?.leadingIcon]}))},null,8,["name","class"])):e.avatar?(o(),d(F,V({key:1,size:e.ui?.leadingAvatarSize||a(r)?.leadingAvatarSize||s.value.leadingAvatarSize()},{ref_for:!0},e.avatar,{"data-slot":"leadingAvatar",class:s.value.leadingAvatar({class:[a(r)?.leadingAvatar,e.ui?.leadingAvatar]})}),null,16,["size","class"])):y("",!0)]),a(m)(e,t.labelKey)||S.default?(o(),w("span",{key:0,"data-slot":"label",class:g(s.value.label({class:[a(r)?.label,e.ui?.label]}))},[f(i.$slots,"default",{item:e,index:u},()=>[T(C(a(m)(e,t.labelKey)),1)])],2)):y("",!0),f(i.$slots,"trailing",{item:e,index:u,ui:s.value},()=>[e.badge||e.badge===0?(o(),d(R,V({key:0,color:"neutral",variant:"outline",size:e.ui?.trailingBadgeSize||a(r)?.trailingBadgeSize||s.value.trailingBadgeSize()},{ref_for:!0},typeof e.badge=="string"||typeof e.badge=="number"?{label:e.badge}:e.badge,{"data-slot":"trailingBadge",class:s.value.trailingBadge({class:[a(r)?.trailingBadge,e.ui?.trailingBadge]})}),null,16,["size","class"])):y("",!0)])]),_:2},1032,["value","disabled","class"]))),128)),f(i.$slots,"list-trailing")]),_:3},8,["class"]),n.content?(o(!0),w(I,{key:0},$(n.items,(e,u)=>(o(),d(a(ee),{key:u,value:a(m)(e,t.valueKey)??String(u),"data-slot":"content",class:g(s.value.content({class:[a(r)?.content,e.ui?.content,e.class]}))},{default:b(()=>[f(i.$slots,e.slot||"content",{item:e,index:u,ui:s.value},()=>[T(C(e.content),1)])]),_:2},1032,["value","class"]))),128)):y("",!0)]),_:3},16,["model-value","default-value","orientation","activation-mode","class"]))}},se={slots:{root:"my-5 gap-4"}},oe={__name:"ProseTabs",props:Q({defaultValue:{type:String,required:!1,default:"0"},sync:{type:String,required:!1},hash:{type:String,required:!1},class:{type:null,required:!1},ui:{type:Object,required:!1}},{modelValue:{type:String},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const c=n,h=_(),t=E(n,"modelValue"),z=K(),S=P("prose.tabs",c),k=B(()=>x({extend:x(se),...z.ui?.prose?.tabs||{}})),r=U(1),q=B(()=>(r.value,h.default?.()?.flatMap(s).filter(Boolean)||[]));function s(l,i){return typeof l.type=="symbol"?l.children?.map(s):{index:i,label:l.props?.label||`${i}`,description:l.props?.description,icon:l.props?.icon,component:l}}H(()=>{if(c.sync){const l=`tabs-${c.sync}`,i=L(l,()=>localStorage.getItem(l));M(i,()=>{i.value&&(t.value=i.value)},{immediate:!0}),M(t,()=>{t.value&&(i.value=t.value,localStorage.setItem(l,t.value))})}});async function p(){if(c.hash){const l=c.hash.startsWith("#")?c.hash:`#${c.hash}`;setTimeout(()=>{document.querySelector(l)?.scrollIntoView()},200)}}return W(()=>r.value++),(l,i)=>(o(),d(ie,{modelValue:t.value,"onUpdate:modelValue":[i[0]||(i[0]=v=>t.value=v),p],color:"primary",variant:"link",items:q.value,class:g(c.class),"unmount-on-hide":!1,ui:a(G)(k.value(),a(S))},{content:b(({item:v})=>[(o(),d(Z(v.component)))]),_:1},8,["modelValue","items","class","ui"]))}};export{oe as default}; +import{Q as _,a0 as K,a1 as P,a2 as O,a3 as j,o,a as d,p as b,B as A,s as a,ac as g,q as f,e as w,F as I,r as $,Z as m,ab as D,ad as F,m as V,f as y,ah as T,ag as C,bC as R,v as U,c as B,am as x,_ as E,G as H,bD as L,w as M,bu as W,ay as G,al as Q,W as Z}from"./DklXDfzJ.js";import{a as J,b as X,c as Y,d as ee,T as ae}from"./j0jMKefp.js";import"./BI_2AZ0T.js";const te={slots:{root:"flex items-center gap-2",list:"relative flex p-1 group",indicator:"absolute transition-[translate,width] duration-200",trigger:["group relative inline-flex items-center min-w-0 data-[state=inactive]:text-muted hover:data-[state=inactive]:not-disabled:text-default font-medium rounded-md disabled:cursor-not-allowed disabled:opacity-75","transition-colors"],leadingIcon:"shrink-0",leadingAvatar:"shrink-0",leadingAvatarSize:"",label:"truncate",trailingBadge:"shrink-0",trailingBadgeSize:"sm",content:"focus:outline-none w-full"},variants:{color:{primary:"",secondary:"",success:"",info:"",warning:"",error:"",neutral:""},variant:{pill:{list:"bg-elevated rounded-lg",trigger:"grow",indicator:"rounded-md shadow-xs"},link:{list:"border-default",indicator:"rounded-full",trigger:"focus:outline-none"}},orientation:{horizontal:{root:"flex-col",list:"w-full",indicator:"left-0 w-(--reka-tabs-indicator-size) translate-x-(--reka-tabs-indicator-position)",trigger:"justify-center"},vertical:{list:"flex-col",indicator:"top-0 h-(--reka-tabs-indicator-size) translate-y-(--reka-tabs-indicator-position)"}},size:{xs:{trigger:"px-2 py-1 text-xs gap-1",leadingIcon:"size-4",leadingAvatarSize:"3xs"},sm:{trigger:"px-2.5 py-1.5 text-xs gap-1.5",leadingIcon:"size-4",leadingAvatarSize:"3xs"},md:{trigger:"px-3 py-1.5 text-sm gap-1.5",leadingIcon:"size-5",leadingAvatarSize:"2xs"},lg:{trigger:"px-3 py-2 text-sm gap-2",leadingIcon:"size-5",leadingAvatarSize:"2xs"},xl:{trigger:"px-3 py-2 text-base gap-2",leadingIcon:"size-6",leadingAvatarSize:"xs"}}},compoundVariants:[{orientation:"horizontal",variant:"pill",class:{indicator:"inset-y-1"}},{orientation:"horizontal",variant:"link",class:{list:"border-b -mb-px",indicator:"-bottom-px h-px"}},{orientation:"vertical",variant:"pill",class:{indicator:"inset-x-1",list:"items-center"}},{orientation:"vertical",variant:"link",class:{list:"border-s -ms-px",indicator:"-start-px w-px"}},{color:"primary",variant:"pill",class:{indicator:"bg-primary",trigger:"data-[state=active]:text-inverted focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-primary"}},{color:"secondary",variant:"pill",class:{indicator:"bg-secondary",trigger:"data-[state=active]:text-inverted focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-secondary"}},{color:"success",variant:"pill",class:{indicator:"bg-success",trigger:"data-[state=active]:text-inverted focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-success"}},{color:"info",variant:"pill",class:{indicator:"bg-info",trigger:"data-[state=active]:text-inverted focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-info"}},{color:"warning",variant:"pill",class:{indicator:"bg-warning",trigger:"data-[state=active]:text-inverted focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-warning"}},{color:"error",variant:"pill",class:{indicator:"bg-error",trigger:"data-[state=active]:text-inverted focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-error"}},{color:"neutral",variant:"pill",class:{indicator:"bg-inverted",trigger:"data-[state=active]:text-inverted focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-inverted"}},{color:"primary",variant:"link",class:{indicator:"bg-primary",trigger:"data-[state=active]:text-primary focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-primary"}},{color:"secondary",variant:"link",class:{indicator:"bg-secondary",trigger:"data-[state=active]:text-secondary focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-secondary"}},{color:"success",variant:"link",class:{indicator:"bg-success",trigger:"data-[state=active]:text-success focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-success"}},{color:"info",variant:"link",class:{indicator:"bg-info",trigger:"data-[state=active]:text-info focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-info"}},{color:"warning",variant:"link",class:{indicator:"bg-warning",trigger:"data-[state=active]:text-warning focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-warning"}},{color:"error",variant:"link",class:{indicator:"bg-error",trigger:"data-[state=active]:text-error focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-error"}},{color:"neutral",variant:"link",class:{indicator:"bg-inverted",trigger:"data-[state=active]:text-highlighted focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-inverted"}}],defaultVariants:{color:"primary",variant:"pill",size:"md"}},ie={__name:"UTabs",props:{as:{type:null,required:!1},items:{type:Array,required:!1},color:{type:null,required:!1},variant:{type:null,required:!1},size:{type:null,required:!1},orientation:{type:null,required:!1,default:"horizontal"},content:{type:Boolean,required:!1,default:!0},valueKey:{type:null,required:!1,default:"value"},labelKey:{type:null,required:!1,default:"label"},class:{type:null,required:!1},ui:{type:Object,required:!1},defaultValue:{type:[String,Number],required:!1,default:"0"},modelValue:{type:[String,Number],required:!1},activationMode:{type:String,required:!1},unmountOnHide:{type:Boolean,required:!1,default:!0}},emits:["update:modelValue"],setup(n,{expose:c,emit:h}){const t=n,z=h,S=_(),k=K(),r=P("tabs",t),q=O(j(t,"as","unmountOnHide"),z),s=B(()=>x({extend:x(te),...k.ui?.tabs||{}})({color:t.color,variant:t.variant,size:t.size,orientation:t.orientation})),p=U([]);function l(i,v){p.value[i]=v}return c({triggersRef:p}),(i,v)=>(o(),d(a(ae),V(a(q),{"model-value":n.modelValue,"default-value":n.defaultValue,orientation:n.orientation,"activation-mode":n.activationMode,"data-slot":"root",class:s.value.root({class:[a(r)?.root,t.class]})}),{default:b(()=>[A(a(J),{"data-slot":"list",class:g(s.value.list({class:a(r)?.list}))},{default:b(()=>[A(a(X),{"data-slot":"indicator",class:g(s.value.indicator({class:a(r)?.indicator}))},null,8,["class"]),f(i.$slots,"list-leading"),(o(!0),w(I,null,$(n.items,(e,u)=>(o(),d(a(Y),{key:u,ref_for:!0,ref:N=>l(u,N),value:a(m)(e,t.valueKey)??String(u),disabled:e.disabled,"data-slot":"trigger",class:g(s.value.trigger({class:[a(r)?.trigger,e.ui?.trigger]}))},{default:b(()=>[f(i.$slots,"leading",{item:e,index:u,ui:s.value},()=>[e.icon?(o(),d(D,{key:0,name:e.icon,"data-slot":"leadingIcon",class:g(s.value.leadingIcon({class:[a(r)?.leadingIcon,e.ui?.leadingIcon]}))},null,8,["name","class"])):e.avatar?(o(),d(F,V({key:1,size:e.ui?.leadingAvatarSize||a(r)?.leadingAvatarSize||s.value.leadingAvatarSize()},{ref_for:!0},e.avatar,{"data-slot":"leadingAvatar",class:s.value.leadingAvatar({class:[a(r)?.leadingAvatar,e.ui?.leadingAvatar]})}),null,16,["size","class"])):y("",!0)]),a(m)(e,t.labelKey)||S.default?(o(),w("span",{key:0,"data-slot":"label",class:g(s.value.label({class:[a(r)?.label,e.ui?.label]}))},[f(i.$slots,"default",{item:e,index:u},()=>[T(C(a(m)(e,t.labelKey)),1)])],2)):y("",!0),f(i.$slots,"trailing",{item:e,index:u,ui:s.value},()=>[e.badge||e.badge===0?(o(),d(R,V({key:0,color:"neutral",variant:"outline",size:e.ui?.trailingBadgeSize||a(r)?.trailingBadgeSize||s.value.trailingBadgeSize()},{ref_for:!0},typeof e.badge=="string"||typeof e.badge=="number"?{label:e.badge}:e.badge,{"data-slot":"trailingBadge",class:s.value.trailingBadge({class:[a(r)?.trailingBadge,e.ui?.trailingBadge]})}),null,16,["size","class"])):y("",!0)])]),_:2},1032,["value","disabled","class"]))),128)),f(i.$slots,"list-trailing")]),_:3},8,["class"]),n.content?(o(!0),w(I,{key:0},$(n.items,(e,u)=>(o(),d(a(ee),{key:u,value:a(m)(e,t.valueKey)??String(u),"data-slot":"content",class:g(s.value.content({class:[a(r)?.content,e.ui?.content,e.class]}))},{default:b(()=>[f(i.$slots,e.slot||"content",{item:e,index:u,ui:s.value},()=>[T(C(e.content),1)])]),_:2},1032,["value","class"]))),128)):y("",!0)]),_:3},16,["model-value","default-value","orientation","activation-mode","class"]))}},se={slots:{root:"my-5 gap-4"}},oe={__name:"ProseTabs",props:Q({defaultValue:{type:String,required:!1,default:"0"},sync:{type:String,required:!1},hash:{type:String,required:!1},class:{type:null,required:!1},ui:{type:Object,required:!1}},{modelValue:{type:String},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const c=n,h=_(),t=E(n,"modelValue"),z=K(),S=P("prose.tabs",c),k=B(()=>x({extend:x(se),...z.ui?.prose?.tabs||{}})),r=U(1),q=B(()=>(r.value,h.default?.()?.flatMap(s).filter(Boolean)||[]));function s(l,i){return typeof l.type=="symbol"?l.children?.map(s):{index:i,label:l.props?.label||`${i}`,description:l.props?.description,icon:l.props?.icon,component:l}}H(()=>{if(c.sync){const l=`tabs-${c.sync}`,i=L(l,()=>localStorage.getItem(l));M(i,()=>{i.value&&(t.value=i.value)},{immediate:!0}),M(t,()=>{t.value&&(i.value=t.value,localStorage.setItem(l,t.value))})}});async function p(){if(c.hash){const l=c.hash.startsWith("#")?c.hash:`#${c.hash}`;setTimeout(()=>{document.querySelector(l)?.scrollIntoView()},200)}}return W(()=>r.value++),(l,i)=>(o(),d(ie,{modelValue:t.value,"onUpdate:modelValue":[i[0]||(i[0]=v=>t.value=v),p],color:"primary",variant:"link",items:q.value,class:g(c.class),"unmount-on-hide":!1,ui:a(G)(k.value(),a(S))},{content:b(({item:v})=>[(o(),d(Z(v.component)))]),_:1},8,["modelValue","items","class","ui"]))}};export{oe as default}; diff --git a/assets/BuEXHZM4.js b/assets/BAInfj29.js similarity index 98% rename from assets/BuEXHZM4.js rename to assets/BAInfj29.js index e83efee..1c8c13e 100644 --- a/assets/BuEXHZM4.js +++ b/assets/BAInfj29.js @@ -1,2 +1,2 @@ -const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./Sa-_S7_w.js","./entry.DORe4TYg.css","./DaldoYD7.js","./C4x3GRAb.js","./tOweAOJv.js"])))=>i.map(i=>d[i]); -import{d as Sn,bd as J,be as kn,w as xn,bf as wn,c as b,bg as ln,bh as tn,bi as L,bj as F,bk as j,bl as On,b8 as on,bm as Tn,bn as I,aS as Dn,a as Ln,s as G,ac as Mn,q as Rn,bo as _n,o as En,aQ as rn,bp as An,aU as Un,bq as Z,br as Q,t as D,bs as A,bt as In,a_ as Bn,v as jn}from"./Sa-_S7_w.js";import{f as an,n as Hn}from"./BN_7HF1G.js";const V=new Set(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","label","legend","li","link","main","map","mark","math","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rb","rp","rt","rtc","ruby","s","samp","script","section","select","slot","small","source","span","strong","style","sub","summary","sup","svg","table","tbody","td","template","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr"]);class U{constructor(l,e,r){this.normal=e,this.property=l,r&&(this.space=r)}}U.prototype.normal={};U.prototype.property={};U.prototype.space=void 0;function un(n,l){const e={},r={};for(const o of n)Object.assign(e,o.property),Object.assign(r,o.normal);return new U(e,r,l)}function N(n){return n.toLowerCase()}class x{constructor(l,e){this.attribute=e,this.property=l}}x.prototype.attribute="";x.prototype.booleanish=!1;x.prototype.boolean=!1;x.prototype.commaOrSpaceSeparated=!1;x.prototype.commaSeparated=!1;x.prototype.defined=!1;x.prototype.mustUseProperty=!1;x.prototype.number=!1;x.prototype.overloadedBoolean=!1;x.prototype.property="";x.prototype.spaceSeparated=!1;x.prototype.space=void 0;let zn=0;const i=M(),y=M(),q=M(),t=M(),v=M(),_=M(),w=M();function M(){return 2**++zn}const W=Object.freeze(Object.defineProperty({__proto__:null,boolean:i,booleanish:y,commaOrSpaceSeparated:w,commaSeparated:_,number:t,overloadedBoolean:q,spaceSeparated:v},Symbol.toStringTag,{value:"Module"})),z=Object.keys(W);class X extends x{constructor(l,e,r,o){let a=-1;if(super(l,e),nn(this,"space",o),typeof r=="number")for(;++a4&&e.slice(0,4)==="data"&&qn.test(l)){if(l.charAt(4)==="-"){const a=l.slice(5).replace(en,Kn);r="data"+a.charAt(0).toUpperCase()+a.slice(1)}else{const a=l.slice(4);if(!en.test(a)){let c=a.replace(Nn,$n);c.charAt(0)!=="-"&&(c="-"+c),l="data"+c}}o=X}return new o(r,l)}function $n(n){return"-"+n.toLowerCase()}function Kn(n){return n.charAt(1).toUpperCase()}const Xn=un([sn,Fn,dn,gn,mn],"html");un([sn,Vn,dn,gn,mn],"svg");function Yn(n,l){return l.reduce((e,r)=>{const o=Jn(n,r);return o!==void 0&&(e[r]=o),e},{})}function Jn(n,l){return l.split(".").reduce((e,r)=>e&&e[r],n)}const $="default",fn=/^@|^v-on:/,hn=/^:|^v-bind:/,Gn=/^v-model/,Zn=["select","textarea","input"],Qn=new Set(["math","svg"]),vn=new Set,ne=Object.fromEntries(["p","a","blockquote","code","pre","code","em","h1","h2","h3","h4","h5","h6","hr","img","ul","ol","li","strong","table","thead","tbody","td","th","tr","script"].map(n=>[n,`prose-${n}`])),ee=["script","base"],le=Sn({name:"MDCRenderer",props:{body:{type:Object,required:!0},data:{type:Object,default:()=>({})},class:{type:[String,Object],default:void 0},tag:{type:[String,Boolean],default:void 0},prose:{type:Boolean,default:void 0},components:{type:Object,default:()=>({})},unwrap:{type:[Boolean,String],default:!1}},async setup(n){const e=wn()?.appContext?.app?.$nuxt,r=e?.$route||e?._route,{mdc:o}=e?.$config?.public||{},a=o?.components?.customElements||o?.components?.custom;a&&a.forEach(s=>vn.add(s));const c=b(()=>({...o?.components?.prose&&n.prose!==!1?ne:{},...o?.components?.map||{},...ln(n.data?.mdc?.components||{}),...n.components})),m=b(()=>{const s=(n.body?.children||[]).map(f=>f.tag||f.type).filter(f=>!Y(f));return Array.from(new Set(s)).sort().join(".")}),d=kn({...n.data});xn(()=>n.data,s=>{Object.assign(d,s)}),await ge(n.body,{tags:c.value});function p(s,f){const k=s.split(".").length-1;return s.split(".").reduce((P,O,S)=>S==k&&P?(P[O]=f,P[O]):typeof P=="object"?P[O]:void 0,d)}return{tags:c,contentKey:m,route:r,runtimeData:d,updateRuntimeData:p}},render(n){const{tags:l,tag:e,body:r,data:o,contentKey:a,route:c,unwrap:m,runtimeData:d,updateRuntimeData:p}=n;if(!r)return null;const s={...o,tags:l,$route:c,runtimeData:d,updateRuntimeData:p},f=e!==!1?K(e||s.component?.name||s.component||"div"):void 0;return f?J(f,{...s.component?.props,class:n.class,...this.$attrs,key:a},{default:k}):k?.();function k(){const P=yn(r,J,{documentMeta:s,parentScope:s,resolveComponent:K});return P?.default?m?an(P.default(),typeof m=="string"?m.split(" "):["*"]):P.default():null}}});function te(n,l,e,r){const{documentMeta:o,parentScope:a,resolveComponent:c}=e;if(n.type==="text")return l(j,n.value);if(n.type==="comment")return l(On,null,n.value);const m=n.tag,d=Pn(n,o.tags);if(n.tag==="binding")return oe(n,l,o,a);const p=bn(d)?k=>k:c;if(ee.includes(L(d).toLowerCase()))return l("pre",{class:"mdc-renderer-dangerous-tag"},"<"+d+">"+Hn(n)+"");const s=p(d);typeof s=="object"&&(s.tag=m);const f=re(n,o);return r&&(f.key=r),l(s,f,yn(n,l,{documentMeta:o,parentScope:{...a,...f},resolveComponent:p}))}function yn(n,l,e){const{documentMeta:r,parentScope:o,resolveComponent:a}=e,m=(n.children||[]).reduce((p,s)=>{if(!pe(s))return p[$].children.push(s),p;const f=ce(s);return p[f]=p[f]||{props:{},children:[]},s.type==="element"&&(p[f].props=s.props,p[f].children.push(...s.children||[])),p},{[$]:{props:{},children:[]}});return Object.entries(m).reduce((p,[s,{props:f,children:k}])=>(k.length&&(p[s]=(P={})=>{const O=Yn(P,Object.keys(f||{}));let S=k.map((u,h)=>te(u,l,{documentMeta:r,parentScope:{...o,...O},resolveComponent:a},String(u.props?.key||h)));return f?.unwrap&&(S=an(S,f.unwrap)),de(S)}),p),{})}function oe(n,l,e,r={}){const o={...e.runtimeData,...r,$document:e,$doc:e},a=/\.|\[(\d+)\]/,m=(n.props?.value.trim().split(a).filter(Boolean)).reduce((p,s)=>{if(p&&s in p)return typeof p[s]=="function"?p[s]():p[s]},o),d=n.props?.defaultValue;return l(j,m??d??"")}function re(n,l){const{tag:e="",props:r={}}=n;return Object.keys(r).reduce(function(o,a){if(a==="__ignoreMap")return o;const c=r[a];if(Gn.test(a))return ae(a,c,o,l,{native:Zn.includes(e)});if(a==="v-bind")return ue(a,c,o,l);if(fn.test(a))return ie(a,c,o,l);if(hn.test(a))return se(a,c,o,l);const{attribute:m}=Wn(Xn,a);return Array.isArray(c)&&c.every(d=>typeof d=="string")?(o[m]=c.join(" "),o):(o[m]=c,o)},{})}function ae(n,l,e,r,{native:o}){const a=n.match(/^v-model:([^=]+)/)?.[1]||"modelValue",c=o?"value":a,m=o?"onInput":`onUpdate:${a}`;return e[c]=H(l,r.runtimeData),e[m]=d=>{r.updateRuntimeData(l,o?d.target?.value:d)},e}function ue(n,l,e,r){const o=H(l,r);return e=Object.assign(e,o),e}function ie(n,l,e,r){return n=n.replace(fn,""),e.on=e.on||{},e.on[n]=()=>H(l,r),e}function se(n,l,e,r){return n=n.replace(hn,""),e[n]=H(l,r),e}const K=n=>{if(typeof n=="string"){if(Y(n))return n;const l=tn(L(n),!1);return!n||l?.name==="AsyncComponentWrapper"||typeof l=="string"?l:"setup"in l?F(()=>new Promise(e=>e(l))):l}return n};function H(n,l){const e=n.split(".").reduce((r,o)=>typeof r=="object"?r[o]:void 0,l);return typeof e>"u"?Tn(n):e}function ce(n){let l="";for(const e of Object.keys(n.props||{}))if(!(!e.startsWith("#")&&!e.startsWith("v-slot:"))){l=e.split(/[:#]/,2)[1];break}return l||$}function pe(n){return n.tag==="template"}function bn(n){return Qn.has(n)}function de(n){const l=[];for(const e of n){const r=l[l.length-1];e.type===j&&r?.type===j?r.children=r.children+e.children:l.push(e)}return l}async function ge(n,l){if(!n)return;const e=Array.from(new Set(r(n,l)));await Promise.all(e.map(async o=>{if(o?.render||o?.ssrRender||o?.__ssrInlineRender)return;const a=K(o);a?.__asyncLoader&&!a.__asyncResolved&&await a.__asyncLoader()}));function r(o,a){const c=o.tag;if(o.type==="text"||c==="binding"||o.type==="comment")return[];const m=Pn(o,a.tags);if(bn(m))return[];const d=[];o.type!=="root"&&!Y(m)&&d.push(m);for(const p of o.children||[])d.push(...r(p,a));return d}}function Pn(n,l){const e=n.tag;return!e||typeof n.props?.__ignoreMap<"u"?e:l[e]||l[L(e)]||l[on(n.tag)]||e}function Y(n){return(typeof n=="string"?vn.has(n):!1)||V.has(n)}const me=Object.assign(le,{__name:"MDCRenderer"}),B=(n,l,e,r)=>{const o=l==="default"?n?.default:n?.[l];if(!o)throw new Error(`[nuxt-content] Missing export "${l}" for component "${e}" in "${r}".`);return o},fe={UButton:()=>I(()=>import("./Sa-_S7_w.js").then(n=>n.c0),__vite__mapDeps([0,1]),import.meta.url).then(n=>B(n,"default","UButton","./../../node_modules/@nuxt/ui/dist/runtime/components/Button.vue")),UPageFeature:()=>I(()=>import("./DaldoYD7.js"),__vite__mapDeps([2,0,1]),import.meta.url).then(n=>B(n,"default","UPageFeature","./../../node_modules/@nuxt/ui/dist/runtime/components/PageFeature.vue")),UPageHero:()=>I(()=>import("./C4x3GRAb.js"),__vite__mapDeps([3,0,1]),import.meta.url).then(n=>B(n,"default","UPageHero","./../../node_modules/@nuxt/ui/dist/runtime/components/PageHero.vue")),UPageSection:()=>I(()=>import("./tOweAOJv.js"),__vite__mapDeps([4,0,1,2]),import.meta.url).then(n=>B(n,"default","UPageSection","./../../node_modules/@nuxt/ui/dist/runtime/components/PageSection.vue"))},he=["ProseA","ProseAccordion","ProseAccordionItem","ProseBadge","ProseBlockquote","ProseCallout","ProseCard","ProseCardGroup","ProseCode","ProseCodeCollapse","ProseCodeGroup","ProseCodeIcon","ProseCodePreview","ProseCodeTree","ProseCollapsible","ProseEm","ProseField","ProseFieldGroup","ProseH1","ProseH2","ProseH3","ProseH4","ProseHr","ProseIcon","ProseImg","ProseKbd","ProseLi","ProseOl","ProseP","ProsePre","ProseScript","ProseSteps","ProseStrong","ProseTable","ProseTabs","ProseTabsItem","ProseTbody","ProseTd","ProseTh","ProseThead","ProseTr","ProseUl","ProseCaution","ProseNote","ProseTip","ProseWarning","ProseH5","ProseH6","Icon"],ve=["UButton","UPageFeature","UPageHero","UPageSection"],ye={__name:"ContentRenderer",props:{value:{type:Object,required:!0},excerpt:{type:Boolean,default:!1},tag:{type:String,default:"div"},components:{type:Object,default:()=>({})},data:{type:Object,default:()=>({})},prose:{type:Boolean,default:void 0},class:{type:[String,Object],default:void 0},unwrap:{type:[Boolean,String],default:!1}},setup(n){const l=["render","ssrRender","__ssrInlineRender"],e=n,r=import.meta.preview,o=b(()=>{let u=e.value.body||e.value;return e.excerpt&&e.value.excerpt&&(u=e.value.excerpt),u.type==="minimal"||u.type==="minimark"?_n({value:u.value}):u}),a=b(()=>!o.value?.children?.length),c=b(()=>{const{body:u,excerpt:h,...g}=e.value;return{...g,...e.data}}),m=Object.fromEntries(["p","a","blockquote","code","pre","code","em","h1","h2","h3","h4","h5","h6","hr","img","ul","ol","li","strong","table","thead","tbody","td","th","tr","script"].map(u=>[u,`prose-${u}`])),{mdc:d}=Dn().public||{},p=b(()=>e.data.mdc),s=b(()=>({...d?.components?.prose&&e.prose!==!1?m:{},...d?.components?.map||{},...ln(p.value?.components||{}),...e.components})),f=b(()=>o.value?P(o.value,{tags:s.value}):{});function k(u){let h=u;if(typeof u=="string"){if(V.has(u))return u;if(he.includes(L(u)))h=tn(u,!1);else if(ve.includes(L(u))){const C=fe[L(u)];h=C?F(C):void 0}if(typeof h=="string")return h}if(!h)return h;const g=h;return"__asyncLoader"in g?g:"setup"in g?F(()=>Promise.resolve(g)):g}function P(u,h){if(!u)return;const g=Array.from(new Set(O(u,h))),C={};for(const[T,R]of g)if(!C[T]){if(typeof R=="object"&&l.some(Cn=>Object.hasOwnProperty.call(R,Cn))){C[T]=R;continue}C[T]=k(R)}return C}function O(u,h){const g=u.tag;if(u.type==="text"||g==="binding"||u.type==="comment")return[];const C=S(u,h.tags),T=[];u.type!=="root"&&!V.has(C)&&T.push([g,C]);for(const R of u.children||[])T.push(...O(R,h));return T}function S(u,h){const g=u.tag;return!g||typeof u.props?.__ignoreMap<"u"?g:h[g]||h[L(g)]||h[on(u.tag)]||g}return(u,h)=>a.value?Rn(u.$slots,"empty",{key:1,body:o.value,data:c.value,dataContentId:G(r)?n.value.id:void 0}):(En(),Ln(me,{key:0,body:o.value,data:c.value,class:Mn(e.class),tag:e.tag,prose:e.prose,unwrap:e.unwrap,components:f.value,"data-content-id":G(r)?n.value.id:void 0},null,8,["body","data","class","tag","prose","unwrap","components","data-content-id"]))}},Se=Object.assign(ye,{__name:"ContentRenderer"});function ke(n){const l=rn(),e=An(),{locale:r,locales:o,isEnabled:a,switchLocalePath:c}=Un(),m=b(()=>D(n.title)),d=b(()=>D(n.description)),p=b(()=>D(n.type)||"article"),s=b(()=>D(n.ogImage)),f=b(()=>D(n.publishedAt)),k=b(()=>D(n.modifiedAt)),P=b(()=>D(n.breadcrumbs)),O=b(()=>{if(e.url)return A(e.url,l.path)}),S=b(()=>e.url?In(e.url):"");Z({title:m,description:d,ogTitle:m,ogDescription:d,ogType:p,ogUrl:O,ogLocale:b(()=>a.value?r.value:void 0)}),Q({link:b(()=>{const u=[];if(O.value&&u.push({rel:"canonical",href:O.value}),a.value&&S.value){for(const g of o){const C=c(g.code);C&&u.push({rel:"alternate",hreflang:g.code,href:A(S.value,C)})}const h=c(o[0]?.code||"en");h&&u.push({rel:"alternate",hreflang:"x-default",href:A(S.value,h)})}return u})}),s.value&&Z({ogImage:s.value,twitterImage:s.value}),Q({script:b(()=>{const u=[];if(!S.value||!m.value)return u;const h=A(S.value,l.path);if(p.value==="article"){const g={"@context":"https://schema.org","@type":"Article",headline:m.value,description:d.value,url:h,mainEntityOfPage:{"@type":"WebPage","@id":h}};f.value&&(g.datePublished=f.value),k.value&&(g.dateModified=k.value),e.name&&(g.publisher={"@type":"Organization",name:e.name}),u.push({type:"application/ld+json",innerHTML:JSON.stringify(g)})}if(p.value==="website"){const g={"@context":"https://schema.org","@type":"WebSite",name:e.name||m.value,description:d.value,url:S.value};u.push({type:"application/ld+json",innerHTML:JSON.stringify(g)})}if(P.value&&P.value.length>0){const g={"@context":"https://schema.org","@type":"BreadcrumbList",itemListElement:P.value.map((C,T)=>({"@type":"ListItem",position:T+1,name:C.title,item:A(S.value,C.path)}))};u.push({type:"application/ld+json",innerHTML:JSON.stringify(g)})}return u})})}function be(n={}){const l=Bn(),r=rn().path||"/";if(l.payload.path===r){const o=jn(!1);o.value=!0}}function xe(n,l={},e={}){return be({...e})}export{Se as _,xe as d,ke as u}; +const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./DklXDfzJ.js","./entry.DORe4TYg.css","./HMVwWJyQ.js","./CuVQRRrB.js","./C8rlYhEz.js"])))=>i.map(i=>d[i]); +import{d as Sn,bd as J,be as kn,w as xn,bf as wn,c as b,bg as ln,bh as tn,bi as L,bj as F,bk as j,bl as On,b8 as on,bm as Tn,bn as I,aS as Dn,a as Ln,s as G,ac as Mn,q as Rn,bo as _n,o as En,aQ as rn,bp as An,aU as Un,bq as Z,br as Q,t as D,bs as A,bt as In,a_ as Bn,v as jn}from"./DklXDfzJ.js";import{f as an,n as Hn}from"./BN_7HF1G.js";const V=new Set(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","label","legend","li","link","main","map","mark","math","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rb","rp","rt","rtc","ruby","s","samp","script","section","select","slot","small","source","span","strong","style","sub","summary","sup","svg","table","tbody","td","template","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr"]);class U{constructor(l,e,r){this.normal=e,this.property=l,r&&(this.space=r)}}U.prototype.normal={};U.prototype.property={};U.prototype.space=void 0;function un(n,l){const e={},r={};for(const o of n)Object.assign(e,o.property),Object.assign(r,o.normal);return new U(e,r,l)}function N(n){return n.toLowerCase()}class x{constructor(l,e){this.attribute=e,this.property=l}}x.prototype.attribute="";x.prototype.booleanish=!1;x.prototype.boolean=!1;x.prototype.commaOrSpaceSeparated=!1;x.prototype.commaSeparated=!1;x.prototype.defined=!1;x.prototype.mustUseProperty=!1;x.prototype.number=!1;x.prototype.overloadedBoolean=!1;x.prototype.property="";x.prototype.spaceSeparated=!1;x.prototype.space=void 0;let zn=0;const i=M(),y=M(),q=M(),t=M(),v=M(),_=M(),w=M();function M(){return 2**++zn}const W=Object.freeze(Object.defineProperty({__proto__:null,boolean:i,booleanish:y,commaOrSpaceSeparated:w,commaSeparated:_,number:t,overloadedBoolean:q,spaceSeparated:v},Symbol.toStringTag,{value:"Module"})),z=Object.keys(W);class X extends x{constructor(l,e,r,o){let a=-1;if(super(l,e),nn(this,"space",o),typeof r=="number")for(;++a4&&e.slice(0,4)==="data"&&qn.test(l)){if(l.charAt(4)==="-"){const a=l.slice(5).replace(en,Kn);r="data"+a.charAt(0).toUpperCase()+a.slice(1)}else{const a=l.slice(4);if(!en.test(a)){let c=a.replace(Nn,$n);c.charAt(0)!=="-"&&(c="-"+c),l="data"+c}}o=X}return new o(r,l)}function $n(n){return"-"+n.toLowerCase()}function Kn(n){return n.charAt(1).toUpperCase()}const Xn=un([sn,Fn,dn,gn,mn],"html");un([sn,Vn,dn,gn,mn],"svg");function Yn(n,l){return l.reduce((e,r)=>{const o=Jn(n,r);return o!==void 0&&(e[r]=o),e},{})}function Jn(n,l){return l.split(".").reduce((e,r)=>e&&e[r],n)}const $="default",fn=/^@|^v-on:/,hn=/^:|^v-bind:/,Gn=/^v-model/,Zn=["select","textarea","input"],Qn=new Set(["math","svg"]),vn=new Set,ne=Object.fromEntries(["p","a","blockquote","code","pre","code","em","h1","h2","h3","h4","h5","h6","hr","img","ul","ol","li","strong","table","thead","tbody","td","th","tr","script"].map(n=>[n,`prose-${n}`])),ee=["script","base"],le=Sn({name:"MDCRenderer",props:{body:{type:Object,required:!0},data:{type:Object,default:()=>({})},class:{type:[String,Object],default:void 0},tag:{type:[String,Boolean],default:void 0},prose:{type:Boolean,default:void 0},components:{type:Object,default:()=>({})},unwrap:{type:[Boolean,String],default:!1}},async setup(n){const e=wn()?.appContext?.app?.$nuxt,r=e?.$route||e?._route,{mdc:o}=e?.$config?.public||{},a=o?.components?.customElements||o?.components?.custom;a&&a.forEach(s=>vn.add(s));const c=b(()=>({...o?.components?.prose&&n.prose!==!1?ne:{},...o?.components?.map||{},...ln(n.data?.mdc?.components||{}),...n.components})),m=b(()=>{const s=(n.body?.children||[]).map(f=>f.tag||f.type).filter(f=>!Y(f));return Array.from(new Set(s)).sort().join(".")}),d=kn({...n.data});xn(()=>n.data,s=>{Object.assign(d,s)}),await ge(n.body,{tags:c.value});function p(s,f){const k=s.split(".").length-1;return s.split(".").reduce((P,O,S)=>S==k&&P?(P[O]=f,P[O]):typeof P=="object"?P[O]:void 0,d)}return{tags:c,contentKey:m,route:r,runtimeData:d,updateRuntimeData:p}},render(n){const{tags:l,tag:e,body:r,data:o,contentKey:a,route:c,unwrap:m,runtimeData:d,updateRuntimeData:p}=n;if(!r)return null;const s={...o,tags:l,$route:c,runtimeData:d,updateRuntimeData:p},f=e!==!1?K(e||s.component?.name||s.component||"div"):void 0;return f?J(f,{...s.component?.props,class:n.class,...this.$attrs,key:a},{default:k}):k?.();function k(){const P=yn(r,J,{documentMeta:s,parentScope:s,resolveComponent:K});return P?.default?m?an(P.default(),typeof m=="string"?m.split(" "):["*"]):P.default():null}}});function te(n,l,e,r){const{documentMeta:o,parentScope:a,resolveComponent:c}=e;if(n.type==="text")return l(j,n.value);if(n.type==="comment")return l(On,null,n.value);const m=n.tag,d=Pn(n,o.tags);if(n.tag==="binding")return oe(n,l,o,a);const p=bn(d)?k=>k:c;if(ee.includes(L(d).toLowerCase()))return l("pre",{class:"mdc-renderer-dangerous-tag"},"<"+d+">"+Hn(n)+"");const s=p(d);typeof s=="object"&&(s.tag=m);const f=re(n,o);return r&&(f.key=r),l(s,f,yn(n,l,{documentMeta:o,parentScope:{...a,...f},resolveComponent:p}))}function yn(n,l,e){const{documentMeta:r,parentScope:o,resolveComponent:a}=e,m=(n.children||[]).reduce((p,s)=>{if(!pe(s))return p[$].children.push(s),p;const f=ce(s);return p[f]=p[f]||{props:{},children:[]},s.type==="element"&&(p[f].props=s.props,p[f].children.push(...s.children||[])),p},{[$]:{props:{},children:[]}});return Object.entries(m).reduce((p,[s,{props:f,children:k}])=>(k.length&&(p[s]=(P={})=>{const O=Yn(P,Object.keys(f||{}));let S=k.map((u,h)=>te(u,l,{documentMeta:r,parentScope:{...o,...O},resolveComponent:a},String(u.props?.key||h)));return f?.unwrap&&(S=an(S,f.unwrap)),de(S)}),p),{})}function oe(n,l,e,r={}){const o={...e.runtimeData,...r,$document:e,$doc:e},a=/\.|\[(\d+)\]/,m=(n.props?.value.trim().split(a).filter(Boolean)).reduce((p,s)=>{if(p&&s in p)return typeof p[s]=="function"?p[s]():p[s]},o),d=n.props?.defaultValue;return l(j,m??d??"")}function re(n,l){const{tag:e="",props:r={}}=n;return Object.keys(r).reduce(function(o,a){if(a==="__ignoreMap")return o;const c=r[a];if(Gn.test(a))return ae(a,c,o,l,{native:Zn.includes(e)});if(a==="v-bind")return ue(a,c,o,l);if(fn.test(a))return ie(a,c,o,l);if(hn.test(a))return se(a,c,o,l);const{attribute:m}=Wn(Xn,a);return Array.isArray(c)&&c.every(d=>typeof d=="string")?(o[m]=c.join(" "),o):(o[m]=c,o)},{})}function ae(n,l,e,r,{native:o}){const a=n.match(/^v-model:([^=]+)/)?.[1]||"modelValue",c=o?"value":a,m=o?"onInput":`onUpdate:${a}`;return e[c]=H(l,r.runtimeData),e[m]=d=>{r.updateRuntimeData(l,o?d.target?.value:d)},e}function ue(n,l,e,r){const o=H(l,r);return e=Object.assign(e,o),e}function ie(n,l,e,r){return n=n.replace(fn,""),e.on=e.on||{},e.on[n]=()=>H(l,r),e}function se(n,l,e,r){return n=n.replace(hn,""),e[n]=H(l,r),e}const K=n=>{if(typeof n=="string"){if(Y(n))return n;const l=tn(L(n),!1);return!n||l?.name==="AsyncComponentWrapper"||typeof l=="string"?l:"setup"in l?F(()=>new Promise(e=>e(l))):l}return n};function H(n,l){const e=n.split(".").reduce((r,o)=>typeof r=="object"?r[o]:void 0,l);return typeof e>"u"?Tn(n):e}function ce(n){let l="";for(const e of Object.keys(n.props||{}))if(!(!e.startsWith("#")&&!e.startsWith("v-slot:"))){l=e.split(/[:#]/,2)[1];break}return l||$}function pe(n){return n.tag==="template"}function bn(n){return Qn.has(n)}function de(n){const l=[];for(const e of n){const r=l[l.length-1];e.type===j&&r?.type===j?r.children=r.children+e.children:l.push(e)}return l}async function ge(n,l){if(!n)return;const e=Array.from(new Set(r(n,l)));await Promise.all(e.map(async o=>{if(o?.render||o?.ssrRender||o?.__ssrInlineRender)return;const a=K(o);a?.__asyncLoader&&!a.__asyncResolved&&await a.__asyncLoader()}));function r(o,a){const c=o.tag;if(o.type==="text"||c==="binding"||o.type==="comment")return[];const m=Pn(o,a.tags);if(bn(m))return[];const d=[];o.type!=="root"&&!Y(m)&&d.push(m);for(const p of o.children||[])d.push(...r(p,a));return d}}function Pn(n,l){const e=n.tag;return!e||typeof n.props?.__ignoreMap<"u"?e:l[e]||l[L(e)]||l[on(n.tag)]||e}function Y(n){return(typeof n=="string"?vn.has(n):!1)||V.has(n)}const me=Object.assign(le,{__name:"MDCRenderer"}),B=(n,l,e,r)=>{const o=l==="default"?n?.default:n?.[l];if(!o)throw new Error(`[nuxt-content] Missing export "${l}" for component "${e}" in "${r}".`);return o},fe={UButton:()=>I(()=>import("./DklXDfzJ.js").then(n=>n.c0),__vite__mapDeps([0,1]),import.meta.url).then(n=>B(n,"default","UButton","./../../node_modules/@nuxt/ui/dist/runtime/components/Button.vue")),UPageFeature:()=>I(()=>import("./HMVwWJyQ.js"),__vite__mapDeps([2,0,1]),import.meta.url).then(n=>B(n,"default","UPageFeature","./../../node_modules/@nuxt/ui/dist/runtime/components/PageFeature.vue")),UPageHero:()=>I(()=>import("./CuVQRRrB.js"),__vite__mapDeps([3,0,1]),import.meta.url).then(n=>B(n,"default","UPageHero","./../../node_modules/@nuxt/ui/dist/runtime/components/PageHero.vue")),UPageSection:()=>I(()=>import("./C8rlYhEz.js"),__vite__mapDeps([4,0,1,2]),import.meta.url).then(n=>B(n,"default","UPageSection","./../../node_modules/@nuxt/ui/dist/runtime/components/PageSection.vue"))},he=["ProseA","ProseAccordion","ProseAccordionItem","ProseBadge","ProseBlockquote","ProseCallout","ProseCard","ProseCardGroup","ProseCode","ProseCodeCollapse","ProseCodeGroup","ProseCodeIcon","ProseCodePreview","ProseCodeTree","ProseCollapsible","ProseEm","ProseField","ProseFieldGroup","ProseH1","ProseH2","ProseH3","ProseH4","ProseHr","ProseIcon","ProseImg","ProseKbd","ProseLi","ProseOl","ProseP","ProsePre","ProseScript","ProseSteps","ProseStrong","ProseTable","ProseTabs","ProseTabsItem","ProseTbody","ProseTd","ProseTh","ProseThead","ProseTr","ProseUl","ProseCaution","ProseNote","ProseTip","ProseWarning","ProseH5","ProseH6","Icon"],ve=["UButton","UPageFeature","UPageHero","UPageSection"],ye={__name:"ContentRenderer",props:{value:{type:Object,required:!0},excerpt:{type:Boolean,default:!1},tag:{type:String,default:"div"},components:{type:Object,default:()=>({})},data:{type:Object,default:()=>({})},prose:{type:Boolean,default:void 0},class:{type:[String,Object],default:void 0},unwrap:{type:[Boolean,String],default:!1}},setup(n){const l=["render","ssrRender","__ssrInlineRender"],e=n,r=import.meta.preview,o=b(()=>{let u=e.value.body||e.value;return e.excerpt&&e.value.excerpt&&(u=e.value.excerpt),u.type==="minimal"||u.type==="minimark"?_n({value:u.value}):u}),a=b(()=>!o.value?.children?.length),c=b(()=>{const{body:u,excerpt:h,...g}=e.value;return{...g,...e.data}}),m=Object.fromEntries(["p","a","blockquote","code","pre","code","em","h1","h2","h3","h4","h5","h6","hr","img","ul","ol","li","strong","table","thead","tbody","td","th","tr","script"].map(u=>[u,`prose-${u}`])),{mdc:d}=Dn().public||{},p=b(()=>e.data.mdc),s=b(()=>({...d?.components?.prose&&e.prose!==!1?m:{},...d?.components?.map||{},...ln(p.value?.components||{}),...e.components})),f=b(()=>o.value?P(o.value,{tags:s.value}):{});function k(u){let h=u;if(typeof u=="string"){if(V.has(u))return u;if(he.includes(L(u)))h=tn(u,!1);else if(ve.includes(L(u))){const C=fe[L(u)];h=C?F(C):void 0}if(typeof h=="string")return h}if(!h)return h;const g=h;return"__asyncLoader"in g?g:"setup"in g?F(()=>Promise.resolve(g)):g}function P(u,h){if(!u)return;const g=Array.from(new Set(O(u,h))),C={};for(const[T,R]of g)if(!C[T]){if(typeof R=="object"&&l.some(Cn=>Object.hasOwnProperty.call(R,Cn))){C[T]=R;continue}C[T]=k(R)}return C}function O(u,h){const g=u.tag;if(u.type==="text"||g==="binding"||u.type==="comment")return[];const C=S(u,h.tags),T=[];u.type!=="root"&&!V.has(C)&&T.push([g,C]);for(const R of u.children||[])T.push(...O(R,h));return T}function S(u,h){const g=u.tag;return!g||typeof u.props?.__ignoreMap<"u"?g:h[g]||h[L(g)]||h[on(u.tag)]||g}return(u,h)=>a.value?Rn(u.$slots,"empty",{key:1,body:o.value,data:c.value,dataContentId:G(r)?n.value.id:void 0}):(En(),Ln(me,{key:0,body:o.value,data:c.value,class:Mn(e.class),tag:e.tag,prose:e.prose,unwrap:e.unwrap,components:f.value,"data-content-id":G(r)?n.value.id:void 0},null,8,["body","data","class","tag","prose","unwrap","components","data-content-id"]))}},Se=Object.assign(ye,{__name:"ContentRenderer"});function ke(n){const l=rn(),e=An(),{locale:r,locales:o,isEnabled:a,switchLocalePath:c}=Un(),m=b(()=>D(n.title)),d=b(()=>D(n.description)),p=b(()=>D(n.type)||"article"),s=b(()=>D(n.ogImage)),f=b(()=>D(n.publishedAt)),k=b(()=>D(n.modifiedAt)),P=b(()=>D(n.breadcrumbs)),O=b(()=>{if(e.url)return A(e.url,l.path)}),S=b(()=>e.url?In(e.url):"");Z({title:m,description:d,ogTitle:m,ogDescription:d,ogType:p,ogUrl:O,ogLocale:b(()=>a.value?r.value:void 0)}),Q({link:b(()=>{const u=[];if(O.value&&u.push({rel:"canonical",href:O.value}),a.value&&S.value){for(const g of o){const C=c(g.code);C&&u.push({rel:"alternate",hreflang:g.code,href:A(S.value,C)})}const h=c(o[0]?.code||"en");h&&u.push({rel:"alternate",hreflang:"x-default",href:A(S.value,h)})}return u})}),s.value&&Z({ogImage:s.value,twitterImage:s.value}),Q({script:b(()=>{const u=[];if(!S.value||!m.value)return u;const h=A(S.value,l.path);if(p.value==="article"){const g={"@context":"https://schema.org","@type":"Article",headline:m.value,description:d.value,url:h,mainEntityOfPage:{"@type":"WebPage","@id":h}};f.value&&(g.datePublished=f.value),k.value&&(g.dateModified=k.value),e.name&&(g.publisher={"@type":"Organization",name:e.name}),u.push({type:"application/ld+json",innerHTML:JSON.stringify(g)})}if(p.value==="website"){const g={"@context":"https://schema.org","@type":"WebSite",name:e.name||m.value,description:d.value,url:S.value};u.push({type:"application/ld+json",innerHTML:JSON.stringify(g)})}if(P.value&&P.value.length>0){const g={"@context":"https://schema.org","@type":"BreadcrumbList",itemListElement:P.value.map((C,T)=>({"@type":"ListItem",position:T+1,name:C.title,item:A(S.value,C.path)}))};u.push({type:"application/ld+json",innerHTML:JSON.stringify(g)})}return u})})}function be(n={}){const l=Bn(),r=rn().path||"/";if(l.payload.path===r){const o=jn(!1);o.value=!0}}function xe(n,l={},e={}){return be({...e})}export{Se as _,xe as d,ke as u}; diff --git a/assets/PGrg6JrO.js b/assets/BI9s2eu6.js similarity index 95% rename from assets/PGrg6JrO.js rename to assets/BI9s2eu6.js index c687d90..801724f 100644 --- a/assets/PGrg6JrO.js +++ b/assets/BI9s2eu6.js @@ -1 +1 @@ -import{Q as y,a0 as _,a1 as k,O as d,bu as q,o as r,a as c,p as n,s,bv as h,ac as l,q as u,f as m,af as B,P,c as b,am as v}from"./Sa-_S7_w.js";const x={slots:{root:"flex flex-col lg:grid lg:grid-cols-10 lg:gap-10",left:"lg:col-span-2",center:"lg:col-span-8",right:"lg:col-span-2 order-first lg:order-last"},variants:{left:{true:""},right:{true:""}},compoundVariants:[{left:!0,right:!0,class:{center:"lg:col-span-6"}},{left:!1,right:!1,class:{center:"lg:col-span-10"}}]},V={__name:"UPage",props:{as:{type:null,required:!1},class:{type:null,required:!1},ui:{type:Object,required:!1}},setup(i){const f=i,e=y(),C=_(),a=k("page",f),g=d(!!e.left),p=d(!!e.right);q(()=>{g.value=!!e.left,p.value=!!e.right});const t=b(()=>v({extend:v(x),...C.ui?.page||{}})({left:g.value,right:p.value}));return(o,S)=>(r(),c(s(P),{as:i.as,"data-slot":"root",class:l(t.value.root({class:[s(a)?.root,f.class]}))},{default:n(()=>[e.left?(r(),c(s(h),{key:0,"data-slot":"left",class:l(t.value.left({class:s(a)?.left}))},{default:n(()=>[u(o.$slots,"left")]),_:3},8,["class"])):m("",!0),B("div",{"data-slot":"center",class:l(t.value.center({class:s(a)?.center}))},[u(o.$slots,"default")],2),e.right?(r(),c(s(h),{key:1,"data-slot":"right",class:l(t.value.right({class:s(a)?.right}))},{default:n(()=>[u(o.$slots,"right")]),_:3},8,["class"])):m("",!0)]),_:3},8,["as","class"]))}};export{V as _}; +import{Q as y,a0 as _,a1 as k,O as d,bu as q,o as r,a as c,p as n,s,bv as h,ac as l,q as u,f as m,af as B,P,c as b,am as v}from"./DklXDfzJ.js";const x={slots:{root:"flex flex-col lg:grid lg:grid-cols-10 lg:gap-10",left:"lg:col-span-2",center:"lg:col-span-8",right:"lg:col-span-2 order-first lg:order-last"},variants:{left:{true:""},right:{true:""}},compoundVariants:[{left:!0,right:!0,class:{center:"lg:col-span-6"}},{left:!1,right:!1,class:{center:"lg:col-span-10"}}]},V={__name:"UPage",props:{as:{type:null,required:!1},class:{type:null,required:!1},ui:{type:Object,required:!1}},setup(i){const f=i,e=y(),C=_(),a=k("page",f),g=d(!!e.left),p=d(!!e.right);q(()=>{g.value=!!e.left,p.value=!!e.right});const t=b(()=>v({extend:v(x),...C.ui?.page||{}})({left:g.value,right:p.value}));return(o,S)=>(r(),c(s(P),{as:i.as,"data-slot":"root",class:l(t.value.root({class:[s(a)?.root,f.class]}))},{default:n(()=>[e.left?(r(),c(s(h),{key:0,"data-slot":"left",class:l(t.value.left({class:s(a)?.left}))},{default:n(()=>[u(o.$slots,"left")]),_:3},8,["class"])):m("",!0),B("div",{"data-slot":"center",class:l(t.value.center({class:s(a)?.center}))},[u(o.$slots,"default")],2),e.right?(r(),c(s(h),{key:1,"data-slot":"right",class:l(t.value.right({class:s(a)?.right}))},{default:n(()=>[u(o.$slots,"right")]),_:3},8,["class"])):m("",!0)]),_:3},8,["as","class"]))}};export{V as _}; diff --git a/assets/CPqlHjwQ.js b/assets/BILlFXHa.js similarity index 89% rename from assets/CPqlHjwQ.js rename to assets/BILlFXHa.js index ff12d54..23cddd1 100644 --- a/assets/CPqlHjwQ.js +++ b/assets/BILlFXHa.js @@ -1 +1 @@ -import{a0 as n,a1 as i,e as l,q as p,ac as u,s as d,c as m,am as t,o as f,ah as b,ag as g}from"./Sa-_S7_w.js";const y={base:"pb-4 text-muted *:first:mt-0 *:last:mb-0 *:my-1.5"},C={__name:"ProseAccordionItem",props:{label:{type:String,required:!0},description:{type:String,required:!1},class:{type:null,required:!1},ui:{type:Object,required:!1}},setup(e){const s=e,a=n(),o=i("prose.accordionItem",s),r=m(()=>t({extend:t(y),...a.ui?.prose?.accordionItem||{}}));return(c,q)=>(f(),l("div",{class:u(r.value({class:[d(o)?.base,s.class]}))},[p(c.$slots,"default",{},()=>[b(g(e.description),1)])],2))}};export{C as default}; +import{a0 as n,a1 as i,e as l,q as p,ac as u,s as d,c as m,am as t,o as f,ah as b,ag as g}from"./DklXDfzJ.js";const y={base:"pb-4 text-muted *:first:mt-0 *:last:mb-0 *:my-1.5"},C={__name:"ProseAccordionItem",props:{label:{type:String,required:!0},description:{type:String,required:!1},class:{type:null,required:!1},ui:{type:Object,required:!1}},setup(e){const s=e,a=n(),o=i("prose.accordionItem",s),r=m(()=>t({extend:t(y),...a.ui?.prose?.accordionItem||{}}));return(c,q)=>(f(),l("div",{class:u(r.value({class:[d(o)?.base,s.class]}))},[p(c.$slots,"default",{},()=>[b(g(e.description),1)])],2))}};export{C as default}; diff --git a/assets/BB8f-fnx.js b/assets/BI_2AZ0T.js similarity index 96% rename from assets/BB8f-fnx.js rename to assets/BI_2AZ0T.js index 2b9632c..c22a372 100644 --- a/assets/BB8f-fnx.js +++ b/assets/BI_2AZ0T.js @@ -1 +1 @@ -import{d as m,bI as I,I as y,h as g,G as F,H as K,o as h,a as S,p as l,B as C,s as n,P as q,q as w,c as u,y as B,bJ as T,n as R,bK as x}from"./Sa-_S7_w.js";var _=m({__name:"RovingFocusItem",props:{tabStopId:{type:String,required:!1},focusable:{type:Boolean,required:!1,default:!0},active:{type:Boolean,required:!1},allowShiftKey:{type:Boolean,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"span"}},setup(d){const r=d,a=I(),f=y(),i=u(()=>r.tabStopId||f),c=u(()=>a.currentTabStopId.value===i.value),{getItems:p,CollectionItem:v}=g();F(()=>{r.focusable&&a.onFocusableItemAdd()}),K(()=>{r.focusable&&a.onFocusableItemRemove()});function b(e){if(e.key==="Tab"&&e.shiftKey){a.onItemShiftTab();return}if(e.target!==e.currentTarget)return;const t=B(e,a.orientation.value,a.dir.value);if(t!==void 0){if(e.metaKey||e.ctrlKey||e.altKey||!r.allowShiftKey&&e.shiftKey)return;e.preventDefault();let o=[...p().map(s=>s.ref).filter(s=>s.dataset.disabled!=="")];if(t==="last")o.reverse();else if(t==="prev"||t==="next"){t==="prev"&&o.reverse();const s=o.indexOf(e.currentTarget);o=a.loop.value?T(o,s+1):o.slice(s+1)}R(()=>x(o))}}return(e,t)=>(h(),S(n(v),null,{default:l(()=>[C(n(q),{tabindex:c.value?0:-1,"data-orientation":n(a).orientation.value,"data-active":e.active?"":void 0,"data-disabled":e.focusable?void 0:"",as:e.as,"as-child":e.asChild,onMousedown:t[0]||(t[0]=o=>{e.focusable?n(a).onItemFocus(i.value):o.preventDefault()}),onFocus:t[1]||(t[1]=o=>n(a).onItemFocus(i.value)),onKeydown:b},{default:l(()=>[w(e.$slots,"default")]),_:3},8,["tabindex","data-orientation","data-active","data-disabled","as","as-child"])]),_:3}))}}),A=_;export{A as R}; +import{d as m,bI as I,I as y,h as g,G as F,H as K,o as h,a as S,p as l,B as C,s as n,P as q,q as w,c as u,y as B,bJ as T,n as R,bK as x}from"./DklXDfzJ.js";var _=m({__name:"RovingFocusItem",props:{tabStopId:{type:String,required:!1},focusable:{type:Boolean,required:!1,default:!0},active:{type:Boolean,required:!1},allowShiftKey:{type:Boolean,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"span"}},setup(d){const r=d,a=I(),f=y(),i=u(()=>r.tabStopId||f),c=u(()=>a.currentTabStopId.value===i.value),{getItems:p,CollectionItem:v}=g();F(()=>{r.focusable&&a.onFocusableItemAdd()}),K(()=>{r.focusable&&a.onFocusableItemRemove()});function b(e){if(e.key==="Tab"&&e.shiftKey){a.onItemShiftTab();return}if(e.target!==e.currentTarget)return;const t=B(e,a.orientation.value,a.dir.value);if(t!==void 0){if(e.metaKey||e.ctrlKey||e.altKey||!r.allowShiftKey&&e.shiftKey)return;e.preventDefault();let o=[...p().map(s=>s.ref).filter(s=>s.dataset.disabled!=="")];if(t==="last")o.reverse();else if(t==="prev"||t==="next"){t==="prev"&&o.reverse();const s=o.indexOf(e.currentTarget);o=a.loop.value?T(o,s+1):o.slice(s+1)}R(()=>x(o))}}return(e,t)=>(h(),S(n(v),null,{default:l(()=>[C(n(q),{tabindex:c.value?0:-1,"data-orientation":n(a).orientation.value,"data-active":e.active?"":void 0,"data-disabled":e.focusable?void 0:"",as:e.as,"as-child":e.asChild,onMousedown:t[0]||(t[0]=o=>{e.focusable?n(a).onItemFocus(i.value):o.preventDefault()}),onFocus:t[1]||(t[1]=o=>n(a).onItemFocus(i.value)),onKeydown:b},{default:l(()=>[w(e.$slots,"default")]),_:3},8,["tabindex","data-orientation","data-active","data-disabled","as","as-child"])]),_:3}))}}),A=_;export{A as R}; diff --git a/assets/Bzw3B9ST.js b/assets/BLoocZPz.js similarity index 84% rename from assets/Bzw3B9ST.js rename to assets/BLoocZPz.js index 5d85a9b..2e79f49 100644 --- a/assets/Bzw3B9ST.js +++ b/assets/BLoocZPz.js @@ -1 +1 @@ -import{a0 as c,a1 as p,e as l,q as u,ac as m,s as i,c as f,am as s,o as d}from"./Sa-_S7_w.js";const _={base:""},g={__name:"ProseEm",props:{class:{type:String,required:!1},ui:{type:Object,required:!1}},setup(a){const e=a,o=c(),t=p("prose.em",e),r=f(()=>s({extend:s(_),...o.ui?.prose?.em||{}}));return(n,C)=>(d(),l("em",{class:m(r.value({class:[i(t)?.base,e.class]}))},[u(n.$slots,"default")],2))}};export{g as default}; +import{a0 as c,a1 as p,e as l,q as u,ac as m,s as i,c as f,am as s,o as d}from"./DklXDfzJ.js";const _={base:""},g={__name:"ProseEm",props:{class:{type:String,required:!1},ui:{type:Object,required:!1}},setup(a){const e=a,o=c(),t=p("prose.em",e),r=f(()=>s({extend:s(_),...o.ui?.prose?.em||{}}));return(n,C)=>(d(),l("em",{class:m(r.value({class:[i(t)?.base,e.class]}))},[u(n.$slots,"default")],2))}};export{g as default}; diff --git a/assets/BLM-gHsq.js b/assets/BO9r3vVu.js similarity index 68% rename from assets/BLM-gHsq.js rename to assets/BO9r3vVu.js index f9ae816..d105f8a 100644 --- a/assets/BLM-gHsq.js +++ b/assets/BO9r3vVu.js @@ -1 +1 @@ -import{i}from"./Sa-_S7_w.js";function r(e,s,o){const t=e.findIndex(n=>i(n,s)),d=e.findIndex(n=>i(n,o));if(t===-1||d===-1)return[];const[x,f]=[t,d].sort((n,I)=>n-I);return e.slice(x,f+1)}export{r as f}; +import{i}from"./DklXDfzJ.js";function r(e,s,o){const t=e.findIndex(n=>i(n,s)),d=e.findIndex(n=>i(n,o));if(t===-1||d===-1)return[];const[x,f]=[t,d].sort((n,I)=>n-I);return e.slice(x,f+1)}export{r as f}; diff --git a/assets/Bfu_U5-L.js b/assets/BSIZYPu4.js similarity index 86% rename from assets/Bfu_U5-L.js rename to assets/BSIZYPu4.js index a72c6f9..758ff49 100644 --- a/assets/Bfu_U5-L.js +++ b/assets/BSIZYPu4.js @@ -1 +1 @@ -import{a0 as l,a1 as n,e as u,q as p,ac as i,s as m,c as d,am as s,o as f}from"./Sa-_S7_w.js";const _={base:"list-disc ps-6 my-5 marker:text-(--ui-border-accented)"},k={__name:"ProseUl",props:{class:{type:null,required:!1},ui:{type:Object,required:!1}},setup(a){const e=a,t=l(),o=n("prose.ul",e),r=d(()=>s({extend:s(_),...t.ui?.prose?.ul||{}}));return(c,b)=>(f(),u("ul",{class:i(r.value({class:[m(o)?.base,e.class]}))},[p(c.$slots,"default")],2))}};export{k as default}; +import{a0 as l,a1 as n,e as u,q as p,ac as i,s as m,c as d,am as s,o as f}from"./DklXDfzJ.js";const _={base:"list-disc ps-6 my-5 marker:text-(--ui-border-accented)"},k={__name:"ProseUl",props:{class:{type:null,required:!1},ui:{type:Object,required:!1}},setup(a){const e=a,t=l(),o=n("prose.ul",e),r=d(()=>s({extend:s(_),...t.ui?.prose?.ul||{}}));return(c,b)=>(f(),u("ul",{class:i(r.value({class:[m(o)?.base,e.class]}))},[p(c.$slots,"default")],2))}};export{k as default}; diff --git a/assets/BBkDooDw.js b/assets/BT07FD-X.js similarity index 98% rename from assets/BBkDooDw.js rename to assets/BT07FD-X.js index 624f410..ae80cca 100644 --- a/assets/BBkDooDw.js +++ b/assets/BT07FD-X.js @@ -1 +1 @@ -import{d as S,bw as H,bx as K,J as j,o as d,a as f,p,q as b,s as a,P as z,Q as w,a0 as P,a1 as V,a2 as D,a3 as F,e as x,F as N,r as O,by as U,ac as r,Z as q,B as C,bz as E,ab as B,f as I,ah as $,ag as k,bA as R,af as T,m as J,bB as L,c as A,am as _,bu as M,ay as Q,v as W,W as Z}from"./Sa-_S7_w.js";var G=S({__name:"AccordionHeader",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"h3"}},setup(i){const u=i,o=H(),y=K();return j(),(n,g)=>(d(),f(a(z),{as:u.as,"as-child":u.asChild,"data-orientation":a(o).orientation,"data-state":a(y).dataState.value,"data-disabled":a(y).dataDisabled.value},{default:p(()=>[b(n.$slots,"default")]),_:3},8,["as","as-child","data-orientation","data-state","data-disabled"]))}}),X=G;const Y={slots:{root:"w-full",item:"border-b border-default last:border-b-0",header:"flex",trigger:"group flex-1 flex items-center gap-1.5 font-medium text-sm py-3.5 focus-visible:outline-primary min-w-0",content:"data-[state=open]:animate-[accordion-down_200ms_ease-out] data-[state=closed]:animate-[accordion-up_200ms_ease-out] overflow-hidden focus:outline-none",body:"text-sm pb-3.5",leadingIcon:"shrink-0 size-5",trailingIcon:"shrink-0 size-5 ms-auto group-data-[state=open]:rotate-180 transition-transform duration-200",label:"text-start break-words"},variants:{disabled:{true:{trigger:"cursor-not-allowed opacity-75"}}}},ee={__name:"UAccordion",props:{as:{type:null,required:!1},items:{type:Array,required:!1},trailingIcon:{type:null,required:!1},valueKey:{type:null,required:!1,default:"value"},labelKey:{type:null,required:!1,default:"label"},class:{type:null,required:!1},ui:{type:Object,required:!1},collapsible:{type:Boolean,required:!1,default:!0},defaultValue:{type:null,required:!1},modelValue:{type:null,required:!1},type:{type:String,required:!1,default:"single"},disabled:{type:Boolean,required:!1},unmountOnHide:{type:Boolean,required:!1,default:!0}},emits:["update:modelValue"],setup(i,{emit:u}){const o=i,y=u,n=w(),g=P(),l=V("accordion",o),h=D(F(o,"as","collapsible","defaultValue","disabled","modelValue","unmountOnHide"),y),t=A(()=>_({extend:_(Y),...g.ui?.accordion||{}})({disabled:o.disabled}));return(s,v)=>(d(),f(a(L),J(a(h),{type:i.type,"data-slot":"root",class:t.value.root({class:[a(l)?.root,o.class]})}),{default:p(()=>[(d(!0),x(N,null,O(o.items,(e,c)=>(d(),f(a(U),{key:c,value:a(q)(e,o.valueKey)??String(c),disabled:e.disabled,"data-slot":"item",class:r(t.value.item({class:[a(l)?.item,e.ui?.item,e.class]}))},{default:p(({open:m})=>[C(a(X),{as:"div","data-slot":"header",class:r(t.value.header({class:[a(l)?.header,e.ui?.header]}))},{default:p(()=>[C(a(E),{"data-slot":"trigger",class:r(t.value.trigger({class:[a(l)?.trigger,e.ui?.trigger],disabled:e.disabled}))},{default:p(()=>[b(s.$slots,"leading",{item:e,index:c,open:m,ui:t.value},()=>[e.icon?(d(),f(B,{key:0,name:e.icon,"data-slot":"leadingIcon",class:r(t.value.leadingIcon({class:[a(l)?.leadingIcon,e?.ui?.leadingIcon]}))},null,8,["name","class"])):I("",!0)]),a(q)(e,o.labelKey)||n.default?(d(),x("span",{key:0,"data-slot":"label",class:r(t.value.label({class:[a(l)?.label,e.ui?.label]}))},[b(s.$slots,"default",{item:e,index:c,open:m},()=>[$(k(a(q)(e,o.labelKey)),1)])],2)):I("",!0),b(s.$slots,"trailing",{item:e,index:c,open:m,ui:t.value},()=>[C(B,{name:e.trailingIcon||i.trailingIcon||a(g).ui.icons.chevronDown,"data-slot":"trailingIcon",class:r(t.value.trailingIcon({class:[a(l)?.trailingIcon,e.ui?.trailingIcon]}))},null,8,["name","class"])])]),_:2},1032,["class"])]),_:2},1032,["class"]),e.content||n.content||e.slot&&n[e.slot]||n.body||e.slot&&n[`${e.slot}-body`]?(d(),f(a(R),{key:0,"data-slot":"content",class:r(t.value.content({class:[a(l)?.content,e.ui?.content]}))},{default:p(()=>[b(s.$slots,e.slot||"content",{item:e,index:c,open:m,ui:t.value},()=>[T("div",{"data-slot":"body",class:r(t.value.body({class:[a(l)?.body,e.ui?.body]}))},[b(s.$slots,e.slot?`${e.slot}-body`:"body",{item:e,index:c,open:m,ui:t.value},()=>[$(k(e.content),1)])],2)])]),_:2},1032,["class"])):I("",!0)]),_:2},1032,["value","disabled","class"]))),128))]),_:3},16,["type","class"]))}},ae={slots:{root:"my-5",trigger:"text-base"}},se={__name:"ProseAccordion",props:{type:{type:String,required:!1,default:"multiple"},class:{type:null,required:!1},ui:{type:Object,required:!1}},setup(i){const u=i,o=w(),y=P(),n=V("prose.accordion",u),g=A(()=>_({extend:_(ae),...y.ui?.prose?.accordion||{}})),l=W(1),h=A(()=>(l.value,o.default?.()?.flatMap(t).filter(Boolean)||[]));function t(s,v){return typeof s.type=="symbol"?s.children?.map(t):{index:v,label:s.props?.label||`${v}`,description:s.props?.description,icon:s.props?.icon,component:s}}return M(()=>l.value++),(s,v)=>(d(),f(ee,{type:i.type,items:h.value,"unmount-on-hide":!1,class:r(u.class),ui:a(Q)(g.value(),a(n))},{content:p(({item:e})=>[(d(),f(Z(e.component)))]),_:1},8,["type","items","class","ui"]))}};export{se as default}; +import{d as S,bw as H,bx as K,J as j,o as d,a as f,p,q as b,s as a,P as z,Q as w,a0 as P,a1 as V,a2 as D,a3 as F,e as x,F as N,r as O,by as U,ac as r,Z as q,B as C,bz as E,ab as B,f as I,ah as $,ag as k,bA as R,af as T,m as J,bB as L,c as A,am as _,bu as M,ay as Q,v as W,W as Z}from"./DklXDfzJ.js";var G=S({__name:"AccordionHeader",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"h3"}},setup(i){const u=i,o=H(),y=K();return j(),(n,g)=>(d(),f(a(z),{as:u.as,"as-child":u.asChild,"data-orientation":a(o).orientation,"data-state":a(y).dataState.value,"data-disabled":a(y).dataDisabled.value},{default:p(()=>[b(n.$slots,"default")]),_:3},8,["as","as-child","data-orientation","data-state","data-disabled"]))}}),X=G;const Y={slots:{root:"w-full",item:"border-b border-default last:border-b-0",header:"flex",trigger:"group flex-1 flex items-center gap-1.5 font-medium text-sm py-3.5 focus-visible:outline-primary min-w-0",content:"data-[state=open]:animate-[accordion-down_200ms_ease-out] data-[state=closed]:animate-[accordion-up_200ms_ease-out] overflow-hidden focus:outline-none",body:"text-sm pb-3.5",leadingIcon:"shrink-0 size-5",trailingIcon:"shrink-0 size-5 ms-auto group-data-[state=open]:rotate-180 transition-transform duration-200",label:"text-start break-words"},variants:{disabled:{true:{trigger:"cursor-not-allowed opacity-75"}}}},ee={__name:"UAccordion",props:{as:{type:null,required:!1},items:{type:Array,required:!1},trailingIcon:{type:null,required:!1},valueKey:{type:null,required:!1,default:"value"},labelKey:{type:null,required:!1,default:"label"},class:{type:null,required:!1},ui:{type:Object,required:!1},collapsible:{type:Boolean,required:!1,default:!0},defaultValue:{type:null,required:!1},modelValue:{type:null,required:!1},type:{type:String,required:!1,default:"single"},disabled:{type:Boolean,required:!1},unmountOnHide:{type:Boolean,required:!1,default:!0}},emits:["update:modelValue"],setup(i,{emit:u}){const o=i,y=u,n=w(),g=P(),l=V("accordion",o),h=D(F(o,"as","collapsible","defaultValue","disabled","modelValue","unmountOnHide"),y),t=A(()=>_({extend:_(Y),...g.ui?.accordion||{}})({disabled:o.disabled}));return(s,v)=>(d(),f(a(L),J(a(h),{type:i.type,"data-slot":"root",class:t.value.root({class:[a(l)?.root,o.class]})}),{default:p(()=>[(d(!0),x(N,null,O(o.items,(e,c)=>(d(),f(a(U),{key:c,value:a(q)(e,o.valueKey)??String(c),disabled:e.disabled,"data-slot":"item",class:r(t.value.item({class:[a(l)?.item,e.ui?.item,e.class]}))},{default:p(({open:m})=>[C(a(X),{as:"div","data-slot":"header",class:r(t.value.header({class:[a(l)?.header,e.ui?.header]}))},{default:p(()=>[C(a(E),{"data-slot":"trigger",class:r(t.value.trigger({class:[a(l)?.trigger,e.ui?.trigger],disabled:e.disabled}))},{default:p(()=>[b(s.$slots,"leading",{item:e,index:c,open:m,ui:t.value},()=>[e.icon?(d(),f(B,{key:0,name:e.icon,"data-slot":"leadingIcon",class:r(t.value.leadingIcon({class:[a(l)?.leadingIcon,e?.ui?.leadingIcon]}))},null,8,["name","class"])):I("",!0)]),a(q)(e,o.labelKey)||n.default?(d(),x("span",{key:0,"data-slot":"label",class:r(t.value.label({class:[a(l)?.label,e.ui?.label]}))},[b(s.$slots,"default",{item:e,index:c,open:m},()=>[$(k(a(q)(e,o.labelKey)),1)])],2)):I("",!0),b(s.$slots,"trailing",{item:e,index:c,open:m,ui:t.value},()=>[C(B,{name:e.trailingIcon||i.trailingIcon||a(g).ui.icons.chevronDown,"data-slot":"trailingIcon",class:r(t.value.trailingIcon({class:[a(l)?.trailingIcon,e.ui?.trailingIcon]}))},null,8,["name","class"])])]),_:2},1032,["class"])]),_:2},1032,["class"]),e.content||n.content||e.slot&&n[e.slot]||n.body||e.slot&&n[`${e.slot}-body`]?(d(),f(a(R),{key:0,"data-slot":"content",class:r(t.value.content({class:[a(l)?.content,e.ui?.content]}))},{default:p(()=>[b(s.$slots,e.slot||"content",{item:e,index:c,open:m,ui:t.value},()=>[T("div",{"data-slot":"body",class:r(t.value.body({class:[a(l)?.body,e.ui?.body]}))},[b(s.$slots,e.slot?`${e.slot}-body`:"body",{item:e,index:c,open:m,ui:t.value},()=>[$(k(e.content),1)])],2)])]),_:2},1032,["class"])):I("",!0)]),_:2},1032,["value","disabled","class"]))),128))]),_:3},16,["type","class"]))}},ae={slots:{root:"my-5",trigger:"text-base"}},se={__name:"ProseAccordion",props:{type:{type:String,required:!1,default:"multiple"},class:{type:null,required:!1},ui:{type:Object,required:!1}},setup(i){const u=i,o=w(),y=P(),n=V("prose.accordion",u),g=A(()=>_({extend:_(ae),...y.ui?.prose?.accordion||{}})),l=W(1),h=A(()=>(l.value,o.default?.()?.flatMap(t).filter(Boolean)||[]));function t(s,v){return typeof s.type=="symbol"?s.children?.map(t):{index:v,label:s.props?.label||`${v}`,description:s.props?.description,icon:s.props?.icon,component:s}}return M(()=>l.value++),(s,v)=>(d(),f(ee,{type:i.type,items:h.value,"unmount-on-hide":!1,class:r(u.class),ui:a(Q)(g.value(),a(n))},{content:p(({item:e})=>[(d(),f(Z(e.component)))]),_:1},8,["type","items","class","ui"]))}};export{se as default}; diff --git a/assets/DBvuT6Rn.js b/assets/BX3MvpYz.js similarity index 98% rename from assets/DBvuT6Rn.js rename to assets/BX3MvpYz.js index 99c7092..b4b1cea 100644 --- a/assets/DBvuT6Rn.js +++ b/assets/BX3MvpYz.js @@ -1 +1 @@ -import{a0 as f,a as d,ab as y,f as v,c as t,ao as a,o as r}from"./Sa-_S7_w.js";const u={"package.json":"i-vscode-icons-file-type-node","tsconfig.json":"i-vscode-icons-file-type-tsconfig",".npmrc":"i-vscode-icons-file-type-npm",".editorconfig":"i-vscode-icons-file-type-editorconfig",".eslintrc":"i-vscode-icons-file-type-eslint",".eslintrc.cjs":"i-vscode-icons-file-type-eslint",".eslintignore":"i-vscode-icons-file-type-eslint","eslint.config.js":"i-vscode-icons-file-type-eslint","eslint.config.mjs":"i-vscode-icons-file-type-eslint","eslint.config.cjs":"i-vscode-icons-file-type-eslint",".gitignore":"i-vscode-icons-file-type-git","yarn.lock":"i-vscode-icons-file-type-yarn",".env":"i-vscode-icons-file-type-dotenv",".env.example":"i-vscode-icons-file-type-dotenv",".vscode/settings.json":"i-vscode-icons-file-type-vscode",nuxt:"i-vscode-icons-file-type-nuxt",".nuxtrc":"i-vscode-icons-file-type-nuxt",".nuxtignore":"i-vscode-icons-file-type-nuxt","nuxt.config.js":"i-vscode-icons-file-type-nuxt","nuxt.config.ts":"i-vscode-icons-file-type-nuxt","nuxt.schema.ts":"i-vscode-icons-file-type-nuxt","tailwind.config.js":"i-vscode-icons-file-type-tailwind","tailwind.config.ts":"i-vscode-icons-file-type-tailwind",vue:"i-vscode-icons-file-type-vue",ts:"i-vscode-icons-file-type-typescript",tsx:"i-vscode-icons-file-type-typescript",mjs:"i-vscode-icons-file-type-js",cjs:"i-vscode-icons-file-type-js",js:"i-vscode-icons-file-type-js",jsx:"i-vscode-icons-file-type-js",md:"i-vscode-icons-file-type-markdown",py:"i-vscode-icons-file-type-python",cs:"i-vscode-icons-file-type-csharp",asm:"i-vscode-icons-file-type-assembly",f:"i-vscode-icons-file-type-fortran",hs:"i-vscode-icons-file-type-haskell",fs:"i-vscode-icons-file-type-fsharp",kt:"i-vscode-icons-file-type-kotlin",rs:"i-vscode-icons-file-type-rust",rb:"i-vscode-icons-file-type-ruby",lsp:"i-vscode-icons-file-type-lisp",ps1:"i-vscode-icons-file-type-powershell",psd1:"i-vscode-icons-file-type-powershell",psm1:"i-vscode-icons-file-type-powershell",go:"i-vscode-icons-file-type-go",gleam:"i-vscode-icons-file-type-gleam",bicep:"i-vscode-icons-file-type-bicep",bicepparam:"i-vscode-icons-file-type-bicep",exs:"i-vscode-icons-file-type-elixir",erl:"i-vscode-icons-file-type-erlang",sbt:"i-vscode-icons-file-type-scala",h:"i-vscode-icons-file-type-cppheader",ino:"i-vscode-icons-file-type-arduino",pl:"i-vscode-icons-file-type-perl",jl:"i-vscode-icons-file-type-julia",dart:"i-vscode-icons-file-type-dartlang",ico:"i-vscode-icons-file-type-favicon",npm:"i-vscode-icons-file-type-npm",pnpm:"i-vscode-icons-file-type-pnpm",npx:"i-vscode-icons-file-type-npm",yarn:"i-vscode-icons-file-type-yarn",bun:"i-vscode-icons-file-type-bun",deno:"i-vscode-icons-file-type-deno",yml:"i-vscode-icons-file-type-yaml",terminal:"i-lucide-terminal"},g={__name:"ProseCodeIcon",props:{icon:{type:null,required:!1},filename:{type:String,required:!1}},setup(l){const e=l,p=f(),o=t(()=>a(p.ui?.prose?.codeIcon||{},u)),c=t(()=>{if(e.icon)return e.icon;if(!e.filename)return;const i=e.filename.replace(/\s*\(.*\)\s*$/,""),s=i.includes(".")&&i.split(".").pop(),n=i.split("/").pop();return(n&&o.value[n.toLowerCase()])??(s&&(o.value[s]??`i-vscode-icons-file-type-${s}`))});return(i,s)=>c.value?(r(),d(y,{key:0,name:c.value},null,8,["name"])):v("",!0)}};export{g as default}; +import{a0 as f,a as d,ab as y,f as v,c as t,ao as a,o as r}from"./DklXDfzJ.js";const u={"package.json":"i-vscode-icons-file-type-node","tsconfig.json":"i-vscode-icons-file-type-tsconfig",".npmrc":"i-vscode-icons-file-type-npm",".editorconfig":"i-vscode-icons-file-type-editorconfig",".eslintrc":"i-vscode-icons-file-type-eslint",".eslintrc.cjs":"i-vscode-icons-file-type-eslint",".eslintignore":"i-vscode-icons-file-type-eslint","eslint.config.js":"i-vscode-icons-file-type-eslint","eslint.config.mjs":"i-vscode-icons-file-type-eslint","eslint.config.cjs":"i-vscode-icons-file-type-eslint",".gitignore":"i-vscode-icons-file-type-git","yarn.lock":"i-vscode-icons-file-type-yarn",".env":"i-vscode-icons-file-type-dotenv",".env.example":"i-vscode-icons-file-type-dotenv",".vscode/settings.json":"i-vscode-icons-file-type-vscode",nuxt:"i-vscode-icons-file-type-nuxt",".nuxtrc":"i-vscode-icons-file-type-nuxt",".nuxtignore":"i-vscode-icons-file-type-nuxt","nuxt.config.js":"i-vscode-icons-file-type-nuxt","nuxt.config.ts":"i-vscode-icons-file-type-nuxt","nuxt.schema.ts":"i-vscode-icons-file-type-nuxt","tailwind.config.js":"i-vscode-icons-file-type-tailwind","tailwind.config.ts":"i-vscode-icons-file-type-tailwind",vue:"i-vscode-icons-file-type-vue",ts:"i-vscode-icons-file-type-typescript",tsx:"i-vscode-icons-file-type-typescript",mjs:"i-vscode-icons-file-type-js",cjs:"i-vscode-icons-file-type-js",js:"i-vscode-icons-file-type-js",jsx:"i-vscode-icons-file-type-js",md:"i-vscode-icons-file-type-markdown",py:"i-vscode-icons-file-type-python",cs:"i-vscode-icons-file-type-csharp",asm:"i-vscode-icons-file-type-assembly",f:"i-vscode-icons-file-type-fortran",hs:"i-vscode-icons-file-type-haskell",fs:"i-vscode-icons-file-type-fsharp",kt:"i-vscode-icons-file-type-kotlin",rs:"i-vscode-icons-file-type-rust",rb:"i-vscode-icons-file-type-ruby",lsp:"i-vscode-icons-file-type-lisp",ps1:"i-vscode-icons-file-type-powershell",psd1:"i-vscode-icons-file-type-powershell",psm1:"i-vscode-icons-file-type-powershell",go:"i-vscode-icons-file-type-go",gleam:"i-vscode-icons-file-type-gleam",bicep:"i-vscode-icons-file-type-bicep",bicepparam:"i-vscode-icons-file-type-bicep",exs:"i-vscode-icons-file-type-elixir",erl:"i-vscode-icons-file-type-erlang",sbt:"i-vscode-icons-file-type-scala",h:"i-vscode-icons-file-type-cppheader",ino:"i-vscode-icons-file-type-arduino",pl:"i-vscode-icons-file-type-perl",jl:"i-vscode-icons-file-type-julia",dart:"i-vscode-icons-file-type-dartlang",ico:"i-vscode-icons-file-type-favicon",npm:"i-vscode-icons-file-type-npm",pnpm:"i-vscode-icons-file-type-pnpm",npx:"i-vscode-icons-file-type-npm",yarn:"i-vscode-icons-file-type-yarn",bun:"i-vscode-icons-file-type-bun",deno:"i-vscode-icons-file-type-deno",yml:"i-vscode-icons-file-type-yaml",terminal:"i-lucide-terminal"},g={__name:"ProseCodeIcon",props:{icon:{type:null,required:!1},filename:{type:String,required:!1}},setup(l){const e=l,p=f(),o=t(()=>a(p.ui?.prose?.codeIcon||{},u)),c=t(()=>{if(e.icon)return e.icon;if(!e.filename)return;const i=e.filename.replace(/\s*\(.*\)\s*$/,""),s=i.includes(".")&&i.split(".").pop(),n=i.split("/").pop();return(n&&o.value[n.toLowerCase()])??(s&&(o.value[s]??`i-vscode-icons-file-type-${s}`))});return(i,s)=>c.value?(r(),d(y,{key:0,name:c.value},null,8,["name"])):v("",!0)}};export{g as default}; diff --git a/assets/CGmNF7c0.js b/assets/BYX-Fuv8.js similarity index 99% rename from assets/CGmNF7c0.js rename to assets/BYX-Fuv8.js index c618980..4972520 100644 --- a/assets/CGmNF7c0.js +++ b/assets/BYX-Fuv8.js @@ -1,3 +1,3 @@ -import"./Sa-_S7_w.js";var Ft=(()=>{var qe=import.meta.url;return function(ce={}){var ge,i=ce,ye,Ee,Ne=new Promise((e,t)=>{ye=e,Ee=t}),Je=typeof window=="object",Oe=typeof importScripts=="function";typeof process=="object"&&typeof process.versions=="object"&&typeof process.versions.node=="string"&&process.type!="renderer";const Fe=globalThis.sqlite3InitModuleState||Object.assign(Object.create(null),{debugModule:()=>{}});delete globalThis.sqlite3InitModuleState,Fe.debugModule("globalThis.location =",globalThis.location);var Qe=Object.assign({},i),re="./this.program",me="";function Ae(e){return i.locateFile?i.locateFile(e,me):me+e}var Le,Me;(Je||Oe)&&(Oe?me=self.location.href:typeof document<"u"&&document.currentScript&&(me=document.currentScript.src),qe&&(me=qe),me.startsWith("blob:")?me="":me=me.substr(0,me.replace(/[?#].*/,"").lastIndexOf("/")+1),Oe&&(Me=e=>{var t=new XMLHttpRequest;return t.open("GET",e,!1),t.responseType="arraybuffer",t.send(null),new Uint8Array(t.response)}),Le=e=>fetch(e,{credentials:"same-origin"}).then(t=>t.ok?t.arrayBuffer():Promise.reject(new Error(t.status+" : "+t.url))));var He=i.print||console.log.bind(console),Pe=i.printErr||console.error.bind(console);Object.assign(i,Qe),Qe=null,i.arguments&&i.arguments,i.thisProgram&&(re=i.thisProgram);var Xe=i.wasmBinary,Ce,ut=!1,xe,je,Ve,ue,we,Ie;function ft(){var e=Ce.buffer;i.HEAP8=xe=new Int8Array(e),i.HEAP16=Ve=new Int16Array(e),i.HEAPU8=je=new Uint8Array(e),i.HEAPU16=new Uint16Array(e),i.HEAP32=ue=new Int32Array(e),i.HEAPU32=we=new Uint32Array(e),i.HEAPF32=new Float32Array(e),i.HEAPF64=new Float64Array(e),i.HEAP64=Ie=new BigInt64Array(e),i.HEAPU64=new BigUint64Array(e)}if(i.wasmMemory)Ce=i.wasmMemory;else{var Pt=i.INITIAL_MEMORY||16777216;Ce=new WebAssembly.Memory({initial:Pt/65536,maximum:32768})}ft();var dt=[],pt=[],mt=[];function Ot(){var e=i.preRun;e&&(typeof e=="function"&&(e=[e]),e.forEach(Dt)),it(dt)}function Lt(){!i.noFSInit&&!a.initialized&&a.init(),a.ignorePermissions=!1,it(pt)}function Ct(){var e=i.postRun;e&&(typeof e=="function"&&(e=[e]),e.forEach(Nt)),it(mt)}function Dt(e){dt.unshift(e)}function Rt(e){pt.unshift(e)}function Nt(e){mt.unshift(e)}var De=0,Ge=null;function Yn(e){return e}function nt(e){De++,i.monitorRunDependencies?.(De)}function Ye(e){if(De--,i.monitorRunDependencies?.(De),De==0&&Ge){var t=Ge;Ge=null,t()}}function rt(e){i.onAbort?.(e),e="Aborted("+e+")",Pe(e),ut=!0,e+=". Build with -sASSERTIONS for more info.";var t=new WebAssembly.RuntimeError(e);throw Ee(t),t}var Mt="data:application/octet-stream;base64,",ht=e=>e.startsWith(Mt);function jt(){if(i.locateFile){var e="sqlite3.wasm";return ht(e)?e:Ae(e)}return new URL(""+new URL("sqlite3.DBpDb1lf.wasm",import.meta.url).href,import.meta.url).href}var st;function gt(e){if(e==st&&Xe)return new Uint8Array(Xe);if(Me)return Me(e);throw"both async and sync fetching of the wasm failed"}function Bt(e){return Xe?Promise.resolve().then(()=>gt(e)):Le(e).then(t=>new Uint8Array(t),()=>gt(e))}function qt(e,t,n){return Bt(e).then(r=>WebAssembly.instantiate(r,t)).then(n,r=>{Pe(`failed to asynchronously prepare wasm: ${r}`),rt(r)})}function Ut(e,t,n,r){return!e&&typeof WebAssembly.instantiateStreaming=="function"&&!ht(t)&&typeof fetch=="function"?fetch(t,{credentials:"same-origin"}).then(s=>{var o=WebAssembly.instantiateStreaming(s,n);return o.then(r,function(p){return Pe(`wasm streaming compile failed: ${p}`),Pe("falling back to ArrayBuffer instantiation"),qt(t,n,r)})}):qt(t,n,r)}function zt(){return{env:St,wasi_snapshot_preview1:St}}function Wt(){var e=zt();function t(r,s){return m=r.exports,Rt(m.__wasm_call_ctors),Ye(),m}nt();function n(r){t(r.instance)}if(i.instantiateWasm)try{return i.instantiateWasm(e,t)}catch(r){Pe(`Module.instantiateWasm callback failed with error: ${r}`),Ee(r)}return st??=jt(),Ut(Xe,st,e,n).catch(Ee),{}}var it=e=>{e.forEach(t=>t(i))};i.noExitRuntime;var fe={isAbs:e=>e.charAt(0)==="/",splitPath:e=>{var t=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/;return t.exec(e).slice(1)},normalizeArray:(e,t)=>{for(var n=0,r=e.length-1;r>=0;r--){var s=e[r];s==="."?e.splice(r,1):s===".."?(e.splice(r,1),n++):n&&(e.splice(r,1),n--)}if(t)for(;n;n--)e.unshift("..");return e},normalize:e=>{var t=fe.isAbs(e),n=e.substr(-1)==="/";return e=fe.normalizeArray(e.split("/").filter(r=>!!r),!t).join("/"),!e&&!t&&(e="."),e&&n&&(e+="/"),(t?"/":"")+e},dirname:e=>{var t=fe.splitPath(e),n=t[0],r=t[1];return!n&&!r?".":(r&&(r=r.substr(0,r.length-1)),n+r)},basename:e=>{if(e==="/")return"/";e=fe.normalize(e),e=e.replace(/\/$/,"");var t=e.lastIndexOf("/");return t===-1?e:e.substr(t+1)},join:(...e)=>fe.normalize(e.join("/")),join2:(e,t)=>fe.normalize(e+"/"+t)},Qt=()=>{if(typeof crypto=="object"&&typeof crypto.getRandomValues=="function")return e=>crypto.getRandomValues(e);rt("initRandomDevice")},bt=e=>(bt=Qt())(e),ke={resolve:(...e)=>{for(var t="",n=!1,r=e.length-1;r>=-1&&!n;r--){var s=r>=0?e[r]:a.cwd();if(typeof s!="string")throw new TypeError("Arguments to path.resolve must be strings");if(!s)return"";t=s+"/"+t,n=fe.isAbs(s)}return t=fe.normalizeArray(t.split("/").filter(o=>!!o),!n).join("/"),(n?"/":"")+t||"."},relative:(e,t)=>{e=ke.resolve(e).substr(1),t=ke.resolve(t).substr(1);function n(R){for(var z=0;z=0&&R[Q]==="";Q--);return z>Q?[]:R.slice(z,Q-z+1)}for(var r=n(e.split("/")),s=n(t.split("/")),o=Math.min(r.length,s.length),p=o,g=0;g{for(var r=t+n,s=t;e[s]&&!(s>=r);)++s;if(s-t>16&&e.buffer&&yt)return yt.decode(e.subarray(t,s));for(var o="";t>10,56320|R&1023)}}return o},ot=[],Ze=e=>{for(var t=0,n=0;n=55296&&r<=57343?(t+=4,++n):t+=3}return t},lt=(e,t,n,r)=>{if(!(r>0))return 0;for(var s=n,o=n+r-1,p=0;p=55296&&g<=57343){var P=e.charCodeAt(++p);g=65536+((g&1023)<<10)|P&1023}if(g<=127){if(n>=o)break;t[n++]=g}else if(g<=2047){if(n+1>=o)break;t[n++]=192|g>>6,t[n++]=128|g&63}else if(g<=65535){if(n+2>=o)break;t[n++]=224|g>>12,t[n++]=128|g>>6&63,t[n++]=128|g&63}else{if(n+3>=o)break;t[n++]=240|g>>18,t[n++]=128|g>>12&63,t[n++]=128|g>>6&63,t[n++]=128|g&63}}return t[n]=0,n-s};function wt(e,t,n){var r=Ze(e)+1,s=new Array(r),o=lt(e,s,0,s.length);return s.length=o,s}var Ht=()=>{if(!ot.length){var e=null;if(typeof window<"u"&&typeof window.prompt=="function"&&(e=window.prompt("Input: "),e!==null&&(e+=` +import"./DklXDfzJ.js";var Ft=(()=>{var qe=import.meta.url;return function(ce={}){var ge,i=ce,ye,Ee,Ne=new Promise((e,t)=>{ye=e,Ee=t}),Je=typeof window=="object",Oe=typeof importScripts=="function";typeof process=="object"&&typeof process.versions=="object"&&typeof process.versions.node=="string"&&process.type!="renderer";const Fe=globalThis.sqlite3InitModuleState||Object.assign(Object.create(null),{debugModule:()=>{}});delete globalThis.sqlite3InitModuleState,Fe.debugModule("globalThis.location =",globalThis.location);var Qe=Object.assign({},i),re="./this.program",me="";function Ae(e){return i.locateFile?i.locateFile(e,me):me+e}var Le,Me;(Je||Oe)&&(Oe?me=self.location.href:typeof document<"u"&&document.currentScript&&(me=document.currentScript.src),qe&&(me=qe),me.startsWith("blob:")?me="":me=me.substr(0,me.replace(/[?#].*/,"").lastIndexOf("/")+1),Oe&&(Me=e=>{var t=new XMLHttpRequest;return t.open("GET",e,!1),t.responseType="arraybuffer",t.send(null),new Uint8Array(t.response)}),Le=e=>fetch(e,{credentials:"same-origin"}).then(t=>t.ok?t.arrayBuffer():Promise.reject(new Error(t.status+" : "+t.url))));var He=i.print||console.log.bind(console),Pe=i.printErr||console.error.bind(console);Object.assign(i,Qe),Qe=null,i.arguments&&i.arguments,i.thisProgram&&(re=i.thisProgram);var Xe=i.wasmBinary,Ce,ut=!1,xe,je,Ve,ue,we,Ie;function ft(){var e=Ce.buffer;i.HEAP8=xe=new Int8Array(e),i.HEAP16=Ve=new Int16Array(e),i.HEAPU8=je=new Uint8Array(e),i.HEAPU16=new Uint16Array(e),i.HEAP32=ue=new Int32Array(e),i.HEAPU32=we=new Uint32Array(e),i.HEAPF32=new Float32Array(e),i.HEAPF64=new Float64Array(e),i.HEAP64=Ie=new BigInt64Array(e),i.HEAPU64=new BigUint64Array(e)}if(i.wasmMemory)Ce=i.wasmMemory;else{var Pt=i.INITIAL_MEMORY||16777216;Ce=new WebAssembly.Memory({initial:Pt/65536,maximum:32768})}ft();var dt=[],pt=[],mt=[];function Ot(){var e=i.preRun;e&&(typeof e=="function"&&(e=[e]),e.forEach(Dt)),it(dt)}function Lt(){!i.noFSInit&&!a.initialized&&a.init(),a.ignorePermissions=!1,it(pt)}function Ct(){var e=i.postRun;e&&(typeof e=="function"&&(e=[e]),e.forEach(Nt)),it(mt)}function Dt(e){dt.unshift(e)}function Rt(e){pt.unshift(e)}function Nt(e){mt.unshift(e)}var De=0,Ge=null;function Yn(e){return e}function nt(e){De++,i.monitorRunDependencies?.(De)}function Ye(e){if(De--,i.monitorRunDependencies?.(De),De==0&&Ge){var t=Ge;Ge=null,t()}}function rt(e){i.onAbort?.(e),e="Aborted("+e+")",Pe(e),ut=!0,e+=". Build with -sASSERTIONS for more info.";var t=new WebAssembly.RuntimeError(e);throw Ee(t),t}var Mt="data:application/octet-stream;base64,",ht=e=>e.startsWith(Mt);function jt(){if(i.locateFile){var e="sqlite3.wasm";return ht(e)?e:Ae(e)}return new URL(""+new URL("sqlite3.DBpDb1lf.wasm",import.meta.url).href,import.meta.url).href}var st;function gt(e){if(e==st&&Xe)return new Uint8Array(Xe);if(Me)return Me(e);throw"both async and sync fetching of the wasm failed"}function Bt(e){return Xe?Promise.resolve().then(()=>gt(e)):Le(e).then(t=>new Uint8Array(t),()=>gt(e))}function qt(e,t,n){return Bt(e).then(r=>WebAssembly.instantiate(r,t)).then(n,r=>{Pe(`failed to asynchronously prepare wasm: ${r}`),rt(r)})}function Ut(e,t,n,r){return!e&&typeof WebAssembly.instantiateStreaming=="function"&&!ht(t)&&typeof fetch=="function"?fetch(t,{credentials:"same-origin"}).then(s=>{var o=WebAssembly.instantiateStreaming(s,n);return o.then(r,function(p){return Pe(`wasm streaming compile failed: ${p}`),Pe("falling back to ArrayBuffer instantiation"),qt(t,n,r)})}):qt(t,n,r)}function zt(){return{env:St,wasi_snapshot_preview1:St}}function Wt(){var e=zt();function t(r,s){return m=r.exports,Rt(m.__wasm_call_ctors),Ye(),m}nt();function n(r){t(r.instance)}if(i.instantiateWasm)try{return i.instantiateWasm(e,t)}catch(r){Pe(`Module.instantiateWasm callback failed with error: ${r}`),Ee(r)}return st??=jt(),Ut(Xe,st,e,n).catch(Ee),{}}var it=e=>{e.forEach(t=>t(i))};i.noExitRuntime;var fe={isAbs:e=>e.charAt(0)==="/",splitPath:e=>{var t=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/;return t.exec(e).slice(1)},normalizeArray:(e,t)=>{for(var n=0,r=e.length-1;r>=0;r--){var s=e[r];s==="."?e.splice(r,1):s===".."?(e.splice(r,1),n++):n&&(e.splice(r,1),n--)}if(t)for(;n;n--)e.unshift("..");return e},normalize:e=>{var t=fe.isAbs(e),n=e.substr(-1)==="/";return e=fe.normalizeArray(e.split("/").filter(r=>!!r),!t).join("/"),!e&&!t&&(e="."),e&&n&&(e+="/"),(t?"/":"")+e},dirname:e=>{var t=fe.splitPath(e),n=t[0],r=t[1];return!n&&!r?".":(r&&(r=r.substr(0,r.length-1)),n+r)},basename:e=>{if(e==="/")return"/";e=fe.normalize(e),e=e.replace(/\/$/,"");var t=e.lastIndexOf("/");return t===-1?e:e.substr(t+1)},join:(...e)=>fe.normalize(e.join("/")),join2:(e,t)=>fe.normalize(e+"/"+t)},Qt=()=>{if(typeof crypto=="object"&&typeof crypto.getRandomValues=="function")return e=>crypto.getRandomValues(e);rt("initRandomDevice")},bt=e=>(bt=Qt())(e),ke={resolve:(...e)=>{for(var t="",n=!1,r=e.length-1;r>=-1&&!n;r--){var s=r>=0?e[r]:a.cwd();if(typeof s!="string")throw new TypeError("Arguments to path.resolve must be strings");if(!s)return"";t=s+"/"+t,n=fe.isAbs(s)}return t=fe.normalizeArray(t.split("/").filter(o=>!!o),!n).join("/"),(n?"/":"")+t||"."},relative:(e,t)=>{e=ke.resolve(e).substr(1),t=ke.resolve(t).substr(1);function n(R){for(var z=0;z=0&&R[Q]==="";Q--);return z>Q?[]:R.slice(z,Q-z+1)}for(var r=n(e.split("/")),s=n(t.split("/")),o=Math.min(r.length,s.length),p=o,g=0;g{for(var r=t+n,s=t;e[s]&&!(s>=r);)++s;if(s-t>16&&e.buffer&&yt)return yt.decode(e.subarray(t,s));for(var o="";t>10,56320|R&1023)}}return o},ot=[],Ze=e=>{for(var t=0,n=0;n=55296&&r<=57343?(t+=4,++n):t+=3}return t},lt=(e,t,n,r)=>{if(!(r>0))return 0;for(var s=n,o=n+r-1,p=0;p=55296&&g<=57343){var P=e.charCodeAt(++p);g=65536+((g&1023)<<10)|P&1023}if(g<=127){if(n>=o)break;t[n++]=g}else if(g<=2047){if(n+1>=o)break;t[n++]=192|g>>6,t[n++]=128|g&63}else if(g<=65535){if(n+2>=o)break;t[n++]=224|g>>12,t[n++]=128|g>>6&63,t[n++]=128|g&63}else{if(n+3>=o)break;t[n++]=240|g>>18,t[n++]=128|g>>12&63,t[n++]=128|g>>6&63,t[n++]=128|g&63}}return t[n]=0,n-s};function wt(e,t,n){var r=Ze(e)+1,s=new Array(r),o=lt(e,s,0,s.length);return s.length=o,s}var Ht=()=>{if(!ot.length){var e=null;if(typeof window<"u"&&typeof window.prompt=="function"&&(e=window.prompt("Input: "),e!==null&&(e+=` `)),!e)return null;ot=wt(e)}return ot.shift()},Re={ttys:[],init(){},shutdown(){},register(e,t){Re.ttys[e]={input:[],output:[],ops:t},a.registerDevice(e,Re.stream_ops)},stream_ops:{open(e){var t=Re.ttys[e.node.rdev];if(!t)throw new a.ErrnoError(43);e.tty=t,e.seekable=!1},close(e){e.tty.ops.fsync(e.tty)},fsync(e){e.tty.ops.fsync(e.tty)},read(e,t,n,r,s){if(!e.tty||!e.tty.ops.get_char)throw new a.ErrnoError(60);for(var o=0,p=0;p0&&(He(Be(e.output)),e.output=[])},ioctl_tcgets(e){return{c_iflag:25856,c_oflag:5,c_cflag:191,c_lflag:35387,c_cc:[3,28,127,21,4,0,1,0,17,19,26,0,18,15,23,22,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]}},ioctl_tcsets(e,t,n){return 0},ioctl_tiocgwinsz(e){return[24,80]}},default_tty1_ops:{put_char(e,t){t===null||t===10?(Pe(Be(e.output)),e.output=[]):t!=0&&e.output.push(t)},fsync(e){e.output&&e.output.length>0&&(Pe(Be(e.output)),e.output=[])}}},Vt=(e,t)=>{je.fill(0,e,e+t)},Et=(e,t)=>Math.ceil(e/t)*t,vt=e=>{e=Et(e,65536);var t=At(65536,e);return t&&Vt(t,e),t},oe={ops_table:null,mount(e){return oe.createNode(null,"/",16895,0)},createNode(e,t,n,r){if(a.isBlkdev(n)||a.isFIFO(n))throw new a.ErrnoError(63);oe.ops_table||={dir:{node:{getattr:oe.node_ops.getattr,setattr:oe.node_ops.setattr,lookup:oe.node_ops.lookup,mknod:oe.node_ops.mknod,rename:oe.node_ops.rename,unlink:oe.node_ops.unlink,rmdir:oe.node_ops.rmdir,readdir:oe.node_ops.readdir,symlink:oe.node_ops.symlink},stream:{llseek:oe.stream_ops.llseek}},file:{node:{getattr:oe.node_ops.getattr,setattr:oe.node_ops.setattr},stream:{llseek:oe.stream_ops.llseek,read:oe.stream_ops.read,write:oe.stream_ops.write,allocate:oe.stream_ops.allocate,mmap:oe.stream_ops.mmap,msync:oe.stream_ops.msync}},link:{node:{getattr:oe.node_ops.getattr,setattr:oe.node_ops.setattr,readlink:oe.node_ops.readlink},stream:{}},chrdev:{node:{getattr:oe.node_ops.getattr,setattr:oe.node_ops.setattr},stream:a.chrdev_stream_ops}};var s=a.createNode(e,t,n,r);return a.isDir(s.mode)?(s.node_ops=oe.ops_table.dir.node,s.stream_ops=oe.ops_table.dir.stream,s.contents={}):a.isFile(s.mode)?(s.node_ops=oe.ops_table.file.node,s.stream_ops=oe.ops_table.file.stream,s.usedBytes=0,s.contents=null):a.isLink(s.mode)?(s.node_ops=oe.ops_table.link.node,s.stream_ops=oe.ops_table.link.stream):a.isChrdev(s.mode)&&(s.node_ops=oe.ops_table.chrdev.node,s.stream_ops=oe.ops_table.chrdev.stream),s.timestamp=Date.now(),e&&(e.contents[t]=s,e.timestamp=s.timestamp),s},getFileDataAsTypedArray(e){return e.contents?e.contents.subarray?e.contents.subarray(0,e.usedBytes):new Uint8Array(e.contents):new Uint8Array(0)},expandFileStorage(e,t){var n=e.contents?e.contents.length:0;if(!(n>=t)){var r=1024*1024;t=Math.max(t,n*(n>>0),n!=0&&(t=Math.max(t,256));var s=e.contents;e.contents=new Uint8Array(t),e.usedBytes>0&&e.contents.set(s.subarray(0,e.usedBytes),0)}},resizeFileStorage(e,t){if(e.usedBytes!=t)if(t==0)e.contents=null,e.usedBytes=0;else{var n=e.contents;e.contents=new Uint8Array(t),n&&e.contents.set(n.subarray(0,Math.min(t,e.usedBytes))),e.usedBytes=t}},node_ops:{getattr(e){var t={};return t.dev=a.isChrdev(e.mode)?e.id:1,t.ino=e.id,t.mode=e.mode,t.nlink=1,t.uid=0,t.gid=0,t.rdev=e.rdev,a.isDir(e.mode)?t.size=4096:a.isFile(e.mode)?t.size=e.usedBytes:a.isLink(e.mode)?t.size=e.link.length:t.size=0,t.atime=new Date(e.timestamp),t.mtime=new Date(e.timestamp),t.ctime=new Date(e.timestamp),t.blksize=4096,t.blocks=Math.ceil(t.size/t.blksize),t},setattr(e,t){t.mode!==void 0&&(e.mode=t.mode),t.timestamp!==void 0&&(e.timestamp=t.timestamp),t.size!==void 0&&oe.resizeFileStorage(e,t.size)},lookup(e,t){throw a.genericErrors[44]},mknod(e,t,n,r){return oe.createNode(e,t,n,r)},rename(e,t,n){if(a.isDir(e.mode)){var r;try{r=a.lookupNode(t,n)}catch{}if(r)for(var s in r.contents)throw new a.ErrnoError(55)}delete e.parent.contents[e.name],e.parent.timestamp=Date.now(),e.name=n,t.contents[n]=e,t.timestamp=e.parent.timestamp},unlink(e,t){delete e.contents[t],e.timestamp=Date.now()},rmdir(e,t){var n=a.lookupNode(e,t);for(var r in n.contents)throw new a.ErrnoError(55);delete e.contents[t],e.timestamp=Date.now()},readdir(e){var t=[".",".."];for(var n of Object.keys(e.contents))t.push(n);return t},symlink(e,t,n){var r=oe.createNode(e,t,41471,0);return r.link=n,r},readlink(e){if(!a.isLink(e.mode))throw new a.ErrnoError(28);return e.link}},stream_ops:{read(e,t,n,r,s){var o=e.node.contents;if(s>=e.node.usedBytes)return 0;var p=Math.min(e.node.usedBytes-s,r);if(p>8&&o.subarray)t.set(o.subarray(s,s+p),n);else for(var g=0;g0||n+t{var s=`al ${e}`;Le(e).then(o=>{t(new Uint8Array(o)),s&&Ye()},o=>{if(n)n();else throw`Loading data file "${e}" failed.`}),s&&nt()},$t=(e,t,n,r,s,o)=>{a.createDataFile(e,t,n,r,s,o)},Kt=i.preloadPlugins||[],Jt=(e,t,n,r)=>{typeof Browser<"u"&&Browser.init();var s=!1;return Kt.forEach(o=>{s||o.canHandle(t)&&(o.handle(e,t,n,r),s=!0)}),s},Xt=(e,t,n,r,s,o,p,g,P,R)=>{var z=t?ke.resolve(fe.join2(e,t)):e;function Q(T){function A(D){R?.(),g||$t(e,t,D,r,s,P),o?.(),Ye()}Jt(T,z,A,()=>{p?.(),Ye()})||A(T)}nt(),typeof n=="string"?Gt(n,Q,p):Q(n)},Yt=e=>{var t={r:0,"r+":2,w:577,"w+":578,a:1089,"a+":1090},n=t[e];if(typeof n>"u")throw new Error(`Unknown file open mode: ${e}`);return n},at=(e,t)=>{var n=0;return e&&(n|=365),t&&(n|=146),n},a={root:null,mounts:[],devices:{},streams:[],nextInode:1,nameTable:null,currentPath:"/",initialized:!1,ignorePermissions:!0,ErrnoError:class{constructor(e){this.name="ErrnoError",this.errno=e}},genericErrors:{},filesystems:null,syncFSRequests:0,readFiles:{},FSStream:class{constructor(){this.shared={}}get object(){return this.node}set object(e){this.node=e}get isRead(){return(this.flags&2097155)!==1}get isWrite(){return(this.flags&2097155)!==0}get isAppend(){return this.flags&1024}get flags(){return this.shared.flags}set flags(e){this.shared.flags=e}get position(){return this.shared.position}set position(e){this.shared.position=e}},FSNode:class{constructor(e,t,n,r){e||(e=this),this.parent=e,this.mount=e.mount,this.mounted=null,this.id=a.nextInode++,this.name=t,this.mode=n,this.node_ops={},this.stream_ops={},this.rdev=r,this.readMode=365,this.writeMode=146}get read(){return(this.mode&this.readMode)===this.readMode}set read(e){e?this.mode|=this.readMode:this.mode&=~this.readMode}get write(){return(this.mode&this.writeMode)===this.writeMode}set write(e){e?this.mode|=this.writeMode:this.mode&=~this.writeMode}get isFolder(){return a.isDir(this.mode)}get isDevice(){return a.isChrdev(this.mode)}},lookupPath(e,t={}){if(e=ke.resolve(e),!e)return{path:"",node:null};var n={follow_mount:!0,recurse_count:0};if(t=Object.assign(n,t),t.recurse_count>8)throw new a.ErrnoError(32);for(var r=e.split("/").filter(Q=>!!Q),s=a.root,o="/",p=0;p40)throw new a.ErrnoError(32)}}return{path:o,node:s}},getPath(e){for(var t;;){if(a.isRoot(e)){var n=e.mount.mountpoint;return t?n[n.length-1]!=="/"?`${n}/${t}`:n+t:n}t=t?`${e.name}/${t}`:e.name,e=e.parent}},hashName(e,t){for(var n=0,r=0;r>>0)%a.nameTable.length},hashAddNode(e){var t=a.hashName(e.parent.id,e.name);e.name_next=a.nameTable[t],a.nameTable[t]=e},hashRemoveNode(e){var t=a.hashName(e.parent.id,e.name);if(a.nameTable[t]===e)a.nameTable[t]=e.name_next;else for(var n=a.nameTable[t];n;){if(n.name_next===e){n.name_next=e.name_next;break}n=n.name_next}},lookupNode(e,t){var n=a.mayLookup(e);if(n)throw new a.ErrnoError(n);for(var r=a.hashName(e.id,t),s=a.nameTable[r];s;s=s.name_next){var o=s.name;if(s.parent.id===e.id&&o===t)return s}return a.lookup(e,t)},createNode(e,t,n,r){var s=new a.FSNode(e,t,n,r);return a.hashAddNode(s),s},destroyNode(e){a.hashRemoveNode(e)},isRoot(e){return e===e.parent},isMountpoint(e){return!!e.mounted},isFile(e){return(e&61440)===32768},isDir(e){return(e&61440)===16384},isLink(e){return(e&61440)===40960},isChrdev(e){return(e&61440)===8192},isBlkdev(e){return(e&61440)===24576},isFIFO(e){return(e&61440)===4096},isSocket(e){return(e&49152)===49152},flagsToPermissionString(e){var t=["r","w","rw"][e&3];return e&512&&(t+="w"),t},nodePermissions(e,t){return a.ignorePermissions?0:t.includes("r")&&!(e.mode&292)||t.includes("w")&&!(e.mode&146)||t.includes("x")&&!(e.mode&73)?2:0},mayLookup(e){if(!a.isDir(e.mode))return 54;var t=a.nodePermissions(e,"x");return t||(e.node_ops.lookup?0:2)},mayCreate(e,t){try{var n=a.lookupNode(e,t);return 20}catch{}return a.nodePermissions(e,"wx")},mayDelete(e,t,n){var r;try{r=a.lookupNode(e,t)}catch(o){return o.errno}var s=a.nodePermissions(e,"wx");if(s)return s;if(n){if(!a.isDir(r.mode))return 54;if(a.isRoot(r)||a.getPath(r)===a.cwd())return 10}else if(a.isDir(r.mode))return 31;return 0},mayOpen(e,t){return e?a.isLink(e.mode)?32:a.isDir(e.mode)&&(a.flagsToPermissionString(t)!=="r"||t&512)?31:a.nodePermissions(e,a.flagsToPermissionString(t)):44},MAX_OPEN_FDS:4096,nextfd(){for(var e=0;e<=a.MAX_OPEN_FDS;e++)if(!a.streams[e])return e;throw new a.ErrnoError(33)},getStreamChecked(e){var t=a.getStream(e);if(!t)throw new a.ErrnoError(8);return t},getStream:e=>a.streams[e],createStream(e,t=-1){return e=Object.assign(new a.FSStream,e),t==-1&&(t=a.nextfd()),e.fd=t,a.streams[t]=e,e},closeStream(e){a.streams[e]=null},dupStream(e,t=-1){var n=a.createStream(e,t);return n.stream_ops?.dup?.(n),n},chrdev_stream_ops:{open(e){var t=a.getDevice(e.node.rdev);e.stream_ops=t.stream_ops,e.stream_ops.open?.(e)},llseek(){throw new a.ErrnoError(70)}},major:e=>e>>8,minor:e=>e&255,makedev:(e,t)=>e<<8|t,registerDevice(e,t){a.devices[e]={stream_ops:t}},getDevice:e=>a.devices[e],getMounts(e){for(var t=[],n=[e];n.length;){var r=n.pop();t.push(r),n.push(...r.mounts)}return t},syncfs(e,t){typeof e=="function"&&(t=e,e=!1),a.syncFSRequests++,a.syncFSRequests>1&&Pe(`warning: ${a.syncFSRequests} FS.syncfs operations in flight at once, probably just doing extra work`);var n=a.getMounts(a.root.mount),r=0;function s(p){return a.syncFSRequests--,t(p)}function o(p){if(p)return o.errored?void 0:(o.errored=!0,s(p));++r>=n.length&&s(null)}n.forEach(p=>{if(!p.type.syncfs)return o(null);p.type.syncfs(p,e,o)})},mount(e,t,n){var r=n==="/",s=!n,o;if(r&&a.root)throw new a.ErrnoError(10);if(!r&&!s){var p=a.lookupPath(n,{follow_mount:!1});if(n=p.path,o=p.node,a.isMountpoint(o))throw new a.ErrnoError(10);if(!a.isDir(o.mode))throw new a.ErrnoError(54)}var g={type:e,opts:t,mountpoint:n,mounts:[]},P=e.mount(g);return P.mount=g,g.root=P,r?a.root=P:o&&(o.mounted=g,o.mount&&o.mount.mounts.push(g)),P},unmount(e){var t=a.lookupPath(e,{follow_mount:!1});if(!a.isMountpoint(t.node))throw new a.ErrnoError(28);var n=t.node,r=n.mounted,s=a.getMounts(r);Object.keys(a.nameTable).forEach(p=>{for(var g=a.nameTable[p];g;){var P=g.name_next;s.includes(g.mount)&&a.destroyNode(g),g=P}}),n.mounted=null;var o=n.mount.mounts.indexOf(r);n.mount.mounts.splice(o,1)},lookup(e,t){return e.node_ops.lookup(e,t)},mknod(e,t,n){var r=a.lookupPath(e,{parent:!0}),s=r.node,o=fe.basename(e);if(!o||o==="."||o==="..")throw new a.ErrnoError(28);var p=a.mayCreate(s,o);if(p)throw new a.ErrnoError(p);if(!s.node_ops.mknod)throw new a.ErrnoError(63);return s.node_ops.mknod(s,o,t,n)},create(e,t){return t=t!==void 0?t:438,t&=4095,t|=32768,a.mknod(e,t,0)},mkdir(e,t){return t=t!==void 0?t:511,t&=1023,t|=16384,a.mknod(e,t,0)},mkdirTree(e,t){for(var n=e.split("/"),r="",s=0;s"u"&&(n=t,t=438),t|=8192,a.mknod(e,t,n)},symlink(e,t){if(!ke.resolve(e))throw new a.ErrnoError(44);var n=a.lookupPath(t,{parent:!0}),r=n.node;if(!r)throw new a.ErrnoError(44);var s=fe.basename(t),o=a.mayCreate(r,s);if(o)throw new a.ErrnoError(o);if(!r.node_ops.symlink)throw new a.ErrnoError(63);return r.node_ops.symlink(r,s,e)},rename(e,t){var n=fe.dirname(e),r=fe.dirname(t),s=fe.basename(e),o=fe.basename(t),p,g,P;if(p=a.lookupPath(e,{parent:!0}),g=p.node,p=a.lookupPath(t,{parent:!0}),P=p.node,!g||!P)throw new a.ErrnoError(44);if(g.mount!==P.mount)throw new a.ErrnoError(75);var R=a.lookupNode(g,s),z=ke.relative(e,r);if(z.charAt(0)!==".")throw new a.ErrnoError(28);if(z=ke.relative(t,n),z.charAt(0)!==".")throw new a.ErrnoError(55);var Q;try{Q=a.lookupNode(P,o)}catch{}if(R!==Q){var T=a.isDir(R.mode),A=a.mayDelete(g,s,T);if(A)throw new a.ErrnoError(A);if(A=Q?a.mayDelete(P,o,T):a.mayCreate(P,o),A)throw new a.ErrnoError(A);if(!g.node_ops.rename)throw new a.ErrnoError(63);if(a.isMountpoint(R)||Q&&a.isMountpoint(Q))throw new a.ErrnoError(10);if(P!==g&&(A=a.nodePermissions(g,"w"),A))throw new a.ErrnoError(A);a.hashRemoveNode(R);try{g.node_ops.rename(R,P,o),R.parent=P}catch(D){throw D}finally{a.hashAddNode(R)}}},rmdir(e){var t=a.lookupPath(e,{parent:!0}),n=t.node,r=fe.basename(e),s=a.lookupNode(n,r),o=a.mayDelete(n,r,!0);if(o)throw new a.ErrnoError(o);if(!n.node_ops.rmdir)throw new a.ErrnoError(63);if(a.isMountpoint(s))throw new a.ErrnoError(10);n.node_ops.rmdir(n,r),a.destroyNode(s)},readdir(e){var t=a.lookupPath(e,{follow:!0}),n=t.node;if(!n.node_ops.readdir)throw new a.ErrnoError(54);return n.node_ops.readdir(n)},unlink(e){var t=a.lookupPath(e,{parent:!0}),n=t.node;if(!n)throw new a.ErrnoError(44);var r=fe.basename(e),s=a.lookupNode(n,r),o=a.mayDelete(n,r,!1);if(o)throw new a.ErrnoError(o);if(!n.node_ops.unlink)throw new a.ErrnoError(63);if(a.isMountpoint(s))throw new a.ErrnoError(10);n.node_ops.unlink(n,r),a.destroyNode(s)},readlink(e){var t=a.lookupPath(e),n=t.node;if(!n)throw new a.ErrnoError(44);if(!n.node_ops.readlink)throw new a.ErrnoError(28);return ke.resolve(a.getPath(n.parent),n.node_ops.readlink(n))},stat(e,t){var n=a.lookupPath(e,{follow:!t}),r=n.node;if(!r)throw new a.ErrnoError(44);if(!r.node_ops.getattr)throw new a.ErrnoError(63);return r.node_ops.getattr(r)},lstat(e){return a.stat(e,!0)},chmod(e,t,n){var r;if(typeof e=="string"){var s=a.lookupPath(e,{follow:!n});r=s.node}else r=e;if(!r.node_ops.setattr)throw new a.ErrnoError(63);r.node_ops.setattr(r,{mode:t&4095|r.mode&-4096,timestamp:Date.now()})},lchmod(e,t){a.chmod(e,t,!0)},fchmod(e,t){var n=a.getStreamChecked(e);a.chmod(n.node,t)},chown(e,t,n,r){var s;if(typeof e=="string"){var o=a.lookupPath(e,{follow:!r});s=o.node}else s=e;if(!s.node_ops.setattr)throw new a.ErrnoError(63);s.node_ops.setattr(s,{timestamp:Date.now()})},lchown(e,t,n){a.chown(e,t,n,!0)},fchown(e,t,n){var r=a.getStreamChecked(e);a.chown(r.node,t,n)},truncate(e,t){if(t<0)throw new a.ErrnoError(28);var n;if(typeof e=="string"){var r=a.lookupPath(e,{follow:!0});n=r.node}else n=e;if(!n.node_ops.setattr)throw new a.ErrnoError(63);if(a.isDir(n.mode))throw new a.ErrnoError(31);if(!a.isFile(n.mode))throw new a.ErrnoError(28);var s=a.nodePermissions(n,"w");if(s)throw new a.ErrnoError(s);n.node_ops.setattr(n,{size:t,timestamp:Date.now()})},ftruncate(e,t){var n=a.getStreamChecked(e);if((n.flags&2097155)===0)throw new a.ErrnoError(28);a.truncate(n.node,t)},utime(e,t,n){var r=a.lookupPath(e,{follow:!0}),s=r.node;s.node_ops.setattr(s,{timestamp:Math.max(t,n)})},open(e,t,n){if(e==="")throw new a.ErrnoError(44);t=typeof t=="string"?Yt(t):t,t&64?(n=typeof n>"u"?438:n,n=n&4095|32768):n=0;var r;if(typeof e=="object")r=e;else{e=fe.normalize(e);try{var s=a.lookupPath(e,{follow:!(t&131072)});r=s.node}catch{}}var o=!1;if(t&64)if(r){if(t&128)throw new a.ErrnoError(20)}else r=a.mknod(e,n,0),o=!0;if(!r)throw new a.ErrnoError(44);if(a.isChrdev(r.mode)&&(t&=-513),t&65536&&!a.isDir(r.mode))throw new a.ErrnoError(54);if(!o){var p=a.mayOpen(r,t);if(p)throw new a.ErrnoError(p)}t&512&&!o&&a.truncate(r,0),t&=-131713;var g=a.createStream({node:r,path:a.getPath(r),flags:t,seekable:!0,position:0,stream_ops:r.stream_ops,ungotten:[],error:!1});return g.stream_ops.open&&g.stream_ops.open(g),i.logReadFiles&&!(t&1)&&(e in a.readFiles||(a.readFiles[e]=1)),g},close(e){if(a.isClosed(e))throw new a.ErrnoError(8);e.getdents&&(e.getdents=null);try{e.stream_ops.close&&e.stream_ops.close(e)}catch(t){throw t}finally{a.closeStream(e.fd)}e.fd=null},isClosed(e){return e.fd===null},llseek(e,t,n){if(a.isClosed(e))throw new a.ErrnoError(8);if(!e.seekable||!e.stream_ops.llseek)throw new a.ErrnoError(70);if(n!=0&&n!=1&&n!=2)throw new a.ErrnoError(28);return e.position=e.stream_ops.llseek(e,t,n),e.ungotten=[],e.position},read(e,t,n,r,s){if(r<0||s<0)throw new a.ErrnoError(28);if(a.isClosed(e))throw new a.ErrnoError(8);if((e.flags&2097155)===1)throw new a.ErrnoError(8);if(a.isDir(e.node.mode))throw new a.ErrnoError(31);if(!e.stream_ops.read)throw new a.ErrnoError(28);var o=typeof s<"u";if(!o)s=e.position;else if(!e.seekable)throw new a.ErrnoError(70);var p=e.stream_ops.read(e,t,n,r,s);return o||(e.position+=p),p},write(e,t,n,r,s,o){if(r<0||s<0)throw new a.ErrnoError(28);if(a.isClosed(e))throw new a.ErrnoError(8);if((e.flags&2097155)===0)throw new a.ErrnoError(8);if(a.isDir(e.node.mode))throw new a.ErrnoError(31);if(!e.stream_ops.write)throw new a.ErrnoError(28);e.seekable&&e.flags&1024&&a.llseek(e,0,2);var p=typeof s<"u";if(!p)s=e.position;else if(!e.seekable)throw new a.ErrnoError(70);var g=e.stream_ops.write(e,t,n,r,s,o);return p||(e.position+=g),g},allocate(e,t,n){if(a.isClosed(e))throw new a.ErrnoError(8);if(t<0||n<=0)throw new a.ErrnoError(28);if((e.flags&2097155)===0)throw new a.ErrnoError(8);if(!a.isFile(e.node.mode)&&!a.isDir(e.node.mode))throw new a.ErrnoError(43);if(!e.stream_ops.allocate)throw new a.ErrnoError(138);e.stream_ops.allocate(e,t,n)},mmap(e,t,n,r,s){if((r&2)!==0&&(s&2)===0&&(e.flags&2097155)!==2)throw new a.ErrnoError(2);if((e.flags&2097155)===1)throw new a.ErrnoError(2);if(!e.stream_ops.mmap)throw new a.ErrnoError(43);if(!t)throw new a.ErrnoError(28);return e.stream_ops.mmap(e,t,n,r,s)},msync(e,t,n,r,s){return e.stream_ops.msync?e.stream_ops.msync(e,t,n,r,s):0},ioctl(e,t,n){if(!e.stream_ops.ioctl)throw new a.ErrnoError(59);return e.stream_ops.ioctl(e,t,n)},readFile(e,t={}){if(t.flags=t.flags||0,t.encoding=t.encoding||"binary",t.encoding!=="utf8"&&t.encoding!=="binary")throw new Error(`Invalid encoding type "${t.encoding}"`);var n,r=a.open(e,t.flags),s=a.stat(e),o=s.size,p=new Uint8Array(o);return a.read(r,p,0,o,0),t.encoding==="utf8"?n=Be(p):t.encoding==="binary"&&(n=p),a.close(r),n},writeFile(e,t,n={}){n.flags=n.flags||577;var r=a.open(e,n.flags,n.mode);if(typeof t=="string"){var s=new Uint8Array(Ze(t)+1),o=lt(t,s,0,s.length);a.write(r,s,0,o,void 0,n.canOwn)}else if(ArrayBuffer.isView(t))a.write(r,t,0,t.byteLength,void 0,n.canOwn);else throw new Error("Unsupported data type");a.close(r)},cwd:()=>a.currentPath,chdir(e){var t=a.lookupPath(e,{follow:!0});if(t.node===null)throw new a.ErrnoError(44);if(!a.isDir(t.node.mode))throw new a.ErrnoError(54);var n=a.nodePermissions(t.node,"x");if(n)throw new a.ErrnoError(n);a.currentPath=t.path},createDefaultDirectories(){a.mkdir("/tmp"),a.mkdir("/home"),a.mkdir("/home/web_user")},createDefaultDevices(){a.mkdir("/dev"),a.registerDevice(a.makedev(1,3),{read:()=>0,write:(r,s,o,p,g)=>p}),a.mkdev("/dev/null",a.makedev(1,3)),Re.register(a.makedev(5,0),Re.default_tty_ops),Re.register(a.makedev(6,0),Re.default_tty1_ops),a.mkdev("/dev/tty",a.makedev(5,0)),a.mkdev("/dev/tty1",a.makedev(6,0));var e=new Uint8Array(1024),t=0,n=()=>(t===0&&(t=bt(e).byteLength),e[--t]);a.createDevice("/dev","random",n),a.createDevice("/dev","urandom",n),a.mkdir("/dev/shm"),a.mkdir("/dev/shm/tmp")},createSpecialDirectories(){a.mkdir("/proc");var e=a.mkdir("/proc/self");a.mkdir("/proc/self/fd"),a.mount({mount(){var t=a.createNode(e,"fd",16895,73);return t.node_ops={lookup(n,r){var s=+r,o=a.getStreamChecked(s),p={parent:null,mount:{mountpoint:"fake"},node_ops:{readlink:()=>o.path}};return p.parent=p,p}},t}},{},"/proc/self/fd")},createStandardStreams(e,t,n){e?a.createDevice("/dev","stdin",e):a.symlink("/dev/tty","/dev/stdin"),t?a.createDevice("/dev","stdout",null,t):a.symlink("/dev/tty","/dev/stdout"),n?a.createDevice("/dev","stderr",null,n):a.symlink("/dev/tty1","/dev/stderr"),a.open("/dev/stdin",0),a.open("/dev/stdout",1),a.open("/dev/stderr",1)},staticInit(){[44].forEach(e=>{a.genericErrors[e]=new a.ErrnoError(e),a.genericErrors[e].stack=""}),a.nameTable=new Array(4096),a.mount(oe,{},"/"),a.createDefaultDirectories(),a.createDefaultDevices(),a.createSpecialDirectories(),a.filesystems={MEMFS:oe}},init(e,t,n){a.initialized=!0,e??=i.stdin,t??=i.stdout,n??=i.stderr,a.createStandardStreams(e,t,n)},quit(){a.initialized=!1;for(var e=0;ethis.length-1||A<0)){var D=A%this.chunkSize,q=A/this.chunkSize|0;return this.getter(q)[D]}}setDataGetter(A){this.getter=A}cacheLength(){var A=new XMLHttpRequest;if(A.open("HEAD",n,!1),A.send(null),!(A.status>=200&&A.status<300||A.status===304))throw new Error("Couldn't load "+n+". Status: "+A.status);var D=Number(A.getResponseHeader("Content-length")),q,w=(q=A.getResponseHeader("Accept-Ranges"))&&q==="bytes",x=(q=A.getResponseHeader("Content-Encoding"))&&q==="gzip",N=1024*1024;w||(N=D);var O=(L,$)=>{if(L>$)throw new Error("invalid range ("+L+", "+$+") or no bytes requested!");if($>D-1)throw new Error("only "+D+" bytes available! programmer error!");var c=new XMLHttpRequest;if(c.open("GET",n,!1),D!==N&&c.setRequestHeader("Range","bytes="+L+"-"+$),c.responseType="arraybuffer",c.overrideMimeType&&c.overrideMimeType("text/plain; charset=x-user-defined"),c.send(null),!(c.status>=200&&c.status<300||c.status===304))throw new Error("Couldn't load "+n+". Status: "+c.status);return c.response!==void 0?new Uint8Array(c.response||[]):wt(c.responseText||"")},S=this;S.setDataGetter(L=>{var $=L*N,c=(L+1)*N-1;if(c=Math.min(c,D-1),typeof S.chunks[L]>"u"&&(S.chunks[L]=O($,c)),typeof S.chunks[L]>"u")throw new Error("doXHR failed!");return S.chunks[L]}),(x||!D)&&(N=D=1,D=this.getter(0).length,N=D,He("LazyFiles on gzip forces download of the whole file when length is accessed")),this._length=D,this._chunkSize=N,this.lengthKnown=!0}get length(){return this.lengthKnown||this.cacheLength(),this._length}get chunkSize(){return this.lengthKnown||this.cacheLength(),this._chunkSize}}if(typeof XMLHttpRequest<"u"){if(!Oe)throw"Cannot do synchronous binary XHRs outside webworkers in modern browsers. Use --embed-file or --preload-file in emcc";var p=new o,g={isDevice:!1,contents:p}}else var g={isDevice:!1,url:n};var P=a.createFile(e,t,g,r,s);g.contents?P.contents=g.contents:g.url&&(P.contents=null,P.url=g.url),Object.defineProperties(P,{usedBytes:{get:function(){return this.contents.length}}});var R={},z=Object.keys(P.stream_ops);z.forEach(T=>{var A=P.stream_ops[T];R[T]=(...D)=>(a.forceLoadFile(P),A(...D))});function Q(T,A,D,q,w){var x=T.node.contents;if(w>=x.length)return 0;var N=Math.min(x.length-w,q);if(x.slice)for(var O=0;O(a.forceLoadFile(P),Q(T,A,D,q,w)),R.mmap=(T,A,D,q,w)=>{a.forceLoadFile(P);var x=vt(A);if(!x)throw new a.ErrnoError(48);return Q(T,xe,x,A,D),{ptr:x,allocated:!0}},P.stream_ops=R,P}},Zt=(e,t)=>e?Be(je,e,t):"",ae={DEFAULT_POLLMASK:5,calculateAt(e,t,n){if(fe.isAbs(t))return t;var r;if(e===-100)r=a.cwd();else{var s=ae.getStreamFromFD(e);r=s.path}if(t.length==0){if(!n)throw new a.ErrnoError(44);return r}return fe.join2(r,t)},doStat(e,t,n){var r=e(t);ue[n>>2]=r.dev,ue[n+4>>2]=r.mode,we[n+8>>2]=r.nlink,ue[n+12>>2]=r.uid,ue[n+16>>2]=r.gid,ue[n+20>>2]=r.rdev,Ie[n+24>>3]=BigInt(r.size),ue[n+32>>2]=4096,ue[n+36>>2]=r.blocks;var s=r.atime.getTime(),o=r.mtime.getTime(),p=r.ctime.getTime();return Ie[n+40>>3]=BigInt(Math.floor(s/1e3)),we[n+48>>2]=s%1e3*1e3*1e3,Ie[n+56>>3]=BigInt(Math.floor(o/1e3)),we[n+64>>2]=o%1e3*1e3*1e3,Ie[n+72>>3]=BigInt(Math.floor(p/1e3)),we[n+80>>2]=p%1e3*1e3*1e3,Ie[n+88>>3]=BigInt(r.ino),0},doMsync(e,t,n,r,s){if(!a.isFile(t.node.mode))throw new a.ErrnoError(43);if(r&2)return 0;var o=je.slice(e,e+n);a.msync(t,o,s,n,r)},getStreamFromFD(e){var t=a.getStreamChecked(e);return t},varargs:void 0,getStr(e){var t=Zt(e);return t}};function en(e,t){try{return e=ae.getStr(e),a.chmod(e,t),0}catch(n){if(typeof a>"u"||n.name!=="ErrnoError")throw n;return-n.errno}}function tn(e,t,n,r){try{if(t=ae.getStr(t),t=ae.calculateAt(e,t),n&-8)return-28;var s=a.lookupPath(t,{follow:!0}),o=s.node;if(!o)return-44;var p="";return n&4&&(p+="r"),n&2&&(p+="w"),n&1&&(p+="x"),p&&a.nodePermissions(o,p)?-2:0}catch(g){if(typeof a>"u"||g.name!=="ErrnoError")throw g;return-g.errno}}function nn(e,t){try{return a.fchmod(e,t),0}catch(n){if(typeof a>"u"||n.name!=="ErrnoError")throw n;return-n.errno}}function rn(e,t,n){try{return a.fchown(e,t,n),0}catch(r){if(typeof a>"u"||r.name!=="ErrnoError")throw r;return-r.errno}}function et(){var e=ue[+ae.varargs>>2];return ae.varargs+=4,e}var Ue=et;function sn(e,t,n){ae.varargs=n;try{var r=ae.getStreamFromFD(e);switch(t){case 0:{var s=et();if(s<0)return-28;for(;a.streams[s];)s++;var o;return o=a.dupStream(r,s),o.fd}case 1:case 2:return 0;case 3:return r.flags;case 4:{var s=et();return r.flags|=s,0}case 12:{var s=Ue(),p=0;return Ve[s+p>>1]=2,0}case 13:case 14:return 0}return-28}catch(g){if(typeof a>"u"||g.name!=="ErrnoError")throw g;return-g.errno}}function on(e,t){try{var n=ae.getStreamFromFD(e);return ae.doStat(a.stat,n.path,t)}catch(r){if(typeof a>"u"||r.name!=="ErrnoError")throw r;return-r.errno}}var ln=9007199254740992,an=-9007199254740992,$e=e=>eln?NaN:Number(e);function cn(e,t){t=$e(t);try{return isNaN(t)?61:(a.ftruncate(e,t),0)}catch(n){if(typeof a>"u"||n.name!=="ErrnoError")throw n;return-n.errno}}var ze=(e,t,n)=>lt(e,je,t,n);function _n(e,t){try{if(t===0)return-28;var n=a.cwd(),r=Ze(n)+1;return t"u"||s.name!=="ErrnoError")throw s;return-s.errno}}function un(e,t,n){ae.varargs=n;try{var r=ae.getStreamFromFD(e);switch(t){case 21509:return r.tty?0:-59;case 21505:{if(!r.tty)return-59;if(r.tty.ops.ioctl_tcgets){var s=r.tty.ops.ioctl_tcgets(r),o=Ue();ue[o>>2]=s.c_iflag||0,ue[o+4>>2]=s.c_oflag||0,ue[o+8>>2]=s.c_cflag||0,ue[o+12>>2]=s.c_lflag||0;for(var p=0;p<32;p++)xe[o+p+17]=s.c_cc[p]||0;return 0}return 0}case 21510:case 21511:case 21512:return r.tty?0:-59;case 21506:case 21507:case 21508:{if(!r.tty)return-59;if(r.tty.ops.ioctl_tcsets){for(var o=Ue(),g=ue[o>>2],P=ue[o+4>>2],R=ue[o+8>>2],z=ue[o+12>>2],Q=[],p=0;p<32;p++)Q.push(xe[o+p+17]);return r.tty.ops.ioctl_tcsets(r.tty,t,{c_iflag:g,c_oflag:P,c_cflag:R,c_lflag:z,c_cc:Q})}return 0}case 21519:{if(!r.tty)return-59;var o=Ue();return ue[o>>2]=0,0}case 21520:return r.tty?-28:-59;case 21531:{var o=Ue();return a.ioctl(r,t,o)}case 21523:{if(!r.tty)return-59;if(r.tty.ops.ioctl_tiocgwinsz){var T=r.tty.ops.ioctl_tiocgwinsz(r.tty),o=Ue();Ve[o>>1]=T[0],Ve[o+2>>1]=T[1]}return 0}case 21524:return r.tty?0:-59;case 21515:return r.tty?0:-59;default:return-28}}catch(A){if(typeof a>"u"||A.name!=="ErrnoError")throw A;return-A.errno}}function fn(e,t){try{return e=ae.getStr(e),ae.doStat(a.lstat,e,t)}catch(n){if(typeof a>"u"||n.name!=="ErrnoError")throw n;return-n.errno}}function dn(e,t,n){try{return t=ae.getStr(t),t=ae.calculateAt(e,t),t=fe.normalize(t),t[t.length-1]==="/"&&(t=t.substr(0,t.length-1)),a.mkdir(t,n,0),0}catch(r){if(typeof a>"u"||r.name!=="ErrnoError")throw r;return-r.errno}}function pn(e,t,n,r){try{t=ae.getStr(t);var s=r&256,o=r&4096;return r=r&-6401,t=ae.calculateAt(e,t,o),ae.doStat(s?a.lstat:a.stat,t,n)}catch(p){if(typeof a>"u"||p.name!=="ErrnoError")throw p;return-p.errno}}function mn(e,t,n,r){ae.varargs=r;try{t=ae.getStr(t),t=ae.calculateAt(e,t);var s=r?et():0;return a.open(t,n,s).fd}catch(o){if(typeof a>"u"||o.name!=="ErrnoError")throw o;return-o.errno}}function hn(e,t,n,r){try{if(t=ae.getStr(t),t=ae.calculateAt(e,t),r<=0)return-28;var s=a.readlink(t),o=Math.min(r,Ze(s)),p=xe[n+o];return ze(s,n,r+1),xe[n+o]=p,o}catch(g){if(typeof a>"u"||g.name!=="ErrnoError")throw g;return-g.errno}}function gn(e){try{return e=ae.getStr(e),a.rmdir(e),0}catch(t){if(typeof a>"u"||t.name!=="ErrnoError")throw t;return-t.errno}}function qn(e,t){try{return e=ae.getStr(e),ae.doStat(a.stat,e,t)}catch(n){if(typeof a>"u"||n.name!=="ErrnoError")throw n;return-n.errno}}function bn(e,t,n){try{return t=ae.getStr(t),t=ae.calculateAt(e,t),n===0?a.unlink(t):n===512?a.rmdir(t):rt("Invalid flags passed to unlinkat"),0}catch(r){if(typeof a>"u"||r.name!=="ErrnoError")throw r;return-r.errno}}var xt=e=>we[e>>2]+ue[e+4>>2]*4294967296;function yn(e,t,n,r){try{t=ae.getStr(t),t=ae.calculateAt(e,t,!0);var s=Date.now(),o,p;if(!n)o=s,p=s;else{var g=xt(n),P=ue[n+8>>2];P==1073741823?o=s:P==1073741822?o=-1:o=g*1e3+P/(1e3*1e3),n+=16,g=xt(n),P=ue[n+8>>2],P==1073741823?p=s:P==1073741822?p=-1:p=g*1e3+P/(1e3*1e3)}return(p!=-1||o!=-1)&&a.utime(t,o,p),0}catch(R){if(typeof a>"u"||R.name!=="ErrnoError")throw R;return-R.errno}}var wn=1,En=()=>wn,vn=e=>e%4===0&&(e%100!==0||e%400===0),xn=[0,31,60,91,121,152,182,213,244,274,305,335],Sn=[0,31,59,90,120,151,181,212,243,273,304,334],An=e=>{var t=vn(e.getFullYear()),n=t?xn:Sn,r=n[e.getMonth()]+e.getDate()-1;return r};function In(e,t){e=$e(e);var n=new Date(e*1e3);ue[t>>2]=n.getSeconds(),ue[t+4>>2]=n.getMinutes(),ue[t+8>>2]=n.getHours(),ue[t+12>>2]=n.getDate(),ue[t+16>>2]=n.getMonth(),ue[t+20>>2]=n.getFullYear()-1900,ue[t+24>>2]=n.getDay();var r=An(n)|0;ue[t+28>>2]=r,ue[t+36>>2]=-(n.getTimezoneOffset()*60);var s=new Date(n.getFullYear(),0,1),o=new Date(n.getFullYear(),6,1).getTimezoneOffset(),p=s.getTimezoneOffset(),g=(o!=p&&n.getTimezoneOffset()==Math.min(p,o))|0;ue[t+32>>2]=g}function kn(e,t,n,r,s,o,p){s=$e(s);try{if(isNaN(s))return 61;var g=ae.getStreamFromFD(r),P=a.mmap(g,e,s,t,n),R=P.ptr;return ue[o>>2]=P.allocated,we[p>>2]=R,0}catch(z){if(typeof a>"u"||z.name!=="ErrnoError")throw z;return-z.errno}}function Tn(e,t,n,r,s,o){o=$e(o);try{var p=ae.getStreamFromFD(s);n&2&&ae.doMsync(e,p,t,r,o)}catch(g){if(typeof a>"u"||g.name!=="ErrnoError")throw g;return-g.errno}}var Fn=(e,t,n,r)=>{var s=new Date().getFullYear(),o=new Date(s,0,1),p=new Date(s,6,1),g=o.getTimezoneOffset(),P=p.getTimezoneOffset(),R=Math.max(g,P);we[e>>2]=R*60,ue[t>>2]=+(g!=P);var z=A=>{var D=A>=0?"-":"+",q=Math.abs(A),w=String(Math.floor(q/60)).padStart(2,"0"),x=String(q%60).padStart(2,"0");return`UTC${D}${w}${x}`},Q=z(g),T=z(P);PDate.now(),On=()=>performance.now(),Ln=()=>2147483648,Cn=e=>{var t=Ce.buffer,n=(e-t.byteLength+65535)/65536|0;try{return Ce.grow(n),ft(),1}catch{}},Dn=e=>{var t=je.length;e>>>=0;var n=Ln();if(e>n)return!1;for(var r=1;r<=4;r*=2){var s=t*(1+.2/r);s=Math.min(s,e+100663296);var o=Math.min(n,Et(Math.max(e,s),65536)),p=Cn(o);if(p)return!0}return!1},ct={},Rn=()=>re||"./this.program",Ke=()=>{if(!Ke.strings){var e=(typeof navigator=="object"&&navigator.languages&&navigator.languages[0]||"C").replace("-","_")+".UTF-8",t={USER:"web_user",LOGNAME:"web_user",PATH:"/",PWD:"/",HOME:"/home/web_user",LANG:e,_:Rn()};for(var n in ct)ct[n]===void 0?delete t[n]:t[n]=ct[n];var r=[];for(var n in t)r.push(`${n}=${t[n]}`);Ke.strings=r}return Ke.strings},Nn=(e,t)=>{for(var n=0;n{var n=0;return Ke().forEach((r,s)=>{var o=t+n;we[e+s*4>>2]=o,Nn(r,o),n+=r.length+1}),0},jn=(e,t)=>{var n=Ke();we[e>>2]=n.length;var r=0;return n.forEach(s=>r+=s.length+1),we[t>>2]=r,0};function Bn(e){try{var t=ae.getStreamFromFD(e);return a.close(t),0}catch(n){if(typeof a>"u"||n.name!=="ErrnoError")throw n;return n.errno}}function Un(e,t){try{var n=0,r=0,s=0,o=ae.getStreamFromFD(e),p=o.tty?2:a.isDir(o.mode)?3:a.isLink(o.mode)?7:4;return xe[t]=p,Ve[t+2>>1]=s,Ie[t+8>>3]=BigInt(n),Ie[t+16>>3]=BigInt(r),0}catch(g){if(typeof a>"u"||g.name!=="ErrnoError")throw g;return g.errno}}var zn=(e,t,n,r)=>{for(var s=0,o=0;o>2],g=we[t+4>>2];t+=8;var P=a.read(e,xe,p,g,r);if(P<0)return-1;if(s+=P,P>2]=o,0}catch(p){if(typeof a>"u"||p.name!=="ErrnoError")throw p;return p.errno}}function Qn(e,t,n,r){t=$e(t);try{if(isNaN(t))return 61;var s=ae.getStreamFromFD(e);return a.llseek(s,t,n),Ie[r>>3]=BigInt(s.position),s.getdents&&t===0&&n===0&&(s.getdents=null),0}catch(o){if(typeof a>"u"||o.name!=="ErrnoError")throw o;return o.errno}}function Hn(e){try{var t=ae.getStreamFromFD(e);return t.stream_ops?.fsync?t.stream_ops.fsync(t):0}catch(n){if(typeof a>"u"||n.name!=="ErrnoError")throw n;return n.errno}}var Vn=(e,t,n,r)=>{for(var s=0,o=0;o>2],g=we[t+4>>2];t+=8;var P=a.write(e,xe,p,g,r);if(P<0)return-1;if(s+=P,P>2]=o,0}catch(p){if(typeof a>"u"||p.name!=="ErrnoError")throw p;return p.errno}}a.createPreloadedFile=Xt,a.staticInit();var St={__syscall_chmod:en,__syscall_faccessat:tn,__syscall_fchmod:nn,__syscall_fchown32:rn,__syscall_fcntl64:sn,__syscall_fstat64:on,__syscall_ftruncate64:cn,__syscall_getcwd:_n,__syscall_ioctl:un,__syscall_lstat64:fn,__syscall_mkdirat:dn,__syscall_newfstatat:pn,__syscall_openat:mn,__syscall_readlinkat:hn,__syscall_rmdir:gn,__syscall_stat64:qn,__syscall_unlinkat:bn,__syscall_utimensat:yn,_emscripten_get_now_is_monotonic:En,_localtime_js:In,_mmap_js:kn,_munmap_js:Tn,_tzset_js:Fn,emscripten_date_now:Pn,emscripten_get_now:On,emscripten_resize_heap:Dn,environ_get:Mn,environ_sizes_get:jn,fd_close:Bn,fd_fdstat_get:Un,fd_read:Wn,fd_seek:Qn,fd_sync:Hn,fd_write:Gn,memory:Ce},m=Wt();i._sqlite3_status64=(e,t,n,r)=>(i._sqlite3_status64=m.sqlite3_status64)(e,t,n,r),i._sqlite3_status=(e,t,n,r)=>(i._sqlite3_status=m.sqlite3_status)(e,t,n,r),i._sqlite3_db_status=(e,t,n,r,s)=>(i._sqlite3_db_status=m.sqlite3_db_status)(e,t,n,r,s),i._sqlite3_msize=e=>(i._sqlite3_msize=m.sqlite3_msize)(e),i._sqlite3_vfs_find=e=>(i._sqlite3_vfs_find=m.sqlite3_vfs_find)(e),i._sqlite3_initialize=()=>(i._sqlite3_initialize=m.sqlite3_initialize)(),i._sqlite3_malloc=e=>(i._sqlite3_malloc=m.sqlite3_malloc)(e),i._sqlite3_free=e=>(i._sqlite3_free=m.sqlite3_free)(e),i._sqlite3_vfs_register=(e,t)=>(i._sqlite3_vfs_register=m.sqlite3_vfs_register)(e,t),i._sqlite3_vfs_unregister=e=>(i._sqlite3_vfs_unregister=m.sqlite3_vfs_unregister)(e),i._sqlite3_malloc64=e=>(i._sqlite3_malloc64=m.sqlite3_malloc64)(e),i._sqlite3_realloc=(e,t)=>(i._sqlite3_realloc=m.sqlite3_realloc)(e,t),i._sqlite3_realloc64=(e,t)=>(i._sqlite3_realloc64=m.sqlite3_realloc64)(e,t),i._sqlite3_value_text=e=>(i._sqlite3_value_text=m.sqlite3_value_text)(e),i._sqlite3_randomness=(e,t)=>(i._sqlite3_randomness=m.sqlite3_randomness)(e,t),i._sqlite3_stricmp=(e,t)=>(i._sqlite3_stricmp=m.sqlite3_stricmp)(e,t),i._sqlite3_strnicmp=(e,t,n)=>(i._sqlite3_strnicmp=m.sqlite3_strnicmp)(e,t,n),i._sqlite3_uri_parameter=(e,t)=>(i._sqlite3_uri_parameter=m.sqlite3_uri_parameter)(e,t),i._sqlite3_uri_boolean=(e,t,n)=>(i._sqlite3_uri_boolean=m.sqlite3_uri_boolean)(e,t,n),i._sqlite3_serialize=(e,t,n,r)=>(i._sqlite3_serialize=m.sqlite3_serialize)(e,t,n,r),i._sqlite3_prepare_v2=(e,t,n,r,s)=>(i._sqlite3_prepare_v2=m.sqlite3_prepare_v2)(e,t,n,r,s),i._sqlite3_step=e=>(i._sqlite3_step=m.sqlite3_step)(e),i._sqlite3_column_int64=(e,t)=>(i._sqlite3_column_int64=m.sqlite3_column_int64)(e,t),i._sqlite3_reset=e=>(i._sqlite3_reset=m.sqlite3_reset)(e),i._sqlite3_exec=(e,t,n,r,s)=>(i._sqlite3_exec=m.sqlite3_exec)(e,t,n,r,s),i._sqlite3_column_int=(e,t)=>(i._sqlite3_column_int=m.sqlite3_column_int)(e,t),i._sqlite3_finalize=e=>(i._sqlite3_finalize=m.sqlite3_finalize)(e),i._sqlite3_file_control=(e,t,n,r)=>(i._sqlite3_file_control=m.sqlite3_file_control)(e,t,n,r),i._sqlite3_column_name=(e,t)=>(i._sqlite3_column_name=m.sqlite3_column_name)(e,t),i._sqlite3_column_text=(e,t)=>(i._sqlite3_column_text=m.sqlite3_column_text)(e,t),i._sqlite3_column_type=(e,t)=>(i._sqlite3_column_type=m.sqlite3_column_type)(e,t),i._sqlite3_errmsg=e=>(i._sqlite3_errmsg=m.sqlite3_errmsg)(e),i._sqlite3_deserialize=(e,t,n,r,s,o)=>(i._sqlite3_deserialize=m.sqlite3_deserialize)(e,t,n,r,s,o),i._sqlite3_clear_bindings=e=>(i._sqlite3_clear_bindings=m.sqlite3_clear_bindings)(e),i._sqlite3_value_blob=e=>(i._sqlite3_value_blob=m.sqlite3_value_blob)(e),i._sqlite3_value_bytes=e=>(i._sqlite3_value_bytes=m.sqlite3_value_bytes)(e),i._sqlite3_value_double=e=>(i._sqlite3_value_double=m.sqlite3_value_double)(e),i._sqlite3_value_int=e=>(i._sqlite3_value_int=m.sqlite3_value_int)(e),i._sqlite3_value_int64=e=>(i._sqlite3_value_int64=m.sqlite3_value_int64)(e),i._sqlite3_value_subtype=e=>(i._sqlite3_value_subtype=m.sqlite3_value_subtype)(e),i._sqlite3_value_pointer=(e,t)=>(i._sqlite3_value_pointer=m.sqlite3_value_pointer)(e,t),i._sqlite3_value_type=e=>(i._sqlite3_value_type=m.sqlite3_value_type)(e),i._sqlite3_value_nochange=e=>(i._sqlite3_value_nochange=m.sqlite3_value_nochange)(e),i._sqlite3_value_frombind=e=>(i._sqlite3_value_frombind=m.sqlite3_value_frombind)(e),i._sqlite3_value_dup=e=>(i._sqlite3_value_dup=m.sqlite3_value_dup)(e),i._sqlite3_value_free=e=>(i._sqlite3_value_free=m.sqlite3_value_free)(e),i._sqlite3_result_blob=(e,t,n,r)=>(i._sqlite3_result_blob=m.sqlite3_result_blob)(e,t,n,r),i._sqlite3_result_error_toobig=e=>(i._sqlite3_result_error_toobig=m.sqlite3_result_error_toobig)(e),i._sqlite3_result_error_nomem=e=>(i._sqlite3_result_error_nomem=m.sqlite3_result_error_nomem)(e),i._sqlite3_result_double=(e,t)=>(i._sqlite3_result_double=m.sqlite3_result_double)(e,t),i._sqlite3_result_error=(e,t,n)=>(i._sqlite3_result_error=m.sqlite3_result_error)(e,t,n),i._sqlite3_result_int=(e,t)=>(i._sqlite3_result_int=m.sqlite3_result_int)(e,t),i._sqlite3_result_int64=(e,t)=>(i._sqlite3_result_int64=m.sqlite3_result_int64)(e,t),i._sqlite3_result_null=e=>(i._sqlite3_result_null=m.sqlite3_result_null)(e),i._sqlite3_result_pointer=(e,t,n,r)=>(i._sqlite3_result_pointer=m.sqlite3_result_pointer)(e,t,n,r),i._sqlite3_result_subtype=(e,t)=>(i._sqlite3_result_subtype=m.sqlite3_result_subtype)(e,t),i._sqlite3_result_text=(e,t,n,r)=>(i._sqlite3_result_text=m.sqlite3_result_text)(e,t,n,r),i._sqlite3_result_zeroblob=(e,t)=>(i._sqlite3_result_zeroblob=m.sqlite3_result_zeroblob)(e,t),i._sqlite3_result_zeroblob64=(e,t)=>(i._sqlite3_result_zeroblob64=m.sqlite3_result_zeroblob64)(e,t),i._sqlite3_result_error_code=(e,t)=>(i._sqlite3_result_error_code=m.sqlite3_result_error_code)(e,t),i._sqlite3_user_data=e=>(i._sqlite3_user_data=m.sqlite3_user_data)(e),i._sqlite3_context_db_handle=e=>(i._sqlite3_context_db_handle=m.sqlite3_context_db_handle)(e),i._sqlite3_vtab_nochange=e=>(i._sqlite3_vtab_nochange=m.sqlite3_vtab_nochange)(e),i._sqlite3_vtab_in_first=(e,t)=>(i._sqlite3_vtab_in_first=m.sqlite3_vtab_in_first)(e,t),i._sqlite3_vtab_in_next=(e,t)=>(i._sqlite3_vtab_in_next=m.sqlite3_vtab_in_next)(e,t),i._sqlite3_aggregate_context=(e,t)=>(i._sqlite3_aggregate_context=m.sqlite3_aggregate_context)(e,t),i._sqlite3_get_auxdata=(e,t)=>(i._sqlite3_get_auxdata=m.sqlite3_get_auxdata)(e,t),i._sqlite3_set_auxdata=(e,t,n,r)=>(i._sqlite3_set_auxdata=m.sqlite3_set_auxdata)(e,t,n,r),i._sqlite3_column_count=e=>(i._sqlite3_column_count=m.sqlite3_column_count)(e),i._sqlite3_data_count=e=>(i._sqlite3_data_count=m.sqlite3_data_count)(e),i._sqlite3_column_blob=(e,t)=>(i._sqlite3_column_blob=m.sqlite3_column_blob)(e,t),i._sqlite3_column_bytes=(e,t)=>(i._sqlite3_column_bytes=m.sqlite3_column_bytes)(e,t),i._sqlite3_column_double=(e,t)=>(i._sqlite3_column_double=m.sqlite3_column_double)(e,t),i._sqlite3_column_value=(e,t)=>(i._sqlite3_column_value=m.sqlite3_column_value)(e,t),i._sqlite3_column_decltype=(e,t)=>(i._sqlite3_column_decltype=m.sqlite3_column_decltype)(e,t),i._sqlite3_bind_blob=(e,t,n,r,s)=>(i._sqlite3_bind_blob=m.sqlite3_bind_blob)(e,t,n,r,s),i._sqlite3_bind_double=(e,t,n)=>(i._sqlite3_bind_double=m.sqlite3_bind_double)(e,t,n),i._sqlite3_bind_int=(e,t,n)=>(i._sqlite3_bind_int=m.sqlite3_bind_int)(e,t,n),i._sqlite3_bind_int64=(e,t,n)=>(i._sqlite3_bind_int64=m.sqlite3_bind_int64)(e,t,n),i._sqlite3_bind_null=(e,t)=>(i._sqlite3_bind_null=m.sqlite3_bind_null)(e,t),i._sqlite3_bind_pointer=(e,t,n,r,s)=>(i._sqlite3_bind_pointer=m.sqlite3_bind_pointer)(e,t,n,r,s),i._sqlite3_bind_text=(e,t,n,r,s)=>(i._sqlite3_bind_text=m.sqlite3_bind_text)(e,t,n,r,s),i._sqlite3_bind_parameter_count=e=>(i._sqlite3_bind_parameter_count=m.sqlite3_bind_parameter_count)(e),i._sqlite3_bind_parameter_name=(e,t)=>(i._sqlite3_bind_parameter_name=m.sqlite3_bind_parameter_name)(e,t),i._sqlite3_bind_parameter_index=(e,t)=>(i._sqlite3_bind_parameter_index=m.sqlite3_bind_parameter_index)(e,t),i._sqlite3_db_handle=e=>(i._sqlite3_db_handle=m.sqlite3_db_handle)(e),i._sqlite3_stmt_readonly=e=>(i._sqlite3_stmt_readonly=m.sqlite3_stmt_readonly)(e),i._sqlite3_stmt_isexplain=e=>(i._sqlite3_stmt_isexplain=m.sqlite3_stmt_isexplain)(e),i._sqlite3_stmt_explain=(e,t)=>(i._sqlite3_stmt_explain=m.sqlite3_stmt_explain)(e,t),i._sqlite3_stmt_busy=e=>(i._sqlite3_stmt_busy=m.sqlite3_stmt_busy)(e),i._sqlite3_stmt_status=(e,t,n)=>(i._sqlite3_stmt_status=m.sqlite3_stmt_status)(e,t,n),i._sqlite3_sql=e=>(i._sqlite3_sql=m.sqlite3_sql)(e),i._sqlite3_expanded_sql=e=>(i._sqlite3_expanded_sql=m.sqlite3_expanded_sql)(e),i._sqlite3_preupdate_old=(e,t,n)=>(i._sqlite3_preupdate_old=m.sqlite3_preupdate_old)(e,t,n),i._sqlite3_preupdate_count=e=>(i._sqlite3_preupdate_count=m.sqlite3_preupdate_count)(e),i._sqlite3_preupdate_depth=e=>(i._sqlite3_preupdate_depth=m.sqlite3_preupdate_depth)(e),i._sqlite3_preupdate_blobwrite=e=>(i._sqlite3_preupdate_blobwrite=m.sqlite3_preupdate_blobwrite)(e),i._sqlite3_preupdate_new=(e,t,n)=>(i._sqlite3_preupdate_new=m.sqlite3_preupdate_new)(e,t,n),i._sqlite3_value_numeric_type=e=>(i._sqlite3_value_numeric_type=m.sqlite3_value_numeric_type)(e),i._sqlite3_set_authorizer=(e,t,n)=>(i._sqlite3_set_authorizer=m.sqlite3_set_authorizer)(e,t,n),i._sqlite3_strglob=(e,t)=>(i._sqlite3_strglob=m.sqlite3_strglob)(e,t),i._sqlite3_strlike=(e,t,n)=>(i._sqlite3_strlike=m.sqlite3_strlike)(e,t,n),i._sqlite3_auto_extension=e=>(i._sqlite3_auto_extension=m.sqlite3_auto_extension)(e),i._sqlite3_cancel_auto_extension=e=>(i._sqlite3_cancel_auto_extension=m.sqlite3_cancel_auto_extension)(e),i._sqlite3_reset_auto_extension=()=>(i._sqlite3_reset_auto_extension=m.sqlite3_reset_auto_extension)(),i._sqlite3_prepare_v3=(e,t,n,r,s,o)=>(i._sqlite3_prepare_v3=m.sqlite3_prepare_v3)(e,t,n,r,s,o),i._sqlite3_create_module=(e,t,n,r)=>(i._sqlite3_create_module=m.sqlite3_create_module)(e,t,n,r),i._sqlite3_create_module_v2=(e,t,n,r,s)=>(i._sqlite3_create_module_v2=m.sqlite3_create_module_v2)(e,t,n,r,s),i._sqlite3_drop_modules=(e,t)=>(i._sqlite3_drop_modules=m.sqlite3_drop_modules)(e,t),i._sqlite3_declare_vtab=(e,t)=>(i._sqlite3_declare_vtab=m.sqlite3_declare_vtab)(e,t),i._sqlite3_vtab_on_conflict=e=>(i._sqlite3_vtab_on_conflict=m.sqlite3_vtab_on_conflict)(e),i._sqlite3_vtab_collation=(e,t)=>(i._sqlite3_vtab_collation=m.sqlite3_vtab_collation)(e,t),i._sqlite3_vtab_in=(e,t,n)=>(i._sqlite3_vtab_in=m.sqlite3_vtab_in)(e,t,n),i._sqlite3_vtab_rhs_value=(e,t,n)=>(i._sqlite3_vtab_rhs_value=m.sqlite3_vtab_rhs_value)(e,t,n),i._sqlite3_vtab_distinct=e=>(i._sqlite3_vtab_distinct=m.sqlite3_vtab_distinct)(e),i._sqlite3_keyword_name=(e,t,n)=>(i._sqlite3_keyword_name=m.sqlite3_keyword_name)(e,t,n),i._sqlite3_keyword_count=()=>(i._sqlite3_keyword_count=m.sqlite3_keyword_count)(),i._sqlite3_keyword_check=(e,t)=>(i._sqlite3_keyword_check=m.sqlite3_keyword_check)(e,t),i._sqlite3_complete=e=>(i._sqlite3_complete=m.sqlite3_complete)(e),i._sqlite3_libversion=()=>(i._sqlite3_libversion=m.sqlite3_libversion)(),i._sqlite3_libversion_number=()=>(i._sqlite3_libversion_number=m.sqlite3_libversion_number)(),i._sqlite3_shutdown=()=>(i._sqlite3_shutdown=m.sqlite3_shutdown)(),i._sqlite3_last_insert_rowid=e=>(i._sqlite3_last_insert_rowid=m.sqlite3_last_insert_rowid)(e),i._sqlite3_set_last_insert_rowid=(e,t)=>(i._sqlite3_set_last_insert_rowid=m.sqlite3_set_last_insert_rowid)(e,t),i._sqlite3_changes64=e=>(i._sqlite3_changes64=m.sqlite3_changes64)(e),i._sqlite3_changes=e=>(i._sqlite3_changes=m.sqlite3_changes)(e),i._sqlite3_total_changes64=e=>(i._sqlite3_total_changes64=m.sqlite3_total_changes64)(e),i._sqlite3_total_changes=e=>(i._sqlite3_total_changes=m.sqlite3_total_changes)(e),i._sqlite3_txn_state=(e,t)=>(i._sqlite3_txn_state=m.sqlite3_txn_state)(e,t),i._sqlite3_close_v2=e=>(i._sqlite3_close_v2=m.sqlite3_close_v2)(e),i._sqlite3_busy_handler=(e,t,n)=>(i._sqlite3_busy_handler=m.sqlite3_busy_handler)(e,t,n),i._sqlite3_progress_handler=(e,t,n,r)=>(i._sqlite3_progress_handler=m.sqlite3_progress_handler)(e,t,n,r),i._sqlite3_busy_timeout=(e,t)=>(i._sqlite3_busy_timeout=m.sqlite3_busy_timeout)(e,t),i._sqlite3_interrupt=e=>(i._sqlite3_interrupt=m.sqlite3_interrupt)(e),i._sqlite3_is_interrupted=e=>(i._sqlite3_is_interrupted=m.sqlite3_is_interrupted)(e),i._sqlite3_create_function=(e,t,n,r,s,o,p,g)=>(i._sqlite3_create_function=m.sqlite3_create_function)(e,t,n,r,s,o,p,g),i._sqlite3_create_function_v2=(e,t,n,r,s,o,p,g,P)=>(i._sqlite3_create_function_v2=m.sqlite3_create_function_v2)(e,t,n,r,s,o,p,g,P),i._sqlite3_create_window_function=(e,t,n,r,s,o,p,g,P,R)=>(i._sqlite3_create_window_function=m.sqlite3_create_window_function)(e,t,n,r,s,o,p,g,P,R),i._sqlite3_overload_function=(e,t,n)=>(i._sqlite3_overload_function=m.sqlite3_overload_function)(e,t,n),i._sqlite3_trace_v2=(e,t,n,r)=>(i._sqlite3_trace_v2=m.sqlite3_trace_v2)(e,t,n,r),i._sqlite3_commit_hook=(e,t,n)=>(i._sqlite3_commit_hook=m.sqlite3_commit_hook)(e,t,n),i._sqlite3_update_hook=(e,t,n)=>(i._sqlite3_update_hook=m.sqlite3_update_hook)(e,t,n),i._sqlite3_rollback_hook=(e,t,n)=>(i._sqlite3_rollback_hook=m.sqlite3_rollback_hook)(e,t,n),i._sqlite3_preupdate_hook=(e,t,n)=>(i._sqlite3_preupdate_hook=m.sqlite3_preupdate_hook)(e,t,n),i._sqlite3_error_offset=e=>(i._sqlite3_error_offset=m.sqlite3_error_offset)(e),i._sqlite3_errcode=e=>(i._sqlite3_errcode=m.sqlite3_errcode)(e),i._sqlite3_extended_errcode=e=>(i._sqlite3_extended_errcode=m.sqlite3_extended_errcode)(e),i._sqlite3_errstr=e=>(i._sqlite3_errstr=m.sqlite3_errstr)(e),i._sqlite3_limit=(e,t,n)=>(i._sqlite3_limit=m.sqlite3_limit)(e,t,n),i._sqlite3_open=(e,t)=>(i._sqlite3_open=m.sqlite3_open)(e,t),i._sqlite3_open_v2=(e,t,n,r)=>(i._sqlite3_open_v2=m.sqlite3_open_v2)(e,t,n,r),i._sqlite3_create_collation=(e,t,n,r,s)=>(i._sqlite3_create_collation=m.sqlite3_create_collation)(e,t,n,r,s),i._sqlite3_create_collation_v2=(e,t,n,r,s,o)=>(i._sqlite3_create_collation_v2=m.sqlite3_create_collation_v2)(e,t,n,r,s,o),i._sqlite3_collation_needed=(e,t,n)=>(i._sqlite3_collation_needed=m.sqlite3_collation_needed)(e,t,n),i._sqlite3_get_autocommit=e=>(i._sqlite3_get_autocommit=m.sqlite3_get_autocommit)(e),i._sqlite3_table_column_metadata=(e,t,n,r,s,o,p,g,P)=>(i._sqlite3_table_column_metadata=m.sqlite3_table_column_metadata)(e,t,n,r,s,o,p,g,P),i._sqlite3_extended_result_codes=(e,t)=>(i._sqlite3_extended_result_codes=m.sqlite3_extended_result_codes)(e,t),i._sqlite3_uri_key=(e,t)=>(i._sqlite3_uri_key=m.sqlite3_uri_key)(e,t),i._sqlite3_uri_int64=(e,t,n)=>(i._sqlite3_uri_int64=m.sqlite3_uri_int64)(e,t,n),i._sqlite3_db_name=(e,t)=>(i._sqlite3_db_name=m.sqlite3_db_name)(e,t),i._sqlite3_db_filename=(e,t)=>(i._sqlite3_db_filename=m.sqlite3_db_filename)(e,t),i._sqlite3_db_readonly=(e,t)=>(i._sqlite3_db_readonly=m.sqlite3_db_readonly)(e,t),i._sqlite3_compileoption_used=e=>(i._sqlite3_compileoption_used=m.sqlite3_compileoption_used)(e),i._sqlite3_compileoption_get=e=>(i._sqlite3_compileoption_get=m.sqlite3_compileoption_get)(e),i._sqlite3session_diff=(e,t,n,r)=>(i._sqlite3session_diff=m.sqlite3session_diff)(e,t,n,r),i._sqlite3session_attach=(e,t)=>(i._sqlite3session_attach=m.sqlite3session_attach)(e,t),i._sqlite3session_create=(e,t,n)=>(i._sqlite3session_create=m.sqlite3session_create)(e,t,n),i._sqlite3session_delete=e=>(i._sqlite3session_delete=m.sqlite3session_delete)(e),i._sqlite3session_table_filter=(e,t,n)=>(i._sqlite3session_table_filter=m.sqlite3session_table_filter)(e,t,n),i._sqlite3session_changeset=(e,t,n)=>(i._sqlite3session_changeset=m.sqlite3session_changeset)(e,t,n),i._sqlite3session_changeset_strm=(e,t,n)=>(i._sqlite3session_changeset_strm=m.sqlite3session_changeset_strm)(e,t,n),i._sqlite3session_patchset_strm=(e,t,n)=>(i._sqlite3session_patchset_strm=m.sqlite3session_patchset_strm)(e,t,n),i._sqlite3session_patchset=(e,t,n)=>(i._sqlite3session_patchset=m.sqlite3session_patchset)(e,t,n),i._sqlite3session_enable=(e,t)=>(i._sqlite3session_enable=m.sqlite3session_enable)(e,t),i._sqlite3session_indirect=(e,t)=>(i._sqlite3session_indirect=m.sqlite3session_indirect)(e,t),i._sqlite3session_isempty=e=>(i._sqlite3session_isempty=m.sqlite3session_isempty)(e),i._sqlite3session_memory_used=e=>(i._sqlite3session_memory_used=m.sqlite3session_memory_used)(e),i._sqlite3session_object_config=(e,t,n)=>(i._sqlite3session_object_config=m.sqlite3session_object_config)(e,t,n),i._sqlite3session_changeset_size=e=>(i._sqlite3session_changeset_size=m.sqlite3session_changeset_size)(e),i._sqlite3changeset_start=(e,t,n)=>(i._sqlite3changeset_start=m.sqlite3changeset_start)(e,t,n),i._sqlite3changeset_start_v2=(e,t,n,r)=>(i._sqlite3changeset_start_v2=m.sqlite3changeset_start_v2)(e,t,n,r),i._sqlite3changeset_start_strm=(e,t,n)=>(i._sqlite3changeset_start_strm=m.sqlite3changeset_start_strm)(e,t,n),i._sqlite3changeset_start_v2_strm=(e,t,n,r)=>(i._sqlite3changeset_start_v2_strm=m.sqlite3changeset_start_v2_strm)(e,t,n,r),i._sqlite3changeset_next=e=>(i._sqlite3changeset_next=m.sqlite3changeset_next)(e),i._sqlite3changeset_op=(e,t,n,r,s)=>(i._sqlite3changeset_op=m.sqlite3changeset_op)(e,t,n,r,s),i._sqlite3changeset_pk=(e,t,n)=>(i._sqlite3changeset_pk=m.sqlite3changeset_pk)(e,t,n),i._sqlite3changeset_old=(e,t,n)=>(i._sqlite3changeset_old=m.sqlite3changeset_old)(e,t,n),i._sqlite3changeset_new=(e,t,n)=>(i._sqlite3changeset_new=m.sqlite3changeset_new)(e,t,n),i._sqlite3changeset_conflict=(e,t,n)=>(i._sqlite3changeset_conflict=m.sqlite3changeset_conflict)(e,t,n),i._sqlite3changeset_fk_conflicts=(e,t)=>(i._sqlite3changeset_fk_conflicts=m.sqlite3changeset_fk_conflicts)(e,t),i._sqlite3changeset_finalize=e=>(i._sqlite3changeset_finalize=m.sqlite3changeset_finalize)(e),i._sqlite3changeset_invert=(e,t,n,r)=>(i._sqlite3changeset_invert=m.sqlite3changeset_invert)(e,t,n,r),i._sqlite3changeset_invert_strm=(e,t,n,r)=>(i._sqlite3changeset_invert_strm=m.sqlite3changeset_invert_strm)(e,t,n,r),i._sqlite3changeset_apply_v2=(e,t,n,r,s,o,p,g,P)=>(i._sqlite3changeset_apply_v2=m.sqlite3changeset_apply_v2)(e,t,n,r,s,o,p,g,P),i._sqlite3changeset_apply=(e,t,n,r,s,o)=>(i._sqlite3changeset_apply=m.sqlite3changeset_apply)(e,t,n,r,s,o),i._sqlite3changeset_apply_v2_strm=(e,t,n,r,s,o,p,g,P)=>(i._sqlite3changeset_apply_v2_strm=m.sqlite3changeset_apply_v2_strm)(e,t,n,r,s,o,p,g,P),i._sqlite3changeset_apply_strm=(e,t,n,r,s,o)=>(i._sqlite3changeset_apply_strm=m.sqlite3changeset_apply_strm)(e,t,n,r,s,o),i._sqlite3changegroup_new=e=>(i._sqlite3changegroup_new=m.sqlite3changegroup_new)(e),i._sqlite3changegroup_add=(e,t,n)=>(i._sqlite3changegroup_add=m.sqlite3changegroup_add)(e,t,n),i._sqlite3changegroup_output=(e,t,n)=>(i._sqlite3changegroup_output=m.sqlite3changegroup_output)(e,t,n),i._sqlite3changegroup_add_strm=(e,t,n)=>(i._sqlite3changegroup_add_strm=m.sqlite3changegroup_add_strm)(e,t,n),i._sqlite3changegroup_output_strm=(e,t,n)=>(i._sqlite3changegroup_output_strm=m.sqlite3changegroup_output_strm)(e,t,n),i._sqlite3changegroup_delete=e=>(i._sqlite3changegroup_delete=m.sqlite3changegroup_delete)(e),i._sqlite3changeset_concat=(e,t,n,r,s,o)=>(i._sqlite3changeset_concat=m.sqlite3changeset_concat)(e,t,n,r,s,o),i._sqlite3changeset_concat_strm=(e,t,n,r,s,o)=>(i._sqlite3changeset_concat_strm=m.sqlite3changeset_concat_strm)(e,t,n,r,s,o),i._sqlite3session_config=(e,t)=>(i._sqlite3session_config=m.sqlite3session_config)(e,t),i._sqlite3_sourceid=()=>(i._sqlite3_sourceid=m.sqlite3_sourceid)(),i._sqlite3__wasm_pstack_ptr=()=>(i._sqlite3__wasm_pstack_ptr=m.sqlite3__wasm_pstack_ptr)(),i._sqlite3__wasm_pstack_restore=e=>(i._sqlite3__wasm_pstack_restore=m.sqlite3__wasm_pstack_restore)(e),i._sqlite3__wasm_pstack_alloc=e=>(i._sqlite3__wasm_pstack_alloc=m.sqlite3__wasm_pstack_alloc)(e),i._sqlite3__wasm_pstack_remaining=()=>(i._sqlite3__wasm_pstack_remaining=m.sqlite3__wasm_pstack_remaining)(),i._sqlite3__wasm_pstack_quota=()=>(i._sqlite3__wasm_pstack_quota=m.sqlite3__wasm_pstack_quota)(),i._sqlite3__wasm_db_error=(e,t,n)=>(i._sqlite3__wasm_db_error=m.sqlite3__wasm_db_error)(e,t,n),i._sqlite3__wasm_test_struct=e=>(i._sqlite3__wasm_test_struct=m.sqlite3__wasm_test_struct)(e),i._sqlite3__wasm_enum_json=()=>(i._sqlite3__wasm_enum_json=m.sqlite3__wasm_enum_json)(),i._sqlite3__wasm_vfs_unlink=(e,t)=>(i._sqlite3__wasm_vfs_unlink=m.sqlite3__wasm_vfs_unlink)(e,t),i._sqlite3__wasm_db_vfs=(e,t)=>(i._sqlite3__wasm_db_vfs=m.sqlite3__wasm_db_vfs)(e,t),i._sqlite3__wasm_db_reset=e=>(i._sqlite3__wasm_db_reset=m.sqlite3__wasm_db_reset)(e),i._sqlite3__wasm_db_export_chunked=(e,t)=>(i._sqlite3__wasm_db_export_chunked=m.sqlite3__wasm_db_export_chunked)(e,t),i._sqlite3__wasm_db_serialize=(e,t,n,r,s)=>(i._sqlite3__wasm_db_serialize=m.sqlite3__wasm_db_serialize)(e,t,n,r,s),i._sqlite3__wasm_vfs_create_file=(e,t,n,r)=>(i._sqlite3__wasm_vfs_create_file=m.sqlite3__wasm_vfs_create_file)(e,t,n,r),i._sqlite3__wasm_posix_create_file=(e,t,n)=>(i._sqlite3__wasm_posix_create_file=m.sqlite3__wasm_posix_create_file)(e,t,n),i._sqlite3__wasm_kvvfsMakeKeyOnPstack=(e,t)=>(i._sqlite3__wasm_kvvfsMakeKeyOnPstack=m.sqlite3__wasm_kvvfsMakeKeyOnPstack)(e,t),i._sqlite3__wasm_kvvfs_methods=()=>(i._sqlite3__wasm_kvvfs_methods=m.sqlite3__wasm_kvvfs_methods)(),i._sqlite3__wasm_vtab_config=(e,t,n)=>(i._sqlite3__wasm_vtab_config=m.sqlite3__wasm_vtab_config)(e,t,n),i._sqlite3__wasm_db_config_ip=(e,t,n,r)=>(i._sqlite3__wasm_db_config_ip=m.sqlite3__wasm_db_config_ip)(e,t,n,r),i._sqlite3__wasm_db_config_pii=(e,t,n,r,s)=>(i._sqlite3__wasm_db_config_pii=m.sqlite3__wasm_db_config_pii)(e,t,n,r,s),i._sqlite3__wasm_db_config_s=(e,t,n)=>(i._sqlite3__wasm_db_config_s=m.sqlite3__wasm_db_config_s)(e,t,n),i._sqlite3__wasm_config_i=(e,t)=>(i._sqlite3__wasm_config_i=m.sqlite3__wasm_config_i)(e,t),i._sqlite3__wasm_config_ii=(e,t,n)=>(i._sqlite3__wasm_config_ii=m.sqlite3__wasm_config_ii)(e,t,n),i._sqlite3__wasm_config_j=(e,t)=>(i._sqlite3__wasm_config_j=m.sqlite3__wasm_config_j)(e,t),i._sqlite3__wasm_qfmt_token=(e,t)=>(i._sqlite3__wasm_qfmt_token=m.sqlite3__wasm_qfmt_token)(e,t),i._sqlite3__wasm_init_wasmfs=e=>(i._sqlite3__wasm_init_wasmfs=m.sqlite3__wasm_init_wasmfs)(e),i._sqlite3__wasm_test_intptr=e=>(i._sqlite3__wasm_test_intptr=m.sqlite3__wasm_test_intptr)(e),i._sqlite3__wasm_test_voidptr=e=>(i._sqlite3__wasm_test_voidptr=m.sqlite3__wasm_test_voidptr)(e),i._sqlite3__wasm_test_int64_max=()=>(i._sqlite3__wasm_test_int64_max=m.sqlite3__wasm_test_int64_max)(),i._sqlite3__wasm_test_int64_min=()=>(i._sqlite3__wasm_test_int64_min=m.sqlite3__wasm_test_int64_min)(),i._sqlite3__wasm_test_int64_times2=e=>(i._sqlite3__wasm_test_int64_times2=m.sqlite3__wasm_test_int64_times2)(e),i._sqlite3__wasm_test_int64_minmax=(e,t)=>(i._sqlite3__wasm_test_int64_minmax=m.sqlite3__wasm_test_int64_minmax)(e,t),i._sqlite3__wasm_test_int64ptr=e=>(i._sqlite3__wasm_test_int64ptr=m.sqlite3__wasm_test_int64ptr)(e),i._sqlite3__wasm_test_stack_overflow=e=>(i._sqlite3__wasm_test_stack_overflow=m.sqlite3__wasm_test_stack_overflow)(e),i._sqlite3__wasm_test_str_hello=e=>(i._sqlite3__wasm_test_str_hello=m.sqlite3__wasm_test_str_hello)(e),i._sqlite3__wasm_SQLTester_strglob=(e,t)=>(i._sqlite3__wasm_SQLTester_strglob=m.sqlite3__wasm_SQLTester_strglob)(e,t),i._malloc=e=>(i._malloc=m.malloc)(e),i._free=e=>(i._free=m.free)(e),i._realloc=(e,t)=>(i._realloc=m.realloc)(e,t);var At=(e,t)=>(At=m.emscripten_builtin_memalign)(e,t);i.wasmMemory=Ce;var tt,It;Ge=function e(){tt||kt(),tt||(Ge=e)};function kt(){if(De>0||!It&&(It=1,Ot(),De>0))return;function e(){tt||(tt=1,i.calledRun=1,!ut&&(Lt(),ye(i),i.onRuntimeInitialized?.(),Ct()))}i.setStatus?(i.setStatus("Running..."),setTimeout(()=>{setTimeout(()=>i.setStatus(""),1),e()},1)):e()}if(i.preInit)for(typeof i.preInit=="function"&&(i.preInit=[i.preInit]);i.preInit.length>0;)i.preInit.pop()();return kt(),i.runSQLite3PostLoadInit=function(e){if(globalThis.sqlite3ApiBootstrap=function t(n=globalThis.sqlite3ApiConfig||t.defaultConfig){if(t.sqlite3)return(t.sqlite3.config||console).warn("sqlite3ApiBootstrap() called multiple times.","Config and external initializers are ignored on calls after the first."),t.sqlite3;const r=Object.assign(Object.create(null),{exports:void 0,memory:void 0,bigIntEnabled:typeof i<"u"&&i.HEAPU64?!0:!!globalThis.BigInt64Array,debug:console.debug.bind(console),warn:console.warn.bind(console),error:console.error.bind(console),log:console.log.bind(console),wasmfsOpfsDir:"/opfs",useStdAlloc:!1},n||{});Object.assign(r,{allocExportName:r.useStdAlloc?"malloc":"sqlite3_malloc",deallocExportName:r.useStdAlloc?"free":"sqlite3_free",reallocExportName:r.useStdAlloc?"realloc":"sqlite3_realloc"},r),["exports","memory","wasmfsOpfsDir"].forEach(l=>{typeof r[l]=="function"&&(r[l]=r[l]())}),delete globalThis.sqlite3ApiConfig,delete t.defaultConfig;const s=Object.create(null),o=Object.create(null),p=l=>s.sqlite3_js_rc_str&&s.sqlite3_js_rc_str(l)||"Unknown result code #"+l,g=l=>typeof l=="number"&&l===(l|0);class P extends Error{constructor(..._){let u;if(_.length)if(g(_[0]))if(u=_[0],_.length===1)super(p(_[0]));else{const I=p(u);typeof _[1]=="object"?super(I,_[1]):(_[0]=I+":",super(_.join(" ")))}else _.length===2&&typeof _[1]=="object"?super(..._):super(_.join(" "));this.resultCode=u||s.SQLITE_ERROR,this.name="SQLite3Error"}}P.toss=(...l)=>{throw new P(...l)};const R=P.toss;r.wasmfsOpfsDir&&!/^\/[^/]+$/.test(r.wasmfsOpfsDir)&&R("config.wasmfsOpfsDir must be falsy or in the form '/dir-name'.");const z=l=>typeof l!="bigint"&&l===(l|0)&&l<=2147483647&&l>=-2147483648,Q=function l(_){return l._max||(l._max=BigInt("0x7fffffffffffffff"),l._min=~l._max),_>=l._min&&_<=l._max},T=l=>l>=-0x7fffffffn-1n&&l<=0x7fffffffn,A=function l(_){return l._min||(l._min=Number.MIN_SAFE_INTEGER,l._max=Number.MAX_SAFE_INTEGER),_>=l._min&&_<=l._max},D=l=>l&&l.constructor&&z(l.constructor.BYTES_PER_ELEMENT)?l:!1,q=typeof SharedArrayBuffer>"u"?function(){}:SharedArrayBuffer,w=l=>l.buffer instanceof q,x=(l,_,u)=>w(l)?l.slice(_,u):l.subarray(_,u),N=l=>l&&(l instanceof Uint8Array||l instanceof Int8Array||l instanceof ArrayBuffer),O=l=>l&&(l instanceof Uint8Array||l instanceof Int8Array||l instanceof ArrayBuffer),S=l=>N(l)||R("Value is not of a supported TypedArray type."),L=new TextDecoder("utf-8"),$=function(l,_,u){return L.decode(x(l,_,u))},c=function(l){return O(l)?$(l instanceof ArrayBuffer?new Uint8Array(l):l):Array.isArray(l)?l.join(""):(o.isPtr(l)&&(l=o.cstrToJs(l)),l)};class d extends Error{constructor(..._){_.length===2&&typeof _[1]=="object"?super(..._):_.length?super(_.join(" ")):super("Allocation failed."),this.resultCode=s.SQLITE_NOMEM,this.name="WasmAllocError"}}d.toss=(...l)=>{throw new d(...l)},Object.assign(s,{sqlite3_bind_blob:void 0,sqlite3_bind_text:void 0,sqlite3_create_function_v2:(l,_,u,I,U,ee,ne,se,ie)=>{},sqlite3_create_function:(l,_,u,I,U,ee,ne,se)=>{},sqlite3_create_window_function:(l,_,u,I,U,ee,ne,se,ie,j)=>{},sqlite3_prepare_v3:(l,_,u,I,U,ee)=>{},sqlite3_prepare_v2:(l,_,u,I,U)=>{},sqlite3_exec:(l,_,u,I,U)=>{},sqlite3_randomness:(l,_)=>{}});const y={affirmBindableTypedArray:S,flexibleString:c,bigIntFits32:T,bigIntFits64:Q,bigIntFitsDouble:A,isBindableTypedArray:N,isInt32:z,isSQLableTypedArray:O,isTypedArray:D,typedArrayToString:$,isUIThread:()=>globalThis.window===globalThis&&!!globalThis.document,isSharedTypedArray:w,toss:function(...l){throw new Error(l.join(" "))},toss3:R,typedArrayPart:x,affirmDbHeader:function(l){l instanceof ArrayBuffer&&(l=new Uint8Array(l));const _="SQLite format 3";_.length>l.byteLength&&R("Input does not contain an SQLite3 database header.");for(let u=0;u<_.length;++u)_.charCodeAt(u)!==l[u]&&R("Input does not contain an SQLite3 database header.")},affirmIsDb:function(l){l instanceof ArrayBuffer&&(l=new Uint8Array(l));const _=l.byteLength;(_<512||_%512!==0)&&R("Byte array size",_,"is invalid for an SQLite3 db."),y.affirmDbHeader(l)}};Object.assign(o,{ptrSizeof:r.wasmPtrSizeof||4,ptrIR:r.wasmPtrIR||"i32",bigIntEnabled:!!r.bigIntEnabled,exports:r.exports||R("Missing API config.exports (WASM module exports)."),memory:r.memory||r.exports.memory||R("API config object requires a WebAssembly.Memory object","in either config.exports.memory (exported)","or config.memory (imported)."),alloc:void 0,realloc:void 0,dealloc:void 0}),o.allocFromTypedArray=function(l){l instanceof ArrayBuffer&&(l=new Uint8Array(l)),S(l);const _=o.alloc(l.byteLength||1);return o.heapForSize(l.constructor).set(l.byteLength?l:[0],_),_};{const l=r.allocExportName,_=r.deallocExportName,u=r.reallocExportName;for(const I of[l,_,u])o.exports[I]instanceof Function||R("Missing required exports[",I,"] function.");o.alloc=function I(U){return I.impl(U)||d.toss("Failed to allocate",U," bytes.")},o.alloc.impl=o.exports[l],o.realloc=function I(U,ee){const ne=I.impl(U,ee);return ee?ne||d.toss("Failed to reallocate",ee," bytes."):0},o.realloc.impl=o.exports[u],o.dealloc=o.exports[_]}o.compileOptionUsed=function l(_){if(arguments.length){if(Array.isArray(_)){const u={};return _.forEach(I=>{u[I]=s.sqlite3_compileoption_used(I)}),u}else if(typeof _=="object")return Object.keys(_).forEach(u=>{_[u]=s.sqlite3_compileoption_used(u)}),_}else{if(l._result)return l._result;l._opt||(l._rx=/^([^=]+)=(.+)/,l._rxInt=/^-?\d+$/,l._opt=function(ne,se){const ie=l._rx.exec(ne);se[0]=ie?ie[1]:ne,se[1]=ie?l._rxInt.test(ie[2])?+ie[2]:ie[2]:!0});const u={},I=[0,0];let U=0,ee;for(;ee=s.sqlite3_compileoption_get(U++);)l._opt(ee,I),u[I[0]]=I[1];return l._result=u}return typeof _=="string"?!!s.sqlite3_compileoption_used(_):!1},o.pstack=Object.assign(Object.create(null),{restore:o.exports.sqlite3__wasm_pstack_restore,alloc:function(l){return typeof l=="string"&&!(l=o.sizeofIR(l))&&d.toss("Invalid value for pstack.alloc(",arguments[0],")"),o.exports.sqlite3__wasm_pstack_alloc(l)||d.toss("Could not allocate",l,"bytes from the pstack.")},allocChunks:function(l,_){typeof _=="string"&&!(_=o.sizeofIR(_))&&d.toss("Invalid size value for allocChunks(",arguments[1],")");const u=o.pstack.alloc(l*_),I=[];let U=0,ee=0;for(;Ul===1?o.pstack.alloc(_?8:o.ptrSizeof):o.pstack.allocChunks(l,_?8:o.ptrSizeof),call:function(l){const _=o.pstack.pointer;try{return l(h)}finally{o.pstack.restore(_)}}}),Object.defineProperties(o.pstack,{pointer:{configurable:!1,iterable:!0,writeable:!1,get:o.exports.sqlite3__wasm_pstack_ptr},quota:{configurable:!1,iterable:!0,writeable:!1,get:o.exports.sqlite3__wasm_pstack_quota},remaining:{configurable:!1,iterable:!0,writeable:!1,get:o.exports.sqlite3__wasm_pstack_remaining}}),s.sqlite3_randomness=(...l)=>{if(l.length===1&&y.isTypedArray(l[0])&&l[0].BYTES_PER_ELEMENT===1){const _=l[0];if(_.byteLength===0)return o.exports.sqlite3_randomness(0,0),_;const u=o.pstack.pointer;try{let I=_.byteLength,U=0;const ee=o.exports.sqlite3_randomness,ne=o.heap8u(),se=I<512?I:512,ie=o.pstack.alloc(se);do{const j=I>se?se:I;ee(j,ie),_.set(x(ne,ie,ie+j),U),I-=j,U+=j}while(I>0)}catch(I){console.error("Highly unexpected (and ignored!) exception in sqlite3_randomness():",I)}finally{o.pstack.restore(u)}return _}o.exports.sqlite3_randomness(...l)};let B;if(s.sqlite3_wasmfs_opfs_dir=function(){if(B!==void 0)return B;const l=r.wasmfsOpfsDir;if(!l||!globalThis.FileSystemHandle||!globalThis.FileSystemDirectoryHandle||!globalThis.FileSystemFileHandle)return B="";try{return l&&o.xCallWrapped("sqlite3__wasm_init_wasmfs","i32",["string"],l)===0?B=l:B=""}catch{return B=""}},s.sqlite3_wasmfs_filename_is_persistent=function(l){const _=s.sqlite3_wasmfs_opfs_dir();return _&&l?l.startsWith(_+"/"):!1},s.sqlite3_js_db_uses_vfs=function(l,_,u=0){try{const I=s.sqlite3_vfs_find(_);return I?l?I===s.sqlite3_js_db_vfs(l,u)?I:!1:I===s.sqlite3_vfs_find(0)?I:!1:!1}catch{return!1}},s.sqlite3_js_vfs_list=function(){const l=[];let _=s.sqlite3_vfs_find(0);for(;_;){const u=new s.sqlite3_vfs(_);l.push(o.cstrToJs(u.$zName)),_=u.$pNext,u.dispose()}return l},s.sqlite3_js_db_export=function(l,_=0){l=o.xWrap.testConvertArg("sqlite3*",l),l||R("Invalid sqlite3* argument."),o.bigIntEnabled||R("BigInt64 support is not enabled.");const u=o.scopedAllocPush();let I;try{const U=o.scopedAlloc(8+o.ptrSizeof),ee=U+8,ne=_?o.isPtr(_)?_:o.scopedAllocCString(""+_):0;let se=o.exports.sqlite3__wasm_db_serialize(l,ne,ee,U,0);se&&R("Database serialization failed with code",h.capi.sqlite3_js_rc_str(se)),I=o.peekPtr(ee);const ie=o.peek(U,"i64");return se=ie?o.heap8u().slice(I,I+Number(ie)):new Uint8Array,se}finally{I&&o.exports.sqlite3_free(I),o.scopedAllocPop(u)}},s.sqlite3_js_db_vfs=(l,_=0)=>y.sqlite3__wasm_db_vfs(l,_),s.sqlite3_js_aggregate_context=(l,_)=>s.sqlite3_aggregate_context(l,_)||(_?d.toss("Cannot allocate",_,"bytes for sqlite3_aggregate_context()"):0),s.sqlite3_js_posix_create_file=function(l,_,u){let I;_&&o.isPtr(_)?I=_:_ instanceof ArrayBuffer||_ instanceof Uint8Array?(I=o.allocFromTypedArray(_),(arguments.length<3||!y.isInt32(u)||u<0)&&(u=_.byteLength)):P.toss("Invalid 2nd argument for sqlite3_js_posix_create_file().");try{(!y.isInt32(u)||u<0)&&P.toss("Invalid 3rd argument for sqlite3_js_posix_create_file().");const U=y.sqlite3__wasm_posix_create_file(l,I,u);U&&P.toss("Creation of file failed with sqlite3 result code",s.sqlite3_js_rc_str(U))}finally{o.dealloc(I)}},s.sqlite3_js_vfs_create_file=function(l,_,u,I){r.warn("sqlite3_js_vfs_create_file() is deprecated and","should be avoided because it can lead to C-level crashes.","See its documentation for alternative options.");let U;u?(o.isPtr(u)?U=u:u instanceof ArrayBuffer&&(u=new Uint8Array(u)),u instanceof Uint8Array?(U=o.allocFromTypedArray(u),(arguments.length<4||!y.isInt32(I)||I<0)&&(I=u.byteLength)):P.toss("Invalid 3rd argument type for sqlite3_js_vfs_create_file().")):U=0,(!y.isInt32(I)||I<0)&&(o.dealloc(U),P.toss("Invalid 4th argument for sqlite3_js_vfs_create_file()."));try{const ee=y.sqlite3__wasm_vfs_create_file(l,_,U,I);ee&&P.toss("Creation of file failed with sqlite3 result code",s.sqlite3_js_rc_str(ee))}finally{o.dealloc(U)}},s.sqlite3_js_sql_to_string=l=>{if(typeof l=="string")return l;const _=c(v);return _===v?void 0:_},y.isUIThread()){const l=function(_){const u=Object.create(null);return u.prefix="kvvfs-"+_,u.stores=[],(_==="session"||_==="")&&u.stores.push(globalThis.sessionStorage),(_==="local"||_==="")&&u.stores.push(globalThis.localStorage),u};s.sqlite3_js_kvvfs_clear=function(_=""){let u=0;const I=l(_);return I.stores.forEach(U=>{const ee=[];let ne;for(ne=0;neU.removeItem(se)),u+=ee.length}),u},s.sqlite3_js_kvvfs_size=function(_=""){let u=0;const I=l(_);return I.stores.forEach(U=>{let ee;for(ee=0;eef(l,_,"sqlite3_preupdate_new"),s.sqlite3_preupdate_old_js=(l,_)=>f(l,_,"sqlite3_preupdate_old"),s.sqlite3changeset_new_js=(l,_)=>f(l,_,"sqlite3changeset_new"),s.sqlite3changeset_old_js=(l,_)=>f(l,_,"sqlite3changeset_old");const h={WasmAllocError:d,SQLite3Error:P,capi:s,util:y,wasm:o,config:r,version:Object.create(null),client:void 0,asyncPostInit:async function l(){if(l.isReady instanceof Promise)return l.isReady;let _=t.initializersAsync;delete t.initializersAsync;const u=async()=>(h.__isUnderTest||(delete h.util,delete h.StructBinder),h),I=ee=>{throw r.error("an async sqlite3 initializer failed:",ee),ee};if(!_||!_.length)return l.isReady=u().catch(I);_=_.map(ee=>ee instanceof Function?async ne=>ee(h):ee),_.push(u);let U=Promise.resolve(h);for(;_.length;)U=U.then(_.shift());return l.isReady=U.catch(I)},scriptInfo:void 0};try{t.initializers.forEach(l=>{l(h)})}catch(l){throw console.error("sqlite3 bootstrap initializer threw:",l),l}return delete t.initializers,t.sqlite3=h,h},globalThis.sqlite3ApiBootstrap.initializers=[],globalThis.sqlite3ApiBootstrap.initializersAsync=[],globalThis.sqlite3ApiBootstrap.defaultConfig=Object.create(null),globalThis.sqlite3ApiBootstrap.sqlite3=void 0,globalThis.WhWasmUtilInstaller=function(t){t.bigIntEnabled===void 0&&(t.bigIntEnabled=!!globalThis.BigInt64Array);const n=(...c)=>{throw new Error(c.join(" "))};t.exports||Object.defineProperty(t,"exports",{enumerable:!0,configurable:!0,get:()=>t.instance&&t.instance.exports});const r=t.pointerIR||"i32",s=t.ptrSizeof=r==="i32"?4:r==="i64"?8:n("Unhandled ptrSizeof:",r),o=Object.create(null);o.heapSize=0,o.memory=null,o.freeFuncIndexes=[],o.scopedAlloc=[],o.utf8Decoder=new TextDecoder,o.utf8Encoder=new TextEncoder("utf-8"),t.sizeofIR=c=>{switch(c){case"i8":return 1;case"i16":return 2;case"i32":case"f32":case"float":return 4;case"i64":case"f64":case"double":return 8;case"*":return s;default:return(""+c).endsWith("*")?s:void 0}};const p=function(){if(!o.memory)o.memory=t.memory instanceof WebAssembly.Memory?t.memory:t.exports.memory;else if(o.heapSize===o.memory.buffer.byteLength)return o;const c=o.memory.buffer;return o.HEAP8=new Int8Array(c),o.HEAP8U=new Uint8Array(c),o.HEAP16=new Int16Array(c),o.HEAP16U=new Uint16Array(c),o.HEAP32=new Int32Array(c),o.HEAP32U=new Uint32Array(c),t.bigIntEnabled&&(o.HEAP64=new BigInt64Array(c),o.HEAP64U=new BigUint64Array(c)),o.HEAP32F=new Float32Array(c),o.HEAP64F=new Float64Array(c),o.heapSize=c.byteLength,o};t.heap8=()=>p().HEAP8,t.heap8u=()=>p().HEAP8U,t.heap16=()=>p().HEAP16,t.heap16u=()=>p().HEAP16U,t.heap32=()=>p().HEAP32,t.heap32u=()=>p().HEAP32U,t.heapForSize=function(c,d=!0){const y=o.memory&&o.heapSize===o.memory.buffer.byteLength?o:p();switch(c){case Int8Array:return y.HEAP8;case Uint8Array:return y.HEAP8U;case Int16Array:return y.HEAP16;case Uint16Array:return y.HEAP16U;case Int32Array:return y.HEAP32;case Uint32Array:return y.HEAP32U;case 8:return d?y.HEAP8U:y.HEAP8;case 16:return d?y.HEAP16U:y.HEAP16;case 32:return d?y.HEAP32U:y.HEAP32;case 64:if(y.HEAP64)return d?y.HEAP64U:y.HEAP64;break;default:if(t.bigIntEnabled){if(c===globalThis.BigUint64Array)return y.HEAP64U;if(c===globalThis.BigInt64Array)return y.HEAP64;break}}n("Invalid heapForSize() size: expecting 8, 16, 32,","or (if BigInt is enabled) 64.")},t.functionTable=function(){return t.exports.__indirect_function_table},t.functionEntry=function(c){const d=t.functionTable();return c>7)},rxJSig:/^(\w)\((\w*)\)$/,sigParams:function(h){const l=c._.rxJSig.exec(h);return l?l[2]:h.substr(1)},letterType:h=>c._.sigTypes[h]||n("Invalid signature letter:",h),pushSigType:(h,l)=>h.push(c._.typeCodes[c._.letterType(l)])}),typeof d=="string"){const h=y;y=d,d=h}const B=c._.sigParams(y),f=[1,96];c._.uleb128Encode(f,"push",B.length);for(const h of B)c._.pushSigType(f,h);return y[0]==="v"?f.push(0):(f.push(1),c._.pushSigType(f,y[0])),c._.uleb128Encode(f,"unshift",f.length),f.unshift(0,97,115,109,1,0,0,0,1),f.push(2,7,1,1,101,1,102,0,0,7,5,1,1,102,0,0),new WebAssembly.Instance(new WebAssembly.Module(new Uint8Array(f)),{e:{f:d}}).exports.f};const g=function(d,y,B){if(B&&!o.scopedAlloc.length&&n("No scopedAllocPush() scope is active."),typeof d=="string"){const _=y;y=d,d=_}(typeof y!="string"||!(d instanceof Function))&&n("Invalid arguments: expecting (function,signature) or (signature,function).");const f=t.functionTable(),h=f.length;let l;for(;o.freeFuncIndexes.length&&(l=o.freeFuncIndexes.pop(),f.get(l));){l=null;continue}l||(l=h,f.grow(1));try{return f.set(l,d),B&&o.scopedAlloc[o.scopedAlloc.length-1].push(l),l}catch(_){if(!(_ instanceof TypeError))throw l===h&&o.freeFuncIndexes.push(h),_}try{const _=t.jsFuncToWasm(d,y);f.set(l,_),B&&o.scopedAlloc[o.scopedAlloc.length-1].push(l)}catch(_){throw l===h&&o.freeFuncIndexes.push(h),_}return l};t.installFunction=(c,d)=>g(c,d,!1),t.scopedInstallFunction=(c,d)=>g(c,d,!0),t.uninstallFunction=function(c){if(!c&&c!==0)return;const d=o.freeFuncIndexes,y=t.functionTable();d.push(c);const B=y.get(c);return y.set(c,null),B},t.peek=function(d,y="i8"){y.endsWith("*")&&(y=r);const B=o.memory&&o.heapSize===o.memory.buffer.byteLength?o:p(),f=Array.isArray(d)?[]:void 0;let h;do{switch(f&&(d=arguments[0].shift()),y){case"i1":case"i8":h=B.HEAP8[d>>0];break;case"i16":h=B.HEAP16[d>>1];break;case"i32":h=B.HEAP32[d>>2];break;case"float":case"f32":h=B.HEAP32F[d>>2];break;case"double":case"f64":h=Number(B.HEAP64F[d>>3]);break;case"i64":if(t.bigIntEnabled){h=BigInt(B.HEAP64[d>>3]);break}default:n("Invalid type for peek():",y)}f&&f.push(h)}while(f&&arguments[0].length);return f||h},t.poke=function(c,d,y="i8"){y.endsWith("*")&&(y=r);const B=o.memory&&o.heapSize===o.memory.buffer.byteLength?o:p();for(const f of Array.isArray(c)?c:[c])switch(y){case"i1":case"i8":B.HEAP8[f>>0]=d;continue;case"i16":B.HEAP16[f>>1]=d;continue;case"i32":B.HEAP32[f>>2]=d;continue;case"float":case"f32":B.HEAP32F[f>>2]=d;continue;case"double":case"f64":B.HEAP64F[f>>3]=d;continue;case"i64":if(B.HEAP64){B.HEAP64[f>>3]=BigInt(d);continue}default:n("Invalid type for poke(): "+y)}return this},t.peekPtr=(...c)=>t.peek(c.length===1?c[0]:c,r),t.pokePtr=(c,d=0)=>t.poke(c,d,r),t.peek8=(...c)=>t.peek(c.length===1?c[0]:c,"i8"),t.poke8=(c,d)=>t.poke(c,d,"i8"),t.peek16=(...c)=>t.peek(c.length===1?c[0]:c,"i16"),t.poke16=(c,d)=>t.poke(c,d,"i16"),t.peek32=(...c)=>t.peek(c.length===1?c[0]:c,"i32"),t.poke32=(c,d)=>t.poke(c,d,"i32"),t.peek64=(...c)=>t.peek(c.length===1?c[0]:c,"i64"),t.poke64=(c,d)=>t.poke(c,d,"i64"),t.peek32f=(...c)=>t.peek(c.length===1?c[0]:c,"f32"),t.poke32f=(c,d)=>t.poke(c,d,"f32"),t.peek64f=(...c)=>t.peek(c.length===1?c[0]:c,"f64"),t.poke64f=(c,d)=>t.poke(c,d,"f64"),t.getMemValue=t.peek,t.getPtrValue=t.peekPtr,t.setMemValue=t.poke,t.setPtrValue=t.pokePtr,t.isPtr32=c=>typeof c=="number"&&c===(c|0)&&c>=0,t.isPtr=t.isPtr32,t.cstrlen=function(c){if(!c||!t.isPtr(c))return null;const d=p().HEAP8U;let y=c;for(;d[y]!==0;++y);return y-c};const P=typeof SharedArrayBuffer>"u"?function(){}:SharedArrayBuffer,R=function(c,d,y){return o.utf8Decoder.decode(c.buffer instanceof P?c.slice(d,y):c.subarray(d,y))};t.cstrToJs=function(c){const d=t.cstrlen(c);return d?R(p().HEAP8U,c,c+d):d===null?d:""},t.jstrlen=function(c){if(typeof c!="string")return null;const d=c.length;let y=0;for(let B=0;B=55296&&f<=57343&&(f=65536+((f&1023)<<10)|c.charCodeAt(++B)&1023),f<=127?++y:f<=2047?y+=2:f<=65535?y+=3:y+=4}return y},t.jstrcpy=function(c,d,y=0,B=-1,f=!0){if((!d||!(d instanceof Int8Array)&&!(d instanceof Uint8Array))&&n("jstrcpy() target must be an Int8Array or Uint8Array."),B<0&&(B=d.length-y),!(B>0)||!(y>=0))return 0;let h=0,l=c.length;const _=y,u=y+B-(f?1:0);for(;h=55296&&I<=57343&&(I=65536+((I&1023)<<10)|c.charCodeAt(++h)&1023),I<=127){if(y>=u)break;d[y++]=I}else if(I<=2047){if(y+1>=u)break;d[y++]=192|I>>6,d[y++]=128|I&63}else if(I<=65535){if(y+2>=u)break;d[y++]=224|I>>12,d[y++]=128|I>>6&63,d[y++]=128|I&63}else{if(y+3>=u)break;d[y++]=240|I>>18,d[y++]=128|I>>12&63,d[y++]=128|I>>6&63,d[y++]=128|I&63}}return f&&(d[y++]=0),y-_},t.cstrncpy=function(c,d,y){if((!c||!d)&&n("cstrncpy() does not accept NULL strings."),y<0)y=t.cstrlen(strPtr)+1;else if(!(y>0))return 0;const B=t.heap8u();let f=0,h;for(;fo.utf8Encoder.encode(d?c+"\0":c);const z=(c,d)=>{(!(c.alloc instanceof Function)||!(c.dealloc instanceof Function))&&n("Object is missing alloc() and/or dealloc() function(s)","required by",d+"().")},Q=function(c,d,y,B){if(z(t,B),typeof c!="string")return null;{const f=o.utf8Encoder.encode(c),h=y(f.length+1),l=p().HEAP8U;return l.set(f,h),l[h+f.length]=0,d?[h,f.length]:h}};t.allocCString=(c,d=!1)=>Q(c,d,t.alloc,"allocCString()"),t.scopedAllocPush=function(){z(t,"scopedAllocPush");const c=[];return o.scopedAlloc.push(c),c},t.scopedAllocPop=function(c){z(t,"scopedAllocPop");const d=arguments.length?o.scopedAlloc.indexOf(c):o.scopedAlloc.length-1;d<0&&n("Invalid state object for scopedAllocPop()."),arguments.length===0&&(c=o.scopedAlloc[d]),o.scopedAlloc.splice(d,1);for(let y;y=c.pop();)t.functionEntry(y)?t.uninstallFunction(y):t.dealloc(y)},t.scopedAlloc=function(c){o.scopedAlloc.length||n("No scopedAllocPush() scope is active.");const d=t.alloc(c);return o.scopedAlloc[o.scopedAlloc.length-1].push(d),d},Object.defineProperty(t.scopedAlloc,"level",{configurable:!1,enumerable:!1,get:()=>o.scopedAlloc.length,set:()=>n("The 'active' property is read-only.")}),t.scopedAllocCString=(c,d=!1)=>Q(c,d,t.scopedAlloc,"scopedAllocCString()");const T=function(c,d){const y=t[c?"scopedAlloc":"alloc"]((d.length+1)*t.ptrSizeof);let B=0;return d.forEach(f=>{t.pokePtr(y+t.ptrSizeof*B++,t[c?"scopedAllocCString":"allocCString"](""+f))}),t.pokePtr(y+t.ptrSizeof*B,0),y};t.scopedAllocMainArgv=c=>T(!0,c),t.allocMainArgv=c=>T(!1,c),t.cArgvToJs=(c,d)=>{const y=[];for(let B=0;BA(c,d,"alloc"),t.scopedAllocPtr=(c=1,d=!0)=>A(c,d,"scopedAlloc"),t.xGet=function(c){return t.exports[c]||n("Cannot find exported symbol:",c)};const D=(c,d)=>n(c+"() requires",d,"argument(s).");t.xCall=function(c,...d){const y=c instanceof Function?c:t.xGet(c);return y instanceof Function||n("Exported symbol",c,"is not a function."),y.length!==d.length&&D(y===c?y.name:c,y.length),arguments.length===2&&Array.isArray(arguments[1])?y.apply(null,arguments[1]):y.apply(null,d)},o.xWrap=Object.create(null),o.xWrap.convert=Object.create(null),o.xWrap.convert.arg=new Map,o.xWrap.convert.result=new Map;const q=o.xWrap.convert.arg,w=o.xWrap.convert.result;t.bigIntEnabled&&q.set("i64",c=>BigInt(c));const x=r==="i32"?c=>c|0:c=>BigInt(c)|BigInt(0);q.set("i32",x).set("i16",c=>(c|0)&65535).set("i8",c=>(c|0)&255).set("f32",c=>Number(c).valueOf()).set("float",q.get("f32")).set("f64",q.get("f32")).set("double",q.get("f64")).set("int",q.get("i32")).set("null",c=>c).set(null,q.get("null")).set("**",x).set("*",x),w.set("*",x).set("pointer",x).set("number",c=>Number(c)).set("void",c=>{}).set("null",c=>c).set(null,w.get("null"));{const c=["i8","i16","i32","int","f32","float","f64","double"];t.bigIntEnabled&&c.push("i64");const d=q.get(r);for(const y of c)q.set(y+"*",d),w.set(y+"*",d),w.set(y,q.get(y)||n("Missing arg converter:",y))}const N=function(c){return typeof c=="string"?t.scopedAllocCString(c):c?x(c):null};q.set("string",N).set("utf8",N).set("pointer",N),w.set("string",c=>t.cstrToJs(c)).set("utf8",w.get("string")).set("string:dealloc",c=>{try{return c?t.cstrToJs(c):null}finally{t.dealloc(c)}}).set("utf8:dealloc",w.get("string:dealloc")).set("json",c=>JSON.parse(t.cstrToJs(c))).set("json:dealloc",c=>{try{return c?JSON.parse(t.cstrToJs(c)):null}finally{t.dealloc(c)}});const O=class{constructor(c){this.name=c.name||"unnamed adapter"}convertArg(c,d,y){n("AbstractArgAdapter must be subclassed.")}};q.FuncPtrAdapter=class Te extends O{constructor(d){super(d),q.FuncPtrAdapter.warnOnUse&&console.warn("xArg.FuncPtrAdapter is an internal-only API","and is not intended to be invoked from","client-level code. Invoked with:",d),this.name=d.name||"unnamed",this.signature=d.signature,d.contextKey instanceof Function&&(this.contextKey=d.contextKey,d.bindScope||(d.bindScope="context")),this.bindScope=d.bindScope||n("FuncPtrAdapter options requires a bindScope (explicit or implied)."),Te.bindScopes.indexOf(d.bindScope)<0&&n("Invalid options.bindScope ("+d.bindMod+") for FuncPtrAdapter. Expecting one of: ("+Te.bindScopes.join(", ")+")"),this.isTransient=this.bindScope==="transient",this.isContext=this.bindScope==="context",this.isPermanent=this.bindScope==="permanent",this.singleton=this.bindScope==="singleton"?[]:void 0,this.callProxy=d.callProxy instanceof Function?d.callProxy:void 0}contextKey(d,y){return this}contextMap(d){const y=this.__cmap||(this.__cmap=new Map);let B=y.get(d);return B===void 0&&y.set(d,B=[]),B}convertArg(d,y,B){let f=this.singleton;if(!f&&this.isContext&&(f=this.contextMap(this.contextKey(y,B))),f&&f[0]===d)return f[1];if(d instanceof Function){this.callProxy&&(d=this.callProxy(d));const h=g(d,this.signature,this.isTransient);if(Te.debugFuncInstall&&Te.debugOut("FuncPtrAdapter installed",this,this.contextKey(y,B),"@"+h,d),f){if(f[1]){Te.debugFuncInstall&&Te.debugOut("FuncPtrAdapter uninstalling",this,this.contextKey(y,B),"@"+f[1],d);try{o.scopedAlloc[o.scopedAlloc.length-1].push(f[1])}catch{}}f[0]=d,f[1]=h}return h}else if(t.isPtr(d)||d===null||d===void 0){if(f&&f[1]&&f[1]!==d){Te.debugFuncInstall&&Te.debugOut("FuncPtrAdapter uninstalling",this,this.contextKey(y,B),"@"+f[1],d);try{o.scopedAlloc[o.scopedAlloc.length-1].push(f[1])}catch{}f[0]=f[1]=d|0}return d||0}else throw new TypeError("Invalid FuncPtrAdapter argument type. Expecting a function pointer or a "+(this.name?this.name+" ":"")+"function matching signature "+this.signature+".")}},q.FuncPtrAdapter.warnOnUse=!1,q.FuncPtrAdapter.debugFuncInstall=!1,q.FuncPtrAdapter.debugOut=console.debug.bind(console),q.FuncPtrAdapter.bindScopes=["transient","context","singleton","permanent"];const S=c=>q.get(c)||n("Argument adapter not found:",c),L=c=>w.get(c)||n("Result adapter not found:",c);o.xWrap.convertArg=(c,...d)=>S(c)(...d),o.xWrap.convertArgNoCheck=(c,...d)=>q.get(c)(...d),o.xWrap.convertResult=(c,d)=>c===null?d:c?L(c)(d):void 0,o.xWrap.convertResultNoCheck=(c,d)=>c===null?d:c?w.get(c)(d):void 0,t.xWrap=function(c,d,...y){arguments.length===3&&Array.isArray(arguments[2])&&(y=arguments[2]),t.isPtr(c)&&(c=t.functionEntry(c)||n("Function pointer not found in WASM function table."));const B=c instanceof Function,f=B?c:t.xGet(c);if(B&&(c=f.name||"unnamed function"),y.length!==f.length&&D(c,f.length),d===null&&f.length===0)return f;d!=null&&L(d);for(const l of y)l instanceof O?q.set(l,(..._)=>l.convertArg(..._)):S(l);const h=o.xWrap;return f.length===0?(...l)=>l.length?D(c,f.length):h.convertResult(d,f.call(null)):function(...l){l.length!==f.length&&D(c,f.length);const _=t.scopedAllocPush();try{let u=0;for(;ufetch(t.uri,{credentials:"same-origin"}),r=this,s=function(p){if(t.wasmUtilTarget){const g=(...R)=>{throw new Error(R.join(" "))},P=t.wasmUtilTarget;if(P.module=p.module,P.instance=p.instance,P.instance.exports.memory||(P.memory=t.imports&&t.imports.env&&t.imports.env.memory||g("Missing 'memory' object!")),!P.alloc&&p.instance.exports.malloc){const R=p.instance.exports;P.alloc=function(z){return R.malloc(z)||g("Allocation of",z,"bytes failed.")},P.dealloc=function(z){R.free(z)}}r(P)}return t.onload&&t.onload(p,t),p};return WebAssembly.instantiateStreaming?function(){return WebAssembly.instantiateStreaming(n(),t.imports||{}).then(s)}:function(){return n().then(g=>g.arrayBuffer()).then(g=>WebAssembly.instantiate(g,t.imports||{})).then(s)}}).bind(globalThis.WhWasmUtilInstaller),globalThis.Jaccwabyt=function t(n){const r=(...F)=>{throw new Error(F.join(" "))};!(n.heap instanceof WebAssembly.Memory)&&!(n.heap instanceof Function)&&r("config.heap must be WebAssembly.Memory instance or a function."),["alloc","dealloc"].forEach(function(F){n[F]instanceof Function||r("Config option '"+F+"' must be a function.")});const s=t,o=n.heap instanceof Function?n.heap:()=>new Uint8Array(n.heap.buffer),p=n.alloc,g=n.dealloc,P=n.log||console.log.bind(console),R=n.memberPrefix||"",z=n.memberSuffix||"",Q=n.bigIntEnabled===void 0?!!globalThis.BigInt64Array:!!n.bigIntEnabled,T=globalThis.BigInt,A=globalThis.BigInt64Array,D=n.ptrSizeof||4,q=n.ptrIR||"i32";s.debugFlags||(s.__makeDebugFlags=function(F=null){F&&F.__flags&&(F=F.__flags);const V=function K(X){return arguments.length===0?K.__flags:(X<0?(delete K.__flags.getter,delete K.__flags.setter,delete K.__flags.alloc,delete K.__flags.dealloc):(K.__flags.getter=(1&X)!==0,K.__flags.setter=(2&X)!==0,K.__flags.alloc=(4&X)!==0,K.__flags.dealloc=(8&X)!==0),K._flags)};return Object.defineProperty(V,"__flags",{iterable:!1,writable:!1,value:Object.create(F)}),F||V(0),V},s.debugFlags=s.__makeDebugFlags());const w=(function(){const F=new ArrayBuffer(2);return new DataView(F).setInt16(0,256,!0),new Int16Array(F)[0]===256})(),x=F=>F[1]==="(",N=F=>F==="P",O=F=>x(F)?"p":F[0],S=function(F){switch(O(F)){case"c":case"C":return"i8";case"i":return"i32";case"p":case"P":case"s":return q;case"j":return"i64";case"f":return"float";case"d":return"double"}r("Unhandled signature IR:",F)},L=A?()=>!0:()=>r("BigInt64Array is not available."),$=function(F){switch(O(F)){case"p":case"P":case"s":{switch(D){case 4:return"getInt32";case 8:return L()&&"getBigInt64"}break}case"i":return"getInt32";case"c":return"getInt8";case"C":return"getUint8";case"j":return L()&&"getBigInt64";case"f":return"getFloat32";case"d":return"getFloat64"}r("Unhandled DataView getter for signature:",F)},c=function(F){switch(O(F)){case"p":case"P":case"s":{switch(D){case 4:return"setInt32";case 8:return L()&&"setBigInt64"}break}case"i":return"setInt32";case"c":return"setInt8";case"C":return"setUint8";case"j":return L()&&"setBigInt64";case"f":return"setFloat32";case"d":return"setFloat64"}r("Unhandled DataView setter for signature:",F)},d=function(F){switch(O(F)){case"i":case"f":case"c":case"C":case"d":return Number;case"j":return L()&&T;case"p":case"P":case"s":switch(D){case 4:return Number;case 8:return L()&&T}break}r("Unhandled DataView set wrapper for signature:",F)},y=(F,V)=>F+"::"+V,B=function(F,V){return()=>r(y(F,V),"is read-only.")},f=new WeakMap,h="(pointer-is-external)",l=function(F,V,K){if(K||(K=f.get(V)),K){if(f.delete(V),Array.isArray(V.ondispose)){let X;for(;X=V.ondispose.shift();)try{X instanceof Function?X.call(V):X instanceof te?X.dispose():typeof X=="number"&&g(X)}catch(_e){console.warn("ondispose() for",F.structName,"@",K,"threw. NOT propagating it.",_e)}}else if(V.ondispose instanceof Function)try{V.ondispose()}catch(X){console.warn("ondispose() for",F.structName,"@",K,"threw. NOT propagating it.",X)}delete V.ondispose,F.debugFlags.__flags.dealloc&&P("debug.dealloc:",V[h]?"EXTERNAL":"",F.structName,"instance:",F.structInfo.sizeof,"bytes @"+K),V[h]||g(K)}},_=F=>({configurable:!1,writable:!1,iterable:!1,value:F}),u=function(F,V,K){let X=!K;K?Object.defineProperty(V,h,_(K)):(K=p(F.structInfo.sizeof),K||r("Allocation of",F.structName,"structure failed."));try{F.debugFlags.__flags.alloc&&P("debug.alloc:",X?"":"EXTERNAL",F.structName,"instance:",F.structInfo.sizeof,"bytes @"+K),X&&o().fill(0,K,K+F.structInfo.sizeof),f.set(V,K)}catch(_e){throw l(F,V,K),_e}},I=function(){const F=this.pointer;return F?new Uint8Array(o().slice(F,F+this.structInfo.sizeof)):null},ee=_(F=>R+F+z),ne=function(F,V,K=!0){let X=F.members[V];if(!X&&(R||z)){for(const _e of Object.values(F.members))if(_e.key===V){X=_e;break}!X&&K&&r(y(F.name,V),"is not a mapped struct member.")}return X},se=function F(V,K,X=!1){F._||(F._=he=>he.replace(/[^vipPsjrdcC]/g,"").replace(/[pPscC]/g,"i"));const _e=ne(V.structInfo,K,!0);return X?F._(_e.signature):_e.signature},ie={configurable:!1,enumerable:!1,get:function(){return f.get(this)},set:()=>r("Cannot assign the 'pointer' property of a struct.")},j=_(function(){const F=[];for(const V of Object.keys(this.structInfo.members))F.push(this.memberKey(V));return F}),b=new TextDecoder("utf-8"),k=new TextEncoder,W=typeof SharedArrayBuffer>"u"?function(){}:SharedArrayBuffer,H=function(F,V,K){return b.decode(F.buffer instanceof W?F.slice(V,K):F.subarray(V,K))},Z=function(F,V,K=!1){const X=ne(F.structInfo,V,K);return X&&X.signature.length===1&&X.signature[0]==="s"?X:!1},E=function(F){F.signature!=="s"&&r("Invalid member type signature for C-string value:",JSON.stringify(F))},C=function(V,K){const X=ne(V.structInfo,K,!0);E(X);const _e=V[X.key];if(!_e)return null;let he=_e;const de=o();for(;de[he]!==0;++he);return _e===he?"":H(de,_e,he)},M=function(F,...V){F.ondispose?Array.isArray(F.ondispose)||(F.ondispose=[F.ondispose]):F.ondispose=[],F.ondispose.push(...V)},J=function(F){const V=k.encode(F),K=p(V.length+1);K||r("Allocation error while duplicating string:",F);const X=o();return X.set(V,K),X[K+V.length]=0,K},G=function(F,V,K){const X=ne(F.structInfo,V,!0);E(X);const _e=J(K);return F[X.key]=_e,M(F,_e),F},te=function(V,K){arguments[2]!==_&&r("Do not call the StructType constructor","from client-level code."),Object.defineProperties(this,{structName:_(V),structInfo:_(K)})};te.prototype=Object.create(null,{dispose:_(function(){l(this.constructor,this)}),lookupMember:_(function(F,V=!0){return ne(this.structInfo,F,V)}),memberToJsString:_(function(F){return C(this,F)}),memberIsString:_(function(F,V=!0){return Z(this,F,V)}),memberKey:ee,memberKeys:j,memberSignature:_(function(F,V=!1){return se(this,F,V)}),memoryDump:_(I),pointer:ie,setMemberCString:_(function(F,V){return G(this,F,V)})}),Object.assign(te.prototype,{addOnDispose:function(...F){return M(this,...F),this}}),Object.defineProperties(te,{allocCString:_(J),isA:_(F=>F instanceof te),hasExternalPointer:_(F=>F instanceof te&&!!F[h]),memberKey:ee});const le=F=>Number.isFinite(F)||F instanceof(T||Number),Y=function F(V,K,X){if(!F._){F._={getters:{},setters:{},sw:{}};const ve=["i","c","C","p","P","s","f","d","v()"];Q&&ve.push("j"),ve.forEach(function(Se){F._.getters[Se]=$(Se),F._.setters[Se]=c(Se),F._.sw[Se]=d(Se)});const $n=/^[ipPsjfdcC]$/,Kn=/^[vipPsjfdcC]\([ipPsjfdcC]*\)$/;F.sigCheck=function(Se,Jn,Tt,_t){Object.prototype.hasOwnProperty.call(Se,Tt)&&r(Se.structName,"already has a property named",Tt+"."),$n.test(_t)||Kn.test(_t)||r("Malformed signature for",y(Se.structName,Jn)+":",_t)}}const _e=V.memberKey(K);F.sigCheck(V.prototype,K,_e,X.signature),X.key=_e,X.name=K;const he=O(X.signature),de=y(V.prototype.structName,_e),pe=V.prototype.debugFlags.__flags,We=Object.create(null);We.configurable=!1,We.enumerable=!1,We.get=function(){pe.getter&&P("debug.getter:",F._.getters[he],"for",S(he),de,"@",this.pointer,"+",X.offset,"sz",X.sizeof);let ve=new DataView(o().buffer,this.pointer+X.offset,X.sizeof)[F._.getters[he]](0,w);return pe.getter&&P("debug.getter:",de,"result =",ve),ve},X.readOnly?We.set=B(V.prototype.structName,_e):We.set=function(ve){if(pe.setter&&P("debug.setter:",F._.setters[he],"for",S(he),de,"@",this.pointer,"+",X.offset,"sz",X.sizeof,ve),this.pointer||r("Cannot set struct property on disposed instance."),ve===null)ve=0;else for(;!le(ve);){if(N(X.signature)&&ve instanceof te){ve=ve.pointer||0,pe.setter&&P("debug.setter:",de,"resolved to",ve);break}r("Invalid value for pointer-type",de+".")}new DataView(o().buffer,this.pointer+X.offset,X.sizeof)[F._.setters[he]](0,F._.sw[he](ve),w)},Object.defineProperty(V.prototype,_e,We)},be=function F(V,K){arguments.length===1?(K=V,V=K.name):K.name||(K.name=V),V||r("Struct name is required.");let X=!1;Object.keys(K.members).forEach(de=>{const pe=K.members[de];pe.sizeof?pe.sizeof===1?pe.signature==="c"||pe.signature==="C"||r("Unexpected sizeof==1 member",y(K.name,de),"with signature",pe.signature):(pe.sizeof%4!==0&&(console.warn("Invalid struct member description =",pe,"from",K),r(V,"member",de,"sizeof is not aligned. sizeof="+pe.sizeof)),pe.offset%4!==0&&(console.warn("Invalid struct member description =",pe,"from",K),r(V,"member",de,"offset is not aligned. offset="+pe.offset))):r(V,"member",de,"is missing sizeof."),(!X||X.offsetde instanceof he),memberKey:ee,memberKeys:j,methodInfoForKey:_(function(de){}),structInfo:_(K),structName:_(V)}),he.prototype=new te(V,K,_),Object.defineProperties(he.prototype,{debugFlags:_e,constructor:_(he)}),Object.keys(K.members).forEach(de=>Y(he,de,K.members[de])),he};return be.StructType=te,be.config=n,be.allocCString=J,be.debugFlags||(be.debugFlags=s.__makeDebugFlags(s.debugFlags)),be},globalThis.sqlite3ApiBootstrap.initializers.push(function(t){const n=(...q)=>{throw new Error(q.join(" "))};t.SQLite3Error.toss;const r=t.capi,s=t.wasm,o=t.util;if(globalThis.WhWasmUtilInstaller(s),delete globalThis.WhWasmUtilInstaller,s.bindingSignatures=[["sqlite3_aggregate_context","void*","sqlite3_context*","int"],["sqlite3_bind_double","int","sqlite3_stmt*","int","f64"],["sqlite3_bind_int","int","sqlite3_stmt*","int","int"],["sqlite3_bind_null",void 0,"sqlite3_stmt*","int"],["sqlite3_bind_parameter_count","int","sqlite3_stmt*"],["sqlite3_bind_parameter_index","int","sqlite3_stmt*","string"],["sqlite3_bind_parameter_name","string","sqlite3_stmt*","int"],["sqlite3_bind_pointer","int","sqlite3_stmt*","int","*","string:static","*"],["sqlite3_busy_handler","int",["sqlite3*",new s.xWrap.FuncPtrAdapter({signature:"i(pi)",contextKey:(q,w)=>q[0]}),"*"]],["sqlite3_busy_timeout","int","sqlite3*","int"],["sqlite3_changes","int","sqlite3*"],["sqlite3_clear_bindings","int","sqlite3_stmt*"],["sqlite3_collation_needed","int","sqlite3*","*","*"],["sqlite3_column_blob","*","sqlite3_stmt*","int"],["sqlite3_column_bytes","int","sqlite3_stmt*","int"],["sqlite3_column_count","int","sqlite3_stmt*"],["sqlite3_column_decltype","string","sqlite3_stmt*","int"],["sqlite3_column_double","f64","sqlite3_stmt*","int"],["sqlite3_column_int","int","sqlite3_stmt*","int"],["sqlite3_column_name","string","sqlite3_stmt*","int"],["sqlite3_column_text","string","sqlite3_stmt*","int"],["sqlite3_column_type","int","sqlite3_stmt*","int"],["sqlite3_column_value","sqlite3_value*","sqlite3_stmt*","int"],["sqlite3_commit_hook","void*",["sqlite3*",new s.xWrap.FuncPtrAdapter({name:"sqlite3_commit_hook",signature:"i(p)",contextKey:q=>q[0]}),"*"]],["sqlite3_compileoption_get","string","int"],["sqlite3_compileoption_used","int","string"],["sqlite3_complete","int","string:flexible"],["sqlite3_context_db_handle","sqlite3*","sqlite3_context*"],["sqlite3_data_count","int","sqlite3_stmt*"],["sqlite3_db_filename","string","sqlite3*","string"],["sqlite3_db_handle","sqlite3*","sqlite3_stmt*"],["sqlite3_db_name","string","sqlite3*","int"],["sqlite3_db_readonly","int","sqlite3*","string"],["sqlite3_db_status","int","sqlite3*","int","*","*","int"],["sqlite3_errcode","int","sqlite3*"],["sqlite3_errmsg","string","sqlite3*"],["sqlite3_error_offset","int","sqlite3*"],["sqlite3_errstr","string","int"],["sqlite3_exec","int",["sqlite3*","string:flexible",new s.xWrap.FuncPtrAdapter({signature:"i(pipp)",bindScope:"transient",callProxy:q=>{let w;return(x,N,O,S)=>{try{const L=s.cArgvToJs(N,O);return w||(w=s.cArgvToJs(N,S)),q(L,w)|0}catch(L){return L.resultCode||r.SQLITE_ERROR}}}}),"*","**"]],["sqlite3_expanded_sql","string","sqlite3_stmt*"],["sqlite3_extended_errcode","int","sqlite3*"],["sqlite3_extended_result_codes","int","sqlite3*","int"],["sqlite3_file_control","int","sqlite3*","string","int","*"],["sqlite3_finalize","int","sqlite3_stmt*"],["sqlite3_free",void 0,"*"],["sqlite3_get_autocommit","int","sqlite3*"],["sqlite3_get_auxdata","*","sqlite3_context*","int"],["sqlite3_initialize",void 0],["sqlite3_interrupt",void 0,"sqlite3*"],["sqlite3_is_interrupted","int","sqlite3*"],["sqlite3_keyword_count","int"],["sqlite3_keyword_name","int",["int","**","*"]],["sqlite3_keyword_check","int",["string","int"]],["sqlite3_libversion","string"],["sqlite3_libversion_number","int"],["sqlite3_limit","int",["sqlite3*","int","int"]],["sqlite3_malloc","*","int"],["sqlite3_open","int","string","*"],["sqlite3_open_v2","int","string","*","int","string"],["sqlite3_realloc","*","*","int"],["sqlite3_reset","int","sqlite3_stmt*"],["sqlite3_result_blob",void 0,"sqlite3_context*","*","int","*"],["sqlite3_result_double",void 0,"sqlite3_context*","f64"],["sqlite3_result_error",void 0,"sqlite3_context*","string","int"],["sqlite3_result_error_code",void 0,"sqlite3_context*","int"],["sqlite3_result_error_nomem",void 0,"sqlite3_context*"],["sqlite3_result_error_toobig",void 0,"sqlite3_context*"],["sqlite3_result_int",void 0,"sqlite3_context*","int"],["sqlite3_result_null",void 0,"sqlite3_context*"],["sqlite3_result_pointer",void 0,"sqlite3_context*","*","string:static","*"],["sqlite3_result_subtype",void 0,"sqlite3_value*","int"],["sqlite3_result_text",void 0,"sqlite3_context*","string","int","*"],["sqlite3_result_zeroblob",void 0,"sqlite3_context*","int"],["sqlite3_rollback_hook","void*",["sqlite3*",new s.xWrap.FuncPtrAdapter({name:"sqlite3_rollback_hook",signature:"v(p)",contextKey:q=>q[0]}),"*"]],["sqlite3_set_auxdata",void 0,["sqlite3_context*","int","*","*"]],["sqlite3_shutdown",void 0],["sqlite3_sourceid","string"],["sqlite3_sql","string","sqlite3_stmt*"],["sqlite3_status","int","int","*","*","int"],["sqlite3_step","int","sqlite3_stmt*"],["sqlite3_stmt_busy","int","sqlite3_stmt*"],["sqlite3_stmt_readonly","int","sqlite3_stmt*"],["sqlite3_stmt_status","int","sqlite3_stmt*","int","int"],["sqlite3_strglob","int","string","string"],["sqlite3_stricmp","int","string","string"],["sqlite3_strlike","int","string","string","int"],["sqlite3_strnicmp","int","string","string","int"],["sqlite3_table_column_metadata","int","sqlite3*","string","string","string","**","**","*","*","*"],["sqlite3_total_changes","int","sqlite3*"],["sqlite3_trace_v2","int",["sqlite3*","int",new s.xWrap.FuncPtrAdapter({name:"sqlite3_trace_v2::callback",signature:"i(ippp)",contextKey:(q,w)=>q[0]}),"*"]],["sqlite3_txn_state","int",["sqlite3*","string"]],["sqlite3_uri_boolean","int","sqlite3_filename","string","int"],["sqlite3_uri_key","string","sqlite3_filename","int"],["sqlite3_uri_parameter","string","sqlite3_filename","string"],["sqlite3_user_data","void*","sqlite3_context*"],["sqlite3_value_blob","*","sqlite3_value*"],["sqlite3_value_bytes","int","sqlite3_value*"],["sqlite3_value_double","f64","sqlite3_value*"],["sqlite3_value_dup","sqlite3_value*","sqlite3_value*"],["sqlite3_value_free",void 0,"sqlite3_value*"],["sqlite3_value_frombind","int","sqlite3_value*"],["sqlite3_value_int","int","sqlite3_value*"],["sqlite3_value_nochange","int","sqlite3_value*"],["sqlite3_value_numeric_type","int","sqlite3_value*"],["sqlite3_value_pointer","*","sqlite3_value*","string:static"],["sqlite3_value_subtype","int","sqlite3_value*"],["sqlite3_value_text","string","sqlite3_value*"],["sqlite3_value_type","int","sqlite3_value*"],["sqlite3_vfs_find","*","string"],["sqlite3_vfs_register","int","sqlite3_vfs*","int"],["sqlite3_vfs_unregister","int","sqlite3_vfs*"]],s.exports.sqlite3_progress_handler&&s.bindingSignatures.push(["sqlite3_progress_handler",void 0,["sqlite3*","int",new s.xWrap.FuncPtrAdapter({name:"xProgressHandler",signature:"i(p)",bindScope:"context",contextKey:(q,w)=>q[0]}),"*"]]),s.exports.sqlite3_stmt_explain&&s.bindingSignatures.push(["sqlite3_stmt_explain","int","sqlite3_stmt*","int"],["sqlite3_stmt_isexplain","int","sqlite3_stmt*"]),s.exports.sqlite3_set_authorizer&&s.bindingSignatures.push(["sqlite3_set_authorizer","int",["sqlite3*",new s.xWrap.FuncPtrAdapter({name:"sqlite3_set_authorizer::xAuth",signature:"i(pissss)",contextKey:(q,w)=>q[0],callProxy:q=>(w,x,N,O,S,L)=>{try{return N=N&&s.cstrToJs(N),O=O&&s.cstrToJs(O),S=S&&s.cstrToJs(S),L=L&&s.cstrToJs(L),q(w,x,N,O,S,L)||0}catch($){return $.resultCode||r.SQLITE_ERROR}}}),"*"]]),s.bindingSignatures.int64=[["sqlite3_bind_int64","int",["sqlite3_stmt*","int","i64"]],["sqlite3_changes64","i64",["sqlite3*"]],["sqlite3_column_int64","i64",["sqlite3_stmt*","int"]],["sqlite3_deserialize","int","sqlite3*","string","*","i64","i64","int"],["sqlite3_last_insert_rowid","i64",["sqlite3*"]],["sqlite3_malloc64","*","i64"],["sqlite3_msize","i64","*"],["sqlite3_overload_function","int",["sqlite3*","string","int"]],["sqlite3_realloc64","*","*","i64"],["sqlite3_result_int64",void 0,"*","i64"],["sqlite3_result_zeroblob64","int","*","i64"],["sqlite3_serialize","*","sqlite3*","string","*","int"],["sqlite3_set_last_insert_rowid",void 0,["sqlite3*","i64"]],["sqlite3_status64","int","int","*","*","int"],["sqlite3_total_changes64","i64",["sqlite3*"]],["sqlite3_update_hook","*",["sqlite3*",new s.xWrap.FuncPtrAdapter({name:"sqlite3_update_hook",signature:"v(iippj)",contextKey:q=>q[0],callProxy:q=>(w,x,N,O,S)=>{q(w,x,s.cstrToJs(N),s.cstrToJs(O),S)}}),"*"]],["sqlite3_uri_int64","i64",["sqlite3_filename","string","i64"]],["sqlite3_value_int64","i64","sqlite3_value*"]],s.bigIntEnabled&&s.exports.sqlite3_declare_vtab&&s.bindingSignatures.int64.push(["sqlite3_create_module","int",["sqlite3*","string","sqlite3_module*","*"]],["sqlite3_create_module_v2","int",["sqlite3*","string","sqlite3_module*","*","*"]],["sqlite3_declare_vtab","int",["sqlite3*","string:flexible"]],["sqlite3_drop_modules","int",["sqlite3*","**"]],["sqlite3_vtab_collation","string","sqlite3_index_info*","int"],["sqlite3_vtab_distinct","int","sqlite3_index_info*"],["sqlite3_vtab_in","int","sqlite3_index_info*","int","int"],["sqlite3_vtab_in_first","int","sqlite3_value*","**"],["sqlite3_vtab_in_next","int","sqlite3_value*","**"],["sqlite3_vtab_nochange","int","sqlite3_context*"],["sqlite3_vtab_on_conflict","int","sqlite3*"],["sqlite3_vtab_rhs_value","int","sqlite3_index_info*","int","**"]),s.bigIntEnabled&&s.exports.sqlite3_preupdate_hook&&s.bindingSignatures.int64.push(["sqlite3_preupdate_blobwrite","int","sqlite3*"],["sqlite3_preupdate_count","int","sqlite3*"],["sqlite3_preupdate_depth","int","sqlite3*"],["sqlite3_preupdate_hook","*",["sqlite3*",new s.xWrap.FuncPtrAdapter({name:"sqlite3_preupdate_hook",signature:"v(ppippjj)",contextKey:q=>q[0],callProxy:q=>(w,x,N,O,S,L,$)=>{q(w,x,N,s.cstrToJs(O),s.cstrToJs(S),L,$)}}),"*"]],["sqlite3_preupdate_new","int",["sqlite3*","int","**"]],["sqlite3_preupdate_old","int",["sqlite3*","int","**"]]),s.bigIntEnabled&&s.exports.sqlite3changegroup_add&&s.exports.sqlite3session_create&&s.exports.sqlite3_preupdate_hook){const q={signature:"i(ps)",callProxy:w=>(x,N)=>{try{return w(x,s.cstrToJs(N))|0}catch(O){return O.resultCode||r.SQLITE_ERROR}}};s.bindingSignatures.int64.push(["sqlite3changegroup_add","int",["sqlite3_changegroup*","int","void*"]],["sqlite3changegroup_add_strm","int",["sqlite3_changegroup*",new s.xWrap.FuncPtrAdapter({name:"xInput",signature:"i(ppp)",bindScope:"transient"}),"void*"]],["sqlite3changegroup_delete",void 0,["sqlite3_changegroup*"]],["sqlite3changegroup_new","int",["**"]],["sqlite3changegroup_output","int",["sqlite3_changegroup*","int*","**"]],["sqlite3changegroup_output_strm","int",["sqlite3_changegroup*",new s.xWrap.FuncPtrAdapter({name:"xOutput",signature:"i(ppi)",bindScope:"transient"}),"void*"]],["sqlite3changeset_apply","int",["sqlite3*","int","void*",new s.xWrap.FuncPtrAdapter({name:"xFilter",bindScope:"transient",...q}),new s.xWrap.FuncPtrAdapter({name:"xConflict",signature:"i(pip)",bindScope:"transient"}),"void*"]],["sqlite3changeset_apply_strm","int",["sqlite3*",new s.xWrap.FuncPtrAdapter({name:"xInput",signature:"i(ppp)",bindScope:"transient"}),"void*",new s.xWrap.FuncPtrAdapter({name:"xFilter",bindScope:"transient",...q}),new s.xWrap.FuncPtrAdapter({name:"xConflict",signature:"i(pip)",bindScope:"transient"}),"void*"]],["sqlite3changeset_apply_v2","int",["sqlite3*","int","void*",new s.xWrap.FuncPtrAdapter({name:"xFilter",bindScope:"transient",...q}),new s.xWrap.FuncPtrAdapter({name:"xConflict",signature:"i(pip)",bindScope:"transient"}),"void*","**","int*","int"]],["sqlite3changeset_apply_v2_strm","int",["sqlite3*",new s.xWrap.FuncPtrAdapter({name:"xInput",signature:"i(ppp)",bindScope:"transient"}),"void*",new s.xWrap.FuncPtrAdapter({name:"xFilter",bindScope:"transient",...q}),new s.xWrap.FuncPtrAdapter({name:"xConflict",signature:"i(pip)",bindScope:"transient"}),"void*","**","int*","int"]],["sqlite3changeset_concat","int",["int","void*","int","void*","int*","**"]],["sqlite3changeset_concat_strm","int",[new s.xWrap.FuncPtrAdapter({name:"xInputA",signature:"i(ppp)",bindScope:"transient"}),"void*",new s.xWrap.FuncPtrAdapter({name:"xInputB",signature:"i(ppp)",bindScope:"transient"}),"void*",new s.xWrap.FuncPtrAdapter({name:"xOutput",signature:"i(ppi)",bindScope:"transient"}),"void*"]],["sqlite3changeset_conflict","int",["sqlite3_changeset_iter*","int","**"]],["sqlite3changeset_finalize","int",["sqlite3_changeset_iter*"]],["sqlite3changeset_fk_conflicts","int",["sqlite3_changeset_iter*","int*"]],["sqlite3changeset_invert","int",["int","void*","int*","**"]],["sqlite3changeset_invert_strm","int",[new s.xWrap.FuncPtrAdapter({name:"xInput",signature:"i(ppp)",bindScope:"transient"}),"void*",new s.xWrap.FuncPtrAdapter({name:"xOutput",signature:"i(ppi)",bindScope:"transient"}),"void*"]],["sqlite3changeset_new","int",["sqlite3_changeset_iter*","int","**"]],["sqlite3changeset_next","int",["sqlite3_changeset_iter*"]],["sqlite3changeset_old","int",["sqlite3_changeset_iter*","int","**"]],["sqlite3changeset_op","int",["sqlite3_changeset_iter*","**","int*","int*","int*"]],["sqlite3changeset_pk","int",["sqlite3_changeset_iter*","**","int*"]],["sqlite3changeset_start","int",["**","int","*"]],["sqlite3changeset_start_strm","int",["**",new s.xWrap.FuncPtrAdapter({name:"xInput",signature:"i(ppp)",bindScope:"transient"}),"void*"]],["sqlite3changeset_start_v2","int",["**","int","*","int"]],["sqlite3changeset_start_v2_strm","int",["**",new s.xWrap.FuncPtrAdapter({name:"xInput",signature:"i(ppp)",bindScope:"transient"}),"void*","int"]],["sqlite3session_attach","int",["sqlite3_session*","string"]],["sqlite3session_changeset","int",["sqlite3_session*","int*","**"]],["sqlite3session_changeset_size","i64",["sqlite3_session*"]],["sqlite3session_changeset_strm","int",["sqlite3_session*",new s.xWrap.FuncPtrAdapter({name:"xOutput",signature:"i(ppp)",bindScope:"transient"}),"void*"]],["sqlite3session_config","int",["int","void*"]],["sqlite3session_create","int",["sqlite3*","string","**"]],["sqlite3session_diff","int",["sqlite3_session*","string","string","**"]],["sqlite3session_enable","int",["sqlite3_session*","int"]],["sqlite3session_indirect","int",["sqlite3_session*","int"]],["sqlite3session_isempty","int",["sqlite3_session*"]],["sqlite3session_memory_used","i64",["sqlite3_session*"]],["sqlite3session_object_config","int",["sqlite3_session*","int","void*"]],["sqlite3session_patchset","int",["sqlite3_session*","*","**"]],["sqlite3session_patchset_strm","int",["sqlite3_session*",new s.xWrap.FuncPtrAdapter({name:"xOutput",signature:"i(ppp)",bindScope:"transient"}),"void*"]],["sqlite3session_table_filter",void 0,["sqlite3_session*",new s.xWrap.FuncPtrAdapter({name:"xFilter",...q,contextKey:(w,x)=>w[0]}),"*"]])}s.bindingSignatures.wasmInternal=[["sqlite3__wasm_db_reset","int","sqlite3*"],["sqlite3__wasm_db_vfs","sqlite3_vfs*","sqlite3*","string"],["sqlite3__wasm_vfs_create_file","int","sqlite3_vfs*","string","*","int"],["sqlite3__wasm_posix_create_file","int","string","*","int"],["sqlite3__wasm_vfs_unlink","int","sqlite3_vfs*","string"],["sqlite3__wasm_qfmt_token","string:dealloc","string","int"]],t.StructBinder=globalThis.Jaccwabyt({heap:s.heap8u,alloc:s.alloc,dealloc:s.dealloc,bigIntEnabled:s.bigIntEnabled,memberPrefix:"$"}),delete globalThis.Jaccwabyt;{const q=s.xWrap.argAdapter("string");s.xWrap.argAdapter("string:flexible",S=>q(o.flexibleString(S))),s.xWrap.argAdapter("string:static",(function(S){return s.isPtr(S)?S:(S=""+S,this[S]||(this[S]=s.allocCString(S)))}).bind(Object.create(null)));const w=s.xWrap.argAdapter("*"),x=function(){};s.xWrap.argAdapter("sqlite3_filename",w)("sqlite3_context*",w)("sqlite3_value*",w)("void*",w)("sqlite3_changegroup*",w)("sqlite3_changeset_iter*",w)("sqlite3_session*",w)("sqlite3_stmt*",S=>w(S instanceof(t?.oo1?.Stmt||x)?S.pointer:S))("sqlite3*",S=>w(S instanceof(t?.oo1?.DB||x)?S.pointer:S))("sqlite3_vfs*",S=>typeof S=="string"?r.sqlite3_vfs_find(S)||t.SQLite3Error.toss(r.SQLITE_NOTFOUND,"Unknown sqlite3_vfs name:",S):w(S instanceof(r.sqlite3_vfs||x)?S.pointer:S)),s.exports.sqlite3_declare_vtab&&s.xWrap.argAdapter("sqlite3_index_info*",S=>w(S instanceof(r.sqlite3_index_info||x)?S.pointer:S))("sqlite3_module*",S=>w(S instanceof(r.sqlite3_module||x)?S.pointer:S));const N=s.xWrap.resultAdapter("*");s.xWrap.resultAdapter("sqlite3*",N)("sqlite3_context*",N)("sqlite3_stmt*",N)("sqlite3_value*",N)("sqlite3_vfs*",N)("void*",N),s.exports.sqlite3_step.length===0&&(s.xWrap.doArgcCheck=!1,t.config.warn("Disabling sqlite3.wasm.xWrap.doArgcCheck due to environmental quirks."));for(const S of s.bindingSignatures)r[S[0]]=s.xWrap.apply(null,S);for(const S of s.bindingSignatures.wasmInternal)o[S[0]]=s.xWrap.apply(null,S);const O=function(S){return()=>n(S+"() is unavailable due to lack","of BigInt support in this build.")};for(const S of s.bindingSignatures.int64)r[S[0]]=s.bigIntEnabled?s.xWrap.apply(null,S):O(S[0]);if(delete s.bindingSignatures,s.exports.sqlite3__wasm_db_error){const S=s.xWrap("sqlite3__wasm_db_error","int","sqlite3*","int","string");o.sqlite3__wasm_db_error=function(L,$,c){return $ instanceof t.WasmAllocError?($=r.SQLITE_NOMEM,c=0):$ instanceof Error&&(c=c||""+$,$=$.resultCode||r.SQLITE_ERROR),L?S(L,$,c):$}}else o.sqlite3__wasm_db_error=function(S,L,$){return console.warn("sqlite3__wasm_db_error() is not exported.",arguments),L}}{const q=s.xCall("sqlite3__wasm_enum_json");q||n("Maintenance required: increase sqlite3__wasm_enum_json()'s","static buffer size!"),s.ctype=JSON.parse(s.cstrToJs(q));const w=["access","authorizer","blobFinalizers","changeset","config","dataTypes","dbConfig","dbStatus","encodings","fcntl","flock","ioCap","limits","openFlags","prepareFlags","resultCodes","sqlite3Status","stmtStatus","syncFlags","trace","txnState","udfFlags","version"];s.bigIntEnabled&&w.push("serialize","session","vtab");for(const O of w)for(const S of Object.entries(s.ctype[O]))r[S[0]]=S[1];s.functionEntry(r.SQLITE_WASM_DEALLOC)||n("Internal error: cannot resolve exported function","entry SQLITE_WASM_DEALLOC (=="+r.SQLITE_WASM_DEALLOC+").");const x=Object.create(null);for(const O of["resultCodes"])for(const S of Object.entries(s.ctype[O]))x[S[1]]=S[0];r.sqlite3_js_rc_str=O=>x[O];const N=Object.assign(Object.create(null),{WasmTestStruct:!0,sqlite3_kvvfs_methods:!o.isUIThread(),sqlite3_index_info:!s.bigIntEnabled,sqlite3_index_constraint:!s.bigIntEnabled,sqlite3_index_orderby:!s.bigIntEnabled,sqlite3_index_constraint_usage:!s.bigIntEnabled});for(const O of s.ctype.structs)N[O.name]||(r[O.name]=t.StructBinder(O));if(r.sqlite3_index_info){for(const O of["sqlite3_index_constraint","sqlite3_index_orderby","sqlite3_index_constraint_usage"])r.sqlite3_index_info[O]=r[O],delete r[O];r.sqlite3_vtab_config=s.xWrap("sqlite3__wasm_vtab_config","int",["sqlite3*","int","int"])}}const p=(q,w,x)=>o.sqlite3__wasm_db_error(q,r.SQLITE_MISUSE,w+"() requires "+x+" argument"+(x===1?"":"s")+"."),g=q=>o.sqlite3__wasm_db_error(q,r.SQLITE_FORMAT,"SQLITE_UTF8 is the only supported encoding."),P=q=>s.xWrap.argAdapter("sqlite3*")(q),R=q=>s.isPtr(q)?s.cstrToJs(q):q,z=(function(q,w){q=P(q);let x=this.dbMap.get(q);if(w)!x&&w>0&&this.dbMap.set(q,x=Object.create(null));else return this.dbMap.delete(q),x;return x}).bind(Object.assign(Object.create(null),{dbMap:new Map}));z.addCollation=function(q,w){const x=z(q,1);x.collation||(x.collation=new Set),x.collation.add(R(w).toLowerCase())},z._addUDF=function(q,w,x,N){w=R(w).toLowerCase();let O=N.get(w);O||N.set(w,O=new Set),O.add(x<0?-1:x)},z.addFunction=function(q,w,x){const N=z(q,1);N.udf||(N.udf=new Map),this._addUDF(q,w,x,N.udf)},s.exports.sqlite3_create_window_function&&(z.addWindowFunc=function(q,w,x){const N=z(q,1);N.wudf||(N.wudf=new Map),this._addUDF(q,w,x,N.wudf)}),z.cleanup=function(q){q=P(q);const w=[q];for(const O of["sqlite3_busy_handler","sqlite3_commit_hook","sqlite3_preupdate_hook","sqlite3_progress_handler","sqlite3_rollback_hook","sqlite3_set_authorizer","sqlite3_trace_v2","sqlite3_update_hook"]){const S=s.exports[O];if(S){w.length=S.length;try{r[O](...w)}catch(L){t.config.warn("close-time call of",O+"(",w,") threw:",L)}}}const x=z(q,0);if(!x)return;if(x.collation){for(const O of x.collation)try{r.sqlite3_create_collation_v2(q,O,r.SQLITE_UTF8,0,0,0)}catch{}delete x.collation}let N;for(N=0;N<2;++N){const O=N?x.wudf:x.udf;if(!O)continue;const S=N?r.sqlite3_create_window_function:r.sqlite3_create_function_v2;for(const L of O){const $=L[0],c=L[1],d=[q,$,0,r.SQLITE_UTF8,0,0,0,0,0];N&&d.push(0);for(const y of c)try{d[2]=y,S.apply(null,d)}catch{}c.clear()}O.clear()}delete x.udf,delete x.wudf};{const q=s.xWrap("sqlite3_close_v2","int","sqlite3*");r.sqlite3_close_v2=function(w){if(arguments.length!==1)return p(w,"sqlite3_close_v2",1);if(w)try{z.cleanup(w)}catch{}return q(w)}}if(r.sqlite3session_create){const q=s.xWrap("sqlite3session_delete",void 0,["sqlite3_session*"]);r.sqlite3session_delete=function(w){if(arguments.length!==1)return p(pDb,"sqlite3session_delete",1);w&&r.sqlite3session_table_filter(w,0,0),q(w)}}{const q=(x,N)=>"argv["+N+"]:"+x[0]+":"+s.cstrToJs(x[1]).toLowerCase(),w=s.xWrap("sqlite3_create_collation_v2","int",["sqlite3*","string","int","*",new s.xWrap.FuncPtrAdapter({name:"xCompare",signature:"i(pipip)",contextKey:q}),new s.xWrap.FuncPtrAdapter({name:"xDestroy",signature:"v(p)",contextKey:q})]);r.sqlite3_create_collation_v2=function(x,N,O,S,L,$){if(arguments.length!==6)return p(x,"sqlite3_create_collation_v2",6);if((O&15)===0)O|=r.SQLITE_UTF8;else if(r.SQLITE_UTF8!==(O&15))return g(x);try{const c=w(x,N,O,S,L,$);return c===0&&L instanceof Function&&z.addCollation(x,N),c}catch(c){return o.sqlite3__wasm_db_error(x,c)}},r.sqlite3_create_collation=(x,N,O,S,L)=>arguments.length===5?r.sqlite3_create_collation_v2(x,N,O,S,L,0):p(x,"sqlite3_create_collation",5)}{const q=function(O,S){return O[0]+":"+(O[2]<0?-1:O[2])+":"+S+":"+s.cstrToJs(O[1]).toLowerCase()},w=Object.assign(Object.create(null),{xInverseAndStep:{signature:"v(pip)",contextKey:q,callProxy:O=>(S,L,$)=>{try{O(S,...r.sqlite3_values_to_js(L,$))}catch(c){r.sqlite3_result_error_js(S,c)}}},xFinalAndValue:{signature:"v(p)",contextKey:q,callProxy:O=>S=>{try{r.sqlite3_result_js(S,O(S))}catch(L){r.sqlite3_result_error_js(S,L)}}},xFunc:{signature:"v(pip)",contextKey:q,callProxy:O=>(S,L,$)=>{try{r.sqlite3_result_js(S,O(S,...r.sqlite3_values_to_js(L,$)))}catch(c){r.sqlite3_result_error_js(S,c)}}},xDestroy:{signature:"v(p)",contextKey:q,callProxy:O=>S=>{try{O(S)}catch(L){console.error("UDF xDestroy method threw:",L)}}}}),x=s.xWrap("sqlite3_create_function_v2","int",["sqlite3*","string","int","int","*",new s.xWrap.FuncPtrAdapter({name:"xFunc",...w.xFunc}),new s.xWrap.FuncPtrAdapter({name:"xStep",...w.xInverseAndStep}),new s.xWrap.FuncPtrAdapter({name:"xFinal",...w.xFinalAndValue}),new s.xWrap.FuncPtrAdapter({name:"xDestroy",...w.xDestroy})]),N=s.exports.sqlite3_create_window_function?s.xWrap("sqlite3_create_window_function","int",["sqlite3*","string","int","int","*",new s.xWrap.FuncPtrAdapter({name:"xStep",...w.xInverseAndStep}),new s.xWrap.FuncPtrAdapter({name:"xFinal",...w.xFinalAndValue}),new s.xWrap.FuncPtrAdapter({name:"xValue",...w.xFinalAndValue}),new s.xWrap.FuncPtrAdapter({name:"xInverse",...w.xInverseAndStep}),new s.xWrap.FuncPtrAdapter({name:"xDestroy",...w.xDestroy})]):void 0;r.sqlite3_create_function_v2=function O(S,L,$,c,d,y,B,f,h){if(O.length!==arguments.length)return p(S,"sqlite3_create_function_v2",O.length);if((c&15)===0)c|=r.SQLITE_UTF8;else if(r.SQLITE_UTF8!==(c&15))return g(S);try{const l=x(S,L,$,c,d,y,B,f,h);return l===0&&(y instanceof Function||B instanceof Function||f instanceof Function||h instanceof Function)&&z.addFunction(S,L,$),l}catch(l){return console.error("sqlite3_create_function_v2() setup threw:",l),o.sqlite3__wasm_db_error(S,l,"Creation of UDF threw: "+l)}},r.sqlite3_create_function=function O(S,L,$,c,d,y,B,f){return O.length===arguments.length?r.sqlite3_create_function_v2(S,L,$,c,d,y,B,f,0):p(S,"sqlite3_create_function",O.length)},N?r.sqlite3_create_window_function=function O(S,L,$,c,d,y,B,f,h,l){if(O.length!==arguments.length)return p(S,"sqlite3_create_window_function",O.length);if((c&15)===0)c|=r.SQLITE_UTF8;else if(r.SQLITE_UTF8!==(c&15))return g(S);try{const _=N(S,L,$,c,d,y,B,f,h,l);return _===0&&(y instanceof Function||B instanceof Function||f instanceof Function||h instanceof Function||l instanceof Function)&&z.addWindowFunc(S,L,$),_}catch(_){return console.error("sqlite3_create_window_function() setup threw:",_),o.sqlite3__wasm_db_error(S,_,"Creation of UDF threw: "+_)}}:delete r.sqlite3_create_window_function,r.sqlite3_create_function_v2.udfSetResult=r.sqlite3_create_function.udfSetResult=r.sqlite3_result_js,r.sqlite3_create_window_function&&(r.sqlite3_create_window_function.udfSetResult=r.sqlite3_result_js),r.sqlite3_create_function_v2.udfConvertArgs=r.sqlite3_create_function.udfConvertArgs=r.sqlite3_values_to_js,r.sqlite3_create_window_function&&(r.sqlite3_create_window_function.udfConvertArgs=r.sqlite3_values_to_js),r.sqlite3_create_function_v2.udfSetError=r.sqlite3_create_function.udfSetError=r.sqlite3_result_error_js,r.sqlite3_create_window_function&&(r.sqlite3_create_window_function.udfSetError=r.sqlite3_result_error_js)}{const q=(x,N)=>(typeof x=="string"?N=-1:o.isSQLableTypedArray(x)?(N=x.byteLength,x=o.typedArrayToString(x instanceof ArrayBuffer?new Uint8Array(x):x)):Array.isArray(x)&&(x=x.join(""),N=-1),[x,N]),w={basic:s.xWrap("sqlite3_prepare_v3","int",["sqlite3*","string","int","int","**","**"]),full:s.xWrap("sqlite3_prepare_v3","int",["sqlite3*","*","int","int","**","**"])};r.sqlite3_prepare_v3=function x(N,O,S,L,$,c){if(x.length!==arguments.length)return p(N,"sqlite3_prepare_v3",x.length);const[d,y]=q(O,S);switch(typeof d){case"string":return w.basic(N,d,y,L,$,null);case"number":return w.full(N,d,y,L,$,c);default:return o.sqlite3__wasm_db_error(N,r.SQLITE_MISUSE,"Invalid SQL argument type for sqlite3_prepare_v2/v3().")}},r.sqlite3_prepare_v2=function x(N,O,S,L,$){return x.length===arguments.length?r.sqlite3_prepare_v3(N,O,S,0,L,$):p(N,"sqlite3_prepare_v2",x.length)}}{const q=s.xWrap("sqlite3_bind_text","int",["sqlite3_stmt*","int","string","int","*"]),w=s.xWrap("sqlite3_bind_blob","int",["sqlite3_stmt*","int","*","int","*"]);r.sqlite3_bind_text=function x(N,O,S,L,$){if(x.length!==arguments.length)return p(r.sqlite3_db_handle(N),"sqlite3_bind_text",x.length);if(s.isPtr(S)||S===null)return q(N,O,S,L,$);S instanceof ArrayBuffer?S=new Uint8Array(S):Array.isArray(pMem)&&(S=pMem.join(""));let c,d;try{if(o.isSQLableTypedArray(S))c=s.allocFromTypedArray(S),d=S.byteLength;else if(typeof S=="string")[c,d]=s.allocCString(S);else return o.sqlite3__wasm_db_error(r.sqlite3_db_handle(N),r.SQLITE_MISUSE,"Invalid 3rd argument type for sqlite3_bind_text().");return q(N,O,c,d,r.SQLITE_WASM_DEALLOC)}catch(y){return s.dealloc(c),o.sqlite3__wasm_db_error(r.sqlite3_db_handle(N),y)}},r.sqlite3_bind_blob=function x(N,O,S,L,$){if(x.length!==arguments.length)return p(r.sqlite3_db_handle(N),"sqlite3_bind_blob",x.length);if(s.isPtr(S)||S===null)return w(N,O,S,L,$);S instanceof ArrayBuffer?S=new Uint8Array(S):Array.isArray(S)&&(S=S.join(""));let c,d;try{if(o.isBindableTypedArray(S))c=s.allocFromTypedArray(S),d=L>=0?L:S.byteLength;else if(typeof S=="string")[c,d]=s.allocCString(S);else return o.sqlite3__wasm_db_error(r.sqlite3_db_handle(N),r.SQLITE_MISUSE,"Invalid 3rd argument type for sqlite3_bind_blob().");return w(N,O,c,d,r.SQLITE_WASM_DEALLOC)}catch(y){return s.dealloc(c),o.sqlite3__wasm_db_error(r.sqlite3_db_handle(N),y)}}}r.sqlite3_config=function(q,...w){if(arguments.length<2)return r.SQLITE_MISUSE;switch(q){case r.SQLITE_CONFIG_COVERING_INDEX_SCAN:case r.SQLITE_CONFIG_MEMSTATUS:case r.SQLITE_CONFIG_SMALL_MALLOC:case r.SQLITE_CONFIG_SORTERREF_SIZE:case r.SQLITE_CONFIG_STMTJRNL_SPILL:case r.SQLITE_CONFIG_URI:return s.exports.sqlite3__wasm_config_i(q,w[0]);case r.SQLITE_CONFIG_LOOKASIDE:return s.exports.sqlite3__wasm_config_ii(q,w[0],w[1]);case r.SQLITE_CONFIG_MEMDB_MAXSIZE:return s.exports.sqlite3__wasm_config_j(q,w[0]);case r.SQLITE_CONFIG_GETMALLOC:case r.SQLITE_CONFIG_GETMUTEX:case r.SQLITE_CONFIG_GETPCACHE2:case r.SQLITE_CONFIG_GETPCACHE:case r.SQLITE_CONFIG_HEAP:case r.SQLITE_CONFIG_LOG:case r.SQLITE_CONFIG_MALLOC:case r.SQLITE_CONFIG_MMAP_SIZE:case r.SQLITE_CONFIG_MULTITHREAD:case r.SQLITE_CONFIG_MUTEX:case r.SQLITE_CONFIG_PAGECACHE:case r.SQLITE_CONFIG_PCACHE2:case r.SQLITE_CONFIG_PCACHE:case r.SQLITE_CONFIG_PCACHE_HDRSZ:case r.SQLITE_CONFIG_PMASZ:case r.SQLITE_CONFIG_SERIALIZED:case r.SQLITE_CONFIG_SINGLETHREAD:case r.SQLITE_CONFIG_SQLLOG:case r.SQLITE_CONFIG_WIN32_HEAPSIZE:default:return r.SQLITE_NOTFOUND}};{const q=new Set;r.sqlite3_auto_extension=function(w){if(w instanceof Function)w=s.installFunction("i(ppp)",w);else if(arguments.length!==1||!s.isPtr(w))return r.SQLITE_MISUSE;const x=s.exports.sqlite3_auto_extension(w);return w!==arguments[0]&&(x===0?q.add(w):s.uninstallFunction(w)),x},r.sqlite3_cancel_auto_extension=function(w){return!w||arguments.length!==1||!s.isPtr(w)?0:s.exports.sqlite3_cancel_auto_extension(w)},r.sqlite3_reset_auto_extension=function(){s.exports.sqlite3_reset_auto_extension();for(const w of q)s.uninstallFunction(w);q.clear()}}const Q=r.sqlite3_vfs_find("kvvfs");if(Q)if(o.isUIThread()){const q=new r.sqlite3_kvvfs_methods(s.exports.sqlite3__wasm_kvvfs_methods());delete r.sqlite3_kvvfs_methods;const w=s.exports.sqlite3__wasm_kvvfsMakeKeyOnPstack,x=s.pstack,N=S=>s.peek(S)===115?sessionStorage:localStorage,O={xRead:(S,L,$,c)=>{const d=x.pointer,y=s.scopedAllocPush();try{const B=w(S,L);if(!B)return-3;const f=s.cstrToJs(B),h=N(S).getItem(f);if(!h)return-1;const l=h.length;if(c<=0)return l;if(c===1)return s.poke($,0),l;const _=s.scopedAllocCString(h);return c>l+1&&(c=l+1),s.heap8u().copyWithin($,_,_+c-1),s.poke($+c-1,0),c-1}catch(B){return console.error("kvstorageRead()",B),-2}finally{x.restore(d),s.scopedAllocPop(y)}},xWrite:(S,L,$)=>{const c=x.pointer;try{const d=w(S,L);if(!d)return 1;const y=s.cstrToJs(d);return N(S).setItem(y,s.cstrToJs($)),0}catch(d){return console.error("kvstorageWrite()",d),r.SQLITE_IOERR}finally{x.restore(c)}},xDelete:(S,L)=>{const $=x.pointer;try{const c=w(S,L);return c?(N(S).removeItem(s.cstrToJs(c)),0):1}catch(c){return console.error("kvstorageDelete()",c),r.SQLITE_IOERR}finally{x.restore($)}}};for(const S of Object.keys(O))q[q.memberKey(S)]=s.installFunction(q.memberSignature(S),O[S])}else r.sqlite3_vfs_unregister(Q);s.xWrap.FuncPtrAdapter.warnOnUse=!0;const T=t.StructBinder,A=function q(w,x,N,O=q.installMethodArgcCheck){if(w instanceof T.StructType?!(N instanceof Function)&&!s.isPtr(N)&&n("Usage error: expecting a Function or WASM pointer to one."):n("Usage error: target object is-not-a StructType."),arguments.length===1)return(c,d)=>q(w,c,d,O);q.argcProxy||(q.argcProxy=function(c,d,y,B){return function(...f){return y.length!==arguments.length&&n("Argument mismatch for",c.structInfo.name+"::"+d+": Native signature is:",B),y.apply(this,f)}},q.removeFuncList=function(){this.ondispose.__removeFuncList&&(this.ondispose.__removeFuncList.forEach((c,d)=>{if(typeof c=="number")try{s.uninstallFunction(c)}catch{}}),delete this.ondispose.__removeFuncList)});const S=w.memberSignature(x);S.length<2&&n("Member",x,"does not have a function pointer signature:",S);const L=w.memberKey(x),$=O&&!s.isPtr(N)?q.argcProxy(w,L,N,S):N;if(s.isPtr($))$&&!s.functionEntry($)&&n("Pointer",$,"is not a WASM function table entry."),w[L]=$;else{const c=s.installFunction($,w.memberSignature(x,!0));w[L]=c,(!w.ondispose||!w.ondispose.__removeFuncList)&&(w.addOnDispose("ondispose.__removeFuncList handler",q.removeFuncList),w.ondispose.__removeFuncList=[]),w.ondispose.__removeFuncList.push(L,c)}return(c,d)=>q(w,c,d,O)};A.installMethodArgcCheck=!1;const D=function(q,w,x=A.installMethodArgcCheck){const N=new Map;for(const O of Object.keys(w)){const S=w[O],L=N.get(S);if(L){const $=q.memberKey(O);q[$]=q[q.memberKey(L)]}else A(q,O,S,x),N.set(S,O)}return q};T.StructType.prototype.installMethod=function(w,x,N=A.installMethodArgcCheck){return arguments.length<3&&w&&typeof w=="object"?D(this,...arguments):A(this,...arguments)},T.StructType.prototype.installMethods=function(q,w=A.installMethodArgcCheck){return D(this,q,w)}}),globalThis.sqlite3ApiBootstrap.initializers.push(function(t){t.version={libVersion:"3.50.4",libVersionNumber:3050004,sourceId:"2025-07-30 19:33:53 4d8adfb30e03f9cf27f800a2c1ba3c48fb4ca1b08b0f5ed59a4d5ecbf45e20a3",downloadVersion:3500400}}),globalThis.sqlite3ApiBootstrap.initializers.push(function(t){const n=(...f)=>{throw new t.SQLite3Error(...f)},r=t.capi,s=t.wasm,o=t.util,p=new WeakMap,g=new WeakMap,P=(f,h,l)=>{const _=Object.getOwnPropertyDescriptor(f,h);return _?_.value:l},R=function(f,h){return h&&(f instanceof A&&(f=f.pointer),n(h,"sqlite3 result code",h+":",f?r.sqlite3_errmsg(f):r.sqlite3_errstr(h))),arguments[0]},z=s.installFunction("i(ippp)",(function(f,h,l,_){r.SQLITE_TRACE_STMT===f&&console.log("SQL TRACE #"+ ++this.counter+" via sqlite3@"+h+":",s.cstrToJs(_))}).bind({counter:0})),Q=Object.create(null),T=function f(...h){if(!f._name2vfs){f._name2vfs=Object.create(null);const j=typeof importScripts=="function"?b=>n("The VFS for",b,"is only available in the main window thread."):!1;f._name2vfs[":localStorage:"]={vfs:"kvvfs",filename:j||(()=>"local")},f._name2vfs[":sessionStorage:"]={vfs:"kvvfs",filename:j||(()=>"session")}}const l=f.normalizeArgs(...h);let _=l.filename,u=l.vfs,I=l.flags;(typeof _!="string"&&typeof _!="number"||typeof I!="string"||u&&typeof u!="string"&&typeof u!="number")&&(t.config.error("Invalid DB ctor args",l,arguments),n("Invalid arguments for DB constructor."));let U=typeof _=="number"?s.cstrToJs(_):_;const ee=f._name2vfs[U];ee&&(u=ee.vfs,_=U=ee.filename(U));let ne,se=0;I.indexOf("c")>=0&&(se|=r.SQLITE_OPEN_CREATE|r.SQLITE_OPEN_READWRITE),I.indexOf("w")>=0&&(se|=r.SQLITE_OPEN_READWRITE),se===0&&(se|=r.SQLITE_OPEN_READONLY),se|=r.SQLITE_OPEN_EXRESCODE;const ie=s.pstack.pointer;try{const j=s.pstack.allocPtr();let b=r.sqlite3_open_v2(_,j,se,u||0);ne=s.peekPtr(j),R(ne,b),r.sqlite3_extended_result_codes(ne,1),I.indexOf("t")>=0&&r.sqlite3_trace_v2(ne,r.SQLITE_TRACE_STMT,z,ne)}catch(j){throw ne&&r.sqlite3_close_v2(ne),j}finally{s.pstack.restore(ie)}this.filename=U,p.set(this,ne),g.set(this,Object.create(null));try{const j=r.sqlite3_js_db_vfs(ne)||n("Internal error: cannot get VFS for new db handle."),b=Q[j];b&&(b instanceof Function?b(this,t):R(ne,r.sqlite3_exec(ne,b,0,0,0)))}catch(j){throw this.close(),j}};T.setVfsPostOpenCallback=function(f,h){h instanceof Function||n("dbCtorHelper.setVfsPostOpenCallback() should not be used with a non-function argument.",arguments),Q[f]=h},T.normalizeArgs=function(f=":memory:",h="c",l=null){const _={};return arguments.length===1&&arguments[0]&&typeof arguments[0]=="object"?(Object.assign(_,arguments[0]),_.flags===void 0&&(_.flags="c"),_.vfs===void 0&&(_.vfs=null),_.filename===void 0&&(_.filename=":memory:")):(_.filename=f,_.flags=h,_.vfs=l),_};const A=function(...f){T.apply(this,f)};A.dbCtorHelper=T;const D={null:1,number:2,string:3,boolean:4,blob:5};D.undefined==D.null,s.bigIntEnabled&&(D.bigint=D.number);const q=function(){D!==arguments[2]&&n(r.SQLITE_MISUSE,"Do not call the Stmt constructor directly. Use DB.prepare()."),this.db=arguments[0],p.set(this,arguments[1]),this.parameterCount=r.sqlite3_bind_parameter_count(this.pointer)},w=function(f){return f.pointer||n("DB has been closed."),f},x=function(f,h){return(h!==(h|0)||h<0||h>=f.columnCount)&&n("Column index",h,"is out of range."),f},N=function(f,h){const l=Object.create(null);switch(l.opt=Object.create(null),h.length){case 1:typeof h[0]=="string"||o.isSQLableTypedArray(h[0])||Array.isArray(h[0])?l.sql=h[0]:h[0]&&typeof h[0]=="object"&&(l.opt=h[0],l.sql=l.opt.sql);break;case 2:l.sql=h[0],l.opt=h[1];break;default:n("Invalid argument count for exec().")}l.sql=o.flexibleString(l.sql),typeof l.sql!="string"&&n("Missing SQL argument or unsupported SQL value type.");const _=l.opt;switch(_.returnValue){case"resultRows":_.resultRows||(_.resultRows=[]),l.returnVal=()=>_.resultRows;break;case"saveSql":_.saveSql||(_.saveSql=[]),l.returnVal=()=>_.saveSql;break;case void 0:case"this":l.returnVal=()=>f;break;default:n("Invalid returnValue value:",_.returnValue)}if(!_.callback&&!_.returnValue&&_.rowMode!==void 0&&(_.resultRows||(_.resultRows=[]),l.returnVal=()=>_.resultRows),_.callback||_.resultRows)switch(_.rowMode===void 0?"array":_.rowMode){case"object":l.cbArg=(u,I)=>{I.columnNames||(I.columnNames=u.getColumnNames([]));const U=u.get([]),ee=Object.create(null);for(const ne in I.columnNames)ee[I.columnNames[ne]]=U[ne];return ee};break;case"array":l.cbArg=u=>u.get([]);break;case"stmt":Array.isArray(_.resultRows)&&n("exec(): invalid rowMode for a resultRows array: must","be one of 'array', 'object',","a result column number, or column name reference."),l.cbArg=u=>u;break;default:if(o.isInt32(_.rowMode)){l.cbArg=u=>u.get(_.rowMode);break}else if(typeof _.rowMode=="string"&&_.rowMode.length>1&&_.rowMode[0]==="$"){const u=_.rowMode.substr(1);l.cbArg=I=>{const U=I.get(Object.create(null))[u];return U===void 0?n(r.SQLITE_NOTFOUND,"exec(): unknown result column:",u):U};break}n("Invalid rowMode:",_.rowMode)}return l},O=(f,h,l,..._)=>{const u=f.prepare(h);try{const I=u.bind(l).step()?u.get(..._):void 0;return u.reset(),I}finally{u.finalize()}},S=(f,h,l,_)=>f.exec({sql:h,bind:l,rowMode:_,returnValue:"resultRows"});A.checkRc=(f,h)=>R(f,h),A.prototype={isOpen:function(){return!!this.pointer},affirmOpen:function(){return w(this)},close:function(){if(this.pointer){if(this.onclose&&this.onclose.before instanceof Function)try{this.onclose.before(this)}catch{}const f=this.pointer;if(Object.keys(g.get(this)).forEach((h,l)=>{if(l&&l.pointer)try{l.finalize()}catch{}}),p.delete(this),g.delete(this),r.sqlite3_close_v2(f),this.onclose&&this.onclose.after instanceof Function)try{this.onclose.after(this)}catch{}delete this.filename}},changes:function(f=!1,h=!1){const l=w(this).pointer;return f?h?r.sqlite3_total_changes64(l):r.sqlite3_total_changes(l):h?r.sqlite3_changes64(l):r.sqlite3_changes(l)},dbFilename:function(f="main"){return r.sqlite3_db_filename(w(this).pointer,f)},dbName:function(f=0){return r.sqlite3_db_name(w(this).pointer,f)},dbVfsName:function(f=0){let h;const l=r.sqlite3_js_db_vfs(w(this).pointer,f);if(l){const _=new r.sqlite3_vfs(l);try{h=s.cstrToJs(_.$zName)}finally{_.dispose()}}return h},prepare:function(f){w(this);const h=s.pstack.pointer;let l,_;try{l=s.pstack.alloc(8),A.checkRc(this,r.sqlite3_prepare_v2(this.pointer,f,-1,l,null)),_=s.peekPtr(l)}finally{s.pstack.restore(h)}_||n("Cannot prepare empty SQL.");const u=new q(this,_,D);return g.get(this)[_]=u,u},exec:function(){w(this);const f=N(this,arguments);if(!f.sql)return n("exec() requires an SQL string.");const h=f.opt,l=h.callback,_=Array.isArray(h.resultRows)?h.resultRows:void 0;let u,I=h.bind,U=!!(f.cbArg||h.columnNames||_);const ee=s.scopedAllocPush(),ne=Array.isArray(h.saveSql)?h.saveSql:void 0;try{const se=o.isSQLableTypedArray(f.sql);let ie=se?f.sql.byteLength:s.jstrlen(f.sql);const j=s.scopedAlloc(2*s.ptrSizeof+(ie+1)),b=j+s.ptrSizeof;let k=b+s.ptrSizeof;const W=k+ie;for(se?s.heap8().set(f.sql,k):s.jstrcpy(f.sql,s.heap8(),k,ie,!1),s.poke(k+ie,0);k&&s.peek(k,"i8");){s.pokePtr([j,b],0),A.checkRc(this,r.sqlite3_prepare_v3(this.pointer,k,ie,0,j,b));const H=s.peekPtr(j);if(k=s.peekPtr(b),ie=W-k,!!H){if(ne&&ne.push(r.sqlite3_sql(H).trim()),u=new q(this,H,D),I&&u.parameterCount&&(u.bind(I),I=null),U&&u.columnCount){let Z=Array.isArray(h.columnNames)?0:1;if(U=!1,f.cbArg||_){const E=Object.create(null);for(;u.step();u._lockedByExec=!1){Z++===0&&u.getColumnNames(E.columnNames=h.columnNames||[]),u._lockedByExec=!0;const C=f.cbArg(u,E);if(_&&_.push(C),l&&l.call(h,C,u)===!1)break}u._lockedByExec=!1}Z===0&&u.getColumnNames(h.columnNames)}else u.step();u.reset().finalize(),u=null}}}finally{s.scopedAllocPop(ee),u&&(delete u._lockedByExec,u.finalize())}return f.returnVal()},createFunction:function(h,l,_){const u=E=>E instanceof Function;switch(arguments.length){case 1:_=h,h=_.name,l=_.xFunc||0;break;case 2:u(l)||(_=l,l=_.xFunc||0);break}_||(_={}),typeof h!="string"&&n("Invalid arguments: missing function name.");let I=_.xStep||0,U=_.xFinal||0;const ee=_.xValue||0,ne=_.xInverse||0;let se;u(l)?(se=!1,(u(I)||u(U))&&n("Ambiguous arguments: scalar or aggregate?"),I=U=null):u(I)?(u(U)||n("Missing xFinal() callback for aggregate or window UDF."),l=null):u(U)?n("Missing xStep() callback for aggregate or window UDF."):n("Missing function-type properties."),se===!1?(u(ee)||u(ne))&&n("xValue and xInverse are not permitted for non-window UDFs."):u(ee)?(u(ne)||n("xInverse must be provided if xValue is."),se=!0):u(ne)&&n("xValue must be provided if xInverse is.");const ie=_.pApp;ie!=null&&(typeof ie!="number"||!o.isInt32(ie))&&n("Invalid value for pApp property. Must be a legal WASM pointer value.");const j=_.xDestroy||0;j&&!u(j)&&n("xDestroy property must be a function.");let b=0;P(_,"deterministic")&&(b|=r.SQLITE_DETERMINISTIC),P(_,"directOnly")&&(b|=r.SQLITE_DIRECTONLY),P(_,"innocuous")&&(b|=r.SQLITE_INNOCUOUS),h=h.toLowerCase();const k=l||I,W=P(_,"arity"),H=typeof W=="number"?W:k.length?k.length-1:0;let Z;return se?Z=r.sqlite3_create_window_function(this.pointer,h,H,r.SQLITE_UTF8|b,ie||0,I,U,ee,ne,j):Z=r.sqlite3_create_function_v2(this.pointer,h,H,r.SQLITE_UTF8|b,ie||0,l,I,U,j),A.checkRc(this,Z),this},selectValue:function(f,h,l){return O(this,f,h,0,l)},selectValues:function(f,h,l){const _=this.prepare(f),u=[];try{for(_.bind(h);_.step();)u.push(_.get(0,l));_.reset()}finally{_.finalize()}return u},selectArray:function(f,h){return O(this,f,h,[])},selectObject:function(f,h){return O(this,f,h,{})},selectArrays:function(f,h){return S(this,f,h,"array")},selectObjects:function(f,h){return S(this,f,h,"object")},openStatementCount:function(){return this.pointer?Object.keys(g.get(this)).length:0},transaction:function(f){let h="BEGIN";arguments.length>1&&(/[^a-zA-Z]/.test(arguments[0])&&n(r.SQLITE_MISUSE,"Invalid argument for BEGIN qualifier."),h+=" "+arguments[0],f=arguments[1]),w(this).exec(h);try{const l=f(this);return this.exec("COMMIT"),l}catch(l){throw this.exec("ROLLBACK"),l}},savepoint:function(f){w(this).exec("SAVEPOINT oo1");try{const h=f(this);return this.exec("RELEASE oo1"),h}catch(h){throw this.exec("ROLLBACK to SAVEPOINT oo1; RELEASE SAVEPOINT oo1"),h}},checkRc:function(f){return R(this,f)}};const L=function(f){return f.pointer||n("Stmt has been closed."),f},$=function(f){let h=D[f==null?"null":typeof f];switch(h){case D.boolean:case D.null:case D.number:case D.string:return h;case D.bigint:if(s.bigIntEnabled)return h;default:return o.isBindableTypedArray(f)?D.blob:void 0}},c=function(f){return $(f)||n("Unsupported bind() argument type:",typeof f)},d=function(f,h){const l=typeof h=="number"?h:r.sqlite3_bind_parameter_index(f.pointer,h);return l===0||!o.isInt32(l)?n("Invalid bind() parameter name: "+h):(l<1||l>f.parameterCount)&&n("Bind index",h,"is out of range."),l},y=function(f,h){return f._lockedByExec&&n("Operation is illegal when statement is locked:",h),f},B=function f(h,l,_,u){y(L(h),"bind()"),f._||(f._tooBigInt=U=>n("BigInt value is too big to store without precision loss:",U),f._={string:function(U,ee,ne,se){const[ie,j]=s.allocCString(ne,!0);return(se?r.sqlite3_bind_blob:r.sqlite3_bind_text)(U.pointer,ee,ie,j,r.SQLITE_WASM_DEALLOC)}}),c(u),l=d(h,l);let I=0;switch(u==null?D.null:_){case D.null:I=r.sqlite3_bind_null(h.pointer,l);break;case D.string:I=f._.string(h,l,u,!1);break;case D.number:{let U;o.isInt32(u)?U=r.sqlite3_bind_int:typeof u=="bigint"?o.bigIntFits64(u)?s.bigIntEnabled?U=r.sqlite3_bind_int64:o.bigIntFitsDouble(u)?(u=Number(u),U=r.sqlite3_bind_double):f._tooBigInt(u):f._tooBigInt(u):(u=Number(u),s.bigIntEnabled&&Number.isInteger(u)?U=r.sqlite3_bind_int64:U=r.sqlite3_bind_double),I=U(h.pointer,l,u);break}case D.boolean:I=r.sqlite3_bind_int(h.pointer,l,u?1:0);break;case D.blob:{if(typeof u=="string"){I=f._.string(h,l,u,!0);break}else u instanceof ArrayBuffer?u=new Uint8Array(u):o.isBindableTypedArray(u)||n("Binding a value as a blob requires","that it be a string, Uint8Array, Int8Array, or ArrayBuffer.");const U=s.alloc(u.byteLength||1);s.heap8().set(u.byteLength?u:[0],U),I=r.sqlite3_bind_blob(h.pointer,l,U,u.byteLength,r.SQLITE_WASM_DEALLOC);break}default:t.config.warn("Unsupported bind() argument type:",u),n("Unsupported bind() argument type: "+typeof u)}return I&&A.checkRc(h.db.pointer,I),h._mayGet=!1,h};q.prototype={finalize:function(){if(this.pointer){y(this,"finalize()");const f=r.sqlite3_finalize(this.pointer);return delete g.get(this.db)[this.pointer],p.delete(this),delete this._mayGet,delete this.parameterCount,delete this._lockedByExec,delete this.db,f}},clearBindings:function(){return y(L(this),"clearBindings()"),r.sqlite3_clear_bindings(this.pointer),this._mayGet=!1,this},reset:function(f){y(this,"reset()"),f&&this.clearBindings();const h=r.sqlite3_reset(L(this).pointer);return this._mayGet=!1,R(this.db,h),this},bind:function(){L(this);let f,h;switch(arguments.length){case 1:f=1,h=arguments[0];break;case 2:f=arguments[0],h=arguments[1];break;default:n("Invalid bind() arguments.")}return h===void 0?this:(this.parameterCount||n("This statement has no bindable parameters."),this._mayGet=!1,h===null?B(this,f,D.null,h):Array.isArray(h)?(arguments.length!==1&&n("When binding an array, an index argument is not permitted."),h.forEach((l,_)=>B(this,_+1,c(l),l)),this):(h instanceof ArrayBuffer&&(h=new Uint8Array(h)),typeof h=="object"&&!o.isBindableTypedArray(h)?(arguments.length!==1&&n("When binding an object, an index argument is not permitted."),Object.keys(h).forEach(l=>B(this,l,c(h[l]),h[l])),this):B(this,f,c(h),h)))},bindAsBlob:function(f,h){L(this),arguments.length===1&&(h=f,f=1);const l=c(h);return D.string!==l&&D.blob!==l&&D.null!==l&&n("Invalid value type for bindAsBlob()"),B(this,f,D.blob,h)},step:function(){y(this,"step()");const f=r.sqlite3_step(L(this).pointer);switch(f){case r.SQLITE_DONE:return this._mayGet=!1;case r.SQLITE_ROW:return this._mayGet=!0;default:this._mayGet=!1,t.config.warn("sqlite3_step() rc=",f,r.sqlite3_js_rc_str(f),"SQL =",r.sqlite3_sql(this.pointer)),A.checkRc(this.db.pointer,f)}},stepReset:function(){return this.step(),this.reset()},stepFinalize:function(){try{const f=this.step();return this.reset(),f}finally{try{this.finalize()}catch{}}},get:function(f,h){if(L(this)._mayGet||n("Stmt.step() has not (recently) returned true."),Array.isArray(f)){let l=0;const _=this.columnCount;for(;l<_;)f[l]=this.get(l++);return f}else if(f&&typeof f=="object"){let l=0;const _=this.columnCount;for(;l<_;)f[r.sqlite3_column_name(this.pointer,l)]=this.get(l++);return f}switch(x(this,f),h===void 0?r.sqlite3_column_type(this.pointer,f):h){case r.SQLITE_NULL:return null;case r.SQLITE_INTEGER:if(s.bigIntEnabled){const l=r.sqlite3_column_int64(this.pointer,f);return l>=Number.MIN_SAFE_INTEGER&&l<=Number.MAX_SAFE_INTEGER?Number(l).valueOf():l}else{const l=r.sqlite3_column_double(this.pointer,f);return(l>Number.MAX_SAFE_INTEGER||ln("The pointer property is read-only.")};Object.defineProperty(q.prototype,"pointer",f),Object.defineProperty(A.prototype,"pointer",f)}if(Object.defineProperty(q.prototype,"columnCount",{enumerable:!1,get:function(){return r.sqlite3_column_count(this.pointer)},set:()=>n("The columnCount property is read-only.")}),t.oo1={DB:A,Stmt:q},o.isUIThread()){t.oo1.JsStorageDb=function(h="session"){const l=T.normalizeArgs(...arguments);h=l.filename,h!=="session"&&h!=="local"&&n("JsStorageDb db name must be one of 'session' or 'local'."),l.vfs="kvvfs",T.call(this,l)};const f=t.oo1.JsStorageDb;f.prototype=Object.create(A.prototype),f.clearStorage=r.sqlite3_js_kvvfs_clear,f.prototype.clearStorage=function(){return f.clearStorage(w(this).filename)},f.storageSize=r.sqlite3_js_kvvfs_size,f.prototype.storageSize=function(){return f.storageSize(w(this).filename)}}}),globalThis.sqlite3ApiBootstrap.initializers.push(function(t){const n=t.util;t.initWorker1API=(function(){const r=(...T)=>{throw new Error(T.join(" "))};globalThis.WorkerGlobalScope instanceof Function||r("initWorker1API() must be run from a Worker thread.");const s=this.sqlite3||r("Missing this.sqlite3 object."),o=s.oo1.DB,p=function(T){let A=g.idMap.get(T);return A||(A="db#"+ ++g.idSeq+"@"+T.pointer,g.idMap.set(T,A),A)},g={dbList:[],idSeq:0,idMap:new WeakMap,xfer:[],open:function(T){const A=new o(T);return this.dbs[p(A)]=A,this.dbList.indexOf(A)<0&&this.dbList.push(A),A},close:function(T,A){if(T){delete this.dbs[p(T)];const D=T.filename,q=n.sqlite3__wasm_db_vfs(T.pointer,0);T.close();const w=this.dbList.indexOf(T);w>=0&&this.dbList.splice(w,1),A&&D&&q&&n.sqlite3__wasm_vfs_unlink(q,D)}},post:function(T,A){A&&A.length?(globalThis.postMessage(T,Array.from(A)),A.length=0):globalThis.postMessage(T)},dbs:Object.create(null),getDb:function(T,A=!0){return this.dbs[T]||(A?r("Unknown (or closed) DB ID:",T):void 0)}},P=function(T=g.dbList[0]){return T&&T.pointer?T:r("DB is not opened.")},R=function(T,A=!0){const D=g.getDb(T.dbId,!1)||g.dbList[0];return A?P(D):D},z=function(){return g.dbList[0]&&p(g.dbList[0])},Q={open:function(T){const A=Object.create(null),D=T.args||Object.create(null);D.simulateError&&r("Throwing because of simulateError flag.");const q=Object.create(null);A.vfs=D.vfs,A.filename=D.filename||"";const w=g.open(A);return q.filename=w.filename,q.persistent=!!s.capi.sqlite3_js_db_uses_vfs(w.pointer,"opfs"),q.dbId=p(w),q.vfs=w.dbVfsName(),q},close:function(T){const A=R(T,!1),D={filename:A&&A.filename};if(A){const q=T.args&&typeof T.args=="object"?!!T.args.unlink:!1;g.close(A,q)}return D},exec:function(T){const A=typeof T.args=="string"?{sql:T.args}:T.args||Object.create(null);A.rowMode==="stmt"?r("Invalid rowMode for 'exec': stmt mode","does not work in the Worker API."):A.sql||r("'exec' requires input SQL.");const D=R(T);(A.callback||Array.isArray(A.resultRows))&&(D._blobXfer=g.xfer);const q=A.callback;let w=0;const x=!!A.columnNames;typeof q=="string"&&(x||(A.columnNames=[]),A.callback=function(N,O){g.post({type:q,columnNames:A.columnNames,rowNumber:++w,row:N},g.xfer)});try{const N=A.countChanges?D.changes(!0,A.countChanges===64):void 0;D.exec(A),N!==void 0&&(A.changeCount=D.changes(!0,A.countChanges===64)-N);const O=A.lastInsertRowId?s.capi.sqlite3_last_insert_rowid(D):void 0;O!==void 0&&(A.lastInsertRowId=O),A.callback instanceof Function&&(A.callback=q,g.post({type:q,columnNames:A.columnNames,rowNumber:null,row:void 0}))}finally{delete D._blobXfer,A.callback&&(A.callback=q)}return A},"config-get":function(){const T=Object.create(null),A=s.config;return["bigIntEnabled"].forEach(function(D){Object.getOwnPropertyDescriptor(A,D)&&(T[D]=A[D])}),T.version=s.version,T.vfsList=s.capi.sqlite3_js_vfs_list(),T},export:function(T){const A=R(T),D={byteArray:s.capi.sqlite3_js_db_export(A.pointer),filename:A.filename,mimetype:"application/x-sqlite3"};return g.xfer.push(D.byteArray.buffer),D},toss:function(T){r("Testing worker exception")}};globalThis.onmessage=async function(T){T=T.data;let A,D=T.dbId,q=T.type;const w=performance.now();try{Q.hasOwnProperty(q)&&Q[q]instanceof Function?A=await Q[q](T):r("Unknown db worker message type:",T.type)}catch(x){q="error",A={operation:T.type,message:x.message,errorClass:x.name,input:T},x.stack&&(A.stack=typeof x.stack=="string"?x.stack.split(/\n\s*/):x.stack)}D||(D=A.dbId||z()),g.post({type:q,dbId:D,messageId:T.messageId,workerReceivedTime:w,workerRespondTime:performance.now(),departureTime:T.departureTime,result:A},g.xfer)},globalThis.postMessage({type:"sqlite3-api",result:"worker1-ready"})}).bind({sqlite3:t})}),globalThis.sqlite3ApiBootstrap.initializers.push(function(t){const n=t.wasm,r=t.capi,s=t.util.toss3,o=Object.create(null);t.vfs=o,r.sqlite3_vfs.prototype.registerVfs=function(p=!1){this instanceof t.capi.sqlite3_vfs||s("Expecting a sqlite3_vfs-type argument.");const g=r.sqlite3_vfs_register(this,p?1:0);return g&&s("sqlite3_vfs_register(",this,") failed with rc",g),this.pointer!==r.sqlite3_vfs_find(this.$zName)&&s("BUG: sqlite3_vfs_find(vfs.$zName) failed for just-installed VFS",this),this},o.installVfs=function(p){let g=0;const P=["io","vfs"];for(const R of P){const z=p[R];z&&(++g,z.struct.installMethods(z.methods,!!z.applyArgcCheck),R==="vfs"&&(!z.struct.$zName&&typeof z.name=="string"&&z.struct.addOnDispose(z.struct.$zName=n.allocCString(z.name)),z.struct.registerVfs(!!z.asDefault)))}return g||s("Misuse: installVfs() options object requires at least","one of:",P),this}}),globalThis.sqlite3ApiBootstrap.initializers.push(function(t){if(!t.wasm.exports.sqlite3_declare_vtab)return;const n=t.wasm,r=t.capi,s=t.util.toss3,o=Object.create(null);t.vtab=o;const p=r.sqlite3_index_info;p.prototype.nthConstraint=function(R,z=!1){if(R<0||R>=this.$nConstraint)return!1;const Q=this.$aConstraint+p.sqlite3_index_constraint.structInfo.sizeof*R;return z?Q:new p.sqlite3_index_constraint(Q)},p.prototype.nthConstraintUsage=function(R,z=!1){if(R<0||R>=this.$nConstraint)return!1;const Q=this.$aConstraintUsage+p.sqlite3_index_constraint_usage.structInfo.sizeof*R;return z?Q:new p.sqlite3_index_constraint_usage(Q)},p.prototype.nthOrderBy=function(R,z=!1){if(R<0||R>=this.$nOrderBy)return!1;const Q=this.$aOrderBy+p.sqlite3_index_orderby.structInfo.sizeof*R;return z?Q:new p.sqlite3_index_orderby(Q)};const g=function(R,z){return(function(Q,T=!1){if(arguments.length===0&&(Q=new z),Q instanceof z)return this.set(Q.pointer,Q),Q;n.isPtr(Q)||t.SQLite3Error.toss("Invalid argument to",R+"()");let A=this.get(Q);return T&&this.delete(Q),A}).bind(new Map)},P=function(R,z){const Q=g(R,z);return Object.assign(Object.create(null),{StructType:z,create:T=>{const A=Q();return n.pokePtr(T,A.pointer),A},get:T=>Q(T),unget:T=>Q(T,!0),dispose:T=>{const A=Q(T,!0);A&&A.dispose()}})};o.xVtab=P("xVtab",r.sqlite3_vtab),o.xCursor=P("xCursor",r.sqlite3_vtab_cursor),o.xIndexInfo=R=>new r.sqlite3_index_info(R),o.xError=function R(z,Q,T){if(R.errorReporter instanceof Function)try{R.errorReporter("sqlite3_module::"+z+"(): "+Q.message)}catch{}let A;return Q instanceof t.WasmAllocError?A=r.SQLITE_NOMEM:arguments.length>2?A=T:Q instanceof t.SQLite3Error&&(A=Q.resultCode),A||r.SQLITE_ERROR},o.xError.errorReporter=console.error.bind(console),o.xRowid=(R,z)=>n.poke(R,z,"i64"),o.setupModule=function(R){let z=!1;const Q=this instanceof r.sqlite3_module?this:R.struct||(z=new r.sqlite3_module);try{const T=R.methods||s("Missing 'methods' object.");for(const A of Object.entries({xConnect:"xCreate",xDisconnect:"xDestroy"})){const D=A[0],q=A[1];T[D]===!0?T[D]=T[q]:T[q]===!0&&(T[q]=T[D])}if(R.catchExceptions){const A=function(w,x){return["xConnect","xCreate"].indexOf(w)>=0?function(N,O,S,L,$,c){try{return x(...arguments)||0}catch(d){return d instanceof t.WasmAllocError||(n.dealloc(n.peekPtr(c)),n.pokePtr(c,n.allocCString(d.message))),o.xError(w,d)}}:function(...N){try{return x(...N)||0}catch(O){return o.xError(w,O)}}},D=["xCreate","xConnect","xBestIndex","xDisconnect","xDestroy","xOpen","xClose","xFilter","xNext","xEof","xColumn","xRowid","xUpdate","xBegin","xSync","xCommit","xRollback","xFindFunction","xRename","xSavepoint","xRelease","xRollbackTo","xShadowName"],q=Object.create(null);for(const w of D){const x=T[w];if(x instanceof Function)w==="xConnect"&&T.xCreate===x?q[w]=T.xCreate:w==="xCreate"&&T.xConnect===x?q[w]=T.xConnect:q[w]=A(w,x);else continue}Q.installMethods(q,!1)}else Q.installMethods(T,!!R.applyArgcCheck);if(Q.$iVersion===0){let A;typeof R.iVersion=="number"?A=R.iVersion:Q.$xShadowName?A=3:Q.$xSavePoint||Q.$xRelease||Q.$xRollbackTo?A=2:A=1,Q.$iVersion=A}}catch(T){throw z&&z.dispose(),T}return Q},r.sqlite3_module.prototype.setupModule=function(R){return o.setupModule.call(this,R)}}),globalThis.sqlite3ApiBootstrap.initializers.push(function(t){const n=function r(s){if(!globalThis.SharedArrayBuffer||!globalThis.Atomics)return Promise.reject(new Error("Cannot install OPFS: Missing SharedArrayBuffer and/or Atomics. The server must emit the COOP/COEP response headers to enable those. See https://sqlite.org/wasm/doc/trunk/persistence.md#coop-coep"));if(typeof WorkerGlobalScope>"u")return Promise.reject(new Error("The OPFS sqlite3_vfs cannot run in the main thread because it requires Atomics.wait()."));if(!globalThis.FileSystemHandle||!globalThis.FileSystemDirectoryHandle||!globalThis.FileSystemFileHandle||!globalThis.FileSystemFileHandle.prototype.createSyncAccessHandle||!navigator?.storage?.getDirectory)return Promise.reject(new Error("Missing required OPFS APIs."));(!s||typeof s!="object")&&(s=Object.create(null));const o=new URL(globalThis.location.href).searchParams;return o.has("opfs-disable")?Promise.resolve(t):(s.verbose===void 0&&(s.verbose=o.has("opfs-verbose")?+o.get("opfs-verbose")||2:1),s.sanityChecks===void 0&&(s.sanityChecks=o.has("opfs-sanity-check")),s.proxyUri===void 0&&(s.proxyUri=r.defaultProxyUri),typeof s.proxyUri=="function"&&(s.proxyUri=s.proxyUri()),new Promise(function(g,P){const R=[t.config.error,t.config.warn,t.config.log],z=(E,...C)=>{s.verbose>E&&R[E]("OPFS syncer:",...C)},Q=(...E)=>z(2,...E),T=(...E)=>z(1,...E),A=(...E)=>z(0,...E),D=t.util.toss,q=t.capi,w=t.util,x=t.wasm,N=q.sqlite3_vfs,O=q.sqlite3_file,S=q.sqlite3_io_methods,L=Object.create(null),$=()=>globalThis.FileSystemHandle&&globalThis.FileSystemDirectoryHandle&&globalThis.FileSystemFileHandle&&globalThis.FileSystemFileHandle.prototype.createSyncAccessHandle&&navigator?.storage?.getDirectory;L.metrics={dump:function(){let E,C=0,M=0,J=0;for(E in u.opIds){const G=I[E];C+=G.count,M+=G.time,J+=G.wait,G.avgTime=G.count&&G.time?G.time/G.count:0,G.avgWait=G.count&&G.wait?G.wait/G.count:0}t.config.log(globalThis.location.href,"metrics for",globalThis.location.href,":",I,` Total of`,C,"op(s) for",M,"ms (incl. "+J+" ms of waiting on the async side)"),t.config.log("Serialization metrics:",I.s11n),h.postMessage({type:"opfs-async-metrics"})},reset:function(){let E;const C=J=>J.count=J.time=J.wait=0;for(E in u.opIds)C(I[E]=Object.create(null));let M=I.s11n=Object.create(null);M=M.serialize=Object.create(null),M.count=M.time=0,M=I.s11n.deserialize=Object.create(null),M.count=M.time=0}};const c=new S,d=new N().addOnDispose(()=>c.dispose());let y;const B=E=>(y=!0,d.dispose(),P(E)),f=()=>(y=!1,g(t)),h=new Worker(new URL(""+new URL("sqlite3-opfs-async-proxy-C_otN2ZJ.js",import.meta.url).href,import.meta.url));setTimeout(()=>{y===void 0&&B(new Error("Timeout while waiting for OPFS async proxy worker."))},4e3),h._originalOnError=h.onerror,h.onerror=function(E){A("Error initializing OPFS asyncer:",E),B(new Error("Loading OPFS async Worker failed for unknown reasons."))};const l=q.sqlite3_vfs_find(null),_=l?new N(l):null;c.$iVersion=1,d.$iVersion=2,d.$szOsFile=q.sqlite3_file.structInfo.sizeof,d.$mxPathname=1024,d.$zName=x.allocCString("opfs"),d.$xDlOpen=d.$xDlError=d.$xDlSym=d.$xDlClose=null,d.addOnDispose("$zName",d.$zName,"cleanup default VFS wrapper",()=>_?_.dispose():null);const u=Object.create(null);u.verbose=s.verbose,u.littleEndian=(()=>{const E=new ArrayBuffer(2);return new DataView(E).setInt16(0,256,!0),new Int16Array(E)[0]===256})(),u.asyncIdleWaitTime=150,u.asyncS11nExceptions=1,u.fileBufferSize=1024*64,u.sabS11nOffset=u.fileBufferSize,u.sabS11nSize=d.$mxPathname*2,u.sabIO=new SharedArrayBuffer(u.fileBufferSize+u.sabS11nSize),u.opIds=Object.create(null);const I=Object.create(null);{let E=0;u.opIds.whichOp=E++,u.opIds.rc=E++,u.opIds.xAccess=E++,u.opIds.xClose=E++,u.opIds.xDelete=E++,u.opIds.xDeleteNoWait=E++,u.opIds.xFileSize=E++,u.opIds.xLock=E++,u.opIds.xOpen=E++,u.opIds.xRead=E++,u.opIds.xSleep=E++,u.opIds.xSync=E++,u.opIds.xTruncate=E++,u.opIds.xUnlock=E++,u.opIds.xWrite=E++,u.opIds.mkdir=E++,u.opIds["opfs-async-metrics"]=E++,u.opIds["opfs-async-shutdown"]=E++,u.opIds.retry=E++,u.sabOP=new SharedArrayBuffer(E*4),L.metrics.reset()}u.sq3Codes=Object.create(null),["SQLITE_ACCESS_EXISTS","SQLITE_ACCESS_READWRITE","SQLITE_BUSY","SQLITE_CANTOPEN","SQLITE_ERROR","SQLITE_IOERR","SQLITE_IOERR_ACCESS","SQLITE_IOERR_CLOSE","SQLITE_IOERR_DELETE","SQLITE_IOERR_FSYNC","SQLITE_IOERR_LOCK","SQLITE_IOERR_READ","SQLITE_IOERR_SHORT_READ","SQLITE_IOERR_TRUNCATE","SQLITE_IOERR_UNLOCK","SQLITE_IOERR_WRITE","SQLITE_LOCK_EXCLUSIVE","SQLITE_LOCK_NONE","SQLITE_LOCK_PENDING","SQLITE_LOCK_RESERVED","SQLITE_LOCK_SHARED","SQLITE_LOCKED","SQLITE_MISUSE","SQLITE_NOTFOUND","SQLITE_OPEN_CREATE","SQLITE_OPEN_DELETEONCLOSE","SQLITE_OPEN_MAIN_DB","SQLITE_OPEN_READONLY"].forEach(E=>{(u.sq3Codes[E]=q[E])===void 0&&D("Maintenance required: not found:",E)}),u.opfsFlags=Object.assign(Object.create(null),{OPFS_UNLOCK_ASAP:1,OPFS_UNLINK_BEFORE_OPEN:2,defaultUnlockAsap:!1});const U=(E,...C)=>{const M=u.opIds[E]||D("Invalid op ID:",E);u.s11n.serialize(...C),Atomics.store(u.sabOPView,u.opIds.rc,-1),Atomics.store(u.sabOPView,u.opIds.whichOp,M),Atomics.notify(u.sabOPView,u.opIds.whichOp);const J=performance.now();for(;Atomics.wait(u.sabOPView,u.opIds.rc,-1)!=="not-equal";);const G=Atomics.load(u.sabOPView,u.opIds.rc);if(I[E].wait+=performance.now()-J,G&&u.asyncS11nExceptions){const te=u.s11n.deserialize();te&&A(E+"() async error:",...te)}return G};L.debug={asyncShutdown:()=>{T("Shutting down OPFS async listener. The OPFS VFS will no longer work."),U("opfs-async-shutdown")},asyncRestart:()=>{T("Attempting to restart OPFS VFS async listener. Might work, might not."),h.postMessage({type:"opfs-async-restart"})}};const ee=()=>{if(u.s11n)return u.s11n;const E=new TextDecoder,C=new TextEncoder("utf-8"),M=new Uint8Array(u.sabIO,u.sabS11nOffset,u.sabS11nSize),J=new DataView(u.sabIO,u.sabS11nOffset,u.sabS11nSize);u.s11n=Object.create(null);const G=Object.create(null);G.number={id:1,size:8,getter:"getFloat64",setter:"setFloat64"},G.bigint={id:2,size:8,getter:"getBigInt64",setter:"setBigInt64"},G.boolean={id:3,size:4,getter:"getInt32",setter:"setInt32"},G.string={id:4};const te=Y=>G[typeof Y]||D("Maintenance required: this value type cannot be serialized.",Y),le=Y=>{switch(Y){case G.number.id:return G.number;case G.bigint.id:return G.bigint;case G.boolean.id:return G.boolean;case G.string.id:return G.string;default:D("Invalid type ID:",Y)}};return u.s11n.deserialize=function(Y=!1){++I.s11n.deserialize.count;const be=performance.now(),F=M[0],V=F?[]:null;if(F){const K=[];let X=1,_e,he,de;for(_e=0;_e{ie.start=performance.now(),ie.op=E,++I[E].count},b=()=>I[ie.op].time+=performance.now()-ie.start,k={xCheckReservedLock:function(E,C){return x.poke(C,0,"i32"),0},xClose:function(E){j("xClose");let C=0;const M=se[E];return M&&(delete se[E],C=U("xClose",E),M.sq3File&&M.sq3File.dispose()),b(),C},xDeviceCharacteristics:function(E){return q.SQLITE_IOCAP_UNDELETABLE_WHEN_OPEN},xFileControl:function(E,C,M){return q.SQLITE_NOTFOUND},xFileSize:function(E,C){j("xFileSize");let M=U("xFileSize",E);if(M==0)try{const J=u.s11n.deserialize()[0];x.poke(C,J,"i64")}catch(J){A("Unexpected error reading xFileSize() result:",J),M=u.sq3Codes.SQLITE_IOERR}return b(),M},xLock:function(E,C){j("xLock");const M=se[E];let J=0;return M.lockType?M.lockType=C:(J=U("xLock",E,C),J===0&&(M.lockType=C)),b(),J},xRead:function(E,C,M,J){j("xRead");const G=se[E];let te;try{te=U("xRead",E,M,Number(J)),(te===0||q.SQLITE_IOERR_SHORT_READ===te)&&x.heap8u().set(G.sabView.subarray(0,M),C)}catch(le){A("xRead(",arguments,") failed:",le,G),te=q.SQLITE_IOERR_READ}return b(),te},xSync:function(E,C){j("xSync"),++I.xSync.count;const M=U("xSync",E,C);return b(),M},xTruncate:function(E,C){j("xTruncate");const M=U("xTruncate",E,Number(C));return b(),M},xUnlock:function(E,C){j("xUnlock");const M=se[E];let J=0;return q.SQLITE_LOCK_NONE===C&&M.lockType&&(J=U("xUnlock",E,C)),J===0&&(M.lockType=C),b(),J},xWrite:function(E,C,M,J){j("xWrite");const G=se[E];let te;try{G.sabView.set(x.heap8u().subarray(C,C+M)),te=U("xWrite",E,M,Number(J))}catch(le){A("xWrite(",arguments,") failed:",le,G),te=q.SQLITE_IOERR_WRITE}return b(),te}},W={xAccess:function(E,C,M,J){j("xAccess");const G=U("xAccess",x.cstrToJs(C));return x.poke(J,G?0:1,"i32"),b(),0},xCurrentTime:function(E,C){return x.poke(C,24405875e-1+new Date().getTime()/864e5,"double"),0},xCurrentTimeInt64:function(E,C){return x.poke(C,24405875e-1*864e5+new Date().getTime(),"i64"),0},xDelete:function(E,C,M){j("xDelete");const J=U("xDelete",x.cstrToJs(C),M,!1);return b(),J},xFullPathname:function(E,C,M,J){return x.cstrncpy(J,C,M)!!J):M},L.getDirForFilename=async function(C,M=!1){const J=L.getResolvedPath(C,!0),G=J.pop();let te=L.rootDirectory;for(const le of J)le&&(te=await te.getDirectoryHandle(le,{create:!!M}));return[te,G]},L.mkdir=async function(E){try{return await L.getDirForFilename(E+"/filepart",!0),!0}catch{return!1}},L.entryExists=async function(E){try{const[C,M]=await L.getDirForFilename(E);return await C.getFileHandle(M),!0}catch{return!1}},L.randomFilename=ne,L.treeList=async function(){const E=async function M(J,G){G.name=J.name,G.dirs=[],G.files=[];for await(const te of J.values())if(te.kind==="directory"){const le=Object.create(null);G.dirs.push(le),await M(te,le)}else G.files.push(te.name)},C=Object.create(null);return await E(L.rootDirectory,C),C},L.rmfr=async function(){const E=L.rootDirectory,C={recurse:!0};for await(const M of E.values())E.removeEntry(M.name,C)},L.unlink=async function(E,C=!1,M=!1){try{const[J,G]=await L.getDirForFilename(E,!1);return await J.removeEntry(G,{recursive:C}),!0}catch(J){if(M)throw new Error("unlink(",arguments[0],") failed: "+J.message,{cause:J});return!1}},L.traverse=async function(E){const C={recursive:!0,directory:L.rootDirectory};typeof E=="function"&&(E={callback:E}),E=Object.assign(C,E||{}),async function J(G,te){for await(const le of G.values()){if(E.callback(le,G,te)===!1)return!1;if(E.recursive&&le.kind==="directory"&&await J(le,te+1)===!1)break}}(E.directory,0)};const H=async function(E,C){const[M,J]=await L.getDirForFilename(E,!0);let te=await(await M.getFileHandle(J,{create:!0})).createSyncAccessHandle(),le=0,Y,be=!1;try{for(te.truncate(0);(Y=await C())!==void 0;)Y instanceof ArrayBuffer&&(Y=new Uint8Array(Y)),le===0&&Y.byteLength>=15&&(w.affirmDbHeader(Y),be=!0),te.write(Y,{at:le}),le+=Y.byteLength;if((le<512||le%512!==0)&&D("Input size",le,"is not correct for an SQLite database."),!be){const F=new Uint8Array(20);te.read(F,{at:0}),w.affirmDbHeader(F)}return te.write(new Uint8Array([1,1]),{at:18}),le}catch(F){throw await te.close(),te=void 0,await M.removeEntry(J).catch(()=>{}),F}finally{te&&await te.close()}};if(L.importDb=async function(E,C){if(C instanceof Function)return H(E,C);C instanceof ArrayBuffer&&(C=new Uint8Array(C)),w.affirmIsDb(C);const M=C.byteLength,[J,G]=await L.getDirForFilename(E,!0);let te,le=0;try{return te=await(await J.getFileHandle(G,{create:!0})).createSyncAccessHandle(),te.truncate(0),le=te.write(C,{at:0}),le!=M&&D("Expected to write "+M+" bytes but wrote "+le+"."),te.write(new Uint8Array([1,1]),{at:18}),le}catch(Y){throw te&&(await te.close(),te=void 0),await J.removeEntry(G).catch(()=>{}),Y}finally{te&&await te.close()}},t.oo1){const E=function(...C){const M=t.oo1.DB.dbCtorHelper.normalizeArgs(...C);M.vfs=d.$zName,t.oo1.DB.dbCtorHelper.call(this,M)};E.prototype=Object.create(t.oo1.DB.prototype),t.oo1.OpfsDb=E,E.importDb=L.importDb,t.oo1.DB.dbCtorHelper.setVfsPostOpenCallback(d.pointer,function(C,M){M.capi.sqlite3_busy_timeout(C,1e4)})}const Z=function(){const E=x.scopedAllocPush(),C=new O;try{const M=C.pointer,J=q.SQLITE_OPEN_CREATE|q.SQLITE_OPEN_READWRITE|q.SQLITE_OPEN_MAIN_DB,G=x.scopedAlloc(8),te="/sanity/check/file"+ne(8),le=x.scopedAllocCString(te);let Y;if(u.s11n.serialize("This is ä string."),Y=u.s11n.deserialize(),Q("deserialize() says:",Y),Y[0]!=="This is ä string."&&D("String d13n error."),W.xAccess(d.pointer,le,0,G),Y=x.peek(G,"i32"),Q("xAccess(",te,") exists ?=",Y),Y=W.xOpen(d.pointer,le,M,J,G),Q("open rc =",Y,"state.sabOPView[xOpen] =",u.sabOPView[u.opIds.xOpen]),Y!==0){A("open failed with code",Y);return}W.xAccess(d.pointer,le,0,G),Y=x.peek(G,"i32"),Y||D("xAccess() failed to detect file."),Y=k.xSync(C.pointer,0),Y&&D("sync failed w/ rc",Y),Y=k.xTruncate(C.pointer,1024),Y&&D("truncate failed w/ rc",Y),x.poke(G,0,"i64"),Y=k.xFileSize(C.pointer,G),Y&&D("xFileSize failed w/ rc",Y),Q("xFileSize says:",x.peek(G,"i64")),Y=k.xWrite(C.pointer,le,10,1),Y&&D("xWrite() failed!");const be=x.scopedAlloc(16);Y=k.xRead(C.pointer,be,6,2),x.poke(be+6,0);let F=x.cstrToJs(be);Q("xRead() got:",F),F!=="sanity"&&D("Unexpected xRead() value."),W.xSleep&&(Q("xSleep()ing before close()ing..."),W.xSleep(d.pointer,2e3),Q("waking up from xSleep()")),Y=k.xClose(M),Q("xClose rc =",Y,"sabOPView =",u.sabOPView),Q("Deleting file:",te),W.xDelete(d.pointer,le,4660),W.xAccess(d.pointer,le,0,G),Y=x.peek(G,"i32"),Y&&D("Expecting 0 from xAccess(",te,") after xDelete()."),T("End of OPFS sanity checks.")}finally{C.dispose(),x.scopedAllocPop(E)}};h.onmessage=function({data:E}){switch(E.type){case"opfs-unavailable":B(new Error(E.payload.join(" ")));break;case"opfs-async-loaded":h.postMessage({type:"opfs-async-init",args:u});break;case"opfs-async-inited":{if(y===!0)break;try{t.vfs.installVfs({io:{struct:c,methods:k},vfs:{struct:d,methods:W}}),u.sabOPView=new Int32Array(u.sabOP),u.sabFileBufView=new Uint8Array(u.sabIO,0,u.fileBufferSize),u.sabS11nView=new Uint8Array(u.sabIO,u.sabS11nOffset,u.sabS11nSize),ee(),s.sanityChecks&&(T("Running sanity checks because of opfs-sanity-check URL arg..."),Z()),$()?navigator.storage.getDirectory().then(C=>{h.onerror=h._originalOnError,delete h._originalOnError,t.opfs=L,L.rootDirectory=C,Q("End of OPFS sqlite3_vfs setup.",d),f()}).catch(B):f()}catch(C){A(C),B(C)}break}default:{const C="Unexpected message from the OPFS async worker: "+JSON.stringify(E);A(C),B(new Error(C));break}}}}))};n.defaultProxyUri="sqlite3-opfs-async-proxy.js",globalThis.sqlite3ApiBootstrap.initializersAsync.push(async r=>{try{let s=n.defaultProxyUri;return r.scriptInfo.sqlite3Dir&&(n.defaultProxyUri=r.scriptInfo.sqlite3Dir+s),n().catch(o=>{r.config.warn("Ignoring inability to install OPFS sqlite3_vfs:",o.message)})}catch(s){return r.config.error("installOpfsVfs() exception:",s),Promise.reject(s)}})}),globalThis.sqlite3ApiBootstrap.initializers.push(function(t){const n=t.util.toss,r=t.util.toss3,s=Object.create(null),o=t.capi,p=t.util,g=t.wasm,P=4096,R=512,z=4,Q=8,T=R+z,A=R,D=T,q=P,w=o.SQLITE_OPEN_MAIN_DB|o.SQLITE_OPEN_MAIN_JOURNAL|o.SQLITE_OPEN_SUPER_JOURNAL|o.SQLITE_OPEN_WAL,x=o.SQLITE_OPEN_MEMORY,N=".opaque",O=()=>Math.random().toString(36).slice(2),S=new TextDecoder,L=new TextEncoder,$=Object.assign(Object.create(null),{name:"opfs-sahpool",directory:void 0,initialCapacity:6,clearOnInit:!1,verbosity:2,forceReinitIfPreviouslyFailed:!1}),c=[t.config.error,t.config.warn,t.config.log];t.config.log;const d=t.config.warn;t.config.error;const y=new Map,B=j=>y.get(j),f=(j,b)=>{b?y.set(j,b):y.delete(j)},h=new Map,l=j=>h.get(j),_=(j,b)=>{b?h.set(j,b):h.delete(j)},u={xCheckReservedLock:function(j,b){const k=l(j);return k.log("xCheckReservedLock"),k.storeErr(),g.poke32(b,1),0},xClose:function(j){const b=l(j);b.storeErr();const k=b.getOFileForS3File(j);if(k)try{b.log(`xClose ${k.path}`),b.mapS3FileToOFile(j,!1),k.sah.flush(),k.flags&o.SQLITE_OPEN_DELETEONCLOSE&&b.deletePath(k.path)}catch(W){return b.storeErr(W,o.SQLITE_IOERR)}return 0},xDeviceCharacteristics:function(j){return o.SQLITE_IOCAP_UNDELETABLE_WHEN_OPEN},xFileControl:function(j,b,k){return o.SQLITE_NOTFOUND},xFileSize:function(j,b){const k=l(j);k.log("xFileSize");const H=k.getOFileForS3File(j).sah.getSize()-q;return g.poke64(b,BigInt(H)),0},xLock:function(j,b){const k=l(j);k.log(`xLock ${b}`),k.storeErr();const W=k.getOFileForS3File(j);return W.lockType=b,0},xRead:function(j,b,k,W){const H=l(j);H.storeErr();const Z=H.getOFileForS3File(j);H.log(`xRead ${Z.path} ${k} @ ${W}`);try{const E=Z.sah.read(g.heap8u().subarray(b,b+k),{at:q+Number(W)});return Eb&&g.poke8(k+b-1,0)}catch{return o.SQLITE_NOMEM}finally{g.scopedAllocPop(Z)}}return H?H.sqlite3Rc||o.SQLITE_IOERR:0},xOpen:function(b,k,W,H,Z){const E=B(b);try{H&=~x,E.log(`xOpen ${g.cstrToJs(k)} ${H}`);const C=k&&g.peek8(k)?E.getPath(k):O();let M=E.getSAHForPath(C);!M&&H&o.SQLITE_OPEN_CREATE&&(E.getFileCount()f(b.pointer,0)),W&&(b.$xRandomness=W.$xRandomness,b.$xSleep=W.$xSleep,W.dispose()),!b.$xRandomness&&!U.xRandomness&&(U.xRandomness=function(H,Z,E){const C=g.heap8u();let M=0;for(;M0),t.vfs.installVfs({vfs:{struct:b,methods:U}}),b};class ne{vfsDir;#e;#o;#a;#r=new Map;#t=new Map;#s=new Set;#l=new Map;#n=new Uint8Array(T);#c;#i;#u;constructor(b=Object.create(null)){this.#u=b.verbosity??$.verbosity,this.vfsName=b.name||$.name,this.#i=ee(this.vfsName),f(this.#i.pointer,this),this.vfsDir=b.directory||"."+this.vfsName,this.#c=new DataView(this.#n.buffer,this.#n.byteOffset),this.isReady=this.reset(!!(b.clearOnInit??$.clearOnInit)).then(()=>{if(this.$error)throw this.$error;return this.getCapacity()?Promise.resolve(void 0):this.addCapacity(b.initialCapacity||$.initialCapacity)})}#_(b,...k){this.#u>b&&c[b](this.vfsName+":",...k)}log(...b){this.#_(2,...b)}warn(...b){this.#_(1,...b)}error(...b){this.#_(0,...b)}getVfs(){return this.#i}getCapacity(){return this.#r.size}getFileCount(){return this.#t.size}getFileNames(){const b=[];for(const k of this.#t.keys())b.push(k);return b}async addCapacity(b){for(let k=0;k{try{const Z=await H.createSyncAccessHandle();if(this.#r.set(Z,W),b)Z.truncate(q),this.setAssociatedPath(Z,"",0);else{const E=this.getAssociatedPath(Z);E?this.#t.set(E,Z):this.#s.add(Z)}}catch(Z){throw this.storeErr(Z),this.releaseAccessHandles(),Z}}))}getAssociatedPath(b){b.read(this.#n,{at:0});const k=this.#c.getUint32(A);if(this.#n[0]&&(k&o.SQLITE_OPEN_DELETEONCLOSE||(k&w)===0))return d(`Removing file with unexpected flags ${k.toString(16)}`,this.#n),this.setAssociatedPath(b,"",0),"";const W=new Uint32Array(Q/4);b.read(W,{at:D});const H=this.computeDigest(this.#n,k);if(W.every((Z,E)=>Z===H[E])){const Z=this.#n.findIndex(E=>E===0);return Z===0&&b.truncate(q),Z?S.decode(this.#n.subarray(0,Z)):""}else return d("Disassociating file with bad digest."),this.setAssociatedPath(b,"",0),""}setAssociatedPath(b,k,W){const H=L.encodeInto(k,this.#n);R<=H.written+1&&n("Path too long:",k),k&&W&&(W|=x),this.#n.fill(0,H.written,R),this.#c.setUint32(A,W);const Z=this.computeDigest(this.#n,W);b.write(this.#n,{at:0}),b.write(Z,{at:D}),b.flush(),k?(this.#t.set(k,b),this.#s.delete(b)):(b.truncate(q),this.#s.add(b))}computeDigest(b,k){if(k&x){let W=3735928559,H=1103547991;for(const Z of b)W=Math.imul(W^Z,2654435761),H=Math.imul(H^Z,104729);return new Uint32Array([W>>>0,H>>>0])}else return new Uint32Array([0,0])}async reset(b){await this.isReady;let k=await navigator.storage.getDirectory(),W;for(const H of this.vfsDir.split("/"))H&&(W=k,k=await k.getDirectoryHandle(H,{create:!0}));return this.#e=k,this.#a=W,this.#o=await this.#e.getDirectoryHandle(N,{create:!0}),this.releaseAccessHandles(),this.acquireAccessHandles(b)}getPath(b){return g.isPtr(b)&&(b=g.cstrToJs(b)),(b instanceof URL?b:new URL(b,"file://localhost/")).pathname}deletePath(b){const k=this.#t.get(b);return k&&(this.#t.delete(b),this.setAssociatedPath(k,"",0)),!!k}storeErr(b,k){return b&&(b.sqlite3Rc=k||o.SQLITE_IOERR,this.error(b)),this.$error=b,k}popErr(){const b=this.$error;return this.$error=void 0,b}nextAvailableSAH(){const[b]=this.#s.keys();return b}getOFileForS3File(b){return this.#l.get(b)}mapS3FileToOFile(b,k){k?(this.#l.set(b,k),_(b,this)):(this.#l.delete(b),_(b,!1))}hasFilename(b){return this.#t.has(b)}getSAHForPath(b){return this.#t.get(b)}async removeVfs(){if(!this.#i.pointer||!this.#o)return!1;o.sqlite3_vfs_unregister(this.#i.pointer),this.#i.dispose(),delete s[this.vfsName];try{this.releaseAccessHandles(),await this.#e.removeEntry(N,{recursive:!0}),this.#o=void 0,await this.#a.removeEntry(this.#e.name,{recursive:!0}),this.#e=this.#a=void 0}catch(b){t.config.error(this.vfsName,"removeVfs() failed with no recovery strategy:",b)}return!0}pauseVfs(){return this.#l.size>0&&t.SQLite3Error.toss(o.SQLITE_MISUSE,"Cannot pause VFS",this.vfsName,"because it has opened files."),this.#r.size>0&&(o.sqlite3_vfs_unregister(this.vfsName),this.releaseAccessHandles()),this}isPaused(){return this.#r.size===0}async unpauseVfs(){return this.#r.size===0?this.acquireAccessHandles(!1).then(()=>o.sqlite3_vfs_register(this.#i,0),this):this}exportFile(b){const k=this.#t.get(b)||n("File not found:",b),W=k.getSize()-q,H=new Uint8Array(W>0?W:0);if(W>0){const Z=k.read(H,{at:q});Z!=W&&n("Expected to read "+W+" bytes but read "+Z+".")}return H}async importDbChunked(b,k){const W=this.#t.get(b)||this.nextAvailableSAH()||n("No available handles to import to.");W.truncate(0);let H=0,Z,E=!1;try{for(;(Z=await k())!==void 0;)Z instanceof ArrayBuffer&&(Z=new Uint8Array(Z)),H===0&&Z.byteLength>=15&&(p.affirmDbHeader(Z),E=!0),W.write(Z,{at:q+H}),H+=Z.byteLength;if((H<512||H%512!==0)&&n("Input size",H,"is not correct for an SQLite database."),!E){const C=new Uint8Array(20);W.read(C,{at:0}),p.affirmDbHeader(C)}W.write(new Uint8Array([1,1]),{at:q+18})}catch(C){throw this.setAssociatedPath(W,"",0),C}return this.setAssociatedPath(W,b,o.SQLITE_OPEN_MAIN_DB),H}importDb(b,k){if(k instanceof ArrayBuffer)k=new Uint8Array(k);else if(k instanceof Function)return this.importDbChunked(b,k);const W=this.#t.get(b)||this.nextAvailableSAH()||n("No available handles to import to."),H=k.byteLength;(H<512||H%512!=0)&&n("Byte array size is invalid for an SQLite db.");const Z="SQLite format 3";for(let C=0;Cthis)}isPaused(){return this.#e.isPaused()}}const ie=async()=>{const j=await navigator.storage.getDirectory(),b=".opfs-sahpool-sync-check-"+O(),H=(await(await j.getFileHandle(b,{create:!0})).createSyncAccessHandle()).close();return await H,await j.removeEntry(b),H?.then&&n("The local OPFS API is too old for opfs-sahpool:","it has an async FileSystemSyncAccessHandle.close() method."),!0};t.installOpfsSAHPoolVfs=async function(j=Object.create(null)){j=Object.assign(Object.create(null),$,j||{});const b=j.name;if(j.$testThrowPhase1)throw j.$testThrowPhase1;if(s[b])try{return await s[b]}catch(k){if(j.forceReinitIfPreviouslyFailed)delete s[b];else throw k}return!globalThis.FileSystemHandle||!globalThis.FileSystemDirectoryHandle||!globalThis.FileSystemFileHandle||!globalThis.FileSystemFileHandle.prototype.createSyncAccessHandle||!navigator?.storage?.getDirectory?s[b]=Promise.reject(new Error("Missing required OPFS APIs.")):s[b]=ie().then(async function(){if(j.$testThrowPhase2)throw j.$testThrowPhase2;const k=new ne(j);return k.isReady.then(async()=>{const W=new se(k);if(t.oo1){const H=t.oo1,Z=k.getVfs(),E=function(...C){const M=H.DB.dbCtorHelper.normalizeArgs(...C);M.vfs=Z.$zName,H.DB.dbCtorHelper.call(this,M)};E.prototype=Object.create(H.DB.prototype),W.OpfsSAHPoolDb=E}return k.log("VFS initialized."),W}).catch(async W=>{throw await k.removeVfs().catch(()=>{}),W})}).catch(k=>s[b]=Promise.reject(k))}}),typeof i<"u"){const t=Object.assign(Object.create(null),{exports:typeof m>"u"?i.asm:m,memory:i.wasmMemory},globalThis.sqlite3ApiConfig||{});globalThis.sqlite3ApiConfig=t;let n;try{n=globalThis.sqlite3ApiBootstrap()}catch(r){throw console.error("sqlite3ApiBootstrap() error:",r),r}finally{delete globalThis.sqlite3ApiBootstrap,delete globalThis.sqlite3ApiConfig}i.sqlite3=n}else console.warn("This is not running in an Emscripten module context, so","globalThis.sqlite3ApiBootstrap() is _not_ being called due to lack","of config info for the WASM environment.","It must be called manually.")},ge=Ne,ge}})();const Xn=(function(){const qe=Ft;if(!qe)throw new Error("Expecting globalThis.sqlite3InitModule to be defined by the Emscripten build.");const ce=globalThis.sqlite3InitModuleState=Object.assign(Object.create(null),{moduleScript:globalThis?.document?.currentScript,isWorker:typeof WorkerGlobalScope<"u",location:globalThis.location,urlParams:globalThis?.location?.href?new URL(globalThis.location.href).searchParams:new URLSearchParams});if(ce.debugModule=ce.urlParams.has("sqlite3.debugModule")?(...ge)=>console.warn("sqlite3.debugModule:",...ge):()=>{},ce.urlParams.has("sqlite3.dir"))ce.sqlite3Dir=ce.urlParams.get("sqlite3.dir")+"/";else if(ce.moduleScript){const ge=ce.moduleScript.src.split("/");ge.pop(),ce.sqlite3Dir=ge.join("/")+"/"}if(globalThis.sqlite3InitModule=function ge(...i){return qe(...i).then(ye=>{ye.runSQLite3PostLoadInit(ye);const Ee=ye.sqlite3;Ee.scriptInfo=ce,ge.__isUnderTest&&(Ee.__isUnderTest=!0);const Ne=Ee.asyncPostInit;return delete Ee.asyncPostInit,Ne()}).catch(ye=>{throw console.error("Exception loading sqlite3 module:",ye),ye})},globalThis.sqlite3InitModule.ready=qe.ready,globalThis.sqlite3InitModuleState.moduleScript){const ge=globalThis.sqlite3InitModuleState;let i=ge.moduleScript.src.split("/");i.pop(),ge.scriptDir=i.join("/")+"/"}return ce.debugModule("sqlite3InitModuleState =",ce),globalThis.sqlite3InitModule})();Ft=Xn;globalThis.sqlite3Worker1Promiser=function qe(ce=qe.defaultConfig){if(arguments.length===1&&typeof arguments[0]=="function"){const re=ce;ce=Object.assign(Object.create(null),qe.defaultConfig),ce.onready=re}else ce=Object.assign(Object.create(null),qe.defaultConfig,ce);const ge=Object.create(null),i=function(){},ye=ce.onerror||i,Ee=ce.debug||i,Ne=ce.generateMessageId?void 0:Object.create(null),Je=ce.generateMessageId||function(re){return re.type+"#"+(Ne[re.type]=(Ne[re.type]||0)+1)},Oe=(...re)=>{throw new Error(re.join(" "))};ce.worker||(ce.worker=qe.defaultConfig.worker),typeof ce.worker=="function"&&(ce.worker=ce.worker());let Fe,Qe;return ce.worker.onmessage=function(re){re=re.data,Ee("worker1.onmessage",re);let me=ge[re.messageId];if(!me){if(re&&re.type==="sqlite3-api"&&re.result==="worker1-ready"){ce.onready&&ce.onready(Qe);return}if(me=ge[re.type],me&&me.onrow){me.onrow(re);return}ce.onunhandled?ce.onunhandled(arguments[0]):ye("sqlite3Worker1Promiser() unhandled worker message:",re);return}switch(delete ge[re.messageId],re.type){case"error":me.reject(re);return;case"open":Fe||(Fe=re.dbId);break;case"close":re.dbId===Fe&&(Fe=void 0);break}try{me.resolve(re)}catch(Ae){me.reject(Ae)}},Qe=function(){let re;arguments.length===1?re=arguments[0]:arguments.length===2?(re=Object.create(null),re.type=arguments[0],re.args=arguments[1],re.dbId=re.args.dbId):Oe("Invalid arguments for sqlite3Worker1Promiser()-created factory."),!re.dbId&&re.type!=="open"&&(re.dbId=Fe),re.messageId=Je(re),re.departureTime=performance.now();const me=Object.create(null);me.message=re;let Ae;re.type==="exec"&&re.args&&(typeof re.args.callback=="function"?(Ae=re.messageId+":row",me.onrow=re.args.callback,re.args.callback=Ae,ge[Ae]=me):typeof re.args.callback=="string"&&Oe("exec callback may not be a string when using the Promise interface."));let Le=new Promise(function(Me,He){me.resolve=Me,me.reject=He,ge[re.messageId]=me,Ee("Posting",re.type,"message to Worker dbId="+(Fe||"default")+":",re),ce.worker.postMessage(re)});return Ae&&(Le=Le.finally(()=>delete ge[Ae])),Le}};globalThis.sqlite3Worker1Promiser.defaultConfig={worker:function(){return new Worker(new URL(""+new URL("sqlite3-worker1-bundler-friendly-Bv6ABw9v.js",import.meta.url).href,import.meta.url),{type:"module"})},onerror:(...qe)=>console.error("worker1 promiser error",...qe)};sqlite3Worker1Promiser.v2=(function(qe){let ce;typeof qe=="function"?(ce=qe,qe={}):typeof qe?.onready=="function"&&(ce=qe.onready,delete qe.onready);const ge=Object.create(null);qe=Object.assign(qe||Object.create(null),{onready:async function(ye){try{ce&&await ce(ye),ge.resolve(ye)}catch(Ee){ge.reject(Ee)}}});const i=new Promise(function(ye,Ee){ge.resolve=ye,ge.reject=Ee});try{this.original(qe)}catch(ye){ge.reject(ye)}return i}).bind({original:sqlite3Worker1Promiser});sqlite3Worker1Promiser.v2;const er=globalThis.sqlite3Worker1Promiser;export{Ft as default,er as sqlite3Worker1Promiser}; diff --git a/assets/9fHaxxcf.js b/assets/BZF47zcU.js similarity index 92% rename from assets/9fHaxxcf.js rename to assets/BZF47zcU.js index 5e8bab6..24a3368 100644 --- a/assets/9fHaxxcf.js +++ b/assets/BZF47zcU.js @@ -1 +1 @@ -import{a0 as m,a1 as g,aS as k,e as o,ac as i,s as c,q as r,c as u,am as d,o as h}from"./Sa-_S7_w.js";const b={slots:{base:"text-4xl text-highlighted font-bold mb-8 scroll-mt-[calc(45px+var(--ui-header-height))] lg:scroll-mt-(--ui-header-height)",link:"inline-flex items-center gap-2"}},x=["id"],y=["href"],q={__name:"ProseH1",props:{id:{type:String,required:!1},class:{type:null,required:!1},ui:{type:Object,required:!1}},setup(e){const s=e,p=m(),a=g("prose.h1",s),{headings:t}=k().public?.mdc||{},l=u(()=>d({extend:d(b),...p.ui?.prose?.h1||{}})()),f=u(()=>s.id&&typeof t?.anchorLinks=="object"&&t.anchorLinks.h1);return(n,v)=>(h(),o("h1",{id:e.id,class:i(l.value.base({class:[c(a)?.base,s.class]}))},[e.id&&f.value?(h(),o("a",{key:0,href:`#${e.id}`,class:i(l.value.link({class:c(a)?.link}))},[r(n.$slots,"default")],10,y)):r(n.$slots,"default",{key:1})],10,x))}};export{q as default}; +import{a0 as m,a1 as g,aS as k,e as o,ac as i,s as c,q as r,c as u,am as d,o as h}from"./DklXDfzJ.js";const b={slots:{base:"text-4xl text-highlighted font-bold mb-8 scroll-mt-[calc(45px+var(--ui-header-height))] lg:scroll-mt-(--ui-header-height)",link:"inline-flex items-center gap-2"}},x=["id"],y=["href"],q={__name:"ProseH1",props:{id:{type:String,required:!1},class:{type:null,required:!1},ui:{type:Object,required:!1}},setup(e){const s=e,p=m(),a=g("prose.h1",s),{headings:t}=k().public?.mdc||{},l=u(()=>d({extend:d(b),...p.ui?.prose?.h1||{}})()),f=u(()=>s.id&&typeof t?.anchorLinks=="object"&&t.anchorLinks.h1);return(n,v)=>(h(),o("h1",{id:e.id,class:i(l.value.base({class:[c(a)?.base,s.class]}))},[e.id&&f.value?(h(),o("a",{key:0,href:`#${e.id}`,class:i(l.value.link({class:c(a)?.link}))},[r(n.$slots,"default")],10,y)):r(n.$slots,"default",{key:1})],10,x))}};export{q as default}; diff --git a/assets/BjGUPQBu.js b/assets/BbjXMA62.js similarity index 64% rename from assets/BjGUPQBu.js rename to assets/BbjXMA62.js index a9bca00..652ea90 100644 --- a/assets/BjGUPQBu.js +++ b/assets/BbjXMA62.js @@ -1 +1 @@ -import{r as a}from"./B9iXeHun.js";import s from"./BMqJWTDa.js";import{a0 as t,a as e,p as n,s as p,o as i}from"./Sa-_S7_w.js";import"./BN_7HF1G.js";const d={__name:"ProseNote",setup(c){const o=t();return(r,f)=>(i(),e(s,{color:"info",icon:p(o).ui.icons.info},{default:n(()=>[a(r.$slots,"default",{mdcUnwrap:"p"})]),_:3},8,["icon"]))}};export{d as default}; +import{r as a}from"./CTGtweTb.js";import s from"./DBhEayJC.js";import{a0 as t,a as e,p as n,s as p,o as i}from"./DklXDfzJ.js";import"./BN_7HF1G.js";const d={__name:"ProseNote",setup(c){const o=t();return(r,f)=>(i(),e(s,{color:"info",icon:p(o).ui.icons.info},{default:n(()=>[a(r.$slots,"default",{mdcUnwrap:"p"})]),_:3},8,["icon"]))}};export{d as default}; diff --git a/assets/DXTdElLG.js b/assets/BfoQBf7N.js similarity index 99% rename from assets/DXTdElLG.js rename to assets/BfoQBf7N.js index 7adbafb..e9132e7 100644 --- a/assets/DXTdElLG.js +++ b/assets/BfoQBf7N.js @@ -1 +1 @@ -import{Q as K,aB as W,a0 as X,a1 as Y,aC as Z,aD as _,aE as ee,a6 as ie,G as ae,o as n,a as d,p as le,af as se,m as q,s as a,q as m,e as I,ac as o,ab as S,ad as te,f as g,P as ne,c as B,am as A,aF as re}from"./Sa-_S7_w.js";const oe={slots:{root:"relative inline-flex items-center",base:["w-full rounded-md border-0 appearance-none placeholder:text-dimmed focus:outline-none disabled:cursor-not-allowed disabled:opacity-75","transition-colors"],leading:"absolute inset-y-0 start-0 flex items-center",leadingIcon:"shrink-0 text-dimmed",leadingAvatar:"shrink-0",leadingAvatarSize:"",trailing:"absolute inset-y-0 end-0 flex items-center",trailingIcon:"shrink-0 text-dimmed"},variants:{fieldGroup:{horizontal:{root:"group has-focus-visible:z-[1]",base:"group-not-only:group-first:rounded-e-none group-not-only:group-last:rounded-s-none group-not-last:group-not-first:rounded-none"},vertical:{root:"group has-focus-visible:z-[1]",base:"group-not-only:group-first:rounded-b-none group-not-only:group-last:rounded-t-none group-not-last:group-not-first:rounded-none"}},size:{xs:{base:"px-2 py-1 text-sm/4 gap-1",leading:"ps-2",trailing:"pe-2",leadingIcon:"size-4",leadingAvatarSize:"3xs",trailingIcon:"size-4"},sm:{base:"px-2.5 py-1.5 text-sm/4 gap-1.5",leading:"ps-2.5",trailing:"pe-2.5",leadingIcon:"size-4",leadingAvatarSize:"3xs",trailingIcon:"size-4"},md:{base:"px-2.5 py-1.5 text-base/5 gap-1.5",leading:"ps-2.5",trailing:"pe-2.5",leadingIcon:"size-5",leadingAvatarSize:"2xs",trailingIcon:"size-5"},lg:{base:"px-3 py-2 text-base/5 gap-2",leading:"ps-3",trailing:"pe-3",leadingIcon:"size-5",leadingAvatarSize:"2xs",trailingIcon:"size-5"},xl:{base:"px-3 py-2 text-base gap-2",leading:"ps-3",trailing:"pe-3",leadingIcon:"size-6",leadingAvatarSize:"xs",trailingIcon:"size-6"}},variant:{outline:"text-highlighted bg-default ring ring-inset ring-accented",soft:"text-highlighted bg-elevated/50 hover:bg-elevated focus:bg-elevated disabled:bg-elevated/50",subtle:"text-highlighted bg-elevated ring ring-inset ring-accented",ghost:"text-highlighted bg-transparent hover:bg-elevated focus:bg-elevated disabled:bg-transparent dark:disabled:bg-transparent",none:"text-highlighted bg-transparent"},color:{primary:"",secondary:"",success:"",info:"",warning:"",error:"",neutral:""},leading:{true:""},trailing:{true:""},loading:{true:""},highlight:{true:""},fixed:{false:""},type:{file:"file:me-1.5 file:font-medium file:text-muted file:outline-none"}},compoundVariants:[{color:"primary",variant:["outline","subtle"],class:"focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-primary"},{color:"secondary",variant:["outline","subtle"],class:"focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-secondary"},{color:"success",variant:["outline","subtle"],class:"focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-success"},{color:"info",variant:["outline","subtle"],class:"focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-info"},{color:"warning",variant:["outline","subtle"],class:"focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-warning"},{color:"error",variant:["outline","subtle"],class:"focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-error"},{color:"primary",highlight:!0,class:"ring ring-inset ring-primary"},{color:"secondary",highlight:!0,class:"ring ring-inset ring-secondary"},{color:"success",highlight:!0,class:"ring ring-inset ring-success"},{color:"info",highlight:!0,class:"ring ring-inset ring-info"},{color:"warning",highlight:!0,class:"ring ring-inset ring-warning"},{color:"error",highlight:!0,class:"ring ring-inset ring-error"},{color:"neutral",variant:["outline","subtle"],class:"focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-inverted"},{color:"neutral",highlight:!0,class:"ring ring-inset ring-inverted"},{leading:!0,size:"xs",class:"ps-7"},{leading:!0,size:"sm",class:"ps-8"},{leading:!0,size:"md",class:"ps-9"},{leading:!0,size:"lg",class:"ps-10"},{leading:!0,size:"xl",class:"ps-11"},{trailing:!0,size:"xs",class:"pe-7"},{trailing:!0,size:"sm",class:"pe-8"},{trailing:!0,size:"md",class:"pe-9"},{trailing:!0,size:"lg",class:"pe-10"},{trailing:!0,size:"xl",class:"pe-11"},{loading:!0,leading:!0,class:{leadingIcon:"animate-spin"}},{loading:!0,leading:!1,trailing:!0,class:{trailingIcon:"animate-spin"}},{fixed:!1,size:"xs",class:"md:text-xs"},{fixed:!1,size:"sm",class:"md:text-xs"},{fixed:!1,size:"md",class:"md:text-sm"},{fixed:!1,size:"lg",class:"md:text-sm"}],defaultVariants:{size:"md",color:"primary",variant:"outline"}},ue=["id","type","value","name","placeholder","disabled","required","autocomplete"],ge=Object.assign({inheritAttrs:!1},{__name:"UInput",props:{as:{type:null,required:!1},id:{type:String,required:!1},name:{type:String,required:!1},type:{type:null,required:!1,default:"text"},placeholder:{type:String,required:!1},color:{type:null,required:!1},variant:{type:null,required:!1},size:{type:null,required:!1},required:{type:Boolean,required:!1},autocomplete:{type:[String,Object],required:!1,default:"off"},autofocus:{type:Boolean,required:!1},autofocusDelay:{type:Number,required:!1,default:0},disabled:{type:Boolean,required:!1},highlight:{type:Boolean,required:!1},fixed:{type:Boolean,required:!1},modelValue:{type:null,required:!1},defaultValue:{type:null,required:!1},modelModifiers:{type:null,required:!1},class:{type:null,required:!1},ui:{type:Object,required:!1},icon:{type:null,required:!1},avatar:{type:Object,required:!1},leading:{type:Boolean,required:!1},leadingIcon:{type:null,required:!1},trailing:{type:Boolean,required:!1},trailingIcon:{type:null,required:!1},loading:{type:Boolean,required:!1},loadingIcon:{type:null,required:!1}},emits:["update:modelValue","blur","change"],setup(s,{expose:k,emit:V}){const i=s,c=V,u=K(),v=W(i,"modelValue",c,{defaultValue:i.defaultValue}),C=X(),t=Y("input",i),{emitFormBlur:F,emitFormInput:M,emitFormChange:w,size:G,color:N,id:$,name:j,highlight:O,disabled:P,emitFormFocus:b,ariaAttrs:R}=Z(i,{}),{orientation:T,size:D}=_(i),{isLeading:f,isTrailing:h,leadingIconName:y,trailingIconName:x}=ee(i),E=B(()=>D.value||G.value),l=B(()=>A({extend:A(oe),...C.ui?.input||{}})({type:i.type,color:N.value,variant:i.variant,size:E?.value,loading:i.loading,highlight:O.value,fixed:i.fixed,leading:f.value||!!i.avatar||!!u.leading,trailing:h.value||!!u.trailing,fieldGroup:T.value})),p=ie("inputRef");function z(e){i.modelModifiers?.trim&&(typeof e=="string"||e===null||e===void 0)&&(e=e?.trim()??null),(i.modelModifiers?.number||i.type==="number")&&(e=re(e)),i.modelModifiers?.nullable&&(e||=null),i.modelModifiers?.optional&&!i.modelModifiers?.nullable&&e!==null&&(e||=void 0),v.value=e,M()}function U(e){i.modelModifiers?.lazy||z(e.target.value)}function L(e){const r=e.target.value;i.modelModifiers?.lazy&&z(r),i.modelModifiers?.trim&&(e.target.value=r.trim()),w(),c("change",e)}function Q(e){F(),c("blur",e)}function H(){i.autofocus&&p.value?.focus()}return ae(()=>{setTimeout(()=>{H()},i.autofocusDelay)}),k({inputRef:p}),(e,r)=>(n(),d(a(ne),{as:s.as,"data-slot":"root",class:o(l.value.root({class:[a(t)?.root,i.class]}))},{default:le(()=>[se("input",q({id:a($),ref_key:"inputRef",ref:p,type:s.type,value:a(v),name:a(j),placeholder:s.placeholder,"data-slot":"base",class:l.value.base({class:a(t)?.base}),disabled:a(P),required:s.required,autocomplete:s.autocomplete},{...e.$attrs,...a(R)},{onInput:U,onBlur:Q,onChange:L,onFocus:r[0]||(r[0]=(...J)=>a(b)&&a(b)(...J))}),null,16,ue),m(e.$slots,"default",{ui:l.value}),a(f)||s.avatar||u.leading?(n(),I("span",{key:0,"data-slot":"leading",class:o(l.value.leading({class:a(t)?.leading}))},[m(e.$slots,"leading",{ui:l.value},()=>[a(f)&&a(y)?(n(),d(S,{key:0,name:a(y),"data-slot":"leadingIcon",class:o(l.value.leadingIcon({class:a(t)?.leadingIcon}))},null,8,["name","class"])):s.avatar?(n(),d(te,q({key:1,size:a(t)?.leadingAvatarSize||l.value.leadingAvatarSize()},s.avatar,{"data-slot":"leadingAvatar",class:l.value.leadingAvatar({class:a(t)?.leadingAvatar})}),null,16,["size","class"])):g("",!0)])],2)):g("",!0),a(h)||u.trailing?(n(),I("span",{key:1,"data-slot":"trailing",class:o(l.value.trailing({class:a(t)?.trailing}))},[m(e.$slots,"trailing",{ui:l.value},()=>[a(x)?(n(),d(S,{key:0,name:a(x),"data-slot":"trailingIcon",class:o(l.value.trailingIcon({class:a(t)?.trailingIcon}))},null,8,["name","class"])):g("",!0)])],2)):g("",!0)]),_:3},8,["as","class"]))}});export{ge as _}; +import{Q as K,aB as W,a0 as X,a1 as Y,aC as Z,aD as _,aE as ee,a6 as ie,G as ae,o as n,a as d,p as le,af as se,m as q,s as a,q as m,e as I,ac as o,ab as S,ad as te,f as g,P as ne,c as B,am as A,aF as re}from"./DklXDfzJ.js";const oe={slots:{root:"relative inline-flex items-center",base:["w-full rounded-md border-0 appearance-none placeholder:text-dimmed focus:outline-none disabled:cursor-not-allowed disabled:opacity-75","transition-colors"],leading:"absolute inset-y-0 start-0 flex items-center",leadingIcon:"shrink-0 text-dimmed",leadingAvatar:"shrink-0",leadingAvatarSize:"",trailing:"absolute inset-y-0 end-0 flex items-center",trailingIcon:"shrink-0 text-dimmed"},variants:{fieldGroup:{horizontal:{root:"group has-focus-visible:z-[1]",base:"group-not-only:group-first:rounded-e-none group-not-only:group-last:rounded-s-none group-not-last:group-not-first:rounded-none"},vertical:{root:"group has-focus-visible:z-[1]",base:"group-not-only:group-first:rounded-b-none group-not-only:group-last:rounded-t-none group-not-last:group-not-first:rounded-none"}},size:{xs:{base:"px-2 py-1 text-sm/4 gap-1",leading:"ps-2",trailing:"pe-2",leadingIcon:"size-4",leadingAvatarSize:"3xs",trailingIcon:"size-4"},sm:{base:"px-2.5 py-1.5 text-sm/4 gap-1.5",leading:"ps-2.5",trailing:"pe-2.5",leadingIcon:"size-4",leadingAvatarSize:"3xs",trailingIcon:"size-4"},md:{base:"px-2.5 py-1.5 text-base/5 gap-1.5",leading:"ps-2.5",trailing:"pe-2.5",leadingIcon:"size-5",leadingAvatarSize:"2xs",trailingIcon:"size-5"},lg:{base:"px-3 py-2 text-base/5 gap-2",leading:"ps-3",trailing:"pe-3",leadingIcon:"size-5",leadingAvatarSize:"2xs",trailingIcon:"size-5"},xl:{base:"px-3 py-2 text-base gap-2",leading:"ps-3",trailing:"pe-3",leadingIcon:"size-6",leadingAvatarSize:"xs",trailingIcon:"size-6"}},variant:{outline:"text-highlighted bg-default ring ring-inset ring-accented",soft:"text-highlighted bg-elevated/50 hover:bg-elevated focus:bg-elevated disabled:bg-elevated/50",subtle:"text-highlighted bg-elevated ring ring-inset ring-accented",ghost:"text-highlighted bg-transparent hover:bg-elevated focus:bg-elevated disabled:bg-transparent dark:disabled:bg-transparent",none:"text-highlighted bg-transparent"},color:{primary:"",secondary:"",success:"",info:"",warning:"",error:"",neutral:""},leading:{true:""},trailing:{true:""},loading:{true:""},highlight:{true:""},fixed:{false:""},type:{file:"file:me-1.5 file:font-medium file:text-muted file:outline-none"}},compoundVariants:[{color:"primary",variant:["outline","subtle"],class:"focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-primary"},{color:"secondary",variant:["outline","subtle"],class:"focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-secondary"},{color:"success",variant:["outline","subtle"],class:"focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-success"},{color:"info",variant:["outline","subtle"],class:"focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-info"},{color:"warning",variant:["outline","subtle"],class:"focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-warning"},{color:"error",variant:["outline","subtle"],class:"focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-error"},{color:"primary",highlight:!0,class:"ring ring-inset ring-primary"},{color:"secondary",highlight:!0,class:"ring ring-inset ring-secondary"},{color:"success",highlight:!0,class:"ring ring-inset ring-success"},{color:"info",highlight:!0,class:"ring ring-inset ring-info"},{color:"warning",highlight:!0,class:"ring ring-inset ring-warning"},{color:"error",highlight:!0,class:"ring ring-inset ring-error"},{color:"neutral",variant:["outline","subtle"],class:"focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-inverted"},{color:"neutral",highlight:!0,class:"ring ring-inset ring-inverted"},{leading:!0,size:"xs",class:"ps-7"},{leading:!0,size:"sm",class:"ps-8"},{leading:!0,size:"md",class:"ps-9"},{leading:!0,size:"lg",class:"ps-10"},{leading:!0,size:"xl",class:"ps-11"},{trailing:!0,size:"xs",class:"pe-7"},{trailing:!0,size:"sm",class:"pe-8"},{trailing:!0,size:"md",class:"pe-9"},{trailing:!0,size:"lg",class:"pe-10"},{trailing:!0,size:"xl",class:"pe-11"},{loading:!0,leading:!0,class:{leadingIcon:"animate-spin"}},{loading:!0,leading:!1,trailing:!0,class:{trailingIcon:"animate-spin"}},{fixed:!1,size:"xs",class:"md:text-xs"},{fixed:!1,size:"sm",class:"md:text-xs"},{fixed:!1,size:"md",class:"md:text-sm"},{fixed:!1,size:"lg",class:"md:text-sm"}],defaultVariants:{size:"md",color:"primary",variant:"outline"}},ue=["id","type","value","name","placeholder","disabled","required","autocomplete"],ge=Object.assign({inheritAttrs:!1},{__name:"UInput",props:{as:{type:null,required:!1},id:{type:String,required:!1},name:{type:String,required:!1},type:{type:null,required:!1,default:"text"},placeholder:{type:String,required:!1},color:{type:null,required:!1},variant:{type:null,required:!1},size:{type:null,required:!1},required:{type:Boolean,required:!1},autocomplete:{type:[String,Object],required:!1,default:"off"},autofocus:{type:Boolean,required:!1},autofocusDelay:{type:Number,required:!1,default:0},disabled:{type:Boolean,required:!1},highlight:{type:Boolean,required:!1},fixed:{type:Boolean,required:!1},modelValue:{type:null,required:!1},defaultValue:{type:null,required:!1},modelModifiers:{type:null,required:!1},class:{type:null,required:!1},ui:{type:Object,required:!1},icon:{type:null,required:!1},avatar:{type:Object,required:!1},leading:{type:Boolean,required:!1},leadingIcon:{type:null,required:!1},trailing:{type:Boolean,required:!1},trailingIcon:{type:null,required:!1},loading:{type:Boolean,required:!1},loadingIcon:{type:null,required:!1}},emits:["update:modelValue","blur","change"],setup(s,{expose:k,emit:V}){const i=s,c=V,u=K(),v=W(i,"modelValue",c,{defaultValue:i.defaultValue}),C=X(),t=Y("input",i),{emitFormBlur:F,emitFormInput:M,emitFormChange:w,size:G,color:N,id:$,name:j,highlight:O,disabled:P,emitFormFocus:b,ariaAttrs:R}=Z(i,{}),{orientation:T,size:D}=_(i),{isLeading:f,isTrailing:h,leadingIconName:y,trailingIconName:x}=ee(i),E=B(()=>D.value||G.value),l=B(()=>A({extend:A(oe),...C.ui?.input||{}})({type:i.type,color:N.value,variant:i.variant,size:E?.value,loading:i.loading,highlight:O.value,fixed:i.fixed,leading:f.value||!!i.avatar||!!u.leading,trailing:h.value||!!u.trailing,fieldGroup:T.value})),p=ie("inputRef");function z(e){i.modelModifiers?.trim&&(typeof e=="string"||e===null||e===void 0)&&(e=e?.trim()??null),(i.modelModifiers?.number||i.type==="number")&&(e=re(e)),i.modelModifiers?.nullable&&(e||=null),i.modelModifiers?.optional&&!i.modelModifiers?.nullable&&e!==null&&(e||=void 0),v.value=e,M()}function U(e){i.modelModifiers?.lazy||z(e.target.value)}function L(e){const r=e.target.value;i.modelModifiers?.lazy&&z(r),i.modelModifiers?.trim&&(e.target.value=r.trim()),w(),c("change",e)}function Q(e){F(),c("blur",e)}function H(){i.autofocus&&p.value?.focus()}return ae(()=>{setTimeout(()=>{H()},i.autofocusDelay)}),k({inputRef:p}),(e,r)=>(n(),d(a(ne),{as:s.as,"data-slot":"root",class:o(l.value.root({class:[a(t)?.root,i.class]}))},{default:le(()=>[se("input",q({id:a($),ref_key:"inputRef",ref:p,type:s.type,value:a(v),name:a(j),placeholder:s.placeholder,"data-slot":"base",class:l.value.base({class:a(t)?.base}),disabled:a(P),required:s.required,autocomplete:s.autocomplete},{...e.$attrs,...a(R)},{onInput:U,onBlur:Q,onChange:L,onFocus:r[0]||(r[0]=(...J)=>a(b)&&a(b)(...J))}),null,16,ue),m(e.$slots,"default",{ui:l.value}),a(f)||s.avatar||u.leading?(n(),I("span",{key:0,"data-slot":"leading",class:o(l.value.leading({class:a(t)?.leading}))},[m(e.$slots,"leading",{ui:l.value},()=>[a(f)&&a(y)?(n(),d(S,{key:0,name:a(y),"data-slot":"leadingIcon",class:o(l.value.leadingIcon({class:a(t)?.leadingIcon}))},null,8,["name","class"])):s.avatar?(n(),d(te,q({key:1,size:a(t)?.leadingAvatarSize||l.value.leadingAvatarSize()},s.avatar,{"data-slot":"leadingAvatar",class:l.value.leadingAvatar({class:a(t)?.leadingAvatar})}),null,16,["size","class"])):g("",!0)])],2)):g("",!0),a(h)||u.trailing?(n(),I("span",{key:1,"data-slot":"trailing",class:o(l.value.trailing({class:a(t)?.trailing}))},[m(e.$slots,"trailing",{ui:l.value},()=>[a(x)?(n(),d(S,{key:0,name:a(x),"data-slot":"trailingIcon",class:o(l.value.trailingIcon({class:a(t)?.trailingIcon}))},null,8,["name","class"])):g("",!0)])],2)):g("",!0)]),_:3},8,["as","class"]))}});export{ge as _}; diff --git a/assets/rlQ8XdZv.js b/assets/Bfv0HSUf.js similarity index 98% rename from assets/rlQ8XdZv.js rename to assets/Bfv0HSUf.js index 17ced14..5a1377a 100644 --- a/assets/rlQ8XdZv.js +++ b/assets/Bfv0HSUf.js @@ -1,3 +1,3 @@ -import{v as L,d as le,g as ie,j as oe,k as ue,l as Q,o as _,a as O,p as P,B as V,q as te,s,C as M,D,P as ae,bH as de,x as ce,c as w,z as fe,S as ve,n as pe,T as U,h as me,m as ne,L as Y,Q as ge,a0 as he,a1 as ye,a4 as be,w as F,bu as xe,e as $,af as N,ac as E,W as ke,F as J,am as X,r as Ce,ab as Z,ag as Te,f as ee}from"./Sa-_S7_w.js";import{f as G}from"./BLM-gHsq.js";import{R as Ke}from"./BB8f-fnx.js";import Se from"./DBvuT6Rn.js";function Ae(f,K){const e=L(),b=(l,g)=>{if(K.multiple&&Array.isArray(f.value))if(K.selectionBehavior==="replace")f.value=[l],e.value=l;else{const S=f.value.findIndex(p=>g(p));S!==-1?f.value=f.value.filter((p,v)=>v!==S):f.value=[...f.value,l]}else K.selectionBehavior==="replace"?f.value={...l}:!Array.isArray(f.value)&&g(f.value)?f.value=void 0:f.value={...l};return f.value};function B(l,g,S,p){if(!e?.value||!K.multiple||!Array.isArray(f.value))return;const I=S().filter(A=>A.ref.dataset.disabled!=="").find(A=>A.ref===g)?.value;if(!I)return;let x=null;switch(l){case"prev":case"next":{x=G(p,e.value,I);break}case"first":{x=G(p,e.value,p?.[0]);break}case"last":{x=G(p,e.value,p?.[p.length-1]);break}}f.value=x}return{firstValue:e,onSelectItem:b,handleMultipleReplace:B}}function W(f){return f.reduce((K,e)=>(K.push(e),e.children&&K.push(...W(e.children)),K),[])}const[Ie,Ee]=fe("TreeRoot");var _e=le({__name:"TreeRoot",props:{modelValue:{type:null,required:!1},defaultValue:{type:null,required:!1},items:{type:Array,required:!1},expanded:{type:Array,required:!1},defaultExpanded:{type:Array,required:!1},getKey:{type:Function,required:!0},getChildren:{type:Function,required:!1,default:f=>f.children},selectionBehavior:{type:String,required:!1,default:"toggle"},multiple:{type:Boolean,required:!1,skipCheck:!0},dir:{type:String,required:!1},disabled:{type:Boolean,required:!1},propagateSelect:{type:Boolean,required:!1},bubbleSelect:{type:Boolean,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"ul"}},emits:["update:modelValue","update:expanded"],setup(f,{emit:K}){const e=f,b=K,{items:B,multiple:l,disabled:g,propagateSelect:S,dir:p,bubbleSelect:v}=ie(e),{handleTypeaheadSearch:I}=oe(),x=ue(p),A=L(),R=L(!1),q=ce(),d=Q(e,"modelValue",b,{defaultValue:e.defaultValue??(l.value?[]:void 0),passive:!0,deep:!0}),C=Q(e,"expanded",b,{defaultValue:e.defaultExpanded??[],passive:e.expanded===void 0,deep:!0}),{onSelectItem:a,handleMultipleReplace:i}=Ae(d,e),c=w(()=>l.value&&Array.isArray(d.value)?d.value.map(t=>e.getKey(t)):[e.getKey(d.value??{})]);function r(t,n=1,k){return t.reduce((y,T,j)=>{const H=e.getKey(T),z=e.getChildren(T),re=C.value.includes(H),se={_id:H,value:T,index:j,level:n,parentItem:k,hasChildren:!!z,bind:{value:T,level:n,"aria-setsize":t.length,"aria-posinset":j+1}};return y.push(se),z&&re&&y.push(...r(z,n+1,T)),y},[])}const u=w(()=>{const t=e.items;return C.value.map(n=>n),r(t??[])});function o(t){if(R.value)q.trigger(t);else{const n=A.value?.getItems()??[];I(t.key,n)}}function m(t){if(R.value)return;const n=ve[t.key];pe(()=>{i(n,U(),A.value?.getItems,u.value.map(k=>k.value))})}function h(t){if(t.parentItem!=null&&Array.isArray(d.value)&&e.multiple){const n=u.value.find(k=>t.parentItem!=null&&e.getKey(k.value)===e.getKey(t.parentItem));n!=null&&(e.getChildren(n.value)?.every(y=>d.value.find(T=>e.getKey(T)===e.getKey(y)))?d.value=[...d.value,n.value]:d.value=d.value.filter(y=>e.getKey(y)!==e.getKey(n.value)),h(n))}}return Ee({modelValue:d,selectedKeys:c,onSelect:t=>{const n=y=>e.getKey(y??{})===e.getKey(t),k=e.multiple&&Array.isArray(d.value)?d.value?.findIndex(n)!==-1:void 0;if(a(t,n),e.bubbleSelect&&e.multiple&&Array.isArray(d.value)){const y=u.value.find(T=>e.getKey(T.value)===e.getKey(t));y!=null&&h(y)}if(e.propagateSelect&&e.multiple&&Array.isArray(d.value)){const y=W(e.getChildren(t)??[]);k?d.value=[...d.value].filter(T=>!y.some(j=>e.getKey(T??{})===e.getKey(j))):d.value=[...d.value,...y]}},expanded:C,onToggle(t){if(!(t?e.getChildren(t):void 0))return;const k=e.getKey(t)??t;C.value.includes(k)?C.value=C.value.filter(y=>y!==k):C.value=[...C.value,k]},getKey:e.getKey,getChildren:e.getChildren,items:B,expandedItems:u,disabled:g,multiple:l,dir:x,propagateSelect:S,bubbleSelect:v,isVirtual:R,virtualKeydownHook:q,handleMultipleReplace:i}),(t,n)=>(_(),O(s(de),{ref_key:"rovingFocusGroupRef",ref:A,"as-child":"",orientation:"vertical",dir:s(x)},{default:P(()=>[V(s(ae),{role:"tree",as:t.as,"as-child":t.asChild,"aria-multiselectable":s(l)?!0:void 0,onKeydown:[o,M(D(m,["shift"]),["up","down"])]},{default:P(()=>[te(t.$slots,"default",{flattenItems:u.value,modelValue:s(d),expanded:s(C)})]),_:3},8,["as","as-child","aria-multiselectable","onKeydown"])]),_:3},8,["dir"]))}}),qe=_e;const we="tree.select",Be="tree.toggle";var Re=le({inheritAttrs:!1,__name:"TreeItem",props:{value:{type:null,required:!0},level:{type:Number,required:!0},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"li"}},emits:["select","toggle"],setup(f,{expose:K,emit:e}){const b=f,B=e,l=Ie(),{getItems:g}=me(),S=w(()=>!!l.getChildren(b.value)),p=w(()=>{const a=l.getKey(b.value);return l.expanded.value.includes(a)}),v=w(()=>{const a=l.getKey(b.value);return l.selectedKeys.value.includes(a)}),I=w(()=>{if(l.bubbleSelect.value&&S.value&&Array.isArray(l.modelValue.value)){const a=W(l.getChildren(b.value)||[]);return a.some(i=>l.modelValue.value.find(c=>l.getKey(c)===l.getKey(i)))&&!a.every(i=>l.modelValue.value.find(c=>l.getKey(c)===l.getKey(i)))}else return l.propagateSelect.value&&v.value&&S.value&&Array.isArray(l.modelValue.value)?!W(l.getChildren(b.value)||[]).every(i=>l.modelValue.value.find(c=>l.getKey(c)===l.getKey(i))):void 0});function x(a){if(S.value)if(p.value){const i=g().map(m=>m.ref),c=U(),r=i.indexOf(c),o=[...i].slice(r).find(m=>Number(m.getAttribute("data-indent"))===b.level+1);o&&o.focus()}else C(a)}function A(a){if(p.value)C(a);else{const i=g().map(m=>m.ref),c=U(),r=i.indexOf(c),o=[...i].slice(0,r).reverse().find(m=>Number(m.getAttribute("data-indent"))===b.level-1);o&&o.focus()}}async function R(a){B("select",a),!a?.defaultPrevented&&l.onSelect(b.value)}async function q(a){B("toggle",a),!a?.defaultPrevented&&l.onToggle(b.value)}async function d(a){if(!a)return;const i={originalEvent:a,value:b.value,isExpanded:p.value,isSelected:v.value};Y(we,R,i)}async function C(a){if(!a)return;const i={originalEvent:a,value:b.value,isExpanded:p.value,isSelected:v.value};Y(Be,q,i)}return K({isExpanded:p,isSelected:v,isIndeterminate:I,handleToggle:()=>l.onToggle(b.value),handleSelect:()=>l.onSelect(b.value)}),(a,i)=>(_(),O(s(Ke),{"as-child":"",value:a.value,"allow-shift-key":""},{default:P(()=>[V(s(ae),ne(a.$attrs,{role:"treeitem",as:a.as,"as-child":a.asChild,"aria-selected":v.value,"aria-expanded":S.value?p.value:void 0,"aria-level":a.level,"data-indent":a.level,"data-selected":v.value?"":void 0,"data-expanded":p.value?"":void 0,onKeydown:[M(D(d,["self","prevent"]),["enter","space"]),i[0]||(i[0]=M(D(c=>s(l).dir.value==="ltr"?x(c):A(c),["prevent"]),["right"])),i[1]||(i[1]=M(D(c=>s(l).dir.value==="ltr"?A(c):x(c),["prevent"]),["left"]))],onClick:i[2]||(i[2]=D(c=>{d(c),C(c)},["stop"]))}),{default:P(()=>[te(a.$slots,"default",{isExpanded:p.value,isSelected:v.value,isIndeterminate:I.value,handleSelect:()=>s(l).onSelect(a.value),handleToggle:()=>s(l).onToggle(a.value)})]),_:3},16,["as","as-child","aria-selected","aria-expanded","aria-level","data-indent","data-selected","data-expanded","onKeydown"])]),_:3},8,["value"]))}}),Ve=Re;const Le={slots:{root:"relative lg:h-[450px] my-5 grid lg:grid-cols-3 border border-muted rounded-md",list:"isolate relative p-2 border-b lg:border-b-0 lg:border-e border-muted overflow-y-auto",item:"",listWithChildren:"ms-4.5 border-s border-default",itemWithChildren:"ps-1.5 -ms-px",link:"relative group peer w-full px-2.5 py-1.5 before:inset-y-px before:inset-x-0 flex items-center gap-1.5 text-sm before:absolute before:z-[-1] before:rounded-md focus:outline-none focus-visible:outline-none focus-visible:before:ring-inset focus-visible:before:ring-2",linkLeadingIcon:"size-4 shrink-0",linkLabel:"truncate",linkTrailing:"ms-auto inline-flex gap-1.5 items-center",linkTrailingIcon:"size-5 transform transition-transform duration-200 shrink-0 group-data-expanded:rotate-180",content:"overflow-hidden lg:col-span-2 flex flex-col [&>div]:my-0 [&>div]:flex-1 [&>div]:flex [&>div]:flex-col [&>div>div]:border-0 [&>div>pre]:border-b-0 [&>div>pre]:border-s-0 [&>div>pre]:border-e-0 [&>div>pre]:rounded-l-none [&>div>pre]:flex-1 [&>div]:overflow-y-auto"},variants:{active:{true:{link:"text-highlighted before:bg-elevated"},false:{link:["hover:text-highlighted hover:before:bg-elevated/50","transition-colors before:transition-colors"]}}}},je=Object.assign({inheritAttrs:!1},{__name:"ProseCodeTree",props:{items:{type:Array,required:!1},modelValue:{type:String,required:!1},defaultValue:{type:String,required:!1},expandAll:{type:Boolean,required:!1},class:{type:null,required:!1},ui:{type:Object,required:!1}},emits:["update:modelValue"],setup(f,{emit:K}){const e=f,b=K,B=ge(),l=he(),g=ye("prose.codeTree",e),[S,p]=be(),v=w(()=>X({extend:X(Le),...l.ui?.prose?.codeTree||{}})()),I=e.modelValue??e.defaultValue,x=L(I?{path:I}:void 0),A=L();F(x,r=>{r?.path!==e.modelValue&&b("update:modelValue",r?.path)}),F(()=>e.modelValue,r=>{if(r===x.value?.path)return;x.value=r?{path:r}:void 0;const u=i(r);for(const o of u)c.value.includes(o)||c.value.push(o)});const R=L(1),q=w(()=>(R.value,e.items||B.default?.()?.flatMap(a).filter(Boolean)||[])),d=w(()=>C(q.value));function C(r){const u=new Map,o=[];r.forEach(h=>{const t=h.label.split("/");let n="";t.forEach((k,y)=>{if(n=n?`${n}/${k}`:k,!u.has(n)){const T={label:k,path:n,...yh.sort((t,n)=>!!t.children==!!n.children?t.label.localeCompare(n.label):n.children?1:-1).map(t=>({...t,children:t.children&&m(t.children)}));return m(o)}function a(r,u){return typeof r.type=="symbol"?r.children?.map(a):{label:r.props?.filename||r.props?.label||`${u}`,icon:r.props?.icon,component:r}}function i(r){if(e.expandAll){const o=new Set;return q.value.forEach(m=>{const h=m.label.split("/");for(let t=1;tu.slice(0,m+1).join("/"))}const c=L(i(x.value?.path));return F(q,(r,u)=>{if(!e.expandAll)return;const o=r.map(h=>h.label).join(` +import{v as L,d as le,g as ie,j as oe,k as ue,l as Q,o as _,a as O,p as P,B as V,q as te,s,C as M,D,P as ae,bH as de,x as ce,c as w,z as fe,S as ve,n as pe,T as U,h as me,m as ne,L as Y,Q as ge,a0 as he,a1 as ye,a4 as be,w as F,bu as xe,e as $,af as N,ac as E,W as ke,F as J,am as X,r as Ce,ab as Z,ag as Te,f as ee}from"./DklXDfzJ.js";import{f as G}from"./BO9r3vVu.js";import{R as Ke}from"./BI_2AZ0T.js";import Se from"./BX3MvpYz.js";function Ae(f,K){const e=L(),b=(l,g)=>{if(K.multiple&&Array.isArray(f.value))if(K.selectionBehavior==="replace")f.value=[l],e.value=l;else{const S=f.value.findIndex(p=>g(p));S!==-1?f.value=f.value.filter((p,v)=>v!==S):f.value=[...f.value,l]}else K.selectionBehavior==="replace"?f.value={...l}:!Array.isArray(f.value)&&g(f.value)?f.value=void 0:f.value={...l};return f.value};function B(l,g,S,p){if(!e?.value||!K.multiple||!Array.isArray(f.value))return;const I=S().filter(A=>A.ref.dataset.disabled!=="").find(A=>A.ref===g)?.value;if(!I)return;let x=null;switch(l){case"prev":case"next":{x=G(p,e.value,I);break}case"first":{x=G(p,e.value,p?.[0]);break}case"last":{x=G(p,e.value,p?.[p.length-1]);break}}f.value=x}return{firstValue:e,onSelectItem:b,handleMultipleReplace:B}}function W(f){return f.reduce((K,e)=>(K.push(e),e.children&&K.push(...W(e.children)),K),[])}const[Ie,Ee]=fe("TreeRoot");var _e=le({__name:"TreeRoot",props:{modelValue:{type:null,required:!1},defaultValue:{type:null,required:!1},items:{type:Array,required:!1},expanded:{type:Array,required:!1},defaultExpanded:{type:Array,required:!1},getKey:{type:Function,required:!0},getChildren:{type:Function,required:!1,default:f=>f.children},selectionBehavior:{type:String,required:!1,default:"toggle"},multiple:{type:Boolean,required:!1,skipCheck:!0},dir:{type:String,required:!1},disabled:{type:Boolean,required:!1},propagateSelect:{type:Boolean,required:!1},bubbleSelect:{type:Boolean,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"ul"}},emits:["update:modelValue","update:expanded"],setup(f,{emit:K}){const e=f,b=K,{items:B,multiple:l,disabled:g,propagateSelect:S,dir:p,bubbleSelect:v}=ie(e),{handleTypeaheadSearch:I}=oe(),x=ue(p),A=L(),R=L(!1),q=ce(),d=Q(e,"modelValue",b,{defaultValue:e.defaultValue??(l.value?[]:void 0),passive:!0,deep:!0}),C=Q(e,"expanded",b,{defaultValue:e.defaultExpanded??[],passive:e.expanded===void 0,deep:!0}),{onSelectItem:a,handleMultipleReplace:i}=Ae(d,e),c=w(()=>l.value&&Array.isArray(d.value)?d.value.map(t=>e.getKey(t)):[e.getKey(d.value??{})]);function r(t,n=1,k){return t.reduce((y,T,j)=>{const H=e.getKey(T),z=e.getChildren(T),re=C.value.includes(H),se={_id:H,value:T,index:j,level:n,parentItem:k,hasChildren:!!z,bind:{value:T,level:n,"aria-setsize":t.length,"aria-posinset":j+1}};return y.push(se),z&&re&&y.push(...r(z,n+1,T)),y},[])}const u=w(()=>{const t=e.items;return C.value.map(n=>n),r(t??[])});function o(t){if(R.value)q.trigger(t);else{const n=A.value?.getItems()??[];I(t.key,n)}}function m(t){if(R.value)return;const n=ve[t.key];pe(()=>{i(n,U(),A.value?.getItems,u.value.map(k=>k.value))})}function h(t){if(t.parentItem!=null&&Array.isArray(d.value)&&e.multiple){const n=u.value.find(k=>t.parentItem!=null&&e.getKey(k.value)===e.getKey(t.parentItem));n!=null&&(e.getChildren(n.value)?.every(y=>d.value.find(T=>e.getKey(T)===e.getKey(y)))?d.value=[...d.value,n.value]:d.value=d.value.filter(y=>e.getKey(y)!==e.getKey(n.value)),h(n))}}return Ee({modelValue:d,selectedKeys:c,onSelect:t=>{const n=y=>e.getKey(y??{})===e.getKey(t),k=e.multiple&&Array.isArray(d.value)?d.value?.findIndex(n)!==-1:void 0;if(a(t,n),e.bubbleSelect&&e.multiple&&Array.isArray(d.value)){const y=u.value.find(T=>e.getKey(T.value)===e.getKey(t));y!=null&&h(y)}if(e.propagateSelect&&e.multiple&&Array.isArray(d.value)){const y=W(e.getChildren(t)??[]);k?d.value=[...d.value].filter(T=>!y.some(j=>e.getKey(T??{})===e.getKey(j))):d.value=[...d.value,...y]}},expanded:C,onToggle(t){if(!(t?e.getChildren(t):void 0))return;const k=e.getKey(t)??t;C.value.includes(k)?C.value=C.value.filter(y=>y!==k):C.value=[...C.value,k]},getKey:e.getKey,getChildren:e.getChildren,items:B,expandedItems:u,disabled:g,multiple:l,dir:x,propagateSelect:S,bubbleSelect:v,isVirtual:R,virtualKeydownHook:q,handleMultipleReplace:i}),(t,n)=>(_(),O(s(de),{ref_key:"rovingFocusGroupRef",ref:A,"as-child":"",orientation:"vertical",dir:s(x)},{default:P(()=>[V(s(ae),{role:"tree",as:t.as,"as-child":t.asChild,"aria-multiselectable":s(l)?!0:void 0,onKeydown:[o,M(D(m,["shift"]),["up","down"])]},{default:P(()=>[te(t.$slots,"default",{flattenItems:u.value,modelValue:s(d),expanded:s(C)})]),_:3},8,["as","as-child","aria-multiselectable","onKeydown"])]),_:3},8,["dir"]))}}),qe=_e;const we="tree.select",Be="tree.toggle";var Re=le({inheritAttrs:!1,__name:"TreeItem",props:{value:{type:null,required:!0},level:{type:Number,required:!0},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"li"}},emits:["select","toggle"],setup(f,{expose:K,emit:e}){const b=f,B=e,l=Ie(),{getItems:g}=me(),S=w(()=>!!l.getChildren(b.value)),p=w(()=>{const a=l.getKey(b.value);return l.expanded.value.includes(a)}),v=w(()=>{const a=l.getKey(b.value);return l.selectedKeys.value.includes(a)}),I=w(()=>{if(l.bubbleSelect.value&&S.value&&Array.isArray(l.modelValue.value)){const a=W(l.getChildren(b.value)||[]);return a.some(i=>l.modelValue.value.find(c=>l.getKey(c)===l.getKey(i)))&&!a.every(i=>l.modelValue.value.find(c=>l.getKey(c)===l.getKey(i)))}else return l.propagateSelect.value&&v.value&&S.value&&Array.isArray(l.modelValue.value)?!W(l.getChildren(b.value)||[]).every(i=>l.modelValue.value.find(c=>l.getKey(c)===l.getKey(i))):void 0});function x(a){if(S.value)if(p.value){const i=g().map(m=>m.ref),c=U(),r=i.indexOf(c),o=[...i].slice(r).find(m=>Number(m.getAttribute("data-indent"))===b.level+1);o&&o.focus()}else C(a)}function A(a){if(p.value)C(a);else{const i=g().map(m=>m.ref),c=U(),r=i.indexOf(c),o=[...i].slice(0,r).reverse().find(m=>Number(m.getAttribute("data-indent"))===b.level-1);o&&o.focus()}}async function R(a){B("select",a),!a?.defaultPrevented&&l.onSelect(b.value)}async function q(a){B("toggle",a),!a?.defaultPrevented&&l.onToggle(b.value)}async function d(a){if(!a)return;const i={originalEvent:a,value:b.value,isExpanded:p.value,isSelected:v.value};Y(we,R,i)}async function C(a){if(!a)return;const i={originalEvent:a,value:b.value,isExpanded:p.value,isSelected:v.value};Y(Be,q,i)}return K({isExpanded:p,isSelected:v,isIndeterminate:I,handleToggle:()=>l.onToggle(b.value),handleSelect:()=>l.onSelect(b.value)}),(a,i)=>(_(),O(s(Ke),{"as-child":"",value:a.value,"allow-shift-key":""},{default:P(()=>[V(s(ae),ne(a.$attrs,{role:"treeitem",as:a.as,"as-child":a.asChild,"aria-selected":v.value,"aria-expanded":S.value?p.value:void 0,"aria-level":a.level,"data-indent":a.level,"data-selected":v.value?"":void 0,"data-expanded":p.value?"":void 0,onKeydown:[M(D(d,["self","prevent"]),["enter","space"]),i[0]||(i[0]=M(D(c=>s(l).dir.value==="ltr"?x(c):A(c),["prevent"]),["right"])),i[1]||(i[1]=M(D(c=>s(l).dir.value==="ltr"?A(c):x(c),["prevent"]),["left"]))],onClick:i[2]||(i[2]=D(c=>{d(c),C(c)},["stop"]))}),{default:P(()=>[te(a.$slots,"default",{isExpanded:p.value,isSelected:v.value,isIndeterminate:I.value,handleSelect:()=>s(l).onSelect(a.value),handleToggle:()=>s(l).onToggle(a.value)})]),_:3},16,["as","as-child","aria-selected","aria-expanded","aria-level","data-indent","data-selected","data-expanded","onKeydown"])]),_:3},8,["value"]))}}),Ve=Re;const Le={slots:{root:"relative lg:h-[450px] my-5 grid lg:grid-cols-3 border border-muted rounded-md",list:"isolate relative p-2 border-b lg:border-b-0 lg:border-e border-muted overflow-y-auto",item:"",listWithChildren:"ms-4.5 border-s border-default",itemWithChildren:"ps-1.5 -ms-px",link:"relative group peer w-full px-2.5 py-1.5 before:inset-y-px before:inset-x-0 flex items-center gap-1.5 text-sm before:absolute before:z-[-1] before:rounded-md focus:outline-none focus-visible:outline-none focus-visible:before:ring-inset focus-visible:before:ring-2",linkLeadingIcon:"size-4 shrink-0",linkLabel:"truncate",linkTrailing:"ms-auto inline-flex gap-1.5 items-center",linkTrailingIcon:"size-5 transform transition-transform duration-200 shrink-0 group-data-expanded:rotate-180",content:"overflow-hidden lg:col-span-2 flex flex-col [&>div]:my-0 [&>div]:flex-1 [&>div]:flex [&>div]:flex-col [&>div>div]:border-0 [&>div>pre]:border-b-0 [&>div>pre]:border-s-0 [&>div>pre]:border-e-0 [&>div>pre]:rounded-l-none [&>div>pre]:flex-1 [&>div]:overflow-y-auto"},variants:{active:{true:{link:"text-highlighted before:bg-elevated"},false:{link:["hover:text-highlighted hover:before:bg-elevated/50","transition-colors before:transition-colors"]}}}},je=Object.assign({inheritAttrs:!1},{__name:"ProseCodeTree",props:{items:{type:Array,required:!1},modelValue:{type:String,required:!1},defaultValue:{type:String,required:!1},expandAll:{type:Boolean,required:!1},class:{type:null,required:!1},ui:{type:Object,required:!1}},emits:["update:modelValue"],setup(f,{emit:K}){const e=f,b=K,B=ge(),l=he(),g=ye("prose.codeTree",e),[S,p]=be(),v=w(()=>X({extend:X(Le),...l.ui?.prose?.codeTree||{}})()),I=e.modelValue??e.defaultValue,x=L(I?{path:I}:void 0),A=L();F(x,r=>{r?.path!==e.modelValue&&b("update:modelValue",r?.path)}),F(()=>e.modelValue,r=>{if(r===x.value?.path)return;x.value=r?{path:r}:void 0;const u=i(r);for(const o of u)c.value.includes(o)||c.value.push(o)});const R=L(1),q=w(()=>(R.value,e.items||B.default?.()?.flatMap(a).filter(Boolean)||[])),d=w(()=>C(q.value));function C(r){const u=new Map,o=[];r.forEach(h=>{const t=h.label.split("/");let n="";t.forEach((k,y)=>{if(n=n?`${n}/${k}`:k,!u.has(n)){const T={label:k,path:n,...yh.sort((t,n)=>!!t.children==!!n.children?t.label.localeCompare(n.label):n.children?1:-1).map(t=>({...t,children:t.children&&m(t.children)}));return m(o)}function a(r,u){return typeof r.type=="symbol"?r.children?.map(a):{label:r.props?.filename||r.props?.label||`${u}`,icon:r.props?.icon,component:r}}function i(r){if(e.expandAll){const o=new Set;return q.value.forEach(m=>{const h=m.label.split("/");for(let t=1;tu.slice(0,m+1).join("/"))}const c=L(i(x.value?.path));return F(q,(r,u)=>{if(!e.expandAll)return;const o=r.map(h=>h.label).join(` `),m=u?.map(h=>h.label).join(` `)??"";o!==m&&(c.value=i())}),F(x,r=>{const u=q.value.find(o=>r?.path===o.label);u?.component&&(A.value=u)},{immediate:!0}),xe(()=>R.value++),(r,u)=>(_(),$(J,null,[V(s(S),null,{default:P(({items:o,level:m})=>[(_(!0),$(J,null,Ce(o,(h,t)=>(_(),$("li",{key:`${m}-${t}`,role:"presentation",class:E(m>1?v.value.itemWithChildren({class:s(g)?.itemWithChildren}):v.value.item({class:s(g)?.item}))},[V(s(Ve),{level:m,value:h,"as-child":""},{default:P(({isExpanded:n,isSelected:k})=>[N("button",{type:"button",class:E(v.value.link({class:s(g)?.link,active:k}))},[h.children?.length?(_(),O(Z,{key:0,name:n?s(l).ui.icons.folderOpen:s(l).ui.icons.folder,class:E(v.value.linkLeadingIcon({class:s(g)?.linkLeadingIcon}))},null,8,["name","class"])):(_(),O(Se,{key:1,filename:h.label,class:E(v.value.linkLeadingIcon({class:s(g)?.linkLeadingIcon}))},null,8,["filename","class"])),N("span",{class:E(v.value.linkLabel({class:s(g)?.linkLabel}))},Te(h.label),3),h.children?.length?(_(),$("span",{key:2,class:E(v.value.linkTrailing({class:s(g)?.linkTrailing}))},[V(Z,{name:s(l).ui.icons.chevronDown,class:E(v.value.linkTrailingIcon({class:s(g)?.linkTrailingIcon}))},null,8,["name","class"])],2)):ee("",!0)],2),h.children?.length&&n?(_(),$("ul",{key:0,role:"group",class:E(v.value.listWithChildren({class:s(g)?.listWithChildren}))},[V(s(p),{items:h.children,level:m+1},null,8,["items","level"])],2)):ee("",!0)]),_:2},1032,["level","value"])],2))),128))]),_:1}),N("div",ne(r.$attrs,{class:v.value.root({class:[s(g)?.root,e.class]})}),[V(s(qe),{modelValue:x.value,"onUpdate:modelValue":u[0]||(u[0]=o=>x.value=o),expanded:c.value,"onUpdate:expanded":u[1]||(u[1]=o=>c.value=o),class:E(v.value.list({class:s(g)?.list})),items:d.value,"get-key":o=>o.path},{default:P(()=>[V(s(p),{items:d.value,level:1},null,8,["items"])]),_:1},8,["modelValue","expanded","class","items","get-key"]),N("div",{class:E(v.value.content({class:s(g)?.content}))},[(_(),O(ke(A.value?.component)))],2)],16)],64))}});export{je as default}; diff --git a/assets/BMvmZwTJ.js b/assets/Bo7dFHxP.js similarity index 89% rename from assets/BMvmZwTJ.js rename to assets/Bo7dFHxP.js index ac41351..762ad2a 100644 --- a/assets/BMvmZwTJ.js +++ b/assets/Bo7dFHxP.js @@ -1 +1 @@ -import{a0 as c,a1 as i,e as l,q as p,ac as u,s as m,c as d,am as a,o as f,ah as b,ag as g}from"./Sa-_S7_w.js";const y={base:"*:first:mt-0 *:last:mb-0 *:my-1.5"},I={__name:"ProseTabsItem",props:{label:{type:String,required:!0},description:{type:String,required:!1},class:{type:null,required:!1},ui:{type:Object,required:!1}},setup(e){const s=e,t=c(),r=i("prose.tabsItem",s),o=d(()=>a({extend:a(y),...t.ui?.prose?.tabsItem||{}}));return(n,q)=>(f(),l("div",{class:u(o.value({class:[m(r)?.base,s.class]}))},[p(n.$slots,"default",{},()=>[b(g(e.description),1)])],2))}};export{I as default}; +import{a0 as c,a1 as i,e as l,q as p,ac as u,s as m,c as d,am as a,o as f,ah as b,ag as g}from"./DklXDfzJ.js";const y={base:"*:first:mt-0 *:last:mb-0 *:my-1.5"},I={__name:"ProseTabsItem",props:{label:{type:String,required:!0},description:{type:String,required:!1},class:{type:null,required:!1},ui:{type:Object,required:!1}},setup(e){const s=e,t=c(),r=i("prose.tabsItem",s),o=d(()=>a({extend:a(y),...t.ui?.prose?.tabsItem||{}}));return(n,q)=>(f(),l("div",{class:u(o.value({class:[m(r)?.base,s.class]}))},[p(n.$slots,"default",{},()=>[b(g(e.description),1)])],2))}};export{I as default}; diff --git a/assets/CumI3Y8A.js b/assets/Bw2iW2wh.js similarity index 85% rename from assets/CumI3Y8A.js rename to assets/Bw2iW2wh.js index 7d629eb..cd6ac87 100644 --- a/assets/CumI3Y8A.js +++ b/assets/Bw2iW2wh.js @@ -1 +1 @@ -import{a0 as c,a1 as n,e as p,q as u,ac as m,s as i,c as d,am as s,o as f}from"./Sa-_S7_w.js";const _={base:"list-decimal ps-6 my-5 marker:text-muted"},k={__name:"ProseOl",props:{class:{type:null,required:!1},ui:{type:Object,required:!1}},setup(a){const e=a,o=c(),t=n("prose.ol",e),l=d(()=>s({extend:s(_),...o.ui?.prose?.ol||{}}));return(r,C)=>(f(),p("ol",{class:m(l.value({class:[i(t)?.base,e.class]}))},[u(r.$slots,"default")],2))}};export{k as default}; +import{a0 as c,a1 as n,e as p,q as u,ac as m,s as i,c as d,am as s,o as f}from"./DklXDfzJ.js";const _={base:"list-decimal ps-6 my-5 marker:text-muted"},k={__name:"ProseOl",props:{class:{type:null,required:!1},ui:{type:Object,required:!1}},setup(a){const e=a,o=c(),t=n("prose.ol",e),l=d(()=>s({extend:s(_),...o.ui?.prose?.ol||{}}));return(r,C)=>(f(),p("ol",{class:m(l.value({class:[i(t)?.base,e.class]}))},[u(r.$slots,"default")],2))}};export{k as default}; diff --git a/assets/Ce74DA75.js b/assets/ByiZ1TIZ.js similarity index 84% rename from assets/Ce74DA75.js rename to assets/ByiZ1TIZ.js index 792568d..4be3452 100644 --- a/assets/Ce74DA75.js +++ b/assets/ByiZ1TIZ.js @@ -1 +1 @@ -import{a0 as c,a1 as n,e as p,ac as l,s as u,c as i,am as s,o as m}from"./Sa-_S7_w.js";const f={base:"border-t border-default my-12"},h={__name:"ProseHr",props:{class:{type:null,required:!1},ui:{type:Object,required:!1}},setup(a){const e=a,r=c(),o=n("prose.hr",e),t=i(()=>s({extend:s(f),...r.ui?.prose?.hr||{}}));return(d,_)=>(m(),p("hr",{class:l(t.value({class:[u(o)?.base,e.class]}))},null,2))}};export{h as default}; +import{a0 as c,a1 as n,e as p,ac as l,s as u,c as i,am as s,o as m}from"./DklXDfzJ.js";const f={base:"border-t border-default my-12"},h={__name:"ProseHr",props:{class:{type:null,required:!1},ui:{type:Object,required:!1}},setup(a){const e=a,r=c(),o=n("prose.hr",e),t=i(()=>s({extend:s(f),...r.ui?.prose?.hr||{}}));return(d,_)=>(m(),p("hr",{class:l(t.value({class:[u(o)?.base,e.class]}))},null,2))}};export{h as default}; diff --git a/assets/Bq3ieHZ5.js b/assets/C4Bgkocn.js similarity index 99% rename from assets/Bq3ieHZ5.js rename to assets/C4Bgkocn.js index 1cb2e35..299ad1d 100644 --- a/assets/Bq3ieHZ5.js +++ b/assets/C4Bgkocn.js @@ -1,4 +1,4 @@ -import{c as B,t as se,u as Pt,d as ne,w as ge,o as C,a as D,m as H,V as Vt,b as je,e as V,f as Y,F as ae,r as me,i as Ht,g as Nt,h as we,j as jt,k as Wt,l as yt,n as xe,p as K,q as N,s as c,P as ce,v as ee,x as _e,y as Gt,z as We,A as bt,B as X,C as ve,D as Ge,E as Ut,G as Yt,H as Xt,I as xt,J as At,K as Qt,L as Jt,M as Je,N as Zt,O as es,Q as Ue,R as ts,S as ss,T as is,U as ns,W as ls,X as as,Y as rs,Z as te,_ as St,$ as Ct,a0 as Et,a1 as It,a2 as os,a3 as De,a4 as us,a5 as cs,a6 as Lt,a7 as ds,a8 as hs,a9 as Oe,aa as fs,ab as Ae,ac as q,ad as ps,ae as ms,af as Ze,ag as fe,ah as ke,ai as gs,aj as wt,ak as et,al as Ke,am as Ee,an as vs,ao as Re,ap as ys,aq as bs,ar as xs,as as As,at as Ss,au as Cs,av as tt,aw as st,ax as it,ay as Es,az as Is,aA as Ls}from"./Sa-_S7_w.js";import{f as Ce}from"./BLM-gHsq.js";import{_ as ws}from"./DXTdElLG.js";function Fs(i){return B(()=>se(i)?!!Pt(i)?.closest("form"):!0)}function Ms(){return{ALT:"Alt",ARROW_DOWN:"ArrowDown",ARROW_LEFT:"ArrowLeft",ARROW_RIGHT:"ArrowRight",ARROW_UP:"ArrowUp",BACKSPACE:"Backspace",CAPS_LOCK:"CapsLock",CONTROL:"Control",DELETE:"Delete",END:"End",ENTER:"Enter",ESCAPE:"Escape",F1:"F1",F10:"F10",F11:"F11",F12:"F12",F2:"F2",F3:"F3",F4:"F4",F5:"F5",F6:"F6",F7:"F7",F8:"F8",F9:"F9",HOME:"Home",META:"Meta",PAGE_DOWN:"PageDown",PAGE_UP:"PageUp",SHIFT:"Shift",SPACE:" ",TAB:"Tab",CTRL:"Control",ASTERISK:"*",SPACE_CODE:"Space"}}var _s=ne({inheritAttrs:!1,__name:"VisuallyHiddenInputBubble",props:{name:{type:String,required:!0},value:{type:null,required:!0},checked:{type:Boolean,required:!1,default:void 0},required:{type:Boolean,required:!1},disabled:{type:Boolean,required:!1},feature:{type:String,required:!1,default:"fully-hidden"}},setup(i){const t=i,{primitiveElement:e,currentElement:s}=je(),n=B(()=>t.checked??t.value);return ge(n,(l,a)=>{if(!s.value)return;const r=s.value,o=window.HTMLInputElement.prototype,f=Object.getOwnPropertyDescriptor(o,"value").set;if(f&&l!==a){const g=new Event("input",{bubbles:!0}),u=new Event("change",{bubbles:!0});f.call(r,l),r.dispatchEvent(g),r.dispatchEvent(u)}}),(l,a)=>(C(),D(Vt,H({ref_key:"primitiveElement",ref:e},{...t,...l.$attrs},{as:"input"}),null,16))}}),nt=_s,ks=ne({inheritAttrs:!1,__name:"VisuallyHiddenInput",props:{name:{type:String,required:!0},value:{type:null,required:!0},checked:{type:Boolean,required:!1,default:void 0},required:{type:Boolean,required:!1},disabled:{type:Boolean,required:!1},feature:{type:String,required:!1,default:"fully-hidden"}},setup(i){const t=i,e=B(()=>typeof t.value=="object"&&Array.isArray(t.value)&&t.value.length===0&&t.required),s=B(()=>typeof t.value=="string"||typeof t.value=="number"||typeof t.value=="boolean"||t.value===null||t.value===void 0?[{name:t.name,value:t.value}]:typeof t.value=="object"&&Array.isArray(t.value)?t.value.flatMap((n,l)=>typeof n=="object"?Object.entries(n).map(([a,r])=>({name:`${t.name}[${l}][${a}]`,value:r})):{name:`${t.name}[${l}]`,value:n}):t.value!==null&&typeof t.value=="object"&&!Array.isArray(t.value)?Object.entries(t.value).map(([n,l])=>({name:`${t.name}[${n}]`,value:l})):[]);return(n,l)=>(C(),V(ae,null,[Y(" We render single input if it's required "),e.value?(C(),D(nt,H({key:n.name},{...t,...n.$attrs},{name:n.name,value:n.value}),null,16,["name","value"])):(C(!0),V(ae,{key:1},me(s.value,a=>(C(),D(nt,H({key:a.name},{ref_for:!0},{...t,...n.$attrs},{name:a.name,value:a.value}),null,16,["name","value"]))),128))],2112))}}),Bs=ks;function lt(i){return i?.querySelector("[data-state=checked]")}function zs(i,t,e){return i===void 0?!1:Array.isArray(i)?i.some(s=>re(s,t,e)):re(i,t,e)}function re(i,t,e){return i===void 0||t===void 0?!1:typeof i=="string"?i===t:typeof e=="function"?e(i,t):typeof e=="string"?i?.[e]===t?.[e]:Ht(i,t)}const[Fe,Ts]=We("ListboxRoot");var Ds=ne({__name:"ListboxRoot",props:{modelValue:{type:null,required:!1},defaultValue:{type:null,required:!1},multiple:{type:Boolean,required:!1},orientation:{type:String,required:!1,default:"vertical"},dir:{type:String,required:!1},disabled:{type:Boolean,required:!1},selectionBehavior:{type:String,required:!1,default:"toggle"},highlightOnHover:{type:Boolean,required:!1},by:{type:[String,Function],required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1},name:{type:String,required:!1},required:{type:Boolean,required:!1}},emits:["update:modelValue","highlight","entryFocus","leave"],setup(i,{expose:t,emit:e}){const s=i,n=e,{multiple:l,highlightOnHover:a,orientation:r,disabled:o,selectionBehavior:p,dir:f}=Nt(s),{getItems:g}=we({isProvider:!0}),{handleTypeaheadSearch:u}=jt(),{primitiveElement:d,currentElement:m}=je(),v=Ms(),x=Wt(f),E=Fs(m),I=ee(),O=ee(!1),k=ee(!0),F=yt(s,"modelValue",n,{defaultValue:s.defaultValue??(l.value?[]:void 0),passive:s.modelValue===void 0,deep:!0});function J(y){if(O.value=!0,s.multiple){const w=Array.isArray(F.value)?[...F.value]:[],M=w.findIndex(P=>re(P,y,s.by));s.selectionBehavior==="toggle"?(M===-1?w.push(y):w.splice(M,1),F.value=w):(F.value=[y],I.value=y)}else s.selectionBehavior==="toggle"&&re(F.value,y,s.by)?F.value=void 0:F.value=y;setTimeout(()=>{O.value=!1},1)}const b=ee(null),z=ee(null),R=ee(!1),W=ee(!1),Z=_e(),G=_e(),L=_e();function _(){return g().map(y=>y.ref).filter(y=>y.dataset.disabled!=="")}function h(y,w=!0){if(!y)return;b.value=y,k.value&&b.value.focus(),w&&b.value.scrollIntoView({block:"nearest"});const M=g().find(P=>P.ref===y);n("highlight",M)}function $(y){if(R.value)L.trigger(y);else{const w=g().find(M=>re(M.value,y,s.by));w&&(b.value=w.ref,h(w.ref))}}function A(y){b.value&&b.value.isConnected&&(y.preventDefault(),y.stopPropagation(),W.value||b.value.click())}function T(y){if(k.value){if(O.value=!0,R.value)G.trigger(y);else{const w=y.altKey||y.ctrlKey||y.metaKey;if(w&&y.key==="a"&&l.value){const M=g(),P=M.map(he=>he.value);F.value=[...P],y.preventDefault(),h(M[M.length-1].ref)}else if(!w){const M=u(y.key,g());M&&h(M)}}setTimeout(()=>{O.value=!1},1)}}function U(){W.value=!0}function j(){xe(()=>{W.value=!1})}function de(){xe(()=>{const y=new KeyboardEvent("keydown",{key:"PageUp"});Xe(y)})}function Me(y){const w=b.value;w?.isConnected&&(z.value=w),b.value=null,n("leave",y)}function Rt(y){const w=new CustomEvent("listbox.entryFocus",{bubbles:!1,cancelable:!0});if(y.currentTarget?.dispatchEvent(w),n("entryFocus",w),!w.defaultPrevented)if(z.value)h(z.value);else{const M=_()?.[0];h(M)}}function Xe(y){const w=Gt(y,r.value,x.value);if(!w)return;let M=_();if(b.value){if(w==="last")M.reverse();else if(w==="prev"||w==="next"){w==="prev"&&M.reverse();const P=M.indexOf(b.value);M=M.slice(P+1)}qt(y,M[0])}if(M.length){const P=!b.value&&w==="prev"?M.length-1:0;h(M[P])}if(R.value)return G.trigger(y)}function qt(y,w){if(!(R.value||s.selectionBehavior!=="replace"||!l.value||!Array.isArray(F.value)||(y.altKey||y.ctrlKey||y.metaKey)&&!y.shiftKey)&&y.shiftKey){const P=g().filter(be=>be.ref.dataset.disabled!=="");let he=P.find(be=>be.ref===w)?.value;if(y.key===v.END?he=P[P.length-1].value:y.key===v.HOME&&(he=P[0].value),!he||!I.value)return;const $t=Ce(P.map(be=>be.value),I.value,he);F.value=$t}}async function Qe(y){if(await xe(),R.value)Z.trigger(y);else{const w=_(),M=w.find(P=>P.dataset.state==="checked");M?h(M):w.length&&h(w[0])}}return ge(F,()=>{O.value||xe(()=>{Qe()})},{immediate:!0,deep:!0}),t({highlightedElement:b,highlightItem:$,highlightFirstItem:de,highlightSelected:Qe,getItems:g}),Ts({modelValue:F,onValueChange:J,multiple:l,orientation:r,dir:x,disabled:o,highlightOnHover:a,highlightedElement:b,isVirtual:R,virtualFocusHook:Z,virtualKeydownHook:G,virtualHighlightHook:L,by:s.by,firstValue:I,selectionBehavior:p,focusable:k,onLeave:Me,onEnter:Rt,changeHighlight:h,onKeydownEnter:A,onKeydownNavigation:Xe,onKeydownTypeAhead:T,onCompositionStart:U,onCompositionEnd:j,highlightFirstItem:de}),(y,w)=>(C(),D(c(ce),{ref_key:"primitiveElement",ref:d,as:y.as,"as-child":y.asChild,dir:c(x),"data-disabled":c(o)?"":void 0,onPointerleave:Me,onFocusout:w[0]||(w[0]=async M=>{const P=M.relatedTarget||M.target;await xe(),b.value&&c(m)&&!c(m).contains(P)&&Me(M)})},{default:K(()=>[N(y.$slots,"default",{modelValue:c(F)}),c(E)&&y.name?(C(),D(c(Bs),{key:0,name:y.name,value:c(F),disabled:c(o),required:y.required},null,8,["name","value","disabled","required"])):Y("v-if",!0)]),_:3},8,["as","as-child","dir","data-disabled"]))}}),Os=Ds,Ks=ne({__name:"ListboxContent",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(i){const{CollectionSlot:t}=we(),e=Fe(),s=bt(!1,10);return(n,l)=>(C(),D(c(t),null,{default:K(()=>[X(c(ce),{role:"listbox",as:n.as,"as-child":n.asChild,tabindex:c(e).focusable.value?c(e).highlightedElement.value?"-1":"0":"-1","aria-orientation":c(e).orientation.value,"aria-multiselectable":!!c(e).multiple.value,"data-orientation":c(e).orientation.value,onMousedown:l[0]||(l[0]=Ge(a=>s.value=!0,["left"])),onFocus:l[1]||(l[1]=a=>{c(s)||c(e).onEnter(a)}),onKeydown:[l[2]||(l[2]=ve(a=>{c(e).orientation.value==="vertical"&&(a.key==="ArrowLeft"||a.key==="ArrowRight")||c(e).orientation.value==="horizontal"&&(a.key==="ArrowUp"||a.key==="ArrowDown")||(a.preventDefault(),c(e).focusable.value&&c(e).onKeydownNavigation(a))},["down","up","left","right","home","end"])),ve(c(e).onKeydownEnter,["enter"]),c(e).onKeydownTypeAhead]},{default:K(()=>[N(n.$slots,"default")]),_:3},8,["as","as-child","tabindex","aria-orientation","aria-multiselectable","data-orientation","onKeydown"])]),_:3}))}}),Rs=Ks,qs=ne({__name:"ListboxFilter",props:{modelValue:{type:String,required:!1},autoFocus:{type:Boolean,required:!1},disabled:{type:Boolean,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"input"}},emits:["update:modelValue"],setup(i,{emit:t}){const e=i,n=yt(e,"modelValue",t,{defaultValue:"",passive:e.modelValue===void 0}),l=Fe(),{primitiveElement:a,currentElement:r}=je(),o=B(()=>e.disabled||l.disabled.value||!1),p=ee();return Ut(()=>p.value=l.highlightedElement.value?.id),Yt(()=>{l.focusable.value=!1,setTimeout(()=>{e.autoFocus&&r.value?.focus()},1)}),Xt(()=>{l.focusable.value=!0}),(f,g)=>(C(),D(c(ce),{ref_key:"primitiveElement",ref:a,as:f.as,"as-child":f.asChild,value:c(n),disabled:o.value?"":void 0,"data-disabled":o.value?"":void 0,"aria-disabled":o.value??void 0,"aria-activedescendant":p.value,type:"text",onKeydown:[ve(Ge(c(l).onKeydownNavigation,["prevent"]),["down","up","home","end"]),ve(c(l).onKeydownEnter,["enter"])],onInput:g[0]||(g[0]=u=>{n.value=u.target.value,c(l).highlightFirstItem()}),onCompositionstart:c(l).onCompositionStart,onCompositionend:c(l).onCompositionEnd},{default:K(()=>[N(f.$slots,"default",{modelValue:c(n)})]),_:3},8,["as","as-child","value","disabled","data-disabled","aria-disabled","aria-activedescendant","onKeydown","onCompositionstart","onCompositionend"]))}}),$s=qs;const[Ps,Vs]=We("ListboxGroup");var Hs=ne({__name:"ListboxGroup",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(i){const t=i,e=xt(void 0,"reka-listbox-group");return Vs({id:e}),(s,n)=>(C(),D(c(ce),H({role:"group"},t,{"aria-labelledby":c(e)}),{default:K(()=>[N(s.$slots,"default")]),_:3},16,["aria-labelledby"]))}}),Ns=Hs,js=ne({__name:"ListboxGroupLabel",props:{for:{type:String,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"div"}},setup(i){const t=i,e=Ps({id:""});return(s,n)=>(C(),D(c(ce),H(t,{id:c(e).id}),{default:K(()=>[N(s.$slots,"default")]),_:3},16,["id"]))}}),Ws=js;const Gs="listbox.select",[Us,Ys]=We("ListboxItem");var Xs=ne({__name:"ListboxItem",props:{value:{type:null,required:!0},disabled:{type:Boolean,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"div"}},emits:["select"],setup(i,{emit:t}){const e=i,s=t,n=xt(void 0,"reka-listbox-item"),{CollectionItem:l}=we(),{forwardRef:a,currentElement:r}=At(),o=Fe(),p=B(()=>r.value===o.highlightedElement.value),f=B(()=>zs(o.modelValue.value,e.value,o.by)),g=B(()=>o.disabled.value||e.disabled);async function u(m){s("select",m),!m?.defaultPrevented&&!g.value&&m&&(o.onValueChange(e.value),o.changeHighlight(r.value))}function d(m){const v={originalEvent:m,value:e.value};Jt(Gs,u,v)}return Ys({isSelected:f}),(m,v)=>(C(),D(c(l),{value:m.value},{default:K(()=>[Qt([p.value,f.value],()=>X(c(ce),H({id:c(n)},m.$attrs,{ref:c(a),role:"option",tabindex:c(o).focusable.value?p.value?"0":"-1":-1,"aria-selected":f.value,as:m.as,"as-child":m.asChild,disabled:g.value?"":void 0,"data-disabled":g.value?"":void 0,"data-highlighted":p.value?"":void 0,"data-state":f.value?"checked":"unchecked",onClick:d,onKeydown:ve(Ge(d,["prevent"]),["space"]),onPointermove:v[0]||(v[0]=()=>{c(o).highlightedElement.value!==c(r)&&c(o).highlightOnHover.value&&!c(o).focusable.value&&c(o).changeHighlight(c(r),!1)})}),{default:K(()=>[N(m.$slots,"default")]),_:3},16,["id","tabindex","aria-selected","as","as-child","disabled","data-disabled","data-highlighted","data-state","onKeydown"]),v,1)]),_:3},8,["value"]))}}),Qs=Xs,Js=ne({__name:"ListboxItemIndicator",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"span"}},setup(i){const t=i;At();const e=Us();return(s,n)=>c(e).isSelected.value?(C(),D(c(ce),H({key:0,"aria-hidden":"true"},t),{default:K(()=>[N(s.$slots,"default")]),_:3},16)):Y("v-if",!0)}}),Zs=Js;function pe(i,t,e){let s=e.initialDeps??[],n,l=!0;function a(){var r,o,p;let f;e.key&&((r=e.debug)!=null&&r.call(e))&&(f=Date.now());const g=i();if(!(g.length!==s.length||g.some((m,v)=>s[v]!==m)))return n;s=g;let d;if(e.key&&((o=e.debug)!=null&&o.call(e))&&(d=Date.now()),n=t(...g),e.key&&((p=e.debug)!=null&&p.call(e))){const m=Math.round((Date.now()-f)*100)/100,v=Math.round((Date.now()-d)*100)/100,x=v/16,E=(I,O)=>{for(I=String(I);I.lengthse(i)?!!Pt(i)?.closest("form"):!0)}function Ms(){return{ALT:"Alt",ARROW_DOWN:"ArrowDown",ARROW_LEFT:"ArrowLeft",ARROW_RIGHT:"ArrowRight",ARROW_UP:"ArrowUp",BACKSPACE:"Backspace",CAPS_LOCK:"CapsLock",CONTROL:"Control",DELETE:"Delete",END:"End",ENTER:"Enter",ESCAPE:"Escape",F1:"F1",F10:"F10",F11:"F11",F12:"F12",F2:"F2",F3:"F3",F4:"F4",F5:"F5",F6:"F6",F7:"F7",F8:"F8",F9:"F9",HOME:"Home",META:"Meta",PAGE_DOWN:"PageDown",PAGE_UP:"PageUp",SHIFT:"Shift",SPACE:" ",TAB:"Tab",CTRL:"Control",ASTERISK:"*",SPACE_CODE:"Space"}}var _s=ne({inheritAttrs:!1,__name:"VisuallyHiddenInputBubble",props:{name:{type:String,required:!0},value:{type:null,required:!0},checked:{type:Boolean,required:!1,default:void 0},required:{type:Boolean,required:!1},disabled:{type:Boolean,required:!1},feature:{type:String,required:!1,default:"fully-hidden"}},setup(i){const t=i,{primitiveElement:e,currentElement:s}=je(),n=B(()=>t.checked??t.value);return ge(n,(l,a)=>{if(!s.value)return;const r=s.value,o=window.HTMLInputElement.prototype,f=Object.getOwnPropertyDescriptor(o,"value").set;if(f&&l!==a){const g=new Event("input",{bubbles:!0}),u=new Event("change",{bubbles:!0});f.call(r,l),r.dispatchEvent(g),r.dispatchEvent(u)}}),(l,a)=>(C(),D(Vt,H({ref_key:"primitiveElement",ref:e},{...t,...l.$attrs},{as:"input"}),null,16))}}),nt=_s,ks=ne({inheritAttrs:!1,__name:"VisuallyHiddenInput",props:{name:{type:String,required:!0},value:{type:null,required:!0},checked:{type:Boolean,required:!1,default:void 0},required:{type:Boolean,required:!1},disabled:{type:Boolean,required:!1},feature:{type:String,required:!1,default:"fully-hidden"}},setup(i){const t=i,e=B(()=>typeof t.value=="object"&&Array.isArray(t.value)&&t.value.length===0&&t.required),s=B(()=>typeof t.value=="string"||typeof t.value=="number"||typeof t.value=="boolean"||t.value===null||t.value===void 0?[{name:t.name,value:t.value}]:typeof t.value=="object"&&Array.isArray(t.value)?t.value.flatMap((n,l)=>typeof n=="object"?Object.entries(n).map(([a,r])=>({name:`${t.name}[${l}][${a}]`,value:r})):{name:`${t.name}[${l}]`,value:n}):t.value!==null&&typeof t.value=="object"&&!Array.isArray(t.value)?Object.entries(t.value).map(([n,l])=>({name:`${t.name}[${n}]`,value:l})):[]);return(n,l)=>(C(),V(ae,null,[Y(" We render single input if it's required "),e.value?(C(),D(nt,H({key:n.name},{...t,...n.$attrs},{name:n.name,value:n.value}),null,16,["name","value"])):(C(!0),V(ae,{key:1},me(s.value,a=>(C(),D(nt,H({key:a.name},{ref_for:!0},{...t,...n.$attrs},{name:a.name,value:a.value}),null,16,["name","value"]))),128))],2112))}}),Bs=ks;function lt(i){return i?.querySelector("[data-state=checked]")}function zs(i,t,e){return i===void 0?!1:Array.isArray(i)?i.some(s=>re(s,t,e)):re(i,t,e)}function re(i,t,e){return i===void 0||t===void 0?!1:typeof i=="string"?i===t:typeof e=="function"?e(i,t):typeof e=="string"?i?.[e]===t?.[e]:Ht(i,t)}const[Fe,Ts]=We("ListboxRoot");var Ds=ne({__name:"ListboxRoot",props:{modelValue:{type:null,required:!1},defaultValue:{type:null,required:!1},multiple:{type:Boolean,required:!1},orientation:{type:String,required:!1,default:"vertical"},dir:{type:String,required:!1},disabled:{type:Boolean,required:!1},selectionBehavior:{type:String,required:!1,default:"toggle"},highlightOnHover:{type:Boolean,required:!1},by:{type:[String,Function],required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1},name:{type:String,required:!1},required:{type:Boolean,required:!1}},emits:["update:modelValue","highlight","entryFocus","leave"],setup(i,{expose:t,emit:e}){const s=i,n=e,{multiple:l,highlightOnHover:a,orientation:r,disabled:o,selectionBehavior:p,dir:f}=Nt(s),{getItems:g}=we({isProvider:!0}),{handleTypeaheadSearch:u}=jt(),{primitiveElement:d,currentElement:m}=je(),v=Ms(),x=Wt(f),E=Fs(m),I=ee(),O=ee(!1),k=ee(!0),F=yt(s,"modelValue",n,{defaultValue:s.defaultValue??(l.value?[]:void 0),passive:s.modelValue===void 0,deep:!0});function J(y){if(O.value=!0,s.multiple){const w=Array.isArray(F.value)?[...F.value]:[],M=w.findIndex(P=>re(P,y,s.by));s.selectionBehavior==="toggle"?(M===-1?w.push(y):w.splice(M,1),F.value=w):(F.value=[y],I.value=y)}else s.selectionBehavior==="toggle"&&re(F.value,y,s.by)?F.value=void 0:F.value=y;setTimeout(()=>{O.value=!1},1)}const b=ee(null),z=ee(null),R=ee(!1),W=ee(!1),Z=_e(),G=_e(),L=_e();function _(){return g().map(y=>y.ref).filter(y=>y.dataset.disabled!=="")}function h(y,w=!0){if(!y)return;b.value=y,k.value&&b.value.focus(),w&&b.value.scrollIntoView({block:"nearest"});const M=g().find(P=>P.ref===y);n("highlight",M)}function $(y){if(R.value)L.trigger(y);else{const w=g().find(M=>re(M.value,y,s.by));w&&(b.value=w.ref,h(w.ref))}}function A(y){b.value&&b.value.isConnected&&(y.preventDefault(),y.stopPropagation(),W.value||b.value.click())}function T(y){if(k.value){if(O.value=!0,R.value)G.trigger(y);else{const w=y.altKey||y.ctrlKey||y.metaKey;if(w&&y.key==="a"&&l.value){const M=g(),P=M.map(he=>he.value);F.value=[...P],y.preventDefault(),h(M[M.length-1].ref)}else if(!w){const M=u(y.key,g());M&&h(M)}}setTimeout(()=>{O.value=!1},1)}}function U(){W.value=!0}function j(){xe(()=>{W.value=!1})}function de(){xe(()=>{const y=new KeyboardEvent("keydown",{key:"PageUp"});Xe(y)})}function Me(y){const w=b.value;w?.isConnected&&(z.value=w),b.value=null,n("leave",y)}function Rt(y){const w=new CustomEvent("listbox.entryFocus",{bubbles:!1,cancelable:!0});if(y.currentTarget?.dispatchEvent(w),n("entryFocus",w),!w.defaultPrevented)if(z.value)h(z.value);else{const M=_()?.[0];h(M)}}function Xe(y){const w=Gt(y,r.value,x.value);if(!w)return;let M=_();if(b.value){if(w==="last")M.reverse();else if(w==="prev"||w==="next"){w==="prev"&&M.reverse();const P=M.indexOf(b.value);M=M.slice(P+1)}qt(y,M[0])}if(M.length){const P=!b.value&&w==="prev"?M.length-1:0;h(M[P])}if(R.value)return G.trigger(y)}function qt(y,w){if(!(R.value||s.selectionBehavior!=="replace"||!l.value||!Array.isArray(F.value)||(y.altKey||y.ctrlKey||y.metaKey)&&!y.shiftKey)&&y.shiftKey){const P=g().filter(be=>be.ref.dataset.disabled!=="");let he=P.find(be=>be.ref===w)?.value;if(y.key===v.END?he=P[P.length-1].value:y.key===v.HOME&&(he=P[0].value),!he||!I.value)return;const $t=Ce(P.map(be=>be.value),I.value,he);F.value=$t}}async function Qe(y){if(await xe(),R.value)Z.trigger(y);else{const w=_(),M=w.find(P=>P.dataset.state==="checked");M?h(M):w.length&&h(w[0])}}return ge(F,()=>{O.value||xe(()=>{Qe()})},{immediate:!0,deep:!0}),t({highlightedElement:b,highlightItem:$,highlightFirstItem:de,highlightSelected:Qe,getItems:g}),Ts({modelValue:F,onValueChange:J,multiple:l,orientation:r,dir:x,disabled:o,highlightOnHover:a,highlightedElement:b,isVirtual:R,virtualFocusHook:Z,virtualKeydownHook:G,virtualHighlightHook:L,by:s.by,firstValue:I,selectionBehavior:p,focusable:k,onLeave:Me,onEnter:Rt,changeHighlight:h,onKeydownEnter:A,onKeydownNavigation:Xe,onKeydownTypeAhead:T,onCompositionStart:U,onCompositionEnd:j,highlightFirstItem:de}),(y,w)=>(C(),D(c(ce),{ref_key:"primitiveElement",ref:d,as:y.as,"as-child":y.asChild,dir:c(x),"data-disabled":c(o)?"":void 0,onPointerleave:Me,onFocusout:w[0]||(w[0]=async M=>{const P=M.relatedTarget||M.target;await xe(),b.value&&c(m)&&!c(m).contains(P)&&Me(M)})},{default:K(()=>[N(y.$slots,"default",{modelValue:c(F)}),c(E)&&y.name?(C(),D(c(Bs),{key:0,name:y.name,value:c(F),disabled:c(o),required:y.required},null,8,["name","value","disabled","required"])):Y("v-if",!0)]),_:3},8,["as","as-child","dir","data-disabled"]))}}),Os=Ds,Ks=ne({__name:"ListboxContent",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(i){const{CollectionSlot:t}=we(),e=Fe(),s=bt(!1,10);return(n,l)=>(C(),D(c(t),null,{default:K(()=>[X(c(ce),{role:"listbox",as:n.as,"as-child":n.asChild,tabindex:c(e).focusable.value?c(e).highlightedElement.value?"-1":"0":"-1","aria-orientation":c(e).orientation.value,"aria-multiselectable":!!c(e).multiple.value,"data-orientation":c(e).orientation.value,onMousedown:l[0]||(l[0]=Ge(a=>s.value=!0,["left"])),onFocus:l[1]||(l[1]=a=>{c(s)||c(e).onEnter(a)}),onKeydown:[l[2]||(l[2]=ve(a=>{c(e).orientation.value==="vertical"&&(a.key==="ArrowLeft"||a.key==="ArrowRight")||c(e).orientation.value==="horizontal"&&(a.key==="ArrowUp"||a.key==="ArrowDown")||(a.preventDefault(),c(e).focusable.value&&c(e).onKeydownNavigation(a))},["down","up","left","right","home","end"])),ve(c(e).onKeydownEnter,["enter"]),c(e).onKeydownTypeAhead]},{default:K(()=>[N(n.$slots,"default")]),_:3},8,["as","as-child","tabindex","aria-orientation","aria-multiselectable","data-orientation","onKeydown"])]),_:3}))}}),Rs=Ks,qs=ne({__name:"ListboxFilter",props:{modelValue:{type:String,required:!1},autoFocus:{type:Boolean,required:!1},disabled:{type:Boolean,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"input"}},emits:["update:modelValue"],setup(i,{emit:t}){const e=i,n=yt(e,"modelValue",t,{defaultValue:"",passive:e.modelValue===void 0}),l=Fe(),{primitiveElement:a,currentElement:r}=je(),o=B(()=>e.disabled||l.disabled.value||!1),p=ee();return Ut(()=>p.value=l.highlightedElement.value?.id),Yt(()=>{l.focusable.value=!1,setTimeout(()=>{e.autoFocus&&r.value?.focus()},1)}),Xt(()=>{l.focusable.value=!0}),(f,g)=>(C(),D(c(ce),{ref_key:"primitiveElement",ref:a,as:f.as,"as-child":f.asChild,value:c(n),disabled:o.value?"":void 0,"data-disabled":o.value?"":void 0,"aria-disabled":o.value??void 0,"aria-activedescendant":p.value,type:"text",onKeydown:[ve(Ge(c(l).onKeydownNavigation,["prevent"]),["down","up","home","end"]),ve(c(l).onKeydownEnter,["enter"])],onInput:g[0]||(g[0]=u=>{n.value=u.target.value,c(l).highlightFirstItem()}),onCompositionstart:c(l).onCompositionStart,onCompositionend:c(l).onCompositionEnd},{default:K(()=>[N(f.$slots,"default",{modelValue:c(n)})]),_:3},8,["as","as-child","value","disabled","data-disabled","aria-disabled","aria-activedescendant","onKeydown","onCompositionstart","onCompositionend"]))}}),$s=qs;const[Ps,Vs]=We("ListboxGroup");var Hs=ne({__name:"ListboxGroup",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(i){const t=i,e=xt(void 0,"reka-listbox-group");return Vs({id:e}),(s,n)=>(C(),D(c(ce),H({role:"group"},t,{"aria-labelledby":c(e)}),{default:K(()=>[N(s.$slots,"default")]),_:3},16,["aria-labelledby"]))}}),Ns=Hs,js=ne({__name:"ListboxGroupLabel",props:{for:{type:String,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"div"}},setup(i){const t=i,e=Ps({id:""});return(s,n)=>(C(),D(c(ce),H(t,{id:c(e).id}),{default:K(()=>[N(s.$slots,"default")]),_:3},16,["id"]))}}),Ws=js;const Gs="listbox.select",[Us,Ys]=We("ListboxItem");var Xs=ne({__name:"ListboxItem",props:{value:{type:null,required:!0},disabled:{type:Boolean,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"div"}},emits:["select"],setup(i,{emit:t}){const e=i,s=t,n=xt(void 0,"reka-listbox-item"),{CollectionItem:l}=we(),{forwardRef:a,currentElement:r}=At(),o=Fe(),p=B(()=>r.value===o.highlightedElement.value),f=B(()=>zs(o.modelValue.value,e.value,o.by)),g=B(()=>o.disabled.value||e.disabled);async function u(m){s("select",m),!m?.defaultPrevented&&!g.value&&m&&(o.onValueChange(e.value),o.changeHighlight(r.value))}function d(m){const v={originalEvent:m,value:e.value};Jt(Gs,u,v)}return Ys({isSelected:f}),(m,v)=>(C(),D(c(l),{value:m.value},{default:K(()=>[Qt([p.value,f.value],()=>X(c(ce),H({id:c(n)},m.$attrs,{ref:c(a),role:"option",tabindex:c(o).focusable.value?p.value?"0":"-1":-1,"aria-selected":f.value,as:m.as,"as-child":m.asChild,disabled:g.value?"":void 0,"data-disabled":g.value?"":void 0,"data-highlighted":p.value?"":void 0,"data-state":f.value?"checked":"unchecked",onClick:d,onKeydown:ve(Ge(d,["prevent"]),["space"]),onPointermove:v[0]||(v[0]=()=>{c(o).highlightedElement.value!==c(r)&&c(o).highlightOnHover.value&&!c(o).focusable.value&&c(o).changeHighlight(c(r),!1)})}),{default:K(()=>[N(m.$slots,"default")]),_:3},16,["id","tabindex","aria-selected","as","as-child","disabled","data-disabled","data-highlighted","data-state","onKeydown"]),v,1)]),_:3},8,["value"]))}}),Qs=Xs,Js=ne({__name:"ListboxItemIndicator",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"span"}},setup(i){const t=i;At();const e=Us();return(s,n)=>c(e).isSelected.value?(C(),D(c(ce),H({key:0,"aria-hidden":"true"},t),{default:K(()=>[N(s.$slots,"default")]),_:3},16)):Y("v-if",!0)}}),Zs=Js;function pe(i,t,e){let s=e.initialDeps??[],n,l=!0;function a(){var r,o,p;let f;e.key&&((r=e.debug)!=null&&r.call(e))&&(f=Date.now());const g=i();if(!(g.length!==s.length||g.some((m,v)=>s[v]!==m)))return n;s=g;let d;if(e.key&&((o=e.debug)!=null&&o.call(e))&&(d=Date.now()),n=t(...g),e.key&&((p=e.debug)!=null&&p.call(e))){const m=Math.round((Date.now()-f)*100)/100,v=Math.round((Date.now()-d)*100)/100,x=v/16,E=(I,O)=>{for(I=String(I);I.length{s=r},a}function at(i,t){if(i===void 0)throw new Error("Unexpected undefined");return i}const ei=(i,t)=>Math.abs(i-t)<1.01,ti=(i,t,e)=>{let s;return function(...n){i.clearTimeout(s),s=i.setTimeout(()=>t.apply(this,n),e)}},rt=i=>{const{offsetWidth:t,offsetHeight:e}=i;return{width:t,height:e}},si=i=>i,ii=i=>{const t=Math.max(i.startIndex-i.overscan,0),e=Math.min(i.endIndex+i.overscan,i.count-1),s=[];for(let n=t;n<=e;n++)s.push(n);return s},ni=(i,t)=>{const e=i.scrollElement;if(!e)return;const s=i.targetWindow;if(!s)return;const n=a=>{const{width:r,height:o}=a;t({width:Math.round(r),height:Math.round(o)})};if(n(rt(e)),!s.ResizeObserver)return()=>{};const l=new s.ResizeObserver(a=>{const r=()=>{const o=a[0];if(o?.borderBoxSize){const p=o.borderBoxSize[0];if(p){n({width:p.inlineSize,height:p.blockSize});return}}n(rt(e))};i.options.useAnimationFrameWithResizeObserver?requestAnimationFrame(r):r()});return l.observe(e,{box:"border-box"}),()=>{l.unobserve(e)}},ot={passive:!0},ut=typeof window>"u"?!0:"onscrollend"in window,li=(i,t)=>{const e=i.scrollElement;if(!e)return;const s=i.targetWindow;if(!s)return;let n=0;const l=i.options.useScrollendEvent&&ut?()=>{}:ti(s,()=>{t(n,!1)},i.options.isScrollingResetDelay),a=f=>()=>{const{horizontal:g,isRtl:u}=i.options;n=g?e.scrollLeft*(u&&-1||1):e.scrollTop,l(),t(n,f)},r=a(!0),o=a(!1);e.addEventListener("scroll",r,ot);const p=i.options.useScrollendEvent&&ut;return p&&e.addEventListener("scrollend",o,ot),()=>{e.removeEventListener("scroll",r),p&&e.removeEventListener("scrollend",o)}},ai=(i,t,e)=>{if(t?.borderBoxSize){const s=t.borderBoxSize[0];if(s)return Math.round(s[e.options.horizontal?"inlineSize":"blockSize"])}return i[e.options.horizontal?"offsetWidth":"offsetHeight"]},ri=(i,{adjustments:t=0,behavior:e},s)=>{var n,l;const a=i+t;(l=(n=s.scrollElement)==null?void 0:n.scrollTo)==null||l.call(n,{[s.options.horizontal?"left":"top"]:a,behavior:e})};class oi{constructor(t){this.unsubs=[],this.scrollElement=null,this.targetWindow=null,this.isScrolling=!1,this.scrollState=null,this.measurementsCache=[],this.itemSizeCache=new Map,this.laneAssignments=new Map,this.pendingMeasuredCacheIndexes=[],this.prevLanes=void 0,this.lanesChangedFlag=!1,this.lanesSettling=!1,this.scrollRect=null,this.scrollOffset=null,this.scrollDirection=null,this.scrollAdjustments=0,this.elementsCache=new Map,this.now=()=>{var e,s,n;return((n=(s=(e=this.targetWindow)==null?void 0:e.performance)==null?void 0:s.now)==null?void 0:n.call(s))??Date.now()},this.observer=(()=>{let e=null;const s=()=>e||(!this.targetWindow||!this.targetWindow.ResizeObserver?null:e=new this.targetWindow.ResizeObserver(n=>{n.forEach(l=>{const a=()=>{const r=l.target,o=this.indexFromElement(r);if(!r.isConnected){this.observer.unobserve(r);return}this.shouldMeasureDuringScroll(o)&&this.resizeItem(o,this.options.measureElement(r,l,this))};this.options.useAnimationFrameWithResizeObserver?requestAnimationFrame(a):a()})}));return{disconnect:()=>{var n;(n=s())==null||n.disconnect(),e=null},observe:n=>{var l;return(l=s())==null?void 0:l.observe(n,{box:"border-box"})},unobserve:n=>{var l;return(l=s())==null?void 0:l.unobserve(n)}}})(),this.range=null,this.setOptions=e=>{Object.entries(e).forEach(([s,n])=>{typeof n>"u"&&delete e[s]}),this.options={debug:!1,initialOffset:0,overscan:1,paddingStart:0,paddingEnd:0,scrollPaddingStart:0,scrollPaddingEnd:0,horizontal:!1,getItemKey:si,rangeExtractor:ii,onChange:()=>{},measureElement:ai,initialRect:{width:0,height:0},scrollMargin:0,gap:0,indexAttribute:"data-index",initialMeasurementsCache:[],lanes:1,isScrollingResetDelay:150,enabled:!0,isRtl:!1,useScrollendEvent:!1,useAnimationFrameWithResizeObserver:!1,...e}},this.notify=e=>{var s,n;(n=(s=this.options).onChange)==null||n.call(s,this,e)},this.maybeNotify=pe(()=>(this.calculateRange(),[this.isScrolling,this.range?this.range.startIndex:null,this.range?this.range.endIndex:null]),e=>{this.notify(e)},{key:!1,debug:()=>this.options.debug,initialDeps:[this.isScrolling,this.range?this.range.startIndex:null,this.range?this.range.endIndex:null]}),this.cleanup=()=>{this.unsubs.filter(Boolean).forEach(e=>e()),this.unsubs=[],this.observer.disconnect(),this.rafId!=null&&this.targetWindow&&(this.targetWindow.cancelAnimationFrame(this.rafId),this.rafId=null),this.scrollState=null,this.scrollElement=null,this.targetWindow=null},this._didMount=()=>()=>{this.cleanup()},this._willUpdate=()=>{var e;const s=this.options.enabled?this.options.getScrollElement():null;if(this.scrollElement!==s){if(this.cleanup(),!s){this.maybeNotify();return}this.scrollElement=s,this.scrollElement&&"ownerDocument"in this.scrollElement?this.targetWindow=this.scrollElement.ownerDocument.defaultView:this.targetWindow=((e=this.scrollElement)==null?void 0:e.window)??null,this.elementsCache.forEach(n=>{this.observer.observe(n)}),this.unsubs.push(this.options.observeElementRect(this,n=>{this.scrollRect=n,this.maybeNotify()})),this.unsubs.push(this.options.observeElementOffset(this,(n,l)=>{this.scrollAdjustments=0,this.scrollDirection=l?this.getScrollOffset()this.options.enabled?(this.scrollRect=this.scrollRect??this.options.initialRect,this.scrollRect[this.options.horizontal?"width":"height"]):(this.scrollRect=null,0),this.getScrollOffset=()=>this.options.enabled?(this.scrollOffset=this.scrollOffset??(typeof this.options.initialOffset=="function"?this.options.initialOffset():this.options.initialOffset),this.scrollOffset):(this.scrollOffset=null,0),this.getFurthestMeasurement=(e,s)=>{const n=new Map,l=new Map;for(let a=s-1;a>=0;a--){const r=e[a];if(n.has(r.lane))continue;const o=l.get(r.lane);if(o==null||r.end>o.end?l.set(r.lane,r):r.enda.end===r.end?a.index-r.index:a.end-r.end)[0]:void 0},this.getMeasurementOptions=pe(()=>[this.options.count,this.options.paddingStart,this.options.scrollMargin,this.options.getItemKey,this.options.enabled,this.options.lanes],(e,s,n,l,a,r)=>(this.prevLanes!==void 0&&this.prevLanes!==r&&(this.lanesChangedFlag=!0),this.prevLanes=r,this.pendingMeasuredCacheIndexes=[],{count:e,paddingStart:s,scrollMargin:n,getItemKey:l,enabled:a,lanes:r}),{key:!1}),this.getMeasurements=pe(()=>[this.getMeasurementOptions(),this.itemSizeCache],({count:e,paddingStart:s,scrollMargin:n,getItemKey:l,enabled:a,lanes:r},o)=>{if(!a)return this.measurementsCache=[],this.itemSizeCache.clear(),this.laneAssignments.clear(),[];if(this.laneAssignments.size>e)for(const u of this.laneAssignments.keys())u>=e&&this.laneAssignments.delete(u);this.lanesChangedFlag&&(this.lanesChangedFlag=!1,this.lanesSettling=!0,this.measurementsCache=[],this.itemSizeCache.clear(),this.laneAssignments.clear(),this.pendingMeasuredCacheIndexes=[]),this.measurementsCache.length===0&&!this.lanesSettling&&(this.measurementsCache=this.options.initialMeasurementsCache,this.measurementsCache.forEach(u=>{this.itemSizeCache.set(u.key,u.size)}));const p=this.lanesSettling?0:this.pendingMeasuredCacheIndexes.length>0?Math.min(...this.pendingMeasuredCacheIndexes):0;this.pendingMeasuredCacheIndexes=[],this.lanesSettling&&this.measurementsCache.length===e&&(this.lanesSettling=!1);const f=this.measurementsCache.slice(0,p),g=new Array(r).fill(void 0);for(let u=0;u1){v=m;const k=g[v],F=k!==void 0?f[k]:void 0;x=F?F.end+this.options.gap:s+n}else{const k=this.options.lanes===1?f[u-1]:this.getFurthestMeasurement(f,u);x=k?k.end+this.options.gap:s+n,v=k?k.lane:u%this.options.lanes,this.options.lanes>1&&this.laneAssignments.set(u,v)}const E=o.get(d),I=typeof E=="number"?E:this.options.estimateSize(u),O=x+I;f[u]={index:u,start:x,size:I,end:O,key:d,lane:v},g[v]=u}return this.measurementsCache=f,f},{key:!1,debug:()=>this.options.debug}),this.calculateRange=pe(()=>[this.getMeasurements(),this.getSize(),this.getScrollOffset(),this.options.lanes],(e,s,n,l)=>this.range=e.length>0&&s>0?ui({measurements:e,outerSize:s,scrollOffset:n,lanes:l}):null,{key:!1,debug:()=>this.options.debug}),this.getVirtualIndexes=pe(()=>{let e=null,s=null;const n=this.calculateRange();return n&&(e=n.startIndex,s=n.endIndex),this.maybeNotify.updateDeps([this.isScrolling,e,s]),[this.options.rangeExtractor,this.options.overscan,this.options.count,e,s]},(e,s,n,l,a)=>l===null||a===null?[]:e({startIndex:l,endIndex:a,overscan:s,count:n}),{key:!1,debug:()=>this.options.debug}),this.indexFromElement=e=>{const s=this.options.indexAttribute,n=e.getAttribute(s);return n?parseInt(n,10):(console.warn(`Missing attribute name '${s}={index}' on measured element.`),-1)},this.shouldMeasureDuringScroll=e=>{var s;if(!this.scrollState||this.scrollState.behavior!=="smooth")return!0;const n=this.scrollState.index??((s=this.getVirtualItemForOffset(this.scrollState.lastTargetOffset))==null?void 0:s.index);if(n!==void 0&&this.range){const l=Math.max(this.options.overscan,Math.ceil((this.range.endIndex-this.range.startIndex)/2)),a=Math.max(0,n-l),r=Math.min(this.options.count-1,n+l);return e>=a&&e<=r}return!0},this.measureElement=e=>{if(!e){this.elementsCache.forEach((a,r)=>{a.isConnected||(this.observer.unobserve(a),this.elementsCache.delete(r))});return}const s=this.indexFromElement(e),n=this.options.getItemKey(s),l=this.elementsCache.get(n);l!==e&&(l&&this.observer.unobserve(l),this.observer.observe(e),this.elementsCache.set(n,e)),(!this.isScrolling||this.scrollState)&&this.shouldMeasureDuringScroll(s)&&this.resizeItem(s,this.options.measureElement(e,void 0,this))},this.resizeItem=(e,s)=>{var n;const l=this.measurementsCache[e];if(!l)return;const a=this.itemSizeCache.get(l.key)??l.size,r=s-a;r!==0&&(((n=this.scrollState)==null?void 0:n.behavior)!=="smooth"&&(this.shouldAdjustScrollPositionOnItemSizeChange!==void 0?this.shouldAdjustScrollPositionOnItemSizeChange(l,r,this):l.start[this.getVirtualIndexes(),this.getMeasurements()],(e,s)=>{const n=[];for(let l=0,a=e.length;lthis.options.debug}),this.getVirtualItemForOffset=e=>{const s=this.getMeasurements();if(s.length!==0)return at(s[Ft(0,s.length-1,n=>at(s[n]).start,e)])},this.getMaxScrollOffset=()=>{if(!this.scrollElement)return 0;if("scrollHeight"in this.scrollElement)return this.options.horizontal?this.scrollElement.scrollWidth-this.scrollElement.clientWidth:this.scrollElement.scrollHeight-this.scrollElement.clientHeight;{const e=this.scrollElement.document.documentElement;return this.options.horizontal?e.scrollWidth-this.scrollElement.innerWidth:e.scrollHeight-this.scrollElement.innerHeight}},this.getOffsetForAlignment=(e,s,n=0)=>{if(!this.scrollElement)return 0;const l=this.getSize(),a=this.getScrollOffset();s==="auto"&&(s=e>=a+l?"end":"start"),s==="center"?e+=(n-l)/2:s==="end"&&(e-=l);const r=this.getMaxScrollOffset();return Math.max(Math.min(r,e),0)},this.getOffsetForIndex=(e,s="auto")=>{e=Math.max(0,Math.min(e,this.options.count-1));const n=this.getSize(),l=this.getScrollOffset(),a=this.measurementsCache[e];if(!a)return;if(s==="auto")if(a.end>=l+n-this.options.scrollPaddingEnd)s="end";else if(a.start<=l+this.options.scrollPaddingStart)s="start";else return[l,s];if(s==="end"&&e===this.options.count-1)return[this.getMaxScrollOffset(),s];const r=s==="end"?a.end+this.options.scrollPaddingEnd:a.start-this.options.scrollPaddingStart;return[this.getOffsetForAlignment(r,s,a.size),s]},this.scrollToOffset=(e,{align:s="start",behavior:n="auto"}={})=>{const l=this.getOffsetForAlignment(e,s),a=this.now();this.scrollState={index:null,align:s,behavior:n,startedAt:a,lastTargetOffset:l,stableFrames:0},this._scrollToOffset(l,{adjustments:void 0,behavior:n}),this.scheduleScrollReconcile()},this.scrollToIndex=(e,{align:s="auto",behavior:n="auto"}={})=>{e=Math.max(0,Math.min(e,this.options.count-1));const l=this.getOffsetForIndex(e,s);if(!l)return;const[a,r]=l,o=this.now();this.scrollState={index:e,align:r,behavior:n,startedAt:o,lastTargetOffset:a,stableFrames:0},this._scrollToOffset(a,{adjustments:void 0,behavior:n}),this.scheduleScrollReconcile()},this.scrollBy=(e,{behavior:s="auto"}={})=>{const n=this.getScrollOffset()+e,l=this.now();this.scrollState={index:null,align:"start",behavior:s,startedAt:l,lastTargetOffset:n,stableFrames:0},this._scrollToOffset(n,{adjustments:void 0,behavior:s}),this.scheduleScrollReconcile()},this.getTotalSize=()=>{var e;const s=this.getMeasurements();let n;if(s.length===0)n=this.options.paddingStart;else if(this.options.lanes===1)n=((e=s[s.length-1])==null?void 0:e.end)??0;else{const l=Array(this.options.lanes).fill(null);let a=s.length-1;for(;a>=0&&l.some(r=>r===null);){const r=s[a];l[r.lane]===null&&(l[r.lane]=r.end),a--}n=Math.max(...l.filter(r=>r!==null))}return Math.max(n-this.options.scrollMargin+this.options.paddingEnd,0)},this._scrollToOffset=(e,{adjustments:s,behavior:n})=>{this.options.scrollToFn(e,{behavior:n,adjustments:s},this)},this.measure=()=>{this.itemSizeCache=new Map,this.laneAssignments=new Map,this.notify(!1)},this.setOptions(t)}scheduleScrollReconcile(){if(!this.targetWindow){this.scrollState=null;return}this.rafId==null&&(this.rafId=this.targetWindow.requestAnimationFrame(()=>{this.rafId=null,this.reconcileScroll()}))}reconcileScroll(){if(!this.scrollState||!this.scrollElement)return;if(this.now()-this.scrollState.startedAt>5e3){this.scrollState=null;return}const s=this.scrollState.index!=null?this.getOffsetForIndex(this.scrollState.index,this.scrollState.align):void 0,n=s?s[0]:this.scrollState.lastTargetOffset,l=1,a=n!==this.scrollState.lastTargetOffset;if(!a&&ei(n,this.getScrollOffset())){if(this.scrollState.stableFrames++,this.scrollState.stableFrames>=l){this.scrollState=null;return}}else this.scrollState.stableFrames=0,a&&(this.scrollState.lastTargetOffset=n,this.scrollState.behavior="auto",this._scrollToOffset(n,{adjustments:void 0,behavior:"auto"}));this.scheduleScrollReconcile()}}const Ft=(i,t,e,s)=>{for(;i<=t;){const n=(i+t)/2|0,l=e(n);if(ls)t=n-1;else return n}return i>0?i-1:0};function ui({measurements:i,outerSize:t,scrollOffset:e,lanes:s}){const n=i.length-1,l=o=>i[o].start;if(i.length<=s)return{startIndex:0,endIndex:n};let a=Ft(0,n,l,e),r=a;if(s===1)for(;r1){const o=Array(s).fill(0);for(;rf=0&&p.some(f=>f>=e);){const f=i[a];p[f.lane]=f.start,a--}a=Math.max(0,a-a%s),r=Math.min(n,r+(s-1-r%s))}return{startIndex:a,endIndex:r}}function ci(i){const t=new oi(c(i)),e=es(t),s=t._didMount();return ge(()=>c(i).getScrollElement(),n=>{n&&t._willUpdate()},{immediate:!0}),ge(()=>c(i),n=>{t.setOptions({...n,onChange:(l,a)=>{var r;Je(e),(r=n.onChange)==null||r.call(n,l,a)}}),t._willUpdate(),Je(e)},{immediate:!0}),Zt(s),e}function di(i){return ci(B(()=>({observeElementRect:ni,observeElementOffset:li,scrollToFn:ri,...c(i)})))}var hi=ne({__name:"ListboxVirtualizer",props:{options:{type:Array,required:!0},overscan:{type:Number,required:!1},estimateSize:{type:[Number,Function],required:!1},textContent:{type:Function,required:!1}},setup(i){const t=i,e=Ue(),s=Fe(),n=ts(),{getItems:l}=we();s.isVirtual.value=!0;const a=B(()=>{const u=n.value;if(u){const d=window.getComputedStyle(u);return{start:Number.parseFloat(d.paddingBlockStart||d.paddingTop),end:Number.parseFloat(d.paddingBlockEnd||d.paddingBottom)}}else return{start:0,end:0}}),r=di({get scrollPaddingStart(){return a.value.start},get scrollPaddingEnd(){return a.value.end},get count(){return t.options.length},get horizontal(){return s.orientation.value==="horizontal"},estimateSize(u){return typeof t.estimateSize=="function"?t.estimateSize(u):t.estimateSize??28},getScrollElement(){return n.value},overscan:t.overscan??12}),o=B(()=>r.value.getVirtualItems().map(u=>{const d=e.default({option:t.options[u.index],virtualizer:r.value,virtualItem:u})[0],m=d.type===ae&&Array.isArray(d.children)?d.children[0]:d;return{item:u,is:rs(m,{key:`${u.key}`,"data-index":u.index,"aria-setsize":t.options.length,"aria-posinset":u.index+1,style:{position:"absolute",top:0,left:0,transform:`translateY(${u.start}px)`,overflowAnchor:"none"}})}}));s.virtualFocusHook.on(u=>{const d=t.options.findIndex(m=>Array.isArray(s.modelValue.value)?re(m,s.modelValue.value[0],s.by):re(m,s.modelValue.value,s.by));d!==-1?(u?.preventDefault(),r.value.scrollToIndex(d,{align:"start"}),requestAnimationFrame(()=>{const m=lt(n.value);m&&(s.changeHighlight(m),u&&m?.focus())})):s.highlightFirstItem()}),s.virtualHighlightHook.on(u=>{const d=t.options.findIndex(m=>re(m,u,s.by));r.value.scrollToIndex(d,{align:"start"}),requestAnimationFrame(()=>{const m=lt(n.value);m&&s.changeHighlight(m)})});const p=bt("",1e3),f=B(()=>{const u=d=>t.textContent?t.textContent(d):d?.toString().toLowerCase();return t.options.map((d,m)=>({index:m,textContent:u(d)}))});function g(u,d){if(!s.firstValue?.value||!s.multiple.value||!Array.isArray(s.modelValue.value))return;const v=l().filter(E=>E.ref.dataset.disabled!=="").find(E=>E.ref===s.highlightedElement.value)?.value;if(!v)return;let x=null;switch(d){case"prev":case"next":{x=Ce(t.options,s.firstValue.value,v);break}case"first":{x=Ce(t.options,s.firstValue.value,t.options?.[0]);break}case"last":{x=Ce(t.options,s.firstValue.value,t.options?.[t.options.length-1]);break}}s.modelValue.value=x}return s.virtualKeydownHook.on(u=>{const d=u.altKey||u.ctrlKey||u.metaKey;if(u.key==="Tab"&&!d)return;let v=ss[u.key];if(d&&u.key==="a"&&s.multiple.value?(u.preventDefault(),s.modelValue.value=[...t.options],v="last"):u.shiftKey&&v&&g(u,v),["first","last"].includes(v)){u.preventDefault();const x=v==="first"?0:t.options.length-1;r.value.scrollToIndex(x),requestAnimationFrame(()=>{const E=l(),I=v==="first"?E[0]:E[E.length-1];I&&s.changeHighlight(I.ref)})}else if(!v&&!d){p.value+=u.key;const x=Number(is()?.getAttribute("data-index")),E=f.value[x].textContent,I=f.value.map(F=>F.textContent??""),O=ns(I,p.value,E),k=f.value.find(F=>F.textContent===O);k&&(r.value.scrollToIndex(k.index,{align:"start"}),requestAnimationFrame(()=>{const F=n.value.querySelector(`[data-index="${k.index}"]`);F instanceof HTMLElement&&s.changeHighlight(F)}))}}),(u,d)=>(C(),V("div",{"data-reka-virtualizer":"",style:as({position:"relative",width:"100%",height:`${c(r).getTotalSize()}px`})},[(C(!0),V(ae,null,me(o.value,({is:m,item:v})=>(C(),D(ls(m),{key:v.index}))),128))],4))}}),fi=hi;function le(i){return Array.isArray?Array.isArray(i):kt(i)==="[object Array]"}function pi(i){if(typeof i=="string")return i;let t=i+"";return t=="0"&&1/i==-1/0?"-0":t}function mi(i){return i==null?"":pi(i)}function ie(i){return typeof i=="string"}function Mt(i){return typeof i=="number"}function gi(i){return i===!0||i===!1||vi(i)&&kt(i)=="[object Boolean]"}function _t(i){return typeof i=="object"}function vi(i){return _t(i)&&i!==null}function Q(i){return i!=null}function Be(i){return!i.trim().length}function kt(i){return i==null?i===void 0?"[object Undefined]":"[object Null]":Object.prototype.toString.call(i)}const yi="Incorrect 'index' type",bi=i=>`Invalid value for key ${i}`,xi=i=>`Pattern length exceeds max of ${i}.`,Ai=i=>`Missing ${i} property in key`,Si=i=>`Property 'weight' in key '${i}' must be a positive integer`,ct=Object.prototype.hasOwnProperty;class Ci{constructor(t){this._keys=[],this._keyMap={};let e=0;t.forEach(s=>{let n=Bt(s);this._keys.push(n),this._keyMap[n.id]=n,e+=n.weight}),this._keys.forEach(s=>{s.weight/=e})}get(t){return this._keyMap[t]}keys(){return this._keys}toJSON(){return JSON.stringify(this._keys)}}function Bt(i){let t=null,e=null,s=null,n=1,l=null;if(ie(i)||le(i))s=i,t=dt(i),e=qe(i);else{if(!ct.call(i,"name"))throw new Error(Ai("name"));const a=i.name;if(s=a,ct.call(i,"weight")&&(n=i.weight,n<=0))throw new Error(Si(a));t=dt(a),e=qe(a),l=i.getFn}return{path:t,id:e,weight:n,src:s,getFn:l}}function dt(i){return le(i)?i:i.split(".")}function qe(i){return le(i)?i.join("."):i}function Ei(i,t){let e=[],s=!1;const n=(l,a,r)=>{if(Q(l))if(!a[r])e.push(l);else{let o=a[r];const p=l[o];if(!Q(p))return;if(r===a.length-1&&(ie(p)||Mt(p)||gi(p)))e.push(mi(p));else if(le(p)){s=!0;for(let f=0,g=p.length;fi.score===t.score?i.idx{this._keysMap[e.id]=s})}create(){this.isCreated||!this.docs.length||(this.isCreated=!0,ie(this.docs[0])?this.docs.forEach((t,e)=>{this._addString(t,e)}):this.docs.forEach((t,e)=>{this._addObject(t,e)}),this.norm.clear())}add(t){const e=this.size();ie(t)?this._addString(t,e):this._addObject(t,e)}removeAt(t){this.records.splice(t,1);for(let e=t,s=this.size();e{let a=n.getFn?n.getFn(t):this.getFn(t,n.path);if(Q(a)){if(le(a)){let r=[];const o=[{nestedArrIndex:-1,value:a}];for(;o.length;){const{nestedArrIndex:p,value:f}=o.pop();if(Q(f))if(ie(f)&&!Be(f)){let g={v:f,i:p,n:this.norm.get(f)};r.push(g)}else le(f)&&f.forEach((g,u)=>{o.push({nestedArrIndex:u,value:g})})}s.$[l]=r}else if(ie(a)&&!Be(a)){let r={v:a,n:this.norm.get(a)};s.$[l]=r}}}),this.records.push(s)}toJSON(){return{keys:this.keys,records:this.records}}}function zt(i,t,{getFn:e=S.getFn,fieldNormWeight:s=S.fieldNormWeight}={}){const n=new Ye({getFn:e,fieldNormWeight:s});return n.setKeys(i.map(Bt)),n.setSources(t),n.create(),n}function ki(i,{getFn:t=S.getFn,fieldNormWeight:e=S.fieldNormWeight}={}){const{keys:s,records:n}=i,l=new Ye({getFn:t,fieldNormWeight:e});return l.setKeys(s),l.setIndexRecords(n),l}function Se(i,{errors:t=0,currentLocation:e=0,expectedLocation:s=0,distance:n=S.distance,ignoreLocation:l=S.ignoreLocation}={}){const a=t/i.length;if(l)return a;const r=Math.abs(s-e);return n?a+r/n:r?1:a}function Bi(i=[],t=S.minMatchCharLength){let e=[],s=-1,n=-1,l=0;for(let a=i.length;l=t&&e.push([s,n]),s=-1)}return i[l-1]&&l-s>=t&&e.push([s,l-1]),e}const ue=32;function zi(i,t,e,{location:s=S.location,distance:n=S.distance,threshold:l=S.threshold,findAllMatches:a=S.findAllMatches,minMatchCharLength:r=S.minMatchCharLength,includeMatches:o=S.includeMatches,ignoreLocation:p=S.ignoreLocation}={}){if(t.length>ue)throw new Error(xi(ue));const f=t.length,g=i.length,u=Math.max(0,Math.min(s,g));let d=l,m=u;const v=r>1||o,x=v?Array(g):[];let E;for(;(E=i.indexOf(t,m))>-1;){let b=Se(t,{currentLocation:E,expectedLocation:u,distance:n,ignoreLocation:p});if(d=Math.min(b,d),m=E+f,v){let z=0;for(;z=W;_-=1){let h=_-1,$=e[i.charAt(h)];if(v&&(x[h]=+!!$),G[_]=(G[_+1]<<1|1)&$,b&&(G[_]|=(I[_+1]|I[_])<<1|1|I[_+1]),G[_]&F&&(O=Se(t,{errors:b,currentLocation:h,expectedLocation:u,distance:n,ignoreLocation:p}),O<=d)){if(d=O,m=h,m<=u)break;W=Math.max(1,2*u-m)}}if(Se(t,{errors:b+1,currentLocation:u,expectedLocation:u,distance:n,ignoreLocation:p})>d)break;I=G}const J={isMatch:m>=0,score:Math.max(.001,O)};if(v){const b=Bi(x,r);b.length?o&&(J.indices=b):J.isMatch=!1}return J}function Ti(i){let t={};for(let e=0,s=i.length;ei.normalize("NFD").replace(/[\u0300-\u036F\u0483-\u0489\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u065F\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u0711\u0730-\u074A\u07A6-\u07B0\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u08D3-\u08E1\u08E3-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u09FE\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A70\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0AFA-\u0AFF\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B62\u0B63\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0C00-\u0C04\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0D00-\u0D03\u0D3B\u0D3C\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D82\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0EB1\u0EB4-\u0EB9\u0EBB\u0EBC\u0EC8-\u0ECD\u0F18\u0F19\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F\u109A-\u109D\u135D-\u135F\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u180B-\u180D\u1885\u1886\u18A9\u1920-\u192B\u1930-\u193B\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F\u1AB0-\u1ABE\u1B00-\u1B04\u1B34-\u1B44\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BE6-\u1BF3\u1C24-\u1C37\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF2-\u1CF4\u1CF7-\u1CF9\u1DC0-\u1DF9\u1DFB-\u1DFF\u20D0-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\uA66F-\uA672\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA880\uA881\uA8B4-\uA8C5\uA8E0-\uA8F1\uA8FF\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9E5\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F]/g,"")):(i=>i);class Tt{constructor(t,{location:e=S.location,threshold:s=S.threshold,distance:n=S.distance,includeMatches:l=S.includeMatches,findAllMatches:a=S.findAllMatches,minMatchCharLength:r=S.minMatchCharLength,isCaseSensitive:o=S.isCaseSensitive,ignoreDiacritics:p=S.ignoreDiacritics,ignoreLocation:f=S.ignoreLocation}={}){if(this.options={location:e,threshold:s,distance:n,includeMatches:l,findAllMatches:a,minMatchCharLength:r,isCaseSensitive:o,ignoreDiacritics:p,ignoreLocation:f},t=o?t:t.toLowerCase(),t=p?Ie(t):t,this.pattern=t,this.chunks=[],!this.pattern.length)return;const g=(d,m)=>{this.chunks.push({pattern:d,alphabet:Ti(d),startIndex:m})},u=this.pattern.length;if(u>ue){let d=0;const m=u%ue,v=u-m;for(;d{const{isMatch:I,score:O,indices:k}=zi(t,v,x,{location:l+E,distance:a,threshold:r,findAllMatches:o,minMatchCharLength:p,includeMatches:n,ignoreLocation:f});I&&(d=!0),u+=O,I&&k&&(g=[...g,...k])});let m={isMatch:d,score:d?u/this.chunks.length:1};return d&&n&&(m.indices=g),m}}class oe{constructor(t){this.pattern=t}static isMultiMatch(t){return ht(t,this.multiRegex)}static isSingleMatch(t){return ht(t,this.singleRegex)}search(){}}function ht(i,t){const e=i.match(t);return e?e[1]:null}class Di extends oe{constructor(t){super(t)}static get type(){return"exact"}static get multiRegex(){return/^="(.*)"$/}static get singleRegex(){return/^=(.*)$/}search(t){const e=t===this.pattern;return{isMatch:e,score:e?0:1,indices:[0,this.pattern.length-1]}}}class Oi extends oe{constructor(t){super(t)}static get type(){return"inverse-exact"}static get multiRegex(){return/^!"(.*)"$/}static get singleRegex(){return/^!(.*)$/}search(t){const s=t.indexOf(this.pattern)===-1;return{isMatch:s,score:s?0:1,indices:[0,t.length-1]}}}class Ki extends oe{constructor(t){super(t)}static get type(){return"prefix-exact"}static get multiRegex(){return/^\^"(.*)"$/}static get singleRegex(){return/^\^(.*)$/}search(t){const e=t.startsWith(this.pattern);return{isMatch:e,score:e?0:1,indices:[0,this.pattern.length-1]}}}class Ri extends oe{constructor(t){super(t)}static get type(){return"inverse-prefix-exact"}static get multiRegex(){return/^!\^"(.*)"$/}static get singleRegex(){return/^!\^(.*)$/}search(t){const e=!t.startsWith(this.pattern);return{isMatch:e,score:e?0:1,indices:[0,t.length-1]}}}class qi extends oe{constructor(t){super(t)}static get type(){return"suffix-exact"}static get multiRegex(){return/^"(.*)"\$$/}static get singleRegex(){return/^(.*)\$$/}search(t){const e=t.endsWith(this.pattern);return{isMatch:e,score:e?0:1,indices:[t.length-this.pattern.length,t.length-1]}}}class $i extends oe{constructor(t){super(t)}static get type(){return"inverse-suffix-exact"}static get multiRegex(){return/^!"(.*)"\$$/}static get singleRegex(){return/^!(.*)\$$/}search(t){const e=!t.endsWith(this.pattern);return{isMatch:e,score:e?0:1,indices:[0,t.length-1]}}}class Dt extends oe{constructor(t,{location:e=S.location,threshold:s=S.threshold,distance:n=S.distance,includeMatches:l=S.includeMatches,findAllMatches:a=S.findAllMatches,minMatchCharLength:r=S.minMatchCharLength,isCaseSensitive:o=S.isCaseSensitive,ignoreDiacritics:p=S.ignoreDiacritics,ignoreLocation:f=S.ignoreLocation}={}){super(t),this._bitapSearch=new Tt(t,{location:e,threshold:s,distance:n,includeMatches:l,findAllMatches:a,minMatchCharLength:r,isCaseSensitive:o,ignoreDiacritics:p,ignoreLocation:f})}static get type(){return"fuzzy"}static get multiRegex(){return/^"(.*)"$/}static get singleRegex(){return/^(.*)$/}search(t){return this._bitapSearch.searchIn(t)}}class Ot extends oe{constructor(t){super(t)}static get type(){return"include"}static get multiRegex(){return/^'"(.*)"$/}static get singleRegex(){return/^'(.*)$/}search(t){let e=0,s;const n=[],l=this.pattern.length;for(;(s=t.indexOf(this.pattern,e))>-1;)e=s+l,n.push([s,e-1]);const a=!!n.length;return{isMatch:a,score:a?0:1,indices:n}}}const $e=[Di,Ot,Ki,Ri,$i,qi,Oi,Dt],ft=$e.length,Pi=/ +(?=(?:[^\"]*\"[^\"]*\")*[^\"]*$)/,Vi="|";function Hi(i,t={}){return i.split(Vi).map(e=>{let s=e.trim().split(Pi).filter(l=>l&&!!l.trim()),n=[];for(let l=0,a=s.length;l!!(i[Le.AND]||i[Le.OR]),Gi=i=>!!i[He.PATH],Ui=i=>!le(i)&&_t(i)&&!Ne(i),pt=i=>({[Le.AND]:Object.keys(i).map(t=>({[t]:i[t]}))});function Kt(i,t,{auto:e=!0}={}){const s=n=>{let l=Object.keys(n);const a=Gi(n);if(!a&&l.length>1&&!Ne(n))return s(pt(n));if(Ui(n)){const o=a?n[He.PATH]:l[0],p=a?n[He.PATTERN]:n[o];if(!ie(p))throw new Error(bi(o));const f={keyId:qe(o),pattern:p};return e&&(f.searcher=Ve(p,t)),f}let r={children:[],operator:l[0]};return l.forEach(o=>{const p=n[o];le(p)&&p.forEach(f=>{r.children.push(s(f))})}),r};return Ne(i)||(i=pt(i)),s(i)}function Yi(i,{ignoreFieldNorm:t=S.ignoreFieldNorm}){i.forEach(e=>{let s=1;e.matches.forEach(({key:n,norm:l,score:a})=>{const r=n?n.weight:null;s*=Math.pow(a===0&&r?Number.EPSILON:a,(r||1)*(t?1:l))}),e.score=s})}function Xi(i,t){const e=i.matches;t.matches=[],Q(e)&&e.forEach(s=>{if(!Q(s.indices)||!s.indices.length)return;const{indices:n,value:l}=s;let a={indices:n,value:l};s.key&&(a.key=s.key.src),s.idx>-1&&(a.refIndex=s.idx),t.matches.push(a)})}function Qi(i,t){t.score=i.score}function Ji(i,t,{includeMatches:e=S.includeMatches,includeScore:s=S.includeScore}={}){const n=[];return e&&n.push(Xi),s&&n.push(Qi),i.map(l=>{const{idx:a}=l,r={item:t[a],refIndex:a};return n.length&&n.forEach(o=>{o(l,r)}),r})}class ye{constructor(t,e={},s){this.options={...S,...e},this.options.useExtendedSearch,this._keyStore=new Ci(this.options.keys),this.setCollection(t,s)}setCollection(t,e){if(this._docs=t,e&&!(e instanceof Ye))throw new Error(yi);this._myIndex=e||zt(this.options.keys,this._docs,{getFn:this.options.getFn,fieldNormWeight:this.options.fieldNormWeight})}add(t){Q(t)&&(this._docs.push(t),this._myIndex.add(t))}remove(t=()=>!1){const e=[];for(let s=0,n=this._docs.length;s-1&&(o=o.slice(0,e)),Ji(o,this._docs,{includeMatches:s,includeScore:n})}_searchStringList(t){const e=Ve(t,this.options),{records:s}=this._myIndex,n=[];return s.forEach(({v:l,i:a,n:r})=>{if(!Q(l))return;const{isMatch:o,score:p,indices:f}=e.searchIn(l);o&&n.push({item:l,idx:a,matches:[{score:p,value:l,norm:r,indices:f}]})}),n}_searchLogical(t){const e=Kt(t,this.options),s=(r,o,p)=>{if(!r.children){const{keyId:g,searcher:u}=r,d=this._findMatches({key:this._keyStore.get(g),value:this._myIndex.getValueForItemAtKeyId(o,g),searcher:u});return d&&d.length?[{idx:p,item:o,matches:d}]:[]}const f=[];for(let g=0,u=r.children.length;g{if(Q(r)){let p=s(e,r,o);p.length&&(l[o]||(l[o]={idx:o,item:r,matches:[]},a.push(l[o])),p.forEach(({matches:f})=>{l[o].matches.push(...f)}))}}),a}_searchObjectList(t){const e=Ve(t,this.options),{keys:s,records:n}=this._myIndex,l=[];return n.forEach(({$:a,i:r})=>{if(!Q(a))return;let o=[];s.forEach((p,f)=>{o.push(...this._findMatches({key:p,value:a[f],searcher:e}))}),o.length&&l.push({idx:r,item:a,matches:o})}),l}_findMatches({key:t,value:e,searcher:s}){if(!Q(e))return[];let n=[];if(le(e))e.forEach(({v:l,i:a,n:r})=>{if(!Q(l))return;const{isMatch:o,score:p,indices:f}=s.searchIn(l);o&&n.push({score:p,key:t,value:l,idx:a,norm:r,indices:f})});else{const{v:l,n:a}=e,{isMatch:r,score:o,indices:p}=s.searchIn(l);r&&n.push({score:o,key:t,value:l,norm:a,indices:p})}return n}}ye.version="7.1.0";ye.createIndex=zt;ye.parseIndex=ki;ye.config=S;ye.parseQuery=Kt;Wi(ji);function Zi(i,t,e){const s=()=>{var l,a;return new ye((l=se(t))!==null&&l!==void 0?l:[],(a=se(e))===null||a===void 0?void 0:a.fuseOptions)},n=ee(s());return ge(()=>{var l;return(l=se(e))===null||l===void 0?void 0:l.fuseOptions},()=>{n.value=s()},{deep:!0}),ge(()=>se(t),l=>{n.value.setCollection(l)},{deep:!0}),{fuse:n,results:B(()=>{const l=se(e);if(l?.matchAllWhenSearchEmpty&&!se(i))return se(t).map((r,o)=>({item:r,refIndex:o}));const a=l?.resultLimit;return n.value.search(se(i),a?{limit:a}:void 0)})}}const en={"&":"&","<":"<",">":">",'"':""","'":"'"};function tn(i){return i.replace(/[&<>"']/g,t=>en[t])}function sn(i){return/&(?:amp|lt|gt|quot|#39);/.test(i)}function ze(i){return sn(i)?i:tn(i)}function nn(i,t){let e="",s=0,n=!1;for(let l=i.length-1;l>=0;l--){if(i[l]===">")n=!0;else if(i[l]==="<"){n=!1,e=i[l]+e;continue}if(n||s++,s<=t)e=i[l]+e;else{e="..."+e;break}}return e}function mt(i,t,e,s){function n(l,a=[]){l=l||"";let r="",o=0;a.forEach(f=>{if(f.length===2&&f[0]===f[1])return;const g=f[1]+1,u=g-f[0]>=t.length;r+=[ze(l.substring(o,f[0])),u&&"",ze(l.substring(f[0],g)),u&&""].filter(Boolean).join(""),o=g}),r+=ze(l.substring(o));const p=r.indexOf("");return p!==-1&&(r=nn(r,r.length-p)),r}if(i.matches?.length){for(const l of i.matches)if(!(e&&l.key!==e)&&!s?.includes(l.key))return n(l.value,l.indices)}}function ln(i,t){if(typeof i!="object"||i===null)return!1;const e=te(i,t);return e!=null&&e!==""}function gt(i,t){return t?{xs:44,sm:48,md:52,lg:56,xl:60}[i]:{xs:24,sm:28,md:32,lg:36,xl:40}[i]}function an(i,t,e,s){const n=gt(t,!0),l=gt(t,!1);return s?()=>n:e?a=>ln(i[a],e)?n:l:()=>l}const rn={slots:{root:"flex flex-col min-h-0 min-w-0 divide-y divide-default",input:"",close:"",back:"p-0",content:"relative overflow-hidden flex flex-col",footer:"p-1",viewport:"relative scroll-py-1 overflow-y-auto flex-1 focus:outline-none",group:"p-1 isolate",empty:"text-center text-muted",label:"font-semibold text-highlighted",item:"group relative w-full flex items-start select-none outline-none before:absolute before:z-[-1] before:inset-px before:rounded-md data-disabled:cursor-not-allowed data-disabled:opacity-75",itemLeadingIcon:"shrink-0",itemLeadingAvatar:"shrink-0",itemLeadingAvatarSize:"",itemLeadingChip:"shrink-0",itemLeadingChipSize:"",itemTrailing:"ms-auto inline-flex items-center",itemTrailingIcon:"shrink-0",itemTrailingHighlightedIcon:"shrink-0 text-dimmed hidden group-data-highlighted:inline-flex",itemTrailingKbds:"hidden lg:inline-flex items-center shrink-0",itemTrailingKbdsSize:"",itemWrapper:"flex-1 flex flex-col text-start min-w-0",itemLabel:"truncate space-x-1 text-dimmed",itemDescription:"truncate text-muted",itemLabelBase:"text-highlighted [&>mark]:text-inverted [&>mark]:bg-primary",itemLabelPrefix:"text-default",itemLabelSuffix:"text-dimmed [&>mark]:text-inverted [&>mark]:bg-primary"},variants:{virtualize:{true:{viewport:"p-1 isolate"},false:{viewport:"divide-y divide-default"}},size:{xs:{input:"[&>input]:h-10",empty:"py-3 text-xs",label:"p-1 text-[10px]/3 gap-1",item:"p-1 text-xs gap-1",itemLeadingIcon:"size-4",itemLeadingAvatarSize:"3xs",itemLeadingChip:"size-4",itemLeadingChipSize:"sm",itemTrailing:"gap-1",itemTrailingIcon:"size-4",itemTrailingHighlightedIcon:"size-4",itemTrailingKbds:"gap-0.5",itemTrailingKbdsSize:"sm"},sm:{input:"[&>input]:h-11",empty:"py-4 text-xs",label:"p-1.5 text-[10px]/3 gap-1.5",item:"p-1.5 text-xs gap-1.5",itemLeadingIcon:"size-4",itemLeadingAvatarSize:"3xs",itemLeadingChip:"size-4",itemLeadingChipSize:"sm",itemTrailing:"gap-1.5",itemTrailingIcon:"size-4",itemTrailingHighlightedIcon:"size-4",itemTrailingKbds:"gap-0.5",itemTrailingKbdsSize:"sm"},md:{input:"[&>input]:h-12",empty:"py-6 text-sm",label:"p-1.5 text-xs gap-1.5",item:"p-1.5 text-sm gap-1.5",itemLeadingIcon:"size-5",itemLeadingAvatarSize:"2xs",itemLeadingChip:"size-5",itemLeadingChipSize:"md",itemTrailing:"gap-1.5",itemTrailingIcon:"size-5",itemTrailingHighlightedIcon:"size-5",itemTrailingKbds:"gap-0.5",itemTrailingKbdsSize:"md"},lg:{input:"[&>input]:h-13",empty:"py-7 text-sm",label:"p-2 text-xs gap-2",item:"p-2 text-sm gap-2",itemLeadingIcon:"size-5",itemLeadingAvatarSize:"2xs",itemLeadingChip:"size-5",itemLeadingChipSize:"md",itemTrailing:"gap-2",itemTrailingIcon:"size-5",itemTrailingHighlightedIcon:"size-5",itemTrailingKbds:"gap-0.5",itemTrailingKbdsSize:"md"},xl:{input:"[&>input]:h-14",empty:"py-8 text-base",label:"p-2 text-sm gap-2",item:"p-2 text-base gap-2",itemLeadingIcon:"size-6",itemLeadingAvatarSize:"xs",itemLeadingChip:"size-6",itemLeadingChipSize:"lg",itemTrailing:"gap-2",itemTrailingIcon:"size-6",itemTrailingHighlightedIcon:"size-6",itemTrailingKbds:"gap-0.5",itemTrailingKbdsSize:"lg"}},active:{true:{item:"text-highlighted before:bg-elevated",itemLeadingIcon:"text-default"},false:{item:["text-default data-highlighted:not-data-disabled:text-highlighted data-highlighted:not-data-disabled:before:bg-elevated/50","transition-colors before:transition-colors"],itemLeadingIcon:["text-dimmed group-data-highlighted:not-group-data-disabled:text-default","transition-colors"]}},loading:{true:{itemLeadingIcon:"animate-spin"}}},defaultVariants:{size:"md"}},on=["innerHTML"],un=["innerHTML"],cn=Object.assign({inheritAttrs:!1},{__name:"UCommandPalette",props:Ke({as:{type:null,required:!1},size:{type:null,required:!1},icon:{type:null,required:!1},trailingIcon:{type:null,required:!1},selectedIcon:{type:null,required:!1},childrenIcon:{type:null,required:!1},placeholder:{type:String,required:!1},autofocus:{type:Boolean,required:!1,default:!0},close:{type:[Boolean,Object],required:!1},closeIcon:{type:null,required:!1},back:{type:[Boolean,Object],required:!1,default:!0},backIcon:{type:null,required:!1},input:{type:[Boolean,Object],required:!1,default:!0},groups:{type:Array,required:!1},fuse:{type:Object,required:!1},virtualize:{type:[Boolean,Object],required:!1,default:!1},valueKey:{type:null,required:!1},labelKey:{type:null,required:!1,default:"label"},descriptionKey:{type:null,required:!1,default:"description"},preserveGroupOrder:{type:Boolean,required:!1,default:!1},class:{type:null,required:!1},ui:{type:Object,required:!1},multiple:{type:Boolean,required:!1},disabled:{type:Boolean,required:!1},modelValue:{type:null,required:!1},defaultValue:{type:null,required:!1},highlightOnHover:{type:Boolean,required:!1,default:!0},selectionBehavior:{type:String,required:!1},by:{type:[String,Function],required:!1},loading:{type:Boolean,required:!1},loadingIcon:{type:null,required:!1}},{searchTerm:{type:String,default:""},searchTermModifiers:{}}),emits:Ke(["update:modelValue","highlight","entryFocus","leave","update:open"],["update:searchTerm"]),setup(i,{emit:t}){const e=i,s=t,n=Ue(),l=St(i,"searchTerm",{type:String,default:""}),{t:a}=Ct(),r=Et(),o=It("commandPalette",e),p=os(De(e,"as","disabled","multiple","modelValue","defaultValue","highlightOnHover","by"),s),f=vs(()=>e.virtualize?Re(typeof e.virtualize=="boolean"?{}:e.virtualize,{estimateSize:an(b.value,"md",e.descriptionKey,!!n["item-description"])}):!1),[g,u]=us({props:{item:{type:Object,required:!0},group:{type:Object,required:!1},index:{type:Number,required:!1}}}),d=B(()=>Ee({extend:Ee(rn),...r.ui?.commandPalette||{}})({size:e.size,virtualize:!!e.virtualize})),m=B(()=>Re({},e.fuse,{fuseOptions:{ignoreLocation:!0,threshold:.1,keys:[e.labelKey,"suffix"]},resultLimit:12,matchAllWhenSearchEmpty:!0})),v=ee([]),x=B(()=>v.value[v.value.length-1]?.placeholder||e.placeholder||a("commandPalette.placeholder")),E=B(()=>v.value?.length?[v.value[v.value.length-1]]:e.groups),I=B(()=>E.value?.filter(L=>L.id?!L.ignoreFilter:(console.warn("[@nuxt/ui] CommandPalette group is missing an `id` property"),!1))?.flatMap(L=>L.items?.map(_=>({..._,group:L.id}))||[])||[]),{results:O}=Zi(l,I,m),k=cs(O,16,!0);function F(L,_){let h=_;return L?.postFilter&&typeof L.postFilter=="function"&&(h=L.postFilter(l.value,h)),{...L,items:h.slice(0,m.value.resultLimit).map($=>({...$,labelHtml:mt($,l.value,e.labelKey),suffixHtml:mt($,l.value,void 0,[e.labelKey])}))}}const J=B(()=>{const L=E.value,_=k.value.reduce((A,T)=>{const{item:U,matches:j}=T;return U.group&&(A[U.group]||=[],A[U.group]?.push({...U,matches:j})),A},{});if(e.preserveGroupOrder){const A=[];for(const T of L||[]){if(!T.items?.length)continue;const U=T.ignoreFilter?T.items:_[T.id];if(!U?.length)continue;const j=F(T,U);j.items?.length&&A.push(j)}return A}const h=Object.entries(_).map(([A,T])=>{const U=L?.find(de=>de.id===A);if(!U)return;const j=F(U,T);return j.items?.length?j:void 0}).filter(A=>!!A);return(L?.map((A,T)=>({...A,index:T}))?.filter(A=>A.ignoreFilter&&A.items?.length)?.map(A=>({...F(A,A.items||[]),index:A.index}))?.filter(A=>A.items?.length)||[]).reduce((A,T)=>(A.splice(T.index,0,T),A),[...h])}),b=B(()=>J.value.flatMap(L=>L.items||[])),z=Lt("rootRef");function R(L){L.children?.length&&(v.value.push({id:`history-${v.value.length}`,label:L.label,slot:L.slot,placeholder:L.placeholder,items:L.children}),l.value="",z.value?.highlightFirstItem())}function W(){v.value.length&&(v.value.pop(),l.value="",z.value?.highlightFirstItem())}function Z(){l.value||W()}function G(L,_){_.children?.length?(L.preventDefault(),R(_)):_.onSelect?.(L)}return(L,_)=>(C(),V(ae,null,[X(c(g),null,{default:K(({item:h,index:$,group:A})=>[X(ds,H(c(hs)(h),{custom:""}),{default:K(({active:T,...U})=>[X(c(Qs),{value:e.valueKey?c(te)(h,e.valueKey):c(Oe)(h,["matches","group","onSelect","labelHtml","suffixHtml","children"]),disabled:h.disabled,"as-child":"",onSelect:j=>G(j,h)},{default:K(()=>[X(fs,H(U,{"data-slot":"item",class:d.value.item({class:[c(o)?.item,h.ui?.item,h.class],active:T||h.active})}),{default:K(()=>[N(L.$slots,h.slot||A?.slot||"item",{item:h,index:$,ui:d.value},()=>[N(L.$slots,h.slot?`${h.slot}-leading`:A?.slot?`${A.slot}-leading`:"item-leading",{item:h,index:$,ui:d.value},()=>[h.loading?(C(),D(Ae,{key:0,name:i.loadingIcon||c(r).ui.icons.loading,"data-slot":"itemLeadingIcon",class:q(d.value.itemLeadingIcon({class:[c(o)?.itemLeadingIcon,h.ui?.itemLeadingIcon],loading:!0}))},null,8,["name","class"])):h.icon?(C(),D(Ae,{key:1,name:h.icon,"data-slot":"itemLeadingIcon",class:q(d.value.itemLeadingIcon({class:[c(o)?.itemLeadingIcon,h.ui?.itemLeadingIcon],active:T||h.active}))},null,8,["name","class"])):h.avatar?(C(),D(ps,H({key:2,size:h.ui?.itemLeadingAvatarSize||c(o)?.itemLeadingAvatarSize||d.value.itemLeadingAvatarSize()},h.avatar,{"data-slot":"itemLeadingAvatar",class:d.value.itemLeadingAvatar({class:[c(o)?.itemLeadingAvatar,h.ui?.itemLeadingAvatar],active:T||h.active})}),null,16,["size","class"])):h.chip?(C(),D(ms,H({key:3,size:h.ui?.itemLeadingChipSize||c(o)?.itemLeadingChipSize||d.value.itemLeadingChipSize(),inset:"",standalone:""},h.chip,{"data-slot":"itemLeadingChip",class:d.value.itemLeadingChip({class:[c(o)?.itemLeadingChip,h.ui?.itemLeadingChip],active:T||h.active})}),null,16,["size","class"])):Y("",!0)]),h.prefix||h.labelHtml||c(te)(h,e.labelKey)||h.suffixHtml||h.suffix||n[h.slot?`${h.slot}-label`:A?.slot?`${A.slot}-label`:"item-label"]||c(te)(h,e.descriptionKey)||n[h.slot?`${h.slot}-description`:A?.slot?`${A.slot}-description`:"item-description"]?(C(),V("span",{key:0,"data-slot":"itemWrapper",class:q(d.value.itemWrapper({class:[c(o)?.itemWrapper,h.ui?.itemWrapper]}))},[Ze("span",{"data-slot":"itemLabel",class:q(d.value.itemLabel({class:[c(o)?.itemLabel,h.ui?.itemLabel],active:T||h.active}))},[N(L.$slots,h.slot?`${h.slot}-label`:A?.slot?`${A.slot}-label`:"item-label",{item:h,index:$,ui:d.value},()=>[h.prefix?(C(),V("span",{key:0,"data-slot":"itemLabelPrefix",class:q(d.value.itemLabelPrefix({class:[c(o)?.itemLabelPrefix,h.ui?.itemLabelPrefix]}))},fe(h.prefix),3)):Y("",!0),h.labelHtml?(C(),V("span",{key:1,"data-slot":"itemLabelBase",class:q(d.value.itemLabelBase({class:[c(o)?.itemLabelBase,h.ui?.itemLabelBase],active:T||h.active})),innerHTML:h.labelHtml},null,10,on)):(C(),V("span",{key:2,"data-slot":"itemLabelBase",class:q(d.value.itemLabelBase({class:[c(o)?.itemLabelBase,h.ui?.itemLabelBase],active:T||h.active}))},fe(c(te)(h,e.labelKey)),3)),h.suffixHtml?(C(),V("span",{key:3,"data-slot":"itemLabelSuffix",class:q(d.value.itemLabelSuffix({class:[c(o)?.itemLabelSuffix,h.ui?.itemLabelSuffix],active:T||h.active})),innerHTML:h.suffixHtml},null,10,un)):h.suffix?(C(),V("span",{key:4,"data-slot":"itemLabelSuffix",class:q(d.value.itemLabelSuffix({class:[c(o)?.itemLabelSuffix,h.ui?.itemLabelSuffix],active:T||h.active}))},fe(h.suffix),3)):Y("",!0)])],2),c(te)(h,e.descriptionKey)||n[h.slot?`${h.slot}-description`:A?.slot?`${A.slot}-description`:"item-description"]?(C(),V("span",{key:0,"data-slot":"itemDescription",class:q(d.value.itemDescription({class:[c(o)?.itemDescription,h.ui?.itemDescription]}))},[N(L.$slots,h.slot?`${h.slot}-description`:A?.slot?`${A.slot}-description`:"item-description",{item:h,index:$,ui:d.value},()=>[ke(fe(c(te)(h,e.descriptionKey)),1)])],2)):Y("",!0)],2)):Y("",!0),Ze("span",{"data-slot":"itemTrailing",class:q(d.value.itemTrailing({class:[c(o)?.itemTrailing,h.ui?.itemTrailing]}))},[N(L.$slots,h.slot?`${h.slot}-trailing`:A?.slot?`${A.slot}-trailing`:"item-trailing",{item:h,index:$,ui:d.value},()=>[h.children&&h.children.length>0?(C(),D(Ae,{key:0,name:i.childrenIcon||c(r).ui.icons.chevronRight,"data-slot":"itemTrailingIcon",class:q(d.value.itemTrailingIcon({class:[c(o)?.itemTrailingIcon,h.ui?.itemTrailingIcon]}))},null,8,["name","class"])):h.kbds?.length?(C(),V("span",{key:1,"data-slot":"itemTrailingKbds",class:q(d.value.itemTrailingKbds({class:[c(o)?.itemTrailingKbds,h.ui?.itemTrailingKbds]}))},[(C(!0),V(ae,null,me(h.kbds,(j,de)=>(C(),D(gs,H({key:de,size:h.ui?.itemTrailingKbdsSize||c(o)?.itemTrailingKbdsSize||d.value.itemTrailingKbdsSize()},{ref_for:!0},typeof j=="string"?{value:j}:j),null,16,["size"]))),128))],2)):A?.highlightedIcon?(C(),D(Ae,{key:2,name:A.highlightedIcon,"data-slot":"itemTrailingHighlightedIcon",class:q(d.value.itemTrailingHighlightedIcon({class:[c(o)?.itemTrailingHighlightedIcon,h.ui?.itemTrailingHighlightedIcon]}))},null,8,["name","class"])):Y("",!0)]),h.children?.length?Y("",!0):(C(),D(c(Zs),{key:0,"as-child":""},{default:K(()=>[X(Ae,{name:i.selectedIcon||c(r).ui.icons.check,"data-slot":"itemTrailingIcon",class:q(d.value.itemTrailingIcon({class:[c(o)?.itemTrailingIcon,h.ui?.itemTrailingIcon]}))},null,8,["name","class"])]),_:2},1024))],2)])]),_:2},1040,["class"])]),_:2},1032,["value","disabled","onSelect"])]),_:2},1040)]),_:3}),X(c(Os),H({...c(p),...L.$attrs},{ref_key:"rootRef",ref:z,"selection-behavior":i.selectionBehavior,"data-slot":"root",class:d.value.root({class:[c(o)?.root,e.class]})}),{default:K(()=>[i.input?(C(),D(c($s),{key:0,modelValue:l.value,"onUpdate:modelValue":_[1]||(_[1]=h=>l.value=h),"as-child":""},{default:K(()=>[X(ws,H({variant:"none",size:i.size},typeof e.input=="object"?e.input:{},{placeholder:x.value,autofocus:i.autofocus,loading:i.loading,"loading-icon":i.loadingIcon,"trailing-icon":i.trailingIcon,icon:i.icon||c(r).ui.icons.search,"data-slot":"input",class:d.value.input({class:c(o)?.input}),onKeydown:ve(Z,["backspace"])}),wt({_:2},[v.value?.length&&(i.back||n.back)?{name:"leading",fn:K(()=>[N(L.$slots,"back",{ui:d.value},()=>[X(et,H({size:i.size,icon:i.backIcon||c(r).ui.icons.arrowLeft,color:"neutral",variant:"link","aria-label":c(a)("commandPalette.back")},typeof i.back=="object"?i.back:{},{"data-slot":"back",class:d.value.back({class:c(o)?.back}),onClick:W}),null,16,["size","icon","aria-label","class"])])]),key:"0"}:void 0,i.close||n.close?{name:"trailing",fn:K(()=>[N(L.$slots,"close",{ui:d.value},()=>[i.close?(C(),D(et,H({key:0,size:i.size,icon:i.closeIcon||c(r).ui.icons.close,color:"neutral",variant:"ghost","aria-label":c(a)("commandPalette.close")},typeof i.close=="object"?i.close:{},{"data-slot":"close",class:d.value.close({class:c(o)?.close}),onClick:_[0]||(_[0]=h=>s("update:open",!1))}),null,16,["size","icon","aria-label","class"])):Y("",!0)])]),key:"1"}:void 0]),1040,["size","placeholder","autofocus","loading","loading-icon","trailing-icon","icon","class"])]),_:3},8,["modelValue"])):Y("",!0),X(c(Rs),{"data-slot":"content",class:q(d.value.content({class:c(o)?.content}))},{default:K(()=>[J.value?.length?(C(),V("div",{key:0,role:"presentation","data-slot":"viewport",class:q(d.value.viewport({class:c(o)?.viewport}))},[i.virtualize?(C(),D(c(fi),H({key:0,options:b.value,"text-content":h=>c(te)(h,e.labelKey)},f.value),{default:K(({option:h,virtualItem:$})=>[X(c(u),{item:h,index:$.index},null,8,["item","index"])]),_:1},16,["options","text-content"])):(C(!0),V(ae,{key:1},me(J.value,h=>(C(),D(c(Ns),{key:`group-${h.id}`,"data-slot":"group",class:q(d.value.group({class:c(o)?.group}))},{default:K(()=>[c(te)(h,e.labelKey)?(C(),D(c(Ws),{key:0,"data-slot":"label",class:q(d.value.label({class:c(o)?.label}))},{default:K(()=>[ke(fe(c(te)(h,e.labelKey)),1)]),_:2},1032,["class"])):Y("",!0),(C(!0),V(ae,null,me(h.items,($,A)=>(C(),D(c(u),{key:`group-${h.id}-${A}`,item:$,index:A,group:h},null,8,["item","index","group"]))),128))]),_:2},1032,["class"]))),128))],2)):(C(),V("div",{key:1,"data-slot":"empty",class:q(d.value.empty({class:c(o)?.empty}))},[N(L.$slots,"empty",{searchTerm:l.value},()=>[ke(fe(l.value?c(a)("commandPalette.noMatch",{searchTerm:l.value}):c(a)("commandPalette.noData")),1)])],2))]),_:3},8,["class"]),n.footer?(C(),V("div",{key:1,"data-slot":"footer",class:q(d.value.footer({class:c(o)?.footer}))},[N(L.$slots,"footer",{ui:d.value})],2)):Y("",!0)]),_:3},16,["selection-behavior","class"])],64))}}),dn={slots:{modal:"",input:""},variants:{fullscreen:{false:{modal:"sm:max-w-3xl h-full sm:h-[28rem]"}},size:{xs:{},sm:{},md:{},lg:{},xl:{}}},defaultVariants:{size:"md"}},hn=/^[^-]+.*-.*[^-]+$/,fn=/^[^_]+.*_.*[^_]+$/,vt=["arrowleft","arrowright","arrowup","arrowright","tab","escape","enter","backspace"];function Te(i){return/^[a-z]$/i.test(i)?`Key${i.toUpperCase()}`:/^\d$/.test(i)?`Digit${i}`:/^f\d+$/i.test(i)?i.toUpperCase():{space:"Space",enter:"Enter",escape:"Escape",tab:"Tab",backspace:"Backspace",delete:"Delete",arrowup:"ArrowUp",arrowdown:"ArrowDown",arrowleft:"ArrowLeft",arrowright:"ArrowRight"}[i.toLowerCase()]||i}function pn(i,t={}){const e=ee([]),s=()=>{e.value.splice(0,e.value.length)},n=ys(s,t.chainDelay??800),{macOS:l}=bs(),a=As(),r=t.layoutIndependent??!1,o=vt.map(u=>Te(u)),p=u=>{if(!u.key)return;const d=r?/^Key[A-Z]$/i.test(u.code):/^[a-z]{1}$/i.test(u.key),m=r?o.includes(u.code):vt.includes(u.key.toLowerCase());let v;if(e.value.push(r?u.code:u.key),e.value.length>=2){v=e.value.slice(-2).join("-");for(const x of g.value.filter(E=>E.chained))if(x.key===v){x.enabled&&(u.preventDefault(),x.handler(u)),s();return}}for(const x of g.value.filter(E=>!E.chained)){if(r){if(u.code!==x.key)continue}else if(u.key.toLowerCase()!==x.key)continue;if(u.metaKey===x.metaKey&&u.ctrlKey===x.ctrlKey&&u.altKey===x.altKey&&!((d||m||x.shiftKey||u.shiftKey&&(u.metaKey||u.ctrlKey))&&u.shiftKey!==x.shiftKey)){x.enabled&&(u.preventDefault(),x.handler(u)),s();return}}n()},f=B(()=>{const u=a.value?.tagName,d=a.value?.contentEditable;return u==="INPUT"||u==="TEXTAREA"||d==="true"||d==="plaintext-only"?a.value?.name||!0:!1}),g=B(()=>Object.entries(se(i)).map(([u,d])=>{if(!d)return null;let m;u.includes("-")&&u!=="-"&&!u.includes("_")&&!u.match(hn)?.length&&console.trace(`[Shortcut] Invalid key: "${u}"`),u.includes("_")&&u!=="_"&&!u.match(fn)?.length&&console.trace(`[Shortcut] Invalid key: "${u}"`);const v=u.includes("-")&&u!=="-"&&!u.includes("_");if(v)r?m={key:u.split("-").map(I=>Te(I)).join("-"),metaKey:!1,ctrlKey:!1,shiftKey:!1,altKey:!1}:m={key:u.toLowerCase(),metaKey:!1,ctrlKey:!1,shiftKey:!1,altKey:!1};else{const E=u.toLowerCase().split("_").map(O=>O);let I=E.filter(O=>!["meta","command","ctrl","shift","alt","option"].includes(O)).join("_");r&&(I=Te(I)),m={key:I,metaKey:E.includes("meta")||E.includes("command"),ctrlKey:E.includes("ctrl"),shiftKey:E.includes("shift"),altKey:E.includes("alt")||E.includes("option")}}if(m.chained=v,!l.value&&m.metaKey&&!m.ctrlKey&&(m.metaKey=!1,m.ctrlKey=!0),typeof d=="function"?m.handler=d:typeof d=="object"&&(m={...m,handler:d.handler}),!m.handler)return console.trace("[Shortcut] Invalid value"),null;let x=!0;return d.usingInput?typeof d.usingInput=="string"&&(x=f.value===d.usingInput):x=!f.value,m.enabled=x,m}).filter(Boolean));return xs("keydown",p)}const yn={__name:"UContentSearch",props:Ke({size:{type:null,required:!1},icon:{type:null,required:!1},placeholder:{type:String,required:!1},autofocus:{type:Boolean,required:!1},loading:{type:Boolean,required:!1},loadingIcon:{type:null,required:!1},close:{type:[Boolean,Object],required:!1,default:!0},closeIcon:{type:null,required:!1},shortcut:{type:String,required:!1,default:"meta_k"},links:{type:Array,required:!1},navigation:{type:Array,required:!1},groups:{type:Array,required:!1},files:{type:Array,required:!1},fuse:{type:Object,required:!1},colorMode:{type:Boolean,required:!1,default:!0},class:{type:null,required:!1},ui:{type:Object,required:!1},title:{type:String,required:!1},description:{type:String,required:!1},overlay:{type:Boolean,required:!1},transition:{type:Boolean,required:!1},content:{type:Object,required:!1},dismissible:{type:Boolean,required:!1},fullscreen:{type:Boolean,required:!1,default:!1},modal:{type:Boolean,required:!1},portal:{type:[Boolean,String],required:!1,skipCheck:!0}},{searchTerm:{type:String,default:""},searchTermModifiers:{}}),emits:["update:searchTerm"],setup(i,{expose:t}){const e=i,s=Ue(),n=St(i,"searchTerm",{type:String,default:""}),{t:l}=Ct(),{open:a,mapNavigationItems:r,postFilter:o}=Ss(),p=Cs(),f=Et(),g=It("contentSearch",e),u=tt(De(e,"size","icon","placeholder","autofocus","loading","loadingIcon","close","closeIcon")),d=tt(De(e,"overlay","transition","content","dismissible","fullscreen","modal","portal")),m=()=>Oe(s,["content"]),v=B(()=>Re({},e.fuse,{fuseOptions:{includeMatches:!0}})),x=B(()=>Ee({extend:Ee(dn),...f.ui?.contentSearch||{}})({size:e.size,fullscreen:e.fullscreen})),E=Lt("commandPaletteRef"),I=B(()=>e.links?.length?e.links.flatMap(b=>[{...b,suffix:b.description,description:void 0,icon:b.icon||f.ui.icons.file,children:void 0},...b.children?.map(z=>({...z,prefix:b.label+" >",suffix:z.description,description:void 0,icon:z.icon||b.icon||f.ui.icons.file}))||[]]):[]),O=B(()=>e.navigation?.length?e.navigation.some(b=>!!b.children?.length)?e.navigation.map(b=>({id:b.path,label:b.title,items:r(b.children||[],e.files||[]),postFilter:o})):[{id:"docs",items:r(e.navigation,e.files||[]),postFilter:o}]:[]),k=B(()=>!e.colorMode||p?.forced?null:{id:"theme",label:l("contentSearch.theme"),items:[{label:l("colorMode.system"),icon:f.ui.icons.system,active:p.preference==="system",onSelect:()=>{p.preference="system"}},{label:l("colorMode.light"),icon:f.ui.icons.light,active:p.preference==="light",onSelect:()=>{p.preference="light"}},{label:l("colorMode.dark"),icon:f.ui.icons.dark,active:p.preference==="dark",onSelect:()=>{p.preference="dark"}}]}),F=B(()=>{const b=[];return I.value.length&&b.push({id:"links",label:l("contentSearch.links"),items:I.value}),b.push(...O.value),b.push(...e.groups||[]),k.value&&b.push(k.value),b});function J(b){b.disabled||(a.value=!1,n.value="")}return pn({[e.shortcut]:{usingInput:!0,handler:()=>a.value=!a.value}}),t({commandPaletteRef:E}),(b,z)=>(C(),D(Ls,H({open:c(a),"onUpdate:open":z[2]||(z[2]=R=>Is(a)?a.value=R:null),title:i.title||c(l)("contentSearch.title"),description:i.description||c(l)("contentSearch.description")},c(d),{"data-slot":"modal",class:x.value.modal({class:[c(g)?.modal,e.class]})}),{content:K(R=>[N(b.$slots,"content",st(it(R)),()=>[X(cn,H({ref_key:"commandPaletteRef",ref:E,"search-term":n.value,"onUpdate:searchTerm":z[0]||(z[0]=W=>n.value=W)},c(u),{groups:F.value,fuse:v.value,input:{fixed:!0},ui:c(Es)(c(Oe)(x.value,["modal"]),c(g)),"onUpdate:modelValue":J,"onUpdate:open":z[1]||(z[1]=W=>a.value=W)}),wt({_:2},[me(m(),(W,Z)=>({name:Z,fn:K(G=>[N(b.$slots,Z,st(it(G)))])}))]),1040,["search-term","groups","fuse","ui"])])]),_:3},16,["open","title","description","class"]))}};export{yn as default}; diff --git a/assets/CfdcdzjK.js b/assets/C5KpsIEK.js similarity index 90% rename from assets/CfdcdzjK.js rename to assets/C5KpsIEK.js index a2d7660..00a4e3f 100644 --- a/assets/CfdcdzjK.js +++ b/assets/C5KpsIEK.js @@ -1,2 +1,2 @@ -const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./CGmNF7c0.js","./Sa-_S7_w.js","./entry.DORe4TYg.css"])))=>i.map(i=>d[i]); -import{bX as w,bn as b,bY as d,bZ as l,b_ as p}from"./Sa-_S7_w.js";async function h(n,a="gzip"){let e;if(typeof Buffer<"u"){const i=Buffer.from(n,"base64");e=Uint8Array.from(i)}else if(typeof atob<"u")e=Uint8Array.from(atob(n),i=>i.charCodeAt(0));else throw new TypeError("No base64 decoding method available");const o=new Response(new Blob([e])).body?.pipeThrough(new DecompressionStream(a)),c=await new Response(o).text();return JSON.parse(c)}function f(n,a){const e=g(n),t={...a};for(const o in t)e[o]==="json"&&t[o]&&t[o]!=="undefined"&&(t[o]=JSON.parse(t[o])),e[o]==="boolean"&&t[o]!=="undefined"&&(t[o]=!!t[o]);for(const o in t)t[o]==="NULL"&&(t[o]=void 0);return t}function g(n){const a=n.match(/FROM\s+(\w+)/);return a?w[y(a[1])]?.fields||{}:{}}function y(n){return n.replace(/^_content_/,"")}let r;const u=new Map,s=new Map;function E(n){async function a(e){const t=String(e);return r||(s.has("_")||s.set("_",S()),r=await s.get("_"),s.delete("_")),u.has(t)||(s.has(t)||s.set(t,_(e)),await s.get(t),u.set(t,"loaded"),s.delete(t)),r}return{all:async(e,t)=>(await a(n),r.exec({sql:e,bind:t,rowMode:"object",returnValue:"resultRows"}).map(o=>f(e,o))),first:async(e,t)=>(await a(n),f(e,r.exec({sql:e,bind:t,rowMode:"object",returnValue:"resultRows"}).shift())),exec:async(e,t)=>{await a(n),await r.exec({sql:e,bind:t})}}}async function S(){if(!r){const n=await b(()=>import("./CGmNF7c0.js"),__vite__mapDeps([0,1,2]),import.meta.url).then(e=>e.default);globalThis.sqlite3ApiConfig={silent:!0,debug:(...e)=>console.debug(...e),warn:(...e)=>{String(e[0]).includes("OPFS sqlite3_vfs")||console.warn(...e)},error:(...e)=>console.error(...e),log:(...e)=>console.log(...e)};const a=await n();r=new a.oo1.DB}return r}async function _(n){if(window.sessionStorage.getItem("previewToken"))return r;let a=null;const e=`checksum_${n}`,t=`collection_${n}`;let o="matched";try{r.exec({sql:`SELECT * FROM ${d.info} where id = '${e}'`,rowMode:"object",returnValue:"resultRows"}).shift()?.version!==l[String(n)]&&(o="mismatch")}catch{o="missing"}if(o!=="matched"){if(window.localStorage.getItem(`content_${e}`)===l[String(n)]&&(a=window.localStorage.getItem(`content_${t}`)),!a){a=await p(void 0,String(n));try{window.localStorage.setItem(`content_${e}`,l[String(n)]),window.localStorage.setItem(`content_${t}`,a)}catch(i){console.error("Database integrity check failed, rebuilding database",i)}}const c=await h(a);await r.exec({sql:`DROP TABLE IF EXISTS ${d[String(n)]}`}),o==="mismatch"&&await r.exec({sql:`DELETE FROM ${d.info} WHERE id = '${e}'`});for(const i of c)try{await r.exec(i)}catch(m){console.error("Error executing command",m)}}return r}export{E as loadDatabaseAdapter}; +const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./BYX-Fuv8.js","./DklXDfzJ.js","./entry.DORe4TYg.css"])))=>i.map(i=>d[i]); +import{bX as w,bn as b,bY as d,bZ as l,b_ as p}from"./DklXDfzJ.js";async function h(n,a="gzip"){let e;if(typeof Buffer<"u"){const i=Buffer.from(n,"base64");e=Uint8Array.from(i)}else if(typeof atob<"u")e=Uint8Array.from(atob(n),i=>i.charCodeAt(0));else throw new TypeError("No base64 decoding method available");const o=new Response(new Blob([e])).body?.pipeThrough(new DecompressionStream(a)),c=await new Response(o).text();return JSON.parse(c)}function f(n,a){const e=g(n),t={...a};for(const o in t)e[o]==="json"&&t[o]&&t[o]!=="undefined"&&(t[o]=JSON.parse(t[o])),e[o]==="boolean"&&t[o]!=="undefined"&&(t[o]=!!t[o]);for(const o in t)t[o]==="NULL"&&(t[o]=void 0);return t}function g(n){const a=n.match(/FROM\s+(\w+)/);return a?w[y(a[1])]?.fields||{}:{}}function y(n){return n.replace(/^_content_/,"")}let r;const u=new Map,s=new Map;function E(n){async function a(e){const t=String(e);return r||(s.has("_")||s.set("_",S()),r=await s.get("_"),s.delete("_")),u.has(t)||(s.has(t)||s.set(t,_(e)),await s.get(t),u.set(t,"loaded"),s.delete(t)),r}return{all:async(e,t)=>(await a(n),r.exec({sql:e,bind:t,rowMode:"object",returnValue:"resultRows"}).map(o=>f(e,o))),first:async(e,t)=>(await a(n),f(e,r.exec({sql:e,bind:t,rowMode:"object",returnValue:"resultRows"}).shift())),exec:async(e,t)=>{await a(n),await r.exec({sql:e,bind:t})}}}async function S(){if(!r){const n=await b(()=>import("./BYX-Fuv8.js"),__vite__mapDeps([0,1,2]),import.meta.url).then(e=>e.default);globalThis.sqlite3ApiConfig={silent:!0,debug:(...e)=>console.debug(...e),warn:(...e)=>{String(e[0]).includes("OPFS sqlite3_vfs")||console.warn(...e)},error:(...e)=>console.error(...e),log:(...e)=>console.log(...e)};const a=await n();r=new a.oo1.DB}return r}async function _(n){if(window.sessionStorage.getItem("previewToken"))return r;let a=null;const e=`checksum_${n}`,t=`collection_${n}`;let o="matched";try{r.exec({sql:`SELECT * FROM ${d.info} where id = '${e}'`,rowMode:"object",returnValue:"resultRows"}).shift()?.version!==l[String(n)]&&(o="mismatch")}catch{o="missing"}if(o!=="matched"){if(window.localStorage.getItem(`content_${e}`)===l[String(n)]&&(a=window.localStorage.getItem(`content_${t}`)),!a){a=await p(void 0,String(n));try{window.localStorage.setItem(`content_${e}`,l[String(n)]),window.localStorage.setItem(`content_${t}`,a)}catch(i){console.error("Database integrity check failed, rebuilding database",i)}}const c=await h(a);await r.exec({sql:`DROP TABLE IF EXISTS ${d[String(n)]}`}),o==="mismatch"&&await r.exec({sql:`DELETE FROM ${d.info} WHERE id = '${e}'`});for(const i of c)try{await r.exec(i)}catch(m){console.error("Error executing command",m)}}return r}export{E as loadDatabaseAdapter}; diff --git a/assets/BidMfeEk.js b/assets/C77U2lz4.js similarity index 85% rename from assets/BidMfeEk.js rename to assets/C77U2lz4.js index e45f440..7f46513 100644 --- a/assets/BidMfeEk.js +++ b/assets/C77U2lz4.js @@ -1 +1 @@ -import{a0 as c,a1 as p,e as l,q as u,ac as d,s as i,c as m,am as s,o as f}from"./Sa-_S7_w.js";const h={base:"bg-muted"},C={__name:"ProseThead",props:{class:{type:null,required:!1},ui:{type:Object,required:!1}},setup(a){const e=a,t=c(),o=p("prose.thead",e),r=m(()=>s({extend:s(h),...t.ui?.prose?.thead||{}}));return(n,_)=>(f(),l("thead",{class:d(r.value({class:[i(o)?.base,e.class]}))},[u(n.$slots,"default")],2))}};export{C as default}; +import{a0 as c,a1 as p,e as l,q as u,ac as d,s as i,c as m,am as s,o as f}from"./DklXDfzJ.js";const h={base:"bg-muted"},C={__name:"ProseThead",props:{class:{type:null,required:!1},ui:{type:Object,required:!1}},setup(a){const e=a,t=c(),o=p("prose.thead",e),r=m(()=>s({extend:s(h),...t.ui?.prose?.thead||{}}));return(n,_)=>(f(),l("thead",{class:d(r.value({class:[i(o)?.base,e.class]}))},[u(n.$slots,"default")],2))}};export{C as default}; diff --git a/assets/C8bC2vpE.js b/assets/C8bC2vpE.js deleted file mode 100644 index 24ab504..0000000 --- a/assets/C8bC2vpE.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as e}from"./Dt_cdDua.js";import{aG as o,a as n,p as s,o as r,q as c}from"./Sa-_S7_w.js";const _={};function f(t,l){const a=e;return r(),n(a,null,{default:s(()=>[c(t.$slots,"default")]),_:3})}const m=o(_,[["render",f]]);export{m as default}; diff --git a/assets/tOweAOJv.js b/assets/C8rlYhEz.js similarity index 97% rename from assets/tOweAOJv.js rename to assets/C8rlYhEz.js index 6de584b..644c1c3 100644 --- a/assets/tOweAOJv.js +++ b/assets/C8rlYhEz.js @@ -1 +1 @@ -import{Q as q,a0 as S,a1 as w,o as a,a as f,p as k,q as d,B as C,bW as z,ac as r,s,e as n,ab as B,f as c,ah as h,ag as m,F as v,r as b,m as p,ak as I,P,c as j,am as x}from"./Sa-_S7_w.js";import V from"./DaldoYD7.js";const A={slots:{root:"relative isolate",container:"flex flex-col lg:grid py-16 sm:py-24 lg:py-32 gap-8 sm:gap-16",wrapper:"",header:"",leading:"flex items-center mb-6",leadingIcon:"size-10 shrink-0 text-primary",headline:"mb-3",title:"text-3xl sm:text-4xl lg:text-5xl text-pretty tracking-tight font-bold text-highlighted",description:"text-base sm:text-lg text-muted",body:"mt-8",features:"grid",footer:"mt-8",links:"flex flex-wrap gap-x-6 gap-y-3"},variants:{orientation:{horizontal:{container:"lg:grid-cols-2 lg:items-center",description:"text-pretty",features:"gap-4"},vertical:{container:"",headline:"justify-center",leading:"justify-center",title:"text-center",description:"text-center text-balance",links:"justify-center",features:"sm:grid-cols-2 lg:grid-cols-3 gap-8"}},reverse:{true:{wrapper:"order-last"}},headline:{true:{headline:"font-semibold text-primary flex items-center gap-1.5"}},title:{true:{description:"mt-6"}},description:{true:""},body:{true:""}},compoundVariants:[{orientation:"vertical",title:!0,class:{body:"mt-16"}},{orientation:"vertical",description:!0,class:{body:"mt-16"}},{orientation:"vertical",body:!0,class:{footer:"mt-16"}}]},N={key:2,class:"hidden lg:block"},E={__name:"UPageSection",props:{as:{type:null,required:!1,default:"section"},headline:{type:String,required:!1},icon:{type:null,required:!1},title:{type:String,required:!1},description:{type:String,required:!1},links:{type:Array,required:!1},features:{type:Array,required:!1},orientation:{type:null,required:!1,default:"vertical"},reverse:{type:Boolean,required:!1},class:{type:null,required:!1},ui:{type:Object,required:!1}},setup(t){const u=t,e=q(),$=S(),i=w("pageSection",u),l=j(()=>x({extend:x(A),...$.ui?.pageSection||{}})({orientation:u.orientation,reverse:u.reverse,title:!!u.title||!!e.title,description:!!u.description||!!e.description,body:!!e.body||!!u.features?.length||!!e.features}));return(o,F)=>(a(),f(s(P),{as:t.as,"data-orientation":t.orientation,"data-slot":"root",class:r(l.value.root({class:[s(i)?.root,u.class]}))},{default:k(()=>[d(o.$slots,"top"),C(z,{"data-slot":"container",class:r(l.value.container({class:s(i)?.container}))},{default:k(()=>[e.header||t.icon||e.leading||t.headline||e.headline||t.title||e.title||t.description||e.description||e.body||t.features?.length||e.features||e.footer||t.links?.length||e.links?(a(),n("div",{key:0,"data-slot":"wrapper",class:r(l.value.wrapper({class:s(i)?.wrapper}))},[e.header||t.icon||e.leading||t.headline||e.headline||t.title||e.title||t.description||e.description?(a(),n("div",{key:0,"data-slot":"header",class:r(l.value.header({class:s(i)?.header}))},[d(o.$slots,"header",{},()=>[t.icon||e.leading?(a(),n("div",{key:0,"data-slot":"leading",class:r(l.value.leading({class:s(i)?.leading}))},[d(o.$slots,"leading",{ui:l.value},()=>[t.icon?(a(),f(B,{key:0,name:t.icon,"data-slot":"leadingIcon",class:r(l.value.leadingIcon({class:s(i)?.leadingIcon}))},null,8,["name","class"])):c("",!0)])],2)):c("",!0),t.headline||e.headline?(a(),n("div",{key:1,"data-slot":"headline",class:r(l.value.headline({class:s(i)?.headline,headline:!e.headline}))},[d(o.$slots,"headline",{},()=>[h(m(t.headline),1)])],2)):c("",!0),t.title||e.title?(a(),n("h2",{key:2,"data-slot":"title",class:r(l.value.title({class:s(i)?.title}))},[d(o.$slots,"title",{},()=>[h(m(t.title),1)])],2)):c("",!0),t.description||e.description?(a(),n("div",{key:3,"data-slot":"description",class:r(l.value.description({class:s(i)?.description}))},[d(o.$slots,"description",{},()=>[h(m(t.description),1)])],2)):c("",!0)])],2)):c("",!0),e.body||t.features?.length||e.features?(a(),n("div",{key:1,"data-slot":"body",class:r(l.value.body({class:s(i)?.body}))},[d(o.$slots,"body",{},()=>[t.features?.length||e.features?(a(),n("ul",{key:0,"data-slot":"features",class:r(l.value.features({class:s(i)?.features}))},[d(o.$slots,"features",{},()=>[(a(!0),n(v,null,b(t.features,(g,y)=>(a(),f(V,p({key:y,as:"li"},{ref_for:!0},g),null,16))),128))])],2)):c("",!0)])],2)):c("",!0),e.footer||t.links?.length||e.links?(a(),n("div",{key:2,"data-slot":"footer",class:r(l.value.footer({class:s(i)?.footer}))},[d(o.$slots,"footer",{},()=>[t.links?.length||e.links?(a(),n("div",{key:0,"data-slot":"links",class:r(l.value.links({class:s(i)?.links}))},[d(o.$slots,"links",{},()=>[(a(!0),n(v,null,b(t.links,(g,y)=>(a(),f(I,p({key:y,size:"lg"},{ref_for:!0},g),null,16))),128))])],2)):c("",!0)])],2)):c("",!0)],2)):c("",!0),e.default?d(o.$slots,"default",{key:1}):t.orientation==="horizontal"?(a(),n("div",N)):c("",!0)]),_:3},8,["class"]),d(o.$slots,"bottom")]),_:3},8,["as","data-orientation","class"]))}};export{E as default}; +import{Q as q,a0 as S,a1 as w,o as a,a as f,p as k,q as d,B as C,bW as z,ac as r,s,e as n,ab as B,f as c,ah as h,ag as m,F as v,r as b,m as p,ak as I,P,c as j,am as x}from"./DklXDfzJ.js";import V from"./HMVwWJyQ.js";const A={slots:{root:"relative isolate",container:"flex flex-col lg:grid py-16 sm:py-24 lg:py-32 gap-8 sm:gap-16",wrapper:"",header:"",leading:"flex items-center mb-6",leadingIcon:"size-10 shrink-0 text-primary",headline:"mb-3",title:"text-3xl sm:text-4xl lg:text-5xl text-pretty tracking-tight font-bold text-highlighted",description:"text-base sm:text-lg text-muted",body:"mt-8",features:"grid",footer:"mt-8",links:"flex flex-wrap gap-x-6 gap-y-3"},variants:{orientation:{horizontal:{container:"lg:grid-cols-2 lg:items-center",description:"text-pretty",features:"gap-4"},vertical:{container:"",headline:"justify-center",leading:"justify-center",title:"text-center",description:"text-center text-balance",links:"justify-center",features:"sm:grid-cols-2 lg:grid-cols-3 gap-8"}},reverse:{true:{wrapper:"order-last"}},headline:{true:{headline:"font-semibold text-primary flex items-center gap-1.5"}},title:{true:{description:"mt-6"}},description:{true:""},body:{true:""}},compoundVariants:[{orientation:"vertical",title:!0,class:{body:"mt-16"}},{orientation:"vertical",description:!0,class:{body:"mt-16"}},{orientation:"vertical",body:!0,class:{footer:"mt-16"}}]},N={key:2,class:"hidden lg:block"},E={__name:"UPageSection",props:{as:{type:null,required:!1,default:"section"},headline:{type:String,required:!1},icon:{type:null,required:!1},title:{type:String,required:!1},description:{type:String,required:!1},links:{type:Array,required:!1},features:{type:Array,required:!1},orientation:{type:null,required:!1,default:"vertical"},reverse:{type:Boolean,required:!1},class:{type:null,required:!1},ui:{type:Object,required:!1}},setup(t){const u=t,e=q(),$=S(),i=w("pageSection",u),l=j(()=>x({extend:x(A),...$.ui?.pageSection||{}})({orientation:u.orientation,reverse:u.reverse,title:!!u.title||!!e.title,description:!!u.description||!!e.description,body:!!e.body||!!u.features?.length||!!e.features}));return(o,F)=>(a(),f(s(P),{as:t.as,"data-orientation":t.orientation,"data-slot":"root",class:r(l.value.root({class:[s(i)?.root,u.class]}))},{default:k(()=>[d(o.$slots,"top"),C(z,{"data-slot":"container",class:r(l.value.container({class:s(i)?.container}))},{default:k(()=>[e.header||t.icon||e.leading||t.headline||e.headline||t.title||e.title||t.description||e.description||e.body||t.features?.length||e.features||e.footer||t.links?.length||e.links?(a(),n("div",{key:0,"data-slot":"wrapper",class:r(l.value.wrapper({class:s(i)?.wrapper}))},[e.header||t.icon||e.leading||t.headline||e.headline||t.title||e.title||t.description||e.description?(a(),n("div",{key:0,"data-slot":"header",class:r(l.value.header({class:s(i)?.header}))},[d(o.$slots,"header",{},()=>[t.icon||e.leading?(a(),n("div",{key:0,"data-slot":"leading",class:r(l.value.leading({class:s(i)?.leading}))},[d(o.$slots,"leading",{ui:l.value},()=>[t.icon?(a(),f(B,{key:0,name:t.icon,"data-slot":"leadingIcon",class:r(l.value.leadingIcon({class:s(i)?.leadingIcon}))},null,8,["name","class"])):c("",!0)])],2)):c("",!0),t.headline||e.headline?(a(),n("div",{key:1,"data-slot":"headline",class:r(l.value.headline({class:s(i)?.headline,headline:!e.headline}))},[d(o.$slots,"headline",{},()=>[h(m(t.headline),1)])],2)):c("",!0),t.title||e.title?(a(),n("h2",{key:2,"data-slot":"title",class:r(l.value.title({class:s(i)?.title}))},[d(o.$slots,"title",{},()=>[h(m(t.title),1)])],2)):c("",!0),t.description||e.description?(a(),n("div",{key:3,"data-slot":"description",class:r(l.value.description({class:s(i)?.description}))},[d(o.$slots,"description",{},()=>[h(m(t.description),1)])],2)):c("",!0)])],2)):c("",!0),e.body||t.features?.length||e.features?(a(),n("div",{key:1,"data-slot":"body",class:r(l.value.body({class:s(i)?.body}))},[d(o.$slots,"body",{},()=>[t.features?.length||e.features?(a(),n("ul",{key:0,"data-slot":"features",class:r(l.value.features({class:s(i)?.features}))},[d(o.$slots,"features",{},()=>[(a(!0),n(v,null,b(t.features,(g,y)=>(a(),f(V,p({key:y,as:"li"},{ref_for:!0},g),null,16))),128))])],2)):c("",!0)])],2)):c("",!0),e.footer||t.links?.length||e.links?(a(),n("div",{key:2,"data-slot":"footer",class:r(l.value.footer({class:s(i)?.footer}))},[d(o.$slots,"footer",{},()=>[t.links?.length||e.links?(a(),n("div",{key:0,"data-slot":"links",class:r(l.value.links({class:s(i)?.links}))},[d(o.$slots,"links",{},()=>[(a(!0),n(v,null,b(t.links,(g,y)=>(a(),f(I,p({key:y,size:"lg"},{ref_for:!0},g),null,16))),128))])],2)):c("",!0)])],2)):c("",!0)],2)):c("",!0),e.default?d(o.$slots,"default",{key:1}):t.orientation==="horizontal"?(a(),n("div",N)):c("",!0)]),_:3},8,["class"]),d(o.$slots,"bottom")]),_:3},8,["as","data-orientation","class"]))}};export{E as default}; diff --git a/assets/BnWD00Mr.js b/assets/CB0pqUbN.js similarity index 92% rename from assets/BnWD00Mr.js rename to assets/CB0pqUbN.js index 0f35e8b..066245b 100644 --- a/assets/BnWD00Mr.js +++ b/assets/CB0pqUbN.js @@ -1 +1 @@ -import{_ as d,$ as f,a0 as g,a1 as m,e as v,q as x,af as C,B as y,s as e,ac as n,ak as b,al as h,c as _,am as i,o as q}from"./Sa-_S7_w.js";const B={slots:{root:"relative [&_pre]:h-[200px]",footer:"h-16 absolute inset-x-px bottom-px rounded-b-md flex items-center justify-center",trigger:"group",triggerIcon:"group-data-[state=open]:rotate-180"},variants:{open:{true:{root:"[&_pre]:h-auto [&_pre]:min-h-[200px] [&_pre]:max-h-[80vh] [&_pre]:pb-12"},false:{root:"[&_pre]:overflow-hidden",footer:"bg-gradient-to-t from-muted"}}}},I={__name:"ProseCodeCollapse",props:h({icon:{type:null,required:!1},name:{type:String,required:!1},openText:{type:String,required:!1},closeText:{type:String,required:!1},class:{type:null,required:!1},ui:{type:Object,required:!1}},{open:{type:Boolean,default:!1},openModifiers:{}}),emits:["update:open"],setup(l){const o=l,a=d(l,"open",{type:Boolean,default:!1}),{t:r}=f(),p=g(),s=m("prose.codeCollapse",o),t=_(()=>i({extend:i(B),...p.ui?.prose?.codeCollapse||{}})({open:a.value}));return(u,c)=>(q(),v("div",{class:n(t.value.root({class:[e(s)?.root,o.class]}))},[x(u.$slots,"default"),C("div",{class:n(t.value.footer({class:e(s)?.footer}))},[y(b,{icon:l.icon||e(p).ui.icons.chevronDown,color:"neutral",variant:"outline","data-state":a.value?"open":"closed",label:`${a.value?o.closeText||e(r)("prose.codeCollapse.closeText"):o.openText||e(r)("prose.codeCollapse.openText")} ${o.name||e(r)("prose.codeCollapse.name")}`,class:n(t.value.trigger({class:e(s)?.trigger})),ui:{leadingIcon:t.value.triggerIcon({class:e(s)?.triggerIcon})},onClick:c[0]||(c[0]=T=>a.value=!a.value)},null,8,["icon","data-state","label","class","ui"])],2)],2))}};export{I as default}; +import{_ as d,$ as f,a0 as g,a1 as m,e as v,q as x,af as C,B as y,s as e,ac as n,ak as b,al as h,c as _,am as i,o as q}from"./DklXDfzJ.js";const B={slots:{root:"relative [&_pre]:h-[200px]",footer:"h-16 absolute inset-x-px bottom-px rounded-b-md flex items-center justify-center",trigger:"group",triggerIcon:"group-data-[state=open]:rotate-180"},variants:{open:{true:{root:"[&_pre]:h-auto [&_pre]:min-h-[200px] [&_pre]:max-h-[80vh] [&_pre]:pb-12"},false:{root:"[&_pre]:overflow-hidden",footer:"bg-gradient-to-t from-muted"}}}},I={__name:"ProseCodeCollapse",props:h({icon:{type:null,required:!1},name:{type:String,required:!1},openText:{type:String,required:!1},closeText:{type:String,required:!1},class:{type:null,required:!1},ui:{type:Object,required:!1}},{open:{type:Boolean,default:!1},openModifiers:{}}),emits:["update:open"],setup(l){const o=l,a=d(l,"open",{type:Boolean,default:!1}),{t:r}=f(),p=g(),s=m("prose.codeCollapse",o),t=_(()=>i({extend:i(B),...p.ui?.prose?.codeCollapse||{}})({open:a.value}));return(u,c)=>(q(),v("div",{class:n(t.value.root({class:[e(s)?.root,o.class]}))},[x(u.$slots,"default"),C("div",{class:n(t.value.footer({class:e(s)?.footer}))},[y(b,{icon:l.icon||e(p).ui.icons.chevronDown,color:"neutral",variant:"outline","data-state":a.value?"open":"closed",label:`${a.value?o.closeText||e(r)("prose.codeCollapse.closeText"):o.openText||e(r)("prose.codeCollapse.openText")} ${o.name||e(r)("prose.codeCollapse.name")}`,class:n(t.value.trigger({class:e(s)?.trigger})),ui:{leadingIcon:t.value.triggerIcon({class:e(s)?.triggerIcon})},onClick:c[0]||(c[0]=T=>a.value=!a.value)},null,8,["icon","data-state","label","class","ui"])],2)],2))}};export{I as default}; diff --git a/assets/Ca_2f93x.js b/assets/CDEkn73i.js similarity index 64% rename from assets/Ca_2f93x.js rename to assets/CDEkn73i.js index 81033be..73b4188 100644 --- a/assets/Ca_2f93x.js +++ b/assets/CDEkn73i.js @@ -1 +1 @@ -import{r as a}from"./B9iXeHun.js";import t from"./BMqJWTDa.js";import{a0 as s,a as e,p as n,s as p,o as c}from"./Sa-_S7_w.js";import"./BN_7HF1G.js";const d={__name:"ProseCaution",setup(i){const o=s();return(r,f)=>(c(),e(t,{color:"error",icon:p(o).ui.icons.caution},{default:n(()=>[a(r.$slots,"default",{mdcUnwrap:"p"})]),_:3},8,["icon"]))}};export{d as default}; +import{r as a}from"./CTGtweTb.js";import t from"./DBhEayJC.js";import{a0 as s,a as e,p as n,s as p,o as c}from"./DklXDfzJ.js";import"./BN_7HF1G.js";const d={__name:"ProseCaution",setup(i){const o=s();return(r,f)=>(c(),e(t,{color:"error",icon:p(o).ui.icons.caution},{default:n(()=>[a(r.$slots,"default",{mdcUnwrap:"p"})]),_:3},8,["icon"]))}};export{d as default}; diff --git a/assets/CjzR56Xk.js b/assets/CIUBNquS.js similarity index 66% rename from assets/CjzR56Xk.js rename to assets/CIUBNquS.js index 68027ed..8487d06 100644 --- a/assets/CjzR56Xk.js +++ b/assets/CIUBNquS.js @@ -1 +1 @@ -import{r as c}from"./B9iXeHun.js";import{a0 as n,a1 as l,a as u,p as i,ac as m,s as d,bC as f,c as _,am as a,o as b}from"./Sa-_S7_w.js";import"./BN_7HF1G.js";const C={base:"rounded-full"},y={__name:"ProseBadge",props:{class:{type:null,required:!1},ui:{type:Object,required:!1}},setup(e){const s=e,o=n(),r=l("prose.badge",s),t=_(()=>a({extend:a(C),...o.ui?.prose?.badge||{}}));return(p,g)=>(b(),u(f,{color:"primary",variant:"subtle",class:m(t.value({class:[d(r)?.base,s.class]}))},{default:i(()=>[c(p.$slots,"default",{mdcUnwrap:"p"})]),_:3},8,["class"]))}};export{y as default}; +import{r as c}from"./CTGtweTb.js";import{a0 as n,a1 as l,a as u,p as i,ac as m,s as d,bC as f,c as _,am as a,o as b}from"./DklXDfzJ.js";import"./BN_7HF1G.js";const C={base:"rounded-full"},y={__name:"ProseBadge",props:{class:{type:null,required:!1},ui:{type:Object,required:!1}},setup(e){const s=e,o=n(),r=l("prose.badge",s),t=_(()=>a({extend:a(C),...o.ui?.prose?.badge||{}}));return(p,g)=>(b(),u(f,{color:"primary",variant:"subtle",class:m(t.value({class:[d(r)?.base,s.class]}))},{default:i(()=>[c(p.$slots,"default",{mdcUnwrap:"p"})]),_:3},8,["class"]))}};export{y as default}; diff --git a/assets/CANCTBfH.js b/assets/CTFIZA_D.js similarity index 65% rename from assets/CANCTBfH.js rename to assets/CTFIZA_D.js index 2531f4d..a780fd8 100644 --- a/assets/CANCTBfH.js +++ b/assets/CTFIZA_D.js @@ -1 +1 @@ -import{aG as e,o as s,e as t}from"./Sa-_S7_w.js";const a={};function n(c,o){return s(),t("div")}const _=Object.assign(e(a,[["render",n]]),{__name:"AssistantChat"});export{_ as default}; +import{aG as e,o as s,e as t}from"./DklXDfzJ.js";const a={};function n(c,o){return s(),t("div")}const _=Object.assign(e(a,[["render",n]]),{__name:"AssistantChat"});export{_ as default}; diff --git a/assets/B9iXeHun.js b/assets/CTGtweTb.js similarity index 65% rename from assets/B9iXeHun.js rename to assets/CTGtweTb.js index f207272..a944550 100644 --- a/assets/B9iXeHun.js +++ b/assets/CTGtweTb.js @@ -1 +1 @@ -import{f as d}from"./BN_7HF1G.js";import{q as a}from"./Sa-_S7_w.js";const w=(f,r,t,...n)=>f[r]?a({...f,[r]:()=>d(f[r](),t?.unwrap||t?.mdcUnwrap)},r,t,...n):a(f,r,t,...n);export{w as r}; +import{f as d}from"./BN_7HF1G.js";import{q as a}from"./DklXDfzJ.js";const w=(f,r,t,...n)=>f[r]?a({...f,[r]:()=>d(f[r](),t?.unwrap||t?.mdcUnwrap)},r,t,...n):a(f,r,t,...n);export{w as r}; diff --git a/assets/BqBJuCYV.js b/assets/CTQfqdqs.js similarity index 86% rename from assets/BqBJuCYV.js rename to assets/CTQfqdqs.js index eaeb837..f81c01d 100644 --- a/assets/BqBJuCYV.js +++ b/assets/CTQfqdqs.js @@ -1 +1 @@ -import{a0 as p,a1 as n,e as l,q as u,ac as i,s as d,c as m,am as e,o as f}from"./Sa-_S7_w.js";const g={base:"grid grid-cols-1 sm:grid-cols-2 gap-5 my-5 *:my-0"},y={__name:"ProseCardGroup",props:{class:{type:null,required:!1},ui:{type:Object,required:!1}},setup(a){const s=a,o=p(),r=n("prose.cardGroup",s),t=m(()=>e({extend:e(g),...o.ui?.prose?.cardGroup||{}}));return(c,C)=>(f(),l("div",{class:i(t.value({class:[d(r)?.base,s.class]}))},[u(c.$slots,"default")],2))}};export{y as default}; +import{a0 as p,a1 as n,e as l,q as u,ac as i,s as d,c as m,am as e,o as f}from"./DklXDfzJ.js";const g={base:"grid grid-cols-1 sm:grid-cols-2 gap-5 my-5 *:my-0"},y={__name:"ProseCardGroup",props:{class:{type:null,required:!1},ui:{type:Object,required:!1}},setup(a){const s=a,o=p(),r=n("prose.cardGroup",s),t=m(()=>e({extend:e(g),...o.ui?.prose?.cardGroup||{}}));return(c,C)=>(f(),l("div",{class:i(t.value({class:[d(r)?.base,s.class]}))},[u(c.$slots,"default")],2))}};export{y as default}; diff --git a/assets/Ba9qITSN.js b/assets/CXpIEjcs.js similarity index 64% rename from assets/Ba9qITSN.js rename to assets/CXpIEjcs.js index 6c5ba75..9e695ba 100644 --- a/assets/Ba9qITSN.js +++ b/assets/CXpIEjcs.js @@ -1 +1 @@ -import{r as a}from"./B9iXeHun.js";import n from"./BMqJWTDa.js";import{a0 as s,a as t,p as e,s as i,o as p}from"./Sa-_S7_w.js";import"./BN_7HF1G.js";const d={__name:"ProseWarning",setup(c){const o=s();return(r,f)=>(p(),t(n,{color:"warning",icon:i(o).ui.icons.warning},{default:e(()=>[a(r.$slots,"default",{mdcUnwrap:"p"})]),_:3},8,["icon"]))}};export{d as default}; +import{r as a}from"./CTGtweTb.js";import n from"./DBhEayJC.js";import{a0 as s,a as t,p as e,s as i,o as p}from"./DklXDfzJ.js";import"./BN_7HF1G.js";const d={__name:"ProseWarning",setup(c){const o=s();return(r,f)=>(p(),t(n,{color:"warning",icon:i(o).ui.icons.warning},{default:e(()=>[a(r.$slots,"default",{mdcUnwrap:"p"})]),_:3},8,["icon"]))}};export{d as default}; diff --git a/assets/CL7wIhgG.js b/assets/CZA_HeFn.js similarity index 94% rename from assets/CL7wIhgG.js rename to assets/CZA_HeFn.js index 0885cb0..b01463c 100644 --- a/assets/CL7wIhgG.js +++ b/assets/CZA_HeFn.js @@ -1 +1 @@ -import{r as k}from"./B9iXeHun.js";import{Q as I,a0 as w,a1 as q,e as c,a as u,p as C,m as S,a7 as $,f as l,ac as n,s as t,ab as g,q as V,c as d,am as f,o,af as B,ah as h,ag as x}from"./Sa-_S7_w.js";import"./BN_7HF1G.js";const j={slots:{base:["group relative block my-5 p-4 sm:p-6 border border-default rounded-md bg-default","transition-colors"],icon:"size-6 mb-2 block",title:"text-highlighted font-semibold",description:"text-[15px] text-muted *:first:mt-0 *:last:mb-0 *:my-1",externalIcon:["size-4 align-top absolute right-2 top-2 text-dimmed pointer-events-none","transition-colors"]},variants:{color:{primary:{icon:"text-primary"},secondary:{icon:"text-secondary"},success:{icon:"text-success"},info:{icon:"text-info"},warning:{icon:"text-warning"},error:{icon:"text-error"},neutral:{icon:"text-highlighted"}},to:{true:""},title:{true:{description:"mt-1"}}},compoundVariants:[{color:"primary",to:!0,class:{base:"hover:bg-primary/10 hover:border-primary has-focus-visible:border-primary",externalIcon:"group-hover:text-primary"}},{color:"secondary",to:!0,class:{base:"hover:bg-secondary/10 hover:border-secondary has-focus-visible:border-secondary",externalIcon:"group-hover:text-secondary"}},{color:"success",to:!0,class:{base:"hover:bg-success/10 hover:border-success has-focus-visible:border-success",externalIcon:"group-hover:text-success"}},{color:"info",to:!0,class:{base:"hover:bg-info/10 hover:border-info has-focus-visible:border-info",externalIcon:"group-hover:text-info"}},{color:"warning",to:!0,class:{base:"hover:bg-warning/10 hover:border-warning has-focus-visible:border-warning",externalIcon:"group-hover:text-warning"}},{color:"error",to:!0,class:{base:"hover:bg-error/10 hover:border-error has-focus-visible:border-error",externalIcon:"group-hover:text-error"}},{color:"neutral",to:!0,class:{base:"hover:bg-elevated/50 hover:border-inverted has-focus-visible:border-inverted",externalIcon:"group-hover:text-highlighted"}}],defaultVariants:{color:"primary"}},P=Object.assign({inheritAttrs:!1},{__name:"ProseCard",props:{to:{type:null,required:!1},target:{type:[String,Object,null],required:!1},icon:{type:null,required:!1},title:{type:String,required:!1},description:{type:String,required:!1},color:{type:null,required:!1},class:{type:null,required:!1},ui:{type:Object,required:!1}},setup(r){const e=r,b=I(),p=w(),s=q("prose.card",e),a=d(()=>f({extend:f(j),...p.ui?.prose?.card||{}})({color:e.color,to:!!e.to,title:!!e.title})),m=d(()=>e.target||(e.to&&typeof e.to=="string"&&e.to.startsWith("http")?"_blank":void 0)),y=d(()=>(e.title||"Card link").trim());return(i,v)=>(o(),c("div",{class:n(a.value.base({class:[t(s)?.base,e.class]}))},[r.to?(o(),u($,S({key:0,"aria-label":y.value},{to:r.to,target:m.value,...i.$attrs},{class:"focus:outline-none",raw:""}),{default:C(()=>[...v[0]||(v[0]=[B("span",{class:"absolute inset-0","aria-hidden":"true"},null,-1)])]),_:1},16,["aria-label"])):l("",!0),r.icon?(o(),u(g,{key:1,name:r.icon,class:n(a.value.icon({class:t(s)?.icon}))},null,8,["name","class"])):l("",!0),r.to&&m.value==="_blank"?(o(),u(g,{key:2,name:t(p).ui.icons.external,class:n(a.value.externalIcon({class:t(s)?.externalIcon}))},null,8,["name","class"])):l("",!0),r.title||b.title?(o(),c("p",{key:3,class:n(a.value.title({class:t(s)?.title}))},[k(i.$slots,"title",{mdcUnwrap:"p"},()=>[h(x(r.title),1)])],2)):l("",!0),b.default?(o(),c("div",{key:4,class:n(a.value.description({class:t(s)?.description}))},[V(i.$slots,"default",{},()=>[h(x(r.description),1)])],2)):l("",!0)],2))}});export{P as default}; +import{r as k}from"./CTGtweTb.js";import{Q as I,a0 as w,a1 as q,e as c,a as u,p as C,m as S,a7 as $,f as l,ac as n,s as t,ab as g,q as V,c as d,am as f,o,af as B,ah as h,ag as x}from"./DklXDfzJ.js";import"./BN_7HF1G.js";const j={slots:{base:["group relative block my-5 p-4 sm:p-6 border border-default rounded-md bg-default","transition-colors"],icon:"size-6 mb-2 block",title:"text-highlighted font-semibold",description:"text-[15px] text-muted *:first:mt-0 *:last:mb-0 *:my-1",externalIcon:["size-4 align-top absolute right-2 top-2 text-dimmed pointer-events-none","transition-colors"]},variants:{color:{primary:{icon:"text-primary"},secondary:{icon:"text-secondary"},success:{icon:"text-success"},info:{icon:"text-info"},warning:{icon:"text-warning"},error:{icon:"text-error"},neutral:{icon:"text-highlighted"}},to:{true:""},title:{true:{description:"mt-1"}}},compoundVariants:[{color:"primary",to:!0,class:{base:"hover:bg-primary/10 hover:border-primary has-focus-visible:border-primary",externalIcon:"group-hover:text-primary"}},{color:"secondary",to:!0,class:{base:"hover:bg-secondary/10 hover:border-secondary has-focus-visible:border-secondary",externalIcon:"group-hover:text-secondary"}},{color:"success",to:!0,class:{base:"hover:bg-success/10 hover:border-success has-focus-visible:border-success",externalIcon:"group-hover:text-success"}},{color:"info",to:!0,class:{base:"hover:bg-info/10 hover:border-info has-focus-visible:border-info",externalIcon:"group-hover:text-info"}},{color:"warning",to:!0,class:{base:"hover:bg-warning/10 hover:border-warning has-focus-visible:border-warning",externalIcon:"group-hover:text-warning"}},{color:"error",to:!0,class:{base:"hover:bg-error/10 hover:border-error has-focus-visible:border-error",externalIcon:"group-hover:text-error"}},{color:"neutral",to:!0,class:{base:"hover:bg-elevated/50 hover:border-inverted has-focus-visible:border-inverted",externalIcon:"group-hover:text-highlighted"}}],defaultVariants:{color:"primary"}},P=Object.assign({inheritAttrs:!1},{__name:"ProseCard",props:{to:{type:null,required:!1},target:{type:[String,Object,null],required:!1},icon:{type:null,required:!1},title:{type:String,required:!1},description:{type:String,required:!1},color:{type:null,required:!1},class:{type:null,required:!1},ui:{type:Object,required:!1}},setup(r){const e=r,b=I(),p=w(),s=q("prose.card",e),a=d(()=>f({extend:f(j),...p.ui?.prose?.card||{}})({color:e.color,to:!!e.to,title:!!e.title})),m=d(()=>e.target||(e.to&&typeof e.to=="string"&&e.to.startsWith("http")?"_blank":void 0)),y=d(()=>(e.title||"Card link").trim());return(i,v)=>(o(),c("div",{class:n(a.value.base({class:[t(s)?.base,e.class]}))},[r.to?(o(),u($,S({key:0,"aria-label":y.value},{to:r.to,target:m.value,...i.$attrs},{class:"focus:outline-none",raw:""}),{default:C(()=>[...v[0]||(v[0]=[B("span",{class:"absolute inset-0","aria-hidden":"true"},null,-1)])]),_:1},16,["aria-label"])):l("",!0),r.icon?(o(),u(g,{key:1,name:r.icon,class:n(a.value.icon({class:t(s)?.icon}))},null,8,["name","class"])):l("",!0),r.to&&m.value==="_blank"?(o(),u(g,{key:2,name:t(p).ui.icons.external,class:n(a.value.externalIcon({class:t(s)?.externalIcon}))},null,8,["name","class"])):l("",!0),r.title||b.title?(o(),c("p",{key:3,class:n(a.value.title({class:t(s)?.title}))},[k(i.$slots,"title",{mdcUnwrap:"p"},()=>[h(x(r.title),1)])],2)):l("",!0),b.default?(o(),c("div",{key:4,class:n(a.value.description({class:t(s)?.description}))},[V(i.$slots,"default",{},()=>[h(x(r.description),1)])],2)):l("",!0)],2))}});export{P as default}; diff --git a/assets/CxnGnurX.js b/assets/ChKjD2N-.js similarity index 96% rename from assets/CxnGnurX.js rename to assets/ChKjD2N-.js index 7764b95..06549ba 100644 --- a/assets/CxnGnurX.js +++ b/assets/ChKjD2N-.js @@ -1 +1 @@ -import{$ as h,bV as b,a0 as v,a1 as x,e as c,ac as r,s as e,B as u,af as d,ag as q,f as k,ak as C,q as S,m as $,c as B,am as p,o as m}from"./Sa-_S7_w.js";import w from"./DBvuT6Rn.js";const P={slots:{root:"relative my-5 group",header:"flex items-center gap-1.5 border border-muted bg-default border-b-0 relative rounded-t-md px-4 py-3",filename:"text-default text-sm/6",icon:"size-4 shrink-0",copy:"absolute top-[11px] right-[11px] lg:opacity-0 lg:group-hover:opacity-100 transition",base:"group font-mono text-sm/6 border border-muted bg-muted rounded-md px-4 py-3 whitespace-pre-wrap break-words overflow-x-auto focus:outline-none **:[.line]:block **:[.line.highlight]:-mx-4 **:[.line.highlight]:px-4 **:[.line.highlight]:bg-accented/50!"},variants:{filename:{true:{root:"[&>pre]:rounded-t-none [&>pre]:my-0 my-5"}}}},A={__name:"ProsePre",props:{icon:{type:null,required:!1},code:{type:String,required:!1},language:{type:String,required:!1},filename:{type:String,required:!1},highlights:{type:Array,required:!1},hideHeader:{type:Boolean,required:!1},meta:{type:String,required:!1},class:{type:null,required:!1},ui:{type:Object,required:!1}},setup(a){const t=a,{t:f}=h(),{copy:g,copied:y}=b(),l=v(),s=x("prose.pre",t),o=B(()=>p({extend:p(P),...l.ui?.prose?.pre||{}})());return(i,n)=>(m(),c("div",{class:r(o.value.root({class:[e(s)?.root],filename:!!a.filename}))},[a.filename&&!a.hideHeader?(m(),c("div",{key:0,class:r(o.value.header({class:e(s)?.header}))},[u(w,{icon:a.icon,filename:a.filename,class:r(o.value.icon({class:e(s)?.icon}))},null,8,["icon","filename","class"]),d("span",{class:r(o.value.filename({class:e(s)?.filename}))},q(a.filename),3)],2)):k("",!0),u(C,{icon:e(y)?e(l).ui.icons.copyCheck:e(l).ui.icons.copy,color:"neutral",variant:"outline",size:"sm","aria-label":e(f)("prose.pre.copy"),class:r(o.value.copy({class:e(s)?.copy})),tabindex:"-1",onClick:n[0]||(n[0]=V=>e(g)(t.code||""))},null,8,["icon","aria-label","class"]),d("pre",$({class:o.value.base({class:[e(s)?.base,t.class]})},i.$attrs),[S(i.$slots,"default")],16)],2))}};export{A as default}; +import{$ as h,bV as b,a0 as v,a1 as x,e as c,ac as r,s as e,B as u,af as d,ag as q,f as k,ak as C,q as S,m as $,c as B,am as p,o as m}from"./DklXDfzJ.js";import w from"./BX3MvpYz.js";const P={slots:{root:"relative my-5 group",header:"flex items-center gap-1.5 border border-muted bg-default border-b-0 relative rounded-t-md px-4 py-3",filename:"text-default text-sm/6",icon:"size-4 shrink-0",copy:"absolute top-[11px] right-[11px] lg:opacity-0 lg:group-hover:opacity-100 transition",base:"group font-mono text-sm/6 border border-muted bg-muted rounded-md px-4 py-3 whitespace-pre-wrap break-words overflow-x-auto focus:outline-none **:[.line]:block **:[.line.highlight]:-mx-4 **:[.line.highlight]:px-4 **:[.line.highlight]:bg-accented/50!"},variants:{filename:{true:{root:"[&>pre]:rounded-t-none [&>pre]:my-0 my-5"}}}},A={__name:"ProsePre",props:{icon:{type:null,required:!1},code:{type:String,required:!1},language:{type:String,required:!1},filename:{type:String,required:!1},highlights:{type:Array,required:!1},hideHeader:{type:Boolean,required:!1},meta:{type:String,required:!1},class:{type:null,required:!1},ui:{type:Object,required:!1}},setup(a){const t=a,{t:f}=h(),{copy:g,copied:y}=b(),l=v(),s=x("prose.pre",t),o=B(()=>p({extend:p(P),...l.ui?.prose?.pre||{}})());return(i,n)=>(m(),c("div",{class:r(o.value.root({class:[e(s)?.root],filename:!!a.filename}))},[a.filename&&!a.hideHeader?(m(),c("div",{key:0,class:r(o.value.header({class:e(s)?.header}))},[u(w,{icon:a.icon,filename:a.filename,class:r(o.value.icon({class:e(s)?.icon}))},null,8,["icon","filename","class"]),d("span",{class:r(o.value.filename({class:e(s)?.filename}))},q(a.filename),3)],2)):k("",!0),u(C,{icon:e(y)?e(l).ui.icons.copyCheck:e(l).ui.icons.copy,color:"neutral",variant:"outline",size:"sm","aria-label":e(f)("prose.pre.copy"),class:r(o.value.copy({class:e(s)?.copy})),tabindex:"-1",onClick:n[0]||(n[0]=V=>e(g)(t.code||""))},null,8,["icon","aria-label","class"]),d("pre",$({class:o.value.base({class:[e(s)?.base,t.class]})},i.$attrs),[S(i.$slots,"default")],16)],2))}};export{A as default}; diff --git a/assets/CZKfTBmy.js b/assets/CoFDp80G.js similarity index 96% rename from assets/CZKfTBmy.js rename to assets/CoFDp80G.js index 40ea56e..f82f37e 100644 --- a/assets/CZKfTBmy.js +++ b/assets/CoFDp80G.js @@ -1 +1 @@ -import{Q as L,a0 as $,a1 as A,o as n,a as g,p as d,af as v,ac as o,s as a,e as f,F as N,r as D,B as p,a7 as E,m as h,a8 as F,aa as S,q as _,ab as x,f as k,ah as j,ag as z,P as B,c as I,am as b,d as P,b2 as C,aW as H,b4 as O,aG as T,bW as V}from"./Sa-_S7_w.js";import{_ as w}from"./PGrg6JrO.js";import{_ as M}from"./Dt_cdDua.js";const W={slots:{root:"",list:"",item:"relative",link:"group text-sm flex items-center gap-1.5 py-1 focus-visible:outline-primary",linkLeading:"rounded-md p-1 inline-flex ring-inset ring",linkLeadingIcon:"size-4 shrink-0",linkLabel:"truncate",linkLabelExternalIcon:"size-3 absolute top-0 text-dimmed"},variants:{active:{true:{link:"text-primary font-semibold",linkLeading:"bg-primary ring-primary text-inverted"},false:{link:["text-muted hover:text-default font-medium","transition-colors"],linkLeading:["bg-elevated/50 ring-accented text-dimmed group-hover:bg-primary group-hover:ring-primary group-hover:text-inverted","transition"]}}}},G={__name:"UPageAnchors",props:{as:{type:null,required:!1,default:"nav"},links:{type:Array,required:!1},class:{type:null,required:!1},ui:{type:Object,required:!1}},setup(i){const r=i,c=L(),m=$(),s=A("pageAnchors",r),e=I(()=>b({extend:b(W),...m.ui?.pageAnchors||{}})());return(l,y)=>(n(),g(a(B),{as:i.as,"data-slot":"root",class:o(e.value.root({class:[a(s)?.root,r.class]}))},{default:d(()=>[v("ul",{"data-slot":"list",class:o(e.value.list({class:a(s)?.list}))},[(n(!0),f(N,null,D(i.links,(t,U)=>(n(),f("li",{key:U,"data-slot":"item",class:o(e.value.item({class:[a(s)?.item,t.ui?.item]}))},[p(E,h({ref_for:!0},a(F)(t),{custom:""}),{default:d(({active:u,...q})=>[p(S,h({ref_for:!0},q,{"data-slot":"link",class:e.value.link({class:[a(s)?.link,t.ui?.link,t.class],active:u})}),{default:d(()=>[_(l.$slots,"link",{link:t,active:u,ui:e.value},()=>[t.icon||c["link-leading"]?(n(),f("div",{key:0,"data-slot":"linkLeading",class:o(e.value.linkLeading({class:[a(s)?.linkLeading,t.ui?.linkLeading],active:u}))},[_(l.$slots,"link-leading",{link:t,active:u,ui:e.value},()=>[t.icon?(n(),g(x,{key:0,name:t.icon,"data-slot":"linkLeadingIcon",class:o(e.value.linkLeadingIcon({class:[a(s)?.linkLeadingIcon,t.ui?.linkLeadingIcon],active:u}))},null,8,["name","class"])):k("",!0)])],2)):k("",!0),t.label||c["link-label"]?(n(),f("span",{key:1,"data-slot":"linkLabel",class:o(e.value.linkLabel({class:[a(s)?.linkLabel,t.ui?.linkLabel],active:u}))},[_(l.$slots,"link-label",{link:t,active:u},()=>[j(z(t.label),1)]),t.target==="_blank"?(n(),g(x,{key:0,name:a(m).ui.icons.external,"data-slot":"linkLabelExternalIcon",class:o(e.value.linkLabelExternalIcon({class:[a(s)?.linkLabelExternalIcon,t.ui?.linkLabelExternalIcon],active:u}))},null,8,["name","class"])):k("",!0)],2)):k("",!0),_(l.$slots,"link-trailing",{link:t,active:u})])]),_:2},1040,["class"])]),_:2},1040)],2))),128))],2)]),_:3},8,["as","class"]))}},Q={key:0,class:"mb-2"},J={key:1},K=P({__name:"DocsAsideLeftTop",setup(i){const{subNavigationMode:r,sections:c}=C();return(m,s)=>{const e=G,l=H;return a(r)==="aside"?(n(),f("div",Q,[p(e,{links:a(c)},null,8,["links"]),p(l,{type:"dashed",class:"my-4"})])):(n(),f("div",J))}}}),R=Object.assign(K,{__name:"DocsAsideLeftTop"}),X=P({__name:"DocsAsideLeftBody",setup(i){const{sidebarNavigation:r}=C();return(c,m)=>{const s=O;return n(),g(s,{highlight:"",navigation:a(r)},null,8,["navigation"])}}}),Y=Object.assign(X,{__name:"DocsAsideLeftBody"}),Z={slots:{root:"hidden overflow-y-auto lg:block lg:max-h-[calc(100vh-var(--ui-header-height))] lg:sticky lg:top-(--ui-header-height) py-8 lg:ps-4 lg:-ms-4 lg:pe-6.5",container:"relative",top:"sticky -top-8 -mt-8 pointer-events-none z-[1]",topHeader:"h-8 bg-default -mx-4 px-4",topBody:"bg-default relative pointer-events-auto flex flex-col -mx-4 px-4",topFooter:"h-8 bg-gradient-to-b from-default -mx-4 px-4"}},ee={__name:"UPageAside",props:{as:{type:null,required:!1,default:"aside"},class:{type:null,required:!1},ui:{type:Object,required:!1}},setup(i){const r=i,c=L(),m=$(),s=A("pageAside",r),e=I(()=>b({extend:b(Z),...m.ui?.pageAside||{}})());return(l,y)=>(n(),g(a(B),{as:i.as,"data-slot":"root",class:o(e.value.root({class:[a(s)?.root,r.class]}))},{default:d(()=>[v("div",{"data-slot":"container",class:o(e.value.container({class:a(s)?.container}))},[c.top?(n(),f("div",{key:0,"data-slot":"top",class:o(e.value.top({class:a(s)?.top}))},[v("div",{"data-slot":"topHeader",class:o(e.value.topHeader({class:a(s)?.topHeader}))},null,2),v("div",{"data-slot":"topBody",class:o(e.value.topBody({class:a(s)?.topBody}))},[_(l.$slots,"top")],2),v("div",{"data-slot":"topFooter",class:o(e.value.topFooter({class:a(s)?.topFooter}))},null,2)],2)):k("",!0),_(l.$slots,"default"),_(l.$slots,"bottom")],2)]),_:3},8,["as","class"]))}},ae={};function se(i,r){const c=R,m=Y,s=ee,e=w,l=V,y=M;return n(),g(y,null,{default:d(()=>[p(l,null,{default:d(()=>[p(e,null,{left:d(()=>[p(s,null,{default:d(()=>[p(c),p(m)]),_:1})]),default:d(()=>[_(i.$slots,"default")]),_:3})]),_:3})]),_:3})}const le=T(ae,[["render",se]]);export{le as default}; +import{Q as L,a0 as $,a1 as A,o as n,a as g,p as d,af as v,ac as o,s as a,e as f,F as N,r as D,B as p,a7 as E,m as h,a8 as F,aa as S,q as _,ab as x,f as k,ah as j,ag as z,P as B,c as I,am as b,d as P,b2 as C,aW as H,b4 as O,aG as T,bW as V}from"./DklXDfzJ.js";import{_ as w}from"./BI9s2eu6.js";import{_ as M}from"./DWpnoitU.js";const W={slots:{root:"",list:"",item:"relative",link:"group text-sm flex items-center gap-1.5 py-1 focus-visible:outline-primary",linkLeading:"rounded-md p-1 inline-flex ring-inset ring",linkLeadingIcon:"size-4 shrink-0",linkLabel:"truncate",linkLabelExternalIcon:"size-3 absolute top-0 text-dimmed"},variants:{active:{true:{link:"text-primary font-semibold",linkLeading:"bg-primary ring-primary text-inverted"},false:{link:["text-muted hover:text-default font-medium","transition-colors"],linkLeading:["bg-elevated/50 ring-accented text-dimmed group-hover:bg-primary group-hover:ring-primary group-hover:text-inverted","transition"]}}}},G={__name:"UPageAnchors",props:{as:{type:null,required:!1,default:"nav"},links:{type:Array,required:!1},class:{type:null,required:!1},ui:{type:Object,required:!1}},setup(i){const r=i,c=L(),m=$(),s=A("pageAnchors",r),e=I(()=>b({extend:b(W),...m.ui?.pageAnchors||{}})());return(l,y)=>(n(),g(a(B),{as:i.as,"data-slot":"root",class:o(e.value.root({class:[a(s)?.root,r.class]}))},{default:d(()=>[v("ul",{"data-slot":"list",class:o(e.value.list({class:a(s)?.list}))},[(n(!0),f(N,null,D(i.links,(t,U)=>(n(),f("li",{key:U,"data-slot":"item",class:o(e.value.item({class:[a(s)?.item,t.ui?.item]}))},[p(E,h({ref_for:!0},a(F)(t),{custom:""}),{default:d(({active:u,...q})=>[p(S,h({ref_for:!0},q,{"data-slot":"link",class:e.value.link({class:[a(s)?.link,t.ui?.link,t.class],active:u})}),{default:d(()=>[_(l.$slots,"link",{link:t,active:u,ui:e.value},()=>[t.icon||c["link-leading"]?(n(),f("div",{key:0,"data-slot":"linkLeading",class:o(e.value.linkLeading({class:[a(s)?.linkLeading,t.ui?.linkLeading],active:u}))},[_(l.$slots,"link-leading",{link:t,active:u,ui:e.value},()=>[t.icon?(n(),g(x,{key:0,name:t.icon,"data-slot":"linkLeadingIcon",class:o(e.value.linkLeadingIcon({class:[a(s)?.linkLeadingIcon,t.ui?.linkLeadingIcon],active:u}))},null,8,["name","class"])):k("",!0)])],2)):k("",!0),t.label||c["link-label"]?(n(),f("span",{key:1,"data-slot":"linkLabel",class:o(e.value.linkLabel({class:[a(s)?.linkLabel,t.ui?.linkLabel],active:u}))},[_(l.$slots,"link-label",{link:t,active:u},()=>[j(z(t.label),1)]),t.target==="_blank"?(n(),g(x,{key:0,name:a(m).ui.icons.external,"data-slot":"linkLabelExternalIcon",class:o(e.value.linkLabelExternalIcon({class:[a(s)?.linkLabelExternalIcon,t.ui?.linkLabelExternalIcon],active:u}))},null,8,["name","class"])):k("",!0)],2)):k("",!0),_(l.$slots,"link-trailing",{link:t,active:u})])]),_:2},1040,["class"])]),_:2},1040)],2))),128))],2)]),_:3},8,["as","class"]))}},Q={key:0,class:"mb-2"},J={key:1},K=P({__name:"DocsAsideLeftTop",setup(i){const{subNavigationMode:r,sections:c}=C();return(m,s)=>{const e=G,l=H;return a(r)==="aside"?(n(),f("div",Q,[p(e,{links:a(c)},null,8,["links"]),p(l,{type:"dashed",class:"my-4"})])):(n(),f("div",J))}}}),R=Object.assign(K,{__name:"DocsAsideLeftTop"}),X=P({__name:"DocsAsideLeftBody",setup(i){const{sidebarNavigation:r}=C();return(c,m)=>{const s=O;return n(),g(s,{highlight:"",navigation:a(r)},null,8,["navigation"])}}}),Y=Object.assign(X,{__name:"DocsAsideLeftBody"}),Z={slots:{root:"hidden overflow-y-auto lg:block lg:max-h-[calc(100vh-var(--ui-header-height))] lg:sticky lg:top-(--ui-header-height) py-8 lg:ps-4 lg:-ms-4 lg:pe-6.5",container:"relative",top:"sticky -top-8 -mt-8 pointer-events-none z-[1]",topHeader:"h-8 bg-default -mx-4 px-4",topBody:"bg-default relative pointer-events-auto flex flex-col -mx-4 px-4",topFooter:"h-8 bg-gradient-to-b from-default -mx-4 px-4"}},ee={__name:"UPageAside",props:{as:{type:null,required:!1,default:"aside"},class:{type:null,required:!1},ui:{type:Object,required:!1}},setup(i){const r=i,c=L(),m=$(),s=A("pageAside",r),e=I(()=>b({extend:b(Z),...m.ui?.pageAside||{}})());return(l,y)=>(n(),g(a(B),{as:i.as,"data-slot":"root",class:o(e.value.root({class:[a(s)?.root,r.class]}))},{default:d(()=>[v("div",{"data-slot":"container",class:o(e.value.container({class:a(s)?.container}))},[c.top?(n(),f("div",{key:0,"data-slot":"top",class:o(e.value.top({class:a(s)?.top}))},[v("div",{"data-slot":"topHeader",class:o(e.value.topHeader({class:a(s)?.topHeader}))},null,2),v("div",{"data-slot":"topBody",class:o(e.value.topBody({class:a(s)?.topBody}))},[_(l.$slots,"top")],2),v("div",{"data-slot":"topFooter",class:o(e.value.topFooter({class:a(s)?.topFooter}))},null,2)],2)):k("",!0),_(l.$slots,"default"),_(l.$slots,"bottom")],2)]),_:3},8,["as","class"]))}},ae={};function se(i,r){const c=R,m=Y,s=ee,e=w,l=V,y=M;return n(),g(y,null,{default:d(()=>[p(l,null,{default:d(()=>[p(e,null,{left:d(()=>[p(s,null,{default:d(()=>[p(c),p(m)]),_:1})]),default:d(()=>[_(i.$slots,"default")]),_:3})]),_:3})]),_:3})}const le=T(ae,[["render",se]]);export{le as default}; diff --git a/assets/DgfQJ90r.js b/assets/Cs5chWOM.js similarity index 99% rename from assets/DgfQJ90r.js rename to assets/Cs5chWOM.js index 380acf2..4fe8e53 100644 --- a/assets/DgfQJ90r.js +++ b/assets/Cs5chWOM.js @@ -1 +1 @@ -import{c as q,s as e,Z as G,Q as le,$ as ve,a0 as V,aH as je,a2 as be,aI as We,a4 as ie,o as s,e as w,B as v,p as b,q as x,a as k,ab as X,ac as p,ad as Ne,m as B,f as I,af as O,ah as R,ag as D,F as M,r as Q,ai as He,aJ as F,W as Ve,D as ze,aj as Ce,a7 as ye,a8 as Se,aa as Ae,aw as fe,ax as pe,an as de,ao as me,a9 as Oe,v as Y,aK as Ee,_ as Ge,a1 as Z,a3 as Pe,aL as Xe,aM as Qe,aN as Ye,al as Le,am as K,P as ne,aO as Ze,aP as Je,d as se,aQ as ke,aR as _e,aS as et,aT as tt,aU as oe,ak as re,aV as xe,aW as Be,w as De,aX as at,aY as it,aZ as lt,a_ as nt,X as st,a$ as ot,b0 as rt,b1 as ct,b2 as Ue,b3 as ut,az as $e,b4 as dt,b5 as gt,b6 as ft,b7 as qe,b8 as Te,b9 as pt,ba as mt,bb as ht,bc as vt}from"./Sa-_S7_w.js";import{_ as bt}from"./DXTdElLG.js";import{u as yt,d as kt,_ as xt}from"./BuEXHZM4.js";import{_ as It}from"./PGrg6JrO.js";import"./BN_7HF1G.js";function wt(t){const d=q(()=>e(t)),a=q(()=>new Intl.Collator("en",{usage:"search",...d.value}));return{startsWith:(i,n)=>n.length===0?!0:(i=i.normalize("NFC"),n=n.normalize("NFC"),a.value.compare(i.slice(0,n.length),n)===0),endsWith:(i,n)=>n.length===0?!0:(i=i.normalize("NFC"),n=n.normalize("NFC"),a.value.compare(i.slice(-n.length),n)===0),contains:(i,n)=>{if(n.length===0)return!0;i=i.normalize("NFC"),n=n.normalize("NFC");let f=0;const m=n.length;for(;f+m<=i.length;f++){const r=i.slice(f,f+m);if(a.value.compare(n,r)===0)return!0}return!1}}}function Lt(){const{contains:t,startsWith:d}=wt({sensitivity:"base"});function a(i,n){return t(i,n)?t(n,i)?0:d(i,n)?1:2:null}function h(i,n,f){if(typeof i!="object"||i===null)return a(String(i),n);let m=null;for(const r of f){const u=G(i,r);if(u==null)continue;const y=Array.isArray(u)?u.map(String):[String(u)];for(const A of y){const C=a(A,n);if(C!==null&&(m===null||Cr.score-u.score),m.map(({item:r})=>r)}function g(i,n,f){return n?i.map(m=>{const r=[];for(const u of m){if(u==null)continue;if(f.isStructural?.(u)){r.push({item:u,score:-1});continue}const y=h(u,n,f.fields);y!==null&&r.push({item:u,score:y})}return r.sort((u,y)=>u.score-y.score),r.map(({item:u})=>u)}).filter(m=>m.some(r=>!f.isStructural?.(r))):i}return{score:a,scoreItem:h,filter:o,filterGroups:g}}const Ke={__name:"UDropdownMenuContent",props:{items:{type:null,required:!1},portal:{type:[Boolean,String],required:!1,skipCheck:!0},sub:{type:Boolean,required:!1},labelKey:{type:null,required:!0},descriptionKey:{type:null,required:!0},checkedIcon:{type:null,required:!1},loadingIcon:{type:null,required:!1},externalIcon:{type:[Boolean,String],required:!1,skipCheck:!0},size:{type:null,required:!1},filter:{type:[Boolean,Object],required:!1},filterFields:{type:Array,required:!1},ignoreFilter:{type:Boolean,required:!1},searchTerm:{type:String,required:!1},class:{type:null,required:!1},ui:{type:null,required:!0},uiOverride:{type:null,required:!1},loop:{type:Boolean,required:!1},side:{type:null,required:!1},sideOffset:{type:Number,required:!1},sideFlip:{type:Boolean,required:!1},align:{type:null,required:!1},alignOffset:{type:Number,required:!1},alignFlip:{type:Boolean,required:!1},avoidCollisions:{type:Boolean,required:!1},collisionBoundary:{type:null,required:!1},collisionPadding:{type:[Number,Object],required:!1},arrowPadding:{type:Number,required:!1},hideShiftedArrow:{type:Boolean,required:!1},sticky:{type:String,required:!1},hideWhenDetached:{type:Boolean,required:!1},positionStrategy:{type:String,required:!1},updatePositionStrategy:{type:String,required:!1},disableUpdateOnLayoutShift:{type:Boolean,required:!1},prioritizePosition:{type:Boolean,required:!1},reference:{type:null,required:!1}},emits:["update:searchTerm","escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","closeAutoFocus"],setup(t,{emit:d}){const a=t,h=d,o=le(),{t:g,dir:i}=ve(),n=V(),{filterGroups:f}=Lt(),m=Y(""),r=q({get:()=>a.searchTerm??m.value,set:$=>{m.value=$,h("update:searchTerm",$)}}),u=de(()=>me(a.filter,{placeholder:g("dropdownMenu.search"),variant:"none"})),y=je(de(()=>a.portal)),A=be(We(a,"sub","items","portal","labelKey","descriptionKey","checkedIcon","loadingIcon","externalIcon","size","filter","filterFields","ignoreFilter","searchTerm","class","ui","uiOverride"),h),C=()=>Oe(o,["default"]),[j,W]=ie(),U=q(()=>i.value==="rtl"?n.ui.icons.chevronLeft:n.ui.icons.chevronRight),L=q(()=>a.items?.length?Ee(a.items)?a.items:[a.items]:[]),_=$=>!!$.type&&["label","separator"].includes($.type),J=q(()=>{if(!a.filter||a.ignoreFilter||!r.value)return L.value;const $=Array.isArray(a.filterFields)&&a.filterFields.length?a.filterFields:[a.labelKey];return f(L.value,r.value,{fields:$,isStructural:_})}),E=q(()=>J.value.some($=>$.some(N=>!_(N))));return($,N)=>(s(),w(M,null,[v(e(j),null,{default:b(({item:c,active:P,index:l})=>[x($.$slots,c.slot||"item",{item:c,index:l,ui:t.ui},()=>[x($.$slots,c.slot?`${c.slot}-leading`:"item-leading",{item:c,active:P,index:l,ui:t.ui},()=>[c.loading?(s(),k(X,{key:0,name:t.loadingIcon||e(n).ui.icons.loading,"data-slot":"itemLeadingIcon",class:p(t.ui.itemLeadingIcon({class:[t.uiOverride?.itemLeadingIcon,c.ui?.itemLeadingIcon],color:c?.color,loading:!0}))},null,8,["name","class"])):c.icon?(s(),k(X,{key:1,name:c.icon,"data-slot":"itemLeadingIcon",class:p(t.ui.itemLeadingIcon({class:[t.uiOverride?.itemLeadingIcon,c.ui?.itemLeadingIcon],color:c?.color,active:P}))},null,8,["name","class"])):c.avatar?(s(),k(Ne,B({key:2,size:c.ui?.itemLeadingAvatarSize||t.uiOverride?.itemLeadingAvatarSize||t.ui.itemLeadingAvatarSize()},c.avatar,{"data-slot":"itemLeadingAvatar",class:t.ui.itemLeadingAvatar({class:[t.uiOverride?.itemLeadingAvatar,c.ui?.itemLeadingAvatar],active:P})}),null,16,["size","class"])):I("",!0)]),e(G)(c,a.labelKey)||o[c.slot?`${c.slot}-label`:"item-label"]||e(G)(c,a.descriptionKey)||o[c.slot?`${c.slot}-description`:"item-description"]?(s(),w("span",{key:0,"data-slot":"itemWrapper",class:p(t.ui.itemWrapper({class:[t.uiOverride?.itemWrapper,c.ui?.itemWrapper]}))},[O("span",{"data-slot":"itemLabel",class:p(t.ui.itemLabel({class:[t.uiOverride?.itemLabel,c.ui?.itemLabel],active:P}))},[x($.$slots,c.slot?`${c.slot}-label`:"item-label",{item:c,active:P,index:l},()=>[R(D(e(G)(c,a.labelKey)),1)]),c.target==="_blank"&&t.externalIcon!==!1?(s(),k(X,{key:0,name:typeof t.externalIcon=="string"?t.externalIcon:e(n).ui.icons.external,"data-slot":"itemLabelExternalIcon",class:p(t.ui.itemLabelExternalIcon({class:[t.uiOverride?.itemLabelExternalIcon,c.ui?.itemLabelExternalIcon],color:c?.color,active:P}))},null,8,["name","class"])):I("",!0)],2),e(G)(c,a.descriptionKey)||o[c.slot?`${c.slot}-description`:"item-description"]?(s(),w("span",{key:0,"data-slot":"itemDescription",class:p(t.ui.itemDescription({class:[t.uiOverride?.itemDescription,c.ui?.itemDescription]}))},[x($.$slots,c.slot?`${c.slot}-description`:"item-description",{item:c,active:P,index:l},()=>[R(D(e(G)(c,a.descriptionKey)),1)])],2)):I("",!0)],2)):I("",!0),O("span",{"data-slot":"itemTrailing",class:p(t.ui.itemTrailing({class:[t.uiOverride?.itemTrailing,c.ui?.itemTrailing]}))},[x($.$slots,c.slot?`${c.slot}-trailing`:"item-trailing",{item:c,active:P,index:l,ui:t.ui},()=>[c.children?.length?(s(),k(X,{key:0,name:U.value,"data-slot":"itemTrailingIcon",class:p(t.ui.itemTrailingIcon({class:[t.uiOverride?.itemTrailingIcon,c.ui?.itemTrailingIcon],color:c?.color,active:P}))},null,8,["name","class"])):c.kbds?.length?(s(),w("span",{key:1,"data-slot":"itemTrailingKbds",class:p(t.ui.itemTrailingKbds({class:[t.uiOverride?.itemTrailingKbds,c.ui?.itemTrailingKbds]}))},[(s(!0),w(M,null,Q(c.kbds,(T,z)=>(s(),k(He,B({key:z,size:c.ui?.itemTrailingKbdsSize||t.uiOverride?.itemTrailingKbdsSize||t.ui.itemTrailingKbdsSize()},{ref_for:!0},typeof T=="string"?{value:T}:T),null,16,["size"]))),128))],2)):I("",!0)]),v(e(F).ItemIndicator,{"as-child":""},{default:b(()=>[v(X,{name:t.checkedIcon||e(n).ui.icons.check,"data-slot":"itemTrailingIcon",class:p(t.ui.itemTrailingIcon({class:[t.uiOverride?.itemTrailingIcon,c.ui?.itemTrailingIcon],color:c?.color}))},null,8,["name","class"])]),_:2},1024)],2)])]),_:3}),v(e(F).Portal,fe(pe(e(y))),{default:b(()=>[(s(),k(Ve(t.sub?e(F).SubContent:e(F).Content),B({"data-slot":"content",class:t.ui.content({class:[t.uiOverride?.content,a.class]})},e(A)),{default:b(()=>[t.filter?(s(),k(e(F).Filter,{key:0,modelValue:r.value,"onUpdate:modelValue":N[1]||(N[1]=c=>r.value=c),"as-child":""},{default:b(()=>[v(bt,B({autofocus:"",autocomplete:"off",size:t.size},u.value,{"data-slot":"input",class:t.ui.input({class:t.uiOverride?.input}),onChange:N[0]||(N[0]=ze(()=>{},["stop"]))}),null,16,["size","class"])]),_:1},8,["modelValue"])):I("",!0),x($.$slots,"content-top",{sub:t.sub??!1}),!r.value||E.value?(s(),w("div",{key:1,role:"presentation","data-slot":"viewport",class:p(t.ui.viewport({class:t.uiOverride?.viewport}))},[(s(!0),w(M,null,Q(J.value,(c,P)=>(s(),k(e(F).Group,{key:`group-${P}`,"data-slot":"group",class:p(t.ui.group({class:t.uiOverride?.group}))},{default:b(()=>[(s(!0),w(M,null,Q(c,(l,T)=>(s(),w(M,{key:`group-${P}-${T}`},[l.type==="label"?(s(),k(e(F).Label,{key:0,"data-slot":"label",class:p(t.ui.label({class:[t.uiOverride?.label,l.ui?.label,l.class]}))},{default:b(()=>[v(e(W),{item:l,index:T},null,8,["item","index"])]),_:2},1032,["class"])):l.type==="separator"?(s(),k(e(F).Separator,{key:1,"data-slot":"separator",class:p(t.ui.separator({class:[t.uiOverride?.separator,l.ui?.separator,l.class]}))},null,8,["class"])):l?.children?.length?(s(),k(e(F).Sub,{key:2,open:l.open,"default-open":l.defaultOpen},{default:b(()=>[v(e(F).SubTrigger,{as:"button",type:"button",disabled:l.disabled,"text-value":e(G)(l,a.labelKey),"data-slot":"item",class:p(t.ui.item({class:[t.uiOverride?.item,l.ui?.item,l.class],color:l?.color}))},{default:b(()=>[v(e(W),{item:l,index:T},null,8,["item","index"])]),_:2},1032,["disabled","text-value","class"]),v(Ke,B({sub:"",class:l.ui?.content,ui:t.ui,"ui-override":t.uiOverride,portal:t.portal,items:l.children,align:"start","align-offset":-4,"side-offset":3,"label-key":t.labelKey,"description-key":t.descriptionKey,"checked-icon":t.checkedIcon,"loading-icon":t.loadingIcon,"external-icon":t.externalIcon,size:t.size,filter:l.filter,"filter-fields":l.filterFields||t.filterFields,"ignore-filter":l.ignoreFilter??t.ignoreFilter},{ref_for:!0},l.content),Ce({_:2},[Q(C(),(z,H)=>({name:H,fn:b(S=>[x($.$slots,H,B({ref_for:!0},S))])}))]),1040,["class","ui","ui-override","portal","items","label-key","description-key","checked-icon","loading-icon","external-icon","size","filter","filter-fields","ignore-filter"])]),_:2},1032,["open","default-open"])):l.type==="checkbox"?(s(),k(e(F).CheckboxItem,{key:3,"model-value":l.checked,disabled:l.disabled,"text-value":e(G)(l,a.labelKey),"data-slot":"item",class:p(t.ui.item({class:[t.uiOverride?.item,l.ui?.item,l.class],color:l?.color})),"onUpdate:modelValue":l.onUpdateChecked,onSelect:l.onSelect},{default:b(()=>[v(e(W),{item:l,index:T},null,8,["item","index"])]),_:2},1032,["model-value","disabled","text-value","class","onUpdate:modelValue","onSelect"])):(s(),k(ye,B({key:4,ref_for:!0},e(Se)(l),{custom:""}),{default:b(({active:z,...H})=>[v(e(F).Item,{"as-child":"",disabled:l.disabled,"text-value":e(G)(l,a.labelKey),onSelect:l.onSelect},{default:b(()=>[v(Ae,B({ref_for:!0},H,{"data-slot":"item",class:t.ui.item({class:[t.uiOverride?.item,l.ui?.item,l.class],color:l?.color,active:z})}),{default:b(()=>[v(e(W),{item:l,active:z,index:T},null,8,["item","active","index"])]),_:2},1040,["class"])]),_:2},1032,["disabled","text-value","onSelect"])]),_:2},1040))],64))),128))]),_:2},1032,["class"]))),128))],2)):I("",!0),r.value&&!E.value?(s(),w("div",{key:2,"data-slot":"empty",class:p(t.ui.empty({class:t.uiOverride?.empty}))},[x($.$slots,"empty",{searchTerm:r.value},()=>[R(D(e(g)("dropdownMenu.noMatch",{searchTerm:r.value})),1)])],2)):I("",!0),x($.$slots,"default"),x($.$slots,"content-bottom",{sub:t.sub??!1})]),_:3},16,["class"]))]),_:3},16)],64))}},$t={slots:{content:"min-w-32 bg-default shadow-lg rounded-md ring ring-default overflow-hidden data-[state=open]:animate-[scale-in_100ms_ease-out] data-[state=closed]:animate-[scale-out_100ms_ease-in] origin-(--reka-dropdown-menu-content-transform-origin) flex flex-col",input:"border-b border-default",empty:"text-center text-muted",viewport:"relative divide-y divide-default scroll-py-1 overflow-y-auto flex-1",arrow:"fill-bg stroke-default",group:"p-1 isolate",label:"w-full flex items-center font-semibold text-highlighted",separator:"-mx-1 my-1 h-px bg-border",item:"group relative w-full flex items-start select-none outline-none before:absolute before:z-[-1] before:inset-px before:rounded-md data-disabled:cursor-not-allowed data-disabled:opacity-75",itemLeadingIcon:"shrink-0",itemLeadingAvatar:"shrink-0",itemLeadingAvatarSize:"",itemTrailing:"ms-auto inline-flex gap-1.5 items-center",itemTrailingIcon:"shrink-0",itemTrailingKbds:"hidden lg:inline-flex items-center shrink-0",itemTrailingKbdsSize:"",itemWrapper:"flex-1 flex flex-col text-start min-w-0",itemLabel:"truncate",itemDescription:"truncate text-muted",itemLabelExternalIcon:"inline-block size-3 align-top text-dimmed"},variants:{color:{primary:"",secondary:"",success:"",info:"",warning:"",error:"",neutral:""},active:{true:{item:"text-highlighted before:bg-elevated",itemLeadingIcon:"text-default"},false:{item:["text-default data-highlighted:text-highlighted data-[state=open]:text-highlighted data-highlighted:before:bg-elevated/50 data-[state=open]:before:bg-elevated/50","transition-colors before:transition-colors"],itemLeadingIcon:["text-dimmed group-data-highlighted:text-default group-data-[state=open]:text-default","transition-colors"]}},loading:{true:{itemLeadingIcon:"animate-spin"}},size:{xs:{label:"p-1 text-xs gap-1",item:"p-1 text-xs gap-1",empty:"p-2 text-xs",itemLeadingIcon:"size-4",itemLeadingAvatarSize:"3xs",itemTrailingIcon:"size-4",itemTrailingKbds:"gap-0.5",itemTrailingKbdsSize:"sm"},sm:{label:"p-1.5 text-xs gap-1.5",item:"p-1.5 text-xs gap-1.5",empty:"p-2.5 text-xs",itemLeadingIcon:"size-4",itemLeadingAvatarSize:"3xs",itemTrailingIcon:"size-4",itemTrailingKbds:"gap-0.5",itemTrailingKbdsSize:"sm"},md:{label:"p-1.5 text-sm gap-1.5",item:"p-1.5 text-sm gap-1.5",empty:"p-2.5 text-sm",itemLeadingIcon:"size-5",itemLeadingAvatarSize:"2xs",itemTrailingIcon:"size-5",itemTrailingKbds:"gap-0.5",itemTrailingKbdsSize:"md"},lg:{label:"p-2 text-sm gap-2",item:"p-2 text-sm gap-2",empty:"p-3 text-sm",itemLeadingIcon:"size-5",itemLeadingAvatarSize:"2xs",itemTrailingIcon:"size-5",itemTrailingKbds:"gap-1",itemTrailingKbdsSize:"md"},xl:{label:"p-2 text-base gap-2",item:"p-2 text-base gap-2",empty:"p-3 text-base",itemLeadingIcon:"size-6",itemLeadingAvatarSize:"xs",itemTrailingIcon:"size-6",itemTrailingKbds:"gap-1",itemTrailingKbdsSize:"lg"}}},compoundVariants:[{color:"primary",active:!1,class:{item:"text-primary data-highlighted:text-primary data-highlighted:before:bg-primary/10 data-[state=open]:before:bg-primary/10",itemLeadingIcon:"text-primary/75 group-data-highlighted:text-primary group-data-[state=open]:text-primary"}},{color:"secondary",active:!1,class:{item:"text-secondary data-highlighted:text-secondary data-highlighted:before:bg-secondary/10 data-[state=open]:before:bg-secondary/10",itemLeadingIcon:"text-secondary/75 group-data-highlighted:text-secondary group-data-[state=open]:text-secondary"}},{color:"success",active:!1,class:{item:"text-success data-highlighted:text-success data-highlighted:before:bg-success/10 data-[state=open]:before:bg-success/10",itemLeadingIcon:"text-success/75 group-data-highlighted:text-success group-data-[state=open]:text-success"}},{color:"info",active:!1,class:{item:"text-info data-highlighted:text-info data-highlighted:before:bg-info/10 data-[state=open]:before:bg-info/10",itemLeadingIcon:"text-info/75 group-data-highlighted:text-info group-data-[state=open]:text-info"}},{color:"warning",active:!1,class:{item:"text-warning data-highlighted:text-warning data-highlighted:before:bg-warning/10 data-[state=open]:before:bg-warning/10",itemLeadingIcon:"text-warning/75 group-data-highlighted:text-warning group-data-[state=open]:text-warning"}},{color:"error",active:!1,class:{item:"text-error data-highlighted:text-error data-highlighted:before:bg-error/10 data-[state=open]:before:bg-error/10",itemLeadingIcon:"text-error/75 group-data-highlighted:text-error group-data-[state=open]:text-error"}},{color:"primary",active:!0,class:{item:"text-primary before:bg-primary/10",itemLeadingIcon:"text-primary"}},{color:"secondary",active:!0,class:{item:"text-secondary before:bg-secondary/10",itemLeadingIcon:"text-secondary"}},{color:"success",active:!0,class:{item:"text-success before:bg-success/10",itemLeadingIcon:"text-success"}},{color:"info",active:!0,class:{item:"text-info before:bg-info/10",itemLeadingIcon:"text-info"}},{color:"warning",active:!0,class:{item:"text-warning before:bg-warning/10",itemLeadingIcon:"text-warning"}},{color:"error",active:!0,class:{item:"text-error before:bg-error/10",itemLeadingIcon:"text-error"}}],defaultVariants:{size:"md"}},qt={__name:"UDropdownMenu",props:Le({size:{type:null,required:!1},items:{type:null,required:!1},checkedIcon:{type:null,required:!1},loadingIcon:{type:null,required:!1},externalIcon:{type:[Boolean,String],required:!1,skipCheck:!0,default:!0},content:{type:Object,required:!1},arrow:{type:[Boolean,Object],required:!1},portal:{type:[Boolean,String],required:!1,skipCheck:!0,default:!0},labelKey:{type:null,required:!1,default:"label"},descriptionKey:{type:null,required:!1,default:"description"},filter:{type:[Boolean,Object],required:!1,default:!1},filterFields:{type:Array,required:!1},ignoreFilter:{type:Boolean,required:!1,default:!1},disabled:{type:Boolean,required:!1},class:{type:null,required:!1},ui:{type:Object,required:!1},defaultOpen:{type:Boolean,required:!1},open:{type:Boolean,required:!1},modal:{type:Boolean,required:!1,default:!0}},{searchTerm:{type:String,default:""},searchTermModifiers:{}}),emits:Le(["update:open"],["update:searchTerm"]),setup(t,{emit:d}){const a=t,h=d,o=le(),g=Ge(t,"searchTerm",{type:String,default:""}),i=V(),n=Z("dropdownMenu",a),f=be(Pe(a,"defaultOpen","open","modal"),h),m=de(()=>me(a.content,{side:"bottom",sideOffset:8,collisionPadding:8})),r=de(()=>me(a.arrow,{rounded:!0})),u=()=>Oe(o,["default"]),y=q(()=>K({extend:K($t),...i.ui?.dropdownMenu||{}})({size:a.size}));return(A,C)=>(s(),k(e(Ye),fe(pe(e(f))),{default:b(({open:j})=>[o.default?(s(),k(e(Xe),{key:0,"as-child":"",class:p(a.class),disabled:t.disabled},{default:b(()=>[x(A.$slots,"default",{open:j})]),_:2},1032,["class","disabled"])):I("",!0),v(Ke,B({"search-term":g.value,"onUpdate:searchTerm":C[0]||(C[0]=W=>g.value=W),class:y.value.content({class:[!o.default&&a.class,e(n)?.content]}),ui:y.value,"ui-override":e(n)},m.value,{items:t.items,portal:t.portal,"label-key":t.labelKey,"description-key":t.descriptionKey,"checked-icon":t.checkedIcon,"loading-icon":t.loadingIcon,"external-icon":t.externalIcon,size:t.size,filter:t.filter,"filter-fields":t.filterFields,"ignore-filter":t.ignoreFilter}),Ce({default:b(()=>[t.arrow?(s(),k(e(Qe),B({key:0},r.value,{"data-slot":"arrow",class:y.value.arrow({class:e(n)?.arrow})}),null,16,["class"])):I("",!0)]),_:2},[Q(u(),(W,U)=>({name:U,fn:b(L=>[x(A.$slots,U,fe(pe(L)))])}))]),1040,["search-term","class","ui","ui-override","items","portal","label-key","description-key","checked-icon","loading-icon","external-icon","size","filter","filter-fields","ignore-filter"])]),_:3},16))}},Tt={base:"relative",variants:{size:{xs:"",sm:"",md:"",lg:"",xl:""},orientation:{horizontal:"inline-flex -space-x-px",vertical:"flex flex-col -space-y-px"}}},zt={__name:"UFieldGroup",props:{as:{type:null,required:!1},size:{type:null,required:!1},orientation:{type:null,required:!1,default:"horizontal"},class:{type:null,required:!1},ui:{type:Object,required:!1}},setup(t){const d=t,a=V(),h=Z("fieldGroup",d),o=q(()=>K({extend:K(Tt),...a.ui?.fieldGroup||{}}));return Ze(Je,q(()=>({orientation:d.orientation,size:d.size}))),(g,i)=>(s(),k(e(ne),{as:t.as,"data-orientation":t.orientation,class:p(o.value({orientation:t.orientation,class:[e(h)?.base,d.class]}))},{default:b(()=>[x(g.$slots,"default")]),_:3},8,["as","data-orientation","class"]))}},Ct=se({__name:"DocsPageHeaderLinks",setup(t){const d=ke(),a=_e(),h=et().app?.baseURL||"/",{copy:o,copied:g}=tt(),{t:i}=oe(),n=q(()=>`${window?.location?.origin}${h}raw${d.path}.md`),f=[[{label:i("docs.copy.link"),icon:"i-lucide-link",onSelect(){o(n.value)}},{label:i("docs.copy.view"),icon:"i-simple-icons:markdown",target:"_blank",to:n.value},{label:i("docs.copy.gpt"),icon:"i-simple-icons:openai",target:"_blank",to:`https://chatgpt.com/?hints=search&q=${encodeURIComponent(`Read ${n.value} so I can ask questions about it.`)}`},{label:i("docs.copy.claude"),icon:"i-simple-icons:anthropic",target:"_blank",to:`https://claude.ai/new?q=${encodeURIComponent(`Read ${n.value} so I can ask questions about it.`)}`}],[{label:"Copy MCP Server URL",icon:"i-lucide-link",onSelect(){o(`${window?.location?.origin}${h}mcp`),a.add({title:"Copied to clipboard",icon:"i-lucide-check-circle"})}},{label:"Add MCP Server",icon:"i-simple-icons:cursor",target:"_blank",to:"/mcp/deeplink"}]];async function m(){const r=await $fetch(`/raw${d.path}.md`);o(r)}return(r,u)=>{const y=re,A=qt,C=zt;return s(),k(C,{size:"sm"},{default:b(()=>[v(y,{label:e(i)("docs.copy.page"),icon:e(g)?"i-lucide-check":"i-lucide-copy",color:"neutral",variant:"soft",ui:{leadingIcon:"text-neutral size-3.5"},onClick:m},null,8,["label","icon"]),v(A,{size:"sm",items:f,content:{align:"end",side:"bottom",sideOffset:8}},{default:b(()=>[v(y,{icon:"i-lucide-chevron-down",color:"neutral",variant:"soft",class:"border-l border-muted"})]),_:1})]),_:1})}}}),St=Object.assign(Ct,{__name:"DocsPageHeaderLinks"}),At={slots:{root:"relative border-b border-default py-8",container:"",wrapper:"flex flex-col lg:flex-row lg:items-center lg:justify-between gap-4",headline:"mb-2.5 text-sm font-semibold text-primary flex items-center gap-1.5",title:"text-3xl sm:text-4xl text-pretty font-bold text-highlighted",description:"text-lg text-pretty text-muted",links:"flex flex-wrap items-center gap-1.5"},variants:{title:{true:{description:"mt-4"}}}},Ot={__name:"UPageHeader",props:{as:{type:null,required:!1},headline:{type:String,required:!1},title:{type:String,required:!1},description:{type:String,required:!1},links:{type:Array,required:!1},class:{type:null,required:!1},ui:{type:Object,required:!1}},setup(t){const d=t,a=le(),h=V(),o=Z("pageHeader",d),g=q(()=>K({extend:K(At),...h.ui?.pageHeader||{}})({title:!!d.title||!!a.title}));return(i,n)=>(s(),k(e(ne),{as:t.as,"data-slot":"root",class:p(g.value.root({class:[e(o)?.root,d.class]}))},{default:b(()=>[t.headline||a.headline?(s(),w("div",{key:0,"data-slot":"headline",class:p(g.value.headline({class:e(o)?.headline}))},[x(i.$slots,"headline",{},()=>[R(D(t.headline),1)])],2)):I("",!0),O("div",{"data-slot":"container",class:p(g.value.container({class:e(o)?.container}))},[O("div",{"data-slot":"wrapper",class:p(g.value.wrapper({class:e(o)?.wrapper}))},[t.title||a.title?(s(),w("h1",{key:0,"data-slot":"title",class:p(g.value.title({class:e(o)?.title}))},[x(i.$slots,"title",{},()=>[R(D(t.title),1)])],2)):I("",!0),t.links?.length||a.links?(s(),w("div",{key:1,"data-slot":"links",class:p(g.value.links({class:e(o)?.links}))},[x(i.$slots,"links",{},()=>[(s(!0),w(M,null,Q(t.links,(f,m)=>(s(),k(re,B({key:m,color:"neutral",variant:"outline"},{ref_for:!0},f),null,16))),128))])],2)):I("",!0)],2),t.description||a.description?(s(),w("div",{key:0,"data-slot":"description",class:p(g.value.description({class:e(o)?.description}))},[x(i.$slots,"description",{},()=>[R(D(t.description),1)])],2)):I("",!0),x(i.$slots,"default")],2)]),_:3},8,["as","class"]))}},Pt={slots:{root:"grid grid-cols-1 sm:grid-cols-2 gap-8",link:["group block px-6 py-8 rounded-lg border border-default hover:bg-elevated/50 focus-visible:outline-primary","transition-colors"],linkLeading:["inline-flex items-center rounded-full p-1.5 bg-elevated group-hover:bg-primary/10 ring ring-accented mb-4 group-hover:ring-primary/50","transition"],linkLeadingIcon:["size-5 shrink-0 text-highlighted group-hover:text-primary","transition-[color,translate]"],linkTitle:"font-medium text-[15px] text-highlighted mb-1 truncate",linkDescription:"text-sm text-muted line-clamp-2"},variants:{direction:{left:{linkLeadingIcon:["group-active:-translate-x-0.5"]},right:{link:"text-end",linkLeadingIcon:["group-active:translate-x-0.5"]}}}},Bt={key:1,class:"hidden sm:block"},Dt=Object.assign({inheritAttrs:!1},{__name:"UContentSurround",props:{as:{type:null,required:!1},prevIcon:{type:null,required:!1},nextIcon:{type:null,required:!1},surround:{type:Array,required:!1},class:{type:null,required:!1},ui:{type:Object,required:!1}},setup(t){const d=t,{dir:a}=ve(),h=V(),o=Z("contentSurround",d),[g,i]=ie({props:{link:Object,icon:String,direction:String}}),n=q(()=>K({extend:K(Pt),...h.ui?.contentSurround||{}})()),f=q(()=>d.prevIcon||(a.value==="rtl"?h.ui.icons.arrowRight:h.ui.icons.arrowLeft)),m=q(()=>d.nextIcon||(a.value==="rtl"?h.ui.icons.arrowLeft:h.ui.icons.arrowRight));return(r,u)=>(s(),w(M,null,[v(e(g),null,{default:b(({link:y,icon:A,direction:C})=>[y?(s(),k(ye,{key:0,to:y.path,raw:"","data-slot":"link",class:p(n.value.link({class:[e(o)?.link,y.ui?.link,y.class],direction:C}))},{default:b(()=>[x(r.$slots,"link",{link:y,ui:n.value},()=>[O("div",{"data-slot":"linkLeading",class:p(n.value.linkLeading({class:[e(o)?.linkLeading,y.ui?.linkLeading]}))},[x(r.$slots,"link-leading",{link:y,ui:n.value},()=>[v(X,{name:y.icon||A,"data-slot":"linkLeadingIcon",class:p(n.value.linkLeadingIcon({class:[e(o)?.linkLeadingIcon,y.ui?.linkLeadingIcon],direction:C}))},null,8,["name","class"])])],2),O("p",{"data-slot":"linkTitle",class:p(n.value.linkTitle({class:[e(o)?.linkTitle,y.ui?.linkTitle]}))},[x(r.$slots,"link-title",{link:y,ui:n.value},()=>[R(D(y.title),1)])],2),O("p",{"data-slot":"linkDescription",class:p(n.value.linkDescription({class:[e(o)?.linkDescription,y.ui?.linkDescription]}))},[x(r.$slots,"link-description",{link:y,ui:n.value},()=>[R(D(y.description),1)])],2)])]),_:2},1032,["to","class"])):(s(),w("span",Bt," "))]),_:3}),t.surround?(s(),k(e(ne),B({key:0,as:t.as},r.$attrs,{"data-slot":"root",class:n.value.root({class:[e(o)?.root,d.class]})}),{default:b(()=>[v(e(i),{link:t.surround[0],icon:f.value,direction:"left"},null,8,["link","icon"]),v(e(i),{link:t.surround[1],icon:m.value,direction:"right"},null,8,["link","icon"])]),_:1},16,["as","class"])):I("",!0)],64))}}),Ut={base:"mt-8 pb-24 space-y-12"},Kt={__name:"UPageBody",props:{as:{type:null,required:!1},class:{type:null,required:!1},ui:{type:Object,required:!1}},setup(t){const d=t,a=V(),h=Z("pageBody",d),o=q(()=>K({extend:K(Ut),...a.ui?.pageBody||{}}));return(g,i)=>(s(),k(e(ne),{as:t.as,class:p(o.value({class:[e(h)?.base,d.class]}))},{default:b(()=>[x(g.$slots,"default")]),_:3},8,["as","class"]))}},Rt={slots:{root:"flex flex-col gap-3",title:"text-sm font-semibold flex items-center gap-1.5",list:"flex flex-col gap-2",item:"relative",link:"group text-sm flex items-center gap-1.5 focus-visible:outline-primary",linkLeadingIcon:"size-5 shrink-0",linkLabel:"truncate",linkLabelExternalIcon:"size-3 absolute top-0 text-dimmed"},variants:{active:{true:{link:"text-primary font-medium"},false:{link:["text-muted hover:text-default","transition-colors"]}}}},Ft={__name:"UPageLinks",props:{as:{type:null,required:!1,default:"nav"},title:{type:String,required:!1},links:{type:Array,required:!1},class:{type:null,required:!1},ui:{type:Object,required:!1}},setup(t){const d=t,a=le(),h=V(),o=Z("pageLinks",d),g=q(()=>K({extend:K(Rt),...h.ui?.pageLinks||{}})());return(i,n)=>(s(),k(e(ne),{as:t.as,"data-slot":"root",class:p(g.value.root({class:[e(o)?.root,d.class]}))},{default:b(()=>[t.title||a.title?(s(),w("p",{key:0,"data-slot":"title",class:p(g.value.title({class:e(o)?.title}))},[x(i.$slots,"title",{},()=>[R(D(t.title),1)])],2)):I("",!0),O("ul",{"data-slot":"list",class:p(g.value.list({class:e(o)?.list}))},[(s(!0),w(M,null,Q(t.links,(f,m)=>(s(),w("li",{key:m,"data-slot":"item",class:p(g.value.item({class:[e(o)?.item,f.ui?.item]}))},[v(ye,B({ref_for:!0},e(Se)(f),{custom:""}),{default:b(({active:r,...u})=>[v(Ae,B({ref_for:!0},u,{"data-slot":"link",class:g.value.link({class:[e(o)?.link,f.ui?.link,f.class],active:r})}),{default:b(()=>[x(i.$slots,"link",{link:f,active:r,ui:g.value},()=>[x(i.$slots,"link-leading",{link:f,active:r,ui:g.value},()=>[f.icon?(s(),k(X,{key:0,name:f.icon,"data-slot":"linkLeadingIcon",class:p(g.value.linkLeadingIcon({class:[e(o)?.linkLeadingIcon,f.ui?.linkLeadingIcon],active:r}))},null,8,["name","class"])):I("",!0)]),f.label||a["link-label"]?(s(),w("span",{key:0,"data-slot":"linkLabel",class:p(g.value.linkLabel({class:[e(o)?.linkLabel,f.ui?.linkLabel],active:r}))},[x(i.$slots,"link-label",{link:f,active:r},()=>[R(D(f.label),1)]),f.target==="_blank"?(s(),k(X,{key:0,name:e(h).ui.icons.external,"data-slot":"linkLabelExternalIcon",class:p(g.value.linkLabelExternalIcon({class:[e(o)?.linkLabelExternalIcon,f.ui?.linkLabelExternalIcon],active:r}))},null,8,["name","class"])):I("",!0)],2)):I("",!0),x(i.$slots,"link-trailing",{link:f,active:r})])]),_:2},1040,["class"])]),_:2},1040)],2))),128))],2)]),_:3},8,["as","class"]))}},Mt={key:0,class:"space-y-6"},jt=se({__name:"DocsAsideRightBottom",setup(t){const a=ke().path,h=V(),{t:o}=oe(),{isEnabled:g,open:i}=xe(),n=q(()=>g.value&&h.assistant?.explainWithAi!==!1),f=q(()=>h.assistant?.icons?.explain||"i-lucide-brain");return(m,r)=>{const u=Be,y=Ft,A=re;return e(h).toc?.bottom?.links?.length||e(n)?(s(),w("div",Mt,[v(u,{type:"dashed"}),e(h).toc?.bottom?.links?.length?(s(),k(y,{key:0,title:e(h).toc?.bottom?.title||e(o)("docs.links"),links:e(h).toc?.bottom?.links},null,8,["title","links"])):I("",!0),e(h).toc?.bottom?.links?.length&&e(n)?(s(),k(u,{key:1,type:"dashed"})):I("",!0),e(n)?(s(),k(A,{key:2,icon:e(f),label:e(o)("assistant.explainWithAi"),size:"sm",variant:"link",class:"p-0 text-sm",color:"neutral",onClick:r[0]||(r[0]=C=>e(i)(`Explain the page ${e(a)}`,!0))},null,8,["icon","label"])):I("",!0)])):I("",!0)}}}),Re=Object.assign(jt,{__name:"DocsAsideRightBottom"});function Wt(){const t=Y(),d=Y([]),a=Y([]);function h(g){g.forEach(i=>{const n=i.target.id;n&&(i.isIntersecting?d.value=[...d.value,n]:d.value=d.value.filter(f=>f!==n))})}function o(g){g.forEach(i=>{t.value&&t.value.observe(i)})}return De(d,(g,i)=>{g.length===0?a.value=i:a.value=g}),at(()=>t.value=new IntersectionObserver(h)),it(()=>t.value?.disconnect()),{visibleHeadings:d,activeHeadings:a,updateHeadings:o}}const Nt={slots:{root:"sticky top-(--ui-header-height) z-10 bg-default/75 lg:bg-[initial] backdrop-blur -mx-4 px-4 sm:px-6 sm:-mx-6 lg:ms-0 overflow-y-auto max-h-[calc(100vh-var(--ui-header-height))]",container:"pt-4 sm:pt-6 pb-2.5 sm:pb-4.5 lg:py-8 border-b border-dashed border-default lg:border-0 flex flex-col",top:"",bottom:"hidden lg:flex lg:flex-col gap-6",trigger:"group text-sm font-semibold flex-1 flex items-center gap-1.5 py-1.5 -mt-1.5 focus-visible:outline-primary",title:"truncate",trailing:"ms-auto inline-flex gap-1.5 items-center",trailingIcon:"size-5 transform transition-transform duration-200 shrink-0 group-data-[state=open]:rotate-180 lg:hidden",content:"relative data-[state=open]:animate-[collapsible-down_200ms_ease-out] data-[state=closed]:animate-[collapsible-up_200ms_ease-out] overflow-hidden focus:outline-none",list:"min-w-0",listWithChildren:"ms-3",item:"min-w-0",itemWithChildren:"",link:"group relative text-sm flex items-center focus-visible:outline-primary py-1",linkText:"truncate",indicator:"",indicatorLine:"",indicatorActive:""},variants:{color:{primary:"",secondary:"",success:"",info:"",warning:"",error:"",neutral:""},highlightColor:{primary:{indicatorActive:"bg-primary"},secondary:{indicatorActive:"bg-secondary"},success:{indicatorActive:"bg-success"},info:{indicatorActive:"bg-info"},warning:{indicatorActive:"bg-warning"},error:{indicatorActive:"bg-error"},neutral:{indicatorActive:"bg-inverted"}},active:{false:{link:["text-muted hover:text-default","transition-colors"]}},highlight:{true:""},highlightVariant:{straight:"",circuit:""},body:{true:{bottom:"mt-6"}}},compoundVariants:[{color:"primary",active:!0,class:{link:"text-primary"}},{color:"secondary",active:!0,class:{link:"text-secondary"}},{color:"success",active:!0,class:{link:"text-success"}},{color:"info",active:!0,class:{link:"text-info"}},{color:"warning",active:!0,class:{link:"text-warning"}},{color:"error",active:!0,class:{link:"text-error"}},{color:"neutral",active:!0,class:{link:"text-highlighted"}},{highlight:!0,highlightVariant:"straight",class:{list:"ms-2.5 ps-4 border-s border-default",item:"-ms-px",indicator:"absolute ms-2.5 transition-[translate,height] duration-200 h-(--indicator-size) translate-y-(--indicator-position) w-px rounded-full",indicatorLine:"hidden",indicatorActive:"w-full h-full"}},{highlight:!0,highlightVariant:"circuit",class:{list:"ps-6.5",item:"-ms-px",itemWithChildren:"ps-px",indicator:"absolute ms-2.5 start-0 top-0 rtl:-scale-x-100",indicatorLine:"absolute inset-0 bg-(--ui-border)",indicatorActive:"absolute w-full h-(--indicator-size) translate-y-(--indicator-position) transition-[translate,height] duration-200 ease-out"}}],defaultVariants:{color:"primary",highlightColor:"primary",highlightVariant:"straight"}},Ht=["href","onClick"],Fe=Object.assign({inheritAttrs:!1},{__name:"UContentToc",props:{as:{type:null,required:!1,default:"nav"},trailingIcon:{type:null,required:!1},title:{type:String,required:!1},color:{type:null,required:!1},highlight:{type:Boolean,required:!1},highlightColor:{type:null,required:!1},highlightVariant:{type:null,required:!1},links:{type:Array,required:!1},class:{type:null,required:!1},ui:{type:Object,required:!1},defaultOpen:{type:Boolean,required:!1},open:{type:Boolean,required:!1}},emits:["update:open","move"],setup(t,{emit:d}){const a=t,h=d,o=le(),g=be(Pe(a,"as","open","defaultOpen"),h),{t:i}=ve(),n=lt(),f=V(),m=Z("contentToc",a),{activeHeadings:r,updateHeadings:u}=Wt(),[y,A]=ie({props:{links:Array,level:Number}}),[C,j]=ie(),[W,U]=ie(),L=q(()=>K({extend:K(Nt),...f.ui?.contentToc||{}})({color:a.color,highlight:a.highlight,highlightVariant:a.highlightVariant,highlightColor:a.highlightColor||a.color}));function _(l){const T=encodeURIComponent(l);n.push(`#${T}`),h("move",l)}function J(l){return l.flatMap(T=>[T,...T.children?J(T.children):[]])}function E(l,T=0){return l.flatMap(z=>[{link:z,level:T},...z.children?E(z.children,T+1):[]])}const $=1.75,N=q(()=>{if(!r.value?.length)return;const T=J(a.links||[]).findIndex(z=>r.value.includes(z.id));return{"--indicator-size":`${$*r.value.length}rem`,"--indicator-position":T>=0?`${T*$}rem`:"0rem"}}),c=q(()=>{if(!a.highlight||a.highlightVariant!=="circuit"||!a.links?.length)return;const l=E(a.links),z=$*16,H=l.length*z,S=.5,ee=10.5;let te="",ce=S,ue=0;l.forEach((Ie,ge)=>{const ae=Ie.level>0?ee:S,we=ue+z;ge===0&&(te+=`M${ae} ${ue}`,ce=ae),ae!==ce&&(te+=` L${ae} ${ue+6}`,ce=ae),te+=` L${ce} ${we-(ge`);return{width:"0.75rem",height:`${l.length*$}rem`,maskImage:`url("data:image/svg+xml,${Me}")`}}),P=nt();return P.hooks.hook("page:loading:end",()=>{const l=Array.from(document.querySelectorAll("h2, h3"));u(l)}),P.hooks.hook("page:transition:finish",()=>{const l=Array.from(document.querySelectorAll("h2, h3"));u(l)}),(l,T)=>(s(),w(M,null,[v(e(y),null,{default:b(({links:z,level:H})=>[O("ul",{class:p(H>0?L.value.listWithChildren({class:e(m)?.listWithChildren}):L.value.list({class:e(m)?.list}))},[(s(!0),w(M,null,Q(z,(S,ee)=>(s(),w("li",{key:ee,class:p(S.children&&S.children.length>0?L.value.itemWithChildren({class:[e(m)?.itemWithChildren,S.ui?.itemWithChildren]}):L.value.item({class:[e(m)?.item,S.ui?.item]}))},[O("a",{href:`#${S.id}`,"data-slot":"link",class:p(L.value.link({class:[e(m)?.link,S.ui?.link,S.class],active:e(r).includes(S.id)})),onClick:ze(te=>_(S.id),["prevent"])},[x(l.$slots,"link",{link:S},()=>[O("span",{"data-slot":"linkText",class:p(L.value.linkText({class:[e(m)?.linkText,S.ui?.linkText]}))},D(S.text),3)])],10,Ht),S.children?.length?(s(),k(e(A),{key:0,links:S.children,level:H+1},null,8,["links","level"])):I("",!0)],2))),128))],2)]),_:3}),v(e(C),null,{default:b(({open:z})=>[x(l.$slots,"leading",{open:z,ui:L.value}),O("span",{"data-slot":"title",class:p(L.value.title({class:e(m)?.title}))},[x(l.$slots,"default",{open:z},()=>[R(D(t.title||e(i)("contentToc.title")),1)])],2),O("span",{"data-slot":"trailing",class:p(L.value.trailing({class:e(m)?.trailing}))},[x(l.$slots,"trailing",{open:z,ui:L.value},()=>[v(X,{name:t.trailingIcon||e(f).ui.icons.chevronDown,"data-slot":"trailingIcon",class:p(L.value.trailingIcon({class:e(m)?.trailingIcon}))},null,8,["name","class"])])],2)]),_:3}),v(e(W),null,{default:b(()=>[t.highlight?(s(),w("div",{key:0,"data-slot":"indicator",class:p(L.value.indicator({class:e(m)?.indicator})),style:st({...N.value,...c.value||{}})},[O("div",{"data-slot":"indicatorLine",class:p(L.value.indicatorLine({class:e(m)?.indicatorLine}))},null,2),N.value?(s(),w("div",{key:0,"data-slot":"indicatorActive",class:p(L.value.indicatorActive({class:e(m)?.indicatorActive}))},null,2)):I("",!0)],6)):I("",!0),x(l.$slots,"content",{links:t.links},()=>[v(e(A),{links:t.links,level:0},null,8,["links"])])]),_:3}),v(e(ct),B({...e(g),...l.$attrs},{"default-open":t.defaultOpen,"data-slot":"root",class:L.value.root({class:[e(m)?.root,a.class]})}),{default:b(({open:z})=>[O("div",{"data-slot":"container",class:p(L.value.container({class:e(m)?.container}))},[o.top?(s(),w("div",{key:0,"data-slot":"top",class:p(L.value.top({class:e(m)?.top}))},[x(l.$slots,"top",{links:t.links})],2)):I("",!0),t.links?.length?(s(),w(M,{key:1},[v(e(ot),{"data-slot":"trigger",class:p(L.value.trigger({class:"lg:hidden"}))},{default:b(()=>[v(e(j),{open:z},null,8,["open"])]),_:2},1032,["class"]),v(e(rt),{"data-slot":"content",class:p(L.value.content({class:[e(m)?.content,"lg:hidden"]}))},{default:b(()=>[v(e(U))]),_:1},8,["class"]),O("p",{"data-slot":"trigger",class:p(L.value.trigger({class:"hidden lg:flex"}))},[v(e(j),{open:z},null,8,["open"])],2),O("div",{"data-slot":"content",class:p(L.value.content({class:[e(m)?.content,"hidden lg:flex"]}))},[v(e(U))],2)],64)):I("",!0),o.bottom?(s(),w("div",{key:2,"data-slot":"bottom",class:p(L.value.bottom({class:e(m)?.bottom,body:!!o.top||!!t.links?.length}))},[x(l.$slots,"bottom",{links:t.links})],2)):I("",!0)],2)]),_:3},16,["default-open","class"])],64))}}),Vt={key:0,class:"lg:hidden sticky top-(--ui-header-height) z-10 bg-default/75 backdrop-blur -mx-4 p-2 border-b border-dashed border-default flex justify-between"},Et=se({__name:"DocsAsideMobileBar",props:{links:{}},setup(t){const{subNavigationMode:d,sidebarNavigation:a,currentSection:h}=Ue(),{t:o}=oe(),g=Y(!1),i=Y(!1);return(n,f)=>{const m=re,r=dt,u=ut,y=Re,A=Fe;return e(d)?(s(),w("div",Vt,[v(u,{open:e(g),"onUpdate:open":f[0]||(f[0]=C=>$e(g)?g.value=C:null),direction:"left",title:e(h)?.title,handle:!1,inset:"",side:"left",ui:{content:"w-full max-w-2/3"}},{body:b(()=>[v(r,{navigation:e(a),"default-open":"","trailing-icon":"i-lucide-chevron-right",ui:{linkTrailingIcon:"group-data-[state=open]:rotate-90"},highlight:""},null,8,["navigation"])]),default:b(()=>[v(m,{label:e(o)("docs.menu"),icon:"i-lucide-text-align-start",color:"neutral",variant:"link",size:"xs","aria-label":e(o)("docs.menu")},null,8,["label","aria-label"])]),_:1},8,["open","title"]),v(u,{open:e(i),"onUpdate:open":f[1]||(f[1]=C=>$e(i)?i.value=C:null),direction:"right",handle:!1,inset:"",side:"right","no-body-styles":"",ui:{content:"w-full max-w-2/3"}},{body:b(()=>[t.links?.length?(s(),k(A,{key:0,links:t.links,open:!0,"default-open":"",ui:{root:"!mx-0 !px-1 top-0 overflow-visible",container:"!pt-0 border-b-0",trailingIcon:"hidden",bottom:"flex flex-col"}},{bottom:b(()=>[v(y)]),_:1},8,["links"])):I("",!0)]),default:b(()=>[v(m,{label:e(o)("docs.toc"),"trailing-icon":"i-lucide-chevron-right",color:"neutral",variant:"link",size:"xs","aria-label":e(o)("docs.toc")},null,8,["label","aria-label"])]),_:1},8,["open"])])):I("",!0)}}}),Gt=Object.assign(Et,{__name:"DocsAsideMobileBar"}),Xt=se({__name:"DocsAsideRight",props:{page:{}},setup(t){const d=t,a=q(()=>d.page?.body?.toc?.links||[]),{shouldPushContent:h}=xe(),{subNavigationMode:o}=Ue(),g=V(),{t:i}=oe();return(n,f)=>{const m=Re,r=Fe,u=Gt;return s(),w("div",null,[e(a).length&&!e(h)?(s(),k(r,{key:0,highlight:"",title:e(g).toc?.title||e(i)("docs.toc"),links:e(a),class:p({"hidden lg:block":e(o)})},{bottom:b(()=>[v(m)]),_:1},8,["title","links","class"])):I("",!0),v(u,{links:e(a)},null,8,["links"])])}}}),Qt=Object.assign(Xt,{__name:"DocsAsideRight"});function he(t,d,a){if(!(!t?.length||!d)){for(const h of t)if(h.children){for(const g of h.children){const i=g.stem?.endsWith("/index");if(g.path===d&&!i)return h.title}const o=he(h.children,d);if(o)return o}}}const Yt=t=>{const d=void 0;d&&d.node.res.setHeader("x-nitro-prerender",[d.node.res.getHeader("x-nitro-prerender"),t].filter(Boolean).join(","))},Zt={class:"flex items-center gap-2 text-sm text-muted"},ia=se({__name:"[...slug]",async setup(t){let d,a;const h=ke(),{locale:o,isEnabled:g,t:i}=oe(),n=V(),f=gt("navigation"),{shouldPushContent:m}=xe(),r=q(()=>g.value?`docs_${o.value}`:"docs"),[{data:u},{data:y}]=([d,a]=ft(()=>Promise.all([qe(Te(h.path),()=>pt(r.value).path(h.path).first(),"$PdQ4RLs3ik"),qe(`${Te(h.path)}-surround`,()=>mt(r.value,h.path,{fields:["description"]}))])),d=await d,a(),d);if(!u.value)throw ht({statusCode:404,statusMessage:"Page not found",fatal:!0});const A=u.value.seo?.title||u.value.title,C=u.value.seo?.description||u.value.description,j=Y(he(f?.value,u.value?.path)),W=q(()=>vt(f?.value,u.value?.path||""));yt({title:A,description:C,type:"article",modifiedAt:u.value.modifiedAt,breadcrumbs:W}),De(()=>f?.value,()=>{j.value=he(f?.value,u.value?.path)||j.value}),kt("Docs",{headline:j.value});const U=q(()=>n.github?n.github:null),L=q(()=>{if(U.value)return[U.value.url,"edit",U.value.branch,U.value.rootDir,"content",`${u.value?.stem}.${u.value?.extension}`].filter(Boolean).join("/")});return Yt(`/raw${h.path}.md`),(_,J)=>{const E=re,$=St,N=Ot,c=xt,P=Be,l=Dt,T=Kt,z=Qt,H=It;return e(u)?(s(),k(H,{key:`page-${e(m)}`},{right:b(()=>[v(z,{page:e(u)},null,8,["page"])]),default:b(()=>[v(N,{title:e(u).title,description:e(u).description,headline:e(j),ui:{wrapper:"flex-row items-center flex-wrap justify-between"}},{links:b(()=>[(s(!0),w(M,null,Q(e(u).links,(S,ee)=>(s(),k(E,B({key:ee,size:"sm"},{ref_for:!0},S),null,16))),128)),v($)]),_:1},8,["title","description","headline"]),v(T,null,{default:b(()=>[e(u)?(s(),k(c,{key:0,value:e(u)},null,8,["value"])):I("",!0),e(U)?(s(),k(P,{key:1},{default:b(()=>[O("div",Zt,[v(E,{variant:"link",color:"neutral",to:e(L),target:"_blank",icon:"i-lucide-pen",ui:{leadingIcon:"size-4"}},{default:b(()=>[R(D(e(i)("docs.edit")),1)]),_:1},8,["to"]),O("span",null,D(e(i)("common.or")),1),v(E,{variant:"link",color:"neutral",to:`${e(U).url}/issues/new/choose`,target:"_blank",icon:"i-lucide-alert-circle",ui:{leadingIcon:"size-4"}},{default:b(()=>[R(D(e(i)("docs.report")),1)]),_:1},8,["to"])])]),_:1})):I("",!0),v(l,{surround:e(y)},null,8,["surround"])]),_:1})]),_:1})):I("",!0)}}});export{ia as default}; +import{c as q,s as e,Z as G,Q as le,$ as ve,a0 as V,aH as je,a2 as be,aI as We,a4 as ie,o as s,e as w,B as v,p as b,q as x,a as k,ab as X,ac as p,ad as Ne,m as B,f as I,af as O,ah as R,ag as D,F as M,r as Q,ai as He,aJ as F,W as Ve,D as ze,aj as Ce,a7 as ye,a8 as Se,aa as Ae,aw as fe,ax as pe,an as de,ao as me,a9 as Oe,v as Y,aK as Ee,_ as Ge,a1 as Z,a3 as Pe,aL as Xe,aM as Qe,aN as Ye,al as Le,am as K,P as ne,aO as Ze,aP as Je,d as se,aQ as ke,aR as _e,aS as et,aT as tt,aU as oe,ak as re,aV as xe,aW as Be,w as De,aX as at,aY as it,aZ as lt,a_ as nt,X as st,a$ as ot,b0 as rt,b1 as ct,b2 as Ue,b3 as ut,az as $e,b4 as dt,b5 as gt,b6 as ft,b7 as qe,b8 as Te,b9 as pt,ba as mt,bb as ht,bc as vt}from"./DklXDfzJ.js";import{_ as bt}from"./BfoQBf7N.js";import{u as yt,d as kt,_ as xt}from"./BAInfj29.js";import{_ as It}from"./BI9s2eu6.js";import"./BN_7HF1G.js";function wt(t){const d=q(()=>e(t)),a=q(()=>new Intl.Collator("en",{usage:"search",...d.value}));return{startsWith:(i,n)=>n.length===0?!0:(i=i.normalize("NFC"),n=n.normalize("NFC"),a.value.compare(i.slice(0,n.length),n)===0),endsWith:(i,n)=>n.length===0?!0:(i=i.normalize("NFC"),n=n.normalize("NFC"),a.value.compare(i.slice(-n.length),n)===0),contains:(i,n)=>{if(n.length===0)return!0;i=i.normalize("NFC"),n=n.normalize("NFC");let f=0;const m=n.length;for(;f+m<=i.length;f++){const r=i.slice(f,f+m);if(a.value.compare(n,r)===0)return!0}return!1}}}function Lt(){const{contains:t,startsWith:d}=wt({sensitivity:"base"});function a(i,n){return t(i,n)?t(n,i)?0:d(i,n)?1:2:null}function h(i,n,f){if(typeof i!="object"||i===null)return a(String(i),n);let m=null;for(const r of f){const u=G(i,r);if(u==null)continue;const y=Array.isArray(u)?u.map(String):[String(u)];for(const A of y){const C=a(A,n);if(C!==null&&(m===null||Cr.score-u.score),m.map(({item:r})=>r)}function g(i,n,f){return n?i.map(m=>{const r=[];for(const u of m){if(u==null)continue;if(f.isStructural?.(u)){r.push({item:u,score:-1});continue}const y=h(u,n,f.fields);y!==null&&r.push({item:u,score:y})}return r.sort((u,y)=>u.score-y.score),r.map(({item:u})=>u)}).filter(m=>m.some(r=>!f.isStructural?.(r))):i}return{score:a,scoreItem:h,filter:o,filterGroups:g}}const Ke={__name:"UDropdownMenuContent",props:{items:{type:null,required:!1},portal:{type:[Boolean,String],required:!1,skipCheck:!0},sub:{type:Boolean,required:!1},labelKey:{type:null,required:!0},descriptionKey:{type:null,required:!0},checkedIcon:{type:null,required:!1},loadingIcon:{type:null,required:!1},externalIcon:{type:[Boolean,String],required:!1,skipCheck:!0},size:{type:null,required:!1},filter:{type:[Boolean,Object],required:!1},filterFields:{type:Array,required:!1},ignoreFilter:{type:Boolean,required:!1},searchTerm:{type:String,required:!1},class:{type:null,required:!1},ui:{type:null,required:!0},uiOverride:{type:null,required:!1},loop:{type:Boolean,required:!1},side:{type:null,required:!1},sideOffset:{type:Number,required:!1},sideFlip:{type:Boolean,required:!1},align:{type:null,required:!1},alignOffset:{type:Number,required:!1},alignFlip:{type:Boolean,required:!1},avoidCollisions:{type:Boolean,required:!1},collisionBoundary:{type:null,required:!1},collisionPadding:{type:[Number,Object],required:!1},arrowPadding:{type:Number,required:!1},hideShiftedArrow:{type:Boolean,required:!1},sticky:{type:String,required:!1},hideWhenDetached:{type:Boolean,required:!1},positionStrategy:{type:String,required:!1},updatePositionStrategy:{type:String,required:!1},disableUpdateOnLayoutShift:{type:Boolean,required:!1},prioritizePosition:{type:Boolean,required:!1},reference:{type:null,required:!1}},emits:["update:searchTerm","escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","closeAutoFocus"],setup(t,{emit:d}){const a=t,h=d,o=le(),{t:g,dir:i}=ve(),n=V(),{filterGroups:f}=Lt(),m=Y(""),r=q({get:()=>a.searchTerm??m.value,set:$=>{m.value=$,h("update:searchTerm",$)}}),u=de(()=>me(a.filter,{placeholder:g("dropdownMenu.search"),variant:"none"})),y=je(de(()=>a.portal)),A=be(We(a,"sub","items","portal","labelKey","descriptionKey","checkedIcon","loadingIcon","externalIcon","size","filter","filterFields","ignoreFilter","searchTerm","class","ui","uiOverride"),h),C=()=>Oe(o,["default"]),[j,W]=ie(),U=q(()=>i.value==="rtl"?n.ui.icons.chevronLeft:n.ui.icons.chevronRight),L=q(()=>a.items?.length?Ee(a.items)?a.items:[a.items]:[]),_=$=>!!$.type&&["label","separator"].includes($.type),J=q(()=>{if(!a.filter||a.ignoreFilter||!r.value)return L.value;const $=Array.isArray(a.filterFields)&&a.filterFields.length?a.filterFields:[a.labelKey];return f(L.value,r.value,{fields:$,isStructural:_})}),E=q(()=>J.value.some($=>$.some(N=>!_(N))));return($,N)=>(s(),w(M,null,[v(e(j),null,{default:b(({item:c,active:P,index:l})=>[x($.$slots,c.slot||"item",{item:c,index:l,ui:t.ui},()=>[x($.$slots,c.slot?`${c.slot}-leading`:"item-leading",{item:c,active:P,index:l,ui:t.ui},()=>[c.loading?(s(),k(X,{key:0,name:t.loadingIcon||e(n).ui.icons.loading,"data-slot":"itemLeadingIcon",class:p(t.ui.itemLeadingIcon({class:[t.uiOverride?.itemLeadingIcon,c.ui?.itemLeadingIcon],color:c?.color,loading:!0}))},null,8,["name","class"])):c.icon?(s(),k(X,{key:1,name:c.icon,"data-slot":"itemLeadingIcon",class:p(t.ui.itemLeadingIcon({class:[t.uiOverride?.itemLeadingIcon,c.ui?.itemLeadingIcon],color:c?.color,active:P}))},null,8,["name","class"])):c.avatar?(s(),k(Ne,B({key:2,size:c.ui?.itemLeadingAvatarSize||t.uiOverride?.itemLeadingAvatarSize||t.ui.itemLeadingAvatarSize()},c.avatar,{"data-slot":"itemLeadingAvatar",class:t.ui.itemLeadingAvatar({class:[t.uiOverride?.itemLeadingAvatar,c.ui?.itemLeadingAvatar],active:P})}),null,16,["size","class"])):I("",!0)]),e(G)(c,a.labelKey)||o[c.slot?`${c.slot}-label`:"item-label"]||e(G)(c,a.descriptionKey)||o[c.slot?`${c.slot}-description`:"item-description"]?(s(),w("span",{key:0,"data-slot":"itemWrapper",class:p(t.ui.itemWrapper({class:[t.uiOverride?.itemWrapper,c.ui?.itemWrapper]}))},[O("span",{"data-slot":"itemLabel",class:p(t.ui.itemLabel({class:[t.uiOverride?.itemLabel,c.ui?.itemLabel],active:P}))},[x($.$slots,c.slot?`${c.slot}-label`:"item-label",{item:c,active:P,index:l},()=>[R(D(e(G)(c,a.labelKey)),1)]),c.target==="_blank"&&t.externalIcon!==!1?(s(),k(X,{key:0,name:typeof t.externalIcon=="string"?t.externalIcon:e(n).ui.icons.external,"data-slot":"itemLabelExternalIcon",class:p(t.ui.itemLabelExternalIcon({class:[t.uiOverride?.itemLabelExternalIcon,c.ui?.itemLabelExternalIcon],color:c?.color,active:P}))},null,8,["name","class"])):I("",!0)],2),e(G)(c,a.descriptionKey)||o[c.slot?`${c.slot}-description`:"item-description"]?(s(),w("span",{key:0,"data-slot":"itemDescription",class:p(t.ui.itemDescription({class:[t.uiOverride?.itemDescription,c.ui?.itemDescription]}))},[x($.$slots,c.slot?`${c.slot}-description`:"item-description",{item:c,active:P,index:l},()=>[R(D(e(G)(c,a.descriptionKey)),1)])],2)):I("",!0)],2)):I("",!0),O("span",{"data-slot":"itemTrailing",class:p(t.ui.itemTrailing({class:[t.uiOverride?.itemTrailing,c.ui?.itemTrailing]}))},[x($.$slots,c.slot?`${c.slot}-trailing`:"item-trailing",{item:c,active:P,index:l,ui:t.ui},()=>[c.children?.length?(s(),k(X,{key:0,name:U.value,"data-slot":"itemTrailingIcon",class:p(t.ui.itemTrailingIcon({class:[t.uiOverride?.itemTrailingIcon,c.ui?.itemTrailingIcon],color:c?.color,active:P}))},null,8,["name","class"])):c.kbds?.length?(s(),w("span",{key:1,"data-slot":"itemTrailingKbds",class:p(t.ui.itemTrailingKbds({class:[t.uiOverride?.itemTrailingKbds,c.ui?.itemTrailingKbds]}))},[(s(!0),w(M,null,Q(c.kbds,(T,z)=>(s(),k(He,B({key:z,size:c.ui?.itemTrailingKbdsSize||t.uiOverride?.itemTrailingKbdsSize||t.ui.itemTrailingKbdsSize()},{ref_for:!0},typeof T=="string"?{value:T}:T),null,16,["size"]))),128))],2)):I("",!0)]),v(e(F).ItemIndicator,{"as-child":""},{default:b(()=>[v(X,{name:t.checkedIcon||e(n).ui.icons.check,"data-slot":"itemTrailingIcon",class:p(t.ui.itemTrailingIcon({class:[t.uiOverride?.itemTrailingIcon,c.ui?.itemTrailingIcon],color:c?.color}))},null,8,["name","class"])]),_:2},1024)],2)])]),_:3}),v(e(F).Portal,fe(pe(e(y))),{default:b(()=>[(s(),k(Ve(t.sub?e(F).SubContent:e(F).Content),B({"data-slot":"content",class:t.ui.content({class:[t.uiOverride?.content,a.class]})},e(A)),{default:b(()=>[t.filter?(s(),k(e(F).Filter,{key:0,modelValue:r.value,"onUpdate:modelValue":N[1]||(N[1]=c=>r.value=c),"as-child":""},{default:b(()=>[v(bt,B({autofocus:"",autocomplete:"off",size:t.size},u.value,{"data-slot":"input",class:t.ui.input({class:t.uiOverride?.input}),onChange:N[0]||(N[0]=ze(()=>{},["stop"]))}),null,16,["size","class"])]),_:1},8,["modelValue"])):I("",!0),x($.$slots,"content-top",{sub:t.sub??!1}),!r.value||E.value?(s(),w("div",{key:1,role:"presentation","data-slot":"viewport",class:p(t.ui.viewport({class:t.uiOverride?.viewport}))},[(s(!0),w(M,null,Q(J.value,(c,P)=>(s(),k(e(F).Group,{key:`group-${P}`,"data-slot":"group",class:p(t.ui.group({class:t.uiOverride?.group}))},{default:b(()=>[(s(!0),w(M,null,Q(c,(l,T)=>(s(),w(M,{key:`group-${P}-${T}`},[l.type==="label"?(s(),k(e(F).Label,{key:0,"data-slot":"label",class:p(t.ui.label({class:[t.uiOverride?.label,l.ui?.label,l.class]}))},{default:b(()=>[v(e(W),{item:l,index:T},null,8,["item","index"])]),_:2},1032,["class"])):l.type==="separator"?(s(),k(e(F).Separator,{key:1,"data-slot":"separator",class:p(t.ui.separator({class:[t.uiOverride?.separator,l.ui?.separator,l.class]}))},null,8,["class"])):l?.children?.length?(s(),k(e(F).Sub,{key:2,open:l.open,"default-open":l.defaultOpen},{default:b(()=>[v(e(F).SubTrigger,{as:"button",type:"button",disabled:l.disabled,"text-value":e(G)(l,a.labelKey),"data-slot":"item",class:p(t.ui.item({class:[t.uiOverride?.item,l.ui?.item,l.class],color:l?.color}))},{default:b(()=>[v(e(W),{item:l,index:T},null,8,["item","index"])]),_:2},1032,["disabled","text-value","class"]),v(Ke,B({sub:"",class:l.ui?.content,ui:t.ui,"ui-override":t.uiOverride,portal:t.portal,items:l.children,align:"start","align-offset":-4,"side-offset":3,"label-key":t.labelKey,"description-key":t.descriptionKey,"checked-icon":t.checkedIcon,"loading-icon":t.loadingIcon,"external-icon":t.externalIcon,size:t.size,filter:l.filter,"filter-fields":l.filterFields||t.filterFields,"ignore-filter":l.ignoreFilter??t.ignoreFilter},{ref_for:!0},l.content),Ce({_:2},[Q(C(),(z,H)=>({name:H,fn:b(S=>[x($.$slots,H,B({ref_for:!0},S))])}))]),1040,["class","ui","ui-override","portal","items","label-key","description-key","checked-icon","loading-icon","external-icon","size","filter","filter-fields","ignore-filter"])]),_:2},1032,["open","default-open"])):l.type==="checkbox"?(s(),k(e(F).CheckboxItem,{key:3,"model-value":l.checked,disabled:l.disabled,"text-value":e(G)(l,a.labelKey),"data-slot":"item",class:p(t.ui.item({class:[t.uiOverride?.item,l.ui?.item,l.class],color:l?.color})),"onUpdate:modelValue":l.onUpdateChecked,onSelect:l.onSelect},{default:b(()=>[v(e(W),{item:l,index:T},null,8,["item","index"])]),_:2},1032,["model-value","disabled","text-value","class","onUpdate:modelValue","onSelect"])):(s(),k(ye,B({key:4,ref_for:!0},e(Se)(l),{custom:""}),{default:b(({active:z,...H})=>[v(e(F).Item,{"as-child":"",disabled:l.disabled,"text-value":e(G)(l,a.labelKey),onSelect:l.onSelect},{default:b(()=>[v(Ae,B({ref_for:!0},H,{"data-slot":"item",class:t.ui.item({class:[t.uiOverride?.item,l.ui?.item,l.class],color:l?.color,active:z})}),{default:b(()=>[v(e(W),{item:l,active:z,index:T},null,8,["item","active","index"])]),_:2},1040,["class"])]),_:2},1032,["disabled","text-value","onSelect"])]),_:2},1040))],64))),128))]),_:2},1032,["class"]))),128))],2)):I("",!0),r.value&&!E.value?(s(),w("div",{key:2,"data-slot":"empty",class:p(t.ui.empty({class:t.uiOverride?.empty}))},[x($.$slots,"empty",{searchTerm:r.value},()=>[R(D(e(g)("dropdownMenu.noMatch",{searchTerm:r.value})),1)])],2)):I("",!0),x($.$slots,"default"),x($.$slots,"content-bottom",{sub:t.sub??!1})]),_:3},16,["class"]))]),_:3},16)],64))}},$t={slots:{content:"min-w-32 bg-default shadow-lg rounded-md ring ring-default overflow-hidden data-[state=open]:animate-[scale-in_100ms_ease-out] data-[state=closed]:animate-[scale-out_100ms_ease-in] origin-(--reka-dropdown-menu-content-transform-origin) flex flex-col",input:"border-b border-default",empty:"text-center text-muted",viewport:"relative divide-y divide-default scroll-py-1 overflow-y-auto flex-1",arrow:"fill-bg stroke-default",group:"p-1 isolate",label:"w-full flex items-center font-semibold text-highlighted",separator:"-mx-1 my-1 h-px bg-border",item:"group relative w-full flex items-start select-none outline-none before:absolute before:z-[-1] before:inset-px before:rounded-md data-disabled:cursor-not-allowed data-disabled:opacity-75",itemLeadingIcon:"shrink-0",itemLeadingAvatar:"shrink-0",itemLeadingAvatarSize:"",itemTrailing:"ms-auto inline-flex gap-1.5 items-center",itemTrailingIcon:"shrink-0",itemTrailingKbds:"hidden lg:inline-flex items-center shrink-0",itemTrailingKbdsSize:"",itemWrapper:"flex-1 flex flex-col text-start min-w-0",itemLabel:"truncate",itemDescription:"truncate text-muted",itemLabelExternalIcon:"inline-block size-3 align-top text-dimmed"},variants:{color:{primary:"",secondary:"",success:"",info:"",warning:"",error:"",neutral:""},active:{true:{item:"text-highlighted before:bg-elevated",itemLeadingIcon:"text-default"},false:{item:["text-default data-highlighted:text-highlighted data-[state=open]:text-highlighted data-highlighted:before:bg-elevated/50 data-[state=open]:before:bg-elevated/50","transition-colors before:transition-colors"],itemLeadingIcon:["text-dimmed group-data-highlighted:text-default group-data-[state=open]:text-default","transition-colors"]}},loading:{true:{itemLeadingIcon:"animate-spin"}},size:{xs:{label:"p-1 text-xs gap-1",item:"p-1 text-xs gap-1",empty:"p-2 text-xs",itemLeadingIcon:"size-4",itemLeadingAvatarSize:"3xs",itemTrailingIcon:"size-4",itemTrailingKbds:"gap-0.5",itemTrailingKbdsSize:"sm"},sm:{label:"p-1.5 text-xs gap-1.5",item:"p-1.5 text-xs gap-1.5",empty:"p-2.5 text-xs",itemLeadingIcon:"size-4",itemLeadingAvatarSize:"3xs",itemTrailingIcon:"size-4",itemTrailingKbds:"gap-0.5",itemTrailingKbdsSize:"sm"},md:{label:"p-1.5 text-sm gap-1.5",item:"p-1.5 text-sm gap-1.5",empty:"p-2.5 text-sm",itemLeadingIcon:"size-5",itemLeadingAvatarSize:"2xs",itemTrailingIcon:"size-5",itemTrailingKbds:"gap-0.5",itemTrailingKbdsSize:"md"},lg:{label:"p-2 text-sm gap-2",item:"p-2 text-sm gap-2",empty:"p-3 text-sm",itemLeadingIcon:"size-5",itemLeadingAvatarSize:"2xs",itemTrailingIcon:"size-5",itemTrailingKbds:"gap-1",itemTrailingKbdsSize:"md"},xl:{label:"p-2 text-base gap-2",item:"p-2 text-base gap-2",empty:"p-3 text-base",itemLeadingIcon:"size-6",itemLeadingAvatarSize:"xs",itemTrailingIcon:"size-6",itemTrailingKbds:"gap-1",itemTrailingKbdsSize:"lg"}}},compoundVariants:[{color:"primary",active:!1,class:{item:"text-primary data-highlighted:text-primary data-highlighted:before:bg-primary/10 data-[state=open]:before:bg-primary/10",itemLeadingIcon:"text-primary/75 group-data-highlighted:text-primary group-data-[state=open]:text-primary"}},{color:"secondary",active:!1,class:{item:"text-secondary data-highlighted:text-secondary data-highlighted:before:bg-secondary/10 data-[state=open]:before:bg-secondary/10",itemLeadingIcon:"text-secondary/75 group-data-highlighted:text-secondary group-data-[state=open]:text-secondary"}},{color:"success",active:!1,class:{item:"text-success data-highlighted:text-success data-highlighted:before:bg-success/10 data-[state=open]:before:bg-success/10",itemLeadingIcon:"text-success/75 group-data-highlighted:text-success group-data-[state=open]:text-success"}},{color:"info",active:!1,class:{item:"text-info data-highlighted:text-info data-highlighted:before:bg-info/10 data-[state=open]:before:bg-info/10",itemLeadingIcon:"text-info/75 group-data-highlighted:text-info group-data-[state=open]:text-info"}},{color:"warning",active:!1,class:{item:"text-warning data-highlighted:text-warning data-highlighted:before:bg-warning/10 data-[state=open]:before:bg-warning/10",itemLeadingIcon:"text-warning/75 group-data-highlighted:text-warning group-data-[state=open]:text-warning"}},{color:"error",active:!1,class:{item:"text-error data-highlighted:text-error data-highlighted:before:bg-error/10 data-[state=open]:before:bg-error/10",itemLeadingIcon:"text-error/75 group-data-highlighted:text-error group-data-[state=open]:text-error"}},{color:"primary",active:!0,class:{item:"text-primary before:bg-primary/10",itemLeadingIcon:"text-primary"}},{color:"secondary",active:!0,class:{item:"text-secondary before:bg-secondary/10",itemLeadingIcon:"text-secondary"}},{color:"success",active:!0,class:{item:"text-success before:bg-success/10",itemLeadingIcon:"text-success"}},{color:"info",active:!0,class:{item:"text-info before:bg-info/10",itemLeadingIcon:"text-info"}},{color:"warning",active:!0,class:{item:"text-warning before:bg-warning/10",itemLeadingIcon:"text-warning"}},{color:"error",active:!0,class:{item:"text-error before:bg-error/10",itemLeadingIcon:"text-error"}}],defaultVariants:{size:"md"}},qt={__name:"UDropdownMenu",props:Le({size:{type:null,required:!1},items:{type:null,required:!1},checkedIcon:{type:null,required:!1},loadingIcon:{type:null,required:!1},externalIcon:{type:[Boolean,String],required:!1,skipCheck:!0,default:!0},content:{type:Object,required:!1},arrow:{type:[Boolean,Object],required:!1},portal:{type:[Boolean,String],required:!1,skipCheck:!0,default:!0},labelKey:{type:null,required:!1,default:"label"},descriptionKey:{type:null,required:!1,default:"description"},filter:{type:[Boolean,Object],required:!1,default:!1},filterFields:{type:Array,required:!1},ignoreFilter:{type:Boolean,required:!1,default:!1},disabled:{type:Boolean,required:!1},class:{type:null,required:!1},ui:{type:Object,required:!1},defaultOpen:{type:Boolean,required:!1},open:{type:Boolean,required:!1},modal:{type:Boolean,required:!1,default:!0}},{searchTerm:{type:String,default:""},searchTermModifiers:{}}),emits:Le(["update:open"],["update:searchTerm"]),setup(t,{emit:d}){const a=t,h=d,o=le(),g=Ge(t,"searchTerm",{type:String,default:""}),i=V(),n=Z("dropdownMenu",a),f=be(Pe(a,"defaultOpen","open","modal"),h),m=de(()=>me(a.content,{side:"bottom",sideOffset:8,collisionPadding:8})),r=de(()=>me(a.arrow,{rounded:!0})),u=()=>Oe(o,["default"]),y=q(()=>K({extend:K($t),...i.ui?.dropdownMenu||{}})({size:a.size}));return(A,C)=>(s(),k(e(Ye),fe(pe(e(f))),{default:b(({open:j})=>[o.default?(s(),k(e(Xe),{key:0,"as-child":"",class:p(a.class),disabled:t.disabled},{default:b(()=>[x(A.$slots,"default",{open:j})]),_:2},1032,["class","disabled"])):I("",!0),v(Ke,B({"search-term":g.value,"onUpdate:searchTerm":C[0]||(C[0]=W=>g.value=W),class:y.value.content({class:[!o.default&&a.class,e(n)?.content]}),ui:y.value,"ui-override":e(n)},m.value,{items:t.items,portal:t.portal,"label-key":t.labelKey,"description-key":t.descriptionKey,"checked-icon":t.checkedIcon,"loading-icon":t.loadingIcon,"external-icon":t.externalIcon,size:t.size,filter:t.filter,"filter-fields":t.filterFields,"ignore-filter":t.ignoreFilter}),Ce({default:b(()=>[t.arrow?(s(),k(e(Qe),B({key:0},r.value,{"data-slot":"arrow",class:y.value.arrow({class:e(n)?.arrow})}),null,16,["class"])):I("",!0)]),_:2},[Q(u(),(W,U)=>({name:U,fn:b(L=>[x(A.$slots,U,fe(pe(L)))])}))]),1040,["search-term","class","ui","ui-override","items","portal","label-key","description-key","checked-icon","loading-icon","external-icon","size","filter","filter-fields","ignore-filter"])]),_:3},16))}},Tt={base:"relative",variants:{size:{xs:"",sm:"",md:"",lg:"",xl:""},orientation:{horizontal:"inline-flex -space-x-px",vertical:"flex flex-col -space-y-px"}}},zt={__name:"UFieldGroup",props:{as:{type:null,required:!1},size:{type:null,required:!1},orientation:{type:null,required:!1,default:"horizontal"},class:{type:null,required:!1},ui:{type:Object,required:!1}},setup(t){const d=t,a=V(),h=Z("fieldGroup",d),o=q(()=>K({extend:K(Tt),...a.ui?.fieldGroup||{}}));return Ze(Je,q(()=>({orientation:d.orientation,size:d.size}))),(g,i)=>(s(),k(e(ne),{as:t.as,"data-orientation":t.orientation,class:p(o.value({orientation:t.orientation,class:[e(h)?.base,d.class]}))},{default:b(()=>[x(g.$slots,"default")]),_:3},8,["as","data-orientation","class"]))}},Ct=se({__name:"DocsPageHeaderLinks",setup(t){const d=ke(),a=_e(),h=et().app?.baseURL||"/",{copy:o,copied:g}=tt(),{t:i}=oe(),n=q(()=>`${window?.location?.origin}${h}raw${d.path}.md`),f=[[{label:i("docs.copy.link"),icon:"i-lucide-link",onSelect(){o(n.value)}},{label:i("docs.copy.view"),icon:"i-simple-icons:markdown",target:"_blank",to:n.value},{label:i("docs.copy.gpt"),icon:"i-simple-icons:openai",target:"_blank",to:`https://chatgpt.com/?hints=search&q=${encodeURIComponent(`Read ${n.value} so I can ask questions about it.`)}`},{label:i("docs.copy.claude"),icon:"i-simple-icons:anthropic",target:"_blank",to:`https://claude.ai/new?q=${encodeURIComponent(`Read ${n.value} so I can ask questions about it.`)}`}],[{label:"Copy MCP Server URL",icon:"i-lucide-link",onSelect(){o(`${window?.location?.origin}${h}mcp`),a.add({title:"Copied to clipboard",icon:"i-lucide-check-circle"})}},{label:"Add MCP Server",icon:"i-simple-icons:cursor",target:"_blank",to:"/mcp/deeplink"}]];async function m(){const r=await $fetch(`/raw${d.path}.md`);o(r)}return(r,u)=>{const y=re,A=qt,C=zt;return s(),k(C,{size:"sm"},{default:b(()=>[v(y,{label:e(i)("docs.copy.page"),icon:e(g)?"i-lucide-check":"i-lucide-copy",color:"neutral",variant:"soft",ui:{leadingIcon:"text-neutral size-3.5"},onClick:m},null,8,["label","icon"]),v(A,{size:"sm",items:f,content:{align:"end",side:"bottom",sideOffset:8}},{default:b(()=>[v(y,{icon:"i-lucide-chevron-down",color:"neutral",variant:"soft",class:"border-l border-muted"})]),_:1})]),_:1})}}}),St=Object.assign(Ct,{__name:"DocsPageHeaderLinks"}),At={slots:{root:"relative border-b border-default py-8",container:"",wrapper:"flex flex-col lg:flex-row lg:items-center lg:justify-between gap-4",headline:"mb-2.5 text-sm font-semibold text-primary flex items-center gap-1.5",title:"text-3xl sm:text-4xl text-pretty font-bold text-highlighted",description:"text-lg text-pretty text-muted",links:"flex flex-wrap items-center gap-1.5"},variants:{title:{true:{description:"mt-4"}}}},Ot={__name:"UPageHeader",props:{as:{type:null,required:!1},headline:{type:String,required:!1},title:{type:String,required:!1},description:{type:String,required:!1},links:{type:Array,required:!1},class:{type:null,required:!1},ui:{type:Object,required:!1}},setup(t){const d=t,a=le(),h=V(),o=Z("pageHeader",d),g=q(()=>K({extend:K(At),...h.ui?.pageHeader||{}})({title:!!d.title||!!a.title}));return(i,n)=>(s(),k(e(ne),{as:t.as,"data-slot":"root",class:p(g.value.root({class:[e(o)?.root,d.class]}))},{default:b(()=>[t.headline||a.headline?(s(),w("div",{key:0,"data-slot":"headline",class:p(g.value.headline({class:e(o)?.headline}))},[x(i.$slots,"headline",{},()=>[R(D(t.headline),1)])],2)):I("",!0),O("div",{"data-slot":"container",class:p(g.value.container({class:e(o)?.container}))},[O("div",{"data-slot":"wrapper",class:p(g.value.wrapper({class:e(o)?.wrapper}))},[t.title||a.title?(s(),w("h1",{key:0,"data-slot":"title",class:p(g.value.title({class:e(o)?.title}))},[x(i.$slots,"title",{},()=>[R(D(t.title),1)])],2)):I("",!0),t.links?.length||a.links?(s(),w("div",{key:1,"data-slot":"links",class:p(g.value.links({class:e(o)?.links}))},[x(i.$slots,"links",{},()=>[(s(!0),w(M,null,Q(t.links,(f,m)=>(s(),k(re,B({key:m,color:"neutral",variant:"outline"},{ref_for:!0},f),null,16))),128))])],2)):I("",!0)],2),t.description||a.description?(s(),w("div",{key:0,"data-slot":"description",class:p(g.value.description({class:e(o)?.description}))},[x(i.$slots,"description",{},()=>[R(D(t.description),1)])],2)):I("",!0),x(i.$slots,"default")],2)]),_:3},8,["as","class"]))}},Pt={slots:{root:"grid grid-cols-1 sm:grid-cols-2 gap-8",link:["group block px-6 py-8 rounded-lg border border-default hover:bg-elevated/50 focus-visible:outline-primary","transition-colors"],linkLeading:["inline-flex items-center rounded-full p-1.5 bg-elevated group-hover:bg-primary/10 ring ring-accented mb-4 group-hover:ring-primary/50","transition"],linkLeadingIcon:["size-5 shrink-0 text-highlighted group-hover:text-primary","transition-[color,translate]"],linkTitle:"font-medium text-[15px] text-highlighted mb-1 truncate",linkDescription:"text-sm text-muted line-clamp-2"},variants:{direction:{left:{linkLeadingIcon:["group-active:-translate-x-0.5"]},right:{link:"text-end",linkLeadingIcon:["group-active:translate-x-0.5"]}}}},Bt={key:1,class:"hidden sm:block"},Dt=Object.assign({inheritAttrs:!1},{__name:"UContentSurround",props:{as:{type:null,required:!1},prevIcon:{type:null,required:!1},nextIcon:{type:null,required:!1},surround:{type:Array,required:!1},class:{type:null,required:!1},ui:{type:Object,required:!1}},setup(t){const d=t,{dir:a}=ve(),h=V(),o=Z("contentSurround",d),[g,i]=ie({props:{link:Object,icon:String,direction:String}}),n=q(()=>K({extend:K(Pt),...h.ui?.contentSurround||{}})()),f=q(()=>d.prevIcon||(a.value==="rtl"?h.ui.icons.arrowRight:h.ui.icons.arrowLeft)),m=q(()=>d.nextIcon||(a.value==="rtl"?h.ui.icons.arrowLeft:h.ui.icons.arrowRight));return(r,u)=>(s(),w(M,null,[v(e(g),null,{default:b(({link:y,icon:A,direction:C})=>[y?(s(),k(ye,{key:0,to:y.path,raw:"","data-slot":"link",class:p(n.value.link({class:[e(o)?.link,y.ui?.link,y.class],direction:C}))},{default:b(()=>[x(r.$slots,"link",{link:y,ui:n.value},()=>[O("div",{"data-slot":"linkLeading",class:p(n.value.linkLeading({class:[e(o)?.linkLeading,y.ui?.linkLeading]}))},[x(r.$slots,"link-leading",{link:y,ui:n.value},()=>[v(X,{name:y.icon||A,"data-slot":"linkLeadingIcon",class:p(n.value.linkLeadingIcon({class:[e(o)?.linkLeadingIcon,y.ui?.linkLeadingIcon],direction:C}))},null,8,["name","class"])])],2),O("p",{"data-slot":"linkTitle",class:p(n.value.linkTitle({class:[e(o)?.linkTitle,y.ui?.linkTitle]}))},[x(r.$slots,"link-title",{link:y,ui:n.value},()=>[R(D(y.title),1)])],2),O("p",{"data-slot":"linkDescription",class:p(n.value.linkDescription({class:[e(o)?.linkDescription,y.ui?.linkDescription]}))},[x(r.$slots,"link-description",{link:y,ui:n.value},()=>[R(D(y.description),1)])],2)])]),_:2},1032,["to","class"])):(s(),w("span",Bt," "))]),_:3}),t.surround?(s(),k(e(ne),B({key:0,as:t.as},r.$attrs,{"data-slot":"root",class:n.value.root({class:[e(o)?.root,d.class]})}),{default:b(()=>[v(e(i),{link:t.surround[0],icon:f.value,direction:"left"},null,8,["link","icon"]),v(e(i),{link:t.surround[1],icon:m.value,direction:"right"},null,8,["link","icon"])]),_:1},16,["as","class"])):I("",!0)],64))}}),Ut={base:"mt-8 pb-24 space-y-12"},Kt={__name:"UPageBody",props:{as:{type:null,required:!1},class:{type:null,required:!1},ui:{type:Object,required:!1}},setup(t){const d=t,a=V(),h=Z("pageBody",d),o=q(()=>K({extend:K(Ut),...a.ui?.pageBody||{}}));return(g,i)=>(s(),k(e(ne),{as:t.as,class:p(o.value({class:[e(h)?.base,d.class]}))},{default:b(()=>[x(g.$slots,"default")]),_:3},8,["as","class"]))}},Rt={slots:{root:"flex flex-col gap-3",title:"text-sm font-semibold flex items-center gap-1.5",list:"flex flex-col gap-2",item:"relative",link:"group text-sm flex items-center gap-1.5 focus-visible:outline-primary",linkLeadingIcon:"size-5 shrink-0",linkLabel:"truncate",linkLabelExternalIcon:"size-3 absolute top-0 text-dimmed"},variants:{active:{true:{link:"text-primary font-medium"},false:{link:["text-muted hover:text-default","transition-colors"]}}}},Ft={__name:"UPageLinks",props:{as:{type:null,required:!1,default:"nav"},title:{type:String,required:!1},links:{type:Array,required:!1},class:{type:null,required:!1},ui:{type:Object,required:!1}},setup(t){const d=t,a=le(),h=V(),o=Z("pageLinks",d),g=q(()=>K({extend:K(Rt),...h.ui?.pageLinks||{}})());return(i,n)=>(s(),k(e(ne),{as:t.as,"data-slot":"root",class:p(g.value.root({class:[e(o)?.root,d.class]}))},{default:b(()=>[t.title||a.title?(s(),w("p",{key:0,"data-slot":"title",class:p(g.value.title({class:e(o)?.title}))},[x(i.$slots,"title",{},()=>[R(D(t.title),1)])],2)):I("",!0),O("ul",{"data-slot":"list",class:p(g.value.list({class:e(o)?.list}))},[(s(!0),w(M,null,Q(t.links,(f,m)=>(s(),w("li",{key:m,"data-slot":"item",class:p(g.value.item({class:[e(o)?.item,f.ui?.item]}))},[v(ye,B({ref_for:!0},e(Se)(f),{custom:""}),{default:b(({active:r,...u})=>[v(Ae,B({ref_for:!0},u,{"data-slot":"link",class:g.value.link({class:[e(o)?.link,f.ui?.link,f.class],active:r})}),{default:b(()=>[x(i.$slots,"link",{link:f,active:r,ui:g.value},()=>[x(i.$slots,"link-leading",{link:f,active:r,ui:g.value},()=>[f.icon?(s(),k(X,{key:0,name:f.icon,"data-slot":"linkLeadingIcon",class:p(g.value.linkLeadingIcon({class:[e(o)?.linkLeadingIcon,f.ui?.linkLeadingIcon],active:r}))},null,8,["name","class"])):I("",!0)]),f.label||a["link-label"]?(s(),w("span",{key:0,"data-slot":"linkLabel",class:p(g.value.linkLabel({class:[e(o)?.linkLabel,f.ui?.linkLabel],active:r}))},[x(i.$slots,"link-label",{link:f,active:r},()=>[R(D(f.label),1)]),f.target==="_blank"?(s(),k(X,{key:0,name:e(h).ui.icons.external,"data-slot":"linkLabelExternalIcon",class:p(g.value.linkLabelExternalIcon({class:[e(o)?.linkLabelExternalIcon,f.ui?.linkLabelExternalIcon],active:r}))},null,8,["name","class"])):I("",!0)],2)):I("",!0),x(i.$slots,"link-trailing",{link:f,active:r})])]),_:2},1040,["class"])]),_:2},1040)],2))),128))],2)]),_:3},8,["as","class"]))}},Mt={key:0,class:"space-y-6"},jt=se({__name:"DocsAsideRightBottom",setup(t){const a=ke().path,h=V(),{t:o}=oe(),{isEnabled:g,open:i}=xe(),n=q(()=>g.value&&h.assistant?.explainWithAi!==!1),f=q(()=>h.assistant?.icons?.explain||"i-lucide-brain");return(m,r)=>{const u=Be,y=Ft,A=re;return e(h).toc?.bottom?.links?.length||e(n)?(s(),w("div",Mt,[v(u,{type:"dashed"}),e(h).toc?.bottom?.links?.length?(s(),k(y,{key:0,title:e(h).toc?.bottom?.title||e(o)("docs.links"),links:e(h).toc?.bottom?.links},null,8,["title","links"])):I("",!0),e(h).toc?.bottom?.links?.length&&e(n)?(s(),k(u,{key:1,type:"dashed"})):I("",!0),e(n)?(s(),k(A,{key:2,icon:e(f),label:e(o)("assistant.explainWithAi"),size:"sm",variant:"link",class:"p-0 text-sm",color:"neutral",onClick:r[0]||(r[0]=C=>e(i)(`Explain the page ${e(a)}`,!0))},null,8,["icon","label"])):I("",!0)])):I("",!0)}}}),Re=Object.assign(jt,{__name:"DocsAsideRightBottom"});function Wt(){const t=Y(),d=Y([]),a=Y([]);function h(g){g.forEach(i=>{const n=i.target.id;n&&(i.isIntersecting?d.value=[...d.value,n]:d.value=d.value.filter(f=>f!==n))})}function o(g){g.forEach(i=>{t.value&&t.value.observe(i)})}return De(d,(g,i)=>{g.length===0?a.value=i:a.value=g}),at(()=>t.value=new IntersectionObserver(h)),it(()=>t.value?.disconnect()),{visibleHeadings:d,activeHeadings:a,updateHeadings:o}}const Nt={slots:{root:"sticky top-(--ui-header-height) z-10 bg-default/75 lg:bg-[initial] backdrop-blur -mx-4 px-4 sm:px-6 sm:-mx-6 lg:ms-0 overflow-y-auto max-h-[calc(100vh-var(--ui-header-height))]",container:"pt-4 sm:pt-6 pb-2.5 sm:pb-4.5 lg:py-8 border-b border-dashed border-default lg:border-0 flex flex-col",top:"",bottom:"hidden lg:flex lg:flex-col gap-6",trigger:"group text-sm font-semibold flex-1 flex items-center gap-1.5 py-1.5 -mt-1.5 focus-visible:outline-primary",title:"truncate",trailing:"ms-auto inline-flex gap-1.5 items-center",trailingIcon:"size-5 transform transition-transform duration-200 shrink-0 group-data-[state=open]:rotate-180 lg:hidden",content:"relative data-[state=open]:animate-[collapsible-down_200ms_ease-out] data-[state=closed]:animate-[collapsible-up_200ms_ease-out] overflow-hidden focus:outline-none",list:"min-w-0",listWithChildren:"ms-3",item:"min-w-0",itemWithChildren:"",link:"group relative text-sm flex items-center focus-visible:outline-primary py-1",linkText:"truncate",indicator:"",indicatorLine:"",indicatorActive:""},variants:{color:{primary:"",secondary:"",success:"",info:"",warning:"",error:"",neutral:""},highlightColor:{primary:{indicatorActive:"bg-primary"},secondary:{indicatorActive:"bg-secondary"},success:{indicatorActive:"bg-success"},info:{indicatorActive:"bg-info"},warning:{indicatorActive:"bg-warning"},error:{indicatorActive:"bg-error"},neutral:{indicatorActive:"bg-inverted"}},active:{false:{link:["text-muted hover:text-default","transition-colors"]}},highlight:{true:""},highlightVariant:{straight:"",circuit:""},body:{true:{bottom:"mt-6"}}},compoundVariants:[{color:"primary",active:!0,class:{link:"text-primary"}},{color:"secondary",active:!0,class:{link:"text-secondary"}},{color:"success",active:!0,class:{link:"text-success"}},{color:"info",active:!0,class:{link:"text-info"}},{color:"warning",active:!0,class:{link:"text-warning"}},{color:"error",active:!0,class:{link:"text-error"}},{color:"neutral",active:!0,class:{link:"text-highlighted"}},{highlight:!0,highlightVariant:"straight",class:{list:"ms-2.5 ps-4 border-s border-default",item:"-ms-px",indicator:"absolute ms-2.5 transition-[translate,height] duration-200 h-(--indicator-size) translate-y-(--indicator-position) w-px rounded-full",indicatorLine:"hidden",indicatorActive:"w-full h-full"}},{highlight:!0,highlightVariant:"circuit",class:{list:"ps-6.5",item:"-ms-px",itemWithChildren:"ps-px",indicator:"absolute ms-2.5 start-0 top-0 rtl:-scale-x-100",indicatorLine:"absolute inset-0 bg-(--ui-border)",indicatorActive:"absolute w-full h-(--indicator-size) translate-y-(--indicator-position) transition-[translate,height] duration-200 ease-out"}}],defaultVariants:{color:"primary",highlightColor:"primary",highlightVariant:"straight"}},Ht=["href","onClick"],Fe=Object.assign({inheritAttrs:!1},{__name:"UContentToc",props:{as:{type:null,required:!1,default:"nav"},trailingIcon:{type:null,required:!1},title:{type:String,required:!1},color:{type:null,required:!1},highlight:{type:Boolean,required:!1},highlightColor:{type:null,required:!1},highlightVariant:{type:null,required:!1},links:{type:Array,required:!1},class:{type:null,required:!1},ui:{type:Object,required:!1},defaultOpen:{type:Boolean,required:!1},open:{type:Boolean,required:!1}},emits:["update:open","move"],setup(t,{emit:d}){const a=t,h=d,o=le(),g=be(Pe(a,"as","open","defaultOpen"),h),{t:i}=ve(),n=lt(),f=V(),m=Z("contentToc",a),{activeHeadings:r,updateHeadings:u}=Wt(),[y,A]=ie({props:{links:Array,level:Number}}),[C,j]=ie(),[W,U]=ie(),L=q(()=>K({extend:K(Nt),...f.ui?.contentToc||{}})({color:a.color,highlight:a.highlight,highlightVariant:a.highlightVariant,highlightColor:a.highlightColor||a.color}));function _(l){const T=encodeURIComponent(l);n.push(`#${T}`),h("move",l)}function J(l){return l.flatMap(T=>[T,...T.children?J(T.children):[]])}function E(l,T=0){return l.flatMap(z=>[{link:z,level:T},...z.children?E(z.children,T+1):[]])}const $=1.75,N=q(()=>{if(!r.value?.length)return;const T=J(a.links||[]).findIndex(z=>r.value.includes(z.id));return{"--indicator-size":`${$*r.value.length}rem`,"--indicator-position":T>=0?`${T*$}rem`:"0rem"}}),c=q(()=>{if(!a.highlight||a.highlightVariant!=="circuit"||!a.links?.length)return;const l=E(a.links),z=$*16,H=l.length*z,S=.5,ee=10.5;let te="",ce=S,ue=0;l.forEach((Ie,ge)=>{const ae=Ie.level>0?ee:S,we=ue+z;ge===0&&(te+=`M${ae} ${ue}`,ce=ae),ae!==ce&&(te+=` L${ae} ${ue+6}`,ce=ae),te+=` L${ce} ${we-(ge`);return{width:"0.75rem",height:`${l.length*$}rem`,maskImage:`url("data:image/svg+xml,${Me}")`}}),P=nt();return P.hooks.hook("page:loading:end",()=>{const l=Array.from(document.querySelectorAll("h2, h3"));u(l)}),P.hooks.hook("page:transition:finish",()=>{const l=Array.from(document.querySelectorAll("h2, h3"));u(l)}),(l,T)=>(s(),w(M,null,[v(e(y),null,{default:b(({links:z,level:H})=>[O("ul",{class:p(H>0?L.value.listWithChildren({class:e(m)?.listWithChildren}):L.value.list({class:e(m)?.list}))},[(s(!0),w(M,null,Q(z,(S,ee)=>(s(),w("li",{key:ee,class:p(S.children&&S.children.length>0?L.value.itemWithChildren({class:[e(m)?.itemWithChildren,S.ui?.itemWithChildren]}):L.value.item({class:[e(m)?.item,S.ui?.item]}))},[O("a",{href:`#${S.id}`,"data-slot":"link",class:p(L.value.link({class:[e(m)?.link,S.ui?.link,S.class],active:e(r).includes(S.id)})),onClick:ze(te=>_(S.id),["prevent"])},[x(l.$slots,"link",{link:S},()=>[O("span",{"data-slot":"linkText",class:p(L.value.linkText({class:[e(m)?.linkText,S.ui?.linkText]}))},D(S.text),3)])],10,Ht),S.children?.length?(s(),k(e(A),{key:0,links:S.children,level:H+1},null,8,["links","level"])):I("",!0)],2))),128))],2)]),_:3}),v(e(C),null,{default:b(({open:z})=>[x(l.$slots,"leading",{open:z,ui:L.value}),O("span",{"data-slot":"title",class:p(L.value.title({class:e(m)?.title}))},[x(l.$slots,"default",{open:z},()=>[R(D(t.title||e(i)("contentToc.title")),1)])],2),O("span",{"data-slot":"trailing",class:p(L.value.trailing({class:e(m)?.trailing}))},[x(l.$slots,"trailing",{open:z,ui:L.value},()=>[v(X,{name:t.trailingIcon||e(f).ui.icons.chevronDown,"data-slot":"trailingIcon",class:p(L.value.trailingIcon({class:e(m)?.trailingIcon}))},null,8,["name","class"])])],2)]),_:3}),v(e(W),null,{default:b(()=>[t.highlight?(s(),w("div",{key:0,"data-slot":"indicator",class:p(L.value.indicator({class:e(m)?.indicator})),style:st({...N.value,...c.value||{}})},[O("div",{"data-slot":"indicatorLine",class:p(L.value.indicatorLine({class:e(m)?.indicatorLine}))},null,2),N.value?(s(),w("div",{key:0,"data-slot":"indicatorActive",class:p(L.value.indicatorActive({class:e(m)?.indicatorActive}))},null,2)):I("",!0)],6)):I("",!0),x(l.$slots,"content",{links:t.links},()=>[v(e(A),{links:t.links,level:0},null,8,["links"])])]),_:3}),v(e(ct),B({...e(g),...l.$attrs},{"default-open":t.defaultOpen,"data-slot":"root",class:L.value.root({class:[e(m)?.root,a.class]})}),{default:b(({open:z})=>[O("div",{"data-slot":"container",class:p(L.value.container({class:e(m)?.container}))},[o.top?(s(),w("div",{key:0,"data-slot":"top",class:p(L.value.top({class:e(m)?.top}))},[x(l.$slots,"top",{links:t.links})],2)):I("",!0),t.links?.length?(s(),w(M,{key:1},[v(e(ot),{"data-slot":"trigger",class:p(L.value.trigger({class:"lg:hidden"}))},{default:b(()=>[v(e(j),{open:z},null,8,["open"])]),_:2},1032,["class"]),v(e(rt),{"data-slot":"content",class:p(L.value.content({class:[e(m)?.content,"lg:hidden"]}))},{default:b(()=>[v(e(U))]),_:1},8,["class"]),O("p",{"data-slot":"trigger",class:p(L.value.trigger({class:"hidden lg:flex"}))},[v(e(j),{open:z},null,8,["open"])],2),O("div",{"data-slot":"content",class:p(L.value.content({class:[e(m)?.content,"hidden lg:flex"]}))},[v(e(U))],2)],64)):I("",!0),o.bottom?(s(),w("div",{key:2,"data-slot":"bottom",class:p(L.value.bottom({class:e(m)?.bottom,body:!!o.top||!!t.links?.length}))},[x(l.$slots,"bottom",{links:t.links})],2)):I("",!0)],2)]),_:3},16,["default-open","class"])],64))}}),Vt={key:0,class:"lg:hidden sticky top-(--ui-header-height) z-10 bg-default/75 backdrop-blur -mx-4 p-2 border-b border-dashed border-default flex justify-between"},Et=se({__name:"DocsAsideMobileBar",props:{links:{}},setup(t){const{subNavigationMode:d,sidebarNavigation:a,currentSection:h}=Ue(),{t:o}=oe(),g=Y(!1),i=Y(!1);return(n,f)=>{const m=re,r=dt,u=ut,y=Re,A=Fe;return e(d)?(s(),w("div",Vt,[v(u,{open:e(g),"onUpdate:open":f[0]||(f[0]=C=>$e(g)?g.value=C:null),direction:"left",title:e(h)?.title,handle:!1,inset:"",side:"left",ui:{content:"w-full max-w-2/3"}},{body:b(()=>[v(r,{navigation:e(a),"default-open":"","trailing-icon":"i-lucide-chevron-right",ui:{linkTrailingIcon:"group-data-[state=open]:rotate-90"},highlight:""},null,8,["navigation"])]),default:b(()=>[v(m,{label:e(o)("docs.menu"),icon:"i-lucide-text-align-start",color:"neutral",variant:"link",size:"xs","aria-label":e(o)("docs.menu")},null,8,["label","aria-label"])]),_:1},8,["open","title"]),v(u,{open:e(i),"onUpdate:open":f[1]||(f[1]=C=>$e(i)?i.value=C:null),direction:"right",handle:!1,inset:"",side:"right","no-body-styles":"",ui:{content:"w-full max-w-2/3"}},{body:b(()=>[t.links?.length?(s(),k(A,{key:0,links:t.links,open:!0,"default-open":"",ui:{root:"!mx-0 !px-1 top-0 overflow-visible",container:"!pt-0 border-b-0",trailingIcon:"hidden",bottom:"flex flex-col"}},{bottom:b(()=>[v(y)]),_:1},8,["links"])):I("",!0)]),default:b(()=>[v(m,{label:e(o)("docs.toc"),"trailing-icon":"i-lucide-chevron-right",color:"neutral",variant:"link",size:"xs","aria-label":e(o)("docs.toc")},null,8,["label","aria-label"])]),_:1},8,["open"])])):I("",!0)}}}),Gt=Object.assign(Et,{__name:"DocsAsideMobileBar"}),Xt=se({__name:"DocsAsideRight",props:{page:{}},setup(t){const d=t,a=q(()=>d.page?.body?.toc?.links||[]),{shouldPushContent:h}=xe(),{subNavigationMode:o}=Ue(),g=V(),{t:i}=oe();return(n,f)=>{const m=Re,r=Fe,u=Gt;return s(),w("div",null,[e(a).length&&!e(h)?(s(),k(r,{key:0,highlight:"",title:e(g).toc?.title||e(i)("docs.toc"),links:e(a),class:p({"hidden lg:block":e(o)})},{bottom:b(()=>[v(m)]),_:1},8,["title","links","class"])):I("",!0),v(u,{links:e(a)},null,8,["links"])])}}}),Qt=Object.assign(Xt,{__name:"DocsAsideRight"});function he(t,d,a){if(!(!t?.length||!d)){for(const h of t)if(h.children){for(const g of h.children){const i=g.stem?.endsWith("/index");if(g.path===d&&!i)return h.title}const o=he(h.children,d);if(o)return o}}}const Yt=t=>{const d=void 0;d&&d.node.res.setHeader("x-nitro-prerender",[d.node.res.getHeader("x-nitro-prerender"),t].filter(Boolean).join(","))},Zt={class:"flex items-center gap-2 text-sm text-muted"},ia=se({__name:"[...slug]",async setup(t){let d,a;const h=ke(),{locale:o,isEnabled:g,t:i}=oe(),n=V(),f=gt("navigation"),{shouldPushContent:m}=xe(),r=q(()=>g.value?`docs_${o.value}`:"docs"),[{data:u},{data:y}]=([d,a]=ft(()=>Promise.all([qe(Te(h.path),()=>pt(r.value).path(h.path).first(),"$PdQ4RLs3ik"),qe(`${Te(h.path)}-surround`,()=>mt(r.value,h.path,{fields:["description"]}))])),d=await d,a(),d);if(!u.value)throw ht({statusCode:404,statusMessage:"Page not found",fatal:!0});const A=u.value.seo?.title||u.value.title,C=u.value.seo?.description||u.value.description,j=Y(he(f?.value,u.value?.path)),W=q(()=>vt(f?.value,u.value?.path||""));yt({title:A,description:C,type:"article",modifiedAt:u.value.modifiedAt,breadcrumbs:W}),De(()=>f?.value,()=>{j.value=he(f?.value,u.value?.path)||j.value}),kt("Docs",{headline:j.value});const U=q(()=>n.github?n.github:null),L=q(()=>{if(U.value)return[U.value.url,"edit",U.value.branch,U.value.rootDir,"content",`${u.value?.stem}.${u.value?.extension}`].filter(Boolean).join("/")});return Yt(`/raw${h.path}.md`),(_,J)=>{const E=re,$=St,N=Ot,c=xt,P=Be,l=Dt,T=Kt,z=Qt,H=It;return e(u)?(s(),k(H,{key:`page-${e(m)}`},{right:b(()=>[v(z,{page:e(u)},null,8,["page"])]),default:b(()=>[v(N,{title:e(u).title,description:e(u).description,headline:e(j),ui:{wrapper:"flex-row items-center flex-wrap justify-between"}},{links:b(()=>[(s(!0),w(M,null,Q(e(u).links,(S,ee)=>(s(),k(E,B({key:ee,size:"sm"},{ref_for:!0},S),null,16))),128)),v($)]),_:1},8,["title","description","headline"]),v(T,null,{default:b(()=>[e(u)?(s(),k(c,{key:0,value:e(u)},null,8,["value"])):I("",!0),e(U)?(s(),k(P,{key:1},{default:b(()=>[O("div",Zt,[v(E,{variant:"link",color:"neutral",to:e(L),target:"_blank",icon:"i-lucide-pen",ui:{leadingIcon:"size-4"}},{default:b(()=>[R(D(e(i)("docs.edit")),1)]),_:1},8,["to"]),O("span",null,D(e(i)("common.or")),1),v(E,{variant:"link",color:"neutral",to:`${e(U).url}/issues/new/choose`,target:"_blank",icon:"i-lucide-alert-circle",ui:{leadingIcon:"size-4"}},{default:b(()=>[R(D(e(i)("docs.report")),1)]),_:1},8,["to"])])]),_:1})):I("",!0),v(l,{surround:e(y)},null,8,["surround"])]),_:1})]),_:1})):I("",!0)}}});export{ia as default}; diff --git a/assets/CAvwm2Ra.js b/assets/Cs_C5Hxr.js similarity index 85% rename from assets/CAvwm2Ra.js rename to assets/Cs_C5Hxr.js index 493658d..b1fddad 100644 --- a/assets/CAvwm2Ra.js +++ b/assets/Cs_C5Hxr.js @@ -1 +1 @@ -import{a0 as c,a1 as p,e as l,q as u,ac as i,s as m,c as f,am as e,o as d}from"./Sa-_S7_w.js";const g={base:""},b={__name:"ProseStrong",props:{class:{type:null,required:!1},ui:{type:Object,required:!1}},setup(a){const s=a,o=c(),t=p("prose.strong",s),r=f(()=>e({extend:e(g),...o.ui?.prose?.strong||{}}));return(n,_)=>(d(),l("strong",{class:i(r.value({class:[m(t)?.base,s.class]}))},[u(n.$slots,"default")],2))}};export{b as default}; +import{a0 as c,a1 as p,e as l,q as u,ac as i,s as m,c as f,am as e,o as d}from"./DklXDfzJ.js";const g={base:""},b={__name:"ProseStrong",props:{class:{type:null,required:!1},ui:{type:Object,required:!1}},setup(a){const s=a,o=c(),t=p("prose.strong",s),r=f(()=>e({extend:e(g),...o.ui?.prose?.strong||{}}));return(n,_)=>(d(),l("strong",{class:i(r.value({class:[m(t)?.base,s.class]}))},[u(n.$slots,"default")],2))}};export{b as default}; diff --git a/assets/C4x3GRAb.js b/assets/CuVQRRrB.js similarity index 98% rename from assets/C4x3GRAb.js rename to assets/CuVQRRrB.js index 26b8606..ad4bb6a 100644 --- a/assets/C4x3GRAb.js +++ b/assets/CuVQRRrB.js @@ -1 +1 @@ -import{Q as x,a0 as b,a1 as $,o as a,a as y,p as g,q as n,B as q,bW as w,ac as o,s,e as d,ah as f,ag as h,f as c,F as C,r as S,ak as B,m as P,P as z,c as j,am as m}from"./Sa-_S7_w.js";const H={slots:{root:"relative isolate",container:"flex flex-col lg:grid py-24 sm:py-32 lg:py-40 gap-16 sm:gap-y-24",wrapper:"",header:"",headline:"mb-4",title:"text-5xl sm:text-7xl text-pretty tracking-tight font-bold text-highlighted",description:"text-lg sm:text-xl/8 text-muted",body:"mt-10",footer:"mt-10",links:"flex flex-wrap gap-x-6 gap-y-3"},variants:{orientation:{horizontal:{container:"lg:grid-cols-2 lg:items-center",description:"text-pretty"},vertical:{container:"",headline:"justify-center",wrapper:"text-center",description:"text-balance",links:"justify-center"}},reverse:{true:{wrapper:"order-last"}},headline:{true:{headline:"font-semibold text-primary flex items-center gap-1.5"}},title:{true:{description:"mt-6"}}}},N={key:2,class:"hidden lg:block"},F={__name:"UPageHero",props:{as:{type:null,required:!1},headline:{type:String,required:!1},title:{type:String,required:!1},description:{type:String,required:!1},links:{type:Array,required:!1},orientation:{type:null,required:!1,default:"vertical"},reverse:{type:Boolean,required:!1},class:{type:null,required:!1},ui:{type:Object,required:!1}},setup(t){const u=t,e=x(),p=b(),l=$("pageHero",u),i=j(()=>m({extend:m(H),...p.ui?.pageHero||{}})({orientation:u.orientation,reverse:u.reverse,title:!!u.title||!!e.title}));return(r,V)=>(a(),y(s(z),{as:t.as,"data-orientation":t.orientation,"data-slot":"root",class:o(i.value.root({class:[s(l)?.root,u.class]}))},{default:g(()=>[n(r.$slots,"top"),q(w,{"data-slot":"container",class:o(i.value.container({class:s(l)?.container}))},{default:g(()=>[e.header||t.headline||e.headline||t.title||e.title||t.description||e.description||e.body||e.footer||t.links?.length||e.links?(a(),d("div",{key:0,"data-slot":"wrapper",class:o(i.value.wrapper({class:s(l)?.wrapper}))},[e.header||t.headline||e.headline||t.title||e.title||t.description||e.description?(a(),d("div",{key:0,"data-slot":"header",class:o(i.value.header({class:s(l)?.header}))},[n(r.$slots,"header",{},()=>[t.headline||e.headline?(a(),d("div",{key:0,"data-slot":"headline",class:o(i.value.headline({class:s(l)?.headline,headline:!e.headline}))},[n(r.$slots,"headline",{},()=>[f(h(t.headline),1)])],2)):c("",!0),t.title||e.title?(a(),d("h1",{key:1,"data-slot":"title",class:o(i.value.title({class:s(l)?.title}))},[n(r.$slots,"title",{},()=>[f(h(t.title),1)])],2)):c("",!0),t.description||e.description?(a(),d("div",{key:2,"data-slot":"description",class:o(i.value.description({class:s(l)?.description}))},[n(r.$slots,"description",{},()=>[f(h(t.description),1)])],2)):c("",!0)])],2)):c("",!0),e.body?(a(),d("div",{key:1,"data-slot":"body",class:o(i.value.body({class:s(l)?.body}))},[n(r.$slots,"body")],2)):c("",!0),e.footer||t.links?.length||e.links?(a(),d("div",{key:2,"data-slot":"footer",class:o(i.value.footer({class:s(l)?.footer}))},[n(r.$slots,"footer",{},()=>[t.links?.length||e.links?(a(),d("div",{key:0,"data-slot":"links",class:o(i.value.links({class:s(l)?.links}))},[n(r.$slots,"links",{},()=>[(a(!0),d(C,null,S(t.links,(k,v)=>(a(),y(B,P({key:v,size:"xl"},{ref_for:!0},k),null,16))),128))])],2)):c("",!0)])],2)):c("",!0)],2)):c("",!0),e.default?n(r.$slots,"default",{key:1}):t.orientation==="horizontal"?(a(),d("div",N)):c("",!0)]),_:3},8,["class"]),n(r.$slots,"bottom")]),_:3},8,["as","data-orientation","class"]))}};export{F as default}; +import{Q as x,a0 as b,a1 as $,o as a,a as y,p as g,q as n,B as q,bW as w,ac as o,s,e as d,ah as f,ag as h,f as c,F as C,r as S,ak as B,m as P,P as z,c as j,am as m}from"./DklXDfzJ.js";const H={slots:{root:"relative isolate",container:"flex flex-col lg:grid py-24 sm:py-32 lg:py-40 gap-16 sm:gap-y-24",wrapper:"",header:"",headline:"mb-4",title:"text-5xl sm:text-7xl text-pretty tracking-tight font-bold text-highlighted",description:"text-lg sm:text-xl/8 text-muted",body:"mt-10",footer:"mt-10",links:"flex flex-wrap gap-x-6 gap-y-3"},variants:{orientation:{horizontal:{container:"lg:grid-cols-2 lg:items-center",description:"text-pretty"},vertical:{container:"",headline:"justify-center",wrapper:"text-center",description:"text-balance",links:"justify-center"}},reverse:{true:{wrapper:"order-last"}},headline:{true:{headline:"font-semibold text-primary flex items-center gap-1.5"}},title:{true:{description:"mt-6"}}}},N={key:2,class:"hidden lg:block"},F={__name:"UPageHero",props:{as:{type:null,required:!1},headline:{type:String,required:!1},title:{type:String,required:!1},description:{type:String,required:!1},links:{type:Array,required:!1},orientation:{type:null,required:!1,default:"vertical"},reverse:{type:Boolean,required:!1},class:{type:null,required:!1},ui:{type:Object,required:!1}},setup(t){const u=t,e=x(),p=b(),l=$("pageHero",u),i=j(()=>m({extend:m(H),...p.ui?.pageHero||{}})({orientation:u.orientation,reverse:u.reverse,title:!!u.title||!!e.title}));return(r,V)=>(a(),y(s(z),{as:t.as,"data-orientation":t.orientation,"data-slot":"root",class:o(i.value.root({class:[s(l)?.root,u.class]}))},{default:g(()=>[n(r.$slots,"top"),q(w,{"data-slot":"container",class:o(i.value.container({class:s(l)?.container}))},{default:g(()=>[e.header||t.headline||e.headline||t.title||e.title||t.description||e.description||e.body||e.footer||t.links?.length||e.links?(a(),d("div",{key:0,"data-slot":"wrapper",class:o(i.value.wrapper({class:s(l)?.wrapper}))},[e.header||t.headline||e.headline||t.title||e.title||t.description||e.description?(a(),d("div",{key:0,"data-slot":"header",class:o(i.value.header({class:s(l)?.header}))},[n(r.$slots,"header",{},()=>[t.headline||e.headline?(a(),d("div",{key:0,"data-slot":"headline",class:o(i.value.headline({class:s(l)?.headline,headline:!e.headline}))},[n(r.$slots,"headline",{},()=>[f(h(t.headline),1)])],2)):c("",!0),t.title||e.title?(a(),d("h1",{key:1,"data-slot":"title",class:o(i.value.title({class:s(l)?.title}))},[n(r.$slots,"title",{},()=>[f(h(t.title),1)])],2)):c("",!0),t.description||e.description?(a(),d("div",{key:2,"data-slot":"description",class:o(i.value.description({class:s(l)?.description}))},[n(r.$slots,"description",{},()=>[f(h(t.description),1)])],2)):c("",!0)])],2)):c("",!0),e.body?(a(),d("div",{key:1,"data-slot":"body",class:o(i.value.body({class:s(l)?.body}))},[n(r.$slots,"body")],2)):c("",!0),e.footer||t.links?.length||e.links?(a(),d("div",{key:2,"data-slot":"footer",class:o(i.value.footer({class:s(l)?.footer}))},[n(r.$slots,"footer",{},()=>[t.links?.length||e.links?(a(),d("div",{key:0,"data-slot":"links",class:o(i.value.links({class:s(l)?.links}))},[n(r.$slots,"links",{},()=>[(a(!0),d(C,null,S(t.links,(k,v)=>(a(),y(B,P({key:v,size:"xl"},{ref_for:!0},k),null,16))),128))])],2)):c("",!0)])],2)):c("",!0)],2)):c("",!0),e.default?n(r.$slots,"default",{key:1}):t.orientation==="horizontal"?(a(),d("div",N)):c("",!0)]),_:3},8,["class"]),n(r.$slots,"bottom")]),_:3},8,["as","data-orientation","class"]))}};export{F as default}; diff --git a/assets/_LX0b7A9.js b/assets/CwVYtG5_.js similarity index 97% rename from assets/_LX0b7A9.js rename to assets/CwVYtG5_.js index 88d540c..a72cb4d 100644 --- a/assets/_LX0b7A9.js +++ b/assets/CwVYtG5_.js @@ -1 +1 @@ -import{Q as B,a0 as q,a1 as v,a2 as $,a3 as P,o as d,a as f,p as n,s as e,a$ as T,q as m,f as O,B as x,b0 as S,ac as l,m as k,b1 as w,c as C,am as p,$ as I,ay as L,af as _,ab as N,ag as y}from"./Sa-_S7_w.js";const U={slots:{root:"",content:"data-[state=open]:animate-[collapsible-down_200ms_ease-out] data-[state=closed]:animate-[collapsible-up_200ms_ease-out] overflow-hidden"}},V={__name:"UCollapsible",props:{as:{type:null,required:!1},class:{type:null,required:!1},ui:{type:Object,required:!1},defaultOpen:{type:Boolean,required:!1},open:{type:Boolean,required:!1},disabled:{type:Boolean,required:!1},unmountOnHide:{type:Boolean,required:!1,default:!0}},emits:["update:open"],setup(r,{emit:s}){const a=r,i=s,t=B(),o=q(),c=v("collapsible",a),g=$(P(a,"as","defaultOpen","open","disabled","unmountOnHide"),i),u=C(()=>p({extend:p(U),...o.ui?.collapsible||{}})());return(b,z)=>(d(),f(e(w),k(e(g),{"data-slot":"root",class:u.value.root({class:[e(c)?.root,a.class]})}),{default:n(({open:h})=>[t.default?(d(),f(e(T),{key:0,"as-child":""},{default:n(()=>[m(b.$slots,"default",{open:h})]),_:2},1024)):O("",!0),x(e(S),{"data-slot":"content",class:l(u.value.content({class:e(c)?.content}))},{default:n(()=>[m(b.$slots,"content")]),_:3},8,["class"])]),_:3},16,["class"]))}},j={slots:{root:"my-5",trigger:["group relative rounded-xs inline-flex items-center gap-1.5 text-muted hover:text-default text-sm focus-visible:ring-2 focus-visible:ring-primary focus:outline-none","transition-colors"],triggerIcon:"size-4 shrink-0 group-data-[state=open]:rotate-180 transition-transform duration-200",triggerLabel:"truncate",content:"*:first:mt-2.5 *:last:mb-0 *:my-1.5"}},H={__name:"ProseCollapsible",props:{icon:{type:null,required:!1},name:{type:String,required:!1},openText:{type:String,required:!1},closeText:{type:String,required:!1},class:{type:null,required:!1},ui:{type:Object,required:!1}},setup(r){const s=r,{t:a}=I(),i=q(),t=v("prose.collapsible",s),o=C(()=>p({extend:p(j),...i.ui?.prose?.collapsible||{}})());return(c,g)=>(d(),f(V,{"unmount-on-hide":!1,class:l(s.class),ui:e(L)(o.value,e(t))},{default:n(({open:u})=>[_("button",{class:l(o.value.trigger({class:e(t)?.trigger}))},[x(N,{name:r.icon||e(i).ui.icons.chevronDown,class:l(o.value.triggerIcon({class:e(t)?.triggerIcon}))},null,8,["name","class"]),_("span",{class:l(o.value.triggerLabel({class:e(t)?.triggerLabel}))},y(u?s.closeText||e(a)("prose.collapsible.closeText"):s.openText||e(a)("prose.collapsible.openText"))+" "+y(s.name||e(a)("prose.collapsible.name")),3)],2)]),content:n(()=>[m(c.$slots,"default")]),_:3},8,["class","ui"]))}};export{H as default}; +import{Q as B,a0 as q,a1 as v,a2 as $,a3 as P,o as d,a as f,p as n,s as e,a$ as T,q as m,f as O,B as x,b0 as S,ac as l,m as k,b1 as w,c as C,am as p,$ as I,ay as L,af as _,ab as N,ag as y}from"./DklXDfzJ.js";const U={slots:{root:"",content:"data-[state=open]:animate-[collapsible-down_200ms_ease-out] data-[state=closed]:animate-[collapsible-up_200ms_ease-out] overflow-hidden"}},V={__name:"UCollapsible",props:{as:{type:null,required:!1},class:{type:null,required:!1},ui:{type:Object,required:!1},defaultOpen:{type:Boolean,required:!1},open:{type:Boolean,required:!1},disabled:{type:Boolean,required:!1},unmountOnHide:{type:Boolean,required:!1,default:!0}},emits:["update:open"],setup(r,{emit:s}){const a=r,i=s,t=B(),o=q(),c=v("collapsible",a),g=$(P(a,"as","defaultOpen","open","disabled","unmountOnHide"),i),u=C(()=>p({extend:p(U),...o.ui?.collapsible||{}})());return(b,z)=>(d(),f(e(w),k(e(g),{"data-slot":"root",class:u.value.root({class:[e(c)?.root,a.class]})}),{default:n(({open:h})=>[t.default?(d(),f(e(T),{key:0,"as-child":""},{default:n(()=>[m(b.$slots,"default",{open:h})]),_:2},1024)):O("",!0),x(e(S),{"data-slot":"content",class:l(u.value.content({class:e(c)?.content}))},{default:n(()=>[m(b.$slots,"content")]),_:3},8,["class"])]),_:3},16,["class"]))}},j={slots:{root:"my-5",trigger:["group relative rounded-xs inline-flex items-center gap-1.5 text-muted hover:text-default text-sm focus-visible:ring-2 focus-visible:ring-primary focus:outline-none","transition-colors"],triggerIcon:"size-4 shrink-0 group-data-[state=open]:rotate-180 transition-transform duration-200",triggerLabel:"truncate",content:"*:first:mt-2.5 *:last:mb-0 *:my-1.5"}},H={__name:"ProseCollapsible",props:{icon:{type:null,required:!1},name:{type:String,required:!1},openText:{type:String,required:!1},closeText:{type:String,required:!1},class:{type:null,required:!1},ui:{type:Object,required:!1}},setup(r){const s=r,{t:a}=I(),i=q(),t=v("prose.collapsible",s),o=C(()=>p({extend:p(j),...i.ui?.prose?.collapsible||{}})());return(c,g)=>(d(),f(V,{"unmount-on-hide":!1,class:l(s.class),ui:e(L)(o.value,e(t))},{default:n(({open:u})=>[_("button",{class:l(o.value.trigger({class:e(t)?.trigger}))},[x(N,{name:r.icon||e(i).ui.icons.chevronDown,class:l(o.value.triggerIcon({class:e(t)?.triggerIcon}))},null,8,["name","class"]),_("span",{class:l(o.value.triggerLabel({class:e(t)?.triggerLabel}))},y(u?s.closeText||e(a)("prose.collapsible.closeText"):s.openText||e(a)("prose.collapsible.openText"))+" "+y(s.name||e(a)("prose.collapsible.name")),3)],2)]),content:n(()=>[m(c.$slots,"default")]),_:3},8,["class","ui"]))}};export{H as default}; diff --git a/assets/oZ4tf5kN.js b/assets/Czx2Cs4p.js similarity index 63% rename from assets/oZ4tf5kN.js rename to assets/Czx2Cs4p.js index f52f1ed..0a43993 100644 --- a/assets/oZ4tf5kN.js +++ b/assets/Czx2Cs4p.js @@ -1 +1 @@ -import{r}from"./B9iXeHun.js";import a from"./BMqJWTDa.js";import{a0 as t,a as e,p,s as c,o as n}from"./Sa-_S7_w.js";import"./BN_7HF1G.js";const d={__name:"ProseTip",setup(i){const o=t();return(s,f)=>(n(),e(a,{color:"success",icon:c(o).ui.icons.tip},{default:p(()=>[r(s.$slots,"default",{mdcUnwrap:"p"})]),_:3},8,["icon"]))}};export{d as default}; +import{r}from"./CTGtweTb.js";import a from"./DBhEayJC.js";import{a0 as t,a as e,p,s as c,o as n}from"./DklXDfzJ.js";import"./BN_7HF1G.js";const d={__name:"ProseTip",setup(i){const o=t();return(s,f)=>(n(),e(a,{color:"success",icon:c(o).ui.icons.tip},{default:p(()=>[r(s.$slots,"default",{mdcUnwrap:"p"})]),_:3},8,["icon"]))}};export{d as default}; diff --git a/assets/dDXv_e4b.js b/assets/D02NvDXQ.js similarity index 85% rename from assets/dDXv_e4b.js rename to assets/D02NvDXQ.js index 3176e50..a355066 100644 --- a/assets/dDXv_e4b.js +++ b/assets/D02NvDXQ.js @@ -1 +1 @@ -import{a0 as c,a1 as p,e as l,q as u,ac as d,s as i,c as m,am as e,o as f}from"./Sa-_S7_w.js";const b={base:""},C={__name:"ProseTbody",props:{class:{type:null,required:!1},ui:{type:Object,required:!1}},setup(a){const s=a,o=c(),t=p("prose.tbody",s),r=m(()=>e({extend:e(b),...o.ui?.prose?.tbody||{}}));return(n,y)=>(f(),l("tbody",{class:d(r.value({class:[i(t)?.base,s.class]}))},[u(n.$slots,"default")],2))}};export{C as default}; +import{a0 as c,a1 as p,e as l,q as u,ac as d,s as i,c as m,am as e,o as f}from"./DklXDfzJ.js";const b={base:""},C={__name:"ProseTbody",props:{class:{type:null,required:!1},ui:{type:Object,required:!1}},setup(a){const s=a,o=c(),t=p("prose.tbody",s),r=m(()=>e({extend:e(b),...o.ui?.prose?.tbody||{}}));return(n,y)=>(f(),l("tbody",{class:d(r.value({class:[i(t)?.base,s.class]}))},[u(n.$slots,"default")],2))}};export{C as default}; diff --git a/assets/_6E1Z7a7.js b/assets/D1rfTq7u.js similarity index 86% rename from assets/_6E1Z7a7.js rename to assets/D1rfTq7u.js index 3007771..0ee657d 100644 --- a/assets/_6E1Z7a7.js +++ b/assets/D1rfTq7u.js @@ -1 +1 @@ -import{s,e as o,ah as e,af as t,f as n,o as a}from"./Sa-_S7_w.js";const i={key:0},u={__name:"ProseScript",props:{src:{type:String,required:!0}},setup(c){return(l,r)=>s(!1)?(a(),o("div",i,[...r[0]||(r[0]=[e(" Rendering the ",-1),t("code",null,"script",-1),e(" element is dangerous and is disabled by default. Consider implementing your own ",-1),t("code",null,"ProseScript",-1),e(" element to have control over script rendering. ",-1)])])):n("",!0)}};export{u as default}; +import{s,e as o,ah as e,af as t,f as n,o as a}from"./DklXDfzJ.js";const i={key:0},u={__name:"ProseScript",props:{src:{type:String,required:!0}},setup(c){return(l,r)=>s(!1)?(a(),o("div",i,[...r[0]||(r[0]=[e(" Rendering the ",-1),t("code",null,"script",-1),e(" element is dangerous and is disabled by default. Consider implementing your own ",-1),t("code",null,"ProseScript",-1),e(" element to have control over script rendering. ",-1)])])):n("",!0)}};export{u as default}; diff --git a/assets/CzZF-Hx3.js b/assets/D4qJZeLc.js similarity index 74% rename from assets/CzZF-Hx3.js rename to assets/D4qJZeLc.js index fb350e6..c5bf5ce 100644 --- a/assets/CzZF-Hx3.js +++ b/assets/D4qJZeLc.js @@ -1 +1 @@ -import{aS as c,e as t,s as d,q as n,c as p,o as r}from"./Sa-_S7_w.js";const u=["id"],f=["href"],k={__name:"ProseH6",props:{id:{type:String,required:!1}},setup(a){const e=a,{headings:o}=c().public.mdc,i=p(()=>e.id&&(typeof o?.anchorLinks=="boolean"&&o?.anchorLinks===!0||typeof o?.anchorLinks=="object"&&o?.anchorLinks?.h6));return(s,h)=>(r(),t("h6",{id:e.id},[e.id&&d(i)?(r(),t("a",{key:0,href:`#${e.id}`},[n(s.$slots,"default")],8,f)):n(s.$slots,"default",{key:1})],8,u))}};export{k as default}; +import{aS as c,e as t,s as d,q as n,c as p,o as r}from"./DklXDfzJ.js";const u=["id"],f=["href"],k={__name:"ProseH6",props:{id:{type:String,required:!1}},setup(a){const e=a,{headings:o}=c().public.mdc,i=p(()=>e.id&&(typeof o?.anchorLinks=="boolean"&&o?.anchorLinks===!0||typeof o?.anchorLinks=="object"&&o?.anchorLinks?.h6));return(s,h)=>(r(),t("h6",{id:e.id},[e.id&&d(i)?(r(),t("a",{key:0,href:`#${e.id}`},[n(s.$slots,"default")],8,f)):n(s.$slots,"default",{key:1})],8,u))}};export{k as default}; diff --git a/assets/BMqJWTDa.js b/assets/DBhEayJC.js similarity index 97% rename from assets/BMqJWTDa.js rename to assets/DBhEayJC.js index bd3348c..9f44e03 100644 --- a/assets/BMqJWTDa.js +++ b/assets/DBhEayJC.js @@ -1 +1 @@ -import{r as m}from"./B9iXeHun.js";import{a0 as _,a1 as p,e as y,a as c,p as g,m as h,a7 as k,f as n,ac as i,s as o,ab as x,c as f,am as v,o as t,af as w}from"./Sa-_S7_w.js";import"./BN_7HF1G.js";const I={slots:{base:["group relative block px-4 py-3 rounded-md text-sm/6 my-5 last:mb-0 [&_code]:text-xs/5 [&_code]:bg-default [&_pre]:bg-default [&>div]:my-2.5 [&_ul]:my-2.5 [&_ol]:my-2.5 [&>*]:last:!mb-0 [&_ul]:ps-4.5 [&_ol]:ps-4.5 [&_li]:my-0","transition-colors"],icon:["size-4 shrink-0 align-sub me-1.5 inline-block","transition-colors"],externalIcon:["size-4 align-top absolute right-2 top-2 pointer-events-none","transition-colors"]},variants:{color:{primary:{base:"border border-primary/25 bg-primary/10 text-primary-600 dark:text-primary-300 [&_a]:text-primary [&_a]:hover:border-primary [&_a]:focus-visible:outline-primary [&_code]:text-primary-600 dark:[&_code]:text-primary-300 [&_code]:border-primary/25 [&_a]:hover:[&>code]:border-primary [&_a]:hover:[&>code]:text-primary [&_a]:focus-visible:[&>code]:border-primary [&_a]:focus-visible:[&>code]:text-primary [&>ul]:marker:text-primary/50",icon:"text-primary",externalIcon:"text-primary-600 dark:text-primary-300"},secondary:{base:"border border-secondary/25 bg-secondary/10 text-secondary-600 dark:text-secondary-300 [&_a]:text-secondary [&_a]:hover:border-secondary [&_a]:focus-visible:outline-secondary [&_code]:text-secondary-600 dark:[&_code]:text-secondary-300 [&_code]:border-secondary/25 [&_a]:hover:[&>code]:border-secondary [&_a]:hover:[&>code]:text-secondary [&_a]:focus-visible:[&>code]:border-secondary [&_a]:focus-visible:[&>code]:text-secondary [&>ul]:marker:text-secondary/50",icon:"text-secondary",externalIcon:"text-secondary-600 dark:text-secondary-300"},success:{base:"border border-success/25 bg-success/10 text-success-600 dark:text-success-300 [&_a]:text-success [&_a]:hover:border-success [&_a]:focus-visible:outline-success [&_code]:text-success-600 dark:[&_code]:text-success-300 [&_code]:border-success/25 [&_a]:hover:[&>code]:border-success [&_a]:hover:[&>code]:text-success [&_a]:focus-visible:[&>code]:border-success [&_a]:focus-visible:[&>code]:text-success [&>ul]:marker:text-success/50",icon:"text-success",externalIcon:"text-success-600 dark:text-success-300"},info:{base:"border border-info/25 bg-info/10 text-info-600 dark:text-info-300 [&_a]:text-info [&_a]:hover:border-info [&_a]:focus-visible:outline-info [&_code]:text-info-600 dark:[&_code]:text-info-300 [&_code]:border-info/25 [&_a]:hover:[&>code]:border-info [&_a]:hover:[&>code]:text-info [&_a]:focus-visible:[&>code]:border-info [&_a]:focus-visible:[&>code]:text-info [&>ul]:marker:text-info/50",icon:"text-info",externalIcon:"text-info-600 dark:text-info-300"},warning:{base:"border border-warning/25 bg-warning/10 text-warning-600 dark:text-warning-300 [&_a]:text-warning [&_a]:hover:border-warning [&_a]:focus-visible:outline-warning [&_code]:text-warning-600 dark:[&_code]:text-warning-300 [&_code]:border-warning/25 [&_a]:hover:[&>code]:border-warning [&_a]:hover:[&>code]:text-warning [&_a]:focus-visible:[&>code]:border-warning [&_a]:focus-visible:[&>code]:text-warning [&>ul]:marker:text-warning/50",icon:"text-warning",externalIcon:"text-warning-600 dark:text-warning-300"},error:{base:"border border-error/25 bg-error/10 text-error-600 dark:text-error-300 [&_a]:text-error [&_a]:hover:border-error [&_a]:focus-visible:outline-error [&_code]:text-error-600 dark:[&_code]:text-error-300 [&_code]:border-error/25 [&_a]:hover:[&>code]:border-error [&_a]:hover:[&>code]:text-error [&_a]:focus-visible:[&>code]:border-error [&_a]:focus-visible:[&>code]:text-error [&>ul]:marker:text-error/50",icon:"text-error",externalIcon:"text-error-600 dark:text-error-300"},neutral:{base:"border border-muted bg-muted text-default",icon:"text-highlighted",externalIcon:"text-dimmed"}},to:{true:"border-dashed"}},compoundVariants:[{color:"primary",to:!0,class:{base:"hover:border-primary has-focus-visible:border-primary",externalIcon:"group-hover:text-primary"}},{color:"secondary",to:!0,class:{base:"hover:border-secondary has-focus-visible:border-secondary",externalIcon:"group-hover:text-secondary"}},{color:"success",to:!0,class:{base:"hover:border-success has-focus-visible:border-success",externalIcon:"group-hover:text-success"}},{color:"info",to:!0,class:{base:"hover:border-info has-focus-visible:border-info",externalIcon:"group-hover:text-info"}},{color:"warning",to:!0,class:{base:"hover:border-warning has-focus-visible:border-warning",externalIcon:"group-hover:text-warning"}},{color:"error",to:!0,class:{base:"hover:border-error has-focus-visible:border-error",externalIcon:"group-hover:text-error"}},{color:"neutral",to:!0,class:{base:"hover:border-inverted has-focus-visible:border-inverted",externalIcon:"group-hover:text-highlighted"}}],defaultVariants:{color:"neutral"}},V=Object.assign({inheritAttrs:!1},{__name:"ProseCallout",props:{to:{type:null,required:!1},target:{type:[String,Object,null],required:!1},icon:{type:null,required:!1},color:{type:null,required:!1},class:{type:null,required:!1},ui:{type:Object,required:!1}},setup(r){const e=r,d=_(),a=p("prose.callout",e),s=f(()=>v({extend:v(I),...d.ui?.prose?.callout||{}})({color:e.color,to:!!e.to})),l=f(()=>e.target||(e.to&&typeof e.to=="string"&&e.to.startsWith("http")?"_blank":void 0));return(u,b)=>(t(),y("div",{class:i(s.value.base({class:[o(a)?.base,e.class]}))},[r.to?(t(),c(k,h({key:0},{to:r.to,target:l.value,...u.$attrs},{class:"focus:outline-none",raw:""}),{default:g(()=>[...b[0]||(b[0]=[w("span",{class:"absolute inset-0","aria-hidden":"true"},null,-1)])]),_:1},16)):n("",!0),r.icon?(t(),c(x,{key:1,name:r.icon,class:i(s.value.icon({class:o(a)?.icon}))},null,8,["name","class"])):n("",!0),r.to&&l.value==="_blank"?(t(),c(x,{key:2,name:o(d).ui.icons.external,class:i(s.value.externalIcon({class:o(a)?.externalIcon}))},null,8,["name","class"])):n("",!0),m(u.$slots,"default",{mdcUnwrap:"p"})],2))}});export{V as default}; +import{r as m}from"./CTGtweTb.js";import{a0 as _,a1 as p,e as y,a as c,p as g,m as h,a7 as k,f as n,ac as i,s as o,ab as x,c as f,am as v,o as t,af as w}from"./DklXDfzJ.js";import"./BN_7HF1G.js";const I={slots:{base:["group relative block px-4 py-3 rounded-md text-sm/6 my-5 last:mb-0 [&_code]:text-xs/5 [&_code]:bg-default [&_pre]:bg-default [&>div]:my-2.5 [&_ul]:my-2.5 [&_ol]:my-2.5 [&>*]:last:!mb-0 [&_ul]:ps-4.5 [&_ol]:ps-4.5 [&_li]:my-0","transition-colors"],icon:["size-4 shrink-0 align-sub me-1.5 inline-block","transition-colors"],externalIcon:["size-4 align-top absolute right-2 top-2 pointer-events-none","transition-colors"]},variants:{color:{primary:{base:"border border-primary/25 bg-primary/10 text-primary-600 dark:text-primary-300 [&_a]:text-primary [&_a]:hover:border-primary [&_a]:focus-visible:outline-primary [&_code]:text-primary-600 dark:[&_code]:text-primary-300 [&_code]:border-primary/25 [&_a]:hover:[&>code]:border-primary [&_a]:hover:[&>code]:text-primary [&_a]:focus-visible:[&>code]:border-primary [&_a]:focus-visible:[&>code]:text-primary [&>ul]:marker:text-primary/50",icon:"text-primary",externalIcon:"text-primary-600 dark:text-primary-300"},secondary:{base:"border border-secondary/25 bg-secondary/10 text-secondary-600 dark:text-secondary-300 [&_a]:text-secondary [&_a]:hover:border-secondary [&_a]:focus-visible:outline-secondary [&_code]:text-secondary-600 dark:[&_code]:text-secondary-300 [&_code]:border-secondary/25 [&_a]:hover:[&>code]:border-secondary [&_a]:hover:[&>code]:text-secondary [&_a]:focus-visible:[&>code]:border-secondary [&_a]:focus-visible:[&>code]:text-secondary [&>ul]:marker:text-secondary/50",icon:"text-secondary",externalIcon:"text-secondary-600 dark:text-secondary-300"},success:{base:"border border-success/25 bg-success/10 text-success-600 dark:text-success-300 [&_a]:text-success [&_a]:hover:border-success [&_a]:focus-visible:outline-success [&_code]:text-success-600 dark:[&_code]:text-success-300 [&_code]:border-success/25 [&_a]:hover:[&>code]:border-success [&_a]:hover:[&>code]:text-success [&_a]:focus-visible:[&>code]:border-success [&_a]:focus-visible:[&>code]:text-success [&>ul]:marker:text-success/50",icon:"text-success",externalIcon:"text-success-600 dark:text-success-300"},info:{base:"border border-info/25 bg-info/10 text-info-600 dark:text-info-300 [&_a]:text-info [&_a]:hover:border-info [&_a]:focus-visible:outline-info [&_code]:text-info-600 dark:[&_code]:text-info-300 [&_code]:border-info/25 [&_a]:hover:[&>code]:border-info [&_a]:hover:[&>code]:text-info [&_a]:focus-visible:[&>code]:border-info [&_a]:focus-visible:[&>code]:text-info [&>ul]:marker:text-info/50",icon:"text-info",externalIcon:"text-info-600 dark:text-info-300"},warning:{base:"border border-warning/25 bg-warning/10 text-warning-600 dark:text-warning-300 [&_a]:text-warning [&_a]:hover:border-warning [&_a]:focus-visible:outline-warning [&_code]:text-warning-600 dark:[&_code]:text-warning-300 [&_code]:border-warning/25 [&_a]:hover:[&>code]:border-warning [&_a]:hover:[&>code]:text-warning [&_a]:focus-visible:[&>code]:border-warning [&_a]:focus-visible:[&>code]:text-warning [&>ul]:marker:text-warning/50",icon:"text-warning",externalIcon:"text-warning-600 dark:text-warning-300"},error:{base:"border border-error/25 bg-error/10 text-error-600 dark:text-error-300 [&_a]:text-error [&_a]:hover:border-error [&_a]:focus-visible:outline-error [&_code]:text-error-600 dark:[&_code]:text-error-300 [&_code]:border-error/25 [&_a]:hover:[&>code]:border-error [&_a]:hover:[&>code]:text-error [&_a]:focus-visible:[&>code]:border-error [&_a]:focus-visible:[&>code]:text-error [&>ul]:marker:text-error/50",icon:"text-error",externalIcon:"text-error-600 dark:text-error-300"},neutral:{base:"border border-muted bg-muted text-default",icon:"text-highlighted",externalIcon:"text-dimmed"}},to:{true:"border-dashed"}},compoundVariants:[{color:"primary",to:!0,class:{base:"hover:border-primary has-focus-visible:border-primary",externalIcon:"group-hover:text-primary"}},{color:"secondary",to:!0,class:{base:"hover:border-secondary has-focus-visible:border-secondary",externalIcon:"group-hover:text-secondary"}},{color:"success",to:!0,class:{base:"hover:border-success has-focus-visible:border-success",externalIcon:"group-hover:text-success"}},{color:"info",to:!0,class:{base:"hover:border-info has-focus-visible:border-info",externalIcon:"group-hover:text-info"}},{color:"warning",to:!0,class:{base:"hover:border-warning has-focus-visible:border-warning",externalIcon:"group-hover:text-warning"}},{color:"error",to:!0,class:{base:"hover:border-error has-focus-visible:border-error",externalIcon:"group-hover:text-error"}},{color:"neutral",to:!0,class:{base:"hover:border-inverted has-focus-visible:border-inverted",externalIcon:"group-hover:text-highlighted"}}],defaultVariants:{color:"neutral"}},V=Object.assign({inheritAttrs:!1},{__name:"ProseCallout",props:{to:{type:null,required:!1},target:{type:[String,Object,null],required:!1},icon:{type:null,required:!1},color:{type:null,required:!1},class:{type:null,required:!1},ui:{type:Object,required:!1}},setup(r){const e=r,d=_(),a=p("prose.callout",e),s=f(()=>v({extend:v(I),...d.ui?.prose?.callout||{}})({color:e.color,to:!!e.to})),l=f(()=>e.target||(e.to&&typeof e.to=="string"&&e.to.startsWith("http")?"_blank":void 0));return(u,b)=>(t(),y("div",{class:i(s.value.base({class:[o(a)?.base,e.class]}))},[r.to?(t(),c(k,h({key:0},{to:r.to,target:l.value,...u.$attrs},{class:"focus:outline-none",raw:""}),{default:g(()=>[...b[0]||(b[0]=[w("span",{class:"absolute inset-0","aria-hidden":"true"},null,-1)])]),_:1},16)):n("",!0),r.icon?(t(),c(x,{key:1,name:r.icon,class:i(s.value.icon({class:o(a)?.icon}))},null,8,["name","class"])):n("",!0),r.to&&l.value==="_blank"?(t(),c(x,{key:2,name:o(d).ui.icons.external,class:i(s.value.externalIcon({class:o(a)?.externalIcon}))},null,8,["name","class"])):n("",!0),m(u.$slots,"default",{mdcUnwrap:"p"})],2))}});export{V as default}; diff --git a/assets/r1MYRSZy.js b/assets/DDZnhW94.js similarity index 89% rename from assets/r1MYRSZy.js rename to assets/DDZnhW94.js index 7861d17..2cf4403 100644 --- a/assets/r1MYRSZy.js +++ b/assets/DDZnhW94.js @@ -1 +1 @@ -import{a0 as p,a1 as u,e as d,af as i,q as f,ac as o,s as t,c as m,am as r,o as b}from"./Sa-_S7_w.js";const v={slots:{root:"relative my-5 overflow-x-auto",base:"w-full border-separate border-spacing-0 rounded-md"}},g={__name:"ProseTable",props:{class:{type:null,required:!1},ui:{type:Object,required:!1}},setup(l){const e=l,c=p(),s=u("prose.table",e),a=m(()=>r({extend:r(v),...c.ui?.prose?.table||{}})());return(n,_)=>(b(),d("div",{class:o(a.value.root({class:[t(s)?.root,e.class]}))},[i("table",{class:o(a.value.base({class:t(s)?.base}))},[f(n.$slots,"default")],2)],2))}};export{g as default}; +import{a0 as p,a1 as u,e as d,af as i,q as f,ac as o,s as t,c as m,am as r,o as b}from"./DklXDfzJ.js";const v={slots:{root:"relative my-5 overflow-x-auto",base:"w-full border-separate border-spacing-0 rounded-md"}},g={__name:"ProseTable",props:{class:{type:null,required:!1},ui:{type:Object,required:!1}},setup(l){const e=l,c=p(),s=u("prose.table",e),a=m(()=>r({extend:r(v),...c.ui?.prose?.table||{}})());return(n,_)=>(b(),d("div",{class:o(a.value.root({class:[t(s)?.root,e.class]}))},[i("table",{class:o(a.value.base({class:t(s)?.base}))},[f(n.$slots,"default")],2)],2))}};export{g as default}; diff --git a/assets/Bg3yXSss.js b/assets/DE0Fl81X.js similarity index 92% rename from assets/Bg3yXSss.js rename to assets/DE0Fl81X.js index e3b6aee..1fabc86 100644 --- a/assets/Bg3yXSss.js +++ b/assets/DE0Fl81X.js @@ -1 +1 @@ -import{a0 as c,a1 as n,o as l,a as u,p as d,q as p,ac as f,s as m,a7 as b,c as h,am as s}from"./Sa-_S7_w.js";const y={base:["text-primary border-b border-transparent hover:border-primary font-medium focus-visible:outline-primary focus-visible:has-[>code]:outline-0 [&>code]:border-dashed hover:[&>code]:border-primary hover:[&>code]:text-primary focus-visible:[&>code]:border-primary focus-visible:[&>code]:text-primary","transition-colors [&>code]:transition-colors"]},x={__name:"ProseA",props:{href:{type:String,required:!1},target:{type:null,required:!1},class:{type:null,required:!1},ui:{type:Object,required:!1}},setup(e){const r=e,a=c(),o=n("prose.a",r),t=h(()=>s({extend:s(y),...a.ui?.prose?.a||{}}));return(i,v)=>(l(),u(b,{href:e.href,target:e.target,class:f(t.value({class:[m(o)?.base,r.class]})),raw:""},{default:d(()=>[p(i.$slots,"default")]),_:3},8,["href","target","class"]))}};export{x as default}; +import{a0 as c,a1 as n,o as l,a as u,p as d,q as p,ac as f,s as m,a7 as b,c as h,am as s}from"./DklXDfzJ.js";const y={base:["text-primary border-b border-transparent hover:border-primary font-medium focus-visible:outline-primary focus-visible:has-[>code]:outline-0 [&>code]:border-dashed hover:[&>code]:border-primary hover:[&>code]:text-primary focus-visible:[&>code]:border-primary focus-visible:[&>code]:text-primary","transition-colors [&>code]:transition-colors"]},x={__name:"ProseA",props:{href:{type:String,required:!1},target:{type:null,required:!1},class:{type:null,required:!1},ui:{type:Object,required:!1}},setup(e){const r=e,a=c(),o=n("prose.a",r),t=h(()=>s({extend:s(y),...a.ui?.prose?.a||{}}));return(i,v)=>(l(),u(b,{href:e.href,target:e.target,class:f(t.value({class:[m(o)?.base,r.class]})),raw:""},{default:d(()=>[p(i.$slots,"default")]),_:3},8,["href","target","class"]))}};export{x as default}; diff --git a/assets/Dzv2jvA8.js b/assets/DIeN43BN.js similarity index 92% rename from assets/Dzv2jvA8.js rename to assets/DIeN43BN.js index 1b7afce..dd3c86d 100644 --- a/assets/Dzv2jvA8.js +++ b/assets/DIeN43BN.js @@ -1 +1 @@ -import{r as f}from"./B9iXeHun.js";import{Q as y,a0 as x,a1 as q,a as v,p as g,ac as r,s as t,P as k,c as C,am as u,o as l,af as S,e as i,ag as o,f as n,ah as w}from"./Sa-_S7_w.js";import"./BN_7HF1G.js";const B={slots:{root:"my-5",container:"flex items-center gap-3 font-mono text-sm",name:"font-semibold text-primary",wrapper:"flex-1 flex items-center gap-1.5 text-xs",required:"rounded-sm bg-error/10 text-error px-1.5 py-0.5",type:"rounded-sm bg-elevated text-toned px-1.5 py-0.5",description:"mt-3 text-muted text-sm [&_code]:text-xs/4"}},V={__name:"ProseField",props:{as:{type:null,required:!1},name:{type:String,required:!1},type:{type:String,required:!1},description:{type:String,required:!1},required:{type:Boolean,required:!1},class:{type:null,required:!1},ui:{type:Object,required:!1}},setup(e){const c=e,d=y(),p=x(),s=q("prose.field",c),a=C(()=>u({extend:u(B),...p.ui?.prose?.field||{}})());return(m,b)=>(l(),v(t(k),{as:e.as,class:r(a.value.root({class:[t(s)?.root,c.class]}))},{default:g(()=>[S("div",{class:r(a.value.container({class:t(s)?.container}))},[e.name?(l(),i("span",{key:0,class:r(a.value.name({class:t(s)?.name}))},o(e.name),3)):n("",!0),e.type||e.required?(l(),i("div",{key:1,class:r(a.value.wrapper({class:t(s)?.wrapper}))},[e.type?(l(),i("span",{key:0,class:r(a.value.type({class:t(s)?.type}))},o(e.type),3)):n("",!0),e.required?(l(),i("span",{key:1,class:r(a.value.required({class:t(s)?.required}))}," required ",2)):n("",!0)],2)):n("",!0)],2),d.default||e.description?(l(),i("div",{key:0,class:r(a.value.description({class:t(s)?.description}))},[f(m.$slots,"default",{mdcUnwrap:"p"},()=>[w(o(e.description),1)])],2)):n("",!0)]),_:3},8,["as","class"]))}};export{V as default}; +import{r as f}from"./CTGtweTb.js";import{Q as y,a0 as x,a1 as q,a as v,p as g,ac as r,s as t,P as k,c as C,am as u,o as l,af as S,e as i,ag as o,f as n,ah as w}from"./DklXDfzJ.js";import"./BN_7HF1G.js";const B={slots:{root:"my-5",container:"flex items-center gap-3 font-mono text-sm",name:"font-semibold text-primary",wrapper:"flex-1 flex items-center gap-1.5 text-xs",required:"rounded-sm bg-error/10 text-error px-1.5 py-0.5",type:"rounded-sm bg-elevated text-toned px-1.5 py-0.5",description:"mt-3 text-muted text-sm [&_code]:text-xs/4"}},V={__name:"ProseField",props:{as:{type:null,required:!1},name:{type:String,required:!1},type:{type:String,required:!1},description:{type:String,required:!1},required:{type:Boolean,required:!1},class:{type:null,required:!1},ui:{type:Object,required:!1}},setup(e){const c=e,d=y(),p=x(),s=q("prose.field",c),a=C(()=>u({extend:u(B),...p.ui?.prose?.field||{}})());return(m,b)=>(l(),v(t(k),{as:e.as,class:r(a.value.root({class:[t(s)?.root,c.class]}))},{default:g(()=>[S("div",{class:r(a.value.container({class:t(s)?.container}))},[e.name?(l(),i("span",{key:0,class:r(a.value.name({class:t(s)?.name}))},o(e.name),3)):n("",!0),e.type||e.required?(l(),i("div",{key:1,class:r(a.value.wrapper({class:t(s)?.wrapper}))},[e.type?(l(),i("span",{key:0,class:r(a.value.type({class:t(s)?.type}))},o(e.type),3)):n("",!0),e.required?(l(),i("span",{key:1,class:r(a.value.required({class:t(s)?.required}))}," required ",2)):n("",!0)],2)):n("",!0)],2),d.default||e.description?(l(),i("div",{key:0,class:r(a.value.description({class:t(s)?.description}))},[f(m.$slots,"default",{mdcUnwrap:"p"},()=>[w(o(e.description),1)])],2)):n("",!0)]),_:3},8,["as","class"]))}};export{V as default}; diff --git a/assets/BGqPxSb_.js b/assets/DNke5-TS.js similarity index 93% rename from assets/BGqPxSb_.js rename to assets/DNke5-TS.js index 550f86e..56ab4f1 100644 --- a/assets/BGqPxSb_.js +++ b/assets/DNke5-TS.js @@ -1 +1 @@ -import{a0 as m,a1 as g,aS as b,e as i,ac as n,s as c,q as r,c as u,am as d,o as h}from"./Sa-_S7_w.js";const k={slots:{base:"text-lg text-highlighted font-bold mt-6 mb-2 scroll-mt-[calc(24px+45px+var(--ui-header-height))] lg:scroll-mt-[calc(24px+var(--ui-header-height))] [&>a]:focus-visible:outline-primary",link:""}},v=["id"],y=["href"],q={__name:"ProseH4",props:{id:{type:String,required:!1},class:{type:null,required:!1},ui:{type:Object,required:!1}},setup(e){const s=e,p=m(),a=g("prose.h4",s),{headings:t}=b().public?.mdc||{},o=u(()=>d({extend:d(k),...p.ui?.prose?.h4||{}})()),f=u(()=>s.id&&typeof t?.anchorLinks=="object"&&t.anchorLinks.h4);return(l,x)=>(h(),i("h4",{id:e.id,class:n(o.value.base({class:[c(a)?.base,s.class]}))},[e.id&&f.value?(h(),i("a",{key:0,href:`#${e.id}`,class:n(o.value.link({class:c(a)?.link}))},[r(l.$slots,"default")],10,y)):r(l.$slots,"default",{key:1})],10,v))}};export{q as default}; +import{a0 as m,a1 as g,aS as b,e as i,ac as n,s as c,q as r,c as u,am as d,o as h}from"./DklXDfzJ.js";const k={slots:{base:"text-lg text-highlighted font-bold mt-6 mb-2 scroll-mt-[calc(24px+45px+var(--ui-header-height))] lg:scroll-mt-[calc(24px+var(--ui-header-height))] [&>a]:focus-visible:outline-primary",link:""}},v=["id"],y=["href"],q={__name:"ProseH4",props:{id:{type:String,required:!1},class:{type:null,required:!1},ui:{type:Object,required:!1}},setup(e){const s=e,p=m(),a=g("prose.h4",s),{headings:t}=b().public?.mdc||{},o=u(()=>d({extend:d(k),...p.ui?.prose?.h4||{}})()),f=u(()=>s.id&&typeof t?.anchorLinks=="object"&&t.anchorLinks.h4);return(l,x)=>(h(),i("h4",{id:e.id,class:n(o.value.base({class:[c(a)?.base,s.class]}))},[e.id&&f.value?(h(),i("a",{key:0,href:`#${e.id}`,class:n(o.value.link({class:c(a)?.link}))},[r(l.$slots,"default")],10,y)):r(l.$slots,"default",{key:1})],10,v))}};export{q as default}; diff --git a/assets/Dt_cdDua.js b/assets/DWpnoitU.js similarity index 88% rename from assets/Dt_cdDua.js rename to assets/DWpnoitU.js index 99a0bd2..be60903 100644 --- a/assets/Dt_cdDua.js +++ b/assets/DWpnoitU.js @@ -1 +1 @@ -import{a0 as o,a1 as r,o as u,a as p,p as m,q as f,ac as d,s as e,P as h,c as v,am as t}from"./Sa-_S7_w.js";const C={base:"min-h-[calc(100vh-var(--ui-header-height))]"},b={__name:"UMain",props:{as:{type:null,required:!1,default:"main"},class:{type:null,required:!1},ui:{type:Object,required:!1}},setup(a){const s=a,n=o(),c=r("main",s),i=v(()=>t({extend:t(C),...n.ui?.main||{}}));return(l,_)=>(u(),p(e(h),{as:a.as,class:d(i.value({class:[e(c)?.base,s.class]}))},{default:m(()=>[f(l.$slots,"default")]),_:3},8,["as","class"]))}};export{b as _}; +import{a0 as o,a1 as r,o as u,a as p,p as m,q as f,ac as d,s as e,P as h,c as v,am as t}from"./DklXDfzJ.js";const C={base:"min-h-[calc(100vh-var(--ui-header-height))]"},b={__name:"UMain",props:{as:{type:null,required:!1,default:"main"},class:{type:null,required:!1},ui:{type:Object,required:!1}},setup(a){const s=a,n=o(),c=r("main",s),i=v(()=>t({extend:t(C),...n.ui?.main||{}}));return(l,_)=>(u(),p(e(h),{as:a.as,class:d(i.value({class:[e(c)?.base,s.class]}))},{default:m(()=>[f(l.$slots,"default")]),_:3},8,["as","class"]))}};export{b as _}; diff --git a/assets/DKqmGj5l.js b/assets/DXHJqSLO.js similarity index 95% rename from assets/DKqmGj5l.js rename to assets/DXHJqSLO.js index d560541..2c3407c 100644 --- a/assets/DKqmGj5l.js +++ b/assets/DXHJqSLO.js @@ -1 +1 @@ -import{a0 as g,a1 as f,aS as b,e as r,ac as t,s as e,af as v,B as x,ab as y,q as d,c as u,am as p,o as h}from"./Sa-_S7_w.js";const k={slots:{base:["relative text-2xl text-highlighted font-bold mt-12 mb-6 scroll-mt-[calc(48px+45px+var(--ui-header-height))] lg:scroll-mt-[calc(48px+var(--ui-header-height))] [&>a]:focus-visible:outline-primary [&>a>code]:border-dashed hover:[&>a>code]:border-primary hover:[&>a>code]:text-primary [&>a>code]:text-xl/7 [&>a>code]:font-bold","[&>a>code]:transition-colors"],leading:["absolute -ms-8 top-1 opacity-0 group-hover:opacity-100 group-focus:opacity-100 p-1 bg-elevated hover:text-primary rounded-md hidden lg:flex text-muted","transition"],leadingIcon:"size-4 shrink-0",link:"group lg:ps-2 lg:-ms-2"}},C=["id"],q=["href"],_={__name:"ProseH2",props:{id:{type:String,required:!1},class:{type:null,required:!1},ui:{type:Object,required:!1}},setup(a){const l=a,i=g(),s=f("prose.h2",l),{headings:n}=b().public?.mdc||{},o=u(()=>p({extend:p(k),...i.ui?.prose?.h2||{}})()),m=u(()=>l.id&&typeof n?.anchorLinks=="object"&&n.anchorLinks.h2);return(c,B)=>(h(),r("h2",{id:a.id,class:t(o.value.base({class:[e(s)?.base,l.class]}))},[a.id&&m.value?(h(),r("a",{key:0,href:`#${a.id}`,class:t(o.value.link({class:e(s)?.link}))},[v("span",{class:t(o.value.leading({class:e(s)?.leading}))},[x(y,{name:e(i).ui.icons.hash,class:t(o.value.leadingIcon({class:e(s)?.leadingIcon}))},null,8,["name","class"])],2),d(c.$slots,"default")],10,q)):d(c.$slots,"default",{key:1})],10,C))}};export{_ as default}; +import{a0 as g,a1 as f,aS as b,e as r,ac as t,s as e,af as v,B as x,ab as y,q as d,c as u,am as p,o as h}from"./DklXDfzJ.js";const k={slots:{base:["relative text-2xl text-highlighted font-bold mt-12 mb-6 scroll-mt-[calc(48px+45px+var(--ui-header-height))] lg:scroll-mt-[calc(48px+var(--ui-header-height))] [&>a]:focus-visible:outline-primary [&>a>code]:border-dashed hover:[&>a>code]:border-primary hover:[&>a>code]:text-primary [&>a>code]:text-xl/7 [&>a>code]:font-bold","[&>a>code]:transition-colors"],leading:["absolute -ms-8 top-1 opacity-0 group-hover:opacity-100 group-focus:opacity-100 p-1 bg-elevated hover:text-primary rounded-md hidden lg:flex text-muted","transition"],leadingIcon:"size-4 shrink-0",link:"group lg:ps-2 lg:-ms-2"}},C=["id"],q=["href"],_={__name:"ProseH2",props:{id:{type:String,required:!1},class:{type:null,required:!1},ui:{type:Object,required:!1}},setup(a){const l=a,i=g(),s=f("prose.h2",l),{headings:n}=b().public?.mdc||{},o=u(()=>p({extend:p(k),...i.ui?.prose?.h2||{}})()),m=u(()=>l.id&&typeof n?.anchorLinks=="object"&&n.anchorLinks.h2);return(c,B)=>(h(),r("h2",{id:a.id,class:t(o.value.base({class:[e(s)?.base,l.class]}))},[a.id&&m.value?(h(),r("a",{key:0,href:`#${a.id}`,class:t(o.value.link({class:e(s)?.link}))},[v("span",{class:t(o.value.leading({class:e(s)?.leading}))},[x(y,{name:e(i).ui.icons.hash,class:t(o.value.leadingIcon({class:e(s)?.leadingIcon}))},null,8,["name","class"])],2),d(c.$slots,"default")],10,q)):d(c.$slots,"default",{key:1})],10,C))}};export{_ as default}; diff --git a/assets/D_5BbqUW.js b/assets/DaC1Smdk.js similarity index 90% rename from assets/D_5BbqUW.js rename to assets/DaC1Smdk.js index 1714aeb..e23cb75 100644 --- a/assets/D_5BbqUW.js +++ b/assets/DaC1Smdk.js @@ -1 +1 @@ -import{a0 as l,a1 as i,e as c,q as p,ac as u,s as d,c as f,am as t,o as m}from"./Sa-_S7_w.js";const b={base:"py-3 px-4 font-semibold text-sm border-e border-b first:border-s border-t border-muted",variants:{align:{left:"text-left",center:"text-center",right:"text-right"}},defaultVariants:{align:"left"}},x={__name:"ProseTh",props:{align:{type:String,required:!1},class:{type:null,required:!1},ui:{type:Object,required:!1}},setup(s){const e=s,a=l(),r=i("prose.th",e),o=f(()=>t({extend:t(b),...a.ui?.prose?.th||{}}));return(n,g)=>(m(),c("th",{class:u(o.value({align:e.align,class:[d(r)?.base,e.class]}))},[p(n.$slots,"default")],2))}};export{x as default}; +import{a0 as l,a1 as i,e as c,q as p,ac as u,s as d,c as f,am as t,o as m}from"./DklXDfzJ.js";const b={base:"py-3 px-4 font-semibold text-sm border-e border-b first:border-s border-t border-muted",variants:{align:{left:"text-left",center:"text-center",right:"text-right"}},defaultVariants:{align:"left"}},x={__name:"ProseTh",props:{align:{type:String,required:!1},class:{type:null,required:!1},ui:{type:Object,required:!1}},setup(s){const e=s,a=l(),r=i("prose.th",e),o=f(()=>t({extend:t(b),...a.ui?.prose?.th||{}}));return(n,g)=>(m(),c("th",{class:u(o.value({align:e.align,class:[d(r)?.base,e.class]}))},[p(n.$slots,"default")],2))}};export{x as default}; diff --git a/assets/lYciAGvX.js b/assets/Dc-0Ffnn.js similarity index 86% rename from assets/lYciAGvX.js rename to assets/Dc-0Ffnn.js index 691d0a5..ae6a568 100644 --- a/assets/lYciAGvX.js +++ b/assets/Dc-0Ffnn.js @@ -1 +1 @@ -import{a0 as t,a1 as r,a as u,ac as i,s as l,ab as p,c as m,am as a,o as f}from"./Sa-_S7_w.js";const d={base:"size-4 shrink-0 align-sub"},C={__name:"ProseIcon",props:{name:{type:String,required:!0},class:{type:null,required:!1},ui:{type:Object,required:!1}},setup(s){const e=s,n=t(),o=r("prose.icon",e),c=m(()=>a({extend:a(d),...n.ui?.prose?.icon||{}}));return(_,b)=>(f(),u(p,{name:s.name,class:i(c.value({class:[l(o)?.base,e.class]}))},null,8,["name","class"]))}};export{C as default}; +import{a0 as t,a1 as r,a as u,ac as i,s as l,ab as p,c as m,am as a,o as f}from"./DklXDfzJ.js";const d={base:"size-4 shrink-0 align-sub"},C={__name:"ProseIcon",props:{name:{type:String,required:!0},class:{type:null,required:!1},ui:{type:Object,required:!1}},setup(s){const e=s,n=t(),o=r("prose.icon",e),c=m(()=>a({extend:a(d),...n.ui?.prose?.icon||{}}));return(_,b)=>(f(),u(p,{name:s.name,class:i(c.value({class:[l(o)?.base,e.class]}))},null,8,["name","class"]))}};export{C as default}; diff --git a/assets/BAIwO3PA.js b/assets/DgFfHvtP.js similarity index 86% rename from assets/BAIwO3PA.js rename to assets/DgFfHvtP.js index cd5f940..3d60e4a 100644 --- a/assets/BAIwO3PA.js +++ b/assets/DgFfHvtP.js @@ -1 +1 @@ -import{a0 as n,a1 as r,a as u,ac as l,s as p,ai as i,c as m,am as a,o as d}from"./Sa-_S7_w.js";const f={base:"align-text-top"},g={__name:"ProseKbd",props:{value:{type:String,required:!0},class:{type:null,required:!1},ui:{type:Object,required:!1}},setup(e){const s=e,t=n(),o=r("prose.kbd",s),c=m(()=>a({extend:a(f),...t.ui?.prose?.kbd||{}}));return(b,v)=>(d(),u(i,{value:e.value,class:l(c.value({class:[p(o)?.base,s.class]}))},null,8,["value","class"]))}};export{g as default}; +import{a0 as n,a1 as r,a as u,ac as l,s as p,ai as i,c as m,am as a,o as d}from"./DklXDfzJ.js";const f={base:"align-text-top"},g={__name:"ProseKbd",props:{value:{type:String,required:!0},class:{type:null,required:!1},ui:{type:Object,required:!1}},setup(e){const s=e,t=n(),o=r("prose.kbd",s),c=m(()=>a({extend:a(f),...t.ui?.prose?.kbd||{}}));return(b,v)=>(d(),u(i,{value:e.value,class:l(c.value({class:[p(o)?.base,s.class]}))},null,8,["value","class"]))}};export{g as default}; diff --git a/assets/CkJ5KmX1.js b/assets/Dhwn1cVK.js similarity index 93% rename from assets/CkJ5KmX1.js rename to assets/Dhwn1cVK.js index 91a0355..4fccd85 100644 --- a/assets/CkJ5KmX1.js +++ b/assets/Dhwn1cVK.js @@ -1 +1 @@ -import{T as w,a as B,b as I,c as T,d as L}from"./BeE4c48p.js";import{Q as M,_ as q,a0 as G,a1 as z,G as D,bD as U,w as y,bu as $,a as d,p as f,ac as n,s as a,al as F,v as N,c as h,am as x,o as i,B as m,e as _,F as S,r as V,af as P,ag as j,W as A}from"./Sa-_S7_w.js";import E from"./DBvuT6Rn.js";import"./BB8f-fnx.js";const K={slots:{root:"relative group *:not-first:!my-0 *:not-first:!static my-5",list:"relative flex items-center gap-1 border border-muted bg-default border-b-0 rounded-t-md overflow-x-auto p-2",indicator:"absolute left-0 inset-y-2 w-(--reka-tabs-indicator-size) translate-x-(--reka-tabs-indicator-position) transition-[translate,width] duration-200 bg-elevated rounded-md shadow-xs",trigger:["relative inline-flex items-center gap-1.5 text-default data-[state=active]:text-highlighted hover:bg-elevated/50 px-2 py-1.5 text-sm rounded-md disabled:cursor-not-allowed disabled:opacity-75 focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-primary focus:outline-none","transition-colors"],triggerIcon:"size-4 shrink-0",triggerLabel:"truncate"}},H={__name:"ProseCodeGroup",props:F({defaultValue:{type:String,required:!1,default:"0"},sync:{type:String,required:!1},class:{type:null,required:!1},ui:{type:Object,required:!1}},{modelValue:{type:String},modelModifiers:{}}),emits:["update:modelValue"],setup(p){const c=p,C=M(),s=q(p,"modelValue"),k=G(),r=z("prose.codeGroup",c),o=h(()=>x({extend:x(K),...k.ui?.prose?.codeGroup||{}})()),g=N(1),v=h(()=>(g.value,C.default?.()?.flatMap(b).filter(Boolean)||[]));function b(e,t){return typeof e.type=="symbol"?e.children?.map(b):{label:e.props?.filename||e.props?.label||`${t}`,icon:e.props?.icon,component:e}}return D(()=>{if(c.sync){const e=`code-group-${c.sync}`,t=U(e,()=>localStorage.getItem(e));y(t,()=>{t.value&&(s.value=t.value)},{immediate:!0}),y(s,()=>{s.value&&(t.value=s.value,localStorage.setItem(e,s.value))})}}),$(()=>g.value++),(e,t)=>(i(),d(a(w),{modelValue:s.value,"onUpdate:modelValue":t[0]||(t[0]=l=>s.value=l),"default-value":p.defaultValue,"unmount-on-hide":!1,class:n(o.value.root({class:[a(r)?.root,c.class]}))},{default:f(()=>[m(a(B),{class:n(o.value.list({class:a(r)?.list}))},{default:f(()=>[m(a(I),{class:n(o.value.indicator({class:a(r)?.indicator}))},null,8,["class"]),(i(!0),_(S,null,V(v.value,(l,u)=>(i(),d(a(T),{key:u,value:String(u),class:n(o.value.trigger({class:a(r)?.trigger}))},{default:f(()=>[m(E,{icon:l.icon,filename:l.label,class:n(o.value.triggerIcon({class:a(r)?.triggerIcon}))},null,8,["icon","filename","class"]),P("span",{class:n(o.value.triggerLabel({class:a(r)?.triggerLabel}))},j(l.label),3)]),_:2},1032,["value","class"]))),128))]),_:1},8,["class"]),(i(!0),_(S,null,V(v.value,(l,u)=>(i(),d(a(L),{key:u,value:String(u),"as-child":""},{default:f(()=>[(i(),d(A(l.component),{"hide-header":"",tabindex:"-1"}))]),_:2},1032,["value"]))),128))]),_:1},8,["modelValue","default-value","class"]))}};export{H as default}; +import{T as w,a as B,b as I,c as T,d as L}from"./j0jMKefp.js";import{Q as M,_ as q,a0 as G,a1 as z,G as D,bD as U,w as y,bu as $,a as d,p as f,ac as n,s as a,al as F,v as N,c as h,am as x,o as i,B as m,e as _,F as S,r as V,af as P,ag as j,W as A}from"./DklXDfzJ.js";import E from"./BX3MvpYz.js";import"./BI_2AZ0T.js";const K={slots:{root:"relative group *:not-first:!my-0 *:not-first:!static my-5",list:"relative flex items-center gap-1 border border-muted bg-default border-b-0 rounded-t-md overflow-x-auto p-2",indicator:"absolute left-0 inset-y-2 w-(--reka-tabs-indicator-size) translate-x-(--reka-tabs-indicator-position) transition-[translate,width] duration-200 bg-elevated rounded-md shadow-xs",trigger:["relative inline-flex items-center gap-1.5 text-default data-[state=active]:text-highlighted hover:bg-elevated/50 px-2 py-1.5 text-sm rounded-md disabled:cursor-not-allowed disabled:opacity-75 focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-primary focus:outline-none","transition-colors"],triggerIcon:"size-4 shrink-0",triggerLabel:"truncate"}},H={__name:"ProseCodeGroup",props:F({defaultValue:{type:String,required:!1,default:"0"},sync:{type:String,required:!1},class:{type:null,required:!1},ui:{type:Object,required:!1}},{modelValue:{type:String},modelModifiers:{}}),emits:["update:modelValue"],setup(p){const c=p,C=M(),s=q(p,"modelValue"),k=G(),r=z("prose.codeGroup",c),o=h(()=>x({extend:x(K),...k.ui?.prose?.codeGroup||{}})()),g=N(1),v=h(()=>(g.value,C.default?.()?.flatMap(b).filter(Boolean)||[]));function b(e,t){return typeof e.type=="symbol"?e.children?.map(b):{label:e.props?.filename||e.props?.label||`${t}`,icon:e.props?.icon,component:e}}return D(()=>{if(c.sync){const e=`code-group-${c.sync}`,t=U(e,()=>localStorage.getItem(e));y(t,()=>{t.value&&(s.value=t.value)},{immediate:!0}),y(s,()=>{s.value&&(t.value=s.value,localStorage.setItem(e,s.value))})}}),$(()=>g.value++),(e,t)=>(i(),d(a(w),{modelValue:s.value,"onUpdate:modelValue":t[0]||(t[0]=l=>s.value=l),"default-value":p.defaultValue,"unmount-on-hide":!1,class:n(o.value.root({class:[a(r)?.root,c.class]}))},{default:f(()=>[m(a(B),{class:n(o.value.list({class:a(r)?.list}))},{default:f(()=>[m(a(I),{class:n(o.value.indicator({class:a(r)?.indicator}))},null,8,["class"]),(i(!0),_(S,null,V(v.value,(l,u)=>(i(),d(a(T),{key:u,value:String(u),class:n(o.value.trigger({class:a(r)?.trigger}))},{default:f(()=>[m(E,{icon:l.icon,filename:l.label,class:n(o.value.triggerIcon({class:a(r)?.triggerIcon}))},null,8,["icon","filename","class"]),P("span",{class:n(o.value.triggerLabel({class:a(r)?.triggerLabel}))},j(l.label),3)]),_:2},1032,["value","class"]))),128))]),_:1},8,["class"]),(i(!0),_(S,null,V(v.value,(l,u)=>(i(),d(a(L),{key:u,value:String(u),"as-child":""},{default:f(()=>[(i(),d(A(l.component),{"hide-header":"",tabindex:"-1"}))]),_:2},1032,["value"]))),128))]),_:1},8,["modelValue","default-value","class"]))}};export{H as default}; diff --git a/assets/Sa-_S7_w.js b/assets/DklXDfzJ.js similarity index 53% rename from assets/Sa-_S7_w.js rename to assets/DklXDfzJ.js index 6f227e9..393e5fe 100644 --- a/assets/Sa-_S7_w.js +++ b/assets/DklXDfzJ.js @@ -1,7 +1,7 @@ -const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./DgfQJ90r.js","./DXTdElLG.js","./BuEXHZM4.js","./BN_7HF1G.js","./PGrg6JrO.js","./Ddi6dmKb.js","./CjzR56Xk.js","./B9iXeHun.js","./BMqJWTDa.js","./CL7wIhgG.js","./CkJ5KmX1.js","./BeE4c48p.js","./BB8f-fnx.js","./DBvuT6Rn.js","./rlQ8XdZv.js","./BLM-gHsq.js","./Dzv2jvA8.js","./CxnGnurX.js","./4geVMwKU.js","./Ca_2f93x.js","./BjGUPQBu.js","./oZ4tf5kN.js","./Ba9qITSN.js","./C8bC2vpE.js","./Dt_cdDua.js","./CZKfTBmy.js","./Bq3ieHZ5.js"])))=>i.map(i=>d[i]); +const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./Cs5chWOM.js","./BfoQBf7N.js","./BAInfj29.js","./BN_7HF1G.js","./BI9s2eu6.js","./ddqIpjjP.js","./CIUBNquS.js","./CTGtweTb.js","./DBhEayJC.js","./CZA_HeFn.js","./Dhwn1cVK.js","./j0jMKefp.js","./BI_2AZ0T.js","./BX3MvpYz.js","./Bfv0HSUf.js","./BO9r3vVu.js","./DIeN43BN.js","./ChKjD2N-.js","./ALU7qGuA.js","./CDEkn73i.js","./BbjXMA62.js","./Czx2Cs4p.js","./CXpIEjcs.js","./_ytc_FhA.js","./DWpnoitU.js","./CoFDp80G.js","./C4Bgkocn.js"])))=>i.map(i=>d[i]); (function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const u of document.querySelectorAll('link[rel="modulepreload"]'))o(u);new MutationObserver(u=>{for(const r of u)if(r.type==="childList")for(const a of r.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&o(a)}).observe(document,{childList:!0,subtree:!0});function n(u){const r={};return u.integrity&&(r.integrity=u.integrity),u.referrerPolicy&&(r.referrerPolicy=u.referrerPolicy),u.crossOrigin==="use-credentials"?r.credentials="include":u.crossOrigin==="anonymous"?r.credentials="omit":r.credentials="same-origin",r}function o(u){if(u.ep)return;u.ep=!0;const r=n(u);fetch(u.href,r)}})();function I0(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const We={},Yu=[],eo=()=>{},Vm=()=>!1,Sa=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Ti=e=>e.startsWith("onUpdate:"),bt=Object.assign,L0=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Qb=Object.prototype.hasOwnProperty,Je=(e,t)=>Qb.call(e,t),be=Array.isArray,Zu=e=>gr(e)==="[object Map]",zm=e=>gr(e)==="[object Set]",Sf=e=>gr(e)==="[object Date]",eE=e=>gr(e)==="[object RegExp]",we=e=>typeof e=="function",it=e=>typeof e=="string",Cn=e=>typeof e=="symbol",Ge=e=>e!==null&&typeof e=="object",q0=e=>(Ge(e)||we(e))&&we(e.then)&&we(e.catch),Um=Object.prototype.toString,gr=e=>Um.call(e),tE=e=>gr(e).slice(8,-1),$0=e=>gr(e)==="[object Object]",Fi=e=>it(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,gu=I0(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Pi=e=>{const t=Object.create(null);return(n=>t[n]||(t[n]=e(n)))},nE=/-\w/g,Mt=Pi(e=>e.replace(nE,t=>t.slice(1).toUpperCase())),oE=/\B([A-Z])/g,ko=Pi(e=>e.replace(oE,"-$1").toLowerCase()),Mi=Pi(e=>e.charAt(0).toUpperCase()+e.slice(1)),Zr=Pi(e=>e?`on${Mi(e)}`:""),It=(e,t)=>!Object.is(e,t),Xr=(e,...t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:o,value:n})},uE=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Km=e=>{const t=it(e)?Number(e):NaN;return isNaN(t)?e:t};let Tf;const Oi=()=>Tf||(Tf=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function xn(e){if(be(e)){const t={};for(let n=0;n{if(n){const o=n.split(aE);o.length>1&&(t[o[0].trim()]=o[1].trim())}}),t}function oe(e){let t="";if(it(e))t=e;else if(be(e))for(let n=0;n!!(e&&e.__v_isRef===!0),Me=e=>it(e)?e:e==null?"":be(e)||Ge(e)&&(e.toString===Um||!we(e.toString))?Gm(e)?Me(e.value):JSON.stringify(e,Ym,2):String(e),Ym=(e,t)=>Gm(t)?Ym(e,t.value):Zu(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[o,u],r)=>(n[ml(o,r)+" =>"]=u,n),{})}:zm(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>ml(n))}:Cn(t)?ml(t):Ge(t)&&!be(t)&&!$0(t)?String(t):t,ml=(e,t="")=>{var n;return Cn(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};let jt;class Zm{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.__v_skip=!0,this.parent=jt,!t&&jt&&(this.index=(jt.scopes||(jt.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t0&&--this._on===0&&(jt=this.prevScope,this.prevScope=void 0)}stop(t){if(this._active){this._active=!1;let n,o;for(n=0,o=this.effects.length;n0)return;if(Qr){let t=Qr;for(Qr=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;Jr;){let t=Jr;for(Jr=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(o){e||(e=o)}t=n}}if(e)throw e}function eg(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function tg(e){let t,n=e.depsTail,o=n;for(;o;){const u=o.prevDep;o.version===-1?(o===n&&(n=u),U0(o),fE(o)):t=o,o.dep.activeLink=o.prevActiveLink,o.prevActiveLink=void 0,o=u}e.deps=t,e.depsTail=n}function fc(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(ng(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function ng(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===ca)||(e.globalVersion=ca,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!fc(e))))return;e.flags|=2;const t=e.dep,n=rt,o=Rn;rt=e,Rn=!0;try{eg(e);const u=e.fn(e._value);(t.version===0||It(u,e._value))&&(e.flags|=128,e._value=u,t.version++)}catch(u){throw t.version++,u}finally{rt=n,Rn=o,tg(e),e.flags&=-3}}function U0(e,t=!1){const{dep:n,prevSub:o,nextSub:u}=e;if(o&&(o.nextSub=u,e.prevSub=void 0),u&&(u.prevSub=o,e.nextSub=void 0),n.subs===e&&(n.subs=o,!o&&n.computed)){n.computed.flags&=-5;for(let r=n.computed.deps;r;r=r.nextDep)U0(r,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function fE(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let Rn=!0;const og=[];function Eo(){og.push(Rn),Rn=!1}function Co(){const e=og.pop();Rn=e===void 0?!0:e}function Ff(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=rt;rt=void 0;try{t()}finally{rt=n}}}let ca=0;class pE{constructor(t,n){this.sub=t,this.dep=n,this.version=n.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class Ri{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0}track(t){if(!rt||!Rn||rt===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==rt)n=this.activeLink=new pE(rt,this),rt.deps?(n.prevDep=rt.depsTail,rt.depsTail.nextDep=n,rt.depsTail=n):rt.deps=rt.depsTail=n,ug(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const o=n.nextDep;o.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=o),n.prevDep=rt.depsTail,n.nextDep=void 0,rt.depsTail.nextDep=n,rt.depsTail=n,rt.deps===n&&(rt.deps=o)}return n}trigger(t){this.version++,ca++,this.notify(t)}notify(t){V0();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{z0()}}}function ug(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let o=t.deps;o;o=o.nextDep)ug(o)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const Us=new WeakMap,vu=Symbol(""),pc=Symbol(""),da=Symbol("");function Vt(e,t,n){if(Rn&&rt){let o=Us.get(e);o||Us.set(e,o=new Map);let u=o.get(n);u||(o.set(n,u=new Ri),u.map=o,u.key=n),u.track()}}function vo(e,t,n,o,u,r){const a=Us.get(e);if(!a){ca++;return}const s=i=>{i&&i.trigger()};if(V0(),t==="clear")a.forEach(s);else{const i=be(e),c=i&&Fi(n);if(i&&n==="length"){const l=Number(o);a.forEach((d,f)=>{(f==="length"||f===da||!Cn(f)&&f>=l)&&s(d)})}else switch((n!==void 0||a.has(void 0))&&s(a.get(n)),c&&s(a.get(da)),t){case"add":i?c&&s(a.get("length")):(s(a.get(vu)),Zu(e)&&s(a.get(pc)));break;case"delete":i||(s(a.get(vu)),Zu(e)&&s(a.get(pc)));break;case"set":Zu(e)&&s(a.get(vu));break}}z0()}function hE(e,t){const n=Us.get(e);return n&&n.get(t)}function qu(e){const t=Ne(e);return t===e?t:(Vt(t,"iterate",da),yn(e)?t:t.map(qn))}function Ii(e){return Vt(e=Ne(e),"iterate",da),e}function Zn(e,t){return uo(e)?or(Go(e)?qn(t):t):qn(t)}const mE={__proto__:null,[Symbol.iterator](){return vl(this,Symbol.iterator,e=>Zn(this,e))},concat(...e){return qu(this).concat(...e.map(t=>be(t)?qu(t):t))},entries(){return vl(this,"entries",e=>(e[1]=Zn(this,e[1]),e))},every(e,t){return lo(this,"every",e,t,void 0,arguments)},filter(e,t){return lo(this,"filter",e,t,n=>n.map(o=>Zn(this,o)),arguments)},find(e,t){return lo(this,"find",e,t,n=>Zn(this,n),arguments)},findIndex(e,t){return lo(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return lo(this,"findLast",e,t,n=>Zn(this,n),arguments)},findLastIndex(e,t){return lo(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return lo(this,"forEach",e,t,void 0,arguments)},includes(...e){return yl(this,"includes",e)},indexOf(...e){return yl(this,"indexOf",e)},join(e){return qu(this).join(e)},lastIndexOf(...e){return yl(this,"lastIndexOf",e)},map(e,t){return lo(this,"map",e,t,void 0,arguments)},pop(){return Mr(this,"pop")},push(...e){return Mr(this,"push",e)},reduce(e,...t){return Pf(this,"reduce",e,t)},reduceRight(e,...t){return Pf(this,"reduceRight",e,t)},shift(){return Mr(this,"shift")},some(e,t){return lo(this,"some",e,t,void 0,arguments)},splice(...e){return Mr(this,"splice",e)},toReversed(){return qu(this).toReversed()},toSorted(e){return qu(this).toSorted(e)},toSpliced(...e){return qu(this).toSpliced(...e)},unshift(...e){return Mr(this,"unshift",e)},values(){return vl(this,"values",e=>Zn(this,e))}};function vl(e,t,n){const o=Ii(e),u=o[t]();return o!==e&&!yn(e)&&(u._next=u.next,u.next=()=>{const r=u._next();return r.done||(r.value=n(r.value)),r}),u}const gE=Array.prototype;function lo(e,t,n,o,u,r){const a=Ii(e),s=a!==e&&!yn(e),i=a[t];if(i!==gE[t]){const d=i.apply(e,r);return s?qn(d):d}let c=n;a!==e&&(s?c=function(d,f){return n.call(this,Zn(e,d),f,e)}:n.length>2&&(c=function(d,f){return n.call(this,d,f,e)}));const l=i.call(a,c,o);return s&&u?u(l):l}function Pf(e,t,n,o){const u=Ii(e),r=u!==e&&!yn(e);let a=n,s=!1;u!==e&&(r?(s=o.length===0,a=function(c,l,d){return s&&(s=!1,c=Zn(e,c)),n.call(this,c,Zn(e,l),d,e)}):n.length>3&&(a=function(c,l,d){return n.call(this,c,l,d,e)}));const i=u[t](a,...o);return s?Zn(e,i):i}function yl(e,t,n){const o=Ne(e);Vt(o,"iterate",da);const u=o[t](...n);return(u===-1||u===!1)&&$i(n[0])?(n[0]=Ne(n[0]),o[t](...n)):u}function Mr(e,t,n=[]){Eo(),V0();const o=Ne(e)[t].apply(e,n);return z0(),Co(),o}const vE=I0("__proto__,__v_isRef,__isVue"),rg=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Cn));function yE(e){Cn(e)||(e=String(e));const t=Ne(this);return Vt(t,"has",e),t.hasOwnProperty(e)}class ag{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,o){if(n==="__v_skip")return t.__v_skip;const u=this._isReadonly,r=this._isShallow;if(n==="__v_isReactive")return!u;if(n==="__v_isReadonly")return u;if(n==="__v_isShallow")return r;if(n==="__v_raw")return o===(u?r?fg:dg:r?cg:lg).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(o)?t:void 0;const a=be(t);if(!u){let i;if(a&&(i=mE[n]))return i;if(n==="hasOwnProperty")return yE}const s=Reflect.get(t,n,nt(t)?t:o);if((Cn(n)?rg.has(n):vE(n))||(u||Vt(t,"get",n),r))return s;if(nt(s)){const i=a&&Fi(n)?s:s.value;return u&&Ge(i)?Ln(i):i}return Ge(s)?u?Ln(s):Tt(s):s}}class sg extends ag{constructor(t=!1){super(!1,t)}set(t,n,o,u){let r=t[n];const a=be(t)&&Fi(n);if(!this._isShallow){const c=uo(r);if(!yn(o)&&!uo(o)&&(r=Ne(r),o=Ne(o)),!a&&nt(r)&&!nt(o))return c||(r.value=o),!0}const s=a?Number(n)e,Xa=e=>Reflect.getPrototypeOf(e);function DE(e,t,n){return function(...o){const u=this.__v_raw,r=Ne(u),a=Zu(r),s=e==="entries"||e===Symbol.iterator&&a,i=e==="keys"&&a,c=u[e](...o),l=n?hc:t?or:qn;return!t&&Vt(r,"iterate",i?pc:vu),bt(Object.create(c),{next(){const{value:d,done:f}=c.next();return f?{value:d,done:f}:{value:s?[l(d[0]),l(d[1])]:l(d),done:f}}})}}function Ja(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function wE(e,t){const n={get(u){const r=this.__v_raw,a=Ne(r),s=Ne(u);e||(It(u,s)&&Vt(a,"get",u),Vt(a,"get",s));const{has:i}=Xa(a),c=t?hc:e?or:qn;if(i.call(a,u))return c(r.get(u));if(i.call(a,s))return c(r.get(s));r!==a&&r.get(u)},get size(){const u=this.__v_raw;return!e&&Vt(Ne(u),"iterate",vu),u.size},has(u){const r=this.__v_raw,a=Ne(r),s=Ne(u);return e||(It(u,s)&&Vt(a,"has",u),Vt(a,"has",s)),u===s?r.has(u):r.has(u)||r.has(s)},forEach(u,r){const a=this,s=a.__v_raw,i=Ne(s),c=t?hc:e?or:qn;return!e&&Vt(i,"iterate",vu),s.forEach((l,d)=>u.call(r,c(l),c(d),a))}};return bt(n,e?{add:Ja("add"),set:Ja("set"),delete:Ja("delete"),clear:Ja("clear")}:{add(u){const r=Ne(this),a=Xa(r),s=Ne(u),i=!t&&!yn(u)&&!uo(u)?s:u;return a.has.call(r,i)||It(u,i)&&a.has.call(r,u)||It(s,i)&&a.has.call(r,s)||(r.add(i),vo(r,"add",i,i)),this},set(u,r){!t&&!yn(r)&&!uo(r)&&(r=Ne(r));const a=Ne(this),{has:s,get:i}=Xa(a);let c=s.call(a,u);c||(u=Ne(u),c=s.call(a,u));const l=i.call(a,u);return a.set(u,r),c?It(r,l)&&vo(a,"set",u,r):vo(a,"add",u,r),this},delete(u){const r=Ne(this),{has:a,get:s}=Xa(r);let i=a.call(r,u);i||(u=Ne(u),i=a.call(r,u)),s&&s.call(r,u);const c=r.delete(u);return i&&vo(r,"delete",u,void 0),c},clear(){const u=Ne(this),r=u.size!==0,a=u.clear();return r&&vo(u,"clear",void 0,void 0),a}}),["keys","values","entries",Symbol.iterator].forEach(u=>{n[u]=DE(u,e,t)}),n}function Li(e,t){const n=wE(e,t);return(o,u,r)=>u==="__v_isReactive"?!e:u==="__v_isReadonly"?e:u==="__v_raw"?o:Reflect.get(Je(n,u)&&u in o?n:o,u,r)}const AE={get:Li(!1,!1)},BE={get:Li(!1,!0)},_E={get:Li(!0,!1)},kE={get:Li(!0,!0)},lg=new WeakMap,cg=new WeakMap,dg=new WeakMap,fg=new WeakMap;function SE(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function TE(e){return e.__v_skip||!Object.isExtensible(e)?0:SE(tE(e))}function Tt(e){return uo(e)?e:qi(e,!1,bE,AE,lg)}function Bn(e){return qi(e,!1,CE,BE,cg)}function Ln(e){return qi(e,!0,EE,_E,dg)}function lu(e){return qi(e,!0,xE,kE,fg)}function qi(e,t,n,o,u){if(!Ge(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const r=TE(e);if(r===0)return e;const a=u.get(e);if(a)return a;const s=new Proxy(e,r===2?o:n);return u.set(e,s),s}function Go(e){return uo(e)?Go(e.__v_raw):!!(e&&e.__v_isReactive)}function uo(e){return!!(e&&e.__v_isReadonly)}function yn(e){return!!(e&&e.__v_isShallow)}function $i(e){return e?!!e.__v_raw:!1}function Ne(e){const t=e&&e.__v_raw;return t?Ne(t):e}function H0(e){return!Je(e,"__v_skip")&&Object.isExtensible(e)&&Hm(e,"__v_skip",!0),e}const qn=e=>Ge(e)?Tt(e):e,or=e=>Ge(e)?Ln(e):e;function nt(e){return e?e.__v_isRef===!0:!1}function L(e){return pg(e,!1)}function $e(e){return pg(e,!0)}function pg(e,t){return nt(e)?e:new FE(e,t)}class FE{constructor(t,n){this.dep=new Ri,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:Ne(t),this._value=n?t:qn(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,o=this.__v_isShallow||yn(t)||uo(t);t=o?t:Ne(t),It(t,n)&&(this._rawValue=t,this._value=o?t:qn(t),this.dep.trigger())}}function PE(e){e.dep&&e.dep.trigger()}function h(e){return nt(e)?e.value:e}function Be(e){return we(e)?e():h(e)}const ME={get:(e,t,n)=>t==="__v_raw"?e:h(Reflect.get(e,t,n)),set:(e,t,n,o)=>{const u=e[t];return nt(u)&&!nt(n)?(u.value=n,!0):Reflect.set(e,t,n,o)}};function hg(e){return Go(e)?e:new Proxy(e,ME)}class OE{constructor(t){this.__v_isRef=!0,this._value=void 0;const n=this.dep=new Ri,{get:o,set:u}=t(n.track.bind(n),n.trigger.bind(n));this._get=o,this._set=u}get value(){return this._value=this._get()}set value(t){this._set(t)}}function Ta(e){return new OE(e)}function Ft(e){const t=be(e)?new Array(e.length):{};for(const n in e)t[n]=mg(e,n);return t}class RE{constructor(t,n,o){this._object=t,this._defaultValue=o,this.__v_isRef=!0,this._value=void 0,this._key=Cn(n)?n:String(n),this._raw=Ne(t);let u=!0,r=t;if(!be(t)||Cn(this._key)||!Fi(this._key))do u=!$i(r)||yn(r);while(u&&(r=r.__v_raw));this._shallow=u}get value(){let t=this._object[this._key];return this._shallow&&(t=h(t)),this._value=t===void 0?this._defaultValue:t}set value(t){if(this._shallow&&nt(this._raw[this._key])){const n=this._object[this._key];if(nt(n)){n.value=t;return}}this._object[this._key]=t}get dep(){return hE(this._raw,this._key)}}class IE{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}}function at(e,t,n){return nt(e)?e:we(e)?new IE(e):Ge(e)&&arguments.length>1?mg(e,t,n):L(e)}function mg(e,t,n){return new RE(e,t,n)}class LE{constructor(t,n,o){this.fn=t,this.setter=n,this._value=void 0,this.dep=new Ri(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=ca-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=o}notify(){if(this.flags|=16,!(this.flags&8)&&rt!==this)return Qm(this,!0),!0}get value(){const t=this.dep.track();return ng(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function qE(e,t,n=!1){let o,u;return we(e)?o=e:(o=e.get,u=e.set),new LE(o,u,n)}const Qa={},Hs=new WeakMap;let cu;function $E(e,t=!1,n=cu){if(n){let o=Hs.get(n);o||Hs.set(n,o=[]),o.push(e)}}function NE(e,t,n=We){const{immediate:o,deep:u,once:r,scheduler:a,augmentJob:s,call:i}=n,c=C=>u?C:yn(C)||u===!1||u===0?Uo(C,1):Uo(C);let l,d,f,p,m=!1,g=!1;if(nt(e)?(d=()=>e.value,m=yn(e)):Go(e)?(d=()=>c(e),m=!0):be(e)?(g=!0,m=e.some(C=>Go(C)||yn(C)),d=()=>e.map(C=>{if(nt(C))return C.value;if(Go(C))return c(C);if(we(C))return i?i(C,2):C()})):we(e)?t?d=i?()=>i(e,2):e:d=()=>{if(f){Eo();try{f()}finally{Co()}}const C=cu;cu=l;try{return i?i(e,3,[p]):e(p)}finally{cu=C}}:d=eo,t&&u){const C=d,x=u===!0?1/0:u;d=()=>Uo(C(),x)}const E=So(),b=()=>{l.stop(),E&&E.active&&L0(E.effects,l)};if(r&&t){const C=t;t=(...x)=>{C(...x),b()}}let y=g?new Array(e.length).fill(Qa):Qa;const v=C=>{if(!(!(l.flags&1)||!l.dirty&&!C))if(t){const x=l.run();if(u||m||(g?x.some((w,B)=>It(w,y[B])):It(x,y))){f&&f();const w=cu;cu=l;try{const B=[x,y===Qa?void 0:g&&y[0]===Qa?[]:y,p];y=x,i?i(t,3,B):t(...B)}finally{cu=w}}}else l.run()};return s&&s(v),l=new Xm(d),l.scheduler=a?()=>a(v,!1):v,p=C=>$E(C,!1,l),f=l.onStop=()=>{const C=Hs.get(l);if(C){if(i)i(C,4);else for(const x of C)x();Hs.delete(l)}},t?o?v(!0):y=l.run():a?a(v.bind(null,!0),!0):l.run(),b.pause=l.pause.bind(l),b.resume=l.resume.bind(l),b.stop=b,b}function Uo(e,t=1/0,n){if(t<=0||!Ge(e)||e.__v_skip||(n=n||new Map,(n.get(e)||0)>=t))return e;if(n.set(e,t),t--,nt(e))Uo(e.value,t,n);else if(be(e))for(let o=0;o{Uo(o,t,n)});else if($0(e)){for(const o in e)Uo(e[o],t,n);for(const o of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,o)&&Uo(e[o],t,n)}return e}function Fa(e,t,n,o){try{return o?e(...o):e()}catch(u){vr(u,t,n)}}function $n(e,t,n,o){if(we(e)){const u=Fa(e,t,n,o);return u&&q0(u)&&u.catch(r=>{vr(r,t,n)}),u}if(be(e)){const u=[];for(let r=0;r>>1,u=Yt[o],r=pa(u);r=pa(n)?Yt.push(e):Yt.splice(VE(t),0,e),e.flags|=1,vg()}}function vg(){Ks||(Ks=gg.then(yg))}function fa(e){be(e)?Xu.push(...e):Vo&&e.id===-1?Vo.splice(ju+1,0,e):e.flags&1||(Xu.push(e),e.flags|=1),vg()}function Mf(e,t,n=Wn+1){for(;npa(n)-pa(o));if(Xu.length=0,Vo){Vo.push(...t);return}for(Vo=t,ju=0;jue.id==null?e.flags&2?-1:1/0:e.id;function yg(e){try{for(Wn=0;Wn{o._d&&Qs(-1);const r=Gs(t);let a;try{a=e(...u)}finally{Gs(r),o._d&&Qs(1)}return a};return o._n=!0,o._c=!0,o._d=!0,o}function Gn(e,t,n,o){const u=e.dirs,r=t&&t.dirs;for(let a=0;a1)return n&&we(t)?t.call(o&&o.proxy):t}}function yr(){return!!(et()||yu)}const zE=Symbol.for("v-scx"),UE=()=>Ve(zE);function mt(e,t){return Pa(e,null,t)}function Eg(e,t){return Pa(e,null,{flush:"post"})}function Cg(e,t){return Pa(e,null,{flush:"sync"})}function Ce(e,t,n){return Pa(e,t,n)}function Pa(e,t,n=We){const{immediate:o,deep:u,flush:r,once:a}=n,s=bt({},n),i=t&&o||!t&&r!=="post";let c;if(Au){if(r==="sync"){const p=UE();c=p.__watcherHandles||(p.__watcherHandles=[])}else if(!i){const p=()=>{};return p.stop=eo,p.resume=eo,p.pause=eo,p}}const l=Lt;s.call=(p,m,g)=>$n(p,l,m,g);let d=!1;r==="post"?s.scheduler=p=>{yt(p,l&&l.suspense)}:r!=="sync"&&(d=!0,s.scheduler=(p,m)=>{m?p():K0(p)}),s.augmentJob=p=>{t&&(p.flags|=4),d&&(p.flags|=2,l&&(p.id=l.uid,p.i=l))};const f=NE(e,t,s);return Au&&(c?c.push(f):i&&f()),f}function HE(e,t,n){const o=this.proxy,u=it(e)?e.includes(".")?xg(o,e):()=>o[e]:e.bind(o,o);let r;we(t)?r=t:(r=t.handler,n=t);const a=Er(this),s=Pa(u,r.bind(o),n);return a(),s}function xg(e,t){const n=t.split(".");return()=>{let o=e;for(let u=0;ue.__isTeleport,ea=e=>e&&(e.disabled||e.disabled===""),KE=e=>e&&(e.defer||e.defer===""),Of=e=>typeof SVGElement<"u"&&e instanceof SVGElement,Rf=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,mc=(e,t)=>{const n=e&&e.to;return it(n)?t?t(n):null:n},Ag={name:"Teleport",__isTeleport:!0,process(e,t,n,o,u,r,a,s,i,c){const{mc:l,pc:d,pbc:f,o:{insert:p,querySelector:m,createText:g,createComment:E}}=c,b=ea(t.props);let{shapeFlag:y,children:v,dynamicChildren:C}=t;if(e==null){const x=t.el=g(""),w=t.anchor=g("");p(x,n,o),p(w,n,o);const B=(F,R)=>{y&16&&l(v,F,R,u,r,a,s,i)},_=()=>{const F=t.target=mc(t.props,m),R=gc(F,t,g,p);F&&(a!=="svg"&&Of(F)?a="svg":a!=="mathml"&&Rf(F)&&(a="mathml"),u&&u.isCE&&(u.ce._teleportTargets||(u.ce._teleportTargets=new Set)).add(F),b||(B(F,R),Fs(t,!1)))};b&&(B(n,w),Fs(t,!0)),KE(t.props)||r&&r.pendingBranch?(t.el.__isMounted=!1,yt(()=>{t.el.__isMounted===!1&&(_(),delete t.el.__isMounted)},r)):_()}else{t.el=e.el,t.targetStart=e.targetStart;const x=t.anchor=e.anchor,w=t.target=e.target,B=t.targetAnchor=e.targetAnchor;if(e.el.__isMounted===!1){yt(()=>{Ag.process(e,t,n,o,u,r,a,s,i,c)},r);return}const _=ea(e.props),F=_?n:w,R=_?x:B;if(a==="svg"||Of(w)?a="svg":(a==="mathml"||Rf(w))&&(a="mathml"),C?(f(e.dynamicChildren,C,F,u,r,a,s),X0(e,t,!0)):i||d(e,t,F,R,u,r,a,s,!1),b)_?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):es(t,n,x,c,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const Z=t.target=mc(t.props,m);Z&&es(t,Z,null,c,0)}else _&&es(t,w,B,c,1);Fs(t,b)}},remove(e,t,n,{um:o,o:{remove:u}},r){const{shapeFlag:a,children:s,anchor:i,targetStart:c,targetAnchor:l,target:d,props:f}=e;if(d&&(u(c),u(l)),r&&u(i),a&16){const p=r||!ea(f);for(let m=0;m{e.isMounted=!0}),Fo(()=>{e.isUnmounting=!0}),e}const wn=[Function,Array],kg={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:wn,onEnter:wn,onAfterEnter:wn,onEnterCancelled:wn,onBeforeLeave:wn,onLeave:wn,onAfterLeave:wn,onLeaveCancelled:wn,onBeforeAppear:wn,onAppear:wn,onAfterAppear:wn,onAppearCancelled:wn},Sg=e=>{const t=e.subTree;return t.component?Sg(t.component):t},GE={name:"BaseTransition",props:kg,setup(e,{slots:t}){const n=et(),o=_g();return()=>{const u=t.default&&W0(t.default(),!0);if(!u||!u.length)return;const r=Tg(u),a=Ne(e),{mode:s}=a;if(o.isLeaving)return bl(r);const i=If(r);if(!i)return bl(r);let c=ha(i,a,o,n,d=>c=d);i.type!==vt&&Zo(i,c);let l=n.subTree&&If(n.subTree);if(l&&l.type!==vt&&!On(l,i)&&Sg(n).type!==vt){let d=ha(l,a,o,n);if(Zo(l,d),s==="out-in"&&i.type!==vt)return o.isLeaving=!0,d.afterLeave=()=>{o.isLeaving=!1,n.job.flags&8||n.update(),delete d.afterLeave,l=void 0},bl(r);s==="in-out"&&i.type!==vt?d.delayLeave=(f,p,m)=>{const g=Fg(o,l);g[String(l.key)]=l,f[Yn]=()=>{p(),f[Yn]=void 0,delete c.delayedLeave,l=void 0},c.delayedLeave=()=>{m(),delete c.delayedLeave,l=void 0}}:l=void 0}else l&&(l=void 0);return r}}};function Tg(e){let t=e[0];if(e.length>1){for(const n of e)if(n.type!==vt){t=n;break}}return t}const YE=GE;function Fg(e,t){const{leavingVNodes:n}=e;let o=n.get(t.type);return o||(o=Object.create(null),n.set(t.type,o)),o}function ha(e,t,n,o,u){const{appear:r,mode:a,persisted:s=!1,onBeforeEnter:i,onEnter:c,onAfterEnter:l,onEnterCancelled:d,onBeforeLeave:f,onLeave:p,onAfterLeave:m,onLeaveCancelled:g,onBeforeAppear:E,onAppear:b,onAfterAppear:y,onAppearCancelled:v}=t,C=String(e.key),x=Fg(n,e),w=(F,R)=>{F&&$n(F,o,9,R)},B=(F,R)=>{const Z=R[1];w(F,R),be(F)?F.every(q=>q.length<=1)&&Z():F.length<=1&&Z()},_={mode:a,persisted:s,beforeEnter(F){let R=i;if(!n.isMounted)if(r)R=E||i;else return;F[Yn]&&F[Yn](!0);const Z=x[C];Z&&On(e,Z)&&Z.el[Yn]&&Z.el[Yn](),w(R,[F])},enter(F){if(x[C]===e)return;let R=c,Z=l,q=d;if(!n.isMounted)if(r)R=b||c,Z=y||l,q=v||d;else return;let Q=!1;F[Or]=I=>{Q||(Q=!0,I?w(q,[F]):w(Z,[F]),_.delayedLeave&&_.delayedLeave(),F[Or]=void 0)};const X=F[Or].bind(null,!1);R?B(R,[F,X]):X()},leave(F,R){const Z=String(e.key);if(F[Or]&&F[Or](!0),n.isUnmounting)return R();w(f,[F]);let q=!1;F[Yn]=X=>{q||(q=!0,R(),X?w(g,[F]):w(m,[F]),F[Yn]=void 0,x[Z]===e&&delete x[Z])};const Q=F[Yn].bind(null,!1);x[Z]=e,p?B(p,[F,Q]):Q()},clone(F){const R=ha(F,t,n,o,u);return u&&u(R),R}};return _}function bl(e){if(Ma(e))return e=Sn(e),e.children=null,e}function If(e){if(!Ma(e))return wg(e.type)&&e.children?Tg(e.children):e;if(e.component)return e.component.subTree;const{shapeFlag:t,children:n}=e;if(n){if(t&16)return n[0];if(t&32&&we(n.default))return n.default()}}function Zo(e,t){e.shapeFlag&6&&e.component?(e.transition=t,Zo(e.component.subTree,t)):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function W0(e,t=!1,n){let o=[],u=0;for(let r=0;r1)for(let r=0;rn.value,set:r=>n.value=r})}return n}function Lf(e,t){let n;return!!((n=Object.getOwnPropertyDescriptor(e,t))&&!n.configurable)}const Ys=new WeakMap;function Ju(e,t,n,o,u=!1){if(be(e)){e.forEach((g,E)=>Ju(g,t&&(be(t)?t[E]:t),n,o,u));return}if(bo(o)&&!u){o.shapeFlag&512&&o.type.__asyncResolved&&o.component.subTree.component&&Ju(e,t,n,o.component.subTree);return}const r=o.shapeFlag&4?ed(o.component):o.el,a=u?null:r,{i:s,r:i}=e,c=t&&t.r,l=s.refs===We?s.refs={}:s.refs,d=s.setupState,f=Ne(d),p=d===We?Vm:g=>Lf(l,g)?!1:Je(f,g),m=(g,E)=>!(E&&Lf(l,E));if(c!=null&&c!==i){if(qf(t),it(c))l[c]=null,p(c)&&(d[c]=null);else if(nt(c)){const g=t;m(c,g.k)&&(c.value=null),g.k&&(l[g.k]=null)}}if(we(i))Fa(i,s,12,[a,l]);else{const g=it(i),E=nt(i);if(g||E){const b=()=>{if(e.f){const y=g?p(i)?d[i]:l[i]:m()||!e.k?i.value:l[e.k];if(u)be(y)&&L0(y,r);else if(be(y))y.includes(r)||y.push(r);else if(g)l[i]=[r],p(i)&&(d[i]=l[i]);else{const v=[r];m(i,e.k)&&(i.value=v),e.k&&(l[e.k]=v)}}else g?(l[i]=a,p(i)&&(d[i]=a)):E&&(m(i,e.k)&&(i.value=a),e.k&&(l[e.k]=a))};if(a){const y=()=>{b(),Ys.delete(e)};y.id=-1,Ys.set(e,y),yt(y,n)}else qf(e),b()}}}function qf(e){const t=Ys.get(e);t&&(t.flags|=8,Ys.delete(e))}let $f=!1;const $u=()=>{$f||(console.error("Hydration completed but contains mismatches."),$f=!0)},XE=e=>e.namespaceURI.includes("svg")&&e.tagName!=="foreignObject",JE=e=>e.namespaceURI.includes("MathML"),ts=e=>{if(e.nodeType===1){if(XE(e))return"svg";if(JE(e))return"mathml"}},Hu=e=>e.nodeType===8;function QE(e){const{mt:t,p:n,o:{patchProp:o,createText:u,nextSibling:r,parentNode:a,remove:s,insert:i,createComment:c}}=e,l=(v,C)=>{if(!C.hasChildNodes()){n(null,v,C),Ws(),C._vnode=v;return}d(C.firstChild,v,null,null,null),Ws(),C._vnode=v},d=(v,C,x,w,B,_=!1)=>{_=_||!!C.dynamicChildren;const F=Hu(v)&&v.data==="[",R=()=>g(v,C,x,w,B,F),{type:Z,ref:q,shapeFlag:Q,patchFlag:X}=C;let I=v.nodeType;C.el=v,X===-2&&(_=!1,C.dynamicChildren=null);let O=null;switch(Z){case bu:I!==3?C.children===""?(i(C.el=u(""),a(v),v),O=v):O=R():(v.data!==C.children&&($u(),v.data=C.children),O=r(v));break;case vt:y(v)?(O=r(v),b(C.el=v.content.firstChild,v,x)):I!==8||F?O=R():O=r(v);break;case Ps:if(F&&(v=r(v),I=v.nodeType),I===1||I===3){O=v;const H=!C.children.length;for(let V=0;V{_=_||!!C.dynamicChildren;const{type:F,props:R,patchFlag:Z,shapeFlag:q,dirs:Q,transition:X}=C,I=F==="input"||F==="option";if(I||Z!==-1){Q&&Gn(C,null,x,"created");let O=!1;if(y(v)){O=c3(null,X)&&x&&x.vnode.props&&x.vnode.props.appear;const V=v.content.firstChild;if(O){const fe=V.getAttribute("class");fe&&(V.$cls=fe),X.beforeEnter(V)}b(V,v,x),C.el=v=V}if(q&16&&!(R&&(R.innerHTML||R.textContent))){let V=p(v.firstChild,C,v,x,w,B,_);for(;V;){ns(v,1)||$u();const fe=V;V=V.nextSibling,s(fe)}}else if(q&8){let V=C.children;V[0]===` `&&(v.tagName==="PRE"||v.tagName==="TEXTAREA")&&(V=V.slice(1));const{textContent:fe}=v;fe!==V&&fe!==V.replace(/\r\n|\r/g,` -`)&&(ns(v,0)||$u(),v.textContent=C.children)}if(R){if(I||!_||Z&48){const V=v.tagName.includes("-");for(const fe in R)(I&&(fe.endsWith("value")||fe==="indeterminate")||Sa(fe)&&!gu(fe)||fe[0]==="."||V&&!gu(fe))&&o(v,fe,null,R[fe],void 0,x)}else if(R.onClick)o(v,"onClick",null,R.onClick,void 0,x);else if(Z&4&&Go(R.style))for(const V in R.style)R.style[V]}let H;(H=R&&R.onVnodeBeforeMount)&&sn(H,x,C),Q&&Gn(C,null,x,"beforeMount"),((H=R&&R.onVnodeMounted)||Q||O)&&h3(()=>{H&&sn(H,x,C),O&&X.enter(v),Q&&Gn(C,null,x,"mounted")},w)}return v.nextSibling},p=(v,C,x,w,B,_,F)=>{F=F||!!C.dynamicChildren;const R=C.children,Z=R.length;for(let q=0;q{const{slotScopeIds:F}=C;F&&(B=B?B.concat(F):F);const R=a(v),Z=p(r(v),C,R,x,w,B,_);return Z&&Hu(Z)&&Z.data==="]"?r(C.anchor=Z):($u(),i(C.anchor=c("]"),R,Z),Z)},g=(v,C,x,w,B,_)=>{if(ns(v.parentElement,1)||$u(),C.el=null,_){const Z=E(v);for(;;){const q=r(v);if(q&&q!==Z)s(q);else break}}const F=r(v),R=a(v);return s(v),n(null,C,R,F,x,w,ts(R),B),x&&(x.vnode.el=C.el,zi(x,C.el)),F},E=(v,C="[",x="]")=>{let w=0;for(;v;)if(v=r(v),v&&Hu(v)&&(v.data===C&&w++,v.data===x)){if(w===0)return r(v);w--}return v},b=(v,C,x)=>{const w=C.parentNode;w&&w.replaceChild(v,C);let B=x;for(;B;)B.vnode.el===C&&(B.vnode.el=B.subTree.el=v),B=B.parent},y=v=>v.nodeType===1&&v.tagName==="TEMPLATE";return[l,d]}const Nf="data-allow-mismatch",e2={0:"text",1:"children",2:"class",3:"style",4:"attribute"};function ns(e,t){if(t===0||t===1)for(;e&&!e.hasAttribute(Nf);)e=e.parentElement;const n=e&&e.getAttribute(Nf);if(n==null)return!1;if(n==="")return!0;{const o=n.split(",");return t===0&&o.includes("children")?!0:o.includes(e2[t])}}Oi().requestIdleCallback;Oi().cancelIdleCallback;function t2(e,t){if(Hu(e)&&e.data==="["){let n=1,o=e.nextSibling;for(;o;){if(o.nodeType===1){if(t(o)===!1)break}else if(Hu(o))if(o.data==="]"){if(--n===0)break}else o.data==="["&&n++;o=o.nextSibling}}else t(e)}const bo=e=>!!e.type.__asyncLoader;function Ee(e){we(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:o,delay:u=200,hydrate:r,timeout:a,suspensible:s=!0,onError:i}=e;let c=null,l,d=0;const f=()=>(d++,c=null,p()),p=()=>{let m;return c||(m=c=t().catch(g=>{if(g=g instanceof Error?g:new Error(String(g)),i)return new Promise((E,b)=>{i(g,()=>E(f()),()=>b(g),d+1)});throw g}).then(g=>m!==c&&c?c:(g&&(g.__esModule||g[Symbol.toStringTag]==="Module")&&(g=g.default),l=g,g)))};return N({name:"AsyncComponentWrapper",__asyncLoader:p,__asyncHydrate(m,g,E){let b=!1;(g.bu||(g.bu=[])).push(()=>b=!0);const y=()=>{b||E()},v=r?()=>{const C=r(y,x=>t2(m,x));C&&(g.bum||(g.bum=[])).push(C)}:y;l?v():p().then(()=>!g.isUnmounted&&v())},get __asyncResolved(){return l},setup(){const m=Lt;if(G0(m),l)return()=>os(l,m);const g=v=>{c=null,vr(v,m,13,!o)};if(s&&m.suspense||Au)return p().then(v=>()=>os(v,m)).catch(v=>(g(v),()=>o?z(o,{error:v}):null));const E=L(!1),b=L(),y=L(!!u);return u&&setTimeout(()=>{y.value=!1},u),a!=null&&setTimeout(()=>{if(!E.value&&!b.value){const v=new Error(`Async component timed out after ${a}ms.`);g(v),b.value=v}},a),p().then(()=>{E.value=!0,m.parent&&Ma(m.parent.vnode)&&m.parent.update()}).catch(v=>{g(v),b.value=v}),()=>{if(E.value&&l)return os(l,m);if(b.value&&o)return z(o,{error:b.value});if(n&&!y.value)return os(n,m)}}})}function os(e,t){const{ref:n,props:o,children:u,ce:r}=t.vnode,a=z(e,o,u);return a.ref=n,a.ce=r,delete t.vnode.ce,a}const Ma=e=>e.type.__isKeepAlive,n2={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=et(),o=n.ctx;if(!o.renderer)return()=>{const y=t.default&&t.default();return y&&y.length===1?y[0]:y};const u=new Map,r=new Set;let a=null;const s=n.suspense,{renderer:{p:i,m:c,um:l,o:{createElement:d}}}=o,f=d("div");o.activate=(y,v,C,x,w)=>{const B=y.component;c(y,v,C,0,s),i(B.vnode,y,v,C,B,s,x,y.slotScopeIds,w),yt(()=>{B.isDeactivated=!1,B.a&&Xr(B.a);const _=y.props&&y.props.onVnodeMounted;_&&sn(_,B.parent,y)},s)},o.deactivate=y=>{const v=y.component;Xs(v.m),Xs(v.a),c(y,f,null,1,s),yt(()=>{v.da&&Xr(v.da);const C=y.props&&y.props.onVnodeUnmounted;C&&sn(C,v.parent,y),v.isDeactivated=!0},s)};function p(y){El(y),l(y,n,s,!0)}function m(y){u.forEach((v,C)=>{const x=Dc(bo(v)?v.type.__asyncResolved||{}:v.type);x&&!y(x)&&g(C)})}function g(y){const v=u.get(y);v&&(!a||!On(v,a))?p(v):a&&El(a),u.delete(y),r.delete(y)}Ce(()=>[e.include,e.exclude],([y,v])=>{y&&m(C=>Hr(y,C)),v&&m(C=>!Hr(v,C))},{flush:"post",deep:!0});let E=null;const b=()=>{E!=null&&(Js(n.subTree.type)?yt(()=>{u.set(E,us(n.subTree))},n.subTree.suspense):u.set(E,us(n.subTree)))};return je(b),br(b),Fo(()=>{u.forEach(y=>{const{subTree:v,suspense:C}=n,x=us(v);if(y.type===x.type&&y.key===x.key){El(x);const w=x.component.da;w&&yt(w,C);return}p(y)})}),()=>{if(E=null,!t.default)return a=null;const y=t.default(),v=y[0];if(y.length>1)return a=null,y;if(!wu(v)||!(v.shapeFlag&4)&&!(v.shapeFlag&128))return a=null,v;let C=us(v);if(C.type===vt)return a=null,C;const x=C.type,w=Dc(bo(C)?C.type.__asyncResolved||{}:x),{include:B,exclude:_,max:F}=e;if(B&&(!w||!Hr(B,w))||_&&w&&Hr(_,w))return C.shapeFlag&=-257,a=C,v;const R=C.key==null?x:C.key,Z=u.get(R);return C.el&&(C=Sn(C),v.shapeFlag&128&&(v.ssContent=C)),E=R,Z?(C.el=Z.el,C.component=Z.component,C.transition&&Zo(C,C.transition),C.shapeFlag|=512,r.delete(R),r.add(R)):(r.add(R),F&&r.size>parseInt(F,10)&&g(r.values().next().value)),C.shapeFlag|=256,a=C,Js(v.type)?v:C}}},o2=n2;function Hr(e,t){return be(e)?e.some(n=>Hr(n,t)):it(e)?e.split(",").includes(t):eE(e)?(e.lastIndex=0,e.test(t)):!1}function Mg(e,t){Rg(e,"a",t)}function Og(e,t){Rg(e,"da",t)}function Rg(e,t,n=Lt){const o=e.__wdc||(e.__wdc=()=>{let u=n;for(;u;){if(u.isDeactivated)return;u=u.parent}return e()});if(Ni(t,o,n),n){let u=n.parent;for(;u&&u.parent;)Ma(u.parent.vnode)&&u2(o,t,n,u),u=u.parent}}function u2(e,t,n,o){const u=Ni(t,e,o,!0);en(()=>{L0(o[t],u)},n)}function El(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function us(e){return e.shapeFlag&128?e.ssContent:e}function Ni(e,t,n=Lt,o=!1){if(n){const u=n[e]||(n[e]=[]),r=t.__weh||(t.__weh=(...a)=>{Eo();const s=Er(n),i=$n(t,n,e,a);return s(),Co(),i});return o?u.unshift(r):u.push(r),r}}const To=e=>(t,n=Lt)=>{(!Au||e==="sp")&&Ni(e,(...o)=>t(...o),n)},ji=To("bm"),je=To("m"),Ig=To("bu"),br=To("u"),Fo=To("bum"),en=To("um"),r2=To("sp"),a2=To("rtg"),s2=To("rtc");function Lg(e,t=Lt){Ni("ec",e,t)}const qg="components";function jf(e,t){return Ng(qg,e,!0,t)||e}const $g=Symbol.for("v-ndc");function ln(e){return it(e)?Ng(qg,e,!1)||e:e||$g}function Ng(e,t,n=!0,o=!1){const u=Zt||Lt;if(u){const r=u.type;{const s=Dc(r,!1);if(s&&(s===t||s===Mt(t)||s===Mi(Mt(t))))return r}const a=Vf(u[e]||r[e],t)||Vf(u.appContext[e],t);return!a&&o?r:a}}function Vf(e,t){return e&&(e[t]||e[Mt(t)]||e[Mi(Mt(t))])}function dn(e,t,n,o){let u;const r=n,a=be(e);if(a||it(e)){const s=a&&Go(e);let i=!1,c=!1;s&&(i=!yn(e),c=uo(e),e=Ii(e)),u=new Array(e.length);for(let l=0,d=e.length;lt(s,i,void 0,r));else{const s=Object.keys(e);u=new Array(s.length);for(let i=0,c=s.length;i{const r=o.fn(...u);return r&&(r.key=o.key),r}:o.fn)}return e}function M(e,t,n={},o,u){if(Zt.ce||Zt.parent&&bo(Zt.parent)&&Zt.parent.ce){const c=Object.keys(n).length>0;return t!=="default"&&(n.name=t),D(),T(Se,null,[z("slot",n,o&&o())],c?-2:64)}let r=e[t];r&&r._c&&(r._d=!1),D();const a=r&&Vg(r(n)),s=n.key||a&&a.key,i=T(Se,{key:(s&&!Cn(s)?s:`_${t}`)+(!a&&o?"_fb":"")},a||(o?o():[]),a&&e._===1?64:-2);return!u&&i.scopeId&&(i.slotScopeIds=[i.scopeId+"-s"]),r&&r._c&&(r._d=!0),i}function Vg(e){return e.some(t=>wu(t)?!(t.type===vt||t.type===Se&&!Vg(t.children)):!0)?e:null}function Oa(e,t){const n={};for(const o in e)n[Zr(o)]=e[o];return n}const vc=e=>e?y3(e)?ed(e):vc(e.parent):null,ta=bt(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>vc(e.parent),$root:e=>vc(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>Yg(e),$forceUpdate:e=>e.f||(e.f=()=>{K0(e.update)}),$nextTick:e=>e.n||(e.n=He.bind(e.proxy)),$watch:e=>HE.bind(e)}),Cl=(e,t)=>e!==We&&!e.__isScriptSetup&&Je(e,t),i2={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:o,data:u,props:r,accessCache:a,type:s,appContext:i}=e;if(t[0]!=="$"){const f=a[t];if(f!==void 0)switch(f){case 1:return o[t];case 2:return u[t];case 4:return n[t];case 3:return r[t]}else{if(Cl(o,t))return a[t]=1,o[t];if(u!==We&&Je(u,t))return a[t]=2,u[t];if(Je(r,t))return a[t]=3,r[t];if(n!==We&&Je(n,t))return a[t]=4,n[t];yc&&(a[t]=0)}}const c=ta[t];let l,d;if(c)return t==="$attrs"&&Vt(e.attrs,"get",""),c(e);if((l=s.__cssModules)&&(l=l[t]))return l;if(n!==We&&Je(n,t))return a[t]=4,n[t];if(d=i.config.globalProperties,Je(d,t))return d[t]},set({_:e},t,n){const{data:o,setupState:u,ctx:r}=e;return Cl(u,t)?(u[t]=n,!0):o!==We&&Je(o,t)?(o[t]=n,!0):Je(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(r[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:o,appContext:u,props:r,type:a}},s){let i;return!!(n[s]||e!==We&&s[0]!=="$"&&Je(e,s)||Cl(t,s)||Je(r,s)||Je(o,s)||Je(ta,s)||Je(u.config.globalProperties,s)||(i=a.__cssModules)&&i[s])},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:Je(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function Ht(){return Ug().slots}function zg(){return Ug().attrs}function Ug(e){const t=et();return t.setupContext||(t.setupContext=E3(t))}function ma(e){return be(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}function Hg(e,t){const n=ma(e);for(const o in t){if(o.startsWith("__skip"))continue;let u=n[o];u?be(u)||we(u)?u=n[o]={type:u,default:t[o]}:u.default=t[o]:u===null&&(u=n[o]={default:t[o]}),u&&t[`__skip_${o}`]&&(u.skipFactory=!0)}return n}function Kg(e,t){return!e||!t?e||t:be(e)&&be(t)?e.concat(t):bt({},ma(e),ma(t))}function Wg(e){const t=et(),n=Au;let o=e();ti(),n&&er(!1);const u=()=>{Er(t),n&&er(!0)},r=()=>{et()!==t&&t.scope.off(),ti(),n&&er(!1)};return q0(o)&&(o=o.catch(a=>{throw u(),Promise.resolve().then(()=>Promise.resolve().then(r)),a})),[o,()=>{u(),Promise.resolve().then(r)}]}let yc=!0;function l2(e){const t=Yg(e),n=e.proxy,o=e.ctx;yc=!1,t.beforeCreate&&zf(t.beforeCreate,e,"bc");const{data:u,computed:r,methods:a,watch:s,provide:i,inject:c,created:l,beforeMount:d,mounted:f,beforeUpdate:p,updated:m,activated:g,deactivated:E,beforeDestroy:b,beforeUnmount:y,destroyed:v,unmounted:C,render:x,renderTracked:w,renderTriggered:B,errorCaptured:_,serverPrefetch:F,expose:R,inheritAttrs:Z,components:q,directives:Q,filters:X}=t;if(c&&c2(c,o,null),a)for(const H in a){const V=a[H];we(V)&&(o[H]=V.bind(n))}if(u){const H=u.call(n,n);Ge(H)&&(e.data=Tt(H))}if(yc=!0,r)for(const H in r){const V=r[H],fe=we(V)?V.bind(n,n):we(V.get)?V.get.bind(n,n):eo,se=!we(V)&&we(V.set)?V.set.bind(n):eo,Ke=S({get:fe,set:se});Object.defineProperty(o,H,{enumerable:!0,configurable:!0,get:()=>Ke.value,set:Re=>Ke.value=Re})}if(s)for(const H in s)Gg(s[H],o,n,H);if(i){const H=we(i)?i.call(n):i;Reflect.ownKeys(H).forEach(V=>{St(V,H[V])})}l&&zf(l,e,"c");function O(H,V){be(V)?V.forEach(fe=>H(fe.bind(n))):V&&H(V.bind(n))}if(O(ji,d),O(je,f),O(Ig,p),O(br,m),O(Mg,g),O(Og,E),O(Lg,_),O(s2,w),O(a2,B),O(Fo,y),O(en,C),O(r2,F),be(R))if(R.length){const H=e.exposed||(e.exposed={});R.forEach(V=>{Object.defineProperty(H,V,{get:()=>n[V],set:fe=>n[V]=fe,enumerable:!0})})}else e.exposed||(e.exposed={});x&&e.render===eo&&(e.render=x),Z!=null&&(e.inheritAttrs=Z),q&&(e.components=q),Q&&(e.directives=Q),F&&G0(e)}function c2(e,t,n=eo){be(e)&&(e=bc(e));for(const o in e){const u=e[o];let r;Ge(u)?"default"in u?r=Ve(u.from||o,u.default,!0):r=Ve(u.from||o):r=Ve(u),nt(r)?Object.defineProperty(t,o,{enumerable:!0,configurable:!0,get:()=>r.value,set:a=>r.value=a}):t[o]=r}}function zf(e,t,n){$n(be(e)?e.map(o=>o.bind(t.proxy)):e.bind(t.proxy),t,n)}function Gg(e,t,n,o){let u=o.includes(".")?xg(n,o):()=>n[o];if(it(e)){const r=t[e];we(r)&&Ce(u,r)}else if(we(e))Ce(u,e.bind(n));else if(Ge(e))if(be(e))e.forEach(r=>Gg(r,t,n,o));else{const r=we(e.handler)?e.handler.bind(n):t[e.handler];we(r)&&Ce(u,r,e)}}function Yg(e){const t=e.type,{mixins:n,extends:o}=t,{mixins:u,optionsCache:r,config:{optionMergeStrategies:a}}=e.appContext,s=r.get(t);let i;return s?i=s:!u.length&&!n&&!o?i=t:(i={},u.length&&u.forEach(c=>Zs(i,c,a,!0)),Zs(i,t,a)),Ge(t)&&r.set(t,i),i}function Zs(e,t,n,o=!1){const{mixins:u,extends:r}=t;r&&Zs(e,r,n,!0),u&&u.forEach(a=>Zs(e,a,n,!0));for(const a in t)if(!(o&&a==="expose")){const s=d2[a]||n&&n[a];e[a]=s?s(e[a],t[a]):t[a]}return e}const d2={data:Uf,props:Hf,emits:Hf,methods:Kr,computed:Kr,beforeCreate:Wt,created:Wt,beforeMount:Wt,mounted:Wt,beforeUpdate:Wt,updated:Wt,beforeDestroy:Wt,beforeUnmount:Wt,destroyed:Wt,unmounted:Wt,activated:Wt,deactivated:Wt,errorCaptured:Wt,serverPrefetch:Wt,components:Kr,directives:Kr,watch:p2,provide:Uf,inject:f2};function Uf(e,t){return t?e?function(){return bt(we(e)?e.call(this,this):e,we(t)?t.call(this,this):t)}:t:e}function f2(e,t){return Kr(bc(e),bc(t))}function bc(e){if(be(e)){const t={};for(let n=0;n{let l,d=We,f;return Cg(()=>{const p=e[u];It(l,p)&&(l=p,c())}),{get(){return i(),n.get?n.get(l):l},set(p){const m=n.set?n.set(p):p;if(!It(m,l)&&!(d!==We&&It(p,d)))return;const g=o.vnode.props;g&&(t in g||u in g||r in g)&&(`onUpdate:${t}`in g||`onUpdate:${u}`in g||`onUpdate:${r}`in g)||(l=p,c()),o.emit(`update:${t}`,m),It(p,m)&&It(p,d)&&!It(m,f)&&c(),d=p,f=m}}});return s[Symbol.iterator]=()=>{let i=0;return{next(){return i<2?{value:i++?a||We:s,done:!1}:{done:!0}}}},s}const Jg=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${Mt(t)}Modifiers`]||e[`${ko(t)}Modifiers`];function g2(e,t,...n){if(e.isUnmounted)return;const o=e.vnode.props||We;let u=n;const r=t.startsWith("update:"),a=r&&Jg(o,t.slice(7));a&&(a.trim&&(u=n.map(l=>it(l)?l.trim():l)),a.number&&(u=n.map(uE)));let s,i=o[s=Zr(t)]||o[s=Zr(Mt(t))];!i&&r&&(i=o[s=Zr(ko(t))]),i&&$n(i,e,6,u);const c=o[s+"Once"];if(c){if(!e.emitted)e.emitted={};else if(e.emitted[s])return;e.emitted[s]=!0,$n(c,e,6,u)}}const v2=new WeakMap;function Qg(e,t,n=!1){const o=n?v2:t.emitsCache,u=o.get(e);if(u!==void 0)return u;const r=e.emits;let a={},s=!1;if(!we(e)){const i=c=>{const l=Qg(c,t,!0);l&&(s=!0,bt(a,l))};!n&&t.mixins.length&&t.mixins.forEach(i),e.extends&&i(e.extends),e.mixins&&e.mixins.forEach(i)}return!r&&!s?(Ge(e)&&o.set(e,null),null):(be(r)?r.forEach(i=>a[i]=null):bt(a,r),Ge(e)&&o.set(e,a),a)}function Vi(e,t){return!e||!Sa(t)?!1:(t=t.slice(2).replace(/Once$/,""),Je(e,t[0].toLowerCase()+t.slice(1))||Je(e,ko(t))||Je(e,t))}function xl(e){const{type:t,vnode:n,proxy:o,withProxy:u,propsOptions:[r],slots:a,attrs:s,emit:i,render:c,renderCache:l,props:d,data:f,setupState:p,ctx:m,inheritAttrs:g}=e,E=Gs(e);let b,y;try{if(n.shapeFlag&4){const C=u||o,x=C;b=mn(c.call(x,C,l,d,p,f,m)),y=s}else{const C=t;b=mn(C.length>1?C(d,{attrs:s,slots:a,emit:i}):C(d,null)),y=t.props?s:b2(s)}}catch(C){na.length=0,vr(C,e,1),b=z(vt)}let v=b;if(y&&g!==!1){const C=Object.keys(y),{shapeFlag:x}=v;C.length&&x&7&&(r&&C.some(Ti)&&(y=E2(y,r)),v=Sn(v,y,!1,!0))}return n.dirs&&(v=Sn(v,null,!1,!0),v.dirs=v.dirs?v.dirs.concat(n.dirs):n.dirs),n.transition&&Zo(v,n.transition),b=v,Gs(E),b}function y2(e,t=!0){let n;for(let o=0;o{let t;for(const n in e)(n==="class"||n==="style"||Sa(n))&&((t||(t={}))[n]=e[n]);return t},E2=(e,t)=>{const n={};for(const o in e)(!Ti(o)||!(o.slice(9)in t))&&(n[o]=e[o]);return n};function C2(e,t,n){const{props:o,children:u,component:r}=e,{props:a,children:s,patchFlag:i}=t,c=r.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&i>=0){if(i&1024)return!0;if(i&16)return o?Kf(o,a,c):!!a;if(i&8){const l=t.dynamicProps;for(let d=0;dObject.create(t3),o3=e=>Object.getPrototypeOf(e)===t3;function x2(e,t,n,o=!1){const u={},r=n3();e.propsDefaults=Object.create(null),u3(e,t,u,r);for(const a in e.propsOptions[0])a in u||(u[a]=void 0);n?e.props=o?u:Bn(u):e.type.props?e.props=u:e.props=r,e.attrs=r}function D2(e,t,n,o){const{props:u,attrs:r,vnode:{patchFlag:a}}=e,s=Ne(u),[i]=e.propsOptions;let c=!1;if((o||a>0)&&!(a&16)){if(a&8){const l=e.vnode.dynamicProps;for(let d=0;d{i=!0;const[f,p]=r3(d,t,!0);bt(a,f),p&&s.push(...p)};!n&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}if(!r&&!i)return Ge(e)&&o.set(e,Yu),Yu;if(be(r))for(let l=0;le==="_"||e==="_ctx"||e==="$stable",Z0=e=>be(e)?e.map(mn):[mn(e)],A2=(e,t,n)=>{if(t._n)return t;const o=k((...u)=>Z0(t(...u)),n);return o._c=!1,o},a3=(e,t,n)=>{const o=e._ctx;for(const u in e){if(Y0(u))continue;const r=e[u];if(we(r))t[u]=A2(u,r,o);else if(r!=null){const a=Z0(r);t[u]=()=>a}}},s3=(e,t)=>{const n=Z0(t);e.slots.default=()=>n},i3=(e,t,n)=>{for(const o in t)(n||!Y0(o))&&(e[o]=t[o])},B2=(e,t,n)=>{const o=e.slots=n3();if(e.vnode.shapeFlag&32){const u=t._;u?(i3(o,t,n),n&&Hm(o,"_",u,!0)):a3(t,o)}else t&&s3(e,t)},_2=(e,t,n)=>{const{vnode:o,slots:u}=e;let r=!0,a=We;if(o.shapeFlag&32){const s=t._;s?n&&s===1?r=!1:i3(u,t,n):(r=!t.$stable,a3(t,u)),a=t}else t&&(s3(e,t),a={default:1});if(r)for(const s in u)!Y0(s)&&a[s]==null&&delete u[s]},yt=h3;function k2(e){return l3(e)}function S2(e){return l3(e,QE)}function l3(e,t){const n=Oi();n.__VUE__=!0;const{insert:o,remove:u,patchProp:r,createElement:a,createText:s,createComment:i,setText:c,setElementText:l,parentNode:d,nextSibling:f,setScopeId:p=eo,insertStaticContent:m}=e,g=(A,P,$,J=null,K=null,j=null,re=void 0,ne=null,Y=!!P.dynamicChildren)=>{if(A===P)return;A&&!On(A,P)&&(J=U(A),Re(A,K,j,!0),A=null),P.patchFlag===-2&&(Y=!1,P.dynamicChildren=null);const{type:W,ref:pe,shapeFlag:ae}=P;switch(W){case bu:E(A,P,$,J);break;case vt:b(A,P,$,J);break;case Ps:A==null&&y(P,$,J,re);break;case Se:q(A,P,$,J,K,j,re,ne,Y);break;default:ae&1?x(A,P,$,J,K,j,re,ne,Y):ae&6?Q(A,P,$,J,K,j,re,ne,Y):(ae&64||ae&128)&&W.process(A,P,$,J,K,j,re,ne,Y,ye)}pe!=null&&K?Ju(pe,A&&A.ref,j,P||A,!P):pe==null&&A&&A.ref!=null&&Ju(A.ref,null,j,A,!0)},E=(A,P,$,J)=>{if(A==null)o(P.el=s(P.children),$,J);else{const K=P.el=A.el;P.children!==A.children&&c(K,P.children)}},b=(A,P,$,J)=>{A==null?o(P.el=i(P.children||""),$,J):P.el=A.el},y=(A,P,$,J)=>{[A.el,A.anchor]=m(A.children,P,$,J,A.el,A.anchor)},v=({el:A,anchor:P},$,J)=>{let K;for(;A&&A!==P;)K=f(A),o(A,$,J),A=K;o(P,$,J)},C=({el:A,anchor:P})=>{let $;for(;A&&A!==P;)$=f(A),u(A),A=$;u(P)},x=(A,P,$,J,K,j,re,ne,Y)=>{if(P.type==="svg"?re="svg":P.type==="math"&&(re="mathml"),A==null)w(P,$,J,K,j,re,ne,Y);else{const W=A.el&&A.el._isVueCE?A.el:null;try{W&&W._beginPatch(),F(A,P,K,j,re,ne,Y)}finally{W&&W._endPatch()}}},w=(A,P,$,J,K,j,re,ne)=>{let Y,W;const{props:pe,shapeFlag:ae,transition:me,dirs:xe}=A;if(Y=A.el=a(A.type,j,pe&&pe.is,pe),ae&8?l(Y,A.children):ae&16&&_(A.children,Y,null,J,K,Dl(A,j),re,ne),xe&&Gn(A,null,J,"created"),B(Y,A,A.scopeId,re,J),pe){for(const Ye in pe)Ye!=="value"&&!gu(Ye)&&r(Y,Ye,null,pe[Ye],j,J);"value"in pe&&r(Y,"value",null,pe.value,j),(W=pe.onVnodeBeforeMount)&&sn(W,J,A)}xe&&Gn(A,null,J,"beforeMount");const Le=c3(K,me);Le&&me.beforeEnter(Y),o(Y,P,$),((W=pe&&pe.onVnodeMounted)||Le||xe)&&yt(()=>{W&&sn(W,J,A),Le&&me.enter(Y),xe&&Gn(A,null,J,"mounted")},K)},B=(A,P,$,J,K)=>{if($&&p(A,$),J)for(let j=0;j{for(let W=Y;W{const ne=P.el=A.el;let{patchFlag:Y,dynamicChildren:W,dirs:pe}=P;Y|=A.patchFlag&16;const ae=A.props||We,me=P.props||We;let xe;if($&&ou($,!1),(xe=me.onVnodeBeforeUpdate)&&sn(xe,$,P,A),pe&&Gn(P,A,$,"beforeUpdate"),$&&ou($,!0),(ae.innerHTML&&me.innerHTML==null||ae.textContent&&me.textContent==null)&&l(ne,""),W?R(A.dynamicChildren,W,ne,$,J,Dl(P,K),j):re||V(A,P,ne,null,$,J,Dl(P,K),j,!1),Y>0){if(Y&16)Z(ne,ae,me,$,K);else if(Y&2&&ae.class!==me.class&&r(ne,"class",null,me.class,K),Y&4&&r(ne,"style",ae.style,me.style,K),Y&8){const Le=P.dynamicProps;for(let Ye=0;Ye{xe&&sn(xe,$,P,A),pe&&Gn(P,A,$,"updated")},J)},R=(A,P,$,J,K,j,re)=>{for(let ne=0;ne{if(P!==$){if(P!==We)for(const j in P)!gu(j)&&!(j in $)&&r(A,j,P[j],null,K,J);for(const j in $){if(gu(j))continue;const re=$[j],ne=P[j];re!==ne&&j!=="value"&&r(A,j,ne,re,K,J)}"value"in $&&r(A,"value",P.value,$.value,K)}},q=(A,P,$,J,K,j,re,ne,Y)=>{const W=P.el=A?A.el:s(""),pe=P.anchor=A?A.anchor:s("");let{patchFlag:ae,dynamicChildren:me,slotScopeIds:xe}=P;xe&&(ne=ne?ne.concat(xe):xe),A==null?(o(W,$,J),o(pe,$,J),_(P.children||[],$,pe,K,j,re,ne,Y)):ae>0&&ae&64&&me&&A.dynamicChildren&&A.dynamicChildren.length===me.length?(R(A.dynamicChildren,me,$,K,j,re,ne),(P.key!=null||K&&P===K.subTree)&&X0(A,P,!0)):V(A,P,$,pe,K,j,re,ne,Y)},Q=(A,P,$,J,K,j,re,ne,Y)=>{P.slotScopeIds=ne,A==null?P.shapeFlag&512?K.ctx.activate(P,$,J,re,Y):X(P,$,J,K,j,re,Y):I(A,P,Y)},X=(A,P,$,J,K,j,re)=>{const ne=A.component=N2(A,J,K);if(Ma(A)&&(ne.ctx.renderer=ye),j2(ne,!1,re),ne.asyncDep){if(K&&K.registerDep(ne,O,re),!A.el){const Y=ne.subTree=z(vt);b(null,Y,P,$),A.placeholder=Y.el}}else O(ne,A,P,$,K,j,re)},I=(A,P,$)=>{const J=P.component=A.component;if(C2(A,P,$))if(J.asyncDep&&!J.asyncResolved){H(J,P,$);return}else J.next=P,J.update();else P.el=A.el,J.vnode=P},O=(A,P,$,J,K,j,re)=>{const ne=()=>{if(A.isMounted){let{next:ae,bu:me,u:xe,parent:Le,vnode:Ye}=A;{const Kt=d3(A);if(Kt){ae&&(ae.el=Ye.el,H(A,ae,re)),Kt.asyncDep.then(()=>{yt(()=>{A.isUnmounted||W()},K)});return}}let Ze=ae,ft;ou(A,!1),ae?(ae.el=Ye.el,H(A,ae,re)):ae=Ye,me&&Xr(me),(ft=ae.props&&ae.props.onVnodeBeforeUpdate)&&sn(ft,Le,ae,Ye),ou(A,!0);const ut=xl(A),un=A.subTree;A.subTree=ut,g(un,ut,d(un.el),U(un),A,K,j),ae.el=ut.el,Ze===null&&zi(A,ut.el),xe&&yt(xe,K),(ft=ae.props&&ae.props.onVnodeUpdated)&&yt(()=>sn(ft,Le,ae,Ye),K)}else{let ae;const{el:me,props:xe}=P,{bm:Le,m:Ye,parent:Ze,root:ft,type:ut}=A,un=bo(P);if(ou(A,!1),Le&&Xr(Le),!un&&(ae=xe&&xe.onVnodeBeforeMount)&&sn(ae,Ze,P),ou(A,!0),me&&Ue){const Kt=()=>{A.subTree=xl(A),Ue(me,A.subTree,A,K,null)};un&&ut.__asyncHydrate?ut.__asyncHydrate(me,A,Kt):Kt()}else{ft.ce&&ft.ce._hasShadowRoot()&&ft.ce._injectChildStyle(ut,A.parent?A.parent.type:void 0);const Kt=A.subTree=xl(A);g(null,Kt,$,J,A,K,j),P.el=Kt.el}if(Ye&&yt(Ye,K),!un&&(ae=xe&&xe.onVnodeMounted)){const Kt=P;yt(()=>sn(ae,Ze,Kt),K)}(P.shapeFlag&256||Ze&&bo(Ze.vnode)&&Ze.vnode.shapeFlag&256)&&A.a&&yt(A.a,K),A.isMounted=!0,P=$=J=null}};A.scope.on();const Y=A.effect=new Xm(ne);A.scope.off();const W=A.update=Y.run.bind(Y),pe=A.job=Y.runIfDirty.bind(Y);pe.i=A,pe.id=A.uid,Y.scheduler=()=>K0(pe),ou(A,!0),W()},H=(A,P,$)=>{P.component=A;const J=A.vnode.props;A.vnode=P,A.next=null,D2(A,P.props,J,$),_2(A,P.children,$),Eo(),Mf(A),Co()},V=(A,P,$,J,K,j,re,ne,Y=!1)=>{const W=A&&A.children,pe=A?A.shapeFlag:0,ae=P.children,{patchFlag:me,shapeFlag:xe}=P;if(me>0){if(me&128){se(W,ae,$,J,K,j,re,ne,Y);return}else if(me&256){fe(W,ae,$,J,K,j,re,ne,Y);return}}xe&8?(pe&16&&Pe(W,K,j),ae!==W&&l($,ae)):pe&16?xe&16?se(W,ae,$,J,K,j,re,ne,Y):Pe(W,K,j,!0):(pe&8&&l($,""),xe&16&&_(ae,$,J,K,j,re,ne,Y))},fe=(A,P,$,J,K,j,re,ne,Y)=>{A=A||Yu,P=P||Yu;const W=A.length,pe=P.length,ae=Math.min(W,pe);let me;for(me=0;mepe?Pe(A,K,j,!0,!1,ae):_(P,$,J,K,j,re,ne,Y,ae)},se=(A,P,$,J,K,j,re,ne,Y)=>{let W=0;const pe=P.length;let ae=A.length-1,me=pe-1;for(;W<=ae&&W<=me;){const xe=A[W],Le=P[W]=Y?mo(P[W]):mn(P[W]);if(On(xe,Le))g(xe,Le,$,null,K,j,re,ne,Y);else break;W++}for(;W<=ae&&W<=me;){const xe=A[ae],Le=P[me]=Y?mo(P[me]):mn(P[me]);if(On(xe,Le))g(xe,Le,$,null,K,j,re,ne,Y);else break;ae--,me--}if(W>ae){if(W<=me){const xe=me+1,Le=xeme)for(;W<=ae;)Re(A[W],K,j,!0),W++;else{const xe=W,Le=W,Ye=new Map;for(W=Le;W<=me;W++){const Nt=P[W]=Y?mo(P[W]):mn(P[W]);Nt.key!=null&&Ye.set(Nt.key,W)}let Ze,ft=0;const ut=me-Le+1;let un=!1,Kt=0;const pn=new Array(ut);for(W=0;W=ut){Re(Nt,K,j,!0);continue}let Un;if(Nt.key!=null)Un=Ye.get(Nt.key);else for(Ze=Le;Ze<=me;Ze++)if(pn[Ze-Le]===0&&On(Nt,P[Ze])){Un=Ze;break}Un===void 0?Re(Nt,K,j,!0):(pn[Un-Le]=W+1,Un>=Kt?Kt=Un:un=!0,g(Nt,P[Un],$,null,K,j,re,ne,Y),ft++)}const nu=un?T2(pn):Yu;for(Ze=nu.length-1,W=ut-1;W>=0;W--){const Nt=Le+W,Un=P[Nt],_f=P[Nt+1],kf=Nt+1{const{el:j,type:re,transition:ne,children:Y,shapeFlag:W}=A;if(W&6){Ke(A.component.subTree,P,$,J);return}if(W&128){A.suspense.move(P,$,J);return}if(W&64){re.move(A,P,$,ye);return}if(re===Se){o(j,P,$);for(let ae=0;aene.enter(j),K);else{const{leave:ae,delayLeave:me,afterLeave:xe}=ne,Le=()=>{A.ctx.isUnmounted?u(j):o(j,P,$)},Ye=()=>{j._isLeaving&&j[Yn](!0),ae(j,()=>{Le(),xe&&xe()})};me?me(j,Le,Ye):Ye()}else o(j,P,$)},Re=(A,P,$,J=!1,K=!1)=>{const{type:j,props:re,ref:ne,children:Y,dynamicChildren:W,shapeFlag:pe,patchFlag:ae,dirs:me,cacheIndex:xe,memo:Le}=A;if(ae===-2&&(K=!1),ne!=null&&(Eo(),Ju(ne,null,$,A,!0),Co()),xe!=null&&(P.renderCache[xe]=void 0),pe&256){P.ctx.deactivate(A);return}const Ye=pe&1&&me,Ze=!bo(A);let ft;if(Ze&&(ft=re&&re.onVnodeBeforeUnmount)&&sn(ft,P,A),pe&6)Te(A.component,$,J);else{if(pe&128){A.suspense.unmount($,J);return}Ye&&Gn(A,null,P,"beforeUnmount"),pe&64?A.type.remove(A,P,$,ye,J):W&&!W.hasOnce&&(j!==Se||ae>0&&ae&64)?Pe(W,P,$,!1,!0):(j===Se&&ae&384||!K&&pe&16)&&Pe(Y,P,$),J&&ot(A)}const ut=Le!=null&&xe==null;(Ze&&(ft=re&&re.onVnodeUnmounted)||Ye||ut)&&yt(()=>{ft&&sn(ft,P,A),Ye&&Gn(A,null,P,"unmounted"),ut&&(A.el=null)},$)},ot=A=>{const{type:P,el:$,anchor:J,transition:K}=A;if(P===Se){ct($,J);return}if(P===Ps){C(A);return}const j=()=>{u($),K&&!K.persisted&&K.afterLeave&&K.afterLeave()};if(A.shapeFlag&1&&K&&!K.persisted){const{leave:re,delayLeave:ne}=K,Y=()=>re($,j);ne?ne(A.el,j,Y):Y()}else j()},ct=(A,P)=>{let $;for(;A!==P;)$=f(A),u(A),A=$;u(P)},Te=(A,P,$)=>{const{bum:J,scope:K,job:j,subTree:re,um:ne,m:Y,a:W}=A;Xs(Y),Xs(W),J&&Xr(J),K.stop(),j&&(j.flags|=8,Re(re,A,P,$)),ne&&yt(ne,P),yt(()=>{A.isUnmounted=!0},P)},Pe=(A,P,$,J=!1,K=!1,j=0)=>{for(let re=j;re{if(A.shapeFlag&6)return U(A.component.subTree);if(A.shapeFlag&128)return A.suspense.next();const P=f(A.anchor||A.el),$=P&&P[Dg];return $?f($):P};let ie=!1;const ee=(A,P,$)=>{let J;A==null?P._vnode&&(Re(P._vnode,null,null,!0),J=P._vnode.component):g(P._vnode||null,A,P,null,null,null,$),P._vnode=A,ie||(ie=!0,Mf(J),Ws(),ie=!1)},ye={p:g,um:Re,m:Ke,r:ot,mt:X,mc:_,pc:V,pbc:R,n:U,o:e};let _e,Ue;return t&&([_e,Ue]=t(ye)),{render:ee,hydrate:_e,createApp:m2(ee,_e)}}function Dl({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function ou({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function c3(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function X0(e,t,n=!1){const o=e.children,u=t.children;if(be(o)&&be(u))for(let r=0;r>1,e[n[s]]0&&(t[o]=n[r-1]),n[r]=o)}}for(r=n.length,a=n[r-1];r-- >0;)n[r]=a,a=t[a];return n}function d3(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:d3(t)}function Xs(e){if(e)for(let t=0;te.__isSuspense;let Cc=0;const F2={name:"Suspense",__isSuspense:!0,process(e,t,n,o,u,r,a,s,i,c){if(e==null)P2(t,n,o,u,r,a,s,i,c);else{if(r&&r.deps>0&&!e.suspense.isInFallback){t.suspense=e.suspense,t.suspense.vnode=t,t.el=e.el;return}M2(e,t,n,o,u,a,s,i,c)}},hydrate:O2,normalize:R2},J0=F2;function ga(e,t){const n=e.props&&e.props[t];we(n)&&n()}function P2(e,t,n,o,u,r,a,s,i){const{p:c,o:{createElement:l}}=i,d=l("div"),f=e.suspense=p3(e,u,o,t,d,n,r,a,s,i);c(null,f.pendingBranch=e.ssContent,d,null,o,f,r,a),f.deps>0?(ga(e,"onPending"),ga(e,"onFallback"),c(null,e.ssFallback,t,n,o,null,r,a),Qu(f,e.ssFallback)):f.resolve(!1,!0)}function M2(e,t,n,o,u,r,a,s,{p:i,um:c,o:{createElement:l}}){const d=t.suspense=e.suspense;d.vnode=t,t.el=e.el;const f=t.ssContent,p=t.ssFallback,{activeBranch:m,pendingBranch:g,isInFallback:E,isHydrating:b}=d;if(g)d.pendingBranch=f,On(g,f)?(i(g,f,d.hiddenContainer,null,u,d,r,a,s),d.deps<=0?d.resolve():E&&(b||(i(m,p,n,o,u,null,r,a,s),Qu(d,p)))):(d.pendingId=Cc++,b?(d.isHydrating=!1,d.activeBranch=g):c(g,u,d),d.deps=0,d.effects.length=0,d.hiddenContainer=l("div"),E?(i(null,f,d.hiddenContainer,null,u,d,r,a,s),d.deps<=0?d.resolve():(i(m,p,n,o,u,null,r,a,s),Qu(d,p))):m&&On(m,f)?(i(m,f,n,o,u,d,r,a,s),d.resolve(!0)):(i(null,f,d.hiddenContainer,null,u,d,r,a,s),d.deps<=0&&d.resolve()));else if(m&&On(m,f))i(m,f,n,o,u,d,r,a,s),Qu(d,f);else if(ga(t,"onPending"),d.pendingBranch=f,f.shapeFlag&512?d.pendingId=f.component.suspenseId:d.pendingId=Cc++,i(null,f,d.hiddenContainer,null,u,d,r,a,s),d.deps<=0)d.resolve();else{const{timeout:y,pendingId:v}=d;y>0?setTimeout(()=>{d.pendingId===v&&d.fallback(p)},y):y===0&&d.fallback(p)}}function p3(e,t,n,o,u,r,a,s,i,c,l=!1){const{p:d,m:f,um:p,n:m,o:{parentNode:g,remove:E}}=c;let b;const y=I2(e);y&&t&&t.pendingBranch&&(b=t.pendingId,t.deps++);const v=e.props?Km(e.props.timeout):void 0,C=r,x={vnode:e,parent:t,parentComponent:n,namespace:a,container:o,hiddenContainer:u,deps:0,pendingId:Cc++,timeout:typeof v=="number"?v:-1,activeBranch:null,isFallbackMountPending:!1,pendingBranch:null,isInFallback:!l,isHydrating:l,isUnmounted:!1,effects:[],resolve(w=!1,B=!1){const{vnode:_,activeBranch:F,pendingBranch:R,pendingId:Z,effects:q,parentComponent:Q,container:X,isInFallback:I}=x;let O=!1;x.isHydrating?x.isHydrating=!1:w||(O=F&&R.transition&&R.transition.mode==="out-in",O&&(F.transition.afterLeave=()=>{Z===x.pendingId&&(f(R,X,r===C?m(F):r,0),fa(q),I&&_.ssFallback&&(_.ssFallback.el=null))}),F&&!x.isFallbackMountPending&&(g(F.el)===X&&(r=m(F)),p(F,Q,x,!0),!O&&I&&_.ssFallback&&yt(()=>_.ssFallback.el=null,x)),O||f(R,X,r,0)),x.isFallbackMountPending=!1,Qu(x,R),x.pendingBranch=null,x.isInFallback=!1;let H=x.parent,V=!1;for(;H;){if(H.pendingBranch){H.effects.push(...q),V=!0;break}H=H.parent}!V&&!O&&fa(q),x.effects=[],y&&t&&t.pendingBranch&&b===t.pendingId&&(t.deps--,t.deps===0&&!B&&t.resolve()),ga(_,"onResolve")},fallback(w){if(!x.pendingBranch)return;const{vnode:B,activeBranch:_,parentComponent:F,container:R,namespace:Z}=x;ga(B,"onFallback");const q=m(_),Q=()=>{x.isFallbackMountPending=!1,x.isInFallback&&(d(null,w,R,q,F,null,Z,s,i),Qu(x,w))},X=w.transition&&w.transition.mode==="out-in";X&&(x.isFallbackMountPending=!0,_.transition.afterLeave=Q),x.isInFallback=!0,p(_,F,null,!0),X||Q()},move(w,B,_){x.activeBranch&&f(x.activeBranch,w,B,_),x.container=w},next(){return x.activeBranch&&m(x.activeBranch)},registerDep(w,B,_){const F=!!x.pendingBranch;F&&x.deps++;const R=w.vnode.el;w.asyncDep.catch(Z=>{vr(Z,w,0)}).then(Z=>{if(w.isUnmounted||x.isUnmounted||x.pendingId!==w.suspenseId)return;w.asyncResolved=!0;const{vnode:q}=w;xc(w,Z),R&&(q.el=R);const Q=!R&&w.subTree.el;B(w,q,g(R||w.subTree.el),R?null:m(w.subTree),x,a,_),Q&&(q.placeholder=null,E(Q)),zi(w,q.el),F&&--x.deps===0&&x.resolve()})},unmount(w,B){x.isUnmounted=!0,x.activeBranch&&p(x.activeBranch,n,w,B),x.pendingBranch&&p(x.pendingBranch,n,w,B)}};return x}function O2(e,t,n,o,u,r,a,s,i){const c=t.suspense=p3(t,o,n,e.parentNode,document.createElement("div"),null,u,r,a,s,!0),l=i(e,c.pendingBranch=t.ssContent,n,c,r,a);return c.deps===0&&c.resolve(!1,!0),l}function R2(e){const{shapeFlag:t,children:n}=e,o=t&32;e.ssContent=Gf(o?n.default:n),e.ssFallback=o?Gf(n.fallback):z(vt)}function Gf(e){let t;if(we(e)){const n=Du&&e._c;n&&(e._d=!1,D()),e=e(),n&&(e._d=!0,t=zt,m3())}return be(e)&&(e=y2(e)),e=mn(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(n=>n!==e)),e}function h3(e,t){t&&t.pendingBranch?be(e)?t.effects.push(...e):t.effects.push(e):fa(e)}function Qu(e,t){e.activeBranch=t;const{vnode:n,parentComponent:o}=e;let u=t.el;for(;!u&&t.component;)t=t.component.subTree,u=t.el;n.el=u,o&&o.subTree===n&&(o.vnode.el=u,zi(o,u))}function I2(e){const t=e.props&&e.props.suspensible;return t!=null&&t!==!1}const Se=Symbol.for("v-fgt"),bu=Symbol.for("v-txt"),vt=Symbol.for("v-cmt"),Ps=Symbol.for("v-stc"),na=[];let zt=null;function D(e=!1){na.push(zt=e?null:[])}function m3(){na.pop(),zt=na[na.length-1]||null}let Du=1;function Qs(e,t=!1){Du+=e,e<0&&zt&&t&&(zt.hasOnce=!0)}function g3(e){return e.dynamicChildren=Du>0?zt||Yu:null,m3(),Du>0&&zt&&zt.push(e),e}function le(e,t,n,o,u,r){return g3(tt(e,t,n,o,u,r,!0))}function T(e,t,n,o,u){return g3(z(e,t,n,o,u,!0))}function wu(e){return e?e.__v_isVNode===!0:!1}function On(e,t){return e.type===t.type&&e.key===t.key}const v3=({key:e})=>e??null,Ms=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?it(e)||nt(e)||we(e)?{i:Zt,r:e,k:t,f:!!n}:e:null);function tt(e,t=null,n=null,o=0,u=null,r=e===Se?0:1,a=!1,s=!1){const i={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&v3(t),ref:t&&Ms(t),scopeId:bg,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:r,patchFlag:o,dynamicProps:u,dynamicChildren:null,appContext:null,ctx:Zt};return s?(Q0(i,n),r&128&&e.normalize(i)):n&&(i.shapeFlag|=it(n)?8:16),Du>0&&!a&&zt&&(i.patchFlag>0||r&6)&&i.patchFlag!==32&&zt.push(i),i}const z=L2;function L2(e,t=null,n=null,o=0,u=null,r=!1){if((!e||e===$g)&&(e=vt),wu(e)){const s=Sn(e,t,!0);return n&&Q0(s,n),Du>0&&!r&&zt&&(s.shapeFlag&6?zt[zt.indexOf(e)]=s:zt.push(s)),s.patchFlag=-2,s}if(U2(e)&&(e=e.__vccOpts),t){t=ke(t);let{class:s,style:i}=t;s&&!it(s)&&(t.class=oe(s)),Ge(i)&&($i(i)&&!be(i)&&(i=bt({},i)),t.style=xn(i))}const a=it(e)?1:Js(e)?128:wg(e)?64:Ge(e)?4:we(e)?2:0;return tt(e,t,n,o,u,a,r,!0)}function ke(e){return e?$i(e)||o3(e)?bt({},e):e:null}function Sn(e,t,n=!1,o=!1){const{props:u,ref:r,patchFlag:a,children:s,transition:i}=e,c=t?G(u||{},t):u,l={__v_isVNode:!0,__v_skip:!0,type:e.type,props:c,key:c&&v3(c),ref:t&&t.ref?n&&r?be(r)?r.concat(Ms(t)):[r,Ms(t)]:Ms(t):r,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:s,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Se?a===-1?16:a|16:a,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:i,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Sn(e.ssContent),ssFallback:e.ssFallback&&Sn(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return i&&o&&Zo(l,i.clone(l)),l}function Qe(e=" ",t=0){return z(bu,null,e,t)}function ue(e="",t=!1){return t?(D(),T(vt,null,e)):z(vt,null,e)}function mn(e){return e==null||typeof e=="boolean"?z(vt):be(e)?z(Se,null,e.slice()):wu(e)?mo(e):z(bu,null,String(e))}function mo(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Sn(e)}function Q0(e,t){let n=0;const{shapeFlag:o}=e;if(t==null)t=null;else if(be(t))n=16;else if(typeof t=="object")if(o&65){const u=t.default;u&&(u._c&&(u._d=!1),Q0(e,u()),u._c&&(u._d=!0));return}else{n=32;const u=t._;!u&&!o3(t)?t._ctx=Zt:u===3&&Zt&&(Zt.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else we(t)?(t={default:t,_ctx:Zt},n=32):(t=String(t),o&64?(n=16,t=[Qe(t)]):n=8);e.children=t,e.shapeFlag|=n}function G(...e){const t={};for(let n=0;nLt||Zt;let ei,er;{const e=Oi(),t=(n,o)=>{let u;return(u=e[n])||(u=e[n]=[]),u.push(o),r=>{u.length>1?u.forEach(a=>a(r)):u[0](r)}};ei=t("__VUE_INSTANCE_SETTERS__",n=>Lt=n),er=t("__VUE_SSR_SETTERS__",n=>Au=n)}const Er=e=>{const t=Lt;return ei(e),e.scope.on(),()=>{e.scope.off(),ei(t)}},ti=()=>{Lt&&Lt.scope.off(),ei(null)};function y3(e){return e.vnode.shapeFlag&4}let Au=!1;function j2(e,t=!1,n=!1){t&&er(t);const{props:o,children:u}=e.vnode,r=y3(e);x2(e,o,r,t),B2(e,u,n||t);const a=r?V2(e,t):void 0;return t&&er(!1),a}function V2(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,i2);const{setup:o}=n;if(o){Eo();const u=e.setupContext=o.length>1?E3(e):null,r=Er(e),a=Fa(o,e,0,[e.props,u]),s=q0(a);if(Co(),r(),(s||e.sp)&&!bo(e)&&G0(e),s){if(a.then(ti,ti),t)return a.then(i=>{xc(e,i)}).catch(i=>{vr(i,e,0)});e.asyncDep=a}else xc(e,a)}else b3(e)}function xc(e,t,n){we(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:Ge(t)&&(e.setupState=hg(t)),b3(e)}function b3(e,t,n){const o=e.type;e.render||(e.render=o.render||eo);{const u=Er(e);Eo();try{l2(e)}finally{Co(),u()}}}const z2={get(e,t){return Vt(e,"get",""),e[t]}};function E3(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,z2),slots:e.slots,emit:e.emit,expose:t}}function ed(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(hg(H0(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in ta)return ta[n](e)},has(t,n){return n in t||n in ta}})):e.proxy}function Dc(e,t=!0){return we(e)?e.displayName||e.name:e.name||t&&e.__name}function U2(e){return we(e)&&"__vccOpts"in e}const S=(e,t)=>qE(e,t,Au);function ze(e,t,n){try{Qs(-1);const o=arguments.length;return o===2?Ge(t)&&!be(t)?wu(t)?z(e,null,[t]):z(e,t):z(e,null,t):(o>3?n=Array.prototype.slice.call(arguments,2):o===3&&wu(n)&&(n=[n]),z(e,t,n))}finally{Qs(1)}}function qV(e,t,n,o){const u=n[o];if(u&&H2(u,e))return u;const r=t();return r.memo=e.slice(),r.cacheIndex=o,n[o]=r}function H2(e,t){const n=e.memo;if(n.length!=t.length)return!1;for(let o=0;o0&&zt&&zt.push(e),!0}const K2="3.5.31";let wc;const Yf=typeof window<"u"&&window.trustedTypes;if(Yf)try{wc=Yf.createPolicy("vue",{createHTML:e=>e})}catch{}const C3=wc?e=>wc.createHTML(e):e=>e,W2="http://www.w3.org/2000/svg",G2="http://www.w3.org/1998/Math/MathML",ho=typeof document<"u"?document:null,Zf=ho&&ho.createElement("template"),Y2={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,o)=>{const u=t==="svg"?ho.createElementNS(W2,e):t==="mathml"?ho.createElementNS(G2,e):n?ho.createElement(e,{is:n}):ho.createElement(e);return e==="select"&&o&&o.multiple!=null&&u.setAttribute("multiple",o.multiple),u},createText:e=>ho.createTextNode(e),createComment:e=>ho.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>ho.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,o,u,r){const a=n?n.previousSibling:t.lastChild;if(u&&(u===r||u.nextSibling))for(;t.insertBefore(u.cloneNode(!0),n),!(u===r||!(u=u.nextSibling)););else{Zf.innerHTML=C3(o==="svg"?`${e}`:o==="mathml"?`${e}`:e);const s=Zf.content;if(o==="svg"||o==="mathml"){const i=s.firstChild;for(;i.firstChild;)s.appendChild(i.firstChild);s.removeChild(i)}t.insertBefore(s,n)}return[a?a.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},Ro="transition",Rr="animation",ur=Symbol("_vtc"),x3={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},D3=bt({},kg,x3),Z2=e=>(e.displayName="Transition",e.props=D3,e),X2=Z2((e,{slots:t})=>ze(YE,w3(e),t)),uu=(e,t=[])=>{be(e)?e.forEach(n=>n(...t)):e&&e(...t)},Xf=e=>e?be(e)?e.some(t=>t.length>1):e.length>1:!1;function w3(e){const t={};for(const q in e)q in x3||(t[q]=e[q]);if(e.css===!1)return t;const{name:n="v",type:o,duration:u,enterFromClass:r=`${n}-enter-from`,enterActiveClass:a=`${n}-enter-active`,enterToClass:s=`${n}-enter-to`,appearFromClass:i=r,appearActiveClass:c=a,appearToClass:l=s,leaveFromClass:d=`${n}-leave-from`,leaveActiveClass:f=`${n}-leave-active`,leaveToClass:p=`${n}-leave-to`}=e,m=J2(u),g=m&&m[0],E=m&&m[1],{onBeforeEnter:b,onEnter:y,onEnterCancelled:v,onLeave:C,onLeaveCancelled:x,onBeforeAppear:w=b,onAppear:B=y,onAppearCancelled:_=v}=t,F=(q,Q,X,I)=>{q._enterCancelled=I,$o(q,Q?l:s),$o(q,Q?c:a),X&&X()},R=(q,Q)=>{q._isLeaving=!1,$o(q,d),$o(q,p),$o(q,f),Q&&Q()},Z=q=>(Q,X)=>{const I=q?B:y,O=()=>F(Q,q,X);uu(I,[Q,O]),Jf(()=>{$o(Q,q?i:r),Kn(Q,q?l:s),Xf(I)||Qf(Q,o,g,O)})};return bt(t,{onBeforeEnter(q){uu(b,[q]),Kn(q,r),Kn(q,a)},onBeforeAppear(q){uu(w,[q]),Kn(q,i),Kn(q,c)},onEnter:Z(!1),onAppear:Z(!0),onLeave(q,Q){q._isLeaving=!0;const X=()=>R(q,Q);Kn(q,d),q._enterCancelled?(Kn(q,f),Ac(q)):(Ac(q),Kn(q,f)),Jf(()=>{q._isLeaving&&($o(q,d),Kn(q,p),Xf(C)||Qf(q,o,E,X))}),uu(C,[q,X])},onEnterCancelled(q){F(q,!1,void 0,!0),uu(v,[q])},onAppearCancelled(q){F(q,!0,void 0,!0),uu(_,[q])},onLeaveCancelled(q){R(q),uu(x,[q])}})}function J2(e){if(e==null)return null;if(Ge(e))return[wl(e.enter),wl(e.leave)];{const t=wl(e);return[t,t]}}function wl(e){return Km(e)}function Kn(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[ur]||(e[ur]=new Set)).add(t)}function $o(e,t){t.split(/\s+/).forEach(o=>o&&e.classList.remove(o));const n=e[ur];n&&(n.delete(t),n.size||(e[ur]=void 0))}function Jf(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let Q2=0;function Qf(e,t,n,o){const u=e._endId=++Q2,r=()=>{u===e._endId&&o()};if(n!=null)return setTimeout(r,n);const{type:a,timeout:s,propCount:i}=A3(e,t);if(!a)return o();const c=a+"end";let l=0;const d=()=>{e.removeEventListener(c,f),r()},f=p=>{p.target===e&&++l>=i&&d()};setTimeout(()=>{l(n[m]||"").split(", "),u=o(`${Ro}Delay`),r=o(`${Ro}Duration`),a=ep(u,r),s=o(`${Rr}Delay`),i=o(`${Rr}Duration`),c=ep(s,i);let l=null,d=0,f=0;t===Ro?a>0&&(l=Ro,d=a,f=r.length):t===Rr?c>0&&(l=Rr,d=c,f=i.length):(d=Math.max(a,c),l=d>0?a>c?Ro:Rr:null,f=l?l===Ro?r.length:i.length:0);const p=l===Ro&&/\b(?:transform|all)(?:,|$)/.test(o(`${Ro}Property`).toString());return{type:l,timeout:d,propCount:f,hasTransform:p}}function ep(e,t){for(;e.lengthtp(n)+tp(e[o])))}function tp(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function Ac(e){return(e?e.ownerDocument:document).body.offsetHeight}function eC(e,t,n){const o=e[ur];o&&(t=(t?[t,...o]:[...o]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const np=Symbol("_vod"),tC=Symbol("_vsh"),nC=Symbol(""),oC=/(?:^|;)\s*display\s*:/;function uC(e,t,n){const o=e.style,u=it(n);let r=!1;if(n&&!u){if(t)if(it(t))for(const a of t.split(";")){const s=a.slice(0,a.indexOf(":")).trim();n[s]==null&&Os(o,s,"")}else for(const a in t)n[a]==null&&Os(o,a,"");for(const a in n)a==="display"&&(r=!0),Os(o,a,n[a])}else if(u){if(t!==n){const a=o[nC];a&&(n+=";"+a),o.cssText=n,r=oC.test(n)}}else t&&e.removeAttribute("style");np in e&&(e[np]=r?o.display:"",e[tC]&&(o.display="none"))}const op=/\s*!important$/;function Os(e,t,n){if(be(n))n.forEach(o=>Os(e,t,o));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const o=rC(e,t);op.test(n)?e.setProperty(ko(o),n.replace(op,""),"important"):e[o]=n}}const up=["Webkit","Moz","ms"],Al={};function rC(e,t){const n=Al[t];if(n)return n;let o=Mt(t);if(o!=="filter"&&o in e)return Al[t]=o;o=Mi(o);for(let u=0;uBl||(cC.then(()=>Bl=0),Bl=Date.now());function fC(e,t){const n=o=>{if(!o._vts)o._vts=Date.now();else if(o._vts<=n.attached)return;$n(pC(o,n.value),t,5,[o])};return n.value=e,n.attached=dC(),n}function pC(e,t){if(be(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(o=>u=>!u._stopped&&o&&o(u))}else return t}const cp=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,hC=(e,t,n,o,u,r)=>{const a=u==="svg";t==="class"?eC(e,o,a):t==="style"?uC(e,n,o):Sa(t)?Ti(t)||iC(e,t,n,o,r):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):mC(e,t,o,a))?(sp(e,t,o),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&ap(e,t,o,a,r,t!=="value")):e._isVueCE&&(gC(e,t)||e._def.__asyncLoader&&(/[A-Z]/.test(t)||!it(o)))?sp(e,Mt(t),o,r,t):(t==="true-value"?e._trueValue=o:t==="false-value"&&(e._falseValue=o),ap(e,t,o,a))};function mC(e,t,n,o){if(o)return!!(t==="innerHTML"||t==="textContent"||t in e&&cp(t)&&we(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="autocorrect"||t==="sandbox"&&e.tagName==="IFRAME"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const u=e.tagName;if(u==="IMG"||u==="VIDEO"||u==="CANVAS"||u==="SOURCE")return!1}return cp(t)&&it(n)?!1:t in e}function gC(e,t){const n=e._def.props;if(!n)return!1;const o=Mt(t);return Array.isArray(n)?n.some(u=>Mt(u)===o):Object.keys(n).some(u=>Mt(u)===o)}const B3=new WeakMap,_3=new WeakMap,ni=Symbol("_moveCb"),dp=Symbol("_enterCb"),vC=e=>(delete e.props.mode,e),yC=vC({name:"TransitionGroup",props:bt({},D3,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=et(),o=_g();let u,r;return br(()=>{if(!u.length)return;const a=e.moveClass||`${e.name||"v"}-move`;if(!xC(u[0].el,n.vnode.el,a)){u=[];return}u.forEach(bC),u.forEach(EC);const s=u.filter(CC);Ac(n.vnode.el),s.forEach(i=>{const c=i.el,l=c.style;Kn(c,a),l.transform=l.webkitTransform=l.transitionDuration="";const d=c[ni]=f=>{f&&f.target!==c||(!f||f.propertyName.endsWith("transform"))&&(c.removeEventListener("transitionend",d),c[ni]=null,$o(c,a))};c.addEventListener("transitionend",d)}),u=[]}),()=>{const a=Ne(e),s=w3(a);let i=a.tag||Se;if(u=[],r)for(let c=0;c{s.split(/\s+/).forEach(i=>i&&o.classList.remove(i))}),n.split(/\s+/).forEach(s=>s&&o.classList.add(s)),o.style.display="none";const r=t.nodeType===1?t:t.parentNode;r.appendChild(o);const{hasTransform:a}=A3(o);return r.removeChild(o),a}const DC=["ctrl","shift","alt","meta"],wC={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>DC.some(n=>e[`${n}Key`]&&!t.includes(n))},bn=(e,t)=>{if(!e)return e;const n=e._withMods||(e._withMods={}),o=t.join(".");return n[o]||(n[o]=((u,...r)=>{for(let a=0;a{const n=e._withKeys||(e._withKeys={}),o=t.join(".");return n[o]||(n[o]=(u=>{if(!("key"in u))return;const r=ko(u.key);if(t.some(a=>a===r||AC[a]===r))return e(u)}))},T3=bt({patchProp:hC},Y2);let oa,fp=!1;function BC(){return oa||(oa=k2(T3))}function _C(){return oa=fp?oa:S2(T3),fp=!0,oa}const kC=((...e)=>{const t=BC().createApp(...e),{mount:n}=t;return t.mount=o=>{const u=P3(o);if(!u)return;const r=t._component;!we(r)&&!r.render&&!r.template&&(r.template=u.innerHTML),u.nodeType===1&&(u.textContent="");const a=n(u,!1,F3(u));return u instanceof Element&&(u.removeAttribute("v-cloak"),u.setAttribute("data-v-app","")),a},t}),SC=((...e)=>{const t=_C().createApp(...e),{mount:n}=t;return t.mount=o=>{const u=P3(o);if(u)return n(u,!0,F3(u))},t});function F3(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function P3(e){return it(e)?document.querySelector(e):e}const TC=/"(?:_|\\u0{2}5[Ff]){2}(?:p|\\u0{2}70)(?:r|\\u0{2}72)(?:o|\\u0{2}6[Ff])(?:t|\\u0{2}74)(?:o|\\u0{2}6[Ff])(?:_|\\u0{2}5[Ff]){2}"\s*:/,FC=/"(?:c|\\u0063)(?:o|\\u006[Ff])(?:n|\\u006[Ee])(?:s|\\u0073)(?:t|\\u0074)(?:r|\\u0072)(?:u|\\u0075)(?:c|\\u0063)(?:t|\\u0074)(?:o|\\u006[Ff])(?:r|\\u0072)"\s*:/,PC=/^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/;function MC(e,t){if(e==="__proto__"||e==="constructor"&&t&&typeof t=="object"&&"prototype"in t){OC(e);return}return t}function OC(e){console.warn(`[destr] Dropping "${e}" key to prevent prototype pollution.`)}function RC(e,t={}){if(typeof e!="string")return e;if(e[0]==='"'&&e[e.length-1]==='"'&&e.indexOf("\\")===-1)return e.slice(1,-1);const n=e.trim();if(n.length<=9)switch(n.toLowerCase()){case"true":return!0;case"false":return!1;case"undefined":return;case"null":return null;case"nan":return Number.NaN;case"infinity":return Number.POSITIVE_INFINITY;case"-infinity":return Number.NEGATIVE_INFINITY}if(!PC.test(e)){if(t.strict)throw new SyntaxError("[destr] Invalid JSON");return e}try{if(TC.test(e)||FC.test(e)){if(t.strict)throw new Error("[destr] Possible prototype pollution");return JSON.parse(e,MC)}return JSON.parse(e)}catch(o){if(t.strict)throw o;return e}}const M3=/#/g,O3=/&/g,IC=/\//g,LC=/=/g,qC=/\?/g,Ui=/\+/g,$C=/%5e/gi,NC=/%60/gi,jC=/%7c/gi,VC=/%20/gi,zC=/%2f/gi,UC=/%252f/gi;function R3(e){return encodeURI(""+e).replace(jC,"|")}function Bc(e){return R3(typeof e=="string"?e:JSON.stringify(e)).replace(Ui,"%2B").replace(VC,"+").replace(M3,"%23").replace(O3,"%26").replace(NC,"`").replace($C,"^").replace(IC,"%2F")}function _l(e){return Bc(e).replace(LC,"%3D")}function HC(e){return R3(e).replace(M3,"%23").replace(qC,"%3F").replace(UC,"%2F").replace(O3,"%26").replace(Ui,"%2B")}function va(e=""){try{return decodeURIComponent(""+e)}catch{return""+e}}function KC(e){return va(e.replace(zC,"%252F"))}function WC(e){return va(e.replace(Ui," "))}function GC(e){return va(e.replace(Ui," "))}function td(e=""){const t=Object.create(null);e[0]==="?"&&(e=e.slice(1));for(const n of e.split("&")){const o=n.match(/([^=]+)=?(.*)/)||[];if(o.length<2)continue;const u=WC(o[1]);if(u==="__proto__"||u==="constructor")continue;const r=GC(o[2]||"");t[u]===void 0?t[u]=r:Array.isArray(t[u])?t[u].push(r):t[u]=[t[u],r]}return t}function YC(e,t){return(typeof t=="number"||typeof t=="boolean")&&(t=String(t)),t?Array.isArray(t)?t.map(n=>`${_l(e)}=${Bc(n)}`).join("&"):`${_l(e)}=${Bc(t)}`:_l(e)}function ZC(e){return Object.keys(e).filter(t=>e[t]!==void 0).map(t=>YC(t,e[t])).filter(Boolean).join("&")}const XC=/^[\s\w\0+.-]{2,}:([/\\]{1,2})/,I3=/^[\s\w\0+.-]{2,}:([/\\]{2})?/,JC=/^([/\\]\s*){2,}[^/\\]/,QC=/^[\s\0]*(blob|data|javascript|vbscript):$/i,e5=/\/$|\/\?|\/#/,t5=/^\.?\//;function Tn(e,t={}){return typeof t=="boolean"&&(t={acceptRelative:t}),t.strict?XC.test(e):I3.test(e)||(t.acceptRelative?JC.test(e):!1)}function n5(e){return!!e&&QC.test(e)}function _c(e="",t){return t?e5.test(e):e.endsWith("/")}function rr(e="",t){if(!t)return(_c(e)?e.slice(0,-1):e)||"/";if(!_c(e,!0))return e||"/";let n=e,o="";const u=e.indexOf("#");u!==-1&&(n=e.slice(0,u),o=e.slice(u));const[r,...a]=n.split("?");return((r.endsWith("/")?r.slice(0,-1):r)||"/")+(a.length>0?`?${a.join("?")}`:"")+o}function nd(e="",t){if(!t)return e.endsWith("/")?e:e+"/";if(_c(e,!0))return e||"/";let n=e,o="";const u=e.indexOf("#");if(u!==-1&&(n=e.slice(0,u),o=e.slice(u),!n))return o;const[r,...a]=n.split("?");return r+"/"+(a.length>0?`?${a.join("?")}`:"")+o}function o5(e=""){return e.startsWith("/")}function L3(e=""){return o5(e)?e:"/"+e}function u5(e,t){if($3(t)||Tn(e))return e;const n=rr(t);if(e.startsWith(n)){const o=e[n.length];if(!o||o==="/"||o==="?")return e}return Cr(n,e)}function pp(e,t){if($3(t))return e;const n=rr(t);if(!e.startsWith(n))return e;const o=e[n.length];if(o&&o!=="/"&&o!=="?")return e;const u=e.slice(n.length);return u[0]==="/"?u:"/"+u}function q3(e,t){const n=Hi(e),o={...td(n.search),...t};return n.search=ZC(o),i5(n)}function $3(e){return!e||e==="/"}function r5(e){return e&&e!=="/"}function Cr(e,...t){let n=e||"";for(const o of t.filter(u=>r5(u)))if(n){const u=o.replace(t5,"");n=nd(n)+u}else n=o;return n}function N3(...e){const t=/\/(?!\/)/,n=e.filter(Boolean),o=[];let u=0;for(const a of n)if(!(!a||a==="/")){for(const[s,i]of a.split(t).entries())if(!(!i||i===".")){if(i===".."){if(o.length===1&&Tn(o[0]))continue;o.pop(),u--;continue}if(s===1&&o[o.length-1]?.endsWith(":/")){o[o.length-1]+="/"+i;continue}o.push(i),u++}}let r=o.join("/");return u>=0?n[0]?.startsWith("/")&&!r.startsWith("/")?r="/"+r:n[0]?.startsWith("./")&&!r.startsWith("./")&&(r="./"+r):r="../".repeat(-1*u)+r,n[n.length-1]?.endsWith("/")&&!r.endsWith("/")&&(r+="/"),r}function a5(e){return s5(e,"https://")}function s5(e,t){let n=e.match(I3);return n||(n=e.match(/^\/{2,}/)),n?t+e.slice(n[0].length):t+e}function j3(e,t){return va(rr(e))===va(rr(t))}const V3=Symbol.for("ufo:protocolRelative");function Hi(e="",t){const n=e.match(/^[\s\0]*(blob:|data:|javascript:|vbscript:)(.*)/i);if(n){const[,d,f=""]=n;return{protocol:d.toLowerCase(),pathname:f,href:d+f,auth:"",host:"",search:"",hash:""}}if(!Tn(e,{acceptRelative:!0}))return hp(e);const[,o="",u,r=""]=e.replace(/\\/g,"/").match(/^[\s\0]*([\w+.-]{2,}:)?\/\/([^/@]+@)?(.*)/)||[];let[,a="",s=""]=r.match(/([^#/?]*)(.*)?/)||[];o==="file:"&&(s=s.replace(/\/(?=[A-Za-z]:)/,""));const{pathname:i,search:c,hash:l}=hp(s);return{protocol:o.toLowerCase(),auth:u?u.slice(0,Math.max(0,u.length-1)):"",host:a,pathname:i,search:c,hash:l,[V3]:!o}}function hp(e=""){const[t="",n="",o=""]=(e.match(/([^#?]*)(\?[^#]*)?(#.*)?/)||[]).splice(1);return{pathname:t,search:n,hash:o}}function i5(e){const t=e.pathname||"",n=e.search?(e.search.startsWith("?")?"":"?")+e.search:"",o=e.hash||"",u=e.auth?e.auth+"@":"",r=e.host||"";return(e.protocol||e[V3]?(e.protocol||"")+"//":"")+u+r+t+n+o}class l5 extends Error{constructor(t,n){super(t,n),this.name="FetchError",n?.cause&&!this.cause&&(this.cause=n.cause)}}function c5(e){const t=e.error?.message||e.error?.toString()||"",n=e.request?.method||e.options?.method||"GET",o=e.request?.url||String(e.request)||"/",u=`[${n}] ${JSON.stringify(o)}`,r=e.response?`${e.response.status} ${e.response.statusText}`:"",a=`${u}: ${r}${t?` ${t}`:""}`,s=new l5(a,e.error?{cause:e.error}:void 0);for(const i of["request","options","response"])Object.defineProperty(s,i,{get(){return e[i]}});for(const[i,c]of[["data","_data"],["status","status"],["statusCode","status"],["statusText","statusText"],["statusMessage","statusText"]])Object.defineProperty(s,i,{get(){return e.response&&e.response[c]}});return s}const d5=new Set(Object.freeze(["PATCH","POST","PUT","DELETE"]));function mp(e="GET"){return d5.has(e.toUpperCase())}function f5(e){if(e===void 0)return!1;const t=typeof e;return t==="string"||t==="number"||t==="boolean"||t===null?!0:t!=="object"?!1:Array.isArray(e)?!0:e.buffer||e instanceof FormData||e instanceof URLSearchParams?!1:e.constructor&&e.constructor.name==="Object"||typeof e.toJSON=="function"}const p5=new Set(["image/svg","application/xml","application/xhtml","application/html"]),h5=/^application\/(?:[\w!#$%&*.^`~-]*\+)?json(;.+)?$/i;function m5(e=""){if(!e)return"json";const t=e.split(";").shift()||"";return h5.test(t)?"json":t==="text/event-stream"?"stream":p5.has(t)||t.startsWith("text/")?"text":"blob"}function g5(e,t,n,o){const u=v5(t?.headers??e?.headers,n?.headers,o);let r;return(n?.query||n?.params||t?.params||t?.query)&&(r={...n?.params,...n?.query,...t?.params,...t?.query}),{...n,...t,query:r,params:r,headers:u}}function v5(e,t,n){if(!t)return new n(e);const o=new n(t);if(e)for(const[u,r]of Symbol.iterator in e||Array.isArray(e)?e:new n(e))o.set(u,r);return o}async function rs(e,t){if(t)if(Array.isArray(t))for(const n of t)await n(e);else await t(e)}const y5=new Set([408,409,425,429,500,502,503,504]),b5=new Set([101,204,205,304]);function z3(e={}){const{fetch:t=globalThis.fetch,Headers:n=globalThis.Headers,AbortController:o=globalThis.AbortController}=e;async function u(s){const i=s.error&&s.error.name==="AbortError"&&!s.options.timeout||!1;if(s.options.retry!==!1&&!i){let l;typeof s.options.retry=="number"?l=s.options.retry:l=mp(s.options.method)?0:1;const d=s.response&&s.response.status||500;if(l>0&&(Array.isArray(s.options.retryStatusCodes)?s.options.retryStatusCodes.includes(d):y5.has(d))){const f=typeof s.options.retryDelay=="function"?s.options.retryDelay(s):s.options.retryDelay||0;return f>0&&await new Promise(p=>setTimeout(p,f)),r(s.request,{...s.options,retry:l-1})}}const c=c5(s);throw Error.captureStackTrace&&Error.captureStackTrace(c,r),c}const r=async function(i,c={}){const l={request:i,options:g5(i,c,e.defaults,n),response:void 0,error:void 0};if(l.options.method&&(l.options.method=l.options.method.toUpperCase()),l.options.onRequest&&(await rs(l,l.options.onRequest),l.options.headers instanceof n||(l.options.headers=new n(l.options.headers||{}))),typeof l.request=="string"&&(l.options.baseURL&&(l.request=u5(l.request,l.options.baseURL)),l.options.query&&(l.request=q3(l.request,l.options.query),delete l.options.query),"query"in l.options&&delete l.options.query,"params"in l.options&&delete l.options.params),l.options.body&&mp(l.options.method))if(f5(l.options.body)){const p=l.options.headers.get("content-type");typeof l.options.body!="string"&&(l.options.body=p==="application/x-www-form-urlencoded"?new URLSearchParams(l.options.body).toString():JSON.stringify(l.options.body)),p||l.options.headers.set("content-type","application/json"),l.options.headers.has("accept")||l.options.headers.set("accept","application/json")}else("pipeTo"in l.options.body&&typeof l.options.body.pipeTo=="function"||typeof l.options.body.pipe=="function")&&("duplex"in l.options||(l.options.duplex="half"));let d;if(!l.options.signal&&l.options.timeout){const p=new o;d=setTimeout(()=>{const m=new Error("[TimeoutError]: The operation was aborted due to timeout");m.name="TimeoutError",m.code=23,p.abort(m)},l.options.timeout),l.options.signal=p.signal}try{l.response=await t(l.request,l.options)}catch(p){return l.error=p,l.options.onRequestError&&await rs(l,l.options.onRequestError),await u(l)}finally{d&&clearTimeout(d)}if((l.response.body||l.response._bodyInit)&&!b5.has(l.response.status)&&l.options.method!=="HEAD"){const p=(l.options.parseResponse?"json":l.options.responseType)||m5(l.response.headers.get("content-type")||"");switch(p){case"json":{const m=await l.response.text(),g=l.options.parseResponse||RC;l.response._data=g(m);break}case"stream":{l.response._data=l.response.body||l.response._bodyInit;break}default:l.response._data=await l.response[p]()}}return l.options.onResponse&&await rs(l,l.options.onResponse),!l.options.ignoreResponseError&&l.response.status>=400&&l.response.status<600?(l.options.onResponseError&&await rs(l,l.options.onResponseError),await u(l)):l.response},a=async function(i,c){return(await r(i,c))._data};return a.raw=r,a.native=(...s)=>t(...s),a.create=(s={},i={})=>z3({...e,...i,defaults:{...e.defaults,...i.defaults,...s}}),a}const oi=(function(){if(typeof globalThis<"u")return globalThis;if(typeof self<"u")return self;if(typeof window<"u")return window;if(typeof global<"u")return global;throw new Error("unable to locate global object")})(),E5=oi.fetch?(...e)=>oi.fetch(...e):()=>Promise.reject(new Error("[ofetch] global.fetch is not supported!")),C5=oi.Headers,x5=oi.AbortController,D5=z3({fetch:E5,Headers:C5,AbortController:x5}),w5=D5,A5=()=>window?.__NUXT__?.config||window?.useNuxtApp?.().payload?.config,od=()=>A5().app,B5=()=>od().baseURL,_5=()=>od().buildAssetsDir,ud=(...e)=>N3(U3(),_5(),...e),U3=(...e)=>{const t=od(),n=t.cdnURL||t.baseURL;return e.length?N3(n,...e):n};globalThis.__buildAssetsURL=ud,globalThis.__publicAssetsURL=U3;globalThis.$fetch||(globalThis.$fetch=w5.create({baseURL:B5()}));"global"in globalThis||(globalThis.global=globalThis);function kc(e,t={},n){for(const o in e){const u=e[o],r=n?`${n}:${o}`:o;typeof u=="object"&&u!==null?kc(u,t,r):typeof u=="function"&&(t[r]=u)}return t}const H3=(()=>{if(console.createTask)return console.createTask;const e={run:t=>t()};return()=>e})();function K3(e,t,n,o){for(let u=n;ue[u](...t)):e[u](...t);if(r instanceof Promise)return r.then(()=>K3(e,t,u+1,o))}catch(r){return Promise.reject(r)}}function k5(e,t,n){if(e.length>0)return K3(e,t,0,H3(n))}function S5(e,t,n){if(e.length>0){const o=H3(n);return Promise.all(e.map(u=>o.run(()=>u(...t))))}}function kl(e,t){for(const n of[...e])n(t)}var T5=class{_hooks;_before;_after;_deprecatedHooks;_deprecatedMessages;constructor(){this._hooks={},this._before=void 0,this._after=void 0,this._deprecatedMessages=void 0,this._deprecatedHooks={},this.hook=this.hook.bind(this),this.callHook=this.callHook.bind(this),this.callHookWith=this.callHookWith.bind(this)}hook(e,t,n={}){if(!e||typeof t!="function")return()=>{};const o=e;let u;for(;this._deprecatedHooks[e];)u=this._deprecatedHooks[e],e=u.to;if(u&&!n.allowDeprecated){let r=u.message;r||(r=`${o} hook has been deprecated`+(u.to?`, please use ${u.to}`:"")),this._deprecatedMessages||(this._deprecatedMessages=new Set),this._deprecatedMessages.has(r)||(console.warn(r),this._deprecatedMessages.add(r))}if(!t.name)try{Object.defineProperty(t,"name",{get:()=>"_"+e.replace(/\W+/g,"_")+"_hook_cb",configurable:!0})}catch{}return this._hooks[e]=this._hooks[e]||[],this._hooks[e].push(t),()=>{t&&(this.removeHook(e,t),t=void 0)}}hookOnce(e,t){let n,o=(...u)=>(typeof n=="function"&&n(),n=void 0,o=void 0,t(...u));return n=this.hook(e,o),n}removeHook(e,t){const n=this._hooks[e];if(n){const o=n.indexOf(t);o!==-1&&n.splice(o,1),n.length===0&&(this._hooks[e]=void 0)}}clearHook(e){this._hooks[e]=void 0}deprecateHook(e,t){this._deprecatedHooks[e]=typeof t=="string"?{to:t}:t;const n=this._hooks[e]||[];this._hooks[e]=void 0;for(const o of n)this.hook(e,o)}deprecateHooks(e){for(const t in e)this.deprecateHook(t,e[t])}addHooks(e){const t=kc(e),n=Object.keys(t).map(o=>this.hook(o,t[o]));return()=>{for(const o of n)o();n.length=0}}removeHooks(e){const t=kc(e);for(const n in t)this.removeHook(n,t[n])}removeAllHooks(){this._hooks={}}callHook(e,...t){return this.callHookWith(k5,e,t)}callHookParallel(e,...t){return this.callHookWith(S5,e,t)}callHookWith(e,t,n){const o=this._before||this._after?{name:t,args:n,context:{}}:void 0;this._before&&kl(this._before,o);const u=e(this._hooks[t]?[...this._hooks[t]]:[],n,t);return u instanceof Promise?u.finally(()=>{this._after&&o&&kl(this._after,o)}):(this._after&&o&&kl(this._after,o),u)}beforeEach(e){return this._before=this._before||[],this._before.push(e),()=>{if(this._before!==void 0){const t=this._before.indexOf(e);t!==-1&&this._before.splice(t,1)}}}afterEach(e){return this._after=this._after||[],this._after.push(e),()=>{if(this._after!==void 0){const t=this._after.indexOf(e);t!==-1&&this._after.splice(t,1)}}}};function W3(){return new T5}function F5(e={}){let t,n=!1;const o=a=>{if(t&&t!==a)throw new Error("Context conflict")};let u;if(e.asyncContext){const a=e.AsyncLocalStorage||globalThis.AsyncLocalStorage;a?u=new a:console.warn("[unctx] `AsyncLocalStorage` is not provided.")}const r=()=>{if(u){const a=u.getStore();if(a!==void 0)return a}return t};return{use:()=>{const a=r();if(a===void 0)throw new Error("Context is not available");return a},tryUse:()=>r(),set:(a,s)=>{s||o(a),t=a,n=!0},unset:()=>{t=void 0,n=!1},call:(a,s)=>{o(a),t=a;try{return u?u.run(a,s):s()}finally{n||(t=void 0)}},async callAsync(a,s){t=a;const i=()=>{t=a},c=()=>t===a?i:void 0;Sc.add(c);try{const l=u?u.run(a,s):s();return n||(t=void 0),await l}finally{Sc.delete(c)}}}}function P5(e={}){const t={};return{get(n,o={}){return t[n]||(t[n]=F5({...e,...o})),t[n]}}}const ui=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof global<"u"?global:typeof window<"u"?window:{},gp="__unctx__",M5=ui[gp]||(ui[gp]=P5()),O5=(e,t={})=>M5.get(e,t),vp="__unctx_async_handlers__",Sc=ui[vp]||(ui[vp]=new Set);function Eu(e){const t=[];for(const u of Sc){const r=u();r&&t.push(r)}const n=()=>{for(const u of t)u()};let o=e();return o&&typeof o=="object"&&"catch"in o&&(o=o.catch(u=>{throw n(),u})),[o,n]}const yp=!1,bp=!1,R5=!1,Ep={id:"__nuxt-loader"},I5={componentName:"NuxtLink",prefetch:!0,prefetchOn:{visibility:!0}},L5={deep:!1},q5={},$5="#__nuxt",G3="nuxt-app",Cp=36e5,N5="vite:preloadError";function Y3(e=G3){return O5(e,{asyncContext:!1})}const j5="__nuxt_plugin";function V5(e){let t=0;const n={_id:e.id||G3||"nuxt-app",_scope:j0(),provide:void 0,versions:{get nuxt(){return"4.4.2"},get vue(){return n.vueApp.version}},payload:Bn({...e.ssrContext?.payload||{},data:Bn({}),state:Tt({}),once:new Set,_errors:Bn({})}),static:{data:{}},runWithContext(u){return n._scope.active&&!So()?n._scope.run(()=>xp(n,u)):xp(n,u)},isHydrating:!0,deferHydration(){if(!n.isHydrating)return()=>{};t++;let u=!1;return()=>{if(!u&&(u=!0,t--,t===0))return n.isHydrating=!1,n.callHook("app:suspense:resolve")}},_asyncDataPromises:{},_asyncData:Bn({}),_state:Bn({}),_payloadRevivers:{},...e};{const u=window.__NUXT__;if(u)for(const r in u)switch(r){case"data":case"state":case"_errors":Object.assign(n.payload[r],u[r]);break;default:n.payload[r]=u[r]}}n.hooks=W3(),n.hook=n.hooks.hook;{const u=n.hooks.callHook;n.hooks.callHook=(r,...a)=>Promise.resolve().then(()=>u(r,...a))}n.callHook=n.hooks.callHook,n.provide=(u,r)=>{const a="$"+u;as(n,a,r),as(n.vueApp.config.globalProperties,a,r)},as(n.vueApp,"$nuxt",n),as(n.vueApp.config.globalProperties,"$nuxt",n);{window.addEventListener(N5,r=>{n.callHook("app:chunkError",{error:r.payload}),r.payload.message.includes("Unable to preload CSS")&&r.preventDefault()}),window.useNuxtApp||=Ie;const u=n.hook("app:error",(...r)=>{console.error("[nuxt] error caught during app initialization",...r)});n.hook("app:mounted",u)}const o=n.payload.config;return n.provide("config",o),n}function z5(e,t){t.hooks&&e.hooks.addHooks(t.hooks)}async function U5(e,t){if(typeof t=="function"){const{provide:n}=await e.runWithContext(()=>t(e))||{};if(n&&typeof n=="object")for(const o in n)e.provide(o,n[o])}}async function H5(e,t){const n=new Set,o=[],u=[];let r,a=0;async function s(i){const c=i.dependsOn?.filter(l=>t.some(d=>d._name===l)&&!n.has(l))??[];if(c.length>0)o.push([new Set(c),i]);else{const l=U5(e,i).then(async()=>{i._name&&(n.add(i._name),await Promise.all(o.map(async([d,f])=>{d.has(i._name)&&(d.delete(i._name),d.size===0&&(a++,await s(f)))})))}).catch(d=>{if(!i.parallel&&!e.payload.error)throw d;r||=d});i.parallel?u.push(l):await l}}for(const i of t)z5(e,i);for(const i of t)await s(i);if(await Promise.all(u),a)for(let i=0;i{}),e,{[j5]:!0,_name:t})}function xp(e,t,n){const o=()=>t();return Y3(e._id).set(e),e.vueApp.runWithContext(o)}function Z3(e){let t;return yr()&&(t=et()?.appContext.app.$nuxt),t||=Y3(e).tryUse(),t||null}function Ie(e){const t=Z3(e);if(!t)throw new Error("[nuxt] instance unavailable");return t}function Qt(e){return Ie().$config}function as(e,t,n){Object.defineProperty(e,t,{get:()=>n})}function Sl(e){if(e===null||typeof e!="object")return!1;const t=Object.getPrototypeOf(e);return t!==null&&t!==Object.prototype&&Object.getPrototypeOf(t)!==null||Symbol.iterator in e?!1:Symbol.toStringTag in e?Object.prototype.toString.call(e)==="[object Module]":!0}function Tc(e,t,n=".",o){if(!Sl(t))return Tc(e,{},n,o);const u=Object.assign({},t);for(const r in e){if(r==="__proto__"||r==="constructor")continue;const a=e[r];a!=null&&(o&&o(u,r,a,n)||(Array.isArray(a)&&Array.isArray(u[r])?u[r]=[...a,...u[r]]:Sl(a)&&Sl(u[r])?u[r]=Tc(a,u[r],(n?`${n}.`:"")+r.toString(),o):u[r]=a))}return u}function X3(e){return(...t)=>t.reduce((n,o)=>Tc(n,o,"",e),{})}const Ot=X3(),K5=X3((e,t,n)=>{if(e[t]!==void 0&&typeof n=="function")return e[t]=n(e[t]),!0});function W5(e,t){try{return t in e}catch{return!1}}class Dp extends Error{static __h3_error__=!0;statusCode=500;fatal=!1;unhandled=!1;statusMessage;data;cause;constructor(t,n={}){super(t,n),n.cause&&!this.cause&&(this.cause=n.cause)}toJSON(){const t={message:this.message,statusCode:Fc(this.statusCode,500)};return this.statusMessage&&(t.statusMessage=J3(this.statusMessage)),this.data!==void 0&&(t.data=this.data),t}}function G5(e){if(typeof e=="string")return new Dp(e);if(Y5(e))return e;const t=new Dp(e.message??e.statusMessage??"",{cause:e.cause||e});if(W5(e,"stack"))try{Object.defineProperty(t,"stack",{get(){return e.stack}})}catch{try{t.stack=e.stack}catch{}}if(e.data&&(t.data=e.data),e.statusCode?t.statusCode=Fc(e.statusCode,t.statusCode):e.status&&(t.statusCode=Fc(e.status,t.statusCode)),e.statusMessage?t.statusMessage=e.statusMessage:e.statusText&&(t.statusMessage=e.statusText),t.statusMessage){const n=t.statusMessage;J3(t.statusMessage)!==n&&console.warn("[h3] Please prefer using `message` for longer error messages instead of `statusMessage`. In the future, `statusMessage` will be sanitized by default.")}return e.fatal!==void 0&&(t.fatal=e.fatal),e.unhandled!==void 0&&(t.unhandled=e.unhandled),t}function Y5(e){return e?.constructor?.__h3_error__===!0}function Z5(e){const t={};for(const n in e.node.req.headers){const o=e.node.req.headers[n];t[n]=Array.isArray(o)?o.filter(Boolean).join(", "):o}return t}const X5=/[^\u0009\u0020-\u007E]/g;function J3(e=""){return e.replace(X5,"")}function Fc(e,t=200){return!e||(typeof e=="string"&&(e=Number.parseInt(e,10)),e<100||e>999)?t:e}const Q3=Symbol("layout-meta"),xo=Symbol("route");import.meta.url.replace(/\/app\/.*$/,"/");const Ut=()=>Ie()?.$router,Fn=()=>yr()?Ve(xo,Ie()._route):Ie()._route;const J5=(e,t,n={})=>{const o=Ie(),u=n.global||typeof e!="string",r=typeof e!="string"?e:t;if(!r){console.warn("[nuxt] No route middleware passed to `addRouteMiddleware`.",e);return}u?o._middleware.global.push(r):o._middleware.named[e]=r},Q5=()=>{try{if(Ie()._processingMiddleware)return!0}catch{return!1}return!1},Ki=(e,t)=>{e||="/";const n=typeof e=="string"?e:"path"in e?Pc(e):Ut().resolve(e).href;if(t?.open){const{target:c="_blank",windowFeatures:l={}}=t.open,d=[];for(const[f,p]of Object.entries(l))p!==void 0&&d.push(`${f.toLowerCase()}=${p}`);return open(n,c,d.join(", ")),Promise.resolve()}const o=Tn(n,{acceptRelative:!0}),u=t?.external||o;if(u){if(!t?.external)throw new Error("Navigating to an external URL is not allowed by default. Use `navigateTo(url, { external: true })`.");const{protocol:c}=new URL(n,window.location.href);if(c&&n5(c))throw new Error(`Cannot navigate to a URL with '${c}' protocol.`)}const r=Q5();if(!u&&r){if(t?.replace){if(typeof e=="string"){const{pathname:c,search:l,hash:d}=Hi(e);return{path:c,...l&&{query:td(l)},...d&&{hash:d},replace:!0}}return{...e,replace:!0}}return e}const a=Ut(),s=Ie();if(u)return s._scope.stop(),t?.replace?location.replace(n):location.href=n,r?s.isHydrating?new Promise(()=>{}):!1:Promise.resolve();const i=typeof e=="string"?ev(e):e;return t?.replace?a.replace(i):a.push(i)};function Pc(e){return q3(e.path||"",e.query||{})+(e.hash||"")}function ev(e){const t=Hi(e);return HC(KC(t.pathname))+t.search+t.hash}const tv="__nuxt_error",Wi=()=>at(Ie().payload,"error"),du=e=>{const t=Yo(e);try{const n=Wi();Ie().hooks.callHook("app:error",t),n.value||=t}catch{throw t}return t},nv=async(e={})=>{const t=Ie(),n=Wi();t.callHook("app:error:cleared",e),e.redirect&&await Ut().replace(e.redirect),n.value=void 0},ov=e=>!!e&&typeof e=="object"&&tv in e,Yo=e=>{typeof e!="string"&&e.statusText&&(e.message??=e.statusText);const t=G5(e);return Object.defineProperty(t,tv,{value:!0,configurable:!1,writable:!1}),Object.defineProperty(t,"status",{get:()=>t.statusCode,configurable:!0}),Object.defineProperty(t,"statusText",{get:()=>t.statusMessage,configurable:!0}),t};function ex(e){const t=nx(e),n=new ArrayBuffer(t.length),o=new DataView(n);for(let u=0;u>16),t+=String.fromCharCode((n&65280)>>8),t+=String.fromCharCode(n&255),n=o=0);return o===12?(n>>=4,t+=String.fromCharCode(n)):o===18&&(n>>=2,t+=String.fromCharCode((n&65280)>>8),t+=String.fromCharCode(n&255)),t}const ox=-1,ux=-2,rx=-3,ax=-4,sx=-5,ix=-6,lx=-7;function cx(e,t){return dx(JSON.parse(e),t)}function dx(e,t){if(typeof e=="number")return r(e,!0);if(!Array.isArray(e)||e.length===0)throw new Error("Invalid input");const n=e,o=Array(n.length);let u=null;function r(a,s=!1){if(a===ox)return;if(a===rx)return NaN;if(a===ax)return 1/0;if(a===sx)return-1/0;if(a===ix)return-0;if(s||typeof a!="number")throw new Error("Invalid input");if(a in o)return o[a];const i=n[a];if(!i||typeof i!="object")o[a]=i;else if(Array.isArray(i))if(typeof i[0]=="string"){const c=i[0],l=t&&Object.hasOwn(t,c)?t[c]:void 0;if(l){let d=i[1];if(typeof d!="number"&&(d=n.push(i[1])-1),u??=new Set,u.has(d))throw new Error("Invalid circular reference");return u.add(d),o[a]=l(r(d)),u.delete(d),o[a]}switch(c){case"Date":o[a]=new Date(i[1]);break;case"Set":const d=new Set;o[a]=d;for(let g=1;g=c)throw new Error("Invalid input");l[f]=r(i[d+1])}}else{const c=new Array(i.length);o[a]=c;for(let l=0;l`${yo(e)}=${t}`}},refresh:{metaKey:"http-equiv",unpack:{entrySeparator:";",resolve:({key:e,value:t})=>e==="seconds"?`${t}`:void 0}},robots:{unpack:{entrySeparator:", ",resolve:({key:e,value:t})=>typeof t=="boolean"?yo(e):`${yo(e)}:${t}`}},contentSecurityPolicy:{metaKey:"http-equiv",unpack:{entrySeparator:"; ",resolve:({key:e,value:t})=>`${yo(e)} ${t}`}},charset:{}};function yo(e){const t=e.replace(/([A-Z])/g,"-$1").toLowerCase(),n=t.indexOf("-");return n===-1?t:ya.META.has(t.slice(0,n))||ya.OG.has(t.slice(0,n))?e.replace(/([A-Z])/g,":$1").toLowerCase():t}function rv(e){return Object.fromEntries(Object.entries(e).filter(([t,n])=>String(n)!=="false"&&t))}function Oc(e){return Array.isArray(e)?e.map(Oc):!e||typeof e!="object"?e:Object.fromEntries(Object.entries(e).map(([t,n])=>[yo(t),Oc(n)]))}function av(e,t={}){const{entrySeparator:n="",keyValueSeparator:o="",wrapValue:u,resolve:r}=t;return Object.entries(e).map(([a,s])=>{if(r){const c=r({key:a,value:s});if(c!==void 0)return c}const i=typeof s=="object"?av(s,t):typeof s=="number"?s.toString():typeof s=="string"&&u?`${u}${s.replace(new RegExp(u,"g"),`\\${u}`)}${u}`:s;return`${a}${o}${i}`}).join(n)}function wp(e,t){const n=rv(t),o=yo(e),u=sv(o);if(!rd.has(o))return[{[u]:o,...n}];const r=Object.fromEntries(Object.entries(n).map(([a,s])=>[`${e}${a==="url"?"":`${a[0].toUpperCase()}${a.slice(1)}`}`,s]));return ri(r||{}).sort((a,s)=>(a[u]?.length||0)-(s[u]?.length||0))}function sv(e){if(uv[e]?.metaKey==="http-equiv"||ya.HTTP_EQUIV.has(e))return"http-equiv";const t=yo(e),n=t.indexOf(":");return n===-1?"name":ya.OG.has(t.slice(0,n))?"property":"name"}function bx(e){return yx[e]||yo(e)}function Ex(e,t){return t==="refresh"?`${e.seconds};url=${e.url}`:av(Oc(e),{keyValueSeparator:"=",entrySeparator:", ",resolve:({value:n,key:o})=>n===null?"":typeof n=="boolean"?o:void 0,...uv[t]?.unpack})}function ri(e){const t=[],n={};for(const[u,r]of Object.entries(e)){if(Array.isArray(r)){if(u==="themeColor"){r.forEach(a=>{typeof a=="object"&&a!==null&&t.push({name:"theme-color",...a})});continue}for(const a of r)if(typeof a=="object"&&a!==null){const s=[],i=[];for(const[c,l]of Object.entries(a)){const d=`${u}${c==="url"?"":`:${c}`}`,f=ri({[d]:l});(c==="url"?s:i).push(...f)}t.push(...s,...i)}else t.push(...typeof a=="string"?ri({[u]:a}):wp(u,a));continue}if(typeof r=="object"&&r)if(ya.MEDIA.has(u)){const a=u.startsWith("twitter")?"twitter":"og",s=u.replace(/^(og|twitter)/,"").toLowerCase(),i=a==="twitter"?"name":"property";r.url&&t.push({[i]:`${a}:${s}`,content:r.url}),r.secureUrl&&t.push({[i]:`${a}:${s}:secure_url`,content:r.secureUrl});for(const[c,l]of Object.entries(r))c!=="url"&&c!=="secureUrl"&&t.push({[i]:`${a}:${s}:${c}`,content:l})}else rd.has(yo(u))?t.push(...wp(u,r)):n[u]=rv(r);else n[u]=r}const o=Object.entries(n).map(([u,r])=>{if(u==="charset")return{charset:r===null?"_null":r};const a=sv(u),s=bx(u),i=r===null?"_null":typeof r=="object"?Ex(r,u):typeof r=="number"?r.toString():r;return a==="http-equiv"?{"http-equiv":s,content:i}:{[a]:s,content:i}});return[...t,...o].map(u=>"content"in u&&u.content==="_null"?{...u,content:null}:u)}const Cx={key:"flatMeta",hooks:{"entries:normalize":e=>{const t=[];e.tags=e.tags.map(n=>n.tag!=="_flatMeta"?n:(t.push(ri(n.props).map(o=>({...n,tag:"meta",props:o}))),!1)).filter(Boolean).concat(...t)}}},xx=["name","property","http-equiv"],Dx=new Set(["viewport","description","keywords","robots"]);function iv(e){const t=e.split(":");return t.length?rd.has(t[1]):!1}function Rc(e){const{props:t,tag:n}=e;if(mx.has(n))return n;if(n==="link"&&t.rel==="canonical")return"canonical";if(n==="link"&&t.rel==="alternate"){const o=t.hreflang||t.type;if(o)return`alternate:${o}`}if(t.charset)return"charset";if(e.tag==="meta"){for(const o of xx)if(t[o]!==void 0){const u=t[o],r=u&&typeof u=="string"&&u.includes(":"),a=u&&Dx.has(u),i=!(r||a)&&e.key?`:key:${e.key}`:"";return`${n}:${u}${i}`}}if(e.key)return`${n}:key:${e.key}`;if(t.id)return`${n}:id:${t.id}`;if(n==="link"&&t.rel==="alternate")return`alternate:${t.href||""}`;if(px.has(n)){const o=e.textContent||e.innerHTML;if(o)return`${n}:content:${o}`}}function lv(e){const t=e._h||e._d;if(t)return t;const n=e.textContent||e.innerHTML;return n||`${e.tag}:${Object.entries(e.props).map(([o,u])=>`${o}:${String(u)}`).join(",")}`}function ai(e,t,n){typeof e==="function"&&(!n||n!=="titleTemplate"&&!(n[0]==="o"&&n[1]==="n"))&&(e=e());const u=t?t(n,e):e;if(Array.isArray(u))return u.map(r=>ai(r,t));if(u?.constructor===Object){const r={};for(const a of Object.keys(u))r[a]=ai(u[a],t,a);return r}return u}function wx(e,t){const n=e==="style"?new Map:new Set;function o(u){if(u==null||u===void 0)return;const r=String(u).trim();if(r)if(e==="style"){const[a,...s]=r.split(":").map(i=>i?i.trim():"");a&&s.length&&n.set(a,s.join(":"))}else r.split(" ").filter(Boolean).forEach(a=>n.add(a))}return typeof t=="string"?e==="style"?t.split(";").forEach(o):o(t):Array.isArray(t)?t.forEach(u=>o(u)):t&&typeof t=="object"&&Object.entries(t).forEach(([u,r])=>{r&&r!=="false"&&(e==="style"?n.set(String(u).trim(),String(r)):o(u))}),n}function cv(e,t){if(e.props=e.props||{},!t)return e;if(e.tag==="templateParams")return e.props=t,e;const n=Mc.has(e.tag)||e.tag==="htmlAttrs"||e.tag==="bodyAttrs";return Object.entries(t).forEach(([o,u])=>{if(o==="__proto__"||o==="constructor"||o==="prototype")return;if(u===null){e.props[o]=null;return}if(o==="class"||o==="style"){e.props[o]=wx(o,u);return}if(gx.has(o)){if((o==="textContent"||o==="innerHTML")&&typeof u=="object"){let c=t.type;if(t.type||(c="application/json"),!c?.endsWith("json")&&c!=="speculationrules")return;t.type=c,e.props.type=c,e[o]=JSON.stringify(u)}else e[o]=u;return}const r=o.startsWith("data-"),a=n&&!r?o.toLowerCase():o,s=String(u),i=e.tag==="meta"&&a==="content";s==="true"||s===""?e.props[a]=r||i?s:!0:!u&&r&&s==="false"?e.props[a]="false":u!==void 0&&(e.props[a]=u)}),e}function Ax(e,t){const n=typeof t=="object"&&typeof t!="function"?t:{[e==="script"||e==="noscript"||e==="style"?"innerHTML":"textContent"]:t},o=cv({tag:e,props:{}},n);return o.key&&fx.has(o.tag)&&(o.props["data-hid"]=o._h=o.key),o.tag==="script"&&typeof o.innerHTML=="object"&&(o.innerHTML=JSON.stringify(o.innerHTML),o.props.type=o.props.type||"application/json"),Array.isArray(o.props.content)?o.props.content.map(u=>({...o,props:{...o.props,content:u}})):o}function Bx(e,t){if(!e)return[];typeof e=="function"&&(e=e());const n=(u,r)=>{for(let a=0;a{if(r!==void 0)for(const a of Array.isArray(r)?r:[r])o.push(Ax(u,a))}),o.flat()}const Ap=(e,t)=>e._w===t._w?e._p-t._p:e._w-t._w,Bp={base:-10,title:10},_x={critical:-8,high:-1,low:2},_p={meta:{"content-security-policy":-30,charset:-20,viewport:-15},link:{preconnect:20,stylesheet:60,preload:70,modulepreload:70,prefetch:90,"dns-prefetch":90,prerender:90},script:{async:30,defer:80,sync:50},style:{imported:40,sync:60}},kx=/@import/,Ir=e=>e===""||e===!0;function Sx(e,t){if(typeof t.tagPriority=="number")return t.tagPriority;let n=100;const o=_x[t.tagPriority]||0,u=e.resolvedOptions.disableCapoSorting?{link:{},script:{},style:{}}:_p;if(t.tag in Bp)n=Bp[t.tag];else if(t.tag==="meta"){const r=t.props["http-equiv"]==="content-security-policy"?"content-security-policy":t.props.charset?"charset":t.props.name==="viewport"?"viewport":null;r&&(n=_p.meta[r])}else if(t.tag==="link"&&t.props.rel)n=u.link[t.props.rel];else if(t.tag==="script"){const r=String(t.props.type);Ir(t.props.async)?n=u.script.async:t.props.src&&!Ir(t.props.defer)&&!Ir(t.props.async)&&r!=="module"&&!r.endsWith("json")||t.innerHTML&&!r.endsWith("json")?n=u.script.sync:(Ir(t.props.defer)&&t.props.src&&!Ir(t.props.async)||r==="module")&&(n=u.script.defer)}else t.tag==="style"&&(n=t.innerHTML&&kx.test(t.innerHTML)?u.style.imported:u.style.sync);return(n||100)+o}function kp(e,t){const n=typeof t=="function"?t(e):t,o=n.key||String(e.plugins.size+1);e.plugins.get(o)||(e.plugins.set(o,n),e.hooks.addHooks(n.hooks||{}))}function Tx(e={}){const t=W3();t.addHooks(e.hooks||{});const n=!e.document,o=new Map,u=new Map,r=new Set,a={_entryCount:1,plugins:u,dirty:!1,resolvedOptions:e,hooks:t,ssr:n,entries:o,headEntries(){return[...o.values()]},use:s=>kp(a,s),push(s,i){const c={...i||{}};delete c.head;const l=c._index??a._entryCount++,d={_i:l,input:s,options:c},f={_poll(p=!1){a.dirty=!0,!p&&r.add(l),t.callHook("entries:updated",a)},dispose(){o.delete(l)&&a.invalidate()},patch(p){(!c.mode||c.mode==="server"&&n||c.mode==="client"&&!n)&&(d.input=p,o.set(l,d),f._poll())}};return f.patch(s),f},async resolveTags(){const s={tagMap:new Map,tags:[],entries:[...a.entries.values()]};for(await t.callHook("entries:resolve",s);r.size;){const f=r.values().next().value;r.delete(f);const p=o.get(f);if(p){const m={tags:Bx(p.input,e.propResolvers||[]).map(g=>Object.assign(g,p.options)),entry:p};await t.callHook("entries:normalize",m),p._tags=m.tags.map((g,E)=>(g._w=Sx(a,g),g._p=(p._i<<10)+E,g._d=Rc(g),g._d||(g._h=lv(g)),g))}}let i=!1;s.entries.flatMap(f=>(f._tags||[]).map(p=>({...p,props:{...p.props}}))).sort(Ap).reduce((f,p)=>{const m=p._d||p._h;if(!f.has(m))return f.set(m,p);const g=f.get(m);if((p?.tagDuplicateStrategy||(vx.has(p.tag)?"merge":null)||(p.key&&p.key===g.key?"merge":null))==="merge"){const b={...g.props};Object.entries(p.props).forEach(([y,v])=>b[y]=y==="style"?new Map([...g.props.style||new Map,...v]):y==="class"?new Set([...g.props.class||new Set,...v]):v),f.set(m,{...p,props:b})}else p._p>>10===g._p>>10&&p.tag==="meta"&&iv(m)?(f.set(m,Object.assign([...Array.isArray(g)?g:[g],p],p)),i=!0):(p._w===g._w?p._p>g._p:p?._wkp(a,s)),a.hooks.callHook("init",a),e.init?.forEach(s=>s&&a.push(s)),a}const Fx=(e,t)=>nt(t)?Be(t):t,ad="usehead";function Px(e){return{install(n){n.config.globalProperties.$unhead=e,n.config.globalProperties.$head=e,n.provide(ad,e)}}.install}function dv(){if(yr()){const e=Ve(ad);if(e)return e}throw new Error("useHead() was called without provide context, ensure you call it through the setup() function.")}function fv(e,t={}){const n=t.head||dv();return n.ssr?n.push(e||{},t):Mx(n,e,t)}function Mx(e,t,n={}){const o=L(!1);let u;return mt(()=>{const a=o.value?{}:ai(t,Fx);u?u.patch(a):u=e.push(a,n)}),et()&&(Fo(()=>{u.dispose()}),Og(()=>{o.value=!0}),Mg(()=>{o.value=!1})),u}function Ox(e={},t={}){(t.head||dv()).use(Cx);const{title:o,titleTemplate:u,...r}=e;return fv({title:o,titleTemplate:u,_flatMeta:r},t)}function pv(e){const t=e||Ie();return t.ssrContext?.head||t.runWithContext(()=>{if(yr()){const n=Ve(ad);if(!n)throw new Error("[nuxt] [unhead] Missing Unhead instance.");return n}})}function sd(e,t={}){const n=t.head||pv(t.nuxt);return fv(e,{head:n,...t})}function hv(e,t={}){const n=t.head||pv(t.nuxt);return Ox(e,{head:n,...t})}const Rx=(()=>{const e={prerender:!0},t={},n={payload:!1};return(o,u)=>{let r=[];const a="__rou3_unnamed_",i=d=>{if(!d)return d;for(const f in d)f.startsWith(a)&&(d[f.slice(15)]=d[f],delete d[f]);return d};u.charCodeAt(u.length-1)===47&&(u=u.slice(0,-1)||"/"),u==="/__nuxt_content/docs/sql_dump.txt"?r.unshift({data:e}):u==="/__nuxt_content/landing/sql_dump.txt"?r.unshift({data:e}):u==="/assets"&&r.unshift({data:t});let c=u.split("/"),l=c.length;return l>1&&c[1]==="__nuxt_content"&&r.unshift({data:n,params:{_:c.slice(2).join("/")}}),(l===2||l===1)&&l>1&&/^assets(?<__rou3_unnamed_0>[^/]*)(?<__rou3_unnamed_1>[^/]*)$/.test(c[1])&&r.unshift({data:t,params:{...i(/^assets(?<__rou3_unnamed_0>[^/]*)(?<__rou3_unnamed_1>[^/]*)$/.exec(c[1])?.groups)}}),r}})(),mv=e=>Ot({},...Rx("",e).map(t=>t.data).reverse()),Ix=mv;let Rs;function Lx(){return Rs=$fetch(ud(`builds/meta/${Qt().app.buildId}.json`),{responseType:"json"}),Rs.catch(e=>{console.error("[nuxt] Error fetching app manifest.",e)}),Rs}function id(){return Rs||Lx()}function Gi(e){const t=typeof e=="string"?e:e.path;try{return Ix(t)}catch(n){return console.error("[nuxt] Error matching route rules.",n),{}}}async function Sp(e,t={}){if(await Nx(e)){const n=await $x(e,t);return await gv(n)||null}return null}const qx="_payload.json";async function $x(e,t={}){const n=new URL(e,"http://localhost");if(n.host!=="localhost"||Tn(n.pathname,{acceptRelative:!0}))throw new Error("Payload URL must not include hostname: "+e);const o=Qt(),u=t.hash||(t.fresh?Date.now():o.app.buildId),r=o.app.cdnURL,a=r&&await jx(e)?r:o.app.baseURL;return Cr(a,n.pathname,qx+(u?`?${u}`:""))}async function gv(e){const t=fetch(e,{cache:"force-cache"}).then(n=>n.text().then(bv));try{return await t}catch(n){console.warn("[nuxt] Cannot load payload ",e,n)}return null}function vv(e){if(e.redirect)return!1;if(e.prerender)return!0}async function yv(e){return e=e==="/"?e:e.replace(/\/$/,""),(await id()).prerendered.includes(e)}async function Nx(e=Fn().path){const t=Gi({path:e});if(t.ssr===!1)return!1;const n=vv(t);return n!==void 0?n:t.payload?!0:await yv(e)}async function jx(e=Fn().path){const t=vv(Gi({path:e}));return t!==void 0?t:await yv(e)}let ru=null;async function Vx(){if(ru)return ru;const e=document.getElementById("__NUXT_DATA__");if(!e)return{};const t=await bv(e.textContent||""),n=e.dataset.src?await gv(e.dataset.src):void 0;return ru={...t,...n,...window.__NUXT__},ru.config?.public&&(ru.config.public=Tt(ru.config.public)),ru}async function bv(e){return await cx(e,Ie()._payloadRevivers)}function zx(e,t){Ie()._payloadRevivers[e]=t}function Tp(e){try{return JSON.parse(e)}catch{return e}}const Ev=[["NuxtError",e=>Yo(e)],["EmptyShallowRef",e=>$e(e==="_"?void 0:e==="0n"?BigInt(0):Tp(e))],["EmptyRef",e=>L(e==="_"?void 0:e==="0n"?BigInt(0):Tp(e))],["ShallowRef",e=>$e(e)],["ShallowReactive",e=>Bn(e)],["Ref",e=>L(e)],["Reactive",e=>Tt(e)]];Ev.push(["Island",({key:e,params:t,result:n})=>{const o=Ie();return o.isHydrating||(o.payload.data[e]||=$fetch(`/__nuxt_island/${e}.json`,{responseType:"json",...t?{params:t}:{}}).then(u=>(o.payload.data[e]=u,u))),{html:"",...n}}]);const Ux=tn({name:"nuxt:revive-payload:client",order:-30,async setup(e){let t,n;for(const[o,u]of Ev)zx(o,u);Object.assign(e.payload,([t,n]=Eu(()=>e.runWithContext(Vx)),t=await t,n(),t)),delete window.__NUXT__}});async function ld(e,t={}){const n=t.document||e.resolvedOptions.document;if(!n||!e.dirty)return;const o={shouldRender:!0,tags:[]};if(await e.hooks.callHook("dom:beforeRender",o),!!o.shouldRender)return e._domUpdatePromise||(e._domUpdatePromise=new Promise(async u=>{const r=new Map,a=new Promise(p=>{e.resolveTags().then(m=>{p(m.map(g=>{const E=r.get(g._d)||0,b={tag:g,id:(E?`${g._d}:${E}`:g._d)||g._h,shouldRender:!0};return g._d&&iv(g._d)&&r.set(g._d,E+1),b}))})});let s=e._dom;if(!s){s={title:n.title,elMap:new Map().set("htmlAttrs",n.documentElement).set("bodyAttrs",n.body)};for(const p of["body","head"]){const m=n[p]?.children;for(const g of m){const E=g.tagName.toLowerCase();if(!Mc.has(E))continue;const b=cv({tag:E,props:{}},{innerHTML:g.innerHTML,...g.getAttributeNames().reduce((y,v)=>(y[v]=g.getAttribute(v),y),{})||{}});if(b.key=g.getAttribute("data-hid")||void 0,b._d=Rc(b)||lv(b),s.elMap.has(b._d)){let y=1,v=b._d;for(;s.elMap.has(v);)v=`${b._d}:${y++}`;s.elMap.set(v,g)}else s.elMap.set(b._d,g)}}}s.pendingSideEffects={...s.sideEffects},s.sideEffects={};function i(p,m,g){const E=`${p}:${m}`;s.sideEffects[E]=g,delete s.pendingSideEffects[E]}function c({id:p,$el:m,tag:g}){const E=g.tag.endsWith("Attrs");s.elMap.set(p,m),E||(g.textContent&&g.textContent!==m.textContent&&(m.textContent=g.textContent),g.innerHTML&&g.innerHTML!==m.innerHTML&&(m.innerHTML=g.innerHTML),i(p,"el",()=>{m?.remove(),s.elMap.delete(p)}));for(const b in g.props){if(!Object.prototype.hasOwnProperty.call(g.props,b))continue;const y=g.props[b];if(b.startsWith("on")&&typeof y=="function"){const C=m?.dataset;if(C&&C[`${b}fired`]){const x=b.slice(0,-5);y.call(m,new Event(x.substring(2)))}m.getAttribute(`data-${b}`)!==""&&((g.tag==="bodyAttrs"?n.defaultView:m).addEventListener(b.substring(2),y.bind(m)),m.setAttribute(`data-${b}`,""));continue}const v=`attr:${b}`;if(b==="class"){if(!y)continue;for(const C of y)E&&i(p,`${v}:${C}`,()=>m.classList.remove(C)),!m.classList.contains(C)&&m.classList.add(C)}else if(b==="style"){if(!y)continue;for(const[C,x]of y)i(p,`${v}:${C}`,()=>{m.style.removeProperty(C)}),m.style.setProperty(C,x)}else y!==!1&&y!==null&&(m.getAttribute(b)!==y&&m.setAttribute(b,y===!0?"":String(y)),E&&i(p,v,()=>m.removeAttribute(b)))}}const l=[],d={bodyClose:void 0,bodyOpen:void 0,head:void 0},f=await a;for(const p of f){const{tag:m,shouldRender:g,id:E}=p;if(g){if(m.tag==="title"){n.title=m.textContent,i("title","",()=>n.title=s.title);continue}p.$el=p.$el||s.elMap.get(E),p.$el?c(p):Mc.has(m.tag)&&l.push(p)}}for(const p of l){const m=p.tag.tagPosition||"head";p.$el=n.createElement(p.tag.tag),c(p),d[m]=d[m]||n.createDocumentFragment(),d[m].appendChild(p.$el)}for(const p of f)await e.hooks.callHook("dom:renderTag",p,n,i);d.head&&n.head.appendChild(d.head),d.bodyOpen&&n.body.insertBefore(d.bodyOpen,n.body.firstChild),d.bodyClose&&n.body.appendChild(d.bodyClose);for(const p in s.pendingSideEffects)s.pendingSideEffects[p]();e._dom=s,await e.hooks.callHook("dom:rendered",{renders:f}),u()}).finally(()=>{e._domUpdatePromise=void 0,e.dirty=!1})),e._domUpdatePromise}function Hx(e={}){const t=e.domOptions?.render||ld;e.document=e.document||(typeof window<"u"?document:void 0);const n=e.document?.head.querySelector('script[id="unhead:payload"]')?.innerHTML||!1;return Tx({...e,plugins:[...e.plugins||[],{key:"client",hooks:{"entries:updated":t}}],init:[n?JSON.parse(n):!1,...e.init||[]]})}function Kx(e,t){let n=0;return()=>{const o=++n;t(()=>{n===o&&e()})}}function Wx(e={}){const t=Hx({domOptions:{render:Kx(()=>ld(t),n=>setTimeout(n,0))},...e});return t.install=Px(t),t}const Gx={disableDefaults:!0},Yx=tn({name:"nuxt:head",enforce:"pre",setup(e){const t=Wx(Gx);e.vueApp.use(t);{let n=!0;const o=async()=>{n=!1,await ld(t)};t.hooks.hook("dom:beforeRender",u=>{u.shouldRender=!n}),e.hooks.hook("page:start",()=>{n=!0}),e.hooks.hook("page:finish",()=>{e.isHydrating||o()}),e.hooks.hook("app:error",o),e.hooks.hook("app:suspense:resolve",o)}}});const Vu=typeof document<"u";function Cv(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function Zx(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&Cv(e.default)}const Xe=Object.assign;function Tl(e,t){const n={};for(const o in t){const u=t[o];n[o]=Nn(u)?u.map(e):e(u)}return n}const ua=()=>{},Nn=Array.isArray;function Fp(e,t){const n={};for(const o in e)n[o]=o in t?t[o]:e[o];return n}let gt=(function(e){return e[e.MATCHER_NOT_FOUND=1]="MATCHER_NOT_FOUND",e[e.NAVIGATION_GUARD_REDIRECT=2]="NAVIGATION_GUARD_REDIRECT",e[e.NAVIGATION_ABORTED=4]="NAVIGATION_ABORTED",e[e.NAVIGATION_CANCELLED=8]="NAVIGATION_CANCELLED",e[e.NAVIGATION_DUPLICATED=16]="NAVIGATION_DUPLICATED",e})({});const xv=Symbol("");gt.MATCHER_NOT_FOUND+"",gt.NAVIGATION_GUARD_REDIRECT+"",gt.NAVIGATION_ABORTED+"",gt.NAVIGATION_CANCELLED+"",gt.NAVIGATION_DUPLICATED+"";function ar(e,t){return Xe(new Error,{type:e,[xv]:!0},t)}function co(e,t){return e instanceof Error&&xv in e&&(t==null||!!(e.type&t))}const Xx=["params","query","hash"];function Jx(e){if(typeof e=="string")return e;if(e.path!=null)return e.path;const t={};for(const n of Xx)n in e&&(t[n]=e[n]);return JSON.stringify(t,null,2)}const Qx=Symbol(""),Pp=Symbol(""),cd=Symbol(""),dd=Symbol(""),Ic=Symbol("");function Dv(e){return Ve(dd)}const eD={trailing:!0};function tD(e,t=25,n={}){if(n={...eD,...n},!Number.isFinite(t))throw new TypeError("Expected `wait` to be a finite number");let o,u,r=[],a,s;const i=(d,f)=>(a=nD(e,d,f),a.finally(()=>{if(a=null,n.trailing&&s&&!u){const p=i(d,s);return s=null,p}}),a),c=function(...d){return n.trailing&&(s=d),a||new Promise(f=>{const p=!u&&n.leading;clearTimeout(u),u=setTimeout(()=>{u=null;const m=n.leading?o:i(this,d);s=null;for(const g of r)g(m);r=[]},t),p?(o=i(this,d),f(o)):r.push(f)})},l=d=>{d&&(clearTimeout(d),u=null)};return c.isPending=()=>!!u,c.cancel=()=>{l(u),r=[],s=null},c.flush=()=>{if(l(u),!s||a)return;const d=s;return s=null,i(this,d)},c}async function nD(e,t,n){return await e.apply(t,n)}const wv=/#/g,oD=/&/g,uD=/\//g,rD=/=/g,aD=/\?/g,Av=/\+/g,sD=/%5B/g,iD=/%5D/g,Bv=/%5E/g,lD=/%60/g,_v=/%7B/g,cD=/%7C/g,kv=/%7D/g,dD=/%20/g;function fd(e){return e==null?"":encodeURI(""+e).replace(cD,"|").replace(sD,"[").replace(iD,"]")}function fD(e){return fd(e).replace(_v,"{").replace(kv,"}").replace(Bv,"^")}function Lc(e){return fd(e).replace(Av,"%2B").replace(dD,"+").replace(wv,"%23").replace(oD,"%26").replace(lD,"`").replace(_v,"{").replace(kv,"}").replace(Bv,"^")}function pD(e){return Lc(e).replace(rD,"%3D")}function hD(e){return fd(e).replace(wv,"%23").replace(aD,"%3F")}function mD(e){return hD(e).replace(uD,"%2F")}function ba(e){if(e==null)return null;try{return decodeURIComponent(""+e)}catch{}return""+e}const gD=/\/$/,vD=e=>e.replace(gD,"");function Fl(e,t,n="/"){let o,u={},r="",a="";const s=t.indexOf("#");let i=t.indexOf("?");return i=s>=0&&i>s?-1:i,i>=0&&(o=t.slice(0,i),r=t.slice(i,s>0?s:t.length),u=e(r.slice(1))),s>=0&&(o=o||t.slice(0,s),a=t.slice(s,t.length)),o=CD(o??t,n),{fullPath:o+r+a,path:o,query:u,hash:ba(a)}}function yD(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function Mp(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function bD(e,t,n){const o=t.matched.length-1,u=n.matched.length-1;return o>-1&&o===u&&sr(t.matched[o],n.matched[u])&&Sv(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function sr(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Sv(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(var n in e)if(!ED(e[n],t[n]))return!1;return!0}function ED(e,t){return Nn(e)?Op(e,t):Nn(t)?Op(t,e):(e&&e.valueOf())===(t&&t.valueOf())}function Op(e,t){return Nn(t)?e.length===t.length&&e.every((n,o)=>n===t[o]):e.length===1&&e[0]===t}function CD(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),o=e.split("/"),u=o[o.length-1];(u===".."||u===".")&&o.push("");let r=n.length-1,a,s;for(a=0;a1&&r--;else break;return n.slice(0,r).join("/")+"/"+o.slice(a).join("/")}const An={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};let qc=(function(e){return e.pop="pop",e.push="push",e})({}),Pl=(function(e){return e.back="back",e.forward="forward",e.unknown="",e})({});function xD(e){if(!e)if(Vu){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),vD(e)}const DD=/^[^#]+#/;function wD(e,t){return e.replace(DD,"#")+t}function AD(e,t){const n=document.documentElement.getBoundingClientRect(),o=e.getBoundingClientRect();return{behavior:t.behavior,left:o.left-n.left-(t.left||0),top:o.top-n.top-(t.top||0)}}const Yi=()=>({left:window.scrollX,top:window.scrollY});function BD(e){let t;if("el"in e){const n=e.el,o=typeof n=="string"&&n.startsWith("#"),u=typeof n=="string"?o?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!u)return;t=AD(u,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.scrollX,t.top!=null?t.top:window.scrollY)}function Rp(e,t){return(history.state?history.state.position-t:-1)+e}const $c=new Map;function _D(e,t){$c.set(e,t)}function kD(e){const t=$c.get(e);return $c.delete(e),t}function SD(e){return typeof e=="string"||e&&typeof e=="object"}function Tv(e){return typeof e=="string"||typeof e=="symbol"}function TD(e){const t={};if(e===""||e==="?")return t;const n=(e[0]==="?"?e.slice(1):e).split("&");for(let o=0;ou&&Lc(u)):[o&&Lc(o)]).forEach(u=>{u!==void 0&&(t+=(t.length?"&":"")+n,u!=null&&(t+="="+u))})}return t}function FD(e){const t={};for(const n in e){const o=e[n];o!==void 0&&(t[n]=Nn(o)?o.map(u=>u==null?null:""+u):o==null?o:""+o)}return t}function Lr(){let e=[];function t(o){return e.push(o),()=>{const u=e.indexOf(o);u>-1&&e.splice(u,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function zo(e,t,n,o,u,r=a=>a()){const a=o&&(o.enterCallbacks[u]=o.enterCallbacks[u]||[]);return()=>new Promise((s,i)=>{const c=f=>{f===!1?i(ar(gt.NAVIGATION_ABORTED,{from:n,to:t})):f instanceof Error?i(f):SD(f)?i(ar(gt.NAVIGATION_GUARD_REDIRECT,{from:t,to:f})):(a&&o.enterCallbacks[u]===a&&typeof f=="function"&&a.push(f),s())},l=r(()=>e.call(o&&o.instances[u],t,n,c));let d=Promise.resolve(l);e.length<3&&(d=d.then(c)),d.catch(f=>i(f))})}function Ml(e,t,n,o,u=r=>r()){const r=[];for(const a of e)for(const s in a.components){let i=a.components[s];if(!(t!=="beforeRouteEnter"&&!a.instances[s]))if(Cv(i)){const c=(i.__vccOpts||i)[t];c&&r.push(zo(c,n,o,a,s,u))}else{let c=i();r.push(()=>c.then(l=>{if(!l)throw new Error(`Couldn't resolve component "${s}" at "${a.path}"`);const d=Zx(l)?l.default:l;a.mods[s]=l,a.components[s]=d;const f=(d.__vccOpts||d)[t];return f&&zo(f,n,o,a,s,u)()}))}}return r}function PD(e,t){const n=[],o=[],u=[],r=Math.max(t.matched.length,e.matched.length);for(let a=0;asr(c,s))?o.push(s):n.push(s));const i=e.matched[a];i&&(t.matched.find(c=>sr(c,i))||u.push(i))}return[n,o,u]}let MD=()=>location.protocol+"//"+location.host;function Fv(e,t){const{pathname:n,search:o,hash:u}=t,r=e.indexOf("#");if(r>-1){let a=u.includes(e.slice(r))?e.slice(r).length:1,s=u.slice(a);return s[0]!=="/"&&(s="/"+s),Mp(s,"")}return Mp(n,e)+o+u}function OD(e,t,n,o){let u=[],r=[],a=null;const s=({state:f})=>{const p=Fv(e,location),m=n.value,g=t.value;let E=0;if(f){if(n.value=p,t.value=f,a&&a===m){a=null;return}E=g?f.position-g.position:0}else o(p);u.forEach(b=>{b(n.value,m,{delta:E,type:qc.pop,direction:E?E>0?Pl.forward:Pl.back:Pl.unknown})})};function i(){a=n.value}function c(f){u.push(f);const p=()=>{const m=u.indexOf(f);m>-1&&u.splice(m,1)};return r.push(p),p}function l(){if(document.visibilityState==="hidden"){const{history:f}=window;if(!f.state)return;f.replaceState(Xe({},f.state,{scroll:Yi()}),"")}}function d(){for(const f of r)f();r=[],window.removeEventListener("popstate",s),window.removeEventListener("pagehide",l),document.removeEventListener("visibilitychange",l)}return window.addEventListener("popstate",s),window.addEventListener("pagehide",l),document.addEventListener("visibilitychange",l),{pauseListeners:i,listen:c,destroy:d}}function Lp(e,t,n,o=!1,u=!1){return{back:e,current:t,forward:n,replaced:o,position:window.history.length,scroll:u?Yi():null}}function RD(e){const{history:t,location:n}=window,o={value:Fv(e,n)},u={value:t.state};u.value||r(o.value,{back:null,current:o.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function r(i,c,l){const d=e.indexOf("#"),f=d>-1?(n.host&&document.querySelector("base")?e:e.slice(d))+i:MD()+e+i;try{t[l?"replaceState":"pushState"](c,"",f),u.value=c}catch(p){console.error(p),n[l?"replace":"assign"](f)}}function a(i,c){r(i,Xe({},t.state,Lp(u.value.back,i,u.value.forward,!0),c,{position:u.value.position}),!0),o.value=i}function s(i,c){const l=Xe({},u.value,t.state,{forward:i,scroll:Yi()});r(l.current,l,!0),r(i,Xe({},Lp(o.value,i,null),{position:l.position+1},c),!1),o.value=i}return{location:o,state:u,push:s,replace:a}}function ID(e){e=xD(e);const t=RD(e),n=OD(e,t.state,t.location,t.replace);function o(r,a=!0){a||n.pauseListeners(),history.go(r)}const u=Xe({location:"",base:e,go:o,createHref:wD.bind(null,e)},t,n);return Object.defineProperty(u,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(u,"state",{enumerable:!0,get:()=>t.state.value}),u}let pu=(function(e){return e[e.Static=0]="Static",e[e.Param=1]="Param",e[e.Group=2]="Group",e})({});var _t=(function(e){return e[e.Static=0]="Static",e[e.Param=1]="Param",e[e.ParamRegExp=2]="ParamRegExp",e[e.ParamRegExpEnd=3]="ParamRegExpEnd",e[e.EscapeNext=4]="EscapeNext",e})(_t||{});const LD={type:pu.Static,value:""},qD=/[a-zA-Z0-9_]/;function $D(e){if(!e)return[[]];if(e==="/")return[[LD]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(p){throw new Error(`ERR (${n})/"${c}": ${p}`)}let n=_t.Static,o=n;const u=[];let r;function a(){r&&u.push(r),r=[]}let s=0,i,c="",l="";function d(){c&&(n===_t.Static?r.push({type:pu.Static,value:c}):n===_t.Param||n===_t.ParamRegExp||n===_t.ParamRegExpEnd?(r.length>1&&(i==="*"||i==="+")&&t(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),r.push({type:pu.Param,value:c,regexp:l,repeatable:i==="*"||i==="+",optional:i==="*"||i==="?"})):t("Invalid state to consume buffer"),c="")}function f(){c+=i}for(;st.length?t.length===1&&t[0]===Gt.Static+Gt.Segment?1:-1:0}function Pv(e,t){let n=0;const o=e.score,u=t.score;for(;n0&&t[t.length-1]<0}const UD={strict:!1,end:!0,sensitive:!1};function HD(e,t,n){const o=VD($D(e.path),n),u=Xe(o,{record:e,parent:t,children:[],alias:[]});return t&&!u.record.aliasOf==!t.record.aliasOf&&t.children.push(u),u}function KD(e,t){const n=[],o=new Map;t=Fp(UD,t);function u(d){return o.get(d)}function r(d,f,p){const m=!p,g=jp(d);g.aliasOf=p&&p.record;const E=Fp(t,d),b=[g];if("alias"in d){const C=typeof d.alias=="string"?[d.alias]:d.alias;for(const x of C)b.push(jp(Xe({},g,{components:p?p.record.components:g.components,path:x,aliasOf:p?p.record:g})))}let y,v;for(const C of b){const{path:x}=C;if(f&&x[0]!=="/"){const w=f.record.path,B=w[w.length-1]==="/"?"":"/";C.path=f.record.path+(x&&B+x)}if(y=HD(C,f,E),p?p.alias.push(y):(v=v||y,v!==y&&v.alias.push(y),m&&d.name&&!Vp(y)&&a(d.name)),Mv(y)&&i(y),g.children){const w=g.children;for(let B=0;B{a(v)}:ua}function a(d){if(Tv(d)){const f=o.get(d);f&&(o.delete(d),n.splice(n.indexOf(f),1),f.children.forEach(a),f.alias.forEach(a))}else{const f=n.indexOf(d);f>-1&&(n.splice(f,1),d.record.name&&o.delete(d.record.name),d.children.forEach(a),d.alias.forEach(a))}}function s(){return n}function i(d){const f=YD(d,n);n.splice(f,0,d),d.record.name&&!Vp(d)&&o.set(d.record.name,d)}function c(d,f){let p,m={},g,E;if("name"in d&&d.name){if(p=o.get(d.name),!p)throw ar(gt.MATCHER_NOT_FOUND,{location:d});E=p.record.name,m=Xe(Np(f.params,p.keys.filter(v=>!v.optional).concat(p.parent?p.parent.keys.filter(v=>v.optional):[]).map(v=>v.name)),d.params&&Np(d.params,p.keys.map(v=>v.name))),g=p.stringify(m)}else if(d.path!=null)g=d.path,p=n.find(v=>v.re.test(g)),p&&(m=p.parse(g),E=p.record.name);else{if(p=f.name?o.get(f.name):n.find(v=>v.re.test(f.path)),!p)throw ar(gt.MATCHER_NOT_FOUND,{location:d,currentLocation:f});E=p.record.name,m=Xe({},f.params,d.params),g=p.stringify(m)}const b=[];let y=p;for(;y;)b.unshift(y.record),y=y.parent;return{name:E,path:g,params:m,matched:b,meta:GD(b)}}e.forEach(d=>r(d));function l(){n.length=0,o.clear()}return{addRoute:r,resolve:c,removeRoute:a,clearRoutes:l,getRoutes:s,getRecordMatcher:u}}function Np(e,t){const n={};for(const o of t)o in e&&(n[o]=e[o]);return n}function jp(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:WD(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}};return Object.defineProperty(t,"mods",{value:{}}),t}function WD(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const o in e.components)t[o]=typeof n=="object"?n[o]:n;return t}function Vp(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function GD(e){return e.reduce((t,n)=>Xe(t,n.meta),{})}function YD(e,t){let n=0,o=t.length;for(;n!==o;){const r=n+o>>1;Pv(e,t[r])<0?o=r:n=r+1}const u=ZD(e);return u&&(o=t.lastIndexOf(u,o-1)),o}function ZD(e){let t=e;for(;t=t.parent;)if(Mv(t)&&Pv(e,t)===0)return t}function Mv({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function zp(e){const t=Ve(cd),n=Ve(dd),o=S(()=>{const i=h(e.to);return t.resolve(i)}),u=S(()=>{const{matched:i}=o.value,{length:c}=i,l=i[c-1],d=n.matched;if(!l||!d.length)return-1;const f=d.findIndex(sr.bind(null,l));if(f>-1)return f;const p=Up(i[c-2]);return c>1&&Up(l)===p&&d[d.length-1].path!==p?d.findIndex(sr.bind(null,i[c-2])):f}),r=S(()=>u.value>-1&&t9(n.params,o.value.params)),a=S(()=>u.value>-1&&u.value===n.matched.length-1&&Sv(n.params,o.value.params));function s(i={}){if(e9(i)){const c=t[h(e.replace)?"replace":"push"](h(e.to)).catch(ua);return e.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>c),c}return Promise.resolve()}return{route:o,href:S(()=>o.value.href),isActive:r,isExactActive:a,navigate:s}}function XD(e){return e.length===1?e[0]:e}const JD=N({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"},viewTransition:Boolean},useLink:zp,setup(e,{slots:t}){const n=Tt(zp(e)),{options:o}=Ve(cd),u=S(()=>({[Hp(e.activeClass,o.linkActiveClass,"router-link-active")]:n.isActive,[Hp(e.exactActiveClass,o.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const r=t.default&&XD(t.default(n));return e.custom?r:ze("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:u.value},r)}}}),QD=JD;function e9(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function t9(e,t){for(const n in t){const o=t[n],u=e[n];if(typeof o=="string"){if(o!==u)return!1}else if(!Nn(u)||u.length!==o.length||o.some((r,a)=>r.valueOf()!==u[a].valueOf()))return!1}return!0}function Up(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Hp=(e,t,n)=>e??t??n,n9=N({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const o=Ve(Ic),u=S(()=>e.route||o.value),r=Ve(Pp,0),a=S(()=>{let c=h(r);const{matched:l}=u.value;let d;for(;(d=l[c])&&!d.components;)c++;return c}),s=S(()=>u.value.matched[a.value]);St(Pp,S(()=>a.value+1)),St(Qx,s),St(Ic,u);const i=L();return Ce(()=>[i.value,s.value,e.name],([c,l,d],[f,p,m])=>{l&&(l.instances[d]=c,p&&p!==l&&c&&c===f&&(l.leaveGuards.size||(l.leaveGuards=p.leaveGuards),l.updateGuards.size||(l.updateGuards=p.updateGuards))),c&&l&&(!p||!sr(l,p)||!f)&&(l.enterCallbacks[d]||[]).forEach(g=>g(c))},{flush:"post"}),()=>{const c=u.value,l=e.name,d=s.value,f=d&&d.components[l];if(!f)return Kp(n.default,{Component:f,route:c});const p=d.props[l],m=p?p===!0?c.params:typeof p=="function"?p(c):p:null,E=ze(f,Xe({},m,t,{onVnodeUnmounted:b=>{b.component.isUnmounted&&(d.instances[l]=null)},ref:i}));return Kp(n.default,{Component:E,route:c})||E}}});function Kp(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const Ov=n9;function o9(e){const t=KD(e.routes,e),n=e.parseQuery||TD,o=e.stringifyQuery||Ip,u=e.history,r=Lr(),a=Lr(),s=Lr(),i=$e(An);let c=An;Vu&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const l=Tl.bind(null,U=>""+U),d=Tl.bind(null,mD),f=Tl.bind(null,ba);function p(U,ie){let ee,ye;return Tv(U)?(ee=t.getRecordMatcher(U),ye=ie):ye=U,t.addRoute(ye,ee)}function m(U){const ie=t.getRecordMatcher(U);ie&&t.removeRoute(ie)}function g(){return t.getRoutes().map(U=>U.record)}function E(U){return!!t.getRecordMatcher(U)}function b(U,ie){if(ie=Xe({},ie||i.value),typeof U=="string"){const P=Fl(n,U,ie.path),$=t.resolve({path:P.path},ie),J=u.createHref(P.fullPath);return Xe(P,$,{params:f($.params),hash:ba(P.hash),redirectedFrom:void 0,href:J})}let ee;if(U.path!=null)ee=Xe({},U,{path:Fl(n,U.path,ie.path).path});else{const P=Xe({},U.params);for(const $ in P)P[$]==null&&delete P[$];ee=Xe({},U,{params:d(P)}),ie.params=d(ie.params)}const ye=t.resolve(ee,ie),_e=U.hash||"";ye.params=l(f(ye.params));const Ue=yD(o,Xe({},U,{hash:fD(_e),path:ye.path})),A=u.createHref(Ue);return Xe({fullPath:Ue,hash:_e,query:o===Ip?FD(U.query):U.query||{}},ye,{redirectedFrom:void 0,href:A})}function y(U){return typeof U=="string"?Fl(n,U,i.value.path):Xe({},U)}function v(U,ie){if(c!==U)return ar(gt.NAVIGATION_CANCELLED,{from:ie,to:U})}function C(U){return B(U)}function x(U){return C(Xe(y(U),{replace:!0}))}function w(U,ie){const ee=U.matched[U.matched.length-1];if(ee&&ee.redirect){const{redirect:ye}=ee;let _e=typeof ye=="function"?ye(U,ie):ye;return typeof _e=="string"&&(_e=_e.includes("?")||_e.includes("#")?_e=y(_e):{path:_e},_e.params={}),Xe({query:U.query,hash:U.hash,params:_e.path!=null?{}:U.params},_e)}}function B(U,ie){const ee=c=b(U),ye=i.value,_e=U.state,Ue=U.force,A=U.replace===!0,P=w(ee,ye);if(P)return B(Xe(y(P),{state:typeof P=="object"?Xe({},_e,P.state):_e,force:Ue,replace:A}),ie||ee);const $=ee;$.redirectedFrom=ie;let J;return!Ue&&bD(o,ye,ee)&&(J=ar(gt.NAVIGATION_DUPLICATED,{to:$,from:ye}),Ke(ye,ye,!0,!1)),(J?Promise.resolve(J):R($,ye)).catch(K=>co(K)?co(K,gt.NAVIGATION_GUARD_REDIRECT)?K:se(K):V(K,$,ye)).then(K=>{if(K){if(co(K,gt.NAVIGATION_GUARD_REDIRECT))return B(Xe({replace:A},y(K.to),{state:typeof K.to=="object"?Xe({},_e,K.to.state):_e,force:Ue}),ie||$)}else K=q($,ye,!0,A,_e);return Z($,ye,K),K})}function _(U,ie){const ee=v(U,ie);return ee?Promise.reject(ee):Promise.resolve()}function F(U){const ie=ct.values().next().value;return ie&&typeof ie.runWithContext=="function"?ie.runWithContext(U):U()}function R(U,ie){let ee;const[ye,_e,Ue]=PD(U,ie);ee=Ml(ye.reverse(),"beforeRouteLeave",U,ie);for(const P of ye)P.leaveGuards.forEach($=>{ee.push(zo($,U,ie))});const A=_.bind(null,U,ie);return ee.push(A),Pe(ee).then(()=>{ee=[];for(const P of r.list())ee.push(zo(P,U,ie));return ee.push(A),Pe(ee)}).then(()=>{ee=Ml(_e,"beforeRouteUpdate",U,ie);for(const P of _e)P.updateGuards.forEach($=>{ee.push(zo($,U,ie))});return ee.push(A),Pe(ee)}).then(()=>{ee=[];for(const P of Ue)if(P.beforeEnter)if(Nn(P.beforeEnter))for(const $ of P.beforeEnter)ee.push(zo($,U,ie));else ee.push(zo(P.beforeEnter,U,ie));return ee.push(A),Pe(ee)}).then(()=>(U.matched.forEach(P=>P.enterCallbacks={}),ee=Ml(Ue,"beforeRouteEnter",U,ie,F),ee.push(A),Pe(ee))).then(()=>{ee=[];for(const P of a.list())ee.push(zo(P,U,ie));return ee.push(A),Pe(ee)}).catch(P=>co(P,gt.NAVIGATION_CANCELLED)?P:Promise.reject(P))}function Z(U,ie,ee){s.list().forEach(ye=>F(()=>ye(U,ie,ee)))}function q(U,ie,ee,ye,_e){const Ue=v(U,ie);if(Ue)return Ue;const A=ie===An,P=Vu?history.state:{};ee&&(ye||A?u.replace(U.fullPath,Xe({scroll:A&&P&&P.scroll},_e)):u.push(U.fullPath,_e)),i.value=U,Ke(U,ie,ee,A),se()}let Q;function X(){Q||(Q=u.listen((U,ie,ee)=>{if(!Te.listening)return;const ye=b(U),_e=w(ye,Te.currentRoute.value);if(_e){B(Xe(_e,{replace:!0,force:!0}),ye).catch(ua);return}c=ye;const Ue=i.value;Vu&&_D(Rp(Ue.fullPath,ee.delta),Yi()),R(ye,Ue).catch(A=>co(A,gt.NAVIGATION_ABORTED|gt.NAVIGATION_CANCELLED)?A:co(A,gt.NAVIGATION_GUARD_REDIRECT)?(B(Xe(y(A.to),{force:!0}),ye).then(P=>{co(P,gt.NAVIGATION_ABORTED|gt.NAVIGATION_DUPLICATED)&&!ee.delta&&ee.type===qc.pop&&u.go(-1,!1)}).catch(ua),Promise.reject()):(ee.delta&&u.go(-ee.delta,!1),V(A,ye,Ue))).then(A=>{A=A||q(ye,Ue,!1),A&&(ee.delta&&!co(A,gt.NAVIGATION_CANCELLED)?u.go(-ee.delta,!1):ee.type===qc.pop&&co(A,gt.NAVIGATION_ABORTED|gt.NAVIGATION_DUPLICATED)&&u.go(-1,!1)),Z(ye,Ue,A)}).catch(ua)}))}let I=Lr(),O=Lr(),H;function V(U,ie,ee){se(U);const ye=O.list();return ye.length?ye.forEach(_e=>_e(U,ie,ee)):console.error(U),Promise.reject(U)}function fe(){return H&&i.value!==An?Promise.resolve():new Promise((U,ie)=>{I.add([U,ie])})}function se(U){return H||(H=!U,X(),I.list().forEach(([ie,ee])=>U?ee(U):ie()),I.reset()),U}function Ke(U,ie,ee,ye){const{scrollBehavior:_e}=e;if(!Vu||!_e)return Promise.resolve();const Ue=!ee&&kD(Rp(U.fullPath,0))||(ye||!ee)&&history.state&&history.state.scroll||null;return He().then(()=>_e(U,ie,Ue)).then(A=>A&&BD(A)).catch(A=>V(A,U,ie))}const Re=U=>u.go(U);let ot;const ct=new Set,Te={currentRoute:i,listening:!0,addRoute:p,removeRoute:m,clearRoutes:t.clearRoutes,hasRoute:E,getRoutes:g,resolve:b,options:e,push:C,replace:x,go:Re,back:()=>Re(-1),forward:()=>Re(1),beforeEach:r.add,beforeResolve:a.add,afterEach:s.add,onError:O.add,isReady:fe,install(U){U.component("RouterLink",QD),U.component("RouterView",Ov),U.config.globalProperties.$router=Te,Object.defineProperty(U.config.globalProperties,"$route",{enumerable:!0,get:()=>h(i)}),Vu&&!ot&&i.value===An&&(ot=!0,C(u.location).catch(ye=>{}));const ie={};for(const ye in An)Object.defineProperty(ie,ye,{get:()=>i.value[ye],enumerable:!0});U.provide(cd,Te),U.provide(dd,Bn(ie)),U.provide(Ic,i);const ee=U.unmount;ct.add(U),U.unmount=function(){ct.delete(U),ct.size<1&&(c=An,Q&&Q(),Q=null,i.value=An,ot=!1,H=!1),ee()}}};function Pe(U){return U.reduce((ie,ee)=>ie.then(()=>F(ee)),Promise.resolve())}return Te}const u9=/(:\w+)\([^)]+\)/g,r9=/(:\w+)[?+*]/g,a9=/:\w+/g,s9=(e,t)=>t.path.replace(u9,"$1").replace(r9,"$1").replace(a9,n=>e.params[n.slice(1)]?.toString()||""),Nc=(e,t)=>{const n=e.route.matched.find(u=>u.components?.default===e.Component.type),o=t??n?.meta.key??(n&&s9(e.route,n));return typeof o=="function"?o(e.route):o},i9=(e,t)=>({default:()=>e?ze(o2,e===!0?{}:e,t):t});function Rv(e){return Array.isArray(e)?e:[e]}const l9="modulepreload",c9=function(e,t){return new URL(e,t).href},Wp={},te=function(t,n,o){let u=Promise.resolve();if(n&&n.length>0){let c=function(l){return Promise.all(l.map(d=>Promise.resolve(d).then(f=>({status:"fulfilled",value:f}),f=>({status:"rejected",reason:f}))))};const a=document.getElementsByTagName("link"),s=document.querySelector("meta[property=csp-nonce]"),i=s?.nonce||s?.getAttribute("nonce");u=c(n.map(l=>{if(l=c9(l,o),l in Wp)return;Wp[l]=!0;const d=l.endsWith(".css"),f=d?'[rel="stylesheet"]':"";if(o)for(let m=a.length-1;m>=0;m--){const g=a[m];if(g.href===l&&(!d||g.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${l}"]${f}`))return;const p=document.createElement("link");if(p.rel=d?"stylesheet":l9,d||(p.as="script"),p.crossOrigin="",p.href=l,i&&p.setAttribute("nonce",i),document.head.appendChild(p),d)return new Promise((m,g)=>{p.addEventListener("load",m),p.addEventListener("error",()=>g(new Error(`Unable to preload CSS for ${l}`)))})}))}function r(a){const s=new Event("vite:preloadError",{cancelable:!0});if(s.payload=a,window.dispatchEvent(s),!s.defaultPrevented)throw a}return u.then(a=>{for(const s of a||[])s.status==="rejected"&&r(s.reason);return t().catch(r)})},d9={layout:"docs"},Ol=[{name:"lang-slug",path:"/:lang?/:slug(.*)*",meta:d9||{},component:()=>te(()=>import("./DgfQJ90r.js"),__vite__mapDeps([0,1,2,3,4]),import.meta.url)},{name:"index",path:"/",component:()=>te(()=>import("./Ddi6dmKb.js"),__vite__mapDeps([5,2,3]),import.meta.url)}],Iv=(e,t)=>({default:()=>e?ze(X2,e===!0?{}:e,t):t.default?.()}),f9=/(:\w+)\([^)]+\)/g,p9=/(:\w+)[?+*]/g,h9=/:\w+/g;function Gp(e){const t=e?.meta.key??e.path.replace(f9,"$1").replace(p9,"$1").replace(h9,n=>e.params[n.slice(1)]?.toString()||"");return typeof t=="function"?t(e):t}function m9(e,t){return e===t||t===An?!1:Gp(e)!==Gp(t)?!0:!e.matched.every((o,u)=>o.components&&o.components.default===t.matched[u]?.components?.default)}function Yp(e){return Array.isArray(e)?e:[e]}function Lv(e){const t=[];for(const n of e)n&&t.push({...n,onAfterLeave:n.onAfterLeave?Yp(n.onAfterLeave):void 0,onBeforeLeave:n.onBeforeLeave?Yp(n.onBeforeLeave):void 0});return Ot(...t)}const g9={scrollBehavior(e,t,n){const o=Ie(),u=Ut().options?.scrollBehaviorType??"auto";return e.path.replace(/\/$/,"")===t.path.replace(/\/$/,"")?t.hash&&!e.hash?{left:0,top:0}:e.hash?{el:e.hash,top:qv(e.hash),behavior:u}:!1:(typeof e.meta.scrollToTop=="function"?e.meta.scrollToTop(e,t):e.meta.scrollToTop)===!1?!1:t===An?Zp(e,t,n,u):new Promise(a=>{const s=()=>{requestAnimationFrame(()=>a(Zp(e,t,n,u)))};o.hooks.hookOnce("page:loading:end",()=>{const i=o["~transitionPromise"];i?i.then(s):s()})})}};function qv(e){try{const t=document.querySelector(e);if(t)return(Number.parseFloat(getComputedStyle(t).scrollMarginTop)||0)+(Number.parseFloat(getComputedStyle(document.documentElement).scrollPaddingTop)||0)}catch{}return 0}function Zp(e,t,n,o){if(n)return n;const u=m9(e,t);return e.hash?{el:e.hash,top:qv(e.hash),behavior:u?o:"instant"}:{left:0,top:0}}const v9={hashMode:!1,scrollBehaviorType:"auto"},Io={...v9,...g9},y9=async(e,t)=>{let n,o;if(!e.meta?.validate)return;const u=([n,o]=Eu(()=>Promise.resolve(e.meta.validate(e))),n=await n,o(),n);if(u===!0)return;const r=Yo({fatal:!0,status:u&&(u.status||u.statusCode)||404,statusText:u&&(u.statusText||u.statusMessage)||`Page Not Found: ${e.fullPath}`,data:{path:e.fullPath}});return typeof window<"u"&&window.history.pushState({},"",t.fullPath),r},b9=e=>{const t=Gi({path:e.path});if(t.redirect){const n=t.redirect.includes("#")?t.redirect:t.redirect+e.hash;return Tn(n,{acceptRelative:!0})?(window.location.href=n,!1):n}},E9=[y9,b9],jc={};function C9(e,t,n){const{pathname:o,search:u,hash:r}=t,a=e.indexOf("#");if(a>-1){const c=r.includes(e.slice(a))?e.slice(a).length:1;let l=r.slice(c);return l[0]!=="/"&&(l="/"+l),pp(l,"")}const s=pp(o,e),i=!n||j3(s,n)?s:n;return i+(i.includes("?")?"":u)+r}const x9=tn({name:"nuxt:router",enforce:"pre",async setup(e){let t,n,o=Qt().app.baseURL;const u=Io.history?.(o)??ID(o),r=Io.routes?([t,n]=Eu(()=>Io.routes(Ol)),t=await t,n(),t??Ol):Ol;let a;const s=o9({...Io,scrollBehavior:(b,y,v)=>{if(y===An){a=v;return}if(Io.scrollBehavior){if(s.options.scrollBehavior=Io.scrollBehavior,"scrollRestoration"in window.history){const C=s.beforeEach(()=>{C(),window.history.scrollRestoration="manual"})}return Io.scrollBehavior(b,An,a||v)}},history:u,routes:r});"scrollRestoration"in window.history&&(window.history.scrollRestoration="auto"),e.vueApp.use(s);const i=$e(s.currentRoute.value);s.afterEach((b,y)=>{i.value=y}),Object.defineProperty(e.vueApp.config.globalProperties,"previousRoute",{get:()=>i.value});const c=C9(o,window.location,e.payload.path),l=$e(s.currentRoute.value),d=()=>{l.value=s.currentRoute.value};s.afterEach((b,y)=>{b.matched.at(-1)?.components?.default===y.matched.at(-1)?.components?.default&&d()});const f={sync:d};for(const b in l.value)Object.defineProperty(f,b,{get:()=>l.value[b],enumerable:!0});e._route=Bn(f),e._middleware||={global:[],named:{}};const p=Wi();s.afterEach(async(b,y,v)=>{delete e._processingMiddleware,!e.isHydrating&&p.value&&await e.runWithContext(nv),v&&await e.callHook("page:loading:end")});try{[t,n]=Eu(()=>s.isReady()),await t,n()}catch(b){[t,n]=Eu(()=>e.runWithContext(()=>du(b))),await t,n()}const m=c!==s.currentRoute.value.fullPath?s.resolve(c):s.currentRoute.value,g=e.isHydrating&&e.payload.prerenderedAt&&e.payload.path&&c!==e.payload.path&&j3(s.currentRoute.value.path,e.payload.path);d();const E=e.payload.state._layout;return s.beforeEach(async(b,y)=>{await e.callHook("page:loading:start"),b.meta=Tt(b.meta),e.isHydrating&&E&&!uo(b.meta.layout)&&(b.meta.layout=E),e._processingMiddleware=!0;{const v=new Set([...E9,...e._middleware.global]);for(const x of b.matched){const w=x.meta.middleware;if(w)for(const B of Rv(w))v.add(B)}const C=Gi({path:b.path});if(C.appMiddleware)for(const x in C.appMiddleware)C.appMiddleware[x]?v.add(x):v.delete(x);for(const x of v){const w=typeof x=="string"?e._middleware.named[x]||await jc[x]?.().then(B=>B.default||B):x;if(!w)throw new Error(`Unknown route middleware: '${x}'.`);try{const B=await e.runWithContext(()=>w(b,y));if(!e.payload.serverRendered&&e.isHydrating&&(B===!1||B instanceof Error)){const _=B||Yo({status:404,statusText:`Page Not Found: ${c}`});return await e.runWithContext(()=>du(_)),!1}if(B===!0)continue;if(B===!1)return B;if(B)return ov(B)&&B.fatal&&await e.runWithContext(()=>du(B)),B}catch(B){const _=Yo(B);return _.fatal&&await e.runWithContext(()=>du(_)),_}}}}),s.onError(async()=>{delete e._processingMiddleware,await e.callHook("page:loading:end")}),s.afterEach(b=>{if(b.matched.length===0&&!p.value)return e.runWithContext(()=>du(Yo({status:404,fatal:!1,statusText:`Page not found: ${b.fullPath}`,data:{path:b.fullPath}})))}),e.hooks.hookOnce("app:created",async()=>{try{if("name"in m&&(m.name=void 0),g){const b=s.resolve(e.payload.path);"name"in b&&(b.name=void 0),await s.replace({...b,force:!0}),e.hooks.hookOnce("app:suspense:resolve",async()=>{await s.replace({...m,force:!0})})}else await s.replace({...m,force:!0});s.options.scrollBehavior=Io.scrollBehavior}catch(b){await e.runWithContext(()=>du(b))}}),{provide:{router:s}}}});function si(e){return typeof e=="string"?`'${e}'`:new D9().serialize(e)}const D9=(function(){class e{#e=new Map;compare(n,o){const u=typeof n,r=typeof o;return u==="string"&&r==="string"?n.localeCompare(o):u==="number"&&r==="number"?n-o:String.prototype.localeCompare.call(this.serialize(n,!0),this.serialize(o,!0))}serialize(n,o){if(n===null)return"null";switch(typeof n){case"string":return o?n:`'${n}'`;case"bigint":return`${n}n`;case"object":return this.$object(n);case"function":return this.$function(n)}return String(n)}serializeObject(n){const o=Object.prototype.toString.call(n);if(o!=="[object Object]")return this.serializeBuiltInType(o.length<10?`unknown:${o}`:o.slice(8,-1),n);const u=n.constructor,r=u===Object||u===void 0?"":u.name;if(r!==""&&globalThis[r]===u)return this.serializeBuiltInType(r,n);if(typeof n.toJSON=="function"){const a=n.toJSON();return r+(a!==null&&typeof a=="object"?this.$object(a):`(${this.serialize(a)})`)}return this.serializeObjectEntries(r,Object.entries(n))}serializeBuiltInType(n,o){const u=this["$"+n];if(u)return u.call(this,o);if(typeof o?.entries=="function")return this.serializeObjectEntries(n,o.entries());throw new Error(`Cannot serialize ${n}`)}serializeObjectEntries(n,o){const u=Array.from(o).sort((a,s)=>this.compare(a[0],s[0]));let r=`${n}{`;for(let a=0;athis.compare(o,u)))}`}$Map(n){return this.serializeObjectEntries("Map",n.entries())}}for(const t of["Error","RegExp","URL"])e.prototype["$"+t]=function(n){return`${t}(${n})`};for(const t of["Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Uint16Array","Int32Array","Uint32Array","Float32Array","Float64Array"])e.prototype["$"+t]=function(n){return`${t}[${n.join(",")}]`};for(const t of["BigInt64Array","BigUint64Array"])e.prototype["$"+t]=function(n){return`${t}[${n.join("n,")}${n.length>0?"n":""}]`};return e})();function Bu(e,t){return e===t||si(e)===si(t)}const w9=[1779033703,-1150833019,1013904242,-1521486534,1359893119,-1694144372,528734635,1541459225],A9=[1116352408,1899447441,-1245643825,-373957723,961987163,1508970993,-1841331548,-1424204075,-670586216,310598401,607225278,1426881987,1925078388,-2132889090,-1680079193,-1046744716,-459576895,-272742522,264347078,604807628,770255983,1249150122,1555081692,1996064986,-1740746414,-1473132947,-1341970488,-1084653625,-958395405,-710438585,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,-2117940946,-1838011259,-1564481375,-1474664885,-1035236496,-949202525,-778901479,-694614492,-200395387,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,-2067236844,-1933114872,-1866530822,-1538233109,-1090935817,-965641998],B9="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_",au=[];class _9{_data=new ss;_hash=new ss([...w9]);_nDataBytes=0;_minBufferSize=0;finalize(t){t&&this._append(t);const n=this._nDataBytes*8,o=this._data.sigBytes*8;return this._data.words[o>>>5]|=128<<24-o%32,this._data.words[(o+64>>>9<<4)+14]=Math.floor(n/4294967296),this._data.words[(o+64>>>9<<4)+15]=n,this._data.sigBytes=this._data.words.length*4,this._process(),this._hash}_doProcessBlock(t,n){const o=this._hash.words;let u=o[0],r=o[1],a=o[2],s=o[3],i=o[4],c=o[5],l=o[6],d=o[7];for(let f=0;f<64;f++){if(f<16)au[f]=t[n+f]|0;else{const v=au[f-15],C=(v<<25|v>>>7)^(v<<14|v>>>18)^v>>>3,x=au[f-2],w=(x<<15|x>>>17)^(x<<13|x>>>19)^x>>>10;au[f]=C+au[f-7]+w+au[f-16]}const p=i&c^~i&l,m=u&r^u&a^r&a,g=(u<<30|u>>>2)^(u<<19|u>>>13)^(u<<10|u>>>22),E=(i<<26|i>>>6)^(i<<21|i>>>11)^(i<<7|i>>>25),b=d+E+p+A9[f]+au[f],y=g+m;d=l,l=c,c=i,i=s+b|0,s=a,a=r,r=u,u=b+y|0}o[0]=o[0]+u|0,o[1]=o[1]+r|0,o[2]=o[2]+a|0,o[3]=o[3]+s|0,o[4]=o[4]+i|0,o[5]=o[5]+c|0,o[6]=o[6]+l|0,o[7]=o[7]+d|0}_append(t){typeof t=="string"&&(t=ss.fromUtf8(t)),this._data.concat(t),this._nDataBytes+=t.sigBytes}_process(t){let n,o=this._data.sigBytes/64;t?o=Math.ceil(o):o=Math.max((o|0)-this._minBufferSize,0);const u=o*16,r=Math.min(u*4,this._data.sigBytes);if(u){for(let a=0;a>>2]|=(n.charCodeAt(r)&255)<<24-r%4*8;return new $v(u,o)}toBase64(){const t=[];for(let n=0;n>>2]>>>24-n%4*8&255,u=this.words[n+1>>>2]>>>24-(n+1)%4*8&255,r=this.words[n+2>>>2]>>>24-(n+2)%4*8&255,a=o<<16|u<<8|r;for(let s=0;s<4&&n*8+s*6>>6*(3-s)&63))}return t.join("")}concat(t){if(this.words[this.sigBytes>>>2]&=4294967295<<32-this.sigBytes%4*8,this.words.length=Math.ceil(this.sigBytes/4),this.sigBytes%4)for(let n=0;n>>2]>>>24-n%4*8&255;this.words[this.sigBytes+n>>>2]|=o<<24-(this.sigBytes+n)%4*8}else for(let n=0;n>>2]=t.words[n>>>2];this.sigBytes+=t.sigBytes}};function k9(e){return new _9().finalize(e).toBase64()}function zu(e){return k9(si(e))}const Nv=Symbol.for("nuxt:client-only"),pd=N({name:"ClientOnly",inheritAttrs:!1,props:["fallback","placeholder","placeholderTag","fallbackTag"],setup(e,{slots:t,attrs:n}){const o=$e(!1);je(()=>{o.value=!0});const u=et();return u&&(u._nuxtClientOnly=!0),St(Nv,!0),()=>{if(o.value){const i=t.default?.();return i&&i.length===1?[Sn(i[0],n)]:i}const r=t.fallback||t.placeholder;if(r)return ze(r);const a=e.fallback||e.placeholder||"",s=e.fallbackTag||e.placeholderTag||"span";return le(s,n,a)}}}),Vc=globalThis.requestIdleCallback||(e=>{const t=Date.now(),n={didTimeout:!1,timeRemaining:()=>Math.max(0,50-(Date.now()-t))};return setTimeout(()=>{e(n)},1)}),S9=globalThis.cancelIdleCallback||(e=>{clearTimeout(e)}),Zi=e=>{const t=Ie();t.isHydrating?t.hooks.hookOnce("app:suspense:resolve",()=>{Vc(()=>e())}):Vc(()=>e())};function jv(e){return Object.defineProperty(function(){throw new Error(`[nuxt] \`${e.name}\` is a compiler macro and cannot be called at runtime.`)},"__nuxt_factory",{enumerable:!1,get:()=>e.factory})}const Vv=jv({name:"createUseAsyncData",factory(e={}){function t(...n){const o=typeof n[n.length-1]=="string"?n.pop():void 0;T9(n[0],n[1])&&n.unshift(o);let[u,r,a={}]=n,s=!1;const i=S(()=>Be(u));if(typeof i.value!="string")throw new TypeError("[nuxt] [useAsyncData] key must be a string.");if(typeof r!="function")throw new TypeError("[nuxt] [useAsyncData] handler must be a function.");const c=typeof e=="function",l=Ie(),d=c?e(a):e;if(!c)for(const y in d)d[y]!==void 0&&a[y]===void 0&&(a[y]=d[y]);if(a.server??=!0,a.default??=P9,a.getCachedData??=Hv,a.lazy??=!1,a.immediate??=!0,a.deep??=L5.deep,a.dedupe??="cancel",c)for(const y in d)d[y]!==void 0&&(a[y]=d[y]);l._asyncData[i.value];function f(){const y={cause:"initial",dedupe:a.dedupe};return l._asyncData[i.value]?._init||(y.cachedData=a.getCachedData(i.value,l,{cause:"initial"}),l._asyncData[i.value]=Xp(l,i.value,r,a,y.cachedData)),()=>l._asyncData[i.value].execute(y)}const p=f(),m=l._asyncData[i.value];m._deps++;const g=a.server!==!1&&l.payload.serverRendered;{let y=function(_){const F=l._asyncData[_];F?._deps&&(F._deps--,F._deps===0&&F?._off())};const v=et();if(v&&g&&a.immediate&&!v.sp&&(v.sp=[]),v&&!v._nuxtOnBeforeMountCbs){v._nuxtOnBeforeMountCbs=[];const _=v._nuxtOnBeforeMountCbs;ji(()=>{_.forEach(F=>{F()}),_.splice(0,_.length)}),en(()=>_.splice(0,_.length))}const C=v&&(v._nuxtClientOnly||Ve(Nv,!1));g&&l.isHydrating&&(m.error.value||m.data.value!==void 0)?m.status.value=m.error.value?"error":"success":v&&(!C&&l.payload.serverRendered&&l.isHydrating||a.lazy)&&a.immediate?v._nuxtOnBeforeMountCbs.push(p):a.immediate&&m.status.value!=="success"&&p();const x=So(),w=Ce(i,(_,F)=>{if((_||F)&&_!==F){s=!0;const R=l._asyncData[F]?.data.value!==void 0,Z=l._asyncDataPromises[F]!==void 0,q={cause:"initial",dedupe:a.dedupe};if(!l._asyncData[_]?._init){let Q;F&&R?Q=l._asyncData[F].data.value:(Q=a.getCachedData(_,l,{cause:"initial"}),q.cachedData=Q),l._asyncData[_]=Xp(l,_,r,a,Q)}l._asyncData[_]._deps++,F&&y(F),(a.immediate||R||Z)&&l._asyncData[_].execute(q),fa(()=>{s=!1})}},{flush:"sync"}),B=a.watch?Ce(a.watch,()=>{s||(l._asyncData[i.value]?._execute.isPending()&&fa(()=>{l._asyncData[i.value]?._execute.flush()}),l._asyncData[i.value]?._execute({cause:"watch",dedupe:a.dedupe}))}):()=>{};x&&xu(()=>{w(),B(),y(i.value)})}const E={data:is(()=>l._asyncData[i.value]?.data),pending:is(()=>l._asyncData[i.value]?.pending),status:is(()=>l._asyncData[i.value]?.status),error:is(()=>l._asyncData[i.value]?.error),refresh:(...y)=>l._asyncData[i.value]?._init?l._asyncData[i.value].execute(...y):f()(),execute:(...y)=>E.refresh(...y),clear:()=>{const y=l._asyncData[i.value];if(y?._abortController)try{y._abortController.abort(new DOMException("AsyncData aborted by user.","AbortError"))}finally{y._abortController=void 0}Uv(l,i.value)}},b=Promise.resolve(l._asyncDataPromises[i.value]).then(()=>E);return Object.assign(b,E),Object.defineProperties(b,{then:{enumerable:!0,value:b.then.bind(b)},catch:{enumerable:!0,value:b.catch.bind(b)},finally:{enumerable:!0,value:b.finally.bind(b)}}),b}return t}}),hd=Vv.__nuxt_factory(),zv=Vv.__nuxt_factory({lazy:!0,_functionName:"useLazyAsyncData"});function is(e){return S({get(){return e()?.value},set(t){const n=e();n&&(n.value=t)}})}function T9(e,t){return!(typeof e=="string"||typeof e=="object"&&e!==null||typeof e=="function"&&typeof t=="function")}function Uv(e,t){t in e.payload.data&&(e.payload.data[t]=void 0),t in e.payload._errors&&(e.payload._errors[t]=void 0),e._asyncData[t]&&(e._asyncData[t].data.value=h(e._asyncData[t]._default()),e._asyncData[t].error.value=void 0,e._asyncData[t].status.value="idle"),t in e._asyncDataPromises&&(e._asyncDataPromises[t]=void 0)}function F9(e,t){const n={};for(const o of t)n[o]=e[o];return n}function Xp(e,t,n,o,u){e.payload._errors[t]??=void 0;const r=o.getCachedData!==Hv,a=n,s=o.deep?L:$e,i=u!==void 0,c=e.hook("app:data:refresh",async d=>{(!d||d.includes(t))&&await l.execute({cause:"refresh:hook"})}),l={data:s(i?u:o.default()),pending:S(()=>l.status.value==="pending"),error:at(e.payload._errors,t),status:$e("idle"),execute:(...d)=>{const[f,p=void 0]=d,m=f&&p===void 0&&typeof f=="object"?f:{};if(e._asyncDataPromises[t]&&(m.dedupe??o.dedupe)==="defer")return e._asyncDataPromises[t];{const b="cachedData"in m?m.cachedData:o.getCachedData(t,e,{cause:m.cause??"refresh:manual"});if(b!==void 0)return e.payload.data[t]=l.data.value=b,l.error.value=void 0,l.status.value="success",Promise.resolve(b)}l._abortController&&l._abortController.abort(new DOMException("AsyncData request cancelled by deduplication","AbortError")),l._abortController=new AbortController,l.status.value="pending";const g=new AbortController,E=new Promise((b,y)=>{try{const v=m.timeout??o.timeout,C=M9([l._abortController?.signal,m?.signal],g.signal,v);if(C.aborted){const x=C.reason;y(x instanceof Error?x:new DOMException(String(x??"Aborted"),"AbortError"));return}return C.addEventListener("abort",()=>{const x=C.reason;y(x instanceof Error?x:new DOMException(String(x??"Aborted"),"AbortError"))},{once:!0,signal:g.signal}),Promise.resolve(a(e,{signal:C})).then(b,y)}catch(v){y(v)}}).then(async b=>{let y=b;o.transform&&(y=await o.transform(b)),o.pick&&(y=F9(y,o.pick)),e.payload.data[t]=y,l.data.value=y,l.error.value=void 0,l.status.value="success"}).catch(b=>{if(e._asyncDataPromises[t]&&e._asyncDataPromises[t]!==E||l._abortController?.signal.aborted)return e._asyncDataPromises[t];if(typeof DOMException<"u"&&b instanceof DOMException&&b.name==="AbortError")return l.status.value="idle",e._asyncDataPromises[t];l.error.value=Yo(b),l.data.value=h(o.default()),l.status.value="error"}).finally(()=>{g.abort(),delete e._asyncDataPromises[t]});return e._asyncDataPromises[t]=E,e._asyncDataPromises[t]},_execute:tD((...d)=>l.execute(...d),0,{leading:!0}),_default:o.default,_deps:0,_init:!0,_hash:void 0,_off:()=>{c(),e._asyncData[t]?._init&&(e._asyncData[t]._init=!1),r||He(()=>{e._asyncData[t]?._init||(Uv(e,t),l.execute=()=>Promise.resolve())})}};return l}const P9=()=>{},Hv=(e,t,n)=>{if(t.isHydrating)return t.payload.data[e];if(n.cause!=="refresh:manual"&&n.cause!=="refresh:hook")return t.static.data[e]};function M9(e,t,n){const o=e.filter(a=>!!a);if(typeof n=="number"&&n>=0){const a=AbortSignal.timeout?.(n);a&&o.push(a)}if(AbortSignal.any)return AbortSignal.any(o);const u=new AbortController;for(const a of o)if(a.aborted){const s=a.reason??new DOMException("Aborted","AbortError");try{u.abort(s)}catch{u.abort()}return u.signal}const r=()=>{const s=o.find(i=>i.aborted)?.reason??new DOMException("Aborted","AbortError");try{u.abort(s)}catch{u.abort()}};for(const a of o)a.addEventListener?.("abort",r,{once:!0,signal:t});return u.signal}const O9="$s";function Ho(...e){const t=typeof e[e.length-1]=="string"?e.pop():void 0;typeof e[0]!="string"&&e.unshift(t);const[n,o]=e;if(!n||typeof n!="string")throw new TypeError("[nuxt] [useState] key must be a string: "+n);if(o!==void 0&&typeof o!="function")throw new Error("[nuxt] [useState] init must be a function: "+o);const u=O9+n,r=Ie(),a=at(r.payload.state,u);if(o&&(r._state[u]??={_default:o}),a.value===void 0&&o){const s=o();if(nt(s))return r.payload.state[u]=s,s;a.value=s}return a}function R9(e){const t=[Be(e.method)?.toUpperCase()||"GET",Be(e.baseURL)];for(const n of[e.query||e.params]){const o=Be(n);if(!o)continue;const u={};for(const[r,a]of Object.entries(o))u[Be(r)]=Be(a);t.push(u)}if(e.body){const n=Be(e.body);if(!n)t.push(zu(n));else if(n instanceof ArrayBuffer)t.push(zu(Object.fromEntries([...new Uint8Array(n).entries()].map(([o,u])=>[o,u.toString()]))));else if(n instanceof FormData){const o={};for(const u of n.entries()){const[r,a]=u;o[r]=a instanceof File?a.name:a}t.push(zu(o))}else if($0(n))t.push(zu(Tt(n)));else try{t.push(zu(n))}catch{console.warn("[useFetch] Failed to hash body",n)}}return t}const Kv=jv({name:"createUseFetch",factory(e={}){function t(n,o,u){const[r={},a]=typeof o=="string"?[{},o]:[o,u],s=S(()=>Be(n)),i=S(()=>Be(r.key)||"$f"+zu([a,typeof s.value=="string"?s.value:"",...R9(r)]));if(!r.baseURL&&typeof s.value=="string"&&s.value[0]==="/"&&s.value[1]==="/")throw new Error('[nuxt] [useFetch] the request URL must not start with "//".');const c=typeof e=="function"?e(r):e,{server:l,lazy:d,default:f,transform:p,pick:m,watch:g,immediate:E,getCachedData:b,deep:y,dedupe:v,timeout:C,...x}={...typeof e=="function"?{}:c,...r,...typeof e=="function"?c:{}},w=Tt({...q5,...x,cache:typeof x.cache=="boolean"?void 0:x.cache}),B={server:l,lazy:d,default:f,transform:p,pick:m,immediate:E,getCachedData:b,deep:y,dedupe:v,timeout:C,watch:g===!1?[]:[...g||[],w]};return hd(g===!1?i.value:i,(F,{signal:R})=>(r.$fetch||globalThis.$fetch)(s.value,{signal:R,...w}),B)}return t}});Kv.__nuxt_factory();Kv.__nuxt_factory({lazy:!0,_functionName:"useLazyFetch"});function I9(e,t){if(typeof e!="string")throw new TypeError("argument str must be a string");const n={},o=t||{},u=o.decode||L9;let r=0;for(;rN9(decodeURIComponent(e)),encode:e=>{if(typeof e!="string"||e==="undefined")return encodeURIComponent(JSON.stringify(e));try{if(typeof JSON.parse(e)!="string")return encodeURIComponent(JSON.stringify(e))}catch{}return encodeURIComponent(e)},refresh:!1},cs=globalThis.cookieStore;function V9(e,t){const n={...j9,...t};n.filter??=c=>c===e;const o=Qp(n)||{};let u;n.maxAge!==void 0?u=n.maxAge*1e3:n.expires&&(u=n.expires.getTime()-Date.now());const r=u!==void 0&&u<=0,a=r||o[e]===void 0||o[e]===null,s=Mn(r?void 0:o[e]??n.default?.()),i=u&&!r?H9(s,u,n.watch&&n.watch!=="shallow"):L(s);{let c=null;try{!cs&&typeof BroadcastChannel<"u"&&(c=new BroadcastChannel(`nuxt:cookies:${e}`))}catch{}const l=(m=!1)=>{!m&&(n.readonly||Bu(i.value,o[e]))||(U9(e,i.value,n),o[e]=Mn(i.value),c?.postMessage({value:n.encode(i.value)}))},d=m=>{const g=m.refresh?Qp(n)?.[e]:n.decode(m.value);f=!0,i.value=g,o[e]=Mn(g),He(()=>{f=!1})};let f=!1;const p=!!So();if(p&&xu(()=>{f=!0,l(),c?.close()}),cs){const m=g=>{const E=g.changed.find(y=>y.name===e),b=g.deleted.find(y=>y.name===e);E&&d({value:E.value}),b&&d({value:null})};cs.addEventListener("change",m),p&&xu(()=>cs.removeEventListener("change",m))}else c&&(c.onmessage=({data:m})=>d(m));n.watch&&Ce(i,()=>{f||l(n.refresh)},{deep:n.watch!=="shallow"}),a&&l(a)}return i}function Qp(e={}){return I9(document.cookie,e)}function z9(e,t,n={}){return t==null?Jp(e,t,{...n,maxAge:-1}):Jp(e,t,n)}function U9(e,t,n={}){document.cookie=z9(e,t,n)}const eh=2147483647;function H9(e,t,n){let o,u,r=0;const a=n?L(e):{value:e};return So()&&xu(()=>{u?.(),clearTimeout(o)}),Ta((s,i)=>{n&&(u=Ce(a,i));function c(){const d=t-r,f=d{if(r+=f,r4)return Promise.all(u).then(()=>Wv(e,t));t._routePreloaded.add(n);for(const r of o){const a=r.components?.default;if(typeof a!="function")continue;const s=Promise.resolve(a()).catch(()=>{}).finally(()=>u.splice(u.indexOf(s),1));u.push(s)}await Promise.all(u)}function W9(e={}){const t=e.path||window.location.pathname;let n={};try{n=JSON.parse(sessionStorage.getItem("nuxt:reload")||"{}")}catch{}if(e.force||n?.path!==t||n?.expirese.find(t=>t!==void 0);function Y9(e){const t=e.componentName||"NuxtLink";function n(r){return typeof r=="string"&&r.startsWith("#")}function o(r,a,s){const i=s??e.trailingSlash;if(!r||i!=="append"&&i!=="remove")return r;if(typeof r=="string")return ds(r,i);const c="path"in r&&r.path!==void 0?r.path:a(r).path;return{...r,name:void 0,path:ds(c,i)}}function u(r){const a=Ut(),s=Qt(),i=S(()=>!!h(r.target)&&h(r.target)!=="_self"),c=S(()=>{const E=h(r.to)||h(r.href)||"";return typeof E=="string"&&Tn(E,{acceptRelative:!0})}),l=jf("RouterLink"),d=l&&typeof l!="string"?l.useLink:void 0,f=S(()=>{if(h(r.external))return!0;const E=h(r.to)||h(r.href)||"";return typeof E=="object"?!1:E===""||c.value}),p=S(()=>{const E=h(r.to)||h(r.href)||"";return f.value?E:o(E,a.resolve,h(r.trailingSlash))}),m=f.value?void 0:d?.({...r,to:p,viewTransition:h(r.viewTransition)}),g=S(()=>{const E=h(r.trailingSlash)??e.trailingSlash;if(!p.value||c.value||n(p.value))return p.value;if(f.value){const b=typeof p.value=="object"&&"path"in p.value?Pc(p.value):p.value,y=typeof b=="object"?a.resolve(b).href:b;return ds(y,E)}return typeof p.value=="object"?a.resolve(p.value)?.href??null:ds(Cr(s.app.baseURL,p.value),E)});return{to:p,hasTarget:i,isAbsoluteUrl:c,isExternal:f,href:g,isActive:m?.isActive??S(()=>p.value===a.currentRoute.value.path),isExactActive:m?.isExactActive??S(()=>p.value===a.currentRoute.value.path),route:m?.route??S(()=>a.resolve(p.value)),async navigate(E){await Ki(g.value,{replace:h(r.replace),external:f.value||i.value})}}}return N({name:t,props:{to:{type:[String,Object],default:void 0,required:!1},href:{type:[String,Object],default:void 0,required:!1},target:{type:String,default:void 0,required:!1},rel:{type:String,default:void 0,required:!1},noRel:{type:Boolean,default:void 0,required:!1},prefetch:{type:Boolean,default:void 0,required:!1},prefetchOn:{type:[String,Object],default:void 0,required:!1},noPrefetch:{type:Boolean,default:void 0,required:!1},activeClass:{type:String,default:void 0,required:!1},exactActiveClass:{type:String,default:void 0,required:!1},prefetchedClass:{type:String,default:void 0,required:!1},replace:{type:Boolean,default:void 0,required:!1},ariaCurrentValue:{type:String,default:void 0,required:!1},external:{type:Boolean,default:void 0,required:!1},custom:{type:Boolean,default:void 0,required:!1},trailingSlash:{type:String,default:void 0,required:!1}},useLink:u,setup(r,{slots:a}){const s=Ut(),{to:i,href:c,navigate:l,isExternal:d,hasTarget:f,isAbsoluteUrl:p}=u(r),m=$e(!1),g=L(null),E=v=>{g.value=r.custom?v?.$el?.nextElementSibling:v?.$el};function b(v){return!m.value&&(typeof r.prefetchOn=="string"?r.prefetchOn===v:r.prefetchOn?.[v]??e.prefetchOn?.[v])&&(r.prefetch??e.prefetch)!==!1&&r.noPrefetch!==!0&&r.target!=="_blank"&&!J9()}async function y(v=Ie()){if(m.value)return;m.value=!0;const C=typeof i.value=="string"?i.value:d.value?Pc(i.value):s.resolve(i.value).fullPath,x=d.value?new URL(C,window.location.href).href:C;await Promise.all([v.hooks.callHook("link:prefetch",x)?.catch(()=>{}),!d.value&&!f.value&&Wv(i.value,s).catch(()=>{})])}if(b("visibility")){const v=Ie();let C,x=null;je(()=>{const w=Z9();Zi(()=>{C=Vc(()=>{g?.value?.tagName&&(x=w.observe(g.value,async()=>{x?.(),x=null,await y(v)}))})})}),Fo(()=>{C&&S9(C),x?.(),x=null})}return()=>{if(!d.value&&!f.value&&!n(i.value)){const x={ref:E,to:i.value,activeClass:r.activeClass||e.activeClass,exactActiveClass:r.exactActiveClass||e.exactActiveClass,replace:r.replace,ariaCurrentValue:r.ariaCurrentValue,custom:r.custom};return r.custom||(b("interaction")&&(x.onPointerenter=y.bind(null,void 0),x.onFocus=y.bind(null,void 0)),m.value&&(x.class=r.prefetchedClass||e.prefetchedClass),x.rel=r.rel||void 0),ze(jf("RouterLink"),x,a.default)}const v=r.target||null,C=G9(r.noRel?"":r.rel,e.externalRelAttribute,p.value||f.value?"noopener noreferrer":"")||null;return r.custom?a.default?a.default({href:c.value,navigate:l,prefetch:y,get route(){if(!c.value)return;const x=new URL(c.value,window.location.href);return{path:x.pathname,fullPath:x.pathname,get query(){return td(x.search)},hash:x.hash,params:{},name:void 0,matched:[],redirectedFrom:void 0,meta:{},href:c.value}},rel:C,target:v,isExternal:d.value||f.value,isActive:!1,isExactActive:!1}):null:ze("a",{ref:g,href:c.value||null,rel:C,target:v,onClick:async x=>{if(!(d.value||f.value)){x.preventDefault();try{const w=ev(c.value);return await(r.replace?s.replace(w):s.push(w))}finally{if(n(i.value)){const w=i.value.slice(1);let B=w;try{B=decodeURIComponent(w)}catch{}document.getElementById(B)?.focus()}}}}},a.default?.())}}})}const Gv=Y9(I5);function ds(e,t){const n=t==="append"?nd:rr;return Tn(e)&&!e.startsWith("http")?e:n(e,!0)}function Z9(){const e=Ie();if(e._observer)return e._observer;let t=null;const n=new Map,o=(r,a)=>(t||=new IntersectionObserver(s=>{for(const i of s){const c=n.get(i.target);(i.isIntersecting||i.intersectionRatio>0)&&c&&c()}}),n.set(r,a),t.observe(r),()=>{n.delete(r),t?.unobserve(r),n.size===0&&(t?.disconnect(),t=null)});return e._observer={observe:o}}const X9=/2g/;function J9(){const e=navigator.connection;return!!(e&&(e.saveData||X9.test(e.effectiveType)))}const Q9={docus:{title:"Comments",description:"A full-featured commenting system for Filament panels with threaded replies, @mentions, emoji reactions, and real-time updates.",header:{logo:{alt:"Comments Logo"}}},seo:{title:"Comments",description:"A full-featured commenting system for Filament panels with threaded replies, @mentions, emoji reactions, and real-time updates."},github:{repo:"comments",owner:"Relaticle",edit:!0,rootDir:"docs"},socials:{discord:"https://discord.gg/b9WxzUce4Q"},ui:{colors:{primary:"violet",neutral:"zinc"}},uiPro:{pageHero:{slots:{container:"flex flex-col lg:grid py-16 sm:py-20 lg:py-24 gap-16 sm:gap-y-2"}}},toc:{title:"On this page",bottom:{title:"Ecosystem",edit:"https://github.com/Relaticle/comments",links:[{icon:"i-simple-icons-laravel",label:"FilaForms",to:"https://filaforms.app",target:"_blank"},{icon:"i-lucide-sliders",label:"Custom Fields",to:"https://relaticle.github.io/custom-fields",target:"_blank"},{icon:"i-lucide-kanban",label:"Flowforge",to:"https://relaticle.github.io/flowforge",target:"_blank"}]}}},ew={docus:{locale:"en"},ui:{colors:{primary:"emerald",neutral:"zinc"},commandPalette:{slots:{item:"items-center",input:"[&_.iconify]:size-4 [&_.iconify]:mx-0.5",itemLeadingIcon:"size-4 mx-0.5"}},contentNavigation:{slots:{linkLeadingIcon:"size-4 mr-1",linkTrailing:"hidden"},defaultVariants:{variant:"link"}},pageLinks:{slots:{linkLeadingIcon:"size-4",linkLabelExternalIcon:"size-2.5"}}}},tw={docus:{url:"https://relaticle.github.io/comments/",image:"/comments/preview.png",header:{logo:{light:"/comments/logo-light.svg",dark:"/comments/logo-dark.svg"}}},seo:{titleTemplate:"%s - Comments",title:"Comments",description:"",ogImage:"/comments/preview.png"},github:{owner:"relaticle",name:"comments",url:"https://github.com/relaticle/comments",branch:"1.x"},nuxt:{},header:{title:"Comments"},ui:{colors:{primary:"green",secondary:"blue",success:"green",info:"blue",warning:"yellow",error:"red",neutral:"slate"},icons:{arrowDown:"i-lucide-arrow-down",arrowLeft:"i-lucide-arrow-left",arrowRight:"i-lucide-arrow-right",arrowUp:"i-lucide-arrow-up",caution:"i-lucide-circle-alert",check:"i-lucide-check",chevronDoubleLeft:"i-lucide-chevrons-left",chevronDoubleRight:"i-lucide-chevrons-right",chevronDown:"i-lucide-chevron-down",chevronLeft:"i-lucide-chevron-left",chevronRight:"i-lucide-chevron-right",chevronUp:"i-lucide-chevron-up",close:"i-lucide-x",copy:"i-lucide-copy",copyCheck:"i-lucide-copy-check",dark:"i-lucide-moon",drag:"i-lucide-grip-vertical",ellipsis:"i-lucide-ellipsis",error:"i-lucide-circle-x",external:"i-lucide-arrow-up-right",eye:"i-lucide-eye",eyeOff:"i-lucide-eye-off",file:"i-lucide-file",folder:"i-lucide-folder",folderOpen:"i-lucide-folder-open",hash:"i-lucide-hash",info:"i-lucide-info",light:"i-lucide-sun",loading:"i-lucide-loader-circle",menu:"i-lucide-menu",minus:"i-lucide-minus",panelClose:"i-lucide-panel-left-close",panelOpen:"i-lucide-panel-left-open",plus:"i-lucide-plus",reload:"i-lucide-rotate-ccw",search:"i-lucide-search",stop:"i-lucide-square",success:"i-lucide-circle-check",system:"i-lucide-monitor",tip:"i-lucide-lightbulb",upload:"i-lucide-upload",warning:"i-lucide-triangle-alert"},tv:{twMergeConfig:{}}},icon:{provider:"iconify",class:"",aliases:{},iconifyApiEndpoint:"https://api.iconify.design",localApiEndpoint:"/api/_nuxt_icon",fallbackToApi:!0,cssSelectorPrefix:"i-",cssWherePseudo:!0,cssLayer:"base",mode:"css",attrs:{"aria-hidden":!0},collections:["academicons","akar-icons","ant-design","arcticons","basil","bi","bitcoin-icons","bpmn","brandico","bx","bxl","bxs","bytesize","carbon","catppuccin","cbi","charm","ci","cib","cif","cil","circle-flags","circum","clarity","codex","codicon","covid","cryptocurrency","cryptocurrency-color","cuida","dashicons","devicon","devicon-plain","dinkie-icons","duo-icons","ei","el","emojione","emojione-monotone","emojione-v1","entypo","entypo-social","eos-icons","ep","et","eva","f7","fa","fa-brands","fa-regular","fa-solid","fa6-brands","fa6-regular","fa6-solid","fa7-brands","fa7-regular","fa7-solid","fad","famicons","fe","feather","file-icons","flag","flagpack","flat-color-icons","flat-ui","flowbite","fluent","fluent-color","fluent-emoji","fluent-emoji-flat","fluent-emoji-high-contrast","fluent-mdl2","fontelico","fontisto","formkit","foundation","fxemoji","gala","game-icons","garden","geo","gg","gis","gravity-ui","gridicons","grommet-icons","guidance","healthicons","heroicons","heroicons-outline","heroicons-solid","hugeicons","humbleicons","ic","icomoon-free","icon-park","icon-park-outline","icon-park-solid","icon-park-twotone","iconamoon","iconoir","icons8","il","ion","iwwa","ix","jam","la","lets-icons","line-md","lineicons","logos","ls","lsicon","lucide","lucide-lab","mage","majesticons","maki","map","marketeq","material-icon-theme","material-symbols","material-symbols-light","mdi","mdi-light","medical-icon","memory","meteocons","meteor-icons","mi","mingcute","mono-icons","mynaui","nimbus","nonicons","noto","noto-v1","nrk","octicon","oi","ooui","openmoji","oui","pajamas","pepicons","pepicons-pencil","pepicons-pop","pepicons-print","ph","picon","pixel","pixelarticons","prime","proicons","ps","qlementine-icons","quill","radix-icons","raphael","ri","rivet-icons","roentgen","si","si-glyph","sidekickicons","simple-icons","simple-line-icons","skill-icons","solar","stash","streamline","streamline-block","streamline-color","streamline-cyber","streamline-cyber-color","streamline-emojis","streamline-flex","streamline-flex-color","streamline-freehand","streamline-freehand-color","streamline-kameleon-color","streamline-logos","streamline-pixel","streamline-plump","streamline-plump-color","streamline-sharp","streamline-sharp-color","streamline-stickies-color","streamline-ultimate","streamline-ultimate-color","subway","svg-spinners","system-uicons","tabler","tdesign","teenyicons","temaki","token","token-branded","topcoat","twemoji","typcn","uil","uim","uis","uit","uiw","unjs","vaadin","vs","vscode-icons","websymbol","weui","whh","wi","wpf","zmdi","zondicons","custom"],fetchTimeout:1500,customCollections:["custom","custom"]}},Yv=K5(Q9,ew,tw);function qe(){const e=Ie();return e._appConfig||=Tt(Yv),e._appConfig}function nw(e){typeof e.indexable<"u"&&(e.indexable=String(e.indexable)!=="false"),typeof e.trailingSlash<"u"&&!e.trailingSlash&&(e.trailingSlash=String(e.trailingSlash)!=="false"),e.url&&!Tn(String(e.url),{acceptRelative:!0,strict:!1})&&(e.url=a5(String(e.url)));const t=Object.keys(e).sort((o,u)=>o.localeCompare(u)),n={};for(const o of t)n[o]=e[o];return n}function ow(e){const n=[];function o(r){if(!r||typeof r!="object"||Object.keys(r).length===0)return()=>{};r._context;const a={};for(const s in r){const i=r[s];typeof i<"u"&&i!==""&&(a[s]=i)}return Object.keys(a).filter(s=>!s.startsWith("_")).length===0?()=>{}:(n.push(a),()=>{const s=n.indexOf(a);s!==-1&&n.splice(s,1)})}function u(r){const a={};r?.debug&&(a._context={}),a._priority={};for(const s in n.sort((i,c)=>(i._priority||0)-(c._priority||0)))for(const i in n[s]){const c=i,l=r?.resolveRefs?Be(n[s][i]):n[s][i];!i.startsWith("_")&&typeof l<"u"&&l!==""&&(a[i]=l,typeof n[s]._priority<"u"&&n[s]._priority!==-1&&(a._priority[c]=n[s]._priority),r?.debug&&(a._context[c]=n[s]._context?.[c]||n[s]._context||"anonymous"))}return r?.skipNormalize?a:nw(a)}return{stack:n,push:o,get:u}}const uw=tn({name:"nuxt-site-config:init",enforce:"pre",async setup(e){const t=ow(),n=Ho("site-config");{const o=n.value||window.__NUXT_SITE_CONFIG__||{};for(const u in o)u[0]!=="_"&&t.push({[u]:o[u],_priority:o._priority?.[u]||-1})}return{provide:{nuxtSiteConfig:t}}}}),rw=tn({name:"nuxt:payload",setup(e){const t=new Set;Ut().beforeResolve(async(n,o)=>{if(n.path===o.path)return;const u=await Sp(n.path);if(u){for(const r of t)delete e.static.data[r];for(const r in u.data)r in e.static.data||t.add(r),e.static.data[r]=u.data[r]}}),Zi(()=>{e.hooks.hook("link:prefetch",async n=>{const{hostname:o}=new URL(n,window.location.href);o===window.location.hostname&&await Sp(n).catch(()=>{console.warn("[nuxt] Error preloading payload for",n)})}),navigator.connection?.effectiveType!=="slow-2g"&&setTimeout(id,1e3)})}}),aw=tn(()=>{const e=Ut();Zi(()=>{e.beforeResolve(async()=>{await new Promise(t=>{setTimeout(t,100),requestAnimationFrame(()=>{setTimeout(t,0)})})})})}),sw=tn(e=>{let t;async function n(){let o;try{o=await id()}catch(u){const r=u;if(!("status"in r&&(r.status===404||r.status===403)))throw r}t&&clearTimeout(t),t=setTimeout(n,Cp);try{const u=await $fetch(ud("builds/latest.json")+`?${Date.now()}`);u.id!==o?.id&&(e.hooks.callHook("app:manifest:update",u),t&&clearTimeout(t))}catch{}}Zi(()=>{t=setTimeout(n,Cp)})}),iw=tn({name:"nuxt:chunk-reload",setup(e){const t=Ut(),n=Qt(),o=new Set;t.beforeEach(()=>{o.clear()}),e.hook("app:chunkError",({error:r})=>{o.add(r)});function u(r){const a=Cr(n.app.baseURL,r.fullPath);W9({path:a,persistState:!0})}e.hook("app:manifest:update",()=>{t.beforeResolve(u)}),t.onError((r,a)=>{o.has(r)&&u(a)})}}),lw="__NUXT_COLOR_MODE__",Rl="nuxt-color-mode",cw="localStorage",fo=window[lw]||{},dw=tn(e=>{const t=Ho("color-mode",()=>Tt({preference:fo.preference,value:fo.value,unknown:!1,forced:!1})).value;Ut().afterEach(r=>{const a=r.meta.colorMode;a&&a!=="system"?(t.value=a,t.forced=!0):(a==="system"&&console.warn("You cannot force the colorMode to system at the page level."),t.forced=!1,t.value=t.preference==="system"?fo.getColorScheme():t.preference)});let n;function o(){n||!window.matchMedia||(n=window.matchMedia("(prefers-color-scheme: dark)"),n.addEventListener("change",()=>{!t.forced&&t.preference==="system"&&(t.value=fo.getColorScheme())}))}function u(r,a){switch(r){case"cookie":window.document.cookie=Rl+"="+a;break;case"sessionStorage":window.sessionStorage?.setItem(Rl,a);break;default:window.localStorage?.setItem(Rl,a)}}Ce(()=>t.preference,r=>{t.forced||(r==="system"?(t.value=fo.getColorScheme(),o()):t.value=r,u(cw,r))},{immediate:!0}),Ce(()=>t.value,(r,a)=>{let s;s=window.document.createElement("style"),s.appendChild(document.createTextNode("*{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}")),window.document.head.appendChild(s),fo.removeColorScheme(a),fo.addColorScheme(r),window.getComputedStyle(s).opacity,document.head.removeChild(s)}),t.preference==="system"&&o(),e.hook("app:mounted",()=>{t.unknown&&(t.preference=fo.preference,t.value=fo.value,t.unknown=!1)}),e.provide("colorMode",t)}),Zv=/^[a-z0-9]+(-[a-z0-9]+)*$/,Ra=(e,t,n,o="")=>{const u=e.split(":");if(e.slice(0,1)==="@"){if(u.length<2||u.length>3)return null;o=u.shift().slice(1)}if(u.length>3||!u.length)return null;if(u.length>1){const s=u.pop(),i=u.pop(),c={provider:u.length>0?u[0]:o,prefix:i,name:s};return t&&!Is(c)?null:c}const r=u[0],a=r.split("-");if(a.length>1){const s={provider:o,prefix:a.shift(),name:a.join("-")};return t&&!Is(s)?null:s}if(n&&o===""){const s={provider:o,prefix:"",name:r};return t&&!Is(s,n)?null:s}return null},Is=(e,t)=>e?!!((t&&e.prefix===""||e.prefix)&&e.name):!1,Xv=Object.freeze({left:0,top:0,width:16,height:16}),ii=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),xr=Object.freeze({...Xv,...ii}),zc=Object.freeze({...xr,body:"",hidden:!1});function fw(e,t){const n={};!e.hFlip!=!t.hFlip&&(n.hFlip=!0),!e.vFlip!=!t.vFlip&&(n.vFlip=!0);const o=((e.rotate||0)+(t.rotate||0))%4;return o&&(n.rotate=o),n}function th(e,t){const n=fw(e,t);for(const o in zc)o in ii?o in e&&!(o in n)&&(n[o]=ii[o]):o in t?n[o]=t[o]:o in e&&(n[o]=e[o]);return n}function pw(e,t){const n=e.icons,o=e.aliases||Object.create(null),u=Object.create(null);function r(a){if(n[a])return u[a]=[];if(!(a in u)){u[a]=null;const s=o[a]&&o[a].parent,i=s&&r(s);i&&(u[a]=[s].concat(i))}return u[a]}return Object.keys(n).concat(Object.keys(o)).forEach(r),u}function hw(e,t,n){const o=e.icons,u=e.aliases||Object.create(null);let r={};function a(s){r=th(o[s]||u[s],r)}return a(t),n.forEach(a),th(e,r)}function Jv(e,t){const n=[];if(typeof e!="object"||typeof e.icons!="object")return n;e.not_found instanceof Array&&e.not_found.forEach(u=>{t(u,null),n.push(u)});const o=pw(e);for(const u in o){const r=o[u];r&&(t(u,hw(e,u,r)),n.push(u))}return n}const mw={provider:"",aliases:{},not_found:{},...Xv};function Il(e,t){for(const n in t)if(n in e&&typeof e[n]!=typeof t[n])return!1;return!0}function Qv(e){if(typeof e!="object"||e===null)return null;const t=e;if(typeof t.prefix!="string"||!e.icons||typeof e.icons!="object"||!Il(e,mw))return null;const n=t.icons;for(const u in n){const r=n[u];if(!u||typeof r.body!="string"||!Il(r,zc))return null}const o=t.aliases||Object.create(null);for(const u in o){const r=o[u],a=r.parent;if(!u||typeof a!="string"||!n[a]&&!o[a]||!Il(r,zc))return null}return t}const nh=Object.create(null);function gw(e,t){return{provider:e,prefix:t,icons:Object.create(null),missing:new Set}}function _u(e,t){const n=nh[e]||(nh[e]=Object.create(null));return n[t]||(n[t]=gw(e,t))}function e1(e,t){return Qv(t)?Jv(t,(n,o)=>{o?e.icons[n]=o:e.missing.add(n)}):[]}function vw(e,t,n){try{if(typeof n.body=="string")return e.icons[t]={...n},!0}catch{}return!1}let Ea=!1;function t1(e){return typeof e=="boolean"&&(Ea=e),Ea}function md(e){const t=typeof e=="string"?Ra(e,!0,Ea):e;if(t){const n=_u(t.provider,t.prefix),o=t.name;return n.icons[o]||(n.missing.has(o)?null:void 0)}}function Ca(e,t){const n=Ra(e,!0,Ea);if(!n)return!1;const o=_u(n.provider,n.prefix);return t?vw(o,n.name,t):(o.missing.add(n.name),!0)}function yw(e,t){if(typeof e!="object")return!1;if(typeof t!="string"&&(t=e.provider||""),Ea&&!t&&!e.prefix){let u=!1;return Qv(e)&&(e.prefix="",Jv(e,(r,a)=>{Ca(r,a)&&(u=!0)})),u}const n=e.prefix;if(!Is({prefix:n,name:"a"}))return!1;const o=_u(t,n);return!!e1(o,e)}function Uc(e){const t=md(e);return t&&{...xr,...t}}const n1=Object.freeze({width:null,height:null}),o1=Object.freeze({...n1,...ii}),bw=/(-?[0-9.]*[0-9]+[0-9.]*)/g,Ew=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function oh(e,t,n){if(t===1)return e;if(n=n||100,typeof e=="number")return Math.ceil(e*t*n)/n;if(typeof e!="string")return e;const o=e.split(bw);if(o===null||!o.length)return e;const u=[];let r=o.shift(),a=Ew.test(r);for(;;){if(a){const s=parseFloat(r);isNaN(s)?u.push(r):u.push(Math.ceil(s*t*n)/n)}else u.push(r);if(r=o.shift(),r===void 0)return u.join("");a=!a}}function Cw(e,t="defs"){let n="";const o=e.indexOf("<"+t);for(;o>=0;){const u=e.indexOf(">",o),r=e.indexOf("",r);if(a===-1)break;n+=e.slice(u+1,r).trim(),e=e.slice(0,o).trim()+e.slice(a+1)}return{defs:n,content:e}}function xw(e,t){return e?""+e+""+t:t}function Dw(e,t,n){const o=Cw(e);return xw(o.defs,t+o.content+n)}const ww=e=>e==="unset"||e==="undefined"||e==="none";function Aw(e,t){const n={...xr,...e},o={...o1,...t},u={left:n.left,top:n.top,width:n.width,height:n.height};let r=n.body;[n,o].forEach(g=>{const E=[],b=g.hFlip,y=g.vFlip;let v=g.rotate;b?y?v+=2:(E.push("translate("+(u.width+u.left).toString()+" "+(0-u.top).toString()+")"),E.push("scale(-1 1)"),u.top=u.left=0):y&&(E.push("translate("+(0-u.left).toString()+" "+(u.height+u.top).toString()+")"),E.push("scale(1 -1)"),u.top=u.left=0);let C;switch(v<0&&(v-=Math.floor(v/4)*4),v=v%4,v){case 1:C=u.height/2+u.top,E.unshift("rotate(90 "+C.toString()+" "+C.toString()+")");break;case 2:E.unshift("rotate(180 "+(u.width/2+u.left).toString()+" "+(u.height/2+u.top).toString()+")");break;case 3:C=u.width/2+u.left,E.unshift("rotate(-90 "+C.toString()+" "+C.toString()+")");break}v%2===1&&(u.left!==u.top&&(C=u.left,u.left=u.top,u.top=C),u.width!==u.height&&(C=u.width,u.width=u.height,u.height=C)),E.length&&(r=Dw(r,'',""))});const a=o.width,s=o.height,i=u.width,c=u.height;let l,d;a===null?(d=s===null?"1em":s==="auto"?c:s,l=oh(d,i/c)):(l=a==="auto"?i:a,d=s===null?oh(l,c/i):s==="auto"?c:s);const f={},p=(g,E)=>{ww(E)||(f[g]=E.toString())};p("width",l),p("height",d);const m=[u.left,u.top,i,c];return f.viewBox=m.join(" "),{attributes:f,viewBox:m,body:r}}const Bw=/\sid="(\S+)"/g,_w="IconifyId"+Date.now().toString(16)+(Math.random()*16777216|0).toString(16);let kw=0;function Sw(e,t=_w){const n=[];let o;for(;o=Bw.exec(e);)n.push(o[1]);if(!n.length)return e;const u="suffix"+(Math.random()*16777216|Date.now()).toString(16);return n.forEach(r=>{const a=typeof t=="function"?t(r):t+(kw++).toString(),s=r.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");e=e.replace(new RegExp('([#;"])('+s+')([")]|\\.[a-z])',"g"),"$1"+a+u+"$3")}),e=e.replace(new RegExp(u,"g"),""),e}const Hc=Object.create(null);function u1(e,t){Hc[e]=t}function Kc(e){return Hc[e]||Hc[""]}function gd(e){let t;if(typeof e.resources=="string")t=[e.resources];else if(t=e.resources,!(t instanceof Array)||!t.length)return null;return{resources:t,path:e.path||"/",maxURL:e.maxURL||500,rotate:e.rotate||750,timeout:e.timeout||5e3,random:e.random===!0,index:e.index||0,dataAfterTimeout:e.dataAfterTimeout!==!1}}const Xi=Object.create(null),qr=["https://api.simplesvg.com","https://api.unisvg.com"],Ls=[];for(;qr.length>0;)qr.length===1||Math.random()>.5?Ls.push(qr.shift()):Ls.push(qr.pop());Xi[""]=gd({resources:["https://api.iconify.design"].concat(Ls)});function r1(e,t){const n=gd(t);return n===null?!1:(Xi[e]=n,!0)}function Ji(e){return Xi[e]}function Tw(){return Object.keys(Xi)}const Fw=()=>{let e;try{if(e=fetch,typeof e=="function")return e}catch{}};let li=Fw();function Pw(e){li=e}function Mw(){return li}function Ow(e,t){const n=Ji(e);if(!n)return 0;let o;if(!n.maxURL)o=0;else{let u=0;n.resources.forEach(a=>{u=Math.max(u,a.length)});const r=t+".json?icons=";o=n.maxURL-u-n.path.length-r.length}return o}function Rw(e){return e===404}const Iw=(e,t,n)=>{const o=[],u=Ow(e,t),r="icons";let a={type:r,provider:e,prefix:t,icons:[]},s=0;return n.forEach((i,c)=>{s+=i.length+1,s>=u&&c>0&&(o.push(a),a={type:r,provider:e,prefix:t,icons:[]},s=i.length),a.icons.push(i)}),o.push(a),o};function Lw(e){if(typeof e=="string"){const t=Ji(e);if(t)return t.path}return"/"}const qw=(e,t,n)=>{if(!li){n("abort",424);return}let o=Lw(t.provider);switch(t.type){case"icons":{const r=t.prefix,s=t.icons.join(","),i=new URLSearchParams({icons:s});o+=r+".json?"+i.toString();break}case"custom":{const r=t.uri;o+=r.slice(0,1)==="/"?r.slice(1):r;break}default:n("abort",400);return}let u=503;li(e+o).then(r=>{const a=r.status;if(a!==200){setTimeout(()=>{n(Rw(a)?"abort":"next",a)});return}return u=501,r.json()}).then(r=>{if(typeof r!="object"||r===null){setTimeout(()=>{r===404?n("abort",r):n("next",u)});return}setTimeout(()=>{n("success",r)})}).catch(()=>{n("next",u)})},$w={prepare:Iw,send:qw};function Nw(e){const t={loaded:[],missing:[],pending:[]},n=Object.create(null);e.sort((u,r)=>u.provider!==r.provider?u.provider.localeCompare(r.provider):u.prefix!==r.prefix?u.prefix.localeCompare(r.prefix):u.name.localeCompare(r.name));let o={provider:"",prefix:"",name:""};return e.forEach(u=>{if(o.name===u.name&&o.prefix===u.prefix&&o.provider===u.provider)return;o=u;const r=u.provider,a=u.prefix,s=u.name,i=n[r]||(n[r]=Object.create(null)),c=i[a]||(i[a]=_u(r,a));let l;s in c.icons?l=t.loaded:a===""||c.missing.has(s)?l=t.missing:l=t.pending;const d={provider:r,prefix:a,name:s};l.push(d)}),t}function a1(e,t){e.forEach(n=>{const o=n.loaderCallbacks;o&&(n.loaderCallbacks=o.filter(u=>u.id!==t))})}function jw(e){e.pendingCallbacksFlag||(e.pendingCallbacksFlag=!0,setTimeout(()=>{e.pendingCallbacksFlag=!1;const t=e.loaderCallbacks?e.loaderCallbacks.slice(0):[];if(!t.length)return;let n=!1;const o=e.provider,u=e.prefix;t.forEach(r=>{const a=r.icons,s=a.pending.length;a.pending=a.pending.filter(i=>{if(i.prefix!==u)return!0;const c=i.name;if(e.icons[c])a.loaded.push({provider:o,prefix:u,name:c});else if(e.missing.has(c))a.missing.push({provider:o,prefix:u,name:c});else return n=!0,!0;return!1}),a.pending.length!==s&&(n||a1([e],r.id),r.callback(a.loaded.slice(0),a.missing.slice(0),a.pending.slice(0),r.abort))})}))}let Vw=0;function zw(e,t,n){const o=Vw++,u=a1.bind(null,n,o);if(!t.pending.length)return u;const r={id:o,icons:t,callback:e,abort:u};return n.forEach(a=>{(a.loaderCallbacks||(a.loaderCallbacks=[])).push(r)}),u}function Uw(e,t=!0,n=!1){const o=[];return e.forEach(u=>{const r=typeof u=="string"?Ra(u,t,n):u;r&&o.push(r)}),o}var Hw={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function Kw(e,t,n,o){const u=e.resources.length,r=e.random?Math.floor(Math.random()*u):e.index;let a;if(e.random){let w=e.resources.slice(0);for(a=[];w.length>1;){const B=Math.floor(Math.random()*w.length);a.push(w[B]),w=w.slice(0,B).concat(w.slice(B+1))}a=a.concat(w)}else a=e.resources.slice(r).concat(e.resources.slice(0,r));const s=Date.now();let i="pending",c=0,l,d=null,f=[],p=[];typeof o=="function"&&p.push(o);function m(){d&&(clearTimeout(d),d=null)}function g(){i==="pending"&&(i="aborted"),m(),f.forEach(w=>{w.status==="pending"&&(w.status="aborted")}),f=[]}function E(w,B){B&&(p=[]),typeof w=="function"&&p.push(w)}function b(){return{startTime:s,payload:t,status:i,queriesSent:c,queriesPending:f.length,subscribe:E,abort:g}}function y(){i="failed",p.forEach(w=>{w(void 0,l)})}function v(){f.forEach(w=>{w.status==="pending"&&(w.status="aborted")}),f=[]}function C(w,B,_){const F=B!=="success";switch(f=f.filter(R=>R!==w),i){case"pending":break;case"failed":if(F||!e.dataAfterTimeout)return;break;default:return}if(B==="abort"){l=_,y();return}if(F){l=_,f.length||(a.length?x():y());return}if(m(),v(),!e.random){const R=e.resources.indexOf(w.resource);R!==-1&&R!==e.index&&(e.index=R)}i="completed",p.forEach(R=>{R(_)})}function x(){if(i!=="pending")return;m();const w=a.shift();if(w===void 0){if(f.length){d=setTimeout(()=>{m(),i==="pending"&&(v(),y())},e.timeout);return}y();return}const B={status:"pending",resource:w,callback:(_,F)=>{C(B,_,F)}};f.push(B),c++,d=setTimeout(x,e.rotate),n(w,t,B.callback)}return setTimeout(x),b}function s1(e){const t={...Hw,...e};let n=[];function o(){n=n.filter(s=>s().status==="pending")}function u(s,i,c){const l=Kw(t,s,i,(d,f)=>{o(),c&&c(d,f)});return n.push(l),l}function r(s){return n.find(i=>s(i))||null}return{query:u,find:r,setIndex:s=>{t.index=s},getIndex:()=>t.index,cleanup:o}}function uh(){}const Ll=Object.create(null);function Ww(e){if(!Ll[e]){const t=Ji(e);if(!t)return;const n=s1(t),o={config:t,redundancy:n};Ll[e]=o}return Ll[e]}function i1(e,t,n){let o,u;if(typeof e=="string"){const r=Kc(e);if(!r)return n(void 0,424),uh;u=r.send;const a=Ww(e);a&&(o=a.redundancy)}else{const r=gd(e);if(r){o=s1(r);const a=e.resources?e.resources[0]:"",s=Kc(a);s&&(u=s.send)}}return!o||!u?(n(void 0,424),uh):o.query(t,u,n)().abort}function rh(){}function Gw(e){e.iconsLoaderFlag||(e.iconsLoaderFlag=!0,setTimeout(()=>{e.iconsLoaderFlag=!1,jw(e)}))}function Yw(e){const t=[],n=[];return e.forEach(o=>{(o.match(Zv)?t:n).push(o)}),{valid:t,invalid:n}}function $r(e,t,n){function o(){const u=e.pendingIcons;t.forEach(r=>{u&&u.delete(r),e.icons[r]||e.missing.add(r)})}if(n&&typeof n=="object")try{if(!e1(e,n).length){o();return}}catch(u){console.error(u)}o(),Gw(e)}function ah(e,t){e instanceof Promise?e.then(n=>{t(n)}).catch(()=>{t(null)}):t(e)}function Zw(e,t){e.iconsToLoad?e.iconsToLoad=e.iconsToLoad.concat(t).sort():e.iconsToLoad=t,e.iconsQueueFlag||(e.iconsQueueFlag=!0,setTimeout(()=>{e.iconsQueueFlag=!1;const{provider:n,prefix:o}=e,u=e.iconsToLoad;if(delete e.iconsToLoad,!u||!u.length)return;const r=e.loadIcon;if(e.loadIcons&&(u.length>1||!r)){ah(e.loadIcons(u,o,n),l=>{$r(e,u,l)});return}if(r){u.forEach(l=>{const d=r(l,o,n);ah(d,f=>{const p=f?{prefix:o,icons:{[l]:f}}:null;$r(e,[l],p)})});return}const{valid:a,invalid:s}=Yw(u);if(s.length&&$r(e,s,null),!a.length)return;const i=o.match(Zv)?Kc(n):null;if(!i){$r(e,a,null);return}i.prepare(n,o,a).forEach(l=>{i1(n,l,d=>{$r(e,l.icons,d)})})}))}const l1=(e,t)=>{const n=Uw(e,!0,t1()),o=Nw(n);if(!o.pending.length){let i=!0;return t&&setTimeout(()=>{i&&t(o.loaded,o.missing,o.pending,rh)}),()=>{i=!1}}const u=Object.create(null),r=[];let a,s;return o.pending.forEach(i=>{const{provider:c,prefix:l}=i;if(l===s&&c===a)return;a=c,s=l,r.push(_u(c,l));const d=u[c]||(u[c]=Object.create(null));d[l]||(d[l]=[])}),o.pending.forEach(i=>{const{provider:c,prefix:l,name:d}=i,f=_u(c,l),p=f.pendingIcons||(f.pendingIcons=new Set);p.has(d)||(p.add(d),u[c][l].push(d))}),r.forEach(i=>{const c=u[i.provider][i.prefix];c.length&&Zw(i,c)}),t?zw(t,o,r):rh},Xw=e=>new Promise((t,n)=>{const o=typeof e=="string"?Ra(e,!0):e;if(!o){n(e);return}l1([o||e],u=>{if(u.length&&o){const r=md(o);if(r){t({...xr,...r});return}}n(e)})});function Jw(e,t,n){_u("",t).loadIcons=e}function Qw(e,t){const n={...e};for(const o in t){const u=t[o],r=typeof u;o in n1?(u===null||u&&(r==="string"||r==="number"))&&(n[o]=u):r===typeof n[o]&&(n[o]=o==="rotate"?u%4:u)}return n}const eA=/[\s,]+/;function tA(e,t){t.split(eA).forEach(n=>{switch(n.trim()){case"horizontal":e.hFlip=!0;break;case"vertical":e.vFlip=!0;break}})}function nA(e,t=0){const n=e.replace(/^-?[0-9.]*/,"");function o(u){for(;u<0;)u+=4;return u%4}if(n===""){const u=parseInt(e);return isNaN(u)?0:o(u)}else if(n!==e){let u=0;switch(n){case"%":u=25;break;case"deg":u=90}if(u){let r=parseFloat(e.slice(0,e.length-n.length));return isNaN(r)?0:(r=r/u,r%1===0?o(r):0)}}return t}function oA(e,t){let n=e.indexOf("xlink:")===-1?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(const o in t)n+=" "+o+'="'+t[o]+'"';return'"+e+""}function uA(e){return e.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(//g,"%3E").replace(/\s+/g," ")}function rA(e){return"data:image/svg+xml,"+uA(e)}function aA(e){return'url("'+rA(e)+'")'}const sh={...o1,inline:!1},sA={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},iA={display:"inline-block"},Wc={backgroundColor:"currentColor"},c1={backgroundColor:"transparent"},ih={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},lh={webkitMask:Wc,mask:Wc,background:c1};for(const e in lh){const t=lh[e];for(const n in ih)t[e+n]=ih[n]}const qs={};["horizontal","vertical"].forEach(e=>{const t=e.slice(0,1)+"Flip";qs[e+"-flip"]=t,qs[e.slice(0,1)+"-flip"]=t,qs[e+"Flip"]=t});function ch(e){return e+(e.match(/^[-0-9.]+$/)?"px":"")}const dh=(e,t)=>{const n=Qw(sh,t),o={...sA},u=t.mode||"svg",r={},a=t.style,s=typeof a=="object"&&!(a instanceof Array)?a:{};for(let g in t){const E=t[g];if(E!==void 0)switch(g){case"icon":case"style":case"onLoad":case"mode":case"ssr":break;case"inline":case"hFlip":case"vFlip":n[g]=E===!0||E==="true"||E===1;break;case"flip":typeof E=="string"&&tA(n,E);break;case"color":r.color=E;break;case"rotate":typeof E=="string"?n[g]=nA(E):typeof E=="number"&&(n[g]=E);break;case"ariaHidden":case"aria-hidden":E!==!0&&E!=="true"&&delete o["aria-hidden"];break;default:{const b=qs[g];b?(E===!0||E==="true"||E===1)&&(n[b]=!0):sh[g]===void 0&&(o[g]=E)}}}const i=Aw(e,n),c=i.attributes;if(n.inline&&(r.verticalAlign="-0.125em"),u==="svg"){o.style={...r,...s},Object.assign(o,c);let g=0,E=t.id;return typeof E=="string"&&(E=E.replace(/-/g,"_")),o.innerHTML=Sw(i.body,E?()=>E+"ID"+g++:"iconifyVue"),ze("svg",o)}const{body:l,width:d,height:f}=e,p=u==="mask"||(u==="bg"?!1:l.indexOf("currentColor")!==-1),m=oA(l,{...c,width:d+"",height:f+""});return o.style={...r,"--svg":aA(m),width:ch(c.width),height:ch(c.height),...iA,...p?Wc:c1,...s},ze("span",o)};t1(!0);u1("",$w);if(typeof document<"u"&&typeof window<"u"){const e=window;if(e.IconifyPreload!==void 0){const t=e.IconifyPreload,n="Invalid IconifyPreload syntax.";typeof t=="object"&&t!==null&&(t instanceof Array?t:[t]).forEach(o=>{try{(typeof o!="object"||o===null||o instanceof Array||typeof o.icons!="object"||typeof o.prefix!="string"||!yw(o))&&console.error(n)}catch{console.error(n)}})}if(e.IconifyProviders!==void 0){const t=e.IconifyProviders;if(typeof t=="object"&&t!==null)for(let n in t){const o="IconifyProviders["+n+"] is invalid.";try{const u=t[n];if(typeof u!="object"||!u||u.resources===void 0)continue;r1(n,u)||console.error(o)}catch{console.error(o)}}}}const lA={...xr,body:""},cA=N((e,{emit:t})=>{const n=L(null);function o(){n.value&&(n.value.abort?.(),n.value=null)}const u=L(!!e.ssr),r=L(""),a=$e(null);function s(){const c=e.icon;if(typeof c=="object"&&c!==null&&typeof c.body=="string")return r.value="",{data:c};let l;if(typeof c!="string"||(l=Ra(c,!1,!0))===null)return null;let d=md(l);if(!d){const m=n.value;return(!m||m.name!==c)&&(d===null?n.value={name:c}:n.value={name:c,abort:l1([l],i)}),null}o(),r.value!==c&&(r.value=c,He(()=>{t("load",c)}));const f=e.customise;if(f){d=Object.assign({},d);const m=f(d.body,l.name,l.prefix,l.provider);typeof m=="string"&&(d.body=m)}const p=["iconify"];return l.prefix!==""&&p.push("iconify--"+l.prefix),l.provider!==""&&p.push("iconify--"+l.provider),{data:d,classes:p}}function i(){const c=s();c?c.data!==a.value?.data&&(a.value=c):a.value=null}return u.value?i():je(()=>{u.value=!0,i()}),Ce(()=>e.icon,i),en(o),()=>{const c=a.value;if(!c)return dh(lA,e);let l=e;return c.classes&&(l={...e,class:c.classes.join(" ")}),dh({...xr,...c.data},l)}},{props:["icon","mode","ssr","width","height","style","color","inline","rotate","hFlip","horizontalFlip","vFlip","verticalFlip","flip","id","ariaHidden","customise","title"],emits:["load"]}),fh={getAPIConfig:Ji,setAPIModule:u1,sendAPIQuery:i1,setFetch:Pw,getFetch:Mw,listAPIProviders:Tw},dA=tn({name:"@nuxt/icon",setup(){const e=Qt(),t=qe().icon;fh.setFetch($fetch.native);const n=[];if(t.provider==="server"){const u=e.app?.baseURL?.replace(/\/$/,"")??"";n.push(u+(t.localApiEndpoint||"/api/_nuxt_icon")),(t.fallbackToApi===!0||t.fallbackToApi==="client-only")&&n.push(t.iconifyApiEndpoint)}else t.provider==="none"?fh.setFetch(()=>Promise.resolve(new Response)):n.push(t.iconifyApiEndpoint);async function o(u,r){try{const a=await $fetch(n[0]+"/"+r+".json",{query:{icons:u.join(",")}});if(!a||a.prefix!==r||!a.icons)throw new Error("Invalid data"+JSON.stringify(a));return a}catch(a){return console.error("Failed to load custom icons",a),null}}r1("",{resources:n});for(const u of t.customCollections||[])u&&Jw(o,u)}}),fA=Ee(()=>te(()=>import("./Bg3yXSss.js"),[],import.meta.url).then(e=>e.default||e.default||e)),pA=Ee(()=>te(()=>import("./BBkDooDw.js"),[],import.meta.url).then(e=>e.default||e.default||e)),hA=Ee(()=>te(()=>import("./CPqlHjwQ.js"),[],import.meta.url).then(e=>e.default||e.default||e)),mA=Ee(()=>te(()=>import("./CjzR56Xk.js"),__vite__mapDeps([6,7,3]),import.meta.url).then(e=>e.default||e.default||e)),gA=Ee(()=>te(()=>import("./C2YCDdgW.js"),[],import.meta.url).then(e=>e.default||e.default||e)),vA=Ee(()=>te(()=>import("./BMqJWTDa.js"),__vite__mapDeps([8,7,3]),import.meta.url).then(e=>e.default||e.default||e)),yA=Ee(()=>te(()=>import("./CL7wIhgG.js"),__vite__mapDeps([9,7,3]),import.meta.url).then(e=>e.default||e.default||e)),bA=Ee(()=>te(()=>import("./BqBJuCYV.js"),[],import.meta.url).then(e=>e.default||e.default||e)),EA=Ee(()=>te(()=>import("./YPsXU7de.js"),[],import.meta.url).then(e=>e.default||e.default||e)),CA=Ee(()=>te(()=>import("./BnWD00Mr.js"),[],import.meta.url).then(e=>e.default||e.default||e)),xA=Ee(()=>te(()=>import("./CkJ5KmX1.js"),__vite__mapDeps([10,11,12,13]),import.meta.url).then(e=>e.default||e.default||e)),DA=Ee(()=>te(()=>import("./DBvuT6Rn.js"),[],import.meta.url).then(e=>e.default||e.default||e)),wA=Ee(()=>te(()=>import("./CR739YIT.js"),[],import.meta.url).then(e=>e.default||e.default||e)),AA=Ee(()=>te(()=>import("./rlQ8XdZv.js"),__vite__mapDeps([14,15,12,13]),import.meta.url).then(e=>e.default||e.default||e)),BA=Ee(()=>te(()=>import("./_LX0b7A9.js"),[],import.meta.url).then(e=>e.default||e.default||e)),_A=Ee(()=>te(()=>import("./Bzw3B9ST.js"),[],import.meta.url).then(e=>e.default||e.default||e)),kA=Ee(()=>te(()=>import("./Dzv2jvA8.js"),__vite__mapDeps([16,7,3]),import.meta.url).then(e=>e.default||e.default||e)),SA=Ee(()=>te(()=>import("./DgLuoqMo.js"),[],import.meta.url).then(e=>e.default||e.default||e)),TA=Ee(()=>te(()=>import("./9fHaxxcf.js"),[],import.meta.url).then(e=>e.default||e.default||e)),FA=Ee(()=>te(()=>import("./DKqmGj5l.js"),[],import.meta.url).then(e=>e.default||e.default||e)),PA=Ee(()=>te(()=>import("./DkGvnzxz.js"),[],import.meta.url).then(e=>e.default||e.default||e)),MA=Ee(()=>te(()=>import("./BGqPxSb_.js"),[],import.meta.url).then(e=>e.default||e.default||e)),OA=Ee(()=>te(()=>import("./Ce74DA75.js"),[],import.meta.url).then(e=>e.default||e.default||e)),RA=Ee(()=>te(()=>import("./lYciAGvX.js"),[],import.meta.url).then(e=>e.default||e.default||e)),IA=Ee(()=>te(()=>import("./DdGGUwSf.js"),[],import.meta.url).then(e=>e.default||e.default||e)),LA=Ee(()=>te(()=>import("./BAIwO3PA.js"),[],import.meta.url).then(e=>e.default||e.default||e)),qA=Ee(()=>te(()=>import("./DjjroVRY.js"),[],import.meta.url).then(e=>e.default||e.default||e)),$A=Ee(()=>te(()=>import("./CumI3Y8A.js"),[],import.meta.url).then(e=>e.default||e.default||e)),NA=Ee(()=>te(()=>import("./CEq-pUOP.js"),[],import.meta.url).then(e=>e.default||e.default||e)),jA=Ee(()=>te(()=>import("./CxnGnurX.js"),__vite__mapDeps([17,13]),import.meta.url).then(e=>e.default||e.default||e)),VA=Ee(()=>te(()=>import("./_6E1Z7a7.js"),[],import.meta.url).then(e=>e.default||e.default||e)),zA=Ee(()=>te(()=>import("./B6ew2NSL.js"),[],import.meta.url).then(e=>e.default||e.default||e)),UA=Ee(()=>te(()=>import("./CAvwm2Ra.js"),[],import.meta.url).then(e=>e.default||e.default||e)),HA=Ee(()=>te(()=>import("./r1MYRSZy.js"),[],import.meta.url).then(e=>e.default||e.default||e)),KA=Ee(()=>te(()=>import("./4geVMwKU.js"),__vite__mapDeps([18,11,12]),import.meta.url).then(e=>e.default||e.default||e)),WA=Ee(()=>te(()=>import("./BMvmZwTJ.js"),[],import.meta.url).then(e=>e.default||e.default||e)),GA=Ee(()=>te(()=>import("./dDXv_e4b.js"),[],import.meta.url).then(e=>e.default||e.default||e)),YA=Ee(()=>te(()=>import("./CgIOeGUO.js"),[],import.meta.url).then(e=>e.default||e.default||e)),ZA=Ee(()=>te(()=>import("./D_5BbqUW.js"),[],import.meta.url).then(e=>e.default||e.default||e)),XA=Ee(()=>te(()=>import("./BidMfeEk.js"),[],import.meta.url).then(e=>e.default||e.default||e)),JA=Ee(()=>te(()=>import("./By6s8kVp.js"),[],import.meta.url).then(e=>e.default||e.default||e)),QA=Ee(()=>te(()=>import("./Bfu_U5-L.js"),[],import.meta.url).then(e=>e.default||e.default||e)),eB=Ee(()=>te(()=>import("./Ca_2f93x.js"),__vite__mapDeps([19,7,3,8]),import.meta.url).then(e=>e.default||e.default||e)),tB=Ee(()=>te(()=>import("./BjGUPQBu.js"),__vite__mapDeps([20,7,3,8]),import.meta.url).then(e=>e.default||e.default||e)),nB=Ee(()=>te(()=>import("./oZ4tf5kN.js"),__vite__mapDeps([21,7,3,8]),import.meta.url).then(e=>e.default||e.default||e)),oB=Ee(()=>te(()=>import("./Ba9qITSN.js"),__vite__mapDeps([22,7,3,8]),import.meta.url).then(e=>e.default||e.default||e)),uB=Ee(()=>te(()=>import("./C6hkIHKO.js"),[],import.meta.url).then(e=>e.default||e.default||e)),rB=Ee(()=>te(()=>import("./CzZF-Hx3.js"),[],import.meta.url).then(e=>e.default||e.default||e)),aB=Ee(()=>te(()=>Promise.resolve().then(()=>uM),void 0,import.meta.url).then(e=>e.default||e.default||e)),sB=[["ProseA",fA],["ProseAccordion",pA],["ProseAccordionItem",hA],["ProseBadge",mA],["ProseBlockquote",gA],["ProseCallout",vA],["ProseCard",yA],["ProseCardGroup",bA],["ProseCode",EA],["ProseCodeCollapse",CA],["ProseCodeGroup",xA],["ProseCodeIcon",DA],["ProseCodePreview",wA],["ProseCodeTree",AA],["ProseCollapsible",BA],["ProseEm",_A],["ProseField",kA],["ProseFieldGroup",SA],["ProseH1",TA],["ProseH2",FA],["ProseH3",PA],["ProseH4",MA],["ProseHr",OA],["ProseIcon",RA],["ProseImg",IA],["ProseKbd",LA],["ProseLi",qA],["ProseOl",$A],["ProseP",NA],["ProsePre",jA],["ProseScript",VA],["ProseSteps",zA],["ProseStrong",UA],["ProseTable",HA],["ProseTabs",KA],["ProseTabsItem",WA],["ProseTbody",GA],["ProseTd",YA],["ProseTh",ZA],["ProseThead",XA],["ProseTr",JA],["ProseUl",QA],["ProseCaution",eB],["ProseNote",tB],["ProseTip",nB],["ProseWarning",oB],["ProseH5",uB],["ProseH6",rB],["Icon",aB]],iB=tn({name:"nuxt:global-components",setup(e){for(const[t,n]of sB)e.vueApp.component(t,n),e.vueApp.component("Lazy"+t,n)}}),Ko={default:Ee(()=>te(()=>import("./C8bC2vpE.js"),__vite__mapDeps([23,24]),import.meta.url).then(e=>e.default||e)),docs:Ee(()=>te(()=>import("./CZKfTBmy.js"),__vite__mapDeps([25,4,24]),import.meta.url).then(e=>e.default||e))},lB=tn({name:"nuxt:prefetch",setup(e){const t=Ut();e.hooks.hook("app:mounted",()=>{t.beforeEach(async n=>{const o=n?.meta?.layout;o&&typeof Ko[o]=="function"&&await Ko[o]()})}),e.hooks.hook("link:prefetch",n=>{if(Tn(n))return;const o=t.resolve(n);if(!o)return;const u=o.meta.layout;let r=Rv(o.meta.middleware);r=r.filter(a=>typeof a=="string");for(const a of r)typeof jc[a]=="function"&&jc[a]();typeof u=="string"&&u in Ko&&K9(Ko[u])})}});var Dr=e=>{window.__fathomClientQueue=window.__fathomClientQueue||[],window.__fathomClientQueue.push(e)},cB=()=>{window.__fathomIsLoading=!1,window.__fathomClientQueue=window.__fathomClientQueue||[],window.__fathomClientQueue.forEach(e=>{switch(e.type){case"trackPageview":f1(e.opts);return;case"trackGoal":p1(e.code,e.cents);return;case"trackEvent":h1(e.eventName,e.opts);return;case"enableTrackingForMe":g1();return;case"blockTrackingForMe":m1();return;case"setSite":v1(e.id);return}}),window.__fathomClientQueue=[]},ph=e=>{const t=/(https?)(?=:|\/|$)/;e.forEach(n=>{t.exec(n)!==null&&console.warn(`The include domain ${n} might fail to work as intended as it begins with a transfer protocol (http://, https://). Consider removing the protocol portion of the string.`)})},d1=(e,t)=>{if(window.__fathomIsLoading||window.fathom)return;window.__fathomIsLoading=!0;let n=document.createElement("script"),o=document.getElementsByTagName("script")[0]||document.querySelector("body");n.id="fathom-script",n.async=!0,n.setAttribute("data-site",e),n.src=t&&t.url?t.url:"https://cdn.usefathom.com/script.js",t&&(t.auto!==void 0&&n.setAttribute("data-auto",`${t.auto}`),t.honorDNT!==void 0&&n.setAttribute("data-honor-dnt",`${t.honorDNT}`),t.canonical!==void 0&&n.setAttribute("data-canonical",`${t.canonical}`),t.includedDomains&&(ph(t.includedDomains),n.setAttribute("data-included-domains",t.includedDomains.join(","))),t.excludedDomains&&(ph(t.excludedDomains),n.setAttribute("data-excluded-domains",t.excludedDomains.join(","))),t.spa&&n.setAttribute("data-spa",t.spa)),n.onload=cB,o.parentNode.insertBefore(n,o)},f1=e=>{window.fathom?e?window.fathom.trackPageview(e):window.fathom.trackPageview():Dr({type:"trackPageview",opts:e})},p1=(e,t)=>{window.fathom?window.fathom.trackGoal(e,t):Dr({type:"trackGoal",code:e,cents:t})},h1=(e,t)=>{window.fathom?window.fathom.trackEvent(e,t):Dr({type:"trackEvent",eventName:e,opts:t})},m1=()=>{window.fathom?window.fathom.blockTrackingForMe():Dr({type:"blockTrackingForMe"})},g1=()=>{window.fathom?window.fathom.enableTrackingForMe():Dr({type:"enableTrackingForMe"})},dB=()=>{const e=localStorage.getItem("blockFathomTracking");return e!==null?e!=="true":!0},v1=e=>{window.fathom?window.fathom.setSite(e):Dr({type:"setSite",id:e})};const fB=Object.freeze(Object.defineProperty({__proto__:null,blockTrackingForMe:m1,enableTrackingForMe:g1,isTrackingEnabled:dB,load:d1,setSite:v1,trackEvent:h1,trackGoal:p1,trackPageview:f1},Symbol.toStringTag,{value:"Module"}));function pB(e){return(...t)=>e(...t)}const hB=["blockTrackingForMe","enableTrackingForMe","isTrackingEnabled","setSite","trackEvent","trackPageview"];function mB(){const e=hB.map(t=>[t,pB(fB[t])]);return Object.fromEntries(e)}const gB=tn(()=>{const{fathom:{siteId:e,config:t}}=Qt().public;if(e&&(d1(e,t),!t?.manual)){const{trackPageview:n}=mB(),o=Fn();Ce(()=>o.path,()=>{n()})}});var fs={inherit:"inherit",current:"currentcolor",transparent:"transparent",black:"#000",white:"#fff",slate:{50:"oklch(98.4% 0.003 247.858)",100:"oklch(96.8% 0.007 247.896)",200:"oklch(92.9% 0.013 255.508)",300:"oklch(86.9% 0.022 252.894)",400:"oklch(70.4% 0.04 256.788)",500:"oklch(55.4% 0.046 257.417)",600:"oklch(44.6% 0.043 257.281)",700:"oklch(37.2% 0.044 257.287)",800:"oklch(27.9% 0.041 260.031)",900:"oklch(20.8% 0.042 265.755)",950:"oklch(12.9% 0.042 264.695)"},gray:{50:"oklch(98.5% 0.002 247.839)",100:"oklch(96.7% 0.003 264.542)",200:"oklch(92.8% 0.006 264.531)",300:"oklch(87.2% 0.01 258.338)",400:"oklch(70.7% 0.022 261.325)",500:"oklch(55.1% 0.027 264.364)",600:"oklch(44.6% 0.03 256.802)",700:"oklch(37.3% 0.034 259.733)",800:"oklch(27.8% 0.033 256.848)",900:"oklch(21% 0.034 264.665)",950:"oklch(13% 0.028 261.692)"},zinc:{50:"oklch(98.5% 0 0)",100:"oklch(96.7% 0.001 286.375)",200:"oklch(92% 0.004 286.32)",300:"oklch(87.1% 0.006 286.286)",400:"oklch(70.5% 0.015 286.067)",500:"oklch(55.2% 0.016 285.938)",600:"oklch(44.2% 0.017 285.786)",700:"oklch(37% 0.013 285.805)",800:"oklch(27.4% 0.006 286.033)",900:"oklch(21% 0.006 285.885)",950:"oklch(14.1% 0.005 285.823)"},neutral:{50:"oklch(98.5% 0 0)",100:"oklch(97% 0 0)",200:"oklch(92.2% 0 0)",300:"oklch(87% 0 0)",400:"oklch(70.8% 0 0)",500:"oklch(55.6% 0 0)",600:"oklch(43.9% 0 0)",700:"oklch(37.1% 0 0)",800:"oklch(26.9% 0 0)",900:"oklch(20.5% 0 0)",950:"oklch(14.5% 0 0)"},stone:{50:"oklch(98.5% 0.001 106.423)",100:"oklch(97% 0.001 106.424)",200:"oklch(92.3% 0.003 48.717)",300:"oklch(86.9% 0.005 56.366)",400:"oklch(70.9% 0.01 56.259)",500:"oklch(55.3% 0.013 58.071)",600:"oklch(44.4% 0.011 73.639)",700:"oklch(37.4% 0.01 67.558)",800:"oklch(26.8% 0.007 34.298)",900:"oklch(21.6% 0.006 56.043)",950:"oklch(14.7% 0.004 49.25)"},mauve:{50:"oklch(98.5% 0 0)",100:"oklch(96% 0.003 325.6)",200:"oklch(92.2% 0.005 325.62)",300:"oklch(86.5% 0.012 325.68)",400:"oklch(71.1% 0.019 323.02)",500:"oklch(54.2% 0.034 322.5)",600:"oklch(43.5% 0.029 321.78)",700:"oklch(36.4% 0.029 323.89)",800:"oklch(26.3% 0.024 320.12)",900:"oklch(21.2% 0.019 322.12)",950:"oklch(14.5% 0.008 326)"},olive:{50:"oklch(98.8% 0.003 106.5)",100:"oklch(96.6% 0.005 106.5)",200:"oklch(93% 0.007 106.5)",300:"oklch(88% 0.011 106.6)",400:"oklch(73.7% 0.021 106.9)",500:"oklch(58% 0.031 107.3)",600:"oklch(46.6% 0.025 107.3)",700:"oklch(39.4% 0.023 107.4)",800:"oklch(28.6% 0.016 107.4)",900:"oklch(22.8% 0.013 107.4)",950:"oklch(15.3% 0.006 107.1)"},mist:{50:"oklch(98.7% 0.002 197.1)",100:"oklch(96.3% 0.002 197.1)",200:"oklch(92.5% 0.005 214.3)",300:"oklch(87.2% 0.007 219.6)",400:"oklch(72.3% 0.014 214.4)",500:"oklch(56% 0.021 213.5)",600:"oklch(45% 0.017 213.2)",700:"oklch(37.8% 0.015 216)",800:"oklch(27.5% 0.011 216.9)",900:"oklch(21.8% 0.008 223.9)",950:"oklch(14.8% 0.004 228.8)"},taupe:{50:"oklch(98.6% 0.002 67.8)",100:"oklch(96% 0.002 17.2)",200:"oklch(92.2% 0.005 34.3)",300:"oklch(86.8% 0.007 39.5)",400:"oklch(71.4% 0.014 41.2)",500:"oklch(54.7% 0.021 43.1)",600:"oklch(43.8% 0.017 39.3)",700:"oklch(36.7% 0.016 35.7)",800:"oklch(26.8% 0.011 36.5)",900:"oklch(21.4% 0.009 43.1)",950:"oklch(14.7% 0.004 49.3)"},red:{50:"oklch(97.1% 0.013 17.38)",100:"oklch(93.6% 0.032 17.717)",200:"oklch(88.5% 0.062 18.334)",300:"oklch(80.8% 0.114 19.571)",400:"oklch(70.4% 0.191 22.216)",500:"oklch(63.7% 0.237 25.331)",600:"oklch(57.7% 0.245 27.325)",700:"oklch(50.5% 0.213 27.518)",800:"oklch(44.4% 0.177 26.899)",900:"oklch(39.6% 0.141 25.723)",950:"oklch(25.8% 0.092 26.042)"},orange:{50:"oklch(98% 0.016 73.684)",100:"oklch(95.4% 0.038 75.164)",200:"oklch(90.1% 0.076 70.697)",300:"oklch(83.7% 0.128 66.29)",400:"oklch(75% 0.183 55.934)",500:"oklch(70.5% 0.213 47.604)",600:"oklch(64.6% 0.222 41.116)",700:"oklch(55.3% 0.195 38.402)",800:"oklch(47% 0.157 37.304)",900:"oklch(40.8% 0.123 38.172)",950:"oklch(26.6% 0.079 36.259)"},amber:{50:"oklch(98.7% 0.022 95.277)",100:"oklch(96.2% 0.059 95.617)",200:"oklch(92.4% 0.12 95.746)",300:"oklch(87.9% 0.169 91.605)",400:"oklch(82.8% 0.189 84.429)",500:"oklch(76.9% 0.188 70.08)",600:"oklch(66.6% 0.179 58.318)",700:"oklch(55.5% 0.163 48.998)",800:"oklch(47.3% 0.137 46.201)",900:"oklch(41.4% 0.112 45.904)",950:"oklch(27.9% 0.077 45.635)"},yellow:{50:"oklch(98.7% 0.026 102.212)",100:"oklch(97.3% 0.071 103.193)",200:"oklch(94.5% 0.129 101.54)",300:"oklch(90.5% 0.182 98.111)",400:"oklch(85.2% 0.199 91.936)",500:"oklch(79.5% 0.184 86.047)",600:"oklch(68.1% 0.162 75.834)",700:"oklch(55.4% 0.135 66.442)",800:"oklch(47.6% 0.114 61.907)",900:"oklch(42.1% 0.095 57.708)",950:"oklch(28.6% 0.066 53.813)"},lime:{50:"oklch(98.6% 0.031 120.757)",100:"oklch(96.7% 0.067 122.328)",200:"oklch(93.8% 0.127 124.321)",300:"oklch(89.7% 0.196 126.665)",400:"oklch(84.1% 0.238 128.85)",500:"oklch(76.8% 0.233 130.85)",600:"oklch(64.8% 0.2 131.684)",700:"oklch(53.2% 0.157 131.589)",800:"oklch(45.3% 0.124 130.933)",900:"oklch(40.5% 0.101 131.063)",950:"oklch(27.4% 0.072 132.109)"},green:{50:"oklch(98.2% 0.018 155.826)",100:"oklch(96.2% 0.044 156.743)",200:"oklch(92.5% 0.084 155.995)",300:"oklch(87.1% 0.15 154.449)",400:"oklch(79.2% 0.209 151.711)",500:"oklch(72.3% 0.219 149.579)",600:"oklch(62.7% 0.194 149.214)",700:"oklch(52.7% 0.154 150.069)",800:"oklch(44.8% 0.119 151.328)",900:"oklch(39.3% 0.095 152.535)",950:"oklch(26.6% 0.065 152.934)"},emerald:{50:"oklch(97.9% 0.021 166.113)",100:"oklch(95% 0.052 163.051)",200:"oklch(90.5% 0.093 164.15)",300:"oklch(84.5% 0.143 164.978)",400:"oklch(76.5% 0.177 163.223)",500:"oklch(69.6% 0.17 162.48)",600:"oklch(59.6% 0.145 163.225)",700:"oklch(50.8% 0.118 165.612)",800:"oklch(43.2% 0.095 166.913)",900:"oklch(37.8% 0.077 168.94)",950:"oklch(26.2% 0.051 172.552)"},teal:{50:"oklch(98.4% 0.014 180.72)",100:"oklch(95.3% 0.051 180.801)",200:"oklch(91% 0.096 180.426)",300:"oklch(85.5% 0.138 181.071)",400:"oklch(77.7% 0.152 181.912)",500:"oklch(70.4% 0.14 182.503)",600:"oklch(60% 0.118 184.704)",700:"oklch(51.1% 0.096 186.391)",800:"oklch(43.7% 0.078 188.216)",900:"oklch(38.6% 0.063 188.416)",950:"oklch(27.7% 0.046 192.524)"},cyan:{50:"oklch(98.4% 0.019 200.873)",100:"oklch(95.6% 0.045 203.388)",200:"oklch(91.7% 0.08 205.041)",300:"oklch(86.5% 0.127 207.078)",400:"oklch(78.9% 0.154 211.53)",500:"oklch(71.5% 0.143 215.221)",600:"oklch(60.9% 0.126 221.723)",700:"oklch(52% 0.105 223.128)",800:"oklch(45% 0.085 224.283)",900:"oklch(39.8% 0.07 227.392)",950:"oklch(30.2% 0.056 229.695)"},sky:{50:"oklch(97.7% 0.013 236.62)",100:"oklch(95.1% 0.026 236.824)",200:"oklch(90.1% 0.058 230.902)",300:"oklch(82.8% 0.111 230.318)",400:"oklch(74.6% 0.16 232.661)",500:"oklch(68.5% 0.169 237.323)",600:"oklch(58.8% 0.158 241.966)",700:"oklch(50% 0.134 242.749)",800:"oklch(44.3% 0.11 240.79)",900:"oklch(39.1% 0.09 240.876)",950:"oklch(29.3% 0.066 243.157)"},blue:{50:"oklch(97% 0.014 254.604)",100:"oklch(93.2% 0.032 255.585)",200:"oklch(88.2% 0.059 254.128)",300:"oklch(80.9% 0.105 251.813)",400:"oklch(70.7% 0.165 254.624)",500:"oklch(62.3% 0.214 259.815)",600:"oklch(54.6% 0.245 262.881)",700:"oklch(48.8% 0.243 264.376)",800:"oklch(42.4% 0.199 265.638)",900:"oklch(37.9% 0.146 265.522)",950:"oklch(28.2% 0.091 267.935)"},indigo:{50:"oklch(96.2% 0.018 272.314)",100:"oklch(93% 0.034 272.788)",200:"oklch(87% 0.065 274.039)",300:"oklch(78.5% 0.115 274.713)",400:"oklch(67.3% 0.182 276.935)",500:"oklch(58.5% 0.233 277.117)",600:"oklch(51.1% 0.262 276.966)",700:"oklch(45.7% 0.24 277.023)",800:"oklch(39.8% 0.195 277.366)",900:"oklch(35.9% 0.144 278.697)",950:"oklch(25.7% 0.09 281.288)"},violet:{50:"oklch(96.9% 0.016 293.756)",100:"oklch(94.3% 0.029 294.588)",200:"oklch(89.4% 0.057 293.283)",300:"oklch(81.1% 0.111 293.571)",400:"oklch(70.2% 0.183 293.541)",500:"oklch(60.6% 0.25 292.717)",600:"oklch(54.1% 0.281 293.009)",700:"oklch(49.1% 0.27 292.581)",800:"oklch(43.2% 0.232 292.759)",900:"oklch(38% 0.189 293.745)",950:"oklch(28.3% 0.141 291.089)"},purple:{50:"oklch(97.7% 0.014 308.299)",100:"oklch(94.6% 0.033 307.174)",200:"oklch(90.2% 0.063 306.703)",300:"oklch(82.7% 0.119 306.383)",400:"oklch(71.4% 0.203 305.504)",500:"oklch(62.7% 0.265 303.9)",600:"oklch(55.8% 0.288 302.321)",700:"oklch(49.6% 0.265 301.924)",800:"oklch(43.8% 0.218 303.724)",900:"oklch(38.1% 0.176 304.987)",950:"oklch(29.1% 0.149 302.717)"},fuchsia:{50:"oklch(97.7% 0.017 320.058)",100:"oklch(95.2% 0.037 318.852)",200:"oklch(90.3% 0.076 319.62)",300:"oklch(83.3% 0.145 321.434)",400:"oklch(74% 0.238 322.16)",500:"oklch(66.7% 0.295 322.15)",600:"oklch(59.1% 0.293 322.896)",700:"oklch(51.8% 0.253 323.949)",800:"oklch(45.2% 0.211 324.591)",900:"oklch(40.1% 0.17 325.612)",950:"oklch(29.3% 0.136 325.661)"},pink:{50:"oklch(97.1% 0.014 343.198)",100:"oklch(94.8% 0.028 342.258)",200:"oklch(89.9% 0.061 343.231)",300:"oklch(82.3% 0.12 346.018)",400:"oklch(71.8% 0.202 349.761)",500:"oklch(65.6% 0.241 354.308)",600:"oklch(59.2% 0.249 0.584)",700:"oklch(52.5% 0.223 3.958)",800:"oklch(45.9% 0.187 3.815)",900:"oklch(40.8% 0.153 2.432)",950:"oklch(28.4% 0.109 3.907)"},rose:{50:"oklch(96.9% 0.015 12.422)",100:"oklch(94.1% 0.03 12.58)",200:"oklch(89.2% 0.058 10.001)",300:"oklch(81% 0.117 11.638)",400:"oklch(71.2% 0.194 13.428)",500:"oklch(64.5% 0.246 16.439)",600:"oklch(58.6% 0.253 17.585)",700:"oklch(51.4% 0.222 16.935)",800:"oklch(45.5% 0.188 13.697)",900:"oklch(41% 0.159 10.272)",950:"oklch(27.1% 0.105 12.094)"}};const vB=[50,100,200,300,400,500,600,700,800,900,950];function yB(e,t){return e in fs&&typeof fs[e]=="object"&&t in fs[e]?fs[e][t]:""}function bB(e,t,n){const o=n?`${n}-`:"";return`${vB.map(u=>`--ui-color-${e}-${u}: var(--${o}color-${t==="neutral"?"old-neutral":t}-${u}, ${yB(t,u)});`).join(` +`)&&(ns(v,0)||$u(),v.textContent=C.children)}if(R){if(I||!_||Z&48){const V=v.tagName.includes("-");for(const fe in R)(I&&(fe.endsWith("value")||fe==="indeterminate")||Sa(fe)&&!gu(fe)||fe[0]==="."||V&&!gu(fe))&&o(v,fe,null,R[fe],void 0,x)}else if(R.onClick)o(v,"onClick",null,R.onClick,void 0,x);else if(Z&4&&Go(R.style))for(const V in R.style)R.style[V]}let H;(H=R&&R.onVnodeBeforeMount)&&sn(H,x,C),Q&&Gn(C,null,x,"beforeMount"),((H=R&&R.onVnodeMounted)||Q||O)&&h3(()=>{H&&sn(H,x,C),O&&X.enter(v),Q&&Gn(C,null,x,"mounted")},w)}return v.nextSibling},p=(v,C,x,w,B,_,F)=>{F=F||!!C.dynamicChildren;const R=C.children,Z=R.length;for(let q=0;q{const{slotScopeIds:F}=C;F&&(B=B?B.concat(F):F);const R=a(v),Z=p(r(v),C,R,x,w,B,_);return Z&&Hu(Z)&&Z.data==="]"?r(C.anchor=Z):($u(),i(C.anchor=c("]"),R,Z),Z)},g=(v,C,x,w,B,_)=>{if(ns(v.parentElement,1)||$u(),C.el=null,_){const Z=E(v);for(;;){const q=r(v);if(q&&q!==Z)s(q);else break}}const F=r(v),R=a(v);return s(v),n(null,C,R,F,x,w,ts(R),B),x&&(x.vnode.el=C.el,zi(x,C.el)),F},E=(v,C="[",x="]")=>{let w=0;for(;v;)if(v=r(v),v&&Hu(v)&&(v.data===C&&w++,v.data===x)){if(w===0)return r(v);w--}return v},b=(v,C,x)=>{const w=C.parentNode;w&&w.replaceChild(v,C);let B=x;for(;B;)B.vnode.el===C&&(B.vnode.el=B.subTree.el=v),B=B.parent},y=v=>v.nodeType===1&&v.tagName==="TEMPLATE";return[l,d]}const Nf="data-allow-mismatch",e2={0:"text",1:"children",2:"class",3:"style",4:"attribute"};function ns(e,t){if(t===0||t===1)for(;e&&!e.hasAttribute(Nf);)e=e.parentElement;const n=e&&e.getAttribute(Nf);if(n==null)return!1;if(n==="")return!0;{const o=n.split(",");return t===0&&o.includes("children")?!0:o.includes(e2[t])}}Oi().requestIdleCallback;Oi().cancelIdleCallback;function t2(e,t){if(Hu(e)&&e.data==="["){let n=1,o=e.nextSibling;for(;o;){if(o.nodeType===1){if(t(o)===!1)break}else if(Hu(o))if(o.data==="]"){if(--n===0)break}else o.data==="["&&n++;o=o.nextSibling}}else t(e)}const bo=e=>!!e.type.__asyncLoader;function Ee(e){we(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:o,delay:u=200,hydrate:r,timeout:a,suspensible:s=!0,onError:i}=e;let c=null,l,d=0;const f=()=>(d++,c=null,p()),p=()=>{let m;return c||(m=c=t().catch(g=>{if(g=g instanceof Error?g:new Error(String(g)),i)return new Promise((E,b)=>{i(g,()=>E(f()),()=>b(g),d+1)});throw g}).then(g=>m!==c&&c?c:(g&&(g.__esModule||g[Symbol.toStringTag]==="Module")&&(g=g.default),l=g,g)))};return N({name:"AsyncComponentWrapper",__asyncLoader:p,__asyncHydrate(m,g,E){let b=!1;(g.bu||(g.bu=[])).push(()=>b=!0);const y=()=>{b||E()},v=r?()=>{const C=r(y,x=>t2(m,x));C&&(g.bum||(g.bum=[])).push(C)}:y;l?v():p().then(()=>!g.isUnmounted&&v())},get __asyncResolved(){return l},setup(){const m=Lt;if(G0(m),l)return()=>os(l,m);const g=v=>{c=null,vr(v,m,13,!o)};if(s&&m.suspense||Au)return p().then(v=>()=>os(v,m)).catch(v=>(g(v),()=>o?z(o,{error:v}):null));const E=L(!1),b=L(),y=L(!!u);return u&&setTimeout(()=>{y.value=!1},u),a!=null&&setTimeout(()=>{if(!E.value&&!b.value){const v=new Error(`Async component timed out after ${a}ms.`);g(v),b.value=v}},a),p().then(()=>{E.value=!0,m.parent&&Ma(m.parent.vnode)&&m.parent.update()}).catch(v=>{g(v),b.value=v}),()=>{if(E.value&&l)return os(l,m);if(b.value&&o)return z(o,{error:b.value});if(n&&!y.value)return os(n,m)}}})}function os(e,t){const{ref:n,props:o,children:u,ce:r}=t.vnode,a=z(e,o,u);return a.ref=n,a.ce=r,delete t.vnode.ce,a}const Ma=e=>e.type.__isKeepAlive,n2={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=et(),o=n.ctx;if(!o.renderer)return()=>{const y=t.default&&t.default();return y&&y.length===1?y[0]:y};const u=new Map,r=new Set;let a=null;const s=n.suspense,{renderer:{p:i,m:c,um:l,o:{createElement:d}}}=o,f=d("div");o.activate=(y,v,C,x,w)=>{const B=y.component;c(y,v,C,0,s),i(B.vnode,y,v,C,B,s,x,y.slotScopeIds,w),yt(()=>{B.isDeactivated=!1,B.a&&Xr(B.a);const _=y.props&&y.props.onVnodeMounted;_&&sn(_,B.parent,y)},s)},o.deactivate=y=>{const v=y.component;Xs(v.m),Xs(v.a),c(y,f,null,1,s),yt(()=>{v.da&&Xr(v.da);const C=y.props&&y.props.onVnodeUnmounted;C&&sn(C,v.parent,y),v.isDeactivated=!0},s)};function p(y){El(y),l(y,n,s,!0)}function m(y){u.forEach((v,C)=>{const x=Dc(bo(v)?v.type.__asyncResolved||{}:v.type);x&&!y(x)&&g(C)})}function g(y){const v=u.get(y);v&&(!a||!On(v,a))?p(v):a&&El(a),u.delete(y),r.delete(y)}Ce(()=>[e.include,e.exclude],([y,v])=>{y&&m(C=>Hr(y,C)),v&&m(C=>!Hr(v,C))},{flush:"post",deep:!0});let E=null;const b=()=>{E!=null&&(Js(n.subTree.type)?yt(()=>{u.set(E,us(n.subTree))},n.subTree.suspense):u.set(E,us(n.subTree)))};return je(b),br(b),Fo(()=>{u.forEach(y=>{const{subTree:v,suspense:C}=n,x=us(v);if(y.type===x.type&&y.key===x.key){El(x);const w=x.component.da;w&&yt(w,C);return}p(y)})}),()=>{if(E=null,!t.default)return a=null;const y=t.default(),v=y[0];if(y.length>1)return a=null,y;if(!wu(v)||!(v.shapeFlag&4)&&!(v.shapeFlag&128))return a=null,v;let C=us(v);if(C.type===vt)return a=null,C;const x=C.type,w=Dc(bo(C)?C.type.__asyncResolved||{}:x),{include:B,exclude:_,max:F}=e;if(B&&(!w||!Hr(B,w))||_&&w&&Hr(_,w))return C.shapeFlag&=-257,a=C,v;const R=C.key==null?x:C.key,Z=u.get(R);return C.el&&(C=Sn(C),v.shapeFlag&128&&(v.ssContent=C)),E=R,Z?(C.el=Z.el,C.component=Z.component,C.transition&&Zo(C,C.transition),C.shapeFlag|=512,r.delete(R),r.add(R)):(r.add(R),F&&r.size>parseInt(F,10)&&g(r.values().next().value)),C.shapeFlag|=256,a=C,Js(v.type)?v:C}}},o2=n2;function Hr(e,t){return be(e)?e.some(n=>Hr(n,t)):it(e)?e.split(",").includes(t):eE(e)?(e.lastIndex=0,e.test(t)):!1}function Mg(e,t){Rg(e,"a",t)}function Og(e,t){Rg(e,"da",t)}function Rg(e,t,n=Lt){const o=e.__wdc||(e.__wdc=()=>{let u=n;for(;u;){if(u.isDeactivated)return;u=u.parent}return e()});if(Ni(t,o,n),n){let u=n.parent;for(;u&&u.parent;)Ma(u.parent.vnode)&&u2(o,t,n,u),u=u.parent}}function u2(e,t,n,o){const u=Ni(t,e,o,!0);en(()=>{L0(o[t],u)},n)}function El(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function us(e){return e.shapeFlag&128?e.ssContent:e}function Ni(e,t,n=Lt,o=!1){if(n){const u=n[e]||(n[e]=[]),r=t.__weh||(t.__weh=(...a)=>{Eo();const s=Er(n),i=$n(t,n,e,a);return s(),Co(),i});return o?u.unshift(r):u.push(r),r}}const To=e=>(t,n=Lt)=>{(!Au||e==="sp")&&Ni(e,(...o)=>t(...o),n)},ji=To("bm"),je=To("m"),Ig=To("bu"),br=To("u"),Fo=To("bum"),en=To("um"),r2=To("sp"),a2=To("rtg"),s2=To("rtc");function Lg(e,t=Lt){Ni("ec",e,t)}const qg="components";function jf(e,t){return Ng(qg,e,!0,t)||e}const $g=Symbol.for("v-ndc");function ln(e){return it(e)?Ng(qg,e,!1)||e:e||$g}function Ng(e,t,n=!0,o=!1){const u=Zt||Lt;if(u){const r=u.type;{const s=Dc(r,!1);if(s&&(s===t||s===Mt(t)||s===Mi(Mt(t))))return r}const a=Vf(u[e]||r[e],t)||Vf(u.appContext[e],t);return!a&&o?r:a}}function Vf(e,t){return e&&(e[t]||e[Mt(t)]||e[Mi(Mt(t))])}function dn(e,t,n,o){let u;const r=n,a=be(e);if(a||it(e)){const s=a&&Go(e);let i=!1,c=!1;s&&(i=!yn(e),c=uo(e),e=Ii(e)),u=new Array(e.length);for(let l=0,d=e.length;lt(s,i,void 0,r));else{const s=Object.keys(e);u=new Array(s.length);for(let i=0,c=s.length;i{const r=o.fn(...u);return r&&(r.key=o.key),r}:o.fn)}return e}function M(e,t,n={},o,u){if(Zt.ce||Zt.parent&&bo(Zt.parent)&&Zt.parent.ce){const c=Object.keys(n).length>0;return t!=="default"&&(n.name=t),D(),T(Se,null,[z("slot",n,o&&o())],c?-2:64)}let r=e[t];r&&r._c&&(r._d=!1),D();const a=r&&Vg(r(n)),s=n.key||a&&a.key,i=T(Se,{key:(s&&!Cn(s)?s:`_${t}`)+(!a&&o?"_fb":"")},a||(o?o():[]),a&&e._===1?64:-2);return!u&&i.scopeId&&(i.slotScopeIds=[i.scopeId+"-s"]),r&&r._c&&(r._d=!0),i}function Vg(e){return e.some(t=>wu(t)?!(t.type===vt||t.type===Se&&!Vg(t.children)):!0)?e:null}function Oa(e,t){const n={};for(const o in e)n[Zr(o)]=e[o];return n}const vc=e=>e?y3(e)?ed(e):vc(e.parent):null,ta=bt(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>vc(e.parent),$root:e=>vc(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>Yg(e),$forceUpdate:e=>e.f||(e.f=()=>{K0(e.update)}),$nextTick:e=>e.n||(e.n=He.bind(e.proxy)),$watch:e=>HE.bind(e)}),Cl=(e,t)=>e!==We&&!e.__isScriptSetup&&Je(e,t),i2={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:o,data:u,props:r,accessCache:a,type:s,appContext:i}=e;if(t[0]!=="$"){const f=a[t];if(f!==void 0)switch(f){case 1:return o[t];case 2:return u[t];case 4:return n[t];case 3:return r[t]}else{if(Cl(o,t))return a[t]=1,o[t];if(u!==We&&Je(u,t))return a[t]=2,u[t];if(Je(r,t))return a[t]=3,r[t];if(n!==We&&Je(n,t))return a[t]=4,n[t];yc&&(a[t]=0)}}const c=ta[t];let l,d;if(c)return t==="$attrs"&&Vt(e.attrs,"get",""),c(e);if((l=s.__cssModules)&&(l=l[t]))return l;if(n!==We&&Je(n,t))return a[t]=4,n[t];if(d=i.config.globalProperties,Je(d,t))return d[t]},set({_:e},t,n){const{data:o,setupState:u,ctx:r}=e;return Cl(u,t)?(u[t]=n,!0):o!==We&&Je(o,t)?(o[t]=n,!0):Je(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(r[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:o,appContext:u,props:r,type:a}},s){let i;return!!(n[s]||e!==We&&s[0]!=="$"&&Je(e,s)||Cl(t,s)||Je(r,s)||Je(o,s)||Je(ta,s)||Je(u.config.globalProperties,s)||(i=a.__cssModules)&&i[s])},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:Je(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function Ht(){return Ug().slots}function zg(){return Ug().attrs}function Ug(e){const t=et();return t.setupContext||(t.setupContext=E3(t))}function ma(e){return be(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}function Hg(e,t){const n=ma(e);for(const o in t){if(o.startsWith("__skip"))continue;let u=n[o];u?be(u)||we(u)?u=n[o]={type:u,default:t[o]}:u.default=t[o]:u===null&&(u=n[o]={default:t[o]}),u&&t[`__skip_${o}`]&&(u.skipFactory=!0)}return n}function Kg(e,t){return!e||!t?e||t:be(e)&&be(t)?e.concat(t):bt({},ma(e),ma(t))}function Wg(e){const t=et(),n=Au;let o=e();ti(),n&&er(!1);const u=()=>{Er(t),n&&er(!0)},r=()=>{et()!==t&&t.scope.off(),ti(),n&&er(!1)};return q0(o)&&(o=o.catch(a=>{throw u(),Promise.resolve().then(()=>Promise.resolve().then(r)),a})),[o,()=>{u(),Promise.resolve().then(r)}]}let yc=!0;function l2(e){const t=Yg(e),n=e.proxy,o=e.ctx;yc=!1,t.beforeCreate&&zf(t.beforeCreate,e,"bc");const{data:u,computed:r,methods:a,watch:s,provide:i,inject:c,created:l,beforeMount:d,mounted:f,beforeUpdate:p,updated:m,activated:g,deactivated:E,beforeDestroy:b,beforeUnmount:y,destroyed:v,unmounted:C,render:x,renderTracked:w,renderTriggered:B,errorCaptured:_,serverPrefetch:F,expose:R,inheritAttrs:Z,components:q,directives:Q,filters:X}=t;if(c&&c2(c,o,null),a)for(const H in a){const V=a[H];we(V)&&(o[H]=V.bind(n))}if(u){const H=u.call(n,n);Ge(H)&&(e.data=Tt(H))}if(yc=!0,r)for(const H in r){const V=r[H],fe=we(V)?V.bind(n,n):we(V.get)?V.get.bind(n,n):eo,se=!we(V)&&we(V.set)?V.set.bind(n):eo,Ke=S({get:fe,set:se});Object.defineProperty(o,H,{enumerable:!0,configurable:!0,get:()=>Ke.value,set:Re=>Ke.value=Re})}if(s)for(const H in s)Gg(s[H],o,n,H);if(i){const H=we(i)?i.call(n):i;Reflect.ownKeys(H).forEach(V=>{St(V,H[V])})}l&&zf(l,e,"c");function O(H,V){be(V)?V.forEach(fe=>H(fe.bind(n))):V&&H(V.bind(n))}if(O(ji,d),O(je,f),O(Ig,p),O(br,m),O(Mg,g),O(Og,E),O(Lg,_),O(s2,w),O(a2,B),O(Fo,y),O(en,C),O(r2,F),be(R))if(R.length){const H=e.exposed||(e.exposed={});R.forEach(V=>{Object.defineProperty(H,V,{get:()=>n[V],set:fe=>n[V]=fe,enumerable:!0})})}else e.exposed||(e.exposed={});x&&e.render===eo&&(e.render=x),Z!=null&&(e.inheritAttrs=Z),q&&(e.components=q),Q&&(e.directives=Q),F&&G0(e)}function c2(e,t,n=eo){be(e)&&(e=bc(e));for(const o in e){const u=e[o];let r;Ge(u)?"default"in u?r=Ve(u.from||o,u.default,!0):r=Ve(u.from||o):r=Ve(u),nt(r)?Object.defineProperty(t,o,{enumerable:!0,configurable:!0,get:()=>r.value,set:a=>r.value=a}):t[o]=r}}function zf(e,t,n){$n(be(e)?e.map(o=>o.bind(t.proxy)):e.bind(t.proxy),t,n)}function Gg(e,t,n,o){let u=o.includes(".")?xg(n,o):()=>n[o];if(it(e)){const r=t[e];we(r)&&Ce(u,r)}else if(we(e))Ce(u,e.bind(n));else if(Ge(e))if(be(e))e.forEach(r=>Gg(r,t,n,o));else{const r=we(e.handler)?e.handler.bind(n):t[e.handler];we(r)&&Ce(u,r,e)}}function Yg(e){const t=e.type,{mixins:n,extends:o}=t,{mixins:u,optionsCache:r,config:{optionMergeStrategies:a}}=e.appContext,s=r.get(t);let i;return s?i=s:!u.length&&!n&&!o?i=t:(i={},u.length&&u.forEach(c=>Zs(i,c,a,!0)),Zs(i,t,a)),Ge(t)&&r.set(t,i),i}function Zs(e,t,n,o=!1){const{mixins:u,extends:r}=t;r&&Zs(e,r,n,!0),u&&u.forEach(a=>Zs(e,a,n,!0));for(const a in t)if(!(o&&a==="expose")){const s=d2[a]||n&&n[a];e[a]=s?s(e[a],t[a]):t[a]}return e}const d2={data:Uf,props:Hf,emits:Hf,methods:Kr,computed:Kr,beforeCreate:Wt,created:Wt,beforeMount:Wt,mounted:Wt,beforeUpdate:Wt,updated:Wt,beforeDestroy:Wt,beforeUnmount:Wt,destroyed:Wt,unmounted:Wt,activated:Wt,deactivated:Wt,errorCaptured:Wt,serverPrefetch:Wt,components:Kr,directives:Kr,watch:p2,provide:Uf,inject:f2};function Uf(e,t){return t?e?function(){return bt(we(e)?e.call(this,this):e,we(t)?t.call(this,this):t)}:t:e}function f2(e,t){return Kr(bc(e),bc(t))}function bc(e){if(be(e)){const t={};for(let n=0;n{let l,d=We,f;return Cg(()=>{const p=e[u];It(l,p)&&(l=p,c())}),{get(){return i(),n.get?n.get(l):l},set(p){const m=n.set?n.set(p):p;if(!It(m,l)&&!(d!==We&&It(p,d)))return;const g=o.vnode.props;g&&(t in g||u in g||r in g)&&(`onUpdate:${t}`in g||`onUpdate:${u}`in g||`onUpdate:${r}`in g)||(l=p,c()),o.emit(`update:${t}`,m),It(p,m)&&It(p,d)&&!It(m,f)&&c(),d=p,f=m}}});return s[Symbol.iterator]=()=>{let i=0;return{next(){return i<2?{value:i++?a||We:s,done:!1}:{done:!0}}}},s}const Jg=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${Mt(t)}Modifiers`]||e[`${ko(t)}Modifiers`];function g2(e,t,...n){if(e.isUnmounted)return;const o=e.vnode.props||We;let u=n;const r=t.startsWith("update:"),a=r&&Jg(o,t.slice(7));a&&(a.trim&&(u=n.map(l=>it(l)?l.trim():l)),a.number&&(u=n.map(uE)));let s,i=o[s=Zr(t)]||o[s=Zr(Mt(t))];!i&&r&&(i=o[s=Zr(ko(t))]),i&&$n(i,e,6,u);const c=o[s+"Once"];if(c){if(!e.emitted)e.emitted={};else if(e.emitted[s])return;e.emitted[s]=!0,$n(c,e,6,u)}}const v2=new WeakMap;function Qg(e,t,n=!1){const o=n?v2:t.emitsCache,u=o.get(e);if(u!==void 0)return u;const r=e.emits;let a={},s=!1;if(!we(e)){const i=c=>{const l=Qg(c,t,!0);l&&(s=!0,bt(a,l))};!n&&t.mixins.length&&t.mixins.forEach(i),e.extends&&i(e.extends),e.mixins&&e.mixins.forEach(i)}return!r&&!s?(Ge(e)&&o.set(e,null),null):(be(r)?r.forEach(i=>a[i]=null):bt(a,r),Ge(e)&&o.set(e,a),a)}function Vi(e,t){return!e||!Sa(t)?!1:(t=t.slice(2).replace(/Once$/,""),Je(e,t[0].toLowerCase()+t.slice(1))||Je(e,ko(t))||Je(e,t))}function xl(e){const{type:t,vnode:n,proxy:o,withProxy:u,propsOptions:[r],slots:a,attrs:s,emit:i,render:c,renderCache:l,props:d,data:f,setupState:p,ctx:m,inheritAttrs:g}=e,E=Gs(e);let b,y;try{if(n.shapeFlag&4){const C=u||o,x=C;b=mn(c.call(x,C,l,d,p,f,m)),y=s}else{const C=t;b=mn(C.length>1?C(d,{attrs:s,slots:a,emit:i}):C(d,null)),y=t.props?s:b2(s)}}catch(C){na.length=0,vr(C,e,1),b=z(vt)}let v=b;if(y&&g!==!1){const C=Object.keys(y),{shapeFlag:x}=v;C.length&&x&7&&(r&&C.some(Ti)&&(y=E2(y,r)),v=Sn(v,y,!1,!0))}return n.dirs&&(v=Sn(v,null,!1,!0),v.dirs=v.dirs?v.dirs.concat(n.dirs):n.dirs),n.transition&&Zo(v,n.transition),b=v,Gs(E),b}function y2(e,t=!0){let n;for(let o=0;o{let t;for(const n in e)(n==="class"||n==="style"||Sa(n))&&((t||(t={}))[n]=e[n]);return t},E2=(e,t)=>{const n={};for(const o in e)(!Ti(o)||!(o.slice(9)in t))&&(n[o]=e[o]);return n};function C2(e,t,n){const{props:o,children:u,component:r}=e,{props:a,children:s,patchFlag:i}=t,c=r.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&i>=0){if(i&1024)return!0;if(i&16)return o?Kf(o,a,c):!!a;if(i&8){const l=t.dynamicProps;for(let d=0;dObject.create(t3),o3=e=>Object.getPrototypeOf(e)===t3;function x2(e,t,n,o=!1){const u={},r=n3();e.propsDefaults=Object.create(null),u3(e,t,u,r);for(const a in e.propsOptions[0])a in u||(u[a]=void 0);n?e.props=o?u:Bn(u):e.type.props?e.props=u:e.props=r,e.attrs=r}function D2(e,t,n,o){const{props:u,attrs:r,vnode:{patchFlag:a}}=e,s=Ne(u),[i]=e.propsOptions;let c=!1;if((o||a>0)&&!(a&16)){if(a&8){const l=e.vnode.dynamicProps;for(let d=0;d{i=!0;const[f,p]=r3(d,t,!0);bt(a,f),p&&s.push(...p)};!n&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}if(!r&&!i)return Ge(e)&&o.set(e,Yu),Yu;if(be(r))for(let l=0;le==="_"||e==="_ctx"||e==="$stable",Z0=e=>be(e)?e.map(mn):[mn(e)],A2=(e,t,n)=>{if(t._n)return t;const o=k((...u)=>Z0(t(...u)),n);return o._c=!1,o},a3=(e,t,n)=>{const o=e._ctx;for(const u in e){if(Y0(u))continue;const r=e[u];if(we(r))t[u]=A2(u,r,o);else if(r!=null){const a=Z0(r);t[u]=()=>a}}},s3=(e,t)=>{const n=Z0(t);e.slots.default=()=>n},i3=(e,t,n)=>{for(const o in t)(n||!Y0(o))&&(e[o]=t[o])},B2=(e,t,n)=>{const o=e.slots=n3();if(e.vnode.shapeFlag&32){const u=t._;u?(i3(o,t,n),n&&Hm(o,"_",u,!0)):a3(t,o)}else t&&s3(e,t)},_2=(e,t,n)=>{const{vnode:o,slots:u}=e;let r=!0,a=We;if(o.shapeFlag&32){const s=t._;s?n&&s===1?r=!1:i3(u,t,n):(r=!t.$stable,a3(t,u)),a=t}else t&&(s3(e,t),a={default:1});if(r)for(const s in u)!Y0(s)&&a[s]==null&&delete u[s]},yt=h3;function k2(e){return l3(e)}function S2(e){return l3(e,QE)}function l3(e,t){const n=Oi();n.__VUE__=!0;const{insert:o,remove:u,patchProp:r,createElement:a,createText:s,createComment:i,setText:c,setElementText:l,parentNode:d,nextSibling:f,setScopeId:p=eo,insertStaticContent:m}=e,g=(A,P,$,J=null,K=null,j=null,re=void 0,ne=null,Y=!!P.dynamicChildren)=>{if(A===P)return;A&&!On(A,P)&&(J=U(A),Re(A,K,j,!0),A=null),P.patchFlag===-2&&(Y=!1,P.dynamicChildren=null);const{type:W,ref:pe,shapeFlag:ae}=P;switch(W){case bu:E(A,P,$,J);break;case vt:b(A,P,$,J);break;case Ps:A==null&&y(P,$,J,re);break;case Se:q(A,P,$,J,K,j,re,ne,Y);break;default:ae&1?x(A,P,$,J,K,j,re,ne,Y):ae&6?Q(A,P,$,J,K,j,re,ne,Y):(ae&64||ae&128)&&W.process(A,P,$,J,K,j,re,ne,Y,ye)}pe!=null&&K?Ju(pe,A&&A.ref,j,P||A,!P):pe==null&&A&&A.ref!=null&&Ju(A.ref,null,j,A,!0)},E=(A,P,$,J)=>{if(A==null)o(P.el=s(P.children),$,J);else{const K=P.el=A.el;P.children!==A.children&&c(K,P.children)}},b=(A,P,$,J)=>{A==null?o(P.el=i(P.children||""),$,J):P.el=A.el},y=(A,P,$,J)=>{[A.el,A.anchor]=m(A.children,P,$,J,A.el,A.anchor)},v=({el:A,anchor:P},$,J)=>{let K;for(;A&&A!==P;)K=f(A),o(A,$,J),A=K;o(P,$,J)},C=({el:A,anchor:P})=>{let $;for(;A&&A!==P;)$=f(A),u(A),A=$;u(P)},x=(A,P,$,J,K,j,re,ne,Y)=>{if(P.type==="svg"?re="svg":P.type==="math"&&(re="mathml"),A==null)w(P,$,J,K,j,re,ne,Y);else{const W=A.el&&A.el._isVueCE?A.el:null;try{W&&W._beginPatch(),F(A,P,K,j,re,ne,Y)}finally{W&&W._endPatch()}}},w=(A,P,$,J,K,j,re,ne)=>{let Y,W;const{props:pe,shapeFlag:ae,transition:me,dirs:xe}=A;if(Y=A.el=a(A.type,j,pe&&pe.is,pe),ae&8?l(Y,A.children):ae&16&&_(A.children,Y,null,J,K,Dl(A,j),re,ne),xe&&Gn(A,null,J,"created"),B(Y,A,A.scopeId,re,J),pe){for(const Ye in pe)Ye!=="value"&&!gu(Ye)&&r(Y,Ye,null,pe[Ye],j,J);"value"in pe&&r(Y,"value",null,pe.value,j),(W=pe.onVnodeBeforeMount)&&sn(W,J,A)}xe&&Gn(A,null,J,"beforeMount");const Le=c3(K,me);Le&&me.beforeEnter(Y),o(Y,P,$),((W=pe&&pe.onVnodeMounted)||Le||xe)&&yt(()=>{W&&sn(W,J,A),Le&&me.enter(Y),xe&&Gn(A,null,J,"mounted")},K)},B=(A,P,$,J,K)=>{if($&&p(A,$),J)for(let j=0;j{for(let W=Y;W{const ne=P.el=A.el;let{patchFlag:Y,dynamicChildren:W,dirs:pe}=P;Y|=A.patchFlag&16;const ae=A.props||We,me=P.props||We;let xe;if($&&ou($,!1),(xe=me.onVnodeBeforeUpdate)&&sn(xe,$,P,A),pe&&Gn(P,A,$,"beforeUpdate"),$&&ou($,!0),(ae.innerHTML&&me.innerHTML==null||ae.textContent&&me.textContent==null)&&l(ne,""),W?R(A.dynamicChildren,W,ne,$,J,Dl(P,K),j):re||V(A,P,ne,null,$,J,Dl(P,K),j,!1),Y>0){if(Y&16)Z(ne,ae,me,$,K);else if(Y&2&&ae.class!==me.class&&r(ne,"class",null,me.class,K),Y&4&&r(ne,"style",ae.style,me.style,K),Y&8){const Le=P.dynamicProps;for(let Ye=0;Ye{xe&&sn(xe,$,P,A),pe&&Gn(P,A,$,"updated")},J)},R=(A,P,$,J,K,j,re)=>{for(let ne=0;ne{if(P!==$){if(P!==We)for(const j in P)!gu(j)&&!(j in $)&&r(A,j,P[j],null,K,J);for(const j in $){if(gu(j))continue;const re=$[j],ne=P[j];re!==ne&&j!=="value"&&r(A,j,ne,re,K,J)}"value"in $&&r(A,"value",P.value,$.value,K)}},q=(A,P,$,J,K,j,re,ne,Y)=>{const W=P.el=A?A.el:s(""),pe=P.anchor=A?A.anchor:s("");let{patchFlag:ae,dynamicChildren:me,slotScopeIds:xe}=P;xe&&(ne=ne?ne.concat(xe):xe),A==null?(o(W,$,J),o(pe,$,J),_(P.children||[],$,pe,K,j,re,ne,Y)):ae>0&&ae&64&&me&&A.dynamicChildren&&A.dynamicChildren.length===me.length?(R(A.dynamicChildren,me,$,K,j,re,ne),(P.key!=null||K&&P===K.subTree)&&X0(A,P,!0)):V(A,P,$,pe,K,j,re,ne,Y)},Q=(A,P,$,J,K,j,re,ne,Y)=>{P.slotScopeIds=ne,A==null?P.shapeFlag&512?K.ctx.activate(P,$,J,re,Y):X(P,$,J,K,j,re,Y):I(A,P,Y)},X=(A,P,$,J,K,j,re)=>{const ne=A.component=N2(A,J,K);if(Ma(A)&&(ne.ctx.renderer=ye),j2(ne,!1,re),ne.asyncDep){if(K&&K.registerDep(ne,O,re),!A.el){const Y=ne.subTree=z(vt);b(null,Y,P,$),A.placeholder=Y.el}}else O(ne,A,P,$,K,j,re)},I=(A,P,$)=>{const J=P.component=A.component;if(C2(A,P,$))if(J.asyncDep&&!J.asyncResolved){H(J,P,$);return}else J.next=P,J.update();else P.el=A.el,J.vnode=P},O=(A,P,$,J,K,j,re)=>{const ne=()=>{if(A.isMounted){let{next:ae,bu:me,u:xe,parent:Le,vnode:Ye}=A;{const Kt=d3(A);if(Kt){ae&&(ae.el=Ye.el,H(A,ae,re)),Kt.asyncDep.then(()=>{yt(()=>{A.isUnmounted||W()},K)});return}}let Ze=ae,ft;ou(A,!1),ae?(ae.el=Ye.el,H(A,ae,re)):ae=Ye,me&&Xr(me),(ft=ae.props&&ae.props.onVnodeBeforeUpdate)&&sn(ft,Le,ae,Ye),ou(A,!0);const ut=xl(A),un=A.subTree;A.subTree=ut,g(un,ut,d(un.el),U(un),A,K,j),ae.el=ut.el,Ze===null&&zi(A,ut.el),xe&&yt(xe,K),(ft=ae.props&&ae.props.onVnodeUpdated)&&yt(()=>sn(ft,Le,ae,Ye),K)}else{let ae;const{el:me,props:xe}=P,{bm:Le,m:Ye,parent:Ze,root:ft,type:ut}=A,un=bo(P);if(ou(A,!1),Le&&Xr(Le),!un&&(ae=xe&&xe.onVnodeBeforeMount)&&sn(ae,Ze,P),ou(A,!0),me&&Ue){const Kt=()=>{A.subTree=xl(A),Ue(me,A.subTree,A,K,null)};un&&ut.__asyncHydrate?ut.__asyncHydrate(me,A,Kt):Kt()}else{ft.ce&&ft.ce._hasShadowRoot()&&ft.ce._injectChildStyle(ut,A.parent?A.parent.type:void 0);const Kt=A.subTree=xl(A);g(null,Kt,$,J,A,K,j),P.el=Kt.el}if(Ye&&yt(Ye,K),!un&&(ae=xe&&xe.onVnodeMounted)){const Kt=P;yt(()=>sn(ae,Ze,Kt),K)}(P.shapeFlag&256||Ze&&bo(Ze.vnode)&&Ze.vnode.shapeFlag&256)&&A.a&&yt(A.a,K),A.isMounted=!0,P=$=J=null}};A.scope.on();const Y=A.effect=new Xm(ne);A.scope.off();const W=A.update=Y.run.bind(Y),pe=A.job=Y.runIfDirty.bind(Y);pe.i=A,pe.id=A.uid,Y.scheduler=()=>K0(pe),ou(A,!0),W()},H=(A,P,$)=>{P.component=A;const J=A.vnode.props;A.vnode=P,A.next=null,D2(A,P.props,J,$),_2(A,P.children,$),Eo(),Mf(A),Co()},V=(A,P,$,J,K,j,re,ne,Y=!1)=>{const W=A&&A.children,pe=A?A.shapeFlag:0,ae=P.children,{patchFlag:me,shapeFlag:xe}=P;if(me>0){if(me&128){se(W,ae,$,J,K,j,re,ne,Y);return}else if(me&256){fe(W,ae,$,J,K,j,re,ne,Y);return}}xe&8?(pe&16&&Pe(W,K,j),ae!==W&&l($,ae)):pe&16?xe&16?se(W,ae,$,J,K,j,re,ne,Y):Pe(W,K,j,!0):(pe&8&&l($,""),xe&16&&_(ae,$,J,K,j,re,ne,Y))},fe=(A,P,$,J,K,j,re,ne,Y)=>{A=A||Yu,P=P||Yu;const W=A.length,pe=P.length,ae=Math.min(W,pe);let me;for(me=0;mepe?Pe(A,K,j,!0,!1,ae):_(P,$,J,K,j,re,ne,Y,ae)},se=(A,P,$,J,K,j,re,ne,Y)=>{let W=0;const pe=P.length;let ae=A.length-1,me=pe-1;for(;W<=ae&&W<=me;){const xe=A[W],Le=P[W]=Y?mo(P[W]):mn(P[W]);if(On(xe,Le))g(xe,Le,$,null,K,j,re,ne,Y);else break;W++}for(;W<=ae&&W<=me;){const xe=A[ae],Le=P[me]=Y?mo(P[me]):mn(P[me]);if(On(xe,Le))g(xe,Le,$,null,K,j,re,ne,Y);else break;ae--,me--}if(W>ae){if(W<=me){const xe=me+1,Le=xeme)for(;W<=ae;)Re(A[W],K,j,!0),W++;else{const xe=W,Le=W,Ye=new Map;for(W=Le;W<=me;W++){const Nt=P[W]=Y?mo(P[W]):mn(P[W]);Nt.key!=null&&Ye.set(Nt.key,W)}let Ze,ft=0;const ut=me-Le+1;let un=!1,Kt=0;const pn=new Array(ut);for(W=0;W=ut){Re(Nt,K,j,!0);continue}let Un;if(Nt.key!=null)Un=Ye.get(Nt.key);else for(Ze=Le;Ze<=me;Ze++)if(pn[Ze-Le]===0&&On(Nt,P[Ze])){Un=Ze;break}Un===void 0?Re(Nt,K,j,!0):(pn[Un-Le]=W+1,Un>=Kt?Kt=Un:un=!0,g(Nt,P[Un],$,null,K,j,re,ne,Y),ft++)}const nu=un?T2(pn):Yu;for(Ze=nu.length-1,W=ut-1;W>=0;W--){const Nt=Le+W,Un=P[Nt],_f=P[Nt+1],kf=Nt+1{const{el:j,type:re,transition:ne,children:Y,shapeFlag:W}=A;if(W&6){Ke(A.component.subTree,P,$,J);return}if(W&128){A.suspense.move(P,$,J);return}if(W&64){re.move(A,P,$,ye);return}if(re===Se){o(j,P,$);for(let ae=0;aene.enter(j),K);else{const{leave:ae,delayLeave:me,afterLeave:xe}=ne,Le=()=>{A.ctx.isUnmounted?u(j):o(j,P,$)},Ye=()=>{j._isLeaving&&j[Yn](!0),ae(j,()=>{Le(),xe&&xe()})};me?me(j,Le,Ye):Ye()}else o(j,P,$)},Re=(A,P,$,J=!1,K=!1)=>{const{type:j,props:re,ref:ne,children:Y,dynamicChildren:W,shapeFlag:pe,patchFlag:ae,dirs:me,cacheIndex:xe,memo:Le}=A;if(ae===-2&&(K=!1),ne!=null&&(Eo(),Ju(ne,null,$,A,!0),Co()),xe!=null&&(P.renderCache[xe]=void 0),pe&256){P.ctx.deactivate(A);return}const Ye=pe&1&&me,Ze=!bo(A);let ft;if(Ze&&(ft=re&&re.onVnodeBeforeUnmount)&&sn(ft,P,A),pe&6)Te(A.component,$,J);else{if(pe&128){A.suspense.unmount($,J);return}Ye&&Gn(A,null,P,"beforeUnmount"),pe&64?A.type.remove(A,P,$,ye,J):W&&!W.hasOnce&&(j!==Se||ae>0&&ae&64)?Pe(W,P,$,!1,!0):(j===Se&&ae&384||!K&&pe&16)&&Pe(Y,P,$),J&&ot(A)}const ut=Le!=null&&xe==null;(Ze&&(ft=re&&re.onVnodeUnmounted)||Ye||ut)&&yt(()=>{ft&&sn(ft,P,A),Ye&&Gn(A,null,P,"unmounted"),ut&&(A.el=null)},$)},ot=A=>{const{type:P,el:$,anchor:J,transition:K}=A;if(P===Se){ct($,J);return}if(P===Ps){C(A);return}const j=()=>{u($),K&&!K.persisted&&K.afterLeave&&K.afterLeave()};if(A.shapeFlag&1&&K&&!K.persisted){const{leave:re,delayLeave:ne}=K,Y=()=>re($,j);ne?ne(A.el,j,Y):Y()}else j()},ct=(A,P)=>{let $;for(;A!==P;)$=f(A),u(A),A=$;u(P)},Te=(A,P,$)=>{const{bum:J,scope:K,job:j,subTree:re,um:ne,m:Y,a:W}=A;Xs(Y),Xs(W),J&&Xr(J),K.stop(),j&&(j.flags|=8,Re(re,A,P,$)),ne&&yt(ne,P),yt(()=>{A.isUnmounted=!0},P)},Pe=(A,P,$,J=!1,K=!1,j=0)=>{for(let re=j;re{if(A.shapeFlag&6)return U(A.component.subTree);if(A.shapeFlag&128)return A.suspense.next();const P=f(A.anchor||A.el),$=P&&P[Dg];return $?f($):P};let ie=!1;const ee=(A,P,$)=>{let J;A==null?P._vnode&&(Re(P._vnode,null,null,!0),J=P._vnode.component):g(P._vnode||null,A,P,null,null,null,$),P._vnode=A,ie||(ie=!0,Mf(J),Ws(),ie=!1)},ye={p:g,um:Re,m:Ke,r:ot,mt:X,mc:_,pc:V,pbc:R,n:U,o:e};let _e,Ue;return t&&([_e,Ue]=t(ye)),{render:ee,hydrate:_e,createApp:m2(ee,_e)}}function Dl({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function ou({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function c3(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function X0(e,t,n=!1){const o=e.children,u=t.children;if(be(o)&&be(u))for(let r=0;r>1,e[n[s]]0&&(t[o]=n[r-1]),n[r]=o)}}for(r=n.length,a=n[r-1];r-- >0;)n[r]=a,a=t[a];return n}function d3(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:d3(t)}function Xs(e){if(e)for(let t=0;te.__isSuspense;let Cc=0;const F2={name:"Suspense",__isSuspense:!0,process(e,t,n,o,u,r,a,s,i,c){if(e==null)P2(t,n,o,u,r,a,s,i,c);else{if(r&&r.deps>0&&!e.suspense.isInFallback){t.suspense=e.suspense,t.suspense.vnode=t,t.el=e.el;return}M2(e,t,n,o,u,a,s,i,c)}},hydrate:O2,normalize:R2},J0=F2;function ga(e,t){const n=e.props&&e.props[t];we(n)&&n()}function P2(e,t,n,o,u,r,a,s,i){const{p:c,o:{createElement:l}}=i,d=l("div"),f=e.suspense=p3(e,u,o,t,d,n,r,a,s,i);c(null,f.pendingBranch=e.ssContent,d,null,o,f,r,a),f.deps>0?(ga(e,"onPending"),ga(e,"onFallback"),c(null,e.ssFallback,t,n,o,null,r,a),Qu(f,e.ssFallback)):f.resolve(!1,!0)}function M2(e,t,n,o,u,r,a,s,{p:i,um:c,o:{createElement:l}}){const d=t.suspense=e.suspense;d.vnode=t,t.el=e.el;const f=t.ssContent,p=t.ssFallback,{activeBranch:m,pendingBranch:g,isInFallback:E,isHydrating:b}=d;if(g)d.pendingBranch=f,On(g,f)?(i(g,f,d.hiddenContainer,null,u,d,r,a,s),d.deps<=0?d.resolve():E&&(b||(i(m,p,n,o,u,null,r,a,s),Qu(d,p)))):(d.pendingId=Cc++,b?(d.isHydrating=!1,d.activeBranch=g):c(g,u,d),d.deps=0,d.effects.length=0,d.hiddenContainer=l("div"),E?(i(null,f,d.hiddenContainer,null,u,d,r,a,s),d.deps<=0?d.resolve():(i(m,p,n,o,u,null,r,a,s),Qu(d,p))):m&&On(m,f)?(i(m,f,n,o,u,d,r,a,s),d.resolve(!0)):(i(null,f,d.hiddenContainer,null,u,d,r,a,s),d.deps<=0&&d.resolve()));else if(m&&On(m,f))i(m,f,n,o,u,d,r,a,s),Qu(d,f);else if(ga(t,"onPending"),d.pendingBranch=f,f.shapeFlag&512?d.pendingId=f.component.suspenseId:d.pendingId=Cc++,i(null,f,d.hiddenContainer,null,u,d,r,a,s),d.deps<=0)d.resolve();else{const{timeout:y,pendingId:v}=d;y>0?setTimeout(()=>{d.pendingId===v&&d.fallback(p)},y):y===0&&d.fallback(p)}}function p3(e,t,n,o,u,r,a,s,i,c,l=!1){const{p:d,m:f,um:p,n:m,o:{parentNode:g,remove:E}}=c;let b;const y=I2(e);y&&t&&t.pendingBranch&&(b=t.pendingId,t.deps++);const v=e.props?Km(e.props.timeout):void 0,C=r,x={vnode:e,parent:t,parentComponent:n,namespace:a,container:o,hiddenContainer:u,deps:0,pendingId:Cc++,timeout:typeof v=="number"?v:-1,activeBranch:null,isFallbackMountPending:!1,pendingBranch:null,isInFallback:!l,isHydrating:l,isUnmounted:!1,effects:[],resolve(w=!1,B=!1){const{vnode:_,activeBranch:F,pendingBranch:R,pendingId:Z,effects:q,parentComponent:Q,container:X,isInFallback:I}=x;let O=!1;x.isHydrating?x.isHydrating=!1:w||(O=F&&R.transition&&R.transition.mode==="out-in",O&&(F.transition.afterLeave=()=>{Z===x.pendingId&&(f(R,X,r===C?m(F):r,0),fa(q),I&&_.ssFallback&&(_.ssFallback.el=null))}),F&&!x.isFallbackMountPending&&(g(F.el)===X&&(r=m(F)),p(F,Q,x,!0),!O&&I&&_.ssFallback&&yt(()=>_.ssFallback.el=null,x)),O||f(R,X,r,0)),x.isFallbackMountPending=!1,Qu(x,R),x.pendingBranch=null,x.isInFallback=!1;let H=x.parent,V=!1;for(;H;){if(H.pendingBranch){H.effects.push(...q),V=!0;break}H=H.parent}!V&&!O&&fa(q),x.effects=[],y&&t&&t.pendingBranch&&b===t.pendingId&&(t.deps--,t.deps===0&&!B&&t.resolve()),ga(_,"onResolve")},fallback(w){if(!x.pendingBranch)return;const{vnode:B,activeBranch:_,parentComponent:F,container:R,namespace:Z}=x;ga(B,"onFallback");const q=m(_),Q=()=>{x.isFallbackMountPending=!1,x.isInFallback&&(d(null,w,R,q,F,null,Z,s,i),Qu(x,w))},X=w.transition&&w.transition.mode==="out-in";X&&(x.isFallbackMountPending=!0,_.transition.afterLeave=Q),x.isInFallback=!0,p(_,F,null,!0),X||Q()},move(w,B,_){x.activeBranch&&f(x.activeBranch,w,B,_),x.container=w},next(){return x.activeBranch&&m(x.activeBranch)},registerDep(w,B,_){const F=!!x.pendingBranch;F&&x.deps++;const R=w.vnode.el;w.asyncDep.catch(Z=>{vr(Z,w,0)}).then(Z=>{if(w.isUnmounted||x.isUnmounted||x.pendingId!==w.suspenseId)return;w.asyncResolved=!0;const{vnode:q}=w;xc(w,Z),R&&(q.el=R);const Q=!R&&w.subTree.el;B(w,q,g(R||w.subTree.el),R?null:m(w.subTree),x,a,_),Q&&(q.placeholder=null,E(Q)),zi(w,q.el),F&&--x.deps===0&&x.resolve()})},unmount(w,B){x.isUnmounted=!0,x.activeBranch&&p(x.activeBranch,n,w,B),x.pendingBranch&&p(x.pendingBranch,n,w,B)}};return x}function O2(e,t,n,o,u,r,a,s,i){const c=t.suspense=p3(t,o,n,e.parentNode,document.createElement("div"),null,u,r,a,s,!0),l=i(e,c.pendingBranch=t.ssContent,n,c,r,a);return c.deps===0&&c.resolve(!1,!0),l}function R2(e){const{shapeFlag:t,children:n}=e,o=t&32;e.ssContent=Gf(o?n.default:n),e.ssFallback=o?Gf(n.fallback):z(vt)}function Gf(e){let t;if(we(e)){const n=Du&&e._c;n&&(e._d=!1,D()),e=e(),n&&(e._d=!0,t=zt,m3())}return be(e)&&(e=y2(e)),e=mn(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(n=>n!==e)),e}function h3(e,t){t&&t.pendingBranch?be(e)?t.effects.push(...e):t.effects.push(e):fa(e)}function Qu(e,t){e.activeBranch=t;const{vnode:n,parentComponent:o}=e;let u=t.el;for(;!u&&t.component;)t=t.component.subTree,u=t.el;n.el=u,o&&o.subTree===n&&(o.vnode.el=u,zi(o,u))}function I2(e){const t=e.props&&e.props.suspensible;return t!=null&&t!==!1}const Se=Symbol.for("v-fgt"),bu=Symbol.for("v-txt"),vt=Symbol.for("v-cmt"),Ps=Symbol.for("v-stc"),na=[];let zt=null;function D(e=!1){na.push(zt=e?null:[])}function m3(){na.pop(),zt=na[na.length-1]||null}let Du=1;function Qs(e,t=!1){Du+=e,e<0&&zt&&t&&(zt.hasOnce=!0)}function g3(e){return e.dynamicChildren=Du>0?zt||Yu:null,m3(),Du>0&&zt&&zt.push(e),e}function le(e,t,n,o,u,r){return g3(tt(e,t,n,o,u,r,!0))}function T(e,t,n,o,u){return g3(z(e,t,n,o,u,!0))}function wu(e){return e?e.__v_isVNode===!0:!1}function On(e,t){return e.type===t.type&&e.key===t.key}const v3=({key:e})=>e??null,Ms=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?it(e)||nt(e)||we(e)?{i:Zt,r:e,k:t,f:!!n}:e:null);function tt(e,t=null,n=null,o=0,u=null,r=e===Se?0:1,a=!1,s=!1){const i={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&v3(t),ref:t&&Ms(t),scopeId:bg,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:r,patchFlag:o,dynamicProps:u,dynamicChildren:null,appContext:null,ctx:Zt};return s?(Q0(i,n),r&128&&e.normalize(i)):n&&(i.shapeFlag|=it(n)?8:16),Du>0&&!a&&zt&&(i.patchFlag>0||r&6)&&i.patchFlag!==32&&zt.push(i),i}const z=L2;function L2(e,t=null,n=null,o=0,u=null,r=!1){if((!e||e===$g)&&(e=vt),wu(e)){const s=Sn(e,t,!0);return n&&Q0(s,n),Du>0&&!r&&zt&&(s.shapeFlag&6?zt[zt.indexOf(e)]=s:zt.push(s)),s.patchFlag=-2,s}if(U2(e)&&(e=e.__vccOpts),t){t=ke(t);let{class:s,style:i}=t;s&&!it(s)&&(t.class=oe(s)),Ge(i)&&($i(i)&&!be(i)&&(i=bt({},i)),t.style=xn(i))}const a=it(e)?1:Js(e)?128:wg(e)?64:Ge(e)?4:we(e)?2:0;return tt(e,t,n,o,u,a,r,!0)}function ke(e){return e?$i(e)||o3(e)?bt({},e):e:null}function Sn(e,t,n=!1,o=!1){const{props:u,ref:r,patchFlag:a,children:s,transition:i}=e,c=t?G(u||{},t):u,l={__v_isVNode:!0,__v_skip:!0,type:e.type,props:c,key:c&&v3(c),ref:t&&t.ref?n&&r?be(r)?r.concat(Ms(t)):[r,Ms(t)]:Ms(t):r,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:s,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Se?a===-1?16:a|16:a,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:i,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Sn(e.ssContent),ssFallback:e.ssFallback&&Sn(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return i&&o&&Zo(l,i.clone(l)),l}function Qe(e=" ",t=0){return z(bu,null,e,t)}function ue(e="",t=!1){return t?(D(),T(vt,null,e)):z(vt,null,e)}function mn(e){return e==null||typeof e=="boolean"?z(vt):be(e)?z(Se,null,e.slice()):wu(e)?mo(e):z(bu,null,String(e))}function mo(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Sn(e)}function Q0(e,t){let n=0;const{shapeFlag:o}=e;if(t==null)t=null;else if(be(t))n=16;else if(typeof t=="object")if(o&65){const u=t.default;u&&(u._c&&(u._d=!1),Q0(e,u()),u._c&&(u._d=!0));return}else{n=32;const u=t._;!u&&!o3(t)?t._ctx=Zt:u===3&&Zt&&(Zt.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else we(t)?(t={default:t,_ctx:Zt},n=32):(t=String(t),o&64?(n=16,t=[Qe(t)]):n=8);e.children=t,e.shapeFlag|=n}function G(...e){const t={};for(let n=0;nLt||Zt;let ei,er;{const e=Oi(),t=(n,o)=>{let u;return(u=e[n])||(u=e[n]=[]),u.push(o),r=>{u.length>1?u.forEach(a=>a(r)):u[0](r)}};ei=t("__VUE_INSTANCE_SETTERS__",n=>Lt=n),er=t("__VUE_SSR_SETTERS__",n=>Au=n)}const Er=e=>{const t=Lt;return ei(e),e.scope.on(),()=>{e.scope.off(),ei(t)}},ti=()=>{Lt&&Lt.scope.off(),ei(null)};function y3(e){return e.vnode.shapeFlag&4}let Au=!1;function j2(e,t=!1,n=!1){t&&er(t);const{props:o,children:u}=e.vnode,r=y3(e);x2(e,o,r,t),B2(e,u,n||t);const a=r?V2(e,t):void 0;return t&&er(!1),a}function V2(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,i2);const{setup:o}=n;if(o){Eo();const u=e.setupContext=o.length>1?E3(e):null,r=Er(e),a=Fa(o,e,0,[e.props,u]),s=q0(a);if(Co(),r(),(s||e.sp)&&!bo(e)&&G0(e),s){if(a.then(ti,ti),t)return a.then(i=>{xc(e,i)}).catch(i=>{vr(i,e,0)});e.asyncDep=a}else xc(e,a)}else b3(e)}function xc(e,t,n){we(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:Ge(t)&&(e.setupState=hg(t)),b3(e)}function b3(e,t,n){const o=e.type;e.render||(e.render=o.render||eo);{const u=Er(e);Eo();try{l2(e)}finally{Co(),u()}}}const z2={get(e,t){return Vt(e,"get",""),e[t]}};function E3(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,z2),slots:e.slots,emit:e.emit,expose:t}}function ed(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(hg(H0(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in ta)return ta[n](e)},has(t,n){return n in t||n in ta}})):e.proxy}function Dc(e,t=!0){return we(e)?e.displayName||e.name:e.name||t&&e.__name}function U2(e){return we(e)&&"__vccOpts"in e}const S=(e,t)=>qE(e,t,Au);function ze(e,t,n){try{Qs(-1);const o=arguments.length;return o===2?Ge(t)&&!be(t)?wu(t)?z(e,null,[t]):z(e,t):z(e,null,t):(o>3?n=Array.prototype.slice.call(arguments,2):o===3&&wu(n)&&(n=[n]),z(e,t,n))}finally{Qs(1)}}function qV(e,t,n,o){const u=n[o];if(u&&H2(u,e))return u;const r=t();return r.memo=e.slice(),r.cacheIndex=o,n[o]=r}function H2(e,t){const n=e.memo;if(n.length!=t.length)return!1;for(let o=0;o0&&zt&&zt.push(e),!0}const K2="3.5.31";let wc;const Yf=typeof window<"u"&&window.trustedTypes;if(Yf)try{wc=Yf.createPolicy("vue",{createHTML:e=>e})}catch{}const C3=wc?e=>wc.createHTML(e):e=>e,W2="http://www.w3.org/2000/svg",G2="http://www.w3.org/1998/Math/MathML",ho=typeof document<"u"?document:null,Zf=ho&&ho.createElement("template"),Y2={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,o)=>{const u=t==="svg"?ho.createElementNS(W2,e):t==="mathml"?ho.createElementNS(G2,e):n?ho.createElement(e,{is:n}):ho.createElement(e);return e==="select"&&o&&o.multiple!=null&&u.setAttribute("multiple",o.multiple),u},createText:e=>ho.createTextNode(e),createComment:e=>ho.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>ho.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,o,u,r){const a=n?n.previousSibling:t.lastChild;if(u&&(u===r||u.nextSibling))for(;t.insertBefore(u.cloneNode(!0),n),!(u===r||!(u=u.nextSibling)););else{Zf.innerHTML=C3(o==="svg"?`${e}`:o==="mathml"?`${e}`:e);const s=Zf.content;if(o==="svg"||o==="mathml"){const i=s.firstChild;for(;i.firstChild;)s.appendChild(i.firstChild);s.removeChild(i)}t.insertBefore(s,n)}return[a?a.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},Ro="transition",Rr="animation",ur=Symbol("_vtc"),x3={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},D3=bt({},kg,x3),Z2=e=>(e.displayName="Transition",e.props=D3,e),X2=Z2((e,{slots:t})=>ze(YE,w3(e),t)),uu=(e,t=[])=>{be(e)?e.forEach(n=>n(...t)):e&&e(...t)},Xf=e=>e?be(e)?e.some(t=>t.length>1):e.length>1:!1;function w3(e){const t={};for(const q in e)q in x3||(t[q]=e[q]);if(e.css===!1)return t;const{name:n="v",type:o,duration:u,enterFromClass:r=`${n}-enter-from`,enterActiveClass:a=`${n}-enter-active`,enterToClass:s=`${n}-enter-to`,appearFromClass:i=r,appearActiveClass:c=a,appearToClass:l=s,leaveFromClass:d=`${n}-leave-from`,leaveActiveClass:f=`${n}-leave-active`,leaveToClass:p=`${n}-leave-to`}=e,m=J2(u),g=m&&m[0],E=m&&m[1],{onBeforeEnter:b,onEnter:y,onEnterCancelled:v,onLeave:C,onLeaveCancelled:x,onBeforeAppear:w=b,onAppear:B=y,onAppearCancelled:_=v}=t,F=(q,Q,X,I)=>{q._enterCancelled=I,$o(q,Q?l:s),$o(q,Q?c:a),X&&X()},R=(q,Q)=>{q._isLeaving=!1,$o(q,d),$o(q,p),$o(q,f),Q&&Q()},Z=q=>(Q,X)=>{const I=q?B:y,O=()=>F(Q,q,X);uu(I,[Q,O]),Jf(()=>{$o(Q,q?i:r),Kn(Q,q?l:s),Xf(I)||Qf(Q,o,g,O)})};return bt(t,{onBeforeEnter(q){uu(b,[q]),Kn(q,r),Kn(q,a)},onBeforeAppear(q){uu(w,[q]),Kn(q,i),Kn(q,c)},onEnter:Z(!1),onAppear:Z(!0),onLeave(q,Q){q._isLeaving=!0;const X=()=>R(q,Q);Kn(q,d),q._enterCancelled?(Kn(q,f),Ac(q)):(Ac(q),Kn(q,f)),Jf(()=>{q._isLeaving&&($o(q,d),Kn(q,p),Xf(C)||Qf(q,o,E,X))}),uu(C,[q,X])},onEnterCancelled(q){F(q,!1,void 0,!0),uu(v,[q])},onAppearCancelled(q){F(q,!0,void 0,!0),uu(_,[q])},onLeaveCancelled(q){R(q),uu(x,[q])}})}function J2(e){if(e==null)return null;if(Ge(e))return[wl(e.enter),wl(e.leave)];{const t=wl(e);return[t,t]}}function wl(e){return Km(e)}function Kn(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[ur]||(e[ur]=new Set)).add(t)}function $o(e,t){t.split(/\s+/).forEach(o=>o&&e.classList.remove(o));const n=e[ur];n&&(n.delete(t),n.size||(e[ur]=void 0))}function Jf(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let Q2=0;function Qf(e,t,n,o){const u=e._endId=++Q2,r=()=>{u===e._endId&&o()};if(n!=null)return setTimeout(r,n);const{type:a,timeout:s,propCount:i}=A3(e,t);if(!a)return o();const c=a+"end";let l=0;const d=()=>{e.removeEventListener(c,f),r()},f=p=>{p.target===e&&++l>=i&&d()};setTimeout(()=>{l(n[m]||"").split(", "),u=o(`${Ro}Delay`),r=o(`${Ro}Duration`),a=ep(u,r),s=o(`${Rr}Delay`),i=o(`${Rr}Duration`),c=ep(s,i);let l=null,d=0,f=0;t===Ro?a>0&&(l=Ro,d=a,f=r.length):t===Rr?c>0&&(l=Rr,d=c,f=i.length):(d=Math.max(a,c),l=d>0?a>c?Ro:Rr:null,f=l?l===Ro?r.length:i.length:0);const p=l===Ro&&/\b(?:transform|all)(?:,|$)/.test(o(`${Ro}Property`).toString());return{type:l,timeout:d,propCount:f,hasTransform:p}}function ep(e,t){for(;e.lengthtp(n)+tp(e[o])))}function tp(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function Ac(e){return(e?e.ownerDocument:document).body.offsetHeight}function eC(e,t,n){const o=e[ur];o&&(t=(t?[t,...o]:[...o]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const np=Symbol("_vod"),tC=Symbol("_vsh"),nC=Symbol(""),oC=/(?:^|;)\s*display\s*:/;function uC(e,t,n){const o=e.style,u=it(n);let r=!1;if(n&&!u){if(t)if(it(t))for(const a of t.split(";")){const s=a.slice(0,a.indexOf(":")).trim();n[s]==null&&Os(o,s,"")}else for(const a in t)n[a]==null&&Os(o,a,"");for(const a in n)a==="display"&&(r=!0),Os(o,a,n[a])}else if(u){if(t!==n){const a=o[nC];a&&(n+=";"+a),o.cssText=n,r=oC.test(n)}}else t&&e.removeAttribute("style");np in e&&(e[np]=r?o.display:"",e[tC]&&(o.display="none"))}const op=/\s*!important$/;function Os(e,t,n){if(be(n))n.forEach(o=>Os(e,t,o));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const o=rC(e,t);op.test(n)?e.setProperty(ko(o),n.replace(op,""),"important"):e[o]=n}}const up=["Webkit","Moz","ms"],Al={};function rC(e,t){const n=Al[t];if(n)return n;let o=Mt(t);if(o!=="filter"&&o in e)return Al[t]=o;o=Mi(o);for(let u=0;uBl||(cC.then(()=>Bl=0),Bl=Date.now());function fC(e,t){const n=o=>{if(!o._vts)o._vts=Date.now();else if(o._vts<=n.attached)return;$n(pC(o,n.value),t,5,[o])};return n.value=e,n.attached=dC(),n}function pC(e,t){if(be(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(o=>u=>!u._stopped&&o&&o(u))}else return t}const cp=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,hC=(e,t,n,o,u,r)=>{const a=u==="svg";t==="class"?eC(e,o,a):t==="style"?uC(e,n,o):Sa(t)?Ti(t)||iC(e,t,n,o,r):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):mC(e,t,o,a))?(sp(e,t,o),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&ap(e,t,o,a,r,t!=="value")):e._isVueCE&&(gC(e,t)||e._def.__asyncLoader&&(/[A-Z]/.test(t)||!it(o)))?sp(e,Mt(t),o,r,t):(t==="true-value"?e._trueValue=o:t==="false-value"&&(e._falseValue=o),ap(e,t,o,a))};function mC(e,t,n,o){if(o)return!!(t==="innerHTML"||t==="textContent"||t in e&&cp(t)&&we(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="autocorrect"||t==="sandbox"&&e.tagName==="IFRAME"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const u=e.tagName;if(u==="IMG"||u==="VIDEO"||u==="CANVAS"||u==="SOURCE")return!1}return cp(t)&&it(n)?!1:t in e}function gC(e,t){const n=e._def.props;if(!n)return!1;const o=Mt(t);return Array.isArray(n)?n.some(u=>Mt(u)===o):Object.keys(n).some(u=>Mt(u)===o)}const B3=new WeakMap,_3=new WeakMap,ni=Symbol("_moveCb"),dp=Symbol("_enterCb"),vC=e=>(delete e.props.mode,e),yC=vC({name:"TransitionGroup",props:bt({},D3,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=et(),o=_g();let u,r;return br(()=>{if(!u.length)return;const a=e.moveClass||`${e.name||"v"}-move`;if(!xC(u[0].el,n.vnode.el,a)){u=[];return}u.forEach(bC),u.forEach(EC);const s=u.filter(CC);Ac(n.vnode.el),s.forEach(i=>{const c=i.el,l=c.style;Kn(c,a),l.transform=l.webkitTransform=l.transitionDuration="";const d=c[ni]=f=>{f&&f.target!==c||(!f||f.propertyName.endsWith("transform"))&&(c.removeEventListener("transitionend",d),c[ni]=null,$o(c,a))};c.addEventListener("transitionend",d)}),u=[]}),()=>{const a=Ne(e),s=w3(a);let i=a.tag||Se;if(u=[],r)for(let c=0;c{s.split(/\s+/).forEach(i=>i&&o.classList.remove(i))}),n.split(/\s+/).forEach(s=>s&&o.classList.add(s)),o.style.display="none";const r=t.nodeType===1?t:t.parentNode;r.appendChild(o);const{hasTransform:a}=A3(o);return r.removeChild(o),a}const DC=["ctrl","shift","alt","meta"],wC={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>DC.some(n=>e[`${n}Key`]&&!t.includes(n))},bn=(e,t)=>{if(!e)return e;const n=e._withMods||(e._withMods={}),o=t.join(".");return n[o]||(n[o]=((u,...r)=>{for(let a=0;a{const n=e._withKeys||(e._withKeys={}),o=t.join(".");return n[o]||(n[o]=(u=>{if(!("key"in u))return;const r=ko(u.key);if(t.some(a=>a===r||AC[a]===r))return e(u)}))},T3=bt({patchProp:hC},Y2);let oa,fp=!1;function BC(){return oa||(oa=k2(T3))}function _C(){return oa=fp?oa:S2(T3),fp=!0,oa}const kC=((...e)=>{const t=BC().createApp(...e),{mount:n}=t;return t.mount=o=>{const u=P3(o);if(!u)return;const r=t._component;!we(r)&&!r.render&&!r.template&&(r.template=u.innerHTML),u.nodeType===1&&(u.textContent="");const a=n(u,!1,F3(u));return u instanceof Element&&(u.removeAttribute("v-cloak"),u.setAttribute("data-v-app","")),a},t}),SC=((...e)=>{const t=_C().createApp(...e),{mount:n}=t;return t.mount=o=>{const u=P3(o);if(u)return n(u,!0,F3(u))},t});function F3(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function P3(e){return it(e)?document.querySelector(e):e}const TC=/"(?:_|\\u0{2}5[Ff]){2}(?:p|\\u0{2}70)(?:r|\\u0{2}72)(?:o|\\u0{2}6[Ff])(?:t|\\u0{2}74)(?:o|\\u0{2}6[Ff])(?:_|\\u0{2}5[Ff]){2}"\s*:/,FC=/"(?:c|\\u0063)(?:o|\\u006[Ff])(?:n|\\u006[Ee])(?:s|\\u0073)(?:t|\\u0074)(?:r|\\u0072)(?:u|\\u0075)(?:c|\\u0063)(?:t|\\u0074)(?:o|\\u006[Ff])(?:r|\\u0072)"\s*:/,PC=/^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/;function MC(e,t){if(e==="__proto__"||e==="constructor"&&t&&typeof t=="object"&&"prototype"in t){OC(e);return}return t}function OC(e){console.warn(`[destr] Dropping "${e}" key to prevent prototype pollution.`)}function RC(e,t={}){if(typeof e!="string")return e;if(e[0]==='"'&&e[e.length-1]==='"'&&e.indexOf("\\")===-1)return e.slice(1,-1);const n=e.trim();if(n.length<=9)switch(n.toLowerCase()){case"true":return!0;case"false":return!1;case"undefined":return;case"null":return null;case"nan":return Number.NaN;case"infinity":return Number.POSITIVE_INFINITY;case"-infinity":return Number.NEGATIVE_INFINITY}if(!PC.test(e)){if(t.strict)throw new SyntaxError("[destr] Invalid JSON");return e}try{if(TC.test(e)||FC.test(e)){if(t.strict)throw new Error("[destr] Possible prototype pollution");return JSON.parse(e,MC)}return JSON.parse(e)}catch(o){if(t.strict)throw o;return e}}const M3=/#/g,O3=/&/g,IC=/\//g,LC=/=/g,qC=/\?/g,Ui=/\+/g,$C=/%5e/gi,NC=/%60/gi,jC=/%7c/gi,VC=/%20/gi,zC=/%2f/gi,UC=/%252f/gi;function R3(e){return encodeURI(""+e).replace(jC,"|")}function Bc(e){return R3(typeof e=="string"?e:JSON.stringify(e)).replace(Ui,"%2B").replace(VC,"+").replace(M3,"%23").replace(O3,"%26").replace(NC,"`").replace($C,"^").replace(IC,"%2F")}function _l(e){return Bc(e).replace(LC,"%3D")}function HC(e){return R3(e).replace(M3,"%23").replace(qC,"%3F").replace(UC,"%2F").replace(O3,"%26").replace(Ui,"%2B")}function va(e=""){try{return decodeURIComponent(""+e)}catch{return""+e}}function KC(e){return va(e.replace(zC,"%252F"))}function WC(e){return va(e.replace(Ui," "))}function GC(e){return va(e.replace(Ui," "))}function td(e=""){const t=Object.create(null);e[0]==="?"&&(e=e.slice(1));for(const n of e.split("&")){const o=n.match(/([^=]+)=?(.*)/)||[];if(o.length<2)continue;const u=WC(o[1]);if(u==="__proto__"||u==="constructor")continue;const r=GC(o[2]||"");t[u]===void 0?t[u]=r:Array.isArray(t[u])?t[u].push(r):t[u]=[t[u],r]}return t}function YC(e,t){return(typeof t=="number"||typeof t=="boolean")&&(t=String(t)),t?Array.isArray(t)?t.map(n=>`${_l(e)}=${Bc(n)}`).join("&"):`${_l(e)}=${Bc(t)}`:_l(e)}function ZC(e){return Object.keys(e).filter(t=>e[t]!==void 0).map(t=>YC(t,e[t])).filter(Boolean).join("&")}const XC=/^[\s\w\0+.-]{2,}:([/\\]{1,2})/,I3=/^[\s\w\0+.-]{2,}:([/\\]{2})?/,JC=/^([/\\]\s*){2,}[^/\\]/,QC=/^[\s\0]*(blob|data|javascript|vbscript):$/i,e5=/\/$|\/\?|\/#/,t5=/^\.?\//;function Tn(e,t={}){return typeof t=="boolean"&&(t={acceptRelative:t}),t.strict?XC.test(e):I3.test(e)||(t.acceptRelative?JC.test(e):!1)}function n5(e){return!!e&&QC.test(e)}function _c(e="",t){return t?e5.test(e):e.endsWith("/")}function rr(e="",t){if(!t)return(_c(e)?e.slice(0,-1):e)||"/";if(!_c(e,!0))return e||"/";let n=e,o="";const u=e.indexOf("#");u!==-1&&(n=e.slice(0,u),o=e.slice(u));const[r,...a]=n.split("?");return((r.endsWith("/")?r.slice(0,-1):r)||"/")+(a.length>0?`?${a.join("?")}`:"")+o}function nd(e="",t){if(!t)return e.endsWith("/")?e:e+"/";if(_c(e,!0))return e||"/";let n=e,o="";const u=e.indexOf("#");if(u!==-1&&(n=e.slice(0,u),o=e.slice(u),!n))return o;const[r,...a]=n.split("?");return r+"/"+(a.length>0?`?${a.join("?")}`:"")+o}function o5(e=""){return e.startsWith("/")}function L3(e=""){return o5(e)?e:"/"+e}function u5(e,t){if($3(t)||Tn(e))return e;const n=rr(t);if(e.startsWith(n)){const o=e[n.length];if(!o||o==="/"||o==="?")return e}return Cr(n,e)}function pp(e,t){if($3(t))return e;const n=rr(t);if(!e.startsWith(n))return e;const o=e[n.length];if(o&&o!=="/"&&o!=="?")return e;const u=e.slice(n.length);return u[0]==="/"?u:"/"+u}function q3(e,t){const n=Hi(e),o={...td(n.search),...t};return n.search=ZC(o),i5(n)}function $3(e){return!e||e==="/"}function r5(e){return e&&e!=="/"}function Cr(e,...t){let n=e||"";for(const o of t.filter(u=>r5(u)))if(n){const u=o.replace(t5,"");n=nd(n)+u}else n=o;return n}function N3(...e){const t=/\/(?!\/)/,n=e.filter(Boolean),o=[];let u=0;for(const a of n)if(!(!a||a==="/")){for(const[s,i]of a.split(t).entries())if(!(!i||i===".")){if(i===".."){if(o.length===1&&Tn(o[0]))continue;o.pop(),u--;continue}if(s===1&&o[o.length-1]?.endsWith(":/")){o[o.length-1]+="/"+i;continue}o.push(i),u++}}let r=o.join("/");return u>=0?n[0]?.startsWith("/")&&!r.startsWith("/")?r="/"+r:n[0]?.startsWith("./")&&!r.startsWith("./")&&(r="./"+r):r="../".repeat(-1*u)+r,n[n.length-1]?.endsWith("/")&&!r.endsWith("/")&&(r+="/"),r}function a5(e){return s5(e,"https://")}function s5(e,t){let n=e.match(I3);return n||(n=e.match(/^\/{2,}/)),n?t+e.slice(n[0].length):t+e}function j3(e,t){return va(rr(e))===va(rr(t))}const V3=Symbol.for("ufo:protocolRelative");function Hi(e="",t){const n=e.match(/^[\s\0]*(blob:|data:|javascript:|vbscript:)(.*)/i);if(n){const[,d,f=""]=n;return{protocol:d.toLowerCase(),pathname:f,href:d+f,auth:"",host:"",search:"",hash:""}}if(!Tn(e,{acceptRelative:!0}))return hp(e);const[,o="",u,r=""]=e.replace(/\\/g,"/").match(/^[\s\0]*([\w+.-]{2,}:)?\/\/([^/@]+@)?(.*)/)||[];let[,a="",s=""]=r.match(/([^#/?]*)(.*)?/)||[];o==="file:"&&(s=s.replace(/\/(?=[A-Za-z]:)/,""));const{pathname:i,search:c,hash:l}=hp(s);return{protocol:o.toLowerCase(),auth:u?u.slice(0,Math.max(0,u.length-1)):"",host:a,pathname:i,search:c,hash:l,[V3]:!o}}function hp(e=""){const[t="",n="",o=""]=(e.match(/([^#?]*)(\?[^#]*)?(#.*)?/)||[]).splice(1);return{pathname:t,search:n,hash:o}}function i5(e){const t=e.pathname||"",n=e.search?(e.search.startsWith("?")?"":"?")+e.search:"",o=e.hash||"",u=e.auth?e.auth+"@":"",r=e.host||"";return(e.protocol||e[V3]?(e.protocol||"")+"//":"")+u+r+t+n+o}class l5 extends Error{constructor(t,n){super(t,n),this.name="FetchError",n?.cause&&!this.cause&&(this.cause=n.cause)}}function c5(e){const t=e.error?.message||e.error?.toString()||"",n=e.request?.method||e.options?.method||"GET",o=e.request?.url||String(e.request)||"/",u=`[${n}] ${JSON.stringify(o)}`,r=e.response?`${e.response.status} ${e.response.statusText}`:"",a=`${u}: ${r}${t?` ${t}`:""}`,s=new l5(a,e.error?{cause:e.error}:void 0);for(const i of["request","options","response"])Object.defineProperty(s,i,{get(){return e[i]}});for(const[i,c]of[["data","_data"],["status","status"],["statusCode","status"],["statusText","statusText"],["statusMessage","statusText"]])Object.defineProperty(s,i,{get(){return e.response&&e.response[c]}});return s}const d5=new Set(Object.freeze(["PATCH","POST","PUT","DELETE"]));function mp(e="GET"){return d5.has(e.toUpperCase())}function f5(e){if(e===void 0)return!1;const t=typeof e;return t==="string"||t==="number"||t==="boolean"||t===null?!0:t!=="object"?!1:Array.isArray(e)?!0:e.buffer||e instanceof FormData||e instanceof URLSearchParams?!1:e.constructor&&e.constructor.name==="Object"||typeof e.toJSON=="function"}const p5=new Set(["image/svg","application/xml","application/xhtml","application/html"]),h5=/^application\/(?:[\w!#$%&*.^`~-]*\+)?json(;.+)?$/i;function m5(e=""){if(!e)return"json";const t=e.split(";").shift()||"";return h5.test(t)?"json":t==="text/event-stream"?"stream":p5.has(t)||t.startsWith("text/")?"text":"blob"}function g5(e,t,n,o){const u=v5(t?.headers??e?.headers,n?.headers,o);let r;return(n?.query||n?.params||t?.params||t?.query)&&(r={...n?.params,...n?.query,...t?.params,...t?.query}),{...n,...t,query:r,params:r,headers:u}}function v5(e,t,n){if(!t)return new n(e);const o=new n(t);if(e)for(const[u,r]of Symbol.iterator in e||Array.isArray(e)?e:new n(e))o.set(u,r);return o}async function rs(e,t){if(t)if(Array.isArray(t))for(const n of t)await n(e);else await t(e)}const y5=new Set([408,409,425,429,500,502,503,504]),b5=new Set([101,204,205,304]);function z3(e={}){const{fetch:t=globalThis.fetch,Headers:n=globalThis.Headers,AbortController:o=globalThis.AbortController}=e;async function u(s){const i=s.error&&s.error.name==="AbortError"&&!s.options.timeout||!1;if(s.options.retry!==!1&&!i){let l;typeof s.options.retry=="number"?l=s.options.retry:l=mp(s.options.method)?0:1;const d=s.response&&s.response.status||500;if(l>0&&(Array.isArray(s.options.retryStatusCodes)?s.options.retryStatusCodes.includes(d):y5.has(d))){const f=typeof s.options.retryDelay=="function"?s.options.retryDelay(s):s.options.retryDelay||0;return f>0&&await new Promise(p=>setTimeout(p,f)),r(s.request,{...s.options,retry:l-1})}}const c=c5(s);throw Error.captureStackTrace&&Error.captureStackTrace(c,r),c}const r=async function(i,c={}){const l={request:i,options:g5(i,c,e.defaults,n),response:void 0,error:void 0};if(l.options.method&&(l.options.method=l.options.method.toUpperCase()),l.options.onRequest&&(await rs(l,l.options.onRequest),l.options.headers instanceof n||(l.options.headers=new n(l.options.headers||{}))),typeof l.request=="string"&&(l.options.baseURL&&(l.request=u5(l.request,l.options.baseURL)),l.options.query&&(l.request=q3(l.request,l.options.query),delete l.options.query),"query"in l.options&&delete l.options.query,"params"in l.options&&delete l.options.params),l.options.body&&mp(l.options.method))if(f5(l.options.body)){const p=l.options.headers.get("content-type");typeof l.options.body!="string"&&(l.options.body=p==="application/x-www-form-urlencoded"?new URLSearchParams(l.options.body).toString():JSON.stringify(l.options.body)),p||l.options.headers.set("content-type","application/json"),l.options.headers.has("accept")||l.options.headers.set("accept","application/json")}else("pipeTo"in l.options.body&&typeof l.options.body.pipeTo=="function"||typeof l.options.body.pipe=="function")&&("duplex"in l.options||(l.options.duplex="half"));let d;if(!l.options.signal&&l.options.timeout){const p=new o;d=setTimeout(()=>{const m=new Error("[TimeoutError]: The operation was aborted due to timeout");m.name="TimeoutError",m.code=23,p.abort(m)},l.options.timeout),l.options.signal=p.signal}try{l.response=await t(l.request,l.options)}catch(p){return l.error=p,l.options.onRequestError&&await rs(l,l.options.onRequestError),await u(l)}finally{d&&clearTimeout(d)}if((l.response.body||l.response._bodyInit)&&!b5.has(l.response.status)&&l.options.method!=="HEAD"){const p=(l.options.parseResponse?"json":l.options.responseType)||m5(l.response.headers.get("content-type")||"");switch(p){case"json":{const m=await l.response.text(),g=l.options.parseResponse||RC;l.response._data=g(m);break}case"stream":{l.response._data=l.response.body||l.response._bodyInit;break}default:l.response._data=await l.response[p]()}}return l.options.onResponse&&await rs(l,l.options.onResponse),!l.options.ignoreResponseError&&l.response.status>=400&&l.response.status<600?(l.options.onResponseError&&await rs(l,l.options.onResponseError),await u(l)):l.response},a=async function(i,c){return(await r(i,c))._data};return a.raw=r,a.native=(...s)=>t(...s),a.create=(s={},i={})=>z3({...e,...i,defaults:{...e.defaults,...i.defaults,...s}}),a}const oi=(function(){if(typeof globalThis<"u")return globalThis;if(typeof self<"u")return self;if(typeof window<"u")return window;if(typeof global<"u")return global;throw new Error("unable to locate global object")})(),E5=oi.fetch?(...e)=>oi.fetch(...e):()=>Promise.reject(new Error("[ofetch] global.fetch is not supported!")),C5=oi.Headers,x5=oi.AbortController,D5=z3({fetch:E5,Headers:C5,AbortController:x5}),w5=D5,A5=()=>window?.__NUXT__?.config||window?.useNuxtApp?.().payload?.config,od=()=>A5().app,B5=()=>od().baseURL,_5=()=>od().buildAssetsDir,ud=(...e)=>N3(U3(),_5(),...e),U3=(...e)=>{const t=od(),n=t.cdnURL||t.baseURL;return e.length?N3(n,...e):n};globalThis.__buildAssetsURL=ud,globalThis.__publicAssetsURL=U3;globalThis.$fetch||(globalThis.$fetch=w5.create({baseURL:B5()}));"global"in globalThis||(globalThis.global=globalThis);function kc(e,t={},n){for(const o in e){const u=e[o],r=n?`${n}:${o}`:o;typeof u=="object"&&u!==null?kc(u,t,r):typeof u=="function"&&(t[r]=u)}return t}const H3=(()=>{if(console.createTask)return console.createTask;const e={run:t=>t()};return()=>e})();function K3(e,t,n,o){for(let u=n;ue[u](...t)):e[u](...t);if(r instanceof Promise)return r.then(()=>K3(e,t,u+1,o))}catch(r){return Promise.reject(r)}}function k5(e,t,n){if(e.length>0)return K3(e,t,0,H3(n))}function S5(e,t,n){if(e.length>0){const o=H3(n);return Promise.all(e.map(u=>o.run(()=>u(...t))))}}function kl(e,t){for(const n of[...e])n(t)}var T5=class{_hooks;_before;_after;_deprecatedHooks;_deprecatedMessages;constructor(){this._hooks={},this._before=void 0,this._after=void 0,this._deprecatedMessages=void 0,this._deprecatedHooks={},this.hook=this.hook.bind(this),this.callHook=this.callHook.bind(this),this.callHookWith=this.callHookWith.bind(this)}hook(e,t,n={}){if(!e||typeof t!="function")return()=>{};const o=e;let u;for(;this._deprecatedHooks[e];)u=this._deprecatedHooks[e],e=u.to;if(u&&!n.allowDeprecated){let r=u.message;r||(r=`${o} hook has been deprecated`+(u.to?`, please use ${u.to}`:"")),this._deprecatedMessages||(this._deprecatedMessages=new Set),this._deprecatedMessages.has(r)||(console.warn(r),this._deprecatedMessages.add(r))}if(!t.name)try{Object.defineProperty(t,"name",{get:()=>"_"+e.replace(/\W+/g,"_")+"_hook_cb",configurable:!0})}catch{}return this._hooks[e]=this._hooks[e]||[],this._hooks[e].push(t),()=>{t&&(this.removeHook(e,t),t=void 0)}}hookOnce(e,t){let n,o=(...u)=>(typeof n=="function"&&n(),n=void 0,o=void 0,t(...u));return n=this.hook(e,o),n}removeHook(e,t){const n=this._hooks[e];if(n){const o=n.indexOf(t);o!==-1&&n.splice(o,1),n.length===0&&(this._hooks[e]=void 0)}}clearHook(e){this._hooks[e]=void 0}deprecateHook(e,t){this._deprecatedHooks[e]=typeof t=="string"?{to:t}:t;const n=this._hooks[e]||[];this._hooks[e]=void 0;for(const o of n)this.hook(e,o)}deprecateHooks(e){for(const t in e)this.deprecateHook(t,e[t])}addHooks(e){const t=kc(e),n=Object.keys(t).map(o=>this.hook(o,t[o]));return()=>{for(const o of n)o();n.length=0}}removeHooks(e){const t=kc(e);for(const n in t)this.removeHook(n,t[n])}removeAllHooks(){this._hooks={}}callHook(e,...t){return this.callHookWith(k5,e,t)}callHookParallel(e,...t){return this.callHookWith(S5,e,t)}callHookWith(e,t,n){const o=this._before||this._after?{name:t,args:n,context:{}}:void 0;this._before&&kl(this._before,o);const u=e(this._hooks[t]?[...this._hooks[t]]:[],n,t);return u instanceof Promise?u.finally(()=>{this._after&&o&&kl(this._after,o)}):(this._after&&o&&kl(this._after,o),u)}beforeEach(e){return this._before=this._before||[],this._before.push(e),()=>{if(this._before!==void 0){const t=this._before.indexOf(e);t!==-1&&this._before.splice(t,1)}}}afterEach(e){return this._after=this._after||[],this._after.push(e),()=>{if(this._after!==void 0){const t=this._after.indexOf(e);t!==-1&&this._after.splice(t,1)}}}};function W3(){return new T5}function F5(e={}){let t,n=!1;const o=a=>{if(t&&t!==a)throw new Error("Context conflict")};let u;if(e.asyncContext){const a=e.AsyncLocalStorage||globalThis.AsyncLocalStorage;a?u=new a:console.warn("[unctx] `AsyncLocalStorage` is not provided.")}const r=()=>{if(u){const a=u.getStore();if(a!==void 0)return a}return t};return{use:()=>{const a=r();if(a===void 0)throw new Error("Context is not available");return a},tryUse:()=>r(),set:(a,s)=>{s||o(a),t=a,n=!0},unset:()=>{t=void 0,n=!1},call:(a,s)=>{o(a),t=a;try{return u?u.run(a,s):s()}finally{n||(t=void 0)}},async callAsync(a,s){t=a;const i=()=>{t=a},c=()=>t===a?i:void 0;Sc.add(c);try{const l=u?u.run(a,s):s();return n||(t=void 0),await l}finally{Sc.delete(c)}}}}function P5(e={}){const t={};return{get(n,o={}){return t[n]||(t[n]=F5({...e,...o})),t[n]}}}const ui=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof global<"u"?global:typeof window<"u"?window:{},gp="__unctx__",M5=ui[gp]||(ui[gp]=P5()),O5=(e,t={})=>M5.get(e,t),vp="__unctx_async_handlers__",Sc=ui[vp]||(ui[vp]=new Set);function Eu(e){const t=[];for(const u of Sc){const r=u();r&&t.push(r)}const n=()=>{for(const u of t)u()};let o=e();return o&&typeof o=="object"&&"catch"in o&&(o=o.catch(u=>{throw n(),u})),[o,n]}const yp=!1,bp=!1,R5=!1,Ep={id:"__nuxt-loader"},I5={componentName:"NuxtLink",prefetch:!0,prefetchOn:{visibility:!0}},L5={deep:!1},q5={},$5="#__nuxt",G3="nuxt-app",Cp=36e5,N5="vite:preloadError";function Y3(e=G3){return O5(e,{asyncContext:!1})}const j5="__nuxt_plugin";function V5(e){let t=0;const n={_id:e.id||G3||"nuxt-app",_scope:j0(),provide:void 0,versions:{get nuxt(){return"4.4.2"},get vue(){return n.vueApp.version}},payload:Bn({...e.ssrContext?.payload||{},data:Bn({}),state:Tt({}),once:new Set,_errors:Bn({})}),static:{data:{}},runWithContext(u){return n._scope.active&&!So()?n._scope.run(()=>xp(n,u)):xp(n,u)},isHydrating:!0,deferHydration(){if(!n.isHydrating)return()=>{};t++;let u=!1;return()=>{if(!u&&(u=!0,t--,t===0))return n.isHydrating=!1,n.callHook("app:suspense:resolve")}},_asyncDataPromises:{},_asyncData:Bn({}),_state:Bn({}),_payloadRevivers:{},...e};{const u=window.__NUXT__;if(u)for(const r in u)switch(r){case"data":case"state":case"_errors":Object.assign(n.payload[r],u[r]);break;default:n.payload[r]=u[r]}}n.hooks=W3(),n.hook=n.hooks.hook;{const u=n.hooks.callHook;n.hooks.callHook=(r,...a)=>Promise.resolve().then(()=>u(r,...a))}n.callHook=n.hooks.callHook,n.provide=(u,r)=>{const a="$"+u;as(n,a,r),as(n.vueApp.config.globalProperties,a,r)},as(n.vueApp,"$nuxt",n),as(n.vueApp.config.globalProperties,"$nuxt",n);{window.addEventListener(N5,r=>{n.callHook("app:chunkError",{error:r.payload}),r.payload.message.includes("Unable to preload CSS")&&r.preventDefault()}),window.useNuxtApp||=Ie;const u=n.hook("app:error",(...r)=>{console.error("[nuxt] error caught during app initialization",...r)});n.hook("app:mounted",u)}const o=n.payload.config;return n.provide("config",o),n}function z5(e,t){t.hooks&&e.hooks.addHooks(t.hooks)}async function U5(e,t){if(typeof t=="function"){const{provide:n}=await e.runWithContext(()=>t(e))||{};if(n&&typeof n=="object")for(const o in n)e.provide(o,n[o])}}async function H5(e,t){const n=new Set,o=[],u=[];let r,a=0;async function s(i){const c=i.dependsOn?.filter(l=>t.some(d=>d._name===l)&&!n.has(l))??[];if(c.length>0)o.push([new Set(c),i]);else{const l=U5(e,i).then(async()=>{i._name&&(n.add(i._name),await Promise.all(o.map(async([d,f])=>{d.has(i._name)&&(d.delete(i._name),d.size===0&&(a++,await s(f)))})))}).catch(d=>{if(!i.parallel&&!e.payload.error)throw d;r||=d});i.parallel?u.push(l):await l}}for(const i of t)z5(e,i);for(const i of t)await s(i);if(await Promise.all(u),a)for(let i=0;i{}),e,{[j5]:!0,_name:t})}function xp(e,t,n){const o=()=>t();return Y3(e._id).set(e),e.vueApp.runWithContext(o)}function Z3(e){let t;return yr()&&(t=et()?.appContext.app.$nuxt),t||=Y3(e).tryUse(),t||null}function Ie(e){const t=Z3(e);if(!t)throw new Error("[nuxt] instance unavailable");return t}function Qt(e){return Ie().$config}function as(e,t,n){Object.defineProperty(e,t,{get:()=>n})}function Sl(e){if(e===null||typeof e!="object")return!1;const t=Object.getPrototypeOf(e);return t!==null&&t!==Object.prototype&&Object.getPrototypeOf(t)!==null||Symbol.iterator in e?!1:Symbol.toStringTag in e?Object.prototype.toString.call(e)==="[object Module]":!0}function Tc(e,t,n=".",o){if(!Sl(t))return Tc(e,{},n,o);const u=Object.assign({},t);for(const r in e){if(r==="__proto__"||r==="constructor")continue;const a=e[r];a!=null&&(o&&o(u,r,a,n)||(Array.isArray(a)&&Array.isArray(u[r])?u[r]=[...a,...u[r]]:Sl(a)&&Sl(u[r])?u[r]=Tc(a,u[r],(n?`${n}.`:"")+r.toString(),o):u[r]=a))}return u}function X3(e){return(...t)=>t.reduce((n,o)=>Tc(n,o,"",e),{})}const Ot=X3(),K5=X3((e,t,n)=>{if(e[t]!==void 0&&typeof n=="function")return e[t]=n(e[t]),!0});function W5(e,t){try{return t in e}catch{return!1}}class Dp extends Error{static __h3_error__=!0;statusCode=500;fatal=!1;unhandled=!1;statusMessage;data;cause;constructor(t,n={}){super(t,n),n.cause&&!this.cause&&(this.cause=n.cause)}toJSON(){const t={message:this.message,statusCode:Fc(this.statusCode,500)};return this.statusMessage&&(t.statusMessage=J3(this.statusMessage)),this.data!==void 0&&(t.data=this.data),t}}function G5(e){if(typeof e=="string")return new Dp(e);if(Y5(e))return e;const t=new Dp(e.message??e.statusMessage??"",{cause:e.cause||e});if(W5(e,"stack"))try{Object.defineProperty(t,"stack",{get(){return e.stack}})}catch{try{t.stack=e.stack}catch{}}if(e.data&&(t.data=e.data),e.statusCode?t.statusCode=Fc(e.statusCode,t.statusCode):e.status&&(t.statusCode=Fc(e.status,t.statusCode)),e.statusMessage?t.statusMessage=e.statusMessage:e.statusText&&(t.statusMessage=e.statusText),t.statusMessage){const n=t.statusMessage;J3(t.statusMessage)!==n&&console.warn("[h3] Please prefer using `message` for longer error messages instead of `statusMessage`. In the future, `statusMessage` will be sanitized by default.")}return e.fatal!==void 0&&(t.fatal=e.fatal),e.unhandled!==void 0&&(t.unhandled=e.unhandled),t}function Y5(e){return e?.constructor?.__h3_error__===!0}function Z5(e){const t={};for(const n in e.node.req.headers){const o=e.node.req.headers[n];t[n]=Array.isArray(o)?o.filter(Boolean).join(", "):o}return t}const X5=/[^\u0009\u0020-\u007E]/g;function J3(e=""){return e.replace(X5,"")}function Fc(e,t=200){return!e||(typeof e=="string"&&(e=Number.parseInt(e,10)),e<100||e>999)?t:e}const Q3=Symbol("layout-meta"),xo=Symbol("route");import.meta.url.replace(/\/app\/.*$/,"/");const Ut=()=>Ie()?.$router,Fn=()=>yr()?Ve(xo,Ie()._route):Ie()._route;const J5=(e,t,n={})=>{const o=Ie(),u=n.global||typeof e!="string",r=typeof e!="string"?e:t;if(!r){console.warn("[nuxt] No route middleware passed to `addRouteMiddleware`.",e);return}u?o._middleware.global.push(r):o._middleware.named[e]=r},Q5=()=>{try{if(Ie()._processingMiddleware)return!0}catch{return!1}return!1},Ki=(e,t)=>{e||="/";const n=typeof e=="string"?e:"path"in e?Pc(e):Ut().resolve(e).href;if(t?.open){const{target:c="_blank",windowFeatures:l={}}=t.open,d=[];for(const[f,p]of Object.entries(l))p!==void 0&&d.push(`${f.toLowerCase()}=${p}`);return open(n,c,d.join(", ")),Promise.resolve()}const o=Tn(n,{acceptRelative:!0}),u=t?.external||o;if(u){if(!t?.external)throw new Error("Navigating to an external URL is not allowed by default. Use `navigateTo(url, { external: true })`.");const{protocol:c}=new URL(n,window.location.href);if(c&&n5(c))throw new Error(`Cannot navigate to a URL with '${c}' protocol.`)}const r=Q5();if(!u&&r){if(t?.replace){if(typeof e=="string"){const{pathname:c,search:l,hash:d}=Hi(e);return{path:c,...l&&{query:td(l)},...d&&{hash:d},replace:!0}}return{...e,replace:!0}}return e}const a=Ut(),s=Ie();if(u)return s._scope.stop(),t?.replace?location.replace(n):location.href=n,r?s.isHydrating?new Promise(()=>{}):!1:Promise.resolve();const i=typeof e=="string"?ev(e):e;return t?.replace?a.replace(i):a.push(i)};function Pc(e){return q3(e.path||"",e.query||{})+(e.hash||"")}function ev(e){const t=Hi(e);return HC(KC(t.pathname))+t.search+t.hash}const tv="__nuxt_error",Wi=()=>at(Ie().payload,"error"),du=e=>{const t=Yo(e);try{const n=Wi();Ie().hooks.callHook("app:error",t),n.value||=t}catch{throw t}return t},nv=async(e={})=>{const t=Ie(),n=Wi();t.callHook("app:error:cleared",e),e.redirect&&await Ut().replace(e.redirect),n.value=void 0},ov=e=>!!e&&typeof e=="object"&&tv in e,Yo=e=>{typeof e!="string"&&e.statusText&&(e.message??=e.statusText);const t=G5(e);return Object.defineProperty(t,tv,{value:!0,configurable:!1,writable:!1}),Object.defineProperty(t,"status",{get:()=>t.statusCode,configurable:!0}),Object.defineProperty(t,"statusText",{get:()=>t.statusMessage,configurable:!0}),t};function ex(e){const t=nx(e),n=new ArrayBuffer(t.length),o=new DataView(n);for(let u=0;u>16),t+=String.fromCharCode((n&65280)>>8),t+=String.fromCharCode(n&255),n=o=0);return o===12?(n>>=4,t+=String.fromCharCode(n)):o===18&&(n>>=2,t+=String.fromCharCode((n&65280)>>8),t+=String.fromCharCode(n&255)),t}const ox=-1,ux=-2,rx=-3,ax=-4,sx=-5,ix=-6,lx=-7;function cx(e,t){return dx(JSON.parse(e),t)}function dx(e,t){if(typeof e=="number")return r(e,!0);if(!Array.isArray(e)||e.length===0)throw new Error("Invalid input");const n=e,o=Array(n.length);let u=null;function r(a,s=!1){if(a===ox)return;if(a===rx)return NaN;if(a===ax)return 1/0;if(a===sx)return-1/0;if(a===ix)return-0;if(s||typeof a!="number")throw new Error("Invalid input");if(a in o)return o[a];const i=n[a];if(!i||typeof i!="object")o[a]=i;else if(Array.isArray(i))if(typeof i[0]=="string"){const c=i[0],l=t&&Object.hasOwn(t,c)?t[c]:void 0;if(l){let d=i[1];if(typeof d!="number"&&(d=n.push(i[1])-1),u??=new Set,u.has(d))throw new Error("Invalid circular reference");return u.add(d),o[a]=l(r(d)),u.delete(d),o[a]}switch(c){case"Date":o[a]=new Date(i[1]);break;case"Set":const d=new Set;o[a]=d;for(let g=1;g=c)throw new Error("Invalid input");l[f]=r(i[d+1])}}else{const c=new Array(i.length);o[a]=c;for(let l=0;l`${yo(e)}=${t}`}},refresh:{metaKey:"http-equiv",unpack:{entrySeparator:";",resolve:({key:e,value:t})=>e==="seconds"?`${t}`:void 0}},robots:{unpack:{entrySeparator:", ",resolve:({key:e,value:t})=>typeof t=="boolean"?yo(e):`${yo(e)}:${t}`}},contentSecurityPolicy:{metaKey:"http-equiv",unpack:{entrySeparator:"; ",resolve:({key:e,value:t})=>`${yo(e)} ${t}`}},charset:{}};function yo(e){const t=e.replace(/([A-Z])/g,"-$1").toLowerCase(),n=t.indexOf("-");return n===-1?t:ya.META.has(t.slice(0,n))||ya.OG.has(t.slice(0,n))?e.replace(/([A-Z])/g,":$1").toLowerCase():t}function rv(e){return Object.fromEntries(Object.entries(e).filter(([t,n])=>String(n)!=="false"&&t))}function Oc(e){return Array.isArray(e)?e.map(Oc):!e||typeof e!="object"?e:Object.fromEntries(Object.entries(e).map(([t,n])=>[yo(t),Oc(n)]))}function av(e,t={}){const{entrySeparator:n="",keyValueSeparator:o="",wrapValue:u,resolve:r}=t;return Object.entries(e).map(([a,s])=>{if(r){const c=r({key:a,value:s});if(c!==void 0)return c}const i=typeof s=="object"?av(s,t):typeof s=="number"?s.toString():typeof s=="string"&&u?`${u}${s.replace(new RegExp(u,"g"),`\\${u}`)}${u}`:s;return`${a}${o}${i}`}).join(n)}function wp(e,t){const n=rv(t),o=yo(e),u=sv(o);if(!rd.has(o))return[{[u]:o,...n}];const r=Object.fromEntries(Object.entries(n).map(([a,s])=>[`${e}${a==="url"?"":`${a[0].toUpperCase()}${a.slice(1)}`}`,s]));return ri(r||{}).sort((a,s)=>(a[u]?.length||0)-(s[u]?.length||0))}function sv(e){if(uv[e]?.metaKey==="http-equiv"||ya.HTTP_EQUIV.has(e))return"http-equiv";const t=yo(e),n=t.indexOf(":");return n===-1?"name":ya.OG.has(t.slice(0,n))?"property":"name"}function bx(e){return yx[e]||yo(e)}function Ex(e,t){return t==="refresh"?`${e.seconds};url=${e.url}`:av(Oc(e),{keyValueSeparator:"=",entrySeparator:", ",resolve:({value:n,key:o})=>n===null?"":typeof n=="boolean"?o:void 0,...uv[t]?.unpack})}function ri(e){const t=[],n={};for(const[u,r]of Object.entries(e)){if(Array.isArray(r)){if(u==="themeColor"){r.forEach(a=>{typeof a=="object"&&a!==null&&t.push({name:"theme-color",...a})});continue}for(const a of r)if(typeof a=="object"&&a!==null){const s=[],i=[];for(const[c,l]of Object.entries(a)){const d=`${u}${c==="url"?"":`:${c}`}`,f=ri({[d]:l});(c==="url"?s:i).push(...f)}t.push(...s,...i)}else t.push(...typeof a=="string"?ri({[u]:a}):wp(u,a));continue}if(typeof r=="object"&&r)if(ya.MEDIA.has(u)){const a=u.startsWith("twitter")?"twitter":"og",s=u.replace(/^(og|twitter)/,"").toLowerCase(),i=a==="twitter"?"name":"property";r.url&&t.push({[i]:`${a}:${s}`,content:r.url}),r.secureUrl&&t.push({[i]:`${a}:${s}:secure_url`,content:r.secureUrl});for(const[c,l]of Object.entries(r))c!=="url"&&c!=="secureUrl"&&t.push({[i]:`${a}:${s}:${c}`,content:l})}else rd.has(yo(u))?t.push(...wp(u,r)):n[u]=rv(r);else n[u]=r}const o=Object.entries(n).map(([u,r])=>{if(u==="charset")return{charset:r===null?"_null":r};const a=sv(u),s=bx(u),i=r===null?"_null":typeof r=="object"?Ex(r,u):typeof r=="number"?r.toString():r;return a==="http-equiv"?{"http-equiv":s,content:i}:{[a]:s,content:i}});return[...t,...o].map(u=>"content"in u&&u.content==="_null"?{...u,content:null}:u)}const Cx={key:"flatMeta",hooks:{"entries:normalize":e=>{const t=[];e.tags=e.tags.map(n=>n.tag!=="_flatMeta"?n:(t.push(ri(n.props).map(o=>({...n,tag:"meta",props:o}))),!1)).filter(Boolean).concat(...t)}}},xx=["name","property","http-equiv"],Dx=new Set(["viewport","description","keywords","robots"]);function iv(e){const t=e.split(":");return t.length?rd.has(t[1]):!1}function Rc(e){const{props:t,tag:n}=e;if(mx.has(n))return n;if(n==="link"&&t.rel==="canonical")return"canonical";if(n==="link"&&t.rel==="alternate"){const o=t.hreflang||t.type;if(o)return`alternate:${o}`}if(t.charset)return"charset";if(e.tag==="meta"){for(const o of xx)if(t[o]!==void 0){const u=t[o],r=u&&typeof u=="string"&&u.includes(":"),a=u&&Dx.has(u),i=!(r||a)&&e.key?`:key:${e.key}`:"";return`${n}:${u}${i}`}}if(e.key)return`${n}:key:${e.key}`;if(t.id)return`${n}:id:${t.id}`;if(n==="link"&&t.rel==="alternate")return`alternate:${t.href||""}`;if(px.has(n)){const o=e.textContent||e.innerHTML;if(o)return`${n}:content:${o}`}}function lv(e){const t=e._h||e._d;if(t)return t;const n=e.textContent||e.innerHTML;return n||`${e.tag}:${Object.entries(e.props).map(([o,u])=>`${o}:${String(u)}`).join(",")}`}function ai(e,t,n){typeof e==="function"&&(!n||n!=="titleTemplate"&&!(n[0]==="o"&&n[1]==="n"))&&(e=e());const u=t?t(n,e):e;if(Array.isArray(u))return u.map(r=>ai(r,t));if(u?.constructor===Object){const r={};for(const a of Object.keys(u))r[a]=ai(u[a],t,a);return r}return u}function wx(e,t){const n=e==="style"?new Map:new Set;function o(u){if(u==null||u===void 0)return;const r=String(u).trim();if(r)if(e==="style"){const[a,...s]=r.split(":").map(i=>i?i.trim():"");a&&s.length&&n.set(a,s.join(":"))}else r.split(" ").filter(Boolean).forEach(a=>n.add(a))}return typeof t=="string"?e==="style"?t.split(";").forEach(o):o(t):Array.isArray(t)?t.forEach(u=>o(u)):t&&typeof t=="object"&&Object.entries(t).forEach(([u,r])=>{r&&r!=="false"&&(e==="style"?n.set(String(u).trim(),String(r)):o(u))}),n}function cv(e,t){if(e.props=e.props||{},!t)return e;if(e.tag==="templateParams")return e.props=t,e;const n=Mc.has(e.tag)||e.tag==="htmlAttrs"||e.tag==="bodyAttrs";return Object.entries(t).forEach(([o,u])=>{if(o==="__proto__"||o==="constructor"||o==="prototype")return;if(u===null){e.props[o]=null;return}if(o==="class"||o==="style"){e.props[o]=wx(o,u);return}if(gx.has(o)){if((o==="textContent"||o==="innerHTML")&&typeof u=="object"){let c=t.type;if(t.type||(c="application/json"),!c?.endsWith("json")&&c!=="speculationrules")return;t.type=c,e.props.type=c,e[o]=JSON.stringify(u)}else e[o]=u;return}const r=o.startsWith("data-"),a=n&&!r?o.toLowerCase():o,s=String(u),i=e.tag==="meta"&&a==="content";s==="true"||s===""?e.props[a]=r||i?s:!0:!u&&r&&s==="false"?e.props[a]="false":u!==void 0&&(e.props[a]=u)}),e}function Ax(e,t){const n=typeof t=="object"&&typeof t!="function"?t:{[e==="script"||e==="noscript"||e==="style"?"innerHTML":"textContent"]:t},o=cv({tag:e,props:{}},n);return o.key&&fx.has(o.tag)&&(o.props["data-hid"]=o._h=o.key),o.tag==="script"&&typeof o.innerHTML=="object"&&(o.innerHTML=JSON.stringify(o.innerHTML),o.props.type=o.props.type||"application/json"),Array.isArray(o.props.content)?o.props.content.map(u=>({...o,props:{...o.props,content:u}})):o}function Bx(e,t){if(!e)return[];typeof e=="function"&&(e=e());const n=(u,r)=>{for(let a=0;a{if(r!==void 0)for(const a of Array.isArray(r)?r:[r])o.push(Ax(u,a))}),o.flat()}const Ap=(e,t)=>e._w===t._w?e._p-t._p:e._w-t._w,Bp={base:-10,title:10},_x={critical:-8,high:-1,low:2},_p={meta:{"content-security-policy":-30,charset:-20,viewport:-15},link:{preconnect:20,stylesheet:60,preload:70,modulepreload:70,prefetch:90,"dns-prefetch":90,prerender:90},script:{async:30,defer:80,sync:50},style:{imported:40,sync:60}},kx=/@import/,Ir=e=>e===""||e===!0;function Sx(e,t){if(typeof t.tagPriority=="number")return t.tagPriority;let n=100;const o=_x[t.tagPriority]||0,u=e.resolvedOptions.disableCapoSorting?{link:{},script:{},style:{}}:_p;if(t.tag in Bp)n=Bp[t.tag];else if(t.tag==="meta"){const r=t.props["http-equiv"]==="content-security-policy"?"content-security-policy":t.props.charset?"charset":t.props.name==="viewport"?"viewport":null;r&&(n=_p.meta[r])}else if(t.tag==="link"&&t.props.rel)n=u.link[t.props.rel];else if(t.tag==="script"){const r=String(t.props.type);Ir(t.props.async)?n=u.script.async:t.props.src&&!Ir(t.props.defer)&&!Ir(t.props.async)&&r!=="module"&&!r.endsWith("json")||t.innerHTML&&!r.endsWith("json")?n=u.script.sync:(Ir(t.props.defer)&&t.props.src&&!Ir(t.props.async)||r==="module")&&(n=u.script.defer)}else t.tag==="style"&&(n=t.innerHTML&&kx.test(t.innerHTML)?u.style.imported:u.style.sync);return(n||100)+o}function kp(e,t){const n=typeof t=="function"?t(e):t,o=n.key||String(e.plugins.size+1);e.plugins.get(o)||(e.plugins.set(o,n),e.hooks.addHooks(n.hooks||{}))}function Tx(e={}){const t=W3();t.addHooks(e.hooks||{});const n=!e.document,o=new Map,u=new Map,r=new Set,a={_entryCount:1,plugins:u,dirty:!1,resolvedOptions:e,hooks:t,ssr:n,entries:o,headEntries(){return[...o.values()]},use:s=>kp(a,s),push(s,i){const c={...i||{}};delete c.head;const l=c._index??a._entryCount++,d={_i:l,input:s,options:c},f={_poll(p=!1){a.dirty=!0,!p&&r.add(l),t.callHook("entries:updated",a)},dispose(){o.delete(l)&&a.invalidate()},patch(p){(!c.mode||c.mode==="server"&&n||c.mode==="client"&&!n)&&(d.input=p,o.set(l,d),f._poll())}};return f.patch(s),f},async resolveTags(){const s={tagMap:new Map,tags:[],entries:[...a.entries.values()]};for(await t.callHook("entries:resolve",s);r.size;){const f=r.values().next().value;r.delete(f);const p=o.get(f);if(p){const m={tags:Bx(p.input,e.propResolvers||[]).map(g=>Object.assign(g,p.options)),entry:p};await t.callHook("entries:normalize",m),p._tags=m.tags.map((g,E)=>(g._w=Sx(a,g),g._p=(p._i<<10)+E,g._d=Rc(g),g._d||(g._h=lv(g)),g))}}let i=!1;s.entries.flatMap(f=>(f._tags||[]).map(p=>({...p,props:{...p.props}}))).sort(Ap).reduce((f,p)=>{const m=p._d||p._h;if(!f.has(m))return f.set(m,p);const g=f.get(m);if((p?.tagDuplicateStrategy||(vx.has(p.tag)?"merge":null)||(p.key&&p.key===g.key?"merge":null))==="merge"){const b={...g.props};Object.entries(p.props).forEach(([y,v])=>b[y]=y==="style"?new Map([...g.props.style||new Map,...v]):y==="class"?new Set([...g.props.class||new Set,...v]):v),f.set(m,{...p,props:b})}else p._p>>10===g._p>>10&&p.tag==="meta"&&iv(m)?(f.set(m,Object.assign([...Array.isArray(g)?g:[g],p],p)),i=!0):(p._w===g._w?p._p>g._p:p?._wkp(a,s)),a.hooks.callHook("init",a),e.init?.forEach(s=>s&&a.push(s)),a}const Fx=(e,t)=>nt(t)?Be(t):t,ad="usehead";function Px(e){return{install(n){n.config.globalProperties.$unhead=e,n.config.globalProperties.$head=e,n.provide(ad,e)}}.install}function dv(){if(yr()){const e=Ve(ad);if(e)return e}throw new Error("useHead() was called without provide context, ensure you call it through the setup() function.")}function fv(e,t={}){const n=t.head||dv();return n.ssr?n.push(e||{},t):Mx(n,e,t)}function Mx(e,t,n={}){const o=L(!1);let u;return mt(()=>{const a=o.value?{}:ai(t,Fx);u?u.patch(a):u=e.push(a,n)}),et()&&(Fo(()=>{u.dispose()}),Og(()=>{o.value=!0}),Mg(()=>{o.value=!1})),u}function Ox(e={},t={}){(t.head||dv()).use(Cx);const{title:o,titleTemplate:u,...r}=e;return fv({title:o,titleTemplate:u,_flatMeta:r},t)}function pv(e){const t=e||Ie();return t.ssrContext?.head||t.runWithContext(()=>{if(yr()){const n=Ve(ad);if(!n)throw new Error("[nuxt] [unhead] Missing Unhead instance.");return n}})}function sd(e,t={}){const n=t.head||pv(t.nuxt);return fv(e,{head:n,...t})}function hv(e,t={}){const n=t.head||pv(t.nuxt);return Ox(e,{head:n,...t})}const Rx=(()=>{const e={prerender:!0},t={},n={payload:!1};return(o,u)=>{let r=[];const a="__rou3_unnamed_",i=d=>{if(!d)return d;for(const f in d)f.startsWith(a)&&(d[f.slice(15)]=d[f],delete d[f]);return d};u.charCodeAt(u.length-1)===47&&(u=u.slice(0,-1)||"/"),u==="/__nuxt_content/docs/sql_dump.txt"?r.unshift({data:e}):u==="/__nuxt_content/landing/sql_dump.txt"?r.unshift({data:e}):u==="/assets"&&r.unshift({data:t});let c=u.split("/"),l=c.length;return l>1&&c[1]==="__nuxt_content"&&r.unshift({data:n,params:{_:c.slice(2).join("/")}}),(l===2||l===1)&&l>1&&/^assets(?<__rou3_unnamed_0>[^/]*)(?<__rou3_unnamed_1>[^/]*)$/.test(c[1])&&r.unshift({data:t,params:{...i(/^assets(?<__rou3_unnamed_0>[^/]*)(?<__rou3_unnamed_1>[^/]*)$/.exec(c[1])?.groups)}}),r}})(),mv=e=>Ot({},...Rx("",e).map(t=>t.data).reverse()),Ix=mv;let Rs;function Lx(){return Rs=$fetch(ud(`builds/meta/${Qt().app.buildId}.json`),{responseType:"json"}),Rs.catch(e=>{console.error("[nuxt] Error fetching app manifest.",e)}),Rs}function id(){return Rs||Lx()}function Gi(e){const t=typeof e=="string"?e:e.path;try{return Ix(t)}catch(n){return console.error("[nuxt] Error matching route rules.",n),{}}}async function Sp(e,t={}){if(await Nx(e)){const n=await $x(e,t);return await gv(n)||null}return null}const qx="_payload.json";async function $x(e,t={}){const n=new URL(e,"http://localhost");if(n.host!=="localhost"||Tn(n.pathname,{acceptRelative:!0}))throw new Error("Payload URL must not include hostname: "+e);const o=Qt(),u=t.hash||(t.fresh?Date.now():o.app.buildId),r=o.app.cdnURL,a=r&&await jx(e)?r:o.app.baseURL;return Cr(a,n.pathname,qx+(u?`?${u}`:""))}async function gv(e){const t=fetch(e,{cache:"force-cache"}).then(n=>n.text().then(bv));try{return await t}catch(n){console.warn("[nuxt] Cannot load payload ",e,n)}return null}function vv(e){if(e.redirect)return!1;if(e.prerender)return!0}async function yv(e){return e=e==="/"?e:e.replace(/\/$/,""),(await id()).prerendered.includes(e)}async function Nx(e=Fn().path){const t=Gi({path:e});if(t.ssr===!1)return!1;const n=vv(t);return n!==void 0?n:t.payload?!0:await yv(e)}async function jx(e=Fn().path){const t=vv(Gi({path:e}));return t!==void 0?t:await yv(e)}let ru=null;async function Vx(){if(ru)return ru;const e=document.getElementById("__NUXT_DATA__");if(!e)return{};const t=await bv(e.textContent||""),n=e.dataset.src?await gv(e.dataset.src):void 0;return ru={...t,...n,...window.__NUXT__},ru.config?.public&&(ru.config.public=Tt(ru.config.public)),ru}async function bv(e){return await cx(e,Ie()._payloadRevivers)}function zx(e,t){Ie()._payloadRevivers[e]=t}function Tp(e){try{return JSON.parse(e)}catch{return e}}const Ev=[["NuxtError",e=>Yo(e)],["EmptyShallowRef",e=>$e(e==="_"?void 0:e==="0n"?BigInt(0):Tp(e))],["EmptyRef",e=>L(e==="_"?void 0:e==="0n"?BigInt(0):Tp(e))],["ShallowRef",e=>$e(e)],["ShallowReactive",e=>Bn(e)],["Ref",e=>L(e)],["Reactive",e=>Tt(e)]];Ev.push(["Island",({key:e,params:t,result:n})=>{const o=Ie();return o.isHydrating||(o.payload.data[e]||=$fetch(`/__nuxt_island/${e}.json`,{responseType:"json",...t?{params:t}:{}}).then(u=>(o.payload.data[e]=u,u))),{html:"",...n}}]);const Ux=tn({name:"nuxt:revive-payload:client",order:-30,async setup(e){let t,n;for(const[o,u]of Ev)zx(o,u);Object.assign(e.payload,([t,n]=Eu(()=>e.runWithContext(Vx)),t=await t,n(),t)),delete window.__NUXT__}});async function ld(e,t={}){const n=t.document||e.resolvedOptions.document;if(!n||!e.dirty)return;const o={shouldRender:!0,tags:[]};if(await e.hooks.callHook("dom:beforeRender",o),!!o.shouldRender)return e._domUpdatePromise||(e._domUpdatePromise=new Promise(async u=>{const r=new Map,a=new Promise(p=>{e.resolveTags().then(m=>{p(m.map(g=>{const E=r.get(g._d)||0,b={tag:g,id:(E?`${g._d}:${E}`:g._d)||g._h,shouldRender:!0};return g._d&&iv(g._d)&&r.set(g._d,E+1),b}))})});let s=e._dom;if(!s){s={title:n.title,elMap:new Map().set("htmlAttrs",n.documentElement).set("bodyAttrs",n.body)};for(const p of["body","head"]){const m=n[p]?.children;for(const g of m){const E=g.tagName.toLowerCase();if(!Mc.has(E))continue;const b=cv({tag:E,props:{}},{innerHTML:g.innerHTML,...g.getAttributeNames().reduce((y,v)=>(y[v]=g.getAttribute(v),y),{})||{}});if(b.key=g.getAttribute("data-hid")||void 0,b._d=Rc(b)||lv(b),s.elMap.has(b._d)){let y=1,v=b._d;for(;s.elMap.has(v);)v=`${b._d}:${y++}`;s.elMap.set(v,g)}else s.elMap.set(b._d,g)}}}s.pendingSideEffects={...s.sideEffects},s.sideEffects={};function i(p,m,g){const E=`${p}:${m}`;s.sideEffects[E]=g,delete s.pendingSideEffects[E]}function c({id:p,$el:m,tag:g}){const E=g.tag.endsWith("Attrs");s.elMap.set(p,m),E||(g.textContent&&g.textContent!==m.textContent&&(m.textContent=g.textContent),g.innerHTML&&g.innerHTML!==m.innerHTML&&(m.innerHTML=g.innerHTML),i(p,"el",()=>{m?.remove(),s.elMap.delete(p)}));for(const b in g.props){if(!Object.prototype.hasOwnProperty.call(g.props,b))continue;const y=g.props[b];if(b.startsWith("on")&&typeof y=="function"){const C=m?.dataset;if(C&&C[`${b}fired`]){const x=b.slice(0,-5);y.call(m,new Event(x.substring(2)))}m.getAttribute(`data-${b}`)!==""&&((g.tag==="bodyAttrs"?n.defaultView:m).addEventListener(b.substring(2),y.bind(m)),m.setAttribute(`data-${b}`,""));continue}const v=`attr:${b}`;if(b==="class"){if(!y)continue;for(const C of y)E&&i(p,`${v}:${C}`,()=>m.classList.remove(C)),!m.classList.contains(C)&&m.classList.add(C)}else if(b==="style"){if(!y)continue;for(const[C,x]of y)i(p,`${v}:${C}`,()=>{m.style.removeProperty(C)}),m.style.setProperty(C,x)}else y!==!1&&y!==null&&(m.getAttribute(b)!==y&&m.setAttribute(b,y===!0?"":String(y)),E&&i(p,v,()=>m.removeAttribute(b)))}}const l=[],d={bodyClose:void 0,bodyOpen:void 0,head:void 0},f=await a;for(const p of f){const{tag:m,shouldRender:g,id:E}=p;if(g){if(m.tag==="title"){n.title=m.textContent,i("title","",()=>n.title=s.title);continue}p.$el=p.$el||s.elMap.get(E),p.$el?c(p):Mc.has(m.tag)&&l.push(p)}}for(const p of l){const m=p.tag.tagPosition||"head";p.$el=n.createElement(p.tag.tag),c(p),d[m]=d[m]||n.createDocumentFragment(),d[m].appendChild(p.$el)}for(const p of f)await e.hooks.callHook("dom:renderTag",p,n,i);d.head&&n.head.appendChild(d.head),d.bodyOpen&&n.body.insertBefore(d.bodyOpen,n.body.firstChild),d.bodyClose&&n.body.appendChild(d.bodyClose);for(const p in s.pendingSideEffects)s.pendingSideEffects[p]();e._dom=s,await e.hooks.callHook("dom:rendered",{renders:f}),u()}).finally(()=>{e._domUpdatePromise=void 0,e.dirty=!1})),e._domUpdatePromise}function Hx(e={}){const t=e.domOptions?.render||ld;e.document=e.document||(typeof window<"u"?document:void 0);const n=e.document?.head.querySelector('script[id="unhead:payload"]')?.innerHTML||!1;return Tx({...e,plugins:[...e.plugins||[],{key:"client",hooks:{"entries:updated":t}}],init:[n?JSON.parse(n):!1,...e.init||[]]})}function Kx(e,t){let n=0;return()=>{const o=++n;t(()=>{n===o&&e()})}}function Wx(e={}){const t=Hx({domOptions:{render:Kx(()=>ld(t),n=>setTimeout(n,0))},...e});return t.install=Px(t),t}const Gx={disableDefaults:!0},Yx=tn({name:"nuxt:head",enforce:"pre",setup(e){const t=Wx(Gx);e.vueApp.use(t);{let n=!0;const o=async()=>{n=!1,await ld(t)};t.hooks.hook("dom:beforeRender",u=>{u.shouldRender=!n}),e.hooks.hook("page:start",()=>{n=!0}),e.hooks.hook("page:finish",()=>{e.isHydrating||o()}),e.hooks.hook("app:error",o),e.hooks.hook("app:suspense:resolve",o)}}});const Vu=typeof document<"u";function Cv(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function Zx(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&Cv(e.default)}const Xe=Object.assign;function Tl(e,t){const n={};for(const o in t){const u=t[o];n[o]=Nn(u)?u.map(e):e(u)}return n}const ua=()=>{},Nn=Array.isArray;function Fp(e,t){const n={};for(const o in e)n[o]=o in t?t[o]:e[o];return n}let gt=(function(e){return e[e.MATCHER_NOT_FOUND=1]="MATCHER_NOT_FOUND",e[e.NAVIGATION_GUARD_REDIRECT=2]="NAVIGATION_GUARD_REDIRECT",e[e.NAVIGATION_ABORTED=4]="NAVIGATION_ABORTED",e[e.NAVIGATION_CANCELLED=8]="NAVIGATION_CANCELLED",e[e.NAVIGATION_DUPLICATED=16]="NAVIGATION_DUPLICATED",e})({});const xv=Symbol("");gt.MATCHER_NOT_FOUND+"",gt.NAVIGATION_GUARD_REDIRECT+"",gt.NAVIGATION_ABORTED+"",gt.NAVIGATION_CANCELLED+"",gt.NAVIGATION_DUPLICATED+"";function ar(e,t){return Xe(new Error,{type:e,[xv]:!0},t)}function co(e,t){return e instanceof Error&&xv in e&&(t==null||!!(e.type&t))}const Xx=["params","query","hash"];function Jx(e){if(typeof e=="string")return e;if(e.path!=null)return e.path;const t={};for(const n of Xx)n in e&&(t[n]=e[n]);return JSON.stringify(t,null,2)}const Qx=Symbol(""),Pp=Symbol(""),cd=Symbol(""),dd=Symbol(""),Ic=Symbol("");function Dv(e){return Ve(dd)}const eD={trailing:!0};function tD(e,t=25,n={}){if(n={...eD,...n},!Number.isFinite(t))throw new TypeError("Expected `wait` to be a finite number");let o,u,r=[],a,s;const i=(d,f)=>(a=nD(e,d,f),a.finally(()=>{if(a=null,n.trailing&&s&&!u){const p=i(d,s);return s=null,p}}),a),c=function(...d){return n.trailing&&(s=d),a||new Promise(f=>{const p=!u&&n.leading;clearTimeout(u),u=setTimeout(()=>{u=null;const m=n.leading?o:i(this,d);s=null;for(const g of r)g(m);r=[]},t),p?(o=i(this,d),f(o)):r.push(f)})},l=d=>{d&&(clearTimeout(d),u=null)};return c.isPending=()=>!!u,c.cancel=()=>{l(u),r=[],s=null},c.flush=()=>{if(l(u),!s||a)return;const d=s;return s=null,i(this,d)},c}async function nD(e,t,n){return await e.apply(t,n)}const wv=/#/g,oD=/&/g,uD=/\//g,rD=/=/g,aD=/\?/g,Av=/\+/g,sD=/%5B/g,iD=/%5D/g,Bv=/%5E/g,lD=/%60/g,_v=/%7B/g,cD=/%7C/g,kv=/%7D/g,dD=/%20/g;function fd(e){return e==null?"":encodeURI(""+e).replace(cD,"|").replace(sD,"[").replace(iD,"]")}function fD(e){return fd(e).replace(_v,"{").replace(kv,"}").replace(Bv,"^")}function Lc(e){return fd(e).replace(Av,"%2B").replace(dD,"+").replace(wv,"%23").replace(oD,"%26").replace(lD,"`").replace(_v,"{").replace(kv,"}").replace(Bv,"^")}function pD(e){return Lc(e).replace(rD,"%3D")}function hD(e){return fd(e).replace(wv,"%23").replace(aD,"%3F")}function mD(e){return hD(e).replace(uD,"%2F")}function ba(e){if(e==null)return null;try{return decodeURIComponent(""+e)}catch{}return""+e}const gD=/\/$/,vD=e=>e.replace(gD,"");function Fl(e,t,n="/"){let o,u={},r="",a="";const s=t.indexOf("#");let i=t.indexOf("?");return i=s>=0&&i>s?-1:i,i>=0&&(o=t.slice(0,i),r=t.slice(i,s>0?s:t.length),u=e(r.slice(1))),s>=0&&(o=o||t.slice(0,s),a=t.slice(s,t.length)),o=CD(o??t,n),{fullPath:o+r+a,path:o,query:u,hash:ba(a)}}function yD(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function Mp(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function bD(e,t,n){const o=t.matched.length-1,u=n.matched.length-1;return o>-1&&o===u&&sr(t.matched[o],n.matched[u])&&Sv(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function sr(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Sv(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(var n in e)if(!ED(e[n],t[n]))return!1;return!0}function ED(e,t){return Nn(e)?Op(e,t):Nn(t)?Op(t,e):(e&&e.valueOf())===(t&&t.valueOf())}function Op(e,t){return Nn(t)?e.length===t.length&&e.every((n,o)=>n===t[o]):e.length===1&&e[0]===t}function CD(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),o=e.split("/"),u=o[o.length-1];(u===".."||u===".")&&o.push("");let r=n.length-1,a,s;for(a=0;a1&&r--;else break;return n.slice(0,r).join("/")+"/"+o.slice(a).join("/")}const An={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};let qc=(function(e){return e.pop="pop",e.push="push",e})({}),Pl=(function(e){return e.back="back",e.forward="forward",e.unknown="",e})({});function xD(e){if(!e)if(Vu){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),vD(e)}const DD=/^[^#]+#/;function wD(e,t){return e.replace(DD,"#")+t}function AD(e,t){const n=document.documentElement.getBoundingClientRect(),o=e.getBoundingClientRect();return{behavior:t.behavior,left:o.left-n.left-(t.left||0),top:o.top-n.top-(t.top||0)}}const Yi=()=>({left:window.scrollX,top:window.scrollY});function BD(e){let t;if("el"in e){const n=e.el,o=typeof n=="string"&&n.startsWith("#"),u=typeof n=="string"?o?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!u)return;t=AD(u,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.scrollX,t.top!=null?t.top:window.scrollY)}function Rp(e,t){return(history.state?history.state.position-t:-1)+e}const $c=new Map;function _D(e,t){$c.set(e,t)}function kD(e){const t=$c.get(e);return $c.delete(e),t}function SD(e){return typeof e=="string"||e&&typeof e=="object"}function Tv(e){return typeof e=="string"||typeof e=="symbol"}function TD(e){const t={};if(e===""||e==="?")return t;const n=(e[0]==="?"?e.slice(1):e).split("&");for(let o=0;ou&&Lc(u)):[o&&Lc(o)]).forEach(u=>{u!==void 0&&(t+=(t.length?"&":"")+n,u!=null&&(t+="="+u))})}return t}function FD(e){const t={};for(const n in e){const o=e[n];o!==void 0&&(t[n]=Nn(o)?o.map(u=>u==null?null:""+u):o==null?o:""+o)}return t}function Lr(){let e=[];function t(o){return e.push(o),()=>{const u=e.indexOf(o);u>-1&&e.splice(u,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function zo(e,t,n,o,u,r=a=>a()){const a=o&&(o.enterCallbacks[u]=o.enterCallbacks[u]||[]);return()=>new Promise((s,i)=>{const c=f=>{f===!1?i(ar(gt.NAVIGATION_ABORTED,{from:n,to:t})):f instanceof Error?i(f):SD(f)?i(ar(gt.NAVIGATION_GUARD_REDIRECT,{from:t,to:f})):(a&&o.enterCallbacks[u]===a&&typeof f=="function"&&a.push(f),s())},l=r(()=>e.call(o&&o.instances[u],t,n,c));let d=Promise.resolve(l);e.length<3&&(d=d.then(c)),d.catch(f=>i(f))})}function Ml(e,t,n,o,u=r=>r()){const r=[];for(const a of e)for(const s in a.components){let i=a.components[s];if(!(t!=="beforeRouteEnter"&&!a.instances[s]))if(Cv(i)){const c=(i.__vccOpts||i)[t];c&&r.push(zo(c,n,o,a,s,u))}else{let c=i();r.push(()=>c.then(l=>{if(!l)throw new Error(`Couldn't resolve component "${s}" at "${a.path}"`);const d=Zx(l)?l.default:l;a.mods[s]=l,a.components[s]=d;const f=(d.__vccOpts||d)[t];return f&&zo(f,n,o,a,s,u)()}))}}return r}function PD(e,t){const n=[],o=[],u=[],r=Math.max(t.matched.length,e.matched.length);for(let a=0;asr(c,s))?o.push(s):n.push(s));const i=e.matched[a];i&&(t.matched.find(c=>sr(c,i))||u.push(i))}return[n,o,u]}let MD=()=>location.protocol+"//"+location.host;function Fv(e,t){const{pathname:n,search:o,hash:u}=t,r=e.indexOf("#");if(r>-1){let a=u.includes(e.slice(r))?e.slice(r).length:1,s=u.slice(a);return s[0]!=="/"&&(s="/"+s),Mp(s,"")}return Mp(n,e)+o+u}function OD(e,t,n,o){let u=[],r=[],a=null;const s=({state:f})=>{const p=Fv(e,location),m=n.value,g=t.value;let E=0;if(f){if(n.value=p,t.value=f,a&&a===m){a=null;return}E=g?f.position-g.position:0}else o(p);u.forEach(b=>{b(n.value,m,{delta:E,type:qc.pop,direction:E?E>0?Pl.forward:Pl.back:Pl.unknown})})};function i(){a=n.value}function c(f){u.push(f);const p=()=>{const m=u.indexOf(f);m>-1&&u.splice(m,1)};return r.push(p),p}function l(){if(document.visibilityState==="hidden"){const{history:f}=window;if(!f.state)return;f.replaceState(Xe({},f.state,{scroll:Yi()}),"")}}function d(){for(const f of r)f();r=[],window.removeEventListener("popstate",s),window.removeEventListener("pagehide",l),document.removeEventListener("visibilitychange",l)}return window.addEventListener("popstate",s),window.addEventListener("pagehide",l),document.addEventListener("visibilitychange",l),{pauseListeners:i,listen:c,destroy:d}}function Lp(e,t,n,o=!1,u=!1){return{back:e,current:t,forward:n,replaced:o,position:window.history.length,scroll:u?Yi():null}}function RD(e){const{history:t,location:n}=window,o={value:Fv(e,n)},u={value:t.state};u.value||r(o.value,{back:null,current:o.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function r(i,c,l){const d=e.indexOf("#"),f=d>-1?(n.host&&document.querySelector("base")?e:e.slice(d))+i:MD()+e+i;try{t[l?"replaceState":"pushState"](c,"",f),u.value=c}catch(p){console.error(p),n[l?"replace":"assign"](f)}}function a(i,c){r(i,Xe({},t.state,Lp(u.value.back,i,u.value.forward,!0),c,{position:u.value.position}),!0),o.value=i}function s(i,c){const l=Xe({},u.value,t.state,{forward:i,scroll:Yi()});r(l.current,l,!0),r(i,Xe({},Lp(o.value,i,null),{position:l.position+1},c),!1),o.value=i}return{location:o,state:u,push:s,replace:a}}function ID(e){e=xD(e);const t=RD(e),n=OD(e,t.state,t.location,t.replace);function o(r,a=!0){a||n.pauseListeners(),history.go(r)}const u=Xe({location:"",base:e,go:o,createHref:wD.bind(null,e)},t,n);return Object.defineProperty(u,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(u,"state",{enumerable:!0,get:()=>t.state.value}),u}let pu=(function(e){return e[e.Static=0]="Static",e[e.Param=1]="Param",e[e.Group=2]="Group",e})({});var _t=(function(e){return e[e.Static=0]="Static",e[e.Param=1]="Param",e[e.ParamRegExp=2]="ParamRegExp",e[e.ParamRegExpEnd=3]="ParamRegExpEnd",e[e.EscapeNext=4]="EscapeNext",e})(_t||{});const LD={type:pu.Static,value:""},qD=/[a-zA-Z0-9_]/;function $D(e){if(!e)return[[]];if(e==="/")return[[LD]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(p){throw new Error(`ERR (${n})/"${c}": ${p}`)}let n=_t.Static,o=n;const u=[];let r;function a(){r&&u.push(r),r=[]}let s=0,i,c="",l="";function d(){c&&(n===_t.Static?r.push({type:pu.Static,value:c}):n===_t.Param||n===_t.ParamRegExp||n===_t.ParamRegExpEnd?(r.length>1&&(i==="*"||i==="+")&&t(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),r.push({type:pu.Param,value:c,regexp:l,repeatable:i==="*"||i==="+",optional:i==="*"||i==="?"})):t("Invalid state to consume buffer"),c="")}function f(){c+=i}for(;st.length?t.length===1&&t[0]===Gt.Static+Gt.Segment?1:-1:0}function Pv(e,t){let n=0;const o=e.score,u=t.score;for(;n0&&t[t.length-1]<0}const UD={strict:!1,end:!0,sensitive:!1};function HD(e,t,n){const o=VD($D(e.path),n),u=Xe(o,{record:e,parent:t,children:[],alias:[]});return t&&!u.record.aliasOf==!t.record.aliasOf&&t.children.push(u),u}function KD(e,t){const n=[],o=new Map;t=Fp(UD,t);function u(d){return o.get(d)}function r(d,f,p){const m=!p,g=jp(d);g.aliasOf=p&&p.record;const E=Fp(t,d),b=[g];if("alias"in d){const C=typeof d.alias=="string"?[d.alias]:d.alias;for(const x of C)b.push(jp(Xe({},g,{components:p?p.record.components:g.components,path:x,aliasOf:p?p.record:g})))}let y,v;for(const C of b){const{path:x}=C;if(f&&x[0]!=="/"){const w=f.record.path,B=w[w.length-1]==="/"?"":"/";C.path=f.record.path+(x&&B+x)}if(y=HD(C,f,E),p?p.alias.push(y):(v=v||y,v!==y&&v.alias.push(y),m&&d.name&&!Vp(y)&&a(d.name)),Mv(y)&&i(y),g.children){const w=g.children;for(let B=0;B{a(v)}:ua}function a(d){if(Tv(d)){const f=o.get(d);f&&(o.delete(d),n.splice(n.indexOf(f),1),f.children.forEach(a),f.alias.forEach(a))}else{const f=n.indexOf(d);f>-1&&(n.splice(f,1),d.record.name&&o.delete(d.record.name),d.children.forEach(a),d.alias.forEach(a))}}function s(){return n}function i(d){const f=YD(d,n);n.splice(f,0,d),d.record.name&&!Vp(d)&&o.set(d.record.name,d)}function c(d,f){let p,m={},g,E;if("name"in d&&d.name){if(p=o.get(d.name),!p)throw ar(gt.MATCHER_NOT_FOUND,{location:d});E=p.record.name,m=Xe(Np(f.params,p.keys.filter(v=>!v.optional).concat(p.parent?p.parent.keys.filter(v=>v.optional):[]).map(v=>v.name)),d.params&&Np(d.params,p.keys.map(v=>v.name))),g=p.stringify(m)}else if(d.path!=null)g=d.path,p=n.find(v=>v.re.test(g)),p&&(m=p.parse(g),E=p.record.name);else{if(p=f.name?o.get(f.name):n.find(v=>v.re.test(f.path)),!p)throw ar(gt.MATCHER_NOT_FOUND,{location:d,currentLocation:f});E=p.record.name,m=Xe({},f.params,d.params),g=p.stringify(m)}const b=[];let y=p;for(;y;)b.unshift(y.record),y=y.parent;return{name:E,path:g,params:m,matched:b,meta:GD(b)}}e.forEach(d=>r(d));function l(){n.length=0,o.clear()}return{addRoute:r,resolve:c,removeRoute:a,clearRoutes:l,getRoutes:s,getRecordMatcher:u}}function Np(e,t){const n={};for(const o of t)o in e&&(n[o]=e[o]);return n}function jp(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:WD(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}};return Object.defineProperty(t,"mods",{value:{}}),t}function WD(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const o in e.components)t[o]=typeof n=="object"?n[o]:n;return t}function Vp(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function GD(e){return e.reduce((t,n)=>Xe(t,n.meta),{})}function YD(e,t){let n=0,o=t.length;for(;n!==o;){const r=n+o>>1;Pv(e,t[r])<0?o=r:n=r+1}const u=ZD(e);return u&&(o=t.lastIndexOf(u,o-1)),o}function ZD(e){let t=e;for(;t=t.parent;)if(Mv(t)&&Pv(e,t)===0)return t}function Mv({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function zp(e){const t=Ve(cd),n=Ve(dd),o=S(()=>{const i=h(e.to);return t.resolve(i)}),u=S(()=>{const{matched:i}=o.value,{length:c}=i,l=i[c-1],d=n.matched;if(!l||!d.length)return-1;const f=d.findIndex(sr.bind(null,l));if(f>-1)return f;const p=Up(i[c-2]);return c>1&&Up(l)===p&&d[d.length-1].path!==p?d.findIndex(sr.bind(null,i[c-2])):f}),r=S(()=>u.value>-1&&t9(n.params,o.value.params)),a=S(()=>u.value>-1&&u.value===n.matched.length-1&&Sv(n.params,o.value.params));function s(i={}){if(e9(i)){const c=t[h(e.replace)?"replace":"push"](h(e.to)).catch(ua);return e.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>c),c}return Promise.resolve()}return{route:o,href:S(()=>o.value.href),isActive:r,isExactActive:a,navigate:s}}function XD(e){return e.length===1?e[0]:e}const JD=N({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"},viewTransition:Boolean},useLink:zp,setup(e,{slots:t}){const n=Tt(zp(e)),{options:o}=Ve(cd),u=S(()=>({[Hp(e.activeClass,o.linkActiveClass,"router-link-active")]:n.isActive,[Hp(e.exactActiveClass,o.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const r=t.default&&XD(t.default(n));return e.custom?r:ze("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:u.value},r)}}}),QD=JD;function e9(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function t9(e,t){for(const n in t){const o=t[n],u=e[n];if(typeof o=="string"){if(o!==u)return!1}else if(!Nn(u)||u.length!==o.length||o.some((r,a)=>r.valueOf()!==u[a].valueOf()))return!1}return!0}function Up(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Hp=(e,t,n)=>e??t??n,n9=N({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const o=Ve(Ic),u=S(()=>e.route||o.value),r=Ve(Pp,0),a=S(()=>{let c=h(r);const{matched:l}=u.value;let d;for(;(d=l[c])&&!d.components;)c++;return c}),s=S(()=>u.value.matched[a.value]);St(Pp,S(()=>a.value+1)),St(Qx,s),St(Ic,u);const i=L();return Ce(()=>[i.value,s.value,e.name],([c,l,d],[f,p,m])=>{l&&(l.instances[d]=c,p&&p!==l&&c&&c===f&&(l.leaveGuards.size||(l.leaveGuards=p.leaveGuards),l.updateGuards.size||(l.updateGuards=p.updateGuards))),c&&l&&(!p||!sr(l,p)||!f)&&(l.enterCallbacks[d]||[]).forEach(g=>g(c))},{flush:"post"}),()=>{const c=u.value,l=e.name,d=s.value,f=d&&d.components[l];if(!f)return Kp(n.default,{Component:f,route:c});const p=d.props[l],m=p?p===!0?c.params:typeof p=="function"?p(c):p:null,E=ze(f,Xe({},m,t,{onVnodeUnmounted:b=>{b.component.isUnmounted&&(d.instances[l]=null)},ref:i}));return Kp(n.default,{Component:E,route:c})||E}}});function Kp(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const Ov=n9;function o9(e){const t=KD(e.routes,e),n=e.parseQuery||TD,o=e.stringifyQuery||Ip,u=e.history,r=Lr(),a=Lr(),s=Lr(),i=$e(An);let c=An;Vu&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const l=Tl.bind(null,U=>""+U),d=Tl.bind(null,mD),f=Tl.bind(null,ba);function p(U,ie){let ee,ye;return Tv(U)?(ee=t.getRecordMatcher(U),ye=ie):ye=U,t.addRoute(ye,ee)}function m(U){const ie=t.getRecordMatcher(U);ie&&t.removeRoute(ie)}function g(){return t.getRoutes().map(U=>U.record)}function E(U){return!!t.getRecordMatcher(U)}function b(U,ie){if(ie=Xe({},ie||i.value),typeof U=="string"){const P=Fl(n,U,ie.path),$=t.resolve({path:P.path},ie),J=u.createHref(P.fullPath);return Xe(P,$,{params:f($.params),hash:ba(P.hash),redirectedFrom:void 0,href:J})}let ee;if(U.path!=null)ee=Xe({},U,{path:Fl(n,U.path,ie.path).path});else{const P=Xe({},U.params);for(const $ in P)P[$]==null&&delete P[$];ee=Xe({},U,{params:d(P)}),ie.params=d(ie.params)}const ye=t.resolve(ee,ie),_e=U.hash||"";ye.params=l(f(ye.params));const Ue=yD(o,Xe({},U,{hash:fD(_e),path:ye.path})),A=u.createHref(Ue);return Xe({fullPath:Ue,hash:_e,query:o===Ip?FD(U.query):U.query||{}},ye,{redirectedFrom:void 0,href:A})}function y(U){return typeof U=="string"?Fl(n,U,i.value.path):Xe({},U)}function v(U,ie){if(c!==U)return ar(gt.NAVIGATION_CANCELLED,{from:ie,to:U})}function C(U){return B(U)}function x(U){return C(Xe(y(U),{replace:!0}))}function w(U,ie){const ee=U.matched[U.matched.length-1];if(ee&&ee.redirect){const{redirect:ye}=ee;let _e=typeof ye=="function"?ye(U,ie):ye;return typeof _e=="string"&&(_e=_e.includes("?")||_e.includes("#")?_e=y(_e):{path:_e},_e.params={}),Xe({query:U.query,hash:U.hash,params:_e.path!=null?{}:U.params},_e)}}function B(U,ie){const ee=c=b(U),ye=i.value,_e=U.state,Ue=U.force,A=U.replace===!0,P=w(ee,ye);if(P)return B(Xe(y(P),{state:typeof P=="object"?Xe({},_e,P.state):_e,force:Ue,replace:A}),ie||ee);const $=ee;$.redirectedFrom=ie;let J;return!Ue&&bD(o,ye,ee)&&(J=ar(gt.NAVIGATION_DUPLICATED,{to:$,from:ye}),Ke(ye,ye,!0,!1)),(J?Promise.resolve(J):R($,ye)).catch(K=>co(K)?co(K,gt.NAVIGATION_GUARD_REDIRECT)?K:se(K):V(K,$,ye)).then(K=>{if(K){if(co(K,gt.NAVIGATION_GUARD_REDIRECT))return B(Xe({replace:A},y(K.to),{state:typeof K.to=="object"?Xe({},_e,K.to.state):_e,force:Ue}),ie||$)}else K=q($,ye,!0,A,_e);return Z($,ye,K),K})}function _(U,ie){const ee=v(U,ie);return ee?Promise.reject(ee):Promise.resolve()}function F(U){const ie=ct.values().next().value;return ie&&typeof ie.runWithContext=="function"?ie.runWithContext(U):U()}function R(U,ie){let ee;const[ye,_e,Ue]=PD(U,ie);ee=Ml(ye.reverse(),"beforeRouteLeave",U,ie);for(const P of ye)P.leaveGuards.forEach($=>{ee.push(zo($,U,ie))});const A=_.bind(null,U,ie);return ee.push(A),Pe(ee).then(()=>{ee=[];for(const P of r.list())ee.push(zo(P,U,ie));return ee.push(A),Pe(ee)}).then(()=>{ee=Ml(_e,"beforeRouteUpdate",U,ie);for(const P of _e)P.updateGuards.forEach($=>{ee.push(zo($,U,ie))});return ee.push(A),Pe(ee)}).then(()=>{ee=[];for(const P of Ue)if(P.beforeEnter)if(Nn(P.beforeEnter))for(const $ of P.beforeEnter)ee.push(zo($,U,ie));else ee.push(zo(P.beforeEnter,U,ie));return ee.push(A),Pe(ee)}).then(()=>(U.matched.forEach(P=>P.enterCallbacks={}),ee=Ml(Ue,"beforeRouteEnter",U,ie,F),ee.push(A),Pe(ee))).then(()=>{ee=[];for(const P of a.list())ee.push(zo(P,U,ie));return ee.push(A),Pe(ee)}).catch(P=>co(P,gt.NAVIGATION_CANCELLED)?P:Promise.reject(P))}function Z(U,ie,ee){s.list().forEach(ye=>F(()=>ye(U,ie,ee)))}function q(U,ie,ee,ye,_e){const Ue=v(U,ie);if(Ue)return Ue;const A=ie===An,P=Vu?history.state:{};ee&&(ye||A?u.replace(U.fullPath,Xe({scroll:A&&P&&P.scroll},_e)):u.push(U.fullPath,_e)),i.value=U,Ke(U,ie,ee,A),se()}let Q;function X(){Q||(Q=u.listen((U,ie,ee)=>{if(!Te.listening)return;const ye=b(U),_e=w(ye,Te.currentRoute.value);if(_e){B(Xe(_e,{replace:!0,force:!0}),ye).catch(ua);return}c=ye;const Ue=i.value;Vu&&_D(Rp(Ue.fullPath,ee.delta),Yi()),R(ye,Ue).catch(A=>co(A,gt.NAVIGATION_ABORTED|gt.NAVIGATION_CANCELLED)?A:co(A,gt.NAVIGATION_GUARD_REDIRECT)?(B(Xe(y(A.to),{force:!0}),ye).then(P=>{co(P,gt.NAVIGATION_ABORTED|gt.NAVIGATION_DUPLICATED)&&!ee.delta&&ee.type===qc.pop&&u.go(-1,!1)}).catch(ua),Promise.reject()):(ee.delta&&u.go(-ee.delta,!1),V(A,ye,Ue))).then(A=>{A=A||q(ye,Ue,!1),A&&(ee.delta&&!co(A,gt.NAVIGATION_CANCELLED)?u.go(-ee.delta,!1):ee.type===qc.pop&&co(A,gt.NAVIGATION_ABORTED|gt.NAVIGATION_DUPLICATED)&&u.go(-1,!1)),Z(ye,Ue,A)}).catch(ua)}))}let I=Lr(),O=Lr(),H;function V(U,ie,ee){se(U);const ye=O.list();return ye.length?ye.forEach(_e=>_e(U,ie,ee)):console.error(U),Promise.reject(U)}function fe(){return H&&i.value!==An?Promise.resolve():new Promise((U,ie)=>{I.add([U,ie])})}function se(U){return H||(H=!U,X(),I.list().forEach(([ie,ee])=>U?ee(U):ie()),I.reset()),U}function Ke(U,ie,ee,ye){const{scrollBehavior:_e}=e;if(!Vu||!_e)return Promise.resolve();const Ue=!ee&&kD(Rp(U.fullPath,0))||(ye||!ee)&&history.state&&history.state.scroll||null;return He().then(()=>_e(U,ie,Ue)).then(A=>A&&BD(A)).catch(A=>V(A,U,ie))}const Re=U=>u.go(U);let ot;const ct=new Set,Te={currentRoute:i,listening:!0,addRoute:p,removeRoute:m,clearRoutes:t.clearRoutes,hasRoute:E,getRoutes:g,resolve:b,options:e,push:C,replace:x,go:Re,back:()=>Re(-1),forward:()=>Re(1),beforeEach:r.add,beforeResolve:a.add,afterEach:s.add,onError:O.add,isReady:fe,install(U){U.component("RouterLink",QD),U.component("RouterView",Ov),U.config.globalProperties.$router=Te,Object.defineProperty(U.config.globalProperties,"$route",{enumerable:!0,get:()=>h(i)}),Vu&&!ot&&i.value===An&&(ot=!0,C(u.location).catch(ye=>{}));const ie={};for(const ye in An)Object.defineProperty(ie,ye,{get:()=>i.value[ye],enumerable:!0});U.provide(cd,Te),U.provide(dd,Bn(ie)),U.provide(Ic,i);const ee=U.unmount;ct.add(U),U.unmount=function(){ct.delete(U),ct.size<1&&(c=An,Q&&Q(),Q=null,i.value=An,ot=!1,H=!1),ee()}}};function Pe(U){return U.reduce((ie,ee)=>ie.then(()=>F(ee)),Promise.resolve())}return Te}const u9=/(:\w+)\([^)]+\)/g,r9=/(:\w+)[?+*]/g,a9=/:\w+/g,s9=(e,t)=>t.path.replace(u9,"$1").replace(r9,"$1").replace(a9,n=>e.params[n.slice(1)]?.toString()||""),Nc=(e,t)=>{const n=e.route.matched.find(u=>u.components?.default===e.Component.type),o=t??n?.meta.key??(n&&s9(e.route,n));return typeof o=="function"?o(e.route):o},i9=(e,t)=>({default:()=>e?ze(o2,e===!0?{}:e,t):t});function Rv(e){return Array.isArray(e)?e:[e]}const l9="modulepreload",c9=function(e,t){return new URL(e,t).href},Wp={},te=function(t,n,o){let u=Promise.resolve();if(n&&n.length>0){let c=function(l){return Promise.all(l.map(d=>Promise.resolve(d).then(f=>({status:"fulfilled",value:f}),f=>({status:"rejected",reason:f}))))};const a=document.getElementsByTagName("link"),s=document.querySelector("meta[property=csp-nonce]"),i=s?.nonce||s?.getAttribute("nonce");u=c(n.map(l=>{if(l=c9(l,o),l in Wp)return;Wp[l]=!0;const d=l.endsWith(".css"),f=d?'[rel="stylesheet"]':"";if(o)for(let m=a.length-1;m>=0;m--){const g=a[m];if(g.href===l&&(!d||g.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${l}"]${f}`))return;const p=document.createElement("link");if(p.rel=d?"stylesheet":l9,d||(p.as="script"),p.crossOrigin="",p.href=l,i&&p.setAttribute("nonce",i),document.head.appendChild(p),d)return new Promise((m,g)=>{p.addEventListener("load",m),p.addEventListener("error",()=>g(new Error(`Unable to preload CSS for ${l}`)))})}))}function r(a){const s=new Event("vite:preloadError",{cancelable:!0});if(s.payload=a,window.dispatchEvent(s),!s.defaultPrevented)throw a}return u.then(a=>{for(const s of a||[])s.status==="rejected"&&r(s.reason);return t().catch(r)})},d9={layout:"docs"},Ol=[{name:"lang-slug",path:"/:lang?/:slug(.*)*",meta:d9||{},component:()=>te(()=>import("./Cs5chWOM.js"),__vite__mapDeps([0,1,2,3,4]),import.meta.url)},{name:"index",path:"/",component:()=>te(()=>import("./ddqIpjjP.js"),__vite__mapDeps([5,2,3]),import.meta.url)}],Iv=(e,t)=>({default:()=>e?ze(X2,e===!0?{}:e,t):t.default?.()}),f9=/(:\w+)\([^)]+\)/g,p9=/(:\w+)[?+*]/g,h9=/:\w+/g;function Gp(e){const t=e?.meta.key??e.path.replace(f9,"$1").replace(p9,"$1").replace(h9,n=>e.params[n.slice(1)]?.toString()||"");return typeof t=="function"?t(e):t}function m9(e,t){return e===t||t===An?!1:Gp(e)!==Gp(t)?!0:!e.matched.every((o,u)=>o.components&&o.components.default===t.matched[u]?.components?.default)}function Yp(e){return Array.isArray(e)?e:[e]}function Lv(e){const t=[];for(const n of e)n&&t.push({...n,onAfterLeave:n.onAfterLeave?Yp(n.onAfterLeave):void 0,onBeforeLeave:n.onBeforeLeave?Yp(n.onBeforeLeave):void 0});return Ot(...t)}const g9={scrollBehavior(e,t,n){const o=Ie(),u=Ut().options?.scrollBehaviorType??"auto";return e.path.replace(/\/$/,"")===t.path.replace(/\/$/,"")?t.hash&&!e.hash?{left:0,top:0}:e.hash?{el:e.hash,top:qv(e.hash),behavior:u}:!1:(typeof e.meta.scrollToTop=="function"?e.meta.scrollToTop(e,t):e.meta.scrollToTop)===!1?!1:t===An?Zp(e,t,n,u):new Promise(a=>{const s=()=>{requestAnimationFrame(()=>a(Zp(e,t,n,u)))};o.hooks.hookOnce("page:loading:end",()=>{const i=o["~transitionPromise"];i?i.then(s):s()})})}};function qv(e){try{const t=document.querySelector(e);if(t)return(Number.parseFloat(getComputedStyle(t).scrollMarginTop)||0)+(Number.parseFloat(getComputedStyle(document.documentElement).scrollPaddingTop)||0)}catch{}return 0}function Zp(e,t,n,o){if(n)return n;const u=m9(e,t);return e.hash?{el:e.hash,top:qv(e.hash),behavior:u?o:"instant"}:{left:0,top:0}}const v9={hashMode:!1,scrollBehaviorType:"auto"},Io={...v9,...g9},y9=async(e,t)=>{let n,o;if(!e.meta?.validate)return;const u=([n,o]=Eu(()=>Promise.resolve(e.meta.validate(e))),n=await n,o(),n);if(u===!0)return;const r=Yo({fatal:!0,status:u&&(u.status||u.statusCode)||404,statusText:u&&(u.statusText||u.statusMessage)||`Page Not Found: ${e.fullPath}`,data:{path:e.fullPath}});return typeof window<"u"&&window.history.pushState({},"",t.fullPath),r},b9=e=>{const t=Gi({path:e.path});if(t.redirect){const n=t.redirect.includes("#")?t.redirect:t.redirect+e.hash;return Tn(n,{acceptRelative:!0})?(window.location.href=n,!1):n}},E9=[y9,b9],jc={};function C9(e,t,n){const{pathname:o,search:u,hash:r}=t,a=e.indexOf("#");if(a>-1){const c=r.includes(e.slice(a))?e.slice(a).length:1;let l=r.slice(c);return l[0]!=="/"&&(l="/"+l),pp(l,"")}const s=pp(o,e),i=!n||j3(s,n)?s:n;return i+(i.includes("?")?"":u)+r}const x9=tn({name:"nuxt:router",enforce:"pre",async setup(e){let t,n,o=Qt().app.baseURL;const u=Io.history?.(o)??ID(o),r=Io.routes?([t,n]=Eu(()=>Io.routes(Ol)),t=await t,n(),t??Ol):Ol;let a;const s=o9({...Io,scrollBehavior:(b,y,v)=>{if(y===An){a=v;return}if(Io.scrollBehavior){if(s.options.scrollBehavior=Io.scrollBehavior,"scrollRestoration"in window.history){const C=s.beforeEach(()=>{C(),window.history.scrollRestoration="manual"})}return Io.scrollBehavior(b,An,a||v)}},history:u,routes:r});"scrollRestoration"in window.history&&(window.history.scrollRestoration="auto"),e.vueApp.use(s);const i=$e(s.currentRoute.value);s.afterEach((b,y)=>{i.value=y}),Object.defineProperty(e.vueApp.config.globalProperties,"previousRoute",{get:()=>i.value});const c=C9(o,window.location,e.payload.path),l=$e(s.currentRoute.value),d=()=>{l.value=s.currentRoute.value};s.afterEach((b,y)=>{b.matched.at(-1)?.components?.default===y.matched.at(-1)?.components?.default&&d()});const f={sync:d};for(const b in l.value)Object.defineProperty(f,b,{get:()=>l.value[b],enumerable:!0});e._route=Bn(f),e._middleware||={global:[],named:{}};const p=Wi();s.afterEach(async(b,y,v)=>{delete e._processingMiddleware,!e.isHydrating&&p.value&&await e.runWithContext(nv),v&&await e.callHook("page:loading:end")});try{[t,n]=Eu(()=>s.isReady()),await t,n()}catch(b){[t,n]=Eu(()=>e.runWithContext(()=>du(b))),await t,n()}const m=c!==s.currentRoute.value.fullPath?s.resolve(c):s.currentRoute.value,g=e.isHydrating&&e.payload.prerenderedAt&&e.payload.path&&c!==e.payload.path&&j3(s.currentRoute.value.path,e.payload.path);d();const E=e.payload.state._layout;return s.beforeEach(async(b,y)=>{await e.callHook("page:loading:start"),b.meta=Tt(b.meta),e.isHydrating&&E&&!uo(b.meta.layout)&&(b.meta.layout=E),e._processingMiddleware=!0;{const v=new Set([...E9,...e._middleware.global]);for(const x of b.matched){const w=x.meta.middleware;if(w)for(const B of Rv(w))v.add(B)}const C=Gi({path:b.path});if(C.appMiddleware)for(const x in C.appMiddleware)C.appMiddleware[x]?v.add(x):v.delete(x);for(const x of v){const w=typeof x=="string"?e._middleware.named[x]||await jc[x]?.().then(B=>B.default||B):x;if(!w)throw new Error(`Unknown route middleware: '${x}'.`);try{const B=await e.runWithContext(()=>w(b,y));if(!e.payload.serverRendered&&e.isHydrating&&(B===!1||B instanceof Error)){const _=B||Yo({status:404,statusText:`Page Not Found: ${c}`});return await e.runWithContext(()=>du(_)),!1}if(B===!0)continue;if(B===!1)return B;if(B)return ov(B)&&B.fatal&&await e.runWithContext(()=>du(B)),B}catch(B){const _=Yo(B);return _.fatal&&await e.runWithContext(()=>du(_)),_}}}}),s.onError(async()=>{delete e._processingMiddleware,await e.callHook("page:loading:end")}),s.afterEach(b=>{if(b.matched.length===0&&!p.value)return e.runWithContext(()=>du(Yo({status:404,fatal:!1,statusText:`Page not found: ${b.fullPath}`,data:{path:b.fullPath}})))}),e.hooks.hookOnce("app:created",async()=>{try{if("name"in m&&(m.name=void 0),g){const b=s.resolve(e.payload.path);"name"in b&&(b.name=void 0),await s.replace({...b,force:!0}),e.hooks.hookOnce("app:suspense:resolve",async()=>{await s.replace({...m,force:!0})})}else await s.replace({...m,force:!0});s.options.scrollBehavior=Io.scrollBehavior}catch(b){await e.runWithContext(()=>du(b))}}),{provide:{router:s}}}});function si(e){return typeof e=="string"?`'${e}'`:new D9().serialize(e)}const D9=(function(){class e{#e=new Map;compare(n,o){const u=typeof n,r=typeof o;return u==="string"&&r==="string"?n.localeCompare(o):u==="number"&&r==="number"?n-o:String.prototype.localeCompare.call(this.serialize(n,!0),this.serialize(o,!0))}serialize(n,o){if(n===null)return"null";switch(typeof n){case"string":return o?n:`'${n}'`;case"bigint":return`${n}n`;case"object":return this.$object(n);case"function":return this.$function(n)}return String(n)}serializeObject(n){const o=Object.prototype.toString.call(n);if(o!=="[object Object]")return this.serializeBuiltInType(o.length<10?`unknown:${o}`:o.slice(8,-1),n);const u=n.constructor,r=u===Object||u===void 0?"":u.name;if(r!==""&&globalThis[r]===u)return this.serializeBuiltInType(r,n);if(typeof n.toJSON=="function"){const a=n.toJSON();return r+(a!==null&&typeof a=="object"?this.$object(a):`(${this.serialize(a)})`)}return this.serializeObjectEntries(r,Object.entries(n))}serializeBuiltInType(n,o){const u=this["$"+n];if(u)return u.call(this,o);if(typeof o?.entries=="function")return this.serializeObjectEntries(n,o.entries());throw new Error(`Cannot serialize ${n}`)}serializeObjectEntries(n,o){const u=Array.from(o).sort((a,s)=>this.compare(a[0],s[0]));let r=`${n}{`;for(let a=0;athis.compare(o,u)))}`}$Map(n){return this.serializeObjectEntries("Map",n.entries())}}for(const t of["Error","RegExp","URL"])e.prototype["$"+t]=function(n){return`${t}(${n})`};for(const t of["Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Uint16Array","Int32Array","Uint32Array","Float32Array","Float64Array"])e.prototype["$"+t]=function(n){return`${t}[${n.join(",")}]`};for(const t of["BigInt64Array","BigUint64Array"])e.prototype["$"+t]=function(n){return`${t}[${n.join("n,")}${n.length>0?"n":""}]`};return e})();function Bu(e,t){return e===t||si(e)===si(t)}const w9=[1779033703,-1150833019,1013904242,-1521486534,1359893119,-1694144372,528734635,1541459225],A9=[1116352408,1899447441,-1245643825,-373957723,961987163,1508970993,-1841331548,-1424204075,-670586216,310598401,607225278,1426881987,1925078388,-2132889090,-1680079193,-1046744716,-459576895,-272742522,264347078,604807628,770255983,1249150122,1555081692,1996064986,-1740746414,-1473132947,-1341970488,-1084653625,-958395405,-710438585,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,-2117940946,-1838011259,-1564481375,-1474664885,-1035236496,-949202525,-778901479,-694614492,-200395387,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,-2067236844,-1933114872,-1866530822,-1538233109,-1090935817,-965641998],B9="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_",au=[];class _9{_data=new ss;_hash=new ss([...w9]);_nDataBytes=0;_minBufferSize=0;finalize(t){t&&this._append(t);const n=this._nDataBytes*8,o=this._data.sigBytes*8;return this._data.words[o>>>5]|=128<<24-o%32,this._data.words[(o+64>>>9<<4)+14]=Math.floor(n/4294967296),this._data.words[(o+64>>>9<<4)+15]=n,this._data.sigBytes=this._data.words.length*4,this._process(),this._hash}_doProcessBlock(t,n){const o=this._hash.words;let u=o[0],r=o[1],a=o[2],s=o[3],i=o[4],c=o[5],l=o[6],d=o[7];for(let f=0;f<64;f++){if(f<16)au[f]=t[n+f]|0;else{const v=au[f-15],C=(v<<25|v>>>7)^(v<<14|v>>>18)^v>>>3,x=au[f-2],w=(x<<15|x>>>17)^(x<<13|x>>>19)^x>>>10;au[f]=C+au[f-7]+w+au[f-16]}const p=i&c^~i&l,m=u&r^u&a^r&a,g=(u<<30|u>>>2)^(u<<19|u>>>13)^(u<<10|u>>>22),E=(i<<26|i>>>6)^(i<<21|i>>>11)^(i<<7|i>>>25),b=d+E+p+A9[f]+au[f],y=g+m;d=l,l=c,c=i,i=s+b|0,s=a,a=r,r=u,u=b+y|0}o[0]=o[0]+u|0,o[1]=o[1]+r|0,o[2]=o[2]+a|0,o[3]=o[3]+s|0,o[4]=o[4]+i|0,o[5]=o[5]+c|0,o[6]=o[6]+l|0,o[7]=o[7]+d|0}_append(t){typeof t=="string"&&(t=ss.fromUtf8(t)),this._data.concat(t),this._nDataBytes+=t.sigBytes}_process(t){let n,o=this._data.sigBytes/64;t?o=Math.ceil(o):o=Math.max((o|0)-this._minBufferSize,0);const u=o*16,r=Math.min(u*4,this._data.sigBytes);if(u){for(let a=0;a>>2]|=(n.charCodeAt(r)&255)<<24-r%4*8;return new $v(u,o)}toBase64(){const t=[];for(let n=0;n>>2]>>>24-n%4*8&255,u=this.words[n+1>>>2]>>>24-(n+1)%4*8&255,r=this.words[n+2>>>2]>>>24-(n+2)%4*8&255,a=o<<16|u<<8|r;for(let s=0;s<4&&n*8+s*6>>6*(3-s)&63))}return t.join("")}concat(t){if(this.words[this.sigBytes>>>2]&=4294967295<<32-this.sigBytes%4*8,this.words.length=Math.ceil(this.sigBytes/4),this.sigBytes%4)for(let n=0;n>>2]>>>24-n%4*8&255;this.words[this.sigBytes+n>>>2]|=o<<24-(this.sigBytes+n)%4*8}else for(let n=0;n>>2]=t.words[n>>>2];this.sigBytes+=t.sigBytes}};function k9(e){return new _9().finalize(e).toBase64()}function zu(e){return k9(si(e))}const Nv=Symbol.for("nuxt:client-only"),pd=N({name:"ClientOnly",inheritAttrs:!1,props:["fallback","placeholder","placeholderTag","fallbackTag"],setup(e,{slots:t,attrs:n}){const o=$e(!1);je(()=>{o.value=!0});const u=et();return u&&(u._nuxtClientOnly=!0),St(Nv,!0),()=>{if(o.value){const i=t.default?.();return i&&i.length===1?[Sn(i[0],n)]:i}const r=t.fallback||t.placeholder;if(r)return ze(r);const a=e.fallback||e.placeholder||"",s=e.fallbackTag||e.placeholderTag||"span";return le(s,n,a)}}}),Vc=globalThis.requestIdleCallback||(e=>{const t=Date.now(),n={didTimeout:!1,timeRemaining:()=>Math.max(0,50-(Date.now()-t))};return setTimeout(()=>{e(n)},1)}),S9=globalThis.cancelIdleCallback||(e=>{clearTimeout(e)}),Zi=e=>{const t=Ie();t.isHydrating?t.hooks.hookOnce("app:suspense:resolve",()=>{Vc(()=>e())}):Vc(()=>e())};function jv(e){return Object.defineProperty(function(){throw new Error(`[nuxt] \`${e.name}\` is a compiler macro and cannot be called at runtime.`)},"__nuxt_factory",{enumerable:!1,get:()=>e.factory})}const Vv=jv({name:"createUseAsyncData",factory(e={}){function t(...n){const o=typeof n[n.length-1]=="string"?n.pop():void 0;T9(n[0],n[1])&&n.unshift(o);let[u,r,a={}]=n,s=!1;const i=S(()=>Be(u));if(typeof i.value!="string")throw new TypeError("[nuxt] [useAsyncData] key must be a string.");if(typeof r!="function")throw new TypeError("[nuxt] [useAsyncData] handler must be a function.");const c=typeof e=="function",l=Ie(),d=c?e(a):e;if(!c)for(const y in d)d[y]!==void 0&&a[y]===void 0&&(a[y]=d[y]);if(a.server??=!0,a.default??=P9,a.getCachedData??=Hv,a.lazy??=!1,a.immediate??=!0,a.deep??=L5.deep,a.dedupe??="cancel",c)for(const y in d)d[y]!==void 0&&(a[y]=d[y]);l._asyncData[i.value];function f(){const y={cause:"initial",dedupe:a.dedupe};return l._asyncData[i.value]?._init||(y.cachedData=a.getCachedData(i.value,l,{cause:"initial"}),l._asyncData[i.value]=Xp(l,i.value,r,a,y.cachedData)),()=>l._asyncData[i.value].execute(y)}const p=f(),m=l._asyncData[i.value];m._deps++;const g=a.server!==!1&&l.payload.serverRendered;{let y=function(_){const F=l._asyncData[_];F?._deps&&(F._deps--,F._deps===0&&F?._off())};const v=et();if(v&&g&&a.immediate&&!v.sp&&(v.sp=[]),v&&!v._nuxtOnBeforeMountCbs){v._nuxtOnBeforeMountCbs=[];const _=v._nuxtOnBeforeMountCbs;ji(()=>{_.forEach(F=>{F()}),_.splice(0,_.length)}),en(()=>_.splice(0,_.length))}const C=v&&(v._nuxtClientOnly||Ve(Nv,!1));g&&l.isHydrating&&(m.error.value||m.data.value!==void 0)?m.status.value=m.error.value?"error":"success":v&&(!C&&l.payload.serverRendered&&l.isHydrating||a.lazy)&&a.immediate?v._nuxtOnBeforeMountCbs.push(p):a.immediate&&m.status.value!=="success"&&p();const x=So(),w=Ce(i,(_,F)=>{if((_||F)&&_!==F){s=!0;const R=l._asyncData[F]?.data.value!==void 0,Z=l._asyncDataPromises[F]!==void 0,q={cause:"initial",dedupe:a.dedupe};if(!l._asyncData[_]?._init){let Q;F&&R?Q=l._asyncData[F].data.value:(Q=a.getCachedData(_,l,{cause:"initial"}),q.cachedData=Q),l._asyncData[_]=Xp(l,_,r,a,Q)}l._asyncData[_]._deps++,F&&y(F),(a.immediate||R||Z)&&l._asyncData[_].execute(q),fa(()=>{s=!1})}},{flush:"sync"}),B=a.watch?Ce(a.watch,()=>{s||(l._asyncData[i.value]?._execute.isPending()&&fa(()=>{l._asyncData[i.value]?._execute.flush()}),l._asyncData[i.value]?._execute({cause:"watch",dedupe:a.dedupe}))}):()=>{};x&&xu(()=>{w(),B(),y(i.value)})}const E={data:is(()=>l._asyncData[i.value]?.data),pending:is(()=>l._asyncData[i.value]?.pending),status:is(()=>l._asyncData[i.value]?.status),error:is(()=>l._asyncData[i.value]?.error),refresh:(...y)=>l._asyncData[i.value]?._init?l._asyncData[i.value].execute(...y):f()(),execute:(...y)=>E.refresh(...y),clear:()=>{const y=l._asyncData[i.value];if(y?._abortController)try{y._abortController.abort(new DOMException("AsyncData aborted by user.","AbortError"))}finally{y._abortController=void 0}Uv(l,i.value)}},b=Promise.resolve(l._asyncDataPromises[i.value]).then(()=>E);return Object.assign(b,E),Object.defineProperties(b,{then:{enumerable:!0,value:b.then.bind(b)},catch:{enumerable:!0,value:b.catch.bind(b)},finally:{enumerable:!0,value:b.finally.bind(b)}}),b}return t}}),hd=Vv.__nuxt_factory(),zv=Vv.__nuxt_factory({lazy:!0,_functionName:"useLazyAsyncData"});function is(e){return S({get(){return e()?.value},set(t){const n=e();n&&(n.value=t)}})}function T9(e,t){return!(typeof e=="string"||typeof e=="object"&&e!==null||typeof e=="function"&&typeof t=="function")}function Uv(e,t){t in e.payload.data&&(e.payload.data[t]=void 0),t in e.payload._errors&&(e.payload._errors[t]=void 0),e._asyncData[t]&&(e._asyncData[t].data.value=h(e._asyncData[t]._default()),e._asyncData[t].error.value=void 0,e._asyncData[t].status.value="idle"),t in e._asyncDataPromises&&(e._asyncDataPromises[t]=void 0)}function F9(e,t){const n={};for(const o of t)n[o]=e[o];return n}function Xp(e,t,n,o,u){e.payload._errors[t]??=void 0;const r=o.getCachedData!==Hv,a=n,s=o.deep?L:$e,i=u!==void 0,c=e.hook("app:data:refresh",async d=>{(!d||d.includes(t))&&await l.execute({cause:"refresh:hook"})}),l={data:s(i?u:o.default()),pending:S(()=>l.status.value==="pending"),error:at(e.payload._errors,t),status:$e("idle"),execute:(...d)=>{const[f,p=void 0]=d,m=f&&p===void 0&&typeof f=="object"?f:{};if(e._asyncDataPromises[t]&&(m.dedupe??o.dedupe)==="defer")return e._asyncDataPromises[t];{const b="cachedData"in m?m.cachedData:o.getCachedData(t,e,{cause:m.cause??"refresh:manual"});if(b!==void 0)return e.payload.data[t]=l.data.value=b,l.error.value=void 0,l.status.value="success",Promise.resolve(b)}l._abortController&&l._abortController.abort(new DOMException("AsyncData request cancelled by deduplication","AbortError")),l._abortController=new AbortController,l.status.value="pending";const g=new AbortController,E=new Promise((b,y)=>{try{const v=m.timeout??o.timeout,C=M9([l._abortController?.signal,m?.signal],g.signal,v);if(C.aborted){const x=C.reason;y(x instanceof Error?x:new DOMException(String(x??"Aborted"),"AbortError"));return}return C.addEventListener("abort",()=>{const x=C.reason;y(x instanceof Error?x:new DOMException(String(x??"Aborted"),"AbortError"))},{once:!0,signal:g.signal}),Promise.resolve(a(e,{signal:C})).then(b,y)}catch(v){y(v)}}).then(async b=>{let y=b;o.transform&&(y=await o.transform(b)),o.pick&&(y=F9(y,o.pick)),e.payload.data[t]=y,l.data.value=y,l.error.value=void 0,l.status.value="success"}).catch(b=>{if(e._asyncDataPromises[t]&&e._asyncDataPromises[t]!==E||l._abortController?.signal.aborted)return e._asyncDataPromises[t];if(typeof DOMException<"u"&&b instanceof DOMException&&b.name==="AbortError")return l.status.value="idle",e._asyncDataPromises[t];l.error.value=Yo(b),l.data.value=h(o.default()),l.status.value="error"}).finally(()=>{g.abort(),delete e._asyncDataPromises[t]});return e._asyncDataPromises[t]=E,e._asyncDataPromises[t]},_execute:tD((...d)=>l.execute(...d),0,{leading:!0}),_default:o.default,_deps:0,_init:!0,_hash:void 0,_off:()=>{c(),e._asyncData[t]?._init&&(e._asyncData[t]._init=!1),r||He(()=>{e._asyncData[t]?._init||(Uv(e,t),l.execute=()=>Promise.resolve())})}};return l}const P9=()=>{},Hv=(e,t,n)=>{if(t.isHydrating)return t.payload.data[e];if(n.cause!=="refresh:manual"&&n.cause!=="refresh:hook")return t.static.data[e]};function M9(e,t,n){const o=e.filter(a=>!!a);if(typeof n=="number"&&n>=0){const a=AbortSignal.timeout?.(n);a&&o.push(a)}if(AbortSignal.any)return AbortSignal.any(o);const u=new AbortController;for(const a of o)if(a.aborted){const s=a.reason??new DOMException("Aborted","AbortError");try{u.abort(s)}catch{u.abort()}return u.signal}const r=()=>{const s=o.find(i=>i.aborted)?.reason??new DOMException("Aborted","AbortError");try{u.abort(s)}catch{u.abort()}};for(const a of o)a.addEventListener?.("abort",r,{once:!0,signal:t});return u.signal}const O9="$s";function Ho(...e){const t=typeof e[e.length-1]=="string"?e.pop():void 0;typeof e[0]!="string"&&e.unshift(t);const[n,o]=e;if(!n||typeof n!="string")throw new TypeError("[nuxt] [useState] key must be a string: "+n);if(o!==void 0&&typeof o!="function")throw new Error("[nuxt] [useState] init must be a function: "+o);const u=O9+n,r=Ie(),a=at(r.payload.state,u);if(o&&(r._state[u]??={_default:o}),a.value===void 0&&o){const s=o();if(nt(s))return r.payload.state[u]=s,s;a.value=s}return a}function R9(e){const t=[Be(e.method)?.toUpperCase()||"GET",Be(e.baseURL)];for(const n of[e.query||e.params]){const o=Be(n);if(!o)continue;const u={};for(const[r,a]of Object.entries(o))u[Be(r)]=Be(a);t.push(u)}if(e.body){const n=Be(e.body);if(!n)t.push(zu(n));else if(n instanceof ArrayBuffer)t.push(zu(Object.fromEntries([...new Uint8Array(n).entries()].map(([o,u])=>[o,u.toString()]))));else if(n instanceof FormData){const o={};for(const u of n.entries()){const[r,a]=u;o[r]=a instanceof File?a.name:a}t.push(zu(o))}else if($0(n))t.push(zu(Tt(n)));else try{t.push(zu(n))}catch{console.warn("[useFetch] Failed to hash body",n)}}return t}const Kv=jv({name:"createUseFetch",factory(e={}){function t(n,o,u){const[r={},a]=typeof o=="string"?[{},o]:[o,u],s=S(()=>Be(n)),i=S(()=>Be(r.key)||"$f"+zu([a,typeof s.value=="string"?s.value:"",...R9(r)]));if(!r.baseURL&&typeof s.value=="string"&&s.value[0]==="/"&&s.value[1]==="/")throw new Error('[nuxt] [useFetch] the request URL must not start with "//".');const c=typeof e=="function"?e(r):e,{server:l,lazy:d,default:f,transform:p,pick:m,watch:g,immediate:E,getCachedData:b,deep:y,dedupe:v,timeout:C,...x}={...typeof e=="function"?{}:c,...r,...typeof e=="function"?c:{}},w=Tt({...q5,...x,cache:typeof x.cache=="boolean"?void 0:x.cache}),B={server:l,lazy:d,default:f,transform:p,pick:m,immediate:E,getCachedData:b,deep:y,dedupe:v,timeout:C,watch:g===!1?[]:[...g||[],w]};return hd(g===!1?i.value:i,(F,{signal:R})=>(r.$fetch||globalThis.$fetch)(s.value,{signal:R,...w}),B)}return t}});Kv.__nuxt_factory();Kv.__nuxt_factory({lazy:!0,_functionName:"useLazyFetch"});function I9(e,t){if(typeof e!="string")throw new TypeError("argument str must be a string");const n={},o=t||{},u=o.decode||L9;let r=0;for(;rN9(decodeURIComponent(e)),encode:e=>{if(typeof e!="string"||e==="undefined")return encodeURIComponent(JSON.stringify(e));try{if(typeof JSON.parse(e)!="string")return encodeURIComponent(JSON.stringify(e))}catch{}return encodeURIComponent(e)},refresh:!1},cs=globalThis.cookieStore;function V9(e,t){const n={...j9,...t};n.filter??=c=>c===e;const o=Qp(n)||{};let u;n.maxAge!==void 0?u=n.maxAge*1e3:n.expires&&(u=n.expires.getTime()-Date.now());const r=u!==void 0&&u<=0,a=r||o[e]===void 0||o[e]===null,s=Mn(r?void 0:o[e]??n.default?.()),i=u&&!r?H9(s,u,n.watch&&n.watch!=="shallow"):L(s);{let c=null;try{!cs&&typeof BroadcastChannel<"u"&&(c=new BroadcastChannel(`nuxt:cookies:${e}`))}catch{}const l=(m=!1)=>{!m&&(n.readonly||Bu(i.value,o[e]))||(U9(e,i.value,n),o[e]=Mn(i.value),c?.postMessage({value:n.encode(i.value)}))},d=m=>{const g=m.refresh?Qp(n)?.[e]:n.decode(m.value);f=!0,i.value=g,o[e]=Mn(g),He(()=>{f=!1})};let f=!1;const p=!!So();if(p&&xu(()=>{f=!0,l(),c?.close()}),cs){const m=g=>{const E=g.changed.find(y=>y.name===e),b=g.deleted.find(y=>y.name===e);E&&d({value:E.value}),b&&d({value:null})};cs.addEventListener("change",m),p&&xu(()=>cs.removeEventListener("change",m))}else c&&(c.onmessage=({data:m})=>d(m));n.watch&&Ce(i,()=>{f||l(n.refresh)},{deep:n.watch!=="shallow"}),a&&l(a)}return i}function Qp(e={}){return I9(document.cookie,e)}function z9(e,t,n={}){return t==null?Jp(e,t,{...n,maxAge:-1}):Jp(e,t,n)}function U9(e,t,n={}){document.cookie=z9(e,t,n)}const eh=2147483647;function H9(e,t,n){let o,u,r=0;const a=n?L(e):{value:e};return So()&&xu(()=>{u?.(),clearTimeout(o)}),Ta((s,i)=>{n&&(u=Ce(a,i));function c(){const d=t-r,f=d{if(r+=f,r4)return Promise.all(u).then(()=>Wv(e,t));t._routePreloaded.add(n);for(const r of o){const a=r.components?.default;if(typeof a!="function")continue;const s=Promise.resolve(a()).catch(()=>{}).finally(()=>u.splice(u.indexOf(s),1));u.push(s)}await Promise.all(u)}function W9(e={}){const t=e.path||window.location.pathname;let n={};try{n=JSON.parse(sessionStorage.getItem("nuxt:reload")||"{}")}catch{}if(e.force||n?.path!==t||n?.expirese.find(t=>t!==void 0);function Y9(e){const t=e.componentName||"NuxtLink";function n(r){return typeof r=="string"&&r.startsWith("#")}function o(r,a,s){const i=s??e.trailingSlash;if(!r||i!=="append"&&i!=="remove")return r;if(typeof r=="string")return ds(r,i);const c="path"in r&&r.path!==void 0?r.path:a(r).path;return{...r,name:void 0,path:ds(c,i)}}function u(r){const a=Ut(),s=Qt(),i=S(()=>!!h(r.target)&&h(r.target)!=="_self"),c=S(()=>{const E=h(r.to)||h(r.href)||"";return typeof E=="string"&&Tn(E,{acceptRelative:!0})}),l=jf("RouterLink"),d=l&&typeof l!="string"?l.useLink:void 0,f=S(()=>{if(h(r.external))return!0;const E=h(r.to)||h(r.href)||"";return typeof E=="object"?!1:E===""||c.value}),p=S(()=>{const E=h(r.to)||h(r.href)||"";return f.value?E:o(E,a.resolve,h(r.trailingSlash))}),m=f.value?void 0:d?.({...r,to:p,viewTransition:h(r.viewTransition)}),g=S(()=>{const E=h(r.trailingSlash)??e.trailingSlash;if(!p.value||c.value||n(p.value))return p.value;if(f.value){const b=typeof p.value=="object"&&"path"in p.value?Pc(p.value):p.value,y=typeof b=="object"?a.resolve(b).href:b;return ds(y,E)}return typeof p.value=="object"?a.resolve(p.value)?.href??null:ds(Cr(s.app.baseURL,p.value),E)});return{to:p,hasTarget:i,isAbsoluteUrl:c,isExternal:f,href:g,isActive:m?.isActive??S(()=>p.value===a.currentRoute.value.path),isExactActive:m?.isExactActive??S(()=>p.value===a.currentRoute.value.path),route:m?.route??S(()=>a.resolve(p.value)),async navigate(E){await Ki(g.value,{replace:h(r.replace),external:f.value||i.value})}}}return N({name:t,props:{to:{type:[String,Object],default:void 0,required:!1},href:{type:[String,Object],default:void 0,required:!1},target:{type:String,default:void 0,required:!1},rel:{type:String,default:void 0,required:!1},noRel:{type:Boolean,default:void 0,required:!1},prefetch:{type:Boolean,default:void 0,required:!1},prefetchOn:{type:[String,Object],default:void 0,required:!1},noPrefetch:{type:Boolean,default:void 0,required:!1},activeClass:{type:String,default:void 0,required:!1},exactActiveClass:{type:String,default:void 0,required:!1},prefetchedClass:{type:String,default:void 0,required:!1},replace:{type:Boolean,default:void 0,required:!1},ariaCurrentValue:{type:String,default:void 0,required:!1},external:{type:Boolean,default:void 0,required:!1},custom:{type:Boolean,default:void 0,required:!1},trailingSlash:{type:String,default:void 0,required:!1}},useLink:u,setup(r,{slots:a}){const s=Ut(),{to:i,href:c,navigate:l,isExternal:d,hasTarget:f,isAbsoluteUrl:p}=u(r),m=$e(!1),g=L(null),E=v=>{g.value=r.custom?v?.$el?.nextElementSibling:v?.$el};function b(v){return!m.value&&(typeof r.prefetchOn=="string"?r.prefetchOn===v:r.prefetchOn?.[v]??e.prefetchOn?.[v])&&(r.prefetch??e.prefetch)!==!1&&r.noPrefetch!==!0&&r.target!=="_blank"&&!J9()}async function y(v=Ie()){if(m.value)return;m.value=!0;const C=typeof i.value=="string"?i.value:d.value?Pc(i.value):s.resolve(i.value).fullPath,x=d.value?new URL(C,window.location.href).href:C;await Promise.all([v.hooks.callHook("link:prefetch",x)?.catch(()=>{}),!d.value&&!f.value&&Wv(i.value,s).catch(()=>{})])}if(b("visibility")){const v=Ie();let C,x=null;je(()=>{const w=Z9();Zi(()=>{C=Vc(()=>{g?.value?.tagName&&(x=w.observe(g.value,async()=>{x?.(),x=null,await y(v)}))})})}),Fo(()=>{C&&S9(C),x?.(),x=null})}return()=>{if(!d.value&&!f.value&&!n(i.value)){const x={ref:E,to:i.value,activeClass:r.activeClass||e.activeClass,exactActiveClass:r.exactActiveClass||e.exactActiveClass,replace:r.replace,ariaCurrentValue:r.ariaCurrentValue,custom:r.custom};return r.custom||(b("interaction")&&(x.onPointerenter=y.bind(null,void 0),x.onFocus=y.bind(null,void 0)),m.value&&(x.class=r.prefetchedClass||e.prefetchedClass),x.rel=r.rel||void 0),ze(jf("RouterLink"),x,a.default)}const v=r.target||null,C=G9(r.noRel?"":r.rel,e.externalRelAttribute,p.value||f.value?"noopener noreferrer":"")||null;return r.custom?a.default?a.default({href:c.value,navigate:l,prefetch:y,get route(){if(!c.value)return;const x=new URL(c.value,window.location.href);return{path:x.pathname,fullPath:x.pathname,get query(){return td(x.search)},hash:x.hash,params:{},name:void 0,matched:[],redirectedFrom:void 0,meta:{},href:c.value}},rel:C,target:v,isExternal:d.value||f.value,isActive:!1,isExactActive:!1}):null:ze("a",{ref:g,href:c.value||null,rel:C,target:v,onClick:async x=>{if(!(d.value||f.value)){x.preventDefault();try{const w=ev(c.value);return await(r.replace?s.replace(w):s.push(w))}finally{if(n(i.value)){const w=i.value.slice(1);let B=w;try{B=decodeURIComponent(w)}catch{}document.getElementById(B)?.focus()}}}}},a.default?.())}}})}const Gv=Y9(I5);function ds(e,t){const n=t==="append"?nd:rr;return Tn(e)&&!e.startsWith("http")?e:n(e,!0)}function Z9(){const e=Ie();if(e._observer)return e._observer;let t=null;const n=new Map,o=(r,a)=>(t||=new IntersectionObserver(s=>{for(const i of s){const c=n.get(i.target);(i.isIntersecting||i.intersectionRatio>0)&&c&&c()}}),n.set(r,a),t.observe(r),()=>{n.delete(r),t?.unobserve(r),n.size===0&&(t?.disconnect(),t=null)});return e._observer={observe:o}}const X9=/2g/;function J9(){const e=navigator.connection;return!!(e&&(e.saveData||X9.test(e.effectiveType)))}const Q9={docus:{title:"Comments",description:"A full-featured commenting system for Filament panels with threaded replies, @mentions, emoji reactions, and real-time updates.",header:{logo:{alt:"Comments Logo"}}},seo:{title:"Comments",description:"A full-featured commenting system for Filament panels with threaded replies, @mentions, emoji reactions, and real-time updates."},github:{repo:"comments",owner:"Relaticle",edit:!0,rootDir:"docs"},socials:{discord:"https://discord.gg/b9WxzUce4Q"},ui:{colors:{primary:"violet",neutral:"zinc"}},uiPro:{pageHero:{slots:{container:"flex flex-col lg:grid py-16 sm:py-20 lg:py-24 gap-16 sm:gap-y-2"}}},toc:{title:"On this page",bottom:{title:"Ecosystem",edit:"https://github.com/Relaticle/comments",links:[{icon:"i-simple-icons-laravel",label:"FilaForms",to:"https://filaforms.app",target:"_blank"},{icon:"i-lucide-sliders",label:"Custom Fields",to:"https://relaticle.github.io/custom-fields",target:"_blank"},{icon:"i-lucide-kanban",label:"Flowforge",to:"https://relaticle.github.io/flowforge",target:"_blank"}]}}},ew={docus:{locale:"en"},ui:{colors:{primary:"emerald",neutral:"zinc"},commandPalette:{slots:{item:"items-center",input:"[&_.iconify]:size-4 [&_.iconify]:mx-0.5",itemLeadingIcon:"size-4 mx-0.5"}},contentNavigation:{slots:{linkLeadingIcon:"size-4 mr-1",linkTrailing:"hidden"},defaultVariants:{variant:"link"}},pageLinks:{slots:{linkLeadingIcon:"size-4",linkLabelExternalIcon:"size-2.5"}}}},tw={docus:{url:"https://relaticle.github.io/comments/",image:"/comments/preview.png",header:{logo:{light:"/comments/logo-light.svg",dark:"/comments/logo-dark.svg"}}},seo:{titleTemplate:"%s - Comments",title:"Comments",description:"",ogImage:"/comments/preview.png"},github:{owner:"relaticle",name:"comments",url:"https://github.com/relaticle/comments",branch:"1.x"},nuxt:{},header:{title:"Comments"},ui:{colors:{primary:"green",secondary:"blue",success:"green",info:"blue",warning:"yellow",error:"red",neutral:"slate"},icons:{arrowDown:"i-lucide-arrow-down",arrowLeft:"i-lucide-arrow-left",arrowRight:"i-lucide-arrow-right",arrowUp:"i-lucide-arrow-up",caution:"i-lucide-circle-alert",check:"i-lucide-check",chevronDoubleLeft:"i-lucide-chevrons-left",chevronDoubleRight:"i-lucide-chevrons-right",chevronDown:"i-lucide-chevron-down",chevronLeft:"i-lucide-chevron-left",chevronRight:"i-lucide-chevron-right",chevronUp:"i-lucide-chevron-up",close:"i-lucide-x",copy:"i-lucide-copy",copyCheck:"i-lucide-copy-check",dark:"i-lucide-moon",drag:"i-lucide-grip-vertical",ellipsis:"i-lucide-ellipsis",error:"i-lucide-circle-x",external:"i-lucide-arrow-up-right",eye:"i-lucide-eye",eyeOff:"i-lucide-eye-off",file:"i-lucide-file",folder:"i-lucide-folder",folderOpen:"i-lucide-folder-open",hash:"i-lucide-hash",info:"i-lucide-info",light:"i-lucide-sun",loading:"i-lucide-loader-circle",menu:"i-lucide-menu",minus:"i-lucide-minus",panelClose:"i-lucide-panel-left-close",panelOpen:"i-lucide-panel-left-open",plus:"i-lucide-plus",reload:"i-lucide-rotate-ccw",search:"i-lucide-search",stop:"i-lucide-square",success:"i-lucide-circle-check",system:"i-lucide-monitor",tip:"i-lucide-lightbulb",upload:"i-lucide-upload",warning:"i-lucide-triangle-alert"},tv:{twMergeConfig:{}}},icon:{provider:"iconify",class:"",aliases:{},iconifyApiEndpoint:"https://api.iconify.design",localApiEndpoint:"/api/_nuxt_icon",fallbackToApi:!0,cssSelectorPrefix:"i-",cssWherePseudo:!0,cssLayer:"base",mode:"css",attrs:{"aria-hidden":!0},collections:["academicons","akar-icons","ant-design","arcticons","basil","bi","bitcoin-icons","bpmn","brandico","bx","bxl","bxs","bytesize","carbon","catppuccin","cbi","charm","ci","cib","cif","cil","circle-flags","circum","clarity","codex","codicon","covid","cryptocurrency","cryptocurrency-color","cuida","dashicons","devicon","devicon-plain","dinkie-icons","duo-icons","ei","el","emojione","emojione-monotone","emojione-v1","entypo","entypo-social","eos-icons","ep","et","eva","f7","fa","fa-brands","fa-regular","fa-solid","fa6-brands","fa6-regular","fa6-solid","fa7-brands","fa7-regular","fa7-solid","fad","famicons","fe","feather","file-icons","flag","flagpack","flat-color-icons","flat-ui","flowbite","fluent","fluent-color","fluent-emoji","fluent-emoji-flat","fluent-emoji-high-contrast","fluent-mdl2","fontelico","fontisto","formkit","foundation","fxemoji","gala","game-icons","garden","geo","gg","gis","gravity-ui","gridicons","grommet-icons","guidance","healthicons","heroicons","heroicons-outline","heroicons-solid","hugeicons","humbleicons","ic","icomoon-free","icon-park","icon-park-outline","icon-park-solid","icon-park-twotone","iconamoon","iconoir","icons8","il","ion","iwwa","ix","jam","la","lets-icons","line-md","lineicons","logos","ls","lsicon","lucide","lucide-lab","mage","majesticons","maki","map","marketeq","material-icon-theme","material-symbols","material-symbols-light","mdi","mdi-light","medical-icon","memory","meteocons","meteor-icons","mi","mingcute","mono-icons","mynaui","nimbus","nonicons","noto","noto-v1","nrk","octicon","oi","ooui","openmoji","oui","pajamas","pepicons","pepicons-pencil","pepicons-pop","pepicons-print","ph","picon","pixel","pixelarticons","prime","proicons","ps","qlementine-icons","quill","radix-icons","raphael","ri","rivet-icons","roentgen","si","si-glyph","sidekickicons","simple-icons","simple-line-icons","skill-icons","solar","stash","streamline","streamline-block","streamline-color","streamline-cyber","streamline-cyber-color","streamline-emojis","streamline-flex","streamline-flex-color","streamline-freehand","streamline-freehand-color","streamline-kameleon-color","streamline-logos","streamline-pixel","streamline-plump","streamline-plump-color","streamline-sharp","streamline-sharp-color","streamline-stickies-color","streamline-ultimate","streamline-ultimate-color","subway","svg-spinners","system-uicons","tabler","tdesign","teenyicons","temaki","token","token-branded","topcoat","twemoji","typcn","uil","uim","uis","uit","uiw","unjs","vaadin","vs","vscode-icons","websymbol","weui","whh","wi","wpf","zmdi","zondicons","custom"],fetchTimeout:1500,customCollections:["custom","custom"]}},Yv=K5(Q9,ew,tw);function qe(){const e=Ie();return e._appConfig||=Tt(Yv),e._appConfig}function nw(e){typeof e.indexable<"u"&&(e.indexable=String(e.indexable)!=="false"),typeof e.trailingSlash<"u"&&!e.trailingSlash&&(e.trailingSlash=String(e.trailingSlash)!=="false"),e.url&&!Tn(String(e.url),{acceptRelative:!0,strict:!1})&&(e.url=a5(String(e.url)));const t=Object.keys(e).sort((o,u)=>o.localeCompare(u)),n={};for(const o of t)n[o]=e[o];return n}function ow(e){const n=[];function o(r){if(!r||typeof r!="object"||Object.keys(r).length===0)return()=>{};r._context;const a={};for(const s in r){const i=r[s];typeof i<"u"&&i!==""&&(a[s]=i)}return Object.keys(a).filter(s=>!s.startsWith("_")).length===0?()=>{}:(n.push(a),()=>{const s=n.indexOf(a);s!==-1&&n.splice(s,1)})}function u(r){const a={};r?.debug&&(a._context={}),a._priority={};for(const s in n.sort((i,c)=>(i._priority||0)-(c._priority||0)))for(const i in n[s]){const c=i,l=r?.resolveRefs?Be(n[s][i]):n[s][i];!i.startsWith("_")&&typeof l<"u"&&l!==""&&(a[i]=l,typeof n[s]._priority<"u"&&n[s]._priority!==-1&&(a._priority[c]=n[s]._priority),r?.debug&&(a._context[c]=n[s]._context?.[c]||n[s]._context||"anonymous"))}return r?.skipNormalize?a:nw(a)}return{stack:n,push:o,get:u}}const uw=tn({name:"nuxt-site-config:init",enforce:"pre",async setup(e){const t=ow(),n=Ho("site-config");{const o=n.value||window.__NUXT_SITE_CONFIG__||{};for(const u in o)u[0]!=="_"&&t.push({[u]:o[u],_priority:o._priority?.[u]||-1})}return{provide:{nuxtSiteConfig:t}}}}),rw=tn({name:"nuxt:payload",setup(e){const t=new Set;Ut().beforeResolve(async(n,o)=>{if(n.path===o.path)return;const u=await Sp(n.path);if(u){for(const r of t)delete e.static.data[r];for(const r in u.data)r in e.static.data||t.add(r),e.static.data[r]=u.data[r]}}),Zi(()=>{e.hooks.hook("link:prefetch",async n=>{const{hostname:o}=new URL(n,window.location.href);o===window.location.hostname&&await Sp(n).catch(()=>{console.warn("[nuxt] Error preloading payload for",n)})}),navigator.connection?.effectiveType!=="slow-2g"&&setTimeout(id,1e3)})}}),aw=tn(()=>{const e=Ut();Zi(()=>{e.beforeResolve(async()=>{await new Promise(t=>{setTimeout(t,100),requestAnimationFrame(()=>{setTimeout(t,0)})})})})}),sw=tn(e=>{let t;async function n(){let o;try{o=await id()}catch(u){const r=u;if(!("status"in r&&(r.status===404||r.status===403)))throw r}t&&clearTimeout(t),t=setTimeout(n,Cp);try{const u=await $fetch(ud("builds/latest.json")+`?${Date.now()}`);u.id!==o?.id&&(e.hooks.callHook("app:manifest:update",u),t&&clearTimeout(t))}catch{}}Zi(()=>{t=setTimeout(n,Cp)})}),iw=tn({name:"nuxt:chunk-reload",setup(e){const t=Ut(),n=Qt(),o=new Set;t.beforeEach(()=>{o.clear()}),e.hook("app:chunkError",({error:r})=>{o.add(r)});function u(r){const a=Cr(n.app.baseURL,r.fullPath);W9({path:a,persistState:!0})}e.hook("app:manifest:update",()=>{t.beforeResolve(u)}),t.onError((r,a)=>{o.has(r)&&u(a)})}}),lw="__NUXT_COLOR_MODE__",Rl="nuxt-color-mode",cw="localStorage",fo=window[lw]||{},dw=tn(e=>{const t=Ho("color-mode",()=>Tt({preference:fo.preference,value:fo.value,unknown:!1,forced:!1})).value;Ut().afterEach(r=>{const a=r.meta.colorMode;a&&a!=="system"?(t.value=a,t.forced=!0):(a==="system"&&console.warn("You cannot force the colorMode to system at the page level."),t.forced=!1,t.value=t.preference==="system"?fo.getColorScheme():t.preference)});let n;function o(){n||!window.matchMedia||(n=window.matchMedia("(prefers-color-scheme: dark)"),n.addEventListener("change",()=>{!t.forced&&t.preference==="system"&&(t.value=fo.getColorScheme())}))}function u(r,a){switch(r){case"cookie":window.document.cookie=Rl+"="+a;break;case"sessionStorage":window.sessionStorage?.setItem(Rl,a);break;default:window.localStorage?.setItem(Rl,a)}}Ce(()=>t.preference,r=>{t.forced||(r==="system"?(t.value=fo.getColorScheme(),o()):t.value=r,u(cw,r))},{immediate:!0}),Ce(()=>t.value,(r,a)=>{let s;s=window.document.createElement("style"),s.appendChild(document.createTextNode("*{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}")),window.document.head.appendChild(s),fo.removeColorScheme(a),fo.addColorScheme(r),window.getComputedStyle(s).opacity,document.head.removeChild(s)}),t.preference==="system"&&o(),e.hook("app:mounted",()=>{t.unknown&&(t.preference=fo.preference,t.value=fo.value,t.unknown=!1)}),e.provide("colorMode",t)}),Zv=/^[a-z0-9]+(-[a-z0-9]+)*$/,Ra=(e,t,n,o="")=>{const u=e.split(":");if(e.slice(0,1)==="@"){if(u.length<2||u.length>3)return null;o=u.shift().slice(1)}if(u.length>3||!u.length)return null;if(u.length>1){const s=u.pop(),i=u.pop(),c={provider:u.length>0?u[0]:o,prefix:i,name:s};return t&&!Is(c)?null:c}const r=u[0],a=r.split("-");if(a.length>1){const s={provider:o,prefix:a.shift(),name:a.join("-")};return t&&!Is(s)?null:s}if(n&&o===""){const s={provider:o,prefix:"",name:r};return t&&!Is(s,n)?null:s}return null},Is=(e,t)=>e?!!((t&&e.prefix===""||e.prefix)&&e.name):!1,Xv=Object.freeze({left:0,top:0,width:16,height:16}),ii=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),xr=Object.freeze({...Xv,...ii}),zc=Object.freeze({...xr,body:"",hidden:!1});function fw(e,t){const n={};!e.hFlip!=!t.hFlip&&(n.hFlip=!0),!e.vFlip!=!t.vFlip&&(n.vFlip=!0);const o=((e.rotate||0)+(t.rotate||0))%4;return o&&(n.rotate=o),n}function th(e,t){const n=fw(e,t);for(const o in zc)o in ii?o in e&&!(o in n)&&(n[o]=ii[o]):o in t?n[o]=t[o]:o in e&&(n[o]=e[o]);return n}function pw(e,t){const n=e.icons,o=e.aliases||Object.create(null),u=Object.create(null);function r(a){if(n[a])return u[a]=[];if(!(a in u)){u[a]=null;const s=o[a]&&o[a].parent,i=s&&r(s);i&&(u[a]=[s].concat(i))}return u[a]}return Object.keys(n).concat(Object.keys(o)).forEach(r),u}function hw(e,t,n){const o=e.icons,u=e.aliases||Object.create(null);let r={};function a(s){r=th(o[s]||u[s],r)}return a(t),n.forEach(a),th(e,r)}function Jv(e,t){const n=[];if(typeof e!="object"||typeof e.icons!="object")return n;e.not_found instanceof Array&&e.not_found.forEach(u=>{t(u,null),n.push(u)});const o=pw(e);for(const u in o){const r=o[u];r&&(t(u,hw(e,u,r)),n.push(u))}return n}const mw={provider:"",aliases:{},not_found:{},...Xv};function Il(e,t){for(const n in t)if(n in e&&typeof e[n]!=typeof t[n])return!1;return!0}function Qv(e){if(typeof e!="object"||e===null)return null;const t=e;if(typeof t.prefix!="string"||!e.icons||typeof e.icons!="object"||!Il(e,mw))return null;const n=t.icons;for(const u in n){const r=n[u];if(!u||typeof r.body!="string"||!Il(r,zc))return null}const o=t.aliases||Object.create(null);for(const u in o){const r=o[u],a=r.parent;if(!u||typeof a!="string"||!n[a]&&!o[a]||!Il(r,zc))return null}return t}const nh=Object.create(null);function gw(e,t){return{provider:e,prefix:t,icons:Object.create(null),missing:new Set}}function _u(e,t){const n=nh[e]||(nh[e]=Object.create(null));return n[t]||(n[t]=gw(e,t))}function e1(e,t){return Qv(t)?Jv(t,(n,o)=>{o?e.icons[n]=o:e.missing.add(n)}):[]}function vw(e,t,n){try{if(typeof n.body=="string")return e.icons[t]={...n},!0}catch{}return!1}let Ea=!1;function t1(e){return typeof e=="boolean"&&(Ea=e),Ea}function md(e){const t=typeof e=="string"?Ra(e,!0,Ea):e;if(t){const n=_u(t.provider,t.prefix),o=t.name;return n.icons[o]||(n.missing.has(o)?null:void 0)}}function Ca(e,t){const n=Ra(e,!0,Ea);if(!n)return!1;const o=_u(n.provider,n.prefix);return t?vw(o,n.name,t):(o.missing.add(n.name),!0)}function yw(e,t){if(typeof e!="object")return!1;if(typeof t!="string"&&(t=e.provider||""),Ea&&!t&&!e.prefix){let u=!1;return Qv(e)&&(e.prefix="",Jv(e,(r,a)=>{Ca(r,a)&&(u=!0)})),u}const n=e.prefix;if(!Is({prefix:n,name:"a"}))return!1;const o=_u(t,n);return!!e1(o,e)}function Uc(e){const t=md(e);return t&&{...xr,...t}}const n1=Object.freeze({width:null,height:null}),o1=Object.freeze({...n1,...ii}),bw=/(-?[0-9.]*[0-9]+[0-9.]*)/g,Ew=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function oh(e,t,n){if(t===1)return e;if(n=n||100,typeof e=="number")return Math.ceil(e*t*n)/n;if(typeof e!="string")return e;const o=e.split(bw);if(o===null||!o.length)return e;const u=[];let r=o.shift(),a=Ew.test(r);for(;;){if(a){const s=parseFloat(r);isNaN(s)?u.push(r):u.push(Math.ceil(s*t*n)/n)}else u.push(r);if(r=o.shift(),r===void 0)return u.join("");a=!a}}function Cw(e,t="defs"){let n="";const o=e.indexOf("<"+t);for(;o>=0;){const u=e.indexOf(">",o),r=e.indexOf("",r);if(a===-1)break;n+=e.slice(u+1,r).trim(),e=e.slice(0,o).trim()+e.slice(a+1)}return{defs:n,content:e}}function xw(e,t){return e?""+e+""+t:t}function Dw(e,t,n){const o=Cw(e);return xw(o.defs,t+o.content+n)}const ww=e=>e==="unset"||e==="undefined"||e==="none";function Aw(e,t){const n={...xr,...e},o={...o1,...t},u={left:n.left,top:n.top,width:n.width,height:n.height};let r=n.body;[n,o].forEach(g=>{const E=[],b=g.hFlip,y=g.vFlip;let v=g.rotate;b?y?v+=2:(E.push("translate("+(u.width+u.left).toString()+" "+(0-u.top).toString()+")"),E.push("scale(-1 1)"),u.top=u.left=0):y&&(E.push("translate("+(0-u.left).toString()+" "+(u.height+u.top).toString()+")"),E.push("scale(1 -1)"),u.top=u.left=0);let C;switch(v<0&&(v-=Math.floor(v/4)*4),v=v%4,v){case 1:C=u.height/2+u.top,E.unshift("rotate(90 "+C.toString()+" "+C.toString()+")");break;case 2:E.unshift("rotate(180 "+(u.width/2+u.left).toString()+" "+(u.height/2+u.top).toString()+")");break;case 3:C=u.width/2+u.left,E.unshift("rotate(-90 "+C.toString()+" "+C.toString()+")");break}v%2===1&&(u.left!==u.top&&(C=u.left,u.left=u.top,u.top=C),u.width!==u.height&&(C=u.width,u.width=u.height,u.height=C)),E.length&&(r=Dw(r,'',""))});const a=o.width,s=o.height,i=u.width,c=u.height;let l,d;a===null?(d=s===null?"1em":s==="auto"?c:s,l=oh(d,i/c)):(l=a==="auto"?i:a,d=s===null?oh(l,c/i):s==="auto"?c:s);const f={},p=(g,E)=>{ww(E)||(f[g]=E.toString())};p("width",l),p("height",d);const m=[u.left,u.top,i,c];return f.viewBox=m.join(" "),{attributes:f,viewBox:m,body:r}}const Bw=/\sid="(\S+)"/g,_w="IconifyId"+Date.now().toString(16)+(Math.random()*16777216|0).toString(16);let kw=0;function Sw(e,t=_w){const n=[];let o;for(;o=Bw.exec(e);)n.push(o[1]);if(!n.length)return e;const u="suffix"+(Math.random()*16777216|Date.now()).toString(16);return n.forEach(r=>{const a=typeof t=="function"?t(r):t+(kw++).toString(),s=r.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");e=e.replace(new RegExp('([#;"])('+s+')([")]|\\.[a-z])',"g"),"$1"+a+u+"$3")}),e=e.replace(new RegExp(u,"g"),""),e}const Hc=Object.create(null);function u1(e,t){Hc[e]=t}function Kc(e){return Hc[e]||Hc[""]}function gd(e){let t;if(typeof e.resources=="string")t=[e.resources];else if(t=e.resources,!(t instanceof Array)||!t.length)return null;return{resources:t,path:e.path||"/",maxURL:e.maxURL||500,rotate:e.rotate||750,timeout:e.timeout||5e3,random:e.random===!0,index:e.index||0,dataAfterTimeout:e.dataAfterTimeout!==!1}}const Xi=Object.create(null),qr=["https://api.simplesvg.com","https://api.unisvg.com"],Ls=[];for(;qr.length>0;)qr.length===1||Math.random()>.5?Ls.push(qr.shift()):Ls.push(qr.pop());Xi[""]=gd({resources:["https://api.iconify.design"].concat(Ls)});function r1(e,t){const n=gd(t);return n===null?!1:(Xi[e]=n,!0)}function Ji(e){return Xi[e]}function Tw(){return Object.keys(Xi)}const Fw=()=>{let e;try{if(e=fetch,typeof e=="function")return e}catch{}};let li=Fw();function Pw(e){li=e}function Mw(){return li}function Ow(e,t){const n=Ji(e);if(!n)return 0;let o;if(!n.maxURL)o=0;else{let u=0;n.resources.forEach(a=>{u=Math.max(u,a.length)});const r=t+".json?icons=";o=n.maxURL-u-n.path.length-r.length}return o}function Rw(e){return e===404}const Iw=(e,t,n)=>{const o=[],u=Ow(e,t),r="icons";let a={type:r,provider:e,prefix:t,icons:[]},s=0;return n.forEach((i,c)=>{s+=i.length+1,s>=u&&c>0&&(o.push(a),a={type:r,provider:e,prefix:t,icons:[]},s=i.length),a.icons.push(i)}),o.push(a),o};function Lw(e){if(typeof e=="string"){const t=Ji(e);if(t)return t.path}return"/"}const qw=(e,t,n)=>{if(!li){n("abort",424);return}let o=Lw(t.provider);switch(t.type){case"icons":{const r=t.prefix,s=t.icons.join(","),i=new URLSearchParams({icons:s});o+=r+".json?"+i.toString();break}case"custom":{const r=t.uri;o+=r.slice(0,1)==="/"?r.slice(1):r;break}default:n("abort",400);return}let u=503;li(e+o).then(r=>{const a=r.status;if(a!==200){setTimeout(()=>{n(Rw(a)?"abort":"next",a)});return}return u=501,r.json()}).then(r=>{if(typeof r!="object"||r===null){setTimeout(()=>{r===404?n("abort",r):n("next",u)});return}setTimeout(()=>{n("success",r)})}).catch(()=>{n("next",u)})},$w={prepare:Iw,send:qw};function Nw(e){const t={loaded:[],missing:[],pending:[]},n=Object.create(null);e.sort((u,r)=>u.provider!==r.provider?u.provider.localeCompare(r.provider):u.prefix!==r.prefix?u.prefix.localeCompare(r.prefix):u.name.localeCompare(r.name));let o={provider:"",prefix:"",name:""};return e.forEach(u=>{if(o.name===u.name&&o.prefix===u.prefix&&o.provider===u.provider)return;o=u;const r=u.provider,a=u.prefix,s=u.name,i=n[r]||(n[r]=Object.create(null)),c=i[a]||(i[a]=_u(r,a));let l;s in c.icons?l=t.loaded:a===""||c.missing.has(s)?l=t.missing:l=t.pending;const d={provider:r,prefix:a,name:s};l.push(d)}),t}function a1(e,t){e.forEach(n=>{const o=n.loaderCallbacks;o&&(n.loaderCallbacks=o.filter(u=>u.id!==t))})}function jw(e){e.pendingCallbacksFlag||(e.pendingCallbacksFlag=!0,setTimeout(()=>{e.pendingCallbacksFlag=!1;const t=e.loaderCallbacks?e.loaderCallbacks.slice(0):[];if(!t.length)return;let n=!1;const o=e.provider,u=e.prefix;t.forEach(r=>{const a=r.icons,s=a.pending.length;a.pending=a.pending.filter(i=>{if(i.prefix!==u)return!0;const c=i.name;if(e.icons[c])a.loaded.push({provider:o,prefix:u,name:c});else if(e.missing.has(c))a.missing.push({provider:o,prefix:u,name:c});else return n=!0,!0;return!1}),a.pending.length!==s&&(n||a1([e],r.id),r.callback(a.loaded.slice(0),a.missing.slice(0),a.pending.slice(0),r.abort))})}))}let Vw=0;function zw(e,t,n){const o=Vw++,u=a1.bind(null,n,o);if(!t.pending.length)return u;const r={id:o,icons:t,callback:e,abort:u};return n.forEach(a=>{(a.loaderCallbacks||(a.loaderCallbacks=[])).push(r)}),u}function Uw(e,t=!0,n=!1){const o=[];return e.forEach(u=>{const r=typeof u=="string"?Ra(u,t,n):u;r&&o.push(r)}),o}var Hw={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function Kw(e,t,n,o){const u=e.resources.length,r=e.random?Math.floor(Math.random()*u):e.index;let a;if(e.random){let w=e.resources.slice(0);for(a=[];w.length>1;){const B=Math.floor(Math.random()*w.length);a.push(w[B]),w=w.slice(0,B).concat(w.slice(B+1))}a=a.concat(w)}else a=e.resources.slice(r).concat(e.resources.slice(0,r));const s=Date.now();let i="pending",c=0,l,d=null,f=[],p=[];typeof o=="function"&&p.push(o);function m(){d&&(clearTimeout(d),d=null)}function g(){i==="pending"&&(i="aborted"),m(),f.forEach(w=>{w.status==="pending"&&(w.status="aborted")}),f=[]}function E(w,B){B&&(p=[]),typeof w=="function"&&p.push(w)}function b(){return{startTime:s,payload:t,status:i,queriesSent:c,queriesPending:f.length,subscribe:E,abort:g}}function y(){i="failed",p.forEach(w=>{w(void 0,l)})}function v(){f.forEach(w=>{w.status==="pending"&&(w.status="aborted")}),f=[]}function C(w,B,_){const F=B!=="success";switch(f=f.filter(R=>R!==w),i){case"pending":break;case"failed":if(F||!e.dataAfterTimeout)return;break;default:return}if(B==="abort"){l=_,y();return}if(F){l=_,f.length||(a.length?x():y());return}if(m(),v(),!e.random){const R=e.resources.indexOf(w.resource);R!==-1&&R!==e.index&&(e.index=R)}i="completed",p.forEach(R=>{R(_)})}function x(){if(i!=="pending")return;m();const w=a.shift();if(w===void 0){if(f.length){d=setTimeout(()=>{m(),i==="pending"&&(v(),y())},e.timeout);return}y();return}const B={status:"pending",resource:w,callback:(_,F)=>{C(B,_,F)}};f.push(B),c++,d=setTimeout(x,e.rotate),n(w,t,B.callback)}return setTimeout(x),b}function s1(e){const t={...Hw,...e};let n=[];function o(){n=n.filter(s=>s().status==="pending")}function u(s,i,c){const l=Kw(t,s,i,(d,f)=>{o(),c&&c(d,f)});return n.push(l),l}function r(s){return n.find(i=>s(i))||null}return{query:u,find:r,setIndex:s=>{t.index=s},getIndex:()=>t.index,cleanup:o}}function uh(){}const Ll=Object.create(null);function Ww(e){if(!Ll[e]){const t=Ji(e);if(!t)return;const n=s1(t),o={config:t,redundancy:n};Ll[e]=o}return Ll[e]}function i1(e,t,n){let o,u;if(typeof e=="string"){const r=Kc(e);if(!r)return n(void 0,424),uh;u=r.send;const a=Ww(e);a&&(o=a.redundancy)}else{const r=gd(e);if(r){o=s1(r);const a=e.resources?e.resources[0]:"",s=Kc(a);s&&(u=s.send)}}return!o||!u?(n(void 0,424),uh):o.query(t,u,n)().abort}function rh(){}function Gw(e){e.iconsLoaderFlag||(e.iconsLoaderFlag=!0,setTimeout(()=>{e.iconsLoaderFlag=!1,jw(e)}))}function Yw(e){const t=[],n=[];return e.forEach(o=>{(o.match(Zv)?t:n).push(o)}),{valid:t,invalid:n}}function $r(e,t,n){function o(){const u=e.pendingIcons;t.forEach(r=>{u&&u.delete(r),e.icons[r]||e.missing.add(r)})}if(n&&typeof n=="object")try{if(!e1(e,n).length){o();return}}catch(u){console.error(u)}o(),Gw(e)}function ah(e,t){e instanceof Promise?e.then(n=>{t(n)}).catch(()=>{t(null)}):t(e)}function Zw(e,t){e.iconsToLoad?e.iconsToLoad=e.iconsToLoad.concat(t).sort():e.iconsToLoad=t,e.iconsQueueFlag||(e.iconsQueueFlag=!0,setTimeout(()=>{e.iconsQueueFlag=!1;const{provider:n,prefix:o}=e,u=e.iconsToLoad;if(delete e.iconsToLoad,!u||!u.length)return;const r=e.loadIcon;if(e.loadIcons&&(u.length>1||!r)){ah(e.loadIcons(u,o,n),l=>{$r(e,u,l)});return}if(r){u.forEach(l=>{const d=r(l,o,n);ah(d,f=>{const p=f?{prefix:o,icons:{[l]:f}}:null;$r(e,[l],p)})});return}const{valid:a,invalid:s}=Yw(u);if(s.length&&$r(e,s,null),!a.length)return;const i=o.match(Zv)?Kc(n):null;if(!i){$r(e,a,null);return}i.prepare(n,o,a).forEach(l=>{i1(n,l,d=>{$r(e,l.icons,d)})})}))}const l1=(e,t)=>{const n=Uw(e,!0,t1()),o=Nw(n);if(!o.pending.length){let i=!0;return t&&setTimeout(()=>{i&&t(o.loaded,o.missing,o.pending,rh)}),()=>{i=!1}}const u=Object.create(null),r=[];let a,s;return o.pending.forEach(i=>{const{provider:c,prefix:l}=i;if(l===s&&c===a)return;a=c,s=l,r.push(_u(c,l));const d=u[c]||(u[c]=Object.create(null));d[l]||(d[l]=[])}),o.pending.forEach(i=>{const{provider:c,prefix:l,name:d}=i,f=_u(c,l),p=f.pendingIcons||(f.pendingIcons=new Set);p.has(d)||(p.add(d),u[c][l].push(d))}),r.forEach(i=>{const c=u[i.provider][i.prefix];c.length&&Zw(i,c)}),t?zw(t,o,r):rh},Xw=e=>new Promise((t,n)=>{const o=typeof e=="string"?Ra(e,!0):e;if(!o){n(e);return}l1([o||e],u=>{if(u.length&&o){const r=md(o);if(r){t({...xr,...r});return}}n(e)})});function Jw(e,t,n){_u("",t).loadIcons=e}function Qw(e,t){const n={...e};for(const o in t){const u=t[o],r=typeof u;o in n1?(u===null||u&&(r==="string"||r==="number"))&&(n[o]=u):r===typeof n[o]&&(n[o]=o==="rotate"?u%4:u)}return n}const eA=/[\s,]+/;function tA(e,t){t.split(eA).forEach(n=>{switch(n.trim()){case"horizontal":e.hFlip=!0;break;case"vertical":e.vFlip=!0;break}})}function nA(e,t=0){const n=e.replace(/^-?[0-9.]*/,"");function o(u){for(;u<0;)u+=4;return u%4}if(n===""){const u=parseInt(e);return isNaN(u)?0:o(u)}else if(n!==e){let u=0;switch(n){case"%":u=25;break;case"deg":u=90}if(u){let r=parseFloat(e.slice(0,e.length-n.length));return isNaN(r)?0:(r=r/u,r%1===0?o(r):0)}}return t}function oA(e,t){let n=e.indexOf("xlink:")===-1?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(const o in t)n+=" "+o+'="'+t[o]+'"';return'"+e+""}function uA(e){return e.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(//g,"%3E").replace(/\s+/g," ")}function rA(e){return"data:image/svg+xml,"+uA(e)}function aA(e){return'url("'+rA(e)+'")'}const sh={...o1,inline:!1},sA={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},iA={display:"inline-block"},Wc={backgroundColor:"currentColor"},c1={backgroundColor:"transparent"},ih={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},lh={webkitMask:Wc,mask:Wc,background:c1};for(const e in lh){const t=lh[e];for(const n in ih)t[e+n]=ih[n]}const qs={};["horizontal","vertical"].forEach(e=>{const t=e.slice(0,1)+"Flip";qs[e+"-flip"]=t,qs[e.slice(0,1)+"-flip"]=t,qs[e+"Flip"]=t});function ch(e){return e+(e.match(/^[-0-9.]+$/)?"px":"")}const dh=(e,t)=>{const n=Qw(sh,t),o={...sA},u=t.mode||"svg",r={},a=t.style,s=typeof a=="object"&&!(a instanceof Array)?a:{};for(let g in t){const E=t[g];if(E!==void 0)switch(g){case"icon":case"style":case"onLoad":case"mode":case"ssr":break;case"inline":case"hFlip":case"vFlip":n[g]=E===!0||E==="true"||E===1;break;case"flip":typeof E=="string"&&tA(n,E);break;case"color":r.color=E;break;case"rotate":typeof E=="string"?n[g]=nA(E):typeof E=="number"&&(n[g]=E);break;case"ariaHidden":case"aria-hidden":E!==!0&&E!=="true"&&delete o["aria-hidden"];break;default:{const b=qs[g];b?(E===!0||E==="true"||E===1)&&(n[b]=!0):sh[g]===void 0&&(o[g]=E)}}}const i=Aw(e,n),c=i.attributes;if(n.inline&&(r.verticalAlign="-0.125em"),u==="svg"){o.style={...r,...s},Object.assign(o,c);let g=0,E=t.id;return typeof E=="string"&&(E=E.replace(/-/g,"_")),o.innerHTML=Sw(i.body,E?()=>E+"ID"+g++:"iconifyVue"),ze("svg",o)}const{body:l,width:d,height:f}=e,p=u==="mask"||(u==="bg"?!1:l.indexOf("currentColor")!==-1),m=oA(l,{...c,width:d+"",height:f+""});return o.style={...r,"--svg":aA(m),width:ch(c.width),height:ch(c.height),...iA,...p?Wc:c1,...s},ze("span",o)};t1(!0);u1("",$w);if(typeof document<"u"&&typeof window<"u"){const e=window;if(e.IconifyPreload!==void 0){const t=e.IconifyPreload,n="Invalid IconifyPreload syntax.";typeof t=="object"&&t!==null&&(t instanceof Array?t:[t]).forEach(o=>{try{(typeof o!="object"||o===null||o instanceof Array||typeof o.icons!="object"||typeof o.prefix!="string"||!yw(o))&&console.error(n)}catch{console.error(n)}})}if(e.IconifyProviders!==void 0){const t=e.IconifyProviders;if(typeof t=="object"&&t!==null)for(let n in t){const o="IconifyProviders["+n+"] is invalid.";try{const u=t[n];if(typeof u!="object"||!u||u.resources===void 0)continue;r1(n,u)||console.error(o)}catch{console.error(o)}}}}const lA={...xr,body:""},cA=N((e,{emit:t})=>{const n=L(null);function o(){n.value&&(n.value.abort?.(),n.value=null)}const u=L(!!e.ssr),r=L(""),a=$e(null);function s(){const c=e.icon;if(typeof c=="object"&&c!==null&&typeof c.body=="string")return r.value="",{data:c};let l;if(typeof c!="string"||(l=Ra(c,!1,!0))===null)return null;let d=md(l);if(!d){const m=n.value;return(!m||m.name!==c)&&(d===null?n.value={name:c}:n.value={name:c,abort:l1([l],i)}),null}o(),r.value!==c&&(r.value=c,He(()=>{t("load",c)}));const f=e.customise;if(f){d=Object.assign({},d);const m=f(d.body,l.name,l.prefix,l.provider);typeof m=="string"&&(d.body=m)}const p=["iconify"];return l.prefix!==""&&p.push("iconify--"+l.prefix),l.provider!==""&&p.push("iconify--"+l.provider),{data:d,classes:p}}function i(){const c=s();c?c.data!==a.value?.data&&(a.value=c):a.value=null}return u.value?i():je(()=>{u.value=!0,i()}),Ce(()=>e.icon,i),en(o),()=>{const c=a.value;if(!c)return dh(lA,e);let l=e;return c.classes&&(l={...e,class:c.classes.join(" ")}),dh({...xr,...c.data},l)}},{props:["icon","mode","ssr","width","height","style","color","inline","rotate","hFlip","horizontalFlip","vFlip","verticalFlip","flip","id","ariaHidden","customise","title"],emits:["load"]}),fh={getAPIConfig:Ji,setAPIModule:u1,sendAPIQuery:i1,setFetch:Pw,getFetch:Mw,listAPIProviders:Tw},dA=tn({name:"@nuxt/icon",setup(){const e=Qt(),t=qe().icon;fh.setFetch($fetch.native);const n=[];if(t.provider==="server"){const u=e.app?.baseURL?.replace(/\/$/,"")??"";n.push(u+(t.localApiEndpoint||"/api/_nuxt_icon")),(t.fallbackToApi===!0||t.fallbackToApi==="client-only")&&n.push(t.iconifyApiEndpoint)}else t.provider==="none"?fh.setFetch(()=>Promise.resolve(new Response)):n.push(t.iconifyApiEndpoint);async function o(u,r){try{const a=await $fetch(n[0]+"/"+r+".json",{query:{icons:u.join(",")}});if(!a||a.prefix!==r||!a.icons)throw new Error("Invalid data"+JSON.stringify(a));return a}catch(a){return console.error("Failed to load custom icons",a),null}}r1("",{resources:n});for(const u of t.customCollections||[])u&&Jw(o,u)}}),fA=Ee(()=>te(()=>import("./DE0Fl81X.js"),[],import.meta.url).then(e=>e.default||e.default||e)),pA=Ee(()=>te(()=>import("./BT07FD-X.js"),[],import.meta.url).then(e=>e.default||e.default||e)),hA=Ee(()=>te(()=>import("./BILlFXHa.js"),[],import.meta.url).then(e=>e.default||e.default||e)),mA=Ee(()=>te(()=>import("./CIUBNquS.js"),__vite__mapDeps([6,7,3]),import.meta.url).then(e=>e.default||e.default||e)),gA=Ee(()=>te(()=>import("./Dq7OQ_Lf.js"),[],import.meta.url).then(e=>e.default||e.default||e)),vA=Ee(()=>te(()=>import("./DBhEayJC.js"),__vite__mapDeps([8,7,3]),import.meta.url).then(e=>e.default||e.default||e)),yA=Ee(()=>te(()=>import("./CZA_HeFn.js"),__vite__mapDeps([9,7,3]),import.meta.url).then(e=>e.default||e.default||e)),bA=Ee(()=>te(()=>import("./CTQfqdqs.js"),[],import.meta.url).then(e=>e.default||e.default||e)),EA=Ee(()=>te(()=>import("./neiL10X0.js"),[],import.meta.url).then(e=>e.default||e.default||e)),CA=Ee(()=>te(()=>import("./CB0pqUbN.js"),[],import.meta.url).then(e=>e.default||e.default||e)),xA=Ee(()=>te(()=>import("./Dhwn1cVK.js"),__vite__mapDeps([10,11,12,13]),import.meta.url).then(e=>e.default||e.default||e)),DA=Ee(()=>te(()=>import("./BX3MvpYz.js"),[],import.meta.url).then(e=>e.default||e.default||e)),wA=Ee(()=>te(()=>import("./V6yV-AT3.js"),[],import.meta.url).then(e=>e.default||e.default||e)),AA=Ee(()=>te(()=>import("./Bfv0HSUf.js"),__vite__mapDeps([14,15,12,13]),import.meta.url).then(e=>e.default||e.default||e)),BA=Ee(()=>te(()=>import("./CwVYtG5_.js"),[],import.meta.url).then(e=>e.default||e.default||e)),_A=Ee(()=>te(()=>import("./BLoocZPz.js"),[],import.meta.url).then(e=>e.default||e.default||e)),kA=Ee(()=>te(()=>import("./DIeN43BN.js"),__vite__mapDeps([16,7,3]),import.meta.url).then(e=>e.default||e.default||e)),SA=Ee(()=>te(()=>import("./2QjoQjHN.js"),[],import.meta.url).then(e=>e.default||e.default||e)),TA=Ee(()=>te(()=>import("./BZF47zcU.js"),[],import.meta.url).then(e=>e.default||e.default||e)),FA=Ee(()=>te(()=>import("./DXHJqSLO.js"),[],import.meta.url).then(e=>e.default||e.default||e)),PA=Ee(()=>te(()=>import("./rx69X1pm.js"),[],import.meta.url).then(e=>e.default||e.default||e)),MA=Ee(()=>te(()=>import("./DNke5-TS.js"),[],import.meta.url).then(e=>e.default||e.default||e)),OA=Ee(()=>te(()=>import("./ByiZ1TIZ.js"),[],import.meta.url).then(e=>e.default||e.default||e)),RA=Ee(()=>te(()=>import("./Dc-0Ffnn.js"),[],import.meta.url).then(e=>e.default||e.default||e)),IA=Ee(()=>te(()=>import("./P1Petxml.js"),[],import.meta.url).then(e=>e.default||e.default||e)),LA=Ee(()=>te(()=>import("./DgFfHvtP.js"),[],import.meta.url).then(e=>e.default||e.default||e)),qA=Ee(()=>te(()=>import("./YeboR_OY.js"),[],import.meta.url).then(e=>e.default||e.default||e)),$A=Ee(()=>te(()=>import("./Bw2iW2wh.js"),[],import.meta.url).then(e=>e.default||e.default||e)),NA=Ee(()=>te(()=>import("./jg8n9eFI.js"),[],import.meta.url).then(e=>e.default||e.default||e)),jA=Ee(()=>te(()=>import("./ChKjD2N-.js"),__vite__mapDeps([17,13]),import.meta.url).then(e=>e.default||e.default||e)),VA=Ee(()=>te(()=>import("./D1rfTq7u.js"),[],import.meta.url).then(e=>e.default||e.default||e)),zA=Ee(()=>te(()=>import("./tUdKOItG.js"),[],import.meta.url).then(e=>e.default||e.default||e)),UA=Ee(()=>te(()=>import("./Cs_C5Hxr.js"),[],import.meta.url).then(e=>e.default||e.default||e)),HA=Ee(()=>te(()=>import("./DDZnhW94.js"),[],import.meta.url).then(e=>e.default||e.default||e)),KA=Ee(()=>te(()=>import("./ALU7qGuA.js"),__vite__mapDeps([18,11,12]),import.meta.url).then(e=>e.default||e.default||e)),WA=Ee(()=>te(()=>import("./Bo7dFHxP.js"),[],import.meta.url).then(e=>e.default||e.default||e)),GA=Ee(()=>te(()=>import("./D02NvDXQ.js"),[],import.meta.url).then(e=>e.default||e.default||e)),YA=Ee(()=>te(()=>import("./JNjzKBD0.js"),[],import.meta.url).then(e=>e.default||e.default||e)),ZA=Ee(()=>te(()=>import("./DaC1Smdk.js"),[],import.meta.url).then(e=>e.default||e.default||e)),XA=Ee(()=>te(()=>import("./C77U2lz4.js"),[],import.meta.url).then(e=>e.default||e.default||e)),JA=Ee(()=>te(()=>import("./DxjyxIot.js"),[],import.meta.url).then(e=>e.default||e.default||e)),QA=Ee(()=>te(()=>import("./BSIZYPu4.js"),[],import.meta.url).then(e=>e.default||e.default||e)),eB=Ee(()=>te(()=>import("./CDEkn73i.js"),__vite__mapDeps([19,7,3,8]),import.meta.url).then(e=>e.default||e.default||e)),tB=Ee(()=>te(()=>import("./BbjXMA62.js"),__vite__mapDeps([20,7,3,8]),import.meta.url).then(e=>e.default||e.default||e)),nB=Ee(()=>te(()=>import("./Czx2Cs4p.js"),__vite__mapDeps([21,7,3,8]),import.meta.url).then(e=>e.default||e.default||e)),oB=Ee(()=>te(()=>import("./CXpIEjcs.js"),__vite__mapDeps([22,7,3,8]),import.meta.url).then(e=>e.default||e.default||e)),uB=Ee(()=>te(()=>import("./iDtI4Vp4.js"),[],import.meta.url).then(e=>e.default||e.default||e)),rB=Ee(()=>te(()=>import("./D4qJZeLc.js"),[],import.meta.url).then(e=>e.default||e.default||e)),aB=Ee(()=>te(()=>Promise.resolve().then(()=>uM),void 0,import.meta.url).then(e=>e.default||e.default||e)),sB=[["ProseA",fA],["ProseAccordion",pA],["ProseAccordionItem",hA],["ProseBadge",mA],["ProseBlockquote",gA],["ProseCallout",vA],["ProseCard",yA],["ProseCardGroup",bA],["ProseCode",EA],["ProseCodeCollapse",CA],["ProseCodeGroup",xA],["ProseCodeIcon",DA],["ProseCodePreview",wA],["ProseCodeTree",AA],["ProseCollapsible",BA],["ProseEm",_A],["ProseField",kA],["ProseFieldGroup",SA],["ProseH1",TA],["ProseH2",FA],["ProseH3",PA],["ProseH4",MA],["ProseHr",OA],["ProseIcon",RA],["ProseImg",IA],["ProseKbd",LA],["ProseLi",qA],["ProseOl",$A],["ProseP",NA],["ProsePre",jA],["ProseScript",VA],["ProseSteps",zA],["ProseStrong",UA],["ProseTable",HA],["ProseTabs",KA],["ProseTabsItem",WA],["ProseTbody",GA],["ProseTd",YA],["ProseTh",ZA],["ProseThead",XA],["ProseTr",JA],["ProseUl",QA],["ProseCaution",eB],["ProseNote",tB],["ProseTip",nB],["ProseWarning",oB],["ProseH5",uB],["ProseH6",rB],["Icon",aB]],iB=tn({name:"nuxt:global-components",setup(e){for(const[t,n]of sB)e.vueApp.component(t,n),e.vueApp.component("Lazy"+t,n)}}),Ko={default:Ee(()=>te(()=>import("./_ytc_FhA.js"),__vite__mapDeps([23,24]),import.meta.url).then(e=>e.default||e)),docs:Ee(()=>te(()=>import("./CoFDp80G.js"),__vite__mapDeps([25,4,24]),import.meta.url).then(e=>e.default||e))},lB=tn({name:"nuxt:prefetch",setup(e){const t=Ut();e.hooks.hook("app:mounted",()=>{t.beforeEach(async n=>{const o=n?.meta?.layout;o&&typeof Ko[o]=="function"&&await Ko[o]()})}),e.hooks.hook("link:prefetch",n=>{if(Tn(n))return;const o=t.resolve(n);if(!o)return;const u=o.meta.layout;let r=Rv(o.meta.middleware);r=r.filter(a=>typeof a=="string");for(const a of r)typeof jc[a]=="function"&&jc[a]();typeof u=="string"&&u in Ko&&K9(Ko[u])})}});var Dr=e=>{window.__fathomClientQueue=window.__fathomClientQueue||[],window.__fathomClientQueue.push(e)},cB=()=>{window.__fathomIsLoading=!1,window.__fathomClientQueue=window.__fathomClientQueue||[],window.__fathomClientQueue.forEach(e=>{switch(e.type){case"trackPageview":f1(e.opts);return;case"trackGoal":p1(e.code,e.cents);return;case"trackEvent":h1(e.eventName,e.opts);return;case"enableTrackingForMe":g1();return;case"blockTrackingForMe":m1();return;case"setSite":v1(e.id);return}}),window.__fathomClientQueue=[]},ph=e=>{const t=/(https?)(?=:|\/|$)/;e.forEach(n=>{t.exec(n)!==null&&console.warn(`The include domain ${n} might fail to work as intended as it begins with a transfer protocol (http://, https://). Consider removing the protocol portion of the string.`)})},d1=(e,t)=>{if(window.__fathomIsLoading||window.fathom)return;window.__fathomIsLoading=!0;let n=document.createElement("script"),o=document.getElementsByTagName("script")[0]||document.querySelector("body");n.id="fathom-script",n.async=!0,n.setAttribute("data-site",e),n.src=t&&t.url?t.url:"https://cdn.usefathom.com/script.js",t&&(t.auto!==void 0&&n.setAttribute("data-auto",`${t.auto}`),t.honorDNT!==void 0&&n.setAttribute("data-honor-dnt",`${t.honorDNT}`),t.canonical!==void 0&&n.setAttribute("data-canonical",`${t.canonical}`),t.includedDomains&&(ph(t.includedDomains),n.setAttribute("data-included-domains",t.includedDomains.join(","))),t.excludedDomains&&(ph(t.excludedDomains),n.setAttribute("data-excluded-domains",t.excludedDomains.join(","))),t.spa&&n.setAttribute("data-spa",t.spa)),n.onload=cB,o.parentNode.insertBefore(n,o)},f1=e=>{window.fathom?e?window.fathom.trackPageview(e):window.fathom.trackPageview():Dr({type:"trackPageview",opts:e})},p1=(e,t)=>{window.fathom?window.fathom.trackGoal(e,t):Dr({type:"trackGoal",code:e,cents:t})},h1=(e,t)=>{window.fathom?window.fathom.trackEvent(e,t):Dr({type:"trackEvent",eventName:e,opts:t})},m1=()=>{window.fathom?window.fathom.blockTrackingForMe():Dr({type:"blockTrackingForMe"})},g1=()=>{window.fathom?window.fathom.enableTrackingForMe():Dr({type:"enableTrackingForMe"})},dB=()=>{const e=localStorage.getItem("blockFathomTracking");return e!==null?e!=="true":!0},v1=e=>{window.fathom?window.fathom.setSite(e):Dr({type:"setSite",id:e})};const fB=Object.freeze(Object.defineProperty({__proto__:null,blockTrackingForMe:m1,enableTrackingForMe:g1,isTrackingEnabled:dB,load:d1,setSite:v1,trackEvent:h1,trackGoal:p1,trackPageview:f1},Symbol.toStringTag,{value:"Module"}));function pB(e){return(...t)=>e(...t)}const hB=["blockTrackingForMe","enableTrackingForMe","isTrackingEnabled","setSite","trackEvent","trackPageview"];function mB(){const e=hB.map(t=>[t,pB(fB[t])]);return Object.fromEntries(e)}const gB=tn(()=>{const{fathom:{siteId:e,config:t}}=Qt().public;if(e&&(d1(e,t),!t?.manual)){const{trackPageview:n}=mB(),o=Fn();Ce(()=>o.path,()=>{n()})}});var fs={inherit:"inherit",current:"currentcolor",transparent:"transparent",black:"#000",white:"#fff",slate:{50:"oklch(98.4% 0.003 247.858)",100:"oklch(96.8% 0.007 247.896)",200:"oklch(92.9% 0.013 255.508)",300:"oklch(86.9% 0.022 252.894)",400:"oklch(70.4% 0.04 256.788)",500:"oklch(55.4% 0.046 257.417)",600:"oklch(44.6% 0.043 257.281)",700:"oklch(37.2% 0.044 257.287)",800:"oklch(27.9% 0.041 260.031)",900:"oklch(20.8% 0.042 265.755)",950:"oklch(12.9% 0.042 264.695)"},gray:{50:"oklch(98.5% 0.002 247.839)",100:"oklch(96.7% 0.003 264.542)",200:"oklch(92.8% 0.006 264.531)",300:"oklch(87.2% 0.01 258.338)",400:"oklch(70.7% 0.022 261.325)",500:"oklch(55.1% 0.027 264.364)",600:"oklch(44.6% 0.03 256.802)",700:"oklch(37.3% 0.034 259.733)",800:"oklch(27.8% 0.033 256.848)",900:"oklch(21% 0.034 264.665)",950:"oklch(13% 0.028 261.692)"},zinc:{50:"oklch(98.5% 0 0)",100:"oklch(96.7% 0.001 286.375)",200:"oklch(92% 0.004 286.32)",300:"oklch(87.1% 0.006 286.286)",400:"oklch(70.5% 0.015 286.067)",500:"oklch(55.2% 0.016 285.938)",600:"oklch(44.2% 0.017 285.786)",700:"oklch(37% 0.013 285.805)",800:"oklch(27.4% 0.006 286.033)",900:"oklch(21% 0.006 285.885)",950:"oklch(14.1% 0.005 285.823)"},neutral:{50:"oklch(98.5% 0 0)",100:"oklch(97% 0 0)",200:"oklch(92.2% 0 0)",300:"oklch(87% 0 0)",400:"oklch(70.8% 0 0)",500:"oklch(55.6% 0 0)",600:"oklch(43.9% 0 0)",700:"oklch(37.1% 0 0)",800:"oklch(26.9% 0 0)",900:"oklch(20.5% 0 0)",950:"oklch(14.5% 0 0)"},stone:{50:"oklch(98.5% 0.001 106.423)",100:"oklch(97% 0.001 106.424)",200:"oklch(92.3% 0.003 48.717)",300:"oklch(86.9% 0.005 56.366)",400:"oklch(70.9% 0.01 56.259)",500:"oklch(55.3% 0.013 58.071)",600:"oklch(44.4% 0.011 73.639)",700:"oklch(37.4% 0.01 67.558)",800:"oklch(26.8% 0.007 34.298)",900:"oklch(21.6% 0.006 56.043)",950:"oklch(14.7% 0.004 49.25)"},mauve:{50:"oklch(98.5% 0 0)",100:"oklch(96% 0.003 325.6)",200:"oklch(92.2% 0.005 325.62)",300:"oklch(86.5% 0.012 325.68)",400:"oklch(71.1% 0.019 323.02)",500:"oklch(54.2% 0.034 322.5)",600:"oklch(43.5% 0.029 321.78)",700:"oklch(36.4% 0.029 323.89)",800:"oklch(26.3% 0.024 320.12)",900:"oklch(21.2% 0.019 322.12)",950:"oklch(14.5% 0.008 326)"},olive:{50:"oklch(98.8% 0.003 106.5)",100:"oklch(96.6% 0.005 106.5)",200:"oklch(93% 0.007 106.5)",300:"oklch(88% 0.011 106.6)",400:"oklch(73.7% 0.021 106.9)",500:"oklch(58% 0.031 107.3)",600:"oklch(46.6% 0.025 107.3)",700:"oklch(39.4% 0.023 107.4)",800:"oklch(28.6% 0.016 107.4)",900:"oklch(22.8% 0.013 107.4)",950:"oklch(15.3% 0.006 107.1)"},mist:{50:"oklch(98.7% 0.002 197.1)",100:"oklch(96.3% 0.002 197.1)",200:"oklch(92.5% 0.005 214.3)",300:"oklch(87.2% 0.007 219.6)",400:"oklch(72.3% 0.014 214.4)",500:"oklch(56% 0.021 213.5)",600:"oklch(45% 0.017 213.2)",700:"oklch(37.8% 0.015 216)",800:"oklch(27.5% 0.011 216.9)",900:"oklch(21.8% 0.008 223.9)",950:"oklch(14.8% 0.004 228.8)"},taupe:{50:"oklch(98.6% 0.002 67.8)",100:"oklch(96% 0.002 17.2)",200:"oklch(92.2% 0.005 34.3)",300:"oklch(86.8% 0.007 39.5)",400:"oklch(71.4% 0.014 41.2)",500:"oklch(54.7% 0.021 43.1)",600:"oklch(43.8% 0.017 39.3)",700:"oklch(36.7% 0.016 35.7)",800:"oklch(26.8% 0.011 36.5)",900:"oklch(21.4% 0.009 43.1)",950:"oklch(14.7% 0.004 49.3)"},red:{50:"oklch(97.1% 0.013 17.38)",100:"oklch(93.6% 0.032 17.717)",200:"oklch(88.5% 0.062 18.334)",300:"oklch(80.8% 0.114 19.571)",400:"oklch(70.4% 0.191 22.216)",500:"oklch(63.7% 0.237 25.331)",600:"oklch(57.7% 0.245 27.325)",700:"oklch(50.5% 0.213 27.518)",800:"oklch(44.4% 0.177 26.899)",900:"oklch(39.6% 0.141 25.723)",950:"oklch(25.8% 0.092 26.042)"},orange:{50:"oklch(98% 0.016 73.684)",100:"oklch(95.4% 0.038 75.164)",200:"oklch(90.1% 0.076 70.697)",300:"oklch(83.7% 0.128 66.29)",400:"oklch(75% 0.183 55.934)",500:"oklch(70.5% 0.213 47.604)",600:"oklch(64.6% 0.222 41.116)",700:"oklch(55.3% 0.195 38.402)",800:"oklch(47% 0.157 37.304)",900:"oklch(40.8% 0.123 38.172)",950:"oklch(26.6% 0.079 36.259)"},amber:{50:"oklch(98.7% 0.022 95.277)",100:"oklch(96.2% 0.059 95.617)",200:"oklch(92.4% 0.12 95.746)",300:"oklch(87.9% 0.169 91.605)",400:"oklch(82.8% 0.189 84.429)",500:"oklch(76.9% 0.188 70.08)",600:"oklch(66.6% 0.179 58.318)",700:"oklch(55.5% 0.163 48.998)",800:"oklch(47.3% 0.137 46.201)",900:"oklch(41.4% 0.112 45.904)",950:"oklch(27.9% 0.077 45.635)"},yellow:{50:"oklch(98.7% 0.026 102.212)",100:"oklch(97.3% 0.071 103.193)",200:"oklch(94.5% 0.129 101.54)",300:"oklch(90.5% 0.182 98.111)",400:"oklch(85.2% 0.199 91.936)",500:"oklch(79.5% 0.184 86.047)",600:"oklch(68.1% 0.162 75.834)",700:"oklch(55.4% 0.135 66.442)",800:"oklch(47.6% 0.114 61.907)",900:"oklch(42.1% 0.095 57.708)",950:"oklch(28.6% 0.066 53.813)"},lime:{50:"oklch(98.6% 0.031 120.757)",100:"oklch(96.7% 0.067 122.328)",200:"oklch(93.8% 0.127 124.321)",300:"oklch(89.7% 0.196 126.665)",400:"oklch(84.1% 0.238 128.85)",500:"oklch(76.8% 0.233 130.85)",600:"oklch(64.8% 0.2 131.684)",700:"oklch(53.2% 0.157 131.589)",800:"oklch(45.3% 0.124 130.933)",900:"oklch(40.5% 0.101 131.063)",950:"oklch(27.4% 0.072 132.109)"},green:{50:"oklch(98.2% 0.018 155.826)",100:"oklch(96.2% 0.044 156.743)",200:"oklch(92.5% 0.084 155.995)",300:"oklch(87.1% 0.15 154.449)",400:"oklch(79.2% 0.209 151.711)",500:"oklch(72.3% 0.219 149.579)",600:"oklch(62.7% 0.194 149.214)",700:"oklch(52.7% 0.154 150.069)",800:"oklch(44.8% 0.119 151.328)",900:"oklch(39.3% 0.095 152.535)",950:"oklch(26.6% 0.065 152.934)"},emerald:{50:"oklch(97.9% 0.021 166.113)",100:"oklch(95% 0.052 163.051)",200:"oklch(90.5% 0.093 164.15)",300:"oklch(84.5% 0.143 164.978)",400:"oklch(76.5% 0.177 163.223)",500:"oklch(69.6% 0.17 162.48)",600:"oklch(59.6% 0.145 163.225)",700:"oklch(50.8% 0.118 165.612)",800:"oklch(43.2% 0.095 166.913)",900:"oklch(37.8% 0.077 168.94)",950:"oklch(26.2% 0.051 172.552)"},teal:{50:"oklch(98.4% 0.014 180.72)",100:"oklch(95.3% 0.051 180.801)",200:"oklch(91% 0.096 180.426)",300:"oklch(85.5% 0.138 181.071)",400:"oklch(77.7% 0.152 181.912)",500:"oklch(70.4% 0.14 182.503)",600:"oklch(60% 0.118 184.704)",700:"oklch(51.1% 0.096 186.391)",800:"oklch(43.7% 0.078 188.216)",900:"oklch(38.6% 0.063 188.416)",950:"oklch(27.7% 0.046 192.524)"},cyan:{50:"oklch(98.4% 0.019 200.873)",100:"oklch(95.6% 0.045 203.388)",200:"oklch(91.7% 0.08 205.041)",300:"oklch(86.5% 0.127 207.078)",400:"oklch(78.9% 0.154 211.53)",500:"oklch(71.5% 0.143 215.221)",600:"oklch(60.9% 0.126 221.723)",700:"oklch(52% 0.105 223.128)",800:"oklch(45% 0.085 224.283)",900:"oklch(39.8% 0.07 227.392)",950:"oklch(30.2% 0.056 229.695)"},sky:{50:"oklch(97.7% 0.013 236.62)",100:"oklch(95.1% 0.026 236.824)",200:"oklch(90.1% 0.058 230.902)",300:"oklch(82.8% 0.111 230.318)",400:"oklch(74.6% 0.16 232.661)",500:"oklch(68.5% 0.169 237.323)",600:"oklch(58.8% 0.158 241.966)",700:"oklch(50% 0.134 242.749)",800:"oklch(44.3% 0.11 240.79)",900:"oklch(39.1% 0.09 240.876)",950:"oklch(29.3% 0.066 243.157)"},blue:{50:"oklch(97% 0.014 254.604)",100:"oklch(93.2% 0.032 255.585)",200:"oklch(88.2% 0.059 254.128)",300:"oklch(80.9% 0.105 251.813)",400:"oklch(70.7% 0.165 254.624)",500:"oklch(62.3% 0.214 259.815)",600:"oklch(54.6% 0.245 262.881)",700:"oklch(48.8% 0.243 264.376)",800:"oklch(42.4% 0.199 265.638)",900:"oklch(37.9% 0.146 265.522)",950:"oklch(28.2% 0.091 267.935)"},indigo:{50:"oklch(96.2% 0.018 272.314)",100:"oklch(93% 0.034 272.788)",200:"oklch(87% 0.065 274.039)",300:"oklch(78.5% 0.115 274.713)",400:"oklch(67.3% 0.182 276.935)",500:"oklch(58.5% 0.233 277.117)",600:"oklch(51.1% 0.262 276.966)",700:"oklch(45.7% 0.24 277.023)",800:"oklch(39.8% 0.195 277.366)",900:"oklch(35.9% 0.144 278.697)",950:"oklch(25.7% 0.09 281.288)"},violet:{50:"oklch(96.9% 0.016 293.756)",100:"oklch(94.3% 0.029 294.588)",200:"oklch(89.4% 0.057 293.283)",300:"oklch(81.1% 0.111 293.571)",400:"oklch(70.2% 0.183 293.541)",500:"oklch(60.6% 0.25 292.717)",600:"oklch(54.1% 0.281 293.009)",700:"oklch(49.1% 0.27 292.581)",800:"oklch(43.2% 0.232 292.759)",900:"oklch(38% 0.189 293.745)",950:"oklch(28.3% 0.141 291.089)"},purple:{50:"oklch(97.7% 0.014 308.299)",100:"oklch(94.6% 0.033 307.174)",200:"oklch(90.2% 0.063 306.703)",300:"oklch(82.7% 0.119 306.383)",400:"oklch(71.4% 0.203 305.504)",500:"oklch(62.7% 0.265 303.9)",600:"oklch(55.8% 0.288 302.321)",700:"oklch(49.6% 0.265 301.924)",800:"oklch(43.8% 0.218 303.724)",900:"oklch(38.1% 0.176 304.987)",950:"oklch(29.1% 0.149 302.717)"},fuchsia:{50:"oklch(97.7% 0.017 320.058)",100:"oklch(95.2% 0.037 318.852)",200:"oklch(90.3% 0.076 319.62)",300:"oklch(83.3% 0.145 321.434)",400:"oklch(74% 0.238 322.16)",500:"oklch(66.7% 0.295 322.15)",600:"oklch(59.1% 0.293 322.896)",700:"oklch(51.8% 0.253 323.949)",800:"oklch(45.2% 0.211 324.591)",900:"oklch(40.1% 0.17 325.612)",950:"oklch(29.3% 0.136 325.661)"},pink:{50:"oklch(97.1% 0.014 343.198)",100:"oklch(94.8% 0.028 342.258)",200:"oklch(89.9% 0.061 343.231)",300:"oklch(82.3% 0.12 346.018)",400:"oklch(71.8% 0.202 349.761)",500:"oklch(65.6% 0.241 354.308)",600:"oklch(59.2% 0.249 0.584)",700:"oklch(52.5% 0.223 3.958)",800:"oklch(45.9% 0.187 3.815)",900:"oklch(40.8% 0.153 2.432)",950:"oklch(28.4% 0.109 3.907)"},rose:{50:"oklch(96.9% 0.015 12.422)",100:"oklch(94.1% 0.03 12.58)",200:"oklch(89.2% 0.058 10.001)",300:"oklch(81% 0.117 11.638)",400:"oklch(71.2% 0.194 13.428)",500:"oklch(64.5% 0.246 16.439)",600:"oklch(58.6% 0.253 17.585)",700:"oklch(51.4% 0.222 16.935)",800:"oklch(45.5% 0.188 13.697)",900:"oklch(41% 0.159 10.272)",950:"oklch(27.1% 0.105 12.094)"}};const vB=[50,100,200,300,400,500,600,700,800,900,950];function yB(e,t){return e in fs&&typeof fs[e]=="object"&&t in fs[e]?fs[e][t]:""}function bB(e,t,n){const o=n?`${n}-`:"";return`${vB.map(u=>`--ui-color-${e}-${u}: var(--${o}color-${t==="neutral"?"old-neutral":t}-${u}, ${yB(t,u)});`).join(` `)}`}function hh(e,t){return`--ui-${e}: var(--ui-color-${e}-${t});`}const EB=tn(()=>{const e=qe(),t=Ie(),n=S(()=>{const{neutral:u,...r}=e.ui.colors,a=e.ui.prefix;return`@layer theme { :root, :host { ${Object.entries(e.ui.colors).map(([s,i])=>bB(s,i,a)).join(` @@ -36,4 +36,4 @@ Defaulting to \`null\`.`),null)}function f8(e){return mi(e)&&!Number.isNaN(e)&&e } `},rule:{compressed:"{key}:",compact:" {key}: ",expanded:` {key}: `}};function XP(e,t="expanded"){const n=[];for(let o=0;o"},"arrow-up-circle":{"width":24,"height":24,"body":""},"at-sign":{"width":24,"height":24,"body":""},"bell":{"width":24,"height":24,"body":""},"chevron-down":{"width":24,"height":24,"body":""},"database":{"width":24,"height":24,"body":""},"download":{"width":24,"height":24,"body":""},"heart-handshake":{"width":24,"height":24,"body":""},"messages-square":{"width":24,"height":24,"body":""},"paperclip":{"width":24,"height":24,"body":""},"puzzle":{"width":24,"height":24,"body":""},"radio":{"width":24,"height":24,"body":""},"scale":{"width":24,"height":24,"body":""},"settings":{"width":24,"height":24,"body":""},"shield":{"width":24,"height":24,"body":""},"sliders":{"width":24,"height":24,"body":""},"smile":{"width":24,"height":24,"body":""}}},{"prefix":"simple-icons","icons":{"github":{"width":24,"height":24,"body":""},"laravel":{"width":24,"height":24,"body":""}}},{"prefix":"custom","icons":{"ai":{"width":20,"height":20,"body":"artificial-intelligence"}}}]');for(const n of t)for(const[o,u]of Object.entries(n.icons))e(n.prefix?n.prefix+":"+o:o,u);Jh=!0}async function QP(e,t){if(!e)return null;Ry(Ca);const n=Uc(e);return n||(await Xw(e).catch(()=>(console.warn(`[Icon] failed to load icon \`${e}\``),null)),Uc(e))}function Iy(e){const t=qe().icon,n=(t.collections||[]).sort((o,u)=>u.length-o.length);return S(()=>{const o=e(),u=o.startsWith(t.cssSelectorPrefix)?o.slice(t.cssSelectorPrefix.length):o,r=t.aliases?.[u]||u;if(!r.includes(":")){const a=n.find(s=>r.startsWith(s+"-"));return a?a+":"+r.slice(a.length+1):r}return r})}function Ly(e,t){if(e!==!1)return e===!0||e===null?t:e}let jr;function eM(e){return e.replace(/([^\w-])/g,"\\$1")}function tM(){if(jr)return jr;jr=new Set;const e=n=>{if(n=n.replace(/^:where\((.*)\)$/,"$1").trim(),n.startsWith("."))return n},t=n=>{if(n?.length)for(const o of n){o?.cssRules&&t(o.cssRules);const u=o?.selectorText;if(typeof u=="string"){const r=e(u);r&&jr.add(r)}}};if(typeof document<"u")for(const n of document.styleSheets)try{const o=n.cssRules||n.rules;t(o)}catch{}return jr}const nM=N({name:"NuxtIconCss",props:{name:{type:String,required:!0},customize:{type:[Function,Boolean,null],default:null,required:!1}},setup(e){const t=Ie(),n=qe().icon,o=S(()=>e.name?n.cssSelectorPrefix+e.name:"");function u(s){if(!s)return;const i=Uc(s);if(i)return i;const c=t.payload?.data?.[s];if(c)return Ca(s,c),c}const r=S(()=>"."+eM(o.value));function a(s,i=!0){let c=r.value;n.cssWherePseudo&&(c=`:where(${c})`);const l=JP(s,{iconSelector:c,format:"compressed",customise:Ly(e.customize,n.customize)});return n.cssLayer&&i?`@layer ${n.cssLayer} { ${l} }`:l}{const s=tM();async function i(c){if(s.has(r.value)||typeof document>"u")return;const l=document.createElement("style");l.textContent=a(c);const d=document.head.querySelector('style, link[rel="stylesheet"]');d?document.head.insertBefore(l,d):document.head.appendChild(l),s.add(r.value)}Ce(()=>e.name,()=>{if(s.has(r.value))return;const c=u(e.name);c?i(c):QP(e.name).then(l=>{l&&i(l)}).catch(()=>null)},{immediate:!0})}return()=>ze("span",{class:["iconify",o.value]})}}),oM=N({name:"NuxtIconSvg",props:{name:{type:String,required:!0},customize:{type:[Function,Boolean,null],default:null,required:!1}},setup(e,{slots:t}){const n=Ie(),o=qe().icon,u=Iy(()=>e.name),r="i-"+u.value;if(u.value){const a=n.payload.data[r];a?Ca(u.value,a):Ry(Ca)}return()=>ze(cA,{icon:u.value,ssr:!0,customise:Ly(e.customize,o.customize)},t)}}),qy=N({name:"NuxtIcon",props:{name:{type:String,required:!0},mode:{type:String,required:!1,default:null},size:{type:[Number,String],required:!1,default:null},customize:{type:[Function,Boolean,null],default:null,required:!1}},setup(e,{slots:t}){const n=Ie(),o=qe().icon,u=Iy(()=>e.name),r=S(()=>n.vueApp?.component(u.value)||((e.mode||o.mode)==="svg"?oM:nM)),a=S(()=>{const s=e.size||o.size;return s?{fontSize:Number.isNaN(+s)?s:s+"px"}:null});return()=>ze(r.value,{...o.attrs,name:u.value,class:o.class,style:a.value,customize:e.customize},t)}}),uM=Object.freeze(Object.defineProperty({__proto__:null,default:qy},Symbol.toStringTag,{value:"Module"})),vn={__name:"UIcon",props:{name:{type:null,required:!0},mode:{type:String,required:!1},size:{type:[String,Number],required:!1},customize:{type:[Function,Boolean,null],required:!1}},setup(e){const n=on(fn(e,"name","mode","size","customize"));return(o,u)=>{const r=qy;return typeof e.name=="string"?(D(),T(r,De(G({key:0},h(n))),null,16)):(D(),T(ln(e.name),{key:1}))}}};async function rM(e,t){return await aM(t).catch(o=>(console.error("Failed to get image meta for "+t,o+""),{width:0,height:0,ratio:0}))}async function aM(e){if(typeof Image>"u")throw new TypeError("Image not supported");return new Promise((t,n)=>{const o=new Image;o.onload=()=>{const u={width:o.width,height:o.height,ratio:o.width/o.height};t(u)},o.onerror=u=>n(u),o.src=e})}function Qn(e=""){if(typeof e=="number")return e;if(typeof e=="string"&&e.replace("px","").match(/^\d+$/g))return Number.parseInt(e,10)}function sM(e=""){if(e===void 0||!e.length)return[];const t=new Set;for(const n of e.split(" ")){const o=Number.parseInt(n.replace("x",""));o&&t.add(o)}return Array.from(t)}function iM(e){if(e.length===0)throw new Error("`densities` must not be empty, configure to `1` to render regular size only (DPR 1.0)")}function lM(e){const t={};if(typeof e=="string")for(const n of e.split(/[\s,]+/).filter(o=>o)){const o=n.split(":");o.length!==2?t["1px"]=o[0].trim():t[o[0].trim()]=o[1].trim()}else Object.assign(t,e);return t}function cM(e){const t={options:e},n=(u,r={})=>$y(t,u,r),o=(u,r={},a={})=>n(u,{...a,modifiers:Ot(r,a.modifiers||{})}).url;for(const u in e.presets)o[u]=(r,a,s)=>o(r,a,{...e.presets[u],...s});return o.options=e,o.getImage=n,o.getMeta=(u,r)=>dM(t,u,r),o.getSizes=(u,r)=>hM(t,u,r),t.$img=o,o}async function dM(e,t,n){const o=$y(e,t,{...n});return typeof o.getMeta=="function"?await o.getMeta():await rM(e,o.url)}function $y(e,t,n){if(t&&typeof t!="string")throw new TypeError(`input must be a string (received ${typeof t}: ${JSON.stringify(t)})`);if(!t||t.startsWith("data:"))return{url:t};const{provider:o,defaults:u}=fM(e,n.provider||e.options.provider),r=pM(e,n.preset);if(t=Tn(t)?t:L3(t),!o.supportsAlias){for(const c in e.options.alias)if(t.startsWith(c)){const l=e.options.alias[c];l&&(t=Cr(l,t.slice(c.length)))}}if(o.validateDomains&&Tn(t)){const c=Hi(t).host;if(!e.options.domains.find(l=>l===c))return{url:t}}const a=Ot(n,r,u);a.modifiers={...a.modifiers};const s=a.modifiers.format;a.modifiers?.width&&(a.modifiers.width=Qn(a.modifiers.width)),a.modifiers?.height&&(a.modifiers.height=Qn(a.modifiers.height));const i=o.getImage(t,a,e);return i.format=i.format||s||"",i}function fM(e,t){const n=e.options.providers[t];if(!n)throw new Error("Unknown provider: "+t);return n}function pM(e,t){if(!t)return{};if(!e.options.presets[t])throw new Error("Unknown preset: "+t);return e.options.presets[t]}function hM(e,t,n){const o=Qn(n.modifiers?.width),u=Qn(n.modifiers?.height),r=lM(n.sizes),a=n.densities?.trim()?sM(n.densities.trim()):e.options.densities;iM(a);const s=o&&u?u/o:0,i=[],c=[];if(Object.keys(r).length>=1){for(const m in r){const g=Qh(m,String(r[m]),u,s,e);if(g!==void 0){i.push({size:g.size,screenMaxWidth:g.screenMaxWidth,media:`(max-width: ${g.screenMaxWidth}px)`});for(const E of a)c.push({width:g._cWidth*E,src:e4(e,t,n,g,E)})}}mM(i)}else for(const m of a){const g=Object.keys(r)[0];let E=g?Qh(g,String(r[g]),u,s,e):void 0;E===void 0&&(E={size:"",screenMaxWidth:0,_cWidth:n.modifiers?.width,_cHeight:n.modifiers?.height}),c.push({width:m,src:e4(e,t,n,E,m)})}gM(c);const l=c[c.length-1],d=i.length?i.map(m=>`${m.media?m.media+" ":""}${m.size}`).join(", "):void 0,f=d?"w":"x",p=c.map(m=>`${m.src} ${m.width}${f}`).join(", ");return{sizes:d,srcset:p,src:l?.src}}function Qh(e,t,n,o,u){const r=u.options.screens&&u.options.screens[e]||Number.parseInt(e),a=t.endsWith("vw");if(!a&&/^\d+$/.test(t)&&(t=t+"px"),!a&&!t.endsWith("px"))return;let s=Number.parseInt(t);if(!r||!s)return;a&&(s=Math.round(s/100*r));const i=o?Math.round(s*o):n;return{size:t,screenMaxWidth:r,_cWidth:s,_cHeight:i}}function e4(e,t,n,o,u){return e.$img(t,{...n.modifiers,width:o._cWidth?o._cWidth*u:void 0,height:o._cHeight?o._cHeight*u:void 0},n)}function mM(e){e.sort((n,o)=>n.screenMaxWidth-o.screenMaxWidth);let t=null;for(let n=e.length-1;n>=0;n--){const o=e[n];o.media===t&&e.splice(n,1),t=o.media}for(let n=0;nn.width-o.width);let t=null;for(let n=e.length-1;n>=0;n--){const o=e[n];o.width===t&&e.splice(n,1),t=o.width}}const vM=e=>({url:e}),yM=Object.freeze(Object.defineProperty({__proto__:null,getImage:vM},Symbol.toStringTag,{value:"Module"})),bM={screens:{xs:320,sm:640,md:768,lg:1024,xl:1280,xxl:1536,"2xl":1536},presets:{},provider:"none",domains:[],alias:{},densities:[1,2],format:["webp"],providers:{none:{provider:yM,defaults:{}}}},Ny=e=>{const t=Qt(),n=Ie();return n.$img||n._img||(n._img=cM({...bM,event:n.ssrContext?.event,nuxt:{baseURL:t.app.baseURL},runtimeConfig:t}))};function EM(e){performance?.mark?.("mark_feature_usage",{detail:{feature:e}})}const CM={src:{type:String,required:!1},format:{type:String,required:!1},quality:{type:[Number,String],required:!1},background:{type:String,required:!1},fit:{type:String,required:!1},modifiers:{type:Object,required:!1},preset:{type:String,required:!1},provider:{type:String,required:!1},sizes:{type:[Object,String],required:!1},densities:{type:String,required:!1},preload:{type:[Boolean,Object],required:!1},width:{type:[String,Number],required:!1},height:{type:[String,Number],required:!1},alt:{type:String,required:!1},referrerpolicy:{type:String,required:!1},usemap:{type:String,required:!1},longdesc:{type:String,required:!1},ismap:{type:Boolean,required:!1},loading:{type:String,required:!1,validator:e=>["lazy","eager"].includes(e)},crossorigin:{type:[Boolean,String],required:!1,validator:e=>["anonymous","use-credentials","",!0,!1].includes(e)},decoding:{type:String,required:!1,validator:e=>["async","auto","sync"].includes(e)},nonce:{type:[String],required:!1}},xM=e=>{const t=S(()=>({provider:e.provider,preset:e.preset})),n=S(()=>({width:Qn(e.width),height:Qn(e.height),alt:e.alt,referrerpolicy:e.referrerpolicy,usemap:e.usemap,longdesc:e.longdesc,ismap:e.ismap,crossorigin:e.crossorigin===!0?"anonymous":e.crossorigin||void 0,loading:e.loading,decoding:e.decoding,nonce:e.nonce})),o=Ny(),u=S(()=>({...e.modifiers,width:Qn(e.width),height:Qn(e.height),format:e.format,quality:e.quality||o.options.quality,background:e.background,fit:e.fit}));return{options:t,attrs:n,modifiers:u}},DM={...CM,placeholder:{type:[Boolean,String,Number,Array],required:!1},placeholderClass:{type:String,required:!1},custom:{type:Boolean,required:!1}},wM=["src"],AM=N({__name:"NuxtImg",props:DM,emits:["load","error"],setup(e,{emit:t}){const n=e,o=zg(),u=t,r=!1,a=Ny(),s=xM(n),i=L(!1),c=L(),l=S(()=>a.getSizes(n.src,{...s.options.value,sizes:n.sizes,densities:n.densities,modifiers:{...s.modifiers.value,width:Qn(n.width),height:Qn(n.height)}})),d=S(()=>{const b={...s.attrs.value,"data-nuxt-img":""};return(!n.placeholder||i.value)&&(b.sizes=l.value.sizes,b.srcset=l.value.srcset),b}),f=S(()=>{let b=n.placeholder;if(b===""&&(b=!0),!b||i.value)return!1;if(typeof b=="string")return b;const y=Array.isArray(b)?b:typeof b=="number"?[b,b]:[10,10];return a(n.src,{...s.modifiers.value,width:y[0],height:y[1],quality:y[2]||50,blur:y[3]||3},s.options.value)}),p=S(()=>n.sizes?l.value.src:a(n.src,s.modifiers.value,s.options.value)),m=S(()=>f.value?f.value:p.value),E=Ie().isHydrating;return je(()=>{if(f.value||n.custom){const b=new Image;p.value&&(b.src=p.value),n.sizes&&(b.sizes=l.value.sizes||"",b.srcset=l.value.srcset),b.onload=y=>{i.value=!0,u("load",y)},b.onerror=y=>{u("error",y)},EM("nuxt-image");return}c.value&&(c.value.complete&&E&&(c.value.getAttribute("data-error")?u("error",new Event("error")):u("load",new Event("load"))),c.value.onload=b=>{u("load",b)},c.value.onerror=b=>{u("error",b)})}),(b,y)=>b.custom?M(b.$slots,"default",De(G({key:1},{...h(r)?{onerror:"this.setAttribute('data-error', 1)"}:{},imgAttrs:{...d.value,...h(o)},isLoaded:i.value,src:m.value}))):(D(),le("img",G({key:0,ref_key:"imgEl",ref:c,class:f.value&&!i.value?b.placeholderClass:void 0},{...h(r)?{onerror:"this.setAttribute('data-error', 1)"}:{},...d.value,...h(o)},{src:m.value}),null,16,wM))}}),h0=Object.assign(AM,{__name:"NuxtImg"}),t4=Symbol("nuxt-ui.avatar-group");function jy(e){const t=Ve(t4,void 0),n=S(()=>e.size??t?.value.size);return St(t4,S(()=>({size:n.value}))),{size:n}}const BM={slots:{root:"relative inline-flex items-center justify-center shrink-0",base:"rounded-full ring ring-bg flex items-center justify-center text-inverted font-medium whitespace-nowrap"},variants:{color:{primary:"bg-primary",secondary:"bg-secondary",success:"bg-success",info:"bg-info",warning:"bg-warning",error:"bg-error",neutral:"bg-inverted"},size:{"3xs":"h-[4px] min-w-[4px] text-[4px]","2xs":"h-[5px] min-w-[5px] text-[5px]",xs:"h-[6px] min-w-[6px] text-[6px]",sm:"h-[7px] min-w-[7px] text-[7px]",md:"h-[8px] min-w-[8px] text-[8px]",lg:"h-[9px] min-w-[9px] text-[9px]",xl:"h-[10px] min-w-[10px] text-[10px]","2xl":"h-[11px] min-w-[11px] text-[11px]","3xl":"h-[12px] min-w-[12px] text-[12px]"},position:{"top-right":"top-0 right-0","bottom-right":"bottom-0 right-0","top-left":"top-0 left-0","bottom-left":"bottom-0 left-0"},inset:{false:""},standalone:{false:"absolute"}},compoundVariants:[{position:"top-right",inset:!1,class:"-translate-y-1/2 translate-x-1/2 transform"},{position:"bottom-right",inset:!1,class:"translate-y-1/2 translate-x-1/2 transform"},{position:"top-left",inset:!1,class:"-translate-y-1/2 -translate-x-1/2 transform"},{position:"bottom-left",inset:!1,class:"translate-y-1/2 -translate-x-1/2 transform"}],defaultVariants:{size:"md",color:"primary",position:"top-right"}},_M=Object.assign({inheritAttrs:!1},{__name:"UChip",props:Kg({as:{type:null,required:!1},text:{type:[String,Number],required:!1},color:{type:null,required:!1},size:{type:null,required:!1},position:{type:null,required:!1},inset:{type:Boolean,required:!1,default:!1},standalone:{type:Boolean,required:!1,default:!1},class:{type:null,required:!1},ui:{type:Object,required:!1}},{show:{type:Boolean,default:!0},showModifiers:{}}),emits:["update:show"],setup(e){const t=e,n=Xg(e,"show",{type:Boolean,default:!0}),{size:o}=jy(t),u=qe(),r=Ct("chip",t),a=S(()=>Fe({extend:Fe(BM),...u.ui?.chip||{}})({color:t.color,size:o.value,position:t.position,inset:t.inset,standalone:t.standalone}));return(s,i)=>(D(),T(h(Ae),{as:e.as,"data-slot":"root",class:oe(a.value.root({class:[h(r)?.root,t.class]}))},{default:k(()=>[z(h(xa),De(ke(s.$attrs)),{default:k(()=>[M(s.$slots,"default")]),_:3},16),n.value?(D(),le("span",{key:0,"data-slot":"base",class:oe(a.value.base({class:h(r)?.base}))},[M(s.$slots,"content",{},()=>[Qe(Me(e.text),1)])],2)):ue("",!0)]),_:3},8,["as","class"]))}}),kM={slots:{root:"inline-flex items-center justify-center shrink-0 select-none rounded-full align-middle bg-elevated",image:"h-full w-full rounded-[inherit] object-cover",fallback:"font-medium leading-none text-muted truncate",icon:"text-muted shrink-0"},variants:{size:{"3xs":{root:"size-4 text-[8px]"},"2xs":{root:"size-5 text-[10px]"},xs:{root:"size-6 text-xs"},sm:{root:"size-7 text-sm"},md:{root:"size-8 text-base"},lg:{root:"size-9 text-lg"},xl:{root:"size-10 text-xl"},"2xl":{root:"size-11 text-[22px]"},"3xl":{root:"size-12 text-2xl"}}},defaultVariants:{size:"md"}},cl=Object.assign({inheritAttrs:!1},{__name:"UAvatar",props:{as:{type:null,required:!1},src:{type:String,required:!1},alt:{type:String,required:!1},icon:{type:null,required:!1},text:{type:String,required:!1},size:{type:null,required:!1},chip:{type:[Boolean,Object],required:!1},class:{type:null,required:!1},style:{type:null,required:!1},ui:{type:Object,required:!1}},setup(e){const t=e,n=S(()=>typeof t.as=="string"||typeof t.as?.render=="function"?{root:t.as}:Ot(t.as,{root:"span"})),o=S(()=>t.text||(t.alt||"").split(" ").map(f=>f.charAt(0)).join("").substring(0,2)),u=qe(),r=Ct("avatar",t),{size:a}=jy(t),s=S(()=>Fe({extend:Fe(kM),...u.ui?.avatar||{}})({size:a.value})),i=S(()=>s.value.root({class:[r.value?.root,t.class]})),c=S(()=>{const f=i.value.split(" ").find(p=>/^size-\d+$/.test(p));if(f){const p=Number.parseFloat(f.split("-")[1]??"");if(!Number.isNaN(p))return p*4}return null}),l=L(!1);Ce(()=>t.src,()=>{l.value&&(l.value=!1)});function d(){l.value=!0}return(f,p)=>(D(),T(ln(t.chip?_M:h(Ae)),G({as:n.value.root},t.chip?typeof t.chip=="object"?{inset:!0,...t.chip}:{inset:!0}:{},{"data-slot":"root",class:i.value,style:t.style}),{default:k(()=>[e.src&&!l.value?(D(),T(ln(n.value.img||h(h0)),G({key:0,src:e.src,alt:e.alt,width:c.value,height:c.value},f.$attrs,{"data-slot":"image",class:s.value.image({class:h(r)?.image}),onError:d}),null,16,["src","alt","width","height","class"])):(D(),T(h(xa),De(G({key:1},f.$attrs)),{default:k(()=>[M(f.$slots,"default",{},()=>[e.icon?(D(),T(vn,{key:0,name:e.icon,"data-slot":"icon",class:oe(s.value.icon({class:h(r)?.icon}))},null,8,["name","class"])):(D(),le("span",{key:1,"data-slot":"fallback",class:oe(s.value.fallback({class:h(r)?.fallback}))},Me(o.value||" "),3))])]),_:3},16))]),_:3},16,["as","class","style"]))}}),Zd={__name:"ULinkBase",props:{as:{type:String,required:!1,default:"button"},type:{type:String,required:!1,default:"button"},disabled:{type:Boolean,required:!1},onClick:{type:[Function,Array],required:!1},href:{type:String,required:!1},navigate:{type:Function,required:!1},target:{type:[String,Object,null],required:!1},rel:{type:[String,Object,null],required:!1},active:{type:Boolean,required:!1},isExternal:{type:Boolean,required:!1}},setup(e){const t=e;function n(o){if(t.disabled){o.stopPropagation(),o.preventDefault();return}if(t.onClick)for(const u of Array.isArray(t.onClick)?t.onClick:[t.onClick])u(o);t.href&&t.navigate&&!t.isExternal&&t.navigate(o)}return(o,u)=>(D(),T(h(Ae),G(e.href?{as:"a",href:e.disabled?void 0:e.href,"aria-disabled":e.disabled?"true":void 0,role:e.disabled?"link":void 0,tabindex:e.disabled?-1:void 0}:e.as==="button"?{as:e.as,type:e.type,disabled:e.disabled}:{as:e.as},{rel:e.rel,target:e.target,onClick:n}),{default:k(()=>[M(o.$slots,"default")]),_:3},16,["rel","target"]))}},SM={base:"focus-visible:outline-primary",variants:{active:{true:"text-primary",false:"text-muted"},disabled:{true:"cursor-not-allowed opacity-75"}},compoundVariants:[{active:!1,disabled:!1,class:["hover:text-default","transition-colors"]}]},Xd=Object.assign({inheritAttrs:!1},{__name:"ULink",props:{as:{type:null,required:!1,default:"button"},type:{type:null,required:!1,default:"button"},disabled:{type:Boolean,required:!1},active:{type:Boolean,required:!1,default:void 0},exact:{type:Boolean,required:!1},exactQuery:{type:[Boolean,String],required:!1},exactHash:{type:Boolean,required:!1},inactiveClass:{type:String,required:!1},custom:{type:Boolean,required:!1},raw:{type:Boolean,required:!1},class:{type:null,required:!1},to:{type:null,required:!1},href:{type:null,required:!1},external:{type:Boolean,required:!1},target:{type:[String,Object,null],required:!1},rel:{type:[String,Object,null],required:!1},noRel:{type:Boolean,required:!1},prefetchedClass:{type:String,required:!1},prefetch:{type:Boolean,required:!1},prefetchOn:{type:[String,Object],required:!1},noPrefetch:{type:Boolean,required:!1},trailingSlash:{type:String,required:!1},activeClass:{type:String,required:!1},exactActiveClass:{type:String,required:!1},ariaCurrentValue:{type:String,required:!1,default:"page"},viewTransition:{type:Boolean,required:!1},replace:{type:Boolean,required:!1}},setup(e){const t=e,n=Fn(),o=qe(),u=on(Pu(t,"as","type","disabled","active","exact","exactQuery","exactHash","activeClass","inactiveClass","to","href","raw","custom","class")),r=S(()=>Fe({extend:Fe(SM),...Ot({variants:{active:{true:vi(o.ui?.link?.variants?.active?.true,t.activeClass),false:vi(o.ui?.link?.variants?.active?.false,t.inactiveClass)}}},o.ui?.link||{})})),a=S(()=>t.to??t.href);function s({route:c,isActive:l,isExactActive:d}){if(t.active!==void 0)return t.active;if(t.exactQuery==="partial"){if(!MP(c.query,n.query))return!1}else if(t.exactQuery===!0&&!Bu(c.query,n.query))return!1;return t.exactHash&&c.hash!==n.hash?!1:!!(t.exact&&d||!t.exact&&l)}function i({route:c,isActive:l,isExactActive:d}){const f=s({route:c,isActive:l,isExactActive:d});return t.raw?[t.class,f?t.activeClass:t.inactiveClass]:r.value({class:t.class,active:f,disabled:t.disabled})}return(c,l)=>{const d=Gv;return D(),T(d,G(h(u),{to:a.value,custom:""}),{default:k(({href:f,navigate:p,route:m,isActive:g,isExactActive:E,...b})=>[e.custom?M(c.$slots,"default",De(G({key:0},{...c.$attrs,...e.exact&&E?{"aria-current":t.ariaCurrentValue}:{},as:e.as,type:e.type,disabled:e.disabled,href:f,navigate:p,rel:b.rel,target:b.target,isExternal:b.isExternal,active:s({route:m,isActive:g,isExactActive:E})}))):(D(),T(Zd,G({key:1},{...c.$attrs,...e.exact&&E?{"aria-current":t.ariaCurrentValue}:{},as:e.as,type:e.type,disabled:e.disabled,href:f,navigate:p,rel:b.rel,target:b.target,isExternal:b.isExternal},{class:i({route:m,isActive:g,isExactActive:E})}),{default:k(()=>[M(c.$slots,"default",{active:s({route:m,isActive:g,isExactActive:E})})]),_:2},1040,["class"]))]),_:3},16,["to"])}}}),TM={slots:{base:["rounded-md font-medium inline-flex items-center disabled:cursor-not-allowed aria-disabled:cursor-not-allowed disabled:opacity-75 aria-disabled:opacity-75","transition-colors"],label:"truncate",leadingIcon:"shrink-0",leadingAvatar:"shrink-0",leadingAvatarSize:"",trailingIcon:"shrink-0"},variants:{fieldGroup:{horizontal:"not-only:first:rounded-e-none not-only:last:rounded-s-none not-last:not-first:rounded-none focus-visible:z-[1]",vertical:"not-only:first:rounded-b-none not-only:last:rounded-t-none not-last:not-first:rounded-none focus-visible:z-[1]"},color:{primary:"",secondary:"",success:"",info:"",warning:"",error:"",neutral:""},variant:{solid:"",outline:"",soft:"",subtle:"",ghost:"",link:""},size:{xs:{base:"px-2 py-1 text-xs gap-1",leadingIcon:"size-4",leadingAvatarSize:"3xs",trailingIcon:"size-4"},sm:{base:"px-2.5 py-1.5 text-xs gap-1.5",leadingIcon:"size-4",leadingAvatarSize:"3xs",trailingIcon:"size-4"},md:{base:"px-2.5 py-1.5 text-sm gap-1.5",leadingIcon:"size-5",leadingAvatarSize:"2xs",trailingIcon:"size-5"},lg:{base:"px-3 py-2 text-sm gap-2",leadingIcon:"size-5",leadingAvatarSize:"2xs",trailingIcon:"size-5"},xl:{base:"px-3 py-2 text-base gap-2",leadingIcon:"size-6",leadingAvatarSize:"xs",trailingIcon:"size-6"}},block:{true:{base:"w-full justify-center",trailingIcon:"ms-auto"}},square:{true:""},leading:{true:""},trailing:{true:""},loading:{true:""},active:{true:{base:""},false:{base:""}}},compoundVariants:[{color:"primary",variant:"solid",class:"text-inverted bg-primary hover:bg-primary/75 active:bg-primary/75 disabled:bg-primary aria-disabled:bg-primary focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-primary"},{color:"secondary",variant:"solid",class:"text-inverted bg-secondary hover:bg-secondary/75 active:bg-secondary/75 disabled:bg-secondary aria-disabled:bg-secondary focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-secondary"},{color:"success",variant:"solid",class:"text-inverted bg-success hover:bg-success/75 active:bg-success/75 disabled:bg-success aria-disabled:bg-success focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-success"},{color:"info",variant:"solid",class:"text-inverted bg-info hover:bg-info/75 active:bg-info/75 disabled:bg-info aria-disabled:bg-info focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-info"},{color:"warning",variant:"solid",class:"text-inverted bg-warning hover:bg-warning/75 active:bg-warning/75 disabled:bg-warning aria-disabled:bg-warning focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-warning"},{color:"error",variant:"solid",class:"text-inverted bg-error hover:bg-error/75 active:bg-error/75 disabled:bg-error aria-disabled:bg-error focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-error"},{color:"primary",variant:"outline",class:"ring ring-inset ring-primary/50 text-primary hover:bg-primary/10 active:bg-primary/10 disabled:bg-transparent aria-disabled:bg-transparent dark:disabled:bg-transparent dark:aria-disabled:bg-transparent focus:outline-none focus-visible:ring-2 focus-visible:ring-primary"},{color:"secondary",variant:"outline",class:"ring ring-inset ring-secondary/50 text-secondary hover:bg-secondary/10 active:bg-secondary/10 disabled:bg-transparent aria-disabled:bg-transparent dark:disabled:bg-transparent dark:aria-disabled:bg-transparent focus:outline-none focus-visible:ring-2 focus-visible:ring-secondary"},{color:"success",variant:"outline",class:"ring ring-inset ring-success/50 text-success hover:bg-success/10 active:bg-success/10 disabled:bg-transparent aria-disabled:bg-transparent dark:disabled:bg-transparent dark:aria-disabled:bg-transparent focus:outline-none focus-visible:ring-2 focus-visible:ring-success"},{color:"info",variant:"outline",class:"ring ring-inset ring-info/50 text-info hover:bg-info/10 active:bg-info/10 disabled:bg-transparent aria-disabled:bg-transparent dark:disabled:bg-transparent dark:aria-disabled:bg-transparent focus:outline-none focus-visible:ring-2 focus-visible:ring-info"},{color:"warning",variant:"outline",class:"ring ring-inset ring-warning/50 text-warning hover:bg-warning/10 active:bg-warning/10 disabled:bg-transparent aria-disabled:bg-transparent dark:disabled:bg-transparent dark:aria-disabled:bg-transparent focus:outline-none focus-visible:ring-2 focus-visible:ring-warning"},{color:"error",variant:"outline",class:"ring ring-inset ring-error/50 text-error hover:bg-error/10 active:bg-error/10 disabled:bg-transparent aria-disabled:bg-transparent dark:disabled:bg-transparent dark:aria-disabled:bg-transparent focus:outline-none focus-visible:ring-2 focus-visible:ring-error"},{color:"primary",variant:"soft",class:"text-primary bg-primary/10 hover:bg-primary/15 active:bg-primary/15 focus:outline-none focus-visible:bg-primary/15 disabled:bg-primary/10 aria-disabled:bg-primary/10"},{color:"secondary",variant:"soft",class:"text-secondary bg-secondary/10 hover:bg-secondary/15 active:bg-secondary/15 focus:outline-none focus-visible:bg-secondary/15 disabled:bg-secondary/10 aria-disabled:bg-secondary/10"},{color:"success",variant:"soft",class:"text-success bg-success/10 hover:bg-success/15 active:bg-success/15 focus:outline-none focus-visible:bg-success/15 disabled:bg-success/10 aria-disabled:bg-success/10"},{color:"info",variant:"soft",class:"text-info bg-info/10 hover:bg-info/15 active:bg-info/15 focus:outline-none focus-visible:bg-info/15 disabled:bg-info/10 aria-disabled:bg-info/10"},{color:"warning",variant:"soft",class:"text-warning bg-warning/10 hover:bg-warning/15 active:bg-warning/15 focus:outline-none focus-visible:bg-warning/15 disabled:bg-warning/10 aria-disabled:bg-warning/10"},{color:"error",variant:"soft",class:"text-error bg-error/10 hover:bg-error/15 active:bg-error/15 focus:outline-none focus-visible:bg-error/15 disabled:bg-error/10 aria-disabled:bg-error/10"},{color:"primary",variant:"subtle",class:"text-primary ring ring-inset ring-primary/25 bg-primary/10 hover:bg-primary/15 active:bg-primary/15 disabled:bg-primary/10 aria-disabled:bg-primary/10 focus:outline-none focus-visible:ring-2 focus-visible:ring-primary"},{color:"secondary",variant:"subtle",class:"text-secondary ring ring-inset ring-secondary/25 bg-secondary/10 hover:bg-secondary/15 active:bg-secondary/15 disabled:bg-secondary/10 aria-disabled:bg-secondary/10 focus:outline-none focus-visible:ring-2 focus-visible:ring-secondary"},{color:"success",variant:"subtle",class:"text-success ring ring-inset ring-success/25 bg-success/10 hover:bg-success/15 active:bg-success/15 disabled:bg-success/10 aria-disabled:bg-success/10 focus:outline-none focus-visible:ring-2 focus-visible:ring-success"},{color:"info",variant:"subtle",class:"text-info ring ring-inset ring-info/25 bg-info/10 hover:bg-info/15 active:bg-info/15 disabled:bg-info/10 aria-disabled:bg-info/10 focus:outline-none focus-visible:ring-2 focus-visible:ring-info"},{color:"warning",variant:"subtle",class:"text-warning ring ring-inset ring-warning/25 bg-warning/10 hover:bg-warning/15 active:bg-warning/15 disabled:bg-warning/10 aria-disabled:bg-warning/10 focus:outline-none focus-visible:ring-2 focus-visible:ring-warning"},{color:"error",variant:"subtle",class:"text-error ring ring-inset ring-error/25 bg-error/10 hover:bg-error/15 active:bg-error/15 disabled:bg-error/10 aria-disabled:bg-error/10 focus:outline-none focus-visible:ring-2 focus-visible:ring-error"},{color:"primary",variant:"ghost",class:"text-primary hover:bg-primary/10 active:bg-primary/10 focus:outline-none focus-visible:bg-primary/10 disabled:bg-transparent aria-disabled:bg-transparent dark:disabled:bg-transparent dark:aria-disabled:bg-transparent"},{color:"secondary",variant:"ghost",class:"text-secondary hover:bg-secondary/10 active:bg-secondary/10 focus:outline-none focus-visible:bg-secondary/10 disabled:bg-transparent aria-disabled:bg-transparent dark:disabled:bg-transparent dark:aria-disabled:bg-transparent"},{color:"success",variant:"ghost",class:"text-success hover:bg-success/10 active:bg-success/10 focus:outline-none focus-visible:bg-success/10 disabled:bg-transparent aria-disabled:bg-transparent dark:disabled:bg-transparent dark:aria-disabled:bg-transparent"},{color:"info",variant:"ghost",class:"text-info hover:bg-info/10 active:bg-info/10 focus:outline-none focus-visible:bg-info/10 disabled:bg-transparent aria-disabled:bg-transparent dark:disabled:bg-transparent dark:aria-disabled:bg-transparent"},{color:"warning",variant:"ghost",class:"text-warning hover:bg-warning/10 active:bg-warning/10 focus:outline-none focus-visible:bg-warning/10 disabled:bg-transparent aria-disabled:bg-transparent dark:disabled:bg-transparent dark:aria-disabled:bg-transparent"},{color:"error",variant:"ghost",class:"text-error hover:bg-error/10 active:bg-error/10 focus:outline-none focus-visible:bg-error/10 disabled:bg-transparent aria-disabled:bg-transparent dark:disabled:bg-transparent dark:aria-disabled:bg-transparent"},{color:"primary",variant:"link",class:"text-primary hover:text-primary/75 active:text-primary/75 disabled:text-primary aria-disabled:text-primary focus:outline-none focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-primary"},{color:"secondary",variant:"link",class:"text-secondary hover:text-secondary/75 active:text-secondary/75 disabled:text-secondary aria-disabled:text-secondary focus:outline-none focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-secondary"},{color:"success",variant:"link",class:"text-success hover:text-success/75 active:text-success/75 disabled:text-success aria-disabled:text-success focus:outline-none focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-success"},{color:"info",variant:"link",class:"text-info hover:text-info/75 active:text-info/75 disabled:text-info aria-disabled:text-info focus:outline-none focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-info"},{color:"warning",variant:"link",class:"text-warning hover:text-warning/75 active:text-warning/75 disabled:text-warning aria-disabled:text-warning focus:outline-none focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-warning"},{color:"error",variant:"link",class:"text-error hover:text-error/75 active:text-error/75 disabled:text-error aria-disabled:text-error focus:outline-none focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-error"},{color:"neutral",variant:"solid",class:"text-inverted bg-inverted hover:bg-inverted/90 active:bg-inverted/90 disabled:bg-inverted aria-disabled:bg-inverted focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-inverted"},{color:"neutral",variant:"outline",class:"ring ring-inset ring-accented text-default bg-default hover:bg-elevated active:bg-elevated disabled:bg-default aria-disabled:bg-default focus:outline-none focus-visible:ring-2 focus-visible:ring-inverted"},{color:"neutral",variant:"soft",class:"text-default bg-elevated hover:bg-accented/75 active:bg-accented/75 focus:outline-none focus-visible:bg-accented/75 disabled:bg-elevated aria-disabled:bg-elevated"},{color:"neutral",variant:"subtle",class:"ring ring-inset ring-accented text-default bg-elevated hover:bg-accented/75 active:bg-accented/75 disabled:bg-elevated aria-disabled:bg-elevated focus:outline-none focus-visible:ring-2 focus-visible:ring-inverted"},{color:"neutral",variant:"ghost",class:"text-default hover:bg-elevated active:bg-elevated focus:outline-none focus-visible:bg-elevated hover:disabled:bg-transparent dark:hover:disabled:bg-transparent hover:aria-disabled:bg-transparent dark:hover:aria-disabled:bg-transparent"},{color:"neutral",variant:"link",class:"text-muted hover:text-default active:text-default disabled:text-muted aria-disabled:text-muted focus:outline-none focus-visible:ring-inset focus-visible:ring-2 focus-visible:ring-inverted"},{size:"xs",square:!0,class:"p-1"},{size:"sm",square:!0,class:"p-1.5"},{size:"md",square:!0,class:"p-1.5"},{size:"lg",square:!0,class:"p-2"},{size:"xl",square:!0,class:"p-2"},{loading:!0,leading:!0,class:{leadingIcon:"animate-spin"}},{loading:!0,leading:!1,trailing:!0,class:{trailingIcon:"animate-spin"}}],defaultVariants:{color:"primary",variant:"solid",size:"md"}},Jt={__name:"UButton",props:{label:{type:String,required:!1},color:{type:null,required:!1},activeColor:{type:null,required:!1},variant:{type:null,required:!1},activeVariant:{type:null,required:!1},size:{type:null,required:!1},square:{type:Boolean,required:!1},block:{type:Boolean,required:!1},loadingAuto:{type:Boolean,required:!1},onClick:{type:[Function,Array],required:!1},class:{type:null,required:!1},ui:{type:Object,required:!1},icon:{type:null,required:!1},avatar:{type:Object,required:!1},leading:{type:Boolean,required:!1},leadingIcon:{type:null,required:!1},trailing:{type:Boolean,required:!1},trailingIcon:{type:null,required:!1},loading:{type:Boolean,required:!1},loadingIcon:{type:null,required:!1},as:{type:null,required:!1},type:{type:null,required:!1},disabled:{type:Boolean,required:!1},active:{type:Boolean,required:!1},exact:{type:Boolean,required:!1},exactQuery:{type:[Boolean,String],required:!1},exactHash:{type:Boolean,required:!1},inactiveClass:{type:String,required:!1},to:{type:null,required:!1},href:{type:null,required:!1},external:{type:Boolean,required:!1},target:{type:[String,Object,null],required:!1},rel:{type:[String,Object,null],required:!1},noRel:{type:Boolean,required:!1},prefetchedClass:{type:String,required:!1},prefetch:{type:Boolean,required:!1},prefetchOn:{type:[String,Object],required:!1},noPrefetch:{type:Boolean,required:!1},trailingSlash:{type:String,required:!1},activeClass:{type:String,required:!1},exactActiveClass:{type:String,required:!1},ariaCurrentValue:{type:String,required:!1},viewTransition:{type:Boolean,required:!1},replace:{type:Boolean,required:!1}},setup(e){const t=e,n=Ht(),o=qe(),u=Ct("button",t),{orientation:r,size:a}=Py(t),s=on(My(t)),i=L(!1),c=Ve(FP,void 0);async function l(b){i.value=!0;const y=Array.isArray(t.onClick)?t.onClick:[t.onClick];try{await Promise.all(y.map(v=>v?.(b)))}finally{i.value=!1}}const d=S(()=>t.loading||t.loadingAuto&&(i.value||c?.value&&t.type==="submit")),{isLeading:f,isTrailing:p,leadingIconName:m,trailingIconName:g}=Fy(S(()=>({...t,loading:d.value}))),E=S(()=>Fe({extend:Fe(TM),...Ot({variants:{active:{true:{base:vi(o.ui?.button?.variants?.active?.true?.base,t.activeClass)},false:{base:vi(o.ui?.button?.variants?.active?.false?.base,t.inactiveClass)}}}},o.ui?.button||{})})({color:t.color,variant:t.variant,size:a.value,loading:d.value,block:t.block,square:t.square||!n.default&&!t.label,leading:f.value,trailing:p.value,fieldGroup:r.value}));return(b,y)=>(D(),T(Xd,G({type:e.type,disabled:e.disabled||d.value},h(Kd)(h(s),["type","disabled","onClick"]),{custom:""}),{default:k(({active:v,...C})=>[z(Zd,G(C,{"data-slot":"base",class:E.value.base({class:[h(u)?.base,t.class],active:v,...v&&e.activeVariant?{variant:e.activeVariant}:{},...v&&e.activeColor?{color:e.activeColor}:{}}),onClick:l}),{default:k(()=>[M(b.$slots,"leading",{ui:E.value},()=>[h(f)&&h(m)?(D(),T(vn,{key:0,name:h(m),"data-slot":"leadingIcon",class:oe(E.value.leadingIcon({class:h(u)?.leadingIcon,active:v}))},null,8,["name","class"])):e.avatar?(D(),T(cl,G({key:1,size:h(u)?.leadingAvatarSize||E.value.leadingAvatarSize()},e.avatar,{"data-slot":"leadingAvatar",class:E.value.leadingAvatar({class:h(u)?.leadingAvatar,active:v})}),null,16,["size","class"])):ue("",!0)]),M(b.$slots,"default",{ui:E.value},()=>[e.label!==void 0&&e.label!==null?(D(),le("span",{key:0,"data-slot":"label",class:oe(E.value.label({class:h(u)?.label,active:v}))},Me(e.label),3)):ue("",!0)]),M(b.$slots,"trailing",{ui:E.value},()=>[h(p)&&h(g)?(D(),T(vn,{key:0,name:h(g),"data-slot":"trailingIcon",class:oe(E.value.trailingIcon({class:h(u)?.trailingIcon,active:v}))},null,8,["name","class"])):ue("",!0)])]),_:2},1040,["class"])]),_:3},16,["type","disabled"]))}},JV=Object.freeze(Object.defineProperty({__proto__:null,default:Jt},Symbol.toStringTag,{value:"Module"})),xs={meta:"",ctrl:"",alt:"",win:"⊞",command:"⌘",shift:"⇧",control:"⌃",option:"⌥",enter:"↵",delete:"⌦",backspace:"⌫",escape:"Esc",tab:"⇥",capslock:"⇪",arrowup:"↑",arrowright:"→",arrowdown:"↓",arrowleft:"←",pageup:"⇞",pagedown:"⇟",home:"↖",end:"↘"},FM=()=>{const e=S(()=>navigator&&navigator.userAgent&&navigator.userAgent.match(/Macintosh;/)),t=Tt({meta:" ",alt:" ",ctrl:" "});je(()=>{t.meta=e.value?xs.command:"Ctrl",t.ctrl=e.value?xs.control:"Ctrl",t.alt=e.value?xs.option:"Alt"});function n(o){if(o)return["meta","alt","ctrl"].includes(o)?t[o]:xs[o]||o}return{macOS:e,getKbdKey:n}},PM=wr(FM),MM={base:"inline-flex items-center justify-center px-1 rounded-sm font-medium font-sans uppercase",variants:{color:{primary:"",secondary:"",success:"",info:"",warning:"",error:"",neutral:""},variant:{solid:"",outline:"",soft:"",subtle:""},size:{sm:"h-4 min-w-[16px] text-[10px]",md:"h-5 min-w-[20px] text-[11px]",lg:"h-6 min-w-[24px] text-[12px]"}},compoundVariants:[{color:"primary",variant:"solid",class:"text-inverted bg-primary"},{color:"secondary",variant:"solid",class:"text-inverted bg-secondary"},{color:"success",variant:"solid",class:"text-inverted bg-success"},{color:"info",variant:"solid",class:"text-inverted bg-info"},{color:"warning",variant:"solid",class:"text-inverted bg-warning"},{color:"error",variant:"solid",class:"text-inverted bg-error"},{color:"primary",variant:"outline",class:"ring ring-inset ring-primary/50 text-primary"},{color:"secondary",variant:"outline",class:"ring ring-inset ring-secondary/50 text-secondary"},{color:"success",variant:"outline",class:"ring ring-inset ring-success/50 text-success"},{color:"info",variant:"outline",class:"ring ring-inset ring-info/50 text-info"},{color:"warning",variant:"outline",class:"ring ring-inset ring-warning/50 text-warning"},{color:"error",variant:"outline",class:"ring ring-inset ring-error/50 text-error"},{color:"primary",variant:"soft",class:"text-primary bg-primary/10"},{color:"secondary",variant:"soft",class:"text-secondary bg-secondary/10"},{color:"success",variant:"soft",class:"text-success bg-success/10"},{color:"info",variant:"soft",class:"text-info bg-info/10"},{color:"warning",variant:"soft",class:"text-warning bg-warning/10"},{color:"error",variant:"soft",class:"text-error bg-error/10"},{color:"primary",variant:"subtle",class:"text-primary ring ring-inset ring-primary/25 bg-primary/10"},{color:"secondary",variant:"subtle",class:"text-secondary ring ring-inset ring-secondary/25 bg-secondary/10"},{color:"success",variant:"subtle",class:"text-success ring ring-inset ring-success/25 bg-success/10"},{color:"info",variant:"subtle",class:"text-info ring ring-inset ring-info/25 bg-info/10"},{color:"warning",variant:"subtle",class:"text-warning ring ring-inset ring-warning/25 bg-warning/10"},{color:"error",variant:"subtle",class:"text-error ring ring-inset ring-error/25 bg-error/10"},{color:"neutral",variant:"solid",class:"text-inverted bg-inverted"},{color:"neutral",variant:"outline",class:"ring ring-inset ring-accented text-default bg-default"},{color:"neutral",variant:"soft",class:"text-default bg-elevated"},{color:"neutral",variant:"subtle",class:"ring ring-inset ring-accented text-default bg-elevated"}],defaultVariants:{variant:"outline",color:"neutral",size:"md"}},Vy={__name:"UKbd",props:{as:{type:null,required:!1,default:"kbd"},value:{type:null,required:!1},color:{type:null,required:!1},variant:{type:null,required:!1},size:{type:null,required:!1},class:{type:null,required:!1},ui:{type:Object,required:!1}},setup(e){const t=e,{getKbdKey:n}=PM(),o=qe(),u=Ct("kbd",t),r=S(()=>Fe({extend:Fe(MM),...o.ui?.kbd||{}}));return(a,s)=>(D(),T(h(Ae),{as:e.as,class:oe(r.value({class:[h(u)?.base,t.class],color:t.color,variant:t.variant,size:t.size}))},{default:k(()=>[M(a.$slots,"default",{},()=>[Qe(Me(h(n)(e.value)),1)])]),_:3},8,["as","class"]))}},zy=Symbol("nuxt-ui.portal-target");function Sr(e){const t=Ve(zy,void 0),n=S(()=>e.value===!0?t?.value:e.value),o=S(()=>typeof n.value=="boolean"?!n.value:!1),u=S(()=>typeof n.value=="boolean"?"body":n.value);return S(()=>({to:u.value,disabled:o.value}))}const OM={slots:{content:"flex items-center gap-1 bg-default text-highlighted shadow-sm rounded-sm ring ring-default h-6 px-2.5 py-1 text-xs select-none data-[state=delayed-open]:animate-[scale-in_100ms_ease-out] data-[state=closed]:animate-[scale-out_100ms_ease-in] origin-(--reka-tooltip-content-transform-origin) pointer-events-auto",arrow:"fill-bg stroke-default",text:"truncate",kbds:"hidden lg:inline-flex items-center shrink-0 gap-0.5 not-first-of-type:before:content-['·'] not-first-of-type:before:me-0.5",kbdsSize:"sm"}},RM={__name:"UTooltip",props:{text:{type:String,required:!1},kbds:{type:Array,required:!1},content:{type:Object,required:!1},arrow:{type:[Boolean,Object],required:!1},portal:{type:[Boolean,String],required:!1,skipCheck:!0,default:!0},reference:{type:null,required:!1},class:{type:null,required:!1},ui:{type:Object,required:!1},defaultOpen:{type:Boolean,required:!1},open:{type:Boolean,required:!1},delayDuration:{type:Number,required:!1},disableHoverableContent:{type:Boolean,required:!1},disableClosingTrigger:{type:Boolean,required:!1},disabled:{type:Boolean,required:!1},ignoreNonKeyboardFocus:{type:Boolean,required:!1}},emits:["update:open"],setup(e,{emit:t}){const n=e,o=t,u=Ht(),r=qe(),a=Ct("tooltip",n),s=Ua(),i=Et(fn(n,"defaultOpen","open","delayDuration","disableHoverableContent","disableClosingTrigger","ignoreNonKeyboardFocus"),o),c=Sr(at(()=>n.portal)),l=at(()=>Ot(n.content,s.content.value,{side:"bottom",sideOffset:8,collisionPadding:8})),d=at(()=>Ot(n.arrow,{rounded:!0})),f=S(()=>Fe({extend:Fe(OM),...r.ui?.tooltip||{}})({side:l.value.side}));return(p,m)=>(D(),T(h(nF),G(h(i),{disabled:!(e.text||e.kbds?.length||u.content)||n.disabled}),{default:k(({open:g})=>[u.default||e.reference?(D(),T(h(dF),G({key:0},p.$attrs,{"as-child":"",reference:e.reference,class:n.class}),{default:k(()=>[M(p.$slots,"default",{open:g})]),_:2},1040,["reference","class"])):ue("",!0),z(h(lF),De(ke(h(c))),{default:k(()=>[z(h(sF),G(l.value,{"data-slot":"content",class:f.value.content({class:[!u.default&&n.class,h(a)?.content]})}),{default:k(()=>[M(p.$slots,"content",{ui:f.value},()=>[e.text?(D(),le("span",{key:0,"data-slot":"text",class:oe(f.value.text({class:h(a)?.text}))},Me(e.text),3)):ue("",!0),e.kbds?.length?(D(),le("span",{key:1,"data-slot":"kbds",class:oe(f.value.kbds({class:h(a)?.kbds}))},[(D(!0),le(Se,null,dn(e.kbds,(E,b)=>(D(),T(Vy,G({key:b,size:h(a)?.kbdsSize||f.value.kbdsSize()},{ref_for:!0},typeof E=="string"?{value:E}:E),null,16,["size"]))),128))],2)):ue("",!0)]),e.arrow?(D(),T(h(Z8),G({key:0},d.value,{"data-slot":"arrow",class:f.value.arrow({class:h(a)?.arrow})}),null,16,["class"])):ue("",!0)]),_:3},16,["class"])]),_:3},16)]),_:3},16,["disabled"]))}},IM={slots:{base:"",label:"",trailing:"hidden lg:flex items-center gap-0.5 ms-auto"},variants:{collapsed:{true:{label:"hidden",trailing:"lg:hidden"}}}},Uy=Object.assign({inheritAttrs:!1},{__name:"UContentSearchButton",props:{icon:{type:null,required:!1},label:{type:String,required:!1},color:{type:null,required:!1,default:"neutral"},variant:{type:null,required:!1},collapsed:{type:Boolean,required:!1,default:!0},tooltip:{type:[Boolean,Object],required:!1,default:!1},kbds:{type:Array,required:!1,default:()=>["meta","k"]},ui:{type:Object,required:!1},class:{type:null,required:!1},activeColor:{type:null,required:!1},activeVariant:{type:null,required:!1},size:{type:null,required:!1},square:{type:Boolean,required:!1},block:{type:Boolean,required:!1},loadingAuto:{type:Boolean,required:!1},onClick:{type:[Function,Array],required:!1},avatar:{type:Object,required:!1},leading:{type:Boolean,required:!1},leadingIcon:{type:null,required:!1},trailing:{type:Boolean,required:!1},trailingIcon:{type:null,required:!1},loading:{type:Boolean,required:!1},loadingIcon:{type:null,required:!1},as:{type:null,required:!1},type:{type:null,required:!1},disabled:{type:Boolean,required:!1},exactActiveClass:{type:String,required:!1},viewTransition:{type:Boolean,required:!1}},setup(e){const t=e,n=Ht(),[o,u]=nr(),r=()=>Kd(n,["trailing"]),a=on(Pu(t,"icon","label","variant","collapsed","tooltip","kbds","class","ui")),s=at(()=>Ot(typeof t.tooltip=="boolean"?{}:t.tooltip,{delayDuration:0,content:{side:"right"}})),{t:i}=eu(),{open:c}=CF(),l=qe(),d=Ct("contentSearchButton",t),f=S(()=>Fe({extend:Fe(IM),...l.ui?.contentSearchButton||{}})({collapsed:t.collapsed}));return(p,m)=>(D(),le(Se,null,[z(h(o),null,{default:k(()=>[z(Jt,G({icon:e.icon||h(l).ui.icons.search,label:e.label||h(i)("contentSearchButton.label"),variant:e.variant||(e.collapsed?"ghost":"outline")},{...h(a),...e.collapsed?{square:!0,"aria-label":e.label||h(i)("contentSearchButton.label")}:{},...p.$attrs},{class:f.value.base({class:[h(d)?.base,t.class]}),ui:h(yF)(f.value,h(d)),onClick:m[0]||(m[0]=g=>c.value=!0)}),jg({trailing:k(({ui:g})=>[tt("div",{"data-slot":"trailing",class:oe(f.value.trailing({class:h(d)?.trailing}))},[M(p.$slots,"trailing",{ui:g},()=>[e.kbds?.length?(D(!0),le(Se,{key:0},dn(e.kbds,(E,b)=>(D(),T(Vy,G({key:b,variant:"subtle"},{ref_for:!0},typeof E=="string"?{value:E}:E),null,16))),128)):ue("",!0)])],2)]),_:2},[dn(r(),(g,E)=>({name:E,fn:k(b=>[M(p.$slots,E,De(ke(b)))])}))]),1040,["icon","label","variant","class","ui"])]),_:3}),e.collapsed&&e.tooltip?(D(),T(RM,G({key:0,text:e.label||h(i)("contentSearchButton.label")},s.value),{default:k(()=>[z(h(u))]),_:1},16,["text"])):(D(),T(h(u),{key:1}))],64))}}),dl=(e,t)=>{const n=e.__vccOpts||e;for(const[o,u]of t)n[o]=u;return n},LM={};function qM(e,t){const n=Uy;return D(),T(n,{collapsed:!1,class:"w-full",variant:"soft",ui:{leadingIcon:"size-4 mr-1"}})}const $M=Object.assign(dl(LM,[["render",qM]]),{__name:"AppHeaderCenter"}),NM=Object.assign({inheritAttrs:!1},{__name:"UColorModeImage",props:{dark:{type:String,required:!0},light:{type:String,required:!0}},setup(e){const t=e,n=S(()=>zh(t.light,Qt().app.baseURL)),o=S(()=>zh(t.dark,Qt().app.baseURL));return(u,r)=>(D(),le(Se,null,[(D(),T(ln(h(h0)),G({src:n.value,class:"dark:hidden"},u.$attrs),null,16,["src"])),(D(),T(ln(h(h0)),G({src:o.value,class:"hidden dark:block"},u.$attrs),null,16,["src"]))],64))}}),jM={key:1,class:"text-lg font-semibold"},VM=N({__name:"AppHeaderLogo",setup(e){const t=qe();return(n,o)=>{const u=NM;return h(t).docus?.header?.logo?.dark||h(t).docus?.header?.logo?.light?(D(),T(u,{key:0,light:h(t).docus?.header?.logo?.light||h(t).docus?.header?.logo?.dark,dark:h(t).docus?.header?.logo?.dark||h(t).docus?.header?.logo?.light,alt:h(t).docus?.header?.logo?.alt||h(t).docus?.title,class:"h-8 w-auto shrink-0"},null,8,["light","dark","alt"])):(D(),le("span",jM,Me(h(t).docus?.title||"Comments"),1))}}}),zM=Object.assign(VM,{__name:"AppHeaderLogo"}),QV={Root:ET,Trigger:GT,Portal:OT,Content:xT,Arrow:mT,Item:kT,Group:BT,Separator:NT,CheckboxItem:vT,ItemIndicator:TT,Label:PT,RadioGroup:IT,RadioItem:qT,Sub:VT,SubContent:UT,SubTrigger:KT,Filter:wT},UM={Root:QT,Trigger:i8,Portal:a8,Content:u8,Arrow:ZT},HM={Root:ZS,Trigger:pT,Portal:dT,Content:lT,Arrow:eT,Close:nT,Anchor:JS};function fl(e,t={}){const n=e.detail.originalEvent,o=n.target;if(!o?.isConnected){e.preventDefault();return}t.scrollable&&(n.offsetX>o.clientWidth||n.offsetY>o.clientHeight)&&e.preventDefault()}const KM={slots:{content:"bg-default shadow-lg rounded-md ring ring-default data-[state=open]:animate-[scale-in_100ms_ease-out] data-[state=closed]:animate-[scale-out_100ms_ease-in] origin-(--reka-popover-content-transform-origin) focus:outline-none pointer-events-auto",arrow:"fill-bg stroke-default"}},Hy={__name:"UPopover",props:{mode:{type:null,required:!1,default:"click"},content:{type:Object,required:!1},arrow:{type:[Boolean,Object],required:!1},portal:{type:[Boolean,String],required:!1,skipCheck:!0,default:!0},reference:{type:null,required:!1},dismissible:{type:Boolean,required:!1,default:!0},class:{type:null,required:!1},ui:{type:null,required:!1},defaultOpen:{type:Boolean,required:!1},open:{type:Boolean,required:!1},modal:{type:Boolean,required:!1},openDelay:{type:Number,required:!1,default:0},closeDelay:{type:Number,required:!1,default:0}},emits:["close:prevent","update:open"],setup(e,{emit:t}){const n=e,o=t,u=Ht(),r=qe(),a=Ct("popover",n),s=n.mode==="hover"?fn(n,"defaultOpen","open","openDelay","closeDelay"):fn(n,"defaultOpen","open","modal"),i=Et(s,o),c=Sr(at(()=>n.portal)),l=at(()=>Ot(n.content,{side:"bottom",sideOffset:8,collisionPadding:8})),d=S(()=>n.dismissible?{pointerDownOutside:fl}:["interactOutside","escapeKeyDown"].reduce((E,b)=>(E[b]=y=>{y.preventDefault(),o("close:prevent")},E),{})),f=at(()=>Ot(n.arrow,{rounded:!0})),p=S(()=>Fe({extend:Fe(KM),...r.ui?.popover||{}})({side:l.value.side})),m=S(()=>n.mode==="hover"?UM:HM);return(g,E)=>(D(),T(h(m).Root,De(ke(h(i))),{default:k(({open:b,close:y})=>[u.default||e.reference?(D(),T(h(m).Trigger,{key:0,"as-child":"",reference:e.reference,class:oe(n.class)},{default:k(()=>[M(g.$slots,"default",{open:b})]),_:2},1032,["reference","class"])):ue("",!0),"Anchor"in m.value&&u.anchor?(D(),T(h(m).Anchor,{key:1,"as-child":""},{default:k(()=>[M(g.$slots,"anchor",De(ke(y?{close:y}:{})))]),_:2},1024)):ue("",!0),z(h(m).Portal,De(ke(h(c))),{default:k(()=>[z(h(m).Content,G(l.value,{"data-slot":"content",class:p.value.content({class:[!u.default&&n.class,h(a)?.content]})},Oa(d.value)),{default:k(()=>[M(g.$slots,"content",De(ke(y?{close:y}:{}))),e.arrow?(D(),T(h(m).Arrow,G({key:0},f.value,{"data-slot":"arrow",class:p.value.arrow({class:h(a)?.arrow})}),null,16,["class"])):ue("",!0)]),_:2},1040,["class"])]),_:2},1040)]),_:3},16))}},WM={slots:{base:"font-medium inline-flex items-center",label:"truncate",leadingIcon:"shrink-0",leadingAvatar:"shrink-0",leadingAvatarSize:"",trailingIcon:"shrink-0"},variants:{fieldGroup:{horizontal:"not-only:first:rounded-e-none not-only:last:rounded-s-none not-last:not-first:rounded-none focus-visible:z-[1]",vertical:"not-only:first:rounded-b-none not-only:last:rounded-t-none not-last:not-first:rounded-none focus-visible:z-[1]"},color:{primary:"",secondary:"",success:"",info:"",warning:"",error:"",neutral:""},variant:{solid:"",outline:"",soft:"",subtle:""},size:{xs:{base:"text-[8px]/3 px-1 py-0.5 gap-1 rounded-sm",leadingIcon:"size-3",leadingAvatarSize:"3xs",trailingIcon:"size-3"},sm:{base:"text-[10px]/3 px-1.5 py-1 gap-1 rounded-sm",leadingIcon:"size-3",leadingAvatarSize:"3xs",trailingIcon:"size-3"},md:{base:"text-xs px-2 py-1 gap-1 rounded-md",leadingIcon:"size-4",leadingAvatarSize:"3xs",trailingIcon:"size-4"},lg:{base:"text-sm px-2 py-1 gap-1.5 rounded-md",leadingIcon:"size-5",leadingAvatarSize:"2xs",trailingIcon:"size-5"},xl:{base:"text-base px-2.5 py-1 gap-1.5 rounded-md",leadingIcon:"size-6",leadingAvatarSize:"2xs",trailingIcon:"size-6"}},square:{true:""}},compoundVariants:[{color:"primary",variant:"solid",class:"bg-primary text-inverted"},{color:"secondary",variant:"solid",class:"bg-secondary text-inverted"},{color:"success",variant:"solid",class:"bg-success text-inverted"},{color:"info",variant:"solid",class:"bg-info text-inverted"},{color:"warning",variant:"solid",class:"bg-warning text-inverted"},{color:"error",variant:"solid",class:"bg-error text-inverted"},{color:"primary",variant:"outline",class:"text-primary ring ring-inset ring-primary/50"},{color:"secondary",variant:"outline",class:"text-secondary ring ring-inset ring-secondary/50"},{color:"success",variant:"outline",class:"text-success ring ring-inset ring-success/50"},{color:"info",variant:"outline",class:"text-info ring ring-inset ring-info/50"},{color:"warning",variant:"outline",class:"text-warning ring ring-inset ring-warning/50"},{color:"error",variant:"outline",class:"text-error ring ring-inset ring-error/50"},{color:"primary",variant:"soft",class:"bg-primary/10 text-primary"},{color:"secondary",variant:"soft",class:"bg-secondary/10 text-secondary"},{color:"success",variant:"soft",class:"bg-success/10 text-success"},{color:"info",variant:"soft",class:"bg-info/10 text-info"},{color:"warning",variant:"soft",class:"bg-warning/10 text-warning"},{color:"error",variant:"soft",class:"bg-error/10 text-error"},{color:"primary",variant:"subtle",class:"bg-primary/10 text-primary ring ring-inset ring-primary/25"},{color:"secondary",variant:"subtle",class:"bg-secondary/10 text-secondary ring ring-inset ring-secondary/25"},{color:"success",variant:"subtle",class:"bg-success/10 text-success ring ring-inset ring-success/25"},{color:"info",variant:"subtle",class:"bg-info/10 text-info ring ring-inset ring-info/25"},{color:"warning",variant:"subtle",class:"bg-warning/10 text-warning ring ring-inset ring-warning/25"},{color:"error",variant:"subtle",class:"bg-error/10 text-error ring ring-inset ring-error/25"},{color:"neutral",variant:"solid",class:"text-inverted bg-inverted"},{color:"neutral",variant:"outline",class:"ring ring-inset ring-accented text-default bg-default"},{color:"neutral",variant:"soft",class:"text-default bg-elevated"},{color:"neutral",variant:"subtle",class:"ring ring-inset ring-accented text-default bg-elevated"},{size:"xs",square:!0,class:"p-0.5"},{size:"sm",square:!0,class:"p-1"},{size:"md",square:!0,class:"p-1"},{size:"lg",square:!0,class:"p-1"},{size:"xl",square:!0,class:"p-1"}],defaultVariants:{color:"primary",variant:"solid",size:"md"}},Ky={__name:"UBadge",props:{as:{type:null,required:!1,default:"span"},label:{type:[String,Number],required:!1},color:{type:null,required:!1},variant:{type:null,required:!1},size:{type:null,required:!1},square:{type:Boolean,required:!1},class:{type:null,required:!1},ui:{type:Object,required:!1},icon:{type:null,required:!1},avatar:{type:Object,required:!1},leading:{type:Boolean,required:!1},leadingIcon:{type:null,required:!1},trailing:{type:Boolean,required:!1},trailingIcon:{type:null,required:!1}},setup(e){const t=e,n=Ht(),o=qe(),u=Ct("badge",t),{orientation:r,size:a}=Py(t),{isLeading:s,isTrailing:i,leadingIconName:c,trailingIconName:l}=Fy(t),d=S(()=>Fe({extend:Fe(WM),...o.ui?.badge||{}})({color:t.color,variant:t.variant,size:a.value||t.size,square:t.square||!n.default&&!t.label,fieldGroup:r.value}));return(f,p)=>(D(),T(h(Ae),{as:e.as,"data-slot":"base",class:oe(d.value.base({class:[h(u)?.base,t.class]}))},{default:k(()=>[M(f.$slots,"leading",{ui:d.value},()=>[h(s)&&h(c)?(D(),T(vn,{key:0,name:h(c),"data-slot":"leadingIcon",class:oe(d.value.leadingIcon({class:h(u)?.leadingIcon}))},null,8,["name","class"])):e.avatar?(D(),T(cl,G({key:1,size:h(u)?.leadingAvatarSize||d.value.leadingAvatarSize()},e.avatar,{"data-slot":"leadingAvatar",class:d.value.leadingAvatar({class:h(u)?.leadingAvatar})}),null,16,["size","class"])):ue("",!0)]),M(f.$slots,"default",{ui:d.value},()=>[e.label!==void 0&&e.label!==null?(D(),le("span",{key:0,"data-slot":"label",class:oe(d.value.label({class:h(u)?.label}))},Me(e.label),3)):ue("",!0)]),M(f.$slots,"trailing",{ui:d.value},()=>[h(i)&&h(l)?(D(),T(vn,{key:0,name:h(l),"data-slot":"trailingIcon",class:oe(d.value.trailingIcon({class:h(u)?.trailingIcon}))},null,8,["name","class"])):ue("",!0)])]),_:3},8,["as","class"]))}},Ds=L([]),ws=L(!1),Zl=L(!1);function Wy(){const t=Qt().public.docsVersion||"1.x";async function n(){if(!(ws.value||Zl.value)){Zl.value=!0;try{const s=await fetch("/comments/versions.json");s.ok&&(Ds.value=await s.json())}catch(s){console.warn("Failed to load versions.json:",s)}finally{ws.value=!0,Zl.value=!1}}}const o=S(()=>Ds.value.find(s=>s.isLatest)),u=S(()=>Ds.value.find(s=>s.version===t)),r=S(()=>ws.value?u.value?.isLatest===!1:!1),a=S(()=>u.value?.title||t);return{versions:Ds,currentVersion:t,currentTitle:a,latestVersion:o,isOldVersion:r,isLoaded:ws,loadVersions:n}}const GM={class:"p-1"},YM=["onClick"],ZM=N({__name:"AppVersionSwitcher",setup(e){const{versions:t,currentVersion:n,currentTitle:o,loadVersions:u}=Wy();je(()=>u());function r(a){a.version!==n&&(window.location.href=a.path)}return(a,s)=>{const i=Jt,c=Hy,l=Ky;return h(t).length>1?(D(),le("div",{key:0,class:"relative",onClick:s[0]||(s[0]=bn(()=>{},["stop"]))},[z(c,null,{content:k(()=>[tt("div",GM,[(D(!0),le(Se,null,dn(h(t),d=>(D(),le("button",{key:d.version,class:oe(["w-full px-3 py-2 text-left text-sm rounded hover:bg-gray-100 dark:hover:bg-gray-800 flex items-center gap-2",{"font-medium text-primary":d.version===h(n)}]),onClick:f=>r(d)},Me(d.title),11,YM))),128))])]),default:k(()=>[z(i,{variant:"ghost",size:"sm",label:h(o),"trailing-icon":"i-lucide-chevron-down"},null,8,["label"])]),_:1})])):h(n)?(D(),T(l,{key:1,variant:"subtle",color:"neutral"},{default:k(()=>[Qe(Me(h(n)),1)]),_:1})):ue("",!0)}}}),XM=Object.assign(ZM,{__name:"AppVersionSwitcher"}),JM={};function QM(e,t){return D(),le("div")}const eO=Object.assign(dl(JM,[["render",QM]]),{__name:"AppHeaderCTA"}),pl=()=>{const e=Qt().public,t=Ie(),n=L(!!e.i18n);if(!n.value){const a=t.$locale||"en",s=t.$localeMessages||{};return{isEnabled:n,locale:L(a),locales:[],localePath:i=>i,switchLocalePath:()=>{},t:i=>i.split(".").reduce((l,d)=>l?.[d],s)}}const o=t.$i18n?.locale||L("en"),u=t.$i18n?.t||(a=>a),r=e.docus?.filteredLocales||[];return{isEnabled:n,locale:o,locales:r,t:u,localePath:t.$localePath||(a=>a),switchLocalePath:t.$switchLocalePath||(()=>"")}},tO={class:"text-lg"},nO={class:"flex flex-col"},oO={class:"text-sm"},uO={class:"size-5 text-center"},rO=N({__name:"LanguageSelect",setup(e){const{locale:t,locales:n,switchLocalePath:o}=pl();function u(r){const a={ar:"sa",bn:"bd",ca:"es",ckb:"iq",cs:"cz",da:"dk",el:"gr",en:"gb",et:"ee",he:"il",hi:"in",hy:"am",ja:"jp",kk:"kz",km:"kh",ko:"kr",ky:"kg",lb:"lu",ms:"my",nb:"no",sl:"si",sv:"se",uk:"ua",ur:"pk",vi:"vn",es:"es",id:"id"},s=r.split("-")[0]?.toLowerCase()||r;return(a[s]||r.replace(/^.*-/,"").slice(0,2)).toUpperCase().split("").map(c=>String.fromCodePoint(127397+c.charCodeAt(0))).join("")}return(r,a)=>{const s=Jt,i=Gv,c=Hy;return D(),T(c,{content:{align:"end"}},{content:k(()=>[tt("ul",nO,[(D(!0),le(Se,null,dn(h(n),l=>(D(),le("li",{key:l.code},[z(i,{class:"flex justify-between py-1.5 px-2 gap-1 hover:bg-muted",to:h(o)(l.code),"aria-label":l.name},{default:k(()=>[tt("span",oO,Me(l.name),1),tt("span",uO,Me(u(l.code)),1)]),_:2},1032,["to","aria-label"])]))),128))])]),default:k(()=>[z(s,{color:"neutral",variant:"ghost",class:"size-8"},{trailing:k(()=>[tt("span",tO,Me(u(h(t))),1)]),_:1})]),_:1})}}}),aO=Object.assign(rO,{__name:"LanguageSelect"}),sO={slots:{root:"flex items-center align-center text-center",border:"",container:"font-medium text-default flex",icon:"shrink-0 size-5",avatar:"shrink-0",avatarSize:"2xs",label:"text-sm"},variants:{color:{primary:{border:"border-primary"},secondary:{border:"border-secondary"},success:{border:"border-success"},info:{border:"border-info"},warning:{border:"border-warning"},error:{border:"border-error"},neutral:{border:"border-default"}},orientation:{horizontal:{root:"w-full flex-row",border:"w-full",container:"mx-3 whitespace-nowrap"},vertical:{root:"h-full flex-col",border:"h-full",container:"my-2"}},size:{xs:"",sm:"",md:"",lg:"",xl:""},type:{solid:{border:"border-solid"},dashed:{border:"border-dashed"},dotted:{border:"border-dotted"}}},compoundVariants:[{orientation:"horizontal",size:"xs",class:{border:"border-t"}},{orientation:"horizontal",size:"sm",class:{border:"border-t-[2px]"}},{orientation:"horizontal",size:"md",class:{border:"border-t-[3px]"}},{orientation:"horizontal",size:"lg",class:{border:"border-t-[4px]"}},{orientation:"horizontal",size:"xl",class:{border:"border-t-[5px]"}},{orientation:"vertical",size:"xs",class:{border:"border-s"}},{orientation:"vertical",size:"sm",class:{border:"border-s-[2px]"}},{orientation:"vertical",size:"md",class:{border:"border-s-[3px]"}},{orientation:"vertical",size:"lg",class:{border:"border-s-[4px]"}},{orientation:"vertical",size:"xl",class:{border:"border-s-[5px]"}}],defaultVariants:{color:"neutral",size:"xs",type:"solid"}},iO={__name:"USeparator",props:{as:{type:null,required:!1},label:{type:String,required:!1},icon:{type:null,required:!1},avatar:{type:Object,required:!1},color:{type:null,required:!1},size:{type:null,required:!1},type:{type:null,required:!1},orientation:{type:null,required:!1,default:"horizontal"},class:{type:null,required:!1},ui:{type:null,required:!1},decorative:{type:Boolean,required:!1}},setup(e){const t=e,n=Ht(),o=qe(),u=Ct("separator",t),r=on(fn(t,"as","decorative","orientation")),a=S(()=>Fe({extend:Fe(sO),...o.ui?.separator||{}})({color:t.color,orientation:t.orientation,size:t.size,type:t.type}));return(s,i)=>(D(),T(h(E8),G(h(r),{"data-slot":"root",class:a.value.root({class:[h(u)?.root,t.class]})}),{default:k(()=>[tt("div",{"data-slot":"border",class:oe(a.value.border({class:h(u)?.border}))},null,2),e.label||e.icon||e.avatar||n.default?(D(),le(Se,{key:0},[tt("div",{"data-slot":"container",class:oe(a.value.container({class:h(u)?.container}))},[M(s.$slots,"default",{ui:a.value},()=>[e.label?(D(),le("span",{key:0,"data-slot":"label",class:oe(a.value.label({class:h(u)?.label}))},Me(e.label),3)):e.icon?(D(),T(vn,{key:1,name:e.icon,"data-slot":"icon",class:oe(a.value.icon({class:h(u)?.icon}))},null,8,["name","class"])):e.avatar?(D(),T(cl,G({key:2,size:h(u)?.avatarSize||a.value.avatarSize()},e.avatar,{"data-slot":"avatar",class:a.value.avatar({class:h(u)?.avatar})}),null,16,["size","class"])):ue("",!0)])],2),tt("div",{"data-slot":"border",class:oe(a.value.border({class:h(u)?.border}))},null,2)],64)):ue("",!0)]),_:3},16,["class"]))}},lO=()=>Ho("color-mode").value,Gy=Object.assign({inheritAttrs:!1},{__name:"UColorModeButton",props:{color:{type:null,required:!1,default:"neutral"},variant:{type:null,required:!1,default:"ghost"},label:{type:String,required:!1},activeColor:{type:null,required:!1},activeVariant:{type:null,required:!1},size:{type:null,required:!1},square:{type:Boolean,required:!1},block:{type:Boolean,required:!1},loadingAuto:{type:Boolean,required:!1},onClick:{type:[Function,Array],required:!1},class:{type:null,required:!1},ui:{type:Object,required:!1},icon:{type:null,required:!1},avatar:{type:Object,required:!1},leading:{type:Boolean,required:!1},leadingIcon:{type:null,required:!1},trailing:{type:Boolean,required:!1},trailingIcon:{type:null,required:!1},loading:{type:Boolean,required:!1},loadingIcon:{type:null,required:!1},as:{type:null,required:!1},type:{type:null,required:!1},disabled:{type:Boolean,required:!1},exactActiveClass:{type:String,required:!1},viewTransition:{type:Boolean,required:!1}},setup(e){const t=e,{t:n}=eu(),o=lO(),u=qe(),r=Ct("button",t),a=on(Pu(t,"icon")),s=S({get(){return o.value==="dark"},set(i){o.preference=i?"dark":"light"}});return(i,c)=>(D(),T(Jt,G({...h(a),"aria-label":s.value?h(n)("colorMode.switchToLight"):h(n)("colorMode.switchToDark"),...i.$attrs},{onClick:c[0]||(c[0]=l=>s.value=!s.value)}),{leading:k(({ui:l})=>[z(vn,{class:oe(l.leadingIcon({class:[h(r)?.leadingIcon,"hidden dark:inline-block"]})),name:h(u).ui.icons.dark},null,8,["class","name"]),z(vn,{class:oe(l.leadingIcon({class:[h(r)?.leadingIcon,"dark:hidden"]})),name:h(u).ui.icons.light},null,8,["class","name"])]),_:1},16))}}),As=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function cO(e,t){let n=new Set,o=new Set,u=!1,r=!1;const a=new WeakSet;let s={delta:0,timestamp:0,isProcessing:!1};function i(l){a.has(l)&&(c.schedule(l),e()),l(s)}const c={schedule:(l,d=!1,f=!1)=>{const m=f&&u?n:o;return d&&a.add(l),m.has(l)||m.add(l),l},cancel:l=>{o.delete(l),a.delete(l)},process:l=>{if(s=l,u){r=!0;return}u=!0,[n,o]=[o,n],n.forEach(i),n.clear(),u=!1,r&&(r=!1,c.process(l))}};return c}const Ao={},dO=40;function Yy(e,t){let n=!1,o=!0;const u={delta:0,timestamp:0,isProcessing:!1},r=()=>n=!0,a=As.reduce((v,C)=>(v[C]=cO(r),v),{}),{setup:s,read:i,resolveKeyframes:c,preUpdate:l,update:d,preRender:f,render:p,postRender:m}=a,g=()=>{const v=Ao.useManualTiming?u.timestamp:performance.now();n=!1,Ao.useManualTiming||(u.delta=o?1e3/60:Math.max(Math.min(v-u.timestamp,dO),1)),u.timestamp=v,u.isProcessing=!0,s.process(u),i.process(u),c.process(u),l.process(u),d.process(u),f.process(u),p.process(u),m.process(u),u.isProcessing=!1,n&&t&&(o=!1,e(g))},E=()=>{n=!0,o=!0,u.isProcessing||e(g)};return{schedule:As.reduce((v,C)=>{const x=a[C];return v[C]=(w,B=!1,_=!1)=>(n||E(),x.schedule(w,B,_)),v},{}),cancel:v=>{for(let C=0;Ce,{schedule:st,cancel:Bo,state:Rt,steps:Xl}=Yy(typeof requestAnimationFrame<"u"?requestAnimationFrame:cn,!0);let Ns;function fO(){Ns=void 0}const Xt={now:()=>(Ns===void 0&&Xt.set(Rt.isProcessing||Ao.useManualTiming?Rt.timestamp:performance.now()),Ns),set:e=>{Ns=e,queueMicrotask(fO)}},In=e=>e*1e3,_n=e=>e/1e3;function pO(e,t){const n=Xt.now(),o=({timestamp:u})=>{const r=u-n;r>=t&&(Bo(o),e(r-t))};return st.setup(o,!0),()=>Bo(o)}const Ha=e=>({test:t=>typeof t=="string"&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),jo=Ha("deg"),oo=Ha("%"),de=Ha("px"),hO=Ha("vh"),mO=Ha("vw"),n4={...oo,parse:e=>oo.parse(e)/100,transform:e=>oo.transform(e*100)};function o4(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const Xn={correct:(e,t)=>{if(!t.target)return e;if(typeof e=="string")if(de.test(e))e=parseFloat(e);else return e;const n=o4(e,t.target.x),o=o4(e,t.target.y);return`${n}% ${o}%`}},ro=(e,t,n)=>n>t?t:ntypeof e=="number",parse:parseFloat,transform:e=>e},Aa={...Tr,transform:e=>ro(0,1,e)},Bs={...Tr,default:1},ra=e=>Math.round(e*1e5)/1e5,Jd=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function gO(e){return e==null}const vO=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,Qd=(e,t)=>n=>!!(typeof n=="string"&&vO.test(n)&&n.startsWith(e)||t&&!gO(n)&&Object.prototype.hasOwnProperty.call(n,t)),Zy=(e,t,n)=>o=>{if(typeof o!="string")return o;const[u,r,a,s]=o.match(Jd);return{[e]:parseFloat(u),[t]:parseFloat(r),[n]:parseFloat(a),alpha:s!==void 0?parseFloat(s):1}},yO=e=>ro(0,255,e),Jl={...Tr,transform:e=>Math.round(yO(e))},hu={test:Qd("rgb","red"),parse:Zy("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:o=1})=>"rgba("+Jl.transform(e)+", "+Jl.transform(t)+", "+Jl.transform(n)+", "+ra(Aa.transform(o))+")"};function bO(e){let t="",n="",o="",u="";return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),o=e.substring(5,7),u=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),o=e.substring(3,4),u=e.substring(4,5),t+=t,n+=n,o+=o,u+=u),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(o,16),alpha:u?parseInt(u,16)/255:1}}const m0={test:Qd("#"),parse:bO,transform:hu.transform},Ku={test:Qd("hsl","hue"),parse:Zy("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:o=1})=>"hsla("+Math.round(e)+", "+oo.transform(ra(t))+", "+oo.transform(ra(n))+", "+ra(Aa.transform(o))+")"},Dt={test:e=>hu.test(e)||m0.test(e)||Ku.test(e),parse:e=>hu.test(e)?hu.parse(e):Ku.test(e)?Ku.parse(e):m0.parse(e),transform:e=>typeof e=="string"?e:e.hasOwnProperty("red")?hu.transform(e):Ku.transform(e),getAnimatableNone:e=>{const t=Dt.parse(e);return t.alpha=0,Dt.transform(t)}},EO=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function CO(e){var t,n;return isNaN(e)&&typeof e=="string"&&(((t=e.match(Jd))==null?void 0:t.length)||0)+(((n=e.match(EO))==null?void 0:n.length)||0)>0}const Xy="number",Jy="color",xO="var",DO="var(",u4="${}",wO=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function Ba(e){const t=e.toString(),n=[],o={color:[],number:[],var:[]},u=[];let r=0;const s=t.replace(wO,i=>(Dt.test(i)?(o.color.push(r),u.push(Jy),n.push(Dt.parse(i))):i.startsWith(DO)?(o.var.push(r),u.push(xO),n.push(i)):(o.number.push(r),u.push(Xy),n.push(parseFloat(i))),++r,u4)).split(u4);return{values:n,split:s,indexes:o,types:u}}function Qy(e){return Ba(e).values}function e6(e){const{split:t,types:n}=Ba(e),o=t.length;return u=>{let r="";for(let a=0;atypeof e=="number"?0:Dt.test(e)?Dt.getAnimatableNone(e):e;function BO(e){const t=Qy(e);return e6(e)(t.map(AO))}const Qo={test:CO,parse:Qy,createTransformer:e6,getAnimatableNone:BO},dt=(e,t,n)=>e+(t-e)*n,t6={correct:(e,{treeScale:t,projectionDelta:n})=>{const o=e,u=Qo.parse(e);if(u.length>5)return o;const r=Qo.createTransformer(e),a=typeof u[0]!="number"?1:0,s=n.x.scale*t.x,i=n.y.scale*t.y;u[0+a]/=s,u[1+a]/=i;const c=dt(s,i,.5);return typeof u[2+a]=="number"&&(u[2+a]/=c),typeof u[3+a]=="number"&&(u[3+a]/=c),r(u)}},n6=e=>t=>typeof t=="string"&&t.startsWith(e),ef=n6("--"),_O=n6("var(--"),tf=e=>_O(e)?kO.test(e.split("/*")[0].trim()):!1,kO=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function r4(e){return typeof e!="string"?!1:e.split("/*")[0].includes("var(--")}const _a={borderRadius:{...Xn,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:Xn,borderTopRightRadius:Xn,borderBottomLeftRadius:Xn,borderBottomRightRadius:Xn,boxShadow:t6};function o6(e){for(const t in e)_a[t]=e[t],ef(t)&&(_a[t].isCSSVariable=!0)}function Ka(e,t){const n=typeof e=="string"&&!t?`${e}Context`:t,o=Symbol(n);return[a=>{const s=Ve(o,a);if(s===void 0)throw new Error(`Injection \`${o.toString()}\` not found. Component must be used within ${Array.isArray(e)?`one of the following components: ${e.join(", ")}`:`\`${e}\``}`);return s},a=>(St(o,a),a)]}const[SO,TO]=Ka("Motion"),[FO]=Ka("LayoutGroup");function a4(e){return e!==null&&typeof e=="object"&&typeof e.start=="function"}class Oo{constructor(t){this.state=t}beforeMount(){}mount(){}unmount(){}update(){}beforeUpdate(t){}beforeUnmount(){}}function aa(e,t,n){if(Array.isArray(e))return e.reduce((o,u)=>{const r=aa(u,t,n);return r?{...o,...r}:o},{});if(typeof e=="object")return e;if(e&&t){const o=t[e];return typeof o=="function"?o(n):o}}function PO(e,t){return typeof e!=typeof t?!0:Array.isArray(e)&&Array.isArray(t)?!MO(e,t):e!==t}function MO(e,t){const n=t.length;if(n!==e.length)return!1;for(let o=0;oe;function RO(e){return typeof e=="number"}const IO=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","svg","switch","symbol","text","tspan","use","view","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","linearGradient","radialGradient","textPath"],LO=new Set(IO);function u6(e){return LO.has(e)}class qO{constructor(t){this.features=[];const{features:n=[],lazyMotionContext:o}=t.options,u=n.concat(o.features.value);this.features=u.map(a=>new a(t));const r=this.features;Ce(o.features,a=>{a.forEach(s=>{if(!u.includes(s)){u.push(s);const i=new s(t);r.push(i),t.isMounted()&&(i.beforeMount(),i.mount())}})},{flush:"pre"})}mount(){this.features.forEach(t=>t.mount())}beforeMount(){this.features.forEach(t=>{var n;return(n=t.beforeMount)==null?void 0:n.call(t)})}unmount(){this.features.forEach(t=>t.unmount())}update(){this.features.forEach(t=>{var n;return(n=t.update)==null?void 0:n.call(t)})}beforeUpdate(t){this.features.forEach(n=>{var o;return(o=n.beforeUpdate)==null?void 0:o.call(n,t)})}beforeUnmount(){this.features.forEach(t=>t.beforeUnmount())}}function $O(e){return typeof e=="string"||e===!1||Array.isArray(e)}const r6=new WeakMap;let NO=0;class jO{constructor(t,n){var o;this.element=null,this.isExiting=!1,this.presenceContainer=null,this.children=new Set,this.activeStates={initial:!0,animate:!0},this.currentProcess=null,this._context=null,this.animateUpdates=cn,this.id=`motion-state-${NO++}`,this.options=t,this.parent=n,(o=n?.children)==null||o.add(this);const r=(t.initial===void 0&&t.variants?this.context.initial:t.initial)===!1?["initial","animate"]:["initial"];this.initTarget(r),this.featureManager=new qO(this),this.type=u6(this.options.as)?"svg":"html"}get context(){if(!this._context){const t={get:(n,o)=>{var u;return $O(this.options[o])?this.options[o]:(u=this.parent)==null?void 0:u.context[o]}};this._context=new Proxy({},t)}return this._context}initTarget(t){var n;const o=this.options.custom??((n=this.options.animatePresenceContext)==null?void 0:n.custom);this.baseTarget=t.reduce((u,r)=>({...u,...aa(this.options[r]||this.context[r],this.options.variants,o)}),{}),this.target={}}updateOptions(t){var n;this.options=t,(n=this.visualElement)==null||n.update({...this.options,whileTap:this.options.whilePress},null)}beforeMount(){this.featureManager.beforeMount()}mount(t,n,o=!1){var u;this.element=t,this.updateOptions(n),this.featureManager.mount(),!o&&this.options.animate&&((u=this.startAnimation)==null||u.call(this))}clearAnimation(){var t,n;this.currentProcess&&Bo(this.currentProcess),this.currentProcess=null,(n=(t=this.visualElement)==null?void 0:t.variantChildren)==null||n.forEach(o=>{o.state.clearAnimation()})}startAnimation(){this.clearAnimation(),this.currentProcess=st.render(()=>{this.currentProcess=null,this.animateUpdates()})}beforeUnmount(){this.featureManager.beforeUnmount()}unmount(){var t,n,o;(n=(t=this.parent)==null?void 0:t.children)==null||n.delete(this),r6.delete(this.element),this.featureManager.unmount(),(o=this.visualElement)==null||o.unmount(),this.clearAnimation()}beforeUpdate(t){this.featureManager.beforeUpdate(t)}update(t){this.updateOptions(t),this.featureManager.update(),this.startAnimation()}setActive(t,n,o=!0){var u;!this.element||this.activeStates[t]===n||(this.activeStates[t]=n,(u=this.visualElement.variantChildren)==null||u.forEach(r=>{r.state.setActive(t,n,!1)}),o&&this.animateUpdates({isExit:t==="exit"&&this.activeStates.exit}))}isMounted(){return!!this.element}getSnapshot(t,n){}didUpdate(t){}}const Fu=new WeakMap;function i4(e,t,n){return new CustomEvent(e,{detail:{target:t,isExit:n}})}const l4={syntax:"",initialValue:"0deg",toDefaultUnit:e=>`${e}deg`},VO={translate:{syntax:"",initialValue:"0px",toDefaultUnit:e=>`${e}px`},rotate:l4,scale:{syntax:"",initialValue:1,toDefaultUnit:OO},skew:l4},zO=["translate","scale","rotate","skew"],UO=["","X","Y","Z"],nf=new Map,Ei=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"];zO.forEach(e=>{UO.forEach(t=>{Ei.push(e+t),nf.set(e+t,VO[e])})});const HO=new Set(Ei),KO=e=>HO.has(e),c4={x:"translateX",y:"translateY",z:"translateZ"};function WO([e],[t]){return Ei.indexOf(e)-Ei.indexOf(t)}function GO(e,[t,n]){return`${e} ${t}(${n})`}function YO(e){return e.sort(WO).reduce(GO,"").trim()}const d4={translate:[0,0],rotate:0,scale:1,skew:0,x:0,y:0,z:0},wt=e=>!!(e&&e.getVelocity),ZO={get:(e,t)=>{let n=s4(t)?e.style.getPropertyValue(t):getComputedStyle(e)[t];if(!n&&n!=="0"){const o=nf.get(t);o&&(n=o.initialValue)}return n},set:(e,t,n)=>{s4(t)?e.style.setProperty(t,n):e.style[t]=n}};function XO(e){var t;const n={},o=[];for(let u in e){let r=e[u];r=wt(r)?r.get():r,KO(u)&&u in c4&&(u=c4[u]);let a=Array.isArray(r)?r[0]:r;const s=nf.get(u);s?(a=RO(r)?(t=s.toDefaultUnit)==null?void 0:t.call(s,r):r,o.push([u,a])):n[u]=a}return o.length&&(n.transform=YO(o)),Object.keys(n).length===0?null:n}const JO={fill:!0,stroke:!0,opacity:!0,"stroke-width":!0,"fill-opacity":!0,"stroke-opacity":!0,"stroke-linecap":!0,"stroke-linejoin":!0,"stroke-dasharray":!0,"stroke-dashoffset":!0,cx:!0,cy:!0,r:!0,d:!0,x1:!0,y1:!0,x2:!0,y2:!0,points:!0,"path-length":!0,viewBox:!0,width:!0,height:!0,"preserve-aspect-ratio":!0,"clip-path":!0,filter:!0,mask:!0,"stop-color":!0,"stop-opacity":!0,"gradient-transform":!0,"gradient-units":!0,"spread-method":!0,"marker-end":!0,"marker-mid":!0,"marker-start":!0,"text-anchor":!0,"dominant-baseline":!0,"font-family":!0,"font-size":!0,"font-weight":!0,"letter-spacing":!0,"vector-effect":!0};function QO(e){return e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()}function eR(e,t,n=1,o=0){e.pathLength=1,delete e["path-length"],e["stroke-dashoffset"]=de.transform(-o);const u=de.transform(t),r=de.transform(n);e["stroke-dasharray"]=`${u} ${r}`}function tR(e){const t={},n={};for(const o in e){const u=QO(o);if(u in JO){const r=e[o];t[u]=wt(r)?r.get():r}else n[o]=e[o]}return t["path-length"]!==void 0&&eR(t,t["path-length"],t["path-spacing"],t["path-offset"]),{attrs:t,style:n}}const a6=nn?window:void 0,s6=nn?window.navigator:void 0;function nR(e){var t;const n=Be(e);return(t=n?.$el)!==null&&t!==void 0?t:n}function of(...e){const t=(o,u,r,a)=>(o.addEventListener(u,r,a),()=>o.removeEventListener(u,r,a)),n=S(()=>{const o=to(Be(e[0])).filter(u=>u!=null);return o.every(u=>typeof u!="string")?o:void 0});return Ed(()=>{var o,u;return[(o=(u=n.value)===null||u===void 0?void 0:u.map(r=>nR(r)))!==null&&o!==void 0?o:[a6].filter(r=>r!=null),to(Be(n.value?e[1]:e[0])),to(h(n.value?e[2]:e[1])),Be(n.value?e[3]:e[2])]},([o,u,r,a],s,i)=>{if(!o?.length||!u?.length||!r?.length)return;const c=yd(a)?{...a}:a,l=o.flatMap(d=>u.flatMap(f=>r.map(p=>t(d,f,p,c))));i(()=>{l.forEach(d=>d())})},{flush:"post"})}function oR(){const e=$e(!1),t=et();return t&&je(()=>{e.value=!0},t),e}function uf(e){const t=oR();return S(()=>(t.value,!!e()))}const uR=Symbol("vueuse-ssr-width");function rR(){const e=yr()?HB(uR,null):null;return typeof e=="number"?e:void 0}function aR(e,t={}){const{window:n=a6,ssrWidth:o=rR()}=t,u=uf(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function"),r=$e(typeof o=="number"),a=$e(),s=$e(!1),i=c=>{s.value=c.matches};return mt(()=>{if(r.value){r.value=!u.value,s.value=Be(e).split(",").some(c=>{const l=c.includes("not all"),d=c.match(/\(\s*min-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/),f=c.match(/\(\s*max-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/);let p=!!(d||f);return d&&p&&(p=o>=bh(d[1])),f&&p&&(p=o<=bh(f[1])),l?!p:p});return}u.value&&(a.value=n.matchMedia(Be(e)),s.value=a.value.matches)}),of(a,"change",i,{passive:!0}),S(()=>s.value)}function f4(e,t={}){const{controls:n=!1,navigator:o=s6}=t,u=uf(()=>o&&"permissions"in o),r=$e(),a=typeof e=="string"?{name:e}:e,s=$e(),i=()=>{var l,d;s.value=(l=(d=r.value)===null||d===void 0?void 0:d.state)!==null&&l!==void 0?l:"prompt"};of(r,"change",i,{passive:!0});const c=D1(async()=>{if(u.value){if(!r.value)try{r.value=await o.permissions.query(a)}catch{r.value=void 0}finally{i()}if(n)return Ne(r.value)}});return c(),n?{state:s,isSupported:u,query:c}:s}function ez(e={}){const{navigator:t=s6,read:n=!1,source:o,copiedDuring:u=1500,legacy:r=!1}=e,a=uf(()=>t&&"clipboard"in t),s=f4("clipboard-read"),i=f4("clipboard-write"),c=S(()=>a.value||r),l=$e(""),d=$e(!1),f=Ia(()=>d.value=!1,u,{immediate:!1});async function p(){let y=!(a.value&&b(s.value));if(!y)try{l.value=await t.clipboard.readText()}catch{y=!0}y&&(l.value=E())}c.value&&n&&of(["copy","cut"],p,{passive:!0});async function m(y=Be(o)){if(c.value&&y!=null){let v=!(a.value&&b(i.value));if(!v)try{await t.clipboard.writeText(y)}catch{v=!0}v&&g(y),l.value=y,d.value=!0,f.start()}}function g(y){const v=document.createElement("textarea");v.value=y,v.style.position="absolute",v.style.opacity="0",v.setAttribute("readonly",""),document.body.appendChild(v),v.select(),document.execCommand("copy"),v.remove()}function E(){var y,v,C;return(y=(v=document)===null||v===void 0||(C=v.getSelection)===null||C===void 0||(C=C.call(v))===null||C===void 0?void 0:C.toString())!==null&&y!==void 0?y:""}function b(y){return y==="granted"||y==="prompt"}return{isSupported:c,text:Ln(l),copied:Ln(d),copy:m}}function sR({top:e,left:t,right:n,bottom:o}){return{x:{min:t,max:n},y:{min:e,max:o}}}function iR(e,t){if(!t)return e;const n=t({x:e.left,y:e.top}),o=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:o.y,right:o.x}}function lR(e,t){return sR(iR(e.getBoundingClientRect(),t))}const p4={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},g0={};for(const e in p4)g0[e]={isEnabled:t=>p4[e].some(n=>!!t[n])};const h4=()=>({translate:0,scale:1,origin:0,originPoint:0}),Wu=()=>({x:h4(),y:h4()}),m4=()=>({min:0,max:0}),kt=()=>({x:m4(),y:m4()}),cR=typeof window<"u",Ci={current:null},i6={current:!1};function dR(){if(i6.current=!0,!!cR)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>Ci.current=e.matches;e.addEventListener("change",t),t()}else Ci.current=!1}function fR(e){return e!==null&&typeof e=="object"&&typeof e.start=="function"}function pR(e){return typeof e=="string"||Array.isArray(e)}const hR=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],mR=["initial",...hR];function l6(e){return fR(e.animate)||mR.some(t=>pR(e[t]))}function gR(e){return!!(l6(e)||e.variants)}function g4(e,t){return t?`${e}. For more information and steps for solving, visit https://motion.dev/troubleshooting/${t}`:e}function rf(e,t){e.indexOf(t)===-1&&e.push(t)}function hl(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}class af{constructor(){this.subscriptions=[]}add(t){return rf(this.subscriptions,t),()=>hl(this.subscriptions,t)}notify(t,n,o){const u=this.subscriptions.length;if(u)if(u===1)this.subscriptions[0](t,n,o);else for(let r=0;r!isNaN(parseFloat(e));class yR{constructor(t,n={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=o=>{var u;const r=Xt.now();if(this.updatedAt!==r&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(o),this.current!==this.prev&&((u=this.events.change)==null||u.notify(this.current),this.dependents))for(const a of this.dependents)a.dirty()},this.hasAnimated=!1,this.setCurrent(t),this.owner=n.owner}setCurrent(t){this.current=t,this.updatedAt=Xt.now(),this.canTrackVelocity===null&&t!==void 0&&(this.canTrackVelocity=vR(this.current))}setPrevFrameValue(t=this.current){this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt}onChange(t){return this.on("change",t)}on(t,n){this.events[t]||(this.events[t]=new af);const o=this.events[t].add(n);return t==="change"?()=>{o(),st.read(()=>{this.events.change.getSize()||this.stop()})}:o}clearListeners(){for(const t in this.events)this.events[t].clear()}attach(t,n){this.passiveEffect=t,this.stopPassiveEffect=n}set(t){this.passiveEffect?this.passiveEffect(t,this.updateAndNotify):this.updateAndNotify(t)}setWithVelocity(t,n,o){this.set(n),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-o}jump(t,n=!0){this.updateAndNotify(t),this.prev=t,this.prevUpdatedAt=this.prevFrameValue=void 0,n&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){var t;(t=this.events.change)==null||t.notify(this.current)}addDependent(t){this.dependents||(this.dependents=new Set),this.dependents.add(t)}removeDependent(t){this.dependents&&this.dependents.delete(t)}get(){return this.current}getPrevious(){return this.prev}getVelocity(){const t=Xt.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||t-this.updatedAt>v4)return 0;const n=Math.min(this.updatedAt-this.prevUpdatedAt,v4);return c6(parseFloat(this.current)-parseFloat(this.prevFrameValue),n)}start(t){return this.stop(),new Promise(n=>{this.hasAnimated=!0,this.animation=t(n),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){var t,n;(t=this.dependents)==null||t.clear(),(n=this.events.destroy)==null||n.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function hr(e,t){return new yR(e,t)}function bR(e,t,n){for(const o in t){const u=t[o],r=n[o];if(wt(u))e.addValue(o,u);else if(wt(r))e.addValue(o,hr(u,{owner:e}));else if(r!==u)if(e.hasValue(o)){const a=e.getValue(o);a.liveStyle===!0?a.jump(u):a.hasAnimated||a.set(u)}else{const a=e.getStaticValue(o);e.addValue(o,hr(a!==void 0?a:u,{owner:e}))}}for(const o in n)t[o]===void 0&&e.removeValue(o);return t}function y4(e){const t=[{},{}];return e?.values.forEach((n,o)=>{t[0][o]=n.get(),t[1][o]=n.getVelocity()}),t}function d6(e,t,n,o){if(typeof t=="function"){const[u,r]=y4(o);t=t(n!==void 0?n:e.custom,u,r)}if(typeof t=="string"&&(t=e.variants&&e.variants[t]),typeof t=="function"){const[u,r]=y4(o);t=t(n!==void 0?n:e.custom,u,r)}return t}function ER(e){for(let t=1;te*180/Math.PI,v0=e=>{const t=mu(Math.atan2(e[1],e[0]));return y0(t)},CR={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:e=>(Math.abs(e[0])+Math.abs(e[3]))/2,rotate:v0,rotateZ:v0,skewX:e=>mu(Math.atan(e[1])),skewY:e=>mu(Math.atan(e[2])),skew:e=>(Math.abs(e[1])+Math.abs(e[2]))/2},y0=e=>(e=e%360,e<0&&(e+=360),e),b4=v0,E4=e=>Math.sqrt(e[0]*e[0]+e[1]*e[1]),C4=e=>Math.sqrt(e[4]*e[4]+e[5]*e[5]),xR={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:E4,scaleY:C4,scale:e=>(E4(e)+C4(e))/2,rotateX:e=>y0(mu(Math.atan2(e[6],e[5]))),rotateY:e=>y0(mu(Math.atan2(-e[2],e[0]))),rotateZ:b4,rotate:b4,skewX:e=>mu(Math.atan(e[4])),skewY:e=>mu(Math.atan(e[1])),skew:e=>(Math.abs(e[1])+Math.abs(e[4]))/2};function b0(e){return e.includes("scale")?1:0}function E0(e,t){if(!e||e==="none")return b0(t);const n=e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let o,u;if(n)o=xR,u=n;else{const s=e.match(/^matrix\(([-\d.e\s,]+)\)$/u);o=CR,u=s}if(!u)return b0(t);const r=o[t],a=u[1].split(",").map(wR);return typeof r=="function"?r(a):a[r]}const DR=(e,t)=>{const{transform:n="none"}=getComputedStyle(e);return E0(n,t)};function wR(e){return parseFloat(e.trim())}const Fr=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],Pr=new Set(Fr),x4=e=>e===Tr||e===de,AR=new Set(["x","y","z"]),BR=Fr.filter(e=>!AR.has(e));function _R(e){const t=[];return BR.forEach(n=>{const o=e.getValue(n);o!==void 0&&(t.push([n,o.get()]),o.set(n.startsWith("scale")?1:0))}),t}const Wo={width:({x:e},{paddingLeft:t="0",paddingRight:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),height:({y:e},{paddingTop:t="0",paddingBottom:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:(e,{transform:t})=>E0(t,"x"),y:(e,{transform:t})=>E0(t,"y")};Wo.translateX=Wo.x;Wo.translateY=Wo.y;const Cu=new Set;let C0=!1,x0=!1,D0=!1;function f6(){if(x0){const e=Array.from(Cu).filter(o=>o.needsMeasurement),t=new Set(e.map(o=>o.element)),n=new Map;t.forEach(o=>{const u=_R(o);u.length&&(n.set(o,u),o.render())}),e.forEach(o=>o.measureInitialState()),t.forEach(o=>{o.render();const u=n.get(o);u&&u.forEach(([r,a])=>{var s;(s=o.getValue(r))==null||s.set(a)})}),e.forEach(o=>o.measureEndState()),e.forEach(o=>{o.suspendedScrollY!==void 0&&window.scrollTo(0,o.suspendedScrollY)})}x0=!1,C0=!1,Cu.forEach(e=>e.complete(D0)),Cu.clear()}function p6(){Cu.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(x0=!0)})}function kR(){D0=!0,p6(),f6(),D0=!1}class sf{constructor(t,n,o,u,r,a=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...t],this.onComplete=n,this.name=o,this.motionValue=u,this.element=r,this.isAsync=a}scheduleResolve(){this.state="scheduled",this.isAsync?(Cu.add(this),C0||(C0=!0,st.read(p6),st.resolveKeyframes(f6))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:t,name:n,element:o,motionValue:u}=this;if(t[0]===null){const r=u?.get(),a=t[t.length-1];if(r!==void 0)t[0]=r;else if(o&&n){const s=o.readValue(n,a);s!=null&&(t[0]=s)}t[0]===void 0&&(t[0]=a),u&&r===void 0&&u.set(t[0])}ER(t)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(t=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,t),Cu.delete(this)}cancel(){this.state==="scheduled"&&(Cu.delete(this),this.state="pending")}resume(){this.state==="pending"&&this.scheduleResolve()}}const h6=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e),m6=e=>/^0[^.\s]+$/u.test(e),SR={test:e=>e==="auto",parse:e=>e},g6=e=>t=>t.test(e),v6=[Tr,de,oo,jo,mO,hO,SR],D4=e=>v6.find(g6(e)),TR=[...v6,Dt,Qo],FR=e=>TR.find(g6(e)),PR=new Set(["brightness","contrast","saturate","opacity"]);function MR(e){const[t,n]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[o]=n.match(Jd)||[];if(!o)return e;const u=n.replace(o,"");let r=PR.has(t)?1:0;return o!==n&&(r*=100),t+"("+r+u+")"}const OR=/\b([a-z-]*)\(.*?\)/gu,w0={...Qo,getAnimatableNone:e=>{const t=e.match(OR);return t?t.map(MR).join(" "):e}},w4={...Tr,transform:Math.round},RR={rotate:jo,rotateX:jo,rotateY:jo,rotateZ:jo,scale:Bs,scaleX:Bs,scaleY:Bs,scaleZ:Bs,skew:jo,skewX:jo,skewY:jo,distance:de,translateX:de,translateY:de,translateZ:de,x:de,y:de,z:de,perspective:de,transformPerspective:de,opacity:Aa,originX:n4,originY:n4,originZ:de},lf={borderWidth:de,borderTopWidth:de,borderRightWidth:de,borderBottomWidth:de,borderLeftWidth:de,borderRadius:de,radius:de,borderTopLeftRadius:de,borderTopRightRadius:de,borderBottomRightRadius:de,borderBottomLeftRadius:de,width:de,maxWidth:de,height:de,maxHeight:de,top:de,right:de,bottom:de,left:de,inset:de,insetBlock:de,insetBlockStart:de,insetBlockEnd:de,insetInline:de,insetInlineStart:de,insetInlineEnd:de,padding:de,paddingTop:de,paddingRight:de,paddingBottom:de,paddingLeft:de,paddingBlock:de,paddingBlockStart:de,paddingBlockEnd:de,paddingInline:de,paddingInlineStart:de,paddingInlineEnd:de,margin:de,marginTop:de,marginRight:de,marginBottom:de,marginLeft:de,marginBlock:de,marginBlockStart:de,marginBlockEnd:de,marginInline:de,marginInlineStart:de,marginInlineEnd:de,backgroundPositionX:de,backgroundPositionY:de,...RR,zIndex:w4,fillOpacity:Aa,strokeOpacity:Aa,numOctaves:w4},IR={...lf,color:Dt,backgroundColor:Dt,outlineColor:Dt,fill:Dt,stroke:Dt,borderColor:Dt,borderTopColor:Dt,borderRightColor:Dt,borderBottomColor:Dt,borderLeftColor:Dt,filter:w0,WebkitFilter:w0},y6=e=>IR[e];function b6(e,t){let n=y6(e);return n!==w0&&(n=Qo),n.getAnimatableNone?n.getAnimatableNone(t):void 0}const{schedule:E6}=Yy(queueMicrotask,!0),A4=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class C6{scrapeMotionValuesFromProps(t,n,o){return{}}constructor({parent:t,props:n,presenceContext:o,reducedMotionConfig:u,blockInitialAnimation:r,visualState:a},s={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=sf,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{const f=Xt.now();this.renderScheduledAtthis.bindToMotionValue(u,o)),this.reducedMotionConfig==="never"?this.shouldReduceMotion=!1:this.reducedMotionConfig==="always"?this.shouldReduceMotion=!0:(i6.current||dR(),this.shouldReduceMotion=Ci.current),(n=this.parent)==null||n.addChild(this),this.update(this.props,this.presenceContext)}unmount(){var t;this.projection&&this.projection.unmount(),Bo(this.notifyUpdate),Bo(this.render),this.valueSubscriptions.forEach(n=>n()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),(t=this.parent)==null||t.removeChild(this);for(const n in this.events)this.events[n].clear();for(const n in this.features){const o=this.features[n];o&&(o.unmount(),o.isMounted=!1)}this.current=null}addChild(t){this.children.add(t),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(t)}removeChild(t){this.children.delete(t),this.enteringChildren&&this.enteringChildren.delete(t)}bindToMotionValue(t,n){this.valueSubscriptions.has(t)&&this.valueSubscriptions.get(t)();const o=Pr.has(t);o&&this.onBindTransform&&this.onBindTransform();const u=n.on("change",a=>{this.latestValues[t]=a,this.props.onUpdate&&st.preRender(this.notifyUpdate),o&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});let r;window.MotionCheckAppearSync&&(r=window.MotionCheckAppearSync(this,t,n)),this.valueSubscriptions.set(t,()=>{u(),r&&r(),n.owner&&n.stop()})}sortNodePosition(t){return!this.current||!this.sortInstanceNodePosition||this.type!==t.type?0:this.sortInstanceNodePosition(this.current,t.current)}updateFeatures(){let t="animation";for(t in g0){const n=g0[t];if(!n)continue;const{isEnabled:o,Feature:u}=n;if(!this.features[t]&&u&&o(this.props)&&(this.features[t]=new u(this)),this.features[t]){const r=this.features[t];r.isMounted?r.update():(r.mount(),r.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):kt()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,n){this.latestValues[t]=n}update(t,n){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=n;for(let o=0;on.variantChildren.delete(t)}addValue(t,n){const o=this.values.get(t);n!==o&&(o&&this.removeValue(t),this.bindToMotionValue(t,n),this.values.set(t,n),this.latestValues[t]=n.get())}removeValue(t){this.values.delete(t);const n=this.valueSubscriptions.get(t);n&&(n(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,n){if(this.props.values&&this.props.values[t])return this.props.values[t];let o=this.values.get(t);return o===void 0&&n!==void 0&&(o=hr(n===null?void 0:n,{owner:this}),this.addValue(t,o)),o}readValue(t,n){let o=this.latestValues[t]!==void 0||!this.current?this.latestValues[t]:this.getBaseTargetFromProps(this.props,t)??this.readValueFromInstance(this.current,t,this.options);return o!=null&&(typeof o=="string"&&(h6(o)||m6(o))?o=parseFloat(o):!FR(o)&&Qo.test(n)&&(o=b6(t,n)),this.setBaseTarget(t,wt(o)?o.get():o)),wt(o)?o.get():o}setBaseTarget(t,n){this.baseTarget[t]=n}getBaseTarget(t){var n;const{initial:o}=this.props;let u;if(typeof o=="string"||typeof o=="object"){const a=d6(this.props,o,(n=this.presenceContext)==null?void 0:n.custom);a&&(u=a[t])}if(o&&u!==void 0)return u;const r=this.getBaseTargetFromProps(this.props,t);return r!==void 0&&!wt(r)?r:this.initialValues[t]!==void 0&&u===void 0?void 0:this.baseTarget[t]}on(t,n){return this.events[t]||(this.events[t]=new af),this.events[t].add(n)}notify(t,...n){this.events[t]&&this.events[t].notify(...n)}scheduleRenderMicrotask(){E6.render(this.render)}}const x6=new Set(["width","height","top","left","right","bottom",...Fr]);var LR={},B4;let Wa=()=>{},_o=()=>{};typeof process<"u"&&((B4=LR)==null?void 0:B4.NODE_ENV)!=="production"&&(Wa=(e,t,n)=>{!e&&typeof console<"u"&&console.warn(g4(t,n))},_o=(e,t,n)=>{if(!e)throw new Error(g4(t,n))});const qR=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function $R(e){const t=qR.exec(e);if(!t)return[,];const[,n,o,u]=t;return[`--${n??o}`,u]}const NR=4;function D6(e,t,n=1){_o(n<=NR,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`,"max-css-var-depth");const[o,u]=$R(e);if(!o)return;const r=window.getComputedStyle(t).getPropertyValue(o);if(r){const a=r.trim();return h6(a)?parseFloat(a):a}return tf(u)?D6(u,t,n+1):u}function jR(e){return typeof e=="number"?e===0:e!==null?e==="none"||e==="0"||m6(e):!0}const VR=new Set(["auto","none","0"]);function zR(e,t,n){let o=0,u;for(;o{n.getValue(i).set(c)}),this.resolveNoneKeyframes()}}class w6 extends C6{constructor(){super(...arguments),this.KeyframeResolver=UR}sortInstanceNodePosition(t,n){return t.compareDocumentPosition(n)&2?1:-1}getBaseTargetFromProps(t,n){return t.style?t.style[n]:void 0}removeValueFromRenderState(t,{vars:n,style:o}){delete n[t],delete o[t]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:t}=this.props;wt(t)&&(this.childSubscription=t.on("change",n=>{this.current&&(this.current.textContent=`${n}`)}))}}const A6=(e,t)=>t&&typeof e=="number"?t.transform(e):e,HR={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},KR=Fr.length;function WR(e,t,n){let o="",u=!0;for(let r=0;re.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),ZR={offset:"stroke-dashoffset",array:"stroke-dasharray"},XR={offset:"strokeDashoffset",array:"strokeDasharray"};function JR(e,t,n=1,o=0,u=!0){e.pathLength=1;const r=u?ZR:XR;e[r.offset]=de.transform(-o);const a=de.transform(t),s=de.transform(n);e[r.array]=`${a} ${s}`}const QR=["offsetDistance","offsetPath","offsetRotate","offsetAnchor"];function eI(e,{attrX:t,attrY:n,attrScale:o,pathLength:u,pathSpacing:r=1,pathOffset:a=0,...s},i,c,l){if(B6(e,s,c),i){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};const{attrs:d,style:f}=e;d.transform&&(f.transform=d.transform,delete d.transform),(f.transform||d.transformOrigin)&&(f.transformOrigin=d.transformOrigin??"50% 50%",delete d.transformOrigin),f.transform&&(f.transformBox=l?.transformBox??"fill-box",delete d.transformBox);for(const p of QR)d[p]!==void 0&&(f[p]=d[p],delete d[p]);t!==void 0&&(d.x=t),n!==void 0&&(d.y=n),o!==void 0&&(d.scale=o),u!==void 0&&JR(d,u,r,a,!1)}const T6=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]),tI=e=>typeof e=="string"&&e.toLowerCase()==="svg";function nI(e,t,n,o){_6(e,t,void 0,o);for(const u in t.attrs)e.setAttribute(T6.has(u)?u:cf(u),t.attrs[u])}function oI(e,t,n){const o=k6(e,t,n);for(const u in e)if(wt(e[u])||wt(t[u])){const r=Fr.indexOf(u)!==-1?"attr"+u.charAt(0).toUpperCase()+u.substring(1):u;o[r]=e[u]}return o}class F6 extends w6{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=kt}getBaseTargetFromProps(t,n){return t[n]}readValueFromInstance(t,n){if(Pr.has(n)){const o=y6(n);return o&&o.default||0}return n=T6.has(n)?n:cf(n),t.getAttribute(n)}scrapeMotionValuesFromProps(t,n,o){return oI(t,n,o)}build(t,n,o){eI(t,n,this.isSVGTag,o.transformTemplate,o.style)}renderInstance(t,n,o,u){nI(t,n,o,u)}mount(t){this.isSVGTag=tI(t.tagName),super.mount(t)}}function uI(e,t){return u6(e)?new F6(t):new S6(t)}function rI(e,t,n,o=0,u=1){const r=Array.from(e),a=r.indexOf(t),s=e.size,i=(s-1)*o,c=typeof n=="function";return a===r.length-1&&(t.parent.enteringChildren=void 0),c?n(a,s):u===1?a*o:i-a*o}function df(e){return typeof e=="object"&&!Array.isArray(e)}function ff(e,t,n){if(e instanceof EventTarget)return[e];if(typeof e=="string"){let o=document;const u=n?.[e]??o.querySelectorAll(e);return u?Array.from(u):[]}return Array.from(e)}function P6(e,t,n,o){return typeof e=="string"&&df(t)?ff(e,n,o):e instanceof NodeList?Array.from(e):Array.isArray(e)?e:[e]}function aI(e,t,n){return e*(t+1)}function _4(e,t,n,o){return typeof t=="number"?t:t.startsWith("-")||t.startsWith("+")?Math.max(0,e+parseFloat(t)):t==="<"?n:t.startsWith("<")?Math.max(0,n+parseFloat(t.slice(1))):o.get(t)??e}const sI=(e,t,n)=>{const o=t-e;return((n-e)%o+o)%o+e},M6=e=>Array.isArray(e)&&typeof e[0]!="number";function O6(e,t){return M6(e)?e[sI(0,e.length,t)]:e}function iI(e,t,n){for(let o=0;ot&&u.at{const o=t-e;return o===0?1:(n-e)/o};function R6(e,t){const n=e[e.length-1];for(let o=1;o<=t;o++){const u=mr(0,t,o);e.push(dt(n,1,u))}}function I6(e){const t=[0];return R6(t,e.length-1),t}const xi=2e4;function pf(e){let t=0;const n=50;let o=e.next(t);for(;!o.done&&t=xi?1/0:t}function L6(e,t=100,n){const o=n({...e,keyframes:[0,t]}),u=Math.min(pf(o),xi);return{type:"keyframes",ease:r=>o.next(u*r).value/t,duration:_n(u)}}function hf(e){return typeof e=="function"&&"applyToOptions"in e}const fI="easeInOut",pI=20;function hI(e,{defaultTransition:t={},...n}={},o,u){const r=t.duration||.3,a=new Map,s=new Map,i={},c=new Map;let l=0,d=0,f=0;for(let p=0;p{const F=mI(C),{delay:R=0,times:Z=I6(F),type:q="keyframes",repeat:Q,repeatType:X,repeatDelay:I=0,...O}=x;let{ease:H=t.ease||"easeOut",duration:V}=x;const fe=typeof R=="function"?R(B,_):R,se=F.length,Ke=hf(q)?q:u?.[q||"keyframes"];if(se<=2&&Ke){let Te=100;if(se===2&&yI(F)){const ie=F[1]-F[0];Te=Math.abs(ie)}const Pe={...O};V!==void 0&&(Pe.duration=In(V));const U=L6(Pe,Te,Ke);H=U.ease,V=U.duration}V??(V=r);const Re=d+fe;Z.length===1&&Z[0]===0&&(Z[1]=1);const ot=Z.length-F.length;if(ot>0&&R6(Z,ot),F.length===1&&F.unshift(null),Q){_o(Q{for(const g in p){const E=p[g];E.sort(dI);const b=[],y=[],v=[];for(let x=0;xtypeof e=="number",yI=e=>e.every(vI),bI=e=>Array.isArray(e);function EI(e,t,n){const o=e.getProps();return d6(o,t,o.custom,e)}function CI(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,hr(n))}function xI(e){return bI(e)?e[e.length-1]||0:e}function DI(e,t){const n=EI(e,t);let{transitionEnd:o={},transition:u={},...r}=n||{};r={...r,...o};for(const a in r){const s=xI(r[a]);CI(e,a,s)}}function wI(e){return!!(wt(e)&&e.add)}function AI(e,t){const n=e.getValue("willChange");if(wI(n))return n.add(t);if(!n&&Ao.WillChange){const o=new Ao.WillChange("auto");e.addValue("willChange",o),o.add(t)}}const BI="framerAppearId",_I="data-"+cf(BI);function q6(e){return e.props[_I]}const kI=e=>e!==null;function SI(e,{repeat:t,repeatType:n="loop"},o){const u=e.filter(kI),r=t&&n!=="loop"&&t%2===1?0:u.length-1;return u[r]}const TI={type:"spring",stiffness:500,damping:25,restSpeed:10},FI=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),PI={type:"keyframes",duration:.8},MI={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},OI=(e,{keyframes:t})=>t.length>2?PI:Pr.has(e)?e.startsWith("scale")?FI(t[1]):TI:MI;function RI({when:e,delay:t,delayChildren:n,staggerChildren:o,staggerDirection:u,repeat:r,repeatType:a,repeatDelay:s,from:i,elapsed:c,...l}){return!!Object.keys(l).length}function mf(e,t){return e?.[t]??e?.default??e}function A0(e){e.duration=0,e.type="keyframes"}function Ql(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+(t-e)*6*n:n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function II({hue:e,saturation:t,lightness:n,alpha:o}){e/=360,t/=100,n/=100;let u=0,r=0,a=0;if(!t)u=r=a=n;else{const s=n<.5?n*(1+t):n+t-n*t,i=2*n-s;u=Ql(i,s,e+1/3),r=Ql(i,s,e),a=Ql(i,s,e-1/3)}return{red:Math.round(u*255),green:Math.round(r*255),blue:Math.round(a*255),alpha:o}}function Di(e,t){return n=>n>0?t:e}const ec=(e,t,n)=>{const o=e*e,u=n*(t*t-o)+o;return u<0?0:Math.sqrt(u)},LI=[m0,hu,Ku],qI=e=>LI.find(t=>t.test(e));function T4(e){const t=qI(e);if(Wa(!!t,`'${e}' is not an animatable color. Use the equivalent color code instead.`,"color-not-animatable"),!t)return!1;let n=t.parse(e);return t===Ku&&(n=II(n)),n}const F4=(e,t)=>{const n=T4(e),o=T4(t);if(!n||!o)return Di(e,t);const u={...n};return r=>(u.red=ec(n.red,o.red,r),u.green=ec(n.green,o.green,r),u.blue=ec(n.blue,o.blue,r),u.alpha=dt(n.alpha,o.alpha,r),hu.transform(u))},B0=new Set(["none","hidden"]);function $I(e,t){return B0.has(e)?n=>n<=0?e:t:n=>n>=1?t:e}const NI=(e,t)=>n=>t(e(n)),Ga=(...e)=>e.reduce(NI);function jI(e,t){return n=>dt(e,t,n)}function gf(e){return typeof e=="number"?jI:typeof e=="string"?tf(e)?Di:Dt.test(e)?F4:UI:Array.isArray(e)?$6:typeof e=="object"?Dt.test(e)?F4:VI:Di}function $6(e,t){const n=[...e],o=n.length,u=e.map((r,a)=>gf(r)(r,t[a]));return r=>{for(let a=0;a{for(const r in o)n[r]=o[r](u);return n}}function zI(e,t){const n=[],o={color:0,var:0,number:0};for(let u=0;u{const n=Qo.createTransformer(t),o=Ba(e),u=Ba(t);return o.indexes.var.length===u.indexes.var.length&&o.indexes.color.length===u.indexes.color.length&&o.indexes.number.length>=u.indexes.number.length?B0.has(e)&&!u.values.length||B0.has(t)&&!o.values.length?$I(e,t):Ga($6(zI(o,u),u.values),n):(Wa(!0,`Complex values '${e}' and '${t}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`,"complex-values-different"),Di(e,t))};function N6(e,t,n){return typeof e=="number"&&typeof t=="number"&&typeof n=="number"?dt(e,t,n):gf(e)(e,t)}const HI=e=>{const t=({timestamp:n})=>e(n);return{start:(n=!0)=>st.update(t,n),stop:()=>Bo(t),now:()=>Rt.isProcessing?Rt.timestamp:Xt.now()}},j6=(e,t,n=10)=>{let o="";const u=Math.max(Math.round(t/n),2);for(let r=0;r{const l=c*a,d=l*e,f=l-n,p=_0(c,a),m=Math.exp(-d);return tc-f/p*m},r=c=>{const d=c*a*e,f=d*n+n,p=Math.pow(a,2)*Math.pow(c,2)*e,m=Math.exp(-d),g=_0(Math.pow(c,2),a);return(-u(c)+tc>0?-1:1)*((f-p)*m)/g}):(u=c=>{const l=Math.exp(-c*e),d=(c-n)*e+1;return-tc+l*d},r=c=>{const l=Math.exp(-c*e),d=(n-c)*(e*e);return l*d});const s=5/e,i=YI(u,r,s);if(e=In(e),isNaN(i))return{stiffness:pt.stiffness,damping:pt.damping,duration:e};{const c=Math.pow(i,2)*o;return{stiffness:c,damping:a*2*Math.sqrt(o*c),duration:e}}}const GI=12;function YI(e,t,n){let o=n;for(let u=1;ue[n]!==void 0)}function JI(e){let t={velocity:pt.velocity,stiffness:pt.stiffness,damping:pt.damping,mass:pt.mass,isResolvedFromDuration:!1,...e};if(!P4(e,XI)&&P4(e,ZI))if(e.visualDuration){const n=e.visualDuration,o=2*Math.PI/(n*1.2),u=o*o,r=2*ro(.05,1,1-(e.bounce||0))*Math.sqrt(u);t={...t,mass:pt.mass,stiffness:u,damping:r}}else{const n=WI(e);t={...t,...n,mass:pt.mass},t.isResolvedFromDuration=!0}return t}function ka(e=pt.visualDuration,t=pt.bounce){const n=typeof e!="object"?{visualDuration:e,keyframes:[0,1],bounce:t}:e;let{restSpeed:o,restDelta:u}=n;const r=n.keyframes[0],a=n.keyframes[n.keyframes.length-1],s={done:!1,value:r},{stiffness:i,damping:c,mass:l,duration:d,velocity:f,isResolvedFromDuration:p}=JI({...n,velocity:-_n(n.velocity||0)}),m=f||0,g=c/(2*Math.sqrt(i*l)),E=a-r,b=_n(Math.sqrt(i/l)),y=Math.abs(E)<5;o||(o=y?pt.restSpeed.granular:pt.restSpeed.default),u||(u=y?pt.restDelta.granular:pt.restDelta.default);let v;if(g<1){const x=_0(b,g);v=w=>{const B=Math.exp(-g*b*w);return a-B*((m+g*b*E)/x*Math.sin(x*w)+E*Math.cos(x*w))}}else if(g===1)v=x=>a-Math.exp(-b*x)*(E+(m+b*E)*x);else{const x=b*Math.sqrt(g*g-1);v=w=>{const B=Math.exp(-g*b*w),_=Math.min(x*w,300);return a-B*((m+g*b*E)*Math.sinh(_)+x*E*Math.cosh(_))/x}}const C={calculatedDuration:p&&d||null,next:x=>{const w=v(x);if(p)s.done=x>=d;else{let B=x===0?m:0;g<1&&(B=x===0?In(m):V6(v,x,w));const _=Math.abs(B)<=o,F=Math.abs(a-w)<=u;s.done=_&&F}return s.value=s.done?a:w,s},toString:()=>{const x=Math.min(pf(C),xi),w=j6(B=>C.next(x*B).value,x,30);return x+"ms "+w},toTransition:()=>{}};return C}ka.applyToOptions=e=>{const t=L6(e,100,ka);return e.ease=t.ease,e.duration=In(t.duration),e.type="keyframes",e};function k0({keyframes:e,velocity:t=0,power:n=.8,timeConstant:o=325,bounceDamping:u=10,bounceStiffness:r=500,modifyTarget:a,min:s,max:i,restDelta:c=.5,restSpeed:l}){const d=e[0],f={done:!1,value:d},p=_=>s!==void 0&&_i,m=_=>s===void 0?i:i===void 0||Math.abs(s-_)-g*Math.exp(-_/o),v=_=>b+y(_),C=_=>{const F=y(_),R=v(_);f.done=Math.abs(F)<=c,f.value=f.done?b:R};let x,w;const B=_=>{p(f.value)&&(x=_,w=ka({keyframes:[f.value,m(f.value)],velocity:V6(v,_,f.value),damping:u,stiffness:r,restDelta:c,restSpeed:l}))};return B(0),{calculatedDuration:null,next:_=>{let F=!1;return!w&&x===void 0&&(F=!0,C(_),B(_)),x!==void 0&&_>=x?w.next(_-x):(!F&&C(_),f)}}}function QI(e,t,n){const o=[],u=n||Ao.mix||N6,r=e.length-1;for(let a=0;at[0];if(r===2&&t[0]===t[1])return()=>t[1];const a=e[0]===e[1];e[0]>e[r-1]&&(e=[...e].reverse(),t=[...t].reverse());const s=QI(t,o,u),i=s.length,c=l=>{if(a&&l1)for(;dc(ro(e[0],e[r-1],l)):c}function tL(e,t){return e.map(n=>n*t)}const z6=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e,nL=1e-7,oL=12;function uL(e,t,n,o,u){let r,a,s=0;do a=t+(n-t)/2,r=z6(a,o,u)-e,r>0?n=a:t=a;while(Math.abs(r)>nL&&++suL(r,0,1,e,n);return r=>r===0||r===1?r:z6(u(r),t,o)}const rL=Ya(.42,0,1,1),aL=Ya(0,0,.58,1),U6=Ya(.42,0,.58,1),H6=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,K6=e=>t=>1-e(1-t),W6=Ya(.33,1.53,.69,.99),vf=K6(W6),G6=H6(vf),Y6=e=>(e*=2)<1?.5*vf(e):.5*(2-Math.pow(2,-10*(e-1))),yf=e=>1-Math.sin(Math.acos(e)),Z6=K6(yf),X6=H6(yf),J6=e=>Array.isArray(e)&&typeof e[0]=="number",M4={linear:cn,easeIn:rL,easeInOut:U6,easeOut:aL,circIn:yf,circInOut:X6,circOut:Z6,backIn:vf,backInOut:G6,backOut:W6,anticipate:Y6},sL=e=>typeof e=="string",O4=e=>{if(J6(e)){_o(e.length===4,"Cubic bezier arrays must contain four numerical values.","cubic-bezier-length");const[t,n,o,u]=e;return Ya(t,n,o,u)}else if(sL(e))return _o(M4[e]!==void 0,`Invalid easing type '${e}'`,"invalid-easing-type"),M4[e];return e};function iL(e,t){return e.map(()=>t||U6).splice(0,e.length-1)}function sa({duration:e=300,keyframes:t,times:n,ease:o="easeInOut"}){const u=M6(o)?o.map(O4):O4(o),r={done:!1,value:t[0]},a=tL(n&&n.length===t.length?n:I6(t),e),s=eL(a,t,{ease:Array.isArray(u)?u:iL(t,u)});return{calculatedDuration:e,next:i=>(r.value=s(i),r.done=i>=e,r)}}const lL=e=>e!==null;function bf(e,{repeat:t,repeatType:n="loop"},o,u=1){const r=e.filter(lL),s=u<0||t&&n!=="loop"&&t%2===1?0:r.length-1;return!s||o===void 0?r[s]:o}const cL={decay:k0,inertia:k0,tween:sa,keyframes:sa,spring:ka};function Q6(e){typeof e.type=="string"&&(e.type=cL[e.type])}class Ef{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(t=>{this.resolve=t})}notifyFinished(){this.resolve()}then(t,n){return this.finished.then(t,n)}}const dL=e=>e/100;class Cf extends Ef{constructor(t){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.stop=()=>{var n,o;const{motionValue:u}=this.options;u&&u.updatedAt!==Xt.now()&&this.tick(Xt.now()),this.isStopped=!0,this.state!=="idle"&&(this.teardown(),(o=(n=this.options).onStop)==null||o.call(n))},this.options=t,this.initAnimation(),this.play(),t.autoplay===!1&&this.pause()}initAnimation(){const{options:t}=this;Q6(t);const{type:n=sa,repeat:o=0,repeatDelay:u=0,repeatType:r,velocity:a=0}=t;let{keyframes:s}=t;const i=n||sa;i!==sa&&typeof s[0]!="number"&&(this.mixKeyframes=Ga(dL,N6(s[0],s[1])),s=[0,100]);const c=i({...t,keyframes:s});r==="mirror"&&(this.mirroredGenerator=i({...t,keyframes:[...s].reverse(),velocity:-a})),c.calculatedDuration===null&&(c.calculatedDuration=pf(c));const{calculatedDuration:l}=c;this.calculatedDuration=l,this.resolvedDuration=l+u,this.totalDuration=this.resolvedDuration*(o+1)-u,this.generator=c}updateTime(t){const n=Math.round(t-this.startTime)*this.playbackSpeed;this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=n}tick(t,n=!1){const{generator:o,totalDuration:u,mixKeyframes:r,mirroredGenerator:a,resolvedDuration:s,calculatedDuration:i}=this;if(this.startTime===null)return o.next(0);const{delay:c=0,keyframes:l,repeat:d,repeatType:f,repeatDelay:p,type:m,onUpdate:g,finalKeyframe:E}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-u/this.speed,this.startTime)),n?this.currentTime=t:this.updateTime(t);const b=this.currentTime-c*(this.playbackSpeed>=0?1:-1),y=this.playbackSpeed>=0?b<0:b>u;this.currentTime=Math.max(b,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=u);let v=this.currentTime,C=o;if(d){const _=Math.min(this.currentTime,u)/s;let F=Math.floor(_),R=_%1;!R&&_>=1&&(R=1),R===1&&F--,F=Math.min(F,d+1),F%2&&(f==="reverse"?(R=1-R,p&&(R-=p/s)):f==="mirror"&&(C=a)),v=ro(0,1,R)*s}const x=y?{done:!1,value:l[0]}:C.next(v);r&&(x.value=r(x.value));let{done:w}=x;!y&&i!==null&&(w=this.playbackSpeed>=0?this.currentTime>=u:this.currentTime<=0);const B=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&w);return B&&m!==k0&&(x.value=bf(l,this.options,E,this.speed)),g&&g(x.value),B&&this.finish(),x}then(t,n){return this.finished.then(t,n)}get duration(){return _n(this.calculatedDuration)}get iterationDuration(){const{delay:t=0}=this.options||{};return this.duration+_n(t)}get time(){return _n(this.currentTime)}set time(t){var n;t=In(t),this.currentTime=t,this.startTime===null||this.holdTime!==null||this.playbackSpeed===0?this.holdTime=t:this.driver&&(this.startTime=this.driver.now()-t/this.playbackSpeed),(n=this.driver)==null||n.start(!1)}get speed(){return this.playbackSpeed}set speed(t){this.updateTime(Xt.now());const n=this.playbackSpeed!==t;this.playbackSpeed=t,n&&(this.time=_n(this.currentTime))}play(){var t,n;if(this.isStopped)return;const{driver:o=HI,startTime:u}=this.options;this.driver||(this.driver=o(a=>this.tick(a))),(n=(t=this.options).onPlay)==null||n.call(t);const r=this.driver.now();this.state==="finished"?(this.updateFinished(),this.startTime=r):this.holdTime!==null?this.startTime=r-this.holdTime:this.startTime||(this.startTime=u??r),this.state==="finished"&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(Xt.now()),this.holdTime=this.currentTime}complete(){this.state!=="running"&&this.play(),this.state="finished",this.holdTime=null}finish(){var t,n;this.notifyFinished(),this.teardown(),this.state="finished",(n=(t=this.options).onComplete)==null||n.call(t)}cancel(){var t,n;this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),(n=(t=this.options).onCancel)==null||n.call(t)}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(t){return this.startTime=0,this.tick(t,!0)}attachTimeline(t){var n;return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),(n=this.driver)==null||n.stop(),t.observe(this)}}const fL=e=>e.startsWith("--");function pL(e,t,n){fL(t)?e.style.setProperty(t,n):e.style[t]=n}function xf(e){let t;return()=>(t===void 0&&(t=e()),t)}const hL=xf(()=>window.ScrollTimeline!==void 0),mL={};function gL(e,t){const n=xf(e);return()=>mL[t]??n()}const eb=gL(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),Gr=([e,t,n,o])=>`cubic-bezier(${e}, ${t}, ${n}, ${o})`,R4={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:Gr([0,.65,.55,1]),circOut:Gr([.55,0,1,.45]),backIn:Gr([.31,.01,.66,-.59]),backOut:Gr([.33,1.53,.69,.99])};function tb(e,t){if(e)return typeof e=="function"?eb()?j6(e,t):"ease-out":J6(e)?Gr(e):Array.isArray(e)?e.map(n=>tb(n,t)||R4.easeOut):R4[e]}function vL(e,t,n,{delay:o=0,duration:u=300,repeat:r=0,repeatType:a="loop",ease:s="easeOut",times:i}={},c=void 0){const l={[t]:n};i&&(l.offset=i);const d=tb(s,u);Array.isArray(d)&&(l.easing=d);const f={delay:o,duration:u,easing:Array.isArray(d)?"linear":d,fill:"both",iterations:r+1,direction:a==="reverse"?"alternate":"normal"};return c&&(f.pseudoElement=c),e.animate(l,f)}function yL({type:e,...t}){return hf(e)&&eb()?e.applyToOptions(t):(t.duration??(t.duration=300),t.ease??(t.ease="easeOut"),t)}class bL extends Ef{constructor(t){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!t)return;const{element:n,name:o,keyframes:u,pseudoElement:r,allowFlatten:a=!1,finalKeyframe:s,onComplete:i}=t;this.isPseudoElement=!!r,this.allowFlatten=a,this.options=t,_o(typeof t.type!="string",`Mini animate() doesn't support "type" as a string.`,"mini-spring");const c=yL(t);this.animation=vL(n,o,u,c,r),c.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!r){const l=bf(u,this.options,s,this.speed);this.updateMotionValue?this.updateMotionValue(l):pL(n,o,l),this.animation.cancel()}i?.(),this.notifyFinished()}}play(){this.isStopped||(this.manualStartTime=null,this.animation.play(),this.state==="finished"&&this.updateFinished())}pause(){this.animation.pause()}complete(){var t,n;(n=(t=this.animation).finish)==null||n.call(t)}cancel(){try{this.animation.cancel()}catch{}}stop(){if(this.isStopped)return;this.isStopped=!0;const{state:t}=this;t==="idle"||t==="finished"||(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){var t,n;this.isPseudoElement||(n=(t=this.animation).commitStyles)==null||n.call(t)}get duration(){var t,n;const o=((n=(t=this.animation.effect)==null?void 0:t.getComputedTiming)==null?void 0:n.call(t).duration)||0;return _n(Number(o))}get iterationDuration(){const{delay:t=0}=this.options||{};return this.duration+_n(t)}get time(){return _n(Number(this.animation.currentTime)||0)}set time(t){this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=In(t)}get speed(){return this.animation.playbackRate}set speed(t){t<0&&(this.finishedTime=null),this.animation.playbackRate=t}get state(){return this.finishedTime!==null?"finished":this.animation.playState}get startTime(){return this.manualStartTime??Number(this.animation.startTime)}set startTime(t){this.manualStartTime=this.animation.startTime=t}attachTimeline({timeline:t,observe:n}){var o;return this.allowFlatten&&((o=this.animation.effect)==null||o.updateTiming({easing:"linear"})),this.animation.onfinish=null,t&&hL()?(this.animation.timeline=t,cn):n(this)}}const nb={anticipate:Y6,backInOut:G6,circInOut:X6};function EL(e){return e in nb}function CL(e){typeof e.ease=="string"&&EL(e.ease)&&(e.ease=nb[e.ease])}const nc=10;class xL extends bL{constructor(t){CL(t),Q6(t),super(t),t.startTime!==void 0&&(this.startTime=t.startTime),this.options=t}updateMotionValue(t){const{motionValue:n,onUpdate:o,onComplete:u,element:r,...a}=this.options;if(!n)return;if(t!==void 0){n.set(t);return}const s=new Cf({...a,autoplay:!1}),i=Math.max(nc,Xt.now()-this.startTime),c=ro(0,nc,i-nc);n.setWithVelocity(s.sample(Math.max(0,i-c)).value,s.sample(i).value,c),s.stop()}}const I4=(e,t)=>t==="zIndex"?!1:!!(typeof e=="number"||Array.isArray(e)||typeof e=="string"&&(Qo.test(e)||e==="0")&&!e.startsWith("url("));function DL(e){const t=e[0];if(e.length===1)return!0;for(let n=0;nObject.hasOwnProperty.call(Element.prototype,"animate"));function _L(e){var t;const{motionValue:n,name:o,repeatDelay:u,repeatType:r,damping:a,type:s}=e;if(!(((t=n?.owner)==null?void 0:t.current)instanceof HTMLElement))return!1;const{onUpdate:c,transformTemplate:l}=n.owner.getProps();return BL()&&o&&AL.has(o)&&(o!=="transform"||!l)&&!c&&!u&&r!=="mirror"&&a!==0&&s!=="inertia"}const kL=40;class SL extends Ef{constructor({autoplay:t=!0,delay:n=0,type:o="keyframes",repeat:u=0,repeatDelay:r=0,repeatType:a="loop",keyframes:s,name:i,motionValue:c,element:l,...d}){var f;super(),this.stop=()=>{var g,E;this._animation&&(this._animation.stop(),(g=this.stopTimeline)==null||g.call(this)),(E=this.keyframeResolver)==null||E.cancel()},this.createdAt=Xt.now();const p={autoplay:t,delay:n,type:o,repeat:u,repeatDelay:r,repeatType:a,name:i,motionValue:c,element:l,...d},m=l?.KeyframeResolver||sf;this.keyframeResolver=new m(s,(g,E,b)=>this.onKeyframesResolved(g,E,p,!b),i,c,l),(f=this.keyframeResolver)==null||f.scheduleResolve()}onKeyframesResolved(t,n,o,u){this.keyframeResolver=void 0;const{name:r,type:a,velocity:s,delay:i,isHandoff:c,onUpdate:l}=o;this.resolvedAt=Xt.now(),wL(t,r,a,s)||((Ao.instantAnimations||!i)&&l?.(bf(t,o,n)),t[0]=t[t.length-1],A0(o),o.repeat=0);const f={startTime:u?this.resolvedAt?this.resolvedAt-this.createdAt>kL?this.resolvedAt:this.createdAt:this.createdAt:void 0,finalKeyframe:n,...o,keyframes:t},p=!c&&_L(f)?new xL({...f,element:f.motionValue.owner.current}):new Cf(f);p.finished.then(()=>this.notifyFinished()).catch(cn),this.pendingTimeline&&(this.stopTimeline=p.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=p}get finished(){return this._animation?this.animation.finished:this._finished}then(t,n){return this.finished.finally(t).then(()=>{})}get animation(){var t;return this._animation||((t=this.keyframeResolver)==null||t.resume(),kR()),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(t){this.animation.time=t}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(t){this.animation.speed=t}get startTime(){return this.animation.startTime}attachTimeline(t){return this._animation?this.stopTimeline=this.animation.attachTimeline(t):this.pendingTimeline=t,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){var t;this._animation&&this.animation.cancel(),(t=this.keyframeResolver)==null||t.cancel()}}const Df=(e,t,n,o={},u,r)=>a=>{const s=mf(o,e)||{},i=s.delay||o.delay||0;let{elapsed:c=0}=o;c=c-In(i);const l={keyframes:Array.isArray(n)?n:[null,n],ease:"easeOut",velocity:t.getVelocity(),...s,delay:-c,onUpdate:f=>{t.set(f),s.onUpdate&&s.onUpdate(f)},onComplete:()=>{a(),s.onComplete&&s.onComplete()},name:e,motionValue:t,element:r?void 0:u};RI(s)||Object.assign(l,OI(e,l)),l.duration&&(l.duration=In(l.duration)),l.repeatDelay&&(l.repeatDelay=In(l.repeatDelay)),l.from!==void 0&&(l.keyframes[0]=l.from);let d=!1;if((l.type===!1||l.duration===0&&!l.repeatDelay)&&(A0(l),l.delay===0&&(d=!0)),(Ao.instantAnimations||Ao.skipAnimations)&&(d=!0,A0(l),l.delay=0),l.allowFlatten=!s.type&&!s.ease,d&&!r&&t.get()!==void 0){const f=SI(l.keyframes,s);if(f!==void 0){st.update(()=>{l.onUpdate(f),l.onComplete()});return}}return s.isSync?new Cf(l):new SL(l)};function TL({protectedKeys:e,needsAnimating:t},n){const o=e.hasOwnProperty(n)&&t[n]!==!0;return t[n]=!1,o}function FL(e,t,{delay:n=0,transitionOverride:o,type:u}={}){let{transition:r=e.getDefaultTransition(),transitionEnd:a,...s}=t;o&&(r=o);const i=[],c=u&&e.animationState&&e.animationState.getState()[u];for(const l in s){const d=e.getValue(l,e.latestValues[l]??null),f=s[l];if(f===void 0||c&&TL(c,l))continue;const p={delay:n,...mf(r||{},l)},m=d.get();if(m!==void 0&&!d.isAnimating&&!Array.isArray(f)&&f===m&&!p.velocity)continue;let g=!1;if(window.MotionHandoffAnimation){const b=q6(e);if(b){const y=window.MotionHandoffAnimation(b,l,st);y!==null&&(p.startTime=y,g=!0)}}AI(e,l),d.start(Df(l,d,f,e.shouldReduceMotion&&x6.has(l)?{type:!1}:p,e,g));const E=d.animation;E&&i.push(E)}return a&&Promise.all(i).then(()=>{st.update(()=>{a&&DI(e,a)})}),i}function PL(e,t){return e in t}class ML extends C6{constructor(){super(...arguments),this.type="object"}readValueFromInstance(t,n){if(PL(n,t)){const o=t[n];if(typeof o=="string"||typeof o=="number")return o}}getBaseTargetFromProps(){}removeValueFromRenderState(t,n){delete n.output[t]}measureInstanceViewportBox(){return kt()}build(t,n){Object.assign(t.output,n)}renderInstance(t,{output:n}){Object.assign(t,n)}sortInstanceNodePosition(){return 0}}function ob(e){return typeof e=="object"&&e!==null}function wf(e){return ob(e)&&"ownerSVGElement"in e}function ub(e){return wf(e)&&e.tagName==="svg"}function OL(e){const t={presenceContext:null,props:{},visualState:{renderState:{transform:{},transformOrigin:{},style:{},vars:{},attrs:{}},latestValues:{}}},n=wf(e)&&!ub(e)?new F6(t):new S6(t);n.mount(e),Fu.set(e,n)}function RL(e){const t={presenceContext:null,props:{},visualState:{renderState:{output:{}},latestValues:{}}},n=new ML(t);n.mount(e),Fu.set(e,n)}function rb(e,t,n){const o=wt(e)?e:hr(e);return o.start(Df("",o,t,n)),o.animation}function IL(e,t){return wt(e)||typeof e=="number"||typeof e=="string"&&!df(t)}function ab(e,t,n,o){const u=[];if(IL(e,t))u.push(rb(e,df(t)&&t.default||t,n&&(n.default||n)));else{const r=P6(e,t,o),a=r.length;_o(!!a,"No valid elements provided.","no-valid-elements");for(let s=0;s{o.push(...ab(s,r,a))}),o}class qL{constructor(t){this.stop=()=>this.runAll("stop"),this.animations=t.filter(Boolean)}get finished(){return Promise.all(this.animations.map(t=>t.finished))}getAll(t){return this.animations[0][t]}setAll(t,n){for(let o=0;oo.attachTimeline(t));return()=>{n.forEach((o,u)=>{o&&o(),this.animations[u].stop()})}}get time(){return this.getAll("time")}set time(t){this.setAll("time",t)}get speed(){return this.getAll("speed")}set speed(t){this.setAll("speed",t)}get state(){return this.getAll("state")}get startTime(){return this.getAll("startTime")}get duration(){return L4(this.animations,"duration")}get iterationDuration(){return L4(this.animations,"iterationDuration")}runAll(t){this.animations.forEach(n=>n[t]())}play(){this.runAll("play")}pause(){this.runAll("pause")}cancel(){this.runAll("cancel")}complete(){this.runAll("complete")}}function L4(e,t){let n=0;for(let o=0;on&&(n=u)}return n}class $L extends qL{then(t,n){return this.finished.finally(t).then(()=>{})}}function NL(e){return Array.isArray(e)&&e.some(Array.isArray)}function jL(e){function t(n,o,u){let r=[],a;if(NL(n))r=LL(n,o,e);else{const{onComplete:i,...c}=u||{};typeof i=="function"&&(a=i),r=ab(n,o,c,e)}const s=new $L(r);return a&&s.finished.then(a),s}return t}const VL=jL(),zL=["initial","animate","whileInView","whileHover","whilePress","whileDrag","whileFocus","exit"];class UL extends Oo{constructor(t){var n,o;super(t),this.animateUpdates=({controlActiveState:u,directAnimate:r,directTransition:a,controlDelay:s=0,isExit:i}={})=>{const{reducedMotion:c}=this.state.options.motionConfig;this.state.visualElement.shouldReduceMotion=c==="always"||c==="user"&&!!Ci.current;const l=this.state.target;this.state.target={...this.state.baseTarget};let d={};d=this.resolveStateAnimation({controlActiveState:u,directAnimate:r,directTransition:a}),this.state.finalTransition=d;const f=this.createAnimationFactories(l,d,s),{getChildAnimations:p}=this.setupChildAnimations(d,this.state.activeStates);return this.executeAnimations({factories:f,getChildAnimations:p,transition:d,controlActiveState:u,isExit:i})},this.state.visualElement=uI(this.state.options.as,{presenceContext:null,parent:(n=this.state.parent)==null?void 0:n.visualElement,props:{...this.state.options,whileTap:this.state.options.whilePress},visualState:{renderState:{transform:{},transformOrigin:{},style:{},vars:{},attrs:{}},latestValues:{...this.state.baseTarget}},reducedMotionConfig:this.state.options.motionConfig.reducedMotion}),(o=this.state.visualElement.parent)==null||o.addChild(this.state.visualElement),this.state.animateUpdates=this.animateUpdates,this.state.isMounted()&&this.state.startAnimation()}updateAnimationControlsSubscription(){const{animate:t}=this.state.options;a4(t)&&(this.unmountControls=t.subscribe(this.state))}executeAnimations({factories:t,getChildAnimations:n,transition:o,controlActiveState:u,isExit:r=!1}){const a=()=>Promise.all(t.map(d=>d()).filter(Boolean)),s={...this.state.target},i=this.state.element,c=d=>{var f,p;r&&(this.state.isExiting=!0),i.dispatchEvent(i4("motionstart",s)),(p=(f=this.state.options).onAnimationStart)==null||p.call(f,s),d.then(()=>{var m,g,E,b;if(r){this.state.isExiting=!1;const y=this.state.options.animatePresenceContext;if(y?.onMotionExitComplete&&this.state.presenceContainer){const v=this.state,C=v.visualElement.projection;(m=v.options)!=null&&m.layoutId&&((g=C.currentAnimation)==null?void 0:g.state)==="running"&&!v.options.exit||y.onMotionExitComplete(v.presenceContainer,v)}}i.dispatchEvent(i4("motioncomplete",s,r)),(b=(E=this.state.options).onAnimationComplete)==null||b.call(E,s)}).catch(cn)},l=()=>{const d=o?.when?(o.when==="beforeChildren"?a():n()).then(()=>o.when==="beforeChildren"?n():a()):Promise.all([a(),n()]);return c(d),d};return u?l:l()}setupChildAnimations(t,n){var o;const u=this.state.visualElement;if(!((o=u.variantChildren)!=null&&o.size)||!n)return{getChildAnimations:()=>Promise.resolve()};const{staggerChildren:r=0,staggerDirection:a=1,delayChildren:s=0}=t||{},i=u.variantChildren.size,c=(i-1)*r,l=typeof s=="function",d=l?p=>s(p,i):a===1?(p=0)=>p*r:(p=0)=>c-p*r,f=Array.from(u.variantChildren).map((p,m)=>p.state.animateUpdates({controlActiveState:n,controlDelay:(l?0:s)+d(m)}));return{getChildAnimations:()=>Promise.all(f.map(p=>p()))}}createAnimationFactories(t,n,o){const u=[];return Object.keys(this.state.target).forEach(r=>{var a;if(!PO(t[r],this.state.target[r]))return;(a=this.state.baseTarget)[r]??(a[r]=ZO.get(this.state.element,r));const s=this.state.target[r]==="none"&&ir(d4[r])?d4[r]:this.state.target[r];u.push(()=>{var i;return VL(this.state.element,{[r]:s},{...n?.[r]||n,delay:(((i=n?.[r])==null?void 0:i.delay)||n?.delay||0)+o})})}),u}resolveStateAnimation({controlActiveState:t,directAnimate:n,directTransition:o}){let u=this.state.options.transition,r={};const{variants:a,custom:s,transition:i,animatePresenceContext:c}=this.state.options,l=s??c?.custom;return this.state.activeStates={...this.state.activeStates,...t},zL.forEach(d=>{if(!this.state.activeStates[d]||a4(this.state.options[d]))return;const f=this.state.options[d];let p=ir(f)?aa(f,a,l):void 0;if(this.state.visualElement.isVariantNode){const m=aa(this.state.context[d],a,l);p=Object.assign(m?m||{}:r,p)}p&&(d!=="initial"&&(u=p.transition||this.state.options.transition||{}),r=Object.assign(r,p))}),n&&(r=aa(n,a,l),u=r.transition||o||i),Object.entries(r).forEach(([d,f])=>{d!=="transition"&&(this.state.target[d]=f)}),u}mount(){var t,n;const{element:o}=this.state;r6.set(o,this.state),Fu.get(o)||(this.state.visualElement.mount(o),Fu.set(o,this.state.visualElement)),this.state.visualElement.state=this.state,this.updateAnimationControlsSubscription();const u=this.state.visualElement,r=u.parent;if(u.enteringChildren=void 0,(t=this.state.parent)!=null&&t.isMounted()&&!u.isControllingVariants&&((n=r?.enteringChildren)!=null&&n.has(u))){const{delayChildren:a}=this.state.parent.finalTransition||{};this.animateUpdates({controlActiveState:this.state.parent.activeStates,controlDelay:rI(r.enteringChildren,u,a)})()}}update(){const{animate:t}=this.state.options,{animate:n}=this.state.visualElement.prevProps||{};t!==n&&this.updateAnimationControlsSubscription()}unmount(){var t;(t=this.unmountControls)==null||t.call(this)}}function HL(e){return ob(e)&&"offsetHeight"in e}const KL={y:!1};function WL(){return KL.y}const sb=(e,t)=>t?e===t?!0:sb(e,t.parentElement):!1,GL=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1;function ib(e,t){const n=ff(e),o=new AbortController,u={passive:!0,...t,signal:o.signal};return[n,u,()=>o.abort()]}const YL=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function ZL(e){return YL.has(e.tagName)||e.isContentEditable===!0}const js=new WeakSet;function q4(e){return t=>{t.key==="Enter"&&e(t)}}function oc(e,t){e.dispatchEvent(new PointerEvent("pointer"+t,{isPrimary:!0,bubbles:!0}))}const XL=(e,t)=>{const n=e.currentTarget;if(!n)return;const o=q4(()=>{if(js.has(n))return;oc(n,"down");const u=q4(()=>{oc(n,"up")}),r=()=>oc(n,"cancel");n.addEventListener("keyup",u,t),n.addEventListener("blur",r,t)});n.addEventListener("keydown",o,t),n.addEventListener("blur",()=>n.removeEventListener("keydown",o),t)};function $4(e){return GL(e)&&!0}function JL(e,t,n={}){const[o,u,r]=ib(e,n),a=s=>{const i=s.currentTarget;if(!$4(s))return;js.add(i);const c=t(i,s),l=(p,m)=>{window.removeEventListener("pointerup",d),window.removeEventListener("pointercancel",f),js.has(i)&&js.delete(i),$4(p)&&typeof c=="function"&&c(p,{success:m})},d=p=>{l(p,i===window||i===document||n.useGlobalTarget||sb(i,p.target))},f=p=>{l(p,!1)};window.addEventListener("pointerup",d,u),window.addEventListener("pointercancel",f,u)};return o.forEach(s=>{(n.useGlobalTarget?window:s).addEventListener("pointerdown",a,u),HL(s)&&(s.addEventListener("focus",c=>XL(c,u)),!ZL(s)&&!s.hasAttribute("tabindex")&&(s.tabIndex=0))}),r}function lb(e){return{point:{x:e.pageX,y:e.pageY}}}function N4(e,t,n){const o=e.options;o.whilePress&&e.setActive("whilePress",n==="Start");const u=`onPress${n==="End"?"":n}`,r=o[u];r&&st.postRender(()=>r(t,lb(t)))}class QL extends Oo{isActive(){const{whilePress:t,onPress:n,onPressCancel:o,onPressStart:u}=this.state.options;return!!(t||n||o||u)}constructor(t){super(t)}mount(){this.register()}update(){const{whilePress:t,onPress:n,onPressCancel:o,onPressStart:u}=this.state.options;t||n||o||u||this.register()}register(){const t=this.state.element;!t||!this.isActive()||(this.unmount(),this.unmount=JL(t,(n,o)=>(N4(this.state,o,"Start"),(u,{success:r})=>N4(this.state,u,r?"End":"Cancel")),{useGlobalTarget:this.state.options.globalPressTarget}))}}function j4(e){return!(e.pointerType==="touch"||WL())}function eq(e,t,n={}){const[o,u,r]=ib(e,n),a=s=>{if(!j4(s))return;const{target:i}=s,c=t(i,s);if(typeof c!="function"||!i)return;const l=d=>{j4(d)&&(c(d),i.removeEventListener("pointerleave",l))};i.addEventListener("pointerleave",l,u)};return o.forEach(s=>{s.addEventListener("pointerenter",a,u)}),r}function V4(e,t,n){const o=e.options;o.whileHover&&e.setActive("whileHover",n==="Start");const u=`onHover${n}`,r=o[u];r&&st.postRender(()=>r(t,lb(t)))}class tq extends Oo{isActive(){const{whileHover:t,onHoverStart:n,onHoverEnd:o}=this.state.options;return!!(t||n||o)}constructor(t){super(t)}mount(){this.register()}update(){const{whileHover:t,onHoverStart:n,onHoverEnd:o}=this.state.visualElement.prevProps;t||n||o||this.register()}register(){const t=this.state.element;!t||!this.isActive()||(this.unmount(),this.unmount=eq(t,(n,o)=>(V4(this.state,o,"Start"),u=>{V4(this.state,u,"End")})))}}const nq={some:0,all:1};function oq(e,t,{root:n,margin:o,amount:u="some"}={}){const r=ff(e),a=new WeakMap,s=c=>{c.forEach(l=>{const d=a.get(l.target);if(l.isIntersecting!==!!d)if(l.isIntersecting){const f=t(l.target,l);typeof f=="function"?a.set(l.target,f):i.unobserve(l.target)}else typeof d=="function"&&(d(l),a.delete(l.target))})},i=new IntersectionObserver(s,{root:n,rootMargin:o,threshold:typeof u=="number"?u:nq[u]});return r.forEach(c=>i.observe(c)),()=>i.disconnect()}function z4(e,t,n){const o=e.options;o.whileInView&&e.setActive("whileInView",n==="Enter");const u=`onViewport${n}`,r=o[u];r&&st.postRender(()=>r(t))}class uq extends Oo{isActive(){const{whileInView:t,onViewportEnter:n,onViewportLeave:o}=this.state.options;return!!(t||n||o)}constructor(t){super(t)}startObserver(){const t=this.state.element;if(!t||!this.isActive())return;this.unmount();const{once:n,...o}=this.state.options.inViewOptions||{};this.unmount=oq(t,(u,r)=>{if(z4(this.state,r,"Enter"),!n)return a=>{z4(this.state,r,"Leave")}},o)}mount(){this.startObserver()}update(){const{props:t,prevProps:n}=this.state.visualElement;["amount","margin","root"].some(rq(t,n))&&this.startObserver()}}function rq({inViewOptions:e={}},{inViewOptions:t={}}={}){return n=>e[n]!==t[n]}function wi(e,t,n,o={passive:!0}){return e.addEventListener(t,n,o),()=>e.removeEventListener(t,n)}class aq extends Oo{constructor(){super(...arguments),this.isActive=!1}onFocus(){let t=!1;try{t=this.state.element.matches(":focus-visible")}catch{t=!0}t&&(this.state.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){this.isActive&&(this.state.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=Ga(wi(this.state.element,"focus",()=>this.onFocus()),wi(this.state.element,"blur",()=>this.onBlur()))}}const sq=(e,t)=>e.depth-t.depth;class iq{constructor(){this.children=[],this.isDirty=!1}add(t){rf(this.children,t),this.isDirty=!0}remove(t){hl(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(sq),this.isDirty=!1,this.children.forEach(t)}}function uc(e){return wt(e)?e.get():e}const cb=["TopLeft","TopRight","BottomLeft","BottomRight"],lq=cb.length,U4=e=>typeof e=="string"?parseFloat(e):e,H4=e=>typeof e=="number"||de.test(e);function cq(e,t,n,o,u,r){u?(e.opacity=dt(0,n.opacity??1,dq(o)),e.opacityExit=dt(t.opacity??1,0,fq(o))):r&&(e.opacity=dt(t.opacity??1,n.opacity??1,o));for(let a=0;aot?1:n(mr(e,t,o))}function W4(e,t){e.min=t.min,e.max=t.max}function Pn(e,t){W4(e.x,t.x),W4(e.y,t.y)}function G4(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}function rc(e){return e===void 0||e===1}function S0({scale:e,scaleX:t,scaleY:n}){return!rc(e)||!rc(t)||!rc(n)}function fu(e){return S0(e)||fb(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function fb(e){return Y4(e.x)||Y4(e.y)}function Y4(e){return e&&e!=="0%"}function Ai(e,t,n){const o=e-n,u=t*o;return n+u}function Z4(e,t,n,o,u){return u!==void 0&&(e=Ai(e,u,o)),Ai(e,n,o)+t}function T0(e,t=0,n=1,o,u){e.min=Z4(e.min,t,n,o,u),e.max=Z4(e.max,t,n,o,u)}function pb(e,{x:t,y:n}){T0(e.x,t.translate,t.scale,t.originPoint),T0(e.y,n.translate,n.scale,n.originPoint)}const X4=.999999999999,J4=1.0000000000001;function pq(e,t,n,o=!1){const u=n.length;if(!u)return;t.x=t.y=1;let r,a;for(let s=0;sX4&&(t.x=1),t.yX4&&(t.y=1)}function _s(e,t){e.min=e.min+t,e.max=e.max+t}function Q4(e,t,n,o,u=.5){const r=dt(e.min,e.max,u);T0(e,t,n,r,o)}function Gu(e,t){Q4(e.x,t.x,t.scaleX,t.scale,t.originX),Q4(e.y,t.y,t.scaleY,t.scale,t.originY)}const hb=1e-4,hq=1-hb,mq=1+hb,mb=.01,gq=0-mb,vq=0+mb;function kn(e){return e.max-e.min}function yq(e,t,n){return Math.abs(e-t)<=n}function em(e,t,n,o=.5){e.origin=o,e.originPoint=dt(t.min,t.max,e.origin),e.scale=kn(n)/kn(t),e.translate=dt(n.min,n.max,e.origin)-e.originPoint,(e.scale>=hq&&e.scale<=mq||isNaN(e.scale))&&(e.scale=1),(e.translate>=gq&&e.translate<=vq||isNaN(e.translate))&&(e.translate=0)}function ia(e,t,n,o){em(e.x,t.x,n.x,o?o.originX:void 0),em(e.y,t.y,n.y,o?o.originY:void 0)}function tm(e,t,n){e.min=n.min+t.min,e.max=e.min+kn(t)}function bq(e,t,n){tm(e.x,t.x,n.x),tm(e.y,t.y,n.y)}function nm(e,t,n){e.min=t.min-n.min,e.max=e.min+kn(t)}function Bi(e,t,n){nm(e.x,t.x,n.x),nm(e.y,t.y,n.y)}function om(e,t,n,o,u){return e-=t,e=Ai(e,1/n,o),u!==void 0&&(e=Ai(e,1/u,o)),e}function Eq(e,t=0,n=1,o=.5,u,r=e,a=e){if(oo.test(t)&&(t=parseFloat(t),t=dt(a.min,a.max,t/100)-a.min),typeof t!="number")return;let s=dt(r.min,r.max,o);e===r&&(s-=t),e.min=om(e.min,t,n,s,u),e.max=om(e.max,t,n,s,u)}function um(e,t,[n,o,u],r,a){Eq(e,t[n],t[o],t[u],t.scale,r,a)}const Cq=["x","scaleX","originX"],xq=["y","scaleY","originY"];function rm(e,t,n,o){um(e.x,t,Cq,n?n.x:void 0,o?o.x:void 0),um(e.y,t,xq,n?n.y:void 0,o?o.y:void 0)}function am(e){return e.translate===0&&e.scale===1}function gb(e){return am(e.x)&&am(e.y)}function sm(e,t){return e.min===t.min&&e.max===t.max}function Dq(e,t){return sm(e.x,t.x)&&sm(e.y,t.y)}function im(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function vb(e,t){return im(e.x,t.x)&&im(e.y,t.y)}function lm(e){return kn(e.x)/kn(e.y)}function cm(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}class wq{constructor(){this.members=[]}add(t){rf(this.members,t),t.scheduleRender()}remove(t){if(hl(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){const n=this.members[this.members.length-1];n&&this.promote(n)}}relegate(t){const n=this.members.findIndex(u=>t===u);if(n===0)return!1;let o;for(let u=n;u>=0;u--){const r=this.members[u];if(r.isPresent!==!1){o=r;break}}return o?(this.promote(o),!0):!1}promote(t,n){const o=this.lead;if(t!==o&&(this.prevLead=o,this.lead=t,t.show(),o)){o.instance&&o.scheduleRender(),t.scheduleRender(),t.resumeFrom=o,n&&(t.resumeFrom.preserveOpacity=!0),o.snapshot&&(t.snapshot=o.snapshot,t.snapshot.latestValues=o.animationValues||o.latestValues),t.root&&t.root.isUpdating&&(t.isLayoutDirty=!0);const{crossfade:u}=t.options;u===!1&&o.hide()}}exitAnimationComplete(){this.members.forEach(t=>{const{options:n,resumingFrom:o}=t;n.onExitComplete&&n.onExitComplete(),o&&o.options.onExitComplete&&o.options.onExitComplete()})}scheduleRender(){this.members.forEach(t=>{t.instance&&t.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function Aq(e,t,n){let o="";const u=e.x.translate/t.x,r=e.y.translate/t.y,a=n?.z||0;if((u||r||a)&&(o=`translate3d(${u}px, ${r}px, ${a}px) `),(t.x!==1||t.y!==1)&&(o+=`scale(${1/t.x}, ${1/t.y}) `),n){const{transformPerspective:c,rotate:l,rotateX:d,rotateY:f,skewX:p,skewY:m}=n;c&&(o=`perspective(${c}px) ${o}`),l&&(o+=`rotate(${l}deg) `),d&&(o+=`rotateX(${d}deg) `),f&&(o+=`rotateY(${f}deg) `),p&&(o+=`skewX(${p}deg) `),m&&(o+=`skewY(${m}deg) `)}const s=e.x.scale*t.x,i=e.y.scale*t.y;return(s!==1||i!==1)&&(o+=`scale(${s}, ${i})`),o||"none"}function dm(e){return[e("x"),e("y")]}const Vs={hasAnimatedSinceResize:!0,hasEverUpdated:!1},ac=["","X","Y","Z"],Bq=1e3;let _q=0;function sc(e,t,n,o){const{latestValues:u}=t;u[e]&&(n[e]=u[e],t.setStaticValue(e,0),o&&(o[e]=0))}function yb(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;const{visualElement:t}=e.options;if(!t)return;const n=q6(t);if(window.MotionHasOptimisedAnimation(n,"transform")){const{layout:u,layoutId:r}=e.options;window.MotionCancelOptimisedAnimation(n,"transform",st,!(u||r))}const{parent:o}=e;o&&!o.hasCheckedOptimisedAppear&&yb(o)}function bb({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:o,resetTransform:u}){return class{constructor(a={},s=t?.()){this.id=_q++,this.animationId=0,this.animationCommitId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.layoutVersion=0,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,this.nodes.forEach(Tq),this.nodes.forEach(Oq),this.nodes.forEach(Rq),this.nodes.forEach(Fq)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=a,this.root=s?s.root||s:this,this.path=s?[...s.path,s]:[],this.parent=s,this.depth=s?s.depth+1:0;for(let i=0;ithis.root.updateBlockedByResize=!1;st.read(()=>{d=window.innerWidth}),e(a,()=>{const p=window.innerWidth;p!==d&&(d=p,this.root.updateBlockedByResize=!0,l&&l(),l=pO(f,250),Vs.hasAnimatedSinceResize&&(Vs.hasAnimatedSinceResize=!1,this.nodes.forEach(hm)))})}s&&this.root.registerSharedNode(s,this),this.options.animate!==!1&&c&&(s||i)&&this.addEventListener("didUpdate",({delta:l,hasLayoutChanged:d,hasRelativeLayoutChanged:f,layout:p})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const m=this.options.transition||c.getDefaultTransition()||Nq,{onLayoutAnimationStart:g,onLayoutAnimationComplete:E}=c.getProps(),b=!this.targetLayout||!vb(this.targetLayout,p),y=!d&&f;if(this.options.layoutRoot||this.resumeFrom||y||d&&(b||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);const v={...mf(m,"layout"),onPlay:g,onComplete:E};(c.shouldReduceMotion||this.options.layoutRoot)&&(v.delay=0,v.type=!1),this.startAnimation(v),this.setAnimationOrigin(l,y)}else d||hm(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=p})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const a=this.getStack();a&&a.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),Bo(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach(Iq),this.animationId++)}getTransformTemplate(){const{visualElement:a}=this.options;return a&&a.getProps().transformTemplate}willUpdate(a=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&yb(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let l=0;l{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!kn(this.snapshot.measuredBox.x)&&!kn(this.snapshot.measuredBox.y)&&(this.snapshot=void 0))}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let i=0;i{const x=C/1e3;mm(d.x,a.x,x),mm(d.y,a.y,x),this.setTargetDelta(d),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(Bi(f,this.layout.layoutBox,this.relativeParent.layout.layoutBox),qq(this.relativeTarget,this.relativeTargetOrigin,f,x),v&&Dq(this.relativeTarget,v)&&(this.isProjectionDirty=!1),v||(v=kt()),Pn(v,this.relativeTarget)),g&&(this.animationValues=l,cq(l,c,this.latestValues,x,y,b)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=x},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(a){var s,i,c;this.notifyListeners("animationStart"),(s=this.currentAnimation)==null||s.stop(),(c=(i=this.resumingFrom)==null?void 0:i.currentAnimation)==null||c.stop(),this.pendingAnimation&&(Bo(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=st.update(()=>{Vs.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=hr(0)),this.currentAnimation=rb(this.motionValue,[0,1e3],{...a,velocity:0,isSync:!0,onUpdate:l=>{this.mixTargetDelta(l),a.onUpdate&&a.onUpdate(l)},onStop:()=>{},onComplete:()=>{a.onComplete&&a.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const a=this.getStack();a&&a.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(Bq),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const a=this.getLead();let{targetWithTransforms:s,target:i,layout:c,latestValues:l}=a;if(!(!s||!i||!c)){if(this!==a&&this.layout&&c&&Eb(this.options.animationType,this.layout.layoutBox,c.layoutBox)){i=this.target||kt();const d=kn(this.layout.layoutBox.x);i.x.min=a.target.x.min,i.x.max=i.x.min+d;const f=kn(this.layout.layoutBox.y);i.y.min=a.target.y.min,i.y.max=i.y.min+f}Pn(s,i),Gu(s,l),ia(this.projectionDeltaWithTransform,this.layoutCorrected,s,l)}}registerSharedNode(a,s){this.sharedNodes.has(a)||this.sharedNodes.set(a,new wq),this.sharedNodes.get(a).add(s);const c=s.options.initialPromotionConfig;s.promote({transition:c?c.transition:void 0,preserveFollowOpacity:c&&c.shouldPreserveFollowOpacity?c.shouldPreserveFollowOpacity(s):void 0})}isLead(){const a=this.getStack();return a?a.lead===this:!0}getLead(){var a;const{layoutId:s}=this.options;return s?((a=this.getStack())==null?void 0:a.lead)||this:this}getPrevLead(){var a;const{layoutId:s}=this.options;return s?(a=this.getStack())==null?void 0:a.prevLead:void 0}getStack(){const{layoutId:a}=this.options;if(a)return this.root.sharedNodes.get(a)}promote({needsReset:a,transition:s,preserveFollowOpacity:i}={}){const c=this.getStack();c&&c.promote(this,i),a&&(this.projectionDelta=void 0,this.needsReset=!0),s&&this.setOptions({transition:s})}relegate(){const a=this.getStack();return a?a.relegate(this):!1}resetSkewAndRotation(){const{visualElement:a}=this.options;if(!a)return;let s=!1;const{latestValues:i}=a;if((i.z||i.rotate||i.rotateX||i.rotateY||i.rotateZ||i.skewX||i.skewY)&&(s=!0),!s)return;const c={};i.z&&sc("z",a,c,this.animationValues);for(let l=0;l{var s;return(s=a.currentAnimation)==null?void 0:s.stop()}),this.root.nodes.forEach(fm),this.root.sharedNodes.clear()}}}function kq(e){e.updateLayout()}function Sq(e){var t;const n=((t=e.resumeFrom)==null?void 0:t.snapshot)||e.snapshot;if(e.isLead()&&e.layout&&n&&e.hasListeners("didUpdate")){const{layoutBox:o,measuredBox:u}=e.layout,{animationType:r}=e.options,a=n.source!==e.layout.source;r==="size"?dm(d=>{const f=a?n.measuredBox[d]:n.layoutBox[d],p=kn(f);f.min=o[d].min,f.max=f.min+p}):Eb(r,n.layoutBox,o)&&dm(d=>{const f=a?n.measuredBox[d]:n.layoutBox[d],p=kn(o[d]);f.max=f.min+p,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[d].max=e.relativeTarget[d].min+p)});const s=Wu();ia(s,o,n.layoutBox);const i=Wu();a?ia(i,e.applyTransform(u,!0),n.measuredBox):ia(i,o,n.layoutBox);const c=!gb(s);let l=!1;if(!e.resumeFrom){const d=e.getClosestProjectingParent();if(d&&!d.resumeFrom){const{snapshot:f,layout:p}=d;if(f&&p){const m=kt();Bi(m,n.layoutBox,f.layoutBox);const g=kt();Bi(g,o,p.layoutBox),vb(m,g)||(l=!0),d.options.layoutRoot&&(e.relativeTarget=g,e.relativeTargetOrigin=m,e.relativeParent=d)}}}e.notifyListeners("didUpdate",{layout:o,snapshot:n,delta:i,layoutDelta:s,hasLayoutChanged:c,hasRelativeLayoutChanged:l})}else if(e.isLead()){const{onExitComplete:o}=e.options;o&&o()}e.options.transition=void 0}function Tq(e){e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=!!(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function Fq(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function Pq(e){e.clearSnapshot()}function fm(e){e.clearMeasurements()}function pm(e){e.isLayoutDirty=!1}function Mq(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function hm(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function Oq(e){e.resolveTargetDelta()}function Rq(e){e.calcProjection()}function Iq(e){e.resetSkewAndRotation()}function Lq(e){e.removeLeadSnapshot()}function mm(e,t,n){e.translate=dt(t.translate,0,n),e.scale=dt(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function gm(e,t,n,o){e.min=dt(t.min,n.min,o),e.max=dt(t.max,n.max,o)}function qq(e,t,n,o){gm(e.x,t.x,n.x,o),gm(e.y,t.y,n.y,o)}function $q(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}const Nq={duration:.45,ease:[.4,0,.1,1]},vm=e=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),ym=vm("applewebkit/")&&!vm("chrome/")?Math.round:cn;function bm(e){e.min=ym(e.min),e.max=ym(e.max)}function jq(e){bm(e.x),bm(e.y)}function Eb(e,t,n){return e==="position"||e==="preserve-aspect"&&!yq(lm(t),lm(n),.2)}function Vq(e){var t;return e!==e.root&&((t=e.scroll)==null?void 0:t.wasRoot)}function zq(e,t,n,o={passive:!0}){return e.addEventListener(t,n,o),()=>e.removeEventListener(t,n)}const Uq=bb({attachResizeListener:(e,t)=>zq(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),ic={current:void 0},Hq=bb({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!ic.current){const e=new Uq({});e.mount(window),e.setOptions({layoutScroll:!0}),ic.current=e}return ic.current},resetTransform:(e,t)=>{e.style.transform=t!==void 0?t:"none"},checkIsScrollRoot:e=>window.getComputedStyle(e).position==="fixed"});function Cb(e){if(e)return e.options.allowProjection!==!1?e.projection:Cb(e.parent)}const xb={borderRadius:{...Xn,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:Xn,borderTopRightRadius:Xn,borderBottomLeftRadius:Xn,borderBottomRightRadius:Xn,boxShadow:t6};function Yr(e){return typeof e=="object"&&e!==null&&"nodeType"in e}class Kq extends Oo{constructor(t){super(t),o6(xb)}initProjection(){const t=this.state.options;this.state.visualElement.projection=new Hq(this.state.visualElement.latestValues,t["data-framer-portal-id"]?void 0:Cb(this.state.visualElement.parent)),this.state.visualElement.projection.isPresent=!0,this.setOptions()}beforeMount(){this.initProjection()}setOptions(){const t=this.state.options,{layoutId:n,layout:o,drag:u=!1,dragConstraints:r=!1}=t;this.state.visualElement.projection.setOptions({layout:o,layoutId:n,alwaysMeasureLayout:!!n||!!u||r&&Yr(r),visualElement:this.state.visualElement,animationType:typeof t.layout=="string"?t.layout:"both",layoutRoot:t.layoutRoot,layoutScroll:t.layoutScroll,crossfade:t.crossfade,onExitComplete:()=>{var a,s;!((a=this.state.visualElement.projection)!=null&&a.isPresent)&&this.state.options.layoutId&&!this.state.isExiting&&((s=this.state.options.animatePresenceContext)==null||s.onMotionExitComplete(this.state.presenceContainer,this.state))}})}update(){this.setOptions()}mount(){var t;(t=this.state.visualElement.projection)==null||t.mount(this.state.element)}}function Db(e){return e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1}function Af(e,t="page"){return{point:{x:e[`${t}X`],y:e[`${t}Y`]}}}function Wq(e){return t=>Db(t)&&e(t,Af(t))}function la(e,t,n,o){return wi(e,t,Wq(n),o)}function wb(e){let t=null;return()=>{const n=()=>{t=null};return t===null?(t=e,n):!1}}const Em=wb("dragHorizontal"),Cm=wb("dragVertical");function Gq(e){let t=!1;if(e==="y")t=Cm();else if(e==="x")t=Em();else{const n=Em(),o=Cm();n&&o?t=()=>{n(),o()}:(n&&n(),o&&o())}return t}function F0(e){return e.max-e.min}function Yq(e,{min:t,max:n},o){return t!==void 0&&en&&(e=o?dt(n,e,o.max):Math.min(e,n)),e}const P0=.35;function Zq(e,{top:t,left:n,bottom:o,right:u}){return{x:xm(e.x,n,u),y:xm(e.y,t,o)}}function xm(e,t,n){return{min:t!==void 0?e.min+t:void 0,max:n!==void 0?e.max+n-(e.max-e.min):void 0}}function Xq(e=P0){return e===!1?e=0:e===!0&&(e=P0),{x:Dm(e,"left","right"),y:Dm(e,"top","bottom")}}function Dm(e,t,n){return{min:wm(e,t),max:wm(e,n)}}function wm(e,t){return typeof e=="number"?e:e[t]||0}function Jq(e,t){const n={};return t.min!==void 0&&(n.min=t.min-e.min),t.max!==void 0&&(n.max=t.max-e.min),n}function Qq(e,t){return{x:Am(e.x,t.x),y:Am(e.y,t.y)}}function Am(e,t){let n=t.min-e.min,o=t.max-e.max;return t.max-t.mino?n=mr(t.min,t.max-o,e.min):o>u&&(n=mr(e.min,e.max-u,t.min)),ro(0,1,n)}const Bm=(e,t)=>Math.abs(e-t);function t$(e,t){const n=Bm(e.x,t.x),o=Bm(e.y,t.y);return Math.sqrt(n**2+o**2)}const _m=new Set(["auto","scroll"]);class Ab{constructor(t,n,{transformPagePoint:o,contextWindow:u,dragSnapToOrigin:r=!1,element:a}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.scrollPositions=new Map,this.onElementScroll=f=>{this.handleScroll(f.target)},this.onWindowScroll=()=>{this.handleScroll(window)},this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const f=cc(this.lastMoveEventInfo,this.history),p=this.startEvent!==null,m=t$(f.offset,{x:0,y:0})>=3;if(!p&&!m)return;const{point:g}=f,{timestamp:E}=Rt;this.history.push({...g,timestamp:E});const{onStart:b,onMove:y}=this.handlers;p||(b&&b(this.lastMoveEvent,f),this.startEvent=this.lastMoveEvent),y&&y(this.lastMoveEvent,f)},this.handlePointerMove=(f,p)=>{this.lastMoveEvent=f,this.lastMoveEventInfo=lc(p,this.transformPagePoint),st.update(this.updatePoint,!0)},this.handlePointerUp=(f,p)=>{this.end();const{onEnd:m,onSessionEnd:g,resumeAnimation:E}=this.handlers;if((this.dragSnapToOrigin||!this.startEvent)&&E&&E(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const b=cc(f.type==="pointercancel"?this.lastMoveEventInfo:lc(p,this.transformPagePoint),this.history);this.startEvent&&m&&m(f,b),g&&g(f,b)},!Db(t))return;this.dragSnapToOrigin=r,this.handlers=n,this.transformPagePoint=o,this.contextWindow=u||window;const s=Af(t),i=lc(s,this.transformPagePoint),{point:c}=i,{timestamp:l}=Rt;this.history=[{...c,timestamp:l}];const{onSessionStart:d}=n;d&&d(t,cc(i,this.history)),this.removeListeners=Ga(la(this.contextWindow,"pointermove",this.handlePointerMove),la(this.contextWindow,"pointerup",this.handlePointerUp),la(this.contextWindow,"pointercancel",this.handlePointerUp)),a&&this.startScrollTracking(a)}isScrollable(t){const n=window.getComputedStyle(t);return n.overflow==="auto"||n.overflow==="scroll"||n.overflowX==="auto"||n.overflowX==="scroll"||n.overflowY==="auto"||n.overflowY==="scroll"}startScrollTracking(t){let n=t.parentElement;for(;n;){const o=getComputedStyle(n);(_m.has(o.overflowX)||_m.has(o.overflowY))&&this.scrollPositions.set(n,{x:n.scrollLeft,y:n.scrollTop}),n=n.parentElement}this.scrollPositions.set(window,{x:window.scrollX,y:window.scrollY}),window.addEventListener("scroll",this.onElementScroll,{capture:!0,passive:!0}),window.addEventListener("scroll",this.onWindowScroll,{passive:!0}),this.removeScrollListeners=()=>{window.removeEventListener("scroll",this.onElementScroll,{capture:!0}),window.removeEventListener("scroll",this.onWindowScroll)}}handleScroll(t){const n=this.scrollPositions.get(t);if(!n)return;const o=t===window,u=o?{x:window.scrollX,y:window.scrollY}:{x:t.scrollLeft,y:t.scrollTop},r={x:u.x-n.x,y:u.y-n.y};r.x===0&&r.y===0||(o?this.lastMoveEventInfo&&(this.lastMoveEventInfo.point.x+=r.x,this.lastMoveEventInfo.point.y+=r.y):this.history.length>0&&(this.history[0].x-=r.x,this.history[0].y-=r.y),this.scrollPositions.set(t,u),st.update(this.updatePoint,!0))}updateHandlers(t){this.handlers=t}end(){var t;this.removeListeners&&this.removeListeners(),(t=this.removeScrollListeners)==null||t.call(this),this.scrollPositions.clear(),Bo(this.updatePoint)}}function lc(e,t){return t?{point:t(e.point)}:e}function km(e,t){return{x:e.x-t.x,y:e.y-t.y}}function cc({point:e},t){return{point:e,delta:km(e,Bb(t)),offset:km(e,n$(t)),velocity:o$(t,.1)}}function n$(e){return e[0]}function Bb(e){return e[e.length-1]}function o$(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,o=null;const u=Bb(e);for(;n>=0&&(o=e[n],!(u.timestamp-o.timestamp>In(t)));)n--;if(!o)return{x:0,y:0};const r=_n(u.timestamp-o.timestamp);if(r===0)return{x:0,y:0};const a={x:(u.x-o.x)/r,y:(u.y-o.y)/r};return a.x===1/0&&(a.x=0),a.y===1/0&&(a.y=0),a}const Sm=()=>({min:0,max:0});function u$(){return{x:Sm(),y:Sm()}}function Hn(e){return[e("x"),e("y")]}function r$(e){return!!(wt(e)&&e.add)}function Tm(e,t){const n=e.getValue("willChange");if(r$(n))return n.add(t)}function _b({top:e,left:t,right:n,bottom:o}){return{x:{min:t,max:n},y:{min:e,max:o}}}function a$(e,t){if(!t)return e;const n=t({x:e.left,y:e.top}),o=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:o.y,right:o.x}}function s$({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function Fm(e,t){e.min=e.min+t,e.max=e.max+t}function i$(e,t){return _b(a$(e.getBoundingClientRect(),t))}function l$(e,t,n){const o=i$(e,n),{scroll:u}=t;return u&&(Fm(o.x,u.offset.x),Fm(o.y,u.offset.y)),o}function c$(e){var t;return(t=e.projection)==null?void 0:t.isPresent}function kb({current:e}){return e?e.ownerDocument.defaultView:null}const d$=new WeakMap;class f${constructor(t){this.openGlobalLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=u$(),this.visualElement=t}start(t,{snapToCursor:n=!1}={}){const o=c=>{n?this.stopAnimation():this.pauseAnimation(),n&&this.snapToCursor(Af(c,"page").point)},u=(c,l)=>{this.stopAnimation();const{drag:d,dragPropagation:f,onDragStart:p}=this.getProps();if(d&&!f&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=Gq(d),!this.openGlobalLock))return;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),Hn(g=>{let E=this.getAxisMotionValue(g).get()||0;if(oo.test(E)){const{projection:b}=this.visualElement;if(b&&b.layout){const y=b.layout.layoutBox[g];y&&(E=F0(y)*(parseFloat(E)/100))}}this.originPoint[g]=E}),p&&st.postRender(()=>p(c,l)),Tm(this.visualElement,"transform"),this.visualElement.state.setActive("whileDrag",!0)},r=(c,l)=>{const{dragPropagation:d,dragDirectionLock:f,onDirectionLock:p,onDrag:m}=this.getProps();if(!d&&!this.openGlobalLock)return;const{offset:g}=l;if(f&&this.currentDirection===null){this.currentDirection=p$(g),this.currentDirection!==null&&p&&p(this.currentDirection);return}this.updateAxis("x",l.point,g),this.updateAxis("y",l.point,g),this.visualElement.render(),m&&m(c,l)},a=(c,l)=>this.stop(c,l),s=()=>Hn(c=>{var l;return this.getAnimationState(c)==="paused"&&((l=this.getAxisMotionValue(c).animation)==null?void 0:l.play())}),{dragSnapToOrigin:i}=this.getProps();this.panSession=new Ab(t,{onSessionStart:o,onStart:u,onMove:r,onSessionEnd:a,resumeAnimation:s},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:i,contextWindow:kb(this.visualElement),element:this.visualElement.current})}stop(t,n){const o=this.isDragging;if(this.cancel(),!o)return;const{velocity:u}=n;this.startAnimation(u);const{onDragEnd:r}=this.getProps();r&&st.postRender(()=>r(t,n))}cancel(){this.isDragging=!1;const{projection:t,animationState:n}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:o}=this.getProps();!o&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),this.visualElement.state.setActive("whileDrag",!1)}updateAxis(t,n,o){const{drag:u}=this.getProps();if(!o||!ks(t,u,this.currentDirection))return;const r=this.getAxisMotionValue(t);let a=this.originPoint[t]+o[t];this.constraints&&this.constraints[t]&&(a=Yq(a,this.constraints[t],this.elastic[t])),r.set(a)}resolveConstraints(){var t;const{dragConstraints:n,dragElastic:o}=this.getProps(),u=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):(t=this.visualElement.projection)==null?void 0:t.layout,r=this.constraints;n&&Yr(n)?this.constraints||(this.constraints=this.resolveRefConstraints()):n&&u?this.constraints=Zq(u.layoutBox,n):this.constraints=!1,this.elastic=Xq(o),r!==this.constraints&&u&&this.constraints&&!this.hasMutatedConstraints&&Hn(a=>{this.constraints!==!1&&this.getAxisMotionValue(a)&&(this.constraints[a]=Jq(u.layoutBox[a],this.constraints[a]))})}resolveRefConstraints(){const{dragConstraints:t,onMeasureDragConstraints:n}=this.getProps();if(!t||!Yr(t))return!1;const o=t,{projection:u}=this.visualElement;if(!u||!u.layout)return!1;const r=l$(o,u.root,this.visualElement.getTransformPagePoint());let a=Qq(u.layout.layoutBox,r);if(n){const s=n(s$(a));this.hasMutatedConstraints=!!s,s&&(a=_b(s))}return a}startAnimation(t){const{drag:n,dragMomentum:o,dragElastic:u,dragTransition:r,dragSnapToOrigin:a,onDragTransitionEnd:s}=this.getProps(),i=this.constraints||{},c=Hn(l=>{if(!ks(l,n,this.currentDirection))return;let d=i&&i[l]||{};a&&(d={min:0,max:0});const f=u?200:1e6,p=u?40:1e7,m={type:"inertia",velocity:o?t[l]:0,bounceStiffness:f,bounceDamping:p,timeConstant:750,restDelta:1,restSpeed:10,...r,...d};return this.startAxisValueAnimation(l,m)});return Promise.all(c).then(s)}startAxisValueAnimation(t,n){const o=this.getAxisMotionValue(t);return Tm(this.visualElement,t),o.start(Df(t,o,0,n,this.visualElement,!1))}stopAnimation(){c$(this.visualElement)&&Hn(t=>this.getAxisMotionValue(t).stop())}pauseAnimation(){Hn(t=>{var n;return(n=this.getAxisMotionValue(t).animation)==null?void 0:n.pause()})}getAnimationState(t){var n;return(n=this.getAxisMotionValue(t).animation)==null?void 0:n.state}getAxisMotionValue(t){const n=`_drag${t.toUpperCase()}`,o=this.visualElement.getProps();return o[n]||this.visualElement.getValue(t,(o.initial?o.initial[t]:void 0)||0)}snapToCursor(t){Hn(n=>{const{drag:o}=this.getProps();if(!ks(n,o,this.currentDirection))return;const{projection:u}=this.visualElement,r=this.getAxisMotionValue(n);if(u&&u.layout){const{min:a,max:s}=u.layout.layoutBox[n];r.set(t[n]-dt(a,s,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:t,dragConstraints:n}=this.getProps(),{projection:o}=this.visualElement;if(!Yr(n)||!o||!this.constraints)return;this.stopAnimation();const u={x:0,y:0};Hn(a=>{const s=this.getAxisMotionValue(a);if(s&&this.constraints!==!1){const i=s.get();u[a]=e$({min:i,max:i},this.constraints[a])}});const{transformTemplate:r}=this.visualElement.getProps();this.visualElement.current.style.transform=r?r({},""):"none",o.root&&o.root.updateScroll(),o.updateLayout(),this.resolveConstraints(),Hn(a=>{if(!ks(a,t,null))return;const s=this.getAxisMotionValue(a),{min:i,max:c}=this.constraints[a];s.set(dt(i,c,u[a]))})}addListeners(){if(!this.visualElement.current)return;d$.set(this.visualElement,this);const t=this.visualElement.current,n=la(t,"pointerdown",i=>{const{drag:c,dragListener:l=!0}=this.getProps();c&&l&&this.start(i)}),o=()=>{const{dragConstraints:i}=this.getProps();Yr(i)&&(this.constraints=this.resolveRefConstraints())},{projection:u}=this.visualElement,r=u.addEventListener("measure",o);u&&!u.layout&&(u.root&&u.root.updateScroll(),u.updateLayout()),st.read(o);const a=wi(window,"resize",()=>this.scalePositionWithinConstraints()),s=u.addEventListener("didUpdate",({delta:i,hasLayoutChanged:c})=>{this.isDragging&&c&&(Hn(l=>{const d=this.getAxisMotionValue(l);d&&(this.originPoint[l]+=i[l].translate,d.set(d.get()+i[l].translate))}),this.visualElement.render())});return()=>{a(),n(),r(),s&&s()}}getProps(){const t=this.visualElement.getProps(),{drag:n=!1,dragDirectionLock:o=!1,dragPropagation:u=!1,dragConstraints:r=!1,dragElastic:a=P0,dragMomentum:s=!0}=t;return{...t,drag:n,dragDirectionLock:o,dragPropagation:u,dragConstraints:r,dragElastic:a,dragMomentum:s}}}function ks(e,t,n){return(t===!0||t===e)&&(n===null||n===e)}function p$(e,t=10){let n=null;return Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x"),n}class h$ extends Oo{constructor(t){super(t),this.removeGroupControls=cn,this.removeListeners=cn,this.controls=new f$(t.visualElement)}mount(){const{dragControls:t}=this.state.options;t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||cn}unmount(){this.removeGroupControls(),this.removeListeners()}}let Vr=!1;class m$ extends Oo{constructor(t){super(t),o6(xb),t.getSnapshot=this.getSnapshot.bind(this),t.didUpdate=this.didUpdate.bind(this)}beforeUpdate(t){this.getSnapshot(t,void 0)}update(){this.didUpdate()}didUpdate(){var t,n;Vr&&(this.state.options.layout||this.state.options.layoutId||this.state.options.drag)&&(Vr=!1,(n=(t=this.state.visualElement.projection)==null?void 0:t.root)==null||n.didUpdate())}mount(){var t;const n=this.state.options,o=this.state.options.layoutGroup;if(n.layout||n.layoutId){const u=this.state.visualElement.projection;if(u){u.promote();const r=u.getStack();r?.prevLead&&!r.prevLead.snapshot&&(r.prevLead.willUpdate(),Vr=!0),(t=o?.group)==null||t.add(u)}Vs.hasEverUpdated=!0}this.didUpdate()}beforeUnmount(){this.getSnapshot(this.state.options,!1)}unmount(){const t=this.state.options.layoutGroup,n=this.state.visualElement.projection;n&&(t?.group&&(this.state.options.layout||this.state.options.layoutId)&&t.group.remove(n),this.state.options.layoutId&&(Vr=!0),this.didUpdate())}getSnapshot(t,n){const o=this.state.visualElement.projection,{drag:u,layoutDependency:r,layout:a,layoutId:s}=t;if(!o||!a&&!s&&!u)return;Vr=!0;const i=this.state.options;(u||i.layoutDependency!==r||r===void 0||ir(n)&&o.isPresent!==n)&&o.willUpdate(),ir(n)&&n!==o.isPresent&&(o.isPresent=n,n?o.promote():o.relegate())}}function Pm(e){return(t,n)=>{e&&st.postRender(()=>e(t,n))}}class g$ extends Oo{constructor(){super(...arguments),this.removePointerDownListener=cn}onPointerDown(t){this.session=new Ab(t,this.createPanHandlers(),{transformPagePoint:this.state.visualElement.getTransformPagePoint(),contextWindow:kb(this.state.visualElement)})}createPanHandlers(){return{onSessionStart:Pm((t,n)=>{const{onPanSessionStart:o}=this.state.options;o&&o(t,n)}),onStart:Pm((t,n)=>{const{onPanStart:o}=this.state.options;o&&o(t,n)}),onMove:(t,n)=>{const{onPan:o}=this.state.options;o&&o(t,n)},onEnd:(t,n)=>{const{onPanEnd:o}=this.state.options;delete this.session,o&&st.postRender(()=>o(t,n))}}}mount(){this.removePointerDownListener=la(this.state.element,"pointerdown",this.onPointerDown.bind(this))}update(){}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}const v$=[UL,QL,tq,uq,aq,Kq,g$,h$,m$],y$={reducedMotion:"never",transition:void 0,nonce:void 0},[b$]=Ka("MotionConfig");function E$(){return b$(S(()=>y$))}const C$="data-ap-child",[x$]=Ka("AnimatePresenceContext");function _i(e){if(e)return e.nodeType===3||e.nodeType===8?_i(e.nextSibling):e}const[D$]=Ka("LazyMotionContext");function w$(e){const t=SO(null),n=FO({}),o=E$(),u=x$({}),r=D$({features:L([]),strict:!1}),a=zg();function s(){return n.id&&e.layoutId?`${n.id}-${e.layoutId}`:e.layoutId||void 0}function i(){return{...e,lazyMotionContext:r,layoutId:s(),transition:e.transition??o.value.transition,layoutGroup:n,motionConfig:o.value,inViewOptions:e.inViewOptions??o.value.inViewOptions,animatePresenceContext:u,initial:u.initial===!1?u.initial:e.initial===!0?void 0:e.initial}}function c(){return{...a,...i()}}const l=new jO(c(),t);TO(l);function d(){var p;const m=l.type==="svg",g={...a};Object.keys(a).forEach(y=>{wt(a[y])&&(g[y]=a[y].get())});let E={...e.style,...m?{}:((p=l.visualElement)==null?void 0:p.latestValues)||l.baseTarget};if(m){const{attrs:y,style:v}=tR({...l.isMounted()?l.target:l.baseTarget,...E});(v.transform||y.transformOrigin)&&(v.transformOrigin=y.transformOrigin??"50% 50%",delete y.transformOrigin),v.transform&&(v.transformBox=v.transformBox??"fill-box",delete y.transformBox),Object.assign(g,y),E=v}e.drag&&e.dragListener!==!1&&Object.assign(E,{userSelect:"none",WebkitUserSelect:"none",WebkitTouchCallout:"none",touchAction:e.drag===!0?"none":`pan-${e.drag==="x"?"y":"x"}`});const b=XO(E);return b&&(g.style=b),g}const f=et().proxy;return ji(()=>{l.beforeMount()}),je(()=>{if(l.mount(_i(f.$el),c(),B$(f)),u.register&&l.element){const p=l.element.closest(`[${C$}]`);p?(l.presenceContainer=p,u.register(p,l)):u.registerPending&&u.registerPending(l)}}),Fo(()=>l.beforeUnmount()),en(()=>{u.unregisterPending&&u.unregisterPending(l);const p=_i(f.$el);p?.isConnected||l.unmount()}),Ig(()=>{l.beforeUpdate(c())}),br(()=>{l.update(c())}),{getProps:i,getAttrs:d,layoutGroup:n,state:l}}const A$={ignoreStrict:{type:Boolean},forwardMotionProps:{type:Boolean,default:!1},asChild:{type:Boolean,default:!1},hover:{type:[String,Array,Object]},press:{type:[String,Array,Object]},inView:{type:[String,Array,Object]},focus:{type:[String,Array,Object]},whileDrag:{type:[String,Array,Object]},whileHover:{type:[String,Array,Object],default:({hover:e})=>e},whilePress:{type:[String,Array,Object],default:({press:e})=>e},whileInView:{type:[String,Array,Object],default:({inView:e})=>e},whileFocus:{type:[String,Array,Object],default:({focus:e})=>e},custom:{type:[String,Number,Object,Array]},initial:{type:[String,Array,Object,Boolean],default:void 0},animate:{type:[String,Array,Object],default:void 0},exit:{type:[String,Array,Object]},variants:{type:Object},inherit:{type:Boolean},style:{type:Object},transformTemplate:{type:Function},transition:{type:Object},layoutGroup:{type:Object},motionConfig:{type:Object},onAnimationComplete:{type:Function},onUpdate:{type:Function},layout:{type:[Boolean,String],default:!1},layoutId:{type:String,default:void 0},layoutScroll:{type:Boolean,default:!1},layoutRoot:{type:Boolean,default:!1},"data-framer-portal-id":{type:String},crossfade:{type:Boolean,default:!0},layoutDependency:{type:null,default:void 0},onBeforeLayoutMeasure:{type:Function},onLayoutMeasure:{type:Function},onLayoutAnimationStart:{type:Function},onLayoutAnimationComplete:{type:Function},globalPressTarget:{type:Boolean},onPressStart:{type:Function},onPress:{type:Function},onPressCancel:{type:Function},onHoverStart:{type:Function},onHoverEnd:{type:Function},inViewOptions:{type:Object},onViewportEnter:{type:Function},onViewportLeave:{type:Function},drag:{type:[Boolean,String]},dragSnapToOrigin:{type:Boolean},dragDirectionLock:{type:Boolean},dragPropagation:{type:Boolean},dragConstraints:{type:[Boolean,Object]},dragElastic:{type:[Boolean,Number,Object],default:.5},dragMomentum:{type:Boolean,default:!0},dragTransition:{type:Object},dragListener:{type:Boolean,default:!0},dragControls:{type:Object},onDragStart:{type:Function},onDragEnd:{type:Function},onDrag:{type:Function},onDirectionLock:{type:Function},onDragTransitionEnd:{type:Function},onMeasureDragConstraints:{type:Function},onPanSessionStart:{type:Function},onPanStart:{type:Function},onPan:{type:Function},onPanEnd:{type:Function}};function B$(e){var t;const n=((t=_i(e.$el))==null?void 0:t.style.display)==="none";return e.$.vnode.transition&&n}const _$=new Map,k$=new Map;function S$(e){if(!Array.isArray(e))return[e];const t=[];for(const n of e)Array.isArray(n)?t.push(...n):t.push(n);return t}const T$=["area","img","input"];function F$(e,t,n){var o,u;if(typeof e=="string"&&T$.includes(e))return ze(e,t);if(e==="template"){if(!n.default)return null;const r=S$(n.default()),a=r.findIndex(l=>l.type!==vt);if(a===-1)return r;const s=r[a];(o=s.props)==null||delete o.ref;const i=s.props?G(t,s.props):t;t.class&&((u=s.props)!=null&&u.class)&&delete s.props.class;const c=Sn(s,i);for(const l in i)l.startsWith("on")&&(c.props||(c.props={}),c.props[l]=i[l]);return r.length===1?c:(r[a]=c,r)}return null}function Mm(e,t={}){var n;const o=typeof e=="string",u=o?e:e.name||"",r=((n=t.features)==null?void 0:n.length)>0?_$:k$;if(o&&r?.has(e))return r.get(e);const a=N({inheritAttrs:!1,props:{...A$,features:{type:Object,default:()=>t.features||[]},as:{type:[String,Object],default:e||"div"}},name:u?`motion.${u}`:"Motion",setup(s,{slots:i}){const{getProps:c,getAttrs:l,state:d}=w$(s);function f(){const p=d.element;if((!(typeof s.as=="object")||s.asChild)&&p){const{style:g}=l();if(g)for(const[E,b]of Object.entries(g))p.style[E]=b}}return()=>{const p=c(),m=l(),g=s.asChild?"template":s.as,E={...t.forwardMotionProps||s.forwardMotionProps?p:{},...m,onVnodeUpdated:f},b=F$(g,E,i);return b!==null?b:ze(g,{...E},i)}}});return o&&r?.set(e,a),a}function P$(e=[]){return new Proxy({},{get(t,n){return n==="create"?(o,u)=>Mm(o,{...u,features:e}):Mm(n,{features:e})}})}const zs=P$(v$);zs.create("div");const M$={xmlns:"http://www.w3.org/2000/svg",class:"size-5",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},O$=N({__name:"IconMenuToggle",props:{open:{type:Boolean}},setup(e){const t=e,n={normal:{rotate:0,y:0,opacity:1},close:u=>{const r=u;return{rotate:r===1?45:r===3?-45:0,y:r===1?6:r===3?-6:0,opacity:r===2?0:1,transition:{type:"spring",stiffness:260,damping:20}}}},o=S(()=>t.open?"close":"normal");return(u,r)=>{const a=Jt;return D(),T(a,{size:"sm",variant:"ghost",color:"neutral",class:"-me-1.5",square:""},{default:k(()=>[(D(),le("svg",M$,[z(h(zs).line,{x1:"4",y1:"6",x2:"20",y2:"6",variants:n,animate:h(o),custom:1,class:"outline-none"},null,8,["animate"]),z(h(zs).line,{x1:"4",y1:"12",x2:"20",y2:"12",variants:n,animate:h(o),custom:2,class:"outline-none"},null,8,["animate"]),z(h(zs).line,{x1:"4",y1:"18",x2:"20",y2:"18",variants:n,animate:h(o),custom:3,class:"outline-none"},null,8,["animate"])]))]),_:1})}}}),R$=Object.assign(O$,{__name:"IconMenuToggle"}),I$={slots:{root:"",content:"data-[state=open]:animate-[accordion-down_200ms_ease-out] data-[state=closed]:animate-[accordion-up_200ms_ease-out] overflow-hidden focus:outline-none",list:"isolate -mx-2.5 -mt-1.5",item:"",listWithChildren:"ms-5 border-s border-default",itemWithChildren:"flex flex-col data-[state=open]:mb-1.5",trigger:"font-semibold",link:"group relative w-full px-2.5 py-1.5 before:inset-y-px before:inset-x-0 flex items-center gap-1.5 text-sm before:absolute before:z-[-1] before:rounded-md focus:outline-none focus-visible:outline-none focus-visible:before:ring-inset focus-visible:before:ring-2",linkLeadingIcon:"shrink-0 size-5",linkTrailing:"ms-auto inline-flex gap-1.5 items-center",linkTrailingBadge:"shrink-0",linkTrailingBadgeSize:"sm",linkTrailingIcon:"size-5 transform transition-transform duration-200 shrink-0 group-data-[state=open]:rotate-180",linkTitle:"truncate",linkTitleExternalIcon:"size-3 align-top text-dimmed"},variants:{color:{primary:{trigger:"focus-visible:ring-primary",link:"focus-visible:before:ring-primary"},secondary:{trigger:"focus-visible:ring-secondary",link:"focus-visible:before:ring-secondary"},success:{trigger:"focus-visible:ring-success",link:"focus-visible:before:ring-success"},info:{trigger:"focus-visible:ring-info",link:"focus-visible:before:ring-info"},warning:{trigger:"focus-visible:ring-warning",link:"focus-visible:before:ring-warning"},error:{trigger:"focus-visible:ring-error",link:"focus-visible:before:ring-error"},neutral:{trigger:"focus-visible:ring-inverted",link:"focus-visible:before:ring-inverted"}},highlightColor:{primary:"",secondary:"",success:"",info:"",warning:"",error:"",neutral:""},variant:{pill:"",link:""},active:{true:{link:"font-medium"},false:{link:"text-muted",linkLeadingIcon:"text-dimmed"}},disabled:{true:{trigger:"data-[state=open]:text-highlighted"}},highlight:{true:{}},level:{true:{item:"ps-1.5 -ms-px",itemWithChildren:"ps-1.5 -ms-px"}}},compoundVariants:[{highlight:!0,level:!0,class:{link:["after:absolute after:-left-1.5 after:inset-y-0.5 after:block after:w-px after:rounded-full","after:transition-colors"]}},{disabled:!1,active:!1,variant:"pill",class:{link:["hover:text-highlighted hover:before:bg-elevated/50 data-[state=open]:text-highlighted","transition-colors before:transition-colors"],linkLeadingIcon:["group-hover:text-default group-data-[state=open]:text-default","transition-colors"]}},{color:"primary",variant:"pill",active:!0,class:{link:"text-primary",linkLeadingIcon:"text-primary group-data-[state=open]:text-primary"}},{color:"secondary",variant:"pill",active:!0,class:{link:"text-secondary",linkLeadingIcon:"text-secondary group-data-[state=open]:text-secondary"}},{color:"success",variant:"pill",active:!0,class:{link:"text-success",linkLeadingIcon:"text-success group-data-[state=open]:text-success"}},{color:"info",variant:"pill",active:!0,class:{link:"text-info",linkLeadingIcon:"text-info group-data-[state=open]:text-info"}},{color:"warning",variant:"pill",active:!0,class:{link:"text-warning",linkLeadingIcon:"text-warning group-data-[state=open]:text-warning"}},{color:"error",variant:"pill",active:!0,class:{link:"text-error",linkLeadingIcon:"text-error group-data-[state=open]:text-error"}},{color:"neutral",variant:"pill",active:!0,class:{link:"text-highlighted",linkLeadingIcon:"text-highlighted group-data-[state=open]:text-highlighted"}},{variant:"pill",active:!0,highlight:!1,class:{link:"before:bg-elevated"}},{variant:"pill",active:!0,highlight:!0,disabled:!1,class:{link:["hover:before:bg-elevated/50","before:transition-colors"]}},{disabled:!1,active:!1,variant:"link",class:{link:["hover:text-highlighted data-[state=open]:text-highlighted","transition-colors"],linkLeadingIcon:["group-hover:text-default group-data-[state=open]:text-default","transition-colors"]}},{color:"primary",variant:"link",active:!0,class:{link:"text-primary",linkLeadingIcon:"text-primary group-data-[state=open]:text-primary"}},{color:"secondary",variant:"link",active:!0,class:{link:"text-secondary",linkLeadingIcon:"text-secondary group-data-[state=open]:text-secondary"}},{color:"success",variant:"link",active:!0,class:{link:"text-success",linkLeadingIcon:"text-success group-data-[state=open]:text-success"}},{color:"info",variant:"link",active:!0,class:{link:"text-info",linkLeadingIcon:"text-info group-data-[state=open]:text-info"}},{color:"warning",variant:"link",active:!0,class:{link:"text-warning",linkLeadingIcon:"text-warning group-data-[state=open]:text-warning"}},{color:"error",variant:"link",active:!0,class:{link:"text-error",linkLeadingIcon:"text-error group-data-[state=open]:text-error"}},{color:"neutral",variant:"link",active:!0,class:{link:"text-highlighted",linkLeadingIcon:"text-highlighted group-data-[state=open]:text-highlighted"}},{highlightColor:"primary",highlight:!0,level:!0,active:!0,class:{link:"after:bg-primary"}},{highlightColor:"secondary",highlight:!0,level:!0,active:!0,class:{link:"after:bg-secondary"}},{highlightColor:"success",highlight:!0,level:!0,active:!0,class:{link:"after:bg-success"}},{highlightColor:"info",highlight:!0,level:!0,active:!0,class:{link:"after:bg-info"}},{highlightColor:"warning",highlight:!0,level:!0,active:!0,class:{link:"after:bg-warning"}},{highlightColor:"error",highlight:!0,level:!0,active:!0,class:{link:"after:bg-error"}},{highlightColor:"neutral",highlight:!0,level:!0,active:!0,class:{link:"after:bg-inverted"}}],defaultVariants:{color:"primary",highlightColor:"primary",variant:"pill"}},Sb=Object.assign({inheritAttrs:!1},{__name:"UContentNavigation",props:{as:{type:null,required:!1,default:"nav"},defaultOpen:{type:Boolean,required:!1,default:void 0},trailingIcon:{type:null,required:!1},color:{type:null,required:!1},variant:{type:null,required:!1},highlight:{type:Boolean,required:!1,default:!1},highlightColor:{type:null,required:!1},collapsible:{type:Boolean,required:!1,default:!0},level:{type:Number,required:!1,default:0},navigation:{type:Array,required:!1},class:{type:null,required:!1},ui:{type:Object,required:!1},disabled:{type:Boolean,required:!1},type:{type:String,required:!1,default:"multiple"},unmountOnHide:{type:Boolean,required:!1,default:!0}},emits:["update:modelValue"],setup(e,{emit:t}){const n=e,o=t,u=Ht(),r=Et(fn(n,"collapsible","type","unmountOnHide"),o),a=Fn(),s=qe(),i=Ct("contentNavigation",n),[c,l]=nr(),d=S(()=>Fe({extend:Fe(I$),...s.ui?.contentNavigation||{}})({color:n.color,variant:n.variant,highlight:n.highlight,highlightColor:n.highlightColor||n.color})),f=S(()=>n.disabled||n.type==="multiple"&&n.collapsible===!1);function p(g,E){return g.children?.length?g.children.some(b=>p(b,E)):E===g.path}const m=S(()=>{if(n.defaultOpen===!1)return;if(n.defaultOpen===void 0)return n.type==="single"?"0":n.navigation?.map((E,b)=>E.defaultOpen!==!1&&String(b)).filter(Boolean);const g=n.navigation?.reduce((E,b,y)=>(p(b,a.path)&&E.push(String(y)),E),[])||[];return n.type==="multiple"?g:g[0]});return(g,E)=>(D(),le(Se,null,[z(h(c),null,{default:k(({link:b,active:y})=>[M(g.$slots,"link",{link:b,active:y,ui:d.value},()=>[M(g.$slots,"link-leading",{link:b,active:y,ui:d.value},()=>[b.icon?(D(),T(vn,{key:0,name:b.icon,"data-slot":"linkLeadingIcon",class:oe(d.value.linkLeadingIcon({class:[h(i)?.linkLeadingIcon,b.ui?.linkLeadingIcon],active:y}))},null,8,["name","class"])):ue("",!0)]),b.title||u["link-title"]?(D(),le("span",{key:0,"data-slot":"linkTitle",class:oe(d.value.linkTitle({class:[h(i)?.linkTitle,b.ui?.linkTitle],active:y}))},[M(g.$slots,"link-title",{link:b,active:y,ui:d.value},()=>[Qe(Me(b.title),1)]),b.target==="_blank"?(D(),T(vn,{key:0,name:h(s).ui.icons.external,"data-slot":"linkTitleExternalIcon",class:oe(d.value.linkTitleExternalIcon({class:[h(i)?.linkTitleExternalIcon,b.ui?.linkTitleExternalIcon],active:y}))},null,8,["name","class"])):ue("",!0)],2)):ue("",!0),b.badge||b.badge===0||b.children?.length&&!f.value||b.trailingIcon||u["link-trailing"]?(D(),le("span",{key:1,"data-slot":"linkTrailing",class:oe(d.value.linkTrailing({class:[h(i)?.linkTrailing,b.ui?.linkTrailing]}))},[M(g.$slots,"link-trailing",{link:b,active:y,ui:d.value},()=>[b.badge||b.badge===0?(D(),T(Ky,G({key:0,color:"neutral",variant:"outline",size:h(i)?.linkTrailingBadgeSize||d.value.linkTrailingBadgeSize()},typeof b.badge=="string"||typeof b.badge=="number"?{label:b.badge}:b.badge,{"data-slot":"linkTrailingBadge",class:d.value.linkTrailingBadge({class:h(i)?.linkTrailingBadge})}),null,16,["size","class"])):ue("",!0),b.children?.length&&!f.value?(D(),T(vn,{key:1,name:b.trailingIcon||e.trailingIcon||h(s).ui.icons.chevronDown,"data-slot":"linkTrailingIcon",class:oe(d.value.linkTrailingIcon({class:[h(i)?.linkTrailingIcon,b.ui?.linkTrailingIcon]}))},null,8,["name","class"])):b.trailingIcon?(D(),T(vn,{key:2,name:b.trailingIcon,"data-slot":"linkTrailingIcon",class:oe(d.value.linkTrailingIcon({class:[h(i)?.linkTrailingIcon,b.ui?.linkTrailingIcon]}))},null,8,["name","class"])):ue("",!0)])],2)):ue("",!0)])]),_:3}),z(h(Ae),G({as:e.as},g.$attrs,{"as-child":e.level>0,"data-slot":"root",class:d.value.root({class:[h(i)?.root,n.class]})}),{default:k(()=>[z(h(K_),G({as:"ul",disabled:f.value},h(r),{"default-value":m.value,class:e.level>0?d.value.listWithChildren({class:h(i)?.listWithChildren}):d.value.list({class:h(i)?.list})}),{default:k(()=>[(D(!0),le(Se,null,dn(e.navigation,(b,y)=>(D(),le(Se,{key:y},[b.children?.length?(D(),T(h(Y_),{key:0,as:"li",disabled:!!b.disabled,"data-slot":"itemWithChildren",class:oe(d.value.itemWithChildren({class:[h(i)?.itemWithChildren,b.ui?.itemWithChildren],level:e.level>0})),value:String(y)},{default:k(()=>[z(h(Q_),{as:"button",class:oe([d.value.link({class:[h(i)?.link,b.ui?.link,b.class],active:b.active,disabled:!!b.disabled||f.value}),d.value.trigger({class:[h(i)?.trigger,b.ui?.trigger],disabled:!!b.disabled||f.value})])},{default:k(()=>[z(h(l),{link:b,active:b.active||!1},null,8,["link","active"])]),_:2},1032,["class"]),z(h(X_),{"data-slot":"content",class:oe(d.value.content({class:[h(i)?.content,b.ui?.content]}))},{default:k(()=>[z(Sb,G({ref_for:!0},h(r),{navigation:b.children,"default-open":e.defaultOpen,level:e.level+1,"trailing-icon":e.trailingIcon,color:e.color,variant:e.variant,highlight:e.highlight,"highlight-color":e.highlightColor,ui:h(i)}),jg({_:2},[dn(u,(v,C)=>({name:C,fn:k(x=>[M(g.$slots,C,G({ref_for:!0},{...x,link:x.link}))])}))]),1040,["navigation","default-open","level","trailing-icon","color","variant","highlight","highlight-color","ui"])]),_:2},1032,["class"])]),_:2},1032,["disabled","class","value"])):(D(),le("li",{key:1,"data-slot":"item",class:oe(d.value.item({class:[h(i)?.item,b.ui?.item],level:e.level>0}))},[z(Xd,G({ref_for:!0},h(My)(h(dy)(b)),{custom:""}),{default:k(({active:v,...C})=>[z(Zd,G({ref_for:!0},C,{"data-slot":"link",class:d.value.link({class:[h(i)?.link,b.ui?.link,b.class],active:v,disabled:!!b.disabled,level:e.level>0})}),{default:k(()=>[z(h(l),{link:b,active:v},null,8,["link","active"])]),_:2},1040,["class"])]),_:2},1040)],2))],64))),128))]),_:3},16,["disabled","default-value","class"])]),_:3},16,["as","as-child","class"])],64))}}),L$=N({__name:"AppHeaderBody",setup(e){const t=Ve("navigation");return(n,o)=>{const u=Sb;return D(),T(u,{highlight:"",variant:"link",navigation:h(t)},null,8,["navigation"])}}}),q$=Object.assign(L$,{__name:"AppHeaderBody"}),$$={base:"w-full max-w-(--ui-container) mx-auto px-4 sm:px-6 lg:px-8"},Tb={__name:"UContainer",props:{as:{type:null,required:!1},class:{type:null,required:!1},ui:{type:Object,required:!1}},setup(e){const t=e,n=qe(),o=Ct("container",t),u=S(()=>Fe({extend:Fe($$),...n.ui?.container||{}}));return(r,a)=>(D(),T(h(Ae),{as:e.as,class:oe(u.value({class:[h(o)?.base,t.class]}))},{default:k(()=>[M(r.$slots,"default")]),_:3},8,["as","class"]))}},N$={slots:{overlay:"fixed inset-0 bg-elevated/75",content:"fixed bg-default divide-y divide-default sm:ring ring-default sm:shadow-lg flex flex-col focus:outline-none",header:"flex items-center gap-1.5 p-4 sm:px-6 min-h-(--ui-header-height)",wrapper:"",body:"flex-1 overflow-y-auto p-4 sm:p-6",footer:"flex items-center gap-1.5 p-4 sm:px-6",title:"text-highlighted font-semibold",description:"mt-1 text-muted text-sm",close:"absolute top-4 end-4"},variants:{side:{top:{content:""},right:{content:"max-w-md"},bottom:{content:""},left:{content:"max-w-md"}},inset:{true:{content:"rounded-lg"}},transition:{true:{overlay:"data-[state=open]:animate-[fade-in_200ms_ease-out] data-[state=closed]:animate-[fade-out_200ms_ease-in]"}}},compoundVariants:[{side:"top",inset:!0,class:{content:"max-h-[calc(100%-2rem)] inset-x-4 top-4"}},{side:"top",inset:!1,class:{content:"max-h-full inset-x-0 top-0"}},{side:"right",inset:!0,class:{content:"w-[calc(100%-2rem)] inset-y-4 right-4"}},{side:"right",inset:!1,class:{content:"w-full inset-y-0 right-0"}},{side:"bottom",inset:!0,class:{content:"max-h-[calc(100%-2rem)] inset-x-4 bottom-4"}},{side:"bottom",inset:!1,class:{content:"max-h-full inset-x-0 bottom-0"}},{side:"left",inset:!0,class:{content:"w-[calc(100%-2rem)] inset-y-4 left-4"}},{side:"left",inset:!1,class:{content:"w-full inset-y-0 left-0"}},{transition:!0,side:"top",class:{content:"data-[state=open]:animate-[slide-in-from-top_200ms_ease-in-out] data-[state=closed]:animate-[slide-out-to-top_200ms_ease-in-out]"}},{transition:!0,side:"right",class:{content:"data-[state=open]:animate-[slide-in-from-right_200ms_ease-in-out] data-[state=closed]:animate-[slide-out-to-right_200ms_ease-in-out]"}},{transition:!0,side:"bottom",class:{content:"data-[state=open]:animate-[slide-in-from-bottom_200ms_ease-in-out] data-[state=closed]:animate-[slide-out-to-bottom_200ms_ease-in-out]"}},{transition:!0,side:"left",class:{content:"data-[state=open]:animate-[slide-in-from-left_200ms_ease-in-out] data-[state=closed]:animate-[slide-out-to-left_200ms_ease-in-out]"}}]},j$={__name:"USlideover",props:{title:{type:String,required:!1},description:{type:String,required:!1},content:{type:Object,required:!1},overlay:{type:Boolean,required:!1,default:!0},transition:{type:Boolean,required:!1,default:!0},side:{type:null,required:!1,default:"right"},inset:{type:Boolean,required:!1},portal:{type:[Boolean,String],required:!1,skipCheck:!0,default:!0},close:{type:[Boolean,Object],required:!1,default:!0},closeIcon:{type:null,required:!1},dismissible:{type:Boolean,required:!1,default:!0},class:{type:null,required:!1},ui:{type:Object,required:!1},open:{type:Boolean,required:!1},defaultOpen:{type:Boolean,required:!1},modal:{type:Boolean,required:!1,default:!0}},emits:["after:leave","after:enter","close:prevent","update:open"],setup(e,{emit:t}){const n=e,o=t,u=Ht(),{t:r}=eu(),a=qe(),s=Ct("slideover",n),i=Et(fn(n,"open","defaultOpen","modal"),o),c=Sr(at(()=>n.portal)),l=at(()=>n.content),d=S(()=>n.dismissible?{pointerDownOutside:fl}:["interactOutside","escapeKeyDown"].reduce((m,g)=>(m[g]=E=>{E.preventDefault(),o("close:prevent")},m),{})),f=S(()=>Fe({extend:Fe(N$),...a.ui?.slideover||{}})({transition:n.transition,side:n.side,inset:n.inset}));return(p,m)=>(D(),T(h(Ad),De(ke(h(i))),{default:k(({open:g,close:E})=>[u.default?(D(),T(h(Pd),{key:0,"as-child":"",class:oe(n.class)},{default:k(()=>[M(p.$slots,"default",{open:g})]),_:2},1032,["class"])):ue("",!0),z(h(Fd),De(ke(h(c))),{default:k(()=>[e.overlay?(D(),T(h(di),{key:0,"data-slot":"overlay",class:oe(f.value.overlay({class:h(s)?.overlay}))},null,8,["class"])):ue("",!0),z(h(Td),G({"data-side":e.side,"data-slot":"content",class:f.value.content({class:[!u.default&&n.class,h(s)?.content]})},l.value,{onAfterEnter:m[0]||(m[0]=b=>o("after:enter")),onAfterLeave:m[1]||(m[1]=b=>o("after:leave"))},Oa(d.value)),{default:k(()=>[u.content&&(e.title||u.title||e.description||u.description)?(D(),T(h(Br),{key:0},{default:k(()=>[e.title||u.title?(D(),T(h(dr),{key:0},{default:k(()=>[M(p.$slots,"title",{},()=>[Qe(Me(e.title),1)])]),_:3})):ue("",!0),e.description||u.description?(D(),T(h(cr),{key:1},{default:k(()=>[M(p.$slots,"description",{},()=>[Qe(Me(e.description),1)])]),_:3})):ue("",!0)]),_:3})):ue("",!0),M(p.$slots,"content",{close:E},()=>[u.header||e.title||u.title||e.description||u.description||n.close||u.close?(D(),le("div",{key:0,"data-slot":"header",class:oe(f.value.header({class:h(s)?.header}))},[M(p.$slots,"header",{close:E},()=>[tt("div",{"data-slot":"wrapper",class:oe(f.value.wrapper({class:h(s)?.wrapper}))},[e.title||u.title?(D(),T(h(dr),{key:0,"data-slot":"title",class:oe(f.value.title({class:h(s)?.title}))},{default:k(()=>[M(p.$slots,"title",{},()=>[Qe(Me(e.title),1)])]),_:3},8,["class"])):ue("",!0),e.description||u.description?(D(),T(h(cr),{key:1,"data-slot":"description",class:oe(f.value.description({class:h(s)?.description}))},{default:k(()=>[M(p.$slots,"description",{},()=>[Qe(Me(e.description),1)])]),_:3},8,["class"])):ue("",!0)],2),M(p.$slots,"actions"),n.close||u.close?(D(),T(h(R1),{key:0,"as-child":""},{default:k(()=>[M(p.$slots,"close",{ui:f.value},()=>[n.close?(D(),T(Jt,G({key:0,icon:e.closeIcon||h(a).ui.icons.close,color:"neutral",variant:"ghost","aria-label":h(r)("slideover.close")},typeof n.close=="object"?n.close:{},{"data-slot":"close",class:f.value.close({class:h(s)?.close})}),null,16,["icon","aria-label","class"])):ue("",!0)])]),_:2},1024)):ue("",!0)])],2)):ue("",!0),tt("div",{"data-slot":"body",class:oe(f.value.body({class:h(s)?.body}))},[M(p.$slots,"body",{close:E})],2),u.footer?(D(),le("div",{key:1,"data-slot":"footer",class:oe(f.value.footer({class:h(s)?.footer}))},[M(p.$slots,"footer",{close:E})],2)):ue("",!0)])]),_:2},1040,["data-side","class"])]),_:2},1040)]),_:3},16))}},V$={slots:{overlay:"fixed inset-0",content:"bg-default divide-y divide-default flex flex-col focus:outline-none",header:"flex items-center gap-1.5 p-4 sm:px-6 min-h-(--ui-header-height)",wrapper:"",body:"flex-1 p-4 sm:p-6",footer:"flex items-center gap-1.5 p-4 sm:px-6",title:"text-highlighted font-semibold",description:"mt-1 text-muted text-sm",close:"absolute top-4 end-4"},variants:{transition:{true:{overlay:"data-[state=open]:animate-[fade-in_200ms_ease-out] data-[state=closed]:animate-[fade-out_200ms_ease-in]",content:"data-[state=open]:animate-[scale-in_200ms_ease-out] data-[state=closed]:animate-[scale-out_200ms_ease-in]"}},fullscreen:{true:{content:"inset-0"},false:{content:"w-[calc(100vw-2rem)] max-w-lg rounded-lg shadow-lg ring ring-default"}},overlay:{true:{overlay:"bg-elevated/75"}},scrollable:{true:{overlay:"overflow-y-auto",content:"relative"},false:{content:"fixed",body:"overflow-y-auto"}}},compoundVariants:[{scrollable:!0,fullscreen:!1,class:{overlay:"grid place-items-center p-4 sm:py-8"}},{scrollable:!1,fullscreen:!1,class:{content:"top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 max-h-[calc(100dvh-2rem)] sm:max-h-[calc(100dvh-4rem)] overflow-hidden"}}]},z$={__name:"UModal",props:{title:{type:String,required:!1},description:{type:String,required:!1},content:{type:Object,required:!1},overlay:{type:Boolean,required:!1,default:!0},scrollable:{type:Boolean,required:!1},transition:{type:Boolean,required:!1,default:!0},fullscreen:{type:Boolean,required:!1},portal:{type:[Boolean,String],required:!1,skipCheck:!0,default:!0},close:{type:[Boolean,Object],required:!1,default:!0},closeIcon:{type:null,required:!1},dismissible:{type:Boolean,required:!1,default:!0},class:{type:null,required:!1},ui:{type:Object,required:!1},open:{type:Boolean,required:!1},defaultOpen:{type:Boolean,required:!1},modal:{type:Boolean,required:!1,default:!0}},emits:["after:leave","after:enter","close:prevent","update:open"],setup(e,{emit:t}){const n=e,o=t,u=Ht(),{t:r}=eu(),a=qe(),s=Ct("modal",n),i=Et(fn(n,"open","defaultOpen","modal"),o),c=Sr(at(()=>n.portal)),l=at(()=>n.content),d=S(()=>n.dismissible?{pointerDownOutside:g=>fl(g,{scrollable:n.scrollable})}:["interactOutside","escapeKeyDown"].reduce((E,b)=>(E[b]=y=>{y.preventDefault(),o("close:prevent")},E),{})),[f,p]=nr(),m=S(()=>Fe({extend:Fe(V$),...a.ui?.modal||{}})({transition:n.transition,fullscreen:n.fullscreen,overlay:n.overlay,scrollable:n.scrollable}));return(g,E)=>(D(),T(h(Ad),De(ke(h(i))),{default:k(({open:b,close:y})=>[z(h(f),null,{default:k(()=>[z(h(Td),G({"data-slot":"content",class:m.value.content({class:[!u.default&&n.class,h(s)?.content]})},l.value,{onAfterEnter:E[0]||(E[0]=v=>o("after:enter")),onAfterLeave:E[1]||(E[1]=v=>o("after:leave"))},Oa(d.value)),{default:k(()=>[u.content&&(e.title||u.title||e.description||u.description)?(D(),T(h(Br),{key:0},{default:k(()=>[e.title||u.title?(D(),T(h(dr),{key:0},{default:k(()=>[M(g.$slots,"title",{},()=>[Qe(Me(e.title),1)])]),_:3})):ue("",!0),e.description||u.description?(D(),T(h(cr),{key:1},{default:k(()=>[M(g.$slots,"description",{},()=>[Qe(Me(e.description),1)])]),_:3})):ue("",!0)]),_:3})):ue("",!0),M(g.$slots,"content",{close:y},()=>[u.header||e.title||u.title||e.description||u.description||n.close||u.close?(D(),le("div",{key:0,"data-slot":"header",class:oe(m.value.header({class:h(s)?.header}))},[M(g.$slots,"header",{close:y},()=>[tt("div",{"data-slot":"wrapper",class:oe(m.value.wrapper({class:h(s)?.wrapper}))},[e.title||u.title?(D(),T(h(dr),{key:0,"data-slot":"title",class:oe(m.value.title({class:h(s)?.title}))},{default:k(()=>[M(g.$slots,"title",{},()=>[Qe(Me(e.title),1)])]),_:3},8,["class"])):ue("",!0),e.description||u.description?(D(),T(h(cr),{key:1,"data-slot":"description",class:oe(m.value.description({class:h(s)?.description}))},{default:k(()=>[M(g.$slots,"description",{},()=>[Qe(Me(e.description),1)])]),_:3},8,["class"])):ue("",!0)],2),M(g.$slots,"actions"),n.close||u.close?(D(),T(h(R1),{key:0,"as-child":""},{default:k(()=>[M(g.$slots,"close",{ui:m.value},()=>[n.close?(D(),T(Jt,G({key:0,icon:e.closeIcon||h(a).ui.icons.close,color:"neutral",variant:"ghost","aria-label":h(r)("modal.close")},typeof n.close=="object"?n.close:{},{"data-slot":"close",class:m.value.close({class:h(s)?.close})}),null,16,["icon","aria-label","class"])):ue("",!0)])]),_:2},1024)):ue("",!0)])],2)):ue("",!0),u.body?(D(),le("div",{key:1,"data-slot":"body",class:oe(m.value.body({class:h(s)?.body}))},[M(g.$slots,"body",{close:y})],2)):ue("",!0),u.footer?(D(),le("div",{key:2,"data-slot":"footer",class:oe(m.value.footer({class:h(s)?.footer}))},[M(g.$slots,"footer",{close:y})],2)):ue("",!0)])]),_:2},1040,["class"])]),_:2},1024),u.default?(D(),T(h(Pd),{key:0,"as-child":"",class:oe(n.class)},{default:k(()=>[M(g.$slots,"default",{open:b})]),_:2},1032,["class"])):ue("",!0),z(h(Fd),De(ke(h(c))),{default:k(()=>[e.scrollable?(D(),T(h(di),{key:0,"data-slot":"overlay",class:oe(m.value.overlay({class:h(s)?.overlay}))},{default:k(()=>[z(h(p))]),_:1},8,["class"])):(D(),le(Se,{key:1},[e.overlay?(D(),T(h(di),{key:0,"data-slot":"overlay",class:oe(m.value.overlay({class:h(s)?.overlay}))},null,8,["class"])):ue("",!0),z(h(p))],64))]),_:1},16)]),_:3},16))}};(function(){var e;try{if(typeof document<"u"){var t=document.createElement("style");t.nonce=(e=document.head.querySelector("meta[property=csp-nonce]"))==null?void 0:e.content,t.appendChild(document.createTextNode('[data-vaul-drawer]{touch-action:none;will-change:transform;transition:transform .5s cubic-bezier(.32,.72,0,1);animation-duration:.5s;animation-timing-function:cubic-bezier(.32,.72,0,1)}[data-vaul-drawer][data-vaul-snap-points=false][data-vaul-drawer-direction=bottom][data-state=open]{animation-name:slideFromBottom}[data-vaul-drawer][data-vaul-snap-points=false][data-vaul-drawer-direction=bottom][data-state=closed]{animation-name:slideToBottom}[data-vaul-drawer][data-vaul-snap-points=false][data-vaul-drawer-direction=top][data-state=open]{animation-name:slideFromTop}[data-vaul-drawer][data-vaul-snap-points=false][data-vaul-drawer-direction=top][data-state=closed]{animation-name:slideToTop}[data-vaul-drawer][data-vaul-snap-points=false][data-vaul-drawer-direction=left][data-state=open]{animation-name:slideFromLeft}[data-vaul-drawer][data-vaul-snap-points=false][data-vaul-drawer-direction=left][data-state=closed]{animation-name:slideToLeft}[data-vaul-drawer][data-vaul-snap-points=false][data-vaul-drawer-direction=right][data-state=open]{animation-name:slideFromRight}[data-vaul-drawer][data-vaul-snap-points=false][data-vaul-drawer-direction=right][data-state=closed]{animation-name:slideToRight}[data-vaul-drawer][data-vaul-snap-points=true][data-vaul-drawer-direction=bottom]{transform:translate3d(0,var(--initial-transform, 100%),0)}[data-vaul-drawer][data-vaul-snap-points=true][data-vaul-drawer-direction=top]{transform:translate3d(0,calc(var(--initial-transform, 100%) * -1),0)}[data-vaul-drawer][data-vaul-snap-points=true][data-vaul-drawer-direction=left]{transform:translate3d(calc(var(--initial-transform, 100%) * -1),0,0)}[data-vaul-drawer][data-vaul-snap-points=true][data-vaul-drawer-direction=right]{transform:translate3d(var(--initial-transform, 100%),0,0)}[data-vaul-drawer][data-vaul-delayed-snap-points=true][data-vaul-drawer-direction=top],[data-vaul-drawer][data-vaul-delayed-snap-points=true][data-vaul-drawer-direction=bottom]{transform:translate3d(0,var(--snap-point-height, 0),0)}[data-vaul-drawer][data-vaul-delayed-snap-points=true][data-vaul-drawer-direction=left],[data-vaul-drawer][data-vaul-delayed-snap-points=true][data-vaul-drawer-direction=right]{transform:translate3d(var(--snap-point-height, 0),0,0)}[data-vaul-overlay][data-vaul-snap-points=false]{animation-duration:.5s;animation-timing-function:cubic-bezier(.32,.72,0,1)}[data-vaul-overlay][data-vaul-snap-points=false][data-state=open]{animation-name:fadeIn}[data-vaul-overlay][data-state=closed]{animation-name:fadeOut}[data-vaul-animate=false]{animation:none!important}[data-vaul-overlay][data-vaul-snap-points=true]{opacity:0;transition:opacity .5s cubic-bezier(.32,.72,0,1)}[data-vaul-overlay][data-vaul-snap-points=true]{opacity:1}[data-vaul-drawer]:not([data-vaul-custom-container=true]):after{content:"";position:absolute;background:inherit;background-color:inherit}[data-vaul-drawer][data-vaul-drawer-direction=top]:after{top:initial;bottom:100%;left:0;right:0;height:200%}[data-vaul-drawer][data-vaul-drawer-direction=bottom]:after{top:100%;bottom:initial;left:0;right:0;height:200%}[data-vaul-drawer][data-vaul-drawer-direction=left]:after{left:initial;right:100%;top:0;bottom:0;width:200%}[data-vaul-drawer][data-vaul-drawer-direction=right]:after{left:100%;right:initial;top:0;bottom:0;width:200%}[data-vaul-overlay][data-vaul-snap-points=true]:not([data-vaul-snap-points-overlay=true]):not([data-state=closed]){opacity:0}[data-vaul-overlay][data-vaul-snap-points-overlay=true]{opacity:1}[data-vaul-handle]{display:block;position:relative;opacity:.7;background:#e2e2e4;margin-left:auto;margin-right:auto;height:5px;width:32px;border-radius:1rem;touch-action:pan-y}[data-vaul-handle]:hover,[data-vaul-handle]:active{opacity:1}[data-vaul-handle-hitarea]{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:max(100%,2.75rem);height:max(100%,2.75rem);touch-action:inherit}@media (hover: hover) and (pointer: fine){[data-vaul-drawer]{-webkit-user-select:none;user-select:none}}@media (pointer: fine){[data-vaul-handle-hitarea]:{width:100%;height:100%}}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes fadeOut{to{opacity:0}}@keyframes slideFromBottom{0%{transform:translate3d(0,var(--initial-transform, 100%),0)}to{transform:translateZ(0)}}@keyframes slideToBottom{to{transform:translate3d(0,var(--initial-transform, 100%),0)}}@keyframes slideFromTop{0%{transform:translate3d(0,calc(var(--initial-transform, 100%) * -1),0)}to{transform:translateZ(0)}}@keyframes slideToTop{to{transform:translate3d(0,calc(var(--initial-transform, 100%) * -1),0)}}@keyframes slideFromLeft{0%{transform:translate3d(calc(var(--initial-transform, 100%) * -1),0,0)}to{transform:translateZ(0)}}@keyframes slideToLeft{to{transform:translate3d(calc(var(--initial-transform, 100%) * -1),0,0)}}@keyframes slideFromRight{0%{transform:translate3d(var(--initial-transform, 100%),0,0)}to{transform:translateZ(0)}}@keyframes slideToRight{to{transform:translate3d(var(--initial-transform, 100%),0,0)}}')),document.head.appendChild(t)}}catch(n){console.error("vite-plugin-css-injected-by-js",n)}})();const U$=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const H$=e=>typeof e<"u";function K$(e){return JSON.parse(JSON.stringify(e))}function Om(e,t,n,o={}){var u,r,a;const{clone:s=!1,passive:i=!1,eventName:c,deep:l=!1,defaultValue:d,shouldEmit:f}=o,p=et(),m=n||p?.emit||((u=p?.$emit)==null?void 0:u.bind(p))||((a=(r=p?.proxy)==null?void 0:r.$emit)==null?void 0:a.bind(p?.proxy));let g=c;t||(t="modelValue"),g=g||`update:${t.toString()}`;const E=v=>s?typeof s=="function"?s(v):K$(v):v,b=()=>H$(e[t])?E(e[t]):d,y=v=>{f?f(v)&&m(g,v):m(g,v)};if(i){const v=b(),C=L(v);let x=!1;return Ce(()=>e[t],w=>{x||(x=!0,C.value=E(w),He(()=>x=!1))}),Ce(C,w=>{!x&&(w!==e[t]||l)&&y(w)},{deep:l}),C}else return S({get(){return b()},set(v){y(v)}})}const[Za,W$]=lt("DrawerRoot"),Fb=new WeakMap;function Pt(e,t,n=!1){if(!e||!(e instanceof HTMLElement)||!t)return;const o={};Object.entries(t).forEach(([u,r])=>{if(u.startsWith("--")){e.style.setProperty(u,r);return}o[u]=e.style[u],e.style[u]=r}),!n&&Fb.set(e,o)}function G$(e,t){if(!e||!(e instanceof HTMLElement))return;const n=Fb.get(e);n&&Object.entries(n).forEach(([o,u])=>{e.style[o]=u})}function Ss(e,t){const n=window.getComputedStyle(e),o=n.transform||n.webkitTransform||n.mozTransform;let u=o.match(/^matrix3d\((.+)\)$/);return u?Number.parseFloat(u[1].split(", ")[xt(t)?13:12]):(u=o.match(/^matrix\((.+)\)$/),u?Number.parseFloat(u[1].split(", ")[xt(t)?5:4]):null)}function Y$(e){return 8*(Math.log(e+1)-2)}function xt(e){switch(e){case"top":case"bottom":return!0;case"left":case"right":return!1;default:return e}}function dc(e,t){if(!e)return()=>{};const n=e.style.cssText;return Object.assign(e.style,t),()=>{e.style.cssText=n}}function Z$(...e){return(...t)=>{for(const n of e)typeof n=="function"&&n(...t)}}const ht={DURATION:.5,EASE:[.32,.72,0,1]},Pb=.4,X$=.25,J$=100,Mb=8,Ts=16,Ob=26,Rm="vaul-dragging";function Q$({activeSnapPoint:e,snapPoints:t,drawerRef:n,overlayRef:o,fadeFromIndex:u,onSnapPointChange:r,direction:a}){const s=L(typeof window<"u"?{innerWidth:window.innerWidth,innerHeight:window.innerHeight}:void 0);function i(){s.value={innerWidth:window.innerWidth,innerHeight:window.innerHeight}}je(()=>{typeof window<"u"&&window.addEventListener("resize",i)}),Fo(()=>{typeof window<"u"&&window.removeEventListener("resize",i)});const c=S(()=>(t.value&&e.value===t.value[t.value.length-1])??null),l=S(()=>t.value&&t.value.length>0&&(u?.value||u?.value===0)&&!Number.isNaN(u?.value)&&t.value[u?.value??-1]===e.value||!t.value),d=S(()=>{var y;return((y=t.value)==null?void 0:y.findIndex(v=>v===e.value))??null}),f=S(()=>{var y;return((y=t.value)==null?void 0:y.map(v=>{const C=typeof v=="string";let x=0;if(C&&(x=Number.parseInt(v,10)),xt(a.value)){const B=C?x:s.value?v*s.value.innerHeight:0;return s.value?a.value==="bottom"?s.value.innerHeight-B:-s.value.innerHeight+B:B}const w=C?x:s.value?v*s.value.innerWidth:0;return s.value?a.value==="right"?s.value.innerWidth-w:-s.value.innerWidth+w:w}))??[]}),p=S(()=>{var y;return d.value!==null?(y=f.value)==null?void 0:y[d.value]:null}),m=y=>{var v,C,x,w;const B=((v=f.value)==null?void 0:v.findIndex(_=>_===y))??null;He(()=>{var _;r(B,f.value),Pt((_=n.value)==null?void 0:_.$el,{transition:`transform ${ht.DURATION}s cubic-bezier(${ht.EASE.join(",")})`,transform:xt(a.value)?`translate3d(0, ${y}px, 0)`:`translate3d(${y}px, 0, 0)`})}),f.value&&B!==f.value.length-1&&B!==u?.value?Pt((C=o.value)==null?void 0:C.$el,{transition:`opacity ${ht.DURATION}s cubic-bezier(${ht.EASE.join(",")})`,opacity:"0"}):Pt((x=o.value)==null?void 0:x.$el,{transition:`opacity ${ht.DURATION}s cubic-bezier(${ht.EASE.join(",")})`,opacity:"1"}),e.value=B!==null?((w=t.value)==null?void 0:w[B])??null:null};Ce([e,f,t],()=>{var y;if(e.value){const v=((y=t.value)==null?void 0:y.findIndex(C=>C===e.value))??-1;f.value&&v!==-1&&typeof f.value[v]=="number"&&m(f.value[v])}},{immediate:!0});function g({draggedDistance:y,closeDrawer:v,velocity:C,dismissible:x}){var w,B,_;if(u.value===void 0)return;const F=a.value==="bottom"||a.value==="right"?(p.value??0)-y:(p.value??0)+y,R=d.value===u.value-1,Z=d.value===0,q=y>0;if(R&&Pt((w=o.value)==null?void 0:w.$el,{transition:`opacity ${ht.DURATION}s cubic-bezier(${ht.EASE.join(",")})`}),C>2&&!q){x?v():m(f.value[0]);return}if(C>2&&q&&f&&t.value){m(f.value[t.value.length-1]);return}const Q=(B=f.value)==null?void 0:B.reduce((I,O)=>typeof I!="number"||typeof O!="number"?I:Math.abs(O-F)Pb&&Math.abs(y)0&&c){m(f.value[(((_=t.value)==null?void 0:_.length)??0)-1]);return}if(Z&&I<0&&x&&v(),d.value===null)return;m(f.value[d.value+I]);return}m(Q)}function E({draggedDistance:y}){var v;if(p.value===null)return;const C=a.value==="bottom"||a.value==="right"?p.value-y:p.value+y;(a.value==="bottom"||a.value==="right")&&Cf.value[f.value.length-1]||Pt((v=n.value)==null?void 0:v.$el,{transform:xt(a.value)?`translate3d(0, ${C}px, 0)`:`translate3d(${C}px, 0, 0)`})}function b(y,v){if(!t.value||typeof d.value!="number"||!f.value||u.value===void 0)return null;const C=d.value===u.value-1;if(d.value>=u.value&&v)return 0;if(C&&!v)return 1;if(!l.value&&!C)return null;const x=C?d.value+1:d.value-1,w=C?f.value[x]-f.value[x-1]:f.value[x+1]-f.value[x],B=y/Math.abs(w);return C?1-B:B}return{isLastSnapPoint:c,shouldFade:l,getPercentageDragged:b,activeSnapPointIndex:d,onRelease:g,onDrag:E,snapPointsOffset:f}}function Im(){return/^((?!chrome|android).)*safari/i.test(navigator.userAgent)}let zr=null;function eN(e){const{isOpen:t,modal:n,nested:o,hasBeenOpened:u,preventScrollRestoration:r,noBodyStyles:a}=e,s=L(typeof window<"u"?window.location.href:""),i=L(0);function c(){if(Im()&&zr===null&&t.value&&!a.value){zr={position:document.body.style.position,top:document.body.style.top,left:document.body.style.left,height:document.body.style.height};const{scrollX:d,innerHeight:f}=window;document.body.style.setProperty("position","fixed","important"),Object.assign(document.body.style,{top:`${-i.value}px`,left:`${-d}px`,right:"0px",height:"auto"}),setTimeout(()=>{requestAnimationFrame(()=>{const p=f-window.innerHeight;p&&i.value>=f&&(document.body.style.top=`-${i.value+p}px`)})},300)}}function l(){if(Im()&&zr!==null&&!a.value){const d=-Number.parseInt(document.body.style.top,10),f=-Number.parseInt(document.body.style.left,10);Object.assign(document.body.style,zr),window.requestAnimationFrame(()=>{if(r.value&&s.value!==window.location.href){s.value=window.location.href;return}window.scrollTo(f,d)}),zr=null}}return je(()=>{function d(){i.value=window.scrollY}d(),window.addEventListener("scroll",d),en(()=>{window.removeEventListener("scroll",d)})}),Ce([t,u,s],()=>{o.value||!u.value||(t.value?(window.matchMedia("(display-mode: standalone)").matches||c(),n.value||setTimeout(()=>{l()},500)):l())}),{restorePositionSetting:l}}function tN(e,t){return e&&e.value?e:t}function nN(e){const{emitDrag:t,emitRelease:n,emitClose:o,emitOpenChange:u,open:r,dismissible:a,nested:s,modal:i,shouldScaleBackground:c,setBackgroundColorOnScale:l,scrollLockTimeout:d,closeThreshold:f,activeSnapPoint:p,fadeFromIndex:m,direction:g,noBodyStyles:E,handleOnly:b,preventScrollRestoration:y}=e,v=L(r.value??!1),C=L(!1),x=L(!1),w=L(!1),B=L(null),_=L(null),F=L(null),R=L(null),Z=L(null),q=L(!1),Q=L(null),X=L(0),I=L(!1),O=L(null),H=S(()=>{var j;return((j=O.value)==null?void 0:j.$el.getBoundingClientRect().height)||0}),V=tN(e.snapPoints,L(void 0)),fe=S(()=>{var j;return V&&(((j=V.value)==null?void 0:j.length)??0)>0}),se=L(null),{activeSnapPointIndex:Ke,onRelease:Re,snapPointsOffset:ot,onDrag:ct,shouldFade:Te,getPercentageDragged:Pe}=Q$({snapPoints:V,activeSnapPoint:p,drawerRef:O,fadeFromIndex:m,overlayRef:B,onSnapPointChange:U,direction:g});function U(j,re){V.value&&j===re.length-1&&(_.value=new Date)}eN({isOpen:v,modal:i,nested:s,hasBeenOpened:C,noBodyStyles:E,preventScrollRestoration:y});function ie(){return(window.innerWidth-Ob)/window.innerWidth}function ee(j,re){var ne;if(!j)return!1;let Y=j;const W=(ne=window.getSelection())==null?void 0:ne.toString(),pe=O.value?Ss(O.value.$el,g.value):null,ae=new Date;if(Y.hasAttribute("data-vaul-no-drag")||Y.closest("[data-vaul-no-drag]"))return!1;if(g.value==="right"||g.value==="left")return!0;if(_.value&&ae.getTime()-_.value.getTime()<500)return!1;if(pe!==null&&(g.value==="bottom"?pe>0:pe<0))return!0;if(W&&W.length>0)return!1;if(Z.value&&ae.getTime()-Z.value.getTime()Y.clientHeight){if(Y.scrollTop!==0)return Z.value=new Date,!1;if(Y.getAttribute("role")==="dialog")return!0}Y=Y.parentNode}return!0}function ye(j){!a.value&&!V.value||O.value&&!O.value.$el.contains(j.target)||(x.value=!0,F.value=new Date,j.target.setPointerCapture(j.pointerId),X.value=xt(g.value)?j.clientY:j.clientX)}function _e(j){var re,ne,Y,W,pe,ae;if(O.value&&x.value){const me=g.value==="bottom"||g.value==="right"?1:-1,xe=(X.value-(xt(g.value)?j.clientY:j.clientX))*me,Le=xe>0,Ye=V.value&&!a.value&&!Le;if(Ye&&Ke.value===0)return;const Ze=Math.abs(xe),ft=document.querySelector("[data-vaul-drawer-wrapper]")||document.querySelector("[vaul-drawer-wrapper]");let ut=Ze/H.value;const un=Pe(Ze,Le);if(un!==null&&(ut=un),Ye&&ut>=1||!q.value&&!ee(j.target,Le))return;if((re=O?.value)==null||re.$el.classList.add(Rm),q.value=!0,Pt((ne=O.value)==null?void 0:ne.$el,{transition:"none"}),Pt((Y=B.value)==null?void 0:Y.$el,{transition:"none"}),V.value&&ct({draggedDistance:xe}),Le&&!V.value){const pn=Y$(xe),nu=Math.min(pn*-1,0)*me;Pt((W=O.value)==null?void 0:W.$el,{transform:xt(g.value)?`translate3d(0, ${nu}px, 0)`:`translate3d(${nu}px, 0, 0)`});return}const Kt=1-ut;if((Te.value||m.value&&Ke.value===m.value-1)&&(t(ut),Pt((pe=B.value)==null?void 0:pe.$el,{opacity:`${Kt}`,transition:"none"},!0)),ft&&B.value&&c.value){const pn=Math.min(ie()+ut*(1-ie()),1),nu=8-ut*8,Nt=Math.max(0,14-ut*14);Pt(ft,{borderRadius:`${nu}px`,transform:xt(g.value)?`scale(${pn}) translate3d(0, ${Nt}px, 0)`:`scale(${pn}) translate3d(${Nt}px, 0, 0)`,transition:"none"},!0)}if(!V.value){const pn=Ze*me;Pt((ae=O.value)==null?void 0:ae.$el,{transform:xt(g.value)?`translate3d(0, ${pn}px, 0)`:`translate3d(${pn}px, 0, 0)`})}}}function Ue(){var j;if(!O.value)return;const re=document.querySelector("[data-vaul-drawer-wrapper]")||document.querySelector("[vaul-drawer-wrapper]"),ne=Ss(O.value.$el,g.value);Pt(O.value.$el,{transform:"translate3d(0, 0, 0)",transition:`transform ${ht.DURATION}s cubic-bezier(${ht.EASE.join(",")})`}),Pt((j=B.value)==null?void 0:j.$el,{transition:`opacity ${ht.DURATION}s cubic-bezier(${ht.EASE.join(",")})`,opacity:"1"}),c.value&&ne&&ne>0&&v.value&&Pt(re,{borderRadius:`${Mb}px`,overflow:"hidden",...xt(g.value)?{transform:`scale(${ie()}) translate3d(0, calc(env(safe-area-inset-top) + 14px), 0)`,transformOrigin:"top"}:{transform:`scale(${ie()}) translate3d(calc(env(safe-area-inset-top) + 14px), 0, 0)`,transformOrigin:"left"},transitionProperty:"transform, border-radius",transitionDuration:`${ht.DURATION}s`,transitionTimingFunction:`cubic-bezier(${ht.EASE.join(",")})`},!0)}function A(j){O.value&&(o(),j||(v.value=!1),window.setTimeout(()=>{V.value&&(p.value=V.value[0])},ht.DURATION*1e3))}mt(()=>{if(!v.value&&c.value&&U$){const j=setTimeout(()=>{G$(document.body)},200);return()=>clearTimeout(j)}}),Ce(r,()=>{v.value=r.value,r.value||A()});function P(j){if(!x.value||!O.value)return;O.value.$el.classList.remove(Rm),q.value=!1,x.value=!1,R.value=new Date;const re=Ss(O.value.$el,g.value);if(!ee(j.target,!1)||!re||Number.isNaN(re)||F.value===null)return;const ne=R.value.getTime()-F.value.getTime(),Y=X.value-(xt(g.value)?j.clientY:j.clientX),W=Math.abs(Y)/ne;if(W>.05&&(w.value=!0,window.setTimeout(()=>{w.value=!1},200)),V.value){const ae=g.value==="bottom"||g.value==="right"?1:-1;Re({draggedDistance:Y*ae,closeDrawer:A,velocity:W,dismissible:a.value}),n(!0);return}if(g.value==="bottom"||g.value==="right"?Y>0:Y<0){Ue(),n(!0);return}if(W>Pb){A(),n(!1);return}const pe=Math.min(O.value.$el.getBoundingClientRect().height??0,window.innerHeight);if(re>=pe*f.value){A(),n(!1);return}n(!0),Ue()}Ce(v,j=>{j&&(_.value=new Date),u(j)},{immediate:!0});function $(j){var re,ne;const Y=j?(window.innerWidth-Ts)/window.innerWidth:1,W=j?-16:0;Q.value&&window.clearTimeout(Q.value),Pt((re=O.value)==null?void 0:re.$el,{transition:`transform ${ht.DURATION}s cubic-bezier(${ht.EASE.join(",")})`,transform:`scale(${Y}) translate3d(0, ${W}px, 0)`}),!j&&(ne=O.value)!=null&&ne.$el&&(Q.value=window.setTimeout(()=>{var pe,ae;const me=Ss((pe=O.value)==null?void 0:pe.$el,g.value);Pt((ae=O.value)==null?void 0:ae.$el,{transition:"none",transform:xt(g.value)?`translate3d(0, ${me}px, 0)`:`translate3d(${me}px, 0, 0)`})},500))}function J(j){var re;if(j<0)return;const ne=xt(g.value)?window.innerHeight:window.innerWidth,Y=(ne-Ts)/ne,W=Y+j*(1-Y),pe=-16+j*Ts;Pt((re=O.value)==null?void 0:re.$el,{transform:xt(g.value)?`scale(${W}) translate3d(0, ${pe}px, 0)`:`scale(${W}) translate3d(${pe}px, 0, 0)`,transition:"none"})}function K(j){var re;const ne=xt(g.value)?window.innerHeight:window.innerWidth,Y=j?(ne-Ts)/ne:1,W=j?-16:0;j&&Pt((re=O.value)==null?void 0:re.$el,{transition:`transform ${ht.DURATION}s cubic-bezier(${ht.EASE.join(",")})`,transform:xt(g.value)?`scale(${Y}) translate3d(0, ${W}px, 0)`:`scale(${Y}) translate3d(${W}px, 0, 0)`})}return{open:r,isOpen:v,modal:i,keyboardIsOpen:I,hasBeenOpened:C,drawerRef:O,drawerHeightRef:H,overlayRef:B,handleRef:se,isDragging:x,dragStartTime:F,isAllowedToDrag:q,snapPoints:V,activeSnapPoint:p,hasSnapPoints:fe,pointerStart:X,dismissible:a,snapPointsOffset:ot,direction:g,shouldFade:Te,fadeFromIndex:m,shouldScaleBackground:c,setBackgroundColorOnScale:l,onPress:ye,onDrag:_e,onRelease:P,closeDrawer:A,onNestedDrag:J,onNestedRelease:K,onNestedOpenChange:$,emitClose:o,emitDrag:t,emitRelease:n,emitOpenChange:u,nested:s,handleOnly:b,noBodyStyles:E}}const Rb=N({__name:"DrawerRoot",props:{activeSnapPoint:{default:void 0},closeThreshold:{default:X$},shouldScaleBackground:{type:Boolean,default:void 0},setBackgroundColorOnScale:{type:Boolean,default:!0},scrollLockTimeout:{default:J$},fixed:{type:Boolean,default:void 0},dismissible:{type:Boolean,default:!0},modal:{type:Boolean,default:!0},open:{type:Boolean,default:void 0},defaultOpen:{type:Boolean,default:void 0},nested:{type:Boolean,default:!1},direction:{default:"bottom"},noBodyStyles:{type:Boolean},handleOnly:{type:Boolean,default:!1},preventScrollRestoration:{type:Boolean},snapPoints:{default:void 0},fadeFromIndex:{default:void 0}},emits:["drag","release","close","update:open","update:activeSnapPoint","animationEnd"],setup(e,{expose:t,emit:n}){const o=e,u=n;Ht();const r=S(()=>o.fadeFromIndex??(o.snapPoints&&o.snapPoints.length-1)),a=Om(o,"open",u,{defaultValue:o.defaultOpen,passive:o.open===void 0}),s=Om(o,"activeSnapPoint",u,{passive:o.activeSnapPoint===void 0}),i={emitDrag:m=>u("drag",m),emitRelease:m=>u("release",m),emitClose:()=>u("close"),emitOpenChange:m=>{u("update:open",m),setTimeout(()=>{u("animationEnd",m)},ht.DURATION*1e3)}},{closeDrawer:c,hasBeenOpened:l,modal:d,isOpen:f}=W$(nN({...i,...Ft(o),activeSnapPoint:s,fadeFromIndex:r,open:a}));function p(m){if(a.value!==void 0){i.emitOpenChange(m);return}f.value=m,m?l.value=!0:c()}return t({open:f}),(m,g)=>(D(),T(h(Ad),{open:h(f),modal:h(d),"onUpdate:open":p},{default:k(()=>[M(m.$slots,"default",{open:h(f)})]),_:3},8,["open","modal"]))}}),oN=N({__name:"DrawerRootNested",props:{activeSnapPoint:{},closeThreshold:{},shouldScaleBackground:{type:Boolean},setBackgroundColorOnScale:{type:Boolean},scrollLockTimeout:{},fixed:{type:Boolean},dismissible:{type:Boolean},modal:{type:Boolean},open:{type:Boolean},defaultOpen:{type:Boolean},nested:{type:Boolean},direction:{},noBodyStyles:{type:Boolean},handleOnly:{type:Boolean},preventScrollRestoration:{type:Boolean},snapPoints:{},fadeFromIndex:{}},emits:["drag","release","close","update:open","update:activeSnapPoint","animationEnd"],setup(e,{emit:t}){const n=e,o=t,{onNestedDrag:u,onNestedOpenChange:r,onNestedRelease:a}=Za();function s(){r(!1)}function i(d){u(d)}function c(d){d&&r(d),o("update:open",d)}const l=Et(n,o);return(d,f)=>(D(),T(Rb,G(h(l),{nested:"",onClose:s,onDrag:i,onRelease:h(a),"onUpdate:open":c}),{default:k(()=>[M(d.$slots,"default")]),_:3},16,["onRelease"]))}}),uN=N({__name:"DrawerOverlay",setup(e){const{overlayRef:t,hasSnapPoints:n,isOpen:o,shouldFade:u}=Za();return(r,a)=>(D(),T(h(di),{ref_key:"overlayRef",ref:t,"data-vaul-overlay":"","data-vaul-snap-points":h(o)&&h(n)?"true":"false","data-vaul-snap-points-overlay":h(o)&&h(u)?"true":"false"},null,8,["data-vaul-snap-points","data-vaul-snap-points-overlay"]))}}),rN=()=>()=>{};function aN(){const{direction:e,isOpen:t,shouldScaleBackground:n,setBackgroundColorOnScale:o,noBodyStyles:u}=Za(),r=L(null),a=L(document.body.style.backgroundColor);function s(){return(window.innerWidth-Ob)/window.innerWidth}mt(i=>{if(t.value&&n.value){r.value&&clearTimeout(r.value);const c=document.querySelector("[data-vaul-drawer-wrapper]")||document.querySelector("[vaul-drawer-wrapper]");if(!c)return;Z$(o.value&&!u.value?dc(document.body,{background:"black"}):rN,dc(c,{transformOrigin:xt(e.value)?"top":"left",transitionProperty:"transform, border-radius",transitionDuration:`${ht.DURATION}s`,transitionTimingFunction:`cubic-bezier(${ht.EASE.join(",")})`}));const l=dc(c,{borderRadius:`${Mb}px`,overflow:"hidden",...xt(e.value)?{transform:`scale(${s()}) translate3d(0, calc(env(safe-area-inset-top) + 14px), 0)`}:{transform:`scale(${s()}) translate3d(calc(env(safe-area-inset-top) + 14px), 0, 0)`}});i(()=>{l(),r.value=window.setTimeout(()=>{a.value?document.body.style.background=a.value:document.body.style.removeProperty("background")},ht.DURATION*1e3)})}},{flush:"pre"})}const sN=N({__name:"DrawerContent",setup(e){const{open:t,isOpen:n,snapPointsOffset:o,hasSnapPoints:u,drawerRef:r,onPress:a,onDrag:s,onRelease:i,modal:c,emitOpenChange:l,dismissible:d,keyboardIsOpen:f,closeDrawer:p,direction:m,handleOnly:g}=Za();aN();const E=L(!1),b=S(()=>o.value&&o.value.length>0?`${o.value[0]}px`:"0");function y(x){if(!c.value||x.defaultPrevented){x.preventDefault();return}f.value&&(f.value=!1),d.value?l(!1):x.preventDefault()}function v(x){g.value||a(x)}function C(x){g.value||s(x)}return mt(()=>{u.value&&window.requestAnimationFrame(()=>{E.value=!0})}),(x,w)=>(D(),T(h(Td),{ref_key:"drawerRef",ref:r,"data-vaul-drawer":"","data-vaul-drawer-direction":h(m),"data-vaul-delayed-snap-points":E.value?"true":"false","data-vaul-snap-points":h(n)&&h(u)?"true":"false",style:xn({"--snap-point-height":b.value}),onPointerdown:v,onPointermove:C,onPointerup:h(i),onPointerDownOutside:y,onOpenAutoFocus:w[0]||(w[0]=bn(()=>{},["prevent"])),onEscapeKeyDown:w[1]||(w[1]=B=>{h(d)||B.preventDefault()})},{default:k(()=>[M(x.$slots,"default")]),_:3},8,["data-vaul-drawer-direction","data-vaul-delayed-snap-points","data-vaul-snap-points","style","onPointerup"]))}}),iN=["data-vaul-drawer-visible"],lN={"data-vaul-handle-hitarea":"","aria-hidden":"true"},cN=250,dN=120,fN=N({__name:"DrawerHandle",props:{preventCycle:{type:Boolean,default:!1}},setup(e){const t=e,{onPress:n,onDrag:o,handleRef:u,handleOnly:r,isOpen:a,snapPoints:s,activeSnapPoint:i,isDragging:c,dismissible:l,closeDrawer:d}=Za(),f=L(null),p=L(!1);function m(){if(p.value){b();return}window.setTimeout(()=>{g()},dN)}function g(){if(c.value||t.preventCycle||p.value){b();return}if(b(),!s.value||s.value.length===0){l.value||d();return}const C=i.value===s.value[s.value.length-1];if(C&&l.value){d();return}const x=s.value.findIndex(B=>B===i.value);if(x===-1)return;const w=C?0:x+1;i.value=s.value[w]}function E(){f.value=window.setTimeout(()=>{p.value=!0},cN)}function b(){f.value&&window.clearTimeout(f.value),p.value=!1}function y(C){r.value&&n(C),E()}function v(C){r.value&&o(C)}return(C,x)=>(D(),le("div",{ref_key:"handleRef",ref:u,"data-vaul-drawer-visible":h(a)?"true":"false","data-vaul-handle":"","aria-hidden":"true",onClick:m,onPointercancel:b,onPointerdown:y,onPointermove:v},[tt("span",lN,[M(C.$slots,"default")])],40,iN))}}),pN={slots:{overlay:"fixed inset-0 bg-elevated/75",content:"fixed bg-default ring ring-default flex focus:outline-none",handle:["shrink-0 !bg-accented","transition-opacity"],container:"w-full flex flex-col gap-4 p-4 overflow-y-auto",header:"",title:"text-highlighted font-semibold",description:"mt-1 text-muted text-sm",body:"flex-1",footer:"flex flex-col gap-1.5"},variants:{direction:{top:{content:"mb-24 flex-col-reverse",handle:"mb-4"},right:{content:"flex-row",handle:"!ml-4"},bottom:{content:"mt-24 flex-col",handle:"mt-4"},left:{content:"flex-row-reverse",handle:"!mr-4"}},inset:{true:{content:"rounded-lg after:hidden overflow-hidden [--initial-transform:calc(100%+1.5rem)]"}},snapPoints:{true:""}},compoundVariants:[{direction:["top","bottom"],class:{content:"h-auto max-h-[96%]",handle:"!w-12 !h-1.5 mx-auto"}},{direction:["top","bottom"],snapPoints:!0,class:{content:"h-full"}},{direction:["right","left"],class:{content:"w-auto max-w-[calc(100%-2rem)]",handle:"!h-12 !w-1.5 mt-auto mb-auto"}},{direction:["right","left"],snapPoints:!0,class:{content:"w-full"}},{direction:"top",inset:!0,class:{content:"inset-x-4 top-4"}},{direction:"top",inset:!1,class:{content:"inset-x-0 top-0 rounded-b-lg"}},{direction:"bottom",inset:!0,class:{content:"inset-x-4 bottom-4"}},{direction:"bottom",inset:!1,class:{content:"inset-x-0 bottom-0 rounded-t-lg"}},{direction:"left",inset:!0,class:{content:"inset-y-4 left-4"}},{direction:"left",inset:!1,class:{content:"inset-y-0 left-0 rounded-r-lg"}},{direction:"right",inset:!0,class:{content:"inset-y-4 right-4"}},{direction:"right",inset:!1,class:{content:"inset-y-0 right-0 rounded-l-lg"}}]},hN={__name:"UDrawer",props:{as:{type:null,required:!1},title:{type:String,required:!1},description:{type:String,required:!1},inset:{type:Boolean,required:!1},content:{type:Object,required:!1},overlay:{type:Boolean,required:!1,default:!0},handle:{type:Boolean,required:!1,default:!0},portal:{type:[Boolean,String],required:!1,skipCheck:!0,default:!0},nested:{type:Boolean,required:!1},class:{type:null,required:!1},ui:{type:Object,required:!1},activeSnapPoint:{type:[Number,String,null],required:!1},closeThreshold:{type:Number,required:!1},shouldScaleBackground:{type:Boolean,required:!1},setBackgroundColorOnScale:{type:Boolean,required:!1},scrollLockTimeout:{type:Number,required:!1},fixed:{type:Boolean,required:!1},dismissible:{type:Boolean,required:!1,default:!0},modal:{type:Boolean,required:!1,default:!0},open:{type:Boolean,required:!1},defaultOpen:{type:Boolean,required:!1},direction:{type:String,required:!1,default:"bottom"},noBodyStyles:{type:Boolean,required:!1},handleOnly:{type:Boolean,required:!1},preventScrollRestoration:{type:Boolean,required:!1},snapPoints:{type:Array,required:!1}},emits:["close:prevent","drag","release","close","update:open","update:activeSnapPoint","animationEnd"],setup(e,{emit:t}){const n=e,o=t,u=Ht(),r=qe(),a=Ct("drawer",n),s=Et(fn(n,"activeSnapPoint","closeThreshold","shouldScaleBackground","setBackgroundColorOnScale","scrollLockTimeout","fixed","dismissible","modal","open","defaultOpen","nested","direction","noBodyStyles","handleOnly","preventScrollRestoration","snapPoints"),o),i=Sr(at(()=>n.portal)),c=at(()=>n.content),l=S(()=>n.dismissible?{pointerDownOutside:fl}:["interactOutside","escapeKeyDown"].reduce((p,m)=>(p[m]=g=>{g.preventDefault(),o("close:prevent")},p),{})),d=S(()=>Fe({extend:Fe(pN),...r.ui?.drawer||{}})({direction:n.direction,inset:n.inset,snapPoints:n.snapPoints&&n.snapPoints.length>0}));return(f,p)=>(D(),T(ln(e.nested?h(oN):h(Rb)),De(ke(h(s))),{default:k(()=>[u.default?(D(),T(h(Pd),{key:0,"as-child":"",class:oe(n.class)},{default:k(()=>[M(f.$slots,"default")]),_:3},8,["class"])):ue("",!0),z(h(Fd),De(ke(h(i))),{default:k(()=>[e.overlay?(D(),T(h(uN),{key:0,"data-slot":"overlay",class:oe(d.value.overlay({class:h(a)?.overlay}))},null,8,["class"])):ue("",!0),z(h(sN),G({"data-slot":"content",class:d.value.content({class:[!u.default&&n.class,h(a)?.content]})},c.value,Oa(l.value)),{default:k(()=>[e.handle?(D(),T(h(fN),{key:0,"data-slot":"handle",class:oe(d.value.handle({class:h(a)?.handle}))},null,8,["class"])):ue("",!0),u.content&&(e.title||u.title||e.description||u.description)?(D(),T(h(Br),{key:1},{default:k(()=>[e.title||u.title?(D(),T(h(dr),{key:0},{default:k(()=>[M(f.$slots,"title",{},()=>[Qe(Me(e.title),1)])]),_:3})):ue("",!0),e.description||u.description?(D(),T(h(cr),{key:1},{default:k(()=>[M(f.$slots,"description",{},()=>[Qe(Me(e.description),1)])]),_:3})):ue("",!0)]),_:3})):ue("",!0),M(f.$slots,"content",{},()=>[tt("div",{"data-slot":"container",class:oe(d.value.container({class:h(a)?.container}))},[u.header||e.title||u.title||e.description||u.description?(D(),le("div",{key:0,"data-slot":"header",class:oe(d.value.header({class:h(a)?.header}))},[M(f.$slots,"header",{},()=>[e.title||u.title?(D(),T(h(dr),{key:0,"data-slot":"title",class:oe(d.value.title({class:h(a)?.title}))},{default:k(()=>[M(f.$slots,"title",{},()=>[Qe(Me(e.title),1)])]),_:3},8,["class"])):ue("",!0),e.description||u.description?(D(),T(h(cr),{key:1,"data-slot":"description",class:oe(d.value.description({class:h(a)?.description}))},{default:k(()=>[M(f.$slots,"description",{},()=>[Qe(Me(e.description),1)])]),_:3},8,["class"])):ue("",!0)])],2)):ue("",!0),u.body?(D(),le("div",{key:1,"data-slot":"body",class:oe(d.value.body({class:h(a)?.body}))},[M(f.$slots,"body")],2)):ue("",!0),u.footer?(D(),le("div",{key:2,"data-slot":"footer",class:oe(d.value.footer({class:h(a)?.footer}))},[M(f.$slots,"footer")],2)):ue("",!0)],2)])]),_:3},16,["class"])]),_:3},16)]),_:3},16))}},mN={slots:{root:"bg-default/75 backdrop-blur border-b border-default h-(--ui-header-height) sticky top-0 z-50",container:"flex items-center justify-between gap-3 h-full",left:"lg:flex-1 flex items-center gap-1.5",center:"hidden lg:flex",right:"flex items-center justify-end lg:flex-1 gap-1.5",title:"shrink-0 font-bold text-xl text-highlighted flex items-end gap-1.5",toggle:"lg:hidden",content:"lg:hidden",overlay:"lg:hidden",header:"px-4 sm:px-6 h-(--ui-header-height) shrink-0 flex items-center justify-between gap-3",body:"p-4 sm:p-6 overflow-y-auto"},variants:{toggleSide:{left:{toggle:"-ms-1.5"},right:{toggle:"-me-1.5"}}}},gN=Object.assign({inheritAttrs:!1},{__name:"UHeader",props:Kg({as:{type:null,required:!1,default:"header"},title:{type:String,required:!1,default:"Nuxt UI"},to:{type:String,required:!1,default:"/"},mode:{type:null,required:!1,default:"modal"},menu:{type:null,required:!1},toggle:{type:[Boolean,Object],required:!1,default:!0},toggleSide:{type:String,required:!1,default:"right"},autoClose:{type:Boolean,required:!1,default:!0},class:{type:null,required:!1},ui:{type:Object,required:!1}},{open:{type:Boolean,default:!1},openModifiers:{}}),emits:["update:open"],setup(e){const t=e,n=Ht(),o=Xg(e,"open",{type:Boolean,default:!1}),u=Fn(),{t:r}=eu(),a=qe(),s=Ct("header",t),[i,c]=nr(),[l,d]=nr(),[f,p]=nr(),m=S(()=>(n.title&&i0(n.title())||t.title||"Nuxt UI").trim());Ce(()=>u.fullPath,()=>{t.autoClose&&(o.value=!1)});const g=S(()=>Fe({extend:Fe(mN),...a.ui?.header||{}})()),E=S(()=>({slideover:j$,modal:z$,drawer:hN})[t.mode]),b=at(()=>Ot(t.menu,{content:{onOpenAutoFocus:v=>v.preventDefault()}},t.mode==="modal"?{fullscreen:!0,transition:!1}:{}));function y(){o.value=!o.value}return(v,C)=>(D(),le(Se,null,[z(h(f),null,{default:k(()=>[M(v.$slots,"toggle",{open:o.value,toggle:y,ui:g.value},()=>[e.toggle?(D(),T(Jt,G({key:0,color:"neutral",variant:"ghost","aria-label":o.value?h(r)("header.close"):h(r)("header.open"),icon:o.value?h(a).ui.icons.close:h(a).ui.icons.menu},typeof e.toggle=="object"?e.toggle:{},{"data-slot":"toggle",class:g.value.toggle({class:h(s)?.toggle,toggleSide:e.toggleSide}),onClick:y}),null,16,["aria-label","icon","class"])):ue("",!0)])]),_:3}),z(h(i),null,{default:k(()=>[tt("div",{"data-slot":"left",class:oe(g.value.left({class:h(s)?.left}))},[e.toggleSide==="left"?(D(),T(h(p),{key:0})):ue("",!0),M(v.$slots,"left",{},()=>[z(Xd,{to:e.to,"aria-label":m.value,"data-slot":"title",class:oe(g.value.title({class:h(s)?.title}))},{default:k(()=>[M(v.$slots,"title",{},()=>[Qe(Me(e.title),1)])]),_:3},8,["to","aria-label","class"])])],2)]),_:3}),z(h(l),null,{default:k(()=>[tt("div",{"data-slot":"right",class:oe(g.value.right({class:h(s)?.right}))},[M(v.$slots,"right"),e.toggleSide==="right"?(D(),T(h(p),{key:0})):ue("",!0)],2)]),_:3}),z(h(Ae),G({as:e.as},v.$attrs,{"data-slot":"root",class:g.value.root({class:[h(s)?.root,t.class]})}),{default:k(()=>[M(v.$slots,"top"),z(Tb,{"data-slot":"container",class:oe(g.value.container({class:h(s)?.container}))},{default:k(()=>[z(h(c)),tt("div",{"data-slot":"center",class:oe(g.value.center({class:h(s)?.center}))},[M(v.$slots,"default")],2),z(h(d))]),_:3},8,["class"]),M(v.$slots,"bottom")]),_:3},16,["as","class"]),z(h(E),G({open:o.value,"onUpdate:open":C[0]||(C[0]=x=>o.value=x),title:h(r)("header.title"),description:h(r)("header.description")},b.value,{ui:{overlay:g.value.overlay({class:h(s)?.overlay}),content:g.value.content({class:h(s)?.content})}}),{content:k(x=>[M(v.$slots,"content",De(ke(x)),()=>[e.mode!=="drawer"?(D(),le("div",{key:0,"data-slot":"header",class:oe(g.value.header({class:h(s)?.header}))},[z(h(c)),z(h(d))],2)):ue("",!0),tt("div",{"data-slot":"body",class:oe(g.value.body({class:h(s)?.body}))},[M(v.$slots,"body")],2)])]),_:3},16,["open","title","description","ui"])],64))}});function Ib(e){const t=Tt({});return mt(()=>{const n=Ie().$nuxtSiteConfig.get(Ot({resolveRefs:!0},e));t&&n&&Object.assign(t,n)}),delete t._priority,t}const vN={class:"sticky top-0 z-50"},yN={key:0,class:"bg-amber-100 dark:bg-amber-900/50 text-amber-800 dark:text-amber-200 px-4 py-2 text-center text-sm border-b border-amber-200 dark:border-amber-800"},bN=N({__name:"AppHeader",setup(e){const t=qe(),n=Ib(),{localePath:o,isEnabled:u,locales:r}=pl(),{currentVersion:a,isOldVersion:s,loadVersions:i}=Wy();je(()=>i());const c=S(()=>t.github&&t.github.url?[{icon:"i-simple-icons-github",to:t.github.url,target:"_blank","aria-label":"GitHub"}]:[]);return(l,d)=>{const f=$M,p=zM,m=XM,g=eO,E=aO,b=pd,y=iO,v=Uy,C=Gy,x=Jt,w=R$,B=q$,_=gN;return D(),le("div",vN,[h(s)?(D(),le("div",yN,[Qe(" You are viewing documentation for Comments "+Me(h(a))+". ",1),d[0]||(d[0]=tt("a",{href:"/comments/",class:"underline font-medium hover:text-amber-900 dark:hover:text-amber-100"}," View the latest version → ",-1))])):ue("",!0),z(_,{ui:{center:"flex-1"},to:h(o)("/"),title:h(t).header?.title||h(n).name},{title:k(()=>[z(p,{class:"h-6 w-auto shrink-0"})]),right:k(()=>[z(m),z(g),h(u)&&h(r).length>1?(D(),le(Se,{key:0},[z(b,null,{fallback:k(()=>[...d[1]||(d[1]=[tt("div",{class:"h-8 w-8 animate-pulse bg-neutral-200 dark:bg-neutral-800 rounded-md"},null,-1)])]),default:k(()=>[z(E)]),_:1}),z(y,{orientation:"vertical",class:"h-8"})],64)):ue("",!0),z(v,{class:"lg:hidden"}),z(b,null,{fallback:k(()=>[...d[2]||(d[2]=[tt("div",{class:"h-8 w-8 animate-pulse bg-neutral-200 dark:bg-neutral-800 rounded-md"},null,-1)])]),default:k(()=>[z(C)]),_:1}),h(c)?.length?(D(!0),le(Se,{key:1},dn(h(c),(F,R)=>(D(),T(x,G({key:R},{ref_for:!0},{color:"neutral",variant:"ghost",...F}),null,16))),128)):ue("",!0)]),toggle:k(({open:F,toggle:R})=>[z(w,{open:F,class:"lg:hidden",onClick:R},null,8,["open","onClick"])]),body:k(()=>[z(B)]),default:k(()=>[z(f)]),_:1},8,["to","title"])])}}}),Lb=Object.assign(bN,{__name:"AppHeader"}),qb=(e="RouteProvider")=>N({name:e,props:{route:{type:Object,required:!0},vnode:Object,vnodeRef:Object,renderKey:String,trackRootNodes:Boolean},setup(t){const n=t.renderKey,o=t.route,u={};for(const r in t.route)Object.defineProperty(u,r,{get:()=>n===t.renderKey?t.route[r]:o[r],enumerable:!0});return St(xo,Bn(u)),()=>t.vnode?ze(t.vnode,{ref:t.vnodeRef}):t.vnode}}),EN=qb(),Lm=new WeakMap,CN=N({name:"NuxtPage",inheritAttrs:!1,props:{name:{type:String},transition:{type:[Boolean,Object],default:void 0},keepalive:{type:[Boolean,Object],default:void 0},route:{type:Object},pageKey:{type:[Function,String],default:null}},setup(e,{attrs:t,slots:n,expose:o}){const u=Ie(),r=L(),a=Ve(xo,null);let s;o({pageRef:r});const i=Ve(Q3,null);let c;const l=u.deferHydration();let d=!1,f=0;if(u.isHydrating){const m=u.hooks.hookOnce("app:error",l);Ut().beforeEach(m)}e.pageKey&&Ce(()=>e.pageKey,(m,g)=>{m!==g&&u.callHook("page:loading:start")});let p=!1;{const m=Ut().beforeResolve(()=>{p=!1});Fo(()=>{m(),l()})}return()=>ze(Ov,{name:e.name,route:e.route,...t},{default:m=>{const g=xN(a,m.route,m.Component),E=a&&a.matched.length===m.route.matched.length;if(!m.Component){if(c&&!E)return c;l();return}if(c&&i&&!i.isCurrent(m.route))return c;if(g&&a&&(!i||i?.isCurrent(a)))return E||c?c:null;const b=Nc(m,e.pageKey),y=DN(a,m.route,m.Component);!u.isHydrating&&s===b&&!y&&He(()=>{p||(p=!0,u.callHook("page:loading:end"))}),d&&s!==b&&f++,s=b;const v=!!(e.transition??m.route.meta.pageTransition??bp),C=v&&Lv([e.transition,m.route.meta.pageTransition,bp,{onAfterLeave(){u["~transitionFinish"]?.(),delete u["~transitionFinish"],delete u["~transitionPromise"],u.callHook("page:transition:finish",m.Component)}}]),x=e.keepalive??m.route.meta.keepalive??R5;return c=Iv(v&&C,i9(x,ze(J0,{key:f,suspensible:!0,onPending:()=>{d=!0,v&&!u["~transitionPromise"]&&(u["~transitionPromise"]=new Promise(w=>{u["~transitionFinish"]=w})),u.callHook("page:start",m.Component)},onResolve:async()=>{d=!1;try{await He(),u._route.sync?.(),await u.callHook("page:finish",m.Component),!p&&!y&&(p=!0,await u.callHook("page:loading:end"))}finally{l()}}},{default:()=>{const w={key:b||void 0,vnode:n.default?wN(n.default,m):m.Component,route:m.route,renderKey:b||void 0,trackRootNodes:v,vnodeRef:r};if(!x)return ze(EN,w);const B=m.Component.type,_=B;let F=Lm.get(_);return F||(F=qb(B.name||B.__name),Lm.set(_,F)),ze(F,w)}}))).default(),c}})}});function xN(e,t,n){if(!e)return!1;const o=t.matched.findIndex(u=>u.components?.default===n?.type);return!o||o===-1?!1:t.matched.slice(0,o).some((u,r)=>u.components?.default!==e.matched[r]?.components?.default)||n&&Nc({route:t,Component:n})!==Nc({route:e,Component:n})}function DN(e,t,n){return e?t.matched.findIndex(u=>u.components?.default===n?.type)ze(Ko[e.name],e.layoutProps,t.slots)}}),BN={name:{type:[String,Boolean,Object],default:null},fallback:{type:[String,Object],default:null}},_N=N({name:"NuxtLayout",inheritAttrs:!1,props:BN,setup(e,t){const n=Ie(),o=Ve(xo),r=!o||o===Fn()?Dv():o,a=S(()=>{let l=h(e.name)??r?.meta.layout??$b(r?.path).appLayout??"default";return l&&!(l in Ko)&&e.fallback&&(l=h(e.fallback)),l}),s=$e();t.expose({layoutRef:s});const i=n.deferHydration();if(n.isHydrating){const l=n.hooks.hookOnce("app:error",i);Ut().beforeEach(l)}let c;return()=>{const d=!!a.value&&a.value in Ko&&!!(r?.meta.layoutTransition??yp),f=d&&Lv([r?.meta.layoutTransition,yp,{onBeforeLeave(){n["~transitionPromise"]=new Promise(m=>{n["~transitionFinish"]=m})},onAfterLeave(){n["~transitionFinish"]?.(),delete n["~transitionFinish"],delete n["~transitionPromise"]}}]),p=c;return c=a.value,Iv(f,{default:()=>ze(J0,{suspensible:!0,onResolve:async()=>{await He(i)}},{default:()=>ze(kN,{layoutProps:G(t.attrs,r.meta.layoutProps??{},{ref:s}),key:a.value||void 0,name:a.value,shouldProvide:!e.name,isRenderingNewLayout:m=>m!==p&&m===a.value,hasTransition:d},t.slots)})}).default()}}}),kN=N({name:"NuxtLayoutProvider",inheritAttrs:!1,props:{name:{type:[String,Boolean]},layoutProps:{type:Object},hasTransition:{type:Boolean},shouldProvide:{type:Boolean},isRenderingNewLayout:{type:Function,required:!0}},setup(e,t){const n=e.name;e.shouldProvide&&St(Q3,{isCurrent:r=>n===!1||n===(r.meta.layout??$b(r.path).appLayout??"default")});const o=Ve(xo);if(o&&o===Fn()){const r=Dv(),a={};for(const s in r){const i=s;Object.defineProperty(a,i,{enumerable:!0,get:()=>e.isRenderingNewLayout(e.name)?r[i]:o[i]})}St(xo,Bn(a))}return()=>!n||typeof n=="string"&&!(n in Ko)?t.slots.default?.():ze(AN,{key:n,layoutProps:e.layoutProps,name:n},t.slots)}}),SN={},TN={class:"text-sm text-muted"};function FN(e,t){return D(),le("div",TN," Copyright © "+Me(new Date().getFullYear()),1)}const PN=Object.assign(dl(SN,[["render",FN]]),{__name:"AppFooterLeft"}),MN=N({__name:"AppFooterRight",setup(e){const t=qe(),n=S(()=>{const o=Object.entries(t.socials||{}).flatMap(([r,a])=>typeof a!="string"||!a?[]:[{icon:`i-simple-icons-${r}`,to:a,target:"_blank","aria-label":`${r} social link`}]),u=t.github&&t.github.url?[{icon:"i-simple-icons-github",to:t.github.url,target:"_blank","aria-label":"GitHub repository"}]:[];return[...o,...u]});return(o,u)=>{const r=Jt,a=Gy;return D(),le(Se,null,[h(n).length?(D(!0),le(Se,{key:0},dn(h(n),(s,i)=>(D(),T(r,G({key:i,size:"sm"},{ref_for:!0},{color:"neutral",variant:"ghost",...s}),null,16))),128)):ue("",!0),z(a)],64)}}}),ON=Object.assign(MN,{__name:"AppFooterRight"}),RN={slots:{root:"",top:"py-8 lg:py-12",bottom:"py-8 lg:py-12",container:"py-8 lg:py-4 lg:flex lg:items-center lg:justify-between lg:gap-x-3",left:"flex items-center justify-center lg:justify-start lg:flex-1 gap-x-1.5 mt-3 lg:mt-0 lg:order-1",center:"mt-3 lg:mt-0 lg:order-2 flex items-center justify-center",right:"lg:flex-1 flex items-center justify-center lg:justify-end gap-x-1.5 lg:order-3"}},IN={__name:"UFooter",props:{as:{type:null,required:!1,default:"footer"},class:{type:null,required:!1},ui:{type:Object,required:!1}},setup(e){const t=e,n=Ht(),o=qe(),u=Ct("footer",t),r=S(()=>Fe({extend:Fe(RN),...o.ui?.footer||{}})());return(a,s)=>(D(),T(h(Ae),{as:e.as,"data-slot":"root",class:oe(r.value.root({class:[h(u)?.root,t.class]}))},{default:k(()=>[n.top?(D(),le("div",{key:0,"data-slot":"top",class:oe(r.value.top({class:h(u)?.top}))},[M(a.$slots,"top")],2)):ue("",!0),z(Tb,{"data-slot":"container",class:oe(r.value.container({class:h(u)?.container}))},{default:k(()=>[tt("div",{"data-slot":"right",class:oe(r.value.right({class:h(u)?.right}))},[M(a.$slots,"right")],2),tt("div",{"data-slot":"center",class:oe(r.value.center({class:h(u)?.center}))},[M(a.$slots,"default")],2),tt("div",{"data-slot":"left",class:oe(r.value.left({class:h(u)?.left}))},[M(a.$slots,"left")],2)]),_:3},8,["class"]),n.bottom?(D(),le("div",{key:1,"data-slot":"bottom",class:oe(r.value.bottom({class:h(u)?.bottom}))},[M(a.$slots,"bottom")],2)):ue("",!0)]),_:3},8,["as","class"]))}},LN={};function qN(e,t){const n=PN,o=ON,u=IN;return D(),T(u,null,{left:k(()=>[z(n)]),right:k(()=>[z(o)]),_:1})}const Nb=Object.assign(dl(LN,[["render",qN]]),{__name:"AppFooter"}),jb=Symbol("nuxt-ui.toast-max");function $N(){const e=Ho("toasts",()=>[]),t=Ve(jb,void 0),n=L(!1),o=[],u=()=>`${Date.now()}-${Math.random().toString(36).slice(2,9)}`;async function r(){if(!(n.value||o.length===0)){for(n.value=!0;o.length>0;){const l=o.shift();await He(),e.value=[...e.value,l].slice(-(t?.value??5))}n.value=!1}}function a(l){const d={id:u(),open:!0,...l},f=e.value.findIndex(p=>p.id===d.id);return f!==-1?(e.value[f]={...e.value[f],...d,_duplicate:(e.value[f]._duplicate||0)+1},d):(o.push(d),r(),d)}function s(l,d){const f=e.value.findIndex(p=>p.id===l);f!==-1&&(e.value[f]={...e.value[f],...d,duration:d.duration,open:!0,_updated:!0},He(()=>{const p=e.value.findIndex(m=>m.id===l);p!==-1&&e.value[p]._updated&&(e.value[p]={...e.value[p],_updated:void 0})}))}function i(l){const d=e.value.findIndex(f=>f.id===l);d!==-1&&e.value[d]._updated||(d!==-1&&(e.value[d]={...e.value[d],open:!1}),setTimeout(()=>{e.value=e.value.filter(f=>f.id!==l)},200))}function c(){e.value=[]}return{toasts:e,add:a,update:s,remove:i,clear:c}}const NN={slots:{root:"gap-2",base:"relative overflow-hidden rounded-full bg-accented",indicator:"rounded-full size-full transition-transform duration-200 ease-out",status:"flex text-dimmed transition-[width] duration-200",steps:"grid items-end",step:"truncate text-end row-start-1 col-start-1 transition-opacity"},variants:{animation:{carousel:"","carousel-inverse":"",swing:"",elastic:""},color:{primary:{indicator:"bg-primary",steps:"text-primary"},secondary:{indicator:"bg-secondary",steps:"text-secondary"},success:{indicator:"bg-success",steps:"text-success"},info:{indicator:"bg-info",steps:"text-info"},warning:{indicator:"bg-warning",steps:"text-warning"},error:{indicator:"bg-error",steps:"text-error"},neutral:{indicator:"bg-inverted",steps:"text-inverted"}},size:{"2xs":{status:"text-xs",steps:"text-xs"},xs:{status:"text-xs",steps:"text-xs"},sm:{status:"text-sm",steps:"text-sm"},md:{status:"text-sm",steps:"text-sm"},lg:{status:"text-sm",steps:"text-sm"},xl:{status:"text-base",steps:"text-base"},"2xl":{status:"text-base",steps:"text-base"}},step:{active:{step:"opacity-100"},first:{step:"opacity-100 text-muted"},other:{step:"opacity-0"},last:{step:""}},orientation:{horizontal:{root:"w-full flex flex-col",base:"w-full",status:"flex-row items-center justify-end min-w-fit"},vertical:{root:"h-full flex flex-row-reverse",base:"h-full",status:"flex-col justify-end min-h-fit"}},inverted:{true:{status:"self-end"}}},compoundVariants:[{inverted:!0,orientation:"horizontal",class:{step:"text-start",status:"flex-row-reverse"}},{inverted:!0,orientation:"vertical",class:{steps:"items-start",status:"flex-col-reverse"}},{orientation:"horizontal",size:"2xs",class:"h-px"},{orientation:"horizontal",size:"xs",class:"h-0.5"},{orientation:"horizontal",size:"sm",class:"h-1"},{orientation:"horizontal",size:"md",class:"h-2"},{orientation:"horizontal",size:"lg",class:"h-3"},{orientation:"horizontal",size:"xl",class:"h-4"},{orientation:"horizontal",size:"2xl",class:"h-5"},{orientation:"vertical",size:"2xs",class:"w-px"},{orientation:"vertical",size:"xs",class:"w-0.5"},{orientation:"vertical",size:"sm",class:"w-1"},{orientation:"vertical",size:"md",class:"w-2"},{orientation:"vertical",size:"lg",class:"w-3"},{orientation:"vertical",size:"xl",class:"w-4"},{orientation:"vertical",size:"2xl",class:"w-5"},{orientation:"horizontal",animation:"carousel",class:{indicator:"data-[state=indeterminate]:animate-[carousel_2s_ease-in-out_infinite] data-[state=indeterminate]:rtl:animate-[carousel-rtl_2s_ease-in-out_infinite]"}},{orientation:"vertical",animation:"carousel",class:{indicator:"data-[state=indeterminate]:animate-[carousel-vertical_2s_ease-in-out_infinite]"}},{orientation:"horizontal",animation:"carousel-inverse",class:{indicator:"data-[state=indeterminate]:animate-[carousel-inverse_2s_ease-in-out_infinite] data-[state=indeterminate]:rtl:animate-[carousel-inverse-rtl_2s_ease-in-out_infinite]"}},{orientation:"vertical",animation:"carousel-inverse",class:{indicator:"data-[state=indeterminate]:animate-[carousel-inverse-vertical_2s_ease-in-out_infinite]"}},{orientation:"horizontal",animation:"swing",class:{indicator:"data-[state=indeterminate]:animate-[swing_2s_ease-in-out_infinite]"}},{orientation:"vertical",animation:"swing",class:{indicator:"data-[state=indeterminate]:animate-[swing-vertical_2s_ease-in-out_infinite]"}},{orientation:"horizontal",animation:"elastic",class:{indicator:"data-[state=indeterminate]:animate-[elastic_2s_ease-in-out_infinite]"}},{orientation:"vertical",animation:"elastic",class:{indicator:"data-[state=indeterminate]:animate-[elastic-vertical_2s_ease-in-out_infinite]"}}],defaultVariants:{animation:"carousel",color:"primary",size:"md"}},jN={__name:"UProgress",props:{as:{type:null,required:!1},max:{type:[Number,Array],required:!1},status:{type:Boolean,required:!1},inverted:{type:Boolean,required:!1,default:!1},size:{type:null,required:!1},color:{type:null,required:!1},orientation:{type:null,required:!1,default:"horizontal"},animation:{type:null,required:!1},class:{type:null,required:!1},ui:{type:Object,required:!1},getValueLabel:{type:Function,required:!1},getValueText:{type:Function,required:!1},modelValue:{type:[Number,null],required:!1,default:null}},emits:["update:modelValue","update:max"],setup(e,{emit:t}){const n=e,o=t,u=Ht(),{dir:r}=eu(),a=qe(),s=Ct("progress",n),i=Et(fn(n,"getValueLabel","getValueText","modelValue"),o),c=S(()=>i.value.modelValue===null),l=S(()=>Array.isArray(n.max)),d=S(()=>{if(!(c.value||!n.max))return Array.isArray(n.max)?n.max.length-1:Number(n.max)}),f=S(()=>{if(!c.value)switch(!0){case i.value.modelValue<0:return 0;case i.value.modelValue>(d.value??100):return 100;default:return Math.round(i.value.modelValue/(d.value??100)*100)}}),p=S(()=>{if(f.value!==void 0)return n.orientation==="vertical"?{transform:`translateY(${n.inverted?"":"-"}${100-f.value}%)`}:r.value==="rtl"?{transform:`translateX(${n.inverted?"-":""}${100-f.value}%)`}:{transform:`translateX(${n.inverted?"":"-"}${100-f.value}%)`}}),m=S(()=>{const C=`${Math.max(f.value??0,0)}%`;return n.orientation==="vertical"?{height:C}:{width:C}});function g(C){return C===Number(n.modelValue)}function E(C){return C===0}function b(C){return C===d.value}function y(C){return C=Number(C),g(C)&&!E(C)?"active":E(C)&&g(C)?"first":b(C)&&g(C)?"last":"other"}const v=S(()=>Fe({extend:Fe(NN),...a.ui?.progress||{}})({animation:n.animation,size:n.size,color:n.color,orientation:n.orientation,inverted:n.inverted}));return(C,x)=>(D(),T(h(Ae),{as:e.as,"data-orientation":e.orientation,"data-slot":"root",class:oe(v.value.root({class:[h(s)?.root,n.class]}))},{default:k(()=>[!c.value&&(e.status||u.status)?(D(),le("div",{key:0,"data-slot":"status",class:oe(v.value.status({class:h(s)?.status})),style:xn(m.value)},[M(C.$slots,"status",{percent:f.value},()=>[Qe(Me(f.value)+"% ",1)])],6)):ue("",!0),z(h(h8),G(h(i),{max:d.value,"data-slot":"base",class:v.value.base({class:h(s)?.base}),style:{transform:"translateZ(0)"}}),{default:k(()=>[z(h(g8),{"data-slot":"indicator",class:oe(v.value.indicator({class:h(s)?.indicator})),style:xn(p.value)},null,8,["class","style"])]),_:1},16,["max","class"]),l.value?(D(),le("div",{key:1,"data-slot":"steps",class:oe(v.value.steps({class:h(s)?.steps}))},[(D(!0),le(Se,null,dn(e.max,(w,B)=>(D(),le("div",{key:B,"data-slot":"step",class:oe(v.value.step({class:h(s)?.step,step:y(B)}))},[M(C.$slots,`step-${B}`,{step:w},()=>[Qe(Me(w),1)])],2))),128))],2)):ue("",!0)]),_:3},8,["as","data-orientation","class"]))}},VN={slots:{root:"relative group overflow-hidden bg-default shadow-lg rounded-lg ring ring-default p-4 flex gap-2.5 focus:outline-none",wrapper:"w-0 flex-1 flex flex-col",title:"text-sm font-medium text-highlighted",description:"text-sm text-muted",icon:"shrink-0 size-5",avatar:"shrink-0",avatarSize:"2xl",actions:"flex gap-1.5 shrink-0",progress:"absolute inset-x-0 bottom-0",close:"p-0"},variants:{color:{primary:{root:"focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-primary",icon:"text-primary"},secondary:{root:"focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-secondary",icon:"text-secondary"},success:{root:"focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-success",icon:"text-success"},info:{root:"focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-info",icon:"text-info"},warning:{root:"focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-warning",icon:"text-warning"},error:{root:"focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-error",icon:"text-error"},neutral:{root:"focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-inverted",icon:"text-highlighted"}},orientation:{horizontal:{root:"items-center",actions:"items-center"},vertical:{root:"items-start",actions:"items-start mt-2.5"}},title:{true:{description:"mt-1"}}},defaultVariants:{color:"primary"}},zN={__name:"UToast",props:{as:{type:null,required:!1},title:{type:[String,Object,Function],required:!1},description:{type:[String,Object,Function],required:!1},icon:{type:null,required:!1},avatar:{type:Object,required:!1},color:{type:null,required:!1},orientation:{type:null,required:!1,default:"vertical"},close:{type:[Boolean,Object],required:!1,default:!0},closeIcon:{type:null,required:!1},actions:{type:Array,required:!1},progress:{type:[Boolean,Object],required:!1,default:!0},class:{type:null,required:!1},ui:{type:Object,required:!1},defaultOpen:{type:Boolean,required:!1},open:{type:Boolean,required:!1},type:{type:String,required:!1},duration:{type:Number,required:!1}},emits:["escapeKeyDown","pause","resume","swipeStart","swipeMove","swipeCancel","swipeEnd","update:open"],setup(e,{expose:t,emit:n}){const o=e,u=n,r=Ht(),{t:a}=eu(),s=qe(),i=Ct("toast",o),c=Et(fn(o,"as","defaultOpen","open","duration","type"),u),l=S(()=>Fe({extend:Fe(VN),...s.ui?.toast||{}})({color:o.color,orientation:o.orientation,title:!!o.title||!!r.title})),d=ZE("rootRef"),f=L(0);return je(()=>{d.value?.$el?.getBoundingClientRect&&(f.value=d.value.$el.getBoundingClientRect().height)}),t({height:f}),(p,m)=>(D(),T(h(z8),G({ref_key:"rootRef",ref:d},h(c),{"data-orientation":e.orientation,"data-slot":"root",class:l.value.root({class:[h(i)?.root,o.class]}),style:{"--height":f.value}}),{default:k(({remaining:g,duration:E,open:b})=>[M(p.$slots,"leading",{ui:l.value},()=>[e.avatar?(D(),T(cl,G({key:0,size:h(i)?.avatarSize||l.value.avatarSize()},e.avatar,{"data-slot":"avatar",class:l.value.avatar({class:h(i)?.avatar})}),null,16,["size","class"])):e.icon?(D(),T(vn,{key:1,name:e.icon,"data-slot":"icon",class:oe(l.value.icon({class:h(i)?.icon}))},null,8,["name","class"])):ue("",!0)]),tt("div",{"data-slot":"wrapper",class:oe(l.value.wrapper({class:h(i)?.wrapper}))},[e.title||r.title?(D(),T(h(H8),{key:0,"data-slot":"title",class:oe(l.value.title({class:h(i)?.title}))},{default:k(()=>[M(p.$slots,"title",{},()=>[typeof e.title=="function"?(D(),T(ln(e.title()),{key:0})):typeof e.title=="object"?(D(),T(ln(e.title),{key:1})):(D(),le(Se,{key:2},[Qe(Me(e.title),1)],64))])]),_:3},8,["class"])):ue("",!0),e.description||r.description?(D(),T(h($8),{key:1,"data-slot":"description",class:oe(l.value.description({class:h(i)?.description}))},{default:k(()=>[M(p.$slots,"description",{},()=>[typeof e.description=="function"?(D(),T(ln(e.description()),{key:0})):typeof e.description=="object"?(D(),T(ln(e.description),{key:1})):(D(),le(Se,{key:2},[Qe(Me(e.description),1)],64))])]),_:3},8,["class"])):ue("",!0),e.orientation==="vertical"&&(e.actions?.length||r.actions)?(D(),le("div",{key:2,"data-slot":"actions",class:oe(l.value.actions({class:h(i)?.actions}))},[M(p.$slots,"actions",{},()=>[(D(!0),le(Se,null,dn(e.actions,(y,v)=>(D(),T(h(qh),{key:v,"alt-text":y.label||"Action","as-child":"",onClick:m[0]||(m[0]=bn(()=>{},["stop"]))},{default:k(()=>[z(Jt,G({size:"xs",color:e.color},{ref_for:!0},y),null,16,["color"])]),_:2},1032,["alt-text"]))),128))])],2)):ue("",!0)],2),e.orientation==="horizontal"&&(e.actions?.length||r.actions)||e.close?(D(),le("div",{key:0,"data-slot":"actions",class:oe(l.value.actions({class:h(i)?.actions,orientation:"horizontal"}))},[e.orientation==="horizontal"&&(e.actions?.length||r.actions)?M(p.$slots,"actions",{key:0},()=>[(D(!0),le(Se,null,dn(e.actions,(y,v)=>(D(),T(h(qh),{key:v,"alt-text":y.label||"Action","as-child":"",onClick:m[1]||(m[1]=bn(()=>{},["stop"]))},{default:k(()=>[z(Jt,G({size:"xs",color:e.color},{ref_for:!0},y),null,16,["color"])]),_:2},1032,["alt-text"]))),128))]):ue("",!0),e.close||r.close?(D(),T(h(ay),{key:1,"as-child":""},{default:k(()=>[M(p.$slots,"close",{ui:l.value},()=>[e.close?(D(),T(Jt,G({key:0,icon:e.closeIcon||h(s).ui.icons.close,color:"neutral",variant:"link","aria-label":h(a)("toast.close")},typeof e.close=="object"?e.close:{},{"data-slot":"close",class:l.value.close({class:h(i)?.close}),onClick:m[2]||(m[2]=bn(()=>{},["stop"]))}),null,16,["icon","aria-label","class"])):ue("",!0)])]),_:3})):ue("",!0)],2)):ue("",!0),e.progress&&b&&g>0&&E?(D(),T(jN,G({key:1,"model-value":g/E*100,color:e.color},typeof e.progress=="object"?e.progress:{},{size:"sm","data-slot":"progress",class:l.value.progress({class:h(i)?.progress})}),null,16,["model-value","color","class"])):ue("",!0)]),_:3},16,["data-orientation","class","style"]))}},UN={slots:{viewport:"fixed flex flex-col w-[calc(100%-2rem)] sm:w-96 z-[100] data-[expanded=true]:h-(--height) focus:outline-none",base:"pointer-events-auto absolute inset-x-0 z-(--index) transform-(--transform) data-[expanded=false]:data-[front=false]:h-(--front-height) data-[expanded=false]:data-[front=false]:*:opacity-0 data-[front=false]:*:transition-opacity data-[front=false]:*:duration-100 data-[state=closed]:animate-[toast-closed_200ms_ease-in-out] data-[state=closed]:data-[expanded=false]:data-[front=false]:animate-[toast-collapsed-closed_200ms_ease-in-out] data-[state=open]:data-[pulsing=odd]:animate-[toast-pulse-a_300ms_ease-out] data-[state=open]:data-[pulsing=even]:animate-[toast-pulse-b_300ms_ease-out] data-[swipe=move]:transition-none transition-[transform,translate,height] duration-200 ease-out"},variants:{position:{"top-left":{viewport:"left-4"},"top-center":{viewport:"left-1/2 transform -translate-x-1/2"},"top-right":{viewport:"right-4"},"bottom-left":{viewport:"left-4"},"bottom-center":{viewport:"left-1/2 transform -translate-x-1/2"},"bottom-right":{viewport:"right-4"}},swipeDirection:{up:"data-[swipe=end]:animate-[toast-slide-up_200ms_ease-out]",right:"data-[swipe=end]:animate-[toast-slide-right_200ms_ease-out]",down:"data-[swipe=end]:animate-[toast-slide-down_200ms_ease-out]",left:"data-[swipe=end]:animate-[toast-slide-left_200ms_ease-out]"}},compoundVariants:[{position:["top-left","top-center","top-right"],class:{viewport:"top-4",base:"top-0 data-[state=open]:animate-[toast-slide-in-from-top_200ms_ease-in-out]"}},{position:["bottom-left","bottom-center","bottom-right"],class:{viewport:"bottom-4",base:"bottom-0 data-[state=open]:animate-[toast-slide-in-from-bottom_200ms_ease-in-out]"}},{swipeDirection:["left","right"],class:"data-[swipe=move]:translate-x-(--reka-toast-swipe-move-x) data-[swipe=end]:translate-x-(--reka-toast-swipe-end-x) data-[swipe=cancel]:translate-x-0"},{swipeDirection:["up","down"],class:"data-[swipe=move]:translate-y-(--reka-toast-swipe-move-y) data-[swipe=end]:translate-y-(--reka-toast-swipe-end-y) data-[swipe=cancel]:translate-y-0"}],defaultVariants:{position:"bottom-right"}},HN={name:"Toaster"},KN=Object.assign(HN,{props:{position:{type:null,required:!1},expand:{type:Boolean,required:!1,default:!0},progress:{type:Boolean,required:!1,default:!0},portal:{type:[Boolean,String],required:!1,skipCheck:!0,default:!0},max:{type:Number,required:!1,default:5},class:{type:null,required:!1},ui:{type:Object,required:!1},label:{type:String,required:!1},duration:{type:Number,required:!1,default:5e3},disableSwipe:{type:Boolean,required:!1},swipeThreshold:{type:Number,required:!1}},setup(e){const t=e,{toasts:n,remove:o}=$N(),u=qe(),r=Ct("toaster",t);St(jb,at(()=>t.max));const a=on(fn(t,"duration","label","swipeThreshold","disableSwipe")),s=Sr(at(()=>t.portal)),i=S(()=>{switch(t.position){case"top-center":return"up";case"top-right":case"bottom-right":return"right";case"bottom-center":return"down";case"top-left":case"bottom-left":return"left"}return"right"}),c=S(()=>Fe({extend:Fe(UN),...u.ui?.toaster||{}})({position:t.position,swipeDirection:i.value}));function l(b,y){b||o(y)}const d=L(!1),f=S(()=>t.expand||d.value),p=L([]),m=S(()=>p.value.reduce((b,{height:y})=>b+y+16,0)),g=S(()=>p.value[p.value.length-1]?.height||0);function E(b){return p.value.slice(b+1).reduce((y,{height:v})=>y+v+16,0)}return(b,y)=>(D(),T(h(w8),G({"swipe-direction":i.value},h(a)),{default:k(()=>[M(b.$slots,"default"),(D(!0),le(Se,null,dn(h(n),(v,C)=>(D(),T(zN,G({key:v.id,ref_for:!0,ref_key:"refs",ref:p,progress:e.progress},{ref_for:!0},h(Kd)(v,["id","close","_duplicate","_updated"]),{close:v.close,"data-expanded":f.value,"data-front":!f.value&&C===h(n).length-1,"data-pulsing":v._duplicate?v._duplicate%2===0?"even":"odd":void 0,style:{"--index":C-h(n).length+h(n).length,"--before":h(n).length-1-C,"--offset":E(C),"--scale":f.value?"1":"calc(1 - var(--before) * var(--scale-factor))","--translate":f.value?"calc(var(--offset) * var(--translate-factor))":"calc(var(--before) * var(--gap))","--transform":"translateY(var(--translate)) scale(var(--scale))"},"data-slot":"base",class:c.value.base({class:[h(r)?.base,v.onClick?"cursor-pointer":void 0]}),"onUpdate:open":x=>l(x,v.id),onClick:x=>v.onClick&&v.onClick(v)}),null,16,["progress","close","data-expanded","data-front","data-pulsing","style","class","onUpdate:open","onClick"]))),128)),z(h(j8),De(ke(h(s))),{default:k(()=>[z(h(G8),{"data-expanded":f.value,"data-slot":"viewport",class:oe(c.value.viewport({class:[h(r)?.viewport,t.class]})),style:xn({"--scale-factor":"0.05","--translate-factor":e.position?.startsWith("top")?"1px":"-1px","--gap":e.position?.startsWith("top")?"16px":"-16px","--front-height":`${g.value}px`,"--height":`${m.value}px`}),onMouseenter:y[0]||(y[0]=v=>d.value=!0),onMouseleave:y[1]||(y[1]=v=>d.value=!1)},null,8,["data-expanded","class","style"])]),_:1},16)]),_:3},16,["swipe-direction"]))}}),WN=Object.assign(KN,{__name:"UToaster"});function GN(){const e=Bn([]),t=(c,l)=>{const{props:d,defaultOpen:f,destroyOnClose:p}=l||{},m=Tt({id:Symbol(""),isOpen:!!f,component:H0(c),isMounted:!!f,destroyOnClose:!!p,originalProps:d||{},props:{...d}});return e.push(m),{...m,open:g=>n(m.id,g),close:g=>o(m.id,g),patch:g=>a(m.id,g)}},n=(c,l)=>{const d=s(c);l?d.props={...d.originalProps,...l}:d.props={...d.originalProps},d.isOpen=!0,d.isMounted=!0;const f=new Promise(p=>d.resolvePromise=p);return Object.assign(f,{id:c,isMounted:d.isMounted,isOpen:d.isOpen,result:f})},o=(c,l)=>{const d=s(c);d.isOpen=!1,d.resolvePromise&&(d.resolvePromise(l),d.resolvePromise=void 0)},u=()=>{e.forEach(c=>o(c.id))},r=c=>{const l=s(c);if(l.isMounted=!1,l.destroyOnClose){const d=e.findIndex(f=>f.id===c);e.splice(d,1)}},a=(c,l)=>{const d=s(c);d.props={...d.props,...l}},s=c=>{const l=e.find(d=>d.id===c);if(!l)throw new Error("Overlay not found");return l};return{overlays:e,open:n,close:o,closeAll:u,create:t,patch:a,unmount:r,isOpen:c=>s(c).isOpen}}const YN=wr(GN),ZN={__name:"UOverlayProvider",setup(e){const{overlays:t,unmount:n,close:o}=YN(),u=S(()=>t.filter(s=>s.isMounted)),r=s=>{o(s),n(s)},a=(s,i)=>{o(s,i)};return(s,i)=>(D(!0),le(Se,null,dn(u.value,c=>(D(),T(ln(c.component),G({key:c.id},{ref_for:!0},c.props,{open:c.isOpen,"onUpdate:open":l=>c.isOpen=l,onClose:l=>a(c.id,l),"onAfter:leave":l=>r(c.id)}),null,16,["open","onUpdate:open","onClose","onAfter:leave"]))),128))}},XN={name:"App"},JN=Object.assign(XN,{props:{tooltip:{type:Object,required:!1},toaster:{type:[Object,null],required:!1},locale:{type:Object,required:!1},portal:{type:[Boolean,String],required:!1,skipCheck:!0,default:"body"},dir:{type:String,required:!1},scrollBody:{type:[Boolean,Object],required:!1},nonce:{type:String,required:!1}},setup(e){const t=e,n=on(fn(t,"scrollBody")),o=at(()=>t.tooltip),u=at(()=>t.toaster),r=at(()=>t.locale);return St(py,r),St(zy,at(()=>t.portal)),(s,i)=>(D(),T(h(NB),G({"use-id":()=>Pg(),dir:t.dir||r.value?.dir,locale:r.value?.code},h(n)),{default:k(()=>[z(h(Q8),De(ke(o.value)),{default:k(()=>[e.toaster!==null?(D(),T(WN,De(G({key:0},u.value)),{default:k(()=>[M(s.$slots,"default")]),_:3},16)):M(s.$slots,"default",{key:1}),z(ZN)]),_:3},16)]),_:3},16,["use-id","dir","locale"]))}}),Vb=Object.assign(JN,{__name:"UApp"}),QN=ve({name:"العربية",code:"ar",dir:"rtl",messages:{alert:{close:"إغلاق"},authForm:{hidePassword:"إخفاء كلمة المرور",showPassword:"إظهار كلمة المرور",submit:"متابعة"},banner:{close:"إغلاق"},calendar:{nextMonth:"الشهر المقبل",nextYear:"السنة المقبلة",prevMonth:"الشهر السابق",prevYear:"السنة السابقة"},carousel:{dots:"اختر الشريحة المراد عرضها",goto:"الذهاب إلى شريحة {slide}",next:"التالي",prev:"السابق"},chatPrompt:{placeholder:"اكتب رسالتك هنا…"},chatPromptSubmit:{label:"إرسال"},chatReasoning:{thinking:"يفكّر…",thought:"فكّر",thoughtFor:"فكّر لمدة {duration}"},colorMode:{dark:"داكن",light:"فاتح",switchToDark:"التبديل إلى الوضع الداكن",switchToLight:"التبديل إلى الوضع الفاتح",system:"النظام"},commandPalette:{back:"رجوع",close:"إغلاق",noData:"لا توجد بيانات",noMatch:"لا توجد نتائج مطابقة",placeholder:"اكتب أمرًا أو ابحث…"},contentSearch:{links:"الروابط",theme:"السمة"},contentSearchButton:{label:"بحث…"},contentToc:{title:"في هذه الصفحة"},dropdownMenu:{noMatch:"لا توجد نتائج مطابقة",search:"بحث…"},dashboardSearch:{theme:"السمة"},dashboardSearchButton:{label:"بحث…"},dashboardSidebarCollapse:{collapse:"طي الشريط الجانبي",expand:"توسيع الشريط الجانبي"},dashboardSidebarToggle:{close:"إغلاق الشريط الجانبي",open:"فتح الشريط الجانبي"},error:{clear:"العودة إلى الصفحة الرئيسية"},fileUpload:{removeFile:"إزالة {filename}"},header:{close:"إغلاق القائمة",open:"فتح القائمة"},inputMenu:{create:'إنشاء "{label}"',noData:"لا توجد بيانات",noMatch:"لا توجد نتائج مطابقة"},inputNumber:{decrement:"تقليل",increment:"زيادة"},modal:{close:"إغلاق"},pricingTable:{caption:"مقارنة الخطط السعرية"},prose:{codeCollapse:{closeText:"طي",name:"كود",openText:"توسيع"},collapsible:{closeText:"إخفاء",name:"خصائص",openText:"إظهار"},pre:{copy:"نسخ الكود إلى الحافظة"}},sidebar:{close:"إغلاق",toggle:"تبديل"},selectMenu:{create:'إنشاء "{label}"',noData:"لا توجد بيانات",noMatch:"لا توجد نتائج مطابقة",search:"بحث…"},slideover:{close:"إغلاق"},table:{noData:"لا توجد بيانات"},toast:{close:"إغلاق"}}}),ej=ve({name:"Azərbaycanca",code:"az",messages:{alert:{close:"Bağla"},authForm:{hidePassword:"Şifrəni gizlət",showPassword:"Şifrəni göstər",submit:"Davam et"},banner:{close:"Bağla"},calendar:{nextMonth:"Növbəti ay",nextYear:"Növbəti il",prevMonth:"Əvvəlki ay",prevYear:"Əvvəlki il"},carousel:{dots:"Göstərmək üçün slayd seçin",goto:"Slayd {slide} keç",next:"Növbəti",prev:"Əvvəlki"},chatPrompt:{placeholder:"Buraya mesajınızı yazın…"},chatPromptSubmit:{label:"Göndər"},chatReasoning:{thinking:"Düşünür…",thought:"Düşündü",thoughtFor:"{duration} düşündü"},colorMode:{dark:"Qaranlıq",light:"İşıqlı",switchToDark:"Qaranlıq rejimə keç",switchToLight:"İşıqlı rejimə keç",system:"Sistem"},commandPalette:{back:"Geri",close:"Bağla",noData:"Məlumat yoxdur",noMatch:"Uyğun məlumat tapılmadı",placeholder:"Əmr daxil edin və ya axtarın…"},contentSearch:{links:"Bağlantılar",theme:"Tema"},contentSearchButton:{label:"Axtar…"},contentToc:{title:"Bu səhifədə"},dropdownMenu:{noMatch:"Uyğun məlumat tapılmadı",search:"Axtar…"},dashboardSearch:{theme:"Tema"},dashboardSearchButton:{label:"Axtar…"},dashboardSidebarCollapse:{collapse:"Yan paneli daralt",expand:"Yan paneli genişlət"},dashboardSidebarToggle:{close:"Yan paneli bağla",open:"Yan paneli aç"},error:{clear:"Ana səhifəyə qayıt"},fileUpload:{removeFile:"{filename} sil"},header:{close:"Menyunu bağla",open:"Menyunu aç"},inputMenu:{create:'"{label}" yarat',noData:"Məlumat yoxdur",noMatch:"Uyğun məlumat tapılmadı"},inputNumber:{decrement:"Azalt",increment:"Artır"},modal:{close:"Bağla"},pricingTable:{caption:"Qiymət planlarının müqayisəsi"},prose:{codeCollapse:{closeText:"Daralt",name:"kod",openText:"Genişlət"},collapsible:{closeText:"Gizlət",name:"xüsusiyyətlər",openText:"Göstər"},pre:{copy:"Kodu buferə kopyala"}},sidebar:{close:"Bağla",toggle:"Dəyişdir"},selectMenu:{create:'"{label}" yarat',noData:"Məlumat yoxdur",noMatch:"Uyğun məlumat tapılmadı",search:"Axtar…"},slideover:{close:"Bağla"},table:{noData:"Məlumat yoxdur"},toast:{close:"Bağla"}}}),tj=ve({name:"Беларуская",code:"be",messages:{alert:{close:"Закрыць"},authForm:{hidePassword:"Схаваць пароль",showPassword:"Паказаць пароль",submit:"Працягнуць"},banner:{close:"Закрыць"},calendar:{nextMonth:"Наступны месяц",nextYear:"Наступны год",prevMonth:"Папярэдні месяц",prevYear:"Папярэдні год"},carousel:{dots:"Выберыце слайд для адлюстравання",goto:"Перайсці да {slide}",next:"Далей",prev:"Назад"},chatPrompt:{placeholder:"Увядзіце сваё паведамленне тут…"},chatPromptSubmit:{label:"Адправіць"},chatReasoning:{thinking:"Думае…",thought:"Падумаў",thoughtFor:"Думаў {duration}"},colorMode:{dark:"Цёмная",light:"Светлая",switchToDark:"Пераключыцца на цёмны рэжым",switchToLight:"Пераключыцца на светлы рэжым",system:"Сістэмная"},commandPalette:{back:"Назад",close:"Закрыць",noData:"Няма даных",noMatch:"Супадзенняў не знойдзена",placeholder:"Увядзіце каманду або выканайце пошук…"},contentSearch:{links:"Спасылкі",theme:"Тэма"},contentSearchButton:{label:"Пошук…"},contentToc:{title:"На гэтай старонцы"},dropdownMenu:{noMatch:"Супадзенняў не знойдзена",search:"Пошук…"},dashboardSearch:{theme:"Тэма"},dashboardSearchButton:{label:"Пошук…"},dashboardSidebarCollapse:{collapse:"Згарнуць бакавую панэль",expand:"Разгарнуць бакавую панэль"},dashboardSidebarToggle:{close:"Закрыць бакавую панэль",open:"Адкрыць бакавую панэль"},error:{clear:"Вярнуцца на галоўную"},fileUpload:{removeFile:"Выдаліць {filename}"},header:{close:"Закрыць меню",open:"Адкрыць меню"},inputMenu:{create:'Стварыць "{label}"',noData:"Няма даных",noMatch:"Супадзенняў не знойдзена"},inputNumber:{decrement:"Паменшыць",increment:"Павялічыць"},modal:{close:"Закрыць"},pricingTable:{caption:"Параўнанне платных планаў"},prose:{codeCollapse:{closeText:"Згарнуць",name:"код",openText:"Разгарнуць"},collapsible:{closeText:"Схаваць",name:"уласцівасці",openText:"Паказаць"},pre:{copy:"Скапіяваць код у буфер абмену"}},sidebar:{close:"Закрыць",toggle:"Пераключыць"},selectMenu:{create:'Стварыць "{label}"',noData:"Няма даных",noMatch:"Супадзенняў не знойдзена",search:"Пошук…"},slideover:{close:"Закрыць"},table:{noData:"Няма даных"},toast:{close:"Закрыць"}}}),nj=ve({name:"Български",code:"bg",messages:{alert:{close:"Затворете"},authForm:{hidePassword:"Скрий паролата",showPassword:"Покажи паролата",submit:"Продължи"},banner:{close:"Затвори"},calendar:{nextMonth:"Следващ месец",nextYear:"Следваща година",prevMonth:"Предишен месец",prevYear:"Предишна година"},carousel:{dots:"Изберете слайд за показване",goto:"Отидете на слайд {slide}",next:"Напред",prev:"Назад"},chatPrompt:{placeholder:"Въведете съобщение…"},chatPromptSubmit:{label:"Изпрати"},chatReasoning:{thinking:"Мисли…",thought:"Помисли",thoughtFor:"Мислил {duration}"},colorMode:{dark:"Тъмно",light:"Светло",switchToDark:"Превключи към тъмен режим",switchToLight:"Превключи към светъл режим",system:"Система"},commandPalette:{back:"Назад",close:"Затворете",noData:"Няма данни",noMatch:"Няма съвпадение на данни",placeholder:"Въведете команда или потърсете…"},contentSearch:{links:"Връзки",theme:"Тема"},contentSearchButton:{label:"Търсене"},contentToc:{title:"Съдържание"},dropdownMenu:{noMatch:"Няма съвпадение на данни",search:"Потърсете…"},dashboardSearch:{theme:"Тема"},dashboardSearchButton:{label:"Търсене"},dashboardSidebarCollapse:{collapse:"Свий",expand:"Разшири"},dashboardSidebarToggle:{close:"Затвори",open:"Отвори"},error:{clear:"Изчисти"},fileUpload:{removeFile:"Премахни {filename}"},header:{close:"Затвори",open:"Отвори"},inputMenu:{create:'Създайте "{label}"',noData:"Няма данни",noMatch:"Няма съвпадение на данни"},inputNumber:{decrement:"Намаляване",increment:"Увеличаване"},modal:{close:"Затворете"},pricingTable:{caption:"Ценова таблица"},prose:{codeCollapse:{closeText:"Сгъни",name:"код",openText:"Разгъни"},collapsible:{closeText:"Скрий",name:"свойства",openText:"Покажи"},pre:{copy:"Копирай кода в клипборда"}},sidebar:{close:"Затворете",toggle:"Превключване"},selectMenu:{create:'Създайте "{label}"',noData:"Няма данни",noMatch:"Няма съвпадение на данни",search:"Потърсете…"},slideover:{close:"Затворете"},table:{noData:"Няма данни"},toast:{close:"Затворете"}}}),oj=ve({name:"বাংলা",code:"bn",messages:{alert:{close:"বন্ধ করুন"},authForm:{hidePassword:"পাসওয়ার্ড লুকান",showPassword:"পাসওয়ার্ড দেখান",submit:"চালিয়ে যান"},banner:{close:"বন্ধ করুন"},calendar:{nextMonth:"পরবর্তী মাস",nextYear:"পরবর্তী বছর",prevMonth:"পূর্ববর্তী মাস",prevYear:"পূর্ববর্তী বছর"},carousel:{dots:"প্রদর্শনের জন্য স্লাইড নির্বাচন করুন",goto:"স্লাইড {slide} এ যান",next:"পরবর্তী",prev:"পূর্ববর্তী"},chatPrompt:{placeholder:"এখানে আপনার বার্তা লিখুন…"},chatPromptSubmit:{label:"প্রেরণ করুন"},chatReasoning:{thinking:"ভাবছে…",thought:"ভেবেছে",thoughtFor:"{duration} ভেবেছে"},colorMode:{dark:"গাঢ়",light:"হালকা",switchToDark:"গাঢ় মোডে পরিবর্তন করুন",switchToLight:"হালকা মোডে পরিবর্তন করুন",system:"সিস্টেম"},commandPalette:{back:"পেছনে",close:"বন্ধ করুন",noData:"কোন তথ্য নেই",noMatch:"কোন মিল পাওয়া যায়নি",placeholder:"কমান্ড টাইপ করুন বা অনুসন্ধান করুন…"},contentSearch:{links:"লিংকসমূহ",theme:"থিম"},contentSearchButton:{label:"অনুসন্ধান করুন…"},contentToc:{title:"এই পৃষ্ঠায়"},dropdownMenu:{noMatch:"কোন মিল পাওয়া যায়নি",search:"অনুসন্ধান করুন…"},dashboardSearch:{theme:"থিম"},dashboardSearchButton:{label:"অনুসন্ধান করুন…"},dashboardSidebarCollapse:{collapse:"সাইডবার সংকুচিত করুন",expand:"সাইডবার প্রসারিত করুন"},dashboardSidebarToggle:{close:"সাইডবার বন্ধ করুন",open:"সাইডবার খুলুন"},error:{clear:"হোম পেজে ফিরে যান"},fileUpload:{removeFile:"{filename} সরান"},header:{close:"মেনু বন্ধ করুন",open:"মেনু খুলুন"},inputMenu:{create:'"{label}" তৈরি করুন',noData:"কোন তথ্য নেই",noMatch:"কোন মিল পাওয়া যায়নি"},inputNumber:{decrement:"হ্রাস করুন",increment:"বৃদ্ধি করুন"},modal:{close:"বন্ধ করুন"},pricingTable:{caption:"প্রাইসিং প্ল্যানের তুলনা"},prose:{codeCollapse:{closeText:"সংকুচিত করুন",name:"কোড",openText:"প্রসারিত করুন"},collapsible:{closeText:"লুকান",name:"বৈশিষ্ট্যসমূহ",openText:"দেখান"},pre:{copy:"কোড ক্লিপবোর্ডে কপি করুন"}},sidebar:{close:"বন্ধ করুন",toggle:"টগল করুন"},selectMenu:{create:'"{label}" তৈরি করুন',noData:"কোন তথ্য নেই",noMatch:"কোন মিল পাওয়া যায়নি",search:"অনুসন্ধান করুন…"},slideover:{close:"বন্ধ করুন"},table:{noData:"কোন তথ্য নেই"},toast:{close:"বন্ধ করুন"}}}),uj=ve({name:"Català",code:"ca",messages:{alert:{close:"Tancar"},authForm:{hidePassword:"Amagar contrasenya",showPassword:"Mostrar contrasenya",submit:"Continuar"},banner:{close:"Tancar"},calendar:{nextMonth:"Mes següent",nextYear:"Any següent",prevMonth:"Mes anterior",prevYear:"Any anterior"},carousel:{dots:"Tria la diapositiva a mostrar",goto:"Anar a la diapositiva {slide}",next:"Següent",prev:"Anterior"},chatPrompt:{placeholder:"Escriu el teu missatge aquí…"},chatPromptSubmit:{label:"Enviar"},chatReasoning:{thinking:"Pensant…",thought:"Ha pensat",thoughtFor:"Ha pensat durant {duration}"},colorMode:{dark:"Fosc",light:"Clar",switchToDark:"Canviar a mode fosc",switchToLight:"Canviar a mode clar",system:"Sistema"},commandPalette:{back:"Enrere",close:"Tancar",noData:"Sense dades",noMatch:"No hi ha dades coincidents",placeholder:"Escriu una ordre o cerca…"},contentSearch:{links:"Enllaços",theme:"Tema"},contentSearchButton:{label:"Cercar…"},contentToc:{title:"En aquesta pàgina"},dropdownMenu:{noMatch:"No hi ha dades coincidents",search:"Cerca…"},dashboardSearch:{theme:"Tema"},dashboardSearchButton:{label:"Cercar…"},dashboardSidebarCollapse:{collapse:"Contraure barra lateral",expand:"Expandir barra lateral"},dashboardSidebarToggle:{close:"Tancar barra lateral",open:"Obrir barra lateral"},error:{clear:"Tornar a l'inici"},fileUpload:{removeFile:"Eliminar {filename}"},header:{close:"Tancar menú",open:"Obrir menú"},inputMenu:{create:'Crear "{label}"',noData:"Sense dades",noMatch:"No hi ha dades coincidents"},inputNumber:{decrement:"Decrementar",increment:"Incrementar"},modal:{close:"Tancar"},pricingTable:{caption:"Comparació de plans de preu"},prose:{codeCollapse:{closeText:"Replega",name:"codi",openText:"Desplega"},collapsible:{closeText:"Amaga",name:"propietats",openText:"Mostra"},pre:{copy:"Copiar codi al portapapers"}},sidebar:{close:"Tancar",toggle:"Canviar"},selectMenu:{create:'Crear "{label}"',noData:"Sense dades",noMatch:"No hi ha dades coincidents",search:"Cerca…"},slideover:{close:"Tancar"},table:{noData:"Sense dades"},toast:{close:"Tancar"}}}),rj=ve({name:"کوردی",code:"ckb",dir:"rtl",messages:{alert:{close:"داخستن"},authForm:{hidePassword:"شاردنەوەی تێپەڕەوشە",showPassword:"پیشاندانی تێپەڕەوشە",submit:"بەردەوام بە"},banner:{close:"داخستن"},calendar:{nextMonth:"مانگی داهاتوو",nextYear:"ساڵی داهاتوو",prevMonth:"مانگی پێشوو",prevYear:"ساڵی پێشوو"},carousel:{dots:"سلایدێک هەڵبژێرە بۆ پیشاندان",goto:"بڕۆ بۆ سلایدی {slide}",next:"دواتر",prev:"پێشتر"},chatPrompt:{placeholder:"نامەکەت لێرە بنوسە..."},chatPromptSubmit:{label:"ناردن"},chatReasoning:{thinking:"بیرکردنەوە…",thought:"بیری کردەوە",thoughtFor:"بە ماوەی {duration} بیری کردەوە"},colorMode:{dark:"تاریک",light:"ڕووناک",switchToDark:"گۆڕین بۆ دۆخی تاریک",switchToLight:"گۆڕین بۆ دۆخی ڕووناک",system:"سیستەم"},commandPalette:{back:"گەڕانەوە",close:"داخستن",noData:"هیچ داتایەک نییە",noMatch:"هیچ ئەنجامێک نەدۆزرایەوە",placeholder:"فەرمانێک بنووسە یان بگەڕێ…"},contentSearch:{links:"بەستەرەکان",theme:"ڕووکار"},contentSearchButton:{label:"گەڕان…"},contentToc:{title:"لەم پەڕەیەدا"},dropdownMenu:{noMatch:"هیچ ئەنجامێک نەدۆزرایەوە",search:"گەڕان…"},dashboardSearch:{theme:"ڕووکار"},dashboardSearchButton:{label:"گەڕان…"},dashboardSidebarCollapse:{collapse:"داخستنی لای تەنیشت",expand:"فراوانکردنی لای تەنیشت"},dashboardSidebarToggle:{close:"داخستنی لاتەنیشت",open:"کردنەوەی لاتەنیشت"},error:{clear:"گەڕانەوە بۆ سەرەتا"},fileUpload:{removeFile:"{filename} بسڕەوە"},header:{close:"داخستنی پێڕست",open:"کردنەوەی پێڕست"},inputMenu:{create:'"{label}" زیادکردنی',noData:"هیچ داتایەک نییە",noMatch:"هیچ ئەنجامێک نەدۆزرایەوە"},inputNumber:{decrement:"کەمکردنەوە",increment:"زیادکردن"},modal:{close:"داخستن"},pricingTable:{caption:"بەراورکردنی پلانی نرخدانان"},prose:{codeCollapse:{closeText:"داخستن",name:"کۆد",openText:"فراوانکردن"},collapsible:{closeText:"شاردنەوە",name:"تایبەتمەندییەکان",openText:"پیشاندان"},pre:{copy:"لەبەرگرتنەوەی کۆد"}},sidebar:{close:"داخستن",toggle:"گۆڕین"},selectMenu:{create:'"{label}" زیادکردنی',noData:"هیچ داتایەک نییە",noMatch:"هیچ ئەنجامێک نەدۆزرایەوە",search:"گەڕان…"},slideover:{close:"داخستن"},table:{noData:"هیچ داتایەک نییە"},toast:{close:"داخستن"}}}),aj=ve({name:"Čeština",code:"cs",messages:{alert:{close:"Zavřít"},authForm:{hidePassword:"Skrýt heslo",showPassword:"Zobrazit heslo",submit:"Pokračovat"},banner:{close:"Zavřít"},calendar:{nextMonth:"Další měsíc",nextYear:"Další rok",prevMonth:"Předchozí měsíc",prevYear:"Předchozí rok"},carousel:{dots:"Vyberte snímek k zobrazení",goto:"Přejít na {slide}",next:"Další",prev:"Předchozí"},chatPrompt:{placeholder:"Zde napište svůj text…"},chatPromptSubmit:{label:"Odeslat"},chatReasoning:{thinking:"Přemýšlí…",thought:"Přemýšlel",thoughtFor:"Přemýšlel {duration}"},colorMode:{dark:"Tmavý",light:"Světlý",switchToDark:"Přepnout na tmavý režim",switchToLight:"Přepnout na světlý režim",system:"Systémový"},commandPalette:{back:"Zpět",close:"Zavřít",noData:"Žádná data",noMatch:"Žádná shoda",placeholder:"Zadejte příkaz nebo hledejte…"},contentSearch:{links:"Odkazy",theme:"Barevný režim"},contentSearchButton:{label:"Hledat…"},contentToc:{title:"Na této stránce"},dropdownMenu:{noMatch:"Žádná shoda",search:"Hledat…"},dashboardSearch:{theme:"Barevný režim"},dashboardSearchButton:{label:"Hledat…"},dashboardSidebarCollapse:{collapse:"Sbalit postranní panel",expand:"Rozbalit postranní panel"},dashboardSidebarToggle:{close:"Zavřít postranní panel",open:"Otevřít postranní panel"},error:{clear:"Zpět na úvod"},fileUpload:{removeFile:"Odebrat {filename}"},header:{close:"Zavřít menu",open:"Otevřít menu"},inputMenu:{create:'Vytvořit "{label}"',noData:"Žádná data",noMatch:"Žádná shoda"},inputNumber:{decrement:"Snížit",increment:"Zvýšit"},modal:{close:"Zavřít"},pricingTable:{caption:"Porovnání cenových plánů"},prose:{codeCollapse:{closeText:"Sbalit",name:"kód",openText:"Rozbalit"},collapsible:{closeText:"Skrýt",name:"vlastnosti",openText:"Zobrazit"},pre:{copy:"Kopírovat kód do schránky"}},sidebar:{close:"Zavřít",toggle:"Přepnout"},selectMenu:{create:'Vytvořit "{label}"',noData:"Žádná data",noMatch:"Žádná shoda",search:"Hledat…"},slideover:{close:"Zavřít"},table:{noData:"Žádná data"},toast:{close:"Zavřít"}}}),sj=ve({name:"Danish",code:"da",messages:{alert:{close:"Luk"},authForm:{hidePassword:"Skjul adgangskode",showPassword:"Vis adgangskode",submit:"Fortsæt"},banner:{close:"Luk"},calendar:{nextMonth:"Næste måned",nextYear:"Næste år",prevMonth:"Forrige måned",prevYear:"Forrige år"},carousel:{dots:"Vælg dias til visning",goto:"Gå til slide {slide}",next:"Næste",prev:"Forrige"},chatPrompt:{placeholder:"Skriv din besked her…"},chatPromptSubmit:{label:"Send"},chatReasoning:{thinking:"Tænker…",thought:"Tænkte",thoughtFor:"Tænkte i {duration}"},colorMode:{dark:"Mørk",light:"Lys",switchToDark:"Skift til mørk tilstand",switchToLight:"Skift til lys tilstand",system:"System"},commandPalette:{back:"Tilbage",close:"Luk",noData:"Ingen data",noMatch:"Ingen matchende data",placeholder:"Skriv en kommando eller søg…"},contentSearch:{links:"Links",theme:"Tema"},contentSearchButton:{label:"Søg…"},contentToc:{title:"På denne side"},dropdownMenu:{noMatch:"Ingen matchende data",search:"Søg…"},dashboardSearch:{theme:"Tema"},dashboardSearchButton:{label:"Søg…"},dashboardSidebarCollapse:{collapse:"Sammenfold sidemenu",expand:"Udvid sidemenu"},dashboardSidebarToggle:{close:"Luk sidemenu",open:"Åbn sidemenu"},error:{clear:"Tilbage til forsiden"},fileUpload:{removeFile:"Fjern {filename}"},header:{close:"Luk menu",open:"Åbn menu"},inputMenu:{create:'Opret "{label}"',noData:"Ingen data",noMatch:"Ingen matchende data"},inputNumber:{decrement:"Reducer",increment:"Øg"},modal:{close:"Luk"},pricingTable:{caption:"Prisplaneringssammenligning"},prose:{codeCollapse:{closeText:"Sammenfold",name:"kode",openText:"Udvid"},collapsible:{closeText:"Skjul",name:"egenskaber",openText:"Vis"},pre:{copy:"Kopiér kode til udklipsholder"}},sidebar:{close:"Luk",toggle:"Skift"},selectMenu:{create:'Opret "{label}"',noData:"Ingen data",noMatch:"Ingen matchende data",search:"Søg…"},slideover:{close:"Luk"},table:{noData:"Ingen data"},toast:{close:"Luk"}}}),ij=ve({name:"Deutsch",code:"de",messages:{alert:{close:"Schließen"},authForm:{hidePassword:"Passwort verbergen",showPassword:"Passwort anzeigen",submit:"Weiter"},banner:{close:"Schließen"},calendar:{nextMonth:"Nächster Monat",nextYear:"Nächstes Jahr",prevMonth:"Vorheriger Monat",prevYear:"Vorheriges Jahr"},carousel:{dots:"Folie zur Anzeige auswählen",goto:"Gehe zu {slide}",next:"Weiter",prev:"Zurück"},chatPrompt:{placeholder:"Hier schreiben Sie Ihre Nachricht…"},chatPromptSubmit:{label:"Senden"},chatReasoning:{thinking:"Denkt nach…",thought:"Nachgedacht",thoughtFor:"{duration} nachgedacht"},colorMode:{dark:"Dunkel",light:"Hell",switchToDark:"Zum dunklen Modus wechseln",switchToLight:"Zum hellen Modus wechseln",system:"System"},commandPalette:{back:"Zurück",close:"Schließen",noData:"Keine Daten",noMatch:"Nichts gefunden",placeholder:"Geben Sie einen Befehl ein oder suchen Sie…"},contentSearch:{links:"Links",theme:"Thema"},contentSearchButton:{label:"Suchen…"},contentToc:{title:"Auf dieser Seite"},dropdownMenu:{noMatch:"Nichts gefunden",search:"Suchen…"},dashboardSearch:{theme:"Thema"},dashboardSearchButton:{label:"Suchen…"},dashboardSidebarCollapse:{collapse:"Seitenleiste einklappen",expand:"Seitenleiste erweitern"},dashboardSidebarToggle:{close:"Seitenleiste schließen",open:"Seitenleiste öffnen"},error:{clear:"Zurück zur Startseite"},fileUpload:{removeFile:"{filename} entfernen"},header:{close:"Menü schließen",open:"Menü öffnen"},inputMenu:{create:'"{label}" erstellen',noData:"Keine Daten",noMatch:"Nichts gefunden"},inputNumber:{decrement:"Verringern",increment:"Erhöhen"},modal:{close:"Schließen"},pricingTable:{caption:"Preisplanvergleich"},prose:{codeCollapse:{closeText:"Reduzieren",name:"Code",openText:"Erweitern"},collapsible:{closeText:"Ausblenden",name:"Eigenschaften",openText:"Anzeigen"},pre:{copy:"Code in die Zwischenablage kopieren"}},sidebar:{close:"Schließen",toggle:"Umschalten"},selectMenu:{create:'"{label}" erstellen',noData:"Keine Daten",noMatch:"Nichts gefunden",search:"Suchen…"},slideover:{close:"Schließen"},table:{noData:"Keine Daten"},toast:{close:"Schließen"}}}),lj=ve({name:"Schweizerdeutsch",code:"de-CH",messages:{alert:{close:"Schliessen"},authForm:{hidePassword:"Passwort verbergen",showPassword:"Passwort anzeigen",submit:"Weiter"},banner:{close:"Schliessen"},calendar:{nextMonth:"Nächster Monat",nextYear:"Nächstes Jahr",prevMonth:"Vorheriger Monat",prevYear:"Vorheriges Jahr"},carousel:{dots:"Folie zur Anzeige auswählen",goto:"Gehe zu {slide}",next:"Weiter",prev:"Zurück"},chatPrompt:{placeholder:"Hier schreiben Sie Ihre Nachricht…"},chatPromptSubmit:{label:"Senden"},chatReasoning:{thinking:"Denkt nach…",thought:"Nachgedacht",thoughtFor:"{duration} nachgedacht"},colorMode:{dark:"Dunkel",light:"Hell",switchToDark:"Zum dunklen Modus wechseln",switchToLight:"Zum hellen Modus wechseln",system:"System"},commandPalette:{back:"Zurück",close:"Schliessen",noData:"Keine Daten",noMatch:"Nichts gefunden",placeholder:"Geben Sie einen Befehl ein oder suchen Sie…"},contentSearch:{links:"Links",theme:"Thema"},contentSearchButton:{label:"Suchen…"},contentToc:{title:"Auf dieser Seite"},dropdownMenu:{noMatch:"Nichts gefunden",search:"Suchen…"},dashboardSearch:{theme:"Thema"},dashboardSearchButton:{label:"Suchen…"},dashboardSidebarCollapse:{collapse:"Seitenleiste einklappen",expand:"Seitenleiste erweitern"},dashboardSidebarToggle:{close:"Seitenleiste schliessen",open:"Seitenleiste öffnen"},error:{clear:"Zurück zur Startseite"},fileUpload:{removeFile:"{filename} entfernen"},header:{close:"Menü schliessen",open:"Menü öffnen"},inputMenu:{create:'"{label}" erstellen',noData:"Keine Daten",noMatch:"Nichts gefunden"},inputNumber:{decrement:"Verringern",increment:"Erhöhen"},modal:{close:"Schliessen"},pricingTable:{caption:"Preisplanvergleich"},prose:{codeCollapse:{closeText:"Reduzieren",name:"Code",openText:"Erweitern"},collapsible:{closeText:"Ausblenden",name:"Eigenschaften",openText:"Anzeigen"},pre:{copy:"Code in die Zwischenablage kopieren"}},sidebar:{close:"Schliessen",toggle:"Umschalten"},selectMenu:{create:'"{label}" erstellen',noData:"Keine Daten",noMatch:"Nichts gefunden",search:"Suchen…"},slideover:{close:"Schliessen"},table:{noData:"Keine Daten"},toast:{close:"Schliessen"}}}),cj=ve({name:"Ελληνικά",code:"el",messages:{alert:{close:"Κλείσιμο"},authForm:{hidePassword:"Απόκρυψη κωδικού",showPassword:"Εμφάνιση κωδικού",submit:"Συνέχεια"},banner:{close:"Κλείσιμο"},calendar:{nextMonth:"Επόμενος μήνας",nextYear:"Επόμενο έτος",prevMonth:"Προηγούμενος μήνας",prevYear:"Προηγούμενο έτος"},carousel:{dots:"Επιλέξτε διαφάνεια για εμφάνιση",goto:"Μετάβαση στη διαφάνεια {slide}",next:"Επόμενο",prev:"Προηγούμενο"},chatPrompt:{placeholder:"Εδώ γράψτε το μήνυμά σας…"},chatPromptSubmit:{label:"Αποστολή"},chatReasoning:{thinking:"Σκέφτεται…",thought:"Σκέφτηκε",thoughtFor:"Σκέφτηκε για {duration}"},colorMode:{dark:"Σκοτεινό",light:"Φωτεινό",switchToDark:"Αλλαγή σε σκοτεινή λειτουργία",switchToLight:"Αλλαγή σε φωτεινή λειτουργία",system:"Σύστημα"},commandPalette:{back:"Πίσω",close:"Κλείσιμο",noData:"Δεν υπάρχουν δεδομένα",noMatch:"Δεν βρέθηκαν δεδομένα",placeholder:"Πληκτρολογήστε μια εντολή ή αναζητήστε…"},contentSearch:{links:"Σύνδεσμοι",theme:"Θέμα"},contentSearchButton:{label:"Αναζήτηση…"},contentToc:{title:"Σε αυτή τη σελίδα"},dropdownMenu:{noMatch:"Δεν βρέθηκαν δεδομένα",search:"Αναζήτηση…"},dashboardSearch:{theme:"Θέμα"},dashboardSearchButton:{label:"Αναζήτηση…"},dashboardSidebarCollapse:{collapse:"Σύμπτυξη πλευρικής μπάρας",expand:"Επέκταση πλευρικής μπάρας"},dashboardSidebarToggle:{close:"Κλείσιμο πλευρικής μπάρας",open:"Άνοιγμα πλευρικής μπάρας"},error:{clear:"Επιστροφή στην αρχική"},fileUpload:{removeFile:"Αφαίρεση {filename}"},header:{close:"Κλείσιμο μενού",open:"Άνοιγμα μενού"},inputMenu:{create:'Δημιουργία "{label}"',noData:"Δεν υπάρχουν δεδομένα",noMatch:"Δεν βρέθηκαν δεδομένα"},inputNumber:{decrement:"Μείωση",increment:"Αύξηση"},modal:{close:"Κλείσιμο"},pricingTable:{caption:"Σύγκριση προγραμμάτων τιμολόγησης"},prose:{codeCollapse:{closeText:"Σύμπτυξη",name:"κώδικας",openText:"Επέκταση"},collapsible:{closeText:"Απόκρυψη",name:"ιδιότητες",openText:"Εμφάνιση"},pre:{copy:"Αντιγραφή κώδικα στο πρόχειρο"}},sidebar:{close:"Κλείσιμο",toggle:"Εναλλαγή"},selectMenu:{create:'Δημιουργία "{label}"',noData:"Δεν υπάρχουν δεδομένα",noMatch:"Δεν βρέθηκαν δεδομένα",search:"Αναζήτηση…"},slideover:{close:"Κλείσιμο"},table:{noData:"Δεν υπάρχουν δεδομένα"},toast:{close:"Κλείσιμο"}}}),dj=ve({name:"English (United Kingdom)",code:"en-GB",messages:pr.messages}),fj=ve({name:"Español",code:"es",messages:{alert:{close:"Cerrar"},authForm:{hidePassword:"Ocultar contraseña",showPassword:"Mostrar contraseña",submit:"Continuar"},banner:{close:"Cerrar"},calendar:{nextMonth:"Mes siguiente",nextYear:"Año siguiente",prevMonth:"Mes anterior",prevYear:"Año anterior"},carousel:{dots:"Elegir diapositiva a mostrar",goto:"Ir a la diapositiva {slide}",next:"Siguiente",prev:"Anterior"},chatPrompt:{placeholder:"Escribe tu mensaje aquí…"},chatPromptSubmit:{label:"Enviar"},chatReasoning:{thinking:"Pensando…",thought:"Pensó",thoughtFor:"Pensó durante {duration}"},colorMode:{dark:"Oscuro",light:"Claro",switchToDark:"Cambiar a modo oscuro",switchToLight:"Cambiar a modo claro",system:"Sistema"},commandPalette:{back:"Atrás",close:"Cerrar",noData:"Sin datos",noMatch:"No hay datos coincidentes",placeholder:"Escribe un comando o busca…"},contentSearch:{links:"Enlaces",theme:"Tema"},contentSearchButton:{label:"Buscar…"},contentToc:{title:"En esta página"},dropdownMenu:{noMatch:"No hay datos coincidentes",search:"Buscar…"},dashboardSearch:{theme:"Tema"},dashboardSearchButton:{label:"Buscar…"},dashboardSidebarCollapse:{collapse:"Colapsar barra lateral",expand:"Expandir barra lateral"},dashboardSidebarToggle:{close:"Cerrar barra lateral",open:"Abrir barra lateral"},error:{clear:"Volver al inicio"},fileUpload:{removeFile:"Eliminar {filename}"},header:{close:"Cerrar menú",open:"Abrir menú"},inputMenu:{create:'Crear "{label}"',noData:"Sin datos",noMatch:"No hay datos coincidentes"},inputNumber:{decrement:"Decrementar",increment:"Incrementar"},modal:{close:"Cerrar"},pricingTable:{caption:"Comparación de planes de precios"},prose:{codeCollapse:{closeText:"Colapsar",name:"código",openText:"Expandir"},collapsible:{closeText:"Ocultar",name:"propiedades",openText:"Mostrar"},pre:{copy:"Copiar código al portapapeles"}},sidebar:{close:"Cerrar",toggle:"Alternar"},selectMenu:{create:'Crear "{label}"',noData:"Sin datos",noMatch:"No hay datos coincidentes",search:"Buscar…"},slideover:{close:"Cerrar"},table:{noData:"Sin datos"},toast:{close:"Cerrar"}}}),pj=ve({name:"Eesti",code:"et",messages:{alert:{close:"Sulge"},authForm:{hidePassword:"Peida parool",showPassword:"Näita parooli",submit:"Jätka"},banner:{close:"Sulge"},calendar:{nextMonth:"Järgmine kuu",nextYear:"Järgmine aasta",prevMonth:"Eelmine kuu",prevYear:"Eelmine aasta"},carousel:{dots:"Valige kuvatav slaid",goto:"Mine slaidile {slide}",next:"Järg",prev:"Eel"},chatPrompt:{placeholder:"Siia kirjutage oma sõnum…"},chatPromptSubmit:{label:"Saada"},chatReasoning:{thinking:"Mõtleb…",thought:"Mõtles",thoughtFor:"Mõtles {duration}"},colorMode:{dark:"Tume",light:"Hele",switchToDark:"Lülitu tumedasse režiimi",switchToLight:"Lülitu heledasse režiimi",system:"Süsteem"},commandPalette:{back:"Tagasi",close:"Sulge",noData:"Pole andmeid",noMatch:"Pole vastavaid andmeid",placeholder:"Sisesta käsk või otsi…"},contentSearch:{links:"Lingid",theme:"Teema"},contentSearchButton:{label:"Otsi…"},contentToc:{title:"Sellel lehel"},dropdownMenu:{noMatch:"Pole vastavaid andmeid",search:"Otsi…"},dashboardSearch:{theme:"Teema"},dashboardSearchButton:{label:"Otsi…"},dashboardSidebarCollapse:{collapse:"Ahenda külgriba",expand:"Laienda külgriba"},dashboardSidebarToggle:{close:"Sulge külgriba",open:"Ava külgriba"},error:{clear:"Tagasi avalehele"},fileUpload:{removeFile:"Eemalda {filename}"},header:{close:"Sulge menüü",open:"Ava menüü"},inputMenu:{create:'Loo "{label}"',noData:"Pole andmeid",noMatch:"Pole vastavaid andmeid"},inputNumber:{decrement:"Vähenda",increment:"Suurenda"},modal:{close:"Sulge"},pricingTable:{caption:"Hinna plaanide võrdlus"},prose:{codeCollapse:{closeText:"Ahenda",name:"kood",openText:"Laienda"},collapsible:{closeText:"Peida",name:"omadused",openText:"Näita"},pre:{copy:"Kopeeri kood lõikelauale"}},sidebar:{close:"Sulge",toggle:"Lülita"},selectMenu:{create:'Loo "{label}"',noData:"Pole andmeid",noMatch:"Pole vastavaid andmeid",search:"Otsi…"},slideover:{close:"Sulge"},table:{noData:"Pole andmeid"},toast:{close:"Sulge"}}}),hj=ve({name:"Euskera",code:"eu",messages:{alert:{close:"Itxi"},authForm:{hidePassword:"Pasahitza ezkutatu",showPassword:"Pasahitza erakutsi",submit:"Jarraitu"},banner:{close:"Itxi"},calendar:{nextMonth:"Hurrengo hilabetea",nextYear:"Hurrengo urtea",prevMonth:"Aurretiko hilabetea",prevYear:"Aurretiko urtea"},carousel:{dots:"Erakutsi beharreko diapositiba aukeratu",goto:"Joan diapositibara {slide}",next:"Hurrengoa",prev:"Aurretikoa"},chatPrompt:{placeholder:"Idatzi zure mezua hemen..."},chatPromptSubmit:{label:"Bidali"},chatReasoning:{thinking:"Pentsatzen…",thought:"Pentsatu du",thoughtFor:"{duration} pentsatzen"},colorMode:{dark:"Iluna",light:"Argia",switchToDark:"Aldatu ilunera",switchToLight:"Aldatu argira",system:"Sistema"},commandPalette:{back:"Atzera",close:"Itxi",noData:"Daturik gabe",noMatch:"Ez da datu bat ere aurkitu",placeholder:"Idatzi komando bat edo bilatu..."},contentSearch:{links:"Estekak",theme:"Gaia"},contentSearchButton:{label:"Bilatu…"},contentToc:{title:"Orri honetan"},dropdownMenu:{noMatch:"Ez da datu bat ere aurkitu",search:"Bilatu…"},dashboardSearch:{theme:"Gaia"},dashboardSearchButton:{label:"Bilatu…"},dashboardSidebarCollapse:{collapse:"Alboko barra itxi",expand:"Alboko barra zabaldu"},dashboardSidebarToggle:{close:"Alboko barra itxi",open:"Alboko barra zabaldu"},error:{clear:"Hasierara itzuli"},fileUpload:{removeFile:"Ezabatu {filename}"},header:{close:"Menua itxi",open:"Menua zabaldu"},inputMenu:{create:"Sortu {label}",noData:"Daturik gabe",noMatch:"Ez da datu bat ere aurkitu"},inputNumber:{decrement:"Murriztu",increment:"Handitu"},modal:{close:"Itxi"},pricingTable:{caption:"Prezio-plana alderatzea"},prose:{codeCollapse:{closeText:"Murriztu",name:"kodea",openText:"Zabaldu"},collapsible:{closeText:"Ezkutatu",name:"propietateak",openText:"Erakutsi"},pre:{copy:"Kopiatu kodea clipboard-era"}},sidebar:{close:"Itxi",toggle:"Txandakatu"},selectMenu:{create:"Sortu {label}",noData:"Daturik gabe",noMatch:"Ez da datu bat ere aurkitu",search:"Bilatu…"},slideover:{close:"Itxi"},table:{noData:"Daturik gabe"},toast:{close:"Itxi"}}}),mj=ve({name:"فارسی",code:"fa-IR",dir:"rtl",messages:{alert:{close:"بستن"},authForm:{hidePassword:"پنهان کردن رمز عبور",showPassword:"نمایش رمز عبور",submit:"ادامه"},banner:{close:"بستن"},calendar:{nextMonth:"ماه آینده",nextYear:"سال آینده",prevMonth:"ماه گذشته",prevYear:"سال گذشته"},carousel:{dots:"اسلاید مورد نظر برای نمایش را انتخاب کنید",goto:"رفتن به اسلاید {slide}",next:"بعدی",prev:"قبلی"},chatPrompt:{placeholder:"اینجا پیام خود را بنویسید…"},chatPromptSubmit:{label:"ارسال"},chatReasoning:{thinking:"در حال فکر کردن…",thought:"فکر کرد",thoughtFor:"به مدت {duration} فکر کرد"},colorMode:{dark:"تیره",light:"روشن",switchToDark:"تغییر به حالت تیره",switchToLight:"تغییر به حالت روشن",system:"سیستم"},commandPalette:{back:"بازگشت",close:"بستن",noData:"داده‌ای موجود نیست",noMatch:"داده‌ای یافت نشد",placeholder:"یک دستور وارد کنید یا جستجو کنید…"},contentSearch:{links:"پیوندها",theme:"تم"},contentSearchButton:{label:"جستجو…"},contentToc:{title:"در این صفحه"},dropdownMenu:{noMatch:"داده‌ای یافت نشد",search:"جستجو…"},dashboardSearch:{theme:"تم"},dashboardSearchButton:{label:"جستجو…"},dashboardSidebarCollapse:{collapse:"جمع کردن نوار کناری",expand:"گسترش نوار کناری"},dashboardSidebarToggle:{close:"بستن نوار کناری",open:"باز کردن نوار کناری"},error:{clear:"بازگشت به صفحه اصلی"},fileUpload:{removeFile:"حذف {filename}"},header:{close:"بستن منو",open:"باز کردن منو"},inputMenu:{create:'ایجاد "{label}"',noData:"داده‌ای موجود نیست",noMatch:"داده‌ای یافت نشد"},inputNumber:{decrement:"کاهش",increment:"افزایش"},modal:{close:"بستن"},pricingTable:{caption:"مقایسه طرح قیمت"},prose:{codeCollapse:{closeText:"جمع کردن",name:"کد",openText:"گسترش"},collapsible:{closeText:"پنهان",name:"ویژگی‌ها",openText:"نمایش"},pre:{copy:"کپی کد در کلیپ‌بورد"}},sidebar:{close:"بستن",toggle:"تغییر وضعیت"},selectMenu:{create:'ایجاد "{label}"',noData:"داده‌ای موجود نیست",noMatch:"داده‌ای یافت نشد",search:"جستجو…"},slideover:{close:"بستن"},table:{noData:"داده‌ای موجود نیست"},toast:{close:"بستن"}}}),gj=ve({name:"Suomeksi",code:"fi",messages:{alert:{close:"Sulje"},authForm:{hidePassword:"Piilota salasana",showPassword:"Näytä salasana",submit:"Jatka"},banner:{close:"Sulje"},calendar:{nextMonth:"Seuraava kuukausi",nextYear:"Seuraava vuosi",prevMonth:"Edellinen kuukausi",prevYear:"Edellinen vuosi"},carousel:{dots:"Valitse näytettävä dia",goto:"Siirry sivulle {slide}",next:"Seuraava",prev:"Edellinen"},chatPrompt:{placeholder:"Kirjoita viestisi tähän…"},chatPromptSubmit:{label:"Lähetä"},chatReasoning:{thinking:"Ajattelee…",thought:"Ajatteli",thoughtFor:"Ajatteli {duration}"},colorMode:{dark:"Tumma",light:"Vaalea",switchToDark:"Vaihda tummaan tilaan",switchToLight:"Vaihda vaaleaan tilaan",system:"Järjestelmä"},commandPalette:{back:"Takaisin",close:"Sulje",noData:"Ei tietoja",noMatch:"Ei vastaavia tietoja",placeholder:"Kirjoita komento tai hae…"},contentSearch:{links:"Linkit",theme:"Teema"},contentSearchButton:{label:"Hae…"},contentToc:{title:"Tällä sivulla"},dropdownMenu:{noMatch:"Ei vastaavia tietoja",search:"Hae…"},dashboardSearch:{theme:"Teema"},dashboardSearchButton:{label:"Hae…"},dashboardSidebarCollapse:{collapse:"Supista sivupalkki",expand:"Laajenna sivupalkki"},dashboardSidebarToggle:{close:"Sulje sivupalkki",open:"Avaa sivupalkki"},error:{clear:"Takaisin etusivulle"},fileUpload:{removeFile:"Poista {filename}"},header:{close:"Sulje valikko",open:"Avaa valikko"},inputMenu:{create:'Luo "{label}"',noData:"Ei tietoja",noMatch:"Ei vastaavia tietoja"},inputNumber:{decrement:"Vähennä",increment:"Kasvata"},modal:{close:"Sulje"},pricingTable:{caption:"Hinnoitellut suunnitelmat"},prose:{codeCollapse:{closeText:"Supista",name:"koodi",openText:"Laajenna"},collapsible:{closeText:"Piilota",name:"ominaisuudet",openText:"Näytä"},pre:{copy:"Kopioi koodi leikepöydälle"}},sidebar:{close:"Sulje",toggle:"Vaihda"},selectMenu:{create:'Luo "{label}"',noData:"Ei tietoja",noMatch:"Ei vastaavia tietoja",search:"Hae…"},slideover:{close:"Sulje"},table:{noData:"Ei tietoja"},toast:{close:"Sulje"}}}),vj=ve({name:"Français",code:"fr",messages:{alert:{close:"Fermer"},authForm:{hidePassword:"Masquer le mot de passe",showPassword:"Afficher le mot de passe",submit:"Continuer"},banner:{close:"Fermer"},calendar:{nextMonth:"Mois suivant",nextYear:"Année suivante",prevMonth:"Mois précédent",prevYear:"Année précédente"},carousel:{dots:"Choisir la diapositive à afficher",goto:"Aller à {slide}",next:"Suivant",prev:"Précédent"},chatPrompt:{placeholder:"Écrivez votre message ici…"},chatPromptSubmit:{label:"Envoyer"},chatReasoning:{thinking:"Réflexion en cours…",thought:"Réflexion",thoughtFor:"Réflexion pendant {duration}"},colorMode:{dark:"Sombre",light:"Clair",switchToDark:"Passer en mode sombre",switchToLight:"Passer en mode clair",system:"Système"},commandPalette:{back:"Retour",close:"Fermer",noData:"Aucune donnée",noMatch:"Aucune donnée correspondante",placeholder:"Tapez une commande ou recherchez…"},contentSearch:{links:"Liens",theme:"Thème"},contentSearchButton:{label:"Rechercher…"},contentToc:{title:"Sur cette page"},dropdownMenu:{noMatch:"Aucune donnée correspondante",search:"Rechercher…"},dashboardSearch:{theme:"Thème"},dashboardSearchButton:{label:"Rechercher…"},dashboardSidebarCollapse:{collapse:"Replier la barre latérale",expand:"Déployer la barre latérale"},dashboardSidebarToggle:{close:"Fermer la barre latérale",open:"Ouvrir la barre latérale"},error:{clear:"Retour à l'accueil"},fileUpload:{removeFile:"Supprimer {filename}"},header:{close:"Fermer le menu",open:"Ouvrir le menu"},inputMenu:{create:'Créer "{label}"',noData:"Aucune donnée",noMatch:"Aucune donnée correspondante"},inputNumber:{decrement:"Diminuer",increment:"Augmenter"},modal:{close:"Fermer"},pricingTable:{caption:"Comparaison des plans de prix"},prose:{codeCollapse:{closeText:"Réduire",name:"code",openText:"Développer"},collapsible:{closeText:"Masquer",name:"propriétés",openText:"Afficher"},pre:{copy:"Copier le code dans le presse-papiers"}},sidebar:{close:"Fermer",toggle:"Basculer"},selectMenu:{create:'Créer "{label}"',noData:"Aucune donnée",noMatch:"Aucune donnée correspondante",search:"Rechercher…"},slideover:{close:"Fermer"},table:{noData:"Aucune donnée"},toast:{close:"Fermer"}}}),yj=ve({name:"Galego",code:"gl",messages:{alert:{close:"Pechar"},authForm:{hidePassword:"Ocultar contrasinal",showPassword:"Amosar contrasinal",submit:"Continuar"},banner:{close:"Pechar"},calendar:{nextMonth:"Mes seguinte",nextYear:"Ano seguinte",prevMonth:"Mes anterior",prevYear:"Ano anterior"},carousel:{dots:"Escoller diapositiva a amostrar",goto:"Ir á diapositiva {slide}",next:"Seguinte",prev:"Anterior"},chatPrompt:{placeholder:"Escribe a túa mensaxe aquí…"},chatPromptSubmit:{label:"Enviar"},chatReasoning:{thinking:"Pensando…",thought:"Pensou",thoughtFor:"Pensou durante {duration}"},colorMode:{dark:"Oscuro",light:"Claro",switchToDark:"Cambiar a modo oscuro",switchToLight:"Cambiar a modo claro",system:"Sistema"},commandPalette:{back:"Atrás",close:"Pechar",noData:"Sen datos",noMatch:"Non hai datos coincidentes",placeholder:"Escribe un comando ou busca…"},contentSearch:{links:"Ligazóns",theme:"Tema"},contentSearchButton:{label:"Buscar…"},contentToc:{title:"Nesta páxina"},dropdownMenu:{noMatch:"Non hai datos coincidentes",search:"Buscar…"},dashboardSearch:{theme:"Tema"},dashboardSearchButton:{label:"Buscar…"},dashboardSidebarCollapse:{collapse:"Contraer barra lateral",expand:"Despregar barra lateral"},dashboardSidebarToggle:{close:"Pechar barra lateral",open:"Abrir barra lateral"},error:{clear:"Volver ao inicio"},fileUpload:{removeFile:"Eliminar {filename}"},header:{close:"Pechar menú",open:"Abrir menú"},inputMenu:{create:'Crear "{label}"',noData:"Sen datos",noMatch:"Non hai datos coincidentes"},inputNumber:{decrement:"Diminuír",increment:"Aumentar"},modal:{close:"Pechar"},pricingTable:{caption:"Comparación de plans de prezos"},prose:{codeCollapse:{closeText:"Contraer",name:"código",openText:"Despregar"},collapsible:{closeText:"Ocultar",name:"propiedades",openText:"Amosar"},pre:{copy:"Copiar código ao portapapeis"}},sidebar:{close:"Pechar",toggle:"Alternar"},selectMenu:{create:'Crear "{label}"',noData:"Sen datos",noMatch:"Non hai datos coincidentes",search:"Buscar…"},slideover:{close:"Pechar"},table:{noData:"Sen datos"},toast:{close:"Pechar"}}}),bj=ve({name:"Hebrew",code:"he",dir:"rtl",messages:{alert:{close:"סגור"},authForm:{hidePassword:"הסתר סיסמה",showPassword:"הצג סיסמה",submit:"המשך"},banner:{close:"סגור"},calendar:{nextMonth:"חודש הבא",nextYear:"שנה הבאה",prevMonth:"חודש קודם",prevYear:"שנה קודמת"},carousel:{dots:"בחר שקופית להצגה",goto:"מעבר ל {slide}",next:"הבא",prev:"הקודם"},chatPrompt:{placeholder:"כתוב את ההודעה שלך כאן…"},chatPromptSubmit:{label:"שלח"},chatReasoning:{thinking:"חושב…",thought:"חשב",thoughtFor:"חשב במשך {duration}"},colorMode:{dark:"כהה",light:"בהיר",switchToDark:"עבור למצב כהה",switchToLight:"עבור למצב בהיר",system:"מערכת"},commandPalette:{back:"חזור",close:"סגור",noData:"אין נתונים זמינים",noMatch:"לא נמצאה התאמה",placeholder:"הקלד פקודה…"},contentSearch:{links:"קישורים",theme:"ערכת נושא"},contentSearchButton:{label:"חיפוש…"},contentToc:{title:"בדף זה"},dropdownMenu:{noMatch:"לא נמצאה התאמה",search:"חפש…"},dashboardSearch:{theme:"ערכת נושא"},dashboardSearchButton:{label:"חיפוש…"},dashboardSidebarCollapse:{collapse:"כווץ סרגל צד",expand:"הרחב סרגל צד"},dashboardSidebarToggle:{close:"סגור סרגל צד",open:"פתח סרגל צד"},error:{clear:"חזרה לדף הבית"},fileUpload:{removeFile:"הסר {filename}"},header:{close:"סגור תפריט",open:"פתח תפריט"},inputMenu:{create:'צור "{label}"',noData:"אין נתונים",noMatch:"אין התאמה"},inputNumber:{decrement:"הפחת",increment:"הוסף"},modal:{close:"סגור"},pricingTable:{caption:"שיפור מחירון"},prose:{codeCollapse:{closeText:"כווץ",name:"קוד",openText:"הרחב"},collapsible:{closeText:"הסתר",name:"מאפיינים",openText:"הצג"},pre:{copy:"העתק קוד ללוח"}},sidebar:{close:"סגור",toggle:"החלף"},selectMenu:{create:'צור "{label}"',noData:"אין נתונים",noMatch:"לא נמצאה התאמה",search:"חפש…"},slideover:{close:"סגור"},table:{noData:"אין נתונים להצגה"},toast:{close:"סגור"}}}),Ej=ve({name:"Hindi",code:"hi",messages:{alert:{close:"बंद करें"},authForm:{hidePassword:"पासवर्ड छिपाएं",showPassword:"पासवर्ड दिखाएं",submit:"जारी रखें"},banner:{close:"बंद करें"},calendar:{nextMonth:"अगला महीना",nextYear:"अगला वर्ष",prevMonth:"पिछला महीना",prevYear:"पिछला वर्ष"},carousel:{dots:"प्रदर्शित करने के लिए स्लाइड चुनें",goto:"स्लाइड {slide} पर जाएं",next:"अगला",prev:"पिछला"},chatPrompt:{placeholder:"यहाँ आपका संदेश लिखें…"},chatPromptSubmit:{label:"भेजें"},chatReasoning:{thinking:"सोच रहा है…",thought:"सोचा",thoughtFor:"{duration} सोचा"},colorMode:{dark:"गहरा",light:"हल्का",switchToDark:"गहरे मोड में बदलें",switchToLight:"हल्के मोड में बदलें",system:"सिस्टम"},commandPalette:{back:"वापस",close:"बंद करें",noData:"कोई डेटा नहीं",noMatch:"कोई मेल खाता डेटा नहीं",placeholder:"एक आदेश या खोज टाइप करें…"},contentSearch:{links:"लिंक्स",theme:"थीम"},contentSearchButton:{label:"खोजें…"},contentToc:{title:"इस पृष्ठ पर"},dropdownMenu:{noMatch:"कोई मेल खाता डेटा नहीं",search:"खोजें…"},dashboardSearch:{theme:"थीम"},dashboardSearchButton:{label:"खोजें…"},dashboardSidebarCollapse:{collapse:"साइडबार संकुचित करें",expand:"साइडबार विस्तारित करें"},dashboardSidebarToggle:{close:"साइडबार बंद करें",open:"साइडबार खोलें"},error:{clear:"होम पेज पर वापस जाएं"},fileUpload:{removeFile:"{filename} हटाएं"},header:{close:"मेनू बंद करें",open:"मेनू खोलें"},inputMenu:{create:'"{label}" बनाएँ',noData:"कोई डेटा नहीं",noMatch:"कोई मेल खाता डेटा नहीं"},inputNumber:{decrement:"घटाना",increment:"बढ़ाना"},modal:{close:"बंद करें"},pricingTable:{caption:"कीमत योजनाओं की तुलना"},prose:{codeCollapse:{closeText:"संकुचित करें",name:"कोड",openText:"विस्तार करें"},collapsible:{closeText:"छिपाएँ",name:"गुण",openText:"दिखाएँ"},pre:{copy:"कोड को क्लिपबोर्ड पर कॉपी करें"}},sidebar:{close:"बंद करें",toggle:"टॉगल करें"},selectMenu:{create:'"{label}" बनाएँ',noData:"कोई डेटा नहीं",noMatch:"कोई मेल खाता डेटा नहीं",search:"खोजें…"},slideover:{close:"बंद करें"},table:{noData:"कोई डेटा नहीं"},toast:{close:"बंद करें"}}}),Cj=ve({name:"Hrvatski",code:"hr",messages:{alert:{close:"Zatvori"},authForm:{hidePassword:"Sakrij lozinku",showPassword:"Prikaži lozinku",submit:"Nastavi"},banner:{close:"Zatvori"},calendar:{nextMonth:"Sljedeći mjesec",nextYear:"Sljedeća godina",prevMonth:"Prethodni mjesec",prevYear:"Prethodna godina"},carousel:{dots:"Odaberite slajd za prikaz",goto:"Idi na slajd {slide}",next:"Sljedeći",prev:"Prethodni"},chatPrompt:{placeholder:"Upišite svoju poruku ovdje…"},chatPromptSubmit:{label:"Pošalji upit"},chatReasoning:{thinking:"Razmišlja…",thought:"Razmislio",thoughtFor:"Razmišljao {duration}"},colorMode:{dark:"Tamno",light:"Svijetlo",switchToDark:"Prebaci na tamni način rada",switchToLight:"Prebaci na svijetli način rada",system:"Sustav"},commandPalette:{back:"Natrag",close:"Zatvori",noData:"Nema podataka",noMatch:"Nema odgovarajućih podataka",placeholder:"Upišite naredbu ili pretraživanje…"},contentSearch:{links:"Poveznice",theme:"Tema"},contentSearchButton:{label:"Pretraživanje…"},contentToc:{title:"Na ovoj stranici"},dropdownMenu:{noMatch:"Nema odgovarajućih podataka",search:"Pretraživanje…"},dashboardSearch:{theme:"Tema"},dashboardSearchButton:{label:"Pretraživanje…"},dashboardSidebarCollapse:{collapse:"Smanji bočnu traku",expand:"Proširi bočnu traku"},dashboardSidebarToggle:{close:"Zatvori bočnu traku",open:"Otvori bočnu traku"},error:{clear:"Natrag na početnu"},fileUpload:{removeFile:"Ukloni {filename}"},header:{close:"Zatvori izbornik",open:"Otvori izbornik"},inputMenu:{create:'Stvori "{label}"',noData:"Nema podataka",noMatch:"Nema odgovarajućih podataka"},inputNumber:{decrement:"Smanji",increment:"Povećaj"},modal:{close:"Zatvori"},pricingTable:{caption:"Usporedba cjenovnih planova"},prose:{codeCollapse:{closeText:"Smanji",name:"kod",openText:"Proširi"},collapsible:{closeText:"Sakrij",name:"svojstva",openText:"Prikaži"},pre:{copy:"Kopiraj kod u međuspremnik"}},sidebar:{close:"Zatvori",toggle:"Prebaci"},selectMenu:{create:'Stvori "{label}"',noData:"Nema podataka",noMatch:"Nema odgovarajućih podataka",search:"Pretraživanje…"},slideover:{close:"Zatvori"},table:{noData:"Nema podataka"},toast:{close:"Zatvori"}}}),xj=ve({name:"Magyar",code:"hu",messages:{alert:{close:"Bezárás"},authForm:{hidePassword:"Jelszó elrejtése",showPassword:"Jelszó megjelenítése",submit:"Folytatás"},banner:{close:"Bezárás"},calendar:{nextMonth:"Következő hónap",nextYear:"Következő év",prevMonth:"Előző hónap",prevYear:"Előző év"},carousel:{dots:"Válassza ki a megjelenítendő diát",goto:"Ugrás ide {slide}",next:"Következő",prev:"Előző"},chatPrompt:{placeholder:"Írd be a kérdésedet itt…"},chatPromptSubmit:{label:"Küldés"},chatReasoning:{thinking:"Gondolkodik…",thought:"Gondolkodott",thoughtFor:"{duration} gondolkodott"},colorMode:{dark:"Sötét",light:"Világos",switchToDark:"Váltás sötét módra",switchToLight:"Váltás világos módra",system:"Rendszer"},commandPalette:{back:"Vissza",close:"Bezárás",noData:"Nincs adat",noMatch:"Nincs találat",placeholder:"Írjon be egy parancsot vagy keressen…"},contentSearch:{links:"Linkek",theme:"Téma"},contentSearchButton:{label:"Keresés…"},contentToc:{title:"Ezen az oldalon"},dropdownMenu:{noMatch:"Nincs találat",search:"Keresés…"},dashboardSearch:{theme:"Téma"},dashboardSearchButton:{label:"Keresés…"},dashboardSidebarCollapse:{collapse:"Oldalsáv összecsukása",expand:"Oldalsáv kinyitása"},dashboardSidebarToggle:{close:"Oldalsáv bezárása",open:"Oldalsáv megnyitása"},error:{clear:"Vissza a főoldalra"},fileUpload:{removeFile:"{filename} eltávolítása"},header:{close:"Menü bezárása",open:"Menü megnyitása"},inputMenu:{create:'"{label}" létrehozása',noData:"Nincs adat",noMatch:"Nincs találat"},inputNumber:{decrement:"Csökkent",increment:"Növel"},modal:{close:"Bezárás"},pricingTable:{caption:"Árlista összehasonlítása"},prose:{codeCollapse:{closeText:"Összecsuk",name:"kód",openText:"Kinyit"},collapsible:{closeText:"Elrejt",name:"tulajdonságok",openText:"Mutat"},pre:{copy:"Kód másolása a vágólapra"}},sidebar:{close:"Bezárás",toggle:"Váltás"},selectMenu:{create:'"{label}" létrehozása',noData:"Nincs adat",noMatch:"Nincs találat",search:"Keresés…"},slideover:{close:"Bezárás"},table:{noData:"Nincs adat"},toast:{close:"Bezárás"}}}),Dj=ve({name:"Հայերեն",code:"hy",messages:{alert:{close:"Փակել"},authForm:{hidePassword:"Թաքցնել գաղտնաբառը",showPassword:"Ցույց տալ գաղտնաբառը",submit:"Շարունակել"},banner:{close:"Փակել"},calendar:{nextMonth:"Հաջորդ ամիս",nextYear:"Հաջորդ տարի",prevMonth:"Նախորդ ամիս",prevYear:"Նախորդ տարի"},carousel:{dots:"Ընտրեք ցուցադրելու սլայդը",goto:"Անցնել {slide}-ին",next:"Առաջ",prev:"Հետ"},chatPrompt:{placeholder:"Շարունակել"},chatPromptSubmit:{label:"Շարունակել"},chatReasoning:{thinking:"Մտածում է…",thought:"Մտածեց",thoughtFor:"Մտածեց {duration}"},colorMode:{dark:"Մուգ",light:"Լուսավոր",switchToDark:"Անցնել մուգ ռեժիմի",switchToLight:"Անցնել լուսավոր ռեժիմի",system:"Համակարգային"},commandPalette:{back:"Հետ",close:"Փակել",noData:"Տվյալներ չկան",noMatch:"Համընկնումներ չեն գտնվել",placeholder:"Մուտքագրեք հրաման կամ որոնեք…"},contentSearch:{links:"Հղումներ",theme:"Թեմա"},contentSearchButton:{label:"Որոնել…"},contentToc:{title:"Այս էջում"},dropdownMenu:{noMatch:"Համընկնումներ չեն գտնվել",search:"Որոնում…"},dashboardSearch:{theme:"Թեմա"},dashboardSearchButton:{label:"Որոնել…"},dashboardSidebarCollapse:{collapse:"Կոլապսել կողային վահանակը",expand:"Ընդլայնել կողային վահանակը"},dashboardSidebarToggle:{close:"Փակել կողային վահանակը",open:"Բացել կողային վահանակը"},error:{clear:"Վերադառնալ գլխավոր էջ"},fileUpload:{removeFile:"Ջնջել {filename}"},header:{close:"Փակել ընտրացանկը",open:"Բացել ընտրացանկը"},inputMenu:{create:'Ստեղծել "{label}"',noData:"Տվյալներ չկան",noMatch:"Համընկնումներ չեն գտնվել"},inputNumber:{decrement:"Պակասեցնել",increment:"Ավելացնել"},modal:{close:"Փակել"},pricingTable:{caption:"Գնումների համեմատություն"},prose:{codeCollapse:{closeText:"Կոլապսել",name:"կոդ",openText:"Ընդլայնել"},collapsible:{closeText:"Թաքցնել",name:"հատկություններ",openText:"Ցույց տալ"},pre:{copy:"Պատճենել կոդը սեղմատախտակին"}},sidebar:{close:"Փակել",toggle:"Փոխարկել"},selectMenu:{create:'Ստեղծել "{label}"',noData:"Տվյալներ չկան",noMatch:"Համընկնումներ չեն գտնվել",search:"Որոնում…"},slideover:{close:"Փակել"},table:{noData:"Տվյալներ չկան"},toast:{close:"Փակել"}}}),wj=ve({name:"Bahasa Indonesia",code:"id",messages:{alert:{close:"Tutup"},authForm:{hidePassword:"Sembunyikan kata sandi",showPassword:"Tampilkan kata sandi",submit:"Lanjutkan"},banner:{close:"Tutup"},calendar:{nextMonth:"Bulan berikutnya",nextYear:"Tahun berikutnya",prevMonth:"Bulan sebelumnya",prevYear:"Tahun sebelumnya"},carousel:{dots:"Pilih slide untuk ditampilkan",goto:"Pergi ke slide {slide}",next:"Berikutnya",prev:"Sebelumnya"},chatPrompt:{placeholder:"Tulis pesan Anda di sini…"},chatPromptSubmit:{label:"Kirim"},chatReasoning:{thinking:"Berpikir…",thought:"Telah berpikir",thoughtFor:"Berpikir selama {duration}"},colorMode:{dark:"Gelap",light:"Terang",switchToDark:"Beralih ke mode gelap",switchToLight:"Beralih ke mode terang",system:"Sistem"},commandPalette:{back:"Kembali",close:"Tutup",noData:"Tidak ada data",noMatch:"Tidak ada data yang cocok",placeholder:"Ketik perintah atau cari…"},contentSearch:{links:"Tautan",theme:"Tema"},contentSearchButton:{label:"Cari…"},contentToc:{title:"Pada halaman ini"},dropdownMenu:{noMatch:"Tidak ada data yang cocok",search:"Cari…"},dashboardSearch:{theme:"Tema"},dashboardSearchButton:{label:"Cari…"},dashboardSidebarCollapse:{collapse:"Ciutkan sidebar",expand:"Perluas sidebar"},dashboardSidebarToggle:{close:"Tutup sidebar",open:"Buka sidebar"},error:{clear:"Kembali ke beranda"},fileUpload:{removeFile:"Hapus {filename}"},header:{close:"Tutup menu",open:"Buka menu"},inputMenu:{create:'Buat "{label}"',noData:"Tidak ada data",noMatch:"Tidak ada data yang cocok"},inputNumber:{decrement:"Kurangi",increment:"Tambah"},modal:{close:"Tutup"},pricingTable:{caption:"Perbandingan Harga"},prose:{codeCollapse:{closeText:"Ciutkan",name:"kode",openText:"Perluas"},collapsible:{closeText:"Sembunyikan",name:"properti",openText:"Tampilkan"},pre:{copy:"Salin kode ke clipboard"}},sidebar:{close:"Tutup",toggle:"Alihkan"},selectMenu:{create:'Buat "{label}"',noData:"Tidak ada data",noMatch:"Tidak ada data yang cocok",search:"Cari…"},slideover:{close:"Tutup"},table:{noData:"Tidak ada data"},toast:{close:"Tutup"}}}),Aj=ve({name:"Icelandic",code:"is",messages:{alert:{close:"Loka"},authForm:{hidePassword:"Fela lykilorð",showPassword:"Sýna lykilorð",submit:"Áfram"},banner:{close:"Loka"},calendar:{nextMonth:"Næsti mánuður",nextYear:"Næsta ár",prevMonth:"Fyrri mánuður",prevYear:"Fyrra ár"},carousel:{dots:"Veldu mynd til að sýna",goto:"Fara á mynd {slide}",next:"Næsta",prev:"Fyrri"},chatPrompt:{placeholder:"Skrifaðu skilaboðin þín hér…"},chatPromptSubmit:{label:"Senda fyrirspurn"},chatReasoning:{thinking:"Hugsar…",thought:"Hugsaði",thoughtFor:"Hugsaði í {duration}"},colorMode:{dark:"Dökkt",light:"Ljóst",switchToDark:"Skipta yfir í dökkan ham",switchToLight:"Skipta yfir í ljósan ham",system:"Kerfi"},commandPalette:{back:"Til baka",close:"Loka",noData:"Engin gögn",noMatch:"Engin gögn fundust",placeholder:"Sláðu inn skipun eða leitaðu…"},contentSearch:{links:"Tenglar",theme:"Þema"},contentSearchButton:{label:"Leita…"},contentToc:{title:"Á þessari síðu"},dropdownMenu:{noMatch:"Engin gögn fundust",search:"Leita…"},dashboardSearch:{theme:"Þema"},dashboardSearchButton:{label:"Leita…"},dashboardSidebarCollapse:{collapse:"Fella hliðarstiku saman",expand:"Stækka hliðarstiku"},dashboardSidebarToggle:{close:"Loka hliðarstiku",open:"Opna hliðarstiku"},error:{clear:"Til baka heim"},fileUpload:{removeFile:"Fjarlægja {filename}"},header:{close:"Loka valmynd",open:"Opna valmynd"},inputMenu:{create:'Búa til "{label}"',noData:"Engin gögn",noMatch:"Engin gögn fundust"},inputNumber:{decrement:"Minnka",increment:"Auka"},modal:{close:"Loka"},pricingTable:{caption:"Samanburður verðflokka"},prose:{codeCollapse:{closeText:"Fella saman",name:"kóði",openText:"Stækka"},collapsible:{closeText:"Fela",name:"eiginleikar",openText:"Sýna"},pre:{copy:"Afrita kóða á klippiborð"}},sidebar:{close:"Loka",toggle:"Skipta"},selectMenu:{create:'Búa til "{label}"',noData:"Engin gögn",noMatch:"Engin gögn fundust",search:"Leita…"},slideover:{close:"Loka"},table:{noData:"Engin gögn"},toast:{close:"Loka"}}}),Bj=ve({name:"Italiano",code:"it",messages:{alert:{close:"Chiudi"},authForm:{hidePassword:"Nascondi password",showPassword:"Mostra password",submit:"Continua"},banner:{close:"Chiudi"},calendar:{nextMonth:"Mese successivo",nextYear:"Anno successivo",prevMonth:"Mese precedente",prevYear:"Anno precedente"},carousel:{dots:"Scegli diapositiva da visualizzare",goto:"Vai alla slide {slide}",next:"Successiva",prev:"Precedente"},chatPrompt:{placeholder:"Scrivi il tuo messaggio qui…"},chatPromptSubmit:{label:"Invia"},chatReasoning:{thinking:"Pensando…",thought:"Ha pensato",thoughtFor:"Ha pensato per {duration}"},colorMode:{dark:"Scuro",light:"Chiaro",switchToDark:"Passa alla modalità scura",switchToLight:"Passa alla modalità chiara",system:"Sistema"},commandPalette:{back:"Indietro",close:"Chiudi",noData:"Nessun dato",noMatch:"Nessun dato corrispondente",placeholder:"Digita un comando o cerca…"},contentSearch:{links:"Collegamenti",theme:"Tema"},contentSearchButton:{label:"Cerca…"},contentToc:{title:"In questa pagina"},dropdownMenu:{noMatch:"Nessun dato corrispondente",search:"Cerca…"},dashboardSearch:{theme:"Tema"},dashboardSearchButton:{label:"Cerca…"},dashboardSidebarCollapse:{collapse:"Comprimi barra laterale",expand:"Espandi barra laterale"},dashboardSidebarToggle:{close:"Chiudi barra laterale",open:"Apri barra laterale"},error:{clear:"Torna alla home"},fileUpload:{removeFile:"Rimuovi {filename}"},header:{close:"Chiudi menu",open:"Apri menu"},inputMenu:{create:'Crea "{label}"',noData:"Nessun dato",noMatch:"Nessun dato corrispondente"},inputNumber:{decrement:"Diminuisci",increment:"Aumenta"},modal:{close:"Chiudi"},pricingTable:{caption:"Confronto dei piani di prezzo"},prose:{codeCollapse:{closeText:"Comprimi",name:"codice",openText:"Espandi"},collapsible:{closeText:"Nascondi",name:"proprietà",openText:"Mostra"},pre:{copy:"Copia codice negli appunti"}},sidebar:{close:"Chiudi",toggle:"Alterna"},selectMenu:{create:'Crea "{label}"',noData:"Nessun dato",noMatch:"Nessun dato corrispondente",search:"Cerca…"},slideover:{close:"Chiudi"},table:{noData:"Nessun dato"},toast:{close:"Chiudi"}}}),_j=ve({name:"日本語",code:"ja",messages:{alert:{close:"閉じる"},authForm:{hidePassword:"パスワードを隠す",showPassword:"パスワードを表示",submit:"続ける"},banner:{close:"閉じる"},calendar:{nextMonth:"翌月",nextYear:"翌年",prevMonth:"前月",prevYear:"前年"},carousel:{dots:"表示するスライドを選択",goto:"スライド {slide} に移動",next:"次へ",prev:"前へ"},chatPrompt:{placeholder:"ここにメッセージを入力してください…"},chatPromptSubmit:{label:"送信"},chatReasoning:{thinking:"考えています…",thought:"考えました",thoughtFor:"{duration}考えました"},colorMode:{dark:"ダーク",light:"ライト",switchToDark:"ダークモードに切り替え",switchToLight:"ライトモードに切り替え",system:"システム"},commandPalette:{back:"戻る",close:"閉じる",noData:"データがありません",noMatch:"一致するデータがありません",placeholder:"コマンドを入力するか検索…"},contentSearch:{links:"リンク",theme:"テーマ"},contentSearchButton:{label:"検索…"},contentToc:{title:"このページ内"},dropdownMenu:{noMatch:"一致するデータがありません",search:"検索…"},dashboardSearch:{theme:"テーマ"},dashboardSearchButton:{label:"検索…"},dashboardSidebarCollapse:{collapse:"サイドバーを折りたたむ",expand:"サイドバーを展開"},dashboardSidebarToggle:{close:"サイドバーを閉じる",open:"サイドバーを開く"},error:{clear:"ホームに戻る"},fileUpload:{removeFile:"{filename}を削除"},header:{close:"メニューを閉じる",open:"メニューを開く"},inputMenu:{create:'"{label}"を作成',noData:"データがありません",noMatch:"一致するデータがありません"},inputNumber:{decrement:"減らす",increment:"増やす"},modal:{close:"閉じる"},pricingTable:{caption:"価格プランの比較"},prose:{codeCollapse:{closeText:"折りたたむ",name:"コード",openText:"展開"},collapsible:{closeText:"非表示",name:"プロパティ",openText:"表示"},pre:{copy:"コードをクリップボードにコピー"}},sidebar:{close:"閉じる",toggle:"切り替え"},selectMenu:{create:'"{label}"を作成',noData:"データがありません",noMatch:"一致するデータがありません",search:"検索…"},slideover:{close:"閉じる"},table:{noData:"データがありません"},toast:{close:"閉じる"}}}),kj=ve({name:"ქართული",code:"ka",messages:{alert:{close:"დახურვა"},authForm:{hidePassword:"პაროლის დამალვა",showPassword:"პაროლის ჩვენება",submit:"გაგრძელება"},banner:{close:"დახურვა"},calendar:{nextMonth:"შემდეგი თვე",nextYear:"შემდეგი წელი",prevMonth:"წინა თვე",prevYear:"წინა წელი"},carousel:{dots:"აირჩიეთ სლაიდი საჩვენებლად",goto:"გადასვლა სლაიდ {slide}-ზე",next:"შემდეგი",prev:"წინა"},chatPrompt:{placeholder:"დაწერეთ თქვენი მესიჯი აქ…"},chatPromptSubmit:{label:"შეტყობინების გაგზავნა"},chatReasoning:{thinking:"ფიქრობს…",thought:"იფიქრა",thoughtFor:"{duration} ფიქრობდა"},colorMode:{dark:"ბნელი",light:"ნათელი",switchToDark:"ბნელ რეჯიმზე გადასვლა",switchToLight:"ნათელ რეჯიმზე გადასვლა",system:"სისტემური"},commandPalette:{back:"უკან",close:"დახურვა",noData:"მონაცემები არ არის",noMatch:"შესატყვისი მონაცემები არ არის",placeholder:"ჩაწერეთ ბრძანება ან ძიება…"},contentSearch:{links:"ბმულები",theme:"თემა"},contentSearchButton:{label:"ძიება…"},contentToc:{title:"ამ გვერდზე"},dropdownMenu:{noMatch:"შესატყვისი მონაცემები არ არის",search:"ძიება…"},dashboardSearch:{theme:"თემა"},dashboardSearchButton:{label:"ძიება…"},dashboardSidebarCollapse:{collapse:"გვერდითი ზოლის ჩაკეცვა",expand:"გვერდითი ზოლის გაშლა"},dashboardSidebarToggle:{close:"გვერდითი ზოლის დახურვა",open:"გვერდითი ზოლის გახსნა"},error:{clear:"მთავარზე დაბრუნება"},fileUpload:{removeFile:"მოაშორე {filename}"},header:{close:"მენიუს დახურვა",open:"მენიუს გახსნა"},inputMenu:{create:'შექმენი "{label}"',noData:"მონაცემები არ არის",noMatch:"შესატყვისი მონაცემები არ არის"},inputNumber:{decrement:"დაკლება",increment:"დამატება"},modal:{close:"დახურვა"},pricingTable:{caption:"ფასის გეგმების შედარება"},prose:{codeCollapse:{closeText:"ჩაკეცვა",name:"კოდი",openText:"გაშლა"},collapsible:{closeText:"დახურვა",name:"თვისებები",openText:"ჩვენება"},pre:{copy:"კოდის კოპირება ბუფერში"}},sidebar:{close:"დახურვა",toggle:"გადართვა"},selectMenu:{create:'დაამატე "{label}"',noData:"მონაცემები არ არის",noMatch:"შესატყვისი მონაცემები არ არის",search:"ძიება…"},slideover:{close:"დახურვა"},table:{noData:"მონაცემები არ არის"},toast:{close:"დახურვა"}}}),Sj=ve({name:"Қазақша",code:"kk",messages:{alert:{close:"Жабу"},authForm:{hidePassword:"Құпия сөзді жасыру",showPassword:"Құпия сөзді көрсету",submit:"Жалғастыру"},banner:{close:"Жабу"},calendar:{nextMonth:"Келесі ай",nextYear:"Келесі жыл",prevMonth:"Алдыңғы ай",prevYear:"Алдыңғы жыл"},carousel:{dots:"Көрсету үшін слайдты таңдаңыз",goto:"{slide} слайдқа өту",next:"Келесі",prev:"Алдыңғы"},chatPrompt:{placeholder:"Хабар енгізіңіз…"},chatPromptSubmit:{label:"Жіберу"},chatReasoning:{thinking:"Ойлануда…",thought:"Ойланды",thoughtFor:"{duration} ойланды"},colorMode:{dark:"Қараңғы",light:"Ашық",switchToDark:"Қараңғы режимге ауысу",switchToLight:"Ашық режимге ауысу",system:"Жүйе"},commandPalette:{back:"Артқа",close:"Жабу",noData:"Деректер жоқ",noMatch:"Сәйкес келетін деректер жоқ",placeholder:"Команда енгізіңіз немесе іздеңіз…"},contentSearch:{links:"Сілтемелер",theme:"Тақырып"},contentSearchButton:{label:"Іздеу"},contentToc:{title:"Мазмұны"},dropdownMenu:{noMatch:"Сәйкес келетін деректер жоқ",search:"Іздеу…"},dashboardSearch:{theme:"Тақырып"},dashboardSearchButton:{label:"Іздеу"},dashboardSidebarCollapse:{collapse:"Жию",expand:"Кеңейту"},dashboardSidebarToggle:{close:"Жабу",open:"Ашу"},error:{clear:"Тазалау"},fileUpload:{removeFile:"{filename} жою"},header:{close:"Жабу",open:"Ашу"},inputMenu:{create:'"{label}" жасау',noData:"Деректер жоқ",noMatch:"Сәйкес келетін деректер жоқ"},inputNumber:{decrement:"Азайту",increment:"Арттыру"},modal:{close:"Жабу"},pricingTable:{caption:"Баға кестесі"},prose:{codeCollapse:{closeText:"Жиыру",name:"код",openText:"Кеңейту"},collapsible:{closeText:"Жасыру",name:"қасиеттер",openText:"Көрсету"},pre:{copy:"Кодты алмасу буферіне көшіру"}},sidebar:{close:"Жабу",toggle:"Ауыстыру"},selectMenu:{create:'"{label}" жасау',noData:"Деректер жоқ",noMatch:"Сәйкес келетін деректер жоқ",search:"Іздеу…"},slideover:{close:"Жабу"},table:{noData:"Деректер жоқ"},toast:{close:"Жабу"}}}),Tj=ve({name:"ភាសាខ្មែរ",code:"km",messages:{alert:{close:"បិទ"},authForm:{hidePassword:"លាក់ពាក្យសម្ងាត់",showPassword:"បង្ហាញពាក្យសម្ងាត់",submit:"បន្ត"},banner:{close:"បិទ"},calendar:{nextMonth:"ខែបន្ទាប់",nextYear:"ឆ្នាំបន្ទាប់",prevMonth:"ខែមុន",prevYear:"ឆ្នាំមុន"},carousel:{dots:"ជ្រើសរើស​ស្លាយ​ដើម្បី​បង្ហាញ",goto:"ឡើងទៅស្លាយ {slide}",next:"បន្ទាប់",prev:"មុន"},chatPrompt:{placeholder:"សួរស្រឡាញ់មួយបីនេះមានប្រភេទបានទាមទារទេ…"},chatPromptSubmit:{label:"សាក់"},chatReasoning:{thinking:"កំពុងគិត…",thought:"គិតរួចហើយ",thoughtFor:"គិតរយៈពេល {duration}"},colorMode:{dark:"ងងឹត",light:"ភ្លឺ",switchToDark:"ប្តូរទៅរបៀបងងឹត",switchToLight:"ប្តូរទៅរបៀបភ្លឺ",system:"ប្រព័ន្ធ"},commandPalette:{back:"ត្រឡប់",close:"បិទ",noData:"មិនមានទិន្នន័យ",noMatch:"មិនមានទិន្នន័យដែលត្រូវគ្នាទេ",placeholder:"វាយពាក្យបញ្ជា ឬស្វែងរក…"},contentSearch:{links:"តំណភ្ជាប់",theme:"រូបរាង"},contentSearchButton:{label:"ស្វែងរក…"},contentToc:{title:"នៅលើទំព័រនេះ"},dropdownMenu:{noMatch:"មិនមានទិន្នន័យដែលត្រូវគ្នាទេ",search:"ស្វែងរក…"},dashboardSearch:{theme:"រូបរាង"},dashboardSearchButton:{label:"ស្វែងរក…"},dashboardSidebarCollapse:{collapse:"បង្រួមបារចំហៀង",expand:"ពង្រីកបារចំហៀង"},dashboardSidebarToggle:{close:"បិទបារចំហៀង",open:"បើកបារចំហៀង"},error:{clear:"ត្រឡប់ទៅទំព័រដើម"},fileUpload:{removeFile:"លុប {filename}"},header:{close:"បិទម៉ឺនុយ",open:"បើកម៉ឺនុយ"},inputMenu:{create:'បង្កើត "{label}"',noData:"មិនមានទិន្នន័យ",noMatch:"មិនមានទិន្នន័យដែលត្រូវគ្នាទេ"},inputNumber:{decrement:"បន្ថយ",increment:"បង្កើន"},modal:{close:"បិទ"},pricingTable:{caption:"បញ្ជីតម្លៃបន្ទប់បន្ទប់"},prose:{codeCollapse:{closeText:"បង្រួម",name:"កូដ",openText:"ពង្រីក"},collapsible:{closeText:"លាក់",name:"លក្ខណៈសម្បត្តិ",openText:"បង្ហាញ"},pre:{copy:"ចម្លងកូដទៅក្ដារតម្បៀតខ្ទាស់"}},sidebar:{close:"បិទ",toggle:"បិទ/បើក"},selectMenu:{create:'បង្កើត "{label}"',noData:"មិនមានទិន្នន័យ",noMatch:"មិនមានទិន្នន័យដែលត្រូវគ្នាទេ",search:"ស្វែងរក…"},slideover:{close:"បិទ"},table:{noData:"មិនមានទិន្នន័យ"},toast:{close:"បិទ"}}}),Fj=ve({name:"한국어",code:"ko",messages:{alert:{close:"닫기"},authForm:{hidePassword:"비밀번호 숨기기",showPassword:"비밀번호 표시",submit:"계속"},banner:{close:"닫기"},calendar:{nextMonth:"다음 달",nextYear:"다음 해",prevMonth:"이전 달",prevYear:"이전 해"},carousel:{dots:"표시할 슬라이드 선택",goto:"{slide} 페이지로 이동",next:"다음",prev:"이전"},chatPrompt:{placeholder:"여기에 메시지를 입력하세요…"},chatPromptSubmit:{label:"전송"},chatReasoning:{thinking:"생각하는 중…",thought:"생각했습니다",thoughtFor:"{duration} 동안 생각했습니다"},colorMode:{dark:"다크",light:"라이트",switchToDark:"다크 모드로 전환",switchToLight:"라이트 모드로 전환",system:"시스템"},commandPalette:{back:"뒤로",close:"닫기",noData:"데이터가 없습니다.",noMatch:"일치하는 데이터가 없습니다.",placeholder:"명령을 입력하거나 검색…"},contentSearch:{links:"링크",theme:"테마"},contentSearchButton:{label:"검색…"},contentToc:{title:"이 페이지에서"},dropdownMenu:{noMatch:"일치하는 데이터가 없습니다.",search:"검색…"},dashboardSearch:{theme:"테마"},dashboardSearchButton:{label:"검색…"},dashboardSidebarCollapse:{collapse:"사이드바 축소",expand:"사이드바 확장"},dashboardSidebarToggle:{close:"사이드바 닫기",open:"사이드바 열기"},error:{clear:"홈으로 돌아가기"},fileUpload:{removeFile:"{filename} 제거"},header:{close:"메뉴 닫기",open:"메뉴 열기"},inputMenu:{create:'"{label}" 생성',noData:"데이터가 없습니다.",noMatch:"일치하는 데이터가 없습니다."},inputNumber:{decrement:"감소",increment:"증가"},modal:{close:"닫기"},pricingTable:{caption:"가격 플랜 비교"},prose:{codeCollapse:{closeText:"접기",name:"코드",openText:"펼치기"},collapsible:{closeText:"숨기기",name:"속성",openText:"보기"},pre:{copy:"코드를 클립보드에 복사"}},sidebar:{close:"닫기",toggle:"토글"},selectMenu:{create:'"{label}" 생성',noData:"데이터가 없습니다.",noMatch:"일치하는 데이터가 없습니다.",search:"검색…"},slideover:{close:"닫기"},table:{noData:"데이터가 없습니다."},toast:{close:"닫기"}}}),Pj=ve({name:"Кыргызча",code:"ky",messages:{alert:{close:"Жабуу"},authForm:{hidePassword:"Сырсөздү жашыруу",showPassword:"Сырсөздү көрсөтүү",submit:"Улантуу"},banner:{close:"Жабуу"},calendar:{nextMonth:"Кийинки ай",nextYear:"Кийинки жыл",prevMonth:"Алдыңкы ай",prevYear:"Алдыңкы жыл"},carousel:{dots:"Көрсөтүү үчүн слайдды тандаңыз",goto:"{slide} слайдга өтүү",next:"Кийинки",prev:"Алдыңкы"},chatPrompt:{placeholder:"Бул жерге билдирүүңүздү жазыңыз…"},chatPromptSubmit:{label:"Билдирүү жөнөтүү"},chatReasoning:{thinking:"Ойлонуда…",thought:"Ойлонду",thoughtFor:"{duration} ойлонду"},colorMode:{dark:"Караңгы",light:"Жарык",switchToDark:"Караңгы режимге өтүү",switchToLight:"Жарык режимге өтүү",system:"Система"},commandPalette:{back:"Артка",close:"Жабуу",noData:"Маалымат жок",noMatch:"Эч нерсе табылган жок",placeholder:"Буйрук киргизиңиз же издөө…"},contentSearch:{links:"Шилтемелер",theme:"Тема"},contentSearchButton:{label:"Издөө…"},contentToc:{title:"Бул бетте"},dropdownMenu:{noMatch:"Сүйлөшкөн маалыматтар жок",search:"Издөө…"},dashboardSearch:{theme:"Тема"},dashboardSearchButton:{label:"Издөө…"},dashboardSidebarCollapse:{collapse:"Каптал тилкесин жыйноо",expand:"Каптал тилкесин кеңейтүү"},dashboardSidebarToggle:{close:"Каптал тилкесин жабуу",open:"Каптал тилкесин ачуу"},error:{clear:"Башкы бетке кайтуу"},fileUpload:{removeFile:"{filename} өчүрүү"},header:{close:"Менюну жабуу",open:"Менюну ачуу"},inputMenu:{create:'"{label}" жасоо',noData:"Маалымат жок",noMatch:"Эч нерсе табылган жок"},inputNumber:{decrement:"Азайтуу",increment:"Кошуу"},modal:{close:"Жабуу"},pricingTable:{caption:"Баалардын салыштыруу таблицасы"},prose:{codeCollapse:{closeText:"Жыйноо",name:"код",openText:"Кеңейтүү"},collapsible:{closeText:"Жашыруу",name:"касиеттер",openText:"Көрсөтүү"},pre:{copy:"Кодду алмашуу буферине көчүрүү"}},sidebar:{close:"Жабуу",toggle:"Которуу"},selectMenu:{create:'"{label}" жасоо',noData:"Маалымат жок",noMatch:"Сүйлөшкөн маалыматтар жок",search:"Издөө…"},slideover:{close:"Жабуу"},table:{noData:"Маалымат жок"},toast:{close:"Жабуу"}}}),Mj=ve({name:"Lëtzebuergesch",code:"lb",messages:{alert:{close:"Zoumaachen"},authForm:{hidePassword:"Passwuert verstoppen",showPassword:"Passwuert uweisen",submit:"Fortschécken"},banner:{close:"Zoumaachen"},calendar:{nextMonth:"Nächste Mount",nextYear:"Nächst Joer",prevMonth:"Virege Mount",prevYear:"Viregt Joer"},carousel:{dots:"Wielt Dia fir ze weisen",goto:"Gitt op d'Slide {Slide}",next:"Näch.",prev:"Präz."},chatPrompt:{placeholder:"Tippt hei Äre Message…"},chatPromptSubmit:{label:"Prompt schécken"},chatReasoning:{thinking:"Denkt no…",thought:"Nogeduecht",thoughtFor:"{duration} nogeduecht"},colorMode:{dark:"Donkel",light:"Liicht",switchToDark:"Op de Donkelmodus wiesselen",switchToLight:"Op de Liichtmodus wiesselen",system:"System"},commandPalette:{back:"Zréck",close:"Zoumaachen",noData:"Keng Donnéeën",noMatch:"Keng entspriechend Donnéeën",placeholder:"Tippt e Befeel oder sicht…"},contentSearch:{links:"Linken",theme:"Thema"},contentSearchButton:{label:"Sichen…"},contentToc:{title:"Op dëser Säit"},dropdownMenu:{noMatch:"Keng entspriechend Donnéeën",search:"Sichen.."},dashboardSearch:{theme:"Thema"},dashboardSearchButton:{label:"Sichen…"},dashboardSidebarCollapse:{collapse:"Sidebar zouklappen",expand:"Sidebar opklappen"},dashboardSidebarToggle:{close:"Sidebar zoumaachen",open:"Sidebar opmaachen"},error:{clear:"Zréck op d'Startsäit"},fileUpload:{removeFile:"{filename} ewechhuelen"},header:{close:"Menü zoumaachen",open:"Menü opmaachen"},inputMenu:{create:'"{label}" erstellen',noData:"Keng Donnéeën",noMatch:"Keng entspriechend Donnéeën"},inputNumber:{decrement:"Dekrementéieren",increment:"Inkrementéieren"},modal:{close:"Zoumaachen"},pricingTable:{caption:"Vergläich vun de Präispläng"},prose:{codeCollapse:{closeText:"Zouklappen",name:"code",openText:"Opklappen"},collapsible:{closeText:"Verstoppen",name:"eegenschaften",openText:"Uweisen"},pre:{copy:"Code an d'Zwëschspäicher kopéieren"}},sidebar:{close:"Zoumaachen",toggle:"Ëmschalten"},selectMenu:{create:'"{label}" erstellen',noData:"Keng Donnéeën",noMatch:"Keng entspriechend Donnéeën",search:"Sichen.."},slideover:{close:"Zoumaachen"},table:{noData:"Keng Donnéeën"},toast:{close:"Zoumaachen"}}}),Oj=ve({name:"ລາວ",code:"lo",messages:{alert:{close:"ປິດ"},authForm:{hidePassword:"ເຊື່ອງລະຫັດຜ່ານ",showPassword:"ສະແດງລະຫັດຜ່ານ",submit:"ດຳເນີນການຕໍ່"},banner:{close:"ປິດ"},calendar:{nextMonth:"ເດືອນໜ້າ",nextYear:"ປີໜ້າ",prevMonth:"ເດືອນກ່ອນ",prevYear:"ປີກ່ອນ"},carousel:{dots:"ເລືອກສະໄລ້ທີ່ຈະສະແດງ",goto:"ໄປທີ່ສະໄລ້ {slide}",next:"ຕໍ່ໄປ",prev:"ກ່ອນໜ້າ"},chatPrompt:{placeholder:"ພິມຂໍ້ຄວາມຂອງທ່ານທີ່ນີ້..."},chatPromptSubmit:{label:"ສົ່ງຄຳສັ່ງ"},chatReasoning:{thinking:"ກຳລັງຄິດ…",thought:"ຄິດແລ້ວ",thoughtFor:"ຄິດເປັນເວລາ {duration}"},colorMode:{dark:"ມືດ",light:"ແຈ້ງ",switchToDark:"ປ່ຽນເປັນໂຫມດມືດ",switchToLight:"ປ່ຽນເປັນໂຫມດແຈ້ງ",system:"ລະບົບ"},commandPalette:{back:"ກັບຄືນ",close:"ປິດ",noData:"ບໍ່ມີຂໍ້ມູນ",noMatch:"ບໍ່ພົບຂໍ້ມູນທີ່ກົງກັນ",placeholder:"ພິມຄຳສັ່ງ ຫຼື ຄົ້ນຫາ..."},contentSearch:{links:"ລິ້ງ",theme:"ທີມ"},contentSearchButton:{label:"ຄົ້ນຫາ..."},contentToc:{title:"ໃນໜ້ານີ້"},dropdownMenu:{noMatch:"ບໍ່ພົບຂໍ້ມູນທີ່ກົງກັນ",search:"ຄົ້ນຫາ..."},dashboardSearch:{theme:"ທີມ"},dashboardSearchButton:{label:"ຄົ້ນຫາ..."},dashboardSidebarCollapse:{collapse:"ຫຍໍ້ແຖບດ້ານຂ້າງ",expand:"ຂະຫຍາຍແຖບດ້ານຂ້າງ"},dashboardSidebarToggle:{close:"ປິດແຖບດ້ານຂ້າງ",open:"ເປີດແຖບດ້ານຂ້າງ"},error:{clear:"ກັບໄປໜ້າຫຼັກ"},fileUpload:{removeFile:"ລົບ {filename}"},header:{close:"ປິດເມນູ",open:"ເປີດເມນູ"},inputMenu:{create:'ສ້າງ "{label}"',noData:"ບໍ່ມີຂໍ້ມູນ",noMatch:"ບໍ່ພົບຂໍ້ມູນທີ່ກົງກັນ"},inputNumber:{decrement:"ຫຼຸດລົງ",increment:"ເພີ່ມຂຶ້ນ"},modal:{close:"ປິດ"},pricingTable:{caption:"ປຽບທຽບແພັກເກັດລາຄາ"},prose:{codeCollapse:{closeText:"ຫຍໍ້",name:"ໂຄ້ດ",openText:"ຂະຫຍາຍ"},collapsible:{closeText:"ເຊື່ອງ",name:"ຄຸນສົມບັດ",openText:"ສະແດງ"},pre:{copy:"ຄັດລອກໂຄ້ດ"}},sidebar:{close:"ປິດ",toggle:"ສະລັບ"},selectMenu:{create:'ສ້າງ "{label}"',noData:"ບໍ່ມີຂໍ້ມູນ",noMatch:"ບໍ່ພົບຂໍ້ມູນທີ່ກົງກັນ",search:"ຄົ້ນຫາ..."},slideover:{close:"ປິດ"},table:{noData:"ບໍ່ມີຂໍ້ມູນ"},toast:{close:"ປິດ"}}}),Rj=ve({name:"Lietuvių",code:"lt",messages:{alert:{close:"Uždaryti"},authForm:{hidePassword:"Slėpti slaptažodį",showPassword:"Rodyti slaptažodį",submit:"Tęsti"},banner:{close:"Uždaryti"},calendar:{nextMonth:"Kitas mėnuo",nextYear:"Kiti metai",prevMonth:"Ankstesnis mėnuo",prevYear:"Ankstesni metai"},carousel:{dots:"Pasirinkite skaidrę rodymui",goto:"Eiti į skaidrę {slide}",next:"Pirmyn",prev:"Atgal"},chatPrompt:{placeholder:"Įveskite savo žinutę čia…"},chatPromptSubmit:{label:"Siųsti žinutę"},chatReasoning:{thinking:"Mąsto…",thought:"Pamąstė",thoughtFor:"Mąstė {duration}"},colorMode:{dark:"Tamsus",light:"Šviesus",switchToDark:"Perjungti į tamsų režimą",switchToLight:"Perjungti į šviesų režimą",system:"Sistema"},commandPalette:{back:"Atgal",close:"Uždaryti",noData:"Nėra duomenų",noMatch:"Nėra atitinkančių duomenų",placeholder:"Įveskite komandą arba ieškokite…"},contentSearch:{links:"Nuorodos",theme:"Tema"},contentSearchButton:{label:"Ieškoti…"},contentToc:{title:"Šiame puslapyje"},dropdownMenu:{noMatch:"Nėra atitinkančių duomenų",search:"Ieškoti…"},dashboardSearch:{theme:"Tema"},dashboardSearchButton:{label:"Ieškoti…"},dashboardSidebarCollapse:{collapse:"Suskleisti šoninę juostą",expand:"Išplėsti šoninę juostą"},dashboardSidebarToggle:{close:"Uždaryti šoninę juostą",open:"Atidaryti šoninę juostą"},error:{clear:"Grįžti į pradžią"},fileUpload:{removeFile:"Pašalinti {filename}"},header:{close:"Uždaryti meniu",open:"Atidaryti meniu"},inputMenu:{create:'Sukurti „{label}"',noData:"Nėra duomenų",noMatch:"Nėra atitinkančių duomenų"},inputNumber:{decrement:"Sumažinti",increment:"Padidinti"},modal:{close:"Uždaryti"},pricingTable:{caption:"Kainų planų palyginimas"},prose:{codeCollapse:{closeText:"Suskleisti",name:"kodas",openText:"Išplėsti"},collapsible:{closeText:"Slėpti",name:"savybės",openText:"Rodyti"},pre:{copy:"Kopijuoti kodą į iškarpinę"}},sidebar:{close:"Uždaryti",toggle:"Perjungti"},selectMenu:{create:'Sukurti „{label}"',noData:"Nėra duomenų",noMatch:"Nėra atitinkančių duomenų",search:"Ieškoti…"},slideover:{close:"Uždaryti"},table:{noData:"Nėra duomenų"},toast:{close:"Uždaryti"}}}),Ij=ve({name:"Монгол",code:"mn",messages:{alert:{close:"Хаах"},authForm:{hidePassword:"Нууц үгийг нуух",showPassword:"Нууц үгийг харуулах",submit:"Үргэлжлүүлэх"},banner:{close:"Хаах"},calendar:{nextMonth:"Дараа сар",nextYear:"Дараа жил",prevMonth:"Өмнөх сар",prevYear:"Өмнөх жил"},carousel:{dots:"Харуулах слайдыг сонгоно уу",goto:"{slide}-р хуудсанд шилжих",next:"Дараах",prev:"Өмнөх"},chatPrompt:{placeholder:"Энд мессежээ бичнэ үү…"},chatPromptSubmit:{label:"Мессеж илгээх"},chatReasoning:{thinking:"Бодож байна…",thought:"Бодсон",thoughtFor:"{duration} бодсон"},colorMode:{dark:"Хар",light:"Цагаан",switchToDark:"Хар горимд шилжих",switchToLight:"Цагаан горимд шилжих",system:"Систем"},commandPalette:{back:"Буцах",close:"Хаах",noData:"Мэдээлэл байхгүй",noMatch:"Тохирох мэдээлэл олдсонгүй",placeholder:"Комманд бичих эсвэл хайлт хийх…"},contentSearch:{links:"Холбоосууд",theme:"Загвар"},contentSearchButton:{label:"Хайх…"},contentToc:{title:"Энэ хуудсанд"},dropdownMenu:{noMatch:"Тохирох мэдээлэл олдсонгүй",search:"Хайх…"},dashboardSearch:{theme:"Загвар"},dashboardSearchButton:{label:"Хайх…"},dashboardSidebarCollapse:{collapse:"Хажуугийн самбарыг хураах",expand:"Хажуугийн самбарыг дэлгэх"},dashboardSidebarToggle:{close:"Хажуугийн самбарыг хаах",open:"Хажуугийн самбарыг нээх"},error:{clear:"Нүүр хуудас руу буцах"},fileUpload:{removeFile:"{filename} устгах"},header:{close:"Цэсийг хаах",open:"Цэсийг нээх"},inputMenu:{create:'"{label}" үүсгэх',noData:"Мэдээлэл байхгүй",noMatch:"Тохирох мэдээлэл олдсонгүй"},inputNumber:{decrement:"Хасах",increment:"Нэмэх"},modal:{close:"Хаах"},pricingTable:{caption:"Үнийн төлөвлөгөөний харьцуулалт"},prose:{codeCollapse:{closeText:"Хураах",name:"код",openText:"Дэлгэх"},collapsible:{closeText:"Нуух",name:"шинж чанарууд",openText:"Харуулах"},pre:{copy:"Кодыг санах ойд хуулах"}},sidebar:{close:"Хаах",toggle:"Сэлгэх"},selectMenu:{create:'"{label}" үүсгэх',noData:"Мэдээлэл байхгүй",noMatch:"Тохирох мэдээлэл олдсонгүй",search:"Хайх…"},slideover:{close:"Хаах"},table:{noData:"Мэдээлэл байхгүй"},toast:{close:"Хаах"}}}),Lj=ve({name:"Melayu",code:"ms",messages:{alert:{close:"Tutup"},authForm:{hidePassword:"Sembunyikan kata laluan",showPassword:"Tunjukkan kata laluan",submit:"Teruskan"},banner:{close:"Tutup"},calendar:{nextMonth:"Bulan seterusnya",nextYear:"Tahun seterusnya",prevMonth:"Bulan sebelum",prevYear:"Tahun sebelum"},carousel:{dots:"Pilih slaid untuk dipaparkan",goto:"Pergi ke slaid {slide}",next:"Seterusnya",prev:"Sebelum"},chatPrompt:{placeholder:"Taip mesej anda di sini…"},chatPromptSubmit:{label:"Hantar mesej"},chatReasoning:{thinking:"Berfikir…",thought:"Telah berfikir",thoughtFor:"Berfikir selama {duration}"},colorMode:{dark:"Gelap",light:"Cerah",switchToDark:"Tukar ke mod gelap",switchToLight:"Tukar ke mod cerah",system:"Sistem"},commandPalette:{back:"Kembali",close:"Tutup",noData:"Tiada data",noMatch:"Tiada data yang sepadan",placeholder:"Taip arahan atau carian…"},contentSearch:{links:"Pautan",theme:"Tema"},contentSearchButton:{label:"Cari…"},contentToc:{title:"Di halaman ini"},dropdownMenu:{noMatch:"Tiada data yang sepadan",search:"Cari…"},dashboardSearch:{theme:"Tema"},dashboardSearchButton:{label:"Cari…"},dashboardSidebarCollapse:{collapse:"Runtuhkan bar sisi",expand:"Kembangkan bar sisi"},dashboardSidebarToggle:{close:"Tutup bar sisi",open:"Buka bar sisi"},error:{clear:"Kembali ke laman utama"},fileUpload:{removeFile:"Buang {filename}"},header:{close:"Tutup menu",open:"Buka menu"},inputMenu:{create:'Cipta "{label}"',noData:"Tiada data",noMatch:"Tiada data yang sepadan"},inputNumber:{decrement:"Kurangkan",increment:"Naikkan"},modal:{close:"Tutup"},pricingTable:{caption:"Perbandingan pelan harga"},prose:{codeCollapse:{closeText:"Runtuhkan",name:"kod",openText:"Kembangkan"},collapsible:{closeText:"Sembunyikan",name:"ciri",openText:"Tunjukkan"},pre:{copy:"Salin kod ke papan klip"}},sidebar:{close:"Tutup",toggle:"Togol"},selectMenu:{create:'Cipta "{label}"',noData:"Tiada data",noMatch:"Tiada data yang sepadan",search:"Cari…"},slideover:{close:"Tutup"},table:{noData:"Tiada data"},toast:{close:"Tutup"}}}),qj=ve({name:"Norsk Bokmål",code:"nb-NO",messages:{alert:{close:"Lukk"},authForm:{hidePassword:"Skjul passord",showPassword:"Vis passord",submit:"Fortsett"},banner:{close:"Lukk"},calendar:{nextMonth:"Neste måned",nextYear:"Neste år",prevMonth:"Forrige måned",prevYear:"Forrige år"},carousel:{dots:"Velg lysbilde som skal vises",goto:"Gå til lysbilde {slide}",next:"Neste",prev:"Forrige"},chatPrompt:{placeholder:"Skriv din melding her…"},chatPromptSubmit:{label:"Send"},chatReasoning:{thinking:"Tenker…",thought:"Tenkte",thoughtFor:"Tenkte i {duration}"},colorMode:{dark:"Mørk",light:"Lys",switchToDark:"Bytt til mørk modus",switchToLight:"Bytt til lys modus",system:"System"},commandPalette:{back:"Tilbake",close:"Lukk",noData:"Ingen data",noMatch:"Ingen samsvarende data",placeholder:"Skriv inn en kommando eller søk…"},contentSearch:{links:"Lenker",theme:"Tema"},contentSearchButton:{label:"Søk…"},contentToc:{title:"På denne siden"},dropdownMenu:{noMatch:"Ingen samsvarende data",search:"Søk…"},dashboardSearch:{theme:"Tema"},dashboardSearchButton:{label:"Søk…"},dashboardSidebarCollapse:{collapse:"Skjul sidepanel",expand:"Utvid sidepanel"},dashboardSidebarToggle:{close:"Lukk sidepanel",open:"Åpne sidepanel"},error:{clear:"Tilbake til forsiden"},fileUpload:{removeFile:"Fjern {filename}"},header:{close:"Lukk meny",open:"Åpne meny"},inputMenu:{create:'Opprett "{label}"',noData:"Ingen data",noMatch:"Ingen samsvarende data"},inputNumber:{decrement:"Reduser",increment:"Øk"},modal:{close:"Lukk"},pricingTable:{caption:"Prisplaneringssammenligning"},prose:{codeCollapse:{closeText:"Skjul",name:"kode",openText:"Utvid"},collapsible:{closeText:"Skjul",name:"egenskaper",openText:"Vis"},pre:{copy:"Kopier kode til utklippstavle"}},sidebar:{close:"Lukk",toggle:"Veksle"},selectMenu:{create:'Opprett "{label}"',noData:"Ingen data",noMatch:"Ingen samsvarende data",search:"Søk…"},slideover:{close:"Lukk"},table:{noData:"Ingen data"},toast:{close:"Lukk"}}}),$j=ve({name:"Nederlands",code:"nl",messages:{alert:{close:"Sluiten"},authForm:{hidePassword:"Wachtwoord verbergen",showPassword:"Wachtwoord tonen",submit:"Doorgaan"},banner:{close:"Sluiten"},calendar:{nextMonth:"Volgende maand",nextYear:"Volgend jaar",prevMonth:"Vorige maand",prevYear:"Vorig jaar"},carousel:{dots:"Kies dia om weer te geven",goto:"Ga naar dia {slide}",next:"Volgende",prev:"Vorige"},chatPrompt:{placeholder:"Schrijf hier je bericht…"},chatPromptSubmit:{label:"Versturen"},chatReasoning:{thinking:"Aan het denken…",thought:"Nagedacht",thoughtFor:"{duration} nagedacht"},colorMode:{dark:"Donker",light:"Licht",switchToDark:"Overschakelen naar donkere modus",switchToLight:"Overschakelen naar lichte modus",system:"Systeem"},commandPalette:{back:"Terug",close:"Sluiten",noData:"Geen gegevens",noMatch:"Geen overeenkomende gegevens",placeholder:"Typ een commando of zoek…"},contentSearch:{links:"Links",theme:"Thema"},contentSearchButton:{label:"Zoeken…"},contentToc:{title:"Op deze pagina"},dropdownMenu:{noMatch:"Geen overeenkomende gegevens",search:"Zoeken…"},dashboardSearch:{theme:"Thema"},dashboardSearchButton:{label:"Zoeken…"},dashboardSidebarCollapse:{collapse:"Zijbalk invouwen",expand:"Zijbalk uitvouwen"},dashboardSidebarToggle:{close:"Zijbalk sluiten",open:"Zijbalk openen"},error:{clear:"Terug naar home"},fileUpload:{removeFile:"{filename} verwijderen"},header:{close:"Menu sluiten",open:"Menu openen"},inputMenu:{create:'"{label}" creëren',noData:"Geen gegevens",noMatch:"Geen overeenkomende gegevens"},inputNumber:{decrement:"Verlagen",increment:"Verhogen"},modal:{close:"Sluiten"},pricingTable:{caption:"Prijsplanvergelijking"},prose:{codeCollapse:{closeText:"Invouwen",name:"code",openText:"Uitvouwen"},collapsible:{closeText:"Verbergen",name:"eigenschappen",openText:"Tonen"},pre:{copy:"Code naar klembord kopiëren"}},sidebar:{close:"Sluiten",toggle:"Schakelen"},selectMenu:{create:'"{label}" creëren',noData:"Geen gegevens",noMatch:"Geen overeenkomende gegevens",search:"Zoeken…"},slideover:{close:"Sluiten"},table:{noData:"Geen gegevens"},toast:{close:"Sluiten"}}}),Nj=ve({name:"Polski",code:"pl",messages:{alert:{close:"Zamknij"},authForm:{hidePassword:"Ukryj hasło",showPassword:"Pokaż hasło",submit:"Kontynuuj"},banner:{close:"Zamknij"},calendar:{nextMonth:"Przyszły miesiąc",nextYear:"Przyszły rok",prevMonth:"Poprzedni miesiąc",prevYear:"Poprzedni rok"},carousel:{dots:"Wybierz slajd do wyświetlenia",goto:"Idź do {slide}",next:"Następny",prev:"Poprzedni"},chatPrompt:{placeholder:"Tutaj wpisz swoją wiadomość…"},chatPromptSubmit:{label:"Wyślij"},chatReasoning:{thinking:"Myśli…",thought:"Myślenie zakończone",thoughtFor:"Myślenie zajęło {duration}"},colorMode:{dark:"Ciemny",light:"Jasny",switchToDark:"Przełącz na tryb ciemny",switchToLight:"Przełącz na tryb jasny",system:"System"},commandPalette:{back:"Wstecz",close:"Zamknij",noData:"Brak danych",noMatch:"Brak pasujących danych",placeholder:"Wpisz polecenie lub wyszukaj…"},contentSearch:{links:"Linki",theme:"Motyw"},contentSearchButton:{label:"Szukaj…"},contentToc:{title:"Na tej stronie"},dropdownMenu:{noMatch:"Brak pasujących danych",search:"Szukaj…"},dashboardSearch:{theme:"Motyw"},dashboardSearchButton:{label:"Szukaj…"},dashboardSidebarCollapse:{collapse:"Zwiń pasek boczny",expand:"Rozwiń pasek boczny"},dashboardSidebarToggle:{close:"Zamknij pasek boczny",open:"Otwórz pasek boczny"},error:{clear:"Powrót do strony głównej"},fileUpload:{removeFile:"Usuń {filename}"},header:{close:"Zamknij menu",open:"Otwórz menu"},inputMenu:{create:'Utwórz "{label}"',noData:"Brak danych",noMatch:"Brak pasujących danych"},inputNumber:{decrement:"Zmniejsz",increment:"Zwiększ"},modal:{close:"Zamknij"},pricingTable:{caption:"Porównanie planów cenowych"},prose:{codeCollapse:{closeText:"Zwiń",name:"kod",openText:"Rozwiń"},collapsible:{closeText:"Ukryj",name:"właściwości",openText:"Pokaż"},pre:{copy:"Kopiuj kod do schowka"}},sidebar:{close:"Zamknij",toggle:"Przełącz"},selectMenu:{create:'Utwórz "{label}"',noData:"Brak danych",noMatch:"Brak pasujących danych",search:"Szukaj…"},slideover:{close:"Zamknij"},table:{noData:"Brak danych"},toast:{close:"Zamknij"}}}),jj=ve({name:"Português",code:"pt",messages:{alert:{close:"Fechar"},authForm:{hidePassword:"Ocultar senha",showPassword:"Mostrar senha",submit:"Continuar"},banner:{close:"Fechar"},calendar:{nextMonth:"Próximo mês",nextYear:"Próximo ano",prevMonth:"Mês anterior",prevYear:"Ano anterior"},carousel:{dots:"Escolher slide para exibir",goto:"Ir ao diapositivo {slide}",next:"Próximo",prev:"Anterior"},chatPrompt:{placeholder:"Escreva a sua mensagem aqui…"},chatPromptSubmit:{label:"Enviar"},chatReasoning:{thinking:"A pensar…",thought:"Pensou",thoughtFor:"Pensou durante {duration}"},colorMode:{dark:"Escuro",light:"Claro",switchToDark:"Mudar para modo escuro",switchToLight:"Mudar para modo claro",system:"Sistema"},commandPalette:{back:"Voltar",close:"Fechar",noData:"Sem dados",noMatch:"Nenhum dado correspondente",placeholder:"Digite um comando ou pesquise…"},contentSearch:{links:"Links",theme:"Tema"},contentSearchButton:{label:"Pesquisar…"},contentToc:{title:"Nesta página"},dropdownMenu:{noMatch:"Nenhum dado correspondente",search:"Pesquisar…"},dashboardSearch:{theme:"Tema"},dashboardSearchButton:{label:"Pesquisar…"},dashboardSidebarCollapse:{collapse:"Recolher barra lateral",expand:"Expandir barra lateral"},dashboardSidebarToggle:{close:"Fechar barra lateral",open:"Abrir barra lateral"},error:{clear:"Voltar para a página inicial"},fileUpload:{removeFile:"Remover {filename}"},header:{close:"Fechar menu",open:"Abrir menu"},inputMenu:{create:'Criar "{label}"',noData:"Sem dados",noMatch:"Nenhum dado correspondente"},inputNumber:{decrement:"Decrementar",increment:"Incrementar"},modal:{close:"Fechar"},pricingTable:{caption:"Comparação de planos de preços"},prose:{codeCollapse:{closeText:"Recolher",name:"código",openText:"Expandir"},collapsible:{closeText:"Ocultar",name:"propriedades",openText:"Mostrar"},pre:{copy:"Copiar código para a área de transferência"}},sidebar:{close:"Fechar",toggle:"Alternar"},selectMenu:{create:'Criar "{label}"',noData:"Sem dados",noMatch:"Nenhum dado correspondente",search:"Pesquisar…"},slideover:{close:"Fechar"},table:{noData:"Sem dados"},toast:{close:"Fechar"}}}),Vj=ve({name:"Português (Brasil)",code:"pt-BR",messages:{alert:{close:"Fechar"},authForm:{hidePassword:"Ocultar senha",showPassword:"Mostrar senha",submit:"Continuar"},banner:{close:"Fechar"},calendar:{nextMonth:"Próximo mês",nextYear:"Próximo ano",prevMonth:"Mês anterior",prevYear:"Ano anterior"},carousel:{dots:"Escolher slide para exibir",goto:"Ir para a slide {slide}",next:"Próximo",prev:"Anterior"},chatPrompt:{placeholder:"Escreva sua mensagem aqui…"},chatPromptSubmit:{label:"Enviar"},chatReasoning:{thinking:"Pensando…",thought:"Pensou",thoughtFor:"Pensou por {duration}"},colorMode:{dark:"Escuro",light:"Claro",switchToDark:"Mudar para modo escuro",switchToLight:"Mudar para modo claro",system:"Sistema"},commandPalette:{back:"Voltar",close:"Fechar",noData:"Nenhum dado",noMatch:"Nenhum dado correspondente",placeholder:"Digite um comando ou pesquise…"},contentSearch:{links:"Links",theme:"Tema"},contentSearchButton:{label:"Pesquisar…"},contentToc:{title:"Nesta página"},dropdownMenu:{noMatch:"Nenhum dado correspondente",search:"Pesquisar…"},dashboardSearch:{theme:"Tema"},dashboardSearchButton:{label:"Pesquisar…"},dashboardSidebarCollapse:{collapse:"Recolher barra lateral",expand:"Expandir barra lateral"},dashboardSidebarToggle:{close:"Fechar barra lateral",open:"Abrir barra lateral"},error:{clear:"Voltar para a página inicial"},fileUpload:{removeFile:"Remover {filename}"},header:{close:"Fechar menu",open:"Abrir menu"},inputMenu:{create:'Criar "{label}"',noData:"Nenhum dado",noMatch:"Nenhum dado correspondente"},inputNumber:{decrement:"Decrementar",increment:"Incrementar"},modal:{close:"Fechar"},pricingTable:{caption:"Comparação de planos de preços"},prose:{codeCollapse:{closeText:"Recolher",name:"código",openText:"Expandir"},collapsible:{closeText:"Ocultar",name:"propriedades",openText:"Mostrar"},pre:{copy:"Copiar código para a área de transferência"}},sidebar:{close:"Fechar",toggle:"Alternar"},selectMenu:{create:'Criar "{label}"',noData:"Nenhum dado",noMatch:"Nenhum dado correspondente",search:"Pesquisar…"},slideover:{close:"Fechar"},table:{noData:"Nenhum dado"},toast:{close:"Fechar"}}}),zj=ve({name:"Română",code:"ro",messages:{alert:{close:"Închide"},authForm:{hidePassword:"Ascunde parola",showPassword:"Arată parola",submit:"Continuă"},banner:{close:"Închide"},calendar:{nextMonth:"Luna următoare",nextYear:"Anul următor",prevMonth:"Luna precedentă",prevYear:"Anul precedent"},carousel:{dots:"Alegeți diapozitivul de afișat",goto:"Mergi la diapozitivul {slide}",next:"Următor",prev:"Anterior"},chatPrompt:{placeholder:"Scrieți mesajul dvs. aici…"},chatPromptSubmit:{label:"Trimite"},chatReasoning:{thinking:"Se gândește…",thought:"A gândit",thoughtFor:"A gândit {duration}"},colorMode:{dark:"Întunecat",light:"Luminos",switchToDark:"Comută la modul întunecat",switchToLight:"Comută la modul luminos",system:"Sistem"},commandPalette:{back:"Înapoi",close:"Închide",noData:"Nu există date",noMatch:"Nu există date corespunzătoare",placeholder:"Tastează o comandă sau caută…"},contentSearch:{links:"Linkuri",theme:"Temă"},contentSearchButton:{label:"Caută…"},contentToc:{title:"Pe această pagină"},dropdownMenu:{noMatch:"Nu există date corespunzătoare",search:"Caută…"},dashboardSearch:{theme:"Temă"},dashboardSearchButton:{label:"Caută…"},dashboardSidebarCollapse:{collapse:"Restrânge bara laterală",expand:"Extinde bara laterală"},dashboardSidebarToggle:{close:"Închide bara laterală",open:"Deschide bara laterală"},error:{clear:"Înapoi la pagina principală"},fileUpload:{removeFile:"Elimină {filename}"},header:{close:"Închide meniul",open:"Deschide meniul"},inputMenu:{create:'Creează "{label}"',noData:"Nu există date",noMatch:"Nu există date corespunzătoare"},inputNumber:{decrement:"Scade",increment:"Crește"},modal:{close:"Închide"},pricingTable:{caption:"Comparare prețuri"},prose:{codeCollapse:{closeText:"Restrânge",name:"cod",openText:"Extinde"},collapsible:{closeText:"Ascunde",name:"proprietăți",openText:"Afișează"},pre:{copy:"Copiază codul în clipboard"}},sidebar:{close:"Închide",toggle:"Comutare"},selectMenu:{create:'Creează "{label}"',noData:"Nu există date",noMatch:"Nu există date corespunzătoare",search:"Caută…"},slideover:{close:"Închide"},table:{noData:"Nu există date"},toast:{close:"Închide"}}}),Uj=ve({name:"Русский",code:"ru",messages:{alert:{close:"Закрыть"},authForm:{hidePassword:"Скрыть пароль",showPassword:"Показать пароль",submit:"Продолжить"},banner:{close:"Закрыть"},calendar:{nextMonth:"Следующий месяц",nextYear:"Следующий год",prevMonth:"Предыдущий месяц",prevYear:"Предыдущий год"},carousel:{dots:"Выберите слайд для отображения",goto:"Перейти к {slide}",next:"Далее",prev:"Назад"},chatPrompt:{placeholder:"Введите ваше сообщение здесь…"},chatPromptSubmit:{label:"Отправить"},chatReasoning:{thinking:"Размышляет…",thought:"Размышление завершено",thoughtFor:"Размышление заняло {duration}"},colorMode:{dark:"Тёмная",light:"Светлая",switchToDark:"Переключиться на тёмный режим",switchToLight:"Переключиться на светлый режим",system:"Системная"},commandPalette:{back:"Назад",close:"Закрыть",noData:"Нет данных",noMatch:"Совпадений не найдено",placeholder:"Введите команду или выполните поиск…"},contentSearch:{links:"Ссылки",theme:"Тема"},contentSearchButton:{label:"Поиск…"},contentToc:{title:"На этой странице"},dropdownMenu:{noMatch:"Совпадений не найдено",search:"Поиск…"},dashboardSearch:{theme:"Тема"},dashboardSearchButton:{label:"Поиск…"},dashboardSidebarCollapse:{collapse:"Свернуть боковую панель",expand:"Развернуть боковую панель"},dashboardSidebarToggle:{close:"Закрыть боковую панель",open:"Открыть боковую панель"},error:{clear:"Вернуться на главную"},fileUpload:{removeFile:"Удалить {filename}"},header:{close:"Закрыть меню",open:"Открыть меню"},inputMenu:{create:'Создать "{label}"',noData:"Нет данных",noMatch:"Совпадений не найдено"},inputNumber:{decrement:"Уменьшить",increment:"Увеличить"},modal:{close:"Закрыть"},pricingTable:{caption:"Сравнение ценных планов"},prose:{codeCollapse:{closeText:"Свернуть",name:"код",openText:"Развернуть"},collapsible:{closeText:"Скрыть",name:"свойства",openText:"Показать"},pre:{copy:"Скопировать код в буфер обмена"}},sidebar:{close:"Закрыть",toggle:"Переключить"},selectMenu:{create:'Создать "{label}"',noData:"Нет данных",noMatch:"Совпадений не найдено",search:"Поиск…"},slideover:{close:"Закрыть"},table:{noData:"Нет данных"},toast:{close:"Закрыть"}}}),Hj=ve({name:"Slovenčina",code:"sk",messages:{alert:{close:"Zatvoriť"},authForm:{hidePassword:"Skryť heslo",showPassword:"Zobraziť heslo",submit:"Pokračovať"},banner:{close:"Zatvoriť"},calendar:{nextMonth:"Nasledujúci mesiac",nextYear:"Nasledujúci rok",prevMonth:"Predchádzajúci mesiac",prevYear:"Predchádzajúci rok"},carousel:{dots:"Vyberte snímku na zobrazenie",goto:"Prejsť na {slide}",next:"Nasledujúci",prev:"Predchádzajúci"},chatPrompt:{placeholder:"Tu napíšte svoje správu…"},chatPromptSubmit:{label:"Odoslať"},chatReasoning:{thinking:"Premýšľa…",thought:"Premýšľal",thoughtFor:"Premýšľal {duration}"},colorMode:{dark:"Tmavý",light:"Svetlý",switchToDark:"Prepnúť na tmavý režim",switchToLight:"Prepnúť na svetlý režim",system:"Systém"},commandPalette:{back:"Späť",close:"Zavrieť",noData:"Žiadne dáta",noMatch:"Žiadna zhoda",placeholder:"Zadajte príkaz alebo vyhľadajte…"},contentSearch:{links:"Odkazy",theme:"Farebný režim"},contentSearchButton:{label:"Hľadať…"},contentToc:{title:"Na tejto stránke"},dropdownMenu:{noMatch:"Žiadna zhoda",search:"Hľadať…"},dashboardSearch:{theme:"Farebný režim"},dashboardSearchButton:{label:"Hľadať…"},dashboardSidebarCollapse:{collapse:"Zbaliť bočný panel",expand:"Rozbaliť bočný panel"},dashboardSidebarToggle:{close:"Zatvoriť bočný panel",open:"Otvoriť bočný panel"},error:{clear:"Späť na domovskú stránku"},fileUpload:{removeFile:"Odobrať {filename}"},header:{close:"Zatvoriť menu",open:"Otvoriť menu"},inputMenu:{create:'Vytvoriť "{label}"',noData:"Žiadne dáta",noMatch:"Žiadna zhoda"},inputNumber:{decrement:"Znížiť",increment:"Zvýšiť"},modal:{close:"Zatvoriť"},pricingTable:{caption:"Porovnanie cien"},prose:{codeCollapse:{closeText:"Zbaliť",name:"kód",openText:"Rozbaliť"},collapsible:{closeText:"Skryť",name:"vlastnosti",openText:"Zobraziť"},pre:{copy:"Kopírovať kód do schránky"}},sidebar:{close:"Zatvoriť",toggle:"Prepnúť"},selectMenu:{create:'Vytvoriť "{label}"',noData:"Žiadne dáta",noMatch:"Žiadna zhoda",search:"Hľadať…"},slideover:{close:"Zatvoriť"},table:{noData:"Žiadne dáta"},toast:{close:"Zatvoriť"}}}),Kj=ve({name:"Slovenščina",code:"sl",messages:{alert:{close:"Zapri"},authForm:{hidePassword:"Skrij geslo",showPassword:"Prikaži geslo",submit:"Nadaljuj"},banner:{close:"Zapri"},calendar:{nextMonth:"Naslednji mesec",nextYear:"Naslednje leto",prevMonth:"Prejšnji mesec",prevYear:"Prejšnje leto"},carousel:{dots:"Izberite diapozitiv za prikaz",goto:"Pojdi na {slide}",next:"Naprej",prev:"Nazaj"},chatPrompt:{placeholder:"Tukaj napišite svoje sporočilo…"},chatPromptSubmit:{label:"Pošlji sporočilo"},chatReasoning:{thinking:"Razmišlja…",thought:"Razmislil",thoughtFor:"Razmišljal {duration}"},colorMode:{dark:"Temno",light:"Svetlo",switchToDark:"Preklopi na temni način",switchToLight:"Preklopi na svetli način",system:"Sistem"},commandPalette:{back:"Nazaj",close:"Zapri",noData:"Ni podatkov",noMatch:"Ni ujemanj",placeholder:"Vpiši ukaz ali išči…"},contentSearch:{links:"Povezave",theme:"Tema"},contentSearchButton:{label:"Išči…"},contentToc:{title:"Na tej strani"},dropdownMenu:{noMatch:"Ni ujemanj",search:"Išči…"},dashboardSearch:{theme:"Tema"},dashboardSearchButton:{label:"Išči…"},dashboardSidebarCollapse:{collapse:"Strni stransko vrstico",expand:"Razširi stransko vrstico"},dashboardSidebarToggle:{close:"Zapri stransko vrstico",open:"Odpri stransko vrstico"},error:{clear:"Nazaj na domačo stran"},fileUpload:{removeFile:"Odstrani {filename}"},header:{close:"Zapri meni",open:"Odpri meni"},inputMenu:{create:'Ustvari "{label}"',noData:"Ni podatkov",noMatch:"Ni ujemanj"},inputNumber:{decrement:"Zmanjšaj",increment:"Povišaj"},modal:{close:"Zapri"},pricingTable:{caption:"Primerjava cenovnih načrtov"},prose:{codeCollapse:{closeText:"Strni",name:"koda",openText:"Razširi"},collapsible:{closeText:"Skrij",name:"lastnosti",openText:"Prikaži"},pre:{copy:"Kopiraj kodo v odložišče"}},sidebar:{close:"Zapri",toggle:"Preklopi"},selectMenu:{create:'Ustvari "{label}"',noData:"Ni podatkov",noMatch:"Ni ujemanj",search:"Išči…"},slideover:{close:"Zapri"},table:{noData:"Ni podatkov"},toast:{close:"Zapri"}}}),Wj=ve({name:"Shqip",code:"sq",messages:{alert:{close:"Mbyll"},authForm:{hidePassword:"Fshih fjalëkalimin",showPassword:"Shfaq fjalëkalimin",submit:"Vazhdo"},banner:{close:"Mbyll"},calendar:{nextMonth:"Muaji tjetër",nextYear:"Viti tjetër",prevMonth:"Muaji i kaluar",prevYear:"Viti i kaluar"},carousel:{dots:"Zgjidh slajdin për të shfaqur",goto:"Shko te slajdi {slide}",next:"Tjetri",prev:"Para"},chatPrompt:{placeholder:"Shkruaj mesazhin tënd këtu…"},chatPromptSubmit:{label:"Dërgo mesazhin"},chatReasoning:{thinking:"Po mendon…",thought:"Mendoi",thoughtFor:"Mendoi për {duration}"},colorMode:{dark:"Errët",light:"Ndritshëm",switchToDark:"Kalo në modalitetin e errët",switchToLight:"Kalo në modalitetin e ndritshëm",system:"Sistem"},commandPalette:{back:"Pas",close:"Mbyll",noData:"Nuk ka të dhëna",noMatch:"Nuk ka të dhëna që përputhen",placeholder:"Shkruaj një komandë ose kërko…"},contentSearch:{links:"Lidhje",theme:"Tema"},contentSearchButton:{label:"Kërko…"},contentToc:{title:"Në këtë faqe"},dropdownMenu:{noMatch:"Nuk ka të dhëna që përputhen",search:"Kërko…"},dashboardSearch:{theme:"Tema"},dashboardSearchButton:{label:"Kërko…"},dashboardSidebarCollapse:{collapse:"Palos panelin anësor",expand:"Zgjero panelin anësor"},dashboardSidebarToggle:{close:"Mbyll panelin anësor",open:"Hap panelin anësor"},error:{clear:"Kthehu në kryefaqe"},fileUpload:{removeFile:"Hiq {filename}"},header:{close:"Mbyll menunë",open:"Hap menunë"},inputMenu:{create:'Krijo "{label}"',noData:"Nuk ka të dhëna",noMatch:"Nuk ka të dhëna që përputhen"},inputNumber:{decrement:"Zvogëlo",increment:"Rrit"},modal:{close:"Mbyll"},pricingTable:{caption:"Krahasimi i planeve të çmimeve"},prose:{codeCollapse:{closeText:"Palos",name:"kodi",openText:"Zgjero"},collapsible:{closeText:"Fshih",name:"vetitë",openText:"Shfaq"},pre:{copy:"Kopjo kodin në kujtesë"}},sidebar:{close:"Mbyll",toggle:"Ndërro"},selectMenu:{create:'Krijo "{label}"',noData:"Nuk ka të dhëna",noMatch:"Nuk ka të dhëna që përputhen",search:"Kërko…"},slideover:{close:"Mbyll"},table:{noData:"Nuk ka të dhëna"},toast:{close:"Mbyll"}}}),Gj=ve({name:"Svenska",code:"sv",messages:{alert:{close:"Stäng"},authForm:{hidePassword:"Dölj lösenord",showPassword:"Visa lösenord",submit:"Fortsätt"},banner:{close:"Stäng"},calendar:{nextMonth:"Nästa månad",nextYear:"Nästa år",prevMonth:"Föregående månad",prevYear:"Föregående år"},carousel:{dots:"Välj bild att visa",goto:"Gå till {slide}",next:"Nästa",prev:"Föregående"},chatPrompt:{placeholder:"Skriv ditt meddelande här…"},chatPromptSubmit:{label:"Skicka"},chatReasoning:{thinking:"Tänker…",thought:"Tänkte",thoughtFor:"Tänkte i {duration}"},colorMode:{dark:"Mörkt",light:"Ljust",switchToDark:"Byt till mörkt läge",switchToLight:"Byt till ljust läge",system:"System"},commandPalette:{back:"Tillbaka",close:"Stäng",noData:"Inga data",noMatch:"Inga matchande data",placeholder:"Skriv ett kommando eller sök…"},contentSearch:{links:"Länkar",theme:"Tema"},contentSearchButton:{label:"Sök…"},contentToc:{title:"På denna sida"},dropdownMenu:{noMatch:"Inga matchande data",search:"Sök…"},dashboardSearch:{theme:"Tema"},dashboardSearchButton:{label:"Sök…"},dashboardSidebarCollapse:{collapse:"Minimera sidofältet",expand:"Expandera sidofältet"},dashboardSidebarToggle:{close:"Stäng sidofältet",open:"Öppna sidofältet"},error:{clear:"Tillbaka till startsidan"},fileUpload:{removeFile:"Ta bort {filename}"},header:{close:"Stäng menyn",open:"Öppna menyn"},inputMenu:{create:'Skapa "{label}"',noData:"Inga data",noMatch:"Inga matchande data"},inputNumber:{decrement:"Minska",increment:"Öka"},modal:{close:"Stäng"},pricingTable:{caption:"Prisplanering"},prose:{codeCollapse:{closeText:"Minimera",name:"kod",openText:"Expandera"},collapsible:{closeText:"Dölj",name:"egenskaper",openText:"Visa"},pre:{copy:"Kopiera kod till urklipp"}},sidebar:{close:"Stäng",toggle:"Växla"},selectMenu:{create:'Skapa "{label}"',noData:"Inga data",noMatch:"Inga matchande data",search:"Sök…"},slideover:{close:"Stäng"},table:{noData:"Inga data"},toast:{close:"Stäng"}}}),Yj=ve({name:"ไทย",code:"th",messages:{alert:{close:"ปิด"},authForm:{hidePassword:"ซ่อนรหัสผ่าน",showPassword:"แสดงรหัสผ่าน",submit:"ดำเนินการต่อ"},banner:{close:"ปิด"},calendar:{nextMonth:"เดือนถัดไป",nextYear:"ปีถัดไป",prevMonth:"เดือนก่อนหน้า",prevYear:"ปีก่อนหน้า"},carousel:{dots:"เลือกสไลด์ที่จะแสดง",goto:"ไปที่ {slide}",next:"ถัดไป",prev:"ย้อนกลับ"},chatPrompt:{placeholder:"กรุณาป้อนข้อความของคุณที่นี่…"},chatPromptSubmit:{label:"ส่ง"},chatReasoning:{thinking:"กำลังคิด…",thought:"คิดแล้ว",thoughtFor:"คิดเป็นเวลา {duration}"},colorMode:{dark:"มืด",light:"สว่าง",switchToDark:"เปลี่ยนเป็นโหมดมืด",switchToLight:"เปลี่ยนเป็นโหมดสว่าง",system:"ระบบ"},commandPalette:{back:"ย้อนกลับ",close:"ปิด",noData:"ไม่มีข้อมูล",noMatch:"ไม่พบข้อมูลที่ตรงกัน",placeholder:"พิมพ์คำสั่งหรือค้นหา…"},contentSearch:{links:"ลิงก์",theme:"ธีม"},contentSearchButton:{label:"ค้นหา…"},contentToc:{title:"ในหน้านี้"},dropdownMenu:{noMatch:"ไม่พบข้อมูลที่ตรงกัน",search:"ค้นหา…"},dashboardSearch:{theme:"ธีม"},dashboardSearchButton:{label:"ค้นหา…"},dashboardSidebarCollapse:{collapse:"ย่อแถบด้านข้าง",expand:"ขยายแถบด้านข้าง"},dashboardSidebarToggle:{close:"ปิดแถบด้านข้าง",open:"เปิดแถบด้านข้าง"},error:{clear:"กลับไปยังหน้าหลัก"},fileUpload:{removeFile:"ลบ {filename}"},header:{close:"ปิดเมนู",open:"เปิดเมนู"},inputMenu:{create:'สร้าง "{label}"',noData:"ไม่มีข้อมูล",noMatch:"ไม่พบข้อมูลที่ตรงกัน"},inputNumber:{decrement:"ลด",increment:"เพิ่ม"},modal:{close:"ปิด"},pricingTable:{caption:"การเปรียบเทียบราคาสินค้า"},prose:{codeCollapse:{closeText:"ย่อ",name:"โค้ด",openText:"ขยาย"},collapsible:{closeText:"ซ่อน",name:"คุณสมบัติ",openText:"แสดง"},pre:{copy:"คัดลอกโค้ดไปยังคลิปบอร์ด"}},sidebar:{close:"ปิด",toggle:"สลับ"},selectMenu:{create:'สร้าง "{label}"',noData:"ไม่มีข้อมูล",noMatch:"ไม่พบข้อมูลที่ตรงกัน",search:"ค้นหา…"},slideover:{close:"ปิด"},table:{noData:"ไม่มีข้อมูล"},toast:{close:"ปิด"}}}),Zj=ve({name:"Тоҷикӣ",code:"tj",messages:{alert:{close:"Бастан"},authForm:{hidePassword:"Пинҳон кардани парол",showPassword:"Намоиши парол",submit:"Идома додан"},banner:{close:"Пӯшидан"},calendar:{nextMonth:"Моҳи оянда",nextYear:"Соли оянда",prevMonth:"Моҳи гузашта",prevYear:"Соли гузашта"},carousel:{dots:"Слайдро барои намоиш интихоб кунед",goto:"Ба слайди {slide} гузаред",next:"Баъдӣ",prev:"Қаблӣ"},chatPrompt:{placeholder:"Пайём ворид кунед…"},chatPromptSubmit:{label:"Фиристодан"},chatReasoning:{thinking:"Фикр мекунад…",thought:"Фикр кард",thoughtFor:"{duration} фикр кард"},colorMode:{dark:"Торик",light:"Рӯшно",switchToDark:"Гузариш ба ҳолати торик",switchToLight:"Гузариш ба ҳолати рӯшно",system:"Система"},commandPalette:{back:"Бозгашт",close:"Бастан",noData:"Маълумот нест",noMatch:"Маълумоти мувофиқ ёфт нашуд",placeholder:"Фармонро нависед ё ҷустуҷӯ кунед…"},contentSearch:{links:"Пайвандҳо",theme:"Мавзӯъ"},contentSearchButton:{label:"Ҷустуҷӯ"},contentToc:{title:"Мундариҷа"},dropdownMenu:{noMatch:"Маълумоти мувофиқ ёфт нашуд",search:"Ҷустуҷӯ…"},dashboardSearch:{theme:"Мавзӯъ"},dashboardSearchButton:{label:"Ҷустуҷӯ"},dashboardSidebarCollapse:{collapse:"Кам кардан",expand:"Васеъ кардан"},dashboardSidebarToggle:{close:"Пӯшидан",open:"Кушодан"},error:{clear:"Тоза кардан"},fileUpload:{removeFile:"{filename}-ро хориҷ кунед"},header:{close:"Пӯшидан",open:"Кушодан"},inputMenu:{create:'"{label}" созед',noData:"Маълумот нест",noMatch:"Маълумоти мувофиқ ёфт нашуд"},inputNumber:{decrement:"Кам кардан",increment:"Зиёд кардан"},modal:{close:"Бастан"},pricingTable:{caption:"Ҷадвали нархҳо"},prose:{codeCollapse:{closeText:"Кам кардан",name:"код",openText:"Васеъ кардан"},collapsible:{closeText:"Пинҳон кардан",name:"хусусиятҳо",openText:"Намоиш додан"},pre:{copy:"Нусха бардоштан"}},sidebar:{close:"Бастан",toggle:"Иваз кардан"},selectMenu:{create:'"{label}" созед',noData:"Маълумот нест",noMatch:"Маълумоти мувофиқ ёфт нашуд",search:"Ҷустуҷӯ…"},slideover:{close:"Бастан"},table:{noData:"Маълумот нест"},toast:{close:"Бастан"}}}),Xj=ve({name:"Türkçe",code:"tr",messages:{alert:{close:"Kapat"},authForm:{hidePassword:"Şifreyi gizle",showPassword:"Şifreyi göster",submit:"Devam et"},banner:{close:"Kapat"},calendar:{nextMonth:"Sonraki ay",nextYear:"Sonraki yıl",prevMonth:"Önceki ay",prevYear:"Önceki yıl"},carousel:{dots:"Görüntülenecek slaydı seçin",goto:"{slide}. slayda git",next:"Sonraki",prev:"Önceki"},chatPrompt:{placeholder:"Buraya mesajınızı yazın…"},chatPromptSubmit:{label:"Gönder"},chatReasoning:{thinking:"Düşünüyor…",thought:"Düşündü",thoughtFor:"{duration} düşündü"},colorMode:{dark:"Koyu",light:"Açık",switchToDark:"Koyu moda geç",switchToLight:"Açık moda geç",system:"Sistem"},commandPalette:{back:"Geri",close:"Kapat",noData:"Veri yok",noMatch:"Eşleşen veri yok",placeholder:"Bir komut yazın veya arama yapın…"},contentSearch:{links:"Bağlantılar",theme:"Tema"},contentSearchButton:{label:"Ara…"},contentToc:{title:"Bu sayfada"},dropdownMenu:{noMatch:"Eşleşen veri yok",search:"Ara…"},dashboardSearch:{theme:"Tema"},dashboardSearchButton:{label:"Ara…"},dashboardSidebarCollapse:{collapse:"Kenar çubuğunu daralt",expand:"Kenar çubuğunu genişlet"},dashboardSidebarToggle:{close:"Kenar çubuğunu kapat",open:"Kenar çubuğunu aç"},error:{clear:"Ana sayfaya dön"},fileUpload:{removeFile:"{filename} kaldır"},header:{close:"Menüyü kapat",open:"Menüyü aç"},inputMenu:{create:'"{label}" oluştur',noData:"Veri yok",noMatch:"Eşleşen veri yok"},inputNumber:{decrement:"Azalt",increment:"Arttır"},modal:{close:"Kapat"},pricingTable:{caption:"Fiyat planlarını karşılaştır"},prose:{codeCollapse:{closeText:"Daralt",name:"kod",openText:"Genişlet"},collapsible:{closeText:"Gizle",name:"özellikler",openText:"Göster"},pre:{copy:"Kodu panoya kopyala"}},sidebar:{close:"Kapat",toggle:"Değiştir"},selectMenu:{create:'"{label}" oluştur',noData:"Veri yok",noMatch:"Eşleşen veri yok",search:"Ara…"},slideover:{close:"Kapat"},table:{noData:"Veri yok"},toast:{close:"Kapat"}}}),Jj=ve({name:"ئۇيغۇرچە",code:"ug-CN",dir:"rtl",messages:{alert:{close:"تاقاش"},authForm:{hidePassword:"پارولنى يوشۇرۇش",showPassword:"پارولنى كۆرسىتىش",submit:"دەۋام قىلىش"},banner:{close:"تاقاش"},calendar:{nextMonth:"كېلەر ئاي",nextYear:"كېلەر يىل",prevMonth:"ئالدىنقى ئاي",prevYear:"ئالدىنقى يىل"},carousel:{dots:"كۆرسىتىدىغان سلايدنى تاللاڭ",goto:"{slide}-بەتكە ئاتلاش",next:"كېيىنكى بەت",prev:"ئالدىنقى بەت"},chatPrompt:{placeholder:"خەت كىرگۈزۈڭ…"},chatPromptSubmit:{label:"يوللاش"},chatReasoning:{thinking:"ئويلاۋاتىدۇ…",thought:"ئويلاندى",thoughtFor:"{duration} ئويلاندى"},colorMode:{dark:"قاراڭغۇ",light:"يورۇق",switchToDark:"قاراڭغۇ ھالەتكە ئالماشتۇرۇش",switchToLight:"يورۇق ھالەتكە ئالماشتۇرۇش",system:"سىستېما"},commandPalette:{back:"قايتىش",close:"تاقاش",noData:"سانلىق مەلۇمات يوق",noMatch:"ماس كېلىدىغان سانلىق مەلۇمات يوق",placeholder:"بۇيرۇق كىرگۈزۈڭ ياكى ئىزدەڭ…"},contentSearch:{links:"ئۇلانمىلار",theme:"تېما"},contentSearchButton:{label:"ئىزدەش"},contentToc:{title:"مەزمۇن"},dropdownMenu:{noMatch:"ماس كېلىدىغان سانلىق مەلۇمات يوق",search:"ئىزدەش…"},dashboardSearch:{theme:"تېما"},dashboardSearchButton:{label:"ئىزدەش"},dashboardSidebarCollapse:{collapse:"تارايتىش",expand:"كېڭەيتىش"},dashboardSidebarToggle:{close:"تاقاش",open:"ئېچىش"},error:{clear:"تازىلاش"},fileUpload:{removeFile:"{filename} ئۆچۈرۈش"},header:{close:"تاقاش",open:"ئېچىش"},inputMenu:{create:'"{label}" نى قۇرۇش',noData:"سانلىق مەلۇمات يوق",noMatch:"ماس كېلىدىغان سانلىق مەلۇمات يوق"},inputNumber:{decrement:"ئازايتىش",increment:"كۆپەيتىش"},modal:{close:"تاقاش"},pricingTable:{caption:"باھا جەدۋىلى"},prose:{codeCollapse:{closeText:"تارايتىش",name:"كود",openText:"كېڭەيتىش"},collapsible:{closeText:"يوشۇرۇش",name:"خاسلىقلار",openText:"كۆرسىتىش"},pre:{copy:"كۆچۈرۈش"}},sidebar:{close:"تاقاش",toggle:"ئالماشتۇرۇش"},selectMenu:{create:'"{label}" نى قۇرۇش',noData:"سانلىق مەلۇمات يوق",noMatch:"ماس كېلىدىغان سانلىق مەلۇمات يوق",search:"ئىزدەش…"},slideover:{close:"تاقاش"},table:{noData:"سانلىق مەلۇمات يوق"},toast:{close:"تاقاش"}}}),Qj=ve({name:"Українська",code:"uk",messages:{alert:{close:"Закрити"},authForm:{hidePassword:"Приховати пароль",showPassword:"Показати пароль",submit:"Продовжити"},banner:{close:"Закрити"},calendar:{nextMonth:"Наступний місяць",nextYear:"Наступний рік",prevMonth:"Попередній місяць",prevYear:"Попередній рік"},carousel:{dots:"Виберіть слайд для відображення",goto:"Перейти до {slide}",next:"Далі",prev:"Назад"},chatPrompt:{placeholder:"Введіть ваше повідомлення тут…"},chatPromptSubmit:{label:"Відправити"},chatReasoning:{thinking:"Думає…",thought:"Подумав",thoughtFor:"Думав {duration}"},colorMode:{dark:"Темна",light:"Світла",switchToDark:"Перейти до темного режиму",switchToLight:"Перейти до світлого режиму",system:"Системна"},commandPalette:{back:"Назад",close:"Закрити",noData:"Немає даних",noMatch:"Збігів не знайдено",placeholder:"Введіть команду або шукайте…"},contentSearch:{links:"Посилання",theme:"Тема"},contentSearchButton:{label:"Пошук…"},contentToc:{title:"На цій сторінці"},dropdownMenu:{noMatch:"Збігів не знайдено",search:"Пошук…"},dashboardSearch:{theme:"Тема"},dashboardSearchButton:{label:"Пошук…"},dashboardSidebarCollapse:{collapse:"Згорнути бічну панель",expand:"Розгорнути бічну панель"},dashboardSidebarToggle:{close:"Закрити бічну панель",open:"Відкрити бічну панель"},error:{clear:"Повернутися на головну"},fileUpload:{removeFile:"Видалити {filename}"},header:{close:"Закрити меню",open:"Відкрити меню"},inputMenu:{create:'Створити "{label}"',noData:"Немає даних",noMatch:"Збігів не знайдено"},inputNumber:{decrement:"Зменшити",increment:"Збільшити"},modal:{close:"Закрити"},pricingTable:{caption:"Порівняння планів цін"},prose:{codeCollapse:{closeText:"Згорнути",name:"код",openText:"Розгорнути"},collapsible:{closeText:"Сховати",name:"властивості",openText:"Показати"},pre:{copy:"Копіювати код у буфер обміну"}},sidebar:{close:"Закрити",toggle:"Перемикнути"},selectMenu:{create:'Створити "{label}"',noData:"Немає даних",noMatch:"Збігів не знайдено",search:"Пошук…"},slideover:{close:"Закрити"},table:{noData:"Немає даних"},toast:{close:"Закрити"}}}),eV=ve({name:"Urdu",code:"ur",dir:"rtl",messages:{alert:{close:"بند کریں"},authForm:{hidePassword:"پاس ورڈ چھپائیں",showPassword:"پاس ورڈ دکھائیں",submit:"جاری رکھیں"},banner:{close:"بند کریں"},calendar:{nextMonth:"اگلا مہینہ",nextYear:"اگلا سال",prevMonth:"پچھلا مہینہ",prevYear:"پچھلا سال"},carousel:{dots:"دکھانے کے لیے سلائیڈ منتخب کریں",goto:"سلائیڈ {slide} پر جائیں",next:"اگلا",prev:"پچھلا"},chatPrompt:{placeholder:"یہاں اپنا پیغام لکھیں"},chatPromptSubmit:{label:"پیغام بھیجیں"},chatReasoning:{thinking:"سوچ رہا ہے…",thought:"سوچا",thoughtFor:"{duration} سوچا"},colorMode:{dark:"تاریک",light:"روشن",switchToDark:"تاریک موڈ میں تبدیل کریں",switchToLight:"روشن موڈ میں تبدیل کریں",system:"سسٹم"},commandPalette:{back:"واپس",close:"بند کریں",noData:"کوئی ڈیٹا نہیں",noMatch:"کوئی ملتا جلتا ڈیٹا نہیں ملا",placeholder:"کمانڈ ٹائپ کریں یا تلاش کریں…"},contentSearch:{links:"لنکس",theme:"تھیم"},contentSearchButton:{label:"تلاش کریں…"},contentToc:{title:"اس صفحے پر"},dropdownMenu:{noMatch:"کوئی ملتا جلتا ڈیٹا نہیں ملا",search:"تلاش کریں…"},dashboardSearch:{theme:"تھیم"},dashboardSearchButton:{label:"تلاش کریں…"},dashboardSidebarCollapse:{collapse:"سائیڈ بار کو سکیڑیں",expand:"سائیڈ بار کو پھیلائیں"},dashboardSidebarToggle:{close:"سائیڈ بار بند کریں",open:"سائیڈ بار کھولیں"},error:{clear:"ہوم پیج پر واپس جائیں"},fileUpload:{removeFile:"{filename} ہٹائیں"},header:{close:"مینو بند کریں",open:"مینو کھولیں"},inputMenu:{create:'"{label}" بنائیں',noData:"کوئی ڈیٹا نہیں",noMatch:"کوئی ملتا جلتا ڈیٹا نہیں ملا"},inputNumber:{decrement:"کمی",increment:"اضافہ"},modal:{close:"بند کریں"},pricingTable:{caption:"قیمت پلنز کی مقایسہ"},prose:{codeCollapse:{closeText:"سکیڑیں",name:"کوڈ",openText:"پھیلائیں"},collapsible:{closeText:"چھپائیں",name:"خصوصیات",openText:"دکھائیں"},pre:{copy:"کوڈ کاپی کریں"}},sidebar:{close:"بند کریں",toggle:"ٹوگل کریں"},selectMenu:{create:'"{label}" بنائیں',noData:"کوئی ڈیٹا نہیں",noMatch:"کوئی ملتا جلتا ڈیٹا نہیں ملا",search:"تلاش کریں…"},slideover:{close:"بند کریں"},table:{noData:"کوئی ڈیٹا نہیں"},toast:{close:"بند کریں"}}}),tV=ve({name:"Oʻzbek",code:"uz",messages:{alert:{close:"Yopish"},authForm:{hidePassword:"Parolni yashirish",showPassword:"Parolni ko'rsatish",submit:"Davom etish"},banner:{close:"Yopish"},calendar:{nextMonth:"Keyingi oy",nextYear:"Keyingi yil",prevMonth:"Oldingi oy",prevYear:"Oldingi yil"},carousel:{dots:"Koʻrsatish uchun slaydni tanlang",goto:"{slide}-slaydga o'tish",next:"Oldinga",prev:"Ortga"},chatPrompt:{placeholder:"Bu yerda savolingizni yozing…"},chatPromptSubmit:{label:"Jo'natish"},chatReasoning:{thinking:"O'ylayapti…",thought:"O'yladi",thoughtFor:"{duration} o'yladi"},colorMode:{dark:"Qorong'i",light:"Yorug'",switchToDark:"Qorong'i rejimga o'tish",switchToLight:"Yorug' rejimga o'tish",system:"Tizim"},commandPalette:{back:"Orqaga",close:"Yopish",noData:"Maʼlumot yoʻq",noMatch:"Mos keluvchi natija topilmadi",placeholder:"Buyruq kiriting yoki qidiring…"},contentSearch:{links:"Havolalar",theme:"Mavzu"},contentSearchButton:{label:"Qidirish…"},contentToc:{title:"Ushbu sahifada"},dropdownMenu:{noMatch:"Mos keluvchi natija topilmadi",search:"Qidirish…"},dashboardSearch:{theme:"Mavzu"},dashboardSearchButton:{label:"Qidirish…"},dashboardSidebarCollapse:{collapse:"Yon panelni yig'ish",expand:"Yon panelni kengaytirish"},dashboardSidebarToggle:{close:"Yon panelni yopish",open:"Yon panelni ochish"},error:{clear:"Bosh sahifaga qaytish"},fileUpload:{removeFile:"{filename}ni oʻchirish"},header:{close:"Menyuni yopish",open:"Menyuni ochish"},inputMenu:{create:'"{label}" yaratish',noData:"Maʼlumot yoʻq",noMatch:"Mos keluvchi natija topilmadi"},inputNumber:{decrement:"Ayirish",increment:"Qoʻshish"},modal:{close:"Yopish"},pricingTable:{caption:"Narx planlarini taqqoslash"},prose:{codeCollapse:{closeText:"Yig'ish",name:"kod",openText:"Kengaytirish"},collapsible:{closeText:"Yashirish",name:"xususiyatlar",openText:"Ko'rsatish"},pre:{copy:"Koddan buferga nusxa olish"}},sidebar:{close:"Yopish",toggle:"Almashtirish"},selectMenu:{create:'"{label}" yaratish',noData:"Maʼlumot yoʻq",noMatch:"Mos keluvchi natija topilmadi",search:"Qidirish…"},slideover:{close:"Yopish"},table:{noData:"Maʼlumot yoʻq"},toast:{close:"Yopish"}}}),nV=ve({name:"Tiếng Việt",code:"vi",messages:{alert:{close:"Đóng"},authForm:{hidePassword:"Ẩn mật khẩu",showPassword:"Hiển thị mật khẩu",submit:"Tiếp tục"},banner:{close:"Đóng"},calendar:{nextMonth:"Tháng sau",nextYear:"Năm sau",prevMonth:"Tháng trước",prevYear:"Năm trước"},carousel:{dots:"Chọn slide để hiển thị",goto:"Đi tới ô {slide}",next:"Sau",prev:"Trước"},chatPrompt:{placeholder:"Nhập tin nhắn của bạn ở đây…"},chatPromptSubmit:{label:"Gửi"},chatReasoning:{thinking:"Đang suy nghĩ…",thought:"Đã suy nghĩ",thoughtFor:"Đã suy nghĩ {duration}"},colorMode:{dark:"Tối",light:"Sáng",switchToDark:"Chuyển sang chế độ tối",switchToLight:"Chuyển sang chế độ sáng",system:"Hệ thống"},commandPalette:{back:"Quay lại",close:"Đóng",noData:"Không có dữ liệu",noMatch:"Không có kết quả phù hợp",placeholder:"Nhập lệnh hoặc tìm kiếm…"},contentSearch:{links:"Liên kết",theme:"Chủ đề"},contentSearchButton:{label:"Tìm kiếm…"},contentToc:{title:"Trong trang này"},dropdownMenu:{noMatch:"Không có kết quả phù hợp",search:"Tìm kiếm…"},dashboardSearch:{theme:"Chủ đề"},dashboardSearchButton:{label:"Tìm kiếm…"},dashboardSidebarCollapse:{collapse:"Thu gọn thanh bên",expand:"Mở rộng thanh bên"},dashboardSidebarToggle:{close:"Đóng thanh bên",open:"Mở thanh bên"},error:{clear:"Quay lại trang chủ"},fileUpload:{removeFile:"Xóa {filename}"},header:{close:"Đóng menu",open:"Mở menu"},inputMenu:{create:'Tạo "{label}"',noData:"Không có dữ liệu",noMatch:"Không có kết quả phù hợp"},inputNumber:{decrement:"Giảm",increment:"Tăng"},modal:{close:"Đóng"},pricingTable:{caption:"So sánh các kế hoạch giá"},prose:{codeCollapse:{closeText:"Thu gọn",name:"mã",openText:"Mở rộng"},collapsible:{closeText:"Ẩn",name:"thuộc tính",openText:"Hiển thị"},pre:{copy:"Sao chép mã vào bộ nhớ tạm"}},sidebar:{close:"Đóng",toggle:"Chuyển đổi"},selectMenu:{create:'Tạo "{label}"',noData:"Không có dữ liệu",noMatch:"Không có kết quả phù hợp",search:"Tìm kiếm…"},slideover:{close:"Đóng"},table:{noData:"Không có dữ liệu"},toast:{close:"Đóng"}}}),oV=ve({name:"简体中文",code:"zh-CN",messages:{alert:{close:"关闭"},authForm:{hidePassword:"隐藏密码",showPassword:"显示密码",submit:"继续"},banner:{close:"关闭"},calendar:{nextMonth:"下个月",nextYear:"明年",prevMonth:"上个月",prevYear:"去年"},carousel:{dots:"选择要显示的幻灯片",goto:"跳转到第 {slide} 页",next:"下一页",prev:"上一页"},chatPrompt:{placeholder:"在这里输入你的消息…"},chatPromptSubmit:{label:"发送"},chatReasoning:{thinking:"思考中…",thought:"已思考",thoughtFor:"思考了 {duration}"},colorMode:{dark:"深色",light:"浅色",switchToDark:"切换到深色模式",switchToLight:"切换到浅色模式",system:"系统"},commandPalette:{back:"返回",close:"关闭",noData:"没有数据",noMatch:"没有匹配的数据",placeholder:"输入命令或搜索…"},contentSearch:{links:"链接",theme:"主题"},contentSearchButton:{label:"搜索…"},contentToc:{title:"本页内容"},dropdownMenu:{noMatch:"没有匹配的数据",search:"搜索…"},dashboardSearch:{theme:"主题"},dashboardSearchButton:{label:"搜索…"},dashboardSidebarCollapse:{collapse:"收起侧边栏",expand:"展开侧边栏"},dashboardSidebarToggle:{close:"关闭侧边栏",open:"打开侧边栏"},error:{clear:"返回首页"},fileUpload:{removeFile:"删除 {filename}"},header:{close:"关闭菜单",open:"打开菜单"},inputMenu:{create:'创建 "{label}"',noData:"没有数据",noMatch:"没有匹配的数据"},inputNumber:{decrement:"减少",increment:"增加"},modal:{close:"关闭"},pricingTable:{caption:"价格计划比较"},prose:{codeCollapse:{closeText:"收起",name:"代码",openText:"展开"},collapsible:{closeText:"隐藏",name:"属性",openText:"显示"},pre:{copy:"复制代码到剪贴板"}},sidebar:{close:"关闭",toggle:"切换"},selectMenu:{create:'创建 "{label}"',noData:"没有数据",noMatch:"没有匹配的数据",search:"搜索…"},slideover:{close:"关闭"},table:{noData:"没有数据"},toast:{close:"关闭"}}}),uV=ve({name:"繁體中文",code:"zh-TW",messages:{alert:{close:"關閉"},authForm:{hidePassword:"隱藏密碼",showPassword:"顯示密碼",submit:"繼續"},banner:{close:"關閉"},calendar:{nextMonth:"下個月",nextYear:"明年",prevMonth:"上個月",prevYear:"去年"},carousel:{dots:"選擇要顯示的投影片",goto:"跳轉到第 {slide} 頁",next:"下一頁",prev:"上一頁"},chatPrompt:{placeholder:"在這裡輸入你的消息…"},chatPromptSubmit:{label:"發送"},chatReasoning:{thinking:"思考中…",thought:"已思考",thoughtFor:"思考了 {duration}"},colorMode:{dark:"深色",light:"淺色",switchToDark:"切換到深色模式",switchToLight:"切換到淺色模式",system:"系統"},commandPalette:{back:"返回",close:"關閉",noData:"沒有資料",noMatch:"沒有相符的資料",placeholder:"輸入命令或搜尋…"},contentSearch:{links:"連結",theme:"主題"},contentSearchButton:{label:"搜尋…"},contentToc:{title:"本頁內容"},dropdownMenu:{noMatch:"沒有相符的資料",search:"搜尋…"},dashboardSearch:{theme:"主題"},dashboardSearchButton:{label:"搜尋…"},dashboardSidebarCollapse:{collapse:"收起側邊欄",expand:"展開側邊欄"},dashboardSidebarToggle:{close:"關閉側邊欄",open:"開啟側邊欄"},error:{clear:"返回首頁"},fileUpload:{removeFile:"移除 {filename}"},header:{close:"關閉選單",open:"開啟選單"},inputMenu:{create:"建立「{label}」",noData:"沒有資料",noMatch:"沒有相符的資料"},inputNumber:{decrement:"減少",increment:"增加"},modal:{close:"關閉"},pricingTable:{caption:"價格計畫比較"},prose:{codeCollapse:{closeText:"收起",name:"程式碼",openText:"展開"},collapsible:{closeText:"隱藏",name:"屬性",openText:"顯示"},pre:{copy:"複製程式碼到剪貼簿"}},sidebar:{close:"關閉",toggle:"切換"},selectMenu:{create:"建立「{label}」",noData:"沒有資料",noMatch:"沒有相符的資料",search:"搜尋…"},slideover:{close:"關閉"},table:{noData:"沒有資料"},toast:{close:"關閉"}}}),zb=Object.freeze(Object.defineProperty({__proto__:null,ar:QN,az:ej,be:tj,bg:nj,bn:oj,ca:uj,ckb:rj,cs:aj,da:sj,de:ij,de_ch:lj,el:cj,en:pr,en_gb:dj,es:fj,et:pj,eu:hj,fa_ir:mj,fi:gj,fr:vj,gl:yj,he:bj,hi:Ej,hr:Cj,hu:xj,hy:Dj,id:wj,is:Aj,it:Bj,ja:_j,ka:kj,kk:Sj,km:Tj,ko:Fj,ky:Pj,lb:Mj,lo:Oj,lt:Rj,mn:Ij,ms:Lj,nb_no:qj,nl:$j,pl:Nj,pt:jj,pt_br:Vj,ro:zj,ru:Uj,sk:Hj,sl:Kj,sq:Wj,sv:Gj,th:Yj,tj:Zj,tr:Xj,ug_cn:Jj,uk:Qj,ur:eV,uz:tV,vi:nV,zh_cn:oV,zh_tw:uV},Symbol.toStringTag,{value:"Module"}));function Ub(e,t,n){if(t&&n){const o=e.find(u=>u.path===`/${n}`)?.children||e;return o.find(u=>u.path===`/${n}/docs`)?.children||o}else return e.find(o=>o.path==="/docs")?.children||e}function rV(e,t,n=[]){if(e)for(const o of e){const u=[...n,{title:o.title,path:o.path}];if(o.path===t)return u;if(o.children){const r=rV(o.children,t,u);if(r)return r}}}function aV(e){let t=e;for(;t.children?.length;)t=t.children[0];return t.path}function sV(e){const t=Fn(),n=qe(),o=e??Ve("navigation"),u=S(()=>t.meta.layout==="docs"),r=S(()=>{if(u.value)return n.navigation?.sub}),a=S(()=>{if(!(!r.value||!o?.value))return o.value.find(c=>t.path===c.path||t.path.startsWith(c.path+"/"))}),s=S(()=>!r.value||!o?.value?[]:o.value.filter(c=>c.children?.length).map(c=>({label:c.title,icon:c.icon,to:aV(c),active:t.path===c.path||t.path.startsWith(c.path+"/")}))),i=S(()=>r.value&&a.value?a.value.children||[]:o?.value||[]);return{subNavigationMode:r,sections:s,currentSection:a,sidebarNavigation:i}}function qm(e){return!e||Array.isArray(e)&&e.length===0?[]:typeof e[0]=="string"?[{category:"Questions",items:e}]:e}const iV=360,lV=520;function cV(){const e=Qt(),t=qe(),n=e.public.assistant,o=t.assistant,u=t.docus,r=S(()=>n?.enabled??!1),a=Ho("assistant-open",()=>!1),s=Ho("assistant-expanded",()=>!1),i=Ho("assistant-messages",()=>[]),c=Ho("assistant-pending",()=>{}),l=aR("(max-width: 767px)"),d=S(()=>s.value?lV:iV),f=S(()=>!l.value&&a.value),p=S(()=>{const C=o?.faqQuestions;if(!C)return[];if(!Array.isArray(C)){const x=C,w=u?.locale||"en",B=e.public.i18n?.defaultLocale||"en",_=x[w]||x[B]||Object.values(x)[0];return qm(_||[])}return qm(C)});function m(C,x=!1){x&&(i.value=[]),C&&(c.value=C),a.value=!0}function g(){c.value=void 0}function E(){a.value=!1}function b(){a.value=!a.value}function y(){i.value=[]}function v(){s.value=!s.value}return{isEnabled:r,isOpen:a,isExpanded:s,isMobile:l,panelWidth:d,shouldPushContent:f,messages:i,pendingMessage:c,faqQuestions:p,open:m,clearPending:g,close:E,toggle:b,toggleExpanded:v,clearMessages:y}}const dV={docs:"v3.5.0--8g7emoS-lP-LfJTfGMCaoofT82Ui3Wqh1Ry74ZsXwVI",landing:"v3.5.0--YWnvdYoetmuN-YXrrYJH3EMhW8w9GDogx_V5uza0JLU"},fV={docs:"_content_docs",landing:"_content_landing",info:"_content_info"},nz={docs:{type:"page",fields:{id:"string",title:"string",body:"json",description:"string",extension:"string",links:"json",meta:"json",navigation:"json",path:"string",seo:"json",stem:"string"}},landing:{type:"page",fields:{id:"string",title:"string",body:"json",description:"string",extension:"string",meta:"json",navigation:"json",path:"string",seo:"json",stem:"string"}},info:{type:"data",fields:{}}},ki=(e,t)=>{const n=e._conditions;return n.length>0?`(${n.join(` ${t} `)})`:""},Si=e=>{const t=[],n={_conditions:t,where(o,u,r){let a;switch(u.toUpperCase()){case"IN":case"NOT IN":if(Array.isArray(r)){const s=r.map(i=>Ur(i)).join(", ");a=`"${String(o)}" ${u.toUpperCase()} (${s})`}else throw new TypeError(`Value for ${u} must be an array`);break;case"BETWEEN":case"NOT BETWEEN":if(Array.isArray(r)&&r.length===2)a=`"${String(o)}" ${u.toUpperCase()} ${Ur(r[0])} AND ${Ur(r[1])}`;else throw new Error(`Value for ${u} must be an array with two elements`);break;case"IS NULL":case"IS NOT NULL":a=`"${String(o)}" ${u.toUpperCase()}`;break;case"LIKE":case"NOT LIKE":a=`"${String(o)}" ${u.toUpperCase()} ${Ur(r)}`;break;default:a=`"${String(o)}" ${u} ${Ur(typeof r=="boolean"?Number(r):r)}`}return t.push(`${a}`),n},andWhere(o){const u=o(Si());return t.push(ki(u,"AND")),n},orWhere(o){const u=o(Si());return t.push(ki(u,"OR")),n}};return n},pV=(e,t)=>{const n={conditions:[],selectedFields:[],offset:0,limit:0,orderBy:[],count:{field:"",distinct:!1}},o={__params:n,andWhere(r){const a=r(Si());return n.conditions.push(ki(a,"AND")),o},orWhere(r){const a=r(Si());return n.conditions.push(ki(a,"OR")),o},path(r){return o.where("path","=",rr(r))},skip(r){return n.offset=r,o},where(r,a,s){return o.andWhere(i=>i.where(String(r),a,s)),o},limit(r){return n.limit=r,o},select(...r){return r.length&&n.selectedFields.push(...r),o},order(r,a){return n.orderBy.push(`"${String(r)}" ${a}`),o},async all(){return t(e,u()).then(r=>r||[])},async first(){return t(e,u({limit:1})).then(r=>r[0]||null)},async count(r="*",a=!1){return t(e,u({count:{field:String(r),distinct:a}})).then(s=>s[0].count)}};function u(r={}){let a="SELECT ";if(r?.count)a+=`COUNT(${r.count.distinct?"DISTINCT ":""}${r.count.field}) as count`;else{const i=Array.from(new Set(n.selectedFields));a+=i.length>0?i.map(c=>`"${String(c)}"`).join(", "):"*"}a+=` FROM ${fV[String(e)]}`,n.conditions.length>0&&(a+=` WHERE ${n.conditions.join(" AND ")}`),n.orderBy.length>0?a+=` ORDER BY ${n.orderBy.join(", ")}`:a+=" ORDER BY stem ASC";const s=r?.limit||n.limit;return s>0&&(n.offset>0?a+=` LIMIT ${s} OFFSET ${n.offset}`:a+=` LIMIT ${s}`),a}return o};function Ur(e){return`'${String(e).replace(/'/g,"''")}'`}const hV=/\d/,mV=["-","_","/","."];function gV(e=""){if(!hV.test(e))return e!==e.toLowerCase()}function Hb(e,t){const n=mV,o=[];if(!e||typeof e!="string")return o;let u="",r,a;for(const s of e){const i=n.includes(s);if(i===!0){o.push(u),u="",r=void 0;continue}const c=gV(s);if(a===!1){if(r===!1&&c===!0){o.push(u),u=s,r=c;continue}if(r===!0&&c===!1&&u.length>1){const l=u.at(-1);o.push(u.slice(0,Math.max(0,u.length-1))),u=l+s,r=c;continue}}u+=s,r=c,a=i}return o.push(u),o}function vV(e){return e?e[0].toUpperCase()+e.slice(1):""}function yV(e,t){return e?(Array.isArray(e)?e:Hb(e)).map(n=>vV(t?.normalize?n.toLowerCase():n)).join(""):""}function oz(e,t){return e?(Array.isArray(e)?e:Hb(e)).map(n=>n.toLowerCase()).join("-"):""}function M0(e){return t=>(t=t||{},(e||[]).filter(n=>typeof t[n]<"u").reduce((n,o)=>Object.assign(n,{[o]:t[o]}),{}))}async function Kb(e,t=[]){e.__params?.orderBy?.length||(e=e.order("stem","ASC"));const o=await e.orWhere(c=>c.where("navigation","<>","false").where("navigation","IS NULL")).select("navigation","stem","path","title","meta",...t||[]).all(),{contents:u,configs:r}=o.reduce((c,l)=>{if(String(l.stem).split("/").pop()===".navigation"){l.title=l.title?.toLowerCase()==="navigation"?"":l.title;const d=l.path.split("/").slice(0,-1).join("/")||"/";c.configs[d]={...l,...l.body}}else c.contents.push(l);return c},{configs:{},contents:[]}),a=c=>({...M0(["title",...t])(c),...c.meta,...$m(c?.navigation)?c.navigation:{}}),s=c=>({...M0(["title",...t])(c),...$m(c?.navigation)?c.navigation:{}}),i=u.reduce((c,l)=>{const d=l.path.substring(1).split("/"),f=l.stem.split("/"),p=!!f[f.length-1]?.match(/([1-9]\d*\.)?index/g),m=y=>({title:y.title,path:y.path,stem:y.stem,children:[],...s(y)}),g=m(l);if(p){const y=r[g.path];if(typeof y?.navigation<"u"&&y?.navigation===!1)return c;if(l.path!=="/"){const v=m(l);g.children.push(v)}y&&Object.assign(g,a(y))}if(d.length===1){const y=c.find(v=>v.path===g.path&&v.page===!1);return p&&y?Object.assign(y,{page:void 0,children:[...g.children||[],...y.children||[]]}):c.push(g),c}const E=d.slice(0,-1).reduce((y,v,C)=>{const x="/"+d.slice(0,C+1).join("/"),w=r[x];if(typeof w?.navigation<"u"&&w.navigation===!1)return[];let B=y.find(_=>_.path===x);if(!B){const _=w?a(w):{};B={..._,title:_.title||bV(v),path:x,stem:f.slice(0,C+1).join("/"),children:[],page:!1},y.push(B)}return B.children},c),b=E.find(y=>y.path===g.path&&y.page===!1);return b?Object.assign(b,{...g,page:void 0,children:[...g.children||[],...b.children||[]]}):E.push(g),c},[]);return Wb(i)}function Wb(e){const t=e;for(const n of t)n.children?.length?Wb(n.children):delete n.children;return e}function $m(e){return e!==null&&Object.prototype.toString.call(e)==="[object Object]"}const bV=e=>e.split(/[\s-]/g).map(yV).join(" ");async function EV(e,t,n){const{before:o=1,after:u=1,fields:r=[]}=n||{},a=await Kb(e,r),s=Gb(a),i=s.findIndex(d=>d.path===t),c=i===-1?[]:s.slice(i-o,i),l=i===-1?[]:s.slice(i+1,i+u+1);return[...Array.from({length:o}).fill(null).concat(c).slice(c.length),...l.concat(Array.from({length:u}).fill(null)).slice(0,u)]}function Gb(e){return e.flatMap(n=>{const o=n.children?Gb(n.children):[];return n.page===!1||o.length&&o.find(u=>u.path===n.path)?o:[{...n,children:void 0},...o]})}function CV(e){return{type:"root",children:e.value.map(Yb)}}function Yb(e){if(typeof e=="string")return{type:"text",value:e};const[t,n,...o]=e;return{type:"element",tag:t,props:n,children:o.map(Yb)}}const xV=/^h([1-6])$/,O0=e=>Number(e.match(xV)?.[1]??0);async function DV(e,t){const{ignoredTags:n=[],extraFields:o=[],minHeading:u="h1",maxHeading:r="h6"}={},a=O0(u),s=O0(r);return(await e.where("extension","=","md").select("path","body","description","title",...o||[]).all()).flatMap(c=>wV(c,{ignoredTags:n,extraFields:o,minLevel:a,maxLevel:s}))}function wV(e,{ignoredTags:t,extraFields:n,minLevel:o,maxLevel:u}){const r=!e.body||e.body?.type==="root"?e.body:CV(e.body),a=e.path??"",s=M0(n)(e),i=[{...s,id:a,title:e.title||"",titles:[],content:(e.description||"").trim(),level:1}];if(!r?.children)return i;let c=1,l=0;const d=[e.title??""];for(const f of r.children){const p=f.tag||"",m=O0(p);if(m>=o&&m<=u){const g=R0(f).trim();m===1?d.splice(0,d.length):mR0(o,t)).filter(Boolean).join("")),n)}async function Zb(e,t,n,o){const u=e?Z5(e):{};u["accept-encoding"]=void 0;const r=`/__nuxt_content/${t}/${n}`,a={...o,headers:{...u,...o.headers},query:{v:dV[String(t)],t:void 0}};return e?await e.$fetch(r,a):await $fetch(r,a)}async function uz(e,t){return Zb(e,t,"sql_dump.txt",{responseType:"text",headers:{"content-type":"text/plain"}})}async function AV(e,t,n){return Zb(e,t,"query",{headers:{"content-type":"application/json"},method:"POST",body:{sql:n}})}const BV=e=>{const t=Z3()?.ssrContext?.event;return pV(e,(n,o)=>_V(t,n,o))};function Xb(e,t){return Bf(e,n=>Kb(n,t))}function rz(e,t,n){return Bf(e,o=>EV(o,t,n))}function Jb(e,t){return Bf(e,n=>DV(n))}async function _V(e,t,n){return window.WebAssembly?kV(t,n):AV(e,String(t),n)}async function kV(e,t){return await te(()=>import("./CfdcdzjK.js"),[],import.meta.url).then(o=>o.loadDatabaseAdapter(e)).then(o=>o.all(t))}function Bf(e,t){const n=BV(e),o={where(u,r,a){return n.where(String(u),r,a),o},andWhere(u){return n.andWhere(u),o},orWhere(u){return n.orWhere(u),o},order(u,r){return n.order(String(u),r),o},then(u,r){return t(n).then(u,r)},catch(u){return this.then(void 0,u)},finally(u){return this.then(void 0,void 0).finally(u)},get[Symbol.toStringTag](){return"Promise"}};return o}const SV=Ee(()=>te(()=>import("./Bq3ieHZ5.js"),__vite__mapDeps([26,15,1]),import.meta.url).then(e=>e.default||e)),TV=Ee(()=>te(()=>import("./CANCTBfH.js"),[],import.meta.url).then(e=>e.default||e)),FV=Ee(()=>te(()=>import("./CANCTBfH.js"),[],import.meta.url).then(e=>e.default||e)),PV=N({__name:"app",async setup(e){let t,n;const{seo:o}=qe(),u=Ib(),{locale:r,locales:a,isEnabled:s,switchLocalePath:i}=pl(),{isEnabled:c,panelWidth:l,shouldPushContent:d}=cV(),f=S(()=>zb[r.value]||pr),p=S(()=>f.value.code),m=S(()=>f.value.dir),g=S(()=>s.value?`docs_${r.value}`:"docs");if(sd({meta:[{name:"viewport",content:"width=device-width, initial-scale=1"}],link:[{rel:"icon",href:"/favicon.ico"}],htmlAttrs:{lang:p,dir:m}}),hv({titleTemplate:o.titleTemplate,title:o.title,description:o.description,ogSiteName:u.name,twitterCard:"summary_large_image"}),s.value){const v=Fn(),C=Qt().public.i18n.defaultLocale;je(()=>{const x=v.path.split("/")[1];if(!a.some(w=>w.code===x))return Ki(i(C))})}const{data:E}=([t,n]=Wg(()=>hd(()=>`navigation_${g.value}`,()=>Xb(g.value),{transform:v=>Ub(v,s.value,r.value),watch:[r]})),t=await t,n(),t),{data:b}=zv(`search_${g.value}`,()=>Jb(g.value),{server:!1,watch:[r]});St("navigation",E);const{subNavigationMode:y}=sV(E);return(v,C)=>{const x=RB,w=Lb,B=CN,_=_N,F=Nb,R=SV,Z=TV,q=FV,Q=pd,X=Vb;return D(),T(X,{locale:h(f)},{default:k(()=>[z(x,{color:"var(--ui-primary)"}),tt("div",{class:oe(["transition-[margin-right] duration-200 ease-linear will-change-[margin-right]",{"docus-sub-header":h(y)==="header"}]),style:xn({marginRight:h(d)?`${h(l)}px`:"0"})},[(v._.provides[xo]||v.$route).meta.header!==!1?(D(),T(w,{key:0})):ue("",!0),z(_,null,{default:k(()=>[z(B)]),_:1}),(v._.provides[xo]||v.$route).meta.footer!==!1?(D(),T(F,{key:1})):ue("",!0)],6),z(Q,null,{default:k(()=>[z(R,{files:h(b),navigation:h(E)},null,8,["files","navigation"]),h(c)?(D(),le(Se,{key:0},[z(Z),z(q)],64)):ue("",!0)]),_:1})]),_:1},8,["locale"])}}}),MV={slots:{root:"min-h-[calc(100vh-var(--ui-header-height))] flex flex-col items-center justify-center text-center",statusCode:"text-base font-semibold text-primary",statusMessage:"mt-2 text-4xl sm:text-5xl font-bold text-highlighted text-balance",message:"mt-4 text-lg text-muted text-balance",links:"mt-8 flex items-center justify-center gap-6"}},OV={__name:"UError",props:{as:{type:null,required:!1,default:"main"},error:{type:Object,required:!1},redirect:{type:String,required:!1,default:"/"},clear:{type:[Boolean,Object],required:!1,default:!0},class:{type:null,required:!1},ui:{type:Object,required:!1}},setup(e){const t=e,n=Ht(),{t:o}=eu(),u=qe(),r=Ct("error",t),a=S(()=>Fe({extend:Fe(MV),...u.ui?.error||{}})());function s(){nv({redirect:t.redirect})}return(i,c)=>(D(),T(h(Ae),{as:e.as,"data-slot":"root",class:oe(a.value.root({class:[h(r)?.root,t.class]}))},{default:k(()=>[t.error?.statusCode||t.error?.status||n.statusCode?(D(),le("p",{key:0,"data-slot":"statusCode",class:oe(a.value.statusCode({class:h(r)?.statusCode}))},[M(i.$slots,"statusCode",{},()=>[Qe(Me(t.error?.statusCode||t.error?.status),1)])],2)):ue("",!0),t.error?.statusMessage||t.error?.statusText||n.statusMessage?(D(),le("h1",{key:1,"data-slot":"statusMessage",class:oe(a.value.statusMessage({class:h(r)?.statusMessage}))},[M(i.$slots,"statusMessage",{},()=>[Qe(Me(t.error?.statusMessage||t.error?.statusText),1)])],2)):ue("",!0),t.error?.message&&t.error.message!==(t.error.statusMessage||t.error.statusText)||n.message?(D(),le("p",{key:2,"data-slot":"message",class:oe(a.value.message({class:h(r)?.message}))},[M(i.$slots,"message",{},()=>[Qe(Me(t.error?.message),1)])],2)):ue("",!0),e.clear||n.links?(D(),le("div",{key:3,"data-slot":"links",class:oe(a.value.links({class:h(r)?.links}))},[M(i.$slots,"links",{},()=>[e.clear?(D(),T(Jt,G({key:0,size:"lg",color:"primary",variant:"solid",label:h(o)("error.clear")},typeof e.clear=="object"?e.clear:{},{onClick:s}),null,16,["label"])):ue("",!0)])],2)):ue("",!0)]),_:3},8,["as","class"]))}},RV=Ee(()=>te(()=>import("./Bq3ieHZ5.js"),__vite__mapDeps([26,15,1]),import.meta.url).then(e=>e.default||e)),IV=N({__name:"error",props:{error:{}},async setup(e){let t,n;const o=e,{locale:u,locales:r,isEnabled:a,t:s,switchLocalePath:i}=pl(),c=S(()=>zb[u.value]||pr),l=S(()=>c.value.code),d=S(()=>c.value.dir);sd({htmlAttrs:{lang:l,dir:d}});const f=S(()=>({...o.error,statusMessage:s("common.error.title"),message:s("common.error.description")}));if(hv({title:()=>s("common.error.title"),description:()=>s("common.error.description")}),a.value){const E=Fn(),b=Qt().public.i18n.defaultLocale;je(()=>{const y=E.path.split("/")[1];if(!r.some(v=>v.code===y))return Ki(i(b))})}const p=S(()=>a.value?`docs_${u.value}`:"docs"),{data:m}=([t,n]=Wg(()=>hd(`navigation_${p.value}`,()=>Xb(p.value),{transform:E=>Ub(E,a.value,u.value),watch:[u]})),t=await t,n(),t),{data:g}=zv(`search_${p.value}`,()=>Jb(p.value),{server:!1});return St("navigation",m),(E,b)=>{const y=Lb,v=OV,C=Nb,x=RV,w=pd,B=Vb;return D(),T(B,{locale:h(c)},{default:k(()=>[z(y),z(v,{error:h(f)},null,8,["error"]),z(C),z(w,null,{default:k(()=>[z(x,{files:h(g),navigation:h(m)},null,8,["files","navigation"])]),_:1})]),_:1},8,["locale"])}}}),LV={key:0},Nm={__name:"nuxt-root",setup(e){const t=()=>null,n=Ie(),o=n.deferHydration();if(n.isHydrating){const c=n.hooks.hookOnce("app:error",o);Ut().beforeEach(c)}const u=!1;St(xo,Fn()),n.hooks.callHookWith(c=>c.map(l=>l()),"vue:setup");const r=Wi(),a=!1,s=/bot\b|chrome-lighthouse|facebookexternalhit|google\b/i;Lg((c,l,d)=>{if(n.hooks.callHook("vue:error",c,l,d)?.catch(f=>console.error("[nuxt] Error in `vue:error` hook",f)),s.test(navigator.userAgent))return n.hooks.callHook("app:error",c),console.error(`[nuxt] Not rendering error page for bot with user agent \`${navigator.userAgent}\`:`,c),!1;if(ov(c)&&(c.fatal||c.unhandled))return n.runWithContext(()=>du(c)),!1});const i=!1;return(c,l)=>(D(),T(J0,{onResolve:h(o)},{default:k(()=>[h(a)?(D(),le("div",LV)):h(r)?(D(),T(h(IV),{key:1,error:h(r)},null,8,["error"])):h(i)?(D(),T(h(t),{key:2,context:h(i)},null,8,["context"])):h(u)?(D(),T(ln(h(u)),{key:3})):(D(),T(h(PV),{key:4}))]),_:1},8,["onResolve"]))}};let jm;{let e;jm=async function(){if(e)return e;const n=!!(window.__NUXT__?.serverRendered??document.getElementById("__NUXT_DATA__")?.dataset.ssr==="true"),o=n?SC(Nm):kC(Nm),u=V5({vueApp:o});async function r(a){await u.callHook("app:error",a),u.payload.error||=Yo(a)}o.config.errorHandler=r,u.hook("app:suspense:resolve",()=>{o.config.errorHandler===r&&(o.config.errorHandler=void 0)}),!n&&Ep.id&&u.hook("app:suspense:resolve",()=>{document.getElementById(Ep.id)?.remove()});try{await H5(u,FB)}catch(a){r(a)}try{await u.hooks.callHook("app:created",o),await u.hooks.callHook("app:beforeMount",o),o.mount($5),await u.hooks.callHook("app:mounted",o),await He()}catch(a){r(a)}return o},e=jm().catch(t=>{throw console.error("Error while mounting app:",t),t})}export{eu as $,B1 as A,z as B,S3 as C,bn as D,Cg as E,Se as F,je as G,en as H,Dn as I,ce as J,qV as K,y1 as L,PE as M,xu as N,$e as O,Ae as P,Ht as Q,VV as R,j7 as S,At as T,T_ as U,Br as V,ln as W,xn as X,Sn as Y,fy as Z,Xg as _,T as a,$_ as a$,qe as a0,Ct as a1,Et as a2,fn as a3,nr as a4,NV as a5,ZE as a6,Xd as a7,My as a8,Kd as a9,z$ as aA,GV as aB,XV as aC,Py as aD,Fy as aE,YV as aF,dl as aG,Sr as aH,Pu as aI,QV as aJ,ZV as aK,GT as aL,mT as aM,ET as aN,St as aO,_P as aP,Fn as aQ,$N as aR,Qt as aS,ez as aT,pl as aU,cV as aV,iO as aW,ji as aX,Fo as aY,Ut as aZ,Ie as a_,Zd as aa,vn as ab,oe as ac,cl as ad,_M as ae,tt as af,Me as ag,Qe as ah,Vy as ai,jg as aj,Jt as ak,Kg as al,Fe as am,at as an,Ot as ao,o_ as ap,PM as aq,gi as ar,KV as as,CF as at,lO as au,on as av,De as aw,ke as ax,yF as ay,nt as az,Zc as b,i0 as b$,L_ as b0,R_ as b1,sV as b2,hN as b3,Sb as b4,Ve as b5,Wg as b6,hd as b7,oz as b8,BV as b9,X_ as bA,K_ as bB,Ky as bC,Ho as bD,ao as bE,Eg as bF,jV as bG,nS as bH,HV as bI,UV as bJ,z7 as bK,zg as bL,br as bM,X2 as bN,$V as bO,Ad as bP,h0 as bQ,Pd as bR,Fd as bS,zh as bT,Pg as bU,WV as bV,Tb as bW,nz as bX,fV as bY,dV as bZ,uz as b_,rz as ba,Yo as bb,rV as bc,ze as bd,Tt as be,et as bf,Ne as bg,jf as bh,yV as bi,Ee as bj,bu as bk,vt as bl,RC as bm,te as bn,CV as bo,Ib as bp,hv as bq,sd as br,Cr as bs,rr as bt,Ig as bu,xa as bv,wd as bw,O1 as bx,Y_ as by,Q_ as bz,S as c,JV as c0,N as d,le as e,ue as f,Ft as g,$a as h,Bu as i,k_ as j,el as k,$t as l,G as m,He as n,D as o,k as p,M as q,dn as r,h as s,Be as t,jn as u,L as v,Ce as w,zB as x,zV as y,lt as z}; +`)}function JP(e,t={}){const n=t.customise?t.customise(e.body):e.body,o=t.mode||(t.color||!n.includes("currentColor")?"background":"mask");let u=t.varName;u===void 0&&o==="mask"&&(u="svg");const r={...t,mode:o,varName:u};o==="background"&&delete r.varName;const a={...t.rules,...YP(r),...ZP({...Yd,...e,body:n},r)};return XP([{selector:t.iconSelector||".icon",rules:a}],r.format)}let Jh=!1;function Ry(e){if(Jh)return;const t=JSON.parse('[{"prefix":"lucide","icons":{"arrow-right":{"width":24,"height":24,"body":""},"arrow-up-circle":{"width":24,"height":24,"body":""},"at-sign":{"width":24,"height":24,"body":""},"bell":{"width":24,"height":24,"body":""},"chevron-down":{"width":24,"height":24,"body":""},"database":{"width":24,"height":24,"body":""},"download":{"width":24,"height":24,"body":""},"heart-handshake":{"width":24,"height":24,"body":""},"messages-square":{"width":24,"height":24,"body":""},"paperclip":{"width":24,"height":24,"body":""},"puzzle":{"width":24,"height":24,"body":""},"radio":{"width":24,"height":24,"body":""},"scale":{"width":24,"height":24,"body":""},"settings":{"width":24,"height":24,"body":""},"shield":{"width":24,"height":24,"body":""},"sliders":{"width":24,"height":24,"body":""},"smile":{"width":24,"height":24,"body":""},"triangle-alert":{"width":24,"height":24,"body":""}}},{"prefix":"simple-icons","icons":{"github":{"width":24,"height":24,"body":""},"laravel":{"width":24,"height":24,"body":""}}},{"prefix":"custom","icons":{"ai":{"width":20,"height":20,"body":"artificial-intelligence"}}}]');for(const n of t)for(const[o,u]of Object.entries(n.icons))e(n.prefix?n.prefix+":"+o:o,u);Jh=!0}async function QP(e,t){if(!e)return null;Ry(Ca);const n=Uc(e);return n||(await Xw(e).catch(()=>(console.warn(`[Icon] failed to load icon \`${e}\``),null)),Uc(e))}function Iy(e){const t=qe().icon,n=(t.collections||[]).sort((o,u)=>u.length-o.length);return S(()=>{const o=e(),u=o.startsWith(t.cssSelectorPrefix)?o.slice(t.cssSelectorPrefix.length):o,r=t.aliases?.[u]||u;if(!r.includes(":")){const a=n.find(s=>r.startsWith(s+"-"));return a?a+":"+r.slice(a.length+1):r}return r})}function Ly(e,t){if(e!==!1)return e===!0||e===null?t:e}let jr;function eM(e){return e.replace(/([^\w-])/g,"\\$1")}function tM(){if(jr)return jr;jr=new Set;const e=n=>{if(n=n.replace(/^:where\((.*)\)$/,"$1").trim(),n.startsWith("."))return n},t=n=>{if(n?.length)for(const o of n){o?.cssRules&&t(o.cssRules);const u=o?.selectorText;if(typeof u=="string"){const r=e(u);r&&jr.add(r)}}};if(typeof document<"u")for(const n of document.styleSheets)try{const o=n.cssRules||n.rules;t(o)}catch{}return jr}const nM=N({name:"NuxtIconCss",props:{name:{type:String,required:!0},customize:{type:[Function,Boolean,null],default:null,required:!1}},setup(e){const t=Ie(),n=qe().icon,o=S(()=>e.name?n.cssSelectorPrefix+e.name:"");function u(s){if(!s)return;const i=Uc(s);if(i)return i;const c=t.payload?.data?.[s];if(c)return Ca(s,c),c}const r=S(()=>"."+eM(o.value));function a(s,i=!0){let c=r.value;n.cssWherePseudo&&(c=`:where(${c})`);const l=JP(s,{iconSelector:c,format:"compressed",customise:Ly(e.customize,n.customize)});return n.cssLayer&&i?`@layer ${n.cssLayer} { ${l} }`:l}{const s=tM();async function i(c){if(s.has(r.value)||typeof document>"u")return;const l=document.createElement("style");l.textContent=a(c);const d=document.head.querySelector('style, link[rel="stylesheet"]');d?document.head.insertBefore(l,d):document.head.appendChild(l),s.add(r.value)}Ce(()=>e.name,()=>{if(s.has(r.value))return;const c=u(e.name);c?i(c):QP(e.name).then(l=>{l&&i(l)}).catch(()=>null)},{immediate:!0})}return()=>ze("span",{class:["iconify",o.value]})}}),oM=N({name:"NuxtIconSvg",props:{name:{type:String,required:!0},customize:{type:[Function,Boolean,null],default:null,required:!1}},setup(e,{slots:t}){const n=Ie(),o=qe().icon,u=Iy(()=>e.name),r="i-"+u.value;if(u.value){const a=n.payload.data[r];a?Ca(u.value,a):Ry(Ca)}return()=>ze(cA,{icon:u.value,ssr:!0,customise:Ly(e.customize,o.customize)},t)}}),qy=N({name:"NuxtIcon",props:{name:{type:String,required:!0},mode:{type:String,required:!1,default:null},size:{type:[Number,String],required:!1,default:null},customize:{type:[Function,Boolean,null],default:null,required:!1}},setup(e,{slots:t}){const n=Ie(),o=qe().icon,u=Iy(()=>e.name),r=S(()=>n.vueApp?.component(u.value)||((e.mode||o.mode)==="svg"?oM:nM)),a=S(()=>{const s=e.size||o.size;return s?{fontSize:Number.isNaN(+s)?s:s+"px"}:null});return()=>ze(r.value,{...o.attrs,name:u.value,class:o.class,style:a.value,customize:e.customize},t)}}),uM=Object.freeze(Object.defineProperty({__proto__:null,default:qy},Symbol.toStringTag,{value:"Module"})),vn={__name:"UIcon",props:{name:{type:null,required:!0},mode:{type:String,required:!1},size:{type:[String,Number],required:!1},customize:{type:[Function,Boolean,null],required:!1}},setup(e){const n=on(fn(e,"name","mode","size","customize"));return(o,u)=>{const r=qy;return typeof e.name=="string"?(D(),T(r,De(G({key:0},h(n))),null,16)):(D(),T(ln(e.name),{key:1}))}}};async function rM(e,t){return await aM(t).catch(o=>(console.error("Failed to get image meta for "+t,o+""),{width:0,height:0,ratio:0}))}async function aM(e){if(typeof Image>"u")throw new TypeError("Image not supported");return new Promise((t,n)=>{const o=new Image;o.onload=()=>{const u={width:o.width,height:o.height,ratio:o.width/o.height};t(u)},o.onerror=u=>n(u),o.src=e})}function Qn(e=""){if(typeof e=="number")return e;if(typeof e=="string"&&e.replace("px","").match(/^\d+$/g))return Number.parseInt(e,10)}function sM(e=""){if(e===void 0||!e.length)return[];const t=new Set;for(const n of e.split(" ")){const o=Number.parseInt(n.replace("x",""));o&&t.add(o)}return Array.from(t)}function iM(e){if(e.length===0)throw new Error("`densities` must not be empty, configure to `1` to render regular size only (DPR 1.0)")}function lM(e){const t={};if(typeof e=="string")for(const n of e.split(/[\s,]+/).filter(o=>o)){const o=n.split(":");o.length!==2?t["1px"]=o[0].trim():t[o[0].trim()]=o[1].trim()}else Object.assign(t,e);return t}function cM(e){const t={options:e},n=(u,r={})=>$y(t,u,r),o=(u,r={},a={})=>n(u,{...a,modifiers:Ot(r,a.modifiers||{})}).url;for(const u in e.presets)o[u]=(r,a,s)=>o(r,a,{...e.presets[u],...s});return o.options=e,o.getImage=n,o.getMeta=(u,r)=>dM(t,u,r),o.getSizes=(u,r)=>hM(t,u,r),t.$img=o,o}async function dM(e,t,n){const o=$y(e,t,{...n});return typeof o.getMeta=="function"?await o.getMeta():await rM(e,o.url)}function $y(e,t,n){if(t&&typeof t!="string")throw new TypeError(`input must be a string (received ${typeof t}: ${JSON.stringify(t)})`);if(!t||t.startsWith("data:"))return{url:t};const{provider:o,defaults:u}=fM(e,n.provider||e.options.provider),r=pM(e,n.preset);if(t=Tn(t)?t:L3(t),!o.supportsAlias){for(const c in e.options.alias)if(t.startsWith(c)){const l=e.options.alias[c];l&&(t=Cr(l,t.slice(c.length)))}}if(o.validateDomains&&Tn(t)){const c=Hi(t).host;if(!e.options.domains.find(l=>l===c))return{url:t}}const a=Ot(n,r,u);a.modifiers={...a.modifiers};const s=a.modifiers.format;a.modifiers?.width&&(a.modifiers.width=Qn(a.modifiers.width)),a.modifiers?.height&&(a.modifiers.height=Qn(a.modifiers.height));const i=o.getImage(t,a,e);return i.format=i.format||s||"",i}function fM(e,t){const n=e.options.providers[t];if(!n)throw new Error("Unknown provider: "+t);return n}function pM(e,t){if(!t)return{};if(!e.options.presets[t])throw new Error("Unknown preset: "+t);return e.options.presets[t]}function hM(e,t,n){const o=Qn(n.modifiers?.width),u=Qn(n.modifiers?.height),r=lM(n.sizes),a=n.densities?.trim()?sM(n.densities.trim()):e.options.densities;iM(a);const s=o&&u?u/o:0,i=[],c=[];if(Object.keys(r).length>=1){for(const m in r){const g=Qh(m,String(r[m]),u,s,e);if(g!==void 0){i.push({size:g.size,screenMaxWidth:g.screenMaxWidth,media:`(max-width: ${g.screenMaxWidth}px)`});for(const E of a)c.push({width:g._cWidth*E,src:e4(e,t,n,g,E)})}}mM(i)}else for(const m of a){const g=Object.keys(r)[0];let E=g?Qh(g,String(r[g]),u,s,e):void 0;E===void 0&&(E={size:"",screenMaxWidth:0,_cWidth:n.modifiers?.width,_cHeight:n.modifiers?.height}),c.push({width:m,src:e4(e,t,n,E,m)})}gM(c);const l=c[c.length-1],d=i.length?i.map(m=>`${m.media?m.media+" ":""}${m.size}`).join(", "):void 0,f=d?"w":"x",p=c.map(m=>`${m.src} ${m.width}${f}`).join(", ");return{sizes:d,srcset:p,src:l?.src}}function Qh(e,t,n,o,u){const r=u.options.screens&&u.options.screens[e]||Number.parseInt(e),a=t.endsWith("vw");if(!a&&/^\d+$/.test(t)&&(t=t+"px"),!a&&!t.endsWith("px"))return;let s=Number.parseInt(t);if(!r||!s)return;a&&(s=Math.round(s/100*r));const i=o?Math.round(s*o):n;return{size:t,screenMaxWidth:r,_cWidth:s,_cHeight:i}}function e4(e,t,n,o,u){return e.$img(t,{...n.modifiers,width:o._cWidth?o._cWidth*u:void 0,height:o._cHeight?o._cHeight*u:void 0},n)}function mM(e){e.sort((n,o)=>n.screenMaxWidth-o.screenMaxWidth);let t=null;for(let n=e.length-1;n>=0;n--){const o=e[n];o.media===t&&e.splice(n,1),t=o.media}for(let n=0;nn.width-o.width);let t=null;for(let n=e.length-1;n>=0;n--){const o=e[n];o.width===t&&e.splice(n,1),t=o.width}}const vM=e=>({url:e}),yM=Object.freeze(Object.defineProperty({__proto__:null,getImage:vM},Symbol.toStringTag,{value:"Module"})),bM={screens:{xs:320,sm:640,md:768,lg:1024,xl:1280,xxl:1536,"2xl":1536},presets:{},provider:"none",domains:[],alias:{},densities:[1,2],format:["webp"],providers:{none:{provider:yM,defaults:{}}}},Ny=e=>{const t=Qt(),n=Ie();return n.$img||n._img||(n._img=cM({...bM,event:n.ssrContext?.event,nuxt:{baseURL:t.app.baseURL},runtimeConfig:t}))};function EM(e){performance?.mark?.("mark_feature_usage",{detail:{feature:e}})}const CM={src:{type:String,required:!1},format:{type:String,required:!1},quality:{type:[Number,String],required:!1},background:{type:String,required:!1},fit:{type:String,required:!1},modifiers:{type:Object,required:!1},preset:{type:String,required:!1},provider:{type:String,required:!1},sizes:{type:[Object,String],required:!1},densities:{type:String,required:!1},preload:{type:[Boolean,Object],required:!1},width:{type:[String,Number],required:!1},height:{type:[String,Number],required:!1},alt:{type:String,required:!1},referrerpolicy:{type:String,required:!1},usemap:{type:String,required:!1},longdesc:{type:String,required:!1},ismap:{type:Boolean,required:!1},loading:{type:String,required:!1,validator:e=>["lazy","eager"].includes(e)},crossorigin:{type:[Boolean,String],required:!1,validator:e=>["anonymous","use-credentials","",!0,!1].includes(e)},decoding:{type:String,required:!1,validator:e=>["async","auto","sync"].includes(e)},nonce:{type:[String],required:!1}},xM=e=>{const t=S(()=>({provider:e.provider,preset:e.preset})),n=S(()=>({width:Qn(e.width),height:Qn(e.height),alt:e.alt,referrerpolicy:e.referrerpolicy,usemap:e.usemap,longdesc:e.longdesc,ismap:e.ismap,crossorigin:e.crossorigin===!0?"anonymous":e.crossorigin||void 0,loading:e.loading,decoding:e.decoding,nonce:e.nonce})),o=Ny(),u=S(()=>({...e.modifiers,width:Qn(e.width),height:Qn(e.height),format:e.format,quality:e.quality||o.options.quality,background:e.background,fit:e.fit}));return{options:t,attrs:n,modifiers:u}},DM={...CM,placeholder:{type:[Boolean,String,Number,Array],required:!1},placeholderClass:{type:String,required:!1},custom:{type:Boolean,required:!1}},wM=["src"],AM=N({__name:"NuxtImg",props:DM,emits:["load","error"],setup(e,{emit:t}){const n=e,o=zg(),u=t,r=!1,a=Ny(),s=xM(n),i=L(!1),c=L(),l=S(()=>a.getSizes(n.src,{...s.options.value,sizes:n.sizes,densities:n.densities,modifiers:{...s.modifiers.value,width:Qn(n.width),height:Qn(n.height)}})),d=S(()=>{const b={...s.attrs.value,"data-nuxt-img":""};return(!n.placeholder||i.value)&&(b.sizes=l.value.sizes,b.srcset=l.value.srcset),b}),f=S(()=>{let b=n.placeholder;if(b===""&&(b=!0),!b||i.value)return!1;if(typeof b=="string")return b;const y=Array.isArray(b)?b:typeof b=="number"?[b,b]:[10,10];return a(n.src,{...s.modifiers.value,width:y[0],height:y[1],quality:y[2]||50,blur:y[3]||3},s.options.value)}),p=S(()=>n.sizes?l.value.src:a(n.src,s.modifiers.value,s.options.value)),m=S(()=>f.value?f.value:p.value),E=Ie().isHydrating;return je(()=>{if(f.value||n.custom){const b=new Image;p.value&&(b.src=p.value),n.sizes&&(b.sizes=l.value.sizes||"",b.srcset=l.value.srcset),b.onload=y=>{i.value=!0,u("load",y)},b.onerror=y=>{u("error",y)},EM("nuxt-image");return}c.value&&(c.value.complete&&E&&(c.value.getAttribute("data-error")?u("error",new Event("error")):u("load",new Event("load"))),c.value.onload=b=>{u("load",b)},c.value.onerror=b=>{u("error",b)})}),(b,y)=>b.custom?M(b.$slots,"default",De(G({key:1},{...h(r)?{onerror:"this.setAttribute('data-error', 1)"}:{},imgAttrs:{...d.value,...h(o)},isLoaded:i.value,src:m.value}))):(D(),le("img",G({key:0,ref_key:"imgEl",ref:c,class:f.value&&!i.value?b.placeholderClass:void 0},{...h(r)?{onerror:"this.setAttribute('data-error', 1)"}:{},...d.value,...h(o)},{src:m.value}),null,16,wM))}}),h0=Object.assign(AM,{__name:"NuxtImg"}),t4=Symbol("nuxt-ui.avatar-group");function jy(e){const t=Ve(t4,void 0),n=S(()=>e.size??t?.value.size);return St(t4,S(()=>({size:n.value}))),{size:n}}const BM={slots:{root:"relative inline-flex items-center justify-center shrink-0",base:"rounded-full ring ring-bg flex items-center justify-center text-inverted font-medium whitespace-nowrap"},variants:{color:{primary:"bg-primary",secondary:"bg-secondary",success:"bg-success",info:"bg-info",warning:"bg-warning",error:"bg-error",neutral:"bg-inverted"},size:{"3xs":"h-[4px] min-w-[4px] text-[4px]","2xs":"h-[5px] min-w-[5px] text-[5px]",xs:"h-[6px] min-w-[6px] text-[6px]",sm:"h-[7px] min-w-[7px] text-[7px]",md:"h-[8px] min-w-[8px] text-[8px]",lg:"h-[9px] min-w-[9px] text-[9px]",xl:"h-[10px] min-w-[10px] text-[10px]","2xl":"h-[11px] min-w-[11px] text-[11px]","3xl":"h-[12px] min-w-[12px] text-[12px]"},position:{"top-right":"top-0 right-0","bottom-right":"bottom-0 right-0","top-left":"top-0 left-0","bottom-left":"bottom-0 left-0"},inset:{false:""},standalone:{false:"absolute"}},compoundVariants:[{position:"top-right",inset:!1,class:"-translate-y-1/2 translate-x-1/2 transform"},{position:"bottom-right",inset:!1,class:"translate-y-1/2 translate-x-1/2 transform"},{position:"top-left",inset:!1,class:"-translate-y-1/2 -translate-x-1/2 transform"},{position:"bottom-left",inset:!1,class:"translate-y-1/2 -translate-x-1/2 transform"}],defaultVariants:{size:"md",color:"primary",position:"top-right"}},_M=Object.assign({inheritAttrs:!1},{__name:"UChip",props:Kg({as:{type:null,required:!1},text:{type:[String,Number],required:!1},color:{type:null,required:!1},size:{type:null,required:!1},position:{type:null,required:!1},inset:{type:Boolean,required:!1,default:!1},standalone:{type:Boolean,required:!1,default:!1},class:{type:null,required:!1},ui:{type:Object,required:!1}},{show:{type:Boolean,default:!0},showModifiers:{}}),emits:["update:show"],setup(e){const t=e,n=Xg(e,"show",{type:Boolean,default:!0}),{size:o}=jy(t),u=qe(),r=Ct("chip",t),a=S(()=>Fe({extend:Fe(BM),...u.ui?.chip||{}})({color:t.color,size:o.value,position:t.position,inset:t.inset,standalone:t.standalone}));return(s,i)=>(D(),T(h(Ae),{as:e.as,"data-slot":"root",class:oe(a.value.root({class:[h(r)?.root,t.class]}))},{default:k(()=>[z(h(xa),De(ke(s.$attrs)),{default:k(()=>[M(s.$slots,"default")]),_:3},16),n.value?(D(),le("span",{key:0,"data-slot":"base",class:oe(a.value.base({class:h(r)?.base}))},[M(s.$slots,"content",{},()=>[Qe(Me(e.text),1)])],2)):ue("",!0)]),_:3},8,["as","class"]))}}),kM={slots:{root:"inline-flex items-center justify-center shrink-0 select-none rounded-full align-middle bg-elevated",image:"h-full w-full rounded-[inherit] object-cover",fallback:"font-medium leading-none text-muted truncate",icon:"text-muted shrink-0"},variants:{size:{"3xs":{root:"size-4 text-[8px]"},"2xs":{root:"size-5 text-[10px]"},xs:{root:"size-6 text-xs"},sm:{root:"size-7 text-sm"},md:{root:"size-8 text-base"},lg:{root:"size-9 text-lg"},xl:{root:"size-10 text-xl"},"2xl":{root:"size-11 text-[22px]"},"3xl":{root:"size-12 text-2xl"}}},defaultVariants:{size:"md"}},cl=Object.assign({inheritAttrs:!1},{__name:"UAvatar",props:{as:{type:null,required:!1},src:{type:String,required:!1},alt:{type:String,required:!1},icon:{type:null,required:!1},text:{type:String,required:!1},size:{type:null,required:!1},chip:{type:[Boolean,Object],required:!1},class:{type:null,required:!1},style:{type:null,required:!1},ui:{type:Object,required:!1}},setup(e){const t=e,n=S(()=>typeof t.as=="string"||typeof t.as?.render=="function"?{root:t.as}:Ot(t.as,{root:"span"})),o=S(()=>t.text||(t.alt||"").split(" ").map(f=>f.charAt(0)).join("").substring(0,2)),u=qe(),r=Ct("avatar",t),{size:a}=jy(t),s=S(()=>Fe({extend:Fe(kM),...u.ui?.avatar||{}})({size:a.value})),i=S(()=>s.value.root({class:[r.value?.root,t.class]})),c=S(()=>{const f=i.value.split(" ").find(p=>/^size-\d+$/.test(p));if(f){const p=Number.parseFloat(f.split("-")[1]??"");if(!Number.isNaN(p))return p*4}return null}),l=L(!1);Ce(()=>t.src,()=>{l.value&&(l.value=!1)});function d(){l.value=!0}return(f,p)=>(D(),T(ln(t.chip?_M:h(Ae)),G({as:n.value.root},t.chip?typeof t.chip=="object"?{inset:!0,...t.chip}:{inset:!0}:{},{"data-slot":"root",class:i.value,style:t.style}),{default:k(()=>[e.src&&!l.value?(D(),T(ln(n.value.img||h(h0)),G({key:0,src:e.src,alt:e.alt,width:c.value,height:c.value},f.$attrs,{"data-slot":"image",class:s.value.image({class:h(r)?.image}),onError:d}),null,16,["src","alt","width","height","class"])):(D(),T(h(xa),De(G({key:1},f.$attrs)),{default:k(()=>[M(f.$slots,"default",{},()=>[e.icon?(D(),T(vn,{key:0,name:e.icon,"data-slot":"icon",class:oe(s.value.icon({class:h(r)?.icon}))},null,8,["name","class"])):(D(),le("span",{key:1,"data-slot":"fallback",class:oe(s.value.fallback({class:h(r)?.fallback}))},Me(o.value||" "),3))])]),_:3},16))]),_:3},16,["as","class","style"]))}}),Zd={__name:"ULinkBase",props:{as:{type:String,required:!1,default:"button"},type:{type:String,required:!1,default:"button"},disabled:{type:Boolean,required:!1},onClick:{type:[Function,Array],required:!1},href:{type:String,required:!1},navigate:{type:Function,required:!1},target:{type:[String,Object,null],required:!1},rel:{type:[String,Object,null],required:!1},active:{type:Boolean,required:!1},isExternal:{type:Boolean,required:!1}},setup(e){const t=e;function n(o){if(t.disabled){o.stopPropagation(),o.preventDefault();return}if(t.onClick)for(const u of Array.isArray(t.onClick)?t.onClick:[t.onClick])u(o);t.href&&t.navigate&&!t.isExternal&&t.navigate(o)}return(o,u)=>(D(),T(h(Ae),G(e.href?{as:"a",href:e.disabled?void 0:e.href,"aria-disabled":e.disabled?"true":void 0,role:e.disabled?"link":void 0,tabindex:e.disabled?-1:void 0}:e.as==="button"?{as:e.as,type:e.type,disabled:e.disabled}:{as:e.as},{rel:e.rel,target:e.target,onClick:n}),{default:k(()=>[M(o.$slots,"default")]),_:3},16,["rel","target"]))}},SM={base:"focus-visible:outline-primary",variants:{active:{true:"text-primary",false:"text-muted"},disabled:{true:"cursor-not-allowed opacity-75"}},compoundVariants:[{active:!1,disabled:!1,class:["hover:text-default","transition-colors"]}]},Xd=Object.assign({inheritAttrs:!1},{__name:"ULink",props:{as:{type:null,required:!1,default:"button"},type:{type:null,required:!1,default:"button"},disabled:{type:Boolean,required:!1},active:{type:Boolean,required:!1,default:void 0},exact:{type:Boolean,required:!1},exactQuery:{type:[Boolean,String],required:!1},exactHash:{type:Boolean,required:!1},inactiveClass:{type:String,required:!1},custom:{type:Boolean,required:!1},raw:{type:Boolean,required:!1},class:{type:null,required:!1},to:{type:null,required:!1},href:{type:null,required:!1},external:{type:Boolean,required:!1},target:{type:[String,Object,null],required:!1},rel:{type:[String,Object,null],required:!1},noRel:{type:Boolean,required:!1},prefetchedClass:{type:String,required:!1},prefetch:{type:Boolean,required:!1},prefetchOn:{type:[String,Object],required:!1},noPrefetch:{type:Boolean,required:!1},trailingSlash:{type:String,required:!1},activeClass:{type:String,required:!1},exactActiveClass:{type:String,required:!1},ariaCurrentValue:{type:String,required:!1,default:"page"},viewTransition:{type:Boolean,required:!1},replace:{type:Boolean,required:!1}},setup(e){const t=e,n=Fn(),o=qe(),u=on(Pu(t,"as","type","disabled","active","exact","exactQuery","exactHash","activeClass","inactiveClass","to","href","raw","custom","class")),r=S(()=>Fe({extend:Fe(SM),...Ot({variants:{active:{true:vi(o.ui?.link?.variants?.active?.true,t.activeClass),false:vi(o.ui?.link?.variants?.active?.false,t.inactiveClass)}}},o.ui?.link||{})})),a=S(()=>t.to??t.href);function s({route:c,isActive:l,isExactActive:d}){if(t.active!==void 0)return t.active;if(t.exactQuery==="partial"){if(!MP(c.query,n.query))return!1}else if(t.exactQuery===!0&&!Bu(c.query,n.query))return!1;return t.exactHash&&c.hash!==n.hash?!1:!!(t.exact&&d||!t.exact&&l)}function i({route:c,isActive:l,isExactActive:d}){const f=s({route:c,isActive:l,isExactActive:d});return t.raw?[t.class,f?t.activeClass:t.inactiveClass]:r.value({class:t.class,active:f,disabled:t.disabled})}return(c,l)=>{const d=Gv;return D(),T(d,G(h(u),{to:a.value,custom:""}),{default:k(({href:f,navigate:p,route:m,isActive:g,isExactActive:E,...b})=>[e.custom?M(c.$slots,"default",De(G({key:0},{...c.$attrs,...e.exact&&E?{"aria-current":t.ariaCurrentValue}:{},as:e.as,type:e.type,disabled:e.disabled,href:f,navigate:p,rel:b.rel,target:b.target,isExternal:b.isExternal,active:s({route:m,isActive:g,isExactActive:E})}))):(D(),T(Zd,G({key:1},{...c.$attrs,...e.exact&&E?{"aria-current":t.ariaCurrentValue}:{},as:e.as,type:e.type,disabled:e.disabled,href:f,navigate:p,rel:b.rel,target:b.target,isExternal:b.isExternal},{class:i({route:m,isActive:g,isExactActive:E})}),{default:k(()=>[M(c.$slots,"default",{active:s({route:m,isActive:g,isExactActive:E})})]),_:2},1040,["class"]))]),_:3},16,["to"])}}}),TM={slots:{base:["rounded-md font-medium inline-flex items-center disabled:cursor-not-allowed aria-disabled:cursor-not-allowed disabled:opacity-75 aria-disabled:opacity-75","transition-colors"],label:"truncate",leadingIcon:"shrink-0",leadingAvatar:"shrink-0",leadingAvatarSize:"",trailingIcon:"shrink-0"},variants:{fieldGroup:{horizontal:"not-only:first:rounded-e-none not-only:last:rounded-s-none not-last:not-first:rounded-none focus-visible:z-[1]",vertical:"not-only:first:rounded-b-none not-only:last:rounded-t-none not-last:not-first:rounded-none focus-visible:z-[1]"},color:{primary:"",secondary:"",success:"",info:"",warning:"",error:"",neutral:""},variant:{solid:"",outline:"",soft:"",subtle:"",ghost:"",link:""},size:{xs:{base:"px-2 py-1 text-xs gap-1",leadingIcon:"size-4",leadingAvatarSize:"3xs",trailingIcon:"size-4"},sm:{base:"px-2.5 py-1.5 text-xs gap-1.5",leadingIcon:"size-4",leadingAvatarSize:"3xs",trailingIcon:"size-4"},md:{base:"px-2.5 py-1.5 text-sm gap-1.5",leadingIcon:"size-5",leadingAvatarSize:"2xs",trailingIcon:"size-5"},lg:{base:"px-3 py-2 text-sm gap-2",leadingIcon:"size-5",leadingAvatarSize:"2xs",trailingIcon:"size-5"},xl:{base:"px-3 py-2 text-base gap-2",leadingIcon:"size-6",leadingAvatarSize:"xs",trailingIcon:"size-6"}},block:{true:{base:"w-full justify-center",trailingIcon:"ms-auto"}},square:{true:""},leading:{true:""},trailing:{true:""},loading:{true:""},active:{true:{base:""},false:{base:""}}},compoundVariants:[{color:"primary",variant:"solid",class:"text-inverted bg-primary hover:bg-primary/75 active:bg-primary/75 disabled:bg-primary aria-disabled:bg-primary focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-primary"},{color:"secondary",variant:"solid",class:"text-inverted bg-secondary hover:bg-secondary/75 active:bg-secondary/75 disabled:bg-secondary aria-disabled:bg-secondary focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-secondary"},{color:"success",variant:"solid",class:"text-inverted bg-success hover:bg-success/75 active:bg-success/75 disabled:bg-success aria-disabled:bg-success focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-success"},{color:"info",variant:"solid",class:"text-inverted bg-info hover:bg-info/75 active:bg-info/75 disabled:bg-info aria-disabled:bg-info focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-info"},{color:"warning",variant:"solid",class:"text-inverted bg-warning hover:bg-warning/75 active:bg-warning/75 disabled:bg-warning aria-disabled:bg-warning focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-warning"},{color:"error",variant:"solid",class:"text-inverted bg-error hover:bg-error/75 active:bg-error/75 disabled:bg-error aria-disabled:bg-error focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-error"},{color:"primary",variant:"outline",class:"ring ring-inset ring-primary/50 text-primary hover:bg-primary/10 active:bg-primary/10 disabled:bg-transparent aria-disabled:bg-transparent dark:disabled:bg-transparent dark:aria-disabled:bg-transparent focus:outline-none focus-visible:ring-2 focus-visible:ring-primary"},{color:"secondary",variant:"outline",class:"ring ring-inset ring-secondary/50 text-secondary hover:bg-secondary/10 active:bg-secondary/10 disabled:bg-transparent aria-disabled:bg-transparent dark:disabled:bg-transparent dark:aria-disabled:bg-transparent focus:outline-none focus-visible:ring-2 focus-visible:ring-secondary"},{color:"success",variant:"outline",class:"ring ring-inset ring-success/50 text-success hover:bg-success/10 active:bg-success/10 disabled:bg-transparent aria-disabled:bg-transparent dark:disabled:bg-transparent dark:aria-disabled:bg-transparent focus:outline-none focus-visible:ring-2 focus-visible:ring-success"},{color:"info",variant:"outline",class:"ring ring-inset ring-info/50 text-info hover:bg-info/10 active:bg-info/10 disabled:bg-transparent aria-disabled:bg-transparent dark:disabled:bg-transparent dark:aria-disabled:bg-transparent focus:outline-none focus-visible:ring-2 focus-visible:ring-info"},{color:"warning",variant:"outline",class:"ring ring-inset ring-warning/50 text-warning hover:bg-warning/10 active:bg-warning/10 disabled:bg-transparent aria-disabled:bg-transparent dark:disabled:bg-transparent dark:aria-disabled:bg-transparent focus:outline-none focus-visible:ring-2 focus-visible:ring-warning"},{color:"error",variant:"outline",class:"ring ring-inset ring-error/50 text-error hover:bg-error/10 active:bg-error/10 disabled:bg-transparent aria-disabled:bg-transparent dark:disabled:bg-transparent dark:aria-disabled:bg-transparent focus:outline-none focus-visible:ring-2 focus-visible:ring-error"},{color:"primary",variant:"soft",class:"text-primary bg-primary/10 hover:bg-primary/15 active:bg-primary/15 focus:outline-none focus-visible:bg-primary/15 disabled:bg-primary/10 aria-disabled:bg-primary/10"},{color:"secondary",variant:"soft",class:"text-secondary bg-secondary/10 hover:bg-secondary/15 active:bg-secondary/15 focus:outline-none focus-visible:bg-secondary/15 disabled:bg-secondary/10 aria-disabled:bg-secondary/10"},{color:"success",variant:"soft",class:"text-success bg-success/10 hover:bg-success/15 active:bg-success/15 focus:outline-none focus-visible:bg-success/15 disabled:bg-success/10 aria-disabled:bg-success/10"},{color:"info",variant:"soft",class:"text-info bg-info/10 hover:bg-info/15 active:bg-info/15 focus:outline-none focus-visible:bg-info/15 disabled:bg-info/10 aria-disabled:bg-info/10"},{color:"warning",variant:"soft",class:"text-warning bg-warning/10 hover:bg-warning/15 active:bg-warning/15 focus:outline-none focus-visible:bg-warning/15 disabled:bg-warning/10 aria-disabled:bg-warning/10"},{color:"error",variant:"soft",class:"text-error bg-error/10 hover:bg-error/15 active:bg-error/15 focus:outline-none focus-visible:bg-error/15 disabled:bg-error/10 aria-disabled:bg-error/10"},{color:"primary",variant:"subtle",class:"text-primary ring ring-inset ring-primary/25 bg-primary/10 hover:bg-primary/15 active:bg-primary/15 disabled:bg-primary/10 aria-disabled:bg-primary/10 focus:outline-none focus-visible:ring-2 focus-visible:ring-primary"},{color:"secondary",variant:"subtle",class:"text-secondary ring ring-inset ring-secondary/25 bg-secondary/10 hover:bg-secondary/15 active:bg-secondary/15 disabled:bg-secondary/10 aria-disabled:bg-secondary/10 focus:outline-none focus-visible:ring-2 focus-visible:ring-secondary"},{color:"success",variant:"subtle",class:"text-success ring ring-inset ring-success/25 bg-success/10 hover:bg-success/15 active:bg-success/15 disabled:bg-success/10 aria-disabled:bg-success/10 focus:outline-none focus-visible:ring-2 focus-visible:ring-success"},{color:"info",variant:"subtle",class:"text-info ring ring-inset ring-info/25 bg-info/10 hover:bg-info/15 active:bg-info/15 disabled:bg-info/10 aria-disabled:bg-info/10 focus:outline-none focus-visible:ring-2 focus-visible:ring-info"},{color:"warning",variant:"subtle",class:"text-warning ring ring-inset ring-warning/25 bg-warning/10 hover:bg-warning/15 active:bg-warning/15 disabled:bg-warning/10 aria-disabled:bg-warning/10 focus:outline-none focus-visible:ring-2 focus-visible:ring-warning"},{color:"error",variant:"subtle",class:"text-error ring ring-inset ring-error/25 bg-error/10 hover:bg-error/15 active:bg-error/15 disabled:bg-error/10 aria-disabled:bg-error/10 focus:outline-none focus-visible:ring-2 focus-visible:ring-error"},{color:"primary",variant:"ghost",class:"text-primary hover:bg-primary/10 active:bg-primary/10 focus:outline-none focus-visible:bg-primary/10 disabled:bg-transparent aria-disabled:bg-transparent dark:disabled:bg-transparent dark:aria-disabled:bg-transparent"},{color:"secondary",variant:"ghost",class:"text-secondary hover:bg-secondary/10 active:bg-secondary/10 focus:outline-none focus-visible:bg-secondary/10 disabled:bg-transparent aria-disabled:bg-transparent dark:disabled:bg-transparent dark:aria-disabled:bg-transparent"},{color:"success",variant:"ghost",class:"text-success hover:bg-success/10 active:bg-success/10 focus:outline-none focus-visible:bg-success/10 disabled:bg-transparent aria-disabled:bg-transparent dark:disabled:bg-transparent dark:aria-disabled:bg-transparent"},{color:"info",variant:"ghost",class:"text-info hover:bg-info/10 active:bg-info/10 focus:outline-none focus-visible:bg-info/10 disabled:bg-transparent aria-disabled:bg-transparent dark:disabled:bg-transparent dark:aria-disabled:bg-transparent"},{color:"warning",variant:"ghost",class:"text-warning hover:bg-warning/10 active:bg-warning/10 focus:outline-none focus-visible:bg-warning/10 disabled:bg-transparent aria-disabled:bg-transparent dark:disabled:bg-transparent dark:aria-disabled:bg-transparent"},{color:"error",variant:"ghost",class:"text-error hover:bg-error/10 active:bg-error/10 focus:outline-none focus-visible:bg-error/10 disabled:bg-transparent aria-disabled:bg-transparent dark:disabled:bg-transparent dark:aria-disabled:bg-transparent"},{color:"primary",variant:"link",class:"text-primary hover:text-primary/75 active:text-primary/75 disabled:text-primary aria-disabled:text-primary focus:outline-none focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-primary"},{color:"secondary",variant:"link",class:"text-secondary hover:text-secondary/75 active:text-secondary/75 disabled:text-secondary aria-disabled:text-secondary focus:outline-none focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-secondary"},{color:"success",variant:"link",class:"text-success hover:text-success/75 active:text-success/75 disabled:text-success aria-disabled:text-success focus:outline-none focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-success"},{color:"info",variant:"link",class:"text-info hover:text-info/75 active:text-info/75 disabled:text-info aria-disabled:text-info focus:outline-none focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-info"},{color:"warning",variant:"link",class:"text-warning hover:text-warning/75 active:text-warning/75 disabled:text-warning aria-disabled:text-warning focus:outline-none focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-warning"},{color:"error",variant:"link",class:"text-error hover:text-error/75 active:text-error/75 disabled:text-error aria-disabled:text-error focus:outline-none focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-error"},{color:"neutral",variant:"solid",class:"text-inverted bg-inverted hover:bg-inverted/90 active:bg-inverted/90 disabled:bg-inverted aria-disabled:bg-inverted focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-inverted"},{color:"neutral",variant:"outline",class:"ring ring-inset ring-accented text-default bg-default hover:bg-elevated active:bg-elevated disabled:bg-default aria-disabled:bg-default focus:outline-none focus-visible:ring-2 focus-visible:ring-inverted"},{color:"neutral",variant:"soft",class:"text-default bg-elevated hover:bg-accented/75 active:bg-accented/75 focus:outline-none focus-visible:bg-accented/75 disabled:bg-elevated aria-disabled:bg-elevated"},{color:"neutral",variant:"subtle",class:"ring ring-inset ring-accented text-default bg-elevated hover:bg-accented/75 active:bg-accented/75 disabled:bg-elevated aria-disabled:bg-elevated focus:outline-none focus-visible:ring-2 focus-visible:ring-inverted"},{color:"neutral",variant:"ghost",class:"text-default hover:bg-elevated active:bg-elevated focus:outline-none focus-visible:bg-elevated hover:disabled:bg-transparent dark:hover:disabled:bg-transparent hover:aria-disabled:bg-transparent dark:hover:aria-disabled:bg-transparent"},{color:"neutral",variant:"link",class:"text-muted hover:text-default active:text-default disabled:text-muted aria-disabled:text-muted focus:outline-none focus-visible:ring-inset focus-visible:ring-2 focus-visible:ring-inverted"},{size:"xs",square:!0,class:"p-1"},{size:"sm",square:!0,class:"p-1.5"},{size:"md",square:!0,class:"p-1.5"},{size:"lg",square:!0,class:"p-2"},{size:"xl",square:!0,class:"p-2"},{loading:!0,leading:!0,class:{leadingIcon:"animate-spin"}},{loading:!0,leading:!1,trailing:!0,class:{trailingIcon:"animate-spin"}}],defaultVariants:{color:"primary",variant:"solid",size:"md"}},Jt={__name:"UButton",props:{label:{type:String,required:!1},color:{type:null,required:!1},activeColor:{type:null,required:!1},variant:{type:null,required:!1},activeVariant:{type:null,required:!1},size:{type:null,required:!1},square:{type:Boolean,required:!1},block:{type:Boolean,required:!1},loadingAuto:{type:Boolean,required:!1},onClick:{type:[Function,Array],required:!1},class:{type:null,required:!1},ui:{type:Object,required:!1},icon:{type:null,required:!1},avatar:{type:Object,required:!1},leading:{type:Boolean,required:!1},leadingIcon:{type:null,required:!1},trailing:{type:Boolean,required:!1},trailingIcon:{type:null,required:!1},loading:{type:Boolean,required:!1},loadingIcon:{type:null,required:!1},as:{type:null,required:!1},type:{type:null,required:!1},disabled:{type:Boolean,required:!1},active:{type:Boolean,required:!1},exact:{type:Boolean,required:!1},exactQuery:{type:[Boolean,String],required:!1},exactHash:{type:Boolean,required:!1},inactiveClass:{type:String,required:!1},to:{type:null,required:!1},href:{type:null,required:!1},external:{type:Boolean,required:!1},target:{type:[String,Object,null],required:!1},rel:{type:[String,Object,null],required:!1},noRel:{type:Boolean,required:!1},prefetchedClass:{type:String,required:!1},prefetch:{type:Boolean,required:!1},prefetchOn:{type:[String,Object],required:!1},noPrefetch:{type:Boolean,required:!1},trailingSlash:{type:String,required:!1},activeClass:{type:String,required:!1},exactActiveClass:{type:String,required:!1},ariaCurrentValue:{type:String,required:!1},viewTransition:{type:Boolean,required:!1},replace:{type:Boolean,required:!1}},setup(e){const t=e,n=Ht(),o=qe(),u=Ct("button",t),{orientation:r,size:a}=Py(t),s=on(My(t)),i=L(!1),c=Ve(FP,void 0);async function l(b){i.value=!0;const y=Array.isArray(t.onClick)?t.onClick:[t.onClick];try{await Promise.all(y.map(v=>v?.(b)))}finally{i.value=!1}}const d=S(()=>t.loading||t.loadingAuto&&(i.value||c?.value&&t.type==="submit")),{isLeading:f,isTrailing:p,leadingIconName:m,trailingIconName:g}=Fy(S(()=>({...t,loading:d.value}))),E=S(()=>Fe({extend:Fe(TM),...Ot({variants:{active:{true:{base:vi(o.ui?.button?.variants?.active?.true?.base,t.activeClass)},false:{base:vi(o.ui?.button?.variants?.active?.false?.base,t.inactiveClass)}}}},o.ui?.button||{})})({color:t.color,variant:t.variant,size:a.value,loading:d.value,block:t.block,square:t.square||!n.default&&!t.label,leading:f.value,trailing:p.value,fieldGroup:r.value}));return(b,y)=>(D(),T(Xd,G({type:e.type,disabled:e.disabled||d.value},h(Kd)(h(s),["type","disabled","onClick"]),{custom:""}),{default:k(({active:v,...C})=>[z(Zd,G(C,{"data-slot":"base",class:E.value.base({class:[h(u)?.base,t.class],active:v,...v&&e.activeVariant?{variant:e.activeVariant}:{},...v&&e.activeColor?{color:e.activeColor}:{}}),onClick:l}),{default:k(()=>[M(b.$slots,"leading",{ui:E.value},()=>[h(f)&&h(m)?(D(),T(vn,{key:0,name:h(m),"data-slot":"leadingIcon",class:oe(E.value.leadingIcon({class:h(u)?.leadingIcon,active:v}))},null,8,["name","class"])):e.avatar?(D(),T(cl,G({key:1,size:h(u)?.leadingAvatarSize||E.value.leadingAvatarSize()},e.avatar,{"data-slot":"leadingAvatar",class:E.value.leadingAvatar({class:h(u)?.leadingAvatar,active:v})}),null,16,["size","class"])):ue("",!0)]),M(b.$slots,"default",{ui:E.value},()=>[e.label!==void 0&&e.label!==null?(D(),le("span",{key:0,"data-slot":"label",class:oe(E.value.label({class:h(u)?.label,active:v}))},Me(e.label),3)):ue("",!0)]),M(b.$slots,"trailing",{ui:E.value},()=>[h(p)&&h(g)?(D(),T(vn,{key:0,name:h(g),"data-slot":"trailingIcon",class:oe(E.value.trailingIcon({class:h(u)?.trailingIcon,active:v}))},null,8,["name","class"])):ue("",!0)])]),_:2},1040,["class"])]),_:3},16,["type","disabled"]))}},JV=Object.freeze(Object.defineProperty({__proto__:null,default:Jt},Symbol.toStringTag,{value:"Module"})),xs={meta:"",ctrl:"",alt:"",win:"⊞",command:"⌘",shift:"⇧",control:"⌃",option:"⌥",enter:"↵",delete:"⌦",backspace:"⌫",escape:"Esc",tab:"⇥",capslock:"⇪",arrowup:"↑",arrowright:"→",arrowdown:"↓",arrowleft:"←",pageup:"⇞",pagedown:"⇟",home:"↖",end:"↘"},FM=()=>{const e=S(()=>navigator&&navigator.userAgent&&navigator.userAgent.match(/Macintosh;/)),t=Tt({meta:" ",alt:" ",ctrl:" "});je(()=>{t.meta=e.value?xs.command:"Ctrl",t.ctrl=e.value?xs.control:"Ctrl",t.alt=e.value?xs.option:"Alt"});function n(o){if(o)return["meta","alt","ctrl"].includes(o)?t[o]:xs[o]||o}return{macOS:e,getKbdKey:n}},PM=wr(FM),MM={base:"inline-flex items-center justify-center px-1 rounded-sm font-medium font-sans uppercase",variants:{color:{primary:"",secondary:"",success:"",info:"",warning:"",error:"",neutral:""},variant:{solid:"",outline:"",soft:"",subtle:""},size:{sm:"h-4 min-w-[16px] text-[10px]",md:"h-5 min-w-[20px] text-[11px]",lg:"h-6 min-w-[24px] text-[12px]"}},compoundVariants:[{color:"primary",variant:"solid",class:"text-inverted bg-primary"},{color:"secondary",variant:"solid",class:"text-inverted bg-secondary"},{color:"success",variant:"solid",class:"text-inverted bg-success"},{color:"info",variant:"solid",class:"text-inverted bg-info"},{color:"warning",variant:"solid",class:"text-inverted bg-warning"},{color:"error",variant:"solid",class:"text-inverted bg-error"},{color:"primary",variant:"outline",class:"ring ring-inset ring-primary/50 text-primary"},{color:"secondary",variant:"outline",class:"ring ring-inset ring-secondary/50 text-secondary"},{color:"success",variant:"outline",class:"ring ring-inset ring-success/50 text-success"},{color:"info",variant:"outline",class:"ring ring-inset ring-info/50 text-info"},{color:"warning",variant:"outline",class:"ring ring-inset ring-warning/50 text-warning"},{color:"error",variant:"outline",class:"ring ring-inset ring-error/50 text-error"},{color:"primary",variant:"soft",class:"text-primary bg-primary/10"},{color:"secondary",variant:"soft",class:"text-secondary bg-secondary/10"},{color:"success",variant:"soft",class:"text-success bg-success/10"},{color:"info",variant:"soft",class:"text-info bg-info/10"},{color:"warning",variant:"soft",class:"text-warning bg-warning/10"},{color:"error",variant:"soft",class:"text-error bg-error/10"},{color:"primary",variant:"subtle",class:"text-primary ring ring-inset ring-primary/25 bg-primary/10"},{color:"secondary",variant:"subtle",class:"text-secondary ring ring-inset ring-secondary/25 bg-secondary/10"},{color:"success",variant:"subtle",class:"text-success ring ring-inset ring-success/25 bg-success/10"},{color:"info",variant:"subtle",class:"text-info ring ring-inset ring-info/25 bg-info/10"},{color:"warning",variant:"subtle",class:"text-warning ring ring-inset ring-warning/25 bg-warning/10"},{color:"error",variant:"subtle",class:"text-error ring ring-inset ring-error/25 bg-error/10"},{color:"neutral",variant:"solid",class:"text-inverted bg-inverted"},{color:"neutral",variant:"outline",class:"ring ring-inset ring-accented text-default bg-default"},{color:"neutral",variant:"soft",class:"text-default bg-elevated"},{color:"neutral",variant:"subtle",class:"ring ring-inset ring-accented text-default bg-elevated"}],defaultVariants:{variant:"outline",color:"neutral",size:"md"}},Vy={__name:"UKbd",props:{as:{type:null,required:!1,default:"kbd"},value:{type:null,required:!1},color:{type:null,required:!1},variant:{type:null,required:!1},size:{type:null,required:!1},class:{type:null,required:!1},ui:{type:Object,required:!1}},setup(e){const t=e,{getKbdKey:n}=PM(),o=qe(),u=Ct("kbd",t),r=S(()=>Fe({extend:Fe(MM),...o.ui?.kbd||{}}));return(a,s)=>(D(),T(h(Ae),{as:e.as,class:oe(r.value({class:[h(u)?.base,t.class],color:t.color,variant:t.variant,size:t.size}))},{default:k(()=>[M(a.$slots,"default",{},()=>[Qe(Me(h(n)(e.value)),1)])]),_:3},8,["as","class"]))}},zy=Symbol("nuxt-ui.portal-target");function Sr(e){const t=Ve(zy,void 0),n=S(()=>e.value===!0?t?.value:e.value),o=S(()=>typeof n.value=="boolean"?!n.value:!1),u=S(()=>typeof n.value=="boolean"?"body":n.value);return S(()=>({to:u.value,disabled:o.value}))}const OM={slots:{content:"flex items-center gap-1 bg-default text-highlighted shadow-sm rounded-sm ring ring-default h-6 px-2.5 py-1 text-xs select-none data-[state=delayed-open]:animate-[scale-in_100ms_ease-out] data-[state=closed]:animate-[scale-out_100ms_ease-in] origin-(--reka-tooltip-content-transform-origin) pointer-events-auto",arrow:"fill-bg stroke-default",text:"truncate",kbds:"hidden lg:inline-flex items-center shrink-0 gap-0.5 not-first-of-type:before:content-['·'] not-first-of-type:before:me-0.5",kbdsSize:"sm"}},RM={__name:"UTooltip",props:{text:{type:String,required:!1},kbds:{type:Array,required:!1},content:{type:Object,required:!1},arrow:{type:[Boolean,Object],required:!1},portal:{type:[Boolean,String],required:!1,skipCheck:!0,default:!0},reference:{type:null,required:!1},class:{type:null,required:!1},ui:{type:Object,required:!1},defaultOpen:{type:Boolean,required:!1},open:{type:Boolean,required:!1},delayDuration:{type:Number,required:!1},disableHoverableContent:{type:Boolean,required:!1},disableClosingTrigger:{type:Boolean,required:!1},disabled:{type:Boolean,required:!1},ignoreNonKeyboardFocus:{type:Boolean,required:!1}},emits:["update:open"],setup(e,{emit:t}){const n=e,o=t,u=Ht(),r=qe(),a=Ct("tooltip",n),s=Ua(),i=Et(fn(n,"defaultOpen","open","delayDuration","disableHoverableContent","disableClosingTrigger","ignoreNonKeyboardFocus"),o),c=Sr(at(()=>n.portal)),l=at(()=>Ot(n.content,s.content.value,{side:"bottom",sideOffset:8,collisionPadding:8})),d=at(()=>Ot(n.arrow,{rounded:!0})),f=S(()=>Fe({extend:Fe(OM),...r.ui?.tooltip||{}})({side:l.value.side}));return(p,m)=>(D(),T(h(nF),G(h(i),{disabled:!(e.text||e.kbds?.length||u.content)||n.disabled}),{default:k(({open:g})=>[u.default||e.reference?(D(),T(h(dF),G({key:0},p.$attrs,{"as-child":"",reference:e.reference,class:n.class}),{default:k(()=>[M(p.$slots,"default",{open:g})]),_:2},1040,["reference","class"])):ue("",!0),z(h(lF),De(ke(h(c))),{default:k(()=>[z(h(sF),G(l.value,{"data-slot":"content",class:f.value.content({class:[!u.default&&n.class,h(a)?.content]})}),{default:k(()=>[M(p.$slots,"content",{ui:f.value},()=>[e.text?(D(),le("span",{key:0,"data-slot":"text",class:oe(f.value.text({class:h(a)?.text}))},Me(e.text),3)):ue("",!0),e.kbds?.length?(D(),le("span",{key:1,"data-slot":"kbds",class:oe(f.value.kbds({class:h(a)?.kbds}))},[(D(!0),le(Se,null,dn(e.kbds,(E,b)=>(D(),T(Vy,G({key:b,size:h(a)?.kbdsSize||f.value.kbdsSize()},{ref_for:!0},typeof E=="string"?{value:E}:E),null,16,["size"]))),128))],2)):ue("",!0)]),e.arrow?(D(),T(h(Z8),G({key:0},d.value,{"data-slot":"arrow",class:f.value.arrow({class:h(a)?.arrow})}),null,16,["class"])):ue("",!0)]),_:3},16,["class"])]),_:3},16)]),_:3},16,["disabled"]))}},IM={slots:{base:"",label:"",trailing:"hidden lg:flex items-center gap-0.5 ms-auto"},variants:{collapsed:{true:{label:"hidden",trailing:"lg:hidden"}}}},Uy=Object.assign({inheritAttrs:!1},{__name:"UContentSearchButton",props:{icon:{type:null,required:!1},label:{type:String,required:!1},color:{type:null,required:!1,default:"neutral"},variant:{type:null,required:!1},collapsed:{type:Boolean,required:!1,default:!0},tooltip:{type:[Boolean,Object],required:!1,default:!1},kbds:{type:Array,required:!1,default:()=>["meta","k"]},ui:{type:Object,required:!1},class:{type:null,required:!1},activeColor:{type:null,required:!1},activeVariant:{type:null,required:!1},size:{type:null,required:!1},square:{type:Boolean,required:!1},block:{type:Boolean,required:!1},loadingAuto:{type:Boolean,required:!1},onClick:{type:[Function,Array],required:!1},avatar:{type:Object,required:!1},leading:{type:Boolean,required:!1},leadingIcon:{type:null,required:!1},trailing:{type:Boolean,required:!1},trailingIcon:{type:null,required:!1},loading:{type:Boolean,required:!1},loadingIcon:{type:null,required:!1},as:{type:null,required:!1},type:{type:null,required:!1},disabled:{type:Boolean,required:!1},exactActiveClass:{type:String,required:!1},viewTransition:{type:Boolean,required:!1}},setup(e){const t=e,n=Ht(),[o,u]=nr(),r=()=>Kd(n,["trailing"]),a=on(Pu(t,"icon","label","variant","collapsed","tooltip","kbds","class","ui")),s=at(()=>Ot(typeof t.tooltip=="boolean"?{}:t.tooltip,{delayDuration:0,content:{side:"right"}})),{t:i}=eu(),{open:c}=CF(),l=qe(),d=Ct("contentSearchButton",t),f=S(()=>Fe({extend:Fe(IM),...l.ui?.contentSearchButton||{}})({collapsed:t.collapsed}));return(p,m)=>(D(),le(Se,null,[z(h(o),null,{default:k(()=>[z(Jt,G({icon:e.icon||h(l).ui.icons.search,label:e.label||h(i)("contentSearchButton.label"),variant:e.variant||(e.collapsed?"ghost":"outline")},{...h(a),...e.collapsed?{square:!0,"aria-label":e.label||h(i)("contentSearchButton.label")}:{},...p.$attrs},{class:f.value.base({class:[h(d)?.base,t.class]}),ui:h(yF)(f.value,h(d)),onClick:m[0]||(m[0]=g=>c.value=!0)}),jg({trailing:k(({ui:g})=>[tt("div",{"data-slot":"trailing",class:oe(f.value.trailing({class:h(d)?.trailing}))},[M(p.$slots,"trailing",{ui:g},()=>[e.kbds?.length?(D(!0),le(Se,{key:0},dn(e.kbds,(E,b)=>(D(),T(Vy,G({key:b,variant:"subtle"},{ref_for:!0},typeof E=="string"?{value:E}:E),null,16))),128)):ue("",!0)])],2)]),_:2},[dn(r(),(g,E)=>({name:E,fn:k(b=>[M(p.$slots,E,De(ke(b)))])}))]),1040,["icon","label","variant","class","ui"])]),_:3}),e.collapsed&&e.tooltip?(D(),T(RM,G({key:0,text:e.label||h(i)("contentSearchButton.label")},s.value),{default:k(()=>[z(h(u))]),_:1},16,["text"])):(D(),T(h(u),{key:1}))],64))}}),dl=(e,t)=>{const n=e.__vccOpts||e;for(const[o,u]of t)n[o]=u;return n},LM={};function qM(e,t){const n=Uy;return D(),T(n,{collapsed:!1,class:"w-full",variant:"soft",ui:{leadingIcon:"size-4 mr-1"}})}const $M=Object.assign(dl(LM,[["render",qM]]),{__name:"AppHeaderCenter"}),NM=Object.assign({inheritAttrs:!1},{__name:"UColorModeImage",props:{dark:{type:String,required:!0},light:{type:String,required:!0}},setup(e){const t=e,n=S(()=>zh(t.light,Qt().app.baseURL)),o=S(()=>zh(t.dark,Qt().app.baseURL));return(u,r)=>(D(),le(Se,null,[(D(),T(ln(h(h0)),G({src:n.value,class:"dark:hidden"},u.$attrs),null,16,["src"])),(D(),T(ln(h(h0)),G({src:o.value,class:"hidden dark:block"},u.$attrs),null,16,["src"]))],64))}}),jM={key:1,class:"text-lg font-semibold"},VM=N({__name:"AppHeaderLogo",setup(e){const t=qe();return(n,o)=>{const u=NM;return h(t).docus?.header?.logo?.dark||h(t).docus?.header?.logo?.light?(D(),T(u,{key:0,light:h(t).docus?.header?.logo?.light||h(t).docus?.header?.logo?.dark,dark:h(t).docus?.header?.logo?.dark||h(t).docus?.header?.logo?.light,alt:h(t).docus?.header?.logo?.alt||h(t).docus?.title,class:"h-8 w-auto shrink-0"},null,8,["light","dark","alt"])):(D(),le("span",jM,Me(h(t).docus?.title||"Comments"),1))}}}),zM=Object.assign(VM,{__name:"AppHeaderLogo"}),QV={Root:ET,Trigger:GT,Portal:OT,Content:xT,Arrow:mT,Item:kT,Group:BT,Separator:NT,CheckboxItem:vT,ItemIndicator:TT,Label:PT,RadioGroup:IT,RadioItem:qT,Sub:VT,SubContent:UT,SubTrigger:KT,Filter:wT},UM={Root:QT,Trigger:i8,Portal:a8,Content:u8,Arrow:ZT},HM={Root:ZS,Trigger:pT,Portal:dT,Content:lT,Arrow:eT,Close:nT,Anchor:JS};function fl(e,t={}){const n=e.detail.originalEvent,o=n.target;if(!o?.isConnected){e.preventDefault();return}t.scrollable&&(n.offsetX>o.clientWidth||n.offsetY>o.clientHeight)&&e.preventDefault()}const KM={slots:{content:"bg-default shadow-lg rounded-md ring ring-default data-[state=open]:animate-[scale-in_100ms_ease-out] data-[state=closed]:animate-[scale-out_100ms_ease-in] origin-(--reka-popover-content-transform-origin) focus:outline-none pointer-events-auto",arrow:"fill-bg stroke-default"}},Hy={__name:"UPopover",props:{mode:{type:null,required:!1,default:"click"},content:{type:Object,required:!1},arrow:{type:[Boolean,Object],required:!1},portal:{type:[Boolean,String],required:!1,skipCheck:!0,default:!0},reference:{type:null,required:!1},dismissible:{type:Boolean,required:!1,default:!0},class:{type:null,required:!1},ui:{type:null,required:!1},defaultOpen:{type:Boolean,required:!1},open:{type:Boolean,required:!1},modal:{type:Boolean,required:!1},openDelay:{type:Number,required:!1,default:0},closeDelay:{type:Number,required:!1,default:0}},emits:["close:prevent","update:open"],setup(e,{emit:t}){const n=e,o=t,u=Ht(),r=qe(),a=Ct("popover",n),s=n.mode==="hover"?fn(n,"defaultOpen","open","openDelay","closeDelay"):fn(n,"defaultOpen","open","modal"),i=Et(s,o),c=Sr(at(()=>n.portal)),l=at(()=>Ot(n.content,{side:"bottom",sideOffset:8,collisionPadding:8})),d=S(()=>n.dismissible?{pointerDownOutside:fl}:["interactOutside","escapeKeyDown"].reduce((E,b)=>(E[b]=y=>{y.preventDefault(),o("close:prevent")},E),{})),f=at(()=>Ot(n.arrow,{rounded:!0})),p=S(()=>Fe({extend:Fe(KM),...r.ui?.popover||{}})({side:l.value.side})),m=S(()=>n.mode==="hover"?UM:HM);return(g,E)=>(D(),T(h(m).Root,De(ke(h(i))),{default:k(({open:b,close:y})=>[u.default||e.reference?(D(),T(h(m).Trigger,{key:0,"as-child":"",reference:e.reference,class:oe(n.class)},{default:k(()=>[M(g.$slots,"default",{open:b})]),_:2},1032,["reference","class"])):ue("",!0),"Anchor"in m.value&&u.anchor?(D(),T(h(m).Anchor,{key:1,"as-child":""},{default:k(()=>[M(g.$slots,"anchor",De(ke(y?{close:y}:{})))]),_:2},1024)):ue("",!0),z(h(m).Portal,De(ke(h(c))),{default:k(()=>[z(h(m).Content,G(l.value,{"data-slot":"content",class:p.value.content({class:[!u.default&&n.class,h(a)?.content]})},Oa(d.value)),{default:k(()=>[M(g.$slots,"content",De(ke(y?{close:y}:{}))),e.arrow?(D(),T(h(m).Arrow,G({key:0},f.value,{"data-slot":"arrow",class:p.value.arrow({class:h(a)?.arrow})}),null,16,["class"])):ue("",!0)]),_:2},1040,["class"])]),_:2},1040)]),_:3},16))}},WM={slots:{base:"font-medium inline-flex items-center",label:"truncate",leadingIcon:"shrink-0",leadingAvatar:"shrink-0",leadingAvatarSize:"",trailingIcon:"shrink-0"},variants:{fieldGroup:{horizontal:"not-only:first:rounded-e-none not-only:last:rounded-s-none not-last:not-first:rounded-none focus-visible:z-[1]",vertical:"not-only:first:rounded-b-none not-only:last:rounded-t-none not-last:not-first:rounded-none focus-visible:z-[1]"},color:{primary:"",secondary:"",success:"",info:"",warning:"",error:"",neutral:""},variant:{solid:"",outline:"",soft:"",subtle:""},size:{xs:{base:"text-[8px]/3 px-1 py-0.5 gap-1 rounded-sm",leadingIcon:"size-3",leadingAvatarSize:"3xs",trailingIcon:"size-3"},sm:{base:"text-[10px]/3 px-1.5 py-1 gap-1 rounded-sm",leadingIcon:"size-3",leadingAvatarSize:"3xs",trailingIcon:"size-3"},md:{base:"text-xs px-2 py-1 gap-1 rounded-md",leadingIcon:"size-4",leadingAvatarSize:"3xs",trailingIcon:"size-4"},lg:{base:"text-sm px-2 py-1 gap-1.5 rounded-md",leadingIcon:"size-5",leadingAvatarSize:"2xs",trailingIcon:"size-5"},xl:{base:"text-base px-2.5 py-1 gap-1.5 rounded-md",leadingIcon:"size-6",leadingAvatarSize:"2xs",trailingIcon:"size-6"}},square:{true:""}},compoundVariants:[{color:"primary",variant:"solid",class:"bg-primary text-inverted"},{color:"secondary",variant:"solid",class:"bg-secondary text-inverted"},{color:"success",variant:"solid",class:"bg-success text-inverted"},{color:"info",variant:"solid",class:"bg-info text-inverted"},{color:"warning",variant:"solid",class:"bg-warning text-inverted"},{color:"error",variant:"solid",class:"bg-error text-inverted"},{color:"primary",variant:"outline",class:"text-primary ring ring-inset ring-primary/50"},{color:"secondary",variant:"outline",class:"text-secondary ring ring-inset ring-secondary/50"},{color:"success",variant:"outline",class:"text-success ring ring-inset ring-success/50"},{color:"info",variant:"outline",class:"text-info ring ring-inset ring-info/50"},{color:"warning",variant:"outline",class:"text-warning ring ring-inset ring-warning/50"},{color:"error",variant:"outline",class:"text-error ring ring-inset ring-error/50"},{color:"primary",variant:"soft",class:"bg-primary/10 text-primary"},{color:"secondary",variant:"soft",class:"bg-secondary/10 text-secondary"},{color:"success",variant:"soft",class:"bg-success/10 text-success"},{color:"info",variant:"soft",class:"bg-info/10 text-info"},{color:"warning",variant:"soft",class:"bg-warning/10 text-warning"},{color:"error",variant:"soft",class:"bg-error/10 text-error"},{color:"primary",variant:"subtle",class:"bg-primary/10 text-primary ring ring-inset ring-primary/25"},{color:"secondary",variant:"subtle",class:"bg-secondary/10 text-secondary ring ring-inset ring-secondary/25"},{color:"success",variant:"subtle",class:"bg-success/10 text-success ring ring-inset ring-success/25"},{color:"info",variant:"subtle",class:"bg-info/10 text-info ring ring-inset ring-info/25"},{color:"warning",variant:"subtle",class:"bg-warning/10 text-warning ring ring-inset ring-warning/25"},{color:"error",variant:"subtle",class:"bg-error/10 text-error ring ring-inset ring-error/25"},{color:"neutral",variant:"solid",class:"text-inverted bg-inverted"},{color:"neutral",variant:"outline",class:"ring ring-inset ring-accented text-default bg-default"},{color:"neutral",variant:"soft",class:"text-default bg-elevated"},{color:"neutral",variant:"subtle",class:"ring ring-inset ring-accented text-default bg-elevated"},{size:"xs",square:!0,class:"p-0.5"},{size:"sm",square:!0,class:"p-1"},{size:"md",square:!0,class:"p-1"},{size:"lg",square:!0,class:"p-1"},{size:"xl",square:!0,class:"p-1"}],defaultVariants:{color:"primary",variant:"solid",size:"md"}},Ky={__name:"UBadge",props:{as:{type:null,required:!1,default:"span"},label:{type:[String,Number],required:!1},color:{type:null,required:!1},variant:{type:null,required:!1},size:{type:null,required:!1},square:{type:Boolean,required:!1},class:{type:null,required:!1},ui:{type:Object,required:!1},icon:{type:null,required:!1},avatar:{type:Object,required:!1},leading:{type:Boolean,required:!1},leadingIcon:{type:null,required:!1},trailing:{type:Boolean,required:!1},trailingIcon:{type:null,required:!1}},setup(e){const t=e,n=Ht(),o=qe(),u=Ct("badge",t),{orientation:r,size:a}=Py(t),{isLeading:s,isTrailing:i,leadingIconName:c,trailingIconName:l}=Fy(t),d=S(()=>Fe({extend:Fe(WM),...o.ui?.badge||{}})({color:t.color,variant:t.variant,size:a.value||t.size,square:t.square||!n.default&&!t.label,fieldGroup:r.value}));return(f,p)=>(D(),T(h(Ae),{as:e.as,"data-slot":"base",class:oe(d.value.base({class:[h(u)?.base,t.class]}))},{default:k(()=>[M(f.$slots,"leading",{ui:d.value},()=>[h(s)&&h(c)?(D(),T(vn,{key:0,name:h(c),"data-slot":"leadingIcon",class:oe(d.value.leadingIcon({class:h(u)?.leadingIcon}))},null,8,["name","class"])):e.avatar?(D(),T(cl,G({key:1,size:h(u)?.leadingAvatarSize||d.value.leadingAvatarSize()},e.avatar,{"data-slot":"leadingAvatar",class:d.value.leadingAvatar({class:h(u)?.leadingAvatar})}),null,16,["size","class"])):ue("",!0)]),M(f.$slots,"default",{ui:d.value},()=>[e.label!==void 0&&e.label!==null?(D(),le("span",{key:0,"data-slot":"label",class:oe(d.value.label({class:h(u)?.label}))},Me(e.label),3)):ue("",!0)]),M(f.$slots,"trailing",{ui:d.value},()=>[h(i)&&h(l)?(D(),T(vn,{key:0,name:h(l),"data-slot":"trailingIcon",class:oe(d.value.trailingIcon({class:h(u)?.trailingIcon}))},null,8,["name","class"])):ue("",!0)])]),_:3},8,["as","class"]))}},Ds=L([]),ws=L(!1),Zl=L(!1);function Wy(){const t=Qt().public.docsVersion||"1.x";async function n(){if(!(ws.value||Zl.value)){Zl.value=!0;try{const s=await fetch("/comments/versions.json");s.ok&&(Ds.value=await s.json())}catch(s){console.warn("Failed to load versions.json:",s)}finally{ws.value=!0,Zl.value=!1}}}const o=S(()=>Ds.value.find(s=>s.isLatest)),u=S(()=>Ds.value.find(s=>s.version===t)),r=S(()=>ws.value?u.value?.isLatest===!1:!1),a=S(()=>u.value?.title||t);return{versions:Ds,currentVersion:t,currentTitle:a,latestVersion:o,isOldVersion:r,isLoaded:ws,loadVersions:n}}const GM={class:"p-1"},YM=["onClick"],ZM=N({__name:"AppVersionSwitcher",setup(e){const{versions:t,currentVersion:n,currentTitle:o,loadVersions:u}=Wy();je(()=>u());function r(a){a.version!==n&&(window.location.href=a.path)}return(a,s)=>{const i=Jt,c=Hy,l=Ky;return h(t).length>1?(D(),le("div",{key:0,class:"relative",onClick:s[0]||(s[0]=bn(()=>{},["stop"]))},[z(c,null,{content:k(()=>[tt("div",GM,[(D(!0),le(Se,null,dn(h(t),d=>(D(),le("button",{key:d.version,class:oe(["w-full px-3 py-2 text-left text-sm rounded hover:bg-gray-100 dark:hover:bg-gray-800 flex items-center gap-2",{"font-medium text-primary":d.version===h(n)}]),onClick:f=>r(d)},Me(d.title),11,YM))),128))])]),default:k(()=>[z(i,{variant:"ghost",size:"sm",label:h(o),"trailing-icon":"i-lucide-chevron-down"},null,8,["label"])]),_:1})])):h(n)?(D(),T(l,{key:1,variant:"subtle",color:"neutral"},{default:k(()=>[Qe(Me(h(n)),1)]),_:1})):ue("",!0)}}}),XM=Object.assign(ZM,{__name:"AppVersionSwitcher"}),JM={};function QM(e,t){return D(),le("div")}const eO=Object.assign(dl(JM,[["render",QM]]),{__name:"AppHeaderCTA"}),pl=()=>{const e=Qt().public,t=Ie(),n=L(!!e.i18n);if(!n.value){const a=t.$locale||"en",s=t.$localeMessages||{};return{isEnabled:n,locale:L(a),locales:[],localePath:i=>i,switchLocalePath:()=>{},t:i=>i.split(".").reduce((l,d)=>l?.[d],s)}}const o=t.$i18n?.locale||L("en"),u=t.$i18n?.t||(a=>a),r=e.docus?.filteredLocales||[];return{isEnabled:n,locale:o,locales:r,t:u,localePath:t.$localePath||(a=>a),switchLocalePath:t.$switchLocalePath||(()=>"")}},tO={class:"text-lg"},nO={class:"flex flex-col"},oO={class:"text-sm"},uO={class:"size-5 text-center"},rO=N({__name:"LanguageSelect",setup(e){const{locale:t,locales:n,switchLocalePath:o}=pl();function u(r){const a={ar:"sa",bn:"bd",ca:"es",ckb:"iq",cs:"cz",da:"dk",el:"gr",en:"gb",et:"ee",he:"il",hi:"in",hy:"am",ja:"jp",kk:"kz",km:"kh",ko:"kr",ky:"kg",lb:"lu",ms:"my",nb:"no",sl:"si",sv:"se",uk:"ua",ur:"pk",vi:"vn",es:"es",id:"id"},s=r.split("-")[0]?.toLowerCase()||r;return(a[s]||r.replace(/^.*-/,"").slice(0,2)).toUpperCase().split("").map(c=>String.fromCodePoint(127397+c.charCodeAt(0))).join("")}return(r,a)=>{const s=Jt,i=Gv,c=Hy;return D(),T(c,{content:{align:"end"}},{content:k(()=>[tt("ul",nO,[(D(!0),le(Se,null,dn(h(n),l=>(D(),le("li",{key:l.code},[z(i,{class:"flex justify-between py-1.5 px-2 gap-1 hover:bg-muted",to:h(o)(l.code),"aria-label":l.name},{default:k(()=>[tt("span",oO,Me(l.name),1),tt("span",uO,Me(u(l.code)),1)]),_:2},1032,["to","aria-label"])]))),128))])]),default:k(()=>[z(s,{color:"neutral",variant:"ghost",class:"size-8"},{trailing:k(()=>[tt("span",tO,Me(u(h(t))),1)]),_:1})]),_:1})}}}),aO=Object.assign(rO,{__name:"LanguageSelect"}),sO={slots:{root:"flex items-center align-center text-center",border:"",container:"font-medium text-default flex",icon:"shrink-0 size-5",avatar:"shrink-0",avatarSize:"2xs",label:"text-sm"},variants:{color:{primary:{border:"border-primary"},secondary:{border:"border-secondary"},success:{border:"border-success"},info:{border:"border-info"},warning:{border:"border-warning"},error:{border:"border-error"},neutral:{border:"border-default"}},orientation:{horizontal:{root:"w-full flex-row",border:"w-full",container:"mx-3 whitespace-nowrap"},vertical:{root:"h-full flex-col",border:"h-full",container:"my-2"}},size:{xs:"",sm:"",md:"",lg:"",xl:""},type:{solid:{border:"border-solid"},dashed:{border:"border-dashed"},dotted:{border:"border-dotted"}}},compoundVariants:[{orientation:"horizontal",size:"xs",class:{border:"border-t"}},{orientation:"horizontal",size:"sm",class:{border:"border-t-[2px]"}},{orientation:"horizontal",size:"md",class:{border:"border-t-[3px]"}},{orientation:"horizontal",size:"lg",class:{border:"border-t-[4px]"}},{orientation:"horizontal",size:"xl",class:{border:"border-t-[5px]"}},{orientation:"vertical",size:"xs",class:{border:"border-s"}},{orientation:"vertical",size:"sm",class:{border:"border-s-[2px]"}},{orientation:"vertical",size:"md",class:{border:"border-s-[3px]"}},{orientation:"vertical",size:"lg",class:{border:"border-s-[4px]"}},{orientation:"vertical",size:"xl",class:{border:"border-s-[5px]"}}],defaultVariants:{color:"neutral",size:"xs",type:"solid"}},iO={__name:"USeparator",props:{as:{type:null,required:!1},label:{type:String,required:!1},icon:{type:null,required:!1},avatar:{type:Object,required:!1},color:{type:null,required:!1},size:{type:null,required:!1},type:{type:null,required:!1},orientation:{type:null,required:!1,default:"horizontal"},class:{type:null,required:!1},ui:{type:null,required:!1},decorative:{type:Boolean,required:!1}},setup(e){const t=e,n=Ht(),o=qe(),u=Ct("separator",t),r=on(fn(t,"as","decorative","orientation")),a=S(()=>Fe({extend:Fe(sO),...o.ui?.separator||{}})({color:t.color,orientation:t.orientation,size:t.size,type:t.type}));return(s,i)=>(D(),T(h(E8),G(h(r),{"data-slot":"root",class:a.value.root({class:[h(u)?.root,t.class]})}),{default:k(()=>[tt("div",{"data-slot":"border",class:oe(a.value.border({class:h(u)?.border}))},null,2),e.label||e.icon||e.avatar||n.default?(D(),le(Se,{key:0},[tt("div",{"data-slot":"container",class:oe(a.value.container({class:h(u)?.container}))},[M(s.$slots,"default",{ui:a.value},()=>[e.label?(D(),le("span",{key:0,"data-slot":"label",class:oe(a.value.label({class:h(u)?.label}))},Me(e.label),3)):e.icon?(D(),T(vn,{key:1,name:e.icon,"data-slot":"icon",class:oe(a.value.icon({class:h(u)?.icon}))},null,8,["name","class"])):e.avatar?(D(),T(cl,G({key:2,size:h(u)?.avatarSize||a.value.avatarSize()},e.avatar,{"data-slot":"avatar",class:a.value.avatar({class:h(u)?.avatar})}),null,16,["size","class"])):ue("",!0)])],2),tt("div",{"data-slot":"border",class:oe(a.value.border({class:h(u)?.border}))},null,2)],64)):ue("",!0)]),_:3},16,["class"]))}},lO=()=>Ho("color-mode").value,Gy=Object.assign({inheritAttrs:!1},{__name:"UColorModeButton",props:{color:{type:null,required:!1,default:"neutral"},variant:{type:null,required:!1,default:"ghost"},label:{type:String,required:!1},activeColor:{type:null,required:!1},activeVariant:{type:null,required:!1},size:{type:null,required:!1},square:{type:Boolean,required:!1},block:{type:Boolean,required:!1},loadingAuto:{type:Boolean,required:!1},onClick:{type:[Function,Array],required:!1},class:{type:null,required:!1},ui:{type:Object,required:!1},icon:{type:null,required:!1},avatar:{type:Object,required:!1},leading:{type:Boolean,required:!1},leadingIcon:{type:null,required:!1},trailing:{type:Boolean,required:!1},trailingIcon:{type:null,required:!1},loading:{type:Boolean,required:!1},loadingIcon:{type:null,required:!1},as:{type:null,required:!1},type:{type:null,required:!1},disabled:{type:Boolean,required:!1},exactActiveClass:{type:String,required:!1},viewTransition:{type:Boolean,required:!1}},setup(e){const t=e,{t:n}=eu(),o=lO(),u=qe(),r=Ct("button",t),a=on(Pu(t,"icon")),s=S({get(){return o.value==="dark"},set(i){o.preference=i?"dark":"light"}});return(i,c)=>(D(),T(Jt,G({...h(a),"aria-label":s.value?h(n)("colorMode.switchToLight"):h(n)("colorMode.switchToDark"),...i.$attrs},{onClick:c[0]||(c[0]=l=>s.value=!s.value)}),{leading:k(({ui:l})=>[z(vn,{class:oe(l.leadingIcon({class:[h(r)?.leadingIcon,"hidden dark:inline-block"]})),name:h(u).ui.icons.dark},null,8,["class","name"]),z(vn,{class:oe(l.leadingIcon({class:[h(r)?.leadingIcon,"dark:hidden"]})),name:h(u).ui.icons.light},null,8,["class","name"])]),_:1},16))}}),As=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function cO(e,t){let n=new Set,o=new Set,u=!1,r=!1;const a=new WeakSet;let s={delta:0,timestamp:0,isProcessing:!1};function i(l){a.has(l)&&(c.schedule(l),e()),l(s)}const c={schedule:(l,d=!1,f=!1)=>{const m=f&&u?n:o;return d&&a.add(l),m.has(l)||m.add(l),l},cancel:l=>{o.delete(l),a.delete(l)},process:l=>{if(s=l,u){r=!0;return}u=!0,[n,o]=[o,n],n.forEach(i),n.clear(),u=!1,r&&(r=!1,c.process(l))}};return c}const Ao={},dO=40;function Yy(e,t){let n=!1,o=!0;const u={delta:0,timestamp:0,isProcessing:!1},r=()=>n=!0,a=As.reduce((v,C)=>(v[C]=cO(r),v),{}),{setup:s,read:i,resolveKeyframes:c,preUpdate:l,update:d,preRender:f,render:p,postRender:m}=a,g=()=>{const v=Ao.useManualTiming?u.timestamp:performance.now();n=!1,Ao.useManualTiming||(u.delta=o?1e3/60:Math.max(Math.min(v-u.timestamp,dO),1)),u.timestamp=v,u.isProcessing=!0,s.process(u),i.process(u),c.process(u),l.process(u),d.process(u),f.process(u),p.process(u),m.process(u),u.isProcessing=!1,n&&t&&(o=!1,e(g))},E=()=>{n=!0,o=!0,u.isProcessing||e(g)};return{schedule:As.reduce((v,C)=>{const x=a[C];return v[C]=(w,B=!1,_=!1)=>(n||E(),x.schedule(w,B,_)),v},{}),cancel:v=>{for(let C=0;Ce,{schedule:st,cancel:Bo,state:Rt,steps:Xl}=Yy(typeof requestAnimationFrame<"u"?requestAnimationFrame:cn,!0);let Ns;function fO(){Ns=void 0}const Xt={now:()=>(Ns===void 0&&Xt.set(Rt.isProcessing||Ao.useManualTiming?Rt.timestamp:performance.now()),Ns),set:e=>{Ns=e,queueMicrotask(fO)}},In=e=>e*1e3,_n=e=>e/1e3;function pO(e,t){const n=Xt.now(),o=({timestamp:u})=>{const r=u-n;r>=t&&(Bo(o),e(r-t))};return st.setup(o,!0),()=>Bo(o)}const Ha=e=>({test:t=>typeof t=="string"&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),jo=Ha("deg"),oo=Ha("%"),de=Ha("px"),hO=Ha("vh"),mO=Ha("vw"),n4={...oo,parse:e=>oo.parse(e)/100,transform:e=>oo.transform(e*100)};function o4(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const Xn={correct:(e,t)=>{if(!t.target)return e;if(typeof e=="string")if(de.test(e))e=parseFloat(e);else return e;const n=o4(e,t.target.x),o=o4(e,t.target.y);return`${n}% ${o}%`}},ro=(e,t,n)=>n>t?t:ntypeof e=="number",parse:parseFloat,transform:e=>e},Aa={...Tr,transform:e=>ro(0,1,e)},Bs={...Tr,default:1},ra=e=>Math.round(e*1e5)/1e5,Jd=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function gO(e){return e==null}const vO=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,Qd=(e,t)=>n=>!!(typeof n=="string"&&vO.test(n)&&n.startsWith(e)||t&&!gO(n)&&Object.prototype.hasOwnProperty.call(n,t)),Zy=(e,t,n)=>o=>{if(typeof o!="string")return o;const[u,r,a,s]=o.match(Jd);return{[e]:parseFloat(u),[t]:parseFloat(r),[n]:parseFloat(a),alpha:s!==void 0?parseFloat(s):1}},yO=e=>ro(0,255,e),Jl={...Tr,transform:e=>Math.round(yO(e))},hu={test:Qd("rgb","red"),parse:Zy("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:o=1})=>"rgba("+Jl.transform(e)+", "+Jl.transform(t)+", "+Jl.transform(n)+", "+ra(Aa.transform(o))+")"};function bO(e){let t="",n="",o="",u="";return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),o=e.substring(5,7),u=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),o=e.substring(3,4),u=e.substring(4,5),t+=t,n+=n,o+=o,u+=u),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(o,16),alpha:u?parseInt(u,16)/255:1}}const m0={test:Qd("#"),parse:bO,transform:hu.transform},Ku={test:Qd("hsl","hue"),parse:Zy("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:o=1})=>"hsla("+Math.round(e)+", "+oo.transform(ra(t))+", "+oo.transform(ra(n))+", "+ra(Aa.transform(o))+")"},Dt={test:e=>hu.test(e)||m0.test(e)||Ku.test(e),parse:e=>hu.test(e)?hu.parse(e):Ku.test(e)?Ku.parse(e):m0.parse(e),transform:e=>typeof e=="string"?e:e.hasOwnProperty("red")?hu.transform(e):Ku.transform(e),getAnimatableNone:e=>{const t=Dt.parse(e);return t.alpha=0,Dt.transform(t)}},EO=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function CO(e){var t,n;return isNaN(e)&&typeof e=="string"&&(((t=e.match(Jd))==null?void 0:t.length)||0)+(((n=e.match(EO))==null?void 0:n.length)||0)>0}const Xy="number",Jy="color",xO="var",DO="var(",u4="${}",wO=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function Ba(e){const t=e.toString(),n=[],o={color:[],number:[],var:[]},u=[];let r=0;const s=t.replace(wO,i=>(Dt.test(i)?(o.color.push(r),u.push(Jy),n.push(Dt.parse(i))):i.startsWith(DO)?(o.var.push(r),u.push(xO),n.push(i)):(o.number.push(r),u.push(Xy),n.push(parseFloat(i))),++r,u4)).split(u4);return{values:n,split:s,indexes:o,types:u}}function Qy(e){return Ba(e).values}function e6(e){const{split:t,types:n}=Ba(e),o=t.length;return u=>{let r="";for(let a=0;atypeof e=="number"?0:Dt.test(e)?Dt.getAnimatableNone(e):e;function BO(e){const t=Qy(e);return e6(e)(t.map(AO))}const Qo={test:CO,parse:Qy,createTransformer:e6,getAnimatableNone:BO},dt=(e,t,n)=>e+(t-e)*n,t6={correct:(e,{treeScale:t,projectionDelta:n})=>{const o=e,u=Qo.parse(e);if(u.length>5)return o;const r=Qo.createTransformer(e),a=typeof u[0]!="number"?1:0,s=n.x.scale*t.x,i=n.y.scale*t.y;u[0+a]/=s,u[1+a]/=i;const c=dt(s,i,.5);return typeof u[2+a]=="number"&&(u[2+a]/=c),typeof u[3+a]=="number"&&(u[3+a]/=c),r(u)}},n6=e=>t=>typeof t=="string"&&t.startsWith(e),ef=n6("--"),_O=n6("var(--"),tf=e=>_O(e)?kO.test(e.split("/*")[0].trim()):!1,kO=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function r4(e){return typeof e!="string"?!1:e.split("/*")[0].includes("var(--")}const _a={borderRadius:{...Xn,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:Xn,borderTopRightRadius:Xn,borderBottomLeftRadius:Xn,borderBottomRightRadius:Xn,boxShadow:t6};function o6(e){for(const t in e)_a[t]=e[t],ef(t)&&(_a[t].isCSSVariable=!0)}function Ka(e,t){const n=typeof e=="string"&&!t?`${e}Context`:t,o=Symbol(n);return[a=>{const s=Ve(o,a);if(s===void 0)throw new Error(`Injection \`${o.toString()}\` not found. Component must be used within ${Array.isArray(e)?`one of the following components: ${e.join(", ")}`:`\`${e}\``}`);return s},a=>(St(o,a),a)]}const[SO,TO]=Ka("Motion"),[FO]=Ka("LayoutGroup");function a4(e){return e!==null&&typeof e=="object"&&typeof e.start=="function"}class Oo{constructor(t){this.state=t}beforeMount(){}mount(){}unmount(){}update(){}beforeUpdate(t){}beforeUnmount(){}}function aa(e,t,n){if(Array.isArray(e))return e.reduce((o,u)=>{const r=aa(u,t,n);return r?{...o,...r}:o},{});if(typeof e=="object")return e;if(e&&t){const o=t[e];return typeof o=="function"?o(n):o}}function PO(e,t){return typeof e!=typeof t?!0:Array.isArray(e)&&Array.isArray(t)?!MO(e,t):e!==t}function MO(e,t){const n=t.length;if(n!==e.length)return!1;for(let o=0;oe;function RO(e){return typeof e=="number"}const IO=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","svg","switch","symbol","text","tspan","use","view","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","linearGradient","radialGradient","textPath"],LO=new Set(IO);function u6(e){return LO.has(e)}class qO{constructor(t){this.features=[];const{features:n=[],lazyMotionContext:o}=t.options,u=n.concat(o.features.value);this.features=u.map(a=>new a(t));const r=this.features;Ce(o.features,a=>{a.forEach(s=>{if(!u.includes(s)){u.push(s);const i=new s(t);r.push(i),t.isMounted()&&(i.beforeMount(),i.mount())}})},{flush:"pre"})}mount(){this.features.forEach(t=>t.mount())}beforeMount(){this.features.forEach(t=>{var n;return(n=t.beforeMount)==null?void 0:n.call(t)})}unmount(){this.features.forEach(t=>t.unmount())}update(){this.features.forEach(t=>{var n;return(n=t.update)==null?void 0:n.call(t)})}beforeUpdate(t){this.features.forEach(n=>{var o;return(o=n.beforeUpdate)==null?void 0:o.call(n,t)})}beforeUnmount(){this.features.forEach(t=>t.beforeUnmount())}}function $O(e){return typeof e=="string"||e===!1||Array.isArray(e)}const r6=new WeakMap;let NO=0;class jO{constructor(t,n){var o;this.element=null,this.isExiting=!1,this.presenceContainer=null,this.children=new Set,this.activeStates={initial:!0,animate:!0},this.currentProcess=null,this._context=null,this.animateUpdates=cn,this.id=`motion-state-${NO++}`,this.options=t,this.parent=n,(o=n?.children)==null||o.add(this);const r=(t.initial===void 0&&t.variants?this.context.initial:t.initial)===!1?["initial","animate"]:["initial"];this.initTarget(r),this.featureManager=new qO(this),this.type=u6(this.options.as)?"svg":"html"}get context(){if(!this._context){const t={get:(n,o)=>{var u;return $O(this.options[o])?this.options[o]:(u=this.parent)==null?void 0:u.context[o]}};this._context=new Proxy({},t)}return this._context}initTarget(t){var n;const o=this.options.custom??((n=this.options.animatePresenceContext)==null?void 0:n.custom);this.baseTarget=t.reduce((u,r)=>({...u,...aa(this.options[r]||this.context[r],this.options.variants,o)}),{}),this.target={}}updateOptions(t){var n;this.options=t,(n=this.visualElement)==null||n.update({...this.options,whileTap:this.options.whilePress},null)}beforeMount(){this.featureManager.beforeMount()}mount(t,n,o=!1){var u;this.element=t,this.updateOptions(n),this.featureManager.mount(),!o&&this.options.animate&&((u=this.startAnimation)==null||u.call(this))}clearAnimation(){var t,n;this.currentProcess&&Bo(this.currentProcess),this.currentProcess=null,(n=(t=this.visualElement)==null?void 0:t.variantChildren)==null||n.forEach(o=>{o.state.clearAnimation()})}startAnimation(){this.clearAnimation(),this.currentProcess=st.render(()=>{this.currentProcess=null,this.animateUpdates()})}beforeUnmount(){this.featureManager.beforeUnmount()}unmount(){var t,n,o;(n=(t=this.parent)==null?void 0:t.children)==null||n.delete(this),r6.delete(this.element),this.featureManager.unmount(),(o=this.visualElement)==null||o.unmount(),this.clearAnimation()}beforeUpdate(t){this.featureManager.beforeUpdate(t)}update(t){this.updateOptions(t),this.featureManager.update(),this.startAnimation()}setActive(t,n,o=!0){var u;!this.element||this.activeStates[t]===n||(this.activeStates[t]=n,(u=this.visualElement.variantChildren)==null||u.forEach(r=>{r.state.setActive(t,n,!1)}),o&&this.animateUpdates({isExit:t==="exit"&&this.activeStates.exit}))}isMounted(){return!!this.element}getSnapshot(t,n){}didUpdate(t){}}const Fu=new WeakMap;function i4(e,t,n){return new CustomEvent(e,{detail:{target:t,isExit:n}})}const l4={syntax:"",initialValue:"0deg",toDefaultUnit:e=>`${e}deg`},VO={translate:{syntax:"",initialValue:"0px",toDefaultUnit:e=>`${e}px`},rotate:l4,scale:{syntax:"",initialValue:1,toDefaultUnit:OO},skew:l4},zO=["translate","scale","rotate","skew"],UO=["","X","Y","Z"],nf=new Map,Ei=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"];zO.forEach(e=>{UO.forEach(t=>{Ei.push(e+t),nf.set(e+t,VO[e])})});const HO=new Set(Ei),KO=e=>HO.has(e),c4={x:"translateX",y:"translateY",z:"translateZ"};function WO([e],[t]){return Ei.indexOf(e)-Ei.indexOf(t)}function GO(e,[t,n]){return`${e} ${t}(${n})`}function YO(e){return e.sort(WO).reduce(GO,"").trim()}const d4={translate:[0,0],rotate:0,scale:1,skew:0,x:0,y:0,z:0},wt=e=>!!(e&&e.getVelocity),ZO={get:(e,t)=>{let n=s4(t)?e.style.getPropertyValue(t):getComputedStyle(e)[t];if(!n&&n!=="0"){const o=nf.get(t);o&&(n=o.initialValue)}return n},set:(e,t,n)=>{s4(t)?e.style.setProperty(t,n):e.style[t]=n}};function XO(e){var t;const n={},o=[];for(let u in e){let r=e[u];r=wt(r)?r.get():r,KO(u)&&u in c4&&(u=c4[u]);let a=Array.isArray(r)?r[0]:r;const s=nf.get(u);s?(a=RO(r)?(t=s.toDefaultUnit)==null?void 0:t.call(s,r):r,o.push([u,a])):n[u]=a}return o.length&&(n.transform=YO(o)),Object.keys(n).length===0?null:n}const JO={fill:!0,stroke:!0,opacity:!0,"stroke-width":!0,"fill-opacity":!0,"stroke-opacity":!0,"stroke-linecap":!0,"stroke-linejoin":!0,"stroke-dasharray":!0,"stroke-dashoffset":!0,cx:!0,cy:!0,r:!0,d:!0,x1:!0,y1:!0,x2:!0,y2:!0,points:!0,"path-length":!0,viewBox:!0,width:!0,height:!0,"preserve-aspect-ratio":!0,"clip-path":!0,filter:!0,mask:!0,"stop-color":!0,"stop-opacity":!0,"gradient-transform":!0,"gradient-units":!0,"spread-method":!0,"marker-end":!0,"marker-mid":!0,"marker-start":!0,"text-anchor":!0,"dominant-baseline":!0,"font-family":!0,"font-size":!0,"font-weight":!0,"letter-spacing":!0,"vector-effect":!0};function QO(e){return e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()}function eR(e,t,n=1,o=0){e.pathLength=1,delete e["path-length"],e["stroke-dashoffset"]=de.transform(-o);const u=de.transform(t),r=de.transform(n);e["stroke-dasharray"]=`${u} ${r}`}function tR(e){const t={},n={};for(const o in e){const u=QO(o);if(u in JO){const r=e[o];t[u]=wt(r)?r.get():r}else n[o]=e[o]}return t["path-length"]!==void 0&&eR(t,t["path-length"],t["path-spacing"],t["path-offset"]),{attrs:t,style:n}}const a6=nn?window:void 0,s6=nn?window.navigator:void 0;function nR(e){var t;const n=Be(e);return(t=n?.$el)!==null&&t!==void 0?t:n}function of(...e){const t=(o,u,r,a)=>(o.addEventListener(u,r,a),()=>o.removeEventListener(u,r,a)),n=S(()=>{const o=to(Be(e[0])).filter(u=>u!=null);return o.every(u=>typeof u!="string")?o:void 0});return Ed(()=>{var o,u;return[(o=(u=n.value)===null||u===void 0?void 0:u.map(r=>nR(r)))!==null&&o!==void 0?o:[a6].filter(r=>r!=null),to(Be(n.value?e[1]:e[0])),to(h(n.value?e[2]:e[1])),Be(n.value?e[3]:e[2])]},([o,u,r,a],s,i)=>{if(!o?.length||!u?.length||!r?.length)return;const c=yd(a)?{...a}:a,l=o.flatMap(d=>u.flatMap(f=>r.map(p=>t(d,f,p,c))));i(()=>{l.forEach(d=>d())})},{flush:"post"})}function oR(){const e=$e(!1),t=et();return t&&je(()=>{e.value=!0},t),e}function uf(e){const t=oR();return S(()=>(t.value,!!e()))}const uR=Symbol("vueuse-ssr-width");function rR(){const e=yr()?HB(uR,null):null;return typeof e=="number"?e:void 0}function aR(e,t={}){const{window:n=a6,ssrWidth:o=rR()}=t,u=uf(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function"),r=$e(typeof o=="number"),a=$e(),s=$e(!1),i=c=>{s.value=c.matches};return mt(()=>{if(r.value){r.value=!u.value,s.value=Be(e).split(",").some(c=>{const l=c.includes("not all"),d=c.match(/\(\s*min-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/),f=c.match(/\(\s*max-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/);let p=!!(d||f);return d&&p&&(p=o>=bh(d[1])),f&&p&&(p=o<=bh(f[1])),l?!p:p});return}u.value&&(a.value=n.matchMedia(Be(e)),s.value=a.value.matches)}),of(a,"change",i,{passive:!0}),S(()=>s.value)}function f4(e,t={}){const{controls:n=!1,navigator:o=s6}=t,u=uf(()=>o&&"permissions"in o),r=$e(),a=typeof e=="string"?{name:e}:e,s=$e(),i=()=>{var l,d;s.value=(l=(d=r.value)===null||d===void 0?void 0:d.state)!==null&&l!==void 0?l:"prompt"};of(r,"change",i,{passive:!0});const c=D1(async()=>{if(u.value){if(!r.value)try{r.value=await o.permissions.query(a)}catch{r.value=void 0}finally{i()}if(n)return Ne(r.value)}});return c(),n?{state:s,isSupported:u,query:c}:s}function ez(e={}){const{navigator:t=s6,read:n=!1,source:o,copiedDuring:u=1500,legacy:r=!1}=e,a=uf(()=>t&&"clipboard"in t),s=f4("clipboard-read"),i=f4("clipboard-write"),c=S(()=>a.value||r),l=$e(""),d=$e(!1),f=Ia(()=>d.value=!1,u,{immediate:!1});async function p(){let y=!(a.value&&b(s.value));if(!y)try{l.value=await t.clipboard.readText()}catch{y=!0}y&&(l.value=E())}c.value&&n&&of(["copy","cut"],p,{passive:!0});async function m(y=Be(o)){if(c.value&&y!=null){let v=!(a.value&&b(i.value));if(!v)try{await t.clipboard.writeText(y)}catch{v=!0}v&&g(y),l.value=y,d.value=!0,f.start()}}function g(y){const v=document.createElement("textarea");v.value=y,v.style.position="absolute",v.style.opacity="0",v.setAttribute("readonly",""),document.body.appendChild(v),v.select(),document.execCommand("copy"),v.remove()}function E(){var y,v,C;return(y=(v=document)===null||v===void 0||(C=v.getSelection)===null||C===void 0||(C=C.call(v))===null||C===void 0?void 0:C.toString())!==null&&y!==void 0?y:""}function b(y){return y==="granted"||y==="prompt"}return{isSupported:c,text:Ln(l),copied:Ln(d),copy:m}}function sR({top:e,left:t,right:n,bottom:o}){return{x:{min:t,max:n},y:{min:e,max:o}}}function iR(e,t){if(!t)return e;const n=t({x:e.left,y:e.top}),o=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:o.y,right:o.x}}function lR(e,t){return sR(iR(e.getBoundingClientRect(),t))}const p4={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},g0={};for(const e in p4)g0[e]={isEnabled:t=>p4[e].some(n=>!!t[n])};const h4=()=>({translate:0,scale:1,origin:0,originPoint:0}),Wu=()=>({x:h4(),y:h4()}),m4=()=>({min:0,max:0}),kt=()=>({x:m4(),y:m4()}),cR=typeof window<"u",Ci={current:null},i6={current:!1};function dR(){if(i6.current=!0,!!cR)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>Ci.current=e.matches;e.addEventListener("change",t),t()}else Ci.current=!1}function fR(e){return e!==null&&typeof e=="object"&&typeof e.start=="function"}function pR(e){return typeof e=="string"||Array.isArray(e)}const hR=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],mR=["initial",...hR];function l6(e){return fR(e.animate)||mR.some(t=>pR(e[t]))}function gR(e){return!!(l6(e)||e.variants)}function g4(e,t){return t?`${e}. For more information and steps for solving, visit https://motion.dev/troubleshooting/${t}`:e}function rf(e,t){e.indexOf(t)===-1&&e.push(t)}function hl(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}class af{constructor(){this.subscriptions=[]}add(t){return rf(this.subscriptions,t),()=>hl(this.subscriptions,t)}notify(t,n,o){const u=this.subscriptions.length;if(u)if(u===1)this.subscriptions[0](t,n,o);else for(let r=0;r!isNaN(parseFloat(e));class yR{constructor(t,n={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=o=>{var u;const r=Xt.now();if(this.updatedAt!==r&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(o),this.current!==this.prev&&((u=this.events.change)==null||u.notify(this.current),this.dependents))for(const a of this.dependents)a.dirty()},this.hasAnimated=!1,this.setCurrent(t),this.owner=n.owner}setCurrent(t){this.current=t,this.updatedAt=Xt.now(),this.canTrackVelocity===null&&t!==void 0&&(this.canTrackVelocity=vR(this.current))}setPrevFrameValue(t=this.current){this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt}onChange(t){return this.on("change",t)}on(t,n){this.events[t]||(this.events[t]=new af);const o=this.events[t].add(n);return t==="change"?()=>{o(),st.read(()=>{this.events.change.getSize()||this.stop()})}:o}clearListeners(){for(const t in this.events)this.events[t].clear()}attach(t,n){this.passiveEffect=t,this.stopPassiveEffect=n}set(t){this.passiveEffect?this.passiveEffect(t,this.updateAndNotify):this.updateAndNotify(t)}setWithVelocity(t,n,o){this.set(n),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-o}jump(t,n=!0){this.updateAndNotify(t),this.prev=t,this.prevUpdatedAt=this.prevFrameValue=void 0,n&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){var t;(t=this.events.change)==null||t.notify(this.current)}addDependent(t){this.dependents||(this.dependents=new Set),this.dependents.add(t)}removeDependent(t){this.dependents&&this.dependents.delete(t)}get(){return this.current}getPrevious(){return this.prev}getVelocity(){const t=Xt.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||t-this.updatedAt>v4)return 0;const n=Math.min(this.updatedAt-this.prevUpdatedAt,v4);return c6(parseFloat(this.current)-parseFloat(this.prevFrameValue),n)}start(t){return this.stop(),new Promise(n=>{this.hasAnimated=!0,this.animation=t(n),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){var t,n;(t=this.dependents)==null||t.clear(),(n=this.events.destroy)==null||n.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function hr(e,t){return new yR(e,t)}function bR(e,t,n){for(const o in t){const u=t[o],r=n[o];if(wt(u))e.addValue(o,u);else if(wt(r))e.addValue(o,hr(u,{owner:e}));else if(r!==u)if(e.hasValue(o)){const a=e.getValue(o);a.liveStyle===!0?a.jump(u):a.hasAnimated||a.set(u)}else{const a=e.getStaticValue(o);e.addValue(o,hr(a!==void 0?a:u,{owner:e}))}}for(const o in n)t[o]===void 0&&e.removeValue(o);return t}function y4(e){const t=[{},{}];return e?.values.forEach((n,o)=>{t[0][o]=n.get(),t[1][o]=n.getVelocity()}),t}function d6(e,t,n,o){if(typeof t=="function"){const[u,r]=y4(o);t=t(n!==void 0?n:e.custom,u,r)}if(typeof t=="string"&&(t=e.variants&&e.variants[t]),typeof t=="function"){const[u,r]=y4(o);t=t(n!==void 0?n:e.custom,u,r)}return t}function ER(e){for(let t=1;te*180/Math.PI,v0=e=>{const t=mu(Math.atan2(e[1],e[0]));return y0(t)},CR={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:e=>(Math.abs(e[0])+Math.abs(e[3]))/2,rotate:v0,rotateZ:v0,skewX:e=>mu(Math.atan(e[1])),skewY:e=>mu(Math.atan(e[2])),skew:e=>(Math.abs(e[1])+Math.abs(e[2]))/2},y0=e=>(e=e%360,e<0&&(e+=360),e),b4=v0,E4=e=>Math.sqrt(e[0]*e[0]+e[1]*e[1]),C4=e=>Math.sqrt(e[4]*e[4]+e[5]*e[5]),xR={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:E4,scaleY:C4,scale:e=>(E4(e)+C4(e))/2,rotateX:e=>y0(mu(Math.atan2(e[6],e[5]))),rotateY:e=>y0(mu(Math.atan2(-e[2],e[0]))),rotateZ:b4,rotate:b4,skewX:e=>mu(Math.atan(e[4])),skewY:e=>mu(Math.atan(e[1])),skew:e=>(Math.abs(e[1])+Math.abs(e[4]))/2};function b0(e){return e.includes("scale")?1:0}function E0(e,t){if(!e||e==="none")return b0(t);const n=e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let o,u;if(n)o=xR,u=n;else{const s=e.match(/^matrix\(([-\d.e\s,]+)\)$/u);o=CR,u=s}if(!u)return b0(t);const r=o[t],a=u[1].split(",").map(wR);return typeof r=="function"?r(a):a[r]}const DR=(e,t)=>{const{transform:n="none"}=getComputedStyle(e);return E0(n,t)};function wR(e){return parseFloat(e.trim())}const Fr=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],Pr=new Set(Fr),x4=e=>e===Tr||e===de,AR=new Set(["x","y","z"]),BR=Fr.filter(e=>!AR.has(e));function _R(e){const t=[];return BR.forEach(n=>{const o=e.getValue(n);o!==void 0&&(t.push([n,o.get()]),o.set(n.startsWith("scale")?1:0))}),t}const Wo={width:({x:e},{paddingLeft:t="0",paddingRight:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),height:({y:e},{paddingTop:t="0",paddingBottom:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:(e,{transform:t})=>E0(t,"x"),y:(e,{transform:t})=>E0(t,"y")};Wo.translateX=Wo.x;Wo.translateY=Wo.y;const Cu=new Set;let C0=!1,x0=!1,D0=!1;function f6(){if(x0){const e=Array.from(Cu).filter(o=>o.needsMeasurement),t=new Set(e.map(o=>o.element)),n=new Map;t.forEach(o=>{const u=_R(o);u.length&&(n.set(o,u),o.render())}),e.forEach(o=>o.measureInitialState()),t.forEach(o=>{o.render();const u=n.get(o);u&&u.forEach(([r,a])=>{var s;(s=o.getValue(r))==null||s.set(a)})}),e.forEach(o=>o.measureEndState()),e.forEach(o=>{o.suspendedScrollY!==void 0&&window.scrollTo(0,o.suspendedScrollY)})}x0=!1,C0=!1,Cu.forEach(e=>e.complete(D0)),Cu.clear()}function p6(){Cu.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(x0=!0)})}function kR(){D0=!0,p6(),f6(),D0=!1}class sf{constructor(t,n,o,u,r,a=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...t],this.onComplete=n,this.name=o,this.motionValue=u,this.element=r,this.isAsync=a}scheduleResolve(){this.state="scheduled",this.isAsync?(Cu.add(this),C0||(C0=!0,st.read(p6),st.resolveKeyframes(f6))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:t,name:n,element:o,motionValue:u}=this;if(t[0]===null){const r=u?.get(),a=t[t.length-1];if(r!==void 0)t[0]=r;else if(o&&n){const s=o.readValue(n,a);s!=null&&(t[0]=s)}t[0]===void 0&&(t[0]=a),u&&r===void 0&&u.set(t[0])}ER(t)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(t=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,t),Cu.delete(this)}cancel(){this.state==="scheduled"&&(Cu.delete(this),this.state="pending")}resume(){this.state==="pending"&&this.scheduleResolve()}}const h6=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e),m6=e=>/^0[^.\s]+$/u.test(e),SR={test:e=>e==="auto",parse:e=>e},g6=e=>t=>t.test(e),v6=[Tr,de,oo,jo,mO,hO,SR],D4=e=>v6.find(g6(e)),TR=[...v6,Dt,Qo],FR=e=>TR.find(g6(e)),PR=new Set(["brightness","contrast","saturate","opacity"]);function MR(e){const[t,n]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[o]=n.match(Jd)||[];if(!o)return e;const u=n.replace(o,"");let r=PR.has(t)?1:0;return o!==n&&(r*=100),t+"("+r+u+")"}const OR=/\b([a-z-]*)\(.*?\)/gu,w0={...Qo,getAnimatableNone:e=>{const t=e.match(OR);return t?t.map(MR).join(" "):e}},w4={...Tr,transform:Math.round},RR={rotate:jo,rotateX:jo,rotateY:jo,rotateZ:jo,scale:Bs,scaleX:Bs,scaleY:Bs,scaleZ:Bs,skew:jo,skewX:jo,skewY:jo,distance:de,translateX:de,translateY:de,translateZ:de,x:de,y:de,z:de,perspective:de,transformPerspective:de,opacity:Aa,originX:n4,originY:n4,originZ:de},lf={borderWidth:de,borderTopWidth:de,borderRightWidth:de,borderBottomWidth:de,borderLeftWidth:de,borderRadius:de,radius:de,borderTopLeftRadius:de,borderTopRightRadius:de,borderBottomRightRadius:de,borderBottomLeftRadius:de,width:de,maxWidth:de,height:de,maxHeight:de,top:de,right:de,bottom:de,left:de,inset:de,insetBlock:de,insetBlockStart:de,insetBlockEnd:de,insetInline:de,insetInlineStart:de,insetInlineEnd:de,padding:de,paddingTop:de,paddingRight:de,paddingBottom:de,paddingLeft:de,paddingBlock:de,paddingBlockStart:de,paddingBlockEnd:de,paddingInline:de,paddingInlineStart:de,paddingInlineEnd:de,margin:de,marginTop:de,marginRight:de,marginBottom:de,marginLeft:de,marginBlock:de,marginBlockStart:de,marginBlockEnd:de,marginInline:de,marginInlineStart:de,marginInlineEnd:de,backgroundPositionX:de,backgroundPositionY:de,...RR,zIndex:w4,fillOpacity:Aa,strokeOpacity:Aa,numOctaves:w4},IR={...lf,color:Dt,backgroundColor:Dt,outlineColor:Dt,fill:Dt,stroke:Dt,borderColor:Dt,borderTopColor:Dt,borderRightColor:Dt,borderBottomColor:Dt,borderLeftColor:Dt,filter:w0,WebkitFilter:w0},y6=e=>IR[e];function b6(e,t){let n=y6(e);return n!==w0&&(n=Qo),n.getAnimatableNone?n.getAnimatableNone(t):void 0}const{schedule:E6}=Yy(queueMicrotask,!0),A4=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class C6{scrapeMotionValuesFromProps(t,n,o){return{}}constructor({parent:t,props:n,presenceContext:o,reducedMotionConfig:u,blockInitialAnimation:r,visualState:a},s={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=sf,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{const f=Xt.now();this.renderScheduledAtthis.bindToMotionValue(u,o)),this.reducedMotionConfig==="never"?this.shouldReduceMotion=!1:this.reducedMotionConfig==="always"?this.shouldReduceMotion=!0:(i6.current||dR(),this.shouldReduceMotion=Ci.current),(n=this.parent)==null||n.addChild(this),this.update(this.props,this.presenceContext)}unmount(){var t;this.projection&&this.projection.unmount(),Bo(this.notifyUpdate),Bo(this.render),this.valueSubscriptions.forEach(n=>n()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),(t=this.parent)==null||t.removeChild(this);for(const n in this.events)this.events[n].clear();for(const n in this.features){const o=this.features[n];o&&(o.unmount(),o.isMounted=!1)}this.current=null}addChild(t){this.children.add(t),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(t)}removeChild(t){this.children.delete(t),this.enteringChildren&&this.enteringChildren.delete(t)}bindToMotionValue(t,n){this.valueSubscriptions.has(t)&&this.valueSubscriptions.get(t)();const o=Pr.has(t);o&&this.onBindTransform&&this.onBindTransform();const u=n.on("change",a=>{this.latestValues[t]=a,this.props.onUpdate&&st.preRender(this.notifyUpdate),o&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});let r;window.MotionCheckAppearSync&&(r=window.MotionCheckAppearSync(this,t,n)),this.valueSubscriptions.set(t,()=>{u(),r&&r(),n.owner&&n.stop()})}sortNodePosition(t){return!this.current||!this.sortInstanceNodePosition||this.type!==t.type?0:this.sortInstanceNodePosition(this.current,t.current)}updateFeatures(){let t="animation";for(t in g0){const n=g0[t];if(!n)continue;const{isEnabled:o,Feature:u}=n;if(!this.features[t]&&u&&o(this.props)&&(this.features[t]=new u(this)),this.features[t]){const r=this.features[t];r.isMounted?r.update():(r.mount(),r.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):kt()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,n){this.latestValues[t]=n}update(t,n){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=n;for(let o=0;on.variantChildren.delete(t)}addValue(t,n){const o=this.values.get(t);n!==o&&(o&&this.removeValue(t),this.bindToMotionValue(t,n),this.values.set(t,n),this.latestValues[t]=n.get())}removeValue(t){this.values.delete(t);const n=this.valueSubscriptions.get(t);n&&(n(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,n){if(this.props.values&&this.props.values[t])return this.props.values[t];let o=this.values.get(t);return o===void 0&&n!==void 0&&(o=hr(n===null?void 0:n,{owner:this}),this.addValue(t,o)),o}readValue(t,n){let o=this.latestValues[t]!==void 0||!this.current?this.latestValues[t]:this.getBaseTargetFromProps(this.props,t)??this.readValueFromInstance(this.current,t,this.options);return o!=null&&(typeof o=="string"&&(h6(o)||m6(o))?o=parseFloat(o):!FR(o)&&Qo.test(n)&&(o=b6(t,n)),this.setBaseTarget(t,wt(o)?o.get():o)),wt(o)?o.get():o}setBaseTarget(t,n){this.baseTarget[t]=n}getBaseTarget(t){var n;const{initial:o}=this.props;let u;if(typeof o=="string"||typeof o=="object"){const a=d6(this.props,o,(n=this.presenceContext)==null?void 0:n.custom);a&&(u=a[t])}if(o&&u!==void 0)return u;const r=this.getBaseTargetFromProps(this.props,t);return r!==void 0&&!wt(r)?r:this.initialValues[t]!==void 0&&u===void 0?void 0:this.baseTarget[t]}on(t,n){return this.events[t]||(this.events[t]=new af),this.events[t].add(n)}notify(t,...n){this.events[t]&&this.events[t].notify(...n)}scheduleRenderMicrotask(){E6.render(this.render)}}const x6=new Set(["width","height","top","left","right","bottom",...Fr]);var LR={},B4;let Wa=()=>{},_o=()=>{};typeof process<"u"&&((B4=LR)==null?void 0:B4.NODE_ENV)!=="production"&&(Wa=(e,t,n)=>{!e&&typeof console<"u"&&console.warn(g4(t,n))},_o=(e,t,n)=>{if(!e)throw new Error(g4(t,n))});const qR=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function $R(e){const t=qR.exec(e);if(!t)return[,];const[,n,o,u]=t;return[`--${n??o}`,u]}const NR=4;function D6(e,t,n=1){_o(n<=NR,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`,"max-css-var-depth");const[o,u]=$R(e);if(!o)return;const r=window.getComputedStyle(t).getPropertyValue(o);if(r){const a=r.trim();return h6(a)?parseFloat(a):a}return tf(u)?D6(u,t,n+1):u}function jR(e){return typeof e=="number"?e===0:e!==null?e==="none"||e==="0"||m6(e):!0}const VR=new Set(["auto","none","0"]);function zR(e,t,n){let o=0,u;for(;o{n.getValue(i).set(c)}),this.resolveNoneKeyframes()}}class w6 extends C6{constructor(){super(...arguments),this.KeyframeResolver=UR}sortInstanceNodePosition(t,n){return t.compareDocumentPosition(n)&2?1:-1}getBaseTargetFromProps(t,n){return t.style?t.style[n]:void 0}removeValueFromRenderState(t,{vars:n,style:o}){delete n[t],delete o[t]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:t}=this.props;wt(t)&&(this.childSubscription=t.on("change",n=>{this.current&&(this.current.textContent=`${n}`)}))}}const A6=(e,t)=>t&&typeof e=="number"?t.transform(e):e,HR={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},KR=Fr.length;function WR(e,t,n){let o="",u=!0;for(let r=0;re.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),ZR={offset:"stroke-dashoffset",array:"stroke-dasharray"},XR={offset:"strokeDashoffset",array:"strokeDasharray"};function JR(e,t,n=1,o=0,u=!0){e.pathLength=1;const r=u?ZR:XR;e[r.offset]=de.transform(-o);const a=de.transform(t),s=de.transform(n);e[r.array]=`${a} ${s}`}const QR=["offsetDistance","offsetPath","offsetRotate","offsetAnchor"];function eI(e,{attrX:t,attrY:n,attrScale:o,pathLength:u,pathSpacing:r=1,pathOffset:a=0,...s},i,c,l){if(B6(e,s,c),i){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};const{attrs:d,style:f}=e;d.transform&&(f.transform=d.transform,delete d.transform),(f.transform||d.transformOrigin)&&(f.transformOrigin=d.transformOrigin??"50% 50%",delete d.transformOrigin),f.transform&&(f.transformBox=l?.transformBox??"fill-box",delete d.transformBox);for(const p of QR)d[p]!==void 0&&(f[p]=d[p],delete d[p]);t!==void 0&&(d.x=t),n!==void 0&&(d.y=n),o!==void 0&&(d.scale=o),u!==void 0&&JR(d,u,r,a,!1)}const T6=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]),tI=e=>typeof e=="string"&&e.toLowerCase()==="svg";function nI(e,t,n,o){_6(e,t,void 0,o);for(const u in t.attrs)e.setAttribute(T6.has(u)?u:cf(u),t.attrs[u])}function oI(e,t,n){const o=k6(e,t,n);for(const u in e)if(wt(e[u])||wt(t[u])){const r=Fr.indexOf(u)!==-1?"attr"+u.charAt(0).toUpperCase()+u.substring(1):u;o[r]=e[u]}return o}class F6 extends w6{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=kt}getBaseTargetFromProps(t,n){return t[n]}readValueFromInstance(t,n){if(Pr.has(n)){const o=y6(n);return o&&o.default||0}return n=T6.has(n)?n:cf(n),t.getAttribute(n)}scrapeMotionValuesFromProps(t,n,o){return oI(t,n,o)}build(t,n,o){eI(t,n,this.isSVGTag,o.transformTemplate,o.style)}renderInstance(t,n,o,u){nI(t,n,o,u)}mount(t){this.isSVGTag=tI(t.tagName),super.mount(t)}}function uI(e,t){return u6(e)?new F6(t):new S6(t)}function rI(e,t,n,o=0,u=1){const r=Array.from(e),a=r.indexOf(t),s=e.size,i=(s-1)*o,c=typeof n=="function";return a===r.length-1&&(t.parent.enteringChildren=void 0),c?n(a,s):u===1?a*o:i-a*o}function df(e){return typeof e=="object"&&!Array.isArray(e)}function ff(e,t,n){if(e instanceof EventTarget)return[e];if(typeof e=="string"){let o=document;const u=n?.[e]??o.querySelectorAll(e);return u?Array.from(u):[]}return Array.from(e)}function P6(e,t,n,o){return typeof e=="string"&&df(t)?ff(e,n,o):e instanceof NodeList?Array.from(e):Array.isArray(e)?e:[e]}function aI(e,t,n){return e*(t+1)}function _4(e,t,n,o){return typeof t=="number"?t:t.startsWith("-")||t.startsWith("+")?Math.max(0,e+parseFloat(t)):t==="<"?n:t.startsWith("<")?Math.max(0,n+parseFloat(t.slice(1))):o.get(t)??e}const sI=(e,t,n)=>{const o=t-e;return((n-e)%o+o)%o+e},M6=e=>Array.isArray(e)&&typeof e[0]!="number";function O6(e,t){return M6(e)?e[sI(0,e.length,t)]:e}function iI(e,t,n){for(let o=0;ot&&u.at{const o=t-e;return o===0?1:(n-e)/o};function R6(e,t){const n=e[e.length-1];for(let o=1;o<=t;o++){const u=mr(0,t,o);e.push(dt(n,1,u))}}function I6(e){const t=[0];return R6(t,e.length-1),t}const xi=2e4;function pf(e){let t=0;const n=50;let o=e.next(t);for(;!o.done&&t=xi?1/0:t}function L6(e,t=100,n){const o=n({...e,keyframes:[0,t]}),u=Math.min(pf(o),xi);return{type:"keyframes",ease:r=>o.next(u*r).value/t,duration:_n(u)}}function hf(e){return typeof e=="function"&&"applyToOptions"in e}const fI="easeInOut",pI=20;function hI(e,{defaultTransition:t={},...n}={},o,u){const r=t.duration||.3,a=new Map,s=new Map,i={},c=new Map;let l=0,d=0,f=0;for(let p=0;p{const F=mI(C),{delay:R=0,times:Z=I6(F),type:q="keyframes",repeat:Q,repeatType:X,repeatDelay:I=0,...O}=x;let{ease:H=t.ease||"easeOut",duration:V}=x;const fe=typeof R=="function"?R(B,_):R,se=F.length,Ke=hf(q)?q:u?.[q||"keyframes"];if(se<=2&&Ke){let Te=100;if(se===2&&yI(F)){const ie=F[1]-F[0];Te=Math.abs(ie)}const Pe={...O};V!==void 0&&(Pe.duration=In(V));const U=L6(Pe,Te,Ke);H=U.ease,V=U.duration}V??(V=r);const Re=d+fe;Z.length===1&&Z[0]===0&&(Z[1]=1);const ot=Z.length-F.length;if(ot>0&&R6(Z,ot),F.length===1&&F.unshift(null),Q){_o(Q{for(const g in p){const E=p[g];E.sort(dI);const b=[],y=[],v=[];for(let x=0;xtypeof e=="number",yI=e=>e.every(vI),bI=e=>Array.isArray(e);function EI(e,t,n){const o=e.getProps();return d6(o,t,o.custom,e)}function CI(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,hr(n))}function xI(e){return bI(e)?e[e.length-1]||0:e}function DI(e,t){const n=EI(e,t);let{transitionEnd:o={},transition:u={},...r}=n||{};r={...r,...o};for(const a in r){const s=xI(r[a]);CI(e,a,s)}}function wI(e){return!!(wt(e)&&e.add)}function AI(e,t){const n=e.getValue("willChange");if(wI(n))return n.add(t);if(!n&&Ao.WillChange){const o=new Ao.WillChange("auto");e.addValue("willChange",o),o.add(t)}}const BI="framerAppearId",_I="data-"+cf(BI);function q6(e){return e.props[_I]}const kI=e=>e!==null;function SI(e,{repeat:t,repeatType:n="loop"},o){const u=e.filter(kI),r=t&&n!=="loop"&&t%2===1?0:u.length-1;return u[r]}const TI={type:"spring",stiffness:500,damping:25,restSpeed:10},FI=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),PI={type:"keyframes",duration:.8},MI={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},OI=(e,{keyframes:t})=>t.length>2?PI:Pr.has(e)?e.startsWith("scale")?FI(t[1]):TI:MI;function RI({when:e,delay:t,delayChildren:n,staggerChildren:o,staggerDirection:u,repeat:r,repeatType:a,repeatDelay:s,from:i,elapsed:c,...l}){return!!Object.keys(l).length}function mf(e,t){return e?.[t]??e?.default??e}function A0(e){e.duration=0,e.type="keyframes"}function Ql(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+(t-e)*6*n:n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function II({hue:e,saturation:t,lightness:n,alpha:o}){e/=360,t/=100,n/=100;let u=0,r=0,a=0;if(!t)u=r=a=n;else{const s=n<.5?n*(1+t):n+t-n*t,i=2*n-s;u=Ql(i,s,e+1/3),r=Ql(i,s,e),a=Ql(i,s,e-1/3)}return{red:Math.round(u*255),green:Math.round(r*255),blue:Math.round(a*255),alpha:o}}function Di(e,t){return n=>n>0?t:e}const ec=(e,t,n)=>{const o=e*e,u=n*(t*t-o)+o;return u<0?0:Math.sqrt(u)},LI=[m0,hu,Ku],qI=e=>LI.find(t=>t.test(e));function T4(e){const t=qI(e);if(Wa(!!t,`'${e}' is not an animatable color. Use the equivalent color code instead.`,"color-not-animatable"),!t)return!1;let n=t.parse(e);return t===Ku&&(n=II(n)),n}const F4=(e,t)=>{const n=T4(e),o=T4(t);if(!n||!o)return Di(e,t);const u={...n};return r=>(u.red=ec(n.red,o.red,r),u.green=ec(n.green,o.green,r),u.blue=ec(n.blue,o.blue,r),u.alpha=dt(n.alpha,o.alpha,r),hu.transform(u))},B0=new Set(["none","hidden"]);function $I(e,t){return B0.has(e)?n=>n<=0?e:t:n=>n>=1?t:e}const NI=(e,t)=>n=>t(e(n)),Ga=(...e)=>e.reduce(NI);function jI(e,t){return n=>dt(e,t,n)}function gf(e){return typeof e=="number"?jI:typeof e=="string"?tf(e)?Di:Dt.test(e)?F4:UI:Array.isArray(e)?$6:typeof e=="object"?Dt.test(e)?F4:VI:Di}function $6(e,t){const n=[...e],o=n.length,u=e.map((r,a)=>gf(r)(r,t[a]));return r=>{for(let a=0;a{for(const r in o)n[r]=o[r](u);return n}}function zI(e,t){const n=[],o={color:0,var:0,number:0};for(let u=0;u{const n=Qo.createTransformer(t),o=Ba(e),u=Ba(t);return o.indexes.var.length===u.indexes.var.length&&o.indexes.color.length===u.indexes.color.length&&o.indexes.number.length>=u.indexes.number.length?B0.has(e)&&!u.values.length||B0.has(t)&&!o.values.length?$I(e,t):Ga($6(zI(o,u),u.values),n):(Wa(!0,`Complex values '${e}' and '${t}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`,"complex-values-different"),Di(e,t))};function N6(e,t,n){return typeof e=="number"&&typeof t=="number"&&typeof n=="number"?dt(e,t,n):gf(e)(e,t)}const HI=e=>{const t=({timestamp:n})=>e(n);return{start:(n=!0)=>st.update(t,n),stop:()=>Bo(t),now:()=>Rt.isProcessing?Rt.timestamp:Xt.now()}},j6=(e,t,n=10)=>{let o="";const u=Math.max(Math.round(t/n),2);for(let r=0;r{const l=c*a,d=l*e,f=l-n,p=_0(c,a),m=Math.exp(-d);return tc-f/p*m},r=c=>{const d=c*a*e,f=d*n+n,p=Math.pow(a,2)*Math.pow(c,2)*e,m=Math.exp(-d),g=_0(Math.pow(c,2),a);return(-u(c)+tc>0?-1:1)*((f-p)*m)/g}):(u=c=>{const l=Math.exp(-c*e),d=(c-n)*e+1;return-tc+l*d},r=c=>{const l=Math.exp(-c*e),d=(n-c)*(e*e);return l*d});const s=5/e,i=YI(u,r,s);if(e=In(e),isNaN(i))return{stiffness:pt.stiffness,damping:pt.damping,duration:e};{const c=Math.pow(i,2)*o;return{stiffness:c,damping:a*2*Math.sqrt(o*c),duration:e}}}const GI=12;function YI(e,t,n){let o=n;for(let u=1;ue[n]!==void 0)}function JI(e){let t={velocity:pt.velocity,stiffness:pt.stiffness,damping:pt.damping,mass:pt.mass,isResolvedFromDuration:!1,...e};if(!P4(e,XI)&&P4(e,ZI))if(e.visualDuration){const n=e.visualDuration,o=2*Math.PI/(n*1.2),u=o*o,r=2*ro(.05,1,1-(e.bounce||0))*Math.sqrt(u);t={...t,mass:pt.mass,stiffness:u,damping:r}}else{const n=WI(e);t={...t,...n,mass:pt.mass},t.isResolvedFromDuration=!0}return t}function ka(e=pt.visualDuration,t=pt.bounce){const n=typeof e!="object"?{visualDuration:e,keyframes:[0,1],bounce:t}:e;let{restSpeed:o,restDelta:u}=n;const r=n.keyframes[0],a=n.keyframes[n.keyframes.length-1],s={done:!1,value:r},{stiffness:i,damping:c,mass:l,duration:d,velocity:f,isResolvedFromDuration:p}=JI({...n,velocity:-_n(n.velocity||0)}),m=f||0,g=c/(2*Math.sqrt(i*l)),E=a-r,b=_n(Math.sqrt(i/l)),y=Math.abs(E)<5;o||(o=y?pt.restSpeed.granular:pt.restSpeed.default),u||(u=y?pt.restDelta.granular:pt.restDelta.default);let v;if(g<1){const x=_0(b,g);v=w=>{const B=Math.exp(-g*b*w);return a-B*((m+g*b*E)/x*Math.sin(x*w)+E*Math.cos(x*w))}}else if(g===1)v=x=>a-Math.exp(-b*x)*(E+(m+b*E)*x);else{const x=b*Math.sqrt(g*g-1);v=w=>{const B=Math.exp(-g*b*w),_=Math.min(x*w,300);return a-B*((m+g*b*E)*Math.sinh(_)+x*E*Math.cosh(_))/x}}const C={calculatedDuration:p&&d||null,next:x=>{const w=v(x);if(p)s.done=x>=d;else{let B=x===0?m:0;g<1&&(B=x===0?In(m):V6(v,x,w));const _=Math.abs(B)<=o,F=Math.abs(a-w)<=u;s.done=_&&F}return s.value=s.done?a:w,s},toString:()=>{const x=Math.min(pf(C),xi),w=j6(B=>C.next(x*B).value,x,30);return x+"ms "+w},toTransition:()=>{}};return C}ka.applyToOptions=e=>{const t=L6(e,100,ka);return e.ease=t.ease,e.duration=In(t.duration),e.type="keyframes",e};function k0({keyframes:e,velocity:t=0,power:n=.8,timeConstant:o=325,bounceDamping:u=10,bounceStiffness:r=500,modifyTarget:a,min:s,max:i,restDelta:c=.5,restSpeed:l}){const d=e[0],f={done:!1,value:d},p=_=>s!==void 0&&_i,m=_=>s===void 0?i:i===void 0||Math.abs(s-_)-g*Math.exp(-_/o),v=_=>b+y(_),C=_=>{const F=y(_),R=v(_);f.done=Math.abs(F)<=c,f.value=f.done?b:R};let x,w;const B=_=>{p(f.value)&&(x=_,w=ka({keyframes:[f.value,m(f.value)],velocity:V6(v,_,f.value),damping:u,stiffness:r,restDelta:c,restSpeed:l}))};return B(0),{calculatedDuration:null,next:_=>{let F=!1;return!w&&x===void 0&&(F=!0,C(_),B(_)),x!==void 0&&_>=x?w.next(_-x):(!F&&C(_),f)}}}function QI(e,t,n){const o=[],u=n||Ao.mix||N6,r=e.length-1;for(let a=0;at[0];if(r===2&&t[0]===t[1])return()=>t[1];const a=e[0]===e[1];e[0]>e[r-1]&&(e=[...e].reverse(),t=[...t].reverse());const s=QI(t,o,u),i=s.length,c=l=>{if(a&&l1)for(;dc(ro(e[0],e[r-1],l)):c}function tL(e,t){return e.map(n=>n*t)}const z6=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e,nL=1e-7,oL=12;function uL(e,t,n,o,u){let r,a,s=0;do a=t+(n-t)/2,r=z6(a,o,u)-e,r>0?n=a:t=a;while(Math.abs(r)>nL&&++suL(r,0,1,e,n);return r=>r===0||r===1?r:z6(u(r),t,o)}const rL=Ya(.42,0,1,1),aL=Ya(0,0,.58,1),U6=Ya(.42,0,.58,1),H6=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,K6=e=>t=>1-e(1-t),W6=Ya(.33,1.53,.69,.99),vf=K6(W6),G6=H6(vf),Y6=e=>(e*=2)<1?.5*vf(e):.5*(2-Math.pow(2,-10*(e-1))),yf=e=>1-Math.sin(Math.acos(e)),Z6=K6(yf),X6=H6(yf),J6=e=>Array.isArray(e)&&typeof e[0]=="number",M4={linear:cn,easeIn:rL,easeInOut:U6,easeOut:aL,circIn:yf,circInOut:X6,circOut:Z6,backIn:vf,backInOut:G6,backOut:W6,anticipate:Y6},sL=e=>typeof e=="string",O4=e=>{if(J6(e)){_o(e.length===4,"Cubic bezier arrays must contain four numerical values.","cubic-bezier-length");const[t,n,o,u]=e;return Ya(t,n,o,u)}else if(sL(e))return _o(M4[e]!==void 0,`Invalid easing type '${e}'`,"invalid-easing-type"),M4[e];return e};function iL(e,t){return e.map(()=>t||U6).splice(0,e.length-1)}function sa({duration:e=300,keyframes:t,times:n,ease:o="easeInOut"}){const u=M6(o)?o.map(O4):O4(o),r={done:!1,value:t[0]},a=tL(n&&n.length===t.length?n:I6(t),e),s=eL(a,t,{ease:Array.isArray(u)?u:iL(t,u)});return{calculatedDuration:e,next:i=>(r.value=s(i),r.done=i>=e,r)}}const lL=e=>e!==null;function bf(e,{repeat:t,repeatType:n="loop"},o,u=1){const r=e.filter(lL),s=u<0||t&&n!=="loop"&&t%2===1?0:r.length-1;return!s||o===void 0?r[s]:o}const cL={decay:k0,inertia:k0,tween:sa,keyframes:sa,spring:ka};function Q6(e){typeof e.type=="string"&&(e.type=cL[e.type])}class Ef{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(t=>{this.resolve=t})}notifyFinished(){this.resolve()}then(t,n){return this.finished.then(t,n)}}const dL=e=>e/100;class Cf extends Ef{constructor(t){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.stop=()=>{var n,o;const{motionValue:u}=this.options;u&&u.updatedAt!==Xt.now()&&this.tick(Xt.now()),this.isStopped=!0,this.state!=="idle"&&(this.teardown(),(o=(n=this.options).onStop)==null||o.call(n))},this.options=t,this.initAnimation(),this.play(),t.autoplay===!1&&this.pause()}initAnimation(){const{options:t}=this;Q6(t);const{type:n=sa,repeat:o=0,repeatDelay:u=0,repeatType:r,velocity:a=0}=t;let{keyframes:s}=t;const i=n||sa;i!==sa&&typeof s[0]!="number"&&(this.mixKeyframes=Ga(dL,N6(s[0],s[1])),s=[0,100]);const c=i({...t,keyframes:s});r==="mirror"&&(this.mirroredGenerator=i({...t,keyframes:[...s].reverse(),velocity:-a})),c.calculatedDuration===null&&(c.calculatedDuration=pf(c));const{calculatedDuration:l}=c;this.calculatedDuration=l,this.resolvedDuration=l+u,this.totalDuration=this.resolvedDuration*(o+1)-u,this.generator=c}updateTime(t){const n=Math.round(t-this.startTime)*this.playbackSpeed;this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=n}tick(t,n=!1){const{generator:o,totalDuration:u,mixKeyframes:r,mirroredGenerator:a,resolvedDuration:s,calculatedDuration:i}=this;if(this.startTime===null)return o.next(0);const{delay:c=0,keyframes:l,repeat:d,repeatType:f,repeatDelay:p,type:m,onUpdate:g,finalKeyframe:E}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-u/this.speed,this.startTime)),n?this.currentTime=t:this.updateTime(t);const b=this.currentTime-c*(this.playbackSpeed>=0?1:-1),y=this.playbackSpeed>=0?b<0:b>u;this.currentTime=Math.max(b,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=u);let v=this.currentTime,C=o;if(d){const _=Math.min(this.currentTime,u)/s;let F=Math.floor(_),R=_%1;!R&&_>=1&&(R=1),R===1&&F--,F=Math.min(F,d+1),F%2&&(f==="reverse"?(R=1-R,p&&(R-=p/s)):f==="mirror"&&(C=a)),v=ro(0,1,R)*s}const x=y?{done:!1,value:l[0]}:C.next(v);r&&(x.value=r(x.value));let{done:w}=x;!y&&i!==null&&(w=this.playbackSpeed>=0?this.currentTime>=u:this.currentTime<=0);const B=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&w);return B&&m!==k0&&(x.value=bf(l,this.options,E,this.speed)),g&&g(x.value),B&&this.finish(),x}then(t,n){return this.finished.then(t,n)}get duration(){return _n(this.calculatedDuration)}get iterationDuration(){const{delay:t=0}=this.options||{};return this.duration+_n(t)}get time(){return _n(this.currentTime)}set time(t){var n;t=In(t),this.currentTime=t,this.startTime===null||this.holdTime!==null||this.playbackSpeed===0?this.holdTime=t:this.driver&&(this.startTime=this.driver.now()-t/this.playbackSpeed),(n=this.driver)==null||n.start(!1)}get speed(){return this.playbackSpeed}set speed(t){this.updateTime(Xt.now());const n=this.playbackSpeed!==t;this.playbackSpeed=t,n&&(this.time=_n(this.currentTime))}play(){var t,n;if(this.isStopped)return;const{driver:o=HI,startTime:u}=this.options;this.driver||(this.driver=o(a=>this.tick(a))),(n=(t=this.options).onPlay)==null||n.call(t);const r=this.driver.now();this.state==="finished"?(this.updateFinished(),this.startTime=r):this.holdTime!==null?this.startTime=r-this.holdTime:this.startTime||(this.startTime=u??r),this.state==="finished"&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(Xt.now()),this.holdTime=this.currentTime}complete(){this.state!=="running"&&this.play(),this.state="finished",this.holdTime=null}finish(){var t,n;this.notifyFinished(),this.teardown(),this.state="finished",(n=(t=this.options).onComplete)==null||n.call(t)}cancel(){var t,n;this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),(n=(t=this.options).onCancel)==null||n.call(t)}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(t){return this.startTime=0,this.tick(t,!0)}attachTimeline(t){var n;return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),(n=this.driver)==null||n.stop(),t.observe(this)}}const fL=e=>e.startsWith("--");function pL(e,t,n){fL(t)?e.style.setProperty(t,n):e.style[t]=n}function xf(e){let t;return()=>(t===void 0&&(t=e()),t)}const hL=xf(()=>window.ScrollTimeline!==void 0),mL={};function gL(e,t){const n=xf(e);return()=>mL[t]??n()}const eb=gL(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),Gr=([e,t,n,o])=>`cubic-bezier(${e}, ${t}, ${n}, ${o})`,R4={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:Gr([0,.65,.55,1]),circOut:Gr([.55,0,1,.45]),backIn:Gr([.31,.01,.66,-.59]),backOut:Gr([.33,1.53,.69,.99])};function tb(e,t){if(e)return typeof e=="function"?eb()?j6(e,t):"ease-out":J6(e)?Gr(e):Array.isArray(e)?e.map(n=>tb(n,t)||R4.easeOut):R4[e]}function vL(e,t,n,{delay:o=0,duration:u=300,repeat:r=0,repeatType:a="loop",ease:s="easeOut",times:i}={},c=void 0){const l={[t]:n};i&&(l.offset=i);const d=tb(s,u);Array.isArray(d)&&(l.easing=d);const f={delay:o,duration:u,easing:Array.isArray(d)?"linear":d,fill:"both",iterations:r+1,direction:a==="reverse"?"alternate":"normal"};return c&&(f.pseudoElement=c),e.animate(l,f)}function yL({type:e,...t}){return hf(e)&&eb()?e.applyToOptions(t):(t.duration??(t.duration=300),t.ease??(t.ease="easeOut"),t)}class bL extends Ef{constructor(t){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!t)return;const{element:n,name:o,keyframes:u,pseudoElement:r,allowFlatten:a=!1,finalKeyframe:s,onComplete:i}=t;this.isPseudoElement=!!r,this.allowFlatten=a,this.options=t,_o(typeof t.type!="string",`Mini animate() doesn't support "type" as a string.`,"mini-spring");const c=yL(t);this.animation=vL(n,o,u,c,r),c.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!r){const l=bf(u,this.options,s,this.speed);this.updateMotionValue?this.updateMotionValue(l):pL(n,o,l),this.animation.cancel()}i?.(),this.notifyFinished()}}play(){this.isStopped||(this.manualStartTime=null,this.animation.play(),this.state==="finished"&&this.updateFinished())}pause(){this.animation.pause()}complete(){var t,n;(n=(t=this.animation).finish)==null||n.call(t)}cancel(){try{this.animation.cancel()}catch{}}stop(){if(this.isStopped)return;this.isStopped=!0;const{state:t}=this;t==="idle"||t==="finished"||(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){var t,n;this.isPseudoElement||(n=(t=this.animation).commitStyles)==null||n.call(t)}get duration(){var t,n;const o=((n=(t=this.animation.effect)==null?void 0:t.getComputedTiming)==null?void 0:n.call(t).duration)||0;return _n(Number(o))}get iterationDuration(){const{delay:t=0}=this.options||{};return this.duration+_n(t)}get time(){return _n(Number(this.animation.currentTime)||0)}set time(t){this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=In(t)}get speed(){return this.animation.playbackRate}set speed(t){t<0&&(this.finishedTime=null),this.animation.playbackRate=t}get state(){return this.finishedTime!==null?"finished":this.animation.playState}get startTime(){return this.manualStartTime??Number(this.animation.startTime)}set startTime(t){this.manualStartTime=this.animation.startTime=t}attachTimeline({timeline:t,observe:n}){var o;return this.allowFlatten&&((o=this.animation.effect)==null||o.updateTiming({easing:"linear"})),this.animation.onfinish=null,t&&hL()?(this.animation.timeline=t,cn):n(this)}}const nb={anticipate:Y6,backInOut:G6,circInOut:X6};function EL(e){return e in nb}function CL(e){typeof e.ease=="string"&&EL(e.ease)&&(e.ease=nb[e.ease])}const nc=10;class xL extends bL{constructor(t){CL(t),Q6(t),super(t),t.startTime!==void 0&&(this.startTime=t.startTime),this.options=t}updateMotionValue(t){const{motionValue:n,onUpdate:o,onComplete:u,element:r,...a}=this.options;if(!n)return;if(t!==void 0){n.set(t);return}const s=new Cf({...a,autoplay:!1}),i=Math.max(nc,Xt.now()-this.startTime),c=ro(0,nc,i-nc);n.setWithVelocity(s.sample(Math.max(0,i-c)).value,s.sample(i).value,c),s.stop()}}const I4=(e,t)=>t==="zIndex"?!1:!!(typeof e=="number"||Array.isArray(e)||typeof e=="string"&&(Qo.test(e)||e==="0")&&!e.startsWith("url("));function DL(e){const t=e[0];if(e.length===1)return!0;for(let n=0;nObject.hasOwnProperty.call(Element.prototype,"animate"));function _L(e){var t;const{motionValue:n,name:o,repeatDelay:u,repeatType:r,damping:a,type:s}=e;if(!(((t=n?.owner)==null?void 0:t.current)instanceof HTMLElement))return!1;const{onUpdate:c,transformTemplate:l}=n.owner.getProps();return BL()&&o&&AL.has(o)&&(o!=="transform"||!l)&&!c&&!u&&r!=="mirror"&&a!==0&&s!=="inertia"}const kL=40;class SL extends Ef{constructor({autoplay:t=!0,delay:n=0,type:o="keyframes",repeat:u=0,repeatDelay:r=0,repeatType:a="loop",keyframes:s,name:i,motionValue:c,element:l,...d}){var f;super(),this.stop=()=>{var g,E;this._animation&&(this._animation.stop(),(g=this.stopTimeline)==null||g.call(this)),(E=this.keyframeResolver)==null||E.cancel()},this.createdAt=Xt.now();const p={autoplay:t,delay:n,type:o,repeat:u,repeatDelay:r,repeatType:a,name:i,motionValue:c,element:l,...d},m=l?.KeyframeResolver||sf;this.keyframeResolver=new m(s,(g,E,b)=>this.onKeyframesResolved(g,E,p,!b),i,c,l),(f=this.keyframeResolver)==null||f.scheduleResolve()}onKeyframesResolved(t,n,o,u){this.keyframeResolver=void 0;const{name:r,type:a,velocity:s,delay:i,isHandoff:c,onUpdate:l}=o;this.resolvedAt=Xt.now(),wL(t,r,a,s)||((Ao.instantAnimations||!i)&&l?.(bf(t,o,n)),t[0]=t[t.length-1],A0(o),o.repeat=0);const f={startTime:u?this.resolvedAt?this.resolvedAt-this.createdAt>kL?this.resolvedAt:this.createdAt:this.createdAt:void 0,finalKeyframe:n,...o,keyframes:t},p=!c&&_L(f)?new xL({...f,element:f.motionValue.owner.current}):new Cf(f);p.finished.then(()=>this.notifyFinished()).catch(cn),this.pendingTimeline&&(this.stopTimeline=p.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=p}get finished(){return this._animation?this.animation.finished:this._finished}then(t,n){return this.finished.finally(t).then(()=>{})}get animation(){var t;return this._animation||((t=this.keyframeResolver)==null||t.resume(),kR()),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(t){this.animation.time=t}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(t){this.animation.speed=t}get startTime(){return this.animation.startTime}attachTimeline(t){return this._animation?this.stopTimeline=this.animation.attachTimeline(t):this.pendingTimeline=t,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){var t;this._animation&&this.animation.cancel(),(t=this.keyframeResolver)==null||t.cancel()}}const Df=(e,t,n,o={},u,r)=>a=>{const s=mf(o,e)||{},i=s.delay||o.delay||0;let{elapsed:c=0}=o;c=c-In(i);const l={keyframes:Array.isArray(n)?n:[null,n],ease:"easeOut",velocity:t.getVelocity(),...s,delay:-c,onUpdate:f=>{t.set(f),s.onUpdate&&s.onUpdate(f)},onComplete:()=>{a(),s.onComplete&&s.onComplete()},name:e,motionValue:t,element:r?void 0:u};RI(s)||Object.assign(l,OI(e,l)),l.duration&&(l.duration=In(l.duration)),l.repeatDelay&&(l.repeatDelay=In(l.repeatDelay)),l.from!==void 0&&(l.keyframes[0]=l.from);let d=!1;if((l.type===!1||l.duration===0&&!l.repeatDelay)&&(A0(l),l.delay===0&&(d=!0)),(Ao.instantAnimations||Ao.skipAnimations)&&(d=!0,A0(l),l.delay=0),l.allowFlatten=!s.type&&!s.ease,d&&!r&&t.get()!==void 0){const f=SI(l.keyframes,s);if(f!==void 0){st.update(()=>{l.onUpdate(f),l.onComplete()});return}}return s.isSync?new Cf(l):new SL(l)};function TL({protectedKeys:e,needsAnimating:t},n){const o=e.hasOwnProperty(n)&&t[n]!==!0;return t[n]=!1,o}function FL(e,t,{delay:n=0,transitionOverride:o,type:u}={}){let{transition:r=e.getDefaultTransition(),transitionEnd:a,...s}=t;o&&(r=o);const i=[],c=u&&e.animationState&&e.animationState.getState()[u];for(const l in s){const d=e.getValue(l,e.latestValues[l]??null),f=s[l];if(f===void 0||c&&TL(c,l))continue;const p={delay:n,...mf(r||{},l)},m=d.get();if(m!==void 0&&!d.isAnimating&&!Array.isArray(f)&&f===m&&!p.velocity)continue;let g=!1;if(window.MotionHandoffAnimation){const b=q6(e);if(b){const y=window.MotionHandoffAnimation(b,l,st);y!==null&&(p.startTime=y,g=!0)}}AI(e,l),d.start(Df(l,d,f,e.shouldReduceMotion&&x6.has(l)?{type:!1}:p,e,g));const E=d.animation;E&&i.push(E)}return a&&Promise.all(i).then(()=>{st.update(()=>{a&&DI(e,a)})}),i}function PL(e,t){return e in t}class ML extends C6{constructor(){super(...arguments),this.type="object"}readValueFromInstance(t,n){if(PL(n,t)){const o=t[n];if(typeof o=="string"||typeof o=="number")return o}}getBaseTargetFromProps(){}removeValueFromRenderState(t,n){delete n.output[t]}measureInstanceViewportBox(){return kt()}build(t,n){Object.assign(t.output,n)}renderInstance(t,{output:n}){Object.assign(t,n)}sortInstanceNodePosition(){return 0}}function ob(e){return typeof e=="object"&&e!==null}function wf(e){return ob(e)&&"ownerSVGElement"in e}function ub(e){return wf(e)&&e.tagName==="svg"}function OL(e){const t={presenceContext:null,props:{},visualState:{renderState:{transform:{},transformOrigin:{},style:{},vars:{},attrs:{}},latestValues:{}}},n=wf(e)&&!ub(e)?new F6(t):new S6(t);n.mount(e),Fu.set(e,n)}function RL(e){const t={presenceContext:null,props:{},visualState:{renderState:{output:{}},latestValues:{}}},n=new ML(t);n.mount(e),Fu.set(e,n)}function rb(e,t,n){const o=wt(e)?e:hr(e);return o.start(Df("",o,t,n)),o.animation}function IL(e,t){return wt(e)||typeof e=="number"||typeof e=="string"&&!df(t)}function ab(e,t,n,o){const u=[];if(IL(e,t))u.push(rb(e,df(t)&&t.default||t,n&&(n.default||n)));else{const r=P6(e,t,o),a=r.length;_o(!!a,"No valid elements provided.","no-valid-elements");for(let s=0;s{o.push(...ab(s,r,a))}),o}class qL{constructor(t){this.stop=()=>this.runAll("stop"),this.animations=t.filter(Boolean)}get finished(){return Promise.all(this.animations.map(t=>t.finished))}getAll(t){return this.animations[0][t]}setAll(t,n){for(let o=0;oo.attachTimeline(t));return()=>{n.forEach((o,u)=>{o&&o(),this.animations[u].stop()})}}get time(){return this.getAll("time")}set time(t){this.setAll("time",t)}get speed(){return this.getAll("speed")}set speed(t){this.setAll("speed",t)}get state(){return this.getAll("state")}get startTime(){return this.getAll("startTime")}get duration(){return L4(this.animations,"duration")}get iterationDuration(){return L4(this.animations,"iterationDuration")}runAll(t){this.animations.forEach(n=>n[t]())}play(){this.runAll("play")}pause(){this.runAll("pause")}cancel(){this.runAll("cancel")}complete(){this.runAll("complete")}}function L4(e,t){let n=0;for(let o=0;on&&(n=u)}return n}class $L extends qL{then(t,n){return this.finished.finally(t).then(()=>{})}}function NL(e){return Array.isArray(e)&&e.some(Array.isArray)}function jL(e){function t(n,o,u){let r=[],a;if(NL(n))r=LL(n,o,e);else{const{onComplete:i,...c}=u||{};typeof i=="function"&&(a=i),r=ab(n,o,c,e)}const s=new $L(r);return a&&s.finished.then(a),s}return t}const VL=jL(),zL=["initial","animate","whileInView","whileHover","whilePress","whileDrag","whileFocus","exit"];class UL extends Oo{constructor(t){var n,o;super(t),this.animateUpdates=({controlActiveState:u,directAnimate:r,directTransition:a,controlDelay:s=0,isExit:i}={})=>{const{reducedMotion:c}=this.state.options.motionConfig;this.state.visualElement.shouldReduceMotion=c==="always"||c==="user"&&!!Ci.current;const l=this.state.target;this.state.target={...this.state.baseTarget};let d={};d=this.resolveStateAnimation({controlActiveState:u,directAnimate:r,directTransition:a}),this.state.finalTransition=d;const f=this.createAnimationFactories(l,d,s),{getChildAnimations:p}=this.setupChildAnimations(d,this.state.activeStates);return this.executeAnimations({factories:f,getChildAnimations:p,transition:d,controlActiveState:u,isExit:i})},this.state.visualElement=uI(this.state.options.as,{presenceContext:null,parent:(n=this.state.parent)==null?void 0:n.visualElement,props:{...this.state.options,whileTap:this.state.options.whilePress},visualState:{renderState:{transform:{},transformOrigin:{},style:{},vars:{},attrs:{}},latestValues:{...this.state.baseTarget}},reducedMotionConfig:this.state.options.motionConfig.reducedMotion}),(o=this.state.visualElement.parent)==null||o.addChild(this.state.visualElement),this.state.animateUpdates=this.animateUpdates,this.state.isMounted()&&this.state.startAnimation()}updateAnimationControlsSubscription(){const{animate:t}=this.state.options;a4(t)&&(this.unmountControls=t.subscribe(this.state))}executeAnimations({factories:t,getChildAnimations:n,transition:o,controlActiveState:u,isExit:r=!1}){const a=()=>Promise.all(t.map(d=>d()).filter(Boolean)),s={...this.state.target},i=this.state.element,c=d=>{var f,p;r&&(this.state.isExiting=!0),i.dispatchEvent(i4("motionstart",s)),(p=(f=this.state.options).onAnimationStart)==null||p.call(f,s),d.then(()=>{var m,g,E,b;if(r){this.state.isExiting=!1;const y=this.state.options.animatePresenceContext;if(y?.onMotionExitComplete&&this.state.presenceContainer){const v=this.state,C=v.visualElement.projection;(m=v.options)!=null&&m.layoutId&&((g=C.currentAnimation)==null?void 0:g.state)==="running"&&!v.options.exit||y.onMotionExitComplete(v.presenceContainer,v)}}i.dispatchEvent(i4("motioncomplete",s,r)),(b=(E=this.state.options).onAnimationComplete)==null||b.call(E,s)}).catch(cn)},l=()=>{const d=o?.when?(o.when==="beforeChildren"?a():n()).then(()=>o.when==="beforeChildren"?n():a()):Promise.all([a(),n()]);return c(d),d};return u?l:l()}setupChildAnimations(t,n){var o;const u=this.state.visualElement;if(!((o=u.variantChildren)!=null&&o.size)||!n)return{getChildAnimations:()=>Promise.resolve()};const{staggerChildren:r=0,staggerDirection:a=1,delayChildren:s=0}=t||{},i=u.variantChildren.size,c=(i-1)*r,l=typeof s=="function",d=l?p=>s(p,i):a===1?(p=0)=>p*r:(p=0)=>c-p*r,f=Array.from(u.variantChildren).map((p,m)=>p.state.animateUpdates({controlActiveState:n,controlDelay:(l?0:s)+d(m)}));return{getChildAnimations:()=>Promise.all(f.map(p=>p()))}}createAnimationFactories(t,n,o){const u=[];return Object.keys(this.state.target).forEach(r=>{var a;if(!PO(t[r],this.state.target[r]))return;(a=this.state.baseTarget)[r]??(a[r]=ZO.get(this.state.element,r));const s=this.state.target[r]==="none"&&ir(d4[r])?d4[r]:this.state.target[r];u.push(()=>{var i;return VL(this.state.element,{[r]:s},{...n?.[r]||n,delay:(((i=n?.[r])==null?void 0:i.delay)||n?.delay||0)+o})})}),u}resolveStateAnimation({controlActiveState:t,directAnimate:n,directTransition:o}){let u=this.state.options.transition,r={};const{variants:a,custom:s,transition:i,animatePresenceContext:c}=this.state.options,l=s??c?.custom;return this.state.activeStates={...this.state.activeStates,...t},zL.forEach(d=>{if(!this.state.activeStates[d]||a4(this.state.options[d]))return;const f=this.state.options[d];let p=ir(f)?aa(f,a,l):void 0;if(this.state.visualElement.isVariantNode){const m=aa(this.state.context[d],a,l);p=Object.assign(m?m||{}:r,p)}p&&(d!=="initial"&&(u=p.transition||this.state.options.transition||{}),r=Object.assign(r,p))}),n&&(r=aa(n,a,l),u=r.transition||o||i),Object.entries(r).forEach(([d,f])=>{d!=="transition"&&(this.state.target[d]=f)}),u}mount(){var t,n;const{element:o}=this.state;r6.set(o,this.state),Fu.get(o)||(this.state.visualElement.mount(o),Fu.set(o,this.state.visualElement)),this.state.visualElement.state=this.state,this.updateAnimationControlsSubscription();const u=this.state.visualElement,r=u.parent;if(u.enteringChildren=void 0,(t=this.state.parent)!=null&&t.isMounted()&&!u.isControllingVariants&&((n=r?.enteringChildren)!=null&&n.has(u))){const{delayChildren:a}=this.state.parent.finalTransition||{};this.animateUpdates({controlActiveState:this.state.parent.activeStates,controlDelay:rI(r.enteringChildren,u,a)})()}}update(){const{animate:t}=this.state.options,{animate:n}=this.state.visualElement.prevProps||{};t!==n&&this.updateAnimationControlsSubscription()}unmount(){var t;(t=this.unmountControls)==null||t.call(this)}}function HL(e){return ob(e)&&"offsetHeight"in e}const KL={y:!1};function WL(){return KL.y}const sb=(e,t)=>t?e===t?!0:sb(e,t.parentElement):!1,GL=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1;function ib(e,t){const n=ff(e),o=new AbortController,u={passive:!0,...t,signal:o.signal};return[n,u,()=>o.abort()]}const YL=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function ZL(e){return YL.has(e.tagName)||e.isContentEditable===!0}const js=new WeakSet;function q4(e){return t=>{t.key==="Enter"&&e(t)}}function oc(e,t){e.dispatchEvent(new PointerEvent("pointer"+t,{isPrimary:!0,bubbles:!0}))}const XL=(e,t)=>{const n=e.currentTarget;if(!n)return;const o=q4(()=>{if(js.has(n))return;oc(n,"down");const u=q4(()=>{oc(n,"up")}),r=()=>oc(n,"cancel");n.addEventListener("keyup",u,t),n.addEventListener("blur",r,t)});n.addEventListener("keydown",o,t),n.addEventListener("blur",()=>n.removeEventListener("keydown",o),t)};function $4(e){return GL(e)&&!0}function JL(e,t,n={}){const[o,u,r]=ib(e,n),a=s=>{const i=s.currentTarget;if(!$4(s))return;js.add(i);const c=t(i,s),l=(p,m)=>{window.removeEventListener("pointerup",d),window.removeEventListener("pointercancel",f),js.has(i)&&js.delete(i),$4(p)&&typeof c=="function"&&c(p,{success:m})},d=p=>{l(p,i===window||i===document||n.useGlobalTarget||sb(i,p.target))},f=p=>{l(p,!1)};window.addEventListener("pointerup",d,u),window.addEventListener("pointercancel",f,u)};return o.forEach(s=>{(n.useGlobalTarget?window:s).addEventListener("pointerdown",a,u),HL(s)&&(s.addEventListener("focus",c=>XL(c,u)),!ZL(s)&&!s.hasAttribute("tabindex")&&(s.tabIndex=0))}),r}function lb(e){return{point:{x:e.pageX,y:e.pageY}}}function N4(e,t,n){const o=e.options;o.whilePress&&e.setActive("whilePress",n==="Start");const u=`onPress${n==="End"?"":n}`,r=o[u];r&&st.postRender(()=>r(t,lb(t)))}class QL extends Oo{isActive(){const{whilePress:t,onPress:n,onPressCancel:o,onPressStart:u}=this.state.options;return!!(t||n||o||u)}constructor(t){super(t)}mount(){this.register()}update(){const{whilePress:t,onPress:n,onPressCancel:o,onPressStart:u}=this.state.options;t||n||o||u||this.register()}register(){const t=this.state.element;!t||!this.isActive()||(this.unmount(),this.unmount=JL(t,(n,o)=>(N4(this.state,o,"Start"),(u,{success:r})=>N4(this.state,u,r?"End":"Cancel")),{useGlobalTarget:this.state.options.globalPressTarget}))}}function j4(e){return!(e.pointerType==="touch"||WL())}function eq(e,t,n={}){const[o,u,r]=ib(e,n),a=s=>{if(!j4(s))return;const{target:i}=s,c=t(i,s);if(typeof c!="function"||!i)return;const l=d=>{j4(d)&&(c(d),i.removeEventListener("pointerleave",l))};i.addEventListener("pointerleave",l,u)};return o.forEach(s=>{s.addEventListener("pointerenter",a,u)}),r}function V4(e,t,n){const o=e.options;o.whileHover&&e.setActive("whileHover",n==="Start");const u=`onHover${n}`,r=o[u];r&&st.postRender(()=>r(t,lb(t)))}class tq extends Oo{isActive(){const{whileHover:t,onHoverStart:n,onHoverEnd:o}=this.state.options;return!!(t||n||o)}constructor(t){super(t)}mount(){this.register()}update(){const{whileHover:t,onHoverStart:n,onHoverEnd:o}=this.state.visualElement.prevProps;t||n||o||this.register()}register(){const t=this.state.element;!t||!this.isActive()||(this.unmount(),this.unmount=eq(t,(n,o)=>(V4(this.state,o,"Start"),u=>{V4(this.state,u,"End")})))}}const nq={some:0,all:1};function oq(e,t,{root:n,margin:o,amount:u="some"}={}){const r=ff(e),a=new WeakMap,s=c=>{c.forEach(l=>{const d=a.get(l.target);if(l.isIntersecting!==!!d)if(l.isIntersecting){const f=t(l.target,l);typeof f=="function"?a.set(l.target,f):i.unobserve(l.target)}else typeof d=="function"&&(d(l),a.delete(l.target))})},i=new IntersectionObserver(s,{root:n,rootMargin:o,threshold:typeof u=="number"?u:nq[u]});return r.forEach(c=>i.observe(c)),()=>i.disconnect()}function z4(e,t,n){const o=e.options;o.whileInView&&e.setActive("whileInView",n==="Enter");const u=`onViewport${n}`,r=o[u];r&&st.postRender(()=>r(t))}class uq extends Oo{isActive(){const{whileInView:t,onViewportEnter:n,onViewportLeave:o}=this.state.options;return!!(t||n||o)}constructor(t){super(t)}startObserver(){const t=this.state.element;if(!t||!this.isActive())return;this.unmount();const{once:n,...o}=this.state.options.inViewOptions||{};this.unmount=oq(t,(u,r)=>{if(z4(this.state,r,"Enter"),!n)return a=>{z4(this.state,r,"Leave")}},o)}mount(){this.startObserver()}update(){const{props:t,prevProps:n}=this.state.visualElement;["amount","margin","root"].some(rq(t,n))&&this.startObserver()}}function rq({inViewOptions:e={}},{inViewOptions:t={}}={}){return n=>e[n]!==t[n]}function wi(e,t,n,o={passive:!0}){return e.addEventListener(t,n,o),()=>e.removeEventListener(t,n)}class aq extends Oo{constructor(){super(...arguments),this.isActive=!1}onFocus(){let t=!1;try{t=this.state.element.matches(":focus-visible")}catch{t=!0}t&&(this.state.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){this.isActive&&(this.state.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=Ga(wi(this.state.element,"focus",()=>this.onFocus()),wi(this.state.element,"blur",()=>this.onBlur()))}}const sq=(e,t)=>e.depth-t.depth;class iq{constructor(){this.children=[],this.isDirty=!1}add(t){rf(this.children,t),this.isDirty=!0}remove(t){hl(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(sq),this.isDirty=!1,this.children.forEach(t)}}function uc(e){return wt(e)?e.get():e}const cb=["TopLeft","TopRight","BottomLeft","BottomRight"],lq=cb.length,U4=e=>typeof e=="string"?parseFloat(e):e,H4=e=>typeof e=="number"||de.test(e);function cq(e,t,n,o,u,r){u?(e.opacity=dt(0,n.opacity??1,dq(o)),e.opacityExit=dt(t.opacity??1,0,fq(o))):r&&(e.opacity=dt(t.opacity??1,n.opacity??1,o));for(let a=0;aot?1:n(mr(e,t,o))}function W4(e,t){e.min=t.min,e.max=t.max}function Pn(e,t){W4(e.x,t.x),W4(e.y,t.y)}function G4(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}function rc(e){return e===void 0||e===1}function S0({scale:e,scaleX:t,scaleY:n}){return!rc(e)||!rc(t)||!rc(n)}function fu(e){return S0(e)||fb(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function fb(e){return Y4(e.x)||Y4(e.y)}function Y4(e){return e&&e!=="0%"}function Ai(e,t,n){const o=e-n,u=t*o;return n+u}function Z4(e,t,n,o,u){return u!==void 0&&(e=Ai(e,u,o)),Ai(e,n,o)+t}function T0(e,t=0,n=1,o,u){e.min=Z4(e.min,t,n,o,u),e.max=Z4(e.max,t,n,o,u)}function pb(e,{x:t,y:n}){T0(e.x,t.translate,t.scale,t.originPoint),T0(e.y,n.translate,n.scale,n.originPoint)}const X4=.999999999999,J4=1.0000000000001;function pq(e,t,n,o=!1){const u=n.length;if(!u)return;t.x=t.y=1;let r,a;for(let s=0;sX4&&(t.x=1),t.yX4&&(t.y=1)}function _s(e,t){e.min=e.min+t,e.max=e.max+t}function Q4(e,t,n,o,u=.5){const r=dt(e.min,e.max,u);T0(e,t,n,r,o)}function Gu(e,t){Q4(e.x,t.x,t.scaleX,t.scale,t.originX),Q4(e.y,t.y,t.scaleY,t.scale,t.originY)}const hb=1e-4,hq=1-hb,mq=1+hb,mb=.01,gq=0-mb,vq=0+mb;function kn(e){return e.max-e.min}function yq(e,t,n){return Math.abs(e-t)<=n}function em(e,t,n,o=.5){e.origin=o,e.originPoint=dt(t.min,t.max,e.origin),e.scale=kn(n)/kn(t),e.translate=dt(n.min,n.max,e.origin)-e.originPoint,(e.scale>=hq&&e.scale<=mq||isNaN(e.scale))&&(e.scale=1),(e.translate>=gq&&e.translate<=vq||isNaN(e.translate))&&(e.translate=0)}function ia(e,t,n,o){em(e.x,t.x,n.x,o?o.originX:void 0),em(e.y,t.y,n.y,o?o.originY:void 0)}function tm(e,t,n){e.min=n.min+t.min,e.max=e.min+kn(t)}function bq(e,t,n){tm(e.x,t.x,n.x),tm(e.y,t.y,n.y)}function nm(e,t,n){e.min=t.min-n.min,e.max=e.min+kn(t)}function Bi(e,t,n){nm(e.x,t.x,n.x),nm(e.y,t.y,n.y)}function om(e,t,n,o,u){return e-=t,e=Ai(e,1/n,o),u!==void 0&&(e=Ai(e,1/u,o)),e}function Eq(e,t=0,n=1,o=.5,u,r=e,a=e){if(oo.test(t)&&(t=parseFloat(t),t=dt(a.min,a.max,t/100)-a.min),typeof t!="number")return;let s=dt(r.min,r.max,o);e===r&&(s-=t),e.min=om(e.min,t,n,s,u),e.max=om(e.max,t,n,s,u)}function um(e,t,[n,o,u],r,a){Eq(e,t[n],t[o],t[u],t.scale,r,a)}const Cq=["x","scaleX","originX"],xq=["y","scaleY","originY"];function rm(e,t,n,o){um(e.x,t,Cq,n?n.x:void 0,o?o.x:void 0),um(e.y,t,xq,n?n.y:void 0,o?o.y:void 0)}function am(e){return e.translate===0&&e.scale===1}function gb(e){return am(e.x)&&am(e.y)}function sm(e,t){return e.min===t.min&&e.max===t.max}function Dq(e,t){return sm(e.x,t.x)&&sm(e.y,t.y)}function im(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function vb(e,t){return im(e.x,t.x)&&im(e.y,t.y)}function lm(e){return kn(e.x)/kn(e.y)}function cm(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}class wq{constructor(){this.members=[]}add(t){rf(this.members,t),t.scheduleRender()}remove(t){if(hl(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){const n=this.members[this.members.length-1];n&&this.promote(n)}}relegate(t){const n=this.members.findIndex(u=>t===u);if(n===0)return!1;let o;for(let u=n;u>=0;u--){const r=this.members[u];if(r.isPresent!==!1){o=r;break}}return o?(this.promote(o),!0):!1}promote(t,n){const o=this.lead;if(t!==o&&(this.prevLead=o,this.lead=t,t.show(),o)){o.instance&&o.scheduleRender(),t.scheduleRender(),t.resumeFrom=o,n&&(t.resumeFrom.preserveOpacity=!0),o.snapshot&&(t.snapshot=o.snapshot,t.snapshot.latestValues=o.animationValues||o.latestValues),t.root&&t.root.isUpdating&&(t.isLayoutDirty=!0);const{crossfade:u}=t.options;u===!1&&o.hide()}}exitAnimationComplete(){this.members.forEach(t=>{const{options:n,resumingFrom:o}=t;n.onExitComplete&&n.onExitComplete(),o&&o.options.onExitComplete&&o.options.onExitComplete()})}scheduleRender(){this.members.forEach(t=>{t.instance&&t.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function Aq(e,t,n){let o="";const u=e.x.translate/t.x,r=e.y.translate/t.y,a=n?.z||0;if((u||r||a)&&(o=`translate3d(${u}px, ${r}px, ${a}px) `),(t.x!==1||t.y!==1)&&(o+=`scale(${1/t.x}, ${1/t.y}) `),n){const{transformPerspective:c,rotate:l,rotateX:d,rotateY:f,skewX:p,skewY:m}=n;c&&(o=`perspective(${c}px) ${o}`),l&&(o+=`rotate(${l}deg) `),d&&(o+=`rotateX(${d}deg) `),f&&(o+=`rotateY(${f}deg) `),p&&(o+=`skewX(${p}deg) `),m&&(o+=`skewY(${m}deg) `)}const s=e.x.scale*t.x,i=e.y.scale*t.y;return(s!==1||i!==1)&&(o+=`scale(${s}, ${i})`),o||"none"}function dm(e){return[e("x"),e("y")]}const Vs={hasAnimatedSinceResize:!0,hasEverUpdated:!1},ac=["","X","Y","Z"],Bq=1e3;let _q=0;function sc(e,t,n,o){const{latestValues:u}=t;u[e]&&(n[e]=u[e],t.setStaticValue(e,0),o&&(o[e]=0))}function yb(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;const{visualElement:t}=e.options;if(!t)return;const n=q6(t);if(window.MotionHasOptimisedAnimation(n,"transform")){const{layout:u,layoutId:r}=e.options;window.MotionCancelOptimisedAnimation(n,"transform",st,!(u||r))}const{parent:o}=e;o&&!o.hasCheckedOptimisedAppear&&yb(o)}function bb({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:o,resetTransform:u}){return class{constructor(a={},s=t?.()){this.id=_q++,this.animationId=0,this.animationCommitId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.layoutVersion=0,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,this.nodes.forEach(Tq),this.nodes.forEach(Oq),this.nodes.forEach(Rq),this.nodes.forEach(Fq)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=a,this.root=s?s.root||s:this,this.path=s?[...s.path,s]:[],this.parent=s,this.depth=s?s.depth+1:0;for(let i=0;ithis.root.updateBlockedByResize=!1;st.read(()=>{d=window.innerWidth}),e(a,()=>{const p=window.innerWidth;p!==d&&(d=p,this.root.updateBlockedByResize=!0,l&&l(),l=pO(f,250),Vs.hasAnimatedSinceResize&&(Vs.hasAnimatedSinceResize=!1,this.nodes.forEach(hm)))})}s&&this.root.registerSharedNode(s,this),this.options.animate!==!1&&c&&(s||i)&&this.addEventListener("didUpdate",({delta:l,hasLayoutChanged:d,hasRelativeLayoutChanged:f,layout:p})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const m=this.options.transition||c.getDefaultTransition()||Nq,{onLayoutAnimationStart:g,onLayoutAnimationComplete:E}=c.getProps(),b=!this.targetLayout||!vb(this.targetLayout,p),y=!d&&f;if(this.options.layoutRoot||this.resumeFrom||y||d&&(b||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);const v={...mf(m,"layout"),onPlay:g,onComplete:E};(c.shouldReduceMotion||this.options.layoutRoot)&&(v.delay=0,v.type=!1),this.startAnimation(v),this.setAnimationOrigin(l,y)}else d||hm(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=p})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const a=this.getStack();a&&a.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),Bo(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach(Iq),this.animationId++)}getTransformTemplate(){const{visualElement:a}=this.options;return a&&a.getProps().transformTemplate}willUpdate(a=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&yb(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let l=0;l{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!kn(this.snapshot.measuredBox.x)&&!kn(this.snapshot.measuredBox.y)&&(this.snapshot=void 0))}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let i=0;i{const x=C/1e3;mm(d.x,a.x,x),mm(d.y,a.y,x),this.setTargetDelta(d),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(Bi(f,this.layout.layoutBox,this.relativeParent.layout.layoutBox),qq(this.relativeTarget,this.relativeTargetOrigin,f,x),v&&Dq(this.relativeTarget,v)&&(this.isProjectionDirty=!1),v||(v=kt()),Pn(v,this.relativeTarget)),g&&(this.animationValues=l,cq(l,c,this.latestValues,x,y,b)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=x},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(a){var s,i,c;this.notifyListeners("animationStart"),(s=this.currentAnimation)==null||s.stop(),(c=(i=this.resumingFrom)==null?void 0:i.currentAnimation)==null||c.stop(),this.pendingAnimation&&(Bo(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=st.update(()=>{Vs.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=hr(0)),this.currentAnimation=rb(this.motionValue,[0,1e3],{...a,velocity:0,isSync:!0,onUpdate:l=>{this.mixTargetDelta(l),a.onUpdate&&a.onUpdate(l)},onStop:()=>{},onComplete:()=>{a.onComplete&&a.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const a=this.getStack();a&&a.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(Bq),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const a=this.getLead();let{targetWithTransforms:s,target:i,layout:c,latestValues:l}=a;if(!(!s||!i||!c)){if(this!==a&&this.layout&&c&&Eb(this.options.animationType,this.layout.layoutBox,c.layoutBox)){i=this.target||kt();const d=kn(this.layout.layoutBox.x);i.x.min=a.target.x.min,i.x.max=i.x.min+d;const f=kn(this.layout.layoutBox.y);i.y.min=a.target.y.min,i.y.max=i.y.min+f}Pn(s,i),Gu(s,l),ia(this.projectionDeltaWithTransform,this.layoutCorrected,s,l)}}registerSharedNode(a,s){this.sharedNodes.has(a)||this.sharedNodes.set(a,new wq),this.sharedNodes.get(a).add(s);const c=s.options.initialPromotionConfig;s.promote({transition:c?c.transition:void 0,preserveFollowOpacity:c&&c.shouldPreserveFollowOpacity?c.shouldPreserveFollowOpacity(s):void 0})}isLead(){const a=this.getStack();return a?a.lead===this:!0}getLead(){var a;const{layoutId:s}=this.options;return s?((a=this.getStack())==null?void 0:a.lead)||this:this}getPrevLead(){var a;const{layoutId:s}=this.options;return s?(a=this.getStack())==null?void 0:a.prevLead:void 0}getStack(){const{layoutId:a}=this.options;if(a)return this.root.sharedNodes.get(a)}promote({needsReset:a,transition:s,preserveFollowOpacity:i}={}){const c=this.getStack();c&&c.promote(this,i),a&&(this.projectionDelta=void 0,this.needsReset=!0),s&&this.setOptions({transition:s})}relegate(){const a=this.getStack();return a?a.relegate(this):!1}resetSkewAndRotation(){const{visualElement:a}=this.options;if(!a)return;let s=!1;const{latestValues:i}=a;if((i.z||i.rotate||i.rotateX||i.rotateY||i.rotateZ||i.skewX||i.skewY)&&(s=!0),!s)return;const c={};i.z&&sc("z",a,c,this.animationValues);for(let l=0;l{var s;return(s=a.currentAnimation)==null?void 0:s.stop()}),this.root.nodes.forEach(fm),this.root.sharedNodes.clear()}}}function kq(e){e.updateLayout()}function Sq(e){var t;const n=((t=e.resumeFrom)==null?void 0:t.snapshot)||e.snapshot;if(e.isLead()&&e.layout&&n&&e.hasListeners("didUpdate")){const{layoutBox:o,measuredBox:u}=e.layout,{animationType:r}=e.options,a=n.source!==e.layout.source;r==="size"?dm(d=>{const f=a?n.measuredBox[d]:n.layoutBox[d],p=kn(f);f.min=o[d].min,f.max=f.min+p}):Eb(r,n.layoutBox,o)&&dm(d=>{const f=a?n.measuredBox[d]:n.layoutBox[d],p=kn(o[d]);f.max=f.min+p,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[d].max=e.relativeTarget[d].min+p)});const s=Wu();ia(s,o,n.layoutBox);const i=Wu();a?ia(i,e.applyTransform(u,!0),n.measuredBox):ia(i,o,n.layoutBox);const c=!gb(s);let l=!1;if(!e.resumeFrom){const d=e.getClosestProjectingParent();if(d&&!d.resumeFrom){const{snapshot:f,layout:p}=d;if(f&&p){const m=kt();Bi(m,n.layoutBox,f.layoutBox);const g=kt();Bi(g,o,p.layoutBox),vb(m,g)||(l=!0),d.options.layoutRoot&&(e.relativeTarget=g,e.relativeTargetOrigin=m,e.relativeParent=d)}}}e.notifyListeners("didUpdate",{layout:o,snapshot:n,delta:i,layoutDelta:s,hasLayoutChanged:c,hasRelativeLayoutChanged:l})}else if(e.isLead()){const{onExitComplete:o}=e.options;o&&o()}e.options.transition=void 0}function Tq(e){e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=!!(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function Fq(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function Pq(e){e.clearSnapshot()}function fm(e){e.clearMeasurements()}function pm(e){e.isLayoutDirty=!1}function Mq(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function hm(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function Oq(e){e.resolveTargetDelta()}function Rq(e){e.calcProjection()}function Iq(e){e.resetSkewAndRotation()}function Lq(e){e.removeLeadSnapshot()}function mm(e,t,n){e.translate=dt(t.translate,0,n),e.scale=dt(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function gm(e,t,n,o){e.min=dt(t.min,n.min,o),e.max=dt(t.max,n.max,o)}function qq(e,t,n,o){gm(e.x,t.x,n.x,o),gm(e.y,t.y,n.y,o)}function $q(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}const Nq={duration:.45,ease:[.4,0,.1,1]},vm=e=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),ym=vm("applewebkit/")&&!vm("chrome/")?Math.round:cn;function bm(e){e.min=ym(e.min),e.max=ym(e.max)}function jq(e){bm(e.x),bm(e.y)}function Eb(e,t,n){return e==="position"||e==="preserve-aspect"&&!yq(lm(t),lm(n),.2)}function Vq(e){var t;return e!==e.root&&((t=e.scroll)==null?void 0:t.wasRoot)}function zq(e,t,n,o={passive:!0}){return e.addEventListener(t,n,o),()=>e.removeEventListener(t,n)}const Uq=bb({attachResizeListener:(e,t)=>zq(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),ic={current:void 0},Hq=bb({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!ic.current){const e=new Uq({});e.mount(window),e.setOptions({layoutScroll:!0}),ic.current=e}return ic.current},resetTransform:(e,t)=>{e.style.transform=t!==void 0?t:"none"},checkIsScrollRoot:e=>window.getComputedStyle(e).position==="fixed"});function Cb(e){if(e)return e.options.allowProjection!==!1?e.projection:Cb(e.parent)}const xb={borderRadius:{...Xn,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:Xn,borderTopRightRadius:Xn,borderBottomLeftRadius:Xn,borderBottomRightRadius:Xn,boxShadow:t6};function Yr(e){return typeof e=="object"&&e!==null&&"nodeType"in e}class Kq extends Oo{constructor(t){super(t),o6(xb)}initProjection(){const t=this.state.options;this.state.visualElement.projection=new Hq(this.state.visualElement.latestValues,t["data-framer-portal-id"]?void 0:Cb(this.state.visualElement.parent)),this.state.visualElement.projection.isPresent=!0,this.setOptions()}beforeMount(){this.initProjection()}setOptions(){const t=this.state.options,{layoutId:n,layout:o,drag:u=!1,dragConstraints:r=!1}=t;this.state.visualElement.projection.setOptions({layout:o,layoutId:n,alwaysMeasureLayout:!!n||!!u||r&&Yr(r),visualElement:this.state.visualElement,animationType:typeof t.layout=="string"?t.layout:"both",layoutRoot:t.layoutRoot,layoutScroll:t.layoutScroll,crossfade:t.crossfade,onExitComplete:()=>{var a,s;!((a=this.state.visualElement.projection)!=null&&a.isPresent)&&this.state.options.layoutId&&!this.state.isExiting&&((s=this.state.options.animatePresenceContext)==null||s.onMotionExitComplete(this.state.presenceContainer,this.state))}})}update(){this.setOptions()}mount(){var t;(t=this.state.visualElement.projection)==null||t.mount(this.state.element)}}function Db(e){return e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1}function Af(e,t="page"){return{point:{x:e[`${t}X`],y:e[`${t}Y`]}}}function Wq(e){return t=>Db(t)&&e(t,Af(t))}function la(e,t,n,o){return wi(e,t,Wq(n),o)}function wb(e){let t=null;return()=>{const n=()=>{t=null};return t===null?(t=e,n):!1}}const Em=wb("dragHorizontal"),Cm=wb("dragVertical");function Gq(e){let t=!1;if(e==="y")t=Cm();else if(e==="x")t=Em();else{const n=Em(),o=Cm();n&&o?t=()=>{n(),o()}:(n&&n(),o&&o())}return t}function F0(e){return e.max-e.min}function Yq(e,{min:t,max:n},o){return t!==void 0&&en&&(e=o?dt(n,e,o.max):Math.min(e,n)),e}const P0=.35;function Zq(e,{top:t,left:n,bottom:o,right:u}){return{x:xm(e.x,n,u),y:xm(e.y,t,o)}}function xm(e,t,n){return{min:t!==void 0?e.min+t:void 0,max:n!==void 0?e.max+n-(e.max-e.min):void 0}}function Xq(e=P0){return e===!1?e=0:e===!0&&(e=P0),{x:Dm(e,"left","right"),y:Dm(e,"top","bottom")}}function Dm(e,t,n){return{min:wm(e,t),max:wm(e,n)}}function wm(e,t){return typeof e=="number"?e:e[t]||0}function Jq(e,t){const n={};return t.min!==void 0&&(n.min=t.min-e.min),t.max!==void 0&&(n.max=t.max-e.min),n}function Qq(e,t){return{x:Am(e.x,t.x),y:Am(e.y,t.y)}}function Am(e,t){let n=t.min-e.min,o=t.max-e.max;return t.max-t.mino?n=mr(t.min,t.max-o,e.min):o>u&&(n=mr(e.min,e.max-u,t.min)),ro(0,1,n)}const Bm=(e,t)=>Math.abs(e-t);function t$(e,t){const n=Bm(e.x,t.x),o=Bm(e.y,t.y);return Math.sqrt(n**2+o**2)}const _m=new Set(["auto","scroll"]);class Ab{constructor(t,n,{transformPagePoint:o,contextWindow:u,dragSnapToOrigin:r=!1,element:a}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.scrollPositions=new Map,this.onElementScroll=f=>{this.handleScroll(f.target)},this.onWindowScroll=()=>{this.handleScroll(window)},this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const f=cc(this.lastMoveEventInfo,this.history),p=this.startEvent!==null,m=t$(f.offset,{x:0,y:0})>=3;if(!p&&!m)return;const{point:g}=f,{timestamp:E}=Rt;this.history.push({...g,timestamp:E});const{onStart:b,onMove:y}=this.handlers;p||(b&&b(this.lastMoveEvent,f),this.startEvent=this.lastMoveEvent),y&&y(this.lastMoveEvent,f)},this.handlePointerMove=(f,p)=>{this.lastMoveEvent=f,this.lastMoveEventInfo=lc(p,this.transformPagePoint),st.update(this.updatePoint,!0)},this.handlePointerUp=(f,p)=>{this.end();const{onEnd:m,onSessionEnd:g,resumeAnimation:E}=this.handlers;if((this.dragSnapToOrigin||!this.startEvent)&&E&&E(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const b=cc(f.type==="pointercancel"?this.lastMoveEventInfo:lc(p,this.transformPagePoint),this.history);this.startEvent&&m&&m(f,b),g&&g(f,b)},!Db(t))return;this.dragSnapToOrigin=r,this.handlers=n,this.transformPagePoint=o,this.contextWindow=u||window;const s=Af(t),i=lc(s,this.transformPagePoint),{point:c}=i,{timestamp:l}=Rt;this.history=[{...c,timestamp:l}];const{onSessionStart:d}=n;d&&d(t,cc(i,this.history)),this.removeListeners=Ga(la(this.contextWindow,"pointermove",this.handlePointerMove),la(this.contextWindow,"pointerup",this.handlePointerUp),la(this.contextWindow,"pointercancel",this.handlePointerUp)),a&&this.startScrollTracking(a)}isScrollable(t){const n=window.getComputedStyle(t);return n.overflow==="auto"||n.overflow==="scroll"||n.overflowX==="auto"||n.overflowX==="scroll"||n.overflowY==="auto"||n.overflowY==="scroll"}startScrollTracking(t){let n=t.parentElement;for(;n;){const o=getComputedStyle(n);(_m.has(o.overflowX)||_m.has(o.overflowY))&&this.scrollPositions.set(n,{x:n.scrollLeft,y:n.scrollTop}),n=n.parentElement}this.scrollPositions.set(window,{x:window.scrollX,y:window.scrollY}),window.addEventListener("scroll",this.onElementScroll,{capture:!0,passive:!0}),window.addEventListener("scroll",this.onWindowScroll,{passive:!0}),this.removeScrollListeners=()=>{window.removeEventListener("scroll",this.onElementScroll,{capture:!0}),window.removeEventListener("scroll",this.onWindowScroll)}}handleScroll(t){const n=this.scrollPositions.get(t);if(!n)return;const o=t===window,u=o?{x:window.scrollX,y:window.scrollY}:{x:t.scrollLeft,y:t.scrollTop},r={x:u.x-n.x,y:u.y-n.y};r.x===0&&r.y===0||(o?this.lastMoveEventInfo&&(this.lastMoveEventInfo.point.x+=r.x,this.lastMoveEventInfo.point.y+=r.y):this.history.length>0&&(this.history[0].x-=r.x,this.history[0].y-=r.y),this.scrollPositions.set(t,u),st.update(this.updatePoint,!0))}updateHandlers(t){this.handlers=t}end(){var t;this.removeListeners&&this.removeListeners(),(t=this.removeScrollListeners)==null||t.call(this),this.scrollPositions.clear(),Bo(this.updatePoint)}}function lc(e,t){return t?{point:t(e.point)}:e}function km(e,t){return{x:e.x-t.x,y:e.y-t.y}}function cc({point:e},t){return{point:e,delta:km(e,Bb(t)),offset:km(e,n$(t)),velocity:o$(t,.1)}}function n$(e){return e[0]}function Bb(e){return e[e.length-1]}function o$(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,o=null;const u=Bb(e);for(;n>=0&&(o=e[n],!(u.timestamp-o.timestamp>In(t)));)n--;if(!o)return{x:0,y:0};const r=_n(u.timestamp-o.timestamp);if(r===0)return{x:0,y:0};const a={x:(u.x-o.x)/r,y:(u.y-o.y)/r};return a.x===1/0&&(a.x=0),a.y===1/0&&(a.y=0),a}const Sm=()=>({min:0,max:0});function u$(){return{x:Sm(),y:Sm()}}function Hn(e){return[e("x"),e("y")]}function r$(e){return!!(wt(e)&&e.add)}function Tm(e,t){const n=e.getValue("willChange");if(r$(n))return n.add(t)}function _b({top:e,left:t,right:n,bottom:o}){return{x:{min:t,max:n},y:{min:e,max:o}}}function a$(e,t){if(!t)return e;const n=t({x:e.left,y:e.top}),o=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:o.y,right:o.x}}function s$({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function Fm(e,t){e.min=e.min+t,e.max=e.max+t}function i$(e,t){return _b(a$(e.getBoundingClientRect(),t))}function l$(e,t,n){const o=i$(e,n),{scroll:u}=t;return u&&(Fm(o.x,u.offset.x),Fm(o.y,u.offset.y)),o}function c$(e){var t;return(t=e.projection)==null?void 0:t.isPresent}function kb({current:e}){return e?e.ownerDocument.defaultView:null}const d$=new WeakMap;class f${constructor(t){this.openGlobalLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=u$(),this.visualElement=t}start(t,{snapToCursor:n=!1}={}){const o=c=>{n?this.stopAnimation():this.pauseAnimation(),n&&this.snapToCursor(Af(c,"page").point)},u=(c,l)=>{this.stopAnimation();const{drag:d,dragPropagation:f,onDragStart:p}=this.getProps();if(d&&!f&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=Gq(d),!this.openGlobalLock))return;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),Hn(g=>{let E=this.getAxisMotionValue(g).get()||0;if(oo.test(E)){const{projection:b}=this.visualElement;if(b&&b.layout){const y=b.layout.layoutBox[g];y&&(E=F0(y)*(parseFloat(E)/100))}}this.originPoint[g]=E}),p&&st.postRender(()=>p(c,l)),Tm(this.visualElement,"transform"),this.visualElement.state.setActive("whileDrag",!0)},r=(c,l)=>{const{dragPropagation:d,dragDirectionLock:f,onDirectionLock:p,onDrag:m}=this.getProps();if(!d&&!this.openGlobalLock)return;const{offset:g}=l;if(f&&this.currentDirection===null){this.currentDirection=p$(g),this.currentDirection!==null&&p&&p(this.currentDirection);return}this.updateAxis("x",l.point,g),this.updateAxis("y",l.point,g),this.visualElement.render(),m&&m(c,l)},a=(c,l)=>this.stop(c,l),s=()=>Hn(c=>{var l;return this.getAnimationState(c)==="paused"&&((l=this.getAxisMotionValue(c).animation)==null?void 0:l.play())}),{dragSnapToOrigin:i}=this.getProps();this.panSession=new Ab(t,{onSessionStart:o,onStart:u,onMove:r,onSessionEnd:a,resumeAnimation:s},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:i,contextWindow:kb(this.visualElement),element:this.visualElement.current})}stop(t,n){const o=this.isDragging;if(this.cancel(),!o)return;const{velocity:u}=n;this.startAnimation(u);const{onDragEnd:r}=this.getProps();r&&st.postRender(()=>r(t,n))}cancel(){this.isDragging=!1;const{projection:t,animationState:n}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:o}=this.getProps();!o&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),this.visualElement.state.setActive("whileDrag",!1)}updateAxis(t,n,o){const{drag:u}=this.getProps();if(!o||!ks(t,u,this.currentDirection))return;const r=this.getAxisMotionValue(t);let a=this.originPoint[t]+o[t];this.constraints&&this.constraints[t]&&(a=Yq(a,this.constraints[t],this.elastic[t])),r.set(a)}resolveConstraints(){var t;const{dragConstraints:n,dragElastic:o}=this.getProps(),u=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):(t=this.visualElement.projection)==null?void 0:t.layout,r=this.constraints;n&&Yr(n)?this.constraints||(this.constraints=this.resolveRefConstraints()):n&&u?this.constraints=Zq(u.layoutBox,n):this.constraints=!1,this.elastic=Xq(o),r!==this.constraints&&u&&this.constraints&&!this.hasMutatedConstraints&&Hn(a=>{this.constraints!==!1&&this.getAxisMotionValue(a)&&(this.constraints[a]=Jq(u.layoutBox[a],this.constraints[a]))})}resolveRefConstraints(){const{dragConstraints:t,onMeasureDragConstraints:n}=this.getProps();if(!t||!Yr(t))return!1;const o=t,{projection:u}=this.visualElement;if(!u||!u.layout)return!1;const r=l$(o,u.root,this.visualElement.getTransformPagePoint());let a=Qq(u.layout.layoutBox,r);if(n){const s=n(s$(a));this.hasMutatedConstraints=!!s,s&&(a=_b(s))}return a}startAnimation(t){const{drag:n,dragMomentum:o,dragElastic:u,dragTransition:r,dragSnapToOrigin:a,onDragTransitionEnd:s}=this.getProps(),i=this.constraints||{},c=Hn(l=>{if(!ks(l,n,this.currentDirection))return;let d=i&&i[l]||{};a&&(d={min:0,max:0});const f=u?200:1e6,p=u?40:1e7,m={type:"inertia",velocity:o?t[l]:0,bounceStiffness:f,bounceDamping:p,timeConstant:750,restDelta:1,restSpeed:10,...r,...d};return this.startAxisValueAnimation(l,m)});return Promise.all(c).then(s)}startAxisValueAnimation(t,n){const o=this.getAxisMotionValue(t);return Tm(this.visualElement,t),o.start(Df(t,o,0,n,this.visualElement,!1))}stopAnimation(){c$(this.visualElement)&&Hn(t=>this.getAxisMotionValue(t).stop())}pauseAnimation(){Hn(t=>{var n;return(n=this.getAxisMotionValue(t).animation)==null?void 0:n.pause()})}getAnimationState(t){var n;return(n=this.getAxisMotionValue(t).animation)==null?void 0:n.state}getAxisMotionValue(t){const n=`_drag${t.toUpperCase()}`,o=this.visualElement.getProps();return o[n]||this.visualElement.getValue(t,(o.initial?o.initial[t]:void 0)||0)}snapToCursor(t){Hn(n=>{const{drag:o}=this.getProps();if(!ks(n,o,this.currentDirection))return;const{projection:u}=this.visualElement,r=this.getAxisMotionValue(n);if(u&&u.layout){const{min:a,max:s}=u.layout.layoutBox[n];r.set(t[n]-dt(a,s,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:t,dragConstraints:n}=this.getProps(),{projection:o}=this.visualElement;if(!Yr(n)||!o||!this.constraints)return;this.stopAnimation();const u={x:0,y:0};Hn(a=>{const s=this.getAxisMotionValue(a);if(s&&this.constraints!==!1){const i=s.get();u[a]=e$({min:i,max:i},this.constraints[a])}});const{transformTemplate:r}=this.visualElement.getProps();this.visualElement.current.style.transform=r?r({},""):"none",o.root&&o.root.updateScroll(),o.updateLayout(),this.resolveConstraints(),Hn(a=>{if(!ks(a,t,null))return;const s=this.getAxisMotionValue(a),{min:i,max:c}=this.constraints[a];s.set(dt(i,c,u[a]))})}addListeners(){if(!this.visualElement.current)return;d$.set(this.visualElement,this);const t=this.visualElement.current,n=la(t,"pointerdown",i=>{const{drag:c,dragListener:l=!0}=this.getProps();c&&l&&this.start(i)}),o=()=>{const{dragConstraints:i}=this.getProps();Yr(i)&&(this.constraints=this.resolveRefConstraints())},{projection:u}=this.visualElement,r=u.addEventListener("measure",o);u&&!u.layout&&(u.root&&u.root.updateScroll(),u.updateLayout()),st.read(o);const a=wi(window,"resize",()=>this.scalePositionWithinConstraints()),s=u.addEventListener("didUpdate",({delta:i,hasLayoutChanged:c})=>{this.isDragging&&c&&(Hn(l=>{const d=this.getAxisMotionValue(l);d&&(this.originPoint[l]+=i[l].translate,d.set(d.get()+i[l].translate))}),this.visualElement.render())});return()=>{a(),n(),r(),s&&s()}}getProps(){const t=this.visualElement.getProps(),{drag:n=!1,dragDirectionLock:o=!1,dragPropagation:u=!1,dragConstraints:r=!1,dragElastic:a=P0,dragMomentum:s=!0}=t;return{...t,drag:n,dragDirectionLock:o,dragPropagation:u,dragConstraints:r,dragElastic:a,dragMomentum:s}}}function ks(e,t,n){return(t===!0||t===e)&&(n===null||n===e)}function p$(e,t=10){let n=null;return Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x"),n}class h$ extends Oo{constructor(t){super(t),this.removeGroupControls=cn,this.removeListeners=cn,this.controls=new f$(t.visualElement)}mount(){const{dragControls:t}=this.state.options;t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||cn}unmount(){this.removeGroupControls(),this.removeListeners()}}let Vr=!1;class m$ extends Oo{constructor(t){super(t),o6(xb),t.getSnapshot=this.getSnapshot.bind(this),t.didUpdate=this.didUpdate.bind(this)}beforeUpdate(t){this.getSnapshot(t,void 0)}update(){this.didUpdate()}didUpdate(){var t,n;Vr&&(this.state.options.layout||this.state.options.layoutId||this.state.options.drag)&&(Vr=!1,(n=(t=this.state.visualElement.projection)==null?void 0:t.root)==null||n.didUpdate())}mount(){var t;const n=this.state.options,o=this.state.options.layoutGroup;if(n.layout||n.layoutId){const u=this.state.visualElement.projection;if(u){u.promote();const r=u.getStack();r?.prevLead&&!r.prevLead.snapshot&&(r.prevLead.willUpdate(),Vr=!0),(t=o?.group)==null||t.add(u)}Vs.hasEverUpdated=!0}this.didUpdate()}beforeUnmount(){this.getSnapshot(this.state.options,!1)}unmount(){const t=this.state.options.layoutGroup,n=this.state.visualElement.projection;n&&(t?.group&&(this.state.options.layout||this.state.options.layoutId)&&t.group.remove(n),this.state.options.layoutId&&(Vr=!0),this.didUpdate())}getSnapshot(t,n){const o=this.state.visualElement.projection,{drag:u,layoutDependency:r,layout:a,layoutId:s}=t;if(!o||!a&&!s&&!u)return;Vr=!0;const i=this.state.options;(u||i.layoutDependency!==r||r===void 0||ir(n)&&o.isPresent!==n)&&o.willUpdate(),ir(n)&&n!==o.isPresent&&(o.isPresent=n,n?o.promote():o.relegate())}}function Pm(e){return(t,n)=>{e&&st.postRender(()=>e(t,n))}}class g$ extends Oo{constructor(){super(...arguments),this.removePointerDownListener=cn}onPointerDown(t){this.session=new Ab(t,this.createPanHandlers(),{transformPagePoint:this.state.visualElement.getTransformPagePoint(),contextWindow:kb(this.state.visualElement)})}createPanHandlers(){return{onSessionStart:Pm((t,n)=>{const{onPanSessionStart:o}=this.state.options;o&&o(t,n)}),onStart:Pm((t,n)=>{const{onPanStart:o}=this.state.options;o&&o(t,n)}),onMove:(t,n)=>{const{onPan:o}=this.state.options;o&&o(t,n)},onEnd:(t,n)=>{const{onPanEnd:o}=this.state.options;delete this.session,o&&st.postRender(()=>o(t,n))}}}mount(){this.removePointerDownListener=la(this.state.element,"pointerdown",this.onPointerDown.bind(this))}update(){}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}const v$=[UL,QL,tq,uq,aq,Kq,g$,h$,m$],y$={reducedMotion:"never",transition:void 0,nonce:void 0},[b$]=Ka("MotionConfig");function E$(){return b$(S(()=>y$))}const C$="data-ap-child",[x$]=Ka("AnimatePresenceContext");function _i(e){if(e)return e.nodeType===3||e.nodeType===8?_i(e.nextSibling):e}const[D$]=Ka("LazyMotionContext");function w$(e){const t=SO(null),n=FO({}),o=E$(),u=x$({}),r=D$({features:L([]),strict:!1}),a=zg();function s(){return n.id&&e.layoutId?`${n.id}-${e.layoutId}`:e.layoutId||void 0}function i(){return{...e,lazyMotionContext:r,layoutId:s(),transition:e.transition??o.value.transition,layoutGroup:n,motionConfig:o.value,inViewOptions:e.inViewOptions??o.value.inViewOptions,animatePresenceContext:u,initial:u.initial===!1?u.initial:e.initial===!0?void 0:e.initial}}function c(){return{...a,...i()}}const l=new jO(c(),t);TO(l);function d(){var p;const m=l.type==="svg",g={...a};Object.keys(a).forEach(y=>{wt(a[y])&&(g[y]=a[y].get())});let E={...e.style,...m?{}:((p=l.visualElement)==null?void 0:p.latestValues)||l.baseTarget};if(m){const{attrs:y,style:v}=tR({...l.isMounted()?l.target:l.baseTarget,...E});(v.transform||y.transformOrigin)&&(v.transformOrigin=y.transformOrigin??"50% 50%",delete y.transformOrigin),v.transform&&(v.transformBox=v.transformBox??"fill-box",delete y.transformBox),Object.assign(g,y),E=v}e.drag&&e.dragListener!==!1&&Object.assign(E,{userSelect:"none",WebkitUserSelect:"none",WebkitTouchCallout:"none",touchAction:e.drag===!0?"none":`pan-${e.drag==="x"?"y":"x"}`});const b=XO(E);return b&&(g.style=b),g}const f=et().proxy;return ji(()=>{l.beforeMount()}),je(()=>{if(l.mount(_i(f.$el),c(),B$(f)),u.register&&l.element){const p=l.element.closest(`[${C$}]`);p?(l.presenceContainer=p,u.register(p,l)):u.registerPending&&u.registerPending(l)}}),Fo(()=>l.beforeUnmount()),en(()=>{u.unregisterPending&&u.unregisterPending(l);const p=_i(f.$el);p?.isConnected||l.unmount()}),Ig(()=>{l.beforeUpdate(c())}),br(()=>{l.update(c())}),{getProps:i,getAttrs:d,layoutGroup:n,state:l}}const A$={ignoreStrict:{type:Boolean},forwardMotionProps:{type:Boolean,default:!1},asChild:{type:Boolean,default:!1},hover:{type:[String,Array,Object]},press:{type:[String,Array,Object]},inView:{type:[String,Array,Object]},focus:{type:[String,Array,Object]},whileDrag:{type:[String,Array,Object]},whileHover:{type:[String,Array,Object],default:({hover:e})=>e},whilePress:{type:[String,Array,Object],default:({press:e})=>e},whileInView:{type:[String,Array,Object],default:({inView:e})=>e},whileFocus:{type:[String,Array,Object],default:({focus:e})=>e},custom:{type:[String,Number,Object,Array]},initial:{type:[String,Array,Object,Boolean],default:void 0},animate:{type:[String,Array,Object],default:void 0},exit:{type:[String,Array,Object]},variants:{type:Object},inherit:{type:Boolean},style:{type:Object},transformTemplate:{type:Function},transition:{type:Object},layoutGroup:{type:Object},motionConfig:{type:Object},onAnimationComplete:{type:Function},onUpdate:{type:Function},layout:{type:[Boolean,String],default:!1},layoutId:{type:String,default:void 0},layoutScroll:{type:Boolean,default:!1},layoutRoot:{type:Boolean,default:!1},"data-framer-portal-id":{type:String},crossfade:{type:Boolean,default:!0},layoutDependency:{type:null,default:void 0},onBeforeLayoutMeasure:{type:Function},onLayoutMeasure:{type:Function},onLayoutAnimationStart:{type:Function},onLayoutAnimationComplete:{type:Function},globalPressTarget:{type:Boolean},onPressStart:{type:Function},onPress:{type:Function},onPressCancel:{type:Function},onHoverStart:{type:Function},onHoverEnd:{type:Function},inViewOptions:{type:Object},onViewportEnter:{type:Function},onViewportLeave:{type:Function},drag:{type:[Boolean,String]},dragSnapToOrigin:{type:Boolean},dragDirectionLock:{type:Boolean},dragPropagation:{type:Boolean},dragConstraints:{type:[Boolean,Object]},dragElastic:{type:[Boolean,Number,Object],default:.5},dragMomentum:{type:Boolean,default:!0},dragTransition:{type:Object},dragListener:{type:Boolean,default:!0},dragControls:{type:Object},onDragStart:{type:Function},onDragEnd:{type:Function},onDrag:{type:Function},onDirectionLock:{type:Function},onDragTransitionEnd:{type:Function},onMeasureDragConstraints:{type:Function},onPanSessionStart:{type:Function},onPanStart:{type:Function},onPan:{type:Function},onPanEnd:{type:Function}};function B$(e){var t;const n=((t=_i(e.$el))==null?void 0:t.style.display)==="none";return e.$.vnode.transition&&n}const _$=new Map,k$=new Map;function S$(e){if(!Array.isArray(e))return[e];const t=[];for(const n of e)Array.isArray(n)?t.push(...n):t.push(n);return t}const T$=["area","img","input"];function F$(e,t,n){var o,u;if(typeof e=="string"&&T$.includes(e))return ze(e,t);if(e==="template"){if(!n.default)return null;const r=S$(n.default()),a=r.findIndex(l=>l.type!==vt);if(a===-1)return r;const s=r[a];(o=s.props)==null||delete o.ref;const i=s.props?G(t,s.props):t;t.class&&((u=s.props)!=null&&u.class)&&delete s.props.class;const c=Sn(s,i);for(const l in i)l.startsWith("on")&&(c.props||(c.props={}),c.props[l]=i[l]);return r.length===1?c:(r[a]=c,r)}return null}function Mm(e,t={}){var n;const o=typeof e=="string",u=o?e:e.name||"",r=((n=t.features)==null?void 0:n.length)>0?_$:k$;if(o&&r?.has(e))return r.get(e);const a=N({inheritAttrs:!1,props:{...A$,features:{type:Object,default:()=>t.features||[]},as:{type:[String,Object],default:e||"div"}},name:u?`motion.${u}`:"Motion",setup(s,{slots:i}){const{getProps:c,getAttrs:l,state:d}=w$(s);function f(){const p=d.element;if((!(typeof s.as=="object")||s.asChild)&&p){const{style:g}=l();if(g)for(const[E,b]of Object.entries(g))p.style[E]=b}}return()=>{const p=c(),m=l(),g=s.asChild?"template":s.as,E={...t.forwardMotionProps||s.forwardMotionProps?p:{},...m,onVnodeUpdated:f},b=F$(g,E,i);return b!==null?b:ze(g,{...E},i)}}});return o&&r?.set(e,a),a}function P$(e=[]){return new Proxy({},{get(t,n){return n==="create"?(o,u)=>Mm(o,{...u,features:e}):Mm(n,{features:e})}})}const zs=P$(v$);zs.create("div");const M$={xmlns:"http://www.w3.org/2000/svg",class:"size-5",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},O$=N({__name:"IconMenuToggle",props:{open:{type:Boolean}},setup(e){const t=e,n={normal:{rotate:0,y:0,opacity:1},close:u=>{const r=u;return{rotate:r===1?45:r===3?-45:0,y:r===1?6:r===3?-6:0,opacity:r===2?0:1,transition:{type:"spring",stiffness:260,damping:20}}}},o=S(()=>t.open?"close":"normal");return(u,r)=>{const a=Jt;return D(),T(a,{size:"sm",variant:"ghost",color:"neutral",class:"-me-1.5",square:""},{default:k(()=>[(D(),le("svg",M$,[z(h(zs).line,{x1:"4",y1:"6",x2:"20",y2:"6",variants:n,animate:h(o),custom:1,class:"outline-none"},null,8,["animate"]),z(h(zs).line,{x1:"4",y1:"12",x2:"20",y2:"12",variants:n,animate:h(o),custom:2,class:"outline-none"},null,8,["animate"]),z(h(zs).line,{x1:"4",y1:"18",x2:"20",y2:"18",variants:n,animate:h(o),custom:3,class:"outline-none"},null,8,["animate"])]))]),_:1})}}}),R$=Object.assign(O$,{__name:"IconMenuToggle"}),I$={slots:{root:"",content:"data-[state=open]:animate-[accordion-down_200ms_ease-out] data-[state=closed]:animate-[accordion-up_200ms_ease-out] overflow-hidden focus:outline-none",list:"isolate -mx-2.5 -mt-1.5",item:"",listWithChildren:"ms-5 border-s border-default",itemWithChildren:"flex flex-col data-[state=open]:mb-1.5",trigger:"font-semibold",link:"group relative w-full px-2.5 py-1.5 before:inset-y-px before:inset-x-0 flex items-center gap-1.5 text-sm before:absolute before:z-[-1] before:rounded-md focus:outline-none focus-visible:outline-none focus-visible:before:ring-inset focus-visible:before:ring-2",linkLeadingIcon:"shrink-0 size-5",linkTrailing:"ms-auto inline-flex gap-1.5 items-center",linkTrailingBadge:"shrink-0",linkTrailingBadgeSize:"sm",linkTrailingIcon:"size-5 transform transition-transform duration-200 shrink-0 group-data-[state=open]:rotate-180",linkTitle:"truncate",linkTitleExternalIcon:"size-3 align-top text-dimmed"},variants:{color:{primary:{trigger:"focus-visible:ring-primary",link:"focus-visible:before:ring-primary"},secondary:{trigger:"focus-visible:ring-secondary",link:"focus-visible:before:ring-secondary"},success:{trigger:"focus-visible:ring-success",link:"focus-visible:before:ring-success"},info:{trigger:"focus-visible:ring-info",link:"focus-visible:before:ring-info"},warning:{trigger:"focus-visible:ring-warning",link:"focus-visible:before:ring-warning"},error:{trigger:"focus-visible:ring-error",link:"focus-visible:before:ring-error"},neutral:{trigger:"focus-visible:ring-inverted",link:"focus-visible:before:ring-inverted"}},highlightColor:{primary:"",secondary:"",success:"",info:"",warning:"",error:"",neutral:""},variant:{pill:"",link:""},active:{true:{link:"font-medium"},false:{link:"text-muted",linkLeadingIcon:"text-dimmed"}},disabled:{true:{trigger:"data-[state=open]:text-highlighted"}},highlight:{true:{}},level:{true:{item:"ps-1.5 -ms-px",itemWithChildren:"ps-1.5 -ms-px"}}},compoundVariants:[{highlight:!0,level:!0,class:{link:["after:absolute after:-left-1.5 after:inset-y-0.5 after:block after:w-px after:rounded-full","after:transition-colors"]}},{disabled:!1,active:!1,variant:"pill",class:{link:["hover:text-highlighted hover:before:bg-elevated/50 data-[state=open]:text-highlighted","transition-colors before:transition-colors"],linkLeadingIcon:["group-hover:text-default group-data-[state=open]:text-default","transition-colors"]}},{color:"primary",variant:"pill",active:!0,class:{link:"text-primary",linkLeadingIcon:"text-primary group-data-[state=open]:text-primary"}},{color:"secondary",variant:"pill",active:!0,class:{link:"text-secondary",linkLeadingIcon:"text-secondary group-data-[state=open]:text-secondary"}},{color:"success",variant:"pill",active:!0,class:{link:"text-success",linkLeadingIcon:"text-success group-data-[state=open]:text-success"}},{color:"info",variant:"pill",active:!0,class:{link:"text-info",linkLeadingIcon:"text-info group-data-[state=open]:text-info"}},{color:"warning",variant:"pill",active:!0,class:{link:"text-warning",linkLeadingIcon:"text-warning group-data-[state=open]:text-warning"}},{color:"error",variant:"pill",active:!0,class:{link:"text-error",linkLeadingIcon:"text-error group-data-[state=open]:text-error"}},{color:"neutral",variant:"pill",active:!0,class:{link:"text-highlighted",linkLeadingIcon:"text-highlighted group-data-[state=open]:text-highlighted"}},{variant:"pill",active:!0,highlight:!1,class:{link:"before:bg-elevated"}},{variant:"pill",active:!0,highlight:!0,disabled:!1,class:{link:["hover:before:bg-elevated/50","before:transition-colors"]}},{disabled:!1,active:!1,variant:"link",class:{link:["hover:text-highlighted data-[state=open]:text-highlighted","transition-colors"],linkLeadingIcon:["group-hover:text-default group-data-[state=open]:text-default","transition-colors"]}},{color:"primary",variant:"link",active:!0,class:{link:"text-primary",linkLeadingIcon:"text-primary group-data-[state=open]:text-primary"}},{color:"secondary",variant:"link",active:!0,class:{link:"text-secondary",linkLeadingIcon:"text-secondary group-data-[state=open]:text-secondary"}},{color:"success",variant:"link",active:!0,class:{link:"text-success",linkLeadingIcon:"text-success group-data-[state=open]:text-success"}},{color:"info",variant:"link",active:!0,class:{link:"text-info",linkLeadingIcon:"text-info group-data-[state=open]:text-info"}},{color:"warning",variant:"link",active:!0,class:{link:"text-warning",linkLeadingIcon:"text-warning group-data-[state=open]:text-warning"}},{color:"error",variant:"link",active:!0,class:{link:"text-error",linkLeadingIcon:"text-error group-data-[state=open]:text-error"}},{color:"neutral",variant:"link",active:!0,class:{link:"text-highlighted",linkLeadingIcon:"text-highlighted group-data-[state=open]:text-highlighted"}},{highlightColor:"primary",highlight:!0,level:!0,active:!0,class:{link:"after:bg-primary"}},{highlightColor:"secondary",highlight:!0,level:!0,active:!0,class:{link:"after:bg-secondary"}},{highlightColor:"success",highlight:!0,level:!0,active:!0,class:{link:"after:bg-success"}},{highlightColor:"info",highlight:!0,level:!0,active:!0,class:{link:"after:bg-info"}},{highlightColor:"warning",highlight:!0,level:!0,active:!0,class:{link:"after:bg-warning"}},{highlightColor:"error",highlight:!0,level:!0,active:!0,class:{link:"after:bg-error"}},{highlightColor:"neutral",highlight:!0,level:!0,active:!0,class:{link:"after:bg-inverted"}}],defaultVariants:{color:"primary",highlightColor:"primary",variant:"pill"}},Sb=Object.assign({inheritAttrs:!1},{__name:"UContentNavigation",props:{as:{type:null,required:!1,default:"nav"},defaultOpen:{type:Boolean,required:!1,default:void 0},trailingIcon:{type:null,required:!1},color:{type:null,required:!1},variant:{type:null,required:!1},highlight:{type:Boolean,required:!1,default:!1},highlightColor:{type:null,required:!1},collapsible:{type:Boolean,required:!1,default:!0},level:{type:Number,required:!1,default:0},navigation:{type:Array,required:!1},class:{type:null,required:!1},ui:{type:Object,required:!1},disabled:{type:Boolean,required:!1},type:{type:String,required:!1,default:"multiple"},unmountOnHide:{type:Boolean,required:!1,default:!0}},emits:["update:modelValue"],setup(e,{emit:t}){const n=e,o=t,u=Ht(),r=Et(fn(n,"collapsible","type","unmountOnHide"),o),a=Fn(),s=qe(),i=Ct("contentNavigation",n),[c,l]=nr(),d=S(()=>Fe({extend:Fe(I$),...s.ui?.contentNavigation||{}})({color:n.color,variant:n.variant,highlight:n.highlight,highlightColor:n.highlightColor||n.color})),f=S(()=>n.disabled||n.type==="multiple"&&n.collapsible===!1);function p(g,E){return g.children?.length?g.children.some(b=>p(b,E)):E===g.path}const m=S(()=>{if(n.defaultOpen===!1)return;if(n.defaultOpen===void 0)return n.type==="single"?"0":n.navigation?.map((E,b)=>E.defaultOpen!==!1&&String(b)).filter(Boolean);const g=n.navigation?.reduce((E,b,y)=>(p(b,a.path)&&E.push(String(y)),E),[])||[];return n.type==="multiple"?g:g[0]});return(g,E)=>(D(),le(Se,null,[z(h(c),null,{default:k(({link:b,active:y})=>[M(g.$slots,"link",{link:b,active:y,ui:d.value},()=>[M(g.$slots,"link-leading",{link:b,active:y,ui:d.value},()=>[b.icon?(D(),T(vn,{key:0,name:b.icon,"data-slot":"linkLeadingIcon",class:oe(d.value.linkLeadingIcon({class:[h(i)?.linkLeadingIcon,b.ui?.linkLeadingIcon],active:y}))},null,8,["name","class"])):ue("",!0)]),b.title||u["link-title"]?(D(),le("span",{key:0,"data-slot":"linkTitle",class:oe(d.value.linkTitle({class:[h(i)?.linkTitle,b.ui?.linkTitle],active:y}))},[M(g.$slots,"link-title",{link:b,active:y,ui:d.value},()=>[Qe(Me(b.title),1)]),b.target==="_blank"?(D(),T(vn,{key:0,name:h(s).ui.icons.external,"data-slot":"linkTitleExternalIcon",class:oe(d.value.linkTitleExternalIcon({class:[h(i)?.linkTitleExternalIcon,b.ui?.linkTitleExternalIcon],active:y}))},null,8,["name","class"])):ue("",!0)],2)):ue("",!0),b.badge||b.badge===0||b.children?.length&&!f.value||b.trailingIcon||u["link-trailing"]?(D(),le("span",{key:1,"data-slot":"linkTrailing",class:oe(d.value.linkTrailing({class:[h(i)?.linkTrailing,b.ui?.linkTrailing]}))},[M(g.$slots,"link-trailing",{link:b,active:y,ui:d.value},()=>[b.badge||b.badge===0?(D(),T(Ky,G({key:0,color:"neutral",variant:"outline",size:h(i)?.linkTrailingBadgeSize||d.value.linkTrailingBadgeSize()},typeof b.badge=="string"||typeof b.badge=="number"?{label:b.badge}:b.badge,{"data-slot":"linkTrailingBadge",class:d.value.linkTrailingBadge({class:h(i)?.linkTrailingBadge})}),null,16,["size","class"])):ue("",!0),b.children?.length&&!f.value?(D(),T(vn,{key:1,name:b.trailingIcon||e.trailingIcon||h(s).ui.icons.chevronDown,"data-slot":"linkTrailingIcon",class:oe(d.value.linkTrailingIcon({class:[h(i)?.linkTrailingIcon,b.ui?.linkTrailingIcon]}))},null,8,["name","class"])):b.trailingIcon?(D(),T(vn,{key:2,name:b.trailingIcon,"data-slot":"linkTrailingIcon",class:oe(d.value.linkTrailingIcon({class:[h(i)?.linkTrailingIcon,b.ui?.linkTrailingIcon]}))},null,8,["name","class"])):ue("",!0)])],2)):ue("",!0)])]),_:3}),z(h(Ae),G({as:e.as},g.$attrs,{"as-child":e.level>0,"data-slot":"root",class:d.value.root({class:[h(i)?.root,n.class]})}),{default:k(()=>[z(h(K_),G({as:"ul",disabled:f.value},h(r),{"default-value":m.value,class:e.level>0?d.value.listWithChildren({class:h(i)?.listWithChildren}):d.value.list({class:h(i)?.list})}),{default:k(()=>[(D(!0),le(Se,null,dn(e.navigation,(b,y)=>(D(),le(Se,{key:y},[b.children?.length?(D(),T(h(Y_),{key:0,as:"li",disabled:!!b.disabled,"data-slot":"itemWithChildren",class:oe(d.value.itemWithChildren({class:[h(i)?.itemWithChildren,b.ui?.itemWithChildren],level:e.level>0})),value:String(y)},{default:k(()=>[z(h(Q_),{as:"button",class:oe([d.value.link({class:[h(i)?.link,b.ui?.link,b.class],active:b.active,disabled:!!b.disabled||f.value}),d.value.trigger({class:[h(i)?.trigger,b.ui?.trigger],disabled:!!b.disabled||f.value})])},{default:k(()=>[z(h(l),{link:b,active:b.active||!1},null,8,["link","active"])]),_:2},1032,["class"]),z(h(X_),{"data-slot":"content",class:oe(d.value.content({class:[h(i)?.content,b.ui?.content]}))},{default:k(()=>[z(Sb,G({ref_for:!0},h(r),{navigation:b.children,"default-open":e.defaultOpen,level:e.level+1,"trailing-icon":e.trailingIcon,color:e.color,variant:e.variant,highlight:e.highlight,"highlight-color":e.highlightColor,ui:h(i)}),jg({_:2},[dn(u,(v,C)=>({name:C,fn:k(x=>[M(g.$slots,C,G({ref_for:!0},{...x,link:x.link}))])}))]),1040,["navigation","default-open","level","trailing-icon","color","variant","highlight","highlight-color","ui"])]),_:2},1032,["class"])]),_:2},1032,["disabled","class","value"])):(D(),le("li",{key:1,"data-slot":"item",class:oe(d.value.item({class:[h(i)?.item,b.ui?.item],level:e.level>0}))},[z(Xd,G({ref_for:!0},h(My)(h(dy)(b)),{custom:""}),{default:k(({active:v,...C})=>[z(Zd,G({ref_for:!0},C,{"data-slot":"link",class:d.value.link({class:[h(i)?.link,b.ui?.link,b.class],active:v,disabled:!!b.disabled,level:e.level>0})}),{default:k(()=>[z(h(l),{link:b,active:v},null,8,["link","active"])]),_:2},1040,["class"])]),_:2},1040)],2))],64))),128))]),_:3},16,["disabled","default-value","class"])]),_:3},16,["as","as-child","class"])],64))}}),L$=N({__name:"AppHeaderBody",setup(e){const t=Ve("navigation");return(n,o)=>{const u=Sb;return D(),T(u,{highlight:"",variant:"link",navigation:h(t)},null,8,["navigation"])}}}),q$=Object.assign(L$,{__name:"AppHeaderBody"}),$$={base:"w-full max-w-(--ui-container) mx-auto px-4 sm:px-6 lg:px-8"},Tb={__name:"UContainer",props:{as:{type:null,required:!1},class:{type:null,required:!1},ui:{type:Object,required:!1}},setup(e){const t=e,n=qe(),o=Ct("container",t),u=S(()=>Fe({extend:Fe($$),...n.ui?.container||{}}));return(r,a)=>(D(),T(h(Ae),{as:e.as,class:oe(u.value({class:[h(o)?.base,t.class]}))},{default:k(()=>[M(r.$slots,"default")]),_:3},8,["as","class"]))}},N$={slots:{overlay:"fixed inset-0 bg-elevated/75",content:"fixed bg-default divide-y divide-default sm:ring ring-default sm:shadow-lg flex flex-col focus:outline-none",header:"flex items-center gap-1.5 p-4 sm:px-6 min-h-(--ui-header-height)",wrapper:"",body:"flex-1 overflow-y-auto p-4 sm:p-6",footer:"flex items-center gap-1.5 p-4 sm:px-6",title:"text-highlighted font-semibold",description:"mt-1 text-muted text-sm",close:"absolute top-4 end-4"},variants:{side:{top:{content:""},right:{content:"max-w-md"},bottom:{content:""},left:{content:"max-w-md"}},inset:{true:{content:"rounded-lg"}},transition:{true:{overlay:"data-[state=open]:animate-[fade-in_200ms_ease-out] data-[state=closed]:animate-[fade-out_200ms_ease-in]"}}},compoundVariants:[{side:"top",inset:!0,class:{content:"max-h-[calc(100%-2rem)] inset-x-4 top-4"}},{side:"top",inset:!1,class:{content:"max-h-full inset-x-0 top-0"}},{side:"right",inset:!0,class:{content:"w-[calc(100%-2rem)] inset-y-4 right-4"}},{side:"right",inset:!1,class:{content:"w-full inset-y-0 right-0"}},{side:"bottom",inset:!0,class:{content:"max-h-[calc(100%-2rem)] inset-x-4 bottom-4"}},{side:"bottom",inset:!1,class:{content:"max-h-full inset-x-0 bottom-0"}},{side:"left",inset:!0,class:{content:"w-[calc(100%-2rem)] inset-y-4 left-4"}},{side:"left",inset:!1,class:{content:"w-full inset-y-0 left-0"}},{transition:!0,side:"top",class:{content:"data-[state=open]:animate-[slide-in-from-top_200ms_ease-in-out] data-[state=closed]:animate-[slide-out-to-top_200ms_ease-in-out]"}},{transition:!0,side:"right",class:{content:"data-[state=open]:animate-[slide-in-from-right_200ms_ease-in-out] data-[state=closed]:animate-[slide-out-to-right_200ms_ease-in-out]"}},{transition:!0,side:"bottom",class:{content:"data-[state=open]:animate-[slide-in-from-bottom_200ms_ease-in-out] data-[state=closed]:animate-[slide-out-to-bottom_200ms_ease-in-out]"}},{transition:!0,side:"left",class:{content:"data-[state=open]:animate-[slide-in-from-left_200ms_ease-in-out] data-[state=closed]:animate-[slide-out-to-left_200ms_ease-in-out]"}}]},j$={__name:"USlideover",props:{title:{type:String,required:!1},description:{type:String,required:!1},content:{type:Object,required:!1},overlay:{type:Boolean,required:!1,default:!0},transition:{type:Boolean,required:!1,default:!0},side:{type:null,required:!1,default:"right"},inset:{type:Boolean,required:!1},portal:{type:[Boolean,String],required:!1,skipCheck:!0,default:!0},close:{type:[Boolean,Object],required:!1,default:!0},closeIcon:{type:null,required:!1},dismissible:{type:Boolean,required:!1,default:!0},class:{type:null,required:!1},ui:{type:Object,required:!1},open:{type:Boolean,required:!1},defaultOpen:{type:Boolean,required:!1},modal:{type:Boolean,required:!1,default:!0}},emits:["after:leave","after:enter","close:prevent","update:open"],setup(e,{emit:t}){const n=e,o=t,u=Ht(),{t:r}=eu(),a=qe(),s=Ct("slideover",n),i=Et(fn(n,"open","defaultOpen","modal"),o),c=Sr(at(()=>n.portal)),l=at(()=>n.content),d=S(()=>n.dismissible?{pointerDownOutside:fl}:["interactOutside","escapeKeyDown"].reduce((m,g)=>(m[g]=E=>{E.preventDefault(),o("close:prevent")},m),{})),f=S(()=>Fe({extend:Fe(N$),...a.ui?.slideover||{}})({transition:n.transition,side:n.side,inset:n.inset}));return(p,m)=>(D(),T(h(Ad),De(ke(h(i))),{default:k(({open:g,close:E})=>[u.default?(D(),T(h(Pd),{key:0,"as-child":"",class:oe(n.class)},{default:k(()=>[M(p.$slots,"default",{open:g})]),_:2},1032,["class"])):ue("",!0),z(h(Fd),De(ke(h(c))),{default:k(()=>[e.overlay?(D(),T(h(di),{key:0,"data-slot":"overlay",class:oe(f.value.overlay({class:h(s)?.overlay}))},null,8,["class"])):ue("",!0),z(h(Td),G({"data-side":e.side,"data-slot":"content",class:f.value.content({class:[!u.default&&n.class,h(s)?.content]})},l.value,{onAfterEnter:m[0]||(m[0]=b=>o("after:enter")),onAfterLeave:m[1]||(m[1]=b=>o("after:leave"))},Oa(d.value)),{default:k(()=>[u.content&&(e.title||u.title||e.description||u.description)?(D(),T(h(Br),{key:0},{default:k(()=>[e.title||u.title?(D(),T(h(dr),{key:0},{default:k(()=>[M(p.$slots,"title",{},()=>[Qe(Me(e.title),1)])]),_:3})):ue("",!0),e.description||u.description?(D(),T(h(cr),{key:1},{default:k(()=>[M(p.$slots,"description",{},()=>[Qe(Me(e.description),1)])]),_:3})):ue("",!0)]),_:3})):ue("",!0),M(p.$slots,"content",{close:E},()=>[u.header||e.title||u.title||e.description||u.description||n.close||u.close?(D(),le("div",{key:0,"data-slot":"header",class:oe(f.value.header({class:h(s)?.header}))},[M(p.$slots,"header",{close:E},()=>[tt("div",{"data-slot":"wrapper",class:oe(f.value.wrapper({class:h(s)?.wrapper}))},[e.title||u.title?(D(),T(h(dr),{key:0,"data-slot":"title",class:oe(f.value.title({class:h(s)?.title}))},{default:k(()=>[M(p.$slots,"title",{},()=>[Qe(Me(e.title),1)])]),_:3},8,["class"])):ue("",!0),e.description||u.description?(D(),T(h(cr),{key:1,"data-slot":"description",class:oe(f.value.description({class:h(s)?.description}))},{default:k(()=>[M(p.$slots,"description",{},()=>[Qe(Me(e.description),1)])]),_:3},8,["class"])):ue("",!0)],2),M(p.$slots,"actions"),n.close||u.close?(D(),T(h(R1),{key:0,"as-child":""},{default:k(()=>[M(p.$slots,"close",{ui:f.value},()=>[n.close?(D(),T(Jt,G({key:0,icon:e.closeIcon||h(a).ui.icons.close,color:"neutral",variant:"ghost","aria-label":h(r)("slideover.close")},typeof n.close=="object"?n.close:{},{"data-slot":"close",class:f.value.close({class:h(s)?.close})}),null,16,["icon","aria-label","class"])):ue("",!0)])]),_:2},1024)):ue("",!0)])],2)):ue("",!0),tt("div",{"data-slot":"body",class:oe(f.value.body({class:h(s)?.body}))},[M(p.$slots,"body",{close:E})],2),u.footer?(D(),le("div",{key:1,"data-slot":"footer",class:oe(f.value.footer({class:h(s)?.footer}))},[M(p.$slots,"footer",{close:E})],2)):ue("",!0)])]),_:2},1040,["data-side","class"])]),_:2},1040)]),_:3},16))}},V$={slots:{overlay:"fixed inset-0",content:"bg-default divide-y divide-default flex flex-col focus:outline-none",header:"flex items-center gap-1.5 p-4 sm:px-6 min-h-(--ui-header-height)",wrapper:"",body:"flex-1 p-4 sm:p-6",footer:"flex items-center gap-1.5 p-4 sm:px-6",title:"text-highlighted font-semibold",description:"mt-1 text-muted text-sm",close:"absolute top-4 end-4"},variants:{transition:{true:{overlay:"data-[state=open]:animate-[fade-in_200ms_ease-out] data-[state=closed]:animate-[fade-out_200ms_ease-in]",content:"data-[state=open]:animate-[scale-in_200ms_ease-out] data-[state=closed]:animate-[scale-out_200ms_ease-in]"}},fullscreen:{true:{content:"inset-0"},false:{content:"w-[calc(100vw-2rem)] max-w-lg rounded-lg shadow-lg ring ring-default"}},overlay:{true:{overlay:"bg-elevated/75"}},scrollable:{true:{overlay:"overflow-y-auto",content:"relative"},false:{content:"fixed",body:"overflow-y-auto"}}},compoundVariants:[{scrollable:!0,fullscreen:!1,class:{overlay:"grid place-items-center p-4 sm:py-8"}},{scrollable:!1,fullscreen:!1,class:{content:"top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 max-h-[calc(100dvh-2rem)] sm:max-h-[calc(100dvh-4rem)] overflow-hidden"}}]},z$={__name:"UModal",props:{title:{type:String,required:!1},description:{type:String,required:!1},content:{type:Object,required:!1},overlay:{type:Boolean,required:!1,default:!0},scrollable:{type:Boolean,required:!1},transition:{type:Boolean,required:!1,default:!0},fullscreen:{type:Boolean,required:!1},portal:{type:[Boolean,String],required:!1,skipCheck:!0,default:!0},close:{type:[Boolean,Object],required:!1,default:!0},closeIcon:{type:null,required:!1},dismissible:{type:Boolean,required:!1,default:!0},class:{type:null,required:!1},ui:{type:Object,required:!1},open:{type:Boolean,required:!1},defaultOpen:{type:Boolean,required:!1},modal:{type:Boolean,required:!1,default:!0}},emits:["after:leave","after:enter","close:prevent","update:open"],setup(e,{emit:t}){const n=e,o=t,u=Ht(),{t:r}=eu(),a=qe(),s=Ct("modal",n),i=Et(fn(n,"open","defaultOpen","modal"),o),c=Sr(at(()=>n.portal)),l=at(()=>n.content),d=S(()=>n.dismissible?{pointerDownOutside:g=>fl(g,{scrollable:n.scrollable})}:["interactOutside","escapeKeyDown"].reduce((E,b)=>(E[b]=y=>{y.preventDefault(),o("close:prevent")},E),{})),[f,p]=nr(),m=S(()=>Fe({extend:Fe(V$),...a.ui?.modal||{}})({transition:n.transition,fullscreen:n.fullscreen,overlay:n.overlay,scrollable:n.scrollable}));return(g,E)=>(D(),T(h(Ad),De(ke(h(i))),{default:k(({open:b,close:y})=>[z(h(f),null,{default:k(()=>[z(h(Td),G({"data-slot":"content",class:m.value.content({class:[!u.default&&n.class,h(s)?.content]})},l.value,{onAfterEnter:E[0]||(E[0]=v=>o("after:enter")),onAfterLeave:E[1]||(E[1]=v=>o("after:leave"))},Oa(d.value)),{default:k(()=>[u.content&&(e.title||u.title||e.description||u.description)?(D(),T(h(Br),{key:0},{default:k(()=>[e.title||u.title?(D(),T(h(dr),{key:0},{default:k(()=>[M(g.$slots,"title",{},()=>[Qe(Me(e.title),1)])]),_:3})):ue("",!0),e.description||u.description?(D(),T(h(cr),{key:1},{default:k(()=>[M(g.$slots,"description",{},()=>[Qe(Me(e.description),1)])]),_:3})):ue("",!0)]),_:3})):ue("",!0),M(g.$slots,"content",{close:y},()=>[u.header||e.title||u.title||e.description||u.description||n.close||u.close?(D(),le("div",{key:0,"data-slot":"header",class:oe(m.value.header({class:h(s)?.header}))},[M(g.$slots,"header",{close:y},()=>[tt("div",{"data-slot":"wrapper",class:oe(m.value.wrapper({class:h(s)?.wrapper}))},[e.title||u.title?(D(),T(h(dr),{key:0,"data-slot":"title",class:oe(m.value.title({class:h(s)?.title}))},{default:k(()=>[M(g.$slots,"title",{},()=>[Qe(Me(e.title),1)])]),_:3},8,["class"])):ue("",!0),e.description||u.description?(D(),T(h(cr),{key:1,"data-slot":"description",class:oe(m.value.description({class:h(s)?.description}))},{default:k(()=>[M(g.$slots,"description",{},()=>[Qe(Me(e.description),1)])]),_:3},8,["class"])):ue("",!0)],2),M(g.$slots,"actions"),n.close||u.close?(D(),T(h(R1),{key:0,"as-child":""},{default:k(()=>[M(g.$slots,"close",{ui:m.value},()=>[n.close?(D(),T(Jt,G({key:0,icon:e.closeIcon||h(a).ui.icons.close,color:"neutral",variant:"ghost","aria-label":h(r)("modal.close")},typeof n.close=="object"?n.close:{},{"data-slot":"close",class:m.value.close({class:h(s)?.close})}),null,16,["icon","aria-label","class"])):ue("",!0)])]),_:2},1024)):ue("",!0)])],2)):ue("",!0),u.body?(D(),le("div",{key:1,"data-slot":"body",class:oe(m.value.body({class:h(s)?.body}))},[M(g.$slots,"body",{close:y})],2)):ue("",!0),u.footer?(D(),le("div",{key:2,"data-slot":"footer",class:oe(m.value.footer({class:h(s)?.footer}))},[M(g.$slots,"footer",{close:y})],2)):ue("",!0)])]),_:2},1040,["class"])]),_:2},1024),u.default?(D(),T(h(Pd),{key:0,"as-child":"",class:oe(n.class)},{default:k(()=>[M(g.$slots,"default",{open:b})]),_:2},1032,["class"])):ue("",!0),z(h(Fd),De(ke(h(c))),{default:k(()=>[e.scrollable?(D(),T(h(di),{key:0,"data-slot":"overlay",class:oe(m.value.overlay({class:h(s)?.overlay}))},{default:k(()=>[z(h(p))]),_:1},8,["class"])):(D(),le(Se,{key:1},[e.overlay?(D(),T(h(di),{key:0,"data-slot":"overlay",class:oe(m.value.overlay({class:h(s)?.overlay}))},null,8,["class"])):ue("",!0),z(h(p))],64))]),_:1},16)]),_:3},16))}};(function(){var e;try{if(typeof document<"u"){var t=document.createElement("style");t.nonce=(e=document.head.querySelector("meta[property=csp-nonce]"))==null?void 0:e.content,t.appendChild(document.createTextNode('[data-vaul-drawer]{touch-action:none;will-change:transform;transition:transform .5s cubic-bezier(.32,.72,0,1);animation-duration:.5s;animation-timing-function:cubic-bezier(.32,.72,0,1)}[data-vaul-drawer][data-vaul-snap-points=false][data-vaul-drawer-direction=bottom][data-state=open]{animation-name:slideFromBottom}[data-vaul-drawer][data-vaul-snap-points=false][data-vaul-drawer-direction=bottom][data-state=closed]{animation-name:slideToBottom}[data-vaul-drawer][data-vaul-snap-points=false][data-vaul-drawer-direction=top][data-state=open]{animation-name:slideFromTop}[data-vaul-drawer][data-vaul-snap-points=false][data-vaul-drawer-direction=top][data-state=closed]{animation-name:slideToTop}[data-vaul-drawer][data-vaul-snap-points=false][data-vaul-drawer-direction=left][data-state=open]{animation-name:slideFromLeft}[data-vaul-drawer][data-vaul-snap-points=false][data-vaul-drawer-direction=left][data-state=closed]{animation-name:slideToLeft}[data-vaul-drawer][data-vaul-snap-points=false][data-vaul-drawer-direction=right][data-state=open]{animation-name:slideFromRight}[data-vaul-drawer][data-vaul-snap-points=false][data-vaul-drawer-direction=right][data-state=closed]{animation-name:slideToRight}[data-vaul-drawer][data-vaul-snap-points=true][data-vaul-drawer-direction=bottom]{transform:translate3d(0,var(--initial-transform, 100%),0)}[data-vaul-drawer][data-vaul-snap-points=true][data-vaul-drawer-direction=top]{transform:translate3d(0,calc(var(--initial-transform, 100%) * -1),0)}[data-vaul-drawer][data-vaul-snap-points=true][data-vaul-drawer-direction=left]{transform:translate3d(calc(var(--initial-transform, 100%) * -1),0,0)}[data-vaul-drawer][data-vaul-snap-points=true][data-vaul-drawer-direction=right]{transform:translate3d(var(--initial-transform, 100%),0,0)}[data-vaul-drawer][data-vaul-delayed-snap-points=true][data-vaul-drawer-direction=top],[data-vaul-drawer][data-vaul-delayed-snap-points=true][data-vaul-drawer-direction=bottom]{transform:translate3d(0,var(--snap-point-height, 0),0)}[data-vaul-drawer][data-vaul-delayed-snap-points=true][data-vaul-drawer-direction=left],[data-vaul-drawer][data-vaul-delayed-snap-points=true][data-vaul-drawer-direction=right]{transform:translate3d(var(--snap-point-height, 0),0,0)}[data-vaul-overlay][data-vaul-snap-points=false]{animation-duration:.5s;animation-timing-function:cubic-bezier(.32,.72,0,1)}[data-vaul-overlay][data-vaul-snap-points=false][data-state=open]{animation-name:fadeIn}[data-vaul-overlay][data-state=closed]{animation-name:fadeOut}[data-vaul-animate=false]{animation:none!important}[data-vaul-overlay][data-vaul-snap-points=true]{opacity:0;transition:opacity .5s cubic-bezier(.32,.72,0,1)}[data-vaul-overlay][data-vaul-snap-points=true]{opacity:1}[data-vaul-drawer]:not([data-vaul-custom-container=true]):after{content:"";position:absolute;background:inherit;background-color:inherit}[data-vaul-drawer][data-vaul-drawer-direction=top]:after{top:initial;bottom:100%;left:0;right:0;height:200%}[data-vaul-drawer][data-vaul-drawer-direction=bottom]:after{top:100%;bottom:initial;left:0;right:0;height:200%}[data-vaul-drawer][data-vaul-drawer-direction=left]:after{left:initial;right:100%;top:0;bottom:0;width:200%}[data-vaul-drawer][data-vaul-drawer-direction=right]:after{left:100%;right:initial;top:0;bottom:0;width:200%}[data-vaul-overlay][data-vaul-snap-points=true]:not([data-vaul-snap-points-overlay=true]):not([data-state=closed]){opacity:0}[data-vaul-overlay][data-vaul-snap-points-overlay=true]{opacity:1}[data-vaul-handle]{display:block;position:relative;opacity:.7;background:#e2e2e4;margin-left:auto;margin-right:auto;height:5px;width:32px;border-radius:1rem;touch-action:pan-y}[data-vaul-handle]:hover,[data-vaul-handle]:active{opacity:1}[data-vaul-handle-hitarea]{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:max(100%,2.75rem);height:max(100%,2.75rem);touch-action:inherit}@media (hover: hover) and (pointer: fine){[data-vaul-drawer]{-webkit-user-select:none;user-select:none}}@media (pointer: fine){[data-vaul-handle-hitarea]:{width:100%;height:100%}}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes fadeOut{to{opacity:0}}@keyframes slideFromBottom{0%{transform:translate3d(0,var(--initial-transform, 100%),0)}to{transform:translateZ(0)}}@keyframes slideToBottom{to{transform:translate3d(0,var(--initial-transform, 100%),0)}}@keyframes slideFromTop{0%{transform:translate3d(0,calc(var(--initial-transform, 100%) * -1),0)}to{transform:translateZ(0)}}@keyframes slideToTop{to{transform:translate3d(0,calc(var(--initial-transform, 100%) * -1),0)}}@keyframes slideFromLeft{0%{transform:translate3d(calc(var(--initial-transform, 100%) * -1),0,0)}to{transform:translateZ(0)}}@keyframes slideToLeft{to{transform:translate3d(calc(var(--initial-transform, 100%) * -1),0,0)}}@keyframes slideFromRight{0%{transform:translate3d(var(--initial-transform, 100%),0,0)}to{transform:translateZ(0)}}@keyframes slideToRight{to{transform:translate3d(var(--initial-transform, 100%),0,0)}}')),document.head.appendChild(t)}}catch(n){console.error("vite-plugin-css-injected-by-js",n)}})();const U$=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const H$=e=>typeof e<"u";function K$(e){return JSON.parse(JSON.stringify(e))}function Om(e,t,n,o={}){var u,r,a;const{clone:s=!1,passive:i=!1,eventName:c,deep:l=!1,defaultValue:d,shouldEmit:f}=o,p=et(),m=n||p?.emit||((u=p?.$emit)==null?void 0:u.bind(p))||((a=(r=p?.proxy)==null?void 0:r.$emit)==null?void 0:a.bind(p?.proxy));let g=c;t||(t="modelValue"),g=g||`update:${t.toString()}`;const E=v=>s?typeof s=="function"?s(v):K$(v):v,b=()=>H$(e[t])?E(e[t]):d,y=v=>{f?f(v)&&m(g,v):m(g,v)};if(i){const v=b(),C=L(v);let x=!1;return Ce(()=>e[t],w=>{x||(x=!0,C.value=E(w),He(()=>x=!1))}),Ce(C,w=>{!x&&(w!==e[t]||l)&&y(w)},{deep:l}),C}else return S({get(){return b()},set(v){y(v)}})}const[Za,W$]=lt("DrawerRoot"),Fb=new WeakMap;function Pt(e,t,n=!1){if(!e||!(e instanceof HTMLElement)||!t)return;const o={};Object.entries(t).forEach(([u,r])=>{if(u.startsWith("--")){e.style.setProperty(u,r);return}o[u]=e.style[u],e.style[u]=r}),!n&&Fb.set(e,o)}function G$(e,t){if(!e||!(e instanceof HTMLElement))return;const n=Fb.get(e);n&&Object.entries(n).forEach(([o,u])=>{e.style[o]=u})}function Ss(e,t){const n=window.getComputedStyle(e),o=n.transform||n.webkitTransform||n.mozTransform;let u=o.match(/^matrix3d\((.+)\)$/);return u?Number.parseFloat(u[1].split(", ")[xt(t)?13:12]):(u=o.match(/^matrix\((.+)\)$/),u?Number.parseFloat(u[1].split(", ")[xt(t)?5:4]):null)}function Y$(e){return 8*(Math.log(e+1)-2)}function xt(e){switch(e){case"top":case"bottom":return!0;case"left":case"right":return!1;default:return e}}function dc(e,t){if(!e)return()=>{};const n=e.style.cssText;return Object.assign(e.style,t),()=>{e.style.cssText=n}}function Z$(...e){return(...t)=>{for(const n of e)typeof n=="function"&&n(...t)}}const ht={DURATION:.5,EASE:[.32,.72,0,1]},Pb=.4,X$=.25,J$=100,Mb=8,Ts=16,Ob=26,Rm="vaul-dragging";function Q$({activeSnapPoint:e,snapPoints:t,drawerRef:n,overlayRef:o,fadeFromIndex:u,onSnapPointChange:r,direction:a}){const s=L(typeof window<"u"?{innerWidth:window.innerWidth,innerHeight:window.innerHeight}:void 0);function i(){s.value={innerWidth:window.innerWidth,innerHeight:window.innerHeight}}je(()=>{typeof window<"u"&&window.addEventListener("resize",i)}),Fo(()=>{typeof window<"u"&&window.removeEventListener("resize",i)});const c=S(()=>(t.value&&e.value===t.value[t.value.length-1])??null),l=S(()=>t.value&&t.value.length>0&&(u?.value||u?.value===0)&&!Number.isNaN(u?.value)&&t.value[u?.value??-1]===e.value||!t.value),d=S(()=>{var y;return((y=t.value)==null?void 0:y.findIndex(v=>v===e.value))??null}),f=S(()=>{var y;return((y=t.value)==null?void 0:y.map(v=>{const C=typeof v=="string";let x=0;if(C&&(x=Number.parseInt(v,10)),xt(a.value)){const B=C?x:s.value?v*s.value.innerHeight:0;return s.value?a.value==="bottom"?s.value.innerHeight-B:-s.value.innerHeight+B:B}const w=C?x:s.value?v*s.value.innerWidth:0;return s.value?a.value==="right"?s.value.innerWidth-w:-s.value.innerWidth+w:w}))??[]}),p=S(()=>{var y;return d.value!==null?(y=f.value)==null?void 0:y[d.value]:null}),m=y=>{var v,C,x,w;const B=((v=f.value)==null?void 0:v.findIndex(_=>_===y))??null;He(()=>{var _;r(B,f.value),Pt((_=n.value)==null?void 0:_.$el,{transition:`transform ${ht.DURATION}s cubic-bezier(${ht.EASE.join(",")})`,transform:xt(a.value)?`translate3d(0, ${y}px, 0)`:`translate3d(${y}px, 0, 0)`})}),f.value&&B!==f.value.length-1&&B!==u?.value?Pt((C=o.value)==null?void 0:C.$el,{transition:`opacity ${ht.DURATION}s cubic-bezier(${ht.EASE.join(",")})`,opacity:"0"}):Pt((x=o.value)==null?void 0:x.$el,{transition:`opacity ${ht.DURATION}s cubic-bezier(${ht.EASE.join(",")})`,opacity:"1"}),e.value=B!==null?((w=t.value)==null?void 0:w[B])??null:null};Ce([e,f,t],()=>{var y;if(e.value){const v=((y=t.value)==null?void 0:y.findIndex(C=>C===e.value))??-1;f.value&&v!==-1&&typeof f.value[v]=="number"&&m(f.value[v])}},{immediate:!0});function g({draggedDistance:y,closeDrawer:v,velocity:C,dismissible:x}){var w,B,_;if(u.value===void 0)return;const F=a.value==="bottom"||a.value==="right"?(p.value??0)-y:(p.value??0)+y,R=d.value===u.value-1,Z=d.value===0,q=y>0;if(R&&Pt((w=o.value)==null?void 0:w.$el,{transition:`opacity ${ht.DURATION}s cubic-bezier(${ht.EASE.join(",")})`}),C>2&&!q){x?v():m(f.value[0]);return}if(C>2&&q&&f&&t.value){m(f.value[t.value.length-1]);return}const Q=(B=f.value)==null?void 0:B.reduce((I,O)=>typeof I!="number"||typeof O!="number"?I:Math.abs(O-F)Pb&&Math.abs(y)0&&c){m(f.value[(((_=t.value)==null?void 0:_.length)??0)-1]);return}if(Z&&I<0&&x&&v(),d.value===null)return;m(f.value[d.value+I]);return}m(Q)}function E({draggedDistance:y}){var v;if(p.value===null)return;const C=a.value==="bottom"||a.value==="right"?p.value-y:p.value+y;(a.value==="bottom"||a.value==="right")&&Cf.value[f.value.length-1]||Pt((v=n.value)==null?void 0:v.$el,{transform:xt(a.value)?`translate3d(0, ${C}px, 0)`:`translate3d(${C}px, 0, 0)`})}function b(y,v){if(!t.value||typeof d.value!="number"||!f.value||u.value===void 0)return null;const C=d.value===u.value-1;if(d.value>=u.value&&v)return 0;if(C&&!v)return 1;if(!l.value&&!C)return null;const x=C?d.value+1:d.value-1,w=C?f.value[x]-f.value[x-1]:f.value[x+1]-f.value[x],B=y/Math.abs(w);return C?1-B:B}return{isLastSnapPoint:c,shouldFade:l,getPercentageDragged:b,activeSnapPointIndex:d,onRelease:g,onDrag:E,snapPointsOffset:f}}function Im(){return/^((?!chrome|android).)*safari/i.test(navigator.userAgent)}let zr=null;function eN(e){const{isOpen:t,modal:n,nested:o,hasBeenOpened:u,preventScrollRestoration:r,noBodyStyles:a}=e,s=L(typeof window<"u"?window.location.href:""),i=L(0);function c(){if(Im()&&zr===null&&t.value&&!a.value){zr={position:document.body.style.position,top:document.body.style.top,left:document.body.style.left,height:document.body.style.height};const{scrollX:d,innerHeight:f}=window;document.body.style.setProperty("position","fixed","important"),Object.assign(document.body.style,{top:`${-i.value}px`,left:`${-d}px`,right:"0px",height:"auto"}),setTimeout(()=>{requestAnimationFrame(()=>{const p=f-window.innerHeight;p&&i.value>=f&&(document.body.style.top=`-${i.value+p}px`)})},300)}}function l(){if(Im()&&zr!==null&&!a.value){const d=-Number.parseInt(document.body.style.top,10),f=-Number.parseInt(document.body.style.left,10);Object.assign(document.body.style,zr),window.requestAnimationFrame(()=>{if(r.value&&s.value!==window.location.href){s.value=window.location.href;return}window.scrollTo(f,d)}),zr=null}}return je(()=>{function d(){i.value=window.scrollY}d(),window.addEventListener("scroll",d),en(()=>{window.removeEventListener("scroll",d)})}),Ce([t,u,s],()=>{o.value||!u.value||(t.value?(window.matchMedia("(display-mode: standalone)").matches||c(),n.value||setTimeout(()=>{l()},500)):l())}),{restorePositionSetting:l}}function tN(e,t){return e&&e.value?e:t}function nN(e){const{emitDrag:t,emitRelease:n,emitClose:o,emitOpenChange:u,open:r,dismissible:a,nested:s,modal:i,shouldScaleBackground:c,setBackgroundColorOnScale:l,scrollLockTimeout:d,closeThreshold:f,activeSnapPoint:p,fadeFromIndex:m,direction:g,noBodyStyles:E,handleOnly:b,preventScrollRestoration:y}=e,v=L(r.value??!1),C=L(!1),x=L(!1),w=L(!1),B=L(null),_=L(null),F=L(null),R=L(null),Z=L(null),q=L(!1),Q=L(null),X=L(0),I=L(!1),O=L(null),H=S(()=>{var j;return((j=O.value)==null?void 0:j.$el.getBoundingClientRect().height)||0}),V=tN(e.snapPoints,L(void 0)),fe=S(()=>{var j;return V&&(((j=V.value)==null?void 0:j.length)??0)>0}),se=L(null),{activeSnapPointIndex:Ke,onRelease:Re,snapPointsOffset:ot,onDrag:ct,shouldFade:Te,getPercentageDragged:Pe}=Q$({snapPoints:V,activeSnapPoint:p,drawerRef:O,fadeFromIndex:m,overlayRef:B,onSnapPointChange:U,direction:g});function U(j,re){V.value&&j===re.length-1&&(_.value=new Date)}eN({isOpen:v,modal:i,nested:s,hasBeenOpened:C,noBodyStyles:E,preventScrollRestoration:y});function ie(){return(window.innerWidth-Ob)/window.innerWidth}function ee(j,re){var ne;if(!j)return!1;let Y=j;const W=(ne=window.getSelection())==null?void 0:ne.toString(),pe=O.value?Ss(O.value.$el,g.value):null,ae=new Date;if(Y.hasAttribute("data-vaul-no-drag")||Y.closest("[data-vaul-no-drag]"))return!1;if(g.value==="right"||g.value==="left")return!0;if(_.value&&ae.getTime()-_.value.getTime()<500)return!1;if(pe!==null&&(g.value==="bottom"?pe>0:pe<0))return!0;if(W&&W.length>0)return!1;if(Z.value&&ae.getTime()-Z.value.getTime()Y.clientHeight){if(Y.scrollTop!==0)return Z.value=new Date,!1;if(Y.getAttribute("role")==="dialog")return!0}Y=Y.parentNode}return!0}function ye(j){!a.value&&!V.value||O.value&&!O.value.$el.contains(j.target)||(x.value=!0,F.value=new Date,j.target.setPointerCapture(j.pointerId),X.value=xt(g.value)?j.clientY:j.clientX)}function _e(j){var re,ne,Y,W,pe,ae;if(O.value&&x.value){const me=g.value==="bottom"||g.value==="right"?1:-1,xe=(X.value-(xt(g.value)?j.clientY:j.clientX))*me,Le=xe>0,Ye=V.value&&!a.value&&!Le;if(Ye&&Ke.value===0)return;const Ze=Math.abs(xe),ft=document.querySelector("[data-vaul-drawer-wrapper]")||document.querySelector("[vaul-drawer-wrapper]");let ut=Ze/H.value;const un=Pe(Ze,Le);if(un!==null&&(ut=un),Ye&&ut>=1||!q.value&&!ee(j.target,Le))return;if((re=O?.value)==null||re.$el.classList.add(Rm),q.value=!0,Pt((ne=O.value)==null?void 0:ne.$el,{transition:"none"}),Pt((Y=B.value)==null?void 0:Y.$el,{transition:"none"}),V.value&&ct({draggedDistance:xe}),Le&&!V.value){const pn=Y$(xe),nu=Math.min(pn*-1,0)*me;Pt((W=O.value)==null?void 0:W.$el,{transform:xt(g.value)?`translate3d(0, ${nu}px, 0)`:`translate3d(${nu}px, 0, 0)`});return}const Kt=1-ut;if((Te.value||m.value&&Ke.value===m.value-1)&&(t(ut),Pt((pe=B.value)==null?void 0:pe.$el,{opacity:`${Kt}`,transition:"none"},!0)),ft&&B.value&&c.value){const pn=Math.min(ie()+ut*(1-ie()),1),nu=8-ut*8,Nt=Math.max(0,14-ut*14);Pt(ft,{borderRadius:`${nu}px`,transform:xt(g.value)?`scale(${pn}) translate3d(0, ${Nt}px, 0)`:`scale(${pn}) translate3d(${Nt}px, 0, 0)`,transition:"none"},!0)}if(!V.value){const pn=Ze*me;Pt((ae=O.value)==null?void 0:ae.$el,{transform:xt(g.value)?`translate3d(0, ${pn}px, 0)`:`translate3d(${pn}px, 0, 0)`})}}}function Ue(){var j;if(!O.value)return;const re=document.querySelector("[data-vaul-drawer-wrapper]")||document.querySelector("[vaul-drawer-wrapper]"),ne=Ss(O.value.$el,g.value);Pt(O.value.$el,{transform:"translate3d(0, 0, 0)",transition:`transform ${ht.DURATION}s cubic-bezier(${ht.EASE.join(",")})`}),Pt((j=B.value)==null?void 0:j.$el,{transition:`opacity ${ht.DURATION}s cubic-bezier(${ht.EASE.join(",")})`,opacity:"1"}),c.value&&ne&&ne>0&&v.value&&Pt(re,{borderRadius:`${Mb}px`,overflow:"hidden",...xt(g.value)?{transform:`scale(${ie()}) translate3d(0, calc(env(safe-area-inset-top) + 14px), 0)`,transformOrigin:"top"}:{transform:`scale(${ie()}) translate3d(calc(env(safe-area-inset-top) + 14px), 0, 0)`,transformOrigin:"left"},transitionProperty:"transform, border-radius",transitionDuration:`${ht.DURATION}s`,transitionTimingFunction:`cubic-bezier(${ht.EASE.join(",")})`},!0)}function A(j){O.value&&(o(),j||(v.value=!1),window.setTimeout(()=>{V.value&&(p.value=V.value[0])},ht.DURATION*1e3))}mt(()=>{if(!v.value&&c.value&&U$){const j=setTimeout(()=>{G$(document.body)},200);return()=>clearTimeout(j)}}),Ce(r,()=>{v.value=r.value,r.value||A()});function P(j){if(!x.value||!O.value)return;O.value.$el.classList.remove(Rm),q.value=!1,x.value=!1,R.value=new Date;const re=Ss(O.value.$el,g.value);if(!ee(j.target,!1)||!re||Number.isNaN(re)||F.value===null)return;const ne=R.value.getTime()-F.value.getTime(),Y=X.value-(xt(g.value)?j.clientY:j.clientX),W=Math.abs(Y)/ne;if(W>.05&&(w.value=!0,window.setTimeout(()=>{w.value=!1},200)),V.value){const ae=g.value==="bottom"||g.value==="right"?1:-1;Re({draggedDistance:Y*ae,closeDrawer:A,velocity:W,dismissible:a.value}),n(!0);return}if(g.value==="bottom"||g.value==="right"?Y>0:Y<0){Ue(),n(!0);return}if(W>Pb){A(),n(!1);return}const pe=Math.min(O.value.$el.getBoundingClientRect().height??0,window.innerHeight);if(re>=pe*f.value){A(),n(!1);return}n(!0),Ue()}Ce(v,j=>{j&&(_.value=new Date),u(j)},{immediate:!0});function $(j){var re,ne;const Y=j?(window.innerWidth-Ts)/window.innerWidth:1,W=j?-16:0;Q.value&&window.clearTimeout(Q.value),Pt((re=O.value)==null?void 0:re.$el,{transition:`transform ${ht.DURATION}s cubic-bezier(${ht.EASE.join(",")})`,transform:`scale(${Y}) translate3d(0, ${W}px, 0)`}),!j&&(ne=O.value)!=null&&ne.$el&&(Q.value=window.setTimeout(()=>{var pe,ae;const me=Ss((pe=O.value)==null?void 0:pe.$el,g.value);Pt((ae=O.value)==null?void 0:ae.$el,{transition:"none",transform:xt(g.value)?`translate3d(0, ${me}px, 0)`:`translate3d(${me}px, 0, 0)`})},500))}function J(j){var re;if(j<0)return;const ne=xt(g.value)?window.innerHeight:window.innerWidth,Y=(ne-Ts)/ne,W=Y+j*(1-Y),pe=-16+j*Ts;Pt((re=O.value)==null?void 0:re.$el,{transform:xt(g.value)?`scale(${W}) translate3d(0, ${pe}px, 0)`:`scale(${W}) translate3d(${pe}px, 0, 0)`,transition:"none"})}function K(j){var re;const ne=xt(g.value)?window.innerHeight:window.innerWidth,Y=j?(ne-Ts)/ne:1,W=j?-16:0;j&&Pt((re=O.value)==null?void 0:re.$el,{transition:`transform ${ht.DURATION}s cubic-bezier(${ht.EASE.join(",")})`,transform:xt(g.value)?`scale(${Y}) translate3d(0, ${W}px, 0)`:`scale(${Y}) translate3d(${W}px, 0, 0)`})}return{open:r,isOpen:v,modal:i,keyboardIsOpen:I,hasBeenOpened:C,drawerRef:O,drawerHeightRef:H,overlayRef:B,handleRef:se,isDragging:x,dragStartTime:F,isAllowedToDrag:q,snapPoints:V,activeSnapPoint:p,hasSnapPoints:fe,pointerStart:X,dismissible:a,snapPointsOffset:ot,direction:g,shouldFade:Te,fadeFromIndex:m,shouldScaleBackground:c,setBackgroundColorOnScale:l,onPress:ye,onDrag:_e,onRelease:P,closeDrawer:A,onNestedDrag:J,onNestedRelease:K,onNestedOpenChange:$,emitClose:o,emitDrag:t,emitRelease:n,emitOpenChange:u,nested:s,handleOnly:b,noBodyStyles:E}}const Rb=N({__name:"DrawerRoot",props:{activeSnapPoint:{default:void 0},closeThreshold:{default:X$},shouldScaleBackground:{type:Boolean,default:void 0},setBackgroundColorOnScale:{type:Boolean,default:!0},scrollLockTimeout:{default:J$},fixed:{type:Boolean,default:void 0},dismissible:{type:Boolean,default:!0},modal:{type:Boolean,default:!0},open:{type:Boolean,default:void 0},defaultOpen:{type:Boolean,default:void 0},nested:{type:Boolean,default:!1},direction:{default:"bottom"},noBodyStyles:{type:Boolean},handleOnly:{type:Boolean,default:!1},preventScrollRestoration:{type:Boolean},snapPoints:{default:void 0},fadeFromIndex:{default:void 0}},emits:["drag","release","close","update:open","update:activeSnapPoint","animationEnd"],setup(e,{expose:t,emit:n}){const o=e,u=n;Ht();const r=S(()=>o.fadeFromIndex??(o.snapPoints&&o.snapPoints.length-1)),a=Om(o,"open",u,{defaultValue:o.defaultOpen,passive:o.open===void 0}),s=Om(o,"activeSnapPoint",u,{passive:o.activeSnapPoint===void 0}),i={emitDrag:m=>u("drag",m),emitRelease:m=>u("release",m),emitClose:()=>u("close"),emitOpenChange:m=>{u("update:open",m),setTimeout(()=>{u("animationEnd",m)},ht.DURATION*1e3)}},{closeDrawer:c,hasBeenOpened:l,modal:d,isOpen:f}=W$(nN({...i,...Ft(o),activeSnapPoint:s,fadeFromIndex:r,open:a}));function p(m){if(a.value!==void 0){i.emitOpenChange(m);return}f.value=m,m?l.value=!0:c()}return t({open:f}),(m,g)=>(D(),T(h(Ad),{open:h(f),modal:h(d),"onUpdate:open":p},{default:k(()=>[M(m.$slots,"default",{open:h(f)})]),_:3},8,["open","modal"]))}}),oN=N({__name:"DrawerRootNested",props:{activeSnapPoint:{},closeThreshold:{},shouldScaleBackground:{type:Boolean},setBackgroundColorOnScale:{type:Boolean},scrollLockTimeout:{},fixed:{type:Boolean},dismissible:{type:Boolean},modal:{type:Boolean},open:{type:Boolean},defaultOpen:{type:Boolean},nested:{type:Boolean},direction:{},noBodyStyles:{type:Boolean},handleOnly:{type:Boolean},preventScrollRestoration:{type:Boolean},snapPoints:{},fadeFromIndex:{}},emits:["drag","release","close","update:open","update:activeSnapPoint","animationEnd"],setup(e,{emit:t}){const n=e,o=t,{onNestedDrag:u,onNestedOpenChange:r,onNestedRelease:a}=Za();function s(){r(!1)}function i(d){u(d)}function c(d){d&&r(d),o("update:open",d)}const l=Et(n,o);return(d,f)=>(D(),T(Rb,G(h(l),{nested:"",onClose:s,onDrag:i,onRelease:h(a),"onUpdate:open":c}),{default:k(()=>[M(d.$slots,"default")]),_:3},16,["onRelease"]))}}),uN=N({__name:"DrawerOverlay",setup(e){const{overlayRef:t,hasSnapPoints:n,isOpen:o,shouldFade:u}=Za();return(r,a)=>(D(),T(h(di),{ref_key:"overlayRef",ref:t,"data-vaul-overlay":"","data-vaul-snap-points":h(o)&&h(n)?"true":"false","data-vaul-snap-points-overlay":h(o)&&h(u)?"true":"false"},null,8,["data-vaul-snap-points","data-vaul-snap-points-overlay"]))}}),rN=()=>()=>{};function aN(){const{direction:e,isOpen:t,shouldScaleBackground:n,setBackgroundColorOnScale:o,noBodyStyles:u}=Za(),r=L(null),a=L(document.body.style.backgroundColor);function s(){return(window.innerWidth-Ob)/window.innerWidth}mt(i=>{if(t.value&&n.value){r.value&&clearTimeout(r.value);const c=document.querySelector("[data-vaul-drawer-wrapper]")||document.querySelector("[vaul-drawer-wrapper]");if(!c)return;Z$(o.value&&!u.value?dc(document.body,{background:"black"}):rN,dc(c,{transformOrigin:xt(e.value)?"top":"left",transitionProperty:"transform, border-radius",transitionDuration:`${ht.DURATION}s`,transitionTimingFunction:`cubic-bezier(${ht.EASE.join(",")})`}));const l=dc(c,{borderRadius:`${Mb}px`,overflow:"hidden",...xt(e.value)?{transform:`scale(${s()}) translate3d(0, calc(env(safe-area-inset-top) + 14px), 0)`}:{transform:`scale(${s()}) translate3d(calc(env(safe-area-inset-top) + 14px), 0, 0)`}});i(()=>{l(),r.value=window.setTimeout(()=>{a.value?document.body.style.background=a.value:document.body.style.removeProperty("background")},ht.DURATION*1e3)})}},{flush:"pre"})}const sN=N({__name:"DrawerContent",setup(e){const{open:t,isOpen:n,snapPointsOffset:o,hasSnapPoints:u,drawerRef:r,onPress:a,onDrag:s,onRelease:i,modal:c,emitOpenChange:l,dismissible:d,keyboardIsOpen:f,closeDrawer:p,direction:m,handleOnly:g}=Za();aN();const E=L(!1),b=S(()=>o.value&&o.value.length>0?`${o.value[0]}px`:"0");function y(x){if(!c.value||x.defaultPrevented){x.preventDefault();return}f.value&&(f.value=!1),d.value?l(!1):x.preventDefault()}function v(x){g.value||a(x)}function C(x){g.value||s(x)}return mt(()=>{u.value&&window.requestAnimationFrame(()=>{E.value=!0})}),(x,w)=>(D(),T(h(Td),{ref_key:"drawerRef",ref:r,"data-vaul-drawer":"","data-vaul-drawer-direction":h(m),"data-vaul-delayed-snap-points":E.value?"true":"false","data-vaul-snap-points":h(n)&&h(u)?"true":"false",style:xn({"--snap-point-height":b.value}),onPointerdown:v,onPointermove:C,onPointerup:h(i),onPointerDownOutside:y,onOpenAutoFocus:w[0]||(w[0]=bn(()=>{},["prevent"])),onEscapeKeyDown:w[1]||(w[1]=B=>{h(d)||B.preventDefault()})},{default:k(()=>[M(x.$slots,"default")]),_:3},8,["data-vaul-drawer-direction","data-vaul-delayed-snap-points","data-vaul-snap-points","style","onPointerup"]))}}),iN=["data-vaul-drawer-visible"],lN={"data-vaul-handle-hitarea":"","aria-hidden":"true"},cN=250,dN=120,fN=N({__name:"DrawerHandle",props:{preventCycle:{type:Boolean,default:!1}},setup(e){const t=e,{onPress:n,onDrag:o,handleRef:u,handleOnly:r,isOpen:a,snapPoints:s,activeSnapPoint:i,isDragging:c,dismissible:l,closeDrawer:d}=Za(),f=L(null),p=L(!1);function m(){if(p.value){b();return}window.setTimeout(()=>{g()},dN)}function g(){if(c.value||t.preventCycle||p.value){b();return}if(b(),!s.value||s.value.length===0){l.value||d();return}const C=i.value===s.value[s.value.length-1];if(C&&l.value){d();return}const x=s.value.findIndex(B=>B===i.value);if(x===-1)return;const w=C?0:x+1;i.value=s.value[w]}function E(){f.value=window.setTimeout(()=>{p.value=!0},cN)}function b(){f.value&&window.clearTimeout(f.value),p.value=!1}function y(C){r.value&&n(C),E()}function v(C){r.value&&o(C)}return(C,x)=>(D(),le("div",{ref_key:"handleRef",ref:u,"data-vaul-drawer-visible":h(a)?"true":"false","data-vaul-handle":"","aria-hidden":"true",onClick:m,onPointercancel:b,onPointerdown:y,onPointermove:v},[tt("span",lN,[M(C.$slots,"default")])],40,iN))}}),pN={slots:{overlay:"fixed inset-0 bg-elevated/75",content:"fixed bg-default ring ring-default flex focus:outline-none",handle:["shrink-0 !bg-accented","transition-opacity"],container:"w-full flex flex-col gap-4 p-4 overflow-y-auto",header:"",title:"text-highlighted font-semibold",description:"mt-1 text-muted text-sm",body:"flex-1",footer:"flex flex-col gap-1.5"},variants:{direction:{top:{content:"mb-24 flex-col-reverse",handle:"mb-4"},right:{content:"flex-row",handle:"!ml-4"},bottom:{content:"mt-24 flex-col",handle:"mt-4"},left:{content:"flex-row-reverse",handle:"!mr-4"}},inset:{true:{content:"rounded-lg after:hidden overflow-hidden [--initial-transform:calc(100%+1.5rem)]"}},snapPoints:{true:""}},compoundVariants:[{direction:["top","bottom"],class:{content:"h-auto max-h-[96%]",handle:"!w-12 !h-1.5 mx-auto"}},{direction:["top","bottom"],snapPoints:!0,class:{content:"h-full"}},{direction:["right","left"],class:{content:"w-auto max-w-[calc(100%-2rem)]",handle:"!h-12 !w-1.5 mt-auto mb-auto"}},{direction:["right","left"],snapPoints:!0,class:{content:"w-full"}},{direction:"top",inset:!0,class:{content:"inset-x-4 top-4"}},{direction:"top",inset:!1,class:{content:"inset-x-0 top-0 rounded-b-lg"}},{direction:"bottom",inset:!0,class:{content:"inset-x-4 bottom-4"}},{direction:"bottom",inset:!1,class:{content:"inset-x-0 bottom-0 rounded-t-lg"}},{direction:"left",inset:!0,class:{content:"inset-y-4 left-4"}},{direction:"left",inset:!1,class:{content:"inset-y-0 left-0 rounded-r-lg"}},{direction:"right",inset:!0,class:{content:"inset-y-4 right-4"}},{direction:"right",inset:!1,class:{content:"inset-y-0 right-0 rounded-l-lg"}}]},hN={__name:"UDrawer",props:{as:{type:null,required:!1},title:{type:String,required:!1},description:{type:String,required:!1},inset:{type:Boolean,required:!1},content:{type:Object,required:!1},overlay:{type:Boolean,required:!1,default:!0},handle:{type:Boolean,required:!1,default:!0},portal:{type:[Boolean,String],required:!1,skipCheck:!0,default:!0},nested:{type:Boolean,required:!1},class:{type:null,required:!1},ui:{type:Object,required:!1},activeSnapPoint:{type:[Number,String,null],required:!1},closeThreshold:{type:Number,required:!1},shouldScaleBackground:{type:Boolean,required:!1},setBackgroundColorOnScale:{type:Boolean,required:!1},scrollLockTimeout:{type:Number,required:!1},fixed:{type:Boolean,required:!1},dismissible:{type:Boolean,required:!1,default:!0},modal:{type:Boolean,required:!1,default:!0},open:{type:Boolean,required:!1},defaultOpen:{type:Boolean,required:!1},direction:{type:String,required:!1,default:"bottom"},noBodyStyles:{type:Boolean,required:!1},handleOnly:{type:Boolean,required:!1},preventScrollRestoration:{type:Boolean,required:!1},snapPoints:{type:Array,required:!1}},emits:["close:prevent","drag","release","close","update:open","update:activeSnapPoint","animationEnd"],setup(e,{emit:t}){const n=e,o=t,u=Ht(),r=qe(),a=Ct("drawer",n),s=Et(fn(n,"activeSnapPoint","closeThreshold","shouldScaleBackground","setBackgroundColorOnScale","scrollLockTimeout","fixed","dismissible","modal","open","defaultOpen","nested","direction","noBodyStyles","handleOnly","preventScrollRestoration","snapPoints"),o),i=Sr(at(()=>n.portal)),c=at(()=>n.content),l=S(()=>n.dismissible?{pointerDownOutside:fl}:["interactOutside","escapeKeyDown"].reduce((p,m)=>(p[m]=g=>{g.preventDefault(),o("close:prevent")},p),{})),d=S(()=>Fe({extend:Fe(pN),...r.ui?.drawer||{}})({direction:n.direction,inset:n.inset,snapPoints:n.snapPoints&&n.snapPoints.length>0}));return(f,p)=>(D(),T(ln(e.nested?h(oN):h(Rb)),De(ke(h(s))),{default:k(()=>[u.default?(D(),T(h(Pd),{key:0,"as-child":"",class:oe(n.class)},{default:k(()=>[M(f.$slots,"default")]),_:3},8,["class"])):ue("",!0),z(h(Fd),De(ke(h(i))),{default:k(()=>[e.overlay?(D(),T(h(uN),{key:0,"data-slot":"overlay",class:oe(d.value.overlay({class:h(a)?.overlay}))},null,8,["class"])):ue("",!0),z(h(sN),G({"data-slot":"content",class:d.value.content({class:[!u.default&&n.class,h(a)?.content]})},c.value,Oa(l.value)),{default:k(()=>[e.handle?(D(),T(h(fN),{key:0,"data-slot":"handle",class:oe(d.value.handle({class:h(a)?.handle}))},null,8,["class"])):ue("",!0),u.content&&(e.title||u.title||e.description||u.description)?(D(),T(h(Br),{key:1},{default:k(()=>[e.title||u.title?(D(),T(h(dr),{key:0},{default:k(()=>[M(f.$slots,"title",{},()=>[Qe(Me(e.title),1)])]),_:3})):ue("",!0),e.description||u.description?(D(),T(h(cr),{key:1},{default:k(()=>[M(f.$slots,"description",{},()=>[Qe(Me(e.description),1)])]),_:3})):ue("",!0)]),_:3})):ue("",!0),M(f.$slots,"content",{},()=>[tt("div",{"data-slot":"container",class:oe(d.value.container({class:h(a)?.container}))},[u.header||e.title||u.title||e.description||u.description?(D(),le("div",{key:0,"data-slot":"header",class:oe(d.value.header({class:h(a)?.header}))},[M(f.$slots,"header",{},()=>[e.title||u.title?(D(),T(h(dr),{key:0,"data-slot":"title",class:oe(d.value.title({class:h(a)?.title}))},{default:k(()=>[M(f.$slots,"title",{},()=>[Qe(Me(e.title),1)])]),_:3},8,["class"])):ue("",!0),e.description||u.description?(D(),T(h(cr),{key:1,"data-slot":"description",class:oe(d.value.description({class:h(a)?.description}))},{default:k(()=>[M(f.$slots,"description",{},()=>[Qe(Me(e.description),1)])]),_:3},8,["class"])):ue("",!0)])],2)):ue("",!0),u.body?(D(),le("div",{key:1,"data-slot":"body",class:oe(d.value.body({class:h(a)?.body}))},[M(f.$slots,"body")],2)):ue("",!0),u.footer?(D(),le("div",{key:2,"data-slot":"footer",class:oe(d.value.footer({class:h(a)?.footer}))},[M(f.$slots,"footer")],2)):ue("",!0)],2)])]),_:3},16,["class"])]),_:3},16)]),_:3},16))}},mN={slots:{root:"bg-default/75 backdrop-blur border-b border-default h-(--ui-header-height) sticky top-0 z-50",container:"flex items-center justify-between gap-3 h-full",left:"lg:flex-1 flex items-center gap-1.5",center:"hidden lg:flex",right:"flex items-center justify-end lg:flex-1 gap-1.5",title:"shrink-0 font-bold text-xl text-highlighted flex items-end gap-1.5",toggle:"lg:hidden",content:"lg:hidden",overlay:"lg:hidden",header:"px-4 sm:px-6 h-(--ui-header-height) shrink-0 flex items-center justify-between gap-3",body:"p-4 sm:p-6 overflow-y-auto"},variants:{toggleSide:{left:{toggle:"-ms-1.5"},right:{toggle:"-me-1.5"}}}},gN=Object.assign({inheritAttrs:!1},{__name:"UHeader",props:Kg({as:{type:null,required:!1,default:"header"},title:{type:String,required:!1,default:"Nuxt UI"},to:{type:String,required:!1,default:"/"},mode:{type:null,required:!1,default:"modal"},menu:{type:null,required:!1},toggle:{type:[Boolean,Object],required:!1,default:!0},toggleSide:{type:String,required:!1,default:"right"},autoClose:{type:Boolean,required:!1,default:!0},class:{type:null,required:!1},ui:{type:Object,required:!1}},{open:{type:Boolean,default:!1},openModifiers:{}}),emits:["update:open"],setup(e){const t=e,n=Ht(),o=Xg(e,"open",{type:Boolean,default:!1}),u=Fn(),{t:r}=eu(),a=qe(),s=Ct("header",t),[i,c]=nr(),[l,d]=nr(),[f,p]=nr(),m=S(()=>(n.title&&i0(n.title())||t.title||"Nuxt UI").trim());Ce(()=>u.fullPath,()=>{t.autoClose&&(o.value=!1)});const g=S(()=>Fe({extend:Fe(mN),...a.ui?.header||{}})()),E=S(()=>({slideover:j$,modal:z$,drawer:hN})[t.mode]),b=at(()=>Ot(t.menu,{content:{onOpenAutoFocus:v=>v.preventDefault()}},t.mode==="modal"?{fullscreen:!0,transition:!1}:{}));function y(){o.value=!o.value}return(v,C)=>(D(),le(Se,null,[z(h(f),null,{default:k(()=>[M(v.$slots,"toggle",{open:o.value,toggle:y,ui:g.value},()=>[e.toggle?(D(),T(Jt,G({key:0,color:"neutral",variant:"ghost","aria-label":o.value?h(r)("header.close"):h(r)("header.open"),icon:o.value?h(a).ui.icons.close:h(a).ui.icons.menu},typeof e.toggle=="object"?e.toggle:{},{"data-slot":"toggle",class:g.value.toggle({class:h(s)?.toggle,toggleSide:e.toggleSide}),onClick:y}),null,16,["aria-label","icon","class"])):ue("",!0)])]),_:3}),z(h(i),null,{default:k(()=>[tt("div",{"data-slot":"left",class:oe(g.value.left({class:h(s)?.left}))},[e.toggleSide==="left"?(D(),T(h(p),{key:0})):ue("",!0),M(v.$slots,"left",{},()=>[z(Xd,{to:e.to,"aria-label":m.value,"data-slot":"title",class:oe(g.value.title({class:h(s)?.title}))},{default:k(()=>[M(v.$slots,"title",{},()=>[Qe(Me(e.title),1)])]),_:3},8,["to","aria-label","class"])])],2)]),_:3}),z(h(l),null,{default:k(()=>[tt("div",{"data-slot":"right",class:oe(g.value.right({class:h(s)?.right}))},[M(v.$slots,"right"),e.toggleSide==="right"?(D(),T(h(p),{key:0})):ue("",!0)],2)]),_:3}),z(h(Ae),G({as:e.as},v.$attrs,{"data-slot":"root",class:g.value.root({class:[h(s)?.root,t.class]})}),{default:k(()=>[M(v.$slots,"top"),z(Tb,{"data-slot":"container",class:oe(g.value.container({class:h(s)?.container}))},{default:k(()=>[z(h(c)),tt("div",{"data-slot":"center",class:oe(g.value.center({class:h(s)?.center}))},[M(v.$slots,"default")],2),z(h(d))]),_:3},8,["class"]),M(v.$slots,"bottom")]),_:3},16,["as","class"]),z(h(E),G({open:o.value,"onUpdate:open":C[0]||(C[0]=x=>o.value=x),title:h(r)("header.title"),description:h(r)("header.description")},b.value,{ui:{overlay:g.value.overlay({class:h(s)?.overlay}),content:g.value.content({class:h(s)?.content})}}),{content:k(x=>[M(v.$slots,"content",De(ke(x)),()=>[e.mode!=="drawer"?(D(),le("div",{key:0,"data-slot":"header",class:oe(g.value.header({class:h(s)?.header}))},[z(h(c)),z(h(d))],2)):ue("",!0),tt("div",{"data-slot":"body",class:oe(g.value.body({class:h(s)?.body}))},[M(v.$slots,"body")],2)])]),_:3},16,["open","title","description","ui"])],64))}});function Ib(e){const t=Tt({});return mt(()=>{const n=Ie().$nuxtSiteConfig.get(Ot({resolveRefs:!0},e));t&&n&&Object.assign(t,n)}),delete t._priority,t}const vN={class:"sticky top-0 z-50"},yN={key:0,class:"bg-amber-100 dark:bg-amber-900/50 text-amber-800 dark:text-amber-200 px-4 py-2 text-center text-sm border-b border-amber-200 dark:border-amber-800"},bN=N({__name:"AppHeader",setup(e){const t=qe(),n=Ib(),{localePath:o,isEnabled:u,locales:r}=pl(),{currentVersion:a,isOldVersion:s,loadVersions:i}=Wy();je(()=>i());const c=S(()=>t.github&&t.github.url?[{icon:"i-simple-icons-github",to:t.github.url,target:"_blank","aria-label":"GitHub"}]:[]);return(l,d)=>{const f=$M,p=zM,m=XM,g=eO,E=aO,b=pd,y=iO,v=Uy,C=Gy,x=Jt,w=R$,B=q$,_=gN;return D(),le("div",vN,[h(s)?(D(),le("div",yN,[Qe(" You are viewing documentation for Comments "+Me(h(a))+". ",1),d[0]||(d[0]=tt("a",{href:"/comments/",class:"underline font-medium hover:text-amber-900 dark:hover:text-amber-100"}," View the latest version → ",-1))])):ue("",!0),z(_,{ui:{center:"flex-1"},to:h(o)("/"),title:h(t).header?.title||h(n).name},{title:k(()=>[z(p,{class:"h-6 w-auto shrink-0"})]),right:k(()=>[z(m),z(g),h(u)&&h(r).length>1?(D(),le(Se,{key:0},[z(b,null,{fallback:k(()=>[...d[1]||(d[1]=[tt("div",{class:"h-8 w-8 animate-pulse bg-neutral-200 dark:bg-neutral-800 rounded-md"},null,-1)])]),default:k(()=>[z(E)]),_:1}),z(y,{orientation:"vertical",class:"h-8"})],64)):ue("",!0),z(v,{class:"lg:hidden"}),z(b,null,{fallback:k(()=>[...d[2]||(d[2]=[tt("div",{class:"h-8 w-8 animate-pulse bg-neutral-200 dark:bg-neutral-800 rounded-md"},null,-1)])]),default:k(()=>[z(C)]),_:1}),h(c)?.length?(D(!0),le(Se,{key:1},dn(h(c),(F,R)=>(D(),T(x,G({key:R},{ref_for:!0},{color:"neutral",variant:"ghost",...F}),null,16))),128)):ue("",!0)]),toggle:k(({open:F,toggle:R})=>[z(w,{open:F,class:"lg:hidden",onClick:R},null,8,["open","onClick"])]),body:k(()=>[z(B)]),default:k(()=>[z(f)]),_:1},8,["to","title"])])}}}),Lb=Object.assign(bN,{__name:"AppHeader"}),qb=(e="RouteProvider")=>N({name:e,props:{route:{type:Object,required:!0},vnode:Object,vnodeRef:Object,renderKey:String,trackRootNodes:Boolean},setup(t){const n=t.renderKey,o=t.route,u={};for(const r in t.route)Object.defineProperty(u,r,{get:()=>n===t.renderKey?t.route[r]:o[r],enumerable:!0});return St(xo,Bn(u)),()=>t.vnode?ze(t.vnode,{ref:t.vnodeRef}):t.vnode}}),EN=qb(),Lm=new WeakMap,CN=N({name:"NuxtPage",inheritAttrs:!1,props:{name:{type:String},transition:{type:[Boolean,Object],default:void 0},keepalive:{type:[Boolean,Object],default:void 0},route:{type:Object},pageKey:{type:[Function,String],default:null}},setup(e,{attrs:t,slots:n,expose:o}){const u=Ie(),r=L(),a=Ve(xo,null);let s;o({pageRef:r});const i=Ve(Q3,null);let c;const l=u.deferHydration();let d=!1,f=0;if(u.isHydrating){const m=u.hooks.hookOnce("app:error",l);Ut().beforeEach(m)}e.pageKey&&Ce(()=>e.pageKey,(m,g)=>{m!==g&&u.callHook("page:loading:start")});let p=!1;{const m=Ut().beforeResolve(()=>{p=!1});Fo(()=>{m(),l()})}return()=>ze(Ov,{name:e.name,route:e.route,...t},{default:m=>{const g=xN(a,m.route,m.Component),E=a&&a.matched.length===m.route.matched.length;if(!m.Component){if(c&&!E)return c;l();return}if(c&&i&&!i.isCurrent(m.route))return c;if(g&&a&&(!i||i?.isCurrent(a)))return E||c?c:null;const b=Nc(m,e.pageKey),y=DN(a,m.route,m.Component);!u.isHydrating&&s===b&&!y&&He(()=>{p||(p=!0,u.callHook("page:loading:end"))}),d&&s!==b&&f++,s=b;const v=!!(e.transition??m.route.meta.pageTransition??bp),C=v&&Lv([e.transition,m.route.meta.pageTransition,bp,{onAfterLeave(){u["~transitionFinish"]?.(),delete u["~transitionFinish"],delete u["~transitionPromise"],u.callHook("page:transition:finish",m.Component)}}]),x=e.keepalive??m.route.meta.keepalive??R5;return c=Iv(v&&C,i9(x,ze(J0,{key:f,suspensible:!0,onPending:()=>{d=!0,v&&!u["~transitionPromise"]&&(u["~transitionPromise"]=new Promise(w=>{u["~transitionFinish"]=w})),u.callHook("page:start",m.Component)},onResolve:async()=>{d=!1;try{await He(),u._route.sync?.(),await u.callHook("page:finish",m.Component),!p&&!y&&(p=!0,await u.callHook("page:loading:end"))}finally{l()}}},{default:()=>{const w={key:b||void 0,vnode:n.default?wN(n.default,m):m.Component,route:m.route,renderKey:b||void 0,trackRootNodes:v,vnodeRef:r};if(!x)return ze(EN,w);const B=m.Component.type,_=B;let F=Lm.get(_);return F||(F=qb(B.name||B.__name),Lm.set(_,F)),ze(F,w)}}))).default(),c}})}});function xN(e,t,n){if(!e)return!1;const o=t.matched.findIndex(u=>u.components?.default===n?.type);return!o||o===-1?!1:t.matched.slice(0,o).some((u,r)=>u.components?.default!==e.matched[r]?.components?.default)||n&&Nc({route:t,Component:n})!==Nc({route:e,Component:n})}function DN(e,t,n){return e?t.matched.findIndex(u=>u.components?.default===n?.type)ze(Ko[e.name],e.layoutProps,t.slots)}}),BN={name:{type:[String,Boolean,Object],default:null},fallback:{type:[String,Object],default:null}},_N=N({name:"NuxtLayout",inheritAttrs:!1,props:BN,setup(e,t){const n=Ie(),o=Ve(xo),r=!o||o===Fn()?Dv():o,a=S(()=>{let l=h(e.name)??r?.meta.layout??$b(r?.path).appLayout??"default";return l&&!(l in Ko)&&e.fallback&&(l=h(e.fallback)),l}),s=$e();t.expose({layoutRef:s});const i=n.deferHydration();if(n.isHydrating){const l=n.hooks.hookOnce("app:error",i);Ut().beforeEach(l)}let c;return()=>{const d=!!a.value&&a.value in Ko&&!!(r?.meta.layoutTransition??yp),f=d&&Lv([r?.meta.layoutTransition,yp,{onBeforeLeave(){n["~transitionPromise"]=new Promise(m=>{n["~transitionFinish"]=m})},onAfterLeave(){n["~transitionFinish"]?.(),delete n["~transitionFinish"],delete n["~transitionPromise"]}}]),p=c;return c=a.value,Iv(f,{default:()=>ze(J0,{suspensible:!0,onResolve:async()=>{await He(i)}},{default:()=>ze(kN,{layoutProps:G(t.attrs,r.meta.layoutProps??{},{ref:s}),key:a.value||void 0,name:a.value,shouldProvide:!e.name,isRenderingNewLayout:m=>m!==p&&m===a.value,hasTransition:d},t.slots)})}).default()}}}),kN=N({name:"NuxtLayoutProvider",inheritAttrs:!1,props:{name:{type:[String,Boolean]},layoutProps:{type:Object},hasTransition:{type:Boolean},shouldProvide:{type:Boolean},isRenderingNewLayout:{type:Function,required:!0}},setup(e,t){const n=e.name;e.shouldProvide&&St(Q3,{isCurrent:r=>n===!1||n===(r.meta.layout??$b(r.path).appLayout??"default")});const o=Ve(xo);if(o&&o===Fn()){const r=Dv(),a={};for(const s in r){const i=s;Object.defineProperty(a,i,{enumerable:!0,get:()=>e.isRenderingNewLayout(e.name)?r[i]:o[i]})}St(xo,Bn(a))}return()=>!n||typeof n=="string"&&!(n in Ko)?t.slots.default?.():ze(AN,{key:n,layoutProps:e.layoutProps,name:n},t.slots)}}),SN={},TN={class:"text-sm text-muted"};function FN(e,t){return D(),le("div",TN," Copyright © "+Me(new Date().getFullYear()),1)}const PN=Object.assign(dl(SN,[["render",FN]]),{__name:"AppFooterLeft"}),MN=N({__name:"AppFooterRight",setup(e){const t=qe(),n=S(()=>{const o=Object.entries(t.socials||{}).flatMap(([r,a])=>typeof a!="string"||!a?[]:[{icon:`i-simple-icons-${r}`,to:a,target:"_blank","aria-label":`${r} social link`}]),u=t.github&&t.github.url?[{icon:"i-simple-icons-github",to:t.github.url,target:"_blank","aria-label":"GitHub repository"}]:[];return[...o,...u]});return(o,u)=>{const r=Jt,a=Gy;return D(),le(Se,null,[h(n).length?(D(!0),le(Se,{key:0},dn(h(n),(s,i)=>(D(),T(r,G({key:i,size:"sm"},{ref_for:!0},{color:"neutral",variant:"ghost",...s}),null,16))),128)):ue("",!0),z(a)],64)}}}),ON=Object.assign(MN,{__name:"AppFooterRight"}),RN={slots:{root:"",top:"py-8 lg:py-12",bottom:"py-8 lg:py-12",container:"py-8 lg:py-4 lg:flex lg:items-center lg:justify-between lg:gap-x-3",left:"flex items-center justify-center lg:justify-start lg:flex-1 gap-x-1.5 mt-3 lg:mt-0 lg:order-1",center:"mt-3 lg:mt-0 lg:order-2 flex items-center justify-center",right:"lg:flex-1 flex items-center justify-center lg:justify-end gap-x-1.5 lg:order-3"}},IN={__name:"UFooter",props:{as:{type:null,required:!1,default:"footer"},class:{type:null,required:!1},ui:{type:Object,required:!1}},setup(e){const t=e,n=Ht(),o=qe(),u=Ct("footer",t),r=S(()=>Fe({extend:Fe(RN),...o.ui?.footer||{}})());return(a,s)=>(D(),T(h(Ae),{as:e.as,"data-slot":"root",class:oe(r.value.root({class:[h(u)?.root,t.class]}))},{default:k(()=>[n.top?(D(),le("div",{key:0,"data-slot":"top",class:oe(r.value.top({class:h(u)?.top}))},[M(a.$slots,"top")],2)):ue("",!0),z(Tb,{"data-slot":"container",class:oe(r.value.container({class:h(u)?.container}))},{default:k(()=>[tt("div",{"data-slot":"right",class:oe(r.value.right({class:h(u)?.right}))},[M(a.$slots,"right")],2),tt("div",{"data-slot":"center",class:oe(r.value.center({class:h(u)?.center}))},[M(a.$slots,"default")],2),tt("div",{"data-slot":"left",class:oe(r.value.left({class:h(u)?.left}))},[M(a.$slots,"left")],2)]),_:3},8,["class"]),n.bottom?(D(),le("div",{key:1,"data-slot":"bottom",class:oe(r.value.bottom({class:h(u)?.bottom}))},[M(a.$slots,"bottom")],2)):ue("",!0)]),_:3},8,["as","class"]))}},LN={};function qN(e,t){const n=PN,o=ON,u=IN;return D(),T(u,null,{left:k(()=>[z(n)]),right:k(()=>[z(o)]),_:1})}const Nb=Object.assign(dl(LN,[["render",qN]]),{__name:"AppFooter"}),jb=Symbol("nuxt-ui.toast-max");function $N(){const e=Ho("toasts",()=>[]),t=Ve(jb,void 0),n=L(!1),o=[],u=()=>`${Date.now()}-${Math.random().toString(36).slice(2,9)}`;async function r(){if(!(n.value||o.length===0)){for(n.value=!0;o.length>0;){const l=o.shift();await He(),e.value=[...e.value,l].slice(-(t?.value??5))}n.value=!1}}function a(l){const d={id:u(),open:!0,...l},f=e.value.findIndex(p=>p.id===d.id);return f!==-1?(e.value[f]={...e.value[f],...d,_duplicate:(e.value[f]._duplicate||0)+1},d):(o.push(d),r(),d)}function s(l,d){const f=e.value.findIndex(p=>p.id===l);f!==-1&&(e.value[f]={...e.value[f],...d,duration:d.duration,open:!0,_updated:!0},He(()=>{const p=e.value.findIndex(m=>m.id===l);p!==-1&&e.value[p]._updated&&(e.value[p]={...e.value[p],_updated:void 0})}))}function i(l){const d=e.value.findIndex(f=>f.id===l);d!==-1&&e.value[d]._updated||(d!==-1&&(e.value[d]={...e.value[d],open:!1}),setTimeout(()=>{e.value=e.value.filter(f=>f.id!==l)},200))}function c(){e.value=[]}return{toasts:e,add:a,update:s,remove:i,clear:c}}const NN={slots:{root:"gap-2",base:"relative overflow-hidden rounded-full bg-accented",indicator:"rounded-full size-full transition-transform duration-200 ease-out",status:"flex text-dimmed transition-[width] duration-200",steps:"grid items-end",step:"truncate text-end row-start-1 col-start-1 transition-opacity"},variants:{animation:{carousel:"","carousel-inverse":"",swing:"",elastic:""},color:{primary:{indicator:"bg-primary",steps:"text-primary"},secondary:{indicator:"bg-secondary",steps:"text-secondary"},success:{indicator:"bg-success",steps:"text-success"},info:{indicator:"bg-info",steps:"text-info"},warning:{indicator:"bg-warning",steps:"text-warning"},error:{indicator:"bg-error",steps:"text-error"},neutral:{indicator:"bg-inverted",steps:"text-inverted"}},size:{"2xs":{status:"text-xs",steps:"text-xs"},xs:{status:"text-xs",steps:"text-xs"},sm:{status:"text-sm",steps:"text-sm"},md:{status:"text-sm",steps:"text-sm"},lg:{status:"text-sm",steps:"text-sm"},xl:{status:"text-base",steps:"text-base"},"2xl":{status:"text-base",steps:"text-base"}},step:{active:{step:"opacity-100"},first:{step:"opacity-100 text-muted"},other:{step:"opacity-0"},last:{step:""}},orientation:{horizontal:{root:"w-full flex flex-col",base:"w-full",status:"flex-row items-center justify-end min-w-fit"},vertical:{root:"h-full flex flex-row-reverse",base:"h-full",status:"flex-col justify-end min-h-fit"}},inverted:{true:{status:"self-end"}}},compoundVariants:[{inverted:!0,orientation:"horizontal",class:{step:"text-start",status:"flex-row-reverse"}},{inverted:!0,orientation:"vertical",class:{steps:"items-start",status:"flex-col-reverse"}},{orientation:"horizontal",size:"2xs",class:"h-px"},{orientation:"horizontal",size:"xs",class:"h-0.5"},{orientation:"horizontal",size:"sm",class:"h-1"},{orientation:"horizontal",size:"md",class:"h-2"},{orientation:"horizontal",size:"lg",class:"h-3"},{orientation:"horizontal",size:"xl",class:"h-4"},{orientation:"horizontal",size:"2xl",class:"h-5"},{orientation:"vertical",size:"2xs",class:"w-px"},{orientation:"vertical",size:"xs",class:"w-0.5"},{orientation:"vertical",size:"sm",class:"w-1"},{orientation:"vertical",size:"md",class:"w-2"},{orientation:"vertical",size:"lg",class:"w-3"},{orientation:"vertical",size:"xl",class:"w-4"},{orientation:"vertical",size:"2xl",class:"w-5"},{orientation:"horizontal",animation:"carousel",class:{indicator:"data-[state=indeterminate]:animate-[carousel_2s_ease-in-out_infinite] data-[state=indeterminate]:rtl:animate-[carousel-rtl_2s_ease-in-out_infinite]"}},{orientation:"vertical",animation:"carousel",class:{indicator:"data-[state=indeterminate]:animate-[carousel-vertical_2s_ease-in-out_infinite]"}},{orientation:"horizontal",animation:"carousel-inverse",class:{indicator:"data-[state=indeterminate]:animate-[carousel-inverse_2s_ease-in-out_infinite] data-[state=indeterminate]:rtl:animate-[carousel-inverse-rtl_2s_ease-in-out_infinite]"}},{orientation:"vertical",animation:"carousel-inverse",class:{indicator:"data-[state=indeterminate]:animate-[carousel-inverse-vertical_2s_ease-in-out_infinite]"}},{orientation:"horizontal",animation:"swing",class:{indicator:"data-[state=indeterminate]:animate-[swing_2s_ease-in-out_infinite]"}},{orientation:"vertical",animation:"swing",class:{indicator:"data-[state=indeterminate]:animate-[swing-vertical_2s_ease-in-out_infinite]"}},{orientation:"horizontal",animation:"elastic",class:{indicator:"data-[state=indeterminate]:animate-[elastic_2s_ease-in-out_infinite]"}},{orientation:"vertical",animation:"elastic",class:{indicator:"data-[state=indeterminate]:animate-[elastic-vertical_2s_ease-in-out_infinite]"}}],defaultVariants:{animation:"carousel",color:"primary",size:"md"}},jN={__name:"UProgress",props:{as:{type:null,required:!1},max:{type:[Number,Array],required:!1},status:{type:Boolean,required:!1},inverted:{type:Boolean,required:!1,default:!1},size:{type:null,required:!1},color:{type:null,required:!1},orientation:{type:null,required:!1,default:"horizontal"},animation:{type:null,required:!1},class:{type:null,required:!1},ui:{type:Object,required:!1},getValueLabel:{type:Function,required:!1},getValueText:{type:Function,required:!1},modelValue:{type:[Number,null],required:!1,default:null}},emits:["update:modelValue","update:max"],setup(e,{emit:t}){const n=e,o=t,u=Ht(),{dir:r}=eu(),a=qe(),s=Ct("progress",n),i=Et(fn(n,"getValueLabel","getValueText","modelValue"),o),c=S(()=>i.value.modelValue===null),l=S(()=>Array.isArray(n.max)),d=S(()=>{if(!(c.value||!n.max))return Array.isArray(n.max)?n.max.length-1:Number(n.max)}),f=S(()=>{if(!c.value)switch(!0){case i.value.modelValue<0:return 0;case i.value.modelValue>(d.value??100):return 100;default:return Math.round(i.value.modelValue/(d.value??100)*100)}}),p=S(()=>{if(f.value!==void 0)return n.orientation==="vertical"?{transform:`translateY(${n.inverted?"":"-"}${100-f.value}%)`}:r.value==="rtl"?{transform:`translateX(${n.inverted?"-":""}${100-f.value}%)`}:{transform:`translateX(${n.inverted?"":"-"}${100-f.value}%)`}}),m=S(()=>{const C=`${Math.max(f.value??0,0)}%`;return n.orientation==="vertical"?{height:C}:{width:C}});function g(C){return C===Number(n.modelValue)}function E(C){return C===0}function b(C){return C===d.value}function y(C){return C=Number(C),g(C)&&!E(C)?"active":E(C)&&g(C)?"first":b(C)&&g(C)?"last":"other"}const v=S(()=>Fe({extend:Fe(NN),...a.ui?.progress||{}})({animation:n.animation,size:n.size,color:n.color,orientation:n.orientation,inverted:n.inverted}));return(C,x)=>(D(),T(h(Ae),{as:e.as,"data-orientation":e.orientation,"data-slot":"root",class:oe(v.value.root({class:[h(s)?.root,n.class]}))},{default:k(()=>[!c.value&&(e.status||u.status)?(D(),le("div",{key:0,"data-slot":"status",class:oe(v.value.status({class:h(s)?.status})),style:xn(m.value)},[M(C.$slots,"status",{percent:f.value},()=>[Qe(Me(f.value)+"% ",1)])],6)):ue("",!0),z(h(h8),G(h(i),{max:d.value,"data-slot":"base",class:v.value.base({class:h(s)?.base}),style:{transform:"translateZ(0)"}}),{default:k(()=>[z(h(g8),{"data-slot":"indicator",class:oe(v.value.indicator({class:h(s)?.indicator})),style:xn(p.value)},null,8,["class","style"])]),_:1},16,["max","class"]),l.value?(D(),le("div",{key:1,"data-slot":"steps",class:oe(v.value.steps({class:h(s)?.steps}))},[(D(!0),le(Se,null,dn(e.max,(w,B)=>(D(),le("div",{key:B,"data-slot":"step",class:oe(v.value.step({class:h(s)?.step,step:y(B)}))},[M(C.$slots,`step-${B}`,{step:w},()=>[Qe(Me(w),1)])],2))),128))],2)):ue("",!0)]),_:3},8,["as","data-orientation","class"]))}},VN={slots:{root:"relative group overflow-hidden bg-default shadow-lg rounded-lg ring ring-default p-4 flex gap-2.5 focus:outline-none",wrapper:"w-0 flex-1 flex flex-col",title:"text-sm font-medium text-highlighted",description:"text-sm text-muted",icon:"shrink-0 size-5",avatar:"shrink-0",avatarSize:"2xl",actions:"flex gap-1.5 shrink-0",progress:"absolute inset-x-0 bottom-0",close:"p-0"},variants:{color:{primary:{root:"focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-primary",icon:"text-primary"},secondary:{root:"focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-secondary",icon:"text-secondary"},success:{root:"focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-success",icon:"text-success"},info:{root:"focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-info",icon:"text-info"},warning:{root:"focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-warning",icon:"text-warning"},error:{root:"focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-error",icon:"text-error"},neutral:{root:"focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-inverted",icon:"text-highlighted"}},orientation:{horizontal:{root:"items-center",actions:"items-center"},vertical:{root:"items-start",actions:"items-start mt-2.5"}},title:{true:{description:"mt-1"}}},defaultVariants:{color:"primary"}},zN={__name:"UToast",props:{as:{type:null,required:!1},title:{type:[String,Object,Function],required:!1},description:{type:[String,Object,Function],required:!1},icon:{type:null,required:!1},avatar:{type:Object,required:!1},color:{type:null,required:!1},orientation:{type:null,required:!1,default:"vertical"},close:{type:[Boolean,Object],required:!1,default:!0},closeIcon:{type:null,required:!1},actions:{type:Array,required:!1},progress:{type:[Boolean,Object],required:!1,default:!0},class:{type:null,required:!1},ui:{type:Object,required:!1},defaultOpen:{type:Boolean,required:!1},open:{type:Boolean,required:!1},type:{type:String,required:!1},duration:{type:Number,required:!1}},emits:["escapeKeyDown","pause","resume","swipeStart","swipeMove","swipeCancel","swipeEnd","update:open"],setup(e,{expose:t,emit:n}){const o=e,u=n,r=Ht(),{t:a}=eu(),s=qe(),i=Ct("toast",o),c=Et(fn(o,"as","defaultOpen","open","duration","type"),u),l=S(()=>Fe({extend:Fe(VN),...s.ui?.toast||{}})({color:o.color,orientation:o.orientation,title:!!o.title||!!r.title})),d=ZE("rootRef"),f=L(0);return je(()=>{d.value?.$el?.getBoundingClientRect&&(f.value=d.value.$el.getBoundingClientRect().height)}),t({height:f}),(p,m)=>(D(),T(h(z8),G({ref_key:"rootRef",ref:d},h(c),{"data-orientation":e.orientation,"data-slot":"root",class:l.value.root({class:[h(i)?.root,o.class]}),style:{"--height":f.value}}),{default:k(({remaining:g,duration:E,open:b})=>[M(p.$slots,"leading",{ui:l.value},()=>[e.avatar?(D(),T(cl,G({key:0,size:h(i)?.avatarSize||l.value.avatarSize()},e.avatar,{"data-slot":"avatar",class:l.value.avatar({class:h(i)?.avatar})}),null,16,["size","class"])):e.icon?(D(),T(vn,{key:1,name:e.icon,"data-slot":"icon",class:oe(l.value.icon({class:h(i)?.icon}))},null,8,["name","class"])):ue("",!0)]),tt("div",{"data-slot":"wrapper",class:oe(l.value.wrapper({class:h(i)?.wrapper}))},[e.title||r.title?(D(),T(h(H8),{key:0,"data-slot":"title",class:oe(l.value.title({class:h(i)?.title}))},{default:k(()=>[M(p.$slots,"title",{},()=>[typeof e.title=="function"?(D(),T(ln(e.title()),{key:0})):typeof e.title=="object"?(D(),T(ln(e.title),{key:1})):(D(),le(Se,{key:2},[Qe(Me(e.title),1)],64))])]),_:3},8,["class"])):ue("",!0),e.description||r.description?(D(),T(h($8),{key:1,"data-slot":"description",class:oe(l.value.description({class:h(i)?.description}))},{default:k(()=>[M(p.$slots,"description",{},()=>[typeof e.description=="function"?(D(),T(ln(e.description()),{key:0})):typeof e.description=="object"?(D(),T(ln(e.description),{key:1})):(D(),le(Se,{key:2},[Qe(Me(e.description),1)],64))])]),_:3},8,["class"])):ue("",!0),e.orientation==="vertical"&&(e.actions?.length||r.actions)?(D(),le("div",{key:2,"data-slot":"actions",class:oe(l.value.actions({class:h(i)?.actions}))},[M(p.$slots,"actions",{},()=>[(D(!0),le(Se,null,dn(e.actions,(y,v)=>(D(),T(h(qh),{key:v,"alt-text":y.label||"Action","as-child":"",onClick:m[0]||(m[0]=bn(()=>{},["stop"]))},{default:k(()=>[z(Jt,G({size:"xs",color:e.color},{ref_for:!0},y),null,16,["color"])]),_:2},1032,["alt-text"]))),128))])],2)):ue("",!0)],2),e.orientation==="horizontal"&&(e.actions?.length||r.actions)||e.close?(D(),le("div",{key:0,"data-slot":"actions",class:oe(l.value.actions({class:h(i)?.actions,orientation:"horizontal"}))},[e.orientation==="horizontal"&&(e.actions?.length||r.actions)?M(p.$slots,"actions",{key:0},()=>[(D(!0),le(Se,null,dn(e.actions,(y,v)=>(D(),T(h(qh),{key:v,"alt-text":y.label||"Action","as-child":"",onClick:m[1]||(m[1]=bn(()=>{},["stop"]))},{default:k(()=>[z(Jt,G({size:"xs",color:e.color},{ref_for:!0},y),null,16,["color"])]),_:2},1032,["alt-text"]))),128))]):ue("",!0),e.close||r.close?(D(),T(h(ay),{key:1,"as-child":""},{default:k(()=>[M(p.$slots,"close",{ui:l.value},()=>[e.close?(D(),T(Jt,G({key:0,icon:e.closeIcon||h(s).ui.icons.close,color:"neutral",variant:"link","aria-label":h(a)("toast.close")},typeof e.close=="object"?e.close:{},{"data-slot":"close",class:l.value.close({class:h(i)?.close}),onClick:m[2]||(m[2]=bn(()=>{},["stop"]))}),null,16,["icon","aria-label","class"])):ue("",!0)])]),_:3})):ue("",!0)],2)):ue("",!0),e.progress&&b&&g>0&&E?(D(),T(jN,G({key:1,"model-value":g/E*100,color:e.color},typeof e.progress=="object"?e.progress:{},{size:"sm","data-slot":"progress",class:l.value.progress({class:h(i)?.progress})}),null,16,["model-value","color","class"])):ue("",!0)]),_:3},16,["data-orientation","class","style"]))}},UN={slots:{viewport:"fixed flex flex-col w-[calc(100%-2rem)] sm:w-96 z-[100] data-[expanded=true]:h-(--height) focus:outline-none",base:"pointer-events-auto absolute inset-x-0 z-(--index) transform-(--transform) data-[expanded=false]:data-[front=false]:h-(--front-height) data-[expanded=false]:data-[front=false]:*:opacity-0 data-[front=false]:*:transition-opacity data-[front=false]:*:duration-100 data-[state=closed]:animate-[toast-closed_200ms_ease-in-out] data-[state=closed]:data-[expanded=false]:data-[front=false]:animate-[toast-collapsed-closed_200ms_ease-in-out] data-[state=open]:data-[pulsing=odd]:animate-[toast-pulse-a_300ms_ease-out] data-[state=open]:data-[pulsing=even]:animate-[toast-pulse-b_300ms_ease-out] data-[swipe=move]:transition-none transition-[transform,translate,height] duration-200 ease-out"},variants:{position:{"top-left":{viewport:"left-4"},"top-center":{viewport:"left-1/2 transform -translate-x-1/2"},"top-right":{viewport:"right-4"},"bottom-left":{viewport:"left-4"},"bottom-center":{viewport:"left-1/2 transform -translate-x-1/2"},"bottom-right":{viewport:"right-4"}},swipeDirection:{up:"data-[swipe=end]:animate-[toast-slide-up_200ms_ease-out]",right:"data-[swipe=end]:animate-[toast-slide-right_200ms_ease-out]",down:"data-[swipe=end]:animate-[toast-slide-down_200ms_ease-out]",left:"data-[swipe=end]:animate-[toast-slide-left_200ms_ease-out]"}},compoundVariants:[{position:["top-left","top-center","top-right"],class:{viewport:"top-4",base:"top-0 data-[state=open]:animate-[toast-slide-in-from-top_200ms_ease-in-out]"}},{position:["bottom-left","bottom-center","bottom-right"],class:{viewport:"bottom-4",base:"bottom-0 data-[state=open]:animate-[toast-slide-in-from-bottom_200ms_ease-in-out]"}},{swipeDirection:["left","right"],class:"data-[swipe=move]:translate-x-(--reka-toast-swipe-move-x) data-[swipe=end]:translate-x-(--reka-toast-swipe-end-x) data-[swipe=cancel]:translate-x-0"},{swipeDirection:["up","down"],class:"data-[swipe=move]:translate-y-(--reka-toast-swipe-move-y) data-[swipe=end]:translate-y-(--reka-toast-swipe-end-y) data-[swipe=cancel]:translate-y-0"}],defaultVariants:{position:"bottom-right"}},HN={name:"Toaster"},KN=Object.assign(HN,{props:{position:{type:null,required:!1},expand:{type:Boolean,required:!1,default:!0},progress:{type:Boolean,required:!1,default:!0},portal:{type:[Boolean,String],required:!1,skipCheck:!0,default:!0},max:{type:Number,required:!1,default:5},class:{type:null,required:!1},ui:{type:Object,required:!1},label:{type:String,required:!1},duration:{type:Number,required:!1,default:5e3},disableSwipe:{type:Boolean,required:!1},swipeThreshold:{type:Number,required:!1}},setup(e){const t=e,{toasts:n,remove:o}=$N(),u=qe(),r=Ct("toaster",t);St(jb,at(()=>t.max));const a=on(fn(t,"duration","label","swipeThreshold","disableSwipe")),s=Sr(at(()=>t.portal)),i=S(()=>{switch(t.position){case"top-center":return"up";case"top-right":case"bottom-right":return"right";case"bottom-center":return"down";case"top-left":case"bottom-left":return"left"}return"right"}),c=S(()=>Fe({extend:Fe(UN),...u.ui?.toaster||{}})({position:t.position,swipeDirection:i.value}));function l(b,y){b||o(y)}const d=L(!1),f=S(()=>t.expand||d.value),p=L([]),m=S(()=>p.value.reduce((b,{height:y})=>b+y+16,0)),g=S(()=>p.value[p.value.length-1]?.height||0);function E(b){return p.value.slice(b+1).reduce((y,{height:v})=>y+v+16,0)}return(b,y)=>(D(),T(h(w8),G({"swipe-direction":i.value},h(a)),{default:k(()=>[M(b.$slots,"default"),(D(!0),le(Se,null,dn(h(n),(v,C)=>(D(),T(zN,G({key:v.id,ref_for:!0,ref_key:"refs",ref:p,progress:e.progress},{ref_for:!0},h(Kd)(v,["id","close","_duplicate","_updated"]),{close:v.close,"data-expanded":f.value,"data-front":!f.value&&C===h(n).length-1,"data-pulsing":v._duplicate?v._duplicate%2===0?"even":"odd":void 0,style:{"--index":C-h(n).length+h(n).length,"--before":h(n).length-1-C,"--offset":E(C),"--scale":f.value?"1":"calc(1 - var(--before) * var(--scale-factor))","--translate":f.value?"calc(var(--offset) * var(--translate-factor))":"calc(var(--before) * var(--gap))","--transform":"translateY(var(--translate)) scale(var(--scale))"},"data-slot":"base",class:c.value.base({class:[h(r)?.base,v.onClick?"cursor-pointer":void 0]}),"onUpdate:open":x=>l(x,v.id),onClick:x=>v.onClick&&v.onClick(v)}),null,16,["progress","close","data-expanded","data-front","data-pulsing","style","class","onUpdate:open","onClick"]))),128)),z(h(j8),De(ke(h(s))),{default:k(()=>[z(h(G8),{"data-expanded":f.value,"data-slot":"viewport",class:oe(c.value.viewport({class:[h(r)?.viewport,t.class]})),style:xn({"--scale-factor":"0.05","--translate-factor":e.position?.startsWith("top")?"1px":"-1px","--gap":e.position?.startsWith("top")?"16px":"-16px","--front-height":`${g.value}px`,"--height":`${m.value}px`}),onMouseenter:y[0]||(y[0]=v=>d.value=!0),onMouseleave:y[1]||(y[1]=v=>d.value=!1)},null,8,["data-expanded","class","style"])]),_:1},16)]),_:3},16,["swipe-direction"]))}}),WN=Object.assign(KN,{__name:"UToaster"});function GN(){const e=Bn([]),t=(c,l)=>{const{props:d,defaultOpen:f,destroyOnClose:p}=l||{},m=Tt({id:Symbol(""),isOpen:!!f,component:H0(c),isMounted:!!f,destroyOnClose:!!p,originalProps:d||{},props:{...d}});return e.push(m),{...m,open:g=>n(m.id,g),close:g=>o(m.id,g),patch:g=>a(m.id,g)}},n=(c,l)=>{const d=s(c);l?d.props={...d.originalProps,...l}:d.props={...d.originalProps},d.isOpen=!0,d.isMounted=!0;const f=new Promise(p=>d.resolvePromise=p);return Object.assign(f,{id:c,isMounted:d.isMounted,isOpen:d.isOpen,result:f})},o=(c,l)=>{const d=s(c);d.isOpen=!1,d.resolvePromise&&(d.resolvePromise(l),d.resolvePromise=void 0)},u=()=>{e.forEach(c=>o(c.id))},r=c=>{const l=s(c);if(l.isMounted=!1,l.destroyOnClose){const d=e.findIndex(f=>f.id===c);e.splice(d,1)}},a=(c,l)=>{const d=s(c);d.props={...d.props,...l}},s=c=>{const l=e.find(d=>d.id===c);if(!l)throw new Error("Overlay not found");return l};return{overlays:e,open:n,close:o,closeAll:u,create:t,patch:a,unmount:r,isOpen:c=>s(c).isOpen}}const YN=wr(GN),ZN={__name:"UOverlayProvider",setup(e){const{overlays:t,unmount:n,close:o}=YN(),u=S(()=>t.filter(s=>s.isMounted)),r=s=>{o(s),n(s)},a=(s,i)=>{o(s,i)};return(s,i)=>(D(!0),le(Se,null,dn(u.value,c=>(D(),T(ln(c.component),G({key:c.id},{ref_for:!0},c.props,{open:c.isOpen,"onUpdate:open":l=>c.isOpen=l,onClose:l=>a(c.id,l),"onAfter:leave":l=>r(c.id)}),null,16,["open","onUpdate:open","onClose","onAfter:leave"]))),128))}},XN={name:"App"},JN=Object.assign(XN,{props:{tooltip:{type:Object,required:!1},toaster:{type:[Object,null],required:!1},locale:{type:Object,required:!1},portal:{type:[Boolean,String],required:!1,skipCheck:!0,default:"body"},dir:{type:String,required:!1},scrollBody:{type:[Boolean,Object],required:!1},nonce:{type:String,required:!1}},setup(e){const t=e,n=on(fn(t,"scrollBody")),o=at(()=>t.tooltip),u=at(()=>t.toaster),r=at(()=>t.locale);return St(py,r),St(zy,at(()=>t.portal)),(s,i)=>(D(),T(h(NB),G({"use-id":()=>Pg(),dir:t.dir||r.value?.dir,locale:r.value?.code},h(n)),{default:k(()=>[z(h(Q8),De(ke(o.value)),{default:k(()=>[e.toaster!==null?(D(),T(WN,De(G({key:0},u.value)),{default:k(()=>[M(s.$slots,"default")]),_:3},16)):M(s.$slots,"default",{key:1}),z(ZN)]),_:3},16)]),_:3},16,["use-id","dir","locale"]))}}),Vb=Object.assign(JN,{__name:"UApp"}),QN=ve({name:"العربية",code:"ar",dir:"rtl",messages:{alert:{close:"إغلاق"},authForm:{hidePassword:"إخفاء كلمة المرور",showPassword:"إظهار كلمة المرور",submit:"متابعة"},banner:{close:"إغلاق"},calendar:{nextMonth:"الشهر المقبل",nextYear:"السنة المقبلة",prevMonth:"الشهر السابق",prevYear:"السنة السابقة"},carousel:{dots:"اختر الشريحة المراد عرضها",goto:"الذهاب إلى شريحة {slide}",next:"التالي",prev:"السابق"},chatPrompt:{placeholder:"اكتب رسالتك هنا…"},chatPromptSubmit:{label:"إرسال"},chatReasoning:{thinking:"يفكّر…",thought:"فكّر",thoughtFor:"فكّر لمدة {duration}"},colorMode:{dark:"داكن",light:"فاتح",switchToDark:"التبديل إلى الوضع الداكن",switchToLight:"التبديل إلى الوضع الفاتح",system:"النظام"},commandPalette:{back:"رجوع",close:"إغلاق",noData:"لا توجد بيانات",noMatch:"لا توجد نتائج مطابقة",placeholder:"اكتب أمرًا أو ابحث…"},contentSearch:{links:"الروابط",theme:"السمة"},contentSearchButton:{label:"بحث…"},contentToc:{title:"في هذه الصفحة"},dropdownMenu:{noMatch:"لا توجد نتائج مطابقة",search:"بحث…"},dashboardSearch:{theme:"السمة"},dashboardSearchButton:{label:"بحث…"},dashboardSidebarCollapse:{collapse:"طي الشريط الجانبي",expand:"توسيع الشريط الجانبي"},dashboardSidebarToggle:{close:"إغلاق الشريط الجانبي",open:"فتح الشريط الجانبي"},error:{clear:"العودة إلى الصفحة الرئيسية"},fileUpload:{removeFile:"إزالة {filename}"},header:{close:"إغلاق القائمة",open:"فتح القائمة"},inputMenu:{create:'إنشاء "{label}"',noData:"لا توجد بيانات",noMatch:"لا توجد نتائج مطابقة"},inputNumber:{decrement:"تقليل",increment:"زيادة"},modal:{close:"إغلاق"},pricingTable:{caption:"مقارنة الخطط السعرية"},prose:{codeCollapse:{closeText:"طي",name:"كود",openText:"توسيع"},collapsible:{closeText:"إخفاء",name:"خصائص",openText:"إظهار"},pre:{copy:"نسخ الكود إلى الحافظة"}},sidebar:{close:"إغلاق",toggle:"تبديل"},selectMenu:{create:'إنشاء "{label}"',noData:"لا توجد بيانات",noMatch:"لا توجد نتائج مطابقة",search:"بحث…"},slideover:{close:"إغلاق"},table:{noData:"لا توجد بيانات"},toast:{close:"إغلاق"}}}),ej=ve({name:"Azərbaycanca",code:"az",messages:{alert:{close:"Bağla"},authForm:{hidePassword:"Şifrəni gizlət",showPassword:"Şifrəni göstər",submit:"Davam et"},banner:{close:"Bağla"},calendar:{nextMonth:"Növbəti ay",nextYear:"Növbəti il",prevMonth:"Əvvəlki ay",prevYear:"Əvvəlki il"},carousel:{dots:"Göstərmək üçün slayd seçin",goto:"Slayd {slide} keç",next:"Növbəti",prev:"Əvvəlki"},chatPrompt:{placeholder:"Buraya mesajınızı yazın…"},chatPromptSubmit:{label:"Göndər"},chatReasoning:{thinking:"Düşünür…",thought:"Düşündü",thoughtFor:"{duration} düşündü"},colorMode:{dark:"Qaranlıq",light:"İşıqlı",switchToDark:"Qaranlıq rejimə keç",switchToLight:"İşıqlı rejimə keç",system:"Sistem"},commandPalette:{back:"Geri",close:"Bağla",noData:"Məlumat yoxdur",noMatch:"Uyğun məlumat tapılmadı",placeholder:"Əmr daxil edin və ya axtarın…"},contentSearch:{links:"Bağlantılar",theme:"Tema"},contentSearchButton:{label:"Axtar…"},contentToc:{title:"Bu səhifədə"},dropdownMenu:{noMatch:"Uyğun məlumat tapılmadı",search:"Axtar…"},dashboardSearch:{theme:"Tema"},dashboardSearchButton:{label:"Axtar…"},dashboardSidebarCollapse:{collapse:"Yan paneli daralt",expand:"Yan paneli genişlət"},dashboardSidebarToggle:{close:"Yan paneli bağla",open:"Yan paneli aç"},error:{clear:"Ana səhifəyə qayıt"},fileUpload:{removeFile:"{filename} sil"},header:{close:"Menyunu bağla",open:"Menyunu aç"},inputMenu:{create:'"{label}" yarat',noData:"Məlumat yoxdur",noMatch:"Uyğun məlumat tapılmadı"},inputNumber:{decrement:"Azalt",increment:"Artır"},modal:{close:"Bağla"},pricingTable:{caption:"Qiymət planlarının müqayisəsi"},prose:{codeCollapse:{closeText:"Daralt",name:"kod",openText:"Genişlət"},collapsible:{closeText:"Gizlət",name:"xüsusiyyətlər",openText:"Göstər"},pre:{copy:"Kodu buferə kopyala"}},sidebar:{close:"Bağla",toggle:"Dəyişdir"},selectMenu:{create:'"{label}" yarat',noData:"Məlumat yoxdur",noMatch:"Uyğun məlumat tapılmadı",search:"Axtar…"},slideover:{close:"Bağla"},table:{noData:"Məlumat yoxdur"},toast:{close:"Bağla"}}}),tj=ve({name:"Беларуская",code:"be",messages:{alert:{close:"Закрыць"},authForm:{hidePassword:"Схаваць пароль",showPassword:"Паказаць пароль",submit:"Працягнуць"},banner:{close:"Закрыць"},calendar:{nextMonth:"Наступны месяц",nextYear:"Наступны год",prevMonth:"Папярэдні месяц",prevYear:"Папярэдні год"},carousel:{dots:"Выберыце слайд для адлюстравання",goto:"Перайсці да {slide}",next:"Далей",prev:"Назад"},chatPrompt:{placeholder:"Увядзіце сваё паведамленне тут…"},chatPromptSubmit:{label:"Адправіць"},chatReasoning:{thinking:"Думае…",thought:"Падумаў",thoughtFor:"Думаў {duration}"},colorMode:{dark:"Цёмная",light:"Светлая",switchToDark:"Пераключыцца на цёмны рэжым",switchToLight:"Пераключыцца на светлы рэжым",system:"Сістэмная"},commandPalette:{back:"Назад",close:"Закрыць",noData:"Няма даных",noMatch:"Супадзенняў не знойдзена",placeholder:"Увядзіце каманду або выканайце пошук…"},contentSearch:{links:"Спасылкі",theme:"Тэма"},contentSearchButton:{label:"Пошук…"},contentToc:{title:"На гэтай старонцы"},dropdownMenu:{noMatch:"Супадзенняў не знойдзена",search:"Пошук…"},dashboardSearch:{theme:"Тэма"},dashboardSearchButton:{label:"Пошук…"},dashboardSidebarCollapse:{collapse:"Згарнуць бакавую панэль",expand:"Разгарнуць бакавую панэль"},dashboardSidebarToggle:{close:"Закрыць бакавую панэль",open:"Адкрыць бакавую панэль"},error:{clear:"Вярнуцца на галоўную"},fileUpload:{removeFile:"Выдаліць {filename}"},header:{close:"Закрыць меню",open:"Адкрыць меню"},inputMenu:{create:'Стварыць "{label}"',noData:"Няма даных",noMatch:"Супадзенняў не знойдзена"},inputNumber:{decrement:"Паменшыць",increment:"Павялічыць"},modal:{close:"Закрыць"},pricingTable:{caption:"Параўнанне платных планаў"},prose:{codeCollapse:{closeText:"Згарнуць",name:"код",openText:"Разгарнуць"},collapsible:{closeText:"Схаваць",name:"уласцівасці",openText:"Паказаць"},pre:{copy:"Скапіяваць код у буфер абмену"}},sidebar:{close:"Закрыць",toggle:"Пераключыць"},selectMenu:{create:'Стварыць "{label}"',noData:"Няма даных",noMatch:"Супадзенняў не знойдзена",search:"Пошук…"},slideover:{close:"Закрыць"},table:{noData:"Няма даных"},toast:{close:"Закрыць"}}}),nj=ve({name:"Български",code:"bg",messages:{alert:{close:"Затворете"},authForm:{hidePassword:"Скрий паролата",showPassword:"Покажи паролата",submit:"Продължи"},banner:{close:"Затвори"},calendar:{nextMonth:"Следващ месец",nextYear:"Следваща година",prevMonth:"Предишен месец",prevYear:"Предишна година"},carousel:{dots:"Изберете слайд за показване",goto:"Отидете на слайд {slide}",next:"Напред",prev:"Назад"},chatPrompt:{placeholder:"Въведете съобщение…"},chatPromptSubmit:{label:"Изпрати"},chatReasoning:{thinking:"Мисли…",thought:"Помисли",thoughtFor:"Мислил {duration}"},colorMode:{dark:"Тъмно",light:"Светло",switchToDark:"Превключи към тъмен режим",switchToLight:"Превключи към светъл режим",system:"Система"},commandPalette:{back:"Назад",close:"Затворете",noData:"Няма данни",noMatch:"Няма съвпадение на данни",placeholder:"Въведете команда или потърсете…"},contentSearch:{links:"Връзки",theme:"Тема"},contentSearchButton:{label:"Търсене"},contentToc:{title:"Съдържание"},dropdownMenu:{noMatch:"Няма съвпадение на данни",search:"Потърсете…"},dashboardSearch:{theme:"Тема"},dashboardSearchButton:{label:"Търсене"},dashboardSidebarCollapse:{collapse:"Свий",expand:"Разшири"},dashboardSidebarToggle:{close:"Затвори",open:"Отвори"},error:{clear:"Изчисти"},fileUpload:{removeFile:"Премахни {filename}"},header:{close:"Затвори",open:"Отвори"},inputMenu:{create:'Създайте "{label}"',noData:"Няма данни",noMatch:"Няма съвпадение на данни"},inputNumber:{decrement:"Намаляване",increment:"Увеличаване"},modal:{close:"Затворете"},pricingTable:{caption:"Ценова таблица"},prose:{codeCollapse:{closeText:"Сгъни",name:"код",openText:"Разгъни"},collapsible:{closeText:"Скрий",name:"свойства",openText:"Покажи"},pre:{copy:"Копирай кода в клипборда"}},sidebar:{close:"Затворете",toggle:"Превключване"},selectMenu:{create:'Създайте "{label}"',noData:"Няма данни",noMatch:"Няма съвпадение на данни",search:"Потърсете…"},slideover:{close:"Затворете"},table:{noData:"Няма данни"},toast:{close:"Затворете"}}}),oj=ve({name:"বাংলা",code:"bn",messages:{alert:{close:"বন্ধ করুন"},authForm:{hidePassword:"পাসওয়ার্ড লুকান",showPassword:"পাসওয়ার্ড দেখান",submit:"চালিয়ে যান"},banner:{close:"বন্ধ করুন"},calendar:{nextMonth:"পরবর্তী মাস",nextYear:"পরবর্তী বছর",prevMonth:"পূর্ববর্তী মাস",prevYear:"পূর্ববর্তী বছর"},carousel:{dots:"প্রদর্শনের জন্য স্লাইড নির্বাচন করুন",goto:"স্লাইড {slide} এ যান",next:"পরবর্তী",prev:"পূর্ববর্তী"},chatPrompt:{placeholder:"এখানে আপনার বার্তা লিখুন…"},chatPromptSubmit:{label:"প্রেরণ করুন"},chatReasoning:{thinking:"ভাবছে…",thought:"ভেবেছে",thoughtFor:"{duration} ভেবেছে"},colorMode:{dark:"গাঢ়",light:"হালকা",switchToDark:"গাঢ় মোডে পরিবর্তন করুন",switchToLight:"হালকা মোডে পরিবর্তন করুন",system:"সিস্টেম"},commandPalette:{back:"পেছনে",close:"বন্ধ করুন",noData:"কোন তথ্য নেই",noMatch:"কোন মিল পাওয়া যায়নি",placeholder:"কমান্ড টাইপ করুন বা অনুসন্ধান করুন…"},contentSearch:{links:"লিংকসমূহ",theme:"থিম"},contentSearchButton:{label:"অনুসন্ধান করুন…"},contentToc:{title:"এই পৃষ্ঠায়"},dropdownMenu:{noMatch:"কোন মিল পাওয়া যায়নি",search:"অনুসন্ধান করুন…"},dashboardSearch:{theme:"থিম"},dashboardSearchButton:{label:"অনুসন্ধান করুন…"},dashboardSidebarCollapse:{collapse:"সাইডবার সংকুচিত করুন",expand:"সাইডবার প্রসারিত করুন"},dashboardSidebarToggle:{close:"সাইডবার বন্ধ করুন",open:"সাইডবার খুলুন"},error:{clear:"হোম পেজে ফিরে যান"},fileUpload:{removeFile:"{filename} সরান"},header:{close:"মেনু বন্ধ করুন",open:"মেনু খুলুন"},inputMenu:{create:'"{label}" তৈরি করুন',noData:"কোন তথ্য নেই",noMatch:"কোন মিল পাওয়া যায়নি"},inputNumber:{decrement:"হ্রাস করুন",increment:"বৃদ্ধি করুন"},modal:{close:"বন্ধ করুন"},pricingTable:{caption:"প্রাইসিং প্ল্যানের তুলনা"},prose:{codeCollapse:{closeText:"সংকুচিত করুন",name:"কোড",openText:"প্রসারিত করুন"},collapsible:{closeText:"লুকান",name:"বৈশিষ্ট্যসমূহ",openText:"দেখান"},pre:{copy:"কোড ক্লিপবোর্ডে কপি করুন"}},sidebar:{close:"বন্ধ করুন",toggle:"টগল করুন"},selectMenu:{create:'"{label}" তৈরি করুন',noData:"কোন তথ্য নেই",noMatch:"কোন মিল পাওয়া যায়নি",search:"অনুসন্ধান করুন…"},slideover:{close:"বন্ধ করুন"},table:{noData:"কোন তথ্য নেই"},toast:{close:"বন্ধ করুন"}}}),uj=ve({name:"Català",code:"ca",messages:{alert:{close:"Tancar"},authForm:{hidePassword:"Amagar contrasenya",showPassword:"Mostrar contrasenya",submit:"Continuar"},banner:{close:"Tancar"},calendar:{nextMonth:"Mes següent",nextYear:"Any següent",prevMonth:"Mes anterior",prevYear:"Any anterior"},carousel:{dots:"Tria la diapositiva a mostrar",goto:"Anar a la diapositiva {slide}",next:"Següent",prev:"Anterior"},chatPrompt:{placeholder:"Escriu el teu missatge aquí…"},chatPromptSubmit:{label:"Enviar"},chatReasoning:{thinking:"Pensant…",thought:"Ha pensat",thoughtFor:"Ha pensat durant {duration}"},colorMode:{dark:"Fosc",light:"Clar",switchToDark:"Canviar a mode fosc",switchToLight:"Canviar a mode clar",system:"Sistema"},commandPalette:{back:"Enrere",close:"Tancar",noData:"Sense dades",noMatch:"No hi ha dades coincidents",placeholder:"Escriu una ordre o cerca…"},contentSearch:{links:"Enllaços",theme:"Tema"},contentSearchButton:{label:"Cercar…"},contentToc:{title:"En aquesta pàgina"},dropdownMenu:{noMatch:"No hi ha dades coincidents",search:"Cerca…"},dashboardSearch:{theme:"Tema"},dashboardSearchButton:{label:"Cercar…"},dashboardSidebarCollapse:{collapse:"Contraure barra lateral",expand:"Expandir barra lateral"},dashboardSidebarToggle:{close:"Tancar barra lateral",open:"Obrir barra lateral"},error:{clear:"Tornar a l'inici"},fileUpload:{removeFile:"Eliminar {filename}"},header:{close:"Tancar menú",open:"Obrir menú"},inputMenu:{create:'Crear "{label}"',noData:"Sense dades",noMatch:"No hi ha dades coincidents"},inputNumber:{decrement:"Decrementar",increment:"Incrementar"},modal:{close:"Tancar"},pricingTable:{caption:"Comparació de plans de preu"},prose:{codeCollapse:{closeText:"Replega",name:"codi",openText:"Desplega"},collapsible:{closeText:"Amaga",name:"propietats",openText:"Mostra"},pre:{copy:"Copiar codi al portapapers"}},sidebar:{close:"Tancar",toggle:"Canviar"},selectMenu:{create:'Crear "{label}"',noData:"Sense dades",noMatch:"No hi ha dades coincidents",search:"Cerca…"},slideover:{close:"Tancar"},table:{noData:"Sense dades"},toast:{close:"Tancar"}}}),rj=ve({name:"کوردی",code:"ckb",dir:"rtl",messages:{alert:{close:"داخستن"},authForm:{hidePassword:"شاردنەوەی تێپەڕەوشە",showPassword:"پیشاندانی تێپەڕەوشە",submit:"بەردەوام بە"},banner:{close:"داخستن"},calendar:{nextMonth:"مانگی داهاتوو",nextYear:"ساڵی داهاتوو",prevMonth:"مانگی پێشوو",prevYear:"ساڵی پێشوو"},carousel:{dots:"سلایدێک هەڵبژێرە بۆ پیشاندان",goto:"بڕۆ بۆ سلایدی {slide}",next:"دواتر",prev:"پێشتر"},chatPrompt:{placeholder:"نامەکەت لێرە بنوسە..."},chatPromptSubmit:{label:"ناردن"},chatReasoning:{thinking:"بیرکردنەوە…",thought:"بیری کردەوە",thoughtFor:"بە ماوەی {duration} بیری کردەوە"},colorMode:{dark:"تاریک",light:"ڕووناک",switchToDark:"گۆڕین بۆ دۆخی تاریک",switchToLight:"گۆڕین بۆ دۆخی ڕووناک",system:"سیستەم"},commandPalette:{back:"گەڕانەوە",close:"داخستن",noData:"هیچ داتایەک نییە",noMatch:"هیچ ئەنجامێک نەدۆزرایەوە",placeholder:"فەرمانێک بنووسە یان بگەڕێ…"},contentSearch:{links:"بەستەرەکان",theme:"ڕووکار"},contentSearchButton:{label:"گەڕان…"},contentToc:{title:"لەم پەڕەیەدا"},dropdownMenu:{noMatch:"هیچ ئەنجامێک نەدۆزرایەوە",search:"گەڕان…"},dashboardSearch:{theme:"ڕووکار"},dashboardSearchButton:{label:"گەڕان…"},dashboardSidebarCollapse:{collapse:"داخستنی لای تەنیشت",expand:"فراوانکردنی لای تەنیشت"},dashboardSidebarToggle:{close:"داخستنی لاتەنیشت",open:"کردنەوەی لاتەنیشت"},error:{clear:"گەڕانەوە بۆ سەرەتا"},fileUpload:{removeFile:"{filename} بسڕەوە"},header:{close:"داخستنی پێڕست",open:"کردنەوەی پێڕست"},inputMenu:{create:'"{label}" زیادکردنی',noData:"هیچ داتایەک نییە",noMatch:"هیچ ئەنجامێک نەدۆزرایەوە"},inputNumber:{decrement:"کەمکردنەوە",increment:"زیادکردن"},modal:{close:"داخستن"},pricingTable:{caption:"بەراورکردنی پلانی نرخدانان"},prose:{codeCollapse:{closeText:"داخستن",name:"کۆد",openText:"فراوانکردن"},collapsible:{closeText:"شاردنەوە",name:"تایبەتمەندییەکان",openText:"پیشاندان"},pre:{copy:"لەبەرگرتنەوەی کۆد"}},sidebar:{close:"داخستن",toggle:"گۆڕین"},selectMenu:{create:'"{label}" زیادکردنی',noData:"هیچ داتایەک نییە",noMatch:"هیچ ئەنجامێک نەدۆزرایەوە",search:"گەڕان…"},slideover:{close:"داخستن"},table:{noData:"هیچ داتایەک نییە"},toast:{close:"داخستن"}}}),aj=ve({name:"Čeština",code:"cs",messages:{alert:{close:"Zavřít"},authForm:{hidePassword:"Skrýt heslo",showPassword:"Zobrazit heslo",submit:"Pokračovat"},banner:{close:"Zavřít"},calendar:{nextMonth:"Další měsíc",nextYear:"Další rok",prevMonth:"Předchozí měsíc",prevYear:"Předchozí rok"},carousel:{dots:"Vyberte snímek k zobrazení",goto:"Přejít na {slide}",next:"Další",prev:"Předchozí"},chatPrompt:{placeholder:"Zde napište svůj text…"},chatPromptSubmit:{label:"Odeslat"},chatReasoning:{thinking:"Přemýšlí…",thought:"Přemýšlel",thoughtFor:"Přemýšlel {duration}"},colorMode:{dark:"Tmavý",light:"Světlý",switchToDark:"Přepnout na tmavý režim",switchToLight:"Přepnout na světlý režim",system:"Systémový"},commandPalette:{back:"Zpět",close:"Zavřít",noData:"Žádná data",noMatch:"Žádná shoda",placeholder:"Zadejte příkaz nebo hledejte…"},contentSearch:{links:"Odkazy",theme:"Barevný režim"},contentSearchButton:{label:"Hledat…"},contentToc:{title:"Na této stránce"},dropdownMenu:{noMatch:"Žádná shoda",search:"Hledat…"},dashboardSearch:{theme:"Barevný režim"},dashboardSearchButton:{label:"Hledat…"},dashboardSidebarCollapse:{collapse:"Sbalit postranní panel",expand:"Rozbalit postranní panel"},dashboardSidebarToggle:{close:"Zavřít postranní panel",open:"Otevřít postranní panel"},error:{clear:"Zpět na úvod"},fileUpload:{removeFile:"Odebrat {filename}"},header:{close:"Zavřít menu",open:"Otevřít menu"},inputMenu:{create:'Vytvořit "{label}"',noData:"Žádná data",noMatch:"Žádná shoda"},inputNumber:{decrement:"Snížit",increment:"Zvýšit"},modal:{close:"Zavřít"},pricingTable:{caption:"Porovnání cenových plánů"},prose:{codeCollapse:{closeText:"Sbalit",name:"kód",openText:"Rozbalit"},collapsible:{closeText:"Skrýt",name:"vlastnosti",openText:"Zobrazit"},pre:{copy:"Kopírovat kód do schránky"}},sidebar:{close:"Zavřít",toggle:"Přepnout"},selectMenu:{create:'Vytvořit "{label}"',noData:"Žádná data",noMatch:"Žádná shoda",search:"Hledat…"},slideover:{close:"Zavřít"},table:{noData:"Žádná data"},toast:{close:"Zavřít"}}}),sj=ve({name:"Danish",code:"da",messages:{alert:{close:"Luk"},authForm:{hidePassword:"Skjul adgangskode",showPassword:"Vis adgangskode",submit:"Fortsæt"},banner:{close:"Luk"},calendar:{nextMonth:"Næste måned",nextYear:"Næste år",prevMonth:"Forrige måned",prevYear:"Forrige år"},carousel:{dots:"Vælg dias til visning",goto:"Gå til slide {slide}",next:"Næste",prev:"Forrige"},chatPrompt:{placeholder:"Skriv din besked her…"},chatPromptSubmit:{label:"Send"},chatReasoning:{thinking:"Tænker…",thought:"Tænkte",thoughtFor:"Tænkte i {duration}"},colorMode:{dark:"Mørk",light:"Lys",switchToDark:"Skift til mørk tilstand",switchToLight:"Skift til lys tilstand",system:"System"},commandPalette:{back:"Tilbage",close:"Luk",noData:"Ingen data",noMatch:"Ingen matchende data",placeholder:"Skriv en kommando eller søg…"},contentSearch:{links:"Links",theme:"Tema"},contentSearchButton:{label:"Søg…"},contentToc:{title:"På denne side"},dropdownMenu:{noMatch:"Ingen matchende data",search:"Søg…"},dashboardSearch:{theme:"Tema"},dashboardSearchButton:{label:"Søg…"},dashboardSidebarCollapse:{collapse:"Sammenfold sidemenu",expand:"Udvid sidemenu"},dashboardSidebarToggle:{close:"Luk sidemenu",open:"Åbn sidemenu"},error:{clear:"Tilbage til forsiden"},fileUpload:{removeFile:"Fjern {filename}"},header:{close:"Luk menu",open:"Åbn menu"},inputMenu:{create:'Opret "{label}"',noData:"Ingen data",noMatch:"Ingen matchende data"},inputNumber:{decrement:"Reducer",increment:"Øg"},modal:{close:"Luk"},pricingTable:{caption:"Prisplaneringssammenligning"},prose:{codeCollapse:{closeText:"Sammenfold",name:"kode",openText:"Udvid"},collapsible:{closeText:"Skjul",name:"egenskaber",openText:"Vis"},pre:{copy:"Kopiér kode til udklipsholder"}},sidebar:{close:"Luk",toggle:"Skift"},selectMenu:{create:'Opret "{label}"',noData:"Ingen data",noMatch:"Ingen matchende data",search:"Søg…"},slideover:{close:"Luk"},table:{noData:"Ingen data"},toast:{close:"Luk"}}}),ij=ve({name:"Deutsch",code:"de",messages:{alert:{close:"Schließen"},authForm:{hidePassword:"Passwort verbergen",showPassword:"Passwort anzeigen",submit:"Weiter"},banner:{close:"Schließen"},calendar:{nextMonth:"Nächster Monat",nextYear:"Nächstes Jahr",prevMonth:"Vorheriger Monat",prevYear:"Vorheriges Jahr"},carousel:{dots:"Folie zur Anzeige auswählen",goto:"Gehe zu {slide}",next:"Weiter",prev:"Zurück"},chatPrompt:{placeholder:"Hier schreiben Sie Ihre Nachricht…"},chatPromptSubmit:{label:"Senden"},chatReasoning:{thinking:"Denkt nach…",thought:"Nachgedacht",thoughtFor:"{duration} nachgedacht"},colorMode:{dark:"Dunkel",light:"Hell",switchToDark:"Zum dunklen Modus wechseln",switchToLight:"Zum hellen Modus wechseln",system:"System"},commandPalette:{back:"Zurück",close:"Schließen",noData:"Keine Daten",noMatch:"Nichts gefunden",placeholder:"Geben Sie einen Befehl ein oder suchen Sie…"},contentSearch:{links:"Links",theme:"Thema"},contentSearchButton:{label:"Suchen…"},contentToc:{title:"Auf dieser Seite"},dropdownMenu:{noMatch:"Nichts gefunden",search:"Suchen…"},dashboardSearch:{theme:"Thema"},dashboardSearchButton:{label:"Suchen…"},dashboardSidebarCollapse:{collapse:"Seitenleiste einklappen",expand:"Seitenleiste erweitern"},dashboardSidebarToggle:{close:"Seitenleiste schließen",open:"Seitenleiste öffnen"},error:{clear:"Zurück zur Startseite"},fileUpload:{removeFile:"{filename} entfernen"},header:{close:"Menü schließen",open:"Menü öffnen"},inputMenu:{create:'"{label}" erstellen',noData:"Keine Daten",noMatch:"Nichts gefunden"},inputNumber:{decrement:"Verringern",increment:"Erhöhen"},modal:{close:"Schließen"},pricingTable:{caption:"Preisplanvergleich"},prose:{codeCollapse:{closeText:"Reduzieren",name:"Code",openText:"Erweitern"},collapsible:{closeText:"Ausblenden",name:"Eigenschaften",openText:"Anzeigen"},pre:{copy:"Code in die Zwischenablage kopieren"}},sidebar:{close:"Schließen",toggle:"Umschalten"},selectMenu:{create:'"{label}" erstellen',noData:"Keine Daten",noMatch:"Nichts gefunden",search:"Suchen…"},slideover:{close:"Schließen"},table:{noData:"Keine Daten"},toast:{close:"Schließen"}}}),lj=ve({name:"Schweizerdeutsch",code:"de-CH",messages:{alert:{close:"Schliessen"},authForm:{hidePassword:"Passwort verbergen",showPassword:"Passwort anzeigen",submit:"Weiter"},banner:{close:"Schliessen"},calendar:{nextMonth:"Nächster Monat",nextYear:"Nächstes Jahr",prevMonth:"Vorheriger Monat",prevYear:"Vorheriges Jahr"},carousel:{dots:"Folie zur Anzeige auswählen",goto:"Gehe zu {slide}",next:"Weiter",prev:"Zurück"},chatPrompt:{placeholder:"Hier schreiben Sie Ihre Nachricht…"},chatPromptSubmit:{label:"Senden"},chatReasoning:{thinking:"Denkt nach…",thought:"Nachgedacht",thoughtFor:"{duration} nachgedacht"},colorMode:{dark:"Dunkel",light:"Hell",switchToDark:"Zum dunklen Modus wechseln",switchToLight:"Zum hellen Modus wechseln",system:"System"},commandPalette:{back:"Zurück",close:"Schliessen",noData:"Keine Daten",noMatch:"Nichts gefunden",placeholder:"Geben Sie einen Befehl ein oder suchen Sie…"},contentSearch:{links:"Links",theme:"Thema"},contentSearchButton:{label:"Suchen…"},contentToc:{title:"Auf dieser Seite"},dropdownMenu:{noMatch:"Nichts gefunden",search:"Suchen…"},dashboardSearch:{theme:"Thema"},dashboardSearchButton:{label:"Suchen…"},dashboardSidebarCollapse:{collapse:"Seitenleiste einklappen",expand:"Seitenleiste erweitern"},dashboardSidebarToggle:{close:"Seitenleiste schliessen",open:"Seitenleiste öffnen"},error:{clear:"Zurück zur Startseite"},fileUpload:{removeFile:"{filename} entfernen"},header:{close:"Menü schliessen",open:"Menü öffnen"},inputMenu:{create:'"{label}" erstellen',noData:"Keine Daten",noMatch:"Nichts gefunden"},inputNumber:{decrement:"Verringern",increment:"Erhöhen"},modal:{close:"Schliessen"},pricingTable:{caption:"Preisplanvergleich"},prose:{codeCollapse:{closeText:"Reduzieren",name:"Code",openText:"Erweitern"},collapsible:{closeText:"Ausblenden",name:"Eigenschaften",openText:"Anzeigen"},pre:{copy:"Code in die Zwischenablage kopieren"}},sidebar:{close:"Schliessen",toggle:"Umschalten"},selectMenu:{create:'"{label}" erstellen',noData:"Keine Daten",noMatch:"Nichts gefunden",search:"Suchen…"},slideover:{close:"Schliessen"},table:{noData:"Keine Daten"},toast:{close:"Schliessen"}}}),cj=ve({name:"Ελληνικά",code:"el",messages:{alert:{close:"Κλείσιμο"},authForm:{hidePassword:"Απόκρυψη κωδικού",showPassword:"Εμφάνιση κωδικού",submit:"Συνέχεια"},banner:{close:"Κλείσιμο"},calendar:{nextMonth:"Επόμενος μήνας",nextYear:"Επόμενο έτος",prevMonth:"Προηγούμενος μήνας",prevYear:"Προηγούμενο έτος"},carousel:{dots:"Επιλέξτε διαφάνεια για εμφάνιση",goto:"Μετάβαση στη διαφάνεια {slide}",next:"Επόμενο",prev:"Προηγούμενο"},chatPrompt:{placeholder:"Εδώ γράψτε το μήνυμά σας…"},chatPromptSubmit:{label:"Αποστολή"},chatReasoning:{thinking:"Σκέφτεται…",thought:"Σκέφτηκε",thoughtFor:"Σκέφτηκε για {duration}"},colorMode:{dark:"Σκοτεινό",light:"Φωτεινό",switchToDark:"Αλλαγή σε σκοτεινή λειτουργία",switchToLight:"Αλλαγή σε φωτεινή λειτουργία",system:"Σύστημα"},commandPalette:{back:"Πίσω",close:"Κλείσιμο",noData:"Δεν υπάρχουν δεδομένα",noMatch:"Δεν βρέθηκαν δεδομένα",placeholder:"Πληκτρολογήστε μια εντολή ή αναζητήστε…"},contentSearch:{links:"Σύνδεσμοι",theme:"Θέμα"},contentSearchButton:{label:"Αναζήτηση…"},contentToc:{title:"Σε αυτή τη σελίδα"},dropdownMenu:{noMatch:"Δεν βρέθηκαν δεδομένα",search:"Αναζήτηση…"},dashboardSearch:{theme:"Θέμα"},dashboardSearchButton:{label:"Αναζήτηση…"},dashboardSidebarCollapse:{collapse:"Σύμπτυξη πλευρικής μπάρας",expand:"Επέκταση πλευρικής μπάρας"},dashboardSidebarToggle:{close:"Κλείσιμο πλευρικής μπάρας",open:"Άνοιγμα πλευρικής μπάρας"},error:{clear:"Επιστροφή στην αρχική"},fileUpload:{removeFile:"Αφαίρεση {filename}"},header:{close:"Κλείσιμο μενού",open:"Άνοιγμα μενού"},inputMenu:{create:'Δημιουργία "{label}"',noData:"Δεν υπάρχουν δεδομένα",noMatch:"Δεν βρέθηκαν δεδομένα"},inputNumber:{decrement:"Μείωση",increment:"Αύξηση"},modal:{close:"Κλείσιμο"},pricingTable:{caption:"Σύγκριση προγραμμάτων τιμολόγησης"},prose:{codeCollapse:{closeText:"Σύμπτυξη",name:"κώδικας",openText:"Επέκταση"},collapsible:{closeText:"Απόκρυψη",name:"ιδιότητες",openText:"Εμφάνιση"},pre:{copy:"Αντιγραφή κώδικα στο πρόχειρο"}},sidebar:{close:"Κλείσιμο",toggle:"Εναλλαγή"},selectMenu:{create:'Δημιουργία "{label}"',noData:"Δεν υπάρχουν δεδομένα",noMatch:"Δεν βρέθηκαν δεδομένα",search:"Αναζήτηση…"},slideover:{close:"Κλείσιμο"},table:{noData:"Δεν υπάρχουν δεδομένα"},toast:{close:"Κλείσιμο"}}}),dj=ve({name:"English (United Kingdom)",code:"en-GB",messages:pr.messages}),fj=ve({name:"Español",code:"es",messages:{alert:{close:"Cerrar"},authForm:{hidePassword:"Ocultar contraseña",showPassword:"Mostrar contraseña",submit:"Continuar"},banner:{close:"Cerrar"},calendar:{nextMonth:"Mes siguiente",nextYear:"Año siguiente",prevMonth:"Mes anterior",prevYear:"Año anterior"},carousel:{dots:"Elegir diapositiva a mostrar",goto:"Ir a la diapositiva {slide}",next:"Siguiente",prev:"Anterior"},chatPrompt:{placeholder:"Escribe tu mensaje aquí…"},chatPromptSubmit:{label:"Enviar"},chatReasoning:{thinking:"Pensando…",thought:"Pensó",thoughtFor:"Pensó durante {duration}"},colorMode:{dark:"Oscuro",light:"Claro",switchToDark:"Cambiar a modo oscuro",switchToLight:"Cambiar a modo claro",system:"Sistema"},commandPalette:{back:"Atrás",close:"Cerrar",noData:"Sin datos",noMatch:"No hay datos coincidentes",placeholder:"Escribe un comando o busca…"},contentSearch:{links:"Enlaces",theme:"Tema"},contentSearchButton:{label:"Buscar…"},contentToc:{title:"En esta página"},dropdownMenu:{noMatch:"No hay datos coincidentes",search:"Buscar…"},dashboardSearch:{theme:"Tema"},dashboardSearchButton:{label:"Buscar…"},dashboardSidebarCollapse:{collapse:"Colapsar barra lateral",expand:"Expandir barra lateral"},dashboardSidebarToggle:{close:"Cerrar barra lateral",open:"Abrir barra lateral"},error:{clear:"Volver al inicio"},fileUpload:{removeFile:"Eliminar {filename}"},header:{close:"Cerrar menú",open:"Abrir menú"},inputMenu:{create:'Crear "{label}"',noData:"Sin datos",noMatch:"No hay datos coincidentes"},inputNumber:{decrement:"Decrementar",increment:"Incrementar"},modal:{close:"Cerrar"},pricingTable:{caption:"Comparación de planes de precios"},prose:{codeCollapse:{closeText:"Colapsar",name:"código",openText:"Expandir"},collapsible:{closeText:"Ocultar",name:"propiedades",openText:"Mostrar"},pre:{copy:"Copiar código al portapapeles"}},sidebar:{close:"Cerrar",toggle:"Alternar"},selectMenu:{create:'Crear "{label}"',noData:"Sin datos",noMatch:"No hay datos coincidentes",search:"Buscar…"},slideover:{close:"Cerrar"},table:{noData:"Sin datos"},toast:{close:"Cerrar"}}}),pj=ve({name:"Eesti",code:"et",messages:{alert:{close:"Sulge"},authForm:{hidePassword:"Peida parool",showPassword:"Näita parooli",submit:"Jätka"},banner:{close:"Sulge"},calendar:{nextMonth:"Järgmine kuu",nextYear:"Järgmine aasta",prevMonth:"Eelmine kuu",prevYear:"Eelmine aasta"},carousel:{dots:"Valige kuvatav slaid",goto:"Mine slaidile {slide}",next:"Järg",prev:"Eel"},chatPrompt:{placeholder:"Siia kirjutage oma sõnum…"},chatPromptSubmit:{label:"Saada"},chatReasoning:{thinking:"Mõtleb…",thought:"Mõtles",thoughtFor:"Mõtles {duration}"},colorMode:{dark:"Tume",light:"Hele",switchToDark:"Lülitu tumedasse režiimi",switchToLight:"Lülitu heledasse režiimi",system:"Süsteem"},commandPalette:{back:"Tagasi",close:"Sulge",noData:"Pole andmeid",noMatch:"Pole vastavaid andmeid",placeholder:"Sisesta käsk või otsi…"},contentSearch:{links:"Lingid",theme:"Teema"},contentSearchButton:{label:"Otsi…"},contentToc:{title:"Sellel lehel"},dropdownMenu:{noMatch:"Pole vastavaid andmeid",search:"Otsi…"},dashboardSearch:{theme:"Teema"},dashboardSearchButton:{label:"Otsi…"},dashboardSidebarCollapse:{collapse:"Ahenda külgriba",expand:"Laienda külgriba"},dashboardSidebarToggle:{close:"Sulge külgriba",open:"Ava külgriba"},error:{clear:"Tagasi avalehele"},fileUpload:{removeFile:"Eemalda {filename}"},header:{close:"Sulge menüü",open:"Ava menüü"},inputMenu:{create:'Loo "{label}"',noData:"Pole andmeid",noMatch:"Pole vastavaid andmeid"},inputNumber:{decrement:"Vähenda",increment:"Suurenda"},modal:{close:"Sulge"},pricingTable:{caption:"Hinna plaanide võrdlus"},prose:{codeCollapse:{closeText:"Ahenda",name:"kood",openText:"Laienda"},collapsible:{closeText:"Peida",name:"omadused",openText:"Näita"},pre:{copy:"Kopeeri kood lõikelauale"}},sidebar:{close:"Sulge",toggle:"Lülita"},selectMenu:{create:'Loo "{label}"',noData:"Pole andmeid",noMatch:"Pole vastavaid andmeid",search:"Otsi…"},slideover:{close:"Sulge"},table:{noData:"Pole andmeid"},toast:{close:"Sulge"}}}),hj=ve({name:"Euskera",code:"eu",messages:{alert:{close:"Itxi"},authForm:{hidePassword:"Pasahitza ezkutatu",showPassword:"Pasahitza erakutsi",submit:"Jarraitu"},banner:{close:"Itxi"},calendar:{nextMonth:"Hurrengo hilabetea",nextYear:"Hurrengo urtea",prevMonth:"Aurretiko hilabetea",prevYear:"Aurretiko urtea"},carousel:{dots:"Erakutsi beharreko diapositiba aukeratu",goto:"Joan diapositibara {slide}",next:"Hurrengoa",prev:"Aurretikoa"},chatPrompt:{placeholder:"Idatzi zure mezua hemen..."},chatPromptSubmit:{label:"Bidali"},chatReasoning:{thinking:"Pentsatzen…",thought:"Pentsatu du",thoughtFor:"{duration} pentsatzen"},colorMode:{dark:"Iluna",light:"Argia",switchToDark:"Aldatu ilunera",switchToLight:"Aldatu argira",system:"Sistema"},commandPalette:{back:"Atzera",close:"Itxi",noData:"Daturik gabe",noMatch:"Ez da datu bat ere aurkitu",placeholder:"Idatzi komando bat edo bilatu..."},contentSearch:{links:"Estekak",theme:"Gaia"},contentSearchButton:{label:"Bilatu…"},contentToc:{title:"Orri honetan"},dropdownMenu:{noMatch:"Ez da datu bat ere aurkitu",search:"Bilatu…"},dashboardSearch:{theme:"Gaia"},dashboardSearchButton:{label:"Bilatu…"},dashboardSidebarCollapse:{collapse:"Alboko barra itxi",expand:"Alboko barra zabaldu"},dashboardSidebarToggle:{close:"Alboko barra itxi",open:"Alboko barra zabaldu"},error:{clear:"Hasierara itzuli"},fileUpload:{removeFile:"Ezabatu {filename}"},header:{close:"Menua itxi",open:"Menua zabaldu"},inputMenu:{create:"Sortu {label}",noData:"Daturik gabe",noMatch:"Ez da datu bat ere aurkitu"},inputNumber:{decrement:"Murriztu",increment:"Handitu"},modal:{close:"Itxi"},pricingTable:{caption:"Prezio-plana alderatzea"},prose:{codeCollapse:{closeText:"Murriztu",name:"kodea",openText:"Zabaldu"},collapsible:{closeText:"Ezkutatu",name:"propietateak",openText:"Erakutsi"},pre:{copy:"Kopiatu kodea clipboard-era"}},sidebar:{close:"Itxi",toggle:"Txandakatu"},selectMenu:{create:"Sortu {label}",noData:"Daturik gabe",noMatch:"Ez da datu bat ere aurkitu",search:"Bilatu…"},slideover:{close:"Itxi"},table:{noData:"Daturik gabe"},toast:{close:"Itxi"}}}),mj=ve({name:"فارسی",code:"fa-IR",dir:"rtl",messages:{alert:{close:"بستن"},authForm:{hidePassword:"پنهان کردن رمز عبور",showPassword:"نمایش رمز عبور",submit:"ادامه"},banner:{close:"بستن"},calendar:{nextMonth:"ماه آینده",nextYear:"سال آینده",prevMonth:"ماه گذشته",prevYear:"سال گذشته"},carousel:{dots:"اسلاید مورد نظر برای نمایش را انتخاب کنید",goto:"رفتن به اسلاید {slide}",next:"بعدی",prev:"قبلی"},chatPrompt:{placeholder:"اینجا پیام خود را بنویسید…"},chatPromptSubmit:{label:"ارسال"},chatReasoning:{thinking:"در حال فکر کردن…",thought:"فکر کرد",thoughtFor:"به مدت {duration} فکر کرد"},colorMode:{dark:"تیره",light:"روشن",switchToDark:"تغییر به حالت تیره",switchToLight:"تغییر به حالت روشن",system:"سیستم"},commandPalette:{back:"بازگشت",close:"بستن",noData:"داده‌ای موجود نیست",noMatch:"داده‌ای یافت نشد",placeholder:"یک دستور وارد کنید یا جستجو کنید…"},contentSearch:{links:"پیوندها",theme:"تم"},contentSearchButton:{label:"جستجو…"},contentToc:{title:"در این صفحه"},dropdownMenu:{noMatch:"داده‌ای یافت نشد",search:"جستجو…"},dashboardSearch:{theme:"تم"},dashboardSearchButton:{label:"جستجو…"},dashboardSidebarCollapse:{collapse:"جمع کردن نوار کناری",expand:"گسترش نوار کناری"},dashboardSidebarToggle:{close:"بستن نوار کناری",open:"باز کردن نوار کناری"},error:{clear:"بازگشت به صفحه اصلی"},fileUpload:{removeFile:"حذف {filename}"},header:{close:"بستن منو",open:"باز کردن منو"},inputMenu:{create:'ایجاد "{label}"',noData:"داده‌ای موجود نیست",noMatch:"داده‌ای یافت نشد"},inputNumber:{decrement:"کاهش",increment:"افزایش"},modal:{close:"بستن"},pricingTable:{caption:"مقایسه طرح قیمت"},prose:{codeCollapse:{closeText:"جمع کردن",name:"کد",openText:"گسترش"},collapsible:{closeText:"پنهان",name:"ویژگی‌ها",openText:"نمایش"},pre:{copy:"کپی کد در کلیپ‌بورد"}},sidebar:{close:"بستن",toggle:"تغییر وضعیت"},selectMenu:{create:'ایجاد "{label}"',noData:"داده‌ای موجود نیست",noMatch:"داده‌ای یافت نشد",search:"جستجو…"},slideover:{close:"بستن"},table:{noData:"داده‌ای موجود نیست"},toast:{close:"بستن"}}}),gj=ve({name:"Suomeksi",code:"fi",messages:{alert:{close:"Sulje"},authForm:{hidePassword:"Piilota salasana",showPassword:"Näytä salasana",submit:"Jatka"},banner:{close:"Sulje"},calendar:{nextMonth:"Seuraava kuukausi",nextYear:"Seuraava vuosi",prevMonth:"Edellinen kuukausi",prevYear:"Edellinen vuosi"},carousel:{dots:"Valitse näytettävä dia",goto:"Siirry sivulle {slide}",next:"Seuraava",prev:"Edellinen"},chatPrompt:{placeholder:"Kirjoita viestisi tähän…"},chatPromptSubmit:{label:"Lähetä"},chatReasoning:{thinking:"Ajattelee…",thought:"Ajatteli",thoughtFor:"Ajatteli {duration}"},colorMode:{dark:"Tumma",light:"Vaalea",switchToDark:"Vaihda tummaan tilaan",switchToLight:"Vaihda vaaleaan tilaan",system:"Järjestelmä"},commandPalette:{back:"Takaisin",close:"Sulje",noData:"Ei tietoja",noMatch:"Ei vastaavia tietoja",placeholder:"Kirjoita komento tai hae…"},contentSearch:{links:"Linkit",theme:"Teema"},contentSearchButton:{label:"Hae…"},contentToc:{title:"Tällä sivulla"},dropdownMenu:{noMatch:"Ei vastaavia tietoja",search:"Hae…"},dashboardSearch:{theme:"Teema"},dashboardSearchButton:{label:"Hae…"},dashboardSidebarCollapse:{collapse:"Supista sivupalkki",expand:"Laajenna sivupalkki"},dashboardSidebarToggle:{close:"Sulje sivupalkki",open:"Avaa sivupalkki"},error:{clear:"Takaisin etusivulle"},fileUpload:{removeFile:"Poista {filename}"},header:{close:"Sulje valikko",open:"Avaa valikko"},inputMenu:{create:'Luo "{label}"',noData:"Ei tietoja",noMatch:"Ei vastaavia tietoja"},inputNumber:{decrement:"Vähennä",increment:"Kasvata"},modal:{close:"Sulje"},pricingTable:{caption:"Hinnoitellut suunnitelmat"},prose:{codeCollapse:{closeText:"Supista",name:"koodi",openText:"Laajenna"},collapsible:{closeText:"Piilota",name:"ominaisuudet",openText:"Näytä"},pre:{copy:"Kopioi koodi leikepöydälle"}},sidebar:{close:"Sulje",toggle:"Vaihda"},selectMenu:{create:'Luo "{label}"',noData:"Ei tietoja",noMatch:"Ei vastaavia tietoja",search:"Hae…"},slideover:{close:"Sulje"},table:{noData:"Ei tietoja"},toast:{close:"Sulje"}}}),vj=ve({name:"Français",code:"fr",messages:{alert:{close:"Fermer"},authForm:{hidePassword:"Masquer le mot de passe",showPassword:"Afficher le mot de passe",submit:"Continuer"},banner:{close:"Fermer"},calendar:{nextMonth:"Mois suivant",nextYear:"Année suivante",prevMonth:"Mois précédent",prevYear:"Année précédente"},carousel:{dots:"Choisir la diapositive à afficher",goto:"Aller à {slide}",next:"Suivant",prev:"Précédent"},chatPrompt:{placeholder:"Écrivez votre message ici…"},chatPromptSubmit:{label:"Envoyer"},chatReasoning:{thinking:"Réflexion en cours…",thought:"Réflexion",thoughtFor:"Réflexion pendant {duration}"},colorMode:{dark:"Sombre",light:"Clair",switchToDark:"Passer en mode sombre",switchToLight:"Passer en mode clair",system:"Système"},commandPalette:{back:"Retour",close:"Fermer",noData:"Aucune donnée",noMatch:"Aucune donnée correspondante",placeholder:"Tapez une commande ou recherchez…"},contentSearch:{links:"Liens",theme:"Thème"},contentSearchButton:{label:"Rechercher…"},contentToc:{title:"Sur cette page"},dropdownMenu:{noMatch:"Aucune donnée correspondante",search:"Rechercher…"},dashboardSearch:{theme:"Thème"},dashboardSearchButton:{label:"Rechercher…"},dashboardSidebarCollapse:{collapse:"Replier la barre latérale",expand:"Déployer la barre latérale"},dashboardSidebarToggle:{close:"Fermer la barre latérale",open:"Ouvrir la barre latérale"},error:{clear:"Retour à l'accueil"},fileUpload:{removeFile:"Supprimer {filename}"},header:{close:"Fermer le menu",open:"Ouvrir le menu"},inputMenu:{create:'Créer "{label}"',noData:"Aucune donnée",noMatch:"Aucune donnée correspondante"},inputNumber:{decrement:"Diminuer",increment:"Augmenter"},modal:{close:"Fermer"},pricingTable:{caption:"Comparaison des plans de prix"},prose:{codeCollapse:{closeText:"Réduire",name:"code",openText:"Développer"},collapsible:{closeText:"Masquer",name:"propriétés",openText:"Afficher"},pre:{copy:"Copier le code dans le presse-papiers"}},sidebar:{close:"Fermer",toggle:"Basculer"},selectMenu:{create:'Créer "{label}"',noData:"Aucune donnée",noMatch:"Aucune donnée correspondante",search:"Rechercher…"},slideover:{close:"Fermer"},table:{noData:"Aucune donnée"},toast:{close:"Fermer"}}}),yj=ve({name:"Galego",code:"gl",messages:{alert:{close:"Pechar"},authForm:{hidePassword:"Ocultar contrasinal",showPassword:"Amosar contrasinal",submit:"Continuar"},banner:{close:"Pechar"},calendar:{nextMonth:"Mes seguinte",nextYear:"Ano seguinte",prevMonth:"Mes anterior",prevYear:"Ano anterior"},carousel:{dots:"Escoller diapositiva a amostrar",goto:"Ir á diapositiva {slide}",next:"Seguinte",prev:"Anterior"},chatPrompt:{placeholder:"Escribe a túa mensaxe aquí…"},chatPromptSubmit:{label:"Enviar"},chatReasoning:{thinking:"Pensando…",thought:"Pensou",thoughtFor:"Pensou durante {duration}"},colorMode:{dark:"Oscuro",light:"Claro",switchToDark:"Cambiar a modo oscuro",switchToLight:"Cambiar a modo claro",system:"Sistema"},commandPalette:{back:"Atrás",close:"Pechar",noData:"Sen datos",noMatch:"Non hai datos coincidentes",placeholder:"Escribe un comando ou busca…"},contentSearch:{links:"Ligazóns",theme:"Tema"},contentSearchButton:{label:"Buscar…"},contentToc:{title:"Nesta páxina"},dropdownMenu:{noMatch:"Non hai datos coincidentes",search:"Buscar…"},dashboardSearch:{theme:"Tema"},dashboardSearchButton:{label:"Buscar…"},dashboardSidebarCollapse:{collapse:"Contraer barra lateral",expand:"Despregar barra lateral"},dashboardSidebarToggle:{close:"Pechar barra lateral",open:"Abrir barra lateral"},error:{clear:"Volver ao inicio"},fileUpload:{removeFile:"Eliminar {filename}"},header:{close:"Pechar menú",open:"Abrir menú"},inputMenu:{create:'Crear "{label}"',noData:"Sen datos",noMatch:"Non hai datos coincidentes"},inputNumber:{decrement:"Diminuír",increment:"Aumentar"},modal:{close:"Pechar"},pricingTable:{caption:"Comparación de plans de prezos"},prose:{codeCollapse:{closeText:"Contraer",name:"código",openText:"Despregar"},collapsible:{closeText:"Ocultar",name:"propiedades",openText:"Amosar"},pre:{copy:"Copiar código ao portapapeis"}},sidebar:{close:"Pechar",toggle:"Alternar"},selectMenu:{create:'Crear "{label}"',noData:"Sen datos",noMatch:"Non hai datos coincidentes",search:"Buscar…"},slideover:{close:"Pechar"},table:{noData:"Sen datos"},toast:{close:"Pechar"}}}),bj=ve({name:"Hebrew",code:"he",dir:"rtl",messages:{alert:{close:"סגור"},authForm:{hidePassword:"הסתר סיסמה",showPassword:"הצג סיסמה",submit:"המשך"},banner:{close:"סגור"},calendar:{nextMonth:"חודש הבא",nextYear:"שנה הבאה",prevMonth:"חודש קודם",prevYear:"שנה קודמת"},carousel:{dots:"בחר שקופית להצגה",goto:"מעבר ל {slide}",next:"הבא",prev:"הקודם"},chatPrompt:{placeholder:"כתוב את ההודעה שלך כאן…"},chatPromptSubmit:{label:"שלח"},chatReasoning:{thinking:"חושב…",thought:"חשב",thoughtFor:"חשב במשך {duration}"},colorMode:{dark:"כהה",light:"בהיר",switchToDark:"עבור למצב כהה",switchToLight:"עבור למצב בהיר",system:"מערכת"},commandPalette:{back:"חזור",close:"סגור",noData:"אין נתונים זמינים",noMatch:"לא נמצאה התאמה",placeholder:"הקלד פקודה…"},contentSearch:{links:"קישורים",theme:"ערכת נושא"},contentSearchButton:{label:"חיפוש…"},contentToc:{title:"בדף זה"},dropdownMenu:{noMatch:"לא נמצאה התאמה",search:"חפש…"},dashboardSearch:{theme:"ערכת נושא"},dashboardSearchButton:{label:"חיפוש…"},dashboardSidebarCollapse:{collapse:"כווץ סרגל צד",expand:"הרחב סרגל צד"},dashboardSidebarToggle:{close:"סגור סרגל צד",open:"פתח סרגל צד"},error:{clear:"חזרה לדף הבית"},fileUpload:{removeFile:"הסר {filename}"},header:{close:"סגור תפריט",open:"פתח תפריט"},inputMenu:{create:'צור "{label}"',noData:"אין נתונים",noMatch:"אין התאמה"},inputNumber:{decrement:"הפחת",increment:"הוסף"},modal:{close:"סגור"},pricingTable:{caption:"שיפור מחירון"},prose:{codeCollapse:{closeText:"כווץ",name:"קוד",openText:"הרחב"},collapsible:{closeText:"הסתר",name:"מאפיינים",openText:"הצג"},pre:{copy:"העתק קוד ללוח"}},sidebar:{close:"סגור",toggle:"החלף"},selectMenu:{create:'צור "{label}"',noData:"אין נתונים",noMatch:"לא נמצאה התאמה",search:"חפש…"},slideover:{close:"סגור"},table:{noData:"אין נתונים להצגה"},toast:{close:"סגור"}}}),Ej=ve({name:"Hindi",code:"hi",messages:{alert:{close:"बंद करें"},authForm:{hidePassword:"पासवर्ड छिपाएं",showPassword:"पासवर्ड दिखाएं",submit:"जारी रखें"},banner:{close:"बंद करें"},calendar:{nextMonth:"अगला महीना",nextYear:"अगला वर्ष",prevMonth:"पिछला महीना",prevYear:"पिछला वर्ष"},carousel:{dots:"प्रदर्शित करने के लिए स्लाइड चुनें",goto:"स्लाइड {slide} पर जाएं",next:"अगला",prev:"पिछला"},chatPrompt:{placeholder:"यहाँ आपका संदेश लिखें…"},chatPromptSubmit:{label:"भेजें"},chatReasoning:{thinking:"सोच रहा है…",thought:"सोचा",thoughtFor:"{duration} सोचा"},colorMode:{dark:"गहरा",light:"हल्का",switchToDark:"गहरे मोड में बदलें",switchToLight:"हल्के मोड में बदलें",system:"सिस्टम"},commandPalette:{back:"वापस",close:"बंद करें",noData:"कोई डेटा नहीं",noMatch:"कोई मेल खाता डेटा नहीं",placeholder:"एक आदेश या खोज टाइप करें…"},contentSearch:{links:"लिंक्स",theme:"थीम"},contentSearchButton:{label:"खोजें…"},contentToc:{title:"इस पृष्ठ पर"},dropdownMenu:{noMatch:"कोई मेल खाता डेटा नहीं",search:"खोजें…"},dashboardSearch:{theme:"थीम"},dashboardSearchButton:{label:"खोजें…"},dashboardSidebarCollapse:{collapse:"साइडबार संकुचित करें",expand:"साइडबार विस्तारित करें"},dashboardSidebarToggle:{close:"साइडबार बंद करें",open:"साइडबार खोलें"},error:{clear:"होम पेज पर वापस जाएं"},fileUpload:{removeFile:"{filename} हटाएं"},header:{close:"मेनू बंद करें",open:"मेनू खोलें"},inputMenu:{create:'"{label}" बनाएँ',noData:"कोई डेटा नहीं",noMatch:"कोई मेल खाता डेटा नहीं"},inputNumber:{decrement:"घटाना",increment:"बढ़ाना"},modal:{close:"बंद करें"},pricingTable:{caption:"कीमत योजनाओं की तुलना"},prose:{codeCollapse:{closeText:"संकुचित करें",name:"कोड",openText:"विस्तार करें"},collapsible:{closeText:"छिपाएँ",name:"गुण",openText:"दिखाएँ"},pre:{copy:"कोड को क्लिपबोर्ड पर कॉपी करें"}},sidebar:{close:"बंद करें",toggle:"टॉगल करें"},selectMenu:{create:'"{label}" बनाएँ',noData:"कोई डेटा नहीं",noMatch:"कोई मेल खाता डेटा नहीं",search:"खोजें…"},slideover:{close:"बंद करें"},table:{noData:"कोई डेटा नहीं"},toast:{close:"बंद करें"}}}),Cj=ve({name:"Hrvatski",code:"hr",messages:{alert:{close:"Zatvori"},authForm:{hidePassword:"Sakrij lozinku",showPassword:"Prikaži lozinku",submit:"Nastavi"},banner:{close:"Zatvori"},calendar:{nextMonth:"Sljedeći mjesec",nextYear:"Sljedeća godina",prevMonth:"Prethodni mjesec",prevYear:"Prethodna godina"},carousel:{dots:"Odaberite slajd za prikaz",goto:"Idi na slajd {slide}",next:"Sljedeći",prev:"Prethodni"},chatPrompt:{placeholder:"Upišite svoju poruku ovdje…"},chatPromptSubmit:{label:"Pošalji upit"},chatReasoning:{thinking:"Razmišlja…",thought:"Razmislio",thoughtFor:"Razmišljao {duration}"},colorMode:{dark:"Tamno",light:"Svijetlo",switchToDark:"Prebaci na tamni način rada",switchToLight:"Prebaci na svijetli način rada",system:"Sustav"},commandPalette:{back:"Natrag",close:"Zatvori",noData:"Nema podataka",noMatch:"Nema odgovarajućih podataka",placeholder:"Upišite naredbu ili pretraživanje…"},contentSearch:{links:"Poveznice",theme:"Tema"},contentSearchButton:{label:"Pretraživanje…"},contentToc:{title:"Na ovoj stranici"},dropdownMenu:{noMatch:"Nema odgovarajućih podataka",search:"Pretraživanje…"},dashboardSearch:{theme:"Tema"},dashboardSearchButton:{label:"Pretraživanje…"},dashboardSidebarCollapse:{collapse:"Smanji bočnu traku",expand:"Proširi bočnu traku"},dashboardSidebarToggle:{close:"Zatvori bočnu traku",open:"Otvori bočnu traku"},error:{clear:"Natrag na početnu"},fileUpload:{removeFile:"Ukloni {filename}"},header:{close:"Zatvori izbornik",open:"Otvori izbornik"},inputMenu:{create:'Stvori "{label}"',noData:"Nema podataka",noMatch:"Nema odgovarajućih podataka"},inputNumber:{decrement:"Smanji",increment:"Povećaj"},modal:{close:"Zatvori"},pricingTable:{caption:"Usporedba cjenovnih planova"},prose:{codeCollapse:{closeText:"Smanji",name:"kod",openText:"Proširi"},collapsible:{closeText:"Sakrij",name:"svojstva",openText:"Prikaži"},pre:{copy:"Kopiraj kod u međuspremnik"}},sidebar:{close:"Zatvori",toggle:"Prebaci"},selectMenu:{create:'Stvori "{label}"',noData:"Nema podataka",noMatch:"Nema odgovarajućih podataka",search:"Pretraživanje…"},slideover:{close:"Zatvori"},table:{noData:"Nema podataka"},toast:{close:"Zatvori"}}}),xj=ve({name:"Magyar",code:"hu",messages:{alert:{close:"Bezárás"},authForm:{hidePassword:"Jelszó elrejtése",showPassword:"Jelszó megjelenítése",submit:"Folytatás"},banner:{close:"Bezárás"},calendar:{nextMonth:"Következő hónap",nextYear:"Következő év",prevMonth:"Előző hónap",prevYear:"Előző év"},carousel:{dots:"Válassza ki a megjelenítendő diát",goto:"Ugrás ide {slide}",next:"Következő",prev:"Előző"},chatPrompt:{placeholder:"Írd be a kérdésedet itt…"},chatPromptSubmit:{label:"Küldés"},chatReasoning:{thinking:"Gondolkodik…",thought:"Gondolkodott",thoughtFor:"{duration} gondolkodott"},colorMode:{dark:"Sötét",light:"Világos",switchToDark:"Váltás sötét módra",switchToLight:"Váltás világos módra",system:"Rendszer"},commandPalette:{back:"Vissza",close:"Bezárás",noData:"Nincs adat",noMatch:"Nincs találat",placeholder:"Írjon be egy parancsot vagy keressen…"},contentSearch:{links:"Linkek",theme:"Téma"},contentSearchButton:{label:"Keresés…"},contentToc:{title:"Ezen az oldalon"},dropdownMenu:{noMatch:"Nincs találat",search:"Keresés…"},dashboardSearch:{theme:"Téma"},dashboardSearchButton:{label:"Keresés…"},dashboardSidebarCollapse:{collapse:"Oldalsáv összecsukása",expand:"Oldalsáv kinyitása"},dashboardSidebarToggle:{close:"Oldalsáv bezárása",open:"Oldalsáv megnyitása"},error:{clear:"Vissza a főoldalra"},fileUpload:{removeFile:"{filename} eltávolítása"},header:{close:"Menü bezárása",open:"Menü megnyitása"},inputMenu:{create:'"{label}" létrehozása',noData:"Nincs adat",noMatch:"Nincs találat"},inputNumber:{decrement:"Csökkent",increment:"Növel"},modal:{close:"Bezárás"},pricingTable:{caption:"Árlista összehasonlítása"},prose:{codeCollapse:{closeText:"Összecsuk",name:"kód",openText:"Kinyit"},collapsible:{closeText:"Elrejt",name:"tulajdonságok",openText:"Mutat"},pre:{copy:"Kód másolása a vágólapra"}},sidebar:{close:"Bezárás",toggle:"Váltás"},selectMenu:{create:'"{label}" létrehozása',noData:"Nincs adat",noMatch:"Nincs találat",search:"Keresés…"},slideover:{close:"Bezárás"},table:{noData:"Nincs adat"},toast:{close:"Bezárás"}}}),Dj=ve({name:"Հայերեն",code:"hy",messages:{alert:{close:"Փակել"},authForm:{hidePassword:"Թաքցնել գաղտնաբառը",showPassword:"Ցույց տալ գաղտնաբառը",submit:"Շարունակել"},banner:{close:"Փակել"},calendar:{nextMonth:"Հաջորդ ամիս",nextYear:"Հաջորդ տարի",prevMonth:"Նախորդ ամիս",prevYear:"Նախորդ տարի"},carousel:{dots:"Ընտրեք ցուցադրելու սլայդը",goto:"Անցնել {slide}-ին",next:"Առաջ",prev:"Հետ"},chatPrompt:{placeholder:"Շարունակել"},chatPromptSubmit:{label:"Շարունակել"},chatReasoning:{thinking:"Մտածում է…",thought:"Մտածեց",thoughtFor:"Մտածեց {duration}"},colorMode:{dark:"Մուգ",light:"Լուսավոր",switchToDark:"Անցնել մուգ ռեժիմի",switchToLight:"Անցնել լուսավոր ռեժիմի",system:"Համակարգային"},commandPalette:{back:"Հետ",close:"Փակել",noData:"Տվյալներ չկան",noMatch:"Համընկնումներ չեն գտնվել",placeholder:"Մուտքագրեք հրաման կամ որոնեք…"},contentSearch:{links:"Հղումներ",theme:"Թեմա"},contentSearchButton:{label:"Որոնել…"},contentToc:{title:"Այս էջում"},dropdownMenu:{noMatch:"Համընկնումներ չեն գտնվել",search:"Որոնում…"},dashboardSearch:{theme:"Թեմա"},dashboardSearchButton:{label:"Որոնել…"},dashboardSidebarCollapse:{collapse:"Կոլապսել կողային վահանակը",expand:"Ընդլայնել կողային վահանակը"},dashboardSidebarToggle:{close:"Փակել կողային վահանակը",open:"Բացել կողային վահանակը"},error:{clear:"Վերադառնալ գլխավոր էջ"},fileUpload:{removeFile:"Ջնջել {filename}"},header:{close:"Փակել ընտրացանկը",open:"Բացել ընտրացանկը"},inputMenu:{create:'Ստեղծել "{label}"',noData:"Տվյալներ չկան",noMatch:"Համընկնումներ չեն գտնվել"},inputNumber:{decrement:"Պակասեցնել",increment:"Ավելացնել"},modal:{close:"Փակել"},pricingTable:{caption:"Գնումների համեմատություն"},prose:{codeCollapse:{closeText:"Կոլապսել",name:"կոդ",openText:"Ընդլայնել"},collapsible:{closeText:"Թաքցնել",name:"հատկություններ",openText:"Ցույց տալ"},pre:{copy:"Պատճենել կոդը սեղմատախտակին"}},sidebar:{close:"Փակել",toggle:"Փոխարկել"},selectMenu:{create:'Ստեղծել "{label}"',noData:"Տվյալներ չկան",noMatch:"Համընկնումներ չեն գտնվել",search:"Որոնում…"},slideover:{close:"Փակել"},table:{noData:"Տվյալներ չկան"},toast:{close:"Փակել"}}}),wj=ve({name:"Bahasa Indonesia",code:"id",messages:{alert:{close:"Tutup"},authForm:{hidePassword:"Sembunyikan kata sandi",showPassword:"Tampilkan kata sandi",submit:"Lanjutkan"},banner:{close:"Tutup"},calendar:{nextMonth:"Bulan berikutnya",nextYear:"Tahun berikutnya",prevMonth:"Bulan sebelumnya",prevYear:"Tahun sebelumnya"},carousel:{dots:"Pilih slide untuk ditampilkan",goto:"Pergi ke slide {slide}",next:"Berikutnya",prev:"Sebelumnya"},chatPrompt:{placeholder:"Tulis pesan Anda di sini…"},chatPromptSubmit:{label:"Kirim"},chatReasoning:{thinking:"Berpikir…",thought:"Telah berpikir",thoughtFor:"Berpikir selama {duration}"},colorMode:{dark:"Gelap",light:"Terang",switchToDark:"Beralih ke mode gelap",switchToLight:"Beralih ke mode terang",system:"Sistem"},commandPalette:{back:"Kembali",close:"Tutup",noData:"Tidak ada data",noMatch:"Tidak ada data yang cocok",placeholder:"Ketik perintah atau cari…"},contentSearch:{links:"Tautan",theme:"Tema"},contentSearchButton:{label:"Cari…"},contentToc:{title:"Pada halaman ini"},dropdownMenu:{noMatch:"Tidak ada data yang cocok",search:"Cari…"},dashboardSearch:{theme:"Tema"},dashboardSearchButton:{label:"Cari…"},dashboardSidebarCollapse:{collapse:"Ciutkan sidebar",expand:"Perluas sidebar"},dashboardSidebarToggle:{close:"Tutup sidebar",open:"Buka sidebar"},error:{clear:"Kembali ke beranda"},fileUpload:{removeFile:"Hapus {filename}"},header:{close:"Tutup menu",open:"Buka menu"},inputMenu:{create:'Buat "{label}"',noData:"Tidak ada data",noMatch:"Tidak ada data yang cocok"},inputNumber:{decrement:"Kurangi",increment:"Tambah"},modal:{close:"Tutup"},pricingTable:{caption:"Perbandingan Harga"},prose:{codeCollapse:{closeText:"Ciutkan",name:"kode",openText:"Perluas"},collapsible:{closeText:"Sembunyikan",name:"properti",openText:"Tampilkan"},pre:{copy:"Salin kode ke clipboard"}},sidebar:{close:"Tutup",toggle:"Alihkan"},selectMenu:{create:'Buat "{label}"',noData:"Tidak ada data",noMatch:"Tidak ada data yang cocok",search:"Cari…"},slideover:{close:"Tutup"},table:{noData:"Tidak ada data"},toast:{close:"Tutup"}}}),Aj=ve({name:"Icelandic",code:"is",messages:{alert:{close:"Loka"},authForm:{hidePassword:"Fela lykilorð",showPassword:"Sýna lykilorð",submit:"Áfram"},banner:{close:"Loka"},calendar:{nextMonth:"Næsti mánuður",nextYear:"Næsta ár",prevMonth:"Fyrri mánuður",prevYear:"Fyrra ár"},carousel:{dots:"Veldu mynd til að sýna",goto:"Fara á mynd {slide}",next:"Næsta",prev:"Fyrri"},chatPrompt:{placeholder:"Skrifaðu skilaboðin þín hér…"},chatPromptSubmit:{label:"Senda fyrirspurn"},chatReasoning:{thinking:"Hugsar…",thought:"Hugsaði",thoughtFor:"Hugsaði í {duration}"},colorMode:{dark:"Dökkt",light:"Ljóst",switchToDark:"Skipta yfir í dökkan ham",switchToLight:"Skipta yfir í ljósan ham",system:"Kerfi"},commandPalette:{back:"Til baka",close:"Loka",noData:"Engin gögn",noMatch:"Engin gögn fundust",placeholder:"Sláðu inn skipun eða leitaðu…"},contentSearch:{links:"Tenglar",theme:"Þema"},contentSearchButton:{label:"Leita…"},contentToc:{title:"Á þessari síðu"},dropdownMenu:{noMatch:"Engin gögn fundust",search:"Leita…"},dashboardSearch:{theme:"Þema"},dashboardSearchButton:{label:"Leita…"},dashboardSidebarCollapse:{collapse:"Fella hliðarstiku saman",expand:"Stækka hliðarstiku"},dashboardSidebarToggle:{close:"Loka hliðarstiku",open:"Opna hliðarstiku"},error:{clear:"Til baka heim"},fileUpload:{removeFile:"Fjarlægja {filename}"},header:{close:"Loka valmynd",open:"Opna valmynd"},inputMenu:{create:'Búa til "{label}"',noData:"Engin gögn",noMatch:"Engin gögn fundust"},inputNumber:{decrement:"Minnka",increment:"Auka"},modal:{close:"Loka"},pricingTable:{caption:"Samanburður verðflokka"},prose:{codeCollapse:{closeText:"Fella saman",name:"kóði",openText:"Stækka"},collapsible:{closeText:"Fela",name:"eiginleikar",openText:"Sýna"},pre:{copy:"Afrita kóða á klippiborð"}},sidebar:{close:"Loka",toggle:"Skipta"},selectMenu:{create:'Búa til "{label}"',noData:"Engin gögn",noMatch:"Engin gögn fundust",search:"Leita…"},slideover:{close:"Loka"},table:{noData:"Engin gögn"},toast:{close:"Loka"}}}),Bj=ve({name:"Italiano",code:"it",messages:{alert:{close:"Chiudi"},authForm:{hidePassword:"Nascondi password",showPassword:"Mostra password",submit:"Continua"},banner:{close:"Chiudi"},calendar:{nextMonth:"Mese successivo",nextYear:"Anno successivo",prevMonth:"Mese precedente",prevYear:"Anno precedente"},carousel:{dots:"Scegli diapositiva da visualizzare",goto:"Vai alla slide {slide}",next:"Successiva",prev:"Precedente"},chatPrompt:{placeholder:"Scrivi il tuo messaggio qui…"},chatPromptSubmit:{label:"Invia"},chatReasoning:{thinking:"Pensando…",thought:"Ha pensato",thoughtFor:"Ha pensato per {duration}"},colorMode:{dark:"Scuro",light:"Chiaro",switchToDark:"Passa alla modalità scura",switchToLight:"Passa alla modalità chiara",system:"Sistema"},commandPalette:{back:"Indietro",close:"Chiudi",noData:"Nessun dato",noMatch:"Nessun dato corrispondente",placeholder:"Digita un comando o cerca…"},contentSearch:{links:"Collegamenti",theme:"Tema"},contentSearchButton:{label:"Cerca…"},contentToc:{title:"In questa pagina"},dropdownMenu:{noMatch:"Nessun dato corrispondente",search:"Cerca…"},dashboardSearch:{theme:"Tema"},dashboardSearchButton:{label:"Cerca…"},dashboardSidebarCollapse:{collapse:"Comprimi barra laterale",expand:"Espandi barra laterale"},dashboardSidebarToggle:{close:"Chiudi barra laterale",open:"Apri barra laterale"},error:{clear:"Torna alla home"},fileUpload:{removeFile:"Rimuovi {filename}"},header:{close:"Chiudi menu",open:"Apri menu"},inputMenu:{create:'Crea "{label}"',noData:"Nessun dato",noMatch:"Nessun dato corrispondente"},inputNumber:{decrement:"Diminuisci",increment:"Aumenta"},modal:{close:"Chiudi"},pricingTable:{caption:"Confronto dei piani di prezzo"},prose:{codeCollapse:{closeText:"Comprimi",name:"codice",openText:"Espandi"},collapsible:{closeText:"Nascondi",name:"proprietà",openText:"Mostra"},pre:{copy:"Copia codice negli appunti"}},sidebar:{close:"Chiudi",toggle:"Alterna"},selectMenu:{create:'Crea "{label}"',noData:"Nessun dato",noMatch:"Nessun dato corrispondente",search:"Cerca…"},slideover:{close:"Chiudi"},table:{noData:"Nessun dato"},toast:{close:"Chiudi"}}}),_j=ve({name:"日本語",code:"ja",messages:{alert:{close:"閉じる"},authForm:{hidePassword:"パスワードを隠す",showPassword:"パスワードを表示",submit:"続ける"},banner:{close:"閉じる"},calendar:{nextMonth:"翌月",nextYear:"翌年",prevMonth:"前月",prevYear:"前年"},carousel:{dots:"表示するスライドを選択",goto:"スライド {slide} に移動",next:"次へ",prev:"前へ"},chatPrompt:{placeholder:"ここにメッセージを入力してください…"},chatPromptSubmit:{label:"送信"},chatReasoning:{thinking:"考えています…",thought:"考えました",thoughtFor:"{duration}考えました"},colorMode:{dark:"ダーク",light:"ライト",switchToDark:"ダークモードに切り替え",switchToLight:"ライトモードに切り替え",system:"システム"},commandPalette:{back:"戻る",close:"閉じる",noData:"データがありません",noMatch:"一致するデータがありません",placeholder:"コマンドを入力するか検索…"},contentSearch:{links:"リンク",theme:"テーマ"},contentSearchButton:{label:"検索…"},contentToc:{title:"このページ内"},dropdownMenu:{noMatch:"一致するデータがありません",search:"検索…"},dashboardSearch:{theme:"テーマ"},dashboardSearchButton:{label:"検索…"},dashboardSidebarCollapse:{collapse:"サイドバーを折りたたむ",expand:"サイドバーを展開"},dashboardSidebarToggle:{close:"サイドバーを閉じる",open:"サイドバーを開く"},error:{clear:"ホームに戻る"},fileUpload:{removeFile:"{filename}を削除"},header:{close:"メニューを閉じる",open:"メニューを開く"},inputMenu:{create:'"{label}"を作成',noData:"データがありません",noMatch:"一致するデータがありません"},inputNumber:{decrement:"減らす",increment:"増やす"},modal:{close:"閉じる"},pricingTable:{caption:"価格プランの比較"},prose:{codeCollapse:{closeText:"折りたたむ",name:"コード",openText:"展開"},collapsible:{closeText:"非表示",name:"プロパティ",openText:"表示"},pre:{copy:"コードをクリップボードにコピー"}},sidebar:{close:"閉じる",toggle:"切り替え"},selectMenu:{create:'"{label}"を作成',noData:"データがありません",noMatch:"一致するデータがありません",search:"検索…"},slideover:{close:"閉じる"},table:{noData:"データがありません"},toast:{close:"閉じる"}}}),kj=ve({name:"ქართული",code:"ka",messages:{alert:{close:"დახურვა"},authForm:{hidePassword:"პაროლის დამალვა",showPassword:"პაროლის ჩვენება",submit:"გაგრძელება"},banner:{close:"დახურვა"},calendar:{nextMonth:"შემდეგი თვე",nextYear:"შემდეგი წელი",prevMonth:"წინა თვე",prevYear:"წინა წელი"},carousel:{dots:"აირჩიეთ სლაიდი საჩვენებლად",goto:"გადასვლა სლაიდ {slide}-ზე",next:"შემდეგი",prev:"წინა"},chatPrompt:{placeholder:"დაწერეთ თქვენი მესიჯი აქ…"},chatPromptSubmit:{label:"შეტყობინების გაგზავნა"},chatReasoning:{thinking:"ფიქრობს…",thought:"იფიქრა",thoughtFor:"{duration} ფიქრობდა"},colorMode:{dark:"ბნელი",light:"ნათელი",switchToDark:"ბნელ რეჯიმზე გადასვლა",switchToLight:"ნათელ რეჯიმზე გადასვლა",system:"სისტემური"},commandPalette:{back:"უკან",close:"დახურვა",noData:"მონაცემები არ არის",noMatch:"შესატყვისი მონაცემები არ არის",placeholder:"ჩაწერეთ ბრძანება ან ძიება…"},contentSearch:{links:"ბმულები",theme:"თემა"},contentSearchButton:{label:"ძიება…"},contentToc:{title:"ამ გვერდზე"},dropdownMenu:{noMatch:"შესატყვისი მონაცემები არ არის",search:"ძიება…"},dashboardSearch:{theme:"თემა"},dashboardSearchButton:{label:"ძიება…"},dashboardSidebarCollapse:{collapse:"გვერდითი ზოლის ჩაკეცვა",expand:"გვერდითი ზოლის გაშლა"},dashboardSidebarToggle:{close:"გვერდითი ზოლის დახურვა",open:"გვერდითი ზოლის გახსნა"},error:{clear:"მთავარზე დაბრუნება"},fileUpload:{removeFile:"მოაშორე {filename}"},header:{close:"მენიუს დახურვა",open:"მენიუს გახსნა"},inputMenu:{create:'შექმენი "{label}"',noData:"მონაცემები არ არის",noMatch:"შესატყვისი მონაცემები არ არის"},inputNumber:{decrement:"დაკლება",increment:"დამატება"},modal:{close:"დახურვა"},pricingTable:{caption:"ფასის გეგმების შედარება"},prose:{codeCollapse:{closeText:"ჩაკეცვა",name:"კოდი",openText:"გაშლა"},collapsible:{closeText:"დახურვა",name:"თვისებები",openText:"ჩვენება"},pre:{copy:"კოდის კოპირება ბუფერში"}},sidebar:{close:"დახურვა",toggle:"გადართვა"},selectMenu:{create:'დაამატე "{label}"',noData:"მონაცემები არ არის",noMatch:"შესატყვისი მონაცემები არ არის",search:"ძიება…"},slideover:{close:"დახურვა"},table:{noData:"მონაცემები არ არის"},toast:{close:"დახურვა"}}}),Sj=ve({name:"Қазақша",code:"kk",messages:{alert:{close:"Жабу"},authForm:{hidePassword:"Құпия сөзді жасыру",showPassword:"Құпия сөзді көрсету",submit:"Жалғастыру"},banner:{close:"Жабу"},calendar:{nextMonth:"Келесі ай",nextYear:"Келесі жыл",prevMonth:"Алдыңғы ай",prevYear:"Алдыңғы жыл"},carousel:{dots:"Көрсету үшін слайдты таңдаңыз",goto:"{slide} слайдқа өту",next:"Келесі",prev:"Алдыңғы"},chatPrompt:{placeholder:"Хабар енгізіңіз…"},chatPromptSubmit:{label:"Жіберу"},chatReasoning:{thinking:"Ойлануда…",thought:"Ойланды",thoughtFor:"{duration} ойланды"},colorMode:{dark:"Қараңғы",light:"Ашық",switchToDark:"Қараңғы режимге ауысу",switchToLight:"Ашық режимге ауысу",system:"Жүйе"},commandPalette:{back:"Артқа",close:"Жабу",noData:"Деректер жоқ",noMatch:"Сәйкес келетін деректер жоқ",placeholder:"Команда енгізіңіз немесе іздеңіз…"},contentSearch:{links:"Сілтемелер",theme:"Тақырып"},contentSearchButton:{label:"Іздеу"},contentToc:{title:"Мазмұны"},dropdownMenu:{noMatch:"Сәйкес келетін деректер жоқ",search:"Іздеу…"},dashboardSearch:{theme:"Тақырып"},dashboardSearchButton:{label:"Іздеу"},dashboardSidebarCollapse:{collapse:"Жию",expand:"Кеңейту"},dashboardSidebarToggle:{close:"Жабу",open:"Ашу"},error:{clear:"Тазалау"},fileUpload:{removeFile:"{filename} жою"},header:{close:"Жабу",open:"Ашу"},inputMenu:{create:'"{label}" жасау',noData:"Деректер жоқ",noMatch:"Сәйкес келетін деректер жоқ"},inputNumber:{decrement:"Азайту",increment:"Арттыру"},modal:{close:"Жабу"},pricingTable:{caption:"Баға кестесі"},prose:{codeCollapse:{closeText:"Жиыру",name:"код",openText:"Кеңейту"},collapsible:{closeText:"Жасыру",name:"қасиеттер",openText:"Көрсету"},pre:{copy:"Кодты алмасу буферіне көшіру"}},sidebar:{close:"Жабу",toggle:"Ауыстыру"},selectMenu:{create:'"{label}" жасау',noData:"Деректер жоқ",noMatch:"Сәйкес келетін деректер жоқ",search:"Іздеу…"},slideover:{close:"Жабу"},table:{noData:"Деректер жоқ"},toast:{close:"Жабу"}}}),Tj=ve({name:"ភាសាខ្មែរ",code:"km",messages:{alert:{close:"បិទ"},authForm:{hidePassword:"លាក់ពាក្យសម្ងាត់",showPassword:"បង្ហាញពាក្យសម្ងាត់",submit:"បន្ត"},banner:{close:"បិទ"},calendar:{nextMonth:"ខែបន្ទាប់",nextYear:"ឆ្នាំបន្ទាប់",prevMonth:"ខែមុន",prevYear:"ឆ្នាំមុន"},carousel:{dots:"ជ្រើសរើស​ស្លាយ​ដើម្បី​បង្ហាញ",goto:"ឡើងទៅស្លាយ {slide}",next:"បន្ទាប់",prev:"មុន"},chatPrompt:{placeholder:"សួរស្រឡាញ់មួយបីនេះមានប្រភេទបានទាមទារទេ…"},chatPromptSubmit:{label:"សាក់"},chatReasoning:{thinking:"កំពុងគិត…",thought:"គិតរួចហើយ",thoughtFor:"គិតរយៈពេល {duration}"},colorMode:{dark:"ងងឹត",light:"ភ្លឺ",switchToDark:"ប្តូរទៅរបៀបងងឹត",switchToLight:"ប្តូរទៅរបៀបភ្លឺ",system:"ប្រព័ន្ធ"},commandPalette:{back:"ត្រឡប់",close:"បិទ",noData:"មិនមានទិន្នន័យ",noMatch:"មិនមានទិន្នន័យដែលត្រូវគ្នាទេ",placeholder:"វាយពាក្យបញ្ជា ឬស្វែងរក…"},contentSearch:{links:"តំណភ្ជាប់",theme:"រូបរាង"},contentSearchButton:{label:"ស្វែងរក…"},contentToc:{title:"នៅលើទំព័រនេះ"},dropdownMenu:{noMatch:"មិនមានទិន្នន័យដែលត្រូវគ្នាទេ",search:"ស្វែងរក…"},dashboardSearch:{theme:"រូបរាង"},dashboardSearchButton:{label:"ស្វែងរក…"},dashboardSidebarCollapse:{collapse:"បង្រួមបារចំហៀង",expand:"ពង្រីកបារចំហៀង"},dashboardSidebarToggle:{close:"បិទបារចំហៀង",open:"បើកបារចំហៀង"},error:{clear:"ត្រឡប់ទៅទំព័រដើម"},fileUpload:{removeFile:"លុប {filename}"},header:{close:"បិទម៉ឺនុយ",open:"បើកម៉ឺនុយ"},inputMenu:{create:'បង្កើត "{label}"',noData:"មិនមានទិន្នន័យ",noMatch:"មិនមានទិន្នន័យដែលត្រូវគ្នាទេ"},inputNumber:{decrement:"បន្ថយ",increment:"បង្កើន"},modal:{close:"បិទ"},pricingTable:{caption:"បញ្ជីតម្លៃបន្ទប់បន្ទប់"},prose:{codeCollapse:{closeText:"បង្រួម",name:"កូដ",openText:"ពង្រីក"},collapsible:{closeText:"លាក់",name:"លក្ខណៈសម្បត្តិ",openText:"បង្ហាញ"},pre:{copy:"ចម្លងកូដទៅក្ដារតម្បៀតខ្ទាស់"}},sidebar:{close:"បិទ",toggle:"បិទ/បើក"},selectMenu:{create:'បង្កើត "{label}"',noData:"មិនមានទិន្នន័យ",noMatch:"មិនមានទិន្នន័យដែលត្រូវគ្នាទេ",search:"ស្វែងរក…"},slideover:{close:"បិទ"},table:{noData:"មិនមានទិន្នន័យ"},toast:{close:"បិទ"}}}),Fj=ve({name:"한국어",code:"ko",messages:{alert:{close:"닫기"},authForm:{hidePassword:"비밀번호 숨기기",showPassword:"비밀번호 표시",submit:"계속"},banner:{close:"닫기"},calendar:{nextMonth:"다음 달",nextYear:"다음 해",prevMonth:"이전 달",prevYear:"이전 해"},carousel:{dots:"표시할 슬라이드 선택",goto:"{slide} 페이지로 이동",next:"다음",prev:"이전"},chatPrompt:{placeholder:"여기에 메시지를 입력하세요…"},chatPromptSubmit:{label:"전송"},chatReasoning:{thinking:"생각하는 중…",thought:"생각했습니다",thoughtFor:"{duration} 동안 생각했습니다"},colorMode:{dark:"다크",light:"라이트",switchToDark:"다크 모드로 전환",switchToLight:"라이트 모드로 전환",system:"시스템"},commandPalette:{back:"뒤로",close:"닫기",noData:"데이터가 없습니다.",noMatch:"일치하는 데이터가 없습니다.",placeholder:"명령을 입력하거나 검색…"},contentSearch:{links:"링크",theme:"테마"},contentSearchButton:{label:"검색…"},contentToc:{title:"이 페이지에서"},dropdownMenu:{noMatch:"일치하는 데이터가 없습니다.",search:"검색…"},dashboardSearch:{theme:"테마"},dashboardSearchButton:{label:"검색…"},dashboardSidebarCollapse:{collapse:"사이드바 축소",expand:"사이드바 확장"},dashboardSidebarToggle:{close:"사이드바 닫기",open:"사이드바 열기"},error:{clear:"홈으로 돌아가기"},fileUpload:{removeFile:"{filename} 제거"},header:{close:"메뉴 닫기",open:"메뉴 열기"},inputMenu:{create:'"{label}" 생성',noData:"데이터가 없습니다.",noMatch:"일치하는 데이터가 없습니다."},inputNumber:{decrement:"감소",increment:"증가"},modal:{close:"닫기"},pricingTable:{caption:"가격 플랜 비교"},prose:{codeCollapse:{closeText:"접기",name:"코드",openText:"펼치기"},collapsible:{closeText:"숨기기",name:"속성",openText:"보기"},pre:{copy:"코드를 클립보드에 복사"}},sidebar:{close:"닫기",toggle:"토글"},selectMenu:{create:'"{label}" 생성',noData:"데이터가 없습니다.",noMatch:"일치하는 데이터가 없습니다.",search:"검색…"},slideover:{close:"닫기"},table:{noData:"데이터가 없습니다."},toast:{close:"닫기"}}}),Pj=ve({name:"Кыргызча",code:"ky",messages:{alert:{close:"Жабуу"},authForm:{hidePassword:"Сырсөздү жашыруу",showPassword:"Сырсөздү көрсөтүү",submit:"Улантуу"},banner:{close:"Жабуу"},calendar:{nextMonth:"Кийинки ай",nextYear:"Кийинки жыл",prevMonth:"Алдыңкы ай",prevYear:"Алдыңкы жыл"},carousel:{dots:"Көрсөтүү үчүн слайдды тандаңыз",goto:"{slide} слайдга өтүү",next:"Кийинки",prev:"Алдыңкы"},chatPrompt:{placeholder:"Бул жерге билдирүүңүздү жазыңыз…"},chatPromptSubmit:{label:"Билдирүү жөнөтүү"},chatReasoning:{thinking:"Ойлонуда…",thought:"Ойлонду",thoughtFor:"{duration} ойлонду"},colorMode:{dark:"Караңгы",light:"Жарык",switchToDark:"Караңгы режимге өтүү",switchToLight:"Жарык режимге өтүү",system:"Система"},commandPalette:{back:"Артка",close:"Жабуу",noData:"Маалымат жок",noMatch:"Эч нерсе табылган жок",placeholder:"Буйрук киргизиңиз же издөө…"},contentSearch:{links:"Шилтемелер",theme:"Тема"},contentSearchButton:{label:"Издөө…"},contentToc:{title:"Бул бетте"},dropdownMenu:{noMatch:"Сүйлөшкөн маалыматтар жок",search:"Издөө…"},dashboardSearch:{theme:"Тема"},dashboardSearchButton:{label:"Издөө…"},dashboardSidebarCollapse:{collapse:"Каптал тилкесин жыйноо",expand:"Каптал тилкесин кеңейтүү"},dashboardSidebarToggle:{close:"Каптал тилкесин жабуу",open:"Каптал тилкесин ачуу"},error:{clear:"Башкы бетке кайтуу"},fileUpload:{removeFile:"{filename} өчүрүү"},header:{close:"Менюну жабуу",open:"Менюну ачуу"},inputMenu:{create:'"{label}" жасоо',noData:"Маалымат жок",noMatch:"Эч нерсе табылган жок"},inputNumber:{decrement:"Азайтуу",increment:"Кошуу"},modal:{close:"Жабуу"},pricingTable:{caption:"Баалардын салыштыруу таблицасы"},prose:{codeCollapse:{closeText:"Жыйноо",name:"код",openText:"Кеңейтүү"},collapsible:{closeText:"Жашыруу",name:"касиеттер",openText:"Көрсөтүү"},pre:{copy:"Кодду алмашуу буферине көчүрүү"}},sidebar:{close:"Жабуу",toggle:"Которуу"},selectMenu:{create:'"{label}" жасоо',noData:"Маалымат жок",noMatch:"Сүйлөшкөн маалыматтар жок",search:"Издөө…"},slideover:{close:"Жабуу"},table:{noData:"Маалымат жок"},toast:{close:"Жабуу"}}}),Mj=ve({name:"Lëtzebuergesch",code:"lb",messages:{alert:{close:"Zoumaachen"},authForm:{hidePassword:"Passwuert verstoppen",showPassword:"Passwuert uweisen",submit:"Fortschécken"},banner:{close:"Zoumaachen"},calendar:{nextMonth:"Nächste Mount",nextYear:"Nächst Joer",prevMonth:"Virege Mount",prevYear:"Viregt Joer"},carousel:{dots:"Wielt Dia fir ze weisen",goto:"Gitt op d'Slide {Slide}",next:"Näch.",prev:"Präz."},chatPrompt:{placeholder:"Tippt hei Äre Message…"},chatPromptSubmit:{label:"Prompt schécken"},chatReasoning:{thinking:"Denkt no…",thought:"Nogeduecht",thoughtFor:"{duration} nogeduecht"},colorMode:{dark:"Donkel",light:"Liicht",switchToDark:"Op de Donkelmodus wiesselen",switchToLight:"Op de Liichtmodus wiesselen",system:"System"},commandPalette:{back:"Zréck",close:"Zoumaachen",noData:"Keng Donnéeën",noMatch:"Keng entspriechend Donnéeën",placeholder:"Tippt e Befeel oder sicht…"},contentSearch:{links:"Linken",theme:"Thema"},contentSearchButton:{label:"Sichen…"},contentToc:{title:"Op dëser Säit"},dropdownMenu:{noMatch:"Keng entspriechend Donnéeën",search:"Sichen.."},dashboardSearch:{theme:"Thema"},dashboardSearchButton:{label:"Sichen…"},dashboardSidebarCollapse:{collapse:"Sidebar zouklappen",expand:"Sidebar opklappen"},dashboardSidebarToggle:{close:"Sidebar zoumaachen",open:"Sidebar opmaachen"},error:{clear:"Zréck op d'Startsäit"},fileUpload:{removeFile:"{filename} ewechhuelen"},header:{close:"Menü zoumaachen",open:"Menü opmaachen"},inputMenu:{create:'"{label}" erstellen',noData:"Keng Donnéeën",noMatch:"Keng entspriechend Donnéeën"},inputNumber:{decrement:"Dekrementéieren",increment:"Inkrementéieren"},modal:{close:"Zoumaachen"},pricingTable:{caption:"Vergläich vun de Präispläng"},prose:{codeCollapse:{closeText:"Zouklappen",name:"code",openText:"Opklappen"},collapsible:{closeText:"Verstoppen",name:"eegenschaften",openText:"Uweisen"},pre:{copy:"Code an d'Zwëschspäicher kopéieren"}},sidebar:{close:"Zoumaachen",toggle:"Ëmschalten"},selectMenu:{create:'"{label}" erstellen',noData:"Keng Donnéeën",noMatch:"Keng entspriechend Donnéeën",search:"Sichen.."},slideover:{close:"Zoumaachen"},table:{noData:"Keng Donnéeën"},toast:{close:"Zoumaachen"}}}),Oj=ve({name:"ລາວ",code:"lo",messages:{alert:{close:"ປິດ"},authForm:{hidePassword:"ເຊື່ອງລະຫັດຜ່ານ",showPassword:"ສະແດງລະຫັດຜ່ານ",submit:"ດຳເນີນການຕໍ່"},banner:{close:"ປິດ"},calendar:{nextMonth:"ເດືອນໜ້າ",nextYear:"ປີໜ້າ",prevMonth:"ເດືອນກ່ອນ",prevYear:"ປີກ່ອນ"},carousel:{dots:"ເລືອກສະໄລ້ທີ່ຈະສະແດງ",goto:"ໄປທີ່ສະໄລ້ {slide}",next:"ຕໍ່ໄປ",prev:"ກ່ອນໜ້າ"},chatPrompt:{placeholder:"ພິມຂໍ້ຄວາມຂອງທ່ານທີ່ນີ້..."},chatPromptSubmit:{label:"ສົ່ງຄຳສັ່ງ"},chatReasoning:{thinking:"ກຳລັງຄິດ…",thought:"ຄິດແລ້ວ",thoughtFor:"ຄິດເປັນເວລາ {duration}"},colorMode:{dark:"ມືດ",light:"ແຈ້ງ",switchToDark:"ປ່ຽນເປັນໂຫມດມືດ",switchToLight:"ປ່ຽນເປັນໂຫມດແຈ້ງ",system:"ລະບົບ"},commandPalette:{back:"ກັບຄືນ",close:"ປິດ",noData:"ບໍ່ມີຂໍ້ມູນ",noMatch:"ບໍ່ພົບຂໍ້ມູນທີ່ກົງກັນ",placeholder:"ພິມຄຳສັ່ງ ຫຼື ຄົ້ນຫາ..."},contentSearch:{links:"ລິ້ງ",theme:"ທີມ"},contentSearchButton:{label:"ຄົ້ນຫາ..."},contentToc:{title:"ໃນໜ້ານີ້"},dropdownMenu:{noMatch:"ບໍ່ພົບຂໍ້ມູນທີ່ກົງກັນ",search:"ຄົ້ນຫາ..."},dashboardSearch:{theme:"ທີມ"},dashboardSearchButton:{label:"ຄົ້ນຫາ..."},dashboardSidebarCollapse:{collapse:"ຫຍໍ້ແຖບດ້ານຂ້າງ",expand:"ຂະຫຍາຍແຖບດ້ານຂ້າງ"},dashboardSidebarToggle:{close:"ປິດແຖບດ້ານຂ້າງ",open:"ເປີດແຖບດ້ານຂ້າງ"},error:{clear:"ກັບໄປໜ້າຫຼັກ"},fileUpload:{removeFile:"ລົບ {filename}"},header:{close:"ປິດເມນູ",open:"ເປີດເມນູ"},inputMenu:{create:'ສ້າງ "{label}"',noData:"ບໍ່ມີຂໍ້ມູນ",noMatch:"ບໍ່ພົບຂໍ້ມູນທີ່ກົງກັນ"},inputNumber:{decrement:"ຫຼຸດລົງ",increment:"ເພີ່ມຂຶ້ນ"},modal:{close:"ປິດ"},pricingTable:{caption:"ປຽບທຽບແພັກເກັດລາຄາ"},prose:{codeCollapse:{closeText:"ຫຍໍ້",name:"ໂຄ້ດ",openText:"ຂະຫຍາຍ"},collapsible:{closeText:"ເຊື່ອງ",name:"ຄຸນສົມບັດ",openText:"ສະແດງ"},pre:{copy:"ຄັດລອກໂຄ້ດ"}},sidebar:{close:"ປິດ",toggle:"ສະລັບ"},selectMenu:{create:'ສ້າງ "{label}"',noData:"ບໍ່ມີຂໍ້ມູນ",noMatch:"ບໍ່ພົບຂໍ້ມູນທີ່ກົງກັນ",search:"ຄົ້ນຫາ..."},slideover:{close:"ປິດ"},table:{noData:"ບໍ່ມີຂໍ້ມູນ"},toast:{close:"ປິດ"}}}),Rj=ve({name:"Lietuvių",code:"lt",messages:{alert:{close:"Uždaryti"},authForm:{hidePassword:"Slėpti slaptažodį",showPassword:"Rodyti slaptažodį",submit:"Tęsti"},banner:{close:"Uždaryti"},calendar:{nextMonth:"Kitas mėnuo",nextYear:"Kiti metai",prevMonth:"Ankstesnis mėnuo",prevYear:"Ankstesni metai"},carousel:{dots:"Pasirinkite skaidrę rodymui",goto:"Eiti į skaidrę {slide}",next:"Pirmyn",prev:"Atgal"},chatPrompt:{placeholder:"Įveskite savo žinutę čia…"},chatPromptSubmit:{label:"Siųsti žinutę"},chatReasoning:{thinking:"Mąsto…",thought:"Pamąstė",thoughtFor:"Mąstė {duration}"},colorMode:{dark:"Tamsus",light:"Šviesus",switchToDark:"Perjungti į tamsų režimą",switchToLight:"Perjungti į šviesų režimą",system:"Sistema"},commandPalette:{back:"Atgal",close:"Uždaryti",noData:"Nėra duomenų",noMatch:"Nėra atitinkančių duomenų",placeholder:"Įveskite komandą arba ieškokite…"},contentSearch:{links:"Nuorodos",theme:"Tema"},contentSearchButton:{label:"Ieškoti…"},contentToc:{title:"Šiame puslapyje"},dropdownMenu:{noMatch:"Nėra atitinkančių duomenų",search:"Ieškoti…"},dashboardSearch:{theme:"Tema"},dashboardSearchButton:{label:"Ieškoti…"},dashboardSidebarCollapse:{collapse:"Suskleisti šoninę juostą",expand:"Išplėsti šoninę juostą"},dashboardSidebarToggle:{close:"Uždaryti šoninę juostą",open:"Atidaryti šoninę juostą"},error:{clear:"Grįžti į pradžią"},fileUpload:{removeFile:"Pašalinti {filename}"},header:{close:"Uždaryti meniu",open:"Atidaryti meniu"},inputMenu:{create:'Sukurti „{label}"',noData:"Nėra duomenų",noMatch:"Nėra atitinkančių duomenų"},inputNumber:{decrement:"Sumažinti",increment:"Padidinti"},modal:{close:"Uždaryti"},pricingTable:{caption:"Kainų planų palyginimas"},prose:{codeCollapse:{closeText:"Suskleisti",name:"kodas",openText:"Išplėsti"},collapsible:{closeText:"Slėpti",name:"savybės",openText:"Rodyti"},pre:{copy:"Kopijuoti kodą į iškarpinę"}},sidebar:{close:"Uždaryti",toggle:"Perjungti"},selectMenu:{create:'Sukurti „{label}"',noData:"Nėra duomenų",noMatch:"Nėra atitinkančių duomenų",search:"Ieškoti…"},slideover:{close:"Uždaryti"},table:{noData:"Nėra duomenų"},toast:{close:"Uždaryti"}}}),Ij=ve({name:"Монгол",code:"mn",messages:{alert:{close:"Хаах"},authForm:{hidePassword:"Нууц үгийг нуух",showPassword:"Нууц үгийг харуулах",submit:"Үргэлжлүүлэх"},banner:{close:"Хаах"},calendar:{nextMonth:"Дараа сар",nextYear:"Дараа жил",prevMonth:"Өмнөх сар",prevYear:"Өмнөх жил"},carousel:{dots:"Харуулах слайдыг сонгоно уу",goto:"{slide}-р хуудсанд шилжих",next:"Дараах",prev:"Өмнөх"},chatPrompt:{placeholder:"Энд мессежээ бичнэ үү…"},chatPromptSubmit:{label:"Мессеж илгээх"},chatReasoning:{thinking:"Бодож байна…",thought:"Бодсон",thoughtFor:"{duration} бодсон"},colorMode:{dark:"Хар",light:"Цагаан",switchToDark:"Хар горимд шилжих",switchToLight:"Цагаан горимд шилжих",system:"Систем"},commandPalette:{back:"Буцах",close:"Хаах",noData:"Мэдээлэл байхгүй",noMatch:"Тохирох мэдээлэл олдсонгүй",placeholder:"Комманд бичих эсвэл хайлт хийх…"},contentSearch:{links:"Холбоосууд",theme:"Загвар"},contentSearchButton:{label:"Хайх…"},contentToc:{title:"Энэ хуудсанд"},dropdownMenu:{noMatch:"Тохирох мэдээлэл олдсонгүй",search:"Хайх…"},dashboardSearch:{theme:"Загвар"},dashboardSearchButton:{label:"Хайх…"},dashboardSidebarCollapse:{collapse:"Хажуугийн самбарыг хураах",expand:"Хажуугийн самбарыг дэлгэх"},dashboardSidebarToggle:{close:"Хажуугийн самбарыг хаах",open:"Хажуугийн самбарыг нээх"},error:{clear:"Нүүр хуудас руу буцах"},fileUpload:{removeFile:"{filename} устгах"},header:{close:"Цэсийг хаах",open:"Цэсийг нээх"},inputMenu:{create:'"{label}" үүсгэх',noData:"Мэдээлэл байхгүй",noMatch:"Тохирох мэдээлэл олдсонгүй"},inputNumber:{decrement:"Хасах",increment:"Нэмэх"},modal:{close:"Хаах"},pricingTable:{caption:"Үнийн төлөвлөгөөний харьцуулалт"},prose:{codeCollapse:{closeText:"Хураах",name:"код",openText:"Дэлгэх"},collapsible:{closeText:"Нуух",name:"шинж чанарууд",openText:"Харуулах"},pre:{copy:"Кодыг санах ойд хуулах"}},sidebar:{close:"Хаах",toggle:"Сэлгэх"},selectMenu:{create:'"{label}" үүсгэх',noData:"Мэдээлэл байхгүй",noMatch:"Тохирох мэдээлэл олдсонгүй",search:"Хайх…"},slideover:{close:"Хаах"},table:{noData:"Мэдээлэл байхгүй"},toast:{close:"Хаах"}}}),Lj=ve({name:"Melayu",code:"ms",messages:{alert:{close:"Tutup"},authForm:{hidePassword:"Sembunyikan kata laluan",showPassword:"Tunjukkan kata laluan",submit:"Teruskan"},banner:{close:"Tutup"},calendar:{nextMonth:"Bulan seterusnya",nextYear:"Tahun seterusnya",prevMonth:"Bulan sebelum",prevYear:"Tahun sebelum"},carousel:{dots:"Pilih slaid untuk dipaparkan",goto:"Pergi ke slaid {slide}",next:"Seterusnya",prev:"Sebelum"},chatPrompt:{placeholder:"Taip mesej anda di sini…"},chatPromptSubmit:{label:"Hantar mesej"},chatReasoning:{thinking:"Berfikir…",thought:"Telah berfikir",thoughtFor:"Berfikir selama {duration}"},colorMode:{dark:"Gelap",light:"Cerah",switchToDark:"Tukar ke mod gelap",switchToLight:"Tukar ke mod cerah",system:"Sistem"},commandPalette:{back:"Kembali",close:"Tutup",noData:"Tiada data",noMatch:"Tiada data yang sepadan",placeholder:"Taip arahan atau carian…"},contentSearch:{links:"Pautan",theme:"Tema"},contentSearchButton:{label:"Cari…"},contentToc:{title:"Di halaman ini"},dropdownMenu:{noMatch:"Tiada data yang sepadan",search:"Cari…"},dashboardSearch:{theme:"Tema"},dashboardSearchButton:{label:"Cari…"},dashboardSidebarCollapse:{collapse:"Runtuhkan bar sisi",expand:"Kembangkan bar sisi"},dashboardSidebarToggle:{close:"Tutup bar sisi",open:"Buka bar sisi"},error:{clear:"Kembali ke laman utama"},fileUpload:{removeFile:"Buang {filename}"},header:{close:"Tutup menu",open:"Buka menu"},inputMenu:{create:'Cipta "{label}"',noData:"Tiada data",noMatch:"Tiada data yang sepadan"},inputNumber:{decrement:"Kurangkan",increment:"Naikkan"},modal:{close:"Tutup"},pricingTable:{caption:"Perbandingan pelan harga"},prose:{codeCollapse:{closeText:"Runtuhkan",name:"kod",openText:"Kembangkan"},collapsible:{closeText:"Sembunyikan",name:"ciri",openText:"Tunjukkan"},pre:{copy:"Salin kod ke papan klip"}},sidebar:{close:"Tutup",toggle:"Togol"},selectMenu:{create:'Cipta "{label}"',noData:"Tiada data",noMatch:"Tiada data yang sepadan",search:"Cari…"},slideover:{close:"Tutup"},table:{noData:"Tiada data"},toast:{close:"Tutup"}}}),qj=ve({name:"Norsk Bokmål",code:"nb-NO",messages:{alert:{close:"Lukk"},authForm:{hidePassword:"Skjul passord",showPassword:"Vis passord",submit:"Fortsett"},banner:{close:"Lukk"},calendar:{nextMonth:"Neste måned",nextYear:"Neste år",prevMonth:"Forrige måned",prevYear:"Forrige år"},carousel:{dots:"Velg lysbilde som skal vises",goto:"Gå til lysbilde {slide}",next:"Neste",prev:"Forrige"},chatPrompt:{placeholder:"Skriv din melding her…"},chatPromptSubmit:{label:"Send"},chatReasoning:{thinking:"Tenker…",thought:"Tenkte",thoughtFor:"Tenkte i {duration}"},colorMode:{dark:"Mørk",light:"Lys",switchToDark:"Bytt til mørk modus",switchToLight:"Bytt til lys modus",system:"System"},commandPalette:{back:"Tilbake",close:"Lukk",noData:"Ingen data",noMatch:"Ingen samsvarende data",placeholder:"Skriv inn en kommando eller søk…"},contentSearch:{links:"Lenker",theme:"Tema"},contentSearchButton:{label:"Søk…"},contentToc:{title:"På denne siden"},dropdownMenu:{noMatch:"Ingen samsvarende data",search:"Søk…"},dashboardSearch:{theme:"Tema"},dashboardSearchButton:{label:"Søk…"},dashboardSidebarCollapse:{collapse:"Skjul sidepanel",expand:"Utvid sidepanel"},dashboardSidebarToggle:{close:"Lukk sidepanel",open:"Åpne sidepanel"},error:{clear:"Tilbake til forsiden"},fileUpload:{removeFile:"Fjern {filename}"},header:{close:"Lukk meny",open:"Åpne meny"},inputMenu:{create:'Opprett "{label}"',noData:"Ingen data",noMatch:"Ingen samsvarende data"},inputNumber:{decrement:"Reduser",increment:"Øk"},modal:{close:"Lukk"},pricingTable:{caption:"Prisplaneringssammenligning"},prose:{codeCollapse:{closeText:"Skjul",name:"kode",openText:"Utvid"},collapsible:{closeText:"Skjul",name:"egenskaper",openText:"Vis"},pre:{copy:"Kopier kode til utklippstavle"}},sidebar:{close:"Lukk",toggle:"Veksle"},selectMenu:{create:'Opprett "{label}"',noData:"Ingen data",noMatch:"Ingen samsvarende data",search:"Søk…"},slideover:{close:"Lukk"},table:{noData:"Ingen data"},toast:{close:"Lukk"}}}),$j=ve({name:"Nederlands",code:"nl",messages:{alert:{close:"Sluiten"},authForm:{hidePassword:"Wachtwoord verbergen",showPassword:"Wachtwoord tonen",submit:"Doorgaan"},banner:{close:"Sluiten"},calendar:{nextMonth:"Volgende maand",nextYear:"Volgend jaar",prevMonth:"Vorige maand",prevYear:"Vorig jaar"},carousel:{dots:"Kies dia om weer te geven",goto:"Ga naar dia {slide}",next:"Volgende",prev:"Vorige"},chatPrompt:{placeholder:"Schrijf hier je bericht…"},chatPromptSubmit:{label:"Versturen"},chatReasoning:{thinking:"Aan het denken…",thought:"Nagedacht",thoughtFor:"{duration} nagedacht"},colorMode:{dark:"Donker",light:"Licht",switchToDark:"Overschakelen naar donkere modus",switchToLight:"Overschakelen naar lichte modus",system:"Systeem"},commandPalette:{back:"Terug",close:"Sluiten",noData:"Geen gegevens",noMatch:"Geen overeenkomende gegevens",placeholder:"Typ een commando of zoek…"},contentSearch:{links:"Links",theme:"Thema"},contentSearchButton:{label:"Zoeken…"},contentToc:{title:"Op deze pagina"},dropdownMenu:{noMatch:"Geen overeenkomende gegevens",search:"Zoeken…"},dashboardSearch:{theme:"Thema"},dashboardSearchButton:{label:"Zoeken…"},dashboardSidebarCollapse:{collapse:"Zijbalk invouwen",expand:"Zijbalk uitvouwen"},dashboardSidebarToggle:{close:"Zijbalk sluiten",open:"Zijbalk openen"},error:{clear:"Terug naar home"},fileUpload:{removeFile:"{filename} verwijderen"},header:{close:"Menu sluiten",open:"Menu openen"},inputMenu:{create:'"{label}" creëren',noData:"Geen gegevens",noMatch:"Geen overeenkomende gegevens"},inputNumber:{decrement:"Verlagen",increment:"Verhogen"},modal:{close:"Sluiten"},pricingTable:{caption:"Prijsplanvergelijking"},prose:{codeCollapse:{closeText:"Invouwen",name:"code",openText:"Uitvouwen"},collapsible:{closeText:"Verbergen",name:"eigenschappen",openText:"Tonen"},pre:{copy:"Code naar klembord kopiëren"}},sidebar:{close:"Sluiten",toggle:"Schakelen"},selectMenu:{create:'"{label}" creëren',noData:"Geen gegevens",noMatch:"Geen overeenkomende gegevens",search:"Zoeken…"},slideover:{close:"Sluiten"},table:{noData:"Geen gegevens"},toast:{close:"Sluiten"}}}),Nj=ve({name:"Polski",code:"pl",messages:{alert:{close:"Zamknij"},authForm:{hidePassword:"Ukryj hasło",showPassword:"Pokaż hasło",submit:"Kontynuuj"},banner:{close:"Zamknij"},calendar:{nextMonth:"Przyszły miesiąc",nextYear:"Przyszły rok",prevMonth:"Poprzedni miesiąc",prevYear:"Poprzedni rok"},carousel:{dots:"Wybierz slajd do wyświetlenia",goto:"Idź do {slide}",next:"Następny",prev:"Poprzedni"},chatPrompt:{placeholder:"Tutaj wpisz swoją wiadomość…"},chatPromptSubmit:{label:"Wyślij"},chatReasoning:{thinking:"Myśli…",thought:"Myślenie zakończone",thoughtFor:"Myślenie zajęło {duration}"},colorMode:{dark:"Ciemny",light:"Jasny",switchToDark:"Przełącz na tryb ciemny",switchToLight:"Przełącz na tryb jasny",system:"System"},commandPalette:{back:"Wstecz",close:"Zamknij",noData:"Brak danych",noMatch:"Brak pasujących danych",placeholder:"Wpisz polecenie lub wyszukaj…"},contentSearch:{links:"Linki",theme:"Motyw"},contentSearchButton:{label:"Szukaj…"},contentToc:{title:"Na tej stronie"},dropdownMenu:{noMatch:"Brak pasujących danych",search:"Szukaj…"},dashboardSearch:{theme:"Motyw"},dashboardSearchButton:{label:"Szukaj…"},dashboardSidebarCollapse:{collapse:"Zwiń pasek boczny",expand:"Rozwiń pasek boczny"},dashboardSidebarToggle:{close:"Zamknij pasek boczny",open:"Otwórz pasek boczny"},error:{clear:"Powrót do strony głównej"},fileUpload:{removeFile:"Usuń {filename}"},header:{close:"Zamknij menu",open:"Otwórz menu"},inputMenu:{create:'Utwórz "{label}"',noData:"Brak danych",noMatch:"Brak pasujących danych"},inputNumber:{decrement:"Zmniejsz",increment:"Zwiększ"},modal:{close:"Zamknij"},pricingTable:{caption:"Porównanie planów cenowych"},prose:{codeCollapse:{closeText:"Zwiń",name:"kod",openText:"Rozwiń"},collapsible:{closeText:"Ukryj",name:"właściwości",openText:"Pokaż"},pre:{copy:"Kopiuj kod do schowka"}},sidebar:{close:"Zamknij",toggle:"Przełącz"},selectMenu:{create:'Utwórz "{label}"',noData:"Brak danych",noMatch:"Brak pasujących danych",search:"Szukaj…"},slideover:{close:"Zamknij"},table:{noData:"Brak danych"},toast:{close:"Zamknij"}}}),jj=ve({name:"Português",code:"pt",messages:{alert:{close:"Fechar"},authForm:{hidePassword:"Ocultar senha",showPassword:"Mostrar senha",submit:"Continuar"},banner:{close:"Fechar"},calendar:{nextMonth:"Próximo mês",nextYear:"Próximo ano",prevMonth:"Mês anterior",prevYear:"Ano anterior"},carousel:{dots:"Escolher slide para exibir",goto:"Ir ao diapositivo {slide}",next:"Próximo",prev:"Anterior"},chatPrompt:{placeholder:"Escreva a sua mensagem aqui…"},chatPromptSubmit:{label:"Enviar"},chatReasoning:{thinking:"A pensar…",thought:"Pensou",thoughtFor:"Pensou durante {duration}"},colorMode:{dark:"Escuro",light:"Claro",switchToDark:"Mudar para modo escuro",switchToLight:"Mudar para modo claro",system:"Sistema"},commandPalette:{back:"Voltar",close:"Fechar",noData:"Sem dados",noMatch:"Nenhum dado correspondente",placeholder:"Digite um comando ou pesquise…"},contentSearch:{links:"Links",theme:"Tema"},contentSearchButton:{label:"Pesquisar…"},contentToc:{title:"Nesta página"},dropdownMenu:{noMatch:"Nenhum dado correspondente",search:"Pesquisar…"},dashboardSearch:{theme:"Tema"},dashboardSearchButton:{label:"Pesquisar…"},dashboardSidebarCollapse:{collapse:"Recolher barra lateral",expand:"Expandir barra lateral"},dashboardSidebarToggle:{close:"Fechar barra lateral",open:"Abrir barra lateral"},error:{clear:"Voltar para a página inicial"},fileUpload:{removeFile:"Remover {filename}"},header:{close:"Fechar menu",open:"Abrir menu"},inputMenu:{create:'Criar "{label}"',noData:"Sem dados",noMatch:"Nenhum dado correspondente"},inputNumber:{decrement:"Decrementar",increment:"Incrementar"},modal:{close:"Fechar"},pricingTable:{caption:"Comparação de planos de preços"},prose:{codeCollapse:{closeText:"Recolher",name:"código",openText:"Expandir"},collapsible:{closeText:"Ocultar",name:"propriedades",openText:"Mostrar"},pre:{copy:"Copiar código para a área de transferência"}},sidebar:{close:"Fechar",toggle:"Alternar"},selectMenu:{create:'Criar "{label}"',noData:"Sem dados",noMatch:"Nenhum dado correspondente",search:"Pesquisar…"},slideover:{close:"Fechar"},table:{noData:"Sem dados"},toast:{close:"Fechar"}}}),Vj=ve({name:"Português (Brasil)",code:"pt-BR",messages:{alert:{close:"Fechar"},authForm:{hidePassword:"Ocultar senha",showPassword:"Mostrar senha",submit:"Continuar"},banner:{close:"Fechar"},calendar:{nextMonth:"Próximo mês",nextYear:"Próximo ano",prevMonth:"Mês anterior",prevYear:"Ano anterior"},carousel:{dots:"Escolher slide para exibir",goto:"Ir para a slide {slide}",next:"Próximo",prev:"Anterior"},chatPrompt:{placeholder:"Escreva sua mensagem aqui…"},chatPromptSubmit:{label:"Enviar"},chatReasoning:{thinking:"Pensando…",thought:"Pensou",thoughtFor:"Pensou por {duration}"},colorMode:{dark:"Escuro",light:"Claro",switchToDark:"Mudar para modo escuro",switchToLight:"Mudar para modo claro",system:"Sistema"},commandPalette:{back:"Voltar",close:"Fechar",noData:"Nenhum dado",noMatch:"Nenhum dado correspondente",placeholder:"Digite um comando ou pesquise…"},contentSearch:{links:"Links",theme:"Tema"},contentSearchButton:{label:"Pesquisar…"},contentToc:{title:"Nesta página"},dropdownMenu:{noMatch:"Nenhum dado correspondente",search:"Pesquisar…"},dashboardSearch:{theme:"Tema"},dashboardSearchButton:{label:"Pesquisar…"},dashboardSidebarCollapse:{collapse:"Recolher barra lateral",expand:"Expandir barra lateral"},dashboardSidebarToggle:{close:"Fechar barra lateral",open:"Abrir barra lateral"},error:{clear:"Voltar para a página inicial"},fileUpload:{removeFile:"Remover {filename}"},header:{close:"Fechar menu",open:"Abrir menu"},inputMenu:{create:'Criar "{label}"',noData:"Nenhum dado",noMatch:"Nenhum dado correspondente"},inputNumber:{decrement:"Decrementar",increment:"Incrementar"},modal:{close:"Fechar"},pricingTable:{caption:"Comparação de planos de preços"},prose:{codeCollapse:{closeText:"Recolher",name:"código",openText:"Expandir"},collapsible:{closeText:"Ocultar",name:"propriedades",openText:"Mostrar"},pre:{copy:"Copiar código para a área de transferência"}},sidebar:{close:"Fechar",toggle:"Alternar"},selectMenu:{create:'Criar "{label}"',noData:"Nenhum dado",noMatch:"Nenhum dado correspondente",search:"Pesquisar…"},slideover:{close:"Fechar"},table:{noData:"Nenhum dado"},toast:{close:"Fechar"}}}),zj=ve({name:"Română",code:"ro",messages:{alert:{close:"Închide"},authForm:{hidePassword:"Ascunde parola",showPassword:"Arată parola",submit:"Continuă"},banner:{close:"Închide"},calendar:{nextMonth:"Luna următoare",nextYear:"Anul următor",prevMonth:"Luna precedentă",prevYear:"Anul precedent"},carousel:{dots:"Alegeți diapozitivul de afișat",goto:"Mergi la diapozitivul {slide}",next:"Următor",prev:"Anterior"},chatPrompt:{placeholder:"Scrieți mesajul dvs. aici…"},chatPromptSubmit:{label:"Trimite"},chatReasoning:{thinking:"Se gândește…",thought:"A gândit",thoughtFor:"A gândit {duration}"},colorMode:{dark:"Întunecat",light:"Luminos",switchToDark:"Comută la modul întunecat",switchToLight:"Comută la modul luminos",system:"Sistem"},commandPalette:{back:"Înapoi",close:"Închide",noData:"Nu există date",noMatch:"Nu există date corespunzătoare",placeholder:"Tastează o comandă sau caută…"},contentSearch:{links:"Linkuri",theme:"Temă"},contentSearchButton:{label:"Caută…"},contentToc:{title:"Pe această pagină"},dropdownMenu:{noMatch:"Nu există date corespunzătoare",search:"Caută…"},dashboardSearch:{theme:"Temă"},dashboardSearchButton:{label:"Caută…"},dashboardSidebarCollapse:{collapse:"Restrânge bara laterală",expand:"Extinde bara laterală"},dashboardSidebarToggle:{close:"Închide bara laterală",open:"Deschide bara laterală"},error:{clear:"Înapoi la pagina principală"},fileUpload:{removeFile:"Elimină {filename}"},header:{close:"Închide meniul",open:"Deschide meniul"},inputMenu:{create:'Creează "{label}"',noData:"Nu există date",noMatch:"Nu există date corespunzătoare"},inputNumber:{decrement:"Scade",increment:"Crește"},modal:{close:"Închide"},pricingTable:{caption:"Comparare prețuri"},prose:{codeCollapse:{closeText:"Restrânge",name:"cod",openText:"Extinde"},collapsible:{closeText:"Ascunde",name:"proprietăți",openText:"Afișează"},pre:{copy:"Copiază codul în clipboard"}},sidebar:{close:"Închide",toggle:"Comutare"},selectMenu:{create:'Creează "{label}"',noData:"Nu există date",noMatch:"Nu există date corespunzătoare",search:"Caută…"},slideover:{close:"Închide"},table:{noData:"Nu există date"},toast:{close:"Închide"}}}),Uj=ve({name:"Русский",code:"ru",messages:{alert:{close:"Закрыть"},authForm:{hidePassword:"Скрыть пароль",showPassword:"Показать пароль",submit:"Продолжить"},banner:{close:"Закрыть"},calendar:{nextMonth:"Следующий месяц",nextYear:"Следующий год",prevMonth:"Предыдущий месяц",prevYear:"Предыдущий год"},carousel:{dots:"Выберите слайд для отображения",goto:"Перейти к {slide}",next:"Далее",prev:"Назад"},chatPrompt:{placeholder:"Введите ваше сообщение здесь…"},chatPromptSubmit:{label:"Отправить"},chatReasoning:{thinking:"Размышляет…",thought:"Размышление завершено",thoughtFor:"Размышление заняло {duration}"},colorMode:{dark:"Тёмная",light:"Светлая",switchToDark:"Переключиться на тёмный режим",switchToLight:"Переключиться на светлый режим",system:"Системная"},commandPalette:{back:"Назад",close:"Закрыть",noData:"Нет данных",noMatch:"Совпадений не найдено",placeholder:"Введите команду или выполните поиск…"},contentSearch:{links:"Ссылки",theme:"Тема"},contentSearchButton:{label:"Поиск…"},contentToc:{title:"На этой странице"},dropdownMenu:{noMatch:"Совпадений не найдено",search:"Поиск…"},dashboardSearch:{theme:"Тема"},dashboardSearchButton:{label:"Поиск…"},dashboardSidebarCollapse:{collapse:"Свернуть боковую панель",expand:"Развернуть боковую панель"},dashboardSidebarToggle:{close:"Закрыть боковую панель",open:"Открыть боковую панель"},error:{clear:"Вернуться на главную"},fileUpload:{removeFile:"Удалить {filename}"},header:{close:"Закрыть меню",open:"Открыть меню"},inputMenu:{create:'Создать "{label}"',noData:"Нет данных",noMatch:"Совпадений не найдено"},inputNumber:{decrement:"Уменьшить",increment:"Увеличить"},modal:{close:"Закрыть"},pricingTable:{caption:"Сравнение ценных планов"},prose:{codeCollapse:{closeText:"Свернуть",name:"код",openText:"Развернуть"},collapsible:{closeText:"Скрыть",name:"свойства",openText:"Показать"},pre:{copy:"Скопировать код в буфер обмена"}},sidebar:{close:"Закрыть",toggle:"Переключить"},selectMenu:{create:'Создать "{label}"',noData:"Нет данных",noMatch:"Совпадений не найдено",search:"Поиск…"},slideover:{close:"Закрыть"},table:{noData:"Нет данных"},toast:{close:"Закрыть"}}}),Hj=ve({name:"Slovenčina",code:"sk",messages:{alert:{close:"Zatvoriť"},authForm:{hidePassword:"Skryť heslo",showPassword:"Zobraziť heslo",submit:"Pokračovať"},banner:{close:"Zatvoriť"},calendar:{nextMonth:"Nasledujúci mesiac",nextYear:"Nasledujúci rok",prevMonth:"Predchádzajúci mesiac",prevYear:"Predchádzajúci rok"},carousel:{dots:"Vyberte snímku na zobrazenie",goto:"Prejsť na {slide}",next:"Nasledujúci",prev:"Predchádzajúci"},chatPrompt:{placeholder:"Tu napíšte svoje správu…"},chatPromptSubmit:{label:"Odoslať"},chatReasoning:{thinking:"Premýšľa…",thought:"Premýšľal",thoughtFor:"Premýšľal {duration}"},colorMode:{dark:"Tmavý",light:"Svetlý",switchToDark:"Prepnúť na tmavý režim",switchToLight:"Prepnúť na svetlý režim",system:"Systém"},commandPalette:{back:"Späť",close:"Zavrieť",noData:"Žiadne dáta",noMatch:"Žiadna zhoda",placeholder:"Zadajte príkaz alebo vyhľadajte…"},contentSearch:{links:"Odkazy",theme:"Farebný režim"},contentSearchButton:{label:"Hľadať…"},contentToc:{title:"Na tejto stránke"},dropdownMenu:{noMatch:"Žiadna zhoda",search:"Hľadať…"},dashboardSearch:{theme:"Farebný režim"},dashboardSearchButton:{label:"Hľadať…"},dashboardSidebarCollapse:{collapse:"Zbaliť bočný panel",expand:"Rozbaliť bočný panel"},dashboardSidebarToggle:{close:"Zatvoriť bočný panel",open:"Otvoriť bočný panel"},error:{clear:"Späť na domovskú stránku"},fileUpload:{removeFile:"Odobrať {filename}"},header:{close:"Zatvoriť menu",open:"Otvoriť menu"},inputMenu:{create:'Vytvoriť "{label}"',noData:"Žiadne dáta",noMatch:"Žiadna zhoda"},inputNumber:{decrement:"Znížiť",increment:"Zvýšiť"},modal:{close:"Zatvoriť"},pricingTable:{caption:"Porovnanie cien"},prose:{codeCollapse:{closeText:"Zbaliť",name:"kód",openText:"Rozbaliť"},collapsible:{closeText:"Skryť",name:"vlastnosti",openText:"Zobraziť"},pre:{copy:"Kopírovať kód do schránky"}},sidebar:{close:"Zatvoriť",toggle:"Prepnúť"},selectMenu:{create:'Vytvoriť "{label}"',noData:"Žiadne dáta",noMatch:"Žiadna zhoda",search:"Hľadať…"},slideover:{close:"Zatvoriť"},table:{noData:"Žiadne dáta"},toast:{close:"Zatvoriť"}}}),Kj=ve({name:"Slovenščina",code:"sl",messages:{alert:{close:"Zapri"},authForm:{hidePassword:"Skrij geslo",showPassword:"Prikaži geslo",submit:"Nadaljuj"},banner:{close:"Zapri"},calendar:{nextMonth:"Naslednji mesec",nextYear:"Naslednje leto",prevMonth:"Prejšnji mesec",prevYear:"Prejšnje leto"},carousel:{dots:"Izberite diapozitiv za prikaz",goto:"Pojdi na {slide}",next:"Naprej",prev:"Nazaj"},chatPrompt:{placeholder:"Tukaj napišite svoje sporočilo…"},chatPromptSubmit:{label:"Pošlji sporočilo"},chatReasoning:{thinking:"Razmišlja…",thought:"Razmislil",thoughtFor:"Razmišljal {duration}"},colorMode:{dark:"Temno",light:"Svetlo",switchToDark:"Preklopi na temni način",switchToLight:"Preklopi na svetli način",system:"Sistem"},commandPalette:{back:"Nazaj",close:"Zapri",noData:"Ni podatkov",noMatch:"Ni ujemanj",placeholder:"Vpiši ukaz ali išči…"},contentSearch:{links:"Povezave",theme:"Tema"},contentSearchButton:{label:"Išči…"},contentToc:{title:"Na tej strani"},dropdownMenu:{noMatch:"Ni ujemanj",search:"Išči…"},dashboardSearch:{theme:"Tema"},dashboardSearchButton:{label:"Išči…"},dashboardSidebarCollapse:{collapse:"Strni stransko vrstico",expand:"Razširi stransko vrstico"},dashboardSidebarToggle:{close:"Zapri stransko vrstico",open:"Odpri stransko vrstico"},error:{clear:"Nazaj na domačo stran"},fileUpload:{removeFile:"Odstrani {filename}"},header:{close:"Zapri meni",open:"Odpri meni"},inputMenu:{create:'Ustvari "{label}"',noData:"Ni podatkov",noMatch:"Ni ujemanj"},inputNumber:{decrement:"Zmanjšaj",increment:"Povišaj"},modal:{close:"Zapri"},pricingTable:{caption:"Primerjava cenovnih načrtov"},prose:{codeCollapse:{closeText:"Strni",name:"koda",openText:"Razširi"},collapsible:{closeText:"Skrij",name:"lastnosti",openText:"Prikaži"},pre:{copy:"Kopiraj kodo v odložišče"}},sidebar:{close:"Zapri",toggle:"Preklopi"},selectMenu:{create:'Ustvari "{label}"',noData:"Ni podatkov",noMatch:"Ni ujemanj",search:"Išči…"},slideover:{close:"Zapri"},table:{noData:"Ni podatkov"},toast:{close:"Zapri"}}}),Wj=ve({name:"Shqip",code:"sq",messages:{alert:{close:"Mbyll"},authForm:{hidePassword:"Fshih fjalëkalimin",showPassword:"Shfaq fjalëkalimin",submit:"Vazhdo"},banner:{close:"Mbyll"},calendar:{nextMonth:"Muaji tjetër",nextYear:"Viti tjetër",prevMonth:"Muaji i kaluar",prevYear:"Viti i kaluar"},carousel:{dots:"Zgjidh slajdin për të shfaqur",goto:"Shko te slajdi {slide}",next:"Tjetri",prev:"Para"},chatPrompt:{placeholder:"Shkruaj mesazhin tënd këtu…"},chatPromptSubmit:{label:"Dërgo mesazhin"},chatReasoning:{thinking:"Po mendon…",thought:"Mendoi",thoughtFor:"Mendoi për {duration}"},colorMode:{dark:"Errët",light:"Ndritshëm",switchToDark:"Kalo në modalitetin e errët",switchToLight:"Kalo në modalitetin e ndritshëm",system:"Sistem"},commandPalette:{back:"Pas",close:"Mbyll",noData:"Nuk ka të dhëna",noMatch:"Nuk ka të dhëna që përputhen",placeholder:"Shkruaj një komandë ose kërko…"},contentSearch:{links:"Lidhje",theme:"Tema"},contentSearchButton:{label:"Kërko…"},contentToc:{title:"Në këtë faqe"},dropdownMenu:{noMatch:"Nuk ka të dhëna që përputhen",search:"Kërko…"},dashboardSearch:{theme:"Tema"},dashboardSearchButton:{label:"Kërko…"},dashboardSidebarCollapse:{collapse:"Palos panelin anësor",expand:"Zgjero panelin anësor"},dashboardSidebarToggle:{close:"Mbyll panelin anësor",open:"Hap panelin anësor"},error:{clear:"Kthehu në kryefaqe"},fileUpload:{removeFile:"Hiq {filename}"},header:{close:"Mbyll menunë",open:"Hap menunë"},inputMenu:{create:'Krijo "{label}"',noData:"Nuk ka të dhëna",noMatch:"Nuk ka të dhëna që përputhen"},inputNumber:{decrement:"Zvogëlo",increment:"Rrit"},modal:{close:"Mbyll"},pricingTable:{caption:"Krahasimi i planeve të çmimeve"},prose:{codeCollapse:{closeText:"Palos",name:"kodi",openText:"Zgjero"},collapsible:{closeText:"Fshih",name:"vetitë",openText:"Shfaq"},pre:{copy:"Kopjo kodin në kujtesë"}},sidebar:{close:"Mbyll",toggle:"Ndërro"},selectMenu:{create:'Krijo "{label}"',noData:"Nuk ka të dhëna",noMatch:"Nuk ka të dhëna që përputhen",search:"Kërko…"},slideover:{close:"Mbyll"},table:{noData:"Nuk ka të dhëna"},toast:{close:"Mbyll"}}}),Gj=ve({name:"Svenska",code:"sv",messages:{alert:{close:"Stäng"},authForm:{hidePassword:"Dölj lösenord",showPassword:"Visa lösenord",submit:"Fortsätt"},banner:{close:"Stäng"},calendar:{nextMonth:"Nästa månad",nextYear:"Nästa år",prevMonth:"Föregående månad",prevYear:"Föregående år"},carousel:{dots:"Välj bild att visa",goto:"Gå till {slide}",next:"Nästa",prev:"Föregående"},chatPrompt:{placeholder:"Skriv ditt meddelande här…"},chatPromptSubmit:{label:"Skicka"},chatReasoning:{thinking:"Tänker…",thought:"Tänkte",thoughtFor:"Tänkte i {duration}"},colorMode:{dark:"Mörkt",light:"Ljust",switchToDark:"Byt till mörkt läge",switchToLight:"Byt till ljust läge",system:"System"},commandPalette:{back:"Tillbaka",close:"Stäng",noData:"Inga data",noMatch:"Inga matchande data",placeholder:"Skriv ett kommando eller sök…"},contentSearch:{links:"Länkar",theme:"Tema"},contentSearchButton:{label:"Sök…"},contentToc:{title:"På denna sida"},dropdownMenu:{noMatch:"Inga matchande data",search:"Sök…"},dashboardSearch:{theme:"Tema"},dashboardSearchButton:{label:"Sök…"},dashboardSidebarCollapse:{collapse:"Minimera sidofältet",expand:"Expandera sidofältet"},dashboardSidebarToggle:{close:"Stäng sidofältet",open:"Öppna sidofältet"},error:{clear:"Tillbaka till startsidan"},fileUpload:{removeFile:"Ta bort {filename}"},header:{close:"Stäng menyn",open:"Öppna menyn"},inputMenu:{create:'Skapa "{label}"',noData:"Inga data",noMatch:"Inga matchande data"},inputNumber:{decrement:"Minska",increment:"Öka"},modal:{close:"Stäng"},pricingTable:{caption:"Prisplanering"},prose:{codeCollapse:{closeText:"Minimera",name:"kod",openText:"Expandera"},collapsible:{closeText:"Dölj",name:"egenskaper",openText:"Visa"},pre:{copy:"Kopiera kod till urklipp"}},sidebar:{close:"Stäng",toggle:"Växla"},selectMenu:{create:'Skapa "{label}"',noData:"Inga data",noMatch:"Inga matchande data",search:"Sök…"},slideover:{close:"Stäng"},table:{noData:"Inga data"},toast:{close:"Stäng"}}}),Yj=ve({name:"ไทย",code:"th",messages:{alert:{close:"ปิด"},authForm:{hidePassword:"ซ่อนรหัสผ่าน",showPassword:"แสดงรหัสผ่าน",submit:"ดำเนินการต่อ"},banner:{close:"ปิด"},calendar:{nextMonth:"เดือนถัดไป",nextYear:"ปีถัดไป",prevMonth:"เดือนก่อนหน้า",prevYear:"ปีก่อนหน้า"},carousel:{dots:"เลือกสไลด์ที่จะแสดง",goto:"ไปที่ {slide}",next:"ถัดไป",prev:"ย้อนกลับ"},chatPrompt:{placeholder:"กรุณาป้อนข้อความของคุณที่นี่…"},chatPromptSubmit:{label:"ส่ง"},chatReasoning:{thinking:"กำลังคิด…",thought:"คิดแล้ว",thoughtFor:"คิดเป็นเวลา {duration}"},colorMode:{dark:"มืด",light:"สว่าง",switchToDark:"เปลี่ยนเป็นโหมดมืด",switchToLight:"เปลี่ยนเป็นโหมดสว่าง",system:"ระบบ"},commandPalette:{back:"ย้อนกลับ",close:"ปิด",noData:"ไม่มีข้อมูล",noMatch:"ไม่พบข้อมูลที่ตรงกัน",placeholder:"พิมพ์คำสั่งหรือค้นหา…"},contentSearch:{links:"ลิงก์",theme:"ธีม"},contentSearchButton:{label:"ค้นหา…"},contentToc:{title:"ในหน้านี้"},dropdownMenu:{noMatch:"ไม่พบข้อมูลที่ตรงกัน",search:"ค้นหา…"},dashboardSearch:{theme:"ธีม"},dashboardSearchButton:{label:"ค้นหา…"},dashboardSidebarCollapse:{collapse:"ย่อแถบด้านข้าง",expand:"ขยายแถบด้านข้าง"},dashboardSidebarToggle:{close:"ปิดแถบด้านข้าง",open:"เปิดแถบด้านข้าง"},error:{clear:"กลับไปยังหน้าหลัก"},fileUpload:{removeFile:"ลบ {filename}"},header:{close:"ปิดเมนู",open:"เปิดเมนู"},inputMenu:{create:'สร้าง "{label}"',noData:"ไม่มีข้อมูล",noMatch:"ไม่พบข้อมูลที่ตรงกัน"},inputNumber:{decrement:"ลด",increment:"เพิ่ม"},modal:{close:"ปิด"},pricingTable:{caption:"การเปรียบเทียบราคาสินค้า"},prose:{codeCollapse:{closeText:"ย่อ",name:"โค้ด",openText:"ขยาย"},collapsible:{closeText:"ซ่อน",name:"คุณสมบัติ",openText:"แสดง"},pre:{copy:"คัดลอกโค้ดไปยังคลิปบอร์ด"}},sidebar:{close:"ปิด",toggle:"สลับ"},selectMenu:{create:'สร้าง "{label}"',noData:"ไม่มีข้อมูล",noMatch:"ไม่พบข้อมูลที่ตรงกัน",search:"ค้นหา…"},slideover:{close:"ปิด"},table:{noData:"ไม่มีข้อมูล"},toast:{close:"ปิด"}}}),Zj=ve({name:"Тоҷикӣ",code:"tj",messages:{alert:{close:"Бастан"},authForm:{hidePassword:"Пинҳон кардани парол",showPassword:"Намоиши парол",submit:"Идома додан"},banner:{close:"Пӯшидан"},calendar:{nextMonth:"Моҳи оянда",nextYear:"Соли оянда",prevMonth:"Моҳи гузашта",prevYear:"Соли гузашта"},carousel:{dots:"Слайдро барои намоиш интихоб кунед",goto:"Ба слайди {slide} гузаред",next:"Баъдӣ",prev:"Қаблӣ"},chatPrompt:{placeholder:"Пайём ворид кунед…"},chatPromptSubmit:{label:"Фиристодан"},chatReasoning:{thinking:"Фикр мекунад…",thought:"Фикр кард",thoughtFor:"{duration} фикр кард"},colorMode:{dark:"Торик",light:"Рӯшно",switchToDark:"Гузариш ба ҳолати торик",switchToLight:"Гузариш ба ҳолати рӯшно",system:"Система"},commandPalette:{back:"Бозгашт",close:"Бастан",noData:"Маълумот нест",noMatch:"Маълумоти мувофиқ ёфт нашуд",placeholder:"Фармонро нависед ё ҷустуҷӯ кунед…"},contentSearch:{links:"Пайвандҳо",theme:"Мавзӯъ"},contentSearchButton:{label:"Ҷустуҷӯ"},contentToc:{title:"Мундариҷа"},dropdownMenu:{noMatch:"Маълумоти мувофиқ ёфт нашуд",search:"Ҷустуҷӯ…"},dashboardSearch:{theme:"Мавзӯъ"},dashboardSearchButton:{label:"Ҷустуҷӯ"},dashboardSidebarCollapse:{collapse:"Кам кардан",expand:"Васеъ кардан"},dashboardSidebarToggle:{close:"Пӯшидан",open:"Кушодан"},error:{clear:"Тоза кардан"},fileUpload:{removeFile:"{filename}-ро хориҷ кунед"},header:{close:"Пӯшидан",open:"Кушодан"},inputMenu:{create:'"{label}" созед',noData:"Маълумот нест",noMatch:"Маълумоти мувофиқ ёфт нашуд"},inputNumber:{decrement:"Кам кардан",increment:"Зиёд кардан"},modal:{close:"Бастан"},pricingTable:{caption:"Ҷадвали нархҳо"},prose:{codeCollapse:{closeText:"Кам кардан",name:"код",openText:"Васеъ кардан"},collapsible:{closeText:"Пинҳон кардан",name:"хусусиятҳо",openText:"Намоиш додан"},pre:{copy:"Нусха бардоштан"}},sidebar:{close:"Бастан",toggle:"Иваз кардан"},selectMenu:{create:'"{label}" созед',noData:"Маълумот нест",noMatch:"Маълумоти мувофиқ ёфт нашуд",search:"Ҷустуҷӯ…"},slideover:{close:"Бастан"},table:{noData:"Маълумот нест"},toast:{close:"Бастан"}}}),Xj=ve({name:"Türkçe",code:"tr",messages:{alert:{close:"Kapat"},authForm:{hidePassword:"Şifreyi gizle",showPassword:"Şifreyi göster",submit:"Devam et"},banner:{close:"Kapat"},calendar:{nextMonth:"Sonraki ay",nextYear:"Sonraki yıl",prevMonth:"Önceki ay",prevYear:"Önceki yıl"},carousel:{dots:"Görüntülenecek slaydı seçin",goto:"{slide}. slayda git",next:"Sonraki",prev:"Önceki"},chatPrompt:{placeholder:"Buraya mesajınızı yazın…"},chatPromptSubmit:{label:"Gönder"},chatReasoning:{thinking:"Düşünüyor…",thought:"Düşündü",thoughtFor:"{duration} düşündü"},colorMode:{dark:"Koyu",light:"Açık",switchToDark:"Koyu moda geç",switchToLight:"Açık moda geç",system:"Sistem"},commandPalette:{back:"Geri",close:"Kapat",noData:"Veri yok",noMatch:"Eşleşen veri yok",placeholder:"Bir komut yazın veya arama yapın…"},contentSearch:{links:"Bağlantılar",theme:"Tema"},contentSearchButton:{label:"Ara…"},contentToc:{title:"Bu sayfada"},dropdownMenu:{noMatch:"Eşleşen veri yok",search:"Ara…"},dashboardSearch:{theme:"Tema"},dashboardSearchButton:{label:"Ara…"},dashboardSidebarCollapse:{collapse:"Kenar çubuğunu daralt",expand:"Kenar çubuğunu genişlet"},dashboardSidebarToggle:{close:"Kenar çubuğunu kapat",open:"Kenar çubuğunu aç"},error:{clear:"Ana sayfaya dön"},fileUpload:{removeFile:"{filename} kaldır"},header:{close:"Menüyü kapat",open:"Menüyü aç"},inputMenu:{create:'"{label}" oluştur',noData:"Veri yok",noMatch:"Eşleşen veri yok"},inputNumber:{decrement:"Azalt",increment:"Arttır"},modal:{close:"Kapat"},pricingTable:{caption:"Fiyat planlarını karşılaştır"},prose:{codeCollapse:{closeText:"Daralt",name:"kod",openText:"Genişlet"},collapsible:{closeText:"Gizle",name:"özellikler",openText:"Göster"},pre:{copy:"Kodu panoya kopyala"}},sidebar:{close:"Kapat",toggle:"Değiştir"},selectMenu:{create:'"{label}" oluştur',noData:"Veri yok",noMatch:"Eşleşen veri yok",search:"Ara…"},slideover:{close:"Kapat"},table:{noData:"Veri yok"},toast:{close:"Kapat"}}}),Jj=ve({name:"ئۇيغۇرچە",code:"ug-CN",dir:"rtl",messages:{alert:{close:"تاقاش"},authForm:{hidePassword:"پارولنى يوشۇرۇش",showPassword:"پارولنى كۆرسىتىش",submit:"دەۋام قىلىش"},banner:{close:"تاقاش"},calendar:{nextMonth:"كېلەر ئاي",nextYear:"كېلەر يىل",prevMonth:"ئالدىنقى ئاي",prevYear:"ئالدىنقى يىل"},carousel:{dots:"كۆرسىتىدىغان سلايدنى تاللاڭ",goto:"{slide}-بەتكە ئاتلاش",next:"كېيىنكى بەت",prev:"ئالدىنقى بەت"},chatPrompt:{placeholder:"خەت كىرگۈزۈڭ…"},chatPromptSubmit:{label:"يوللاش"},chatReasoning:{thinking:"ئويلاۋاتىدۇ…",thought:"ئويلاندى",thoughtFor:"{duration} ئويلاندى"},colorMode:{dark:"قاراڭغۇ",light:"يورۇق",switchToDark:"قاراڭغۇ ھالەتكە ئالماشتۇرۇش",switchToLight:"يورۇق ھالەتكە ئالماشتۇرۇش",system:"سىستېما"},commandPalette:{back:"قايتىش",close:"تاقاش",noData:"سانلىق مەلۇمات يوق",noMatch:"ماس كېلىدىغان سانلىق مەلۇمات يوق",placeholder:"بۇيرۇق كىرگۈزۈڭ ياكى ئىزدەڭ…"},contentSearch:{links:"ئۇلانمىلار",theme:"تېما"},contentSearchButton:{label:"ئىزدەش"},contentToc:{title:"مەزمۇن"},dropdownMenu:{noMatch:"ماس كېلىدىغان سانلىق مەلۇمات يوق",search:"ئىزدەش…"},dashboardSearch:{theme:"تېما"},dashboardSearchButton:{label:"ئىزدەش"},dashboardSidebarCollapse:{collapse:"تارايتىش",expand:"كېڭەيتىش"},dashboardSidebarToggle:{close:"تاقاش",open:"ئېچىش"},error:{clear:"تازىلاش"},fileUpload:{removeFile:"{filename} ئۆچۈرۈش"},header:{close:"تاقاش",open:"ئېچىش"},inputMenu:{create:'"{label}" نى قۇرۇش',noData:"سانلىق مەلۇمات يوق",noMatch:"ماس كېلىدىغان سانلىق مەلۇمات يوق"},inputNumber:{decrement:"ئازايتىش",increment:"كۆپەيتىش"},modal:{close:"تاقاش"},pricingTable:{caption:"باھا جەدۋىلى"},prose:{codeCollapse:{closeText:"تارايتىش",name:"كود",openText:"كېڭەيتىش"},collapsible:{closeText:"يوشۇرۇش",name:"خاسلىقلار",openText:"كۆرسىتىش"},pre:{copy:"كۆچۈرۈش"}},sidebar:{close:"تاقاش",toggle:"ئالماشتۇرۇش"},selectMenu:{create:'"{label}" نى قۇرۇش',noData:"سانلىق مەلۇمات يوق",noMatch:"ماس كېلىدىغان سانلىق مەلۇمات يوق",search:"ئىزدەش…"},slideover:{close:"تاقاش"},table:{noData:"سانلىق مەلۇمات يوق"},toast:{close:"تاقاش"}}}),Qj=ve({name:"Українська",code:"uk",messages:{alert:{close:"Закрити"},authForm:{hidePassword:"Приховати пароль",showPassword:"Показати пароль",submit:"Продовжити"},banner:{close:"Закрити"},calendar:{nextMonth:"Наступний місяць",nextYear:"Наступний рік",prevMonth:"Попередній місяць",prevYear:"Попередній рік"},carousel:{dots:"Виберіть слайд для відображення",goto:"Перейти до {slide}",next:"Далі",prev:"Назад"},chatPrompt:{placeholder:"Введіть ваше повідомлення тут…"},chatPromptSubmit:{label:"Відправити"},chatReasoning:{thinking:"Думає…",thought:"Подумав",thoughtFor:"Думав {duration}"},colorMode:{dark:"Темна",light:"Світла",switchToDark:"Перейти до темного режиму",switchToLight:"Перейти до світлого режиму",system:"Системна"},commandPalette:{back:"Назад",close:"Закрити",noData:"Немає даних",noMatch:"Збігів не знайдено",placeholder:"Введіть команду або шукайте…"},contentSearch:{links:"Посилання",theme:"Тема"},contentSearchButton:{label:"Пошук…"},contentToc:{title:"На цій сторінці"},dropdownMenu:{noMatch:"Збігів не знайдено",search:"Пошук…"},dashboardSearch:{theme:"Тема"},dashboardSearchButton:{label:"Пошук…"},dashboardSidebarCollapse:{collapse:"Згорнути бічну панель",expand:"Розгорнути бічну панель"},dashboardSidebarToggle:{close:"Закрити бічну панель",open:"Відкрити бічну панель"},error:{clear:"Повернутися на головну"},fileUpload:{removeFile:"Видалити {filename}"},header:{close:"Закрити меню",open:"Відкрити меню"},inputMenu:{create:'Створити "{label}"',noData:"Немає даних",noMatch:"Збігів не знайдено"},inputNumber:{decrement:"Зменшити",increment:"Збільшити"},modal:{close:"Закрити"},pricingTable:{caption:"Порівняння планів цін"},prose:{codeCollapse:{closeText:"Згорнути",name:"код",openText:"Розгорнути"},collapsible:{closeText:"Сховати",name:"властивості",openText:"Показати"},pre:{copy:"Копіювати код у буфер обміну"}},sidebar:{close:"Закрити",toggle:"Перемикнути"},selectMenu:{create:'Створити "{label}"',noData:"Немає даних",noMatch:"Збігів не знайдено",search:"Пошук…"},slideover:{close:"Закрити"},table:{noData:"Немає даних"},toast:{close:"Закрити"}}}),eV=ve({name:"Urdu",code:"ur",dir:"rtl",messages:{alert:{close:"بند کریں"},authForm:{hidePassword:"پاس ورڈ چھپائیں",showPassword:"پاس ورڈ دکھائیں",submit:"جاری رکھیں"},banner:{close:"بند کریں"},calendar:{nextMonth:"اگلا مہینہ",nextYear:"اگلا سال",prevMonth:"پچھلا مہینہ",prevYear:"پچھلا سال"},carousel:{dots:"دکھانے کے لیے سلائیڈ منتخب کریں",goto:"سلائیڈ {slide} پر جائیں",next:"اگلا",prev:"پچھلا"},chatPrompt:{placeholder:"یہاں اپنا پیغام لکھیں"},chatPromptSubmit:{label:"پیغام بھیجیں"},chatReasoning:{thinking:"سوچ رہا ہے…",thought:"سوچا",thoughtFor:"{duration} سوچا"},colorMode:{dark:"تاریک",light:"روشن",switchToDark:"تاریک موڈ میں تبدیل کریں",switchToLight:"روشن موڈ میں تبدیل کریں",system:"سسٹم"},commandPalette:{back:"واپس",close:"بند کریں",noData:"کوئی ڈیٹا نہیں",noMatch:"کوئی ملتا جلتا ڈیٹا نہیں ملا",placeholder:"کمانڈ ٹائپ کریں یا تلاش کریں…"},contentSearch:{links:"لنکس",theme:"تھیم"},contentSearchButton:{label:"تلاش کریں…"},contentToc:{title:"اس صفحے پر"},dropdownMenu:{noMatch:"کوئی ملتا جلتا ڈیٹا نہیں ملا",search:"تلاش کریں…"},dashboardSearch:{theme:"تھیم"},dashboardSearchButton:{label:"تلاش کریں…"},dashboardSidebarCollapse:{collapse:"سائیڈ بار کو سکیڑیں",expand:"سائیڈ بار کو پھیلائیں"},dashboardSidebarToggle:{close:"سائیڈ بار بند کریں",open:"سائیڈ بار کھولیں"},error:{clear:"ہوم پیج پر واپس جائیں"},fileUpload:{removeFile:"{filename} ہٹائیں"},header:{close:"مینو بند کریں",open:"مینو کھولیں"},inputMenu:{create:'"{label}" بنائیں',noData:"کوئی ڈیٹا نہیں",noMatch:"کوئی ملتا جلتا ڈیٹا نہیں ملا"},inputNumber:{decrement:"کمی",increment:"اضافہ"},modal:{close:"بند کریں"},pricingTable:{caption:"قیمت پلنز کی مقایسہ"},prose:{codeCollapse:{closeText:"سکیڑیں",name:"کوڈ",openText:"پھیلائیں"},collapsible:{closeText:"چھپائیں",name:"خصوصیات",openText:"دکھائیں"},pre:{copy:"کوڈ کاپی کریں"}},sidebar:{close:"بند کریں",toggle:"ٹوگل کریں"},selectMenu:{create:'"{label}" بنائیں',noData:"کوئی ڈیٹا نہیں",noMatch:"کوئی ملتا جلتا ڈیٹا نہیں ملا",search:"تلاش کریں…"},slideover:{close:"بند کریں"},table:{noData:"کوئی ڈیٹا نہیں"},toast:{close:"بند کریں"}}}),tV=ve({name:"Oʻzbek",code:"uz",messages:{alert:{close:"Yopish"},authForm:{hidePassword:"Parolni yashirish",showPassword:"Parolni ko'rsatish",submit:"Davom etish"},banner:{close:"Yopish"},calendar:{nextMonth:"Keyingi oy",nextYear:"Keyingi yil",prevMonth:"Oldingi oy",prevYear:"Oldingi yil"},carousel:{dots:"Koʻrsatish uchun slaydni tanlang",goto:"{slide}-slaydga o'tish",next:"Oldinga",prev:"Ortga"},chatPrompt:{placeholder:"Bu yerda savolingizni yozing…"},chatPromptSubmit:{label:"Jo'natish"},chatReasoning:{thinking:"O'ylayapti…",thought:"O'yladi",thoughtFor:"{duration} o'yladi"},colorMode:{dark:"Qorong'i",light:"Yorug'",switchToDark:"Qorong'i rejimga o'tish",switchToLight:"Yorug' rejimga o'tish",system:"Tizim"},commandPalette:{back:"Orqaga",close:"Yopish",noData:"Maʼlumot yoʻq",noMatch:"Mos keluvchi natija topilmadi",placeholder:"Buyruq kiriting yoki qidiring…"},contentSearch:{links:"Havolalar",theme:"Mavzu"},contentSearchButton:{label:"Qidirish…"},contentToc:{title:"Ushbu sahifada"},dropdownMenu:{noMatch:"Mos keluvchi natija topilmadi",search:"Qidirish…"},dashboardSearch:{theme:"Mavzu"},dashboardSearchButton:{label:"Qidirish…"},dashboardSidebarCollapse:{collapse:"Yon panelni yig'ish",expand:"Yon panelni kengaytirish"},dashboardSidebarToggle:{close:"Yon panelni yopish",open:"Yon panelni ochish"},error:{clear:"Bosh sahifaga qaytish"},fileUpload:{removeFile:"{filename}ni oʻchirish"},header:{close:"Menyuni yopish",open:"Menyuni ochish"},inputMenu:{create:'"{label}" yaratish',noData:"Maʼlumot yoʻq",noMatch:"Mos keluvchi natija topilmadi"},inputNumber:{decrement:"Ayirish",increment:"Qoʻshish"},modal:{close:"Yopish"},pricingTable:{caption:"Narx planlarini taqqoslash"},prose:{codeCollapse:{closeText:"Yig'ish",name:"kod",openText:"Kengaytirish"},collapsible:{closeText:"Yashirish",name:"xususiyatlar",openText:"Ko'rsatish"},pre:{copy:"Koddan buferga nusxa olish"}},sidebar:{close:"Yopish",toggle:"Almashtirish"},selectMenu:{create:'"{label}" yaratish',noData:"Maʼlumot yoʻq",noMatch:"Mos keluvchi natija topilmadi",search:"Qidirish…"},slideover:{close:"Yopish"},table:{noData:"Maʼlumot yoʻq"},toast:{close:"Yopish"}}}),nV=ve({name:"Tiếng Việt",code:"vi",messages:{alert:{close:"Đóng"},authForm:{hidePassword:"Ẩn mật khẩu",showPassword:"Hiển thị mật khẩu",submit:"Tiếp tục"},banner:{close:"Đóng"},calendar:{nextMonth:"Tháng sau",nextYear:"Năm sau",prevMonth:"Tháng trước",prevYear:"Năm trước"},carousel:{dots:"Chọn slide để hiển thị",goto:"Đi tới ô {slide}",next:"Sau",prev:"Trước"},chatPrompt:{placeholder:"Nhập tin nhắn của bạn ở đây…"},chatPromptSubmit:{label:"Gửi"},chatReasoning:{thinking:"Đang suy nghĩ…",thought:"Đã suy nghĩ",thoughtFor:"Đã suy nghĩ {duration}"},colorMode:{dark:"Tối",light:"Sáng",switchToDark:"Chuyển sang chế độ tối",switchToLight:"Chuyển sang chế độ sáng",system:"Hệ thống"},commandPalette:{back:"Quay lại",close:"Đóng",noData:"Không có dữ liệu",noMatch:"Không có kết quả phù hợp",placeholder:"Nhập lệnh hoặc tìm kiếm…"},contentSearch:{links:"Liên kết",theme:"Chủ đề"},contentSearchButton:{label:"Tìm kiếm…"},contentToc:{title:"Trong trang này"},dropdownMenu:{noMatch:"Không có kết quả phù hợp",search:"Tìm kiếm…"},dashboardSearch:{theme:"Chủ đề"},dashboardSearchButton:{label:"Tìm kiếm…"},dashboardSidebarCollapse:{collapse:"Thu gọn thanh bên",expand:"Mở rộng thanh bên"},dashboardSidebarToggle:{close:"Đóng thanh bên",open:"Mở thanh bên"},error:{clear:"Quay lại trang chủ"},fileUpload:{removeFile:"Xóa {filename}"},header:{close:"Đóng menu",open:"Mở menu"},inputMenu:{create:'Tạo "{label}"',noData:"Không có dữ liệu",noMatch:"Không có kết quả phù hợp"},inputNumber:{decrement:"Giảm",increment:"Tăng"},modal:{close:"Đóng"},pricingTable:{caption:"So sánh các kế hoạch giá"},prose:{codeCollapse:{closeText:"Thu gọn",name:"mã",openText:"Mở rộng"},collapsible:{closeText:"Ẩn",name:"thuộc tính",openText:"Hiển thị"},pre:{copy:"Sao chép mã vào bộ nhớ tạm"}},sidebar:{close:"Đóng",toggle:"Chuyển đổi"},selectMenu:{create:'Tạo "{label}"',noData:"Không có dữ liệu",noMatch:"Không có kết quả phù hợp",search:"Tìm kiếm…"},slideover:{close:"Đóng"},table:{noData:"Không có dữ liệu"},toast:{close:"Đóng"}}}),oV=ve({name:"简体中文",code:"zh-CN",messages:{alert:{close:"关闭"},authForm:{hidePassword:"隐藏密码",showPassword:"显示密码",submit:"继续"},banner:{close:"关闭"},calendar:{nextMonth:"下个月",nextYear:"明年",prevMonth:"上个月",prevYear:"去年"},carousel:{dots:"选择要显示的幻灯片",goto:"跳转到第 {slide} 页",next:"下一页",prev:"上一页"},chatPrompt:{placeholder:"在这里输入你的消息…"},chatPromptSubmit:{label:"发送"},chatReasoning:{thinking:"思考中…",thought:"已思考",thoughtFor:"思考了 {duration}"},colorMode:{dark:"深色",light:"浅色",switchToDark:"切换到深色模式",switchToLight:"切换到浅色模式",system:"系统"},commandPalette:{back:"返回",close:"关闭",noData:"没有数据",noMatch:"没有匹配的数据",placeholder:"输入命令或搜索…"},contentSearch:{links:"链接",theme:"主题"},contentSearchButton:{label:"搜索…"},contentToc:{title:"本页内容"},dropdownMenu:{noMatch:"没有匹配的数据",search:"搜索…"},dashboardSearch:{theme:"主题"},dashboardSearchButton:{label:"搜索…"},dashboardSidebarCollapse:{collapse:"收起侧边栏",expand:"展开侧边栏"},dashboardSidebarToggle:{close:"关闭侧边栏",open:"打开侧边栏"},error:{clear:"返回首页"},fileUpload:{removeFile:"删除 {filename}"},header:{close:"关闭菜单",open:"打开菜单"},inputMenu:{create:'创建 "{label}"',noData:"没有数据",noMatch:"没有匹配的数据"},inputNumber:{decrement:"减少",increment:"增加"},modal:{close:"关闭"},pricingTable:{caption:"价格计划比较"},prose:{codeCollapse:{closeText:"收起",name:"代码",openText:"展开"},collapsible:{closeText:"隐藏",name:"属性",openText:"显示"},pre:{copy:"复制代码到剪贴板"}},sidebar:{close:"关闭",toggle:"切换"},selectMenu:{create:'创建 "{label}"',noData:"没有数据",noMatch:"没有匹配的数据",search:"搜索…"},slideover:{close:"关闭"},table:{noData:"没有数据"},toast:{close:"关闭"}}}),uV=ve({name:"繁體中文",code:"zh-TW",messages:{alert:{close:"關閉"},authForm:{hidePassword:"隱藏密碼",showPassword:"顯示密碼",submit:"繼續"},banner:{close:"關閉"},calendar:{nextMonth:"下個月",nextYear:"明年",prevMonth:"上個月",prevYear:"去年"},carousel:{dots:"選擇要顯示的投影片",goto:"跳轉到第 {slide} 頁",next:"下一頁",prev:"上一頁"},chatPrompt:{placeholder:"在這裡輸入你的消息…"},chatPromptSubmit:{label:"發送"},chatReasoning:{thinking:"思考中…",thought:"已思考",thoughtFor:"思考了 {duration}"},colorMode:{dark:"深色",light:"淺色",switchToDark:"切換到深色模式",switchToLight:"切換到淺色模式",system:"系統"},commandPalette:{back:"返回",close:"關閉",noData:"沒有資料",noMatch:"沒有相符的資料",placeholder:"輸入命令或搜尋…"},contentSearch:{links:"連結",theme:"主題"},contentSearchButton:{label:"搜尋…"},contentToc:{title:"本頁內容"},dropdownMenu:{noMatch:"沒有相符的資料",search:"搜尋…"},dashboardSearch:{theme:"主題"},dashboardSearchButton:{label:"搜尋…"},dashboardSidebarCollapse:{collapse:"收起側邊欄",expand:"展開側邊欄"},dashboardSidebarToggle:{close:"關閉側邊欄",open:"開啟側邊欄"},error:{clear:"返回首頁"},fileUpload:{removeFile:"移除 {filename}"},header:{close:"關閉選單",open:"開啟選單"},inputMenu:{create:"建立「{label}」",noData:"沒有資料",noMatch:"沒有相符的資料"},inputNumber:{decrement:"減少",increment:"增加"},modal:{close:"關閉"},pricingTable:{caption:"價格計畫比較"},prose:{codeCollapse:{closeText:"收起",name:"程式碼",openText:"展開"},collapsible:{closeText:"隱藏",name:"屬性",openText:"顯示"},pre:{copy:"複製程式碼到剪貼簿"}},sidebar:{close:"關閉",toggle:"切換"},selectMenu:{create:"建立「{label}」",noData:"沒有資料",noMatch:"沒有相符的資料",search:"搜尋…"},slideover:{close:"關閉"},table:{noData:"沒有資料"},toast:{close:"關閉"}}}),zb=Object.freeze(Object.defineProperty({__proto__:null,ar:QN,az:ej,be:tj,bg:nj,bn:oj,ca:uj,ckb:rj,cs:aj,da:sj,de:ij,de_ch:lj,el:cj,en:pr,en_gb:dj,es:fj,et:pj,eu:hj,fa_ir:mj,fi:gj,fr:vj,gl:yj,he:bj,hi:Ej,hr:Cj,hu:xj,hy:Dj,id:wj,is:Aj,it:Bj,ja:_j,ka:kj,kk:Sj,km:Tj,ko:Fj,ky:Pj,lb:Mj,lo:Oj,lt:Rj,mn:Ij,ms:Lj,nb_no:qj,nl:$j,pl:Nj,pt:jj,pt_br:Vj,ro:zj,ru:Uj,sk:Hj,sl:Kj,sq:Wj,sv:Gj,th:Yj,tj:Zj,tr:Xj,ug_cn:Jj,uk:Qj,ur:eV,uz:tV,vi:nV,zh_cn:oV,zh_tw:uV},Symbol.toStringTag,{value:"Module"}));function Ub(e,t,n){if(t&&n){const o=e.find(u=>u.path===`/${n}`)?.children||e;return o.find(u=>u.path===`/${n}/docs`)?.children||o}else return e.find(o=>o.path==="/docs")?.children||e}function rV(e,t,n=[]){if(e)for(const o of e){const u=[...n,{title:o.title,path:o.path}];if(o.path===t)return u;if(o.children){const r=rV(o.children,t,u);if(r)return r}}}function aV(e){let t=e;for(;t.children?.length;)t=t.children[0];return t.path}function sV(e){const t=Fn(),n=qe(),o=e??Ve("navigation"),u=S(()=>t.meta.layout==="docs"),r=S(()=>{if(u.value)return n.navigation?.sub}),a=S(()=>{if(!(!r.value||!o?.value))return o.value.find(c=>t.path===c.path||t.path.startsWith(c.path+"/"))}),s=S(()=>!r.value||!o?.value?[]:o.value.filter(c=>c.children?.length).map(c=>({label:c.title,icon:c.icon,to:aV(c),active:t.path===c.path||t.path.startsWith(c.path+"/")}))),i=S(()=>r.value&&a.value?a.value.children||[]:o?.value||[]);return{subNavigationMode:r,sections:s,currentSection:a,sidebarNavigation:i}}function qm(e){return!e||Array.isArray(e)&&e.length===0?[]:typeof e[0]=="string"?[{category:"Questions",items:e}]:e}const iV=360,lV=520;function cV(){const e=Qt(),t=qe(),n=e.public.assistant,o=t.assistant,u=t.docus,r=S(()=>n?.enabled??!1),a=Ho("assistant-open",()=>!1),s=Ho("assistant-expanded",()=>!1),i=Ho("assistant-messages",()=>[]),c=Ho("assistant-pending",()=>{}),l=aR("(max-width: 767px)"),d=S(()=>s.value?lV:iV),f=S(()=>!l.value&&a.value),p=S(()=>{const C=o?.faqQuestions;if(!C)return[];if(!Array.isArray(C)){const x=C,w=u?.locale||"en",B=e.public.i18n?.defaultLocale||"en",_=x[w]||x[B]||Object.values(x)[0];return qm(_||[])}return qm(C)});function m(C,x=!1){x&&(i.value=[]),C&&(c.value=C),a.value=!0}function g(){c.value=void 0}function E(){a.value=!1}function b(){a.value=!a.value}function y(){i.value=[]}function v(){s.value=!s.value}return{isEnabled:r,isOpen:a,isExpanded:s,isMobile:l,panelWidth:d,shouldPushContent:f,messages:i,pendingMessage:c,faqQuestions:p,open:m,clearPending:g,close:E,toggle:b,toggleExpanded:v,clearMessages:y}}const dV={docs:"v3.5.0--8g7emoS-lP-LfJTfGMCaoofT82Ui3Wqh1Ry74ZsXwVI",landing:"v3.5.0--ZNzLz635CxvNkObZKfv0BXVWPgZfa7fKz4ZewtBPkOg"},fV={docs:"_content_docs",landing:"_content_landing",info:"_content_info"},nz={docs:{type:"page",fields:{id:"string",title:"string",body:"json",description:"string",extension:"string",links:"json",meta:"json",navigation:"json",path:"string",seo:"json",stem:"string"}},landing:{type:"page",fields:{id:"string",title:"string",body:"json",description:"string",extension:"string",meta:"json",navigation:"json",path:"string",seo:"json",stem:"string"}},info:{type:"data",fields:{}}},ki=(e,t)=>{const n=e._conditions;return n.length>0?`(${n.join(` ${t} `)})`:""},Si=e=>{const t=[],n={_conditions:t,where(o,u,r){let a;switch(u.toUpperCase()){case"IN":case"NOT IN":if(Array.isArray(r)){const s=r.map(i=>Ur(i)).join(", ");a=`"${String(o)}" ${u.toUpperCase()} (${s})`}else throw new TypeError(`Value for ${u} must be an array`);break;case"BETWEEN":case"NOT BETWEEN":if(Array.isArray(r)&&r.length===2)a=`"${String(o)}" ${u.toUpperCase()} ${Ur(r[0])} AND ${Ur(r[1])}`;else throw new Error(`Value for ${u} must be an array with two elements`);break;case"IS NULL":case"IS NOT NULL":a=`"${String(o)}" ${u.toUpperCase()}`;break;case"LIKE":case"NOT LIKE":a=`"${String(o)}" ${u.toUpperCase()} ${Ur(r)}`;break;default:a=`"${String(o)}" ${u} ${Ur(typeof r=="boolean"?Number(r):r)}`}return t.push(`${a}`),n},andWhere(o){const u=o(Si());return t.push(ki(u,"AND")),n},orWhere(o){const u=o(Si());return t.push(ki(u,"OR")),n}};return n},pV=(e,t)=>{const n={conditions:[],selectedFields:[],offset:0,limit:0,orderBy:[],count:{field:"",distinct:!1}},o={__params:n,andWhere(r){const a=r(Si());return n.conditions.push(ki(a,"AND")),o},orWhere(r){const a=r(Si());return n.conditions.push(ki(a,"OR")),o},path(r){return o.where("path","=",rr(r))},skip(r){return n.offset=r,o},where(r,a,s){return o.andWhere(i=>i.where(String(r),a,s)),o},limit(r){return n.limit=r,o},select(...r){return r.length&&n.selectedFields.push(...r),o},order(r,a){return n.orderBy.push(`"${String(r)}" ${a}`),o},async all(){return t(e,u()).then(r=>r||[])},async first(){return t(e,u({limit:1})).then(r=>r[0]||null)},async count(r="*",a=!1){return t(e,u({count:{field:String(r),distinct:a}})).then(s=>s[0].count)}};function u(r={}){let a="SELECT ";if(r?.count)a+=`COUNT(${r.count.distinct?"DISTINCT ":""}${r.count.field}) as count`;else{const i=Array.from(new Set(n.selectedFields));a+=i.length>0?i.map(c=>`"${String(c)}"`).join(", "):"*"}a+=` FROM ${fV[String(e)]}`,n.conditions.length>0&&(a+=` WHERE ${n.conditions.join(" AND ")}`),n.orderBy.length>0?a+=` ORDER BY ${n.orderBy.join(", ")}`:a+=" ORDER BY stem ASC";const s=r?.limit||n.limit;return s>0&&(n.offset>0?a+=` LIMIT ${s} OFFSET ${n.offset}`:a+=` LIMIT ${s}`),a}return o};function Ur(e){return`'${String(e).replace(/'/g,"''")}'`}const hV=/\d/,mV=["-","_","/","."];function gV(e=""){if(!hV.test(e))return e!==e.toLowerCase()}function Hb(e,t){const n=mV,o=[];if(!e||typeof e!="string")return o;let u="",r,a;for(const s of e){const i=n.includes(s);if(i===!0){o.push(u),u="",r=void 0;continue}const c=gV(s);if(a===!1){if(r===!1&&c===!0){o.push(u),u=s,r=c;continue}if(r===!0&&c===!1&&u.length>1){const l=u.at(-1);o.push(u.slice(0,Math.max(0,u.length-1))),u=l+s,r=c;continue}}u+=s,r=c,a=i}return o.push(u),o}function vV(e){return e?e[0].toUpperCase()+e.slice(1):""}function yV(e,t){return e?(Array.isArray(e)?e:Hb(e)).map(n=>vV(t?.normalize?n.toLowerCase():n)).join(""):""}function oz(e,t){return e?(Array.isArray(e)?e:Hb(e)).map(n=>n.toLowerCase()).join("-"):""}function M0(e){return t=>(t=t||{},(e||[]).filter(n=>typeof t[n]<"u").reduce((n,o)=>Object.assign(n,{[o]:t[o]}),{}))}async function Kb(e,t=[]){e.__params?.orderBy?.length||(e=e.order("stem","ASC"));const o=await e.orWhere(c=>c.where("navigation","<>","false").where("navigation","IS NULL")).select("navigation","stem","path","title","meta",...t||[]).all(),{contents:u,configs:r}=o.reduce((c,l)=>{if(String(l.stem).split("/").pop()===".navigation"){l.title=l.title?.toLowerCase()==="navigation"?"":l.title;const d=l.path.split("/").slice(0,-1).join("/")||"/";c.configs[d]={...l,...l.body}}else c.contents.push(l);return c},{configs:{},contents:[]}),a=c=>({...M0(["title",...t])(c),...c.meta,...$m(c?.navigation)?c.navigation:{}}),s=c=>({...M0(["title",...t])(c),...$m(c?.navigation)?c.navigation:{}}),i=u.reduce((c,l)=>{const d=l.path.substring(1).split("/"),f=l.stem.split("/"),p=!!f[f.length-1]?.match(/([1-9]\d*\.)?index/g),m=y=>({title:y.title,path:y.path,stem:y.stem,children:[],...s(y)}),g=m(l);if(p){const y=r[g.path];if(typeof y?.navigation<"u"&&y?.navigation===!1)return c;if(l.path!=="/"){const v=m(l);g.children.push(v)}y&&Object.assign(g,a(y))}if(d.length===1){const y=c.find(v=>v.path===g.path&&v.page===!1);return p&&y?Object.assign(y,{page:void 0,children:[...g.children||[],...y.children||[]]}):c.push(g),c}const E=d.slice(0,-1).reduce((y,v,C)=>{const x="/"+d.slice(0,C+1).join("/"),w=r[x];if(typeof w?.navigation<"u"&&w.navigation===!1)return[];let B=y.find(_=>_.path===x);if(!B){const _=w?a(w):{};B={..._,title:_.title||bV(v),path:x,stem:f.slice(0,C+1).join("/"),children:[],page:!1},y.push(B)}return B.children},c),b=E.find(y=>y.path===g.path&&y.page===!1);return b?Object.assign(b,{...g,page:void 0,children:[...g.children||[],...b.children||[]]}):E.push(g),c},[]);return Wb(i)}function Wb(e){const t=e;for(const n of t)n.children?.length?Wb(n.children):delete n.children;return e}function $m(e){return e!==null&&Object.prototype.toString.call(e)==="[object Object]"}const bV=e=>e.split(/[\s-]/g).map(yV).join(" ");async function EV(e,t,n){const{before:o=1,after:u=1,fields:r=[]}=n||{},a=await Kb(e,r),s=Gb(a),i=s.findIndex(d=>d.path===t),c=i===-1?[]:s.slice(i-o,i),l=i===-1?[]:s.slice(i+1,i+u+1);return[...Array.from({length:o}).fill(null).concat(c).slice(c.length),...l.concat(Array.from({length:u}).fill(null)).slice(0,u)]}function Gb(e){return e.flatMap(n=>{const o=n.children?Gb(n.children):[];return n.page===!1||o.length&&o.find(u=>u.path===n.path)?o:[{...n,children:void 0},...o]})}function CV(e){return{type:"root",children:e.value.map(Yb)}}function Yb(e){if(typeof e=="string")return{type:"text",value:e};const[t,n,...o]=e;return{type:"element",tag:t,props:n,children:o.map(Yb)}}const xV=/^h([1-6])$/,O0=e=>Number(e.match(xV)?.[1]??0);async function DV(e,t){const{ignoredTags:n=[],extraFields:o=[],minHeading:u="h1",maxHeading:r="h6"}={},a=O0(u),s=O0(r);return(await e.where("extension","=","md").select("path","body","description","title",...o||[]).all()).flatMap(c=>wV(c,{ignoredTags:n,extraFields:o,minLevel:a,maxLevel:s}))}function wV(e,{ignoredTags:t,extraFields:n,minLevel:o,maxLevel:u}){const r=!e.body||e.body?.type==="root"?e.body:CV(e.body),a=e.path??"",s=M0(n)(e),i=[{...s,id:a,title:e.title||"",titles:[],content:(e.description||"").trim(),level:1}];if(!r?.children)return i;let c=1,l=0;const d=[e.title??""];for(const f of r.children){const p=f.tag||"",m=O0(p);if(m>=o&&m<=u){const g=R0(f).trim();m===1?d.splice(0,d.length):mR0(o,t)).filter(Boolean).join("")),n)}async function Zb(e,t,n,o){const u=e?Z5(e):{};u["accept-encoding"]=void 0;const r=`/__nuxt_content/${t}/${n}`,a={...o,headers:{...u,...o.headers},query:{v:dV[String(t)],t:void 0}};return e?await e.$fetch(r,a):await $fetch(r,a)}async function uz(e,t){return Zb(e,t,"sql_dump.txt",{responseType:"text",headers:{"content-type":"text/plain"}})}async function AV(e,t,n){return Zb(e,t,"query",{headers:{"content-type":"application/json"},method:"POST",body:{sql:n}})}const BV=e=>{const t=Z3()?.ssrContext?.event;return pV(e,(n,o)=>_V(t,n,o))};function Xb(e,t){return Bf(e,n=>Kb(n,t))}function rz(e,t,n){return Bf(e,o=>EV(o,t,n))}function Jb(e,t){return Bf(e,n=>DV(n))}async function _V(e,t,n){return window.WebAssembly?kV(t,n):AV(e,String(t),n)}async function kV(e,t){return await te(()=>import("./C5KpsIEK.js"),[],import.meta.url).then(o=>o.loadDatabaseAdapter(e)).then(o=>o.all(t))}function Bf(e,t){const n=BV(e),o={where(u,r,a){return n.where(String(u),r,a),o},andWhere(u){return n.andWhere(u),o},orWhere(u){return n.orWhere(u),o},order(u,r){return n.order(String(u),r),o},then(u,r){return t(n).then(u,r)},catch(u){return this.then(void 0,u)},finally(u){return this.then(void 0,void 0).finally(u)},get[Symbol.toStringTag](){return"Promise"}};return o}const SV=Ee(()=>te(()=>import("./C4Bgkocn.js"),__vite__mapDeps([26,15,1]),import.meta.url).then(e=>e.default||e)),TV=Ee(()=>te(()=>import("./CTFIZA_D.js"),[],import.meta.url).then(e=>e.default||e)),FV=Ee(()=>te(()=>import("./CTFIZA_D.js"),[],import.meta.url).then(e=>e.default||e)),PV=N({__name:"app",async setup(e){let t,n;const{seo:o}=qe(),u=Ib(),{locale:r,locales:a,isEnabled:s,switchLocalePath:i}=pl(),{isEnabled:c,panelWidth:l,shouldPushContent:d}=cV(),f=S(()=>zb[r.value]||pr),p=S(()=>f.value.code),m=S(()=>f.value.dir),g=S(()=>s.value?`docs_${r.value}`:"docs");if(sd({meta:[{name:"viewport",content:"width=device-width, initial-scale=1"}],link:[{rel:"icon",href:"/favicon.ico"}],htmlAttrs:{lang:p,dir:m}}),hv({titleTemplate:o.titleTemplate,title:o.title,description:o.description,ogSiteName:u.name,twitterCard:"summary_large_image"}),s.value){const v=Fn(),C=Qt().public.i18n.defaultLocale;je(()=>{const x=v.path.split("/")[1];if(!a.some(w=>w.code===x))return Ki(i(C))})}const{data:E}=([t,n]=Wg(()=>hd(()=>`navigation_${g.value}`,()=>Xb(g.value),{transform:v=>Ub(v,s.value,r.value),watch:[r]})),t=await t,n(),t),{data:b}=zv(`search_${g.value}`,()=>Jb(g.value),{server:!1,watch:[r]});St("navigation",E);const{subNavigationMode:y}=sV(E);return(v,C)=>{const x=RB,w=Lb,B=CN,_=_N,F=Nb,R=SV,Z=TV,q=FV,Q=pd,X=Vb;return D(),T(X,{locale:h(f)},{default:k(()=>[z(x,{color:"var(--ui-primary)"}),tt("div",{class:oe(["transition-[margin-right] duration-200 ease-linear will-change-[margin-right]",{"docus-sub-header":h(y)==="header"}]),style:xn({marginRight:h(d)?`${h(l)}px`:"0"})},[(v._.provides[xo]||v.$route).meta.header!==!1?(D(),T(w,{key:0})):ue("",!0),z(_,null,{default:k(()=>[z(B)]),_:1}),(v._.provides[xo]||v.$route).meta.footer!==!1?(D(),T(F,{key:1})):ue("",!0)],6),z(Q,null,{default:k(()=>[z(R,{files:h(b),navigation:h(E)},null,8,["files","navigation"]),h(c)?(D(),le(Se,{key:0},[z(Z),z(q)],64)):ue("",!0)]),_:1})]),_:1},8,["locale"])}}}),MV={slots:{root:"min-h-[calc(100vh-var(--ui-header-height))] flex flex-col items-center justify-center text-center",statusCode:"text-base font-semibold text-primary",statusMessage:"mt-2 text-4xl sm:text-5xl font-bold text-highlighted text-balance",message:"mt-4 text-lg text-muted text-balance",links:"mt-8 flex items-center justify-center gap-6"}},OV={__name:"UError",props:{as:{type:null,required:!1,default:"main"},error:{type:Object,required:!1},redirect:{type:String,required:!1,default:"/"},clear:{type:[Boolean,Object],required:!1,default:!0},class:{type:null,required:!1},ui:{type:Object,required:!1}},setup(e){const t=e,n=Ht(),{t:o}=eu(),u=qe(),r=Ct("error",t),a=S(()=>Fe({extend:Fe(MV),...u.ui?.error||{}})());function s(){nv({redirect:t.redirect})}return(i,c)=>(D(),T(h(Ae),{as:e.as,"data-slot":"root",class:oe(a.value.root({class:[h(r)?.root,t.class]}))},{default:k(()=>[t.error?.statusCode||t.error?.status||n.statusCode?(D(),le("p",{key:0,"data-slot":"statusCode",class:oe(a.value.statusCode({class:h(r)?.statusCode}))},[M(i.$slots,"statusCode",{},()=>[Qe(Me(t.error?.statusCode||t.error?.status),1)])],2)):ue("",!0),t.error?.statusMessage||t.error?.statusText||n.statusMessage?(D(),le("h1",{key:1,"data-slot":"statusMessage",class:oe(a.value.statusMessage({class:h(r)?.statusMessage}))},[M(i.$slots,"statusMessage",{},()=>[Qe(Me(t.error?.statusMessage||t.error?.statusText),1)])],2)):ue("",!0),t.error?.message&&t.error.message!==(t.error.statusMessage||t.error.statusText)||n.message?(D(),le("p",{key:2,"data-slot":"message",class:oe(a.value.message({class:h(r)?.message}))},[M(i.$slots,"message",{},()=>[Qe(Me(t.error?.message),1)])],2)):ue("",!0),e.clear||n.links?(D(),le("div",{key:3,"data-slot":"links",class:oe(a.value.links({class:h(r)?.links}))},[M(i.$slots,"links",{},()=>[e.clear?(D(),T(Jt,G({key:0,size:"lg",color:"primary",variant:"solid",label:h(o)("error.clear")},typeof e.clear=="object"?e.clear:{},{onClick:s}),null,16,["label"])):ue("",!0)])],2)):ue("",!0)]),_:3},8,["as","class"]))}},RV=Ee(()=>te(()=>import("./C4Bgkocn.js"),__vite__mapDeps([26,15,1]),import.meta.url).then(e=>e.default||e)),IV=N({__name:"error",props:{error:{}},async setup(e){let t,n;const o=e,{locale:u,locales:r,isEnabled:a,t:s,switchLocalePath:i}=pl(),c=S(()=>zb[u.value]||pr),l=S(()=>c.value.code),d=S(()=>c.value.dir);sd({htmlAttrs:{lang:l,dir:d}});const f=S(()=>({...o.error,statusMessage:s("common.error.title"),message:s("common.error.description")}));if(hv({title:()=>s("common.error.title"),description:()=>s("common.error.description")}),a.value){const E=Fn(),b=Qt().public.i18n.defaultLocale;je(()=>{const y=E.path.split("/")[1];if(!r.some(v=>v.code===y))return Ki(i(b))})}const p=S(()=>a.value?`docs_${u.value}`:"docs"),{data:m}=([t,n]=Wg(()=>hd(`navigation_${p.value}`,()=>Xb(p.value),{transform:E=>Ub(E,a.value,u.value),watch:[u]})),t=await t,n(),t),{data:g}=zv(`search_${p.value}`,()=>Jb(p.value),{server:!1});return St("navigation",m),(E,b)=>{const y=Lb,v=OV,C=Nb,x=RV,w=pd,B=Vb;return D(),T(B,{locale:h(c)},{default:k(()=>[z(y),z(v,{error:h(f)},null,8,["error"]),z(C),z(w,null,{default:k(()=>[z(x,{files:h(g),navigation:h(m)},null,8,["files","navigation"])]),_:1})]),_:1},8,["locale"])}}}),LV={key:0},Nm={__name:"nuxt-root",setup(e){const t=()=>null,n=Ie(),o=n.deferHydration();if(n.isHydrating){const c=n.hooks.hookOnce("app:error",o);Ut().beforeEach(c)}const u=!1;St(xo,Fn()),n.hooks.callHookWith(c=>c.map(l=>l()),"vue:setup");const r=Wi(),a=!1,s=/bot\b|chrome-lighthouse|facebookexternalhit|google\b/i;Lg((c,l,d)=>{if(n.hooks.callHook("vue:error",c,l,d)?.catch(f=>console.error("[nuxt] Error in `vue:error` hook",f)),s.test(navigator.userAgent))return n.hooks.callHook("app:error",c),console.error(`[nuxt] Not rendering error page for bot with user agent \`${navigator.userAgent}\`:`,c),!1;if(ov(c)&&(c.fatal||c.unhandled))return n.runWithContext(()=>du(c)),!1});const i=!1;return(c,l)=>(D(),T(J0,{onResolve:h(o)},{default:k(()=>[h(a)?(D(),le("div",LV)):h(r)?(D(),T(h(IV),{key:1,error:h(r)},null,8,["error"])):h(i)?(D(),T(h(t),{key:2,context:h(i)},null,8,["context"])):h(u)?(D(),T(ln(h(u)),{key:3})):(D(),T(h(PV),{key:4}))]),_:1},8,["onResolve"]))}};let jm;{let e;jm=async function(){if(e)return e;const n=!!(window.__NUXT__?.serverRendered??document.getElementById("__NUXT_DATA__")?.dataset.ssr==="true"),o=n?SC(Nm):kC(Nm),u=V5({vueApp:o});async function r(a){await u.callHook("app:error",a),u.payload.error||=Yo(a)}o.config.errorHandler=r,u.hook("app:suspense:resolve",()=>{o.config.errorHandler===r&&(o.config.errorHandler=void 0)}),!n&&Ep.id&&u.hook("app:suspense:resolve",()=>{document.getElementById(Ep.id)?.remove()});try{await H5(u,FB)}catch(a){r(a)}try{await u.hooks.callHook("app:created",o),await u.hooks.callHook("app:beforeMount",o),o.mount($5),await u.hooks.callHook("app:mounted",o),await He()}catch(a){r(a)}return o},e=jm().catch(t=>{throw console.error("Error while mounting app:",t),t})}export{eu as $,B1 as A,z as B,S3 as C,bn as D,Cg as E,Se as F,je as G,en as H,Dn as I,ce as J,qV as K,y1 as L,PE as M,xu as N,$e as O,Ae as P,Ht as Q,VV as R,j7 as S,At as T,T_ as U,Br as V,ln as W,xn as X,Sn as Y,fy as Z,Xg as _,T as a,$_ as a$,qe as a0,Ct as a1,Et as a2,fn as a3,nr as a4,NV as a5,ZE as a6,Xd as a7,My as a8,Kd as a9,z$ as aA,GV as aB,XV as aC,Py as aD,Fy as aE,YV as aF,dl as aG,Sr as aH,Pu as aI,QV as aJ,ZV as aK,GT as aL,mT as aM,ET as aN,St as aO,_P as aP,Fn as aQ,$N as aR,Qt as aS,ez as aT,pl as aU,cV as aV,iO as aW,ji as aX,Fo as aY,Ut as aZ,Ie as a_,Zd as aa,vn as ab,oe as ac,cl as ad,_M as ae,tt as af,Me as ag,Qe as ah,Vy as ai,jg as aj,Jt as ak,Kg as al,Fe as am,at as an,Ot as ao,o_ as ap,PM as aq,gi as ar,KV as as,CF as at,lO as au,on as av,De as aw,ke as ax,yF as ay,nt as az,Zc as b,i0 as b$,L_ as b0,R_ as b1,sV as b2,hN as b3,Sb as b4,Ve as b5,Wg as b6,hd as b7,oz as b8,BV as b9,X_ as bA,K_ as bB,Ky as bC,Ho as bD,ao as bE,Eg as bF,jV as bG,nS as bH,HV as bI,UV as bJ,z7 as bK,zg as bL,br as bM,X2 as bN,$V as bO,Ad as bP,h0 as bQ,Pd as bR,Fd as bS,zh as bT,Pg as bU,WV as bV,Tb as bW,nz as bX,fV as bY,dV as bZ,uz as b_,rz as ba,Yo as bb,rV as bc,ze as bd,Tt as be,et as bf,Ne as bg,jf as bh,yV as bi,Ee as bj,bu as bk,vt as bl,RC as bm,te as bn,CV as bo,Ib as bp,hv as bq,sd as br,Cr as bs,rr as bt,Ig as bu,xa as bv,wd as bw,O1 as bx,Y_ as by,Q_ as bz,S as c,JV as c0,N as d,le as e,ue as f,Ft as g,$a as h,Bu as i,k_ as j,el as k,$t as l,G as m,He as n,D as o,k as p,M as q,dn as r,h as s,Be as t,jn as u,L as v,Ce as w,zB as x,zV as y,lt as z}; diff --git a/assets/C2YCDdgW.js b/assets/Dq7OQ_Lf.js similarity index 86% rename from assets/C2YCDdgW.js rename to assets/Dq7OQ_Lf.js index 06d3306..c1579ea 100644 --- a/assets/C2YCDdgW.js +++ b/assets/Dq7OQ_Lf.js @@ -1 +1 @@ -import{a0 as l,a1 as n,e as u,q as p,ac as i,s as d,c as m,am as s,o as f}from"./Sa-_S7_w.js";const b={base:"border-s-4 border-accented ps-4 italic"},_={__name:"ProseBlockquote",props:{class:{type:null,required:!1},ui:{type:Object,required:!1}},setup(o){const e=o,a=l(),t=n("prose.blockquote",e),c=m(()=>s({extend:s(b),...a.ui?.prose?.blockquote||{}}));return(r,q)=>(f(),u("blockquote",{class:i(c.value({class:[d(t)?.base,e.class]}))},[p(r.$slots,"default")],2))}};export{_ as default}; +import{a0 as l,a1 as n,e as u,q as p,ac as i,s as d,c as m,am as s,o as f}from"./DklXDfzJ.js";const b={base:"border-s-4 border-accented ps-4 italic"},_={__name:"ProseBlockquote",props:{class:{type:null,required:!1},ui:{type:Object,required:!1}},setup(o){const e=o,a=l(),t=n("prose.blockquote",e),c=m(()=>s({extend:s(b),...a.ui?.prose?.blockquote||{}}));return(r,q)=>(f(),u("blockquote",{class:i(c.value({class:[d(t)?.base,e.class]}))},[p(r.$slots,"default")],2))}};export{_ as default}; diff --git a/assets/By6s8kVp.js b/assets/DxjyxIot.js similarity index 89% rename from assets/By6s8kVp.js rename to assets/DxjyxIot.js index 2a623ee..47756c1 100644 --- a/assets/By6s8kVp.js +++ b/assets/DxjyxIot.js @@ -1 +1 @@ -import{a0 as d,a1 as c,e as n,q as i,ac as u,s as p,c as m,am as e,o as f}from"./Sa-_S7_w.js";const h={base:"[&:first-child>th:first-child]:rounded-tl-md [&:first-child>th:last-child]:rounded-tr-md [&:last-child>td:first-child]:rounded-bl-md [&:last-child>td:last-child]:rounded-br-md"},C={__name:"ProseTr",props:{class:{type:null,required:!1},ui:{type:Object,required:!1}},setup(t){const s=t,a=d(),r=c("prose.tr",s),l=m(()=>e({extend:e(h),...a.ui?.prose?.tr||{}}));return(o,b)=>(f(),n("tr",{class:u(l.value({class:[p(r)?.base,s.class]}))},[i(o.$slots,"default")],2))}};export{C as default}; +import{a0 as d,a1 as c,e as n,q as i,ac as u,s as p,c as m,am as e,o as f}from"./DklXDfzJ.js";const h={base:"[&:first-child>th:first-child]:rounded-tl-md [&:first-child>th:last-child]:rounded-tr-md [&:last-child>td:first-child]:rounded-bl-md [&:last-child>td:last-child]:rounded-br-md"},C={__name:"ProseTr",props:{class:{type:null,required:!1},ui:{type:Object,required:!1}},setup(t){const s=t,a=d(),r=c("prose.tr",s),l=m(()=>e({extend:e(h),...a.ui?.prose?.tr||{}}));return(o,b)=>(f(),n("tr",{class:u(l.value({class:[p(r)?.base,s.class]}))},[i(o.$slots,"default")],2))}};export{C as default}; diff --git a/assets/DaldoYD7.js b/assets/HMVwWJyQ.js similarity index 97% rename from assets/DaldoYD7.js rename to assets/HMVwWJyQ.js index 9acab05..da0c25c 100644 --- a/assets/DaldoYD7.js +++ b/assets/HMVwWJyQ.js @@ -1 +1 @@ -import{Q as C,a0 as q,a1 as $,o as r,a as d,p,e as g,ac as o,s as i,q as u,ab as S,f as c,af as m,a7 as w,m as F,ah as y,ag as v,P as I,c as k,am as b,b$ as P}from"./Sa-_S7_w.js";const j={slots:{root:"relative rounded-sm",wrapper:"",leading:"inline-flex items-center justify-center",leadingIcon:"size-5 shrink-0 text-primary",title:"text-base text-pretty font-semibold text-highlighted",description:"text-[15px] text-pretty text-muted"},variants:{orientation:{horizontal:{root:"flex items-start gap-2.5",leading:"p-0.5"},vertical:{leading:"mb-2.5"}},to:{true:{root:["has-focus-visible:ring-2 has-focus-visible:ring-primary","transition"]}},title:{true:{description:"mt-1"}}}},B=Object.assign({inheritAttrs:!1},{__name:"UPageFeature",props:{as:{type:null,required:!1},icon:{type:null,required:!1},title:{type:String,required:!1},description:{type:String,required:!1},orientation:{type:null,required:!1,default:"horizontal"},to:{type:null,required:!1},target:{type:[String,Object,null],required:!1},onClick:{type:Function,required:!1},class:{type:null,required:!1},ui:{type:Object,required:!1}},setup(e){const t=e,s=C(),h=q(),l=$("pageFeature",t),a=k(()=>b({extend:b(j),...h.ui?.pageFeature||{}})({orientation:t.orientation,title:!!t.title||!!s.title,to:!!t.to||!!t.onClick})),x=k(()=>(s.title&&P(s.title())||t.title||"Feature link").trim());return(n,f)=>(r(),d(i(I),{as:e.as,"data-orientation":e.orientation,"data-slot":"root",class:o(a.value.root({class:[i(l)?.root,t.class]})),onClick:e.onClick},{default:p(()=>[e.icon||s.leading?(r(),g("div",{key:0,"data-slot":"leading",class:o(a.value.leading({class:i(l)?.leading}))},[u(n.$slots,"leading",{ui:a.value},()=>[e.icon?(r(),d(S,{key:0,name:e.icon,"data-slot":"leadingIcon",class:o(a.value.leadingIcon({class:i(l)?.leadingIcon}))},null,8,["name","class"])):c("",!0)])],2)):c("",!0),m("div",{"data-slot":"wrapper",class:o(a.value.wrapper({class:i(l)?.wrapper}))},[e.to?(r(),d(w,F({key:0,"aria-label":x.value},{to:e.to,target:e.target,...n.$attrs},{class:"focus:outline-none peer",raw:""}),{default:p(()=>[...f[0]||(f[0]=[m("span",{class:"absolute inset-0","aria-hidden":"true"},null,-1)])]),_:1},16,["aria-label"])):c("",!0),u(n.$slots,"default",{},()=>[e.title||s.title?(r(),g("div",{key:0,"data-slot":"title",class:o(a.value.title({class:i(l)?.title}))},[u(n.$slots,"title",{},()=>[y(v(e.title),1)])],2)):c("",!0),e.description||s.description?(r(),g("div",{key:1,"data-slot":"description",class:o(a.value.description({class:i(l)?.description}))},[u(n.$slots,"description",{},()=>[y(v(e.description),1)])],2)):c("",!0)])],2)]),_:3},8,["as","data-orientation","class","onClick"]))}});export{B as default}; +import{Q as C,a0 as q,a1 as $,o as r,a as d,p,e as g,ac as o,s as i,q as u,ab as S,f as c,af as m,a7 as w,m as F,ah as y,ag as v,P as I,c as k,am as b,b$ as P}from"./DklXDfzJ.js";const j={slots:{root:"relative rounded-sm",wrapper:"",leading:"inline-flex items-center justify-center",leadingIcon:"size-5 shrink-0 text-primary",title:"text-base text-pretty font-semibold text-highlighted",description:"text-[15px] text-pretty text-muted"},variants:{orientation:{horizontal:{root:"flex items-start gap-2.5",leading:"p-0.5"},vertical:{leading:"mb-2.5"}},to:{true:{root:["has-focus-visible:ring-2 has-focus-visible:ring-primary","transition"]}},title:{true:{description:"mt-1"}}}},B=Object.assign({inheritAttrs:!1},{__name:"UPageFeature",props:{as:{type:null,required:!1},icon:{type:null,required:!1},title:{type:String,required:!1},description:{type:String,required:!1},orientation:{type:null,required:!1,default:"horizontal"},to:{type:null,required:!1},target:{type:[String,Object,null],required:!1},onClick:{type:Function,required:!1},class:{type:null,required:!1},ui:{type:Object,required:!1}},setup(e){const t=e,s=C(),h=q(),l=$("pageFeature",t),a=k(()=>b({extend:b(j),...h.ui?.pageFeature||{}})({orientation:t.orientation,title:!!t.title||!!s.title,to:!!t.to||!!t.onClick})),x=k(()=>(s.title&&P(s.title())||t.title||"Feature link").trim());return(n,f)=>(r(),d(i(I),{as:e.as,"data-orientation":e.orientation,"data-slot":"root",class:o(a.value.root({class:[i(l)?.root,t.class]})),onClick:e.onClick},{default:p(()=>[e.icon||s.leading?(r(),g("div",{key:0,"data-slot":"leading",class:o(a.value.leading({class:i(l)?.leading}))},[u(n.$slots,"leading",{ui:a.value},()=>[e.icon?(r(),d(S,{key:0,name:e.icon,"data-slot":"leadingIcon",class:o(a.value.leadingIcon({class:i(l)?.leadingIcon}))},null,8,["name","class"])):c("",!0)])],2)):c("",!0),m("div",{"data-slot":"wrapper",class:o(a.value.wrapper({class:i(l)?.wrapper}))},[e.to?(r(),d(w,F({key:0,"aria-label":x.value},{to:e.to,target:e.target,...n.$attrs},{class:"focus:outline-none peer",raw:""}),{default:p(()=>[...f[0]||(f[0]=[m("span",{class:"absolute inset-0","aria-hidden":"true"},null,-1)])]),_:1},16,["aria-label"])):c("",!0),u(n.$slots,"default",{},()=>[e.title||s.title?(r(),g("div",{key:0,"data-slot":"title",class:o(a.value.title({class:i(l)?.title}))},[u(n.$slots,"title",{},()=>[y(v(e.title),1)])],2)):c("",!0),e.description||s.description?(r(),g("div",{key:1,"data-slot":"description",class:o(a.value.description({class:i(l)?.description}))},[u(n.$slots,"description",{},()=>[y(v(e.description),1)])],2)):c("",!0)])],2)]),_:3},8,["as","data-orientation","class","onClick"]))}});export{B as default}; diff --git a/assets/CgIOeGUO.js b/assets/JNjzKBD0.js similarity index 91% rename from assets/CgIOeGUO.js rename to assets/JNjzKBD0.js index 144ee12..92dc730 100644 --- a/assets/CgIOeGUO.js +++ b/assets/JNjzKBD0.js @@ -1 +1 @@ -import{a0 as n,a1 as i,e as p,q as c,ac as u,s as d,c as m,am as t,o as f}from"./Sa-_S7_w.js";const _={base:"py-3 px-4 text-sm align-top border-e border-b first:border-s border-muted [&_code]:text-xs/5 [&_p]:my-0 [&_p]:leading-6 [&_ul]:my-0 [&_ol]:my-0 [&_ul]:ps-4.5 [&_ol]:ps-4.5 [&_li]:leading-6 [&_li]:my-0.5",variants:{align:{left:"text-left",center:"text-center",right:"text-right"}},defaultVariants:{align:"left"}},b={__name:"ProseTd",props:{align:{type:String,required:!1},class:{type:null,required:!1},ui:{type:Object,required:!1}},setup(s){const e=s,a=n(),r=i("prose.td",e),l=m(()=>t({extend:t(_),...a.ui?.prose?.td||{}}));return(o,g)=>(f(),p("td",{class:u(l.value({align:e.align,class:[d(r)?.base,e.class]}))},[c(o.$slots,"default")],2))}};export{b as default}; +import{a0 as n,a1 as i,e as p,q as c,ac as u,s as d,c as m,am as t,o as f}from"./DklXDfzJ.js";const _={base:"py-3 px-4 text-sm align-top border-e border-b first:border-s border-muted [&_code]:text-xs/5 [&_p]:my-0 [&_p]:leading-6 [&_ul]:my-0 [&_ol]:my-0 [&_ul]:ps-4.5 [&_ol]:ps-4.5 [&_li]:leading-6 [&_li]:my-0.5",variants:{align:{left:"text-left",center:"text-center",right:"text-right"}},defaultVariants:{align:"left"}},b={__name:"ProseTd",props:{align:{type:String,required:!1},class:{type:null,required:!1},ui:{type:Object,required:!1}},setup(s){const e=s,a=n(),r=i("prose.td",e),l=m(()=>t({extend:t(_),...a.ui?.prose?.td||{}}));return(o,g)=>(f(),p("td",{class:u(l.value({align:e.align,class:[d(r)?.base,e.class]}))},[c(o.$slots,"default")],2))}};export{b as default}; diff --git a/assets/DdGGUwSf.js b/assets/P1Petxml.js similarity index 99% rename from assets/DdGGUwSf.js rename to assets/P1Petxml.js index 82180ee..b5af7c5 100644 --- a/assets/DdGGUwSf.js +++ b/assets/P1Petxml.js @@ -1,4 +1,4 @@ -import{b5 as Ao,aO as Vo,c as Mt,v as Bs,bL as Co,w as Mo,bf as Eo,G as Fs,aY as Do,H as Is,bu as Ro,bM as Lo,d as js,bd as Os,bl as ko,m as Xt,Y as Bo,o as st,a as yt,p as et,q as Fo,s as D,W as be,bN as Io,bO as jo,a0 as Oo,a1 as Uo,a4 as dn,ar as No,e as pn,B as tt,bP as $o,F as Wo,bQ as mn,bR as Ko,bS as _o,ac as yn,f as gn,bT as Go,aS as zo,am as vn,bU as Ho}from"./Sa-_S7_w.js";function jt(t,e){const n=typeof t=="string"&&!e?`${t}Context`:e,s=Symbol(n);return[o=>{const a=Ao(s,o);if(a===void 0)throw new Error(`Injection \`${s.toString()}\` not found. Component must be used within ${Array.isArray(t)?`one of the following components: ${t.join(", ")}`:`\`${t}\``}`);return a},o=>(Vo(s,o),o),s]}function Xo(t,e){const{layoutGroup:n,presenceContext:s,config:i}=e,r=n.id&&t.layoutId?`${n.id}-${t.layoutId}`:t.layoutId||void 0;return{...t,layoutId:r,transition:t.transition??i.transition,layoutGroup:n,motionConfig:i,inViewOptions:t.inViewOptions??i.inViewOptions,presenceContext:s,initial:s.initial===!1?s.initial:t.initial===!0?void 0:t.initial}}function ze(t,e){t.indexOf(e)===-1&&t.push(e)}function Yt(t,e){const n=t.indexOf(e);n>-1&&t.splice(n,1)}const Q=(t,e,n)=>n>e?e:n{};const rt={},Us=t=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(t);function Ns(t){return typeof t=="object"&&t!==null}const $s=t=>/^0[^.\s]+$/u.test(t);function Ws(t){let e;return()=>(e===void 0&&(e=t()),e)}const K=t=>t,Yo=(t,e)=>n=>e(t(n)),Ot=(...t)=>t.reduce(Yo),kt=(t,e,n)=>{const s=e-t;return s===0?1:(n-t)/s};class Xe{constructor(){this.subscriptions=[]}add(e){return ze(this.subscriptions,e),()=>Yt(this.subscriptions,e)}notify(e,n,s){const i=this.subscriptions.length;if(i)if(i===1)this.subscriptions[0](e,n,s);else for(let r=0;rt*1e3,W=t=>t/1e3;function Ks(t,e){return e?t*(1e3/e):0}const _s=(t,e,n)=>(((1-3*n+3*e)*t+(3*n-6*e))*t+3*e)*t,qo=1e-7,Zo=12;function Qo(t,e,n,s,i){let r,o,a=0;do o=e+(n-e)/2,r=_s(o,s,i)-t,r>0?n=o:e=o;while(Math.abs(r)>qo&&++aQo(r,0,1,t,n);return r=>r===0||r===1?r:_s(i(r),e,s)}const Gs=t=>e=>e<=.5?t(2*e)/2:(2-t(2*(1-e)))/2,zs=t=>e=>1-t(1-e),Hs=Ut(.33,1.53,.69,.99),Ye=zs(Hs),Xs=Gs(Ye),Ys=t=>t>=1?1:(t*=2)<1?.5*Ye(t):.5*(2-Math.pow(2,-10*(t-1))),qe=t=>1-Math.sin(Math.acos(t)),qs=zs(qe),Zs=Gs(qe),Jo=Ut(.42,0,1,1),tr=Ut(0,0,.58,1),Qs=Ut(.42,0,.58,1),er=t=>Array.isArray(t)&&typeof t[0]!="number",Js=t=>Array.isArray(t)&&typeof t[0]=="number",nr={linear:K,easeIn:Jo,easeInOut:Qs,easeOut:tr,circIn:qe,circInOut:Zs,circOut:qs,backIn:Ye,backInOut:Xs,backOut:Hs,anticipate:Ys},sr=t=>typeof t=="string",xn=t=>{if(Js(t)){He(t.length===4);const[e,n,s,i]=t;return Ut(e,n,s,i)}else if(sr(t))return nr[t];return t},$t=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function ir(t,e){let n=new Set,s=new Set,i=!1,r=!1;const o=new WeakSet;let a={delta:0,timestamp:0,isProcessing:!1};function l(u){o.has(u)&&(c.schedule(u),t()),u(a)}const c={schedule:(u,h=!1,f=!1)=>{const p=f&&i?n:s;return h&&o.add(u),p.add(u),u},cancel:u=>{s.delete(u),o.delete(u)},process:u=>{if(a=u,i){r=!0;return}i=!0;const h=n;n=s,s=h,n.forEach(l),n.clear(),i=!1,r&&(r=!1,c.process(u))}};return c}const or=40;function ti(t,e){let n=!1,s=!0;const i={delta:0,timestamp:0,isProcessing:!1},r=()=>n=!0,o=$t.reduce((x,w)=>(x[w]=ir(r),x),{}),{setup:a,read:l,resolveKeyframes:c,preUpdate:u,update:h,preRender:f,render:d,postRender:p}=o,y=()=>{const x=rt.useManualTiming,w=x?i.timestamp:performance.now();n=!1,x||(i.delta=s?1e3/60:Math.max(Math.min(w-i.timestamp,or),1)),i.timestamp=w,i.isProcessing=!0,a.process(i),l.process(i),c.process(i),u.process(i),h.process(i),f.process(i),d.process(i),p.process(i),i.isProcessing=!1,n&&e&&(s=!1,t(y))},m=()=>{n=!0,s=!0,i.isProcessing||t(y)};return{schedule:$t.reduce((x,w)=>{const S=o[w];return x[w]=(L,U=!1,P=!1)=>(n||m(),S.schedule(L,U,P)),x},{}),cancel:x=>{for(let w=0;w<$t.length;w++)o[$t[w]].cancel(x)},state:i,steps:o}}const{schedule:A,cancel:at,state:B,steps:re}=ti(typeof requestAnimationFrame<"u"?requestAnimationFrame:K,!0);let _t;function rr(){_t=void 0}const j={now:()=>(_t===void 0&&j.set(B.isProcessing||rt.useManualTiming?B.timestamp:performance.now()),_t),set:t=>{_t=t,queueMicrotask(rr)}},ei=t=>e=>typeof e=="string"&&e.startsWith(t),Ze=ei("--"),ar=ei("var(--"),Qe=t=>ar(t)?lr.test(t.split("/*")[0].trim()):!1,lr=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function Tn(t){return typeof t!="string"?!1:t.split("/*")[0].includes("var(--")}const St={test:t=>typeof t=="number",parse:parseFloat,transform:t=>t},Bt={...St,transform:t=>Q(0,1,t)},Wt={...St,default:1},Et=t=>Math.round(t*1e5)/1e5,Je=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function ur(t){return t==null}const cr=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,tn=(t,e)=>n=>!!(typeof n=="string"&&cr.test(n)&&n.startsWith(t)||e&&!ur(n)&&Object.prototype.hasOwnProperty.call(n,e)),ni=(t,e,n)=>s=>{if(typeof s!="string")return s;const[i,r,o,a]=s.match(Je);return{[t]:parseFloat(i),[e]:parseFloat(r),[n]:parseFloat(o),alpha:a!==void 0?parseFloat(a):1}},hr=t=>Q(0,255,t),ae={...St,transform:t=>Math.round(hr(t))},ht={test:tn("rgb","red"),parse:ni("red","green","blue"),transform:({red:t,green:e,blue:n,alpha:s=1})=>"rgba("+ae.transform(t)+", "+ae.transform(e)+", "+ae.transform(n)+", "+Et(Bt.transform(s))+")"};function fr(t){let e="",n="",s="",i="";return t.length>5?(e=t.substring(1,3),n=t.substring(3,5),s=t.substring(5,7),i=t.substring(7,9)):(e=t.substring(1,2),n=t.substring(2,3),s=t.substring(3,4),i=t.substring(4,5),e+=e,n+=n,s+=s,i+=i),{red:parseInt(e,16),green:parseInt(n,16),blue:parseInt(s,16),alpha:i?parseInt(i,16)/255:1}}const Se={test:tn("#"),parse:fr,transform:ht.transform},Nt=t=>({test:e=>typeof e=="string"&&e.endsWith(t)&&e.split(" ").length===1,parse:parseFloat,transform:e=>`${e}${t}`}),it=Nt("deg"),Z=Nt("%"),v=Nt("px"),dr=Nt("vh"),pr=Nt("vw"),bn={...Z,parse:t=>Z.parse(t)/100,transform:t=>Z.transform(t*100)},gt={test:tn("hsl","hue"),parse:ni("hue","saturation","lightness"),transform:({hue:t,saturation:e,lightness:n,alpha:s=1})=>"hsla("+Math.round(t)+", "+Z.transform(Et(e))+", "+Z.transform(Et(n))+", "+Et(Bt.transform(s))+")"},R={test:t=>ht.test(t)||Se.test(t)||gt.test(t),parse:t=>ht.test(t)?ht.parse(t):gt.test(t)?gt.parse(t):Se.parse(t),transform:t=>typeof t=="string"?t:t.hasOwnProperty("red")?ht.transform(t):gt.transform(t),getAnimatableNone:t=>{const e=R.parse(t);return e.alpha=0,R.transform(e)}},mr=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function yr(t){return isNaN(t)&&typeof t=="string"&&(t.match(Je)?.length||0)+(t.match(mr)?.length||0)>0}const si="number",ii="color",gr="var",vr="var(",Sn="${}",xr=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function Tt(t){const e=t.toString(),n=[],s={color:[],number:[],var:[]},i=[];let r=0;const a=e.replace(xr,l=>(R.test(l)?(s.color.push(r),i.push(ii),n.push(R.parse(l))):l.startsWith(vr)?(s.var.push(r),i.push(gr),n.push(l)):(s.number.push(r),i.push(si),n.push(parseFloat(l))),++r,Sn)).split(Sn);return{values:n,split:a,indexes:s,types:i}}function Tr(t){return Tt(t).values}function oi({split:t,types:e}){const n=t.length;return s=>{let i="";for(let r=0;rtypeof t=="number"?0:R.test(t)?R.getAnimatableNone(t):t,wr=(t,e)=>typeof t=="number"?e?.trim().endsWith("/")?t:0:Sr(t);function Pr(t){const e=Tt(t);return oi(e)(e.values.map((s,i)=>wr(s,e.split[i])))}const X={test:yr,parse:Tr,createTransformer:br,getAnimatableNone:Pr};function le(t,e,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?t+(e-t)*6*n:n<1/2?e:n<2/3?t+(e-t)*(2/3-n)*6:t}function Ar({hue:t,saturation:e,lightness:n,alpha:s}){t/=360,e/=100,n/=100;let i=0,r=0,o=0;if(!e)i=r=o=n;else{const a=n<.5?n*(1+e):n+e-n*e,l=2*n-a;i=le(l,a,t+1/3),r=le(l,a,t),o=le(l,a,t-1/3)}return{red:Math.round(i*255),green:Math.round(r*255),blue:Math.round(o*255),alpha:s}}function qt(t,e){return n=>n>0?e:t}const C=(t,e,n)=>t+(e-t)*n,ue=(t,e,n)=>{const s=t*t,i=n*(e*e-s)+s;return i<0?0:Math.sqrt(i)},Vr=[Se,ht,gt],Cr=t=>Vr.find(e=>e.test(t));function wn(t){const e=Cr(t);if(!e)return!1;let n=e.parse(t);return e===gt&&(n=Ar(n)),n}const Pn=(t,e)=>{const n=wn(t),s=wn(e);if(!n||!s)return qt(t,e);const i={...n};return r=>(i.red=ue(n.red,s.red,r),i.green=ue(n.green,s.green,r),i.blue=ue(n.blue,s.blue,r),i.alpha=C(n.alpha,s.alpha,r),ht.transform(i))},we=new Set(["none","hidden"]);function Mr(t,e){return we.has(t)?n=>n<=0?t:e:n=>n>=1?e:t}function Er(t,e){return n=>C(t,e,n)}function en(t){return typeof t=="number"?Er:typeof t=="string"?Qe(t)?qt:R.test(t)?Pn:Lr:Array.isArray(t)?ri:typeof t=="object"?R.test(t)?Pn:Dr:qt}function ri(t,e){const n=[...t],s=n.length,i=t.map((r,o)=>en(r)(r,e[o]));return r=>{for(let o=0;o{for(const r in s)n[r]=s[r](i);return n}}function Rr(t,e){const n=[],s={color:0,var:0,number:0};for(let i=0;i{const n=X.createTransformer(e),s=Tt(t),i=Tt(e);return s.indexes.var.length===i.indexes.var.length&&s.indexes.color.length===i.indexes.color.length&&s.indexes.number.length>=i.indexes.number.length?we.has(t)&&!i.values.length||we.has(e)&&!s.values.length?Mr(t,e):Ot(ri(Rr(s,i),i.values),n):qt(t,e)};function ai(t,e,n){return typeof t=="number"&&typeof e=="number"&&typeof n=="number"?C(t,e,n):en(t)(t,e)}const kr=t=>{const e=({timestamp:n})=>t(n);return{start:(n=!0)=>A.update(e,n),stop:()=>at(e),now:()=>B.isProcessing?B.timestamp:j.now()}},li=(t,e,n=10)=>{let s="";const i=Math.max(Math.round(e/n),2);for(let r=0;r=Zt?1/0:e}function Br(t,e=100,n){const s=n({...t,keyframes:[0,e]}),i=Math.min(nn(s),Zt);return{type:"keyframes",ease:r=>s.next(i*r).value/e,duration:W(i)}}const E={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1};function Pe(t,e){return t*Math.sqrt(1-e*e)}const Fr=12;function Ir(t,e,n){let s=n;for(let i=1;i{const u=c*o,h=u*t,f=u-n,d=Pe(c,o),p=Math.exp(-h);return ce-f/d*p},r=c=>{const h=c*o*t,f=h*n+n,d=Math.pow(o,2)*Math.pow(c,2)*t,p=Math.exp(-h),y=Pe(Math.pow(c,2),o);return(-i(c)+ce>0?-1:1)*((f-d)*p)/y}):(i=c=>{const u=Math.exp(-c*t),h=(c-n)*t+1;return-ce+u*h},r=c=>{const u=Math.exp(-c*t),h=(n-c)*(t*t);return u*h});const a=5/t,l=Ir(i,r,a);if(t=_(t),isNaN(l))return{stiffness:E.stiffness,damping:E.damping,duration:t};{const c=Math.pow(l,2)*s;return{stiffness:c,damping:o*2*Math.sqrt(s*c),duration:t}}}const Or=["duration","bounce"],Ur=["stiffness","damping","mass"];function An(t,e){return e.some(n=>t[n]!==void 0)}function Nr(t){let e={velocity:E.velocity,stiffness:E.stiffness,damping:E.damping,mass:E.mass,isResolvedFromDuration:!1,...t};if(!An(t,Ur)&&An(t,Or))if(e.velocity=0,t.visualDuration){const n=t.visualDuration,s=2*Math.PI/(n*1.2),i=s*s,r=2*Q(.05,1,1-(t.bounce||0))*Math.sqrt(i);e={...e,mass:E.mass,stiffness:i,damping:r}}else{const n=jr({...t,velocity:0});e={...e,...n,mass:E.mass},e.isResolvedFromDuration=!0}return e}function Qt(t=E.visualDuration,e=E.bounce){const n=typeof t!="object"?{visualDuration:t,keyframes:[0,1],bounce:e}:t;let{restSpeed:s,restDelta:i}=n;const r=n.keyframes[0],o=n.keyframes[n.keyframes.length-1],a={done:!1,value:r},{stiffness:l,damping:c,mass:u,duration:h,velocity:f,isResolvedFromDuration:d}=Nr({...n,velocity:-W(n.velocity||0)}),p=f||0,y=c/(2*Math.sqrt(l*u)),m=o-r,g=W(Math.sqrt(l/u)),T=Math.abs(m)<5;s||(s=T?E.restSpeed.granular:E.restSpeed.default),i||(i=T?E.restDelta.granular:E.restDelta.default);let x,w,S,L,U,P;if(y<1)S=Pe(g,y),L=(p+y*g*m)/S,x=b=>{const M=Math.exp(-y*g*b);return o-M*(L*Math.sin(S*b)+m*Math.cos(S*b))},U=y*g*L+m*S,P=y*g*m-L*S,w=b=>Math.exp(-y*g*b)*(U*Math.sin(S*b)+P*Math.cos(S*b));else if(y===1){x=M=>o-Math.exp(-g*M)*(m+(p+g*m)*M);const b=p+g*m;w=M=>Math.exp(-g*M)*(g*b*M-p)}else{const b=g*Math.sqrt(y*y-1);x=z=>{const J=Math.exp(-y*g*z),V=Math.min(b*z,300);return o-J*((p+y*g*m)*Math.sinh(V)+b*m*Math.cosh(V))/b};const M=(p+y*g*m)/b,G=y*g*M-m*b,pt=y*g*m-M*b;w=z=>{const J=Math.exp(-y*g*z),V=Math.min(b*z,300);return J*(G*Math.sinh(V)+pt*Math.cosh(V))}}const F={calculatedDuration:d&&h||null,velocity:b=>_(w(b)),next:b=>{if(!d&&y<1){const G=Math.exp(-y*g*b),pt=Math.sin(S*b),z=Math.cos(S*b),J=o-G*(L*pt+m*z),V=_(G*(U*pt+P*z));return a.done=Math.abs(V)<=s&&Math.abs(o-J)<=i,a.value=a.done?o:J,a}const M=x(b);if(d)a.done=b>=h;else{const G=_(w(b));a.done=Math.abs(G)<=s&&Math.abs(o-M)<=i}return a.value=a.done?o:M,a},toString:()=>{const b=Math.min(nn(F),Zt),M=li(G=>F.next(b*G).value,b,30);return b+"ms "+M},toTransition:()=>{}};return F}Qt.applyToOptions=t=>{const e=Br(t,100,Qt);return t.ease=e.ease,t.duration=_(e.duration),t.type="keyframes",t};const $r=5;function ui(t,e,n){const s=Math.max(e-$r,0);return Ks(n-t(s),e-s)}function Ae({keyframes:t,velocity:e=0,power:n=.8,timeConstant:s=325,bounceDamping:i=10,bounceStiffness:r=500,modifyTarget:o,min:a,max:l,restDelta:c=.5,restSpeed:u}){const h=t[0],f={done:!1,value:h},d=P=>a!==void 0&&Pl,p=P=>a===void 0?l:l===void 0||Math.abs(a-P)-y*Math.exp(-P/s),x=P=>g+T(P),w=P=>{const F=T(P),b=x(P);f.done=Math.abs(F)<=c,f.value=f.done?g:b};let S,L;const U=P=>{d(f.value)&&(S=P,L=Qt({keyframes:[f.value,p(f.value)],velocity:ui(x,P,f.value),damping:i,stiffness:r,restDelta:c,restSpeed:u}))};return U(0),{calculatedDuration:null,next:P=>{let F=!1;return!L&&S===void 0&&(F=!0,w(P),U(P)),S!==void 0&&P>=S?L.next(P-S):(!F&&w(P),f)}}}function Wr(t,e,n){const s=[],i=n||rt.mix||ai,r=t.length-1;for(let o=0;oe[0];if(r===2&&e[0]===e[1])return()=>e[1];const o=t[0]===t[1];t[0]>t[r-1]&&(t=[...t].reverse(),e=[...e].reverse());const a=Wr(e,s,i),l=a.length,c=u=>{if(o&&u1)for(;hc(Q(t[0],t[r-1],u)):c}function _r(t,e){const n=t[t.length-1];for(let s=1;s<=e;s++){const i=kt(0,e,s);t.push(C(n,1,i))}}function Gr(t){const e=[0];return _r(e,t.length-1),e}function zr(t,e){return t.map(n=>n*e)}function Hr(t,e){return t.map(()=>e||Qs).splice(0,t.length-1)}function Dt({duration:t=300,keyframes:e,times:n,ease:s="easeInOut"}){const i=er(s)?s.map(xn):xn(s),r={done:!1,value:e[0]},o=zr(n&&n.length===e.length?n:Gr(e),t),a=Kr(o,e,{ease:Array.isArray(i)?i:Hr(e,i)});return{calculatedDuration:t,next:l=>(r.value=a(l),r.done=l>=t,r)}}const Xr=t=>t!==null;function ie(t,{repeat:e,repeatType:n="loop"},s,i=1){const r=t.filter(Xr),a=i<0||e&&n!=="loop"&&e%2===1?0:r.length-1;return!a||s===void 0?r[a]:s}const Yr={decay:Ae,inertia:Ae,tween:Dt,keyframes:Dt,spring:Qt};function ci(t){typeof t.type=="string"&&(t.type=Yr[t.type])}class sn{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(e=>{this.resolve=e})}notifyFinished(){this.resolve()}then(e,n){return this.finished.then(e,n)}}const qr=t=>t/100;class Jt extends sn{constructor(e){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.delayState={done:!1,value:void 0},this.stop=()=>{const{motionValue:n}=this.options;n&&n.updatedAt!==j.now()&&this.tick(j.now()),this.isStopped=!0,this.state!=="idle"&&(this.teardown(),this.options.onStop?.())},this.options=e,this.initAnimation(),this.play(),e.autoplay===!1&&this.pause()}initAnimation(){const{options:e}=this;ci(e);const{type:n=Dt,repeat:s=0,repeatDelay:i=0,repeatType:r,velocity:o=0}=e;let{keyframes:a}=e;const l=n||Dt;l!==Dt&&typeof a[0]!="number"&&(this.mixKeyframes=Ot(qr,ai(a[0],a[1])),a=[0,100]);const c=l({...e,keyframes:a});r==="mirror"&&(this.mirroredGenerator=l({...e,keyframes:[...a].reverse(),velocity:-o})),c.calculatedDuration===null&&(c.calculatedDuration=nn(c));const{calculatedDuration:u}=c;this.calculatedDuration=u,this.resolvedDuration=u+i,this.totalDuration=this.resolvedDuration*(s+1)-i,this.generator=c}updateTime(e){const n=Math.round(e-this.startTime)*this.playbackSpeed;this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=n}tick(e,n=!1){const{generator:s,totalDuration:i,mixKeyframes:r,mirroredGenerator:o,resolvedDuration:a,calculatedDuration:l}=this;if(this.startTime===null)return s.next(0);const{delay:c=0,keyframes:u,repeat:h,repeatType:f,repeatDelay:d,type:p,onUpdate:y,finalKeyframe:m}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,e):this.speed<0&&(this.startTime=Math.min(e-i/this.speed,this.startTime)),n?this.currentTime=e:this.updateTime(e);const g=this.currentTime-c*(this.playbackSpeed>=0?1:-1),T=this.playbackSpeed>=0?g<0:g>i;this.currentTime=Math.max(g,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=i);let x=this.currentTime,w=s;if(h){const P=Math.min(this.currentTime,i)/a;let F=Math.floor(P),b=P%1;!b&&P>=1&&(b=1),b===1&&F--,F=Math.min(F,h+1),F%2&&(f==="reverse"?(b=1-b,d&&(b-=d/a)):f==="mirror"&&(w=o)),x=Q(0,1,b)*a}let S;T?(this.delayState.value=u[0],S=this.delayState):S=w.next(x),r&&!T&&(S.value=r(S.value));let{done:L}=S;!T&&l!==null&&(L=this.playbackSpeed>=0?this.currentTime>=i:this.currentTime<=0);const U=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&L);return U&&p!==Ae&&(S.value=ie(u,this.options,m,this.speed)),y&&y(S.value),U&&this.finish(),S}then(e,n){return this.finished.then(e,n)}get duration(){return W(this.calculatedDuration)}get iterationDuration(){const{delay:e=0}=this.options||{};return this.duration+W(e)}get time(){return W(this.currentTime)}set time(e){e=_(e),this.currentTime=e,this.startTime===null||this.holdTime!==null||this.playbackSpeed===0?this.holdTime=e:this.driver&&(this.startTime=this.driver.now()-e/this.playbackSpeed),this.driver?this.driver.start(!1):(this.startTime=0,this.state="paused",this.holdTime=e,this.tick(e))}getGeneratorVelocity(){const e=this.currentTime;if(e<=0)return this.options.velocity||0;if(this.generator.velocity)return this.generator.velocity(e);const n=this.generator.next(e).value;return ui(s=>this.generator.next(s).value,e,n)}get speed(){return this.playbackSpeed}set speed(e){const n=this.playbackSpeed!==e;n&&this.driver&&this.updateTime(j.now()),this.playbackSpeed=e,n&&this.driver&&(this.time=W(this.currentTime))}play(){if(this.isStopped)return;const{driver:e=kr,startTime:n}=this.options;this.driver||(this.driver=e(i=>this.tick(i))),this.options.onPlay?.();const s=this.driver.now();this.state==="finished"?(this.updateFinished(),this.startTime=s):this.holdTime!==null?this.startTime=s-this.holdTime:this.startTime||(this.startTime=n??s),this.state==="finished"&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(j.now()),this.holdTime=this.currentTime}complete(){this.state!=="running"&&this.play(),this.state="finished",this.holdTime=null}finish(){this.notifyFinished(),this.teardown(),this.state="finished",this.options.onComplete?.()}cancel(){this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),this.options.onCancel?.()}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(e){return this.startTime=0,this.tick(e,!0)}attachTimeline(e){return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),this.driver?.stop(),e.observe(this)}}function Zr(t){for(let e=1;et*180/Math.PI,Ve=t=>{const e=ft(Math.atan2(t[1],t[0]));return Ce(e)},Qr={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:t=>(Math.abs(t[0])+Math.abs(t[3]))/2,rotate:Ve,rotateZ:Ve,skewX:t=>ft(Math.atan(t[1])),skewY:t=>ft(Math.atan(t[2])),skew:t=>(Math.abs(t[1])+Math.abs(t[2]))/2},Ce=t=>(t=t%360,t<0&&(t+=360),t),Vn=Ve,Cn=t=>Math.sqrt(t[0]*t[0]+t[1]*t[1]),Mn=t=>Math.sqrt(t[4]*t[4]+t[5]*t[5]),Jr={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:Cn,scaleY:Mn,scale:t=>(Cn(t)+Mn(t))/2,rotateX:t=>Ce(ft(Math.atan2(t[6],t[5]))),rotateY:t=>Ce(ft(Math.atan2(-t[2],t[0]))),rotateZ:Vn,rotate:Vn,skewX:t=>ft(Math.atan(t[4])),skewY:t=>ft(Math.atan(t[1])),skew:t=>(Math.abs(t[1])+Math.abs(t[4]))/2};function Me(t){return t.includes("scale")?1:0}function Ee(t,e){if(!t||t==="none")return Me(e);const n=t.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let s,i;if(n)s=Jr,i=n;else{const a=t.match(/^matrix\(([-\d.e\s,]+)\)$/u);s=Qr,i=a}if(!i)return Me(e);const r=s[e],o=i[1].split(",").map(ea);return typeof r=="function"?r(o):o[r]}const ta=(t,e)=>{const{transform:n="none"}=getComputedStyle(t);return Ee(n,e)};function ea(t){return parseFloat(t.trim())}const wt=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],Pt=new Set(wt),En=t=>t===St||t===v,na=new Set(["x","y","z"]),sa=wt.filter(t=>!na.has(t));function ia(t){const e=[];return sa.forEach(n=>{const s=t.getValue(n);s!==void 0&&(e.push([n,s.get()]),s.set(n.startsWith("scale")?1:0))}),e}const ot={width:({x:t},{paddingLeft:e="0",paddingRight:n="0",boxSizing:s})=>{const i=t.max-t.min;return s==="border-box"?i:i-parseFloat(e)-parseFloat(n)},height:({y:t},{paddingTop:e="0",paddingBottom:n="0",boxSizing:s})=>{const i=t.max-t.min;return s==="border-box"?i:i-parseFloat(e)-parseFloat(n)},top:(t,{top:e})=>parseFloat(e),left:(t,{left:e})=>parseFloat(e),bottom:({y:t},{top:e})=>parseFloat(e)+(t.max-t.min),right:({x:t},{left:e})=>parseFloat(e)+(t.max-t.min),x:(t,{transform:e})=>Ee(e,"x"),y:(t,{transform:e})=>Ee(e,"y")};ot.translateX=ot.x;ot.translateY=ot.y;const dt=new Set;let De=!1,Re=!1,Le=!1;function hi(){if(Re){const t=Array.from(dt).filter(s=>s.needsMeasurement),e=new Set(t.map(s=>s.element)),n=new Map;e.forEach(s=>{const i=ia(s);i.length&&(n.set(s,i),s.render())}),t.forEach(s=>s.measureInitialState()),e.forEach(s=>{s.render();const i=n.get(s);i&&i.forEach(([r,o])=>{s.getValue(r)?.set(o)})}),t.forEach(s=>s.measureEndState()),t.forEach(s=>{s.suspendedScrollY!==void 0&&window.scrollTo(0,s.suspendedScrollY)})}Re=!1,De=!1,dt.forEach(t=>t.complete(Le)),dt.clear()}function fi(){dt.forEach(t=>{t.readKeyframes(),t.needsMeasurement&&(Re=!0)})}function oa(){Le=!0,fi(),hi(),Le=!1}class on{constructor(e,n,s,i,r,o=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...e],this.onComplete=n,this.name=s,this.motionValue=i,this.element=r,this.isAsync=o}scheduleResolve(){this.state="scheduled",this.isAsync?(dt.add(this),De||(De=!0,A.read(fi),A.resolveKeyframes(hi))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:e,name:n,element:s,motionValue:i}=this;if(e[0]===null){const r=i?.get(),o=e[e.length-1];if(r!==void 0)e[0]=r;else if(s&&n){const a=s.readValue(n,o);a!=null&&(e[0]=a)}e[0]===void 0&&(e[0]=o),i&&r===void 0&&i.set(e[0])}Zr(e)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(e=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,e),dt.delete(this)}cancel(){this.state==="scheduled"&&(dt.delete(this),this.state="pending")}resume(){this.state==="pending"&&this.scheduleResolve()}}const ra=t=>t.startsWith("--");function di(t,e,n){ra(e)?t.style.setProperty(e,n):t.style[e]=n}const aa={};function pi(t,e){const n=Ws(t);return()=>aa[e]??n()}const la=pi(()=>window.ScrollTimeline!==void 0,"scrollTimeline"),mi=pi(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),Vt=([t,e,n,s])=>`cubic-bezier(${t}, ${e}, ${n}, ${s})`,Dn={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:Vt([0,.65,.55,1]),circOut:Vt([.55,0,1,.45]),backIn:Vt([.31,.01,.66,-.59]),backOut:Vt([.33,1.53,.69,.99])};function yi(t,e){if(t)return typeof t=="function"?mi()?li(t,e):"ease-out":Js(t)?Vt(t):Array.isArray(t)?t.map(n=>yi(n,e)||Dn.easeOut):Dn[t]}function ua(t,e,n,{delay:s=0,duration:i=300,repeat:r=0,repeatType:o="loop",ease:a="easeOut",times:l}={},c=void 0){const u={[e]:n};l&&(u.offset=l);const h=yi(a,i);Array.isArray(h)&&(u.easing=h);const f={delay:s,duration:i,easing:Array.isArray(h)?"linear":h,fill:"both",iterations:r+1,direction:o==="reverse"?"alternate":"normal"};return c&&(f.pseudoElement=c),t.animate(u,f)}function gi(t){return typeof t=="function"&&"applyToOptions"in t}function ca({type:t,...e}){return gi(t)&&mi()?t.applyToOptions(e):(e.duration??(e.duration=300),e.ease??(e.ease="easeOut"),e)}class vi extends sn{constructor(e){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!e)return;const{element:n,name:s,keyframes:i,pseudoElement:r,allowFlatten:o=!1,finalKeyframe:a,onComplete:l}=e;this.isPseudoElement=!!r,this.allowFlatten=o,this.options=e,He(typeof e.type!="string");const c=ca(e);this.animation=ua(n,s,i,c,r),c.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!r){const u=ie(i,this.options,a,this.speed);this.updateMotionValue&&this.updateMotionValue(u),di(n,s,u),this.animation.cancel()}l?.(),this.notifyFinished()}}play(){this.isStopped||(this.manualStartTime=null,this.animation.play(),this.state==="finished"&&this.updateFinished())}pause(){this.animation.pause()}complete(){this.animation.finish?.()}cancel(){try{this.animation.cancel()}catch{}}stop(){if(this.isStopped)return;this.isStopped=!0;const{state:e}=this;e==="idle"||e==="finished"||(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){const e=this.options?.element;!this.isPseudoElement&&e?.isConnected&&this.animation.commitStyles?.()}get duration(){const e=this.animation.effect?.getComputedTiming?.().duration||0;return W(Number(e))}get iterationDuration(){const{delay:e=0}=this.options||{};return this.duration+W(e)}get time(){return W(Number(this.animation.currentTime)||0)}set time(e){const n=this.finishedTime!==null;this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=_(e),n&&this.animation.pause()}get speed(){return this.animation.playbackRate}set speed(e){e<0&&(this.finishedTime=null),this.animation.playbackRate=e}get state(){return this.finishedTime!==null?"finished":this.animation.playState}get startTime(){return this.manualStartTime??Number(this.animation.startTime)}set startTime(e){this.manualStartTime=this.animation.startTime=e}attachTimeline({timeline:e,rangeStart:n,rangeEnd:s,observe:i}){return this.allowFlatten&&this.animation.effect?.updateTiming({easing:"linear"}),this.animation.onfinish=null,e&&la()?(this.animation.timeline=e,n&&(this.animation.rangeStart=n),s&&(this.animation.rangeEnd=s),K):i(this)}}const xi={anticipate:Ys,backInOut:Xs,circInOut:Zs};function ha(t){return t in xi}function fa(t){typeof t.ease=="string"&&ha(t.ease)&&(t.ease=xi[t.ease])}const he=10;class da extends vi{constructor(e){fa(e),ci(e),super(e),e.startTime!==void 0&&e.autoplay!==!1&&(this.startTime=e.startTime),this.options=e}updateMotionValue(e){const{motionValue:n,onUpdate:s,onComplete:i,element:r,...o}=this.options;if(!n)return;if(e!==void 0){n.set(e);return}const a=new Jt({...o,autoplay:!1}),l=Math.max(he,j.now()-this.startTime),c=Q(0,he,l-he),u=a.sample(l).value,{name:h}=this.options;r&&h&&di(r,h,u),n.setWithVelocity(a.sample(Math.max(0,l-c)).value,u,c),a.stop()}}const Rn=(t,e)=>e==="zIndex"?!1:!!(typeof t=="number"||Array.isArray(t)||typeof t=="string"&&(X.test(t)||t==="0")&&!t.startsWith("url("));function pa(t){const e=t[0];if(t.length===1)return!0;for(let n=0;nObject.hasOwnProperty.call(Element.prototype,"animate"));function Ta(t){const{motionValue:e,name:n,repeatDelay:s,repeatType:i,damping:r,type:o,keyframes:a}=t;if(!(e?.owner?.current instanceof HTMLElement))return!1;const{onUpdate:c,transformTemplate:u}=e.owner.getProps();return xa()&&n&&(Ti.has(n)||va.has(n)&&ga(a))&&(n!=="transform"||!u)&&!c&&!s&&i!=="mirror"&&r!==0&&o!=="inertia"}const ba=40;class Sa extends sn{constructor({autoplay:e=!0,delay:n=0,type:s="keyframes",repeat:i=0,repeatDelay:r=0,repeatType:o="loop",keyframes:a,name:l,motionValue:c,element:u,...h}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=j.now();const f={autoplay:e,delay:n,type:s,repeat:i,repeatDelay:r,repeatType:o,name:l,motionValue:c,element:u,...h},d=u?.KeyframeResolver||on;this.keyframeResolver=new d(a,(p,y,m)=>this.onKeyframesResolved(p,y,f,!m),l,c,u),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(e,n,s,i){this.keyframeResolver=void 0;const{name:r,type:o,velocity:a,delay:l,isHandoff:c,onUpdate:u}=s;this.resolvedAt=j.now();let h=!0;ma(e,r,o,a)||(h=!1,(rt.instantAnimations||!l)&&u?.(ie(e,s,n)),e[0]=e[e.length-1],ke(s),s.repeat=0);const d={startTime:i?this.resolvedAt?this.resolvedAt-this.createdAt>ba?this.resolvedAt:this.createdAt:this.createdAt:void 0,finalKeyframe:n,...s,keyframes:e},p=h&&!c&&Ta(d),y=d.motionValue?.owner?.current;let m;if(p)try{m=new da({...d,element:y})}catch{m=new Jt(d)}else m=new Jt(d);m.finished.then(()=>{this.notifyFinished()}).catch(K),this.pendingTimeline&&(this.stopTimeline=m.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=m}get finished(){return this._animation?this.animation.finished:this._finished}then(e,n){return this.finished.finally(e).then(()=>{})}get animation(){return this._animation||(this.keyframeResolver?.resume(),oa()),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(e){this.animation.time=e}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(e){this.animation.speed=e}get startTime(){return this.animation.startTime}attachTimeline(e){return this._animation?this.stopTimeline=this.animation.attachTimeline(e):this.pendingTimeline=e,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){this._animation&&this.animation.cancel(),this.keyframeResolver?.cancel()}}function bi(t,e,n,s=0,i=1){const r=Array.from(t).sort((c,u)=>c.sortNodePosition(u)).indexOf(e),o=t.size,a=(o-1)*s;return typeof n=="function"?n(r,o):i===1?r*s:a-r*s}const wa=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function Pa(t){const e=wa.exec(t);if(!e)return[,];const[,n,s,i]=e;return[`--${n??s}`,i]}function Si(t,e,n=1){const[s,i]=Pa(t);if(!s)return;const r=window.getComputedStyle(e).getPropertyValue(s);if(r){const o=r.trim();return Us(o)?parseFloat(o):o}return Qe(i)?Si(i,e,n+1):i}const Aa={type:"spring",stiffness:500,damping:25,restSpeed:10},Va=t=>({type:"spring",stiffness:550,damping:t===0?2*Math.sqrt(550):30,restSpeed:10}),Ca={type:"keyframes",duration:.8},Ma={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},Ea=(t,{keyframes:e})=>e.length>2?Ca:Pt.has(t)?t.startsWith("scale")?Va(e[1]):Aa:Ma;function wi(t,e){if(t?.inherit&&e){const{inherit:n,...s}=t;return{...e,...s}}return t}function rn(t,e){const n=t?.[e]??t?.default??t;return n!==t?wi(n,t):n}const Da=new Set(["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from","elapsed"]);function Ra(t){for(const e in t)if(!Da.has(e))return!0;return!1}const an=(t,e,n,s={},i,r)=>o=>{const a=rn(s,t)||{},l=a.delay||s.delay||0;let{elapsed:c=0}=s;c=c-_(l);const u={keyframes:Array.isArray(n)?n:[null,n],ease:"easeOut",velocity:e.getVelocity(),...a,delay:-c,onUpdate:f=>{e.set(f),a.onUpdate&&a.onUpdate(f)},onComplete:()=>{o(),a.onComplete&&a.onComplete()},name:t,motionValue:e,element:r?void 0:i};Ra(a)||Object.assign(u,Ea(t,u)),u.duration&&(u.duration=_(u.duration)),u.repeatDelay&&(u.repeatDelay=_(u.repeatDelay)),u.from!==void 0&&(u.keyframes[0]=u.from);let h=!1;if((u.type===!1||u.duration===0&&!u.repeatDelay)&&(ke(u),u.delay===0&&(h=!0)),(rt.instantAnimations||rt.skipAnimations||i?.shouldSkipAnimations)&&(h=!0,ke(u),u.delay=0),u.allowFlatten=!a.type&&!a.ease,h&&!r&&e.get()!==void 0){const f=ie(u.keyframes,a);if(f!==void 0){A.update(()=>{u.onUpdate(f),u.onComplete()});return}}return a.isSync?new Jt(u):new Sa(u)};function Ln(t){const e=[{},{}];return t?.values.forEach((n,s)=>{e[0][s]=n.get(),e[1][s]=n.getVelocity()}),e}function Pi(t,e,n,s){if(typeof e=="function"){const[i,r]=Ln(s);e=e(n!==void 0?n:t.custom,i,r)}if(typeof e=="string"&&(e=t.variants&&t.variants[e]),typeof e=="function"){const[i,r]=Ln(s);e=e(n!==void 0?n:t.custom,i,r)}return e}function xt(t,e,n){const s=t.getProps();return Pi(s,e,n!==void 0?n:s.custom,t)}const Ai=new Set(["width","height","top","left","right","bottom",...wt]),kn=30,La=t=>!isNaN(parseFloat(t));class ka{constructor(e,n={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=s=>{const i=j.now();if(this.updatedAt!==i&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(s),this.current!==this.prev&&(this.events.change?.notify(this.current),this.dependents))for(const r of this.dependents)r.dirty()},this.hasAnimated=!1,this.setCurrent(e),this.owner=n.owner}setCurrent(e){this.current=e,this.updatedAt=j.now(),this.canTrackVelocity===null&&e!==void 0&&(this.canTrackVelocity=La(this.current))}setPrevFrameValue(e=this.current){this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt}onChange(e){return this.on("change",e)}on(e,n){this.events[e]||(this.events[e]=new Xe);const s=this.events[e].add(n);return e==="change"?()=>{s(),A.read(()=>{this.events.change.getSize()||this.stop()})}:s}clearListeners(){for(const e in this.events)this.events[e].clear()}attach(e,n){this.passiveEffect=e,this.stopPassiveEffect=n}set(e){this.passiveEffect?this.passiveEffect(e,this.updateAndNotify):this.updateAndNotify(e)}setWithVelocity(e,n,s){this.set(n),this.prev=void 0,this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt-s}jump(e,n=!0){this.updateAndNotify(e),this.prev=e,this.prevUpdatedAt=this.prevFrameValue=void 0,n&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){this.events.change?.notify(this.current)}addDependent(e){this.dependents||(this.dependents=new Set),this.dependents.add(e)}removeDependent(e){this.dependents&&this.dependents.delete(e)}get(){return this.current}getPrevious(){return this.prev}getVelocity(){const e=j.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||e-this.updatedAt>kn)return 0;const n=Math.min(this.updatedAt-this.prevUpdatedAt,kn);return Ks(parseFloat(this.current)-parseFloat(this.prevFrameValue),n)}start(e){return this.stop(),new Promise(n=>{this.hasAnimated=!0,this.animation=e(n),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.dependents?.clear(),this.events.destroy?.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function bt(t,e){return new ka(t,e)}const Ba=t=>Array.isArray(t);function Fa(t,e,n){t.hasValue(e)?t.getValue(e).set(n):t.addValue(e,bt(n))}function Ia(t){return Ba(t)?t[t.length-1]||0:t}function ja(t,e){const n=xt(t,e);let{transitionEnd:s={},transition:i={},...r}=n||{};r={...r,...s};for(const o in r){const a=Ia(r[o]);Fa(t,o,a)}}const I=t=>!!(t&&t.getVelocity);function Oa(t){return!!(I(t)&&t.add)}function Be(t,e){const n=t.getValue("willChange");if(Oa(n))return n.add(e);if(!n&&rt.WillChange){const s=new rt.WillChange("auto");t.addValue("willChange",s),s.add(e)}}function ln(t){return t.replace(/([A-Z])/g,e=>`-${e.toLowerCase()}`)}const Ua="framerAppearId",Na="data-"+ln(Ua);function Vi(t){return t.props[Na]}function $a({protectedKeys:t,needsAnimating:e},n){const s=t.hasOwnProperty(n)&&e[n]!==!0;return e[n]=!1,s}function Ci(t,e,{delay:n=0,transitionOverride:s,type:i}={}){let{transition:r,transitionEnd:o,...a}=e;const l=t.getDefaultTransition();r=r?wi(r,l):l;const c=r?.reduceMotion;s&&(r=s);const u=[],h=i&&t.animationState&&t.animationState.getState()[i];for(const f in a){const d=t.getValue(f,t.latestValues[f]??null),p=a[f];if(p===void 0||h&&$a(h,f))continue;const y={delay:n,...rn(r||{},f)},m=d.get();if(m!==void 0&&!d.isAnimating()&&!Array.isArray(p)&&p===m&&!y.velocity){A.update(()=>d.set(p));continue}let g=!1;if(window.MotionHandoffAnimation){const w=Vi(t);if(w){const S=window.MotionHandoffAnimation(w,f,A);S!==null&&(y.startTime=S,g=!0)}}Be(t,f);const T=c??t.shouldReduceMotion;d.start(an(f,d,p,T&&Ai.has(f)?{type:!1}:y,t,g));const x=d.animation;x&&u.push(x)}if(o){const f=()=>A.update(()=>{o&&ja(t,o)});u.length?Promise.all(u).then(f):f()}return u}function Fe(t,e,n={}){const s=xt(t,e,n.type==="exit"?t.presenceContext?.custom:void 0);let{transition:i=t.getDefaultTransition()||{}}=s||{};n.transitionOverride&&(i=n.transitionOverride);const r=s?()=>Promise.all(Ci(t,s,n)):()=>Promise.resolve(),o=t.variantChildren&&t.variantChildren.size?(l=0)=>{const{delayChildren:c=0,staggerChildren:u,staggerDirection:h}=i;return Wa(t,e,l,c,u,h,n)}:()=>Promise.resolve(),{when:a}=i;if(a){const[l,c]=a==="beforeChildren"?[r,o]:[o,r];return l().then(()=>c())}else return Promise.all([r(),o(n.delay)])}function Wa(t,e,n=0,s=0,i=0,r=1,o){const a=[];for(const l of t.variantChildren)l.notify("AnimationStart",e),a.push(Fe(l,e,{...o,delay:n+(typeof s=="function"?0:s)+bi(t.variantChildren,l,s,i,r)}).then(()=>l.notify("AnimationComplete",e)));return Promise.all(a)}function Ka(t,e,n={}){t.notify("AnimationStart",e);let s;if(Array.isArray(e)){const i=e.map(r=>Fe(t,r,n));s=Promise.all(i)}else if(typeof e=="string")s=Fe(t,e,n);else{const i=typeof e=="function"?xt(t,e,n.custom):e;s=Promise.all(Ci(t,i,n))}return s.then(()=>{t.notify("AnimationComplete",e)})}const _a={test:t=>t==="auto",parse:t=>t},Mi=t=>e=>e.test(t),Ei=[St,v,Z,it,pr,dr,_a],Bn=t=>Ei.find(Mi(t));function Ga(t){return typeof t=="number"?t===0:t!==null?t==="none"||t==="0"||$s(t):!0}const za=new Set(["brightness","contrast","saturate","opacity"]);function Ha(t){const[e,n]=t.slice(0,-1).split("(");if(e==="drop-shadow")return t;const[s]=n.match(Je)||[];if(!s)return t;const i=n.replace(s,"");let r=za.has(e)?1:0;return s!==n&&(r*=100),e+"("+r+i+")"}const Xa=/\b([a-z-]*)\(.*?\)/gu,Ie={...X,getAnimatableNone:t=>{const e=t.match(Xa);return e?e.map(Ha).join(" "):t}},je={...X,getAnimatableNone:t=>{const e=X.parse(t);return X.createTransformer(t)(e.map(s=>typeof s=="number"?0:typeof s=="object"?{...s,alpha:1}:s))}},Fn={...St,transform:Math.round},Ya={rotate:it,rotateX:it,rotateY:it,rotateZ:it,scale:Wt,scaleX:Wt,scaleY:Wt,scaleZ:Wt,skew:it,skewX:it,skewY:it,distance:v,translateX:v,translateY:v,translateZ:v,x:v,y:v,z:v,perspective:v,transformPerspective:v,opacity:Bt,originX:bn,originY:bn,originZ:v},un={borderWidth:v,borderTopWidth:v,borderRightWidth:v,borderBottomWidth:v,borderLeftWidth:v,borderRadius:v,borderTopLeftRadius:v,borderTopRightRadius:v,borderBottomRightRadius:v,borderBottomLeftRadius:v,width:v,maxWidth:v,height:v,maxHeight:v,top:v,right:v,bottom:v,left:v,inset:v,insetBlock:v,insetBlockStart:v,insetBlockEnd:v,insetInline:v,insetInlineStart:v,insetInlineEnd:v,padding:v,paddingTop:v,paddingRight:v,paddingBottom:v,paddingLeft:v,paddingBlock:v,paddingBlockStart:v,paddingBlockEnd:v,paddingInline:v,paddingInlineStart:v,paddingInlineEnd:v,margin:v,marginTop:v,marginRight:v,marginBottom:v,marginLeft:v,marginBlock:v,marginBlockStart:v,marginBlockEnd:v,marginInline:v,marginInlineStart:v,marginInlineEnd:v,fontSize:v,backgroundPositionX:v,backgroundPositionY:v,...Ya,zIndex:Fn,fillOpacity:Bt,strokeOpacity:Bt,numOctaves:Fn},qa={...un,color:R,backgroundColor:R,outlineColor:R,fill:R,stroke:R,borderColor:R,borderTopColor:R,borderRightColor:R,borderBottomColor:R,borderLeftColor:R,filter:Ie,WebkitFilter:Ie,mask:je,WebkitMask:je},Di=t=>qa[t],Za=new Set([Ie,je]);function Ri(t,e){let n=Di(t);return Za.has(n)||(n=X),n.getAnimatableNone?n.getAnimatableNone(e):void 0}const Qa=new Set(["auto","none","0"]);function Ja(t,e,n){let s=0,i;for(;s{e.getValue(a).set(l)}),this.resolveNoneKeyframes()}}function Li(t,e,n){if(t==null)return[];if(t instanceof EventTarget)return[t];if(typeof t=="string"){let s=document;const i=n?.[t]??s.querySelectorAll(t);return i?Array.from(i):[]}return Array.from(t).filter(s=>s!=null)}const ki=(t,e)=>e&&typeof t=="number"?e.transform(t):t;function el(t){return Ns(t)&&"offsetHeight"in t&&!("ownerSVGElement"in t)}const{schedule:Bi}=ti(queueMicrotask,!1),nl={y:!1};function sl(){return nl.y}function Fi(t,e){const n=Li(t),s=new AbortController,i={passive:!0,...e,signal:s.signal};return[n,i,()=>s.abort()]}function il(t){return!(t.pointerType==="touch"||sl())}function ol(t,e,n={}){const[s,i,r]=Fi(t,n);return s.forEach(o=>{let a=!1,l=!1,c;const u=()=>{o.removeEventListener("pointerleave",p)},h=m=>{c&&(c(m),c=void 0),u()},f=m=>{a=!1,window.removeEventListener("pointerup",f),window.removeEventListener("pointercancel",f),l&&(l=!1,h(m))},d=()=>{a=!0,window.addEventListener("pointerup",f,i),window.addEventListener("pointercancel",f,i)},p=m=>{if(m.pointerType!=="touch"){if(a){l=!0;return}h(m)}},y=m=>{if(!il(m))return;l=!1;const g=e(o,m);typeof g=="function"&&(c=g,o.addEventListener("pointerleave",p,i))};o.addEventListener("pointerenter",y,i),o.addEventListener("pointerdown",d,i)}),r}const Ii=(t,e)=>e?t===e?!0:Ii(t,e.parentElement):!1,rl=t=>t.pointerType==="mouse"?typeof t.button!="number"||t.button<=0:t.isPrimary!==!1,al=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function ll(t){return al.has(t.tagName)||t.isContentEditable===!0}const Gt=new WeakSet;function In(t){return e=>{e.key==="Enter"&&t(e)}}function fe(t,e){t.dispatchEvent(new PointerEvent("pointer"+e,{isPrimary:!0,bubbles:!0}))}const ul=(t,e)=>{const n=t.currentTarget;if(!n)return;const s=In(()=>{if(Gt.has(n))return;fe(n,"down");const i=In(()=>{fe(n,"up")}),r=()=>fe(n,"cancel");n.addEventListener("keyup",i,e),n.addEventListener("blur",r,e)});n.addEventListener("keydown",s,e),n.addEventListener("blur",()=>n.removeEventListener("keydown",s),e)};function jn(t){return rl(t)&&!0}const On=new WeakSet;function cl(t,e,n={}){const[s,i,r]=Fi(t,n),o=a=>{const l=a.currentTarget;if(!jn(a)||On.has(a))return;Gt.add(l),n.stopPropagation&&On.add(a);const c=e(l,a),u=(d,p)=>{window.removeEventListener("pointerup",h),window.removeEventListener("pointercancel",f),Gt.has(l)&&Gt.delete(l),jn(d)&&typeof c=="function"&&c(d,{success:p})},h=d=>{u(d,l===window||l===document||n.useGlobalTarget||Ii(l,d.target))},f=d=>{u(d,!1)};window.addEventListener("pointerup",h,i),window.addEventListener("pointercancel",f,i)};return s.forEach(a=>{(n.useGlobalTarget?window:a).addEventListener("pointerdown",o,i),el(a)&&(a.addEventListener("focus",c=>ul(c,i)),!ll(a)&&!a.hasAttribute("tabindex")&&(a.tabIndex=0))}),r}function ji(t){return Ns(t)&&"ownerSVGElement"in t}function hl(t){return ji(t)&&t.tagName==="svg"}const fl=[...Ei,R,X],dl=t=>fl.find(Mi(t)),Un=()=>({translate:0,scale:1,origin:0,originPoint:0}),vt=()=>({x:Un(),y:Un()}),Nn=()=>({min:0,max:0}),k=()=>({x:Nn(),y:Nn()}),pl=new WeakMap;function cn(t){return t!==null&&typeof t=="object"&&typeof t.start=="function"}function oe(t){return typeof t=="string"||Array.isArray(t)}const ml=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],yl=["initial",...ml];function Oi(t){return cn(t.animate)||yl.some(e=>oe(t[e]))}function gl(t){return!!(Oi(t)||t.variants)}function vl(t,e,n){for(const s in e){const i=e[s],r=n[s];if(I(i))t.addValue(s,i);else if(I(r))t.addValue(s,bt(i,{owner:t}));else if(r!==i)if(t.hasValue(s)){const o=t.getValue(s);o.liveStyle===!0?o.jump(i):o.hasAnimated||o.set(i)}else{const o=t.getStaticValue(s);t.addValue(s,bt(o!==void 0?o:i,{owner:t}))}}for(const s in n)e[s]===void 0&&t.removeValue(s);return e}const Oe={current:null},Ui={current:!1},xl=typeof window<"u";function Tl(){if(Ui.current=!0,!!xl)if(window.matchMedia){const t=window.matchMedia("(prefers-reduced-motion)"),e=()=>Oe.current=t.matches;t.addEventListener("change",e),e()}else Oe.current=!1}const $n=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];let Wn={};class bl{scrapeMotionValuesFromProps(e,n,s){return{}}constructor({parent:e,props:n,presenceContext:s,reducedMotionConfig:i,skipAnimations:r,blockInitialAnimation:o,visualState:a},l={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.shouldSkipAnimations=!1,this.values=new Map,this.KeyframeResolver=on,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.hasBeenMounted=!1,this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{const d=j.now();this.renderScheduledAtthis.bindToMotionValue(s,n)),this.reducedMotionConfig==="never"?this.shouldReduceMotion=!1:this.reducedMotionConfig==="always"?this.shouldReduceMotion=!0:(Ui.current||Tl(),this.shouldReduceMotion=Oe.current),this.shouldSkipAnimations=this.skipAnimationsConfig??!1,this.parent?.addChild(this),this.update(this.props,this.presenceContext),this.hasBeenMounted=!0}unmount(){this.projection&&this.projection.unmount(),at(this.notifyUpdate),at(this.render),this.valueSubscriptions.forEach(e=>e()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent?.removeChild(this);for(const e in this.events)this.events[e].clear();for(const e in this.features){const n=this.features[e];n&&(n.unmount(),n.isMounted=!1)}this.current=null}addChild(e){this.children.add(e),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(e)}removeChild(e){this.children.delete(e),this.enteringChildren&&this.enteringChildren.delete(e)}bindToMotionValue(e,n){if(this.valueSubscriptions.has(e)&&this.valueSubscriptions.get(e)(),n.accelerate&&Ti.has(e)&&this.current instanceof HTMLElement){const{factory:o,keyframes:a,times:l,ease:c,duration:u}=n.accelerate,h=new vi({element:this.current,name:e,keyframes:a,times:l,ease:c,duration:_(u)}),f=o(h);this.valueSubscriptions.set(e,()=>{f(),h.cancel()});return}const s=Pt.has(e);s&&this.onBindTransform&&this.onBindTransform();const i=n.on("change",o=>{this.latestValues[e]=o,this.props.onUpdate&&A.preRender(this.notifyUpdate),s&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});let r;typeof window<"u"&&window.MotionCheckAppearSync&&(r=window.MotionCheckAppearSync(this,e,n)),this.valueSubscriptions.set(e,()=>{i(),r&&r(),n.owner&&n.stop()})}sortNodePosition(e){return!this.current||!this.sortInstanceNodePosition||this.type!==e.type?0:this.sortInstanceNodePosition(this.current,e.current)}updateFeatures(){let e="animation";for(e in Wn){const n=Wn[e];if(!n)continue;const{isEnabled:s,Feature:i}=n;if(!this.features[e]&&i&&s(this.props)&&(this.features[e]=new i(this)),this.features[e]){const r=this.features[e];r.isMounted?r.update():(r.mount(),r.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):k()}getStaticValue(e){return this.latestValues[e]}setStaticValue(e,n){this.latestValues[e]=n}update(e,n){(e.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=e,this.prevPresenceContext=this.presenceContext,this.presenceContext=n;for(let s=0;s<$n.length;s++){const i=$n[s];this.propEventSubscriptions[i]&&(this.propEventSubscriptions[i](),delete this.propEventSubscriptions[i]);const r="on"+i,o=e[r];o&&(this.propEventSubscriptions[i]=this.on(i,o))}this.prevMotionValues=vl(this,this.scrapeMotionValuesFromProps(e,this.prevProps||{},this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(e){return this.props.variants?this.props.variants[e]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(e){const n=this.getClosestVariantNode();if(n)return n.variantChildren&&n.variantChildren.add(e),()=>n.variantChildren.delete(e)}addValue(e,n){const s=this.values.get(e);n!==s&&(s&&this.removeValue(e),this.bindToMotionValue(e,n),this.values.set(e,n),this.latestValues[e]=n.get())}removeValue(e){this.values.delete(e);const n=this.valueSubscriptions.get(e);n&&(n(),this.valueSubscriptions.delete(e)),delete this.latestValues[e],this.removeValueFromRenderState(e,this.renderState)}hasValue(e){return this.values.has(e)}getValue(e,n){if(this.props.values&&this.props.values[e])return this.props.values[e];let s=this.values.get(e);return s===void 0&&n!==void 0&&(s=bt(n===null?void 0:n,{owner:this}),this.addValue(e,s)),s}readValue(e,n){let s=this.latestValues[e]!==void 0||!this.current?this.latestValues[e]:this.getBaseTargetFromProps(this.props,e)??this.readValueFromInstance(this.current,e,this.options);return s!=null&&(typeof s=="string"&&(Us(s)||$s(s))?s=parseFloat(s):!dl(s)&&X.test(n)&&(s=Ri(e,n)),this.setBaseTarget(e,I(s)?s.get():s)),I(s)?s.get():s}setBaseTarget(e,n){this.baseTarget[e]=n}getBaseTarget(e){const{initial:n}=this.props;let s;if(typeof n=="string"||typeof n=="object"){const r=Pi(this.props,n,this.presenceContext?.custom);r&&(s=r[e])}if(n&&s!==void 0)return s;const i=this.getBaseTargetFromProps(this.props,e);return i!==void 0&&!I(i)?i:this.initialValues[e]!==void 0&&s===void 0?void 0:this.baseTarget[e]}on(e,n){return this.events[e]||(this.events[e]=new Xe),this.events[e].add(n)}notify(e,...n){this.events[e]&&this.events[e].notify(...n)}scheduleRenderMicrotask(){Bi.render(this.render)}}class Ni extends bl{constructor(){super(...arguments),this.KeyframeResolver=tl}sortInstanceNodePosition(e,n){return e.compareDocumentPosition(n)&2?1:-1}getBaseTargetFromProps(e,n){const s=e.style;return s?s[n]:void 0}removeValueFromRenderState(e,{vars:n,style:s}){delete n[e],delete s[e]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:e}=this.props;I(e)&&(this.childSubscription=e.on("change",n=>{this.current&&(this.current.textContent=`${n}`)}))}}function $i({top:t,left:e,right:n,bottom:s}){return{x:{min:e,max:n},y:{min:t,max:s}}}function Sl({x:t,y:e}){return{top:e.min,right:t.max,bottom:e.max,left:t.min}}function wl(t,e){if(!e)return t;const n=e({x:t.left,y:t.top}),s=e({x:t.right,y:t.bottom});return{top:n.y,left:n.x,bottom:s.y,right:s.x}}function de(t){return t===void 0||t===1}function Ue({scale:t,scaleX:e,scaleY:n}){return!de(t)||!de(e)||!de(n)}function ct(t){return Ue(t)||Wi(t)||t.z||t.rotate||t.rotateX||t.rotateY||t.skewX||t.skewY}function Wi(t){return Kn(t.x)||Kn(t.y)}function Kn(t){return t&&t!=="0%"}function te(t,e,n){const s=t-n,i=e*s;return n+i}function _n(t,e,n,s,i){return i!==void 0&&(t=te(t,i,s)),te(t,n,s)+e}function Ne(t,e=0,n=1,s,i){t.min=_n(t.min,e,n,s,i),t.max=_n(t.max,e,n,s,i)}function Ki(t,{x:e,y:n}){Ne(t.x,e.translate,e.scale,e.originPoint),Ne(t.y,n.translate,n.scale,n.originPoint)}const Gn=.999999999999,zn=1.0000000000001;function Pl(t,e,n,s=!1){const i=n.length;if(!i)return;e.x=e.y=1;let r,o;for(let a=0;aGn&&(e.x=1),e.yGn&&(e.y=1)}function Y(t,e){t.min+=e,t.max+=e}function Hn(t,e,n,s,i=.5){const r=C(t.min,t.max,i);Ne(t,e,n,r,s)}function Xn(t,e){return typeof t=="string"?parseFloat(t)/100*(e.max-e.min):t}function zt(t,e,n){const s=n??t;Hn(t.x,Xn(e.x,s.x),e.scaleX,e.scale,e.originX),Hn(t.y,Xn(e.y,s.y),e.scaleY,e.scale,e.originY)}function _i(t,e){return $i(wl(t.getBoundingClientRect(),e))}function Al(t,e,n){const s=_i(t,n),{scroll:i}=e;return i&&(Y(s.x,i.offset.x),Y(s.y,i.offset.y)),s}const Vl={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},Cl=wt.length;function Ml(t,e,n){let s="",i=!0;for(let r=0;r{if(!e.target)return t;if(typeof t=="string")if(v.test(t))t=parseFloat(t);else return t;const n=Yn(t,e.target.x),s=Yn(t,e.target.y);return`${n}% ${s}%`}},zi={correct:(t,{treeScale:e,projectionDelta:n})=>{const s=t,i=X.parse(t);if(i.length>5)return s;const r=X.createTransformer(t),o=typeof i[0]!="number"?1:0,a=n.x.scale*e.x,l=n.y.scale*e.y;i[0+o]/=a,i[1+o]/=l;const c=C(a,l,.5);return typeof i[2+o]=="number"&&(i[2+o]/=c),typeof i[3+o]=="number"&&(i[3+o]/=c),r(i)}},Ft={borderRadius:{...q,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:q,borderTopRightRadius:q,borderBottomLeftRadius:q,borderBottomRightRadius:q,boxShadow:zi};function Hi(t){for(const e in t)Ft[e]=t[e],Ze(e)&&(Ft[e].isCSSVariable=!0)}function El(t,{layout:e,layoutId:n}){return Pt.has(t)||t.startsWith("origin")||(e||n!==void 0)&&(!!Ft[t]||t==="opacity")}function Xi(t,e,n){const s=t.style,i=e?.style,r={};if(!s)return r;for(const o in s)(I(s[o])||i&&I(i[o])||El(o,t)||n?.getValue(o)?.liveStyle!==void 0)&&(r[o]=s[o]);return r}function Dl(t){return window.getComputedStyle(t)}class Rl extends Ni{constructor(){super(...arguments),this.type="html",this.renderInstance=Gi}readValueFromInstance(e,n){if(Pt.has(n))return this.projection?.isProjecting?Me(n):ta(e,n);{const s=Dl(e),i=(Ze(n)?s.getPropertyValue(n):s[n])||0;return typeof i=="string"?i.trim():i}}measureInstanceViewportBox(e,{transformPagePoint:n}){return _i(e,n)}build(e,n,s){hn(e,n,s.transformTemplate)}scrapeMotionValuesFromProps(e,n,s){return Xi(e,n,s)}}const Ll={offset:"stroke-dashoffset",array:"stroke-dasharray"},kl={offset:"strokeDashoffset",array:"strokeDasharray"};function Bl(t,e,n=1,s=0,i=!0){t.pathLength=1;const r=i?Ll:kl;t[r.offset]=`${-s}`,t[r.array]=`${e} ${n}`}const Fl=["offsetDistance","offsetPath","offsetRotate","offsetAnchor"];function Yi(t,{attrX:e,attrY:n,attrScale:s,pathLength:i,pathSpacing:r=1,pathOffset:o=0,...a},l,c,u){if(hn(t,a,c),l){t.style.viewBox&&(t.attrs.viewBox=t.style.viewBox);return}t.attrs=t.style,t.style={};const{attrs:h,style:f}=t;h.transform&&(f.transform=h.transform,delete h.transform),(f.transform||h.transformOrigin)&&(f.transformOrigin=h.transformOrigin??"50% 50%",delete h.transformOrigin),f.transform&&(f.transformBox=u?.transformBox??"fill-box",delete h.transformBox);for(const d of Fl)h[d]!==void 0&&(f[d]=h[d],delete h[d]);e!==void 0&&(h.x=e),n!==void 0&&(h.y=n),s!==void 0&&(h.scale=s),i!==void 0&&Bl(h,i,r,o,!1)}const fn=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]),qi=t=>typeof t=="string"&&t.toLowerCase()==="svg";function Il(t,e,n,s){Gi(t,e,void 0,s);for(const i in e.attrs)t.setAttribute(fn.has(i)?i:ln(i),e.attrs[i])}function jl(t,e,n){const s=Xi(t,e,n);for(const i in t)if(I(t[i])||I(e[i])){const r=wt.indexOf(i)!==-1?"attr"+i.charAt(0).toUpperCase()+i.substring(1):i;s[r]=t[i]}return s}class Ol extends Ni{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=k}getBaseTargetFromProps(e,n){return e[n]}readValueFromInstance(e,n){if(Pt.has(n)){const s=Di(n);return s&&s.default||0}return n=fn.has(n)?n:ln(n),e.getAttribute(n)}scrapeMotionValuesFromProps(e,n,s){return jl(e,n,s)}build(e,n,s){Yi(e,n,this.isSVGTag,s.transformTemplate,s.style)}renderInstance(e,n,s,i){Il(e,n,s,i)}mount(e){this.isSVGTag=qi(e.tagName),super.mount(e)}}function $e(t,e){t.min=e.min,t.max=e.max}function H(t,e){$e(t.x,e.x),$e(t.y,e.y)}function qn(t,e){t.translate=e.translate,t.scale=e.scale,t.originPoint=e.originPoint,t.origin=e.origin}const Zi=1e-4,Ul=1-Zi,Nl=1+Zi,Qi=.01,$l=0-Qi,Wl=0+Qi;function O(t){return t.max-t.min}function Kl(t,e,n){return Math.abs(t-e)<=n}function Zn(t,e,n,s=.5){t.origin=s,t.originPoint=C(e.min,e.max,t.origin),t.scale=O(n)/O(e),t.translate=C(n.min,n.max,t.origin)-t.originPoint,(t.scale>=Ul&&t.scale<=Nl||isNaN(t.scale))&&(t.scale=1),(t.translate>=$l&&t.translate<=Wl||isNaN(t.translate))&&(t.translate=0)}function Rt(t,e,n,s){Zn(t.x,e.x,n.x,s?s.originX:void 0),Zn(t.y,e.y,n.y,s?s.originY:void 0)}function Qn(t,e,n,s=0){const i=s?C(n.min,n.max,s):n.min;t.min=i+e.min,t.max=t.min+O(e)}function _l(t,e,n,s){Qn(t.x,e.x,n.x,s?.x),Qn(t.y,e.y,n.y,s?.y)}function Jn(t,e,n,s=0){const i=s?C(n.min,n.max,s):n.min;t.min=e.min-i,t.max=t.min+O(e)}function ee(t,e,n,s){Jn(t.x,e.x,n.x,s?.x),Jn(t.y,e.y,n.y,s?.y)}function ts(t,e,n,s,i){return t-=e,t=te(t,1/n,s),i!==void 0&&(t=te(t,1/i,s)),t}function Gl(t,e=0,n=1,s=.5,i,r=t,o=t){if(Z.test(e)&&(e=parseFloat(e),e=C(o.min,o.max,e/100)-o.min),typeof e!="number")return;let a=C(r.min,r.max,s);t===r&&(a-=e),t.min=ts(t.min,e,n,a,i),t.max=ts(t.max,e,n,a,i)}function es(t,e,[n,s,i],r,o){Gl(t,e[n],e[s],e[i],e.scale,r,o)}const zl=["x","scaleX","originX"],Hl=["y","scaleY","originY"];function ns(t,e,n,s){es(t.x,e,zl,n?n.x:void 0,s?s.x:void 0),es(t.y,e,Hl,n?n.y:void 0,s?s.y:void 0)}function ss(t){return t.translate===0&&t.scale===1}function Ji(t){return ss(t.x)&&ss(t.y)}function is(t,e){return t.min===e.min&&t.max===e.max}function Xl(t,e){return is(t.x,e.x)&&is(t.y,e.y)}function os(t,e){return Math.round(t.min)===Math.round(e.min)&&Math.round(t.max)===Math.round(e.max)}function to(t,e){return os(t.x,e.x)&&os(t.y,e.y)}function rs(t){return O(t.x)/O(t.y)}function as(t,e){return t.translate===e.translate&&t.scale===e.scale&&t.originPoint===e.originPoint}function $(t){return[t("x"),t("y")]}function Yl(t,e,n){let s="";const i=t.x.translate/e.x,r=t.y.translate/e.y,o=n?.z||0;if((i||r||o)&&(s=`translate3d(${i}px, ${r}px, ${o}px) `),(e.x!==1||e.y!==1)&&(s+=`scale(${1/e.x}, ${1/e.y}) `),n){const{transformPerspective:c,rotate:u,rotateX:h,rotateY:f,skewX:d,skewY:p}=n;c&&(s=`perspective(${c}px) ${s}`),u&&(s+=`rotate(${u}deg) `),h&&(s+=`rotateX(${h}deg) `),f&&(s+=`rotateY(${f}deg) `),d&&(s+=`skewX(${d}deg) `),p&&(s+=`skewY(${p}deg) `)}const a=t.x.scale*e.x,l=t.y.scale*e.y;return(a!==1||l!==1)&&(s+=`scale(${a}, ${l})`),s||"none"}const eo=["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"],ql=eo.length,ls=t=>typeof t=="string"?parseFloat(t):t,us=t=>typeof t=="number"||v.test(t);function Zl(t,e,n,s,i,r){i?(t.opacity=C(0,n.opacity??1,Ql(s)),t.opacityExit=C(e.opacity??1,0,Jl(s))):r&&(t.opacity=C(e.opacity??1,n.opacity??1,s));for(let o=0;ose?1:n(kt(t,e,s))}function tu(t,e,n){const s=I(t)?t:bt(t);return s.start(an("",s,e,n)),s.animation}function eu(t,e,n,s={passive:!0}){return t.addEventListener(e,n,s),()=>t.removeEventListener(e,n)}const nu=(t,e)=>t.depth-e.depth;class su{constructor(){this.children=[],this.isDirty=!1}add(e){ze(this.children,e),this.isDirty=!0}remove(e){Yt(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(nu),this.isDirty=!1,this.children.forEach(e)}}function iu(t,e){const n=j.now(),s=({timestamp:i})=>{const r=i-n;r>=e&&(at(s),t(r-e))};return A.setup(s,!0),()=>at(s)}function pe(t){return I(t)?t.get():t}class ou{constructor(){this.members=[]}add(e){ze(this.members,e);for(let n=this.members.length-1;n>=0;n--){const s=this.members[n];if(s===e||s===this.lead||s===this.prevLead)continue;const i=s.instance;(!i||i.isConnected===!1)&&!s.snapshot&&(Yt(this.members,s),s.unmount())}e.scheduleRender()}remove(e){if(Yt(this.members,e),e===this.prevLead&&(this.prevLead=void 0),e===this.lead){const n=this.members[this.members.length-1];n&&this.promote(n)}}relegate(e){for(let n=this.members.indexOf(e)-1;n>=0;n--){const s=this.members[n];if(s.isPresent!==!1&&s.instance?.isConnected!==!1)return this.promote(s),!0}return!1}promote(e,n){const s=this.lead;if(e!==s&&(this.prevLead=s,this.lead=e,e.show(),s)){s.updateSnapshot(),e.scheduleRender();const{layoutDependency:i}=s.options,{layoutDependency:r}=e.options;(i===void 0||i!==r)&&(e.resumeFrom=s,n&&(s.preserveOpacity=!0),s.snapshot&&(e.snapshot=s.snapshot,e.snapshot.latestValues=s.animationValues||s.latestValues),e.root?.isUpdating&&(e.isLayoutDirty=!0)),e.options.crossfade===!1&&s.hide()}}exitAnimationComplete(){this.members.forEach(e=>{e.options.onExitComplete?.(),e.resumingFrom?.options.onExitComplete?.()})}scheduleRender(){this.members.forEach(e=>e.instance&&e.scheduleRender(!1))}removeLeadSnapshot(){this.lead?.snapshot&&(this.lead.snapshot=void 0)}}const Ht={hasAnimatedSinceResize:!0,hasEverUpdated:!1},me=["","X","Y","Z"],ru=1e3;let au=0;function ye(t,e,n,s){const{latestValues:i}=e;i[t]&&(n[t]=i[t],e.setStaticValue(t,0),s&&(s[t]=0))}function so(t){if(t.hasCheckedOptimisedAppear=!0,t.root===t)return;const{visualElement:e}=t.options;if(!e)return;const n=Vi(e);if(window.MotionHasOptimisedAnimation(n,"transform")){const{layout:i,layoutId:r}=t.options;window.MotionCancelOptimisedAnimation(n,"transform",A,!(i||r))}const{parent:s}=t;s&&!s.hasCheckedOptimisedAppear&&so(s)}function io({attachResizeListener:t,defaultParent:e,measureScroll:n,checkIsScrollRoot:s,resetTransform:i}){return class{constructor(o={},a=e?.()){this.id=au++,this.animationId=0,this.animationCommitId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.layoutVersion=0,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,this.nodes.forEach(cu),this.nodes.forEach(yu),this.nodes.forEach(gu),this.nodes.forEach(hu)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=o,this.root=a?a.root||a:this,this.path=a?[...a.path,a]:[],this.parent=a,this.depth=a?a.depth+1:0;for(let l=0;lthis.root.updateBlockedByResize=!1;A.read(()=>{h=window.innerWidth}),t(o,()=>{const d=window.innerWidth;d!==h&&(h=d,this.root.updateBlockedByResize=!0,u&&u(),u=iu(f,250),Ht.hasAnimatedSinceResize&&(Ht.hasAnimatedSinceResize=!1,this.nodes.forEach(ds)))})}a&&this.root.registerSharedNode(a,this),this.options.animate!==!1&&c&&(a||l)&&this.addEventListener("didUpdate",({delta:u,hasLayoutChanged:h,hasRelativeLayoutChanged:f,layout:d})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const p=this.options.transition||c.getDefaultTransition()||Su,{onLayoutAnimationStart:y,onLayoutAnimationComplete:m}=c.getProps(),g=!this.targetLayout||!to(this.targetLayout,d),T=!h&&f;if(this.options.layoutRoot||this.resumeFrom||T||h&&(g||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);const x={...rn(p,"layout"),onPlay:y,onComplete:m};(c.shouldReduceMotion||this.options.layoutRoot)&&(x.delay=0,x.type=!1),this.startAnimation(x),this.setAnimationOrigin(u,T)}else h||ds(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=d})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const o=this.getStack();o&&o.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),at(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach(vu),this.animationId++)}getTransformTemplate(){const{visualElement:o}=this.options;return o&&o.getProps().transformTemplate}willUpdate(o=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&so(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let u=0;u{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!O(this.snapshot.measuredBox.x)&&!O(this.snapshot.measuredBox.y)&&(this.snapshot=void 0))}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let l=0;l{const S=w/1e3;ps(h.x,o.x,S),ps(h.y,o.y,S),this.setTargetDelta(h),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(ee(f,this.layout.layoutBox,this.relativeParent.layout.layoutBox,this.options.layoutAnchor||void 0),Tu(this.relativeTarget,this.relativeTargetOrigin,f,S),x&&Xl(this.relativeTarget,x)&&(this.isProjectionDirty=!1),x||(x=k()),H(x,this.relativeTarget)),y&&(this.animationValues=u,Zl(u,c,this.latestValues,S,T,g)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=S},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(o){this.notifyListeners("animationStart"),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&(at(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=A.update(()=>{Ht.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=bt(0)),this.motionValue.jump(0,!1),this.currentAnimation=tu(this.motionValue,[0,1e3],{...o,velocity:0,isSync:!0,onUpdate:a=>{this.mixTargetDelta(a),o.onUpdate&&o.onUpdate(a)},onStop:()=>{},onComplete:()=>{o.onComplete&&o.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const o=this.getStack();o&&o.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(ru),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const o=this.getLead();let{targetWithTransforms:a,target:l,layout:c,latestValues:u}=o;if(!(!a||!l||!c)){if(this!==o&&this.layout&&c&&oo(this.options.animationType,this.layout.layoutBox,c.layoutBox)){l=this.target||k();const h=O(this.layout.layoutBox.x);l.x.min=o.target.x.min,l.x.max=l.x.min+h;const f=O(this.layout.layoutBox.y);l.y.min=o.target.y.min,l.y.max=l.y.min+f}H(a,l),zt(a,u),Rt(this.projectionDeltaWithTransform,this.layoutCorrected,a,u)}}registerSharedNode(o,a){this.sharedNodes.has(o)||this.sharedNodes.set(o,new ou),this.sharedNodes.get(o).add(a);const c=a.options.initialPromotionConfig;a.promote({transition:c?c.transition:void 0,preserveFollowOpacity:c&&c.shouldPreserveFollowOpacity?c.shouldPreserveFollowOpacity(a):void 0})}isLead(){const o=this.getStack();return o?o.lead===this:!0}getLead(){const{layoutId:o}=this.options;return o?this.getStack()?.lead||this:this}getPrevLead(){const{layoutId:o}=this.options;return o?this.getStack()?.prevLead:void 0}getStack(){const{layoutId:o}=this.options;if(o)return this.root.sharedNodes.get(o)}promote({needsReset:o,transition:a,preserveFollowOpacity:l}={}){const c=this.getStack();c&&c.promote(this,l),o&&(this.projectionDelta=void 0,this.needsReset=!0),a&&this.setOptions({transition:a})}relegate(){const o=this.getStack();return o?o.relegate(this):!1}resetSkewAndRotation(){const{visualElement:o}=this.options;if(!o)return;let a=!1;const{latestValues:l}=o;if((l.z||l.rotate||l.rotateX||l.rotateY||l.rotateZ||l.skewX||l.skewY)&&(a=!0),!a)return;const c={};l.z&&ye("z",o,c,this.animationValues);for(let u=0;uo.currentAnimation?.stop()),this.root.nodes.forEach(hs),this.root.sharedNodes.clear()}}}function lu(t){t.updateLayout()}function uu(t){const e=t.resumeFrom?.snapshot||t.snapshot;if(t.isLead()&&t.layout&&e&&t.hasListeners("didUpdate")){const{layoutBox:n,measuredBox:s}=t.layout,{animationType:i}=t.options,r=e.source!==t.layout.source;if(i==="size")$(u=>{const h=r?e.measuredBox[u]:e.layoutBox[u],f=O(h);h.min=n[u].min,h.max=h.min+f});else if(i==="x"||i==="y"){const u=i==="x"?"y":"x";$e(r?e.measuredBox[u]:e.layoutBox[u],n[u])}else oo(i,e.layoutBox,n)&&$(u=>{const h=r?e.measuredBox[u]:e.layoutBox[u],f=O(n[u]);h.max=h.min+f,t.relativeTarget&&!t.currentAnimation&&(t.isProjectionDirty=!0,t.relativeTarget[u].max=t.relativeTarget[u].min+f)});const o=vt();Rt(o,n,e.layoutBox);const a=vt();r?Rt(a,t.applyTransform(s,!0),e.measuredBox):Rt(a,n,e.layoutBox);const l=!Ji(o);let c=!1;if(!t.resumeFrom){const u=t.getClosestProjectingParent();if(u&&!u.resumeFrom){const{snapshot:h,layout:f}=u;if(h&&f){const d=t.options.layoutAnchor||void 0,p=k();ee(p,e.layoutBox,h.layoutBox,d);const y=k();ee(y,n,f.layoutBox,d),to(p,y)||(c=!0),u.options.layoutRoot&&(t.relativeTarget=y,t.relativeTargetOrigin=p,t.relativeParent=u)}}}t.notifyListeners("didUpdate",{layout:n,snapshot:e,delta:a,layoutDelta:o,hasLayoutChanged:l,hasRelativeLayoutChanged:c})}else if(t.isLead()){const{onExitComplete:n}=t.options;n&&n()}t.options.transition=void 0}function cu(t){t.parent&&(t.isProjecting()||(t.isProjectionDirty=t.parent.isProjectionDirty),t.isSharedProjectionDirty||(t.isSharedProjectionDirty=!!(t.isProjectionDirty||t.parent.isProjectionDirty||t.parent.isSharedProjectionDirty)),t.isTransformDirty||(t.isTransformDirty=t.parent.isTransformDirty))}function hu(t){t.isProjectionDirty=t.isSharedProjectionDirty=t.isTransformDirty=!1}function fu(t){t.clearSnapshot()}function hs(t){t.clearMeasurements()}function du(t){t.isLayoutDirty=!0,t.updateLayout()}function fs(t){t.isLayoutDirty=!1}function pu(t){t.isAnimationBlocked&&t.layout&&!t.isLayoutDirty&&(t.snapshot=t.layout,t.isLayoutDirty=!0)}function mu(t){const{visualElement:e}=t.options;e&&e.getProps().onBeforeLayoutMeasure&&e.notify("BeforeLayoutMeasure"),t.resetTransform()}function ds(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0,t.isProjectionDirty=!0}function yu(t){t.resolveTargetDelta()}function gu(t){t.calcProjection()}function vu(t){t.resetSkewAndRotation()}function xu(t){t.removeLeadSnapshot()}function ps(t,e,n){t.translate=C(e.translate,0,n),t.scale=C(e.scale,1,n),t.origin=e.origin,t.originPoint=e.originPoint}function ms(t,e,n,s){t.min=C(e.min,n.min,s),t.max=C(e.max,n.max,s)}function Tu(t,e,n,s){ms(t.x,e.x,n.x,s),ms(t.y,e.y,n.y,s)}function bu(t){return t.animationValues&&t.animationValues.opacityExit!==void 0}const Su={duration:.45,ease:[.4,0,.1,1]},ys=t=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(t),gs=ys("applewebkit/")&&!ys("chrome/")?Math.round:K;function vs(t){t.min=gs(t.min),t.max=gs(t.max)}function wu(t){vs(t.x),vs(t.y)}function oo(t,e,n){return t==="position"||t==="preserve-aspect"&&!Kl(rs(e),rs(n),.2)}function Pu(t){return t!==t.root&&t.scroll?.wasRoot}const Au=io({attachResizeListener:(t,e)=>eu(t,"resize",e),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body?.scrollLeft||0,y:document.documentElement.scrollTop||document.body?.scrollTop||0}),checkIsScrollRoot:()=>!0}),ge={current:void 0},Vu=io({measureScroll:t=>({x:t.scrollLeft,y:t.scrollTop}),defaultParent:()=>{if(!ge.current){const t=new Au({});t.mount(window),t.setOptions({layoutScroll:!0}),ge.current=t}return ge.current},resetTransform:(t,e)=>{t.style.transform=e!==void 0?e:"none"},checkIsScrollRoot:t=>window.getComputedStyle(t).position==="fixed"}),Cu={some:0,all:1};function Mu(t,e,{root:n,margin:s,amount:i="some"}={}){const r=Li(t),o=new WeakMap,a=c=>{c.forEach(u=>{const h=o.get(u.target);if(u.isIntersecting!==!!h)if(u.isIntersecting){const f=e(u.target,u);typeof f=="function"?o.set(u.target,f):l.unobserve(u.target)}else typeof h=="function"&&(h(u),o.delete(u.target))})},l=new IntersectionObserver(a,{root:n,rootMargin:s,threshold:typeof i=="number"?i:Cu[i]});return r.forEach(c=>l.observe(c)),()=>l.disconnect()}const xs=(t,e)=>Math.abs(t-e);function Eu(t,e){const n=xs(t.x,e.x),s=xs(t.y,e.y);return Math.sqrt(n**2+s**2)}typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const Ts=t=>typeof t<"u";function ro({current:t}){return t?t.ownerDocument.defaultView:null}function We(t){if(t)return t.nodeType===3||t.nodeType===8?We(t.nextSibling):t}const[Du,Ru]=jt("Motion"),[Lu]=jt("LayoutGroup"),ku={reducedMotion:"never",transition:void 0,nonce:void 0},[Bu]=jt("MotionConfig");function ao(){return Bu(Mt(()=>ku))}const Ke={motionAttribute:"data-ap"},_e=[];function lo(t){for(const e of t)e&&!_e.includes(e)&&_e.push(e)}function uo(t,e,n){if(Array.isArray(t))return t.reduce((s,i)=>{const r=uo(i,e,n);return r?{...s,...r}:s},{});if(typeof t=="object")return t;if(t&&e){const s=e[t];return typeof s=="function"?s(n):s}}function Fu(t,e,n){const s=uo(t,e,n);if(!s)return;const{transition:i,transitionEnd:r,...o}=s;return{...o,...r}}function Iu(t,e){const n=(t.initial===void 0&&t.variants?e?.initial:t.initial)===!1?["initial","animate"]:["initial"],s=t.custom??t.presenceContext?.custom;return n.reduce((i,r)=>({...i,...Fu(t[r]||e?.[r],t.variants,s)}),{})}function co(t,e){const n=e?.length;if(n!==t.length)return!1;for(let s=0;s{const n=this.options[e];return oe(n)||e==="initial"&&n===!1?n:this.parent?.context[e]}})),this._context}updateFeatures(){if(this.visualElement)for(const t of _e){this.features.has(t.key)||this.features.set(t.key,new t(this));const e=this.features.get(t.key);this.isMounted()&&(e.isMount?e.update():(e.mount(),e.isMount=!0))}}updateOptions(t){this.options=t,this.visualElement?.update({...this.options,whileTap:this.options.whilePress},this.options.presenceContext??null)}mount(t){ne.set(t,this),this.element=t,t.setAttribute(Ke.motionAttribute,this.options.presenceContext?.presenceId??""),this.visualElement?.mount(t),this.updateFeatures()}beforeUnmount(){this.getSnapshot(this.options,!1)}unmount(){this.parent?.children?.delete(this),ne.delete(this.element),this.features.forEach(t=>t.unmount?.()),this.visualElement?.unmount()}beforeUpdate(){this.getSnapshot(this.options,void 0)}update(){this.updateFeatures(),this.didUpdate()}tryExitComplete(){this.isExiting||this.options?.layoutId&&this.visualElement.projection?.currentAnimation?.state==="running"||this.options.presenceContext?.onMotionExitComplete?.(this.presenceContainer,this)}setActive(t,e){t==="exit"&&e&&(this.isExiting=!0),this.visualElement?.animationState?.setActive(t,e).then(()=>{t==="exit"&&e&&(this.isExiting=!1,this.options?.layoutId?A.postRender(()=>this.tryExitComplete()):this.tryExitComplete())})}isMounted(){return!!this.element}initVisualElement(t){this.visualElement||(this.visualElement=t(this.options.as,{presenceContext:this.options.presenceContext??null,parent:this.parent?.visualElement,props:{...this.options,whileTap:this.options.whilePress},visualState:{renderState:{transform:{},transformOrigin:{},style:{},vars:{},attrs:{}},latestValues:{...this.latestValues}},reducedMotionConfig:this.options.motionConfig?.reducedMotion}),this.visualElement.parent?.addChild(this.visualElement),this.isMounted()&&this.visualElement.mount(this.element))}getSnapshot(t,e){}didUpdate(){}},nt=class{constructor(t){this.state=t}mount(){}unmount(){}update(){}};const fo=["initial","animate","exit","whileHover","whileDrag","whileFocus","whilePress"];var Uu=fo.length;function po(t){if(!t)return;if(!t.isControllingVariants){const n=t.parent?po(t.parent)||{}:{};return t.props.initial!==void 0&&(n.initial=t.props.initial),n}const e={};for(let n=0;nPromise.all(e.map(({animation:n,options:s})=>Ka(t,n,s)))}function _u(t){let e=Ku(t),n=bs(),s=!0;const i=l=>(c,u)=>{const h=xt(t,u,l==="exit"?t.presenceContext?.custom:void 0);if(h){const{transition:f,transitionEnd:d,...p}=h;c={...c,...p,...d}}return c};function r(l){e=l(t)}function o(l){const{props:c}=t,u=po(t.parent)||{},h=[],f=new Set;let d={},p=1/0;for(let m=0;m<$u;m++){const g=Nu[m],T=n[g],x=c[g]!==void 0?c[g]:u[g],w=oe(x),S=g===l?T.isActive:null;S===!1&&(p=m);let L=x===u[g]&&x!==c[g]&&w;if(L&&s&&t.manuallyAnimateOnMount&&(L=!1),T.protectedKeys={...d},!T.isActive&&S===null||!x&&!T.prevProp||cn(x)||typeof x=="boolean")continue;const U=Wu(T.prevProp,x);let P=U||g===l&&T.isActive&&!L&&w||m>p&&w,F=!1;const b=Array.isArray(x)?x:[x];let M=b.reduce(i(g),{});S===!1&&(M={});const{prevResolvedValues:G={}}=T,pt={...G,...M},z=V=>{P=!0,f.has(V)&&(F=!0,f.delete(V)),T.needsAnimating[V]=!0;const N=t.getValue(V);N&&(N.liveStyle=!1)};for(const V in pt){const N=M[V],lt=G[V];if(Object.hasOwnProperty.call(d,V))continue;let mt=!1;Ss(N)&&Ss(lt)?mt=!co(N,lt):mt=N!==lt,mt?N!=null?z(V):f.add(V):N!==void 0&&f.has(V)?z(V):T.protectedKeys[V]=!0}T.prevProp=x,T.prevResolvedValues=M,T.isActive&&(d={...d,...M}),s&&t.blockInitialAnimation&&(P=!1);const J=L&&U;P&&(!J||F)&&h.push(...b.map(V=>{const N={type:g};if(typeof V=="string"&&s&&!J&&t.manuallyAnimateOnMount&&t.parent){const{parent:lt}=t,mt=xt(lt,V);if(lt.enteringChildren&&mt){const{delayChildren:Po}=mt.transition||{};N.delay=bi(lt.enteringChildren,t,Po)}}return{animation:V,options:N}}))}if(f.size){const m={};if(typeof c.initial!="boolean"){const g=xt(t,Array.isArray(c.initial)?c.initial[0]:c.initial);g&&g.transition&&(m.transition=g.transition)}f.forEach(g=>{const T=t.getBaseTarget(g),x=t.getValue(g);x&&(x.liveStyle=!0),m[g]=T??null}),h.push({animation:m})}let y=!!h.length;return s&&(c.initial===!1||c.initial===c.animate)&&!t.manuallyAnimateOnMount&&(y=!1),s=!1,y?e(h):Promise.resolve()}function a(l,c){if(n[l].isActive===c)return Promise.resolve();t.variantChildren?.forEach(h=>{h.animationState?.setActive(l,c)}),n[l].isActive=c;const u=o(l);for(const h in n)n[h].protectedKeys={};return u}return{animateChanges:o,setActive:a,setAnimateFunction:r,getState:()=>n,reset:()=>{n=bs(),s=!0}}}function yo(t){return t.style.display==="none"||t.offsetParent===null&&window.getComputedStyle(t).position!=="fixed"}var Gu=class extends nt{static#t=this.key="animation";constructor(t){super(t);const e=t.visualElement;e.animationState||=_u(e)}updateAnimationControlsSubscription(){const{animate:t}=this.state.options;cn(t)&&(this.unmountControls=t.subscribe(this.state.visualElement))}mount(){yo(this.state.element)?this.state.setActive("exit",!0):this.state.visualElement.animationState?.animateChanges(),this.updateAnimationControlsSubscription()}update(){this.state.visualElement.animationState?.animateChanges();const{animate:t}=this.state.visualElement.getProps(),{animate:e}=this.state.visualElement.prevProps||{};t!==e&&this.updateAnimationControlsSubscription()}unmount(){this.state.visualElement.animationState.reset(),this.unmountControls?.()}};function zu(t,e){return ho(t)?new Ol(e):new Rl(e)}function ws(t){return{point:{x:t.pageX,y:t.pageY}}}var Hu=class extends nt{static#t=this.key="press";constructor(t){super(t)}isActive(){const{whilePress:t,onPress:e,onPressCancel:n,onPressStart:s}=this.state.options;return!!(t||e||n||s)}register(){const t=this.state.element;!t||!this.isActive()||(this.removePress?.(),this.removePress=cl(t,(e,n)=>{const s=this.state.options;return this.state.setActive("whilePress",!0),s.onPressStart&&A.postRender(()=>s.onPressStart(n,ws(n))),(i,{success:r})=>{this.state.setActive("whilePress",!1);const o=r?"onPress":"onPressCancel",a=this.state.options[o];a&&A.postRender(()=>a(i,ws(i)))}},{useGlobalTarget:this.state.options.globalPressTarget}))}mount(){this.register()}update(){const t=this.state.visualElement.prevProps;!(t?.whilePress||t?.whileTap||t?.onPress||t?.onPressCancel||t?.onPressStart)&&this.isActive()&&this.register()}unmount(){this.removePress?.(),this.removePress=void 0}};function go(t){return t.pointerType==="mouse"?typeof t.button!="number"||t.button<=0:t.isPrimary!==!1}function It(t,e="page"){return{point:{x:t[`${e}X`],y:t[`${e}Y`]}}}function Xu(t){return e=>go(e)&&t(e,It(e))}var Yu=class extends nt{static#t=this.key="hover";constructor(t){super(t)}isActive(){const{whileHover:t,onHoverStart:e,onHoverEnd:n}=this.state.options;return!!(t||e||n)}register(){const t=this.state.element;!t||!this.isActive()||(this.removeHover?.(),this.removeHover=ol(t,(e,n)=>{const s=this.state.options;return this.state.setActive("whileHover",!0),s.onHoverStart&&A.postRender(()=>s.onHoverStart(n,It(n))),i=>{this.state.setActive("whileHover",!1);const r=this.state.options.onHoverEnd;r&&A.postRender(()=>r(i,It(i)))}}))}mount(){this.register()}update(){const t=this.state.visualElement.prevProps;!(t?.whileHover||t?.onHoverStart||t?.onHoverEnd)&&this.isActive()&&this.register()}unmount(){this.removeHover?.(),this.removeHover=void 0}},qu=class extends nt{static#t=this.key="inView";constructor(t){super(t)}isActive(){const{whileInView:t,onViewportEnter:e,onViewportLeave:n}=this.state.options;return!!(t||e||n)}startObserver(){const t=this.state.element;if(!t||!this.isActive())return;this.removeObserver?.();const{once:e,...n}=this.state.options.inViewOptions||{};this.removeObserver=Mu(t,(s,i)=>{const r=this.state.options;if(this.state.setActive("whileInView",!0),r.onViewportEnter&&A.postRender(()=>r.onViewportEnter(i)),!e)return()=>{this.state.setActive("whileInView",!1);const o=this.state.options.onViewportLeave;o&&A.postRender(()=>o(i))}},n)}mount(){this.startObserver()}update(){const{props:t,prevProps:e}=this.state.visualElement;["amount","margin","root"].some(n=>t.inViewOptions?.[n]!==e?.inViewOptions?.[n])&&this.startObserver()}unmount(){this.removeObserver?.(),this.removeObserver=void 0}};function se(t,e,n,s={passive:!0}){return t.addEventListener(e,n,s),()=>t.removeEventListener(e,n)}var Zu=class extends nt{static#t=this.key="focus";constructor(t){super(t),this.isFocused=!1}onFocus(){let t=!1;try{t=this.state.element.matches(":focus-visible")}catch{t=!0}t&&(this.state.setActive("whileFocus",!0),this.isFocused=!0)}onBlur(){this.isFocused&&(this.state.setActive("whileFocus",!1),this.isFocused=!1)}mount(){const t=this.state.element;this.removeFocus=Ot(se(t,"focus",()=>this.onFocus()),se(t,"blur",()=>this.onBlur()))}unmount(){this.removeFocus?.(),this.removeFocus=void 0}};function vo(t){if(t)return t.options.allowProjection!==!1?t.projection:vo(t.parent)}const xo={borderRadius:{...q,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:q,borderTopRightRadius:q,borderBottomLeftRadius:q,borderBottomRightRadius:q,boxShadow:zi};function Ct(t){return typeof t=="object"&&t!==null&&"nodeType"in t}const Qu=typeof window>"u";var Ju=class extends nt{static#t=this.key="projection";constructor(t){super(t),Hi(xo),Qu||this.initProjection()}initProjection(){const t=this.state.options;this.state.visualElement.projection=new Vu(this.state.visualElement.latestValues,t["data-framer-portal-id"]?void 0:vo(this.state.visualElement.parent)),this.projection=this.state.visualElement.projection,this.projection.isPresent=!0,this.setOptions()}setOptions(){const t=this.state.options,{layoutId:e,layout:n,drag:s=!1,dragConstraints:i=!1}=t;this.projection?.setOptions({layout:n,layoutId:e,alwaysMeasureLayout:!!e||!!s||i&&Ct(i),visualElement:this.state.visualElement,animationType:typeof t.layout=="string"?t.layout:"both",layoutRoot:t.layoutRoot,layoutScroll:t.layoutScroll,crossfade:t.crossfade,onExitComplete:()=>{!this.projection?.isPresent&&this.state.options.layoutId&&!this.state.isExiting&&queueMicrotask(()=>{this.state.options.presenceContext?.onMotionExitComplete?.(this.state.presenceContainer,this.state)})}})}update(){this.setOptions()}mount(){this.projection?.mount(this.state.element)}};function Lt(t,e,n,s){return se(t,e,Xu(n),s)}var Ps=new Set(["auto","scroll"]),To=class{constructor(t,e,{transformPagePoint:n,contextWindow:s,dragSnapToOrigin:i=!1,element:r}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.scrollPositions=new Map,this.onElementScroll=u=>{this.handleScroll(u.target)},this.onWindowScroll=()=>{this.handleScroll(window)},this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const u=xe(this.lastMoveEventInfo,this.history),h=this.startEvent!==null,f=Eu(u.offset,{x:0,y:0})>=3;if(!h&&!f)return;const{point:d}=u,{timestamp:p}=B;this.history.push({...d,timestamp:p});const{onStart:y,onMove:m}=this.handlers;h||(y&&y(this.lastMoveEvent,u),this.startEvent=this.lastMoveEvent),m&&m(this.lastMoveEvent,u)},this.handlePointerMove=(u,h)=>{this.lastMoveEvent=u,this.lastMoveEventInfo=ve(h,this.transformPagePoint),A.update(this.updatePoint,!0)},this.handlePointerUp=(u,h)=>{this.end();const{onEnd:f,onSessionEnd:d,resumeAnimation:p}=this.handlers;if((this.dragSnapToOrigin||!this.startEvent)&&p&&p(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const y=xe(u.type==="pointercancel"?this.lastMoveEventInfo:ve(h,this.transformPagePoint),this.history);this.startEvent&&f&&f(u,y),d&&d(u,y)},!go(t))return;this.dragSnapToOrigin=i,this.handlers=e,this.transformPagePoint=n,this.contextWindow=s||window;const o=ve(It(t),this.transformPagePoint),{point:a}=o,{timestamp:l}=B;this.history=[{...a,timestamp:l}];const{onSessionStart:c}=e;c&&c(t,xe(o,this.history)),this.removeListeners=Ot(Lt(this.contextWindow,"pointermove",this.handlePointerMove),Lt(this.contextWindow,"pointerup",this.handlePointerUp),Lt(this.contextWindow,"pointercancel",this.handlePointerUp)),r&&this.startScrollTracking(r)}isScrollable(t){const e=window.getComputedStyle(t);return e.overflow==="auto"||e.overflow==="scroll"||e.overflowX==="auto"||e.overflowX==="scroll"||e.overflowY==="auto"||e.overflowY==="scroll"}startScrollTracking(t){let e=t.parentElement;for(;e;){const n=getComputedStyle(e);(Ps.has(n.overflowX)||Ps.has(n.overflowY))&&this.scrollPositions.set(e,{x:e.scrollLeft,y:e.scrollTop}),e=e.parentElement}this.scrollPositions.set(window,{x:window.scrollX,y:window.scrollY}),window.addEventListener("scroll",this.onElementScroll,{capture:!0,passive:!0}),window.addEventListener("scroll",this.onWindowScroll,{passive:!0}),this.removeScrollListeners=()=>{window.removeEventListener("scroll",this.onElementScroll,{capture:!0}),window.removeEventListener("scroll",this.onWindowScroll)}}handleScroll(t){const e=this.scrollPositions.get(t);if(!e)return;const n=t===window,s=n?{x:window.scrollX,y:window.scrollY}:{x:t.scrollLeft,y:t.scrollTop},i={x:s.x-e.x,y:s.y-e.y};i.x===0&&i.y===0||(n?this.lastMoveEventInfo&&(this.lastMoveEventInfo.point.x+=i.x,this.lastMoveEventInfo.point.y+=i.y):this.history.length>0&&(this.history[0].x-=i.x,this.history[0].y-=i.y),this.scrollPositions.set(t,s),A.update(this.updatePoint,!0))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners?.(),this.scrollPositions.clear(),at(this.updatePoint)}};function ve(t,e){return e?{point:e(t.point)}:t}function As(t,e){return{x:t.x-e.x,y:t.y-e.y}}function xe({point:t},e){return{point:t,delta:As(t,bo(e)),offset:As(t,tc(e)),velocity:ec(e,.1)}}function tc(t){return t[0]}function bo(t){return t[t.length-1]}function ec(t,e){if(t.length<2)return{x:0,y:0};let n=t.length-1,s=null;const i=bo(t);for(;n>=0&&(s=t[n],!(i.timestamp-s.timestamp>_(e)));)n--;if(!s)return{x:0,y:0};const r=W(i.timestamp-s.timestamp);if(r===0)return{x:0,y:0};const o={x:(i.x-s.x)/r,y:(i.y-s.y)/r};return o.x===1/0&&(o.x=0),o.y===1/0&&(o.y=0),o}function Vs(t){return(e,n)=>{t&&A.postRender(()=>t(e,n))}}var nc=class extends nt{constructor(...t){super(...t),this.removePointerDownListener=K}static#t=this.key="pan";onPointerDown(t){this.session=new To(t,this.createPanHandlers(),{transformPagePoint:this.state.visualElement.getTransformPagePoint(),contextWindow:ro(this.state.visualElement)})}createPanHandlers(){return{onSessionStart:Vs((t,e)=>{const{onPanSessionStart:n}=this.state.options;n&&n(t,e)}),onStart:Vs((t,e)=>{const{onPanStart:n}=this.state.options;n&&n(t,e)}),onMove:(t,e)=>{const{onPan:n}=this.state.options;n&&n(t,e)},onEnd:(t,e)=>{const{onPanEnd:n}=this.state.options;delete this.session,n&&A.postRender(()=>n(t,e))}}}mount(){this.removePointerDownListener=Lt(this.state.element,"pointerdown",this.onPointerDown.bind(this))}update(){}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}};function So(t){let e=null;return()=>{const n=()=>{e=null};return e===null?(e=t,n):!1}}var Cs=So("dragHorizontal"),Ms=So("dragVertical");function sc(t){let e=!1;if(t==="y")e=Ms();else if(t==="x")e=Cs();else{const n=Cs(),s=Ms();n&&s?e=()=>{n(),s()}:(n&&n(),s&&s())}return e}function ic(t,{min:e,max:n},s){return e!==void 0&&tn&&(t=s?C(n,t,s.max):Math.min(t,n)),t}const Ge=.35;function oc(t,{top:e,left:n,bottom:s,right:i}){return{x:Es(t.x,n,i),y:Es(t.y,e,s)}}function Es(t,e,n){return{min:e!==void 0?t.min+e:void 0,max:n!==void 0?t.max+n-(t.max-t.min):void 0}}function rc(t=Ge){return t===!1?t=0:t===!0&&(t=Ge),{x:Ds(t,"left","right"),y:Ds(t,"top","bottom")}}function Ds(t,e,n){return{min:Rs(t,e),max:Rs(t,n)}}function Rs(t,e){return typeof t=="number"?t:t[e]||0}function ac(t,e){const n={};return e.min!==void 0&&(n.min=e.min-t.min),e.max!==void 0&&(n.max=e.max-t.min),n}function lc(t,e){return{x:Ls(t.x,e.x),y:Ls(t.y,e.y)}}function Ls(t,e){let n=e.min-t.min,s=e.max-t.max;return e.max-e.mins?n=kt(e.min,e.max-s,t.min):s>i&&(n=kt(t.min,t.max-i,e.min)),Q(0,1,n)}const cc=new WeakMap;var hc=class{constructor(t){this.openGlobalLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=k(),this.state=t}get visualElement(){return this.state.visualElement}start(t,{snapToCursor:e=!1}={}){const n=l=>{e?this.stopAnimation():this.pauseAnimation(),e&&this.snapToCursor(It(l,"page").point)},s=(l,c)=>{this.stopAnimation();const{drag:u,dragPropagation:h,onDragStart:f}=this.getProps();u&&!h&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=sc(u),!this.openGlobalLock)||(this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),$(d=>{let p=this.getAxisMotionValue(d).get()||0;if(Z.test(p)){const{projection:y}=this.visualElement;if(y&&y.layout){const m=y.layout.layoutBox[d];m&&(p=O(m)*(parseFloat(p)/100))}}this.originPoint[d]=p}),f&&A.postRender(()=>f(l,c)),Be(this.visualElement,"transform"),this.state.setActive("whileDrag",!0))},i=(l,c)=>{const{dragPropagation:u,dragDirectionLock:h,onDirectionLock:f,onDrag:d}=this.getProps();if(!u&&!this.openGlobalLock)return;const{offset:p}=c;if(h&&this.currentDirection===null){this.currentDirection=fc(p),this.currentDirection!==null&&f&&f(this.currentDirection);return}this.updateAxis("x",c.point,p),this.updateAxis("y",c.point,p),this.visualElement.render(),d&&d(l,c)},r=(l,c)=>this.stop(l,c),o=()=>$(l=>this.getAnimationState(l)==="paused"&&this.getAxisMotionValue(l).animation?.play()),{dragSnapToOrigin:a}=this.getProps();this.panSession=new To(t,{onSessionStart:n,onStart:s,onMove:i,onSessionEnd:r,resumeAnimation:o},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:a,contextWindow:ro(this.visualElement),element:this.state.element})}stop(t,e){const n=this.isDragging;if(this.cancel(),!n)return;const{velocity:s}=e;this.startAnimation(s);const{onDragEnd:i}=this.getProps();i&&A.postRender(()=>i(t,e))}cancel(){this.isDragging=!1;const{projection:t}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:e}=this.getProps();!e&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),this.state.setActive("whileDrag",!1)}updateAxis(t,e,n){const{drag:s}=this.getProps();if(!n||!Kt(t,s,this.currentDirection))return;const i=this.getAxisMotionValue(t);let r=this.originPoint[t]+n[t];this.constraints&&this.constraints[t]&&(r=ic(r,this.constraints[t],this.elastic[t])),i.set(r)}resolveConstraints(){const{dragConstraints:t,dragElastic:e}=this.getProps(),n=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):this.visualElement.projection?.layout,s=this.constraints;t&&Ct(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):t&&n?this.constraints=oc(n.layoutBox,t):this.constraints=!1,this.elastic=rc(e),s!==this.constraints&&n&&this.constraints&&!this.hasMutatedConstraints&&$(i=>{this.constraints!==!1&&this.getAxisMotionValue(i)&&(this.constraints[i]=ac(n.layoutBox[i],this.constraints[i]))})}resolveRefConstraints(){const{dragConstraints:t,onMeasureDragConstraints:e}=this.getProps();if(!t||!Ct(t))return!1;const n=t,{projection:s}=this.visualElement;if(!s||!s.layout)return!1;const i=Al(n,s.root,this.visualElement.getTransformPagePoint());let r=lc(s.layout.layoutBox,i);if(e){const o=e(Sl(r));this.hasMutatedConstraints=!!o,o&&(r=$i(o))}return r}startAnimation(t){const{drag:e,dragMomentum:n,dragElastic:s,dragTransition:i,dragSnapToOrigin:r,onDragTransitionEnd:o}=this.getProps(),a=this.constraints||{},l=$(c=>{if(!Kt(c,e,this.currentDirection))return;let u=a&&a[c]||{};r&&(u={min:0,max:0});const h=s?200:1e6,f=s?40:1e7,d={type:"inertia",velocity:n?t[c]:0,bounceStiffness:h,bounceDamping:f,timeConstant:750,restDelta:1,restSpeed:10,...i,...u};return this.startAxisValueAnimation(c,d)});return Promise.all(l).then(o)}startAxisValueAnimation(t,e){const n=this.getAxisMotionValue(t);return Be(this.visualElement,t),n.start(an(t,n,0,e,this.visualElement,!1))}stopAnimation(){this.visualElement.projection?.isPresent&&$(t=>this.getAxisMotionValue(t).stop())}pauseAnimation(){$(t=>this.getAxisMotionValue(t).animation?.pause())}getAnimationState(t){return this.getAxisMotionValue(t).animation?.state}getAxisMotionValue(t){const e=`_drag${t.toUpperCase()}`,n=this.visualElement.getProps();return n[e]||this.visualElement.getValue(t,(n.initial?n.initial[t]:void 0)||0)}snapToCursor(t){$(e=>{const{drag:n}=this.getProps();if(!Kt(e,n,this.currentDirection))return;const{projection:s}=this.visualElement,i=this.getAxisMotionValue(e);if(s&&s.layout){const{min:r,max:o}=s.layout.layoutBox[e];i.set(t[e]-C(r,o,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:t,dragConstraints:e}=this.getProps(),{projection:n}=this.visualElement;if(!Ct(e)||!n||!this.constraints)return;this.stopAnimation();const s={x:0,y:0};$(r=>{const o=this.getAxisMotionValue(r);if(o&&this.constraints!==!1){const a=o.get();s[r]=uc({min:a,max:a},this.constraints[r])}});const{transformTemplate:i}=this.visualElement.getProps();this.state.element.style.transform=i?i({},""):"none",n.root&&n.root.updateScroll(),n.updateLayout(),this.resolveConstraints(),$(r=>{if(!Kt(r,t,null))return;const o=this.getAxisMotionValue(r),{min:a,max:l}=this.constraints[r];o.set(C(a,l,s[r]))})}addListeners(){if(!this.state.element)return;cc.set(this.visualElement,this);const t=this.state.element,e=Lt(t,"pointerdown",a=>{const{drag:l,dragListener:c=!0}=this.getProps();l&&c&&this.start(a)}),n=()=>{const{dragConstraints:a}=this.getProps();Ct(a)&&(this.constraints=this.resolveRefConstraints())},{projection:s}=this.visualElement,i=s.addEventListener("measure",n);s&&!s.layout&&(s.root&&s.root.updateScroll(),s.updateLayout()),A.read(n);const r=se(window,"resize",()=>this.scalePositionWithinConstraints()),o=s.addEventListener("didUpdate",(({delta:a,hasLayoutChanged:l})=>{this.isDragging&&l&&($(c=>{const u=this.getAxisMotionValue(c);u&&(this.originPoint[c]+=a[c].translate,u.set(u.get()+a[c].translate))}),this.visualElement.render())}));return()=>{r(),e(),i(),o&&o()}}getProps(){const t=this.visualElement.getProps(),{drag:e=!1,dragDirectionLock:n=!1,dragPropagation:s=!1,dragConstraints:i=!1,dragElastic:r=Ge,dragMomentum:o=!0}=t;return{...t,drag:e,dragDirectionLock:n,dragPropagation:s,dragConstraints:i,dragElastic:r,dragMomentum:o}}};function Kt(t,e,n){return(e===!0||e===t)&&(n===null||n===t)}function fc(t,e=10){let n=null;return Math.abs(t.y)>e?n="y":Math.abs(t.x)>e&&(n="x"),n}var dc=class extends nt{static#t=this.key="drag";constructor(t){super(t),this.removeGroupControls=K,this.removeListeners=K,this.controls=new hc(t)}mount(){const{dragControls:t}=this.state.options;t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||K}unmount(){this.removeGroupControls(),this.removeListeners()}},At=!1,pc=class extends nt{static#t=this.key="layout";constructor(t){super(t),this.hasMountSettled=!1,Hi(xo),t.getSnapshot=this.getSnapshot.bind(this),t.didUpdate=this.didUpdate.bind(this)}updatePrevLead(t){const e=t.getStack();e?.prevLead&&!e.prevLead.snapshot&&(e.prevLead.willUpdate(),At=!0)}didUpdate(){At&&(this.state.options.layout||this.state.options.layoutId||this.state.options.drag)&&(At=!1,this.state.visualElement.projection?.root?.didUpdate())}mount(){const t=this.state.options,e=this.state.options.layoutGroup;if(t.layout||t.layoutId){const n=this.state.visualElement.projection;if(t.layoutId){const s=!yo(this.state.element);n.isPresent=s,s?n.promote():n.relegate(),this.updatePrevLead(n)}e?.group?.add(n),Ht.hasEverUpdated=!0}this.didUpdate(),A.postRender(()=>{this.hasMountSettled=!0})}unmount(){const t=this.state.options.layoutGroup,e=this.state.visualElement.projection;e&&(t?.group&&(this.state.options.layout||this.state.options.layoutId)&&t.group.remove(e),this.state.options.layoutId&&(At=!0),this.didUpdate())}getSnapshot(t,e){const n=this.state.visualElement.projection,{drag:s,layoutDependency:i,layout:r,layoutId:o}=t;if(!n||!r&&!o&&!s||!this.hasMountSettled)return;At=!0;const a=this.state.options;(s||a.layoutDependency!==i||i===void 0||Ts(e)&&n.isPresent!==e)&&n.willUpdate(),Ts(e)&&e!==n.isPresent&&(n.isPresent=e,e?(n.promote(),this.updatePrevLead(n)):n.relegate())}};const mc={renderer:zu,features:[Gu,Hu,Yu,qu,Zu,Ju,nc,dc,pc]},[yc]=jt("LazyMotionContext"),[gc,vc]=jt("AnimatePresenceContext");function xc(t){return t.replace(/([A-Z])/g,e=>`-${e.toLowerCase()}`)}function wo(){return{transform:{},transformOrigin:{},style:{},vars:{}}}function Tc(){return{...wo(),attrs:{}}}function bc(t){const e=wo();hn(e,t);const n={...e.style};for(const s in e.vars)n[s]=e.vars[s];return Object.keys(n).length===0?null:n}function Sc(t,e,n){const s=Tc();Yi(s,t,qi(e),void 0,n);const i={};for(const r in s.attrs){const o=fn.has(r)?r:xc(r);i[o]=s.attrs[r]}return{attrs:i,style:{...s.style,...s.vars}}}function wc(t,e){const n=Du(null),s=Lu({}),i=ao(),r=gc({}),o=yc({features:Bs({}),strict:!1}),a=Co();function l(){return Xo(t,{layoutGroup:s,presenceContext:r,config:i.value})}function c(){return{...a,...l()}}const u=new Ou(c(),n);Ru(u),e&&u.initVisualElement(e),Mo(o.features,d=>{d.features?.length&&lo(d.features),d.renderer&&u.initVisualElement(d.renderer),u.updateFeatures()},{immediate:!0,flush:"pre"});function h(){const d=u.type==="svg",p={...a};Object.keys(a).forEach(T=>{I(a[T])&&(p[T]=a[T].get())});const y=u.visualElement?.latestValues||u.latestValues;let m={...t.style,...d?{}:y};for(const T in m)I(m[T])&&(m[T]=m[T].get());if(d){const{attrs:T,style:x}=Sc({...y,...m},u.options.as,t.style);Object.assign(p,T),m=x}t.drag&&t.dragListener!==!1&&Object.assign(m,{userSelect:"none",WebkitUserSelect:"none",WebkitTouchCallout:"none",touchAction:t.drag===!0?"none":`pan-${t.drag==="x"?"y":"x"}`});const g=bc(m);return g&&(p.style=g),p}const f=Eo().proxy;return Fs(()=>{const d=We(f.$el);u.mount(d)}),Do(()=>u.beforeUnmount()),Is(()=>{We(f.$el)?.isConnected||u.unmount()}),Ro(()=>{u.beforeUpdate(),u.updateOptions(c())}),Lo(()=>{u.update()}),{getProps:l,getAttrs:h,layoutGroup:s,state:u}}const Pc={ignoreStrict:{type:Boolean},forwardMotionProps:{type:Boolean,default:!1},asChild:{type:Boolean,default:!1},whileDrag:{type:[String,Array,Object]},whileHover:{type:[String,Array,Object]},whilePress:{type:[String,Array,Object]},whileInView:{type:[String,Array,Object]},whileFocus:{type:[String,Array,Object]},custom:{type:[String,Number,Object,Array]},initial:{type:[String,Array,Object,Boolean],default:void 0},animate:{type:[String,Array,Object],default:void 0},exit:{type:[String,Array,Object]},variants:{type:Object},inherit:{type:Boolean},style:{type:Object},transformTemplate:{type:Function},transition:{type:Object},onAnimationComplete:{type:Function},onUpdate:{type:Function},layout:{type:[Boolean,String],default:!1},layoutId:{type:String,default:void 0},layoutScroll:{type:Boolean,default:!1},layoutRoot:{type:Boolean,default:!1},"data-framer-portal-id":{type:String},crossfade:{type:Boolean,default:!0},layoutDependency:{type:null,default:void 0},onBeforeLayoutMeasure:{type:Function},onLayoutMeasure:{type:Function},onLayoutAnimationStart:{type:Function},onLayoutAnimationComplete:{type:Function},globalPressTarget:{type:Boolean},onPressStart:{type:Function},onPress:{type:Function},onPressCancel:{type:Function},onHoverStart:{type:Function},onHoverEnd:{type:Function},inViewOptions:{type:Object},onViewportEnter:{type:Function},onViewportLeave:{type:Function},drag:{type:[Boolean,String]},dragSnapToOrigin:{type:Boolean},dragDirectionLock:{type:Boolean},dragPropagation:{type:Boolean},dragConstraints:{type:[Boolean,Object]},dragElastic:{type:[Boolean,Number,Object],default:.5},dragMomentum:{type:Boolean,default:!0},dragTransition:{type:Object},dragListener:{type:Boolean,default:!0},dragControls:{type:Object},onDragStart:{type:Function},onDragEnd:{type:Function},onDrag:{type:Function},onDirectionLock:{type:Function},onDragTransitionEnd:{type:Function},onMeasureDragConstraints:{type:Function},onPanSessionStart:{type:Function},onPanStart:{type:Function},onPan:{type:Function},onPanEnd:{type:Function}};var Ac=new Map,Vc=new Map;function Cc(t){if(!Array.isArray(t))return[t];const e=[];for(const n of t)Array.isArray(n)?e.push(...n):e.push(n);return e}var Mc=["area","img","input"];function Ec(t,e,n){if(typeof t=="string"&&Mc.includes(t))return Os(t,e);if(t==="template"){if(!n.default)return null;const s=Cc(n.default()),i=s.findIndex(l=>l.type!==ko);if(i===-1)return s;const r=s[i];delete r.props?.ref;const o=r.props?Xt(e,r.props):e;e.class&&r.props?.class&&delete r.props.class;const a=Bo(r,o);for(const l in o)l.startsWith("on")&&(a.props||={},a.props[l]=o[l]);return s.length===1?a:(s[i]=a,s)}return null}function ks(t,e={}){const n=typeof t=="string",s=n?t:t.name||"",i=e.renderer?Ac:Vc;if(n&&i?.has(t))return i.get(t);const r=js({inheritAttrs:!1,props:{...Pc,as:{type:[String,Object],default:t||"div"}},name:s?`motion.${s}`:"Motion",setup(o,{slots:a}){const{getProps:l,getAttrs:c,state:u}=wc(o,e.renderer);function h(){const f=u.element;if((typeof o.as!="object"||o.asChild)&&f){const{style:d}=c();if(d)for(const[p,y]of Object.entries(d))f.style[p]=y}}return()=>{const f=l(),d=c(),p=o.asChild?"template":o.as,y={...o.forwardMotionProps?f:{},...d,onVnodeUpdated:h},m=Ec(p,y,a);return m!==null?m:Os(p,{...y},a)}}});return n&&i?.set(t,r),r}function Dc(t){const e=t?.renderer;return lo(t?.features||[]),new Proxy({},{get(n,s){return s==="create"?(i,r)=>ks(i,{...r,renderer:e}):ks(s,{renderer:e})}})}const Rc=Dc(mc),Te=Rc.create("div");var Lc=0;function kc(t){const e=new WeakMap,n=ao();function s(r){if(t.mode!=="popLayout")return;const o=r.offsetParent,a=o instanceof HTMLElement&&o.offsetWidth||0,l={height:r.offsetHeight||0,width:r.offsetWidth||0,top:r.offsetTop,left:r.offsetLeft,right:0};l.right=a-l.width-l.left;const c=t.anchorX==="left"?`left: ${l.left}px`:`right: ${l.right}px`,u=`pop-${Lc++}`;r.dataset.motionPopId=u;const h=document.createElement("style");n.value.nonce&&(h.nonce=n.value.nonce),e.set(r,h),document.head.appendChild(h),h.sheet&&h.sheet.insertRule(` +import{b5 as Ao,aO as Vo,c as Mt,v as Bs,bL as Co,w as Mo,bf as Eo,G as Fs,aY as Do,H as Is,bu as Ro,bM as Lo,d as js,bd as Os,bl as ko,m as Xt,Y as Bo,o as st,a as yt,p as et,q as Fo,s as D,W as be,bN as Io,bO as jo,a0 as Oo,a1 as Uo,a4 as dn,ar as No,e as pn,B as tt,bP as $o,F as Wo,bQ as mn,bR as Ko,bS as _o,ac as yn,f as gn,bT as Go,aS as zo,am as vn,bU as Ho}from"./DklXDfzJ.js";function jt(t,e){const n=typeof t=="string"&&!e?`${t}Context`:e,s=Symbol(n);return[o=>{const a=Ao(s,o);if(a===void 0)throw new Error(`Injection \`${s.toString()}\` not found. Component must be used within ${Array.isArray(t)?`one of the following components: ${t.join(", ")}`:`\`${t}\``}`);return a},o=>(Vo(s,o),o),s]}function Xo(t,e){const{layoutGroup:n,presenceContext:s,config:i}=e,r=n.id&&t.layoutId?`${n.id}-${t.layoutId}`:t.layoutId||void 0;return{...t,layoutId:r,transition:t.transition??i.transition,layoutGroup:n,motionConfig:i,inViewOptions:t.inViewOptions??i.inViewOptions,presenceContext:s,initial:s.initial===!1?s.initial:t.initial===!0?void 0:t.initial}}function ze(t,e){t.indexOf(e)===-1&&t.push(e)}function Yt(t,e){const n=t.indexOf(e);n>-1&&t.splice(n,1)}const Q=(t,e,n)=>n>e?e:n{};const rt={},Us=t=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(t);function Ns(t){return typeof t=="object"&&t!==null}const $s=t=>/^0[^.\s]+$/u.test(t);function Ws(t){let e;return()=>(e===void 0&&(e=t()),e)}const K=t=>t,Yo=(t,e)=>n=>e(t(n)),Ot=(...t)=>t.reduce(Yo),kt=(t,e,n)=>{const s=e-t;return s===0?1:(n-t)/s};class Xe{constructor(){this.subscriptions=[]}add(e){return ze(this.subscriptions,e),()=>Yt(this.subscriptions,e)}notify(e,n,s){const i=this.subscriptions.length;if(i)if(i===1)this.subscriptions[0](e,n,s);else for(let r=0;rt*1e3,W=t=>t/1e3;function Ks(t,e){return e?t*(1e3/e):0}const _s=(t,e,n)=>(((1-3*n+3*e)*t+(3*n-6*e))*t+3*e)*t,qo=1e-7,Zo=12;function Qo(t,e,n,s,i){let r,o,a=0;do o=e+(n-e)/2,r=_s(o,s,i)-t,r>0?n=o:e=o;while(Math.abs(r)>qo&&++aQo(r,0,1,t,n);return r=>r===0||r===1?r:_s(i(r),e,s)}const Gs=t=>e=>e<=.5?t(2*e)/2:(2-t(2*(1-e)))/2,zs=t=>e=>1-t(1-e),Hs=Ut(.33,1.53,.69,.99),Ye=zs(Hs),Xs=Gs(Ye),Ys=t=>t>=1?1:(t*=2)<1?.5*Ye(t):.5*(2-Math.pow(2,-10*(t-1))),qe=t=>1-Math.sin(Math.acos(t)),qs=zs(qe),Zs=Gs(qe),Jo=Ut(.42,0,1,1),tr=Ut(0,0,.58,1),Qs=Ut(.42,0,.58,1),er=t=>Array.isArray(t)&&typeof t[0]!="number",Js=t=>Array.isArray(t)&&typeof t[0]=="number",nr={linear:K,easeIn:Jo,easeInOut:Qs,easeOut:tr,circIn:qe,circInOut:Zs,circOut:qs,backIn:Ye,backInOut:Xs,backOut:Hs,anticipate:Ys},sr=t=>typeof t=="string",xn=t=>{if(Js(t)){He(t.length===4);const[e,n,s,i]=t;return Ut(e,n,s,i)}else if(sr(t))return nr[t];return t},$t=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function ir(t,e){let n=new Set,s=new Set,i=!1,r=!1;const o=new WeakSet;let a={delta:0,timestamp:0,isProcessing:!1};function l(u){o.has(u)&&(c.schedule(u),t()),u(a)}const c={schedule:(u,h=!1,f=!1)=>{const p=f&&i?n:s;return h&&o.add(u),p.add(u),u},cancel:u=>{s.delete(u),o.delete(u)},process:u=>{if(a=u,i){r=!0;return}i=!0;const h=n;n=s,s=h,n.forEach(l),n.clear(),i=!1,r&&(r=!1,c.process(u))}};return c}const or=40;function ti(t,e){let n=!1,s=!0;const i={delta:0,timestamp:0,isProcessing:!1},r=()=>n=!0,o=$t.reduce((x,w)=>(x[w]=ir(r),x),{}),{setup:a,read:l,resolveKeyframes:c,preUpdate:u,update:h,preRender:f,render:d,postRender:p}=o,y=()=>{const x=rt.useManualTiming,w=x?i.timestamp:performance.now();n=!1,x||(i.delta=s?1e3/60:Math.max(Math.min(w-i.timestamp,or),1)),i.timestamp=w,i.isProcessing=!0,a.process(i),l.process(i),c.process(i),u.process(i),h.process(i),f.process(i),d.process(i),p.process(i),i.isProcessing=!1,n&&e&&(s=!1,t(y))},m=()=>{n=!0,s=!0,i.isProcessing||t(y)};return{schedule:$t.reduce((x,w)=>{const S=o[w];return x[w]=(L,U=!1,P=!1)=>(n||m(),S.schedule(L,U,P)),x},{}),cancel:x=>{for(let w=0;w<$t.length;w++)o[$t[w]].cancel(x)},state:i,steps:o}}const{schedule:A,cancel:at,state:B,steps:re}=ti(typeof requestAnimationFrame<"u"?requestAnimationFrame:K,!0);let _t;function rr(){_t=void 0}const j={now:()=>(_t===void 0&&j.set(B.isProcessing||rt.useManualTiming?B.timestamp:performance.now()),_t),set:t=>{_t=t,queueMicrotask(rr)}},ei=t=>e=>typeof e=="string"&&e.startsWith(t),Ze=ei("--"),ar=ei("var(--"),Qe=t=>ar(t)?lr.test(t.split("/*")[0].trim()):!1,lr=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function Tn(t){return typeof t!="string"?!1:t.split("/*")[0].includes("var(--")}const St={test:t=>typeof t=="number",parse:parseFloat,transform:t=>t},Bt={...St,transform:t=>Q(0,1,t)},Wt={...St,default:1},Et=t=>Math.round(t*1e5)/1e5,Je=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function ur(t){return t==null}const cr=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,tn=(t,e)=>n=>!!(typeof n=="string"&&cr.test(n)&&n.startsWith(t)||e&&!ur(n)&&Object.prototype.hasOwnProperty.call(n,e)),ni=(t,e,n)=>s=>{if(typeof s!="string")return s;const[i,r,o,a]=s.match(Je);return{[t]:parseFloat(i),[e]:parseFloat(r),[n]:parseFloat(o),alpha:a!==void 0?parseFloat(a):1}},hr=t=>Q(0,255,t),ae={...St,transform:t=>Math.round(hr(t))},ht={test:tn("rgb","red"),parse:ni("red","green","blue"),transform:({red:t,green:e,blue:n,alpha:s=1})=>"rgba("+ae.transform(t)+", "+ae.transform(e)+", "+ae.transform(n)+", "+Et(Bt.transform(s))+")"};function fr(t){let e="",n="",s="",i="";return t.length>5?(e=t.substring(1,3),n=t.substring(3,5),s=t.substring(5,7),i=t.substring(7,9)):(e=t.substring(1,2),n=t.substring(2,3),s=t.substring(3,4),i=t.substring(4,5),e+=e,n+=n,s+=s,i+=i),{red:parseInt(e,16),green:parseInt(n,16),blue:parseInt(s,16),alpha:i?parseInt(i,16)/255:1}}const Se={test:tn("#"),parse:fr,transform:ht.transform},Nt=t=>({test:e=>typeof e=="string"&&e.endsWith(t)&&e.split(" ").length===1,parse:parseFloat,transform:e=>`${e}${t}`}),it=Nt("deg"),Z=Nt("%"),v=Nt("px"),dr=Nt("vh"),pr=Nt("vw"),bn={...Z,parse:t=>Z.parse(t)/100,transform:t=>Z.transform(t*100)},gt={test:tn("hsl","hue"),parse:ni("hue","saturation","lightness"),transform:({hue:t,saturation:e,lightness:n,alpha:s=1})=>"hsla("+Math.round(t)+", "+Z.transform(Et(e))+", "+Z.transform(Et(n))+", "+Et(Bt.transform(s))+")"},R={test:t=>ht.test(t)||Se.test(t)||gt.test(t),parse:t=>ht.test(t)?ht.parse(t):gt.test(t)?gt.parse(t):Se.parse(t),transform:t=>typeof t=="string"?t:t.hasOwnProperty("red")?ht.transform(t):gt.transform(t),getAnimatableNone:t=>{const e=R.parse(t);return e.alpha=0,R.transform(e)}},mr=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function yr(t){return isNaN(t)&&typeof t=="string"&&(t.match(Je)?.length||0)+(t.match(mr)?.length||0)>0}const si="number",ii="color",gr="var",vr="var(",Sn="${}",xr=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function Tt(t){const e=t.toString(),n=[],s={color:[],number:[],var:[]},i=[];let r=0;const a=e.replace(xr,l=>(R.test(l)?(s.color.push(r),i.push(ii),n.push(R.parse(l))):l.startsWith(vr)?(s.var.push(r),i.push(gr),n.push(l)):(s.number.push(r),i.push(si),n.push(parseFloat(l))),++r,Sn)).split(Sn);return{values:n,split:a,indexes:s,types:i}}function Tr(t){return Tt(t).values}function oi({split:t,types:e}){const n=t.length;return s=>{let i="";for(let r=0;rtypeof t=="number"?0:R.test(t)?R.getAnimatableNone(t):t,wr=(t,e)=>typeof t=="number"?e?.trim().endsWith("/")?t:0:Sr(t);function Pr(t){const e=Tt(t);return oi(e)(e.values.map((s,i)=>wr(s,e.split[i])))}const X={test:yr,parse:Tr,createTransformer:br,getAnimatableNone:Pr};function le(t,e,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?t+(e-t)*6*n:n<1/2?e:n<2/3?t+(e-t)*(2/3-n)*6:t}function Ar({hue:t,saturation:e,lightness:n,alpha:s}){t/=360,e/=100,n/=100;let i=0,r=0,o=0;if(!e)i=r=o=n;else{const a=n<.5?n*(1+e):n+e-n*e,l=2*n-a;i=le(l,a,t+1/3),r=le(l,a,t),o=le(l,a,t-1/3)}return{red:Math.round(i*255),green:Math.round(r*255),blue:Math.round(o*255),alpha:s}}function qt(t,e){return n=>n>0?e:t}const C=(t,e,n)=>t+(e-t)*n,ue=(t,e,n)=>{const s=t*t,i=n*(e*e-s)+s;return i<0?0:Math.sqrt(i)},Vr=[Se,ht,gt],Cr=t=>Vr.find(e=>e.test(t));function wn(t){const e=Cr(t);if(!e)return!1;let n=e.parse(t);return e===gt&&(n=Ar(n)),n}const Pn=(t,e)=>{const n=wn(t),s=wn(e);if(!n||!s)return qt(t,e);const i={...n};return r=>(i.red=ue(n.red,s.red,r),i.green=ue(n.green,s.green,r),i.blue=ue(n.blue,s.blue,r),i.alpha=C(n.alpha,s.alpha,r),ht.transform(i))},we=new Set(["none","hidden"]);function Mr(t,e){return we.has(t)?n=>n<=0?t:e:n=>n>=1?e:t}function Er(t,e){return n=>C(t,e,n)}function en(t){return typeof t=="number"?Er:typeof t=="string"?Qe(t)?qt:R.test(t)?Pn:Lr:Array.isArray(t)?ri:typeof t=="object"?R.test(t)?Pn:Dr:qt}function ri(t,e){const n=[...t],s=n.length,i=t.map((r,o)=>en(r)(r,e[o]));return r=>{for(let o=0;o{for(const r in s)n[r]=s[r](i);return n}}function Rr(t,e){const n=[],s={color:0,var:0,number:0};for(let i=0;i{const n=X.createTransformer(e),s=Tt(t),i=Tt(e);return s.indexes.var.length===i.indexes.var.length&&s.indexes.color.length===i.indexes.color.length&&s.indexes.number.length>=i.indexes.number.length?we.has(t)&&!i.values.length||we.has(e)&&!s.values.length?Mr(t,e):Ot(ri(Rr(s,i),i.values),n):qt(t,e)};function ai(t,e,n){return typeof t=="number"&&typeof e=="number"&&typeof n=="number"?C(t,e,n):en(t)(t,e)}const kr=t=>{const e=({timestamp:n})=>t(n);return{start:(n=!0)=>A.update(e,n),stop:()=>at(e),now:()=>B.isProcessing?B.timestamp:j.now()}},li=(t,e,n=10)=>{let s="";const i=Math.max(Math.round(e/n),2);for(let r=0;r=Zt?1/0:e}function Br(t,e=100,n){const s=n({...t,keyframes:[0,e]}),i=Math.min(nn(s),Zt);return{type:"keyframes",ease:r=>s.next(i*r).value/e,duration:W(i)}}const E={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1};function Pe(t,e){return t*Math.sqrt(1-e*e)}const Fr=12;function Ir(t,e,n){let s=n;for(let i=1;i{const u=c*o,h=u*t,f=u-n,d=Pe(c,o),p=Math.exp(-h);return ce-f/d*p},r=c=>{const h=c*o*t,f=h*n+n,d=Math.pow(o,2)*Math.pow(c,2)*t,p=Math.exp(-h),y=Pe(Math.pow(c,2),o);return(-i(c)+ce>0?-1:1)*((f-d)*p)/y}):(i=c=>{const u=Math.exp(-c*t),h=(c-n)*t+1;return-ce+u*h},r=c=>{const u=Math.exp(-c*t),h=(n-c)*(t*t);return u*h});const a=5/t,l=Ir(i,r,a);if(t=_(t),isNaN(l))return{stiffness:E.stiffness,damping:E.damping,duration:t};{const c=Math.pow(l,2)*s;return{stiffness:c,damping:o*2*Math.sqrt(s*c),duration:t}}}const Or=["duration","bounce"],Ur=["stiffness","damping","mass"];function An(t,e){return e.some(n=>t[n]!==void 0)}function Nr(t){let e={velocity:E.velocity,stiffness:E.stiffness,damping:E.damping,mass:E.mass,isResolvedFromDuration:!1,...t};if(!An(t,Ur)&&An(t,Or))if(e.velocity=0,t.visualDuration){const n=t.visualDuration,s=2*Math.PI/(n*1.2),i=s*s,r=2*Q(.05,1,1-(t.bounce||0))*Math.sqrt(i);e={...e,mass:E.mass,stiffness:i,damping:r}}else{const n=jr({...t,velocity:0});e={...e,...n,mass:E.mass},e.isResolvedFromDuration=!0}return e}function Qt(t=E.visualDuration,e=E.bounce){const n=typeof t!="object"?{visualDuration:t,keyframes:[0,1],bounce:e}:t;let{restSpeed:s,restDelta:i}=n;const r=n.keyframes[0],o=n.keyframes[n.keyframes.length-1],a={done:!1,value:r},{stiffness:l,damping:c,mass:u,duration:h,velocity:f,isResolvedFromDuration:d}=Nr({...n,velocity:-W(n.velocity||0)}),p=f||0,y=c/(2*Math.sqrt(l*u)),m=o-r,g=W(Math.sqrt(l/u)),T=Math.abs(m)<5;s||(s=T?E.restSpeed.granular:E.restSpeed.default),i||(i=T?E.restDelta.granular:E.restDelta.default);let x,w,S,L,U,P;if(y<1)S=Pe(g,y),L=(p+y*g*m)/S,x=b=>{const M=Math.exp(-y*g*b);return o-M*(L*Math.sin(S*b)+m*Math.cos(S*b))},U=y*g*L+m*S,P=y*g*m-L*S,w=b=>Math.exp(-y*g*b)*(U*Math.sin(S*b)+P*Math.cos(S*b));else if(y===1){x=M=>o-Math.exp(-g*M)*(m+(p+g*m)*M);const b=p+g*m;w=M=>Math.exp(-g*M)*(g*b*M-p)}else{const b=g*Math.sqrt(y*y-1);x=z=>{const J=Math.exp(-y*g*z),V=Math.min(b*z,300);return o-J*((p+y*g*m)*Math.sinh(V)+b*m*Math.cosh(V))/b};const M=(p+y*g*m)/b,G=y*g*M-m*b,pt=y*g*m-M*b;w=z=>{const J=Math.exp(-y*g*z),V=Math.min(b*z,300);return J*(G*Math.sinh(V)+pt*Math.cosh(V))}}const F={calculatedDuration:d&&h||null,velocity:b=>_(w(b)),next:b=>{if(!d&&y<1){const G=Math.exp(-y*g*b),pt=Math.sin(S*b),z=Math.cos(S*b),J=o-G*(L*pt+m*z),V=_(G*(U*pt+P*z));return a.done=Math.abs(V)<=s&&Math.abs(o-J)<=i,a.value=a.done?o:J,a}const M=x(b);if(d)a.done=b>=h;else{const G=_(w(b));a.done=Math.abs(G)<=s&&Math.abs(o-M)<=i}return a.value=a.done?o:M,a},toString:()=>{const b=Math.min(nn(F),Zt),M=li(G=>F.next(b*G).value,b,30);return b+"ms "+M},toTransition:()=>{}};return F}Qt.applyToOptions=t=>{const e=Br(t,100,Qt);return t.ease=e.ease,t.duration=_(e.duration),t.type="keyframes",t};const $r=5;function ui(t,e,n){const s=Math.max(e-$r,0);return Ks(n-t(s),e-s)}function Ae({keyframes:t,velocity:e=0,power:n=.8,timeConstant:s=325,bounceDamping:i=10,bounceStiffness:r=500,modifyTarget:o,min:a,max:l,restDelta:c=.5,restSpeed:u}){const h=t[0],f={done:!1,value:h},d=P=>a!==void 0&&Pl,p=P=>a===void 0?l:l===void 0||Math.abs(a-P)-y*Math.exp(-P/s),x=P=>g+T(P),w=P=>{const F=T(P),b=x(P);f.done=Math.abs(F)<=c,f.value=f.done?g:b};let S,L;const U=P=>{d(f.value)&&(S=P,L=Qt({keyframes:[f.value,p(f.value)],velocity:ui(x,P,f.value),damping:i,stiffness:r,restDelta:c,restSpeed:u}))};return U(0),{calculatedDuration:null,next:P=>{let F=!1;return!L&&S===void 0&&(F=!0,w(P),U(P)),S!==void 0&&P>=S?L.next(P-S):(!F&&w(P),f)}}}function Wr(t,e,n){const s=[],i=n||rt.mix||ai,r=t.length-1;for(let o=0;oe[0];if(r===2&&e[0]===e[1])return()=>e[1];const o=t[0]===t[1];t[0]>t[r-1]&&(t=[...t].reverse(),e=[...e].reverse());const a=Wr(e,s,i),l=a.length,c=u=>{if(o&&u1)for(;hc(Q(t[0],t[r-1],u)):c}function _r(t,e){const n=t[t.length-1];for(let s=1;s<=e;s++){const i=kt(0,e,s);t.push(C(n,1,i))}}function Gr(t){const e=[0];return _r(e,t.length-1),e}function zr(t,e){return t.map(n=>n*e)}function Hr(t,e){return t.map(()=>e||Qs).splice(0,t.length-1)}function Dt({duration:t=300,keyframes:e,times:n,ease:s="easeInOut"}){const i=er(s)?s.map(xn):xn(s),r={done:!1,value:e[0]},o=zr(n&&n.length===e.length?n:Gr(e),t),a=Kr(o,e,{ease:Array.isArray(i)?i:Hr(e,i)});return{calculatedDuration:t,next:l=>(r.value=a(l),r.done=l>=t,r)}}const Xr=t=>t!==null;function ie(t,{repeat:e,repeatType:n="loop"},s,i=1){const r=t.filter(Xr),a=i<0||e&&n!=="loop"&&e%2===1?0:r.length-1;return!a||s===void 0?r[a]:s}const Yr={decay:Ae,inertia:Ae,tween:Dt,keyframes:Dt,spring:Qt};function ci(t){typeof t.type=="string"&&(t.type=Yr[t.type])}class sn{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(e=>{this.resolve=e})}notifyFinished(){this.resolve()}then(e,n){return this.finished.then(e,n)}}const qr=t=>t/100;class Jt extends sn{constructor(e){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.delayState={done:!1,value:void 0},this.stop=()=>{const{motionValue:n}=this.options;n&&n.updatedAt!==j.now()&&this.tick(j.now()),this.isStopped=!0,this.state!=="idle"&&(this.teardown(),this.options.onStop?.())},this.options=e,this.initAnimation(),this.play(),e.autoplay===!1&&this.pause()}initAnimation(){const{options:e}=this;ci(e);const{type:n=Dt,repeat:s=0,repeatDelay:i=0,repeatType:r,velocity:o=0}=e;let{keyframes:a}=e;const l=n||Dt;l!==Dt&&typeof a[0]!="number"&&(this.mixKeyframes=Ot(qr,ai(a[0],a[1])),a=[0,100]);const c=l({...e,keyframes:a});r==="mirror"&&(this.mirroredGenerator=l({...e,keyframes:[...a].reverse(),velocity:-o})),c.calculatedDuration===null&&(c.calculatedDuration=nn(c));const{calculatedDuration:u}=c;this.calculatedDuration=u,this.resolvedDuration=u+i,this.totalDuration=this.resolvedDuration*(s+1)-i,this.generator=c}updateTime(e){const n=Math.round(e-this.startTime)*this.playbackSpeed;this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=n}tick(e,n=!1){const{generator:s,totalDuration:i,mixKeyframes:r,mirroredGenerator:o,resolvedDuration:a,calculatedDuration:l}=this;if(this.startTime===null)return s.next(0);const{delay:c=0,keyframes:u,repeat:h,repeatType:f,repeatDelay:d,type:p,onUpdate:y,finalKeyframe:m}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,e):this.speed<0&&(this.startTime=Math.min(e-i/this.speed,this.startTime)),n?this.currentTime=e:this.updateTime(e);const g=this.currentTime-c*(this.playbackSpeed>=0?1:-1),T=this.playbackSpeed>=0?g<0:g>i;this.currentTime=Math.max(g,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=i);let x=this.currentTime,w=s;if(h){const P=Math.min(this.currentTime,i)/a;let F=Math.floor(P),b=P%1;!b&&P>=1&&(b=1),b===1&&F--,F=Math.min(F,h+1),F%2&&(f==="reverse"?(b=1-b,d&&(b-=d/a)):f==="mirror"&&(w=o)),x=Q(0,1,b)*a}let S;T?(this.delayState.value=u[0],S=this.delayState):S=w.next(x),r&&!T&&(S.value=r(S.value));let{done:L}=S;!T&&l!==null&&(L=this.playbackSpeed>=0?this.currentTime>=i:this.currentTime<=0);const U=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&L);return U&&p!==Ae&&(S.value=ie(u,this.options,m,this.speed)),y&&y(S.value),U&&this.finish(),S}then(e,n){return this.finished.then(e,n)}get duration(){return W(this.calculatedDuration)}get iterationDuration(){const{delay:e=0}=this.options||{};return this.duration+W(e)}get time(){return W(this.currentTime)}set time(e){e=_(e),this.currentTime=e,this.startTime===null||this.holdTime!==null||this.playbackSpeed===0?this.holdTime=e:this.driver&&(this.startTime=this.driver.now()-e/this.playbackSpeed),this.driver?this.driver.start(!1):(this.startTime=0,this.state="paused",this.holdTime=e,this.tick(e))}getGeneratorVelocity(){const e=this.currentTime;if(e<=0)return this.options.velocity||0;if(this.generator.velocity)return this.generator.velocity(e);const n=this.generator.next(e).value;return ui(s=>this.generator.next(s).value,e,n)}get speed(){return this.playbackSpeed}set speed(e){const n=this.playbackSpeed!==e;n&&this.driver&&this.updateTime(j.now()),this.playbackSpeed=e,n&&this.driver&&(this.time=W(this.currentTime))}play(){if(this.isStopped)return;const{driver:e=kr,startTime:n}=this.options;this.driver||(this.driver=e(i=>this.tick(i))),this.options.onPlay?.();const s=this.driver.now();this.state==="finished"?(this.updateFinished(),this.startTime=s):this.holdTime!==null?this.startTime=s-this.holdTime:this.startTime||(this.startTime=n??s),this.state==="finished"&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(j.now()),this.holdTime=this.currentTime}complete(){this.state!=="running"&&this.play(),this.state="finished",this.holdTime=null}finish(){this.notifyFinished(),this.teardown(),this.state="finished",this.options.onComplete?.()}cancel(){this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),this.options.onCancel?.()}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(e){return this.startTime=0,this.tick(e,!0)}attachTimeline(e){return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),this.driver?.stop(),e.observe(this)}}function Zr(t){for(let e=1;et*180/Math.PI,Ve=t=>{const e=ft(Math.atan2(t[1],t[0]));return Ce(e)},Qr={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:t=>(Math.abs(t[0])+Math.abs(t[3]))/2,rotate:Ve,rotateZ:Ve,skewX:t=>ft(Math.atan(t[1])),skewY:t=>ft(Math.atan(t[2])),skew:t=>(Math.abs(t[1])+Math.abs(t[2]))/2},Ce=t=>(t=t%360,t<0&&(t+=360),t),Vn=Ve,Cn=t=>Math.sqrt(t[0]*t[0]+t[1]*t[1]),Mn=t=>Math.sqrt(t[4]*t[4]+t[5]*t[5]),Jr={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:Cn,scaleY:Mn,scale:t=>(Cn(t)+Mn(t))/2,rotateX:t=>Ce(ft(Math.atan2(t[6],t[5]))),rotateY:t=>Ce(ft(Math.atan2(-t[2],t[0]))),rotateZ:Vn,rotate:Vn,skewX:t=>ft(Math.atan(t[4])),skewY:t=>ft(Math.atan(t[1])),skew:t=>(Math.abs(t[1])+Math.abs(t[4]))/2};function Me(t){return t.includes("scale")?1:0}function Ee(t,e){if(!t||t==="none")return Me(e);const n=t.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let s,i;if(n)s=Jr,i=n;else{const a=t.match(/^matrix\(([-\d.e\s,]+)\)$/u);s=Qr,i=a}if(!i)return Me(e);const r=s[e],o=i[1].split(",").map(ea);return typeof r=="function"?r(o):o[r]}const ta=(t,e)=>{const{transform:n="none"}=getComputedStyle(t);return Ee(n,e)};function ea(t){return parseFloat(t.trim())}const wt=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],Pt=new Set(wt),En=t=>t===St||t===v,na=new Set(["x","y","z"]),sa=wt.filter(t=>!na.has(t));function ia(t){const e=[];return sa.forEach(n=>{const s=t.getValue(n);s!==void 0&&(e.push([n,s.get()]),s.set(n.startsWith("scale")?1:0))}),e}const ot={width:({x:t},{paddingLeft:e="0",paddingRight:n="0",boxSizing:s})=>{const i=t.max-t.min;return s==="border-box"?i:i-parseFloat(e)-parseFloat(n)},height:({y:t},{paddingTop:e="0",paddingBottom:n="0",boxSizing:s})=>{const i=t.max-t.min;return s==="border-box"?i:i-parseFloat(e)-parseFloat(n)},top:(t,{top:e})=>parseFloat(e),left:(t,{left:e})=>parseFloat(e),bottom:({y:t},{top:e})=>parseFloat(e)+(t.max-t.min),right:({x:t},{left:e})=>parseFloat(e)+(t.max-t.min),x:(t,{transform:e})=>Ee(e,"x"),y:(t,{transform:e})=>Ee(e,"y")};ot.translateX=ot.x;ot.translateY=ot.y;const dt=new Set;let De=!1,Re=!1,Le=!1;function hi(){if(Re){const t=Array.from(dt).filter(s=>s.needsMeasurement),e=new Set(t.map(s=>s.element)),n=new Map;e.forEach(s=>{const i=ia(s);i.length&&(n.set(s,i),s.render())}),t.forEach(s=>s.measureInitialState()),e.forEach(s=>{s.render();const i=n.get(s);i&&i.forEach(([r,o])=>{s.getValue(r)?.set(o)})}),t.forEach(s=>s.measureEndState()),t.forEach(s=>{s.suspendedScrollY!==void 0&&window.scrollTo(0,s.suspendedScrollY)})}Re=!1,De=!1,dt.forEach(t=>t.complete(Le)),dt.clear()}function fi(){dt.forEach(t=>{t.readKeyframes(),t.needsMeasurement&&(Re=!0)})}function oa(){Le=!0,fi(),hi(),Le=!1}class on{constructor(e,n,s,i,r,o=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...e],this.onComplete=n,this.name=s,this.motionValue=i,this.element=r,this.isAsync=o}scheduleResolve(){this.state="scheduled",this.isAsync?(dt.add(this),De||(De=!0,A.read(fi),A.resolveKeyframes(hi))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:e,name:n,element:s,motionValue:i}=this;if(e[0]===null){const r=i?.get(),o=e[e.length-1];if(r!==void 0)e[0]=r;else if(s&&n){const a=s.readValue(n,o);a!=null&&(e[0]=a)}e[0]===void 0&&(e[0]=o),i&&r===void 0&&i.set(e[0])}Zr(e)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(e=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,e),dt.delete(this)}cancel(){this.state==="scheduled"&&(dt.delete(this),this.state="pending")}resume(){this.state==="pending"&&this.scheduleResolve()}}const ra=t=>t.startsWith("--");function di(t,e,n){ra(e)?t.style.setProperty(e,n):t.style[e]=n}const aa={};function pi(t,e){const n=Ws(t);return()=>aa[e]??n()}const la=pi(()=>window.ScrollTimeline!==void 0,"scrollTimeline"),mi=pi(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),Vt=([t,e,n,s])=>`cubic-bezier(${t}, ${e}, ${n}, ${s})`,Dn={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:Vt([0,.65,.55,1]),circOut:Vt([.55,0,1,.45]),backIn:Vt([.31,.01,.66,-.59]),backOut:Vt([.33,1.53,.69,.99])};function yi(t,e){if(t)return typeof t=="function"?mi()?li(t,e):"ease-out":Js(t)?Vt(t):Array.isArray(t)?t.map(n=>yi(n,e)||Dn.easeOut):Dn[t]}function ua(t,e,n,{delay:s=0,duration:i=300,repeat:r=0,repeatType:o="loop",ease:a="easeOut",times:l}={},c=void 0){const u={[e]:n};l&&(u.offset=l);const h=yi(a,i);Array.isArray(h)&&(u.easing=h);const f={delay:s,duration:i,easing:Array.isArray(h)?"linear":h,fill:"both",iterations:r+1,direction:o==="reverse"?"alternate":"normal"};return c&&(f.pseudoElement=c),t.animate(u,f)}function gi(t){return typeof t=="function"&&"applyToOptions"in t}function ca({type:t,...e}){return gi(t)&&mi()?t.applyToOptions(e):(e.duration??(e.duration=300),e.ease??(e.ease="easeOut"),e)}class vi extends sn{constructor(e){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!e)return;const{element:n,name:s,keyframes:i,pseudoElement:r,allowFlatten:o=!1,finalKeyframe:a,onComplete:l}=e;this.isPseudoElement=!!r,this.allowFlatten=o,this.options=e,He(typeof e.type!="string");const c=ca(e);this.animation=ua(n,s,i,c,r),c.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!r){const u=ie(i,this.options,a,this.speed);this.updateMotionValue&&this.updateMotionValue(u),di(n,s,u),this.animation.cancel()}l?.(),this.notifyFinished()}}play(){this.isStopped||(this.manualStartTime=null,this.animation.play(),this.state==="finished"&&this.updateFinished())}pause(){this.animation.pause()}complete(){this.animation.finish?.()}cancel(){try{this.animation.cancel()}catch{}}stop(){if(this.isStopped)return;this.isStopped=!0;const{state:e}=this;e==="idle"||e==="finished"||(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){const e=this.options?.element;!this.isPseudoElement&&e?.isConnected&&this.animation.commitStyles?.()}get duration(){const e=this.animation.effect?.getComputedTiming?.().duration||0;return W(Number(e))}get iterationDuration(){const{delay:e=0}=this.options||{};return this.duration+W(e)}get time(){return W(Number(this.animation.currentTime)||0)}set time(e){const n=this.finishedTime!==null;this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=_(e),n&&this.animation.pause()}get speed(){return this.animation.playbackRate}set speed(e){e<0&&(this.finishedTime=null),this.animation.playbackRate=e}get state(){return this.finishedTime!==null?"finished":this.animation.playState}get startTime(){return this.manualStartTime??Number(this.animation.startTime)}set startTime(e){this.manualStartTime=this.animation.startTime=e}attachTimeline({timeline:e,rangeStart:n,rangeEnd:s,observe:i}){return this.allowFlatten&&this.animation.effect?.updateTiming({easing:"linear"}),this.animation.onfinish=null,e&&la()?(this.animation.timeline=e,n&&(this.animation.rangeStart=n),s&&(this.animation.rangeEnd=s),K):i(this)}}const xi={anticipate:Ys,backInOut:Xs,circInOut:Zs};function ha(t){return t in xi}function fa(t){typeof t.ease=="string"&&ha(t.ease)&&(t.ease=xi[t.ease])}const he=10;class da extends vi{constructor(e){fa(e),ci(e),super(e),e.startTime!==void 0&&e.autoplay!==!1&&(this.startTime=e.startTime),this.options=e}updateMotionValue(e){const{motionValue:n,onUpdate:s,onComplete:i,element:r,...o}=this.options;if(!n)return;if(e!==void 0){n.set(e);return}const a=new Jt({...o,autoplay:!1}),l=Math.max(he,j.now()-this.startTime),c=Q(0,he,l-he),u=a.sample(l).value,{name:h}=this.options;r&&h&&di(r,h,u),n.setWithVelocity(a.sample(Math.max(0,l-c)).value,u,c),a.stop()}}const Rn=(t,e)=>e==="zIndex"?!1:!!(typeof t=="number"||Array.isArray(t)||typeof t=="string"&&(X.test(t)||t==="0")&&!t.startsWith("url("));function pa(t){const e=t[0];if(t.length===1)return!0;for(let n=0;nObject.hasOwnProperty.call(Element.prototype,"animate"));function Ta(t){const{motionValue:e,name:n,repeatDelay:s,repeatType:i,damping:r,type:o,keyframes:a}=t;if(!(e?.owner?.current instanceof HTMLElement))return!1;const{onUpdate:c,transformTemplate:u}=e.owner.getProps();return xa()&&n&&(Ti.has(n)||va.has(n)&&ga(a))&&(n!=="transform"||!u)&&!c&&!s&&i!=="mirror"&&r!==0&&o!=="inertia"}const ba=40;class Sa extends sn{constructor({autoplay:e=!0,delay:n=0,type:s="keyframes",repeat:i=0,repeatDelay:r=0,repeatType:o="loop",keyframes:a,name:l,motionValue:c,element:u,...h}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=j.now();const f={autoplay:e,delay:n,type:s,repeat:i,repeatDelay:r,repeatType:o,name:l,motionValue:c,element:u,...h},d=u?.KeyframeResolver||on;this.keyframeResolver=new d(a,(p,y,m)=>this.onKeyframesResolved(p,y,f,!m),l,c,u),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(e,n,s,i){this.keyframeResolver=void 0;const{name:r,type:o,velocity:a,delay:l,isHandoff:c,onUpdate:u}=s;this.resolvedAt=j.now();let h=!0;ma(e,r,o,a)||(h=!1,(rt.instantAnimations||!l)&&u?.(ie(e,s,n)),e[0]=e[e.length-1],ke(s),s.repeat=0);const d={startTime:i?this.resolvedAt?this.resolvedAt-this.createdAt>ba?this.resolvedAt:this.createdAt:this.createdAt:void 0,finalKeyframe:n,...s,keyframes:e},p=h&&!c&&Ta(d),y=d.motionValue?.owner?.current;let m;if(p)try{m=new da({...d,element:y})}catch{m=new Jt(d)}else m=new Jt(d);m.finished.then(()=>{this.notifyFinished()}).catch(K),this.pendingTimeline&&(this.stopTimeline=m.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=m}get finished(){return this._animation?this.animation.finished:this._finished}then(e,n){return this.finished.finally(e).then(()=>{})}get animation(){return this._animation||(this.keyframeResolver?.resume(),oa()),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(e){this.animation.time=e}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(e){this.animation.speed=e}get startTime(){return this.animation.startTime}attachTimeline(e){return this._animation?this.stopTimeline=this.animation.attachTimeline(e):this.pendingTimeline=e,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){this._animation&&this.animation.cancel(),this.keyframeResolver?.cancel()}}function bi(t,e,n,s=0,i=1){const r=Array.from(t).sort((c,u)=>c.sortNodePosition(u)).indexOf(e),o=t.size,a=(o-1)*s;return typeof n=="function"?n(r,o):i===1?r*s:a-r*s}const wa=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function Pa(t){const e=wa.exec(t);if(!e)return[,];const[,n,s,i]=e;return[`--${n??s}`,i]}function Si(t,e,n=1){const[s,i]=Pa(t);if(!s)return;const r=window.getComputedStyle(e).getPropertyValue(s);if(r){const o=r.trim();return Us(o)?parseFloat(o):o}return Qe(i)?Si(i,e,n+1):i}const Aa={type:"spring",stiffness:500,damping:25,restSpeed:10},Va=t=>({type:"spring",stiffness:550,damping:t===0?2*Math.sqrt(550):30,restSpeed:10}),Ca={type:"keyframes",duration:.8},Ma={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},Ea=(t,{keyframes:e})=>e.length>2?Ca:Pt.has(t)?t.startsWith("scale")?Va(e[1]):Aa:Ma;function wi(t,e){if(t?.inherit&&e){const{inherit:n,...s}=t;return{...e,...s}}return t}function rn(t,e){const n=t?.[e]??t?.default??t;return n!==t?wi(n,t):n}const Da=new Set(["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from","elapsed"]);function Ra(t){for(const e in t)if(!Da.has(e))return!0;return!1}const an=(t,e,n,s={},i,r)=>o=>{const a=rn(s,t)||{},l=a.delay||s.delay||0;let{elapsed:c=0}=s;c=c-_(l);const u={keyframes:Array.isArray(n)?n:[null,n],ease:"easeOut",velocity:e.getVelocity(),...a,delay:-c,onUpdate:f=>{e.set(f),a.onUpdate&&a.onUpdate(f)},onComplete:()=>{o(),a.onComplete&&a.onComplete()},name:t,motionValue:e,element:r?void 0:i};Ra(a)||Object.assign(u,Ea(t,u)),u.duration&&(u.duration=_(u.duration)),u.repeatDelay&&(u.repeatDelay=_(u.repeatDelay)),u.from!==void 0&&(u.keyframes[0]=u.from);let h=!1;if((u.type===!1||u.duration===0&&!u.repeatDelay)&&(ke(u),u.delay===0&&(h=!0)),(rt.instantAnimations||rt.skipAnimations||i?.shouldSkipAnimations)&&(h=!0,ke(u),u.delay=0),u.allowFlatten=!a.type&&!a.ease,h&&!r&&e.get()!==void 0){const f=ie(u.keyframes,a);if(f!==void 0){A.update(()=>{u.onUpdate(f),u.onComplete()});return}}return a.isSync?new Jt(u):new Sa(u)};function Ln(t){const e=[{},{}];return t?.values.forEach((n,s)=>{e[0][s]=n.get(),e[1][s]=n.getVelocity()}),e}function Pi(t,e,n,s){if(typeof e=="function"){const[i,r]=Ln(s);e=e(n!==void 0?n:t.custom,i,r)}if(typeof e=="string"&&(e=t.variants&&t.variants[e]),typeof e=="function"){const[i,r]=Ln(s);e=e(n!==void 0?n:t.custom,i,r)}return e}function xt(t,e,n){const s=t.getProps();return Pi(s,e,n!==void 0?n:s.custom,t)}const Ai=new Set(["width","height","top","left","right","bottom",...wt]),kn=30,La=t=>!isNaN(parseFloat(t));class ka{constructor(e,n={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=s=>{const i=j.now();if(this.updatedAt!==i&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(s),this.current!==this.prev&&(this.events.change?.notify(this.current),this.dependents))for(const r of this.dependents)r.dirty()},this.hasAnimated=!1,this.setCurrent(e),this.owner=n.owner}setCurrent(e){this.current=e,this.updatedAt=j.now(),this.canTrackVelocity===null&&e!==void 0&&(this.canTrackVelocity=La(this.current))}setPrevFrameValue(e=this.current){this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt}onChange(e){return this.on("change",e)}on(e,n){this.events[e]||(this.events[e]=new Xe);const s=this.events[e].add(n);return e==="change"?()=>{s(),A.read(()=>{this.events.change.getSize()||this.stop()})}:s}clearListeners(){for(const e in this.events)this.events[e].clear()}attach(e,n){this.passiveEffect=e,this.stopPassiveEffect=n}set(e){this.passiveEffect?this.passiveEffect(e,this.updateAndNotify):this.updateAndNotify(e)}setWithVelocity(e,n,s){this.set(n),this.prev=void 0,this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt-s}jump(e,n=!0){this.updateAndNotify(e),this.prev=e,this.prevUpdatedAt=this.prevFrameValue=void 0,n&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){this.events.change?.notify(this.current)}addDependent(e){this.dependents||(this.dependents=new Set),this.dependents.add(e)}removeDependent(e){this.dependents&&this.dependents.delete(e)}get(){return this.current}getPrevious(){return this.prev}getVelocity(){const e=j.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||e-this.updatedAt>kn)return 0;const n=Math.min(this.updatedAt-this.prevUpdatedAt,kn);return Ks(parseFloat(this.current)-parseFloat(this.prevFrameValue),n)}start(e){return this.stop(),new Promise(n=>{this.hasAnimated=!0,this.animation=e(n),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.dependents?.clear(),this.events.destroy?.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function bt(t,e){return new ka(t,e)}const Ba=t=>Array.isArray(t);function Fa(t,e,n){t.hasValue(e)?t.getValue(e).set(n):t.addValue(e,bt(n))}function Ia(t){return Ba(t)?t[t.length-1]||0:t}function ja(t,e){const n=xt(t,e);let{transitionEnd:s={},transition:i={},...r}=n||{};r={...r,...s};for(const o in r){const a=Ia(r[o]);Fa(t,o,a)}}const I=t=>!!(t&&t.getVelocity);function Oa(t){return!!(I(t)&&t.add)}function Be(t,e){const n=t.getValue("willChange");if(Oa(n))return n.add(e);if(!n&&rt.WillChange){const s=new rt.WillChange("auto");t.addValue("willChange",s),s.add(e)}}function ln(t){return t.replace(/([A-Z])/g,e=>`-${e.toLowerCase()}`)}const Ua="framerAppearId",Na="data-"+ln(Ua);function Vi(t){return t.props[Na]}function $a({protectedKeys:t,needsAnimating:e},n){const s=t.hasOwnProperty(n)&&e[n]!==!0;return e[n]=!1,s}function Ci(t,e,{delay:n=0,transitionOverride:s,type:i}={}){let{transition:r,transitionEnd:o,...a}=e;const l=t.getDefaultTransition();r=r?wi(r,l):l;const c=r?.reduceMotion;s&&(r=s);const u=[],h=i&&t.animationState&&t.animationState.getState()[i];for(const f in a){const d=t.getValue(f,t.latestValues[f]??null),p=a[f];if(p===void 0||h&&$a(h,f))continue;const y={delay:n,...rn(r||{},f)},m=d.get();if(m!==void 0&&!d.isAnimating()&&!Array.isArray(p)&&p===m&&!y.velocity){A.update(()=>d.set(p));continue}let g=!1;if(window.MotionHandoffAnimation){const w=Vi(t);if(w){const S=window.MotionHandoffAnimation(w,f,A);S!==null&&(y.startTime=S,g=!0)}}Be(t,f);const T=c??t.shouldReduceMotion;d.start(an(f,d,p,T&&Ai.has(f)?{type:!1}:y,t,g));const x=d.animation;x&&u.push(x)}if(o){const f=()=>A.update(()=>{o&&ja(t,o)});u.length?Promise.all(u).then(f):f()}return u}function Fe(t,e,n={}){const s=xt(t,e,n.type==="exit"?t.presenceContext?.custom:void 0);let{transition:i=t.getDefaultTransition()||{}}=s||{};n.transitionOverride&&(i=n.transitionOverride);const r=s?()=>Promise.all(Ci(t,s,n)):()=>Promise.resolve(),o=t.variantChildren&&t.variantChildren.size?(l=0)=>{const{delayChildren:c=0,staggerChildren:u,staggerDirection:h}=i;return Wa(t,e,l,c,u,h,n)}:()=>Promise.resolve(),{when:a}=i;if(a){const[l,c]=a==="beforeChildren"?[r,o]:[o,r];return l().then(()=>c())}else return Promise.all([r(),o(n.delay)])}function Wa(t,e,n=0,s=0,i=0,r=1,o){const a=[];for(const l of t.variantChildren)l.notify("AnimationStart",e),a.push(Fe(l,e,{...o,delay:n+(typeof s=="function"?0:s)+bi(t.variantChildren,l,s,i,r)}).then(()=>l.notify("AnimationComplete",e)));return Promise.all(a)}function Ka(t,e,n={}){t.notify("AnimationStart",e);let s;if(Array.isArray(e)){const i=e.map(r=>Fe(t,r,n));s=Promise.all(i)}else if(typeof e=="string")s=Fe(t,e,n);else{const i=typeof e=="function"?xt(t,e,n.custom):e;s=Promise.all(Ci(t,i,n))}return s.then(()=>{t.notify("AnimationComplete",e)})}const _a={test:t=>t==="auto",parse:t=>t},Mi=t=>e=>e.test(t),Ei=[St,v,Z,it,pr,dr,_a],Bn=t=>Ei.find(Mi(t));function Ga(t){return typeof t=="number"?t===0:t!==null?t==="none"||t==="0"||$s(t):!0}const za=new Set(["brightness","contrast","saturate","opacity"]);function Ha(t){const[e,n]=t.slice(0,-1).split("(");if(e==="drop-shadow")return t;const[s]=n.match(Je)||[];if(!s)return t;const i=n.replace(s,"");let r=za.has(e)?1:0;return s!==n&&(r*=100),e+"("+r+i+")"}const Xa=/\b([a-z-]*)\(.*?\)/gu,Ie={...X,getAnimatableNone:t=>{const e=t.match(Xa);return e?e.map(Ha).join(" "):t}},je={...X,getAnimatableNone:t=>{const e=X.parse(t);return X.createTransformer(t)(e.map(s=>typeof s=="number"?0:typeof s=="object"?{...s,alpha:1}:s))}},Fn={...St,transform:Math.round},Ya={rotate:it,rotateX:it,rotateY:it,rotateZ:it,scale:Wt,scaleX:Wt,scaleY:Wt,scaleZ:Wt,skew:it,skewX:it,skewY:it,distance:v,translateX:v,translateY:v,translateZ:v,x:v,y:v,z:v,perspective:v,transformPerspective:v,opacity:Bt,originX:bn,originY:bn,originZ:v},un={borderWidth:v,borderTopWidth:v,borderRightWidth:v,borderBottomWidth:v,borderLeftWidth:v,borderRadius:v,borderTopLeftRadius:v,borderTopRightRadius:v,borderBottomRightRadius:v,borderBottomLeftRadius:v,width:v,maxWidth:v,height:v,maxHeight:v,top:v,right:v,bottom:v,left:v,inset:v,insetBlock:v,insetBlockStart:v,insetBlockEnd:v,insetInline:v,insetInlineStart:v,insetInlineEnd:v,padding:v,paddingTop:v,paddingRight:v,paddingBottom:v,paddingLeft:v,paddingBlock:v,paddingBlockStart:v,paddingBlockEnd:v,paddingInline:v,paddingInlineStart:v,paddingInlineEnd:v,margin:v,marginTop:v,marginRight:v,marginBottom:v,marginLeft:v,marginBlock:v,marginBlockStart:v,marginBlockEnd:v,marginInline:v,marginInlineStart:v,marginInlineEnd:v,fontSize:v,backgroundPositionX:v,backgroundPositionY:v,...Ya,zIndex:Fn,fillOpacity:Bt,strokeOpacity:Bt,numOctaves:Fn},qa={...un,color:R,backgroundColor:R,outlineColor:R,fill:R,stroke:R,borderColor:R,borderTopColor:R,borderRightColor:R,borderBottomColor:R,borderLeftColor:R,filter:Ie,WebkitFilter:Ie,mask:je,WebkitMask:je},Di=t=>qa[t],Za=new Set([Ie,je]);function Ri(t,e){let n=Di(t);return Za.has(n)||(n=X),n.getAnimatableNone?n.getAnimatableNone(e):void 0}const Qa=new Set(["auto","none","0"]);function Ja(t,e,n){let s=0,i;for(;s{e.getValue(a).set(l)}),this.resolveNoneKeyframes()}}function Li(t,e,n){if(t==null)return[];if(t instanceof EventTarget)return[t];if(typeof t=="string"){let s=document;const i=n?.[t]??s.querySelectorAll(t);return i?Array.from(i):[]}return Array.from(t).filter(s=>s!=null)}const ki=(t,e)=>e&&typeof t=="number"?e.transform(t):t;function el(t){return Ns(t)&&"offsetHeight"in t&&!("ownerSVGElement"in t)}const{schedule:Bi}=ti(queueMicrotask,!1),nl={y:!1};function sl(){return nl.y}function Fi(t,e){const n=Li(t),s=new AbortController,i={passive:!0,...e,signal:s.signal};return[n,i,()=>s.abort()]}function il(t){return!(t.pointerType==="touch"||sl())}function ol(t,e,n={}){const[s,i,r]=Fi(t,n);return s.forEach(o=>{let a=!1,l=!1,c;const u=()=>{o.removeEventListener("pointerleave",p)},h=m=>{c&&(c(m),c=void 0),u()},f=m=>{a=!1,window.removeEventListener("pointerup",f),window.removeEventListener("pointercancel",f),l&&(l=!1,h(m))},d=()=>{a=!0,window.addEventListener("pointerup",f,i),window.addEventListener("pointercancel",f,i)},p=m=>{if(m.pointerType!=="touch"){if(a){l=!0;return}h(m)}},y=m=>{if(!il(m))return;l=!1;const g=e(o,m);typeof g=="function"&&(c=g,o.addEventListener("pointerleave",p,i))};o.addEventListener("pointerenter",y,i),o.addEventListener("pointerdown",d,i)}),r}const Ii=(t,e)=>e?t===e?!0:Ii(t,e.parentElement):!1,rl=t=>t.pointerType==="mouse"?typeof t.button!="number"||t.button<=0:t.isPrimary!==!1,al=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function ll(t){return al.has(t.tagName)||t.isContentEditable===!0}const Gt=new WeakSet;function In(t){return e=>{e.key==="Enter"&&t(e)}}function fe(t,e){t.dispatchEvent(new PointerEvent("pointer"+e,{isPrimary:!0,bubbles:!0}))}const ul=(t,e)=>{const n=t.currentTarget;if(!n)return;const s=In(()=>{if(Gt.has(n))return;fe(n,"down");const i=In(()=>{fe(n,"up")}),r=()=>fe(n,"cancel");n.addEventListener("keyup",i,e),n.addEventListener("blur",r,e)});n.addEventListener("keydown",s,e),n.addEventListener("blur",()=>n.removeEventListener("keydown",s),e)};function jn(t){return rl(t)&&!0}const On=new WeakSet;function cl(t,e,n={}){const[s,i,r]=Fi(t,n),o=a=>{const l=a.currentTarget;if(!jn(a)||On.has(a))return;Gt.add(l),n.stopPropagation&&On.add(a);const c=e(l,a),u=(d,p)=>{window.removeEventListener("pointerup",h),window.removeEventListener("pointercancel",f),Gt.has(l)&&Gt.delete(l),jn(d)&&typeof c=="function"&&c(d,{success:p})},h=d=>{u(d,l===window||l===document||n.useGlobalTarget||Ii(l,d.target))},f=d=>{u(d,!1)};window.addEventListener("pointerup",h,i),window.addEventListener("pointercancel",f,i)};return s.forEach(a=>{(n.useGlobalTarget?window:a).addEventListener("pointerdown",o,i),el(a)&&(a.addEventListener("focus",c=>ul(c,i)),!ll(a)&&!a.hasAttribute("tabindex")&&(a.tabIndex=0))}),r}function ji(t){return Ns(t)&&"ownerSVGElement"in t}function hl(t){return ji(t)&&t.tagName==="svg"}const fl=[...Ei,R,X],dl=t=>fl.find(Mi(t)),Un=()=>({translate:0,scale:1,origin:0,originPoint:0}),vt=()=>({x:Un(),y:Un()}),Nn=()=>({min:0,max:0}),k=()=>({x:Nn(),y:Nn()}),pl=new WeakMap;function cn(t){return t!==null&&typeof t=="object"&&typeof t.start=="function"}function oe(t){return typeof t=="string"||Array.isArray(t)}const ml=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],yl=["initial",...ml];function Oi(t){return cn(t.animate)||yl.some(e=>oe(t[e]))}function gl(t){return!!(Oi(t)||t.variants)}function vl(t,e,n){for(const s in e){const i=e[s],r=n[s];if(I(i))t.addValue(s,i);else if(I(r))t.addValue(s,bt(i,{owner:t}));else if(r!==i)if(t.hasValue(s)){const o=t.getValue(s);o.liveStyle===!0?o.jump(i):o.hasAnimated||o.set(i)}else{const o=t.getStaticValue(s);t.addValue(s,bt(o!==void 0?o:i,{owner:t}))}}for(const s in n)e[s]===void 0&&t.removeValue(s);return e}const Oe={current:null},Ui={current:!1},xl=typeof window<"u";function Tl(){if(Ui.current=!0,!!xl)if(window.matchMedia){const t=window.matchMedia("(prefers-reduced-motion)"),e=()=>Oe.current=t.matches;t.addEventListener("change",e),e()}else Oe.current=!1}const $n=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];let Wn={};class bl{scrapeMotionValuesFromProps(e,n,s){return{}}constructor({parent:e,props:n,presenceContext:s,reducedMotionConfig:i,skipAnimations:r,blockInitialAnimation:o,visualState:a},l={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.shouldSkipAnimations=!1,this.values=new Map,this.KeyframeResolver=on,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.hasBeenMounted=!1,this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{const d=j.now();this.renderScheduledAtthis.bindToMotionValue(s,n)),this.reducedMotionConfig==="never"?this.shouldReduceMotion=!1:this.reducedMotionConfig==="always"?this.shouldReduceMotion=!0:(Ui.current||Tl(),this.shouldReduceMotion=Oe.current),this.shouldSkipAnimations=this.skipAnimationsConfig??!1,this.parent?.addChild(this),this.update(this.props,this.presenceContext),this.hasBeenMounted=!0}unmount(){this.projection&&this.projection.unmount(),at(this.notifyUpdate),at(this.render),this.valueSubscriptions.forEach(e=>e()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent?.removeChild(this);for(const e in this.events)this.events[e].clear();for(const e in this.features){const n=this.features[e];n&&(n.unmount(),n.isMounted=!1)}this.current=null}addChild(e){this.children.add(e),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(e)}removeChild(e){this.children.delete(e),this.enteringChildren&&this.enteringChildren.delete(e)}bindToMotionValue(e,n){if(this.valueSubscriptions.has(e)&&this.valueSubscriptions.get(e)(),n.accelerate&&Ti.has(e)&&this.current instanceof HTMLElement){const{factory:o,keyframes:a,times:l,ease:c,duration:u}=n.accelerate,h=new vi({element:this.current,name:e,keyframes:a,times:l,ease:c,duration:_(u)}),f=o(h);this.valueSubscriptions.set(e,()=>{f(),h.cancel()});return}const s=Pt.has(e);s&&this.onBindTransform&&this.onBindTransform();const i=n.on("change",o=>{this.latestValues[e]=o,this.props.onUpdate&&A.preRender(this.notifyUpdate),s&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});let r;typeof window<"u"&&window.MotionCheckAppearSync&&(r=window.MotionCheckAppearSync(this,e,n)),this.valueSubscriptions.set(e,()=>{i(),r&&r(),n.owner&&n.stop()})}sortNodePosition(e){return!this.current||!this.sortInstanceNodePosition||this.type!==e.type?0:this.sortInstanceNodePosition(this.current,e.current)}updateFeatures(){let e="animation";for(e in Wn){const n=Wn[e];if(!n)continue;const{isEnabled:s,Feature:i}=n;if(!this.features[e]&&i&&s(this.props)&&(this.features[e]=new i(this)),this.features[e]){const r=this.features[e];r.isMounted?r.update():(r.mount(),r.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):k()}getStaticValue(e){return this.latestValues[e]}setStaticValue(e,n){this.latestValues[e]=n}update(e,n){(e.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=e,this.prevPresenceContext=this.presenceContext,this.presenceContext=n;for(let s=0;s<$n.length;s++){const i=$n[s];this.propEventSubscriptions[i]&&(this.propEventSubscriptions[i](),delete this.propEventSubscriptions[i]);const r="on"+i,o=e[r];o&&(this.propEventSubscriptions[i]=this.on(i,o))}this.prevMotionValues=vl(this,this.scrapeMotionValuesFromProps(e,this.prevProps||{},this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(e){return this.props.variants?this.props.variants[e]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(e){const n=this.getClosestVariantNode();if(n)return n.variantChildren&&n.variantChildren.add(e),()=>n.variantChildren.delete(e)}addValue(e,n){const s=this.values.get(e);n!==s&&(s&&this.removeValue(e),this.bindToMotionValue(e,n),this.values.set(e,n),this.latestValues[e]=n.get())}removeValue(e){this.values.delete(e);const n=this.valueSubscriptions.get(e);n&&(n(),this.valueSubscriptions.delete(e)),delete this.latestValues[e],this.removeValueFromRenderState(e,this.renderState)}hasValue(e){return this.values.has(e)}getValue(e,n){if(this.props.values&&this.props.values[e])return this.props.values[e];let s=this.values.get(e);return s===void 0&&n!==void 0&&(s=bt(n===null?void 0:n,{owner:this}),this.addValue(e,s)),s}readValue(e,n){let s=this.latestValues[e]!==void 0||!this.current?this.latestValues[e]:this.getBaseTargetFromProps(this.props,e)??this.readValueFromInstance(this.current,e,this.options);return s!=null&&(typeof s=="string"&&(Us(s)||$s(s))?s=parseFloat(s):!dl(s)&&X.test(n)&&(s=Ri(e,n)),this.setBaseTarget(e,I(s)?s.get():s)),I(s)?s.get():s}setBaseTarget(e,n){this.baseTarget[e]=n}getBaseTarget(e){const{initial:n}=this.props;let s;if(typeof n=="string"||typeof n=="object"){const r=Pi(this.props,n,this.presenceContext?.custom);r&&(s=r[e])}if(n&&s!==void 0)return s;const i=this.getBaseTargetFromProps(this.props,e);return i!==void 0&&!I(i)?i:this.initialValues[e]!==void 0&&s===void 0?void 0:this.baseTarget[e]}on(e,n){return this.events[e]||(this.events[e]=new Xe),this.events[e].add(n)}notify(e,...n){this.events[e]&&this.events[e].notify(...n)}scheduleRenderMicrotask(){Bi.render(this.render)}}class Ni extends bl{constructor(){super(...arguments),this.KeyframeResolver=tl}sortInstanceNodePosition(e,n){return e.compareDocumentPosition(n)&2?1:-1}getBaseTargetFromProps(e,n){const s=e.style;return s?s[n]:void 0}removeValueFromRenderState(e,{vars:n,style:s}){delete n[e],delete s[e]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:e}=this.props;I(e)&&(this.childSubscription=e.on("change",n=>{this.current&&(this.current.textContent=`${n}`)}))}}function $i({top:t,left:e,right:n,bottom:s}){return{x:{min:e,max:n},y:{min:t,max:s}}}function Sl({x:t,y:e}){return{top:e.min,right:t.max,bottom:e.max,left:t.min}}function wl(t,e){if(!e)return t;const n=e({x:t.left,y:t.top}),s=e({x:t.right,y:t.bottom});return{top:n.y,left:n.x,bottom:s.y,right:s.x}}function de(t){return t===void 0||t===1}function Ue({scale:t,scaleX:e,scaleY:n}){return!de(t)||!de(e)||!de(n)}function ct(t){return Ue(t)||Wi(t)||t.z||t.rotate||t.rotateX||t.rotateY||t.skewX||t.skewY}function Wi(t){return Kn(t.x)||Kn(t.y)}function Kn(t){return t&&t!=="0%"}function te(t,e,n){const s=t-n,i=e*s;return n+i}function _n(t,e,n,s,i){return i!==void 0&&(t=te(t,i,s)),te(t,n,s)+e}function Ne(t,e=0,n=1,s,i){t.min=_n(t.min,e,n,s,i),t.max=_n(t.max,e,n,s,i)}function Ki(t,{x:e,y:n}){Ne(t.x,e.translate,e.scale,e.originPoint),Ne(t.y,n.translate,n.scale,n.originPoint)}const Gn=.999999999999,zn=1.0000000000001;function Pl(t,e,n,s=!1){const i=n.length;if(!i)return;e.x=e.y=1;let r,o;for(let a=0;aGn&&(e.x=1),e.yGn&&(e.y=1)}function Y(t,e){t.min+=e,t.max+=e}function Hn(t,e,n,s,i=.5){const r=C(t.min,t.max,i);Ne(t,e,n,r,s)}function Xn(t,e){return typeof t=="string"?parseFloat(t)/100*(e.max-e.min):t}function zt(t,e,n){const s=n??t;Hn(t.x,Xn(e.x,s.x),e.scaleX,e.scale,e.originX),Hn(t.y,Xn(e.y,s.y),e.scaleY,e.scale,e.originY)}function _i(t,e){return $i(wl(t.getBoundingClientRect(),e))}function Al(t,e,n){const s=_i(t,n),{scroll:i}=e;return i&&(Y(s.x,i.offset.x),Y(s.y,i.offset.y)),s}const Vl={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},Cl=wt.length;function Ml(t,e,n){let s="",i=!0;for(let r=0;r{if(!e.target)return t;if(typeof t=="string")if(v.test(t))t=parseFloat(t);else return t;const n=Yn(t,e.target.x),s=Yn(t,e.target.y);return`${n}% ${s}%`}},zi={correct:(t,{treeScale:e,projectionDelta:n})=>{const s=t,i=X.parse(t);if(i.length>5)return s;const r=X.createTransformer(t),o=typeof i[0]!="number"?1:0,a=n.x.scale*e.x,l=n.y.scale*e.y;i[0+o]/=a,i[1+o]/=l;const c=C(a,l,.5);return typeof i[2+o]=="number"&&(i[2+o]/=c),typeof i[3+o]=="number"&&(i[3+o]/=c),r(i)}},Ft={borderRadius:{...q,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:q,borderTopRightRadius:q,borderBottomLeftRadius:q,borderBottomRightRadius:q,boxShadow:zi};function Hi(t){for(const e in t)Ft[e]=t[e],Ze(e)&&(Ft[e].isCSSVariable=!0)}function El(t,{layout:e,layoutId:n}){return Pt.has(t)||t.startsWith("origin")||(e||n!==void 0)&&(!!Ft[t]||t==="opacity")}function Xi(t,e,n){const s=t.style,i=e?.style,r={};if(!s)return r;for(const o in s)(I(s[o])||i&&I(i[o])||El(o,t)||n?.getValue(o)?.liveStyle!==void 0)&&(r[o]=s[o]);return r}function Dl(t){return window.getComputedStyle(t)}class Rl extends Ni{constructor(){super(...arguments),this.type="html",this.renderInstance=Gi}readValueFromInstance(e,n){if(Pt.has(n))return this.projection?.isProjecting?Me(n):ta(e,n);{const s=Dl(e),i=(Ze(n)?s.getPropertyValue(n):s[n])||0;return typeof i=="string"?i.trim():i}}measureInstanceViewportBox(e,{transformPagePoint:n}){return _i(e,n)}build(e,n,s){hn(e,n,s.transformTemplate)}scrapeMotionValuesFromProps(e,n,s){return Xi(e,n,s)}}const Ll={offset:"stroke-dashoffset",array:"stroke-dasharray"},kl={offset:"strokeDashoffset",array:"strokeDasharray"};function Bl(t,e,n=1,s=0,i=!0){t.pathLength=1;const r=i?Ll:kl;t[r.offset]=`${-s}`,t[r.array]=`${e} ${n}`}const Fl=["offsetDistance","offsetPath","offsetRotate","offsetAnchor"];function Yi(t,{attrX:e,attrY:n,attrScale:s,pathLength:i,pathSpacing:r=1,pathOffset:o=0,...a},l,c,u){if(hn(t,a,c),l){t.style.viewBox&&(t.attrs.viewBox=t.style.viewBox);return}t.attrs=t.style,t.style={};const{attrs:h,style:f}=t;h.transform&&(f.transform=h.transform,delete h.transform),(f.transform||h.transformOrigin)&&(f.transformOrigin=h.transformOrigin??"50% 50%",delete h.transformOrigin),f.transform&&(f.transformBox=u?.transformBox??"fill-box",delete h.transformBox);for(const d of Fl)h[d]!==void 0&&(f[d]=h[d],delete h[d]);e!==void 0&&(h.x=e),n!==void 0&&(h.y=n),s!==void 0&&(h.scale=s),i!==void 0&&Bl(h,i,r,o,!1)}const fn=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]),qi=t=>typeof t=="string"&&t.toLowerCase()==="svg";function Il(t,e,n,s){Gi(t,e,void 0,s);for(const i in e.attrs)t.setAttribute(fn.has(i)?i:ln(i),e.attrs[i])}function jl(t,e,n){const s=Xi(t,e,n);for(const i in t)if(I(t[i])||I(e[i])){const r=wt.indexOf(i)!==-1?"attr"+i.charAt(0).toUpperCase()+i.substring(1):i;s[r]=t[i]}return s}class Ol extends Ni{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=k}getBaseTargetFromProps(e,n){return e[n]}readValueFromInstance(e,n){if(Pt.has(n)){const s=Di(n);return s&&s.default||0}return n=fn.has(n)?n:ln(n),e.getAttribute(n)}scrapeMotionValuesFromProps(e,n,s){return jl(e,n,s)}build(e,n,s){Yi(e,n,this.isSVGTag,s.transformTemplate,s.style)}renderInstance(e,n,s,i){Il(e,n,s,i)}mount(e){this.isSVGTag=qi(e.tagName),super.mount(e)}}function $e(t,e){t.min=e.min,t.max=e.max}function H(t,e){$e(t.x,e.x),$e(t.y,e.y)}function qn(t,e){t.translate=e.translate,t.scale=e.scale,t.originPoint=e.originPoint,t.origin=e.origin}const Zi=1e-4,Ul=1-Zi,Nl=1+Zi,Qi=.01,$l=0-Qi,Wl=0+Qi;function O(t){return t.max-t.min}function Kl(t,e,n){return Math.abs(t-e)<=n}function Zn(t,e,n,s=.5){t.origin=s,t.originPoint=C(e.min,e.max,t.origin),t.scale=O(n)/O(e),t.translate=C(n.min,n.max,t.origin)-t.originPoint,(t.scale>=Ul&&t.scale<=Nl||isNaN(t.scale))&&(t.scale=1),(t.translate>=$l&&t.translate<=Wl||isNaN(t.translate))&&(t.translate=0)}function Rt(t,e,n,s){Zn(t.x,e.x,n.x,s?s.originX:void 0),Zn(t.y,e.y,n.y,s?s.originY:void 0)}function Qn(t,e,n,s=0){const i=s?C(n.min,n.max,s):n.min;t.min=i+e.min,t.max=t.min+O(e)}function _l(t,e,n,s){Qn(t.x,e.x,n.x,s?.x),Qn(t.y,e.y,n.y,s?.y)}function Jn(t,e,n,s=0){const i=s?C(n.min,n.max,s):n.min;t.min=e.min-i,t.max=t.min+O(e)}function ee(t,e,n,s){Jn(t.x,e.x,n.x,s?.x),Jn(t.y,e.y,n.y,s?.y)}function ts(t,e,n,s,i){return t-=e,t=te(t,1/n,s),i!==void 0&&(t=te(t,1/i,s)),t}function Gl(t,e=0,n=1,s=.5,i,r=t,o=t){if(Z.test(e)&&(e=parseFloat(e),e=C(o.min,o.max,e/100)-o.min),typeof e!="number")return;let a=C(r.min,r.max,s);t===r&&(a-=e),t.min=ts(t.min,e,n,a,i),t.max=ts(t.max,e,n,a,i)}function es(t,e,[n,s,i],r,o){Gl(t,e[n],e[s],e[i],e.scale,r,o)}const zl=["x","scaleX","originX"],Hl=["y","scaleY","originY"];function ns(t,e,n,s){es(t.x,e,zl,n?n.x:void 0,s?s.x:void 0),es(t.y,e,Hl,n?n.y:void 0,s?s.y:void 0)}function ss(t){return t.translate===0&&t.scale===1}function Ji(t){return ss(t.x)&&ss(t.y)}function is(t,e){return t.min===e.min&&t.max===e.max}function Xl(t,e){return is(t.x,e.x)&&is(t.y,e.y)}function os(t,e){return Math.round(t.min)===Math.round(e.min)&&Math.round(t.max)===Math.round(e.max)}function to(t,e){return os(t.x,e.x)&&os(t.y,e.y)}function rs(t){return O(t.x)/O(t.y)}function as(t,e){return t.translate===e.translate&&t.scale===e.scale&&t.originPoint===e.originPoint}function $(t){return[t("x"),t("y")]}function Yl(t,e,n){let s="";const i=t.x.translate/e.x,r=t.y.translate/e.y,o=n?.z||0;if((i||r||o)&&(s=`translate3d(${i}px, ${r}px, ${o}px) `),(e.x!==1||e.y!==1)&&(s+=`scale(${1/e.x}, ${1/e.y}) `),n){const{transformPerspective:c,rotate:u,rotateX:h,rotateY:f,skewX:d,skewY:p}=n;c&&(s=`perspective(${c}px) ${s}`),u&&(s+=`rotate(${u}deg) `),h&&(s+=`rotateX(${h}deg) `),f&&(s+=`rotateY(${f}deg) `),d&&(s+=`skewX(${d}deg) `),p&&(s+=`skewY(${p}deg) `)}const a=t.x.scale*e.x,l=t.y.scale*e.y;return(a!==1||l!==1)&&(s+=`scale(${a}, ${l})`),s||"none"}const eo=["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"],ql=eo.length,ls=t=>typeof t=="string"?parseFloat(t):t,us=t=>typeof t=="number"||v.test(t);function Zl(t,e,n,s,i,r){i?(t.opacity=C(0,n.opacity??1,Ql(s)),t.opacityExit=C(e.opacity??1,0,Jl(s))):r&&(t.opacity=C(e.opacity??1,n.opacity??1,s));for(let o=0;ose?1:n(kt(t,e,s))}function tu(t,e,n){const s=I(t)?t:bt(t);return s.start(an("",s,e,n)),s.animation}function eu(t,e,n,s={passive:!0}){return t.addEventListener(e,n,s),()=>t.removeEventListener(e,n)}const nu=(t,e)=>t.depth-e.depth;class su{constructor(){this.children=[],this.isDirty=!1}add(e){ze(this.children,e),this.isDirty=!0}remove(e){Yt(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(nu),this.isDirty=!1,this.children.forEach(e)}}function iu(t,e){const n=j.now(),s=({timestamp:i})=>{const r=i-n;r>=e&&(at(s),t(r-e))};return A.setup(s,!0),()=>at(s)}function pe(t){return I(t)?t.get():t}class ou{constructor(){this.members=[]}add(e){ze(this.members,e);for(let n=this.members.length-1;n>=0;n--){const s=this.members[n];if(s===e||s===this.lead||s===this.prevLead)continue;const i=s.instance;(!i||i.isConnected===!1)&&!s.snapshot&&(Yt(this.members,s),s.unmount())}e.scheduleRender()}remove(e){if(Yt(this.members,e),e===this.prevLead&&(this.prevLead=void 0),e===this.lead){const n=this.members[this.members.length-1];n&&this.promote(n)}}relegate(e){for(let n=this.members.indexOf(e)-1;n>=0;n--){const s=this.members[n];if(s.isPresent!==!1&&s.instance?.isConnected!==!1)return this.promote(s),!0}return!1}promote(e,n){const s=this.lead;if(e!==s&&(this.prevLead=s,this.lead=e,e.show(),s)){s.updateSnapshot(),e.scheduleRender();const{layoutDependency:i}=s.options,{layoutDependency:r}=e.options;(i===void 0||i!==r)&&(e.resumeFrom=s,n&&(s.preserveOpacity=!0),s.snapshot&&(e.snapshot=s.snapshot,e.snapshot.latestValues=s.animationValues||s.latestValues),e.root?.isUpdating&&(e.isLayoutDirty=!0)),e.options.crossfade===!1&&s.hide()}}exitAnimationComplete(){this.members.forEach(e=>{e.options.onExitComplete?.(),e.resumingFrom?.options.onExitComplete?.()})}scheduleRender(){this.members.forEach(e=>e.instance&&e.scheduleRender(!1))}removeLeadSnapshot(){this.lead?.snapshot&&(this.lead.snapshot=void 0)}}const Ht={hasAnimatedSinceResize:!0,hasEverUpdated:!1},me=["","X","Y","Z"],ru=1e3;let au=0;function ye(t,e,n,s){const{latestValues:i}=e;i[t]&&(n[t]=i[t],e.setStaticValue(t,0),s&&(s[t]=0))}function so(t){if(t.hasCheckedOptimisedAppear=!0,t.root===t)return;const{visualElement:e}=t.options;if(!e)return;const n=Vi(e);if(window.MotionHasOptimisedAnimation(n,"transform")){const{layout:i,layoutId:r}=t.options;window.MotionCancelOptimisedAnimation(n,"transform",A,!(i||r))}const{parent:s}=t;s&&!s.hasCheckedOptimisedAppear&&so(s)}function io({attachResizeListener:t,defaultParent:e,measureScroll:n,checkIsScrollRoot:s,resetTransform:i}){return class{constructor(o={},a=e?.()){this.id=au++,this.animationId=0,this.animationCommitId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.layoutVersion=0,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,this.nodes.forEach(cu),this.nodes.forEach(yu),this.nodes.forEach(gu),this.nodes.forEach(hu)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=o,this.root=a?a.root||a:this,this.path=a?[...a.path,a]:[],this.parent=a,this.depth=a?a.depth+1:0;for(let l=0;lthis.root.updateBlockedByResize=!1;A.read(()=>{h=window.innerWidth}),t(o,()=>{const d=window.innerWidth;d!==h&&(h=d,this.root.updateBlockedByResize=!0,u&&u(),u=iu(f,250),Ht.hasAnimatedSinceResize&&(Ht.hasAnimatedSinceResize=!1,this.nodes.forEach(ds)))})}a&&this.root.registerSharedNode(a,this),this.options.animate!==!1&&c&&(a||l)&&this.addEventListener("didUpdate",({delta:u,hasLayoutChanged:h,hasRelativeLayoutChanged:f,layout:d})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const p=this.options.transition||c.getDefaultTransition()||Su,{onLayoutAnimationStart:y,onLayoutAnimationComplete:m}=c.getProps(),g=!this.targetLayout||!to(this.targetLayout,d),T=!h&&f;if(this.options.layoutRoot||this.resumeFrom||T||h&&(g||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);const x={...rn(p,"layout"),onPlay:y,onComplete:m};(c.shouldReduceMotion||this.options.layoutRoot)&&(x.delay=0,x.type=!1),this.startAnimation(x),this.setAnimationOrigin(u,T)}else h||ds(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=d})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const o=this.getStack();o&&o.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),at(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach(vu),this.animationId++)}getTransformTemplate(){const{visualElement:o}=this.options;return o&&o.getProps().transformTemplate}willUpdate(o=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&so(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let u=0;u{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!O(this.snapshot.measuredBox.x)&&!O(this.snapshot.measuredBox.y)&&(this.snapshot=void 0))}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let l=0;l{const S=w/1e3;ps(h.x,o.x,S),ps(h.y,o.y,S),this.setTargetDelta(h),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(ee(f,this.layout.layoutBox,this.relativeParent.layout.layoutBox,this.options.layoutAnchor||void 0),Tu(this.relativeTarget,this.relativeTargetOrigin,f,S),x&&Xl(this.relativeTarget,x)&&(this.isProjectionDirty=!1),x||(x=k()),H(x,this.relativeTarget)),y&&(this.animationValues=u,Zl(u,c,this.latestValues,S,T,g)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=S},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(o){this.notifyListeners("animationStart"),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&(at(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=A.update(()=>{Ht.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=bt(0)),this.motionValue.jump(0,!1),this.currentAnimation=tu(this.motionValue,[0,1e3],{...o,velocity:0,isSync:!0,onUpdate:a=>{this.mixTargetDelta(a),o.onUpdate&&o.onUpdate(a)},onStop:()=>{},onComplete:()=>{o.onComplete&&o.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const o=this.getStack();o&&o.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(ru),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const o=this.getLead();let{targetWithTransforms:a,target:l,layout:c,latestValues:u}=o;if(!(!a||!l||!c)){if(this!==o&&this.layout&&c&&oo(this.options.animationType,this.layout.layoutBox,c.layoutBox)){l=this.target||k();const h=O(this.layout.layoutBox.x);l.x.min=o.target.x.min,l.x.max=l.x.min+h;const f=O(this.layout.layoutBox.y);l.y.min=o.target.y.min,l.y.max=l.y.min+f}H(a,l),zt(a,u),Rt(this.projectionDeltaWithTransform,this.layoutCorrected,a,u)}}registerSharedNode(o,a){this.sharedNodes.has(o)||this.sharedNodes.set(o,new ou),this.sharedNodes.get(o).add(a);const c=a.options.initialPromotionConfig;a.promote({transition:c?c.transition:void 0,preserveFollowOpacity:c&&c.shouldPreserveFollowOpacity?c.shouldPreserveFollowOpacity(a):void 0})}isLead(){const o=this.getStack();return o?o.lead===this:!0}getLead(){const{layoutId:o}=this.options;return o?this.getStack()?.lead||this:this}getPrevLead(){const{layoutId:o}=this.options;return o?this.getStack()?.prevLead:void 0}getStack(){const{layoutId:o}=this.options;if(o)return this.root.sharedNodes.get(o)}promote({needsReset:o,transition:a,preserveFollowOpacity:l}={}){const c=this.getStack();c&&c.promote(this,l),o&&(this.projectionDelta=void 0,this.needsReset=!0),a&&this.setOptions({transition:a})}relegate(){const o=this.getStack();return o?o.relegate(this):!1}resetSkewAndRotation(){const{visualElement:o}=this.options;if(!o)return;let a=!1;const{latestValues:l}=o;if((l.z||l.rotate||l.rotateX||l.rotateY||l.rotateZ||l.skewX||l.skewY)&&(a=!0),!a)return;const c={};l.z&&ye("z",o,c,this.animationValues);for(let u=0;uo.currentAnimation?.stop()),this.root.nodes.forEach(hs),this.root.sharedNodes.clear()}}}function lu(t){t.updateLayout()}function uu(t){const e=t.resumeFrom?.snapshot||t.snapshot;if(t.isLead()&&t.layout&&e&&t.hasListeners("didUpdate")){const{layoutBox:n,measuredBox:s}=t.layout,{animationType:i}=t.options,r=e.source!==t.layout.source;if(i==="size")$(u=>{const h=r?e.measuredBox[u]:e.layoutBox[u],f=O(h);h.min=n[u].min,h.max=h.min+f});else if(i==="x"||i==="y"){const u=i==="x"?"y":"x";$e(r?e.measuredBox[u]:e.layoutBox[u],n[u])}else oo(i,e.layoutBox,n)&&$(u=>{const h=r?e.measuredBox[u]:e.layoutBox[u],f=O(n[u]);h.max=h.min+f,t.relativeTarget&&!t.currentAnimation&&(t.isProjectionDirty=!0,t.relativeTarget[u].max=t.relativeTarget[u].min+f)});const o=vt();Rt(o,n,e.layoutBox);const a=vt();r?Rt(a,t.applyTransform(s,!0),e.measuredBox):Rt(a,n,e.layoutBox);const l=!Ji(o);let c=!1;if(!t.resumeFrom){const u=t.getClosestProjectingParent();if(u&&!u.resumeFrom){const{snapshot:h,layout:f}=u;if(h&&f){const d=t.options.layoutAnchor||void 0,p=k();ee(p,e.layoutBox,h.layoutBox,d);const y=k();ee(y,n,f.layoutBox,d),to(p,y)||(c=!0),u.options.layoutRoot&&(t.relativeTarget=y,t.relativeTargetOrigin=p,t.relativeParent=u)}}}t.notifyListeners("didUpdate",{layout:n,snapshot:e,delta:a,layoutDelta:o,hasLayoutChanged:l,hasRelativeLayoutChanged:c})}else if(t.isLead()){const{onExitComplete:n}=t.options;n&&n()}t.options.transition=void 0}function cu(t){t.parent&&(t.isProjecting()||(t.isProjectionDirty=t.parent.isProjectionDirty),t.isSharedProjectionDirty||(t.isSharedProjectionDirty=!!(t.isProjectionDirty||t.parent.isProjectionDirty||t.parent.isSharedProjectionDirty)),t.isTransformDirty||(t.isTransformDirty=t.parent.isTransformDirty))}function hu(t){t.isProjectionDirty=t.isSharedProjectionDirty=t.isTransformDirty=!1}function fu(t){t.clearSnapshot()}function hs(t){t.clearMeasurements()}function du(t){t.isLayoutDirty=!0,t.updateLayout()}function fs(t){t.isLayoutDirty=!1}function pu(t){t.isAnimationBlocked&&t.layout&&!t.isLayoutDirty&&(t.snapshot=t.layout,t.isLayoutDirty=!0)}function mu(t){const{visualElement:e}=t.options;e&&e.getProps().onBeforeLayoutMeasure&&e.notify("BeforeLayoutMeasure"),t.resetTransform()}function ds(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0,t.isProjectionDirty=!0}function yu(t){t.resolveTargetDelta()}function gu(t){t.calcProjection()}function vu(t){t.resetSkewAndRotation()}function xu(t){t.removeLeadSnapshot()}function ps(t,e,n){t.translate=C(e.translate,0,n),t.scale=C(e.scale,1,n),t.origin=e.origin,t.originPoint=e.originPoint}function ms(t,e,n,s){t.min=C(e.min,n.min,s),t.max=C(e.max,n.max,s)}function Tu(t,e,n,s){ms(t.x,e.x,n.x,s),ms(t.y,e.y,n.y,s)}function bu(t){return t.animationValues&&t.animationValues.opacityExit!==void 0}const Su={duration:.45,ease:[.4,0,.1,1]},ys=t=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(t),gs=ys("applewebkit/")&&!ys("chrome/")?Math.round:K;function vs(t){t.min=gs(t.min),t.max=gs(t.max)}function wu(t){vs(t.x),vs(t.y)}function oo(t,e,n){return t==="position"||t==="preserve-aspect"&&!Kl(rs(e),rs(n),.2)}function Pu(t){return t!==t.root&&t.scroll?.wasRoot}const Au=io({attachResizeListener:(t,e)=>eu(t,"resize",e),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body?.scrollLeft||0,y:document.documentElement.scrollTop||document.body?.scrollTop||0}),checkIsScrollRoot:()=>!0}),ge={current:void 0},Vu=io({measureScroll:t=>({x:t.scrollLeft,y:t.scrollTop}),defaultParent:()=>{if(!ge.current){const t=new Au({});t.mount(window),t.setOptions({layoutScroll:!0}),ge.current=t}return ge.current},resetTransform:(t,e)=>{t.style.transform=e!==void 0?e:"none"},checkIsScrollRoot:t=>window.getComputedStyle(t).position==="fixed"}),Cu={some:0,all:1};function Mu(t,e,{root:n,margin:s,amount:i="some"}={}){const r=Li(t),o=new WeakMap,a=c=>{c.forEach(u=>{const h=o.get(u.target);if(u.isIntersecting!==!!h)if(u.isIntersecting){const f=e(u.target,u);typeof f=="function"?o.set(u.target,f):l.unobserve(u.target)}else typeof h=="function"&&(h(u),o.delete(u.target))})},l=new IntersectionObserver(a,{root:n,rootMargin:s,threshold:typeof i=="number"?i:Cu[i]});return r.forEach(c=>l.observe(c)),()=>l.disconnect()}const xs=(t,e)=>Math.abs(t-e);function Eu(t,e){const n=xs(t.x,e.x),s=xs(t.y,e.y);return Math.sqrt(n**2+s**2)}typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const Ts=t=>typeof t<"u";function ro({current:t}){return t?t.ownerDocument.defaultView:null}function We(t){if(t)return t.nodeType===3||t.nodeType===8?We(t.nextSibling):t}const[Du,Ru]=jt("Motion"),[Lu]=jt("LayoutGroup"),ku={reducedMotion:"never",transition:void 0,nonce:void 0},[Bu]=jt("MotionConfig");function ao(){return Bu(Mt(()=>ku))}const Ke={motionAttribute:"data-ap"},_e=[];function lo(t){for(const e of t)e&&!_e.includes(e)&&_e.push(e)}function uo(t,e,n){if(Array.isArray(t))return t.reduce((s,i)=>{const r=uo(i,e,n);return r?{...s,...r}:s},{});if(typeof t=="object")return t;if(t&&e){const s=e[t];return typeof s=="function"?s(n):s}}function Fu(t,e,n){const s=uo(t,e,n);if(!s)return;const{transition:i,transitionEnd:r,...o}=s;return{...o,...r}}function Iu(t,e){const n=(t.initial===void 0&&t.variants?e?.initial:t.initial)===!1?["initial","animate"]:["initial"],s=t.custom??t.presenceContext?.custom;return n.reduce((i,r)=>({...i,...Fu(t[r]||e?.[r],t.variants,s)}),{})}function co(t,e){const n=e?.length;if(n!==t.length)return!1;for(let s=0;s{const n=this.options[e];return oe(n)||e==="initial"&&n===!1?n:this.parent?.context[e]}})),this._context}updateFeatures(){if(this.visualElement)for(const t of _e){this.features.has(t.key)||this.features.set(t.key,new t(this));const e=this.features.get(t.key);this.isMounted()&&(e.isMount?e.update():(e.mount(),e.isMount=!0))}}updateOptions(t){this.options=t,this.visualElement?.update({...this.options,whileTap:this.options.whilePress},this.options.presenceContext??null)}mount(t){ne.set(t,this),this.element=t,t.setAttribute(Ke.motionAttribute,this.options.presenceContext?.presenceId??""),this.visualElement?.mount(t),this.updateFeatures()}beforeUnmount(){this.getSnapshot(this.options,!1)}unmount(){this.parent?.children?.delete(this),ne.delete(this.element),this.features.forEach(t=>t.unmount?.()),this.visualElement?.unmount()}beforeUpdate(){this.getSnapshot(this.options,void 0)}update(){this.updateFeatures(),this.didUpdate()}tryExitComplete(){this.isExiting||this.options?.layoutId&&this.visualElement.projection?.currentAnimation?.state==="running"||this.options.presenceContext?.onMotionExitComplete?.(this.presenceContainer,this)}setActive(t,e){t==="exit"&&e&&(this.isExiting=!0),this.visualElement?.animationState?.setActive(t,e).then(()=>{t==="exit"&&e&&(this.isExiting=!1,this.options?.layoutId?A.postRender(()=>this.tryExitComplete()):this.tryExitComplete())})}isMounted(){return!!this.element}initVisualElement(t){this.visualElement||(this.visualElement=t(this.options.as,{presenceContext:this.options.presenceContext??null,parent:this.parent?.visualElement,props:{...this.options,whileTap:this.options.whilePress},visualState:{renderState:{transform:{},transformOrigin:{},style:{},vars:{},attrs:{}},latestValues:{...this.latestValues}},reducedMotionConfig:this.options.motionConfig?.reducedMotion}),this.visualElement.parent?.addChild(this.visualElement),this.isMounted()&&this.visualElement.mount(this.element))}getSnapshot(t,e){}didUpdate(){}},nt=class{constructor(t){this.state=t}mount(){}unmount(){}update(){}};const fo=["initial","animate","exit","whileHover","whileDrag","whileFocus","whilePress"];var Uu=fo.length;function po(t){if(!t)return;if(!t.isControllingVariants){const n=t.parent?po(t.parent)||{}:{};return t.props.initial!==void 0&&(n.initial=t.props.initial),n}const e={};for(let n=0;nPromise.all(e.map(({animation:n,options:s})=>Ka(t,n,s)))}function _u(t){let e=Ku(t),n=bs(),s=!0;const i=l=>(c,u)=>{const h=xt(t,u,l==="exit"?t.presenceContext?.custom:void 0);if(h){const{transition:f,transitionEnd:d,...p}=h;c={...c,...p,...d}}return c};function r(l){e=l(t)}function o(l){const{props:c}=t,u=po(t.parent)||{},h=[],f=new Set;let d={},p=1/0;for(let m=0;m<$u;m++){const g=Nu[m],T=n[g],x=c[g]!==void 0?c[g]:u[g],w=oe(x),S=g===l?T.isActive:null;S===!1&&(p=m);let L=x===u[g]&&x!==c[g]&&w;if(L&&s&&t.manuallyAnimateOnMount&&(L=!1),T.protectedKeys={...d},!T.isActive&&S===null||!x&&!T.prevProp||cn(x)||typeof x=="boolean")continue;const U=Wu(T.prevProp,x);let P=U||g===l&&T.isActive&&!L&&w||m>p&&w,F=!1;const b=Array.isArray(x)?x:[x];let M=b.reduce(i(g),{});S===!1&&(M={});const{prevResolvedValues:G={}}=T,pt={...G,...M},z=V=>{P=!0,f.has(V)&&(F=!0,f.delete(V)),T.needsAnimating[V]=!0;const N=t.getValue(V);N&&(N.liveStyle=!1)};for(const V in pt){const N=M[V],lt=G[V];if(Object.hasOwnProperty.call(d,V))continue;let mt=!1;Ss(N)&&Ss(lt)?mt=!co(N,lt):mt=N!==lt,mt?N!=null?z(V):f.add(V):N!==void 0&&f.has(V)?z(V):T.protectedKeys[V]=!0}T.prevProp=x,T.prevResolvedValues=M,T.isActive&&(d={...d,...M}),s&&t.blockInitialAnimation&&(P=!1);const J=L&&U;P&&(!J||F)&&h.push(...b.map(V=>{const N={type:g};if(typeof V=="string"&&s&&!J&&t.manuallyAnimateOnMount&&t.parent){const{parent:lt}=t,mt=xt(lt,V);if(lt.enteringChildren&&mt){const{delayChildren:Po}=mt.transition||{};N.delay=bi(lt.enteringChildren,t,Po)}}return{animation:V,options:N}}))}if(f.size){const m={};if(typeof c.initial!="boolean"){const g=xt(t,Array.isArray(c.initial)?c.initial[0]:c.initial);g&&g.transition&&(m.transition=g.transition)}f.forEach(g=>{const T=t.getBaseTarget(g),x=t.getValue(g);x&&(x.liveStyle=!0),m[g]=T??null}),h.push({animation:m})}let y=!!h.length;return s&&(c.initial===!1||c.initial===c.animate)&&!t.manuallyAnimateOnMount&&(y=!1),s=!1,y?e(h):Promise.resolve()}function a(l,c){if(n[l].isActive===c)return Promise.resolve();t.variantChildren?.forEach(h=>{h.animationState?.setActive(l,c)}),n[l].isActive=c;const u=o(l);for(const h in n)n[h].protectedKeys={};return u}return{animateChanges:o,setActive:a,setAnimateFunction:r,getState:()=>n,reset:()=>{n=bs(),s=!0}}}function yo(t){return t.style.display==="none"||t.offsetParent===null&&window.getComputedStyle(t).position!=="fixed"}var Gu=class extends nt{static#t=this.key="animation";constructor(t){super(t);const e=t.visualElement;e.animationState||=_u(e)}updateAnimationControlsSubscription(){const{animate:t}=this.state.options;cn(t)&&(this.unmountControls=t.subscribe(this.state.visualElement))}mount(){yo(this.state.element)?this.state.setActive("exit",!0):this.state.visualElement.animationState?.animateChanges(),this.updateAnimationControlsSubscription()}update(){this.state.visualElement.animationState?.animateChanges();const{animate:t}=this.state.visualElement.getProps(),{animate:e}=this.state.visualElement.prevProps||{};t!==e&&this.updateAnimationControlsSubscription()}unmount(){this.state.visualElement.animationState.reset(),this.unmountControls?.()}};function zu(t,e){return ho(t)?new Ol(e):new Rl(e)}function ws(t){return{point:{x:t.pageX,y:t.pageY}}}var Hu=class extends nt{static#t=this.key="press";constructor(t){super(t)}isActive(){const{whilePress:t,onPress:e,onPressCancel:n,onPressStart:s}=this.state.options;return!!(t||e||n||s)}register(){const t=this.state.element;!t||!this.isActive()||(this.removePress?.(),this.removePress=cl(t,(e,n)=>{const s=this.state.options;return this.state.setActive("whilePress",!0),s.onPressStart&&A.postRender(()=>s.onPressStart(n,ws(n))),(i,{success:r})=>{this.state.setActive("whilePress",!1);const o=r?"onPress":"onPressCancel",a=this.state.options[o];a&&A.postRender(()=>a(i,ws(i)))}},{useGlobalTarget:this.state.options.globalPressTarget}))}mount(){this.register()}update(){const t=this.state.visualElement.prevProps;!(t?.whilePress||t?.whileTap||t?.onPress||t?.onPressCancel||t?.onPressStart)&&this.isActive()&&this.register()}unmount(){this.removePress?.(),this.removePress=void 0}};function go(t){return t.pointerType==="mouse"?typeof t.button!="number"||t.button<=0:t.isPrimary!==!1}function It(t,e="page"){return{point:{x:t[`${e}X`],y:t[`${e}Y`]}}}function Xu(t){return e=>go(e)&&t(e,It(e))}var Yu=class extends nt{static#t=this.key="hover";constructor(t){super(t)}isActive(){const{whileHover:t,onHoverStart:e,onHoverEnd:n}=this.state.options;return!!(t||e||n)}register(){const t=this.state.element;!t||!this.isActive()||(this.removeHover?.(),this.removeHover=ol(t,(e,n)=>{const s=this.state.options;return this.state.setActive("whileHover",!0),s.onHoverStart&&A.postRender(()=>s.onHoverStart(n,It(n))),i=>{this.state.setActive("whileHover",!1);const r=this.state.options.onHoverEnd;r&&A.postRender(()=>r(i,It(i)))}}))}mount(){this.register()}update(){const t=this.state.visualElement.prevProps;!(t?.whileHover||t?.onHoverStart||t?.onHoverEnd)&&this.isActive()&&this.register()}unmount(){this.removeHover?.(),this.removeHover=void 0}},qu=class extends nt{static#t=this.key="inView";constructor(t){super(t)}isActive(){const{whileInView:t,onViewportEnter:e,onViewportLeave:n}=this.state.options;return!!(t||e||n)}startObserver(){const t=this.state.element;if(!t||!this.isActive())return;this.removeObserver?.();const{once:e,...n}=this.state.options.inViewOptions||{};this.removeObserver=Mu(t,(s,i)=>{const r=this.state.options;if(this.state.setActive("whileInView",!0),r.onViewportEnter&&A.postRender(()=>r.onViewportEnter(i)),!e)return()=>{this.state.setActive("whileInView",!1);const o=this.state.options.onViewportLeave;o&&A.postRender(()=>o(i))}},n)}mount(){this.startObserver()}update(){const{props:t,prevProps:e}=this.state.visualElement;["amount","margin","root"].some(n=>t.inViewOptions?.[n]!==e?.inViewOptions?.[n])&&this.startObserver()}unmount(){this.removeObserver?.(),this.removeObserver=void 0}};function se(t,e,n,s={passive:!0}){return t.addEventListener(e,n,s),()=>t.removeEventListener(e,n)}var Zu=class extends nt{static#t=this.key="focus";constructor(t){super(t),this.isFocused=!1}onFocus(){let t=!1;try{t=this.state.element.matches(":focus-visible")}catch{t=!0}t&&(this.state.setActive("whileFocus",!0),this.isFocused=!0)}onBlur(){this.isFocused&&(this.state.setActive("whileFocus",!1),this.isFocused=!1)}mount(){const t=this.state.element;this.removeFocus=Ot(se(t,"focus",()=>this.onFocus()),se(t,"blur",()=>this.onBlur()))}unmount(){this.removeFocus?.(),this.removeFocus=void 0}};function vo(t){if(t)return t.options.allowProjection!==!1?t.projection:vo(t.parent)}const xo={borderRadius:{...q,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:q,borderTopRightRadius:q,borderBottomLeftRadius:q,borderBottomRightRadius:q,boxShadow:zi};function Ct(t){return typeof t=="object"&&t!==null&&"nodeType"in t}const Qu=typeof window>"u";var Ju=class extends nt{static#t=this.key="projection";constructor(t){super(t),Hi(xo),Qu||this.initProjection()}initProjection(){const t=this.state.options;this.state.visualElement.projection=new Vu(this.state.visualElement.latestValues,t["data-framer-portal-id"]?void 0:vo(this.state.visualElement.parent)),this.projection=this.state.visualElement.projection,this.projection.isPresent=!0,this.setOptions()}setOptions(){const t=this.state.options,{layoutId:e,layout:n,drag:s=!1,dragConstraints:i=!1}=t;this.projection?.setOptions({layout:n,layoutId:e,alwaysMeasureLayout:!!e||!!s||i&&Ct(i),visualElement:this.state.visualElement,animationType:typeof t.layout=="string"?t.layout:"both",layoutRoot:t.layoutRoot,layoutScroll:t.layoutScroll,crossfade:t.crossfade,onExitComplete:()=>{!this.projection?.isPresent&&this.state.options.layoutId&&!this.state.isExiting&&queueMicrotask(()=>{this.state.options.presenceContext?.onMotionExitComplete?.(this.state.presenceContainer,this.state)})}})}update(){this.setOptions()}mount(){this.projection?.mount(this.state.element)}};function Lt(t,e,n,s){return se(t,e,Xu(n),s)}var Ps=new Set(["auto","scroll"]),To=class{constructor(t,e,{transformPagePoint:n,contextWindow:s,dragSnapToOrigin:i=!1,element:r}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.scrollPositions=new Map,this.onElementScroll=u=>{this.handleScroll(u.target)},this.onWindowScroll=()=>{this.handleScroll(window)},this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const u=xe(this.lastMoveEventInfo,this.history),h=this.startEvent!==null,f=Eu(u.offset,{x:0,y:0})>=3;if(!h&&!f)return;const{point:d}=u,{timestamp:p}=B;this.history.push({...d,timestamp:p});const{onStart:y,onMove:m}=this.handlers;h||(y&&y(this.lastMoveEvent,u),this.startEvent=this.lastMoveEvent),m&&m(this.lastMoveEvent,u)},this.handlePointerMove=(u,h)=>{this.lastMoveEvent=u,this.lastMoveEventInfo=ve(h,this.transformPagePoint),A.update(this.updatePoint,!0)},this.handlePointerUp=(u,h)=>{this.end();const{onEnd:f,onSessionEnd:d,resumeAnimation:p}=this.handlers;if((this.dragSnapToOrigin||!this.startEvent)&&p&&p(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const y=xe(u.type==="pointercancel"?this.lastMoveEventInfo:ve(h,this.transformPagePoint),this.history);this.startEvent&&f&&f(u,y),d&&d(u,y)},!go(t))return;this.dragSnapToOrigin=i,this.handlers=e,this.transformPagePoint=n,this.contextWindow=s||window;const o=ve(It(t),this.transformPagePoint),{point:a}=o,{timestamp:l}=B;this.history=[{...a,timestamp:l}];const{onSessionStart:c}=e;c&&c(t,xe(o,this.history)),this.removeListeners=Ot(Lt(this.contextWindow,"pointermove",this.handlePointerMove),Lt(this.contextWindow,"pointerup",this.handlePointerUp),Lt(this.contextWindow,"pointercancel",this.handlePointerUp)),r&&this.startScrollTracking(r)}isScrollable(t){const e=window.getComputedStyle(t);return e.overflow==="auto"||e.overflow==="scroll"||e.overflowX==="auto"||e.overflowX==="scroll"||e.overflowY==="auto"||e.overflowY==="scroll"}startScrollTracking(t){let e=t.parentElement;for(;e;){const n=getComputedStyle(e);(Ps.has(n.overflowX)||Ps.has(n.overflowY))&&this.scrollPositions.set(e,{x:e.scrollLeft,y:e.scrollTop}),e=e.parentElement}this.scrollPositions.set(window,{x:window.scrollX,y:window.scrollY}),window.addEventListener("scroll",this.onElementScroll,{capture:!0,passive:!0}),window.addEventListener("scroll",this.onWindowScroll,{passive:!0}),this.removeScrollListeners=()=>{window.removeEventListener("scroll",this.onElementScroll,{capture:!0}),window.removeEventListener("scroll",this.onWindowScroll)}}handleScroll(t){const e=this.scrollPositions.get(t);if(!e)return;const n=t===window,s=n?{x:window.scrollX,y:window.scrollY}:{x:t.scrollLeft,y:t.scrollTop},i={x:s.x-e.x,y:s.y-e.y};i.x===0&&i.y===0||(n?this.lastMoveEventInfo&&(this.lastMoveEventInfo.point.x+=i.x,this.lastMoveEventInfo.point.y+=i.y):this.history.length>0&&(this.history[0].x-=i.x,this.history[0].y-=i.y),this.scrollPositions.set(t,s),A.update(this.updatePoint,!0))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners?.(),this.scrollPositions.clear(),at(this.updatePoint)}};function ve(t,e){return e?{point:e(t.point)}:t}function As(t,e){return{x:t.x-e.x,y:t.y-e.y}}function xe({point:t},e){return{point:t,delta:As(t,bo(e)),offset:As(t,tc(e)),velocity:ec(e,.1)}}function tc(t){return t[0]}function bo(t){return t[t.length-1]}function ec(t,e){if(t.length<2)return{x:0,y:0};let n=t.length-1,s=null;const i=bo(t);for(;n>=0&&(s=t[n],!(i.timestamp-s.timestamp>_(e)));)n--;if(!s)return{x:0,y:0};const r=W(i.timestamp-s.timestamp);if(r===0)return{x:0,y:0};const o={x:(i.x-s.x)/r,y:(i.y-s.y)/r};return o.x===1/0&&(o.x=0),o.y===1/0&&(o.y=0),o}function Vs(t){return(e,n)=>{t&&A.postRender(()=>t(e,n))}}var nc=class extends nt{constructor(...t){super(...t),this.removePointerDownListener=K}static#t=this.key="pan";onPointerDown(t){this.session=new To(t,this.createPanHandlers(),{transformPagePoint:this.state.visualElement.getTransformPagePoint(),contextWindow:ro(this.state.visualElement)})}createPanHandlers(){return{onSessionStart:Vs((t,e)=>{const{onPanSessionStart:n}=this.state.options;n&&n(t,e)}),onStart:Vs((t,e)=>{const{onPanStart:n}=this.state.options;n&&n(t,e)}),onMove:(t,e)=>{const{onPan:n}=this.state.options;n&&n(t,e)},onEnd:(t,e)=>{const{onPanEnd:n}=this.state.options;delete this.session,n&&A.postRender(()=>n(t,e))}}}mount(){this.removePointerDownListener=Lt(this.state.element,"pointerdown",this.onPointerDown.bind(this))}update(){}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}};function So(t){let e=null;return()=>{const n=()=>{e=null};return e===null?(e=t,n):!1}}var Cs=So("dragHorizontal"),Ms=So("dragVertical");function sc(t){let e=!1;if(t==="y")e=Ms();else if(t==="x")e=Cs();else{const n=Cs(),s=Ms();n&&s?e=()=>{n(),s()}:(n&&n(),s&&s())}return e}function ic(t,{min:e,max:n},s){return e!==void 0&&tn&&(t=s?C(n,t,s.max):Math.min(t,n)),t}const Ge=.35;function oc(t,{top:e,left:n,bottom:s,right:i}){return{x:Es(t.x,n,i),y:Es(t.y,e,s)}}function Es(t,e,n){return{min:e!==void 0?t.min+e:void 0,max:n!==void 0?t.max+n-(t.max-t.min):void 0}}function rc(t=Ge){return t===!1?t=0:t===!0&&(t=Ge),{x:Ds(t,"left","right"),y:Ds(t,"top","bottom")}}function Ds(t,e,n){return{min:Rs(t,e),max:Rs(t,n)}}function Rs(t,e){return typeof t=="number"?t:t[e]||0}function ac(t,e){const n={};return e.min!==void 0&&(n.min=e.min-t.min),e.max!==void 0&&(n.max=e.max-t.min),n}function lc(t,e){return{x:Ls(t.x,e.x),y:Ls(t.y,e.y)}}function Ls(t,e){let n=e.min-t.min,s=e.max-t.max;return e.max-e.mins?n=kt(e.min,e.max-s,t.min):s>i&&(n=kt(t.min,t.max-i,e.min)),Q(0,1,n)}const cc=new WeakMap;var hc=class{constructor(t){this.openGlobalLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=k(),this.state=t}get visualElement(){return this.state.visualElement}start(t,{snapToCursor:e=!1}={}){const n=l=>{e?this.stopAnimation():this.pauseAnimation(),e&&this.snapToCursor(It(l,"page").point)},s=(l,c)=>{this.stopAnimation();const{drag:u,dragPropagation:h,onDragStart:f}=this.getProps();u&&!h&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=sc(u),!this.openGlobalLock)||(this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),$(d=>{let p=this.getAxisMotionValue(d).get()||0;if(Z.test(p)){const{projection:y}=this.visualElement;if(y&&y.layout){const m=y.layout.layoutBox[d];m&&(p=O(m)*(parseFloat(p)/100))}}this.originPoint[d]=p}),f&&A.postRender(()=>f(l,c)),Be(this.visualElement,"transform"),this.state.setActive("whileDrag",!0))},i=(l,c)=>{const{dragPropagation:u,dragDirectionLock:h,onDirectionLock:f,onDrag:d}=this.getProps();if(!u&&!this.openGlobalLock)return;const{offset:p}=c;if(h&&this.currentDirection===null){this.currentDirection=fc(p),this.currentDirection!==null&&f&&f(this.currentDirection);return}this.updateAxis("x",c.point,p),this.updateAxis("y",c.point,p),this.visualElement.render(),d&&d(l,c)},r=(l,c)=>this.stop(l,c),o=()=>$(l=>this.getAnimationState(l)==="paused"&&this.getAxisMotionValue(l).animation?.play()),{dragSnapToOrigin:a}=this.getProps();this.panSession=new To(t,{onSessionStart:n,onStart:s,onMove:i,onSessionEnd:r,resumeAnimation:o},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:a,contextWindow:ro(this.visualElement),element:this.state.element})}stop(t,e){const n=this.isDragging;if(this.cancel(),!n)return;const{velocity:s}=e;this.startAnimation(s);const{onDragEnd:i}=this.getProps();i&&A.postRender(()=>i(t,e))}cancel(){this.isDragging=!1;const{projection:t}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:e}=this.getProps();!e&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),this.state.setActive("whileDrag",!1)}updateAxis(t,e,n){const{drag:s}=this.getProps();if(!n||!Kt(t,s,this.currentDirection))return;const i=this.getAxisMotionValue(t);let r=this.originPoint[t]+n[t];this.constraints&&this.constraints[t]&&(r=ic(r,this.constraints[t],this.elastic[t])),i.set(r)}resolveConstraints(){const{dragConstraints:t,dragElastic:e}=this.getProps(),n=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):this.visualElement.projection?.layout,s=this.constraints;t&&Ct(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):t&&n?this.constraints=oc(n.layoutBox,t):this.constraints=!1,this.elastic=rc(e),s!==this.constraints&&n&&this.constraints&&!this.hasMutatedConstraints&&$(i=>{this.constraints!==!1&&this.getAxisMotionValue(i)&&(this.constraints[i]=ac(n.layoutBox[i],this.constraints[i]))})}resolveRefConstraints(){const{dragConstraints:t,onMeasureDragConstraints:e}=this.getProps();if(!t||!Ct(t))return!1;const n=t,{projection:s}=this.visualElement;if(!s||!s.layout)return!1;const i=Al(n,s.root,this.visualElement.getTransformPagePoint());let r=lc(s.layout.layoutBox,i);if(e){const o=e(Sl(r));this.hasMutatedConstraints=!!o,o&&(r=$i(o))}return r}startAnimation(t){const{drag:e,dragMomentum:n,dragElastic:s,dragTransition:i,dragSnapToOrigin:r,onDragTransitionEnd:o}=this.getProps(),a=this.constraints||{},l=$(c=>{if(!Kt(c,e,this.currentDirection))return;let u=a&&a[c]||{};r&&(u={min:0,max:0});const h=s?200:1e6,f=s?40:1e7,d={type:"inertia",velocity:n?t[c]:0,bounceStiffness:h,bounceDamping:f,timeConstant:750,restDelta:1,restSpeed:10,...i,...u};return this.startAxisValueAnimation(c,d)});return Promise.all(l).then(o)}startAxisValueAnimation(t,e){const n=this.getAxisMotionValue(t);return Be(this.visualElement,t),n.start(an(t,n,0,e,this.visualElement,!1))}stopAnimation(){this.visualElement.projection?.isPresent&&$(t=>this.getAxisMotionValue(t).stop())}pauseAnimation(){$(t=>this.getAxisMotionValue(t).animation?.pause())}getAnimationState(t){return this.getAxisMotionValue(t).animation?.state}getAxisMotionValue(t){const e=`_drag${t.toUpperCase()}`,n=this.visualElement.getProps();return n[e]||this.visualElement.getValue(t,(n.initial?n.initial[t]:void 0)||0)}snapToCursor(t){$(e=>{const{drag:n}=this.getProps();if(!Kt(e,n,this.currentDirection))return;const{projection:s}=this.visualElement,i=this.getAxisMotionValue(e);if(s&&s.layout){const{min:r,max:o}=s.layout.layoutBox[e];i.set(t[e]-C(r,o,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:t,dragConstraints:e}=this.getProps(),{projection:n}=this.visualElement;if(!Ct(e)||!n||!this.constraints)return;this.stopAnimation();const s={x:0,y:0};$(r=>{const o=this.getAxisMotionValue(r);if(o&&this.constraints!==!1){const a=o.get();s[r]=uc({min:a,max:a},this.constraints[r])}});const{transformTemplate:i}=this.visualElement.getProps();this.state.element.style.transform=i?i({},""):"none",n.root&&n.root.updateScroll(),n.updateLayout(),this.resolveConstraints(),$(r=>{if(!Kt(r,t,null))return;const o=this.getAxisMotionValue(r),{min:a,max:l}=this.constraints[r];o.set(C(a,l,s[r]))})}addListeners(){if(!this.state.element)return;cc.set(this.visualElement,this);const t=this.state.element,e=Lt(t,"pointerdown",a=>{const{drag:l,dragListener:c=!0}=this.getProps();l&&c&&this.start(a)}),n=()=>{const{dragConstraints:a}=this.getProps();Ct(a)&&(this.constraints=this.resolveRefConstraints())},{projection:s}=this.visualElement,i=s.addEventListener("measure",n);s&&!s.layout&&(s.root&&s.root.updateScroll(),s.updateLayout()),A.read(n);const r=se(window,"resize",()=>this.scalePositionWithinConstraints()),o=s.addEventListener("didUpdate",(({delta:a,hasLayoutChanged:l})=>{this.isDragging&&l&&($(c=>{const u=this.getAxisMotionValue(c);u&&(this.originPoint[c]+=a[c].translate,u.set(u.get()+a[c].translate))}),this.visualElement.render())}));return()=>{r(),e(),i(),o&&o()}}getProps(){const t=this.visualElement.getProps(),{drag:e=!1,dragDirectionLock:n=!1,dragPropagation:s=!1,dragConstraints:i=!1,dragElastic:r=Ge,dragMomentum:o=!0}=t;return{...t,drag:e,dragDirectionLock:n,dragPropagation:s,dragConstraints:i,dragElastic:r,dragMomentum:o}}};function Kt(t,e,n){return(e===!0||e===t)&&(n===null||n===t)}function fc(t,e=10){let n=null;return Math.abs(t.y)>e?n="y":Math.abs(t.x)>e&&(n="x"),n}var dc=class extends nt{static#t=this.key="drag";constructor(t){super(t),this.removeGroupControls=K,this.removeListeners=K,this.controls=new hc(t)}mount(){const{dragControls:t}=this.state.options;t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||K}unmount(){this.removeGroupControls(),this.removeListeners()}},At=!1,pc=class extends nt{static#t=this.key="layout";constructor(t){super(t),this.hasMountSettled=!1,Hi(xo),t.getSnapshot=this.getSnapshot.bind(this),t.didUpdate=this.didUpdate.bind(this)}updatePrevLead(t){const e=t.getStack();e?.prevLead&&!e.prevLead.snapshot&&(e.prevLead.willUpdate(),At=!0)}didUpdate(){At&&(this.state.options.layout||this.state.options.layoutId||this.state.options.drag)&&(At=!1,this.state.visualElement.projection?.root?.didUpdate())}mount(){const t=this.state.options,e=this.state.options.layoutGroup;if(t.layout||t.layoutId){const n=this.state.visualElement.projection;if(t.layoutId){const s=!yo(this.state.element);n.isPresent=s,s?n.promote():n.relegate(),this.updatePrevLead(n)}e?.group?.add(n),Ht.hasEverUpdated=!0}this.didUpdate(),A.postRender(()=>{this.hasMountSettled=!0})}unmount(){const t=this.state.options.layoutGroup,e=this.state.visualElement.projection;e&&(t?.group&&(this.state.options.layout||this.state.options.layoutId)&&t.group.remove(e),this.state.options.layoutId&&(At=!0),this.didUpdate())}getSnapshot(t,e){const n=this.state.visualElement.projection,{drag:s,layoutDependency:i,layout:r,layoutId:o}=t;if(!n||!r&&!o&&!s||!this.hasMountSettled)return;At=!0;const a=this.state.options;(s||a.layoutDependency!==i||i===void 0||Ts(e)&&n.isPresent!==e)&&n.willUpdate(),Ts(e)&&e!==n.isPresent&&(n.isPresent=e,e?(n.promote(),this.updatePrevLead(n)):n.relegate())}};const mc={renderer:zu,features:[Gu,Hu,Yu,qu,Zu,Ju,nc,dc,pc]},[yc]=jt("LazyMotionContext"),[gc,vc]=jt("AnimatePresenceContext");function xc(t){return t.replace(/([A-Z])/g,e=>`-${e.toLowerCase()}`)}function wo(){return{transform:{},transformOrigin:{},style:{},vars:{}}}function Tc(){return{...wo(),attrs:{}}}function bc(t){const e=wo();hn(e,t);const n={...e.style};for(const s in e.vars)n[s]=e.vars[s];return Object.keys(n).length===0?null:n}function Sc(t,e,n){const s=Tc();Yi(s,t,qi(e),void 0,n);const i={};for(const r in s.attrs){const o=fn.has(r)?r:xc(r);i[o]=s.attrs[r]}return{attrs:i,style:{...s.style,...s.vars}}}function wc(t,e){const n=Du(null),s=Lu({}),i=ao(),r=gc({}),o=yc({features:Bs({}),strict:!1}),a=Co();function l(){return Xo(t,{layoutGroup:s,presenceContext:r,config:i.value})}function c(){return{...a,...l()}}const u=new Ou(c(),n);Ru(u),e&&u.initVisualElement(e),Mo(o.features,d=>{d.features?.length&&lo(d.features),d.renderer&&u.initVisualElement(d.renderer),u.updateFeatures()},{immediate:!0,flush:"pre"});function h(){const d=u.type==="svg",p={...a};Object.keys(a).forEach(T=>{I(a[T])&&(p[T]=a[T].get())});const y=u.visualElement?.latestValues||u.latestValues;let m={...t.style,...d?{}:y};for(const T in m)I(m[T])&&(m[T]=m[T].get());if(d){const{attrs:T,style:x}=Sc({...y,...m},u.options.as,t.style);Object.assign(p,T),m=x}t.drag&&t.dragListener!==!1&&Object.assign(m,{userSelect:"none",WebkitUserSelect:"none",WebkitTouchCallout:"none",touchAction:t.drag===!0?"none":`pan-${t.drag==="x"?"y":"x"}`});const g=bc(m);return g&&(p.style=g),p}const f=Eo().proxy;return Fs(()=>{const d=We(f.$el);u.mount(d)}),Do(()=>u.beforeUnmount()),Is(()=>{We(f.$el)?.isConnected||u.unmount()}),Ro(()=>{u.beforeUpdate(),u.updateOptions(c())}),Lo(()=>{u.update()}),{getProps:l,getAttrs:h,layoutGroup:s,state:u}}const Pc={ignoreStrict:{type:Boolean},forwardMotionProps:{type:Boolean,default:!1},asChild:{type:Boolean,default:!1},whileDrag:{type:[String,Array,Object]},whileHover:{type:[String,Array,Object]},whilePress:{type:[String,Array,Object]},whileInView:{type:[String,Array,Object]},whileFocus:{type:[String,Array,Object]},custom:{type:[String,Number,Object,Array]},initial:{type:[String,Array,Object,Boolean],default:void 0},animate:{type:[String,Array,Object],default:void 0},exit:{type:[String,Array,Object]},variants:{type:Object},inherit:{type:Boolean},style:{type:Object},transformTemplate:{type:Function},transition:{type:Object},onAnimationComplete:{type:Function},onUpdate:{type:Function},layout:{type:[Boolean,String],default:!1},layoutId:{type:String,default:void 0},layoutScroll:{type:Boolean,default:!1},layoutRoot:{type:Boolean,default:!1},"data-framer-portal-id":{type:String},crossfade:{type:Boolean,default:!0},layoutDependency:{type:null,default:void 0},onBeforeLayoutMeasure:{type:Function},onLayoutMeasure:{type:Function},onLayoutAnimationStart:{type:Function},onLayoutAnimationComplete:{type:Function},globalPressTarget:{type:Boolean},onPressStart:{type:Function},onPress:{type:Function},onPressCancel:{type:Function},onHoverStart:{type:Function},onHoverEnd:{type:Function},inViewOptions:{type:Object},onViewportEnter:{type:Function},onViewportLeave:{type:Function},drag:{type:[Boolean,String]},dragSnapToOrigin:{type:Boolean},dragDirectionLock:{type:Boolean},dragPropagation:{type:Boolean},dragConstraints:{type:[Boolean,Object]},dragElastic:{type:[Boolean,Number,Object],default:.5},dragMomentum:{type:Boolean,default:!0},dragTransition:{type:Object},dragListener:{type:Boolean,default:!0},dragControls:{type:Object},onDragStart:{type:Function},onDragEnd:{type:Function},onDrag:{type:Function},onDirectionLock:{type:Function},onDragTransitionEnd:{type:Function},onMeasureDragConstraints:{type:Function},onPanSessionStart:{type:Function},onPanStart:{type:Function},onPan:{type:Function},onPanEnd:{type:Function}};var Ac=new Map,Vc=new Map;function Cc(t){if(!Array.isArray(t))return[t];const e=[];for(const n of t)Array.isArray(n)?e.push(...n):e.push(n);return e}var Mc=["area","img","input"];function Ec(t,e,n){if(typeof t=="string"&&Mc.includes(t))return Os(t,e);if(t==="template"){if(!n.default)return null;const s=Cc(n.default()),i=s.findIndex(l=>l.type!==ko);if(i===-1)return s;const r=s[i];delete r.props?.ref;const o=r.props?Xt(e,r.props):e;e.class&&r.props?.class&&delete r.props.class;const a=Bo(r,o);for(const l in o)l.startsWith("on")&&(a.props||={},a.props[l]=o[l]);return s.length===1?a:(s[i]=a,s)}return null}function ks(t,e={}){const n=typeof t=="string",s=n?t:t.name||"",i=e.renderer?Ac:Vc;if(n&&i?.has(t))return i.get(t);const r=js({inheritAttrs:!1,props:{...Pc,as:{type:[String,Object],default:t||"div"}},name:s?`motion.${s}`:"Motion",setup(o,{slots:a}){const{getProps:l,getAttrs:c,state:u}=wc(o,e.renderer);function h(){const f=u.element;if((typeof o.as!="object"||o.asChild)&&f){const{style:d}=c();if(d)for(const[p,y]of Object.entries(d))f.style[p]=y}}return()=>{const f=l(),d=c(),p=o.asChild?"template":o.as,y={...o.forwardMotionProps?f:{},...d,onVnodeUpdated:h},m=Ec(p,y,a);return m!==null?m:Os(p,{...y},a)}}});return n&&i?.set(t,r),r}function Dc(t){const e=t?.renderer;return lo(t?.features||[]),new Proxy({},{get(n,s){return s==="create"?(i,r)=>ks(i,{...r,renderer:e}):ks(s,{renderer:e})}})}const Rc=Dc(mc),Te=Rc.create("div");var Lc=0;function kc(t){const e=new WeakMap,n=ao();function s(r){if(t.mode!=="popLayout")return;const o=r.offsetParent,a=o instanceof HTMLElement&&o.offsetWidth||0,l={height:r.offsetHeight||0,width:r.offsetWidth||0,top:r.offsetTop,left:r.offsetLeft,right:0};l.right=a-l.width-l.left;const c=t.anchorX==="left"?`left: ${l.left}px`:`right: ${l.right}px`,u=`pop-${Lc++}`;r.dataset.motionPopId=u;const h=document.createElement("style");n.value.nonce&&(h.nonce=n.value.nonce),e.set(r,h),document.head.appendChild(h),h.sheet&&h.sheet.insertRule(` [data-motion-pop-id="${u}"] { position: absolute !important; width: ${l.width}px !important; diff --git a/assets/CR739YIT.js b/assets/V6yV-AT3.js similarity index 92% rename from assets/CR739YIT.js rename to assets/V6yV-AT3.js index 18c1731..ff1a4d6 100644 --- a/assets/CR739YIT.js +++ b/assets/V6yV-AT3.js @@ -1 +1 @@ -import{Q as v,a0 as m,a1 as f,e as d,af as w,q as n,ac as o,s as r,f as b,c as y,am as l,o as u}from"./Sa-_S7_w.js";const C={slots:{root:"my-5",preview:"flex justify-center border border-muted relative p-4 rounded-md",code:"[&>div>pre]:rounded-t-none [&>div]:my-0"},variants:{code:{true:{preview:"border-b-0 rounded-b-none"}}}},k={__name:"ProseCodePreview",props:{class:{type:null,required:!1},ui:{type:Object,required:!1}},setup(i){const a=i,t=v(),p=m(),e=f("prose.codePreview",a),s=y(()=>l({extend:l(C),...p.ui?.prose?.codePreview||{}})({code:!!t.code}));return(c,P)=>(u(),d("div",{class:o(s.value.root({class:[r(e)?.root,a.class]}))},[w("div",{class:o(s.value.preview({class:[r(e)?.preview]}))},[n(c.$slots,"default")],2),t.code?(u(),d("div",{key:0,class:o(s.value.code({class:[r(e)?.code]}))},[n(c.$slots,"code")],2)):b("",!0)],2))}};export{k as default}; +import{Q as v,a0 as m,a1 as f,e as d,af as w,q as n,ac as o,s as r,f as b,c as y,am as l,o as u}from"./DklXDfzJ.js";const C={slots:{root:"my-5",preview:"flex justify-center border border-muted relative p-4 rounded-md",code:"[&>div>pre]:rounded-t-none [&>div]:my-0"},variants:{code:{true:{preview:"border-b-0 rounded-b-none"}}}},k={__name:"ProseCodePreview",props:{class:{type:null,required:!1},ui:{type:Object,required:!1}},setup(i){const a=i,t=v(),p=m(),e=f("prose.codePreview",a),s=y(()=>l({extend:l(C),...p.ui?.prose?.codePreview||{}})({code:!!t.code}));return(c,P)=>(u(),d("div",{class:o(s.value.root({class:[r(e)?.root,a.class]}))},[w("div",{class:o(s.value.preview({class:[r(e)?.preview]}))},[n(c.$slots,"default")],2),t.code?(u(),d("div",{key:0,class:o(s.value.code({class:[r(e)?.code]}))},[n(c.$slots,"code")],2)):b("",!0)],2))}};export{k as default}; diff --git a/assets/DjjroVRY.js b/assets/YeboR_OY.js similarity index 85% rename from assets/DjjroVRY.js rename to assets/YeboR_OY.js index 5a813eb..34a31d2 100644 --- a/assets/DjjroVRY.js +++ b/assets/YeboR_OY.js @@ -1 +1 @@ -import{a0 as r,a1 as c,e as p,q as u,ac as i,s as m,c as f,am as e,o as d}from"./Sa-_S7_w.js";const _={base:"my-1.5 ps-1.5 leading-7 [&>ul]:my-0"},b={__name:"ProseLi",props:{class:{type:null,required:!1},ui:{type:Object,required:!1}},setup(a){const s=a,o=r(),t=c("prose.li",s),l=f(()=>e({extend:e(_),...o.ui?.prose?.li||{}}));return(n,y)=>(d(),p("li",{class:i(l.value({class:[m(t)?.base,s.class]}))},[u(n.$slots,"default")],2))}};export{b as default}; +import{a0 as r,a1 as c,e as p,q as u,ac as i,s as m,c as f,am as e,o as d}from"./DklXDfzJ.js";const _={base:"my-1.5 ps-1.5 leading-7 [&>ul]:my-0"},b={__name:"ProseLi",props:{class:{type:null,required:!1},ui:{type:Object,required:!1}},setup(a){const s=a,o=r(),t=c("prose.li",s),l=f(()=>e({extend:e(_),...o.ui?.prose?.li||{}}));return(n,y)=>(d(),p("li",{class:i(l.value({class:[m(t)?.base,s.class]}))},[u(n.$slots,"default")],2))}};export{b as default}; diff --git a/assets/_ytc_FhA.js b/assets/_ytc_FhA.js new file mode 100644 index 0000000..3241398 --- /dev/null +++ b/assets/_ytc_FhA.js @@ -0,0 +1 @@ +import{_ as e}from"./DWpnoitU.js";import{aG as o,a as n,p as s,o as r,q as c}from"./DklXDfzJ.js";const _={};function f(t,l){const a=e;return r(),n(a,null,{default:s(()=>[c(t.$slots,"default")]),_:3})}const m=o(_,[["render",f]]);export{m as default}; diff --git a/assets/builds/latest.json b/assets/builds/latest.json index 878ea0e..b2e2b57 100644 --- a/assets/builds/latest.json +++ b/assets/builds/latest.json @@ -1 +1 @@ -{"id":"3bcd59e5-3446-4db1-b838-99b09adecd48","timestamp":1774613326111} \ No newline at end of file +{"id":"5fe52460-0632-42ee-9d0a-224a55658ec3","timestamp":1774613399873} \ No newline at end of file diff --git a/assets/builds/meta/3bcd59e5-3446-4db1-b838-99b09adecd48.json b/assets/builds/meta/3bcd59e5-3446-4db1-b838-99b09adecd48.json deleted file mode 100644 index ac08a33..0000000 --- a/assets/builds/meta/3bcd59e5-3446-4db1-b838-99b09adecd48.json +++ /dev/null @@ -1 +0,0 @@ -{"id":"3bcd59e5-3446-4db1-b838-99b09adecd48","timestamp":1774613326111,"prerendered":["/","/getting-started/installation","/essentials/configuration","/community/license","/getting-started/upgrading","/essentials/authorization","/essentials/attachments","/essentials/reactions","/essentials/notifications","/essentials/database-schema","/community/contributing","/essentials/mentions"]} \ No newline at end of file diff --git a/assets/builds/meta/5fe52460-0632-42ee-9d0a-224a55658ec3.json b/assets/builds/meta/5fe52460-0632-42ee-9d0a-224a55658ec3.json new file mode 100644 index 0000000..07e992f --- /dev/null +++ b/assets/builds/meta/5fe52460-0632-42ee-9d0a-224a55658ec3.json @@ -0,0 +1 @@ +{"id":"5fe52460-0632-42ee-9d0a-224a55658ec3","timestamp":1774613399873,"prerendered":["/","/getting-started/installation","/essentials/configuration","/community/license","/getting-started/upgrading","/essentials/authorization","/essentials/reactions","/essentials/notifications","/essentials/database-schema","/essentials/mentions","/essentials/attachments","/community/contributing"]} \ No newline at end of file diff --git a/assets/Ddi6dmKb.js b/assets/ddqIpjjP.js similarity index 84% rename from assets/Ddi6dmKb.js rename to assets/ddqIpjjP.js index 8f6f33f..c58b51a 100644 --- a/assets/Ddi6dmKb.js +++ b/assets/ddqIpjjP.js @@ -1 +1 @@ -import{u as p,d as m,_}from"./BuEXHZM4.js";import{d,aQ as g,aU as v,b6 as f,bb as b,s,a as C,f as y,b7 as h,b9 as x,c as I,o as w}from"./Sa-_S7_w.js";import"./BN_7HF1G.js";const R=d({__name:"landing",async setup(k){let a,t;const n=g(),{locale:u,isEnabled:c}=v(),o=I(()=>c.value?`landing_${u.value}`:"landing"),{data:e}=([a,t]=f(()=>h(o.value,()=>x(o.value).path(n.path).first(),"$28Fbc0vx8b")),a=await a,t(),a);if(!e.value)throw b({statusCode:404,statusMessage:"Page not found",fatal:!0});const l=e.value.seo?.title||e.value.title,r=e.value.seo?.description||e.value.description;return p({title:l,description:r,type:"website",ogImage:e.value?.seo?.ogImage}),e.value?.seo?.ogImage||m("Landing",{}),(A,B)=>{const i=_;return s(e)?(w(),C(i,{key:0,value:s(e)},null,8,["value"])):y("",!0)}}});export{R as default}; +import{u as p,d as m,_}from"./BAInfj29.js";import{d,aQ as g,aU as v,b6 as f,bb as b,s,a as C,f as y,b7 as h,b9 as x,c as I,o as w}from"./DklXDfzJ.js";import"./BN_7HF1G.js";const R=d({__name:"landing",async setup(k){let a,t;const n=g(),{locale:u,isEnabled:c}=v(),o=I(()=>c.value?`landing_${u.value}`:"landing"),{data:e}=([a,t]=f(()=>h(o.value,()=>x(o.value).path(n.path).first(),"$28Fbc0vx8b")),a=await a,t(),a);if(!e.value)throw b({statusCode:404,statusMessage:"Page not found",fatal:!0});const l=e.value.seo?.title||e.value.title,r=e.value.seo?.description||e.value.description;return p({title:l,description:r,type:"website",ogImage:e.value?.seo?.ogImage}),e.value?.seo?.ogImage||m("Landing",{}),(A,B)=>{const i=_;return s(e)?(w(),C(i,{key:0,value:s(e)},null,8,["value"])):y("",!0)}}});export{R as default}; diff --git a/assets/C6hkIHKO.js b/assets/iDtI4Vp4.js similarity index 74% rename from assets/C6hkIHKO.js rename to assets/iDtI4Vp4.js index b118281..2a6c1b0 100644 --- a/assets/C6hkIHKO.js +++ b/assets/iDtI4Vp4.js @@ -1 +1 @@ -import{aS as c,e as t,s as d,q as n,c as p,o as r}from"./Sa-_S7_w.js";const u=["id"],f=["href"],k={__name:"ProseH5",props:{id:{type:String,required:!1}},setup(a){const e=a,{headings:o}=c().public.mdc,i=p(()=>e.id&&(typeof o?.anchorLinks=="boolean"&&o?.anchorLinks===!0||typeof o?.anchorLinks=="object"&&o?.anchorLinks?.h5));return(s,h)=>(r(),t("h5",{id:e.id},[e.id&&d(i)?(r(),t("a",{key:0,href:`#${e.id}`},[n(s.$slots,"default")],8,f)):n(s.$slots,"default",{key:1})],8,u))}};export{k as default}; +import{aS as c,e as t,s as d,q as n,c as p,o as r}from"./DklXDfzJ.js";const u=["id"],f=["href"],k={__name:"ProseH5",props:{id:{type:String,required:!1}},setup(a){const e=a,{headings:o}=c().public.mdc,i=p(()=>e.id&&(typeof o?.anchorLinks=="boolean"&&o?.anchorLinks===!0||typeof o?.anchorLinks=="object"&&o?.anchorLinks?.h5));return(s,h)=>(r(),t("h5",{id:e.id},[e.id&&d(i)?(r(),t("a",{key:0,href:`#${e.id}`},[n(s.$slots,"default")],8,f)):n(s.$slots,"default",{key:1})],8,u))}};export{k as default}; diff --git a/assets/BeE4c48p.js b/assets/j0jMKefp.js similarity index 98% rename from assets/BeE4c48p.js rename to assets/j0jMKefp.js index fad534a..59d69b9 100644 --- a/assets/BeE4c48p.js +++ b/assets/j0jMKefp.js @@ -1 +1 @@ -import{d as b,g as V,k as M,J as m,l as B,I as $,o as _,a as y,p,q as g,s as t,P as h,v as C,O as z,z as k,G as L,aY as A,B as I,X as F,f as w,bE as P,c,w as D,bF as H,bG as O,m as E,bH as N,C as G,D as K}from"./Sa-_S7_w.js";import{R as j}from"./BB8f-fnx.js";const[q,J]=k("TabsRoot");var U=b({__name:"TabsRoot",props:{defaultValue:{type:null,required:!1},orientation:{type:String,required:!1,default:"horizontal"},dir:{type:String,required:!1},activationMode:{type:String,required:!1,default:"automatic"},modelValue:{type:null,required:!1},unmountOnHide:{type:Boolean,required:!1,default:!0},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:["update:modelValue"],setup(i,{emit:s}){const n=i,e=s,{orientation:r,unmountOnHide:u,dir:o}=V(n),a=M(o);m();const l=B(n,"modelValue",e,{defaultValue:n.defaultValue,passive:n.modelValue===void 0}),f=C(),v=z(new Set);return J({modelValue:l,changeModelValue:d=>{l.value=d},orientation:r,dir:a,unmountOnHide:u,activationMode:n.activationMode,baseId:$(void 0,"reka-tabs"),tabsList:f,contentIds:v,registerContent:d=>{v.value=new Set([...v.value,d])},unregisterContent:d=>{const T=new Set(v.value);T.delete(d),v.value=T}}),(d,T)=>(_(),y(t(h),{dir:t(a),"data-orientation":t(r),"as-child":d.asChild,as:d.as},{default:p(()=>[g(d.$slots,"default",{modelValue:t(l)})]),_:3},8,["dir","data-orientation","as-child","as"]))}}),ee=U;function S(i,s){return`${i}-trigger-${s}`}function R(i,s){return`${i}-content-${s}`}var W=b({__name:"TabsContent",props:{value:{type:[String,Number],required:!0},forceMount:{type:Boolean,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(i){const s=i,{forwardRef:n}=m(),e=q(),r=c(()=>S(e.baseId,s.value)),u=c(()=>R(e.baseId,s.value)),o=c(()=>s.value===e.modelValue.value),a=C(o.value);return L(()=>{e.registerContent(s.value),requestAnimationFrame(()=>{a.value=!1})}),A(()=>{e.unregisterContent(s.value)}),(l,f)=>(_(),y(t(P),{present:l.forceMount||o.value,"force-mount":""},{default:p(({present:v})=>[I(t(h),{id:u.value,ref:t(n),"as-child":l.asChild,as:l.as,role:"tabpanel","data-state":o.value?"active":"inactive","data-orientation":t(e).orientation.value,"aria-labelledby":r.value,hidden:!v,tabindex:"0",style:F({animationDuration:a.value?"0s":void 0})},{default:p(()=>[!t(e).unmountOnHide.value||v?g(l.$slots,"default",{key:0}):w("v-if",!0)]),_:2},1032,["id","as-child","as","data-state","data-orientation","aria-labelledby","hidden","style"])]),_:3},8,["present"]))}}),ae=W,X=b({__name:"TabsIndicator",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(i,{expose:s}){const n=i,e=q();s({updateIndicatorStyle:o}),m();const r=C({size:null,position:null}),u=C([]);D(()=>[e.modelValue.value,e?.dir.value],()=>{o()},{immediate:!0,flush:"post"}),H(()=>{u.value=Array.from(e.tabsList.value?.querySelectorAll('[role="tab"]')||[])}),O(c(()=>[e.tabsList.value,...u.value]),o);function o(){const a=e.tabsList.value?.querySelector('[role="tab"][data-state="active"]');a&&(e.orientation.value==="horizontal"?r.value={size:a.offsetWidth,position:a.offsetLeft}:r.value={size:a.offsetHeight,position:a.offsetTop})}return(a,l)=>typeof r.value.size=="number"?(_(),y(t(h),E({key:0},n,{style:{"--reka-tabs-indicator-size":`${r.value.size}px`,"--reka-tabs-indicator-position":`${r.value.position}px`}}),{default:p(()=>[g(a.$slots,"default")]),_:3},16,["style"])):w("v-if",!0)}}),te=X,Y=b({__name:"TabsList",props:{loop:{type:Boolean,required:!1,default:!0},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(i){const s=i,{loop:n}=V(s),{forwardRef:e,currentElement:r}=m(),u=q();return u.tabsList=r,(o,a)=>(_(),y(t(N),{"as-child":"",orientation:t(u).orientation.value,dir:t(u).dir.value,loop:t(n)},{default:p(()=>[I(t(h),{ref:t(e),role:"tablist","as-child":o.asChild,as:o.as,"aria-orientation":t(u).orientation.value},{default:p(()=>[g(o.$slots,"default")]),_:3},8,["as-child","as","aria-orientation"])]),_:3},8,["orientation","dir","loop"]))}}),se=Y,Q=b({__name:"TabsTrigger",props:{value:{type:[String,Number],required:!0},disabled:{type:Boolean,required:!1,default:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"button"}},setup(i){const s=i,{forwardRef:n}=m(),e=q(),r=c(()=>S(e.baseId,s.value)),u=c(()=>e.contentIds.value.has(s.value)?R(e.baseId,s.value):void 0),o=c(()=>s.value===e.modelValue.value);return(a,l)=>(_(),y(t(j),{"as-child":"",focusable:!a.disabled,active:o.value},{default:p(()=>[I(t(h),{id:r.value,ref:t(n),role:"tab",type:a.as==="button"?"button":void 0,as:a.as,"as-child":a.asChild,"aria-selected":o.value?"true":"false","aria-controls":u.value,"data-state":o.value?"active":"inactive",disabled:a.disabled,"data-disabled":a.disabled?"":void 0,"data-orientation":t(e).orientation.value,onMousedown:l[0]||(l[0]=K(f=>{!a.disabled&&f.ctrlKey===!1?t(e).changeModelValue(a.value):f.preventDefault()},["left"])),onKeydown:l[1]||(l[1]=G(f=>t(e).changeModelValue(a.value),["enter","space"])),onFocus:l[2]||(l[2]=()=>{const f=t(e).activationMode!=="manual";!o.value&&!a.disabled&&f&&t(e).changeModelValue(a.value)})},{default:p(()=>[g(a.$slots,"default")]),_:3},8,["id","type","as","as-child","aria-selected","aria-controls","data-state","disabled","data-disabled","data-orientation"])]),_:3},8,["focusable","active"]))}}),oe=Q;export{ee as T,se as a,te as b,oe as c,ae as d}; +import{d as b,g as V,k as M,J as m,l as B,I as $,o as _,a as y,p,q as g,s as t,P as h,v as C,O as z,z as k,G as L,aY as A,B as I,X as F,f as w,bE as P,c,w as D,bF as H,bG as O,m as E,bH as N,C as G,D as K}from"./DklXDfzJ.js";import{R as j}from"./BI_2AZ0T.js";const[q,J]=k("TabsRoot");var U=b({__name:"TabsRoot",props:{defaultValue:{type:null,required:!1},orientation:{type:String,required:!1,default:"horizontal"},dir:{type:String,required:!1},activationMode:{type:String,required:!1,default:"automatic"},modelValue:{type:null,required:!1},unmountOnHide:{type:Boolean,required:!1,default:!0},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:["update:modelValue"],setup(i,{emit:s}){const n=i,e=s,{orientation:r,unmountOnHide:u,dir:o}=V(n),a=M(o);m();const l=B(n,"modelValue",e,{defaultValue:n.defaultValue,passive:n.modelValue===void 0}),f=C(),v=z(new Set);return J({modelValue:l,changeModelValue:d=>{l.value=d},orientation:r,dir:a,unmountOnHide:u,activationMode:n.activationMode,baseId:$(void 0,"reka-tabs"),tabsList:f,contentIds:v,registerContent:d=>{v.value=new Set([...v.value,d])},unregisterContent:d=>{const T=new Set(v.value);T.delete(d),v.value=T}}),(d,T)=>(_(),y(t(h),{dir:t(a),"data-orientation":t(r),"as-child":d.asChild,as:d.as},{default:p(()=>[g(d.$slots,"default",{modelValue:t(l)})]),_:3},8,["dir","data-orientation","as-child","as"]))}}),ee=U;function S(i,s){return`${i}-trigger-${s}`}function R(i,s){return`${i}-content-${s}`}var W=b({__name:"TabsContent",props:{value:{type:[String,Number],required:!0},forceMount:{type:Boolean,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(i){const s=i,{forwardRef:n}=m(),e=q(),r=c(()=>S(e.baseId,s.value)),u=c(()=>R(e.baseId,s.value)),o=c(()=>s.value===e.modelValue.value),a=C(o.value);return L(()=>{e.registerContent(s.value),requestAnimationFrame(()=>{a.value=!1})}),A(()=>{e.unregisterContent(s.value)}),(l,f)=>(_(),y(t(P),{present:l.forceMount||o.value,"force-mount":""},{default:p(({present:v})=>[I(t(h),{id:u.value,ref:t(n),"as-child":l.asChild,as:l.as,role:"tabpanel","data-state":o.value?"active":"inactive","data-orientation":t(e).orientation.value,"aria-labelledby":r.value,hidden:!v,tabindex:"0",style:F({animationDuration:a.value?"0s":void 0})},{default:p(()=>[!t(e).unmountOnHide.value||v?g(l.$slots,"default",{key:0}):w("v-if",!0)]),_:2},1032,["id","as-child","as","data-state","data-orientation","aria-labelledby","hidden","style"])]),_:3},8,["present"]))}}),ae=W,X=b({__name:"TabsIndicator",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(i,{expose:s}){const n=i,e=q();s({updateIndicatorStyle:o}),m();const r=C({size:null,position:null}),u=C([]);D(()=>[e.modelValue.value,e?.dir.value],()=>{o()},{immediate:!0,flush:"post"}),H(()=>{u.value=Array.from(e.tabsList.value?.querySelectorAll('[role="tab"]')||[])}),O(c(()=>[e.tabsList.value,...u.value]),o);function o(){const a=e.tabsList.value?.querySelector('[role="tab"][data-state="active"]');a&&(e.orientation.value==="horizontal"?r.value={size:a.offsetWidth,position:a.offsetLeft}:r.value={size:a.offsetHeight,position:a.offsetTop})}return(a,l)=>typeof r.value.size=="number"?(_(),y(t(h),E({key:0},n,{style:{"--reka-tabs-indicator-size":`${r.value.size}px`,"--reka-tabs-indicator-position":`${r.value.position}px`}}),{default:p(()=>[g(a.$slots,"default")]),_:3},16,["style"])):w("v-if",!0)}}),te=X,Y=b({__name:"TabsList",props:{loop:{type:Boolean,required:!1,default:!0},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(i){const s=i,{loop:n}=V(s),{forwardRef:e,currentElement:r}=m(),u=q();return u.tabsList=r,(o,a)=>(_(),y(t(N),{"as-child":"",orientation:t(u).orientation.value,dir:t(u).dir.value,loop:t(n)},{default:p(()=>[I(t(h),{ref:t(e),role:"tablist","as-child":o.asChild,as:o.as,"aria-orientation":t(u).orientation.value},{default:p(()=>[g(o.$slots,"default")]),_:3},8,["as-child","as","aria-orientation"])]),_:3},8,["orientation","dir","loop"]))}}),se=Y,Q=b({__name:"TabsTrigger",props:{value:{type:[String,Number],required:!0},disabled:{type:Boolean,required:!1,default:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"button"}},setup(i){const s=i,{forwardRef:n}=m(),e=q(),r=c(()=>S(e.baseId,s.value)),u=c(()=>e.contentIds.value.has(s.value)?R(e.baseId,s.value):void 0),o=c(()=>s.value===e.modelValue.value);return(a,l)=>(_(),y(t(j),{"as-child":"",focusable:!a.disabled,active:o.value},{default:p(()=>[I(t(h),{id:r.value,ref:t(n),role:"tab",type:a.as==="button"?"button":void 0,as:a.as,"as-child":a.asChild,"aria-selected":o.value?"true":"false","aria-controls":u.value,"data-state":o.value?"active":"inactive",disabled:a.disabled,"data-disabled":a.disabled?"":void 0,"data-orientation":t(e).orientation.value,onMousedown:l[0]||(l[0]=K(f=>{!a.disabled&&f.ctrlKey===!1?t(e).changeModelValue(a.value):f.preventDefault()},["left"])),onKeydown:l[1]||(l[1]=G(f=>t(e).changeModelValue(a.value),["enter","space"])),onFocus:l[2]||(l[2]=()=>{const f=t(e).activationMode!=="manual";!o.value&&!a.disabled&&f&&t(e).changeModelValue(a.value)})},{default:p(()=>[g(a.$slots,"default")]),_:3},8,["id","type","as","as-child","aria-selected","aria-controls","data-state","disabled","data-disabled","data-orientation"])]),_:3},8,["focusable","active"]))}}),oe=Q;export{ee as T,se as a,te as b,oe as c,ae as d}; diff --git a/assets/CEq-pUOP.js b/assets/jg8n9eFI.js similarity index 85% rename from assets/CEq-pUOP.js rename to assets/jg8n9eFI.js index b9dbedf..1122128 100644 --- a/assets/CEq-pUOP.js +++ b/assets/jg8n9eFI.js @@ -1 +1 @@ -import{a0 as n,a1 as c,e as l,q as u,ac as i,s as m,c as f,am as s,o as d}from"./Sa-_S7_w.js";const _={base:"my-5 leading-7 text-pretty"},b={__name:"ProseP",props:{class:{type:null,required:!1},ui:{type:Object,required:!1}},setup(a){const e=a,t=n(),o=c("prose.p",e),p=f(()=>s({extend:s(_),...t.ui?.prose?.p||{}}));return(r,y)=>(d(),l("p",{class:i(p.value({class:[m(o)?.base,e.class]}))},[u(r.$slots,"default")],2))}};export{b as default}; +import{a0 as n,a1 as c,e as l,q as u,ac as i,s as m,c as f,am as s,o as d}from"./DklXDfzJ.js";const _={base:"my-5 leading-7 text-pretty"},b={__name:"ProseP",props:{class:{type:null,required:!1},ui:{type:Object,required:!1}},setup(a){const e=a,t=n(),o=c("prose.p",e),p=f(()=>s({extend:s(_),...t.ui?.prose?.p||{}}));return(r,y)=>(d(),l("p",{class:i(p.value({class:[m(o)?.base,e.class]}))},[u(r.$slots,"default")],2))}};export{b as default}; diff --git a/assets/YPsXU7de.js b/assets/neiL10X0.js similarity index 93% rename from assets/YPsXU7de.js rename to assets/neiL10X0.js index 45bde63..a006743 100644 --- a/assets/YPsXU7de.js +++ b/assets/neiL10X0.js @@ -1 +1 @@ -import{a0 as c,a1 as d,e as i,q as l,ac as u,s as p,c as b,am as r,o as m}from"./Sa-_S7_w.js";const f={base:"px-1.5 py-0.5 text-sm font-mono font-medium rounded-md inline-block",variants:{color:{primary:"border border-primary/25 bg-primary/10 text-primary",secondary:"border border-secondary/25 bg-secondary/10 text-secondary",success:"border border-success/25 bg-success/10 text-success",info:"border border-info/25 bg-info/10 text-info",warning:"border border-warning/25 bg-warning/10 text-warning",error:"border border-error/25 bg-error/10 text-error",neutral:"border border-muted text-highlighted bg-muted"}},defaultVariants:{color:"neutral"}},x={__name:"ProseCode",props:{lang:{type:String,required:!1},color:{type:null,required:!1},class:{type:null,required:!1},ui:{type:Object,required:!1}},setup(o){const e=o,s=c(),t=d("prose.code",e),a=b(()=>r({extend:r(f),...s.ui?.prose?.code||{}}));return(n,g)=>(m(),i("code",{class:u(a.value({class:[p(t)?.base,(e.class||"").split(",").join(" ")],color:e.color}))},[l(n.$slots,"default")],2))}};export{x as default}; +import{a0 as c,a1 as d,e as i,q as l,ac as u,s as p,c as b,am as r,o as m}from"./DklXDfzJ.js";const f={base:"px-1.5 py-0.5 text-sm font-mono font-medium rounded-md inline-block",variants:{color:{primary:"border border-primary/25 bg-primary/10 text-primary",secondary:"border border-secondary/25 bg-secondary/10 text-secondary",success:"border border-success/25 bg-success/10 text-success",info:"border border-info/25 bg-info/10 text-info",warning:"border border-warning/25 bg-warning/10 text-warning",error:"border border-error/25 bg-error/10 text-error",neutral:"border border-muted text-highlighted bg-muted"}},defaultVariants:{color:"neutral"}},x={__name:"ProseCode",props:{lang:{type:String,required:!1},color:{type:null,required:!1},class:{type:null,required:!1},ui:{type:Object,required:!1}},setup(o){const e=o,s=c(),t=d("prose.code",e),a=b(()=>r({extend:r(f),...s.ui?.prose?.code||{}}));return(n,g)=>(m(),i("code",{class:u(a.value({class:[p(t)?.base,(e.class||"").split(",").join(" ")],color:e.color}))},[l(n.$slots,"default")],2))}};export{x as default}; diff --git a/assets/DkGvnzxz.js b/assets/rx69X1pm.js similarity index 95% rename from assets/DkGvnzxz.js rename to assets/rx69X1pm.js index cf826bd..693247d 100644 --- a/assets/DkGvnzxz.js +++ b/assets/rx69X1pm.js @@ -1 +1 @@ -import{a0 as g,a1 as f,aS as b,e as r,ac as t,s as e,af as v,B as y,ab as x,q as d,c as u,am as p,o as h}from"./Sa-_S7_w.js";const k={slots:{base:["relative text-xl text-highlighted font-bold mt-8 mb-3 scroll-mt-[calc(32px+45px+var(--ui-header-height))] lg:scroll-mt-[calc(32px+var(--ui-header-height))] [&>a]:focus-visible:outline-primary [&>a>code]:border-dashed hover:[&>a>code]:border-primary hover:[&>a>code]:text-primary [&>a>code]:text-lg/6 [&>a>code]:font-bold","[&>a>code]:transition-colors"],leading:["absolute -ms-8 top-0.5 opacity-0 group-hover:opacity-100 group-focus:opacity-100 p-1 bg-elevated hover:text-primary rounded-md hidden lg:flex text-muted","transition"],leadingIcon:"size-4 shrink-0",link:"group lg:ps-2 lg:-ms-2"}},C=["id"],q=["href"],_={__name:"ProseH3",props:{id:{type:String,required:!1},class:{type:null,required:!1},ui:{type:Object,required:!1}},setup(a){const l=a,i=g(),s=f("prose.h3",l),{headings:n}=b().public?.mdc||{},o=u(()=>p({extend:p(k),...i.ui?.prose?.h3||{}})()),m=u(()=>l.id&&typeof n?.anchorLinks=="object"&&n.anchorLinks.h3);return(c,B)=>(h(),r("h3",{id:a.id,class:t(o.value.base({class:[e(s)?.base,l.class]}))},[a.id&&m.value?(h(),r("a",{key:0,href:`#${a.id}`,class:t(o.value.link({class:e(s)?.link}))},[v("span",{class:t(o.value.leading({class:e(s)?.leading}))},[y(x,{name:e(i).ui.icons.hash,class:t(o.value.leadingIcon({class:e(s)?.leadingIcon}))},null,8,["name","class"])],2),d(c.$slots,"default")],10,q)):d(c.$slots,"default",{key:1})],10,C))}};export{_ as default}; +import{a0 as g,a1 as f,aS as b,e as r,ac as t,s as e,af as v,B as y,ab as x,q as d,c as u,am as p,o as h}from"./DklXDfzJ.js";const k={slots:{base:["relative text-xl text-highlighted font-bold mt-8 mb-3 scroll-mt-[calc(32px+45px+var(--ui-header-height))] lg:scroll-mt-[calc(32px+var(--ui-header-height))] [&>a]:focus-visible:outline-primary [&>a>code]:border-dashed hover:[&>a>code]:border-primary hover:[&>a>code]:text-primary [&>a>code]:text-lg/6 [&>a>code]:font-bold","[&>a>code]:transition-colors"],leading:["absolute -ms-8 top-0.5 opacity-0 group-hover:opacity-100 group-focus:opacity-100 p-1 bg-elevated hover:text-primary rounded-md hidden lg:flex text-muted","transition"],leadingIcon:"size-4 shrink-0",link:"group lg:ps-2 lg:-ms-2"}},C=["id"],q=["href"],_={__name:"ProseH3",props:{id:{type:String,required:!1},class:{type:null,required:!1},ui:{type:Object,required:!1}},setup(a){const l=a,i=g(),s=f("prose.h3",l),{headings:n}=b().public?.mdc||{},o=u(()=>p({extend:p(k),...i.ui?.prose?.h3||{}})()),m=u(()=>l.id&&typeof n?.anchorLinks=="object"&&n.anchorLinks.h3);return(c,B)=>(h(),r("h3",{id:a.id,class:t(o.value.base({class:[e(s)?.base,l.class]}))},[a.id&&m.value?(h(),r("a",{key:0,href:`#${a.id}`,class:t(o.value.link({class:e(s)?.link}))},[v("span",{class:t(o.value.leading({class:e(s)?.leading}))},[y(x,{name:e(i).ui.icons.hash,class:t(o.value.leadingIcon({class:e(s)?.leadingIcon}))},null,8,["name","class"])],2),d(c.$slots,"default")],10,q)):d(c.$slots,"default",{key:1})],10,C))}};export{_ as default}; diff --git a/assets/B6ew2NSL.js b/assets/tUdKOItG.js similarity index 96% rename from assets/B6ew2NSL.js rename to assets/tUdKOItG.js index 49ad3f8..29aa4f3 100644 --- a/assets/B6ew2NSL.js +++ b/assets/tUdKOItG.js @@ -1 +1 @@ -import{a0 as b,a1 as a,e as l,q as h,ac as i,s as u,c,am as r,o as p}from"./Sa-_S7_w.js";const d={base:"ms-4 border-s border-default ps-8 [counter-reset:step]",variants:{level:{2:"[&>h2]:[counter-increment:step] [&>h2]:relative [&>h2]:before:absolute [&>h2]:before:size-8 [&>h2]:before:bg-elevated [&>h2]:before:rounded-full [&>h2]:before:font-semibold [&>h2]:before:text-sm [&>h2]:before:tabular-nums [&>h2]:before:inline-flex [&>h2]:before:items-center [&>h2]:before:justify-center [&>h2]:before:ring-4 [&>h2]:before:ring-bg [&>h2]:before:-ms-[48.5px] [&>h2]:before:-mt-0 [&>h2]:before:content-[counter(step)] [&>h2>a>span.absolute]:hidden",3:"[&>h3]:[counter-increment:step] [&>h3]:relative [&>h3]:before:absolute [&>h3]:before:size-7 [&>h3]:before:inset-x-0.5 [&>h3]:before:bg-elevated [&>h3]:before:rounded-full [&>h3]:before:font-semibold [&>h3]:before:text-sm [&>h3]:before:tabular-nums [&>h3]:before:inline-flex [&>h3]:before:items-center [&>h3]:before:justify-center [&>h3]:before:ring-4 [&>h3]:before:ring-bg [&>h3]:before:-ms-[48.5px] [&>h3]:before:content-[counter(step)] [&>h3>a>span.absolute]:hidden",4:"[&>h4]:[counter-increment:step] [&>h4]:relative [&>h4]:before:absolute [&>h4]:before:size-7 [&>h4]:before:inset-x-0.5 [&>h4]:before:bg-elevated [&>h4]:before:rounded-full [&>h4]:before:font-semibold [&>h4]:before:text-sm [&>h4]:before:tabular-nums [&>h4]:before:inline-flex [&>h4]:before:items-center [&>h4]:before:justify-center [&>h4]:before:ring-4 [&>h4]:before:ring-bg [&>h4]:before:-ms-[48.5px] [&>h4]:before:content-[counter(step)] [&>h4>a>span.absolute]:hidden"}},defaultVariants:{level:"3"}},g={__name:"ProseSteps",props:{level:{type:null,required:!1},class:{type:null,required:!1},ui:{type:Object,required:!1}},setup(o){const e=o,t=b(),s=a("prose.steps",e),n=c(()=>r({extend:r(d),...t.ui?.prose?.steps||{}}));return(f,m)=>(p(),l("div",{class:i(n.value({class:[u(s)?.base,e.class],level:e.level}))},[h(f.$slots,"default")],2))}};export{g as default}; +import{a0 as b,a1 as a,e as l,q as h,ac as i,s as u,c,am as r,o as p}from"./DklXDfzJ.js";const d={base:"ms-4 border-s border-default ps-8 [counter-reset:step]",variants:{level:{2:"[&>h2]:[counter-increment:step] [&>h2]:relative [&>h2]:before:absolute [&>h2]:before:size-8 [&>h2]:before:bg-elevated [&>h2]:before:rounded-full [&>h2]:before:font-semibold [&>h2]:before:text-sm [&>h2]:before:tabular-nums [&>h2]:before:inline-flex [&>h2]:before:items-center [&>h2]:before:justify-center [&>h2]:before:ring-4 [&>h2]:before:ring-bg [&>h2]:before:-ms-[48.5px] [&>h2]:before:-mt-0 [&>h2]:before:content-[counter(step)] [&>h2>a>span.absolute]:hidden",3:"[&>h3]:[counter-increment:step] [&>h3]:relative [&>h3]:before:absolute [&>h3]:before:size-7 [&>h3]:before:inset-x-0.5 [&>h3]:before:bg-elevated [&>h3]:before:rounded-full [&>h3]:before:font-semibold [&>h3]:before:text-sm [&>h3]:before:tabular-nums [&>h3]:before:inline-flex [&>h3]:before:items-center [&>h3]:before:justify-center [&>h3]:before:ring-4 [&>h3]:before:ring-bg [&>h3]:before:-ms-[48.5px] [&>h3]:before:content-[counter(step)] [&>h3>a>span.absolute]:hidden",4:"[&>h4]:[counter-increment:step] [&>h4]:relative [&>h4]:before:absolute [&>h4]:before:size-7 [&>h4]:before:inset-x-0.5 [&>h4]:before:bg-elevated [&>h4]:before:rounded-full [&>h4]:before:font-semibold [&>h4]:before:text-sm [&>h4]:before:tabular-nums [&>h4]:before:inline-flex [&>h4]:before:items-center [&>h4]:before:justify-center [&>h4]:before:ring-4 [&>h4]:before:ring-bg [&>h4]:before:-ms-[48.5px] [&>h4]:before:content-[counter(step)] [&>h4>a>span.absolute]:hidden"}},defaultVariants:{level:"3"}},g={__name:"ProseSteps",props:{level:{type:null,required:!1},class:{type:null,required:!1},ui:{type:Object,required:!1}},setup(o){const e=o,t=b(),s=a("prose.steps",e),n=c(()=>r({extend:r(d),...t.ui?.prose?.steps||{}}));return(f,m)=>(p(),l("div",{class:i(n.value({class:[u(s)?.base,e.class],level:e.level}))},[h(f.$slots,"default")],2))}};export{g as default}; diff --git a/community/contributing.html b/community/contributing.html index b3afab8..ffd7142 100644 --- a/community/contributing.html +++ b/community/contributing.html @@ -94,7 +94,7 @@ --ui-warning: var(--ui-color-warning-400); --ui-error: var(--ui-color-error-400); } -}Contributing - Comments
Comments Logo
1.x
Community

Contributing

How to contribute to Comments

Quick Start

  1. Fork the repository
  2. Create a feature branch
  3. Make your changes
  4. Run tests: composer test
  5. Submit a pull request

Guidelines

  • Follow the existing code style
  • Add tests for new features
  • Update documentation as needed
  • One feature per pull request

Development Commands

# Run tests
+}Contributing - Comments
Comments Logo
1.x
Community

Contributing

How to contribute to Comments

Quick Start

  1. Fork the repository
  2. Create a feature branch
  3. Make your changes
  4. Run tests: composer test
  5. Submit a pull request

Guidelines

  • Follow the existing code style
  • Add tests for new features
  • Update documentation as needed
  • One feature per pull request

Development Commands

# Run tests
 composer test
 
 # Format code
@@ -102,4 +102,4 @@
 
 # Static analysis
 composer analyse
-

Need Help?

Copyright © 2026
\ No newline at end of file +

Need Help?

Copyright © 2026
\ No newline at end of file diff --git a/community/contributing/_payload.json b/community/contributing/_payload.json index f949861..c8310d4 100644 --- a/community/contributing/_payload.json +++ b/community/contributing/_payload.json @@ -1 +1 @@ -[{"data":1,"prerenderedAt":262},["ShallowReactive",2],{"navigation_docs":3,"-community-contributing":75,"-community-contributing-surround":257},[4,20,60],{"title":5,"icon":6,"path":7,"stem":8,"children":9,"page":6},"Getting Started",false,"\u002Fgetting-started","1.getting-started",[10,15],{"title":11,"path":12,"stem":13,"icon":14},"Installation","\u002Fgetting-started\u002Finstallation","1.getting-started\u002F1.installation","i-lucide-download",{"title":16,"path":17,"stem":18,"icon":19},"Upgrading","\u002Fgetting-started\u002Fupgrading","1.getting-started\u002F2.upgrading","i-lucide-arrow-up-circle",{"title":21,"path":22,"stem":23,"children":24,"page":6},"Essentials","\u002Fessentials","2.essentials",[25,30,35,40,45,50,55],{"title":26,"path":27,"stem":28,"icon":29},"Configuration","\u002Fessentials\u002Fconfiguration","2.essentials\u002F1.configuration","i-lucide-settings",{"title":31,"path":32,"stem":33,"icon":34},"Authorization","\u002Fessentials\u002Fauthorization","2.essentials\u002F2.authorization","i-lucide-shield",{"title":36,"path":37,"stem":38,"icon":39},"Mentions","\u002Fessentials\u002Fmentions","2.essentials\u002F3.mentions","i-lucide-at-sign",{"title":41,"path":42,"stem":43,"icon":44},"Reactions","\u002Fessentials\u002Freactions","2.essentials\u002F4.reactions","i-lucide-smile",{"title":46,"path":47,"stem":48,"icon":49},"Attachments","\u002Fessentials\u002Fattachments","2.essentials\u002F5.attachments","i-lucide-paperclip",{"title":51,"path":52,"stem":53,"icon":54},"Notifications","\u002Fessentials\u002Fnotifications","2.essentials\u002F6.notifications","i-lucide-bell",{"title":56,"path":57,"stem":58,"icon":59},"Database Schema","\u002Fessentials\u002Fdatabase-schema","2.essentials\u002F7.database-schema","i-lucide-database",{"title":61,"path":62,"stem":63,"children":64,"page":6},"Community","\u002Fcommunity","4.community",[65,70],{"title":66,"path":67,"stem":68,"icon":69},"Contributing","\u002Fcommunity\u002Fcontributing","4.community\u002F1.contributing","i-lucide-heart-handshake",{"title":71,"path":72,"stem":73,"icon":74},"License","\u002Fcommunity\u002Flicense","4.community\u002F2.license","i-lucide-scale",{"id":76,"title":66,"body":77,"description":250,"extension":251,"links":252,"meta":253,"navigation":254,"path":67,"seo":255,"stem":68,"__hash__":256},"docs\u002F4.community\u002F1.contributing.md",{"type":78,"value":79,"toc":244},"minimark",[80,85,124,128,143,147,216,220,240],[81,82,84],"h2",{"id":83},"quick-start","Quick Start",[86,87,88,96,102,108,118],"ol",{},[89,90,91,95],"li",{},[92,93,94],"strong",{},"Fork"," the repository",[89,97,98,101],{},[92,99,100],{},"Create"," a feature branch",[89,103,104,107],{},[92,105,106],{},"Make"," your changes",[89,109,110,113,114],{},[92,111,112],{},"Run"," tests: ",[115,116,117],"code",{},"composer test",[89,119,120,123],{},[92,121,122],{},"Submit"," a pull request",[81,125,127],{"id":126},"guidelines","Guidelines",[129,130,131,134,137,140],"ul",{},[89,132,133],{},"Follow the existing code style",[89,135,136],{},"Add tests for new features",[89,138,139],{},"Update documentation as needed",[89,141,142],{},"One feature per pull request",[81,144,146],{"id":145},"development-commands","Development Commands",[148,149,154],"pre",{"className":150,"code":151,"language":152,"meta":153,"style":153},"language-bash shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","# Run tests\ncomposer test\n\n# Format code\ncomposer pint\n\n# Static analysis\ncomposer analyse\n","bash","",[115,155,156,165,176,183,189,197,202,208],{"__ignoreMap":153},[157,158,161],"span",{"class":159,"line":160},"line",1,[157,162,164],{"class":163},"sHwdD","# Run tests\n",[157,166,168,172],{"class":159,"line":167},2,[157,169,171],{"class":170},"sBMFI","composer",[157,173,175],{"class":174},"sfazB"," test\n",[157,177,179],{"class":159,"line":178},3,[157,180,182],{"emptyLinePlaceholder":181},true,"\n",[157,184,186],{"class":159,"line":185},4,[157,187,188],{"class":163},"# Format code\n",[157,190,192,194],{"class":159,"line":191},5,[157,193,171],{"class":170},[157,195,196],{"class":174}," pint\n",[157,198,200],{"class":159,"line":199},6,[157,201,182],{"emptyLinePlaceholder":181},[157,203,205],{"class":159,"line":204},7,[157,206,207],{"class":163},"# Static analysis\n",[157,209,211,213],{"class":159,"line":210},8,[157,212,171],{"class":170},[157,214,215],{"class":174}," analyse\n",[81,217,219],{"id":218},"need-help","Need Help?",[129,221,222,232],{},[89,223,224,231],{},[225,226,230],"a",{"href":227,"rel":228},"https:\u002F\u002Fgithub.com\u002Frelaticle\u002Fcomments\u002Fissues",[229],"nofollow","Open an issue"," for bugs or questions",[89,233,234,235,239],{},"Check ",[225,236,238],{"href":227,"rel":237},[229],"existing issues"," first",[241,242,243],"style",{},"html pre.shiki code .sHwdD, html code.shiki .sHwdD{--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#546E7A;--shiki-default-font-style:italic;--shiki-dark:#676E95;--shiki-dark-font-style:italic}html pre.shiki code .sBMFI, html code.shiki .sBMFI{--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B}html pre.shiki code .sfazB, html code.shiki .sfazB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":153,"searchDepth":167,"depth":167,"links":245},[246,247,248,249],{"id":83,"depth":167,"text":84},{"id":126,"depth":167,"text":127},{"id":145,"depth":167,"text":146},{"id":218,"depth":167,"text":219},"How to contribute to Comments","md",null,{},{"icon":69},{"title":66,"description":250},"WizyvP9psZ6kzi7GfqkI0Riqpld0llpTEbjKit0RwM0",[258,260],{"title":56,"path":57,"stem":58,"description":259,"icon":59,"children":-1},"Tables, relationships, and indexes used by the Comments package.",{"title":71,"path":72,"stem":73,"description":261,"icon":74,"children":-1},"MIT License terms and what it means for you",1774613361671] \ No newline at end of file +[{"data":1,"prerenderedAt":262},["ShallowReactive",2],{"navigation_docs":3,"-community-contributing":75,"-community-contributing-surround":257},[4,20,60],{"title":5,"icon":6,"path":7,"stem":8,"children":9,"page":6},"Getting Started",false,"\u002Fgetting-started","1.getting-started",[10,15],{"title":11,"path":12,"stem":13,"icon":14},"Installation","\u002Fgetting-started\u002Finstallation","1.getting-started\u002F1.installation","i-lucide-download",{"title":16,"path":17,"stem":18,"icon":19},"Upgrading","\u002Fgetting-started\u002Fupgrading","1.getting-started\u002F2.upgrading","i-lucide-arrow-up-circle",{"title":21,"path":22,"stem":23,"children":24,"page":6},"Essentials","\u002Fessentials","2.essentials",[25,30,35,40,45,50,55],{"title":26,"path":27,"stem":28,"icon":29},"Configuration","\u002Fessentials\u002Fconfiguration","2.essentials\u002F1.configuration","i-lucide-settings",{"title":31,"path":32,"stem":33,"icon":34},"Authorization","\u002Fessentials\u002Fauthorization","2.essentials\u002F2.authorization","i-lucide-shield",{"title":36,"path":37,"stem":38,"icon":39},"Mentions","\u002Fessentials\u002Fmentions","2.essentials\u002F3.mentions","i-lucide-at-sign",{"title":41,"path":42,"stem":43,"icon":44},"Reactions","\u002Fessentials\u002Freactions","2.essentials\u002F4.reactions","i-lucide-smile",{"title":46,"path":47,"stem":48,"icon":49},"Attachments","\u002Fessentials\u002Fattachments","2.essentials\u002F5.attachments","i-lucide-paperclip",{"title":51,"path":52,"stem":53,"icon":54},"Notifications","\u002Fessentials\u002Fnotifications","2.essentials\u002F6.notifications","i-lucide-bell",{"title":56,"path":57,"stem":58,"icon":59},"Database Schema","\u002Fessentials\u002Fdatabase-schema","2.essentials\u002F7.database-schema","i-lucide-database",{"title":61,"path":62,"stem":63,"children":64,"page":6},"Community","\u002Fcommunity","4.community",[65,70],{"title":66,"path":67,"stem":68,"icon":69},"Contributing","\u002Fcommunity\u002Fcontributing","4.community\u002F1.contributing","i-lucide-heart-handshake",{"title":71,"path":72,"stem":73,"icon":74},"License","\u002Fcommunity\u002Flicense","4.community\u002F2.license","i-lucide-scale",{"id":76,"title":66,"body":77,"description":250,"extension":251,"links":252,"meta":253,"navigation":254,"path":67,"seo":255,"stem":68,"__hash__":256},"docs\u002F4.community\u002F1.contributing.md",{"type":78,"value":79,"toc":244},"minimark",[80,85,124,128,143,147,216,220,240],[81,82,84],"h2",{"id":83},"quick-start","Quick Start",[86,87,88,96,102,108,118],"ol",{},[89,90,91,95],"li",{},[92,93,94],"strong",{},"Fork"," the repository",[89,97,98,101],{},[92,99,100],{},"Create"," a feature branch",[89,103,104,107],{},[92,105,106],{},"Make"," your changes",[89,109,110,113,114],{},[92,111,112],{},"Run"," tests: ",[115,116,117],"code",{},"composer test",[89,119,120,123],{},[92,121,122],{},"Submit"," a pull request",[81,125,127],{"id":126},"guidelines","Guidelines",[129,130,131,134,137,140],"ul",{},[89,132,133],{},"Follow the existing code style",[89,135,136],{},"Add tests for new features",[89,138,139],{},"Update documentation as needed",[89,141,142],{},"One feature per pull request",[81,144,146],{"id":145},"development-commands","Development Commands",[148,149,154],"pre",{"className":150,"code":151,"language":152,"meta":153,"style":153},"language-bash shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","# Run tests\ncomposer test\n\n# Format code\ncomposer pint\n\n# Static analysis\ncomposer analyse\n","bash","",[115,155,156,165,176,183,189,197,202,208],{"__ignoreMap":153},[157,158,161],"span",{"class":159,"line":160},"line",1,[157,162,164],{"class":163},"sHwdD","# Run tests\n",[157,166,168,172],{"class":159,"line":167},2,[157,169,171],{"class":170},"sBMFI","composer",[157,173,175],{"class":174},"sfazB"," test\n",[157,177,179],{"class":159,"line":178},3,[157,180,182],{"emptyLinePlaceholder":181},true,"\n",[157,184,186],{"class":159,"line":185},4,[157,187,188],{"class":163},"# Format code\n",[157,190,192,194],{"class":159,"line":191},5,[157,193,171],{"class":170},[157,195,196],{"class":174}," pint\n",[157,198,200],{"class":159,"line":199},6,[157,201,182],{"emptyLinePlaceholder":181},[157,203,205],{"class":159,"line":204},7,[157,206,207],{"class":163},"# Static analysis\n",[157,209,211,213],{"class":159,"line":210},8,[157,212,171],{"class":170},[157,214,215],{"class":174}," analyse\n",[81,217,219],{"id":218},"need-help","Need Help?",[129,221,222,232],{},[89,223,224,231],{},[225,226,230],"a",{"href":227,"rel":228},"https:\u002F\u002Fgithub.com\u002Frelaticle\u002Fcomments\u002Fissues",[229],"nofollow","Open an issue"," for bugs or questions",[89,233,234,235,239],{},"Check ",[225,236,238],{"href":227,"rel":237},[229],"existing issues"," first",[241,242,243],"style",{},"html pre.shiki code .sHwdD, html code.shiki .sHwdD{--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#546E7A;--shiki-default-font-style:italic;--shiki-dark:#676E95;--shiki-dark-font-style:italic}html pre.shiki code .sBMFI, html code.shiki .sBMFI{--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B}html pre.shiki code .sfazB, html code.shiki .sfazB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":153,"searchDepth":167,"depth":167,"links":245},[246,247,248,249],{"id":83,"depth":167,"text":84},{"id":126,"depth":167,"text":127},{"id":145,"depth":167,"text":146},{"id":218,"depth":167,"text":219},"How to contribute to Comments","md",null,{},{"icon":69},{"title":66,"description":250},"WizyvP9psZ6kzi7GfqkI0Riqpld0llpTEbjKit0RwM0",[258,260],{"title":56,"path":57,"stem":58,"description":259,"icon":59,"children":-1},"Tables, relationships, and indexes used by the Comments package.",{"title":71,"path":72,"stem":73,"description":261,"icon":74,"children":-1},"MIT License terms and what it means for you",1774613434788] \ No newline at end of file diff --git a/community/license.html b/community/license.html index 0a644c9..747c9a0 100644 --- a/community/license.html +++ b/community/license.html @@ -94,7 +94,7 @@ --ui-warning: var(--ui-color-warning-400); --ui-error: var(--ui-color-error-400); } -}License - Comments
Comments Logo
1.x
Community

License

MIT License terms and what it means for you

MIT License

Copyright (c) Relaticle
+}License - Comments
Comments Logo
1.x
Community

License

MIT License terms and what it means for you

MIT License

Copyright (c) Relaticle
 
 Permission is hereby granted, free of charge, to any person obtaining a copy
 of this software and associated documentation files (the "Software"), to deal
@@ -116,4 +116,4 @@ THE SOFTWARE.
 

What This Means

You can use Comments in commercial projects. You can modify and distribute it. You can use it in closed source projects. -You can sell applications that include it.

Just include the license notice in your copy.

Copyright © 2026
\ No newline at end of file +You can sell applications that include it.

Just include the license notice in your copy.

Copyright © 2026
\ No newline at end of file diff --git a/community/license/_payload.json b/community/license/_payload.json index c523b7e..d51b40d 100644 --- a/community/license/_payload.json +++ b/community/license/_payload.json @@ -1 +1 @@ -[{"data":1,"prerenderedAt":136},["ShallowReactive",2],{"navigation_docs":3,"-community-license":75,"-community-license-surround":133},[4,20,60],{"title":5,"icon":6,"path":7,"stem":8,"children":9,"page":6},"Getting Started",false,"\u002Fgetting-started","1.getting-started",[10,15],{"title":11,"path":12,"stem":13,"icon":14},"Installation","\u002Fgetting-started\u002Finstallation","1.getting-started\u002F1.installation","i-lucide-download",{"title":16,"path":17,"stem":18,"icon":19},"Upgrading","\u002Fgetting-started\u002Fupgrading","1.getting-started\u002F2.upgrading","i-lucide-arrow-up-circle",{"title":21,"path":22,"stem":23,"children":24,"page":6},"Essentials","\u002Fessentials","2.essentials",[25,30,35,40,45,50,55],{"title":26,"path":27,"stem":28,"icon":29},"Configuration","\u002Fessentials\u002Fconfiguration","2.essentials\u002F1.configuration","i-lucide-settings",{"title":31,"path":32,"stem":33,"icon":34},"Authorization","\u002Fessentials\u002Fauthorization","2.essentials\u002F2.authorization","i-lucide-shield",{"title":36,"path":37,"stem":38,"icon":39},"Mentions","\u002Fessentials\u002Fmentions","2.essentials\u002F3.mentions","i-lucide-at-sign",{"title":41,"path":42,"stem":43,"icon":44},"Reactions","\u002Fessentials\u002Freactions","2.essentials\u002F4.reactions","i-lucide-smile",{"title":46,"path":47,"stem":48,"icon":49},"Attachments","\u002Fessentials\u002Fattachments","2.essentials\u002F5.attachments","i-lucide-paperclip",{"title":51,"path":52,"stem":53,"icon":54},"Notifications","\u002Fessentials\u002Fnotifications","2.essentials\u002F6.notifications","i-lucide-bell",{"title":56,"path":57,"stem":58,"icon":59},"Database Schema","\u002Fessentials\u002Fdatabase-schema","2.essentials\u002F7.database-schema","i-lucide-database",{"title":61,"path":62,"stem":63,"children":64,"page":6},"Community","\u002Fcommunity","4.community",[65,70],{"title":66,"path":67,"stem":68,"icon":69},"Contributing","\u002Fcommunity\u002Fcontributing","4.community\u002F1.contributing","i-lucide-heart-handshake",{"title":71,"path":72,"stem":73,"icon":74},"License","\u002Fcommunity\u002Flicense","4.community\u002F2.license","i-lucide-scale",{"id":76,"title":71,"body":77,"description":126,"extension":127,"links":128,"meta":129,"navigation":130,"path":72,"seo":131,"stem":73,"__hash__":132},"docs\u002F4.community\u002F2.license.md",{"type":78,"value":79,"toc":121},"minimark",[80,85,96,100,118],[81,82,84],"h2",{"id":83},"mit-license","MIT License",[86,87,92],"pre",{"className":88,"code":90,"language":91},[89],"language-text","Copyright (c) Relaticle\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and\u002For sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in\nall copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\nTHE SOFTWARE.\n","text",[93,94,90],"code",{"__ignoreMap":95},"",[81,97,99],{"id":98},"what-this-means","What This Means",[101,102,103,104,108,109,111,112,114,115,117],"p",{},"You ",[105,106,107],"strong",{},"can"," use Comments in commercial projects.\nYou ",[105,110,107],{}," modify and distribute it.\nYou ",[105,113,107],{}," use it in closed source projects.\nYou ",[105,116,107],{}," sell applications that include it.",[101,119,120],{},"Just include the license notice in your copy.",{"title":95,"searchDepth":122,"depth":122,"links":123},2,[124,125],{"id":83,"depth":122,"text":84},{"id":98,"depth":122,"text":99},"MIT License terms and what it means for you","md",null,{},{"icon":74},{"title":71,"description":126},"0vOJT-zB-Vz0zBt_oMaewM8TIacFMi_ctus0AaWjZAI",[134,128],{"title":66,"path":67,"stem":68,"description":135,"icon":69,"children":-1},"How to contribute to Comments",1774613361672] \ No newline at end of file +[{"data":1,"prerenderedAt":136},["ShallowReactive",2],{"navigation_docs":3,"-community-license":75,"-community-license-surround":133},[4,20,60],{"title":5,"icon":6,"path":7,"stem":8,"children":9,"page":6},"Getting Started",false,"\u002Fgetting-started","1.getting-started",[10,15],{"title":11,"path":12,"stem":13,"icon":14},"Installation","\u002Fgetting-started\u002Finstallation","1.getting-started\u002F1.installation","i-lucide-download",{"title":16,"path":17,"stem":18,"icon":19},"Upgrading","\u002Fgetting-started\u002Fupgrading","1.getting-started\u002F2.upgrading","i-lucide-arrow-up-circle",{"title":21,"path":22,"stem":23,"children":24,"page":6},"Essentials","\u002Fessentials","2.essentials",[25,30,35,40,45,50,55],{"title":26,"path":27,"stem":28,"icon":29},"Configuration","\u002Fessentials\u002Fconfiguration","2.essentials\u002F1.configuration","i-lucide-settings",{"title":31,"path":32,"stem":33,"icon":34},"Authorization","\u002Fessentials\u002Fauthorization","2.essentials\u002F2.authorization","i-lucide-shield",{"title":36,"path":37,"stem":38,"icon":39},"Mentions","\u002Fessentials\u002Fmentions","2.essentials\u002F3.mentions","i-lucide-at-sign",{"title":41,"path":42,"stem":43,"icon":44},"Reactions","\u002Fessentials\u002Freactions","2.essentials\u002F4.reactions","i-lucide-smile",{"title":46,"path":47,"stem":48,"icon":49},"Attachments","\u002Fessentials\u002Fattachments","2.essentials\u002F5.attachments","i-lucide-paperclip",{"title":51,"path":52,"stem":53,"icon":54},"Notifications","\u002Fessentials\u002Fnotifications","2.essentials\u002F6.notifications","i-lucide-bell",{"title":56,"path":57,"stem":58,"icon":59},"Database Schema","\u002Fessentials\u002Fdatabase-schema","2.essentials\u002F7.database-schema","i-lucide-database",{"title":61,"path":62,"stem":63,"children":64,"page":6},"Community","\u002Fcommunity","4.community",[65,70],{"title":66,"path":67,"stem":68,"icon":69},"Contributing","\u002Fcommunity\u002Fcontributing","4.community\u002F1.contributing","i-lucide-heart-handshake",{"title":71,"path":72,"stem":73,"icon":74},"License","\u002Fcommunity\u002Flicense","4.community\u002F2.license","i-lucide-scale",{"id":76,"title":71,"body":77,"description":126,"extension":127,"links":128,"meta":129,"navigation":130,"path":72,"seo":131,"stem":73,"__hash__":132},"docs\u002F4.community\u002F2.license.md",{"type":78,"value":79,"toc":121},"minimark",[80,85,96,100,118],[81,82,84],"h2",{"id":83},"mit-license","MIT License",[86,87,92],"pre",{"className":88,"code":90,"language":91},[89],"language-text","Copyright (c) Relaticle\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and\u002For sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in\nall copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\nTHE SOFTWARE.\n","text",[93,94,90],"code",{"__ignoreMap":95},"",[81,97,99],{"id":98},"what-this-means","What This Means",[101,102,103,104,108,109,111,112,114,115,117],"p",{},"You ",[105,106,107],"strong",{},"can"," use Comments in commercial projects.\nYou ",[105,110,107],{}," modify and distribute it.\nYou ",[105,113,107],{}," use it in closed source projects.\nYou ",[105,116,107],{}," sell applications that include it.",[101,119,120],{},"Just include the license notice in your copy.",{"title":95,"searchDepth":122,"depth":122,"links":123},2,[124,125],{"id":83,"depth":122,"text":84},{"id":98,"depth":122,"text":99},"MIT License terms and what it means for you","md",null,{},{"icon":74},{"title":71,"description":126},"0vOJT-zB-Vz0zBt_oMaewM8TIacFMi_ctus0AaWjZAI",[134,128],{"title":66,"path":67,"stem":68,"description":135,"icon":69,"children":-1},"How to contribute to Comments",1774613434788] \ No newline at end of file diff --git a/essentials/attachments.html b/essentials/attachments.html index 3f2741a..fde3ee3 100644 --- a/essentials/attachments.html +++ b/essentials/attachments.html @@ -94,7 +94,7 @@ --ui-warning: var(--ui-color-warning-400); --ui-error: var(--ui-color-error-400); } -}Attachments - Comments
Comments Logo
1.x
Essentials

Attachments

File uploads for comments.

Overview

Comments support file attachments for both images and documents. Images are displayed inline within the comment body, while documents appear as downloadable links.

Configuration

// config/comments.php
+}Attachments - Comments
Comments Logo
1.x
Essentials

Attachments

File uploads for comments.

Overview

Comments support file attachments for both images and documents. Images are displayed inline within the comment body, while documents appear as downloadable links.

Configuration

// config/comments.php
 'attachments' => [
     'enabled' => true,
     'disk' => 'public',
@@ -116,4 +116,4 @@
 

This removes the file upload UI from the comment form entirely.

Storage

Attachments are stored via Livewire's file upload mechanism. Each attachment record tracks:

  • file_path -- Path on the configured disk
  • original_name -- Original filename for display
  • mime_type -- MIME type for rendering decisions
  • size -- File size in bytes
  • disk -- Storage disk name

When a comment is deleted, its attachments are cascade deleted from the database. The physical files are removed from the disk.

Helper Methods

The Attachment model (Relaticle\Comments\Models\Attachment) provides:

$attachment->isImage();       // Check if attachment is an image
 $attachment->url();           // Get the storage URL
 $attachment->formattedSize(); // Human-readable size (e.g., "2.5 MB")
-
Copyright © 2026
\ No newline at end of file +
Copyright © 2026
\ No newline at end of file diff --git a/essentials/attachments/_payload.json b/essentials/attachments/_payload.json index c19ce3a..95e0897 100644 --- a/essentials/attachments/_payload.json +++ b/essentials/attachments/_payload.json @@ -1 +1 @@ -[{"data":1,"prerenderedAt":573},["ShallowReactive",2],{"navigation_docs":3,"-essentials-attachments":75,"-essentials-attachments-surround":568},[4,20,60],{"title":5,"icon":6,"path":7,"stem":8,"children":9,"page":6},"Getting Started",false,"\u002Fgetting-started","1.getting-started",[10,15],{"title":11,"path":12,"stem":13,"icon":14},"Installation","\u002Fgetting-started\u002Finstallation","1.getting-started\u002F1.installation","i-lucide-download",{"title":16,"path":17,"stem":18,"icon":19},"Upgrading","\u002Fgetting-started\u002Fupgrading","1.getting-started\u002F2.upgrading","i-lucide-arrow-up-circle",{"title":21,"path":22,"stem":23,"children":24,"page":6},"Essentials","\u002Fessentials","2.essentials",[25,30,35,40,45,50,55],{"title":26,"path":27,"stem":28,"icon":29},"Configuration","\u002Fessentials\u002Fconfiguration","2.essentials\u002F1.configuration","i-lucide-settings",{"title":31,"path":32,"stem":33,"icon":34},"Authorization","\u002Fessentials\u002Fauthorization","2.essentials\u002F2.authorization","i-lucide-shield",{"title":36,"path":37,"stem":38,"icon":39},"Mentions","\u002Fessentials\u002Fmentions","2.essentials\u002F3.mentions","i-lucide-at-sign",{"title":41,"path":42,"stem":43,"icon":44},"Reactions","\u002Fessentials\u002Freactions","2.essentials\u002F4.reactions","i-lucide-smile",{"title":46,"path":47,"stem":48,"icon":49},"Attachments","\u002Fessentials\u002Fattachments","2.essentials\u002F5.attachments","i-lucide-paperclip",{"title":51,"path":52,"stem":53,"icon":54},"Notifications","\u002Fessentials\u002Fnotifications","2.essentials\u002F6.notifications","i-lucide-bell",{"title":56,"path":57,"stem":58,"icon":59},"Database Schema","\u002Fessentials\u002Fdatabase-schema","2.essentials\u002F7.database-schema","i-lucide-database",{"title":61,"path":62,"stem":63,"children":64,"page":6},"Community","\u002Fcommunity","4.community",[65,70],{"title":66,"path":67,"stem":68,"icon":69},"Contributing","\u002Fcommunity\u002Fcontributing","4.community\u002F1.contributing","i-lucide-heart-handshake",{"title":71,"path":72,"stem":73,"icon":74},"License","\u002Fcommunity\u002Flicense","4.community\u002F2.license","i-lucide-scale",{"id":76,"title":46,"body":77,"description":560,"extension":561,"links":562,"meta":563,"navigation":564,"path":47,"seo":565,"stem":48,"__hash__":567},"docs\u002F2.essentials\u002F5.attachments.md",{"type":78,"value":79,"toc":553},"minimark",[80,85,89,92,314,391,395,429,432,436,439,472,475,479,490,549],[81,82,84],"h2",{"id":83},"overview","Overview",[86,87,88],"p",{},"Comments support file attachments for both images and documents. Images are displayed inline within the comment body, while documents appear as downloadable links.",[81,90,26],{"id":91},"configuration",[93,94,99],"pre",{"className":95,"code":96,"language":97,"meta":98,"style":98},"language-php shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","\u002F\u002F config\u002Fcomments.php\n'attachments' => [\n 'enabled' => true,\n 'disk' => 'public',\n 'max_size' => 10240, \u002F\u002F KB (10 MB)\n 'allowed_types' => [\n 'image\u002Fjpeg',\n 'image\u002Fpng',\n 'image\u002Fgif',\n 'image\u002Fwebp',\n 'application\u002Fpdf',\n 'text\u002Fplain',\n 'application\u002Fmsword',\n 'application\u002Fvnd.openxmlformats-officedocument.wordprocessingml.document',\n ],\n],\n","php","",[100,101,102,111,130,146,169,191,205,218,230,242,254,266,278,290,302,308],"code",{"__ignoreMap":98},[103,104,107],"span",{"class":105,"line":106},"line",1,[103,108,110],{"class":109},"sHwdD","\u002F\u002F config\u002Fcomments.php\n",[103,112,114,118,122,124,127],{"class":105,"line":113},2,[103,115,117],{"class":116},"sMK4o","'",[103,119,121],{"class":120},"sfazB","attachments",[103,123,117],{"class":116},[103,125,126],{"class":116}," =>",[103,128,129],{"class":116}," [\n",[103,131,133,136,139,141,143],{"class":105,"line":132},3,[103,134,135],{"class":116}," '",[103,137,138],{"class":120},"enabled",[103,140,117],{"class":116},[103,142,126],{"class":116},[103,144,145],{"class":116}," true,\n",[103,147,149,151,154,156,158,161,164,166],{"class":105,"line":148},4,[103,150,135],{"class":116},[103,152,153],{"class":120},"disk",[103,155,117],{"class":116},[103,157,126],{"class":116},[103,159,160],{"class":116}," '",[103,162,163],{"class":120},"public",[103,165,117],{"class":116},[103,167,168],{"class":116},",\n",[103,170,172,174,177,179,181,185,188],{"class":105,"line":171},5,[103,173,135],{"class":116},[103,175,176],{"class":120},"max_size",[103,178,117],{"class":116},[103,180,126],{"class":116},[103,182,184],{"class":183},"sbssI"," 10240",[103,186,187],{"class":116},",",[103,189,190],{"class":109}," \u002F\u002F KB (10 MB)\n",[103,192,194,196,199,201,203],{"class":105,"line":193},6,[103,195,135],{"class":116},[103,197,198],{"class":120},"allowed_types",[103,200,117],{"class":116},[103,202,126],{"class":116},[103,204,129],{"class":116},[103,206,208,211,214,216],{"class":105,"line":207},7,[103,209,210],{"class":116}," '",[103,212,213],{"class":120},"image\u002Fjpeg",[103,215,117],{"class":116},[103,217,168],{"class":116},[103,219,221,223,226,228],{"class":105,"line":220},8,[103,222,210],{"class":116},[103,224,225],{"class":120},"image\u002Fpng",[103,227,117],{"class":116},[103,229,168],{"class":116},[103,231,233,235,238,240],{"class":105,"line":232},9,[103,234,210],{"class":116},[103,236,237],{"class":120},"image\u002Fgif",[103,239,117],{"class":116},[103,241,168],{"class":116},[103,243,245,247,250,252],{"class":105,"line":244},10,[103,246,210],{"class":116},[103,248,249],{"class":120},"image\u002Fwebp",[103,251,117],{"class":116},[103,253,168],{"class":116},[103,255,257,259,262,264],{"class":105,"line":256},11,[103,258,210],{"class":116},[103,260,261],{"class":120},"application\u002Fpdf",[103,263,117],{"class":116},[103,265,168],{"class":116},[103,267,269,271,274,276],{"class":105,"line":268},12,[103,270,210],{"class":116},[103,272,273],{"class":120},"text\u002Fplain",[103,275,117],{"class":116},[103,277,168],{"class":116},[103,279,281,283,286,288],{"class":105,"line":280},13,[103,282,210],{"class":116},[103,284,285],{"class":120},"application\u002Fmsword",[103,287,117],{"class":116},[103,289,168],{"class":116},[103,291,293,295,298,300],{"class":105,"line":292},14,[103,294,210],{"class":116},[103,296,297],{"class":120},"application\u002Fvnd.openxmlformats-officedocument.wordprocessingml.document",[103,299,117],{"class":116},[103,301,168],{"class":116},[103,303,305],{"class":105,"line":304},15,[103,306,307],{"class":116}," ],\n",[103,309,311],{"class":105,"line":310},16,[103,312,313],{"class":116},"],\n",[315,316,317,333],"table",{},[318,319,320],"thead",{},[321,322,323,327,330],"tr",{},[324,325,326],"th",{},"Key",[324,328,329],{},"Default",[324,331,332],{},"Description",[334,335,336,351,365,379],"tbody",{},[321,337,338,343,348],{},[339,340,341],"td",{},[100,342,138],{},[339,344,345],{},[100,346,347],{},"true",[339,349,350],{},"Show\u002Fhide the attachment upload UI",[321,352,353,357,362],{},[339,354,355],{},[100,356,153],{},[339,358,359],{},[100,360,361],{},"'public'",[339,363,364],{},"Laravel filesystem disk for storage",[321,366,367,371,376],{},[339,368,369],{},[100,370,176],{},[339,372,373],{},[100,374,375],{},"10240",[339,377,378],{},"Maximum file size in kilobytes",[321,380,381,385,388],{},[339,382,383],{},[100,384,198],{},[339,386,387],{},"images, pdf, text, word",[339,389,390],{},"Array of allowed MIME types",[81,392,394],{"id":393},"disabling-attachments","Disabling Attachments",[93,396,398],{"className":95,"code":397,"language":97,"meta":98,"style":98},"'attachments' => [\n 'enabled' => false,\n],\n",[100,399,400,412,425],{"__ignoreMap":98},[103,401,402,404,406,408,410],{"class":105,"line":106},[103,403,117],{"class":116},[103,405,121],{"class":120},[103,407,117],{"class":116},[103,409,126],{"class":116},[103,411,129],{"class":116},[103,413,414,416,418,420,422],{"class":105,"line":113},[103,415,135],{"class":116},[103,417,138],{"class":120},[103,419,117],{"class":116},[103,421,126],{"class":116},[103,423,424],{"class":116}," false,\n",[103,426,427],{"class":105,"line":132},[103,428,313],{"class":116},[86,430,431],{},"This removes the file upload UI from the comment form entirely.",[81,433,435],{"id":434},"storage","Storage",[86,437,438],{},"Attachments are stored via Livewire's file upload mechanism. Each attachment record tracks:",[440,441,442,449,455,461,467],"ul",{},[443,444,445,448],"li",{},[100,446,447],{},"file_path"," -- Path on the configured disk",[443,450,451,454],{},[100,452,453],{},"original_name"," -- Original filename for display",[443,456,457,460],{},[100,458,459],{},"mime_type"," -- MIME type for rendering decisions",[443,462,463,466],{},[100,464,465],{},"size"," -- File size in bytes",[443,468,469,471],{},[100,470,153],{}," -- Storage disk name",[86,473,474],{},"When a comment is deleted, its attachments are cascade deleted from the database. The physical files are removed from the disk.",[81,476,478],{"id":477},"helper-methods","Helper Methods",[86,480,481,482,485,486,489],{},"The ",[100,483,484],{},"Attachment"," model (",[100,487,488],{},"Relaticle\\Comments\\Models\\Attachment",") provides:",[93,491,493],{"className":95,"code":492,"language":97,"meta":98,"style":98},"$attachment->isImage(); \u002F\u002F Check if attachment is an image\n$attachment->url(); \u002F\u002F Get the storage URL\n$attachment->formattedSize(); \u002F\u002F Human-readable size (e.g., \"2.5 MB\")\n",[100,494,495,517,533],{"__ignoreMap":98},[103,496,497,500,504,507,511,514],{"class":105,"line":106},[103,498,499],{"class":116},"$",[103,501,503],{"class":502},"sTEyZ","attachment",[103,505,506],{"class":116},"->",[103,508,510],{"class":509},"s2Zo4","isImage",[103,512,513],{"class":116},"();",[103,515,516],{"class":109}," \u002F\u002F Check if attachment is an image\n",[103,518,519,521,523,525,528,530],{"class":105,"line":113},[103,520,499],{"class":116},[103,522,503],{"class":502},[103,524,506],{"class":116},[103,526,527],{"class":509},"url",[103,529,513],{"class":116},[103,531,532],{"class":109}," \u002F\u002F Get the storage URL\n",[103,534,535,537,539,541,544,546],{"class":105,"line":132},[103,536,499],{"class":116},[103,538,503],{"class":502},[103,540,506],{"class":116},[103,542,543],{"class":509},"formattedSize",[103,545,513],{"class":116},[103,547,548],{"class":109}," \u002F\u002F Human-readable size (e.g., \"2.5 MB\")\n",[550,551,552],"style",{},"html pre.shiki code .sHwdD, html code.shiki .sHwdD{--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#546E7A;--shiki-default-font-style:italic;--shiki-dark:#676E95;--shiki-dark-font-style:italic}html pre.shiki code .sMK4o, html code.shiki .sMK4o{--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF}html pre.shiki code .sfazB, html code.shiki .sfazB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}html pre.shiki code .sbssI, html code.shiki .sbssI{--shiki-light:#F76D47;--shiki-default:#F78C6C;--shiki-dark:#F78C6C}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html pre.shiki code .sTEyZ, html code.shiki .sTEyZ{--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8}html pre.shiki code .s2Zo4, html code.shiki .s2Zo4{--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF}",{"title":98,"searchDepth":113,"depth":113,"links":554},[555,556,557,558,559],{"id":83,"depth":113,"text":84},{"id":91,"depth":113,"text":26},{"id":393,"depth":113,"text":394},{"id":434,"depth":113,"text":435},{"id":477,"depth":113,"text":478},"File uploads for comments.","md",null,{},{"icon":49},{"description":566,"title":46},"Configure file attachments for comments.","2i1KLeQ5uOjOTMP7h7xx9NSEndac1lmqjdxX9lCW-k4",[569,571],{"title":41,"path":42,"stem":43,"description":570,"icon":44,"children":-1},"Emoji reactions on comments.",{"title":51,"path":52,"stem":53,"description":572,"icon":54,"children":-1},"Comment notifications, subscriptions, and real-time updates.",1774613361671] \ No newline at end of file +[{"data":1,"prerenderedAt":573},["ShallowReactive",2],{"navigation_docs":3,"-essentials-attachments":75,"-essentials-attachments-surround":568},[4,20,60],{"title":5,"icon":6,"path":7,"stem":8,"children":9,"page":6},"Getting Started",false,"\u002Fgetting-started","1.getting-started",[10,15],{"title":11,"path":12,"stem":13,"icon":14},"Installation","\u002Fgetting-started\u002Finstallation","1.getting-started\u002F1.installation","i-lucide-download",{"title":16,"path":17,"stem":18,"icon":19},"Upgrading","\u002Fgetting-started\u002Fupgrading","1.getting-started\u002F2.upgrading","i-lucide-arrow-up-circle",{"title":21,"path":22,"stem":23,"children":24,"page":6},"Essentials","\u002Fessentials","2.essentials",[25,30,35,40,45,50,55],{"title":26,"path":27,"stem":28,"icon":29},"Configuration","\u002Fessentials\u002Fconfiguration","2.essentials\u002F1.configuration","i-lucide-settings",{"title":31,"path":32,"stem":33,"icon":34},"Authorization","\u002Fessentials\u002Fauthorization","2.essentials\u002F2.authorization","i-lucide-shield",{"title":36,"path":37,"stem":38,"icon":39},"Mentions","\u002Fessentials\u002Fmentions","2.essentials\u002F3.mentions","i-lucide-at-sign",{"title":41,"path":42,"stem":43,"icon":44},"Reactions","\u002Fessentials\u002Freactions","2.essentials\u002F4.reactions","i-lucide-smile",{"title":46,"path":47,"stem":48,"icon":49},"Attachments","\u002Fessentials\u002Fattachments","2.essentials\u002F5.attachments","i-lucide-paperclip",{"title":51,"path":52,"stem":53,"icon":54},"Notifications","\u002Fessentials\u002Fnotifications","2.essentials\u002F6.notifications","i-lucide-bell",{"title":56,"path":57,"stem":58,"icon":59},"Database Schema","\u002Fessentials\u002Fdatabase-schema","2.essentials\u002F7.database-schema","i-lucide-database",{"title":61,"path":62,"stem":63,"children":64,"page":6},"Community","\u002Fcommunity","4.community",[65,70],{"title":66,"path":67,"stem":68,"icon":69},"Contributing","\u002Fcommunity\u002Fcontributing","4.community\u002F1.contributing","i-lucide-heart-handshake",{"title":71,"path":72,"stem":73,"icon":74},"License","\u002Fcommunity\u002Flicense","4.community\u002F2.license","i-lucide-scale",{"id":76,"title":46,"body":77,"description":560,"extension":561,"links":562,"meta":563,"navigation":564,"path":47,"seo":565,"stem":48,"__hash__":567},"docs\u002F2.essentials\u002F5.attachments.md",{"type":78,"value":79,"toc":553},"minimark",[80,85,89,92,314,391,395,429,432,436,439,472,475,479,490,549],[81,82,84],"h2",{"id":83},"overview","Overview",[86,87,88],"p",{},"Comments support file attachments for both images and documents. Images are displayed inline within the comment body, while documents appear as downloadable links.",[81,90,26],{"id":91},"configuration",[93,94,99],"pre",{"className":95,"code":96,"language":97,"meta":98,"style":98},"language-php shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","\u002F\u002F config\u002Fcomments.php\n'attachments' => [\n 'enabled' => true,\n 'disk' => 'public',\n 'max_size' => 10240, \u002F\u002F KB (10 MB)\n 'allowed_types' => [\n 'image\u002Fjpeg',\n 'image\u002Fpng',\n 'image\u002Fgif',\n 'image\u002Fwebp',\n 'application\u002Fpdf',\n 'text\u002Fplain',\n 'application\u002Fmsword',\n 'application\u002Fvnd.openxmlformats-officedocument.wordprocessingml.document',\n ],\n],\n","php","",[100,101,102,111,130,146,169,191,205,218,230,242,254,266,278,290,302,308],"code",{"__ignoreMap":98},[103,104,107],"span",{"class":105,"line":106},"line",1,[103,108,110],{"class":109},"sHwdD","\u002F\u002F config\u002Fcomments.php\n",[103,112,114,118,122,124,127],{"class":105,"line":113},2,[103,115,117],{"class":116},"sMK4o","'",[103,119,121],{"class":120},"sfazB","attachments",[103,123,117],{"class":116},[103,125,126],{"class":116}," =>",[103,128,129],{"class":116}," [\n",[103,131,133,136,139,141,143],{"class":105,"line":132},3,[103,134,135],{"class":116}," '",[103,137,138],{"class":120},"enabled",[103,140,117],{"class":116},[103,142,126],{"class":116},[103,144,145],{"class":116}," true,\n",[103,147,149,151,154,156,158,161,164,166],{"class":105,"line":148},4,[103,150,135],{"class":116},[103,152,153],{"class":120},"disk",[103,155,117],{"class":116},[103,157,126],{"class":116},[103,159,160],{"class":116}," '",[103,162,163],{"class":120},"public",[103,165,117],{"class":116},[103,167,168],{"class":116},",\n",[103,170,172,174,177,179,181,185,188],{"class":105,"line":171},5,[103,173,135],{"class":116},[103,175,176],{"class":120},"max_size",[103,178,117],{"class":116},[103,180,126],{"class":116},[103,182,184],{"class":183},"sbssI"," 10240",[103,186,187],{"class":116},",",[103,189,190],{"class":109}," \u002F\u002F KB (10 MB)\n",[103,192,194,196,199,201,203],{"class":105,"line":193},6,[103,195,135],{"class":116},[103,197,198],{"class":120},"allowed_types",[103,200,117],{"class":116},[103,202,126],{"class":116},[103,204,129],{"class":116},[103,206,208,211,214,216],{"class":105,"line":207},7,[103,209,210],{"class":116}," '",[103,212,213],{"class":120},"image\u002Fjpeg",[103,215,117],{"class":116},[103,217,168],{"class":116},[103,219,221,223,226,228],{"class":105,"line":220},8,[103,222,210],{"class":116},[103,224,225],{"class":120},"image\u002Fpng",[103,227,117],{"class":116},[103,229,168],{"class":116},[103,231,233,235,238,240],{"class":105,"line":232},9,[103,234,210],{"class":116},[103,236,237],{"class":120},"image\u002Fgif",[103,239,117],{"class":116},[103,241,168],{"class":116},[103,243,245,247,250,252],{"class":105,"line":244},10,[103,246,210],{"class":116},[103,248,249],{"class":120},"image\u002Fwebp",[103,251,117],{"class":116},[103,253,168],{"class":116},[103,255,257,259,262,264],{"class":105,"line":256},11,[103,258,210],{"class":116},[103,260,261],{"class":120},"application\u002Fpdf",[103,263,117],{"class":116},[103,265,168],{"class":116},[103,267,269,271,274,276],{"class":105,"line":268},12,[103,270,210],{"class":116},[103,272,273],{"class":120},"text\u002Fplain",[103,275,117],{"class":116},[103,277,168],{"class":116},[103,279,281,283,286,288],{"class":105,"line":280},13,[103,282,210],{"class":116},[103,284,285],{"class":120},"application\u002Fmsword",[103,287,117],{"class":116},[103,289,168],{"class":116},[103,291,293,295,298,300],{"class":105,"line":292},14,[103,294,210],{"class":116},[103,296,297],{"class":120},"application\u002Fvnd.openxmlformats-officedocument.wordprocessingml.document",[103,299,117],{"class":116},[103,301,168],{"class":116},[103,303,305],{"class":105,"line":304},15,[103,306,307],{"class":116}," ],\n",[103,309,311],{"class":105,"line":310},16,[103,312,313],{"class":116},"],\n",[315,316,317,333],"table",{},[318,319,320],"thead",{},[321,322,323,327,330],"tr",{},[324,325,326],"th",{},"Key",[324,328,329],{},"Default",[324,331,332],{},"Description",[334,335,336,351,365,379],"tbody",{},[321,337,338,343,348],{},[339,340,341],"td",{},[100,342,138],{},[339,344,345],{},[100,346,347],{},"true",[339,349,350],{},"Show\u002Fhide the attachment upload UI",[321,352,353,357,362],{},[339,354,355],{},[100,356,153],{},[339,358,359],{},[100,360,361],{},"'public'",[339,363,364],{},"Laravel filesystem disk for storage",[321,366,367,371,376],{},[339,368,369],{},[100,370,176],{},[339,372,373],{},[100,374,375],{},"10240",[339,377,378],{},"Maximum file size in kilobytes",[321,380,381,385,388],{},[339,382,383],{},[100,384,198],{},[339,386,387],{},"images, pdf, text, word",[339,389,390],{},"Array of allowed MIME types",[81,392,394],{"id":393},"disabling-attachments","Disabling Attachments",[93,396,398],{"className":95,"code":397,"language":97,"meta":98,"style":98},"'attachments' => [\n 'enabled' => false,\n],\n",[100,399,400,412,425],{"__ignoreMap":98},[103,401,402,404,406,408,410],{"class":105,"line":106},[103,403,117],{"class":116},[103,405,121],{"class":120},[103,407,117],{"class":116},[103,409,126],{"class":116},[103,411,129],{"class":116},[103,413,414,416,418,420,422],{"class":105,"line":113},[103,415,135],{"class":116},[103,417,138],{"class":120},[103,419,117],{"class":116},[103,421,126],{"class":116},[103,423,424],{"class":116}," false,\n",[103,426,427],{"class":105,"line":132},[103,428,313],{"class":116},[86,430,431],{},"This removes the file upload UI from the comment form entirely.",[81,433,435],{"id":434},"storage","Storage",[86,437,438],{},"Attachments are stored via Livewire's file upload mechanism. Each attachment record tracks:",[440,441,442,449,455,461,467],"ul",{},[443,444,445,448],"li",{},[100,446,447],{},"file_path"," -- Path on the configured disk",[443,450,451,454],{},[100,452,453],{},"original_name"," -- Original filename for display",[443,456,457,460],{},[100,458,459],{},"mime_type"," -- MIME type for rendering decisions",[443,462,463,466],{},[100,464,465],{},"size"," -- File size in bytes",[443,468,469,471],{},[100,470,153],{}," -- Storage disk name",[86,473,474],{},"When a comment is deleted, its attachments are cascade deleted from the database. The physical files are removed from the disk.",[81,476,478],{"id":477},"helper-methods","Helper Methods",[86,480,481,482,485,486,489],{},"The ",[100,483,484],{},"Attachment"," model (",[100,487,488],{},"Relaticle\\Comments\\Models\\Attachment",") provides:",[93,491,493],{"className":95,"code":492,"language":97,"meta":98,"style":98},"$attachment->isImage(); \u002F\u002F Check if attachment is an image\n$attachment->url(); \u002F\u002F Get the storage URL\n$attachment->formattedSize(); \u002F\u002F Human-readable size (e.g., \"2.5 MB\")\n",[100,494,495,517,533],{"__ignoreMap":98},[103,496,497,500,504,507,511,514],{"class":105,"line":106},[103,498,499],{"class":116},"$",[103,501,503],{"class":502},"sTEyZ","attachment",[103,505,506],{"class":116},"->",[103,508,510],{"class":509},"s2Zo4","isImage",[103,512,513],{"class":116},"();",[103,515,516],{"class":109}," \u002F\u002F Check if attachment is an image\n",[103,518,519,521,523,525,528,530],{"class":105,"line":113},[103,520,499],{"class":116},[103,522,503],{"class":502},[103,524,506],{"class":116},[103,526,527],{"class":509},"url",[103,529,513],{"class":116},[103,531,532],{"class":109}," \u002F\u002F Get the storage URL\n",[103,534,535,537,539,541,544,546],{"class":105,"line":132},[103,536,499],{"class":116},[103,538,503],{"class":502},[103,540,506],{"class":116},[103,542,543],{"class":509},"formattedSize",[103,545,513],{"class":116},[103,547,548],{"class":109}," \u002F\u002F Human-readable size (e.g., \"2.5 MB\")\n",[550,551,552],"style",{},"html pre.shiki code .sHwdD, html code.shiki .sHwdD{--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#546E7A;--shiki-default-font-style:italic;--shiki-dark:#676E95;--shiki-dark-font-style:italic}html pre.shiki code .sMK4o, html code.shiki .sMK4o{--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF}html pre.shiki code .sfazB, html code.shiki .sfazB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}html pre.shiki code .sbssI, html code.shiki .sbssI{--shiki-light:#F76D47;--shiki-default:#F78C6C;--shiki-dark:#F78C6C}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html pre.shiki code .sTEyZ, html code.shiki .sTEyZ{--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8}html pre.shiki code .s2Zo4, html code.shiki .s2Zo4{--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF}",{"title":98,"searchDepth":113,"depth":113,"links":554},[555,556,557,558,559],{"id":83,"depth":113,"text":84},{"id":91,"depth":113,"text":26},{"id":393,"depth":113,"text":394},{"id":434,"depth":113,"text":435},{"id":477,"depth":113,"text":478},"File uploads for comments.","md",null,{},{"icon":49},{"description":566,"title":46},"Configure file attachments for comments.","2i1KLeQ5uOjOTMP7h7xx9NSEndac1lmqjdxX9lCW-k4",[569,571],{"title":41,"path":42,"stem":43,"description":570,"icon":44,"children":-1},"Emoji reactions on comments.",{"title":51,"path":52,"stem":53,"description":572,"icon":54,"children":-1},"Comment notifications, subscriptions, and real-time updates.",1774613434788] \ No newline at end of file diff --git a/essentials/authorization.html b/essentials/authorization.html index 3476eab..d75fc58 100644 --- a/essentials/authorization.html +++ b/essentials/authorization.html @@ -94,7 +94,7 @@ --ui-warning: var(--ui-color-warning-400); --ui-error: var(--ui-color-error-400); } -}Authorization - Comments
Comments Logo
1.x
Essentials

Authorization

Control who can create, edit, delete, and reply to comments.

Default Policy

The built-in CommentPolicy provides sensible defaults:

MethodDefaultDescription
viewAny()trueEveryone can view comments
create()trueEveryone can create comments
update()Owner onlyOnly the comment author can edit
delete()Owner onlyOnly the comment author can delete
reply()Depth checkCan reply if max_depth not exceeded

Custom Policy

Create your own policy to customize authorization:

namespace App\Policies;
+}Authorization - Comments
Comments Logo
1.x
Essentials

Authorization

Control who can create, edit, delete, and reply to comments.

Default Policy

The built-in CommentPolicy provides sensible defaults:

MethodDefaultDescription
viewAny()trueEveryone can view comments
create()trueEveryone can create comments
update()Owner onlyOnly the comment author can edit
delete()Owner onlyOnly the comment author can delete
reply()Depth checkCan reply if max_depth not exceeded

Custom Policy

Create your own policy to customize authorization:

namespace App\Policies;
 
 use Relaticle\Comments\Models\Comment;
 use Relaticle\Comments\Contracts\Commentator;
@@ -130,4 +130,4 @@
 }
 

Register it in your config:

// config/comments.php
 'policy' => App\Policies\CustomCommentPolicy::class,
-

How Authorization Works

The Livewire components check the policy before rendering action buttons. Edit and delete buttons only appear for authorized users. Reply buttons are hidden when the thread has reached the configured max_depth.

The policy is registered automatically by the service provider using Laravel's Gate system.

Copyright © 2026
\ No newline at end of file +

How Authorization Works

The Livewire components check the policy before rendering action buttons. Edit and delete buttons only appear for authorized users. Reply buttons are hidden when the thread has reached the configured max_depth.

The policy is registered automatically by the service provider using Laravel's Gate system.

Copyright © 2026
\ No newline at end of file diff --git a/essentials/authorization/_payload.json b/essentials/authorization/_payload.json index b7d0763..67e2549 100644 --- a/essentials/authorization/_payload.json +++ b/essentials/authorization/_payload.json @@ -1 +1 @@ -[{"data":1,"prerenderedAt":754},["ShallowReactive",2],{"navigation_docs":3,"-essentials-authorization":75,"-essentials-authorization-surround":749},[4,20,60],{"title":5,"icon":6,"path":7,"stem":8,"children":9,"page":6},"Getting Started",false,"\u002Fgetting-started","1.getting-started",[10,15],{"title":11,"path":12,"stem":13,"icon":14},"Installation","\u002Fgetting-started\u002Finstallation","1.getting-started\u002F1.installation","i-lucide-download",{"title":16,"path":17,"stem":18,"icon":19},"Upgrading","\u002Fgetting-started\u002Fupgrading","1.getting-started\u002F2.upgrading","i-lucide-arrow-up-circle",{"title":21,"path":22,"stem":23,"children":24,"page":6},"Essentials","\u002Fessentials","2.essentials",[25,30,35,40,45,50,55],{"title":26,"path":27,"stem":28,"icon":29},"Configuration","\u002Fessentials\u002Fconfiguration","2.essentials\u002F1.configuration","i-lucide-settings",{"title":31,"path":32,"stem":33,"icon":34},"Authorization","\u002Fessentials\u002Fauthorization","2.essentials\u002F2.authorization","i-lucide-shield",{"title":36,"path":37,"stem":38,"icon":39},"Mentions","\u002Fessentials\u002Fmentions","2.essentials\u002F3.mentions","i-lucide-at-sign",{"title":41,"path":42,"stem":43,"icon":44},"Reactions","\u002Fessentials\u002Freactions","2.essentials\u002F4.reactions","i-lucide-smile",{"title":46,"path":47,"stem":48,"icon":49},"Attachments","\u002Fessentials\u002Fattachments","2.essentials\u002F5.attachments","i-lucide-paperclip",{"title":51,"path":52,"stem":53,"icon":54},"Notifications","\u002Fessentials\u002Fnotifications","2.essentials\u002F6.notifications","i-lucide-bell",{"title":56,"path":57,"stem":58,"icon":59},"Database Schema","\u002Fessentials\u002Fdatabase-schema","2.essentials\u002F7.database-schema","i-lucide-database",{"title":61,"path":62,"stem":63,"children":64,"page":6},"Community","\u002Fcommunity","4.community",[65,70],{"title":66,"path":67,"stem":68,"icon":69},"Contributing","\u002Fcommunity\u002Fcontributing","4.community\u002F1.contributing","i-lucide-heart-handshake",{"title":71,"path":72,"stem":73,"icon":74},"License","\u002Fcommunity\u002Flicense","4.community\u002F2.license","i-lucide-scale",{"id":76,"title":31,"body":77,"description":741,"extension":742,"links":743,"meta":744,"navigation":745,"path":32,"seo":746,"stem":33,"__hash__":748},"docs\u002F2.essentials\u002F2.authorization.md",{"type":78,"value":79,"toc":736},"minimark",[80,85,94,188,192,195,674,677,719,723,729,732],[81,82,84],"h2",{"id":83},"default-policy","Default Policy",[86,87,88,89,93],"p",{},"The built-in ",[90,91,92],"code",{},"CommentPolicy"," provides sensible defaults:",[95,96,97,113],"table",{},[98,99,100],"thead",{},[101,102,103,107,110],"tr",{},[104,105,106],"th",{},"Method",[104,108,109],{},"Default",[104,111,112],{},"Description",[114,115,116,132,146,159,171],"tbody",{},[101,117,118,124,129],{},[119,120,121],"td",{},[90,122,123],{},"viewAny()",[119,125,126],{},[90,127,128],{},"true",[119,130,131],{},"Everyone can view comments",[101,133,134,139,143],{},[119,135,136],{},[90,137,138],{},"create()",[119,140,141],{},[90,142,128],{},[119,144,145],{},"Everyone can create comments",[101,147,148,153,156],{},[119,149,150],{},[90,151,152],{},"update()",[119,154,155],{},"Owner only",[119,157,158],{},"Only the comment author can edit",[101,160,161,166,168],{},[119,162,163],{},[90,164,165],{},"delete()",[119,167,155],{},[119,169,170],{},"Only the comment author can delete",[101,172,173,178,181],{},[119,174,175],{},[90,176,177],{},"reply()",[119,179,180],{},"Depth check",[119,182,183,184,187],{},"Can reply if ",[90,185,186],{},"max_depth"," not exceeded",[81,189,191],{"id":190},"custom-policy","Custom Policy",[86,193,194],{},"Create your own policy to customize authorization:",[196,197,202],"pre",{"className":198,"code":199,"language":200,"meta":201,"style":201},"language-php shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","namespace App\\Policies;\n\nuse Relaticle\\Comments\\Models\\Comment;\nuse Relaticle\\Comments\\Contracts\\Commentator;\n\nclass CustomCommentPolicy\n{\n public function viewAny(Commentator $user): bool\n {\n return true;\n }\n\n public function create(Commentator $user): bool\n {\n return true;\n }\n\n public function update(Commentator $user, Comment $comment): bool\n {\n return $comment->commenter_id === $user->getKey()\n && $comment->commenter_type === $user->getMorphClass();\n }\n\n public function delete(Commentator $user, Comment $comment): bool\n {\n return $comment->commenter_id === $user->getKey()\n || $user->hasRole('admin');\n }\n\n public function reply(Commentator $user, Comment $comment): bool\n {\n return $comment->canReply();\n }\n}\n","php","",[90,203,204,227,234,261,284,289,299,305,335,341,351,357,362,384,389,396,401,406,439,444,474,503,508,513,543,548,573,602,607,612,642,647,663,668],{"__ignoreMap":201},[205,206,209,213,217,221,224],"span",{"class":207,"line":208},"line",1,[205,210,212],{"class":211},"sbssI","namespace",[205,214,216],{"class":215},"sBMFI"," App",[205,218,220],{"class":219},"sMK4o","\\",[205,222,223],{"class":215},"Policies",[205,225,226],{"class":219},";\n",[205,228,230],{"class":207,"line":229},2,[205,231,233],{"emptyLinePlaceholder":232},true,"\n",[205,235,237,240,244,246,249,251,254,256,259],{"class":207,"line":236},3,[205,238,239],{"class":211},"use",[205,241,243],{"class":242},"sTEyZ"," Relaticle",[205,245,220],{"class":219},[205,247,248],{"class":242},"Comments",[205,250,220],{"class":219},[205,252,253],{"class":242},"Models",[205,255,220],{"class":219},[205,257,258],{"class":242},"Comment",[205,260,226],{"class":219},[205,262,264,266,268,270,272,274,277,279,282],{"class":207,"line":263},4,[205,265,239],{"class":211},[205,267,243],{"class":242},[205,269,220],{"class":219},[205,271,248],{"class":242},[205,273,220],{"class":219},[205,275,276],{"class":242},"Contracts",[205,278,220],{"class":219},[205,280,281],{"class":242},"Commentator",[205,283,226],{"class":219},[205,285,287],{"class":207,"line":286},5,[205,288,233],{"emptyLinePlaceholder":232},[205,290,292,296],{"class":207,"line":291},6,[205,293,295],{"class":294},"spNyl","class",[205,297,298],{"class":215}," CustomCommentPolicy\n",[205,300,302],{"class":207,"line":301},7,[205,303,304],{"class":219},"{\n",[205,306,308,311,314,318,321,323,326,329,332],{"class":207,"line":307},8,[205,309,310],{"class":294}," public",[205,312,313],{"class":294}," function",[205,315,317],{"class":316},"s2Zo4"," viewAny",[205,319,320],{"class":219},"(",[205,322,281],{"class":215},[205,324,325],{"class":219}," $",[205,327,328],{"class":242},"user",[205,330,331],{"class":219},"):",[205,333,334],{"class":211}," bool\n",[205,336,338],{"class":207,"line":337},9,[205,339,340],{"class":219}," {\n",[205,342,344,348],{"class":207,"line":343},10,[205,345,347],{"class":346},"s7zQu"," return",[205,349,350],{"class":219}," true;\n",[205,352,354],{"class":207,"line":353},11,[205,355,356],{"class":219}," }\n",[205,358,360],{"class":207,"line":359},12,[205,361,233],{"emptyLinePlaceholder":232},[205,363,365,367,369,372,374,376,378,380,382],{"class":207,"line":364},13,[205,366,310],{"class":294},[205,368,313],{"class":294},[205,370,371],{"class":316}," create",[205,373,320],{"class":219},[205,375,281],{"class":215},[205,377,325],{"class":219},[205,379,328],{"class":242},[205,381,331],{"class":219},[205,383,334],{"class":211},[205,385,387],{"class":207,"line":386},14,[205,388,340],{"class":219},[205,390,392,394],{"class":207,"line":391},15,[205,393,347],{"class":346},[205,395,350],{"class":219},[205,397,399],{"class":207,"line":398},16,[205,400,356],{"class":219},[205,402,404],{"class":207,"line":403},17,[205,405,233],{"emptyLinePlaceholder":232},[205,407,409,411,413,416,418,420,422,424,427,430,432,435,437],{"class":207,"line":408},18,[205,410,310],{"class":294},[205,412,313],{"class":294},[205,414,415],{"class":316}," update",[205,417,320],{"class":219},[205,419,281],{"class":215},[205,421,325],{"class":219},[205,423,328],{"class":242},[205,425,426],{"class":219},",",[205,428,429],{"class":215}," Comment",[205,431,325],{"class":219},[205,433,434],{"class":242},"comment",[205,436,331],{"class":219},[205,438,334],{"class":211},[205,440,442],{"class":207,"line":441},19,[205,443,340],{"class":219},[205,445,447,449,451,453,456,459,462,464,466,468,471],{"class":207,"line":446},20,[205,448,347],{"class":346},[205,450,325],{"class":219},[205,452,434],{"class":242},[205,454,455],{"class":219},"->",[205,457,458],{"class":242},"commenter_id ",[205,460,461],{"class":219},"===",[205,463,325],{"class":219},[205,465,328],{"class":242},[205,467,455],{"class":219},[205,469,470],{"class":316},"getKey",[205,472,473],{"class":219},"()\n",[205,475,477,480,482,484,486,489,491,493,495,497,500],{"class":207,"line":476},21,[205,478,479],{"class":219}," &&",[205,481,325],{"class":219},[205,483,434],{"class":242},[205,485,455],{"class":219},[205,487,488],{"class":242},"commenter_type ",[205,490,461],{"class":219},[205,492,325],{"class":219},[205,494,328],{"class":242},[205,496,455],{"class":219},[205,498,499],{"class":316},"getMorphClass",[205,501,502],{"class":219},"();\n",[205,504,506],{"class":207,"line":505},22,[205,507,356],{"class":219},[205,509,511],{"class":207,"line":510},23,[205,512,233],{"emptyLinePlaceholder":232},[205,514,516,518,520,523,525,527,529,531,533,535,537,539,541],{"class":207,"line":515},24,[205,517,310],{"class":294},[205,519,313],{"class":294},[205,521,522],{"class":316}," delete",[205,524,320],{"class":219},[205,526,281],{"class":215},[205,528,325],{"class":219},[205,530,328],{"class":242},[205,532,426],{"class":219},[205,534,429],{"class":215},[205,536,325],{"class":219},[205,538,434],{"class":242},[205,540,331],{"class":219},[205,542,334],{"class":211},[205,544,546],{"class":207,"line":545},25,[205,547,340],{"class":219},[205,549,551,553,555,557,559,561,563,565,567,569,571],{"class":207,"line":550},26,[205,552,347],{"class":346},[205,554,325],{"class":219},[205,556,434],{"class":242},[205,558,455],{"class":219},[205,560,458],{"class":242},[205,562,461],{"class":219},[205,564,325],{"class":219},[205,566,328],{"class":242},[205,568,455],{"class":219},[205,570,470],{"class":316},[205,572,473],{"class":219},[205,574,576,579,581,583,585,588,590,593,597,599],{"class":207,"line":575},27,[205,577,578],{"class":219}," ||",[205,580,325],{"class":219},[205,582,328],{"class":242},[205,584,455],{"class":219},[205,586,587],{"class":316},"hasRole",[205,589,320],{"class":219},[205,591,592],{"class":219},"'",[205,594,596],{"class":595},"sfazB","admin",[205,598,592],{"class":219},[205,600,601],{"class":219},");\n",[205,603,605],{"class":207,"line":604},28,[205,606,356],{"class":219},[205,608,610],{"class":207,"line":609},29,[205,611,233],{"emptyLinePlaceholder":232},[205,613,615,617,619,622,624,626,628,630,632,634,636,638,640],{"class":207,"line":614},30,[205,616,310],{"class":294},[205,618,313],{"class":294},[205,620,621],{"class":316}," reply",[205,623,320],{"class":219},[205,625,281],{"class":215},[205,627,325],{"class":219},[205,629,328],{"class":242},[205,631,426],{"class":219},[205,633,429],{"class":215},[205,635,325],{"class":219},[205,637,434],{"class":242},[205,639,331],{"class":219},[205,641,334],{"class":211},[205,643,645],{"class":207,"line":644},31,[205,646,340],{"class":219},[205,648,650,652,654,656,658,661],{"class":207,"line":649},32,[205,651,347],{"class":346},[205,653,325],{"class":219},[205,655,434],{"class":242},[205,657,455],{"class":219},[205,659,660],{"class":316},"canReply",[205,662,502],{"class":219},[205,664,666],{"class":207,"line":665},33,[205,667,356],{"class":219},[205,669,671],{"class":207,"line":670},34,[205,672,673],{"class":219},"}\n",[86,675,676],{},"Register it in your config:",[196,678,680],{"className":198,"code":679,"language":200,"meta":201,"style":201},"\u002F\u002F config\u002Fcomments.php\n'policy' => App\\Policies\\CustomCommentPolicy::class,\n",[90,681,682,688],{"__ignoreMap":201},[205,683,684],{"class":207,"line":208},[205,685,687],{"class":686},"sHwdD","\u002F\u002F config\u002Fcomments.php\n",[205,689,690,692,695,697,700,702,704,706,708,711,714,716],{"class":207,"line":229},[205,691,592],{"class":219},[205,693,694],{"class":595},"policy",[205,696,592],{"class":219},[205,698,699],{"class":219}," =>",[205,701,216],{"class":242},[205,703,220],{"class":219},[205,705,223],{"class":242},[205,707,220],{"class":219},[205,709,710],{"class":215},"CustomCommentPolicy",[205,712,713],{"class":219},"::",[205,715,295],{"class":211},[205,717,718],{"class":219},",\n",[81,720,722],{"id":721},"how-authorization-works","How Authorization Works",[86,724,725,726,728],{},"The Livewire components check the policy before rendering action buttons. Edit and delete buttons only appear for authorized users. Reply buttons are hidden when the thread has reached the configured ",[90,727,186],{},".",[86,730,731],{},"The policy is registered automatically by the service provider using Laravel's Gate system.",[733,734,735],"style",{},"html pre.shiki code .sbssI, html code.shiki .sbssI{--shiki-light:#F76D47;--shiki-default:#F78C6C;--shiki-dark:#F78C6C}html pre.shiki code .sBMFI, html code.shiki .sBMFI{--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B}html pre.shiki code .sMK4o, html code.shiki .sMK4o{--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF}html pre.shiki code .sTEyZ, html code.shiki .sTEyZ{--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8}html pre.shiki code .spNyl, html code.shiki .spNyl{--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA}html pre.shiki code .s2Zo4, html code.shiki .s2Zo4{--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF}html pre.shiki code .s7zQu, html code.shiki .s7zQu{--shiki-light:#39ADB5;--shiki-light-font-style:italic;--shiki-default:#89DDFF;--shiki-default-font-style:italic;--shiki-dark:#89DDFF;--shiki-dark-font-style:italic}html pre.shiki code .sfazB, html code.shiki .sfazB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html pre.shiki code .sHwdD, html code.shiki .sHwdD{--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#546E7A;--shiki-default-font-style:italic;--shiki-dark:#676E95;--shiki-dark-font-style:italic}",{"title":201,"searchDepth":229,"depth":229,"links":737},[738,739,740],{"id":83,"depth":229,"text":84},{"id":190,"depth":229,"text":191},{"id":721,"depth":229,"text":722},"Control who can create, edit, delete, and reply to comments.","md",null,{},{"icon":34},{"description":747,"title":31},"Configure comment authorization policies.","fCCRQ7aUcMkopaXRI1DKtfY-lhWgiPSgiBpsNT3NomY",[750,752],{"title":26,"path":27,"stem":28,"description":751,"icon":29,"children":-1},"Configure threading, reactions, mentions, attachments, notifications, and more.",{"title":36,"path":37,"stem":38,"description":753,"icon":39,"children":-1},"User @mentions with autocomplete and notification support.",1774613361671] \ No newline at end of file +[{"data":1,"prerenderedAt":754},["ShallowReactive",2],{"navigation_docs":3,"-essentials-authorization":75,"-essentials-authorization-surround":749},[4,20,60],{"title":5,"icon":6,"path":7,"stem":8,"children":9,"page":6},"Getting Started",false,"\u002Fgetting-started","1.getting-started",[10,15],{"title":11,"path":12,"stem":13,"icon":14},"Installation","\u002Fgetting-started\u002Finstallation","1.getting-started\u002F1.installation","i-lucide-download",{"title":16,"path":17,"stem":18,"icon":19},"Upgrading","\u002Fgetting-started\u002Fupgrading","1.getting-started\u002F2.upgrading","i-lucide-arrow-up-circle",{"title":21,"path":22,"stem":23,"children":24,"page":6},"Essentials","\u002Fessentials","2.essentials",[25,30,35,40,45,50,55],{"title":26,"path":27,"stem":28,"icon":29},"Configuration","\u002Fessentials\u002Fconfiguration","2.essentials\u002F1.configuration","i-lucide-settings",{"title":31,"path":32,"stem":33,"icon":34},"Authorization","\u002Fessentials\u002Fauthorization","2.essentials\u002F2.authorization","i-lucide-shield",{"title":36,"path":37,"stem":38,"icon":39},"Mentions","\u002Fessentials\u002Fmentions","2.essentials\u002F3.mentions","i-lucide-at-sign",{"title":41,"path":42,"stem":43,"icon":44},"Reactions","\u002Fessentials\u002Freactions","2.essentials\u002F4.reactions","i-lucide-smile",{"title":46,"path":47,"stem":48,"icon":49},"Attachments","\u002Fessentials\u002Fattachments","2.essentials\u002F5.attachments","i-lucide-paperclip",{"title":51,"path":52,"stem":53,"icon":54},"Notifications","\u002Fessentials\u002Fnotifications","2.essentials\u002F6.notifications","i-lucide-bell",{"title":56,"path":57,"stem":58,"icon":59},"Database Schema","\u002Fessentials\u002Fdatabase-schema","2.essentials\u002F7.database-schema","i-lucide-database",{"title":61,"path":62,"stem":63,"children":64,"page":6},"Community","\u002Fcommunity","4.community",[65,70],{"title":66,"path":67,"stem":68,"icon":69},"Contributing","\u002Fcommunity\u002Fcontributing","4.community\u002F1.contributing","i-lucide-heart-handshake",{"title":71,"path":72,"stem":73,"icon":74},"License","\u002Fcommunity\u002Flicense","4.community\u002F2.license","i-lucide-scale",{"id":76,"title":31,"body":77,"description":741,"extension":742,"links":743,"meta":744,"navigation":745,"path":32,"seo":746,"stem":33,"__hash__":748},"docs\u002F2.essentials\u002F2.authorization.md",{"type":78,"value":79,"toc":736},"minimark",[80,85,94,188,192,195,674,677,719,723,729,732],[81,82,84],"h2",{"id":83},"default-policy","Default Policy",[86,87,88,89,93],"p",{},"The built-in ",[90,91,92],"code",{},"CommentPolicy"," provides sensible defaults:",[95,96,97,113],"table",{},[98,99,100],"thead",{},[101,102,103,107,110],"tr",{},[104,105,106],"th",{},"Method",[104,108,109],{},"Default",[104,111,112],{},"Description",[114,115,116,132,146,159,171],"tbody",{},[101,117,118,124,129],{},[119,120,121],"td",{},[90,122,123],{},"viewAny()",[119,125,126],{},[90,127,128],{},"true",[119,130,131],{},"Everyone can view comments",[101,133,134,139,143],{},[119,135,136],{},[90,137,138],{},"create()",[119,140,141],{},[90,142,128],{},[119,144,145],{},"Everyone can create comments",[101,147,148,153,156],{},[119,149,150],{},[90,151,152],{},"update()",[119,154,155],{},"Owner only",[119,157,158],{},"Only the comment author can edit",[101,160,161,166,168],{},[119,162,163],{},[90,164,165],{},"delete()",[119,167,155],{},[119,169,170],{},"Only the comment author can delete",[101,172,173,178,181],{},[119,174,175],{},[90,176,177],{},"reply()",[119,179,180],{},"Depth check",[119,182,183,184,187],{},"Can reply if ",[90,185,186],{},"max_depth"," not exceeded",[81,189,191],{"id":190},"custom-policy","Custom Policy",[86,193,194],{},"Create your own policy to customize authorization:",[196,197,202],"pre",{"className":198,"code":199,"language":200,"meta":201,"style":201},"language-php shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","namespace App\\Policies;\n\nuse Relaticle\\Comments\\Models\\Comment;\nuse Relaticle\\Comments\\Contracts\\Commentator;\n\nclass CustomCommentPolicy\n{\n public function viewAny(Commentator $user): bool\n {\n return true;\n }\n\n public function create(Commentator $user): bool\n {\n return true;\n }\n\n public function update(Commentator $user, Comment $comment): bool\n {\n return $comment->commenter_id === $user->getKey()\n && $comment->commenter_type === $user->getMorphClass();\n }\n\n public function delete(Commentator $user, Comment $comment): bool\n {\n return $comment->commenter_id === $user->getKey()\n || $user->hasRole('admin');\n }\n\n public function reply(Commentator $user, Comment $comment): bool\n {\n return $comment->canReply();\n }\n}\n","php","",[90,203,204,227,234,261,284,289,299,305,335,341,351,357,362,384,389,396,401,406,439,444,474,503,508,513,543,548,573,602,607,612,642,647,663,668],{"__ignoreMap":201},[205,206,209,213,217,221,224],"span",{"class":207,"line":208},"line",1,[205,210,212],{"class":211},"sbssI","namespace",[205,214,216],{"class":215},"sBMFI"," App",[205,218,220],{"class":219},"sMK4o","\\",[205,222,223],{"class":215},"Policies",[205,225,226],{"class":219},";\n",[205,228,230],{"class":207,"line":229},2,[205,231,233],{"emptyLinePlaceholder":232},true,"\n",[205,235,237,240,244,246,249,251,254,256,259],{"class":207,"line":236},3,[205,238,239],{"class":211},"use",[205,241,243],{"class":242},"sTEyZ"," Relaticle",[205,245,220],{"class":219},[205,247,248],{"class":242},"Comments",[205,250,220],{"class":219},[205,252,253],{"class":242},"Models",[205,255,220],{"class":219},[205,257,258],{"class":242},"Comment",[205,260,226],{"class":219},[205,262,264,266,268,270,272,274,277,279,282],{"class":207,"line":263},4,[205,265,239],{"class":211},[205,267,243],{"class":242},[205,269,220],{"class":219},[205,271,248],{"class":242},[205,273,220],{"class":219},[205,275,276],{"class":242},"Contracts",[205,278,220],{"class":219},[205,280,281],{"class":242},"Commentator",[205,283,226],{"class":219},[205,285,287],{"class":207,"line":286},5,[205,288,233],{"emptyLinePlaceholder":232},[205,290,292,296],{"class":207,"line":291},6,[205,293,295],{"class":294},"spNyl","class",[205,297,298],{"class":215}," CustomCommentPolicy\n",[205,300,302],{"class":207,"line":301},7,[205,303,304],{"class":219},"{\n",[205,306,308,311,314,318,321,323,326,329,332],{"class":207,"line":307},8,[205,309,310],{"class":294}," public",[205,312,313],{"class":294}," function",[205,315,317],{"class":316},"s2Zo4"," viewAny",[205,319,320],{"class":219},"(",[205,322,281],{"class":215},[205,324,325],{"class":219}," $",[205,327,328],{"class":242},"user",[205,330,331],{"class":219},"):",[205,333,334],{"class":211}," bool\n",[205,336,338],{"class":207,"line":337},9,[205,339,340],{"class":219}," {\n",[205,342,344,348],{"class":207,"line":343},10,[205,345,347],{"class":346},"s7zQu"," return",[205,349,350],{"class":219}," true;\n",[205,352,354],{"class":207,"line":353},11,[205,355,356],{"class":219}," }\n",[205,358,360],{"class":207,"line":359},12,[205,361,233],{"emptyLinePlaceholder":232},[205,363,365,367,369,372,374,376,378,380,382],{"class":207,"line":364},13,[205,366,310],{"class":294},[205,368,313],{"class":294},[205,370,371],{"class":316}," create",[205,373,320],{"class":219},[205,375,281],{"class":215},[205,377,325],{"class":219},[205,379,328],{"class":242},[205,381,331],{"class":219},[205,383,334],{"class":211},[205,385,387],{"class":207,"line":386},14,[205,388,340],{"class":219},[205,390,392,394],{"class":207,"line":391},15,[205,393,347],{"class":346},[205,395,350],{"class":219},[205,397,399],{"class":207,"line":398},16,[205,400,356],{"class":219},[205,402,404],{"class":207,"line":403},17,[205,405,233],{"emptyLinePlaceholder":232},[205,407,409,411,413,416,418,420,422,424,427,430,432,435,437],{"class":207,"line":408},18,[205,410,310],{"class":294},[205,412,313],{"class":294},[205,414,415],{"class":316}," update",[205,417,320],{"class":219},[205,419,281],{"class":215},[205,421,325],{"class":219},[205,423,328],{"class":242},[205,425,426],{"class":219},",",[205,428,429],{"class":215}," Comment",[205,431,325],{"class":219},[205,433,434],{"class":242},"comment",[205,436,331],{"class":219},[205,438,334],{"class":211},[205,440,442],{"class":207,"line":441},19,[205,443,340],{"class":219},[205,445,447,449,451,453,456,459,462,464,466,468,471],{"class":207,"line":446},20,[205,448,347],{"class":346},[205,450,325],{"class":219},[205,452,434],{"class":242},[205,454,455],{"class":219},"->",[205,457,458],{"class":242},"commenter_id ",[205,460,461],{"class":219},"===",[205,463,325],{"class":219},[205,465,328],{"class":242},[205,467,455],{"class":219},[205,469,470],{"class":316},"getKey",[205,472,473],{"class":219},"()\n",[205,475,477,480,482,484,486,489,491,493,495,497,500],{"class":207,"line":476},21,[205,478,479],{"class":219}," &&",[205,481,325],{"class":219},[205,483,434],{"class":242},[205,485,455],{"class":219},[205,487,488],{"class":242},"commenter_type ",[205,490,461],{"class":219},[205,492,325],{"class":219},[205,494,328],{"class":242},[205,496,455],{"class":219},[205,498,499],{"class":316},"getMorphClass",[205,501,502],{"class":219},"();\n",[205,504,506],{"class":207,"line":505},22,[205,507,356],{"class":219},[205,509,511],{"class":207,"line":510},23,[205,512,233],{"emptyLinePlaceholder":232},[205,514,516,518,520,523,525,527,529,531,533,535,537,539,541],{"class":207,"line":515},24,[205,517,310],{"class":294},[205,519,313],{"class":294},[205,521,522],{"class":316}," delete",[205,524,320],{"class":219},[205,526,281],{"class":215},[205,528,325],{"class":219},[205,530,328],{"class":242},[205,532,426],{"class":219},[205,534,429],{"class":215},[205,536,325],{"class":219},[205,538,434],{"class":242},[205,540,331],{"class":219},[205,542,334],{"class":211},[205,544,546],{"class":207,"line":545},25,[205,547,340],{"class":219},[205,549,551,553,555,557,559,561,563,565,567,569,571],{"class":207,"line":550},26,[205,552,347],{"class":346},[205,554,325],{"class":219},[205,556,434],{"class":242},[205,558,455],{"class":219},[205,560,458],{"class":242},[205,562,461],{"class":219},[205,564,325],{"class":219},[205,566,328],{"class":242},[205,568,455],{"class":219},[205,570,470],{"class":316},[205,572,473],{"class":219},[205,574,576,579,581,583,585,588,590,593,597,599],{"class":207,"line":575},27,[205,577,578],{"class":219}," ||",[205,580,325],{"class":219},[205,582,328],{"class":242},[205,584,455],{"class":219},[205,586,587],{"class":316},"hasRole",[205,589,320],{"class":219},[205,591,592],{"class":219},"'",[205,594,596],{"class":595},"sfazB","admin",[205,598,592],{"class":219},[205,600,601],{"class":219},");\n",[205,603,605],{"class":207,"line":604},28,[205,606,356],{"class":219},[205,608,610],{"class":207,"line":609},29,[205,611,233],{"emptyLinePlaceholder":232},[205,613,615,617,619,622,624,626,628,630,632,634,636,638,640],{"class":207,"line":614},30,[205,616,310],{"class":294},[205,618,313],{"class":294},[205,620,621],{"class":316}," reply",[205,623,320],{"class":219},[205,625,281],{"class":215},[205,627,325],{"class":219},[205,629,328],{"class":242},[205,631,426],{"class":219},[205,633,429],{"class":215},[205,635,325],{"class":219},[205,637,434],{"class":242},[205,639,331],{"class":219},[205,641,334],{"class":211},[205,643,645],{"class":207,"line":644},31,[205,646,340],{"class":219},[205,648,650,652,654,656,658,661],{"class":207,"line":649},32,[205,651,347],{"class":346},[205,653,325],{"class":219},[205,655,434],{"class":242},[205,657,455],{"class":219},[205,659,660],{"class":316},"canReply",[205,662,502],{"class":219},[205,664,666],{"class":207,"line":665},33,[205,667,356],{"class":219},[205,669,671],{"class":207,"line":670},34,[205,672,673],{"class":219},"}\n",[86,675,676],{},"Register it in your config:",[196,678,680],{"className":198,"code":679,"language":200,"meta":201,"style":201},"\u002F\u002F config\u002Fcomments.php\n'policy' => App\\Policies\\CustomCommentPolicy::class,\n",[90,681,682,688],{"__ignoreMap":201},[205,683,684],{"class":207,"line":208},[205,685,687],{"class":686},"sHwdD","\u002F\u002F config\u002Fcomments.php\n",[205,689,690,692,695,697,700,702,704,706,708,711,714,716],{"class":207,"line":229},[205,691,592],{"class":219},[205,693,694],{"class":595},"policy",[205,696,592],{"class":219},[205,698,699],{"class":219}," =>",[205,701,216],{"class":242},[205,703,220],{"class":219},[205,705,223],{"class":242},[205,707,220],{"class":219},[205,709,710],{"class":215},"CustomCommentPolicy",[205,712,713],{"class":219},"::",[205,715,295],{"class":211},[205,717,718],{"class":219},",\n",[81,720,722],{"id":721},"how-authorization-works","How Authorization Works",[86,724,725,726,728],{},"The Livewire components check the policy before rendering action buttons. Edit and delete buttons only appear for authorized users. Reply buttons are hidden when the thread has reached the configured ",[90,727,186],{},".",[86,730,731],{},"The policy is registered automatically by the service provider using Laravel's Gate system.",[733,734,735],"style",{},"html pre.shiki code .sbssI, html code.shiki .sbssI{--shiki-light:#F76D47;--shiki-default:#F78C6C;--shiki-dark:#F78C6C}html pre.shiki code .sBMFI, html code.shiki .sBMFI{--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B}html pre.shiki code .sMK4o, html code.shiki .sMK4o{--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF}html pre.shiki code .sTEyZ, html code.shiki .sTEyZ{--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8}html pre.shiki code .spNyl, html code.shiki .spNyl{--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA}html pre.shiki code .s2Zo4, html code.shiki .s2Zo4{--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF}html pre.shiki code .s7zQu, html code.shiki .s7zQu{--shiki-light:#39ADB5;--shiki-light-font-style:italic;--shiki-default:#89DDFF;--shiki-default-font-style:italic;--shiki-dark:#89DDFF;--shiki-dark-font-style:italic}html pre.shiki code .sfazB, html code.shiki .sfazB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html pre.shiki code .sHwdD, html code.shiki .sHwdD{--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#546E7A;--shiki-default-font-style:italic;--shiki-dark:#676E95;--shiki-dark-font-style:italic}",{"title":201,"searchDepth":229,"depth":229,"links":737},[738,739,740],{"id":83,"depth":229,"text":84},{"id":190,"depth":229,"text":191},{"id":721,"depth":229,"text":722},"Control who can create, edit, delete, and reply to comments.","md",null,{},{"icon":34},{"description":747,"title":31},"Configure comment authorization policies.","fCCRQ7aUcMkopaXRI1DKtfY-lhWgiPSgiBpsNT3NomY",[750,752],{"title":26,"path":27,"stem":28,"description":751,"icon":29,"children":-1},"Configure threading, reactions, mentions, attachments, notifications, and more.",{"title":36,"path":37,"stem":38,"description":753,"icon":39,"children":-1},"User @mentions with autocomplete and notification support.",1774613434788] \ No newline at end of file diff --git a/essentials/configuration.html b/essentials/configuration.html index 20f0ebc..b698ecd 100644 --- a/essentials/configuration.html +++ b/essentials/configuration.html @@ -94,7 +94,7 @@ --ui-warning: var(--ui-color-warning-400); --ui-error: var(--ui-color-error-400); } -}Configuration - Comments
Comments Logo
1.x
Essentials

Configuration

Configure threading, reactions, mentions, attachments, notifications, and more.

Publish the configuration file:

php artisan vendor:publish --tag=comments-config
+}Configuration - Comments
Comments Logo
1.x
Essentials

Configuration

Configure threading, reactions, mentions, attachments, notifications, and more.

Publish the configuration file:

php artisan vendor:publish --tag=comments-config
 

This creates config/comments.php with all available options.

Table Names

'table_names' => [
     'comments' => 'comments',
     'reactions' => 'comment_reactions',
@@ -176,4 +176,4 @@
 CommentsConfig::resolveAuthenticatedUserUsing(function () {
     return auth()->user();
 });
-

This is useful for multi-guard applications or custom authentication flows.

Copyright © 2026
\ No newline at end of file +

This is useful for multi-guard applications or custom authentication flows.

Copyright © 2026
\ No newline at end of file diff --git a/essentials/configuration/_payload.json b/essentials/configuration/_payload.json index c2f634b..8639d11 100644 --- a/essentials/configuration/_payload.json +++ b/essentials/configuration/_payload.json @@ -1 +1 @@ -[{"data":1,"prerenderedAt":1521},["ShallowReactive",2],{"navigation_docs":3,"-essentials-configuration":75,"-essentials-configuration-surround":1516},[4,20,60],{"title":5,"icon":6,"path":7,"stem":8,"children":9,"page":6},"Getting Started",false,"\u002Fgetting-started","1.getting-started",[10,15],{"title":11,"path":12,"stem":13,"icon":14},"Installation","\u002Fgetting-started\u002Finstallation","1.getting-started\u002F1.installation","i-lucide-download",{"title":16,"path":17,"stem":18,"icon":19},"Upgrading","\u002Fgetting-started\u002Fupgrading","1.getting-started\u002F2.upgrading","i-lucide-arrow-up-circle",{"title":21,"path":22,"stem":23,"children":24,"page":6},"Essentials","\u002Fessentials","2.essentials",[25,30,35,40,45,50,55],{"title":26,"path":27,"stem":28,"icon":29},"Configuration","\u002Fessentials\u002Fconfiguration","2.essentials\u002F1.configuration","i-lucide-settings",{"title":31,"path":32,"stem":33,"icon":34},"Authorization","\u002Fessentials\u002Fauthorization","2.essentials\u002F2.authorization","i-lucide-shield",{"title":36,"path":37,"stem":38,"icon":39},"Mentions","\u002Fessentials\u002Fmentions","2.essentials\u002F3.mentions","i-lucide-at-sign",{"title":41,"path":42,"stem":43,"icon":44},"Reactions","\u002Fessentials\u002Freactions","2.essentials\u002F4.reactions","i-lucide-smile",{"title":46,"path":47,"stem":48,"icon":49},"Attachments","\u002Fessentials\u002Fattachments","2.essentials\u002F5.attachments","i-lucide-paperclip",{"title":51,"path":52,"stem":53,"icon":54},"Notifications","\u002Fessentials\u002Fnotifications","2.essentials\u002F6.notifications","i-lucide-bell",{"title":56,"path":57,"stem":58,"icon":59},"Database Schema","\u002Fessentials\u002Fdatabase-schema","2.essentials\u002F7.database-schema","i-lucide-database",{"title":61,"path":62,"stem":63,"children":64,"page":6},"Community","\u002Fcommunity","4.community",[65,70],{"title":66,"path":67,"stem":68,"icon":69},"Contributing","\u002Fcommunity\u002Fcontributing","4.community\u002F1.contributing","i-lucide-heart-handshake",{"title":71,"path":72,"stem":73,"icon":74},"License","\u002Fcommunity\u002Flicense","4.community\u002F2.license","i-lucide-scale",{"id":76,"title":26,"body":77,"description":1508,"extension":1509,"links":1510,"meta":1511,"navigation":1512,"path":27,"seo":1513,"stem":28,"__hash__":1515},"docs\u002F2.essentials\u002F1.configuration.md",{"type":78,"value":79,"toc":1491},"minimark",[80,84,113,120,125,261,264,268,328,332,449,452,456,495,502,506,543,554,558,595,598,600,765,768,770,841,847,851,967,970,973,1031,1045,1048,1082,1085,1087,1270,1281,1285,1338,1345,1349,1390,1397,1401,1404,1484,1487],[81,82,83],"p",{},"Publish the configuration file:",[85,86,91],"pre",{"className":87,"code":88,"language":89,"meta":90,"style":90},"language-bash shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","php artisan vendor:publish --tag=comments-config\n","bash","",[92,93,94],"code",{"__ignoreMap":90},[95,96,99,103,107,110],"span",{"class":97,"line":98},"line",1,[95,100,102],{"class":101},"sBMFI","php",[95,104,106],{"class":105},"sfazB"," artisan",[95,108,109],{"class":105}," vendor:publish",[95,111,112],{"class":105}," --tag=comments-config\n",[81,114,115,116,119],{},"This creates ",[92,117,118],{},"config\u002Fcomments.php"," with all available options.",[121,122,124],"h2",{"id":123},"table-names","Table Names",[85,126,129],{"className":127,"code":128,"language":102,"meta":90,"style":90},"language-php shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","'table_names' => [\n 'comments' => 'comments',\n 'reactions' => 'comment_reactions',\n 'mentions' => 'comment_mentions',\n 'subscriptions' => 'comment_subscriptions',\n 'attachments' => 'comment_attachments',\n],\n",[92,130,131,148,171,192,213,234,255],{"__ignoreMap":90},[95,132,133,137,140,142,145],{"class":97,"line":98},[95,134,136],{"class":135},"sMK4o","'",[95,138,139],{"class":105},"table_names",[95,141,136],{"class":135},[95,143,144],{"class":135}," =>",[95,146,147],{"class":135}," [\n",[95,149,151,154,157,159,161,164,166,168],{"class":97,"line":150},2,[95,152,153],{"class":135}," '",[95,155,156],{"class":105},"comments",[95,158,136],{"class":135},[95,160,144],{"class":135},[95,162,163],{"class":135}," '",[95,165,156],{"class":105},[95,167,136],{"class":135},[95,169,170],{"class":135},",\n",[95,172,174,176,179,181,183,185,188,190],{"class":97,"line":173},3,[95,175,153],{"class":135},[95,177,178],{"class":105},"reactions",[95,180,136],{"class":135},[95,182,144],{"class":135},[95,184,163],{"class":135},[95,186,187],{"class":105},"comment_reactions",[95,189,136],{"class":135},[95,191,170],{"class":135},[95,193,195,197,200,202,204,206,209,211],{"class":97,"line":194},4,[95,196,153],{"class":135},[95,198,199],{"class":105},"mentions",[95,201,136],{"class":135},[95,203,144],{"class":135},[95,205,163],{"class":135},[95,207,208],{"class":105},"comment_mentions",[95,210,136],{"class":135},[95,212,170],{"class":135},[95,214,216,218,221,223,225,227,230,232],{"class":97,"line":215},5,[95,217,153],{"class":135},[95,219,220],{"class":105},"subscriptions",[95,222,136],{"class":135},[95,224,144],{"class":135},[95,226,163],{"class":135},[95,228,229],{"class":105},"comment_subscriptions",[95,231,136],{"class":135},[95,233,170],{"class":135},[95,235,237,239,242,244,246,248,251,253],{"class":97,"line":236},6,[95,238,153],{"class":135},[95,240,241],{"class":105},"attachments",[95,243,136],{"class":135},[95,245,144],{"class":135},[95,247,163],{"class":135},[95,249,250],{"class":105},"comment_attachments",[95,252,136],{"class":135},[95,254,170],{"class":135},[95,256,258],{"class":97,"line":257},7,[95,259,260],{"class":135},"],\n",[81,262,263],{},"Change the table names if they conflict with your application.",[121,265,267],{"id":266},"column-names","Column Names",[85,269,271],{"className":127,"code":270,"language":102,"meta":90,"style":90},"'column_names' => [\n 'commenter_id' => 'commenter_id',\n 'commenter_type' => 'commenter_type',\n],\n",[92,272,273,286,305,324],{"__ignoreMap":90},[95,274,275,277,280,282,284],{"class":97,"line":98},[95,276,136],{"class":135},[95,278,279],{"class":105},"column_names",[95,281,136],{"class":135},[95,283,144],{"class":135},[95,285,147],{"class":135},[95,287,288,290,293,295,297,299,301,303],{"class":97,"line":150},[95,289,153],{"class":135},[95,291,292],{"class":105},"commenter_id",[95,294,136],{"class":135},[95,296,144],{"class":135},[95,298,163],{"class":135},[95,300,292],{"class":105},[95,302,136],{"class":135},[95,304,170],{"class":135},[95,306,307,309,312,314,316,318,320,322],{"class":97,"line":173},[95,308,153],{"class":135},[95,310,311],{"class":105},"commenter_type",[95,313,136],{"class":135},[95,315,144],{"class":135},[95,317,163],{"class":135},[95,319,311],{"class":105},[95,321,136],{"class":135},[95,323,170],{"class":135},[95,325,326],{"class":97,"line":194},[95,327,260],{"class":135},[121,329,331],{"id":330},"models","Models",[85,333,335],{"className":127,"code":334,"language":102,"meta":90,"style":90},"'models' => [\n 'comment' => \\Relaticle\\Comments\\Models\\Comment::class,\n],\n\n'commenter' => [\n 'model' => \\App\\Models\\User::class,\n],\n",[92,336,337,349,391,395,401,414,445],{"__ignoreMap":90},[95,338,339,341,343,345,347],{"class":97,"line":98},[95,340,136],{"class":135},[95,342,330],{"class":105},[95,344,136],{"class":135},[95,346,144],{"class":135},[95,348,147],{"class":135},[95,350,351,353,356,358,360,363,367,370,373,375,377,379,382,385,389],{"class":97,"line":150},[95,352,153],{"class":135},[95,354,355],{"class":105},"comment",[95,357,136],{"class":135},[95,359,144],{"class":135},[95,361,362],{"class":135}," \\",[95,364,366],{"class":365},"sTEyZ","Relaticle",[95,368,369],{"class":135},"\\",[95,371,372],{"class":365},"Comments",[95,374,369],{"class":135},[95,376,331],{"class":365},[95,378,369],{"class":135},[95,380,381],{"class":101},"Comment",[95,383,384],{"class":135},"::",[95,386,388],{"class":387},"sbssI","class",[95,390,170],{"class":135},[95,392,393],{"class":97,"line":173},[95,394,260],{"class":135},[95,396,397],{"class":97,"line":194},[95,398,400],{"emptyLinePlaceholder":399},true,"\n",[95,402,403,405,408,410,412],{"class":97,"line":215},[95,404,136],{"class":135},[95,406,407],{"class":105},"commenter",[95,409,136],{"class":135},[95,411,144],{"class":135},[95,413,147],{"class":135},[95,415,416,418,421,423,425,427,430,432,434,436,439,441,443],{"class":97,"line":236},[95,417,153],{"class":135},[95,419,420],{"class":105},"model",[95,422,136],{"class":135},[95,424,144],{"class":135},[95,426,362],{"class":135},[95,428,429],{"class":365},"App",[95,431,369],{"class":135},[95,433,331],{"class":365},[95,435,369],{"class":135},[95,437,438],{"class":101},"User",[95,440,384],{"class":135},[95,442,388],{"class":387},[95,444,170],{"class":135},[95,446,447],{"class":97,"line":257},[95,448,260],{"class":135},[81,450,451],{},"Override the Comment model to add custom behavior. The commenter model defines which class represents the user who comments.",[121,453,455],{"id":454},"policy","Policy",[85,457,459],{"className":127,"code":458,"language":102,"meta":90,"style":90},"'policy' => \\Relaticle\\Comments\\Policies\\CommentPolicy::class,\n",[92,460,461],{"__ignoreMap":90},[95,462,463,465,467,469,471,473,475,477,479,481,484,486,489,491,493],{"class":97,"line":98},[95,464,136],{"class":135},[95,466,454],{"class":105},[95,468,136],{"class":135},[95,470,144],{"class":135},[95,472,362],{"class":135},[95,474,366],{"class":365},[95,476,369],{"class":135},[95,478,372],{"class":365},[95,480,369],{"class":135},[95,482,483],{"class":365},"Policies",[95,485,369],{"class":135},[95,487,488],{"class":101},"CommentPolicy",[95,490,384],{"class":135},[95,492,388],{"class":387},[95,494,170],{"class":135},[81,496,497,498,501],{},"See the ",[499,500,31],"a",{"href":32}," page for customization details.",[121,503,505],{"id":504},"threading","Threading",[85,507,509],{"className":127,"code":508,"language":102,"meta":90,"style":90},"'threading' => [\n 'max_depth' => 2,\n],\n",[92,510,511,523,539],{"__ignoreMap":90},[95,512,513,515,517,519,521],{"class":97,"line":98},[95,514,136],{"class":135},[95,516,504],{"class":105},[95,518,136],{"class":135},[95,520,144],{"class":135},[95,522,147],{"class":135},[95,524,525,527,530,532,534,537],{"class":97,"line":150},[95,526,153],{"class":135},[95,528,529],{"class":105},"max_depth",[95,531,136],{"class":135},[95,533,144],{"class":135},[95,535,536],{"class":387}," 2",[95,538,170],{"class":135},[95,540,541],{"class":97,"line":173},[95,542,260],{"class":135},[81,544,545,546,549,550,553],{},"Controls how many levels of nested replies are allowed. A depth of ",[92,547,548],{},"2"," means top-level comments and one level of replies. Set to ",[92,551,552],{},"1"," to disable replies entirely.",[121,555,557],{"id":556},"pagination","Pagination",[85,559,561],{"className":127,"code":560,"language":102,"meta":90,"style":90},"'pagination' => [\n 'per_page' => 10,\n],\n",[92,562,563,575,591],{"__ignoreMap":90},[95,564,565,567,569,571,573],{"class":97,"line":98},[95,566,136],{"class":135},[95,568,556],{"class":105},[95,570,136],{"class":135},[95,572,144],{"class":135},[95,574,147],{"class":135},[95,576,577,579,582,584,586,589],{"class":97,"line":150},[95,578,153],{"class":135},[95,580,581],{"class":105},"per_page",[95,583,136],{"class":135},[95,585,144],{"class":135},[95,587,588],{"class":387}," 10",[95,590,170],{"class":135},[95,592,593],{"class":97,"line":173},[95,594,260],{"class":135},[81,596,597],{},"Number of comments loaded initially and per \"Load More\" click.",[121,599,41],{"id":178},[85,601,603],{"className":127,"code":602,"language":102,"meta":90,"style":90},"'reactions' => [\n 'emoji_set' => [\n 'thumbs_up' => \"\\u{1F44D}\",\n 'heart' => \"\\u{2764}\\u{FE0F}\",\n 'celebrate' => \"\\u{1F389}\",\n 'laugh' => \"\\u{1F604}\",\n 'thinking' => \"\\u{1F914}\",\n 'sad' => \"\\u{1F622}\",\n ],\n],\n",[92,604,605,617,630,653,673,693,713,733,754,760],{"__ignoreMap":90},[95,606,607,609,611,613,615],{"class":97,"line":98},[95,608,136],{"class":135},[95,610,178],{"class":105},[95,612,136],{"class":135},[95,614,144],{"class":135},[95,616,147],{"class":135},[95,618,619,621,624,626,628],{"class":97,"line":150},[95,620,153],{"class":135},[95,622,623],{"class":105},"emoji_set",[95,625,136],{"class":135},[95,627,144],{"class":135},[95,629,147],{"class":135},[95,631,632,635,638,640,642,645,648,651],{"class":97,"line":173},[95,633,634],{"class":135}," '",[95,636,637],{"class":105},"thumbs_up",[95,639,136],{"class":135},[95,641,144],{"class":135},[95,643,644],{"class":135}," \"",[95,646,647],{"class":365},"\\u{1F44D}",[95,649,650],{"class":135},"\"",[95,652,170],{"class":135},[95,654,655,657,660,662,664,666,669,671],{"class":97,"line":194},[95,656,634],{"class":135},[95,658,659],{"class":105},"heart",[95,661,136],{"class":135},[95,663,144],{"class":135},[95,665,644],{"class":135},[95,667,668],{"class":365},"\\u{2764}\\u{FE0F}",[95,670,650],{"class":135},[95,672,170],{"class":135},[95,674,675,677,680,682,684,686,689,691],{"class":97,"line":215},[95,676,634],{"class":135},[95,678,679],{"class":105},"celebrate",[95,681,136],{"class":135},[95,683,144],{"class":135},[95,685,644],{"class":135},[95,687,688],{"class":365},"\\u{1F389}",[95,690,650],{"class":135},[95,692,170],{"class":135},[95,694,695,697,700,702,704,706,709,711],{"class":97,"line":236},[95,696,634],{"class":135},[95,698,699],{"class":105},"laugh",[95,701,136],{"class":135},[95,703,144],{"class":135},[95,705,644],{"class":135},[95,707,708],{"class":365},"\\u{1F604}",[95,710,650],{"class":135},[95,712,170],{"class":135},[95,714,715,717,720,722,724,726,729,731],{"class":97,"line":257},[95,716,634],{"class":135},[95,718,719],{"class":105},"thinking",[95,721,136],{"class":135},[95,723,144],{"class":135},[95,725,644],{"class":135},[95,727,728],{"class":365},"\\u{1F914}",[95,730,650],{"class":135},[95,732,170],{"class":135},[95,734,736,738,741,743,745,747,750,752],{"class":97,"line":735},8,[95,737,634],{"class":135},[95,739,740],{"class":105},"sad",[95,742,136],{"class":135},[95,744,144],{"class":135},[95,746,644],{"class":135},[95,748,749],{"class":365},"\\u{1F622}",[95,751,650],{"class":135},[95,753,170],{"class":135},[95,755,757],{"class":97,"line":756},9,[95,758,759],{"class":135}," ],\n",[95,761,763],{"class":97,"line":762},10,[95,764,260],{"class":135},[81,766,767],{},"Customize the available emoji reactions. Keys are used as identifiers in the database, values are the displayed emoji characters.",[121,769,36],{"id":199},[85,771,773],{"className":127,"code":772,"language":102,"meta":90,"style":90},"'mentions' => [\n 'resolver' => \\Relaticle\\Comments\\Mentions\\DefaultMentionResolver::class,\n 'max_results' => 5,\n],\n",[92,774,775,787,821,837],{"__ignoreMap":90},[95,776,777,779,781,783,785],{"class":97,"line":98},[95,778,136],{"class":135},[95,780,199],{"class":105},[95,782,136],{"class":135},[95,784,144],{"class":135},[95,786,147],{"class":135},[95,788,789,791,794,796,798,800,802,804,806,808,810,812,815,817,819],{"class":97,"line":150},[95,790,153],{"class":135},[95,792,793],{"class":105},"resolver",[95,795,136],{"class":135},[95,797,144],{"class":135},[95,799,362],{"class":135},[95,801,366],{"class":365},[95,803,369],{"class":135},[95,805,372],{"class":365},[95,807,369],{"class":135},[95,809,36],{"class":365},[95,811,369],{"class":135},[95,813,814],{"class":101},"DefaultMentionResolver",[95,816,384],{"class":135},[95,818,388],{"class":387},[95,820,170],{"class":135},[95,822,823,825,828,830,832,835],{"class":97,"line":173},[95,824,153],{"class":135},[95,826,827],{"class":105},"max_results",[95,829,136],{"class":135},[95,831,144],{"class":135},[95,833,834],{"class":387}," 5",[95,836,170],{"class":135},[95,838,839],{"class":97,"line":194},[95,840,260],{"class":135},[81,842,843,844,846],{},"The resolver handles searching for users during @mention autocomplete. See the ",[499,845,36],{"href":37}," page for creating a custom resolver.",[121,848,850],{"id":849},"editor-toolbar","Editor Toolbar",[85,852,854],{"className":127,"code":853,"language":102,"meta":90,"style":90},"'editor' => [\n 'toolbar' => [\n ['bold', 'italic', 'strike', 'link'],\n ['bulletList', 'orderedList'],\n ['codeBlock'],\n ],\n],\n",[92,855,856,869,882,924,946,959,963],{"__ignoreMap":90},[95,857,858,860,863,865,867],{"class":97,"line":98},[95,859,136],{"class":135},[95,861,862],{"class":105},"editor",[95,864,136],{"class":135},[95,866,144],{"class":135},[95,868,147],{"class":135},[95,870,871,873,876,878,880],{"class":97,"line":150},[95,872,153],{"class":135},[95,874,875],{"class":105},"toolbar",[95,877,136],{"class":135},[95,879,144],{"class":135},[95,881,147],{"class":135},[95,883,884,887,889,892,894,897,899,902,904,906,908,911,913,915,917,920,922],{"class":97,"line":173},[95,885,886],{"class":135}," [",[95,888,136],{"class":135},[95,890,891],{"class":105},"bold",[95,893,136],{"class":135},[95,895,896],{"class":135},",",[95,898,163],{"class":135},[95,900,901],{"class":105},"italic",[95,903,136],{"class":135},[95,905,896],{"class":135},[95,907,163],{"class":135},[95,909,910],{"class":105},"strike",[95,912,136],{"class":135},[95,914,896],{"class":135},[95,916,163],{"class":135},[95,918,919],{"class":105},"link",[95,921,136],{"class":135},[95,923,260],{"class":135},[95,925,926,928,930,933,935,937,939,942,944],{"class":97,"line":194},[95,927,886],{"class":135},[95,929,136],{"class":135},[95,931,932],{"class":105},"bulletList",[95,934,136],{"class":135},[95,936,896],{"class":135},[95,938,163],{"class":135},[95,940,941],{"class":105},"orderedList",[95,943,136],{"class":135},[95,945,260],{"class":135},[95,947,948,950,952,955,957],{"class":97,"line":215},[95,949,886],{"class":135},[95,951,136],{"class":135},[95,953,954],{"class":105},"codeBlock",[95,956,136],{"class":135},[95,958,260],{"class":135},[95,960,961],{"class":97,"line":236},[95,962,759],{"class":135},[95,964,965],{"class":97,"line":257},[95,966,260],{"class":135},[81,968,969],{},"Defines which formatting buttons appear in the comment editor. Groups create visual separators in the toolbar.",[121,971,51],{"id":972},"notifications",[85,974,976],{"className":127,"code":975,"language":102,"meta":90,"style":90},"'notifications' => [\n 'channels' => ['database'],\n 'enabled' => true,\n],\n",[92,977,978,990,1013,1027],{"__ignoreMap":90},[95,979,980,982,984,986,988],{"class":97,"line":98},[95,981,136],{"class":135},[95,983,972],{"class":105},[95,985,136],{"class":135},[95,987,144],{"class":135},[95,989,147],{"class":135},[95,991,992,994,997,999,1001,1004,1006,1009,1011],{"class":97,"line":150},[95,993,153],{"class":135},[95,995,996],{"class":105},"channels",[95,998,136],{"class":135},[95,1000,144],{"class":135},[95,1002,1003],{"class":135}," [",[95,1005,136],{"class":135},[95,1007,1008],{"class":105},"database",[95,1010,136],{"class":135},[95,1012,260],{"class":135},[95,1014,1015,1017,1020,1022,1024],{"class":97,"line":173},[95,1016,153],{"class":135},[95,1018,1019],{"class":105},"enabled",[95,1021,136],{"class":135},[95,1023,144],{"class":135},[95,1025,1026],{"class":135}," true,\n",[95,1028,1029],{"class":97,"line":194},[95,1030,260],{"class":135},[81,1032,1033,1034,1037,1038,1040,1041,1044],{},"Add ",[92,1035,1036],{},"'mail'"," to the channels array to send email notifications. Set ",[92,1039,1019],{}," to ",[92,1042,1043],{},"false"," to disable all notifications.",[121,1046,1047],{"id":220},"Subscriptions",[85,1049,1051],{"className":127,"code":1050,"language":102,"meta":90,"style":90},"'subscriptions' => [\n 'auto_subscribe' => true,\n],\n",[92,1052,1053,1065,1078],{"__ignoreMap":90},[95,1054,1055,1057,1059,1061,1063],{"class":97,"line":98},[95,1056,136],{"class":135},[95,1058,220],{"class":105},[95,1060,136],{"class":135},[95,1062,144],{"class":135},[95,1064,147],{"class":135},[95,1066,1067,1069,1072,1074,1076],{"class":97,"line":150},[95,1068,153],{"class":135},[95,1070,1071],{"class":105},"auto_subscribe",[95,1073,136],{"class":135},[95,1075,144],{"class":135},[95,1077,1026],{"class":135},[95,1079,1080],{"class":97,"line":173},[95,1081,260],{"class":135},[81,1083,1084],{},"When enabled, users are automatically subscribed to a thread when they create a comment or are mentioned. They receive notifications for subsequent replies.",[121,1086,46],{"id":241},[85,1088,1090],{"className":127,"code":1089,"language":102,"meta":90,"style":90},"'attachments' => [\n 'enabled' => true,\n 'disk' => 'public',\n 'max_size' => 10240, \u002F\u002F KB\n 'allowed_types' => [\n 'image\u002Fjpeg',\n 'image\u002Fpng',\n 'image\u002Fgif',\n 'image\u002Fwebp',\n 'application\u002Fpdf',\n 'text\u002Fplain',\n 'application\u002Fmsword',\n 'application\u002Fvnd.openxmlformats-officedocument.wordprocessingml.document',\n ],\n],\n",[92,1091,1092,1104,1116,1136,1156,1169,1180,1191,1202,1213,1224,1236,1248,1260,1265],{"__ignoreMap":90},[95,1093,1094,1096,1098,1100,1102],{"class":97,"line":98},[95,1095,136],{"class":135},[95,1097,241],{"class":105},[95,1099,136],{"class":135},[95,1101,144],{"class":135},[95,1103,147],{"class":135},[95,1105,1106,1108,1110,1112,1114],{"class":97,"line":150},[95,1107,153],{"class":135},[95,1109,1019],{"class":105},[95,1111,136],{"class":135},[95,1113,144],{"class":135},[95,1115,1026],{"class":135},[95,1117,1118,1120,1123,1125,1127,1129,1132,1134],{"class":97,"line":173},[95,1119,153],{"class":135},[95,1121,1122],{"class":105},"disk",[95,1124,136],{"class":135},[95,1126,144],{"class":135},[95,1128,163],{"class":135},[95,1130,1131],{"class":105},"public",[95,1133,136],{"class":135},[95,1135,170],{"class":135},[95,1137,1138,1140,1143,1145,1147,1150,1152],{"class":97,"line":194},[95,1139,153],{"class":135},[95,1141,1142],{"class":105},"max_size",[95,1144,136],{"class":135},[95,1146,144],{"class":135},[95,1148,1149],{"class":387}," 10240",[95,1151,896],{"class":135},[95,1153,1155],{"class":1154},"sHwdD"," \u002F\u002F KB\n",[95,1157,1158,1160,1163,1165,1167],{"class":97,"line":215},[95,1159,153],{"class":135},[95,1161,1162],{"class":105},"allowed_types",[95,1164,136],{"class":135},[95,1166,144],{"class":135},[95,1168,147],{"class":135},[95,1170,1171,1173,1176,1178],{"class":97,"line":236},[95,1172,634],{"class":135},[95,1174,1175],{"class":105},"image\u002Fjpeg",[95,1177,136],{"class":135},[95,1179,170],{"class":135},[95,1181,1182,1184,1187,1189],{"class":97,"line":257},[95,1183,634],{"class":135},[95,1185,1186],{"class":105},"image\u002Fpng",[95,1188,136],{"class":135},[95,1190,170],{"class":135},[95,1192,1193,1195,1198,1200],{"class":97,"line":735},[95,1194,634],{"class":135},[95,1196,1197],{"class":105},"image\u002Fgif",[95,1199,136],{"class":135},[95,1201,170],{"class":135},[95,1203,1204,1206,1209,1211],{"class":97,"line":756},[95,1205,634],{"class":135},[95,1207,1208],{"class":105},"image\u002Fwebp",[95,1210,136],{"class":135},[95,1212,170],{"class":135},[95,1214,1215,1217,1220,1222],{"class":97,"line":762},[95,1216,634],{"class":135},[95,1218,1219],{"class":105},"application\u002Fpdf",[95,1221,136],{"class":135},[95,1223,170],{"class":135},[95,1225,1227,1229,1232,1234],{"class":97,"line":1226},11,[95,1228,634],{"class":135},[95,1230,1231],{"class":105},"text\u002Fplain",[95,1233,136],{"class":135},[95,1235,170],{"class":135},[95,1237,1239,1241,1244,1246],{"class":97,"line":1238},12,[95,1240,634],{"class":135},[95,1242,1243],{"class":105},"application\u002Fmsword",[95,1245,136],{"class":135},[95,1247,170],{"class":135},[95,1249,1251,1253,1256,1258],{"class":97,"line":1250},13,[95,1252,634],{"class":135},[95,1254,1255],{"class":105},"application\u002Fvnd.openxmlformats-officedocument.wordprocessingml.document",[95,1257,136],{"class":135},[95,1259,170],{"class":135},[95,1261,1263],{"class":97,"line":1262},14,[95,1264,759],{"class":135},[95,1266,1268],{"class":97,"line":1267},15,[95,1269,260],{"class":135},[81,1271,1272,1273,1040,1275,1277,1278,1280],{},"Controls file upload behavior. Set ",[92,1274,1019],{},[92,1276,1043],{}," to remove the attachment UI entirely. The ",[92,1279,1142],{}," is in kilobytes (default 10 MB).",[121,1282,1284],{"id":1283},"broadcasting","Broadcasting",[85,1286,1288],{"className":127,"code":1287,"language":102,"meta":90,"style":90},"'broadcasting' => [\n 'enabled' => false,\n 'channel_prefix' => 'comments',\n],\n",[92,1289,1290,1302,1315,1334],{"__ignoreMap":90},[95,1291,1292,1294,1296,1298,1300],{"class":97,"line":98},[95,1293,136],{"class":135},[95,1295,1283],{"class":105},[95,1297,136],{"class":135},[95,1299,144],{"class":135},[95,1301,147],{"class":135},[95,1303,1304,1306,1308,1310,1312],{"class":97,"line":150},[95,1305,153],{"class":135},[95,1307,1019],{"class":105},[95,1309,136],{"class":135},[95,1311,144],{"class":135},[95,1313,1314],{"class":135}," false,\n",[95,1316,1317,1319,1322,1324,1326,1328,1330,1332],{"class":97,"line":173},[95,1318,153],{"class":135},[95,1320,1321],{"class":105},"channel_prefix",[95,1323,136],{"class":135},[95,1325,144],{"class":135},[95,1327,163],{"class":135},[95,1329,156],{"class":105},[95,1331,136],{"class":135},[95,1333,170],{"class":135},[95,1335,1336],{"class":97,"line":194},[95,1337,260],{"class":135},[81,1339,1340,1341,1344],{},"When enabled, comment events are broadcast on private channels using the format ",[92,1342,1343],{},"{prefix}.{commentable_type}.{commentable_id}",". Requires Laravel Echo and a broadcasting driver.",[121,1346,1348],{"id":1347},"polling","Polling",[85,1350,1352],{"className":127,"code":1351,"language":102,"meta":90,"style":90},"'polling' => [\n 'interval' => '10s',\n],\n",[92,1353,1354,1366,1386],{"__ignoreMap":90},[95,1355,1356,1358,1360,1362,1364],{"class":97,"line":98},[95,1357,136],{"class":135},[95,1359,1347],{"class":105},[95,1361,136],{"class":135},[95,1363,144],{"class":135},[95,1365,147],{"class":135},[95,1367,1368,1370,1373,1375,1377,1379,1382,1384],{"class":97,"line":150},[95,1369,153],{"class":135},[95,1371,1372],{"class":105},"interval",[95,1374,136],{"class":135},[95,1376,144],{"class":135},[95,1378,163],{"class":135},[95,1380,1381],{"class":105},"10s",[95,1383,136],{"class":135},[95,1385,170],{"class":135},[95,1387,1388],{"class":97,"line":173},[95,1389,260],{"class":135},[81,1391,1392,1393,1396],{},"When broadcasting is disabled, the Livewire component polls for new comments at this interval. Set to ",[92,1394,1395],{},"null"," to disable polling.",[121,1398,1400],{"id":1399},"custom-user-resolution","Custom User Resolution",[81,1402,1403],{},"Override how the authenticated user is resolved:",[85,1405,1407],{"className":127,"code":1406,"language":102,"meta":90,"style":90},"use Relaticle\\Comments\\CommentsConfig;\n\n\u002F\u002F In AppServiceProvider::boot()\nCommentsConfig::resolveAuthenticatedUserUsing(function () {\n return auth()->user();\n});\n",[92,1408,1409,1429,1433,1438,1461,1479],{"__ignoreMap":90},[95,1410,1411,1414,1417,1419,1421,1423,1426],{"class":97,"line":98},[95,1412,1413],{"class":387},"use",[95,1415,1416],{"class":365}," Relaticle",[95,1418,369],{"class":135},[95,1420,372],{"class":365},[95,1422,369],{"class":135},[95,1424,1425],{"class":365},"CommentsConfig",[95,1427,1428],{"class":135},";\n",[95,1430,1431],{"class":97,"line":150},[95,1432,400],{"emptyLinePlaceholder":399},[95,1434,1435],{"class":97,"line":173},[95,1436,1437],{"class":1154},"\u002F\u002F In AppServiceProvider::boot()\n",[95,1439,1440,1442,1444,1448,1451,1455,1458],{"class":97,"line":194},[95,1441,1425],{"class":101},[95,1443,384],{"class":135},[95,1445,1447],{"class":1446},"s2Zo4","resolveAuthenticatedUserUsing",[95,1449,1450],{"class":135},"(",[95,1452,1454],{"class":1453},"spNyl","function",[95,1456,1457],{"class":135}," ()",[95,1459,1460],{"class":135}," {\n",[95,1462,1463,1467,1470,1473,1476],{"class":97,"line":215},[95,1464,1466],{"class":1465},"s7zQu"," return",[95,1468,1469],{"class":1446}," auth",[95,1471,1472],{"class":135},"()->",[95,1474,1475],{"class":1446},"user",[95,1477,1478],{"class":135},"();\n",[95,1480,1481],{"class":97,"line":236},[95,1482,1483],{"class":135},"});\n",[81,1485,1486],{},"This is useful for multi-guard applications or custom authentication flows.",[1488,1489,1490],"style",{},"html pre.shiki code .sBMFI, html code.shiki .sBMFI{--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B}html pre.shiki code .sfazB, html code.shiki .sfazB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html pre.shiki code .sMK4o, html code.shiki .sMK4o{--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF}html pre.shiki code .sTEyZ, html code.shiki .sTEyZ{--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8}html pre.shiki code .sbssI, html code.shiki .sbssI{--shiki-light:#F76D47;--shiki-default:#F78C6C;--shiki-dark:#F78C6C}html pre.shiki code .sHwdD, html code.shiki .sHwdD{--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#546E7A;--shiki-default-font-style:italic;--shiki-dark:#676E95;--shiki-dark-font-style:italic}html pre.shiki code .s2Zo4, html code.shiki .s2Zo4{--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF}html pre.shiki code .spNyl, html code.shiki .spNyl{--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA}html pre.shiki code .s7zQu, html code.shiki .s7zQu{--shiki-light:#39ADB5;--shiki-light-font-style:italic;--shiki-default:#89DDFF;--shiki-default-font-style:italic;--shiki-dark:#89DDFF;--shiki-dark-font-style:italic}",{"title":90,"searchDepth":150,"depth":150,"links":1492},[1493,1494,1495,1496,1497,1498,1499,1500,1501,1502,1503,1504,1505,1506,1507],{"id":123,"depth":150,"text":124},{"id":266,"depth":150,"text":267},{"id":330,"depth":150,"text":331},{"id":454,"depth":150,"text":455},{"id":504,"depth":150,"text":505},{"id":556,"depth":150,"text":557},{"id":178,"depth":150,"text":41},{"id":199,"depth":150,"text":36},{"id":849,"depth":150,"text":850},{"id":972,"depth":150,"text":51},{"id":220,"depth":150,"text":1047},{"id":241,"depth":150,"text":46},{"id":1283,"depth":150,"text":1284},{"id":1347,"depth":150,"text":1348},{"id":1399,"depth":150,"text":1400},"Configure threading, reactions, mentions, attachments, notifications, and more.","md",null,{},{"icon":29},{"description":1514,"title":26},"Complete configuration reference for the Comments package.","YWsopc6VLfx9iMf_SsSaKH2khF5148dFFdyJiIINOsU",[1517,1519],{"title":16,"path":17,"stem":18,"description":1518,"icon":19,"children":-1},"Upgrade guide for Comments.",{"title":31,"path":32,"stem":33,"description":1520,"icon":34,"children":-1},"Control who can create, edit, delete, and reply to comments.",1774613361671] \ No newline at end of file +[{"data":1,"prerenderedAt":1521},["ShallowReactive",2],{"navigation_docs":3,"-essentials-configuration":75,"-essentials-configuration-surround":1516},[4,20,60],{"title":5,"icon":6,"path":7,"stem":8,"children":9,"page":6},"Getting Started",false,"\u002Fgetting-started","1.getting-started",[10,15],{"title":11,"path":12,"stem":13,"icon":14},"Installation","\u002Fgetting-started\u002Finstallation","1.getting-started\u002F1.installation","i-lucide-download",{"title":16,"path":17,"stem":18,"icon":19},"Upgrading","\u002Fgetting-started\u002Fupgrading","1.getting-started\u002F2.upgrading","i-lucide-arrow-up-circle",{"title":21,"path":22,"stem":23,"children":24,"page":6},"Essentials","\u002Fessentials","2.essentials",[25,30,35,40,45,50,55],{"title":26,"path":27,"stem":28,"icon":29},"Configuration","\u002Fessentials\u002Fconfiguration","2.essentials\u002F1.configuration","i-lucide-settings",{"title":31,"path":32,"stem":33,"icon":34},"Authorization","\u002Fessentials\u002Fauthorization","2.essentials\u002F2.authorization","i-lucide-shield",{"title":36,"path":37,"stem":38,"icon":39},"Mentions","\u002Fessentials\u002Fmentions","2.essentials\u002F3.mentions","i-lucide-at-sign",{"title":41,"path":42,"stem":43,"icon":44},"Reactions","\u002Fessentials\u002Freactions","2.essentials\u002F4.reactions","i-lucide-smile",{"title":46,"path":47,"stem":48,"icon":49},"Attachments","\u002Fessentials\u002Fattachments","2.essentials\u002F5.attachments","i-lucide-paperclip",{"title":51,"path":52,"stem":53,"icon":54},"Notifications","\u002Fessentials\u002Fnotifications","2.essentials\u002F6.notifications","i-lucide-bell",{"title":56,"path":57,"stem":58,"icon":59},"Database Schema","\u002Fessentials\u002Fdatabase-schema","2.essentials\u002F7.database-schema","i-lucide-database",{"title":61,"path":62,"stem":63,"children":64,"page":6},"Community","\u002Fcommunity","4.community",[65,70],{"title":66,"path":67,"stem":68,"icon":69},"Contributing","\u002Fcommunity\u002Fcontributing","4.community\u002F1.contributing","i-lucide-heart-handshake",{"title":71,"path":72,"stem":73,"icon":74},"License","\u002Fcommunity\u002Flicense","4.community\u002F2.license","i-lucide-scale",{"id":76,"title":26,"body":77,"description":1508,"extension":1509,"links":1510,"meta":1511,"navigation":1512,"path":27,"seo":1513,"stem":28,"__hash__":1515},"docs\u002F2.essentials\u002F1.configuration.md",{"type":78,"value":79,"toc":1491},"minimark",[80,84,113,120,125,261,264,268,328,332,449,452,456,495,502,506,543,554,558,595,598,600,765,768,770,841,847,851,967,970,973,1031,1045,1048,1082,1085,1087,1270,1281,1285,1338,1345,1349,1390,1397,1401,1404,1484,1487],[81,82,83],"p",{},"Publish the configuration file:",[85,86,91],"pre",{"className":87,"code":88,"language":89,"meta":90,"style":90},"language-bash shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","php artisan vendor:publish --tag=comments-config\n","bash","",[92,93,94],"code",{"__ignoreMap":90},[95,96,99,103,107,110],"span",{"class":97,"line":98},"line",1,[95,100,102],{"class":101},"sBMFI","php",[95,104,106],{"class":105},"sfazB"," artisan",[95,108,109],{"class":105}," vendor:publish",[95,111,112],{"class":105}," --tag=comments-config\n",[81,114,115,116,119],{},"This creates ",[92,117,118],{},"config\u002Fcomments.php"," with all available options.",[121,122,124],"h2",{"id":123},"table-names","Table Names",[85,126,129],{"className":127,"code":128,"language":102,"meta":90,"style":90},"language-php shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","'table_names' => [\n 'comments' => 'comments',\n 'reactions' => 'comment_reactions',\n 'mentions' => 'comment_mentions',\n 'subscriptions' => 'comment_subscriptions',\n 'attachments' => 'comment_attachments',\n],\n",[92,130,131,148,171,192,213,234,255],{"__ignoreMap":90},[95,132,133,137,140,142,145],{"class":97,"line":98},[95,134,136],{"class":135},"sMK4o","'",[95,138,139],{"class":105},"table_names",[95,141,136],{"class":135},[95,143,144],{"class":135}," =>",[95,146,147],{"class":135}," [\n",[95,149,151,154,157,159,161,164,166,168],{"class":97,"line":150},2,[95,152,153],{"class":135}," '",[95,155,156],{"class":105},"comments",[95,158,136],{"class":135},[95,160,144],{"class":135},[95,162,163],{"class":135}," '",[95,165,156],{"class":105},[95,167,136],{"class":135},[95,169,170],{"class":135},",\n",[95,172,174,176,179,181,183,185,188,190],{"class":97,"line":173},3,[95,175,153],{"class":135},[95,177,178],{"class":105},"reactions",[95,180,136],{"class":135},[95,182,144],{"class":135},[95,184,163],{"class":135},[95,186,187],{"class":105},"comment_reactions",[95,189,136],{"class":135},[95,191,170],{"class":135},[95,193,195,197,200,202,204,206,209,211],{"class":97,"line":194},4,[95,196,153],{"class":135},[95,198,199],{"class":105},"mentions",[95,201,136],{"class":135},[95,203,144],{"class":135},[95,205,163],{"class":135},[95,207,208],{"class":105},"comment_mentions",[95,210,136],{"class":135},[95,212,170],{"class":135},[95,214,216,218,221,223,225,227,230,232],{"class":97,"line":215},5,[95,217,153],{"class":135},[95,219,220],{"class":105},"subscriptions",[95,222,136],{"class":135},[95,224,144],{"class":135},[95,226,163],{"class":135},[95,228,229],{"class":105},"comment_subscriptions",[95,231,136],{"class":135},[95,233,170],{"class":135},[95,235,237,239,242,244,246,248,251,253],{"class":97,"line":236},6,[95,238,153],{"class":135},[95,240,241],{"class":105},"attachments",[95,243,136],{"class":135},[95,245,144],{"class":135},[95,247,163],{"class":135},[95,249,250],{"class":105},"comment_attachments",[95,252,136],{"class":135},[95,254,170],{"class":135},[95,256,258],{"class":97,"line":257},7,[95,259,260],{"class":135},"],\n",[81,262,263],{},"Change the table names if they conflict with your application.",[121,265,267],{"id":266},"column-names","Column Names",[85,269,271],{"className":127,"code":270,"language":102,"meta":90,"style":90},"'column_names' => [\n 'commenter_id' => 'commenter_id',\n 'commenter_type' => 'commenter_type',\n],\n",[92,272,273,286,305,324],{"__ignoreMap":90},[95,274,275,277,280,282,284],{"class":97,"line":98},[95,276,136],{"class":135},[95,278,279],{"class":105},"column_names",[95,281,136],{"class":135},[95,283,144],{"class":135},[95,285,147],{"class":135},[95,287,288,290,293,295,297,299,301,303],{"class":97,"line":150},[95,289,153],{"class":135},[95,291,292],{"class":105},"commenter_id",[95,294,136],{"class":135},[95,296,144],{"class":135},[95,298,163],{"class":135},[95,300,292],{"class":105},[95,302,136],{"class":135},[95,304,170],{"class":135},[95,306,307,309,312,314,316,318,320,322],{"class":97,"line":173},[95,308,153],{"class":135},[95,310,311],{"class":105},"commenter_type",[95,313,136],{"class":135},[95,315,144],{"class":135},[95,317,163],{"class":135},[95,319,311],{"class":105},[95,321,136],{"class":135},[95,323,170],{"class":135},[95,325,326],{"class":97,"line":194},[95,327,260],{"class":135},[121,329,331],{"id":330},"models","Models",[85,333,335],{"className":127,"code":334,"language":102,"meta":90,"style":90},"'models' => [\n 'comment' => \\Relaticle\\Comments\\Models\\Comment::class,\n],\n\n'commenter' => [\n 'model' => \\App\\Models\\User::class,\n],\n",[92,336,337,349,391,395,401,414,445],{"__ignoreMap":90},[95,338,339,341,343,345,347],{"class":97,"line":98},[95,340,136],{"class":135},[95,342,330],{"class":105},[95,344,136],{"class":135},[95,346,144],{"class":135},[95,348,147],{"class":135},[95,350,351,353,356,358,360,363,367,370,373,375,377,379,382,385,389],{"class":97,"line":150},[95,352,153],{"class":135},[95,354,355],{"class":105},"comment",[95,357,136],{"class":135},[95,359,144],{"class":135},[95,361,362],{"class":135}," \\",[95,364,366],{"class":365},"sTEyZ","Relaticle",[95,368,369],{"class":135},"\\",[95,371,372],{"class":365},"Comments",[95,374,369],{"class":135},[95,376,331],{"class":365},[95,378,369],{"class":135},[95,380,381],{"class":101},"Comment",[95,383,384],{"class":135},"::",[95,386,388],{"class":387},"sbssI","class",[95,390,170],{"class":135},[95,392,393],{"class":97,"line":173},[95,394,260],{"class":135},[95,396,397],{"class":97,"line":194},[95,398,400],{"emptyLinePlaceholder":399},true,"\n",[95,402,403,405,408,410,412],{"class":97,"line":215},[95,404,136],{"class":135},[95,406,407],{"class":105},"commenter",[95,409,136],{"class":135},[95,411,144],{"class":135},[95,413,147],{"class":135},[95,415,416,418,421,423,425,427,430,432,434,436,439,441,443],{"class":97,"line":236},[95,417,153],{"class":135},[95,419,420],{"class":105},"model",[95,422,136],{"class":135},[95,424,144],{"class":135},[95,426,362],{"class":135},[95,428,429],{"class":365},"App",[95,431,369],{"class":135},[95,433,331],{"class":365},[95,435,369],{"class":135},[95,437,438],{"class":101},"User",[95,440,384],{"class":135},[95,442,388],{"class":387},[95,444,170],{"class":135},[95,446,447],{"class":97,"line":257},[95,448,260],{"class":135},[81,450,451],{},"Override the Comment model to add custom behavior. The commenter model defines which class represents the user who comments.",[121,453,455],{"id":454},"policy","Policy",[85,457,459],{"className":127,"code":458,"language":102,"meta":90,"style":90},"'policy' => \\Relaticle\\Comments\\Policies\\CommentPolicy::class,\n",[92,460,461],{"__ignoreMap":90},[95,462,463,465,467,469,471,473,475,477,479,481,484,486,489,491,493],{"class":97,"line":98},[95,464,136],{"class":135},[95,466,454],{"class":105},[95,468,136],{"class":135},[95,470,144],{"class":135},[95,472,362],{"class":135},[95,474,366],{"class":365},[95,476,369],{"class":135},[95,478,372],{"class":365},[95,480,369],{"class":135},[95,482,483],{"class":365},"Policies",[95,485,369],{"class":135},[95,487,488],{"class":101},"CommentPolicy",[95,490,384],{"class":135},[95,492,388],{"class":387},[95,494,170],{"class":135},[81,496,497,498,501],{},"See the ",[499,500,31],"a",{"href":32}," page for customization details.",[121,503,505],{"id":504},"threading","Threading",[85,507,509],{"className":127,"code":508,"language":102,"meta":90,"style":90},"'threading' => [\n 'max_depth' => 2,\n],\n",[92,510,511,523,539],{"__ignoreMap":90},[95,512,513,515,517,519,521],{"class":97,"line":98},[95,514,136],{"class":135},[95,516,504],{"class":105},[95,518,136],{"class":135},[95,520,144],{"class":135},[95,522,147],{"class":135},[95,524,525,527,530,532,534,537],{"class":97,"line":150},[95,526,153],{"class":135},[95,528,529],{"class":105},"max_depth",[95,531,136],{"class":135},[95,533,144],{"class":135},[95,535,536],{"class":387}," 2",[95,538,170],{"class":135},[95,540,541],{"class":97,"line":173},[95,542,260],{"class":135},[81,544,545,546,549,550,553],{},"Controls how many levels of nested replies are allowed. A depth of ",[92,547,548],{},"2"," means top-level comments and one level of replies. Set to ",[92,551,552],{},"1"," to disable replies entirely.",[121,555,557],{"id":556},"pagination","Pagination",[85,559,561],{"className":127,"code":560,"language":102,"meta":90,"style":90},"'pagination' => [\n 'per_page' => 10,\n],\n",[92,562,563,575,591],{"__ignoreMap":90},[95,564,565,567,569,571,573],{"class":97,"line":98},[95,566,136],{"class":135},[95,568,556],{"class":105},[95,570,136],{"class":135},[95,572,144],{"class":135},[95,574,147],{"class":135},[95,576,577,579,582,584,586,589],{"class":97,"line":150},[95,578,153],{"class":135},[95,580,581],{"class":105},"per_page",[95,583,136],{"class":135},[95,585,144],{"class":135},[95,587,588],{"class":387}," 10",[95,590,170],{"class":135},[95,592,593],{"class":97,"line":173},[95,594,260],{"class":135},[81,596,597],{},"Number of comments loaded initially and per \"Load More\" click.",[121,599,41],{"id":178},[85,601,603],{"className":127,"code":602,"language":102,"meta":90,"style":90},"'reactions' => [\n 'emoji_set' => [\n 'thumbs_up' => \"\\u{1F44D}\",\n 'heart' => \"\\u{2764}\\u{FE0F}\",\n 'celebrate' => \"\\u{1F389}\",\n 'laugh' => \"\\u{1F604}\",\n 'thinking' => \"\\u{1F914}\",\n 'sad' => \"\\u{1F622}\",\n ],\n],\n",[92,604,605,617,630,653,673,693,713,733,754,760],{"__ignoreMap":90},[95,606,607,609,611,613,615],{"class":97,"line":98},[95,608,136],{"class":135},[95,610,178],{"class":105},[95,612,136],{"class":135},[95,614,144],{"class":135},[95,616,147],{"class":135},[95,618,619,621,624,626,628],{"class":97,"line":150},[95,620,153],{"class":135},[95,622,623],{"class":105},"emoji_set",[95,625,136],{"class":135},[95,627,144],{"class":135},[95,629,147],{"class":135},[95,631,632,635,638,640,642,645,648,651],{"class":97,"line":173},[95,633,634],{"class":135}," '",[95,636,637],{"class":105},"thumbs_up",[95,639,136],{"class":135},[95,641,144],{"class":135},[95,643,644],{"class":135}," \"",[95,646,647],{"class":365},"\\u{1F44D}",[95,649,650],{"class":135},"\"",[95,652,170],{"class":135},[95,654,655,657,660,662,664,666,669,671],{"class":97,"line":194},[95,656,634],{"class":135},[95,658,659],{"class":105},"heart",[95,661,136],{"class":135},[95,663,144],{"class":135},[95,665,644],{"class":135},[95,667,668],{"class":365},"\\u{2764}\\u{FE0F}",[95,670,650],{"class":135},[95,672,170],{"class":135},[95,674,675,677,680,682,684,686,689,691],{"class":97,"line":215},[95,676,634],{"class":135},[95,678,679],{"class":105},"celebrate",[95,681,136],{"class":135},[95,683,144],{"class":135},[95,685,644],{"class":135},[95,687,688],{"class":365},"\\u{1F389}",[95,690,650],{"class":135},[95,692,170],{"class":135},[95,694,695,697,700,702,704,706,709,711],{"class":97,"line":236},[95,696,634],{"class":135},[95,698,699],{"class":105},"laugh",[95,701,136],{"class":135},[95,703,144],{"class":135},[95,705,644],{"class":135},[95,707,708],{"class":365},"\\u{1F604}",[95,710,650],{"class":135},[95,712,170],{"class":135},[95,714,715,717,720,722,724,726,729,731],{"class":97,"line":257},[95,716,634],{"class":135},[95,718,719],{"class":105},"thinking",[95,721,136],{"class":135},[95,723,144],{"class":135},[95,725,644],{"class":135},[95,727,728],{"class":365},"\\u{1F914}",[95,730,650],{"class":135},[95,732,170],{"class":135},[95,734,736,738,741,743,745,747,750,752],{"class":97,"line":735},8,[95,737,634],{"class":135},[95,739,740],{"class":105},"sad",[95,742,136],{"class":135},[95,744,144],{"class":135},[95,746,644],{"class":135},[95,748,749],{"class":365},"\\u{1F622}",[95,751,650],{"class":135},[95,753,170],{"class":135},[95,755,757],{"class":97,"line":756},9,[95,758,759],{"class":135}," ],\n",[95,761,763],{"class":97,"line":762},10,[95,764,260],{"class":135},[81,766,767],{},"Customize the available emoji reactions. Keys are used as identifiers in the database, values are the displayed emoji characters.",[121,769,36],{"id":199},[85,771,773],{"className":127,"code":772,"language":102,"meta":90,"style":90},"'mentions' => [\n 'resolver' => \\Relaticle\\Comments\\Mentions\\DefaultMentionResolver::class,\n 'max_results' => 5,\n],\n",[92,774,775,787,821,837],{"__ignoreMap":90},[95,776,777,779,781,783,785],{"class":97,"line":98},[95,778,136],{"class":135},[95,780,199],{"class":105},[95,782,136],{"class":135},[95,784,144],{"class":135},[95,786,147],{"class":135},[95,788,789,791,794,796,798,800,802,804,806,808,810,812,815,817,819],{"class":97,"line":150},[95,790,153],{"class":135},[95,792,793],{"class":105},"resolver",[95,795,136],{"class":135},[95,797,144],{"class":135},[95,799,362],{"class":135},[95,801,366],{"class":365},[95,803,369],{"class":135},[95,805,372],{"class":365},[95,807,369],{"class":135},[95,809,36],{"class":365},[95,811,369],{"class":135},[95,813,814],{"class":101},"DefaultMentionResolver",[95,816,384],{"class":135},[95,818,388],{"class":387},[95,820,170],{"class":135},[95,822,823,825,828,830,832,835],{"class":97,"line":173},[95,824,153],{"class":135},[95,826,827],{"class":105},"max_results",[95,829,136],{"class":135},[95,831,144],{"class":135},[95,833,834],{"class":387}," 5",[95,836,170],{"class":135},[95,838,839],{"class":97,"line":194},[95,840,260],{"class":135},[81,842,843,844,846],{},"The resolver handles searching for users during @mention autocomplete. See the ",[499,845,36],{"href":37}," page for creating a custom resolver.",[121,848,850],{"id":849},"editor-toolbar","Editor Toolbar",[85,852,854],{"className":127,"code":853,"language":102,"meta":90,"style":90},"'editor' => [\n 'toolbar' => [\n ['bold', 'italic', 'strike', 'link'],\n ['bulletList', 'orderedList'],\n ['codeBlock'],\n ],\n],\n",[92,855,856,869,882,924,946,959,963],{"__ignoreMap":90},[95,857,858,860,863,865,867],{"class":97,"line":98},[95,859,136],{"class":135},[95,861,862],{"class":105},"editor",[95,864,136],{"class":135},[95,866,144],{"class":135},[95,868,147],{"class":135},[95,870,871,873,876,878,880],{"class":97,"line":150},[95,872,153],{"class":135},[95,874,875],{"class":105},"toolbar",[95,877,136],{"class":135},[95,879,144],{"class":135},[95,881,147],{"class":135},[95,883,884,887,889,892,894,897,899,902,904,906,908,911,913,915,917,920,922],{"class":97,"line":173},[95,885,886],{"class":135}," [",[95,888,136],{"class":135},[95,890,891],{"class":105},"bold",[95,893,136],{"class":135},[95,895,896],{"class":135},",",[95,898,163],{"class":135},[95,900,901],{"class":105},"italic",[95,903,136],{"class":135},[95,905,896],{"class":135},[95,907,163],{"class":135},[95,909,910],{"class":105},"strike",[95,912,136],{"class":135},[95,914,896],{"class":135},[95,916,163],{"class":135},[95,918,919],{"class":105},"link",[95,921,136],{"class":135},[95,923,260],{"class":135},[95,925,926,928,930,933,935,937,939,942,944],{"class":97,"line":194},[95,927,886],{"class":135},[95,929,136],{"class":135},[95,931,932],{"class":105},"bulletList",[95,934,136],{"class":135},[95,936,896],{"class":135},[95,938,163],{"class":135},[95,940,941],{"class":105},"orderedList",[95,943,136],{"class":135},[95,945,260],{"class":135},[95,947,948,950,952,955,957],{"class":97,"line":215},[95,949,886],{"class":135},[95,951,136],{"class":135},[95,953,954],{"class":105},"codeBlock",[95,956,136],{"class":135},[95,958,260],{"class":135},[95,960,961],{"class":97,"line":236},[95,962,759],{"class":135},[95,964,965],{"class":97,"line":257},[95,966,260],{"class":135},[81,968,969],{},"Defines which formatting buttons appear in the comment editor. Groups create visual separators in the toolbar.",[121,971,51],{"id":972},"notifications",[85,974,976],{"className":127,"code":975,"language":102,"meta":90,"style":90},"'notifications' => [\n 'channels' => ['database'],\n 'enabled' => true,\n],\n",[92,977,978,990,1013,1027],{"__ignoreMap":90},[95,979,980,982,984,986,988],{"class":97,"line":98},[95,981,136],{"class":135},[95,983,972],{"class":105},[95,985,136],{"class":135},[95,987,144],{"class":135},[95,989,147],{"class":135},[95,991,992,994,997,999,1001,1004,1006,1009,1011],{"class":97,"line":150},[95,993,153],{"class":135},[95,995,996],{"class":105},"channels",[95,998,136],{"class":135},[95,1000,144],{"class":135},[95,1002,1003],{"class":135}," [",[95,1005,136],{"class":135},[95,1007,1008],{"class":105},"database",[95,1010,136],{"class":135},[95,1012,260],{"class":135},[95,1014,1015,1017,1020,1022,1024],{"class":97,"line":173},[95,1016,153],{"class":135},[95,1018,1019],{"class":105},"enabled",[95,1021,136],{"class":135},[95,1023,144],{"class":135},[95,1025,1026],{"class":135}," true,\n",[95,1028,1029],{"class":97,"line":194},[95,1030,260],{"class":135},[81,1032,1033,1034,1037,1038,1040,1041,1044],{},"Add ",[92,1035,1036],{},"'mail'"," to the channels array to send email notifications. Set ",[92,1039,1019],{}," to ",[92,1042,1043],{},"false"," to disable all notifications.",[121,1046,1047],{"id":220},"Subscriptions",[85,1049,1051],{"className":127,"code":1050,"language":102,"meta":90,"style":90},"'subscriptions' => [\n 'auto_subscribe' => true,\n],\n",[92,1052,1053,1065,1078],{"__ignoreMap":90},[95,1054,1055,1057,1059,1061,1063],{"class":97,"line":98},[95,1056,136],{"class":135},[95,1058,220],{"class":105},[95,1060,136],{"class":135},[95,1062,144],{"class":135},[95,1064,147],{"class":135},[95,1066,1067,1069,1072,1074,1076],{"class":97,"line":150},[95,1068,153],{"class":135},[95,1070,1071],{"class":105},"auto_subscribe",[95,1073,136],{"class":135},[95,1075,144],{"class":135},[95,1077,1026],{"class":135},[95,1079,1080],{"class":97,"line":173},[95,1081,260],{"class":135},[81,1083,1084],{},"When enabled, users are automatically subscribed to a thread when they create a comment or are mentioned. They receive notifications for subsequent replies.",[121,1086,46],{"id":241},[85,1088,1090],{"className":127,"code":1089,"language":102,"meta":90,"style":90},"'attachments' => [\n 'enabled' => true,\n 'disk' => 'public',\n 'max_size' => 10240, \u002F\u002F KB\n 'allowed_types' => [\n 'image\u002Fjpeg',\n 'image\u002Fpng',\n 'image\u002Fgif',\n 'image\u002Fwebp',\n 'application\u002Fpdf',\n 'text\u002Fplain',\n 'application\u002Fmsword',\n 'application\u002Fvnd.openxmlformats-officedocument.wordprocessingml.document',\n ],\n],\n",[92,1091,1092,1104,1116,1136,1156,1169,1180,1191,1202,1213,1224,1236,1248,1260,1265],{"__ignoreMap":90},[95,1093,1094,1096,1098,1100,1102],{"class":97,"line":98},[95,1095,136],{"class":135},[95,1097,241],{"class":105},[95,1099,136],{"class":135},[95,1101,144],{"class":135},[95,1103,147],{"class":135},[95,1105,1106,1108,1110,1112,1114],{"class":97,"line":150},[95,1107,153],{"class":135},[95,1109,1019],{"class":105},[95,1111,136],{"class":135},[95,1113,144],{"class":135},[95,1115,1026],{"class":135},[95,1117,1118,1120,1123,1125,1127,1129,1132,1134],{"class":97,"line":173},[95,1119,153],{"class":135},[95,1121,1122],{"class":105},"disk",[95,1124,136],{"class":135},[95,1126,144],{"class":135},[95,1128,163],{"class":135},[95,1130,1131],{"class":105},"public",[95,1133,136],{"class":135},[95,1135,170],{"class":135},[95,1137,1138,1140,1143,1145,1147,1150,1152],{"class":97,"line":194},[95,1139,153],{"class":135},[95,1141,1142],{"class":105},"max_size",[95,1144,136],{"class":135},[95,1146,144],{"class":135},[95,1148,1149],{"class":387}," 10240",[95,1151,896],{"class":135},[95,1153,1155],{"class":1154},"sHwdD"," \u002F\u002F KB\n",[95,1157,1158,1160,1163,1165,1167],{"class":97,"line":215},[95,1159,153],{"class":135},[95,1161,1162],{"class":105},"allowed_types",[95,1164,136],{"class":135},[95,1166,144],{"class":135},[95,1168,147],{"class":135},[95,1170,1171,1173,1176,1178],{"class":97,"line":236},[95,1172,634],{"class":135},[95,1174,1175],{"class":105},"image\u002Fjpeg",[95,1177,136],{"class":135},[95,1179,170],{"class":135},[95,1181,1182,1184,1187,1189],{"class":97,"line":257},[95,1183,634],{"class":135},[95,1185,1186],{"class":105},"image\u002Fpng",[95,1188,136],{"class":135},[95,1190,170],{"class":135},[95,1192,1193,1195,1198,1200],{"class":97,"line":735},[95,1194,634],{"class":135},[95,1196,1197],{"class":105},"image\u002Fgif",[95,1199,136],{"class":135},[95,1201,170],{"class":135},[95,1203,1204,1206,1209,1211],{"class":97,"line":756},[95,1205,634],{"class":135},[95,1207,1208],{"class":105},"image\u002Fwebp",[95,1210,136],{"class":135},[95,1212,170],{"class":135},[95,1214,1215,1217,1220,1222],{"class":97,"line":762},[95,1216,634],{"class":135},[95,1218,1219],{"class":105},"application\u002Fpdf",[95,1221,136],{"class":135},[95,1223,170],{"class":135},[95,1225,1227,1229,1232,1234],{"class":97,"line":1226},11,[95,1228,634],{"class":135},[95,1230,1231],{"class":105},"text\u002Fplain",[95,1233,136],{"class":135},[95,1235,170],{"class":135},[95,1237,1239,1241,1244,1246],{"class":97,"line":1238},12,[95,1240,634],{"class":135},[95,1242,1243],{"class":105},"application\u002Fmsword",[95,1245,136],{"class":135},[95,1247,170],{"class":135},[95,1249,1251,1253,1256,1258],{"class":97,"line":1250},13,[95,1252,634],{"class":135},[95,1254,1255],{"class":105},"application\u002Fvnd.openxmlformats-officedocument.wordprocessingml.document",[95,1257,136],{"class":135},[95,1259,170],{"class":135},[95,1261,1263],{"class":97,"line":1262},14,[95,1264,759],{"class":135},[95,1266,1268],{"class":97,"line":1267},15,[95,1269,260],{"class":135},[81,1271,1272,1273,1040,1275,1277,1278,1280],{},"Controls file upload behavior. Set ",[92,1274,1019],{},[92,1276,1043],{}," to remove the attachment UI entirely. The ",[92,1279,1142],{}," is in kilobytes (default 10 MB).",[121,1282,1284],{"id":1283},"broadcasting","Broadcasting",[85,1286,1288],{"className":127,"code":1287,"language":102,"meta":90,"style":90},"'broadcasting' => [\n 'enabled' => false,\n 'channel_prefix' => 'comments',\n],\n",[92,1289,1290,1302,1315,1334],{"__ignoreMap":90},[95,1291,1292,1294,1296,1298,1300],{"class":97,"line":98},[95,1293,136],{"class":135},[95,1295,1283],{"class":105},[95,1297,136],{"class":135},[95,1299,144],{"class":135},[95,1301,147],{"class":135},[95,1303,1304,1306,1308,1310,1312],{"class":97,"line":150},[95,1305,153],{"class":135},[95,1307,1019],{"class":105},[95,1309,136],{"class":135},[95,1311,144],{"class":135},[95,1313,1314],{"class":135}," false,\n",[95,1316,1317,1319,1322,1324,1326,1328,1330,1332],{"class":97,"line":173},[95,1318,153],{"class":135},[95,1320,1321],{"class":105},"channel_prefix",[95,1323,136],{"class":135},[95,1325,144],{"class":135},[95,1327,163],{"class":135},[95,1329,156],{"class":105},[95,1331,136],{"class":135},[95,1333,170],{"class":135},[95,1335,1336],{"class":97,"line":194},[95,1337,260],{"class":135},[81,1339,1340,1341,1344],{},"When enabled, comment events are broadcast on private channels using the format ",[92,1342,1343],{},"{prefix}.{commentable_type}.{commentable_id}",". Requires Laravel Echo and a broadcasting driver.",[121,1346,1348],{"id":1347},"polling","Polling",[85,1350,1352],{"className":127,"code":1351,"language":102,"meta":90,"style":90},"'polling' => [\n 'interval' => '10s',\n],\n",[92,1353,1354,1366,1386],{"__ignoreMap":90},[95,1355,1356,1358,1360,1362,1364],{"class":97,"line":98},[95,1357,136],{"class":135},[95,1359,1347],{"class":105},[95,1361,136],{"class":135},[95,1363,144],{"class":135},[95,1365,147],{"class":135},[95,1367,1368,1370,1373,1375,1377,1379,1382,1384],{"class":97,"line":150},[95,1369,153],{"class":135},[95,1371,1372],{"class":105},"interval",[95,1374,136],{"class":135},[95,1376,144],{"class":135},[95,1378,163],{"class":135},[95,1380,1381],{"class":105},"10s",[95,1383,136],{"class":135},[95,1385,170],{"class":135},[95,1387,1388],{"class":97,"line":173},[95,1389,260],{"class":135},[81,1391,1392,1393,1396],{},"When broadcasting is disabled, the Livewire component polls for new comments at this interval. Set to ",[92,1394,1395],{},"null"," to disable polling.",[121,1398,1400],{"id":1399},"custom-user-resolution","Custom User Resolution",[81,1402,1403],{},"Override how the authenticated user is resolved:",[85,1405,1407],{"className":127,"code":1406,"language":102,"meta":90,"style":90},"use Relaticle\\Comments\\CommentsConfig;\n\n\u002F\u002F In AppServiceProvider::boot()\nCommentsConfig::resolveAuthenticatedUserUsing(function () {\n return auth()->user();\n});\n",[92,1408,1409,1429,1433,1438,1461,1479],{"__ignoreMap":90},[95,1410,1411,1414,1417,1419,1421,1423,1426],{"class":97,"line":98},[95,1412,1413],{"class":387},"use",[95,1415,1416],{"class":365}," Relaticle",[95,1418,369],{"class":135},[95,1420,372],{"class":365},[95,1422,369],{"class":135},[95,1424,1425],{"class":365},"CommentsConfig",[95,1427,1428],{"class":135},";\n",[95,1430,1431],{"class":97,"line":150},[95,1432,400],{"emptyLinePlaceholder":399},[95,1434,1435],{"class":97,"line":173},[95,1436,1437],{"class":1154},"\u002F\u002F In AppServiceProvider::boot()\n",[95,1439,1440,1442,1444,1448,1451,1455,1458],{"class":97,"line":194},[95,1441,1425],{"class":101},[95,1443,384],{"class":135},[95,1445,1447],{"class":1446},"s2Zo4","resolveAuthenticatedUserUsing",[95,1449,1450],{"class":135},"(",[95,1452,1454],{"class":1453},"spNyl","function",[95,1456,1457],{"class":135}," ()",[95,1459,1460],{"class":135}," {\n",[95,1462,1463,1467,1470,1473,1476],{"class":97,"line":215},[95,1464,1466],{"class":1465},"s7zQu"," return",[95,1468,1469],{"class":1446}," auth",[95,1471,1472],{"class":135},"()->",[95,1474,1475],{"class":1446},"user",[95,1477,1478],{"class":135},"();\n",[95,1480,1481],{"class":97,"line":236},[95,1482,1483],{"class":135},"});\n",[81,1485,1486],{},"This is useful for multi-guard applications or custom authentication flows.",[1488,1489,1490],"style",{},"html pre.shiki code .sBMFI, html code.shiki .sBMFI{--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B}html pre.shiki code .sfazB, html code.shiki .sfazB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html pre.shiki code .sMK4o, html code.shiki .sMK4o{--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF}html pre.shiki code .sTEyZ, html code.shiki .sTEyZ{--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8}html pre.shiki code .sbssI, html code.shiki .sbssI{--shiki-light:#F76D47;--shiki-default:#F78C6C;--shiki-dark:#F78C6C}html pre.shiki code .sHwdD, html code.shiki .sHwdD{--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#546E7A;--shiki-default-font-style:italic;--shiki-dark:#676E95;--shiki-dark-font-style:italic}html pre.shiki code .s2Zo4, html code.shiki .s2Zo4{--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF}html pre.shiki code .spNyl, html code.shiki .spNyl{--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA}html pre.shiki code .s7zQu, html code.shiki .s7zQu{--shiki-light:#39ADB5;--shiki-light-font-style:italic;--shiki-default:#89DDFF;--shiki-default-font-style:italic;--shiki-dark:#89DDFF;--shiki-dark-font-style:italic}",{"title":90,"searchDepth":150,"depth":150,"links":1492},[1493,1494,1495,1496,1497,1498,1499,1500,1501,1502,1503,1504,1505,1506,1507],{"id":123,"depth":150,"text":124},{"id":266,"depth":150,"text":267},{"id":330,"depth":150,"text":331},{"id":454,"depth":150,"text":455},{"id":504,"depth":150,"text":505},{"id":556,"depth":150,"text":557},{"id":178,"depth":150,"text":41},{"id":199,"depth":150,"text":36},{"id":849,"depth":150,"text":850},{"id":972,"depth":150,"text":51},{"id":220,"depth":150,"text":1047},{"id":241,"depth":150,"text":46},{"id":1283,"depth":150,"text":1284},{"id":1347,"depth":150,"text":1348},{"id":1399,"depth":150,"text":1400},"Configure threading, reactions, mentions, attachments, notifications, and more.","md",null,{},{"icon":29},{"description":1514,"title":26},"Complete configuration reference for the Comments package.","YWsopc6VLfx9iMf_SsSaKH2khF5148dFFdyJiIINOsU",[1517,1519],{"title":16,"path":17,"stem":18,"description":1518,"icon":19,"children":-1},"Upgrade guide for Comments.",{"title":31,"path":32,"stem":33,"description":1520,"icon":34,"children":-1},"Control who can create, edit, delete, and reply to comments.",1774613434788] \ No newline at end of file diff --git a/essentials/database-schema.html b/essentials/database-schema.html index d889994..e138ace 100644 --- a/essentials/database-schema.html +++ b/essentials/database-schema.html @@ -94,7 +94,7 @@ --ui-warning: var(--ui-color-warning-400); --ui-error: var(--ui-color-error-400); } -}Database Schema - Comments
Comments Logo
1.x
Essentials

Database Schema

Tables, relationships, and indexes used by the Comments package.

Tables

Five tables are created by the package migrations.

comments

The main comments table with polymorphic relationships and threading support.

ColumnTypeDescription
idbigintPrimary key
commentable_typestringPolymorphic model type
commentable_idbigintPolymorphic model ID
commenter_typestringCommenter model type
commenter_idbigintCommenter model ID
parent_idbigint (nullable)Parent comment for replies
bodytextHTML comment content
edited_attimestamp (nullable)When the comment was last edited
deleted_attimestamp (nullable)Soft delete timestamp
created_attimestamp
updated_attimestamp

Indexes: (commentable_type, commentable_id, parent_id)

comment_reactions

Tracks emoji reactions per user per comment.

ColumnTypeDescription
idbigintPrimary key
comment_idbigintForeign key to comments
commenter_typestringReactor model type
commenter_idbigintReactor model ID
reactionstringReaction key (e.g., thumbs_up)
created_attimestamp

Unique constraint: (comment_id, commenter_id, commenter_type, reaction)

comment_mentions

Tracks @mentioned users per comment.

ColumnTypeDescription
idbigintPrimary key
comment_idbigintForeign key to comments
commenter_typestringMentioned user model type
commenter_idbigintMentioned user model ID
created_attimestamp

Unique constraint: (comment_id, commenter_id, commenter_type)

comment_subscriptions

Tracks which users are subscribed to comment threads on specific models.

ColumnTypeDescription
idbigintPrimary key
commentable_typestringSubscribed model type
commentable_idbigintSubscribed model ID
commenter_typestringSubscriber model type
commenter_idbigintSubscriber model ID
created_attimestamp

Unique constraint: (commentable_type, commentable_id, commenter_type, commenter_id)

comment_attachments

Stores file attachment metadata for comments.

ColumnTypeDescription
idbigintPrimary key
comment_idbigintForeign key to comments
file_pathstringPath on the storage disk
original_namestringOriginal uploaded filename
mime_typestringFile MIME type
sizebigintFile size in bytes
diskstringLaravel filesystem disk
created_attimestamp
updated_attimestamp

Relationships

Commentable Model (e.g., Project)
+}Database Schema - Comments
Comments Logo
1.x
Essentials

Database Schema

Tables, relationships, and indexes used by the Comments package.

Tables

Five tables are created by the package migrations.

comments

The main comments table with polymorphic relationships and threading support.

ColumnTypeDescription
idbigintPrimary key
commentable_typestringPolymorphic model type
commentable_idbigintPolymorphic model ID
commenter_typestringCommenter model type
commenter_idbigintCommenter model ID
parent_idbigint (nullable)Parent comment for replies
bodytextHTML comment content
edited_attimestamp (nullable)When the comment was last edited
deleted_attimestamp (nullable)Soft delete timestamp
created_attimestamp
updated_attimestamp

Indexes: (commentable_type, commentable_id, parent_id)

comment_reactions

Tracks emoji reactions per user per comment.

ColumnTypeDescription
idbigintPrimary key
comment_idbigintForeign key to comments
commenter_typestringReactor model type
commenter_idbigintReactor model ID
reactionstringReaction key (e.g., thumbs_up)
created_attimestamp

Unique constraint: (comment_id, commenter_id, commenter_type, reaction)

comment_mentions

Tracks @mentioned users per comment.

ColumnTypeDescription
idbigintPrimary key
comment_idbigintForeign key to comments
commenter_typestringMentioned user model type
commenter_idbigintMentioned user model ID
created_attimestamp

Unique constraint: (comment_id, commenter_id, commenter_type)

comment_subscriptions

Tracks which users are subscribed to comment threads on specific models.

ColumnTypeDescription
idbigintPrimary key
commentable_typestringSubscribed model type
commentable_idbigintSubscribed model ID
commenter_typestringSubscriber model type
commenter_idbigintSubscriber model ID
created_attimestamp

Unique constraint: (commentable_type, commentable_id, commenter_type, commenter_id)

comment_attachments

Stores file attachment metadata for comments.

ColumnTypeDescription
idbigintPrimary key
comment_idbigintForeign key to comments
file_pathstringPath on the storage disk
original_namestringOriginal uploaded filename
mime_typestringFile MIME type
sizebigintFile size in bytes
diskstringLaravel filesystem disk
created_attimestamp
updated_attimestamp

Relationships

Commentable Model (e.g., Project)
   └── comments (morphMany)
         ├── commenter (morphTo → User)
         ├── parent (belongsTo → Comment)
@@ -102,4 +102,4 @@
         ├── reactions (hasMany → Reaction)
         ├── attachments (hasMany → Attachment)
         └── mentions (morphToMany → User)
-

All relationships are polymorphic, allowing the same comment system to work across any number of models in your application.

Copyright © 2026
\ No newline at end of file +

All relationships are polymorphic, allowing the same comment system to work across any number of models in your application.

Copyright © 2026
\ No newline at end of file diff --git a/essentials/database-schema/_payload.json b/essentials/database-schema/_payload.json index 7db0f5e..6077179 100644 --- a/essentials/database-schema/_payload.json +++ b/essentials/database-schema/_payload.json @@ -1 +1 @@ -[{"data":1,"prerenderedAt":695},["ShallowReactive",2],{"navigation_docs":3,"-essentials-database-schema":75,"-essentials-database-schema-surround":690},[4,20,60],{"title":5,"icon":6,"path":7,"stem":8,"children":9,"page":6},"Getting Started",false,"\u002Fgetting-started","1.getting-started",[10,15],{"title":11,"path":12,"stem":13,"icon":14},"Installation","\u002Fgetting-started\u002Finstallation","1.getting-started\u002F1.installation","i-lucide-download",{"title":16,"path":17,"stem":18,"icon":19},"Upgrading","\u002Fgetting-started\u002Fupgrading","1.getting-started\u002F2.upgrading","i-lucide-arrow-up-circle",{"title":21,"path":22,"stem":23,"children":24,"page":6},"Essentials","\u002Fessentials","2.essentials",[25,30,35,40,45,50,55],{"title":26,"path":27,"stem":28,"icon":29},"Configuration","\u002Fessentials\u002Fconfiguration","2.essentials\u002F1.configuration","i-lucide-settings",{"title":31,"path":32,"stem":33,"icon":34},"Authorization","\u002Fessentials\u002Fauthorization","2.essentials\u002F2.authorization","i-lucide-shield",{"title":36,"path":37,"stem":38,"icon":39},"Mentions","\u002Fessentials\u002Fmentions","2.essentials\u002F3.mentions","i-lucide-at-sign",{"title":41,"path":42,"stem":43,"icon":44},"Reactions","\u002Fessentials\u002Freactions","2.essentials\u002F4.reactions","i-lucide-smile",{"title":46,"path":47,"stem":48,"icon":49},"Attachments","\u002Fessentials\u002Fattachments","2.essentials\u002F5.attachments","i-lucide-paperclip",{"title":51,"path":52,"stem":53,"icon":54},"Notifications","\u002Fessentials\u002Fnotifications","2.essentials\u002F6.notifications","i-lucide-bell",{"title":56,"path":57,"stem":58,"icon":59},"Database Schema","\u002Fessentials\u002Fdatabase-schema","2.essentials\u002F7.database-schema","i-lucide-database",{"title":61,"path":62,"stem":63,"children":64,"page":6},"Community","\u002Fcommunity","4.community",[65,70],{"title":66,"path":67,"stem":68,"icon":69},"Contributing","\u002Fcommunity\u002Fcontributing","4.community\u002F1.contributing","i-lucide-heart-handshake",{"title":71,"path":72,"stem":73,"icon":74},"License","\u002Fcommunity\u002Flicense","4.community\u002F2.license","i-lucide-scale",{"id":76,"title":56,"body":77,"description":682,"extension":683,"links":684,"meta":685,"navigation":686,"path":57,"seo":687,"stem":58,"__hash__":689},"docs\u002F2.essentials\u002F7.database-schema.md",{"type":78,"value":79,"toc":670},"minimark",[80,85,89,93,96,256,266,269,272,356,364,367,370,436,443,446,449,527,534,537,540,654,658,667],[81,82,84],"h2",{"id":83},"tables","Tables",[86,87,88],"p",{},"Five tables are created by the package migrations.",[90,91,92],"h3",{"id":92},"comments",[86,94,95],{},"The main comments table with polymorphic relationships and threading support.",[97,98,99,115],"table",{},[100,101,102],"thead",{},[103,104,105,109,112],"tr",{},[106,107,108],"th",{},"Column",[106,110,111],{},"Type",[106,113,114],{},"Description",[116,117,118,133,146,158,170,182,195,208,221,233,245],"tbody",{},[103,119,120,127,130],{},[121,122,123],"td",{},[124,125,126],"code",{},"id",[121,128,129],{},"bigint",[121,131,132],{},"Primary key",[103,134,135,140,143],{},[121,136,137],{},[124,138,139],{},"commentable_type",[121,141,142],{},"string",[121,144,145],{},"Polymorphic model type",[103,147,148,153,155],{},[121,149,150],{},[124,151,152],{},"commentable_id",[121,154,129],{},[121,156,157],{},"Polymorphic model ID",[103,159,160,165,167],{},[121,161,162],{},[124,163,164],{},"commenter_type",[121,166,142],{},[121,168,169],{},"Commenter model type",[103,171,172,177,179],{},[121,173,174],{},[124,175,176],{},"commenter_id",[121,178,129],{},[121,180,181],{},"Commenter model ID",[103,183,184,189,192],{},[121,185,186],{},[124,187,188],{},"parent_id",[121,190,191],{},"bigint (nullable)",[121,193,194],{},"Parent comment for replies",[103,196,197,202,205],{},[121,198,199],{},[124,200,201],{},"body",[121,203,204],{},"text",[121,206,207],{},"HTML comment content",[103,209,210,215,218],{},[121,211,212],{},[124,213,214],{},"edited_at",[121,216,217],{},"timestamp (nullable)",[121,219,220],{},"When the comment was last edited",[103,222,223,228,230],{},[121,224,225],{},[124,226,227],{},"deleted_at",[121,229,217],{},[121,231,232],{},"Soft delete timestamp",[103,234,235,240,243],{},[121,236,237],{},[124,238,239],{},"created_at",[121,241,242],{},"timestamp",[121,244],{},[103,246,247,252,254],{},[121,248,249],{},[124,250,251],{},"updated_at",[121,253,242],{},[121,255],{},[86,257,258,262,263],{},[259,260,261],"strong",{},"Indexes:"," ",[124,264,265],{},"(commentable_type, commentable_id, parent_id)",[90,267,268],{"id":268},"comment_reactions",[86,270,271],{},"Tracks emoji reactions per user per comment.",[97,273,274,284],{},[100,275,276],{},[103,277,278,280,282],{},[106,279,108],{},[106,281,111],{},[106,283,114],{},[116,285,286,296,308,319,330,346],{},[103,287,288,292,294],{},[121,289,290],{},[124,291,126],{},[121,293,129],{},[121,295,132],{},[103,297,298,303,305],{},[121,299,300],{},[124,301,302],{},"comment_id",[121,304,129],{},[121,306,307],{},"Foreign key to comments",[103,309,310,314,316],{},[121,311,312],{},[124,313,164],{},[121,315,142],{},[121,317,318],{},"Reactor model type",[103,320,321,325,327],{},[121,322,323],{},[124,324,176],{},[121,326,129],{},[121,328,329],{},"Reactor model ID",[103,331,332,337,339],{},[121,333,334],{},[124,335,336],{},"reaction",[121,338,142],{},[121,340,341,342,345],{},"Reaction key (e.g., ",[124,343,344],{},"thumbs_up",")",[103,347,348,352,354],{},[121,349,350],{},[124,351,239],{},[121,353,242],{},[121,355],{},[86,357,358,262,361],{},[259,359,360],{},"Unique constraint:",[124,362,363],{},"(comment_id, commenter_id, commenter_type, reaction)",[90,365,366],{"id":366},"comment_mentions",[86,368,369],{},"Tracks @mentioned users per comment.",[97,371,372,382],{},[100,373,374],{},[103,375,376,378,380],{},[106,377,108],{},[106,379,111],{},[106,381,114],{},[116,383,384,394,404,415,426],{},[103,385,386,390,392],{},[121,387,388],{},[124,389,126],{},[121,391,129],{},[121,393,132],{},[103,395,396,400,402],{},[121,397,398],{},[124,399,302],{},[121,401,129],{},[121,403,307],{},[103,405,406,410,412],{},[121,407,408],{},[124,409,164],{},[121,411,142],{},[121,413,414],{},"Mentioned user model type",[103,416,417,421,423],{},[121,418,419],{},[124,420,176],{},[121,422,129],{},[121,424,425],{},"Mentioned user model ID",[103,427,428,432,434],{},[121,429,430],{},[124,431,239],{},[121,433,242],{},[121,435],{},[86,437,438,262,440],{},[259,439,360],{},[124,441,442],{},"(comment_id, commenter_id, commenter_type)",[90,444,445],{"id":445},"comment_subscriptions",[86,447,448],{},"Tracks which users are subscribed to comment threads on specific models.",[97,450,451,461],{},[100,452,453],{},[103,454,455,457,459],{},[106,456,108],{},[106,458,111],{},[106,460,114],{},[116,462,463,473,484,495,506,517],{},[103,464,465,469,471],{},[121,466,467],{},[124,468,126],{},[121,470,129],{},[121,472,132],{},[103,474,475,479,481],{},[121,476,477],{},[124,478,139],{},[121,480,142],{},[121,482,483],{},"Subscribed model type",[103,485,486,490,492],{},[121,487,488],{},[124,489,152],{},[121,491,129],{},[121,493,494],{},"Subscribed model ID",[103,496,497,501,503],{},[121,498,499],{},[124,500,164],{},[121,502,142],{},[121,504,505],{},"Subscriber model type",[103,507,508,512,514],{},[121,509,510],{},[124,511,176],{},[121,513,129],{},[121,515,516],{},"Subscriber model ID",[103,518,519,523,525],{},[121,520,521],{},[124,522,239],{},[121,524,242],{},[121,526],{},[86,528,529,262,531],{},[259,530,360],{},[124,532,533],{},"(commentable_type, commentable_id, commenter_type, commenter_id)",[90,535,536],{"id":536},"comment_attachments",[86,538,539],{},"Stores file attachment metadata for comments.",[97,541,542,552],{},[100,543,544],{},[103,545,546,548,550],{},[106,547,108],{},[106,549,111],{},[106,551,114],{},[116,553,554,564,574,586,598,610,622,634,644],{},[103,555,556,560,562],{},[121,557,558],{},[124,559,126],{},[121,561,129],{},[121,563,132],{},[103,565,566,570,572],{},[121,567,568],{},[124,569,302],{},[121,571,129],{},[121,573,307],{},[103,575,576,581,583],{},[121,577,578],{},[124,579,580],{},"file_path",[121,582,142],{},[121,584,585],{},"Path on the storage disk",[103,587,588,593,595],{},[121,589,590],{},[124,591,592],{},"original_name",[121,594,142],{},[121,596,597],{},"Original uploaded filename",[103,599,600,605,607],{},[121,601,602],{},[124,603,604],{},"mime_type",[121,606,142],{},[121,608,609],{},"File MIME type",[103,611,612,617,619],{},[121,613,614],{},[124,615,616],{},"size",[121,618,129],{},[121,620,621],{},"File size in bytes",[103,623,624,629,631],{},[121,625,626],{},[124,627,628],{},"disk",[121,630,142],{},[121,632,633],{},"Laravel filesystem disk",[103,635,636,640,642],{},[121,637,638],{},[124,639,239],{},[121,641,242],{},[121,643],{},[103,645,646,650,652],{},[121,647,648],{},[124,649,251],{},[121,651,242],{},[121,653],{},[81,655,657],{"id":656},"relationships","Relationships",[659,660,664],"pre",{"className":661,"code":663,"language":204},[662],"language-text","Commentable Model (e.g., Project)\n └── comments (morphMany)\n ├── commenter (morphTo → User)\n ├── parent (belongsTo → Comment)\n ├── replies (hasMany → Comment)\n ├── reactions (hasMany → Reaction)\n ├── attachments (hasMany → Attachment)\n └── mentions (morphToMany → User)\n",[124,665,663],{"__ignoreMap":666},"",[86,668,669],{},"All relationships are polymorphic, allowing the same comment system to work across any number of models in your application.",{"title":666,"searchDepth":671,"depth":671,"links":672},2,[673,681],{"id":83,"depth":671,"text":84,"children":674},[675,677,678,679,680],{"id":92,"depth":676,"text":92},3,{"id":268,"depth":676,"text":268},{"id":366,"depth":676,"text":366},{"id":445,"depth":676,"text":445},{"id":536,"depth":676,"text":536},{"id":656,"depth":671,"text":657},"Tables, relationships, and indexes used by the Comments package.","md",null,{},{"icon":59},{"description":688,"title":56},"Database schema reference for the Comments package.","5_kn3a7TCJOh1wLcKzZt0UvBJvm6q5qnwOrAjg4Pydw",[691,693],{"title":51,"path":52,"stem":53,"description":692,"icon":54,"children":-1},"Comment notifications, subscriptions, and real-time updates.",{"title":66,"path":67,"stem":68,"description":694,"icon":69,"children":-1},"How to contribute to Comments",1774613361671] \ No newline at end of file +[{"data":1,"prerenderedAt":695},["ShallowReactive",2],{"navigation_docs":3,"-essentials-database-schema":75,"-essentials-database-schema-surround":690},[4,20,60],{"title":5,"icon":6,"path":7,"stem":8,"children":9,"page":6},"Getting Started",false,"\u002Fgetting-started","1.getting-started",[10,15],{"title":11,"path":12,"stem":13,"icon":14},"Installation","\u002Fgetting-started\u002Finstallation","1.getting-started\u002F1.installation","i-lucide-download",{"title":16,"path":17,"stem":18,"icon":19},"Upgrading","\u002Fgetting-started\u002Fupgrading","1.getting-started\u002F2.upgrading","i-lucide-arrow-up-circle",{"title":21,"path":22,"stem":23,"children":24,"page":6},"Essentials","\u002Fessentials","2.essentials",[25,30,35,40,45,50,55],{"title":26,"path":27,"stem":28,"icon":29},"Configuration","\u002Fessentials\u002Fconfiguration","2.essentials\u002F1.configuration","i-lucide-settings",{"title":31,"path":32,"stem":33,"icon":34},"Authorization","\u002Fessentials\u002Fauthorization","2.essentials\u002F2.authorization","i-lucide-shield",{"title":36,"path":37,"stem":38,"icon":39},"Mentions","\u002Fessentials\u002Fmentions","2.essentials\u002F3.mentions","i-lucide-at-sign",{"title":41,"path":42,"stem":43,"icon":44},"Reactions","\u002Fessentials\u002Freactions","2.essentials\u002F4.reactions","i-lucide-smile",{"title":46,"path":47,"stem":48,"icon":49},"Attachments","\u002Fessentials\u002Fattachments","2.essentials\u002F5.attachments","i-lucide-paperclip",{"title":51,"path":52,"stem":53,"icon":54},"Notifications","\u002Fessentials\u002Fnotifications","2.essentials\u002F6.notifications","i-lucide-bell",{"title":56,"path":57,"stem":58,"icon":59},"Database Schema","\u002Fessentials\u002Fdatabase-schema","2.essentials\u002F7.database-schema","i-lucide-database",{"title":61,"path":62,"stem":63,"children":64,"page":6},"Community","\u002Fcommunity","4.community",[65,70],{"title":66,"path":67,"stem":68,"icon":69},"Contributing","\u002Fcommunity\u002Fcontributing","4.community\u002F1.contributing","i-lucide-heart-handshake",{"title":71,"path":72,"stem":73,"icon":74},"License","\u002Fcommunity\u002Flicense","4.community\u002F2.license","i-lucide-scale",{"id":76,"title":56,"body":77,"description":682,"extension":683,"links":684,"meta":685,"navigation":686,"path":57,"seo":687,"stem":58,"__hash__":689},"docs\u002F2.essentials\u002F7.database-schema.md",{"type":78,"value":79,"toc":670},"minimark",[80,85,89,93,96,256,266,269,272,356,364,367,370,436,443,446,449,527,534,537,540,654,658,667],[81,82,84],"h2",{"id":83},"tables","Tables",[86,87,88],"p",{},"Five tables are created by the package migrations.",[90,91,92],"h3",{"id":92},"comments",[86,94,95],{},"The main comments table with polymorphic relationships and threading support.",[97,98,99,115],"table",{},[100,101,102],"thead",{},[103,104,105,109,112],"tr",{},[106,107,108],"th",{},"Column",[106,110,111],{},"Type",[106,113,114],{},"Description",[116,117,118,133,146,158,170,182,195,208,221,233,245],"tbody",{},[103,119,120,127,130],{},[121,122,123],"td",{},[124,125,126],"code",{},"id",[121,128,129],{},"bigint",[121,131,132],{},"Primary key",[103,134,135,140,143],{},[121,136,137],{},[124,138,139],{},"commentable_type",[121,141,142],{},"string",[121,144,145],{},"Polymorphic model type",[103,147,148,153,155],{},[121,149,150],{},[124,151,152],{},"commentable_id",[121,154,129],{},[121,156,157],{},"Polymorphic model ID",[103,159,160,165,167],{},[121,161,162],{},[124,163,164],{},"commenter_type",[121,166,142],{},[121,168,169],{},"Commenter model type",[103,171,172,177,179],{},[121,173,174],{},[124,175,176],{},"commenter_id",[121,178,129],{},[121,180,181],{},"Commenter model ID",[103,183,184,189,192],{},[121,185,186],{},[124,187,188],{},"parent_id",[121,190,191],{},"bigint (nullable)",[121,193,194],{},"Parent comment for replies",[103,196,197,202,205],{},[121,198,199],{},[124,200,201],{},"body",[121,203,204],{},"text",[121,206,207],{},"HTML comment content",[103,209,210,215,218],{},[121,211,212],{},[124,213,214],{},"edited_at",[121,216,217],{},"timestamp (nullable)",[121,219,220],{},"When the comment was last edited",[103,222,223,228,230],{},[121,224,225],{},[124,226,227],{},"deleted_at",[121,229,217],{},[121,231,232],{},"Soft delete timestamp",[103,234,235,240,243],{},[121,236,237],{},[124,238,239],{},"created_at",[121,241,242],{},"timestamp",[121,244],{},[103,246,247,252,254],{},[121,248,249],{},[124,250,251],{},"updated_at",[121,253,242],{},[121,255],{},[86,257,258,262,263],{},[259,260,261],"strong",{},"Indexes:"," ",[124,264,265],{},"(commentable_type, commentable_id, parent_id)",[90,267,268],{"id":268},"comment_reactions",[86,270,271],{},"Tracks emoji reactions per user per comment.",[97,273,274,284],{},[100,275,276],{},[103,277,278,280,282],{},[106,279,108],{},[106,281,111],{},[106,283,114],{},[116,285,286,296,308,319,330,346],{},[103,287,288,292,294],{},[121,289,290],{},[124,291,126],{},[121,293,129],{},[121,295,132],{},[103,297,298,303,305],{},[121,299,300],{},[124,301,302],{},"comment_id",[121,304,129],{},[121,306,307],{},"Foreign key to comments",[103,309,310,314,316],{},[121,311,312],{},[124,313,164],{},[121,315,142],{},[121,317,318],{},"Reactor model type",[103,320,321,325,327],{},[121,322,323],{},[124,324,176],{},[121,326,129],{},[121,328,329],{},"Reactor model ID",[103,331,332,337,339],{},[121,333,334],{},[124,335,336],{},"reaction",[121,338,142],{},[121,340,341,342,345],{},"Reaction key (e.g., ",[124,343,344],{},"thumbs_up",")",[103,347,348,352,354],{},[121,349,350],{},[124,351,239],{},[121,353,242],{},[121,355],{},[86,357,358,262,361],{},[259,359,360],{},"Unique constraint:",[124,362,363],{},"(comment_id, commenter_id, commenter_type, reaction)",[90,365,366],{"id":366},"comment_mentions",[86,368,369],{},"Tracks @mentioned users per comment.",[97,371,372,382],{},[100,373,374],{},[103,375,376,378,380],{},[106,377,108],{},[106,379,111],{},[106,381,114],{},[116,383,384,394,404,415,426],{},[103,385,386,390,392],{},[121,387,388],{},[124,389,126],{},[121,391,129],{},[121,393,132],{},[103,395,396,400,402],{},[121,397,398],{},[124,399,302],{},[121,401,129],{},[121,403,307],{},[103,405,406,410,412],{},[121,407,408],{},[124,409,164],{},[121,411,142],{},[121,413,414],{},"Mentioned user model type",[103,416,417,421,423],{},[121,418,419],{},[124,420,176],{},[121,422,129],{},[121,424,425],{},"Mentioned user model ID",[103,427,428,432,434],{},[121,429,430],{},[124,431,239],{},[121,433,242],{},[121,435],{},[86,437,438,262,440],{},[259,439,360],{},[124,441,442],{},"(comment_id, commenter_id, commenter_type)",[90,444,445],{"id":445},"comment_subscriptions",[86,447,448],{},"Tracks which users are subscribed to comment threads on specific models.",[97,450,451,461],{},[100,452,453],{},[103,454,455,457,459],{},[106,456,108],{},[106,458,111],{},[106,460,114],{},[116,462,463,473,484,495,506,517],{},[103,464,465,469,471],{},[121,466,467],{},[124,468,126],{},[121,470,129],{},[121,472,132],{},[103,474,475,479,481],{},[121,476,477],{},[124,478,139],{},[121,480,142],{},[121,482,483],{},"Subscribed model type",[103,485,486,490,492],{},[121,487,488],{},[124,489,152],{},[121,491,129],{},[121,493,494],{},"Subscribed model ID",[103,496,497,501,503],{},[121,498,499],{},[124,500,164],{},[121,502,142],{},[121,504,505],{},"Subscriber model type",[103,507,508,512,514],{},[121,509,510],{},[124,511,176],{},[121,513,129],{},[121,515,516],{},"Subscriber model ID",[103,518,519,523,525],{},[121,520,521],{},[124,522,239],{},[121,524,242],{},[121,526],{},[86,528,529,262,531],{},[259,530,360],{},[124,532,533],{},"(commentable_type, commentable_id, commenter_type, commenter_id)",[90,535,536],{"id":536},"comment_attachments",[86,538,539],{},"Stores file attachment metadata for comments.",[97,541,542,552],{},[100,543,544],{},[103,545,546,548,550],{},[106,547,108],{},[106,549,111],{},[106,551,114],{},[116,553,554,564,574,586,598,610,622,634,644],{},[103,555,556,560,562],{},[121,557,558],{},[124,559,126],{},[121,561,129],{},[121,563,132],{},[103,565,566,570,572],{},[121,567,568],{},[124,569,302],{},[121,571,129],{},[121,573,307],{},[103,575,576,581,583],{},[121,577,578],{},[124,579,580],{},"file_path",[121,582,142],{},[121,584,585],{},"Path on the storage disk",[103,587,588,593,595],{},[121,589,590],{},[124,591,592],{},"original_name",[121,594,142],{},[121,596,597],{},"Original uploaded filename",[103,599,600,605,607],{},[121,601,602],{},[124,603,604],{},"mime_type",[121,606,142],{},[121,608,609],{},"File MIME type",[103,611,612,617,619],{},[121,613,614],{},[124,615,616],{},"size",[121,618,129],{},[121,620,621],{},"File size in bytes",[103,623,624,629,631],{},[121,625,626],{},[124,627,628],{},"disk",[121,630,142],{},[121,632,633],{},"Laravel filesystem disk",[103,635,636,640,642],{},[121,637,638],{},[124,639,239],{},[121,641,242],{},[121,643],{},[103,645,646,650,652],{},[121,647,648],{},[124,649,251],{},[121,651,242],{},[121,653],{},[81,655,657],{"id":656},"relationships","Relationships",[659,660,664],"pre",{"className":661,"code":663,"language":204},[662],"language-text","Commentable Model (e.g., Project)\n └── comments (morphMany)\n ├── commenter (morphTo → User)\n ├── parent (belongsTo → Comment)\n ├── replies (hasMany → Comment)\n ├── reactions (hasMany → Reaction)\n ├── attachments (hasMany → Attachment)\n └── mentions (morphToMany → User)\n",[124,665,663],{"__ignoreMap":666},"",[86,668,669],{},"All relationships are polymorphic, allowing the same comment system to work across any number of models in your application.",{"title":666,"searchDepth":671,"depth":671,"links":672},2,[673,681],{"id":83,"depth":671,"text":84,"children":674},[675,677,678,679,680],{"id":92,"depth":676,"text":92},3,{"id":268,"depth":676,"text":268},{"id":366,"depth":676,"text":366},{"id":445,"depth":676,"text":445},{"id":536,"depth":676,"text":536},{"id":656,"depth":671,"text":657},"Tables, relationships, and indexes used by the Comments package.","md",null,{},{"icon":59},{"description":688,"title":56},"Database schema reference for the Comments package.","5_kn3a7TCJOh1wLcKzZt0UvBJvm6q5qnwOrAjg4Pydw",[691,693],{"title":51,"path":52,"stem":53,"description":692,"icon":54,"children":-1},"Comment notifications, subscriptions, and real-time updates.",{"title":66,"path":67,"stem":68,"description":694,"icon":69,"children":-1},"How to contribute to Comments",1774613434788] \ No newline at end of file diff --git a/essentials/mentions.html b/essentials/mentions.html index 069d207..ab93175 100644 --- a/essentials/mentions.html +++ b/essentials/mentions.html @@ -94,7 +94,7 @@ --ui-warning: var(--ui-color-warning-400); --ui-error: var(--ui-color-error-400); } -}Mentions - Comments
Comments Logo
1.x
Essentials

Mentions

User @mentions with autocomplete and notification support.

How Mentions Work

Type @ in the comment editor to trigger user autocomplete. Select a user to insert a mention. When the comment is saved, the MentionParser extracts mentions and:

  1. Syncs mention records in the comment_mentions table
  2. Dispatches a UserMentioned event for each newly mentioned user
  3. The SendUserMentionedNotification listener sends notifications
  4. If auto-subscribe is enabled, mentioned users are subscribed to the thread

Default Resolver

The DefaultMentionResolver searches the commenter model by name:

// Searches: User::where('name', 'like', "{$query}%")
+}Mentions - Comments
Comments Logo
1.x
Essentials

Mentions

User @mentions with autocomplete and notification support.

How Mentions Work

Type @ in the comment editor to trigger user autocomplete. Select a user to insert a mention. When the comment is saved, the MentionParser extracts mentions and:

  1. Syncs mention records in the comment_mentions table
  2. Dispatches a UserMentioned event for each newly mentioned user
  3. The SendUserMentionedNotification listener sends notifications
  4. If auto-subscribe is enabled, mentioned users are subscribed to the thread

Default Resolver

The DefaultMentionResolver searches the commenter model by name:

// Searches: User::where('name', 'like', "{$query}%")
 // Limited to: config('comments.mentions.max_results') results
 

Custom Mention Resolver

Implement the MentionResolver interface to customize user search behavior:

namespace App\Comments;
 
@@ -125,4 +125,4 @@
     'resolver' => App\Comments\TeamMentionResolver::class,
     'max_results' => 5,
 ],
-

Configuration

KeyDefaultDescription
mentions.resolverDefaultMentionResolver::classUser search implementation
mentions.max_results5Maximum autocomplete results
Copyright © 2026
\ No newline at end of file +

Configuration

KeyDefaultDescription
mentions.resolverDefaultMentionResolver::classUser search implementation
mentions.max_results5Maximum autocomplete results
Copyright © 2026
\ No newline at end of file diff --git a/essentials/mentions/_payload.json b/essentials/mentions/_payload.json index 24d40cf..74feff0 100644 --- a/essentials/mentions/_payload.json +++ b/essentials/mentions/_payload.json @@ -1 +1 @@ -[{"data":1,"prerenderedAt":732},["ShallowReactive",2],{"navigation_docs":3,"-essentials-mentions":75,"-essentials-mentions-surround":727},[4,20,60],{"title":5,"icon":6,"path":7,"stem":8,"children":9,"page":6},"Getting Started",false,"\u002Fgetting-started","1.getting-started",[10,15],{"title":11,"path":12,"stem":13,"icon":14},"Installation","\u002Fgetting-started\u002Finstallation","1.getting-started\u002F1.installation","i-lucide-download",{"title":16,"path":17,"stem":18,"icon":19},"Upgrading","\u002Fgetting-started\u002Fupgrading","1.getting-started\u002F2.upgrading","i-lucide-arrow-up-circle",{"title":21,"path":22,"stem":23,"children":24,"page":6},"Essentials","\u002Fessentials","2.essentials",[25,30,35,40,45,50,55],{"title":26,"path":27,"stem":28,"icon":29},"Configuration","\u002Fessentials\u002Fconfiguration","2.essentials\u002F1.configuration","i-lucide-settings",{"title":31,"path":32,"stem":33,"icon":34},"Authorization","\u002Fessentials\u002Fauthorization","2.essentials\u002F2.authorization","i-lucide-shield",{"title":36,"path":37,"stem":38,"icon":39},"Mentions","\u002Fessentials\u002Fmentions","2.essentials\u002F3.mentions","i-lucide-at-sign",{"title":41,"path":42,"stem":43,"icon":44},"Reactions","\u002Fessentials\u002Freactions","2.essentials\u002F4.reactions","i-lucide-smile",{"title":46,"path":47,"stem":48,"icon":49},"Attachments","\u002Fessentials\u002Fattachments","2.essentials\u002F5.attachments","i-lucide-paperclip",{"title":51,"path":52,"stem":53,"icon":54},"Notifications","\u002Fessentials\u002Fnotifications","2.essentials\u002F6.notifications","i-lucide-bell",{"title":56,"path":57,"stem":58,"icon":59},"Database Schema","\u002Fessentials\u002Fdatabase-schema","2.essentials\u002F7.database-schema","i-lucide-database",{"title":61,"path":62,"stem":63,"children":64,"page":6},"Community","\u002Fcommunity","4.community",[65,70],{"title":66,"path":67,"stem":68,"icon":69},"Contributing","\u002Fcommunity\u002Fcontributing","4.community\u002F1.contributing","i-lucide-heart-handshake",{"title":71,"path":72,"stem":73,"icon":74},"License","\u002Fcommunity\u002Flicense","4.community\u002F2.license","i-lucide-scale",{"id":76,"title":36,"body":77,"description":719,"extension":720,"links":721,"meta":722,"navigation":723,"path":37,"seo":724,"stem":38,"__hash__":726},"docs\u002F2.essentials\u002F3.mentions.md",{"type":78,"value":79,"toc":713},"minimark",[80,85,98,126,130,136,160,164,171,574,577,653,656,709],[81,82,84],"h2",{"id":83},"how-mentions-work","How Mentions Work",[86,87,88,89,93,94,97],"p",{},"Type ",[90,91,92],"code",{},"@"," in the comment editor to trigger user autocomplete. Select a user to insert a mention. When the comment is saved, the ",[90,95,96],{},"MentionParser"," extracts mentions and:",[99,100,101,109,116,123],"ol",{},[102,103,104,105,108],"li",{},"Syncs mention records in the ",[90,106,107],{},"comment_mentions"," table",[102,110,111,112,115],{},"Dispatches a ",[90,113,114],{},"UserMentioned"," event for each newly mentioned user",[102,117,118,119,122],{},"The ",[90,120,121],{},"SendUserMentionedNotification"," listener sends notifications",[102,124,125],{},"If auto-subscribe is enabled, mentioned users are subscribed to the thread",[81,127,129],{"id":128},"default-resolver","Default Resolver",[86,131,118,132,135],{},[90,133,134],{},"DefaultMentionResolver"," searches the commenter model by name:",[137,138,143],"pre",{"className":139,"code":140,"language":141,"meta":142,"style":142},"language-php shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","\u002F\u002F Searches: User::where('name', 'like', \"{$query}%\")\n\u002F\u002F Limited to: config('comments.mentions.max_results') results\n","php","",[90,144,145,154],{"__ignoreMap":142},[146,147,150],"span",{"class":148,"line":149},"line",1,[146,151,153],{"class":152},"sHwdD","\u002F\u002F Searches: User::where('name', 'like', \"{$query}%\")\n",[146,155,157],{"class":148,"line":156},2,[146,158,159],{"class":152},"\u002F\u002F Limited to: config('comments.mentions.max_results') results\n",[81,161,163],{"id":162},"custom-mention-resolver","Custom Mention Resolver",[86,165,166,167,170],{},"Implement the ",[90,168,169],{},"MentionResolver"," interface to customize user search behavior:",[137,172,174],{"className":139,"code":173,"language":141,"meta":142,"style":142},"namespace App\\Comments;\n\nuse Illuminate\\Support\\Collection;\nuse Relaticle\\Comments\\Contracts\\MentionResolver;\n\nclass TeamMentionResolver implements MentionResolver\n{\n public function search(string $query): Collection\n {\n return User::query()\n ->where('team_id', auth()->user()->team_id)\n ->where('name', 'like', \"{$query}%\")\n ->limit(config('comments.mentions.max_results'))\n ->get();\n }\n\n public function resolveByNames(array $names): Collection\n {\n return User::query()\n ->where('team_id', auth()->user()->team_id)\n ->whereIn('name', $names)\n ->get();\n }\n}\n",[90,175,176,196,202,224,247,252,268,274,305,311,329,368,412,437,448,454,459,483,488,501,530,554,563,568],{"__ignoreMap":142},[146,177,178,182,186,190,193],{"class":148,"line":149},[146,179,181],{"class":180},"sbssI","namespace",[146,183,185],{"class":184},"sBMFI"," App",[146,187,189],{"class":188},"sMK4o","\\",[146,191,192],{"class":184},"Comments",[146,194,195],{"class":188},";\n",[146,197,198],{"class":148,"line":156},[146,199,201],{"emptyLinePlaceholder":200},true,"\n",[146,203,205,208,212,214,217,219,222],{"class":148,"line":204},3,[146,206,207],{"class":180},"use",[146,209,211],{"class":210},"sTEyZ"," Illuminate",[146,213,189],{"class":188},[146,215,216],{"class":210},"Support",[146,218,189],{"class":188},[146,220,221],{"class":210},"Collection",[146,223,195],{"class":188},[146,225,227,229,232,234,236,238,241,243,245],{"class":148,"line":226},4,[146,228,207],{"class":180},[146,230,231],{"class":210}," Relaticle",[146,233,189],{"class":188},[146,235,192],{"class":210},[146,237,189],{"class":188},[146,239,240],{"class":210},"Contracts",[146,242,189],{"class":188},[146,244,169],{"class":210},[146,246,195],{"class":188},[146,248,250],{"class":148,"line":249},5,[146,251,201],{"emptyLinePlaceholder":200},[146,253,255,259,262,265],{"class":148,"line":254},6,[146,256,258],{"class":257},"spNyl","class",[146,260,261],{"class":184}," TeamMentionResolver",[146,263,264],{"class":257}," implements",[146,266,267],{"class":184}," MentionResolver\n",[146,269,271],{"class":148,"line":270},7,[146,272,273],{"class":188},"{\n",[146,275,277,280,283,287,290,293,296,299,302],{"class":148,"line":276},8,[146,278,279],{"class":257}," public",[146,281,282],{"class":257}," function",[146,284,286],{"class":285},"s2Zo4"," search",[146,288,289],{"class":188},"(",[146,291,292],{"class":180},"string",[146,294,295],{"class":188}," $",[146,297,298],{"class":210},"query",[146,300,301],{"class":188},"):",[146,303,304],{"class":184}," Collection\n",[146,306,308],{"class":148,"line":307},9,[146,309,310],{"class":188}," {\n",[146,312,314,318,321,324,326],{"class":148,"line":313},10,[146,315,317],{"class":316},"s7zQu"," return",[146,319,320],{"class":184}," User",[146,322,323],{"class":188},"::",[146,325,298],{"class":285},[146,327,328],{"class":188},"()\n",[146,330,332,335,338,340,343,347,349,352,355,358,361,363,365],{"class":148,"line":331},11,[146,333,334],{"class":188}," ->",[146,336,337],{"class":285},"where",[146,339,289],{"class":188},[146,341,342],{"class":188},"'",[146,344,346],{"class":345},"sfazB","team_id",[146,348,342],{"class":188},[146,350,351],{"class":188},",",[146,353,354],{"class":285}," auth",[146,356,357],{"class":188},"()->",[146,359,360],{"class":285},"user",[146,362,357],{"class":188},[146,364,346],{"class":210},[146,366,367],{"class":188},")\n",[146,369,371,373,375,377,379,382,384,386,389,392,394,396,399,401,404,407,410],{"class":148,"line":370},12,[146,372,334],{"class":188},[146,374,337],{"class":285},[146,376,289],{"class":188},[146,378,342],{"class":188},[146,380,381],{"class":345},"name",[146,383,342],{"class":188},[146,385,351],{"class":188},[146,387,388],{"class":188}," '",[146,390,391],{"class":345},"like",[146,393,342],{"class":188},[146,395,351],{"class":188},[146,397,398],{"class":188}," \"{$",[146,400,298],{"class":210},[146,402,403],{"class":188},"}",[146,405,406],{"class":345},"%",[146,408,409],{"class":188},"\"",[146,411,367],{"class":188},[146,413,415,417,420,422,425,427,429,432,434],{"class":148,"line":414},13,[146,416,334],{"class":188},[146,418,419],{"class":285},"limit",[146,421,289],{"class":188},[146,423,424],{"class":285},"config",[146,426,289],{"class":188},[146,428,342],{"class":188},[146,430,431],{"class":345},"comments.mentions.max_results",[146,433,342],{"class":188},[146,435,436],{"class":188},"))\n",[146,438,440,442,445],{"class":148,"line":439},14,[146,441,334],{"class":188},[146,443,444],{"class":285},"get",[146,446,447],{"class":188},"();\n",[146,449,451],{"class":148,"line":450},15,[146,452,453],{"class":188}," }\n",[146,455,457],{"class":148,"line":456},16,[146,458,201],{"emptyLinePlaceholder":200},[146,460,462,464,466,469,471,474,476,479,481],{"class":148,"line":461},17,[146,463,279],{"class":257},[146,465,282],{"class":257},[146,467,468],{"class":285}," resolveByNames",[146,470,289],{"class":188},[146,472,473],{"class":180},"array",[146,475,295],{"class":188},[146,477,478],{"class":210},"names",[146,480,301],{"class":188},[146,482,304],{"class":184},[146,484,486],{"class":148,"line":485},18,[146,487,310],{"class":188},[146,489,491,493,495,497,499],{"class":148,"line":490},19,[146,492,317],{"class":316},[146,494,320],{"class":184},[146,496,323],{"class":188},[146,498,298],{"class":285},[146,500,328],{"class":188},[146,502,504,506,508,510,512,514,516,518,520,522,524,526,528],{"class":148,"line":503},20,[146,505,334],{"class":188},[146,507,337],{"class":285},[146,509,289],{"class":188},[146,511,342],{"class":188},[146,513,346],{"class":345},[146,515,342],{"class":188},[146,517,351],{"class":188},[146,519,354],{"class":285},[146,521,357],{"class":188},[146,523,360],{"class":285},[146,525,357],{"class":188},[146,527,346],{"class":210},[146,529,367],{"class":188},[146,531,533,535,538,540,542,544,546,548,550,552],{"class":148,"line":532},21,[146,534,334],{"class":188},[146,536,537],{"class":285},"whereIn",[146,539,289],{"class":188},[146,541,342],{"class":188},[146,543,381],{"class":345},[146,545,342],{"class":188},[146,547,351],{"class":188},[146,549,295],{"class":188},[146,551,478],{"class":210},[146,553,367],{"class":188},[146,555,557,559,561],{"class":148,"line":556},22,[146,558,334],{"class":188},[146,560,444],{"class":285},[146,562,447],{"class":188},[146,564,566],{"class":148,"line":565},23,[146,567,453],{"class":188},[146,569,571],{"class":148,"line":570},24,[146,572,573],{"class":188},"}\n",[86,575,576],{},"Register it in your config:",[137,578,580],{"className":139,"code":579,"language":141,"meta":142,"style":142},"\u002F\u002F config\u002Fcomments.php\n'mentions' => [\n 'resolver' => App\\Comments\\TeamMentionResolver::class,\n 'max_results' => 5,\n],\n",[90,581,582,587,602,632,648],{"__ignoreMap":142},[146,583,584],{"class":148,"line":149},[146,585,586],{"class":152},"\u002F\u002F config\u002Fcomments.php\n",[146,588,589,591,594,596,599],{"class":148,"line":156},[146,590,342],{"class":188},[146,592,593],{"class":345},"mentions",[146,595,342],{"class":188},[146,597,598],{"class":188}," =>",[146,600,601],{"class":188}," [\n",[146,603,604,607,610,612,614,616,618,620,622,625,627,629],{"class":148,"line":204},[146,605,606],{"class":188}," '",[146,608,609],{"class":345},"resolver",[146,611,342],{"class":188},[146,613,598],{"class":188},[146,615,185],{"class":210},[146,617,189],{"class":188},[146,619,192],{"class":210},[146,621,189],{"class":188},[146,623,624],{"class":184},"TeamMentionResolver",[146,626,323],{"class":188},[146,628,258],{"class":180},[146,630,631],{"class":188},",\n",[146,633,634,636,639,641,643,646],{"class":148,"line":226},[146,635,606],{"class":188},[146,637,638],{"class":345},"max_results",[146,640,342],{"class":188},[146,642,598],{"class":188},[146,644,645],{"class":180}," 5",[146,647,631],{"class":188},[146,649,650],{"class":148,"line":249},[146,651,652],{"class":188},"],\n",[81,654,26],{"id":655},"configuration",[657,658,659,675],"table",{},[660,661,662],"thead",{},[663,664,665,669,672],"tr",{},[666,667,668],"th",{},"Key",[666,670,671],{},"Default",[666,673,674],{},"Description",[676,677,678,694],"tbody",{},[663,679,680,686,691],{},[681,682,683],"td",{},[90,684,685],{},"mentions.resolver",[681,687,688],{},[90,689,690],{},"DefaultMentionResolver::class",[681,692,693],{},"User search implementation",[663,695,696,701,706],{},[681,697,698],{},[90,699,700],{},"mentions.max_results",[681,702,703],{},[90,704,705],{},"5",[681,707,708],{},"Maximum autocomplete results",[710,711,712],"style",{},"html pre.shiki code .sHwdD, html code.shiki .sHwdD{--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#546E7A;--shiki-default-font-style:italic;--shiki-dark:#676E95;--shiki-dark-font-style:italic}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html pre.shiki code .sbssI, html code.shiki .sbssI{--shiki-light:#F76D47;--shiki-default:#F78C6C;--shiki-dark:#F78C6C}html pre.shiki code .sBMFI, html code.shiki .sBMFI{--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B}html pre.shiki code .sMK4o, html code.shiki .sMK4o{--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF}html pre.shiki code .sTEyZ, html code.shiki .sTEyZ{--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8}html pre.shiki code .spNyl, html code.shiki .spNyl{--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA}html pre.shiki code .s2Zo4, html code.shiki .s2Zo4{--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF}html pre.shiki code .s7zQu, html code.shiki .s7zQu{--shiki-light:#39ADB5;--shiki-light-font-style:italic;--shiki-default:#89DDFF;--shiki-default-font-style:italic;--shiki-dark:#89DDFF;--shiki-dark-font-style:italic}html pre.shiki code .sfazB, html code.shiki .sfazB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}",{"title":142,"searchDepth":156,"depth":156,"links":714},[715,716,717,718],{"id":83,"depth":156,"text":84},{"id":128,"depth":156,"text":129},{"id":162,"depth":156,"text":163},{"id":655,"depth":156,"text":26},"User @mentions with autocomplete and notification support.","md",null,{},{"icon":39},{"description":725,"title":36},"Configure @mention autocomplete and create custom mention resolvers.","kQQwvRy9HYB1t8O3MnVh58m8bi_XmvTWpYWrdhjepK8",[728,730],{"title":31,"path":32,"stem":33,"description":729,"icon":34,"children":-1},"Control who can create, edit, delete, and reply to comments.",{"title":41,"path":42,"stem":43,"description":731,"icon":44,"children":-1},"Emoji reactions on comments.",1774613361671] \ No newline at end of file +[{"data":1,"prerenderedAt":732},["ShallowReactive",2],{"navigation_docs":3,"-essentials-mentions":75,"-essentials-mentions-surround":727},[4,20,60],{"title":5,"icon":6,"path":7,"stem":8,"children":9,"page":6},"Getting Started",false,"\u002Fgetting-started","1.getting-started",[10,15],{"title":11,"path":12,"stem":13,"icon":14},"Installation","\u002Fgetting-started\u002Finstallation","1.getting-started\u002F1.installation","i-lucide-download",{"title":16,"path":17,"stem":18,"icon":19},"Upgrading","\u002Fgetting-started\u002Fupgrading","1.getting-started\u002F2.upgrading","i-lucide-arrow-up-circle",{"title":21,"path":22,"stem":23,"children":24,"page":6},"Essentials","\u002Fessentials","2.essentials",[25,30,35,40,45,50,55],{"title":26,"path":27,"stem":28,"icon":29},"Configuration","\u002Fessentials\u002Fconfiguration","2.essentials\u002F1.configuration","i-lucide-settings",{"title":31,"path":32,"stem":33,"icon":34},"Authorization","\u002Fessentials\u002Fauthorization","2.essentials\u002F2.authorization","i-lucide-shield",{"title":36,"path":37,"stem":38,"icon":39},"Mentions","\u002Fessentials\u002Fmentions","2.essentials\u002F3.mentions","i-lucide-at-sign",{"title":41,"path":42,"stem":43,"icon":44},"Reactions","\u002Fessentials\u002Freactions","2.essentials\u002F4.reactions","i-lucide-smile",{"title":46,"path":47,"stem":48,"icon":49},"Attachments","\u002Fessentials\u002Fattachments","2.essentials\u002F5.attachments","i-lucide-paperclip",{"title":51,"path":52,"stem":53,"icon":54},"Notifications","\u002Fessentials\u002Fnotifications","2.essentials\u002F6.notifications","i-lucide-bell",{"title":56,"path":57,"stem":58,"icon":59},"Database Schema","\u002Fessentials\u002Fdatabase-schema","2.essentials\u002F7.database-schema","i-lucide-database",{"title":61,"path":62,"stem":63,"children":64,"page":6},"Community","\u002Fcommunity","4.community",[65,70],{"title":66,"path":67,"stem":68,"icon":69},"Contributing","\u002Fcommunity\u002Fcontributing","4.community\u002F1.contributing","i-lucide-heart-handshake",{"title":71,"path":72,"stem":73,"icon":74},"License","\u002Fcommunity\u002Flicense","4.community\u002F2.license","i-lucide-scale",{"id":76,"title":36,"body":77,"description":719,"extension":720,"links":721,"meta":722,"navigation":723,"path":37,"seo":724,"stem":38,"__hash__":726},"docs\u002F2.essentials\u002F3.mentions.md",{"type":78,"value":79,"toc":713},"minimark",[80,85,98,126,130,136,160,164,171,574,577,653,656,709],[81,82,84],"h2",{"id":83},"how-mentions-work","How Mentions Work",[86,87,88,89,93,94,97],"p",{},"Type ",[90,91,92],"code",{},"@"," in the comment editor to trigger user autocomplete. Select a user to insert a mention. When the comment is saved, the ",[90,95,96],{},"MentionParser"," extracts mentions and:",[99,100,101,109,116,123],"ol",{},[102,103,104,105,108],"li",{},"Syncs mention records in the ",[90,106,107],{},"comment_mentions"," table",[102,110,111,112,115],{},"Dispatches a ",[90,113,114],{},"UserMentioned"," event for each newly mentioned user",[102,117,118,119,122],{},"The ",[90,120,121],{},"SendUserMentionedNotification"," listener sends notifications",[102,124,125],{},"If auto-subscribe is enabled, mentioned users are subscribed to the thread",[81,127,129],{"id":128},"default-resolver","Default Resolver",[86,131,118,132,135],{},[90,133,134],{},"DefaultMentionResolver"," searches the commenter model by name:",[137,138,143],"pre",{"className":139,"code":140,"language":141,"meta":142,"style":142},"language-php shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","\u002F\u002F Searches: User::where('name', 'like', \"{$query}%\")\n\u002F\u002F Limited to: config('comments.mentions.max_results') results\n","php","",[90,144,145,154],{"__ignoreMap":142},[146,147,150],"span",{"class":148,"line":149},"line",1,[146,151,153],{"class":152},"sHwdD","\u002F\u002F Searches: User::where('name', 'like', \"{$query}%\")\n",[146,155,157],{"class":148,"line":156},2,[146,158,159],{"class":152},"\u002F\u002F Limited to: config('comments.mentions.max_results') results\n",[81,161,163],{"id":162},"custom-mention-resolver","Custom Mention Resolver",[86,165,166,167,170],{},"Implement the ",[90,168,169],{},"MentionResolver"," interface to customize user search behavior:",[137,172,174],{"className":139,"code":173,"language":141,"meta":142,"style":142},"namespace App\\Comments;\n\nuse Illuminate\\Support\\Collection;\nuse Relaticle\\Comments\\Contracts\\MentionResolver;\n\nclass TeamMentionResolver implements MentionResolver\n{\n public function search(string $query): Collection\n {\n return User::query()\n ->where('team_id', auth()->user()->team_id)\n ->where('name', 'like', \"{$query}%\")\n ->limit(config('comments.mentions.max_results'))\n ->get();\n }\n\n public function resolveByNames(array $names): Collection\n {\n return User::query()\n ->where('team_id', auth()->user()->team_id)\n ->whereIn('name', $names)\n ->get();\n }\n}\n",[90,175,176,196,202,224,247,252,268,274,305,311,329,368,412,437,448,454,459,483,488,501,530,554,563,568],{"__ignoreMap":142},[146,177,178,182,186,190,193],{"class":148,"line":149},[146,179,181],{"class":180},"sbssI","namespace",[146,183,185],{"class":184},"sBMFI"," App",[146,187,189],{"class":188},"sMK4o","\\",[146,191,192],{"class":184},"Comments",[146,194,195],{"class":188},";\n",[146,197,198],{"class":148,"line":156},[146,199,201],{"emptyLinePlaceholder":200},true,"\n",[146,203,205,208,212,214,217,219,222],{"class":148,"line":204},3,[146,206,207],{"class":180},"use",[146,209,211],{"class":210},"sTEyZ"," Illuminate",[146,213,189],{"class":188},[146,215,216],{"class":210},"Support",[146,218,189],{"class":188},[146,220,221],{"class":210},"Collection",[146,223,195],{"class":188},[146,225,227,229,232,234,236,238,241,243,245],{"class":148,"line":226},4,[146,228,207],{"class":180},[146,230,231],{"class":210}," Relaticle",[146,233,189],{"class":188},[146,235,192],{"class":210},[146,237,189],{"class":188},[146,239,240],{"class":210},"Contracts",[146,242,189],{"class":188},[146,244,169],{"class":210},[146,246,195],{"class":188},[146,248,250],{"class":148,"line":249},5,[146,251,201],{"emptyLinePlaceholder":200},[146,253,255,259,262,265],{"class":148,"line":254},6,[146,256,258],{"class":257},"spNyl","class",[146,260,261],{"class":184}," TeamMentionResolver",[146,263,264],{"class":257}," implements",[146,266,267],{"class":184}," MentionResolver\n",[146,269,271],{"class":148,"line":270},7,[146,272,273],{"class":188},"{\n",[146,275,277,280,283,287,290,293,296,299,302],{"class":148,"line":276},8,[146,278,279],{"class":257}," public",[146,281,282],{"class":257}," function",[146,284,286],{"class":285},"s2Zo4"," search",[146,288,289],{"class":188},"(",[146,291,292],{"class":180},"string",[146,294,295],{"class":188}," $",[146,297,298],{"class":210},"query",[146,300,301],{"class":188},"):",[146,303,304],{"class":184}," Collection\n",[146,306,308],{"class":148,"line":307},9,[146,309,310],{"class":188}," {\n",[146,312,314,318,321,324,326],{"class":148,"line":313},10,[146,315,317],{"class":316},"s7zQu"," return",[146,319,320],{"class":184}," User",[146,322,323],{"class":188},"::",[146,325,298],{"class":285},[146,327,328],{"class":188},"()\n",[146,330,332,335,338,340,343,347,349,352,355,358,361,363,365],{"class":148,"line":331},11,[146,333,334],{"class":188}," ->",[146,336,337],{"class":285},"where",[146,339,289],{"class":188},[146,341,342],{"class":188},"'",[146,344,346],{"class":345},"sfazB","team_id",[146,348,342],{"class":188},[146,350,351],{"class":188},",",[146,353,354],{"class":285}," auth",[146,356,357],{"class":188},"()->",[146,359,360],{"class":285},"user",[146,362,357],{"class":188},[146,364,346],{"class":210},[146,366,367],{"class":188},")\n",[146,369,371,373,375,377,379,382,384,386,389,392,394,396,399,401,404,407,410],{"class":148,"line":370},12,[146,372,334],{"class":188},[146,374,337],{"class":285},[146,376,289],{"class":188},[146,378,342],{"class":188},[146,380,381],{"class":345},"name",[146,383,342],{"class":188},[146,385,351],{"class":188},[146,387,388],{"class":188}," '",[146,390,391],{"class":345},"like",[146,393,342],{"class":188},[146,395,351],{"class":188},[146,397,398],{"class":188}," \"{$",[146,400,298],{"class":210},[146,402,403],{"class":188},"}",[146,405,406],{"class":345},"%",[146,408,409],{"class":188},"\"",[146,411,367],{"class":188},[146,413,415,417,420,422,425,427,429,432,434],{"class":148,"line":414},13,[146,416,334],{"class":188},[146,418,419],{"class":285},"limit",[146,421,289],{"class":188},[146,423,424],{"class":285},"config",[146,426,289],{"class":188},[146,428,342],{"class":188},[146,430,431],{"class":345},"comments.mentions.max_results",[146,433,342],{"class":188},[146,435,436],{"class":188},"))\n",[146,438,440,442,445],{"class":148,"line":439},14,[146,441,334],{"class":188},[146,443,444],{"class":285},"get",[146,446,447],{"class":188},"();\n",[146,449,451],{"class":148,"line":450},15,[146,452,453],{"class":188}," }\n",[146,455,457],{"class":148,"line":456},16,[146,458,201],{"emptyLinePlaceholder":200},[146,460,462,464,466,469,471,474,476,479,481],{"class":148,"line":461},17,[146,463,279],{"class":257},[146,465,282],{"class":257},[146,467,468],{"class":285}," resolveByNames",[146,470,289],{"class":188},[146,472,473],{"class":180},"array",[146,475,295],{"class":188},[146,477,478],{"class":210},"names",[146,480,301],{"class":188},[146,482,304],{"class":184},[146,484,486],{"class":148,"line":485},18,[146,487,310],{"class":188},[146,489,491,493,495,497,499],{"class":148,"line":490},19,[146,492,317],{"class":316},[146,494,320],{"class":184},[146,496,323],{"class":188},[146,498,298],{"class":285},[146,500,328],{"class":188},[146,502,504,506,508,510,512,514,516,518,520,522,524,526,528],{"class":148,"line":503},20,[146,505,334],{"class":188},[146,507,337],{"class":285},[146,509,289],{"class":188},[146,511,342],{"class":188},[146,513,346],{"class":345},[146,515,342],{"class":188},[146,517,351],{"class":188},[146,519,354],{"class":285},[146,521,357],{"class":188},[146,523,360],{"class":285},[146,525,357],{"class":188},[146,527,346],{"class":210},[146,529,367],{"class":188},[146,531,533,535,538,540,542,544,546,548,550,552],{"class":148,"line":532},21,[146,534,334],{"class":188},[146,536,537],{"class":285},"whereIn",[146,539,289],{"class":188},[146,541,342],{"class":188},[146,543,381],{"class":345},[146,545,342],{"class":188},[146,547,351],{"class":188},[146,549,295],{"class":188},[146,551,478],{"class":210},[146,553,367],{"class":188},[146,555,557,559,561],{"class":148,"line":556},22,[146,558,334],{"class":188},[146,560,444],{"class":285},[146,562,447],{"class":188},[146,564,566],{"class":148,"line":565},23,[146,567,453],{"class":188},[146,569,571],{"class":148,"line":570},24,[146,572,573],{"class":188},"}\n",[86,575,576],{},"Register it in your config:",[137,578,580],{"className":139,"code":579,"language":141,"meta":142,"style":142},"\u002F\u002F config\u002Fcomments.php\n'mentions' => [\n 'resolver' => App\\Comments\\TeamMentionResolver::class,\n 'max_results' => 5,\n],\n",[90,581,582,587,602,632,648],{"__ignoreMap":142},[146,583,584],{"class":148,"line":149},[146,585,586],{"class":152},"\u002F\u002F config\u002Fcomments.php\n",[146,588,589,591,594,596,599],{"class":148,"line":156},[146,590,342],{"class":188},[146,592,593],{"class":345},"mentions",[146,595,342],{"class":188},[146,597,598],{"class":188}," =>",[146,600,601],{"class":188}," [\n",[146,603,604,607,610,612,614,616,618,620,622,625,627,629],{"class":148,"line":204},[146,605,606],{"class":188}," '",[146,608,609],{"class":345},"resolver",[146,611,342],{"class":188},[146,613,598],{"class":188},[146,615,185],{"class":210},[146,617,189],{"class":188},[146,619,192],{"class":210},[146,621,189],{"class":188},[146,623,624],{"class":184},"TeamMentionResolver",[146,626,323],{"class":188},[146,628,258],{"class":180},[146,630,631],{"class":188},",\n",[146,633,634,636,639,641,643,646],{"class":148,"line":226},[146,635,606],{"class":188},[146,637,638],{"class":345},"max_results",[146,640,342],{"class":188},[146,642,598],{"class":188},[146,644,645],{"class":180}," 5",[146,647,631],{"class":188},[146,649,650],{"class":148,"line":249},[146,651,652],{"class":188},"],\n",[81,654,26],{"id":655},"configuration",[657,658,659,675],"table",{},[660,661,662],"thead",{},[663,664,665,669,672],"tr",{},[666,667,668],"th",{},"Key",[666,670,671],{},"Default",[666,673,674],{},"Description",[676,677,678,694],"tbody",{},[663,679,680,686,691],{},[681,682,683],"td",{},[90,684,685],{},"mentions.resolver",[681,687,688],{},[90,689,690],{},"DefaultMentionResolver::class",[681,692,693],{},"User search implementation",[663,695,696,701,706],{},[681,697,698],{},[90,699,700],{},"mentions.max_results",[681,702,703],{},[90,704,705],{},"5",[681,707,708],{},"Maximum autocomplete results",[710,711,712],"style",{},"html pre.shiki code .sHwdD, html code.shiki .sHwdD{--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#546E7A;--shiki-default-font-style:italic;--shiki-dark:#676E95;--shiki-dark-font-style:italic}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html pre.shiki code .sbssI, html code.shiki .sbssI{--shiki-light:#F76D47;--shiki-default:#F78C6C;--shiki-dark:#F78C6C}html pre.shiki code .sBMFI, html code.shiki .sBMFI{--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B}html pre.shiki code .sMK4o, html code.shiki .sMK4o{--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF}html pre.shiki code .sTEyZ, html code.shiki .sTEyZ{--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8}html pre.shiki code .spNyl, html code.shiki .spNyl{--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA}html pre.shiki code .s2Zo4, html code.shiki .s2Zo4{--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF}html pre.shiki code .s7zQu, html code.shiki .s7zQu{--shiki-light:#39ADB5;--shiki-light-font-style:italic;--shiki-default:#89DDFF;--shiki-default-font-style:italic;--shiki-dark:#89DDFF;--shiki-dark-font-style:italic}html pre.shiki code .sfazB, html code.shiki .sfazB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}",{"title":142,"searchDepth":156,"depth":156,"links":714},[715,716,717,718],{"id":83,"depth":156,"text":84},{"id":128,"depth":156,"text":129},{"id":162,"depth":156,"text":163},{"id":655,"depth":156,"text":26},"User @mentions with autocomplete and notification support.","md",null,{},{"icon":39},{"description":725,"title":36},"Configure @mention autocomplete and create custom mention resolvers.","kQQwvRy9HYB1t8O3MnVh58m8bi_XmvTWpYWrdhjepK8",[728,730],{"title":31,"path":32,"stem":33,"description":729,"icon":34,"children":-1},"Control who can create, edit, delete, and reply to comments.",{"title":41,"path":42,"stem":43,"description":731,"icon":44,"children":-1},"Emoji reactions on comments.",1774613434788] \ No newline at end of file diff --git a/essentials/notifications.html b/essentials/notifications.html index 060a9b4..95f6ee2 100644 --- a/essentials/notifications.html +++ b/essentials/notifications.html @@ -94,7 +94,7 @@ --ui-warning: var(--ui-color-warning-400); --ui-error: var(--ui-color-error-400); } -}Notifications - Comments
Comments Logo
1.x
Essentials

Notifications

Comment notifications, subscriptions, and real-time updates.

Notification Types

Two notification classes are included:

CommentRepliedNotification

Sent to all thread subscribers when a new comment or reply is posted. The comment author is excluded from receiving their own notification.

UserMentionedNotification

Sent to a user when they are @mentioned in a comment. Self-mentions are ignored.

Channels

// config/comments.php
+}Notifications - Comments
Comments Logo
1.x
Essentials

Notifications

Comment notifications, subscriptions, and real-time updates.

Notification Types

Two notification classes are included:

CommentRepliedNotification

Sent to all thread subscribers when a new comment or reply is posted. The comment author is excluded from receiving their own notification.

UserMentionedNotification

Sent to a user when they are @mentioned in a comment. Self-mentions are ignored.

Channels

// config/comments.php
 'notifications' => [
     'channels' => ['database'],
     'enabled' => true,
@@ -128,4 +128,4 @@
 

Set to null to disable polling entirely.

Disabling Notifications

'notifications' => [
     'enabled' => false,
 ],
-

This disables all notification dispatching. Subscriptions and events still work, but no notifications are sent.

Copyright © 2026
\ No newline at end of file +

This disables all notification dispatching. Subscriptions and events still work, but no notifications are sent.

Copyright © 2026
\ No newline at end of file diff --git a/essentials/notifications/_payload.json b/essentials/notifications/_payload.json index d5ce78d..dc09b5a 100644 --- a/essentials/notifications/_payload.json +++ b/essentials/notifications/_payload.json @@ -1 +1 @@ -[{"data":1,"prerenderedAt":799},["ShallowReactive",2],{"navigation_docs":3,"-essentials-notifications":75,"-essentials-notifications-surround":794},[4,20,60],{"title":5,"icon":6,"path":7,"stem":8,"children":9,"page":6},"Getting Started",false,"\u002Fgetting-started","1.getting-started",[10,15],{"title":11,"path":12,"stem":13,"icon":14},"Installation","\u002Fgetting-started\u002Finstallation","1.getting-started\u002F1.installation","i-lucide-download",{"title":16,"path":17,"stem":18,"icon":19},"Upgrading","\u002Fgetting-started\u002Fupgrading","1.getting-started\u002F2.upgrading","i-lucide-arrow-up-circle",{"title":21,"path":22,"stem":23,"children":24,"page":6},"Essentials","\u002Fessentials","2.essentials",[25,30,35,40,45,50,55],{"title":26,"path":27,"stem":28,"icon":29},"Configuration","\u002Fessentials\u002Fconfiguration","2.essentials\u002F1.configuration","i-lucide-settings",{"title":31,"path":32,"stem":33,"icon":34},"Authorization","\u002Fessentials\u002Fauthorization","2.essentials\u002F2.authorization","i-lucide-shield",{"title":36,"path":37,"stem":38,"icon":39},"Mentions","\u002Fessentials\u002Fmentions","2.essentials\u002F3.mentions","i-lucide-at-sign",{"title":41,"path":42,"stem":43,"icon":44},"Reactions","\u002Fessentials\u002Freactions","2.essentials\u002F4.reactions","i-lucide-smile",{"title":46,"path":47,"stem":48,"icon":49},"Attachments","\u002Fessentials\u002Fattachments","2.essentials\u002F5.attachments","i-lucide-paperclip",{"title":51,"path":52,"stem":53,"icon":54},"Notifications","\u002Fessentials\u002Fnotifications","2.essentials\u002F6.notifications","i-lucide-bell",{"title":56,"path":57,"stem":58,"icon":59},"Database Schema","\u002Fessentials\u002Fdatabase-schema","2.essentials\u002F7.database-schema","i-lucide-database",{"title":61,"path":62,"stem":63,"children":64,"page":6},"Community","\u002Fcommunity","4.community",[65,70],{"title":66,"path":67,"stem":68,"icon":69},"Contributing","\u002Fcommunity\u002Fcontributing","4.community\u002F1.contributing","i-lucide-heart-handshake",{"title":71,"path":72,"stem":73,"icon":74},"License","\u002Fcommunity\u002Flicense","4.community\u002F2.license","i-lucide-scale",{"id":76,"title":51,"body":77,"description":786,"extension":787,"links":788,"meta":789,"navigation":790,"path":52,"seo":791,"stem":53,"__hash__":793},"docs\u002F2.essentials\u002F6.notifications.md",{"type":78,"value":79,"toc":768},"minimark",[80,85,89,94,97,101,104,108,191,202,266,270,273,277,311,314,324,328,331,335,500,504,589,593,597,600,658,664,667,671,674,716,723,727,761,764],[81,82,84],"h2",{"id":83},"notification-types","Notification Types",[86,87,88],"p",{},"Two notification classes are included:",[90,91,93],"h3",{"id":92},"commentrepliednotification","CommentRepliedNotification",[86,95,96],{},"Sent to all thread subscribers when a new comment or reply is posted. The comment author is excluded from receiving their own notification.",[90,98,100],{"id":99},"usermentionednotification","UserMentionedNotification",[86,102,103],{},"Sent to a user when they are @mentioned in a comment. Self-mentions are ignored.",[81,105,107],{"id":106},"channels","Channels",[109,110,115],"pre",{"className":111,"code":112,"language":113,"meta":114,"style":114},"language-php shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","\u002F\u002F config\u002Fcomments.php\n'notifications' => [\n 'channels' => ['database'],\n 'enabled' => true,\n],\n","php","",[116,117,118,127,146,171,186],"code",{"__ignoreMap":114},[119,120,123],"span",{"class":121,"line":122},"line",1,[119,124,126],{"class":125},"sHwdD","\u002F\u002F config\u002Fcomments.php\n",[119,128,130,134,138,140,143],{"class":121,"line":129},2,[119,131,133],{"class":132},"sMK4o","'",[119,135,137],{"class":136},"sfazB","notifications",[119,139,133],{"class":132},[119,141,142],{"class":132}," =>",[119,144,145],{"class":132}," [\n",[119,147,149,152,154,156,158,161,163,166,168],{"class":121,"line":148},3,[119,150,151],{"class":132}," '",[119,153,106],{"class":136},[119,155,133],{"class":132},[119,157,142],{"class":132},[119,159,160],{"class":132}," [",[119,162,133],{"class":132},[119,164,165],{"class":136},"database",[119,167,133],{"class":132},[119,169,170],{"class":132},"],\n",[119,172,174,176,179,181,183],{"class":121,"line":173},4,[119,175,151],{"class":132},[119,177,178],{"class":136},"enabled",[119,180,133],{"class":132},[119,182,142],{"class":132},[119,184,185],{"class":132}," true,\n",[119,187,189],{"class":121,"line":188},5,[119,190,170],{"class":132},[86,192,193,194,197,198,201],{},"Available channels: ",[116,195,196],{},"'database'"," and ",[116,199,200],{},"'mail'",". Add both to send email notifications alongside database notifications:",[109,203,205],{"className":111,"code":204,"language":113,"meta":114,"style":114},"'notifications' => [\n 'channels' => ['database', 'mail'],\n 'enabled' => true,\n],\n",[116,206,207,219,250,262],{"__ignoreMap":114},[119,208,209,211,213,215,217],{"class":121,"line":122},[119,210,133],{"class":132},[119,212,137],{"class":136},[119,214,133],{"class":132},[119,216,142],{"class":132},[119,218,145],{"class":132},[119,220,221,223,225,227,229,231,233,235,237,240,243,246,248],{"class":121,"line":129},[119,222,151],{"class":132},[119,224,106],{"class":136},[119,226,133],{"class":132},[119,228,142],{"class":132},[119,230,160],{"class":132},[119,232,133],{"class":132},[119,234,165],{"class":136},[119,236,133],{"class":132},[119,238,239],{"class":132},",",[119,241,242],{"class":132}," '",[119,244,245],{"class":136},"mail",[119,247,133],{"class":132},[119,249,170],{"class":132},[119,251,252,254,256,258,260],{"class":121,"line":148},[119,253,151],{"class":132},[119,255,178],{"class":136},[119,257,133],{"class":132},[119,259,142],{"class":132},[119,261,185],{"class":132},[119,263,264],{"class":121,"line":173},[119,265,170],{"class":132},[81,267,269],{"id":268},"subscriptions","Subscriptions",[86,271,272],{},"Users can subscribe to comment threads on any commentable model. Subscribers receive notifications when new comments are posted.",[90,274,276],{"id":275},"auto-subscribe","Auto-Subscribe",[109,278,280],{"className":111,"code":279,"language":113,"meta":114,"style":114},"'subscriptions' => [\n 'auto_subscribe' => true,\n],\n",[116,281,282,294,307],{"__ignoreMap":114},[119,283,284,286,288,290,292],{"class":121,"line":122},[119,285,133],{"class":132},[119,287,268],{"class":136},[119,289,133],{"class":132},[119,291,142],{"class":132},[119,293,145],{"class":132},[119,295,296,298,301,303,305],{"class":121,"line":129},[119,297,151],{"class":132},[119,299,300],{"class":136},"auto_subscribe",[119,302,133],{"class":132},[119,304,142],{"class":132},[119,306,185],{"class":132},[119,308,309],{"class":121,"line":148},[119,310,170],{"class":132},[86,312,313],{},"When enabled:",[315,316,317,321],"ul",{},[318,319,320],"li",{},"Users are auto-subscribed when they post a comment",[318,322,323],{},"Users are auto-subscribed when they are @mentioned",[90,325,327],{"id":326},"manual-subscription","Manual Subscription",[86,329,330],{},"Users can toggle their subscription using the subscribe\u002Funsubscribe button in the comments UI.",[90,332,334],{"id":333},"programmatic-access","Programmatic Access",[109,336,338],{"className":111,"code":337,"language":113,"meta":114,"style":114},"use Relaticle\\Comments\\Models\\Subscription;\n\n\u002F\u002F Check subscription status\nSubscription::isSubscribed($commentable, $user);\n\n\u002F\u002F Subscribe\u002Funsubscribe\nSubscription::subscribe($commentable, $user);\nSubscription::unsubscribe($commentable, $user);\n\n\u002F\u002F Get all subscribers for a commentable\n$subscribers = Subscription::subscribersFor($commentable);\n",[116,339,340,369,375,380,409,413,419,441,463,468,474],{"__ignoreMap":114},[119,341,342,346,350,353,356,358,361,363,366],{"class":121,"line":122},[119,343,345],{"class":344},"sbssI","use",[119,347,349],{"class":348},"sTEyZ"," Relaticle",[119,351,352],{"class":132},"\\",[119,354,355],{"class":348},"Comments",[119,357,352],{"class":132},[119,359,360],{"class":348},"Models",[119,362,352],{"class":132},[119,364,365],{"class":348},"Subscription",[119,367,368],{"class":132},";\n",[119,370,371],{"class":121,"line":129},[119,372,374],{"emptyLinePlaceholder":373},true,"\n",[119,376,377],{"class":121,"line":148},[119,378,379],{"class":125},"\u002F\u002F Check subscription status\n",[119,381,382,385,388,392,395,398,400,403,406],{"class":121,"line":173},[119,383,365],{"class":384},"sBMFI",[119,386,387],{"class":132},"::",[119,389,391],{"class":390},"s2Zo4","isSubscribed",[119,393,394],{"class":132},"($",[119,396,397],{"class":348},"commentable",[119,399,239],{"class":132},[119,401,402],{"class":132}," $",[119,404,405],{"class":348},"user",[119,407,408],{"class":132},");\n",[119,410,411],{"class":121,"line":188},[119,412,374],{"emptyLinePlaceholder":373},[119,414,416],{"class":121,"line":415},6,[119,417,418],{"class":125},"\u002F\u002F Subscribe\u002Funsubscribe\n",[119,420,422,424,426,429,431,433,435,437,439],{"class":121,"line":421},7,[119,423,365],{"class":384},[119,425,387],{"class":132},[119,427,428],{"class":390},"subscribe",[119,430,394],{"class":132},[119,432,397],{"class":348},[119,434,239],{"class":132},[119,436,402],{"class":132},[119,438,405],{"class":348},[119,440,408],{"class":132},[119,442,444,446,448,451,453,455,457,459,461],{"class":121,"line":443},8,[119,445,365],{"class":384},[119,447,387],{"class":132},[119,449,450],{"class":390},"unsubscribe",[119,452,394],{"class":132},[119,454,397],{"class":348},[119,456,239],{"class":132},[119,458,402],{"class":132},[119,460,405],{"class":348},[119,462,408],{"class":132},[119,464,466],{"class":121,"line":465},9,[119,467,374],{"emptyLinePlaceholder":373},[119,469,471],{"class":121,"line":470},10,[119,472,473],{"class":125},"\u002F\u002F Get all subscribers for a commentable\n",[119,475,477,480,483,486,489,491,494,496,498],{"class":121,"line":476},11,[119,478,479],{"class":132},"$",[119,481,482],{"class":348},"subscribers ",[119,484,485],{"class":132},"=",[119,487,488],{"class":384}," Subscription",[119,490,387],{"class":132},[119,492,493],{"class":390},"subscribersFor",[119,495,394],{"class":132},[119,497,397],{"class":348},[119,499,408],{"class":132},[81,501,503],{"id":502},"events","Events",[505,506,507,523],"table",{},[508,509,510],"thead",{},[511,512,513,517,520],"tr",{},[514,515,516],"th",{},"Event",[514,518,519],{},"Trigger",[514,521,522],{},"Broadcasts",[524,525,526,540,552,564,576],"tbody",{},[511,527,528,534,537],{},[529,530,531],"td",{},[116,532,533],{},"CommentCreated",[529,535,536],{},"New comment or reply",[529,538,539],{},"Yes",[511,541,542,547,550],{},[529,543,544],{},[116,545,546],{},"CommentUpdated",[529,548,549],{},"Comment edited",[529,551,539],{},[511,553,554,559,562],{},[529,555,556],{},[116,557,558],{},"CommentDeleted",[529,560,561],{},"Comment soft-deleted",[529,563,539],{},[511,565,566,571,574],{},[529,567,568],{},[116,569,570],{},"CommentReacted",[529,572,573],{},"Reaction added\u002Fremoved",[529,575,539],{},[511,577,578,583,586],{},[529,579,580],{},[116,581,582],{},"UserMentioned",[529,584,585],{},"User @mentioned",[529,587,588],{},"No",[81,590,592],{"id":591},"real-time-updates","Real-time Updates",[90,594,596],{"id":595},"broadcasting","Broadcasting",[86,598,599],{},"Enable broadcasting for instant updates across browser sessions:",[109,601,603],{"className":111,"code":602,"language":113,"meta":114,"style":114},"\u002F\u002F config\u002Fcomments.php\n'broadcasting' => [\n 'enabled' => true,\n 'channel_prefix' => 'comments',\n],\n",[116,604,605,609,621,633,654],{"__ignoreMap":114},[119,606,607],{"class":121,"line":122},[119,608,126],{"class":125},[119,610,611,613,615,617,619],{"class":121,"line":129},[119,612,133],{"class":132},[119,614,595],{"class":136},[119,616,133],{"class":132},[119,618,142],{"class":132},[119,620,145],{"class":132},[119,622,623,625,627,629,631],{"class":121,"line":148},[119,624,151],{"class":132},[119,626,178],{"class":136},[119,628,133],{"class":132},[119,630,142],{"class":132},[119,632,185],{"class":132},[119,634,635,637,640,642,644,646,649,651],{"class":121,"line":173},[119,636,151],{"class":132},[119,638,639],{"class":136},"channel_prefix",[119,641,133],{"class":132},[119,643,142],{"class":132},[119,645,242],{"class":132},[119,647,648],{"class":136},"comments",[119,650,133],{"class":132},[119,652,653],{"class":132},",\n",[119,655,656],{"class":121,"line":188},[119,657,170],{"class":132},[86,659,660,661],{},"Events are broadcast on private channels: ",[116,662,663],{},"{prefix}.{commentable_type}.{commentable_id}",[86,665,666],{},"This requires Laravel Echo and a broadcasting driver (Pusher, Ably, etc.) configured in your application.",[90,668,670],{"id":669},"polling-fallback","Polling Fallback",[86,672,673],{},"When broadcasting is disabled, the Livewire component polls for updates:",[109,675,677],{"className":111,"code":676,"language":113,"meta":114,"style":114},"'polling' => [\n 'interval' => '10s',\n],\n",[116,678,679,692,712],{"__ignoreMap":114},[119,680,681,683,686,688,690],{"class":121,"line":122},[119,682,133],{"class":132},[119,684,685],{"class":136},"polling",[119,687,133],{"class":132},[119,689,142],{"class":132},[119,691,145],{"class":132},[119,693,694,696,699,701,703,705,708,710],{"class":121,"line":129},[119,695,151],{"class":132},[119,697,698],{"class":136},"interval",[119,700,133],{"class":132},[119,702,142],{"class":132},[119,704,242],{"class":132},[119,706,707],{"class":136},"10s",[119,709,133],{"class":132},[119,711,653],{"class":132},[119,713,714],{"class":121,"line":148},[119,715,170],{"class":132},[86,717,718,719,722],{},"Set to ",[116,720,721],{},"null"," to disable polling entirely.",[81,724,726],{"id":725},"disabling-notifications","Disabling Notifications",[109,728,730],{"className":111,"code":729,"language":113,"meta":114,"style":114},"'notifications' => [\n 'enabled' => false,\n],\n",[116,731,732,744,757],{"__ignoreMap":114},[119,733,734,736,738,740,742],{"class":121,"line":122},[119,735,133],{"class":132},[119,737,137],{"class":136},[119,739,133],{"class":132},[119,741,142],{"class":132},[119,743,145],{"class":132},[119,745,746,748,750,752,754],{"class":121,"line":129},[119,747,151],{"class":132},[119,749,178],{"class":136},[119,751,133],{"class":132},[119,753,142],{"class":132},[119,755,756],{"class":132}," false,\n",[119,758,759],{"class":121,"line":148},[119,760,170],{"class":132},[86,762,763],{},"This disables all notification dispatching. Subscriptions and events still work, but no notifications are sent.",[765,766,767],"style",{},"html pre.shiki code .sHwdD, html code.shiki .sHwdD{--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#546E7A;--shiki-default-font-style:italic;--shiki-dark:#676E95;--shiki-dark-font-style:italic}html pre.shiki code .sMK4o, html code.shiki .sMK4o{--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF}html pre.shiki code .sfazB, html code.shiki .sfazB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html pre.shiki code .sbssI, html code.shiki .sbssI{--shiki-light:#F76D47;--shiki-default:#F78C6C;--shiki-dark:#F78C6C}html pre.shiki code .sTEyZ, html code.shiki .sTEyZ{--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8}html pre.shiki code .sBMFI, html code.shiki .sBMFI{--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B}html pre.shiki code .s2Zo4, html code.shiki .s2Zo4{--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF}",{"title":114,"searchDepth":129,"depth":129,"links":769},[770,774,775,780,781,785],{"id":83,"depth":129,"text":84,"children":771},[772,773],{"id":92,"depth":148,"text":93},{"id":99,"depth":148,"text":100},{"id":106,"depth":129,"text":107},{"id":268,"depth":129,"text":269,"children":776},[777,778,779],{"id":275,"depth":148,"text":276},{"id":326,"depth":148,"text":327},{"id":333,"depth":148,"text":334},{"id":502,"depth":129,"text":503},{"id":591,"depth":129,"text":592,"children":782},[783,784],{"id":595,"depth":148,"text":596},{"id":669,"depth":148,"text":670},{"id":725,"depth":129,"text":726},"Comment notifications, subscriptions, and real-time updates.","md",null,{},{"icon":54},{"description":792,"title":51},"Configure comment notifications, subscriptions, broadcasting, and polling.","drotOcQFMBQs0KXJ02mt95uFAuJkVVeqmKiZga1ki1c",[795,797],{"title":46,"path":47,"stem":48,"description":796,"icon":49,"children":-1},"File uploads for comments.",{"title":56,"path":57,"stem":58,"description":798,"icon":59,"children":-1},"Tables, relationships, and indexes used by the Comments package.",1774613361671] \ No newline at end of file +[{"data":1,"prerenderedAt":799},["ShallowReactive",2],{"navigation_docs":3,"-essentials-notifications":75,"-essentials-notifications-surround":794},[4,20,60],{"title":5,"icon":6,"path":7,"stem":8,"children":9,"page":6},"Getting Started",false,"\u002Fgetting-started","1.getting-started",[10,15],{"title":11,"path":12,"stem":13,"icon":14},"Installation","\u002Fgetting-started\u002Finstallation","1.getting-started\u002F1.installation","i-lucide-download",{"title":16,"path":17,"stem":18,"icon":19},"Upgrading","\u002Fgetting-started\u002Fupgrading","1.getting-started\u002F2.upgrading","i-lucide-arrow-up-circle",{"title":21,"path":22,"stem":23,"children":24,"page":6},"Essentials","\u002Fessentials","2.essentials",[25,30,35,40,45,50,55],{"title":26,"path":27,"stem":28,"icon":29},"Configuration","\u002Fessentials\u002Fconfiguration","2.essentials\u002F1.configuration","i-lucide-settings",{"title":31,"path":32,"stem":33,"icon":34},"Authorization","\u002Fessentials\u002Fauthorization","2.essentials\u002F2.authorization","i-lucide-shield",{"title":36,"path":37,"stem":38,"icon":39},"Mentions","\u002Fessentials\u002Fmentions","2.essentials\u002F3.mentions","i-lucide-at-sign",{"title":41,"path":42,"stem":43,"icon":44},"Reactions","\u002Fessentials\u002Freactions","2.essentials\u002F4.reactions","i-lucide-smile",{"title":46,"path":47,"stem":48,"icon":49},"Attachments","\u002Fessentials\u002Fattachments","2.essentials\u002F5.attachments","i-lucide-paperclip",{"title":51,"path":52,"stem":53,"icon":54},"Notifications","\u002Fessentials\u002Fnotifications","2.essentials\u002F6.notifications","i-lucide-bell",{"title":56,"path":57,"stem":58,"icon":59},"Database Schema","\u002Fessentials\u002Fdatabase-schema","2.essentials\u002F7.database-schema","i-lucide-database",{"title":61,"path":62,"stem":63,"children":64,"page":6},"Community","\u002Fcommunity","4.community",[65,70],{"title":66,"path":67,"stem":68,"icon":69},"Contributing","\u002Fcommunity\u002Fcontributing","4.community\u002F1.contributing","i-lucide-heart-handshake",{"title":71,"path":72,"stem":73,"icon":74},"License","\u002Fcommunity\u002Flicense","4.community\u002F2.license","i-lucide-scale",{"id":76,"title":51,"body":77,"description":786,"extension":787,"links":788,"meta":789,"navigation":790,"path":52,"seo":791,"stem":53,"__hash__":793},"docs\u002F2.essentials\u002F6.notifications.md",{"type":78,"value":79,"toc":768},"minimark",[80,85,89,94,97,101,104,108,191,202,266,270,273,277,311,314,324,328,331,335,500,504,589,593,597,600,658,664,667,671,674,716,723,727,761,764],[81,82,84],"h2",{"id":83},"notification-types","Notification Types",[86,87,88],"p",{},"Two notification classes are included:",[90,91,93],"h3",{"id":92},"commentrepliednotification","CommentRepliedNotification",[86,95,96],{},"Sent to all thread subscribers when a new comment or reply is posted. The comment author is excluded from receiving their own notification.",[90,98,100],{"id":99},"usermentionednotification","UserMentionedNotification",[86,102,103],{},"Sent to a user when they are @mentioned in a comment. Self-mentions are ignored.",[81,105,107],{"id":106},"channels","Channels",[109,110,115],"pre",{"className":111,"code":112,"language":113,"meta":114,"style":114},"language-php shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","\u002F\u002F config\u002Fcomments.php\n'notifications' => [\n 'channels' => ['database'],\n 'enabled' => true,\n],\n","php","",[116,117,118,127,146,171,186],"code",{"__ignoreMap":114},[119,120,123],"span",{"class":121,"line":122},"line",1,[119,124,126],{"class":125},"sHwdD","\u002F\u002F config\u002Fcomments.php\n",[119,128,130,134,138,140,143],{"class":121,"line":129},2,[119,131,133],{"class":132},"sMK4o","'",[119,135,137],{"class":136},"sfazB","notifications",[119,139,133],{"class":132},[119,141,142],{"class":132}," =>",[119,144,145],{"class":132}," [\n",[119,147,149,152,154,156,158,161,163,166,168],{"class":121,"line":148},3,[119,150,151],{"class":132}," '",[119,153,106],{"class":136},[119,155,133],{"class":132},[119,157,142],{"class":132},[119,159,160],{"class":132}," [",[119,162,133],{"class":132},[119,164,165],{"class":136},"database",[119,167,133],{"class":132},[119,169,170],{"class":132},"],\n",[119,172,174,176,179,181,183],{"class":121,"line":173},4,[119,175,151],{"class":132},[119,177,178],{"class":136},"enabled",[119,180,133],{"class":132},[119,182,142],{"class":132},[119,184,185],{"class":132}," true,\n",[119,187,189],{"class":121,"line":188},5,[119,190,170],{"class":132},[86,192,193,194,197,198,201],{},"Available channels: ",[116,195,196],{},"'database'"," and ",[116,199,200],{},"'mail'",". Add both to send email notifications alongside database notifications:",[109,203,205],{"className":111,"code":204,"language":113,"meta":114,"style":114},"'notifications' => [\n 'channels' => ['database', 'mail'],\n 'enabled' => true,\n],\n",[116,206,207,219,250,262],{"__ignoreMap":114},[119,208,209,211,213,215,217],{"class":121,"line":122},[119,210,133],{"class":132},[119,212,137],{"class":136},[119,214,133],{"class":132},[119,216,142],{"class":132},[119,218,145],{"class":132},[119,220,221,223,225,227,229,231,233,235,237,240,243,246,248],{"class":121,"line":129},[119,222,151],{"class":132},[119,224,106],{"class":136},[119,226,133],{"class":132},[119,228,142],{"class":132},[119,230,160],{"class":132},[119,232,133],{"class":132},[119,234,165],{"class":136},[119,236,133],{"class":132},[119,238,239],{"class":132},",",[119,241,242],{"class":132}," '",[119,244,245],{"class":136},"mail",[119,247,133],{"class":132},[119,249,170],{"class":132},[119,251,252,254,256,258,260],{"class":121,"line":148},[119,253,151],{"class":132},[119,255,178],{"class":136},[119,257,133],{"class":132},[119,259,142],{"class":132},[119,261,185],{"class":132},[119,263,264],{"class":121,"line":173},[119,265,170],{"class":132},[81,267,269],{"id":268},"subscriptions","Subscriptions",[86,271,272],{},"Users can subscribe to comment threads on any commentable model. Subscribers receive notifications when new comments are posted.",[90,274,276],{"id":275},"auto-subscribe","Auto-Subscribe",[109,278,280],{"className":111,"code":279,"language":113,"meta":114,"style":114},"'subscriptions' => [\n 'auto_subscribe' => true,\n],\n",[116,281,282,294,307],{"__ignoreMap":114},[119,283,284,286,288,290,292],{"class":121,"line":122},[119,285,133],{"class":132},[119,287,268],{"class":136},[119,289,133],{"class":132},[119,291,142],{"class":132},[119,293,145],{"class":132},[119,295,296,298,301,303,305],{"class":121,"line":129},[119,297,151],{"class":132},[119,299,300],{"class":136},"auto_subscribe",[119,302,133],{"class":132},[119,304,142],{"class":132},[119,306,185],{"class":132},[119,308,309],{"class":121,"line":148},[119,310,170],{"class":132},[86,312,313],{},"When enabled:",[315,316,317,321],"ul",{},[318,319,320],"li",{},"Users are auto-subscribed when they post a comment",[318,322,323],{},"Users are auto-subscribed when they are @mentioned",[90,325,327],{"id":326},"manual-subscription","Manual Subscription",[86,329,330],{},"Users can toggle their subscription using the subscribe\u002Funsubscribe button in the comments UI.",[90,332,334],{"id":333},"programmatic-access","Programmatic Access",[109,336,338],{"className":111,"code":337,"language":113,"meta":114,"style":114},"use Relaticle\\Comments\\Models\\Subscription;\n\n\u002F\u002F Check subscription status\nSubscription::isSubscribed($commentable, $user);\n\n\u002F\u002F Subscribe\u002Funsubscribe\nSubscription::subscribe($commentable, $user);\nSubscription::unsubscribe($commentable, $user);\n\n\u002F\u002F Get all subscribers for a commentable\n$subscribers = Subscription::subscribersFor($commentable);\n",[116,339,340,369,375,380,409,413,419,441,463,468,474],{"__ignoreMap":114},[119,341,342,346,350,353,356,358,361,363,366],{"class":121,"line":122},[119,343,345],{"class":344},"sbssI","use",[119,347,349],{"class":348},"sTEyZ"," Relaticle",[119,351,352],{"class":132},"\\",[119,354,355],{"class":348},"Comments",[119,357,352],{"class":132},[119,359,360],{"class":348},"Models",[119,362,352],{"class":132},[119,364,365],{"class":348},"Subscription",[119,367,368],{"class":132},";\n",[119,370,371],{"class":121,"line":129},[119,372,374],{"emptyLinePlaceholder":373},true,"\n",[119,376,377],{"class":121,"line":148},[119,378,379],{"class":125},"\u002F\u002F Check subscription status\n",[119,381,382,385,388,392,395,398,400,403,406],{"class":121,"line":173},[119,383,365],{"class":384},"sBMFI",[119,386,387],{"class":132},"::",[119,389,391],{"class":390},"s2Zo4","isSubscribed",[119,393,394],{"class":132},"($",[119,396,397],{"class":348},"commentable",[119,399,239],{"class":132},[119,401,402],{"class":132}," $",[119,404,405],{"class":348},"user",[119,407,408],{"class":132},");\n",[119,410,411],{"class":121,"line":188},[119,412,374],{"emptyLinePlaceholder":373},[119,414,416],{"class":121,"line":415},6,[119,417,418],{"class":125},"\u002F\u002F Subscribe\u002Funsubscribe\n",[119,420,422,424,426,429,431,433,435,437,439],{"class":121,"line":421},7,[119,423,365],{"class":384},[119,425,387],{"class":132},[119,427,428],{"class":390},"subscribe",[119,430,394],{"class":132},[119,432,397],{"class":348},[119,434,239],{"class":132},[119,436,402],{"class":132},[119,438,405],{"class":348},[119,440,408],{"class":132},[119,442,444,446,448,451,453,455,457,459,461],{"class":121,"line":443},8,[119,445,365],{"class":384},[119,447,387],{"class":132},[119,449,450],{"class":390},"unsubscribe",[119,452,394],{"class":132},[119,454,397],{"class":348},[119,456,239],{"class":132},[119,458,402],{"class":132},[119,460,405],{"class":348},[119,462,408],{"class":132},[119,464,466],{"class":121,"line":465},9,[119,467,374],{"emptyLinePlaceholder":373},[119,469,471],{"class":121,"line":470},10,[119,472,473],{"class":125},"\u002F\u002F Get all subscribers for a commentable\n",[119,475,477,480,483,486,489,491,494,496,498],{"class":121,"line":476},11,[119,478,479],{"class":132},"$",[119,481,482],{"class":348},"subscribers ",[119,484,485],{"class":132},"=",[119,487,488],{"class":384}," Subscription",[119,490,387],{"class":132},[119,492,493],{"class":390},"subscribersFor",[119,495,394],{"class":132},[119,497,397],{"class":348},[119,499,408],{"class":132},[81,501,503],{"id":502},"events","Events",[505,506,507,523],"table",{},[508,509,510],"thead",{},[511,512,513,517,520],"tr",{},[514,515,516],"th",{},"Event",[514,518,519],{},"Trigger",[514,521,522],{},"Broadcasts",[524,525,526,540,552,564,576],"tbody",{},[511,527,528,534,537],{},[529,530,531],"td",{},[116,532,533],{},"CommentCreated",[529,535,536],{},"New comment or reply",[529,538,539],{},"Yes",[511,541,542,547,550],{},[529,543,544],{},[116,545,546],{},"CommentUpdated",[529,548,549],{},"Comment edited",[529,551,539],{},[511,553,554,559,562],{},[529,555,556],{},[116,557,558],{},"CommentDeleted",[529,560,561],{},"Comment soft-deleted",[529,563,539],{},[511,565,566,571,574],{},[529,567,568],{},[116,569,570],{},"CommentReacted",[529,572,573],{},"Reaction added\u002Fremoved",[529,575,539],{},[511,577,578,583,586],{},[529,579,580],{},[116,581,582],{},"UserMentioned",[529,584,585],{},"User @mentioned",[529,587,588],{},"No",[81,590,592],{"id":591},"real-time-updates","Real-time Updates",[90,594,596],{"id":595},"broadcasting","Broadcasting",[86,598,599],{},"Enable broadcasting for instant updates across browser sessions:",[109,601,603],{"className":111,"code":602,"language":113,"meta":114,"style":114},"\u002F\u002F config\u002Fcomments.php\n'broadcasting' => [\n 'enabled' => true,\n 'channel_prefix' => 'comments',\n],\n",[116,604,605,609,621,633,654],{"__ignoreMap":114},[119,606,607],{"class":121,"line":122},[119,608,126],{"class":125},[119,610,611,613,615,617,619],{"class":121,"line":129},[119,612,133],{"class":132},[119,614,595],{"class":136},[119,616,133],{"class":132},[119,618,142],{"class":132},[119,620,145],{"class":132},[119,622,623,625,627,629,631],{"class":121,"line":148},[119,624,151],{"class":132},[119,626,178],{"class":136},[119,628,133],{"class":132},[119,630,142],{"class":132},[119,632,185],{"class":132},[119,634,635,637,640,642,644,646,649,651],{"class":121,"line":173},[119,636,151],{"class":132},[119,638,639],{"class":136},"channel_prefix",[119,641,133],{"class":132},[119,643,142],{"class":132},[119,645,242],{"class":132},[119,647,648],{"class":136},"comments",[119,650,133],{"class":132},[119,652,653],{"class":132},",\n",[119,655,656],{"class":121,"line":188},[119,657,170],{"class":132},[86,659,660,661],{},"Events are broadcast on private channels: ",[116,662,663],{},"{prefix}.{commentable_type}.{commentable_id}",[86,665,666],{},"This requires Laravel Echo and a broadcasting driver (Pusher, Ably, etc.) configured in your application.",[90,668,670],{"id":669},"polling-fallback","Polling Fallback",[86,672,673],{},"When broadcasting is disabled, the Livewire component polls for updates:",[109,675,677],{"className":111,"code":676,"language":113,"meta":114,"style":114},"'polling' => [\n 'interval' => '10s',\n],\n",[116,678,679,692,712],{"__ignoreMap":114},[119,680,681,683,686,688,690],{"class":121,"line":122},[119,682,133],{"class":132},[119,684,685],{"class":136},"polling",[119,687,133],{"class":132},[119,689,142],{"class":132},[119,691,145],{"class":132},[119,693,694,696,699,701,703,705,708,710],{"class":121,"line":129},[119,695,151],{"class":132},[119,697,698],{"class":136},"interval",[119,700,133],{"class":132},[119,702,142],{"class":132},[119,704,242],{"class":132},[119,706,707],{"class":136},"10s",[119,709,133],{"class":132},[119,711,653],{"class":132},[119,713,714],{"class":121,"line":148},[119,715,170],{"class":132},[86,717,718,719,722],{},"Set to ",[116,720,721],{},"null"," to disable polling entirely.",[81,724,726],{"id":725},"disabling-notifications","Disabling Notifications",[109,728,730],{"className":111,"code":729,"language":113,"meta":114,"style":114},"'notifications' => [\n 'enabled' => false,\n],\n",[116,731,732,744,757],{"__ignoreMap":114},[119,733,734,736,738,740,742],{"class":121,"line":122},[119,735,133],{"class":132},[119,737,137],{"class":136},[119,739,133],{"class":132},[119,741,142],{"class":132},[119,743,145],{"class":132},[119,745,746,748,750,752,754],{"class":121,"line":129},[119,747,151],{"class":132},[119,749,178],{"class":136},[119,751,133],{"class":132},[119,753,142],{"class":132},[119,755,756],{"class":132}," false,\n",[119,758,759],{"class":121,"line":148},[119,760,170],{"class":132},[86,762,763],{},"This disables all notification dispatching. Subscriptions and events still work, but no notifications are sent.",[765,766,767],"style",{},"html pre.shiki code .sHwdD, html code.shiki .sHwdD{--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#546E7A;--shiki-default-font-style:italic;--shiki-dark:#676E95;--shiki-dark-font-style:italic}html pre.shiki code .sMK4o, html code.shiki .sMK4o{--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF}html pre.shiki code .sfazB, html code.shiki .sfazB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html pre.shiki code .sbssI, html code.shiki .sbssI{--shiki-light:#F76D47;--shiki-default:#F78C6C;--shiki-dark:#F78C6C}html pre.shiki code .sTEyZ, html code.shiki .sTEyZ{--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8}html pre.shiki code .sBMFI, html code.shiki .sBMFI{--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B}html pre.shiki code .s2Zo4, html code.shiki .s2Zo4{--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF}",{"title":114,"searchDepth":129,"depth":129,"links":769},[770,774,775,780,781,785],{"id":83,"depth":129,"text":84,"children":771},[772,773],{"id":92,"depth":148,"text":93},{"id":99,"depth":148,"text":100},{"id":106,"depth":129,"text":107},{"id":268,"depth":129,"text":269,"children":776},[777,778,779],{"id":275,"depth":148,"text":276},{"id":326,"depth":148,"text":327},{"id":333,"depth":148,"text":334},{"id":502,"depth":129,"text":503},{"id":591,"depth":129,"text":592,"children":782},[783,784],{"id":595,"depth":148,"text":596},{"id":669,"depth":148,"text":670},{"id":725,"depth":129,"text":726},"Comment notifications, subscriptions, and real-time updates.","md",null,{},{"icon":54},{"description":792,"title":51},"Configure comment notifications, subscriptions, broadcasting, and polling.","drotOcQFMBQs0KXJ02mt95uFAuJkVVeqmKiZga1ki1c",[795,797],{"title":46,"path":47,"stem":48,"description":796,"icon":49,"children":-1},"File uploads for comments.",{"title":56,"path":57,"stem":58,"description":798,"icon":59,"children":-1},"Tables, relationships, and indexes used by the Comments package.",1774613434788] \ No newline at end of file diff --git a/essentials/reactions.html b/essentials/reactions.html index 6a08be0..2d4204a 100644 --- a/essentials/reactions.html +++ b/essentials/reactions.html @@ -94,7 +94,7 @@ --ui-warning: var(--ui-color-warning-400); --ui-error: var(--ui-color-error-400); } -}Reactions - Comments
Comments Logo
1.x
Essentials

Reactions

Emoji reactions on comments.

Default Reactions

Six emoji reactions are available out of the box:

KeyEmojiLabel
thumbs_up:thumbsup:Like
heart❤️Love
celebrate🎉Celebrate
laugh😄Laugh
thinking🤔Thinking
sad😢Sad

How Reactions Work

  • Each user can add one reaction of each type per comment
  • Clicking the same reaction again removes it (toggle behavior)
  • The reaction summary shows which users reacted with each emoji
  • A CommentReacted event is dispatched with action: 'added' or 'removed'

Customizing Reactions

Override the emoji set in your config:

// config/comments.php
+}Reactions - Comments
Comments Logo
1.x
Essentials

Reactions

Emoji reactions on comments.

Default Reactions

Six emoji reactions are available out of the box:

KeyEmojiLabel
thumbs_up:thumbsup:Like
heart❤️Love
celebrate🎉Celebrate
laugh😄Laugh
thinking🤔Thinking
sad😢Sad

How Reactions Work

  • Each user can add one reaction of each type per comment
  • Clicking the same reaction again removes it (toggle behavior)
  • The reaction summary shows which users reacted with each emoji
  • A CommentReacted event is dispatched with action: 'added' or 'removed'

Customizing Reactions

Override the emoji set in your config:

// config/comments.php
 'reactions' => [
     'emoji_set' => [
         'thumbs_up' => "\u{1F44D}",
@@ -104,4 +104,4 @@
         'eyes' => "\u{1F440}",
     ],
 ],
-

Keys are stored in the database. If you change a key, existing reactions with the old key will no longer display.

Storage

Reactions are stored in the comment_reactions table with a unique constraint on (comment_id, commenter_id, commenter_type, reaction), ensuring one reaction of each type per user per comment.

Copyright © 2026
\ No newline at end of file +

Keys are stored in the database. If you change a key, existing reactions with the old key will no longer display.

Storage

Reactions are stored in the comment_reactions table with a unique constraint on (comment_id, commenter_id, commenter_type, reaction), ensuring one reaction of each type per user per comment.

Copyright © 2026
\ No newline at end of file diff --git a/essentials/reactions/_payload.json b/essentials/reactions/_payload.json index 05d4c2b..b1d7e89 100644 --- a/essentials/reactions/_payload.json +++ b/essentials/reactions/_payload.json @@ -1 +1 @@ -[{"data":1,"prerenderedAt":442},["ShallowReactive",2],{"navigation_docs":3,"-essentials-reactions":75,"-essentials-reactions-surround":437},[4,20,60],{"title":5,"icon":6,"path":7,"stem":8,"children":9,"page":6},"Getting Started",false,"\u002Fgetting-started","1.getting-started",[10,15],{"title":11,"path":12,"stem":13,"icon":14},"Installation","\u002Fgetting-started\u002Finstallation","1.getting-started\u002F1.installation","i-lucide-download",{"title":16,"path":17,"stem":18,"icon":19},"Upgrading","\u002Fgetting-started\u002Fupgrading","1.getting-started\u002F2.upgrading","i-lucide-arrow-up-circle",{"title":21,"path":22,"stem":23,"children":24,"page":6},"Essentials","\u002Fessentials","2.essentials",[25,30,35,40,45,50,55],{"title":26,"path":27,"stem":28,"icon":29},"Configuration","\u002Fessentials\u002Fconfiguration","2.essentials\u002F1.configuration","i-lucide-settings",{"title":31,"path":32,"stem":33,"icon":34},"Authorization","\u002Fessentials\u002Fauthorization","2.essentials\u002F2.authorization","i-lucide-shield",{"title":36,"path":37,"stem":38,"icon":39},"Mentions","\u002Fessentials\u002Fmentions","2.essentials\u002F3.mentions","i-lucide-at-sign",{"title":41,"path":42,"stem":43,"icon":44},"Reactions","\u002Fessentials\u002Freactions","2.essentials\u002F4.reactions","i-lucide-smile",{"title":46,"path":47,"stem":48,"icon":49},"Attachments","\u002Fessentials\u002Fattachments","2.essentials\u002F5.attachments","i-lucide-paperclip",{"title":51,"path":52,"stem":53,"icon":54},"Notifications","\u002Fessentials\u002Fnotifications","2.essentials\u002F6.notifications","i-lucide-bell",{"title":56,"path":57,"stem":58,"icon":59},"Database Schema","\u002Fessentials\u002Fdatabase-schema","2.essentials\u002F7.database-schema","i-lucide-database",{"title":61,"path":62,"stem":63,"children":64,"page":6},"Community","\u002Fcommunity","4.community",[65,70],{"title":66,"path":67,"stem":68,"icon":69},"Contributing","\u002Fcommunity\u002Fcontributing","4.community\u002F1.contributing","i-lucide-heart-handshake",{"title":71,"path":72,"stem":73,"icon":74},"License","\u002Fcommunity\u002Flicense","4.community\u002F2.license","i-lucide-scale",{"id":76,"title":41,"body":77,"description":429,"extension":430,"links":431,"meta":432,"navigation":433,"path":42,"seo":434,"stem":43,"__hash__":436},"docs\u002F2.essentials\u002F4.reactions.md",{"type":78,"value":79,"toc":423},"minimark",[80,85,89,191,195,222,226,229,401,404,408,419],[81,82,84],"h2",{"id":83},"default-reactions","Default Reactions",[86,87,88],"p",{},"Six emoji reactions are available out of the box:",[90,91,92,108],"table",{},[93,94,95],"thead",{},[96,97,98,102,105],"tr",{},[99,100,101],"th",{},"Key",[99,103,104],{},"Emoji",[99,106,107],{},"Label",[109,110,111,126,139,152,165,178],"tbody",{},[96,112,113,120,123],{},[114,115,116],"td",{},[117,118,119],"code",{},"thumbs_up",[114,121,122],{},":thumbsup:",[114,124,125],{},"Like",[96,127,128,133,136],{},[114,129,130],{},[117,131,132],{},"heart",[114,134,135],{},"❤️",[114,137,138],{},"Love",[96,140,141,146,149],{},[114,142,143],{},[117,144,145],{},"celebrate",[114,147,148],{},"🎉",[114,150,151],{},"Celebrate",[96,153,154,159,162],{},[114,155,156],{},[117,157,158],{},"laugh",[114,160,161],{},"😄",[114,163,164],{},"Laugh",[96,166,167,172,175],{},[114,168,169],{},[117,170,171],{},"thinking",[114,173,174],{},"🤔",[114,176,177],{},"Thinking",[96,179,180,185,188],{},[114,181,182],{},[117,183,184],{},"sad",[114,186,187],{},"😢",[114,189,190],{},"Sad",[81,192,194],{"id":193},"how-reactions-work","How Reactions Work",[196,197,198,202,205,208],"ul",{},[199,200,201],"li",{},"Each user can add one reaction of each type per comment",[199,203,204],{},"Clicking the same reaction again removes it (toggle behavior)",[199,206,207],{},"The reaction summary shows which users reacted with each emoji",[199,209,210,211,214,215,218,219],{},"A ",[117,212,213],{},"CommentReacted"," event is dispatched with ",[117,216,217],{},"action: 'added'"," or ",[117,220,221],{},"'removed'",[81,223,225],{"id":224},"customizing-reactions","Customizing Reactions",[86,227,228],{},"Override the emoji set in your config:",[230,231,236],"pre",{"className":232,"code":233,"language":234,"meta":235,"style":235},"language-php shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","\u002F\u002F config\u002Fcomments.php\n'reactions' => [\n 'emoji_set' => [\n 'thumbs_up' => \"\\u{1F44D}\",\n 'thumbs_down' => \"\\u{1F44E}\",\n 'heart' => \"\\u{2764}\\u{FE0F}\",\n 'fire' => \"\\u{1F525}\",\n 'eyes' => \"\\u{1F440}\",\n ],\n],\n","php","",[117,237,238,247,266,281,306,327,347,368,389,395],{"__ignoreMap":235},[239,240,243],"span",{"class":241,"line":242},"line",1,[239,244,246],{"class":245},"sHwdD","\u002F\u002F config\u002Fcomments.php\n",[239,248,250,254,258,260,263],{"class":241,"line":249},2,[239,251,253],{"class":252},"sMK4o","'",[239,255,257],{"class":256},"sfazB","reactions",[239,259,253],{"class":252},[239,261,262],{"class":252}," =>",[239,264,265],{"class":252}," [\n",[239,267,269,272,275,277,279],{"class":241,"line":268},3,[239,270,271],{"class":252}," '",[239,273,274],{"class":256},"emoji_set",[239,276,253],{"class":252},[239,278,262],{"class":252},[239,280,265],{"class":252},[239,282,284,287,289,291,293,296,300,303],{"class":241,"line":283},4,[239,285,286],{"class":252}," '",[239,288,119],{"class":256},[239,290,253],{"class":252},[239,292,262],{"class":252},[239,294,295],{"class":252}," \"",[239,297,299],{"class":298},"sTEyZ","\\u{1F44D}",[239,301,302],{"class":252},"\"",[239,304,305],{"class":252},",\n",[239,307,309,311,314,316,318,320,323,325],{"class":241,"line":308},5,[239,310,286],{"class":252},[239,312,313],{"class":256},"thumbs_down",[239,315,253],{"class":252},[239,317,262],{"class":252},[239,319,295],{"class":252},[239,321,322],{"class":298},"\\u{1F44E}",[239,324,302],{"class":252},[239,326,305],{"class":252},[239,328,330,332,334,336,338,340,343,345],{"class":241,"line":329},6,[239,331,286],{"class":252},[239,333,132],{"class":256},[239,335,253],{"class":252},[239,337,262],{"class":252},[239,339,295],{"class":252},[239,341,342],{"class":298},"\\u{2764}\\u{FE0F}",[239,344,302],{"class":252},[239,346,305],{"class":252},[239,348,350,352,355,357,359,361,364,366],{"class":241,"line":349},7,[239,351,286],{"class":252},[239,353,354],{"class":256},"fire",[239,356,253],{"class":252},[239,358,262],{"class":252},[239,360,295],{"class":252},[239,362,363],{"class":298},"\\u{1F525}",[239,365,302],{"class":252},[239,367,305],{"class":252},[239,369,371,373,376,378,380,382,385,387],{"class":241,"line":370},8,[239,372,286],{"class":252},[239,374,375],{"class":256},"eyes",[239,377,253],{"class":252},[239,379,262],{"class":252},[239,381,295],{"class":252},[239,383,384],{"class":298},"\\u{1F440}",[239,386,302],{"class":252},[239,388,305],{"class":252},[239,390,392],{"class":241,"line":391},9,[239,393,394],{"class":252}," ],\n",[239,396,398],{"class":241,"line":397},10,[239,399,400],{"class":252},"],\n",[86,402,403],{},"Keys are stored in the database. If you change a key, existing reactions with the old key will no longer display.",[81,405,407],{"id":406},"storage","Storage",[86,409,410,411,414,415,418],{},"Reactions are stored in the ",[117,412,413],{},"comment_reactions"," table with a unique constraint on ",[117,416,417],{},"(comment_id, commenter_id, commenter_type, reaction)",", ensuring one reaction of each type per user per comment.",[420,421,422],"style",{},"html pre.shiki code .sHwdD, html code.shiki .sHwdD{--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#546E7A;--shiki-default-font-style:italic;--shiki-dark:#676E95;--shiki-dark-font-style:italic}html pre.shiki code .sMK4o, html code.shiki .sMK4o{--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF}html pre.shiki code .sfazB, html code.shiki .sfazB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}html pre.shiki code .sTEyZ, html code.shiki .sTEyZ{--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":235,"searchDepth":249,"depth":249,"links":424},[425,426,427,428],{"id":83,"depth":249,"text":84},{"id":193,"depth":249,"text":194},{"id":224,"depth":249,"text":225},{"id":406,"depth":249,"text":407},"Emoji reactions on comments.","md",null,{},{"icon":44},{"description":435,"title":41},"Configure emoji reactions for comments.","5mi_HoegWMsrrG2xuLdYPS1DXL37zif9KsBLjciCtN0",[438,440],{"title":36,"path":37,"stem":38,"description":439,"icon":39,"children":-1},"User @mentions with autocomplete and notification support.",{"title":46,"path":47,"stem":48,"description":441,"icon":49,"children":-1},"File uploads for comments.",1774613361671] \ No newline at end of file +[{"data":1,"prerenderedAt":442},["ShallowReactive",2],{"navigation_docs":3,"-essentials-reactions":75,"-essentials-reactions-surround":437},[4,20,60],{"title":5,"icon":6,"path":7,"stem":8,"children":9,"page":6},"Getting Started",false,"\u002Fgetting-started","1.getting-started",[10,15],{"title":11,"path":12,"stem":13,"icon":14},"Installation","\u002Fgetting-started\u002Finstallation","1.getting-started\u002F1.installation","i-lucide-download",{"title":16,"path":17,"stem":18,"icon":19},"Upgrading","\u002Fgetting-started\u002Fupgrading","1.getting-started\u002F2.upgrading","i-lucide-arrow-up-circle",{"title":21,"path":22,"stem":23,"children":24,"page":6},"Essentials","\u002Fessentials","2.essentials",[25,30,35,40,45,50,55],{"title":26,"path":27,"stem":28,"icon":29},"Configuration","\u002Fessentials\u002Fconfiguration","2.essentials\u002F1.configuration","i-lucide-settings",{"title":31,"path":32,"stem":33,"icon":34},"Authorization","\u002Fessentials\u002Fauthorization","2.essentials\u002F2.authorization","i-lucide-shield",{"title":36,"path":37,"stem":38,"icon":39},"Mentions","\u002Fessentials\u002Fmentions","2.essentials\u002F3.mentions","i-lucide-at-sign",{"title":41,"path":42,"stem":43,"icon":44},"Reactions","\u002Fessentials\u002Freactions","2.essentials\u002F4.reactions","i-lucide-smile",{"title":46,"path":47,"stem":48,"icon":49},"Attachments","\u002Fessentials\u002Fattachments","2.essentials\u002F5.attachments","i-lucide-paperclip",{"title":51,"path":52,"stem":53,"icon":54},"Notifications","\u002Fessentials\u002Fnotifications","2.essentials\u002F6.notifications","i-lucide-bell",{"title":56,"path":57,"stem":58,"icon":59},"Database Schema","\u002Fessentials\u002Fdatabase-schema","2.essentials\u002F7.database-schema","i-lucide-database",{"title":61,"path":62,"stem":63,"children":64,"page":6},"Community","\u002Fcommunity","4.community",[65,70],{"title":66,"path":67,"stem":68,"icon":69},"Contributing","\u002Fcommunity\u002Fcontributing","4.community\u002F1.contributing","i-lucide-heart-handshake",{"title":71,"path":72,"stem":73,"icon":74},"License","\u002Fcommunity\u002Flicense","4.community\u002F2.license","i-lucide-scale",{"id":76,"title":41,"body":77,"description":429,"extension":430,"links":431,"meta":432,"navigation":433,"path":42,"seo":434,"stem":43,"__hash__":436},"docs\u002F2.essentials\u002F4.reactions.md",{"type":78,"value":79,"toc":423},"minimark",[80,85,89,191,195,222,226,229,401,404,408,419],[81,82,84],"h2",{"id":83},"default-reactions","Default Reactions",[86,87,88],"p",{},"Six emoji reactions are available out of the box:",[90,91,92,108],"table",{},[93,94,95],"thead",{},[96,97,98,102,105],"tr",{},[99,100,101],"th",{},"Key",[99,103,104],{},"Emoji",[99,106,107],{},"Label",[109,110,111,126,139,152,165,178],"tbody",{},[96,112,113,120,123],{},[114,115,116],"td",{},[117,118,119],"code",{},"thumbs_up",[114,121,122],{},":thumbsup:",[114,124,125],{},"Like",[96,127,128,133,136],{},[114,129,130],{},[117,131,132],{},"heart",[114,134,135],{},"❤️",[114,137,138],{},"Love",[96,140,141,146,149],{},[114,142,143],{},[117,144,145],{},"celebrate",[114,147,148],{},"🎉",[114,150,151],{},"Celebrate",[96,153,154,159,162],{},[114,155,156],{},[117,157,158],{},"laugh",[114,160,161],{},"😄",[114,163,164],{},"Laugh",[96,166,167,172,175],{},[114,168,169],{},[117,170,171],{},"thinking",[114,173,174],{},"🤔",[114,176,177],{},"Thinking",[96,179,180,185,188],{},[114,181,182],{},[117,183,184],{},"sad",[114,186,187],{},"😢",[114,189,190],{},"Sad",[81,192,194],{"id":193},"how-reactions-work","How Reactions Work",[196,197,198,202,205,208],"ul",{},[199,200,201],"li",{},"Each user can add one reaction of each type per comment",[199,203,204],{},"Clicking the same reaction again removes it (toggle behavior)",[199,206,207],{},"The reaction summary shows which users reacted with each emoji",[199,209,210,211,214,215,218,219],{},"A ",[117,212,213],{},"CommentReacted"," event is dispatched with ",[117,216,217],{},"action: 'added'"," or ",[117,220,221],{},"'removed'",[81,223,225],{"id":224},"customizing-reactions","Customizing Reactions",[86,227,228],{},"Override the emoji set in your config:",[230,231,236],"pre",{"className":232,"code":233,"language":234,"meta":235,"style":235},"language-php shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","\u002F\u002F config\u002Fcomments.php\n'reactions' => [\n 'emoji_set' => [\n 'thumbs_up' => \"\\u{1F44D}\",\n 'thumbs_down' => \"\\u{1F44E}\",\n 'heart' => \"\\u{2764}\\u{FE0F}\",\n 'fire' => \"\\u{1F525}\",\n 'eyes' => \"\\u{1F440}\",\n ],\n],\n","php","",[117,237,238,247,266,281,306,327,347,368,389,395],{"__ignoreMap":235},[239,240,243],"span",{"class":241,"line":242},"line",1,[239,244,246],{"class":245},"sHwdD","\u002F\u002F config\u002Fcomments.php\n",[239,248,250,254,258,260,263],{"class":241,"line":249},2,[239,251,253],{"class":252},"sMK4o","'",[239,255,257],{"class":256},"sfazB","reactions",[239,259,253],{"class":252},[239,261,262],{"class":252}," =>",[239,264,265],{"class":252}," [\n",[239,267,269,272,275,277,279],{"class":241,"line":268},3,[239,270,271],{"class":252}," '",[239,273,274],{"class":256},"emoji_set",[239,276,253],{"class":252},[239,278,262],{"class":252},[239,280,265],{"class":252},[239,282,284,287,289,291,293,296,300,303],{"class":241,"line":283},4,[239,285,286],{"class":252}," '",[239,288,119],{"class":256},[239,290,253],{"class":252},[239,292,262],{"class":252},[239,294,295],{"class":252}," \"",[239,297,299],{"class":298},"sTEyZ","\\u{1F44D}",[239,301,302],{"class":252},"\"",[239,304,305],{"class":252},",\n",[239,307,309,311,314,316,318,320,323,325],{"class":241,"line":308},5,[239,310,286],{"class":252},[239,312,313],{"class":256},"thumbs_down",[239,315,253],{"class":252},[239,317,262],{"class":252},[239,319,295],{"class":252},[239,321,322],{"class":298},"\\u{1F44E}",[239,324,302],{"class":252},[239,326,305],{"class":252},[239,328,330,332,334,336,338,340,343,345],{"class":241,"line":329},6,[239,331,286],{"class":252},[239,333,132],{"class":256},[239,335,253],{"class":252},[239,337,262],{"class":252},[239,339,295],{"class":252},[239,341,342],{"class":298},"\\u{2764}\\u{FE0F}",[239,344,302],{"class":252},[239,346,305],{"class":252},[239,348,350,352,355,357,359,361,364,366],{"class":241,"line":349},7,[239,351,286],{"class":252},[239,353,354],{"class":256},"fire",[239,356,253],{"class":252},[239,358,262],{"class":252},[239,360,295],{"class":252},[239,362,363],{"class":298},"\\u{1F525}",[239,365,302],{"class":252},[239,367,305],{"class":252},[239,369,371,373,376,378,380,382,385,387],{"class":241,"line":370},8,[239,372,286],{"class":252},[239,374,375],{"class":256},"eyes",[239,377,253],{"class":252},[239,379,262],{"class":252},[239,381,295],{"class":252},[239,383,384],{"class":298},"\\u{1F440}",[239,386,302],{"class":252},[239,388,305],{"class":252},[239,390,392],{"class":241,"line":391},9,[239,393,394],{"class":252}," ],\n",[239,396,398],{"class":241,"line":397},10,[239,399,400],{"class":252},"],\n",[86,402,403],{},"Keys are stored in the database. If you change a key, existing reactions with the old key will no longer display.",[81,405,407],{"id":406},"storage","Storage",[86,409,410,411,414,415,418],{},"Reactions are stored in the ",[117,412,413],{},"comment_reactions"," table with a unique constraint on ",[117,416,417],{},"(comment_id, commenter_id, commenter_type, reaction)",", ensuring one reaction of each type per user per comment.",[420,421,422],"style",{},"html pre.shiki code .sHwdD, html code.shiki .sHwdD{--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#546E7A;--shiki-default-font-style:italic;--shiki-dark:#676E95;--shiki-dark-font-style:italic}html pre.shiki code .sMK4o, html code.shiki .sMK4o{--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF}html pre.shiki code .sfazB, html code.shiki .sfazB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}html pre.shiki code .sTEyZ, html code.shiki .sTEyZ{--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":235,"searchDepth":249,"depth":249,"links":424},[425,426,427,428],{"id":83,"depth":249,"text":84},{"id":193,"depth":249,"text":194},{"id":224,"depth":249,"text":225},{"id":406,"depth":249,"text":407},"Emoji reactions on comments.","md",null,{},{"icon":44},{"description":435,"title":41},"Configure emoji reactions for comments.","5mi_HoegWMsrrG2xuLdYPS1DXL37zif9KsBLjciCtN0",[438,440],{"title":36,"path":37,"stem":38,"description":439,"icon":39,"children":-1},"User @mentions with autocomplete and notification support.",{"title":46,"path":47,"stem":48,"description":441,"icon":49,"children":-1},"File uploads for comments.",1774613434788] \ No newline at end of file diff --git a/getting-started/installation.html b/getting-started/installation.html index 9758c05..b7bfe50 100644 --- a/getting-started/installation.html +++ b/getting-started/installation.html @@ -94,7 +94,7 @@ --ui-warning: var(--ui-color-warning-400); --ui-error: var(--ui-color-error-400); } -}Installation - Comments
Comments Logo
1.x
Getting Started

Installation

Get started with Comments in minutes.

Requirements

  • PHP: 8.2+
  • Laravel: 12+
  • Filament: 4.x / 5.x
  • Livewire: 3.5+ / 4.x

Quick Setup

Install Package

Terminal
composer require relaticle/comments
+}Installation - Comments
Comments Logo
1.x
Getting Started

Installation

Get started with Comments in minutes.

Requirements

  • PHP: 8.2+
  • Laravel: 12+
  • Filament: 4.x / 5.x
  • Livewire: 3.5+ / 4.x

Quick Setup

Install Package

Terminal
composer require relaticle/comments
 

Publish and Run Migrations

Terminal
php artisan vendor:publish --tag=comments-migrations
 php artisan migrate
 

Include CSS Assets

Prerequisite: You need a custom Filament theme to include the Comments styles.

If you haven't set up a custom theme for Filament, follow the Filament Docs first.

Add the plugin's views to your theme CSS file:

resources/css/filament/admin/theme.css
@source "../../../../vendor/relaticle/comments/resources/views/**/*.blade.php";
@@ -129,4 +129,4 @@
         CommentsAction::make(),
     ];
 }
-

Done! Visit your Filament panel to see comments in action.

Optional Configuration

CommandAction
php artisan vendor:publish --tag=comments-configPublish the configuration file
php artisan vendor:publish --tag=comments-viewsPublish the Blade views for customization
php artisan vendor:publish --tag=comments-translationsPublish the translation files
Copyright © 2026
\ No newline at end of file +

Done! Visit your Filament panel to see comments in action.

Optional Configuration

CommandAction
php artisan vendor:publish --tag=comments-configPublish the configuration file
php artisan vendor:publish --tag=comments-viewsPublish the Blade views for customization
php artisan vendor:publish --tag=comments-translationsPublish the translation files
Copyright © 2026
\ No newline at end of file diff --git a/getting-started/installation/_payload.json b/getting-started/installation/_payload.json index d0544cb..a2625bc 100644 --- a/getting-started/installation/_payload.json +++ b/getting-started/installation/_payload.json @@ -1 +1 @@ -[{"data":1,"prerenderedAt":731},["ShallowReactive",2],{"navigation_docs":3,"-getting-started-installation":75,"-getting-started-installation-surround":728},[4,20,60],{"title":5,"icon":6,"path":7,"stem":8,"children":9,"page":6},"Getting Started",false,"\u002Fgetting-started","1.getting-started",[10,15],{"title":11,"path":12,"stem":13,"icon":14},"Installation","\u002Fgetting-started\u002Finstallation","1.getting-started\u002F1.installation","i-lucide-download",{"title":16,"path":17,"stem":18,"icon":19},"Upgrading","\u002Fgetting-started\u002Fupgrading","1.getting-started\u002F2.upgrading","i-lucide-arrow-up-circle",{"title":21,"path":22,"stem":23,"children":24,"page":6},"Essentials","\u002Fessentials","2.essentials",[25,30,35,40,45,50,55],{"title":26,"path":27,"stem":28,"icon":29},"Configuration","\u002Fessentials\u002Fconfiguration","2.essentials\u002F1.configuration","i-lucide-settings",{"title":31,"path":32,"stem":33,"icon":34},"Authorization","\u002Fessentials\u002Fauthorization","2.essentials\u002F2.authorization","i-lucide-shield",{"title":36,"path":37,"stem":38,"icon":39},"Mentions","\u002Fessentials\u002Fmentions","2.essentials\u002F3.mentions","i-lucide-at-sign",{"title":41,"path":42,"stem":43,"icon":44},"Reactions","\u002Fessentials\u002Freactions","2.essentials\u002F4.reactions","i-lucide-smile",{"title":46,"path":47,"stem":48,"icon":49},"Attachments","\u002Fessentials\u002Fattachments","2.essentials\u002F5.attachments","i-lucide-paperclip",{"title":51,"path":52,"stem":53,"icon":54},"Notifications","\u002Fessentials\u002Fnotifications","2.essentials\u002F6.notifications","i-lucide-bell",{"title":56,"path":57,"stem":58,"icon":59},"Database Schema","\u002Fessentials\u002Fdatabase-schema","2.essentials\u002F7.database-schema","i-lucide-database",{"title":61,"path":62,"stem":63,"children":64,"page":6},"Community","\u002Fcommunity","4.community",[65,70],{"title":66,"path":67,"stem":68,"icon":69},"Contributing","\u002Fcommunity\u002Fcontributing","4.community\u002F1.contributing","i-lucide-heart-handshake",{"title":71,"path":72,"stem":73,"icon":74},"License","\u002Fcommunity\u002Flicense","4.community\u002F2.license","i-lucide-scale",{"id":76,"title":11,"body":77,"description":719,"extension":720,"links":721,"meta":722,"navigation":723,"path":12,"seo":724,"stem":13,"__hash__":727},"docs\u002F1.getting-started\u002F1.installation.md",{"type":78,"value":79,"toc":707},"minimark",[80,85,114,118,643,649,653,703],[81,82,84],"h2",{"id":83},"requirements","Requirements",[86,87,88,96,102,108],"ul",{},[89,90,91,95],"li",{},[92,93,94],"strong",{},"PHP:"," 8.2+",[89,97,98,101],{},[92,99,100],{},"Laravel:"," 12+",[89,103,104,107],{},[92,105,106],{},"Filament:"," 4.x \u002F 5.x",[89,109,110,113],{},[92,111,112],{},"Livewire:"," 3.5+ \u002F 4.x",[81,115,117],{"id":116},"quick-setup","Quick Setup",[119,120,121,126,153,157,186,190,194,207,210,232,236,359,363,370,461,467,552,556,559],"steps",{},[122,123,125],"h3",{"id":124},"install-package","Install Package",[127,128,134],"pre",{"className":129,"code":130,"filename":131,"language":132,"meta":133,"style":133},"language-bash shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","composer require relaticle\u002Fcomments\n","Terminal","bash","",[135,136,137],"code",{"__ignoreMap":133},[138,139,142,146,150],"span",{"class":140,"line":141},"line",1,[138,143,145],{"class":144},"sBMFI","composer",[138,147,149],{"class":148},"sfazB"," require",[138,151,152],{"class":148}," relaticle\u002Fcomments\n",[122,154,156],{"id":155},"publish-and-run-migrations","Publish and Run Migrations",[127,158,160],{"className":129,"code":159,"filename":131,"language":132,"meta":133,"style":133},"php artisan vendor:publish --tag=comments-migrations\nphp artisan migrate\n",[135,161,162,176],{"__ignoreMap":133},[138,163,164,167,170,173],{"class":140,"line":141},[138,165,166],{"class":144},"php",[138,168,169],{"class":148}," artisan",[138,171,172],{"class":148}," vendor:publish",[138,174,175],{"class":148}," --tag=comments-migrations\n",[138,177,179,181,183],{"class":140,"line":178},2,[138,180,166],{"class":144},[138,182,169],{"class":148},[138,184,185],{"class":148}," migrate\n",[122,187,189],{"id":188},"include-css-assets","Include CSS Assets",[191,192,193],"p",{},"Prerequisite: You need a custom Filament theme to include the Comments styles.",[195,196,198,199,206],"alert",{"type":197},"warning","If you haven't set up a custom theme for Filament, follow the ",[200,201,205],"a",{"href":202,"rel":203},"https:\u002F\u002Ffilamentphp.com\u002Fdocs\u002F5.x\u002Fstyling\u002Foverview#creating-a-custom-theme",[204],"nofollow","Filament Docs"," first.",[191,208,209],{},"Add the plugin's views to your theme CSS file:",[127,211,216],{"className":212,"code":213,"filename":214,"language":215,"meta":133,"style":133},"language-css shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","@source \"..\u002F..\u002F..\u002F..\u002Fvendor\u002Frelaticle\u002Fcomments\u002Fresources\u002Fviews\u002F**\u002F*.blade.php\";\n","resources\u002Fcss\u002Ffilament\u002Fadmin\u002Ftheme.css","css",[135,217,218],{"__ignoreMap":133},[138,219,220,224,228],{"class":140,"line":141},[138,221,223],{"class":222},"s7zQu","@source",[138,225,227],{"class":226},"sTEyZ"," \"..\u002F..\u002F..\u002F..\u002Fvendor\u002Frelaticle\u002Fcomments\u002Fresources\u002Fviews\u002F**\u002F*.blade.php\"",[138,229,231],{"class":230},"sMK4o",";\n",[122,233,235],{"id":234},"register-the-plugin","Register the Plugin",[127,237,241],{"className":238,"code":239,"filename":240,"language":166,"meta":133,"style":133},"language-php shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","use Relaticle\\Comments\\CommentsPlugin;\n\npublic function panel(Panel $panel): Panel\n{\n return $panel\n ->plugins([\n CommentsPlugin::make(),\n ]);\n}\n","AdminPanelProvider.php",[135,242,243,265,271,303,309,320,332,347,353],{"__ignoreMap":133},[138,244,245,249,252,255,258,260,263],{"class":140,"line":141},[138,246,248],{"class":247},"sbssI","use",[138,250,251],{"class":226}," Relaticle",[138,253,254],{"class":230},"\\",[138,256,257],{"class":226},"Comments",[138,259,254],{"class":230},[138,261,262],{"class":226},"CommentsPlugin",[138,264,231],{"class":230},[138,266,267],{"class":140,"line":178},[138,268,270],{"emptyLinePlaceholder":269},true,"\n",[138,272,274,278,281,285,288,291,294,297,300],{"class":140,"line":273},3,[138,275,277],{"class":276},"spNyl","public",[138,279,280],{"class":276}," function",[138,282,284],{"class":283},"s2Zo4"," panel",[138,286,287],{"class":230},"(",[138,289,290],{"class":144},"Panel",[138,292,293],{"class":230}," $",[138,295,296],{"class":226},"panel",[138,298,299],{"class":230},"):",[138,301,302],{"class":144}," Panel\n",[138,304,306],{"class":140,"line":305},4,[138,307,308],{"class":230},"{\n",[138,310,312,315,317],{"class":140,"line":311},5,[138,313,314],{"class":222}," return",[138,316,293],{"class":230},[138,318,319],{"class":226},"panel\n",[138,321,323,326,329],{"class":140,"line":322},6,[138,324,325],{"class":230}," ->",[138,327,328],{"class":283},"plugins",[138,330,331],{"class":230},"([\n",[138,333,335,338,341,344],{"class":140,"line":334},7,[138,336,337],{"class":144}," CommentsPlugin",[138,339,340],{"class":230},"::",[138,342,343],{"class":283},"make",[138,345,346],{"class":230},"(),\n",[138,348,350],{"class":140,"line":349},8,[138,351,352],{"class":230}," ]);\n",[138,354,356],{"class":140,"line":355},9,[138,357,358],{"class":230},"}\n",[122,360,362],{"id":361},"set-up-your-models","Set Up Your Models",[191,364,365,366,369],{},"Add the ",[135,367,368],{},"HasComments"," trait to any model you want to comment on:",[127,371,374],{"className":238,"code":372,"filename":373,"language":166,"meta":133,"style":133},"use Relaticle\\Comments\\Concerns\\HasComments;\nuse Relaticle\\Comments\\Contracts\\Commentable;\n\nclass Project extends Model implements Commentable\n{\n use HasComments;\n}\n","app\u002FModels\u002FProject.php",[135,375,376,397,419,423,443,447,457],{"__ignoreMap":133},[138,377,378,380,382,384,386,388,391,393,395],{"class":140,"line":141},[138,379,248],{"class":247},[138,381,251],{"class":226},[138,383,254],{"class":230},[138,385,257],{"class":226},[138,387,254],{"class":230},[138,389,390],{"class":226},"Concerns",[138,392,254],{"class":230},[138,394,368],{"class":226},[138,396,231],{"class":230},[138,398,399,401,403,405,407,409,412,414,417],{"class":140,"line":178},[138,400,248],{"class":247},[138,402,251],{"class":226},[138,404,254],{"class":230},[138,406,257],{"class":226},[138,408,254],{"class":230},[138,410,411],{"class":226},"Contracts",[138,413,254],{"class":230},[138,415,416],{"class":226},"Commentable",[138,418,231],{"class":230},[138,420,421],{"class":140,"line":273},[138,422,270],{"emptyLinePlaceholder":269},[138,424,425,428,431,434,437,440],{"class":140,"line":305},[138,426,427],{"class":276},"class",[138,429,430],{"class":144}," Project",[138,432,433],{"class":276}," extends",[138,435,436],{"class":144}," Model",[138,438,439],{"class":276}," implements",[138,441,442],{"class":144}," Commentable\n",[138,444,445],{"class":140,"line":311},[138,446,308],{"class":230},[138,448,449,452,455],{"class":140,"line":322},[138,450,451],{"class":247}," use",[138,453,454],{"class":226}," HasComments",[138,456,231],{"class":230},[138,458,459],{"class":140,"line":334},[138,460,358],{"class":230},[191,462,365,463,466],{},[135,464,465],{},"CanComment"," trait to your User model:",[127,468,471],{"className":238,"code":469,"filename":470,"language":166,"meta":133,"style":133},"use Relaticle\\Comments\\Concerns\\CanComment;\nuse Relaticle\\Comments\\Contracts\\Commentator;\n\nclass User extends Authenticatable implements Commentator\n{\n use CanComment;\n}\n","app\u002FModels\u002FUser.php",[135,472,473,493,514,518,535,539,548],{"__ignoreMap":133},[138,474,475,477,479,481,483,485,487,489,491],{"class":140,"line":141},[138,476,248],{"class":247},[138,478,251],{"class":226},[138,480,254],{"class":230},[138,482,257],{"class":226},[138,484,254],{"class":230},[138,486,390],{"class":226},[138,488,254],{"class":230},[138,490,465],{"class":226},[138,492,231],{"class":230},[138,494,495,497,499,501,503,505,507,509,512],{"class":140,"line":178},[138,496,248],{"class":247},[138,498,251],{"class":226},[138,500,254],{"class":230},[138,502,257],{"class":226},[138,504,254],{"class":230},[138,506,411],{"class":226},[138,508,254],{"class":230},[138,510,511],{"class":226},"Commentator",[138,513,231],{"class":230},[138,515,516],{"class":140,"line":273},[138,517,270],{"emptyLinePlaceholder":269},[138,519,520,522,525,527,530,532],{"class":140,"line":305},[138,521,427],{"class":276},[138,523,524],{"class":144}," User",[138,526,433],{"class":276},[138,528,529],{"class":144}," Authenticatable",[138,531,439],{"class":276},[138,533,534],{"class":144}," Commentator\n",[138,536,537],{"class":140,"line":311},[138,538,308],{"class":230},[138,540,541,543,546],{"class":140,"line":322},[138,542,451],{"class":247},[138,544,545],{"class":226}," CanComment",[138,547,231],{"class":230},[138,549,550],{"class":140,"line":334},[138,551,358],{"class":230},[122,553,555],{"id":554},"add-to-your-resources","Add to Your Resources",[191,557,558],{},"Use the slide-over action on view or edit pages:",[127,560,563],{"className":238,"code":561,"filename":562,"language":166,"meta":133,"style":133},"use Relaticle\\Comments\\Filament\\Actions\\CommentsAction;\n\nprotected function getHeaderActions(): array\n{\n return [\n CommentsAction::make(),\n ];\n}\n","app\u002FFilament\u002FResources\u002FProjectResource\u002FPages\u002FViewProject.php",[135,564,565,592,596,612,616,623,634,639],{"__ignoreMap":133},[138,566,567,569,571,573,575,577,580,582,585,587,590],{"class":140,"line":141},[138,568,248],{"class":247},[138,570,251],{"class":226},[138,572,254],{"class":230},[138,574,257],{"class":226},[138,576,254],{"class":230},[138,578,579],{"class":226},"Filament",[138,581,254],{"class":230},[138,583,584],{"class":226},"Actions",[138,586,254],{"class":230},[138,588,589],{"class":226},"CommentsAction",[138,591,231],{"class":230},[138,593,594],{"class":140,"line":178},[138,595,270],{"emptyLinePlaceholder":269},[138,597,598,601,603,606,609],{"class":140,"line":273},[138,599,600],{"class":276},"protected",[138,602,280],{"class":276},[138,604,605],{"class":283}," getHeaderActions",[138,607,608],{"class":230},"():",[138,610,611],{"class":247}," array\n",[138,613,614],{"class":140,"line":305},[138,615,308],{"class":230},[138,617,618,620],{"class":140,"line":311},[138,619,314],{"class":222},[138,621,622],{"class":230}," [\n",[138,624,625,628,630,632],{"class":140,"line":322},[138,626,627],{"class":144}," CommentsAction",[138,629,340],{"class":230},[138,631,343],{"class":283},[138,633,346],{"class":230},[138,635,636],{"class":140,"line":334},[138,637,638],{"class":230}," ];\n",[138,640,641],{"class":140,"line":349},[138,642,358],{"class":230},[191,644,645,648],{},[92,646,647],{},"Done!"," Visit your Filament panel to see comments in action.",[81,650,652],{"id":651},"optional-configuration","Optional Configuration",[654,655,656,669],"table",{},[657,658,659],"thead",{},[660,661,662,666],"tr",{},[663,664,665],"th",{},"Command",[663,667,668],{},"Action",[670,671,672,683,693],"tbody",{},[660,673,674,680],{},[675,676,677],"td",{},[135,678,679],{},"php artisan vendor:publish --tag=comments-config",[675,681,682],{},"Publish the configuration file",[660,684,685,690],{},[675,686,687],{},[135,688,689],{},"php artisan vendor:publish --tag=comments-views",[675,691,692],{},"Publish the Blade views for customization",[660,694,695,700],{},[675,696,697],{},[135,698,699],{},"php artisan vendor:publish --tag=comments-translations",[675,701,702],{},"Publish the translation files",[704,705,706],"style",{},"html pre.shiki code .sBMFI, html code.shiki .sBMFI{--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B}html pre.shiki code .sfazB, html code.shiki .sfazB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html pre.shiki code .s7zQu, html code.shiki .s7zQu{--shiki-light:#39ADB5;--shiki-light-font-style:italic;--shiki-default:#89DDFF;--shiki-default-font-style:italic;--shiki-dark:#89DDFF;--shiki-dark-font-style:italic}html pre.shiki code .sTEyZ, html code.shiki .sTEyZ{--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8}html pre.shiki code .sMK4o, html code.shiki .sMK4o{--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF}html pre.shiki code .sbssI, html code.shiki .sbssI{--shiki-light:#F76D47;--shiki-default:#F78C6C;--shiki-dark:#F78C6C}html pre.shiki code .spNyl, html code.shiki .spNyl{--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA}html pre.shiki code .s2Zo4, html code.shiki .s2Zo4{--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF}",{"title":133,"searchDepth":178,"depth":178,"links":708},[709,710,718],{"id":83,"depth":178,"text":84},{"id":116,"depth":178,"text":117,"children":711},[712,713,714,715,716,717],{"id":124,"depth":273,"text":125},{"id":155,"depth":273,"text":156},{"id":188,"depth":273,"text":189},{"id":234,"depth":273,"text":235},{"id":361,"depth":273,"text":362},{"id":554,"depth":273,"text":555},{"id":651,"depth":178,"text":652},"Get started with Comments in minutes.","md",null,{},{"icon":14},{"description":725,"ogImage":726,"title":11},"Install Comments and add commenting to your Filament resources.","\u002Fpreview.png","hts0PR3sg3h83C0GgqSeAnWX6Cg_8vAocaUiDee7xtg",[721,729],{"title":16,"path":17,"stem":18,"description":730,"icon":19,"children":-1},"Upgrade guide for Comments.",1774613361120] \ No newline at end of file +[{"data":1,"prerenderedAt":731},["ShallowReactive",2],{"navigation_docs":3,"-getting-started-installation":75,"-getting-started-installation-surround":728},[4,20,60],{"title":5,"icon":6,"path":7,"stem":8,"children":9,"page":6},"Getting Started",false,"\u002Fgetting-started","1.getting-started",[10,15],{"title":11,"path":12,"stem":13,"icon":14},"Installation","\u002Fgetting-started\u002Finstallation","1.getting-started\u002F1.installation","i-lucide-download",{"title":16,"path":17,"stem":18,"icon":19},"Upgrading","\u002Fgetting-started\u002Fupgrading","1.getting-started\u002F2.upgrading","i-lucide-arrow-up-circle",{"title":21,"path":22,"stem":23,"children":24,"page":6},"Essentials","\u002Fessentials","2.essentials",[25,30,35,40,45,50,55],{"title":26,"path":27,"stem":28,"icon":29},"Configuration","\u002Fessentials\u002Fconfiguration","2.essentials\u002F1.configuration","i-lucide-settings",{"title":31,"path":32,"stem":33,"icon":34},"Authorization","\u002Fessentials\u002Fauthorization","2.essentials\u002F2.authorization","i-lucide-shield",{"title":36,"path":37,"stem":38,"icon":39},"Mentions","\u002Fessentials\u002Fmentions","2.essentials\u002F3.mentions","i-lucide-at-sign",{"title":41,"path":42,"stem":43,"icon":44},"Reactions","\u002Fessentials\u002Freactions","2.essentials\u002F4.reactions","i-lucide-smile",{"title":46,"path":47,"stem":48,"icon":49},"Attachments","\u002Fessentials\u002Fattachments","2.essentials\u002F5.attachments","i-lucide-paperclip",{"title":51,"path":52,"stem":53,"icon":54},"Notifications","\u002Fessentials\u002Fnotifications","2.essentials\u002F6.notifications","i-lucide-bell",{"title":56,"path":57,"stem":58,"icon":59},"Database Schema","\u002Fessentials\u002Fdatabase-schema","2.essentials\u002F7.database-schema","i-lucide-database",{"title":61,"path":62,"stem":63,"children":64,"page":6},"Community","\u002Fcommunity","4.community",[65,70],{"title":66,"path":67,"stem":68,"icon":69},"Contributing","\u002Fcommunity\u002Fcontributing","4.community\u002F1.contributing","i-lucide-heart-handshake",{"title":71,"path":72,"stem":73,"icon":74},"License","\u002Fcommunity\u002Flicense","4.community\u002F2.license","i-lucide-scale",{"id":76,"title":11,"body":77,"description":719,"extension":720,"links":721,"meta":722,"navigation":723,"path":12,"seo":724,"stem":13,"__hash__":727},"docs\u002F1.getting-started\u002F1.installation.md",{"type":78,"value":79,"toc":707},"minimark",[80,85,114,118,643,649,653,703],[81,82,84],"h2",{"id":83},"requirements","Requirements",[86,87,88,96,102,108],"ul",{},[89,90,91,95],"li",{},[92,93,94],"strong",{},"PHP:"," 8.2+",[89,97,98,101],{},[92,99,100],{},"Laravel:"," 12+",[89,103,104,107],{},[92,105,106],{},"Filament:"," 4.x \u002F 5.x",[89,109,110,113],{},[92,111,112],{},"Livewire:"," 3.5+ \u002F 4.x",[81,115,117],{"id":116},"quick-setup","Quick Setup",[119,120,121,126,153,157,186,190,194,207,210,232,236,359,363,370,461,467,552,556,559],"steps",{},[122,123,125],"h3",{"id":124},"install-package","Install Package",[127,128,134],"pre",{"className":129,"code":130,"filename":131,"language":132,"meta":133,"style":133},"language-bash shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","composer require relaticle\u002Fcomments\n","Terminal","bash","",[135,136,137],"code",{"__ignoreMap":133},[138,139,142,146,150],"span",{"class":140,"line":141},"line",1,[138,143,145],{"class":144},"sBMFI","composer",[138,147,149],{"class":148},"sfazB"," require",[138,151,152],{"class":148}," relaticle\u002Fcomments\n",[122,154,156],{"id":155},"publish-and-run-migrations","Publish and Run Migrations",[127,158,160],{"className":129,"code":159,"filename":131,"language":132,"meta":133,"style":133},"php artisan vendor:publish --tag=comments-migrations\nphp artisan migrate\n",[135,161,162,176],{"__ignoreMap":133},[138,163,164,167,170,173],{"class":140,"line":141},[138,165,166],{"class":144},"php",[138,168,169],{"class":148}," artisan",[138,171,172],{"class":148}," vendor:publish",[138,174,175],{"class":148}," --tag=comments-migrations\n",[138,177,179,181,183],{"class":140,"line":178},2,[138,180,166],{"class":144},[138,182,169],{"class":148},[138,184,185],{"class":148}," migrate\n",[122,187,189],{"id":188},"include-css-assets","Include CSS Assets",[191,192,193],"p",{},"Prerequisite: You need a custom Filament theme to include the Comments styles.",[195,196,198,199,206],"alert",{"type":197},"warning","If you haven't set up a custom theme for Filament, follow the ",[200,201,205],"a",{"href":202,"rel":203},"https:\u002F\u002Ffilamentphp.com\u002Fdocs\u002F5.x\u002Fstyling\u002Foverview#creating-a-custom-theme",[204],"nofollow","Filament Docs"," first.",[191,208,209],{},"Add the plugin's views to your theme CSS file:",[127,211,216],{"className":212,"code":213,"filename":214,"language":215,"meta":133,"style":133},"language-css shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","@source \"..\u002F..\u002F..\u002F..\u002Fvendor\u002Frelaticle\u002Fcomments\u002Fresources\u002Fviews\u002F**\u002F*.blade.php\";\n","resources\u002Fcss\u002Ffilament\u002Fadmin\u002Ftheme.css","css",[135,217,218],{"__ignoreMap":133},[138,219,220,224,228],{"class":140,"line":141},[138,221,223],{"class":222},"s7zQu","@source",[138,225,227],{"class":226},"sTEyZ"," \"..\u002F..\u002F..\u002F..\u002Fvendor\u002Frelaticle\u002Fcomments\u002Fresources\u002Fviews\u002F**\u002F*.blade.php\"",[138,229,231],{"class":230},"sMK4o",";\n",[122,233,235],{"id":234},"register-the-plugin","Register the Plugin",[127,237,241],{"className":238,"code":239,"filename":240,"language":166,"meta":133,"style":133},"language-php shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","use Relaticle\\Comments\\CommentsPlugin;\n\npublic function panel(Panel $panel): Panel\n{\n return $panel\n ->plugins([\n CommentsPlugin::make(),\n ]);\n}\n","AdminPanelProvider.php",[135,242,243,265,271,303,309,320,332,347,353],{"__ignoreMap":133},[138,244,245,249,252,255,258,260,263],{"class":140,"line":141},[138,246,248],{"class":247},"sbssI","use",[138,250,251],{"class":226}," Relaticle",[138,253,254],{"class":230},"\\",[138,256,257],{"class":226},"Comments",[138,259,254],{"class":230},[138,261,262],{"class":226},"CommentsPlugin",[138,264,231],{"class":230},[138,266,267],{"class":140,"line":178},[138,268,270],{"emptyLinePlaceholder":269},true,"\n",[138,272,274,278,281,285,288,291,294,297,300],{"class":140,"line":273},3,[138,275,277],{"class":276},"spNyl","public",[138,279,280],{"class":276}," function",[138,282,284],{"class":283},"s2Zo4"," panel",[138,286,287],{"class":230},"(",[138,289,290],{"class":144},"Panel",[138,292,293],{"class":230}," $",[138,295,296],{"class":226},"panel",[138,298,299],{"class":230},"):",[138,301,302],{"class":144}," Panel\n",[138,304,306],{"class":140,"line":305},4,[138,307,308],{"class":230},"{\n",[138,310,312,315,317],{"class":140,"line":311},5,[138,313,314],{"class":222}," return",[138,316,293],{"class":230},[138,318,319],{"class":226},"panel\n",[138,321,323,326,329],{"class":140,"line":322},6,[138,324,325],{"class":230}," ->",[138,327,328],{"class":283},"plugins",[138,330,331],{"class":230},"([\n",[138,333,335,338,341,344],{"class":140,"line":334},7,[138,336,337],{"class":144}," CommentsPlugin",[138,339,340],{"class":230},"::",[138,342,343],{"class":283},"make",[138,345,346],{"class":230},"(),\n",[138,348,350],{"class":140,"line":349},8,[138,351,352],{"class":230}," ]);\n",[138,354,356],{"class":140,"line":355},9,[138,357,358],{"class":230},"}\n",[122,360,362],{"id":361},"set-up-your-models","Set Up Your Models",[191,364,365,366,369],{},"Add the ",[135,367,368],{},"HasComments"," trait to any model you want to comment on:",[127,371,374],{"className":238,"code":372,"filename":373,"language":166,"meta":133,"style":133},"use Relaticle\\Comments\\Concerns\\HasComments;\nuse Relaticle\\Comments\\Contracts\\Commentable;\n\nclass Project extends Model implements Commentable\n{\n use HasComments;\n}\n","app\u002FModels\u002FProject.php",[135,375,376,397,419,423,443,447,457],{"__ignoreMap":133},[138,377,378,380,382,384,386,388,391,393,395],{"class":140,"line":141},[138,379,248],{"class":247},[138,381,251],{"class":226},[138,383,254],{"class":230},[138,385,257],{"class":226},[138,387,254],{"class":230},[138,389,390],{"class":226},"Concerns",[138,392,254],{"class":230},[138,394,368],{"class":226},[138,396,231],{"class":230},[138,398,399,401,403,405,407,409,412,414,417],{"class":140,"line":178},[138,400,248],{"class":247},[138,402,251],{"class":226},[138,404,254],{"class":230},[138,406,257],{"class":226},[138,408,254],{"class":230},[138,410,411],{"class":226},"Contracts",[138,413,254],{"class":230},[138,415,416],{"class":226},"Commentable",[138,418,231],{"class":230},[138,420,421],{"class":140,"line":273},[138,422,270],{"emptyLinePlaceholder":269},[138,424,425,428,431,434,437,440],{"class":140,"line":305},[138,426,427],{"class":276},"class",[138,429,430],{"class":144}," Project",[138,432,433],{"class":276}," extends",[138,435,436],{"class":144}," Model",[138,438,439],{"class":276}," implements",[138,441,442],{"class":144}," Commentable\n",[138,444,445],{"class":140,"line":311},[138,446,308],{"class":230},[138,448,449,452,455],{"class":140,"line":322},[138,450,451],{"class":247}," use",[138,453,454],{"class":226}," HasComments",[138,456,231],{"class":230},[138,458,459],{"class":140,"line":334},[138,460,358],{"class":230},[191,462,365,463,466],{},[135,464,465],{},"CanComment"," trait to your User model:",[127,468,471],{"className":238,"code":469,"filename":470,"language":166,"meta":133,"style":133},"use Relaticle\\Comments\\Concerns\\CanComment;\nuse Relaticle\\Comments\\Contracts\\Commentator;\n\nclass User extends Authenticatable implements Commentator\n{\n use CanComment;\n}\n","app\u002FModels\u002FUser.php",[135,472,473,493,514,518,535,539,548],{"__ignoreMap":133},[138,474,475,477,479,481,483,485,487,489,491],{"class":140,"line":141},[138,476,248],{"class":247},[138,478,251],{"class":226},[138,480,254],{"class":230},[138,482,257],{"class":226},[138,484,254],{"class":230},[138,486,390],{"class":226},[138,488,254],{"class":230},[138,490,465],{"class":226},[138,492,231],{"class":230},[138,494,495,497,499,501,503,505,507,509,512],{"class":140,"line":178},[138,496,248],{"class":247},[138,498,251],{"class":226},[138,500,254],{"class":230},[138,502,257],{"class":226},[138,504,254],{"class":230},[138,506,411],{"class":226},[138,508,254],{"class":230},[138,510,511],{"class":226},"Commentator",[138,513,231],{"class":230},[138,515,516],{"class":140,"line":273},[138,517,270],{"emptyLinePlaceholder":269},[138,519,520,522,525,527,530,532],{"class":140,"line":305},[138,521,427],{"class":276},[138,523,524],{"class":144}," User",[138,526,433],{"class":276},[138,528,529],{"class":144}," Authenticatable",[138,531,439],{"class":276},[138,533,534],{"class":144}," Commentator\n",[138,536,537],{"class":140,"line":311},[138,538,308],{"class":230},[138,540,541,543,546],{"class":140,"line":322},[138,542,451],{"class":247},[138,544,545],{"class":226}," CanComment",[138,547,231],{"class":230},[138,549,550],{"class":140,"line":334},[138,551,358],{"class":230},[122,553,555],{"id":554},"add-to-your-resources","Add to Your Resources",[191,557,558],{},"Use the slide-over action on view or edit pages:",[127,560,563],{"className":238,"code":561,"filename":562,"language":166,"meta":133,"style":133},"use Relaticle\\Comments\\Filament\\Actions\\CommentsAction;\n\nprotected function getHeaderActions(): array\n{\n return [\n CommentsAction::make(),\n ];\n}\n","app\u002FFilament\u002FResources\u002FProjectResource\u002FPages\u002FViewProject.php",[135,564,565,592,596,612,616,623,634,639],{"__ignoreMap":133},[138,566,567,569,571,573,575,577,580,582,585,587,590],{"class":140,"line":141},[138,568,248],{"class":247},[138,570,251],{"class":226},[138,572,254],{"class":230},[138,574,257],{"class":226},[138,576,254],{"class":230},[138,578,579],{"class":226},"Filament",[138,581,254],{"class":230},[138,583,584],{"class":226},"Actions",[138,586,254],{"class":230},[138,588,589],{"class":226},"CommentsAction",[138,591,231],{"class":230},[138,593,594],{"class":140,"line":178},[138,595,270],{"emptyLinePlaceholder":269},[138,597,598,601,603,606,609],{"class":140,"line":273},[138,599,600],{"class":276},"protected",[138,602,280],{"class":276},[138,604,605],{"class":283}," getHeaderActions",[138,607,608],{"class":230},"():",[138,610,611],{"class":247}," array\n",[138,613,614],{"class":140,"line":305},[138,615,308],{"class":230},[138,617,618,620],{"class":140,"line":311},[138,619,314],{"class":222},[138,621,622],{"class":230}," [\n",[138,624,625,628,630,632],{"class":140,"line":322},[138,626,627],{"class":144}," CommentsAction",[138,629,340],{"class":230},[138,631,343],{"class":283},[138,633,346],{"class":230},[138,635,636],{"class":140,"line":334},[138,637,638],{"class":230}," ];\n",[138,640,641],{"class":140,"line":349},[138,642,358],{"class":230},[191,644,645,648],{},[92,646,647],{},"Done!"," Visit your Filament panel to see comments in action.",[81,650,652],{"id":651},"optional-configuration","Optional Configuration",[654,655,656,669],"table",{},[657,658,659],"thead",{},[660,661,662,666],"tr",{},[663,664,665],"th",{},"Command",[663,667,668],{},"Action",[670,671,672,683,693],"tbody",{},[660,673,674,680],{},[675,676,677],"td",{},[135,678,679],{},"php artisan vendor:publish --tag=comments-config",[675,681,682],{},"Publish the configuration file",[660,684,685,690],{},[675,686,687],{},[135,688,689],{},"php artisan vendor:publish --tag=comments-views",[675,691,692],{},"Publish the Blade views for customization",[660,694,695,700],{},[675,696,697],{},[135,698,699],{},"php artisan vendor:publish --tag=comments-translations",[675,701,702],{},"Publish the translation files",[704,705,706],"style",{},"html pre.shiki code .sBMFI, html code.shiki .sBMFI{--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B}html pre.shiki code .sfazB, html code.shiki .sfazB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html pre.shiki code .s7zQu, html code.shiki .s7zQu{--shiki-light:#39ADB5;--shiki-light-font-style:italic;--shiki-default:#89DDFF;--shiki-default-font-style:italic;--shiki-dark:#89DDFF;--shiki-dark-font-style:italic}html pre.shiki code .sTEyZ, html code.shiki .sTEyZ{--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8}html pre.shiki code .sMK4o, html code.shiki .sMK4o{--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF}html pre.shiki code .sbssI, html code.shiki .sbssI{--shiki-light:#F76D47;--shiki-default:#F78C6C;--shiki-dark:#F78C6C}html pre.shiki code .spNyl, html code.shiki .spNyl{--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA}html pre.shiki code .s2Zo4, html code.shiki .s2Zo4{--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF}",{"title":133,"searchDepth":178,"depth":178,"links":708},[709,710,718],{"id":83,"depth":178,"text":84},{"id":116,"depth":178,"text":117,"children":711},[712,713,714,715,716,717],{"id":124,"depth":273,"text":125},{"id":155,"depth":273,"text":156},{"id":188,"depth":273,"text":189},{"id":234,"depth":273,"text":235},{"id":361,"depth":273,"text":362},{"id":554,"depth":273,"text":555},{"id":651,"depth":178,"text":652},"Get started with Comments in minutes.","md",null,{},{"icon":14},{"description":725,"ogImage":726,"title":11},"Install Comments and add commenting to your Filament resources.","\u002Fpreview.png","hts0PR3sg3h83C0GgqSeAnWX6Cg_8vAocaUiDee7xtg",[721,729],{"title":16,"path":17,"stem":18,"description":730,"icon":19,"children":-1},"Upgrade guide for Comments.",1774613434255] \ No newline at end of file diff --git a/getting-started/upgrading.html b/getting-started/upgrading.html index 658a710..02c557f 100644 --- a/getting-started/upgrading.html +++ b/getting-started/upgrading.html @@ -94,4 +94,4 @@ --ui-warning: var(--ui-color-warning-400); --ui-error: var(--ui-color-error-400); } -}Upgrading - Comments
Comments Logo
1.x
Getting Started

Upgrading

Upgrade guide for Comments.

1.x

This is the initial release of Comments. Future upgrade guides will be documented here as new versions are released.

Copyright © 2026
\ No newline at end of file +}Upgrading - Comments
Comments Logo
1.x
Getting Started

Upgrading

Upgrade guide for Comments.

1.x

This is the initial release of Comments. Future upgrade guides will be documented here as new versions are released.

Copyright © 2026
\ No newline at end of file diff --git a/getting-started/upgrading/_payload.json b/getting-started/upgrading/_payload.json index ac4bd48..24ecec4 100644 --- a/getting-started/upgrading/_payload.json +++ b/getting-started/upgrading/_payload.json @@ -1 +1 @@ -[{"data":1,"prerenderedAt":107},["ShallowReactive",2],{"navigation_docs":3,"-getting-started-upgrading":75,"-getting-started-upgrading-surround":102},[4,20,60],{"title":5,"icon":6,"path":7,"stem":8,"children":9,"page":6},"Getting Started",false,"\u002Fgetting-started","1.getting-started",[10,15],{"title":11,"path":12,"stem":13,"icon":14},"Installation","\u002Fgetting-started\u002Finstallation","1.getting-started\u002F1.installation","i-lucide-download",{"title":16,"path":17,"stem":18,"icon":19},"Upgrading","\u002Fgetting-started\u002Fupgrading","1.getting-started\u002F2.upgrading","i-lucide-arrow-up-circle",{"title":21,"path":22,"stem":23,"children":24,"page":6},"Essentials","\u002Fessentials","2.essentials",[25,30,35,40,45,50,55],{"title":26,"path":27,"stem":28,"icon":29},"Configuration","\u002Fessentials\u002Fconfiguration","2.essentials\u002F1.configuration","i-lucide-settings",{"title":31,"path":32,"stem":33,"icon":34},"Authorization","\u002Fessentials\u002Fauthorization","2.essentials\u002F2.authorization","i-lucide-shield",{"title":36,"path":37,"stem":38,"icon":39},"Mentions","\u002Fessentials\u002Fmentions","2.essentials\u002F3.mentions","i-lucide-at-sign",{"title":41,"path":42,"stem":43,"icon":44},"Reactions","\u002Fessentials\u002Freactions","2.essentials\u002F4.reactions","i-lucide-smile",{"title":46,"path":47,"stem":48,"icon":49},"Attachments","\u002Fessentials\u002Fattachments","2.essentials\u002F5.attachments","i-lucide-paperclip",{"title":51,"path":52,"stem":53,"icon":54},"Notifications","\u002Fessentials\u002Fnotifications","2.essentials\u002F6.notifications","i-lucide-bell",{"title":56,"path":57,"stem":58,"icon":59},"Database Schema","\u002Fessentials\u002Fdatabase-schema","2.essentials\u002F7.database-schema","i-lucide-database",{"title":61,"path":62,"stem":63,"children":64,"page":6},"Community","\u002Fcommunity","4.community",[65,70],{"title":66,"path":67,"stem":68,"icon":69},"Contributing","\u002Fcommunity\u002Fcontributing","4.community\u002F1.contributing","i-lucide-heart-handshake",{"title":71,"path":72,"stem":73,"icon":74},"License","\u002Fcommunity\u002Flicense","4.community\u002F2.license","i-lucide-scale",{"id":76,"title":16,"body":77,"description":94,"extension":95,"links":96,"meta":97,"navigation":98,"path":17,"seo":99,"stem":18,"__hash__":101},"docs\u002F1.getting-started\u002F2.upgrading.md",{"type":78,"value":79,"toc":89},"minimark",[80,85],[81,82,84],"h2",{"id":83},"_1x","1.x",[86,87,88],"p",{},"This is the initial release of Comments. Future upgrade guides will be documented here as new versions are released.",{"title":90,"searchDepth":91,"depth":91,"links":92},"",2,[93],{"id":83,"depth":91,"text":84},"Upgrade guide for Comments.","md",null,{},{"icon":19},{"description":100,"title":16},"How to upgrade Comments between versions.","UMXomxygT7uwPpICEeZF6IUKBCOjp61y_fOB1k919zU",[103,105],{"title":11,"path":12,"stem":13,"description":104,"icon":14,"children":-1},"Get started with Comments in minutes.",{"title":26,"path":27,"stem":28,"description":106,"icon":29,"children":-1},"Configure threading, reactions, mentions, attachments, notifications, and more.",1774613361671] \ No newline at end of file +[{"data":1,"prerenderedAt":107},["ShallowReactive",2],{"navigation_docs":3,"-getting-started-upgrading":75,"-getting-started-upgrading-surround":102},[4,20,60],{"title":5,"icon":6,"path":7,"stem":8,"children":9,"page":6},"Getting Started",false,"\u002Fgetting-started","1.getting-started",[10,15],{"title":11,"path":12,"stem":13,"icon":14},"Installation","\u002Fgetting-started\u002Finstallation","1.getting-started\u002F1.installation","i-lucide-download",{"title":16,"path":17,"stem":18,"icon":19},"Upgrading","\u002Fgetting-started\u002Fupgrading","1.getting-started\u002F2.upgrading","i-lucide-arrow-up-circle",{"title":21,"path":22,"stem":23,"children":24,"page":6},"Essentials","\u002Fessentials","2.essentials",[25,30,35,40,45,50,55],{"title":26,"path":27,"stem":28,"icon":29},"Configuration","\u002Fessentials\u002Fconfiguration","2.essentials\u002F1.configuration","i-lucide-settings",{"title":31,"path":32,"stem":33,"icon":34},"Authorization","\u002Fessentials\u002Fauthorization","2.essentials\u002F2.authorization","i-lucide-shield",{"title":36,"path":37,"stem":38,"icon":39},"Mentions","\u002Fessentials\u002Fmentions","2.essentials\u002F3.mentions","i-lucide-at-sign",{"title":41,"path":42,"stem":43,"icon":44},"Reactions","\u002Fessentials\u002Freactions","2.essentials\u002F4.reactions","i-lucide-smile",{"title":46,"path":47,"stem":48,"icon":49},"Attachments","\u002Fessentials\u002Fattachments","2.essentials\u002F5.attachments","i-lucide-paperclip",{"title":51,"path":52,"stem":53,"icon":54},"Notifications","\u002Fessentials\u002Fnotifications","2.essentials\u002F6.notifications","i-lucide-bell",{"title":56,"path":57,"stem":58,"icon":59},"Database Schema","\u002Fessentials\u002Fdatabase-schema","2.essentials\u002F7.database-schema","i-lucide-database",{"title":61,"path":62,"stem":63,"children":64,"page":6},"Community","\u002Fcommunity","4.community",[65,70],{"title":66,"path":67,"stem":68,"icon":69},"Contributing","\u002Fcommunity\u002Fcontributing","4.community\u002F1.contributing","i-lucide-heart-handshake",{"title":71,"path":72,"stem":73,"icon":74},"License","\u002Fcommunity\u002Flicense","4.community\u002F2.license","i-lucide-scale",{"id":76,"title":16,"body":77,"description":94,"extension":95,"links":96,"meta":97,"navigation":98,"path":17,"seo":99,"stem":18,"__hash__":101},"docs\u002F1.getting-started\u002F2.upgrading.md",{"type":78,"value":79,"toc":89},"minimark",[80,85],[81,82,84],"h2",{"id":83},"_1x","1.x",[86,87,88],"p",{},"This is the initial release of Comments. Future upgrade guides will be documented here as new versions are released.",{"title":90,"searchDepth":91,"depth":91,"links":92},"",2,[93],{"id":83,"depth":91,"text":84},"Upgrade guide for Comments.","md",null,{},{"icon":19},{"description":100,"title":16},"How to upgrade Comments between versions.","UMXomxygT7uwPpICEeZF6IUKBCOjp61y_fOB1k919zU",[103,105],{"title":11,"path":12,"stem":13,"description":104,"icon":14,"children":-1},"Get started with Comments in minutes.",{"title":26,"path":27,"stem":28,"description":106,"icon":29,"children":-1},"Configure threading, reactions, mentions, attachments, notifications, and more.",1774613434788] \ No newline at end of file diff --git a/index.html b/index.html index ed83b31..c2adc9a 100644 --- a/index.html +++ b/index.html @@ -94,7 +94,7 @@ --ui-warning: var(--ui-color-warning-400); --ui-error: var(--ui-color-error-400); } -}Filament Comments System - Comments
Comments Logo
1.x

Comments

A full-featured commenting system for Filament panels with threaded replies, @mentions, emoji reactions, and real-time updates.

Drop-in integration with any Filament resource.

Alpha Software — Breaking changes may occur between releases. Not recommended for production use.
+}Filament Comments System - Comments
Comments Logo
1.x

Comments

A full-featured commenting system for Filament panels with threaded replies, @mentions, emoji reactions, and real-time updates.

Drop-in integration with any Filament resource.

Alpha Software — Breaking changes may occur between releases. Not recommended for production use.
-

Why choose Comments?

    Threaded Replies
    Nested comment threads with configurable depth limits. Users can reply to specific comments creating organized discussions.
    @Mentions
    Autocomplete user mentions with a customizable resolver interface. Dispatches events for notification handling.
    Emoji Reactions
    Six built-in emoji reactions with a configurable set. Users can react to comments with a single click.
    File Attachments
    Upload images and documents to comments with configurable storage, size limits, and MIME type validation.
    Real-time Updates
    Optional broadcasting via private channels with automatic polling fallback. Comments stay in sync across sessions.
    Full Filament Integration
    Three integration patterns: slide-over action, table row action, and infolist entry. Works with any Filament resource.

Our Ecosystem

Extend your Laravel applications with our ecosystem of complementary tools

FilaForms

Visual form builder for all your public-facing forms.

Custom Fields

Let users add custom fields to any model without code changes.

Copyright © 2026
\ No newline at end of file +

Why choose Comments?

    Threaded Replies
    Nested comment threads with configurable depth limits. Users can reply to specific comments creating organized discussions.
    @Mentions
    Autocomplete user mentions with a customizable resolver interface. Dispatches events for notification handling.
    Emoji Reactions
    Six built-in emoji reactions with a configurable set. Users can react to comments with a single click.
    File Attachments
    Upload images and documents to comments with configurable storage, size limits, and MIME type validation.
    Real-time Updates
    Optional broadcasting via private channels with automatic polling fallback. Comments stay in sync across sessions.
    Full Filament Integration
    Three integration patterns: slide-over action, table row action, and infolist entry. Works with any Filament resource.

Our Ecosystem

Extend your Laravel applications with our ecosystem of complementary tools

FilaForms

Visual form builder for all your public-facing forms.

Custom Fields

Let users add custom fields to any model without code changes.

Copyright © 2026
\ No newline at end of file diff --git a/llms-full.txt b/llms-full.txt index a2589e9..a8e8991 100644 --- a/llms-full.txt +++ b/llms-full.txt @@ -869,7 +869,7 @@ A full-featured commenting system for Filament panels with threaded replies, @me Drop-in integration with any Filament resource. - :::alert{type="warning"} + :::callout{color="amber" icon="i-lucide-triangle-alert"} **Alpha Software** — Breaking changes may occur between releases. Not recommended for production use. diff --git a/raw/index.md b/raw/index.md index 0e211b3..3b45486 100644 --- a/raw/index.md +++ b/raw/index.md @@ -15,11 +15,11 @@ A full-featured commenting system for Filament panels with threaded replies, @me Drop-in integration with any Filament resource. - + **Alpha Software** — Breaking changes may occur between releases. Not recommended for production use. - +