ryugi-artifacts 1.34.3 → 1.34.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cli.cjs +1 -1
- package/dist/server.cjs +6 -6
- package/dist/viewer/{CloudDocument-DMxzGKGr.js → CloudDocument-DXUMrVF3.js} +1 -1
- package/dist/viewer/{CloudLiveDocument-CIY_jrzh.js → CloudLiveDocument-Bj2WCpjx.js} +1 -1
- package/dist/viewer/{DocumentLayout-DifRAAM4.js → DocumentLayout-DGgUOrQt.js} +148 -148
- package/dist/viewer/{DocumentPage-BnAdtCR2.js → DocumentPage-IdC0hxi5.js} +1 -1
- package/dist/viewer/RailSwitch-C4gXiujT.js +64 -0
- package/dist/viewer/{abnfDiagram-VCTEODGH-CvFSqv-g.js → abnfDiagram-VCTEODGH-BbvtrFHm.js} +1 -1
- package/dist/viewer/{ar-SA-G6X2FPQ2-CwLOltNE.js → ar-SA-G6X2FPQ2-BNJ_hzAP.js} +1 -1
- package/dist/viewer/{architectureDiagram-5GKGNRK7-CgzZPXDS.js → architectureDiagram-5GKGNRK7-D2akTrGg.js} +1 -1
- package/dist/viewer/{az-AZ-76LH7QW2-B0stxUGt.js → az-AZ-76LH7QW2-BZqZDkD_.js} +1 -1
- package/dist/viewer/{bg-BG-XCXSNQG7-DPRxzQfK.js → bg-BG-XCXSNQG7-A-vQgPYl.js} +1 -1
- package/dist/viewer/{blockDiagram-I7D4REHJ-CbRoUCsX.js → blockDiagram-I7D4REHJ-CVgXb1Ya.js} +1 -1
- package/dist/viewer/{bn-BD-2XOGV67Q-DIlI6ecf.js → bn-BD-2XOGV67Q-DcSHjdtW.js} +1 -1
- package/dist/viewer/{c4Diagram-7LVT6UL2-2UtfQZ5O.js → c4Diagram-7LVT6UL2-CYM88EWA.js} +1 -1
- package/dist/viewer/{ca-ES-6MX7JW3Y-faYbKdKF.js → ca-ES-6MX7JW3Y-BV6Ur_nD.js} +1 -1
- package/dist/viewer/{chunk-4HAMMTFA-DCYFVl_E.js → chunk-4HAMMTFA-D-8nHKEu.js} +1 -1
- package/dist/viewer/{chunk-EIO257PC-DYwKuFAN.js → chunk-EIO257PC-C3Mcba7G.js} +1 -1
- package/dist/viewer/{chunk-GMAD6QVW-19UlM4uT.js → chunk-GMAD6QVW-D_dKCDQ8.js} +1 -1
- package/dist/viewer/{chunk-GVQU2GXP-CsNqoap2.js → chunk-GVQU2GXP-CSREhIcn.js} +1 -1
- package/dist/viewer/{chunk-IMKFNOWR-B5HnRapf.js → chunk-IMKFNOWR-D8EImuZz.js} +1 -1
- package/dist/viewer/{chunk-L3NEJ4N5-CXinAP2o.js → chunk-L3NEJ4N5-DmW6chfw.js} +1 -1
- package/dist/viewer/{chunk-OSK3NFVY-RFtw53bS.js → chunk-OSK3NFVY-CVx68jC6.js} +1 -1
- package/dist/viewer/{chunk-PWAF6VOD-C8pS-k_H.js → chunk-PWAF6VOD-kUV_iou4.js} +1 -1
- package/dist/viewer/{chunk-SHT3W25Y-B65SS_GK.js → chunk-SHT3W25Y-Bdjk9DiB.js} +1 -1
- package/dist/viewer/{chunk-SVP7TREG-DWB11tKU.js → chunk-SVP7TREG-B6hGF5-m.js} +1 -1
- package/dist/viewer/{chunk-TICWLB2K-B21FSAV5.js → chunk-TICWLB2K-Bbs16xtD.js} +1 -1
- package/dist/viewer/{classDiagram-ZZMXUADV-BKOz3cfl.js → classDiagram-ZZMXUADV-VNR-Zxhs.js} +1 -1
- package/dist/viewer/{classDiagram-v2-VYDZK3BY-BKOz3cfl.js → classDiagram-v2-VYDZK3BY-VNR-Zxhs.js} +1 -1
- package/dist/viewer/{cs-CZ-2BRQDIVT-DR-T1Xmv.js → cs-CZ-2BRQDIVT-ermS-u0f.js} +1 -1
- package/dist/viewer/{cynefinDiagram-5FMLGOSQ-KCUCqQ74.js → cynefinDiagram-5FMLGOSQ-C93PPUcO.js} +1 -1
- package/dist/viewer/{da-DK-5WZEPLOC-YUf7krV0.js → da-DK-5WZEPLOC-CQrRfk5D.js} +1 -1
- package/dist/viewer/{dagre-GXQ25YYZ-CnABmPsJ.js → dagre-GXQ25YYZ-Z49NKKAp.js} +1 -1
- package/dist/viewer/{de-DE-XR44H4JA-DLfSZkvv.js → de-DE-XR44H4JA-DkpXx_-W.js} +1 -1
- package/dist/viewer/{diagram-S7CK7UJ4-Ig12ZDd-.js → diagram-S7CK7UJ4-ClEAPLG2.js} +1 -1
- package/dist/viewer/{diagram-UQ7AKVKN-CSzwX9Na.js → diagram-UQ7AKVKN-pxwN_Vbr.js} +1 -1
- package/dist/viewer/{diagram-VX7I27RA-K1hEtYf0.js → diagram-VX7I27RA-DAoxeI4v.js} +1 -1
- package/dist/viewer/{diagram-Z3DM3KII-B87XWaeZ.js → diagram-Z3DM3KII-CWhAzdNi.js} +1 -1
- package/dist/viewer/{dist-BxHi7a0M.js → dist-BCQqgjUt.js} +1 -1
- package/dist/viewer/{dist-DVrdhuoR.js → dist-BEwO24pR.js} +1 -1
- package/dist/viewer/{dist-CmZDn5Pa.js → dist-BKkkvkDp.js} +1 -1
- package/dist/viewer/{dist-DSXuKWl4.js → dist-BOqmEnxT.js} +4 -4
- package/dist/viewer/{dist-DXH9qNcW.js → dist-BPMwGNVZ.js} +1 -1
- package/dist/viewer/{dist-CV3M0glB.js → dist-BUPWHIgc.js} +1 -1
- package/dist/viewer/{dist-bDbpk2Sr.js → dist-B_ceHUW_.js} +1 -1
- package/dist/viewer/{dist-HT4_oIvu.js → dist-BemRkt_j.js} +1 -1
- package/dist/viewer/{dist-qf04I8cR.js → dist-BkZn3wpu.js} +1 -1
- package/dist/viewer/{dist-BrFa9CGT.js → dist-C2OM7p9E.js} +1 -1
- package/dist/viewer/{dist-CVsgnnzH.js → dist-C81N4aRD.js} +1 -1
- package/dist/viewer/{dist-Bm1j6SmW.js → dist-CElG0dlK.js} +1 -1
- package/dist/viewer/{dist-BSUooKsU.js → dist-CQDLS0J6.js} +1 -1
- package/dist/viewer/{dist-DKCOKLJ1.js → dist-CWIq9PBk.js} +1 -1
- package/dist/viewer/{dist-DKuIpNjq.js → dist-CqLLCAGp.js} +1 -1
- package/dist/viewer/{dist-DHds-dIX.js → dist-CuCgFBRo.js} +1 -1
- package/dist/viewer/{dist-CHWOKV3q.js → dist-DA66k_03.js} +1 -1
- package/dist/viewer/{dist-oUuGmpgD.js → dist-Dlbt_skl.js} +1 -1
- package/dist/viewer/{dist-BY_HlunC.js → dist-Dslx8kf2.js} +1 -1
- package/dist/viewer/{dist-BywIx-VT.js → dist-DyHZbwjg.js} +1 -1
- package/dist/viewer/{dist-CHmgbgos.js → dist-OWJEF8d-.js} +1 -1
- package/dist/viewer/{dist-CCGvzHB-.js → dist-W-RvjOyO.js} +1 -1
- package/dist/viewer/{dist-1BqRA75V.js → dist-bqjejTOV.js} +1 -1
- package/dist/viewer/{dist-CJfjW9A6.js → dist-geatm1o6.js} +1 -1
- package/dist/viewer/{ebnfDiagram-PWID7BFC-D8UiKKKz.js → ebnfDiagram-PWID7BFC-D5sAcAEf.js} +1 -1
- package/dist/viewer/{el-GR-BZB4AONW-7FZDFC__.js → el-GR-BZB4AONW-DjXqw-p8.js} +1 -1
- package/dist/viewer/{en-B4ZKOASM-ewsZTioJ.js → en-B4ZKOASM-OorhQtvH.js} +1 -1
- package/dist/viewer/{erDiagram-RLTQ6QDP-080FhNSL.js → erDiagram-RLTQ6QDP-OI09b7L5.js} +1 -1
- package/dist/viewer/{es-ES-U4NZUMDT-BVcTHqHM.js → es-ES-U4NZUMDT-Cv4Wakvx.js} +1 -1
- package/dist/viewer/{eu-ES-A7QVB2H4-Bd_aFkaf.js → eu-ES-A7QVB2H4-HxscWjuv.js} +1 -1
- package/dist/viewer/{fa-IR-HGAKTJCU-CZQDRWt6.js → fa-IR-HGAKTJCU-NTWNNmbK.js} +1 -1
- package/dist/viewer/{fi-FI-Z5N7JZ37-D-GhY-BL.js → fi-FI-Z5N7JZ37-CAsxmtSa.js} +1 -1
- package/dist/viewer/flowDiagram-HODETNUW-BbLzV7tI.js +1 -0
- package/dist/viewer/{fr-FR-RHASNOE6-Ut6Vf64w.js → fr-FR-RHASNOE6-CLCleh9D.js} +1 -1
- package/dist/viewer/{ganttDiagram-EL5Y4UJY-CXDmaKZB.js → ganttDiagram-EL5Y4UJY-D3BWedCS.js} +1 -1
- package/dist/viewer/{gl-ES-HMX3MZ6V-Wwi4PkOZ.js → gl-ES-HMX3MZ6V-CngYNyWp.js} +1 -1
- package/dist/viewer/{he-IL-6SHJWFNN-NL3iE7rk.js → he-IL-6SHJWFNN-BgELyqL_.js} +1 -1
- package/dist/viewer/{hi-IN-IWLTKZ5I-C9pmLoF_.js → hi-IN-IWLTKZ5I-Bn7_SJJk.js} +1 -1
- package/dist/viewer/{hu-HU-A5ZG7DT2-LT2Keamx.js → hu-HU-A5ZG7DT2-uvw2QFBG.js} +1 -1
- package/dist/viewer/{id-ID-SAP4L64H-C-0gZUyS.js → id-ID-SAP4L64H-Bo_ryCW5.js} +1 -1
- package/dist/viewer/{image-GAAHSSAO-Ce1WC7dK.js → image-GAAHSSAO-DUbWA4vG.js} +1 -1
- package/dist/viewer/index.css +1 -1
- package/dist/viewer/index.html +1 -1
- package/dist/viewer/index.js +3 -3
- package/dist/viewer/{infoDiagram-27XIBGKW-CBPhfYEw.js → infoDiagram-27XIBGKW-BbmmQrFi.js} +1 -1
- package/dist/viewer/{ishikawaDiagram-5VMMS53U-DwCZjer9.js → ishikawaDiagram-5VMMS53U-4OWFjF5n.js} +1 -1
- package/dist/viewer/{it-IT-JPQ66NNP-DUGNHUDc.js → it-IT-JPQ66NNP-B-ea52C3.js} +1 -1
- package/dist/viewer/{ja-JP-DBVTYXUO-CDFLGbc9.js → ja-JP-DBVTYXUO-CN4xinAQ.js} +1 -1
- package/dist/viewer/{journeyDiagram-3NMN7TZE-BSl4u7Hg.js → journeyDiagram-3NMN7TZE-B9ufNZ_Q.js} +1 -1
- package/dist/viewer/{kaa-6HZHGXH3-CWnkM003.js → kaa-6HZHGXH3-aEhuJwba.js} +1 -1
- package/dist/viewer/{kab-KAB-ZGHBKWFO-i4k_9SvB.js → kab-KAB-ZGHBKWFO-BpIoh6VF.js} +1 -1
- package/dist/viewer/{kanban-definition-UXKFOSKX-HkpT4CjG.js → kanban-definition-UXKFOSKX-BPHjIY4C.js} +1 -1
- package/dist/viewer/{kk-KZ-P5N5QNE5-_GlaSozl.js → kk-KZ-P5N5QNE5-BmZpvlU8.js} +1 -1
- package/dist/viewer/{km-KH-HSX4SM5Z-Cp8O1x2V.js → km-KH-HSX4SM5Z-CECd48Wo.js} +1 -1
- package/dist/viewer/{ko-KR-MTYHY66A-fs7RP7t5.js → ko-KR-MTYHY66A-BymcDc3y.js} +1 -1
- package/dist/viewer/{ku-TR-6OUDTVRD-BQ8LBNLU.js → ku-TR-6OUDTVRD-oDAH_fKQ.js} +1 -1
- package/dist/viewer/{lt-LT-XHIRWOB4-CTNZtxQm.js → lt-LT-XHIRWOB4-DERpooWJ.js} +1 -1
- package/dist/viewer/{lv-LV-5QDEKY6T-R2gy3DFK.js → lv-LV-5QDEKY6T-Bd9CeWD9.js} +1 -1
- package/dist/viewer/{mindmap-definition-YA3MSWOX-DTGBBOQC.js → mindmap-definition-YA3MSWOX-CFmR43z5.js} +1 -1
- package/dist/viewer/{mr-IN-CRQNXWMA-BF8Ko2PO.js → mr-IN-CRQNXWMA-CRzJof-q.js} +1 -1
- package/dist/viewer/{my-MM-5M5IBNSE-B3tbQ0Ca.js → my-MM-5M5IBNSE-CEdbx3-v.js} +1 -1
- package/dist/viewer/{nb-NO-T6EIAALU-Bg3ye_-m.js → nb-NO-T6EIAALU-CrPMuSgs.js} +1 -1
- package/dist/viewer/{nl-NL-IS3SIHDZ-C2xfnIBw.js → nl-NL-IS3SIHDZ-DLP2Mn20.js} +1 -1
- package/dist/viewer/{nn-NO-6E72VCQL-e0T0cezS.js → nn-NO-6E72VCQL-CpB7gthR.js} +1 -1
- package/dist/viewer/{oc-FR-POXYY2M6-BoW8xBWx.js → oc-FR-POXYY2M6-CNd1e7G8.js} +1 -1
- package/dist/viewer/{pa-IN-N4M65BXN-7VRaBfWF.js → pa-IN-N4M65BXN-BxsdXOZP.js} +1 -1
- package/dist/viewer/{pegDiagram-XKGWAZYB-pwTIe5-B.js → pegDiagram-XKGWAZYB-Cttr-HAy.js} +1 -1
- package/dist/viewer/percentages-BXMCSKIN-eEXviY6a.js +1 -0
- package/dist/viewer/{pieDiagram-E7YTZNPT-C_vxHxKq.js → pieDiagram-E7YTZNPT-DQbMQ0fS.js} +1 -1
- package/dist/viewer/{pl-PL-T2D74RX3-7-_MmI7f.js → pl-PL-T2D74RX3-B6mOoIS4.js} +1 -1
- package/dist/viewer/{prod-HTkKNBKD.js → prod-yztwsjJ9.js} +8 -8
- package/dist/viewer/{pt-BR-5N22H2LF-NxY29P1k.js → pt-BR-5N22H2LF-e8MRyaFB.js} +1 -1
- package/dist/viewer/{pt-PT-UZXXM6DQ-C8Ci6bnG.js → pt-PT-UZXXM6DQ-DiQRHYKx.js} +1 -1
- package/dist/viewer/{quadrantDiagram-AXDQQJYC-BbmUoUf2.js → quadrantDiagram-AXDQQJYC-CTTDLujH.js} +1 -1
- package/dist/viewer/{railroadDiagram-O6MQD6OU-QENpyk3D.js → railroadDiagram-O6MQD6OU-BZxh1vjU.js} +1 -1
- package/dist/viewer/{requirementDiagram-BXWQKSXE-njNKN0lw.js → requirementDiagram-BXWQKSXE-BqbFxMFo.js} +1 -1
- package/dist/viewer/{ro-RO-JPDTUUEW-BpMz5J7g.js → ro-RO-JPDTUUEW-D28alEeb.js} +1 -1
- package/dist/viewer/{ru-RU-B4JR7IUQ-DkZ6wwvE.js → ru-RU-B4JR7IUQ-BWNdh2TY.js} +1 -1
- package/dist/viewer/{sequenceDiagram-WJ2MYXX4-swqUvH3u.js → sequenceDiagram-WJ2MYXX4-DzXcEa-d.js} +1 -1
- package/dist/viewer/{si-LK-N5RQ5JYF-DU1Ox4xj.js → si-LK-N5RQ5JYF-BVkTAyfr.js} +1 -1
- package/dist/viewer/{sk-SK-C5VTKIMK-W5kLYKCm.js → sk-SK-C5VTKIMK-CVugsgCu.js} +1 -1
- package/dist/viewer/{sl-SI-NN7IZMDC-0MUbTRGK.js → sl-SI-NN7IZMDC-DH6VqqkE.js} +1 -1
- package/dist/viewer/{stateDiagram-D77RDMKH-QZCupMAb.js → stateDiagram-D77RDMKH-CaJFRGag.js} +1 -1
- package/dist/viewer/{stateDiagram-v2-MP3YSRHH-DuI4xfMb.js → stateDiagram-v2-MP3YSRHH-CnkjmoCu.js} +1 -1
- package/dist/viewer/subset-shared.chunk-CeatEM_k.js +1 -0
- package/dist/viewer/{subset-worker.chunk-Dj19r8K8.js → subset-worker.chunk-BjXfN0n9.js} +1 -1
- package/dist/viewer/{sv-SE-XGPEYMSR-DaTdtsEr.js → sv-SE-XGPEYMSR-Bqd_zOdv.js} +1 -1
- package/dist/viewer/{swimlanes-42K2YHIH-D1NaQTh2.js → swimlanes-42K2YHIH-aYPJtvP5.js} +1 -1
- package/dist/viewer/{swimlanesDiagram-VR7AAH4N-BwIk2o1l.js → swimlanesDiagram-VR7AAH4N-D_YMoQ3x.js} +1 -1
- package/dist/viewer/{ta-IN-2NMHFXQM-BTtrJwiJ.js → ta-IN-2NMHFXQM-CPg9jCwq.js} +1 -1
- package/dist/viewer/{th-TH-HPSO5L25-Cy63YHaM.js → th-TH-HPSO5L25-BXl5lM2S.js} +1 -1
- package/dist/viewer/{timeline-definition-24CTP7MA-DQthSGN3.js → timeline-definition-24CTP7MA-CEtg5PZx.js} +1 -1
- package/dist/viewer/{tr-TR-DEFEU3FU-BvzmB8K4.js → tr-TR-DEFEU3FU-24N1Pd5W.js} +1 -1
- package/dist/viewer/{uk-UA-QMV73CPH-D5fD4vUI.js → uk-UA-QMV73CPH-niMe0b4I.js} +1 -1
- package/dist/viewer/{vennDiagram-4TSXK5OY-DISxmkxH.js → vennDiagram-4TSXK5OY-2lcS6R4Y.js} +1 -1
- package/dist/viewer/{vi-VN-M7AON7JQ-CaXfq8RP.js → vi-VN-M7AON7JQ-D4yFvk8v.js} +1 -1
- package/dist/viewer/{wardleyDiagram-VM6X3IG4-DqMLU0Xs.js → wardleyDiagram-VM6X3IG4-Bb_GQd1p.js} +1 -1
- package/dist/viewer/{xychartDiagram-S5SC5T6Z-CijmwKnb.js → xychartDiagram-S5SC5T6Z-Brm8haam.js} +1 -1
- package/dist/viewer/{zh-CN-LNUGB5OW-CUKyMyR6.js → zh-CN-LNUGB5OW-Bp55FHAl.js} +1 -1
- package/dist/viewer/{zh-HK-E62DVLB3-BQ7calDv.js → zh-HK-E62DVLB3-DIO0z-DO.js} +1 -1
- package/dist/viewer/{zh-TW-RAJ6MFWO-BSgk1z8i.js → zh-TW-RAJ6MFWO-Bw1rIrYu.js} +1 -1
- package/package.json +20 -19
- package/dist/viewer/RailSwitch-BFT07B3v.js +0 -64
- package/dist/viewer/flowDiagram-HODETNUW-DykFtxPF.js +0 -1
- package/dist/viewer/percentages-BXMCSKIN-DF_FIaCX.js +0 -1
- package/dist/viewer/subset-shared.chunk-DphkPp1T.js +0 -1
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import{i as e}from"./rolldown-runtime-COiEfhsA.js";import{n as t,t as n}from"./jsx-runtime-CldxteV5.js";import{A as r,E as i,F as a,M as o,N as s,O as c,P as l,T as u,_ as d,a as f,b as p,c as m,d as h,f as g,g as _,h as v,i as y,j as b,k as x,l as S,m as C,n as w,o as T,p as E,s as D,v as O,w as ee,x as k,y as A}from"./floating-ui.react-dom-CCnwLChu.js";import{n as j,t as M}from"./isObjectLike-DnuJWahO.js";var N=e(t(),1),P=n(),te=(0,N.createContext)(null);(0,N.memo)(({children:e,motion:t})=>(0,P.jsx)(te,{value:t,children:e}));var F=()=>{let e=(0,N.use)(te);if(!e)throw Error(`Please wrap your app with <ConfigProvider> (or <MotionProvider>) and pass the motion component`);return e},I=(0,N.createContext)(null),L=()=>(0,N.use)(I),R=`lobe-`,ne=new Map,z=e=>{let t=ne.get(e);if(t)return t;let n=`${R}${e}`,r=(e=>e?`${n}__${e}`:n);return r.block=n,ne.set(e,r),r},re=({block:e,dataAttributes:t=[],elements:n})=>{let r=z(e),i=(e=>r(e));return i.block=r.block,i.elements=n,i.dataAttributes=t,i},ie=e=>e.replaceAll(/[A-Z]/g,e=>`-${e.toLowerCase()}`),ae=e=>{let t={};for(let[n,r]of Object.entries(e))r!=null&&r!==!1&&r!==``&&(t[`data-${ie(n)}`]=r===!0?``:String(r));return t};function oe(e){var t,n,r=``;if(typeof e==`string`||typeof e==`number`)r+=e;else if(typeof e==`object`){if(Array.isArray(e)){var i=e.length;for(t=0;t<i;t++)e[t]&&(n=oe(e[t]))&&(r&&(r+=` `),r+=n)}else for(n in e)e[n]&&(r&&(r+=` `),r+=n)}return r}function se(){for(var e,t,n=0,r=``,i=arguments.length;n<i;n++)(e=arguments[n])&&(t=oe(e))&&(r&&(r+=` `),r+=t);return r}var B={},V;function ce(){if(V)return B;V=1,Object.defineProperty(B,"__esModule",{value:!0}),B.styleq=void 0;var e=new WeakMap,t=`$$css`;function n(n){var r,i,a;return n!=null&&(r=n.disableCache===!0,i=n.disableMix===!0,a=n.transform),function(){for(var n=[],o=``,s=null,c=``,l=r?null:e,u=Array(arguments.length),d=0;d<arguments.length;d++)u[d]=arguments[d];for(;u.length>0;){var f=u.pop();if(f!=null&&f!==!1){if(Array.isArray(f))for(var p=0;p<f.length;p++)u.push(f[p]);else{var m=a==null?f:a(f);if(m.$$css!=null){var h=``;if(l!=null&&l.has(m)){var g=l.get(m);g!=null&&(h=g[0],c=g[2],n.push.apply(n,g[1]),l=g[3])}else{var _=[];for(var v in m){var y=m[v];if(v===t){var b=m[v];b!==!0&&(c=c?b+`; `+c:b)}else typeof y==`string`||y===null?n.includes(v)||(n.push(v),l!=null&&_.push(v),typeof y==`string`&&(h+=h?` `+y:y)):console.error(`styleq: ${v} typeof ${String(y)} is not "string" or "null".`)}if(l!=null){var x=new WeakMap;l.set(m,[h,_,c,x]),l=x}}h&&(o=o?h+` `+o:h)}else if(i)s??={},s=Object.assign({},m,s);else{var S=null;for(var C in m){var w=m[C];w!==void 0&&(n.includes(C)||(w!=null&&(s??={},S??={},S[C]=w),n.push(C),l=null))}S!=null&&(s=Object.assign(S,s))}}}}return[o,s,c]}}var r=B.styleq=n();return r.factory=n,B}var le=ce();function ue(...e){let[t,n,r]=le.styleq(e),i={};return t!=null&&t!==``&&(i.className=t),n!=null&&Object.keys(n).length>0&&(i.style=n),r!=null&&r!==``&&(i[`data-style-src`]=r),i}Object.freeze({});var H=(e,t,n)=>{let r=ue(e);return{className:se(r.className,t),style:r.style||n?{...r.style,...n}:void 0}},de={info:{"--lobe-focus-ring-color":`lb155ckj2`,k44tkh:`lbe1ka5p lb11mn51e lb147fc9v`,kKVMdj:`lb1c1sa8k lbck0e01 lbp55ekp`,kyAemX:`lbgqpy2 lb171d7gl lb1bbl1vv`,kjBf7l:`lb1rxiahi lb1y5du2d`,kInvED:`lb1bf9hc9`,k3XXqK:`lb2xeow7`,kMeerF:`lbjls3y1`,$$css:!0}};function fe({controlled:e,default:t,name:n,state:r=`value`}){let{current:i}=N.useRef(e!==void 0),[a,o]=N.useState(()=>t);return[i&&e!==void 0?e:a,N.useCallback(e=>{i||o(e)},[])]}var pe={...N},me={};function he(e,t){let n=N.useRef(me);return n.current===me&&(n.current=e(t)),n}var ge=pe.useInsertionEffect,_e=ge&&ge!==pe.useLayoutEffect?ge:e=>e();function U(e){let t=he(ve).current;return t.next=e,_e(t.effect),t.trampoline}function ve(){let e={next:void 0,callback:ye,trampoline:(...t)=>e.callback?.(...t),effect:()=>{e.callback=e.next}};return e}function ye(){}function be(){}var xe=Object.freeze([]),Se=Object.freeze({}),W=typeof document<`u`?N.useLayoutEffect:()=>{},Ce=N.createContext({register:()=>{},unregister:()=>{},subscribeMapChange:()=>()=>{},nextIndexRef:{current:0}});function we(){return N.useContext(Ce)}function Te(e){let{children:t,elementsRef:n,labelsRef:r,onMapChange:i}=e,a=U(i),[,o]=N.useState(0),s=he(De).current,c=he(Ee).current,l=N.useRef(0),u=N.useRef(!0),d=N.useRef(null),f=N.useRef(null),p=U(()=>{u.current||(u.current=!0,o(e=>e+1))}),m=U((e,t)=>{c.set(e,t),p()}),h=U(e=>{c.delete(e),p()}),g=U(e=>{let t=new Map;return n.current.length=0,r&&(r.current.length=0),e.forEach(e=>{t.set(e.element,{...e.registration.metadata??{},index:e.index}),n.current[e.index]=e.element,r&&(r.current[e.index]=e.registration.label===void 0?e.registration.textRef?.current?.textContent??e.element.textContent:e.registration.label)}),l.current=n.current.length,t});function _(e){if(f.current?.disconnect(),f.current=null,typeof MutationObserver!=`function`||e.length<2)return;let t=new MutationObserver(n=>{if(!Ae(n))return;let r=null;for(let n of e)if(n.isConnected){if(r&&je(r,n)>0){t.disconnect(),p();return}r=n}});f.current=t;let n=new Set;for(let t=1;t<e.length;t+=1){let r=ke(e[t-1],e[t]);r&&n.add(r)}n.forEach(e=>t.observe(e,{childList:!0}))}let v=U(()=>{let[e,t]=Oe(c),n=g(e),r=d.current,i=!r||r.length!==e.length||e.some((e,t)=>{let n=r[t];return e.index!==n.index||e.element!==n.element||e.registration.index!==n.registration.index||e.registration.metadata!==n.registration.metadata});_(t),d.current=e,u.current=!1,i&&(s.forEach(e=>e(n)),a(n))});W(()=>(!u.current&&d.current&&g(d.current),()=>{n.current=[],r&&(r.current=[])}),[n,r,g]),W(()=>{u.current&&v()}),W(()=>()=>{f.current?.disconnect(),u.current=!0},[]);let y=U(e=>(s.add(e),()=>{s.delete(e)})),b=N.useMemo(()=>({register:m,unregister:h,subscribeMapChange:y,nextIndexRef:l}),[m,h,y,l]);return(0,P.jsx)(Ce.Provider,{value:b,children:t})}function Ee(){return new Map}function De(){return new Set}function Oe(e){let t=new Set,n=[],r=[];e.forEach((e,i)=>{if(!i.isConnected)return;let a=e.index,o={index:a??-1,element:i,registration:e};a===null?r.push(o):a>=0&&(t.add(a),n.push(o))});let i=0;return r.sort((e,t)=>je(e.element,t.element)),r.forEach(e=>{for(;t.has(i);)i+=1;e.index=i,n.push(e),i+=1}),t.size>0&&n.sort((e,t)=>e.index-t.index),[n,r.map(e=>e.element)]}function ke(e,t){let n=e.parentElement;for(;n&&!n.contains(t);)n=n.parentElement;return n}function Ae(e){for(let t of e)for(let e=0;e<t.removedNodes.length;e+=1)if(t.removedNodes[e].isConnected)return!0;return!1}function je(e,t){return e.nextElementSibling===t?-1:t.nextElementSibling===e?1:e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING?-1:1}function Me(e,t){return function(n,...r){let i=new URL(e);return i.searchParams.set(`code`,n.toString()),r.forEach(e=>i.searchParams.append(`args[]`,e)),`${t} error #${n}; visit ${i} for the full message.`}}var Ne=Me(`https://base-ui.com/production-error`,`Base UI`);function Pe(e,t,n,r){let i=he(Ie).current;return Le(i,e,t,n,r)&&ze(i,[e,t,n,r]),i.callback}function Fe(e){let t=he(Ie).current;return Re(t,e)&&ze(t,e),t.callback}function Ie(){return{callback:null,cleanup:null,refs:[]}}function Le(e,t,n,r,i){return e.refs[0]!==t||e.refs[1]!==n||e.refs[2]!==r||e.refs[3]!==i}function Re(e,t){return e.refs.length!==t.length||e.refs.some((e,n)=>e!==t[n])}function ze(e,t){e.refs=t,e.callback=t.every(e=>e==null)?null:n=>{if(e.cleanup&&=(e.cleanup(),null),n!=null){let r=Array(t.length).fill(null);for(let e=0;e<t.length;e+=1){let i=t[e];if(i!=null)switch(typeof i){case`function`:{let t=i(n);typeof t==`function`&&(r[e]=t);break}case`object`:i.current=n}}e.cleanup=()=>{for(let e=0;e<t.length;e+=1){let n=t[e];if(n!=null)switch(typeof n){case`function`:{let t=r[e];typeof t==`function`?t():n(null);break}case`object`:n.current=null}}}}}}var Be=19;function Ve(e){return Be>=e}function He(e){if(!N.isValidElement(e))return null;let t=e,n=t.props;return(Ve(19)?n?.ref:t.ref)??null}function Ue(e,t){if(e&&!t)return e;if(!e&&t)return t;if(e||t)return{...e,...t}}function We(e,t){let n={};for(let r in e){let i=e[r];if(t?.hasOwnProperty(r)){let e=t[r](i);e!=null&&Object.assign(n,e)}else i===!0?n[`data-${r.toLowerCase()}`]=``:i&&(n[`data-${r.toLowerCase()}`]=i.toString())}return n}function Ge(e,t){return typeof e==`function`?e(t):e}function Ke(e,t){return typeof e==`function`?e(t):e}var qe={};function Je(e,t,n,r,i){if(!n&&!r&&!i&&!e)return Xe(t);let a=Xe(e);return t&&(a=Ze(a,t)),n&&(a=Ze(a,n)),r&&(a=Ze(a,r)),i&&(a=Ze(a,i)),a}function Ye(e){if(e.length===0)return qe;if(e.length===1)return Xe(e[0]);let t=Xe(e[0]);for(let n=1;n<e.length;n+=1)t=Ze(t,e[n]);return t}function Xe(e){return tt(e)?{...e(qe)}:Qe(e)}function Ze(e,t){return tt(t)?t(e):$e(e,t)}function Qe(e){let t={...e};for(let e in t){let n=t[e];et(e,n)&&(t[e]=rt(n))}return t}function $e(e,t){if(!t)return e;for(let n in t){let r=t[n];switch(n){case`style`:e[n]=Ue(e.style,r);break;case`className`:e[n]=at(e.className,r);break;default:e[n]=et(n,r)?nt(e[n],r):r}}return e}function et(e,t){let n=e.charCodeAt(0),r=e.charCodeAt(1),i=e.charCodeAt(2);return n===111&&r===110&&i>=65&&i<=90&&(typeof t==`function`||t===void 0)}function tt(e){return typeof e==`function`}function nt(e,t){return t?e?(...n)=>{let r=n[0];if(ot(r)){let i=r;it(i);let a=t(...n);return i.baseUIHandlerPrevented||e?.(...n),a}let i=t(...n);return e?.(...n),i}:rt(t):e}function rt(e){return e&&((...t)=>{let n=t[0];return ot(n)&&it(n),e(...t)})}function it(e){return e.preventBaseUIHandler=()=>{e.baseUIHandlerPrevented=!0},e}function at(e,t){return t?e?t+` `+e:t:e}function ot(e){return typeof e==`object`&&!!e&&`nativeEvent`in e}function st(e,t,n={}){let r=t.render;n.enabled!==!1&&(r=dt(r));let i=ct(t,n,r);if(n.enabled===!1)return null;let a=n.state??Se;return ft(e,r,i,a)}function ct(e,t,n){let{className:r,style:i}=e,{state:a=Se,ref:o,props:s,stateAttributesMapping:c,enabled:l=!0}=t,u=l?Ge(r,a):void 0,d=l?Ke(i,a):void 0,f=l?We(a,c):Se,p=l&&s?lt(s):void 0,m=l?Ue(f,p)??{}:Se;return typeof document<`u`&&(l?m.ref=Array.isArray(o)?Fe([m.ref,He(n),...o]):Pe(m.ref,He(n),o):Pe(null,null)),l?(u!==void 0&&(m.className=at(m.className,u)),d!==void 0&&(m.style=Ue(m.style,d)),m):Se}function lt(e){return Array.isArray(e)?Ye(e):Je(void 0,e)}var ut=Symbol.for(`react.lazy`);function dt(e){if(e?.$$typeof!==ut)return e;let t=N.Children.toArray(e)[0];return N.isValidElement(t)?t:e}function ft(e,t,n,r){if(t){if(typeof t==`function`)return t(n,r);let e=Je(n,t.props);return e.ref=n.ref,N.cloneElement(t,e)}return pt(e,n)}function pt(e,t){return e===`button`?(0,N.createElement)(`button`,{type:`button`,...t,key:t.key}):e===`img`?(0,N.createElement)(`img`,{alt:``,...t,key:t.key}):N.createElement(e,t)}function mt(){let[,e]=N.useState({});return N.useCallback(()=>{e({})},[])}var ht=0;function gt(e,t=`mui`){let n=N.useRef(void 0),r=mt(),i=e??n.current;return N.useEffect(()=>{n.current??(ht+=1,n.current=`${t}-${ht}`,e??r())},[e,t,r]),i}var _t=pe.useId;function vt(e,t){if(_t!==void 0){let n=_t();return e??(t?`${t}-${n}`:n)}return gt(e,t)}function yt(e){return vt(e,`base-ui`)}function bt(e,t,n,r){let i=!1,a=!1,o=r??Se;return{reason:e,event:t??new Event(`base-ui`),cancel(){i=!0},allowPropagation(){a=!0},get isCanceled(){return i},get isPropagationAllowed(){return a},trigger:n,...o}}function xt(e,t,n){let r=n??Se;return{reason:e,event:t??new Event(`base-ui`),...r}}var St=`none`,Ct=`trigger-press`,wt=`trigger-hover`,Tt=`trigger-focus`,Et=`outside-press`,Dt=`item-press`,Ot=`close-press`,kt=`track-press`,At=`increment-press`,jt=`decrement-press`,Mt=`input-change`,Nt=`input-clear`,Pt=`input-blur`,Ft=`input-paste`,It=`input-press`,Lt=`focus-out`,Rt=`escape-key`,zt=`list-navigation`,Bt=`keyboard`,Vt=`pointer`,Ht=`drag`,Ut=`wheel`,Wt=`cancel-open`,Gt=`sibling-open`,Kt=`disabled`,qt=`missing`,Jt=`initial`,Yt=`imperative-action`,Xt=`window-resize`;function Zt(e){N.useEffect(e,xe)}var Qt=null;globalThis.requestAnimationFrame;var $t=new class{callbacks=[];callbacksCount=0;nextId=1;startId=1;isScheduled=!1;tick=e=>{this.isScheduled=!1;let t=this.callbacks,n=this.callbacksCount;if(this.callbacks=[],this.callbacksCount=0,this.startId=this.nextId,n>0)for(let n=0;n<t.length;n+=1)t[n]?.(e)};request(e){let t=this.nextId;return this.nextId+=1,this.callbacks.push(e),this.callbacksCount+=1,this.isScheduled||=(requestAnimationFrame(this.tick),!0),t}cancel(e){let t=e-this.startId;t<0||t>=this.callbacks.length||this.callbacks[t]!==null&&(this.callbacks[t]=null,--this.callbacksCount)}},en=class e{static create(){return new e}static request(e){return $t.request(e)}static cancel(e){return $t.cancel(e)}currentId=Qt;request(e){this.cancel(),this.currentId=$t.request(()=>{this.currentId=Qt,e()})}cancel=()=>{this.currentId!==Qt&&($t.cancel(this.currentId),this.currentId=Qt)};disposeEffect=()=>this.cancel};function tn(){let e=he(en.create).current;return Zt(e.disposeEffect),e}function nn(e,t=!1,n=!1,r=!1){let[i,a]=N.useState(e&&t?`idle`:void 0),[o,s]=N.useState(e&&!r);return e&&!o&&(s(!0),a(`starting`)),!e&&o&&i!==`ending`&&!n&&a(`ending`),!e&&!o&&i===`ending`&&a(void 0),W(()=>{if(!e&&o&&i!==`ending`&&n){let e=en.request(()=>{a(`ending`)});return()=>{en.cancel(e)}}},[e,o,i,n]),W(()=>{if(!e||t||i===void 0)return;let n=en.request(()=>{a(void 0)});return()=>{en.cancel(n)}},[t,e,i]),W(()=>{if(!e||!t)return;e&&o&&i!==`idle`&&a(`starting`);let n=en.request(()=>{a(`idle`)});return()=>{en.cancel(n)}},[t,e,o,i]),{mounted:o,setMounted:s,transitionStatus:i}}function rn(e={}){let{guess:t,label:n,metadata:r,textRef:i,index:a}=e,{register:o,unregister:s,subscribeMapChange:c,nextIndexRef:l}=we(),u=N.useRef(-1),[d,f]=N.useState(a==null&&t?()=>{if(u.current===-1){let e=l.current;l.current+=1,u.current=e}return u.current}:-1),p=a??d,m=N.useRef(null),h=N.useCallback(e=>{let t=m.current;t&&s(t),m.current=e,e&&o(e,{metadata:r??null,index:a??null,label:n,textRef:i})},[a,o,s,r,n,i]);return W(()=>{if(a==null)return c(e=>{let t=m.current?e.get(m.current)?.index:null;t!=null&&f(t)})},[a,c]),{ref:h,index:p}}var an=`data-starting-style`,on=`data-ending-style`,sn={[an]:``},cn={[on]:``},ln={transitionStatus(e){return e===`starting`?sn:e===`ending`?cn:null}},un=N.createContext(void 0);function dn(e=!1){let t=N.useContext(un);if(t===void 0&&!e)throw Error(Ne(16));return t}function fn(e){let{focusableWhenDisabled:t,disabled:n,composite:r=!1,tabIndex:i=0,isNativeButton:a}=e,o=r&&t!==!1,s=r&&t===!1;return{props:N.useMemo(()=>{let e={onKeyDown(e){n&&t&&e.key!==`Tab`&&e.preventDefault()}};return r||(e.tabIndex=i,!a&&n&&(e.tabIndex=t?i:-1)),(a&&(t||o)||!a&&n)&&(e[`aria-disabled`]=n),a&&(!t||s)&&(e.disabled=n),e},[r,n,t,o,s,a,i])}}function pn(e){return e?.ownerDocument||document}function mn(e,t,{detail:n=0,pointerType:r=``}={}){e.dispatchEvent(new(x(e)).PointerEvent(`click`,{bubbles:!0,cancelable:!0,composed:!0,detail:n,pointerType:r,shiftKey:t.shiftKey,ctrlKey:t.ctrlKey,altKey:t.altKey,metaKey:t.metaKey}))}function hn(e={}){let{disabled:t=!1,focusableWhenDisabled:n,tabIndex:r=0,native:i=!0,composite:a}=e,o=N.useRef(null),s=dn(!0),c=a??s!==void 0,{props:l}=fn({focusableWhenDisabled:n,disabled:t,composite:c,tabIndex:r,isNativeButton:i}),u=N.useCallback(()=>{let e=o.current;gn(e)&&c&&t&&l.disabled===void 0&&e.disabled&&(e.disabled=!1)},[t,l.disabled,c]);return W(u,[u]),{getButtonProps:N.useCallback((e={})=>{let{onClick:n,onMouseDown:r,onKeyUp:a,onKeyDown:o,onPointerDown:s,...u}=e;return Je({onClick(e){t?e.preventDefault():n?.(e)},onMouseDown(e){t||r?.(e)},onKeyDown(e){if(t||(it(e),o?.(e),e.baseUIHandlerPrevented))return;let n=e.target===e.currentTarget,r=e.currentTarget,a=gn(r),s=!i&&_n(r),l=n&&(i?a:!s),u=e.key===`Enter`,d=e.key===` `,f=r.getAttribute(`role`),p=f?.startsWith(`menuitem`)||f===`option`||f===`gridcell`;if(n&&c&&d){if(e.defaultPrevented&&p)return;e.preventDefault(),(!i||a)&&(e.preventBaseUIHandler(),mn(r,e))}else!l||i||!d&&!u?n&&s&&d&&e.preventDefault():e.defaultPrevented||(e.preventDefault(),u&&(e.preventBaseUIHandler(),mn(r,e)))},onKeyUp(e){t||(it(e),a?.(e),e.target===e.currentTarget&&i&&c&&gn(e.currentTarget)&&e.key===` `?e.preventDefault():e.baseUIHandlerPrevented||e.target===e.currentTarget&&!i&&!c&&!e.defaultPrevented&&e.key===` `&&(e.preventBaseUIHandler(),mn(e.currentTarget,e)))},onPointerDown(e){t?e.preventDefault():s?.(e)}},i?{type:`button`}:{role:`button`},l,u)},[t,l,c,i]),buttonRef:U(e=>{o.current=e,u()})}}function gn(e){return b(e)&&e.tagName===`BUTTON`}function _n(e){return b(e)&&e.tagName===`A`&&!!e.href}function G(e,t,n,r){return e.addEventListener(t,n,r),()=>{e.removeEventListener(t,n,r)}}var vn=0,yn=class e{static create(){return new e}currentId=vn;start(e,t){this.clear(),this.currentId=setTimeout(()=>{this.currentId=vn,t()},e)}isStarted(){return this.currentId!==vn}clear=()=>{this.currentId!==vn&&(clearTimeout(this.currentId),this.currentId=vn)};disposeEffect=()=>this.clear};function bn(){let e=he(yn.create).current;return Zt(e.disposeEffect),e}function xn(e){let t=he(Sn,e).current;return t.next=e,W(t.effect),t}function Sn(e){let t={current:e,next:e,effect:()=>{t.current=t.next}};return t}var Cn=e(ee(),1);function wn(e){return e==null?e:`current`in e?e.current:e}function Tn(e,t){return e.getAnimations(t).filter(e=>{let t=e.effect?.getTiming();return t?.duration!==1/0&&t?.iterations!==1/0})}var En=null;function Dn(e){if(!En){let e=[];En=e,queueMicrotask(()=>{En=null,Cn.flushSync(()=>{for(let t of e)t()})})}En.push(e)}function On(e,t=!1,n=!1){let r=tn();return U((i,a=null)=>{r.cancel();let o=wn(e);if(o==null)return;let s=o,c=()=>{n?Dn(()=>{a?.aborted||i()}):Cn.flushSync(i)};if(typeof s.getAnimations!=`function`||globalThis.BASE_UI_ANIMATIONS_DISABLED){i();return}function l(){Promise.all(Tn(s).map(e=>e.finished.then(be))).then(()=>{a?.aborted||c()},()=>{a?.aborted||(Tn(s).some(e=>e.pending||e.playState!==`finished`)?l():c())})}if(t){let e=an;if(!s.hasAttribute(e)){r.request(l);return}let t=new MutationObserver(()=>{s.hasAttribute(e)||(t.disconnect(),l())});t.observe(s,{attributes:!0,attributeFilter:[e]}),a?.addEventListener(`abort`,()=>t.disconnect(),{once:!0})}else r.request(l)})}function kn(e){let{enabled:t=!0,open:n,ref:r,batch:i=!1,onComplete:a}=e,o=U(a),s=On(r,n,i);N.useEffect(()=>{if(!t)return;let e=new AbortController;return s(o,e.signal),()=>{e.abort()}},[t,n,o,s])}var An=e=>e?.replace(/([a-z0-9])([A-Z])/g,`$1-$2`).toLowerCase();function jn(e,t,n=[]){if(t==null)throw Error(`[lucide]: iconNode is required when icon name is used`);return{name:An(e),size:24,node:t,...n.length>0?{aliases:n}:{}}}var Mn=e=>{let t=``,n=!1;for(let r of e)r===`-`||r===`_`||r<=` `?n=t.length>0:(t.length===0?t+=r.toLowerCase():t+=n?r.toUpperCase():r,n=!1);return t},Nn=e=>{let t=Mn(e);return t.charAt(0).toUpperCase()+t.slice(1)},Pn=(...e)=>e.filter((e,t,n)=>!!e&&e.trim()!==``&&n.indexOf(e)===t).join(` `).trim(),Fn={xmlns:`http://www.w3.org/2000/svg`,width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,"stroke-width":2,"stroke-linecap":`round`,"stroke-linejoin":`round`};function In(e){return e!=null}function Ln(e,t={}){let n=t.attributeNames??{},r=e=>n[e]??e,i=e.size??e.width??Fn.width,a=e.size??e.height??Fn.height,o=e.aliases?.filter(e=>typeof e==`string`&&e.trim()!==``).map(e=>`lucide-${e}`)??[],s=[...e.name?[`lucide-${e.name}`]:[],...o],c=t.className?.split(` `).filter(Boolean)??[],l=t.includeDefaultClasses===!1?Pn(...c):Pn(`lucide`,...s,...c),u=t.absoluteStrokeWidth?Number(t.strokeWidth??Fn[`stroke-width`])*Number(e.size??e.width??Fn.width)/Number(t.size??t.width??Fn.width):t.strokeWidth??Fn[`stroke-width`];return[`svg`,{...Object.entries(Fn).reduce((e,[t,n])=>(e[r(t)]=n,e),{}),...`color`in t&&t.color&&{[r(`stroke`)]:t.color},...`size`in t&&In(t.size)&&{[r(`width`)]:t.size,[r(`height`)]:t.size},...`width`in t&&In(t.width)&&{[r(`width`)]:t.width},...`height`in t&&In(t.height)&&{[r(`height`)]:t.height},[r(`stroke-width`)]:u,...l&&{[r(`class`)]:l},[r(`viewBox`)]:`0 0 ${i} ${a}`,...t.hasA11yProp===!1?{[r(`aria-hidden`)]:`true`}:{},...`attributes`in t&&t.attributes},e.node.map(e=>{let[n,i,a]=e,o=t.nonScalingStroke?{[r(`vector-effect`)]:`non-scaling-stroke`,...i}:i;return a?[n,o,a]:[n,o]})]}function Rn(e,t={}){return Ln(e,{...t,attributeNames:{...t.attributeNames,class:`className`,"stroke-width":`strokeWidth`,"stroke-linecap":`strokeLinecap`,"stroke-linejoin":`strokeLinejoin`,"vector-effect":`vectorEffect`}})}var zn=e=>{for(let t in e)if(t.startsWith(`aria-`)||t===`role`||t===`title`)return!0;return!1},Bn=(0,N.createContext)({}),Vn=()=>(0,N.useContext)(Bn),Hn=(0,N.forwardRef)(({color:e,size:t,width:n,height:r,strokeWidth:i,absoluteStrokeWidth:a,nonScalingStroke:o,className:s=``,children:c,iconNode:l=[],icon:u={node:l,aliases:[],size:24},...d},f)=>{let{size:p=24,strokeWidth:m=2,absoluteStrokeWidth:h=!1,nonScalingStroke:g=!1,color:_=`currentColor`,className:v=``}=Vn()??{},y=!!c||zn(d),[b,x,S=[]]=Rn(u,{color:e??_,width:n??t??p,height:r??t??p,strokeWidth:i??m,absoluteStrokeWidth:a??h,nonScalingStroke:o??g,className:Pn(v,s),hasA11yProp:y,attributes:d});return(0,N.createElement)(b,{ref:f,...x},[...S.map(([e,t])=>(0,N.createElement)(e,t)),...Array.isArray(c)?c:[c]])});function Un(e,t=[],n=[]){let r=typeof e==`string`?jn(e,t,n):e,i=(0,N.forwardRef)(({className:e,...t},n)=>(0,N.createElement)(Hn,{ref:n,icon:r,className:e,...t}));return r.name&&(i.displayName=Nn(r.name)),i}var Wn={name:`arrow-down`,size:24,node:[[`path`,{d:`M12 5v14`,key:`s699le`}],[`path`,{d:`m19 12-7 7-7-7`,key:`1idqje`}]]};Wn.node;var Gn=Un(Wn),Kn={name:`arrow-right-to-line`,size:24,node:[[`path`,{d:`M17 12H3`,key:`8awo09`}],[`path`,{d:`m11 18 6-6-6-6`,key:`8c2y43`}],[`path`,{d:`M21 5v14`,key:`nzette`}]]};Kn.node;var qn=Un(Kn),Jn={name:`arrow-up`,size:24,node:[[`path`,{d:`m5 12 7-7 7 7`,key:`hav0vg`}],[`path`,{d:`M12 19V5`,key:`x0mq9r`}]]};Jn.node;var Yn=Un(Jn),Xn={name:`check`,size:24,node:[[`path`,{d:`M20 6 9 17l-5-5`,key:`1gmf2c`}]]};Xn.node;var Zn=Un(Xn),Qn={name:`chevron-down`,size:24,node:[[`path`,{d:`m6 9 6 6 6-6`,key:`qrunsl`}]]};Qn.node;var $n=Un(Qn),er={name:`chevron-right`,size:24,node:[[`path`,{d:`m9 18 6-6-6-6`,key:`mthhwq`}]]};er.node;var tr=Un(er),nr={name:`copy`,size:24,node:[[`rect`,{width:`14`,height:`14`,x:`8`,y:`8`,rx:`2`,ry:`2`,key:`17jyea`}],[`path`,{d:`M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2`,key:`zix9uf`}]]};nr.node;var rr=Un(nr),ir={name:`download`,size:24,node:[[`path`,{d:`M12 15V3`,key:`m9g1x1`}],[`path`,{d:`M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4`,key:`ih7n3h`}],[`path`,{d:`m7 10 5 5 5-5`,key:`brsn70`}]]};ir.node;var ar=Un(ir),or={name:`globe`,size:24,node:[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`path`,{d:`M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20`,key:`13o1zl`}],[`path`,{d:`M2 12h20`,key:`9i4pu4`}]]};or.node;var sr=Un(or),cr={name:`image`,size:24,node:[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,ry:`2`,key:`1m3agn`}],[`circle`,{cx:`9`,cy:`9`,r:`2`,key:`af1f0g`}],[`path`,{d:`m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21`,key:`1xmnt7`}]]};cr.node;var lr=Un(cr),ur={name:`layout-grid`,size:24,node:[[`rect`,{width:`7`,height:`7`,x:`3`,y:`3`,rx:`1`,key:`1g98yp`}],[`rect`,{width:`7`,height:`7`,x:`14`,y:`3`,rx:`1`,key:`6d4xhi`}],[`rect`,{width:`7`,height:`7`,x:`14`,y:`14`,rx:`1`,key:`nxv5o0`}],[`rect`,{width:`7`,height:`7`,x:`3`,y:`14`,rx:`1`,key:`1bb6yr`}]]};ur.node;var dr=Un(ur),fr={name:`loader-circle`,size:24,node:[[`path`,{d:`M21 12a9 9 0 1 1-6.219-8.56`,key:`13zald`}]],aliases:[`loader-2`]};fr.node;var pr=Un(fr),mr={name:`maximize-2`,size:24,node:[[`path`,{d:`M15 3h6v6`,key:`1q9fwt`}],[`path`,{d:`m21 3-7 7`,key:`1l2asr`}],[`path`,{d:`m3 21 7-7`,key:`tjx5ai`}],[`path`,{d:`M9 21H3v-6`,key:`wtvkvv`}]]};mr.node;var hr=Un(mr),gr={name:`message-circle`,size:24,node:[[`path`,{d:`M2.992 16.342a2 2 0 0 1 .094 1.167l-1.065 3.29a1 1 0 0 0 1.236 1.168l3.413-.998a2 2 0 0 1 1.099.092 10 10 0 1 0-4.777-4.719`,key:`1sd12s`}]]};gr.node;var _r=Un(gr),vr={name:`minus`,size:24,node:[[`path`,{d:`M5 12h14`,key:`1ays0h`}]]};vr.node;var yr=Un(vr),br={name:`plus`,size:24,node:[[`path`,{d:`M5 12h14`,key:`1ays0h`}],[`path`,{d:`M12 5v14`,key:`s699le`}]]};br.node;var xr=Un(br),Sr={name:`rotate-ccw-clock`,size:24,node:[[`path`,{d:`M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8`,key:`1357e3`}],[`path`,{d:`M3 3v5h5`,key:`1xhq8a`}],[`path`,{d:`M12 7v5l4 2`,key:`1fdv2h`}]],aliases:[`history`]};Sr.node;var Cr=Un(Sr),wr={name:`rotate-ccw`,size:24,node:[[`path`,{d:`M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8`,key:`1357e3`}],[`path`,{d:`M3 3v5h5`,key:`1xhq8a`}]]};wr.node;var Tr=Un(wr),Er={name:`search`,size:24,node:[[`path`,{d:`m21 21-4.34-4.34`,key:`14j7rj`}],[`circle`,{cx:`11`,cy:`11`,r:`8`,key:`4ej97u`}]]};Er.node;var Dr=Un(Er),Or={name:`trash`,size:24,node:[[`path`,{d:`M10 11v6`,key:`nco0om`}],[`path`,{d:`M14 11v6`,key:`outv1u`}],[`path`,{d:`M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6`,key:`miytrc`}],[`path`,{d:`M3 6h18`,key:`d0wm0j`}],[`path`,{d:`M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2`,key:`e791ji`}]],aliases:[`trash-2`]};Or.node;var kr=Un(Or),Ar={name:`type`,size:24,node:[[`path`,{d:`M12 4v16`,key:`1654pz`}],[`path`,{d:`M4 7V5a1 1 0 0 1 1-1h14a1 1 0 0 1 1 1v2`,key:`e0r10z`}],[`path`,{d:`M9 20h6`,key:`s66wpe`}]]};Ar.node;var jr=Un(Ar),Mr={name:`x`,size:24,node:[[`path`,{d:`M18 6 6 18`,key:`1bl5f8`}],[`path`,{d:`m6 6 12 12`,key:`d8bk6v`}]]};Mr.node;var Nr=Un(Mr),Pr=(0,N.createContext)({}),Fr=(0,N.memo)(({children:e,config:t={}})=>(0,P.jsx)(Pr,{value:t,children:e})),Ir=()=>(0,N.use)(Pr);function Lr(e){return typeof e==`symbol`||e instanceof Symbol}function Rr(e){return e==null?``:zr(e)}function zr(e){if(typeof e==`string`)return e;if(Array.isArray(e))return e.map(zr).join(`,`);if(Lr(e))return e.toString();let t=e+``;return t===`0`&&Object.is(Number(e),-0)?`-0`:t}function Br(e){return typeof e==`number`||M(e)&&j(e)===`[object Number]`}function Vr(e){return e.charAt(0).toUpperCase()+e.slice(1).toLowerCase()}function Hr(e){return Vr(Rr(e))}var Ur=new Map([[`Æ`,`Ae`],[`Ð`,`D`],[`Ø`,`O`],[`Þ`,`Th`],[`ß`,`ss`],[`æ`,`ae`],[`ð`,`d`],[`ø`,`o`],[`þ`,`th`],[`Đ`,`D`],[`đ`,`d`],[`Ħ`,`H`],[`ħ`,`h`],[`ı`,`i`],[`IJ`,`IJ`],[`ij`,`ij`],[`ĸ`,`k`],[`Ŀ`,`L`],[`ŀ`,`l`],[`Ł`,`L`],[`ł`,`l`],[`ʼn`,`'n`],[`Ŋ`,`N`],[`ŋ`,`n`],[`Œ`,`Oe`],[`œ`,`oe`],[`Ŧ`,`T`],[`ŧ`,`t`],[`ſ`,`s`]]);function Wr(e){e=e.normalize(`NFD`);let t=``;for(let n=0;n<e.length;n++){let r=e[n];r>=`̀`&&r<=`ͯ`||r>=`⃐`&&r<=``||r>=`︠`&&r<=`︯`||(t+=Ur.get(r)??r)}return t}function Gr(e){return Wr(Rr(e))}var Kr=`\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\xd7\\xf7`,qr=`\\p{Lu}`,Jr=`\\p{Ll}`,Yr=`(?:[\\p{Lm}\\p{Lo}]\\p{M}*)`,Xr=`\\d`,Zr=`(?:['’](?:d|ll|m|re|s|t|ve))?`,Qr=`(?:['’](?:D|LL|M|RE|S|T|VE))?`,$r=`[\\p{Z}\\p{P}${Kr}]`,ei=`(?:${qr}|${Yr})`,ti=`(?:${Jr}|${Yr})`,ni;function ri(){return ni??=RegExp([`${qr}?${Jr}+${Zr}(?=${$r}|${qr}|$)`,`${ei}+${Qr}(?=${$r}|${qr}${ti}|$)`,`${qr}?${ti}+${Zr}`,`${qr}+${Qr}`,`${Xr}*(?:1ST|2ND|3RD|(?![123])${Xr}TH)(?=\\b|[a-z_])`,`${Xr}*(?:1st|2nd|3rd|(?![123])${Xr}th)(?=\\b|[A-Z_])`,`${Xr}+`,`\\p{Emoji_Presentation}`,`\\p{Extended_Pictographic}`].join(`|`),`gu`),ni}function ii(e,t,n){let r=Rr(e);return(n||t===void 0)&&(t=ri()),typeof t==`number`&&(t=t.toString()),Array.from(r.match(t)??[]).filter(e=>e!==``)}function ai(e){return typeof e!=`string`&&(e=Rr(e)),e.replace(/['\u2019]/g,``)}function oi(e){let t=ii(ai(Gr(e)));if(t.length===0)return``;let[n,...r]=t;return`${n.toLowerCase()}${r.map(e=>Vr(e)).join(``)}`}var si=e=>{if(Br(e))return{size:e};let t,n;switch(e){case`large`:t=24,n=2;break;case`middle`:t=20,n=2;break;case`small`:t=14,n=2;break;default:e?(t=e?.size||24,n=e?.strokeWidth||2):(t=`1em`,n=2)}return{size:t,strokeWidth:n}},ci=re({block:`icon`,dataAttributes:[`spin`],elements:[]}),li={root:{kGNEyG:`lb6s0dn4`,k1xSpc:`lb3nfvp2`,kLWn49:`lb14ju556`,kXLuUW:`lb1x7wgjd`,$$css:!0},spin:{k44tkh:`lb1q3qbx4`,ko0y90:`lba4qsjk`,kKVMdj:`lb1fhqo85`,kyAemX:`lb1esw782`,$$css:!0}},ui=(0,N.memo)(({icon:e,size:t,color:n,fill:r=`transparent`,className:i,focusable:a,spin:o,fillRule:s,fillOpacity:c,ref:l,...u})=>{let{color:d,fill:f,fillOpacity:p,fillRule:m,focusable:h,className:g,size:_,...v}=Ir(),{size:y,strokeWidth:b}=(0,N.useMemo)(()=>si(t||_),[t,_]),x=e;return(0,P.jsx)(`span`,{role:`img`,...ae({spin:o}),className:H([li.root,o&&li.spin],se(ci(),`anticon`,g,i)).className,...v,...u,children:e&&((0,N.isValidElement)(e)?e:(0,P.jsx)(x,{color:n||d,fill:r||f,fillOpacity:c||p,fillRule:s||m,focusable:a||h,height:y,ref:l,size:y,strokeWidth:b,width:y}))})});ui.displayName=`Icon`;var di={borderRadiusOuter:`var(--lobe-border-radius-outer)`,colorTextLightSolid:`var(--lobe-color-text-light-solid)`,colorWhite:`var(--lobe-color-white)`,controlHeightLG:`var(--lobe-control-height-lg)`,controlHeightSM:`var(--lobe-control-height-sm)`,controlHeightXS:`var(--lobe-control-height-xs)`,controlInteractiveSize:`var(--lobe-control-interactive-size)`,controlOutlineWidth:`var(--lobe-control-outline-width)`,controlPaddingHorizontal:`var(--lobe-control-padding-horizontal)`,controlPaddingHorizontalSM:`var(--lobe-control-padding-horizontal-sm)`,fontHeight:`var(--lobe-font-height)`,fontHeightLG:`var(--lobe-font-height-lg)`,fontHeightSM:`var(--lobe-font-height-sm)`,fontSize:`var(--lobe-font-size)`,fontSizeHeading1:`var(--lobe-font-size-heading-1)`,fontSizeHeading2:`var(--lobe-font-size-heading-2)`,fontSizeHeading3:`var(--lobe-font-size-heading-3)`,fontSizeHeading4:`var(--lobe-font-size-heading-4)`,fontSizeHeading5:`var(--lobe-font-size-heading-5)`,fontSizeIcon:`var(--lobe-font-size-icon)`,fontSizeLG:`var(--lobe-font-size-lg)`,fontSizeSM:`var(--lobe-font-size-sm)`,fontSizeXL:`var(--lobe-font-size-xl)`,fontWeightStrong:`var(--lobe-font-weight-strong)`,lineHeight:`var(--lobe-line-height)`,lineHeightHeading1:`var(--lobe-line-height-heading-1)`,lineHeightHeading2:`var(--lobe-line-height-heading-2)`,lineHeightHeading3:`var(--lobe-line-height-heading-3)`,lineHeightHeading4:`var(--lobe-line-height-heading-4)`,lineHeightHeading5:`var(--lobe-line-height-heading-5)`,lineHeightLG:`var(--lobe-line-height-lg)`,lineHeightSM:`var(--lobe-line-height-sm)`,lineType:`var(--lobe-line-type)`,lineWidth:`var(--lobe-line-width)`,lineWidthBold:`var(--lobe-line-width-bold)`,lineWidthFocus:`var(--lobe-line-width-focus)`,linkDecoration:`var(--lobe-link-decoration)`,linkFocusDecoration:`var(--lobe-link-focus-decoration)`,linkHoverDecoration:`var(--lobe-link-hover-decoration)`,margin:`var(--lobe-margin)`,marginLG:`var(--lobe-margin-lg)`,marginMD:`var(--lobe-margin-md)`,marginSM:`var(--lobe-margin-sm)`,marginXL:`var(--lobe-margin-xl)`,marginXS:`var(--lobe-margin-xs)`,marginXXL:`var(--lobe-margin-xxl)`,marginXXS:`var(--lobe-margin-xxs)`,motionDurationFast:`var(--lobe-motion-duration-fast)`,motionDurationMid:`var(--lobe-motion-duration-mid)`,motionDurationSlow:`var(--lobe-motion-duration-slow)`,motionEaseInBack:`var(--lobe-motion-ease-in-back)`,motionEaseInOut:`var(--lobe-motion-ease-in-out)`,motionEaseInOutCirc:`var(--lobe-motion-ease-in-out-circ)`,motionEaseInQuint:`var(--lobe-motion-ease-in-quint)`,motionEaseOut:`var(--lobe-motion-ease-out)`,motionEaseOutBack:`var(--lobe-motion-ease-out-back)`,motionEaseOutCirc:`var(--lobe-motion-ease-out-circ)`,motionEaseOutQuint:`var(--lobe-motion-ease-out-quint)`,motionSpringBouncy:`var(--lobe-motion-spring-bouncy)`,motionSpringSmooth:`var(--lobe-motion-spring-smooth)`,motionSpringSnappy:`var(--lobe-motion-spring-snappy)`,opacityImage:`var(--lobe-opacity-image)`,opacityLoading:`var(--lobe-opacity-loading)`,padding:`var(--lobe-padding)`,paddingContentHorizontal:`var(--lobe-padding-content-horizontal)`,paddingContentHorizontalLG:`var(--lobe-padding-content-horizontal-lg)`,paddingContentHorizontalSM:`var(--lobe-padding-content-horizontal-sm)`,paddingContentVertical:`var(--lobe-padding-content-vertical)`,paddingContentVerticalLG:`var(--lobe-padding-content-vertical-lg)`,paddingContentVerticalSM:`var(--lobe-padding-content-vertical-sm)`,paddingLG:`var(--lobe-padding-lg)`,paddingMD:`var(--lobe-padding-md)`,paddingSM:`var(--lobe-padding-sm)`,paddingXL:`var(--lobe-padding-xl)`,paddingXS:`var(--lobe-padding-xs)`,paddingXXS:`var(--lobe-padding-xxs)`,pink:`var(--lobe-pink)`,screenLG:`var(--lobe-screen-lg)`,screenLGMax:`var(--lobe-screen-lg-max)`,screenLGMin:`var(--lobe-screen-lg-min)`,screenMD:`var(--lobe-screen-md)`,screenMDMax:`var(--lobe-screen-md-max)`,screenMDMin:`var(--lobe-screen-md-min)`,screenSM:`var(--lobe-screen-sm)`,screenSMMax:`var(--lobe-screen-sm-max)`,screenSMMin:`var(--lobe-screen-sm-min)`,screenXL:`var(--lobe-screen-xl)`,screenXLMax:`var(--lobe-screen-xl-max)`,screenXLMin:`var(--lobe-screen-xl-min)`,screenXS:`var(--lobe-screen-xs)`,screenXSMax:`var(--lobe-screen-xs-max)`,screenXSMin:`var(--lobe-screen-xs-min)`,screenXXL:`var(--lobe-screen-xxl)`,screenXXLMax:`var(--lobe-screen-xxl-max)`,screenXXLMin:`var(--lobe-screen-xxl-min)`,screenXXXL:`var(--lobe-screen-xxxl)`,screenXXXLMin:`var(--lobe-screen-xxxl-min)`,size:`var(--lobe-size)`,sizeLG:`var(--lobe-size-lg)`,sizeMD:`var(--lobe-size-md)`,sizeMS:`var(--lobe-size-ms)`,sizePopupArrow:`var(--lobe-size-popup-arrow)`,sizeSM:`var(--lobe-size-sm)`,sizeStep:`var(--lobe-size-step)`,sizeUnit:`var(--lobe-size-unit)`,sizeXL:`var(--lobe-size-xl)`,sizeXS:`var(--lobe-size-xs)`,sizeXXL:`var(--lobe-size-xxl)`,sizeXXS:`var(--lobe-size-xxs)`,zIndexBase:`var(--lobe-z-index-base)`,zIndexPopupBase:`var(--lobe-z-index-popup-base)`,borderRadius:`var(--lobe-border-radius)`,borderRadiusLG:`var(--lobe-border-radius-lg)`,borderRadiusSM:`var(--lobe-border-radius-sm)`,borderRadiusXS:`var(--lobe-border-radius-xs)`,controlHeight:`var(--lobe-control-height)`,fontFamily:`var(--lobe-font-family)`,fontFamilyCode:`var(--lobe-font-family-code)`,boxShadowCard:`var(--lobe-box-shadow-card)`,boxShadowDrawerDown:`var(--lobe-box-shadow-drawer-down)`,boxShadowDrawerLeft:`var(--lobe-box-shadow-drawer-left)`,boxShadowDrawerRight:`var(--lobe-box-shadow-drawer-right)`,boxShadowDrawerUp:`var(--lobe-box-shadow-drawer-up)`,boxShadowPopoverArrow:`var(--lobe-box-shadow-popover-arrow)`,boxShadowTabsOverflowBottom:`var(--lobe-box-shadow-tabs-overflow-bottom)`,boxShadowTabsOverflowLeft:`var(--lobe-box-shadow-tabs-overflow-left)`,boxShadowTabsOverflowRight:`var(--lobe-box-shadow-tabs-overflow-right)`,boxShadowTabsOverflowTop:`var(--lobe-box-shadow-tabs-overflow-top)`,colorBgBase:`var(--lobe-color-bg-base)`,colorBgBlur:`var(--lobe-color-bg-blur)`,colorBgSolid:`var(--lobe-color-bg-solid)`,colorBgSolidActive:`var(--lobe-color-bg-solid-active)`,colorBgSolidHover:`var(--lobe-color-bg-solid-hover)`,colorBorderDisabled:`var(--lobe-color-border-disabled)`,colorErrorBgActive:`var(--lobe-color-error-bg-active)`,colorErrorBgFilledHover:`var(--lobe-color-error-bg-filled-hover)`,colorShadow:`var(--lobe-color-shadow)`,colorTextBase:`var(--lobe-color-text-base)`,dropShadowPopover:`var(--lobe-drop-shadow-popover)`,pink1:`var(--lobe-pink-1)`,pink10:`var(--lobe-pink-10)`,pink2:`var(--lobe-pink-2)`,pink3:`var(--lobe-pink-3)`,pink4:`var(--lobe-pink-4)`,pink5:`var(--lobe-pink-5)`,pink6:`var(--lobe-pink-6)`,pink7:`var(--lobe-pink-7)`,pink8:`var(--lobe-pink-8)`,pink9:`var(--lobe-pink-9)`,pinkActive:`var(--lobe-pink-active)`,pinkHover:`var(--lobe-pink-hover)`,colorErrorFill:`var(--lobe-color-error-fill)`,colorErrorFillSecondary:`var(--lobe-color-error-fill-secondary)`,colorErrorFillTertiary:`var(--lobe-color-error-fill-tertiary)`,colorErrorFillQuaternary:`var(--lobe-color-error-fill-quaternary)`,colorErrorBg:`var(--lobe-color-error-bg)`,colorErrorBgHover:`var(--lobe-color-error-bg-hover)`,colorErrorBorder:`var(--lobe-color-error-border)`,colorErrorBorderHover:`var(--lobe-color-error-border-hover)`,colorErrorHover:`var(--lobe-color-error-hover)`,colorError:`var(--lobe-color-error)`,colorErrorActive:`var(--lobe-color-error-active)`,colorErrorTextHover:`var(--lobe-color-error-text-hover)`,colorErrorText:`var(--lobe-color-error-text)`,colorErrorTextActive:`var(--lobe-color-error-text-active)`,colorInfoFill:`var(--lobe-color-info-fill)`,colorInfoFillSecondary:`var(--lobe-color-info-fill-secondary)`,colorInfoFillTertiary:`var(--lobe-color-info-fill-tertiary)`,colorInfoFillQuaternary:`var(--lobe-color-info-fill-quaternary)`,colorInfoBg:`var(--lobe-color-info-bg)`,colorInfoBgHover:`var(--lobe-color-info-bg-hover)`,colorInfoBorder:`var(--lobe-color-info-border)`,colorInfoBorderHover:`var(--lobe-color-info-border-hover)`,colorInfoHover:`var(--lobe-color-info-hover)`,colorInfo:`var(--lobe-color-info)`,colorInfoActive:`var(--lobe-color-info-active)`,colorInfoTextHover:`var(--lobe-color-info-text-hover)`,colorInfoText:`var(--lobe-color-info-text)`,colorInfoTextActive:`var(--lobe-color-info-text-active)`,colorSuccessFill:`var(--lobe-color-success-fill)`,colorSuccessFillSecondary:`var(--lobe-color-success-fill-secondary)`,colorSuccessFillTertiary:`var(--lobe-color-success-fill-tertiary)`,colorSuccessFillQuaternary:`var(--lobe-color-success-fill-quaternary)`,colorSuccessBg:`var(--lobe-color-success-bg)`,colorSuccessBgHover:`var(--lobe-color-success-bg-hover)`,colorSuccessBorder:`var(--lobe-color-success-border)`,colorSuccessBorderHover:`var(--lobe-color-success-border-hover)`,colorSuccessHover:`var(--lobe-color-success-hover)`,colorSuccess:`var(--lobe-color-success)`,colorSuccessActive:`var(--lobe-color-success-active)`,colorSuccessTextHover:`var(--lobe-color-success-text-hover)`,colorSuccessText:`var(--lobe-color-success-text)`,colorSuccessTextActive:`var(--lobe-color-success-text-active)`,colorWarningFill:`var(--lobe-color-warning-fill)`,colorWarningFillSecondary:`var(--lobe-color-warning-fill-secondary)`,colorWarningFillTertiary:`var(--lobe-color-warning-fill-tertiary)`,colorWarningFillQuaternary:`var(--lobe-color-warning-fill-quaternary)`,colorWarningBg:`var(--lobe-color-warning-bg)`,colorWarningBgHover:`var(--lobe-color-warning-bg-hover)`,colorWarningBorder:`var(--lobe-color-warning-border)`,colorWarningBorderHover:`var(--lobe-color-warning-border-hover)`,colorWarningHover:`var(--lobe-color-warning-hover)`,colorWarning:`var(--lobe-color-warning)`,colorWarningActive:`var(--lobe-color-warning-active)`,colorWarningTextHover:`var(--lobe-color-warning-text-hover)`,colorWarningText:`var(--lobe-color-warning-text)`,colorWarningTextActive:`var(--lobe-color-warning-text-active)`,blue1:`var(--lobe-blue-1)`,blue2:`var(--lobe-blue-2)`,blue3:`var(--lobe-blue-3)`,blue4:`var(--lobe-blue-4)`,blue5:`var(--lobe-blue-5)`,blue6:`var(--lobe-blue-6)`,blue7:`var(--lobe-blue-7)`,blue8:`var(--lobe-blue-8)`,blue9:`var(--lobe-blue-9)`,blue10:`var(--lobe-blue-10)`,blue11:`var(--lobe-blue-11)`,blue1A:`var(--lobe-blue-1-a)`,blue2A:`var(--lobe-blue-2-a)`,blue3A:`var(--lobe-blue-3-a)`,blue4A:`var(--lobe-blue-4-a)`,blue5A:`var(--lobe-blue-5-a)`,blue6A:`var(--lobe-blue-6-a)`,blue7A:`var(--lobe-blue-7-a)`,blue8A:`var(--lobe-blue-8-a)`,blue9A:`var(--lobe-blue-9-a)`,blue10A:`var(--lobe-blue-10-a)`,blue11A:`var(--lobe-blue-11-a)`,blueFill:`var(--lobe-blue-fill)`,blueFillSecondary:`var(--lobe-blue-fill-secondary)`,blueFillTertiary:`var(--lobe-blue-fill-tertiary)`,blueFillQuaternary:`var(--lobe-blue-fill-quaternary)`,blueBg:`var(--lobe-blue-bg)`,blueBgHover:`var(--lobe-blue-bg-hover)`,blueBorder:`var(--lobe-blue-border)`,blueBorderSecondary:`var(--lobe-blue-border-secondary)`,blueBorderHover:`var(--lobe-blue-border-hover)`,blueHover:`var(--lobe-blue-hover)`,blue:`var(--lobe-blue)`,blueActive:`var(--lobe-blue-active)`,blueTextHover:`var(--lobe-blue-text-hover)`,blueText:`var(--lobe-blue-text)`,blueTextActive:`var(--lobe-blue-text-active)`,cyan1:`var(--lobe-cyan-1)`,cyan2:`var(--lobe-cyan-2)`,cyan3:`var(--lobe-cyan-3)`,cyan4:`var(--lobe-cyan-4)`,cyan5:`var(--lobe-cyan-5)`,cyan6:`var(--lobe-cyan-6)`,cyan7:`var(--lobe-cyan-7)`,cyan8:`var(--lobe-cyan-8)`,cyan9:`var(--lobe-cyan-9)`,cyan10:`var(--lobe-cyan-10)`,cyan11:`var(--lobe-cyan-11)`,cyan1A:`var(--lobe-cyan-1-a)`,cyan2A:`var(--lobe-cyan-2-a)`,cyan3A:`var(--lobe-cyan-3-a)`,cyan4A:`var(--lobe-cyan-4-a)`,cyan5A:`var(--lobe-cyan-5-a)`,cyan6A:`var(--lobe-cyan-6-a)`,cyan7A:`var(--lobe-cyan-7-a)`,cyan8A:`var(--lobe-cyan-8-a)`,cyan9A:`var(--lobe-cyan-9-a)`,cyan10A:`var(--lobe-cyan-10-a)`,cyan11A:`var(--lobe-cyan-11-a)`,cyanFill:`var(--lobe-cyan-fill)`,cyanFillSecondary:`var(--lobe-cyan-fill-secondary)`,cyanFillTertiary:`var(--lobe-cyan-fill-tertiary)`,cyanFillQuaternary:`var(--lobe-cyan-fill-quaternary)`,cyanBg:`var(--lobe-cyan-bg)`,cyanBgHover:`var(--lobe-cyan-bg-hover)`,cyanBorder:`var(--lobe-cyan-border)`,cyanBorderSecondary:`var(--lobe-cyan-border-secondary)`,cyanBorderHover:`var(--lobe-cyan-border-hover)`,cyanHover:`var(--lobe-cyan-hover)`,cyan:`var(--lobe-cyan)`,cyanActive:`var(--lobe-cyan-active)`,cyanTextHover:`var(--lobe-cyan-text-hover)`,cyanText:`var(--lobe-cyan-text)`,cyanTextActive:`var(--lobe-cyan-text-active)`,geekblue1:`var(--lobe-geekblue-1)`,geekblue2:`var(--lobe-geekblue-2)`,geekblue3:`var(--lobe-geekblue-3)`,geekblue4:`var(--lobe-geekblue-4)`,geekblue5:`var(--lobe-geekblue-5)`,geekblue6:`var(--lobe-geekblue-6)`,geekblue7:`var(--lobe-geekblue-7)`,geekblue8:`var(--lobe-geekblue-8)`,geekblue9:`var(--lobe-geekblue-9)`,geekblue10:`var(--lobe-geekblue-10)`,geekblue11:`var(--lobe-geekblue-11)`,geekblue1A:`var(--lobe-geekblue-1-a)`,geekblue2A:`var(--lobe-geekblue-2-a)`,geekblue3A:`var(--lobe-geekblue-3-a)`,geekblue4A:`var(--lobe-geekblue-4-a)`,geekblue5A:`var(--lobe-geekblue-5-a)`,geekblue6A:`var(--lobe-geekblue-6-a)`,geekblue7A:`var(--lobe-geekblue-7-a)`,geekblue8A:`var(--lobe-geekblue-8-a)`,geekblue9A:`var(--lobe-geekblue-9-a)`,geekblue10A:`var(--lobe-geekblue-10-a)`,geekblue11A:`var(--lobe-geekblue-11-a)`,geekblueFill:`var(--lobe-geekblue-fill)`,geekblueFillSecondary:`var(--lobe-geekblue-fill-secondary)`,geekblueFillTertiary:`var(--lobe-geekblue-fill-tertiary)`,geekblueFillQuaternary:`var(--lobe-geekblue-fill-quaternary)`,geekblueBg:`var(--lobe-geekblue-bg)`,geekblueBgHover:`var(--lobe-geekblue-bg-hover)`,geekblueBorder:`var(--lobe-geekblue-border)`,geekblueBorderSecondary:`var(--lobe-geekblue-border-secondary)`,geekblueBorderHover:`var(--lobe-geekblue-border-hover)`,geekblueHover:`var(--lobe-geekblue-hover)`,geekblue:`var(--lobe-geekblue)`,geekblueActive:`var(--lobe-geekblue-active)`,geekblueTextHover:`var(--lobe-geekblue-text-hover)`,geekblueText:`var(--lobe-geekblue-text)`,geekblueTextActive:`var(--lobe-geekblue-text-active)`,gold1:`var(--lobe-gold-1)`,gold2:`var(--lobe-gold-2)`,gold3:`var(--lobe-gold-3)`,gold4:`var(--lobe-gold-4)`,gold5:`var(--lobe-gold-5)`,gold6:`var(--lobe-gold-6)`,gold7:`var(--lobe-gold-7)`,gold8:`var(--lobe-gold-8)`,gold9:`var(--lobe-gold-9)`,gold10:`var(--lobe-gold-10)`,gold11:`var(--lobe-gold-11)`,gold1A:`var(--lobe-gold-1-a)`,gold2A:`var(--lobe-gold-2-a)`,gold3A:`var(--lobe-gold-3-a)`,gold4A:`var(--lobe-gold-4-a)`,gold5A:`var(--lobe-gold-5-a)`,gold6A:`var(--lobe-gold-6-a)`,gold7A:`var(--lobe-gold-7-a)`,gold8A:`var(--lobe-gold-8-a)`,gold9A:`var(--lobe-gold-9-a)`,gold10A:`var(--lobe-gold-10-a)`,gold11A:`var(--lobe-gold-11-a)`,goldFill:`var(--lobe-gold-fill)`,goldFillSecondary:`var(--lobe-gold-fill-secondary)`,goldFillTertiary:`var(--lobe-gold-fill-tertiary)`,goldFillQuaternary:`var(--lobe-gold-fill-quaternary)`,goldBg:`var(--lobe-gold-bg)`,goldBgHover:`var(--lobe-gold-bg-hover)`,goldBorder:`var(--lobe-gold-border)`,goldBorderSecondary:`var(--lobe-gold-border-secondary)`,goldBorderHover:`var(--lobe-gold-border-hover)`,goldHover:`var(--lobe-gold-hover)`,gold:`var(--lobe-gold)`,goldActive:`var(--lobe-gold-active)`,goldTextHover:`var(--lobe-gold-text-hover)`,goldText:`var(--lobe-gold-text)`,goldTextActive:`var(--lobe-gold-text-active)`,gray1:`var(--lobe-gray-1)`,gray2:`var(--lobe-gray-2)`,gray3:`var(--lobe-gray-3)`,gray4:`var(--lobe-gray-4)`,gray5:`var(--lobe-gray-5)`,gray6:`var(--lobe-gray-6)`,gray7:`var(--lobe-gray-7)`,gray8:`var(--lobe-gray-8)`,gray9:`var(--lobe-gray-9)`,gray10:`var(--lobe-gray-10)`,gray11:`var(--lobe-gray-11)`,gray1A:`var(--lobe-gray-1-a)`,gray2A:`var(--lobe-gray-2-a)`,gray3A:`var(--lobe-gray-3-a)`,gray4A:`var(--lobe-gray-4-a)`,gray5A:`var(--lobe-gray-5-a)`,gray6A:`var(--lobe-gray-6-a)`,gray7A:`var(--lobe-gray-7-a)`,gray8A:`var(--lobe-gray-8-a)`,gray9A:`var(--lobe-gray-9-a)`,gray10A:`var(--lobe-gray-10-a)`,gray11A:`var(--lobe-gray-11-a)`,grayFill:`var(--lobe-gray-fill)`,grayFillSecondary:`var(--lobe-gray-fill-secondary)`,grayFillTertiary:`var(--lobe-gray-fill-tertiary)`,grayFillQuaternary:`var(--lobe-gray-fill-quaternary)`,grayBg:`var(--lobe-gray-bg)`,grayBgHover:`var(--lobe-gray-bg-hover)`,grayBorder:`var(--lobe-gray-border)`,grayBorderSecondary:`var(--lobe-gray-border-secondary)`,grayBorderHover:`var(--lobe-gray-border-hover)`,grayHover:`var(--lobe-gray-hover)`,gray:`var(--lobe-gray)`,grayActive:`var(--lobe-gray-active)`,grayTextHover:`var(--lobe-gray-text-hover)`,grayText:`var(--lobe-gray-text)`,grayTextActive:`var(--lobe-gray-text-active)`,green1:`var(--lobe-green-1)`,green2:`var(--lobe-green-2)`,green3:`var(--lobe-green-3)`,green4:`var(--lobe-green-4)`,green5:`var(--lobe-green-5)`,green6:`var(--lobe-green-6)`,green7:`var(--lobe-green-7)`,green8:`var(--lobe-green-8)`,green9:`var(--lobe-green-9)`,green10:`var(--lobe-green-10)`,green11:`var(--lobe-green-11)`,green1A:`var(--lobe-green-1-a)`,green2A:`var(--lobe-green-2-a)`,green3A:`var(--lobe-green-3-a)`,green4A:`var(--lobe-green-4-a)`,green5A:`var(--lobe-green-5-a)`,green6A:`var(--lobe-green-6-a)`,green7A:`var(--lobe-green-7-a)`,green8A:`var(--lobe-green-8-a)`,green9A:`var(--lobe-green-9-a)`,green10A:`var(--lobe-green-10-a)`,green11A:`var(--lobe-green-11-a)`,greenFill:`var(--lobe-green-fill)`,greenFillSecondary:`var(--lobe-green-fill-secondary)`,greenFillTertiary:`var(--lobe-green-fill-tertiary)`,greenFillQuaternary:`var(--lobe-green-fill-quaternary)`,greenBg:`var(--lobe-green-bg)`,greenBgHover:`var(--lobe-green-bg-hover)`,greenBorder:`var(--lobe-green-border)`,greenBorderSecondary:`var(--lobe-green-border-secondary)`,greenBorderHover:`var(--lobe-green-border-hover)`,greenHover:`var(--lobe-green-hover)`,green:`var(--lobe-green)`,greenActive:`var(--lobe-green-active)`,greenTextHover:`var(--lobe-green-text-hover)`,greenText:`var(--lobe-green-text)`,greenTextActive:`var(--lobe-green-text-active)`,lime1:`var(--lobe-lime-1)`,lime2:`var(--lobe-lime-2)`,lime3:`var(--lobe-lime-3)`,lime4:`var(--lobe-lime-4)`,lime5:`var(--lobe-lime-5)`,lime6:`var(--lobe-lime-6)`,lime7:`var(--lobe-lime-7)`,lime8:`var(--lobe-lime-8)`,lime9:`var(--lobe-lime-9)`,lime10:`var(--lobe-lime-10)`,lime11:`var(--lobe-lime-11)`,lime1A:`var(--lobe-lime-1-a)`,lime2A:`var(--lobe-lime-2-a)`,lime3A:`var(--lobe-lime-3-a)`,lime4A:`var(--lobe-lime-4-a)`,lime5A:`var(--lobe-lime-5-a)`,lime6A:`var(--lobe-lime-6-a)`,lime7A:`var(--lobe-lime-7-a)`,lime8A:`var(--lobe-lime-8-a)`,lime9A:`var(--lobe-lime-9-a)`,lime10A:`var(--lobe-lime-10-a)`,lime11A:`var(--lobe-lime-11-a)`,limeFill:`var(--lobe-lime-fill)`,limeFillSecondary:`var(--lobe-lime-fill-secondary)`,limeFillTertiary:`var(--lobe-lime-fill-tertiary)`,limeFillQuaternary:`var(--lobe-lime-fill-quaternary)`,limeBg:`var(--lobe-lime-bg)`,limeBgHover:`var(--lobe-lime-bg-hover)`,limeBorder:`var(--lobe-lime-border)`,limeBorderSecondary:`var(--lobe-lime-border-secondary)`,limeBorderHover:`var(--lobe-lime-border-hover)`,limeHover:`var(--lobe-lime-hover)`,lime:`var(--lobe-lime)`,limeActive:`var(--lobe-lime-active)`,limeTextHover:`var(--lobe-lime-text-hover)`,limeText:`var(--lobe-lime-text)`,limeTextActive:`var(--lobe-lime-text-active)`,magenta1:`var(--lobe-magenta-1)`,magenta2:`var(--lobe-magenta-2)`,magenta3:`var(--lobe-magenta-3)`,magenta4:`var(--lobe-magenta-4)`,magenta5:`var(--lobe-magenta-5)`,magenta6:`var(--lobe-magenta-6)`,magenta7:`var(--lobe-magenta-7)`,magenta8:`var(--lobe-magenta-8)`,magenta9:`var(--lobe-magenta-9)`,magenta10:`var(--lobe-magenta-10)`,magenta11:`var(--lobe-magenta-11)`,magenta1A:`var(--lobe-magenta-1-a)`,magenta2A:`var(--lobe-magenta-2-a)`,magenta3A:`var(--lobe-magenta-3-a)`,magenta4A:`var(--lobe-magenta-4-a)`,magenta5A:`var(--lobe-magenta-5-a)`,magenta6A:`var(--lobe-magenta-6-a)`,magenta7A:`var(--lobe-magenta-7-a)`,magenta8A:`var(--lobe-magenta-8-a)`,magenta9A:`var(--lobe-magenta-9-a)`,magenta10A:`var(--lobe-magenta-10-a)`,magenta11A:`var(--lobe-magenta-11-a)`,magentaFill:`var(--lobe-magenta-fill)`,magentaFillSecondary:`var(--lobe-magenta-fill-secondary)`,magentaFillTertiary:`var(--lobe-magenta-fill-tertiary)`,magentaFillQuaternary:`var(--lobe-magenta-fill-quaternary)`,magentaBg:`var(--lobe-magenta-bg)`,magentaBgHover:`var(--lobe-magenta-bg-hover)`,magentaBorder:`var(--lobe-magenta-border)`,magentaBorderSecondary:`var(--lobe-magenta-border-secondary)`,magentaBorderHover:`var(--lobe-magenta-border-hover)`,magentaHover:`var(--lobe-magenta-hover)`,magenta:`var(--lobe-magenta)`,magentaActive:`var(--lobe-magenta-active)`,magentaTextHover:`var(--lobe-magenta-text-hover)`,magentaText:`var(--lobe-magenta-text)`,magentaTextActive:`var(--lobe-magenta-text-active)`,orange1:`var(--lobe-orange-1)`,orange2:`var(--lobe-orange-2)`,orange3:`var(--lobe-orange-3)`,orange4:`var(--lobe-orange-4)`,orange5:`var(--lobe-orange-5)`,orange6:`var(--lobe-orange-6)`,orange7:`var(--lobe-orange-7)`,orange8:`var(--lobe-orange-8)`,orange9:`var(--lobe-orange-9)`,orange10:`var(--lobe-orange-10)`,orange11:`var(--lobe-orange-11)`,orange1A:`var(--lobe-orange-1-a)`,orange2A:`var(--lobe-orange-2-a)`,orange3A:`var(--lobe-orange-3-a)`,orange4A:`var(--lobe-orange-4-a)`,orange5A:`var(--lobe-orange-5-a)`,orange6A:`var(--lobe-orange-6-a)`,orange7A:`var(--lobe-orange-7-a)`,orange8A:`var(--lobe-orange-8-a)`,orange9A:`var(--lobe-orange-9-a)`,orange10A:`var(--lobe-orange-10-a)`,orange11A:`var(--lobe-orange-11-a)`,orangeFill:`var(--lobe-orange-fill)`,orangeFillSecondary:`var(--lobe-orange-fill-secondary)`,orangeFillTertiary:`var(--lobe-orange-fill-tertiary)`,orangeFillQuaternary:`var(--lobe-orange-fill-quaternary)`,orangeBg:`var(--lobe-orange-bg)`,orangeBgHover:`var(--lobe-orange-bg-hover)`,orangeBorder:`var(--lobe-orange-border)`,orangeBorderSecondary:`var(--lobe-orange-border-secondary)`,orangeBorderHover:`var(--lobe-orange-border-hover)`,orangeHover:`var(--lobe-orange-hover)`,orange:`var(--lobe-orange)`,orangeActive:`var(--lobe-orange-active)`,orangeTextHover:`var(--lobe-orange-text-hover)`,orangeText:`var(--lobe-orange-text)`,orangeTextActive:`var(--lobe-orange-text-active)`,primary1:`var(--lobe-primary-1)`,primary2:`var(--lobe-primary-2)`,primary3:`var(--lobe-primary-3)`,primary4:`var(--lobe-primary-4)`,primary5:`var(--lobe-primary-5)`,primary6:`var(--lobe-primary-6)`,primary7:`var(--lobe-primary-7)`,primary8:`var(--lobe-primary-8)`,primary9:`var(--lobe-primary-9)`,primary10:`var(--lobe-primary-10)`,primary11:`var(--lobe-primary-11)`,primary1A:`var(--lobe-primary-1-a)`,primary2A:`var(--lobe-primary-2-a)`,primary3A:`var(--lobe-primary-3-a)`,primary4A:`var(--lobe-primary-4-a)`,primary5A:`var(--lobe-primary-5-a)`,primary6A:`var(--lobe-primary-6-a)`,primary7A:`var(--lobe-primary-7-a)`,primary8A:`var(--lobe-primary-8-a)`,primary9A:`var(--lobe-primary-9-a)`,primary10A:`var(--lobe-primary-10-a)`,primary11A:`var(--lobe-primary-11-a)`,primaryFill:`var(--lobe-primary-fill)`,primaryFillSecondary:`var(--lobe-primary-fill-secondary)`,primaryFillTertiary:`var(--lobe-primary-fill-tertiary)`,primaryFillQuaternary:`var(--lobe-primary-fill-quaternary)`,primaryBg:`var(--lobe-primary-bg)`,primaryBgHover:`var(--lobe-primary-bg-hover)`,primaryBorder:`var(--lobe-primary-border)`,primaryBorderSecondary:`var(--lobe-primary-border-secondary)`,primaryBorderHover:`var(--lobe-primary-border-hover)`,primaryHover:`var(--lobe-primary-hover)`,primary:`var(--lobe-primary)`,primaryActive:`var(--lobe-primary-active)`,primaryTextHover:`var(--lobe-primary-text-hover)`,primaryText:`var(--lobe-primary-text)`,primaryTextActive:`var(--lobe-primary-text-active)`,purple1:`var(--lobe-purple-1)`,purple2:`var(--lobe-purple-2)`,purple3:`var(--lobe-purple-3)`,purple4:`var(--lobe-purple-4)`,purple5:`var(--lobe-purple-5)`,purple6:`var(--lobe-purple-6)`,purple7:`var(--lobe-purple-7)`,purple8:`var(--lobe-purple-8)`,purple9:`var(--lobe-purple-9)`,purple10:`var(--lobe-purple-10)`,purple11:`var(--lobe-purple-11)`,purple1A:`var(--lobe-purple-1-a)`,purple2A:`var(--lobe-purple-2-a)`,purple3A:`var(--lobe-purple-3-a)`,purple4A:`var(--lobe-purple-4-a)`,purple5A:`var(--lobe-purple-5-a)`,purple6A:`var(--lobe-purple-6-a)`,purple7A:`var(--lobe-purple-7-a)`,purple8A:`var(--lobe-purple-8-a)`,purple9A:`var(--lobe-purple-9-a)`,purple10A:`var(--lobe-purple-10-a)`,purple11A:`var(--lobe-purple-11-a)`,purpleFill:`var(--lobe-purple-fill)`,purpleFillSecondary:`var(--lobe-purple-fill-secondary)`,purpleFillTertiary:`var(--lobe-purple-fill-tertiary)`,purpleFillQuaternary:`var(--lobe-purple-fill-quaternary)`,purpleBg:`var(--lobe-purple-bg)`,purpleBgHover:`var(--lobe-purple-bg-hover)`,purpleBorder:`var(--lobe-purple-border)`,purpleBorderSecondary:`var(--lobe-purple-border-secondary)`,purpleBorderHover:`var(--lobe-purple-border-hover)`,purpleHover:`var(--lobe-purple-hover)`,purple:`var(--lobe-purple)`,purpleActive:`var(--lobe-purple-active)`,purpleTextHover:`var(--lobe-purple-text-hover)`,purpleText:`var(--lobe-purple-text)`,purpleTextActive:`var(--lobe-purple-text-active)`,red1:`var(--lobe-red-1)`,red2:`var(--lobe-red-2)`,red3:`var(--lobe-red-3)`,red4:`var(--lobe-red-4)`,red5:`var(--lobe-red-5)`,red6:`var(--lobe-red-6)`,red7:`var(--lobe-red-7)`,red8:`var(--lobe-red-8)`,red9:`var(--lobe-red-9)`,red10:`var(--lobe-red-10)`,red11:`var(--lobe-red-11)`,red1A:`var(--lobe-red-1-a)`,red2A:`var(--lobe-red-2-a)`,red3A:`var(--lobe-red-3-a)`,red4A:`var(--lobe-red-4-a)`,red5A:`var(--lobe-red-5-a)`,red6A:`var(--lobe-red-6-a)`,red7A:`var(--lobe-red-7-a)`,red8A:`var(--lobe-red-8-a)`,red9A:`var(--lobe-red-9-a)`,red10A:`var(--lobe-red-10-a)`,red11A:`var(--lobe-red-11-a)`,redFill:`var(--lobe-red-fill)`,redFillSecondary:`var(--lobe-red-fill-secondary)`,redFillTertiary:`var(--lobe-red-fill-tertiary)`,redFillQuaternary:`var(--lobe-red-fill-quaternary)`,redBg:`var(--lobe-red-bg)`,redBgHover:`var(--lobe-red-bg-hover)`,redBorder:`var(--lobe-red-border)`,redBorderSecondary:`var(--lobe-red-border-secondary)`,redBorderHover:`var(--lobe-red-border-hover)`,redHover:`var(--lobe-red-hover)`,red:`var(--lobe-red)`,redActive:`var(--lobe-red-active)`,redTextHover:`var(--lobe-red-text-hover)`,redText:`var(--lobe-red-text)`,redTextActive:`var(--lobe-red-text-active)`,volcano1:`var(--lobe-volcano-1)`,volcano2:`var(--lobe-volcano-2)`,volcano3:`var(--lobe-volcano-3)`,volcano4:`var(--lobe-volcano-4)`,volcano5:`var(--lobe-volcano-5)`,volcano6:`var(--lobe-volcano-6)`,volcano7:`var(--lobe-volcano-7)`,volcano8:`var(--lobe-volcano-8)`,volcano9:`var(--lobe-volcano-9)`,volcano10:`var(--lobe-volcano-10)`,volcano11:`var(--lobe-volcano-11)`,volcano1A:`var(--lobe-volcano-1-a)`,volcano2A:`var(--lobe-volcano-2-a)`,volcano3A:`var(--lobe-volcano-3-a)`,volcano4A:`var(--lobe-volcano-4-a)`,volcano5A:`var(--lobe-volcano-5-a)`,volcano6A:`var(--lobe-volcano-6-a)`,volcano7A:`var(--lobe-volcano-7-a)`,volcano8A:`var(--lobe-volcano-8-a)`,volcano9A:`var(--lobe-volcano-9-a)`,volcano10A:`var(--lobe-volcano-10-a)`,volcano11A:`var(--lobe-volcano-11-a)`,volcanoFill:`var(--lobe-volcano-fill)`,volcanoFillSecondary:`var(--lobe-volcano-fill-secondary)`,volcanoFillTertiary:`var(--lobe-volcano-fill-tertiary)`,volcanoFillQuaternary:`var(--lobe-volcano-fill-quaternary)`,volcanoBg:`var(--lobe-volcano-bg)`,volcanoBgHover:`var(--lobe-volcano-bg-hover)`,volcanoBorder:`var(--lobe-volcano-border)`,volcanoBorderSecondary:`var(--lobe-volcano-border-secondary)`,volcanoBorderHover:`var(--lobe-volcano-border-hover)`,volcanoHover:`var(--lobe-volcano-hover)`,volcano:`var(--lobe-volcano)`,volcanoActive:`var(--lobe-volcano-active)`,volcanoTextHover:`var(--lobe-volcano-text-hover)`,volcanoText:`var(--lobe-volcano-text)`,volcanoTextActive:`var(--lobe-volcano-text-active)`,yellow1:`var(--lobe-yellow-1)`,yellow2:`var(--lobe-yellow-2)`,yellow3:`var(--lobe-yellow-3)`,yellow4:`var(--lobe-yellow-4)`,yellow5:`var(--lobe-yellow-5)`,yellow6:`var(--lobe-yellow-6)`,yellow7:`var(--lobe-yellow-7)`,yellow8:`var(--lobe-yellow-8)`,yellow9:`var(--lobe-yellow-9)`,yellow10:`var(--lobe-yellow-10)`,yellow11:`var(--lobe-yellow-11)`,yellow1A:`var(--lobe-yellow-1-a)`,yellow2A:`var(--lobe-yellow-2-a)`,yellow3A:`var(--lobe-yellow-3-a)`,yellow4A:`var(--lobe-yellow-4-a)`,yellow5A:`var(--lobe-yellow-5-a)`,yellow6A:`var(--lobe-yellow-6-a)`,yellow7A:`var(--lobe-yellow-7-a)`,yellow8A:`var(--lobe-yellow-8-a)`,yellow9A:`var(--lobe-yellow-9-a)`,yellow10A:`var(--lobe-yellow-10-a)`,yellow11A:`var(--lobe-yellow-11-a)`,yellowFill:`var(--lobe-yellow-fill)`,yellowFillSecondary:`var(--lobe-yellow-fill-secondary)`,yellowFillTertiary:`var(--lobe-yellow-fill-tertiary)`,yellowFillQuaternary:`var(--lobe-yellow-fill-quaternary)`,yellowBg:`var(--lobe-yellow-bg)`,yellowBgHover:`var(--lobe-yellow-bg-hover)`,yellowBorder:`var(--lobe-yellow-border)`,yellowBorderSecondary:`var(--lobe-yellow-border-secondary)`,yellowBorderHover:`var(--lobe-yellow-border-hover)`,yellowHover:`var(--lobe-yellow-hover)`,yellow:`var(--lobe-yellow)`,yellowActive:`var(--lobe-yellow-active)`,yellowTextHover:`var(--lobe-yellow-text-hover)`,yellowText:`var(--lobe-yellow-text)`,yellowTextActive:`var(--lobe-yellow-text-active)`,boxShadow:`var(--lobe-box-shadow)`,boxShadowSecondary:`var(--lobe-box-shadow-secondary)`,boxShadowTertiary:`var(--lobe-box-shadow-tertiary)`,colorErrorAffix:`var(--lobe-color-error-affix)`,colorHighlight:`var(--lobe-color-highlight)`,colorLink:`var(--lobe-color-link)`,colorLinkActive:`var(--lobe-color-link-active)`,colorLinkHover:`var(--lobe-color-link-hover)`,colorWarningAffix:`var(--lobe-color-warning-affix)`,colorPrimaryFill:`var(--lobe-color-primary-fill)`,colorPrimaryFillSecondary:`var(--lobe-color-primary-fill-secondary)`,colorPrimaryFillTertiary:`var(--lobe-color-primary-fill-tertiary)`,colorPrimaryFillQuaternary:`var(--lobe-color-primary-fill-quaternary)`,colorPrimaryBg:`var(--lobe-color-primary-bg)`,colorPrimaryBgHover:`var(--lobe-color-primary-bg-hover)`,colorPrimaryBorder:`var(--lobe-color-primary-border)`,colorPrimaryBorderHover:`var(--lobe-color-primary-border-hover)`,colorPrimaryHover:`var(--lobe-color-primary-hover)`,colorPrimary:`var(--lobe-color-primary)`,colorPrimaryActive:`var(--lobe-color-primary-active)`,colorPrimaryTextHover:`var(--lobe-color-primary-text-hover)`,colorPrimaryText:`var(--lobe-color-primary-text)`,colorPrimaryTextActive:`var(--lobe-color-primary-text-active)`,controlItemBgActive:`var(--lobe-control-item-bg-active)`,controlItemBgActiveHover:`var(--lobe-control-item-bg-active-hover)`,colorBgContainer:`var(--lobe-color-bg-container)`,colorBgElevated:`var(--lobe-color-bg-elevated)`,colorBgLayout:`var(--lobe-color-bg-layout)`,colorBgMask:`var(--lobe-color-bg-mask)`,colorBgSpotlight:`var(--lobe-color-bg-spotlight)`,colorBorder:`var(--lobe-color-border)`,colorBorderSecondary:`var(--lobe-color-border-secondary)`,colorFill:`var(--lobe-color-fill)`,colorFillQuaternary:`var(--lobe-color-fill-quaternary)`,colorFillSecondary:`var(--lobe-color-fill-secondary)`,colorFillTertiary:`var(--lobe-color-fill-tertiary)`,colorText:`var(--lobe-color-text)`,colorTextQuaternary:`var(--lobe-color-text-quaternary)`,colorTextSecondary:`var(--lobe-color-text-secondary)`,colorTextTertiary:`var(--lobe-color-text-tertiary)`,colorBgContainerDisabled:`var(--lobe-color-bg-container-disabled)`,colorBgContainerSecondary:`var(--lobe-color-bg-container-secondary)`,colorBgTextActive:`var(--lobe-color-bg-text-active)`,colorBgTextHover:`var(--lobe-color-bg-text-hover)`,colorBorderBg:`var(--lobe-color-border-bg)`,colorErrorOutline:`var(--lobe-color-error-outline)`,colorFillAlter:`var(--lobe-color-fill-alter)`,colorFillContent:`var(--lobe-color-fill-content)`,colorFillContentHover:`var(--lobe-color-fill-content-hover)`,colorIcon:`var(--lobe-color-icon)`,colorIconHover:`var(--lobe-color-icon-hover)`,colorSplit:`var(--lobe-color-split)`,colorTextDescription:`var(--lobe-color-text-description)`,colorTextDisabled:`var(--lobe-color-text-disabled)`,colorTextHeading:`var(--lobe-color-text-heading)`,colorTextLabel:`var(--lobe-color-text-label)`,colorTextPlaceholder:`var(--lobe-color-text-placeholder)`,colorWarningOutline:`var(--lobe-color-warning-outline)`,controlItemBgActiveDisabled:`var(--lobe-control-item-bg-active-disabled)`,controlItemBgHover:`var(--lobe-control-item-bg-hover)`,controlTmpOutline:`var(--lobe-control-tmp-outline)`};`${di.colorError}`,`${di.colorError}`,`${di.colorText}${di.colorBorder}`,`${di.colorFillTertiary}${di.colorFillTertiary}`,`${di.colorFillSecondary}${di.colorFillSecondary}`,`${di.colorError}`,`${di.colorError}`,`${di.colorError}`,`${di.colorError}`,`${di.colorError}`,`${di.colorError}`,`${di.colorError}`,`${di.colorError}${di.colorBgContainer}`,`${di.colorError}${di.colorBgContainer}`;var K={base:{kVAM5u:`lbqnr5ac`,ksu8eU:`lb1y0btm7`,kMzoRj:`lbmkeg23`,kOIVth:`lb17d4w8g`,kybGjl:`lb1hl2dhg`,kmkexE:`lb15xd0no`,kGNEyG:`lb6s0dn4`,kB7OPa:`lb9f619`,kkrTdU:`lb1ypdohk lb126qsmr`,k1xSpc:`lb3nfvp2`,k63SB2:`lbk50ysn`,kjj79g:`lbl56j7k`,kLWn49:`lbo5v014`,kSiTet:`lby3kg0r`,kfzvcC:`lb1cp6yjb`,kVAEAm:`lb1n2onr6`,khDVqt:`lbuxw1ft`,$$css:!0},sizeSmall:{"--button-padding-inline":`lb1xvjv2a`,kaIpWk:`lb1vihcfj`,kg3NbH:`lb1v42klx`,kGuDYH:`lbfifm61`,kZKoxP:`lbxk0z11`,$$css:!0},sizeMiddle:{"--button-padding-inline":`lb1l3x1nm`,kaIpWk:`lb1vihcfj`,kg3NbH:`lb1v42klx`,kGuDYH:`lb4z9k3i`,kZKoxP:`lb10w6t97`,$$css:!0},sizeLarge:{"--button-padding-inline":`lb1r8q1i9`,kaIpWk:`lb1sbi92r`,kg3NbH:`lb1v42klx`,kGuDYH:`lbif65rj`,kZKoxP:`lb1vqgdyp`,$$css:!0},outdentStart:{keTefX:`lbugkenv`,$$css:!0},outdentEnd:{k71WvV:`lb8o6c4q`,$$css:!0},shapeCircle:{kaIpWk:`lb16rqkct`,kg3NbH:`lbnjsko4`,$$css:!0},shapeRound:{kaIpWk:`lb1e6avla`,$$css:!0},block:{kzqmXN:`lbh8yej3`,$$css:!0},iconEnd:{kXwgrk:`lb15zctf7`,$$css:!0},iconOnlySmall:{"--button-padding-inline":`lb1wdnxgk`,kg3NbH:`lbnjsko4`,kzqmXN:`lbvy4d1p`,$$css:!0},iconOnlyMiddle:{"--button-padding-inline":`lb1wdnxgk`,kg3NbH:`lbnjsko4`,kzqmXN:`lb1td3qas`,$$css:!0},iconOnlyLarge:{"--button-padding-inline":`lb1wdnxgk`,kg3NbH:`lbnjsko4`,kzqmXN:`lb100vrsf`,$$css:!0},iconBox:{kGNEyG:`lb6s0dn4`,k1xSpc:`lb3nfvp2`,kjj79g:`lbl56j7k`,$$css:!0},spinnerSlot:{kVQacm:`lbb3r6kr`,kmkexE:`lb10tmjme`,k71WvV:`lb1ws5yxj`,kSiTet:`lbg01cxk`,kzqmXN:`lbnalus7`,$$css:!0},spinnerSlotEnd:{k71WvV:`lb14z9mp`,keTefX:`lbw01apr`,$$css:!0},spinnerSlotShow:{k71WvV:`lb14z9mp`,keTefX:`lb1lziwak`,kSiTet:`lb1hc1fzr`,kzqmXN:`lbsmyaan`,$$css:!0},variantDefault:{kVAM5u:`lbqnr5ac lbv4eugq`,kWkggS:`lb6yijhg`,kKwaWg:`lb1hdlj1n lbx7ggy6`,kMwMTN:`lb66ogz0`,$$css:!0},variantPrimary:{kVAM5u:`lb13w8tc6 lb1jy2tmp lbiuvf2s lbba5owj`,kWkggS:`lb65u3hq lb1hsafae lb1n16ko lbep1hoi`,kMwMTN:`lb15g0kca`,$$css:!0},variantDashed:{kVAM5u:`lbqnr5ac lbv4eugq`,ksu8eU:`lbbsl7fq`,kWkggS:`lb6yijhg`,kKwaWg:`lb1hdlj1n lbx7ggy6`,kMwMTN:`lb66ogz0`,$$css:!0},variantFill:{kVAM5u:`lb9r1u3d`,kWkggS:`lb1qlulce lbaljia1 lb5d67gy`,kMwMTN:`lb66ogz0`,$$css:!0},variantText:{kVAM5u:`lb9r1u3d`,kWkggS:`lbjbqb8w lb1f5ares`,kMwMTN:`lb66ogz0`,$$css:!0},variantLink:{kVAM5u:`lb9r1u3d`,kg3NbH:`lbnjsko4`,kWkggS:`lbjbqb8w`,kMwMTN:`lb16owwnm lbvdzly1`,$$css:!0},dangerOutlined:{kVAM5u:`lb1mpi7gh lbs8cwth`,kWkggS:`lb1saschm lb6yijhg lbzxaxr6`,kKwaWg:null,kMwMTN:`lb12ap7uz`,$$css:!0},dangerSolid:{kVAM5u:`lb1dvy257 lb11fhi00 lb2949mz lb1e5ynfq`,kWkggS:`lb15l4kc2 lbixdnzb lb1mog8ep lb1gj3nph`,kMwMTN:`lb15g0kca`,$$css:!0},dangerFill:{kVAM5u:`lb9r1u3d`,kWkggS:`lbrq8w1b lb1f2tfg0 lb1lf6bdk`,kMwMTN:`lb12ap7uz`,$$css:!0},dangerText:{kWkggS:`lb14kxky9 lbjbqb8w lb3lzv3l`,kMwMTN:`lb12ap7uz`,$$css:!0},dangerInline:{kMwMTN:`lb12ap7uz lbcu7z5f`,$$css:!0},ghostDefault:{kVAM5u:`lb9r1u3d`,kWkggS:`lb1qlulce lbjbqb8w lb5d67gy`,kMwMTN:`lb66ogz0`,$$css:!0},ghostPrimary:{kVAM5u:`lb9r1u3d`,kWkggS:`lb1qlulce lbjbqb8w lb5d67gy`,kMwMTN:`lbjwxqu3 lb16owwnm lbpro1qx`,$$css:!0},ghostDanger:{kVAM5u:`lb9r1u3d`,kWkggS:`lb14kxky9 lbjbqb8w lb3lzv3l`,kMwMTN:`lb12ap7uz`,$$css:!0},spinner:{kVAM5u:`lb181nr7w`,kaIpWk:`lb16rqkct`,ksu8eU:`lb1y0btm7`,kMzoRj:`lbvndefy`,k44tkh:`lbdz8niu`,ko0y90:`lba4qsjk`,kKVMdj:`lb1v0ides`,kyAemX:`lb1esw782`,kLZC3w:`lb1v8p93f`,k1xSpc:`lb1rg5ohu`,kZKoxP:`lb1kpxq89`,kzqmXN:`lbsmyaan`,$$css:!0}};Object.fromEntries(Object.entries(K).map(([e,t])=>[e,ue(t).className??``]));var fi=re({block:`button`,dataAttributes:[`type`,`size`,`shape`,`danger`,`ghost`,`loading`,`block`],elements:[`icon`,`spinner`]});re({block:`split-button`,dataAttributes:[`type`,`size`,`danger`,`loading`],elements:[`main`,`menu`]});var pi=e=>e==null?null:(0,N.isValidElement)(e)||typeof e==`string`||typeof e==`number`?e:(0,P.jsx)(ui,{icon:e,size:`small`}),mi=e=>e===`small`?K.sizeSmall:e===`large`?K.sizeLarge:K.sizeMiddle,hi=e=>e===`small`?K.iconOnlySmall:e===`large`?K.iconOnlyLarge:K.iconOnlyMiddle,gi=({danger:e,ghost:t,type:n})=>{if(t&&n!==`text`&&n!==`link`)return e?K.ghostDanger:n===`primary`?K.ghostPrimary:K.ghostDefault;switch(n){case`primary`:return e?K.dangerSolid:K.variantPrimary;case`dashed`:return e?[K.variantDashed,K.dangerOutlined]:K.variantDashed;case`fill`:return e?K.dangerFill:K.variantFill;case`text`:return e?[K.variantText,K.dangerText]:K.variantText;case`link`:return e?[K.variantLink,K.dangerInline]:K.variantLink;default:return e?[K.variantDefault,K.dangerOutlined]:K.variantDefault}},_i={scale:.98},vi={damping:26,mass:.6,stiffness:600,type:`spring`},yi=({block:e,children:t,className:n,classNames:r,danger:i=!1,disabled:a,outdent:o,ghost:s=!1,href:c,htmlType:l=`button`,icon:u,iconPosition:d=`start`,loading:f,onClick:p,ref:m,shape:h=`default`,size:g=`middle`,stableData:_,styles:v,target:y,type:b=`default`,xstyle:x,...S})=>{let C=F(),w=a||f,T=mi(g),E=gi({danger:i,ghost:s,type:b}),D=h===`circle`?K.shapeCircle:h===`round`?K.shapeRound:void 0,O=(t==null||t===!1||t===``)&&(f||u)?hi(g):void 0,ee=b===`text`&&o?o===`end`?K.outdentEnd:K.outdentStart:void 0,k=H([K.base,de.info,T,E,D,e&&K.block,d===`end`&&K.iconEnd,O,ee,x],se(fi(),n)).className,A=_??ae({block:e,danger:i,ghost:s,loading:f,shape:h,size:g,type:b}),j=(0,P.jsx)(`span`,{"aria-hidden":!f,...H([K.iconBox,K.spinnerSlot,d===`end`&&K.spinnerSlotEnd,f&&K.spinnerSlotShow],se(fi(`spinner`),r?.icon),v?.icon),children:(0,P.jsx)(`span`,{...ue(K.spinner)})}),M=u&&!f?(0,P.jsx)(`span`,{...H(K.iconBox,se(fi(`icon`),r?.icon),v?.icon),children:pi(u)}):null,N=(0,P.jsxs)(P.Fragment,{children:[j,M,t]}),te=w?{}:{transition:vi,whileTap:_i};if(c!==void 0){let e=e=>{w?e.preventDefault():p?.(e)};return(0,P.jsx)(C.a,{"aria-busy":f||void 0,"aria-disabled":w||void 0,href:a?void 0:c,target:y,...A,...S,className:k,ref:m,onClick:e,...te,children:N})}let I=e=>{w?e.preventDefault():p?.(e)};return(0,P.jsx)(C.button,{type:l,...A,...S,"aria-busy":f||void 0,"aria-disabled":w||void 0,className:k,disabled:a,ref:m,onClick:I,...te,children:N})};yi.displayName=`BaseButton`;var bi=yi,xi=(e,t)=>{if(t)return`row`;switch(e){case`horizontal`:return`row`;case`horizontal-reverse`:return`row-reverse`;case`vertical`:default:return`column`;case`vertical-reverse`:return`column-reverse`}},Si=e=>{if(e)return[`space-between`,`space-around`,`space-evenly`].includes(e)},Ci=(e,t)=>xi(e,t)===`row`,wi=e=>typeof e==`number`?`${e}px`:e,Ti=(0,N.memo)(({visible:e,flex:t,gap:n,direction:r,horizontal:i,align:a,justify:o,distribution:s,height:c,width:l,allowShrink:u,padding:d,paddingInline:f,paddingBlock:p,prefixCls:m,as:h=`div`,className:g,style:_,children:v,wrap:y,ref:b,...x})=>{let S=o||s,C=Ci(r,i)&&!l&&Si(S)?`100%`:wi(l),w={...t===void 0?{}:{"--lobe-flex":String(t)},...r||i?{"--lobe-flex-direction":xi(r,i)}:{},...y===void 0?{}:{"--lobe-flex-wrap":y},...S===void 0?{}:{"--lobe-flex-justify":S},...a===void 0?{}:{"--lobe-flex-align":a},...C===void 0?{}:{"--lobe-flex-width":C},...c===void 0?{}:{"--lobe-flex-height":wi(c)},...d===void 0?{}:{"--lobe-flex-padding":wi(d)},...f===void 0?{}:{"--lobe-flex-padding-inline":wi(f)},...p===void 0?{}:{"--lobe-flex-padding-block":wi(p)},...n===void 0?{}:{"--lobe-flex-gap":wi(n)},...u?{minWidth:0}:{},..._},T=`lobe-flex`,E=[T,e===!1?`${T}--hidden`:void 0,m?`${m}-flex`:void 0,g].filter(Boolean).join(` `);return(0,P.jsx)(h,{ref:b,...x,className:E,style:w,children:v})});re({block:`flex`,elements:[]});var Ei=re({block:`center`,elements:[]}),Di=({children:e,className:t,ref:n,...r})=>(0,P.jsx)(Ti,{...r,align:`center`,className:se(Ei(),t),justify:`center`,ref:n,children:e}),Oi={error:{dark:[`#190a09`,`#340b0c`,`#4b141a`,`#641f24`,`#8a3334`,`#aa3f3e`,`#b53a3a`,`#be3738`,`#d64242`,`#e95350`,`#ffa8a0`,`#ffe1df`,`#fff8f7`],darkA:[`rgba(250, 100, 90, 0.1)`,`rgba(248, 52, 57, 0.21)`,`rgba(250, 67, 87, 0.3)`,`rgba(250, 78, 90, 0.4)`,`rgba(251, 93, 95, 0.55)`,`rgba(254, 94, 93, 0.67)`,`rgba(255, 82, 82, 0.71)`,`rgba(253, 73, 75, 0.75)`,`rgba(255, 79, 79, 0.84)`,`rgba(253, 90, 87, 0.92)`,`#ffa8a0`,`#ffe1df`,`#fff8f7`],light:[`#ffffff`,`#fef8f7`,`#fff0ee`,`#ffe7e4`,`#ffded8`,`#ffcec5`,`#ffb9ab`,`#ff9c88`,`#ff775c`,`#f35837`,`#ce461e`,`#9b3206`,`#64260f`],lightA:[`rgba(255, 255, 255, 0.01)`,`rgba(230, 80, 55, 0.04)`,`rgba(255, 41, 12, 0.07)`,`rgba(255, 37, 10, 0.11)`,`rgba(255, 49, 11, 0.16)`,`rgba(255, 42, 3, 0.23)`,`rgba(255, 43, 0, 0.33)`,`rgba(255, 44, 2, 0.47)`,`rgba(255, 43, 0, 0.64)`,`rgba(240, 44, 2, 0.79)`,`#ce461e`,`#9b3206`,`#64260f`]},info:{dark:[`#060f18`,`#001a35`,`#002949`,`#003961`,`#005389`,`#0067a9`,`#007cc9`,`#0091eb`,`#00a2fe`,`#4cb3ff`,`#9cdaff`,`#cfedfd`,`#f8f9ff`],darkA:[`rgba(60, 150, 240, 0.1)`,`rgba(0, 124, 252, 0.21)`,`rgba(0, 141, 252, 0.29)`,`rgba(0, 150, 255, 0.38)`,`rgba(0, 154, 254, 0.54)`,`rgba(0, 154, 252, 0.67)`,`rgba(0, 157, 254, 0.79)`,`rgba(0, 158, 255, 0.92)`,`#00a2fe`,`#4cb3ff`,`#9cdaff`,`#cfedfd`,`#f8f9ff`],light:[`#ffffff`,`#f8f9ff`,`#edf4ff`,`#e3edff`,`#d7e6ff`,`#c0d9ff`,`#a0c7ff`,`#72aeff`,`#2c91ff`,`#0076e3`,`#0060cc`,`#004ebf`,`#1b3671`],lightA:[`rgba(255, 255, 255, 0.01)`,`rgba(22, 55, 255, 0.03)`,`rgba(30, 117, 255, 0.08)`,`rgba(0, 91, 255, 0.11)`,`rgba(5, 99, 255, 0.16)`,`rgba(3, 103, 255, 0.25)`,`rgba(5, 108, 255, 0.38)`,`rgba(3, 110, 255, 0.56)`,`rgba(1, 122, 255, 0.83)`,`#0076e3`,`#0060cc`,`#004ebf`,`#1b3671`]},success:{dark:[`#0a1004`,`#061f00`,`#102e00`,`#1c3f00`,`#315a09`,`#3e6f06`,`#518b03`,`#67a70a`,`#71b814`,`#80c933`,`#bae48c`,`#deeec7`,`#f9faef`],darkA:[`rgba(143, 229, 57, 0.07)`,`rgba(46, 238, 0, 0.13)`,`rgba(84, 242, 0, 0.19)`,`rgba(112, 252, 0, 0.25)`,`rgba(136, 250, 25, 0.36)`,`rgba(141, 252, 14, 0.44)`,`rgba(147, 253, 5, 0.55)`,`rgba(156, 253, 15, 0.66)`,`rgba(155, 252, 27, 0.73)`,`rgba(162, 254, 65, 0.79)`,`#bae48c`,`#deeec7`,`#f9faef`],light:[`#ffffff`,`#f8fbf1`,`#eef6e6`,`#e1f1d9`,`#d4eccc`,`#bde3b6`,`#a0d89c`,`#71c87a`,`#30b556`,`#00a03f`,`#00864e`,`#006342`,`#00422b`],lightA:[`rgba(255, 255, 255, 0.01)`,`rgba(138, 188, 22, 0.06)`,`rgba(85, 165, 5, 0.1)`,`rgba(55, 162, 2, 0.15)`,`rgba(40, 160, 0, 0.2)`,`rgba(27, 158, 3, 0.29)`,`rgba(11, 155, 1, 0.39)`,`rgba(1, 157, 18, 0.56)`,`rgba(3, 165, 49, 0.82)`,`#00a03f`,`#00864e`,`#006342`,`#00422b`]},warning:{dark:[`#150d02`,`#251700`,`#3c2200`,`#512f00`,`#724600`,`#8d5700`,`#ae6e00`,`#e39a00`,`#f6aa00`,`#ffbe45`,`#ffdd9c`,`#ffe5b8`,`#fff8f3`],darkA:[`rgba(233, 144, 22, 0.09)`,`rgba(247, 153, 0, 0.15)`,`rgba(250, 142, 0, 0.24)`,`rgba(253, 147, 0, 0.32)`,`rgba(253, 156, 0, 0.45)`,`rgba(252, 155, 0, 0.56)`,`rgba(252, 159, 0, 0.69)`,`rgba(255, 173, 0, 0.89)`,`rgba(254, 175, 0, 0.97)`,`#ffbe45`,`#ffdd9c`,`#ffe5b8`,`#fff8f3`],light:[`#ffffff`,`#fff8f3`,`#fff2e2`,`#ffe9cc`,`#ffe1b3`,`#ffda9a`,`#ffd17f`,`#ffca61`,`#ffbe2b`,`#feb400`,`#d78f00`,`#6d5200`,`#4a3600`],lightA:[`rgba(255, 255, 255, 0.01)`,`rgba(255, 115, 15, 0.05)`,`rgba(255, 147, 13, 0.12)`,`rgba(255, 145, 0, 0.2)`,`rgba(255, 155, 2, 0.3)`,`rgba(255, 163, 3, 0.4)`,`rgba(255, 165, 4, 0.51)`,`rgba(255, 170, 0, 0.62)`,`rgba(255, 177, 0, 0.83)`,`#feb400`,`#d78f00`,`#6d5200`,`#4a3600`]}},ki=new Map,Ai=e=>!!e&&ki.has(e),ji=e=>Ai(e)?{...Oi,...ki.get(e)}:Oi,Mi={dark:[`#000000`,`#0d0d0d`,`#1a1a1a`,`#202020`,`#2d2d2d`,`#444444`,`#555555`,`#666666`,`#6f6f6f`,`#777777`,`#aaaaaa`,`#dddddd`,`#ffffff`],darkA:[`rgba(255, 255, 255, 0.02)`,`rgba(255, 255, 255, 0.06)`,`rgba(255, 255, 255, 0.10)`,`rgba(255, 255, 255, 0.16)`,`rgba(255, 255, 255, 0.24)`,`rgba(255, 255, 255, 0.28)`,`rgba(255, 255, 255, 0.32)`,`rgba(255, 255, 255, 0.38)`,`rgba(255, 255, 255, 0.44)`,`rgba(255, 255, 255, 0.5)`,`rgba(255, 255, 255, 0.66)`,`rgba(255, 255, 255, 0.84)`,`#ffffff`],light:[`#ffffff`,`#f8f8f8`,`#eeeeee`,`#e3e3e3`,`#dddddd`,`#cccccc`,`#bbbbbb`,`#aaaaaa`,`#999999`,`#888888`,`#666666`,`#333333`,`#080808`],lightA:[`rgba(0, 0, 0, 0.015)`,`rgba(0, 0, 0, 0.03)`,`rgba(0, 0, 0, 0.06)`,`rgba(0, 0, 0, 0.12)`,`rgba(0, 0, 0, 0.18)`,`rgba(0, 0, 0, 0.24)`,`rgba(0, 0, 0, 0.32)`,`rgba(0, 0, 0, 0.38)`,`rgba(0, 0, 0, 0.44)`,`rgba(0, 0, 0, 0.5)`,`rgba(0, 0, 0, 0.68)`,`rgba(0, 0, 0, 0.84)`,`rgba(0, 0, 0, 0.98)`]},Ni={dark:[`#000000`,`#1c1b1e`,`#252528`,`#2f2f32`,`#3a393d`,`#454448`,`#504f53`,`#5b5a5f`,`#67666a`,`#737177`,`#7f7d83`,`#bbb9bd`,`#ffffff`],darkA:[`rgba(255, 255, 255, 0.02)`,`rgba(233, 225, 250, 0.12)`,`rgba(231, 231, 250, 0.16)`,`rgba(235, 235, 250, 0.2)`,`rgba(242, 237, 254, 0.24)`,`rgba(238, 234, 248, 0.29)`,`rgba(242, 239, 252, 0.33)`,`rgba(239, 237, 250, 0.38)`,`rgba(245, 243, 252, 0.42)`,`rgba(245, 240, 253, 0.47)`,`rgba(244, 240, 252, 0.52)`,`rgba(253, 250, 255, 0.74)`,`#ffffff`],light:[`#ffffff`,`#fcf8fb`,`#edeaed`,`#dfdcdf`,`#d1ced2`,`#c2c0c4`,`#b4b2b7`,`#a7a4a9`,`#99979c`,`#8c8a90`,`#7f7d83`,`#4a494d`,`#111`],lightA:[`rgba(0, 0, 0, 0.015)`,`rgba(155, 22, 122, 0.03)`,`rgba(55, 22, 55, 0.09)`,`rgba(26, 5, 26, 0.14)`,`rgba(25, 10, 30, 0.2)`,`rgba(11, 3, 19, 0.25)`,`rgba(13, 7, 23, 0.31)`,`rgba(11, 2, 16, 0.36)`,`rgba(6, 1, 14, 0.41)`,`rgba(5, 1, 14, 0.46)`,`rgba(4, 0, 12, 0.51)`,`rgba(4, 2, 8, 0.72)`,`rgba(3, 2, 5, 0.9)`]},Pi={dark:[`#000000`,`#1a1c1b`,`#232624`,`#2d302e`,`#383a38`,`#424542`,`#4d504d`,`#585c58`,`#646763`,`#70736e`,`#7c7f79`,`#b9bab5`,`#ffffff`],darkA:[`rgba(255, 255, 255, 0.02)`,`rgba(236, 255, 245, 0.11)`,`rgba(233, 253, 240, 0.15)`,`rgba(237, 253, 242, 0.19)`,`rgba(243, 252, 243, 0.23)`,`rgba(236, 246, 236, 0.28)`,`rgba(241, 250, 241, 0.32)`,`rgba(238, 249, 238, 0.37)`,`rgba(244, 251, 241, 0.41)`,`rgba(243, 250, 239, 0.46)`,`rgba(248, 254, 242, 0.5)`,`rgba(253, 255, 248, 0.73)`,`#ffffff`],light:[`#ffffff`,`#faf9f4`,`#ecebe6`,`#ddddd7`,`#cfcfc9`,`#c0c1bb`,`#b2b4ae`,`#a4a6a0`,`#969993`,`#898c86`,`#7c7f79`,`#484b48`,`#111`],lightA:[`rgba(0, 0, 0, 0.015)`,`rgba(155, 135, 35, 0.05)`,`rgba(65, 55, 5, 0.1)`,`rgba(43, 43, 5, 0.16)`,`rgba(37, 37, 10, 0.22)`,`rgba(22, 25, 3, 0.27)`,`rgba(14, 21, 2, 0.32)`,`rgba(16, 21, 5, 0.38)`,`rgba(11, 18, 4, 0.43)`,`rgba(9, 15, 3, 0.48)`,`rgba(8, 13, 2, 0.53)`,`rgba(1, 5, 1, 0.72)`,`rgba(1, 3, 2, 0.9)`]},Fi={dark:[`#000000`,`#1a1b1c`,`#232526`,`#2d2f30`,`#383a3a`,`#424545`,`#4d5050`,`#585c5c`,`#636766`,`#6e7371`,`#797f7c`,`#b5bab6`,`#ffffff`],darkA:[`rgba(255, 255, 255, 0.02)`,`rgba(236, 246, 255, 0.11)`,`rgba(233, 246, 253, 0.15)`,`rgba(237, 248, 253, 0.19)`,`rgba(243, 252, 252, 0.23)`,`rgba(236, 246, 246, 0.28)`,`rgba(241, 250, 250, 0.32)`,`rgba(238, 249, 249, 0.37)`,`rgba(241, 251, 248, 0.41)`,`rgba(239, 250, 246, 0.46)`,`rgba(242, 254, 248, 0.5)`,`rgba(248, 255, 250, 0.73)`,`rgba(255, 255, 255, 1)`],light:[`#ffffff`,`#f5faf4`,`#e7ece6`,`#d7ddd7`,`#c9cfc9`,`#bbc1bc`,`#aeb4b0`,`#a0a6a2`,`#939996`,`#868c89`,`#797f7c`,`#484b4b`,`#111111`],lightA:[`rgba(0, 0, 0, 0.015)`,`rgba(55, 155, 35, 0.05)`,`rgba(15, 65, 5, 0.1)`,`rgba(5, 43, 5, 0.16)`,`rgba(10, 37, 10, 0.22)`,`rgba(3, 25, 6, 0.27)`,`rgba(2, 21, 9, 0.32)`,`rgba(5, 21, 10, 0.38)`,`rgba(4, 18, 11, 0.43)`,`rgba(3, 15, 9, 0.48)`,`rgba(2, 13, 7, 0.53)`,`rgba(1, 5, 5, 0.72)`,`rgba(1, 2, 3, 0.9)`]},Ii={dark:[`#000000`,`#1c1c18`,`#262521`,`#30302b`,`#3a3a35`,`#45453f`,`#505049`,`#5c5b54`,`#67675f`,`#73726a`,`#7f7e76`,`#bcbab2`,`#ffffff`],darkA:[`rgba(255, 255, 255, 0.02)`,`rgba(255, 255, 218, 0.11)`,`rgba(253, 247, 220, 0.15)`,`rgba(253, 253, 226, 0.19)`,`rgba(252, 252, 230, 0.23)`,`rgba(246, 246, 225, 0.28)`,`rgba(250, 250, 228, 0.32)`,`rgba(249, 246, 227, 0.37)`,`rgba(251, 251, 232, 0.41)`,`rgba(250, 248, 230, 0.46)`,`rgba(254, 252, 236, 0.5)`,`rgba(254, 251, 241, 0.74)`,`rgba(255, 252, 245, 0.99)`],light:[`#ffffff`,`#fcf9f3`,`#edebe4`,`#dfddd5`,`#d1cfc7`,`#c3c1b9`,`#b5b3ab`,`#a7a69d`,`#999890`,`#8c8b83`,`#7f7e76`,`#4b4a44`,`#111`],lightA:[`rgba(0, 0, 0, 0.015)`,`rgba(195, 135, 15, 0.05)`,`rgba(91, 73, 10, 0.11)`,`rgba(67, 55, 8, 0.17)`,`rgba(46, 37, 0, 0.22)`,`rgba(41, 34, 5, 0.28)`,`rgba(31, 25, 0, 0.33)`,`rgba(29, 27, 4, 0.39)`,`rgba(23, 21, 3, 0.44)`,`rgba(20, 18, 2, 0.49)`,`rgba(18, 16, 1, 0.54)`,`rgba(12, 10, 2, 0.74)`,`rgba(6, 6, 1, 0.91)`]},Li={dark:[`#000000`,`#1b1c1d`,`#242527`,`#2e2f32`,`#383a3c`,`#434547`,`#4e5052`,`#595b5e`,`#64676a`,`#707276`,`#7b7e82`,`#b8babc`,`#ffffff`],darkA:[`rgba(255, 255, 255, 0.02)`,`rgba(225, 233, 242, 0.12)`,`rgba(225, 231, 244, 0.16)`,`rgba(230, 235, 250, 0.2)`,`rgba(233, 242, 250, 0.24)`,`rgba(239, 246, 254, 0.28)`,`rgba(236, 242, 248, 0.33)`,`rgba(241, 246, 254, 0.37)`,`rgba(238, 245, 252, 0.42)`,`rgba(238, 243, 251, 0.47)`,`rgba(241, 247, 255, 0.51)`,`rgba(249, 251, 254, 0.74)`,`#ffffff`],light:[`#ffffff`,`#f9f9fa`,`#ebebec`,`#dcddde`,`#cecfd0`,`#bfc1c3`,`#b1b3b5`,`#a4a6a8`,`#96989b`,`#898b8e`,`#7b7e82`,`#484a4d`,`#111`],lightA:[`rgba(0, 0, 0, 0.015)`,`rgba(55, 55, 88, 0.03)`,`rgba(5, 5, 17, 0.08)`,`rgba(5, 12, 19, 0.14)`,`rgba(10, 15, 20, 0.2)`,`rgba(9, 17, 24, 0.26)`,`rgba(3, 10, 16, 0.31)`,`rgba(2, 8, 13, 0.36)`,`rgba(5, 10, 17, 0.42)`,`rgba(4, 8, 15, 0.47)`,`rgba(1, 7, 15, 0.52)`,`rgba(1, 4, 8, 0.72)`,`rgba(2, 3, 4, 0.9)`]},Ri={mauve:Ni,olive:Pi,sage:Fi,sand:Ii,slate:Li},zi={gray:{dark:[`#e6e6e6`,`#b4b4b4`,`#8f8f8f`,`#6b6b6b`],light:[`#1f1f1f`,`#666666`,`#8a8a8a`,`#b0b0b0`]},mauve:{dark:[`#e9e5ec`,`#b6b3b9`,`#908e94`,`#6c6a70`],light:[`#1f1f23`,`#67656b`,`#8b898f`,`#b1afb5`]},olive:{dark:[`#e5e7e1`,`#b2b5af`,`#8d908b`,`#696c67`],light:[`#1d201c`,`#646762`,`#888b85`,`#aeb1aa`]},sage:{dark:[`#e3e7e4`,`#b0b5b3`,`#8b908e`,`#676c6a`],light:[`#1b201e`,`#616765`,`#868c89`,`#abb1ae`]},sand:{dark:[`#e9e6dc`,`#b6b4ab`,`#918f87`,`#6c6b63`],light:[`#1f201a`,`#67665f`,`#8b8a82`,`#b2b0a8`]},slate:{dark:[`#e5e6ea`,`#b3b4b8`,`#8d8f93`,`#696b6f`],light:[`#1d1f22`,`#646669`,`#888a8d`,`#aeb0b3`]}},{min:Bi,max:Vi}=Math,Hi=(e,t=0,n=1)=>Bi(Vi(t,e),n),Ui=e=>{e._clipped=!1,e._unclipped=e.slice(0);for(let t=0;t<=3;t++)t<3?((e[t]<0||e[t]>255)&&(e._clipped=!0),e[t]=Hi(e[t],0,255)):t===3&&(e[t]=Hi(e[t],0,1));return e},Wi={};for(let e of[`Boolean`,`Number`,`String`,`Function`,`Array`,`Date`,`RegExp`,`Undefined`,`Null`])Wi[`[object ${e}]`]=e.toLowerCase();function q(e){return Wi[Object.prototype.toString.call(e)]||`object`}var J=(e,t=null)=>e.length>=3?Array.prototype.slice.call(e):q(e[0])==`object`&&t?t.split(``).filter(t=>e[0][t]!==void 0).map(t=>e[0][t]):e[0].slice(0),Gi=e=>{if(e.length<2)return null;let t=e.length-1;return q(e[t])==`string`?e[t].toLowerCase():null},{PI:Ki,min:qi,max:Ji}=Math,Yi=e=>Math.round(e*100)/100,Xi=e=>Math.round(e*100)/100,Zi=Ki*2,Qi=Ki/3,$i=Ki/180,ea=180/Ki;function ta(e){return[...e.slice(0,3).reverse(),...e.slice(3)]}var Y={format:{},autodetect:[]},X=class{constructor(...e){let t=this;if(q(e[0])===`object`&&e[0].constructor&&e[0].constructor===this.constructor)return e[0];let n=Gi(e),r=!1;if(!n){r=!0,Y.sorted||=(Y.autodetect=Y.autodetect.sort((e,t)=>t.p-e.p),!0);for(let t of Y.autodetect)if(n=t.test(...e),n)break}if(Y.format[n])t._rgb=Ui(Y.format[n].apply(null,r?e:e.slice(0,-1)));else throw Error(`unknown format: `+e);t._rgb.length===3&&t._rgb.push(1)}toString(){return q(this.hex)==`function`?this.hex():`[${this._rgb.join(`,`)}]`}},na=`3.2.0`,Z=(...e)=>new X(...e);Z.version=na;var ra={aliceblue:`#f0f8ff`,antiquewhite:`#faebd7`,aqua:`#00ffff`,aquamarine:`#7fffd4`,azure:`#f0ffff`,beige:`#f5f5dc`,bisque:`#ffe4c4`,black:`#000000`,blanchedalmond:`#ffebcd`,blue:`#0000ff`,blueviolet:`#8a2be2`,brown:`#a52a2a`,burlywood:`#deb887`,cadetblue:`#5f9ea0`,chartreuse:`#7fff00`,chocolate:`#d2691e`,coral:`#ff7f50`,cornflowerblue:`#6495ed`,cornsilk:`#fff8dc`,crimson:`#dc143c`,cyan:`#00ffff`,darkblue:`#00008b`,darkcyan:`#008b8b`,darkgoldenrod:`#b8860b`,darkgray:`#a9a9a9`,darkgreen:`#006400`,darkgrey:`#a9a9a9`,darkkhaki:`#bdb76b`,darkmagenta:`#8b008b`,darkolivegreen:`#556b2f`,darkorange:`#ff8c00`,darkorchid:`#9932cc`,darkred:`#8b0000`,darksalmon:`#e9967a`,darkseagreen:`#8fbc8f`,darkslateblue:`#483d8b`,darkslategray:`#2f4f4f`,darkslategrey:`#2f4f4f`,darkturquoise:`#00ced1`,darkviolet:`#9400d3`,deeppink:`#ff1493`,deepskyblue:`#00bfff`,dimgray:`#696969`,dimgrey:`#696969`,dodgerblue:`#1e90ff`,firebrick:`#b22222`,floralwhite:`#fffaf0`,forestgreen:`#228b22`,fuchsia:`#ff00ff`,gainsboro:`#dcdcdc`,ghostwhite:`#f8f8ff`,gold:`#ffd700`,goldenrod:`#daa520`,gray:`#808080`,green:`#008000`,greenyellow:`#adff2f`,grey:`#808080`,honeydew:`#f0fff0`,hotpink:`#ff69b4`,indianred:`#cd5c5c`,indigo:`#4b0082`,ivory:`#fffff0`,khaki:`#f0e68c`,laserlemon:`#ffff54`,lavender:`#e6e6fa`,lavenderblush:`#fff0f5`,lawngreen:`#7cfc00`,lemonchiffon:`#fffacd`,lightblue:`#add8e6`,lightcoral:`#f08080`,lightcyan:`#e0ffff`,lightgoldenrod:`#fafad2`,lightgoldenrodyellow:`#fafad2`,lightgray:`#d3d3d3`,lightgreen:`#90ee90`,lightgrey:`#d3d3d3`,lightpink:`#ffb6c1`,lightsalmon:`#ffa07a`,lightseagreen:`#20b2aa`,lightskyblue:`#87cefa`,lightslategray:`#778899`,lightslategrey:`#778899`,lightsteelblue:`#b0c4de`,lightyellow:`#ffffe0`,lime:`#00ff00`,limegreen:`#32cd32`,linen:`#faf0e6`,magenta:`#ff00ff`,maroon:`#800000`,maroon2:`#7f0000`,maroon3:`#b03060`,mediumaquamarine:`#66cdaa`,mediumblue:`#0000cd`,mediumorchid:`#ba55d3`,mediumpurple:`#9370db`,mediumseagreen:`#3cb371`,mediumslateblue:`#7b68ee`,mediumspringgreen:`#00fa9a`,mediumturquoise:`#48d1cc`,mediumvioletred:`#c71585`,midnightblue:`#191970`,mintcream:`#f5fffa`,mistyrose:`#ffe4e1`,moccasin:`#ffe4b5`,navajowhite:`#ffdead`,navy:`#000080`,oldlace:`#fdf5e6`,olive:`#808000`,olivedrab:`#6b8e23`,orange:`#ffa500`,orangered:`#ff4500`,orchid:`#da70d6`,palegoldenrod:`#eee8aa`,palegreen:`#98fb98`,paleturquoise:`#afeeee`,palevioletred:`#db7093`,papayawhip:`#ffefd5`,peachpuff:`#ffdab9`,peru:`#cd853f`,pink:`#ffc0cb`,plum:`#dda0dd`,powderblue:`#b0e0e6`,purple:`#800080`,purple2:`#7f007f`,purple3:`#a020f0`,rebeccapurple:`#663399`,red:`#ff0000`,rosybrown:`#bc8f8f`,royalblue:`#4169e1`,saddlebrown:`#8b4513`,salmon:`#fa8072`,sandybrown:`#f4a460`,seagreen:`#2e8b57`,seashell:`#fff5ee`,sienna:`#a0522d`,silver:`#c0c0c0`,skyblue:`#87ceeb`,slateblue:`#6a5acd`,slategray:`#708090`,slategrey:`#708090`,snow:`#fffafa`,springgreen:`#00ff7f`,steelblue:`#4682b4`,tan:`#d2b48c`,teal:`#008080`,thistle:`#d8bfd8`,tomato:`#ff6347`,turquoise:`#40e0d0`,violet:`#ee82ee`,wheat:`#f5deb3`,white:`#ffffff`,whitesmoke:`#f5f5f5`,yellow:`#ffff00`,yellowgreen:`#9acd32`},ia=/^#?([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})$/,aa=/^#?([A-Fa-f0-9]{8}|[A-Fa-f0-9]{4})$/,oa=e=>{if(e.match(ia)){(e.length===4||e.length===7)&&(e=e.substr(1)),e.length===3&&(e=e.split(``),e=e[0]+e[0]+e[1]+e[1]+e[2]+e[2]);let t=parseInt(e,16);return[t>>16,t>>8&255,t&255,1]}if(e.match(aa)){(e.length===5||e.length===9)&&(e=e.substr(1)),e.length===4&&(e=e.split(``),e=e[0]+e[0]+e[1]+e[1]+e[2]+e[2]+e[3]+e[3]);let t=parseInt(e,16);return[t>>24&255,t>>16&255,t>>8&255,Math.round((t&255)/255*100)/100]}throw Error(`unknown hex color: ${e}`)},{round:sa}=Math,ca=(...e)=>{let[t,n,r,i]=J(e,`rgba`),a=Gi(e)||`auto`;i===void 0&&(i=1),a===`auto`&&(a=i<1?`rgba`:`rgb`),t=sa(t),n=sa(n),r=sa(r);let o=`000000`+(t<<16|n<<8|r).toString(16);o=o.substr(o.length-6);let s=`0`+sa(i*255).toString(16);switch(s=s.substr(s.length-2),a.toLowerCase()){case`rgba`:return`#${o}${s}`;case`argb`:return`#${s}${o}`;default:return`#${o}`}};X.prototype.name=function(){let e=ca(this._rgb,`rgb`);for(let t of Object.keys(ra))if(ra[t]===e)return t.toLowerCase();return e},Y.format.named=e=>{if(e=e.toLowerCase(),ra[e])return oa(ra[e]);throw Error(`unknown color name: `+e)},Y.autodetect.push({p:5,test:(e,...t)=>{if(!t.length&&q(e)===`string`&&ra[e.toLowerCase()])return`named`}}),X.prototype.alpha=function(e,t=!1){return e!==void 0&&q(e)===`number`?t?(this._rgb[3]=e,this):new X([this._rgb[0],this._rgb[1],this._rgb[2],e],`rgb`):this._rgb[3]},X.prototype.clipped=function(){return this._rgb._clipped||!1};var la={Kn:18,labWhitePoint:`d65`,Xn:.95047,Yn:1,Zn:1.08883,t0:.137931034,t1:.206896552,t2:.12841855,t3:.008856452,kE:216/24389,kKE:8,kK:24389/27,RefWhiteRGB:{X:.95047,Y:1,Z:1.08883},MtxRGB2XYZ:{m00:.4124564390896922,m01:.21267285140562253,m02:.0193338955823293,m10:.357576077643909,m11:.715152155287818,m12:.11919202588130297,m20:.18043748326639894,m21:.07217499330655958,m22:.9503040785363679},MtxXYZ2RGB:{m00:3.2404541621141045,m01:-.9692660305051868,m02:.055643430959114726,m10:-1.5371385127977166,m11:1.8760108454466942,m12:-.2040259135167538,m20:-.498531409556016,m21:.041556017530349834,m22:1.0572251882231791},As:.9414285350000001,Bs:1.040417467,Cs:1.089532651,MtxAdaptMa:{m00:.8951,m01:-.7502,m02:.0389,m10:.2664,m11:1.7135,m12:-.0685,m20:-.1614,m21:.0367,m22:1.0296},MtxAdaptMaI:{m00:.9869929054667123,m01:.43230526972339456,m02:-.008528664575177328,m10:-.14705425642099013,m11:.5183602715367776,m12:.04004282165408487,m20:.15996265166373125,m21:.0492912282128556,m22:.9684866957875502}},ua=new Map([[`a`,[1.0985,.35585]],[`b`,[1.0985,.35585]],[`c`,[.98074,1.18232]],[`d50`,[.96422,.82521]],[`d55`,[.95682,.92149]],[`d65`,[.95047,1.08883]],[`e`,[1,1,1]],[`f2`,[.99186,.67393]],[`f7`,[.95041,1.08747]],[`f11`,[1.00962,.6435]],[`icc`,[.96422,.82521]]]);function da(e){let t=ua.get(String(e).toLowerCase());if(!t)throw Error(`unknown Lab illuminant `+e);la.labWhitePoint=e,la.Xn=t[0],la.Zn=t[1]}function fa(){return la.labWhitePoint}var pa=(...e)=>{e=J(e,`lab`);let[t,n,r]=e,[i,a,o]=ma(t,n,r),[s,c,l]=ga(i,a,o);return[s,c,l,e.length>3?e[3]:1]},ma=(e,t,n)=>{let{kE:r,kK:i,kKE:a,Xn:o,Yn:s,Zn:c}=la,l=(e+16)/116,u=.002*t+l,d=l-.005*n,f=u*u*u,p=d*d*d,m=f>r?f:(116*u-16)/i,h=e>a?((e+16)/116)**3:e/i,g=p>r?p:(116*d-16)/i;return[m*o,h*s,g*c]},ha=e=>{let t=Math.sign(e);return e=Math.abs(e),(e<=.0031308?e*12.92:1.055*e**(1/2.4)-.055)*t},ga=(e,t,n)=>{let{MtxAdaptMa:r,MtxAdaptMaI:i,MtxXYZ2RGB:a,RefWhiteRGB:o,Xn:s,Yn:c,Zn:l}=la,u=s*r.m00+c*r.m10+l*r.m20,d=s*r.m01+c*r.m11+l*r.m21,f=s*r.m02+c*r.m12+l*r.m22,p=o.X*r.m00+o.Y*r.m10+o.Z*r.m20,m=o.X*r.m01+o.Y*r.m11+o.Z*r.m21,h=o.X*r.m02+o.Y*r.m12+o.Z*r.m22,g=(e*r.m00+t*r.m10+n*r.m20)*(p/u),_=(e*r.m01+t*r.m11+n*r.m21)*(m/d),v=(e*r.m02+t*r.m12+n*r.m22)*(h/f),y=g*i.m00+_*i.m10+v*i.m20,b=g*i.m01+_*i.m11+v*i.m21,x=g*i.m02+_*i.m12+v*i.m22,S=ha(y*a.m00+b*a.m10+x*a.m20),C=ha(y*a.m01+b*a.m11+x*a.m21),w=ha(y*a.m02+b*a.m12+x*a.m22);return[S*255,C*255,w*255]},_a=(...e)=>{let[t,n,r,...i]=J(e,`rgb`),[a,o,s]=ba(t,n,r),[c,l,u]=va(a,o,s);return[c,l,u,...i.length>0&&i[0]<1?[i[0]]:[]]};function va(e,t,n){let{Xn:r,Yn:i,Zn:a,kE:o,kK:s}=la,c=e/r,l=t/i,u=n/a,d=c>o?c**(1/3):(s*c+16)/116,f=l>o?l**(1/3):(s*l+16)/116,p=u>o?u**(1/3):(s*u+16)/116;return[116*f-16,500*(d-f),200*(f-p)]}function ya(e){let t=Math.sign(e);return e=Math.abs(e),(e<=.04045?e/12.92:((e+.055)/1.055)**2.4)*t}var ba=(e,t,n)=>{e=ya(e/255),t=ya(t/255),n=ya(n/255);let{MtxRGB2XYZ:r,MtxAdaptMa:i,MtxAdaptMaI:a,Xn:o,Yn:s,Zn:c,As:l,Bs:u,Cs:d}=la,f=e*r.m00+t*r.m10+n*r.m20,p=e*r.m01+t*r.m11+n*r.m21,m=e*r.m02+t*r.m12+n*r.m22,h=o*i.m00+s*i.m10+c*i.m20,g=o*i.m01+s*i.m11+c*i.m21,_=o*i.m02+s*i.m12+c*i.m22,v=f*i.m00+p*i.m10+m*i.m20,y=f*i.m01+p*i.m11+m*i.m21,b=f*i.m02+p*i.m12+m*i.m22;return v*=h/l,y*=g/u,b*=_/d,f=v*a.m00+y*a.m10+b*a.m20,p=v*a.m01+y*a.m11+b*a.m21,m=v*a.m02+y*a.m12+b*a.m22,[f,p,m]};X.prototype.lab=function(){return _a(this._rgb)},Object.assign(Z,{lab:(...e)=>new X(...e,`lab`),getLabWhitePoint:fa,setLabWhitePoint:da}),Y.format.lab=pa,Y.autodetect.push({p:2,test:(...e)=>{if(e=J(e,`lab`),q(e)===`array`&&e.length===3)return`lab`}}),X.prototype.darken=function(e=1){let t=this,n=t.lab();return n[0]-=la.Kn*e,new X(n,`lab`).alpha(t.alpha(),!0)},X.prototype.brighten=function(e=1){return this.darken(-e)},X.prototype.darker=X.prototype.darken,X.prototype.brighter=X.prototype.brighten,X.prototype.get=function(e){let[t,n]=e.split(`.`),r=this[t]();if(n){let e=t.indexOf(n)-(t.substr(0,2)===`ok`?2:0);if(e>-1)return r[e];throw Error(`unknown channel ${n} in mode ${t}`)}return r};var{pow:xa}=Math,Sa=1e-7,Ca=20;X.prototype.luminance=function(e,t=`rgb`){if(e!==void 0&&q(e)===`number`){if(e===0)return new X([0,0,0,this._rgb[3]],`rgb`);if(e===1)return new X([255,255,255,this._rgb[3]],`rgb`);let n=this.luminance(),r=Ca,i=(n,a)=>{let o=n.interpolate(a,.5,t),s=o.luminance();return Math.abs(e-s)<Sa||!r--?o:s>e?i(n,o):i(o,a)};return new X([...(n>e?i(new X([0,0,0]),this):i(this,new X([255,255,255]))).rgb(),this._rgb[3]])}return wa(...this._rgb.slice(0,3))};var wa=(e,t,n)=>(e=Ta(e),t=Ta(t),n=Ta(n),.2126*e+.7152*t+.0722*n),Ta=e=>(e/=255,e<=.03928?e/12.92:xa((e+.055)/1.055,2.4)),Ea={},Da=(e,t,n=.5,...r)=>{let i=r[0]||`lrgb`;if(!Ea[i]&&!r.length&&(i=Object.keys(Ea)[0]),!Ea[i])throw Error(`interpolation mode ${i} is not defined`);return q(e)!==`object`&&(e=new X(e)),q(t)!==`object`&&(t=new X(t)),Ea[i](e,t,n).alpha(e.alpha()+n*(t.alpha()-e.alpha()))};X.prototype.mix=X.prototype.interpolate=function(e,t=.5,...n){return Da(this,e,t,...n)},X.prototype.premultiply=function(e=!1){let t=this._rgb,n=t[3];return e?(this._rgb=[t[0]*n,t[1]*n,t[2]*n,n],this):new X([t[0]*n,t[1]*n,t[2]*n,n],`rgb`)};var{sin:Oa,cos:ka}=Math,Aa=(...e)=>{let[t,n,r]=J(e,`lch`);return isNaN(r)&&(r=0),r*=$i,[t,ka(r)*n,Oa(r)*n]},ja=(...e)=>{e=J(e,`lch`);let[t,n,r]=e,[i,a,o]=Aa(t,n,r),[s,c,l]=pa(i,a,o);return[s,c,l,e.length>3?e[3]:1]},Ma=(...e)=>ja(...ta(J(e,`hcl`))),{sqrt:Na,atan2:Pa,round:Fa}=Math,Ia=(...e)=>{let[t,n,r]=J(e,`lab`),i=Na(n*n+r*r),a=(Pa(r,n)*ea+360)%360;return Fa(i*1e4)===0&&(a=NaN),[t,i,a]},La=(...e)=>{let[t,n,r,...i]=J(e,`rgb`),[a,o,s]=_a(t,n,r),[c,l,u]=Ia(a,o,s);return[c,l,u,...i.length>0&&i[0]<1?[i[0]]:[]]};X.prototype.lch=function(){return La(this._rgb)},X.prototype.hcl=function(){return ta(La(this._rgb))},Object.assign(Z,{lch:(...e)=>new X(...e,`lch`),hcl:(...e)=>new X(...e,`hcl`)}),Y.format.lch=ja,Y.format.hcl=Ma,[`lch`,`hcl`].forEach(e=>Y.autodetect.push({p:2,test:(...t)=>{if(t=J(t,e),q(t)===`array`&&t.length===3)return e}})),X.prototype.saturate=function(e=1){let t=this,n=t.lch();return n[1]+=la.Kn*e,n[1]<0&&(n[1]=0),new X(n,`lch`).alpha(t.alpha(),!0)},X.prototype.desaturate=function(e=1){return this.saturate(-e)},X.prototype.set=function(e,t,n=!1){let[r,i]=e.split(`.`),a=this[r]();if(i){let e=r.indexOf(i)-(r.substr(0,2)===`ok`?2:0);if(e>-1){if(q(t)==`string`)switch(t.charAt(0)){case`+`:a[e]+=+t;break;case`-`:a[e]+=+t;break;case`*`:a[e]*=+t.substr(1);break;case`/`:a[e]/=+t.substr(1);break;default:a[e]=+t}else if(q(t)===`number`)a[e]=t;else throw Error(`unsupported value for Color.set`);let i=new X(a,r);return n?(this._rgb=i._rgb,this):i}throw Error(`unknown channel ${i} in mode ${r}`)}return a},X.prototype.tint=function(e=.5,...t){return Da(this,`white`,e,...t)},X.prototype.shade=function(e=.5,...t){return Da(this,`black`,e,...t)},Ea.rgb=(e,t,n)=>{let r=e._rgb,i=t._rgb;return new X(r[0]+n*(i[0]-r[0]),r[1]+n*(i[1]-r[1]),r[2]+n*(i[2]-r[2]),`rgb`)};var{sqrt:Ra,pow:za}=Math;Ea.lrgb=(e,t,n)=>{let[r,i,a]=e._rgb,[o,s,c]=t._rgb;return new X(Ra(za(r,2)*(1-n)+za(o,2)*n),Ra(za(i,2)*(1-n)+za(s,2)*n),Ra(za(a,2)*(1-n)+za(c,2)*n),`rgb`)},Ea.lab=(e,t,n)=>{let r=e.lab(),i=t.lab();return new X(r[0]+n*(i[0]-r[0]),r[1]+n*(i[1]-r[1]),r[2]+n*(i[2]-r[2]),`lab`)};var Ba=(e,t,n,r)=>{let i,a;r===`hsl`?(i=e.hsl(),a=t.hsl()):r===`hsv`?(i=e.hsv(),a=t.hsv()):r===`hcg`?(i=e.hcg(),a=t.hcg()):r===`hsi`?(i=e.hsi(),a=t.hsi()):r===`lch`||r===`hcl`?(r=`hcl`,i=e.hcl(),a=t.hcl()):r===`oklch`&&(i=e.oklch().reverse(),a=t.oklch().reverse());let o,s,c,l,u,d;(r.substr(0,1)===`h`||r===`oklch`)&&([o,c,u]=i,[s,l,d]=a);let f,p,m,h;return!isNaN(o)&&!isNaN(s)?(h=s>o&&s-o>180?s-(o+360):s<o&&o-s>180?s+360-o:s-o,p=o+n*h):isNaN(o)?isNaN(s)?p=NaN:(p=s,(u==1||u==0)&&r!=`hsv`&&(f=l)):(p=o,(d==1||d==0)&&r!=`hsv`&&(f=c)),f===void 0&&(f=c+n*(l-c)),m=u+n*(d-u),r===`oklch`?new X([m,f,p],r):new X([p,f,m],r)},Va=(e,t,n)=>Ba(e,t,n,`lch`);Ea.lch=Va,Ea.hcl=Va;var Ha=e=>{if(q(e)==`number`&&e>=0&&e<=16777215)return[e>>16,e>>8&255,e&255,1];throw Error(`unknown num color: `+e)},Ua=(...e)=>{let[t,n,r]=J(e,`rgb`);return(t<<16)+(n<<8)+r};X.prototype.num=function(){return Ua(this._rgb)},Object.assign(Z,{num:(...e)=>new X(...e,`num`)}),Y.format.num=Ha,Y.autodetect.push({p:5,test:(...e)=>{if(e.length===1&&q(e[0])===`number`&&e[0]>=0&&e[0]<=16777215)return`num`}}),Ea.num=(e,t,n)=>{let r=e.num();return new X(r+n*(t.num()-r),`num`)};var{floor:Wa}=Math,Ga=(...e)=>{e=J(e,`hcg`);let[t,n,r]=e,i,a,o;r*=255;let s=n*255;if(n===0)i=a=o=r;else{t===360&&(t=0),t>360&&(t-=360),t<0&&(t+=360),t/=60;let e=Wa(t),c=t-e,l=r*(1-n),u=l+s*(1-c),d=l+s*c,f=l+s;switch(e){case 0:[i,a,o]=[f,d,l];break;case 1:[i,a,o]=[u,f,l];break;case 2:[i,a,o]=[l,f,d];break;case 3:[i,a,o]=[l,u,f];break;case 4:[i,a,o]=[d,l,f];break;case 5:[i,a,o]=[f,l,u]}}return[i,a,o,e.length>3?e[3]:1]},Ka=(...e)=>{let[t,n,r]=J(e,`rgb`),i=qi(t,n,r),a=Ji(t,n,r),o=a-i,s=o*100/255,c=i/(255-o)*100,l;return o===0?l=NaN:(t===a&&(l=(n-r)/o),n===a&&(l=2+(r-t)/o),r===a&&(l=4+(t-n)/o),l*=60,l<0&&(l+=360)),[l,s,c]};X.prototype.hcg=function(){return Ka(this._rgb)},Z.hcg=(...e)=>new X(...e,`hcg`),Y.format.hcg=Ga,Y.autodetect.push({p:1,test:(...e)=>{if(e=J(e,`hcg`),q(e)===`array`&&e.length===3)return`hcg`}}),Ea.hcg=(e,t,n)=>Ba(e,t,n,`hcg`);var{cos:qa}=Math,Ja=(...e)=>{e=J(e,`hsi`);let[t,n,r]=e,i,a,o;return isNaN(t)&&(t=0),isNaN(n)&&(n=0),t>360&&(t-=360),t<0&&(t+=360),t/=360,t<1/3?(o=(1-n)/3,i=(1+n*qa(Zi*t)/qa(Qi-Zi*t))/3,a=1-(o+i)):t<2/3?(t-=1/3,i=(1-n)/3,a=(1+n*qa(Zi*t)/qa(Qi-Zi*t))/3,o=1-(i+a)):(t-=2/3,a=(1-n)/3,o=(1+n*qa(Zi*t)/qa(Qi-Zi*t))/3,i=1-(a+o)),i=Hi(r*i*3),a=Hi(r*a*3),o=Hi(r*o*3),[i*255,a*255,o*255,e.length>3?e[3]:1]},{min:Ya,sqrt:Xa,acos:Za}=Math,Qa=(...e)=>{let[t,n,r]=J(e,`rgb`);t/=255,n/=255,r/=255;let i,a=Ya(t,n,r),o=(t+n+r)/3,s=o>0?1-a/o:0;return s===0?i=NaN:(i=(t-n+(t-r))/2,i/=Xa((t-n)*(t-n)+(t-r)*(n-r)),i=Za(i),r>n&&(i=Zi-i),i/=Zi),[i*360,s,o]};X.prototype.hsi=function(){return Qa(this._rgb)},Z.hsi=(...e)=>new X(...e,`hsi`),Y.format.hsi=Ja,Y.autodetect.push({p:2,test:(...e)=>{if(e=J(e,`hsi`),q(e)===`array`&&e.length===3)return`hsi`}}),Ea.hsi=(e,t,n)=>Ba(e,t,n,`hsi`);var $a=(...e)=>{e=J(e,`hsl`);let[t,n,r]=e,i,a,o;if(n===0)i=a=o=r*255;else{let e=[0,0,0],s=[0,0,0],c=r<.5?r*(1+n):r+n-r*n,l=2*r-c,u=t/360;e[0]=u+1/3,e[1]=u,e[2]=u-1/3;for(let t=0;t<3;t++)e[t]<0&&(e[t]+=1),e[t]>1&&--e[t],6*e[t]<1?s[t]=l+(c-l)*6*e[t]:2*e[t]<1?s[t]=c:3*e[t]<2?s[t]=l+(c-l)*(2/3-e[t])*6:s[t]=l;[i,a,o]=[s[0]*255,s[1]*255,s[2]*255]}return e.length>3?[i,a,o,e[3]]:[i,a,o,1]},eo=(...e)=>{e=J(e,`rgba`);let[t,n,r]=e;t/=255,n/=255,r/=255;let i=qi(t,n,r),a=Ji(t,n,r),o=(a+i)/2,s,c;return a===i?(s=0,c=NaN):s=o<.5?(a-i)/(a+i):(a-i)/(2-a-i),t==a?c=(n-r)/(a-i):n==a?c=2+(r-t)/(a-i):r==a&&(c=4+(t-n)/(a-i)),c*=60,c<0&&(c+=360),e.length>3&&e[3]!==void 0?[c,s,o,e[3]]:[c,s,o]};X.prototype.hsl=function(){return eo(this._rgb)},Z.hsl=(...e)=>new X(...e,`hsl`),Y.format.hsl=$a,Y.autodetect.push({p:2,test:(...e)=>{if(e=J(e,`hsl`),q(e)===`array`&&e.length===3)return`hsl`}}),Ea.hsl=(e,t,n)=>Ba(e,t,n,`hsl`);var{floor:to}=Math,no=(...e)=>{e=J(e,`hsv`);let[t,n,r]=e,i,a,o;if(r*=255,n===0)i=a=o=r;else{t===360&&(t=0),t>360&&(t-=360),t<0&&(t+=360),t/=60;let e=to(t),s=t-e,c=r*(1-n),l=r*(1-n*s),u=r*(1-n*(1-s));switch(e){case 0:[i,a,o]=[r,u,c];break;case 1:[i,a,o]=[l,r,c];break;case 2:[i,a,o]=[c,r,u];break;case 3:[i,a,o]=[c,l,r];break;case 4:[i,a,o]=[u,c,r];break;case 5:[i,a,o]=[r,c,l]}}return[i,a,o,e.length>3?e[3]:1]},{min:ro,max:io}=Math,ao=(...e)=>{e=J(e,`rgb`);let[t,n,r]=e,i=ro(t,n,r),a=io(t,n,r),o=a-i,s,c,l;return l=a/255,a===0?(s=NaN,c=0):(c=o/a,t===a&&(s=(n-r)/o),n===a&&(s=2+(r-t)/o),r===a&&(s=4+(t-n)/o),s*=60,s<0&&(s+=360)),[s,c,l]};X.prototype.hsv=function(){return ao(this._rgb)},Z.hsv=(...e)=>new X(...e,`hsv`),Y.format.hsv=no,Y.autodetect.push({p:2,test:(...e)=>{if(e=J(e,`hsv`),q(e)===`array`&&e.length===3)return`hsv`}}),Ea.hsv=(e,t,n)=>Ba(e,t,n,`hsv`);function oo(e,t){let n=e.length;Array.isArray(e[0])||(e=[e]),Array.isArray(t[0])||(t=t.map(e=>[e]));let r=t[0].length,i=t[0].map((e,n)=>t.map(e=>e[n])),a=e.map(e=>i.map(t=>Array.isArray(e)?e.reduce((e,n,r)=>e+n*(t[r]||0),0):t.reduce((t,n)=>t+n*e,0)));return n===1&&(a=a[0]),r===1?a.map(e=>e[0]):a}var so=(...e)=>{e=J(e,`lab`);let[t,n,r,...i]=e,[a,o,s]=co([t,n,r]),[c,l,u]=ga(a,o,s);return[c,l,u,...i.length>0&&i[0]<1?[i[0]]:[]]};function co(e){return oo([[1.2268798758459243,-.5578149944602171,.2813910456659647],[-.0405757452148008,1.112286803280317,-.0717110580655164],[-.0763729366746601,-.4214933324022432,1.5869240198367816]],oo([[1,.3963377773761749,.2158037573099136],[1,-.1055613458156586,-.0638541728258133],[1,-.0894841775298119,-1.2914855480194092]],e).map(e=>e**3))}var lo=(...e)=>{let[t,n,r,...i]=J(e,`rgb`);return[...uo(ba(t,n,r)),...i.length>0&&i[0]<1?[i[0]]:[]]};function uo(e){return oo([[.210454268309314,.7936177747023054,-.0040720430116193],[1.9779985324311684,-2.42859224204858,.450593709617411],[.0259040424655478,.7827717124575296,-.8086757549230774]],oo([[.819022437996703,.3619062600528904,-.1288737815209879],[.0329836539323885,.9292868615863434,.0361446663506424],[.0481771893596242,.2642395317527308,.6335478284694309]],e).map(e=>Math.cbrt(e)))}X.prototype.oklab=function(){return lo(this._rgb)},Object.assign(Z,{oklab:(...e)=>new X(...e,`oklab`)}),Y.format.oklab=so,Y.autodetect.push({p:2,test:(...e)=>{if(e=J(e,`oklab`),q(e)===`array`&&e.length===3)return`oklab`}}),Ea.oklab=(e,t,n)=>{let r=e.oklab(),i=t.oklab();return new X(r[0]+n*(i[0]-r[0]),r[1]+n*(i[1]-r[1]),r[2]+n*(i[2]-r[2]),`oklab`)},Ea.oklch=(e,t,n)=>Ba(e,t,n,`oklch`);var{pow:fo,sqrt:po,PI:mo,cos:ho,sin:go,atan2:_o}=Math,vo=(e,t=`lrgb`,n=null)=>{let r=e.length;n||=Array.from(Array(r)).map(()=>1);let i=r/n.reduce(function(e,t){return e+t});if(n.forEach((e,t)=>{n[t]*=i}),e=e.map(e=>new X(e)),t===`lrgb`)return yo(e,n);let a=e.shift(),o=a.get(t),s=[],c=0,l=0;for(let e=0;e<o.length;e++)if(o[e]=(o[e]||0)*n[0],s.push(isNaN(o[e])?0:n[0]),t.charAt(e)===`h`&&!isNaN(o[e])){let t=o[e]/180*mo;c+=ho(t)*n[0],l+=go(t)*n[0]}let u=a.alpha()*n[0];e.forEach((e,r)=>{let i=e.get(t);u+=e.alpha()*n[r+1];for(let e=0;e<o.length;e++)if(!isNaN(i[e])){if(s[e]+=n[r+1],t.charAt(e)===`h`){let t=i[e]/180*mo;c+=ho(t)*n[r+1],l+=go(t)*n[r+1]}else o[e]+=i[e]*n[r+1]}});for(let e=0;e<o.length;e++)if(t.charAt(e)===`h`){let t=_o(l/s[e],c/s[e])/mo*180;for(;t<0;)t+=360;for(;t>=360;)t-=360;o[e]=t}else o[e]=o[e]/s[e];return u/=r,new X(o,t).alpha(u>.99999?1:u,!0)},yo=(e,t)=>{let n=e.length,r=[0,0,0,0];for(let i=0;i<e.length;i++){let a=e[i],o=t[i]/n,s=a._rgb;r[0]+=fo(s[0],2)*o,r[1]+=fo(s[1],2)*o,r[2]+=fo(s[2],2)*o,r[3]+=s[3]*o}return r[0]=po(r[0]),r[1]=po(r[1]),r[2]=po(r[2]),r[3]>.9999999&&(r[3]=1),new X(Ui(r))},{pow:bo}=Math;function xo(e){let t=`rgb`,n=Z(`#ccc`),r=0,i=[0,1],a=[0,1],o=[],s=[0,0],c=!1,l=[],u=!1,d=0,f=1,p=!1,m={},h=!0,g=1,_=function(e){if(e||=[`#fff`,`#000`],e&&q(e)===`string`&&Z.brewer&&Z.brewer[e.toLowerCase()]&&(e=Z.brewer[e.toLowerCase()]),q(e)===`array`){e.length===1&&(e=[e[0],e[0]]),e=e.slice(0);for(let t=0;t<e.length;t++)e[t]=Z(e[t]);o.length=0;for(let t=0;t<e.length;t++)o.push(t/(e.length-1))}return S(),l=e},v=function(e){if(c!=null){let t=c.length-1,n=0;for(;n<t&&e>=c[n];)n++;return n-1}return 0},y=e=>e,b=e=>e,x=function(e,r){let i,a;if(r??=!1,isNaN(e)||e===null)return n;a=r?e:c&&c.length>2?v(e)/(c.length-2):f===d?1:(e-d)/(f-d),a=b(a),r||(a=y(a)),g!==1&&(a=bo(a,g)),a=s[0]+a*(1-s[0]-s[1]),a=Hi(a,0,1);let u=Math.floor(a*1e4);if(h&&m[u])i=m[u];else{if(q(l)===`array`)for(let e=0;e<o.length;e++){let n=o[e];if(a<=n||a>=n&&e===o.length-1){i=l[e];break}if(a>n&&a<o[e+1]){a=(a-n)/(o[e+1]-n),i=Z.interpolate(l[e],l[e+1],a,t);break}}else q(l)===`function`&&(i=l(a));h&&(m[u]=i)}return i};var S=()=>m={};_(e);let C=function(e){let t=Z(x(e));return u&&t[u]?t[u]():t};return C.classes=function(e){if(e!=null){if(q(e)===`array`)c=e,i=[e[0],e[e.length-1]];else{let t=Z.analyze(i);c=e===0?[t.min,t.max]:Z.limits(t,`e`,e)}return C}return c},C.domain=function(e){if(!arguments.length)return a;a=e.slice(0),d=e[0],f=e[e.length-1],o=[];let t=l.length;if(e.length===t&&d!==f)for(let t of Array.from(e))o.push((t-d)/(f-d));else{for(let e=0;e<t;e++)o.push(e/(t-1));if(e.length>2){let t=e.map((t,n)=>n/(e.length-1)),n=e.map(e=>(e-d)/(f-d));n.every((e,n)=>t[n]===e)||(b=e=>{if(e<=0||e>=1)return e;let r=0;for(;e>=n[r+1];)r++;let i=(e-n[r])/(n[r+1]-n[r]);return t[r]+i*(t[r+1]-t[r])})}}return i=[d,f],C},C.mode=function(e){return arguments.length?(t=e,S(),C):t},C.range=function(e,t){return _(e,t),C},C.out=function(e){return u=e,C},C.spread=function(e){return arguments.length?(r=e,C):r},C.correctLightness=function(e){return e??=!0,p=e,S(),y=p?function(e){let t=x(0,!0).lab()[0],n=x(1,!0).lab()[0],r=t>n,i=x(e,!0).lab()[0],a=t+(n-t)*e,o=i-a,s=0,c=1,l=20;for(;Math.abs(o)>.01&&l-->0;)(function(){return r&&(o*=-1),o<0?(s=e,e+=(c-e)*.5):(c=e,e+=(s-e)*.5),i=x(e,!0).lab()[0],o=i-a})();return e}:e=>e,C},C.padding=function(e){return e==null?s:(q(e)===`number`&&(e=[e,e]),s=e,C)},C.colors=function(t,n){arguments.length<2&&(n=`hex`);let r=[];if(arguments.length===0)r=l.slice(0);else if(t===1)r=[C(.5)];else if(t>1){let e=i[0],n=i[1]-e;r=So(0,t,!1).map(r=>C(e+r/(t-1)*n))}else{e=[];let t=[];if(c&&c.length>2)for(let e=1,n=c.length,r=1<=n;r?e<n:e>n;r?e++:e--)t.push((c[e-1]+c[e])*.5);else t=i;r=t.map(e=>C(e))}return Z[n]&&(r=r.map(e=>e[n]())),r},C.cache=function(e){return e==null?h:(h=e,C)},C.gamma=function(e){return e==null?g:(g=e,C)},C.nodata=function(e){return e==null?n:(n=Z(e),C)},C}function So(e,t,n){let r=[],i=e<t,a=n?i?t+1:t-1:t;for(let t=e;i?t<a:t>a;i?t++:t--)r.push(t);return r}var Co=function(e){let t=[1,1];for(let n=1;n<e;n++){let e=[1];for(let n=1;n<=t.length;n++)e[n]=(t[n]||0)+t[n-1];t=e}return t},wo=function(e){let t,n,r,i;if(e=e.map(e=>new X(e)),e.length===2)[n,r]=e.map(e=>e.lab()),t=function(e){return new X([0,1,2].map(t=>n[t]+e*(r[t]-n[t])),`lab`)};else if(e.length===3)[n,r,i]=e.map(e=>e.lab()),t=function(e){return new X([0,1,2].map(t=>(1-e)*(1-e)*n[t]+2*(1-e)*e*r[t]+e*e*i[t]),`lab`)};else if(e.length===4){let a;[n,r,i,a]=e.map(e=>e.lab()),t=function(e){return new X([0,1,2].map(t=>(1-e)*(1-e)*(1-e)*n[t]+3*(1-e)*(1-e)*e*r[t]+3*(1-e)*e*e*i[t]+e*e*e*a[t]),`lab`)}}else if(e.length>=5){let n,r,i;n=e.map(e=>e.lab()),i=e.length-1,r=Co(i),t=function(e){let t=1-e;return new X([0,1,2].map(a=>n.reduce((n,o,s)=>n+r[s]*t**(i-s)*e**s*o[a],0)),`lab`)}}else throw RangeError(`No point in running bezier with only one color.`);return t},To=e=>{let t=wo(e);return t.scale=()=>xo(t),t},{round:Eo}=Math;X.prototype.rgb=function(e=!0){return e===!1?this._rgb.slice(0,3):this._rgb.slice(0,3).map(Eo)},X.prototype.rgba=function(e=!0){return this._rgb.slice(0,4).map((t,n)=>n<3?e===!1?t:Eo(t):t)},Object.assign(Z,{rgb:(...e)=>new X(...e,`rgb`)}),Y.format.rgb=(...e)=>{let t=J(e,`rgba`);return t[3]===void 0&&(t[3]=1),t},Y.autodetect.push({p:3,test:(...e)=>{if(e=J(e,`rgba`),q(e)===`array`&&(e.length===3||e.length===4&&q(e[3])==`number`&&e[3]>=0&&e[3]<=1))return`rgb`}});var Do=(e,t,n)=>{if(!Do[n])throw Error(`unknown blend mode `+n);return Do[n](e,t)},Oo=e=>(t,n)=>{let r=Z(n).rgb(),i=Z(t).rgb();return Z.rgb(e(r,i))},ko=e=>(t,n)=>{let r=[];return r[0]=e(t[0],n[0]),r[1]=e(t[1],n[1]),r[2]=e(t[2],n[2]),r};Do.normal=Oo(ko(e=>e)),Do.multiply=Oo(ko((e,t)=>e*t/255)),Do.screen=Oo(ko((e,t)=>255*(1-(1-e/255)*(1-t/255)))),Do.overlay=Oo(ko((e,t)=>t<128?2*e*t/255:255*(1-2*(1-e/255)*(1-t/255)))),Do.darken=Oo(ko((e,t)=>e>t?t:e)),Do.lighten=Oo(ko((e,t)=>e>t?e:t)),Do.dodge=Oo(ko((e,t)=>e===255?255:(e=t/255*255/(1-e/255),e>255?255:e))),Do.burn=Oo(ko((e,t)=>255*(1-(1-t/255)/(e/255))));var{pow:Ao,sin:jo,cos:Mo}=Math;function No(e=300,t=-1.5,n=1,r=1,i=[0,1]){let a=0,o;q(i)===`array`?o=i[1]-i[0]:(o=0,i=[i,i]);let s=function(s){let c=Zi*((e+120)/360+t*s),l=Ao(i[0]+o*s,r),u=(a===0?n:n[0]+s*a)*l*(1-l)/2,d=Mo(c),f=jo(c),p=l+u*(-.14861*d+1.78277*f),m=l+u*(-.29227*d-.90649*f),h=l+1.97294*d*u;return Z(Ui([p*255,m*255,h*255,1]))};return s.start=function(t){return t==null?e:(e=t,s)},s.rotations=function(e){return e==null?t:(t=e,s)},s.gamma=function(e){return e==null?r:(r=e,s)},s.hue=function(e){return e==null?n:(n=e,q(n)===`array`?(a=n[1]-n[0],a===0&&(n=n[1])):a=0,s)},s.lightness=function(e){return e==null?i:(q(e)===`array`?(i=e,o=e[1]-e[0]):(i=[e,e],o=0),s)},s.scale=()=>Z.scale(s),s.hue(n),s}var Po=`0123456789abcdef`,{floor:Fo,random:Io}=Math,Lo=(e=Io)=>{let t=`#`;for(let n=0;n<6;n++)t+=Po.charAt(Fo(e()*16));return new X(t,`hex`)},{log:Ro,pow:zo,floor:Bo,abs:Vo}=Math;function Ho(e,t=null){let n={min:Number.MAX_VALUE,max:Number.MAX_VALUE*-1,sum:0,values:[],count:0};return q(e)===`object`&&(e=Object.values(e)),e.forEach(e=>{t&&q(e)===`object`&&(e=e[t]),e!=null&&!isNaN(e)&&(n.values.push(e),n.sum+=e,e<n.min&&(n.min=e),e>n.max&&(n.max=e),n.count+=1)}),n.domain=[n.min,n.max],n.limits=(e,t)=>Uo(n,e,t),n}function Uo(e,t=`equal`,n=7){q(e)==`array`&&(e=Ho(e));let{min:r,max:i}=e,a=e.values.sort((e,t)=>e-t);if(n===1)return[r,i];let o=[];if(t.substr(0,1)===`c`&&(o.push(r),o.push(i)),t.substr(0,1)===`e`){o.push(r);for(let e=1;e<n;e++)o.push(r+e/n*(i-r));o.push(i)}else if(t.substr(0,1)===`l`){if(r<=0)throw Error(`Logarithmic scales are only possible for values > 0`);let e=Math.LOG10E*Ro(r),t=Math.LOG10E*Ro(i);o.push(r);for(let r=1;r<n;r++)o.push(zo(10,e+r/n*(t-e)));o.push(i)}else if(t.substr(0,1)===`q`){o.push(r);for(let e=1;e<n;e++){let t=(a.length-1)*e/n,r=Bo(t);if(r===t)o.push(a[r]);else{let e=t-r;o.push(a[r]*(1-e)+a[r+1]*e)}}o.push(i)}else if(t.substr(0,1)===`k`){let e,t=a.length,s=Array(t),c=Array(n),l=!0,u=0,d=null;d=[],d.push(r);for(let e=1;e<n;e++)d.push(r+e/n*(i-r));for(d.push(i);l;){for(let e=0;e<n;e++)c[e]=0;for(let e=0;e<t;e++){let t=a[e],r=Number.MAX_VALUE,i;for(let a=0;a<n;a++){let n=Vo(d[a]-t);n<r&&(r=n,i=a),c[i]++,s[e]=i}}let r=Array(n);for(let e=0;e<n;e++)r[e]=null;for(let n=0;n<t;n++)e=s[n],r[e]===null?r[e]=a[n]:r[e]+=a[n];for(let e=0;e<n;e++)r[e]*=1/c[e];l=!1;for(let e=0;e<n;e++)if(r[e]!==d[e]){l=!0;break}d=r,u++,u>200&&(l=!1)}let f={};for(let e=0;e<n;e++)f[e]=[];for(let n=0;n<t;n++)e=s[n],f[e].push(a[n]);let p=[];for(let e=0;e<n;e++)p.push(f[e][0]),p.push(f[e][f[e].length-1]);p=p.sort((e,t)=>e-t),o.push(p[0]);for(let e=1;e<p.length;e+=2){let t=p[e];!isNaN(t)&&o.indexOf(t)===-1&&o.push(t)}}return o}var Wo=(e,t)=>{e=new X(e),t=new X(t);let n=e.luminance(),r=t.luminance();return n>r?(n+.05)/(r+.05):(r+.05)/(n+.05)},Go=.027,Ko=5e-4,qo=.1,Jo=1.14,Yo=.022,Xo=1.414,Zo=(e,t)=>{e=new X(e),t=new X(t),e.alpha()<1&&(e=Da(t,e,e.alpha(),`rgb`));let n=Qo(...e.rgb()),r=Qo(...t.rgb()),i=n>=Yo?n:n+(Yo-n)**+Xo,a=r>=Yo?r:r+(Yo-r)**+Xo,o=a**.56-i**.57,s=a**.65-i**.62,c=Math.abs(a-i)<Ko?0:i<a?o*Jo:s*Jo;return(Math.abs(c)<qo?0:c>0?c-Go:c+Go)*100};function Qo(e,t,n){return .2126729*(e/255)**2.4+.7151522*(t/255)**2.4+.072175*(n/255)**2.4}var{sqrt:$o,pow:es,min:ts,max:ns,atan2:rs,abs:is,cos:as,sin:os,exp:ss,PI:cs}=Math;function ls(e,t,n=1,r=1,i=1){var a=function(e){return 360*e/(2*cs)},o=function(e){return 2*cs*e/360};e=new X(e),t=new X(t);let[s,c,l]=Array.from(e.lab()),[u,d,f]=Array.from(t.lab()),p=(s+u)/2,m=($o(es(c,2)+es(l,2))+$o(es(d,2)+es(f,2)))/2,h=.5*(1-$o(es(m,7)/(es(m,7)+es(25,7)))),g=c*(1+h),_=d*(1+h),v=$o(es(g,2)+es(l,2)),y=$o(es(_,2)+es(f,2)),b=(v+y)/2,x=a(rs(l,g)),S=a(rs(f,_)),C=x>=0?x:x+360,w=S>=0?S:S+360,T=is(C-w)>180?(C+w+360)/2:(C+w)/2,E=1-.17*as(o(T-30))+.24*as(o(2*T))+.32*as(o(3*T+6))-.2*as(o(4*T-63)),D=w-C;D=is(D)<=180?D:w<=C?D+360:D-360,D=2*$o(v*y)*os(o(D)/2);let O=u-s,ee=y-v,k=1+.015*es(p-50,2)/$o(20+es(p-50,2)),A=1+.045*b,j=1+.015*b*E,M=30*ss(-es((T-275)/25,2)),N=-(2*$o(es(b,7)/(es(b,7)+es(25,7))))*os(2*o(M));return ns(0,ts(100,$o(es(O/(n*k),2)+es(ee/(r*A),2)+es(D/(i*j),2)+N*(ee/(r*A))*(D/(i*j)))))}function us(e,t,n=`lab`){e=new X(e),t=new X(t);let r=e.get(n),i=t.get(n),a=0;for(let e in r){let t=(r[e]||0)-(i[e]||0);a+=t*t}return Math.sqrt(a)}var ds=(...e)=>{try{return new X(...e),!0}catch{return!1}},fs={cool(){return xo([Z.hsl(180,1,.9),Z.hsl(250,.7,.4)])},hot(){return xo([`#000`,`#f00`,`#ff0`,`#fff`],[0,.25,.75,1]).mode(`rgb`)}},ps={OrRd:[`#fff7ec`,`#fee8c8`,`#fdd49e`,`#fdbb84`,`#fc8d59`,`#ef6548`,`#d7301f`,`#b30000`,`#7f0000`],PuBu:[`#fff7fb`,`#ece7f2`,`#d0d1e6`,`#a6bddb`,`#74a9cf`,`#3690c0`,`#0570b0`,`#045a8d`,`#023858`],BuPu:[`#f7fcfd`,`#e0ecf4`,`#bfd3e6`,`#9ebcda`,`#8c96c6`,`#8c6bb1`,`#88419d`,`#810f7c`,`#4d004b`],Oranges:[`#fff5eb`,`#fee6ce`,`#fdd0a2`,`#fdae6b`,`#fd8d3c`,`#f16913`,`#d94801`,`#a63603`,`#7f2704`],BuGn:[`#f7fcfd`,`#e5f5f9`,`#ccece6`,`#99d8c9`,`#66c2a4`,`#41ae76`,`#238b45`,`#006d2c`,`#00441b`],YlOrBr:[`#ffffe5`,`#fff7bc`,`#fee391`,`#fec44f`,`#fe9929`,`#ec7014`,`#cc4c02`,`#993404`,`#662506`],YlGn:[`#ffffe5`,`#f7fcb9`,`#d9f0a3`,`#addd8e`,`#78c679`,`#41ab5d`,`#238443`,`#006837`,`#004529`],Reds:[`#fff5f0`,`#fee0d2`,`#fcbba1`,`#fc9272`,`#fb6a4a`,`#ef3b2c`,`#cb181d`,`#a50f15`,`#67000d`],RdPu:[`#fff7f3`,`#fde0dd`,`#fcc5c0`,`#fa9fb5`,`#f768a1`,`#dd3497`,`#ae017e`,`#7a0177`,`#49006a`],Greens:[`#f7fcf5`,`#e5f5e0`,`#c7e9c0`,`#a1d99b`,`#74c476`,`#41ab5d`,`#238b45`,`#006d2c`,`#00441b`],YlGnBu:[`#ffffd9`,`#edf8b1`,`#c7e9b4`,`#7fcdbb`,`#41b6c4`,`#1d91c0`,`#225ea8`,`#253494`,`#081d58`],Purples:[`#fcfbfd`,`#efedf5`,`#dadaeb`,`#bcbddc`,`#9e9ac8`,`#807dba`,`#6a51a3`,`#54278f`,`#3f007d`],GnBu:[`#f7fcf0`,`#e0f3db`,`#ccebc5`,`#a8ddb5`,`#7bccc4`,`#4eb3d3`,`#2b8cbe`,`#0868ac`,`#084081`],Greys:[`#ffffff`,`#f0f0f0`,`#d9d9d9`,`#bdbdbd`,`#969696`,`#737373`,`#525252`,`#252525`,`#000000`],YlOrRd:[`#ffffcc`,`#ffeda0`,`#fed976`,`#feb24c`,`#fd8d3c`,`#fc4e2a`,`#e31a1c`,`#bd0026`,`#800026`],PuRd:[`#f7f4f9`,`#e7e1ef`,`#d4b9da`,`#c994c7`,`#df65b0`,`#e7298a`,`#ce1256`,`#980043`,`#67001f`],Blues:[`#f7fbff`,`#deebf7`,`#c6dbef`,`#9ecae1`,`#6baed6`,`#4292c6`,`#2171b5`,`#08519c`,`#08306b`],PuBuGn:[`#fff7fb`,`#ece2f0`,`#d0d1e6`,`#a6bddb`,`#67a9cf`,`#3690c0`,`#02818a`,`#016c59`,`#014636`],Viridis:[`#440154`,`#482777`,`#3f4a8a`,`#31678e`,`#26838f`,`#1f9d8a`,`#6cce5a`,`#b6de2b`,`#fee825`],Spectral:[`#9e0142`,`#d53e4f`,`#f46d43`,`#fdae61`,`#fee08b`,`#ffffbf`,`#e6f598`,`#abdda4`,`#66c2a5`,`#3288bd`,`#5e4fa2`],RdYlGn:[`#a50026`,`#d73027`,`#f46d43`,`#fdae61`,`#fee08b`,`#ffffbf`,`#d9ef8b`,`#a6d96a`,`#66bd63`,`#1a9850`,`#006837`],RdBu:[`#67001f`,`#b2182b`,`#d6604d`,`#f4a582`,`#fddbc7`,`#f7f7f7`,`#d1e5f0`,`#92c5de`,`#4393c3`,`#2166ac`,`#053061`],PiYG:[`#8e0152`,`#c51b7d`,`#de77ae`,`#f1b6da`,`#fde0ef`,`#f7f7f7`,`#e6f5d0`,`#b8e186`,`#7fbc41`,`#4d9221`,`#276419`],PRGn:[`#40004b`,`#762a83`,`#9970ab`,`#c2a5cf`,`#e7d4e8`,`#f7f7f7`,`#d9f0d3`,`#a6dba0`,`#5aae61`,`#1b7837`,`#00441b`],RdYlBu:[`#a50026`,`#d73027`,`#f46d43`,`#fdae61`,`#fee090`,`#ffffbf`,`#e0f3f8`,`#abd9e9`,`#74add1`,`#4575b4`,`#313695`],BrBG:[`#543005`,`#8c510a`,`#bf812d`,`#dfc27d`,`#f6e8c3`,`#f5f5f5`,`#c7eae5`,`#80cdc1`,`#35978f`,`#01665e`,`#003c30`],RdGy:[`#67001f`,`#b2182b`,`#d6604d`,`#f4a582`,`#fddbc7`,`#ffffff`,`#e0e0e0`,`#bababa`,`#878787`,`#4d4d4d`,`#1a1a1a`],PuOr:[`#7f3b08`,`#b35806`,`#e08214`,`#fdb863`,`#fee0b6`,`#f7f7f7`,`#d8daeb`,`#b2abd2`,`#8073ac`,`#542788`,`#2d004b`],Set2:[`#66c2a5`,`#fc8d62`,`#8da0cb`,`#e78ac3`,`#a6d854`,`#ffd92f`,`#e5c494`,`#b3b3b3`],Accent:[`#7fc97f`,`#beaed4`,`#fdc086`,`#ffff99`,`#386cb0`,`#f0027f`,`#bf5b17`,`#666666`],Set1:[`#e41a1c`,`#377eb8`,`#4daf4a`,`#984ea3`,`#ff7f00`,`#ffff33`,`#a65628`,`#f781bf`,`#999999`],Set3:[`#8dd3c7`,`#ffffb3`,`#bebada`,`#fb8072`,`#80b1d3`,`#fdb462`,`#b3de69`,`#fccde5`,`#d9d9d9`,`#bc80bd`,`#ccebc5`,`#ffed6f`],Dark2:[`#1b9e77`,`#d95f02`,`#7570b3`,`#e7298a`,`#66a61e`,`#e6ab02`,`#a6761d`,`#666666`],Paired:[`#a6cee3`,`#1f78b4`,`#b2df8a`,`#33a02c`,`#fb9a99`,`#e31a1c`,`#fdbf6f`,`#ff7f00`,`#cab2d6`,`#6a3d9a`,`#ffff99`,`#b15928`],Pastel2:[`#b3e2cd`,`#fdcdac`,`#cbd5e8`,`#f4cae4`,`#e6f5c9`,`#fff2ae`,`#f1e2cc`,`#cccccc`],Pastel1:[`#fbb4ae`,`#b3cde3`,`#ccebc5`,`#decbe4`,`#fed9a6`,`#ffffcc`,`#e5d8bd`,`#fddaec`,`#f2f2f2`]},ms=Object.keys(ps),hs=new Map(ms.map(e=>[e.toLowerCase(),e])),gs=typeof Proxy==`function`?new Proxy(ps,{get(e,t){let n=t.toLowerCase();if(hs.has(n))return e[hs.get(n)]},getOwnPropertyNames(){return Object.getOwnPropertyNames(ms)}}):ps,_s=(...e)=>{e=J(e,`cmyk`);let[t,n,r,i]=e,a=e.length>4?e[4]:1;return i===1?[0,0,0,a]:[t>=1?0:255*(1-t)*(1-i),n>=1?0:255*(1-n)*(1-i),r>=1?0:255*(1-r)*(1-i),a]},{max:vs}=Math,ys=(...e)=>{let[t,n,r]=J(e,`rgb`);t/=255,n/=255,r/=255;let i=1-vs(t,vs(n,r)),a=i<1?1/(1-i):0;return[(1-t-i)*a,(1-n-i)*a,(1-r-i)*a,i]};X.prototype.cmyk=function(){return ys(this._rgb)},Object.assign(Z,{cmyk:(...e)=>new X(...e,`cmyk`)}),Y.format.cmyk=_s,Y.autodetect.push({p:2,test:(...e)=>{if(e=J(e,`cmyk`),q(e)===`array`&&e.length===4)return`cmyk`}});var bs=(...e)=>{let t=J(e,`hsla`),n=Gi(e)||`lsa`;return t[0]=Yi(t[0]||0)+`deg`,t[1]=Yi(t[1]*100)+`%`,t[2]=Yi(t[2]*100)+`%`,n===`hsla`||t.length>3&&t[3]<1?(t[3]=`/ `+(t.length>3?t[3]:1),n=`hsla`):t.length=3,`${n.substr(0,3)}(${t.join(` `)})`},xs=(...e)=>{let t=J(e,`lab`),n=Gi(e)||`lab`;return t[0]=Yi(t[0])+`%`,t[1]=Yi(t[1]),t[2]=Yi(t[2]),n===`laba`||t.length>3&&t[3]<1?t[3]=`/ `+(t.length>3?t[3]:1):t.length=3,`lab(${t.join(` `)})`},Ss=(...e)=>{let t=J(e,`lch`),n=Gi(e)||`lab`;return t[0]=Yi(t[0])+`%`,t[1]=Yi(t[1]),t[2]=isNaN(t[2])?`none`:Yi(t[2])+`deg`,n===`lcha`||t.length>3&&t[3]<1?t[3]=`/ `+(t.length>3?t[3]:1):t.length=3,`lch(${t.join(` `)})`},Cs=(...e)=>{let t=J(e,`lab`);return t[0]=Yi(t[0]*100)+`%`,t[1]=Xi(t[1]),t[2]=Xi(t[2]),t.length>3&&t[3]<1?t[3]=`/ `+(t.length>3?t[3]:1):t.length=3,`oklab(${t.join(` `)})`},ws=(...e)=>{let[t,n,r,...i]=J(e,`rgb`),[a,o,s]=lo(t,n,r),[c,l,u]=Ia(a,o,s);return[c,l,u,...i.length>0&&i[0]<1?[i[0]]:[]]},Ts=(...e)=>{let t=J(e,`lch`);return t[0]=Yi(t[0]*100)+`%`,t[1]=Xi(t[1]),t[2]=isNaN(t[2])?`none`:Yi(t[2])+`deg`,t.length>3&&t[3]<1?t[3]=`/ `+(t.length>3?t[3]:1):t.length=3,`oklch(${t.join(` `)})`},{round:Es}=Math,Ds=(...e)=>{let t=J(e,`rgba`),n=Gi(e)||`rgb`;if(n.substr(0,3)===`hsl`)return bs(eo(t),n);if(n.substr(0,3)===`lab`){let e=fa();da(`d50`);let r=xs(_a(t),n);return da(e),r}if(n.substr(0,3)===`lch`){let e=fa();da(`d50`);let r=Ss(La(t),n);return da(e),r}return n.substr(0,5)===`oklab`?Cs(lo(t)):n.substr(0,5)===`oklch`?Ts(ws(t)):(t[0]=Es(t[0]),t[1]=Es(t[1]),t[2]=Es(t[2]),(n===`rgba`||t.length>3&&t[3]<1)&&(t[3]=`/ `+(t.length>3?t[3]:1),n=`rgba`),`${n.substr(0,3)}(${t.slice(0,n===`rgb`?3:4).join(` `)})`)},Os=(...e)=>{e=J(e,`lch`);let[t,n,r,...i]=e,[a,o,s]=Aa(t,n,r),[c,l,u]=so(a,o,s);return[c,l,u,...i.length>0&&i[0]<1?[i[0]]:[]]},ks=`((?:-?\\d+)|(?:-?\\d+(?:\\.\\d+)?)%|none)`,As=`((?:-?(?:\\d+(?:\\.\\d*)?|\\.\\d+)%?)|none)`,js=`((?:-?(?:\\d+(?:\\.\\d*)?|\\.\\d+)%)|none)`,Ms=`\\s*`,Ns=`\\s+`,Ps=`\\s*,\\s*`,Fs=`((?:-?(?:\\d+(?:\\.\\d*)?|\\.\\d+)(?:deg)?)|none)`,Is=`\\s*(?:\\/\\s*((?:[01]|[01]?\\.\\d+)|\\d+(?:\\.\\d+)?%))?`,Ls=RegExp(`^rgba?\\(`+Ms+[ks,ks,ks].join(Ns)+Is+`\\)$`),Rs=RegExp(`^rgb\\(`+Ms+[ks,ks,ks].join(Ps)+Ms+`\\)$`),zs=RegExp(`^rgba\\(`+Ms+[ks,ks,ks,As].join(Ps)+Ms+`\\)$`),Bs=RegExp(`^hsla?\\(`+Ms+[Fs,js,js].join(Ns)+Is+`\\)$`),Vs=RegExp(`^hsl?\\(`+Ms+[Fs,js,js].join(Ps)+Ms+`\\)$`),Hs=/^hsla\(\s*(-?\d+(?:\.\d+)?),\s*(-?\d+(?:\.\d+)?)%\s*,\s*(-?\d+(?:\.\d+)?)%\s*,\s*([01]|[01]?\.\d+)\)$/,Us=RegExp(`^lab\\(`+Ms+[As,As,As].join(Ns)+Is+`\\)$`),Ws=RegExp(`^lch\\(`+Ms+[As,As,Fs].join(Ns)+Is+`\\)$`),Gs=RegExp(`^oklab\\(`+Ms+[As,As,As].join(Ns)+Is+`\\)$`),Ks=RegExp(`^oklch\\(`+Ms+[As,As,Fs].join(Ns)+Is+`\\)$`),{round:qs}=Math,Js=e=>e.map((e,t)=>t<=2?Hi(qs(e),0,255):e),Ys=(e,t=0,n=100,r=!1)=>(typeof e==`string`&&e.endsWith(`%`)&&(e=parseFloat(e.substring(0,e.length-1))/100,e=r?t+(e+1)*.5*(n-t):t+e*(n-t)),+e),Xs=(e,t)=>e===`none`?t:e,Zs=e=>{if(e=e.toLowerCase().trim(),e===`transparent`)return[0,0,0,0];let t;if(Y.format.named)try{return Y.format.named(e)}catch{}if((t=e.match(Ls))||(t=e.match(Rs))){let e=t.slice(1,4);for(let t=0;t<3;t++)e[t]=+Ys(Xs(e[t],0),0,255);e=Js(e);let n=t[4]===void 0?1:+Ys(t[4],0,1);return e[3]=n,e}if(t=e.match(zs)){let e=t.slice(1,5);for(let t=0;t<4;t++)e[t]=+Ys(e[t],0,255);return e}if((t=e.match(Bs))||(t=e.match(Vs))){let e=t.slice(1,4);e[0]=+Xs(e[0].replace(`deg`,``),0),e[1]=Ys(Xs(e[1],0),0,100)*.01,e[2]=Ys(Xs(e[2],0),0,100)*.01;let n=Js($a(e));return n[3]=t[4]===void 0?1:+Ys(t[4],0,1),n}if(t=e.match(Hs)){let e=t.slice(1,4);e[1]*=.01,e[2]*=.01;let n=$a(e);for(let e=0;e<3;e++)n[e]=qs(n[e]);return n[3]=+t[4],n}if(t=e.match(Us)){let e=t.slice(1,4);e[0]=Ys(Xs(e[0],0),0,100),e[1]=Ys(Xs(e[1],0),-125,125,!0),e[2]=Ys(Xs(e[2],0),-125,125,!0);let n=fa();da(`d50`);let r=Js(pa(e));return da(n),r[3]=t[4]===void 0?1:+Ys(t[4],0,1),r}if(t=e.match(Ws)){let e=t.slice(1,4);e[0]=Ys(e[0],0,100),e[1]=Ys(Xs(e[1],0),0,150,!1),e[2]=+Xs(e[2].replace(`deg`,``),0);let n=fa();da(`d50`);let r=Js(ja(e));return da(n),r[3]=t[4]===void 0?1:+Ys(t[4],0,1),r}if(t=e.match(Gs)){let e=t.slice(1,4);e[0]=Ys(Xs(e[0],0),0,1),e[1]=Ys(Xs(e[1],0),-.4,.4,!0),e[2]=Ys(Xs(e[2],0),-.4,.4,!0);let n=Js(so(e));return n[3]=t[4]===void 0?1:+Ys(t[4],0,1),n}if(t=e.match(Ks)){let e=t.slice(1,4);e[0]=Ys(Xs(e[0],0),0,1),e[1]=Ys(Xs(e[1],0),0,.4,!1),e[2]=+Xs(e[2].replace(`deg`,``),0);let n=Js(Os(e));return n[3]=t[4]===void 0?1:+Ys(t[4],0,1),n}};Zs.test=e=>Ls.test(e)||Bs.test(e)||Us.test(e)||Ws.test(e)||Gs.test(e)||Ks.test(e)||Rs.test(e)||zs.test(e)||Vs.test(e)||Hs.test(e)||e===`transparent`,X.prototype.css=function(e){return Ds(this._rgb,e)},Z.css=(...e)=>new X(...e,`css`),Y.format.css=Zs,Y.autodetect.push({p:5,test:(e,...t)=>{if(!t.length&&q(e)===`string`&&Zs.test(e))return`css`}}),Y.format.gl=(...e)=>{let t=J(e,`rgba`);return t[0]*=255,t[1]*=255,t[2]*=255,t},Z.gl=(...e)=>new X(...e,`gl`),X.prototype.gl=function(){let e=this._rgb;return[e[0]/255,e[1]/255,e[2]/255,e[3]]},X.prototype.hex=function(e){return ca(this._rgb,e)},Z.hex=(...e)=>new X(...e,`hex`),Y.format.hex=oa,Y.autodetect.push({p:4,test:(e,...t)=>{if(!t.length&&q(e)===`string`&&[3,4,5,6,7,8,9].indexOf(e.length)>=0)return`hex`}});var{log:Qs}=Math,$s=e=>{let t=e/100,n,r,i;return t<66?(n=255,r=t<6?0:-155.25485562709179-.44596950469579133*(r=t-2)+104.49216199393888*Qs(r),i=t<20?0:-254.76935184120902+.8274096064007395*(i=t-10)+115.67994401066147*Qs(i)):(n=351.97690566805693+.114206453784165*(n=t-55)-40.25366309332127*Qs(n),r=325.4494125711974+.07943456536662342*(r=t-50)-28.0852963507957*Qs(r),i=255),[n,r,i,1]},{round:ec}=Math,tc=(...e)=>{let t=J(e,`rgb`),n=t[0],r=t[2],i=1e3,a=4e4,o;for(;a-i>.4;){o=(a+i)*.5;let e=$s(o);e[2]/e[0]>=r/n?a=o:i=o}return ec(o)};X.prototype.temp=X.prototype.kelvin=X.prototype.temperature=function(){return tc(this._rgb)};var nc=(...e)=>new X(...e,`temp`);Object.assign(Z,{temp:nc,kelvin:nc,temperature:nc}),Y.format.temp=Y.format.kelvin=Y.format.temperature=$s,X.prototype.oklch=function(){return ws(this._rgb)},Object.assign(Z,{oklch:(...e)=>new X(...e,`oklch`)}),Y.format.oklch=Os,Y.autodetect.push({p:2,test:(...e)=>{if(e=J(e,`oklch`),q(e)===`array`&&e.length===3)return`oklch`}}),Object.assign(Z,{analyze:Ho,average:vo,bezier:To,blend:Do,brewer:gs,Color:X,colors:ra,contrast:Wo,contrastAPCA:Zo,cubehelix:No,deltaE:ls,distance:us,input:Y,interpolate:Da,limits:Uo,mix:Da,random:Lo,scale:xo,scales:fs,valid:ds});var rc=Z,ic=/^#[\da-f]{6}$/i,ac=.05,oc=e=>!!e&&ic.test(e),sc=new Map,cc=e=>!!e&&sc.has(e),lc=(e,t,n)=>{let r=rc(e),[i]=r.oklch();return rc.oklch(i,n,t).alpha(r.alpha())},uc=(e,t,n,r)=>e.map(e=>r?lc(e,t,n).css():lc(e,t,n).hex()),dc=new Map,fc=e=>{let t=e.toLowerCase(),n=dc.get(t);if(n)return n;let[,r,i]=rc(t).oklch(),a=Number.isNaN(i)?0:i,o=Math.min(r||0,ac),s=zi.gray,c={scale:{dark:uc(Mi.dark,a,o,!1),darkA:uc(Mi.darkA,a,o,!0),light:uc(Mi.light,a,o,!1),lightA:uc(Mi.lightA,a,o,!0)},text:{dark:uc(s.dark,a,o,!1),light:uc(s.light,a,o,!1)}};return dc.set(t,c),c},pc=(e,t)=>{let n=e[t];return[n[12],n[10],n[8],n[6]]},mc=e=>{if(oc(e))return fc(e);let t=e?sc.get(e):void 0;if(t)return{scale:t.scale,text:{dark:t.text?.dark??pc(t.scale,`dark`),light:t.text?.light??pc(t.scale,`light`)}};let n=e&&e in Ri?e:void 0;return{scale:n&&Ri[n]||Mi,text:zi[n||`gray`]}},hc=e=>oc(e)||cc(e),gc=({type:e,scale:t,appearance:n})=>{let r=Hr(e),i=n===`dark`;return{[`color${r}Fill`]:t[`${n}A`][i?3:4],[`color${r}FillSecondary`]:t[`${n}A`][i?2:3],[`color${r}FillTertiary`]:t[`${n}A`][i?1:2],[`color${r}FillQuaternary`]:t[`${n}A`][+!i],[`color${r}Bg`]:t[n][1],[`color${r}BgHover`]:t[n][2],[`color${r}Border`]:t[n][4],[`color${r}BorderHover`]:t[n][i?5:3],[`color${r}Hover`]:t[n][i?10:8],[`color${r}`]:t[n][9],[`color${r}Active`]:t[n][i?7:10],[`color${r}TextHover`]:t[n][i?10:8],[`color${r}Text`]:t[n][9],[`color${r}TextActive`]:t[n][i?7:10]}},_c=({scale:e,appearance:t})=>({colorBgContainer:t===`dark`?e[t][1]:e[t][0],colorBgElevated:t===`dark`?e[t][2]:e[t][0],colorBgLayout:t===`dark`?e[t][0]:e[t][1],colorBgMask:e.lightA[8],colorBgSpotlight:e[t][4],colorBorder:e[t][3],colorBorderSecondary:e[t][2],colorFill:e[`${t}A`][3],colorFillQuaternary:e[`${t}A`][0],colorFillSecondary:e[`${t}A`][2],colorFillTertiary:e[`${t}A`][1],colorText:e[t][12],colorTextQuaternary:e[t][6],colorTextSecondary:e[t][10],colorTextTertiary:e[t][8]}),vc={dark:[`#000415`,`#001740`,`#00285b`,`#003b79`,`#004f98`,`#0064b6`,`#0d78ce`,`#2d8ae0`,`#439aed`,`#60b1ff`,`#a7d3ff`,`#e0f0ff`,`#ffffff`],darkA:[`rgba(0, 44, 233, 0.09)`,`rgba(0, 88, 246, 0.26)`,`rgba(0, 111, 253, 0.36)`,`rgba(0, 123, 252, 0.48)`,`rgba(0, 132, 253, 0.6)`,`rgba(0, 139, 253, 0.72)`,`rgba(16, 148, 254, 0.81)`,`rgba(51, 157, 255, 0.88)`,`rgba(72, 166, 255, 0.93)`,`#60b1ff`,`#a7d3ff`,`#e0f0ff`,`#ffffff`],light:[`#ffffff`,`#fcfcff`,`#f2f8ff`,`#e5f1ff`,`#d5e9ff`,`#c2e0ff`,`#acd4ff`,`#93c8ff`,`#76baff`,`#57abf9`,`#0d78ce`,`#003b79`,`#000415`],lightA:[`rgba(255, 255, 255, 0.01)`,`rgba(105, 105, 255, 0.02)`,`rgba(38, 138, 255, 0.06)`,`rgba(19, 128, 255, 0.11)`,`rgba(8, 126, 255, 0.17)`,`rgba(1, 126, 255, 0.24)`,`rgba(3, 125, 255, 0.33)`,`rgba(4, 127, 255, 0.43)`,`rgba(1, 127, 255, 0.54)`,`rgba(0, 128, 246, 0.66)`,`rgba(0, 113, 203, 0.95)`,`#003b79`,`#000415`]},yc={dark:[`#000503`,`#00221c`,`#003930`,`#005245`,`#006c5b`,`#008772`,`#2fa28a`,`#55bca4`,`#75d7be`,`#95f3d9`,`#bdf7e4`,`#dffcf0`,`#ffffff`],darkA:[`rgba(0, 250, 150, 0.02)`,`rgba(0, 243, 200, 0.14)`,`rgba(0, 248, 209, 0.23)`,`rgba(0, 248, 209, 0.33)`,`rgba(0, 251, 212, 0.43)`,`rgba(0, 255, 215, 0.53)`,`rgba(73, 253, 216, 0.64)`,`rgba(115, 254, 222, 0.74)`,`rgba(138, 253, 224, 0.85)`,`rgba(155, 253, 226, 0.96)`,`rgba(195, 255, 235, 0.97)`,`rgba(225, 255, 242, 0.99)`,`#ffffff`],light:[`#ffffff`,`#f9fffb`,`#effff8`,`#e3fff4`,`#d8fef0`,`#ccfcec`,`#c0fae8`,`#b3f8e3`,`#a5f6de`,`#95f3d9`,`#2fa28a`,`#005245`,`#000503`],lightA:[`rgba(255, 255, 255, 0.01)`,`rgba(55, 255, 122, 0.03)`,`rgba(26, 255, 155, 0.07)`,`rgba(0, 255, 155, 0.11)`,`rgba(11, 249, 161, 0.16)`,`rgba(0, 240, 160, 0.2)`,`rgba(3, 235, 163, 0.25)`,`rgba(2, 232, 162, 0.3)`,`rgba(5, 230, 163, 0.36)`,`rgba(3, 226, 165, 0.42)`,`rgba(1, 142, 112, 0.82)`,`#005245`,`#000503`]},bc={dark:[`#00021b`,`#000d4c`,`#001a69`,`#002a8a`,`#003bac`,`#004cca`,`#005ae0`,`#0065ed`,`#006cf3`,`#0072f5`,`#9abeff`,`#e2ebff`,`#ffffff`],darkA:[`rgba(0, 18, 245, 0.11)`,`rgba(0, 43, 253, 0.3)`,`rgba(0, 62, 250, 0.42)`,`rgba(0, 76, 251, 0.55)`,`rgba(0, 87, 253, 0.68)`,`rgba(0, 95, 252, 0.8)`,`rgba(0, 102, 255, 0.88)`,`rgba(0, 109, 255, 0.93)`,`rgba(0, 112, 253, 0.96)`,`rgba(0, 119, 255, 0.96)`,`#9abeff`,`#e2ebff`,`#ffffff`],light:[`#ffffff`,`#fcfbff`,`#f1f5ff`,`#e2ebff`,`#cedfff`,`#b6d0ff`,`#9abeff`,`#78a9ff`,`#4c90ff`,`#0072f5`,`#005ae0`,`#002a8a`,`#00021b`],lightA:[`rgba(255, 255, 255, 0.01)`,`rgba(105, 55, 255, 0.02)`,`rgba(22, 88, 255, 0.06)`,`rgba(13, 88, 255, 0.12)`,`rgba(10, 95, 255, 0.2)`,`rgba(3, 93, 255, 0.29)`,`rgba(3, 93, 255, 0.4)`,`rgba(0, 93, 255, 0.53)`,`rgba(3, 99, 255, 0.71)`,`#0072f5`,`#005ae0`,`#002a8a`,`#00021b`]},xc={dark:[`#070300`,`#2a1b00`,`#483000`,`#6a4900`,`#916400`,`#b77e00`,`#d59300`,`#eaa100`,`#f8aa00`,`#ffb224`,`#ffdcaf`,`#fff4eb`,`#ffffff`],darkA:[`rgba(233, 100, 0, 0.03)`,`rgba(247, 159, 0, 0.17)`,`rgba(248, 166, 0, 0.29)`,`rgba(252, 174, 0, 0.42)`,`rgba(254, 175, 0, 0.57)`,`rgba(254, 175, 0, 0.72)`,`rgba(254, 175, 0, 0.84)`,`rgba(254, 175, 0, 0.92)`,`rgba(253, 173, 0, 0.98)`,`#ffb224`,`#ffdcaf`,`#fff4eb`,`#ffffff`],light:[`#ffffff`,`#fffdff`,`#fff9f7`,`#fff4eb`,`#ffeedc`,`#ffe6c8`,`#ffdcaf`,`#ffd190`,`#ffc368`,`#ee9e0b`,`#d59300`,`#6a4900`,`#070300`],lightA:[`rgba(255, 255, 255, 0.02)`,`rgba(255,145,55,0.04)`,`rgba(255,155,55,0.08)`,`rgba(255, 117, 5, 0.16)`,`rgba(255, 134, 5, 0.20)`,`rgba(255, 141, 5, 0.26)`,`rgba(255, 146, 5, 0.32)`,`rgba(255, 150, 3, 0.44)`,`rgba(255, 155, 3, 0.6)`,`rgba(255, 165, 0, 0.86)`,`#d59300`,`#6a4900`,`#070300`]},Sc={dark:[`#000503`,`#001d12`,`#002d1d`,`#003f28`,`#005232`,`#00653c`,`#007944`,`#1b8d4d`,`#3ba05a`,`#62c473`,`#96cd92`,`#cde6c3`,`#ffffff`],darkA:[`rgba(0, 250, 150, 0.02)`,`rgba(0, 242, 150, 0.12)`,`rgba(0, 250, 161, 0.18)`,`rgba(0, 252, 160, 0.25)`,`rgba(0, 248, 152, 0.33)`,`rgba(0, 252, 150, 0.4)`,`rgba(0, 252, 142, 0.48)`,`rgba(48, 252, 137, 0.56)`,`rgba(94, 254, 143, 0.63)`,`rgba(120, 254, 145, 0.71)`,`rgba(185, 253, 180, 0.81)`,`rgba(225, 253, 214, 0.91)`,`#ffffff`],light:[`#ffffff`,`#f4fdeb`,`#e7f8dd`,`#d8f2ce`,`#c7eabd`,`#b4e1ac`,`#a0d79b`,`#89cc8a`,`#71c179`,`#379d4a`,`#007944`,`#003f28`,`#000503`],lightA:[`rgba(255, 255, 255, 0.02)`,`rgba(117, 230, 5, 0.06)`,`rgba(84, 205, 12, 0.10)`,`rgba(60, 190, 10, 0.14)`,`rgba(40, 174, 1, 0.26)`,`rgba(28, 164, 3, 0.33)`,`rgba(18, 155, 5, 0.4)`,`rgba(4, 146, 6, 0.47)`,`rgba(1, 144, 16, 0.56)`,`rgba(1, 143, 28, 0.67)`,`#007944`,`#003f28`,`#000503`]},Cc={dark:[`#020400`,`#142100`,`#253700`,`#374f00`,`#4b6800`,`#608200`,`#769d00`,`#8fb81b`,`#a9d42f`,`#c4f042`,`#daf685`,`#eefbbe`,`#ffffff`],darkA:[`rgba(100, 200, 0, 0.02)`,`rgba(154, 254, 0, 0.13)`,`rgba(168, 250, 0, 0.22)`,`rgba(177, 255, 0, 0.31)`,`rgba(183, 254, 0, 0.41)`,`rgba(188, 255, 0, 0.51)`,`rgba(190, 253, 0, 0.62)`,`rgba(196, 252, 37, 0.73)`,`rgba(204, 255, 57, 0.83)`,`rgba(209, 255, 70, 0.94)`,`rgba(225, 254, 137, 0.97)`,`rgba(240, 254, 192, 0.99)`,`#ffffff`],light:[`#ffffff`,`#feffeb`,`#f9ffd8`,`#f2ffc1`,`#ebfdaf`,`#e4fc9b`,`#ddf987`,`#d5f773`,`#cdf35c`,`#c4f042`,`#769d00`,`#374f00`,`#020400`],lightA:[`rgba(255, 255, 255, 0.01)`,`rgba(242, 255, 5, 0.08)`,`rgba(218, 255, 11, 0.16)`,`rgba(203, 255, 7, 0.25)`,`rgba(193, 249, 5, 0.32)`,`rgba(187, 247, 5, 0.4)`,`rgba(183, 242, 0, 0.47)`,`rgba(179, 240, 0, 0.55)`,`rgba(177, 236, 0, 0.64)`,`rgba(175, 235, 0, 0.74)`,`#769d00`,`#374f00`,`#020400`]},wc={dark:[`#100002`,`#350011`,`#4b001e`,`#63002d`,`#79093f`,`#8e1752`,`#a32466`,`#b8317b`,`#ce3e91`,`#e34ba9`,`#f38bcb`,`#fec5e8`,`#ffffff`],darkA:[`rgba(229, 0, 29, 0.07)`,`rgba(252, 0, 81, 0.21)`,`rgba(250, 0, 100, 0.3)`,`rgba(254, 0, 115, 0.39)`,`rgba(252, 19, 131, 0.48)`,`rgba(254, 41, 146, 0.56)`,`rgba(255, 56, 159, 0.64)`,`rgba(252, 67, 168, 0.73)`,`rgba(254, 77, 179, 0.81)`,`rgba(255, 84, 190, 0.89)`,`rgba(253, 145, 211, 0.96)`,`#fec5e8`,`#ffffff`],light:[`#ffffff`,`#fff7f9`,`#ffeaf4`,`#ffdaee`,`#ffc7e7`,`#ffb2df`,`#ff99d6`,`#f980ca`,`#ef67ba`,`#e34ba9`,`#a32466`,`#63002d`,`#100002`],lightA:[`rgba(255, 255, 255, 0.01)`,`rgba(255, 55, 105, 0.04)`,`rgba(255, 22, 133, 0.09)`,`rgba(255, 8, 142, 0.15)`,`rgba(255, 0, 146, 0.22)`,`rgba(255, 7, 152, 0.31)`,`rgba(255, 0, 153, 0.4)`,`rgba(243, 1, 149, 0.5)`,`rgba(228, 2, 140, 0.6)`,`rgba(216, 1, 134, 0.71)`,`rgba(148, 0, 77, 0.86)`,`#63002d`,`#100002`]},Tc={dark:[`#070300`,`#291900`,`#462b00`,`#684100`,`#8e5900`,`#b36f00`,`#d18000`,`#e88b00`,`#f89200`,`#ff9927`,`#ffd1b1`,`#fff1eb`,`#ffffff`],darkA:[`rgba(233, 100, 0, 0.03)`,`rgba(241, 147, 0, 0.17)`,`rgba(250, 154, 0, 0.28)`,`rgba(254, 159, 0, 0.41)`,`rgba(254, 159, 0, 0.56)`,`rgba(252, 156, 0, 0.71)`,`rgba(255, 156, 0, 0.82)`,`rgba(255, 153, 0, 0.91)`,`rgba(253, 149, 0, 0.98)`,`#ff9927`,`#ffd1b1`,`#fff1eb`,`#ffffff`],light:[`#ffffff`,`#fffcff`,`#fff8f6`,`#fff1eb`,`#ffe9dd`,`#ffdeca`,`#ffd1b1`,`#ffc293`,`#ffb06a`,`#f88c13`,`#d18000`,`#684100`,`#070300`],lightA:[`rgba(255, 255, 255, 0.02)`,`rgba(255, 105, 255, 0.03)`,`rgba(255, 80, 30, 0.08)`,`rgba(255, 80, 5, 0.12)`,`rgba(255, 98, 12, 0.16)`,`rgba(255, 98, 3, 0.21)`,`rgba(255, 107, 3, 0.31)`,`rgba(255, 113, 4, 0.43)`,`rgba(255, 121, 2, 0.59)`,`rgba(255, 135, 1, 0.85)`,`#d18000`,`#684100`,`#070300`]},Ec={dark:[`#0d000b`,`#2e002a`,`#42003e`,`#560053`,`#670e66`,`#781e78`,`#892b8a`,`#9a399e`,`#ab46b2`,`#bd54c6`,`#d590da`,`#edc7ee`,`#ffffff`],darkA:[`rgba(217, 0, 183, 0.06)`,`rgba(242, 0, 221, 0.19)`,`rgba(254, 0, 238, 0.26)`,`rgba(253, 0, 244, 0.34)`,`rgba(251, 34, 249, 0.41)`,`rgba(255, 64, 255, 0.47)`,`rgba(249, 78, 251, 0.55)`,`rgba(248, 92, 255, 0.62)`,`rgba(244, 100, 254, 0.7)`,`rgba(242, 108, 254, 0.78)`,`rgba(248, 167, 253, 0.86)`,`rgba(252, 212, 253, 0.94)`,`#ffffff`],light:[`#ffffff`,`#fff6fb`,`#ffe7fd`,`#fdd6fe`,`#f6c4f8`,`#eeb1f1`,`#e49ce8`,`#d886de`,`#cb6ed2`,`#bd54c6`,`#892b8a`,`#560053`,`#0d000b`],lightA:[`rgba(255, 255, 255, 0.01)`,`rgba(255, 30, 155, 0.04)`,`rgba(255, 15, 235, 0.08)`,`rgba(243, 14, 249, 0.16)`,`rgba(218, 9, 226, 0.24)`,`rgba(200, 3, 210, 0.31)`,`rgba(186, 1, 196, 0.39)`,`rgba(174, 3, 186, 0.48)`,`rgba(164, 1, 176, 0.57)`,`rgba(156, 0, 170, 0.67)`,`rgba(113, 0, 114, 0.83)`,`#560053`,`#0d000b`]},Dc={dark:[`#0f0003`,`#380015`,`#560023`,`#780032`,`#9d0042`,`#c10251`,`#d6225d`,`#e43165`,`#ee3a6a`,`#f4416c`,`#ffb0b7`,`#ffe8e8`,`#ffffff`],darkA:[`rgba(250, 0, 50, 0.06)`,`rgba(255, 0, 95, 0.22)`,`rgba(253, 0, 103, 0.34)`,`rgba(255, 0, 106, 0.47)`,`rgba(253, 0, 106, 0.62)`,`rgba(254, 3, 107, 0.76)`,`rgba(255, 40, 111, 0.84)`,`rgba(253, 54, 112, 0.9)`,`rgba(253, 62, 113, 0.94)`,`rgba(254, 68, 112, 0.96)`,`#ffb0b7`,`#ffe8e8`,`#ffffff`],light:[`#ffffff`,`#fffbff`,`#fff3f3`,`#ffe8e8`,`#ffdadb`,`#ffc7ca`,`#ffb0b7`,`#ff94a1`,`#ff6f87`,`#f4416c`,`#d6225d`,`#780032`,`#0f0003`],lightA:[`rgba(255, 255, 255, 0.01)`,`rgba(255, 55, 255, 0.02)`,`rgba(255, 15, 15, 0.05)`,`rgba(255, 25, 25, 0.1)`,`rgba(255, 8, 15, 0.15)`,`rgba(255, 0, 14, 0.22)`,`rgba(255, 0, 23, 0.31)`,`rgba(255, 0, 31, 0.42)`,`rgba(255, 2, 44, 0.57)`,`rgba(240, 2, 59, 0.75)`,`rgba(208, 1, 69, 0.87)`,`#780032`,`#0f0003`]},Oc={dark:[`#0c0100`,`#2f0a00`,`#451200`,`#5d1900`,`#762000`,`#8e2a07`,`#a53716`,`#bc4424`,`#d45132`,`#ec5e41`,`#ff9480`,`#ffcbc3`,`#ffffff`],darkA:[`rgba(240, 20, 0, 0.05)`,`rgba(247, 53, 0, 0.19)`,`rgba(246, 64, 0, 0.28)`,`rgba(251, 68, 0, 0.37)`,`rgba(251, 68, 0, 0.47)`,`rgba(254, 75, 12, 0.56)`,`rgba(254, 85, 34, 0.65)`,`rgba(254, 92, 49, 0.74)`,`rgba(255, 98, 60, 0.83)`,`rgba(254, 101, 70, 0.93)`,`#ff9480`,`#ffcbc3`,`#ffffff`],light:[`#ffffff`,`#fff7f6`,`#ffece9`,`#ffded9`,`#ffcec5`,`#ffbbaf`,`#ffa695`,`#ff8e78`,`#fb745a`,`#ec5e41`,`#a53716`,`#5d1900`,`#0c0100`],lightA:[`rgba(255, 255, 255, 0.01)`,`rgba(255, 55, 30, 0.04)`,`rgba(255, 44, 11, 0.06)`,`rgba(255, 35, 2, 0.12)`,`rgba(255, 42, 3, 0.20)`,`rgba(255, 43, 5, 0.32)`,`rgba(255, 43, 3, 0.42)`,`rgba(255, 42, 0, 0.53)`,`rgba(249, 41, 1, 0.65)`,`rgba(230, 40, 2, 0.75)`,`rgba(157, 38, 2, 0.92)`,`#5d1900`,`#0c0100`]},kc={dark:[`#050400`,`#251d00`,`#3e3300`,`#584a00`,`#736300`,`#8e7d00`,`#ab9800`,`#c7b426`,`#e3d142`,`#ffef5c`,`#fff594`,`#fffad3`,`#ffffff`],darkA:[`rgba(250, 200, 0, 0.02)`,`rgba(247, 193, 0, 0.15)`,`rgba(248, 204, 0, 0.25)`,`rgba(251, 211, 0, 0.35)`,`rgba(250, 215, 0, 0.46)`,`rgba(254, 223, 0, 0.56)`,`rgba(255, 227, 0, 0.67)`,`rgba(255, 231, 49, 0.78)`,`rgba(255, 235, 74, 0.89)`,`#ffef5c`,`#fff594`,`#fffad3`,`#ffffff`],light:[`#ffffff`,`#fffeff`,`#fffcff`,`#fffbf1`,`#fffada`,`#fff9c2`,`#fff7aa`,`#fff592`,`#fff279`,`#ffef5c`,`#ab9800`,`#584a00`,`#050400`],lightA:[`rgba(255, 255, 255, 0.01)`,`rgba(255, 155, 255, 0.01)`,`rgba(255, 105, 255, 0.02)`,`rgba(255, 188, 22, 0.06)`,`rgba(255, 222, 8, 0.15)`,`rgba(255, 230, 1, 0.24)`,`rgba(255, 231, 5, 0.34)`,`rgba(255, 232, 2, 0.43)`,`rgba(255, 230, 2, 0.53)`,`rgba(255, 230, 0, 0.64)`,`#ab9800`,`#584a00`,`#050400`]},Ac={blue:vc.dark[9],cyan:yc.dark[9],geekblue:bc.dark[9],gold:xc.dark[9],green:Sc.dark[9],lime:Cc.dark[9],magenta:wc.dark[9],orange:Tc.dark[9],purple:Ec.dark[9],red:Dc.dark[9],volcano:Oc.dark[9],yellow:kc.dark[9]};Ac.red,Ac.orange,Ac.gold,Ac.yellow,Ac.lime,Ac.green,Ac.cyan,Ac.blue,Ac.geekblue,Ac.purple,Ac.magenta,Ac.volcano;var jc={mauve:Ni.dark[9],olive:Pi.dark[9],sage:Fi.dark[9],sand:Ii.dark[9],slate:Li.dark[9]};jc.mauve,jc.slate,jc.sage,jc.olive,jc.sand;var Mc={dark:[`#000000`,`#111111`,`#333333`,`#555555`,`#666666`,`#888888`,`#aaaaaa`,`#cccccc`,`#dddddd`,`#eeeeee`,`#ffffff`,`#ffffff`,`#ffffff`],darkA:[`rgba(255, 255, 255, 0.02)`,`rgba(255, 255, 255, 0.08)`,`rgba(255, 255, 255, 0.16)`,`rgba(255, 255, 255, 0.22)`,`rgba(255, 255, 255, 0.36)`,`rgba(255, 255, 255, 0.48)`,`rgba(255, 255, 255, 0.6)`,`rgba(255, 255, 255, 0.72)`,`rgba(255, 255, 255, 0.84)`,`rgba(255, 255, 255, 0.88)`,`rgba(255, 255, 255, 0.92)`,`rgba(255, 255, 255, 0.96)`,`rgba(255, 255, 255, 0.98)`],light:[`#ffffff`,`#f5f5f5`,`#eeeeee`,`#cccccc`,`#aaaaaa`,`#888888`,`#666666`,`#444444`,`#333333`,`#222222`,`#111111`,`#0b0b0b`,`#000000`],lightA:[`rgba(0, 0, 0, 0.02)`,`rgba(0, 0, 0, 0.08)`,`rgba(0, 0, 0, 0.16)`,`rgba(0, 0, 0, 0.22)`,`rgba(0, 0, 0, 0.36)`,`rgba(0, 0, 0, 0.48)`,`rgba(0, 0, 0, 0.6)`,`rgba(0, 0, 0, 0.72)`,`rgba(0, 0, 0, 0.84)`,`rgba(0, 0, 0, 0.88)`,`rgba(0, 0, 0, 0.92)`,`rgba(0, 0, 0, 0.96)`,`rgba(0, 0, 0, 0.98)`]},Nc={blue:vc,cyan:yc,geekblue:bc,gold:xc,gray:Mi,green:Sc,lime:Cc,magenta:wc,orange:Tc,primary:Mc,purple:Ec,red:Dc,volcano:Oc,yellow:kc},Pc=/^#[\da-f]{6}$/i,Fc=e=>!!e&&Pc.test(e),Ic=9,Lc=[0,0,0,0,0,.25,.5,.75,1,1,1,.5,0],Rc=.015,zc=100,Bc=2,Vc=Mi.dark[1],Hc=4.5,Uc=e=>{let[t,n,r]=rc(e).oklch();return{c:n,h:Number.isNaN(r)?0:r,l:t}},Wc=(e,t)=>{let n=Math.abs(e-t)%360;return n>180?360-n:n},Gc=(e,t)=>{let n=Uc(Ac[e]);return Wc(n.h,t.h)+zc*Math.abs(n.l-t.l)},Kc=e=>Object.keys(Ac).reduce((t,n)=>Gc(n,e)<Gc(t,e)?n:t),qc=e=>Math.min(1,Math.max(0,e)),Jc=e=>{let{c:t,h:n,l:r}=Uc(e),i=r,a=e;for(;rc.contrast(a,Vc)<Hc&&i<1;)i=Math.min(1,i+.005),a=rc.oklch(i,t,n).hex();return a},Yc=(e,t)=>{let n=[...e];for(let e=10;e<n.length;e++)n[e]=t>0?Math.max(n[e],n[e-1]+Rc):Math.min(n[e],n[e-1]-Rc);for(let e=8;e>=0;e--)n[e]=t>0?Math.min(n[e],n[e+1]-Rc):Math.max(n[e],n[e+1]+Rc);return n.map(qc)},Xc=(e,t,n,r)=>{let i=Uc(e[Ic]),a=i.c>0?Math.min(t.c/i.c,Bc):0,o=t.l-i.l,s=e.map(Uc),c=Yc(s.map(({l:e},n)=>n===Ic?t.l:e+Lc[n]*o),r);return s.map(({c:e},r)=>r===Ic?n:rc.oklch(c[r],e*a,t.h).hex())},Zc=(e,t,n)=>{let r=Uc(t[Ic]),i=r.c>0?Math.min(n.c/r.c,Bc):0;return e.map(e=>{let t=rc(e),{c:r,l:a}=Uc(e);return rc.oklch(a,r*i,n.h).alpha(t.alpha()).css()})},Qc=new Map,$c=e=>{let t=e.toLowerCase(),n=Qc.get(t);if(n)return n;let r=Uc(t),i=Nc[Kc(r)],a=Jc(t),o=Uc(a),s={dark:Xc(i.dark,o,a,1),darkA:Zc(i.darkA,i.dark,o),light:Xc(i.light,r,t,-1),lightA:Zc(i.lightA,i.light,r)};return Qc.set(t,s),s},el=e=>{let[t,n,r,i]=rc(e).rgba();return i<1?{alpha:i,blue:r,green:n,red:t}:{blue:r,green:n,red:t}},tl=e=>e.toString(16).padStart(2,`0`),nl=({red:e,green:t,blue:n})=>{let r=`#${tl(e)}${tl(t)}${tl(n)}`;return r[1]===r[2]&&r[3]===r[4]&&r[5]===r[6]?`#${r[1]}${r[3]}${r[5]}`:r},rl=(e,t,n)=>{if(t===`transparent`)return n;if(n===`transparent`)return t;if(e===0)return n;let r={alpha:1,...el(t)},i={alpha:1,...el(n)},a=r.alpha-i.alpha,o=e*2-1,s=((o*a===-1?o:o+a)/(1+o*a)+1)/2,c=1-s,l={alpha:r.alpha*e+i.alpha*(1-e),blue:Math.floor(r.blue*s+i.blue*c),green:Math.floor(r.green*s+i.green*c),red:Math.floor(r.red*s+i.red*c)};return l.alpha>=1?nl(l):`rgba(${l.red},${l.green},${l.blue},${l.alpha})`},il=e=>e>=0&&e<=255,al=(e,t)=>{let n=el(e);if(n.alpha!==void 0)return e;let r=el(t);for(let e=.01;e<=1;e+=.01){let t=Math.round((n.red-r.red*(1-e))/e),i=Math.round((n.green-r.green*(1-e))/e),a=Math.round((n.blue-r.blue*(1-e))/e);if(il(t)&&il(i)&&il(a)){let n=Math.round(e*100)/100;return n===1?`rgb(${t},${i},${a})`:`rgba(${t},${i},${a},${n})`}}return`rgb(${n.red},${n.green},${n.blue})`},ol=(e,t,n)=>{let{scale:r,text:i}=mc(t),[a,o,s,c]=i[e],l={..._c({appearance:e,scale:r}),colorText:a,colorTextQuaternary:c,colorTextSecondary:o,colorTextTertiary:s};return{...l,colorBgContainerDisabled:l.colorFillTertiary,colorBgContainerSecondary:rl(.5,l.colorBgLayout,l.colorBgContainer),colorBgTextActive:l.colorFill,colorBgTextHover:l.colorFillSecondary,colorBorderBg:l.colorBgContainer,colorErrorOutline:al(n.colorErrorBg,l.colorBgContainer),colorFillAlter:l.colorFillQuaternary,colorFillContent:l.colorFillSecondary,colorFillContentHover:l.colorFill,colorIcon:l.colorTextTertiary,colorIconHover:l.colorText,colorSplit:al(l.colorBorderSecondary,l.colorBgContainer),colorTextDescription:l.colorTextTertiary,colorTextDisabled:l.colorTextQuaternary,colorTextHeading:l.colorText,colorTextLabel:l.colorTextSecondary,colorTextPlaceholder:l.colorTextQuaternary,colorWarningOutline:al(n.colorWarningBg,l.colorBgContainer),controlItemBgActiveDisabled:l.colorFill,controlItemBgHover:l.colorFillTertiary,controlTmpOutline:l.colorFillQuaternary}},sl=({name:e,scale:t,appearance:n})=>{let r=n===`dark`;return{[`${e}Fill`]:t[`${n}A`][r?3:4],[`${e}FillSecondary`]:t[`${n}A`][r?2:3],[`${e}FillTertiary`]:t[`${n}A`][r?1:2],[`${e}FillQuaternary`]:t[`${n}A`][+!r],[`${e}Bg`]:t[`${n}A`][1],[`${e}BgHover`]:t[`${n}A`][2],[`${e}Border`]:t[n][4],[`${e}BorderSecondary`]:t[n][3],[`${e}BorderHover`]:t[n][r?5:3],[`${e}Hover`]:t[n][r?10:8],[`${e}`]:t[n][9],[`${e}Active`]:t[n][r?7:10],[`${e}TextHover`]:t[`${n}A`][r?10:8],[`${e}Text`]:t[`${n}A`][9],[`${e}TextActive`]:t[`${n}A`][r?7:10]}},cl=({name:e,scale:t,appearance:n})=>{let r={};for(let[i,a]of t[n].entries())i!==0&&i!==12&&(r[`${e}${i}`]=a);for(let[i,a]of t[`${n}A`].entries())i!==0&&i!==12&&(r[`${e}${i}A`]=a);return{...r,...sl({appearance:n,name:e,scale:t})}},ll=e=>{let t={};for(let[n,r]of Object.entries(Nc))t={...t,...cl({appearance:e?`dark`:`light`,name:oi(n),scale:r})};return t},ul={dark:{boxShadowCard:`
|
|
2
|
+
0 1px 2px -2px rgba(0,0,0,0.16),
|
|
3
|
+
0 3px 6px 0 rgba(0,0,0,0.12),
|
|
4
|
+
0 5px 12px 4px rgba(0,0,0,0.09)
|
|
5
|
+
`,boxShadowDrawerDown:`
|
|
6
|
+
0 -6px 16px 0 rgba(0,0,0,0.08),
|
|
7
|
+
0 -3px 6px -4px rgba(0,0,0,0.12),
|
|
8
|
+
0 -9px 28px 8px rgba(0,0,0,0.05)
|
|
9
|
+
`,boxShadowDrawerLeft:`
|
|
10
|
+
6px 0 16px 0 rgba(0,0,0,0.08),
|
|
11
|
+
3px 0 6px -4px rgba(0,0,0,0.12),
|
|
12
|
+
9px 0 28px 8px rgba(0,0,0,0.05)
|
|
13
|
+
`,boxShadowDrawerRight:`
|
|
14
|
+
-6px 0 16px 0 rgba(0,0,0,0.08),
|
|
15
|
+
-3px 0 6px -4px rgba(0,0,0,0.12),
|
|
16
|
+
-9px 0 28px 8px rgba(0,0,0,0.05)
|
|
17
|
+
`,boxShadowDrawerUp:`
|
|
18
|
+
0 6px 16px 0 rgba(0,0,0,0.08),
|
|
19
|
+
0 3px 6px -4px rgba(0,0,0,0.12),
|
|
20
|
+
0 9px 28px 8px rgba(0,0,0,0.05)
|
|
21
|
+
`,boxShadowPopoverArrow:`2px 2px 5px rgba(0,0,0,0.05)`,boxShadowTabsOverflowBottom:`inset 0 -10px 8px -8px rgba(0,0,0,0.08)`,boxShadowTabsOverflowLeft:`inset 10px 0 8px -8px rgba(0,0,0,0.08)`,boxShadowTabsOverflowRight:`inset -10px 0 8px -8px rgba(0,0,0,0.08)`,boxShadowTabsOverflowTop:`inset 0 10px 8px -8px rgba(0,0,0,0.08)`,colorBgBase:`#000`,colorBgBlur:`rgba(255,255,255,0.04)`,colorBgSolid:`rgba(255,255,255,0.95)`,colorBgSolidActive:`rgba(255,255,255,0.9)`,colorBgSolidHover:`rgb(255,255,255)`,colorBorderDisabled:`#424242`,colorErrorBgActive:`#5b2526`,colorErrorBgFilledHover:`#441e1f`,colorShadow:`#000`,colorTextBase:`#fff`,dropShadowPopover:`drop-shadow(0 6px 16px rgba(0,0,0,0.08)) drop-shadow(0 3px 6px rgba(0,0,0,0.12)) drop-shadow(0 9px 28px rgba(0,0,0,0.05))`,pink1:`#291321`,pink10:`#fad2e3`,pink2:`#40162f`,pink3:`#551c3b`,pink4:`#75204f`,pink5:`#a02669`,pink6:`#cb2b83`,pink7:`#e0529c`,pink8:`#f37fb7`,pink9:`#f8a8cc`,pinkActive:`#e0529c`,pinkHover:`#a02669`},light:{boxShadowCard:`
|
|
22
|
+
0 1px 2px -2px rgba(0,0,0,0.16),
|
|
23
|
+
0 3px 6px 0 rgba(0,0,0,0.12),
|
|
24
|
+
0 5px 12px 4px rgba(0,0,0,0.09)
|
|
25
|
+
`,boxShadowDrawerDown:`
|
|
26
|
+
0 -6px 16px 0 rgba(0,0,0,0.08),
|
|
27
|
+
0 -3px 6px -4px rgba(0,0,0,0.12),
|
|
28
|
+
0 -9px 28px 8px rgba(0,0,0,0.05)
|
|
29
|
+
`,boxShadowDrawerLeft:`
|
|
30
|
+
6px 0 16px 0 rgba(0,0,0,0.08),
|
|
31
|
+
3px 0 6px -4px rgba(0,0,0,0.12),
|
|
32
|
+
9px 0 28px 8px rgba(0,0,0,0.05)
|
|
33
|
+
`,boxShadowDrawerRight:`
|
|
34
|
+
-6px 0 16px 0 rgba(0,0,0,0.08),
|
|
35
|
+
-3px 0 6px -4px rgba(0,0,0,0.12),
|
|
36
|
+
-9px 0 28px 8px rgba(0,0,0,0.05)
|
|
37
|
+
`,boxShadowDrawerUp:`
|
|
38
|
+
0 6px 16px 0 rgba(0,0,0,0.08),
|
|
39
|
+
0 3px 6px -4px rgba(0,0,0,0.12),
|
|
40
|
+
0 9px 28px 8px rgba(0,0,0,0.05)
|
|
41
|
+
`,boxShadowPopoverArrow:`2px 2px 5px rgba(0,0,0,0.05)`,boxShadowTabsOverflowBottom:`inset 0 -10px 8px -8px rgba(0,0,0,0.08)`,boxShadowTabsOverflowLeft:`inset 10px 0 8px -8px rgba(0,0,0,0.08)`,boxShadowTabsOverflowRight:`inset -10px 0 8px -8px rgba(0,0,0,0.08)`,boxShadowTabsOverflowTop:`inset 0 10px 8px -8px rgba(0,0,0,0.08)`,colorBgBase:`#fff`,colorBgBlur:`transparent`,colorBgSolid:`rgb(0,0,0)`,colorBgSolidActive:`rgba(0,0,0,0.95)`,colorBgSolidHover:`rgba(0,0,0,0.75)`,colorBorderDisabled:`#d9d9d9`,colorErrorBgActive:`#ffccc7`,colorErrorBgFilledHover:`#ffdfdc`,colorShadow:`#000`,colorTextBase:`#000`,dropShadowPopover:`drop-shadow(0 6px 16px rgba(0,0,0,0.08)) drop-shadow(0 3px 6px rgba(0,0,0,0.12)) drop-shadow(0 9px 28px rgba(0,0,0,0.05))`,pink1:`#fff0f6`,pink10:`#520339`,pink2:`#ffd6e7`,pink3:`#ffadd2`,pink4:`#ff85c0`,pink5:`#f759ab`,pink6:`#eb2f96`,pink7:`#c41d7f`,pink8:`#9e1068`,pink9:`#780650`,pinkActive:`#c41d7f`,pinkHover:`#f759ab`}},dl={dark:{boxShadow:`0 40px 80px rgba(0, 0, 0, 0.09), 0 20px 40px rgba(0, 0, 0, 0.08), 0 10px 20px rgba(0, 0, 0, 0.06), 0 5px 10px rgba(0, 0, 0, 0.05), 0 2px 4px rgba(0, 0, 0, 0.03)`,boxShadowSecondary:`0 17.5px 23.4px rgba(0, 0, 0, 0.06), 0 9.4px 12.5px rgba(0, 0, 0, 0.05), 0 5.25px 7px rgba(0, 0, 0, 0.03), 0 2.8px 3.7px -2px rgba(0, 0, 0, 0.02), 0 1.2px 1.5px rgba(0, 0, 0, 0.02)`,boxShadowTertiary:`0 1px 2px rgba(0, 0, 0, 0.06), 0 2px 4px rgba(0, 0, 0, 0.03)`},light:{boxShadow:`0 40px 80px rgba(0, 0, 0, 0.06), 0 20px 40px rgba(0, 0, 0, 0.05), 0 10px 20px rgba(0, 0, 0, 0.04), 0 5px 10px rgba(0, 0, 0, 0.03), 0 2px 4px rgba(0, 0, 0, 0.02)`,boxShadowSecondary:`0 17.5px 23.4px rgba(0, 0, 0, 0.04), 0 9.4px 12.5px rgba(0, 0, 0, 0.03), 0 5.25px 7px rgba(0, 0, 0, 0.02), 0 2.8px 3.7px -2px rgba(0, 0, 0, 0.01), 0 1.2px 1.5px rgba(0, 0, 0, 0.01)`,boxShadowTertiary:`0 1px 2px rgba(0, 0, 0, 0.04), 0 2px 4px rgba(0, 0, 0, 0.02)`}},fl=(e,t,n)=>{let r=gc({appearance:e,scale:t,type:n});return e===`dark`?r:{...r,[`color${n}Text`]:t.light[10]}},pl=(e,t=Oi)=>{let n=fl(e,t.error,`Error`),r=fl(e,t.info,`Info`),i=fl(e,t.success,`Success`),a=fl(e,t.warning,`Warning`);return{...ul[e],...n,...r,...i,...a,...ll(e===`dark`),...dl[e],colorErrorAffix:n.colorError,colorHighlight:n.colorError,colorLink:r.colorInfoText,colorLinkActive:r.colorInfoTextActive,colorLinkHover:r.colorInfoTextHover,colorWarningAffix:a.colorWarning}},ml=e=>Fc(e)?$c(e):e&&Nc[e]||Mc,hl=(e,t)=>{let n=gc({appearance:e,scale:ml(t),type:`Primary`});return{...n,controlItemBgActive:n.colorPrimaryBg,controlItemBgActiveHover:n.colorPrimaryBgHover}},gl=e=>e.map(e=>e.includes(` `)?`"${e}"`:e).join(`,`),_l=[`/* EMOJI */`,`Apple Color Emoji`,`Segoe UI Emoji`,`Segoe UI Symbol`,`Noto Color Emoji`],vl=[`HarmonyOS Sans`,`-apple-system`,`BlinkMacSystemFont`,`Segoe UI Variable Display`,`Segoe UI`,`Roboto`,`Helvetica Neue`,`Arial`],yl=[`/* SC */`,`HarmonyOS Sans SC`,`PingFang SC`,`Hiragino Sans GB`,`Microsoft YaHei UI`,`Microsoft YaHei`,`Source Han Sans SC`,`Noto Sans CJK SC`],bl={borderRadiusOuter:6,colorTextLightSolid:`#fff`,colorWhite:`#fff`,controlHeightLG:45,controlHeightSM:27,controlHeightXS:18,controlInteractiveSize:18,controlOutlineWidth:2,controlPaddingHorizontal:12,controlPaddingHorizontalSM:8,fontHeight:22,fontHeightLG:24,fontHeightSM:20,fontSize:14,fontSizeHeading1:38,fontSizeHeading2:30,fontSizeHeading3:24,fontSizeHeading4:20,fontSizeHeading5:16,fontSizeIcon:12,fontSizeLG:16,fontSizeSM:12,fontSizeXL:20,fontWeightStrong:600,lineHeight:1.5714285714285714,lineHeightHeading1:1.2105263157894737,lineHeightHeading2:1.2666666666666666,lineHeightHeading3:1.3333333333333333,lineHeightHeading4:1.4,lineHeightHeading5:1.5,lineHeightLG:1.5,lineHeightSM:1.6666666666666667,lineType:`solid`,lineWidth:1,lineWidthBold:2,lineWidthFocus:3,linkDecoration:`none`,linkFocusDecoration:`none`,linkHoverDecoration:`none`,margin:16,marginLG:24,marginMD:20,marginSM:12,marginXL:32,marginXS:8,marginXXL:48,marginXXS:4,motionBase:0,motionDurationFast:`0.1s`,motionDurationMid:`0.2s`,motionDurationSlow:`0.3s`,motionEaseInBack:`cubic-bezier(0.71, -0.46, 0.88, 0.6)`,motionEaseInOut:`cubic-bezier(0.645, 0.045, 0.355, 1)`,motionEaseInOutCirc:`cubic-bezier(0.78, 0.14, 0.15, 0.86)`,motionEaseInQuint:`cubic-bezier(0.755, 0.05, 0.855, 0.06)`,motionEaseOut:`cubic-bezier(0.215, 0.61, 0.355, 1)`,motionEaseOutBack:`cubic-bezier(0.12, 0.4, 0.29, 1.46)`,motionEaseOutCirc:`cubic-bezier(0.08, 0.82, 0.17, 1)`,motionEaseOutQuint:`cubic-bezier(0.23, 1, 0.32, 1)`,motionSpringBouncy:`linear(0, 0.024, 0.086, 0.173, 0.274, 0.38, 0.485, 0.584, 0.675, 0.756, 0.825, 0.883, 0.931, 0.968, 0.997, 1.017, 1.031, 1.04, 1.045, 1.046, 1.045, 1.042, 1.038, 1.033, 1.028, 1.023, 1.019, 1.015, 1.011, 1.008, 1.005, 1)`,motionSpringSmooth:`linear(0, 0.036, 0.12, 0.225, 0.334, 0.438, 0.533, 0.616, 0.688, 0.748, 0.797, 0.838, 0.872, 0.898, 0.92, 0.937, 0.951, 0.962, 0.97, 0.977, 0.982, 0.986, 0.989, 0.992, 0.994, 0.995, 0.996, 0.997, 0.998, 0.998, 0.999, 1)`,motionSpringSnappy:`linear(0, 0.032, 0.111, 0.216, 0.33, 0.444, 0.552, 0.648, 0.731, 0.801, 0.858, 0.904, 0.939, 0.965, 0.984, 0.998, 1.006, 1.012, 1.014, 1.015, 1.015, 1.014, 1.012, 1.01, 1.009, 1.007, 1.006, 1.004, 1.003, 1.002, 1.002, 1)`,motionUnit:.1,opacityImage:1,opacityLoading:.65,padding:16,paddingContentHorizontal:16,paddingContentHorizontalLG:24,paddingContentHorizontalSM:16,paddingContentVertical:12,paddingContentVerticalLG:16,paddingContentVerticalSM:8,paddingLG:24,paddingMD:20,paddingSM:12,paddingXL:32,paddingXS:8,paddingXXS:4,pink:`#EB2F96`,screenLG:992,screenLGMax:1199,screenLGMin:992,screenMD:768,screenMDMax:991,screenMDMin:768,screenSM:576,screenSMMax:767,screenSMMin:576,screenXL:1200,screenXLMax:1599,screenXLMin:1200,screenXS:480,screenXSMax:575,screenXSMin:480,screenXXL:1600,screenXXLMax:1919,screenXXLMin:1600,screenXXXL:1920,screenXXXLMin:1920,size:16,sizeLG:24,sizeMD:20,sizeMS:16,sizePopupArrow:16,sizeSM:12,sizeStep:4,sizeUnit:4,sizeXL:32,sizeXS:8,sizeXXL:48,sizeXXS:4,zIndexBase:0,zIndexPopupBase:1e3,borderRadius:8,borderRadiusLG:12,borderRadiusSM:6,borderRadiusXS:4,controlHeight:36,fontFamily:gl([vl,yl,[`/* FALLBACK */`,`ui-sans-serif`,`system-ui`,`sans-serif`],_l].flat()),fontFamilyCode:gl([[`Hack`,`ui-monospace`,`SFMono-Regular`,`SF Mono`,`Menlo`,`Cascadia Code`,`Consolas`,`Liberation Mono`],yl,[`/* FALLBACK */`,`monospace`],_l].flat())},xl=({appearance:e,neutralColor:t,palette:n,primaryColor:r})=>{let i=pl(e,ji(n));return{neutral:ol(e,t,i),palette:i,primary:hl(e,r),static:bl}},Sl=e=>{let t=xl(e);return{...t.static,...t.palette,...t.primary,...t.neutral}};function Cl(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}function wl(e){var t=document.createElement(`style`);return t.setAttribute(`data-emotion`,e.key),e.nonce!==void 0&&t.setAttribute(`nonce`,e.nonce),t.appendChild(document.createTextNode(``)),t.setAttribute(`data-s`,``),t}var Tl=function(){function e(e){var t=this;this._insertTag=function(e){var n=t.tags.length===0?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling;t.container.insertBefore(e,n),t.tags.push(e)},this.isSpeedy=e.speedy===void 0||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(wl(this));var t=this.tags[this.tags.length-1];if(this.isSpeedy){var n=Cl(t);try{n.insertRule(e,n.cssRules.length)}catch{}}else t.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach(function(e){return e.parentNode?.removeChild(e)}),this.tags=[],this.ctr=0},e}(),El=`-ms-`,Dl=`-moz-`,Ol=`-webkit-`,kl=`comm`,Al=`rule`,jl=`decl`,Ml=`@import`,Nl=`@keyframes`,Pl=`@layer`,Fl=Math.abs,Il=String.fromCharCode,Ll=Object.assign;function Rl(e,t){return Ul(e,0)^45?(((t<<2^Ul(e,0))<<2^Ul(e,1))<<2^Ul(e,2))<<2^Ul(e,3):0}function zl(e){return e.trim()}function Bl(e,t){return(e=t.exec(e))?e[0]:e}function Vl(e,t,n){return e.replace(t,n)}function Hl(e,t){return e.indexOf(t)}function Ul(e,t){return e.charCodeAt(t)|0}function Wl(e,t,n){return e.slice(t,n)}function Gl(e){return e.length}function Kl(e){return e.length}function ql(e,t){return t.push(e),e}function Jl(e,t){return e.map(t).join(``)}var Yl=1,Xl=1,Zl=0,Ql=0,$l=0,eu=``;function tu(e,t,n,r,i,a,o){return{value:e,root:t,parent:n,type:r,props:i,children:a,line:Yl,column:Xl,length:o,return:``}}function nu(e,t){return Ll(tu(``,null,null,``,null,null,0),e,{length:-e.length},t)}function ru(){return $l}function iu(){return $l=Ql>0?Ul(eu,--Ql):0,Xl--,$l===10&&(Xl=1,Yl--),$l}function au(){return $l=Ql<Zl?Ul(eu,Ql++):0,Xl++,$l===10&&(Xl=1,Yl++),$l}function ou(){return Ul(eu,Ql)}function su(){return Ql}function cu(e,t){return Wl(eu,e,t)}function lu(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function uu(e){return Yl=Xl=1,Zl=Gl(eu=e),Ql=0,[]}function du(e){return eu=``,e}function fu(e){return zl(cu(Ql-1,hu(e===91?e+2:e===40?e+1:e)))}function pu(e){for(;($l=ou())&&$l<33;)au();return lu(e)>2||lu($l)>3?``:` `}function mu(e,t){for(;--t&&au()&&!($l<48||$l>102||$l>57&&$l<65||$l>70&&$l<97););return cu(e,su()+(t<6&&ou()==32&&au()==32))}function hu(e){for(;au();)switch($l){case e:return Ql;case 34:case 39:e!==34&&e!==39&&hu($l);break;case 40:e===41&&hu(e);break;case 92:au()}return Ql}function gu(e,t){for(;au()&&e+$l!==57&&(e+$l!==84||ou()!==47););return`/*`+cu(t,Ql-1)+`*`+Il(e===47?e:au())}function _u(e){for(;!lu(ou());)au();return cu(e,Ql)}function vu(e){return du(yu(``,null,null,null,[``],e=uu(e),0,[0],e))}function yu(e,t,n,r,i,a,o,s,c){for(var l=0,u=0,d=o,f=0,p=0,m=0,h=1,g=1,_=1,v=0,y=``,b=i,x=a,S=r,C=y;g;)switch(m=v,v=au()){case 40:if(m!=108&&Ul(C,d-1)==58){Hl(C+=Vl(fu(v),`&`,`&\f`),`&\f`)!=-1&&(_=-1);break}case 34:case 39:case 91:C+=fu(v);break;case 9:case 10:case 13:case 32:C+=pu(m);break;case 92:C+=mu(su()-1,7);continue;case 47:switch(ou()){case 42:case 47:ql(xu(gu(au(),su()),t,n),c);break;default:C+=`/`}break;case 123*h:s[l++]=Gl(C)*_;case 125*h:case 59:case 0:switch(v){case 0:case 125:g=0;case 59+u:_==-1&&(C=Vl(C,/\f/g,``)),p>0&&Gl(C)-d&&ql(p>32?Su(C+`;`,r,n,d-1):Su(Vl(C,` `,``)+`;`,r,n,d-2),c);break;case 59:C+=`;`;default:if(ql(S=bu(C,t,n,l,u,i,s,y,b=[],x=[],d),a),v===123){if(u===0)yu(C,t,S,S,b,a,d,s,x);else switch(f===99&&Ul(C,3)===110?100:f){case 100:case 108:case 109:case 115:yu(e,S,S,r&&ql(bu(e,S,S,0,0,i,s,y,i,b=[],d),x),i,x,d,s,r?b:x);break;default:yu(C,S,S,S,[``],x,0,s,x)}}}l=u=p=0,h=_=1,y=C=``,d=o;break;case 58:d=1+Gl(C),p=m;default:if(h<1){if(v==123)--h;else if(v==125&&h++==0&&iu()==125)continue}switch(C+=Il(v),v*h){case 38:_=u>0?1:(C+=`\f`,-1);break;case 44:s[l++]=(Gl(C)-1)*_,_=1;break;case 64:ou()===45&&(C+=fu(au())),f=ou(),u=d=Gl(y=C+=_u(su())),v++;break;case 45:m===45&&Gl(C)==2&&(h=0)}}return a}function bu(e,t,n,r,i,a,o,s,c,l,u){for(var d=i-1,f=i===0?a:[``],p=Kl(f),m=0,h=0,g=0;m<r;++m)for(var _=0,v=Wl(e,d+1,d=Fl(h=o[m])),y=e;_<p;++_)(y=zl(h>0?f[_]+` `+v:Vl(v,/&\f/g,f[_])))&&(c[g++]=y);return tu(e,t,n,i===0?Al:s,c,l,u)}function xu(e,t,n){return tu(e,t,n,kl,Il(ru()),Wl(e,2,-2),0)}function Su(e,t,n,r){return tu(e,t,n,jl,Wl(e,0,r),Wl(e,r+1,-1),r)}function Cu(e,t){for(var n=``,r=Kl(e),i=0;i<r;i++)n+=t(e[i],i,e,t)||``;return n}function wu(e,t,n,r){switch(e.type){case Pl:if(e.children.length)break;case Ml:case jl:return e.return=e.return||e.value;case kl:return``;case Nl:return e.return=e.value+`{`+Cu(e.children,r)+`}`;case Al:e.value=e.props.join(`,`)}return Gl(n=Cu(e.children,r))?e.return=e.value+`{`+n+`}`:``}function Tu(e){var t=Kl(e);return function(n,r,i,a){for(var o=``,s=0;s<t;s++)o+=e[s](n,r,i,a)||``;return o}}function Eu(e){return function(t){t.root||(t=t.return)&&e(t)}}function Du(e){var t=Object.create(null);return function(n){return t[n]===void 0&&(t[n]=e(n)),t[n]}}var Ou=function(e,t,n){for(var r=0,i=0;r=i,i=ou(),r===38&&i===12&&(t[n]=1),!lu(i);)au();return cu(e,Ql)},ku=function(e,t){var n=-1,r=44;do switch(lu(r)){case 0:r===38&&ou()===12&&(t[n]=1),e[n]+=Ou(Ql-1,t,n);break;case 2:e[n]+=fu(r);break;case 4:if(r===44){e[++n]=ou()===58?`&\f`:``,t[n]=e[n].length;break}default:e[n]+=Il(r)}while(r=au());return e},Au=function(e,t){return du(ku(uu(e),t))},ju=new WeakMap,Mu=function(e){if(!(e.type!==`rule`||!e.parent||e.length<1)){for(var t=e.value,n=e.parent,r=e.column===n.column&&e.line===n.line;n.type!==`rule`;)if(n=n.parent,!n)return;if((e.props.length!==1||t.charCodeAt(0)===58||ju.get(n))&&!r){ju.set(e,!0);for(var i=[],a=Au(t,i),o=n.props,s=0,c=0;s<a.length;s++)for(var l=0;l<o.length;l++,c++)e.props[c]=i[s]?a[s].replace(/&\f/g,o[l]):o[l]+` `+a[s]}}},Nu=function(e){if(e.type===`decl`){var t=e.value;t.charCodeAt(0)===108&&t.charCodeAt(2)===98&&(e.return=``,e.value=``)}};function Pu(e,t){switch(Rl(e,t)){case 5103:return Ol+`print-`+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return Ol+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return Ol+e+Dl+e+El+e+e;case 6828:case 4268:return Ol+e+El+e+e;case 6165:return Ol+e+El+`flex-`+e+e;case 5187:return Ol+e+Vl(e,/(\w+).+(:[^]+)/,Ol+`box-$1$2`+El+`flex-$1$2`)+e;case 5443:return Ol+e+El+`flex-item-`+Vl(e,/flex-|-self/,``)+e;case 4675:return Ol+e+El+`flex-line-pack`+Vl(e,/align-content|flex-|-self/,``)+e;case 5548:return Ol+e+El+Vl(e,`shrink`,`negative`)+e;case 5292:return Ol+e+El+Vl(e,`basis`,`preferred-size`)+e;case 6060:return Ol+`box-`+Vl(e,`-grow`,``)+Ol+e+El+Vl(e,`grow`,`positive`)+e;case 4554:return Ol+Vl(e,/([^-])(transform)/g,`$1`+Ol+`$2`)+e;case 6187:return Vl(Vl(Vl(e,/(zoom-|grab)/,Ol+`$1`),/(image-set)/,Ol+`$1`),e,``)+e;case 5495:case 3959:return Vl(e,/(image-set\([^]*)/,Ol+"$1$`$1");case 4968:return Vl(Vl(e,/(.+:)(flex-)?(.*)/,Ol+`box-pack:$3`+El+`flex-pack:$3`),/s.+-b[^;]+/,`justify`)+Ol+e+e;case 4095:case 3583:case 4068:case 2532:return Vl(e,/(.+)-inline(.+)/,Ol+`$1$2`)+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(Gl(e)-1-t>6)switch(Ul(e,t+1)){case 109:if(Ul(e,t+4)!==45)break;case 102:return Vl(e,/(.+:)(.+)-([^]+)/,`$1`+Ol+`$2-$3$1`+Dl+(Ul(e,t+3)==108?`$3`:`$2-$3`))+e;case 115:return~Hl(e,`stretch`)?Pu(Vl(e,`stretch`,`fill-available`),t)+e:e}break;case 4949:if(Ul(e,t+1)!==115)break;case 6444:switch(Ul(e,Gl(e)-3-(~Hl(e,`!important`)&&10))){case 107:return Vl(e,`:`,`:`+Ol)+e;case 101:return Vl(e,/(.+:)([^;!]+)(;|!.+)?/,`$1`+Ol+(Ul(e,14)===45?`inline-`:``)+`box$3$1`+Ol+`$2$3$1`+El+`$2box$3`)+e}break;case 5936:switch(Ul(e,t+11)){case 114:return Ol+e+El+Vl(e,/[svh]\w+-[tblr]{2}/,`tb`)+e;case 108:return Ol+e+El+Vl(e,/[svh]\w+-[tblr]{2}/,`tb-rl`)+e;case 45:return Ol+e+El+Vl(e,/[svh]\w+-[tblr]{2}/,`lr`)+e}return Ol+e+El+e+e}return e}var Fu=[function(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case jl:e.return=Pu(e.value,e.length);break;case Nl:return Cu([nu(e,{value:Vl(e.value,`@`,`@`+Ol)})],r);case Al:if(e.length)return Jl(e.props,function(t){switch(Bl(t,/(::plac\w+|:read-\w+)/)){case`:read-only`:case`:read-write`:return Cu([nu(e,{props:[Vl(t,/:(read-\w+)/,`:`+Dl+`$1`)]})],r);case`::placeholder`:return Cu([nu(e,{props:[Vl(t,/:(plac\w+)/,`:`+Ol+`input-$1`)]}),nu(e,{props:[Vl(t,/:(plac\w+)/,`:`+Dl+`$1`)]}),nu(e,{props:[Vl(t,/:(plac\w+)/,El+`input-$1`)]})],r)}return``})}}],Iu=function(e){var t=e.key;if(t===`css`){var n=document.querySelectorAll(`style[data-emotion]:not([data-s])`);Array.prototype.forEach.call(n,function(e){e.getAttribute(`data-emotion`).indexOf(` `)!==-1&&(document.head.appendChild(e),e.setAttribute(`data-s`,``))})}var r=e.stylisPlugins||Fu,i={},a,o=[];a=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll(`style[data-emotion^="`+t+` "]`),function(e){for(var t=e.getAttribute(`data-emotion`).split(` `),n=1;n<t.length;n++)i[t[n]]=!0;o.push(e)});var s,c=[Mu,Nu],l,u=[wu,Eu(function(e){l.insert(e)})],d=Tu(c.concat(r,u)),f=function(e){return Cu(vu(e),d)};s=function(e,t,n,r){l=n,f(e?e+`{`+t.styles+`}`:t.styles),r&&(p.inserted[t.name]=!0)};var p={key:t,sheet:new Tl({key:t,container:a,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:i,registered:{},insert:s};return p.sheet.hydrate(o),p};function Lu(e){for(var t=0,n,r=0,i=e.length;i>=4;++r,i-=4)n=e.charCodeAt(r)&255|(e.charCodeAt(++r)&255)<<8|(e.charCodeAt(++r)&255)<<16|(e.charCodeAt(++r)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,t=(n&65535)*1540483477+((n>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(i){case 3:t^=(e.charCodeAt(r+2)&255)<<16;case 2:t^=(e.charCodeAt(r+1)&255)<<8;case 1:t^=e.charCodeAt(r)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var Ru={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},zu=/[A-Z]|^ms/g,Bu=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Vu=function(e){return e.charCodeAt(1)===45},Hu=function(e){return e!=null&&typeof e!=`boolean`},Uu=Du(function(e){return Vu(e)?e:e.replace(zu,`-$&`).toLowerCase()}),Wu=function(e,t){switch(e){case`animation`:case`animationName`:if(typeof t==`string`)return t.replace(Bu,function(e,t,n){return Ju={name:t,styles:n,next:Ju},t})}return Ru[e]!==1&&!Vu(e)&&typeof t==`number`&&t!==0?t+`px`:t};function Gu(e,t,n){if(n==null)return``;var r=n;if(r.__emotion_styles!==void 0)return r;switch(typeof n){case`boolean`:return``;case`object`:var i=n;if(i.anim===1)return Ju={name:i.name,styles:i.styles,next:Ju},i.name;var a=n;if(a.styles!==void 0){var o=a.next;if(o!==void 0)for(;o!==void 0;)Ju={name:o.name,styles:o.styles,next:Ju},o=o.next;return a.styles+`;`}return Ku(e,t,n);case`function`:if(e!==void 0){var s=Ju,c=n(e);return Ju=s,Gu(e,t,c)}}var l=n;if(t==null)return l;var u=t[l];return u===void 0?l:u}function Ku(e,t,n){var r=``;if(Array.isArray(n))for(var i=0;i<n.length;i++)r+=Gu(e,t,n[i])+`;`;else for(var a in n){var o=n[a];if(typeof o!=`object`){var s=o;t!=null&&t[s]!==void 0?r+=a+`{`+t[s]+`}`:Hu(s)&&(r+=Uu(a)+`:`+Wu(a,s)+`;`)}else if(Array.isArray(o)&&typeof o[0]==`string`&&(t==null||t[o[0]]===void 0))for(var c=0;c<o.length;c++)Hu(o[c])&&(r+=Uu(a)+`:`+Wu(a,o[c])+`;`);else{var l=Gu(e,t,o);switch(a){case`animation`:case`animationName`:r+=Uu(a)+`:`+l+`;`;break;default:r+=a+`{`+l+`}`}}}return r}var qu=/label:\s*([^\s;{]+)\s*(;|$)/g,Ju;function Yu(e,t,n){if(e.length===1&&typeof e[0]==`object`&&e[0]!==null&&e[0].styles!==void 0)return e[0];var r=!0,i=``;Ju=void 0;var a=e[0];a==null||a.raw===void 0?(r=!1,i+=Gu(n,t,a)):i+=a[0];for(var o=1;o<e.length;o++)i+=Gu(n,t,e[o]),r&&(i+=a[o]);qu.lastIndex=0;for(var s=``,c;(c=qu.exec(i))!==null;)s+=`-`+c[1];return{name:Lu(i)+s,styles:i,next:Ju}}function Xu(e,t,n){var r=``;return n.split(` `).forEach(function(n){e[n]===void 0?n&&(r+=n+` `):t.push(e[n]+`;`)}),r}var Zu=function(e,t,n){var r=e.key+`-`+t.name;n===!1&&e.registered[r]===void 0&&(e.registered[r]=t.styles)},Qu=function(e,t,n){Zu(e,t,n);var r=e.key+`-`+t.name;if(e.inserted[t.name]===void 0){var i=t;do e.insert(t===i?`.`+r:``,i,e.sheet,!0),i=i.next;while(i!==void 0)}};function $u(e,t){if(e.inserted[t.name]===void 0)return e.insert(``,t,e.sheet,!0)}function ed(e,t,n){var r=[],i=Xu(e,r,n);return r.length<2?n:i+t(r)}var td=function(e){var t=Iu(e);t.sheet.speedy=function(e){this.isSpeedy=e},t.compat=!0;var n=function(){var e=Yu([...arguments],t.registered,void 0);return Qu(t,e,!1),t.key+`-`+e.name};return{css:n,cx:function(){var e=[...arguments];return ed(t.registered,n,nd(e))},injectGlobal:function(){$u(t,Yu([...arguments],t.registered))},keyframes:function(){var e=Yu([...arguments],t.registered),n=`animation-`+e.name;return $u(t,{name:e.name,styles:`@keyframes `+n+`{`+e.styles+`}`}),n},hydrate:function(e){e.forEach(function(e){t.inserted[e]=!0})},flush:function(){t.registered={},t.inserted={},t.sheet.flush()},sheet:t.sheet,cache:t,getRegisteredStyles:Xu.bind(null,t.registered),merge:ed.bind(null,t.registered,n)}},nd=function e(t){for(var n=``,r=0;r<t.length;r++){var i=t[r];if(i!=null){var a=void 0;switch(typeof i){case`boolean`:break;case`object`:if(Array.isArray(i))a=e(i);else for(var o in a=``,i)i[o]&&o&&(a&&(a+=` `),a+=o);break;default:a=i}a&&(n&&(n+=` `),n+=a)}}return n},rd=new Set([`fontWeightStrong`,`lineHeight`,`lineHeightHeading1`,`lineHeightHeading2`,`lineHeightHeading3`,`lineHeightHeading4`,`lineHeightHeading5`,`lineHeightLG`,`lineHeightSM`,`opacityImage`,`opacityLoading`,`zIndexBase`,`zIndexPopupBase`]),id=new Set([`motionBase`,`motionUnit`]),ad=e=>e.replaceAll(/([a-z])([A-Z])/g,`$1-$2`).replaceAll(/([a-z])(\d)/g,`$1-$2`).replaceAll(/(\d)([A-Z])/g,`$1-$2`).replaceAll(/([A-Z]+)([A-Z][a-z])/g,`$1-$2`).toLowerCase(),od=e=>`--lobe-${ad(e)}`,sd=e=>Object.fromEntries(Object.entries(e).filter(([e])=>!id.has(e)).map(([e,t])=>[od(e),typeof t==`number`&&!rd.has(e)?`${t}px`:String(t).replaceAll(/\s+/g,` `).trim()]));Object.fromEntries(Object.keys(Sl({appearance:`light`})).filter(e=>!id.has(e)).map(e=>[e,`var(${od(e)})`]));var cd={xs:`@media (max-width: 479.98px)`,sm:`@media (max-width: 575.98px)`,md:`@media (max-width: 767.98px)`,lg:`@media (max-width: 991.98px)`,xl:`@media (max-width: 1199.98px)`,xxl:`@media (min-width: 1200px)`};({...cd}),cd.xxl,cd.lg,cd.xs,cd.md;var ld=td({key:`acss`,speedy:!0}),{injectGlobal:ud,keyframes:dd}=ld;Object.assign((e,t)=>{let{inserted:n,key:r,registered:i}=ld.cache,a=e?new Set([...e.matchAll(RegExp(`${r}-([\\w-]+)`,`g`))].map(e=>e[1])):void 0,o=Object.keys(n).filter(e=>typeof n[e]==`string`&&(!a||a.has(e)||i[`${r}-${e}`]===void 0)),s=o.map(e=>n[e]).join(``);return s?[{css:s,ids:o,key:r,tag:`<style data-emotion="${r} ${o.join(` `)}">${s}</style>`}]:[]},{cache:ld.cache});var fd=e=>`var(${od(e)})`;fd(`colorFillSecondary`),fd(`colorFill`),fd(`colorFillQuaternary`),fd(`colorFill`),`${fd(`colorFill`)}${fd(`colorText`)}`;var pd=(e,t)=>`${e} {\n${Object.entries(t).map(([e,t])=>` ${e}: ${t};`).join(`
|
|
42
|
+
`)}\n}`,md=e=>e===`dark`?`[data-theme='dark']`:`:not([data-theme='dark'])`,hd=e=>{let t=e.toLowerCase();return[`light`,`dark`].map(e=>pd(`[data-primary-color='${t}']${md(e)}`,sd(xl({appearance:e,primaryColor:t}).primary))).join(`
|
|
43
|
+
|
|
44
|
+
`)},gd=e=>{let t=e.startsWith(`#`)?e.toLowerCase():e;return hc(t)?[`light`,`dark`].map(e=>pd(`[data-neutral-color='${t}']${md(e)}`,sd(xl({appearance:e,neutralColor:t}).neutral))).join(`
|
|
45
|
+
|
|
46
|
+
`):``},_d=e=>Ai(e)?[`light`,`dark`].map(t=>{let{neutral:n,palette:r}=xl({appearance:t,palette:e});return pd(`[data-palette='${e}']${md(t)}`,sd({...r,colorErrorOutline:n.colorErrorOutline,colorWarningOutline:n.colorWarningOutline}))}).join(`
|
|
47
|
+
|
|
48
|
+
`):``,vd=(e,t)=>{if(!Ai(e)||!t)return``;let n=t.startsWith(`#`)?t.toLowerCase():t;return[`light`,`dark`].map(t=>{let{neutral:r}=xl({appearance:t,neutralColor:n,palette:e});return pd(`[data-palette='${e}'][data-neutral-color='${n}']${md(t)}`,sd({colorErrorOutline:r.colorErrorOutline,colorWarningOutline:r.colorWarningOutline}))}).join(`
|
|
49
|
+
|
|
50
|
+
`)};`${fd(`colorFillTertiary`)}${fd(`colorText`)}${fd(`fontFamily`)}${fd(`fontSize`)}${fd(`lineHeight`)}${fd(`colorLink`)}${fd(`motionDurationSlow`)}${fd(`colorLinkHover`)}${fd(`colorLinkActive`)}${fd(`lineWidthFocus`)}${fd(`colorPrimaryBorder`)}${fd(`colorTextDisabled`)}`,`${fd(`colorBgLayout`)}${fd(`fontFamilyCode`)}${fd(`fontFamilyCode`)}${fd(`yellow9`)}${fd(`colorFill`)}`;var yd=[`data-theme`,`data-primary-color`,`data-neutral-color`,`data-palette`],bd=({appearance:e,neutralColor:t,palette:n,primaryColor:r})=>({"data-neutral-color":t,"data-palette":n,"data-primary-color":r,"data-theme":e}),xd=e=>Fc(e)?e.toLowerCase():e,Sd=e=>`lobe-primary-${e.slice(1)}`,Cd=(e,t)=>{let n=Sd(e);if(t.getElementById(n))return;let r=t.createElement(`style`);r.id=n,r.textContent=hd(e),t.head.append(r)},wd=e=>e?.startsWith(`#`)?e.toLowerCase():e,Td=e=>e.startsWith(`#`)?`hex-${e.slice(1)}`:`name-${e}`,Ed=e=>`lobe-neutral-${Td(e)}`,Dd=(e,t)=>{let n=Ed(e),r=t.getElementById(n);r||(r=t.createElement(`style`),r.id=n,t.head.append(r));let i=gd(e);r.textContent!==i&&(r.textContent=i)},Od=e=>`lobe-palette-${e}`,kd=(e,t)=>{let n=Od(e),r=t.getElementById(n);r||(r=t.createElement(`style`),r.id=n,t.head.append(r));let i=_d(e);r.textContent!==i&&(r.textContent=i)},Ad=(e,t)=>`lobe-palette-${e}--neutral-${Td(t)}`,jd=(e,t,n)=>{let r=Ad(e,t),i=n.getElementById(r);i||(i=n.createElement(`style`),i.id=r,n.head.append(i));let a=vd(e,t);i.textContent!==a&&(i.textContent=a)},Md=(e,t=document.documentElement)=>{let n={...Nd(t),...e};n.primaryColor=xd(n.primaryColor),Fc(n.primaryColor)&&Cd(n.primaryColor,t.ownerDocument),n.neutralColor=wd(n.neutralColor),hc(n.neutralColor)&&Dd(n.neutralColor,t.ownerDocument),Ai(n.palette)&&(kd(n.palette,t.ownerDocument),n.neutralColor&&jd(n.palette,n.neutralColor,t.ownerDocument));for(let[e,r]of Object.entries(bd(n)))r?t.setAttribute(e,r):t.removeAttribute(e)},Nd=e=>({appearance:e.dataset.theme===`dark`?`dark`:`light`,neutralColor:e.dataset.neutralColor||void 0,palette:e.dataset.palette||void 0,primaryColor:e.dataset.primaryColor||void 0}),Pd=e=>`${e.appearance}|${e.primaryColor??``}|${e.neutralColor??``}|${e.palette??``}`,Fd={appearance:`light`},Id=Fd,Ld=()=>{let e=Nd(document.documentElement);return Pd(e)!==Pd(Id)&&(Id=e),Id},Rd=e=>{let t=new MutationObserver(e);return t.observe(document.documentElement,{attributeFilter:yd,attributes:!0}),()=>t.disconnect()},zd=(0,N.createContext)(null),Bd=()=>{let e=(0,N.use)(zd),t=(0,N.useSyncExternalStore)(Rd,Ld,()=>Fd);return e??t},Vd=()=>{let{appearance:e}=Bd();return(0,N.useMemo)(()=>({appearance:e,isDarkMode:e===`dark`}),[e])},Hd={lg:`(min-width: ${bl.screenLG}px)`,md:`(min-width: ${bl.screenMD}px)`,sm:`(min-width: ${bl.screenSM}px)`,xl:`(min-width: ${bl.screenXL}px)`,xs:`(max-width: ${bl.screenXSMax}px)`,xxl:`(min-width: ${bl.screenXXL}px)`,xxxl:`(min-width: ${bl.screenXXXL}px)`},Ud=e=>({...e,desktop:e.xxl,laptop:e.lg,mobile:e.xs,tablet:e.md}),Wd=Ud({lg:!1,md:!1,sm:!1,xl:!1,xs:!1,xxl:!1,xxxl:!1}),Gd=Wd,Kd=()=>{let e=Object.fromEntries(Object.entries(Hd).map(([e,t])=>[e,matchMedia(t).matches]));return Object.keys(e).some(t=>e[t]!==Gd[t])&&(Gd=Ud(e)),Gd},qd=e=>{let t=Object.values(Hd).map(e=>matchMedia(e));for(let n of t)n.addEventListener(`change`,e);return()=>{for(let n of t)n.removeEventListener(`change`,e)}},Jd=()=>(0,N.useSyncExternalStore)(qd,Kd,()=>Wd),Yd=(e,t)=>{if(typeof e==`function`)return e(t);e&&(e.current=t)},Xd=e=>t=>{let n=e.map(e=>{let n=Yd(e,t);return typeof n==`function`?n:()=>Yd(e,null)});return()=>{for(let e of n)e()}},Zd=e=>(0,N.useMemo)(()=>Xd(e),e),Qd=[],$d=void 0;function ef(){return $d}function tf(e){Qd.push(e)}function nf(e){let t=(t,n)=>{let r=he(af).current,i;try{$d=r;for(let e of Qd)e.before(r);i=e(t,n);for(let e of Qd)e.after(r);r.didInitialize=!0}finally{$d=void 0}return i};return t.displayName=e.displayName||e.name,t}function rf(e){return N.forwardRef(nf(e))}function af(){return{didInitialize:!1}}function of(){return typeof navigator>`u`?{userAgent:``,platform:``,maxTouchPoints:0}:{userAgent:navigator.userAgent,platform:navigator.platform??``,maxTouchPoints:navigator.maxTouchPoints??0}}var{userAgent:sf,platform:cf,maxTouchPoints:lf}=of(),uf=sf.toLowerCase(),df=cf.toLowerCase(),ff=/^i(os$|p)/.test(df)||df===`macintel`&&lf>1,pf=`android`,mf=df===pf||uf.includes(pf),hf=!ff&&df.startsWith(`mac`);df.startsWith(`win`),!mf&&/^(linux|chrome os)/.test(df);var gf=hf||ff,_f=typeof CSS<`u`&&!!CSS.supports?.(`-webkit-backdrop-filter:none`),vf=!_f&&uf.includes(`firefox`);!_f&&uf.includes(`chrom`);var yf=gf,bf=/jsdom|happydom/.test(uf);function xf(e){e.preventDefault(),e.stopPropagation()}function Sf(e){return`nativeEvent`in e}function Cf(e){return e.pointerType===``&&e.isTrusted?!0:mf&&e.pointerType?e.type===`click`&&e.buttons===1:e.detail===0&&!e.pointerType}function wf(e){return bf?!1:!mf&&e.width===0&&e.height===0||e.type===`pointerdown`&&e.width===1&&e.height===1&&e.pressure===0&&e.detail===0&&e.pointerType===`mouse`&&(mf||e.buttons===0)||e.width<1&&e.height<1&&e.pressure===0&&e.detail===0&&e.pointerType===`touch`}function Tf(e,t){let n=[`mouse`,`pen`];return t||n.push(``,void 0),n.includes(e)}function Ef(e){let t=e.type;return t===`click`||t===`mousedown`||t===`keydown`||t===`keyup`}function Df(e){let t=e.activeElement;for(;t?.shadowRoot?.activeElement!=null;)t=t.shadowRoot.activeElement;return t}function Q(e,t){if(!e||!t)return!1;let n=t.getRootNode?.();if(e.contains(t))return!0;if(n&&a(n)){let n=t;for(;n;){if(e===n)return!0;n=n.parentNode||n.host}}return!1}function Of(e,t){let n=e;for(;n;){if(r(n)&&n.matches(t))return n;n=n.assignedSlot??n.parentNode??(a(n)?n.host:null)}return null}function kf(e){return`composedPath`in e?e.composedPath()[0]??e.target:e.target}var Af=`data-base-ui-focusable`,jf=`input:not([type='hidden']):not([disabled]),[contenteditable]:not([contenteditable='false']),textarea:not([disabled])`,Mf=`ArrowLeft`,Nf=`ArrowRight`,Pf=`ArrowUp`,Ff=`ArrowDown`,If=`data-open`,Lf=`data-closed`,Rf=`data-anchor-hidden`,zf=`data-popup-open`,Bf=`data-pressed`,Vf={[zf]:``},Hf={[zf]:``,[Bf]:``},Uf={[If]:``},Wf={[Lf]:``},Gf={[Rf]:``},Kf={open(e){return e?Vf:null}},qf={open(e){return e?Hf:null}},Jf={open(e){return e?Uf:Wf},anchorHidden(e){return e?Gf:null}},Yf={...Jf,...ln},Xf=`data-trigger-disabled`;function Zf(e,t){if(!r(e))return!1;let n=e;if(t.hasElement(n))return!n.hasAttribute(Xf);for(let[,e]of t.entries())if(Q(e,n))return!e.hasAttribute(Xf);return!1}function Qf(e,t){if(t==null)return!1;if(`composedPath`in e)return e.composedPath().includes(t);let n=e;return n.target!=null&&t.contains(n.target)}function $f(e){return e.matches(`html,body`)}function ep(e){return b(e)&&e.matches(`input:not([type='hidden']):not([disabled]),[contenteditable]:not([contenteditable='false']),textarea:not([disabled])`)}function tp(e){return Of(e,`button,a[href],[role="button"],select,[tabindex]:not([tabindex="-1"]),${jf}`)!=null}function np(e){return e?e.getAttribute(`role`)===`combobox`&&ep(e):!1}function rp(e){if(!e||bf)return!0;try{return e.matches(`:focus-visible`)}catch{return!0}}function ip(e){return e?e.hasAttribute(`data-base-ui-focusable`)?e:e.querySelector(`[data-base-ui-focusable]`)||e:null}function ap(e,t){return t!=null&&!Tf(t)?0:typeof e==`function`?e():e}function op(e,t,n){let r=ap(e,n);return typeof r==`number`?r:r?.[t]}function sp(e){return typeof e==`function`?e():e}function cp(e,t){return t||e===`click`||e===`mousedown`}function lp(e){return e?.includes(`mouse`)&&e!==`mousedown`}function up(...e){return()=>{for(let t=0;t<e.length;t+=1){let n=e[t];n&&n()}}}var dp={clipPath:`inset(50%)`,overflow:`hidden`,whiteSpace:`nowrap`,border:0,padding:0,width:1,height:1,margin:-1},fp={...dp,position:`fixed`,margin:0,top:0,left:0},pp={...dp,position:`absolute`},mp=N.forwardRef(function(e,t){let[n,r]=N.useState();W(()=>{yf&&_f&&r(`button`)},[]);let i={tabIndex:0,role:n};return(0,P.jsx)(`span`,{...e,ref:t,style:fp,"aria-hidden":!n||void 0,...i,"data-base-ui-focus-guard":``})});function hp(e,t,n){return Math.floor(e/t)!==n}function gp(e,t){return t<0||t>=e.length}function _p(e,t){return bp(e.current,{disabledIndices:t})}function vp(e,t){return bp(e.current,{decrement:!0,startingIndex:e.current.length,disabledIndices:t})}function yp(e,t,n){let{decrement:r,loopFocus:i,allowEscape:a,disabledIndices:o,minIndex:s,maxIndex:c}=n,l=()=>bp(e,{startingIndex:t,decrement:r,disabledIndices:o}),u,d=!1;if(!i)u=r?Math.max(s,l()):Math.min(c,l());else if(r?t<=s:t>=c){let n=r?-1:e.length;a&&t!==n?u=-1:(u=r?c:s,d=!0)}else u=l();return{index:gp(e,u)?-1:u,wrapped:d}}function bp(e,{startingIndex:t=-1,decrement:n=!1,disabledIndices:r,amount:i=1}={}){let a=t;do a+=n?-i:i;while(a>=0&&a<=e.length-1&&Sp(e,a,r));return a}function xp(e,{event:t,orientation:n,loopFocus:r,onLoop:i,rtl:a,cols:o,disabledIndices:s,minIndex:c,maxIndex:l,prevIndex:u,stopEvent:d=!1}){let f=u,p;if(t.key===`ArrowUp`?p=`up`:t.key===`ArrowDown`&&(p=`down`),p){let n=[],a=[],m=!1,h=0;{let t=null,r=-1;e.forEach((e,i)=>{if(e==null)return;h+=1;let o=Of(e,`[role="row"]`);o&&(m=!0),(o!==t||r===-1)&&(t=o,r+=1,n[r]=[]),n[r].push(i),a[i]=r})}let g=!1,_=0;if(m)for(let e of n){let t=e.length;t>_&&(_=t),t!==o&&(g=!0)}let y=g&&h<e.length,b=_||o,x=o=>{if(!g||u===-1)return;let c=a[u];if(c==null)return;let l=n[c].indexOf(u),d=o===`up`?-1:1;for(let o=c+d,f=0;f<n.length;f+=1,o+=d){if(o<0||o>=n.length){if(!r||y)return;if(o=o<0?n.length-1:0,i){let e=Math.min(l,n[o].length-1),r=i(t,u,n[o][e]??n[o][0]);o=a[r]??o}}let c=n[o];for(let t=Math.min(l,c.length-1);t>=0;--t){let n=c[t];if(!Sp(e,n,s))return n}}},S=t=>{if(!y||u===-1)return;let n=u%b,i=t===`up`?-b:b,a=l-l%b,o=v(l/b)+1;for(let t=u-n+i,c=0;c<o;c+=1,t+=i){if(t<0||t>l){if(!r)return;t=t<0?a:0}let i=Math.min(t+b-1,l);for(let r=Math.min(t+n,i);r>=t;--r)if(!Sp(e,r,s))return r}};d&&xf(t);let C=x(p)??S(p);if(C!==void 0)f=C;else if(u===-1)f=p===`up`?l:c;else if(f=bp(e,{startingIndex:u,amount:b,decrement:p===`up`,disabledIndices:s}),r){if(p===`up`&&(u-b<c||f<0)){let e=u%b,n=l%b,r=l-(n-e);f=n===e?l:n>e?r:r-b,i&&(f=i(t,u,f))}p===`down`&&u+b>l&&(f=bp(e,{startingIndex:u%b-b,amount:b,disabledIndices:s}),i&&(f=i(t,u,f)))}gp(e,f)&&(f=u)}if(n===`both`){let n=v(u/o);t.key===(a?`ArrowLeft`:`ArrowRight`)&&(d&&xf(t),u%o===o-1?r&&(f=bp(e,{startingIndex:u-u%o-1,disabledIndices:s}),i&&(f=i(t,u,f))):(f=bp(e,{startingIndex:u,disabledIndices:s}),r&&hp(f,o,n)&&(f=bp(e,{startingIndex:u-u%o-1,disabledIndices:s}),i&&(f=i(t,u,f)))),hp(f,o,n)&&(f=u)),t.key===(a?`ArrowRight`:`ArrowLeft`)&&(d&&xf(t),u%o===0?r&&(f=bp(e,{startingIndex:u+(o-u%o),decrement:!0,disabledIndices:s}),i&&(f=i(t,u,f))):(f=bp(e,{startingIndex:u,decrement:!0,disabledIndices:s}),r&&hp(f,o,n)&&(f=bp(e,{startingIndex:u+(o-u%o),decrement:!0,disabledIndices:s}),i&&(f=i(t,u,f)))),hp(f,o,n)&&(f=u));let c=v(l/o)===n;gp(e,f)&&(r&&c?(f=t.key===(a?`ArrowRight`:`ArrowLeft`)?l:bp(e,{startingIndex:u-u%o-1,disabledIndices:s}),i&&(f=i(t,u,f))):f=u)}return f}function Sp(e,t,n){if(typeof n==`function`?n(t):n?.includes(t)??!1)return!0;let r=e[t];return r?!wp(r)||r.matches(`:disabled`)?!0:!n&&(r.hasAttribute(`disabled`)||r.getAttribute(`aria-disabled`)===`true`):!1}function Cp(e){return e.visibility===`hidden`||e.visibility===`collapse`}function wp(e,t=e?u(e):null){return!e||!e.isConnected||!t||Cp(t)?!1:typeof e.checkVisibility==`function`?e.checkVisibility():t.display!==`none`&&t.display!==`contents`}var Tp=`a[href],button,input,select,textarea,summary,details,iframe,object,embed,[tabindex],[contenteditable]:not([contenteditable="false"]),audio[controls],video[controls]`;function Ep(e){let t=e.assignedSlot;if(t)return t;if(e.parentElement)return e.parentElement;let n=e.getRootNode();return a(n)?n.host:null}function Dp(e){for(let t of Array.from(e.children))if(i(t)===`summary`)return t;return null}function Op(e,t){let n=Dp(t);return!!n&&(e===n||Q(n,e))}function kp(e){let t=e?i(e):``;return e!=null&&e.matches(Tp)&&(t!==`summary`||e.parentElement!=null&&i(e.parentElement)===`details`&&Dp(e.parentElement)===e)&&(t!==`details`||Dp(e)==null)&&(t!==`input`||e.type!==`hidden`)}function Ap(e){if(!kp(e)||!e.isConnected||e.matches(`:disabled`))return!1;for(let t=e;t;t=Ep(t)){let n=t!==e,r=i(t)===`slot`;if(t.hasAttribute(`inert`)||n&&i(t)===`details`&&!t.open&&!Op(e,t)||t.hasAttribute(`hidden`)||!r&&!jp(t,n))return!1}return!0}function jp(e,t){let n=u(e);return t?n.display!==`none`:wp(e,n)}function Mp(e){let t=e.tabIndex;if(t<0){let t=i(e);if(t===`details`||t===`audio`||t===`video`||b(e)&&e.isContentEditable)return 0}return t}function Np(e){if(i(e)!==`input`)return null;let t=e;return t.type===`radio`&&t.name!==``?t:null}function Pp(e,t){let n=Np(e);if(!n)return!0;let r=t.find(e=>{let t=Np(e);return t?.name===n.name&&t.form===n.form&&t.checked});return r?r===n:t.find(e=>{let t=Np(e);return t?.name===n.name&&t.form===n.form})===n}function Fp(e){if(b(e)&&i(e)===`slot`){let t=e.assignedElements({flatten:!0});if(t.length>0)return t}return b(e)&&e.shadowRoot?Array.from(e.shadowRoot.children):Array.from(e.children)}function Ip(e,t){Fp(e).forEach(e=>{kp(e)&&t.push(e),Ip(e,t)})}function Lp(e,t,n){Fp(e).forEach(e=>{b(e)&&e.matches(t)&&n.push(e),Lp(e,t,n)})}function Rp(e){return Ap(e)&&Mp(e)>=0}function zp(e){let t=[];return Ip(e,t),t.filter(Ap)}function Bp(e){let t=zp(e);return t.filter(e=>Mp(e)>=0&&Pp(e,t))}function Vp(e,t){let n=Bp(e),r=n.length;if(r===0)return;let i=Df(pn(e)),a=n.indexOf(i);return n[a===-1?t===1?0:r-1:a+t]}function Hp(e){return Vp(pn(e).body,1)||e}function Up(e){return Vp(pn(e).body,-1)||e}function Wp(e,t,n){if(!e)return null;let r=[];Ip(pn(e).body,r);let i=r.indexOf(e);if(i===-1)return null;let a=r.filter(Ap);for(let e=1;e<r.length;e+=1){let o=r[(i+t*e+r.length)%r.length];if(!Q(n,o)&&Rp(o)&&Pp(o,a))return o}return r[i]}function Gp(e,t){let n=t||e.currentTarget,r=e.relatedTarget;return!r||!Q(n,r)}function Kp(e){Bp(e).forEach(e=>{e.dataset.tabindex=e.getAttribute(`tabindex`)||``,e.setAttribute(`tabindex`,`-1`)})}function qp(e){let t=[];Lp(e,`[data-tabindex]`,t),t.forEach(e=>{let t=e.dataset.tabindex;delete e.dataset.tabindex,t?e.setAttribute(`tabindex`,t):e.removeAttribute(`tabindex`)})}function Jp(e,t,n=!0){return e.filter(e=>e.parentId===t).flatMap(t=>[...!n||t.context?.open?[t]:[],...Jp(e,t.id,n)])}function Yp(e,t){let n=[],r=e.find(e=>e.id===t)?.parentId;for(;r;){let t=e.find(e=>e.id===r);r=t?.parentId,t&&(n=n.concat(t))}return n}function Xp(e){return`data-base-ui-${e}`}var Zp=0;function Qp(e,t={}){let{preventScroll:n=!1,sync:r=!1,shouldFocus:i}=t;cancelAnimationFrame(Zp);function a(){(!i||i())&&e?.focus({preventScroll:n})}if(r)return a(),be;let o=requestAnimationFrame(a);return Zp=o,()=>{Zp===o&&(cancelAnimationFrame(o),Zp=0)}}var $p=`data-base-ui-inert`,em=new WeakMap,tm=new WeakSet,nm=new WeakMap,rm=0;function im(e){return e?a(e)?e.host:im(e.parentNode):null}var am=(e,t)=>t.map(t=>{if(e.contains(t))return t;let n=im(t);return e.contains(n)?n:null}).filter(e=>e!=null),om=e=>{let t=new Set;return e.forEach(e=>{let n=e;for(;n&&!t.has(n);)t.add(n),n=n.parentNode}),t},sm=(e,t,n)=>{let r=[],a=e=>{e&&!n.has(e)&&Array.from(e.children).forEach(e=>{i(e)!==`script`&&(t.has(e)?a(e):r.push(e))})};return a(e),r};function cm(e,t,n,{mark:r=!0}){let i=am(t,e),a=r?sm(t,om(i),new Set(i)):[],o=[],s=[];if(n){let e=am(t,Array.from(t.querySelectorAll(`[aria-live]`))),n=i.concat(e);sm(t,om(n),new Set(n)).forEach(e=>{let t=e.getAttribute(`aria-hidden`),n=t!==null&&t!==`false`,r=(em.get(e)||0)+1;em.set(e,r),o.push(e),r===1&&n&&tm.add(e),n||e.setAttribute(`aria-hidden`,`true`)})}return r&&a.forEach(e=>{let t=(nm.get(e)||0)+1;nm.set(e,t),s.push(e),t===1&&e.setAttribute($p,``)}),rm+=1,()=>{o.forEach(e=>{let t=(em.get(e)||0)-1;em.set(e,t),t||(tm.has(e)||e.removeAttribute(`aria-hidden`),tm.delete(e))}),r&&s.forEach(e=>{let t=(nm.get(e)||0)-1;nm.set(e,t),t||e.removeAttribute($p)}),--rm,rm||(em=new WeakMap,tm=new WeakSet,nm=new WeakMap)}}function lm(e,t={}){let{ariaHidden:n=!1,mark:r=!0}=t,i=pn(e[0]).body;return cm(e,i,n,{mark:r})}var um={style:{transition:`none`}},dm=`data-base-ui-click-trigger`,fm={fallbackAxisSide:`none`},pm={fallbackAxisSide:`end`},mm={clipPath:`inset(50%)`,position:`fixed`,top:0,left:0},hm=N.createContext(null),gm=()=>N.useContext(hm),_m=Xp(`portal`);function vm(e={}){let{ref:t,container:n,componentProps:r=Se,elementProps:i}=e,a=vt(),o=gm()?.portalNode,[c,l]=N.useState(null),[u,d]=N.useState(null),f=U(e=>{e!==null&&d(e)}),p=N.useRef(null);W(()=>{if(n===null){p.current&&(p.current=null,d(null),l(null));return}let e=(n&&(s(n)?n:n.current))??o??document.body;e==null?p.current&&(p.current=null,d(null),l(null)):p.current!==e&&(p.current=e,d(null),l(e))},[n,o]);let m=st(`div`,r,{ref:[t,f],props:[{id:a,[_m]:``},i]}),h=c&&m?Cn.createPortal(m,c):null;return{node:u,nodeId:N.isValidElement(m)?m.props.id:void 0,subtree:h}}var ym=N.forwardRef(function(e,t){let{render:n,className:r,style:i,children:a,container:o,portalOwnerRole:s,...c}=e,{node:l,nodeId:u,subtree:d}=vm({container:o,ref:t,componentProps:e,elementProps:c}),f=N.useRef(null),p=N.useRef(null),m=N.useRef(null),h=N.useRef(null),[g,_]=N.useState(null),v=N.useRef(!1),y=g?.modal,b=g?.open,x=!!g&&!g.modal&&g.open&&!!l;N.useEffect(()=>{if(!l||y)return;function e(e){l&&e.relatedTarget&&Gp(e)&&(e.type===`focusin`?v.current&&=(qp(l),!1):(Kp(l),v.current=!0))}return up(G(l,`focusin`,e,!0),G(l,`focusout`,e,!0))},[l,y]),W(()=>{l&&b===!0&&v.current&&(qp(l),v.current=!1)},[b,l]);let S=N.useMemo(()=>({beforeOutsideRef:f,afterOutsideRef:p,beforeInsideRef:m,afterInsideRef:h,portalNode:l,setFocusManagerState:_}),[l]);return(0,P.jsxs)(N.Fragment,{children:[d,(0,P.jsxs)(hm.Provider,{value:S,children:[x&&l&&(0,P.jsx)(mp,{"data-type":`outside`,ref:f,onFocus:e=>{Gp(e,l)?m.current?.focus():Up(g?g.domReference:null)?.focus()}}),x&&l&&(0,P.jsx)(`span`,{role:s,"aria-owns":u,style:mm}),l&&Cn.createPortal(a,l),x&&l&&(0,P.jsx)(mp,{"data-type":`outside`,ref:p,onFocus:e=>{Gp(e,l)?h.current?.focus():(Hp(g?g.domReference:null)?.focus(),g?.closeOnFocusOut&&g?.onOpenChange(!1,bt(`focus-out`,e.nativeEvent)))}})]})]})});function bm(){let e=new Map;return{emit(t,n){e.get(t)?.forEach(e=>e(n))},on(t,n){e.has(t)||e.set(t,new Set),e.get(t).add(n)},off(t,n){e.get(t)?.delete(n)}}}var xm=class{nodesRef={current:[]};events=bm();addNode(e){this.nodesRef.current.push(e)}removeNode(e){let t=this.nodesRef.current.findIndex(t=>t===e);t!==-1&&this.nodesRef.current.splice(t,1)}},Sm=N.createContext(null),Cm=N.createContext(null),wm=()=>N.useContext(Sm)?.id||null,Tm=e=>{let t=N.useContext(Cm);return e??t};function Em(e){let t=vt(),n=Tm(e),r=wm();return W(()=>{if(!t)return;let e={id:t,parentId:r};return n?.addNode(e),()=>{n?.removeNode(e)}},[n,t,r]),t}function Dm(e){let{children:t,id:n}=e,r=wm();return(0,P.jsx)(Sm.Provider,{value:N.useMemo(()=>({id:n,parentId:r}),[n,r]),children:t})}function Om(e){let{children:t,externalTree:n}=e,r=he(()=>n??new xm).current;return(0,P.jsx)(Cm.Provider,{value:r,children:t})}function km(e,t){let n=x(kf(e));return e instanceof n.KeyboardEvent?`keyboard`:e instanceof n.FocusEvent?t||`keyboard`:`pointerType`in e?e.pointerType||(Cf(e)?`keyboard`:t||`mouse`):`touches`in e?`touch`:e instanceof n.MouseEvent?t||(e.detail===0?`keyboard`:`mouse`):``}var Am=20,jm=[];function Mm(){jm=jm.filter(e=>e.deref()?.isConnected)}function Nm(e){Mm(),e&&i(e)!==`body`&&(jm.push(new WeakRef(e)),jm.length>Am&&(jm=jm.slice(-20)))}function Pm(){return Mm(),jm[jm.length-1]?.deref()}function Fm(e){return e?Rp(e)?e:Bp(e)[0]||e:null}function Im(e){if(e.hasAttribute(`tabindex`)&&!e.hasAttribute(`data-tabindex`)||!e.getAttribute(`role`)?.includes(`dialog`))return;let t=zp(e).filter(e=>{let t=e.getAttribute(`data-tabindex`)||``;return Rp(e)||e.hasAttribute(`data-tabindex`)&&!t.startsWith(`-`)}),n=e.getAttribute(`tabindex`);t.length===0?n!==`0`&&(e.setAttribute(`tabindex`,`0`),e.setAttribute(`data-tabindex`,`0`)):(n!==`-1`||e.hasAttribute(`data-tabindex`)&&e.getAttribute(`data-tabindex`)!==`-1`)&&(e.setAttribute(`tabindex`,`-1`),e.setAttribute(`data-tabindex`,`-1`))}function Lm(e){let{context:t,children:n,disabled:r=!1,initialFocus:a=!0,returnFocus:o=!0,explicitReturnFocus:s,restoreFocus:c=!1,modal:l=!0,closeOnFocusOut:u=!0,openInteractionType:d=``,nextFocusableElement:f,previousFocusableElement:p,beforeContentFocusGuardRef:m,externalTree:h,getInsideElements:g}=e,_=t.useState(`open`),v=t.useState(`domReferenceElement`),y=t.useState(`floatingElement`),{events:x,dataRef:S}=t.context,C=U(()=>S.current.floatingContext?.nodeId),w=a===!1,T=np(v)&&w,E=xn(a),D=xn(o),O=xn(s),ee=xn(d),k=xn(_),A=Tm(h),j=gm(),M=N.useRef(!1),te=N.useRef(!1),F=N.useRef(!1),I=N.useRef(null),L=N.useRef(``),R=N.useRef(``),ne=N.useRef(null),z=N.useRef(null),re=Pe(ne,m,j?.beforeInsideRef),ie=Pe(z,j?.afterInsideRef),ae=bn(),oe=bn(),se=tn(),B=j!=null,V=ip(y),ce=U((e=V)=>e?Bp(e):[]),le=U(()=>g?.().filter(e=>e!=null)??[]);N.useEffect(()=>{if(r||!l)return;function e(e){e.key===`Tab`&&Q(V,Df(pn(V)))&&ce().length===0&&!T&&xf(e)}return G(pn(V),`keydown`,e)},[r,V,l,T,ce]),N.useEffect(()=>{if(r||!_)return;let e=pn(V);function t(){F.current=!1}function n(e){let t=kf(e),n=le(),r=Q(y,t)||Q(v,t)||Q(j?.portalNode,t)||n.some(e=>e===t||Q(e,t));F.current=!r,R.current=e.pointerType||`keyboard`,Of(t,`[data-base-ui-click-trigger]`)&&(te.current=!0,oe.start(0,()=>{te.current=!1}))}function i(){R.current=`keyboard`}return up(G(e,`pointerdown`,n,!0),G(e,`pointerup`,t,!0),G(e,`pointercancel`,t,!0),G(e,`keydown`,i,!0),t)},[r,y,v,V,_,j,oe,le]),N.useEffect(()=>{if(r||!u)return;let e=pn(V);function n(){te.current=!0,oe.start(0,()=>{te.current=!1})}function i(e){let t=kf(e);Rp(t)&&(I.current=t)}function a(n){let r=n.relatedTarget,i=n.currentTarget,a=kf(n);l&&r==null&&a!=null&&Q(y,a)&&Nm(a),queueMicrotask(()=>{let o=C(),s=t.context.triggerElements,u=le(),d=r?.hasAttribute(Xp(`focus-guard`))&&[ne.current,z.current,j?.beforeInsideRef.current,j?.afterInsideRef.current,j?.beforeOutsideRef.current,j?.afterOutsideRef.current,wn(p),wn(f)].includes(r),m=!(Q(v,r)||Q(y,r)||Q(r,y)||Q(j?.portalNode,r)||u.some(e=>e===r||Q(e,r))||s.hasMatchingElement(e=>Q(e,r))||d||A&&(Jp(A.nodesRef.current,o).find(e=>Q(e.context?.elements.floating,r)||Q(e.context?.elements.domReference,r))||Yp(A.nodesRef.current,o).find(e=>[e.context?.elements.floating,ip(e.context?.elements.floating)].includes(r)||e.context?.elements.domReference===r)));if(i===v&&V&&Im(V),c&&i!==v&&!wp(a)&&Df(e)===e.body){if(b(V)&&(V.focus(),c===`popup`)){se.request(()=>{V.focus()});return}let e=ce(),t=I.current,n=(t&&e.includes(t)?t:null)||e[e.length-1]||V;b(n)&&n.focus()}S.current.insideReactTree?S.current.insideReactTree=!1:(T||!l)&&r&&m&&!te.current&&(T||r!==Pm())&&(M.current=!0,t.setOpen(!1,bt(Lt,n)))})}function o(){F.current||(S.current.insideReactTree=!0,ae.start(0,()=>{S.current.insideReactTree=!1}))}let s=b(v)?v:null;if(y||s)return up(s&&G(s,`focusout`,a),s&&G(s,`pointerdown`,n),y&&G(y,`focusin`,i),y&&G(y,`focusout`,a),y&&j&&G(y,`focusout`,o,!0))},[r,v,y,V,l,A,j,t,u,c,ce,T,C,S,ae,oe,se,f,p,le]),N.useEffect(()=>{if(r||!y||!_)return;let e=Array.from(j?.portalNode?.querySelectorAll(`[${Xp(`portal`)}]`)||[]),t=(A?Yp(A.nodesRef.current,C()):[]).find(e=>np(e.context?.elements.domReference||null))?.context?.elements.domReference,n=lm([y,...e,ne.current,z.current,j?.beforeOutsideRef.current,j?.afterOutsideRef.current,...le(),t,wn(p),wn(f),T?v:null].filter(e=>e!=null),{ariaHidden:l||T,mark:!1}),i=lm([y,...e].filter(e=>e!=null));return()=>{i(),n()}},[_,r,v,y,l,j,T,A,C,f,p,le]),W(()=>{if(!_||r||!b(V))return;L.current=``,R.current=``;let e=pn(V),t=Df(e);queueMicrotask(()=>{let n=E.current,r=typeof n==`function`?n(ee.current||``):n;if(r===void 0||r===!1||Q(V,t))return;let i=null,a=()=>(i??=ce(V),i[0]||V),o;o=r===!0||r===null?a():wn(r),o||=a();let s=Q(V,Df(e)),c=S.current.openEvent,l=c?.type===`mousedown`&&Cf(c);Qp(o,{sync:l,preventScroll:o===V,shouldFocus(){if(!k.current)return!1;if(s)return!0;let t=Df(e);return!(t!==o&&Q(V,t))}})})},[r,_,V,ce,E,ee,k,S]);let ue=N.useRef(null);W(()=>{if(r||!V){ue.current=null;return}ue.current&&=(ue.current.cancelled=!0,null);let e=pn(V),t=Df(e),n=ee.current==null;Nm(t);function a(e){if(e.open||(L.current=km(e.nativeEvent,R.current)),(e.reason===`focus-out`&&e.triggerElement?.hasAttribute(Xp(`focus-guard`))||e.reason===`trigger-hover`&&e.nativeEvent.type===`mouseleave`)&&(M.current=!0),e.reason===`outside-press`){if(e.nested)M.current=!1;else if(Cf(e.nativeEvent)||wf(e.nativeEvent))M.current=!1;else{let e=!1;pn(V).createElement(`div`).focus({get preventScroll(){return e=!0,!1}}),e?M.current=!1:M.current=!0}}}x.on(`openchange`,a);function o(e){let r=D.current,a=typeof r==`function`?r(e):r;if(a===void 0||a===!1)return null;a===null&&(a=!0);let o=v?.isConnected?v:null,s=t?.isConnected&&i(t)!==`body`?t:null,c=n?s||o:o||s;return c||=Pm()||null,typeof a==`boolean`?c:wn(a)||c||null}return()=>{x.off(`openchange`,a);let t=Df(e),n=le(),r=Q(y,t)||n.some(e=>e===t||Q(e,t))||A&&Jp(A.nodesRef.current,C(),!1).some(e=>Q(e.context?.elements.floating,t)),i=D.current,s=L.current,c=o(s),l={cancelled:!1};ue.current=l,queueMicrotask(()=>{ue.current===l&&(ue.current=null);let n=Fm(c),a=O.current??typeof i!=`boolean`;if(!l.cancelled&&i&&!M.current&&b(n)&&(a||n===t||t===e.body||r)){let e={preventScroll:!0};s===`keyboard`&&(e.focusVisible=!0),n.focus(e)}M.current=!1})}},[r,y,V,D,O,ee,x,A,v,C,le]),W(()=>{if(!_f||_||!y)return;let e=Df(pn(y));b(e)&&ep(e)&&Q(y,e)&&e.blur()},[_,y]),W(()=>{if(!r&&j)return j.setFocusManagerState({modal:l,closeOnFocusOut:u,open:_,onOpenChange:t.setOpen,domReference:v}),()=>{j.setFocusManagerState(null)}},[r,j,l,_,t,u,v]),W(()=>{if(!r&&V)return Im(V),()=>{queueMicrotask(Mm)}},[r,V]);let H=!r&&(!l||!T)&&(B||l);return(0,P.jsxs)(N.Fragment,{children:[H&&(0,P.jsx)(mp,{"data-type":`inside`,ref:re,onFocus:e=>{if(l){let e=ce();Qp(e[e.length-1])}else j?.portalNode&&(M.current=!1,Gp(e,j.portalNode)?Hp(v)?.focus():wn(p??j.beforeOutsideRef)?.focus())}}),n,H&&(0,P.jsx)(mp,{"data-type":`inside`,ref:ie,onFocus:e=>{l?Qp(ce()[0]):j?.portalNode&&(u&&(M.current=!0),Gp(e,j.portalNode)?Up(v)?.focus():wn(f??j.afterOutsideRef)?.focus())}})]})}function Rm(e,t={}){let{enabled:n=!0,event:r=`click`,toggle:i=!0,ignoreMouse:a=!1,stickIfOpen:o=!0,touchOpenDelay:s=0,reason:c=Ct}=t,l=e.context.dataRef,u=N.useRef(void 0),d=tn(),f=bn(),p=N.useMemo(()=>{function t(t,n,r,i){let a=bt(c,n,r);t&&i===`touch`&&s>0?f.start(s,()=>{e.setOpen(!0,a)}):e.setOpen(t,a)}function n(t,n,r){let a=l.current.openEvent,s=e.select(`domReferenceElement`)!==n;return t&&s||!t||!i?!0:a&&(typeof o==`function`?o():o)?!r(a.type):!1}return{onPointerDown(e){u.current=Tf(e.pointerType,!0)&&wf(e.nativeEvent)?`virtual`:e.pointerType},onMouseDown(i){let o=u.current,s=i.nativeEvent,c=e.select(`open`);if(i.button!==0||r===`click`||Tf(o,!0)&&a)return;let l=n(c,i.currentTarget,e=>e===`click`||e===`mousedown`),f=kf(s),p=ep(f);if(p||o===`virtual`){t(l,s,p?f:i.currentTarget,o);return}let m=i.currentTarget;d.request(()=>{t(l,s,m,o)})},onClick(i){if(r===`mousedown-only`)return;let o=u.current;r===`mousedown`&&o?u.current=void 0:Tf(o,!0)&&a||t(n(e.select(`open`),i.currentTarget,e=>e===`click`||e===`mousedown`||e===`keydown`||e===`keyup`),i.nativeEvent,i.currentTarget,o)},onKeyDown(){u.current=void 0}}},[l,r,a,c,e,o,i,d,f,s]);return N.useMemo(()=>n?{reference:p}:Se,[n,p])}function zm(){return!1}function Bm(e){return{escapeKey:typeof e==`boolean`?e:e?.escapeKey??!1,outsidePress:typeof e==`boolean`?e:e?.outsidePress??!0}}function Vm(e,t={}){let{enabled:n=!0,escapeKey:i=!0,outsidePress:s=!0,outsidePressEvent:l=`sloppy`,referencePress:d=zm,bubbles:f,externalTree:p}=t,m=e.useState(`open`),h=e.useState(`floatingElement`),{dataRef:g,events:_}=e.context,v=Tm(p),y=U(typeof s==`function`?s:()=>!1),x=typeof s==`function`?y:s,S=x!==!1,C=U(()=>l),{escapeKey:w,outsidePress:T}=Bm(f),E=N.useRef(!1),D=N.useRef(!1),O=N.useRef(!1),ee=N.useRef(!1),k=N.useRef(!1),A=N.useRef(``),j=N.useRef(null),M=bn(),P=bn(),te=bn(),F=U(()=>{P.clear(),g.current.insideReactTree=!1}),I=U(e=>{let t=g.current.floatingContext?.nodeId;return(v?Jp(v.nodesRef.current,t):[]).some(t=>t.context?.open&&!t.context.dataRef.current[e])}),L=U(t=>Qf(t,e.select(`floatingElement`))||Qf(t,e.select(`domReferenceElement`))),R=U(t=>{d()&&e.setOpen(!1,bt(Ct,t.nativeEvent))}),ne=U(t=>{if(!m||!n||!i||t.key!==`Escape`)return;let r=Sf(t)?t.nativeEvent:t;if(k.current||r.isComposing||!w&&I(`__escapeKeyBubbles`))return;let a=bt(Rt,r);e.setOpen(!1,a),a.isCanceled||t.preventDefault(),!w&&!a.isPropagationAllowed&&t.stopPropagation()}),z=U(()=>{g.current.insideReactTree=!0,P.start(0,F)}),re=U(t=>{if(!m||!n||t.button!==0)return;let r=kf(t.nativeEvent);Q(e.select(`floatingElement`),r)&&(E.current||(E.current=!0,D.current=!1))}),ie=U(e=>{m&&n&&(e.defaultPrevented||e.nativeEvent.defaultPrevented)&&E.current&&(D.current=!0)});N.useEffect(()=>{function e(e){e.open||(ee.current=!1)}return _.on(`openchange`,e),()=>{_.off(`openchange`,e)}},[_]),N.useEffect(()=>F,[F]),N.useEffect(()=>{if(!m||!n)return m||(ee.current=!1,k.current=!1,A.current=``,j.current=null),F;g.current.__escapeKeyBubbles=w,g.current.__outsidePressBubbles=T;let t=new yn,s=pn(h);function l(){te.clear(),k.current=!0}function d(){k.current=!0,te.start(_f?5:0,()=>{k.current=!1})}function f(){O.current=!0,t.start(0,()=>{O.current=!1})}function p(){E.current=!1,D.current=!1}function _(){let e=A.current,t=e===`pen`||!e?`mouse`:e,n=C(),r=typeof n==`function`?n():n;return typeof r==`string`?r:r[t]}function y(e){let t=_();return t===`intentional`&&e.type!==`click`||t===`sloppy`&&e.type===`click`}function N(e){let t=g.current.floatingContext?.nodeId,n=v&&Jp(v.nodesRef.current,t).some(t=>Qf(e,t.context?.elements.floating));return L(e)||n}function P(n){if(y(n)){n.type!==`click`&&!L(n)&&(t.clear(),O.current=!1),F();return}if(g.current.insideReactTree){F();return}let i=kf(n),s=`[${Xp(`inert`)}]`,l=r(i)?i.getRootNode():null,d=Array.from((a(l)?l:pn(e.select(`floatingElement`))).querySelectorAll(s)),f=e.context.triggerElements;if(i&&(f.hasElement(i)||f.hasMatchingElement(e=>Q(e,i))))return;let p=r(i)?i:null;for(;p&&!o(p);){let e=c(p);if(o(e)||!r(e))break;p=e}if(!(d.length&&r(i)&&!$f(i)&&!Q(i,e.select(`floatingElement`))&&d.every(e=>!Q(p,e)))){if(b(i)&&!(`touches`in n)){let e=o(i),t=u(i),r=/auto|scroll/,a=e||r.test(t.overflowX),s=e||r.test(t.overflowY),c=a&&i.clientWidth>0&&i.scrollWidth>i.clientWidth,l=s&&i.clientHeight>0&&i.scrollHeight>i.clientHeight,d=t.direction===`rtl`,f=l&&(d?n.offsetX<=i.offsetWidth-i.clientWidth:n.offsetX>i.clientWidth),p=c&&n.offsetY>i.clientHeight;if(f||p)return}if(!N(n)){if(_()===`intentional`){if(n.detail!==0&&!Cf(n)&&!ee.current)return;if(O.current){t.clear(),O.current=!1;return}}(typeof x!=`function`||x(n))&&(I(`__outsidePressBubbles`)||(e.setOpen(!1,bt(Et,n)),F()))}}}function R(t){_()===`sloppy`&&t.pointerType!==`touch`&&e.select(`open`)&&n&&!L(t)&&P(t)}function z(t){if(_()!==`sloppy`||!e.select(`open`)||!n||L(t))return;let r=t.touches[0];r&&(j.current={startTime:Date.now(),startX:r.clientX,startY:r.clientY,dismissOnTouchEnd:!1,dismissOnMouseDown:!0},M.start(1e3,()=>{j.current&&(j.current.dismissOnTouchEnd=!1,j.current.dismissOnMouseDown=!1)}))}function re(e,t){let n=kf(e);if(!n)return;let r=G(n,e.type,()=>{t(e),r()})}function ie(e){A.current=`touch`,re(e,z)}function ae(e){M.clear(),e.type===`pointerdown`&&(e.button===0&&(ee.current=!0),A.current=e.pointerType),(e.type!==`mousedown`||!j.current||j.current.dismissOnMouseDown)&&re(e,e=>{e.type===`pointerdown`?R(e):P(e)})}function oe(e){if(e.type===`pointercancel`&&(ee.current=!1),!E.current)return;let n=D.current;p(),_()===`intentional`&&(e.type===`pointercancel`?n&&f():N(e)||(n?f():(typeof x!=`function`||x(e))&&(t.clear(),O.current=!0,F())))}function se(e){if(_()!==`sloppy`||!j.current||L(e))return;let t=e.touches[0];if(!t)return;let n=Math.abs(t.clientX-j.current.startX),r=Math.abs(t.clientY-j.current.startY),i=Math.sqrt(n*n+r*r);i>5&&(j.current.dismissOnTouchEnd=!0),i>10&&(P(e),M.clear(),j.current=null)}function B(e){re(e,se)}function V(e){_()===`sloppy`&&j.current&&!L(e)&&(j.current.dismissOnTouchEnd&&P(e),M.clear(),j.current=null)}function ce(e){re(e,V)}let le=up(i&&up(G(s,`keydown`,ne),G(s,`compositionstart`,l),G(s,`compositionend`,d)),S&&up(G(s,`click`,ae,!0),G(s,`pointerdown`,ae,!0),G(s,`pointerup`,oe,!0),G(s,`pointercancel`,oe,!0),G(s,`mousedown`,ae,!0),G(s,`mouseup`,oe,!0),G(s,`touchstart`,ie,{capture:!0,passive:!0}),G(s,`touchmove`,B,{capture:!0,passive:!0}),G(s,`touchend`,ce,{capture:!0,passive:!0})));return()=>{le(),t.clear(),p(),O.current=!1}},[g,h,i,S,x,m,n,w,T,ne,F,C,I,L,v,e,M,te]);let ae=N.useMemo(()=>({onKeyDown:ne,onPointerDown:R,onClick:R}),[ne,R]),oe=N.useMemo(()=>({onKeyDown:ne,onPointerDown:ie,onMouseDown:ie,onClickCapture:z,onMouseDownCapture(e){z(),re(e)},onPointerDownCapture(e){z(),re(e)},onMouseUpCapture:z,onTouchEndCapture:z,onTouchMoveCapture:z}),[ne,z,re,ie]);return N.useMemo(()=>n?{reference:ae,floating:oe,trigger:ae}:{},[n,ae,oe])}var Hm=class{attachedStores=[];attachedStoreValue=null;storeListeners=new Set;constructor(e,t,n=!0){this.fallbackStore=e,this.componentName=t,this.throwOnMissingTrigger=n}get attachedStore(){return this.attachedStoreValue}get store(){return this.attachedStoreValue??this.fallbackStore}get serverStore(){return this.fallbackStore}subscribeStore(e){return this.storeListeners.add(e),()=>{this.storeListeners.delete(e)}}attachStore(e){return this.attachedStores.push(e),this.setActiveStore(e),()=>{let t=this.attachedStores.lastIndexOf(e);t!==-1&&this.attachedStores.splice(t,1),this.setActiveStore(this.attachedStores[this.attachedStores.length-1]??null)}}setActiveStore(e){this.attachedStoreValue!==e&&(this.attachedStoreValue=e,this.storeListeners.forEach(e=>{e()}))}openByTrigger(e){let t=this.attachedStore;if(t===null)return;let n;if(e){for(let t=this.attachedStores.length-1;t>=0&&!n;--t)n=this.attachedStores[t].context.triggerElements.getById(e);n??=this.fallbackStore.context.triggerElements.getById(e)}if(e&&!n&&this.throwOnMissingTrigger)throw Error(Ne(99,this.componentName,e,this.componentName));t.setOpen(!0,bt(Yt,void 0,n))}closePopup(){let e=this.attachedStore;e!==null&&e.setOpen(!1,bt(Yt))}};function Um(e){let{popupStore:t,treatPopupAsFloatingElement:n=!1,floatingRootContext:i,floatingId:a,nested:o,onOpenChange:s}=e,c=t.useState(`open`),l=t.useState(`activeTriggerElement`),u=t.useState(n?`popupElement`:`positionerElement`),d=s;return t.useSyncedValue(`floatingId`,a),W(()=>{let e={open:c,floatingId:a,referenceElement:l,floatingElement:u};r(l)&&(e.domReferenceElement=l),i.state.positionReference===i.state.referenceElement&&(e.positionReference=l),i.update(e)},[c,a,l,u,i]),i.context.onOpenChange=d,i.context.nested=o,i}function Wm(e){let{open:t,ref:n,preventUnmountOnClose:r,setPreventUnmountOnClose:i,onUnmount:a,animateInitialOpen:o}=e,s=U(i),{mounted:c,setMounted:l,transitionStatus:u}=nn(t,!1,!1,o),d=!t&&r;W(()=>{t&&s(!1)},[t,s]);let f=N.useRef(c),p=N.useRef(!1),m=mt(),h=()=>{f.current=!1,l(!1),a()};W(()=>{f.current=c,p.current&&(p.current=!1,!t&&c&&h())});let g=U(()=>{f.current&&(t?(p.current=!0,m()):h())});return kn({enabled:c&&!t&&!d,open:t,ref:n,onComplete(){t||g()}}),{mounted:c,transitionStatus:u,preventUnmountingOnClose:d,forceUnmount:g}}var Gm={tabIndex:-1,[Af]:``};function Km(e){return t=>t!==`touch`||e.current}function qm(e,t=!1){let n=vt(),r=wm()!=null,i=he(()=>e(n,r)).current;return Um({popupStore:i,treatPopupAsFloatingElement:t,floatingRootContext:i.state.floatingRootContext,floatingId:n,nested:r,onOpenChange:i.setOpen}),i}function Jm({handle:e,store:t}){return W(()=>e.attachStore(t),[e,t]),null}function Ym(e){let t=e.context.triggerElements.size;e.select(`open`)&&e.state.triggerCount!==t&&e.set(`triggerCount`,t)}function Xm(e,t){let n=N.useRef(null);return U(r=>{let i=n.current;if(i!==null){if(i.element===r&&i.store===t&&i.id===e)return;n.current=null;let a=i.store;a.context.triggerElements.getById(i.id)===i.element&&(a.context.triggerElements.delete(i.id),Ym(a))}r!==null&&e!==void 0&&(n.current={store:t,id:e,element:r},t.context.triggerElements.add(e,r),Ym(t))})}function Zm(e,t,n,r=!1){let i=e.preventUnmountingOnClose;t?i=!1:r&&(i=!0);let a=n?.id??null,o=e.activeTriggerId,s=e.activeTriggerElement;return(a||t)&&(o=a,s=n??null),{open:t,preventUnmountingOnClose:i,activeTriggerId:o,activeTriggerElement:s,openedWithoutTrigger:t?n==null:e.openedWithoutTrigger}}function Qm(e){let t=!1;return e.preventUnmountOnClose=()=>{t=!0},()=>t}function $m(e,t,n,r={}){let i=n.reason,a=i===wt,o=t&&i===`trigger-focus`,s=!t&&(i===`trigger-press`||i===`escape-key`),c=Qm(n);if(e.context.onOpenChange?.(t,n),n.isCanceled)return;r.onBeforeDispatch?.(),e.state.floatingRootContext.dispatchOpenChange(t,n);let l=()=>{let i=Zm(e.state,t,n.trigger,c()),l={...r.extraState,...i};o?l.instantType=`focus`:s?l.instantType=`dismiss`:a&&(l.instantType=void 0),e.update(l)};a?Cn.flushSync(l):l()}function eh(e,t,n,r){let i=n.useState(`isMountedByTrigger`,e),a=Xm(e,n),o=U(t=>{let i=n.select(`open`),a=n.select(`activeTriggerId`);if(a===e){let e={activeTriggerElement:t,...i?r:null};n.update(e)}else if(a==null&&i&&!n.state.openedWithoutTrigger){let i={activeTriggerId:e??null,activeTriggerElement:t,...r};n.update(i)}}),s=U(e=>{a(e),e&&o(e)});return W(()=>(s(t.current),()=>s(null)),[s,t,n,e]),W(()=>{if(i){let e={activeTriggerElement:t.current,...r};n.update(e)}},[i,n,t,...Object.values(r)]),{registerTrigger:s,isMountedByThisTrigger:i}}function th(e,t={}){let{closeOnActiveTriggerUnmount:n=!1}=t,r=N.useRef(null),i=e.useState(`open`);W(()=>{if(!i){r.current=null,e.state.triggerCount!==0&&e.set(`triggerCount`,0),e.state.openedWithoutTrigger&&e.set(`openedWithoutTrigger`,!1);return}let t=e.context.triggerElements.size,a={};e.state.triggerCount!==t&&(a.triggerCount=t);let o=e.select(`activeTriggerId`),s=null;if(o){let t=e.context.triggerElements.getById(o);if(t)r.current=o,t!==e.state.activeTriggerElement&&(a.activeTriggerElement=t);else{for(let[t,n]of e.context.triggerElements.entries())if(n===e.state.activeTriggerElement){a.activeTriggerId=t,a.activeTriggerElement=n,r.current=t;break}a.activeTriggerId===void 0&&(r.current===o?s=o:r.current=null)}}else r.current=null;if(!s&&!o&&!e.state.openedWithoutTrigger&&t===1){let t=e.context.triggerElements.entries().next();if(!t.done){let[e,n]=t.value;a.activeTriggerId=e,a.activeTriggerElement=n,r.current=e}}(a.triggerCount!==void 0||a.activeTriggerId!==void 0||a.activeTriggerElement!==void 0)&&e.update(a),s&&n&&queueMicrotask(()=>{if(e.select(`open`)&&e.select(`activeTriggerId`)===s&&!e.context.triggerElements.getById(s)){let t=bt(St);e.setOpen(!1,t),t.isCanceled||e.update({activeTriggerId:null,activeTriggerElement:null})}})},[i,e,e.useState(`triggerCount`),e.useState(`activeTriggerId`),e.useState(`activeTriggerElement`),n])}function nh(e,t,n,r){let{mounted:i,transitionStatus:a,forceUnmount:o}=Wm({open:e,ref:t.context.popupRef,preventUnmountOnClose:t.useState(`preventUnmountingOnClose`),setPreventUnmountOnClose:e=>t.set(`preventUnmountingOnClose`,e),animateInitialOpen:r,onUnmount(){t.update({activeTriggerId:null,activeTriggerElement:null,mounted:!1,preventUnmountingOnClose:!1}),n?.(),t.context.onOpenChangeComplete?.(!1)}});return he(()=>(t.set(`mounted`,i),null)),t.useSyncedValues({mounted:i,transitionStatus:a}),{forceUnmount:o,transitionStatus:a}}function rh(e,t){e.useSyncedValues(t),W(()=>()=>{e.update({activeTriggerProps:Se,inactiveTriggerProps:Se,popupProps:Se})},[e])}function ih(e,t){W(()=>{!t&&e.state.openMethod!==null&&e.set(`openMethod`,null)},[t,e]),W(()=>()=>{e.state.openMethod!==null&&e.set(`openMethod`,null)},[e])}var ah=class{idMap=new Map;add(e,t){this.idMap.set(e,t)}delete(e){this.idMap.delete(e)}hasElement(e){for(let t of this.idMap.values())if(t===e)return!0;return!1}hasMatchingElement(e){for(let t of this.idMap.values())if(e(t))return!0;return!1}getById(e){return this.idMap.get(e)}entries(){return this.idMap.entries()}elements(){return this.idMap.values()}get size(){return this.idMap.size}},oh=g(),sh=e(h(),1),ch=Ve(19)?dh:fh;function lh(e,t,n,r,i){return ch(e,t,n,r,i)}function uh(e,t,n,r,i){let a=N.useCallback(()=>t(e.getSnapshot(),n,r,i),[e,t,n,r,i]);return(0,oh.useSyncExternalStore)(e.subscribe,a,a)}tf({before(e){e.syncIndex=0,e.didInitialize||(e.syncTick=1,e.syncHooks=[],e.didChangeStore=!0,e.getSnapshot=()=>{let t=!1;for(let n=0;n<e.syncHooks.length;n+=1){let r=e.syncHooks[n],i=r.selector(r.store.state,r.a1,r.a2,r.a3);Object.is(r.value,i)||(t=!0,r.value=i)}return t&&(e.syncTick+=1),e.syncTick})},after(e){e.syncHooks.length>0&&(e.didChangeStore&&(e.didChangeStore=!1,e.subscribe=t=>{let n=new Set;for(let t of e.syncHooks)n.add(t.store);let r=[];for(let e of n)r.push(e.subscribe(t));return()=>{for(let e of r)e()}}),(0,oh.useSyncExternalStore)(e.subscribe,e.getSnapshot,e.getSnapshot))}});function dh(e,t,n,r,i){let a=ef();if(!a)return uh(e,t,n,r,i);let o=a.syncIndex;a.syncIndex+=1;let s;return a.didInitialize?(s=a.syncHooks[o],(s.store!==e||s.selector!==t||!Object.is(s.a1,n)||!Object.is(s.a2,r)||!Object.is(s.a3,i))&&(s.store!==e&&(a.didChangeStore=!0),s.store=e,s.selector=t,s.a1=n,s.a2=r,s.a3=i,s.value=t(e.getSnapshot(),n,r,i))):(s={store:e,selector:t,a1:n,a2:r,a3:i,value:t(e.getSnapshot(),n,r,i)},a.syncHooks.push(s)),s.value}function fh(e,t,n,r,i){return(0,sh.useSyncExternalStoreWithSelector)(e.subscribe,e.getSnapshot,e.getSnapshot,e=>t(e,n,r,i))}var ph=class{static create(e){return new this(e)}constructor(e){this.state=e,this.listeners=new Set,this.updateTick=0}subscribe=e=>(this.listeners.add(e),()=>{this.listeners.delete(e)});getSnapshot=()=>this.state;setState(e){if(this.state===e)return;this.state=e,this.updateTick+=1;let t=this.updateTick;for(let n of this.listeners){if(t!==this.updateTick)return;n(e)}}update(e){for(let t in e)if(!Object.is(this.state[t],e[t])){this.setState({...this.state,...e});return}}set(e,t){Object.is(this.state[e],t)||this.setState({...this.state,[e]:t})}notifyAll(){let e={...this.state};this.setState(e)}use(e,t,n,r){return lh(this,e,t,n,r)}},mh=class extends ph{constructor(e,t={},n){super(e),this.context=t,this.selectors=n}useSyncedValue(e,t){N.useDebugValue(e);let n=this;W(()=>{n.state[e]!==t&&n.set(e,t)},[n,e,t])}useSyncedValueWithCleanup(e,t){let n=this;W(()=>(n.state[e]!==t&&n.set(e,t),()=>{n.set(e,void 0)}),[n,e,t])}useSyncedValues(e){let t=this;W(()=>{t.update(e)},[t,...Object.values(e)])}useControlledProp(e,t){N.useDebugValue(e);let n=this,r=t!==void 0;W(()=>{r&&!Object.is(n.state[e],t)&&n.setState({...n.state,[e]:t})},[n,e,t,r])}select(e,t,n,r){let i=this.selectors[e];return i(this.state,t,n,r)}useState(e,t,n,r){return N.useDebugValue(e),lh(this,this.selectors[e],t,n,r)}useContextCallback(e,t){N.useDebugValue(e);let n=U(t??be);this.context[e]=n}useStateSetter(e){let t=N.useRef(void 0);return t.current===void 0&&(t.current=t=>{this.set(e,t)}),t.current}observe(e,t){let n;n=typeof e==`function`?e:this.selectors[e];let r=n(this.state);return t(r,r,this),this.subscribe(e=>{let i=n(e);if(!Object.is(r,i)){let e=r;r=i,t(i,e,this)}})}},hh={open:e=>e.open,transitionStatus:e=>e.transitionStatus,domReferenceElement:e=>e.domReferenceElement,referenceElement:e=>e.positionReference??e.referenceElement,floatingElement:e=>e.floatingElement,floatingId:e=>e.floatingId},gh=class extends mh{constructor(e){let{syncOnly:t,nested:n,onOpenChange:r,triggerElements:i,...a}=e;super({...a,positionReference:a.referenceElement,domReferenceElement:a.referenceElement},{onOpenChange:r,dataRef:{current:{}},events:bm(),nested:n,triggerElements:i},hh),this.syncOnly=t}syncOpenEvent=(e,t)=>{(!e||!this.state.open||t!=null&&Ef(t))&&(this.context.dataRef.current.openEvent=e?t:void 0)};dispatchOpenChange=(e,t)=>{this.syncOpenEvent(e,t.event);let n={open:e,reason:t.reason,nativeEvent:t.event,nested:this.context.nested,triggerElement:t.trigger};this.context.events.emit(`openchange`,n)};setOpen=(e,t)=>{this.syncOnly||this.dispatchOpenChange(e,t),this.context.onOpenChange?.(e,t)}};function _h(e,t,n=!1){return{open:!1,openProp:void 0,mounted:!1,transitionStatus:void 0,floatingRootContext:new gh({open:!1,transitionStatus:void 0,floatingElement:null,referenceElement:null,triggerElements:e,floatingId:t,syncOnly:!0,nested:n,onOpenChange:void 0}),floatingId:t,triggerCount:0,preventUnmountingOnClose:!1,payload:void 0,activeTriggerId:null,activeTriggerElement:null,openedWithoutTrigger:!1,triggerIdProp:void 0,popupElement:null,positionerElement:null,activeTriggerProps:Se,inactiveTriggerProps:Se,popupProps:Se}}var vh=e=>e.triggerIdProp??e.activeTriggerId,yh=e=>e.openProp??e.open,bh=e=>(e.popupElement?.id??e.floatingId)||void 0;function xh(e,t){return t!==void 0&&yh(e)&&vh(e)===t}function Sh(e,t){return xh(e,t)?!0:t!==void 0&&yh(e)&&vh(e)==null&&!e.openedWithoutTrigger&&e.triggerCount===1}var Ch={open:yh,mounted:e=>e.mounted,transitionStatus:e=>yh(e)&&!e.mounted?`starting`:e.transitionStatus,floatingRootContext:e=>e.floatingRootContext,triggerCount:e=>e.triggerCount,preventUnmountingOnClose:e=>e.preventUnmountingOnClose,payload:e=>e.payload,activeTriggerId:vh,activeTriggerElement:e=>e.mounted?e.activeTriggerElement:null,popupId:bh,isTriggerActive:(e,t)=>t!==void 0&&vh(e)===t,isOpenedByTrigger:(e,t)=>xh(e,t),isMountedByTrigger:(e,t)=>t!==void 0&&vh(e)===t&&e.mounted,triggerProps:(e,t)=>t?e.activeTriggerProps:e.inactiveTriggerProps,triggerPopupId:(e,t)=>Sh(e,t)?bh(e):void 0,popupProps:e=>e.popupProps,popupElement:e=>e.popupElement,positionerElement:e=>e.positionerElement};function wh(e){let t=N.useCallback(t=>e===void 0?be:e.subscribeStore(t),[e]),n=N.useCallback(()=>e===void 0?void 0:e.store,[e]);return(0,oh.useSyncExternalStore)(t,n,()=>e?.serverStore)}function Th(e){let{open:t=!1,onOpenChange:n,elements:i={}}=e,a=vt(),o=wm()!=null,s=he(()=>new gh({open:t,transitionStatus:void 0,onOpenChange:n,referenceElement:i.reference??null,floatingElement:i.floating??null,triggerElements:new ah,floatingId:a,syncOnly:!1,nested:o})).current;return W(()=>{let e={open:t,floatingId:a};i.reference!==void 0&&(e.referenceElement=i.reference,e.domReferenceElement=r(i.reference)?i.reference:null),i.floating!==void 0&&(e.floatingElement=i.floating),s.update(e)},[t,a,i.reference,i.floating,s]),s.context.onOpenChange=n,s.context.nested=o,s}var Eh=hf&&_f;function Dh(e,t={}){let{enabled:n=!0,delay:i}=t,{events:a,dataRef:o}=e.context,s=N.useRef(!1),c=N.useRef(null),l=N.useRef(!0),u=bn();N.useEffect(()=>{let t=e.select(`domReferenceElement`);if(!n)return;let r=x(t);function i(){let t=e.select(`domReferenceElement`);!e.select(`open`)&&b(t)&&t===Df(pn(t))&&(s.current=!0,c.current=t)}function a(){l.current=!0}function o(){l.current=!1}return up(G(r,`blur`,i),Eh&&G(r,`keydown`,a,!0),Eh&&G(r,`pointerdown`,o,!0))},[e,n]),N.useEffect(()=>{if(!n)return;function t(t){if(t.reason===`trigger-press`||t.reason===`escape-key`){let t=e.select(`domReferenceElement`);r(t)&&(c.current=t,s.current=!0)}}return a.on(`openchange`,t),()=>{a.off(`openchange`,t)}},[a,n,e]);let d=N.useMemo(()=>{function t(){s.current=!1,c.current=null}return{onMouseLeave(){t()},onFocus(n){let a=n.currentTarget;if(s.current){if(c.current===a)return;t()}let o=kf(n.nativeEvent);if(r(o)){if(Eh&&!n.relatedTarget){if(!l.current&&!ep(o))return}else if(!rp(o))return}let d=Zf(n.relatedTarget,e.context.triggerElements),{nativeEvent:f,currentTarget:p}=n;e.select(`open`)&&d||!i?e.setOpen(!0,bt(Tt,f,p)):u.start(i,()=>{s.current||e.setOpen(!0,bt(Tt,f,p))})},onBlur(n){t();let i=n.relatedTarget,a=n.nativeEvent,s=r(i)&&i.hasAttribute(Xp(`focus-guard`))&&i.getAttribute(`data-type`)===`outside`;u.start(0,()=>{let t=e.select(`domReferenceElement`),n=Df(pn(t));(i||n!==t)&&(Q(o.current.floatingContext?.refs.floating.current,n)||Q(t,n)||s||Zf(i??n,e.context.triggerElements)||e.setOpen(!1,bt(Tt,a)))})}}},[o,i,e,u]);return N.useMemo(()=>n?{reference:d,trigger:d}:{},[n,d])}var Oh=class e{pointerType=void 0;interactedInside=!1;handler=void 0;blockMouseMove=!0;performedPointerEventsMutation=!1;pointerEventsScopeElement=null;pointerEventsReferenceElement=null;pointerEventsFloatingElement=null;restTimeoutPending=!1;openChangeTimeout=new yn;restTimeout=new yn;handleCloseOptions=void 0;static create(){return new e}dispose=()=>{this.openChangeTimeout.clear(),this.restTimeout.clear()};disposeEffect=()=>this.dispose},kh=new WeakMap;function Ah(e){if(!e.performedPointerEventsMutation)return;let t=e.pointerEventsScopeElement;t&&kh.get(t)===e&&(e.pointerEventsScopeElement?.style.removeProperty(`pointer-events`),e.pointerEventsReferenceElement?.style.removeProperty(`pointer-events`),e.pointerEventsFloatingElement?.style.removeProperty(`pointer-events`),kh.delete(t)),e.performedPointerEventsMutation=!1,e.pointerEventsScopeElement=null,e.pointerEventsReferenceElement=null,e.pointerEventsFloatingElement=null}function jh(e,t){let{scopeElement:n,referenceElement:r,floatingElement:i}=t,a=kh.get(n);a&&a!==e&&Ah(a),Ah(e),e.performedPointerEventsMutation=!0,e.pointerEventsScopeElement=n,e.pointerEventsReferenceElement=r,e.pointerEventsFloatingElement=i,kh.set(n,e),n.style.pointerEvents=`none`,r.style.pointerEvents=`auto`,i.style.pointerEvents=`auto`}function Mh(e){let t=e.context.dataRef.current,n=he(()=>t.hoverInteractionState??Oh.create()).current;return t.hoverInteractionState||=n,Zt(t.hoverInteractionState.disposeEffect),t.hoverInteractionState}function Nh(e,t={}){let{enabled:n=!0,closeDelay:i=0,nodeId:a}=t,o=e.useState(`open`),s=e.useState(`floatingElement`),c=e.useState(`domReferenceElement`),{dataRef:l}=e.context,u=Tm(),d=wm(),f=Mh(e),p=bn(),m=U(()=>cp(l.current.openEvent?.type,f.interactedInside)),h=U(()=>lp(l.current.openEvent?.type)),g=U(()=>{Ah(f)});W(()=>{o||(f.pointerType=void 0,f.restTimeoutPending=!1,f.interactedInside=!1,g())},[o,f,g]),N.useEffect(()=>g,[g]),W(()=>{if(n&&o&&f.handleCloseOptions?.blockPointerEvents&&h()&&r(c)&&s){let e=c,t=s,n=pn(s),r=u?.nodesRef.current.find(e=>e.id===d)?.context?.elements.floating;r&&(r.style.pointerEvents=``);let i=f.pointerEventsScopeElement===t?null:f.pointerEventsScopeElement,a=r===t?null:r,o=f.handleCloseOptions?.getScope?.()??i??a??Of(e,`[data-rootownerid]`)??n.body;return jh(f,{scopeElement:o,referenceElement:e,floatingElement:t}),()=>{g()}}},[n,o,c,s,f,h,u,d,g]),N.useEffect(()=>{if(!n)return;function t(){return!!(u&&d&&Jp(u.nodesRef.current,d).length>0)}function o(t){let n=op(i,`close`,f.pointerType),r=()=>{e.setOpen(!1,bt(wt,t)),u?.events.emit(`floating.closed`,t)};n?f.openChangeTimeout.start(n,r):(f.openChangeTimeout.clear(),r())}function c(e){let t=kf(e);tp(t)?f.interactedInside=Of(t,`[aria-haspopup]`)!=null:f.interactedInside=!1}function _(){f.openChangeTimeout.clear(),p.clear(),u?.events.off(`floating.closed`,y),g()}function v(n){if(t()&&u){u.events.on(`floating.closed`,y);return}if(Zf(n.relatedTarget,e.context.triggerElements))return;let i=l.current.floatingContext?.nodeId??a,s=n.relatedTarget;u&&i&&r(s)&&Jp(u.nodesRef.current,i,!1).some(e=>Q(e.context?.elements.floating,s))||(f.handler?f.handler(n):(g(),h()&&!m()&&o(n)))}function y(n){u&&d&&!t()&&p.start(0,()=>{u.events.off(`floating.closed`,y),e.setOpen(!1,bt(wt,n)),u.events.emit(`floating.closed`,n)})}let b=s;return up(b&&G(b,`mouseenter`,_),b&&G(b,`mouseleave`,v),b&&G(b,`pointerdown`,c,!0),()=>{u?.events.off(`floating.closed`,y)})},[n,s,e,l,i,a,h,m,g,f,u,d,p])}var Ph={current:null};function Fh(e,t={}){let{enabled:n=!0,delay:i=0,handleClose:a=null,mouseOnly:o=!1,restMs:s=0,move:c=!0,triggerElementRef:l=Ph,externalTree:u,isActiveTrigger:d=!0,getHandleCloseContext:f,isClosing:p,shouldOpen:m,guardStaleOpen:h=!1}=t,{dataRef:g,events:_}=e.context,v=Tm(u),y=Mh(e),b=N.useRef(!1),x=xn(a),S=xn(i),C=xn(s),w=xn(n),T=xn(m),E=xn(p),D=U(()=>cp(g.current.openEvent?.type,y.interactedInside)),O=U(()=>T.current?.()!==!1),ee=U((t,n,i)=>{let a=e.context.triggerElements;if(a.hasElement(n))return!t||!Q(t,n);if(!r(i))return!1;let o=i;return a.hasMatchingElement(e=>Q(e,o))&&(!t||!Q(t,o))}),k=U(()=>{y.handler&&=(pn(e.select(`domReferenceElement`)).removeEventListener(`mousemove`,y.handler),void 0)}),A=U(()=>{Ah(y)});return d&&(y.handleCloseOptions=a?.__options),N.useEffect(()=>k,[k]),N.useEffect(()=>{if(!n)return;function e(e){e.open?b.current=!1:(b.current=e.reason===wt,k(),y.openChangeTimeout.clear(),y.restTimeout.clear(),y.blockMouseMove=!0,y.restTimeoutPending=!1)}return _.on(`openchange`,e),()=>{_.off(`openchange`,e)}},[n,_,y,k]),N.useEffect(()=>{if(!n)return;function t(t,n=!0){let r=op(S.current,`close`,y.pointerType);r?y.openChangeTimeout.start(r,()=>{e.setOpen(!1,bt(wt,t)),v?.events.emit(`floating.closed`,t)}):n&&(y.openChangeTimeout.clear(),e.setOpen(!1,bt(wt,t)),v?.events.emit(`floating.closed`,t))}let i=l.current??(d?e.select(`domReferenceElement`):null);if(!r(i))return;function a(t){if(y.openChangeTimeout.clear(),y.blockMouseMove=!1,o&&!Tf(y.pointerType))return;let n=sp(C.current),i=op(S.current,`open`,y.pointerType),a=kf(t),s=t.currentTarget??null,c=e.select(`domReferenceElement`),l=s;if(r(a)&&!e.context.triggerElements.hasElement(a)){for(let t of e.context.triggerElements.elements())if(Q(t,a)){l=t;break}}r(s)&&r(c)&&!e.context.triggerElements.hasElement(s)&&Q(s,c)&&(l=c);let u=l!=null&&ee(c,l,a),d=e.select(`open`),f=E.current?.()??e.select(`transitionStatus`)===`ending`,p=!d&&f&&b.current,m=!u&&r(l)&&r(c)&&Q(c,l)&&p,h=n>0&&!i,g=u&&(d||p)||m,_=!d||u;g?O()&&e.setOpen(!0,bt(wt,t,l)):h||(i?y.openChangeTimeout.start(i,()=>{_&&O()&&e.setOpen(!0,bt(wt,t,l))}):_&&O()&&e.setOpen(!0,bt(wt,t,l)))}function s(n){if(D()){A();return}k();let r=pn(e.select(`domReferenceElement`));y.restTimeout.clear(),y.restTimeoutPending=!1;let i=g.current.floatingContext??f?.();if(!Zf(n.relatedTarget,e.context.triggerElements)){if(x.current&&i){e.select(`open`)||y.openChangeTimeout.clear();let a=l.current;y.handler=x.current({...i,tree:v,x:n.clientX,y:n.clientY,onClose(){A(),k(),w.current&&!D()&&a===e.select(`domReferenceElement`)&&t(n,!0)}}),r.addEventListener(`mousemove`,y.handler),y.handler(n)}else(y.pointerType!==`touch`||!Q(e.select(`floatingElement`),n.relatedTarget))&&t(n)}}function u(e){Q(i,e.relatedTarget)||(y.openChangeTimeout.clear(),y.restTimeout.clear(),y.restTimeoutPending=!1)}let p=h?G(i,`mouseout`,u):void 0;return c?up(G(i,`mousemove`,a,{once:!0}),G(i,`mouseenter`,a),G(i,`mouseleave`,s),p):up(G(i,`mouseenter`,a),G(i,`mouseleave`,s),p)},[k,A,g,S,e,n,x,y,d,ee,D,o,c,C,l,v,w,f,E,O,h]),N.useMemo(()=>{if(!n)return;function t(e){y.pointerType=e.pointerType}return{onPointerDown:t,onPointerEnter:t,onMouseMove(t){let{nativeEvent:n}=t,r=t.currentTarget,i=e.select(`domReferenceElement`),a=e.select(`open`),s=ee(i,r,t.target);if(o&&!Tf(y.pointerType))return;if(a&&s&&y.handleCloseOptions?.blockPointerEvents){let t=e.select(`floatingElement`);if(t){let e=y.handleCloseOptions?.getScope?.()??r.ownerDocument.body;jh(y,{scopeElement:e,referenceElement:r,floatingElement:t})}}let c=sp(C.current);if(a&&!s||c===0||!s&&y.restTimeoutPending&&t.movementX**2+t.movementY**2<2)return;y.restTimeout.clear();function l(){if(y.restTimeoutPending=!1,D())return;let t=e.select(`open`);!y.blockMouseMove&&(!t||s)&&O()&&e.setOpen(!0,bt(wt,n,r))}y.pointerType===`touch`?Cn.flushSync(()=>{l()}):s&&a?l():(y.restTimeoutPending=!0,y.restTimeout.start(c,l))}}},[n,y,D,ee,o,e,C,O])}function Ih(e){return _f&&e.movementX===0&&e.movementY===0}function Lh(e,t,n){switch(e){case`vertical`:return t;case`horizontal`:return n;default:return t||n}}function Rh(e,t){return Lh(t,e===`ArrowUp`||e===`ArrowDown`,e===`ArrowLeft`||e===`ArrowRight`)}function zh(e,t,n){return Lh(t,e===`ArrowDown`,n?e===`ArrowLeft`:e===`ArrowRight`)||e===`Enter`||e===` `||e===``}function Bh(e,t,n){return Lh(t,n?e===Mf:e===Nf,e===Ff)}function Vh(e,t,n,r){return t===`both`||t===`horizontal`&&r?e===`Escape`:Lh(t,n?e===Nf:e===Mf,e===Pf)}function Hh(e,t){let{listRef:n,activeIndex:r,onNavigate:i=()=>{},enabled:a=!0,selectedIndex:o=null,allowEscape:s=!1,loopFocus:c=!1,nested:l=!1,rtl:u=!1,virtual:d=!1,focusItemOnOpen:f=`auto`,focusItemOnHover:p=!0,openOnArrowKeyDown:m=!0,disabledIndices:h=void 0,orientation:g=`vertical`,triggerOrientation:_=g,parentOrientation:v,id:y,resetOnPointerLeave:x=!0,externalTree:S,nestedReturnFocusRef:C,grid:w}=t,T=w!=null,E=e.useState(`open`),D=e.useState(`floatingElement`),O=e.useState(`domReferenceElement`),ee=e.context.dataRef,k=ip(D),A=np(O),j=xn(k),M=wm(),P=Tm(S),te=N.useRef(f),F=N.useRef(o??-1),I=N.useRef(null),L=N.useRef(!0),R=U(e=>{i(F.current===-1?null:F.current,e)}),ne=N.useRef(!!D),z=N.useRef(E),re=N.useRef(!1),ie=N.useRef(!1),ae=N.useRef(null),oe=xn(h),se=xn(E),B=xn(o),V=xn(x),ce=tn(),le=tn(),ue=U(()=>{ce.cancel();function e(e){d||(ae.current=Qp(e,{sync:re.current,preventScroll:!0}))}let t=n.current[F.current],r=ie.current;t&&e(t),(re.current?e=>e():e=>ce.request(e))(()=>{let i=n.current[F.current]||t;i&&(t||e(i),he&&(r||!L.current)&&i.scrollIntoView?.({block:`nearest`,inline:`nearest`}))})});W(()=>{ee.current.orientation=g},[ee,g]),W(()=>{E||(I.current=null),(!E||f!==`auto`)&&(te.current=f)},[E,f]),W(()=>{a&&(E&&D?(F.current=o??-1,te.current&&o!=null&&(ie.current=!0,R())):ne.current&&(F.current=-1,R()))},[a,E,D,o,R]),W(()=>{if(a){if(!E)re.current=!1;else if(D){if(r==null){if(re.current=!1,B.current!=null)return;if(ne.current&&(F.current=-1,ue()),(!z.current||!ne.current)&&te.current&&(I.current!=null||te.current===!0&&I.current==null)){let e=0,t=()=>{n.current[0]==null?(e<2&&(e?e=>le.request(e):queueMicrotask)(t),e+=1):(F.current=I.current==null||zh(I.current,_,u)||l?_p(n):vp(n),I.current=null,R())};t()}}else gp(n.current,r)||(F.current=r,ue(),ie.current=!1)}}},[a,E,D,r,B,l,n,_,u,R,ue,le]),W(()=>{if(!a||D||!P||d||!ne.current)return;let e=P.nodesRef.current,t=e.find(e=>e.id===M)?.context?.elements.floating,n=Df(pn(O??t??null)),r=e.some(e=>e.context&&Q(e.context.elements.floating,n));t&&!r&&L.current&&t.focus({preventScroll:!0})},[a,D,O,P,M,d]),W(()=>{z.current=E,ne.current=!!D});let H=r!=null,de=U(e=>{if(!se.current)return;let t=n.current.indexOf(e.currentTarget);t!==-1&&(F.current!==t||r!==t)&&(F.current=t,R(e))}),fe=U(()=>v??P?.nodesRef.current.find(e=>e.id===M)?.context?.dataRef?.current.orientation),pe=U(()=>_p(n,oe.current)),me=U(t=>{if(L.current=!1,re.current=!0,t.which===229||!se.current&&t.currentTarget===j.current)return;if(l&&Vh(t.key,g,u,T)){Rh(t.key,fe())||xf(t),e.setOpen(!1,bt(zt,t.nativeEvent));let n=C?.current??O;b(n)&&n.focus();return}r!=null&&r!==F.current&&!gp(n.current,r)&&(F.current=r);let i=F.current,a=_p(n,h),o=vp(n,h);if(A||(t.key===`Home`&&(xf(t),F.current=a,R(t)),t.key===`End`&&(xf(t),F.current=o,R(t))),w!=null){let e=w(t,F.current,n,g,c,u,h,a,o);if(e!=null&&e!==F.current&&(F.current=e,R(t)),g===`both`)return}if(Rh(t.key,g)){xf(t);let e=Df(t.currentTarget.ownerDocument);if(E&&!d&&Q(t.currentTarget,e)&&!n.current.some(t=>t!=null&&Q(t,e))){F.current=zh(t.key,g,u)?a:o,R(t),r===F.current&&ue();return}let{index:l,wrapped:f}=yp(n.current,i,{decrement:!zh(t.key,g,u),loopFocus:c,allowEscape:s,disabledIndices:h,minIndex:a,maxIndex:o});f&&(re.current=!1),F.current=l,R(t)}}),he=N.useMemo(()=>({onFocus(e){re.current=!0,de(e)},onClick({currentTarget:e}){d||e.focus({preventScroll:!0})},onMouseMove(e){Ih(e)||(re.current=!0,ie.current=!1,p&&de(e))},onPointerLeave(e){if(!se.current||!L.current||e.pointerType===`touch`)return;re.current=!0;let t=e.relatedTarget;if(p&&!n.current.includes(t)&&V.current&&(ae.current?.(),ae.current=null,F.current=-1,R(e),!d)){let e=j.current,t=Df(pn(e));e&&Q(e,t)&&e.focus({preventScroll:!0})}}}),[de,se,j,p,n,R,V,d]),ge=N.useMemo(()=>d&&E&&H&&{"aria-activedescendant":`${y}-${r}`},[d,E,H,y,r]),_e=N.useMemo(()=>({...A?{}:ge,onKeyDown(t){if(t.key===`Tab`&&t.shiftKey&&E&&!d){let n=kf(t.nativeEvent);if(n&&!Q(j.current,n))return;xf(t);let r=bt(Lt,t.nativeEvent);e.setOpen(!1,r);let i=C?.current??O;!r.isCanceled&&b(i)&&i.focus()}else me(t)},onPointerMove(e){Ih(e)||(L.current=!0)}}),[ge,me,j,A,e,E,d,O,C]),ve=N.useMemo(()=>{function t(t){e.setOpen(!0,bt(zt,t.nativeEvent,t.currentTarget))}function n(e){f===`auto`&&Cf(e.nativeEvent)&&(te.current=!d)}function r(e){te.current=f,f===`auto`&&wf(e.nativeEvent)&&(te.current=!0)}return{onKeyDown(n){let r=e.select(`open`);L.current=!1;let i=n.key.startsWith(`Arrow`),a=Bh(n.key,fe(),u),o=Rh(n.key,r?g:_),s=(l?a:o)||n.key===`Enter`||n.key.trim()===``;if(d&&r&&(!l||ep(n.currentTarget)))return me(n);if(r||m||!i){if(s){let e=Rh(n.key,fe());I.current=l&&e?null:n.key}l?a&&(xf(n),r?(F.current=pe(),R(n),d&&j.current?.focus()):t(n)):o&&(B.current!=null&&(F.current=B.current),xf(n),!r&&m?t(n):me(n),r&&R(n))}},onFocus(t){t.target===t.currentTarget&&e.select(`open`)&&!d&&(F.current=-1,R(t))},onPointerDown:r,onPointerEnter:r,onMouseDown:n,onClick:n}},[me,f,pe,l,R,e,m,g,_,fe,u,B,d,j]),ye=N.useMemo(()=>({...ge,...ve}),[ge,ve]);return N.useMemo(()=>a?{reference:ye,floating:_e,item:he,trigger:ve}:{},[a,ye,_e,ve,he])}function Uh(e,t){let{listRef:n,elementsRef:r,activeIndex:i,onMatch:a,disabledIndices:o,onTyping:s,enabled:c=!0,resetMs:l=750,selectedIndex:u=null}=t,d=U(s),f=e.useState(`open`),p=bn(),m=N.useRef(``),h=N.useRef(u??i??-1),g=N.useRef(null),_=U(e=>{function t(e){return r?.current[e]}function s(e){let n=t(e);return n&&!wp(n)||n?.matches(`:disabled`)?!1:o==null||!Sp(xe,e,o)}function c(e,t,n=0){if(e.length===0)return-1;let r=(n%e.length+e.length)%e.length,i=t.toLowerCase();for(let t=0;t<e.length;t+=1){let n=(r+t)%e.length;if(e[n]?.toLowerCase().startsWith(i)&&s(n))return n}return-1}let _=n.current;if(m.current.length>0&&e.key===` `&&(xf(e),d?.(!0)),m.current.length>0&&m.current[0]!==` `&&c(_,m.current)===-1&&e.key!==` `&&d?.(!1),_==null||e.key.length!==1||e.ctrlKey||e.metaKey||e.altKey)return;f&&e.key!==` `&&(xf(e),d?.(!0));let v=m.current===``;v&&(h.current=u??i??-1),_.every((e,t)=>e&&s(t)?e[0]?.toLowerCase()!==e[1]?.toLowerCase():!0)&&m.current===e.key&&(m.current=``,h.current=g.current),m.current+=e.key,p.start(l,()=>{m.current=``,h.current=g.current,d?.(!1)});let y=((v?u??i??-1:h.current)??0)+1,b=c(_,m.current,y);b===-1?e.key!==` `&&(m.current=``,d?.(!1)):(a?.(b,e),g.current=b)}),v=U(t=>{let n=t.relatedTarget,r=e.select(`domReferenceElement`),i=e.select(`floatingElement`);Q(r,n)||Q(i,n)||(p.clear(),m.current=``,h.current=g.current,d?.(!1))});W(()=>{(f||u===null)&&(p.clear(),g.current=null,m.current!==``&&(m.current=``,d?.(!1)))},[f,u,p,d]);let y=N.useMemo(()=>({onKeyDown:_,onBlur:v}),[_,v]);return N.useMemo(()=>c?{reference:y,floating:y}:{},[c,y])}var Wh=.1,Gh=Wh*Wh,Kh=.5;function qh(e,t,n,r,i,a){return r>=t!=a>=t&&e<=(i-n)*(t-r)/(a-r)+n}function Jh(e,t,n,r,i,a,o,s,c,l){let u=!1;return qh(e,t,n,r,i,a)&&(u=!u),qh(e,t,i,a,o,s)&&(u=!u),qh(e,t,o,s,c,l)&&(u=!u),qh(e,t,c,l,n,r)&&(u=!u),u}function Yh(e,t,n){return e>=n.x&&e<=n.x+n.width&&t>=n.y&&t<=n.y+n.height}function Xh(e,t,n,r,i,a){return e>=Math.min(n,i)&&e<=Math.max(n,i)&&t>=Math.min(r,a)&&t<=Math.max(r,a)}function Zh(e={}){let{blockPointerEvents:t=!1}=e,n=new yn,i=({x:e,y:t,placement:i,elements:a,onClose:o,nodeId:s,tree:c})=>{let l=i?.split(`-`)[0],u=!1,d=null,f=null,p=typeof performance<`u`?performance.now():0;function m(e,t){let n=performance.now(),r=n-p;if(d===null||f===null||r===0)return d=e,f=t,p=n,!1;let i=e-d,a=t-f,o=i*i+a*a,s=r*r*Gh;return d=e,f=t,p=n,o<s}function h(){n.clear(),o()}return function(i){n.clear();let o=a.domReference,d=a.floating;if(!o||!d||l==null||e==null||t==null)return;let{clientX:f,clientY:p}=i,g=kf(i),_=i.type===`mouseleave`,v=Q(d,g),y=Q(o,g);if(v&&(u=!0,!_))return;if(y&&(u=!1,!_)){u=!0;return}if(_&&r(i.relatedTarget)&&Q(d,i.relatedTarget))return;function b(){return!!(c&&Jp(c.nodesRef.current,s).length>0)}function x(){b()||h()}if(b())return;let S=o.getBoundingClientRect(),C=d.getBoundingClientRect(),w=e>C.right-C.width/2,T=t>C.bottom-C.height/2,E=C.width>S.width,D=C.height>S.height,O=(E?S:C).left,ee=(E?S:C).right,k=(D?S:C).top,A=(D?S:C).bottom;if(l===`top`&&t>=S.bottom-1||l===`bottom`&&t<=S.top+1||l===`left`&&e>=S.right-1||l===`right`&&e<=S.left+1){x();return}let j=!1;switch(l){case`top`:j=Xh(f,p,O,S.top+1,ee,C.bottom-1);break;case`bottom`:j=Xh(f,p,O,C.top+1,ee,S.bottom-1);break;case`left`:j=Xh(f,p,C.right-1,A,S.left+1,k);break;case`right`:j=Xh(f,p,S.right-1,A,C.left+1,k)}if(j)return;if(u&&!Yh(f,p,S)||!_&&m(f,p)){x();return}let M=!1;switch(l){case`top`:{let n=E?Kh/2:Kh*4,r=E||w?e+n:e-n,i=E?e-n:w?e+n:e-n,a=t+Kh+1,o=w||E?C.bottom-Kh:C.top,s=w?E?C.bottom-Kh:C.top:C.bottom-Kh;M=Jh(f,p,r,a,i,a,C.left,o,C.right,s);break}case`bottom`:{let n=E?Kh/2:Kh*4,r=E||w?e+n:e-n,i=E?e-n:w?e+n:e-n,a=t-Kh,o=w||E?C.top+Kh:C.bottom,s=w?E?C.top+Kh:C.bottom:C.top+Kh;M=Jh(f,p,r,a,i,a,C.left,o,C.right,s);break}case`left`:{let n=D?Kh/2:Kh*4,r=D||T?t+n:t-n,i=D?t-n:T?t+n:t-n,a=e+Kh+1,o=T||D?C.right-Kh:C.left,s=T?D?C.right-Kh:C.left:C.right-Kh;M=Jh(f,p,o,C.top,s,C.bottom,a,r,a,i);break}case`right`:{let n=D?Kh/2:Kh*4,r=D||T?t+n:t-n,i=D?t-n:T?t+n:t-n,a=e-Kh,o=T||D?C.left+Kh:C.right,s=T?D?C.left+Kh:C.right:C.left+Kh;M=Jh(f,p,a,r,a,i,o,C.top,s,C.bottom);break}}M?u||n.start(40,x):x()}};return i.__options={...e,blockPointerEvents:t},i}var Qh=class extends mh{setState(e){}update(e){}set(e,t){}notifyAll(){}},$h={...Ch,disabled:e=>e.disabled,instantType:e=>e.instantType,isInstantPhase:e=>e.isInstantPhase,trackCursorAxis:e=>e.trackCursorAxis,disableHoverablePopup:e=>e.disableHoverablePopup,lastOpenChangeReason:e=>e.openChangeReason,closeOnClick:e=>e.closeOnClick,appliedTriggerProps:(e,t)=>t?e.activeTriggerProps:void 0,closeDelay:e=>e.closeDelay,adaptiveOrigin:e=>e.adaptiveOrigin},eg=class extends mh{constructor(e,t,n){let r=new ah;super(ng(e,r,t,n),rg(r),$h)}setOpen=(e,t)=>{$m(this,e,t,{extraState:{openChangeReason:t.reason}})};cancelPendingOpen(e){this.state.floatingRootContext.dispatchOpenChange(!1,bt(Ct,e))}};function tg(){let e=new ah,t=new Qh(Object.freeze(ng(void 0,e)),Object.freeze(rg(e)),$h);return Object.assign(t,{setOpen:be,cancelPendingOpen:be})}function ng(e,t,n,r=!1){return{..._h(t,n,r),disabled:!1,instantType:void 0,isInstantPhase:!1,trackCursorAxis:`none`,disableHoverablePopup:!1,openChangeReason:null,closeOnClick:!0,closeDelay:0,adaptiveOrigin:void 0,...e}}function rg(e){return{popupRef:N.createRef(),onOpenChange:void 0,onOpenChangeComplete:void 0,triggerElements:e}}function ig(e){let{nodeId:t,externalTree:n,rootContext:i}=e,a=i.useState(`referenceElement`),o=i.useState(`floatingElement`),s=i.useState(`domReferenceElement`),c=i.useState(`open`),l=i.useState(`floatingId`),[u,d]=N.useState(null),f=N.useRef(null),p=Tm(n),h=N.useMemo(()=>({reference:a,floating:o,domReference:s}),[a,o,s]),g=m({...e,elements:{...h,...u&&{reference:u}}}),_=N.useCallback(e=>{let t=r(e)?{getBoundingClientRect:()=>e.getBoundingClientRect(),getClientRects:()=>e.getClientRects(),contextElement:e}:e;d(t),g.refs.setReference(t)},[g.refs]),v=N.useMemo(()=>({...g.refs,setPositionReference:_,domReference:f}),[g.refs,_]),y=N.useMemo(()=>({...g.elements,domReference:s}),[g.elements,s]),b=N.useMemo(()=>({...g,dataRef:i.context.dataRef,open:c,onOpenChange:i.setOpen,events:i.context.events,floatingId:l,refs:v,elements:y,nodeId:t,rootStore:i}),[g,v,y,t,i,c,l]);return W(()=>{s&&(f.current=s)},[s]),W(()=>{i.context.dataRef.current.floatingContext=b;let e=p?.nodesRef.current.find(e=>e.id===t);e&&(e.context=b)}),N.useMemo(()=>({...g,context:b,refs:v,elements:y,rootStore:i}),[g,v,y,b,i])}var ag=N.createContext(void 0);function og(){return N.useContext(ag)?.direction??`ltr`}var sg=e=>({name:`arrow`,options:e,async fn(t){let{x:n,y:r,placement:i,rects:a,platform:o,elements:s,middlewareData:c}=t,{element:l,padding:u=0}=C(e,t)||{};if(l==null)return{};let f=A(u),p={x:n,y:r},m=d(i),h=O(m),g=await o.getDimensions(l),v=m===`y`,y=v?`top`:`left`,b=v?`bottom`:`right`,x=v?`clientHeight`:`clientWidth`,S=a.reference[h]+a.reference[m]-p[m]-a.floating[h],w=p[m]-a.reference[m],T=s.floating[x]||a.floating[h],D=S/2-w/2,ee=T/2-g[h]/2-1,k=Math.min(f[y],ee),j=Math.min(f[b],ee),M=k,N=T-g[h]-j,P=T/2-g[h]/2+D,te=E(M,P,N),F=!c.arrow&&_(i)!=null&&P!==te&&a.reference[h]/2-(P<M?k:j)-g[h]/2<0,I=F?P<M?P-M:P-N:0;return{[m]:p[m]+I,data:{[m]:te,centerOffset:P-te-I,...F&&{alignmentOffset:I}},reset:F}}}),cg=(e,t)=>{let{name:n,fn:r}=sg(e);return{name:n,fn:r,options:[e,t]}},lg={name:`hide`,async fn(e){let{width:t,height:n,x:r,y:i}=e.rects.reference,a=t===0&&n===0&&r===0&&i===0,o=await e.platform.detectOverflow(e,{elementContext:`reference`});return{data:{referenceHidden:o.top-n>=0||o.right-t>=0||o.bottom-n>=0||o.left-t>=0||a}}}},ug={sideX:`left`,sideY:`top`},dg=`--available-width`,fg=`--available-height`,pg=`--anchor-width`,mg=`--anchor-height`,hg=`--transform-origin`,gg=`--positioner-width`,_g=`--positioner-height`,vg=dg,yg=fg;function bg(e,t,n){let r=e===`inline-start`||e===`inline-end`;return{top:`top`,right:r?n?`inline-start`:`inline-end`:`right`,bottom:`bottom`,left:r?n?`inline-end`:`inline-start`:`left`}[t]}function xg(e,t,n){let{rects:r,placement:i}=e;return{side:bg(t,p(i),n),align:_(i)||`center`,anchor:{width:r.reference.width,height:r.reference.height},positioner:{width:r.floating.width,height:r.floating.height}}}function Sg(e){return Cg(e,ig)}function Cg(e,t){let{anchor:n,positionMethod:r=`absolute`,side:i=`bottom`,sideOffset:a=0,align:o=`center`,alignOffset:s=0,collisionBoundary:c,collisionPadding:l=5,sticky:u=!1,arrowPadding:d=5,disableAnchorTracking:m=!1,inline:h,keepMounted:g=!1,floatingRootContext:v,mounted:b,collisionAvoidance:C,shift:E,nodeId:O,adaptiveOrigin:ee,lazyFlip:A=!1,externalTree:j}=e,M=C.side||`flip`,P=C.align||`flip`,te=C.fallbackAxisSide||`end`,F=E?.crossAxis??!1,I=E?.rootBoundary,L=typeof n==`function`?n:void 0,R=U(L),ne=L?R:n,z=xn(n),re=xn(b),ie=og()===`rtl`,[ae,oe]=N.useState(null);!b&&ae!==null&&oe(null);let se=A===`placement`,B=ae?p(ae):null,V=ae&&se?_(ae)||`center`:null,ce=B||{top:`top`,right:`right`,bottom:`bottom`,left:`left`,"inline-end":ie?`left`:`right`,"inline-start":ie?`right`:`left`}[i],le=V||o,ue=le===`center`?ce:`${ce}-${le}`,H=l;typeof H==`number`?H={top:H,right:H,bottom:H,left:H}:H&&={top:H.top||0,right:H.right||0,bottom:H.bottom||0,left:H.left||0};let de=+(i===`bottom`),fe=+(i===`top`),pe=+(i===`right`),me=+(i===`left`),he={boundary:c===`clipping-ancestors`?`clippingAncestors`:c,padding:H},ge=N.useRef(null),_e=xn(a),ve=xn(s),ye=typeof a==`function`?0:a,be=typeof s==`function`?0:s,xe=[];h&&xe.push(h),xe.push(f(e=>{let t=xg(e,i,ie),n=typeof _e.current==`function`?_e.current(t):_e.current,r=typeof ve.current==`function`?ve.current(t):ve.current;return{mainAxis:n,crossAxis:r,alignmentAxis:r}},[ye,be,ie,i]));let Se=P===`none`&&M!==`shift`,Ce=!Se&&(u||F||M===`shift`),we=M===`none`?null:w({...he,padding:{top:H.top+1+de,right:H.right+1+me,bottom:H.bottom+1+fe,left:H.left+1+pe},mainAxis:!F&&M===`flip`,crossAxis:P===`flip`&&`alignment`,fallbackAxisSideDirection:te}),Te=Se?null:T({...he,rootBoundary:I,mainAxis:P!==`none`,crossAxis:Ce,limiter:u||F?void 0:y(e=>{if(!ge.current)return{};let{width:t,height:n}=ge.current.getBoundingClientRect(),r=k(p(e.placement)),i=r===`y`?t:n,a=r===`y`?H.left+H.right:H.top+H.bottom;return{offset:i/2+a/2}})},[he,u,F,I,H,P]);M===`shift`||P===`shift`||le===`center`?xe.push(Te,we):xe.push(we,Te),xe.push(D({...he,apply({elements:{floating:e},availableWidth:t,availableHeight:n,rects:r}){if(!re.current)return;let i=e.style;i.setProperty(vg,`${t}px`),i.setProperty(yg,`${n}px`);let a=x(e).devicePixelRatio||1,{x:o,y:s,width:c,height:l}=r.reference,u=(Math.round((o+c)*a)-Math.round(o*a))/a,d=(Math.round((s+l)*a)-Math.round(s*a))/a;i.setProperty(pg,`${u}px`),i.setProperty(mg,`${d}px`)}}),cg(e=>({element:ge.current||pn(e.elements.floating).createElement(`div`),padding:ge.current?d:0}),[d]),{name:`transformOrigin`,fn(e){let{elements:{floating:t},middlewareData:n,placement:r,platform:o,rects:s,y:c}=e,l=p(r),u=_(r),d=k(l)===`y`,f=ge.current,m=typeof a==`function`?a(xg(e,i,ie)):a,h;h=!f&&u&&Math.abs(d?n.shift?.x||0:n.shift?.y||0)<=1?u===`start`===(d&&o.isRTL?.(t)===!0)?`100%`:`0%`:`${(d?n.arrow?.x||0:n.arrow?.y||0)+(d?f?.clientWidth||0:f?.clientHeight||0)/2}px`;let g=l===`top`||l===`left`?`calc(100% + ${m}px)`:`${-m}px`;return Ce&&d&&Math.abs(n.shift?.y||0)>m&&(g=`${s.reference.y+s.reference.height/2-c}px`),t.style.setProperty(hg,d?`${h} ${g}`:`${g} ${h}`),{}}},lg,ee),W(()=>{!b&&v&&v.update({referenceElement:null,floatingElement:null,domReferenceElement:null,positionReference:null})},[b,v]);let Ee=N.useMemo(()=>({ancestorScroll:!m,elementResize:!m&&typeof ResizeObserver<`u`,layoutShift:!m&&typeof IntersectionObserver<`u`}),[m]),{refs:De,elements:Oe,x:ke,y:Ae,middlewareData:je,update:Me,placement:Ne,context:Pe,isPositioned:Fe,floatingStyles:Ie}=t({rootContext:v,open:g?b:void 0,placement:ue,middleware:xe,strategy:r,whileElementsMounted:g?void 0:(...e)=>S(...e,Ee),nodeId:O,externalTree:j}),{sideX:Le,sideY:Re}=je.adaptiveOrigin||ug,ze=Fe?r:`fixed`,Be=N.useMemo(()=>{let e;return e=Fe?ee?{position:ze,[Le]:ke,[Re]:Ae}:{...Ie,position:ze}:{position:ze,top:0,left:0},e[vg]=`100vw`,e[yg]=`100vh`,Fe||(e.opacity=0),e},[ee,ze,Le,ke,Re,Ae,Ie,Fe]),Ve=N.useRef(null);W(()=>{if(!b)return;let e=z.current,t=typeof e==`function`?e():e,n=(wg(t)?t.current:t)||null;n!==Ve.current&&(De.setPositionReference(n),Ve.current=n)},[b,De,ne,z]),N.useEffect(()=>{if(!b)return;let e=z.current;typeof e!=`function`&&wg(e)&&e.current!==Ve.current&&(De.setPositionReference(e.current),Ve.current=e.current)},[b,De,ne,z]),N.useEffect(()=>{if(g&&b&&Oe.reference&&Oe.floating)return S(Oe.reference,Oe.floating,Me,Ee)},[g,b,Oe,Me,Ee]);let He=p(Ne),Ue=bg(i,He,ie),We=_(Ne)||`center`,Ge=!!je.hide?.referenceHidden;W(()=>{A&&b&&Fe&&(He!==ce||se&&We!==le)&&oe(Ne)},[A,se,b,Fe,Ne,He,We,ce,le]);let Ke=N.useMemo(()=>({position:`absolute`,top:je.arrow?.y,left:je.arrow?.x}),[je.arrow]),qe=je.arrow?.centerOffset!==0;return N.useMemo(()=>({positionerStyles:Be,arrowStyles:Ke,arrowRef:ge,arrowUncentered:qe,side:Ue,align:We,physicalSide:He,anchorHidden:Ge,refs:De,context:Pe,isPositioned:Fe,update:Me}),[Be,Ke,ge,qe,Ue,We,He,Ge,De,Pe,Fe,Me])}function wg(e){return e!=null&&`current`in e}function Tg(e){return e===`starting`?um:Se}function Eg(e,t,{styles:n,transitionStatus:r,props:i,refs:a,hidden:o,inert:s=!1}){let c={...n};return s&&(c.pointerEvents=`none`),st(`div`,e,{state:t,ref:a,props:[{role:`presentation`,hidden:o,style:c},Tg(r),i],stateAttributesMapping:Jf})}function Dg(e){return Ve(19)?e:e?`true`:void 0}var Og=()=>{let[e,t]=(0,N.useState)(typeof document<`u`);return(0,N.useEffect)(()=>{e||t(!0)},[]),e},kg=`data-valid`,Ag=`data-invalid`,jg={badInput:!1,customError:!1,patternMismatch:!1,rangeOverflow:!1,rangeUnderflow:!1,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valid:null,valueMissing:!1},Mg={valid:null,touched:!1,dirty:!1,filled:!1,focused:!1},Ng={disabled:!1,...Mg},Pg={valid(e){return e===null?null:e?{[kg]:``}:{[Ag]:``}}},Fg={invalid:void 0,name:void 0,validityData:{state:jg,errors:[],error:``,value:``,initialValue:null},setValidityData:be,disabled:void 0,setTouched:be,setDirty:be,setFilled:be,setFocused:be,focusOwnerRef:{current:void 0},validationMode:`onSubmit`,shouldValidateOnChange:()=>!1,state:Ng,registerFieldControl:be,validation:{getValidationProps:(e,t=Se)=>t,inputRef:{current:null},registeredInputs:new Map,registerInput:be,getInputControl:()=>null,commit:async()=>{},change:be}},Ig=N.createContext(Fg);function Lg(e=!0){let t=N.useContext(Ig);if(t.setValidityData===be&&!e)throw Error(Ne(28));return t}function Rg(e,t,n){let{setFocused:r,focusOwnerRef:i}=Lg(),a=U(t=>{(t?!e:i.current===a)&&(i.current=t&&a,n?.(t),r(t))});return W(()=>{let e=t.current;return e?.getRootNode()?.activeElement===e&&a(!0),()=>a(!1)},[e,t,a]),a}function zg(e,t,n,r,i=!0,a){let{registerFieldControl:o}=Lg(),s=he(()=>Symbol());W(()=>{let c=s.current;i?o(c,{controlRef:e,getValue:r,id:t,name:a,value:n}):o(c,void 0)},[e,i,r,t,a,o,s,n]),W(()=>{let e=s.current;return()=>{o(e,void 0)}},[o,s])}var Bg=N.createContext({elementRef:{current:null},formRef:{current:{fields:new Map}},errors:{},clearErrors:be,validationMode:`onSubmit`,submitCountRef:{current:0}});function Vg(){return N.useContext(Bg)}var Hg=N.createContext({controlId:void 0,registerControlId:be,resetControlId:be,labelId:void 0,setLabelId:be,messageIds:[],setMessageIds:be,getDescriptionProps:e=>e});function Ug(){return N.useContext(Hg)}function Wg(e={}){let{id:t,enabled:n=!0}=e,{controlId:r,registerControlId:i,resetControlId:a}=Ug(),o=yt(),s=he(()=>Symbol()),c=N.useRef(!1),l=N.useRef(!1),u=U(()=>{c.current&&i!==be&&(c.current=!1,i(s.current,void 0))});return W(()=>{if(!n||i===be){u();return}let e;if(t!==void 0)l.current=!0,e=t;else if(l.current)e=o;else{a();return}e===void 0?u():(c.current=!0,i(s.current,e))},[t,n,i,a,o,s,u]),W(()=>u,[u]),(n?r:void 0)??t??o}function Gg(e,t){let n=N.useRef(e),r=U(t);W(()=>{n.current!==e&&r(n.current),n.current=e},[e,r])}var Kg=(e,t,n)=>n>t?t:n<e?e:n,qg=()=>{},Jg=()=>{},Yg={},Xg=e=>typeof e==`object`&&!!e,Zg=e=>e,Qg=(...e)=>e.reduce((e,t)=>n=>t(e(n))),$g=(e,t,n)=>{let r=t-e;return r?(n-e)/r:1},e_=e=>e*1e3,t_=e=>e/1e3,n_=(e,t)=>t?1e3/t*e:0,r_=(e,t,n)=>e*(3*(1-e)*((1-e)*t+e*n)+e*e);function i_(e,t,n,r){return e===t&&n===r?Zg:i=>{let a=0,o=1,s=i;for(let t=0;;t++){s>=a&&s<=o||(s=(a+o)/2);let r=r_(s,e,n)-i;if(r*r<1e-28||t===40)break;r>0?o=s:a=s,s-=r*1e-7/(r_(s+1e-7,e,n)-i-r)}return r_(s,t,r)}}var a_=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,o_=e=>t=>1-e(1-t),s_=i_(.33,1.53,.69,.99),c_=o_(s_),l_=a_(c_),u_=e=>e>=1?1:(e*=2)<1?.5*c_(e):.5*(2-2**(-10*(e-1))),d_=e=>1-Math.sin(Math.acos(e)),f_=o_(d_),p_=a_(d_),m_=i_(.42,0,1,1),h_=i_(0,0,.58,1),g_=i_(.42,0,.58,1),__=e=>Array.isArray(e)&&typeof e[0]!=`number`,v_=e=>Array.isArray(e)&&typeof e[0]==`number`,y_={linear:Zg,easeIn:m_,easeInOut:g_,easeOut:h_,circIn:d_,circInOut:p_,circOut:f_,backIn:c_,backInOut:l_,backOut:s_,anticipate:u_},b_=e=>typeof e==`string`,x_=e=>{if(v_(e)){e.length;let[t,n,r,i]=e;return i_(t,n,r,i)}return b_(e)?(y_[e],`${e}`,y_[e]):e},S_={delta:0,timestamp:0,isProcessing:!1},C_;function w_(){C_=void 0}var T_={now:()=>(C_===void 0&&T_.set(S_.isProcessing||Yg.useManualTiming?S_.timestamp:performance.now()),C_),set:e=>{C_=e,queueMicrotask(w_)}},E_=e=>Math.round(e*1e5)/1e5,D_=e=>t=>typeof t==`string`&&t.startsWith(e),O_=D_(`--`),k_=D_(`var(--`),A_=e=>k_(e)?j_.test(e.split(`/*`)[0].trim()):!1,j_=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function M_(e){return typeof e==`string`&&e.split(`/*`)[0].includes(`var(--`)}var N_={test:e=>typeof e==`number`,parse:parseFloat,transform:e=>e},P_={...N_,transform:e=>Kg(0,1,e)},F_={...N_,default:1},I_=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function L_(e){return e==null}var R_=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,z_=(e,t)=>n=>!!(typeof n==`string`&&R_.test(n)&&n.startsWith(e)||t&&!L_(n)&&Object.prototype.hasOwnProperty.call(n,t)),B_=(e,t,n)=>r=>{if(typeof r!=`string`)return r;let[i,a,o,s]=r.match(I_);return{[e]:parseFloat(i),[t]:parseFloat(a),[n]:parseFloat(o),alpha:s===void 0?1:parseFloat(s)}},V_=e=>Kg(0,255,e),H_={...N_,transform:e=>Math.round(V_(e))},U_={test:z_(`rgb`,`red`),parse:B_(`red`,`green`,`blue`),transform:({red:e,green:t,blue:n,alpha:r=1})=>`rgba(`+H_.transform(e)+`, `+H_.transform(t)+`, `+H_.transform(n)+`, `+E_(P_.transform(r))+`)`};function W_(e){let t=``,n=``,r=``,i=``;return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),r=e.substring(5,7),i=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),r=e.substring(3,4),i=e.substring(4,5),t+=t,n+=n,r+=r,i+=i),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:i?parseInt(i,16)/255:1}}var G_={test:z_(`#`),parse:W_,transform:U_.transform},K_=e=>({test:t=>typeof t==`string`&&t.endsWith(e)&&t.split(` `).length===1,parse:parseFloat,transform:t=>`${t}${e}`}),q_=K_(`deg`),J_=K_(`%`),Y_=K_(`px`),X_=K_(`vh`),Z_=K_(`vw`),Q_={...J_,parse:e=>J_.parse(e)/100,transform:e=>J_.transform(e*100)},$_={test:z_(`hsl`,`hue`),parse:B_(`hue`,`saturation`,`lightness`),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>`hsla(`+Math.round(e)+`, `+J_.transform(E_(t))+`, `+J_.transform(E_(n))+`, `+E_(P_.transform(r))+`)`},ev={test:e=>U_.test(e)||G_.test(e)||$_.test(e),parse:e=>U_.test(e)?U_.parse(e):$_.test(e)?$_.parse(e):G_.parse(e),transform:e=>typeof e==`string`?e:e.hasOwnProperty(`red`)?U_.transform(e):$_.transform(e),getAnimatableNone:e=>{let t=ev.parse(e);return t.alpha=0,ev.transform(t)}},tv=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu,nv=new RegExp(I_.source),rv=new RegExp(tv.source,`i`);function iv(e){return isNaN(e)&&typeof e==`string`&&(nv.test(e)||rv.test(e))}var av=`number`,ov=`color`,sv=`var`,cv=`var(`,lv="${}",uv=/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+)(?![a-z]*\()/giu;function dv(e){let t=e.toString();return nv.test(t)||rv.test(t)}function fv(e){let t=e.toString(),n=[],r={color:[],number:[],var:[]},i=[],a=0;return{values:n,split:t.replace(uv,e=>(ev.test(e)?(r.color.push(a),i.push(ov),n.push(ev.parse(e))):e.startsWith(cv)?(r.var.push(a),i.push(sv),n.push(e)):(r.number.push(a),i.push(av),n.push(parseFloat(e))),++a,lv)).split(lv),indexes:r,types:i}}function pv(e){return fv(e).values}function mv({split:e,types:t}){let n=e.length;return r=>{let i=``;for(let a=0;a<n;a++)if(i+=e[a],r[a]!==void 0){let e=t[a];i+=e===av?E_(r[a]):e===ov?ev.transform(r[a]):r[a]}return i}}function hv(e){return mv(fv(e))}var gv=e=>typeof e==`number`?0:ev.test(e)?ev.getAnimatableNone(e):e,_v=(e,t)=>typeof e==`number`?t?.trim().endsWith(`/`)?e:0:gv(e);function vv(e){let t=fv(e);return mv(t)(t.values.map((e,n)=>_v(e,t.split[n])))}var yv={test:iv,parse:pv,createTransformer:hv,getAnimatableNone:vv};function bv(e,t,n){return n<0&&(n+=1),n>1&&--n,n<1/6?e+(t-e)*6*n:n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function xv({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,t/=100,n/=100;let i=0,a=0,o=0;if(!t)i=a=o=n;else{let r=n<.5?n*(1+t):n+t-n*t,s=2*n-r;i=bv(s,r,e+1/3),a=bv(s,r,e),o=bv(s,r,e-1/3)}return{red:Math.round(i*255),green:Math.round(a*255),blue:Math.round(o*255),alpha:r}}function Sv(e,t){return n=>n>0?t:e}var Cv=(e,t,n)=>e+(t-e)*n,wv=(e,t,n)=>{let r=e*e,i=n*(t*t-r)+r;return i<0?0:Math.sqrt(i)},Tv=[G_,U_,$_],Ev=e=>Tv.find(t=>t.test(e));function Dv(e){let t=Ev(e);if(!t)return`${e}`,!1;let n=t.parse(e);return t===$_&&(n=xv(n)),n}var Ov=(e,t)=>{let n=Dv(e),r=Dv(t);if(!n||!r)return Sv(e,t);let i={...n};return e=>(i.red=wv(n.red,r.red,e),i.green=wv(n.green,r.green,e),i.blue=wv(n.blue,r.blue,e),i.alpha=Cv(n.alpha,r.alpha,e),U_.transform(i))},kv=new Set([`none`,`hidden`]);function Av(e,t){return kv.has(e)?n=>n<=0?e:t:n=>n>=1?t:e}function jv(e,t){return n=>Cv(e,t,n)}function Mv(e){return typeof e==`number`?jv:typeof e==`string`?A_(e)?Sv:ev.test(e)?Ov:Iv:Array.isArray(e)?Nv:typeof e==`object`?ev.test(e)?Ov:Pv:Sv}function Nv(e,t){let n=[...e],r=n.length,i=e.map((e,n)=>Mv(e)(e,t[n]));return e=>{for(let t=0;t<r;t++)n[t]=i[t](e);return n}}function Pv(e,t){let n={...e,...t},r={};for(let i in n)e[i]!==void 0&&t[i]!==void 0&&(r[i]=Mv(e[i])(e[i],t[i]));return e=>{for(let t in r)n[t]=r[t](e);return n}}function Fv(e,t){let n=[],r={color:0,var:0,number:0};for(let i=0;i<t.values.length;i++){let a=t.types[i],o=e.indexes[a][r[a]],s=e.values[o]??0;n[i]=s,r[a]++}return n}var Iv=(e,t)=>{let n=yv.createTransformer(t),r=fv(e),i=fv(t);return r.indexes.var.length===i.indexes.var.length&&r.indexes.color.length===i.indexes.color.length&&r.indexes.number.length>=i.indexes.number.length?kv.has(e)&&!i.values.length||kv.has(t)&&!r.values.length?Av(e,t):Qg(Nv(Fv(r,i),i.values),n):(`${e}${t}`,Sv(e,t))},Lv=/^(-?(?:\d+(?:\.\d*)?|\.\d+))([a-z%]*)$/iu;function Rv(e,t){let n=Lv.exec(e);if(!n)return;let r=Lv.exec(t);if(!r||n[2]!==r[2])return;let i=n[2],a=parseFloat(n[1]),o=parseFloat(r[1]);return e=>E_(Cv(a,o,e))+i}function zv(e,t,n){if(typeof e==`number`&&typeof t==`number`&&typeof n==`number`)return Cv(e,t,n);if(typeof e==`string`&&typeof t==`string`){let n=Rv(e,t);if(n)return n}return Mv(e)(e,t)}var Bv=[`setup`,`read`,`resolveKeyframes`,`preUpdate`,`update`,`preRender`,`render`,`postRender`];function Vv(e){let t=new Set,n=new Set,r=!1,i=!1,a=new Set,o={delta:0,timestamp:0,isProcessing:!1};function s(t){a.has(t)&&(n.add(t),e()),t(o)}let c={schedule:(e,i=!1,o=!1)=>{let s=o&&r?t:n;return i&&a.add(e),s.add(e),e},cancel:e=>{n.delete(e),a.delete(e)},process:e=>{if(o=e,r){i=!0;return}r=!0;let a=t;t=n,n=a,t.forEach(s),t.clear(),r=!1,i&&(i=!1,c.process(e))}};return c}var Hv=40;function Uv(e,t,n={delta:0,timestamp:0,isProcessing:!1}){let r=!1,i=!0,a=()=>r=!0,o=Bv.reduce((e,t)=>(e[t]=Vv(a),e),{}),{setup:s,read:c,resolveKeyframes:l,preUpdate:u,update:d,preRender:f,render:p,postRender:m}=o,h=()=>{let a=Yg.useManualTiming,o=a?n.timestamp:performance.now();r=!1,a||(n.delta=i?1e3/60:Math.max(Math.min(o-n.timestamp,Hv),1)),n.timestamp=o,n.isProcessing=!0,s.process(n),c.process(n),l.process(n),u.process(n),d.process(n),f.process(n),p.process(n),m.process(n),n.isProcessing=!1,r&&t&&(i=!1,e(h))},g=()=>{r=!0,i=!0,n.isProcessing||e(h)};return{schedule:Bv.reduce((e,t)=>{let n=o[t];return e[t]=(e,t=!1,i=!1)=>(r||g(),n.schedule(e,t,i)),e},{}),cancel:e=>{for(let t=0;t<Bv.length;t++)o[Bv[t]].cancel(e)},state:n,steps:o}}var{schedule:Wv,cancel:Gv,steps:Kv}=Uv(typeof requestAnimationFrame<`u`?requestAnimationFrame:Zg,!0,S_),qv=e=>{let t=({timestamp:t})=>e(t);return{start:(e=!0)=>Wv.update(t,e),stop:()=>Gv(t),now:()=>S_.isProcessing?S_.timestamp:T_.now()}},Jv=(e,t,n=10)=>{let r=``,i=Math.max(Math.round(t/n),2);for(let t=0;t<i;t++)r+=Math.round(e(t/(i-1))*1e4)/1e4+`, `;return`linear(${r.substring(0,r.length-2)})`},Yv=2e4;function Xv(e,t=50,n=Yv,r){let i=0,a=e.next(i);for(r?.push(a.value);!a.done&&i<n;)i+=t,a=e.next(i),r?.push(a.value);return i>=n?1/0:i}function Zv(e,t=100,n){let{keyframes:r,velocity:i}=e,a=r&&r[r.length-1]-r[0],o=n({...e,velocity:i&&a?i*t/a:i,keyframes:[0,t]}),s=Math.min(Xv(o),Yv);return{type:`keyframes`,ease:e=>o.next(s*e).value/t,duration:t_(s)}}var Qv={stiffness:100,damping:10,mass:1,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05},$v=e=>e<0?1/Math.max(1+e,Qv.minDamping):Math.max(1-e,Qv.minDamping);function ey(e,t){if(!(e>1))return 1;let n=Math.sqrt(e*e-1),r=e-n,i=e+n,a=2*n*Math.exp(-t)*(1+t);return ry(e=>i*Math.exp(-r*e)-r*Math.exp(-i*e)-a,e=>Math.exp(-i*e)-Math.exp(-r*e),t)/t}function ty(e,t){return e*Math.sqrt(1-t*t)}var ny=12;function ry(e,t,n){let r=n;for(let n=1;n<ny;n++)r-=e(r)/t(r);return r}var iy=.001;function ay({duration:e=Qv.duration,bounce:t=Qv.bounce}){let n,r;Qv.maxDuration;let i=$v(t);e=Kg(Qv.minDuration,Qv.maxDuration,t_(e)),i<1?(n=t=>{let n=t*i,r=n*e,a=ty(t,i),o=Math.exp(-r);return iy-n/a*o},r=t=>{let r=t*i*e,a=i*i*t*t*e,o=Math.exp(-r),s=ty(t*t,i);return(-n(t)+iy>0?-1:1)*-a*o/s}):(n=t=>-.001+Math.exp(-t*e)*(t*e+1),r=t=>Math.exp(-t*e)*(-t*(e*e)));let a=5/e,o=ry(n,r,a),s=o*ey(i,o*e),c=s*s;return{stiffness:c,damping:i*2*Math.sqrt(c),duration:e_(e)}}var oy=(e,t)=>(t?e>=0:e>0)&&e<1/0;function sy(e,t){if(oy(e,t))return e}function cy(e){let t=sy(e.stiffness),n=sy(e.damping,!0),r=sy(e.mass),i={...e,stiffness:t??Qv.stiffness,damping:n??Qv.damping,mass:r??Qv.mass,isResolvedFromDuration:!1,isTimeDefined:(t??n??r)===void 0&&(e.duration!==void 0||e.bounce!==void 0)};if(i.isTimeDefined){if(e.visualDuration){let t=$v(e.bounce||0),n=2*Math.PI/(e.visualDuration*1.2)*ey(t,2*Math.PI/1.2);i.stiffness=n*n,i.damping=2*t*Math.sqrt(i.stiffness)}else Object.assign(i,ay(i)),i.isResolvedFromDuration=!0;(!oy(i.stiffness)||!oy(i.damping,!0))&&(i.stiffness=Qv.stiffness,i.damping=Qv.damping)}return i}function ly(e=Qv.visualDuration,t=Qv.bounce){let n=typeof e==`object`?e:{visualDuration:e,keyframes:[0,1],bounce:t},r=n.keyframes[0],i=n.keyframes[n.keyframes.length-1],a={done:!1,value:r},{stiffness:o,damping:s,mass:c,duration:l,isResolvedFromDuration:u,isTimeDefined:d}=cy({...n}),f=e=>d?0:-t_(e),p=s/(2*Math.sqrt(o*c)),m=t_(Math.sqrt(o/c)),h=p*m,g={target:i,delta:i-r,velocity:f(n.velocity||0)||0,restSpeed:0,restDelta:0},_=()=>{let e=Math.abs(g.delta)<5;g.restSpeed=n.restSpeed||(e?Qv.restSpeed.granular:Qv.restSpeed.default),g.restDelta=n.restDelta||(e?Qv.restDelta.granular:Qv.restDelta.default)};_();let v,y,b;if(p<1){let e=ty(m,p),t={A:0,sinC:0,cosC:0,t:-1,env:0,sin:0,cos:0};b=()=>{t.A=(g.velocity+h*g.delta)/e,t.sinC=h*t.A+g.delta*e,t.cosC=h*g.delta-t.A*e};let n=n=>{n!==t.t&&(t.t=n,t.env=Math.exp(-h*n),t.sin=Math.sin(e*n),t.cos=Math.cos(e*n))};v=e=>(n(e),g.target-t.env*(t.A*t.sin+g.delta*t.cos)),y=e=>(n(e),t.env*(t.sinC*t.sin+t.cosC*t.cos))}else if(p===1){v=e=>g.target-Math.exp(-m*e)*(g.delta+(g.velocity+m*g.delta)*e);let e={C:0};b=()=>{e.C=g.velocity+m*g.delta},y=t=>Math.exp(-m*t)*(m*e.C*t-g.velocity)}else{let e=m*Math.sqrt(p*p-1),t=h-e,n=h+e,r=d?1/0:300/e,i=(e,t)=>Math.exp(t>r?-e*r-h*(t-r):-e*t),a={S:0,F:0};b=()=>{let t=(g.velocity+h*g.delta)/e;a.S=(g.delta+t)/2,a.F=(g.delta-t)/2},v=e=>g.target-a.S*i(t,e)-a.F*i(n,e),y=e=>t*a.S*i(t,e)+n*a.F*i(n,e)}b();let x=u&&l||null,S={calculatedDuration:x,retarget:(e,t)=>{g.target=e[e.length-1],g.delta=g.target-e[0],g.velocity=f(t),n.restSpeed&&n.restDelta||_(),S.calculatedDuration=x,a.done=!1,b()},velocity:e=>e_(y(e)),next:e=>{let t=v(e);if(u)a.done=e>=l;else{let n=e_(y(e));a.done=Math.abs(n)<=g.restSpeed&&Math.abs(g.target-t)<=g.restDelta}return a.value=a.done?g.target:t,a},toString:()=>{let e=Math.min(Xv(S),Yv),t=Jv(t=>S.next(e*t).value,e,30);return e+`ms `+t},toTransition:()=>{}};return S}ly.applyToOptions=e=>{let t=Zv(e,100,ly);return e.ease=t.ease,e.duration=e_(t.duration),e.type=`keyframes`,e};function uy({keyframes:e,velocity:t=0,power:n=.8,timeConstant:r=325,bounceDamping:i=10,bounceStiffness:a=500,modifyTarget:o,min:s,max:c,restDelta:l=.5,restSpeed:u}){let d=e[0],f={done:!1,value:d},p=e=>e<s||e>c,m=e=>s===void 0?c:c===void 0||Math.abs(s-e)<Math.abs(c-e)?s:c,h=n*t,g=d+h,_=o===void 0?g:o(g);_!==g&&(h=_-d);let v=e=>-h*Math.exp(-e/r),y=e=>{let t=v(e);f.done=Math.abs(t)<=l,f.value=f.done?_:_+t},b,x,S=e=>{p(f.value)&&(b=e,x=ly({keyframes:[f.value,m(f.value)],velocity:-v(e)/r*1e3,damping:i,stiffness:a,restDelta:l,restSpeed:u}))};return S(0),{calculatedDuration:null,next:e=>{let t=!1;return!x&&b===void 0&&(t=!0,y(e),S(e)),b!==void 0&&e>=b?x.next(e-b):(!t&&y(e),f)}}}function dy(e,t,n){let r=[],i=n||Yg.mix||zv,a=e.length-1;for(let n=0;n<a;n++){let a=i(e[n],e[n+1]);t&&(a=Qg(Array.isArray(t)?t[n]||Zg:t,a)),r.push(a)}return r}function fy(e,t,{clamp:n=!0,ease:r,mixer:i}={}){let a=e.length;if(t.length,a===1)return()=>t[0];if(a===2&&t[0]===t[1])return()=>t[1];let o=e[0]===e[1];e[0]>e[a-1]&&(e=[...e].reverse(),t=[...t].reverse());let s=dy(t,r,i),c=s.length,l=n=>{if(o&&n<e[0])return t[0];let r=0;if(c>1)for(;r<e.length-2&&!(n<e[r+1]);r++);let i=$g(e[r],e[r+1],n);return s[r](i)};return n?t=>l(Kg(e[0],e[a-1],t)):l}function py(e,t){let n=e[e.length-1];for(let r=1;r<=t;r++){let i=$g(0,t,r);e.push(Cv(n,1,i))}}function my(e){let t=[0];return py(t,e.length-1),t}function hy(e,t){return e.map(e=>e*t)}function gy(e,t){return e.map(()=>t||g_).splice(0,e.length-1)}function _y({duration:e=300,keyframes:t,times:n,ease:r=`easeInOut`}){let i=__(r)?r.map(x_):x_(r)||g_,a={done:!1,value:t[0]};if(t.length===2&&!Array.isArray(i)&&(!n||n.length!==2||n[0]===0&&n[1]===1)){let[n,r]=t,o=n===r?void 0:(Yg.mix||zv)(n,r);return{calculatedDuration:e,next:t=>(a.value=o?o(i(e>0?Kg(0,1,t/e):1)):r,a.done=t>=e,a)}}let o=fy(hy(n&&n.length===t.length?n:my(t),e),t,{ease:Array.isArray(i)?i:gy(t,i)});return{calculatedDuration:e,next:t=>(a.value=o(t),a.done=t>=e,a)}}var vy=5;function yy(e,t,n){let r=Math.max(t-vy,0);return n_(n-e(r),t-r)}function by(e,t,n=0){return t<=0?n:e.velocity?e.velocity(t):yy(t=>e.next(t).value,t,e.next(t).value)}var xy=e=>e!==null;function Sy(e,{repeat:t,repeatType:n=`loop`},r,i=1){let a=e.filter(xy),o=i<0||t&&n!==`loop`&&t%2==1?0:a.length-1;return!o||r===void 0?a[o]:r}var Cy={decay:uy,inertia:uy,tween:_y,keyframes:_y,spring:ly};function wy(e){typeof e.type==`string`&&(e.type=Cy[e.type])}var Ty=40,Ey=(e,t)=>t-e>Ty&&!Yg.useManualTiming?t:e;function Dy(e,t){return{kind:e,animation:t,timestamp:T_.now(),frameTimestamp:S_.timestamp,frameIsProcessing:S_.isProcessing}}function Oy(e,t,n){let r=globalThis.__MOTION_INSPECT__;if(r)try{r({...Dy(`animation-start`,e),options:n?{...t,...n}:t})}catch{}}function ky(e,t){let n=globalThis.__MOTION_INSPECT__;if(n)try{n({...Dy(`layout-animation-start`,e),node:t})}catch{}}var Ay=class{constructor(){this.isResolved=!1}get finished(){return this._finished||=this.isResolved?Promise.resolve():new Promise(e=>{this._resolve=e}),this._finished}updateFinished(){this._finished=this._resolve=void 0,this.isResolved=!1}notifyFinished(){this.isResolved=!0,this._resolve?.()}then(e,t){return this.finished.then(e,t)}},jy=e=>e/100,My=e=>Math.round(e*1e4)/1e4,Ny=class extends Ay{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=()=>{let{motionValue:e}=this.options;e&&e.updatedAt!==T_.now()&&this.tick(T_.now()),this.isStopped=!0,this.state!==`idle`&&(this.teardown(),this.options.onStop?.())},this.options=e,this.initAnimation(),this.play(),e.autoplay===!1&&this.pause(),Oy(this,this.options)}initAnimation(){let{options:e}=this;wy(e);let{type:t=_y,repeat:n=0,repeatDelay:r=0,repeatType:i,velocity:a=0}=e,{keyframes:o}=e,s=t||_y;s!==_y&&typeof o[0]!=`number`&&(this.mixKeyframes=Qg(jy,zv(o[0],o[1])),o=[0,100]);let c=s(o===e.keyframes?e:{...e,keyframes:o});i===`mirror`&&(this.mirroredGenerator=s({...e,keyframes:[...o].reverse(),velocity:-a})),c.calculatedDuration===null&&(c.calculatedDuration=Xv(c));let{calculatedDuration:l}=c;this.calculatedDuration=l,this.resolvedDuration=l+r,this.totalDuration=this.resolvedDuration*(n+1)-r,this.generator=c}updateTime(e){let t=Math.round(e-this.startTime)*this.playbackSpeed;this.currentTime=this.holdTime===null?t:this.holdTime}tick(e,t=!1){let{generator:n,totalDuration:r,calculatedDuration:i}=this;if(this.startTime===null)return n.next(0);let{delay:a=0,keyframes:o,type:s,onUpdate:c,finalKeyframe:l}=this.options;this.startTime===this.pendingStartTime&&(this.startTime=Ey(this.startTime,e)),this.pendingStartTime=void 0,this.speed>0?this.startTime=Math.min(this.startTime,e):this.speed<0&&(this.startTime=Math.min(e-r/this.speed,this.startTime)),t?this.currentTime=e:this.updateTime(e);let u=this.currentTime-a*(this.playbackSpeed>=0?1:-1),d=this.playbackSpeed>=0?u<0:u>r;this.currentTime=Math.max(u,0),this.state===`finished`&&this.holdTime===null&&(this.currentTime=r);let f=this.generate(this.currentTime,d),{done:p}=f;!d&&i!==null&&(p=this.playbackSpeed>=0?this.currentTime>=r:this.currentTime<=0);let m=this.holdTime===null&&(this.state===`finished`||this.state===`running`&&p);return m&&s!==uy&&(f.value=Sy(o,this.options,l,this.speed)),c&&c(f.value),m&&this.finish(),f}at(e){return this.holdTime??My((e-this.startTime)*this.playbackSpeed)}sampleAt(e,t){let{options:n,totalDuration:r}=this,i=this.at(e)-(n.delay||0);return i>=r&&n.type!==uy?Sy(n.keyframes,n,t?void 0:n.finalKeyframe):this.generate(Math.max(i,0),i<0).value}generate(e,t){let{generator:n,totalDuration:r,mixKeyframes:i,mirroredGenerator:a,resolvedDuration:o}=this,{keyframes:s,repeat:c,repeatType:l,repeatDelay:u}=this.options,d=e,f=n;if(c){let t=Math.min(e,r)/o,n=Math.floor(t),i=t%1;!i&&t>=1&&(i=1),i===1&&n--,n=Math.min(n,c+1),n%2&&(l===`reverse`?(i=1-i,u&&(i-=u/o)):l===`mirror`&&(f=a)),d=Kg(0,1,i)*o}let p;return t?(this.delayState.value=s[0],p=this.delayState):p=f.next(d),i&&!t&&(p.value=i(p.value)),p}then(e,t){return this.finished.then(e,t)}get duration(){return t_(this.calculatedDuration)}get iterationDuration(){let{delay:e=0}=this.options||{};return this.duration+t_(e)}get time(){return t_(this.currentTime)}set time(e){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(){return by(this.generator,this.currentTime,this.options.velocity)}get speed(){return this.playbackSpeed}set speed(e){let t=this.playbackSpeed!==e;t&&this.driver&&this.updateTime(T_.now()),this.playbackSpeed=e,t&&this.driver&&(this.time=t_(this.currentTime))}play(){if(this.isStopped)return;let{driver:e=qv,startTime:t}=this.options;this.driver||=e(e=>this.tick(e)),this.options.onPlay?.();let n=this.driver.now();this.state===`finished`?(this.updateFinished(),this.startTime=n):this.holdTime===null?this.startTime||=t??(this.pendingStartTime=n):this.startTime=n-this.holdTime/(this.playbackSpeed||1),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(T_.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(),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 Py(e){return new Ny(e)}function Fy(e){return Xg(e)&&`offsetHeight`in e&&!(`ownerSVGElement`in e)}var Iy={floating:1100,modal:1200,toast:1e5,step:10},Ly=0,Ry=0;function zy(e){return e===`toast`?(Ry=Math.max(Ry,Iy.toast)+Iy.step,Ry):(Ly=Math.max(Ly,Iy[e])+Iy.step,Ly)}function By(e,t){let[n,r]=(0,N.useState)(void 0),i=(0,N.useRef)({tier:e,explicit:t,node:null,observer:null,prevOpen:!1}),a=(0,N.useRef)(t);if(i.current.tier=e,i.current.explicit=t,a.current!==void 0&&t===void 0&&i.current.node){let t=i.current.node;if(t.hasAttribute(`data-open`)&&(r(zy(e)),i.current.prevOpen=!0),!i.current.observer){let e=new MutationObserver(()=>{let e=t.hasAttribute(`data-open`);e&&!i.current.prevOpen&&r(zy(i.current.tier)),i.current.prevOpen=e});e.observe(t,{attributes:!0,attributeFilter:[`data-open`,`data-closed`]}),i.current.observer=e}}a.current=t;let o=(0,N.useCallback)(e=>{if(e===i.current.node||(i.current.observer?.disconnect(),i.current.observer=null,i.current.node=e,i.current.prevOpen=!1,!e)||i.current.explicit!==void 0)return;let t=()=>{let t=e.hasAttribute(`data-open`);t&&!i.current.prevOpen&&r(zy(i.current.tier)),i.current.prevOpen=t};t();let n=new MutationObserver(t);n.observe(e,{attributes:!0,attributeFilter:[`data-open`,`data-closed`]}),i.current.observer=n},[]);return(0,N.useEffect)(()=>()=>{i.current.observer?.disconnect()},[]),{zIndex:i.current.explicit??n,ref:o}}var Vy=N.createContext(void 0);function Hy(e){let t=N.useContext(Vy);if(t===void 0&&!e)throw Error(Ne(33));return t}var Uy=N.createContext(void 0);function Wy(e){let t=N.useContext(Uy);if(t===void 0&&!e)throw Error(Ne(36));return t}var Gy=N.createContext(void 0);function Ky(e=!0){let t=N.useContext(Gy);if(t===void 0&&!e)throw Error(Ne(25));return t}var qy=N.createContext(null);function Jy(e=`root`){let t=N.useContext(qy),n=N.useContext(Uy);return t===null||n===void 0?null:(e===`submenu-trigger`?n.virtualFocus||n.parentVirtualFocus:n.virtualFocus)?t:null}var Yy={visible:!0,ref:null};function Xy(){return Yy}function Zy(e,t,n=`root`){let r=Jy(n),i=((n===`submenu-trigger`?r?.useSubmenuTrigger:r?.useItem)??Xy)({label:e.label,children:e.children,render:e.render}),a=Pe(t,i.ref);return{visible:i.visible,ref:a,props:i.props}}function Qy(e){e.preventDefault()}function $y(e){let{closeOnClick:t,highlighted:n,id:r,nodeId:i,store:a,typingRef:o,itemRef:s,itemMetadata:c}=e,l=Wy(),u=Ky(!0),d=c.type===`submenu-trigger`,f=d?l.parentVirtualFocus:l.virtualFocus,p=(d&&l.parent.type===`menu`?l.parent.store:l.store).useState(`webkitAriaSelected`,n),{events:m}=a.useState(`floatingTreeRoot`),h=a.useState(`open`),g=u!==void 0,_=!f&&h&&n?0:-1;return N.useMemo(()=>({id:r,role:`menuitem`,tabIndex:_,"aria-selected":p,onMouseDown:f?Qy:void 0,onKeyDown(e){e.key===` `&&o?.current&&e.preventDefault()},onMouseMove(e){i&&m.emit(`itemhover`,{nodeId:i,target:e.currentTarget})},onClick(e){t&&m.emit(`close`,{domEvent:e.nativeEvent,reason:Dt})},onMouseUp(e){if(u){let t=u.initialCursorPointRef.current;if(u.initialCursorPointRef.current=null,g&&t&&Math.abs(e.clientX-t.x)<=1&&Math.abs(e.clientY-t.y)<=1||g&&!hf&&e.button===2)return}s.current&&a.context.allowMouseUpTriggerRef.current&&(!g||e.button===2)&&c.type===`regular-item`&&mn(s.current,e,{detail:1,pointerType:`mouse`})}}),[t,_,r,m,i,a.context.allowMouseUpTriggerRef,o,s,u,g,c.type,p,f])}var eb={type:`regular-item`};function tb(e){let{closeOnClick:t,disabled:n,highlighted:r,id:i,store:a,typingRef:o=a.context.typingRef,nativeButton:s,itemMetadata:c,nodeId:l}=e,u=N.useRef(null),{getButtonProps:d,buttonRef:f}=hn({disabled:n,focusableWhenDisabled:!0,native:s,composite:!0}),p=$y({closeOnClick:t,highlighted:r,id:i,nodeId:l,store:a,typingRef:o,itemRef:u,itemMetadata:c}),m=N.useCallback(e=>Je(p,{onMouseEnter(e){c.type===`submenu-trigger`&&c.setActive(e.nativeEvent)}},e,d),[p,d,c]),h=Pe(u,f);return N.useMemo(()=>({getItemProps:m,itemRef:h}),[m,h])}var nb=N.forwardRef(function(e,t){let{render:n,className:r,id:i,label:a,nativeButton:o=!1,disabled:s=!1,closeOnClick:c=!0,style:l,...u}=e,{store:d}=Wy(),f=rn({guess:!0,label:a}),p=yt(i),m=d.useState(`disabled`),h=d.useState(`isActive`,f.index),g=d.useState(`floatingNodeId`),_=d.useState(`itemProps`),v=s||m,{getItemProps:y,itemRef:b}=tb({closeOnClick:c,disabled:v,highlighted:h,id:p,store:d,nativeButton:o,nodeId:g,itemMetadata:eb});return st(`div`,e,{state:{disabled:v,highlighted:h},props:[_,u,y],ref:[b,t,f.ref]})}),rb=N.forwardRef(function(e,t){let n=Zy(e,t);return n.visible?(0,P.jsx)(nb,{...e,ref:n.ref}):null}),ib=N.createContext(void 0);function ab(e){let t=N.useContext(ib);if(t===void 0&&!e)throw Error(Ne(69));return t}var ob=`ArrowUp`,sb=`ArrowDown`,cb=`ArrowLeft`,lb=`ArrowRight`,ub=`Home`,db=`PageUp`,fb=`PageDown`,pb=new Set([ob,sb,cb,lb,ub,`End`]),mb=[`Shift`,`Control`,`Alt`,`Meta`];function hb(e){return b(e)&&e.tagName===`INPUT`}function gb(e){return!!(hb(e)&&e.selectionStart!=null||b(e)&&e.tagName===`TEXTAREA`)}function _b(e,t,n,r){if(!e||!t||!t.scrollTo)return;let i=e.scrollLeft,a=e.scrollTop,o=e.clientWidth<e.scrollWidth,s=e.clientHeight<e.scrollHeight;if(o&&r!==`vertical`){let r=vb(e,t,`left`),a=yb(e),o=yb(t);n===`ltr`&&(r+t.offsetWidth+o.scrollMarginRight>e.scrollLeft+e.clientWidth-a.scrollPaddingRight?i=r+t.offsetWidth+o.scrollMarginRight-e.clientWidth+a.scrollPaddingRight:r-o.scrollMarginLeft<e.scrollLeft+a.scrollPaddingLeft&&(i=r-o.scrollMarginLeft-a.scrollPaddingLeft)),n===`rtl`&&(r-o.scrollMarginLeft<e.scrollLeft+a.scrollPaddingLeft?i=r-o.scrollMarginLeft-a.scrollPaddingLeft:r+t.offsetWidth+o.scrollMarginRight>e.scrollLeft+e.clientWidth-a.scrollPaddingRight&&(i=r+t.offsetWidth+o.scrollMarginRight-e.clientWidth+a.scrollPaddingRight))}if(s&&r!==`horizontal`){let n=vb(e,t,`top`),r=yb(e),i=yb(t);n-i.scrollMarginTop<e.scrollTop+r.scrollPaddingTop?a=n-i.scrollMarginTop-r.scrollPaddingTop:n+t.offsetHeight+i.scrollMarginBottom>e.scrollTop+e.clientHeight-r.scrollPaddingBottom&&(a=n+t.offsetHeight+i.scrollMarginBottom-e.clientHeight+r.scrollPaddingBottom)}e.scrollTo({left:i,top:a,behavior:`auto`})}function vb(e,t,n){let r=n===`left`?`offsetLeft`:`offsetTop`,i=0;for(;t.offsetParent&&(i+=t[r],t.offsetParent!==e);)t=t.offsetParent;return i}function yb(e){let t=getComputedStyle(e);return{scrollMarginTop:parseFloat(t.scrollMarginTop)||0,scrollMarginRight:parseFloat(t.scrollMarginRight)||0,scrollMarginBottom:parseFloat(t.scrollMarginBottom)||0,scrollMarginLeft:parseFloat(t.scrollMarginLeft)||0,scrollPaddingTop:parseFloat(t.scrollPaddingTop)||0,scrollPaddingRight:parseFloat(t.scrollPaddingRight)||0,scrollPaddingBottom:parseFloat(t.scrollPaddingBottom)||0,scrollPaddingLeft:parseFloat(t.scrollPaddingLeft)||0}}var bb=N.createContext(void 0);function xb(){return N.useContext(bb)}function Sb(e,t){let n=dt(e.render);if(N.isValidElement(n)){let e=n.props;if(Object.hasOwn(e,`id`))return e.id??``}return e.id??t}function Cb(e,t,n){let r=Sb(e,t),i=r===t?void 0:r;return[r,N.useCallback(e=>n?.(e?i:void 0),[i,n])]}function wb(e,t,n){let r=dt(e.render),i=N.isValidElement(r)?r.props:void 0,a=e[`aria-label`]??i?.[`aria-label`],o=e[`aria-labelledby`]??i?.[`aria-labelledby`];return o==null&&!a&&(o=t?t.id||void 0:n||void 0),o}var Tb=N.forwardRef(function(e,t){let{render:n,className:r,style:i,finalFocus:a,id:o,initialFocus:s,...c}=e,{store:l,defaultFloatingId:u,setRenderedFloatingId:d,virtualFocus:f,orientation:p}=Wy(),m=xb(),{side:h,align:g}=Hy(),_=ab(!0)!=null,v=l.useState(`open`),y=l.useState(`transitionStatus`),b=l.useState(`popupProps`),x=l.useState(`mounted`),S=l.useState(`instantType`),C=l.useState(`activeTriggerElement`),w=l.useState(`parent`),T=l.useState(`lastOpenChangeReason`),E=l.useState(`rootId`),D=l.useState(`floatingRootContext`),O=l.useState(`floatingTreeRoot`),ee=l.useState(`closeDelay`),k=l.useState(`hoverEnabled`),A=l.useState(`disabled`),j=l.useState(`openMethod`),M=l.useState(`activeTriggerId`),te=l.useState(`listElement`),[F,I]=Cb(e,u,d),L=wb(e,C,M),R=w.type===`menu`?m:void 0,ne=w.type===`context-menu`,z=s??w.type!==`menu`;s===void 0&&te&&w.type!==`menu`&&(z=()=>l.state.activeIndex===null&&te),kn({open:v,ref:l.context.popupRef,onComplete(){v&&l.context.onOpenChangeComplete?.(!0)}}),N.useEffect(()=>{function e(e){l.setOpen(!1,bt(e.reason,e.domEvent))}return O.events.on(`close`,e),()=>{O.events.off(`close`,e)}},[O.events,l]),Nh(D,{enabled:k&&!A&&!ne&&w.type!==`menubar`,closeDelay:ee});let re=l.useStateSetter(`popupElement`),{parentVirtualFocusRef:ie,handleFocus:ae}=(N.useContext(qy)?.useParentHandoff??Db)(l,w,v,f),oe=st(`div`,e,{state:{transitionStatus:y,side:h,align:g,open:v,nested:w.type===`menu`,instant:S},ref:[t,l.context.popupRef,re,I],stateAttributesMapping:Yf,props:[b,{id:F,...te?{role:`presentation`}:{role:`menu`,"aria-orientation":p===`horizontal`?`horizontal`:void 0,"aria-labelledby":L},onKeyDown(e){R?.onPopupKeyDown?.(e),_&&pb.has(e.key)&&e.stopPropagation()},onFocus:ae},Tg(y),c,{"data-rootownerid":E}]}),se=w.type===void 0||ne;(C||w.type===`menubar`&&T!==`outside-press`)&&(se=!0);let B=R?.getReturnElement??ie;return(0,P.jsx)(Lm,{context:D,openInteractionType:j,modal:ne,disabled:!x,returnFocus:a??B??se,explicitReturnFocus:a===void 0&&B?!1:void 0,initialFocus:z,restoreFocus:!0,getInsideElements:w.type===void 0?()=>[l.context.beforeTriggerFocusGuardRef.current]:void 0,externalTree:w.type===`menubar`?void 0:O,previousFocusableElement:C,nextFocusableElement:w.type===void 0?l.context.triggerFocusTargetRef:void 0,beforeContentFocusGuardRef:l.context.beforeContentFocusGuardRef,children:oe})}),Eb={parentVirtualFocusRef:void 0,handleFocus:void 0};function Db(){return Eb}var Ob=N.forwardRef(function(e,t){let n=Jy()?.Popup??Tb;return(0,P.jsx)(n,{...e,ref:t})}),kb=N.createContext(void 0);function Ab(){let e=N.useContext(kb);if(e===void 0)throw Error(Ne(32));return e}var jb=N.forwardRef(function(e,t){let{keepMounted:n=!1,...r}=e,{store:i,parent:a}=Wy();if(!(i.useState(`mounted`)||n))return null;let o=a.type===`menu`||a.type===`menubar`?`group`:void 0;return(0,P.jsx)(kb.Provider,{value:n,children:(0,P.jsx)(ym,{ref:t,...r,portalOwnerRole:o})})}),Mb=N.forwardRef(function(e,t){let{cutout:n,...r}=e,i;if(n){let e=n.getBoundingClientRect();i=`polygon(0% 0%,100% 0%,100% 100%,0% 100%,0% 0%,${e.left}px ${e.top}px,${e.left}px ${e.bottom}px,${e.right}px ${e.bottom}px,${e.right}px ${e.top}px,${e.left}px ${e.top}px)`}return(0,P.jsx)(`div`,{ref:t,role:`presentation`,"data-base-ui-inert":``,...r,style:{position:`fixed`,inset:0,userSelect:`none`,WebkitUserSelect:`none`,clipPath:i}})});function Nb(e){let{store:t,domReference:n,positionerElement:r,open:i}=e,a=N.useRef(null),o=N.useRef(null),s=On(r);W(()=>{i||(o.current?.abort(),o.current=null,t.state.instantType===`trigger-change`&&t.set(`instantType`,void 0))},[i,t]),W(()=>{let e=n,r=a.current;if(e&&(a.current=e),!r||!e||e===r||!t.select(`open`))return;t.set(`instantType`,void 0);let i=new AbortController;return o.current=i,s(()=>{t.select(`open`)&&t.set(`instantType`,`trigger-change`)},i.signal),()=>{i.abort()}},[n,s,t])}var Pb={},Fb={},Ib=``;function Lb(e,t){return l(e)?e:t}function Rb(e,t,n){return/hidden|clip/.test(e.getComputedStyle(Lb(t,n)).overflowY)}function zb(e){if(typeof document>`u`)return!1;let t=pn(e);return x(t).innerWidth-t.documentElement.clientWidth>0}function Bb(e){if(!(typeof CSS<`u`&&CSS.supports&&CSS.supports(`scrollbar-gutter`,`stable`))||typeof document>`u`)return!1;let t=pn(e),n=t.documentElement,r=t.body,i=Lb(n,r),a=i.style.overflowY,o=n.style.scrollbarGutter;n.style.scrollbarGutter=`stable`,i.style.overflowY=`scroll`;let s=i.offsetWidth;i.style.overflowY=`hidden`;let c=i.offsetWidth;return i.style.overflowY=a,n.style.scrollbarGutter=o,s===c}function Vb(e){let t=pn(e),n=t.documentElement,r=t.body,i=Lb(n,r),a={overflowY:i.style.overflowY,overflowX:i.style.overflowX};return Object.assign(i.style,{overflowY:`hidden`,overflowX:`hidden`}),()=>{Object.assign(i.style,a)}}function Hb(e){let t=pn(e),n=t.documentElement,r=t.body,i=x(n),a=0,o=0,s=!1,c=en.create();if(_f&&(i.visualViewport?.scale??1)!==1)return()=>{};function l(){let t=i.getComputedStyle(n),c=i.getComputedStyle(r),l=(t.scrollbarGutter||``).includes(`both-edges`)?`stable both-edges`:`stable`;a=n.scrollTop,o=n.scrollLeft,Pb={scrollbarGutter:n.style.scrollbarGutter,overflowY:n.style.overflowY,overflowX:n.style.overflowX},Ib=n.style.scrollBehavior,Fb={position:r.style.position,height:r.style.height,width:r.style.width,boxSizing:r.style.boxSizing,overflowY:r.style.overflowY,overflowX:r.style.overflowX,scrollBehavior:r.style.scrollBehavior};let u=n.scrollHeight>n.clientHeight,d=n.scrollWidth>n.clientWidth,f=t.overflowY===`scroll`||c.overflowY===`scroll`,p=t.overflowX===`scroll`||c.overflowX===`scroll`,m=Math.max(0,i.innerWidth-r.clientWidth),h=Math.max(0,i.innerHeight-r.clientHeight),g=parseFloat(c.marginTop)+parseFloat(c.marginBottom),_=parseFloat(c.marginLeft)+parseFloat(c.marginRight),v=Lb(n,r);s=Bb(e),s?(n.style.scrollbarGutter=l,v.style.overflowY=`hidden`,v.style.overflowX=`hidden`):(Object.assign(n.style,{scrollbarGutter:l,overflowY:`hidden`,overflowX:`hidden`}),(u||f)&&(n.style.overflowY=`scroll`),(d||p)&&(n.style.overflowX=`scroll`),Object.assign(r.style,{position:`relative`,height:g||h?`calc(100dvh - ${g+h}px)`:`100dvh`,width:_||m?`calc(100vw - ${_+m}px)`:`100vw`,boxSizing:`border-box`,overflowY:`hidden`,overflowX:`hidden`,scrollBehavior:`unset`}),r.scrollTop=a,r.scrollLeft=o,n.setAttribute(`data-base-ui-scroll-locked`,``),n.style.scrollBehavior=`unset`)}function u(){Object.assign(n.style,Pb),Object.assign(r.style,Fb),s||(n.scrollTop=a,n.scrollLeft=o,n.removeAttribute(`data-base-ui-scroll-locked`),n.style.scrollBehavior=Ib)}function d(){u(),c.request(l)}l();let f=G(i,`resize`,d);return()=>{c.cancel(),u(),typeof i.removeEventListener==`function`&&f()}}var Ub=new class{lockCount=0;restore=null;timeoutLock=yn.create();timeoutUnlock=yn.create();acquire(e){return this.lockCount+=1,this.lockCount===1&&this.restore===null&&this.timeoutLock.start(0,()=>this.lock(e)),this.release}release=()=>{--this.lockCount,this.lockCount===0&&this.restore&&this.timeoutUnlock.start(0,this.unlock)};unlock=()=>{this.lockCount===0&&this.restore&&(this.restore?.(),this.restore=null)};lock(e){if(this.lockCount===0||this.restore!==null)return;let t=pn(e),n=t.documentElement,r=t.body,i=x(n);if(Rb(i,n,r)){let t=new i.MutationObserver(()=>{Rb(i,n,r)||(t.disconnect(),this.restore=null,this.lock(e))}),a={attributes:!0};t.observe(n,a),t.observe(r,a),this.restore=()=>t.disconnect();return}let a=ff||!zb(e);this.restore=a?Vb(e):Hb(e)}};function Wb(e=!0,t=null){W(()=>{if(e)return Ub.acquire(t)},[e,t])}var Gb=20;function Kb(e,t,n,r){let[i,a]=N.useState(!1);W(()=>{if(!e||!t||n==null){a(!1);return}let r=pn(n).documentElement.clientWidth,i=n.offsetWidth;a(r>0&&i>0&&i>=r-Gb)},[e,t,n]),Wb(e&&(!t||i),r)}var qb=N.forwardRef(function(e,t){let{anchor:n,positionMethod:r=`absolute`,className:i,render:a,side:o,align:s,sideOffset:c=0,alignOffset:l=0,collisionBoundary:u=`clipping-ancestors`,collisionPadding:d=5,arrowPadding:f=5,sticky:p=!1,disableAnchorTracking:m=!1,collisionAvoidance:h=fm,style:g,..._}=e,{store:v,virtualFocus:y,syncHighlightedItem:b}=Wy(),x=Ab(),S=Ky(!0),C=v.useState(`parent`),w=v.useState(`floatingRootContext`),T=v.useState(`floatingTreeRoot`),E=v.useState(`mounted`),D=v.useState(`open`),O=v.useState(`modal`),ee=v.useState(`openMethod`),k=v.useState(`activeTriggerElement`),A=v.useState(`transitionStatus`),j=v.useState(`positionerElement`),M=v.useState(`instantType`),te=v.useState(`adaptiveOrigin`),F=v.useState(`lastOpenChangeReason`),I=v.useState(`floatingNodeId`),L=v.useState(`floatingParentNodeId`),R=w.useState(`domReferenceElement`),ne=n,z=c,re=l,ie=s,ae=h;C.type===`context-menu`&&(ne=n??C.context?.anchor,ie??=`start`,!o&&ie!==`center`&&(re=e.alignOffset??2,z=e.sideOffset??-5));let oe=o,se=ie;C.type===`menu`?(oe??=`inline-end`,se??=`start`,ae=e.collisionAvoidance??pm):C.type===`menubar`&&(oe??=C.context.orientation===`vertical`?`inline-end`:`bottom`,se??=`start`);let B=C.type===`context-menu`,V=Sg({anchor:ne,floatingRootContext:w,positionMethod:S?`fixed`:r,mounted:E,side:oe,sideOffset:z,align:se,alignOffset:re,arrowPadding:B?0:f,collisionBoundary:u,collisionPadding:d,sticky:p,nodeId:I,keepMounted:x,disableAnchorTracking:m,collisionAvoidance:ae,shift:B?{crossAxis:!(`side`in ae&&ae.side===`flip`),rootBoundary:`layoutViewport`}:void 0,externalTree:T,adaptiveOrigin:te,lazyFlip:y?`placement`:!1});N.useEffect(()=>{function e(e){e.open&&(e.parentNodeId===I&&v.set(`hoverEnabled`,!1),e.nodeId!==I&&e.parentNodeId===v.select(`floatingParentNodeId`)&&v.setOpen(!1,bt(Gt)))}return T.events.on(`menuopenchange`,e),()=>{T.events.off(`menuopenchange`,e)}},[v,T.events,I]),N.useEffect(()=>{if(v.select(`floatingParentNodeId`)==null)return;function e(e){if(e.open||e.nodeId!==v.select(`floatingParentNodeId`))return;let t=e.reason??`sibling-open`;v.setOpen(!1,bt(t))}return T.events.on(`menuopenchange`,e),()=>{T.events.off(`menuopenchange`,e)}},[T.events,v]);let ce=bn();N.useEffect(()=>{D||ce.clear()},[D,ce]),N.useEffect(()=>{function e(e){if(D&&e.nodeId===v.select(`floatingParentNodeId`)){if(e.target&&k&&k!==e.target){let e=v.select(`closeDelay`);e>0?ce.isStarted()||ce.start(e,()=>{v.setOpen(!1,bt(Gt))}):v.setOpen(!1,bt(Gt))}else ce.clear()}}return T.events.on(`itemhover`,e),()=>{T.events.off(`itemhover`,e)}},[T.events,D,k,v,ce]),N.useEffect(()=>{let e={open:D,nodeId:I,parentNodeId:L,reason:v.select(`lastOpenChangeReason`)};T.events.emit(`menuopenchange`,e)},[T.events,D,v,I,L]),Nb({store:v,domReference:R,positionerElement:j,open:D});let le={open:D,side:V.side,align:V.align,anchorHidden:V.anchorHidden,nested:C.type===`menu`,instant:M},ue=C.type===`menubar`&&C.context.modal;Kb(D&&(ue||O&&F!==`trigger-hover`),ee===`touch`,j,k);let H=Eg(e,le,{styles:V.positionerStyles,transitionStatus:A,props:_,refs:[t,v.useStateSetter(`positionerElement`)],hidden:!E,inert:!D}),de=E&&C.type!==`menu`&&(C.type!==`menubar`&&O&&F!==`trigger-hover`||C.type===`menubar`&&C.context.modal),fe=null;return C.type===`menubar`?fe=C.context.contentElement:C.type===void 0&&(fe=k),(0,P.jsxs)(Vy.Provider,{value:V,children:[de&&(0,P.jsx)(Mb,{ref:C.type===`context-menu`||C.type===`nested-context-menu`?C.context.internalBackdropRef:null,inert:Dg(!D),cutout:fe}),(0,P.jsx)(Dm,{id:I,children:(0,P.jsx)(Te,{elementsRef:v.context.itemDomElements,labelsRef:v.context.itemLabels,onMapChange:b,children:H})})]})}),Jb=N.createContext(null);function Yb(e){let t=N.useContext(Jb);if(t===null&&!e)throw Error(Ne(5));return t}function Xb(e){let t=N.useRef(``),n=N.useCallback(n=>{n.defaultPrevented||(t.current=n.pointerType,e(n,n.pointerType))},[e]);return{onClick:N.useCallback(n=>{n.detail===0?e(n,`keyboard`):(`pointerType`in n?e(n,n.pointerType):e(n,t.current),t.current=``)},[e]),onPointerDown:n}}function Zb(e,t){let{onClick:n,onPointerDown:r}=Xb(U((n,r)=>{(typeof e==`function`?e():e)||t(r||(ff?`touch`:``))}));return N.useMemo(()=>({onClick:n,onPointerDown:r}),[n,r])}function Qb(e){let[t,n]=N.useState(null),r=Zb(e,n);return Gg(e,t=>{t&&!e&&n(null)}),N.useMemo(()=>({openMethod:t,triggerProps:r}),[t,r])}function $b(e){return e==null?St:e.type.startsWith(`key`)?Bt:e.type.startsWith(`mouse`)||e.type.startsWith(`pointer`)?Vt:St}var ex={...Ch,disabled:e=>e.parent.type===`menubar`&&e.parent.context.disabled||e.disabled,modal:e=>(e.parent.type===void 0||e.parent.type===`context-menu`)&&(e.modal??!0),openMethod:e=>e.openMethod,keyboardOpen:e=>e.keyboardOpen,allowMouseEnter:e=>e.allowMouseEnter,highlightItemOnHover:e=>e.highlightItemOnHover,parent:e=>e.parent,rootId:e=>e.parent.type===`menu`?e.parent.store.select(`rootId`):e.parent.type===void 0?e.rootId:e.parent.context.rootId,activeIndex:e=>e.activeIndex,listElement:e=>e.listElement,triggerControlsId:(e,t)=>{let n=Ch.triggerPopupId(e,t);return n?e.listElement?.id||n:void 0},filterTriggerProps:e=>e.filterTriggerProps,inputProps:e=>e.inputProps,webkitAriaSelected:(e,t)=>_f&&e.inputFocused&&t?!0:void 0,highlightedItemId:e=>e.highlightedItem?.id||void 0,isActive:(e,t)=>e.activeIndex===t,hoverEnabled:e=>e.hoverEnabled,instantType:e=>e.instantType===`trigger-change`&&!Ch.open(e)?void 0:e.instantType,lastOpenChangeReason:e=>e.openChangeReason,floatingTreeRoot:e=>e.parent.type===`menu`?e.parent.store.select(`floatingTreeRoot`):e.floatingTreeRoot,floatingNodeId:e=>e.floatingNodeId,floatingParentNodeId:e=>e.floatingParentNodeId,itemProps:e=>e.itemProps,closeDelay:e=>e.closeDelay,adaptiveOrigin:e=>e.adaptiveOrigin,keyboardEventRelay:e=>{if(e.keyboardEventRelay)return e.keyboardEventRelay;if(e.parent.type===`menu`)return e.parent.store.select(`keyboardEventRelay`)}},tx=class extends mh{constructor(e,t,n=!1){let r=new ah,i=rx(r,t,n,e);super(i,nx(r),ex),this.observe(`parent`,e=>{e.type===`menu`?this.context.allowMouseUpTriggerRef=e.store.context.allowMouseUpTriggerRef:e.type!==void 0&&(this.context.allowMouseUpTriggerRef=e.context.allowMouseUpTriggerRef)})}subscribeToParentMenu(){let e=this.state.parent;if(e.type!==`menu`)return;let t=e.store.select(`rootId`),n=e.store.select(`floatingTreeRoot`),r=e.store.select(`keyboardEventRelay`);return e.store.subscribe(()=>{let i=e.store.select(`rootId`),a=e.store.select(`floatingTreeRoot`),o=e.store.select(`keyboardEventRelay`);(t!==i||n!==a||r!==o)&&(t=i,n=a,r=o,this.notifyAll())})}setOpen(e,t){this.state.floatingRootContext.context.events.emit(`setOpen`,{open:e,eventDetails:t})}setActiveIndex(e,t,n){if(this.state.activeIndex!==e){let r=(e===null?void 0:this.context.itemDomElements.current[e])===this.context.reportedItem;this.context.highlightReason=r?`none`:t,this.context.highlightEvent=r?void 0:n}this.set(`activeIndex`,e)}highlightItem(e,t,n){let r=this.context.itemDomElements.current.indexOf(e);r>-1&&this.setActiveIndex(r,t,n)}};function nx(e){return{positionerRef:N.createRef(),popupRef:N.createRef(),typingRef:{current:!1},itemDomElements:{current:[]},itemLabels:{current:[]},highlightReason:`none`,highlightEvent:void 0,reportedItem:void 0,allowMouseUpTriggerRef:{current:!1},virtualFocusRef:void 0,triggerFocusTargetRef:N.createRef(),beforeTriggerFocusGuardRef:N.createRef(),beforeContentFocusGuardRef:N.createRef(),onOpenChangeComplete:void 0,triggerElements:e}}function rx(e,t,n=!1,r){return{..._h(e,t,n),disabled:!1,modal:!0,openMethod:null,keyboardOpen:!1,allowMouseEnter:!1,highlightItemOnHover:!0,parent:{type:void 0},rootId:void 0,activeIndex:null,listElement:null,filterTriggerProps:Se,inputProps:Se,inputFocused:!1,highlightedItem:void 0,hoverEnabled:!0,instantType:void 0,openChangeReason:null,floatingTreeRoot:new xm,floatingNodeId:void 0,floatingParentNodeId:null,itemProps:Se,keyboardEventRelay:void 0,closeDelay:0,adaptiveOrigin:void 0,...r}}var ix=N.createContext(null);function ax(e,t){return(e===`trigger-press`||e===`item-press`)&&t?.detail===0}function ox(e,t){return e===`list-navigation`||ax(e,t)}var sx=nf(function(e){let{children:t,open:n,onOpenChange:r,onOpenChangeComplete:i,onItemHighlighted:a,defaultOpen:o=!1,disabled:s=!1,modal:c,loopFocus:l=!0,orientation:u=`vertical`,actionsRef:d,closeParentOnEsc:f=!1,handle:p,triggerId:m,defaultTriggerId:h=null,highlightItemOnHover:g=!0,isSubmenu:_=!1,virtualFocus:v=!1,virtualFocusRef:y,allowEscape:b=!0,resetOnPointerLeave:x=!0}=e,S=Ky(!0),C=Wy(!0),w=Yb(!0),T=C?.store,E=C?.virtualFocus??!1,D=N.useMemo(()=>_&&T?{type:`menu`,store:T}:w?{type:`menubar`,context:w}:S&&!T?{type:`context-menu`,context:S}:{type:void 0},[S,T,w,_]),O=yt(),ee=yt(),[k,A]=N.useState(void 0),j=(k??ee)||void 0,M=wm(),te=D.type===`menu`?D.store:void 0,F=(n??o)&&te?.state.transitionStatus===`starting`,I=he(()=>F?te?.state.instantType:void 0).current,L=he(()=>{let e=new tx({open:o,openProp:n,activeTriggerId:h,triggerIdProp:m,parent:D,disabled:s,highlightItemOnHover:g,modal:D.type===void 0?c:void 0,rootId:O,instantType:I},j,M!=null);return e.context.virtualFocusRef=y,e}).current;L.useControlledProp(`openProp`,n),L.useControlledProp(`triggerIdProp`,m),L.useContextCallback(`onOpenChangeComplete`,i);let R=L.useState(`floatingTreeRoot`),ne=Em(R),z=L.useState(`open`),re=L.useState(`activeTriggerElement`),ie=L.useState(`positionerElement`),ae=L.useState(`hoverEnabled`),oe=L.useState(`disabled`),se=L.useState(`lastOpenChangeReason`),B=L.useState(`parent`),V=L.useState(`activeIndex`),ce=L.useState(`keyboardOpen`),le=L.useState(`payload`),ue=L.useState(`floatingParentNodeId`),H=N.useRef(null),de=N.useRef(B.type!==`context-menu`),fe=bn(),pe=N.useRef(!0),me=bn(),ge=ue!=null,{openMethod:_e,triggerProps:ve}=Qb(z);L.useSyncedValues({disabled:s,highlightItemOnHover:g,modal:B.type===void 0?c:void 0,openMethod:_e,rootId:O}),th(L);let{forceUnmount:ye,transitionStatus:be}=nh(z,L,()=>{L.set(`allowMouseEnter`,!1)},F),Ce=On(L.context.popupRef);N.useEffect(()=>{if(I===void 0)return;let e=()=>{L.state.instantType===I&&L.set(`instantType`,void 0)};if(!z){e();return}if(be!==void 0)return;if(L.context.popupRef.current==null){e();return}let t=new AbortController;return Ce(e,t.signal),()=>{t.abort()}},[I,z,be,Ce,L]),W(()=>{S&&!C?L.update({parent:{type:`context-menu`,context:S},floatingNodeId:ne,floatingParentNodeId:M}):(C||!L.select(`activeTriggerElement`))&&L.update({floatingNodeId:ne,floatingParentNodeId:M})},[S,C,ne,M,re,L]),N.useEffect(()=>{z||(H.current=null),B.type===`context-menu`&&(z?fe.start(500,()=>{de.current=!0}):(fe.clear(),de.current=!1))},[fe,z,B.type]),W(()=>{!z&&!ae&&L.set(`hoverEnabled`,!0)},[z,ae,L]);let we=U((e,t)=>{let n=t.reason;if(!e&&!L.select(`open`)||z===e&&t.trigger===re&&se===n)return;let i=Qm(t);if(!e&&t.trigger==null&&(t.trigger=re??void 0),r?.(e,t),t.isCanceled)return;L.state.floatingRootContext.dispatchOpenChange(e,t);let a=t.event;if(e===!1&&n!==`item-press`&&a?.type===`click`&&a.pointerType===`touch`&&!pe.current)return;e&&n===`trigger-focus`?(pe.current=!1,me.start(300,()=>{pe.current=!0})):(pe.current=!0,me.clear());let o=!e&&(n===`escape-key`||n==null);H.current=t.event;let s=Zm(L.state,e,t.trigger,i());s.openChangeReason=n,s.keyboardOpen=e&&ox(n,a),s.instantType=B.type===`menubar`&&(n===`trigger-focus`||n===`focus-out`||n===`trigger-hover`||n===`list-navigation`||n===`sibling-open`)?`group`:ax(n,a)?`click`:o?`dismiss`:void 0,L.update(s)}),Te=Um({popupStore:L,floatingRootContext:L.state.floatingRootContext,floatingId:j,nested:M!=null,onOpenChange:we}),Ee=Te.context.events;W(()=>{let e=({open:e,eventDetails:t})=>we(e,t);return Ee.on(`setOpen`,e),()=>{Ee?.off(`setOpen`,e)}},[Ee,we]),W(()=>L.subscribeToParentMenu(),[L]);let De=N.useCallback(()=>{L.setOpen(!1,bt(Yt))},[L]);N.useImperativeHandle(d,()=>({unmount:ye,close:De}),[ye,De]);let Oe;B.type===`context-menu`&&(Oe=B.context),N.useImperativeHandle(Oe?.positionerRef,()=>ie,[ie]),N.useImperativeHandle(Oe?.actionsRef,()=>({setOpen:we}),[we]);let ke=Vm(Te,{enabled:!oe,bubbles:{escapeKey:f&&B.type===`menu`},outsidePress(){return B.type!==`context-menu`||H.current?.type===`contextmenu`||de.current},externalTree:ge?R:void 0}),Ae=og(),je=Hh(Te,{enabled:!oe,listRef:L.context.itemDomElements,activeIndex:V,virtual:v,nested:B.type===`menubar`||!v&&B.type!==void 0,parentOrientation:B.type===`menubar`?B.context.orientation:void 0,loopFocus:l,focusItemOnOpen:v?ce:void 0,allowEscape:v&&l&&b,orientation:u,triggerOrientation:v?`vertical`:u,rtl:Ae===`rtl`,disabledIndices:xe,onNavigate(e,t){L.setActiveIndex(e,$b(t),t?.nativeEvent)},openOnArrowKeyDown:B.type!==`context-menu`&&!(v&&_),externalTree:!v&&ge?R:void 0,nestedReturnFocusRef:te?.context.virtualFocusRef,focusItemOnHover:g,resetOnPointerLeave:x}),Me=N.useCallback(e=>{L.context.typingRef.current=e},[L]),Ne=Uh(Te,{enabled:!oe&&!v,listRef:L.context.itemLabels,elementsRef:L.context.itemDomElements,activeIndex:V,resetMs:500,onMatch:(e,t)=>{z&&e!==V&&L.setActiveIndex(e,Bt,t.nativeEvent)},onTyping:Me}),Pe=U(a),Fe=N.useRef(-1),Ie=U(()=>{let e=L.state.activeIndex,t=e===null?void 0:L.context.itemDomElements.current[e]??void 0;if(t?.isConnected===!1)return;let n=t===void 0?-1:e;if(Fe.current===n&&L.context.reportedItem===t)return;Fe.current=n,L.context.reportedItem=t,v&&L.set(`highlightedItem`,t);let{highlightReason:r,highlightEvent:i}=L.context;L.context.highlightReason=St,L.context.highlightEvent=void 0,a&&Pe(t,xt(r,i,{label:t===void 0?void 0:L.context.itemLabels.current[n]??void 0}))});W(()=>{Ie()},[V,Ie]);let Le=N.useMemo(()=>{if(!v)return je.reference;if(!je.trigger)return Se;let{onFocus:e,...t}=je.trigger;return t},[v,je.reference,je.trigger]);L.useSyncedValue(`inputProps`,v?je.reference??Se:Se);let Re=N.useMemo(()=>{let e=Je(Ne.reference,Le,ke.reference,{onMouseMove(){L.set(`allowMouseEnter`,!0)}},ve);return e[`aria-haspopup`]=`menu`,e[`aria-expanded`]=z,e},[L,Ne.reference,Le,ke.reference,ve,z]),ze=N.useMemo(()=>{let e=Je(je.trigger,ke.trigger,ve);return e[`aria-haspopup`]=`menu`,e[`aria-expanded`]=!1,e},[je.trigger,ke.trigger,ve]);he(()=>(L.update({inactiveTriggerProps:ze}),null)),rh(L,{floatingRootContext:Te,activeTriggerProps:Re,inactiveTriggerProps:ze,popupProps:N.useMemo(()=>Je(Gm,{onMouseMove(){L.set(`allowMouseEnter`,!0),B.type===`menu`&&L.set(`hoverEnabled`,!1)},onClick(){L.select(`hoverEnabled`)&&L.set(`hoverEnabled`,!1)},onKeyDown(e){let t=L.select(`keyboardEventRelay`);t&&!e.isPropagationStopped()&&t(e)}},Ne.floating,je.floating,ke.floating),[B.type,L,Ne.floating,je.floating,ke.floating]),itemProps:je.item??Se});let Be=N.useMemo(()=>({store:L,parent:D,orientation:u,loopFocus:l,allowEscape:b,defaultFloatingId:ee,setRenderedFloatingId:A,virtualFocus:v,parentVirtualFocus:E,syncHighlightedItem:Ie}),[L,D,u,l,b,ee,v,E,Ie]),Ve=typeof t==`function`?t({payload:le}):t,He=(0,P.jsxs)(Uy.Provider,{value:Be,children:[p&&(0,P.jsx)(Jm,{handle:p,store:L}),Ve]});return(B.type===void 0||B.type===`context-menu`)&&(He=(0,P.jsx)(Om,{externalTree:R,children:He})),He});function cx(e){let t=N.useContext(ix);if(t===null)return(0,P.jsx)(sx,{...e});let n=t.Root;return(0,P.jsx)(ix.Provider,{value:null,children:(0,P.jsx)(n,{...t.options,...e})})}var lx=5;function ux(e,t){let n=dx(t);return e.clientX>=n.left-lx&&e.clientX<=n.right+lx&&e.clientY>=n.top-lx&&e.clientY<=n.bottom+lx}function dx(e){let t=e.getBoundingClientRect(),n=x(e);if(bf)return t;let r=n.getComputedStyle(e,`::before`),i=n.getComputedStyle(e,`::after`);if(r.content===`none`&&i.content===`none`)return t;let a=parseFloat(r.width)||0,o=parseFloat(r.height)||0,s=parseFloat(i.width)||0,c=parseFloat(i.height)||0,l=Math.max(t.width,a,s),u=Math.max(t.height,o,c),d=l-t.width,f=u-t.height;return{left:t.left-d/2,right:t.right+d/2,top:t.top-f/2,bottom:t.bottom+f/2}}function fx(e={}){let{highlightItemOnHover:t,highlightedIndex:n,onHighlightedIndexChange:r}=dn(),{ref:i,index:a}=rn(e),o=n===a,s=N.useRef(null),c=Pe(i,s);return{compositeProps:{tabIndex:o?0:-1,onFocus(){r(a)},onMouseMove(){let e=s.current;if(!t||!e)return;let n=e.hasAttribute(`disabled`)||e.ariaDisabled===`true`;!o&&!n&&e.focus()}},compositeRef:c,index:a}}function px(e){let{render:t,className:n,style:r,state:i=Se,props:a=xe,refs:o=xe,metadata:s,stateAttributesMapping:c,tag:l=`div`,...u}=e,{compositeProps:d,compositeRef:f}=fx({metadata:s});return st(l,e,{state:i,ref:[f,...o],props:[d,...a,u],stateAttributesMapping:c})}function mx(e){if(b(e)&&e.hasAttribute(`data-rootownerid`))return e.getAttribute(`data-rootownerid`);if(!o(e))return mx(c(e))}function hx(e,t){function n(n,r,i){let a=n.currentTarget;Cn.flushSync(()=>{e.setOpen(!1,bt(Lt,n.nativeEvent,a))}),Wp(a.isConnected?a:t.current,r,i)?.focus()}function r(t){n(t,-1,e.select(`positionerElement`))}function i(t){let r=e.select(`positionerElement`);r&&Gp(t,r)?e.context.beforeContentFocusGuardRef.current?.focus():n(t,1,r)}return{handlePreFocusGuardFocus:r,handleFocusTargetFocus:i}}function gx(e){let{enabled:t=!0,mouseDownAction:n,open:r}=e,i=N.useRef(!1);return N.useMemo(()=>t?{onMouseDown:e=>{(n===`open`&&!r||n===`close`&&r)&&(i.current=!0,pn(e.currentTarget).addEventListener(`click`,()=>{i.current=!1},{once:!0}))},onClick:e=>{i.current&&(i.current=!1,e.preventBaseUIHandler())}}:Se,[t,n,r])}var _x=rf(function(e,t){let{render:n,className:r,style:i,disabled:a=!1,nativeButton:o=!0,id:s,openOnHover:c,delay:l=100,closeDelay:u=0,handle:d,payload:f,...p}=e,m=Wy(!0),h=wh(d)??m?.store;if(!h)throw Error(Ne(85));let g=yt(s),_=h.useState(`isTriggerActive`,g),v=h.useState(`floatingRootContext`),y=h.useState(`isOpenedByTrigger`,g),b=h.useState(`triggerControlsId`,g),x=N.useRef(null),S=yx(),C=dn(!0),w=Tm(),T=N.useMemo(()=>w??new xm,[w]),{registerTrigger:E,isMountedByThisTrigger:D}=eh(g,x,h,{payload:f,closeDelay:u,parent:S,floatingTreeRoot:T,floatingNodeId:Em(T),floatingParentNodeId:wm(),keyboardEventRelay:C?.relayKeyboardEvent}),O=S.type===`menubar`,ee=h.useState(`disabled`),k=a||ee||O&&S.context.disabled,{getButtonProps:A,buttonRef:j}=hn({disabled:k,native:o});N.useEffect(()=>{!y&&S.type===void 0&&(h.context.allowMouseUpTriggerRef.current=!1)},[h,y,S.type]);let M=N.useRef(null),te=bn(),F=U(e=>{if(!M.current)return;te.clear(),h.context.allowMouseUpTriggerRef.current=!1;let t=e.target;Q(M.current,t)||Q(h.select(`positionerElement`),t)||t===M.current||(t==null||mx(t)!==h.select(`rootId`))&&(ux(e,M.current)||T.events.emit(`close`,{domEvent:e,reason:Wt}))});N.useEffect(()=>{let e=pn(M.current);if(y&&h.select(`lastOpenChangeReason`)===`trigger-hover`)return e.addEventListener(`mouseup`,F,{once:!0}),()=>{e.removeEventListener(`mouseup`,F)}},[y,F,h]);let I=O&&S.context.hasSubmenuOpen,L=Fh(v,{enabled:(c??I)&&!k&&(!O||I&&!D),handleClose:Zh({blockPointerEvents:!O}),mouseOnly:!0,move:!1,restMs:S.type===void 0?l:void 0,delay:{close:u},triggerElementRef:x,externalTree:T,isActiveTrigger:_,isClosing:()=>h.select(`transitionStatus`)===`ending`}),R=vx(y,h.select(`lastOpenChangeReason`)),ne=Rm(v,{enabled:!k,event:y&&O?`click`:`mousedown`,toggle:!0,ignoreMouse:!1,stickIfOpen:S.type===void 0&&R}),z=Dh(v,{enabled:!k&&I}),re=gx({open:y,enabled:O,mouseDownAction:`open`}),ie=N.useMemo(()=>Je(z.reference,ne.reference),[z.reference,ne.reference]),ae=h.useState(`triggerProps`,D),oe=h.useState(`filterTriggerProps`),{handlePreFocusGuardFocus:se,handleFocusTargetFocus:B}=hx(h,x),V={disabled:k,open:y},ce=[M,t,j,E,x],le=[ie,L??Se,ae,{"aria-haspopup":`menu`,"aria-controls":b,id:g,onMouseDown:e=>{h.select(`open`)||(te.start(200,()=>{h.context.allowMouseUpTriggerRef.current=!0}),pn(e.currentTarget).addEventListener(`mouseup`,F,{once:!0}))}},oe,O?{role:`menuitem`}:{},re,p,A],ue=st(`button`,e,{enabled:!O,stateAttributesMapping:qf,state:V,ref:ce,props:le});return O?(0,P.jsx)(px,{tag:`button`,render:n,className:r,style:i,state:V,refs:ce,props:le,stateAttributesMapping:qf}):y?(0,P.jsxs)(N.Fragment,{children:[(0,P.jsx)(mp,{ref:h.context.beforeTriggerFocusGuardRef,onFocus:se},`${g}-pre-focus-guard`),(0,P.jsx)(N.Fragment,{children:ue},g),(0,P.jsx)(mp,{ref:h.context.triggerFocusTargetRef,onFocus:B},`${g}-post-focus-guard`)]}):(0,P.jsx)(N.Fragment,{children:ue},g)});function vx(e,t){let n=bn(),[r,i]=N.useState(!1);return W(()=>{e&&t===`trigger-hover`?(i(!0),n.start(500,()=>{i(!1)})):e||(n.clear(),i(!1))},[e,t,n]),r}function yx(){let e=Yb(!0);return N.useMemo(()=>e?{type:`menubar`,context:e}:{type:void 0},[e])}function bx(e){return Array.isArray(e)?e.map(e=>bx(e)).join(`,`):e==null?``:String(e)}function xx(e){if(e==null)return``;if(typeof e==`string`)return e;try{return JSON.stringify(e)}catch{return String(e)}}function Sx(e){return typeof e==`object`&&!!e&&Array.isArray(e.items)}function Cx(e){return Sx(e?.[0])}function wx(e){return Cx(e)?e.flatMap(e=>e.items):e}function Tx(e){if(!Array.isArray(e))return e!=null&&`null`in e;let t=e;if(Cx(t)){for(let e of t)for(let t of e.items)if(t&&t.value==null&&t.label!=null)return!0;return!1}for(let e of t)if(e&&e.value==null&&e.label!=null)return!0;return!1}function Ex(e,t){if(t&&e!=null)return t(e)??``;if(e&&typeof e==`object`){if(`label`in e&&e.label!=null)return String(e.label);if(`value`in e)return String(e.value)}return xx(e)}function Dx(e,t){return t&&e!=null?t(e)??``:e&&typeof e==`object`&&`value`in e&&`label`in e?xx(e.value):xx(e)}function Ox(e,t,n){function r(){return Ex(e,n)}if(n&&e!=null)return n(e);if(e&&typeof e==`object`&&`label`in e&&e.label!=null)return e.label;if(t&&!Array.isArray(t))return(Object.hasOwn(t,e)?t[e]:void 0)??r();if(Array.isArray(t)){let n=wx(t);if(typeof e!=`object`||!e){let t=n.find(t=>t.value===e);return t&&t.label!=null?t.label:r()}if(`value`in e){let t=n.find(t=>t&&t.value===e.value);if(t&&t.label!=null)return t.label}}return r()}function kx(e,t,n){return e.reduce((e,r,i)=>(i>0&&e.push(`, `),e.push((0,P.jsx)(N.Fragment,{children:Ox(r,t,n)},i)),e),[])}function Ax(e){let t=N.useRef(!0);t.current&&(t.current=!1,e())}function jx(e,t,n=Object.is){let{length:r}=e;if(r!==t.length)return!1;for(let i=0;i<r;i+=1)if(!n(e[i],t[i]))return!1;return!0}var Mx=(e,t)=>Object.is(e,t);function Nx(e,t,n){return e==null||t==null?Object.is(e,t):n(e,t)}function Px(e,t,n){return Array.isArray(e)&&Array.isArray(t)?!jx(e,t,(e,t)=>Nx(e,t,n)):e!==t}function Fx(e,t,n){return e?e.some(e=>e!==void 0&&Nx(t,e,n)):!1}function Ix(e,t,n){return e?e.findIndex(e=>e!==void 0&&Nx(e,t,n)):-1}function Lx(e,t){if(t!==Mx)return n=>Fx(e,n,t);let n=new Set(e);return n.delete(void 0),t=>n.has(t)&&(t!==0||e.some(e=>Object.is(t,e)))}function Rx(e,t,n,r){let i=r&&Array.isArray(t)?e.findIndex(Lx(t,n)):Ix(e,t,n);return i===-1?null:i}function zx(e,t,n,r,i,a){return Fx(r,t,i)?a!=null&&e>a&&Fx(r,n[a],i)?a:e:e===a?Rx(n,r,i,!0):a}function Bx(e,t,n){return e.filter(e=>!Nx(t,e,n))}var Vx=N.createContext(void 0);function Hx(e){let t=N.useContext(Vx);if(!e&&t===void 0)throw Error(Ne(27));return t}var Ux=N.forwardRef(function(e,t){let{render:n,className:r,style:i,forceRender:a=!1,...o}=e,s=Hx(),c=s.useState(`open`),l=s.useState(`nested`),u=s.useState(`mounted`);return st(`div`,e,{state:{open:c,transitionStatus:s.useState(`transitionStatus`)},ref:[s.context.backdropRef,t],stateAttributesMapping:Yf,props:[{role:`presentation`,hidden:!u,style:{userSelect:`none`,WebkitUserSelect:`none`}},o],enabled:a||!l})}),Wx=N.forwardRef(function(e,t){let{render:n,className:r,style:i,disabled:a=!1,nativeButton:o=!0,...s}=e,c=Hx(),l=c.useState(`open`),{getButtonProps:u,buttonRef:d}=hn({disabled:a,native:o}),f={disabled:a};function p(e){l&&c.setOpen(!1,bt(Ot,e.nativeEvent))}return st(`button`,e,{state:f,ref:[t,d],props:[{onClick:p},s,u]})}),Gx=N.createContext(void 0);function Kx(){let e=N.useContext(Gx);if(e===void 0)throw Error(Ne(26));return e}var qx=`--nested-dialogs`,Jx=`data-nested-dialog-open`,Yx={...Jf,...ln,nestedDialogOpen(e){return e?{[Jx]:``}:null}},Xx=N.forwardRef(function(e,t){let{render:n,className:r,style:i,finalFocus:a,initialFocus:o,...s}=e,c=Hx(),l=c.useState(`descriptionElementId`),u=c.useState(`disablePointerDismissal`),d=c.useState(`floatingRootContext`),f=c.useState(`popupProps`),p=c.useState(`modal`),m=c.useState(`mounted`),h=c.useState(`nested`),g=c.useState(`nestedOpenDialogCount`),_=c.useState(`open`),v=c.useState(`openMethod`),y=c.useState(`titleElementId`),b=c.useState(`transitionStatus`),x=c.useState(`role`),S=d.useState(`floatingId`);Kx(),kn({open:_,ref:c.context.popupRef,onComplete(){_&&c.context.onOpenChangeComplete?.(!0)}});let C=o===void 0?Km(c.context.popupRef):o,w=g>0,T=c.useStateSetter(`popupElement`),E=st(`div`,e,{state:{open:_,nested:h,transitionStatus:b,nestedDialogOpen:w},props:[f,{id:S,"aria-labelledby":y,"aria-describedby":l,role:x,...Gm,hidden:!m,onKeyDown(e){pb.has(e.key)&&e.stopPropagation()},style:{[qx]:g}},s],ref:[t,c.context.popupRef,T],stateAttributesMapping:Yx});return(0,P.jsx)(Lm,{context:d,openInteractionType:v,disabled:!m,closeOnFocusOut:!u,initialFocus:C,returnFocus:a,modal:p!==!1,restoreFocus:`popup`,children:E})}),Zx=N.forwardRef(function(e,t){let{keepMounted:n=!1,...r}=e,i=Hx(),a=i.useState(`mounted`),o=i.useState(`modal`),s=i.useState(`open`);return a||n?(0,P.jsx)(Gx.Provider,{value:n,children:(0,P.jsxs)(ym,{ref:t,...r,children:[a&&o===!0&&(0,P.jsx)(Mb,{ref:i.context.internalBackdropRef,inert:Dg(!s)}),e.children]})}):null});function Qx({store:e,parentContext:t,isDrawer:n}){let r=e.useState(`open`),i=e.useState(`mounted`),a=e.useState(`disablePointerDismissal`),o=e.useState(`modal`),s=e.useState(`popupElement`),c=e.useState(`floatingRootContext`),[l,u]=N.useState(0),[d,f]=N.useState(0),p=l===0,m=Vm(c,{outsidePressEvent(){return e.context.internalBackdropRef.current||e.context.backdropRef.current?`intentional`:{mouse:o===`trap-focus`?`sloppy`:`intentional`,touch:`sloppy`}},outsidePress(t){if(!e.context.outsidePressEnabledRef.current||`button`in t&&t.button!==0)return!1;if(`touches`in t){if(t.type===`touchend`){if(t.changedTouches.length!==1||t.touches.length!==0)return!1}else if(t.touches.length!==1)return!1}let n=kf(t);if(p&&!a){if(o){let t=e.context.internalBackdropRef.current,r=e.context.backdropRef.current;return t||r?t===n||r===n||Q(n,s)&&!n?.hasAttribute(`data-base-ui-portal`):!0}return!0}return!1},escapeKey:p});return Wb(r&&o===!0,s),e.useContextCallback(`onNestedDialogOpen`,(t,n)=>{(e.select(`open`)||e.select(`mounted`))&&(u(t),f(n))}),W(()=>{!r&&!i&&(u(0),f(0))},[r,i]),W(()=>(t?.onNestedDialogOpen&&r&&t.onNestedDialogOpen(l+1,d+ +!!n),()=>{t?.onNestedDialogOpen&&r&&t.onNestedDialogOpen(0,0)}),[n,r,l,d,t]),rh(e,{activeTriggerProps:m.reference,inactiveTriggerProps:m.trigger,popupProps:m.floating,nestedOpenDialogCount:l,nestedOpenDrawerCount:d}),null}var $x={...Ch,modal:e=>e.modal,nested:e=>e.nested,nestedOpenDialogCount:e=>e.nestedOpenDialogCount,nestedOpenDrawerCount:e=>e.nestedOpenDrawerCount,disablePointerDismissal:e=>e.disablePointerDismissal,openMethod:e=>e.openMethod,descriptionElementId:e=>e.descriptionElementId,titleElementId:e=>e.titleElementId,viewportElement:e=>e.viewportElement,role:e=>e.role},eS=class extends mh{constructor(e,t,n){let r=new ah,i=tS(e,r,t,n);super(i,nS(r),$x)}setOpen=(e,t)=>{t.preventUnmountOnClose=()=>{this.set(`preventUnmountingOnClose`,!0)},!e&&t.trigger==null&&this.state.activeTriggerId!=null&&(t.trigger=this.state.activeTriggerElement??void 0),this.context.onOpenChange?.(e,t),!t.isCanceled&&(this.state.floatingRootContext.dispatchOpenChange(e,t),this.update(Zm(this.state,e,t.trigger)))}};function tS(e,t,n,r=!1){return{..._h(t,n,r),modal:!0,disablePointerDismissal:!1,viewportElement:null,descriptionElementId:void 0,titleElementId:void 0,openMethod:null,nested:!1,nestedOpenDialogCount:0,nestedOpenDrawerCount:0,role:`dialog`,...e}}function nS(e){return{popupRef:N.createRef(),backdropRef:N.createRef(),internalBackdropRef:N.createRef(),outsidePressEnabledRef:{current:!0},triggerElements:e,onOpenChange:void 0,onOpenChangeComplete:void 0}}function rS(e,t){let{children:n,open:r,defaultOpen:i=!1,onOpenChange:a,onOpenChangeComplete:o,disablePointerDismissal:s=!1,modal:c=!0,actionsRef:l,handle:u,triggerId:d,defaultTriggerId:f=null}=t,p=e===`drawer`,m=e===`alert-dialog`,h=m?!0:c,g=m||s,_=m?`alertdialog`:`dialog`,v=Hx(!0),y={modal:h,disablePointerDismissal:g,nested:v!=null,role:_},b=qm((e,t)=>new eS({open:i,openProp:r,activeTriggerId:f,triggerIdProp:d,...y},e,t),!0);b.useControlledProp(`openProp`,r),b.useControlledProp(`triggerIdProp`,d),b.useSyncedValues(y),b.useContextCallback(`onOpenChange`,a),b.useContextCallback(`onOpenChangeComplete`,o);let x=b.useState(`open`),S=b.useState(`mounted`),C=b.useState(`payload`);ih(b,x),th(b);let{forceUnmount:w}=nh(x,b);N.useImperativeHandle(l,()=>({unmount:w,close:()=>b.setOpen(!1,bt(Yt))}),[w,b]);let T=x||S||u!=null;return(0,P.jsxs)(Vx.Provider,{value:b,children:[u&&(0,P.jsx)(Jm,{handle:u,store:b}),T&&(0,P.jsx)(Qx,{store:b,parentContext:v?.context,isDrawer:p}),typeof n==`function`?n({payload:C}):n]})}var iS=nf(function(e){return rS(`dialog`,e)}),aS=N.forwardRef(function(e,t){let{render:n,className:r,style:i,id:a,...o}=e,s=Hx(),c=yt(a);return s.useSyncedValueWithCleanup(`titleElementId`,c),st(`h2`,e,{ref:t,props:[{id:c},o]})}),oS=(0,N.createContext)({});function sS(e){let t=(0,N.useRef)(null);return t.current===null&&(t.current=e()),t.current}var cS=typeof window<`u`?N.useLayoutEffect:N.useEffect,lS=(0,N.createContext)(null),uS=(0,N.createContext)({transformPagePoint:e=>e,isStatic:!1,reducedMotion:`never`});function dS(e,t){if(typeof e==`function`)return e(t);e!=null&&(e.current=t)}function fS(...e){return t=>{let n=!1,r=e.map(e=>{let r=dS(e,t);return!n&&typeof r==`function`&&(n=!0),r});if(n)return()=>{for(let t=0;t<r.length;t++){let n=r[t];typeof n==`function`?n():dS(e[t],null)}}}}function pS(...e){return N.useCallback(fS(...e),e)}var mS=class extends N.Component{getSnapshotBeforeUpdate(e){let t=this.props.childRef.current;if(Fy(t)&&e.isPresent&&!this.props.isPresent&&this.props.pop!==!1){let e=t.offsetParent,n=Fy(e)&&e.offsetWidth||0,r=Fy(e)&&e.offsetHeight||0,i=getComputedStyle(t),a=this.props.sizeRef.current;a.height=parseFloat(i.height),a.width=parseFloat(i.width),a.top=t.offsetTop,a.left=t.offsetLeft,a.right=n-a.width-a.left,a.bottom=r-a.height-a.top,a.direction=i.direction}return null}componentDidUpdate(){}render(){return this.props.children}};function hS({children:e,isPresent:t,anchorX:n,anchorY:r,root:i,pop:a}){let o=(0,N.useId)(),s=(0,N.useRef)(null),c=(0,N.useRef)({width:0,height:0,top:0,left:0,right:0,bottom:0,direction:`ltr`}),{nonce:l}=(0,N.useContext)(uS),u=pS(s,a===!1?void 0:e.props?.ref??e?.ref);return(0,N.useInsertionEffect)(()=>{let{width:e,height:u,top:d,left:f,right:p,bottom:m,direction:h}=c.current;if(t||a===!1||!s.current||!e||!u)return;let g=h===`rtl`,_=n===`left`?g?`right: ${p}`:`left: ${f}`:g?`left: ${f}`:`right: ${p}`,v=r===`bottom`?`bottom: ${m}`:`top: ${d}`,y=s.current;y.dataset.motionPopId=o;let b=y.ownerDocument,x=b.createElement(`style`);l&&(x.nonce=l);let S=i??b.head;return S.appendChild(x),x.sheet&&x.sheet.insertRule(`
|
|
51
|
+
[data-motion-pop-id="${o}"] {
|
|
52
|
+
position: absolute !important;
|
|
53
|
+
width: ${e}px !important;
|
|
54
|
+
height: ${u}px !important;
|
|
55
|
+
${_}px !important;
|
|
56
|
+
${v}px !important;
|
|
57
|
+
}
|
|
58
|
+
`),()=>{s.current?.removeAttribute(`data-motion-pop-id`),S.contains(x)&&S.removeChild(x)}},[t]),(0,P.jsx)(mS,{isPresent:t,childRef:s,sizeRef:c,pop:a,children:a===!1?e:N.cloneElement(e,{ref:u})})}var gS=({children:e,initial:t,isPresent:n,onExitComplete:r,custom:i,presenceAffectsLayout:a,mode:o,anchorX:s,anchorY:c,root:l})=>{let u=sS(_S),d=(0,N.useId)(),f=(0,N.useRef)(n),p=(0,N.useRef)(r);cS(()=>{f.current=n,p.current=r});let m=!0,h=(0,N.useMemo)(()=>(m=!1,{id:d,initial:t,isPresent:n,custom:i,onExitComplete:e=>{u.set(e,!0);for(let e of u.values())if(!e)return;r&&r()},register:e=>(u.set(e,!1),()=>{u.delete(e),!f.current&&!u.size&&p.current?.()})}),[n,u,r]);return a&&m&&(h={...h}),(0,N.useMemo)(()=>{u.forEach((e,t)=>u.set(t,!1))},[n]),N.useEffect(()=>{!n&&!u.size&&r&&r()},[n]),e=(0,P.jsx)(hS,{pop:o===`popLayout`,isPresent:n,anchorX:s,anchorY:c,root:l,children:e}),(0,P.jsx)(lS.Provider,{value:h,children:e})};function _S(){return new Map}function vS(e=!0){let t=(0,N.useContext)(lS);if(t===null)return[!0,null];let{isPresent:n,onExitComplete:r,register:i}=t,a=(0,N.useId)();(0,N.useEffect)(()=>{if(e)return i(a)},[e]);let o=(0,N.useCallback)(()=>e&&r&&r(a),[a,r,e]);return!n&&r?[!1,o]:[!0]}var yS=e=>e.key||``;function bS(e){let t=[];return N.Children.forEach(e,e=>{(0,N.isValidElement)(e)&&t.push(e)}),t}var xS=({children:e,custom:t,initial:n=!0,onExitComplete:r,presenceAffectsLayout:i=!0,mode:a=`sync`,propagate:o=!1,anchorX:s=`left`,anchorY:c=`top`,root:l})=>{let[u,d]=vS(o),f=(0,N.useMemo)(()=>bS(e),[e]),p=o&&!u?[]:f.map(yS),m=(0,N.useRef)(!0),h=sS(()=>new Map),g=(0,N.useRef)(new Set),[_,v]=(0,N.useState)(f),[y,b]=(0,N.useState)(f);cS(()=>{o&&!u&&!y.length&&d?.()},[u,o,y.length,d]),cS(()=>{m.current=!1;for(let e=0;e<y.length;e++){let t=yS(y[e]);p.includes(t)?(h.delete(t),g.current.delete(t)):h.get(t)!==!0&&h.set(t,!1)}},[y,p.length,p.join(`-`)]);let x=[];if(f!==_){let e=[...f],t=0;for(let n of y){let r=p.indexOf(yS(n));r===-1?(e.splice(t++,0,n),x.push(n)):t=r+x.length+1}return x.every(e=>h.get(yS(e)))?e=f:a===`wait`&&(e=x),b(bS(e)),v(f),null}let{forceRender:S}=(0,N.useContext)(oS);return(0,P.jsx)(P.Fragment,{children:y.map(e=>{let _=yS(e),b=o&&!u?!1:f===y||p.includes(_);return(0,P.jsx)(gS,{isPresent:b,initial:!m.current||n?void 0:!1,custom:t,presenceAffectsLayout:i,mode:a,root:l,onExitComplete:b?void 0:()=>{if(g.current.has(_))return;if(h.has(_))g.current.add(_),h.set(_,!0);else return;let e=!0;h.forEach(t=>{t||(e=!1)}),e&&(S?.(),v([]),o&&d?.(),r&&r())},anchorX:s,anchorY:c,children:e},_)})})},SS=N.createContext(void 0);function CS(e){let t=N.useContext(SS);if(t===void 0&&!e)throw Error(Ne(47));return t}var wS={...Ch,disabled:e=>e.disabled,instantType:e=>e.instantType===`trigger-change`&&!Ch.open(e)?void 0:e.instantType,openMethod:e=>e.openMethod,openChangeReason:e=>e.openChangeReason,isPressOpenedByTrigger:(e,t)=>e.openChangeReason===`trigger-press`&&Ch.isOpenedByTrigger(e,t),isTouchPressOpen:(e,t)=>t&&e.openMethod===`touch`&&e.openChangeReason===`trigger-press`,hasTriggerFocusGuards:(e,t)=>Ch.isOpenedByTrigger(e,t)&&!e.focusManagerModal,modal:e=>e.modal,titleElementId:e=>e.titleElementId,descriptionElementId:e=>e.descriptionElementId,openOnHover:e=>e.openOnHover,closeDelay:e=>e.closeDelay,adaptiveOrigin:e=>e.adaptiveOrigin},TS=class extends mh{constructor(e,t,n){let r=new ah;super(DS(e,r,t,n),OS(r),wS)}setOpen=(e,t)=>{let n=t.reason===wt,r=t.reason===`trigger-press`&&t.event.detail===0,i=!e&&(t.reason===`escape-key`||t.reason==null),a=Qm(t),o=this.select(`activeTriggerId`);if(!e&&t.reason===`close-press`&&t.trigger==null&&o!=null&&(t.trigger=this.context.triggerElements.getById(o)??this.select(`activeTriggerElement`)??void 0),this.context.onOpenChange?.(e,t),t.isCanceled)return;this.state.floatingRootContext.dispatchOpenChange(e,t);let s=()=>{let n=Zm(this.state,e,t.trigger,a());n.openChangeReason=t.reason,this.update(n)};n?(this.context.stickIfOpen=!0,this.context.stickIfOpenTimeout.start(500,()=>{this.context.stickIfOpen=!1}),Cn.flushSync(s)):s();let c;r?c=`click`:i?c=`dismiss`:t.reason===`focus-out`&&(c=`focus`),this.set(`instantType`,c)}};function ES(){let e=new ah,t=new Qh(Object.freeze(DS(void 0,e)),Object.freeze(OS(e)),wS);return Object.assign(t,{setOpen:be})}function DS(e,t,n,r=!1){let i={..._h(t,n,r),disabled:!1,modal:!1,focusManagerModal:!1,instantType:void 0,openMethod:null,openChangeReason:null,titleElementId:void 0,descriptionElementId:void 0,openOnHover:!1,closeDelay:0,adaptiveOrigin:void 0,...e};return i.open&&e?.mounted===void 0&&(i.mounted=!0),i}function OS(e){return{popupRef:N.createRef(),onOpenChange:void 0,onOpenChangeComplete:void 0,triggerFocusTargetRef:N.createRef(),beforeTriggerFocusGuardRef:N.createRef(),beforeContentFocusGuardRef:N.createRef(),stickIfOpenTimeout:new yn,stickIfOpen:!0,triggerElements:e}}var kS=nf(function({props:e}){let{children:t,open:n,defaultOpen:r=!1,onOpenChange:i,onOpenChangeComplete:a,modal:o=!1,handle:s,triggerId:c,defaultTriggerId:l=null}=e,u=jS(s,{modal:o,open:r,openProp:n,activeTriggerId:l,triggerIdProp:c});u.useControlledProp(`openProp`,n),u.useControlledProp(`triggerIdProp`,c);let d=u.useState(`open`),f=u.useState(`mounted`),p=u.useState(`payload`);u.useContextCallback(`onOpenChange`,i),u.useContextCallback(`onOpenChangeComplete`,a),ih(u,d),th(u);let{forceUnmount:m}=nh(d,u,()=>{u.context.stickIfOpen=!0,u.set(`openChangeReason`,null)});u.useSyncedValues({modal:o}),N.useEffect(()=>{d||u.context.stickIfOpenTimeout.clear()},[u,d]),N.useImperativeHandle(e.actionsRef,()=>({unmount:m,close:()=>u.setOpen(!1,bt(Yt))}),[m,u]);let h=d||f||s!=null;return(0,P.jsxs)(SS.Provider,{value:u,children:[s&&(0,P.jsx)(Jm,{handle:s,store:u}),h&&(0,P.jsx)(MS,{store:u,modal:o}),typeof t==`function`?t({payload:p}):t]})});function AS(e){return CS(!0)?(0,P.jsx)(kS,{props:e}):(0,P.jsx)(Om,{children:(0,P.jsx)(kS,{props:e})})}function jS(e,t){let n=qm((e,n)=>new TS(t,e,n));return N.useEffect(()=>n.context.stickIfOpenTimeout.disposeEffect(),[n]),n}function MS({store:e,modal:t}){let n=Vm(e.useState(`floatingRootContext`),{outsidePressEvent:{mouse:t===`trap-focus`?`sloppy`:`intentional`,touch:`sloppy`}}),r=n.reference,i=n.floating;return rh(e,{activeTriggerProps:r,inactiveTriggerProps:r,popupProps:i}),null}var NS=rf(function(e,t){let{render:n,className:r,style:i,disabled:a=!1,nativeButton:o=!0,handle:s,payload:c,openOnHover:l=!1,delay:u=300,closeDelay:d=0,id:f,...p}=e,m=CS(!0),h=wh(s)??m;if(!h)throw Error(Ne(74));let g=yt(f),_=h.useState(`isTriggerActive`,g),v=h.useState(`floatingRootContext`),y=h.useState(`isOpenedByTrigger`,g),b=h.useState(`triggerPopupId`,g),x=N.useRef(null),{registerTrigger:S,isMountedByThisTrigger:C}=eh(g,x,h,{payload:c,disabled:a,openOnHover:l,closeDelay:d}),w=h.useState(`isPressOpenedByTrigger`,g),T=h.useState(`isTouchPressOpen`,l),E=h.useState(`hasTriggerFocusGuards`,g),D=Fh(v,{enabled:!a&&l&&!T,mouseOnly:!0,move:!1,handleClose:Zh(),restMs:u,delay:{close:d},triggerElementRef:x,isActiveTrigger:_,isClosing:()=>h.select(`transitionStatus`)===`ending`}),O=Rm(v,{stickIfOpen:U(()=>h.context.stickIfOpen)}),ee=Zb(()=>h.select(`open`),e=>{h.set(`openMethod`,e)}),k=h.useState(`triggerProps`,C),{getButtonProps:A,buttonRef:j}=hn({disabled:a,native:o}),M={open(e){return w?qf.open(e):Kf.open(e)}},{handlePreFocusGuardFocus:te,handleFocusTargetFocus:F}=hx(h,x),I=st(`button`,e,{state:{disabled:a,open:y},ref:[j,t,S,x],props:[O.reference,D,k,ee,{[dm]:``,id:g,"aria-haspopup":`dialog`,"aria-expanded":y,"aria-controls":b},p,A],stateAttributesMapping:M}),L=(0,P.jsx)(N.Fragment,{children:I},g);return E?(0,P.jsxs)(N.Fragment,{children:[(0,P.jsx)(mp,{ref:h.context.beforeTriggerFocusGuardRef,onFocus:te}),L,(0,P.jsx)(mp,{ref:h.context.triggerFocusTargetRef,onFocus:F})]}):L}),PS=N.createContext(void 0);function FS(){let e=N.useContext(PS);if(e===void 0)throw Error(Ne(45));return e}var IS=N.forwardRef(function(e,t){let{keepMounted:n=!1,...r}=e;return CS().useState(`mounted`)||n?(0,P.jsx)(PS.Provider,{value:n,children:(0,P.jsx)(ym,{ref:t,...r})}):null}),LS=N.createContext(void 0);function RS(){let e=N.useContext(LS);if(!e)throw Error(Ne(46));return e}var zS=N.forwardRef(function(e,t){let{render:n,className:r,style:i,anchor:a,positionMethod:o,side:s,align:c,sideOffset:l,alignOffset:u,collisionBoundary:d=`clipping-ancestors`,collisionPadding:f,arrowPadding:p,sticky:m,disableAnchorTracking:h=!1,collisionAvoidance:g=pm,..._}=e,v=CS(),y=FS(),b=Em(),x=v.useState(`floatingRootContext`),S=v.useState(`mounted`),C=v.useState(`open`),w=v.useState(`openChangeReason`),T=v.useState(`activeTriggerElement`),E=v.useState(`modal`),D=v.useState(`openMethod`),O=v.useState(`positionerElement`),ee=v.useState(`instantType`),k=v.useState(`transitionStatus`),A=Sg({anchor:a,floatingRootContext:x,positionMethod:o,mounted:S,side:s,sideOffset:l,align:c,alignOffset:u,arrowPadding:p,collisionBoundary:d,collisionPadding:f,sticky:m,disableAnchorTracking:h,keepMounted:y,nodeId:b,collisionAvoidance:g,adaptiveOrigin:v.useState(`adaptiveOrigin`)});Nb({store:v,domReference:x.useState(`domReferenceElement`),positionerElement:O,open:C});let j=E===!0&&w!==`trigger-hover`;Kb(C&&j,D===`touch`,O,T);let M=v.useStateSetter(`positionerElement`),N=Eg(e,{open:C,side:A.side,align:A.align,anchorHidden:A.anchorHidden,instant:ee},{styles:A.positionerStyles,transitionStatus:k,props:_,refs:[t,M],hidden:!S,inert:!C});return(0,P.jsxs)(LS.Provider,{value:A,children:[S&&j&&(0,P.jsx)(Mb,{inert:Dg(!C),cutout:T}),(0,P.jsx)(Dm,{id:b,children:N})]})}),BS=N.createContext(void 0);function VS(){let[e,t]=N.useState(0),n=U(()=>(t(e=>e+1),()=>{t(e=>Math.max(0,e-1))}));return{context:N.useMemo(()=>({register:n}),[n]),hasClosePart:e>0}}var HS=N.forwardRef(function(e,t){let{render:n,className:r,style:i,initialFocus:a,finalFocus:o,...s}=e,c=CS(),l=RS(),u=ab(!0)!=null,{context:d,hasClosePart:f}=VS(),p=c.useState(`open`),m=c.useState(`openMethod`),h=c.useState(`instantType`),g=c.useState(`transitionStatus`),_=c.useState(`popupProps`),v=c.useState(`titleElementId`),y=c.useState(`descriptionElementId`),x=c.useState(`modal`),S=c.useState(`mounted`),C=c.useState(`openChangeReason`),w=c.useState(`activeTriggerElement`),T=c.useState(`floatingRootContext`),E=T.useState(`floatingId`),D=c.useState(`disabled`),O=c.useState(`openOnHover`),ee=c.useState(`closeDelay`);kn({open:p,ref:c.context.popupRef,onComplete(){p&&c.context.onOpenChangeComplete?.(!0)}}),Nh(T,{enabled:O&&!D,closeDelay:ee});let k=a===void 0?Km(c.context.popupRef):a,A=x!==!1&&f;c.useSyncedValue(`focusManagerModal`,A);let j=c.useStateSetter(`popupElement`),M=st(`div`,e,{state:{open:p,side:l.side,align:l.align,instant:h,transitionStatus:g},ref:[t,c.context.popupRef,j],props:[_,{id:E,role:`dialog`,...Gm,"aria-labelledby":v,"aria-describedby":y,onKeyDown(e){u&&pb.has(e.key)&&e.stopPropagation()}},Tg(g),s],stateAttributesMapping:Yf});return(0,P.jsx)(Lm,{context:T,openInteractionType:m,modal:A,disabled:!S||C===`trigger-hover`,initialFocus:k,returnFocus:o,restoreFocus:`popup`,getInsideElements:()=>[c.context.beforeTriggerFocusGuardRef.current],previousFocusableElement:b(w)?w:void 0,nextFocusableElement:c.context.triggerFocusTargetRef,beforeContentFocusGuardRef:c.context.beforeContentFocusGuardRef,children:(0,P.jsx)(BS.Provider,{value:d,children:M})})}),US=(e,t)=>()=>{},WS=[.32,.72,0,1],GS={animate:{opacity:1,scale:1},exit:{opacity:0,scale:.98,transition:{duration:.12,ease:[.4,0,1,1]}},initial:{opacity:0,scale:.97},transition:{duration:.22,ease:WS}},KS={duration:.18,ease:WS},qS=(0,N.createContext)(null),JS=()=>(0,N.use)(qS),YS=qS.Provider,XS=re({block:`modal`,dataAttributes:[`draggable`,`fullscreen`],elements:[`trigger`,`backdrop`,`viewport`,`wrapper`,`header`,`title`,`description`,`header-actions`,`fullscreen-toggle`,`close`,`content`,`loading`,`footer`]}),ZS={backdrop:{kpwlN0:`lb10a8y8t`,kmkexE:`lb11o4mfb`,kWkggS:`lb2643`,kSiTet:`lb1i2unn7`,kVAEAm:`lbixxii4`,kY2c9j:`lb1i7x82i`,$$css:!0},close:{k87sOh:`lbfr5jun`,kt4wiu:`lb9q68il`,kVAEAm:`lb10l6tqk`,$$css:!0},closeInline:{kVAM5u:`lb181nr7w`,kaIpWk:`lb4pepcl`,ksu8eU:`lbng3xce`,kMzoRj:`lbfn42iu`,kWkggS:`lbjbqb8w lb1ri6zej`,kMwMTN:`lb53gy9q lb1bxu9lh`,kmkexE:`lbxgdrqz`,kkrTdU:`lb1ypdohk`,k3aq6I:`lbcum6zn`,k1xSpc:`lb78zum5`,kGNEyG:`lb6s0dn4`,kjj79g:`lbl56j7k`,kZKoxP:`lb10w6t97`,kmVPX3:`lb1717udv`,kzqmXN:`lb1td3qas`,$$css:!0},content:{kg3NbH:`lb1hr3lfm`,kGO01o:`lb1l90r2v`,kLKAdn:`lbexx8yu`,kXHlph:`lb6ikm8r`,kORKVm:`lb1odjw0f`,$$css:!0},contentNoHeader:{kLKAdn:`lbyamay9`,$$css:!0},denyAnimation:{k44tkh:`lbb8lv0f`,kKVMdj:`lbe2vv0f`,kyAemX:`lb1bx5ho5`,$$css:!0},footer:{kOIVth:`lb167g77z`,k8WAf4:`lb10dr8xq`,kg3NbH:`lb1hr3lfm`,kGNEyG:`lb6s0dn4`,k1xSpc:`lb78zum5`,kjj79g:`lb13a6bvl`,$$css:!0},fullscreenPopupInner:{kZKoxP:`lb1mkwkuc`,kskxy:`lb1bsd8ea`,ks0D6T:`lbc408io`,kzqmXN:`lb1ng3b2o`,$$css:!0},fullscreenToggle:{kVAM5u:`lb181nr7w`,kaIpWk:`lb4pepcl`,ksu8eU:`lbng3xce`,kMzoRj:`lbfn42iu`,kWkggS:`lbjbqb8w lb1ri6zej`,kMwMTN:`lb53gy9q lb1bxu9lh`,kmkexE:`lbxgdrqz`,kkrTdU:`lb1ypdohk`,k3aq6I:`lbcum6zn`,k1xSpc:`lb78zum5`,kGNEyG:`lb6s0dn4`,kjj79g:`lbl56j7k`,kZKoxP:`lb1fgtraw`,kmVPX3:`lb1717udv`,kzqmXN:`lbgd8bvy`,$$css:!0},header:{k8WAf4:`lb1vvogim`,kg3NbH:`lb1hr3lfm`,kGNEyG:`lb6s0dn4`,k1xSpc:`lb78zum5`,kjj79g:`lb1qughib`,kAzted:`lb1wxaq2x`,$$css:!0},headerActions:{kOIVth:`lb1jnr06f`,kGNEyG:`lb6s0dn4`,k1xSpc:`lb78zum5`,k71WvV:`lb1lxpwgx`,$$css:!0},headerDraggable:{kkrTdU:`lbt0e3qv`,kfSwDN:`lb87ps6o`,$$css:!0},loading:{k8WAf4:`lbd11lqx`,kg3NbH:`lbnjsko4`,k1xSpc:`lb78zum5`,kjj79g:`lbl56j7k`,$$css:!0},loadingSpinner:{kVAM5u:`lb181nr7w`,kaIpWk:`lb16rqkct`,ksu8eU:`lb1y0btm7`,kMzoRj:`lbdh2fpr`,k44tkh:`lbdz8niu`,ko0y90:`lba4qsjk`,kKVMdj:`lb1v0ides`,kyAemX:`lb1esw782`,kLZC3w:`lb1v8p93f`,k1xSpc:`lb1rg5ohu`,kZKoxP:`lb1v9usgg`,kzqmXN:`lb6jxa94`,$$css:!0},loadingSpinnerLarge:{kZKoxP:`lbxk0z11`,kzqmXN:`lbvy4d1p`,$$css:!0},popup:{kpwlN0:`lb10a8y8t`,kGNEyG:`lb6s0dn4`,k1xSpc:`lb78zum5`,kjj79g:`lbl56j7k`,kfzvcC:`lb47corl`,kVAEAm:`lbixxii4`,kY2c9j:`lb1mblwae`,$$css:!0},popupInner:{kaIpWk:`lb4pepcl`,kVQacm:`lbb3r6kr`,kWkggS:`lb1w937bt`,kGVxlE:`lb4hq661`,kB7OPa:`lb9f619`,k1xSpc:`lb78zum5`,kXwgrk:`lbdt5ytf`,kSiTet:`lb1i2unn7`,kfzvcC:`lb67bb7w`,kVAEAm:`lb1n2onr6`,k3aq6I:`lbg71pz7 lb1htj8e4`,kIyJzY:`lb1ofcnca lb16bar5h`,k1ekBW:`lbwcsmn1`,kAMwcw:`lbmea1ks lb1gcu4m7`,kskxy:`lbw2jzks`,ks0D6T:`lb1lwm3bp`,kzqmXN:`lbkxa9zd`,$$css:!0},title:{kogj98:`lb1ghz6dp`,kMwMTN:`lb66ogz0`,kGuDYH:`lbif65rj`,k63SB2:`lb1s688f`,kLWn49:`lb37zpob`,$$css:!0},viewport:{kpwlN0:`lb10a8y8t`,kVQacm:`lbysyzu8`,kVAEAm:`lbixxii4`,kY2c9j:`lb1i7x82i`,$$css:!0}},QS=(e,t,n)=>{let r=se(ue(e).className,n);return typeof t==`function`?e=>se(r,t(e)):se(r,t)},$S=(0,N.createContext)(null),eC=(0,N.createContext)(null),tC=()=>(0,N.use)($S),nC=()=>(0,N.use)(eC),rC=({open:e,children:t,onExitComplete:n,zIndex:r,...i})=>{let[a,o]=(0,N.useState)(!!e);(0,N.useEffect)(()=>{e&&o(!0)},[e]);let s=(0,N.useCallback)(()=>{o(!1),n?.()},[n]),c=(0,N.useMemo)(()=>({onExitComplete:s}),[s]),{zIndex:l,ref:u}=By(`modal`,r),d=(0,N.useMemo)(()=>({popupRef:u,zIndex:l}),[l,u]);return a?(0,P.jsx)($S,{value:e,children:(0,P.jsx)(eC,{value:c,children:(0,P.jsx)(YS,{value:d,children:(0,P.jsx)(iS,{modal:!0,open:!0,...i,children:t})})})}):null},iC=({zIndex:e,children:t,...n})=>{let{zIndex:r,ref:i}=By(`modal`,e),a=(0,N.useMemo)(()=>({popupRef:i,zIndex:r}),[r,i]);return(0,P.jsx)(YS,{value:a,children:(0,P.jsx)(iS,{modal:!0,...n,children:t})})},aC=({open:e,onExitComplete:t,...n})=>e===void 0?(0,P.jsx)(iC,{...n}):(0,P.jsx)(rC,{open:e,onExitComplete:t,...n}),oC=({container:e,...t})=>{let n=L();return(0,P.jsx)(Zx,{container:e??n??void 0,...t})},sC=({className:e,style:t,...n})=>{let r=tC(),i=JS(),a=F(),o=i?.zIndex===void 0?void 0:{zIndex:i.zIndex};return r===null?(0,P.jsx)(Ux,{...n,style:{...o,...t},className:QS(ZS.backdrop,e,XS(`backdrop`))}):(0,P.jsx)(Ux,{...n,style:{...o,...t,transition:`none`},className:se(ue(ZS.backdrop).className,XS(`backdrop`),e),render:(0,P.jsx)(a.div,{animate:{opacity:+!!r},initial:{opacity:0},transition:KS})})},cC=({className:e,children:t,width:n,style:r,motionProps:i,panelClassName:a,panelData:o,panelXstyle:s,popupStyle:c,ref:l,xstyle:u,...d})=>{let f=tC(),p=nC(),m=JS(),h=F(),g=m?.zIndex===void 0?void 0:{zIndex:m.zIndex+1},_=Zd([l,m?.popupRef]);return f!==null&&p?(0,P.jsx)(Xx,{...d,ref:_,style:{...g,...c},className:se(ue(ZS.popup,u).className,XS(`wrapper`),e),children:(0,P.jsx)(xS,{onExitComplete:p.onExitComplete,children:f?(0,N.createElement)(h.div,{...GS,...i,key:`modal-popup-panel`,...o,style:{maxWidth:n??void 0,transition:`none`,...r},className:se(ue(ZS.popupInner,s).className,XS(),a)},t):null})}):(0,P.jsx)(Xx,{...d,ref:_,style:{...g,...c},className:QS([ZS.popup,u],e,XS(`wrapper`)),children:(0,P.jsx)(`div`,{...o,...H([ZS.popupInner,s],se(XS(),a),{maxWidth:n??void 0,...r}),children:t})})},lC=cC,uC=({className:e,style:t,xstyle:n,...r})=>(0,P.jsx)(`div`,{...r,...H([ZS.header,n],se(XS(`header`),e),t)}),dC=uC,fC=({className:e,xstyle:t,...n})=>(0,P.jsx)(aS,{...n,className:QS([ZS.title,t],e,XS(`title`))}),pC=({className:e,style:t,xstyle:n,...r})=>(0,P.jsx)(`div`,{...r,...H([ZS.content,n],se(XS(`content`),e),t)}),mC=({className:e,style:t,xstyle:n,...r})=>(0,P.jsx)(`div`,{...r,...H([ZS.footer,n],se(XS(`footer`),e),t)}),hC=({className:e,children:t,xstyle:n,...r})=>(0,P.jsx)(Wx,{...r,className:QS([ZS.closeInline,ZS.close,de.info,n],e,XS(`close`)),children:t??(0,P.jsx)(Nr,{size:16})}),gC=(0,N.createContext)({close:()=>void 0,setCanDismissByClickOutside:()=>void 0}),_C=()=>(0,N.use)(gC),vC=({children:e,root:t})=>{let n=L(),r=t??n??document.body;return(0,Cn.createPortal)(e,r)},yC=({config:e})=>{let{close:t}=_C(),[n,r]=(0,N.useState)(!1),{cancelText:i=`Cancel`,content:a,okButtonProps:o,okText:s=`OK`,onCancel:c,onOk:l}=e,u=(0,N.useCallback)(()=>{t(),c?.()},[t,c]),d=(0,N.useCallback)(async()=>{if(l)try{let e=l();e&&typeof e.then==`function`&&(r(!0),await e,r(!1))}catch{r(!1);return}t()},[t,l]);return(0,P.jsxs)(P.Fragment,{children:[a&&(0,P.jsx)(`div`,{style:{padding:`12px 16px`},children:a}),(0,P.jsxs)(mC,{children:[(0,P.jsx)(bi,{onClick:u,children:i}),(0,P.jsx)(bi,{loading:n,type:`primary`,...o,onClick:d,children:s})]})]})};yC.displayName=`ConfirmBody`;var bC=0;function xC(){let e=bC++,t=e===0?`BaseModalHost`:`BaseModalHost-${e}`,n=[],r=0,i=new Set,a=()=>i.forEach(e=>e()),o=e=>(i.add(e),()=>i.delete(e)),s=[],c=()=>n,l=()=>s,u=(e,t)=>{let r=!1;n=n.map(n=>n.id===e?(r=!0,{...n,props:{...n.props,...t}}):n),r&&a()},d=e=>{u(e,{open:!1})},f=e=>{let t=n.filter(t=>t.id!==e);t.length!==n.length&&(n=t,a())},p=(0,N.memo)(({entry:e})=>{let{id:t,props:n}=e,{children:r,classNames:i,content:a,footer:o,maskClosable:s,onOpenChange:c,onOpenChangeComplete:l,open:p,styles:m,title:h,width:g}=n,_=p??!0,v=(0,N.useCallback)((e,n)=>{(e||s!==!1||n?.reason!==`outside-press`)&&(e||d(t),c?.(e))},[t,s,c]),y=(0,N.useCallback)(()=>{l?.(!1),f(t)},[t,l]),b=(0,N.useCallback)(()=>d(t),[t]),x=(0,N.useCallback)(e=>u(t,{maskClosable:e}),[t]),S=h!==void 0&&h!==!1&&h!==null;return(0,P.jsx)(gC,{value:{close:b,setCanDismissByClickOutside:x},children:(0,P.jsx)(aC,{open:_,onExitComplete:y,onOpenChange:v,children:(0,P.jsxs)(oC,{children:[(0,P.jsx)(sC,{className:i?.backdrop,style:m?.backdrop}),(0,P.jsxs)(lC,{className:i?.popup,popupStyle:m?.popup,width:g,children:[S&&(0,P.jsxs)(dC,{className:i?.header,style:m?.header,children:[(0,P.jsx)(fC,{className:i?.title,style:m?.title,children:h}),(0,P.jsx)(hC,{className:i?.close,style:m?.close})]}),(0,P.jsx)(pC,{className:i?.content,style:m?.content,xstyle:!S&&ZS.contentNoHeader,children:a??r}),o]})]})})})});p.displayName=`ModalStackItem`;let m=(0,N.memo)(({stack:e})=>Og()?e.map(e=>(0,P.jsx)(p,{entry:e},e.id)):null);m.displayName=`ModalStackRenderer`;let h=({root:e})=>{let n=(0,N.useSyncExternalStore)(o,c,l),r=Og();return(0,N.useEffect)(()=>{if(!r)return;let n=e??document.body;return US(t,n)},[r,e]),!r||n.length===0?null:(0,P.jsx)(vC,{root:e,children:(0,P.jsx)(m,{stack:n})})},g=e=>{let t=`base-modal-${Date.now()}-${r++}`;return n=[...n,{id:t,props:{...e,open:e.open??!0}}],a(),{close:()=>d(t),destroy:()=>f(t),setCanDismissByClickOutside:e=>u(t,{maskClosable:e}),update:e=>u(t,e)}};return{ModalHost:h,confirmModal:e=>{let t=g({content:(0,P.jsx)(yC,{config:e}),styles:{content:{padding:0}},title:e.title,width:e.width??420});return{close:t.close,destroy:t.destroy}},createModal:g}}var SC=xC(),CC=SC.ModalHost,wC=SC.createModal;SC.confirmModal;var $=e=>typeof e==`string`,TC=()=>{let e,t,n=new Promise((n,r)=>{e=n,t=r});return n.resolve=e,n.reject=t,n},EC=e=>e==null?``:String(e),DC=(e,t,n)=>{e.forEach(e=>{t[e]&&(n[e]=t[e])})},OC=/###/g,kC=e=>e&&e.includes(`###`)?e.replace(OC,`.`):e,AC=e=>!e||$(e),jC=(e,t,n)=>{let r=$(t)?t.split(`.`):t,i=0;for(;i<r.length-1;){if(AC(e))return{};let t=kC(r[i]);!e[t]&&n&&(e[t]=new n),e=Object.prototype.hasOwnProperty.call(e,t)?e[t]:{},++i}return AC(e)?{}:{obj:e,k:kC(r[i])}},MC=(e,t,n)=>{let{obj:r,k:i}=jC(e,t,Object);if(r!==void 0||t.length===1){r[i]=n;return}let a=t[t.length-1],o=t.slice(0,t.length-1),s=jC(e,o,Object);for(;s.obj===void 0&&o.length;)a=`${o[o.length-1]}.${a}`,o=o.slice(0,o.length-1),s=jC(e,o,Object),s?.obj&&s.obj[`${s.k}.${a}`]!==void 0&&(s.obj=void 0);s.obj[`${s.k}.${a}`]=n},NC=(e,t,n,r)=>{let{obj:i,k:a}=jC(e,t,Object);i[a]=i[a]||[],i[a].push(n)},PC=(e,t)=>{let{obj:n,k:r}=jC(e,t);if(n&&Object.prototype.hasOwnProperty.call(n,r))return n[r]},FC=(e,t,n)=>{let r=PC(e,n);return r===void 0?PC(t,n):r},IC=(e,t,n)=>{for(let r in t)r!==`__proto__`&&r!==`constructor`&&(Object.prototype.hasOwnProperty.call(e,r)?$(e[r])||e[r]instanceof String||$(t[r])||t[r]instanceof String?n&&(e[r]=t[r]):IC(e[r],t[r],n):e[r]=t[r]);return e},LC=e=>e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,`\\$&`),RC={"&":`&`,"<":`<`,">":`>`,'"':`"`,"'":`'`,"/":`/`},zC=e=>$(e)?e.replace(/[&<>"'\/]/g,e=>RC[e]):e,BC=class{constructor(e){this.capacity=e,this.regExpMap=new Map,this.regExpQueue=[]}getRegExp(e){let t=this.regExpMap.get(e);if(t!==void 0)return t;let n=new RegExp(e);return this.regExpQueue.length===this.capacity&&this.regExpMap.delete(this.regExpQueue.shift()),this.regExpMap.set(e,n),this.regExpQueue.push(e),n}},VC=[` `,`,`,`?`,`!`,`;`],HC=new BC(20),UC=(e,t,n)=>{t||=``,n||=``;let r=VC.filter(e=>!t.includes(e)&&!n.includes(e));if(r.length===0)return!0;let i=HC.getRegExp(`(${r.map(e=>e===`?`?`\\?`:e).join(`|`)})`),a=!i.test(e);if(!a){let t=e.indexOf(n);t>0&&!i.test(e.substring(0,t))&&(a=!0)}return a},WC=(e,t,n=`.`)=>{if(!e)return;if(e[t])return Object.prototype.hasOwnProperty.call(e,t)?e[t]:void 0;let r=t.split(n),i=e;for(let e=0;e<r.length;){if(!i||typeof i!=`object`)return;let t,a=``;for(let o=e;o<r.length;++o)if(o!==e&&(a+=n),a+=r[o],t=i[a],t!==void 0){if([`string`,`number`,`boolean`].includes(typeof t)&&o<r.length-1)continue;e+=o-e+1;break}i=t}return i},GC=e=>e?.replace(/_/g,`-`),KC={type:`logger`,log(e){this.output(`log`,e)},warn(e){this.output(`warn`,e)},error(e){this.output(`error`,e)},output(e,t){console?.[e]?.apply?.(console,t)}},qC=new class e{constructor(e,t={}){this.init(e,t)}init(e,t={}){this.prefix=t.prefix||`i18next:`,this.logger=e||KC,this.options=t,this.debug=t.debug}log(...e){return this.forward(e,`log`,``,!0)}warn(...e){return this.forward(e,`warn`,``,!0)}error(...e){return this.forward(e,`error`,``)}deprecate(...e){return this.forward(e,`warn`,`WARNING DEPRECATED: `,!0)}forward(e,t,n,r){return r&&!this.debug?null:(e=e.map(e=>$(e)?e.replace(/[\r\n\x00-\x1F\x7F]/g,` `):e),$(e[0])&&(e[0]=`${n}${this.prefix} ${e[0]}`),this.logger[t](e))}create(t){return new e(this.logger,{prefix:`${this.prefix}:${t}:`,...this.options})}clone(t){return t||=this.options,t.prefix=t.prefix||this.prefix,new e(this.logger,t)}},JC=class{constructor(){this.observers={}}on(e,t){return e.split(` `).forEach(e=>{this.observers[e]||(this.observers[e]=new Map);let n=this.observers[e].get(t)||0;this.observers[e].set(t,n+1)}),this}off(e,t){this.observers[e]&&(t?this.observers[e].delete(t):delete this.observers[e])}once(e,t){let n=(...r)=>{t(...r),this.off(e,n)};return this.on(e,n),this}emit(e,...t){this.observers[e]&&Array.from(this.observers[e].entries()).forEach(([e,n])=>{for(let r=0;r<n;r++)e(...t)}),this.observers[`*`]&&Array.from(this.observers[`*`].entries()).forEach(([n,r])=>{for(let i=0;i<r;i++)n(e,...t)})}},YC=new WeakSet,XC=class extends JC{constructor(e,t={ns:[`translation`],defaultNS:`translation`}){super(),this.data=e||{},this.options=t,this.options.keySeparator===void 0&&(this.options.keySeparator=`.`),this.options.ignoreJSONStructure===void 0&&(this.options.ignoreJSONStructure=!0)}addNamespaces(e){this.options.ns.includes(e)||this.options.ns.push(e)}removeNamespaces(e){let t=this.options.ns.indexOf(e);t>-1&&this.options.ns.splice(t,1)}getResource(e,t,n,r={}){let i=r.keySeparator===void 0?this.options.keySeparator:r.keySeparator,a=r.ignoreJSONStructure===void 0?this.options.ignoreJSONStructure:r.ignoreJSONStructure,o;e.includes(`.`)?o=e.split(`.`):(o=[e,t],n&&(Array.isArray(n)?o.push(...n):$(n)&&i?o.push(...n.split(i)):o.push(n)));let s=PC(this.data,o);return!s&&!t&&!n&&e.includes(`.`)&&(e=o[0],t=o[1],n=o.slice(2).join(`.`)),s||!a||!$(n)?s:WC(this.data?.[e]?.[t],n,i)}addResource(e,t,n,r,i={silent:!1}){let a=i.keySeparator===void 0?this.options.keySeparator:i.keySeparator,o=[e,t];n&&(o=o.concat(a?n.split(a):n)),e.includes(`.`)&&(o=e.split(`.`),r=t,t=o[1]),this.addNamespaces(t),MC(this.data,o,r),i.silent||this.emit(`added`,e,t,n,r)}addResources(e,t,n,r={silent:!1}){for(let r in n)($(n[r])||Array.isArray(n[r]))&&this.addResource(e,t,r,n[r],{silent:!0});r.silent||this.emit(`added`,e,t,n)}addResourceBundle(e,t,n,r,i,a={silent:!1,skipCopy:!1}){let o=[e,t];e.includes(`.`)&&(o=e.split(`.`),r=n,n=t,t=o[1]),this.addNamespaces(t);let s=PC(this.data,o)||{};a.skipCopy||(n=JSON.parse(JSON.stringify(n))),r?IC(s,n,i):s={...s,...n},MC(this.data,o,s),a.silent||this.emit(`added`,e,t,n)}removeResourceBundle(e,t){this.hasResourceBundle(e,t)&&delete this.data[e][t],this.removeNamespaces(t),this.emit(`removed`,e,t)}hasResourceBundle(e,t){return this.getResource(e,t)!==void 0}getResourceBundle(e,t){return t||=this.options.defaultNS,this.getResource(e,t)}getDataByLanguage(e){return this.data[e]}hasLanguageSomeTranslations(e){let t=this.getDataByLanguage(e);return!!(t&&Object.keys(t)||[]).find(e=>{let n=t[e];return YC.has(n)?!0:!n||Object.keys(n).length===0?!1:(typeof n==`object`&&YC.add(n),!0)})}toJSON(){return this.data}},ZC={processors:{},addPostProcessor(e){this.processors[e.name]=e},handle(e,t,n,r,i){return e.forEach(e=>{t=this.processors[e]?.process(t,n,r,i)??t}),t}},QC=Symbol(`i18next/PATH_KEY`);function $C(){let e=[],t=Object.create(null),n;return t.get=(r,i)=>(n?.revoke?.(),i===QC?e:(e.push(i),n=Proxy.revocable(r,t),n.proxy)),Proxy.revocable(Object.create(null),t).proxy}function ew(e,t){let{[QC]:n}=e($C()),r=t?.keySeparator??`.`,i=t?.nsSeparator??`:`,a=t?.enableSelector===`strict`;if(n.length>1&&i){let e=t?.ns,o=a?Array.isArray(e)?e:e?[e]:null:Array.isArray(e)?e:null;if(o&&(a?o:o.length>1?o.slice(1):[]).includes(n[0]))return`${n[0]}${i}${n.slice(1).join(r)}`}return n.join(r)}var tw=e=>!$(e)&&typeof e!=`boolean`&&typeof e!=`number`,nw=class e extends JC{constructor(e,t={}){super(),DC([`resourceStore`,`languageUtils`,`pluralResolver`,`interpolator`,`backendConnector`,`i18nFormat`,`utils`],e,this),this.options=t,this.options.keySeparator===void 0&&(this.options.keySeparator=`.`),this.logger=qC.create(`translator`),this.checkedLoadedFor={}}changeLanguage(e){e&&(this.language=e)}exists(e,t={interpolation:{}}){let n={...t};if(e==null)return!1;let r=this.resolve(e,n);if(r?.res===void 0)return!1;let i=tw(r.res);return!(n.returnObjects===!1&&i)}extractFromKey(e,t){let n=t.nsSeparator===void 0?this.options.nsSeparator:t.nsSeparator;n===void 0&&(n=`:`);let r=t.keySeparator===void 0?this.options.keySeparator:t.keySeparator,i=t.ns||this.options.defaultNS||[],a=n&&e.includes(n),o=!this.options.userDefinedKeySeparator&&!t.keySeparator&&!this.options.userDefinedNsSeparator&&!t.nsSeparator&&!UC(e,n,r);if(a&&!o){let t=e.match(this.interpolator.nestingRegexp);if(t&&t.length>0)return{key:e,namespaces:$(i)?[i]:i};let a=e.split(n);(n!==r||n===r&&this.options.ns.includes(a[0]))&&(i=a.shift()),e=a.join(r)}return{key:e,namespaces:$(i)?[i]:i}}translate(t,n,r){let i=typeof n==`object`?{...n}:n;if(typeof i!=`object`&&this.options.overloadTranslationOptionHandler&&(i=this.options.overloadTranslationOptionHandler(arguments)),typeof i==`object`&&(i={...i}),i||={},t==null)return``;typeof t==`function`&&(t=ew(t,{...this.options,...i})),Array.isArray(t)||(t=[String(t)]),t=t.map(e=>typeof e==`function`?ew(e,{...this.options,...i}):String(e));let a=i.returnDetails===void 0?this.options.returnDetails:i.returnDetails,o=i.keySeparator===void 0?this.options.keySeparator:i.keySeparator,{key:s,namespaces:c}=this.extractFromKey(t[t.length-1],i),l=c[c.length-1],u=i.nsSeparator===void 0?this.options.nsSeparator:i.nsSeparator;u===void 0&&(u=`:`);let d=i.lng||this.language,f=i.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(d?.toLowerCase()===`cimode`)return f?a?{res:`${l}${u}${s}`,usedKey:s,exactUsedKey:s,usedLng:d,usedNS:l,usedParams:this.getUsedParamsDetails(i)}:`${l}${u}${s}`:a?{res:s,usedKey:s,exactUsedKey:s,usedLng:d,usedNS:l,usedParams:this.getUsedParamsDetails(i)}:s;let p=this.resolve(t,i),m=p?.res,h=p?.usedKey||s,g=p?.exactUsedKey||s,_=[`[object Number]`,`[object Function]`,`[object RegExp]`],v=i.joinArrays===void 0?this.options.joinArrays:i.joinArrays,y=!this.i18nFormat||this.i18nFormat.handleAsObject,b=i.count!==void 0&&!$(i.count),x=e.hasDefaultValue(i),S=b?this.pluralResolver.getSuffix(d,i.count,i):``,C=i.ordinal&&b?this.pluralResolver.getSuffix(d,i.count,{ordinal:!1}):``,w=b&&!i.ordinal&&i.count===0,T=w&&i[`defaultValue${this.options.pluralSeparator}zero`]||i[`defaultValue${S}`]||i[`defaultValue${C}`]||i.defaultValue,E=m;y&&!m&&x&&(E=T);let D=tw(E),O=Object.prototype.toString.apply(E);if(y&&E&&D&&!_.includes(O)&&!($(v)&&Array.isArray(E))){if(!i.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn(`accessing an object - but returnObjects options is not enabled!`);let e=this.options.returnedObjectHandler?this.options.returnedObjectHandler(h,E,{...i,ns:c}):`key '${s} (${this.language})' returned an object instead of string.`;return a?(p.res=e,p.usedParams=this.getUsedParamsDetails(i),p):e}if(o){let e=Array.isArray(E),t=e?[]:{},n=e?g:h;for(let e in E)if(Object.prototype.hasOwnProperty.call(E,e)){let r=`${n}${o}${e}`;t[e]=x&&!m?this.translate(r,{...i,defaultValue:tw(T)?T[e]:void 0,joinArrays:!1,ns:c}):this.translate(r,{...i,joinArrays:!1,ns:c}),t[e]===r&&(t[e]=E[e])}m=t}}else if(y&&$(v)&&Array.isArray(m))m=m.join(v),m&&=this.extendTranslation(m,t,i,r);else{let e=!1,n=!1;!this.isValidLookup(m)&&x&&(e=!0,m=T),this.isValidLookup(m)||(n=!0,m=s);let a=(i.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&n?void 0:m,c=x&&T!==m&&this.options.updateMissing;if(n||e||c){if(this.logger.log(c?`updateKey`:`missingKey`,d,l,b&&!c?`${s}${this.pluralResolver.getSuffix(d,i.count,i)}`:s,c?T:m),o){let e=this.resolve(s,{...i,keySeparator:!1});e&&e.res&&this.logger.warn(`Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.`)}let e=[],t=this.languageUtils.getFallbackCodes(this.options.fallbackLng,i.lng||this.language);if(this.options.saveMissingTo===`fallback`&&t&&t[0])for(let n=0;n<t.length;n++)e.push(t[n]);else this.options.saveMissingTo===`all`?e=this.languageUtils.toResolveHierarchy(i.lng||this.language):e.push(i.lng||this.language);let n=(e,t,n)=>{let r=x&&n!==m?n:a;this.options.missingKeyHandler?this.options.missingKeyHandler(e,l,t,r,c,i):this.backendConnector?.saveMissing&&this.backendConnector.saveMissing(e,l,t,r,c,i),this.emit(`missingKey`,e,l,t,m)};this.options.saveMissing&&(this.options.saveMissingPlurals&&b?e.forEach(e=>{let t=this.pluralResolver.getSuffixes(e,i);w&&i[`defaultValue${this.options.pluralSeparator}zero`]&&!t.includes(`${this.options.pluralSeparator}zero`)&&t.push(`${this.options.pluralSeparator}zero`),t.forEach(t=>{n([e],s+t,i[`defaultValue${t}`]||T)})}):n(e,s,T))}m=this.extendTranslation(m,t,i,p,r),n&&m===s&&this.options.appendNamespaceToMissingKey&&(m=`${l}${u}${s}`),(n||e)&&this.options.parseMissingKeyHandler&&(m=this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?`${l}${u}${s}`:s,e?m:void 0,i))}return a?(p.res=m,p.usedParams=this.getUsedParamsDetails(i),p):m}extendTranslation(e,t,n,r,i){if(this.i18nFormat?.parse)e=this.i18nFormat.parse(e,{...this.options.interpolation.defaultVariables,...n},n.lng||this.language||r.usedLng,r.usedNS,r.usedKey,{resolved:r});else if(!n.skipInterpolation){n.interpolation&&this.interpolator.init({...n,interpolation:{...this.options.interpolation,...n.interpolation}});let a=$(e)&&(n?.interpolation?.skipOnVariables===void 0?this.options.interpolation.skipOnVariables:n.interpolation.skipOnVariables),o;if(a){let t=e.match(this.interpolator.nestingRegexp);o=t&&t.length}let s=n.replace&&!$(n.replace)?n.replace:n;if(this.options.interpolation.defaultVariables&&(s={...this.options.interpolation.defaultVariables,...s}),e=this.interpolator.interpolate(e,s,n.lng||this.language||r.usedLng,n),a){let t=e.match(this.interpolator.nestingRegexp),r=t&&t.length;o<r&&(n.nest=!1)}!n.lng&&r&&r.res&&(n.lng=this.language||r.usedLng),n.nest!==!1&&(e=this.interpolator.nest(e,(...e)=>i?.[0]===e[0]&&!n.context?(this.logger.warn(`It seems you are nesting recursively key: ${e[0]} in key: ${t[0]}`),null):this.translate(...e,t),n)),n.interpolation&&this.interpolator.reset()}let a=n.postProcess||this.options.postProcess,o=$(a)?[a]:a;return e!=null&&o?.length&&n.applyPostProcessor!==!1&&(e=ZC.handle(o,e,t,this.options&&this.options.postProcessPassResolved?{i18nResolved:{...r,usedParams:this.getUsedParamsDetails(n)},...n}:n,this)),e}resolve(e,t={}){let n,r,i,a,o;return $(e)&&(e=[e]),Array.isArray(e)&&(e=e.map(e=>typeof e==`function`?ew(e,{...this.options,...t}):e)),e.forEach(e=>{if(this.isValidLookup(n))return;let s=this.extractFromKey(e,t),c=s.key;r=c;let l=s.namespaces;this.options.fallbackNS&&(l=l.concat(this.options.fallbackNS));let u=t.count!==void 0&&!$(t.count),d=u&&!t.ordinal&&t.count===0,f=t.context!==void 0&&($(t.context)||typeof t.context==`number`)&&t.context!==``,p=t.lngs?t.lngs:this.languageUtils.toResolveHierarchy(t.lng||this.language,t.fallbackLng);l.forEach(e=>{this.isValidLookup(n)||(o=e,!this.checkedLoadedFor[`${p[0]}-${e}`]&&this.utils?.hasLoadedNamespace&&!this.utils?.hasLoadedNamespace(o)&&(this.checkedLoadedFor[`${p[0]}-${e}`]=!0,this.logger.warn(`key "${r}" for languages "${p.join(`, `)}" won't get resolved as namespace "${o}" was not yet loaded`,`This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!`)),p.forEach(r=>{if(this.isValidLookup(n))return;a=r;let o=[c];if(this.i18nFormat?.addLookupKeys)this.i18nFormat.addLookupKeys(o,c,r,e,t);else{let e;u&&(e=this.pluralResolver.getSuffix(r,t.count,t));let n=`${this.options.pluralSeparator}zero`,i=`${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;if(u&&(t.ordinal&&e.startsWith(i)&&o.push(c+e.replace(i,this.options.pluralSeparator)),o.push(c+e),d&&o.push(c+n)),f){let r=`${c}${this.options.contextSeparator||`_`}${t.context}`;o.push(r),u&&(t.ordinal&&e.startsWith(i)&&o.push(r+e.replace(i,this.options.pluralSeparator)),o.push(r+e),d&&o.push(r+n))}}let s;for(;s=o.pop();)this.isValidLookup(n)||(i=s,n=this.getResource(r,e,s,t))}))})}),{res:n,usedKey:r,exactUsedKey:i,usedLng:a,usedNS:o}}isValidLookup(e){return e!==void 0&&!(!this.options.returnNull&&e===null)&&!(!this.options.returnEmptyString&&e===``)}getResource(e,t,n,r={}){return this.i18nFormat?.getResource?this.i18nFormat.getResource(e,t,n,r):this.resourceStore.getResource(e,t,n,r)}getUsedParamsDetails(e={}){let t=[`defaultValue`,`ordinal`,`context`,`replace`,`lng`,`lngs`,`fallbackLng`,`ns`,`keySeparator`,`nsSeparator`,`returnObjects`,`returnDetails`,`joinArrays`,`postProcess`,`interpolation`],n=e.replace&&!$(e.replace),r=n?e.replace:e;if(n&&e.count!==void 0&&(r={...r,count:e.count}),this.options.interpolation.defaultVariables&&(r={...this.options.interpolation.defaultVariables,...r}),!n){r={...r};for(let e of t)delete r[e]}return r}static hasDefaultValue(e){for(let t in e)if(Object.prototype.hasOwnProperty.call(e,t)&&t.startsWith(`defaultValue`)&&e[t]!==void 0)return!0;return!1}},rw=class{constructor(e){this.options=e,this.supportedLngs=this.options.supportedLngs||!1,this.logger=qC.create(`languageUtils`),this.resolveHierarchyCache={}}clearCache(){this.resolveHierarchyCache={}}getScriptPartFromCode(e){if(e=GC(e),!e||!e.includes(`-`))return null;let t=e.split(`-`);return t.length===2||(t.pop(),t[t.length-1].toLowerCase()===`x`)?null:this.formatLanguageCode(t.join(`-`))}getLanguagePartFromCode(e){if(e=GC(e),!e||!e.includes(`-`))return e;let t=e.split(`-`);return this.formatLanguageCode(t[0])}formatLanguageCode(e){if($(e)&&e.includes(`-`)){let t;try{t=Intl.getCanonicalLocales(e)[0]}catch{}return t&&this.options.lowerCaseLng&&(t=t.toLowerCase()),t||(this.options.lowerCaseLng?e.toLowerCase():e)}return this.options.cleanCode||this.options.lowerCaseLng?e.toLowerCase():e}isSupportedCode(e){return(this.options.load===`languageOnly`||this.options.nonExplicitSupportedLngs)&&(e=this.getLanguagePartFromCode(e)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.includes(e)}getBestMatchFromCodes(e){if(!e)return null;let t;return e.forEach(e=>{if(t)return;let n=this.formatLanguageCode(e);(!this.options.supportedLngs||this.isSupportedCode(n))&&(t=n)}),!t&&this.options.supportedLngs&&e.forEach(e=>{if(t)return;let n=this.getScriptPartFromCode(e);if(this.isSupportedCode(n))return t=n;let r=this.getLanguagePartFromCode(e);if(this.isSupportedCode(r))return t=r;t=this.options.supportedLngs.find(e=>e===r?!0:!e.includes(`-`)&&!r.includes(`-`)?!1:!!(e.includes(`-`)&&!r.includes(`-`)&&e.slice(0,e.indexOf(`-`))===r||e.startsWith(r)&&r.length>1))}),t||=this.getFallbackCodes(this.options.fallbackLng)[0],t}getFallbackCodes(e,t){if(!e)return[];if(typeof e==`function`&&(e=e(t)),$(e)&&(e=[e]),Array.isArray(e))return e;if(!t)return e.default||[];let n=e[t];return n||=e[this.getScriptPartFromCode(t)],n||=e[this.formatLanguageCode(t)],n||=e[this.getLanguagePartFromCode(t)],n||=e.default,n||[]}toResolveHierarchy(e,t){let n=this.options.fallbackLng,r=Array.isArray(n)?n.join(`|`):n;r!==this._cachedFallbackLng&&(this.resolveHierarchyCache={},this._cachedFallbackLng=r);let i=t===void 0||t===!1||$(t),a=t===void 0&&typeof this.options.fallbackLng==`function`,o=$(e)&&i&&!a,s=null;if(o){let n;n=t===void 0?`undefined`:t===!1?`boolean:false`:`string:${t}`,s=`${e.length}:${e}|${n}`}if(s!==null){let e=this.resolveHierarchyCache[s];if(e!==void 0)return e.slice()}let c=this.getFallbackCodes((t===!1?[]:t)||this.options.fallbackLng||[],e),l=[],u=e=>{e&&(this.isSupportedCode(e)?l.push(e):this.logger.warn(`rejecting language code not found in supportedLngs: ${e}`))};return $(e)&&(e.includes(`-`)||e.includes(`_`))?(this.options.load!==`languageOnly`&&u(this.formatLanguageCode(e)),this.options.load!==`languageOnly`&&this.options.load!==`currentOnly`&&u(this.getScriptPartFromCode(e)),this.options.load!==`currentOnly`&&u(this.getLanguagePartFromCode(e))):$(e)&&u(this.formatLanguageCode(e)),c.forEach(e=>{let t=this.formatLanguageCode(e);l.includes(t)||u(t)}),s===null?l:(this.resolveHierarchyCache[s]=l,l.slice())}},iw={zero:0,one:1,two:2,few:3,many:4,other:5},aw={select:e=>e===1?`one`:`other`,resolvedOptions:()=>({pluralCategories:[`one`,`other`]})},ow=class{constructor(e,t={}){this.languageUtils=e,this.options=t,this.logger=qC.create(`pluralResolver`),this.pluralRulesCache={}}clearCache(){this.pluralRulesCache={}}getRule(e,t={}){let n=GC(e===`dev`?`en`:e),r=t.ordinal?`ordinal`:`cardinal`,i=JSON.stringify({cleanedCode:n,type:r});if(i in this.pluralRulesCache)return this.pluralRulesCache[i];let a;try{a=new Intl.PluralRules(n,{type:r})}catch{if(typeof Intl>`u`)return this.logger.error(`No Intl support, please use an Intl polyfill!`),aw;if(!e.match(/-|_/))return aw;let n=this.languageUtils.getLanguagePartFromCode(e);a=this.getRule(n,t)}return this.pluralRulesCache[i]=a,a}needsPlural(e,t={}){let n=this.getRule(e,t);return n||=this.getRule(`dev`,t),n?.resolvedOptions().pluralCategories.length>1}getPluralFormsOfKey(e,t,n={}){return this.getSuffixes(e,n).map(e=>`${t}${e}`)}getSuffixes(e,t={}){let n=this.getRule(e,t);return n||=this.getRule(`dev`,t),n?n.resolvedOptions().pluralCategories.sort((e,t)=>iw[e]-iw[t]).map(e=>`${this.options.prepend}${t.ordinal?`ordinal${this.options.prepend}`:``}${e}`):[]}getSuffix(e,t,n={}){let r=this.getRule(e,n);return r?`${this.options.prepend}${n.ordinal?`ordinal${this.options.prepend}`:``}${r.select(t)}`:(this.logger.warn(`no plural rule found for: ${e}`),this.getSuffix(`dev`,t,n))}},sw=(e,t,n,r=`.`,i=!0)=>{let a=FC(e,t,n);return!a&&i&&$(n)&&(a=WC(e,n,r),a===void 0&&(a=WC(t,n,r))),a},cw=class{constructor(e={}){this.logger=qC.create(`interpolator`),this.options=e,this.format=e?.interpolation?.format||(e=>e),this.init(e)}init(e={}){e.interpolation||={escapeValue:!0};let{escape:t,escapeValue:n,useRawValueToEscape:r,prefix:i,prefixEscaped:a,suffix:o,suffixEscaped:s,formatSeparator:c,unescapeSuffix:l,unescapePrefix:u,nestingPrefix:d,nestingPrefixEscaped:f,nestingSuffix:p,nestingSuffixEscaped:m,nestingOptionsSeparator:h,maxReplaces:g,alwaysFormat:_}=e.interpolation;this.escape=t===void 0?zC:t,this.escapeValue=n===void 0||n,this.useRawValueToEscape=r!==void 0&&r,this.prefix=i?LC(i):a||`{{`,this.suffix=o?LC(o):s||`}}`,this.formatSeparator=c||`,`,this.unescapePrefix=l?``:u?LC(u):`-`,this.unescapeSuffix=this.unescapePrefix?``:l?LC(l):``,this.nestingPrefix=d?LC(d):f||LC(`$t(`),this.nestingSuffix=p?LC(p):m||LC(`)`),this.nestingOptionsSeparator=h||`,`,this.maxReplaces=g||1e3,this.alwaysFormat=_!==void 0&&_,this.resetRegExp()}reset(){this.options&&this.init(this.options)}resetRegExp(){let e=(e,t)=>e?.source===t?(e.lastIndex=0,e):new RegExp(t,`g`);this.regexp=e(this.regexp,`${this.prefix}(.+?)${this.suffix}`),this.regexpUnescape=e(this.regexpUnescape,`${this.prefix}${this.unescapePrefix}(.+?)${this.unescapeSuffix}${this.suffix}`),this.nestingRegexp=e(this.nestingRegexp,`${this.nestingPrefix}((?:[^()"']|"[^"]*"|'[^']*'|\\((?:[^()"']|"[^"]*"|'[^']*')*\\))*?)${this.nestingSuffix}`)}interpolate(e,t,n,r){let i,a,o,s=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{},c=e=>{if(!e.includes(this.formatSeparator)){let i=sw(t,s,e,this.options.keySeparator,this.options.ignoreJSONStructure);return this.alwaysFormat?this.format(i,void 0,n,{...r,...t,interpolationkey:e}):i}let i=e.split(this.formatSeparator),a=i.shift().trim(),o=i.join(this.formatSeparator).trim();return this.format(sw(t,s,a,this.options.keySeparator,this.options.ignoreJSONStructure),o,n,{...r,...t,interpolationkey:a})};this.resetRegExp(),!this.escapeValue&&typeof e==`string`&&/\$t\([^)]*\{[^}]*\{\{/.test(e)&&this.logger.warn(`nesting options string contains interpolated variables with escapeValue: false — if any of those values are attacker-controlled they can inject additional nesting options (e.g. redirect lng/ns). Sanitise untrusted input before passing it to t(), or keep escapeValue: true.`);let l=r?.missingInterpolationHandler||this.options.missingInterpolationHandler,u=r?.interpolation?.skipOnVariables===void 0?this.options.interpolation.skipOnVariables:r.interpolation.skipOnVariables,d=[{regex:this.regexpUnescape,safeValue:e=>e},{regex:this.regexp,safeValue:e=>this.escapeValue?this.escape(e):e}],f=[],p=0;return d.forEach(t=>{for(o=0;i=t.regex.exec(e);){let n=i.index-p,s=f.find(([e,t])=>n>=e&&n<t);if(s){t.regex.lastIndex=s[1]+p;continue}let d=i[1].trim();if(a=c(d),a===void 0){if(typeof l==`function`){let t=l(e,i,r);a=$(t)?t:``}else if(r&&Object.prototype.hasOwnProperty.call(r,d))a=``;else if(u){a=i[0];continue}else this.logger.warn(`missed to pass in variable ${d} for interpolating ${e}`),a=``}else!$(a)&&!this.useRawValueToEscape&&(a=EC(a));let m=EC(t.safeValue(a));if(e=e.slice(0,i.index)+m+e.slice(i.index+i[0].length),u?(t.regex===this.regexpUnescape?f.push([i.index,i.index+m.length]):p+=m.length-i[0].length,t.regex.lastIndex+=m.length,t.regex.lastIndex-=i[0].length):t.regex.lastIndex=0,o++,o>=this.maxReplaces)break}}),e}nest(e,t,n={}){let r,i,a,o=(e,t)=>{let n=this.nestingOptionsSeparator;if(!e.includes(n))return e;let r=e.split(RegExp(`${LC(n)}[ ]*{`)),i=`{${r[1]}`;e=r[0],i=this.interpolate(i,a);let o=i.match(/'/g),s=i.match(/"/g);((o?.length??0)%2==0&&!s||(s?.length??0)%2!=0)&&(i=i.replace(/'/g,`"`));try{a=JSON.parse(i),t&&(a={...t,...a})}catch(t){return this.logger.warn(`failed parsing options string in nesting for key ${e}`,t),`${e}${n}${i}`}return a.defaultValue&&a.defaultValue.includes(this.prefix)&&delete a.defaultValue,e},s=new RegExp(this.nestingRegexp),c=``,l=0;for(;r=s.exec(e);){let u=[];a={...n},a=a.replace&&!$(a.replace)?a.replace:a,a.applyPostProcessor=!1,delete a.defaultValue;let d=/{.*}/s.test(r[1])?r[1].lastIndexOf(`}`)+1:r[1].indexOf(this.formatSeparator);if(d!==-1&&(u=r[1].slice(d).split(this.formatSeparator).map(e=>e.trim()).filter(Boolean),r[1]=r[1].slice(0,d)),i=t(o.call(this,r[1].trim(),a),a),i&&r[0]===e&&!$(i))return i;$(i)||(i=EC(i)),i||=(this.logger.warn(`missed to resolve ${r[1]} for nesting ${e}`),``),u.length&&(i=u.reduce((e,t)=>this.format(e,t,n.lng,{...n,interpolationkey:r[1].trim()}),i.trim())),c+=e.slice(l,r.index)+EC(i),l=s.lastIndex,this.regexp.lastIndex=0}return l?c+e.slice(l):e}},lw=e=>{let t=e.toLowerCase().trim(),n={};if(e.includes(`(`)){let r=e.split(`(`);t=r[0].toLowerCase().trim();let i=r[1].slice(0,-1);t===`currency`&&!i.includes(`:`)?n.currency||=i.trim():t===`relativetime`&&!i.includes(`:`)?n.range||=i.trim():i.split(`;`).forEach(e=>{if(e){let[t,...r]=e.split(`:`),i=r.join(`:`).trim().replace(/^'+|'+$/g,``),a=t.trim();n[a]||(n[a]=i),i===`false`&&(n[a]=!1),i===`true`&&(n[a]=!0),isNaN(i)||(n[a]=parseInt(i,10))}})}return{formatName:t,formatOptions:n}},uw=e=>{let t={};return(n,r,i)=>{let a=i;i&&i.interpolationkey&&i.formatParams&&i.formatParams[i.interpolationkey]&&i[i.interpolationkey]&&(a={...a,[i.interpolationkey]:void 0});let o=r+JSON.stringify(a),s=t[o];return s||(s=e(GC(r),i),t[o]=s),s(n)}},dw=e=>(t,n,r)=>e(GC(n),r)(t),fw=class{constructor(e={}){this.logger=qC.create(`formatter`),this.options=e,this.init(e)}init(e,t={interpolation:{}}){this.formatSeparator=t.interpolation.formatSeparator||`,`;let n=t.cacheInBuiltFormats?uw:dw;this.formats={number:n((e,t)=>{let n=new Intl.NumberFormat(e,{...t});return e=>n.format(e)}),currency:n((e,t)=>{let n=new Intl.NumberFormat(e,{...t,style:`currency`});return e=>n.format(e)}),datetime:n((e,t)=>{let n=new Intl.DateTimeFormat(e,{...t});return e=>n.format(e)}),relativetime:n((e,t)=>{let n=new Intl.RelativeTimeFormat(e,{...t});return e=>n.format(e,t.range||`day`)}),list:n((e,t)=>{let n=new Intl.ListFormat(e,{...t});return e=>n.format(e)})}}add(e,t){this.formats[e.toLowerCase().trim()]=t}addCached(e,t){this.formats[e.toLowerCase().trim()]=uw(t)}format(e,t,n,r={}){if(!t||e==null)return e;let i=t.split(this.formatSeparator),a=[];for(let e=0;e<i.length;e++){let t=i[e];for(;t.indexOf(`(`)>-1&&!t.includes(`)`)&&e+1<i.length;)t=`${t}${this.formatSeparator}${i[++e]}`;a.push(t)}return a.reduce((e,t)=>{let{formatName:i,formatOptions:a}=lw(t);if(this.formats[i]){let t=e;try{let o=r?.formatParams?.[r.interpolationkey]||{},s=o.locale||o.lng||r.locale||r.lng||n;t=this.formats[i](e,s,{...a,...r,...o})}catch(e){this.logger.warn(e)}return t}return this.logger.warn(`there was no format function for ${i}`),e},e)}},pw=(e,t)=>{e.pending[t]!==void 0&&(delete e.pending[t],e.pendingCount--)},mw=class extends JC{constructor(e,t,n,r={}){super(),this.backend=e,this.store=t,this.services=n,this.languageUtils=n.languageUtils,this.options=r,this.logger=qC.create(`backendConnector`),this.waitingReads=[],this.maxParallelReads=r.maxParallelReads||10,this.readingCalls=0,this.maxRetries=r.maxRetries>=0?r.maxRetries:5,this.retryTimeout=r.retryTimeout>=1?r.retryTimeout:350,this.state={},this.queue=[],this.backend?.init?.(n,r.backend,r)}queueLoad(e,t,n,r){let i={},a={},o={},s={};return e.forEach(e=>{let r=!0;t.forEach(t=>{let o=`${e}|${t}`;!n.reload&&this.store.hasResourceBundle(e,t)?this.state[o]=2:this.state[o]<0||(this.state[o]===1?a[o]===void 0&&(a[o]=!0):(this.state[o]=1,r=!1,a[o]===void 0&&(a[o]=!0),i[o]===void 0&&(i[o]=!0),s[t]===void 0&&(s[t]=!0)))}),r||(o[e]=!0)}),(Object.keys(i).length||Object.keys(a).length)&&this.queue.push({pending:a,pendingCount:Object.keys(a).length,loaded:{},errors:[],callback:r}),{toLoad:Object.keys(i),pending:Object.keys(a),toLoadLanguages:Object.keys(o),toLoadNamespaces:Object.keys(s)}}loaded(e,t,n){let r=e.split(`|`),i=r[0],a=r[1];t&&this.emit(`failedLoading`,i,a,t),!t&&n&&this.store.addResourceBundle(i,a,n,void 0,void 0,{skipCopy:!0}),this.state[e]=t?-1:2,t&&n&&(this.state[e]=0);let o={};this.queue.forEach(n=>{NC(n.loaded,[i],a),pw(n,e),t&&n.errors.push(t),n.pendingCount===0&&!n.done&&(Object.keys(n.loaded).forEach(e=>{o[e]||(o[e]={});let t=n.loaded[e];t.length&&t.forEach(t=>{o[e][t]===void 0&&(o[e][t]=!0)})}),n.done=!0,n.errors.length?n.callback(n.errors):n.callback())}),this.emit(`loaded`,o),this.queue=this.queue.filter(e=>!e.done)}read(e,t,n,r=0,i=this.retryTimeout,a){if(!e.length)return a(null,{});if(this.readingCalls>=this.maxParallelReads){this.waitingReads.push({lng:e,ns:t,fcName:n,tried:r,wait:i,callback:a});return}this.readingCalls++;let o=(o,s)=>{if(this.readingCalls--,this.waitingReads.length>0){let e=this.waitingReads.shift();this.read(e.lng,e.ns,e.fcName,e.tried,e.wait,e.callback)}o&&s&&r<this.maxRetries?setTimeout(()=>{this.read(e,t,n,r+1,i*2,a)},i):a(o,s)},s=this.backend[n].bind(this.backend);if(s.length===2)try{let n=s(e,t);n&&typeof n.then==`function`?n.then(e=>o(null,e)).catch(o):o(null,n)}catch(e){o(e)}else return s(e,t,o)}prepareLoading(e,t,n={},r){if(!this.backend)return this.logger.warn(`No backend was added via i18next.use. Will not load resources.`),r&&r();$(e)&&(e=this.languageUtils.toResolveHierarchy(e)),$(t)&&(t=[t]);let i=this.queueLoad(e,t,n,r);if(!i.toLoad.length)return i.pending.length||r(),null;i.toLoad.forEach(e=>{this.loadOne(e)})}load(e,t,n){this.prepareLoading(e,t,{},n)}reload(e,t,n){this.prepareLoading(e,t,{reload:!0},n)}loadOne(e,t=``){let n=e.split(`|`),r=n[0],i=n[1];this.read(r,i,`read`,void 0,void 0,(n,a)=>{n&&this.logger.warn(`${t}loading namespace ${i} for language ${r} failed`,n),!n&&a&&this.logger.log(`${t}loaded namespace ${i} for language ${r}`,a),this.loaded(e,n,a)})}saveMissing(e,t,n,r,i,a={},o=()=>{}){if(this.services?.utils?.hasLoadedNamespace&&!this.services?.utils?.hasLoadedNamespace(t))this.logger.warn(`did not save key "${n}" as the namespace "${t}" was not yet loaded`,`This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!`);else if(n!=null&&n!==``){if(this.backend?.create){let s={...a,isUpdate:i},c=this.backend.create.bind(this.backend);if(c.length<6)try{let i;i=c.length===5?c(e,t,n,r,s):c(e,t,n,r),i&&typeof i.then==`function`?i.then(e=>o(null,e)).catch(o):o(null,i)}catch(e){o(e)}else c(e,t,n,r,o,s)}e&&e[0]&&this.store.addResource(e[0],t,n,r)}}},hw=()=>({debug:!1,initAsync:!0,ns:[`translation`],defaultNS:[`translation`],fallbackLng:[`dev`],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:`all`,preload:!1,keySeparator:`.`,nsSeparator:`:`,pluralSeparator:`_`,contextSeparator:`_`,enableSelector:!1,partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:`fallback`,saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!1,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:e=>{let t={};if(typeof e[1]==`object`&&(t=e[1]),$(e[1])&&(t.defaultValue=e[1]),$(e[2])&&(t.tDescription=e[2]),typeof e[2]==`object`||typeof e[3]==`object`){let n=e[3]||e[2];Object.keys(n).forEach(e=>{t[e]=n[e]})}return t},interpolation:{escapeValue:!0,prefix:`{{`,suffix:`}}`,formatSeparator:`,`,unescapePrefix:`-`,nestingPrefix:`$t(`,nestingSuffix:`)`,nestingOptionsSeparator:`,`,maxReplaces:1e3,skipOnVariables:!0},cacheInBuiltFormats:!0}),gw=e=>($(e.ns)&&(e.ns=[e.ns]),$(e.fallbackLng)&&(e.fallbackLng=[e.fallbackLng]),$(e.fallbackNS)&&(e.fallbackNS=[e.fallbackNS]),e.supportedLngs&&!e.supportedLngs.includes(`cimode`)&&(e.supportedLngs=e.supportedLngs.concat([`cimode`])),e),_w=()=>{},vw=e=>{Object.getOwnPropertyNames(Object.getPrototypeOf(e)).forEach(t=>{typeof e[t]==`function`&&(e[t]=e[t].bind(e))})},yw=class e extends JC{constructor(e={},t){if(super(),this.options=gw(e),this.services={},this.logger=qC,this.modules={external:[]},vw(this),t&&!this.isInitialized&&!e.isClone){if(!this.options.initAsync)return this.init(e,t),this;setTimeout(()=>{this.init(e,t)},0)}}init(e={},t){this.isInitializing=!0,typeof e==`function`&&(t=e,e={}),e.defaultNS==null&&e.ns&&($(e.ns)?e.defaultNS=e.ns:e.ns.includes(`translation`)||(e.defaultNS=e.ns[0]));let n=hw();this.options={...n,...this.options,...gw(e)},this.options.interpolation={...n.interpolation,...this.options.interpolation},e.keySeparator!==void 0&&(this.options.userDefinedKeySeparator=e.keySeparator),e.nsSeparator!==void 0&&(this.options.userDefinedNsSeparator=e.nsSeparator),typeof this.options.overloadTranslationOptionHandler!=`function`&&(this.options.overloadTranslationOptionHandler=n.overloadTranslationOptionHandler);let r=e=>e?typeof e==`function`?new e:e:null;if(!this.options.isClone){this.modules.logger?qC.init(r(this.modules.logger),this.options):qC.init(null,this.options);let e;e=this.modules.formatter?this.modules.formatter:fw;let t=new rw(this.options);this.store=new XC(this.options.resources,this.options);let n=this.services;n.logger=qC,n.resourceStore=this.store,n.languageUtils=t,n.pluralResolver=new ow(t,{prepend:this.options.pluralSeparator}),e&&(n.formatter=r(e),n.formatter.init&&n.formatter.init(n,this.options),this.options.interpolation.format=n.formatter.format.bind(n.formatter)),n.interpolator=new cw(this.options),n.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},n.backendConnector=new mw(r(this.modules.backend),n.resourceStore,n,this.options),n.backendConnector.on(`*`,(e,...t)=>{this.emit(e,...t)}),this.modules.languageDetector&&(n.languageDetector=r(this.modules.languageDetector),n.languageDetector.init&&n.languageDetector.init(n,this.options.detection,this.options)),this.modules.i18nFormat&&(n.i18nFormat=r(this.modules.i18nFormat),n.i18nFormat.init&&n.i18nFormat.init(this)),this.translator=new nw(this.services,this.options),this.translator.on(`*`,(e,...t)=>{this.emit(e,...t)}),this.modules.external.forEach(e=>{e.init&&e.init(this)})}if(this.format=this.options.interpolation.format,t||=_w,this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){let e=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);e.length>0&&e[0]!==`dev`&&(this.options.lng=e[0])}!this.services.languageDetector&&!this.options.lng&&this.logger.warn(`init: no languageDetector is used and no lng is defined`),[`getResource`,`hasResourceBundle`,`getResourceBundle`,`getDataByLanguage`].forEach(e=>{this[e]=(...t)=>this.store[e](...t)}),[`addResource`,`addResources`,`addResourceBundle`,`removeResourceBundle`].forEach(e=>{this[e]=(...t)=>(this.store[e](...t),this)});let i=TC(),a=()=>{let e=(e,n)=>{this.isInitializing=!1,this.isInitialized&&!this.initializedStoreOnce&&this.logger.warn(`init: i18next is already initialized. You should call init just once!`),this.isInitialized=!0,this.options.isClone||this.logger.log(`initialized`,this.options),this.emit(`initialized`,this.options),i.resolve(n),t(e,n)};if((this.languages||this.isLanguageChangingTo)&&!this.isInitialized)return e(null,this.t.bind(this));this.changeLanguage(this.options.lng,e)};return this.options.resources||!this.options.initAsync?a():setTimeout(a,0),i}loadResources(e,t=_w){let n=t,r=$(e)?e:this.language;if(typeof e==`function`&&(n=e),!this.options.resources||this.options.partialBundledLanguages){if(r?.toLowerCase()===`cimode`&&(!this.options.preload||this.options.preload.length===0))return n();let e=[],t=t=>{t&&t!==`cimode`&&this.services.languageUtils.toResolveHierarchy(t).forEach(t=>{t!==`cimode`&&(e.includes(t)||e.push(t))})};r?t(r):this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach(e=>t(e)),this.options.preload?.forEach?.(e=>t(e)),this.services.backendConnector.load(e,this.options.ns,e=>{!e&&!this.resolvedLanguage&&this.language&&this.setResolvedLanguage(this.language),n(e)})}else n(null)}reloadResources(e,t,n){let r=TC();return typeof e==`function`&&(n=e,e=void 0),typeof t==`function`&&(n=t,t=void 0),e||=this.languages,t||=this.options.ns,n||=_w,this.services.backendConnector.reload(e,t,e=>{r.resolve(),n(e)}),r}use(e){if(!e)throw Error(`You are passing an undefined module! Please check the object you are passing to i18next.use()`);if(!e.type)throw Error(`You are passing a wrong module! Please check the object you are passing to i18next.use()`);return e.type===`backend`&&(this.modules.backend=e),(e.type===`logger`||e.log&&e.warn&&e.error)&&(this.modules.logger=e),e.type===`languageDetector`&&(this.modules.languageDetector=e),e.type===`i18nFormat`&&(this.modules.i18nFormat=e),e.type===`postProcessor`&&ZC.addPostProcessor(e),e.type===`formatter`&&(this.modules.formatter=e),e.type===`3rdParty`&&this.modules.external.push(e),this}setResolvedLanguage(e){if(e&&this.languages&&![`cimode`,`dev`].includes(e)){for(let e=0;e<this.languages.length;e++){let t=this.languages[e];if(![`cimode`,`dev`].includes(t)&&this.store.hasLanguageSomeTranslations(t)){this.resolvedLanguage=t;break}}!this.resolvedLanguage&&!this.languages.includes(e)&&this.store.hasLanguageSomeTranslations(e)&&(this.resolvedLanguage=e,this.languages.unshift(e))}}changeLanguage(e,t){this.isLanguageChangingTo=e;let n=TC();this.emit(`languageChanging`,e);let r=e=>{this.language=e,this.languages=this.services.languageUtils.toResolveHierarchy(e),this.resolvedLanguage=void 0,this.setResolvedLanguage(e)},i=(i,a)=>{a?this.isLanguageChangingTo===e&&(r(a),this.translator.changeLanguage(a),this.isLanguageChangingTo=void 0,this.emit(`languageChanged`,a),this.logger.log(`languageChanged`,a)):this.isLanguageChangingTo=void 0,n.resolve((...e)=>this.t(...e)),t&&t(i,(...e)=>this.t(...e))},a=t=>{!e&&!t&&this.services.languageDetector&&(t=[]);let n=$(t)?t:t&&t[0],a=this.store.hasLanguageSomeTranslations(n)?n:this.services.languageUtils.getBestMatchFromCodes($(t)?[t]:t);a&&(this.language||r(a),this.translator.language||this.translator.changeLanguage(a),this.services.languageDetector?.cacheUserLanguage?.(a)),this.loadResources(a,e=>{i(e,a)})};return!e&&this.services.languageDetector&&!this.services.languageDetector.async?a(this.services.languageDetector.detect()):!e&&this.services.languageDetector&&this.services.languageDetector.async?this.services.languageDetector.detect.length===0?this.services.languageDetector.detect().then(a):this.services.languageDetector.detect(a):a(e),n}getFixedT(e,t,n,r){let i=r?.scopeNs,a=(e,t,...r)=>{let o;o=typeof t==`object`?{...t}:this.options.overloadTranslationOptionHandler([e,t].concat(r)),o.lng=o.lng||a.lng,o.lngs=o.lngs||a.lngs;let s=o.ns!==void 0&&o.ns!==null;o.ns=o.ns||a.ns,o.keyPrefix!==``&&(o.keyPrefix=o.keyPrefix||n||a.keyPrefix);let c={...this.options,...o};Array.isArray(i)&&!s&&(c.ns=i),typeof o.keyPrefix==`function`&&(o.keyPrefix=ew(o.keyPrefix,c));let l=this.options.keySeparator||`.`,u;return o.keyPrefix&&Array.isArray(e)?u=e.map(e=>(typeof e==`function`&&(e=ew(e,c)),`${o.keyPrefix}${l}${e}`)):(typeof e==`function`&&(e=ew(e,c)),u=o.keyPrefix?`${o.keyPrefix}${l}${e}`:e),this.t(u,o)};return $(e)?a.lng=e:a.lngs=e,a.ns=t,a.keyPrefix=n,a}t(...e){return this.translator?.translate(...e)}exists(...e){return this.translator?.exists(...e)}setDefaultNamespace(e){this.options.defaultNS=e}hasLoadedNamespace(e,t={}){if(!this.isInitialized)return this.logger.warn(`hasLoadedNamespace: i18next was not initialized`,this.languages),!1;if(!this.languages||!this.languages.length)return this.logger.warn(`hasLoadedNamespace: i18n.languages were undefined or empty`,this.languages),!1;let n=t.lng||this.resolvedLanguage||this.languages[0],r=this.options?this.options.fallbackLng:!1,i=this.languages[this.languages.length-1];if(n.toLowerCase()===`cimode`)return!0;let a=(e,t)=>{let n=this.services.backendConnector.state[`${e}|${t}`];return n===-1||n===0||n===2};if(t.precheck){let e=t.precheck(this,a);if(e!==void 0)return e}if(this.hasResourceBundle(n,e)||!this.services.backendConnector.backend||this.options.resources&&!this.options.partialBundledLanguages)return!0;let{languageUtils:o}=this.services,s=t.lng?o.isSupportedCode(n)&&o.toResolveHierarchy(n,!1)[0]:n;return!(s&&!a(s,e)||r&&!a(i,e))}loadNamespaces(e,t){let n=TC();return this.options.ns?($(e)&&(e=[e]),e.forEach(e=>{this.options.ns.includes(e)||this.options.ns.push(e)}),this.loadResources(e=>{n.resolve(),t&&t(e)}),n):(t&&t(),Promise.resolve())}loadLanguages(e,t){let n=TC();$(e)&&(e=[e]);let r=this.options.preload||[],i=e.filter(e=>!r.includes(e)&&this.services.languageUtils.isSupportedCode(e));return i.length?(this.options.preload=r.concat(i),this.loadResources(e=>{n.resolve(),t&&t(e)}),n):(t&&t(),Promise.resolve())}dir(e){if(e||=this.resolvedLanguage||(this.languages?.length>0?this.languages[0]:this.language),!e)return`rtl`;try{let t=new Intl.Locale(e);if(t&&t.getTextInfo){let e=t.getTextInfo();if(e&&e.direction)return e.direction}}catch{}let t=`ar.shu.sqr.ssh.xaa.yhd.yud.aao.abh.abv.acm.acq.acw.acx.acy.adf.ads.aeb.aec.afb.ajp.apc.apd.arb.arq.ars.ary.arz.auz.avl.ayh.ayl.ayn.ayp.bbz.pga.he.iw.ps.pbt.pbu.pst.prp.prd.ug.ur.ydd.yds.yih.ji.yi.hbo.men.xmn.fa.jpr.peo.pes.prs.dv.sam.ckb`.split(`.`),n=this.services?.languageUtils||new rw(hw());return e.toLowerCase().indexOf(`-latn`)>1?`ltr`:t.includes(n.getLanguagePartFromCode(e))||e.toLowerCase().indexOf(`-arab`)>1?`rtl`:`ltr`}static createInstance(t={},n){let r=new e(t,n);return r.createInstance=e.createInstance,r}cloneInstance(t={},n=_w){let r=t.forkResourceStore;r&&delete t.forkResourceStore;let i={...this.options,preload:!1,...t,isClone:!0},a=new e(i);if((t.debug!==void 0||t.prefix!==void 0)&&(a.logger=a.logger.clone(t)),[`store`,`services`,`language`].forEach(e=>{a[e]=this[e]}),a.services={...this.services},a.services.utils={hasLoadedNamespace:a.hasLoadedNamespace.bind(a)},r){let e=t=>{let n=Array.isArray(t)?[...t]:{...t};return Object.keys(n).forEach(t=>{n[t]&&typeof n[t]==`object`&&(n[t]=e(n[t]))}),n};a.store=new XC(e(this.store.data),i),a.services.resourceStore=a.store}if(t.interpolation){let e={...hw().interpolation,...this.options.interpolation,...t.interpolation},n={...i,interpolation:e};a.services.interpolator=new cw(n)}return a.translator=new nw(a.services,i),a.translator.on(`*`,(e,...t)=>{a.emit(e,...t)}),a.init(i,n),a.translator.options=i,a.translator.backendConnector.services.utils={hasLoadedNamespace:a.hasLoadedNamespace.bind(a)},a}toJSON(){return{options:this.options,store:this.store,language:this.language,languages:this.languages,resolvedLanguage:this.resolvedLanguage}}}.createInstance();yw.createInstance,yw.dir,yw.init,yw.loadResources,yw.reloadResources,yw.use,yw.changeLanguage,yw.getFixedT,yw.t,yw.exists,yw.setDefaultNamespace,yw.hasLoadedNamespace,yw.loadNamespaces,yw.loadLanguages;var bw=(e,t,n,r)=>{let i=[n,{code:t,...r||{}}];if(e?.services?.logger?.forward)return e.services.logger.forward(i,`warn`,`react-i18next::`,!0);Dw(i[0])&&(i[0]=`react-i18next:: ${i[0]}`),e?.services?.logger?.warn?e.services.logger.warn(...i):console?.warn&&console.warn(...i)},xw={},Sw=(e,t,n,r)=>{Dw(n)&&xw[n]||(Dw(n)&&(xw[n]=new Date),bw(e,t,n,r))},Cw=(e,t)=>()=>{if(e.isInitialized)t();else{let n=()=>{setTimeout(()=>{e.off(`initialized`,n)},0),t()};e.on(`initialized`,n)}},ww=(e,t,n)=>{e.loadNamespaces(t,Cw(e,n))},Tw=(e,t,n,r)=>{if(Dw(n)&&(n=[n]),e.options.preload&&e.options.preload.indexOf(t)>-1)return ww(e,n,r);n.forEach(t=>{e.options.ns.indexOf(t)<0&&e.options.ns.push(t)}),e.loadLanguages(t,Cw(e,r))},Ew=(e,t,n={})=>!t.languages||!t.languages.length?(Sw(t,`NO_LANGUAGES`,`i18n.languages were undefined or empty`,{languages:t.languages}),!0):t.hasLoadedNamespace(e,{lng:n.lng,precheck:(t,r)=>{if(n.bindI18n&&n.bindI18n.indexOf(`languageChanging`)>-1&&t.services.backendConnector.backend&&t.isLanguageChangingTo&&!r(t.isLanguageChangingTo,e))return!1}}),Dw=e=>typeof e==`string`,Ow=e=>typeof e==`object`&&!!e,kw=/&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g,Aw={"&":`&`,"&":`&`,"<":`<`,"<":`<`,">":`>`,">":`>`,"'":`'`,"'":`'`,""":`"`,""":`"`," ":`\xA0`," ":`\xA0`,"©":`©`,"©":`©`,"®":`®`,"®":`®`,"…":`…`,"…":`…`,"/":`/`,"/":`/`},jw=e=>Aw[e],Mw=e=>e.replace(kw,jw),Nw={bindI18n:`languageChanged`,bindI18nStore:``,transEmptyNodeValue:``,transSupportBasicHtmlNodes:!0,transWrapTextNodes:``,transKeepBasicHtmlNodesFor:[`br`,`strong`,`i`,`p`],useSuspense:!0,unescape:Mw,transDefaultProps:void 0},Pw=(e={})=>{Nw={...Nw,...e}},Fw=()=>Nw,Iw,Lw=e=>{Iw=e},Rw=()=>Iw,zw={type:`3rdParty`,init(e){Pw(e.options.react),Lw(e)}},Bw=(0,N.createContext)(),Vw=class{constructor(){this.usedNamespaces={}}addUsedNamespaces(e){e.forEach(e=>{this.usedNamespaces[e]||(this.usedNamespaces[e]=!0)})}getUsedNamespaces(){return Object.keys(this.usedNamespaces)}},Hw={t:(e,t)=>{if(Dw(t))return t;if(Ow(t)&&Dw(t.defaultValue))return t.defaultValue;if(typeof e==`function`)return``;if(Array.isArray(e)){let t=e[e.length-1];return typeof t==`function`?``:t}return e},ready:!1},Uw=()=>()=>{},Ww=(e,t={})=>{let{i18n:n}=t,{i18n:r,defaultNS:i}=(0,N.useContext)(Bw)||{},a=n||r||Rw();a&&!a.reportNamespaces&&(a.reportNamespaces=new Vw),a||Sw(a,`NO_I18NEXT_INSTANCE`,`useTranslation: You will need to pass in an i18next instance by using initReactI18next or by passing it via props or context. In monorepo setups, make sure there is only one instance of react-i18next.`);let o=(0,N.useMemo)(()=>({...Fw(),...a?.options?.react,...t}),[a,t]),{useSuspense:s,keyPrefix:c,bindI18n:l,bindI18nStore:u}=o,d=e||i||a?.options?.defaultNS,f=Dw(d)?[d]:d||[`translation`],p=(0,N.useMemo)(()=>f,f);a?.reportNamespaces?.addUsedNamespaces?.(p);let m=(0,N.useRef)(0),h=(0,N.useCallback)(e=>{if(!a)return Uw;let t=()=>{m.current+=1,e()};return l&&a.on(l,t),u&&a.store.on(u,t),()=>{l&&l.split(` `).forEach(e=>a.off(e,t)),u&&u.split(` `).forEach(e=>a.store.off(e,t))}},[a,l,u]),g=(0,N.useRef)(),_=(0,N.useCallback)(()=>{if(!a)return Hw;let e=!!(a.isInitialized||a.initializedStoreOnce)&&p.every(e=>Ew(e,a,o)),n=t.lng||a.language,r=m.current,i=typeof c==`function`?ew(c,{...a.options,ns:p}):c,s=g.current;if(s&&s.i18n===a&&s.ready===e&&s.lng===n&&s.namespaces===p&&s.keyPrefix===i&&s.revision===r)return s;let l={t:a.getFixedT(n,o.nsMode===`fallback`?p:p[0],c,{scopeNs:p}),i18n:a,ready:e,lng:n,namespaces:p,keyPrefix:i,revision:r};return g.current=l,l},[a,p,c,o,t.lng]),[v,y]=(0,N.useState)(0),{t:b,ready:x}=(0,oh.useSyncExternalStore)(h,_,_),S;a&&s&&!x&&(S=new Promise(e=>{let n=()=>e();t.lng?Tw(a,t.lng,p,n):ww(a,p,n)}),{t:b,ready:x}=_()),(0,N.useEffect)(()=>{if(a&&!x&&!s){let e=()=>y(e=>e+1);t.lng?Tw(a,t.lng,p,e):ww(a,p,e)}},[a,t.lng,p,x,s,v]);let C=a||{},w=(0,N.useRef)(null),T=(0,N.useRef)(),E=e=>`${e.language}|${e.resolvedLanguage}|${e.languages?.join(`,`)}`,D=e=>{let t=Object.getOwnPropertyDescriptors(e);t.__original&&delete t.__original;let n=Object.create(Object.getPrototypeOf(e),t);if(!Object.prototype.hasOwnProperty.call(n,`__original`))try{Object.defineProperty(n,"__original",{value:e,writable:!1,enumerable:!1,configurable:!1})}catch{}return n},O=(0,N.useMemo)(()=>{let e=C,t=e&&E(e),n=e;e&&(w.current&&w.current.__original===e&&T.current===t?n=w.current:(n=D(e),w.current=n,T.current=t));let r=!x&&!s?(...e)=>(Sw(a,`USE_T_BEFORE_READY`,`useTranslation: t was called before ready. When using useSuspense: false, make sure to check the ready flag before using t.`),b(...e)):b,i=[r,n,x];return i.t=r,i.i18n=n,i.ready=x,i},[b,C,x,C.resolvedLanguage,C.language,C.languages]);if(a&&s&&!x){let e=!1;try{e=!1}catch{}throw e&&Sw(a,`SUSPENDED_WHILE_LOADING`,`useTranslation: suspended while translations are loading (useSuspense is true by default). Add a <Suspense> boundary above this component, or set react.useSuspense: false in the i18next init options. https://react.i18next.com/latest/usetranslation-hook`),S}return O},Gw={en:`en`,zh:`zh-CN`};function Kw(e){for(let t of e){let e=t.split(`-`)[0]?.trim().toLowerCase();if(e===`zh`)return`zh`;if(e===`en`)return`en`}return`en`}var qw={common:{share:`Share`,retry:`Retry`,clearFilter:`Clear filter`,loading:`Loading…`,connecting:`Connecting…`,other:`Other`,project:`Project`,edit:`Edit`,delete:`Delete`,deleted:`Deleted`,resolved:`Resolved`,reopen:`Reopen`,markResolved:`Mark as resolved`,close:`Close`,reply:`Reply…`,cancel:`Cancel`,signInGithub:`Sign in with GitHub`,signInAgain:`Sign in again`,sessionExpired:`Your session expired. Sign in again.`,copy:`Copy`,copied:`Copied`,open:`Open`,requestFailed:`Request failed ({{status}})`,loadFailed:`Couldn't load ({{status}})`,upgradePro:`Upgrade to Pro`,you:`You`,done:`Done`,resolve:`Resolve`,send:`Send`,sendShortcut:`Send ⌘↵`,comment:`Comment`,collapse:`Collapse`,expand:`Expand`},time:{justNow:`just now`,notRecorded:`Time not recorded`,today:`Today`,yesterday:`Yesterday`,seconds:`{{count}}s`,minutes:`{{count}} min`,hours:`{{count}} h`},type:{all:`All`,artboard:`Artboard`,document:`Document`,html:`HTML`},library:{sortRecent:`Recently updated`,sortOldest:`Oldest updated`,sortName:`Name A–Z`,sortLabel:`Sort by`,localProject:`Local project`,reconnecting:`Reconnecting…`,count_one:`{{count}} artifact`,count_other:`{{count}} artifacts`,searchLabel:`Search artifacts`,searchPlaceholder:`Search artifacts…`,loadFailed:`Couldn't load artifacts.`,loadingList:`Loading artifacts…`,emptyTitle:`No artifacts in this project yet`,emptyBody:`Start a design discussion in this project. The artboards, documents and HTML pages it produces show up here.`,noMatchTitle:`No matching artifacts`,noMatchBody:`Try another keyword or type.`,listLabel:`Artifacts`,open:`Open {{title}}`,footer:`Updates live as project files change`},preview:{unavailable:`Preview unavailable`,loading:`Loading preview…`,waitingPage:`Waiting for page content…`,waitingDocument:`Waiting for document content…`,waitingCanvas:`Waiting for canvas content…`,frameTitle:`{{title}} preview`},comments:{waitingYou:`Waiting on you`,waitingAgent:`Waiting on {{agent}}`,agentReadsNext:`{{agent}} reads this next turn`,emptyCanvas:`Click anywhere on the canvas to add a comment`,replies_one:`{{count}} reply`,replies_other:`{{count}} replies`,pin:`Comment {{number}}`,anchoredTo:`Anchored to {{label}}`,addPlaceholder:`Add a comment…`,sendHint:`⌘↵ send · Esc cancel`},anchor:{rejected:`{{group}} · Rejected`,page:`Page {{page}}`,elements_one:`{{board}} · {{count}} element`,elements_other:`{{board}} · {{count}} elements`,evidenceUpdated:`Evidence updated`,stale:`Anchor no longer matches`},verdict:{passed:`Passed`,undo:`Undo`,rejected:`Rejected`,waitingFix_one:`Waiting for the agent to fix · {{count}} thread`,waitingFix_other:`Waiting for the agent to fix · {{count}} threads`,pending:`Awaiting review`,evidenceUpdatedAt:`Evidence updated {{time}}`,pass:`Pass`,reject:`Reject`,reasonRequired:`Reason required`,reasonPlaceholder:`Why are you rejecting this?`,rejectHint:`⌘↵ reject · Esc cancel · press C to mark the exact spot on a screenshot`,progress:`Verified {{passed}} / {{total}}`,nextPending:`Next group awaiting review`},questions:{previous:`Previous question`,next:`Next question`,jumpTo:`Jump to`,boards_one:`{{count}} board`,boards_other:`{{count}} boards`},video:{play:`Play`,pause:`Pause`,playTitle:`Play {{title}}`,pauseTitle:`Pause {{title}}`,failed:`Couldn't load the video: the format isn't supported, or the file was too large to transfer`,progress:`Progress`,speed:`Speed`,loop:`Loop`,expand:`Expand`},visibility:{private:`Private`,public:`Public`,onlyMe:`Only me`,anyoneWithLink:`Anyone with the link`,onlyMeHint:`Only you, after signing in`,anyoneHint:`No sign-in needed; anyone with the link can view`,whoCanSee:`Who can see this link`,anyoneCanView:`Anyone with the link can view`,offHint:`When off, only you can open it after signing in`,chip:`Visible to: {{label}}`,withLink:`Has link`},share:{linkLabel:`Share link`,copyFailed:`Couldn't copy. Copy the link by hand.`,copyNotPublic:`Copying doesn't make it public. `,appliesNow:`Changes apply right away; the link stays the same.`,getStarted:`Get started`,backToList:`Back to the Ryugi Cloud list`,breadcrumb:`Breadcrumb`,retrying:`Not synced, retrying`,computerOffline:`Computer offline`,computerOnline:`Computer online`,offlineNoComments:`Computer offline; commenting is unavailable`,comments:`Comments {{count}}`},publication:{label:`Cloud publication`,waiting:`Waiting to publish`,preparing:`Preparing publication`,uploading:`Uploading to the cloud`,publishing:`Finishing publication`,"not-ready":`Content is not ready`,failed:`Upload failed`,published:`Published to the cloud`,update_waiting:`Changes waiting to publish`,update_preparing:`Preparing update`,update_uploading:`Uploading update`,update_publishing:`Finishing update`,"update_not-ready":`Update is not ready`,update_failed:`Update failed`,waitingDescription:`This content has not been saved to the cloud yet. Other people cannot open the link.`,preparingDescription:`Checking the content and preparing its files for publication.`,uploadingDescription:`Saving files to the cloud. You can keep viewing and editing.`,publishingDescription:`Files are uploaded. Waiting for the cloud to confirm the published version.`,"not-readyDescription":`The content is incomplete or has warnings. It needs to be ready before it can be published.`,failedDescription:`Publication did not finish. Your local content is still here.`,publishedDescription:`The cloud version is available. Access follows the permission selected below.`,updateWaitingDescription:`The latest changes have not been published. The current link still opens the previous version.`,updateFailedDescription:`The latest changes were not published. The previous cloud version is still available.`,publishNow:`Publish now`,retry:`Retry publication`,linkPending:`Link available after publication`,permissionPending:`This permission takes effect after the first successful publication.`,autoPublish:`Auto-publish is on and will retry when it is time to publish.`,manualPublish:`Publish from the local app to make the link available.`,offline:`Open the local app on your computer to publish.`,updateLocal:`Update the local Ryugi app to publish from here.`,previousVersion:`Visitors currently see the previously published version.`},publish:{hintPrivate:`Only you can open the link, after signing in`,hintPublic:`Anyone with the link can open it, no sign-in needed`,readingStatus:`Reading publish status…`,signInPrompt:`Sign in to Ryugi Cloud to publish this artifact as a link you can share.`,waitingLogin:`Waiting for the browser to finish signing in…`,signedInAs:`Signed in as {{login}}`,signOut:`Sign out`,visibilityNotSynced:`Local visibility isn't synced to the cloud yet`,sync:`Sync`,update:`Update published version`,publish:`Publish`,unpublish:`Unpublish (the link stops working)`,autoPublishNote:`Auto-publish is on. After unpublishing, it skips this artifact until you publish it by hand again.`,published:`Published`,unpublishedChanges:`Unpublished changes`,upToDate:`The published copy is up to date`,localChanges:`Local changes aren't published`,localChangesAuto:`Local changes aren't published; they publish 5 minutes after edits stop`},planLimit:{total:`All {{max}} Pro slots are used. Delete some and try again.`,publishes:`You've used today's {{max}} publishes on the free plan.`,private:`All {{max}} private slots on the free plan are used.`,public:`All {{max}} public slots on the free plan are used.`,titlePrivate:`Private slots are full`,titlePublic:`Public slots are full`,thisWork:`this artifact`,leadPublic:`“{{title}}” stays private, so only you can open it. The free plan allows {{max}} public artifacts.`,leadPrivate:`“{{title}}” stays public, so anyone with the link can still open it. The free plan allows {{max}} private artifacts.`,upgradePrice:`$5 / month · 500 slots`,tidyPrivate:`Tidy up private artifacts`,tidyPublic:`Tidy up public artifacts`,stayPrivate:`Keep it private`,stayPublic:`Keep it public`,discount:`Have a discount code? Enter it at checkout.`,plans:`Plans`,free:`Free`},autoPublish:{label:`Auto-publish`,title:`Turn on auto-publish?`,hint:`After each agent turn, changed artifacts sync privately to Ryugi Cloud, so you can open them after signing in on another device.`,later:`Not now`,turnOn:`Turn on`},cloudLibrary:{filters:`Filters`,whoCanSee:`Who can see`,sideNote:`Deleting only removes the cloud copy; local source files stay.`,mine:`My artifacts`,count_one:`{{count}} item`,count_other:`{{count}} items`,filterByType:`Filter by type`,selectAll:`Select all in this list`,selectMany:`Select multiple`,name:`Name`,updated:`Updated`,toggle:`Toggle selection of {{title}}`,select:`Select {{title}}`,noneInFilter:`No artifacts match this filter.`,version:`Version`,deleteBreaks:`Deleting breaks the share link.`,deleteEllipsis:`Delete…`,selected_one:`{{count}} selected`,selected_other:`{{count}} selected`,selectHint:`Tick items in the list, or use the header checkbox to select everything in this filter.`,noneSelected:`Nothing selected yet.`,details:`Details`,deletedSome:`Deleted {{removed}}; {{failed}} not deleted. `,checkNetwork:`Check your network and try again.`,deletedAll_one:`Deleted {{count}} item. Its share link no longer works.`,deletedAll_other:`Deleted {{count}} items. Their share links no longer work.`,loadFailed:`Couldn't load your artifacts.`,reload:`Reload`,signedOutBody:`Artifacts shared from Ryugi live here. Sign in to see everything you've published.`,emptyTitle:`Nothing published yet`,emptyBody:`Turn on auto-publish, or publish from the local share panel, and it shows up here.`,retryDelete:`Retry delete`,deleteCount_one:`Delete {{count}} item`,deleteCount_other:`Delete {{count}} items`,summary:`{{artifacts}} · {{projects}}`,artifacts_one:`{{count}} artifact`,artifacts_other:`{{count}} artifacts`,projects_one:`{{count}} project`,projects_other:`{{count}} projects`,confirmTitle_one:`Delete this artifact?`,confirmTitle_other:`Delete these {{count}} artifacts?`,deleting:`Deleting…`,confirmBody:`The cloud content and its version history are deleted for good, and share links stop working. This can't be undone.`,keepLocal:`Local source files stay.`,keepLocalBody:`Once the local app sees the cloud copy is gone, it stops auto-publishing it. Publishing by hand later creates a new link.`},notFound:{title:`This link can't be opened`,lead:`It may be private, taken down, or incomplete.`,fromSomeone:`Got it from someone else? Ask them to make it public.`,signedInAs:`You're signed in as <b>{{login}}</b>. This link doesn't belong to this account, or it was taken down.`,switchAccount:`Switch account`,yours:`Did you publish it? `,signInThen:` then open it again.`,promoTitle:`Have your agent draw the plan for you`,promoText:`Ryugi has your coding agent make mockups and write a design doc first, and only write code once you approve.`,viewGithub:`View on GitHub`},cloudShell:{notPublished:`Not published yet. While the computer is online, it shows here live.`,untitled:`Not published yet`},activity:{editing:`{{agent}} is editing`,editingSection:`{{agent}} is editing {{section}}`,pending_one:`{{agent}} has {{count}} section left`,pending_other:`{{agent}} has {{count}} sections left`,updatedJustNow:`{{left}} · updated just now`,updatedAgo:`{{left}} · updated {{duration}} ago`,stale_one:`{{agent}} hasn't updated in {{duration}} · {{count}} section left`,stale_other:`{{agent}} hasn't updated in {{duration}} · {{count}} sections left`},document:{wholeBlock:`Whole block`,waitingAgentReply:`Waiting on {{agent}}`,agentReplied:`{{agent}} replied`,waitingCount:`{{count}} waiting on {{agent}}`,offlineNoComments:`Computer offline; commenting is unavailable`,sheetComments:`Comments {{count}}`,agentPlaceholder:`Comment for the agent…`,noComments:`No comments yet. Select text to comment.`,toc:`Contents`,notSynced:`Not synced, retrying`,readOnlyHistory:`Read-only · comparing history`,originalDeleted:`Original text deleted`,copy:`Copy`,draftRestored:`Restored your last draft`,draftPlaceholder:`Write a question or comment…`,unsent:`Not sent: the computer went offline. Your text is still here.`,editText:`Edit text`,pending:`To be written`,unfinished:`Unfinished`,versionReason:`Ryugi on the computer is {{host}} and this page is {{viewer}}; until the versions match you can only comment`,unknownVersion:`an unknown version`,notPublished:`Not published yet. While the computer is online, it shows here live.`,rail:`Sidebar`,historyOffline:`Computer offline; history unavailable`,history:`History`,commentsLabel:`Comments`,railComments:`Comments {{count}}`},mermaid:{zoomOut:`Zoom out`,zoomIn:`Zoom in`,fit:`Fit to window`,actualSize:`Actual size`,copySource:`Copy source`,diagram:`Mermaid diagram`,open:`Enlarge Mermaid diagram`,clickToEnlarge:`Click to enlarge`},history:{kindInsert:`Added`,kindDelete:`Removed`,kindModify:`Changed`,unchanged_one:`{{count}} unchanged block · expand`,unchanged_other:`{{count}} unchanged blocks · expand`,compareFrom:`Compare from · tap to change`,pickPoint:`Pick a point in time`,toLatest:`{{from}} → latest`,readFailed:`Couldn't read history: {{error}}`,unreadable:`History can't be read; see the panel for details.`,waitingEdits:`Waiting for this round of edits to finish…`,computing:`Computing the diff…`,diffBody:`Diff`,noDiff:`No differences from the selected point. Pick an earlier entry to see changes.`,endOfDiff:`End of this comparison. Media files aren't archived in history; a file at the same address may have changed.`,contentUnavailable:`This version's content isn't available`,dynamic:`Live block (not run in history)
|
|
59
|
+
{{url}}
|
|
60
|
+
Height: {{height}}px
|
|
61
|
+
{{props}}`,pendingIntent:`To be written: {{intent}}`,sourceHuman:`Browser edit`,sourceAgent:`Agent edit`,sourceSession:`Session start`,sourceUnknown:`Unlabeled edit`,previousChange:`Previous change`,nextChange:`Next change`,onlyChanges:`Changes only`,newContent:`The document has new content; the comparison still stops at {{time}}`,refresh:`Update comparison`,range:`Comparison range`,from:`From`,to:`To`,latestVersion:`Latest version`,changes_one:`{{count}} change`,changes_other:`{{count}} changes`,timeline:`History timeline`,latest:`Latest`,start:`Compare from here`,commits_one:`{{count}} commit`,commits_other:`{{count}} commits`,changedSuffix_one:` · {{count}} change`,changedSuffix_other:` · {{count}} changes`,collapseCommits:`Hide raw commits`,expandCommits:`Show raw commits`,loadEarlier:`Load earlier entries`,shallow:`Earlier history wasn't kept`,earliest:`Reached the earliest entry`,summary:`{{edits}} · {{commits}}`,edits_one:`{{count}} edit`,edits_other:`{{count}} edits`,clockNote:`Times come from the editing device; entries are in causal order`,agentEditing:`The agent is editing`,agentEditingBody:`History loads once this round of edits finishes, so the diff isn't half-written`,loading:`Loading history…`,failed:`Couldn't read history`,failedBody:`The document itself is fine; you can keep reading and commenting.`,backToComments:`Back to comments`,title:`History`,close:`Close history and return to comments`,chooseStart:`Choose a starting point`,compareWithLatest:`Against the latest version · {{time}}`},phone:{backToCanvas:`Back to canvas`,previousBoard:`Previous board`,nextBoard:`Next board`},errors:{invalid_request:`The request wasn't valid.`,sign_in_required:`Sign in to Ryugi Cloud first.`,forbidden:`You don't have access to this.`,cross_site_refused:`This request came from another site and was refused.`,not_found:`Not found.`,body_too_large:`The request is too large.`,rate_limited:`Too many requests. Wait a moment and try again.`,server_error:`Ryugi Cloud ran into a problem. Try again later.`,artifact_storage_limit:`This artifact has reached its storage limit, including retained versions and uploads.`,artifact_too_large:`This artifact is too large to publish.`,artifact_not_found:`This artifact no longer exists.`,artifact_deleting:`This artifact is being deleted.`,missing_entry_file:`This artifact is missing its main file.`,missing_files:`Some files haven't been uploaded yet. Publish again.`,publish_conflict:`The artifact changed while publishing. Try again.`,upload_conflict:`The artifact changed while uploading. Try again.`,upload_busy:`A file is still uploading. Try again.`,delete_busy:`An upload is finishing. Try deleting again.`,count_conflict:`Your artifact count changed while saving. Try again.`,view_limit:`This link has reached its monthly view limit.`,view_rate_limited:`Too many views from this network. Try again tomorrow.`,live_paused:`Live preview is paused until 00:00 UTC.`,live_connections_full:`Too many live connections. Close some tabs and try again.`,service_paused:`Ryugi Cloud is paused for now. Try again later.`,publish_not_ready:`Fix these before publishing:`},chrome:{switchPage:`Switch page`,noPages:`No pages`,selectTitle:`Select (V)`,select:`Select`,handTitle:`Hand (H) — or hold Space`,hand:`Hand`,commentTitle:`Comment (C)`,comment:`Comment`,live:`Live`,reconnecting:`Reconnecting…`,warnings_one:`{{count}} warning`,warnings_other:`{{count}} warnings`,toggleInspector:`Toggle inspector`,inspector:`Inspector`,zoomIn:`Zoom in`,zoomOut:`Zoom out`,zoomFit:`Zoom to fit`,zoomActual:`Zoom to 100%`,zoom:`Zoom`,comments:`Comments`,closeComments:`Close comments`,closeCommentsTitle:`Close (V)`,openTab:`Open {{count}}`,allTab:`All {{count}}`,expand:`Expand`,expandBoard:`Expand {{id}}`,download:`Download`,downloadBoard:`Download {{id}}`,parametersBoard:`Parameters {{id}}`,parameters:`Parameters`,replay:`Replay`,replayBoard:`Replay {{id}}`,playBoard:`Play {{id}}`,stopBoard:`Stop {{id}}`,playing:`PLAYING`,play:`PLAY`,closeEsc:`Close (Esc)`,close:`Close`,waitingCanvas:`Waiting for the agent to write canvas.json…`,canvasFailed:`The canvas could not be drawn: {{message}}`},inspector:{tab:{Properties:`Properties`,Code:`Code`,Tweaks:`Tweaks`},copied:`Copied to clipboard`,copyFailed:`Copy failed. Select the code and copy it manually.`,label:`Inspector`,views:`Inspector views`,close:`Close inspector`,selected:`{{count}} selected`,selectElement:`Select an element`,copyNode:`Copy node ID`,live:`Live`,lastSelected:`Properties show the last selected element.`,closeExpanded:`Close the expanded preview to inspect elements.`,pickElement:`Click an element on the canvas or choose a layer to inspect its properties.`,computedCss:`Computed CSS`,copy:`Copy`,fromDom:`From the live DOM. Source files stay unchanged.`,selectForCode:`Select an element to view its HTML and CSS.`,sessionChanges:`Session changes`,changesApply:`Changes apply to this preview until the frame reloads.`,noChanges:`No changes yet. Adjust a property to try it.`,resetPreview:`Reset preview`,previewChanges_one:`{{count}} preview change`,previewChanges_other:`{{count}} preview changes`,liveInspection:`Live inspection`,previewOnly:`Preview only`,size:`Size`,width:`Width`,widthSizing:`Width sizing`,height:`Height`,heightSizing:`Height sizing`,fixed:`Fixed`,fill:`Fill`,hug:`Hug`,position:`Position`,inline:`Inline`,relative:`Relative`,absolute:`Absolute`,sticky:`Sticky`,grow:`Grow`,layout:`Layout`,stack:`Stack`,grid:`Grid`,block:`Block`,inlineStack:`Inline stack`,hidden:`Hidden`,direction:`Direction`,horizontal:`Horizontal`,vertical:`Vertical`,align:`Align`,start:`Start`,center:`Center`,gap:`Gap`,padding:`Padding`,appearance:`Appearance`,opacity:`Opacity`,radius:`Radius`,border:`Border`,none:`None`,solid:`Solid`,dashed:`Dashed`,dotted:`Dotted`,typography:`Typography`,fontSize:`Font size`,color:`Color`,effects:`Effects`,shadow:`Shadow`,kind:{Frame:`Frame`,Column:`Column`,Row:`Row`,Grid:`Grid`,Title:`Title`,Text:`Text`,Image:`Image`,Button:`Button`},playing:`Playing`,layers:`LAYERS`,elements_one:`{{count}} element`,elements_other:`{{count}} elements`,domLayers:`DOM layers`,waitingBoard:`Waiting for a ready board…`,truncated:`Showing up to 2,500 elements per board and 50 levels.`},parameters:{controls:`Controls`,title:`Parameters`,close:`Close parameters`,currentBoard:`Current board`,declaredBy:`Declared by this board's author`,viewDeclaration:`View declaration`,changed:`{{count}} changed · this board`,defaults:`Defaults`,reset:`Reset`,declaration:`Parameter declaration`,closeDeclaration:`Close declaration`,currentValues:`Current values`,sessionOnly:`Preview values stay in this viewer session. Source files are unchanged.`}},Jw={common:{share:`分享`,retry:`重试`,clearFilter:`清除筛选`,loading:`正在加载…`,connecting:`正在连接…`,other:`其他`,project:`项目`,edit:`编辑`,delete:`删除`,deleted:`已删除`,resolved:`已解决`,reopen:`重新打开`,markResolved:`标为已解决`,close:`关闭`,reply:`回复…`,cancel:`取消`,signInGithub:`用 GitHub 登录`,signInAgain:`重新登录`,sessionExpired:`登录已过期,请重新登录。`,copy:`复制`,copied:`已复制`,open:`打开`,requestFailed:`请求失败({{status}})`,loadFailed:`加载失败({{status}})`,upgradePro:`升级到 Pro`,you:`你`,done:`完成`,resolve:`解决`,send:`发送`,sendShortcut:`发送 ⌘↵`,comment:`评论`,collapse:`收起`,expand:`展开`},time:{justNow:`刚刚`,notRecorded:`时间未记录`,today:`今天`,yesterday:`昨天`,seconds:`{{count}} 秒`,minutes:`{{count}} 分钟`,hours:`{{count}} 小时`},type:{all:`全部`,artboard:`Artboard`,document:`Document`,html:`HTML`},library:{sortRecent:`最近更新`,sortOldest:`最早更新`,sortName:`名称 A–Z`,sortLabel:`排序方式`,localProject:`本地项目`,reconnecting:`正在重连…`,count_other:`{{count}} 个 Artifact`,searchLabel:`搜索 Artifact`,searchPlaceholder:`搜索 Artifact…`,loadFailed:`暂时无法加载 Artifact。`,loadingList:`正在加载 Artifact…`,emptyTitle:`这个项目还没有 Artifact`,emptyBody:`在项目中开始一次设计讨论,生成的画板、文档和 HTML 会出现在这里。`,noMatchTitle:`没有找到匹配的 Artifact`,noMatchBody:`试试其他关键词或类型。`,listLabel:`Artifact 列表`,open:`打开 {{title}}`,footer:`内容随项目文件实时更新`},preview:{unavailable:`预览暂不可用`,loading:`正在加载预览…`,waitingPage:`等待页面内容…`,waitingDocument:`等待文档内容…`,waitingCanvas:`等待画布内容…`,frameTitle:`{{title}} 预览`},comments:{waitingYou:`等你回复`,waitingAgent:`等 {{agent}}`,agentReadsNext:`{{agent}} 下一轮会读到这条`,emptyCanvas:`点画布上的任意位置添加评论`,replies_other:`{{count}} 条回复`,pin:`评论 {{number}}`,anchoredTo:`锚到 {{label}}`,addPlaceholder:`添加评论…`,sendHint:`⌘↵ 发送 · Esc 取消`},anchor:{rejected:`{{group}} · 打回`,page:`页面 {{page}}`,elements_other:`{{board}} · {{count}} 个元素`,evidenceUpdated:`证据已更新`,stale:`锚点已失效`},verdict:{passed:`已通过`,undo:`撤销`,rejected:`已打回`,waitingFix_other:`等 agent 修复 · {{count}} 条线程`,pending:`待验收`,evidenceUpdatedAt:`证据已更新 {{time}}`,pass:`通过`,reject:`打回`,reasonRequired:`原因必填`,reasonPlaceholder:`写下打回原因…`,rejectHint:`⌘↵ 打回 · Esc 取消 · 可以再按 C 在截图上标出具体位置`,progress:`验收 {{passed}} / {{total}}`,nextPending:`下一个待验收的 group`},questions:{previous:`上一题`,next:`下一题`,jumpTo:`跳到`,boards_other:`{{count}} 张`},video:{play:`播放`,pause:`暂停`,playTitle:`播放 {{title}}`,pauseTitle:`暂停 {{title}}`,failed:`视频加载失败:格式不受支持,或文件太大没能传过来`,progress:`进度`,speed:`倍速`,loop:`循环`,expand:`放大`},visibility:{private:`私有`,public:`公开`,onlyMe:`仅自己`,anyoneWithLink:`有链接的人`,onlyMeHint:`登录后只有你能打开`,anyoneHint:`不用登录,拿到链接就能看`,whoCanSee:`谁能看到这个链接`,anyoneCanView:`有链接的人可以看`,offHint:`关闭时,只有你登录后能打开`,chip:`{{label}}可见`,withLink:`有链接`},share:{linkLabel:`分享链接`,copyFailed:`复制失败,请手动复制链接。`,copyNotPublic:`复制不会自动公开。`,appliesNow:`改动立即生效,链接不变。`,getStarted:`开始使用`,backToList:`返回 Ryugi Cloud 列表`,breadcrumb:`面包屑`,retrying:`未同步,正在重试`,computerOffline:`电脑离线`,computerOnline:`电脑在线`,offlineNoComments:`电脑离线,暂时不能评论`,comments:`评论 {{count}}`},publication:{label:`云端发布`,waiting:`等待发布`,preparing:`正在准备发布`,uploading:`正在上传到云端`,publishing:`正在完成发布`,"not-ready":`内容还没准备好`,failed:`上传未完成`,published:`已发布到云端`,update_waiting:`修改等待发布`,update_preparing:`正在准备更新`,update_uploading:`正在上传更新`,update_publishing:`正在完成更新`,"update_not-ready":`更新还没准备好`,update_failed:`更新未完成`,waitingDescription:`内容还没有保存到云端,暂时无法通过链接分享给其他人。`,preparingDescription:`正在检查内容并准备发布所需的文件。`,uploadingDescription:`正在把文件保存到云端,你可以继续查看和编辑。`,publishingDescription:`文件已上传,正在等待云端确认发布成功。`,"not-readyDescription":`内容尚未完整或仍有警告,需要准备好后才能发布。`,failedDescription:`发布尚未完成,本地内容仍然保留。`,publishedDescription:`云端版本已可访问,谁能查看取决于下面的权限。`,updateWaitingDescription:`最新修改还没有发布,当前链接仍可打开上次发布的版本。`,updateFailedDescription:`最新修改未能发布,上次的云端版本仍然可用。`,publishNow:`立即发布`,retry:`重试发布`,linkPending:`发布完成后可复制链接`,permissionPending:`此权限将在首次发布成功后生效。`,autoPublish:`自动发布已开启,会在下一次发布时重试。`,manualPublish:`在本地应用中发布后,链接才会可用。`,offline:`请在电脑上打开本地应用后发布。`,updateLocal:`请更新电脑上的 Ryugi 应用,以便在这里发布。`,previousVersion:`访客目前看到上次发布的版本。`},publish:{hintPrivate:`只有你登录后能打开链接`,hintPublic:`拿到链接的人都能打开,不需要登录`,readingStatus:`正在读取发布状态…`,signInPrompt:`登录 Ryugi Cloud 后,可以把这个 artifact 发布成一个链接分享给别人。`,waitingLogin:`等待浏览器完成登录…`,signedInAs:`已登录:{{login}}`,signOut:`退出登录`,visibilityNotSynced:`本地可见性还没同步到云端`,sync:`同步`,update:`更新发布内容`,publish:`发布`,unpublish:`取消发布(链接将失效)`,autoPublishNote:`自动发布已打开。取消发布后它会跳过这个 artifact,直到你再手动发布一次。`,published:`已发布`,unpublishedChanges:`有未发布的修改`,upToDate:`线上已是最新`,localChanges:`本地有未发布的修改`,localChangesAuto:`本地有未发布的修改,停止修改 5 分钟后自动更新`},planLimit:{total:`Pro 的 {{max}} 个名额已用完,删除一些后再试。`,publishes:`免费版今天的 {{max}} 次发布已用完。`,private:`免费版的 {{max}} 个私有名额已用完。`,public:`免费版的 {{max}} 个公开名额已用完。`,titlePrivate:`私有名额已用完`,titlePublic:`公开名额已用完`,thisWork:`这个作品`,leadPublic:`「{{title}}」会保持私有,只有你能打开。免费版最多公开 {{max}} 个作品。`,leadPrivate:`「{{title}}」会保持公开,有链接的人仍能打开。免费版最多私有 {{max}} 个作品。`,upgradePrice:`$5 / 月 · 500 个名额`,tidyPrivate:`去整理私有作品`,tidyPublic:`去整理公开作品`,stayPrivate:`先保持私有`,stayPublic:`先保持公开`,discount:`有折扣码?在付款页填写。`,plans:`方案`,free:`免费版`},autoPublish:{label:`自动发布`,title:`要打开自动发布吗?`,hint:`agent 每轮结束后,改过的 artifact 会以私密方式同步到 Ryugi Cloud,换台设备登录后也能打开。`,later:`以后再说`,turnOn:`打开`},cloudLibrary:{filters:`筛选`,whoCanSee:`谁能看到`,sideNote:`删除只移除云端副本,本地源文件保留。`,mine:`我的 Artifact`,count_other:`{{count}} 个`,filterByType:`按类型筛选`,selectAll:`全选当前列表`,selectMany:`选择多项`,name:`名称`,updated:`更新`,toggle:`切换选择 {{title}}`,select:`选择 {{title}}`,noneInFilter:`这个筛选下没有 Artifact。`,version:`版本`,deleteBreaks:`删除后原分享链接会失效。`,deleteEllipsis:`删除…`,selected_other:`已选 {{count}} 项`,selectHint:`勾选左侧列表,或用表头的复选框全选当前筛选。`,noneSelected:`还没有选中任何一项。`,details:`详情`,deletedSome:`已删除 {{removed}} 项,{{failed}} 项未删除。`,checkNetwork:`请检查网络后重试。`,deletedAll_other:`已删除 {{count}} 项,原分享链接已失效。`,loadFailed:`暂时无法加载你的 Artifact。`,reload:`重新加载`,signedOutBody:`这里存放从 Ryugi 分享出来的 artifact。登录后可以看到你自己发布的全部 artifact。`,emptyTitle:`还没有发布过 Artifact`,emptyBody:`打开自动发布,或在本地分享面板里发布,它们会出现在这里。`,retryDelete:`重试删除`,deleteCount_other:`删除 {{count}} 项`,summary:`{{artifacts}} · {{projects}}`,artifacts_other:`{{count}} 个 Artifact`,projects_other:`{{count}} 个项目`,confirmTitle_other:`删除这 {{count}} 个 Artifact?`,deleting:`正在删除…`,confirmBody:`云端内容和历史版本将永久删除,原分享链接会失效。此操作无法撤销。`,keepLocal:`本地源文件会保留。`,keepLocalBody:`本地发现云端副本已删除后,会停止自动发布。之后手动发布会生成新链接。`},notFound:{title:`这个链接打不开`,lead:`它可能是私有的、已被撤下,或者链接不完整。`,fromSomeone:`别人发给你的?请对方把它设为公开。`,signedInAs:`你已用 <b>{{login}}</b> 登录,这个链接不属于这个账号,或已被撤下。`,switchAccount:`换个账号`,yours:`你自己发布的?`,signInThen:`后再打开。`,promoTitle:`让 agent 把方案画给你看`,promoText:`Ryugi 让 coding agent 先出 mockup、写设计文档,确认后再写代码。`,viewGithub:`在 GitHub 上查看`},cloudShell:{notPublished:`还没发布。电脑在线时,这里会实时显示。`,untitled:`还没发布`},activity:{editing:`{{agent}} 正在编辑`,editingSection:`{{agent}} 正在编辑 {{section}}`,pending_other:`{{agent}} 还有 {{count}} 节待写`,updatedJustNow:`{{left}} · 刚刚更新`,updatedAgo:`{{left}} · {{duration}}前更新`,stale_other:`{{agent}} {{duration}}没有更新 · 还有 {{count}} 节待写`},document:{wholeBlock:`整段`,waitingAgentReply:`等 {{agent}} 回复`,agentReplied:`{{agent}} 已回复`,waitingCount:`{{count}} 条等 {{agent}} 回复`,offlineNoComments:`电脑离线,暂时不能评论`,sheetComments:`评论 {{count}}`,agentPlaceholder:`写给 agent 的评论…`,noComments:`还没有评论。选中文字就能评论。`,toc:`目录`,notSynced:`未同步,正在重试`,readOnlyHistory:`只读 · 正在对比历史`,originalDeleted:`原文已删除`,copy:`复制`,draftRestored:`已恢复上次的草稿`,draftPlaceholder:`写下你的问题或意见…`,unsent:`没发出去:电脑离线了,文字还在这里`,editText:`改字`,pending:`待写`,unfinished:`未完成`,versionReason:`电脑上的 ryugi 是 {{host}},网页是 {{viewer}},版本对上之前只能评论`,unknownVersion:`未知版本`,notPublished:`还没发布。电脑在线时,这里会实时显示。`,rail:`侧栏`,historyOffline:`电脑离线,历史暂不可用`,history:`历史`,commentsLabel:`评论`,railComments:`评论 {{count}}`},mermaid:{zoomOut:`缩小`,zoomIn:`放大`,fit:`适配窗口`,actualSize:`原尺寸`,copySource:`复制源码`,diagram:`Mermaid 图`,open:`放大查看 Mermaid 图`,clickToEnlarge:`点击放大查看`},history:{kindInsert:`新增`,kindDelete:`删除`,kindModify:`修改`,unchanged_other:`{{count}} 段未改动 · 展开`,compareFrom:`对比起点 · 点按切换`,pickPoint:`选择时间点`,toLatest:`{{from}} → 最新`,readFailed:`无法读取历史:{{error}}`,unreadable:`历史暂不可读,详情见右侧。`,waitingEdits:`等待本轮编辑完成…`,computing:`正在计算差异…`,diffBody:`差异正文`,noDiff:`与所选时间点没有差异。选择更早的记录查看修改。`,endOfDiff:`已到本次对比末尾。媒体资源未做历史归档,同一地址的文件可能已更新。`,contentUnavailable:`此版本的文档内容不可用`,dynamic:`动态内容(历史中不运行)
|
|
62
|
+
{{url}}
|
|
63
|
+
高度:{{height}}px
|
|
64
|
+
{{props}}`,pendingIntent:`待完成:{{intent}}`,sourceHuman:`浏览器编辑`,sourceAgent:`Agent 编辑`,sourceSession:`会话开始`,sourceUnknown:`未标记编辑`,previousChange:`上一处变更`,nextChange:`下一处变更`,onlyChanges:`仅看变更`,newContent:`文档有新内容,对比仍停在 {{time}}`,refresh:`更新对比`,range:`对比范围`,from:`从`,to:`到`,latestVersion:`最新版本`,changes_other:`{{count}} 处变更`,timeline:`历史时间线`,latest:`最新`,start:`对比起点`,commits_other:`{{count}} 次提交`,changedSuffix_other:` · {{count}} 处变更`,collapseCommits:`收起原始提交`,expandCommits:`展开原始提交`,loadEarlier:`加载更早记录`,shallow:`更早历史未保留`,earliest:`已到最早记录`,summary:`{{edits}} · {{commits}}`,edits_other:`{{count}} 段编辑`,clockNote:`时间来自编辑设备,按因果顺序排列`,agentEditing:`Agent 正在编辑`,agentEditingBody:`本轮编辑完成后再读取历史,避免对比到半截内容`,loading:`正在加载历史…`,failed:`无法读取历史`,failedBody:`文档本身没有受影响,可以继续阅读与评论。`,backToComments:`回到评论`,title:`历史记录`,close:`关闭历史,回到评论`,chooseStart:`选择对比起点`,compareWithLatest:`与最新版本 · {{time}} 比较`},phone:{backToCanvas:`返回画布`,previousBoard:`上一张`,nextBoard:`下一张`},errors:{invalid_request:`请求无效。`,sign_in_required:`请先登录 Ryugi Cloud。`,forbidden:`你没有权限访问这里。`,cross_site_refused:`这个请求来自其他网站,已被拒绝。`,not_found:`找不到。`,body_too_large:`请求内容太大。`,rate_limited:`请求太频繁,稍等一会儿再试。`,server_error:`Ryugi Cloud 出了点问题,稍后再试。`,artifact_storage_limit:`这个 artifact 已达存储上限(含保留的历史版本和上传)。`,artifact_too_large:`这个 artifact 太大,无法发布。`,artifact_not_found:`这个 artifact 已经不存在。`,artifact_deleting:`这个 artifact 正在删除。`,missing_entry_file:`这个 artifact 缺少主文件。`,missing_files:`还有文件没上传完,请重新发布。`,publish_conflict:`发布时 artifact 有变动,请重试。`,upload_conflict:`上传时 artifact 有变动,请重试。`,upload_busy:`有文件正在上传,请重试。`,delete_busy:`有上传正在收尾,请再删除一次。`,count_conflict:`保存时 artifact 数量有变动,请重试。`,view_limit:`这个链接本月的浏览次数已用完。`,view_rate_limited:`这个网络的浏览次数太多,明天再试。`,live_paused:`实时预览已暂停,UTC 00:00 恢复。`,live_connections_full:`实时连接太多,关掉一些标签页后再试。`,service_paused:`Ryugi Cloud 暂停服务中,稍后再试。`,publish_not_ready:`发布前先修复这些问题:`},chrome:{switchPage:`切换页面`,noPages:`没有页面`,selectTitle:`选择 (V)`,select:`选择`,handTitle:`抓手 (H),或按住空格`,hand:`抓手`,commentTitle:`评论 (C)`,comment:`评论`,live:`已连接`,reconnecting:`正在重连…`,warnings_other:`{{count}} 条警告`,toggleInspector:`开关检查器`,inspector:`检查器`,zoomIn:`放大`,zoomOut:`缩小`,zoomFit:`缩放到适合`,zoomActual:`缩放到 100%`,zoom:`缩放`,comments:`评论`,closeComments:`关闭评论`,closeCommentsTitle:`关闭 (V)`,openTab:`未解决 {{count}}`,allTab:`全部 {{count}}`,expand:`展开`,expandBoard:`展开 {{id}}`,download:`下载`,downloadBoard:`下载 {{id}}`,parametersBoard:`{{id}} 的参数`,parameters:`参数`,replay:`重播`,replayBoard:`重播 {{id}}`,playBoard:`播放 {{id}}`,stopBoard:`停止 {{id}}`,playing:`播放中`,play:`播放`,closeEsc:`关闭 (Esc)`,close:`关闭`,waitingCanvas:`等 Agent 写入 canvas.json…`,canvasFailed:`画布画不出来:{{message}}`},inspector:{tab:{Properties:`属性`,Code:`代码`,Tweaks:`调整`},copied:`已复制到剪贴板`,copyFailed:`复制失败。请选中代码手动复制。`,label:`检查器`,views:`检查器视图`,close:`关闭检查器`,selected:`已选 {{count}} 个`,selectElement:`选一个元素`,copyNode:`复制节点 ID`,live:`实时`,lastSelected:`属性显示最后选中的元素。`,closeExpanded:`关掉展开的预览后才能检查元素。`,pickElement:`点画布上的元素,或在图层里选一个,查看它的属性。`,computedCss:`计算后的 CSS`,copy:`复制`,fromDom:`取自实时 DOM,源文件不变。`,selectForCode:`选一个元素查看它的 HTML 和 CSS。`,sessionChanges:`本次调整`,changesApply:`调整只作用于这个预览,画面重新加载后失效。`,noChanges:`还没有调整。改一个属性试试。`,resetPreview:`重置预览`,previewChanges_other:`{{count}} 处预览调整`,liveInspection:`实时检查`,previewOnly:`只是预览`,size:`尺寸`,width:`宽`,widthSizing:`宽度模式`,height:`高`,heightSizing:`高度模式`,fixed:`固定`,fill:`填充`,hug:`适应内容`,position:`定位`,inline:`行内`,relative:`相对`,absolute:`绝对`,sticky:`粘性`,grow:`伸展`,layout:`布局`,stack:`堆叠`,grid:`网格`,block:`块`,inlineStack:`行内堆叠`,hidden:`隐藏`,direction:`方向`,horizontal:`水平`,vertical:`垂直`,align:`对齐`,start:`起点`,center:`居中`,gap:`间距`,padding:`内边距`,appearance:`外观`,opacity:`不透明度`,radius:`圆角`,border:`边框`,none:`无`,solid:`实线`,dashed:`虚线`,dotted:`点线`,typography:`文字`,fontSize:`字号`,color:`颜色`,effects:`效果`,shadow:`阴影`,kind:{Frame:`画框`,Column:`列`,Row:`行`,Grid:`网格`,Title:`标题`,Text:`文本`,Image:`图片`,Button:`按钮`},playing:`播放中`,layers:`图层`,elements_other:`{{count}} 个元素`,domLayers:`DOM 图层`,waitingBoard:`等画板准备好…`,truncated:`每个画板最多显示 2,500 个元素、50 层。`},parameters:{controls:`控件`,title:`参数`,close:`关闭参数`,currentBoard:`当前画板`,declaredBy:`由这个画板的作者声明`,viewDeclaration:`查看声明`,changed:`改了 {{count}} 项 · 本画板`,defaults:`默认值`,reset:`重置`,declaration:`参数声明`,closeDeclaration:`关闭声明`,currentValues:`当前值`,sessionOnly:`预览值只保留在这次查看中,源文件不变。`}};function Yw(){return typeof navigator>`u`?[]:navigator.languages?.length?navigator.languages:navigator.language?[navigator.language]:[]}function Xw(e,t){return e.init({lng:Kw(t),fallbackLng:`en`,supportedLngs:[`en`,`zh`],resources:{en:{translation:qw},zh:{translation:Jw}},interpolation:{escapeValue:!1},initAsync:!1}),e}var Zw=Xw(yw.createInstance().use(zw),Yw()),Qw=Zw.t.bind(Zw),$w=()=>({version:1,threads:[]});function eT(e){if(e.status===`resolved`)return null;let t=e.messages.filter(e=>!e.deleted).at(-1);return t?t.author===`human`?`agent`:`human`:null}var tT={"Claude Code":`ClaudeCode`,"Claude Cowork":`Claude`,Codex:`Codex`,Cursor:`Cursor`,"Gemini CLI":`GeminiCLI`,Grok:`Grok`,"GitHub Copilot":`GithubCopilot`,"Kilo Code":`KiloCode`,OpenCode:`OpenCode`,"Qwen Code":`Qwen`,Antigravity:`Antigravity`,Goose:`Goose`,Amp:`Amp`,Cline:`Cline`,"Roo Code":`RooCode`,Devin:`Devin`,Replit:`Replit`,v0:`V0`},nT=e=>tT[e];function rT({author:e,name:t}){let n=t??(e===`human`?Zw.t(`common.you`):`Agent`);return{label:n,initial:[...n][0].toUpperCase()}}var iT=(e,t)=>{if(t){if(e&&t===`#000`)return`0 0 0 1px rgba(255,255,255,0.1) inset`;if(!e&&t===`#fff`)return`0 0 0 1px rgba(0,0,0,0.05) inset`}},aT=(0,N.memo)(({shape:e=`circle`,color:t=`#fff`,background:n,size:r,style:i,iconMultiple:a=.75,Icon:o,iconStyle:s,iconClassName:c,...l})=>{let{isDarkMode:u}=Vd();return(0,P.jsx)(Di,{flex:`none`,style:{background:n,borderRadius:e===`circle`?`50%`:Math.floor(r*.1),boxShadow:iT(u,n),color:t,height:r,overflow:`hidden`,width:r,...i},...l,children:o&&(0,P.jsx)(o,{className:c,color:t,size:r,style:{transform:`scale(${a})`,...s}})})}),oT=(0,N.memo)(({Icon:e,style:t,Text:n,color:r,size:i=24,spaceMultiple:a=1,textMultiple:o=1,extra:s,extraStyle:c,showText:l=!0,showLogo:u=!0,extraClassName:d,iconProps:f,inverse:p,...m})=>{let h=e&&u&&(0,P.jsx)(e,{size:i,...f,style:p?{marginLeft:i*a,...f?.style}:{marginRight:i*a,...f?.style}}),g=l&&n&&(0,P.jsx)(n,{size:i*o});return(0,P.jsxs)(Ti,{horizontal:!0,align:`center`,flex:`none`,justify:`flex-start`,style:{color:r,...t},...m,children:[p?(0,P.jsxs)(P.Fragment,{children:[g,h]}):(0,P.jsxs)(P.Fragment,{children:[h,g]}),s&&(0,P.jsx)(`span`,{className:d,style:{fontSize:i*o*.95,lineHeight:1,...c},children:s})]})}),sT=/\p{Lu}?\p{Ll}+|[0-9]+|\p{Lu}+(?!\p{Ll})|\p{Emoji_Presentation}|\p{Extended_Pictographic}|\p{L}+/gu;function cT(e){return Array.from(e.match(sT)??[])}function lT(e){return cT(e).map(e=>e.toLowerCase()).join(`-`)}var uT=e=>{let t=(0,N.useId)(),n=`lobe-icons-${lT(e)}-${t}`;return(0,N.useMemo)(()=>({fill:`url(#${n})`,id:n}),[e])},dT=(e,t)=>{let n=(0,N.useId)();return(0,N.useMemo)(()=>Array.from({length:t},(t,r)=>{let i=`lobe-icons-${lT(e)}-${r}-${n}`;return{fill:`url(#${i})`,id:i}}),[e,t,n])},fT=.8,pT=.3,mT=`#F34E3F`,hT=`#000`,gT=mT,_T=.6,vT=(0,N.memo)(({size:e=`1em`,style:t,...n})=>(0,P.jsxs)(`svg`,{fill:`currentColor`,fillRule:`evenodd`,height:e,style:{flex:`none`,lineHeight:1,...t},viewBox:`0 0 24 24`,width:e,xmlns:`http://www.w3.org/2000/svg`,...n,children:[(0,P.jsx)(`title`,{children:`Amp`}),(0,P.jsx)(`path`,{d:`M15.087 23.18L12.03 24l-2.097-7.823-5.738 5.738-2.251-2.251 5.718-5.719-7.769-2.082.82-3.057 11.294 3.08 3.08 11.295z`}),(0,P.jsx)(`path`,{d:`M19.505 18.762l-3.057.82-2.564-9.573-9.572-2.564.819-3.057 11.295 3.079 3.08 11.295z`}),(0,P.jsx)(`path`,{d:`M23.893 14.374l-3.057.82-2.565-9.572L8.7 3.057 9.52 0l11.295 3.08 3.079 11.294z`})]})),yT=(0,N.memo)(({...e})=>(0,P.jsx)(aT,{Icon:vT,"aria-label":`Amp`,background:hT,color:gT,iconMultiple:_T,...e})),bT=(0,N.memo)(({size:e=`1em`,style:t,...n})=>(0,P.jsxs)(`svg`,{height:e,style:{flex:`none`,lineHeight:1,...t},viewBox:`0 0 24 24`,width:e,xmlns:`http://www.w3.org/2000/svg`,...n,children:[(0,P.jsx)(`title`,{children:`Amp`}),(0,P.jsx)(`path`,{d:`M15.087 23.18L12.03 24l-2.097-7.823-5.738 5.738-2.251-2.251 5.718-5.719-7.769-2.082.82-3.057 11.294 3.08 3.08 11.295z`,fill:`#F34E3F`}),(0,P.jsx)(`path`,{d:`M19.505 18.762l-3.057.82-2.564-9.573-9.572-2.564.819-3.057 11.295 3.079 3.08 11.295z`,fill:`#F34E3F`}),(0,P.jsx)(`path`,{d:`M23.893 14.374l-3.057.82-2.565-9.572L8.7 3.057 9.52 0l11.295 3.08 3.079 11.294z`,fill:`#F34E3F`})]})),xT=(0,N.memo)(({size:e=`1em`,style:t,...n})=>(0,P.jsxs)(`svg`,{fill:`currentColor`,fillRule:`evenodd`,height:e,style:{flex:`none`,lineHeight:1,...t},viewBox:`0 0 54 24`,xmlns:`http://www.w3.org/2000/svg`,...n,children:[(0,P.jsx)(`title`,{children:`Amp`}),(0,P.jsx)(`path`,{d:`M44.055 2C48.405 2 52 5.114 52 10.002c0 5.149-3.66 8.838-8.39 8.838-1.668 0-3.186-.311-4.435-1.015a6.072 6.072 0 01-2.443-2.53l-1.212 8.492-.03.213h-2.447l.041-.285 3.087-21.269h2.424l-.256 1.581C39.801 2.69 41.772 2 44.055 2zm-33.666.028c1.668 0 3.193.312 4.45 1.018a6.084 6.084 0 012.454 2.546l.409-2.932.03-.214h2.419l-2.264 15.763-.03.213h-2.42l.234-1.604c-1.45 1.359-3.443 2.05-5.726 2.05-4.35 0-7.945-3.114-7.945-8.002 0-5.149 3.66-8.838 8.39-8.838zm12.292 16.394h-2.42L22.555 2.66l.03-.213h2.417l-2.32 15.976zm4.354 0h-2.419L26.91 2.66l.03-.213h2.417l-2.32 15.976zM33.71 2.446l-2.32 15.976h-2.42L31.264 2.66l.03-.213h2.417zM10.64 4.143c-3.675 0-6.143 2.932-6.143 6.612 0 1.58.498 3.08 1.48 4.181.976 1.097 2.449 1.817 4.44 1.817 3.674 0 6.143-2.959 6.143-6.64 0-1.78-.617-3.27-1.657-4.314-1.04-1.043-2.517-1.656-4.264-1.656zm32.942-.027c-3.673 0-6.142 2.958-6.142 6.639 0 1.78.617 3.27 1.657 4.313 1.04 1.044 2.517 1.657 4.263 1.657 3.675 0 6.143-2.932 6.143-6.611 0-1.581-.498-3.081-1.479-4.182-.977-1.097-2.45-1.817-4.442-1.817z`})]})),ST=(0,N.memo)(({type:e=`mono`,...t})=>(0,P.jsx)(oT,{Icon:e===`color`?bT:vT,Text:xT,"aria-label":`Amp`,spaceMultiple:pT,textMultiple:fT,...t})),CT=vT;CT.Color=bT,CT.Text=xT,CT.Combine=ST,CT.Avatar=yT,CT.colorPrimary=mT,CT.title=`Amp`;var wT=`Antigravity`,TT=.3,ET=`#fff`,DT=ET,OT=`#fff`,kT=.7,AT=(0,N.memo)(({size:e=`1em`,style:t,...n})=>{let[r,i,a,o,s,c,l,u,d,f,p,m]=dT(wT,12);return(0,P.jsxs)(`svg`,{height:e,style:{flex:`none`,lineHeight:1,...t},viewBox:`0 0 24 24`,width:e,xmlns:`http://www.w3.org/2000/svg`,...n,children:[(0,P.jsx)(`title`,{children:wT}),(0,P.jsx)(`mask`,{height:`23`,id:r.id,maskUnits:`userSpaceOnUse`,width:`24`,x:`0`,y:`1`,children:(0,P.jsx)(`path`,{d:`M21.751 22.607c1.34 1.005 3.35.335 1.508-1.508C17.73 15.74 18.904 1 12.037 1 5.17 1 6.342 15.74.815 21.1c-2.01 2.009.167 2.511 1.507 1.506 5.192-3.517 4.857-9.714 9.715-9.714 4.857 0 4.522 6.197 9.714 9.715z`,fill:`#fff`})}),(0,P.jsxs)(`g`,{mask:r.fill,children:[(0,P.jsx)(`g`,{filter:i.fill,children:(0,P.jsx)(`path`,{d:`M-1.018-3.992c-.408 3.591 2.686 6.89 6.91 7.37 4.225.48 7.98-2.043 8.387-5.633.408-3.59-2.686-6.89-6.91-7.37-4.225-.479-7.98 2.043-8.387 5.633z`,fill:`#FFE432`})}),(0,P.jsx)(`g`,{filter:a.fill,children:(0,P.jsx)(`path`,{d:`M15.269 7.747c1.058 4.557 5.691 7.374 10.348 6.293 4.657-1.082 7.575-5.653 6.516-10.21-1.058-4.556-5.691-7.374-10.348-6.292-4.657 1.082-7.575 5.653-6.516 10.21z`,fill:`#FC413D`})}),(0,P.jsx)(`g`,{filter:o.fill,children:(0,P.jsx)(`path`,{d:`M-12.443 10.804c1.338 4.703 7.36 7.11 13.453 5.378 6.092-1.733 9.947-6.95 8.61-11.652C8.282-.173 2.26-2.58-3.833-.848-9.925.884-13.78 6.1-12.443 10.804z`,fill:`#00B95C`})}),(0,P.jsx)(`g`,{filter:s.fill,children:(0,P.jsx)(`path`,{d:`M-12.443 10.804c1.338 4.703 7.36 7.11 13.453 5.378 6.092-1.733 9.947-6.95 8.61-11.652C8.282-.173 2.26-2.58-3.833-.848-9.925.884-13.78 6.1-12.443 10.804z`,fill:`#00B95C`})}),(0,P.jsx)(`g`,{filter:c.fill,children:(0,P.jsx)(`path`,{d:`M-7.608 14.703c3.352 3.424 9.126 3.208 12.896-.483 3.77-3.69 4.108-9.459.756-12.883C2.69-2.087-3.083-1.871-6.853 1.82c-3.77 3.69-4.108 9.458-.755 12.883z`,fill:`#00B95C`})}),(0,P.jsx)(`g`,{filter:l.fill,children:(0,P.jsx)(`path`,{d:`M9.932 27.617c1.04 4.482 5.384 7.303 9.7 6.3 4.316-1.002 6.971-5.448 5.93-9.93-1.04-4.483-5.384-7.304-9.7-6.301-4.316 1.002-6.971 5.448-5.93 9.93z`,fill:`#3186FF`})}),(0,P.jsx)(`g`,{filter:u.fill,children:(0,P.jsx)(`path`,{d:`M2.572-8.185C.392-3.329 2.778 2.472 7.9 4.771c5.122 2.3 11.042.227 13.222-4.63 2.18-4.855-.205-10.656-5.327-12.955-5.122-2.3-11.042-.227-13.222 4.63z`,fill:`#FBBC04`})}),(0,P.jsx)(`g`,{filter:d.fill,children:(0,P.jsx)(`path`,{d:`M-3.267 38.686c-5.277-2.072 3.742-19.117 5.984-24.83 2.243-5.712 8.34-8.664 13.616-6.592 5.278 2.071 11.533 13.482 9.29 19.195-2.242 5.713-23.613 14.298-28.89 12.227z`,fill:`#3186FF`})}),(0,P.jsx)(`g`,{filter:f.fill,children:(0,P.jsx)(`path`,{d:`M28.71 17.471c-1.413 1.649-5.1.808-8.236-1.878-3.135-2.687-4.531-6.201-3.118-7.85 1.412-1.649 5.1-.808 8.235 1.878s4.532 6.2 3.119 7.85z`,fill:`#749BFF`})}),(0,P.jsx)(`g`,{filter:p.fill,children:(0,P.jsx)(`path`,{d:`M18.163 9.077c5.81 3.93 12.502 4.19 14.946.577 2.443-3.612-.287-9.727-6.098-13.658-5.81-3.931-12.502-4.19-14.946-.577-2.443 3.612.287 9.727 6.098 13.658z`,fill:`#FC413D`})}),(0,P.jsx)(`g`,{filter:m.fill,children:(0,P.jsx)(`path`,{d:`M-.915 2.684c-1.44 3.473-.97 6.967 1.05 7.804 2.02.837 4.824-1.3 6.264-4.772 1.44-3.473.97-6.967-1.05-7.804-2.02-.837-4.824 1.3-6.264 4.772z`,fill:`#FFEE48`})})]}),(0,P.jsxs)(`defs`,{children:[(0,P.jsxs)(`filter`,{colorInterpolationFilters:`sRGB`,filterUnits:`userSpaceOnUse`,height:`17.587`,id:i.id,width:`19.838`,x:`-3.288`,y:`-11.917`,children:[(0,P.jsx)(`feFlood`,{floodOpacity:`0`,result:`BackgroundImageFix`}),(0,P.jsx)(`feBlend`,{in:`SourceGraphic`,in2:`BackgroundImageFix`,result:`shape`}),(0,P.jsx)(`feGaussianBlur`,{result:`effect1_foregroundBlur_977_115`,stdDeviation:`1.117`})]}),(0,P.jsxs)(`filter`,{colorInterpolationFilters:`sRGB`,filterUnits:`userSpaceOnUse`,height:`38.565`,id:a.id,width:`38.9`,x:`4.251`,y:`-13.493`,children:[(0,P.jsx)(`feFlood`,{floodOpacity:`0`,result:`BackgroundImageFix`}),(0,P.jsx)(`feBlend`,{in:`SourceGraphic`,in2:`BackgroundImageFix`,result:`shape`}),(0,P.jsx)(`feGaussianBlur`,{result:`effect1_foregroundBlur_977_115`,stdDeviation:`5.4`})]}),(0,P.jsxs)(`filter`,{colorInterpolationFilters:`sRGB`,filterUnits:`userSpaceOnUse`,height:`36.517`,id:o.id,width:`40.955`,x:`-21.889`,y:`-10.592`,children:[(0,P.jsx)(`feFlood`,{floodOpacity:`0`,result:`BackgroundImageFix`}),(0,P.jsx)(`feBlend`,{in:`SourceGraphic`,in2:`BackgroundImageFix`,result:`shape`}),(0,P.jsx)(`feGaussianBlur`,{result:`effect1_foregroundBlur_977_115`,stdDeviation:`4.591`})]}),(0,P.jsxs)(`filter`,{colorInterpolationFilters:`sRGB`,filterUnits:`userSpaceOnUse`,height:`36.517`,id:s.id,width:`40.955`,x:`-21.889`,y:`-10.592`,children:[(0,P.jsx)(`feFlood`,{floodOpacity:`0`,result:`BackgroundImageFix`}),(0,P.jsx)(`feBlend`,{in:`SourceGraphic`,in2:`BackgroundImageFix`,result:`shape`}),(0,P.jsx)(`feGaussianBlur`,{result:`effect1_foregroundBlur_977_115`,stdDeviation:`4.591`})]}),(0,P.jsxs)(`filter`,{colorInterpolationFilters:`sRGB`,filterUnits:`userSpaceOnUse`,height:`36.595`,id:c.id,width:`36.632`,x:`-19.099`,y:`-10.278`,children:[(0,P.jsx)(`feFlood`,{floodOpacity:`0`,result:`BackgroundImageFix`}),(0,P.jsx)(`feBlend`,{in:`SourceGraphic`,in2:`BackgroundImageFix`,result:`shape`}),(0,P.jsx)(`feGaussianBlur`,{result:`effect1_foregroundBlur_977_115`,stdDeviation:`4.591`})]}),(0,P.jsxs)(`filter`,{colorInterpolationFilters:`sRGB`,filterUnits:`userSpaceOnUse`,height:`34.087`,id:l.id,width:`33.533`,x:`.981`,y:`8.758`,children:[(0,P.jsx)(`feFlood`,{floodOpacity:`0`,result:`BackgroundImageFix`}),(0,P.jsx)(`feBlend`,{in:`SourceGraphic`,in2:`BackgroundImageFix`,result:`shape`}),(0,P.jsx)(`feGaussianBlur`,{result:`effect1_foregroundBlur_977_115`,stdDeviation:`4.363`})]}),(0,P.jsxs)(`filter`,{colorInterpolationFilters:`sRGB`,filterUnits:`userSpaceOnUse`,height:`35.276`,id:u.id,width:`35.978`,x:`-6.143`,y:`-21.659`,children:[(0,P.jsx)(`feFlood`,{floodOpacity:`0`,result:`BackgroundImageFix`}),(0,P.jsx)(`feBlend`,{in:`SourceGraphic`,in2:`BackgroundImageFix`,result:`shape`}),(0,P.jsx)(`feGaussianBlur`,{result:`effect1_foregroundBlur_977_115`,stdDeviation:`3.954`})]}),(0,P.jsxs)(`filter`,{colorInterpolationFilters:`sRGB`,filterUnits:`userSpaceOnUse`,height:`46.523`,id:d.id,width:`45.114`,x:`-11.96`,y:`-.46`,children:[(0,P.jsx)(`feFlood`,{floodOpacity:`0`,result:`BackgroundImageFix`}),(0,P.jsx)(`feBlend`,{in:`SourceGraphic`,in2:`BackgroundImageFix`,result:`shape`}),(0,P.jsx)(`feGaussianBlur`,{result:`effect1_foregroundBlur_977_115`,stdDeviation:`3.531`})]}),(0,P.jsxs)(`filter`,{colorInterpolationFilters:`sRGB`,filterUnits:`userSpaceOnUse`,height:`24.054`,id:f.id,width:`25.094`,x:`10.485`,y:`.58`,children:[(0,P.jsx)(`feFlood`,{floodOpacity:`0`,result:`BackgroundImageFix`}),(0,P.jsx)(`feBlend`,{in:`SourceGraphic`,in2:`BackgroundImageFix`,result:`shape`}),(0,P.jsx)(`feGaussianBlur`,{result:`effect1_foregroundBlur_977_115`,stdDeviation:`3.159`})]}),(0,P.jsxs)(`filter`,{colorInterpolationFilters:`sRGB`,filterUnits:`userSpaceOnUse`,height:`30.007`,id:p.id,width:`33.508`,x:`5.833`,y:`-12.467`,children:[(0,P.jsx)(`feFlood`,{floodOpacity:`0`,result:`BackgroundImageFix`}),(0,P.jsx)(`feBlend`,{in:`SourceGraphic`,in2:`BackgroundImageFix`,result:`shape`}),(0,P.jsx)(`feGaussianBlur`,{result:`effect1_foregroundBlur_977_115`,stdDeviation:`2.669`})]}),(0,P.jsxs)(`filter`,{colorInterpolationFilters:`sRGB`,filterUnits:`userSpaceOnUse`,height:`26.151`,id:m.id,width:`22.194`,x:`-8.355`,y:`-8.876`,children:[(0,P.jsx)(`feFlood`,{floodOpacity:`0`,result:`BackgroundImageFix`}),(0,P.jsx)(`feBlend`,{in:`SourceGraphic`,in2:`BackgroundImageFix`,result:`shape`}),(0,P.jsx)(`feGaussianBlur`,{result:`effect1_foregroundBlur_977_115`,stdDeviation:`3.303`})]})]})]})}),jT=(0,N.memo)(({...e})=>(0,P.jsx)(aT,{Icon:AT,"aria-label":wT,background:DT,color:OT,iconMultiple:kT,...e})),MT=(0,N.memo)(({size:e=`1em`,style:t,...n})=>(0,P.jsxs)(`svg`,{fill:`currentColor`,fillRule:`evenodd`,height:e,style:{flex:`none`,lineHeight:1,...t},viewBox:`0 0 24 24`,width:e,xmlns:`http://www.w3.org/2000/svg`,...n,children:[(0,P.jsx)(`title`,{children:wT}),(0,P.jsx)(`path`,{d:`M21.751 22.607c1.34 1.005 3.35.335 1.508-1.508C17.73 15.74 18.904 1 12.037 1 5.17 1 6.342 15.74.815 21.1c-2.01 2.009.167 2.511 1.507 1.506 5.192-3.517 4.857-9.714 9.715-9.714 4.857 0 4.522 6.197 9.714 9.715z`})]})),NT=(0,N.memo)(({size:e=`1em`,style:t,...n})=>(0,P.jsxs)(`svg`,{fill:`currentColor`,fillRule:`evenodd`,height:e,style:{flex:`none`,lineHeight:1,...t},viewBox:`0 0 174 24`,xmlns:`http://www.w3.org/2000/svg`,...n,children:[(0,P.jsx)(`title`,{children:wT}),(0,P.jsx)(`path`,{d:`M165.834 22.734a6.851 6.851 0 01-.148.317 8.749 8.749 0 01-.105.232h-1.856c.085-.183.176-.387.274-.612.099-.21.218-.47.359-.78l.232-.506c.07-.155.147-.33.232-.527.098-.183.211-.415.337-.696l.97-2.108-4.449-10.078h1.94l3.373 7.99h.042l3.247-7.99h1.94l-5.566 12.84c-.056.126-.148.323-.274.59-.113.281-.225.548-.337.801a6.679 6.679 0 01-.211.527zM154.865 9.6V7.976h1.898V4.94h1.792v3.036h2.635V9.6h-2.635v5.861c0 .604.119 1.054.358 1.35.253.28.625.421 1.117.421.225 0 .436-.028.633-.084.197-.07.387-.162.569-.274v1.75a3.916 3.916 0 01-.696.19 3.392 3.392 0 01-.78.084c-.899 0-1.623-.267-2.171-.802-.548-.548-.822-1.279-.822-2.192V9.6h-1.898zM151.661 18.729V7.976h1.792V18.73h-1.792zm.885-12.734a1.24 1.24 0 01-.907-.38 1.24 1.24 0 01-.379-.907c0-.365.127-.667.379-.906a1.24 1.24 0 01.907-.38c.366 0 .668.127.907.38.253.239.379.541.379.906 0 .352-.126.654-.379.907-.239.253-.541.38-.907.38zM144.496 18.729l-4.343-10.753h1.918l3.332 8.644h.042l3.373-8.644h1.876l-4.385 10.753h-1.813zM134.384 19.066c-.801 0-1.503-.154-2.108-.463a3.696 3.696 0 01-1.434-1.266 3.471 3.471 0 01-.506-1.855c0-.787.204-1.447.612-1.982.408-.548.956-.955 1.644-1.223.689-.28 1.448-.421 2.277-.421.478 0 .921.042 1.329.126.407.07.759.162 1.054.274.309.099.541.197.696.296v-.654c0-.815-.289-1.462-.865-1.94-.576-.478-1.279-.716-2.108-.716-.591 0-1.146.133-1.666.4a2.964 2.964 0 00-1.201 1.075l-1.35-1.012a4.344 4.344 0 011.054-1.096c.422-.31.9-.548 1.434-.717a5.848 5.848 0 011.729-.253c1.462 0 2.607.387 3.436 1.16.83.773 1.244 1.813 1.244 3.12v6.81h-1.707v-1.54h-.085c-.182.31-.443.612-.78.907a4.347 4.347 0 01-1.202.696 3.938 3.938 0 01-1.497.274zm.169-1.58c.619 0 1.181-.155 1.687-.465.52-.309.935-.724 1.244-1.244.309-.52.464-1.089.464-1.707-.324-.225-.731-.408-1.223-.549a5.592 5.592 0 00-1.581-.21c-1.027 0-1.779.21-2.256.632-.478.422-.717.942-.717 1.56 0 .59.225 1.069.674 1.434.45.365 1.02.548 1.708.548zM123.833 18.729V7.976h1.708v1.73h.084c.14-.408.372-.76.696-1.055.337-.31.716-.548 1.138-.717a3.312 3.312 0 011.286-.274c.324 0 .577.021.759.063.183.029.352.078.506.148v1.94a3.05 3.05 0 00-.738-.253 3.584 3.584 0 00-.78-.085 2.5 2.5 0 00-1.433.443 3.297 3.297 0 00-1.055 1.18 3.508 3.508 0 00-.379 1.624v6.009h-1.792zM116.438 23.62c-.913 0-1.7-.154-2.361-.464-.646-.295-1.173-.674-1.581-1.138-.394-.464-.675-.935-.843-1.413l1.644-.695c.225.59.604 1.082 1.139 1.476.548.407 1.215.61 2.002.61 1.125 0 1.989-.33 2.594-.99.604-.646.906-1.553.906-2.72v-1.202h-.084c-.337.52-.822.963-1.455 1.329-.632.351-1.37.527-2.213.527a4.76 4.76 0 01-2.552-.717c-.759-.478-1.363-1.139-1.813-1.982-.45-.857-.674-1.841-.674-2.951s.224-2.088.674-2.931c.45-.857 1.054-1.525 1.813-2.003a4.76 4.76 0 012.552-.717c.843 0 1.581.183 2.213.548.633.352 1.118.794 1.455 1.329h.084v-1.54h1.708v10.331c0 1.195-.232 2.186-.696 2.973a4.201 4.201 0 01-1.855 1.75c-.773.394-1.658.59-2.657.59zm0-6.304a3.43 3.43 0 001.75-.463c.535-.324.956-.788 1.265-1.392.324-.604.485-1.328.485-2.171 0-.872-.161-1.603-.485-2.193-.309-.604-.73-1.061-1.265-1.37a3.43 3.43 0 00-1.75-.464c-.632 0-1.215.161-1.749.485-.535.309-.963.766-1.287 1.37-.323.59-.484 1.314-.484 2.171 0 .858.161 1.589.484 2.193.324.59.752 1.047 1.287 1.37a3.43 3.43 0 001.749.464zM107.731 18.729V7.976h1.792V18.73h-1.792zm.886-12.734c-.352 0-.654-.127-.907-.38a1.237 1.237 0 01-.379-.907c0-.365.126-.667.379-.906.253-.253.555-.38.907-.38.365 0 .667.127.906.38.254.239.38.541.38.906 0 .352-.126.654-.38.907-.239.253-.541.38-.906.38zM99.693 9.6V7.976h1.898V4.94h1.792v3.036h2.635V9.6h-2.635v5.861c0 .604.119 1.054.358 1.35.253.28.626.421 1.117.421.225 0 .436-.028.633-.084.197-.07.387-.162.569-.274v1.75a3.916 3.916 0 01-.696.19 3.39 3.39 0 01-.779.084c-.9 0-1.624-.267-2.172-.802-.548-.548-.822-1.279-.822-2.192V9.6h-1.898zM89.427 18.729V7.977h1.707v1.58h.085c.28-.52.738-.97 1.37-1.349.647-.38 1.35-.569 2.108-.569 1.322 0 2.313.387 2.973 1.16.675.759 1.012 1.77 1.012 3.036v6.894H96.89v-6.62c0-1.04-.253-1.771-.759-2.193-.492-.436-1.131-.653-1.918-.653-.59 0-1.11.168-1.56.506-.45.323-.802.745-1.055 1.265a3.713 3.713 0 00-.38 1.644v6.051h-1.791zM74.733 18.729l5.735-15.096h2.024l5.735 15.096h-1.961l-1.54-4.153h-6.493l-1.54 4.153h-1.96zm9.382-5.84l-2.003-5.44-.59-1.623h-.084l-.59 1.623-2.004 5.44h5.271zM10.653 19.068C5.951 19.068 2 15.237 2 10.534 2 5.832 5.95 2 10.653 2c2.601 0 4.45 1.02 5.844 2.351l-1.643 1.643c-1-.937-2.351-1.666-4.2-1.666-3.431 0-6.115 2.769-6.115 6.204 0 3.435 2.684 6.201 6.114 6.201 2.226 0 3.495-.894 4.306-1.707.665-.667 1.103-1.623 1.27-2.936h-5.635V9.76h7.901c.083.417.124.916.124 1.457 0 1.749-.479 3.914-2.017 5.454-1.496 1.56-3.41 2.393-5.949 2.393v.004zM30.454 13.573c0 3.164-2.473 5.495-5.505 5.495s-5.505-2.33-5.505-5.495 2.473-5.496 5.505-5.496 5.505 2.31 5.505 5.496zm-2.411 0c0-1.978-1.435-3.33-3.096-3.33-1.662 0-3.096 1.352-3.096 3.33 0 1.977 1.434 3.33 3.096 3.33 1.661 0 3.096-1.373 3.096-3.33zM42.437 13.573c0 3.164-2.473 5.495-5.505 5.495s-5.505-2.33-5.505-5.495 2.473-5.496 5.505-5.496 5.505 2.31 5.505 5.496zm-2.411 0c0-1.978-1.435-3.33-3.096-3.33-1.662 0-3.096 1.352-3.096 3.33 0 1.977 1.434 3.33 3.096 3.33 1.661 0 3.096-1.373 3.096-3.33zM53.9 8.41v9.865c0 4.059-2.393 5.725-5.22 5.725-2.664 0-4.266-1.79-4.868-3.247l2.101-.874c.374.896 1.29 1.957 2.766 1.957 1.81 0 2.934-1.123 2.934-3.226v-.791h-.083c-.54.667-1.581 1.249-2.892 1.249-2.745 0-5.262-2.393-5.262-5.475s2.517-5.516 5.262-5.516c1.31 0 2.351.582 2.892 1.228h.083V8.41H53.9zm-2.122 5.183c0-1.936-1.29-3.35-2.934-3.35-1.643 0-3.057 1.416-3.057 3.35 0 1.934 1.393 3.31 3.057 3.31s2.934-1.396 2.934-3.31zM58.047 2.582v16.152h-2.413V2.582h2.413zM67.4 15.383l1.872 1.249c-.603.896-2.06 2.436-4.576 2.436-3.12 0-5.45-2.415-5.45-5.495 0-3.268 2.351-5.496 5.18-5.496 2.827 0 4.241 2.269 4.7 3.497l.25.624-7.343 3.038c.561 1.103 1.434 1.666 2.663 1.666 1.228 0 2.08-.602 2.704-1.519zm-5.762-1.978l4.91-2.04c-.271-.687-1.082-1.166-2.038-1.166-1.226 0-2.933 1.082-2.87 3.206h-.002z`})]})),PT=(0,N.memo)(({type:e=`mono`,...t})=>(0,P.jsx)(oT,{Icon:e===`color`?AT:MT,Text:NT,"aria-label":wT,spaceMultiple:TT,textMultiple:1,...t})),FT=MT;FT.Color=AT,FT.Text=NT,FT.Combine=PT,FT.Avatar=jT,FT.colorPrimary=ET,FT.title=wT;var IT=`Claude`,LT=.8,RT=.1,zT=`#D97757`,BT=zT,VT=`#fff`,HT=.75,UT=(0,N.memo)(({size:e=`1em`,style:t,...n})=>(0,P.jsxs)(`svg`,{fill:`currentColor`,fillRule:`evenodd`,height:e,style:{flex:`none`,lineHeight:1,...t},viewBox:`0 0 24 24`,width:e,xmlns:`http://www.w3.org/2000/svg`,...n,children:[(0,P.jsx)(`title`,{children:IT}),(0,P.jsx)(`path`,{d:`M4.709 15.955l4.72-2.647.08-.23-.08-.128H9.2l-.79-.048-2.698-.073-2.339-.097-2.266-.122-.571-.121L0 11.784l.055-.352.48-.321.686.06 1.52.103 2.278.158 1.652.097 2.449.255h.389l.055-.157-.134-.098-.103-.097-2.358-1.596-2.552-1.688-1.336-.972-.724-.491-.364-.462-.158-1.008.656-.722.881.06.225.061.893.686 1.908 1.476 2.491 1.833.365.304.145-.103.019-.073-.164-.274-1.355-2.446-1.446-2.49-.644-1.032-.17-.619a2.97 2.97 0 01-.104-.729L6.283.134 6.696 0l.996.134.42.364.62 1.414 1.002 2.229 1.555 3.03.456.898.243.832.091.255h.158V9.01l.128-1.706.237-2.095.23-2.695.08-.76.376-.91.747-.492.584.28.48.685-.067.444-.286 1.851-.559 2.903-.364 1.942h.212l.243-.242.985-1.306 1.652-2.064.73-.82.85-.904.547-.431h1.033l.76 1.129-.34 1.166-1.064 1.347-.881 1.142-1.264 1.7-.79 1.36.073.11.188-.02 2.856-.606 1.543-.28 1.841-.315.833.388.091.395-.328.807-1.969.486-2.309.462-3.439.813-.042.03.049.061 1.549.146.662.036h1.622l3.02.225.79.522.474.638-.079.485-1.215.62-1.64-.389-3.829-.91-1.312-.329h-.182v.11l1.093 1.068 2.006 1.81 2.509 2.33.127.578-.322.455-.34-.049-2.205-1.657-.851-.747-1.926-1.62h-.128v.17l.444.649 2.345 3.521.122 1.08-.17.353-.608.213-.668-.122-1.374-1.925-1.415-2.167-1.143-1.943-.14.08-.674 7.254-.316.37-.729.28-.607-.461-.322-.747.322-1.476.389-1.924.315-1.53.286-1.9.17-.632-.012-.042-.14.018-1.434 1.967-2.18 2.945-1.726 1.845-.414.164-.717-.37.067-.662.401-.589 2.388-3.036 1.44-1.882.93-1.086-.006-.158h-.055L4.132 18.56l-1.13.146-.487-.456.061-.746.231-.243 1.908-1.312-.006.006z`})]})),WT=(0,N.memo)(({...e})=>(0,P.jsx)(aT,{Icon:UT,"aria-label":IT,background:BT,color:VT,iconMultiple:HT,...e})),GT=(0,N.memo)(({size:e=`1em`,style:t,...n})=>(0,P.jsxs)(`svg`,{height:e,style:{flex:`none`,lineHeight:1,...t},viewBox:`0 0 24 24`,width:e,xmlns:`http://www.w3.org/2000/svg`,...n,children:[(0,P.jsx)(`title`,{children:IT}),(0,P.jsx)(`path`,{d:`M4.709 15.955l4.72-2.647.08-.23-.08-.128H9.2l-.79-.048-2.698-.073-2.339-.097-2.266-.122-.571-.121L0 11.784l.055-.352.48-.321.686.06 1.52.103 2.278.158 1.652.097 2.449.255h.389l.055-.157-.134-.098-.103-.097-2.358-1.596-2.552-1.688-1.336-.972-.724-.491-.364-.462-.158-1.008.656-.722.881.06.225.061.893.686 1.908 1.476 2.491 1.833.365.304.145-.103.019-.073-.164-.274-1.355-2.446-1.446-2.49-.644-1.032-.17-.619a2.97 2.97 0 01-.104-.729L6.283.134 6.696 0l.996.134.42.364.62 1.414 1.002 2.229 1.555 3.03.456.898.243.832.091.255h.158V9.01l.128-1.706.237-2.095.23-2.695.08-.76.376-.91.747-.492.584.28.48.685-.067.444-.286 1.851-.559 2.903-.364 1.942h.212l.243-.242.985-1.306 1.652-2.064.73-.82.85-.904.547-.431h1.033l.76 1.129-.34 1.166-1.064 1.347-.881 1.142-1.264 1.7-.79 1.36.073.11.188-.02 2.856-.606 1.543-.28 1.841-.315.833.388.091.395-.328.807-1.969.486-2.309.462-3.439.813-.042.03.049.061 1.549.146.662.036h1.622l3.02.225.79.522.474.638-.079.485-1.215.62-1.64-.389-3.829-.91-1.312-.329h-.182v.11l1.093 1.068 2.006 1.81 2.509 2.33.127.578-.322.455-.34-.049-2.205-1.657-.851-.747-1.926-1.62h-.128v.17l.444.649 2.345 3.521.122 1.08-.17.353-.608.213-.668-.122-1.374-1.925-1.415-2.167-1.143-1.943-.14.08-.674 7.254-.316.37-.729.28-.607-.461-.322-.747.322-1.476.389-1.924.315-1.53.286-1.9.17-.632-.012-.042-.14.018-1.434 1.967-2.18 2.945-1.726 1.845-.414.164-.717-.37.067-.662.401-.589 2.388-3.036 1.44-1.882.93-1.086-.006-.158h-.055L4.132 18.56l-1.13.146-.487-.456.061-.746.231-.243 1.908-1.312-.006.006z`,fill:`#D97757`,fillRule:`nonzero`})]})),KT=(0,N.memo)(({size:e=`1em`,style:t,...n})=>(0,P.jsxs)(`svg`,{fill:`currentColor`,fillRule:`nonzero`,height:e,style:{flex:`none`,lineHeight:1,...t},viewBox:`0 0 97 24`,xmlns:`http://www.w3.org/2000/svg`,...n,children:[(0,P.jsx)(`title`,{children:IT}),(0,P.jsx)(`path`,{d:`M13.623 20.222c-3.417 0-5.753-1.901-6.855-4.827a12.992 12.992 0 01-.838-4.772c0-4.907 2.206-8.315 7.08-8.315 3.275 0 5.297 1.425 6.448 4.826h1.402l-.19-4.69C18.709 1.18 16.258.543 13.276.543c-4.2 0-7.775 1.874-9.763 5.254a11.357 11.357 0 00-1.511 5.872c0 3.753 1.777 7.08 5.113 8.926a11.95 11.95 0 005.943 1.398c3.254 0 5.835-.617 8.122-1.697l.593-5.172h-1.43c-.858 2.362-1.88 3.78-3.574 4.534-.831.373-1.88.564-3.146.564zm14.74-17.914L28.499 0h-.967L23.23 1.29v.699l1.907.882v16.142c0 1.1-.565 1.344-2.043 1.528v1.18h7.319v-1.18c-1.484-.184-2.042-.428-2.042-1.528V2.315l-.007-.007zm29.104 19.685h.565l4.95-.937v-1.208l-.695-.054c-1.157-.109-1.457-.346-1.457-1.29V9.897l.137-2.763h-.783l-4.678.672v1.181l.457.082c1.266.183 1.64.536 1.64 1.419v7.67c-1.212.937-2.369 1.527-3.744 1.527-1.525 0-2.471-.774-2.471-2.58V9.905l.136-2.763h-.804l-4.684.672v1.181l.484.082c1.266.183 1.64.536 1.64 1.418v7.08c0 3 1.703 4.426 4.412 4.426 2.07 0 3.765-1.1 5.038-2.627L57.474 22l-.007-.007zm-13.602-9.55c0-3.836-2.043-5.309-5.733-5.309-3.254 0-5.616 1.344-5.616 3.57 0 .666.238 1.175.721 1.528l2.478-.326c-.109-.746-.163-1.201-.163-1.391 0-1.263.674-1.901 2.042-1.901 2.022 0 3.044 1.419 3.044 3.7v.746l-5.106 1.527c-1.702.462-2.67.863-3.316 1.8a3.386 3.386 0 00-.476 1.9c0 2.172 1.497 3.706 4.057 3.706 1.852 0 3.493-.835 4.922-2.416.51 1.581 1.294 2.416 2.69 2.416 1.13 0 2.15-.455 3.063-1.344l-.272-.937a4.363 4.363 0 01-1.178.163c-.783 0-1.157-.617-1.157-1.826v-5.607zm-6.536 7.378c-1.396 0-2.26-.808-2.26-2.226 0-.964.456-1.528 1.43-1.854l4.139-1.31v3.965c-1.321.997-2.097 1.425-3.31 1.425zm43.095 1.235v-1.208l-.701-.054c-1.158-.109-1.45-.346-1.45-1.29V2.308L78.409 0h-.974l-4.302 1.29v.699l1.906.882V8.18a6.024 6.024 0 00-3.656-1.046c-4.276 0-7.612 3.245-7.612 8.098 0 3.998 2.397 6.761 6.346 6.761 2.042 0 3.819-.99 4.922-2.525l-.136 2.525h.571l4.95-.937zm-8.96-12.313c2.043 0 3.575 1.181 3.575 3.353v6.11a4.91 4.91 0 01-3.547 1.425c-2.928 0-4.412-2.308-4.412-5.39 0-3.462 1.695-5.498 4.385-5.498zm19.424 3.055c-.381-1.792-1.484-2.81-3.016-2.81-2.288 0-3.874 1.717-3.874 4.18 0 3.646 1.934 6.008 5.059 6.008a5.858 5.858 0 005.03-2.953l.913.245c-.408 3.163-3.281 5.525-6.808 5.525-4.14 0-6.992-3.054-6.992-7.399 0-4.378 3.098-7.46 7.237-7.46 3.09 0 5.27 1.853 5.97 5.07l-10.783 3.3V14.05l7.264-2.247v-.006z`})]})),qT=(0,N.memo)(({type:e=`mono`,...t})=>(0,P.jsx)(oT,{Icon:e===`color`?GT:UT,Text:KT,"aria-label":IT,spaceMultiple:RT,textMultiple:LT,...t})),JT=UT;JT.Color=GT,JT.Text=KT,JT.Combine=qT,JT.Avatar=WT,JT.colorPrimary=zT,JT.title=IT;var YT=`Claude Code`,XT=.75,ZT=.3,QT=`#D97757`,$T=`#09090B`,eE=QT,tE=.7,nE=(0,N.memo)(({size:e=`1em`,style:t,...n})=>(0,P.jsxs)(`svg`,{fill:`currentColor`,fillRule:`evenodd`,height:e,style:{flex:`none`,lineHeight:1,...t},viewBox:`0 0 24 24`,width:e,xmlns:`http://www.w3.org/2000/svg`,...n,children:[(0,P.jsx)(`title`,{children:YT}),(0,P.jsx)(`path`,{clipRule:`evenodd`,d:`M20.998 10.949H24v3.102h-3v3.028h-1.487V20H18v-2.921h-1.487V20H15v-2.921H9V20H7.488v-2.921H6V20H4.487v-2.921H3V14.05H0V10.95h3V5h17.998v5.949zM6 10.949h1.488V8.102H6v2.847zm10.51 0H18V8.102h-1.49v2.847z`})]})),rE=(0,N.memo)(({...e})=>(0,P.jsx)(aT,{Icon:nE,"aria-label":YT,background:$T,color:eE,iconMultiple:tE,...e})),iE=(0,N.memo)(({size:e=`1em`,style:t,...n})=>(0,P.jsxs)(`svg`,{height:e,style:{flex:`none`,lineHeight:1,...t},viewBox:`0 0 24 24`,width:e,xmlns:`http://www.w3.org/2000/svg`,...n,children:[(0,P.jsx)(`title`,{children:YT}),(0,P.jsx)(`path`,{clipRule:`evenodd`,d:`M20.998 10.949H24v3.102h-3v3.028h-1.487V20H18v-2.921h-1.487V20H15v-2.921H9V20H7.488v-2.921H6V20H4.487v-2.921H3V14.05H0V10.95h3V5h17.998v5.949zM6 10.949h1.488V8.102H6v2.847zm10.51 0H18V8.102h-1.49v2.847z`,fill:`#D97757`,fillRule:`evenodd`})]})),aE=(0,N.memo)(({size:e=`1em`,style:t,...n})=>(0,P.jsxs)(`svg`,{fill:`currentColor`,fillRule:`evenodd`,height:e,style:{flex:`none`,lineHeight:1,...t},viewBox:`0 0 56 24`,xmlns:`http://www.w3.org/2000/svg`,...n,children:[(0,P.jsx)(`title`,{children:YT}),(0,P.jsx)(`path`,{clipRule:`evenodd`,d:`M8.786 14.088h.67v2.31H4.614v4.506h4.172v.785h.67V24h-6.19v-1.138h-.298V22.1h-.67V20.96H2v-5.758h.968v-1.9h5.818v.785zm0 7.875h.417v1.763H3.519v-.864h-.126v1.001h5.936v-2.037h-.543v.137zm0 .899h-5.14v.728h5.43V22.1h-.29v.762zm-6.362-.9h.544v-.136h-.417v-.865h-.127v1.002zm.253-.273h.291v-.728h-.29v.728zm6.109-6.429H3.944v5.644h.29v-4.916h4.842v-1.49h-.29v.762zm0-.898h.417v1.763H4.36v4.779h.126v-4.642H9.33v-2.037h-.543v.137zM17.5 14.088h.671v1.115h.298v.785h.67V22.1h-.968V24h-6.19v-1.138h-.297V22.1h-.671V20.96h-.298v-5.758h.969v-1.9H17.5v.785zm.97 2.174h.416v5.564h-.968v1.9h-5.684v-.864h-.126v1.001h5.936v-1.9h.969v-5.838h-.544v.137zm0 4.7h-.97v1.9h-5.14v.728h5.431v-1.9h.969v-5.291h-.29v4.562zm-7.33 1h.544v-.136h-.418v-.865h-.127v1.002zm.252-.273h.292v-.728h-.291v.728zm1.267-.785h.29v-4.916h3.576v-.728H12.66v5.644zm.417 0h.127v-4.642h3.322v-.137h-3.449v4.779zm.253 0h3.196v-4.505H13.33v4.505zm4.172-5.701h.29v-.705h-.29v.705zm0-.841h.417v.84h.126v-.977h-.543v.137zM26.216 14.088h.67v1.115h.298v.785h.67V22.1h-.968V24h-6.19v-1.138H20.4v-9.56h5.817v.786zm.968 2.174h.417v5.564h-.968v1.9H20.95v-.864h-.127v1.001h5.936v-1.9h.969v-5.838h-.544v.137zm0 4.7h-.968v1.9h-5.14v.728h5.43v-1.9h.969v-5.291h-.29v4.562zm-4.841-.058h.29v-4.916h2.607v-.728h-2.897v5.644zm.416 0h.127v-4.642h2.354v-.137h-2.48v4.779zm.254 0h2.227v-4.505h-2.227v4.505zm3.203-5.701h.29v-.705h-.29v.705zm0-.841h.417v.84h.127v-.977h-.544v.137zM35.9 14.088h.67v2.31h-4.842v.705h2.235v.786h.67v2.31h-2.905v.704H35.9v.786h.67V24H29.41v-1.138h-.297v-9.56H35.9v.786zm0 7.875h.416v1.763h-6.651v-.864h-.127v1.001h6.905v-2.037H35.9v.137zm0 .899H29.79v.728h6.399V22.1h-.29v.762zm-1.937-3.801h-2.905v1.843h.29v-1.115h2.905v-1.49h-.29v.762zm0-.899h.417v1.764h-2.905v.978h.126v-.841h2.905v-2.037h-.543v.136zM35.9 15.26h-4.842v1.843h.29v-1.115h4.842v-1.49h-.29v.762zm0-.898h.416v1.763h-4.841v.978h.126v-.841h4.842v-2.037H35.9v.137zM8.786 0v.786h.67v2.31H4.614v4.505h4.172v.786h.67v2.31h-6.19V9.56h-.298v-.762h-.67V7.66H2V1.9h.968V0h5.818zm0 8.66h.417v1.764H3.519V9.56h-.126v1.002h5.936V8.524h-.543v.137zm0 .9h-5.14v.727h5.43v-1.49h-.29v.762zm-6.362-.9h.544v-.136h-.417v-.865h-.127v1.002zm.253-.273h.291V7.66h-.29v.728zm6.109-6.429H3.944v5.643h.29V2.686h4.842v-1.49h-.29v.762zm0-.899h.417v1.764H4.36V7.6h.126V2.96H9.33V.923h-.543v.136zM12.66.786h.67V7.6h4.17v.786h.671v2.31h-7.158V9.56h-.298V0h1.944v.786zM17.5 8.66h.418v1.763h-6.652V9.56h-.127v1.002h6.905V8.524h-.543v.137zm0 .898h-6.107v.728h6.398v-1.49h-.29v.762zm-4.84-1.958h.29V1.196h-.29v6.405zm0-6.542h.416v6.542h.127V.923h-.544v.136zM25.248.786h.67V1.9h.298v.786h.67v8.012H24.57V9.559h-.298V6.897h-2.228v3.8h-2.316V9.56h-.298V1.9h.969V0h4.849v.786zm-3.457 9.638h-1.81V9.56h-.127v1.002h2.064v-3.8h2.354v-.137h-2.48v3.8zm4.425-7.464h.417v7.464h-1.81V9.56h-.127v1.002h2.063V2.823h-.543v.137zm-4.842 6.6h-1.266v.727h1.556v-3.8h2.608v-.728h-2.898v3.8zm4.842 0h-1.267v.727h1.557v-7.19h-.29v6.462zM21.374 3.8h.29V2.687h2.608v-.728h-2.898v1.843zm.417 0h.127v-.84h2.354v-.137h-2.48V3.8zm.253 0h2.228v-.704h-2.228v.705zm3.204-1.9h.29v-.704h-.29V1.9zm0-.84h.416v.84h.127V.923h-.543v.136zM30.09.786h.67V7.6h3.196V0H35.9v.786h.67v8.011H35.6v1.9h-6.19V9.56h-.297v-.762h-.671V7.66h-.298V0h1.945v.786zm5.81.273h.416v7.465h-.968v1.9h-5.683V9.56h-.127v1.002h5.937v-1.9h.968V.923H35.9v.136zm0 6.6h-.969v1.9h-5.14v.728h5.43v-1.9h.969v-7.19h-.29v6.462zm-7.33 1.002h.544v-.137h-.418v-.865h-.126v1.002zm.253-.274h.29V7.66h-.29v.728zm1.267-.786h.29V1.196h-.29v6.405zm0-6.542h.416v6.542h.127V.923h-.543v.136zM43.647.786h.67V1.9h.298v.786h.67v6.111h-.969v1.9h-6.19V9.56h-.297V0h5.818v.786zm.968 2.174h.417v5.564h-.969v1.9H38.38V9.56h-.127v1.002h5.937v-1.9h.968V2.823h-.543v.137zm0 4.7h-.968v1.9h-5.14v.727h5.43v-1.9h.968v-5.29h-.29v4.562zM39.773 7.6h.29V2.686h2.608v-.728h-2.898v5.643zm.417 0h.127V2.96h2.354v-.137H40.19V7.6zm.253 0h2.228V3.096h-2.228v4.505zm3.204-5.7h.29v-.705h-.29V1.9zm0-.842h.416V1.9h.127V.923h-.543v.136zM53.33.786H54v2.31h-4.842v.705h2.235v.785h.67v2.311h-2.905v.704h4.172v.786H54v2.31h-7.158V9.56h-.298V0h6.786v.786zm0 7.875h.417v1.763h-6.652V9.56h-.127v1.002h6.905V8.524h-.543v.137zm0 .898h-6.108v.728h6.398v-1.49h-.29v.762zm-1.937-3.8h-2.905V7.6h.29V6.487h2.906v-1.49h-.29v.762zm0-.899h.417v1.764h-2.905V7.6h.127v-.84h2.905V4.722h-.544v.137zm1.937-2.902h-4.842v1.843h.29V2.686h4.842v-1.49h-.29v.762zm0-.899h.417v1.764h-4.842V3.8h.127V2.96h4.841V.923h-.543v.136z`})]})),oE=(0,N.memo)(({type:e=`mono`,...t})=>(0,P.jsx)(oT,{Icon:e===`color`?iE:nE,Text:aE,"aria-label":YT,spaceMultiple:ZT,textMultiple:XT,...t})),sE=nE;sE.Color=iE,sE.Text=aE,sE.Combine=oE,sE.Avatar=rE,sE.colorPrimary=QT,sE.title=YT;var cE=`Cline`,lE=.7,uE=.2,dE=`#323B43`,fE=dE,pE=`#fff`,mE=.6,hE=(0,N.memo)(({size:e=`1em`,style:t,...n})=>(0,P.jsxs)(`svg`,{fill:`currentColor`,fillRule:`evenodd`,height:e,style:{flex:`none`,lineHeight:1,...t},viewBox:`0 0 24 24`,width:e,xmlns:`http://www.w3.org/2000/svg`,...n,children:[(0,P.jsx)(`title`,{children:cE}),(0,P.jsx)(`path`,{d:`M17.035 3.991c2.75 0 4.98 2.24 4.98 5.003v1.667l1.45 2.896a1.01 1.01 0 01-.002.909l-1.448 2.864v1.668c0 2.762-2.23 5.002-4.98 5.002H7.074c-2.751 0-4.98-2.24-4.98-5.002V17.33l-1.48-2.855a1.01 1.01 0 01-.003-.927l1.482-2.887V8.994c0-2.763 2.23-5.003 4.98-5.003h9.962zM8.265 9.6a2.274 2.274 0 00-2.274 2.274v4.042a2.274 2.274 0 004.547 0v-4.042A2.274 2.274 0 008.265 9.6zm7.326 0a2.274 2.274 0 00-2.274 2.274v4.042a2.274 2.274 0 104.548 0v-4.042A2.274 2.274 0 0015.59 9.6z`}),(0,P.jsx)(`path`,{d:`M12.054 5.558a2.779 2.779 0 100-5.558 2.779 2.779 0 000 5.558z`})]})),gE=(0,N.memo)(({...e})=>(0,P.jsx)(aT,{Icon:hE,"aria-label":cE,background:fE,color:pE,iconMultiple:mE,...e})),_E=(0,N.memo)(({size:e=`1em`,style:t,...n})=>(0,P.jsxs)(`svg`,{fill:`currentColor`,fillRule:`evenodd`,height:e,style:{flex:`none`,lineHeight:1,...t},viewBox:`0 0 88 24`,xmlns:`http://www.w3.org/2000/svg`,...n,children:[(0,P.jsx)(`title`,{children:cE}),(0,P.jsx)(`path`,{d:`M79.558 21.986c-1.13 0-2.167-.189-3.108-.565a7.128 7.128 0 01-2.403-1.569 6.933 6.933 0 01-1.554-2.331 7.876 7.876 0 01-.537-2.925v-.58c0-1.196.189-2.279.566-3.25.376-.97.894-1.798 1.554-2.486a6.84 6.84 0 012.289-1.582 7.005 7.005 0 012.797-.566c1.103 0 2.078.189 2.925.566.848.367 1.56.88 2.134 1.54.575.668 1.008 1.464 1.3 2.388.292.923.438 1.93.438 3.023v1.456H75.362v.07c.103.67.263 1.23.48 1.682.217.452.513.857.89 1.215.377.377.82.669 1.328.876.518.207 1.084.31 1.696.31.838 0 1.62-.16 2.346-.48a4.71 4.71 0 001.794-1.398l1.808 1.752c-.508.734-1.29 1.394-2.345 1.978-1.046.584-2.313.876-3.8.876zm-.41-13.113c-.48 0-.927.09-1.342.269-.405.17-.768.414-1.088.735-.32.33-.589.725-.805 1.187a6.25 6.25 0 00-.48 1.568h7.191v-.226c0-.443-.08-.88-.24-1.314a3.545 3.545 0 00-.678-1.159 3.004 3.004 0 00-1.074-.763c-.424-.198-.919-.297-1.484-.297zM55.043 21.703V6.415h3.052l.212 2.176c.207-.292.433-.56.678-.805.255-.255.523-.48.806-.679a5.555 5.555 0 013.179-.975 6.5 6.5 0 012.148.34 4.11 4.11 0 011.667 1.073c.461.49.82 1.117 1.074 1.88.254.753.381 1.667.381 2.74v9.538h-3.377v-9.48c0-.632-.07-1.16-.212-1.583-.141-.424-.348-.763-.621-1.018a2.3 2.3 0 00-.99-.537 4.736 4.736 0 00-1.328-.17c-.414 0-.8.057-1.158.17a3.421 3.421 0 00-1.611 1.004 4.282 4.282 0 00-.523.706v10.908h-3.377zM38.44 6.415h8.111v12.49h4.493v2.798H38.441v-2.797h4.705v-9.68H38.44V6.416zm4.395-3.956c0-.274.047-.523.141-.75a1.69 1.69 0 01.41-.607c.17-.16.372-.282.607-.367.245-.094.519-.141.82-.141.509 0 .918.131 1.23.395.32.254.503.584.55.99.066.414-.004.776-.212 1.087-.207.302-.508.504-.904.608a1.48 1.48 0 01-.706.353c-.273.057-.575.033-.905-.07a1.396 1.396 0 01-.777-.552 1.758 1.758 0 01-.254-.946zM20.934 0h8.238v18.906h4.634v2.797H20.934v-2.797h4.832V2.812h-4.832V0zM16.71 15.373c-.095.999-.33 1.908-.707 2.727a6.672 6.672 0 01-1.484 2.077 6.542 6.542 0 01-2.218 1.357c-.848.31-1.79.466-2.826.466-.848 0-1.63-.113-2.346-.339a6.467 6.467 0 01-1.893-.99 6.55 6.55 0 01-1.413-1.426 9.438 9.438 0 01-1.003-1.851c-.274-.66-.48-1.375-.622-2.148A14.34 14.34 0 012 12.83v-2.812c0-.8.066-1.573.198-2.317.132-.744.33-1.446.593-2.106A8.284 8.284 0 013.88 3.603a7.296 7.296 0 011.555-1.54 6.953 6.953 0 011.836-.904A7.256 7.256 0 019.49.834c1.083 0 2.049.16 2.896.48.858.32 1.588.773 2.19 1.357a6.337 6.337 0 011.442 2.147c.358.839.588 1.771.692 2.798h-3.391a6.568 6.568 0 00-.353-1.653c-.17-.5-.405-.923-.707-1.272a2.977 2.977 0 00-1.144-.791c-.453-.188-.994-.283-1.625-.283-.443 0-.843.062-1.201.184-.349.122-.66.297-.933.523a3.385 3.385 0 00-.947 1.074 7.033 7.033 0 00-.607 1.455c-.123.471-.217.975-.283 1.512a15.25 15.25 0 00-.084 1.625v2.84c0 .688.037 1.333.113 1.936.084.602.212 1.154.381 1.653.132.414.297.791.495 1.13.207.34.452.631.734.876.292.264.627.466 1.004.608.386.132.824.198 1.314.198.584 0 1.102-.085 1.554-.255.452-.17.838-.419 1.159-.749.31-.32.56-.72.748-1.2.189-.481.311-1.032.368-1.654h3.405z`})]})),vE=(0,N.memo)(({...e})=>(0,P.jsx)(oT,{Icon:hE,Text:_E,"aria-label":cE,spaceMultiple:uE,textMultiple:lE,iconProps:{shape:`square`},...e})),yE=hE;yE.Text=_E,yE.Combine=vE,yE.Avatar=gE,yE.colorPrimary=dE,yE.title=cE;var bE=`Codex`,xE=.8,SE=.2,CE=`#fff`,wE=CE,TE=`#fff`,EE=.7,DE=(0,N.memo)(({size:e=`1em`,style:t,...n})=>{let{id:r,fill:i}=uT(bE);return(0,P.jsxs)(`svg`,{height:e,style:{flex:`none`,lineHeight:1,...t},viewBox:`0 0 24 24`,width:e,xmlns:`http://www.w3.org/2000/svg`,...n,children:[(0,P.jsx)(`title`,{children:bE}),(0,P.jsx)(`path`,{clipRule:`evenodd`,d:`M8.086.457a6.105 6.105 0 013.046-.415c1.333.153 2.521.72 3.564 1.7a.117.117 0 00.107.029c1.408-.346 2.762-.224 4.061.366l.063.03.154.076c1.357.703 2.33 1.77 2.918 3.198.278.679.418 1.388.421 2.126a5.655 5.655 0 01-.18 1.631.167.167 0 00.04.155 5.982 5.982 0 011.578 2.891c.385 1.901-.01 3.615-1.183 5.14l-.182.22a6.063 6.063 0 01-2.934 1.851.162.162 0 00-.108.102c-.255.736-.511 1.364-.987 1.992-1.199 1.582-2.962 2.462-4.948 2.451-1.583-.008-2.986-.587-4.21-1.736a.145.145 0 00-.14-.032c-.518.167-1.04.191-1.604.185a5.924 5.924 0 01-2.595-.622 6.058 6.058 0 01-2.146-1.781c-.203-.269-.404-.522-.551-.821a7.74 7.74 0 01-.495-1.283 6.11 6.11 0 01-.017-3.064.166.166 0 00.008-.074.115.115 0 00-.037-.064 5.958 5.958 0 01-1.38-2.202 5.196 5.196 0 01-.333-1.589 6.915 6.915 0 01.188-2.132c.45-1.484 1.309-2.648 2.577-3.493.282-.188.55-.334.802-.438.286-.12.573-.22.861-.304a.129.129 0 00.087-.087A6.016 6.016 0 015.635 2.31C6.315 1.464 7.132.846 8.086.457zm-.804 7.85a.848.848 0 00-1.473.842l1.694 2.965-1.688 2.848a.849.849 0 001.46.864l1.94-3.272a.849.849 0 00.007-.854l-1.94-3.393zm5.446 6.24a.849.849 0 000 1.695h4.848a.849.849 0 000-1.696h-4.848z`,fill:i,fillRule:`evenodd`}),(0,P.jsx)(`defs`,{children:(0,P.jsxs)(`linearGradient`,{gradientUnits:`userSpaceOnUse`,id:r,x1:`12`,x2:`12`,y1:`0`,y2:`24`,children:[(0,P.jsx)(`stop`,{stopColor:`#B1A7FF`}),(0,P.jsx)(`stop`,{offset:`.5`,stopColor:`#7A9DFF`}),(0,P.jsx)(`stop`,{offset:`1`,stopColor:`#3941FF`})]})})]})}),OE=(0,N.memo)(({...e})=>(0,P.jsx)(aT,{Icon:DE,"aria-label":bE,background:wE,color:TE,iconMultiple:EE,...e})),kE=(0,N.memo)(({size:e=`1em`,style:t,...n})=>{let{id:r,fill:i}=uT(bE);return(0,P.jsxs)(`svg`,{height:e,style:{flex:`none`,lineHeight:1,...t},viewBox:`0 0 24 24`,width:e,xmlns:`http://www.w3.org/2000/svg`,...n,children:[(0,P.jsx)(`title`,{children:bE}),(0,P.jsx)(`path`,{d:`M19.503 0H4.496A4.496 4.496 0 000 4.496v15.007A4.496 4.496 0 004.496 24h15.007A4.496 4.496 0 0024 19.503V4.496A4.496 4.496 0 0019.503 0z`,fill:`#fff`}),(0,P.jsx)(`path`,{d:`M9.064 3.344a4.578 4.578 0 012.285-.312c1 .115 1.891.54 2.673 1.275.01.01.024.017.037.021a.09.09 0 00.043 0 4.55 4.55 0 013.046.275l.047.022.116.057a4.581 4.581 0 012.188 2.399c.209.51.313 1.041.315 1.595a4.24 4.24 0 01-.134 1.223.123.123 0 00.03.115c.594.607.988 1.33 1.183 2.17.289 1.425-.007 2.71-.887 3.854l-.136.166a4.548 4.548 0 01-2.201 1.388.123.123 0 00-.081.076c-.191.551-.383 1.023-.74 1.494-.9 1.187-2.222 1.846-3.711 1.838-1.187-.006-2.239-.44-3.157-1.302a.107.107 0 00-.105-.024c-.388.125-.78.143-1.204.138a4.441 4.441 0 01-1.945-.466 4.544 4.544 0 01-1.61-1.335c-.152-.202-.303-.392-.414-.617a5.81 5.81 0 01-.37-.961 4.582 4.582 0 01-.014-2.298.124.124 0 00.006-.056.085.085 0 00-.027-.048 4.467 4.467 0 01-1.034-1.651 3.896 3.896 0 01-.251-1.192 5.189 5.189 0 01.141-1.6c.337-1.112.982-1.985 1.933-2.618.212-.141.413-.251.601-.33.215-.089.43-.164.646-.227a.098.098 0 00.065-.066 4.51 4.51 0 01.829-1.615 4.535 4.535 0 011.837-1.388zm3.482 10.565a.637.637 0 000 1.272h3.636a.637.637 0 100-1.272h-3.636zM8.462 9.23a.637.637 0 00-1.106.631l1.272 2.224-1.266 2.136a.636.636 0 101.095.649l1.454-2.455a.636.636 0 00.005-.64L8.462 9.23z`,fill:i}),(0,P.jsx)(`defs`,{children:(0,P.jsxs)(`linearGradient`,{gradientUnits:`userSpaceOnUse`,id:r,x1:`12`,x2:`12`,y1:`3`,y2:`21`,children:[(0,P.jsx)(`stop`,{stopColor:`#B1A7FF`}),(0,P.jsx)(`stop`,{offset:`.5`,stopColor:`#7A9DFF`}),(0,P.jsx)(`stop`,{offset:`1`,stopColor:`#3941FF`})]})})]})}),AE=(0,N.memo)(({size:e=`1em`,style:t,...n})=>(0,P.jsxs)(`svg`,{fill:`currentColor`,fillRule:`evenodd`,height:e,style:{flex:`none`,lineHeight:1,...t},viewBox:`0 0 24 24`,width:e,xmlns:`http://www.w3.org/2000/svg`,...n,children:[(0,P.jsx)(`title`,{children:bE}),(0,P.jsx)(`path`,{clipRule:`evenodd`,d:`M8.086.457a6.105 6.105 0 013.046-.415c1.333.153 2.521.72 3.564 1.7a.117.117 0 00.107.029c1.408-.346 2.762-.224 4.061.366l.063.03.154.076c1.357.703 2.33 1.77 2.918 3.198.278.679.418 1.388.421 2.126a5.655 5.655 0 01-.18 1.631.167.167 0 00.04.155 5.982 5.982 0 011.578 2.891c.385 1.901-.01 3.615-1.183 5.14l-.182.22a6.063 6.063 0 01-2.934 1.851.162.162 0 00-.108.102c-.255.736-.511 1.364-.987 1.992-1.199 1.582-2.962 2.462-4.948 2.451-1.583-.008-2.986-.587-4.21-1.736a.145.145 0 00-.14-.032c-.518.167-1.04.191-1.604.185a5.924 5.924 0 01-2.595-.622 6.058 6.058 0 01-2.146-1.781c-.203-.269-.404-.522-.551-.821a7.74 7.74 0 01-.495-1.283 6.11 6.11 0 01-.017-3.064.166.166 0 00.008-.074.115.115 0 00-.037-.064 5.958 5.958 0 01-1.38-2.202 5.196 5.196 0 01-.333-1.589 6.915 6.915 0 01.188-2.132c.45-1.484 1.309-2.648 2.577-3.493.282-.188.55-.334.802-.438.286-.12.573-.22.861-.304a.129.129 0 00.087-.087A6.016 6.016 0 015.635 2.31C6.315 1.464 7.132.846 8.086.457zm-.804 7.85a.848.848 0 00-1.473.842l1.694 2.965-1.688 2.848a.849.849 0 001.46.864l1.94-3.272a.849.849 0 00.007-.854l-1.94-3.393zm5.446 6.24a.849.849 0 000 1.695h4.848a.849.849 0 000-1.696h-4.848z`})]})),jE=(0,N.memo)(({size:e=`1em`,style:t,...n})=>(0,P.jsxs)(`svg`,{fill:`currentColor`,fillRule:`evenodd`,height:e,style:{flex:`none`,lineHeight:1,...t},viewBox:`0 0 91 24`,xmlns:`http://www.w3.org/2000/svg`,...n,children:[(0,P.jsx)(`title`,{children:bE}),(0,P.jsx)(`path`,{d:`M79.915 14.964l-5.53-7.548h3.33l3.88 5.256 3.88-5.256h3.24l-5.5 7.486 5.683 7.792h-3.361l-4.003-5.5-4.064 5.5H74.2l5.715-7.73zM66.368 23c-1.345 0-2.567-.326-3.667-.978-1.08-.652-1.935-1.579-2.567-2.78-.631-1.203-.947-2.608-.947-4.217 0-1.59.316-2.974.947-4.156.652-1.202 1.518-2.129 2.597-2.78 1.08-.652 2.272-.978 3.575-.978 1.813 0 3.33.55 4.553 1.65 1.222 1.1 1.956 2.597 2.2 4.491.082.693.112 1.477.092 2.353H62.09c.06 1.548.489 2.76 1.283 3.636.815.876 1.793 1.314 2.933 1.314h.184c.855 0 1.599-.224 2.23-.672.632-.448 1.06-1.06 1.284-1.833h2.933a6.147 6.147 0 01-2.322 3.575C69.433 22.54 68.018 23 66.368 23zm3.819-9.687c-.082-1.16-.469-2.077-1.161-2.75-.693-.692-1.558-1.038-2.597-1.038h-.214c-.978 0-1.844.315-2.597.947-.734.611-1.212 1.558-1.437 2.841h8.006zM47.834 23c-1.324 0-2.516-.326-3.575-.978-1.039-.652-1.854-1.579-2.444-2.78-.591-1.202-.887-2.598-.887-4.187 0-1.588.306-2.984.917-4.186.611-1.201 1.446-2.128 2.506-2.78 1.08-.652 2.281-.978 3.605-.978 1.08 0 2.047.224 2.903.672.855.449 1.497 1.019 1.925 1.711V1.306h2.903v21.388h-2.903v-2.108c-.408.672-1.06 1.242-1.956 1.711-.896.469-1.894.703-2.994.703zm.58-2.475c.856 0 1.62-.234 2.292-.703.672-.468 1.192-1.11 1.558-1.925.387-.835.58-1.782.58-2.841 0-1.06-.193-1.997-.58-2.812-.366-.835-.886-1.487-1.558-1.955a3.911 3.911 0 00-2.292-.703h-.183c-1.304 0-2.363.51-3.178 1.528-.794 1.018-1.191 2.332-1.191 3.941 0 1.61.397 2.924 1.191 3.942.815 1.019 1.874 1.528 3.178 1.528h.183zM31.022 23c-1.406 0-2.679-.337-3.82-1.009a7.367 7.367 0 01-2.688-2.841c-.652-1.223-.978-2.587-.978-4.095 0-1.507.326-2.862.978-4.064.651-1.222 1.548-2.17 2.688-2.841 1.141-.693 2.414-1.04 3.82-1.04 1.405 0 2.668.347 3.789 1.04 1.14.672 2.037 1.62 2.688 2.841.652 1.202.978 2.557.978 4.064 0 1.508-.326 2.872-.977 4.095a7.367 7.367 0 01-2.69 2.841C33.69 22.663 32.428 23 31.023 23zm.06-2.476c.857 0 1.62-.224 2.293-.672.672-.468 1.201-1.11 1.589-1.925.386-.835.58-1.792.58-2.872 0-1.08-.194-2.027-.58-2.841-.388-.836-.917-1.477-1.59-1.925a3.911 3.911 0 00-2.291-.703H30.9c-1.304 0-2.373.51-3.209 1.528-.814.998-1.222 2.312-1.222 3.941 0 1.63.407 2.954 1.222 3.972.835.998 1.905 1.497 3.209 1.497h.183zM12.053 23c-2.037 0-3.82-.469-5.348-1.406-1.507-.957-2.668-2.271-3.483-3.941S2 14.098 2 12c0-2.098.407-3.982 1.222-5.653.835-1.67 2.017-2.974 3.545-3.91C8.294 1.478 10.057 1 12.053 1c1.609 0 3.055.316 4.338.947 1.304.611 2.363 1.477 3.178 2.597.815 1.1 1.304 2.374 1.467 3.82h-3.117c-.244-1.365-.876-2.465-1.894-3.3-1.019-.856-2.302-1.283-3.85-1.283h-.245c-1.385 0-2.597.356-3.636 1.069-1.039.713-1.833 1.69-2.383 2.933-.55 1.243-.825 2.648-.825 4.217 0 1.568.275 2.974.825 4.216.55 1.243 1.344 2.22 2.383 2.934 1.04.713 2.251 1.07 3.636 1.07h.245c1.548 0 2.831-.418 3.85-1.254 1.039-.855 1.68-1.976 1.925-3.36h3.086c-.184 1.446-.683 2.729-1.497 3.85-.795 1.12-1.844 1.996-3.148 2.627-1.303.611-2.75.917-4.338.917z`})]})),ME=(0,N.memo)(({type:e=`mono`,...t})=>(0,P.jsx)(oT,{Icon:e===`color`?kE:AE,Text:jE,"aria-label":bE,spaceMultiple:SE,textMultiple:xE,...t})),NE=AE;NE.Color=kE,NE.Text=jE,NE.Combine=ME,NE.Avatar=OE,NE.colorPrimary=CE,NE.title=bE;var PE=`Cursor`,FE=.7,IE=.1,LE=`#000`,RE=LE,zE=`#fff`,BE=.6,VE=(0,N.memo)(({size:e=`1em`,style:t,...n})=>(0,P.jsxs)(`svg`,{fill:`currentColor`,fillRule:`evenodd`,height:e,style:{flex:`none`,lineHeight:1,...t},viewBox:`0 0 24 24`,width:e,xmlns:`http://www.w3.org/2000/svg`,...n,children:[(0,P.jsx)(`title`,{children:PE}),(0,P.jsx)(`path`,{d:`M22.106 5.68L12.5.135a.998.998 0 00-.998 0L1.893 5.68a.84.84 0 00-.419.726v11.186c0 .3.16.577.42.727l9.607 5.547a.999.999 0 00.998 0l9.608-5.547a.84.84 0 00.42-.727V6.407a.84.84 0 00-.42-.726zm-.603 1.176L12.228 22.92c-.063.108-.228.064-.228-.061V12.34a.59.59 0 00-.295-.51l-9.11-5.26c-.107-.062-.063-.228.062-.228h18.55c.264 0 .428.286.296.514z`})]})),HE=(0,N.memo)(({...e})=>(0,P.jsx)(aT,{Icon:VE,"aria-label":PE,background:RE,color:zE,iconMultiple:BE,...e})),UE=(0,N.memo)(({size:e=`1em`,style:t,...n})=>(0,P.jsxs)(`svg`,{fill:`currentColor`,fillRule:`evenodd`,height:e,style:{flex:`none`,lineHeight:1,...t},viewBox:`0 0 123 24`,xmlns:`http://www.w3.org/2000/svg`,...n,children:[(0,P.jsx)(`title`,{children:PE}),(0,P.jsx)(`path`,{d:`M11.995 2.33h6.516v3.582h-6.295C8.82 5.912 6.169 7.868 6.169 12c0 4.133 2.65 6.089 6.047 6.089h6.295v3.581H11.72C6.03 21.67 2 18.336 2 12c0-6.337 4.307-9.67 9.995-9.67zm9.829 0h4.03V14.15c0 2.947 1.354 4.325 4.53 4.325 3.175 0 4.528-1.377 4.528-4.325V2.33h4.03v12.644c0 4.297-2.733 7.025-8.559 7.025-5.826 0-8.56-2.755-8.56-7.052V2.33zm38.185 5.483c0 2.149-1.243 3.801-2.9 4.518v.055c1.74.248 2.624 1.488 2.65 3.169l.084 6.115h-4.031l-.083-5.454c-.027-1.212-.745-1.956-2.181-1.956h-6.71v7.41h-4.03V2.33h11.127c3.644 0 6.074 1.846 6.074 5.483zm-4.059.55c0-1.652-.883-2.561-2.54-2.561H46.84v5.123h6.626c1.518 0 2.485-.909 2.485-2.562zm19.3 7.66c0-1.378-.884-1.957-2.209-2.067l-4.473-.413c-3.866-.358-5.881-1.873-5.881-5.537 0-3.664 2.485-5.675 6.046-5.675h9.885V5.8h-9.609c-1.38 0-2.263.717-2.263 2.094 0 1.378.91 2.039 2.291 2.15l4.556.385c3.452.303 5.715 1.874 5.715 5.565 0 3.691-2.402 5.675-5.798 5.675H63.184V18.2h9.94c1.297 0 2.126-.882 2.126-2.177zM91.097 2c6.074 0 9.912 3.884 9.912 9.972C101.01 18.061 97.006 22 90.932 22s-9.912-3.94-9.912-10.028C81.02 5.884 85.024 2 91.098 2zm5.743 10c0-4.077-2.374-6.474-5.826-6.474-3.451 0-5.826 2.397-5.826 6.474s2.375 6.473 5.826 6.473c3.452 0 5.826-2.396 5.826-6.473zM121 7.813c0 2.149-1.242 3.801-2.899 4.518v.055c1.739.248 2.623 1.488 2.65 3.169l.083 6.115h-4.031l-.083-5.454c-.027-1.212-.745-1.956-2.181-1.956h-6.709v7.41h-4.031V2.33h11.127c3.645 0 6.074 1.846 6.074 5.483zm-4.059.55c0-1.652-.883-2.561-2.54-2.561h-6.571v5.123h6.626c1.518 0 2.485-.909 2.485-2.562z`})]})),WE=(0,N.memo)(({...e})=>(0,P.jsx)(oT,{Icon:VE,Text:UE,"aria-label":PE,spaceMultiple:IE,textMultiple:FE,...e})),GE=VE;GE.Text=UE,GE.Combine=WE,GE.Avatar=HE,GE.colorPrimary=LE,GE.title=PE;var KE=`Devin`,qE=.55,JE=.2,YE=`#fff`,XE=YE,ZE=`#fff`,QE=.65,$E=(0,N.memo)(({size:e=`1em`,style:t,...n})=>(0,P.jsxs)(`svg`,{height:e,style:{flex:`none`,lineHeight:1,...t},viewBox:`0 0 24 24`,width:e,xmlns:`http://www.w3.org/2000/svg`,...n,children:[(0,P.jsx)(`title`,{children:KE}),(0,P.jsx)(`path`,{d:`M2.033 9.867l2.554 1.483a.589.589 0 00.592 0l2.554-1.483.01-.008a.608.608 0 00.11-.084l.013-.015a.631.631 0 00.076-.1c.003-.005.008-.01.01-.016a.558.558 0 00.052-.125l.007-.028a.611.611 0 00.019-.14V7.868c0-.572.307-1.105.8-1.392a1.595 1.595 0 011.598 0l1.277.742a.54.54 0 00.129.053l.028.01c.044.01.088.015.133.016h.006l.013-.002a.587.587 0 00.27-.074l.011-.004 2.554-1.483a.596.596 0 00.297-.516V2.253a.595.595 0 00-.297-.516L12.293.257a.587.587 0 00-.591 0L9.148 1.737l-.01.01a.609.609 0 00-.109.083l-.014.015a.632.632 0 00-.076.1c-.003.005-.008.01-.01.016a.57.57 0 00-.052.124l-.007.028a.612.612 0 00-.018.14v1.483c0 .572-.307 1.105-.8 1.393a1.597 1.597 0 01-1.599 0l-1.276-.742a.603.603 0 00-.13-.053l-.028-.008a.658.658 0 00-.133-.018h-.02a.57.57 0 00-.269.074c-.003.002-.008.002-.012.005L2.033 5.872a.596.596 0 00-.297.515v2.966c0 .213.113.41.297.515z`,fill:`#3969CA`}),(0,P.jsx)(`path`,{d:`M15.943 10.607a1.596 1.596 0 011.599 0l1.276.74c.041.025.085.04.13.055l.028.008c.043.01.088.016.133.018h.005c.005 0 .01-.002.014-.003a.474.474 0 00.122-.016l.021-.005a.616.616 0 00.126-.052c.004-.002.009-.002.013-.005l2.554-1.482a.597.597 0 00.297-.516V6.383a.596.596 0 00-.297-.515l-2.552-1.483a.587.587 0 00-.592 0l-2.553 1.482-.011.008a.61.61 0 00-.108.084l-.014.016a.637.637 0 00-.076.1c-.003.005-.008.01-.01.016a.57.57 0 00-.052.124l-.007.029a.612.612 0 00-.018.14v1.482c0 .572-.307 1.105-.8 1.393a1.597 1.597 0 01-1.599 0l-1.276-.742a.584.584 0 00-.13-.053l-.028-.008a.62.62 0 00-.133-.018h-.02a.587.587 0 00-.269.074l-.012.004L9.15 10a.596.596 0 00-.296.516v2.966c0 .212.112.409.296.515l2.554 1.483s.008.002.012.005c.04.022.082.04.126.052l.02.004a.57.57 0 00.123.017l.014.002h.006c.054 0 .108-.01.16-.025a.587.587 0 00.13-.054l1.277-.741a1.597 1.597 0 012.398 1.392v1.482c0 .049.007.095.019.14l.007.028a.619.619 0 00.051.125c.004.006.008.01.01.016a.6.6 0 00.076.1l.014.015c.033.032.069.06.108.084.004.002.006.006.011.008l2.554 1.483a.59.59 0 00.593 0l2.554-1.483a.597.597 0 00.296-.516v-2.965a.595.595 0 00-.296-.516l-2.554-1.483s-.008-.002-.012-.005a.54.54 0 00-.126-.051c-.007-.003-.013-.003-.02-.005a.635.635 0 00-.125-.017h-.018a.557.557 0 00-.16.026.588.588 0 00-.13.053l-1.276.742a1.595 1.595 0 01-1.598 0 1.615 1.615 0 010-2.785l-.005-.001z`,fill:`#21C19A`}),(0,P.jsx)(`path`,{d:`M14.848 18.265l-2.554-1.482-.012-.005a.526.526 0 00-.126-.052c-.007-.002-.014-.002-.02-.005a.64.64 0 00-.124-.017h-.02a.56.56 0 00-.16.026.588.588 0 00-.13.053l-1.276.742a1.594 1.594 0 01-1.598 0c-.493-.286-.8-.82-.8-1.393V14.65a.563.563 0 00-.018-.14l-.008-.028a.604.604 0 00-.051-.124l-.01-.017a.603.603 0 00-.076-.1l-.014-.015a.596.596 0 00-.109-.084c-.003-.002-.005-.006-.01-.008L5.178 12.65a.587.587 0 00-.591 0l-2.554 1.483a.596.596 0 00-.297.516v2.965c0 .213.113.41.297.516l2.554 1.483.012.004a.618.618 0 00.267.074l.016.002h.007a.55.55 0 00.16-.026.584.584 0 00.129-.053l1.277-.742a1.597 1.597 0 012.398 1.393v1.482c0 .05.007.095.019.14l.007.028c.013.044.03.085.051.125l.01.016c.022.036.047.07.076.1l.014.015c.032.032.069.06.109.084l.01.008 2.554 1.483a.587.587 0 00.593 0l2.554-1.483a.596.596 0 00.296-.515v-2.966a.596.596 0 00-.296-.516h-.002z`,fill:`#0294DE`})]})),eD=(0,N.memo)(({...e})=>(0,P.jsx)(aT,{Icon:$E,"aria-label":KE,background:XE,color:ZE,iconMultiple:QE,...e})),tD=(0,N.memo)(({size:e=`1em`,style:t,...n})=>(0,P.jsxs)(`svg`,{fill:`currentColor`,fillRule:`evenodd`,height:e,style:{flex:`none`,lineHeight:1,...t},viewBox:`0 0 24 24`,width:e,xmlns:`http://www.w3.org/2000/svg`,...n,children:[(0,P.jsx)(`title`,{children:KE}),(0,P.jsx)(`path`,{d:`M2.033 9.867l2.554 1.483a.589.589 0 00.592 0l2.554-1.483.01-.008a.608.608 0 00.11-.084l.013-.015a.631.631 0 00.076-.1c.003-.005.008-.01.01-.016a.558.558 0 00.052-.125l.007-.028a.611.611 0 00.019-.14V7.868c0-.572.307-1.105.8-1.392a1.595 1.595 0 011.598 0l1.277.742a.54.54 0 00.129.053l.028.01c.044.01.088.015.133.016h.006l.013-.002a.587.587 0 00.27-.074l.011-.004 2.554-1.483a.596.596 0 00.297-.516V2.253a.595.595 0 00-.297-.516L12.293.257a.587.587 0 00-.591 0L9.148 1.737l-.01.01a.609.609 0 00-.109.083l-.014.015a.632.632 0 00-.076.1c-.003.005-.008.01-.01.016a.57.57 0 00-.052.124l-.007.028a.612.612 0 00-.018.14v1.483c0 .572-.307 1.105-.8 1.393a1.597 1.597 0 01-1.599 0l-1.276-.742a.603.603 0 00-.13-.053l-.028-.008a.658.658 0 00-.133-.018h-.02a.57.57 0 00-.269.074c-.003.002-.008.002-.012.005L2.033 5.872a.596.596 0 00-.297.515v2.966c0 .213.113.41.297.515z`}),(0,P.jsx)(`path`,{d:`M15.943 10.607a1.596 1.596 0 011.599 0l1.276.74c.041.025.085.04.13.055l.028.008c.043.01.088.016.133.018h.005c.005 0 .01-.002.014-.003a.474.474 0 00.122-.016l.021-.005a.616.616 0 00.126-.052c.004-.002.009-.002.013-.005l2.554-1.482a.597.597 0 00.297-.516V6.383a.596.596 0 00-.297-.515l-2.552-1.483a.587.587 0 00-.592 0l-2.553 1.482-.011.008a.61.61 0 00-.108.084l-.014.016a.637.637 0 00-.076.1c-.003.005-.008.01-.01.016a.57.57 0 00-.052.124l-.007.029a.612.612 0 00-.018.14v1.482c0 .572-.307 1.105-.8 1.393a1.597 1.597 0 01-1.599 0l-1.276-.742a.584.584 0 00-.13-.053l-.028-.008a.62.62 0 00-.133-.018h-.02a.587.587 0 00-.269.074l-.012.004L9.15 10a.596.596 0 00-.296.516v2.966c0 .212.112.409.296.515l2.554 1.483s.008.002.012.005c.04.022.082.04.126.052l.02.004a.57.57 0 00.123.017l.014.002h.006c.054 0 .108-.01.16-.025a.587.587 0 00.13-.054l1.277-.741a1.597 1.597 0 012.398 1.392v1.482c0 .049.007.095.019.14l.007.028a.619.619 0 00.051.125c.004.006.008.01.01.016a.6.6 0 00.076.1l.014.015c.033.032.069.06.108.084.004.002.006.006.011.008l2.554 1.483a.59.59 0 00.593 0l2.554-1.483a.597.597 0 00.296-.516v-2.965a.595.595 0 00-.296-.516l-2.554-1.483s-.008-.002-.012-.005a.54.54 0 00-.126-.051c-.007-.003-.013-.003-.02-.005a.635.635 0 00-.125-.017h-.018a.557.557 0 00-.16.026.588.588 0 00-.13.053l-1.276.742a1.595 1.595 0 01-1.598 0 1.615 1.615 0 010-2.785l-.005-.001z`}),(0,P.jsx)(`path`,{d:`M14.848 18.265l-2.554-1.482-.012-.005a.526.526 0 00-.126-.052c-.007-.002-.014-.002-.02-.005a.64.64 0 00-.124-.017h-.02a.56.56 0 00-.16.026.588.588 0 00-.13.053l-1.276.742a1.594 1.594 0 01-1.598 0c-.493-.286-.8-.82-.8-1.393V14.65a.563.563 0 00-.018-.14l-.008-.028a.604.604 0 00-.051-.124l-.01-.017a.603.603 0 00-.076-.1l-.014-.015a.596.596 0 00-.109-.084c-.003-.002-.005-.006-.01-.008L5.178 12.65a.587.587 0 00-.591 0l-2.554 1.483a.596.596 0 00-.297.516v2.965c0 .213.113.41.297.516l2.554 1.483.012.004a.618.618 0 00.267.074l.016.002h.007a.55.55 0 00.16-.026.584.584 0 00.129-.053l1.277-.742a1.597 1.597 0 012.398 1.393v1.482c0 .05.007.095.019.14l.007.028c.013.044.03.085.051.125l.01.016c.022.036.047.07.076.1l.014.015c.032.032.069.06.109.084l.01.008 2.554 1.483a.587.587 0 00.593 0l2.554-1.483a.596.596 0 00.296-.515v-2.966a.596.596 0 00-.296-.516h-.002z`})]})),nD=(0,N.memo)(({size:e=`1em`,style:t,...n})=>(0,P.jsxs)(`svg`,{fill:`currentColor`,height:e,style:{flex:`none`,lineHeight:1,...t},viewBox:`0 0 80 24`,xmlns:`http://www.w3.org/2000/svg`,...n,children:[(0,P.jsx)(`title`,{children:KE}),(0,P.jsx)(`path`,{d:`M69.069 13.524v10.135h-3.325V6.589h3.191v2.779h.211a4.88 4.88 0 011.846-2.178c.845-.549 1.909-.823 3.191-.823 1.164 0 2.183.245 3.057.734.875.481 1.553 1.2 2.035 2.156.482.955.723 2.137.723 3.545v10.857h-3.325V13.202c0-1.238-.322-2.204-.967-2.9-.645-.705-1.53-1.057-2.657-1.057-.771 0-1.457.167-2.057.5-.593.334-1.064.823-1.412 1.467-.341.638-.511 1.408-.511 2.312zM57.95 23.67V6.602h3.324v17.07H57.95zm1.679-19.703a2.114 2.114 0 01-1.49-.578c-.408-.392-.612-.859-.612-1.4 0-.548.204-1.015.612-1.4A2.092 2.092 0 0159.629 0c.578 0 1.07.196 1.479.589.415.385.622.852.622 1.4 0 .541-.207 1.008-.622 1.4-.408.386-.901.578-1.48.578zM54.824 6.59l-6.193 17.07h-3.558L38.87 6.59h3.57l4.324 13.135h.178L51.255 6.59h3.569zM29.69 24.003c-1.683 0-3.132-.359-4.347-1.078-1.209-.726-2.142-1.744-2.802-3.056-.652-1.318-.979-2.863-.979-4.634 0-1.748.327-3.29.979-4.623.66-1.333 1.579-2.374 2.757-3.122 1.186-.749 2.572-1.123 4.159-1.123.963 0 1.897.16 2.801.478a6.787 6.787 0 012.435 1.5c.72.682 1.286 1.567 1.701 2.656.416 1.082.623 2.397.623 3.945v1.178H23.441v-2.489H33.76c0-.874-.178-1.648-.533-2.323a4.034 4.034 0 00-1.501-1.61c-.638-.394-1.386-.59-2.246-.59-.934 0-1.75.23-2.446.69a4.625 4.625 0 00-1.601 1.777 5.131 5.131 0 00-.556 2.367v1.945c0 1.14.2 2.111.6 2.911.408.8.975 1.412 1.701 1.834.727.415 1.575.623 2.546.623a5.29 5.29 0 001.724-.267c.519-.186.967-.46 1.345-.823.378-.363.667-.81.867-1.344l3.147.567a5.694 5.694 0 01-1.357 2.433c-.645.69-1.456 1.226-2.435 1.612-.97.377-2.079.566-3.324.566zM7.371 23.666H0V.905h7.605c2.231 0 4.147.456 5.748 1.367 1.601.904 2.828 2.204 3.68 3.9.86 1.69 1.29 3.716 1.29 6.08 0 2.37-.434 4.408-1.3 6.112-.86 1.704-2.106 3.015-3.737 3.934-1.63.91-3.602 1.367-5.915 1.367zm-3.935-3.001h3.746c1.735 0 3.177-.326 4.325-.978 1.15-.66 2.01-1.611 2.58-2.856.57-1.252.856-2.778.856-4.579 0-1.785-.285-3.3-.856-4.545-.563-1.244-1.405-2.189-2.524-2.833-1.12-.645-2.509-.967-4.17-.967H3.437v16.758z`})]})),rD=(0,N.memo)(({type:e=`mono`,...t})=>(0,P.jsx)(oT,{Icon:e===`color`?$E:tD,Text:nD,"aria-label":KE,spaceMultiple:JE,textMultiple:qE,...t})),iD=tD;iD.Color=$E,iD.Text=nD,iD.Combine=rD,iD.Avatar=eD,iD.colorPrimary=YE,iD.title=KE;var aD=`Gemini CLI`,oD=.75,sD=.3,cD=`#1E1E2E`,lD=cD,uD=`#fff`,dD=.7,fD=(0,N.memo)(({size:e=`1em`,style:t,...n})=>{let{fill:r,id:i}=uT(aD);return(0,P.jsxs)(`svg`,{height:e,style:{flex:`none`,lineHeight:1,...t},viewBox:`0 0 24 24`,width:e,xmlns:`http://www.w3.org/2000/svg`,...n,children:[(0,P.jsx)(`title`,{children:aD}),(0,P.jsx)(`path`,{d:`M0 4.391A4.391 4.391 0 014.391 0h15.217A4.391 4.391 0 0124 4.391v15.217A4.391 4.391 0 0119.608 24H4.391A4.391 4.391 0 010 19.608V4.391z`,fill:r}),(0,P.jsx)(`path`,{clipRule:`evenodd`,d:`M19.74 1.444a2.816 2.816 0 012.816 2.816v15.48a2.816 2.816 0 01-2.816 2.816H4.26a2.816 2.816 0 01-2.816-2.816V4.26A2.816 2.816 0 014.26 1.444h15.48zM7.236 8.564l7.752 3.728-7.752 3.727v2.802l9.557-4.596v-3.866L7.236 5.763v2.801z`,fill:`#1E1E2E`,fillRule:`evenodd`}),(0,P.jsx)(`defs`,{children:(0,P.jsxs)(`linearGradient`,{gradientUnits:`userSpaceOnUse`,id:i,x1:`24`,x2:`0`,y1:`6.587`,y2:`16.494`,children:[(0,P.jsx)(`stop`,{stopColor:`#EE4D5D`}),(0,P.jsx)(`stop`,{offset:`.328`,stopColor:`#B381DD`}),(0,P.jsx)(`stop`,{offset:`.476`,stopColor:`#207CFE`})]})})]})}),pD=(0,N.memo)(({...e})=>(0,P.jsx)(aT,{Icon:fD,"aria-label":aD,background:lD,color:uD,iconMultiple:dD,...e})),mD=(0,N.memo)(({size:e=`1em`,style:t,...n})=>(0,P.jsxs)(`svg`,{fill:`currentColor`,fillRule:`evenodd`,height:e,style:{flex:`none`,lineHeight:1,...t},viewBox:`0 0 24 24`,width:e,xmlns:`http://www.w3.org/2000/svg`,...n,children:[(0,P.jsx)(`title`,{children:aD}),(0,P.jsx)(`path`,{d:`M16.793 10.358v3.867L7.236 18.82v-2.8l7.751-3.728-7.75-3.728V5.763l9.556 4.595z`}),(0,P.jsx)(`path`,{clipRule:`evenodd`,d:`M19.608 0A4.392 4.392 0 0124 4.392v15.216A4.392 4.392 0 0119.608 24H4.392A4.392 4.392 0 010 19.608V4.392A4.392 4.392 0 014.392 0h15.216zM4.26 1.444A2.816 2.816 0 001.444 4.26v15.48a2.816 2.816 0 002.816 2.816h15.48a2.816 2.816 0 002.816-2.816V4.26a2.816 2.816 0 00-2.816-2.816H4.26z`})]})),hD=(0,N.memo)(({size:e=`1em`,style:t,...n})=>(0,P.jsxs)(`svg`,{fill:`currentColor`,fillRule:`evenodd`,height:e,style:{flex:`none`,lineHeight:1,...t},viewBox:`0 0 152 24`,xmlns:`http://www.w3.org/2000/svg`,...n,children:[(0,P.jsx)(`title`,{children:aD}),(0,P.jsx)(`path`,{d:`M146.467 1.472h3.294V22.53h-3.294V1.472zM130.814 1.472h3.294v17.911h9.029v3.147h-12.323V1.472zM118.754 23c-2.039 0-3.902-.48-5.588-1.442a10.433 10.433 0 01-3.971-3.97c-.961-1.686-1.441-3.549-1.441-5.588 0-2.04.48-3.902 1.441-5.588a10.434 10.434 0 013.971-3.97C114.852 1.48 116.715 1 118.754 1c1.588 0 3.029.294 4.323.882a10.234 10.234 0 013.471 2.56l-2.353 2.264c-.726-.863-1.529-1.5-2.412-1.912-.882-.431-1.892-.647-3.029-.647-1.412 0-2.706.324-3.882.97-1.157.648-2.079 1.57-2.765 2.765-.686 1.177-1.03 2.55-1.03 4.118 0 1.568.344 2.95 1.03 4.147a7.258 7.258 0 002.765 2.735c1.176.647 2.47.97 3.882.97 2.353 0 4.353-.98 6-2.94l2.382 2.294A10.73 10.73 0 01123.46 22c-1.432.666-3 1-4.706 1zM96.321 5.353a2.177 2.177 0 01-1.559-.618 2.177 2.177 0 01-.617-1.559c0-.607.206-1.117.617-1.529A2.125 2.125 0 0196.321 1a2.03 2.03 0 011.53.647c.43.412.646.922.646 1.53 0 .607-.215 1.127-.647 1.558-.411.412-.921.618-1.529.618zm-1.618 2.176h3.236v15h-3.236v-15zM77.35 7.53h3.088V9.5h.147c.431-.706 1.069-1.284 1.912-1.735a5.63 5.63 0 012.735-.706c1.824 0 3.206.54 4.147 1.618.96 1.059 1.441 2.51 1.441 4.353v9.5h-3.235v-9.06c0-1.176-.294-2.039-.882-2.588-.569-.548-1.363-.823-2.383-.823-.725 0-1.372.206-1.94.618a3.902 3.902 0 00-1.324 1.588 4.979 4.979 0 00-.47 2.147v8.117H77.35v-15zM71.706 5.353a2.177 2.177 0 01-1.558-.618 2.176 2.176 0 01-.618-1.559c0-.607.206-1.117.618-1.529A2.125 2.125 0 0171.706 1a2.03 2.03 0 011.53.647c.431.412.647.922.647 1.53 0 .607-.216 1.127-.647 1.558-.412.412-.922.618-1.53.618zM70.09 7.529h3.235v15h-3.235v-15zM43.487 7.53h3.088V9.5h.147c.451-.725 1.088-1.313 1.912-1.764a5.426 5.426 0 012.647-.677c1.078 0 2.02.255 2.823.765.804.49 1.383 1.147 1.736 1.97a5.747 5.747 0 012.029-1.97c.863-.51 1.872-.765 3.03-.765 1.725 0 3.029.53 3.91 1.588.903 1.04 1.354 2.461 1.354 4.265v9.617h-3.235v-9.058c0-2.275-.97-3.412-2.912-3.412-1.04 0-1.892.422-2.559 1.265-.666.843-1 1.882-1 3.117v8.088h-3.235v-9.058c0-2.275-1-3.412-3-3.412-1.02 0-1.863.422-2.53 1.265-.646.843-.97 1.882-.97 3.117v8.088h-3.235v-15zM33.394 23c-1.47 0-2.794-.343-3.97-1.03a7.421 7.421 0 01-2.736-2.823c-.647-1.216-.97-2.578-.97-4.088 0-1.431.313-2.755.94-3.97.648-1.236 1.54-2.216 2.677-2.942 1.137-.725 2.431-1.088 3.882-1.088 1.51 0 2.814.333 3.912 1a6.425 6.425 0 012.53 2.735c.587 1.157.882 2.461.882 3.912 0 .274-.03.618-.089 1.03h-11.5c.118 1.392.608 2.47 1.471 3.235a4.6 4.6 0 003.059 1.117c.922 0 1.716-.206 2.382-.617a4.827 4.827 0 001.647-1.736l2.735 1.294c-.705 1.236-1.627 2.206-2.764 2.912-1.137.706-2.5 1.059-4.088 1.059zm3.853-9.735a3.635 3.635 0 00-.5-1.559c-.294-.53-.745-.97-1.353-1.323-.588-.353-1.314-.53-2.177-.53-1.039 0-1.921.314-2.647.941-.706.608-1.196 1.432-1.47 2.47h8.147zM13.03 23c-2 0-3.844-.48-5.53-1.442a10.94 10.94 0 01-4.03-3.94C2.49 15.93 2 14.057 2 12c0-2.059.49-3.922 1.47-5.588a10.87 10.87 0 014.03-3.97C9.186 1.48 11.03 1 13.03 1c1.587 0 3.068.284 4.44.853 1.373.569 2.52 1.363 3.441 2.382L18.617 6.53a6.96 6.96 0 00-2.47-1.764c-.941-.412-1.99-.618-3.147-.618a7.75 7.75 0 00-3.794.97c-1.177.648-2.118 1.57-2.824 2.765C5.676 9.078 5.323 10.451 5.323 12c0 1.549.353 2.921 1.06 4.117.705 1.196 1.646 2.118 2.823 2.765a7.806 7.806 0 003.823.97c1.255 0 2.304-.186 3.147-.558a7.996 7.996 0 002.265-1.5c.431-.432.794-.97 1.088-1.618a6.8 6.8 0 00.618-2.117H13v-2.941h10.264c.098.548.147 1.117.147 1.705 0 1.334-.206 2.618-.617 3.853a8.113 8.113 0 01-1.97 3.177C18.842 21.95 16.243 23 13.028 23z`})]})),gD=(0,N.memo)(({type:e=`mono`,...t})=>(0,P.jsx)(oT,{Icon:e===`color`?fD:mD,Text:hD,"aria-label":aD,spaceMultiple:sD,textMultiple:oD,...t})),_D=mD;_D.Color=fD,_D.Text=hD,_D.Combine=gD,_D.Avatar=pD,_D.colorPrimary=cD,_D.title=aD;var vD=`GithubCopilot`,yD=.75,bD=.3,xD=`#000`,SD=xD,CD=`#fff`,wD=.75,TD=(0,N.memo)(({size:e=`1em`,style:t,...n})=>(0,P.jsxs)(`svg`,{fill:`currentColor`,fillRule:`evenodd`,height:e,style:{flex:`none`,lineHeight:1,...t},viewBox:`0 0 24 24`,width:e,xmlns:`http://www.w3.org/2000/svg`,...n,children:[(0,P.jsx)(`title`,{children:vD}),(0,P.jsx)(`path`,{d:`M19.245 5.364c1.322 1.36 1.877 3.216 2.11 5.817.622 0 1.2.135 1.592.654l.73.964c.21.278.323.61.323.955v2.62c0 .339-.173.669-.453.868C20.239 19.602 16.157 21.5 12 21.5c-4.6 0-9.205-2.583-11.547-4.258-.28-.2-.452-.53-.453-.868v-2.62c0-.345.113-.679.321-.956l.73-.963c.392-.517.974-.654 1.593-.654l.029-.297c.25-2.446.81-4.213 2.082-5.52 2.461-2.54 5.71-2.851 7.146-2.864h.198c1.436.013 4.685.323 7.146 2.864zm-7.244 4.328c-.284 0-.613.016-.962.05-.123.447-.305.85-.57 1.108-1.05 1.023-2.316 1.18-2.994 1.18-.638 0-1.306-.13-1.851-.464-.516.165-1.012.403-1.044.996a65.882 65.882 0 00-.063 2.884l-.002.48c-.002.563-.005 1.126-.013 1.69.002.326.204.63.51.765 2.482 1.102 4.83 1.657 6.99 1.657 2.156 0 4.504-.555 6.985-1.657a.854.854 0 00.51-.766c.03-1.682.006-3.372-.076-5.053-.031-.596-.528-.83-1.046-.996-.546.333-1.212.464-1.85.464-.677 0-1.942-.157-2.993-1.18-.266-.258-.447-.661-.57-1.108-.32-.032-.64-.049-.96-.05zm-2.525 4.013c.539 0 .976.426.976.95v1.753c0 .525-.437.95-.976.95a.964.964 0 01-.976-.95v-1.752c0-.525.437-.951.976-.951zm5 0c.539 0 .976.426.976.95v1.753c0 .525-.437.95-.976.95a.964.964 0 01-.976-.95v-1.752c0-.525.437-.951.976-.951zM7.635 5.087c-1.05.102-1.935.438-2.385.906-.975 1.037-.765 3.668-.21 4.224.405.394 1.17.657 1.995.657h.09c.649-.013 1.785-.176 2.73-1.11.435-.41.705-1.433.675-2.47-.03-.834-.27-1.52-.63-1.813-.39-.336-1.275-.482-2.265-.394zm6.465.394c-.36.292-.6.98-.63 1.813-.03 1.037.24 2.06.675 2.47.968.957 2.136 1.104 2.776 1.11h.044c.825 0 1.59-.263 1.995-.657.555-.556.765-3.187-.21-4.224-.45-.468-1.335-.804-2.385-.906-.99-.088-1.875.058-2.265.394zM12 7.615c-.24 0-.525.015-.84.044.03.16.045.336.06.526l-.001.159a2.94 2.94 0 01-.014.25c.225-.022.425-.027.612-.028h.366c.187 0 .387.006.612.028-.015-.146-.015-.277-.015-.409.015-.19.03-.365.06-.526a9.29 9.29 0 00-.84-.044z`})]})),ED=(0,N.memo)(({...e})=>(0,P.jsx)(aT,{Icon:TD,"aria-label":vD,background:SD,color:CD,iconMultiple:wD,...e})),DD=(0,N.memo)(({size:e=`1em`,style:t,...n})=>(0,P.jsxs)(`svg`,{fill:`currentColor`,fillRule:`evenodd`,height:e,style:{flex:`none`,lineHeight:1,...t},viewBox:`0 0 154 24`,xmlns:`http://www.w3.org/2000/svg`,...n,children:[(0,P.jsx)(`title`,{children:vD}),(0,P.jsx)(`path`,{d:`M2 11.875c0 5.256 3.013 8.506 8.19 8.506 4.76 0 8.027-2.72 8.027-7.722v-1.545h-7.982v2.928h4.095c-.161 1.96-1.68 3.25-4.049 3.25-2.6 0-4.347-1.498-4.347-4.334V10.7c0-2.582 1.518-4.31 4.186-4.31 1.91 0 3.267.922 3.68 2.374h3.865c-.437-3.366-3.427-5.625-7.499-5.625C5.29 3.138 2 6.366 2 11.875zm17.308-5.44h3.496V3h-3.496v3.435zm0 13.715h3.496V7.795h-3.496V20.15zm10.544-9.52h2.438V7.795h-2.438V3.922h-3.496v3.873H24.17v2.835h2.186v6.8c0 1.637.69 2.72 2.76 2.72h3.174v-2.766h-2.438V10.63zm3.994 9.52h3.727v-7.076h7.568v7.076h3.726V3.346h-3.726v6.777h-7.568V3.346h-3.727V20.15zM62.385 7.795h-3.497v6.523c0 1.868-1.012 3.205-2.668 3.205-1.38 0-2.162-.83-2.162-2.56V7.796h-3.52v7.722c0 2.95 1.357 4.864 4.118 4.864 1.955 0 3.29-.945 4.002-2.49h.207l.46 2.26h3.06V7.794zm1.698 12.355h3.06l.436-2.213h.207c.713 1.591 2.3 2.444 4.072 2.444 3.174 0 5.015-2.374 5.015-6.385 0-4.057-1.887-6.432-5.084-6.432-1.978 0-3.428 1.014-4.003 2.49h-.207V3h-3.496v17.15zm3.496-5.624v-1.06c0-1.845 1.173-3.043 2.99-3.043 1.657 0 2.738.853 2.738 2.581v1.983c0 1.521-.874 2.559-2.714 2.559-1.864 0-3.014-1.222-3.014-3.02zm21.8 5.855c4.21 0 7.177-2.351 7.683-6.063h-3.151c-.46 2.098-2.186 3.389-4.486 3.389-2.852 0-4.67-1.867-4.67-4.518v-2.743c0-2.882 1.887-4.634 4.716-4.634 2.53 0 4.072 1.36 4.44 3.366h3.151c-.368-3.665-3.243-6.063-7.499-6.063-5.038 0-7.982 3.274-7.982 8.668 0 5.348 2.898 8.598 7.798 8.598zm8.533-6.34c0 3.92 2.346 6.34 5.98 6.34 3.796 0 6.004-2.536 6.004-6.34 0-4.056-2.484-6.338-6.003-6.338-3.635 0-5.981 2.397-5.981 6.339zm2.898.992V13.12c0-1.89 1.22-3.066 3.083-3.066 1.817 0 3.082 1.152 3.082 3.066v1.913c0 1.96-1.288 2.997-3.082 2.997-1.749 0-3.083-1.015-3.083-2.997zM111.018 24h2.853v-6.132h.184c.667 1.453 2.116 2.398 4.186 2.398 3.083 0 4.992-2.26 4.992-6.293 0-3.942-1.863-6.27-4.992-6.27-1.863 0-3.427.852-4.186 2.397h-.184l-.345-2.167h-2.508V24zm6.211-6.063c-2.024 0-3.358-1.314-3.358-3.342v-1.222c0-2.005 1.31-3.342 3.381-3.342 2.002 0 3.037 1.152 3.037 2.881v2.144c0 1.815-1.16 2.849-2.973 2.88l-.087.001zm7.1-11.733h2.83V3.115h-2.83v3.09zm0 13.946h2.83V7.933h-2.83V20.15zm4.338 0h2.83V3.115h-2.83V20.15zm9.927-12.447c3.52 0 6.004 2.282 6.004 6.339 0 3.803-2.208 6.339-6.004 6.339-3.634 0-5.98-2.42-5.98-6.34 0-3.941 2.346-6.338 5.98-6.338zm10.922-3.689v3.919H152v2.328h-2.484v7.607H152v2.282h-2.99c-1.749 0-2.324-.922-2.324-2.282v-7.607h-2.185V7.933h2.185V4.014h2.83zm-10.922 6.04c-1.863 0-3.082 1.175-3.082 3.066v1.913c0 1.982 1.334 2.997 3.082 2.997 1.795 0 3.083-1.038 3.083-2.997V13.12c0-1.914-1.265-3.066-3.083-3.066z`})]})),OD=(0,N.memo)(({...e})=>(0,P.jsx)(oT,{Icon:TD,Text:DD,"aria-label":vD,spaceMultiple:bD,textMultiple:yD,...e})),kD=TD;kD.Text=DD,kD.Combine=OD,kD.Avatar=ED,kD.colorPrimary=xD,kD.title=vD;var AD=`Goose`,jD=.7,MD=.2,ND=`#fff`,PD=ND,FD=`#000`,ID=.65,LD=(0,N.memo)(({size:e=`1em`,style:t,...n})=>(0,P.jsxs)(`svg`,{fill:`currentColor`,fillRule:`evenodd`,height:e,style:{flex:`none`,lineHeight:1,...t},viewBox:`0 0 24 24`,width:e,xmlns:`http://www.w3.org/2000/svg`,...n,children:[(0,P.jsx)(`title`,{children:AD}),(0,P.jsx)(`path`,{d:`M21.595 23.61c1.167-.254 2.405-.944 2.405-.944l-2.167-1.784a12.124 12.124 0 01-2.695-3.131 12.127 12.127 0 00-3.97-4.049l-.794-.462a1.115 1.115 0 01-.488-.815.844.844 0 01.154-.575c.413-.582 2.548-3.115 2.94-3.44.503-.416 1.065-.762 1.586-1.159.074-.056.148-.112.221-.17.003-.002.007-.004.009-.007.167-.131.325-.272.45-.438.453-.524.563-.988.59-1.193-.061-.197-.244-.639-.753-1.148.319.02.705.272 1.056.569.235-.376.481-.773.727-1.171.165-.266-.08-.465-.086-.471h-.001V3.22c-.007-.007-.206-.25-.471-.086-.567.35-1.134.702-1.639 1.021 0 0-.597-.012-1.305.599a2.464 2.464 0 00-.438.45l-.007.009c-.058.072-.114.147-.17.221-.397.521-.743 1.083-1.16 1.587-.323.391-2.857 2.526-3.44 2.94a.842.842 0 01-.574.153 1.115 1.115 0 01-.815-.488l-.462-.794a12.123 12.123 0 00-4.049-3.97 12.133 12.133 0 01-3.13-2.695L1.332 0S.643 1.238.39 2.405c.352.428 1.27 1.49 2.34 2.302C1.58 4.167.73 3.75.06 3.4c-.103.765-.063 1.92.043 2.816.726.317 1.961.806 3.219 1.066-1.006.236-2.11.278-2.961.262.15.554.358 1.119.64 1.688.119.263.25.52.39.77.452.125 2.222.383 3.164.171l-2.51.897a27.776 27.776 0 002.544 2.726c2.031-1.092 2.494-1.241 4.018-2.238-2.467 2.008-3.108 2.828-3.8 3.67l-.483.678c-.25.351-.469.725-.65 1.117-.61 1.31-1.47 4.1-1.47 4.1-.154.486.202.842.674.674 0 0 2.79-.861 4.1-1.47.392-.182.766-.4 1.118-.65l.677-.483c.227-.187.453-.37.701-.586 0 0 1.705 2.02 3.458 3.349l.896-2.511c-.211.942.046 2.712.17 3.163.252.142.509.272.772.392.569.28 1.134.49 1.688.64-.016-.853.026-1.956.261-2.962.26 1.258.75 2.493 1.067 3.219.895.106 2.051.146 2.816.043a73.87 73.87 0 01-1.308-2.67c.811 1.07 1.874 1.988 2.302 2.34h-.001z`})]})),RD=(0,N.memo)(({...e})=>(0,P.jsx)(aT,{Icon:LD,"aria-label":AD,background:PD,color:FD,iconMultiple:ID,...e})),zD=(0,N.memo)(({size:e=`1em`,style:t,...n})=>(0,P.jsxs)(`svg`,{fill:`currentColor`,fillRule:`evenodd`,height:e,style:{flex:`none`,lineHeight:1,...t},viewBox:`0 0 87 24`,xmlns:`http://www.w3.org/2000/svg`,...n,children:[(0,P.jsx)(`title`,{children:AD}),(0,P.jsx)(`path`,{d:`M17.122 16.607c0 4.696-3.219 7.393-7.774 7.393-3.674 0-6.255-1.546-7.257-4.637l3.401-1.21c.486 1.786 1.852 2.907 3.856 2.907 2.46 0 4.13-1.211 4.13-4.12v-1.122c-.85 1.121-2.46 2-4.494 2C4.61 17.818 2 14.273 2 9.909 2 5.546 4.611 2 8.984 2c2.004 0 3.644.879 4.494 2V2.303h3.644v14.303zm-3.583-6.85c0-2.908-1.58-4.575-3.857-4.575-2.52 0-4.008 1.757-4.008 4.727 0 2.94 1.488 4.727 4.008 4.727 2.278 0 3.857-1.666 3.857-4.515v-.363zM35.546 10.273c0 4.94-3.188 8.273-7.683 8.273-4.494 0-7.682-3.334-7.682-8.273C20.181 5.333 23.37 2 27.863 2c4.495 0 7.683 3.333 7.683 8.273zm-11.69 0c0 3.242 1.548 5.212 4.007 5.212 2.46 0 4.009-1.97 4.009-5.212 0-3.243-1.549-5.212-4.009-5.212-2.46 0-4.008 1.97-4.008 5.212zM52.957 10.273c0 4.94-3.188 8.273-7.682 8.273s-7.682-3.334-7.682-8.273C37.593 5.333 40.78 2 45.275 2s7.682 3.333 7.682 8.273zm-11.69 0c0 3.242 1.548 5.212 4.008 5.212s4.008-1.97 4.008-5.212c0-3.243-1.549-5.212-4.008-5.212-2.46 0-4.008 1.97-4.008 5.212zM54.336 15.182L57.069 13c.941 1.546 2.763 2.576 4.615 2.576 1.549 0 2.976-.546 2.976-1.97 0-1.364-1.336-1.515-3.856-2.03-2.52-.515-5.405-1.152-5.405-4.546 0-2.909 2.55-5.03 6.224-5.03 2.794 0 5.284 1.242 6.438 3L65.6 7.212c-.91-1.424-2.429-2.242-4.19-2.242-1.488 0-2.46.666-2.46 1.727 0 1.152 1.154 1.364 3.158 1.788 2.703.576 6.104 1.151 6.104 4.788 0 3.211-2.946 5.273-6.56 5.273-2.945 0-5.89-1.182-7.317-3.364zM77.965 18.546c-4.555 0-7.743-3.364-7.743-8.273 0-4.667 3.157-8.273 7.59-8.273 4.616 0 7.076 3.485 7.076 7.849v1.212H73.713c.274 2.727 1.913 4.394 4.252 4.394 1.791 0 3.218-.91 3.704-2.546l3.128 1.182c-1.124 2.787-3.644 4.455-6.832 4.455zm-.183-13.485c-1.882 0-3.34 1.12-3.886 3.272h7.318c-.03-1.757-1.124-3.272-3.432-3.272z`})]})),BD=(0,N.memo)(({...e})=>(0,P.jsx)(oT,{Icon:LD,Text:zD,"aria-label":AD,spaceMultiple:MD,textMultiple:jD,iconProps:{shape:`square`},...e})),VD=LD;VD.Text=zD,VD.Combine=BD,VD.Avatar=RD,VD.colorPrimary=ND,VD.title=AD;var HD=`Grok`,UD=.75,WD=.2,GD=`#000`,KD=GD,qD=`#fff`,JD=.75,YD=(0,N.memo)(({size:e=`1em`,style:t,...n})=>(0,P.jsxs)(`svg`,{fill:`currentColor`,fillRule:`evenodd`,height:e,style:{flex:`none`,lineHeight:1,...t},viewBox:`0 0 24 24`,width:e,xmlns:`http://www.w3.org/2000/svg`,...n,children:[(0,P.jsx)(`title`,{children:HD}),(0,P.jsx)(`path`,{d:`M9.27 15.29l7.978-5.897c.391-.29.95-.177 1.137.272.98 2.369.542 5.215-1.41 7.169-1.951 1.954-4.667 2.382-7.149 1.406l-2.711 1.257c3.889 2.661 8.611 2.003 11.562-.953 2.341-2.344 3.066-5.539 2.388-8.42l.006.007c-.983-4.232.242-5.924 2.75-9.383.06-.082.12-.164.179-.248l-3.301 3.305v-.01L9.267 15.292M7.623 16.723c-2.792-2.67-2.31-6.801.071-9.184 1.761-1.763 4.647-2.483 7.166-1.425l2.705-1.25a7.808 7.808 0 00-1.829-1A8.975 8.975 0 005.984 5.83c-2.533 2.536-3.33 6.436-1.962 9.764 1.022 2.487-.653 4.246-2.34 6.022-.599.63-1.199 1.259-1.682 1.925l7.62-6.815`})]})),XD=(0,N.memo)(({...e})=>(0,P.jsx)(aT,{Icon:YD,"aria-label":HD,background:KD,color:qD,iconMultiple:JD,...e})),ZD=(0,N.memo)(({size:e=`1em`,style:t,...n})=>(0,P.jsxs)(`svg`,{fill:`currentColor`,fillRule:`evenodd`,height:e,style:{flex:`none`,lineHeight:1,...t},viewBox:`0 0 63 24`,xmlns:`http://www.w3.org/2000/svg`,...n,children:[(0,P.jsx)(`title`,{children:HD}),(0,P.jsx)(`path`,{d:`M47.419 21.645V2.457h3.033V15.12l6.415-7.369h3.678l-5.772 6.316 5.825 7.578h-3.624l-4.717-6.512-1.805-.012v6.524h-3.033zM38.22 21.968c-4.51 0-6.952-3.198-6.952-7.283 0-4.112 2.443-7.283 6.952-7.283 4.537 0 6.952 3.17 6.952 7.283 0 4.085-2.415 7.283-6.952 7.283zm-3.785-7.283c0 3.17 1.718 4.756 3.785 4.756 2.094 0 3.785-1.585 3.785-4.756 0-3.172-1.691-4.784-3.785-4.784-2.067 0-3.785 1.612-3.785 4.784zM22.826 21.645V9.955l2.55-2.204h5.422v2.58H25.86v11.314h-3.033zM11.228 22C5.447 22 2 17.802 2 12.078 2 6.3 5.57 2 11.341 2c4.51 0 7.811 2.311 8.59 6.611h-3.463c-.51-2.445-2.55-3.816-5.127-3.816-4.16 0-5.986 3.601-5.986 7.283 0 3.682 1.826 7.256 5.986 7.256 3.973 0 5.717-2.876 5.852-5.267h-5.986v-2.783h9.046l-.015 1.455c0 5.406-2.203 9.261-9.01 9.261z`})]})),QD=(0,N.memo)(({...e})=>(0,P.jsx)(oT,{Icon:YD,Text:ZD,"aria-label":HD,spaceMultiple:WD,textMultiple:UD,...e})),$D=YD;$D.Text=ZD,$D.Combine=QD,$D.Avatar=XD,$D.colorPrimary=GD,$D.title=HD;var eO=`Kilo Code`,tO=.75,nO=.4,rO=`#F8F676`,iO=rO,aO=`#1A1A18`,oO=.7,sO=(0,N.memo)(({size:e=`1em`,style:t,...n})=>(0,P.jsxs)(`svg`,{fill:`currentColor`,fillRule:`evenodd`,height:e,style:{flex:`none`,lineHeight:1,...t},viewBox:`0 0 24 24`,width:e,xmlns:`http://www.w3.org/2000/svg`,...n,children:[(0,P.jsx)(`title`,{children:eO}),(0,P.jsx)(`path`,{d:`M16.4 21.016h3.667V24h-4.61l-1.99-2.025v-4.689H16.4v3.73zm6.6 0h-2.933v-3.73H16.4v-2.984h4.61L23 16.327v4.689zm-12.467-4.35H7.6v-2.984h2.933v2.984zM1 13.682h2.933v6.714h6.6v2.984H2.99L1 21.355v-7.673zm22-5.968v2.984h-9.533V7.714h3.278v-3.73h-3.278V1h4.22l1.991 2.025v4.689H23zM3.933 4.357H7.6l2.933 2.984v3.357H7.6V7.341H3.933v3.357H1V1h2.933v3.357zm6.6 0H7.6V1h2.933v3.357z`})]})),cO=(0,N.memo)(({...e})=>(0,P.jsx)(aT,{Icon:sO,"aria-label":eO,background:iO,color:aO,iconMultiple:oO,...e})),lO=(0,N.memo)(({size:e=`1em`,style:t,...n})=>(0,P.jsxs)(`svg`,{fill:`currentColor`,fillRule:`evenodd`,height:e,style:{flex:`none`,lineHeight:1,...t},viewBox:`0 0 24 24`,width:e,xmlns:`http://www.w3.org/2000/svg`,...n,children:[(0,P.jsx)(`title`,{children:eO}),(0,P.jsx)(`path`,{d:`M0 0v24h24V0H0zm22.222 22.222H1.778V1.778h20.444v20.444zm-7.555-4.964h2.222v1.778h-2.794L12.89 17.83v-2.794h1.778v2.222zm4 0h-1.778v-2.222h-2.222v-1.778h2.793l1.207 1.207v2.793zm-7.556-2.591H9.333v-1.778h1.778v1.778zm-5.778-1.778h1.778v4h4v1.778H6.54L5.333 17.46V12.89zm13.334-3.556v1.778h-5.778V9.333h1.987V7.111h-1.987V5.333h2.558l1.206 1.207v2.793h2.014zm-11.556-2h2.222l1.778 1.778v2H9.333v-2H7.111v2H5.333V5.333h1.778v2zm4 0H9.333v-2h1.778v2z`})]})),uO=(0,N.memo)(({size:e=`1em`,style:t,...n})=>(0,P.jsxs)(`svg`,{fill:`currentColor`,fillRule:`evenodd`,height:e,style:{flex:`none`,lineHeight:1,...t},viewBox:`0 0 147 24`,xmlns:`http://www.w3.org/2000/svg`,...n,children:[(0,P.jsx)(`title`,{children:eO}),(0,P.jsx)(`path`,{d:`M138.579 21.999c-1.289 0-2.413-.249-3.371-.746-.959-.498-1.705-1.189-2.239-2.073-.516-.903-.774-1.953-.774-3.15v-3.815c0-1.197.258-2.238.774-3.123a5.467 5.467 0 012.239-2.1c.958-.498 2.082-.746 3.371-.746 1.272 0 2.377.248 3.317.746.958.497 1.695 1.197 2.211 2.1.534.885.801 1.926.801 3.123v2.736h-9.369v1.078c0 1.069.258 1.88.774 2.432.516.535 1.281.802 2.294.802.774 0 1.4-.13 1.879-.387.479-.277.783-.673.912-1.189h3.4c-.258 1.308-.958 2.359-2.101 3.151-1.124.774-2.496 1.16-4.118 1.16zm2.985-8.982v-.83c0-1.05-.249-1.851-.746-2.404-.498-.571-1.244-.857-2.239-.857-.995 0-1.75.286-2.266.857s-.774 1.382-.774 2.432v.58l6.274-.055-.249.277zM120.958 22c-1.511 0-2.736-.525-3.676-1.576-.921-1.05-1.382-2.46-1.382-4.228v-4.118c0-1.787.461-3.206 1.382-4.256.921-1.05 2.146-1.575 3.676-1.575 1.253 0 2.247.359 2.984 1.077.737.7 1.106 1.668 1.106 2.902l-.774-.801h.802l-.111-3.62V1.547h3.455v20.176h-3.372v-2.902h-.774l.774-.802c0 1.235-.369 2.211-1.106 2.93-.737.7-1.731 1.05-2.984 1.05zm1.216-2.985c.884 0 1.566-.258 2.045-.774.497-.534.746-1.271.746-2.21v-3.815c0-.94-.249-1.667-.746-2.183-.479-.534-1.161-.802-2.045-.802-.885 0-1.576.258-2.073.774-.498.516-.746 1.253-.746 2.211v3.814c0 .958.248 1.695.746 2.211.497.516 1.188.774 2.073.774zM105.961 21.972c-1.289 0-2.413-.24-3.371-.719a5.573 5.573 0 01-2.211-2.073c-.516-.902-.774-1.962-.774-3.178v-3.758c0-1.216.258-2.267.774-3.151a5.327 5.327 0 012.211-2.073c.958-.497 2.082-.746 3.371-.746 1.309 0 2.433.249 3.372.746a5.155 5.155 0 012.184 2.073c.534.884.801 1.925.801 3.123v3.786c0 1.216-.267 2.276-.801 3.178a5.386 5.386 0 01-2.184 2.073c-.939.48-2.063.719-3.372.719zm0-3.013c.922 0 1.631-.248 2.129-.746.515-.516.773-1.253.773-2.21v-3.76c0-.976-.258-1.713-.773-2.21-.498-.498-1.207-.747-2.129-.747-.902 0-1.612.25-2.128.747-.515.497-.773 1.234-.773 2.21v3.76c0 .957.258 1.694.773 2.21.516.498 1.226.746 2.128.746zM89.777 22c-1.29 0-2.423-.24-3.4-.719-.958-.497-1.704-1.188-2.238-2.072-.516-.903-.774-1.963-.774-3.179V7.242c0-1.235.258-2.294.774-3.179a5.347 5.347 0 012.239-2.045c.976-.497 2.11-.746 3.399-.746 1.308 0 2.432.249 3.372.746a5.347 5.347 0 012.238 2.045c.535.885.802 1.944.802 3.179h-3.483c0-.958-.258-1.686-.773-2.184-.498-.497-1.216-.746-2.156-.746-.94 0-1.668.249-2.183.746-.516.498-.774 1.216-.774 2.156v8.816c0 .94.258 1.668.774 2.183.516.498 1.243.747 2.183.747.94 0 1.658-.249 2.156-.747.515-.515.773-1.243.773-2.183h3.483c0 1.198-.267 2.248-.802 3.15a5.473 5.473 0 01-2.238 2.101c-.94.48-2.064.719-3.372.719zM57.076 21.972c-1.29 0-2.413-.24-3.372-.719a5.576 5.576 0 01-2.21-2.073c-.517-.902-.774-1.962-.774-3.178v-3.758c0-1.216.258-2.267.773-3.151a5.33 5.33 0 012.211-2.073c.959-.497 2.082-.746 3.372-.746 1.308 0 2.432.249 3.372.746a5.155 5.155 0 012.183 2.073c.535.884.802 1.925.802 3.123v3.786c0 1.216-.267 2.276-.802 3.178a5.385 5.385 0 01-2.183 2.073c-.94.48-2.064.719-3.372.719zm0-3.013c.921 0 1.63-.248 2.128-.746.516-.516.774-1.253.774-2.21v-3.76c0-.976-.258-1.713-.774-2.21-.497-.498-1.207-.747-2.128-.747-.903 0-1.612.25-2.128.747s-.774 1.234-.774 2.21v3.76c0 .957.258 1.694.774 2.21.516.498 1.225.746 2.128.746zM43.102 21.724c-.994 0-1.87-.203-2.625-.609a4.446 4.446 0 01-1.741-1.713c-.424-.756-.636-1.621-.636-2.598V4.671h-4.864V1.548h8.319v15.256c0 .553.157.995.47 1.327.331.313.773.47 1.326.47h4.588v3.123h-4.837zM18.295 21.723v-3.15h5.306V9.644h-4.615V6.522h7.932v12.05h4.698v3.15h-13.32zM24.983 3.98c-.7 0-1.253-.175-1.658-.525-.405-.369-.608-.857-.608-1.465 0-.608.203-1.087.608-1.437C23.73.184 24.283 0 24.983 0s1.253.184 1.659.553c.405.35.608.829.608 1.437 0 .608-.203 1.096-.608 1.465-.406.35-.959.525-1.659.525zM2 21.724V1.548h3.455v8.153h2.404l3.786-8.153h3.759l-4.505 9.673 4.726 10.503h-3.841l-3.98-8.872h-2.35v8.872H2z`})]})),dO=(0,N.memo)(({...e})=>(0,P.jsx)(oT,{Icon:lO,Text:uO,"aria-label":eO,spaceMultiple:nO,textMultiple:tO,...e})),fO=lO;fO.Text=uO,fO.Combine=dO,fO.Avatar=cO,fO.colorPrimary=rO,fO.title=eO;var pO=`opencode`,mO=.6,hO=.2,gO=`#000`,_O=gO,vO=`#fff`,yO=.75,bO=(0,N.memo)(({size:e=`1em`,style:t,...n})=>(0,P.jsxs)(`svg`,{fill:`currentColor`,fillRule:`evenodd`,height:e,style:{flex:`none`,lineHeight:1,...t},viewBox:`0 0 24 24`,width:e,xmlns:`http://www.w3.org/2000/svg`,...n,children:[(0,P.jsx)(`title`,{children:pO}),(0,P.jsx)(`path`,{d:`M16 6H8v12h8V6zm4 16H4V2h16v20z`})]})),xO=(0,N.memo)(({...e})=>(0,P.jsx)(aT,{Icon:bO,"aria-label":pO,background:_O,color:vO,iconMultiple:yO,...e})),SO=(0,N.memo)(({size:e=`1em`,style:t,...n})=>(0,P.jsxs)(`svg`,{fill:`currentColor`,fillRule:`evenodd`,height:e,style:{flex:`none`,lineHeight:1,...t},viewBox:`0 0 138 24`,xmlns:`http://www.w3.org/2000/svg`,...n,children:[(0,P.jsx)(`title`,{children:pO}),(0,P.jsx)(`path`,{d:`M12.429 17.143H5.57v-6.857h6.858v6.857z`,fillOpacity:`.25`}),(0,P.jsx)(`path`,{d:`M12.428 6.857H5.571v10.286h6.857V6.857zm3.43 13.715H2.142V3.429h13.714v17.143z`,fillOpacity:`.75`}),(0,P.jsx)(`path`,{d:`M29.571 17.143h-6.857v-6.857h6.857v6.857z`,fillOpacity:`.25`}),(0,P.jsx)(`path`,{d:`M22.714 17.143h6.858V6.857h-6.858v10.286zM33 20.572H22.714V24h-3.428V3.43H33v17.143z`,fillOpacity:`.75`}),(0,P.jsx)(`path`,{d:`M50.143 13.714v3.429H39.857v-3.429h10.286z`,fillOpacity:`.25`}),(0,P.jsx)(`path`,{d:`M50.143 13.714H39.857v3.429h10.286v3.429H36.429V3.429h13.714v10.285zm-10.286-3.428h6.857V6.857h-6.857v3.429z`,fillOpacity:`.75`}),(0,P.jsx)(`path`,{d:`M63.857 20.571H57V10.286h6.857V20.57z`,fillOpacity:`.25`}),(0,P.jsx)(`path`,{d:`M63.857 6.857H57v13.715h-3.429V3.429h10.286v3.428zm3.429 13.715h-3.429V6.857h3.429v13.715z`,fillOpacity:`.75`}),(0,P.jsx)(`path`,{d:`M84.428 17.143H74.144v-6.857h10.285v6.857z`,fillOpacity:`.25`}),(0,P.jsx)(`path`,{d:`M84.428 6.857H74.144v10.286h10.285v3.429H70.715V3.429H84.43v3.428z`}),(0,P.jsx)(`path`,{d:`M98.143 17.143h-6.857v-6.857h6.857v6.857z`,fillOpacity:`.25`}),(0,P.jsx)(`path`,{d:`M98.143 6.857h-6.857v10.286h6.857V6.857zm3.428 13.715H87.857V3.429h13.714v17.143z`}),(0,P.jsx)(`path`,{d:`M115.286 17.143h-6.857v-6.857h6.857v6.857z`,fillOpacity:`.25`}),(0,P.jsx)(`path`,{d:`M115.286 6.857h-6.857v10.286h6.857V6.857zm3.428 13.714H105V3.43h10.286V0h3.428v20.571z`}),(0,P.jsx)(`path`,{d:`M135.857 13.714v3.429h-10.286v-3.429h10.286z`,fillOpacity:`.25`}),(0,P.jsx)(`path`,{d:`M125.571 6.857v3.429h6.858V6.857h-6.858zm10.286 6.857h-10.286v3.429h10.286v3.429h-13.714V3.429h13.714v10.285z`})]})),CO=(0,N.memo)(({...e})=>(0,P.jsx)(oT,{Text:SO,"aria-label":pO,spaceMultiple:hO,textMultiple:mO,...e})),wO=bO;wO.Text=SO,wO.Combine=CO,wO.Avatar=xO,wO.colorPrimary=gO,wO.title=pO;var TO=`Qwen`,EO=.7,DO=.2,OO=`#082dff`,kO=OO,AO=`#fff`,jO=.6,MO=(0,N.memo)(({size:e=`1em`,style:t,...n})=>(0,P.jsxs)(`svg`,{fill:`currentColor`,fillRule:`evenodd`,height:e,style:{flex:`none`,lineHeight:1,...t},viewBox:`0 0 24 24`,width:e,xmlns:`http://www.w3.org/2000/svg`,...n,children:[(0,P.jsx)(`title`,{children:TO}),(0,P.jsx)(`path`,{d:`M19.713 2.825h-5.907c0-.251-.066-.503-.196-.728L12.819.728A1.46 1.46 0 0 0 11.559 0h-1.58c-.52 0-1 .275-1.26.728l-2.42 4.19a1.45 1.45 0 0 0 0 1.453l.791 1.37c.26.448.74.727 1.26.727h11.36c.52 0 1-.275 1.26-.728l.79-1.37a1.45 1.45 0 0 0 0-1.451l-.79-1.37a1.46 1.46 0 0 0-1.26-.728zM.195 9.905l2.951 5.115a1.46 1.46 0 0 0-.531.531l-.791 1.37a1.45 1.45 0 0 0 0 1.452l.79 1.37c.26.448.74.727 1.26.727h4.84c.52 0 1-.275 1.26-.728l.79-1.37a1.45 1.45 0 0 0 0-1.451L5.086 7.083a1.46 1.46 0 0 0-1.26-.728h-1.58c-.52 0-1 .276-1.26.728l-.79 1.37a1.45 1.45 0 0 0 0 1.452m15.888 13.367 2.951-5.115c.217.125.469.196.728.196h1.582c.52 0 1-.275 1.26-.728l.79-1.37a1.45 1.45 0 0 0 0-1.451l-2.42-4.191a1.46 1.46 0 0 0-1.259-.728h-1.582c-.52 0-1 .276-1.259.728l-5.678 9.838a1.45 1.45 0 0 0 0 1.452l.79 1.37c.26.448.74.727 1.26.727h1.582c.52 0 1-.275 1.26-.728z`})]})),NO=(0,N.memo)(({...e})=>(0,P.jsx)(aT,{Icon:MO,"aria-label":TO,background:kO,color:AO,iconMultiple:jO,...e})),PO=(0,N.memo)(({size:e=`1em`,style:t,...n})=>(0,P.jsxs)(`svg`,{height:e,style:{flex:`none`,lineHeight:1,...t},viewBox:`0 0 24 24`,width:e,xmlns:`http://www.w3.org/2000/svg`,...n,children:[(0,P.jsx)(`title`,{children:TO}),(0,P.jsx)(`path`,{d:`M19.713 2.825h-5.907c0-.251-.066-.503-.196-.728L12.819.728A1.46 1.46 0 0 0 11.559 0h-1.58c-.52 0-1 .275-1.26.728l-2.42 4.19a1.45 1.45 0 0 0 0 1.453l.791 1.37c.26.448.74.727 1.26.727h11.36c.52 0 1-.275 1.26-.728l.79-1.37a1.45 1.45 0 0 0 0-1.451l-.79-1.37a1.46 1.46 0 0 0-1.26-.728zM.195 9.905l2.951 5.115a1.46 1.46 0 0 0-.531.531l-.791 1.37a1.45 1.45 0 0 0 0 1.452l.79 1.37c.26.448.74.727 1.26.727h4.84c.52 0 1-.275 1.26-.728l.79-1.37a1.45 1.45 0 0 0 0-1.451L5.086 7.083a1.46 1.46 0 0 0-1.26-.728h-1.58c-.52 0-1 .276-1.26.728l-.79 1.37a1.45 1.45 0 0 0 0 1.452m15.888 13.367 2.951-5.115c.217.125.469.196.728.196h1.582c.52 0 1-.275 1.26-.728l.79-1.37a1.45 1.45 0 0 0 0-1.451l-2.42-4.191a1.46 1.46 0 0 0-1.259-.728h-1.582c-.52 0-1 .276-1.259.728l-5.678 9.838a1.45 1.45 0 0 0 0 1.452l.79 1.37c.26.448.74.727 1.26.727h1.582c.52 0 1-.275 1.26-.728z`,fill:`#082dff`})]})),FO=(0,N.memo)(({size:e=`1em`,style:t,...n})=>(0,P.jsxs)(`svg`,{fill:`currentColor`,fillRule:`evenodd`,height:e,style:{flex:`none`,lineHeight:1,...t},viewBox:`0 0 85 24`,xmlns:`http://www.w3.org/2000/svg`,...n,children:[(0,P.jsx)(`title`,{children:TO}),(0,P.jsx)(`path`,{d:`M49.123 5.939h-3.046a.58.58 0 0 0-.555.412l-3.194 10.701L38.934 6.33a.57.57 0 0 0-.55-.4h-2.55a.57.57 0 0 0-.548.4l-3.422 10.734L28.666 6.34a.58.58 0 0 0-.554-.412h-3.047a.41.41 0 0 0-.39.533l5.174 16.742a.57.57 0 0 0 .549.406h2.544a.57.57 0 0 0 .55-.406l3.61-11.536 3.564 11.536a.57.57 0 0 0 .55.406h2.57a.57.57 0 0 0 .55-.406l5.173-16.731a.41.41 0 0 0-.39-.533zm28.378-.422a7 7 0 0 0-4.793 1.885v-.988a.493.493 0 0 0-.491-.49h-2.64a.493.493 0 0 0-.491.49v16.7c0 .268.222.49.49.49h2.64c.27 0 .492-.222.492-.49v-9.858c0-2.613 1.79-4.16 4.091-4.16s4.092 1.489 4.092 4.16v9.857c0 .27.221.491.49.491h2.64c.27 0 .491-.222.491-.49v-10.48c0-4.303-2.877-7.123-7.01-7.123zM24.777 22.844l-3.39-3.39a11.96 11.96 0 0 0 2.587-8.082C23.663 5.279 18.711.327 12.618.016 5.502-.344-.348 5.5.016 12.618.328 18.71 5.28 23.662 11.372 23.974a11.95 11.95 0 0 0 7.106-1.885l1.225 1.225a.98.98 0 0 0 .692.285h4.07c.396 0 .597-.48.317-.76zm-12.782-2.777A8.066 8.066 0 0 1 3.928 12a8.066 8.066 0 0 1 8.067-8.067 8.066 8.066 0 0 1 6.589 12.718l-3.432-3.431a.98.98 0 0 0-.691-.285h-4.07a.446.446 0 0 0-.318.76l5.523 5.522a8 8 0 0 1-3.606.85zm46.526-14.54c-4.968-.063-9.133 3.86-9.35 8.822a9.239 9.239 0 0 0 17.496 4.535.446.446 0 0 0-.4-.644H63.31a.98.98 0 0 0-.729.328c-1.035 1.145-2.524 1.906-4.181 1.906-2.635 0-4.905-1.838-5.549-4.288h14.043c.248 0 .46-.19.486-.438.037-.322.058-.654.058-.987 0-5.063-3.87-9.17-8.912-9.239zm-.792 3.57c2.798-.323 5.079 1.404 5.845 3.848H52.967a5.75 5.75 0 0 1 4.768-3.849z`})]})),IO=(0,N.memo)(({type:e=`mono`,extraStyle:t,...n})=>(0,P.jsx)(oT,{Icon:e===`color`?PO:MO,Text:FO,"aria-label":TO,extraStyle:{fontWeight:500,...t},spaceMultiple:DO,textMultiple:EO,...n})),LO=MO;LO.Color=PO,LO.Text=FO,LO.Combine=IO,LO.Avatar=NO,LO.colorPrimary=OO,LO.title=TO;var RO=`Replit`,zO=.75,BO=.2,VO=`#FD5402`,HO=VO,UO=`#fff`,WO=.6,GO=(0,N.memo)(({size:e=`1em`,style:t,...n})=>(0,P.jsxs)(`svg`,{fill:`currentColor`,fillRule:`evenodd`,height:e,style:{flex:`none`,lineHeight:1,...t},viewBox:`0 0 24 24`,width:e,xmlns:`http://www.w3.org/2000/svg`,...n,children:[(0,P.jsx)(`title`,{children:RO}),(0,P.jsx)(`path`,{d:`M11.878 7.761H3.482A1.469 1.469 0 012 6.304V1.457C2 .644 2.67 0 3.482 0h6.913c.827 0 1.483.658 1.483 1.457v6.304zM20.882 16.215h-8.995V7.75h8.995c.87 0 1.588.717 1.588 1.586v5.294c0 .885-.717 1.586-1.588 1.586zM10.395 24H3.482C2.67 24 2 23.343 2 22.546v-4.853c0-.797.67-1.454 1.482-1.454h8.396v6.307c0 .797-.67 1.454-1.483 1.454z`})]})),KO=(0,N.memo)(({...e})=>(0,P.jsx)(aT,{Icon:GO,"aria-label":RO,background:HO,color:UO,iconMultiple:WO,...e})),qO=(0,N.memo)(({size:e=`1em`,style:t,...n})=>(0,P.jsxs)(`svg`,{height:e,style:{flex:`none`,lineHeight:1,...t},viewBox:`0 0 24 24`,width:e,xmlns:`http://www.w3.org/2000/svg`,...n,children:[(0,P.jsx)(`title`,{children:RO}),(0,P.jsx)(`path`,{d:`M11.878 7.761H3.482A1.469 1.469 0 012 6.304V1.457C2 .644 2.67 0 3.482 0h6.913c.827 0 1.483.658 1.483 1.457v6.304zM20.882 16.215h-8.995V7.75h8.995c.87 0 1.588.717 1.588 1.586v5.294c0 .885-.717 1.586-1.588 1.586zM10.395 24H3.482C2.67 24 2 23.343 2 22.546v-4.853c0-.797.67-1.454 1.482-1.454h8.396v6.307c0 .797-.67 1.454-1.483 1.454z`,fill:`#FD5402`})]})),JO=(0,N.memo)(({size:e=`1em`,style:t,...n})=>(0,P.jsxs)(`svg`,{fill:`currentColor`,fillRule:`evenodd`,height:e,style:{flex:`none`,lineHeight:1,...t},viewBox:`0 0 92 24`,xmlns:`http://www.w3.org/2000/svg`,...n,children:[(0,P.jsx)(`title`,{children:RO}),(0,P.jsx)(`path`,{d:`M10.831 6.145l-.822.768h-.823L8.93 5.94c-.055-.24-.293-.393-.567-.393H3.097c-.33 0-.585.239-.585.512V7.75c0 .29.256.512.585.512h3.108v7.924h-3.62c-.329 0-.585.24-.585.513v1.69c0 .29.256.513.585.513h11.391c.33 0 .585-.24.585-.512v-1.691c0-.29-.256-.513-.585-.513H9.79v-5.601c0-1.571.988-2.391 2.926-2.391h3.145c.329 0 .585-.24.585-.512V5.82c0-.29-.256-.512-.585-.512h-1.865c-1.372-.017-2.45.222-3.164.837zM24.348 5.307c-4.596 0-7.059 2.38-7.059 7.213 0 4.85 2.444 7.232 6.968 7.232 3.502 0 5.763-1.422 6.365-3.856.091-.338-.2-.657-.565-.657h-2.189a.598.598 0 00-.547.355c-.383 1.048-1.478 1.546-2.955 1.546-2.298 0-3.392-1.226-3.538-4.087h9.976c.548-5.347-1.732-7.746-6.456-7.746zm-3.41 5.579c.346-2.097 1.422-3.074 3.392-3.074 2.097 0 3.082 1.084 3.137 3.074h-6.53zM41.517 5.307c-1.187 0-2.042.255-2.706.867l-.82.766h-.751l-.28-.987a.564.564 0 00-.54-.39h-1.572c-.314 0-.559.237-.559.51V23.49c0 .289.245.51.56.51h2.304c.314 0 .558-.238.558-.51v-3.776l-.296-2.024.768-.17.82.765c.646.578 1.432.867 2.602.867 3.387 0 5.43-2.279 5.43-6.922-.018-4.644-2.043-6.923-5.517-6.923zm-1.134 11.056c-1.729 0-2.689-.867-2.689-2.517V10.58c0-1.65.943-2.518 2.689-2.518 2.112 0 3.072 1.293 3.072 4.134-.017 2.874-.96 4.167-3.072 4.167zM89.517 7.305v-1.76c0-.301-.25-.532-.57-.532h-6.172V1.6c0-.302-.25-.533-.57-.533h-2.347c-.32 0-.57.25-.57.533v3.413h-3.646c-.32 0-.57.249-.57.533v1.76c0 .301.25.532.57.532h3.647v5.226c0 3.998 1.885 5.847 5.94 5.847h3.31c.32 0 .569-.25.569-.534v-1.759c0-.302-.25-.533-.57-.533h-2.774c-2.207 0-2.99-.871-2.99-3.04V7.857h6.174c.32-.018.569-.266.569-.55zM60.926 16.17H57.36V.734c0-.293-.245-.517-.56-.517h-6.993c-.315 0-.56.241-.56.517v1.708c0 .293.245.517.56.517h4.126v13.21H49.3c-.315 0-.56.24-.56.516v1.708c0 .293.245.517.56.517h11.626c.315 0 .56-.241.56-.517v-1.707c0-.294-.245-.518-.56-.518zM71.009 0h-3.164c-.317 0-.563.246-.563.527V2.76c0 .299.246.527.563.527h3.164c.316 0 .562-.246.562-.527V.527A.56.56 0 0071.01 0zM71.436 16.259V5.834c0-.298-.246-.527-.563-.527H63.79c-.316 0-.562.246-.562.527v1.74c0 .3.246.528.562.528h4.201v8.157h-4.2c-.317 0-.563.246-.563.527v1.74c0 .3.246.528.562.528h11.954c.316 0 .562-.246.562-.528v-1.74c0-.299-.246-.527-.562-.527h-4.307z`})]})),YO=(0,N.memo)(({type:e=`mono`,...t})=>(0,P.jsx)(oT,{Icon:e===`color`?qO:GO,Text:JO,"aria-label":RO,spaceMultiple:BO,textMultiple:zO,...t})),XO=GO;XO.Color=qO,XO.Text=JO,XO.Combine=YO,XO.Avatar=KO,XO.colorPrimary=VO,XO.title=RO;var ZO=`RooCode`,QO=.6,$O=.4,ek=`#000`,tk=ek,nk=`#fff`,rk=.75,ik=(0,N.memo)(({size:e=`1em`,style:t,...n})=>(0,P.jsxs)(`svg`,{fill:`currentColor`,fillRule:`evenodd`,height:e,style:{flex:`none`,lineHeight:1,...t},viewBox:`0 0 24 24`,width:e,xmlns:`http://www.w3.org/2000/svg`,...n,children:[(0,P.jsx)(`title`,{children:ZO}),(0,P.jsx)(`path`,{d:`M20.113 5.5l-.442 1.557a.157.157 0 01-.196.106l-7.414-2.157a.16.16 0 00-.143.028l-7.342 5.74a.159.159 0 01-.074.032l-4.37.656a.154.154 0 00-.132.162l.02.245c.005.078.071.14.152.141l5.074.128.058.002 3.75-1.953a.16.16 0 01.164.01l2.657 1.847a.152.152 0 01.066.125l-.023 2.45c0 .032.01.063.028.089l3.737 5.227c.03.04.077.065.129.065h1.182a.153.153 0 00.14-.224l-2.664-4.919a.15.15 0 01.005-.152l1.389-2.169a.156.156 0 01.062-.055l4.965-2.456a.16.16 0 01.158.01l1.418.921a.16.16 0 00.087.026h1.289c.125 0 .2-.136.13-.237l-3.578-5.29c-.074-.109-.246-.082-.282.044z`})]})),ak=(0,N.memo)(({...e})=>(0,P.jsx)(aT,{Icon:ik,"aria-label":ZO,background:tk,color:nk,iconMultiple:rk,...e})),ok=(0,N.memo)(({size:e=`1em`,style:t,...n})=>(0,P.jsxs)(`svg`,{fill:`currentColor`,fillRule:`evenodd`,height:e,style:{flex:`none`,lineHeight:1,...t},viewBox:`0 0 132 24`,xmlns:`http://www.w3.org/2000/svg`,...n,children:[(0,P.jsx)(`title`,{children:ZO}),(0,P.jsx)(`path`,{d:`M6.666 11.013h5.111c1.07 0 1.872-.235 2.407-.707.535-.47.803-1.237.803-2.297 0-1.02-.268-1.757-.803-2.209-.535-.47-1.337-.706-2.407-.706H6.666v5.92zM2 1.5h11.441c.951 0 1.803.158 2.556.472a5.552 5.552 0 011.961 1.237c.555.53.971 1.148 1.248 1.855.298.687.446 1.433.446 2.238 0 1.237-.267 2.307-.802 3.21-.515.904-1.367 1.59-2.556 2.062v.059c.575.157 1.05.403 1.427.736.376.314.683.697.92 1.149.239.432.407.913.506 1.443.119.53.198 1.06.238 1.59.02.334.04.727.06 1.178.019.452.049.913.088 1.385.06.47.139.922.238 1.354.119.413.287.766.505 1.06h-4.665c-.258-.667-.416-1.462-.476-2.385a35.211 35.211 0 00-.267-2.65c-.159-1.1-.496-1.905-1.01-2.415-.516-.511-1.358-.766-2.527-.766H6.666v8.217H2V1.5zM25.26 14.93c0 .61.059 1.208.177 1.797.12.57.317 1.09.595 1.561.297.452.683.815 1.159 1.09.475.275 1.07.412 1.783.412.713 0 1.307-.137 1.783-.412a3.086 3.086 0 001.159-1.09c.297-.471.505-.991.624-1.56a9.049 9.049 0 00.178-1.797c0-.609-.06-1.208-.178-1.797a4.383 4.383 0 00-.624-1.56 3.085 3.085 0 00-1.16-1.09c-.475-.295-1.069-.442-1.782-.442-.713 0-1.308.147-1.783.442a3.408 3.408 0 00-1.16 1.09 4.75 4.75 0 00-.593 1.56 9.056 9.056 0 00-.179 1.797zm-4.22 0c0-1.216.188-2.316.564-3.298.376-1.001.911-1.845 1.605-2.533a6.928 6.928 0 012.496-1.62c.97-.392 2.06-.588 3.269-.588s2.298.196 3.269.589c.99.373 1.832.913 2.526 1.62.693.687 1.228 1.53 1.605 2.532.376.982.564 2.082.564 3.299s-.188 2.317-.564 3.298a7.302 7.302 0 01-1.605 2.533c-.694.687-1.536 1.217-2.526 1.59-.971.374-2.06.56-3.269.56s-2.298-.186-3.27-.56a7.13 7.13 0 01-2.495-1.59 7.298 7.298 0 01-1.605-2.533c-.377-.981-.565-2.081-.565-3.298zM41.94 14.93c0 .61.06 1.208.179 1.797.119.57.317 1.09.594 1.561a3.41 3.41 0 001.16 1.09c.474.275 1.069.412 1.782.412.713 0 1.308-.137 1.783-.412a3.085 3.085 0 001.16-1.09c.296-.471.505-.991.623-1.56a9.063 9.063 0 00.179-1.797c0-.609-.06-1.208-.179-1.797a4.384 4.384 0 00-.624-1.56 3.084 3.084 0 00-1.159-1.09c-.475-.295-1.07-.442-1.783-.442-.713 0-1.308.147-1.783.442a3.408 3.408 0 00-1.159 1.09 4.748 4.748 0 00-.594 1.56 9.056 9.056 0 00-.179 1.797zm-4.22 0c0-1.216.189-2.316.565-3.298.377-1.001.912-1.845 1.605-2.533a6.928 6.928 0 012.496-1.62c.971-.392 2.06-.588 3.27-.588 1.208 0 2.297.196 3.268.589.99.373 1.833.913 2.526 1.62.694.687 1.228 1.53 1.605 2.532.376.982.564 2.082.564 3.299s-.188 2.317-.564 3.298a7.3 7.3 0 01-1.605 2.533c-.693.687-1.535 1.217-2.526 1.59-.97.374-2.06.56-3.269.56-1.208 0-2.298-.186-3.269-.56a7.13 7.13 0 01-2.496-1.59 7.297 7.297 0 01-1.605-2.533c-.376-.981-.564-2.081-.564-3.298zM76.254 8.569a3.632 3.632 0 00-.535-1.443 4.525 4.525 0 00-2.466-1.944 4.55 4.55 0 00-1.635-.294c-1.05 0-1.942.206-2.675.618a4.857 4.857 0 00-1.783 1.62 7.126 7.126 0 00-1.01 2.297 11.954 11.954 0 00-.297 2.68c0 .884.099 1.748.297 2.592.218.824.554 1.57 1.01 2.238a5.22 5.22 0 001.783 1.62c.733.392 1.625.589 2.675.589 1.426 0 2.536-.432 3.328-1.296.812-.864 1.308-2.003 1.486-3.416h4.517c-.119 1.315-.426 2.503-.921 3.563a8.537 8.537 0 01-1.962 2.71 8.349 8.349 0 01-2.853 1.708c-1.089.393-2.288.589-3.595.589-1.625 0-3.09-.275-4.398-.825-1.288-.569-2.378-1.345-3.27-2.326a10.24 10.24 0 01-2.05-3.446c-.475-1.335-.713-2.768-.713-4.3 0-1.57.238-3.024.713-4.359.476-1.354 1.16-2.532 2.05-3.534.892-1.001 1.982-1.787 3.27-2.356C68.527 1.284 69.993 1 71.618 1c1.169 0 2.268.167 3.299.5a8.62 8.62 0 012.793 1.473 7.635 7.635 0 012.05 2.356c.535.943.872 2.023 1.01 3.24h-4.516zM85.948 14.93c0 .61.06 1.208.178 1.797.12.57.317 1.09.594 1.561.298.452.684.815 1.16 1.09.475.275 1.07.412 1.783.412.713 0 1.307-.137 1.783-.412a3.085 3.085 0 001.159-1.09c.297-.471.505-.991.624-1.56a9.063 9.063 0 00.178-1.797c0-.609-.06-1.208-.178-1.797a4.387 4.387 0 00-.624-1.56 3.084 3.084 0 00-1.16-1.09c-.475-.295-1.07-.442-1.782-.442-.714 0-1.308.147-1.784.442a3.408 3.408 0 00-1.159 1.09 4.755 4.755 0 00-.594 1.56 9.063 9.063 0 00-.178 1.797zm-4.22 0c0-1.216.188-2.316.565-3.298.376-1.001.91-1.845 1.604-2.533a6.928 6.928 0 012.497-1.62c.97-.392 2.06-.588 3.269-.588 1.208 0 2.298.196 3.269.589.99.373 1.832.913 2.525 1.62.694.687 1.229 1.53 1.606 2.532.375.982.563 2.082.563 3.299s-.188 2.317-.563 3.298a7.307 7.307 0 01-1.606 2.533c-.693.687-1.535 1.217-2.525 1.59-.971.374-2.06.56-3.27.56-1.208 0-2.298-.186-3.268-.56a7.13 7.13 0 01-2.497-1.59 7.298 7.298 0 01-1.604-2.533c-.377-.981-.565-2.081-.565-3.298zM109.79 14.871c0-.628-.058-1.227-.178-1.796a4.088 4.088 0 00-.623-1.532 3.225 3.225 0 00-1.1-1.09c-.456-.274-1.03-.412-1.724-.412-.693 0-1.277.138-1.753.413a3.425 3.425 0 00-1.16 1.09 5.283 5.283 0 00-.622 1.56 8.696 8.696 0 00-.179 1.797c0 .589.069 1.178.207 1.767.14.589.357 1.119.655 1.59.316.452.703.825 1.158 1.12.476.274 1.04.412 1.694.412.694 0 1.268-.138 1.724-.413a3.15 3.15 0 001.129-1.09 5.06 5.06 0 00.594-1.59c.12-.589.178-1.197.178-1.826zm.061 5.714h-.061c-.494.825-1.147 1.423-1.96 1.796-.793.354-1.695.53-2.705.53-1.149 0-2.159-.216-3.031-.648a6.425 6.425 0 01-2.169-1.796 8.75 8.75 0 01-1.279-2.621 11.264 11.264 0 01-.415-3.063c0-1.021.14-2.003.415-2.945.298-.962.724-1.806 1.28-2.533a6.35 6.35 0 012.138-1.738c.852-.451 1.843-.677 2.972-.677a5.86 5.86 0 012.585.59 4.407 4.407 0 011.962 1.678h.059V1.5h4.219V22.53h-4.01v-1.944zM125.908 13.281c-.199-1.06-.555-1.865-1.07-2.415-.495-.55-1.258-.824-2.289-.824-.673 0-1.237.118-1.693.353-.436.216-.793.491-1.071.825a3.407 3.407 0 00-.563 1.06 5.3 5.3 0 00-.179 1.002h6.865zm-6.865 2.651c.059 1.355.406 2.336 1.04 2.945.635.609 1.545.913 2.733.913.854 0 1.586-.206 2.2-.618.614-.432.991-.884 1.129-1.355h3.714c-.594 1.826-1.504 3.132-2.733 3.917-1.228.785-2.714 1.178-4.458 1.178-1.208 0-2.297-.186-3.268-.56-.971-.392-1.794-.942-2.467-1.649a7.55 7.55 0 01-1.575-2.533c-.357-.981-.536-2.061-.536-3.24 0-1.138.189-2.198.566-3.18a7.269 7.269 0 011.604-2.533 7.483 7.483 0 012.467-1.708c.971-.412 2.041-.618 3.209-.618 1.308 0 2.447.255 3.418.765a6.522 6.522 0 012.377 2.003 8.125 8.125 0 011.368 2.886c.277 1.08.375 2.21.296 3.387h-11.084z`})]})),sk=(0,N.memo)(({...e})=>(0,P.jsx)(oT,{Icon:ik,Text:ok,"aria-label":ZO,spaceMultiple:$O,textMultiple:QO,...e})),ck=ik;ck.Text=ok,ck.Combine=sk,ck.Avatar=ak,ck.colorPrimary=ek,ck.title=ZO;var lk=`#000`,uk=lk,dk=`#fff`,fk=.75,pk=(0,N.memo)(({size:e=`1em`,style:t,...n})=>(0,P.jsxs)(`svg`,{fill:`currentColor`,fillRule:`evenodd`,height:e,style:{flex:`none`,lineHeight:1,...t},viewBox:`0 0 24 24`,width:e,xmlns:`http://www.w3.org/2000/svg`,...n,children:[(0,P.jsx)(`title`,{children:`V0`}),(0,P.jsx)(`path`,{clipRule:`evenodd`,d:`M14.252 8.25h5.624c.088 0 .176.006.26.018l-5.87 5.87a1.889 1.889 0 01-.019-.265V8.25h-2.25v5.623a4.124 4.124 0 004.125 4.125h5.624v-2.25h-5.624c-.09 0-.179-.006-.265-.018l5.874-5.875a1.9 1.9 0 01.02.27v5.623H24v-5.624A4.124 4.124 0 0019.876 6h-5.624v2.25zM0 7.5v.006l7.686 9.788c.924 1.176 2.813.523 2.813-.973V7.5H8.25v6.87L2.856 7.5H0z`})]})),mk=(0,N.memo)(({...e})=>(0,P.jsx)(aT,{Icon:pk,"aria-label":`V0`,background:uk,color:dk,iconMultiple:fk,...e})),hk=pk;hk.Avatar=mk,hk.colorPrimary=lk,hk.title=`V0`;var gk=20,_k={Amp:CT,Antigravity:FT,Claude:JT,ClaudeCode:sE,Cline:yE,Codex:NE,Cursor:GE,Devin:iD,GeminiCLI:_D,GithubCopilot:kD,Goose:VD,Grok:$D,KiloCode:fO,OpenCode:wO,Qwen:LO,Replit:XO,RooCode:ck,V0:hk};function vk({human:e,initial:t,name:n,src:r}){let[i,a]=(0,N.useState)(null),o=!e&&n?nT(n):void 0;if(o){let e=_k[o];return(0,P.jsx)(e.Avatar,{size:gk,shape:`circle`,style:{flexShrink:0}})}return r&&i!==r?(0,P.jsx)(`img`,{src:r,alt:``,width:gk,height:gk,onError:()=>a(r),className:`xw4jnvo x1qx5ct2 x2lah0s x16rqkct xl1xv1r`}):(0,P.jsx)(`span`,{...{0:{className:`xw4jnvo x1qx5ct2 x2lah0s x16rqkct xrvj5dj x1ku5rj1 xfungia x1k6wstc xyq41xo`},1:{className:`xw4jnvo x1qx5ct2 x2lah0s x16rqkct xrvj5dj x1ku5rj1 xfungia x1k6wstc x1f1btkr`}}[!!e|0],children:t??(e?[...Qw(`common.you`)][0]:`A`)})}var yk=e=>e.isComposing||e.keyCode===229;function bk({placeholder:e,initial:t=``,autoFocus:n,focusKey:r,onSubmit:i,onCancel:a,onChange:o}){let[s,c]=(0,N.useState)(t),[l,u]=(0,N.useState)(!1),d=(0,N.useRef)(null);(0,N.useEffect)(()=>{r&&d.current?.focus({preventScroll:!0})},[r]);let f=e=>{c(e),o?.(e)},p=()=>{let e=s.trim();if(!e)return;let t=i(e);f(``),u(!1),t?.then(t=>{t||(f(e),u(!0))})};return(0,P.jsxs)(`div`,{className:`x1n2onr6 x1nn3v0j xqin4a2 xsag5q8`,onClick:e=>e.stopPropagation(),children:[l?(0,P.jsx)(`div`,{className:`xzueoph x7zghnd xqfszdh x1j6dyjg`,children:Qw(`document.unsent`)}):null,(0,P.jsx)(`textarea`,{ref:d,autoFocus:n,value:s,rows:1,placeholder:e,onChange:e=>f(e.target.value),onKeyDown:e=>{e.key===`Enter`&&(e.metaKey||e.ctrlKey)&&p(),e.key===`Escape`&&!yk(e.nativeEvent)&&a?.()},className:`x1lliihq xh8yej3 x9f619 x1gg8mnh x1717udv xjfo4ez xc342km x1a2a7pz xjbqb8w xo2rkog xqfszdh xfifm61 xf2x79s x1dbl2gt xtt52l0 x5f5z56`}),(0,P.jsx)(`button`,{type:`button`,"aria-label":Qw(`common.send`),title:Qw(`common.sendShortcut`),disabled:!s.trim(),onClick:p,className:`x10l6tqk x131sewu x1jn9clo xgd8bvy x1fgtraw xrvj5dj x1ku5rj1 x1717udv xc342km x16rqkct x19ckca5 xs0jrwl x1ypdohk xtgyt42 x1hc1fzr x2wzlov`,children:(0,P.jsx)(Yn,{size:15,strokeWidth:2.4})})]})}var xk=e=>new Date(e).toLocaleTimeString(Zw.language,{hour:`2-digit`,minute:`2-digit`});function Sk({message:e,onEdit:t,onDelete:n}){let{t:r}=Ww(),[i,a]=(0,N.useState)(!1),o=e.author===`human`,{label:s,initial:c}=rT(e);return(0,P.jsxs)(`div`,{className:`x14vqqas x14l7nz5`,children:[(0,P.jsxs)(`div`,{className:`x78zum5 x6s0dn4 x1j9xkj6 x1j6dyjg x1s688f xjpr12u`,children:[(0,P.jsx)(vk,{human:o,initial:c,name:e.name,src:e.avatar}),s,` `,(0,P.jsx)(`span`,{className:`xc7n51q xo1l8bm`,children:xk(e.editedAt??e.at)}),o&&t&&n&&!e.deleted&&!i?(0,P.jsxs)(`span`,{className:`xvc5jky x78zum5 x17d4w8g`,children:[(0,P.jsx)(`button`,{type:`button`,onClick:()=>a(!0),className:`x1717udv xc342km xjbqb8w xddlp02 xytdrwj x1j6dyjg x1ypdohk`,children:r(`common.edit`)}),(0,P.jsx)(`button`,{type:`button`,onClick:n,className:`x1717udv xc342km xjbqb8w xddlp02 xytdrwj x1j6dyjg x1ypdohk`,children:r(`common.delete`)})]}):null]}),e.deleted?(0,P.jsx)(`div`,{className:`xc7n51q x1k4tb9n`,children:r(`common.deleted`)}):i?(0,P.jsx)(bk,{autoFocus:!0,initial:e.text,placeholder:``,onSubmit:e=>(t?.(e),a(!1)),onCancel:()=>a(!1)}):(0,P.jsx)(`div`,{className:`x126k92a xj0a0fe`,children:e.text})]})}function Ck({thread:e,agent:t=`Agent`}){let n=eT(e);return n===`human`?(0,P.jsx)(`span`,{className:`x2lah0s xsplgde xdqyycr x1e6avla x1k6wstc xqdcvd7 x7zghnd`,children:Zw.t(`comments.waitingYou`)}):n===`agent`?(0,P.jsx)(`span`,{title:Zw.t(`comments.agentReadsNext`,{agent:t}),className:`x2lah0s xsplgde xdqyycr x1e6avla x1k6wstc xlssvyo x19ay2w6`,children:Zw.t(`comments.waitingAgent`,{agent:t})}):null}function wk({thread:e,actions:t}){return(0,P.jsx)(`div`,{className:`xp59q4u xqin4a2`,children:e.messages.map(n=>(0,P.jsx)(Sk,{message:n,onEdit:t&&(r=>t.edit(e.id,n.id,r)),onDelete:t&&(()=>t.remove(e.id,n.id))},n.id))})}function Tk({thread:e,label:t,actions:n,agent:r,onClose:i}){let{t:a}=Ww(),o=e.status===`resolved`;return(0,P.jsxs)(`div`,{className:`xqfszdh xfifm61 x1dbl2gt xo2rkog xt0e3qv`,children:[(0,P.jsxs)(`div`,{className:`x78zum5 x6s0dn4 x167g77z x889kno xqin4a2 x1j6dyjg`,children:[(0,P.jsx)(`span`,{className:`x98rzlu xeuugli xb3r6kr xuxw1ft xlyipyv xddlp02`,children:t}),n?(0,P.jsx)(Ck,{thread:e,agent:r}):null,n?o?(0,P.jsx)(`button`,{type:`button`,title:a(`common.reopen`),onClick:()=>n.reopen(e.id),className:`x2lah0s x17z2i9w x17rw0jw xrvj5dj x1ku5rj1 x1717udv xc342km x1kogg8i xjbqb8w xj0l527 xddlp02 xytdrwj xfifm61 x1ypdohk`,children:(0,P.jsx)(Tr,{size:13,strokeWidth:2.2})}):(0,P.jsx)(`button`,{type:`button`,title:a(`common.markResolved`),onClick:()=>n.resolve(e.id),className:`x2lah0s x17z2i9w x17rw0jw xrvj5dj x1ku5rj1 x1717udv xc342km x1kogg8i xjbqb8w xj0l527 xddlp02 xytdrwj xfifm61 x1ypdohk`,children:(0,P.jsx)(Zn,{size:14,strokeWidth:2.4})}):null,i?(0,P.jsx)(`button`,{type:`button`,title:a(`common.close`),onClick:i,className:`x2lah0s x17z2i9w x17rw0jw xrvj5dj x1ku5rj1 x1717udv xc342km x1kogg8i xjbqb8w xj0l527 xddlp02 xytdrwj xfifm61 x1ypdohk`,children:(0,P.jsx)(Nr,{size:13,strokeWidth:2.2})}):null]}),(0,P.jsx)(wk,{thread:e,actions:n}),n&&!o?(0,P.jsx)(bk,{placeholder:a(`common.reply`),onSubmit:t=>n.reply(e.id,t),onCancel:i}):null]})}var Ek=e=>e===`preparing`||e===`uploading`||e===`publishing`;function Dk(e){if(!e||typeof e!=`object`)return null;let t=e;return typeof t.phase!=`string`||![`waiting`,`preparing`,`uploading`,`publishing`,`not-ready`,`failed`,`published`].includes(t.phase)||t.publishedAt!==null&&(typeof t.publishedAt!=`string`||!Number.isFinite(Date.parse(t.publishedAt)))||typeof t.autoPublish!=`boolean`||t.message!==void 0&&typeof t.message!=`string`||t.reasons!==void 0&&(!Array.isArray(t.reasons)||!t.reasons.every(e=>typeof e==`string`))?null:t}var Ok=(e,t)=>t?`${e}#ryugi-host=${t}`:e,kk=e=>e===`private`||e===`public`;function Ak(e){let t=e?.visibility??`private`,n=e?.cloud,r=!!n?.publishedAt;return{published:r,visibility:t,url:r?n.url:null,synced:!r||n.visibility===t}}function jk(e,t){return e===null?null:e?`upToDate`:t?`localChangesAuto`:`localChanges`}var Mk=`(max-width: 640px)`;function Nk(e){let t=(0,N.useMemo)(()=>window.matchMedia(e),[e]),[n,r]=(0,N.useState)(t.matches);return(0,N.useEffect)(()=>{let e=()=>r(t.matches);return t.addEventListener(`change`,e),()=>t.removeEventListener(`change`,e)},[t]),n}var Pk=`cubic-bezier(.2, 0, 0, 1)`,Fk=`cubic-bezier(.4, 0, 1, 1)`;function Ik(e,t){let n=1/120,r=[],i=0,a=0;for(let o=0;o<480&&(a+=(-e*(i-1)-t*a)*n,i+=a*n,r.push(i),!(Math.abs(1-i)<.001&&Math.abs(a)<.01));o++);let o=Math.max(1,Math.floor(r.length/48)),s=[0];for(let e=o;e<r.length;e+=o)s.push(Number(r[e].toFixed(4)));return s.push(1),{easing:`linear(${s.join(`, `)})`,duration:Math.round(r.length*n*1e3)}}var Lk=Ik(380,34),Rk=()=>typeof matchMedia==`function`&&matchMedia(`(prefers-reduced-motion: reduce)`).matches;function zk(e,t,n){if(!e||Rk())return Promise.resolve();let r=e.animate(t,{fill:`both`,...n});return r.finished.then(()=>r.cancel(),()=>void 0)}var Bk=[`live`,`quiet`,`warning`];function Vk(e,t){window.parent!==window&&window.parent.postMessage({type:`ryugi:cloud-header`,id:e,...t},location.origin)}function Hk(e,t){let n=t!==null,{title:r,online:i,comments:a,activity:o,activityTone:s,retrying:c,reason:l,history:u,historyOpen:d}=t??{};return(0,N.useEffect)(()=>{n&&Vk(e,{title:r,online:i,comments:a,activity:o,activityTone:s,retrying:c,reason:l,history:u,historyOpen:d})},[e,n,r,i,a,o,s,c,l,u,d]),n&&window.parent!==window}function Uk(e,t){if(!e||typeof e!=`object`)return null;let n=e;if(n.type!==`ryugi:cloud-header`||n.id!==t)return null;let r={};if(n.publication===null)r.publication=null;else{let e=Dk(n.publication);e&&(r.publication=e)}return typeof n.title==`string`&&(r.title=n.title),(typeof n.online==`boolean`||n.online===null)&&(r.online=n.online),typeof n.comments==`number`&&Number.isSafeInteger(n.comments)&&n.comments>=0&&(r.comments=n.comments),(typeof n.activity==`string`||n.activity===null)&&(r.activity=n.activity,r.activityTone=typeof n.activityTone==`string`&&Bk.includes(n.activityTone)?n.activityTone:void 0),typeof n.retrying==`boolean`&&(r.retrying=n.retrying),(typeof n.reason==`string`||n.reason===null)&&(r.reason=n.reason),typeof n.history==`boolean`&&(r.history=n.history),typeof n.historyOpen==`boolean`&&(r.historyOpen=n.historyOpen),r}var Wk=`allow-scripts allow-modals allow-forms allow-popups allow-downloads`,Gk=300,Kk=10;function qk(e,t){let n=(0,N.useRef)(null),[r,i]=(0,N.useState)(null),a=(0,N.useRef)(null),o=(0,N.useRef)(0),s=(0,N.useRef)(t);return s.current=t,(0,N.useEffect)(()=>{if(!e||e===r)return;let t=n.current?.contentWindow;if(r===null||!t){i(e);return}let o=!1,s=t=>{o||(o=!0,window.removeEventListener(`message`,c),clearTimeout(l),a.current=t,i(e))},c=e=>{e.source===t&&e.data?.type===`ryugi:state`&&s(e.data.state??null)};window.addEventListener(`message`,c);let l=setTimeout(()=>s(null),Gk);return t.postMessage({type:`ryugi:snapshot`},`*`),()=>{o=!0,window.removeEventListener(`message`,c),clearTimeout(l)}},[e,r]),(0,N.useEffect)(()=>{let e=e=>{if(e.source===n.current?.contentWindow){if(e.data?.type===`ryugi:error`){if(o.current>=Kk)return;o.current+=1,s.current.onError(String(e.data.message).slice(0,500))}else e.data&&s.current.onMessage?.(e.data)}};return window.addEventListener(`message`,e),()=>window.removeEventListener(`message`,e)},[]),{frameRef:n,src:r,onLoad:()=>{o.current=0,r&&s.current.onLoaded(r);let e=a.current;a.current=null,e&&n.current?.contentWindow?.postMessage({type:`ryugi:restore`,state:e},`*`)}}}function Jk({comments:e,open:t,available:n,onComments:r,onHistory:i}){return(0,P.jsxs)(`div`,{role:`group`,"aria-label":Qw(`document.rail`),className:`x78zum5 x195vfkc x1i3ajwb xur7f20 xahzvm9 x2lah0s`,children:[(0,P.jsxs)(`button`,{type:`button`,"aria-pressed":!t,onClick:()=>{t&&r()},...{0:{className:`x78zum5 x6s0dn4 x17d4w8g x12ulsxz x1awh872 xc342km x1kogg8i xjbqb8w x1bo0w0s xytdrwj xqfszdh xfifm61 xss6m8b xuxw1ft x1ypdohk x1t5pwa4 xtgyt42 x1122l3h x7s97pk`},1:{className:`x78zum5 x6s0dn4 x17d4w8g x12ulsxz x1awh872 xc342km x1kogg8i xqfszdh xfifm61 xss6m8b xuxw1ft x1ypdohk x1t5pwa4 xtgyt42 x1122l3h x7s97pk x1rozbrz xo2rkog`}}[!t|0],children:[(0,P.jsx)(_r,{size:13,"aria-hidden":`true`}),Qw(`document.railComments`,{count:e})]}),(0,P.jsxs)(`button`,{type:`button`,"aria-pressed":t,disabled:!n,title:n?void 0:Qw(`document.historyOffline`),onClick:()=>{t||i()},...{0:{className:`x78zum5 x6s0dn4 x17d4w8g x12ulsxz x1awh872 xc342km x1kogg8i xjbqb8w x1bo0w0s xytdrwj xqfszdh xfifm61 xss6m8b xuxw1ft x1ypdohk x1t5pwa4 xtgyt42 x1122l3h x7s97pk`},1:{className:`x78zum5 x6s0dn4 x17d4w8g x12ulsxz x1awh872 xc342km x1kogg8i xqfszdh xfifm61 xss6m8b xuxw1ft x1ypdohk x1t5pwa4 xtgyt42 x1122l3h x7s97pk x1rozbrz xo2rkog`}}[!!t|0],children:[(0,P.jsx)(Cr,{size:13,"aria-hidden":`true`}),Qw(`document.history`)]})]})}export{fC as $,ln as $a,_f as $i,I_ as $n,H as $o,Uh as $r,Ob as $t,Zw as A,lr as Aa,gp as Ai,wy as An,wt as Ao,Vg as Ar,jx as At,bw as B,Un as Ba,qf as Bi,Wv as Bn,Ke as Bo,Dg as Br,_x as Bt,Ck as C,Tr as Ca,vm as Ci,Ny as Cn,Bt as Co,Jg as Cr,Mx as Ct,rT as D,hr as Da,xp as Di,Oy as Dn,Et as Do,Wg as Dr,Bx as Dt,vk as E,_r as Ea,bp as Ei,Ay as En,St as Eo,Gg as Er,Px as Et,Rw as F,$n as Fa,ip as Fi,ly as Fn,xt as Fo,Lg as Fr,kx as Ft,_C as G,yn as Ga,Of as Gi,dv as Gn,W as Go,dg as Gr,sx as Gt,ew as H,On as Ha,zf as Hi,Uv as Hn,Pe as Ho,Tg as Hr,fx as Ht,Fw as I,Zn as Ia,rp as Ii,Zv as In,yt as Io,Mg as Ir,Ox as It,mC as J,hn as Ja,Tf as Ji,J_ as Jn,be as Jo,ug as Jr,Qb as Jt,sC as K,bn as Ka,Q as Ki,ev as Kn,xe as Ko,_g as Kr,ix as Kt,Mw as L,Yn as La,Xf as Li,Jv as Ln,mt as Lo,jg as Lr,Ex as Lt,Gw as M,ar as Ma,fp as Mi,_y as Mn,Ut as Mo,Rg as Mr,wx as Mt,Ww as N,rr as Na,pp as Ni,my as Nn,Xt as No,Fg as Nr,Tx as Nt,$w as O,pr as Oa,vp as Oi,ky as On,Vt as Oo,Hg as Or,zx as Ot,Bw as P,tr as Pa,op as Pi,py as Pn,bt as Po,Ig as Pr,Cx as Pt,aC as Q,dn as Qa,vf as Qi,Z_ as Qn,de as Qo,Zh as Qr,jb as Qt,Ow as R,qn as Ra,Jf as Ri,qv as Rn,st as Ro,Pg as Rr,Dx as Rt,Tk as S,Dr as Sa,ym as Si,Fy as Sn,Dt as So,Yg as Sr,Nx as St,yk as T,yr as Ta,pm as Ti,My as Tn,qt as To,Kg as Tr,Rx as Tt,CC as U,Tn as Ua,Bf as Ui,Cv as Un,Ne as Uo,Sg as Ur,ux as Ut,Sw as V,kn as Va,Kf as Vi,Kv as Vn,Ve as Vo,Eg as Vr,px as Vt,wC as W,xn as Wa,Df as Wi,yv as Wn,Te as Wo,fg as Wr,cx as Wt,cC as X,pn as Xa,xf as Xi,Y_ as Xn,he as Xo,eg as Xr,Kb as Xt,uC as Y,mn as Ya,Cf as Yi,Q_ as Yn,U as Yo,og as Yr,qb as Yt,oC as Z,un as Za,yf as Zi,X_ as Zn,fe as Zo,tg as Zr,Mb as Zt,Ak as _,Br as _a,Wm as _i,Jy as _n,Pt as _o,e_ as _r,iS as _t,Vk as a,Zd as aa,Th as ai,ob as an,tn as ao,A_ as ar,L as as,IS as at,jk as b,jr as ba,Rm as bi,Hy as bn,Ft as bo,Zg as br,Wx as bt,Fk as c,Vd as ca,Gm as ci,mb as cn,Ot as co,v_ as cr,ES as ct,Rk as d,Ti as da,th as di,gb as dn,Ht as do,f_ as dr,uS as dt,mf as ea,Hh as ei,bb as en,on as eo,P_ as er,ue as es,ZS as et,Ik as f,bi as fa,nh as fi,_b as fn,Rt as fo,u_ as fr,lS as ft,Ok as g,oi as ga,Xm as gi,tb as gn,Jt as go,t_ as gr,aS as gt,kk as h,ui as ha,eh as hi,eb as hn,At as ho,n_ as hr,oS as ht,Uk as i,Xd as ia,Dh as ii,lb as in,en as io,O_ as ir,I as is,RS as it,Qw as j,sr as ja,Sp as ji,Sy as jn,Ct as jo,zg as jr,Ax as jt,eT as k,dr as ka,_p as ki,Ey as kn,kt as ko,Ug as kr,Fx as kt,Lk as l,rc as la,Jm as li,fb as ln,jt as lo,__ as lr,CS as lt,Nk as m,di as ma,qm as mi,rb as mn,Yt as mo,o_ as mr,sS as mt,Wk as n,nf as na,Nh as ni,sb as nn,rn as no,F_ as nr,re as ns,HS as nt,Hk as o,Md as oa,wh as oi,pb as on,Zt as oo,T_ as or,te as os,NS as ot,Mk as p,yi as pa,rh as pi,ab as pn,Lt as po,l_ as pr,cS as pt,pC as q,G as qa,kf as qi,q_ as qn,Se as qo,gg as qr,$b as qt,qk as r,rf as ra,Mh as ri,cb as rn,nn as ro,M_ as rr,ae as rs,zS as rt,Pk as s,Jd as sa,mh as si,ub as sn,Wt as so,S_ as sr,AS as st,Jk as t,ff as ta,Fh as ti,xb as tn,an as to,N_ as tr,se as ts,XS as tt,zk as u,Di as ua,Qm as ui,db as un,Kt as uo,p_ as ur,vS as ut,Ek as v,Fr as va,Hm as vi,Zy as vn,Mt as vo,$g as vr,Zx as vt,bk as w,xr as wa,fm as wi,Py as wn,zt as wo,qg as wr,Ix as wt,wk as x,kr as xa,Lm as xi,By as xn,It as xo,Xg as xr,Ux as xt,Dk as y,Nr as ya,Vm as yi,Wy as yn,Nt as yo,Qg as yr,Xx as yt,Dw as z,Gn as za,Yf as zi,Gv as zn,Je as zo,Og as zr,bx as zt};
|