@halo-dev/components 1.1.0 → 1.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- var HaloComponents=function(w,c,Rd,Dd){"use strict";var U$="";const Ld={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"},jd=[c.createElementVNode("path",{fill:"currentColor",d:"M12 2c5.523 0 10 4.477 10 10s-4.477 10-10 10S2 17.523 2 12S6.477 2 12 2zm0 2a8 8 0 1 0 0 16a8 8 0 0 0 0-16zm3.833 3.337a.595.595 0 0 1 .763.067a.59.59 0 0 1 .063.76c-2.18 3.046-3.38 4.678-3.598 4.897a1.502 1.502 0 0 1-2.122 0a1.502 1.502 0 0 1 0-2.122c.374-.373 2.005-1.574 4.894-3.602zM17.5 11a1 1 0 1 1 0 2a1 1 0 0 1 0-2zm-11 0a1 1 0 1 1 0 2a1 1 0 0 1 0-2zm2.318-3.596a1 1 0 1 1-1.416 1.414a1 1 0 0 1 1.416-1.414zM12 5.5a1 1 0 1 1 0 2a1 1 0 0 1 0-2z"},null,-1)];function Id(n,e){return c.openBlock(),c.createElementBlock("svg",Ld,jd)}var zd={name:"ri-dashboard-3-line",render:Id};const Nd={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"},Ed=[c.createElementVNode("path",{fill:"currentColor",d:"m10.828 12l4.95 4.95l-1.414 1.414L8 12l6.364-6.364l1.414 1.414z"},null,-1)];function Vd(n,e){return c.openBlock(),c.createElementBlock("svg",Nd,Ed)}var As={name:"ri-arrow-left-s-line",render:Vd};const Bd={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"},Wd=[c.createElementVNode("path",{fill:"currentColor",d:"m13.172 12l-4.95-4.95l1.414-1.414L16 12l-6.364 6.364l-1.414-1.414z"},null,-1)];function Xd(n,e){return c.openBlock(),c.createElementBlock("svg",Bd,Wd)}var sn={name:"ri-arrow-right-s-line",render:Xd};const Zd={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"},qd=[c.createElementVNode("path",{fill:"currentColor",d:"m12 16l-6-6h12z"},null,-1)];function Gd(n,e){return c.openBlock(),c.createElementBlock("svg",Zd,qd)}var Ud={name:"ri-arrow-down-s-fill",render:Gd};const Yd={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"},Fd=[c.createElementVNode("path",{fill:"currentColor",d:"m12 10.828l-4.95 4.95l-1.414-1.414L12 8l6.364 6.364l-1.414 1.414z"},null,-1)];function Hd(n,e){return c.openBlock(),c.createElementBlock("svg",Yd,Fd)}var Kd={name:"ri-arrow-up-s-line",render:Hd};const Jd={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"},eu=[c.createElementVNode("path",{fill:"currentColor",d:"m12 13.172l4.95-4.95l1.414 1.414L12 16L5.636 9.636L7.05 8.222z"},null,-1)];function tu(n,e){return c.openBlock(),c.createElementBlock("svg",Jd,eu)}var iu={name:"ri-arrow-down-s-line",render:tu};const nu={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"},su=[c.createElementVNode("path",{fill:"currentColor",d:"M2 3.993A1 1 0 0 1 2.992 3h18.016c.548 0 .992.445.992.993v16.014a1 1 0 0 1-.992.993H2.992A.993.993 0 0 1 2 20.007V3.993zM11 5H4v14h7V5zm2 0v14h7V5h-7zm1 2h5v2h-5V7zm0 3h5v2h-5v-2z"},null,-1)];function ru(n,e){return c.openBlock(),c.createElementBlock("svg",nu,su)}var ou={name:"ri-book-read-line",render:ru};const lu={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"},au=[c.createElementVNode("path",{fill:"currentColor",d:"M5 8v12h14V8H5zm0-2h14V4H5v2zm15 16H4a1 1 0 0 1-1-1V3a1 1 0 0 1 1-1h16a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1zM7 10h4v4H7v-4zm0 6h10v2H7v-2zm6-5h4v2h-4v-2z"},null,-1)];function hu(n,e){return c.openBlock(),c.createElementBlock("svg",lu,au)}var cu={name:"ri-pages-line",render:hu};const fu={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"},du=[c.createElementVNode("path",{fill:"currentColor",d:"M2 8.994A5.99 5.99 0 0 1 8 3h8c3.313 0 6 2.695 6 5.994V21H8c-3.313 0-6-2.695-6-5.994V8.994zM20 19V8.994A4.004 4.004 0 0 0 16 5H8a3.99 3.99 0 0 0-4 3.994v6.012A4.004 4.004 0 0 0 8 19h12zm-6-8h2v2h-2v-2zm-6 0h2v2H8v-2z"},null,-1)];function uu(n,e){return c.openBlock(),c.createElementBlock("svg",fu,du)}var Ou={name:"ri-message-3-line",render:uu};const pu={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"},mu=[c.createElementVNode("path",{fill:"currentColor",d:"M12 2c5.522 0 10 3.978 10 8.889a5.558 5.558 0 0 1-5.556 5.555h-1.966c-.922 0-1.667.745-1.667 1.667c0 .422.167.811.422 1.1c.267.3.434.689.434 1.122C13.667 21.256 12.9 22 12 22C6.478 22 2 17.522 2 12S6.478 2 12 2zm-1.189 16.111a3.664 3.664 0 0 1 3.667-3.667h1.966A3.558 3.558 0 0 0 20 10.89C20 7.139 16.468 4 12 4a8 8 0 0 0-.676 15.972a3.648 3.648 0 0 1-.513-1.86zM7.5 12a1.5 1.5 0 1 1 0-3a1.5 1.5 0 0 1 0 3zm9 0a1.5 1.5 0 1 1 0-3a1.5 1.5 0 0 1 0 3zM12 9a1.5 1.5 0 1 1 0-3a1.5 1.5 0 0 1 0 3z"},null,-1)];function gu(n,e){return c.openBlock(),c.createElementBlock("svg",pu,mu)}var yu={name:"ri-palette-line",render:gu};const Qu={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"},Su=[c.createElementVNode("path",{fill:"currentColor",d:"M2 18h7v2H2v-2zm0-7h9v2H2v-2zm0-7h20v2H2V4zm18.674 9.025l1.156-.391l1 1.732l-.916.805a4.017 4.017 0 0 1 0 1.658l.916.805l-1 1.732l-1.156-.391c-.41.37-.898.655-1.435.83L19 21h-2l-.24-1.196a3.996 3.996 0 0 1-1.434-.83l-1.156.392l-1-1.732l.916-.805a4.017 4.017 0 0 1 0-1.658l-.916-.805l1-1.732l1.156.391c.41-.37.898-.655 1.435-.83L17 11h2l.24 1.196c.536.174 1.024.46 1.434.83zM18 18a2 2 0 1 0 0-4a2 2 0 0 0 0 4z"},null,-1)];function wu(n,e){return c.openBlock(),c.createElementBlock("svg",Qu,Su)}var bu={name:"ri-list-settings-line",render:wu};const xu={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"},$u=[c.createElementVNode("path",{fill:"currentColor",d:"M15.199 9.945a2.6 2.6 0 0 1-.79-1.551l-.403-3.083l-2.73 1.486a2.6 2.6 0 0 1-1.72.273L6.5 6.5l.57 3.056a2.6 2.6 0 0 1-.273 1.72l-1.486 2.73l3.083.403a2.6 2.6 0 0 1 1.55.79l2.138 2.257l1.336-2.807a2.6 2.6 0 0 1 1.23-1.231l2.808-1.336l-2.257-2.137zm.025 5.563l-2.213 4.65a.6.6 0 0 1-.977.155l-3.542-3.739a.6.6 0 0 0-.357-.182l-5.107-.668a.6.6 0 0 1-.449-.881l2.462-4.524a.6.6 0 0 0 .062-.396L4.16 4.86a.6.6 0 0 1 .7-.7l5.063.943a.6.6 0 0 0 .396-.062l4.524-2.462a.6.6 0 0 1 .881.45l.668 5.106a.6.6 0 0 0 .182.357l3.739 3.542a.6.6 0 0 1-.155.977l-4.65 2.213a.6.6 0 0 0-.284.284zm.797 1.927l1.414-1.414l4.243 4.242l-1.415 1.415l-4.242-4.243z"},null,-1)];function ku(n,e){return c.openBlock(),c.createElementBlock("svg",xu,$u)}var Tu={name:"ri-magic-line",render:ku};const Cu={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"},Pu=[c.createElementVNode("path",{fill:"currentColor",d:"M12 14v2a6 6 0 0 0-6 6H4a8 8 0 0 1 8-8zm0-1c-3.315 0-6-2.685-6-6s2.685-6 6-6s6 2.685 6 6s-2.685 6-6 6zm0-2c2.21 0 4-1.79 4-4s-1.79-4-4-4s-4 1.79-4 4s1.79 4 4 4zm2.595 7.812a3.51 3.51 0 0 1 0-1.623l-.992-.573l1-1.732l.992.573A3.496 3.496 0 0 1 17 14.645V13.5h2v1.145c.532.158 1.012.44 1.405.812l.992-.573l1 1.732l-.992.573a3.51 3.51 0 0 1 0 1.622l.992.573l-1 1.732l-.992-.573a3.496 3.496 0 0 1-1.405.812V22.5h-2v-1.145a3.496 3.496 0 0 1-1.405-.812l-.992.573l-1-1.732l.992-.572zM18 19.5a1.5 1.5 0 1 0 0-3a1.5 1.5 0 0 0 0 3z"},null,-1)];function vu(n,e){return c.openBlock(),c.createElementBlock("svg",Cu,Pu)}var Mu={name:"ri-user-settings-line",render:vu};const _u={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"},Au=[c.createElementVNode("path",{fill:"currentColor",d:"M2 12c0-.865.11-1.703.316-2.504A3 3 0 0 0 4.99 4.867a9.99 9.99 0 0 1 4.335-2.505a3 3 0 0 0 5.348 0a9.99 9.99 0 0 1 4.335 2.505a3 3 0 0 0 2.675 4.63a10.036 10.036 0 0 1 0 5.007a3 3 0 0 0-2.675 4.629a9.99 9.99 0 0 1-4.335 2.505a3 3 0 0 0-5.348 0a9.99 9.99 0 0 1-4.335-2.505a3 3 0 0 0-2.675-4.63A10.056 10.056 0 0 1 2 12zm4.804 3c.63 1.091.81 2.346.564 3.524c.408.29.842.541 1.297.75A4.993 4.993 0 0 1 12 18c1.26 0 2.438.471 3.335 1.274c.455-.209.889-.46 1.297-.75A4.993 4.993 0 0 1 17.196 15a4.993 4.993 0 0 1 2.77-2.25a8.126 8.126 0 0 0 0-1.5A4.993 4.993 0 0 1 17.195 9a4.993 4.993 0 0 1-.564-3.524a7.989 7.989 0 0 0-1.297-.75A4.993 4.993 0 0 1 12 6a4.993 4.993 0 0 1-3.335-1.274a7.99 7.99 0 0 0-1.297.75A4.993 4.993 0 0 1 6.804 9a4.993 4.993 0 0 1-2.77 2.25a8.126 8.126 0 0 0 0 1.5A4.993 4.993 0 0 1 6.805 15zM12 15a3 3 0 1 1 0-6a3 3 0 0 1 0 6zm0-2a1 1 0 1 0 0-2a1 1 0 0 0 0 2z"},null,-1)];function Ru(n,e){return c.openBlock(),c.createElementBlock("svg",_u,Au)}var Du={name:"ri-settings-4-line",render:Ru};const Lu={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"},ju=[c.createElementVNode("path",{fill:"currentColor",d:"M13 18v2h6v2h-6a2 2 0 0 1-2-2v-2H8a4 4 0 0 1-4-4V7a1 1 0 0 1 1-1h2V2h2v4h6V2h2v4h2a1 1 0 0 1 1 1v7a4 4 0 0 1-4 4h-3zm-5-2h8a2 2 0 0 0 2-2v-3H6v3a2 2 0 0 0 2 2zm10-8H6v1h12V8zm-6 6.5a1 1 0 1 1 0-2a1 1 0 0 1 0 2zM11 2h2v3h-2V2z"},null,-1)];function Iu(n,e){return c.openBlock(),c.createElementBlock("svg",Lu,ju)}var zu={name:"ri-plug-2-line",render:Iu};const Nu={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"},Eu=[c.createElementVNode("path",{fill:"currentColor",d:"M12 3c5.392 0 9.878 3.88 10.819 9c-.94 5.12-5.427 9-10.819 9c-5.392 0-9.878-3.88-10.819-9C2.121 6.88 6.608 3 12 3zm0 16a9.005 9.005 0 0 0 8.777-7a9.005 9.005 0 0 0-17.554 0A9.005 9.005 0 0 0 12 19zm0-2.5a4.5 4.5 0 1 1 0-9a4.5 4.5 0 0 1 0 9zm0-2a2.5 2.5 0 1 0 0-5a2.5 2.5 0 0 0 0 5z"},null,-1)];function Vu(n,e){return c.openBlock(),c.createElementBlock("svg",Nu,Eu)}var Bu={name:"ri-eye-line",render:Vu};const Wu={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"},Xu=[c.createElementVNode("path",{fill:"currentColor",d:"M17.882 19.297A10.949 10.949 0 0 1 12 21c-5.392 0-9.878-3.88-10.819-9a10.982 10.982 0 0 1 3.34-6.066L1.392 2.808l1.415-1.415l19.799 19.8l-1.415 1.414l-3.31-3.31zM5.935 7.35A8.965 8.965 0 0 0 3.223 12a9.005 9.005 0 0 0 13.201 5.838l-2.028-2.028A4.5 4.5 0 0 1 8.19 9.604L5.935 7.35zm6.979 6.978l-3.242-3.242a2.5 2.5 0 0 0 3.241 3.241zm7.893 2.264l-1.431-1.43A8.935 8.935 0 0 0 20.777 12A9.005 9.005 0 0 0 9.552 5.338L7.974 3.76C9.221 3.27 10.58 3 12 3c5.392 0 9.878 3.88 10.819 9a10.947 10.947 0 0 1-2.012 4.592zm-9.084-9.084a4.5 4.5 0 0 1 4.769 4.769l-4.77-4.769z"},null,-1)];function Zu(n,e){return c.openBlock(),c.createElementBlock("svg",Wu,Xu)}var qu={name:"ri-eye-off-line",render:Zu};const Gu={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"},Uu=[c.createElementVNode("path",{fill:"currentColor",d:"M12.414 5H21a1 1 0 0 1 1 1v14a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h7.414l2 2zM20 11H4v8h16v-8zm0-2V7h-8.414l-2-2H4v4h16z"},null,-1)];function Yu(n,e){return c.openBlock(),c.createElementBlock("svg",Gu,Uu)}var Fu={name:"ri-folder-2-line",render:Yu};const Hu={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"},Ku=[c.createElementVNode("path",{fill:"currentColor",d:"M4.5 10.5c-.825 0-1.5.675-1.5 1.5s.675 1.5 1.5 1.5S6 12.825 6 12s-.675-1.5-1.5-1.5zm15 0c-.825 0-1.5.675-1.5 1.5s.675 1.5 1.5 1.5S21 12.825 21 12s-.675-1.5-1.5-1.5zm-7.5 0c-.825 0-1.5.675-1.5 1.5s.675 1.5 1.5 1.5s1.5-.675 1.5-1.5s-.675-1.5-1.5-1.5z"},null,-1)];function Ju(n,e){return c.openBlock(),c.createElementBlock("svg",Hu,Ku)}var Uo={name:"ri-more-line",render:Ju};const eO={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"},tO=[c.createElementVNode("path",{fill:"currentColor",d:"m12 10.586l4.95-4.95l1.414 1.414l-4.95 4.95l4.95 4.95l-1.414 1.414l-4.95-4.95l-4.95 4.95l-1.414-1.414l4.95-4.95l-4.95-4.95L7.05 5.636z"},null,-1)];function iO(n,e){return c.openBlock(),c.createElementBlock("svg",eO,tO)}var pi={name:"ri-close-line",render:iO};const nO={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"},sO=[c.createElementVNode("path",{fill:"currentColor",d:"M12 22C6.477 22 2 17.523 2 12S6.477 2 12 2s10 4.477 10 10s-4.477 10-10 10zm0-2a8 8 0 1 0 0-16a8 8 0 0 0 0 16zm-1-5h2v2h-2v-2zm0-8h2v6h-2V7z"},null,-1)];function rO(n,e){return c.openBlock(),c.createElementBlock("svg",nO,sO)}var mi={name:"ri-error-warning-line",render:rO};const oO={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"},lO=[c.createElementVNode("path",{fill:"currentColor",d:"M12 22C6.477 22 2 17.523 2 12S6.477 2 12 2s10 4.477 10 10s-4.477 10-10 10zm0-2a8 8 0 1 0 0-16a8 8 0 0 0 0 16zm-.997-4L6.76 11.757l1.414-1.414l2.829 2.829l5.656-5.657l1.415 1.414L11.003 16z"},null,-1)];function aO(n,e){return c.openBlock(),c.createElementBlock("svg",oO,lO)}var rn={name:"ri-checkbox-circle-line",render:aO};const hO={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"},cO=[c.createElementVNode("path",{fill:"currentColor",d:"M12 22C6.477 22 2 17.523 2 12S6.477 2 12 2s10 4.477 10 10s-4.477 10-10 10zm0-2a8 8 0 1 0 0-16a8 8 0 0 0 0 16zM11 7h2v2h-2V7zm0 4h2v6h-2v-6z"},null,-1)];function fO(n,e){return c.openBlock(),c.createElementBlock("svg",hO,cO)}var gi={name:"ri-information-line",render:fO};const dO={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"},uO=[c.createElementVNode("path",{fill:"currentColor",d:"M12 22C6.477 22 2 17.523 2 12S6.477 2 12 2s10 4.477 10 10s-4.477 10-10 10zm0-2a8 8 0 1 0 0-16a8 8 0 0 0 0 16zm0-9.414l2.828-2.829l1.415 1.415L13.414 12l2.829 2.828l-1.415 1.415L12 13.414l-2.828 2.829l-1.415-1.415L10.586 12L7.757 9.172l1.415-1.415L12 10.586z"},null,-1)];function OO(n,e){return c.openBlock(),c.createElementBlock("svg",dO,uO)}var Yo={name:"ri-close-circle-line",render:OO};const pO={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"},mO=[c.createElementVNode("path",{fill:"currentColor",d:"M17 6h5v2h-2v13a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1V8H2V6h5V3a1 1 0 0 1 1-1h8a1 1 0 0 1 1 1v3zm1 2H6v12h12V8zm-4.586 6l1.768 1.768l-1.414 1.414L12 15.414l-1.768 1.768l-1.414-1.414L10.586 14l-1.768-1.768l1.414-1.414L12 12.586l1.768-1.768l1.414 1.414L13.414 14zM9 4v2h6V4H9z"},null,-1)];function gO(n,e){return c.openBlock(),c.createElementBlock("svg",pO,mO)}var yO={name:"ri-delete-bin-2-line",render:gO};const QO={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"},SO=[c.createElementVNode("path",{fill:"currentColor",d:"M11 11V7h2v4h4v2h-4v4h-2v-4H7v-2h4zm1 11C6.477 22 2 17.523 2 12S6.477 2 12 2s10 4.477 10 10s-4.477 10-10 10zm0-2a8 8 0 1 0 0-16a8 8 0 0 0 0 16z"},null,-1)];function wO(n,e){return c.openBlock(),c.createElementBlock("svg",QO,SO)}var bO={name:"ri-add-circle-line",render:wO};const xO={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"},$O=[c.createElementVNode("path",{fill:"currentColor",d:"M7 19v-6h10v6h2V7.828L16.172 5H5v14h2zM4 3h13l4 4v13a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1zm5 12v4h6v-4H9z"},null,-1)];function kO(n,e){return c.openBlock(),c.createElementBlock("svg",xO,$O)}var TO={name:"ri-save-line",render:kO};const CO={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"},PO=[c.createElementVNode("path",{fill:"currentColor",d:"M8 4h13v2H8V4zM4.5 6.5a1.5 1.5 0 1 1 0-3a1.5 1.5 0 0 1 0 3zm0 7a1.5 1.5 0 1 1 0-3a1.5 1.5 0 0 1 0 3zm0 6.9a1.5 1.5 0 1 1 0-3a1.5 1.5 0 0 1 0 3zM8 11h13v2H8v-2zm0 7h13v2H8v-2z"},null,-1)];function vO(n,e){return c.openBlock(),c.createElementBlock("svg",CO,PO)}var MO={name:"ri-list-unordered",render:vO};const _O={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"},AO=[c.createElementVNode("path",{fill:"currentColor",d:"M14 10h-4v4h4v-4zm2 0v4h3v-4h-3zm-2 9v-3h-4v3h4zm2 0h3v-3h-3v3zM14 5h-4v3h4V5zm2 0v3h3V5h-3zm-8 5H5v4h3v-4zm0 9v-3H5v3h3zM8 5H5v3h3V5zM4 3h16a1 1 0 0 1 1 1v16a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1z"},null,-1)];function RO(n,e){return c.openBlock(),c.createElementBlock("svg",_O,AO)}var DO={name:"ri-grid-line",render:RO};const LO={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"},jO=[c.createElementVNode("path",{fill:"currentColor",d:"M12 22C6.477 22 2 17.523 2 12S6.477 2 12 2s10 4.477 10 10s-4.477 10-10 10zm-.997-6l7.07-7.071l-1.414-1.414l-5.656 5.657l-2.829-2.829l-1.414 1.414L11.003 16z"},null,-1)];function IO(n,e){return c.openBlock(),c.createElementBlock("svg",LO,jO)}var zO={name:"ri-checkbox-circle-fill",render:IO};const NO={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"},EO=[c.createElementVNode("path",{fill:"currentColor",d:"M11 2c4.968 0 9 4.032 9 9s-4.032 9-9 9s-9-4.032-9-9s4.032-9 9-9zm0 16c3.867 0 7-3.133 7-7c0-3.868-3.133-7-7-7c-3.868 0-7 3.132-7 7c0 3.867 3.132 7 7 7zm8.485.071l2.829 2.828l-1.415 1.415l-2.828-2.829l1.414-1.414z"},null,-1)];function VO(n,e){return c.openBlock(),c.createElementBlock("svg",NO,EO)}var BO={name:"ri-search-2-line",render:VO};const WO={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"},XO=[c.createElementVNode("path",{fill:"currentColor",d:"M4 16h16V5H4v11zm9 2v2h4v2H7v-2h4v-2H2.992A.998.998 0 0 1 2 16.993V4.007C2 3.451 2.455 3 2.992 3h18.016c.548 0 .992.449.992 1.007v12.986c0 .556-.455 1.007-.992 1.007H13z"},null,-1)];function ZO(n,e){return c.openBlock(),c.createElementBlock("svg",WO,XO)}var qO={name:"ri-computer-line",render:ZO};const GO={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"},UO=[c.createElementVNode("path",{fill:"currentColor",d:"M7 4v16h10V4H7zM6 2h12a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1V3a1 1 0 0 1 1-1zm6 15a1 1 0 1 1 0 2a1 1 0 0 1 0-2z"},null,-1)];function YO(n,e){return c.openBlock(),c.createElementBlock("svg",GO,UO)}var FO={name:"ri-smartphone-line",render:YO};const HO={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"},KO=[c.createElementVNode("path",{fill:"currentColor",d:"M6 4v16h12V4H6zM5 2h14a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1V3a1 1 0 0 1 1-1zm7 15a1 1 0 1 1 0 2a1 1 0 0 1 0-2z"},null,-1)];function JO(n,e){return c.openBlock(),c.createElementBlock("svg",HO,KO)}var ep={name:"ri-tablet-line",render:JO};const tp={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"},ip=[c.createElementVNode("path",{fill:"currentColor",d:"M14 14.252v2.09A6 6 0 0 0 6 22l-2-.001a8 8 0 0 1 10-7.748zM12 13c-3.315 0-6-2.685-6-6s2.685-6 6-6s6 2.685 6 6s-2.685 6-6 6zm0-2c2.21 0 4-1.79 4-4s-1.79-4-4-4s-4 1.79-4 4s1.79 4 4 4zm5.793 8.914l3.535-3.535l1.415 1.414l-4.95 4.95l-3.536-3.536l1.415-1.414l2.12 2.121z"},null,-1)];function np(n,e){return c.openBlock(),c.createElementBlock("svg",tp,ip)}var sp={name:"ri-user-follow-line",render:np};const rp={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"},op=[c.createElementVNode("path",{fill:"currentColor",d:"M12 22C6.477 22 2 17.523 2 12S6.477 2 12 2s10 4.477 10 10s-4.477 10-10 10zm0-2a8 8 0 1 0 0-16a8 8 0 0 0 0 16zm-5-7h9v2h-4v3l-5-5zm5-4V6l5 5H8V9h4z"},null,-1)];function lp(n,e){return c.openBlock(),c.createElementBlock("svg",rp,op)}var ap={name:"ri-exchange-line",render:lp};const hp={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"},cp=[c.createElementVNode("path",{fill:"currentColor",d:"M12 2C6.475 2 2 6.475 2 12a9.994 9.994 0 0 0 6.838 9.488c.5.087.687-.213.687-.476c0-.237-.013-1.024-.013-1.862c-2.512.463-3.162-.612-3.362-1.175c-.113-.288-.6-1.175-1.025-1.413c-.35-.187-.85-.65-.013-.662c.788-.013 1.35.725 1.538 1.025c.9 1.512 2.338 1.087 2.912.825c.088-.65.35-1.087.638-1.337c-2.225-.25-4.55-1.113-4.55-4.938c0-1.088.387-1.987 1.025-2.688c-.1-.25-.45-1.275.1-2.65c0 0 .837-.262 2.75 1.026a9.28 9.28 0 0 1 2.5-.338c.85 0 1.7.112 2.5.337c1.912-1.3 2.75-1.024 2.75-1.024c.55 1.375.2 2.4.1 2.65c.637.7 1.025 1.587 1.025 2.687c0 3.838-2.337 4.688-4.562 4.938c.362.312.675.912.675 1.85c0 1.337-.013 2.412-.013 2.75c0 .262.188.574.688.474A10.016 10.016 0 0 0 22 12c0-5.525-4.475-10-10-10z"},null,-1)];function fp(n,e){return c.openBlock(),c.createElementBlock("svg",hp,cp)}var dp={name:"ri-github-fill",render:fp};const up={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"},Op=[c.createElementVNode("path",{fill:"currentColor",d:"m12 12.586l4.243 4.242l-1.415 1.415L13 16.415V22h-2v-5.587l-1.828 1.83l-1.415-1.415L12 12.586zM12 2a7.001 7.001 0 0 1 6.954 6.194a5.5 5.5 0 0 1-.953 10.784v-2.014a3.5 3.5 0 1 0-1.112-6.91a5 5 0 1 0-9.777 0a3.5 3.5 0 0 0-1.292 6.88l.18.03v2.014a5.5 5.5 0 0 1-.954-10.784A7 7 0 0 1 12 2z"},null,-1)];function pp(n,e){return c.openBlock(),c.createElementBlock("svg",up,Op)}var mp={name:"ri-upload-cloud-2-line",render:pp};const gp={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"},yp=[c.createElementVNode("path",{fill:"currentColor",d:"M3.783 2.826L12 1l8.217 1.826a1 1 0 0 1 .783.976v9.987a6 6 0 0 1-2.672 4.992L12 23l-6.328-4.219A6 6 0 0 1 3 13.79V3.802a1 1 0 0 1 .783-.976zM5 4.604v9.185a4 4 0 0 0 1.781 3.328L12 20.597l5.219-3.48A4 4 0 0 0 19 13.79V4.604L12 3.05L5 4.604zM12 11a2.5 2.5 0 1 1 0-5a2.5 2.5 0 0 1 0 5zm-4.473 5a4.5 4.5 0 0 1 8.946 0H7.527z"},null,-1)];function Qp(n,e){return c.openBlock(),c.createElementBlock("svg",gp,yp)}var Sp={name:"ri-shield-user-line",render:Qp};const wp={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"},bp=[c.createElementVNode("path",{fill:"currentColor",d:"M7.105 15.21A3.001 3.001 0 1 1 5 15.17V8.83a3.001 3.001 0 1 1 2 0V12c.836-.628 1.874-1 3-1h4a3.001 3.001 0 0 0 2.895-2.21a3.001 3.001 0 1 1 2.032.064A5.001 5.001 0 0 1 14 13h-4a3.001 3.001 0 0 0-2.895 2.21zM6 17a1 1 0 1 0 0 2a1 1 0 0 0 0-2zM6 5a1 1 0 1 0 0 2a1 1 0 0 0 0-2zm12 0a1 1 0 1 0 0 2a1 1 0 0 0 0-2z"},null,-1)];function xp(n,e){return c.openBlock(),c.createElementBlock("svg",wp,bp)}var $p={name:"ri-git-branch-line",render:xp};const kp={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"},Tp=[c.createElementVNode("path",{fill:"currentColor",d:"M12 22C6.477 22 2 17.523 2 12S6.477 2 12 2s10 4.477 10 10s-4.477 10-10 10zm0-2a8 8 0 1 0 0-16a8 8 0 0 0 0 16zM9 9h6v6H9V9z"},null,-1)];function Cp(n,e){return c.openBlock(),c.createElementBlock("svg",kp,Tp)}var Pp={name:"ri-stop-circle-line",render:Cp};const vp={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"},Mp=[c.createElementVNode("path",{fill:"currentColor",d:"M12 22C6.477 22 2 17.523 2 12S6.477 2 12 2s10 4.477 10 10s-4.477 10-10 10zm0-2a8 8 0 1 0 0-16a8 8 0 0 0 0 16zM8.523 7.109l8.368 8.368a6.04 6.04 0 0 1-1.414 1.414L7.109 8.523A6.04 6.04 0 0 1 8.523 7.11z"},null,-1)];function _p(n,e){return c.openBlock(),c.createElementBlock("svg",vp,Mp)}var Rs={name:"ri-forbid-line",render:_p};const Ap={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"},Rp=[c.createElementVNode("path",{fill:"currentColor",d:"M3 3h18a1 1 0 0 1 1 1v16a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1zm1 2v14h16V5H4zm16 7l-3.536 3.536l-1.414-1.415L17.172 12L15.05 9.879l1.414-1.415L20 12zM6.828 12l2.122 2.121l-1.414 1.415L4 12l3.536-3.536L8.95 9.88L6.828 12zm4.416 5H9.116l3.64-10h2.128l-3.64 10z"},null,-1)];function Dp(n,e){return c.openBlock(),c.createElementBlock("svg",Ap,Rp)}var Lp={name:"ri-code-box-line",render:Dp};const jp={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"},Ip=[c.createElementVNode("path",{fill:"currentColor",d:"M5 12.5c0 .313.461.858 1.53 1.393C7.914 14.585 9.877 15 12 15c2.123 0 4.086-.415 5.47-1.107c1.069-.535 1.53-1.08 1.53-1.393v-2.171C17.35 11.349 14.827 12 12 12s-5.35-.652-7-1.671V12.5zm14 2.829C17.35 16.349 14.827 17 12 17s-5.35-.652-7-1.671V17.5c0 .313.461.858 1.53 1.393C7.914 19.585 9.877 20 12 20c2.123 0 4.086-.415 5.47-1.107c1.069-.535 1.53-1.08 1.53-1.393v-2.171zM3 17.5v-10C3 5.015 7.03 3 12 3s9 2.015 9 4.5v10c0 2.485-4.03 4.5-9 4.5s-9-2.015-9-4.5zm9-7.5c2.123 0 4.086-.415 5.47-1.107C18.539 8.358 19 7.813 19 7.5c0-.313-.461-.858-1.53-1.393C16.086 5.415 14.123 5 12 5c-2.123 0-4.086.415-5.47 1.107C5.461 6.642 5 7.187 5 7.5c0 .313.461.858 1.53 1.393C7.914 9.585 9.877 10 12 10z"},null,-1)];function zp(n,e){return c.openBlock(),c.createElementBlock("svg",jp,Ip)}var Np={name:"ri-database-2-line",render:zp};const Ep={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"},Vp=[c.createElementVNode("path",{fill:"currentColor",d:"M12 11a5 5 0 0 1 5 5v6H7v-6a5 5 0 0 1 5-5zm-6.712 3.006a6.983 6.983 0 0 0-.28 1.65L5 16v6H2v-4.5a3.5 3.5 0 0 1 3.119-3.48l.17-.014zm13.424 0A3.501 3.501 0 0 1 22 17.5V22h-3v-6c0-.693-.1-1.362-.288-1.994zM5.5 8a2.5 2.5 0 1 1 0 5a2.5 2.5 0 0 1 0-5zm13 0a2.5 2.5 0 1 1 0 5a2.5 2.5 0 0 1 0-5zM12 2a4 4 0 1 1 0 8a4 4 0 0 1 0-8z"},null,-1)];function Bp(n,e){return c.openBlock(),c.createElementBlock("svg",Ep,Vp)}var Wp={name:"ri-team-fill",render:Bp};const Xp={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"},Zp=[c.createElementVNode("path",{fill:"currentColor",d:"M5 15v4h4v2H3v-6h2zm16 0v6h-6v-2h4v-4h2zm-8.001-9l4.4 11h-2.155l-1.201-3h-4.09l-1.199 3H6.6l4.399-11h2zm-1 2.885L10.752 12h2.492l-1.245-3.115zM9 3v2H5v4H3V3h6zm12 0v6h-2V5h-4V3h6z"},null,-1)];function qp(n,e){return c.openBlock(),c.createElementBlock("svg",Xp,Zp)}var Gp={name:"ri-character-recognition-line",render:qp};const Up={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"},Yp=[c.createElementVNode("path",{fill:"currentColor",d:"M17 3h4a1 1 0 0 1 1 1v16a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h4V1h2v2h6V1h2v2zm-2 2H9v2H7V5H4v4h16V5h-3v2h-2V5zm5 6H4v8h16v-8z"},null,-1)];function Fp(n,e){return c.openBlock(),c.createElementBlock("svg",Up,Yp)}var Hp={name:"ri-calendar-line",render:Fp};const Kp={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"},Jp=[c.createElementVNode("path",{fill:"currentColor",d:"M18.364 15.536L16.95 14.12l1.414-1.414a5 5 0 1 0-7.071-7.071L9.879 7.05L8.464 5.636L9.88 4.222a7 7 0 0 1 9.9 9.9l-1.415 1.414zm-2.828 2.828l-1.415 1.414a7 7 0 0 1-9.9-9.9l1.415-1.414L7.05 9.88l-1.414 1.414a5 5 0 1 0 7.071 7.071l1.414-1.414l1.415 1.414zm-.708-10.607l1.415 1.415l-7.071 7.07l-1.415-1.414l7.071-7.07z"},null,-1)];function em(n,e){return c.openBlock(),c.createElementBlock("svg",Kp,Jp)}var tm={name:"ri-link",render:em};const im={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"},nm=[c.createElementVNode("path",{fill:"currentColor",d:"M4 22a8 8 0 1 1 16 0h-2a6 6 0 1 0-12 0H4zm8-9c-3.315 0-6-2.685-6-6s2.685-6 6-6s6 2.685 6 6s-2.685 6-6 6zm0-2c2.21 0 4-1.79 4-4s-1.79-4-4-4s-4 1.79-4 4s1.79 4 4 4z"},null,-1)];function sm(n,e){return c.openBlock(),c.createElementBlock("svg",im,nm)}var rm={name:"ri-user-line",render:sm};const om={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"},lm=[c.createElementVNode("path",{fill:"currentColor",d:"M12 22C6.477 22 2 17.523 2 12S6.477 2 12 2s10 4.477 10 10s-4.477 10-10 10zm0-2a8 8 0 1 0 0-16a8 8 0 0 0 0 16zm-4-7h8a4 4 0 1 1-8 0zm0-2a1.5 1.5 0 1 1 0-3a1.5 1.5 0 0 1 0 3zm8 0a1.5 1.5 0 1 1 0-3a1.5 1.5 0 0 1 0 3z"},null,-1)];function am(n,e){return c.openBlock(),c.createElementBlock("svg",om,lm)}var hm={name:"ri-emotion-line",render:am};const cm={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"},fm=[c.createElementVNode("path",{fill:"currentColor",d:"M11 20L1 12l10-8v5c5.523 0 10 4.477 10 10c0 .273-.01.543-.032.81a9.003 9.003 0 0 0-7.655-4.805L13 15h-2v5zm-2-7h4.034l.347.007c1.285.043 2.524.31 3.676.766A7.984 7.984 0 0 0 11 11H9V8.161L4.202 12L9 15.839V13z"},null,-1)];function dm(n,e){return c.openBlock(),c.createElementBlock("svg",cm,fm)}var um={name:"ri-reply-line",render:dm};const Om={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"},pm=[c.createElementVNode("path",{fill:"currentColor",d:"M10 6v2H5v11h11v-5h2v6a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V7a1 1 0 0 1 1-1h6zm11-3v8h-2V6.413l-7.793 7.794l-1.414-1.414L17.585 5H13V3h8z"},null,-1)];function mm(n,e){return c.openBlock(),c.createElementBlock("svg",Om,pm)}var gm={name:"ri-external-link-line",render:mm};const ym={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"},Qm=[c.createElementVNode("path",{fill:"currentColor",d:"M5.463 4.433A9.961 9.961 0 0 1 12 2c5.523 0 10 4.477 10 10c0 2.136-.67 4.116-1.81 5.74L17 12h3A8 8 0 0 0 6.46 6.228l-.997-1.795zm13.074 15.134A9.961 9.961 0 0 1 12 22C6.477 22 2 17.523 2 12c0-2.136.67-4.116 1.81-5.74L7 12H4a8 8 0 0 0 13.54 5.772l.997 1.795z"},null,-1)];function Sm(n,e){return c.openBlock(),c.createElementBlock("svg",ym,Qm)}var wm={name:"ri-refresh-line",render:Sm};const bm={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"},xm=[c.createElementVNode("path",{fill:"currentColor",d:"M3 3h18a1 1 0 0 1 1 1v16a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1zm17 8H4v8h16v-8zm0-2V5H4v4h16zM9 6h2v2H9V6zM5 6h2v2H5V6z"},null,-1)];function $m(n,e){return c.openBlock(),c.createElementBlock("svg",bm,xm)}var km={name:"ri-window-line",render:$m};const Tm={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"},Cm=[c.createElementVNode("path",{fill:"currentColor",d:"M1.946 9.315c-.522-.174-.527-.455.01-.634l19.087-6.362c.529-.176.832.12.684.638l-5.454 19.086c-.15.529-.455.547-.679.045L12 14l6-8l-8 6l-8.054-2.685z"},null,-1)];function Pm(n,e){return c.openBlock(),c.createElementBlock("svg",Tm,Cm)}var vm={name:"ri-send-plane-fill",render:Pm};const Mm={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"},_m=[c.createElementVNode("path",{fill:"currentColor",d:"M5 13c0-5.088 2.903-9.436 7-11.182C16.097 3.564 19 7.912 19 13c0 .823-.076 1.626-.22 2.403l1.94 1.832a.5.5 0 0 1 .095.603l-2.495 4.575a.5.5 0 0 1-.793.114l-2.234-2.234a1 1 0 0 0-.707-.293H9.414a1 1 0 0 0-.707.293l-2.234 2.234a.5.5 0 0 1-.793-.114l-2.495-4.575a.5.5 0 0 1 .095-.603l1.94-1.832C5.077 14.626 5 13.823 5 13zm1.476 6.696l.817-.817A3 3 0 0 1 9.414 18h5.172a3 3 0 0 1 2.121.879l.817.817l.982-1.8l-1.1-1.04a2 2 0 0 1-.593-1.82c.124-.664.187-1.345.187-2.036c0-3.87-1.995-7.3-5-8.96C8.995 5.7 7 9.13 7 13c0 .691.063 1.372.187 2.037a2 2 0 0 1-.593 1.82l-1.1 1.039l.982 1.8zM12 13a2 2 0 1 1 0-4a2 2 0 0 1 0 4z"},null,-1)];function Am(n,e){return c.openBlock(),c.createElementBlock("svg",Mm,_m)}var Rm={name:"ri-rocket-line",render:Am};const Dm={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"},Lm=[c.createElementVNode("path",{fill:"currentColor",d:"M12 2c5.52 0 10 4.48 10 10s-4.48 10-10 10S2 17.52 2 12S6.48 2 12 2zm0 18c4.42 0 8-3.58 8-8s-3.58-8-8-8s-8 3.58-8 8s3.58 8 8 8zm1-8v4h-2v-4H8l4-4l4 4h-3z"},null,-1)];function jm(n,e){return c.openBlock(),c.createElementBlock("svg",Dm,Lm)}var Im={name:"ri-arrow-up-circle-line",render:jm};const zm={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"},Nm=[c.createElementVNode("path",{fill:"currentColor",d:"M12 2c5.52 0 10 4.48 10 10s-4.48 10-10 10S2 17.52 2 12S6.48 2 12 2zm0 18c4.42 0 8-3.58 8-8s-3.58-8-8-8s-8 3.58-8 8s3.58 8 8 8zm1-8h3l-4 4l-4-4h3V8h2v4z"},null,-1)];function Em(n,e){return c.openBlock(),c.createElementBlock("svg",zm,Nm)}var Vm={name:"ri-arrow-down-circle-line",render:Em};const Bm={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"},Wm=[c.createElementVNode("path",{fill:"currentColor",d:"M3 3h18a1 1 0 0 1 1 1v16a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1zm1 2v14h16V5H4zm8 10h6v2h-6v-2zm-3.333-3L5.838 9.172l1.415-1.415L11.495 12l-4.242 4.243l-1.415-1.415L8.667 12z"},null,-1)];function Xm(n,e){return c.openBlock(),c.createElementBlock("svg",Bm,Wm)}var Zm={name:"ri-terminal-box-line",render:Xm};const qm={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"},Gm=[c.createElementVNode("path",{fill:"currentColor",d:"M7 4V2h10v2h3.007c.548 0 .993.445.993.993v16.014a.994.994 0 0 1-.993.993H3.993A.994.994 0 0 1 3 21.007V4.993C3 4.445 3.445 4 3.993 4H7zm0 2H5v14h14V6h-2v2H7V6zm2-2v2h6V4H9z"},null,-1)];function Um(n,e){return c.openBlock(),c.createElementBlock("svg",qm,Gm)}var Ym={name:"ri-clipboard-line",render:Um};const Fm={key:0,class:"avatar-fallback"},Hm={key:0,class:"avatar-loading",fill:"none",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Km=[c.createElementVNode("circle",{class:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor","stroke-width":"4"},null,-1),c.createElementVNode("path",{class:"opacity-75",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z",fill:"currentColor"},null,-1)],Jm={key:1,class:"avatar-placeholder"},eg=["src","alt"];var tg=c.defineComponent({__name:"Avatar",props:{src:{default:void 0},alt:{default:void 0},size:{default:"md"},width:{default:void 0},height:{default:void 0},circle:{type:Boolean,default:!1}},setup(n){const e=n,t=c.ref(!1),i=c.ref(!1),s=async()=>{if(!e.src)return Promise.reject();const a=new Image;return a.src=e.src,new Promise((h,f)=>{a.onload=()=>h(a),a.onerror=d=>f(d)})};c.onMounted(async()=>{if(!e.src){i.value=!0;return}t.value=!0;try{await s()}catch{i.value=!0}finally{t.value=!1}});const r=c.computed(()=>{const a=[`avatar-${e.circle?"circle":"square"}`];return e.size&&a.push(`avatar-${e.size}`),a}),o=c.computed(()=>{const a={};return e.width&&(a.width=e.width),e.height&&(a.height=e.height),a}),l=c.computed(()=>{if(!e.alt)return;const a=e.alt.split(" ");if(a.length===1)return a[0].charAt(0).toUpperCase();if(a.length>1)return a[0].charAt(0).toUpperCase()+a[1].charAt(0).toUpperCase()});return(a,h)=>(c.openBlock(),c.createElementBlock("div",{class:c.normalizeClass(["avatar-wrapper",c.unref(r)]),style:c.normalizeStyle(c.unref(o))},[t.value||i.value?(c.openBlock(),c.createElementBlock("div",Fm,[t.value?(c.openBlock(),c.createElementBlock("svg",Hm,Km)):c.unref(l)?(c.openBlock(),c.createElementBlock("span",Jm,c.toDisplayString(c.unref(l)),1)):(c.openBlock(),c.createBlock(c.unref(mi),{key:2,class:"avatar-error"}))])):(c.openBlock(),c.createElementBlock("img",{key:1,src:n.src,alt:n.alt},null,8,eg))],6))}}),nT="";const ig={class:"alert-header"},ng={class:"alert-icon"},sg={class:"alert-title"},rg={key:0,class:"alert-description"},og={key:1,class:"alert-actions"};var lg=c.defineComponent({__name:"Alert",props:{type:{default:"default"},title:{default:""},description:{default:""},closable:{type:Boolean,default:!0}},emits:["close"],setup(n,{emit:e}){const t=n,i={success:rn,info:gi,default:gi,warning:mi,error:Yo},s=c.computed(()=>[`alert-${t.type}`]),r=()=>{e("close")};return(o,l)=>(c.openBlock(),c.createElementBlock("div",{class:c.normalizeClass([c.unref(s),"alert-wrapper"])},[c.createElementVNode("div",ig,[c.createElementVNode("div",ng,[c.renderSlot(o.$slots,"icon",{},()=>[(c.openBlock(),c.createBlock(c.resolveDynamicComponent(i[n.type])))],!0)]),c.createElementVNode("div",sg,c.toDisplayString(n.title),1),n.closable?(c.openBlock(),c.createElementBlock("div",{key:0,class:"alert-close",onClick:r},[c.createVNode(c.unref(pi))])):c.createCommentVNode("",!0)]),n.description||o.$slots.description?(c.openBlock(),c.createElementBlock("div",rg,[c.renderSlot(o.$slots,"description",{},()=>[c.createTextVNode(c.toDisplayString(n.description),1)],!0)])):c.createCommentVNode("",!0),o.$slots.actions?(c.openBlock(),c.createElementBlock("div",og,[c.renderSlot(o.$slots,"actions",{},void 0,!0)])):c.createCommentVNode("",!0)],2))}}),sT="",Ds=(n,e)=>{const t=n.__vccOpts||n;for(const[i,s]of e)t[i]=s;return t},ag=Ds(lg,[["__scopeId","data-v-dfa24a7f"]]);const hg=["disabled"],cg={key:0,class:"btn-icon"},fg={key:0,class:"animate-spin",fill:"none",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},dg=[c.createElementVNode("circle",{class:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor","stroke-width":"4"},null,-1),c.createElementVNode("path",{class:"opacity-75",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z",fill:"currentColor"},null,-1)],ug={class:"btn-content"};var Ls=c.defineComponent({__name:"Button",props:{type:{default:"default"},size:{default:"md"},circle:{type:Boolean,default:!1},block:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},route:{default:void 0}},emits:["click"],setup(n,{emit:e}){const t=n,i=Rd.useRouter(),s=c.computed(()=>[`btn-${t.size}`,`btn-${t.type}`,{"btn-circle":t.circle},{"btn-block":t.block},{"btn-loading":t.loading}]);function r(){t.disabled||t.loading||(t.route&&i.push(t.route),e("click"))}return(o,l)=>(c.openBlock(),c.createElementBlock("button",{class:c.normalizeClass([c.unref(s),"btn"]),disabled:n.disabled,type:"button",onClick:r},[o.$slots.icon||n.loading?(c.openBlock(),c.createElementBlock("span",cg,[n.loading?(c.openBlock(),c.createElementBlock("svg",fg,dg)):c.renderSlot(o.$slots,"icon",{key:1})])):c.createCommentVNode("",!0),c.createElementVNode("span",ug,[c.renderSlot(o.$slots,"default")])],10,hg))}}),lT="";const Og={class:"card-wrapper"},pg={key:0,class:"card-header"},mg={class:"card-header-title"},gg={class:"card-header-actions"},yg={key:1,class:"card-footer"};var Qg=c.defineComponent({__name:"Card",props:{title:null,bodyClass:null},setup(n){return(e,t)=>(c.openBlock(),c.createElementBlock("div",Og,[n.title||e.$slots.header?(c.openBlock(),c.createElementBlock("div",pg,[c.renderSlot(e.$slots,"header",{},()=>[c.createElementVNode("div",mg,c.toDisplayString(n.title),1),c.createElementVNode("div",gg,[c.renderSlot(e.$slots,"actions")])])])):c.createCommentVNode("",!0),c.createElementVNode("div",{class:c.normalizeClass([n.bodyClass,"card-body"])},[c.renderSlot(e.$slots,"default")],2),e.$slots.footer?(c.openBlock(),c.createElementBlock("div",yg,[c.renderSlot(e.$slots,"footer")])):c.createCommentVNode("",!0)]))}}),aT="";const Sg={class:"flex items-center justify-between bg-white p-4 h-14"},wg={class:"min-w-0 flex-1 self-center"},bg={class:"flex items-center truncate text-xl font-bold text-gray-800"},xg={class:"self-center"};var $g=c.defineComponent({__name:"PageHeader",props:{title:null},setup(n){return(e,t)=>(c.openBlock(),c.createElementBlock("div",Sg,[c.createElementVNode("div",wg,[c.createElementVNode("h2",bg,[c.renderSlot(e.$slots,"icon"),c.createElementVNode("span",null,c.toDisplayString(n.title),1)])]),c.createElementVNode("div",xg,[c.renderSlot(e.$slots,"actions")])]))}});const kg={class:"menu-container w-full p-3"};var Tg=c.defineComponent({__name:"Menu",props:{openIds:null},setup(n){const e=n;return c.provide("openIds",e.openIds),(t,i)=>(c.openBlock(),c.createElementBlock("div",kg,[c.createElementVNode("ul",null,[c.renderSlot(t.$slots,"default")])]))}});const Cg=["onClick"],Pg={key:0,class:"menu-icon mr-3 self-center"},vg={class:"menu-title flex-1 self-center"},Mg={class:"sub-menu-items transition-all"};var _g=c.defineComponent({__name:"MenuItem",props:{id:{default:""},title:{default:""},active:{type:Boolean,default:!1}},emits:["select"],setup(n,{emit:e}){const t=n,i=c.useSlots(),s=c.ref(!1),r=c.inject("openIds");r!=null&&r.includes(t.id)&&(s.value=!0);const o=c.computed(()=>i.default&&i.default().length>0);function l(){if(o.value){s.value=!s.value;return}e("select",t.id)}return(a,h)=>(c.openBlock(),c.createElementBlock("li",{class:c.normalizeClass([{"has-submenus":c.unref(o)},"menu-item"]),onClick:c.withModifiers(l,["stop"])},[c.createElementVNode("div",{class:c.normalizeClass([{active:n.active},"menu-item-title"])},[a.$slots.icon?(c.openBlock(),c.createElementBlock("span",Pg,[c.renderSlot(a.$slots,"icon")])):c.createCommentVNode("",!0),c.createElementVNode("span",vg,c.toDisplayString(n.title),1),a.$slots.default?(c.openBlock(),c.createElementBlock("span",{key:1,class:c.normalizeClass([{open:s.value},"menu-icon-collapse self-center transition-all"])},[c.createVNode(c.unref(sn))],2)):c.createCommentVNode("",!0)],2),c.createVNode(c.Transition,{name:"submenus-show"},{default:c.withCtx(()=>[c.withDirectives(c.createElementVNode("ul",Mg,[c.renderSlot(a.$slots,"default")],512),[[c.vShow,a.$slots.default&&s.value]])]),_:3})],10,Cg))}}),hT="",cT="";const Ag={},Rg={class:"menu-label flex flex-col"};function Dg(n,e){return c.openBlock(),c.createElementBlock("li",Rg,[c.renderSlot(n.$slots,"default")])}var Lg=Ds(Ag,[["render",Dg]]);const jg={key:0,class:"modal-header group"},Ig={class:"modal-header-title"},zg={key:0,class:"modal-header-center"},Ng={class:"modal-header-actions"},Eg={key:1,class:"modal-footer"};var Fo=c.defineComponent({__name:"Modal",props:{visible:{type:Boolean,default:!1},title:{default:void 0},width:{default:500},height:{default:void 0},fullscreen:{type:Boolean,default:!1},bodyClass:{default:void 0},mountToBody:{type:Boolean,default:!1},centered:{type:Boolean,default:!0}},emits:["update:visible","close"],setup(n,{emit:e}){const t=n,i=c.ref(!1),s=c.ref(),r=c.computed(()=>({"modal-wrapper-fullscreen":t.fullscreen,"modal-wrapper-centered":t.centered})),o=c.computed(()=>({maxWidth:t.width+"px",height:t.height}));function l(){e("update:visible",!1),e("close")}return c.watch(()=>t.visible,()=>{t.visible&&c.nextTick(()=>{var a;(a=s.value)==null||a.focus()})}),(a,h)=>(c.openBlock(),c.createBlock(c.Teleport,{disabled:!n.mountToBody,to:"body"},[c.withDirectives(c.createElementVNode("div",{ref_key:"modelWrapper",ref:s,class:c.normalizeClass([c.unref(r),"modal-wrapper"]),"aria-modal":"true",role:"dialog",tabindex:"0",onKeyup:h[4]||(h[4]=c.withKeys(c.withModifiers(f=>l(),["stop"]),["esc"]))},[c.createVNode(c.Transition,{"enter-active-class":"ease-out duration-200","enter-from-class":"opacity-0","enter-to-class":"opacity-100","leave-active-class":"ease-in duration-100","leave-from-class":"opacity-100","leave-to-class":"opacity-0",onBeforeEnter:h[1]||(h[1]=f=>i.value=!0),onAfterLeave:h[2]||(h[2]=f=>i.value=!1)},{default:c.withCtx(()=>[c.withDirectives(c.createElementVNode("div",{class:"modal-layer",onClick:h[0]||(h[0]=c.withModifiers(f=>l(),["stop"]))},null,512),[[c.vShow,n.visible]])]),_:1}),c.createVNode(c.Transition,{"enter-active-class":"ease-out duration-200","enter-from-class":"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95","enter-to-class":"opacity-100 translate-y-0 sm:scale-100","leave-active-class":"ease-in duration-100","leave-from-class":"opacity-100 translate-y-0 sm:scale-100","leave-to-class":"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95"},{default:c.withCtx(()=>[c.withDirectives(c.createElementVNode("div",{style:c.normalizeStyle(c.unref(o)),class:"modal-content transform transition-all"},[a.$slots.header||n.title?(c.openBlock(),c.createElementBlock("div",jg,[c.renderSlot(a.$slots,"header",{},()=>[c.createElementVNode("div",Ig,c.toDisplayString(n.title),1),a.$slots.center?(c.openBlock(),c.createElementBlock("div",zg,[c.renderSlot(a.$slots,"center")])):c.createCommentVNode("",!0),c.createElementVNode("div",Ng,[c.renderSlot(a.$slots,"actions"),c.createElementVNode("span",{class:"bg-gray-50",onClick:h[3]||(h[3]=f=>l())},[c.createVNode(c.unref(pi))])])])])):c.createCommentVNode("",!0),c.createElementVNode("div",{class:c.normalizeClass([n.bodyClass,"modal-body"])},[c.renderSlot(a.$slots,"default")],2),a.$slots.footer?(c.openBlock(),c.createElementBlock("div",Eg,[c.renderSlot(a.$slots,"footer")])):c.createCommentVNode("",!0)],4),[[c.vShow,n.visible]])]),_:3})],34),[[c.vShow,i.value]])],8,["disabled"]))}}),fT="";const Vg={xs:10,sm:12,md:16,lg:20};var Ho=c.defineComponent({__name:"Space",props:{spacing:{default:"xs"},direction:{default:"row"},align:{default:"center"}},setup(n){const e=n,t=c.computed(()=>{const{direction:i,align:s}=e;return[`space-direction-${i}`,`space-align-${s}`]});return(i,s)=>(c.openBlock(),c.createElementBlock("div",{class:c.normalizeClass([c.unref(t),"space-wrapper"]),style:c.normalizeStyle(`gap: ${c.unref(Vg)[n.spacing]}px`)},[c.renderSlot(i.$slots,"default")],6))}}),dT="";const Bg={class:"tabs-bar-wrapper"},Wg={class:"tabs-items-wrapper"};var Xg=c.defineComponent({__name:"Tabs",props:{activeId:{default:void 0},type:{default:"default"},direction:{default:"row"},idKey:{default:"id"},labelKey:{default:"label"}},emits:["update:activeId","change"],setup(n,{emit:e}){const t=n;c.provide("activeId",c.computed(()=>t.activeId));const i=c.useSlots(),s=c.computed(()=>{var l;return(l=i.default)==null?void 0:l.call(i).map(({props:a})=>({id:a==null?void 0:a[t.idKey],label:a==null?void 0:a[t.labelKey]}))}),r=c.computed(()=>[`tabs-direction-${t.direction}`]),o=l=>{e("update:activeId",l),e("change",l)};return(l,a)=>(c.openBlock(),c.createElementBlock("div",{class:c.normalizeClass([c.unref(r),"tabs-wrapper"])},[c.createElementVNode("div",Bg,[c.createVNode(c.unref(Ko),{"active-id":n.activeId,direction:n.direction,items:c.unref(s),type:n.type,onChange:o},null,8,["active-id","direction","items","type"])]),c.createElementVNode("div",Wg,[c.renderSlot(l.$slots,"default")])],2))}}),uT="";const Zg={key:0,class:"tabs-item-wrapper"};var qg=c.defineComponent({__name:"TabItem",props:{id:null,label:null},setup(n){const e=n,t=c.inject("activeId"),i=c.computed(()=>(t==null?void 0:t.value)===e.id);return(s,r)=>c.unref(i)?(c.openBlock(),c.createElementBlock("div",Zg,[c.renderSlot(s.$slots,"default")])):c.createCommentVNode("",!0)}});const Gg={class:"tabbar-items"},Ug=["onClick"],Yg={key:0,class:"tabbar-item-icon"},Fg={key:1,class:"tabbar-item-label"};var Ko=c.defineComponent({__name:"Tabbar",props:{activeId:{default:void 0},items:{default:void 0},type:{default:"default"},direction:{default:"row"},idKey:{default:"id"},labelKey:{default:"label"}},emits:["update:activeId","change"],setup(n,{emit:e}){const t=n,i=c.computed(()=>[`tabbar-${t.type}`,`tabbar-direction-${t.direction}`]),s=r=>{e("update:activeId",r),e("change",r)};return(r,o)=>(c.openBlock(),c.createElementBlock("div",{class:c.normalizeClass([c.unref(i),"tabbar-wrapper"])},[c.createElementVNode("div",Gg,[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(n.items,(l,a)=>(c.openBlock(),c.createElementBlock("div",{key:a,class:c.normalizeClass([{"tabbar-item-active":l[n.idKey]===n.activeId},"tabbar-item"]),onClick:h=>s(l[n.idKey])},[l.icon?(c.openBlock(),c.createElementBlock("div",Yg,[(c.openBlock(),c.createBlock(c.resolveDynamicComponent(l.icon)))])):c.createCommentVNode("",!0),l[n.labelKey]?(c.openBlock(),c.createElementBlock("div",Fg,c.toDisplayString(l[n.labelKey]),1)):c.createCommentVNode("",!0)],10,Ug))),128))])],2))}}),OT="";const Hg={key:0,class:"tag-left-icon"},Kg={class:"tag-content"},Jg={key:1,class:"tag-right-icon"};var e1=c.defineComponent({__name:"Tag",props:{theme:{default:"default"},rounded:{type:Boolean,default:!1},styles:{default:()=>({})}},setup(n){const e=n,t=c.computed(()=>[`tag-${e.theme}`,{"tag-rounded":e.rounded}]);return(i,s)=>(c.openBlock(),c.createElementBlock("div",{class:c.normalizeClass([c.unref(t),"tag-wrapper"]),style:c.normalizeStyle(n.styles)},[i.$slots.leftIcon?(c.openBlock(),c.createElementBlock("div",Hg,[c.renderSlot(i.$slots,"leftIcon")])):c.createCommentVNode("",!0),c.createElementVNode("span",Kg,[c.renderSlot(i.$slots,"default")]),i.$slots.rightIcon?(c.openBlock(),c.createElementBlock("div",Jg,[c.renderSlot(i.$slots,"rightIcon")])):c.createCommentVNode("",!0)],6))}}),pT="";const t1={class:"switch-wrapper"};var i1=c.defineComponent({__name:"Switch",props:{modelValue:{type:Boolean,default:!1}},emits:["update:modelValue","change"],setup(n,{emit:e}){const t=n,i=()=>{e("update:modelValue",!t.modelValue),e("change",!t.modelValue)};return(s,r)=>(c.openBlock(),c.createElementBlock("div",t1,[c.createElementVNode("button",{class:c.normalizeClass([{"bg-gray-200":!n.modelValue,"!bg-primary":n.modelValue},"switch-inner"]),"aria-checked":"false",role:"switch",type:"button",onClick:i},[c.createElementVNode("span",{class:c.normalizeClass([{"translate-x-0":!n.modelValue,"translate-x-5":n.modelValue},"switch-indicator"]),"aria-hidden":"true"},[c.renderSlot(s.$slots,"icon")],2)],2)]))}}),mT="";const n1={class:"flex justify-between items-start py-2 mb-2"},s1={class:"flex flex-row items-center gap-3"},r1={class:"text-base text-gray-900 font-bold"},o1={class:"flex items-center gap-4"},l1={class:"flex-1 flex items-stretch"},a1={class:"text-sm text-gray-700"},h1={class:"flex flex-col sm:flex-row gap-[10px]"};var Jo=c.defineComponent({__name:"Dialog",props:{type:{default:"info"},title:{default:"提示"},description:{default:""},confirmText:{default:"确定"},confirmType:{default:"primary"},cancelText:{default:"取消"},visible:{type:Boolean,default:!1},onConfirm:{type:Function,default:()=>{}},onCancel:{type:Function,default:()=>{}}},emits:["update:visible","close"],setup(n,{emit:e}){const t=n,i={success:{icon:rn,color:"green"},info:{icon:gi,color:"blue"},warning:{icon:mi,color:"orange"},error:{icon:Rs,color:"red"}},s=c.computed(()=>i[t.type]),r=c.ref(!1),o=()=>{t.onCancel&&t.onCancel(),a()},l=async()=>{t.onConfirm&&(r.value=!0,await t.onConfirm()),a()},a=()=>{r.value=!1,e("update:visible",!1),e("close")};return(h,f)=>(c.openBlock(),c.createBlock(c.unref(Fo),{visible:n.visible,width:450,onClose:f[0]||(f[0]=d=>o())},{footer:c.withCtx(()=>[c.createElementVNode("div",h1,[c.createVNode(c.unref(Ls),{loading:r.value,type:n.confirmType,onClick:l},{default:c.withCtx(()=>[c.createTextVNode(c.toDisplayString(n.confirmText),1)]),_:1},8,["loading","type"]),c.createVNode(c.unref(Ls),{onClick:o},{default:c.withCtx(()=>[c.createTextVNode(c.toDisplayString(n.cancelText),1)]),_:1})])]),default:c.withCtx(()=>[c.createElementVNode("div",n1,[c.createElementVNode("div",s1,[(c.openBlock(),c.createBlock(c.resolveDynamicComponent(c.unref(s).icon),{class:c.normalizeClass([`text-${c.unref(s).color}-500`,"w-6 h-6"])},null,8,["class"])),c.createElementVNode("div",r1,c.toDisplayString(n.title),1)]),c.createElementVNode("div",null,[c.createVNode(c.unref(pi),{class:"cursor-pointer",onClick:o})])]),c.createElementVNode("div",o1,[c.createElementVNode("div",l1,[c.createElementVNode("div",a1,c.toDisplayString(n.description),1)])])]),_:1},8,["visible"]))}});const c1={title:"",visible:!1},st=n=>{var r;const e={...c1,...n};let t=document.body.querySelector(".dialog-container");t||(t=document.createElement("div"),t.className="dialog-container",document.body.appendChild(t));const{vnode:i,container:s}=f1(Jo,e);s.firstElementChild&&t.appendChild(s.firstElementChild),(r=i.component)!=null&&r.props&&(i.component.props.visible=!0),i!=null&&i.props&&(i.props.onClose=()=>{t==null||t.remove(),c.render(null,s)})};function f1(n,e){const t=c.createVNode(n,e),i=document.createElement("div");return c.render(t,i),{vnode:t,container:i}}st.success=n=>st({...n,type:"success"}),st.info=n=>st({...n,type:"info"}),st.warning=n=>st({...n,type:"warning"}),st.error=n=>st({...n,type:"error"});const d1={class:"bg-white flex items-center justify-between"},u1={class:"flex-1 flex justify-between sm:!hidden items-center"},O1={class:"text-sm text-gray-500"},p1={class:"hidden sm:flex-1 sm:flex sm:items-center items-center gap-2"},m1={"aria-label":"Pagination",class:"relative z-0 inline-flex rounded-base shadow-sm -space-x-px"},g1=["disabled"],y1=["disabled"],Q1={class:"inline-flex items-center gap-2"},S1=["disabled"],w1={key:0,value:0},b1=["value"],x1=c.createElementVNode("span",{class:"text-sm text-gray-500"},"页",-1),$1={class:"inline-flex items-center gap-2"},k1=["value"],T1=c.createElementVNode("span",{class:"text-sm text-gray-500"},"条 / 页",-1);var C1=c.defineComponent({__name:"Pagination",props:{page:{default:1},size:{default:10},total:{default:0},sizeOptions:{default:()=>[10]}},emits:["update:page","update:size","change"],setup(n,{emit:e}){const t=n,i=c.ref(t.page),s=c.ref(t.size),r=c.ref(t.total);c.watch([()=>t.page,()=>t.size,()=>t.total],()=>{i.value=t.page,s.value=t.size,r.value=t.total});const o=({currentPage:p,currentPageSize:y})=>{e("update:page",p),e("update:size",y),e("change",{page:p,size:y})},{currentPage:l,currentPageSize:a,pageCount:h,isFirstPage:f,isLastPage:d,prev:u,next:O}=Dd.useOffsetPagination({total:r,page:i,pageSize:s,onPageChange:o,onPageSizeChange:o});return(p,y)=>(c.openBlock(),c.createElementBlock("div",d1,[c.createElementVNode("div",u1,[c.createElementVNode("span",{class:"relative inline-flex items-center px-4 py-2 border border-gray-300 text-sm font-medium rounded-md text-gray-700 bg-white hover:bg-gray-50 cursor-pointer",onClick:y[0]||(y[0]=(...g)=>c.unref(u)&&c.unref(u)(...g))},[c.createVNode(c.unref(As))]),c.createElementVNode("span",O1,c.toDisplayString(c.unref(l))+" / "+c.toDisplayString(c.unref(h)),1),c.createElementVNode("span",{class:"ml-3 relative inline-flex items-center px-4 py-2 border border-gray-300 text-sm font-medium rounded-md text-gray-700 bg-white hover:bg-gray-50 cursor-pointer",onClick:y[1]||(y[1]=(...g)=>c.unref(O)&&c.unref(O)(...g))},[c.createVNode(c.unref(sn))])]),c.createElementVNode("div",p1,[c.createElementVNode("nav",m1,[c.createElementVNode("button",{class:"relative h-8 outline-none inline-flex items-center px-2 py-1.5 rounded-l-base border border-gray-300 bg-white text-sm font-medium text-gray-500 hover:bg-gray-50 cursor-pointer disabled:cursor-not-allowed",disabled:c.unref(f),onClick:y[2]||(y[2]=(...g)=>c.unref(u)&&c.unref(u)(...g))},[c.createVNode(c.unref(As))],8,g1),c.createElementVNode("button",{class:"relative h-8 outline-none inline-flex items-center px-2 py-1.5 rounded-r-base border border-gray-300 bg-white text-sm font-medium text-gray-500 hover:bg-gray-50 cursor-pointer disabled:cursor-not-allowed",disabled:c.unref(d),onClick:y[3]||(y[3]=(...g)=>c.unref(O)&&c.unref(O)(...g))},[c.createVNode(c.unref(sn))],8,y1)]),c.createElementVNode("div",Q1,[c.withDirectives(c.createElementVNode("select",{"onUpdate:modelValue":y[4]||(y[4]=g=>c.isRef(l)?l.value=g:null),disabled:c.unref(h)===0,class:"h-8 border outline-none rounded-base px-2 text-gray-800 text-sm border-gray-300"},[c.unref(h)===0?(c.openBlock(),c.createElementBlock("option",w1,"0 / 0")):c.createCommentVNode("",!0),(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(c.unref(h),g=>(c.openBlock(),c.createElementBlock("option",{key:g,value:g},c.toDisplayString(g)+" / "+c.toDisplayString(c.unref(h)),9,b1))),128))],8,S1),[[c.vModelSelect,c.unref(l)]]),x1]),c.createElementVNode("div",$1,[c.withDirectives(c.createElementVNode("select",{"onUpdate:modelValue":y[5]||(y[5]=g=>c.isRef(a)?a.value=g:null),class:"h-8 border outline-none rounded-base px-2 text-gray-800 text-sm border-gray-300"},[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(n.sizeOptions,(g,Q)=>(c.openBlock(),c.createElementBlock("option",{key:Q,value:g},c.toDisplayString(g),9,k1))),128))],512),[[c.vModelSelect,c.unref(a)]]),T1])])]))}});class z{constructor(){}lineAt(e){if(e<0||e>this.length)throw new RangeError(`Invalid position ${e} in document of length ${this.length}`);return this.lineInner(e,!1,1,0)}line(e){if(e<1||e>this.lines)throw new RangeError(`Invalid line number ${e} in ${this.lines}-line document`);return this.lineInner(e,!0,1,0)}replace(e,t,i){let s=[];return this.decompose(0,e,s,2),i.length&&i.decompose(0,i.length,s,3),this.decompose(t,this.length,s,1),Xe.from(s,this.length-(t-e)+i.length)}append(e){return this.replace(this.length,this.length,e)}slice(e,t=this.length){let i=[];return this.decompose(e,t,i,0),Xe.from(i,t-e)}eq(e){if(e==this)return!0;if(e.length!=this.length||e.lines!=this.lines)return!1;let t=this.scanIdentical(e,1),i=this.length-this.scanIdentical(e,-1),s=new yi(this),r=new yi(e);for(let o=t,l=t;;){if(s.next(o),r.next(o),o=0,s.lineBreak!=r.lineBreak||s.done!=r.done||s.value!=r.value)return!1;if(l+=s.value.length,s.done||l>=i)return!0}}iter(e=1){return new yi(this,e)}iterRange(e,t=this.length){return new tl(this,e,t)}iterLines(e,t){let i;if(e==null)i=this.iter();else{t==null&&(t=this.lines+1);let s=this.line(e).from;i=this.iterRange(s,Math.max(s,t==this.lines+1?this.length:t<=1?0:this.line(t-1).to))}return new il(i)}toString(){return this.sliceString(0)}toJSON(){let e=[];return this.flatten(e),e}static of(e){if(e.length==0)throw new RangeError("A document must have at least one line");return e.length==1&&!e[0]?z.empty:e.length<=32?new ee(e):Xe.from(ee.split(e,[]))}}class ee extends z{constructor(e,t=P1(e)){super(),this.text=e,this.length=t}get lines(){return this.text.length}get children(){return null}lineInner(e,t,i,s){for(let r=0;;r++){let o=this.text[r],l=s+o.length;if((t?i:l)>=e)return new v1(s,l,i,o);s=l+1,i++}}decompose(e,t,i,s){let r=e<=0&&t>=this.length?this:new ee(el(this.text,e,t),Math.min(t,this.length)-Math.max(0,e));if(s&1){let o=i.pop(),l=on(r.text,o.text.slice(),0,r.length);if(l.length<=32)i.push(new ee(l,o.length+r.length));else{let a=l.length>>1;i.push(new ee(l.slice(0,a)),new ee(l.slice(a)))}}else i.push(r)}replace(e,t,i){if(!(i instanceof ee))return super.replace(e,t,i);let s=on(this.text,on(i.text,el(this.text,0,e)),t),r=this.length+i.length-(t-e);return s.length<=32?new ee(s,r):Xe.from(ee.split(s,[]),r)}sliceString(e,t=this.length,i=`
1
+ var HaloComponents=function(w,c,Rd,Dd){"use strict";var U$="";const Ld={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"},jd=[c.createElementVNode("path",{fill:"currentColor",d:"M12 2c5.523 0 10 4.477 10 10s-4.477 10-10 10S2 17.523 2 12S6.477 2 12 2zm0 2a8 8 0 1 0 0 16a8 8 0 0 0 0-16zm3.833 3.337a.595.595 0 0 1 .763.067a.59.59 0 0 1 .063.76c-2.18 3.046-3.38 4.678-3.598 4.897a1.502 1.502 0 0 1-2.122 0a1.502 1.502 0 0 1 0-2.122c.374-.373 2.005-1.574 4.894-3.602zM17.5 11a1 1 0 1 1 0 2a1 1 0 0 1 0-2zm-11 0a1 1 0 1 1 0 2a1 1 0 0 1 0-2zm2.318-3.596a1 1 0 1 1-1.416 1.414a1 1 0 0 1 1.416-1.414zM12 5.5a1 1 0 1 1 0 2a1 1 0 0 1 0-2z"},null,-1)];function Id(n,e){return c.openBlock(),c.createElementBlock("svg",Ld,jd)}var zd={name:"ri-dashboard-3-line",render:Id};const Nd={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"},Ed=[c.createElementVNode("path",{fill:"currentColor",d:"m10.828 12l4.95 4.95l-1.414 1.414L8 12l6.364-6.364l1.414 1.414z"},null,-1)];function Vd(n,e){return c.openBlock(),c.createElementBlock("svg",Nd,Ed)}var As={name:"ri-arrow-left-s-line",render:Vd};const Bd={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"},Wd=[c.createElementVNode("path",{fill:"currentColor",d:"m13.172 12l-4.95-4.95l1.414-1.414L16 12l-6.364 6.364l-1.414-1.414z"},null,-1)];function Xd(n,e){return c.openBlock(),c.createElementBlock("svg",Bd,Wd)}var sn={name:"ri-arrow-right-s-line",render:Xd};const Zd={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"},qd=[c.createElementVNode("path",{fill:"currentColor",d:"m12 16l-6-6h12z"},null,-1)];function Gd(n,e){return c.openBlock(),c.createElementBlock("svg",Zd,qd)}var Ud={name:"ri-arrow-down-s-fill",render:Gd};const Yd={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"},Fd=[c.createElementVNode("path",{fill:"currentColor",d:"m12 10.828l-4.95 4.95l-1.414-1.414L12 8l6.364 6.364l-1.414 1.414z"},null,-1)];function Hd(n,e){return c.openBlock(),c.createElementBlock("svg",Yd,Fd)}var Kd={name:"ri-arrow-up-s-line",render:Hd};const Jd={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"},eu=[c.createElementVNode("path",{fill:"currentColor",d:"m12 13.172l4.95-4.95l1.414 1.414L12 16L5.636 9.636L7.05 8.222z"},null,-1)];function tu(n,e){return c.openBlock(),c.createElementBlock("svg",Jd,eu)}var iu={name:"ri-arrow-down-s-line",render:tu};const nu={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"},su=[c.createElementVNode("path",{fill:"currentColor",d:"M2 3.993A1 1 0 0 1 2.992 3h18.016c.548 0 .992.445.992.993v16.014a1 1 0 0 1-.992.993H2.992A.993.993 0 0 1 2 20.007V3.993zM11 5H4v14h7V5zm2 0v14h7V5h-7zm1 2h5v2h-5V7zm0 3h5v2h-5v-2z"},null,-1)];function ru(n,e){return c.openBlock(),c.createElementBlock("svg",nu,su)}var ou={name:"ri-book-read-line",render:ru};const lu={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"},au=[c.createElementVNode("path",{fill:"currentColor",d:"M5 8v12h14V8H5zm0-2h14V4H5v2zm15 16H4a1 1 0 0 1-1-1V3a1 1 0 0 1 1-1h16a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1zM7 10h4v4H7v-4zm0 6h10v2H7v-2zm6-5h4v2h-4v-2z"},null,-1)];function hu(n,e){return c.openBlock(),c.createElementBlock("svg",lu,au)}var cu={name:"ri-pages-line",render:hu};const fu={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"},du=[c.createElementVNode("path",{fill:"currentColor",d:"M2 8.994A5.99 5.99 0 0 1 8 3h8c3.313 0 6 2.695 6 5.994V21H8c-3.313 0-6-2.695-6-5.994V8.994zM20 19V8.994A4.004 4.004 0 0 0 16 5H8a3.99 3.99 0 0 0-4 3.994v6.012A4.004 4.004 0 0 0 8 19h12zm-6-8h2v2h-2v-2zm-6 0h2v2H8v-2z"},null,-1)];function uu(n,e){return c.openBlock(),c.createElementBlock("svg",fu,du)}var Ou={name:"ri-message-3-line",render:uu};const pu={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"},mu=[c.createElementVNode("path",{fill:"currentColor",d:"M12 2c5.522 0 10 3.978 10 8.889a5.558 5.558 0 0 1-5.556 5.555h-1.966c-.922 0-1.667.745-1.667 1.667c0 .422.167.811.422 1.1c.267.3.434.689.434 1.122C13.667 21.256 12.9 22 12 22C6.478 22 2 17.522 2 12S6.478 2 12 2zm-1.189 16.111a3.664 3.664 0 0 1 3.667-3.667h1.966A3.558 3.558 0 0 0 20 10.89C20 7.139 16.468 4 12 4a8 8 0 0 0-.676 15.972a3.648 3.648 0 0 1-.513-1.86zM7.5 12a1.5 1.5 0 1 1 0-3a1.5 1.5 0 0 1 0 3zm9 0a1.5 1.5 0 1 1 0-3a1.5 1.5 0 0 1 0 3zM12 9a1.5 1.5 0 1 1 0-3a1.5 1.5 0 0 1 0 3z"},null,-1)];function gu(n,e){return c.openBlock(),c.createElementBlock("svg",pu,mu)}var yu={name:"ri-palette-line",render:gu};const Qu={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"},Su=[c.createElementVNode("path",{fill:"currentColor",d:"M2 18h7v2H2v-2zm0-7h9v2H2v-2zm0-7h20v2H2V4zm18.674 9.025l1.156-.391l1 1.732l-.916.805a4.017 4.017 0 0 1 0 1.658l.916.805l-1 1.732l-1.156-.391c-.41.37-.898.655-1.435.83L19 21h-2l-.24-1.196a3.996 3.996 0 0 1-1.434-.83l-1.156.392l-1-1.732l.916-.805a4.017 4.017 0 0 1 0-1.658l-.916-.805l1-1.732l1.156.391c.41-.37.898-.655 1.435-.83L17 11h2l.24 1.196c.536.174 1.024.46 1.434.83zM18 18a2 2 0 1 0 0-4a2 2 0 0 0 0 4z"},null,-1)];function wu(n,e){return c.openBlock(),c.createElementBlock("svg",Qu,Su)}var bu={name:"ri-list-settings-line",render:wu};const xu={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"},$u=[c.createElementVNode("path",{fill:"currentColor",d:"M15.199 9.945a2.6 2.6 0 0 1-.79-1.551l-.403-3.083l-2.73 1.486a2.6 2.6 0 0 1-1.72.273L6.5 6.5l.57 3.056a2.6 2.6 0 0 1-.273 1.72l-1.486 2.73l3.083.403a2.6 2.6 0 0 1 1.55.79l2.138 2.257l1.336-2.807a2.6 2.6 0 0 1 1.23-1.231l2.808-1.336l-2.257-2.137zm.025 5.563l-2.213 4.65a.6.6 0 0 1-.977.155l-3.542-3.739a.6.6 0 0 0-.357-.182l-5.107-.668a.6.6 0 0 1-.449-.881l2.462-4.524a.6.6 0 0 0 .062-.396L4.16 4.86a.6.6 0 0 1 .7-.7l5.063.943a.6.6 0 0 0 .396-.062l4.524-2.462a.6.6 0 0 1 .881.45l.668 5.106a.6.6 0 0 0 .182.357l3.739 3.542a.6.6 0 0 1-.155.977l-4.65 2.213a.6.6 0 0 0-.284.284zm.797 1.927l1.414-1.414l4.243 4.242l-1.415 1.415l-4.242-4.243z"},null,-1)];function ku(n,e){return c.openBlock(),c.createElementBlock("svg",xu,$u)}var Tu={name:"ri-magic-line",render:ku};const Cu={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"},Pu=[c.createElementVNode("path",{fill:"currentColor",d:"M12 14v2a6 6 0 0 0-6 6H4a8 8 0 0 1 8-8zm0-1c-3.315 0-6-2.685-6-6s2.685-6 6-6s6 2.685 6 6s-2.685 6-6 6zm0-2c2.21 0 4-1.79 4-4s-1.79-4-4-4s-4 1.79-4 4s1.79 4 4 4zm2.595 7.812a3.51 3.51 0 0 1 0-1.623l-.992-.573l1-1.732l.992.573A3.496 3.496 0 0 1 17 14.645V13.5h2v1.145c.532.158 1.012.44 1.405.812l.992-.573l1 1.732l-.992.573a3.51 3.51 0 0 1 0 1.622l.992.573l-1 1.732l-.992-.573a3.496 3.496 0 0 1-1.405.812V22.5h-2v-1.145a3.496 3.496 0 0 1-1.405-.812l-.992.573l-1-1.732l.992-.572zM18 19.5a1.5 1.5 0 1 0 0-3a1.5 1.5 0 0 0 0 3z"},null,-1)];function vu(n,e){return c.openBlock(),c.createElementBlock("svg",Cu,Pu)}var Mu={name:"ri-user-settings-line",render:vu};const _u={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"},Au=[c.createElementVNode("path",{fill:"currentColor",d:"M2 12c0-.865.11-1.703.316-2.504A3 3 0 0 0 4.99 4.867a9.99 9.99 0 0 1 4.335-2.505a3 3 0 0 0 5.348 0a9.99 9.99 0 0 1 4.335 2.505a3 3 0 0 0 2.675 4.63a10.036 10.036 0 0 1 0 5.007a3 3 0 0 0-2.675 4.629a9.99 9.99 0 0 1-4.335 2.505a3 3 0 0 0-5.348 0a9.99 9.99 0 0 1-4.335-2.505a3 3 0 0 0-2.675-4.63A10.056 10.056 0 0 1 2 12zm4.804 3c.63 1.091.81 2.346.564 3.524c.408.29.842.541 1.297.75A4.993 4.993 0 0 1 12 18c1.26 0 2.438.471 3.335 1.274c.455-.209.889-.46 1.297-.75A4.993 4.993 0 0 1 17.196 15a4.993 4.993 0 0 1 2.77-2.25a8.126 8.126 0 0 0 0-1.5A4.993 4.993 0 0 1 17.195 9a4.993 4.993 0 0 1-.564-3.524a7.989 7.989 0 0 0-1.297-.75A4.993 4.993 0 0 1 12 6a4.993 4.993 0 0 1-3.335-1.274a7.99 7.99 0 0 0-1.297.75A4.993 4.993 0 0 1 6.804 9a4.993 4.993 0 0 1-2.77 2.25a8.126 8.126 0 0 0 0 1.5A4.993 4.993 0 0 1 6.805 15zM12 15a3 3 0 1 1 0-6a3 3 0 0 1 0 6zm0-2a1 1 0 1 0 0-2a1 1 0 0 0 0 2z"},null,-1)];function Ru(n,e){return c.openBlock(),c.createElementBlock("svg",_u,Au)}var Du={name:"ri-settings-4-line",render:Ru};const Lu={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"},ju=[c.createElementVNode("path",{fill:"currentColor",d:"M13 18v2h6v2h-6a2 2 0 0 1-2-2v-2H8a4 4 0 0 1-4-4V7a1 1 0 0 1 1-1h2V2h2v4h6V2h2v4h2a1 1 0 0 1 1 1v7a4 4 0 0 1-4 4h-3zm-5-2h8a2 2 0 0 0 2-2v-3H6v3a2 2 0 0 0 2 2zm10-8H6v1h12V8zm-6 6.5a1 1 0 1 1 0-2a1 1 0 0 1 0 2zM11 2h2v3h-2V2z"},null,-1)];function Iu(n,e){return c.openBlock(),c.createElementBlock("svg",Lu,ju)}var zu={name:"ri-plug-2-line",render:Iu};const Nu={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"},Eu=[c.createElementVNode("path",{fill:"currentColor",d:"M12 3c5.392 0 9.878 3.88 10.819 9c-.94 5.12-5.427 9-10.819 9c-5.392 0-9.878-3.88-10.819-9C2.121 6.88 6.608 3 12 3zm0 16a9.005 9.005 0 0 0 8.777-7a9.005 9.005 0 0 0-17.554 0A9.005 9.005 0 0 0 12 19zm0-2.5a4.5 4.5 0 1 1 0-9a4.5 4.5 0 0 1 0 9zm0-2a2.5 2.5 0 1 0 0-5a2.5 2.5 0 0 0 0 5z"},null,-1)];function Vu(n,e){return c.openBlock(),c.createElementBlock("svg",Nu,Eu)}var Bu={name:"ri-eye-line",render:Vu};const Wu={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"},Xu=[c.createElementVNode("path",{fill:"currentColor",d:"M17.882 19.297A10.949 10.949 0 0 1 12 21c-5.392 0-9.878-3.88-10.819-9a10.982 10.982 0 0 1 3.34-6.066L1.392 2.808l1.415-1.415l19.799 19.8l-1.415 1.414l-3.31-3.31zM5.935 7.35A8.965 8.965 0 0 0 3.223 12a9.005 9.005 0 0 0 13.201 5.838l-2.028-2.028A4.5 4.5 0 0 1 8.19 9.604L5.935 7.35zm6.979 6.978l-3.242-3.242a2.5 2.5 0 0 0 3.241 3.241zm7.893 2.264l-1.431-1.43A8.935 8.935 0 0 0 20.777 12A9.005 9.005 0 0 0 9.552 5.338L7.974 3.76C9.221 3.27 10.58 3 12 3c5.392 0 9.878 3.88 10.819 9a10.947 10.947 0 0 1-2.012 4.592zm-9.084-9.084a4.5 4.5 0 0 1 4.769 4.769l-4.77-4.769z"},null,-1)];function Zu(n,e){return c.openBlock(),c.createElementBlock("svg",Wu,Xu)}var qu={name:"ri-eye-off-line",render:Zu};const Gu={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"},Uu=[c.createElementVNode("path",{fill:"currentColor",d:"M12.414 5H21a1 1 0 0 1 1 1v14a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h7.414l2 2zM20 11H4v8h16v-8zm0-2V7h-8.414l-2-2H4v4h16z"},null,-1)];function Yu(n,e){return c.openBlock(),c.createElementBlock("svg",Gu,Uu)}var Fu={name:"ri-folder-2-line",render:Yu};const Hu={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"},Ku=[c.createElementVNode("path",{fill:"currentColor",d:"M4.5 10.5c-.825 0-1.5.675-1.5 1.5s.675 1.5 1.5 1.5S6 12.825 6 12s-.675-1.5-1.5-1.5zm15 0c-.825 0-1.5.675-1.5 1.5s.675 1.5 1.5 1.5S21 12.825 21 12s-.675-1.5-1.5-1.5zm-7.5 0c-.825 0-1.5.675-1.5 1.5s.675 1.5 1.5 1.5s1.5-.675 1.5-1.5s-.675-1.5-1.5-1.5z"},null,-1)];function Ju(n,e){return c.openBlock(),c.createElementBlock("svg",Hu,Ku)}var Uo={name:"ri-more-line",render:Ju};const eO={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"},tO=[c.createElementVNode("path",{fill:"currentColor",d:"m12 10.586l4.95-4.95l1.414 1.414l-4.95 4.95l4.95 4.95l-1.414 1.414l-4.95-4.95l-4.95 4.95l-1.414-1.414l4.95-4.95l-4.95-4.95L7.05 5.636z"},null,-1)];function iO(n,e){return c.openBlock(),c.createElementBlock("svg",eO,tO)}var pi={name:"ri-close-line",render:iO};const nO={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"},sO=[c.createElementVNode("path",{fill:"currentColor",d:"M12 22C6.477 22 2 17.523 2 12S6.477 2 12 2s10 4.477 10 10s-4.477 10-10 10zm0-2a8 8 0 1 0 0-16a8 8 0 0 0 0 16zm-1-5h2v2h-2v-2zm0-8h2v6h-2V7z"},null,-1)];function rO(n,e){return c.openBlock(),c.createElementBlock("svg",nO,sO)}var mi={name:"ri-error-warning-line",render:rO};const oO={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"},lO=[c.createElementVNode("path",{fill:"currentColor",d:"M12 22C6.477 22 2 17.523 2 12S6.477 2 12 2s10 4.477 10 10s-4.477 10-10 10zm0-2a8 8 0 1 0 0-16a8 8 0 0 0 0 16zm-.997-4L6.76 11.757l1.414-1.414l2.829 2.829l5.656-5.657l1.415 1.414L11.003 16z"},null,-1)];function aO(n,e){return c.openBlock(),c.createElementBlock("svg",oO,lO)}var rn={name:"ri-checkbox-circle-line",render:aO};const hO={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"},cO=[c.createElementVNode("path",{fill:"currentColor",d:"M12 22C6.477 22 2 17.523 2 12S6.477 2 12 2s10 4.477 10 10s-4.477 10-10 10zm0-2a8 8 0 1 0 0-16a8 8 0 0 0 0 16zM11 7h2v2h-2V7zm0 4h2v6h-2v-6z"},null,-1)];function fO(n,e){return c.openBlock(),c.createElementBlock("svg",hO,cO)}var gi={name:"ri-information-line",render:fO};const dO={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"},uO=[c.createElementVNode("path",{fill:"currentColor",d:"M12 22C6.477 22 2 17.523 2 12S6.477 2 12 2s10 4.477 10 10s-4.477 10-10 10zm0-2a8 8 0 1 0 0-16a8 8 0 0 0 0 16zm0-9.414l2.828-2.829l1.415 1.415L13.414 12l2.829 2.828l-1.415 1.415L12 13.414l-2.828 2.829l-1.415-1.415L10.586 12L7.757 9.172l1.415-1.415L12 10.586z"},null,-1)];function OO(n,e){return c.openBlock(),c.createElementBlock("svg",dO,uO)}var Yo={name:"ri-close-circle-line",render:OO};const pO={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"},mO=[c.createElementVNode("path",{fill:"currentColor",d:"M17 6h5v2h-2v13a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1V8H2V6h5V3a1 1 0 0 1 1-1h8a1 1 0 0 1 1 1v3zm1 2H6v12h12V8zm-4.586 6l1.768 1.768l-1.414 1.414L12 15.414l-1.768 1.768l-1.414-1.414L10.586 14l-1.768-1.768l1.414-1.414L12 12.586l1.768-1.768l1.414 1.414L13.414 14zM9 4v2h6V4H9z"},null,-1)];function gO(n,e){return c.openBlock(),c.createElementBlock("svg",pO,mO)}var yO={name:"ri-delete-bin-2-line",render:gO};const QO={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"},SO=[c.createElementVNode("path",{fill:"currentColor",d:"M11 11V7h2v4h4v2h-4v4h-2v-4H7v-2h4zm1 11C6.477 22 2 17.523 2 12S6.477 2 12 2s10 4.477 10 10s-4.477 10-10 10zm0-2a8 8 0 1 0 0-16a8 8 0 0 0 0 16z"},null,-1)];function wO(n,e){return c.openBlock(),c.createElementBlock("svg",QO,SO)}var bO={name:"ri-add-circle-line",render:wO};const xO={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"},$O=[c.createElementVNode("path",{fill:"currentColor",d:"M7 19v-6h10v6h2V7.828L16.172 5H5v14h2zM4 3h13l4 4v13a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1zm5 12v4h6v-4H9z"},null,-1)];function kO(n,e){return c.openBlock(),c.createElementBlock("svg",xO,$O)}var TO={name:"ri-save-line",render:kO};const CO={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"},PO=[c.createElementVNode("path",{fill:"currentColor",d:"M8 4h13v2H8V4zM4.5 6.5a1.5 1.5 0 1 1 0-3a1.5 1.5 0 0 1 0 3zm0 7a1.5 1.5 0 1 1 0-3a1.5 1.5 0 0 1 0 3zm0 6.9a1.5 1.5 0 1 1 0-3a1.5 1.5 0 0 1 0 3zM8 11h13v2H8v-2zm0 7h13v2H8v-2z"},null,-1)];function vO(n,e){return c.openBlock(),c.createElementBlock("svg",CO,PO)}var MO={name:"ri-list-unordered",render:vO};const _O={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"},AO=[c.createElementVNode("path",{fill:"currentColor",d:"M14 10h-4v4h4v-4zm2 0v4h3v-4h-3zm-2 9v-3h-4v3h4zm2 0h3v-3h-3v3zM14 5h-4v3h4V5zm2 0v3h3V5h-3zm-8 5H5v4h3v-4zm0 9v-3H5v3h3zM8 5H5v3h3V5zM4 3h16a1 1 0 0 1 1 1v16a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1z"},null,-1)];function RO(n,e){return c.openBlock(),c.createElementBlock("svg",_O,AO)}var DO={name:"ri-grid-line",render:RO};const LO={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"},jO=[c.createElementVNode("path",{fill:"currentColor",d:"M12 22C6.477 22 2 17.523 2 12S6.477 2 12 2s10 4.477 10 10s-4.477 10-10 10zm-.997-6l7.07-7.071l-1.414-1.414l-5.656 5.657l-2.829-2.829l-1.414 1.414L11.003 16z"},null,-1)];function IO(n,e){return c.openBlock(),c.createElementBlock("svg",LO,jO)}var zO={name:"ri-checkbox-circle-fill",render:IO};const NO={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"},EO=[c.createElementVNode("path",{fill:"currentColor",d:"M11 2c4.968 0 9 4.032 9 9s-4.032 9-9 9s-9-4.032-9-9s4.032-9 9-9zm0 16c3.867 0 7-3.133 7-7c0-3.868-3.133-7-7-7c-3.868 0-7 3.132-7 7c0 3.867 3.132 7 7 7zm8.485.071l2.829 2.828l-1.415 1.415l-2.828-2.829l1.414-1.414z"},null,-1)];function VO(n,e){return c.openBlock(),c.createElementBlock("svg",NO,EO)}var BO={name:"ri-search-2-line",render:VO};const WO={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"},XO=[c.createElementVNode("path",{fill:"currentColor",d:"M4 16h16V5H4v11zm9 2v2h4v2H7v-2h4v-2H2.992A.998.998 0 0 1 2 16.993V4.007C2 3.451 2.455 3 2.992 3h18.016c.548 0 .992.449.992 1.007v12.986c0 .556-.455 1.007-.992 1.007H13z"},null,-1)];function ZO(n,e){return c.openBlock(),c.createElementBlock("svg",WO,XO)}var qO={name:"ri-computer-line",render:ZO};const GO={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"},UO=[c.createElementVNode("path",{fill:"currentColor",d:"M7 4v16h10V4H7zM6 2h12a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1V3a1 1 0 0 1 1-1zm6 15a1 1 0 1 1 0 2a1 1 0 0 1 0-2z"},null,-1)];function YO(n,e){return c.openBlock(),c.createElementBlock("svg",GO,UO)}var FO={name:"ri-smartphone-line",render:YO};const HO={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"},KO=[c.createElementVNode("path",{fill:"currentColor",d:"M6 4v16h12V4H6zM5 2h14a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1V3a1 1 0 0 1 1-1zm7 15a1 1 0 1 1 0 2a1 1 0 0 1 0-2z"},null,-1)];function JO(n,e){return c.openBlock(),c.createElementBlock("svg",HO,KO)}var ep={name:"ri-tablet-line",render:JO};const tp={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"},ip=[c.createElementVNode("path",{fill:"currentColor",d:"M14 14.252v2.09A6 6 0 0 0 6 22l-2-.001a8 8 0 0 1 10-7.748zM12 13c-3.315 0-6-2.685-6-6s2.685-6 6-6s6 2.685 6 6s-2.685 6-6 6zm0-2c2.21 0 4-1.79 4-4s-1.79-4-4-4s-4 1.79-4 4s1.79 4 4 4zm5.793 8.914l3.535-3.535l1.415 1.414l-4.95 4.95l-3.536-3.536l1.415-1.414l2.12 2.121z"},null,-1)];function np(n,e){return c.openBlock(),c.createElementBlock("svg",tp,ip)}var sp={name:"ri-user-follow-line",render:np};const rp={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"},op=[c.createElementVNode("path",{fill:"currentColor",d:"M12 22C6.477 22 2 17.523 2 12S6.477 2 12 2s10 4.477 10 10s-4.477 10-10 10zm0-2a8 8 0 1 0 0-16a8 8 0 0 0 0 16zm-5-7h9v2h-4v3l-5-5zm5-4V6l5 5H8V9h4z"},null,-1)];function lp(n,e){return c.openBlock(),c.createElementBlock("svg",rp,op)}var ap={name:"ri-exchange-line",render:lp};const hp={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"},cp=[c.createElementVNode("path",{fill:"currentColor",d:"M12 2C6.475 2 2 6.475 2 12a9.994 9.994 0 0 0 6.838 9.488c.5.087.687-.213.687-.476c0-.237-.013-1.024-.013-1.862c-2.512.463-3.162-.612-3.362-1.175c-.113-.288-.6-1.175-1.025-1.413c-.35-.187-.85-.65-.013-.662c.788-.013 1.35.725 1.538 1.025c.9 1.512 2.338 1.087 2.912.825c.088-.65.35-1.087.638-1.337c-2.225-.25-4.55-1.113-4.55-4.938c0-1.088.387-1.987 1.025-2.688c-.1-.25-.45-1.275.1-2.65c0 0 .837-.262 2.75 1.026a9.28 9.28 0 0 1 2.5-.338c.85 0 1.7.112 2.5.337c1.912-1.3 2.75-1.024 2.75-1.024c.55 1.375.2 2.4.1 2.65c.637.7 1.025 1.587 1.025 2.687c0 3.838-2.337 4.688-4.562 4.938c.362.312.675.912.675 1.85c0 1.337-.013 2.412-.013 2.75c0 .262.188.574.688.474A10.016 10.016 0 0 0 22 12c0-5.525-4.475-10-10-10z"},null,-1)];function fp(n,e){return c.openBlock(),c.createElementBlock("svg",hp,cp)}var dp={name:"ri-github-fill",render:fp};const up={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"},Op=[c.createElementVNode("path",{fill:"currentColor",d:"m12 12.586l4.243 4.242l-1.415 1.415L13 16.415V22h-2v-5.587l-1.828 1.83l-1.415-1.415L12 12.586zM12 2a7.001 7.001 0 0 1 6.954 6.194a5.5 5.5 0 0 1-.953 10.784v-2.014a3.5 3.5 0 1 0-1.112-6.91a5 5 0 1 0-9.777 0a3.5 3.5 0 0 0-1.292 6.88l.18.03v2.014a5.5 5.5 0 0 1-.954-10.784A7 7 0 0 1 12 2z"},null,-1)];function pp(n,e){return c.openBlock(),c.createElementBlock("svg",up,Op)}var mp={name:"ri-upload-cloud-2-line",render:pp};const gp={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"},yp=[c.createElementVNode("path",{fill:"currentColor",d:"M3.783 2.826L12 1l8.217 1.826a1 1 0 0 1 .783.976v9.987a6 6 0 0 1-2.672 4.992L12 23l-6.328-4.219A6 6 0 0 1 3 13.79V3.802a1 1 0 0 1 .783-.976zM5 4.604v9.185a4 4 0 0 0 1.781 3.328L12 20.597l5.219-3.48A4 4 0 0 0 19 13.79V4.604L12 3.05L5 4.604zM12 11a2.5 2.5 0 1 1 0-5a2.5 2.5 0 0 1 0 5zm-4.473 5a4.5 4.5 0 0 1 8.946 0H7.527z"},null,-1)];function Qp(n,e){return c.openBlock(),c.createElementBlock("svg",gp,yp)}var Sp={name:"ri-shield-user-line",render:Qp};const wp={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"},bp=[c.createElementVNode("path",{fill:"currentColor",d:"M7.105 15.21A3.001 3.001 0 1 1 5 15.17V8.83a3.001 3.001 0 1 1 2 0V12c.836-.628 1.874-1 3-1h4a3.001 3.001 0 0 0 2.895-2.21a3.001 3.001 0 1 1 2.032.064A5.001 5.001 0 0 1 14 13h-4a3.001 3.001 0 0 0-2.895 2.21zM6 17a1 1 0 1 0 0 2a1 1 0 0 0 0-2zM6 5a1 1 0 1 0 0 2a1 1 0 0 0 0-2zm12 0a1 1 0 1 0 0 2a1 1 0 0 0 0-2z"},null,-1)];function xp(n,e){return c.openBlock(),c.createElementBlock("svg",wp,bp)}var $p={name:"ri-git-branch-line",render:xp};const kp={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"},Tp=[c.createElementVNode("path",{fill:"currentColor",d:"M12 22C6.477 22 2 17.523 2 12S6.477 2 12 2s10 4.477 10 10s-4.477 10-10 10zm0-2a8 8 0 1 0 0-16a8 8 0 0 0 0 16zM9 9h6v6H9V9z"},null,-1)];function Cp(n,e){return c.openBlock(),c.createElementBlock("svg",kp,Tp)}var Pp={name:"ri-stop-circle-line",render:Cp};const vp={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"},Mp=[c.createElementVNode("path",{fill:"currentColor",d:"M12 22C6.477 22 2 17.523 2 12S6.477 2 12 2s10 4.477 10 10s-4.477 10-10 10zm0-2a8 8 0 1 0 0-16a8 8 0 0 0 0 16zM8.523 7.109l8.368 8.368a6.04 6.04 0 0 1-1.414 1.414L7.109 8.523A6.04 6.04 0 0 1 8.523 7.11z"},null,-1)];function _p(n,e){return c.openBlock(),c.createElementBlock("svg",vp,Mp)}var Rs={name:"ri-forbid-line",render:_p};const Ap={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"},Rp=[c.createElementVNode("path",{fill:"currentColor",d:"M3 3h18a1 1 0 0 1 1 1v16a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1zm1 2v14h16V5H4zm16 7l-3.536 3.536l-1.414-1.415L17.172 12L15.05 9.879l1.414-1.415L20 12zM6.828 12l2.122 2.121l-1.414 1.415L4 12l3.536-3.536L8.95 9.88L6.828 12zm4.416 5H9.116l3.64-10h2.128l-3.64 10z"},null,-1)];function Dp(n,e){return c.openBlock(),c.createElementBlock("svg",Ap,Rp)}var Lp={name:"ri-code-box-line",render:Dp};const jp={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"},Ip=[c.createElementVNode("path",{fill:"currentColor",d:"M5 12.5c0 .313.461.858 1.53 1.393C7.914 14.585 9.877 15 12 15c2.123 0 4.086-.415 5.47-1.107c1.069-.535 1.53-1.08 1.53-1.393v-2.171C17.35 11.349 14.827 12 12 12s-5.35-.652-7-1.671V12.5zm14 2.829C17.35 16.349 14.827 17 12 17s-5.35-.652-7-1.671V17.5c0 .313.461.858 1.53 1.393C7.914 19.585 9.877 20 12 20c2.123 0 4.086-.415 5.47-1.107c1.069-.535 1.53-1.08 1.53-1.393v-2.171zM3 17.5v-10C3 5.015 7.03 3 12 3s9 2.015 9 4.5v10c0 2.485-4.03 4.5-9 4.5s-9-2.015-9-4.5zm9-7.5c2.123 0 4.086-.415 5.47-1.107C18.539 8.358 19 7.813 19 7.5c0-.313-.461-.858-1.53-1.393C16.086 5.415 14.123 5 12 5c-2.123 0-4.086.415-5.47 1.107C5.461 6.642 5 7.187 5 7.5c0 .313.461.858 1.53 1.393C7.914 9.585 9.877 10 12 10z"},null,-1)];function zp(n,e){return c.openBlock(),c.createElementBlock("svg",jp,Ip)}var Np={name:"ri-database-2-line",render:zp};const Ep={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"},Vp=[c.createElementVNode("path",{fill:"currentColor",d:"M12 11a5 5 0 0 1 5 5v6H7v-6a5 5 0 0 1 5-5zm-6.712 3.006a6.983 6.983 0 0 0-.28 1.65L5 16v6H2v-4.5a3.5 3.5 0 0 1 3.119-3.48l.17-.014zm13.424 0A3.501 3.501 0 0 1 22 17.5V22h-3v-6c0-.693-.1-1.362-.288-1.994zM5.5 8a2.5 2.5 0 1 1 0 5a2.5 2.5 0 0 1 0-5zm13 0a2.5 2.5 0 1 1 0 5a2.5 2.5 0 0 1 0-5zM12 2a4 4 0 1 1 0 8a4 4 0 0 1 0-8z"},null,-1)];function Bp(n,e){return c.openBlock(),c.createElementBlock("svg",Ep,Vp)}var Wp={name:"ri-team-fill",render:Bp};const Xp={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"},Zp=[c.createElementVNode("path",{fill:"currentColor",d:"M5 15v4h4v2H3v-6h2zm16 0v6h-6v-2h4v-4h2zm-8.001-9l4.4 11h-2.155l-1.201-3h-4.09l-1.199 3H6.6l4.399-11h2zm-1 2.885L10.752 12h2.492l-1.245-3.115zM9 3v2H5v4H3V3h6zm12 0v6h-2V5h-4V3h6z"},null,-1)];function qp(n,e){return c.openBlock(),c.createElementBlock("svg",Xp,Zp)}var Gp={name:"ri-character-recognition-line",render:qp};const Up={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"},Yp=[c.createElementVNode("path",{fill:"currentColor",d:"M17 3h4a1 1 0 0 1 1 1v16a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h4V1h2v2h6V1h2v2zm-2 2H9v2H7V5H4v4h16V5h-3v2h-2V5zm5 6H4v8h16v-8z"},null,-1)];function Fp(n,e){return c.openBlock(),c.createElementBlock("svg",Up,Yp)}var Hp={name:"ri-calendar-line",render:Fp};const Kp={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"},Jp=[c.createElementVNode("path",{fill:"currentColor",d:"M18.364 15.536L16.95 14.12l1.414-1.414a5 5 0 1 0-7.071-7.071L9.879 7.05L8.464 5.636L9.88 4.222a7 7 0 0 1 9.9 9.9l-1.415 1.414zm-2.828 2.828l-1.415 1.414a7 7 0 0 1-9.9-9.9l1.415-1.414L7.05 9.88l-1.414 1.414a5 5 0 1 0 7.071 7.071l1.414-1.414l1.415 1.414zm-.708-10.607l1.415 1.415l-7.071 7.07l-1.415-1.414l7.071-7.07z"},null,-1)];function em(n,e){return c.openBlock(),c.createElementBlock("svg",Kp,Jp)}var tm={name:"ri-link",render:em};const im={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"},nm=[c.createElementVNode("path",{fill:"currentColor",d:"M4 22a8 8 0 1 1 16 0h-2a6 6 0 1 0-12 0H4zm8-9c-3.315 0-6-2.685-6-6s2.685-6 6-6s6 2.685 6 6s-2.685 6-6 6zm0-2c2.21 0 4-1.79 4-4s-1.79-4-4-4s-4 1.79-4 4s1.79 4 4 4z"},null,-1)];function sm(n,e){return c.openBlock(),c.createElementBlock("svg",im,nm)}var rm={name:"ri-user-line",render:sm};const om={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"},lm=[c.createElementVNode("path",{fill:"currentColor",d:"M12 22C6.477 22 2 17.523 2 12S6.477 2 12 2s10 4.477 10 10s-4.477 10-10 10zm0-2a8 8 0 1 0 0-16a8 8 0 0 0 0 16zm-4-7h8a4 4 0 1 1-8 0zm0-2a1.5 1.5 0 1 1 0-3a1.5 1.5 0 0 1 0 3zm8 0a1.5 1.5 0 1 1 0-3a1.5 1.5 0 0 1 0 3z"},null,-1)];function am(n,e){return c.openBlock(),c.createElementBlock("svg",om,lm)}var hm={name:"ri-emotion-line",render:am};const cm={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"},fm=[c.createElementVNode("path",{fill:"currentColor",d:"M11 20L1 12l10-8v5c5.523 0 10 4.477 10 10c0 .273-.01.543-.032.81a9.003 9.003 0 0 0-7.655-4.805L13 15h-2v5zm-2-7h4.034l.347.007c1.285.043 2.524.31 3.676.766A7.984 7.984 0 0 0 11 11H9V8.161L4.202 12L9 15.839V13z"},null,-1)];function dm(n,e){return c.openBlock(),c.createElementBlock("svg",cm,fm)}var um={name:"ri-reply-line",render:dm};const Om={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"},pm=[c.createElementVNode("path",{fill:"currentColor",d:"M10 6v2H5v11h11v-5h2v6a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V7a1 1 0 0 1 1-1h6zm11-3v8h-2V6.413l-7.793 7.794l-1.414-1.414L17.585 5H13V3h8z"},null,-1)];function mm(n,e){return c.openBlock(),c.createElementBlock("svg",Om,pm)}var gm={name:"ri-external-link-line",render:mm};const ym={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"},Qm=[c.createElementVNode("path",{fill:"currentColor",d:"M5.463 4.433A9.961 9.961 0 0 1 12 2c5.523 0 10 4.477 10 10c0 2.136-.67 4.116-1.81 5.74L17 12h3A8 8 0 0 0 6.46 6.228l-.997-1.795zm13.074 15.134A9.961 9.961 0 0 1 12 22C6.477 22 2 17.523 2 12c0-2.136.67-4.116 1.81-5.74L7 12H4a8 8 0 0 0 13.54 5.772l.997 1.795z"},null,-1)];function Sm(n,e){return c.openBlock(),c.createElementBlock("svg",ym,Qm)}var wm={name:"ri-refresh-line",render:Sm};const bm={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"},xm=[c.createElementVNode("path",{fill:"currentColor",d:"M3 3h18a1 1 0 0 1 1 1v16a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1zm17 8H4v8h16v-8zm0-2V5H4v4h16zM9 6h2v2H9V6zM5 6h2v2H5V6z"},null,-1)];function $m(n,e){return c.openBlock(),c.createElementBlock("svg",bm,xm)}var km={name:"ri-window-line",render:$m};const Tm={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"},Cm=[c.createElementVNode("path",{fill:"currentColor",d:"M1.946 9.315c-.522-.174-.527-.455.01-.634l19.087-6.362c.529-.176.832.12.684.638l-5.454 19.086c-.15.529-.455.547-.679.045L12 14l6-8l-8 6l-8.054-2.685z"},null,-1)];function Pm(n,e){return c.openBlock(),c.createElementBlock("svg",Tm,Cm)}var vm={name:"ri-send-plane-fill",render:Pm};const Mm={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"},_m=[c.createElementVNode("path",{fill:"currentColor",d:"M5 13c0-5.088 2.903-9.436 7-11.182C16.097 3.564 19 7.912 19 13c0 .823-.076 1.626-.22 2.403l1.94 1.832a.5.5 0 0 1 .095.603l-2.495 4.575a.5.5 0 0 1-.793.114l-2.234-2.234a1 1 0 0 0-.707-.293H9.414a1 1 0 0 0-.707.293l-2.234 2.234a.5.5 0 0 1-.793-.114l-2.495-4.575a.5.5 0 0 1 .095-.603l1.94-1.832C5.077 14.626 5 13.823 5 13zm1.476 6.696l.817-.817A3 3 0 0 1 9.414 18h5.172a3 3 0 0 1 2.121.879l.817.817l.982-1.8l-1.1-1.04a2 2 0 0 1-.593-1.82c.124-.664.187-1.345.187-2.036c0-3.87-1.995-7.3-5-8.96C8.995 5.7 7 9.13 7 13c0 .691.063 1.372.187 2.037a2 2 0 0 1-.593 1.82l-1.1 1.039l.982 1.8zM12 13a2 2 0 1 1 0-4a2 2 0 0 1 0 4z"},null,-1)];function Am(n,e){return c.openBlock(),c.createElementBlock("svg",Mm,_m)}var Rm={name:"ri-rocket-line",render:Am};const Dm={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"},Lm=[c.createElementVNode("path",{fill:"currentColor",d:"M12 2c5.52 0 10 4.48 10 10s-4.48 10-10 10S2 17.52 2 12S6.48 2 12 2zm0 18c4.42 0 8-3.58 8-8s-3.58-8-8-8s-8 3.58-8 8s3.58 8 8 8zm1-8v4h-2v-4H8l4-4l4 4h-3z"},null,-1)];function jm(n,e){return c.openBlock(),c.createElementBlock("svg",Dm,Lm)}var Im={name:"ri-arrow-up-circle-line",render:jm};const zm={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"},Nm=[c.createElementVNode("path",{fill:"currentColor",d:"M12 2c5.52 0 10 4.48 10 10s-4.48 10-10 10S2 17.52 2 12S6.48 2 12 2zm0 18c4.42 0 8-3.58 8-8s-3.58-8-8-8s-8 3.58-8 8s3.58 8 8 8zm1-8h3l-4 4l-4-4h3V8h2v4z"},null,-1)];function Em(n,e){return c.openBlock(),c.createElementBlock("svg",zm,Nm)}var Vm={name:"ri-arrow-down-circle-line",render:Em};const Bm={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"},Wm=[c.createElementVNode("path",{fill:"currentColor",d:"M3 3h18a1 1 0 0 1 1 1v16a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1zm1 2v14h16V5H4zm8 10h6v2h-6v-2zm-3.333-3L5.838 9.172l1.415-1.415L11.495 12l-4.242 4.243l-1.415-1.415L8.667 12z"},null,-1)];function Xm(n,e){return c.openBlock(),c.createElementBlock("svg",Bm,Wm)}var Zm={name:"ri-terminal-box-line",render:Xm};const qm={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"},Gm=[c.createElementVNode("path",{fill:"currentColor",d:"M7 4V2h10v2h3.007c.548 0 .993.445.993.993v16.014a.994.994 0 0 1-.993.993H3.993A.994.994 0 0 1 3 21.007V4.993C3 4.445 3.445 4 3.993 4H7zm0 2H5v14h14V6h-2v2H7V6zm2-2v2h6V4H9z"},null,-1)];function Um(n,e){return c.openBlock(),c.createElementBlock("svg",qm,Gm)}var Ym={name:"ri-clipboard-line",render:Um};const Fm={key:0,class:"avatar-fallback"},Hm={key:0,class:"avatar-loading",fill:"none",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Km=[c.createElementVNode("circle",{class:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor","stroke-width":"4"},null,-1),c.createElementVNode("path",{class:"opacity-75",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z",fill:"currentColor"},null,-1)],Jm={key:1,class:"avatar-placeholder"},eg=["src","alt"];var tg=c.defineComponent({__name:"Avatar",props:{src:{default:void 0},alt:{default:void 0},size:{default:"md"},width:{default:void 0},height:{default:void 0},circle:{type:Boolean,default:!1}},setup(n){const e=n,t=c.ref(!1),i=c.ref(!1),s=async()=>{if(!e.src)return Promise.reject();const a=new Image;return a.src=e.src,new Promise((h,f)=>{a.onload=()=>h(a),a.onerror=d=>f(d)})};c.onMounted(async()=>{if(!e.src){i.value=!0;return}t.value=!0;try{await s()}catch{i.value=!0}finally{t.value=!1}});const r=c.computed(()=>{const a=[`avatar-${e.circle?"circle":"square"}`];return e.size&&a.push(`avatar-${e.size}`),a}),o=c.computed(()=>{const a={};return e.width&&(a.width=e.width),e.height&&(a.height=e.height),a}),l=c.computed(()=>{if(!e.alt)return;const a=e.alt.split(" ");if(a.length===1)return a[0].charAt(0).toUpperCase();if(a.length>1)return a[0].charAt(0).toUpperCase()+a[1].charAt(0).toUpperCase()});return(a,h)=>(c.openBlock(),c.createElementBlock("div",{class:c.normalizeClass(["avatar-wrapper",c.unref(r)]),style:c.normalizeStyle(c.unref(o))},[t.value||i.value?(c.openBlock(),c.createElementBlock("div",Fm,[t.value?(c.openBlock(),c.createElementBlock("svg",Hm,Km)):c.unref(l)?(c.openBlock(),c.createElementBlock("span",Jm,c.toDisplayString(c.unref(l)),1)):(c.openBlock(),c.createBlock(c.unref(mi),{key:2,class:"avatar-error"}))])):(c.openBlock(),c.createElementBlock("img",{key:1,src:n.src,alt:n.alt},null,8,eg))],6))}}),nT="";const ig={class:"alert-header"},ng={class:"alert-icon"},sg={class:"alert-title"},rg={key:0,class:"alert-description"},og={key:1,class:"alert-actions"};var lg=c.defineComponent({__name:"Alert",props:{type:{default:"default"},title:{default:""},description:{default:""},closable:{type:Boolean,default:!0}},emits:["close"],setup(n,{emit:e}){const t=n,i={success:rn,info:gi,default:gi,warning:mi,error:Yo},s=c.computed(()=>[`alert-${t.type}`]),r=()=>{e("close")};return(o,l)=>(c.openBlock(),c.createElementBlock("div",{class:c.normalizeClass([c.unref(s),"alert-wrapper"])},[c.createElementVNode("div",ig,[c.createElementVNode("div",ng,[c.renderSlot(o.$slots,"icon",{},()=>[(c.openBlock(),c.createBlock(c.resolveDynamicComponent(i[n.type])))],!0)]),c.createElementVNode("div",sg,c.toDisplayString(n.title),1),n.closable?(c.openBlock(),c.createElementBlock("div",{key:0,class:"alert-close",onClick:r},[c.createVNode(c.unref(pi))])):c.createCommentVNode("",!0)]),n.description||o.$slots.description?(c.openBlock(),c.createElementBlock("div",rg,[c.renderSlot(o.$slots,"description",{},()=>[c.createTextVNode(c.toDisplayString(n.description),1)],!0)])):c.createCommentVNode("",!0),o.$slots.actions?(c.openBlock(),c.createElementBlock("div",og,[c.renderSlot(o.$slots,"actions",{},void 0,!0)])):c.createCommentVNode("",!0)],2))}}),sT="",Ds=(n,e)=>{const t=n.__vccOpts||n;for(const[i,s]of e)t[i]=s;return t},ag=Ds(lg,[["__scopeId","data-v-dfa24a7f"]]);const hg=["disabled"],cg={key:0,class:"btn-icon"},fg={key:0,class:"animate-spin",fill:"none",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},dg=[c.createElementVNode("circle",{class:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor","stroke-width":"4"},null,-1),c.createElementVNode("path",{class:"opacity-75",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z",fill:"currentColor"},null,-1)],ug={class:"btn-content"};var Ls=c.defineComponent({__name:"Button",props:{type:{default:"default"},size:{default:"md"},circle:{type:Boolean,default:!1},block:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},route:{default:void 0}},emits:["click"],setup(n,{emit:e}){const t=n,i=Rd.useRouter(),s=c.computed(()=>[`btn-${t.size}`,`btn-${t.type}`,{"btn-circle":t.circle},{"btn-block":t.block},{"btn-loading":t.loading}]);function r(){t.disabled||t.loading||(t.route&&i.push(t.route),e("click"))}return(o,l)=>(c.openBlock(),c.createElementBlock("button",{class:c.normalizeClass([c.unref(s),"btn"]),disabled:n.disabled,type:"button",onClick:r},[o.$slots.icon||n.loading?(c.openBlock(),c.createElementBlock("span",cg,[n.loading?(c.openBlock(),c.createElementBlock("svg",fg,dg)):c.renderSlot(o.$slots,"icon",{key:1})])):c.createCommentVNode("",!0),c.createElementVNode("span",ug,[c.renderSlot(o.$slots,"default")])],10,hg))}}),lT="";const Og={class:"card-wrapper"},pg={key:0,class:"card-header"},mg={class:"card-header-title"},gg={class:"card-header-actions"},yg={key:1,class:"card-footer"};var Qg=c.defineComponent({__name:"Card",props:{title:null,bodyClass:null},setup(n){return(e,t)=>(c.openBlock(),c.createElementBlock("div",Og,[n.title||e.$slots.header?(c.openBlock(),c.createElementBlock("div",pg,[c.renderSlot(e.$slots,"header",{},()=>[c.createElementVNode("div",mg,c.toDisplayString(n.title),1),c.createElementVNode("div",gg,[c.renderSlot(e.$slots,"actions")])])])):c.createCommentVNode("",!0),c.createElementVNode("div",{class:c.normalizeClass([n.bodyClass,"card-body"])},[c.renderSlot(e.$slots,"default")],2),e.$slots.footer?(c.openBlock(),c.createElementBlock("div",yg,[c.renderSlot(e.$slots,"footer")])):c.createCommentVNode("",!0)]))}}),aT="";const Sg={class:"flex items-center justify-between bg-white p-4 h-14"},wg={class:"min-w-0 flex-1 self-center"},bg={class:"flex items-center truncate text-xl font-bold text-gray-800"},xg={class:"self-center"};var $g=c.defineComponent({__name:"PageHeader",props:{title:null},setup(n){return(e,t)=>(c.openBlock(),c.createElementBlock("div",Sg,[c.createElementVNode("div",wg,[c.createElementVNode("h2",bg,[c.renderSlot(e.$slots,"icon"),c.createElementVNode("span",null,c.toDisplayString(n.title),1)])]),c.createElementVNode("div",xg,[c.renderSlot(e.$slots,"actions")])]))}});const kg={class:"menu-container w-full p-3"};var Tg=c.defineComponent({__name:"Menu",props:{openIds:null},setup(n){const e=n;return c.provide("openIds",e.openIds),(t,i)=>(c.openBlock(),c.createElementBlock("div",kg,[c.createElementVNode("ul",null,[c.renderSlot(t.$slots,"default")])]))}});const Cg=["onClick"],Pg={key:0,class:"menu-icon mr-3 self-center"},vg={class:"menu-title flex-1 self-center"},Mg={class:"sub-menu-items transition-all"};var _g=c.defineComponent({__name:"MenuItem",props:{id:{default:""},title:{default:""},active:{type:Boolean,default:!1}},emits:["select"],setup(n,{emit:e}){const t=n,i=c.useSlots(),s=c.ref(!1),r=c.inject("openIds");r!=null&&r.includes(t.id)&&(s.value=!0);const o=c.computed(()=>i.default&&i.default().length>0);function l(){if(o.value){s.value=!s.value;return}e("select",t.id)}return(a,h)=>(c.openBlock(),c.createElementBlock("li",{class:c.normalizeClass([{"has-submenus":c.unref(o)},"menu-item"]),onClick:c.withModifiers(l,["stop"])},[c.createElementVNode("div",{class:c.normalizeClass([{active:n.active},"menu-item-title"])},[a.$slots.icon?(c.openBlock(),c.createElementBlock("span",Pg,[c.renderSlot(a.$slots,"icon")])):c.createCommentVNode("",!0),c.createElementVNode("span",vg,c.toDisplayString(n.title),1),a.$slots.default?(c.openBlock(),c.createElementBlock("span",{key:1,class:c.normalizeClass([{open:s.value},"menu-icon-collapse self-center transition-all"])},[c.createVNode(c.unref(sn))],2)):c.createCommentVNode("",!0)],2),c.createVNode(c.Transition,{name:"submenus-show"},{default:c.withCtx(()=>[c.withDirectives(c.createElementVNode("ul",Mg,[c.renderSlot(a.$slots,"default")],512),[[c.vShow,a.$slots.default&&s.value]])]),_:3})],10,Cg))}}),hT="",cT="";const Ag={},Rg={class:"menu-label flex flex-col"};function Dg(n,e){return c.openBlock(),c.createElementBlock("li",Rg,[c.renderSlot(n.$slots,"default")])}var Lg=Ds(Ag,[["render",Dg]]);const jg={key:0,class:"modal-header group"},Ig={class:"modal-header-title"},zg={key:0,class:"modal-header-center"},Ng={class:"modal-header-actions"},Eg={key:1,class:"modal-footer"};var Fo=c.defineComponent({__name:"Modal",props:{visible:{type:Boolean,default:!1},title:{default:void 0},width:{default:500},height:{default:void 0},fullscreen:{type:Boolean,default:!1},bodyClass:{default:void 0},mountToBody:{type:Boolean,default:!1},centered:{type:Boolean,default:!0},layerClosable:{type:Boolean,default:!1}},emits:["update:visible","close"],setup(n,{emit:e}){const t=n,i=c.ref(!1),s=c.ref(),r=c.computed(()=>({"modal-wrapper-fullscreen":t.fullscreen,"modal-wrapper-centered":t.centered})),o=c.computed(()=>({maxWidth:t.width+"px",height:t.height}));function l(){e("update:visible",!1),e("close")}const a=c.ref(!1);function h(){if(t.layerClosable){l();return}a.value=!0,setTimeout(()=>{a.value=!1},300)}return c.watch(()=>t.visible,()=>{t.visible&&c.nextTick(()=>{var f;(f=s.value)==null||f.focus()})}),(f,d)=>(c.openBlock(),c.createBlock(c.Teleport,{disabled:!n.mountToBody,to:"body"},[c.withDirectives(c.createElementVNode("div",{ref_key:"modelWrapper",ref:s,class:c.normalizeClass([c.unref(r),"modal-wrapper"]),"aria-modal":"true",role:"dialog",tabindex:"0",onKeyup:d[4]||(d[4]=c.withKeys(c.withModifiers(u=>l(),["stop"]),["esc"]))},[c.createVNode(c.Transition,{"enter-active-class":"ease-out duration-200","enter-from-class":"opacity-0","enter-to-class":"opacity-100","leave-active-class":"ease-in duration-100","leave-from-class":"opacity-100","leave-to-class":"opacity-0",onBeforeEnter:d[1]||(d[1]=u=>i.value=!0),onAfterLeave:d[2]||(d[2]=u=>i.value=!1)},{default:c.withCtx(()=>[c.withDirectives(c.createElementVNode("div",{class:"modal-layer",onClick:d[0]||(d[0]=c.withModifiers(u=>h(),["stop"]))},null,512),[[c.vShow,n.visible]])]),_:1}),c.createVNode(c.Transition,{"enter-active-class":"ease-out duration-200","enter-from-class":"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95","enter-to-class":"opacity-100 translate-y-0 sm:scale-100","leave-active-class":"ease-in duration-100","leave-from-class":"opacity-100 translate-y-0 sm:scale-100","leave-to-class":"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95"},{default:c.withCtx(()=>[c.withDirectives(c.createElementVNode("div",{style:c.normalizeStyle(c.unref(o)),class:c.normalizeClass(["modal-content transform transition-all duration-300",{"modal-focus":a.value}])},[f.$slots.header||n.title?(c.openBlock(),c.createElementBlock("div",jg,[c.renderSlot(f.$slots,"header",{},()=>[c.createElementVNode("div",Ig,c.toDisplayString(n.title),1),f.$slots.center?(c.openBlock(),c.createElementBlock("div",zg,[c.renderSlot(f.$slots,"center")])):c.createCommentVNode("",!0),c.createElementVNode("div",Ng,[c.renderSlot(f.$slots,"actions"),c.createElementVNode("span",{class:"bg-gray-50",onClick:d[3]||(d[3]=u=>l())},[c.createVNode(c.unref(pi))])])])])):c.createCommentVNode("",!0),c.createElementVNode("div",{class:c.normalizeClass([n.bodyClass,"modal-body"])},[c.renderSlot(f.$slots,"default")],2),f.$slots.footer?(c.openBlock(),c.createElementBlock("div",Eg,[c.renderSlot(f.$slots,"footer")])):c.createCommentVNode("",!0)],6),[[c.vShow,n.visible]])]),_:3})],34),[[c.vShow,i.value]])],8,["disabled"]))}}),fT="";const Vg={xs:10,sm:12,md:16,lg:20};var Ho=c.defineComponent({__name:"Space",props:{spacing:{default:"xs"},direction:{default:"row"},align:{default:"center"}},setup(n){const e=n,t=c.computed(()=>{const{direction:i,align:s}=e;return[`space-direction-${i}`,`space-align-${s}`]});return(i,s)=>(c.openBlock(),c.createElementBlock("div",{class:c.normalizeClass([c.unref(t),"space-wrapper"]),style:c.normalizeStyle(`gap: ${c.unref(Vg)[n.spacing]}px`)},[c.renderSlot(i.$slots,"default")],6))}}),dT="";const Bg={class:"tabs-bar-wrapper"},Wg={class:"tabs-items-wrapper"};var Xg=c.defineComponent({__name:"Tabs",props:{activeId:{default:void 0},type:{default:"default"},direction:{default:"row"},idKey:{default:"id"},labelKey:{default:"label"}},emits:["update:activeId","change"],setup(n,{emit:e}){const t=n;c.provide("activeId",c.computed(()=>t.activeId));const i=c.useSlots(),s=c.computed(()=>{var l;return(l=i.default)==null?void 0:l.call(i).map(({props:a})=>({id:a==null?void 0:a[t.idKey],label:a==null?void 0:a[t.labelKey]}))}),r=c.computed(()=>[`tabs-direction-${t.direction}`]),o=l=>{e("update:activeId",l),e("change",l)};return(l,a)=>(c.openBlock(),c.createElementBlock("div",{class:c.normalizeClass([c.unref(r),"tabs-wrapper"])},[c.createElementVNode("div",Bg,[c.createVNode(c.unref(Ko),{"active-id":n.activeId,direction:n.direction,items:c.unref(s),type:n.type,onChange:o},null,8,["active-id","direction","items","type"])]),c.createElementVNode("div",Wg,[c.renderSlot(l.$slots,"default")])],2))}}),uT="";const Zg={key:0,class:"tabs-item-wrapper"};var qg=c.defineComponent({__name:"TabItem",props:{id:null,label:null},setup(n){const e=n,t=c.inject("activeId"),i=c.computed(()=>(t==null?void 0:t.value)===e.id);return(s,r)=>c.unref(i)?(c.openBlock(),c.createElementBlock("div",Zg,[c.renderSlot(s.$slots,"default")])):c.createCommentVNode("",!0)}});const Gg={class:"tabbar-items"},Ug=["onClick"],Yg={key:0,class:"tabbar-item-icon"},Fg={key:1,class:"tabbar-item-label"};var Ko=c.defineComponent({__name:"Tabbar",props:{activeId:{default:void 0},items:{default:void 0},type:{default:"default"},direction:{default:"row"},idKey:{default:"id"},labelKey:{default:"label"}},emits:["update:activeId","change"],setup(n,{emit:e}){const t=n,i=c.computed(()=>[`tabbar-${t.type}`,`tabbar-direction-${t.direction}`]),s=r=>{e("update:activeId",r),e("change",r)};return(r,o)=>(c.openBlock(),c.createElementBlock("div",{class:c.normalizeClass([c.unref(i),"tabbar-wrapper"])},[c.createElementVNode("div",Gg,[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(n.items,(l,a)=>(c.openBlock(),c.createElementBlock("div",{key:a,class:c.normalizeClass([{"tabbar-item-active":l[n.idKey]===n.activeId},"tabbar-item"]),onClick:h=>s(l[n.idKey])},[l.icon?(c.openBlock(),c.createElementBlock("div",Yg,[(c.openBlock(),c.createBlock(c.resolveDynamicComponent(l.icon)))])):c.createCommentVNode("",!0),l[n.labelKey]?(c.openBlock(),c.createElementBlock("div",Fg,c.toDisplayString(l[n.labelKey]),1)):c.createCommentVNode("",!0)],10,Ug))),128))])],2))}}),OT="";const Hg={key:0,class:"tag-left-icon"},Kg={class:"tag-content"},Jg={key:1,class:"tag-right-icon"};var e1=c.defineComponent({__name:"Tag",props:{theme:{default:"default"},rounded:{type:Boolean,default:!1},styles:{default:()=>({})}},setup(n){const e=n,t=c.computed(()=>[`tag-${e.theme}`,{"tag-rounded":e.rounded}]);return(i,s)=>(c.openBlock(),c.createElementBlock("div",{class:c.normalizeClass([c.unref(t),"tag-wrapper"]),style:c.normalizeStyle(n.styles)},[i.$slots.leftIcon?(c.openBlock(),c.createElementBlock("div",Hg,[c.renderSlot(i.$slots,"leftIcon")])):c.createCommentVNode("",!0),c.createElementVNode("span",Kg,[c.renderSlot(i.$slots,"default")]),i.$slots.rightIcon?(c.openBlock(),c.createElementBlock("div",Jg,[c.renderSlot(i.$slots,"rightIcon")])):c.createCommentVNode("",!0)],6))}}),pT="";const t1={class:"switch-wrapper"};var i1=c.defineComponent({__name:"Switch",props:{modelValue:{type:Boolean,default:!1}},emits:["update:modelValue","change"],setup(n,{emit:e}){const t=n,i=()=>{e("update:modelValue",!t.modelValue),e("change",!t.modelValue)};return(s,r)=>(c.openBlock(),c.createElementBlock("div",t1,[c.createElementVNode("button",{class:c.normalizeClass([{"bg-gray-200":!n.modelValue,"!bg-primary":n.modelValue},"switch-inner"]),"aria-checked":"false",role:"switch",type:"button",onClick:i},[c.createElementVNode("span",{class:c.normalizeClass([{"translate-x-0":!n.modelValue,"translate-x-5":n.modelValue},"switch-indicator"]),"aria-hidden":"true"},[c.renderSlot(s.$slots,"icon")],2)],2)]))}}),mT="";const n1={class:"flex justify-between items-start py-2 mb-2"},s1={class:"flex flex-row items-center gap-3"},r1={class:"text-base text-gray-900 font-bold"},o1={class:"flex items-center gap-4"},l1={class:"flex-1 flex items-stretch"},a1={class:"text-sm text-gray-700"},h1={class:"flex flex-col sm:flex-row gap-[10px]"};var Jo=c.defineComponent({__name:"Dialog",props:{type:{default:"info"},title:{default:"提示"},description:{default:""},confirmText:{default:"确定"},confirmType:{default:"primary"},cancelText:{default:"取消"},visible:{type:Boolean,default:!1},onConfirm:{type:Function,default:()=>{}},onCancel:{type:Function,default:()=>{}}},emits:["update:visible","close"],setup(n,{emit:e}){const t=n,i={success:{icon:rn,color:"green"},info:{icon:gi,color:"blue"},warning:{icon:mi,color:"orange"},error:{icon:Rs,color:"red"}},s=c.computed(()=>i[t.type]),r=c.ref(!1),o=()=>{t.onCancel&&t.onCancel(),a()},l=async()=>{t.onConfirm&&(r.value=!0,await t.onConfirm()),a()},a=()=>{r.value=!1,e("update:visible",!1),e("close")};return(h,f)=>(c.openBlock(),c.createBlock(c.unref(Fo),{visible:n.visible,width:450,"layer-closable":!0,onClose:f[0]||(f[0]=d=>o())},{footer:c.withCtx(()=>[c.createElementVNode("div",h1,[c.createVNode(c.unref(Ls),{loading:r.value,type:n.confirmType,onClick:l},{default:c.withCtx(()=>[c.createTextVNode(c.toDisplayString(n.confirmText),1)]),_:1},8,["loading","type"]),c.createVNode(c.unref(Ls),{onClick:o},{default:c.withCtx(()=>[c.createTextVNode(c.toDisplayString(n.cancelText),1)]),_:1})])]),default:c.withCtx(()=>[c.createElementVNode("div",n1,[c.createElementVNode("div",s1,[(c.openBlock(),c.createBlock(c.resolveDynamicComponent(c.unref(s).icon),{class:c.normalizeClass([`text-${c.unref(s).color}-500`,"w-6 h-6"])},null,8,["class"])),c.createElementVNode("div",r1,c.toDisplayString(n.title),1)]),c.createElementVNode("div",null,[c.createVNode(c.unref(pi),{class:"cursor-pointer",onClick:o})])]),c.createElementVNode("div",o1,[c.createElementVNode("div",l1,[c.createElementVNode("div",a1,c.toDisplayString(n.description),1)])])]),_:1},8,["visible"]))}});const c1={title:"",visible:!1},st=n=>{var r;const e={...c1,...n};let t=document.body.querySelector(".dialog-container");t||(t=document.createElement("div"),t.className="dialog-container",document.body.appendChild(t));const{vnode:i,container:s}=f1(Jo,e);s.firstElementChild&&t.appendChild(s.firstElementChild),(r=i.component)!=null&&r.props&&(i.component.props.visible=!0),i!=null&&i.props&&(i.props.onClose=()=>{t==null||t.remove(),c.render(null,s)})};function f1(n,e){const t=c.createVNode(n,e),i=document.createElement("div");return c.render(t,i),{vnode:t,container:i}}st.success=n=>st({...n,type:"success"}),st.info=n=>st({...n,type:"info"}),st.warning=n=>st({...n,type:"warning"}),st.error=n=>st({...n,type:"error"});const d1={class:"bg-white flex items-center justify-between"},u1={class:"flex-1 flex justify-between sm:!hidden items-center"},O1={class:"text-sm text-gray-500"},p1={class:"hidden sm:flex-1 sm:flex sm:items-center items-center gap-2"},m1={"aria-label":"Pagination",class:"relative z-0 inline-flex rounded-base shadow-sm -space-x-px"},g1=["disabled"],y1=["disabled"],Q1={class:"inline-flex items-center gap-2"},S1=["disabled"],w1={key:0,value:0},b1=["value"],x1=c.createElementVNode("span",{class:"text-sm text-gray-500"},"页",-1),$1={class:"inline-flex items-center gap-2"},k1=["value"],T1=c.createElementVNode("span",{class:"text-sm text-gray-500"},"条 / 页",-1);var C1=c.defineComponent({__name:"Pagination",props:{page:{default:1},size:{default:10},total:{default:0},sizeOptions:{default:()=>[10]}},emits:["update:page","update:size","change"],setup(n,{emit:e}){const t=n,i=c.ref(t.page),s=c.ref(t.size),r=c.ref(t.total);c.watch([()=>t.page,()=>t.size,()=>t.total],()=>{i.value=t.page,s.value=t.size,r.value=t.total});const o=({currentPage:p,currentPageSize:y})=>{e("update:page",p),e("update:size",y),e("change",{page:p,size:y})},{currentPage:l,currentPageSize:a,pageCount:h,isFirstPage:f,isLastPage:d,prev:u,next:O}=Dd.useOffsetPagination({total:r,page:i,pageSize:s,onPageChange:o,onPageSizeChange:o});return(p,y)=>(c.openBlock(),c.createElementBlock("div",d1,[c.createElementVNode("div",u1,[c.createElementVNode("span",{class:"relative inline-flex items-center px-4 py-2 border border-gray-300 text-sm font-medium rounded-md text-gray-700 bg-white hover:bg-gray-50 cursor-pointer",onClick:y[0]||(y[0]=(...g)=>c.unref(u)&&c.unref(u)(...g))},[c.createVNode(c.unref(As))]),c.createElementVNode("span",O1,c.toDisplayString(c.unref(l))+" / "+c.toDisplayString(c.unref(h)),1),c.createElementVNode("span",{class:"ml-3 relative inline-flex items-center px-4 py-2 border border-gray-300 text-sm font-medium rounded-md text-gray-700 bg-white hover:bg-gray-50 cursor-pointer",onClick:y[1]||(y[1]=(...g)=>c.unref(O)&&c.unref(O)(...g))},[c.createVNode(c.unref(sn))])]),c.createElementVNode("div",p1,[c.createElementVNode("nav",m1,[c.createElementVNode("button",{class:"relative h-8 outline-none inline-flex items-center px-2 py-1.5 rounded-l-base border border-gray-300 bg-white text-sm font-medium text-gray-500 hover:bg-gray-50 cursor-pointer disabled:cursor-not-allowed",disabled:c.unref(f),onClick:y[2]||(y[2]=(...g)=>c.unref(u)&&c.unref(u)(...g))},[c.createVNode(c.unref(As))],8,g1),c.createElementVNode("button",{class:"relative h-8 outline-none inline-flex items-center px-2 py-1.5 rounded-r-base border border-gray-300 bg-white text-sm font-medium text-gray-500 hover:bg-gray-50 cursor-pointer disabled:cursor-not-allowed",disabled:c.unref(d),onClick:y[3]||(y[3]=(...g)=>c.unref(O)&&c.unref(O)(...g))},[c.createVNode(c.unref(sn))],8,y1)]),c.createElementVNode("div",Q1,[c.withDirectives(c.createElementVNode("select",{"onUpdate:modelValue":y[4]||(y[4]=g=>c.isRef(l)?l.value=g:null),disabled:c.unref(h)===0,class:"h-8 border outline-none rounded-base px-2 text-gray-800 text-sm border-gray-300"},[c.unref(h)===0?(c.openBlock(),c.createElementBlock("option",w1,"0 / 0")):c.createCommentVNode("",!0),(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(c.unref(h),g=>(c.openBlock(),c.createElementBlock("option",{key:g,value:g},c.toDisplayString(g)+" / "+c.toDisplayString(c.unref(h)),9,b1))),128))],8,S1),[[c.vModelSelect,c.unref(l)]]),x1]),c.createElementVNode("div",$1,[c.withDirectives(c.createElementVNode("select",{"onUpdate:modelValue":y[5]||(y[5]=g=>c.isRef(a)?a.value=g:null),class:"h-8 border outline-none rounded-base px-2 text-gray-800 text-sm border-gray-300"},[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(n.sizeOptions,(g,Q)=>(c.openBlock(),c.createElementBlock("option",{key:Q,value:g},c.toDisplayString(g),9,k1))),128))],512),[[c.vModelSelect,c.unref(a)]]),T1])])]))}});class z{constructor(){}lineAt(e){if(e<0||e>this.length)throw new RangeError(`Invalid position ${e} in document of length ${this.length}`);return this.lineInner(e,!1,1,0)}line(e){if(e<1||e>this.lines)throw new RangeError(`Invalid line number ${e} in ${this.lines}-line document`);return this.lineInner(e,!0,1,0)}replace(e,t,i){let s=[];return this.decompose(0,e,s,2),i.length&&i.decompose(0,i.length,s,3),this.decompose(t,this.length,s,1),Xe.from(s,this.length-(t-e)+i.length)}append(e){return this.replace(this.length,this.length,e)}slice(e,t=this.length){let i=[];return this.decompose(e,t,i,0),Xe.from(i,t-e)}eq(e){if(e==this)return!0;if(e.length!=this.length||e.lines!=this.lines)return!1;let t=this.scanIdentical(e,1),i=this.length-this.scanIdentical(e,-1),s=new yi(this),r=new yi(e);for(let o=t,l=t;;){if(s.next(o),r.next(o),o=0,s.lineBreak!=r.lineBreak||s.done!=r.done||s.value!=r.value)return!1;if(l+=s.value.length,s.done||l>=i)return!0}}iter(e=1){return new yi(this,e)}iterRange(e,t=this.length){return new tl(this,e,t)}iterLines(e,t){let i;if(e==null)i=this.iter();else{t==null&&(t=this.lines+1);let s=this.line(e).from;i=this.iterRange(s,Math.max(s,t==this.lines+1?this.length:t<=1?0:this.line(t-1).to))}return new il(i)}toString(){return this.sliceString(0)}toJSON(){let e=[];return this.flatten(e),e}static of(e){if(e.length==0)throw new RangeError("A document must have at least one line");return e.length==1&&!e[0]?z.empty:e.length<=32?new ee(e):Xe.from(ee.split(e,[]))}}class ee extends z{constructor(e,t=P1(e)){super(),this.text=e,this.length=t}get lines(){return this.text.length}get children(){return null}lineInner(e,t,i,s){for(let r=0;;r++){let o=this.text[r],l=s+o.length;if((t?i:l)>=e)return new v1(s,l,i,o);s=l+1,i++}}decompose(e,t,i,s){let r=e<=0&&t>=this.length?this:new ee(el(this.text,e,t),Math.min(t,this.length)-Math.max(0,e));if(s&1){let o=i.pop(),l=on(r.text,o.text.slice(),0,r.length);if(l.length<=32)i.push(new ee(l,o.length+r.length));else{let a=l.length>>1;i.push(new ee(l.slice(0,a)),new ee(l.slice(a)))}}else i.push(r)}replace(e,t,i){if(!(i instanceof ee))return super.replace(e,t,i);let s=on(this.text,on(i.text,el(this.text,0,e)),t),r=this.length+i.length-(t-e);return s.length<=32?new ee(s,r):Xe.from(ee.split(s,[]),r)}sliceString(e,t=this.length,i=`
2
2
  `){let s="";for(let r=0,o=0;r<=t&&o<this.text.length;o++){let l=this.text[o],a=r+l.length;r>e&&o&&(s+=i),e<a&&t>r&&(s+=l.slice(Math.max(0,e-r),t-r)),r=a+1}return s}flatten(e){for(let t of this.text)e.push(t)}scanIdentical(){return 0}static split(e,t){let i=[],s=-1;for(let r of e)i.push(r),s+=r.length+1,i.length==32&&(t.push(new ee(i,s)),i=[],s=-1);return s>-1&&t.push(new ee(i,s)),t}}class Xe extends z{constructor(e,t){super(),this.children=e,this.length=t,this.lines=0;for(let i of e)this.lines+=i.lines}lineInner(e,t,i,s){for(let r=0;;r++){let o=this.children[r],l=s+o.length,a=i+o.lines-1;if((t?a:l)>=e)return o.lineInner(e,t,i,s);s=l+1,i=a+1}}decompose(e,t,i,s){for(let r=0,o=0;o<=t&&r<this.children.length;r++){let l=this.children[r],a=o+l.length;if(e<=a&&t>=o){let h=s&((o<=e?1:0)|(a>=t?2:0));o>=e&&a<=t&&!h?i.push(l):l.decompose(e-o,t-o,i,h)}o=a+1}}replace(e,t,i){if(i.lines<this.lines)for(let s=0,r=0;s<this.children.length;s++){let o=this.children[s],l=r+o.length;if(e>=r&&t<=l){let a=o.replace(e-r,t-r,i),h=this.lines-o.lines+a.lines;if(a.lines<h>>4&&a.lines>h>>6){let f=this.children.slice();return f[s]=a,new Xe(f,this.length-(t-e)+i.length)}return super.replace(r,l,a)}r=l+1}return super.replace(e,t,i)}sliceString(e,t=this.length,i=`
3
3
  `){let s="";for(let r=0,o=0;r<this.children.length&&o<=t;r++){let l=this.children[r],a=o+l.length;o>e&&r&&(s+=i),e<a&&t>o&&(s+=l.sliceString(e-o,t-o,i)),o=a+1}return s}flatten(e){for(let t of this.children)t.flatten(e)}scanIdentical(e,t){if(!(e instanceof Xe))return 0;let i=0,[s,r,o,l]=t>0?[0,0,this.children.length,e.children.length]:[this.children.length-1,e.children.length-1,-1,-1];for(;;s+=t,r+=t){if(s==o||r==l)return i;let a=this.children[s],h=e.children[r];if(a!=h)return i+a.scanIdentical(h,t);i+=a.length+1}}static from(e,t=e.reduce((i,s)=>i+s.length+1,-1)){let i=0;for(let O of e)i+=O.lines;if(i<32){let O=[];for(let p of e)p.flatten(O);return new ee(O,t)}let s=Math.max(32,i>>5),r=s<<1,o=s>>1,l=[],a=0,h=-1,f=[];function d(O){let p;if(O.lines>r&&O instanceof Xe)for(let y of O.children)d(y);else O.lines>o&&(a>o||!a)?(u(),l.push(O)):O instanceof ee&&a&&(p=f[f.length-1])instanceof ee&&O.lines+p.lines<=32?(a+=O.lines,h+=O.length+1,f[f.length-1]=new ee(p.text.concat(O.text),p.length+1+O.length)):(a+O.lines>s&&u(),a+=O.lines,h+=O.length+1,f.push(O))}function u(){a!=0&&(l.push(f.length==1?f[0]:Xe.from(f,h)),h=-1,a=f.length=0)}for(let O of e)d(O);return u(),l.length==1?l[0]:new Xe(l,t)}}z.empty=new ee([""],0);function P1(n){let e=-1;for(let t of n)e+=t.length+1;return e}function on(n,e,t=0,i=1e9){for(let s=0,r=0,o=!0;r<n.length&&s<=i;r++){let l=n[r],a=s+l.length;a>=t&&(a>i&&(l=l.slice(0,i-s)),s<t&&(l=l.slice(t-s)),o?(e[e.length-1]+=l,o=!1):e.push(l)),s=a+1}return e}function el(n,e,t){return on(n,[""],e,t)}class yi{constructor(e,t=1){this.dir=t,this.done=!1,this.lineBreak=!1,this.value="",this.nodes=[e],this.offsets=[t>0?1:(e instanceof ee?e.text.length:e.children.length)<<1]}nextInner(e,t){for(this.done=this.lineBreak=!1;;){let i=this.nodes.length-1,s=this.nodes[i],r=this.offsets[i],o=r>>1,l=s instanceof ee?s.text.length:s.children.length;if(o==(t>0?l:0)){if(i==0)return this.done=!0,this.value="",this;t>0&&this.offsets[i-1]++,this.nodes.pop(),this.offsets.pop()}else if((r&1)==(t>0?0:1)){if(this.offsets[i]+=t,e==0)return this.lineBreak=!0,this.value=`
4
4
  `,this;e--}else if(s instanceof ee){let a=s.text[o+(t<0?-1:0)];if(this.offsets[i]+=t,a.length>Math.max(0,e))return this.value=e==0?a:t>0?a.slice(e):a.slice(0,a.length-e),this;e-=a.length}else{let a=s.children[o+(t<0?-1:0)];e>a.length?(e-=a.length,this.offsets[i]+=t):(t<0&&this.offsets[i]--,this.nodes.push(a),this.offsets.push(t>0?1:(a instanceof ee?a.text.length:a.children.length)<<1))}}}next(e=0){return e<0&&(this.nextInner(-e,-this.dir),e=this.value.length),this.nextInner(e,this.dir)}}class tl{constructor(e,t,i){this.value="",this.done=!1,this.cursor=new yi(e,t>i?-1:1),this.pos=t>i?e.length:0,this.from=Math.min(t,i),this.to=Math.max(t,i)}nextInner(e,t){if(t<0?this.pos<=this.from:this.pos>=this.to)return this.value="",this.done=!0,this;e+=Math.max(0,t<0?this.pos-this.to:this.from-this.pos);let i=t<0?this.pos-this.from:this.to-this.pos;e>i&&(e=i),i-=e;let{value:s}=this.cursor.next(e);return this.pos+=(s.length+e)*t,this.value=s.length<=i?s:t<0?s.slice(s.length-i):s.slice(0,i),this.done=!this.value,this}next(e=0){return e<0?e=Math.max(e,this.from-this.pos):e>0&&(e=Math.min(e,this.to-this.pos)),this.nextInner(e,this.cursor.dir)}get lineBreak(){return this.cursor.lineBreak&&this.value!=""}}class il{constructor(e){this.inner=e,this.afterBreak=!0,this.value="",this.done=!1}next(e=0){let{done:t,lineBreak:i,value:s}=this.inner.next(e);return t?(this.done=!0,this.value=""):i?this.afterBreak?this.value="":(this.afterBreak=!0,this.next()):(this.value=s,this.afterBreak=!1),this}get lineBreak(){return!1}}typeof Symbol<"u"&&(z.prototype[Symbol.iterator]=function(){return this.iter()},yi.prototype[Symbol.iterator]=tl.prototype[Symbol.iterator]=il.prototype[Symbol.iterator]=function(){return this});class v1{constructor(e,t,i,s){this.from=e,this.to=t,this.number=i,this.text=s}get length(){return this.to-this.from}}let Zt="lc,34,7n,7,7b,19,,,,2,,2,,,20,b,1c,l,g,,2t,7,2,6,2,2,,4,z,,u,r,2j,b,1m,9,9,,o,4,,9,,3,,5,17,3,3b,f,,w,1j,,,,4,8,4,,3,7,a,2,t,,1m,,,,2,4,8,,9,,a,2,q,,2,2,1l,,4,2,4,2,2,3,3,,u,2,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,8,2,7,u,4,44,3,1iz,1j,4,1e,8,,e,,m,5,,f,11s,7,,h,2,7,,2,,5,79,7,c5,4,15s,7,31,7,240,5,gx7k,2o,3k,6o".split(",").map(n=>n?parseInt(n,36):1);for(let n=1;n<Zt.length;n++)Zt[n]+=Zt[n-1];function M1(n){for(let e=1;e<Zt.length;e+=2)if(Zt[e]>n)return Zt[e-1]<=n;return!1}function nl(n){return n>=127462&&n<=127487}const sl=8205;function ge(n,e,t=!0,i=!0){return(t?rl:_1)(n,e,i)}function rl(n,e,t){if(e==n.length)return e;e&&ol(n.charCodeAt(e))&&ll(n.charCodeAt(e-1))&&e--;let i=le(n,e);for(e+=xe(i);e<n.length;){let s=le(n,e);if(i==sl||s==sl||t&&M1(s))e+=xe(s),i=s;else if(nl(s)){let r=0,o=e-2;for(;o>=0&&nl(le(n,o));)r++,o-=2;if(r%2==0)break;e+=2}else break}return e}function _1(n,e,t){for(;e>0;){let i=rl(n,e-2,t);if(i<e)return i;e--}return 0}function ol(n){return n>=56320&&n<57344}function ll(n){return n>=55296&&n<56320}function le(n,e){let t=n.charCodeAt(e);if(!ll(t)||e+1==n.length)return t;let i=n.charCodeAt(e+1);return ol(i)?(t-55296<<10)+(i-56320)+65536:t}function js(n){return n<=65535?String.fromCharCode(n):(n-=65536,String.fromCharCode((n>>10)+55296,(n&1023)+56320))}function xe(n){return n<65536?1:2}const Is=/\r\n?|\n/;var ae=function(n){return n[n.Simple=0]="Simple",n[n.TrackDel=1]="TrackDel",n[n.TrackBefore=2]="TrackBefore",n[n.TrackAfter=3]="TrackAfter",n}(ae||(ae={}));class Ze{constructor(e){this.sections=e}get length(){let e=0;for(let t=0;t<this.sections.length;t+=2)e+=this.sections[t];return e}get newLength(){let e=0;for(let t=0;t<this.sections.length;t+=2){let i=this.sections[t+1];e+=i<0?this.sections[t]:i}return e}get empty(){return this.sections.length==0||this.sections.length==2&&this.sections[1]<0}iterGaps(e){for(let t=0,i=0,s=0;t<this.sections.length;){let r=this.sections[t++],o=this.sections[t++];o<0?(e(i,s,r),s+=r):s+=o,i+=r}}iterChangedRanges(e,t=!1){zs(this,e,t)}get invertedDesc(){let e=[];for(let t=0;t<this.sections.length;){let i=this.sections[t++],s=this.sections[t++];s<0?e.push(i,s):e.push(s,i)}return new Ze(e)}composeDesc(e){return this.empty?e:e.empty?this:al(this,e)}mapDesc(e,t=!1){return e.empty?this:Ns(this,e,t)}mapPos(e,t=-1,i=ae.Simple){let s=0,r=0;for(let o=0;o<this.sections.length;){let l=this.sections[o++],a=this.sections[o++],h=s+l;if(a<0){if(h>e)return r+(e-s);r+=l}else{if(i!=ae.Simple&&h>=e&&(i==ae.TrackDel&&s<e&&h>e||i==ae.TrackBefore&&s<e||i==ae.TrackAfter&&h>e))return null;if(h>e||h==e&&t<0&&!l)return e==s||t<0?r:r+a;r+=a}s=h}if(e>s)throw new RangeError(`Position ${e} is out of range for changeset of length ${s}`);return r}touchesRange(e,t=e){for(let i=0,s=0;i<this.sections.length&&s<=t;){let r=this.sections[i++],o=this.sections[i++],l=s+r;if(o>=0&&s<=t&&l>=e)return s<e&&l>t?"cover":!0;s=l}return!1}toString(){let e="";for(let t=0;t<this.sections.length;){let i=this.sections[t++],s=this.sections[t++];e+=(e?" ":"")+i+(s>=0?":"+s:"")}return e}toJSON(){return this.sections}static fromJSON(e){if(!Array.isArray(e)||e.length%2||e.some(t=>typeof t!="number"))throw new RangeError("Invalid JSON representation of ChangeDesc");return new Ze(e)}static create(e){return new Ze(e)}}class ne extends Ze{constructor(e,t){super(e),this.inserted=t}apply(e){if(this.length!=e.length)throw new RangeError("Applying change set to a document with the wrong length");return zs(this,(t,i,s,r,o)=>e=e.replace(s,s+(i-t),o),!1),e}mapDesc(e,t=!1){return Ns(this,e,t,!0)}invert(e){let t=this.sections.slice(),i=[];for(let s=0,r=0;s<t.length;s+=2){let o=t[s],l=t[s+1];if(l>=0){t[s]=l,t[s+1]=o;let a=s>>1;for(;i.length<a;)i.push(z.empty);i.push(o?e.slice(r,r+o):z.empty)}r+=o}return new ne(t,i)}compose(e){return this.empty?e:e.empty?this:al(this,e,!0)}map(e,t=!1){return e.empty?this:Ns(this,e,t,!0)}iterChanges(e,t=!1){zs(this,e,t)}get desc(){return Ze.create(this.sections)}filter(e){let t=[],i=[],s=[],r=new Qi(this);e:for(let o=0,l=0;;){let a=o==e.length?1e9:e[o++];for(;l<a||l==a&&r.len==0;){if(r.done)break e;let f=Math.min(r.len,a-l);de(s,f,-1);let d=r.ins==-1?-1:r.off==0?r.ins:0;de(t,f,d),d>0&&ft(i,t,r.text),r.forward(f),l+=f}let h=e[o++];for(;l<h;){if(r.done)break e;let f=Math.min(r.len,h-l);de(t,f,-1),de(s,f,r.ins==-1?-1:r.off==0?r.ins:0),r.forward(f),l+=f}}return{changes:new ne(t,i),filtered:Ze.create(s)}}toJSON(){let e=[];for(let t=0;t<this.sections.length;t+=2){let i=this.sections[t],s=this.sections[t+1];s<0?e.push(i):s==0?e.push([i]):e.push([i].concat(this.inserted[t>>1].toJSON()))}return e}static of(e,t,i){let s=[],r=[],o=0,l=null;function a(f=!1){if(!f&&!s.length)return;o<t&&de(s,t-o,-1);let d=new ne(s,r);l=l?l.compose(d.map(l)):d,s=[],r=[],o=0}function h(f){if(Array.isArray(f))for(let d of f)h(d);else if(f instanceof ne){if(f.length!=t)throw new RangeError(`Mismatched change set length (got ${f.length}, expected ${t})`);a(),l=l?l.compose(f.map(l)):f}else{let{from:d,to:u=d,insert:O}=f;if(d>u||d<0||u>t)throw new RangeError(`Invalid change range ${d} to ${u} (in doc of length ${t})`);let p=O?typeof O=="string"?z.of(O.split(i||Is)):O:z.empty,y=p.length;if(d==u&&y==0)return;d<o&&a(),d>o&&de(s,d-o,-1),de(s,u-d,y),ft(r,s,p),o=u}}return h(e),a(!l),l}static empty(e){return new ne(e?[e,-1]:[],[])}static fromJSON(e){if(!Array.isArray(e))throw new RangeError("Invalid JSON representation of ChangeSet");let t=[],i=[];for(let s=0;s<e.length;s++){let r=e[s];if(typeof r=="number")t.push(r,-1);else{if(!Array.isArray(r)||typeof r[0]!="number"||r.some((o,l)=>l&&typeof o!="string"))throw new RangeError("Invalid JSON representation of ChangeSet");if(r.length==1)t.push(r[0],0);else{for(;i.length<s;)i.push(z.empty);i[s]=z.of(r.slice(1)),t.push(r[0],i[s].length)}}}return new ne(t,i)}static createSet(e,t){return new ne(e,t)}}function de(n,e,t,i=!1){if(e==0&&t<=0)return;let s=n.length-2;s>=0&&t<=0&&t==n[s+1]?n[s]+=e:e==0&&n[s]==0?n[s+1]+=t:i?(n[s]+=e,n[s+1]+=t):n.push(e,t)}function ft(n,e,t){if(t.length==0)return;let i=e.length-2>>1;if(i<n.length)n[n.length-1]=n[n.length-1].append(t);else{for(;n.length<i;)n.push(z.empty);n.push(t)}}function zs(n,e,t){let i=n.inserted;for(let s=0,r=0,o=0;o<n.sections.length;){let l=n.sections[o++],a=n.sections[o++];if(a<0)s+=l,r+=l;else{let h=s,f=r,d=z.empty;for(;h+=l,f+=a,a&&i&&(d=d.append(i[o-2>>1])),!(t||o==n.sections.length||n.sections[o+1]<0);)l=n.sections[o++],a=n.sections[o++];e(s,h,r,f,d),s=h,r=f}}}function Ns(n,e,t,i=!1){let s=[],r=i?[]:null,o=new Qi(n),l=new Qi(e);for(let a=-1;;)if(o.ins==-1&&l.ins==-1){let h=Math.min(o.len,l.len);de(s,h,-1),o.forward(h),l.forward(h)}else if(l.ins>=0&&(o.ins<0||a==o.i||o.off==0&&(l.len<o.len||l.len==o.len&&!t))){let h=l.len;for(de(s,l.ins,-1);h;){let f=Math.min(o.len,h);o.ins>=0&&a<o.i&&o.len<=f&&(de(s,0,o.ins),r&&ft(r,s,o.text),a=o.i),o.forward(f),h-=f}l.next()}else if(o.ins>=0){let h=0,f=o.len;for(;f;)if(l.ins==-1){let d=Math.min(f,l.len);h+=d,f-=d,l.forward(d)}else if(l.ins==0&&l.len<f)f-=l.len,l.next();else break;de(s,h,a<o.i?o.ins:0),r&&a<o.i&&ft(r,s,o.text),a=o.i,o.forward(o.len-f)}else{if(o.done&&l.done)return r?ne.createSet(s,r):Ze.create(s);throw new Error("Mismatched change set lengths")}}function al(n,e,t=!1){let i=[],s=t?[]:null,r=new Qi(n),o=new Qi(e);for(let l=!1;;){if(r.done&&o.done)return s?ne.createSet(i,s):Ze.create(i);if(r.ins==0)de(i,r.len,0,l),r.next();else if(o.len==0&&!o.done)de(i,0,o.ins,l),s&&ft(s,i,o.text),o.next();else{if(r.done||o.done)throw new Error("Mismatched change set lengths");{let a=Math.min(r.len2,o.len),h=i.length;if(r.ins==-1){let f=o.ins==-1?-1:o.off?0:o.ins;de(i,a,f,l),s&&f&&ft(s,i,o.text)}else o.ins==-1?(de(i,r.off?0:r.len,a,l),s&&ft(s,i,r.textBit(a))):(de(i,r.off?0:r.len,o.off?0:o.ins,l),s&&!o.off&&ft(s,i,o.text));l=(r.ins>a||o.ins>=0&&o.len>a)&&(l||i.length>h),r.forward2(a),o.forward(a)}}}}class Qi{constructor(e){this.set=e,this.i=0,this.next()}next(){let{sections:e}=this.set;this.i<e.length?(this.len=e[this.i++],this.ins=e[this.i++]):(this.len=0,this.ins=-2),this.off=0}get done(){return this.ins==-2}get len2(){return this.ins<0?this.len:this.ins}get text(){let{inserted:e}=this.set,t=this.i-2>>1;return t>=e.length?z.empty:e[t]}textBit(e){let{inserted:t}=this.set,i=this.i-2>>1;return i>=t.length&&!e?z.empty:t[i].slice(this.off,e==null?void 0:this.off+e)}forward(e){e==this.len?this.next():(this.len-=e,this.off+=e)}forward2(e){this.ins==-1?this.forward(e):e==this.ins?this.next():(this.ins-=e,this.off+=e)}}class Pt{constructor(e,t,i){this.from=e,this.to=t,this.flags=i}get anchor(){return this.flags&16?this.to:this.from}get head(){return this.flags&16?this.from:this.to}get empty(){return this.from==this.to}get assoc(){return this.flags&4?-1:this.flags&8?1:0}get bidiLevel(){let e=this.flags&3;return e==3?null:e}get goalColumn(){let e=this.flags>>5;return e==33554431?void 0:e}map(e,t=-1){let i,s;return this.empty?i=s=e.mapPos(this.from,t):(i=e.mapPos(this.from,1),s=e.mapPos(this.to,-1)),i==this.from&&s==this.to?this:new Pt(i,s,this.flags)}extend(e,t=e){if(e<=this.anchor&&t>=this.anchor)return S.range(e,t);let i=Math.abs(e-this.anchor)>Math.abs(t-this.anchor)?e:t;return S.range(this.anchor,i)}eq(e){return this.anchor==e.anchor&&this.head==e.head}toJSON(){return{anchor:this.anchor,head:this.head}}static fromJSON(e){if(!e||typeof e.anchor!="number"||typeof e.head!="number")throw new RangeError("Invalid JSON representation for SelectionRange");return S.range(e.anchor,e.head)}static create(e,t,i){return new Pt(e,t,i)}}class S{constructor(e,t){this.ranges=e,this.mainIndex=t}map(e,t=-1){return e.empty?this:S.create(this.ranges.map(i=>i.map(e,t)),this.mainIndex)}eq(e){if(this.ranges.length!=e.ranges.length||this.mainIndex!=e.mainIndex)return!1;for(let t=0;t<this.ranges.length;t++)if(!this.ranges[t].eq(e.ranges[t]))return!1;return!0}get main(){return this.ranges[this.mainIndex]}asSingle(){return this.ranges.length==1?this:new S([this.main],0)}addRange(e,t=!0){return S.create([e].concat(this.ranges),t?0:this.mainIndex+1)}replaceRange(e,t=this.mainIndex){let i=this.ranges.slice();return i[t]=e,S.create(i,this.mainIndex)}toJSON(){return{ranges:this.ranges.map(e=>e.toJSON()),main:this.mainIndex}}static fromJSON(e){if(!e||!Array.isArray(e.ranges)||typeof e.main!="number"||e.main>=e.ranges.length)throw new RangeError("Invalid JSON representation for EditorSelection");return new S(e.ranges.map(t=>Pt.fromJSON(t)),e.main)}static single(e,t=e){return new S([S.range(e,t)],0)}static create(e,t=0){if(e.length==0)throw new RangeError("A selection needs at least one range");for(let i=0,s=0;s<e.length;s++){let r=e[s];if(r.empty?r.from<=i:r.from<i)return S.normalized(e.slice(),t);i=r.to}return new S(e,t)}static cursor(e,t=0,i,s){return Pt.create(e,e,(t==0?0:t<0?4:8)|(i==null?3:Math.min(2,i))|(s??33554431)<<5)}static range(e,t,i){let s=(i??33554431)<<5;return t<e?Pt.create(t,e,16|s|8):Pt.create(e,t,s|(t>e?4:0))}static normalized(e,t=0){let i=e[t];e.sort((s,r)=>s.from-r.from),t=e.indexOf(i);for(let s=1;s<e.length;s++){let r=e[s],o=e[s-1];if(r.empty?r.from<=o.to:r.from<o.to){let l=o.from,a=Math.max(r.to,o.to);s<=t&&t--,e.splice(--s,2,r.anchor>r.head?S.range(a,l):S.range(l,a))}}return new S(e,t)}}function hl(n,e){for(let t of n.ranges)if(t.to>e)throw new RangeError("Selection points outside of document")}let Es=0;class C{constructor(e,t,i,s,r){this.combine=e,this.compareInput=t,this.compare=i,this.isStatic=s,this.id=Es++,this.default=e([]),this.extensions=typeof r=="function"?r(this):r}static define(e={}){return new C(e.combine||(t=>t),e.compareInput||((t,i)=>t===i),e.compare||(e.combine?(t,i)=>t===i:Vs),!!e.static,e.enables)}of(e){return new ln([],this,0,e)}compute(e,t){if(this.isStatic)throw new Error("Can't compute a static facet");return new ln(e,this,1,t)}computeN(e,t){if(this.isStatic)throw new Error("Can't compute a static facet");return new ln(e,this,2,t)}from(e,t){return t||(t=i=>i),this.compute([e],i=>t(i.field(e)))}}function Vs(n,e){return n==e||n.length==e.length&&n.every((t,i)=>t===e[i])}class ln{constructor(e,t,i,s){this.dependencies=e,this.facet=t,this.type=i,this.value=s,this.id=Es++}dynamicSlot(e){var t;let i=this.value,s=this.facet.compareInput,r=this.id,o=e[r]>>1,l=this.type==2,a=!1,h=!1,f=[];for(let d of this.dependencies)d=="doc"?a=!0:d=="selection"?h=!0:((t=e[d.id])!==null&&t!==void 0?t:1)&1||f.push(e[d.id]);return{create(d){return d.values[o]=i(d),1},update(d,u){if(a&&u.docChanged||h&&(u.docChanged||u.selection)||Bs(d,f)){let O=i(d);if(l?!cl(O,d.values[o],s):!s(O,d.values[o]))return d.values[o]=O,1}return 0},reconfigure:(d,u)=>{let O,p=u.config.address[r];if(p!=null){let y=cn(u,p);if(this.dependencies.every(g=>g instanceof C?u.facet(g)===d.facet(g):g instanceof re?u.field(g,!1)==d.field(g,!1):!0)||(l?cl(O=i(d),y,s):s(O=i(d),y)))return d.values[o]=y,0}else O=i(d);return d.values[o]=O,1}}}}function cl(n,e,t){if(n.length!=e.length)return!1;for(let i=0;i<n.length;i++)if(!t(n[i],e[i]))return!1;return!0}function Bs(n,e){let t=!1;for(let i of e)wi(n,i)&1&&(t=!0);return t}function A1(n,e,t){let i=t.map(a=>n[a.id]),s=t.map(a=>a.type),r=i.filter(a=>!(a&1)),o=n[e.id]>>1;function l(a){let h=[];for(let f=0;f<i.length;f++){let d=cn(a,i[f]);if(s[f]==2)for(let u of d)h.push(u);else h.push(d)}return e.combine(h)}return{create(a){for(let h of i)wi(a,h);return a.values[o]=l(a),1},update(a,h){if(!Bs(a,r))return 0;let f=l(a);return e.compare(f,a.values[o])?0:(a.values[o]=f,1)},reconfigure(a,h){let f=Bs(a,i),d=h.config.facets[e.id],u=h.facet(e);if(d&&!f&&Vs(t,d))return a.values[o]=u,0;let O=l(a);return e.compare(O,u)?(a.values[o]=u,0):(a.values[o]=O,1)}}}const fl=C.define({static:!0});class re{constructor(e,t,i,s,r){this.id=e,this.createF=t,this.updateF=i,this.compareF=s,this.spec=r,this.provides=void 0}static define(e){let t=new re(Es++,e.create,e.update,e.compare||((i,s)=>i===s),e);return e.provide&&(t.provides=e.provide(t)),t}create(e){let t=e.facet(fl).find(i=>i.field==this);return((t==null?void 0:t.create)||this.createF)(e)}slot(e){let t=e[this.id]>>1;return{create:i=>(i.values[t]=this.create(i),1),update:(i,s)=>{let r=i.values[t],o=this.updateF(r,s);return this.compareF(r,o)?0:(i.values[t]=o,1)},reconfigure:(i,s)=>s.config.address[this.id]!=null?(i.values[t]=s.field(this),0):(i.values[t]=this.create(i),1)}}init(e){return[this,fl.of({field:this,create:e})]}get extension(){return this}}const vt={lowest:4,low:3,default:2,high:1,highest:0};function Si(n){return e=>new dl(e,n)}const Mt={highest:Si(vt.highest),high:Si(vt.high),default:Si(vt.default),low:Si(vt.low),lowest:Si(vt.lowest)};class dl{constructor(e,t){this.inner=e,this.prec=t}}class an{of(e){return new Ws(this,e)}reconfigure(e){return an.reconfigure.of({compartment:this,extension:e})}get(e){return e.config.compartments.get(this)}}class Ws{constructor(e,t){this.compartment=e,this.inner=t}}class hn{constructor(e,t,i,s,r,o){for(this.base=e,this.compartments=t,this.dynamicSlots=i,this.address=s,this.staticValues=r,this.facets=o,this.statusTemplate=[];this.statusTemplate.length<i.length;)this.statusTemplate.push(0)}staticFacet(e){let t=this.address[e.id];return t==null?e.default:this.staticValues[t>>1]}static resolve(e,t,i){let s=[],r=Object.create(null),o=new Map;for(let u of R1(e,t,o))u instanceof re?s.push(u):(r[u.facet.id]||(r[u.facet.id]=[])).push(u);let l=Object.create(null),a=[],h=[];for(let u of s)l[u.id]=h.length<<1,h.push(O=>u.slot(O));let f=i==null?void 0:i.config.facets;for(let u in r){let O=r[u],p=O[0].facet,y=f&&f[u]||[];if(O.every(g=>g.type==0))if(l[p.id]=a.length<<1|1,Vs(y,O))a.push(i.facet(p));else{let g=p.combine(O.map(Q=>Q.value));a.push(i&&p.compare(g,i.facet(p))?i.facet(p):g)}else{for(let g of O)g.type==0?(l[g.id]=a.length<<1|1,a.push(g.value)):(l[g.id]=h.length<<1,h.push(Q=>g.dynamicSlot(Q)));l[p.id]=h.length<<1,h.push(g=>A1(g,p,O))}}let d=h.map(u=>u(l));return new hn(e,o,d,l,a,r)}}function R1(n,e,t){let i=[[],[],[],[],[]],s=new Map;function r(o,l){let a=s.get(o);if(a!=null){if(a<=l)return;let h=i[a].indexOf(o);h>-1&&i[a].splice(h,1),o instanceof Ws&&t.delete(o.compartment)}if(s.set(o,l),Array.isArray(o))for(let h of o)r(h,l);else if(o instanceof Ws){if(t.has(o.compartment))throw new RangeError("Duplicate use of compartment in extensions");let h=e.get(o.compartment)||o.inner;t.set(o.compartment,h),r(h,l)}else if(o instanceof dl)r(o.inner,o.prec);else if(o instanceof re)i[l].push(o),o.provides&&r(o.provides,l);else if(o instanceof ln)i[l].push(o),o.facet.extensions&&r(o.facet.extensions,vt.default);else{let h=o.extension;if(!h)throw new Error(`Unrecognized extension value in extension set (${o}). This sometimes happens because multiple instances of @codemirror/state are loaded, breaking instanceof checks.`);r(h,l)}}return r(n,vt.default),i.reduce((o,l)=>o.concat(l))}function wi(n,e){if(e&1)return 2;let t=e>>1,i=n.status[t];if(i==4)throw new Error("Cyclic dependency between fields and/or facets");if(i&2)return i;n.status[t]=4;let s=n.computeSlot(n,n.config.dynamicSlots[t]);return n.status[t]=2|s}function cn(n,e){return e&1?n.config.staticValues[e>>1]:n.values[e>>1]}const ul=C.define(),Ol=C.define({combine:n=>n.some(e=>e),static:!0}),pl=C.define({combine:n=>n.length?n[0]:void 0,static:!0}),ml=C.define(),gl=C.define(),yl=C.define(),Ql=C.define({combine:n=>n.length?n[0]:!1});class _t{constructor(e,t){this.type=e,this.value=t}static define(){return new D1}}class D1{of(e){return new _t(this,e)}}class L1{constructor(e){this.map=e}of(e){return new R(this,e)}}class R{constructor(e,t){this.type=e,this.value=t}map(e){let t=this.type.map(this.value,e);return t===void 0?void 0:t==this.value?this:new R(this.type,t)}is(e){return this.type==e}static define(e={}){return new L1(e.map||(t=>t))}static mapEffects(e,t){if(!e.length)return e;let i=[];for(let s of e){let r=s.map(t);r&&i.push(r)}return i}}R.reconfigure=R.define(),R.appendConfig=R.define();class se{constructor(e,t,i,s,r,o){this.startState=e,this.changes=t,this.selection=i,this.effects=s,this.annotations=r,this.scrollIntoView=o,this._doc=null,this._state=null,i&&hl(i,t.newLength),r.some(l=>l.type==se.time)||(this.annotations=r.concat(se.time.of(Date.now())))}static create(e,t,i,s,r,o){return new se(e,t,i,s,r,o)}get newDoc(){return this._doc||(this._doc=this.changes.apply(this.startState.doc))}get newSelection(){return this.selection||this.startState.selection.map(this.changes)}get state(){return this._state||this.startState.applyTransaction(this),this._state}annotation(e){for(let t of this.annotations)if(t.type==e)return t.value}get docChanged(){return!this.changes.empty}get reconfigured(){return this.startState.config!=this.state.config}isUserEvent(e){let t=this.annotation(se.userEvent);return!!(t&&(t==e||t.length>e.length&&t.slice(0,e.length)==e&&t[e.length]=="."))}}se.time=_t.define(),se.userEvent=_t.define(),se.addToHistory=_t.define(),se.remote=_t.define();function j1(n,e){let t=[];for(let i=0,s=0;;){let r,o;if(i<n.length&&(s==e.length||e[s]>=n[i]))r=n[i++],o=n[i++];else if(s<e.length)r=e[s++],o=e[s++];else return t;!t.length||t[t.length-1]<r?t.push(r,o):t[t.length-1]<o&&(t[t.length-1]=o)}}function Sl(n,e,t){var i;let s,r,o;return t?(s=e.changes,r=ne.empty(e.changes.length),o=n.changes.compose(e.changes)):(s=e.changes.map(n.changes),r=n.changes.mapDesc(e.changes,!0),o=n.changes.compose(s)),{changes:o,selection:e.selection?e.selection.map(r):(i=n.selection)===null||i===void 0?void 0:i.map(s),effects:R.mapEffects(n.effects,s).concat(R.mapEffects(e.effects,r)),annotations:n.annotations.length?n.annotations.concat(e.annotations):e.annotations,scrollIntoView:n.scrollIntoView||e.scrollIntoView}}function Xs(n,e,t){let i=e.selection,s=qt(e.annotations);return e.userEvent&&(s=s.concat(se.userEvent.of(e.userEvent))),{changes:e.changes instanceof ne?e.changes:ne.of(e.changes||[],t,n.facet(pl)),selection:i&&(i instanceof S?i:S.single(i.anchor,i.head)),effects:qt(e.effects),annotations:s,scrollIntoView:!!e.scrollIntoView}}function wl(n,e,t){let i=Xs(n,e.length?e[0]:{},n.doc.length);e.length&&e[0].filter===!1&&(t=!1);for(let r=1;r<e.length;r++){e[r].filter===!1&&(t=!1);let o=!!e[r].sequential;i=Sl(i,Xs(n,e[r],o?i.changes.newLength:n.doc.length),o)}let s=se.create(n,i.changes,i.selection,i.effects,i.annotations,i.scrollIntoView);return z1(t?I1(s):s)}function I1(n){let e=n.startState,t=!0;for(let s of e.facet(ml)){let r=s(n);if(r===!1){t=!1;break}Array.isArray(r)&&(t=t===!0?r:j1(t,r))}if(t!==!0){let s,r;if(t===!1)r=n.changes.invertedDesc,s=ne.empty(e.doc.length);else{let o=n.changes.filter(t);s=o.changes,r=o.filtered.mapDesc(o.changes).invertedDesc}n=se.create(e,s,n.selection&&n.selection.map(r),R.mapEffects(n.effects,r),n.annotations,n.scrollIntoView)}let i=e.facet(gl);for(let s=i.length-1;s>=0;s--){let r=i[s](n);r instanceof se?n=r:Array.isArray(r)&&r.length==1&&r[0]instanceof se?n=r[0]:n=wl(e,qt(r),!1)}return n}function z1(n){let e=n.startState,t=e.facet(yl),i=n;for(let s=t.length-1;s>=0;s--){let r=t[s](n);r&&Object.keys(r).length&&(i=Sl(i,Xs(e,r,n.changes.newLength),!0))}return i==n?n:se.create(e,n.changes,n.selection,i.effects,i.annotations,i.scrollIntoView)}const N1=[];function qt(n){return n==null?N1:Array.isArray(n)?n:[n]}var G=function(n){return n[n.Word=0]="Word",n[n.Space=1]="Space",n[n.Other=2]="Other",n}(G||(G={}));const E1=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/;let Zs;try{Zs=new RegExp("[\\p{Alphabetic}\\p{Number}_]","u")}catch{}function V1(n){if(Zs)return Zs.test(n);for(let e=0;e<n.length;e++){let t=n[e];if(/\w/.test(t)||t>"€"&&(t.toUpperCase()!=t.toLowerCase()||E1.test(t)))return!0}return!1}function B1(n){return e=>{if(!/\S/.test(e))return G.Space;if(V1(e))return G.Word;for(let t=0;t<n.length;t++)if(e.indexOf(n[t])>-1)return G.Word;return G.Other}}class I{constructor(e,t,i,s,r,o){this.config=e,this.doc=t,this.selection=i,this.values=s,this.status=e.statusTemplate.slice(),this.computeSlot=r,o&&(o._state=this);for(let l=0;l<this.config.dynamicSlots.length;l++)wi(this,l<<1);this.computeSlot=null}field(e,t=!0){let i=this.config.address[e.id];if(i==null){if(t)throw new RangeError("Field is not present in this state");return}return wi(this,i),cn(this,i)}update(...e){return wl(this,e,!0)}applyTransaction(e){let t=this.config,{base:i,compartments:s}=t;for(let o of e.effects)o.is(an.reconfigure)?(t&&(s=new Map,t.compartments.forEach((l,a)=>s.set(a,l)),t=null),s.set(o.value.compartment,o.value.extension)):o.is(R.reconfigure)?(t=null,i=o.value):o.is(R.appendConfig)&&(t=null,i=qt(i).concat(o.value));let r;t?r=e.startState.values.slice():(t=hn.resolve(i,s,this),r=new I(t,this.doc,this.selection,t.dynamicSlots.map(()=>null),(l,a)=>a.reconfigure(l,this),null).values),new I(t,e.newDoc,e.newSelection,r,(o,l)=>l.update(o,e),e)}replaceSelection(e){return typeof e=="string"&&(e=this.toText(e)),this.changeByRange(t=>({changes:{from:t.from,to:t.to,insert:e},range:S.cursor(t.from+e.length)}))}changeByRange(e){let t=this.selection,i=e(t.ranges[0]),s=this.changes(i.changes),r=[i.range],o=qt(i.effects);for(let l=1;l<t.ranges.length;l++){let a=e(t.ranges[l]),h=this.changes(a.changes),f=h.map(s);for(let u=0;u<l;u++)r[u]=r[u].map(f);let d=s.mapDesc(h,!0);r.push(a.range.map(d)),s=s.compose(f),o=R.mapEffects(o,f).concat(R.mapEffects(qt(a.effects),d))}return{changes:s,selection:S.create(r,t.mainIndex),effects:o}}changes(e=[]){return e instanceof ne?e:ne.of(e,this.doc.length,this.facet(I.lineSeparator))}toText(e){return z.of(e.split(this.facet(I.lineSeparator)||Is))}sliceDoc(e=0,t=this.doc.length){return this.doc.sliceString(e,t,this.lineBreak)}facet(e){let t=this.config.address[e.id];return t==null?e.default:(wi(this,t),cn(this,t))}toJSON(e){let t={doc:this.sliceDoc(),selection:this.selection.toJSON()};if(e)for(let i in e){let s=e[i];s instanceof re&&this.config.address[s.id]!=null&&(t[i]=s.spec.toJSON(this.field(e[i]),this))}return t}static fromJSON(e,t={},i){if(!e||typeof e.doc!="string")throw new RangeError("Invalid JSON representation for EditorState");let s=[];if(i){for(let r in i)if(Object.prototype.hasOwnProperty.call(e,r)){let o=i[r],l=e[r];s.push(o.init(a=>o.spec.fromJSON(l,a)))}}return I.create({doc:e.doc,selection:S.fromJSON(e.selection),extensions:t.extensions?s.concat([t.extensions]):s})}static create(e={}){let t=hn.resolve(e.extensions||[],new Map),i=e.doc instanceof z?e.doc:z.of((e.doc||"").split(t.staticFacet(I.lineSeparator)||Is)),s=e.selection?e.selection instanceof S?e.selection:S.single(e.selection.anchor,e.selection.head):S.single(0);return hl(s,i.length),t.staticFacet(Ol)||(s=s.asSingle()),new I(t,i,s,t.dynamicSlots.map(()=>null),(r,o)=>o.create(r),null)}get tabSize(){return this.facet(I.tabSize)}get lineBreak(){return this.facet(I.lineSeparator)||`
@@ -22,5 +22,5 @@ var HaloComponents=function(w,c,Rd,Dd){"use strict";var U$="";const Ld={viewBox:
22
22
  constructor(\${params}) {
23
23
  \${}
24
24
  }
25
- }`,{label:"class",detail:"definition",type:"keyword"}),Ne('import {${names}} from "${module}"\n${}',{label:"import",detail:"named",type:"keyword"}),Ne('import ${name} from "${module}"\n${}',{label:"import",detail:"default",type:"keyword"})],gd=new uQ,yd=new Set(["Script","Block","FunctionExpression","FunctionDeclaration","ArrowFunction","MethodDeclaration","ForStatement"]);function tn(n){return(e,t)=>{let i=e.node.getChild("VariableDefinition");return i&&t(i,n),!0}}const Bx=["FunctionDeclaration"],Wx={FunctionDeclaration:tn("function"),ClassDeclaration:tn("class"),ClassExpression:()=>!0,EnumDeclaration:tn("constant"),TypeAliasDeclaration:tn("type"),NamespaceDeclaration:tn("namespace"),VariableDefinition(n,e){n.matchContext(Bx)||e(n,"variable")},TypeDefinition(n,e){e(n,"type")},__proto__:null};function Qd(n,e){let t=gd.get(e);if(t)return t;let i=[],s=!0;function r(o,l){let a=n.sliceString(o.from,o.to);i.push({label:a,type:l})}return e.cursor(U.IncludeAnonymous).iterate(o=>{if(s)s=!1;else if(o.name){let l=Wx[o.name];if(l&&l(o,r)||yd.has(o.name))return!1}else if(o.to-o.from>8192){for(let l of Qd(n,o.node))i.push(l);return!1}}),gd.set(e,i),i}const Sd=/^[\w$\xa1-\uffff][\w$\d\xa1-\uffff]*$/,wd=["TemplateString","String","RegExp","LineComment","BlockComment","VariableDefinition","TypeDefinition","Label","PropertyDefinition","PropertyName","PrivatePropertyDefinition","PrivatePropertyName"];function Xx(n){let e=H(n.state).resolveInner(n.pos,-1);if(wd.indexOf(e.name)>-1)return null;let t=e.name=="VariableName"||e.to-e.from<20&&Sd.test(n.state.sliceDoc(e.from,e.to));if(!t&&!n.explicit)return null;let i=[];for(let s=e;s;s=s.parent)yd.has(s.name)&&(i=i.concat(Qd(n.state.doc,s)));return{options:i,from:t?e.from:n.pos,validFor:Sd}}const Ct=It.define({name:"javascript",parser:Ex.configure({props:[Wi.add({IfStatement:si({except:/^\s*({|else\b)/}),TryStatement:si({except:/^\s*({|catch\b|finally\b)/}),LabeledStatement:zQ,SwitchBody:n=>{let e=n.textAfter,t=/^\s*\}/.test(e),i=/^\s*(case|default)\b/.test(e);return n.baseIndent+(t?0:i?1:2)*n.unit},Block:IQ({closing:"}"}),ArrowFunction:n=>n.baseIndent+n.unit,"TemplateString BlockComment":()=>null,"Statement Property":si({except:/^{/}),JSXElement(n){let e=/^\s*<\//.test(n.textAfter);return n.lineIndent(n.node.from)+(e?0:n.unit)},JSXEscape(n){let e=/\s*\}/.test(n.textAfter);return n.lineIndent(n.node.from)+(e?0:n.unit)},"JSXOpenTag JSXSelfClosingTag"(n){return n.column(n.node.from)+n.unit}}),Xi.add({"Block ClassBody SwitchBody EnumBody ObjectExpression ArrayExpression":Fr,BlockComment(n){return{from:n.from+2,to:n.to-2}}})]}),languageData:{closeBrackets:{brackets:["(","[","{","'",'"',"`"]},commentTokens:{line:"//",block:{open:"/*",close:"*/"}},indentOnInput:/^\s*(?:case |default:|\{|\}|<\/)$/,wordChars:"$"}}),bd=Ct.configure({dialect:"ts"},"typescript"),xd=Ct.configure({dialect:"jsx"}),$d=Ct.configure({dialect:"jsx ts"},"typescript"),Zx="break case const continue default delete export extends false finally in instanceof let new return static super switch this throw true typeof var yield".split(" ").map(n=>({label:n,type:"keyword"}));function kd(n={}){let e=n.jsx?n.typescript?$d:xd:n.typescript?bd:Ct;return new Gn(e,[Ct.data.of({autocomplete:iw(wd,af(Vx.concat(Zx)))}),Ct.data.of({autocomplete:Xx}),n.jsx?Gx:[]])}function Td(n,e,t=n.length){if(!e)return"";let i=e.getChild("JSXIdentifier");return i?n.sliceString(i.from,Math.min(i.to,t)):""}const qx=typeof navigator=="object"&&/Android\b/.test(navigator.userAgent),Gx=T.inputHandler.of((n,e,t,i)=>{if((qx?n.composing:n.compositionStarted)||n.state.readOnly||e!=t||i!=">"&&i!="/"||!Ct.isActiveAt(n.state,e,-1))return!1;let{state:s}=n,r=s.changeByRange(o=>{var l,a,h;let{head:f}=o,d=H(s).resolveInner(f,-1),u;if(d.name=="JSXStartTag"&&(d=d.parent),i==">"&&d.name=="JSXFragmentTag")return{range:S.cursor(f+1),changes:{from:f,insert:"><>"}};if(i==">"&&d.name=="JSXIdentifier"){if(((a=(l=d.parent)===null||l===void 0?void 0:l.lastChild)===null||a===void 0?void 0:a.name)!="JSXEndTag"&&(u=Td(s.doc,d.parent,f)))return{range:S.cursor(f+1),changes:{from:f,insert:`></${u}>`}}}else if(i=="/"&&d.name=="JSXFragmentTag"){let O=d.parent,p=O==null?void 0:O.parent;if(O.from==f-1&&((h=p.lastChild)===null||h===void 0?void 0:h.name)!="JSXEndTag"&&(u=Td(s.doc,p==null?void 0:p.firstChild,f))){let y=`/${u}>`;return{range:S.cursor(f+y.length),changes:{from:f,insert:y}}}}return{range:o}});return r.changes.empty?!1:(n.dispatch(r,{userEvent:"input.type",scrollIntoView:!0}),!0)}),nn=["_blank","_self","_top","_parent"],Wo=["ascii","utf-8","utf-16","latin1","latin1"],Xo=["get","post","put","delete"],Zo=["application/x-www-form-urlencoded","multipart/form-data","text/plain"],ve=["true","false"],v={},Ux={a:{attrs:{href:null,ping:null,type:null,media:null,target:nn,hreflang:null}},abbr:v,address:v,area:{attrs:{alt:null,coords:null,href:null,target:null,ping:null,media:null,hreflang:null,type:null,shape:["default","rect","circle","poly"]}},article:v,aside:v,audio:{attrs:{src:null,mediagroup:null,crossorigin:["anonymous","use-credentials"],preload:["none","metadata","auto"],autoplay:["autoplay"],loop:["loop"],controls:["controls"]}},b:v,base:{attrs:{href:null,target:nn}},bdi:v,bdo:v,blockquote:{attrs:{cite:null}},body:v,br:v,button:{attrs:{form:null,formaction:null,name:null,value:null,autofocus:["autofocus"],disabled:["autofocus"],formenctype:Zo,formmethod:Xo,formnovalidate:["novalidate"],formtarget:nn,type:["submit","reset","button"]}},canvas:{attrs:{width:null,height:null}},caption:v,center:v,cite:v,code:v,col:{attrs:{span:null}},colgroup:{attrs:{span:null}},command:{attrs:{type:["command","checkbox","radio"],label:null,icon:null,radiogroup:null,command:null,title:null,disabled:["disabled"],checked:["checked"]}},data:{attrs:{value:null}},datagrid:{attrs:{disabled:["disabled"],multiple:["multiple"]}},datalist:{attrs:{data:null}},dd:v,del:{attrs:{cite:null,datetime:null}},details:{attrs:{open:["open"]}},dfn:v,div:v,dl:v,dt:v,em:v,embed:{attrs:{src:null,type:null,width:null,height:null}},eventsource:{attrs:{src:null}},fieldset:{attrs:{disabled:["disabled"],form:null,name:null}},figcaption:v,figure:v,footer:v,form:{attrs:{action:null,name:null,"accept-charset":Wo,autocomplete:["on","off"],enctype:Zo,method:Xo,novalidate:["novalidate"],target:nn}},h1:v,h2:v,h3:v,h4:v,h5:v,h6:v,head:{children:["title","base","link","style","meta","script","noscript","command"]},header:v,hgroup:v,hr:v,html:{attrs:{manifest:null}},i:v,iframe:{attrs:{src:null,srcdoc:null,name:null,width:null,height:null,sandbox:["allow-top-navigation","allow-same-origin","allow-forms","allow-scripts"],seamless:["seamless"]}},img:{attrs:{alt:null,src:null,ismap:null,usemap:null,width:null,height:null,crossorigin:["anonymous","use-credentials"]}},input:{attrs:{alt:null,dirname:null,form:null,formaction:null,height:null,list:null,max:null,maxlength:null,min:null,name:null,pattern:null,placeholder:null,size:null,src:null,step:null,value:null,width:null,accept:["audio/*","video/*","image/*"],autocomplete:["on","off"],autofocus:["autofocus"],checked:["checked"],disabled:["disabled"],formenctype:Zo,formmethod:Xo,formnovalidate:["novalidate"],formtarget:nn,multiple:["multiple"],readonly:["readonly"],required:["required"],type:["hidden","text","search","tel","url","email","password","datetime","date","month","week","time","datetime-local","number","range","color","checkbox","radio","file","submit","image","reset","button"]}},ins:{attrs:{cite:null,datetime:null}},kbd:v,keygen:{attrs:{challenge:null,form:null,name:null,autofocus:["autofocus"],disabled:["disabled"],keytype:["RSA"]}},label:{attrs:{for:null,form:null}},legend:v,li:{attrs:{value:null}},link:{attrs:{href:null,type:null,hreflang:null,media:null,sizes:["all","16x16","16x16 32x32","16x16 32x32 64x64"]}},map:{attrs:{name:null}},mark:v,menu:{attrs:{label:null,type:["list","context","toolbar"]}},meta:{attrs:{content:null,charset:Wo,name:["viewport","application-name","author","description","generator","keywords"],"http-equiv":["content-language","content-type","default-style","refresh"]}},meter:{attrs:{value:null,min:null,low:null,high:null,max:null,optimum:null}},nav:v,noscript:v,object:{attrs:{data:null,type:null,name:null,usemap:null,form:null,width:null,height:null,typemustmatch:["typemustmatch"]}},ol:{attrs:{reversed:["reversed"],start:null,type:["1","a","A","i","I"]},children:["li","script","template","ul","ol"]},optgroup:{attrs:{disabled:["disabled"],label:null}},option:{attrs:{disabled:["disabled"],label:null,selected:["selected"],value:null}},output:{attrs:{for:null,form:null,name:null}},p:v,param:{attrs:{name:null,value:null}},pre:v,progress:{attrs:{value:null,max:null}},q:{attrs:{cite:null}},rp:v,rt:v,ruby:v,samp:v,script:{attrs:{type:["text/javascript"],src:null,async:["async"],defer:["defer"],charset:Wo}},section:v,select:{attrs:{form:null,name:null,size:null,autofocus:["autofocus"],disabled:["disabled"],multiple:["multiple"]}},slot:{attrs:{name:null}},small:v,source:{attrs:{src:null,type:null,media:null}},span:v,strong:v,style:{attrs:{type:["text/css"],media:null,scoped:null}},sub:v,summary:v,sup:v,table:v,tbody:v,td:{attrs:{colspan:null,rowspan:null,headers:null}},template:v,textarea:{attrs:{dirname:null,form:null,maxlength:null,name:null,placeholder:null,rows:null,cols:null,autofocus:["autofocus"],disabled:["disabled"],readonly:["readonly"],required:["required"],wrap:["soft","hard"]}},tfoot:v,th:{attrs:{colspan:null,rowspan:null,headers:null,scope:["row","col","rowgroup","colgroup"]}},thead:v,time:{attrs:{datetime:null}},title:v,tr:v,track:{attrs:{src:null,label:null,default:null,kind:["subtitles","captions","descriptions","chapters","metadata"],srclang:null}},ul:{children:["li","script","template","ul","ol"]},var:v,video:{attrs:{src:null,poster:null,width:null,height:null,crossorigin:["anonymous","use-credentials"],preload:["auto","metadata","none"],autoplay:["autoplay"],mediagroup:["movie"],muted:["muted"],controls:["controls"]}},wbr:v},Yx={accesskey:null,class:null,contenteditable:ve,contextmenu:null,dir:["ltr","rtl","auto"],draggable:["true","false","auto"],dropzone:["copy","move","link","string:","file:"],hidden:["hidden"],id:null,inert:["inert"],itemid:null,itemprop:null,itemref:null,itemscope:["itemscope"],itemtype:null,lang:["ar","bn","de","en-GB","en-US","es","fr","hi","id","ja","pa","pt","ru","tr","zh"],spellcheck:ve,autocorrect:ve,autocapitalize:ve,style:null,tabindex:null,title:null,translate:["yes","no"],onclick:null,rel:["stylesheet","alternate","author","bookmark","help","license","next","nofollow","noreferrer","prefetch","prev","search","tag"],role:"alert application article banner button cell checkbox complementary contentinfo dialog document feed figure form grid gridcell heading img list listbox listitem main navigation region row rowgroup search switch tab table tabpanel textbox timer".split(" "),"aria-activedescendant":null,"aria-atomic":ve,"aria-autocomplete":["inline","list","both","none"],"aria-busy":ve,"aria-checked":["true","false","mixed","undefined"],"aria-controls":null,"aria-describedby":null,"aria-disabled":ve,"aria-dropeffect":null,"aria-expanded":["true","false","undefined"],"aria-flowto":null,"aria-grabbed":["true","false","undefined"],"aria-haspopup":ve,"aria-hidden":ve,"aria-invalid":["true","false","grammar","spelling"],"aria-label":null,"aria-labelledby":null,"aria-level":null,"aria-live":["off","polite","assertive"],"aria-multiline":ve,"aria-multiselectable":ve,"aria-owns":null,"aria-posinset":null,"aria-pressed":["true","false","mixed","undefined"],"aria-readonly":ve,"aria-relevant":null,"aria-required":ve,"aria-selected":["true","false","undefined"],"aria-setsize":null,"aria-sort":["ascending","descending","none","other"],"aria-valuemax":null,"aria-valuemin":null,"aria-valuenow":null,"aria-valuetext":null};class vs{constructor(e,t){this.tags=Object.assign(Object.assign({},Ux),e),this.globalAttrs=Object.assign(Object.assign({},Yx),t),this.allTags=Object.keys(this.tags),this.globalAttrNames=Object.keys(this.globalAttrs)}}vs.default=new vs;function ui(n,e,t=n.length){if(!e)return"";let i=e.firstChild,s=i&&i.getChild("TagName");return s?n.sliceString(s.from,Math.min(s.to,t)):""}function Ms(n,e=!1){for(let t=n.parent;t;t=t.parent)if(t.name=="Element")if(e)e=!1;else return t;return null}function Cd(n,e,t){let i=t.tags[ui(n,Ms(e,!0))];return(i==null?void 0:i.children)||t.allTags}function qo(n,e){let t=[];for(let i=e;i=Ms(i);){let s=ui(n,i);if(s&&i.lastChild.name=="CloseTag")break;s&&t.indexOf(s)<0&&(e.name=="EndTag"||e.from>=i.firstChild.to)&&t.push(s)}return t}const Pd=/^[:\-\.\w\u00b7-\uffff]*$/;function vd(n,e,t,i,s){let r=/\s*>/.test(n.sliceDoc(s,s+5))?"":">";return{from:i,to:s,options:Cd(n.doc,t,e).map(o=>({label:o,type:"type"})).concat(qo(n.doc,t).map((o,l)=>({label:"/"+o,apply:"/"+o+r,type:"type",boost:99-l}))),validFor:/^\/?[:\-\.\w\u00b7-\uffff]*$/}}function Md(n,e,t,i){let s=/\s*>/.test(n.sliceDoc(i,i+5))?"":">";return{from:t,to:i,options:qo(n.doc,e).map((r,o)=>({label:r,apply:r+s,type:"type",boost:99-o})),validFor:Pd}}function Fx(n,e,t,i){let s=[],r=0;for(let o of Cd(n.doc,t,e))s.push({label:"<"+o,type:"type"});for(let o of qo(n.doc,t))s.push({label:"</"+o+">",type:"type",boost:99-r++});return{from:i,to:i,options:s,validFor:/^<\/?[:\-\.\w\u00b7-\uffff]*$/}}function Hx(n,e,t,i,s){let r=Ms(t),o=r?e.tags[ui(n.doc,r)]:null,l=o&&o.attrs?Object.keys(o.attrs).concat(e.globalAttrNames):e.globalAttrNames;return{from:i,to:s,options:l.map(a=>({label:a,type:"property"})),validFor:Pd}}function Kx(n,e,t,i,s){var r;let o=(r=t.parent)===null||r===void 0?void 0:r.getChild("AttributeName"),l=[],a;if(o){let h=n.sliceDoc(o.from,o.to),f=e.globalAttrs[h];if(!f){let d=Ms(t),u=d?e.tags[ui(n.doc,d)]:null;f=(u==null?void 0:u.attrs)&&u.attrs[h]}if(f){let d=n.sliceDoc(i,s).toLowerCase(),u='"',O='"';/^['"]/.test(d)?(a=d[0]=='"'?/^[^"]*$/:/^[^']*$/,u="",O=n.sliceDoc(s,s+1)==d[0]?"":d[0],d=d.slice(1),i++):a=/^[^\s<>='"]*$/;for(let p of f)l.push({label:p,apply:u+p+O,type:"constant"})}}return{from:i,to:s,options:l,validFor:a}}function Jx(n,e){let{state:t,pos:i}=e,s=H(t).resolveInner(i),r=s.resolve(i,-1);for(let o=i,l;s==r&&(l=r.childBefore(o));){let a=l.lastChild;if(!a||!a.type.isError||a.from<a.to)break;s=r=l,o=a.from}return r.name=="TagName"?r.parent&&/CloseTag$/.test(r.parent.name)?Md(t,r,r.from,i):vd(t,n,r,r.from,i):r.name=="StartTag"?vd(t,n,r,i,i):r.name=="StartCloseTag"||r.name=="IncompleteCloseTag"?Md(t,r,i,i):e.explicit&&(r.name=="OpenTag"||r.name=="SelfClosingTag")||r.name=="AttributeName"?Hx(t,n,r,r.name=="AttributeName"?r.from:i,i):r.name=="Is"||r.name=="AttributeValue"||r.name=="UnquotedAttributeValue"?Kx(t,n,r,r.name=="Is"?i:r.from,i):e.explicit&&(s.name=="Element"||s.name=="Text"||s.name=="Document")?Fx(t,n,r,i):null}function e$(n){let{extraTags:e,extraGlobalAttributes:t}=n,i=t||e?new vs(e,t):vs.default;return s=>Jx(i,s)}const Go=It.define({name:"html",parser:Wb.configure({props:[Wi.add({Element(n){let e=/^(\s*)(<\/)?/.exec(n.textAfter);return n.node.to<=n.pos+e[0].length?n.continue():n.lineIndent(n.node.from)+(e[2]?0:n.unit)},"OpenTag CloseTag SelfClosingTag"(n){return n.column(n.node.from)+n.unit},Document(n){if(n.pos+/\s*/.exec(n.textAfter)[0].length<n.node.to)return n.continue();let e=null,t;for(let i=n.node;;){let s=i.lastChild;if(!s||s.name!="Element"||s.to!=i.to)break;e=i=s}return e&&!((t=e.lastChild)&&(t.name=="CloseTag"||t.name=="SelfClosingTag"))?n.lineIndent(e.from)+n.unit:null}}),Xi.add({Element(n){let e=n.firstChild,t=n.lastChild;return!e||e.name!="OpenTag"?null:{from:e.to,to:t.name=="CloseTag"?t.from:n.to}}})],wrap:Zb([{tag:"script",attrs:n=>n.type=="text/typescript"||n.lang=="ts",parser:bd.parser},{tag:"script",attrs:n=>n.type=="text/jsx",parser:xd.parser},{tag:"script",attrs:n=>n.type=="text/typescript-jsx",parser:$d.parser},{tag:"script",attrs(n){return!n.type||/^(?:text|application)\/(?:x-)?(?:java|ecma)script$|^module$|^$/i.test(n.type)},parser:Ct.parser},{tag:"style",attrs(n){return(!n.lang||n.lang=="css")&&(!n.type||/^(text\/)?(x-)?(stylesheet|css)$/i.test(n.type))},parser:Bo.parser}])}),languageData:{commentTokens:{block:{open:"<!--",close:"-->"}},indentOnInput:/^\s*<\/\w+\W$/,wordChars:"-._"}});function t$(n={}){let e=Go;return n.matchClosingTags===!1&&(e=e.configure({dialect:"noMatch"})),n.selfClosingTags===!0&&(e=e.configure({dialect:"selfClosing"})),new Gn(e,[Go.data.of({autocomplete:e$(n)}),n.autoCloseTags!==!1?i$:[],kd().support,fd().support])}const i$=T.inputHandler.of((n,e,t,i)=>{if(n.composing||n.state.readOnly||e!=t||i!=">"&&i!="/"||!Go.isActiveAt(n.state,e,-1))return!1;let{state:s}=n,r=s.changeByRange(o=>{var l,a,h;let{head:f}=o,d=H(s).resolveInner(f,-1),u;if((d.name=="TagName"||d.name=="StartTag")&&(d=d.parent),i==">"&&d.name=="OpenTag"){if(((a=(l=d.parent)===null||l===void 0?void 0:l.lastChild)===null||a===void 0?void 0:a.name)!="CloseTag"&&(u=ui(s.doc,d.parent,f))){let O=n.state.doc.sliceString(f,f+1)===">",p=`${O?"":">"}</${u}>`;return{range:S.cursor(f+1),changes:{from:f+(O?1:0),insert:p}}}}else if(i=="/"&&d.name=="OpenTag"){let O=d.parent,p=O==null?void 0:O.parent;if(O.from==f-1&&((h=p.lastChild)===null||h===void 0?void 0:h.name)!="CloseTag"&&(u=ui(s.doc,p,f))){let y=n.state.doc.sliceString(f,f+1)===">",g=`/${u}${y?"":">"}`,Q=f+g.length+(y?1:0);return{range:S.cursor(Q),changes:{from:f,insert:g}}}}return{range:o}});return r.changes.empty?!1:(n.dispatch(r,{userEvent:"input.type",scrollIntoView:!0}),!0)}),n$=Ni({String:m.string,Number:m.number,"True False":m.bool,PropertyName:m.propertyName,Null:m.null,",":m.separator,"[ ]":m.squareBracket,"{ }":m.brace}),s$=Bt.deserialize({version:14,states:"$bOVQPOOOOQO'#Cb'#CbOnQPO'#CeOvQPO'#CjOOQO'#Cp'#CpQOQPOOOOQO'#Cg'#CgO}QPO'#CfO!SQPO'#CrOOQO,59P,59PO![QPO,59PO!aQPO'#CuOOQO,59U,59UO!iQPO,59UOVQPO,59QOqQPO'#CkO!nQPO,59^OOQO1G.k1G.kOVQPO'#ClO!vQPO,59aOOQO1G.p1G.pOOQO1G.l1G.lOOQO,59V,59VOOQO-E6i-E6iOOQO,59W,59WOOQO-E6j-E6j",stateData:"#O~OcOS~OQSORSOSSOTSOWQO]ROePO~OVXOeUO~O[[O~PVOg^O~Oh_OVfX~OVaO~OhbO[iX~O[dO~Oh_OVfa~OhbO[ia~O",goto:"!kjPPPPPPkPPkqwPPk{!RPPP!XP!ePP!hXSOR^bQWQRf_TVQ_Q`WRg`QcZRicQTOQZRQe^RhbRYQR]R",nodeNames:"⚠ JsonText True False Null Number String } { Object Property PropertyName ] [ Array",maxTerm:25,nodeProps:[["openedBy",7,"{",12,"["],["closedBy",8,"}",13,"]"]],propSources:[n$],skippedNodes:[0],repeatNodeCount:2,tokenData:"(p~RaXY!WYZ!W]^!Wpq!Wrs!]|}$i}!O$n!Q!R$w!R![&V![!]&h!}#O&m#P#Q&r#Y#Z&w#b#c'f#h#i'}#o#p(f#q#r(k~!]Oc~~!`Upq!]qr!]rs!rs#O!]#O#P!w#P~!]~!wOe~~!zXrs!]!P!Q!]#O#P!]#U#V!]#Y#Z!]#b#c!]#f#g!]#h#i!]#i#j#g~#jR!Q![#s!c!i#s#T#Z#s~#vR!Q![$P!c!i$P#T#Z$P~$SR!Q![$]!c!i$]#T#Z$]~$`R!Q![!]!c!i!]#T#Z!]~$nOh~~$qQ!Q!R$w!R![&V~$|RT~!O!P%V!g!h%k#X#Y%k~%YP!Q![%]~%bRT~!Q![%]!g!h%k#X#Y%k~%nR{|%w}!O%w!Q![%}~%zP!Q![%}~&SPT~!Q![%}~&[ST~!O!P%V!Q![&V!g!h%k#X#Y%k~&mOg~~&rO]~~&wO[~~&zP#T#U&}~'QP#`#a'T~'WP#g#h'Z~'^P#X#Y'a~'fOR~~'iP#i#j'l~'oP#`#a'r~'uP#`#a'x~'}OS~~(QP#f#g(T~(WP#i#j(Z~(^P#X#Y(a~(fOQ~~(kOW~~(pOV~",tokenizers:[0],topRules:{JsonText:[0,1]},tokenPrec:0}),r$=It.define({name:"json",parser:s$.configure({props:[Wi.add({Object:si({except:/^\s*\}/}),Array:si({except:/^\s*\]/})}),Xi.add({"Object Array":Fr})]}),languageData:{closeBrackets:{brackets:["[","{",'"']},indentOnInput:/^\s*[\}\]]$/}});function o$(){return new Gn(r$)}var l$=c.defineComponent({__name:"Codemirror",props:{modelValue:{default:""},height:{default:"auto"},language:{default:"yaml"},extensions:{default:()=>[]}},emits:["update:modelValue","change"],setup(n,{emit:e}){const t=n,i={yaml:to.define(sb),html:t$(),javascript:kd({jsx:!0,typescript:!0}),css:fd(),json:o$()},s=T.theme({"&":{height:t.height}}),r=c.shallowRef(),o=c.shallowRef(),l=c.shallowRef(),a=()=>{const h=typeof t.language=="string"?i[t.language]:t.language;let f=[tb,T.lineWrapping,s,h,T.updateListener.of(d=>{if(d.docChanged){const u=d.state.doc.toString();e("update:modelValue",u),e("change",u)}})];t.extensions&&(f=f.concat(t.extensions)),o.value=I.create({doc:t.modelValue,extensions:f}),l.value=new T({state:o.value,parent:r.value})};return c.onMounted(()=>{a(),c.watch(()=>t.modelValue,h=>{var f,d,u;h!==((f=l.value)==null?void 0:f.state.doc.toString())&&((u=l.value)==null||u.dispatch({changes:{from:0,to:(d=l.value)==null?void 0:d.state.doc.length,insert:h}}))})}),c.onBeforeUnmount(()=>{l.value&&l.value.destroy()}),(h,f)=>(c.openBlock(),c.createElementBlock("div",{ref_key:"wrapper",ref:r,class:"codemirror-wrapper contents"},null,512))}}),a$="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA1NTguMDk1IDQ3NS43OTgiPgogIDxnPgogICAgPHBhdGgKICAgICAgZD0iTTU1NS41MzYsMzI4LjA0OWMtMTUuMjQzLTc2Ljg2Ni0xMDQuNTQ3LTEzOC4zLTEyMS45NjUtMjE4LjRDNDAxLjkxNCw3Ljc0LDI5Ny41Ny04LjM3MiwyMjkuNzY1LDM1Ljg4N2MtMTA3LjQzNyw3MC4xMjksNy4xNzYsODcuNTMyLTIwMy40NzMsMjUzLjQ1My01Mi4wMTQsNDAuOTY5LTM1LjQ0LDIyMS44MTcsMTI4LjE5MywxODAuMzEzLDg4LjA2LTIyLjMzNiwxMTQuODMtMjUuNDcsMTU0LjQ0LTI5LjE0OEM0MDguNzYzLDQzMS4yMzYsNTgxLjEyMyw0NTcuMDc5LDU1NS41MzYsMzI4LjA0OVoiC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Ij48L2NpcmNsZT4KICAgICAgICA8Y2lyY2xlIGN4PSI1MjEuNDE3IiBjeT0iMTguNzE1IiByPSIwLjk3MiIgZmlsbD0iIzI5MmEyZSI+PC9jaXJjbGU+CiAgICAgIDwvZz4KICAgIDwvZz4KICA8L2c+Cjwvc3ZnPgo=";const h$={class:"empty-wrapper"},c$={class:"empty-image h-32 w-32"},f$=["src"],d$={class:"empty-title"},u$={class:"empty-message"},O$={class:"empty-actions"};var p$=c.defineComponent({__name:"Empty",props:{title:null,message:null,image:null},setup(n){return(e,t)=>(c.openBlock(),c.createElementBlock("div",h$,[c.createElementVNode("div",c$,[c.renderSlot(e.$slots,"image",{},()=>[c.createElementVNode("img",{src:n.image||c.unref(a$),alt:"Empty"},null,8,f$)])]),c.createElementVNode("div",d$,c.toDisplayString(n.title),1),c.createElementVNode("div",u$,[c.renderSlot(e.$slots,"message",{},()=>[c.createTextVNode(c.toDisplayString(n.message),1)])]),c.createElementVNode("div",O$,[c.renderSlot(e.$slots,"actions")])]))}}),kT="";const m$=c.createElementVNode("div",{class:"status-dot-body"},[c.createElementVNode("span",{class:"status-dot-inner"})],-1),g$={class:"status-dot-text"};var y$=c.defineComponent({__name:"StatusDot",props:{state:{default:"success"},animate:{type:Boolean,default:!1},text:{default:void 0}},setup(n){const e=n,t=c.computed(()=>[`status-dot-${e.state}`,{"status-dot-animate":e.animate}]);return(i,s)=>(c.openBlock(),c.createElementBlock("div",{class:c.normalizeClass(["status-dot-wrapper",c.unref(t)])},[m$,i.$slots.text||n.text?c.renderSlot(i.$slots,"text",{key:0},()=>[c.createElementVNode("span",g$,c.toDisplayString(n.text),1)]):c.createCommentVNode("",!0)],2))}}),TT="";const Q$={class:"entity-selected-indicator"},S$={class:"entity-body"},w$={key:0,class:"entity-checkbox"},b$={class:"entity-start"},x$={class:"entity-end"},$$={key:1,class:"entity-dropdown"},k$={class:"w-48 p-2"},T$={key:0};var C$=c.defineComponent({__name:"Entity",props:{isSelected:{type:Boolean,default:!1}},setup(n){const e=n,t=c.computed(()=>{const i=[];return e.isSelected&&i.push("entity-selected"),i});return(i,s)=>{const r=c.resolveComponent("FloatingDropdown");return c.openBlock(),c.createElementBlock("div",{class:c.normalizeClass([c.unref(t),"entity-wrapper group"])},[c.withDirectives(c.createElementVNode("div",Q$,null,512),[[c.vShow,n.isSelected]]),c.renderSlot(i.$slots,"prepend"),c.createElementVNode("div",S$,[i.$slots.checkbox?(c.openBlock(),c.createElementBlock("div",w$,[c.renderSlot(i.$slots,"checkbox")])):c.createCommentVNode("",!0),c.createElementVNode("div",b$,[c.renderSlot(i.$slots,"start")]),c.createElementVNode("div",x$,[c.renderSlot(i.$slots,"end")]),i.$slots.dropdownItems?(c.openBlock(),c.createElementBlock("div",$$,[c.createVNode(r,null,{popper:c.withCtx(()=>[c.createElementVNode("div",k$,[c.createVNode(c.unref(Ho),{class:"w-full",direction:"column"},{default:c.withCtx(()=>[c.renderSlot(i.$slots,"dropdownItems")]),_:3})])]),default:c.withCtx(()=>[c.createElementVNode("div",{class:c.normalizeClass(["entity-dropdown-trigger group-hover:bg-gray-200/60",{"!bg-gray-300/60":n.isSelected}]),onClick:s[0]||(s[0]=c.withModifiers(()=>{},["stop"]))},[c.createVNode(c.unref(Uo))],2)]),_:3})])):c.createCommentVNode("",!0)]),i.$slots.footer?(c.openBlock(),c.createElementBlock("div",T$,[c.renderSlot(i.$slots,"footer")])):c.createCommentVNode("",!0)],2)}}}),CT="";const P$={key:0,class:"entity-field-title-body"},v$=["title"],M$={key:1,class:"entity-field-description-body"},_$=["title"];var A$=c.defineComponent({__name:"EntityField",props:{title:{default:void 0},description:{default:void 0},route:{default:void 0},width:{default:void 0}},emits:["click"],setup(n,{emit:e}){const t=n,i=c.computed(()=>{if(t.width){const s=typeof t.width=="string"?t.width:`${t.width}px`;return{width:s,maxWidth:s}}return{}});return(s,r)=>{const o=c.resolveComponent("RouterLink");return c.openBlock(),c.createElementBlock("div",{class:"entity-field-wrapper",style:c.normalizeStyle(c.unref(i))},[n.title||s.$slots.title?(c.openBlock(),c.createElementBlock("div",P$,[c.renderSlot(s.$slots,"title",{},()=>[c.createElementVNode("div",{class:"entity-field-title",onClick:r[0]||(r[0]=l=>e("click"))},[n.route?(c.openBlock(),c.createBlock(o,{key:0,class:"hover:text-gray-600",to:n.route,title:n.title},{default:c.withCtx(()=>[c.createTextVNode(c.toDisplayString(n.title),1)]),_:1},8,["to","title"])):(c.openBlock(),c.createElementBlock("span",{key:1,title:n.title},c.toDisplayString(n.title),9,v$))]),c.renderSlot(s.$slots,"extra")])])):c.createCommentVNode("",!0),n.description||s.$slots.description?(c.openBlock(),c.createElementBlock("div",M$,[c.renderSlot(s.$slots,"description",{},()=>[n.description?(c.openBlock(),c.createElementBlock("span",{key:0,class:"entity-field-description",title:n.description},c.toDisplayString(n.description),9,_$)):c.createCommentVNode("",!0)])])):c.createCommentVNode("",!0)],4)}}}),PT="";const R$={class:"toast-body"},D$={class:"toast-icon"},L$={class:"toast-content"},j$={class:"toast-description"},I$={key:0,class:"toast-control"},z$={key:0,class:"toast-count"};var N$=c.defineComponent({__name:"Toast",props:{type:{default:"success"},content:{default:""},duration:{default:3e3},closable:{type:Boolean,default:!0},frozenOnHover:{type:Boolean,default:!0},count:{default:0},onClose:{type:Function,default:void 0}},emits:["close"],setup(n,{expose:e,emit:t}){const i=n,s=c.ref(),r={success:{icon:rn,color:"text-green-500"},info:{icon:gi,color:"text-sky-500"},warning:{icon:mi,color:"text-orange-500"},error:{icon:Rs,color:"text-red-500"}},o=c.computed(()=>r[i.type]),l=()=>{i.duration<0||(s.value=setTimeout(()=>{h()},i.duration))},a=()=>{clearTimeout(s.value)},h=()=>{t("close")},f=()=>{i.frozenOnHover&&a()},d=()=>{i.frozenOnHover&&l()};return c.watchEffect(()=>{i.count>0&&(a(),l())}),c.onMounted(l),e({close:h}),(u,O)=>(c.openBlock(),c.createBlock(c.Transition,{appear:"","enter-active-class":"transform ease-out duration-300 transition","enter-from-class":"translate-x-0 -translate-y-2","enter-to-class":"translate-y-0","leave-active-class":"transition ease-in duration-100","leave-from-class":"opacity-100","leave-to-class":"opacity-0"},{default:c.withCtx(()=>[c.createElementVNode("div",{class:"toast-wrapper",onMouseenter:f,onMouseleave:d},[c.createElementVNode("div",R$,[c.createElementVNode("div",D$,[(c.openBlock(),c.createBlock(c.resolveDynamicComponent(c.unref(o).icon),{class:c.normalizeClass([c.unref(o).color])},null,8,["class"]))]),c.createElementVNode("div",L$,[c.createElementVNode("div",j$,[c.renderSlot(u.$slots,"default",{},()=>[c.createTextVNode(c.toDisplayString(n.content),1)])])]),n.closable?(c.openBlock(),c.createElementBlock("div",I$,[c.createVNode(c.unref(pi),{class:"",onClick:h})])):c.createCommentVNode("",!0)]),n.count?(c.openBlock(),c.createElementBlock("div",z$,[c.createElementVNode("span",null,c.toDisplayString(n.count),1)])):c.createCommentVNode("",!0)],32)]),_:3}))}}),vT="";let _d=0;const Wt=[],E$={frozenOnHover:!0,duration:3e3,count:0},ht=n=>{var l;const e="toast-"+_d++,t={...E$,...n,id:e};let i=document.body.querySelector(".toast-container");if(i||(i=document.createElement("div"),i.className="toast-container",document.body.appendChild(i)),Wt.length>0){const a=Wt.find(h=>{const{vnode:f}=h;if(f!=null&&f.props)return f.props.content===t.content&&f.props.type===t.type});if((l=a==null?void 0:a.vnode.component)!=null&&l.props)return a.vnode.component.props.count+=1,_d=Wt.length-1,a}const{vnode:s,container:r}=V$(N$,t);r.firstElementChild&&i.appendChild(r.firstElementChild),s!=null&&s.props&&(s.props.onClose=()=>{B$(e),c.render(null,r)});const o={id:e,vnode:s,close:()=>{var a,h;(h=(a=s==null?void 0:s.component)==null?void 0:a.exposed)==null||h.close()}};return Wt.push(o),o};function V$(n,e){const t=c.createVNode(n,e),i=document.createElement("div");return c.render(t,i),{vnode:t,container:i}}function B$(n){const e=Wt.findIndex(t=>t.id===n);if(e>=0&&(Wt.splice(e,1),Wt.length===0)){const t=document.body.querySelector(".toast-container");t==null||t.remove()}}ht.success=(n,e)=>ht({...e,type:"success",content:n}),ht.info=(n,e)=>ht({...e,type:"info",content:n}),ht.warning=(n,e)=>ht({...e,type:"warning",content:n}),ht.error=(n,e)=>ht({...e,type:"error",content:n});const W$={},X$={class:"flex items-center justify-center py-4"},Z$=[c.createElementVNode("svg",{class:"h-5 w-5 animate-spin",fill:"none",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},[c.createElementVNode("circle",{class:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor","stroke-width":"4"}),c.createElementVNode("path",{class:"opacity-75",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z",fill:"currentColor"})],-1)];function q$(n,e){return c.openBlock(),c.createElementBlock("div",X$,Z$)}var G$=Ds(W$,[["render",q$]]);return w.Dialog=st,w.IconAddCircle=bO,w.IconArrowDown=Ud,w.IconArrowDownCircleLine=Vm,w.IconArrowDownLine=iu,w.IconArrowLeft=As,w.IconArrowRight=sn,w.IconArrowUpCircleLine=Im,w.IconArrowUpLine=Kd,w.IconBookRead=ou,w.IconCalendar=Hp,w.IconCharacterRecognition=Gp,w.IconCheckboxCircle=rn,w.IconCheckboxFill=zO,w.IconClipboardLine=Ym,w.IconClose=pi,w.IconCloseCircle=Yo,w.IconCodeBoxLine=Lp,w.IconComputer=qO,w.IconDashboard=zd,w.IconDatabase2Line=Np,w.IconDeleteBin=yO,w.IconErrorWarning=mi,w.IconExchange=ap,w.IconExternalLinkLine=gm,w.IconEye=Bu,w.IconEyeOff=qu,w.IconFolder=Fu,w.IconForbidLine=Rs,w.IconGitBranch=$p,w.IconGitHub=dp,w.IconGrid=DO,w.IconInformation=gi,w.IconLink=tm,w.IconList=MO,w.IconListSettings=bu,w.IconMagic=Tu,w.IconMessage=Ou,w.IconMore=Uo,w.IconMotionLine=hm,w.IconPages=cu,w.IconPalette=yu,w.IconPhone=FO,w.IconPlug=zu,w.IconRefreshLine=wm,w.IconReplyLine=um,w.IconRocketLine=Rm,w.IconSave=TO,w.IconSearch=BO,w.IconSendPlaneFill=vm,w.IconSettings=Du,w.IconShieldUser=Sp,w.IconStopCircle=Pp,w.IconTablet=ep,w.IconTeam=Wp,w.IconTerminalBoxLine=Zm,w.IconUpload=mp,w.IconUserFollow=sp,w.IconUserLine=rm,w.IconUserSettings=Mu,w.IconWindowLine=km,w.Toast=ht,w.VAlert=ag,w.VAvatar=tg,w.VButton=Ls,w.VCard=Qg,w.VCodemirror=l$,w.VDialog=Jo,w.VEmpty=p$,w.VEntity=C$,w.VEntityField=A$,w.VLoading=G$,w.VMenu=Tg,w.VMenuItem=_g,w.VMenuLabel=Lg,w.VModal=Fo,w.VPageHeader=$g,w.VPagination=C1,w.VSpace=Ho,w.VStatusDot=y$,w.VSwitch=i1,w.VTabItem=qg,w.VTabbar=Ko,w.VTabs=Xg,w.VTag=e1,w}({},Vue,VueRouter,VueUse);
25
+ }`,{label:"class",detail:"definition",type:"keyword"}),Ne('import {${names}} from "${module}"\n${}',{label:"import",detail:"named",type:"keyword"}),Ne('import ${name} from "${module}"\n${}',{label:"import",detail:"default",type:"keyword"})],gd=new uQ,yd=new Set(["Script","Block","FunctionExpression","FunctionDeclaration","ArrowFunction","MethodDeclaration","ForStatement"]);function tn(n){return(e,t)=>{let i=e.node.getChild("VariableDefinition");return i&&t(i,n),!0}}const Bx=["FunctionDeclaration"],Wx={FunctionDeclaration:tn("function"),ClassDeclaration:tn("class"),ClassExpression:()=>!0,EnumDeclaration:tn("constant"),TypeAliasDeclaration:tn("type"),NamespaceDeclaration:tn("namespace"),VariableDefinition(n,e){n.matchContext(Bx)||e(n,"variable")},TypeDefinition(n,e){e(n,"type")},__proto__:null};function Qd(n,e){let t=gd.get(e);if(t)return t;let i=[],s=!0;function r(o,l){let a=n.sliceString(o.from,o.to);i.push({label:a,type:l})}return e.cursor(U.IncludeAnonymous).iterate(o=>{if(s)s=!1;else if(o.name){let l=Wx[o.name];if(l&&l(o,r)||yd.has(o.name))return!1}else if(o.to-o.from>8192){for(let l of Qd(n,o.node))i.push(l);return!1}}),gd.set(e,i),i}const Sd=/^[\w$\xa1-\uffff][\w$\d\xa1-\uffff]*$/,wd=["TemplateString","String","RegExp","LineComment","BlockComment","VariableDefinition","TypeDefinition","Label","PropertyDefinition","PropertyName","PrivatePropertyDefinition","PrivatePropertyName"];function Xx(n){let e=H(n.state).resolveInner(n.pos,-1);if(wd.indexOf(e.name)>-1)return null;let t=e.name=="VariableName"||e.to-e.from<20&&Sd.test(n.state.sliceDoc(e.from,e.to));if(!t&&!n.explicit)return null;let i=[];for(let s=e;s;s=s.parent)yd.has(s.name)&&(i=i.concat(Qd(n.state.doc,s)));return{options:i,from:t?e.from:n.pos,validFor:Sd}}const Ct=It.define({name:"javascript",parser:Ex.configure({props:[Wi.add({IfStatement:si({except:/^\s*({|else\b)/}),TryStatement:si({except:/^\s*({|catch\b|finally\b)/}),LabeledStatement:zQ,SwitchBody:n=>{let e=n.textAfter,t=/^\s*\}/.test(e),i=/^\s*(case|default)\b/.test(e);return n.baseIndent+(t?0:i?1:2)*n.unit},Block:IQ({closing:"}"}),ArrowFunction:n=>n.baseIndent+n.unit,"TemplateString BlockComment":()=>null,"Statement Property":si({except:/^{/}),JSXElement(n){let e=/^\s*<\//.test(n.textAfter);return n.lineIndent(n.node.from)+(e?0:n.unit)},JSXEscape(n){let e=/\s*\}/.test(n.textAfter);return n.lineIndent(n.node.from)+(e?0:n.unit)},"JSXOpenTag JSXSelfClosingTag"(n){return n.column(n.node.from)+n.unit}}),Xi.add({"Block ClassBody SwitchBody EnumBody ObjectExpression ArrayExpression":Fr,BlockComment(n){return{from:n.from+2,to:n.to-2}}})]}),languageData:{closeBrackets:{brackets:["(","[","{","'",'"',"`"]},commentTokens:{line:"//",block:{open:"/*",close:"*/"}},indentOnInput:/^\s*(?:case |default:|\{|\}|<\/)$/,wordChars:"$"}}),bd=Ct.configure({dialect:"ts"},"typescript"),xd=Ct.configure({dialect:"jsx"}),$d=Ct.configure({dialect:"jsx ts"},"typescript"),Zx="break case const continue default delete export extends false finally in instanceof let new return static super switch this throw true typeof var yield".split(" ").map(n=>({label:n,type:"keyword"}));function kd(n={}){let e=n.jsx?n.typescript?$d:xd:n.typescript?bd:Ct;return new Gn(e,[Ct.data.of({autocomplete:iw(wd,af(Vx.concat(Zx)))}),Ct.data.of({autocomplete:Xx}),n.jsx?Gx:[]])}function Td(n,e,t=n.length){if(!e)return"";let i=e.getChild("JSXIdentifier");return i?n.sliceString(i.from,Math.min(i.to,t)):""}const qx=typeof navigator=="object"&&/Android\b/.test(navigator.userAgent),Gx=T.inputHandler.of((n,e,t,i)=>{if((qx?n.composing:n.compositionStarted)||n.state.readOnly||e!=t||i!=">"&&i!="/"||!Ct.isActiveAt(n.state,e,-1))return!1;let{state:s}=n,r=s.changeByRange(o=>{var l,a,h;let{head:f}=o,d=H(s).resolveInner(f,-1),u;if(d.name=="JSXStartTag"&&(d=d.parent),i==">"&&d.name=="JSXFragmentTag")return{range:S.cursor(f+1),changes:{from:f,insert:"><>"}};if(i==">"&&d.name=="JSXIdentifier"){if(((a=(l=d.parent)===null||l===void 0?void 0:l.lastChild)===null||a===void 0?void 0:a.name)!="JSXEndTag"&&(u=Td(s.doc,d.parent,f)))return{range:S.cursor(f+1),changes:{from:f,insert:`></${u}>`}}}else if(i=="/"&&d.name=="JSXFragmentTag"){let O=d.parent,p=O==null?void 0:O.parent;if(O.from==f-1&&((h=p.lastChild)===null||h===void 0?void 0:h.name)!="JSXEndTag"&&(u=Td(s.doc,p==null?void 0:p.firstChild,f))){let y=`/${u}>`;return{range:S.cursor(f+y.length),changes:{from:f,insert:y}}}}return{range:o}});return r.changes.empty?!1:(n.dispatch(r,{userEvent:"input.type",scrollIntoView:!0}),!0)}),nn=["_blank","_self","_top","_parent"],Wo=["ascii","utf-8","utf-16","latin1","latin1"],Xo=["get","post","put","delete"],Zo=["application/x-www-form-urlencoded","multipart/form-data","text/plain"],ve=["true","false"],v={},Ux={a:{attrs:{href:null,ping:null,type:null,media:null,target:nn,hreflang:null}},abbr:v,address:v,area:{attrs:{alt:null,coords:null,href:null,target:null,ping:null,media:null,hreflang:null,type:null,shape:["default","rect","circle","poly"]}},article:v,aside:v,audio:{attrs:{src:null,mediagroup:null,crossorigin:["anonymous","use-credentials"],preload:["none","metadata","auto"],autoplay:["autoplay"],loop:["loop"],controls:["controls"]}},b:v,base:{attrs:{href:null,target:nn}},bdi:v,bdo:v,blockquote:{attrs:{cite:null}},body:v,br:v,button:{attrs:{form:null,formaction:null,name:null,value:null,autofocus:["autofocus"],disabled:["autofocus"],formenctype:Zo,formmethod:Xo,formnovalidate:["novalidate"],formtarget:nn,type:["submit","reset","button"]}},canvas:{attrs:{width:null,height:null}},caption:v,center:v,cite:v,code:v,col:{attrs:{span:null}},colgroup:{attrs:{span:null}},command:{attrs:{type:["command","checkbox","radio"],label:null,icon:null,radiogroup:null,command:null,title:null,disabled:["disabled"],checked:["checked"]}},data:{attrs:{value:null}},datagrid:{attrs:{disabled:["disabled"],multiple:["multiple"]}},datalist:{attrs:{data:null}},dd:v,del:{attrs:{cite:null,datetime:null}},details:{attrs:{open:["open"]}},dfn:v,div:v,dl:v,dt:v,em:v,embed:{attrs:{src:null,type:null,width:null,height:null}},eventsource:{attrs:{src:null}},fieldset:{attrs:{disabled:["disabled"],form:null,name:null}},figcaption:v,figure:v,footer:v,form:{attrs:{action:null,name:null,"accept-charset":Wo,autocomplete:["on","off"],enctype:Zo,method:Xo,novalidate:["novalidate"],target:nn}},h1:v,h2:v,h3:v,h4:v,h5:v,h6:v,head:{children:["title","base","link","style","meta","script","noscript","command"]},header:v,hgroup:v,hr:v,html:{attrs:{manifest:null}},i:v,iframe:{attrs:{src:null,srcdoc:null,name:null,width:null,height:null,sandbox:["allow-top-navigation","allow-same-origin","allow-forms","allow-scripts"],seamless:["seamless"]}},img:{attrs:{alt:null,src:null,ismap:null,usemap:null,width:null,height:null,crossorigin:["anonymous","use-credentials"]}},input:{attrs:{alt:null,dirname:null,form:null,formaction:null,height:null,list:null,max:null,maxlength:null,min:null,name:null,pattern:null,placeholder:null,size:null,src:null,step:null,value:null,width:null,accept:["audio/*","video/*","image/*"],autocomplete:["on","off"],autofocus:["autofocus"],checked:["checked"],disabled:["disabled"],formenctype:Zo,formmethod:Xo,formnovalidate:["novalidate"],formtarget:nn,multiple:["multiple"],readonly:["readonly"],required:["required"],type:["hidden","text","search","tel","url","email","password","datetime","date","month","week","time","datetime-local","number","range","color","checkbox","radio","file","submit","image","reset","button"]}},ins:{attrs:{cite:null,datetime:null}},kbd:v,keygen:{attrs:{challenge:null,form:null,name:null,autofocus:["autofocus"],disabled:["disabled"],keytype:["RSA"]}},label:{attrs:{for:null,form:null}},legend:v,li:{attrs:{value:null}},link:{attrs:{href:null,type:null,hreflang:null,media:null,sizes:["all","16x16","16x16 32x32","16x16 32x32 64x64"]}},map:{attrs:{name:null}},mark:v,menu:{attrs:{label:null,type:["list","context","toolbar"]}},meta:{attrs:{content:null,charset:Wo,name:["viewport","application-name","author","description","generator","keywords"],"http-equiv":["content-language","content-type","default-style","refresh"]}},meter:{attrs:{value:null,min:null,low:null,high:null,max:null,optimum:null}},nav:v,noscript:v,object:{attrs:{data:null,type:null,name:null,usemap:null,form:null,width:null,height:null,typemustmatch:["typemustmatch"]}},ol:{attrs:{reversed:["reversed"],start:null,type:["1","a","A","i","I"]},children:["li","script","template","ul","ol"]},optgroup:{attrs:{disabled:["disabled"],label:null}},option:{attrs:{disabled:["disabled"],label:null,selected:["selected"],value:null}},output:{attrs:{for:null,form:null,name:null}},p:v,param:{attrs:{name:null,value:null}},pre:v,progress:{attrs:{value:null,max:null}},q:{attrs:{cite:null}},rp:v,rt:v,ruby:v,samp:v,script:{attrs:{type:["text/javascript"],src:null,async:["async"],defer:["defer"],charset:Wo}},section:v,select:{attrs:{form:null,name:null,size:null,autofocus:["autofocus"],disabled:["disabled"],multiple:["multiple"]}},slot:{attrs:{name:null}},small:v,source:{attrs:{src:null,type:null,media:null}},span:v,strong:v,style:{attrs:{type:["text/css"],media:null,scoped:null}},sub:v,summary:v,sup:v,table:v,tbody:v,td:{attrs:{colspan:null,rowspan:null,headers:null}},template:v,textarea:{attrs:{dirname:null,form:null,maxlength:null,name:null,placeholder:null,rows:null,cols:null,autofocus:["autofocus"],disabled:["disabled"],readonly:["readonly"],required:["required"],wrap:["soft","hard"]}},tfoot:v,th:{attrs:{colspan:null,rowspan:null,headers:null,scope:["row","col","rowgroup","colgroup"]}},thead:v,time:{attrs:{datetime:null}},title:v,tr:v,track:{attrs:{src:null,label:null,default:null,kind:["subtitles","captions","descriptions","chapters","metadata"],srclang:null}},ul:{children:["li","script","template","ul","ol"]},var:v,video:{attrs:{src:null,poster:null,width:null,height:null,crossorigin:["anonymous","use-credentials"],preload:["auto","metadata","none"],autoplay:["autoplay"],mediagroup:["movie"],muted:["muted"],controls:["controls"]}},wbr:v},Yx={accesskey:null,class:null,contenteditable:ve,contextmenu:null,dir:["ltr","rtl","auto"],draggable:["true","false","auto"],dropzone:["copy","move","link","string:","file:"],hidden:["hidden"],id:null,inert:["inert"],itemid:null,itemprop:null,itemref:null,itemscope:["itemscope"],itemtype:null,lang:["ar","bn","de","en-GB","en-US","es","fr","hi","id","ja","pa","pt","ru","tr","zh"],spellcheck:ve,autocorrect:ve,autocapitalize:ve,style:null,tabindex:null,title:null,translate:["yes","no"],onclick:null,rel:["stylesheet","alternate","author","bookmark","help","license","next","nofollow","noreferrer","prefetch","prev","search","tag"],role:"alert application article banner button cell checkbox complementary contentinfo dialog document feed figure form grid gridcell heading img list listbox listitem main navigation region row rowgroup search switch tab table tabpanel textbox timer".split(" "),"aria-activedescendant":null,"aria-atomic":ve,"aria-autocomplete":["inline","list","both","none"],"aria-busy":ve,"aria-checked":["true","false","mixed","undefined"],"aria-controls":null,"aria-describedby":null,"aria-disabled":ve,"aria-dropeffect":null,"aria-expanded":["true","false","undefined"],"aria-flowto":null,"aria-grabbed":["true","false","undefined"],"aria-haspopup":ve,"aria-hidden":ve,"aria-invalid":["true","false","grammar","spelling"],"aria-label":null,"aria-labelledby":null,"aria-level":null,"aria-live":["off","polite","assertive"],"aria-multiline":ve,"aria-multiselectable":ve,"aria-owns":null,"aria-posinset":null,"aria-pressed":["true","false","mixed","undefined"],"aria-readonly":ve,"aria-relevant":null,"aria-required":ve,"aria-selected":["true","false","undefined"],"aria-setsize":null,"aria-sort":["ascending","descending","none","other"],"aria-valuemax":null,"aria-valuemin":null,"aria-valuenow":null,"aria-valuetext":null};class vs{constructor(e,t){this.tags=Object.assign(Object.assign({},Ux),e),this.globalAttrs=Object.assign(Object.assign({},Yx),t),this.allTags=Object.keys(this.tags),this.globalAttrNames=Object.keys(this.globalAttrs)}}vs.default=new vs;function ui(n,e,t=n.length){if(!e)return"";let i=e.firstChild,s=i&&i.getChild("TagName");return s?n.sliceString(s.from,Math.min(s.to,t)):""}function Ms(n,e=!1){for(let t=n.parent;t;t=t.parent)if(t.name=="Element")if(e)e=!1;else return t;return null}function Cd(n,e,t){let i=t.tags[ui(n,Ms(e,!0))];return(i==null?void 0:i.children)||t.allTags}function qo(n,e){let t=[];for(let i=e;i=Ms(i);){let s=ui(n,i);if(s&&i.lastChild.name=="CloseTag")break;s&&t.indexOf(s)<0&&(e.name=="EndTag"||e.from>=i.firstChild.to)&&t.push(s)}return t}const Pd=/^[:\-\.\w\u00b7-\uffff]*$/;function vd(n,e,t,i,s){let r=/\s*>/.test(n.sliceDoc(s,s+5))?"":">";return{from:i,to:s,options:Cd(n.doc,t,e).map(o=>({label:o,type:"type"})).concat(qo(n.doc,t).map((o,l)=>({label:"/"+o,apply:"/"+o+r,type:"type",boost:99-l}))),validFor:/^\/?[:\-\.\w\u00b7-\uffff]*$/}}function Md(n,e,t,i){let s=/\s*>/.test(n.sliceDoc(i,i+5))?"":">";return{from:t,to:i,options:qo(n.doc,e).map((r,o)=>({label:r,apply:r+s,type:"type",boost:99-o})),validFor:Pd}}function Fx(n,e,t,i){let s=[],r=0;for(let o of Cd(n.doc,t,e))s.push({label:"<"+o,type:"type"});for(let o of qo(n.doc,t))s.push({label:"</"+o+">",type:"type",boost:99-r++});return{from:i,to:i,options:s,validFor:/^<\/?[:\-\.\w\u00b7-\uffff]*$/}}function Hx(n,e,t,i,s){let r=Ms(t),o=r?e.tags[ui(n.doc,r)]:null,l=o&&o.attrs?Object.keys(o.attrs).concat(e.globalAttrNames):e.globalAttrNames;return{from:i,to:s,options:l.map(a=>({label:a,type:"property"})),validFor:Pd}}function Kx(n,e,t,i,s){var r;let o=(r=t.parent)===null||r===void 0?void 0:r.getChild("AttributeName"),l=[],a;if(o){let h=n.sliceDoc(o.from,o.to),f=e.globalAttrs[h];if(!f){let d=Ms(t),u=d?e.tags[ui(n.doc,d)]:null;f=(u==null?void 0:u.attrs)&&u.attrs[h]}if(f){let d=n.sliceDoc(i,s).toLowerCase(),u='"',O='"';/^['"]/.test(d)?(a=d[0]=='"'?/^[^"]*$/:/^[^']*$/,u="",O=n.sliceDoc(s,s+1)==d[0]?"":d[0],d=d.slice(1),i++):a=/^[^\s<>='"]*$/;for(let p of f)l.push({label:p,apply:u+p+O,type:"constant"})}}return{from:i,to:s,options:l,validFor:a}}function Jx(n,e){let{state:t,pos:i}=e,s=H(t).resolveInner(i),r=s.resolve(i,-1);for(let o=i,l;s==r&&(l=r.childBefore(o));){let a=l.lastChild;if(!a||!a.type.isError||a.from<a.to)break;s=r=l,o=a.from}return r.name=="TagName"?r.parent&&/CloseTag$/.test(r.parent.name)?Md(t,r,r.from,i):vd(t,n,r,r.from,i):r.name=="StartTag"?vd(t,n,r,i,i):r.name=="StartCloseTag"||r.name=="IncompleteCloseTag"?Md(t,r,i,i):e.explicit&&(r.name=="OpenTag"||r.name=="SelfClosingTag")||r.name=="AttributeName"?Hx(t,n,r,r.name=="AttributeName"?r.from:i,i):r.name=="Is"||r.name=="AttributeValue"||r.name=="UnquotedAttributeValue"?Kx(t,n,r,r.name=="Is"?i:r.from,i):e.explicit&&(s.name=="Element"||s.name=="Text"||s.name=="Document")?Fx(t,n,r,i):null}function e$(n){let{extraTags:e,extraGlobalAttributes:t}=n,i=t||e?new vs(e,t):vs.default;return s=>Jx(i,s)}const Go=It.define({name:"html",parser:Wb.configure({props:[Wi.add({Element(n){let e=/^(\s*)(<\/)?/.exec(n.textAfter);return n.node.to<=n.pos+e[0].length?n.continue():n.lineIndent(n.node.from)+(e[2]?0:n.unit)},"OpenTag CloseTag SelfClosingTag"(n){return n.column(n.node.from)+n.unit},Document(n){if(n.pos+/\s*/.exec(n.textAfter)[0].length<n.node.to)return n.continue();let e=null,t;for(let i=n.node;;){let s=i.lastChild;if(!s||s.name!="Element"||s.to!=i.to)break;e=i=s}return e&&!((t=e.lastChild)&&(t.name=="CloseTag"||t.name=="SelfClosingTag"))?n.lineIndent(e.from)+n.unit:null}}),Xi.add({Element(n){let e=n.firstChild,t=n.lastChild;return!e||e.name!="OpenTag"?null:{from:e.to,to:t.name=="CloseTag"?t.from:n.to}}})],wrap:Zb([{tag:"script",attrs:n=>n.type=="text/typescript"||n.lang=="ts",parser:bd.parser},{tag:"script",attrs:n=>n.type=="text/jsx",parser:xd.parser},{tag:"script",attrs:n=>n.type=="text/typescript-jsx",parser:$d.parser},{tag:"script",attrs(n){return!n.type||/^(?:text|application)\/(?:x-)?(?:java|ecma)script$|^module$|^$/i.test(n.type)},parser:Ct.parser},{tag:"style",attrs(n){return(!n.lang||n.lang=="css")&&(!n.type||/^(text\/)?(x-)?(stylesheet|css)$/i.test(n.type))},parser:Bo.parser}])}),languageData:{commentTokens:{block:{open:"<!--",close:"-->"}},indentOnInput:/^\s*<\/\w+\W$/,wordChars:"-._"}});function t$(n={}){let e=Go;return n.matchClosingTags===!1&&(e=e.configure({dialect:"noMatch"})),n.selfClosingTags===!0&&(e=e.configure({dialect:"selfClosing"})),new Gn(e,[Go.data.of({autocomplete:e$(n)}),n.autoCloseTags!==!1?i$:[],kd().support,fd().support])}const i$=T.inputHandler.of((n,e,t,i)=>{if(n.composing||n.state.readOnly||e!=t||i!=">"&&i!="/"||!Go.isActiveAt(n.state,e,-1))return!1;let{state:s}=n,r=s.changeByRange(o=>{var l,a,h;let{head:f}=o,d=H(s).resolveInner(f,-1),u;if((d.name=="TagName"||d.name=="StartTag")&&(d=d.parent),i==">"&&d.name=="OpenTag"){if(((a=(l=d.parent)===null||l===void 0?void 0:l.lastChild)===null||a===void 0?void 0:a.name)!="CloseTag"&&(u=ui(s.doc,d.parent,f))){let O=n.state.doc.sliceString(f,f+1)===">",p=`${O?"":">"}</${u}>`;return{range:S.cursor(f+1),changes:{from:f+(O?1:0),insert:p}}}}else if(i=="/"&&d.name=="OpenTag"){let O=d.parent,p=O==null?void 0:O.parent;if(O.from==f-1&&((h=p.lastChild)===null||h===void 0?void 0:h.name)!="CloseTag"&&(u=ui(s.doc,p,f))){let y=n.state.doc.sliceString(f,f+1)===">",g=`/${u}${y?"":">"}`,Q=f+g.length+(y?1:0);return{range:S.cursor(Q),changes:{from:f,insert:g}}}}return{range:o}});return r.changes.empty?!1:(n.dispatch(r,{userEvent:"input.type",scrollIntoView:!0}),!0)}),n$=Ni({String:m.string,Number:m.number,"True False":m.bool,PropertyName:m.propertyName,Null:m.null,",":m.separator,"[ ]":m.squareBracket,"{ }":m.brace}),s$=Bt.deserialize({version:14,states:"$bOVQPOOOOQO'#Cb'#CbOnQPO'#CeOvQPO'#CjOOQO'#Cp'#CpQOQPOOOOQO'#Cg'#CgO}QPO'#CfO!SQPO'#CrOOQO,59P,59PO![QPO,59PO!aQPO'#CuOOQO,59U,59UO!iQPO,59UOVQPO,59QOqQPO'#CkO!nQPO,59^OOQO1G.k1G.kOVQPO'#ClO!vQPO,59aOOQO1G.p1G.pOOQO1G.l1G.lOOQO,59V,59VOOQO-E6i-E6iOOQO,59W,59WOOQO-E6j-E6j",stateData:"#O~OcOS~OQSORSOSSOTSOWQO]ROePO~OVXOeUO~O[[O~PVOg^O~Oh_OVfX~OVaO~OhbO[iX~O[dO~Oh_OVfa~OhbO[ia~O",goto:"!kjPPPPPPkPPkqwPPk{!RPPP!XP!ePP!hXSOR^bQWQRf_TVQ_Q`WRg`QcZRicQTOQZRQe^RhbRYQR]R",nodeNames:"⚠ JsonText True False Null Number String } { Object Property PropertyName ] [ Array",maxTerm:25,nodeProps:[["openedBy",7,"{",12,"["],["closedBy",8,"}",13,"]"]],propSources:[n$],skippedNodes:[0],repeatNodeCount:2,tokenData:"(p~RaXY!WYZ!W]^!Wpq!Wrs!]|}$i}!O$n!Q!R$w!R![&V![!]&h!}#O&m#P#Q&r#Y#Z&w#b#c'f#h#i'}#o#p(f#q#r(k~!]Oc~~!`Upq!]qr!]rs!rs#O!]#O#P!w#P~!]~!wOe~~!zXrs!]!P!Q!]#O#P!]#U#V!]#Y#Z!]#b#c!]#f#g!]#h#i!]#i#j#g~#jR!Q![#s!c!i#s#T#Z#s~#vR!Q![$P!c!i$P#T#Z$P~$SR!Q![$]!c!i$]#T#Z$]~$`R!Q![!]!c!i!]#T#Z!]~$nOh~~$qQ!Q!R$w!R![&V~$|RT~!O!P%V!g!h%k#X#Y%k~%YP!Q![%]~%bRT~!Q![%]!g!h%k#X#Y%k~%nR{|%w}!O%w!Q![%}~%zP!Q![%}~&SPT~!Q![%}~&[ST~!O!P%V!Q![&V!g!h%k#X#Y%k~&mOg~~&rO]~~&wO[~~&zP#T#U&}~'QP#`#a'T~'WP#g#h'Z~'^P#X#Y'a~'fOR~~'iP#i#j'l~'oP#`#a'r~'uP#`#a'x~'}OS~~(QP#f#g(T~(WP#i#j(Z~(^P#X#Y(a~(fOQ~~(kOW~~(pOV~",tokenizers:[0],topRules:{JsonText:[0,1]},tokenPrec:0}),r$=It.define({name:"json",parser:s$.configure({props:[Wi.add({Object:si({except:/^\s*\}/}),Array:si({except:/^\s*\]/})}),Xi.add({"Object Array":Fr})]}),languageData:{closeBrackets:{brackets:["[","{",'"']},indentOnInput:/^\s*[\}\]]$/}});function o$(){return new Gn(r$)}var l$=c.defineComponent({__name:"Codemirror",props:{modelValue:{default:""},height:{default:"auto"},language:{default:"yaml"},extensions:{default:()=>[]}},emits:["update:modelValue","change"],setup(n,{emit:e}){const t=n,i={yaml:to.define(sb),html:t$(),javascript:kd({jsx:!0,typescript:!0}),css:fd(),json:o$()},s=T.theme({"&":{height:t.height,width:"100%"}}),r=c.shallowRef(),o=c.shallowRef(),l=c.shallowRef(),a=()=>{const h=typeof t.language=="string"?i[t.language]:t.language;let f=[tb,T.lineWrapping,s,h,T.updateListener.of(d=>{if(d.docChanged){const u=d.state.doc.toString();e("update:modelValue",u),e("change",u)}})];t.extensions&&(f=f.concat(t.extensions)),o.value=I.create({doc:t.modelValue,extensions:f}),l.value=new T({state:o.value,parent:r.value})};return c.onMounted(()=>{a(),c.watch(()=>t.modelValue,h=>{var f,d,u;h!==((f=l.value)==null?void 0:f.state.doc.toString())&&((u=l.value)==null||u.dispatch({changes:{from:0,to:(d=l.value)==null?void 0:d.state.doc.length,insert:h}}))})}),c.onBeforeUnmount(()=>{l.value&&l.value.destroy()}),(h,f)=>(c.openBlock(),c.createElementBlock("div",{ref_key:"wrapper",ref:r,class:"codemirror-wrapper contents"},null,512))}}),a$="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA1NTguMDk1IDQ3NS43OTgiPgogIDxnPgogICAgPHBhdGgKICAgICAgZD0iTTU1NS41MzYsMzI4LjA0OWMtMTUuMjQzLTc2Ljg2Ni0xMDQuNTQ3LTEzOC4zLTEyMS45NjUtMjE4LjRDNDAxLjkxNCw3Ljc0LDI5Ny41Ny04LjM3MiwyMjkuNzY1LDM1Ljg4N2MtMTA3LjQzNyw3MC4xMjksNy4xNzYsODcuNTMyLTIwMy40NzMsMjUzLjQ1My01Mi4wMTQsNDAuOTY5LTM1LjQ0LDIyMS44MTcsMTI4LjE5MywxODAuMzEzLDg4LjA2LTIyLjMzNi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EyZSI+PC9wb2x5Z29uPgogICAgICAgIDxjaXJjbGUgY3g9IjUxOS43MjMiIGN5PSIyMy42OTEiIHI9IjAuOTcyIiBmaWxsPSIjMjkyYTJlIj48L2NpcmNsZT4KICAgICAgICA8Y2lyY2xlIGN4PSI1MjEuNDE3IiBjeT0iMTguNzE1IiByPSIwLjk3MiIgZmlsbD0iIzI5MmEyZSI+PC9jaXJjbGU+CiAgICAgIDwvZz4KICAgIDwvZz4KICA8L2c+Cjwvc3ZnPgo=";const h$={class:"empty-wrapper"},c$={class:"empty-image h-32 w-32"},f$=["src"],d$={class:"empty-title"},u$={class:"empty-message"},O$={class:"empty-actions"};var p$=c.defineComponent({__name:"Empty",props:{title:null,message:null,image:null},setup(n){return(e,t)=>(c.openBlock(),c.createElementBlock("div",h$,[c.createElementVNode("div",c$,[c.renderSlot(e.$slots,"image",{},()=>[c.createElementVNode("img",{src:n.image||c.unref(a$),alt:"Empty"},null,8,f$)])]),c.createElementVNode("div",d$,c.toDisplayString(n.title),1),c.createElementVNode("div",u$,[c.renderSlot(e.$slots,"message",{},()=>[c.createTextVNode(c.toDisplayString(n.message),1)])]),c.createElementVNode("div",O$,[c.renderSlot(e.$slots,"actions")])]))}}),kT="";const m$=c.createElementVNode("div",{class:"status-dot-body"},[c.createElementVNode("span",{class:"status-dot-inner"})],-1),g$={class:"status-dot-text"};var y$=c.defineComponent({__name:"StatusDot",props:{state:{default:"success"},animate:{type:Boolean,default:!1},text:{default:void 0}},setup(n){const e=n,t=c.computed(()=>[`status-dot-${e.state}`,{"status-dot-animate":e.animate}]);return(i,s)=>(c.openBlock(),c.createElementBlock("div",{class:c.normalizeClass(["status-dot-wrapper",c.unref(t)])},[m$,i.$slots.text||n.text?c.renderSlot(i.$slots,"text",{key:0},()=>[c.createElementVNode("span",g$,c.toDisplayString(n.text),1)]):c.createCommentVNode("",!0)],2))}}),TT="";const Q$={class:"entity-selected-indicator"},S$={class:"entity-body"},w$={key:0,class:"entity-checkbox"},b$={class:"entity-start"},x$={class:"entity-end"},$$={key:1,class:"entity-dropdown"},k$={class:"w-48 p-2"},T$={key:0};var C$=c.defineComponent({__name:"Entity",props:{isSelected:{type:Boolean,default:!1}},setup(n){const e=n,t=c.computed(()=>{const i=[];return e.isSelected&&i.push("entity-selected"),i});return(i,s)=>{const r=c.resolveComponent("FloatingDropdown");return c.openBlock(),c.createElementBlock("div",{class:c.normalizeClass([c.unref(t),"entity-wrapper group"])},[c.withDirectives(c.createElementVNode("div",Q$,null,512),[[c.vShow,n.isSelected]]),c.renderSlot(i.$slots,"prepend"),c.createElementVNode("div",S$,[i.$slots.checkbox?(c.openBlock(),c.createElementBlock("div",w$,[c.renderSlot(i.$slots,"checkbox")])):c.createCommentVNode("",!0),c.createElementVNode("div",b$,[c.renderSlot(i.$slots,"start")]),c.createElementVNode("div",x$,[c.renderSlot(i.$slots,"end")]),i.$slots.dropdownItems?(c.openBlock(),c.createElementBlock("div",$$,[c.createVNode(r,null,{popper:c.withCtx(()=>[c.createElementVNode("div",k$,[c.createVNode(c.unref(Ho),{class:"w-full",direction:"column"},{default:c.withCtx(()=>[c.renderSlot(i.$slots,"dropdownItems")]),_:3})])]),default:c.withCtx(()=>[c.createElementVNode("div",{class:c.normalizeClass(["entity-dropdown-trigger group-hover:bg-gray-200/60",{"!bg-gray-300/60":n.isSelected}]),onClick:s[0]||(s[0]=c.withModifiers(()=>{},["stop"]))},[c.createVNode(c.unref(Uo))],2)]),_:3})])):c.createCommentVNode("",!0)]),i.$slots.footer?(c.openBlock(),c.createElementBlock("div",T$,[c.renderSlot(i.$slots,"footer")])):c.createCommentVNode("",!0)],2)}}}),CT="";const P$={key:0,class:"entity-field-title-body"},v$=["title"],M$={key:1,class:"entity-field-description-body"},_$=["title"];var A$=c.defineComponent({__name:"EntityField",props:{title:{default:void 0},description:{default:void 0},route:{default:void 0},width:{default:void 0}},emits:["click"],setup(n,{emit:e}){const t=n,i=c.computed(()=>{if(t.width){const s=typeof t.width=="string"?t.width:`${t.width}px`;return{width:s,maxWidth:s}}return{}});return(s,r)=>{const o=c.resolveComponent("RouterLink");return c.openBlock(),c.createElementBlock("div",{class:"entity-field-wrapper",style:c.normalizeStyle(c.unref(i))},[n.title||s.$slots.title?(c.openBlock(),c.createElementBlock("div",P$,[c.renderSlot(s.$slots,"title",{},()=>[c.createElementVNode("div",{class:"entity-field-title",onClick:r[0]||(r[0]=l=>e("click"))},[n.route?(c.openBlock(),c.createBlock(o,{key:0,class:"hover:text-gray-600",to:n.route,title:n.title},{default:c.withCtx(()=>[c.createTextVNode(c.toDisplayString(n.title),1)]),_:1},8,["to","title"])):(c.openBlock(),c.createElementBlock("span",{key:1,title:n.title},c.toDisplayString(n.title),9,v$))]),c.renderSlot(s.$slots,"extra")])])):c.createCommentVNode("",!0),n.description||s.$slots.description?(c.openBlock(),c.createElementBlock("div",M$,[c.renderSlot(s.$slots,"description",{},()=>[n.description?(c.openBlock(),c.createElementBlock("span",{key:0,class:"entity-field-description",title:n.description},c.toDisplayString(n.description),9,_$)):c.createCommentVNode("",!0)])])):c.createCommentVNode("",!0)],4)}}}),PT="";const R$={class:"toast-body"},D$={class:"toast-icon"},L$={class:"toast-content"},j$={class:"toast-description"},I$={key:0,class:"toast-control"},z$={key:0,class:"toast-count"};var N$=c.defineComponent({__name:"Toast",props:{type:{default:"success"},content:{default:""},duration:{default:3e3},closable:{type:Boolean,default:!0},frozenOnHover:{type:Boolean,default:!0},count:{default:0},onClose:{type:Function,default:void 0}},emits:["close"],setup(n,{expose:e,emit:t}){const i=n,s=c.ref(),r={success:{icon:rn,color:"text-green-500"},info:{icon:gi,color:"text-sky-500"},warning:{icon:mi,color:"text-orange-500"},error:{icon:Rs,color:"text-red-500"}},o=c.computed(()=>r[i.type]),l=()=>{i.duration<0||(s.value=setTimeout(()=>{h()},i.duration))},a=()=>{clearTimeout(s.value)},h=()=>{t("close")},f=()=>{i.frozenOnHover&&a()},d=()=>{i.frozenOnHover&&l()};return c.watchEffect(()=>{i.count>0&&(a(),l())}),c.onMounted(l),e({close:h}),(u,O)=>(c.openBlock(),c.createBlock(c.Transition,{appear:"","enter-active-class":"transform ease-out duration-300 transition","enter-from-class":"translate-x-0 -translate-y-2","enter-to-class":"translate-y-0","leave-active-class":"transition ease-in duration-100","leave-from-class":"opacity-100","leave-to-class":"opacity-0"},{default:c.withCtx(()=>[c.createElementVNode("div",{class:"toast-wrapper",onMouseenter:f,onMouseleave:d},[c.createElementVNode("div",R$,[c.createElementVNode("div",D$,[(c.openBlock(),c.createBlock(c.resolveDynamicComponent(c.unref(o).icon),{class:c.normalizeClass([c.unref(o).color])},null,8,["class"]))]),c.createElementVNode("div",L$,[c.createElementVNode("div",j$,[c.renderSlot(u.$slots,"default",{},()=>[c.createTextVNode(c.toDisplayString(n.content),1)])])]),n.closable?(c.openBlock(),c.createElementBlock("div",I$,[c.createVNode(c.unref(pi),{class:"",onClick:h})])):c.createCommentVNode("",!0)]),n.count?(c.openBlock(),c.createElementBlock("div",z$,[c.createElementVNode("span",null,c.toDisplayString(n.count),1)])):c.createCommentVNode("",!0)],32)]),_:3}))}}),vT="";let _d=0;const Wt=[],E$={frozenOnHover:!0,duration:3e3,count:0},ht=n=>{var l;const e="toast-"+_d++,t={...E$,...n,id:e};let i=document.body.querySelector(".toast-container");if(i||(i=document.createElement("div"),i.className="toast-container",document.body.appendChild(i)),Wt.length>0){const a=Wt.find(h=>{const{vnode:f}=h;if(f!=null&&f.props)return f.props.content===t.content&&f.props.type===t.type});if((l=a==null?void 0:a.vnode.component)!=null&&l.props)return a.vnode.component.props.count+=1,_d=Wt.length-1,a}const{vnode:s,container:r}=V$(N$,t);r.firstElementChild&&i.appendChild(r.firstElementChild),s!=null&&s.props&&(s.props.onClose=()=>{B$(e),c.render(null,r)});const o={id:e,vnode:s,close:()=>{var a,h;(h=(a=s==null?void 0:s.component)==null?void 0:a.exposed)==null||h.close()}};return Wt.push(o),o};function V$(n,e){const t=c.createVNode(n,e),i=document.createElement("div");return c.render(t,i),{vnode:t,container:i}}function B$(n){const e=Wt.findIndex(t=>t.id===n);if(e>=0&&(Wt.splice(e,1),Wt.length===0)){const t=document.body.querySelector(".toast-container");t==null||t.remove()}}ht.success=(n,e)=>ht({...e,type:"success",content:n}),ht.info=(n,e)=>ht({...e,type:"info",content:n}),ht.warning=(n,e)=>ht({...e,type:"warning",content:n}),ht.error=(n,e)=>ht({...e,type:"error",content:n});const W$={},X$={class:"flex items-center justify-center py-4"},Z$=[c.createElementVNode("svg",{class:"h-5 w-5 animate-spin",fill:"none",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},[c.createElementVNode("circle",{class:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor","stroke-width":"4"}),c.createElementVNode("path",{class:"opacity-75",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z",fill:"currentColor"})],-1)];function q$(n,e){return c.openBlock(),c.createElementBlock("div",X$,Z$)}var G$=Ds(W$,[["render",q$]]);return w.Dialog=st,w.IconAddCircle=bO,w.IconArrowDown=Ud,w.IconArrowDownCircleLine=Vm,w.IconArrowDownLine=iu,w.IconArrowLeft=As,w.IconArrowRight=sn,w.IconArrowUpCircleLine=Im,w.IconArrowUpLine=Kd,w.IconBookRead=ou,w.IconCalendar=Hp,w.IconCharacterRecognition=Gp,w.IconCheckboxCircle=rn,w.IconCheckboxFill=zO,w.IconClipboardLine=Ym,w.IconClose=pi,w.IconCloseCircle=Yo,w.IconCodeBoxLine=Lp,w.IconComputer=qO,w.IconDashboard=zd,w.IconDatabase2Line=Np,w.IconDeleteBin=yO,w.IconErrorWarning=mi,w.IconExchange=ap,w.IconExternalLinkLine=gm,w.IconEye=Bu,w.IconEyeOff=qu,w.IconFolder=Fu,w.IconForbidLine=Rs,w.IconGitBranch=$p,w.IconGitHub=dp,w.IconGrid=DO,w.IconInformation=gi,w.IconLink=tm,w.IconList=MO,w.IconListSettings=bu,w.IconMagic=Tu,w.IconMessage=Ou,w.IconMore=Uo,w.IconMotionLine=hm,w.IconPages=cu,w.IconPalette=yu,w.IconPhone=FO,w.IconPlug=zu,w.IconRefreshLine=wm,w.IconReplyLine=um,w.IconRocketLine=Rm,w.IconSave=TO,w.IconSearch=BO,w.IconSendPlaneFill=vm,w.IconSettings=Du,w.IconShieldUser=Sp,w.IconStopCircle=Pp,w.IconTablet=ep,w.IconTeam=Wp,w.IconTerminalBoxLine=Zm,w.IconUpload=mp,w.IconUserFollow=sp,w.IconUserLine=rm,w.IconUserSettings=Mu,w.IconWindowLine=km,w.Toast=ht,w.VAlert=ag,w.VAvatar=tg,w.VButton=Ls,w.VCard=Qg,w.VCodemirror=l$,w.VDialog=Jo,w.VEmpty=p$,w.VEntity=C$,w.VEntityField=A$,w.VLoading=G$,w.VMenu=Tg,w.VMenuItem=_g,w.VMenuLabel=Lg,w.VModal=Fo,w.VPageHeader=$g,w.VPagination=C1,w.VSpace=Ho,w.VStatusDot=y$,w.VSwitch=i1,w.VTabItem=qg,w.VTabbar=Ko,w.VTabs=Xg,w.VTag=e1,w}({},Vue,VueRouter,VueUse);
26
26
  //# sourceMappingURL=halo-components.iife.js.map