@thxgg/steward 0.1.11 → 0.1.12

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.
Files changed (28) hide show
  1. package/.output/nitro.json +1 -1
  2. package/.output/public/_nuxt/{DOvbLsAq.js → BFv4l3hn.js} +1 -1
  3. package/.output/public/_nuxt/{DbloiS5Y.js → BZ1iIOYp.js} +1 -1
  4. package/.output/public/_nuxt/{Cs5ptsBk.js → Bq6edYSd.js} +1 -1
  5. package/.output/public/_nuxt/BuQdImno.js +1 -0
  6. package/.output/public/_nuxt/{DcRwFvvS.js → C897Egk9.js} +1 -1
  7. package/.output/public/_nuxt/{C8LtDyY4.js → CMUOpExW.js} +1 -1
  8. package/.output/public/_nuxt/{CQgu_W_k.js → DE885CbX.js} +1 -1
  9. package/.output/public/_nuxt/{vr7VLA9A.js → DoNqd8jQ.js} +1 -1
  10. package/.output/public/_nuxt/{BPaqwWyl.js → DomrzX-T.js} +1 -1
  11. package/.output/public/_nuxt/{CZKCADv6.js → R2cvz8mH.js} +2 -2
  12. package/.output/public/_nuxt/builds/latest.json +1 -1
  13. package/.output/public/_nuxt/builds/meta/6f66fabf-cc26-482b-8adf-f8731dd68f83.json +1 -0
  14. package/.output/public/_nuxt/{CeO4HNxC.js → dOaEkD-3.js} +1 -1
  15. package/.output/public/_nuxt/{CshyynD6.js → kTT8NKtq.js} +1 -1
  16. package/.output/server/chunks/build/client.precomputed.mjs +1 -1
  17. package/.output/server/chunks/build/{default-DGOIWqjD.mjs → default-B5nw9_Xg.mjs} +22 -1
  18. package/.output/server/chunks/build/default-B5nw9_Xg.mjs.map +1 -0
  19. package/.output/server/chunks/build/server.mjs +1 -1
  20. package/.output/server/chunks/build/styles.mjs +2 -2
  21. package/.output/server/chunks/nitro/nitro.mjs +629 -627
  22. package/.output/server/chunks/routes/api/runtime.get.mjs +25 -0
  23. package/.output/server/chunks/routes/api/runtime.get.mjs.map +1 -0
  24. package/.output/server/package.json +1 -1
  25. package/package.json +1 -1
  26. package/.output/public/_nuxt/CzKPXRws.js +0 -1
  27. package/.output/public/_nuxt/builds/meta/e2995e80-736c-47cd-8041-a131bab2f136.json +0 -1
  28. package/.output/server/chunks/build/default-DGOIWqjD.mjs.map +0 -1
@@ -1,5 +1,5 @@
1
1
  const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./DxNHbxmM.js","./CnnebwVN.js","./wDzz0qaB.js","./DPfMkruS.js","./Cl0AqbOI.js","./2EtD6e53.js","./Cn7AkR1O.js","./BGJmEYvX.js","./CylS5w8V.js","./Cp-IABpG.js","./DxSwrfjg.js","./BPQ3VLAy.js","./CXtECtnM.js","./COt5Ahok.js","./5X7smno1.js","./DGP4VlC8.js","./BLtJtn59.js","./CquLrc37.js","./DVxCFoDh.js","./CO1LY3CK.js","./B6aJPvgy.js","./BYV0-3_D.js","./CxbxFI8M.js","./Bp3cYrEr.js","./CDVJQ6XC.js","./DZxFcAj9.js","./BIGW1oBm.js","./fKv21gyL.js","./Yzrsuije.js","./DZu-aV2c.js","./CpOuai2O.js","./CeZK1NFH.js","./CGscLIrv.js","./Bhrxn6JZ.js","./CmIQRyeF.js","./C9oPPf7i.js","./g9-lgVsj.js","./CnsnAmq5.js","./Buea-lGh.js","./CuPHTKiy.js","./Cvjx9yec.js","./B7c-h3xW.js","./BxgE0vQu.js","./BTifaqeh.js","./CenWIFCC.js","./DkwncUOv.js","./C5YyOfLZ.js","./CxGSJlkm.js","./D97Zzqfu.js","./CSXwinHm.js","./YqXBG_HV.js","./BR5kRUq4.js","./CLZrNe3w.js","./m17aaUwq.js","./CufHLc7y.js","./CYsAdtH9.js","./fuZLfV_i.js","./DWrx1Km3.js","./CzTSHFRz.js","./CXZktZb0.js","./Br6cN0cg.js","./W9tJ9s81.js","./Dspwwk_N.js","./DMwsHuHA.js","./CQ8jqdy-.js","./mjskCLCv.js","./83L43bj1.js","./B1dDrJ26.js","./TsXTqZ29.js","./Dph4kLrZ.js","./DhmSosst.js","./BzTr9Aqm.js","./DJjDtW9f.js","./BLmx8bSh.js","./BVQ-GDCI.js","./DsumFeuD.js","./COcwbKMJ.js","./DQwYQDb2.js","./D1j8_8rp.js","./CG8Ifv2g.js","./BqTXFGrv.js","./D3lLCCz7.js","./Cq5zzVJU.js","./Dzze3sRP.js","./BRZ36xJF.js","./BsS91CYL.js","./DM8c43g1.js","./BH7IYjvW.js","./DYoxhk2S.js","./CZhp0h8q.js","./CxLEBnE3.js","./Cm3UrAx6.js","./RNghxpo_.js","./DEthMvLe.js","./DqQDbK_p.js","./CW8IKDeL.js","./BEDo0Tqx.js","./yv6CvBhz.js"])))=>i.map(i=>d[i]);
2
- import{_ as _l}from"./vr7VLA9A.js";import{u as Ts,a as As,f as Ss,c as Ft,E as yl,b as vl,d as vi,g as bl,w as kl,e as Ce,P as Rs,V as wl,D as xl,h as Ls,i as rr,T as El,B as Nt,C as cn,A as yo,j as Tl,R as Hr,L as Gr,K as Al,S as Sl,k as Rl,l as Ll,m as Cl,n as Pl,o as Ol,p as Il,q as Dl,r as Nl,s as Ml,t as $l,v as vo}from"./C8LtDyY4.js";import{c as se,r as Vl,t as Bl,d as zl,e as Fl,f as bi,P as nt,g as jl,h as Cs,i as bo,j as Ve,B as at,k as jt,b as Ps,F as Os,u as ql,a as Hl}from"./CQgu_W_k.js";import{v as Ur,q as j,x as dt,s as $,g as U,y as ir,o as w,z as K,w as M,b as R,l as m,A as ne,B as Is,C as Gl,D as Ds,c as A,E as Pe,k as Te,G as Ul,H as Wl,I as Ot,J as Ns,K as un,L as Kl,M as Xl,n as Y,N as Yl,p as Ms,O as gn,P as _n,d as re,t as G,Q as kt,R as Ql,a as T,_ as p,S as ue,F as ve,r as He,T as Ln,U as Jl,V as Zl,W as ec,X as tc,m as ko,i as nc}from"./CZKCADv6.js";import{_ as $s}from"./DlAUqK2U.js";import{A as wo}from"./DOvbLsAq.js";const rc=se("arrow-down",[["path",{d:"M12 5v14",key:"s699le"}],["path",{d:"m19 12-7 7-7-7",key:"1idqje"}]]);const ic=se("arrow-left",[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]]);const Vs=se("calendar",[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M3 10h18",key:"8toen8"}]]);const Wr=se("circle-check",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);const oc=se("circle-dot",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}]]);const sc=se("circle-play",[["path",{d:"M9 9.003a1 1 0 0 1 1.517-.859l4.997 2.997a1 1 0 0 1 0 1.718l-4.997 2.997A1 1 0 0 1 9 14.996z",key:"kmsa83"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]]);const an=se("circle",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]]);const ac=se("clock",[["path",{d:"M12 6v6l4 2",key:"mmk7yg"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]]);const lc=se("diff",[["path",{d:"M12 3v14",key:"7cf3v8"}],["path",{d:"M5 10h14",key:"elsbfy"}],["path",{d:"M5 21h14",key:"11awu3"}]]);const xo=se("external-link",[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]]);const cc=se("file-code",[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"M10 12.5 8 15l2 2.5",key:"1tg20x"}],["path",{d:"m14 12.5 2 2.5-2 2.5",key:"yinavb"}]]);const uc=se("file-diff",[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M9 10h6",key:"9gxzsh"}],["path",{d:"M12 13V7",key:"h0r20n"}],["path",{d:"M9 17h6",key:"r8uit2"}]]);const dc=se("file-exclamation-point",[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]]);const pc=se("file-pen",[["path",{d:"M12.659 22H18a2 2 0 0 0 2-2V8a2.4 2.4 0 0 0-.706-1.706l-3.588-3.588A2.4 2.4 0 0 0 14 2H6a2 2 0 0 0-2 2v9.34",key:"o6klzx"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"M10.378 12.622a1 1 0 0 1 3 3.003L8.36 20.637a2 2 0 0 1-.854.506l-2.867.837a.5.5 0 0 1-.62-.62l.836-2.869a2 2 0 0 1 .506-.853z",key:"zhnas1"}]]);const mc=se("file-plus",[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"M9 15h6",key:"cctwl0"}],["path",{d:"M12 18v-6",key:"17g6i2"}]]);const fc=se("file-x",[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"m14.5 12.5-5 5",key:"b62r18"}],["path",{d:"m9.5 12.5 5 5",key:"1rk7el"}]]);const hc=se("folder-git-2",[["path",{d:"M18 19a5 5 0 0 1-5-5v8",key:"sz5oeg"}],["path",{d:"M9 20H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H20a2 2 0 0 1 2 2v5",key:"1w6njk"}],["circle",{cx:"13",cy:"12",r:"2",key:"1j92g6"}],["circle",{cx:"20",cy:"19",r:"2",key:"1obnsp"}]]);const gc=se("git-commit-horizontal",[["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}],["line",{x1:"3",x2:"9",y1:"12",y2:"12",key:"1dyftd"}],["line",{x1:"15",x2:"21",y1:"12",y2:"12",key:"oup4p8"}]]);const _c=se("link-2-off",[["path",{d:"M9 17H7A5 5 0 0 1 7 7",key:"10o201"}],["path",{d:"M15 7h2a5 5 0 0 1 4 8",key:"1d3206"}],["line",{x1:"8",x2:"12",y1:"12",y2:"12",key:"rvw6j4"}],["line",{x1:"2",x2:"22",y1:"2",y2:"22",key:"a6p6uj"}]]);const yc=se("link-2",[["path",{d:"M9 17H7A5 5 0 0 1 7 7h2",key:"8i5ue5"}],["path",{d:"M15 7h2a5 5 0 1 1 0 10h-2",key:"1b9ql8"}],["line",{x1:"8",x2:"16",y1:"12",y2:"12",key:"1jonct"}]]);const vc=se("link",[["path",{d:"M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71",key:"1cjeqo"}],["path",{d:"M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71",key:"19qd67"}]]);const bc=se("list-ordered",[["path",{d:"M11 5h10",key:"1cz7ny"}],["path",{d:"M11 12h10",key:"1438ji"}],["path",{d:"M11 19h10",key:"11t30w"}],["path",{d:"M4 4h1v5",key:"10yrso"}],["path",{d:"M4 9h2",key:"r1h2o0"}],["path",{d:"M6.5 20H3.4c0-1 2.6-1.925 2.6-3.5a1.5 1.5 0 0 0-2.6-1.02",key:"xtkcd5"}]]);const Kr=se("minus",[["path",{d:"M5 12h14",key:"1ays0h"}]]);const kc=se("square-check-big",[["path",{d:"M21 10.656V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h12.344",key:"2acyp4"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]]);const wc=se("tag",[["path",{d:"M12.586 2.586A2 2 0 0 0 11.172 2H4a2 2 0 0 0-2 2v7.172a2 2 0 0 0 .586 1.414l8.704 8.704a2.426 2.426 0 0 0 3.42 0l6.58-6.58a2.426 2.426 0 0 0 0-3.42z",key:"vktsd0"}],["circle",{cx:"7.5",cy:"7.5",r:".5",fill:"currentColor",key:"kqv944"}]]);const Xr=se("triangle-alert",[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]]);const xc=se("user",[["path",{d:"M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2",key:"975kel"}],["circle",{cx:"12",cy:"7",r:"4",key:"17ys0d"}]]);function Ec(t,e){const n=Vl(!1,300);Bl(()=>{n.value=!1});const r=j(null),i=zl();function o(){r.value=null,n.value=!1}function s(l,a){const c=l.currentTarget,u={x:l.clientX,y:l.clientY},d=Tc(u,c.getBoundingClientRect()),h=Ac(u,d,1),f=Sc(a.getBoundingClientRect()),g=Lc([...h,...f]);r.value=g,n.value=!0}return Ur(l=>{if(t.value&&e.value){const a=u=>s(u,e.value),c=u=>s(u,t.value);t.value.addEventListener("pointerleave",a),e.value.addEventListener("pointerleave",c),l(()=>{t.value?.removeEventListener("pointerleave",a),e.value?.removeEventListener("pointerleave",c)})}}),Ur(l=>{if(r.value){const a=c=>{if(!r.value||!(c.target instanceof Element))return;const u=c.target,d={x:c.clientX,y:c.clientY},h=t.value?.contains(u)||e.value?.contains(u),f=!Rc(d,r.value),g=!!u.closest("[data-grace-area-trigger]");h?o():(f||g)&&(o(),i.trigger())};t.value?.ownerDocument.addEventListener("pointermove",a),l(()=>t.value?.ownerDocument.removeEventListener("pointermove",a))}}),{isPointerInTransit:n,onPointerExit:i.on}}function Tc(t,e){const n=Math.abs(e.top-t.y),r=Math.abs(e.bottom-t.y),i=Math.abs(e.right-t.x),o=Math.abs(e.left-t.x);switch(Math.min(n,r,i,o)){case o:return"left";case i:return"right";case n:return"top";case r:return"bottom";default:throw new Error("unreachable")}}function Ac(t,e,n=5){const r=[];switch(e){case"top":r.push({x:t.x-n,y:t.y+n},{x:t.x+n,y:t.y+n});break;case"bottom":r.push({x:t.x-n,y:t.y-n},{x:t.x+n,y:t.y-n});break;case"left":r.push({x:t.x+n,y:t.y-n},{x:t.x+n,y:t.y+n});break;case"right":r.push({x:t.x-n,y:t.y-n},{x:t.x-n,y:t.y+n});break}return r}function Sc(t){const{top:e,right:n,bottom:r,left:i}=t;return[{x:i,y:e},{x:n,y:e},{x:n,y:r},{x:i,y:r}]}function Rc(t,e){const{x:n,y:r}=t;let i=!1;for(let o=0,s=e.length-1;o<e.length;s=o++){const l=e[o].x,a=e[o].y,c=e[s].x,u=e[s].y;a>r!=u>r&&n<(c-l)*(r-a)/(u-a)+l&&(i=!i)}return i}function Lc(t){const e=t.slice();return e.sort((n,r)=>n.x<r.x?-1:n.x>r.x?1:n.y<r.y?-1:n.y>r.y?1:0),Cc(e)}function Cc(t){if(t.length<=1)return t.slice();const e=[];for(let r=0;r<t.length;r++){const i=t[r];for(;e.length>=2;){const o=e[e.length-1],s=e[e.length-2];if((o.x-s.x)*(i.y-s.y)>=(o.y-s.y)*(i.x-s.x))e.pop();else break}e.push(i)}e.pop();const n=[];for(let r=t.length-1;r>=0;r--){const i=t[r];for(;n.length>=2;){const o=n[n.length-1],s=n[n.length-2];if((o.x-s.x)*(i.y-s.y)>=(o.y-s.y)*(i.x-s.x))n.pop();else break}n.push(i)}return n.pop(),e.length===1&&n.length===1&&e[0].x===n[0].x&&e[0].y===n[0].y?e:e.concat(n)}function Pc(t){const e=j(),n=$(()=>e.value?.width??0),r=$(()=>e.value?.height??0);return dt(()=>{const i=Fl(t);if(i){e.value={width:i.offsetWidth,height:i.offsetHeight};const o=new ResizeObserver(s=>{if(!Array.isArray(s)||!s.length)return;const l=s[0];let a,c;if("borderBoxSize"in l){const u=l.borderBoxSize,d=Array.isArray(u)?u[0]:u;a=d.inlineSize,c=d.blockSize}else a=i.offsetWidth,c=i.offsetHeight;e.value={width:a,height:c}});return o.observe(i,{box:"border-box"}),()=>o.unobserve(i)}else e.value=void 0}),{width:n,height:r}}const[Oc,Ic]=Ft("RovingFocusGroup");var Dc=U({__name:"RovingFocusGroup",props:{orientation:{type:String,required:!1,default:void 0},dir:{type:String,required:!1},loop:{type:Boolean,required:!1,default:!1},currentTabStopId:{type:[String,null],required:!1},defaultCurrentTabStopId:{type:String,required:!1},preventScrollOnEntryFocus:{type:Boolean,required:!1,default:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:["entryFocus","update:currentTabStopId"],setup(t,{expose:e,emit:n}){const r=t,i=n,{loop:o,orientation:s,dir:l}=ir(r),a=Ts(l),c=bi(r,"currentTabStopId",i,{defaultValue:r.defaultCurrentTabStopId,passive:r.currentTabStopId===void 0}),u=j(!1),d=j(!1),h=j(0),{getItems:f,CollectionSlot:g}=As({isProvider:!0});function y(v){const k=!d.value;if(v.currentTarget&&v.target===v.currentTarget&&k&&!u.value){const b=new CustomEvent(yl,vl);if(v.currentTarget.dispatchEvent(b),i("entryFocus",b),!b.defaultPrevented){const E=f().map(B=>B.ref).filter(B=>B.dataset.disabled!==""),P=E.find(B=>B.getAttribute("data-active")===""),V=E.find(B=>B.getAttribute("data-highlighted")===""),q=E.find(B=>B.id===c.value),J=[P,V,q,...E].filter(Boolean);Ss(J,r.preventScrollOnEntryFocus)}}d.value=!1}function x(){setTimeout(()=>{d.value=!1},1)}return e({getItems:f}),Ic({loop:o,dir:a,orientation:s,currentTabStopId:c,onItemFocus:v=>{c.value=v},onItemShiftTab:()=>{u.value=!0},onFocusableItemAdd:()=>{h.value++},onFocusableItemRemove:()=>{h.value--}}),(v,k)=>(w(),K(m(g),null,{default:M(()=>[R(m(nt),{tabindex:u.value||h.value===0?-1:0,"data-orientation":m(s),as:v.as,"as-child":v.asChild,dir:m(a),style:{outline:"none"},onMousedown:k[0]||(k[0]=b=>d.value=!0),onMouseup:x,onFocus:y,onBlur:k[1]||(k[1]=b=>u.value=!1)},{default:M(()=>[ne(v.$slots,"default")]),_:3},8,["tabindex","data-orientation","as","as-child","dir"])]),_:3}))}}),Nc=Dc,Mc=U({__name:"RovingFocusItem",props:{tabStopId:{type:String,required:!1},focusable:{type:Boolean,required:!1,default:!0},active:{type:Boolean,required:!1},allowShiftKey:{type:Boolean,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"span"}},setup(t){const e=t,n=Oc(),r=vi(),i=$(()=>e.tabStopId||r),o=$(()=>n.currentTabStopId.value===i.value),{getItems:s,CollectionItem:l}=As();dt(()=>{e.focusable&&n.onFocusableItemAdd()}),Is(()=>{e.focusable&&n.onFocusableItemRemove()});function a(c){if(c.key==="Tab"&&c.shiftKey){n.onItemShiftTab();return}if(c.target!==c.currentTarget)return;const u=bl(c,n.orientation.value,n.dir.value);if(u!==void 0){if(c.metaKey||c.ctrlKey||c.altKey||!e.allowShiftKey&&c.shiftKey)return;c.preventDefault();let d=[...s().map(h=>h.ref).filter(h=>h.dataset.disabled!=="")];if(u==="last")d.reverse();else if(u==="prev"||u==="next"){u==="prev"&&d.reverse();const h=d.indexOf(c.currentTarget);d=n.loop.value?kl(d,h+1):d.slice(h+1)}Gl(()=>Ss(d))}}return(c,u)=>(w(),K(m(l),null,{default:M(()=>[R(m(nt),{tabindex:o.value?0:-1,"data-orientation":m(n).orientation.value,"data-active":c.active?"":void 0,"data-disabled":c.focusable?void 0:"",as:c.as,"as-child":c.asChild,onMousedown:u[0]||(u[0]=d=>{c.focusable?m(n).onItemFocus(i.value):d.preventDefault()}),onFocus:u[1]||(u[1]=d=>m(n).onItemFocus(i.value)),onKeydown:a},{default:M(()=>[ne(c.$slots,"default")]),_:3},8,["tabindex","data-orientation","data-active","data-disabled","as","as-child"])]),_:3}))}}),$c=Mc;const[Bs,Vc]=Ft("PopperRoot");var Bc=U({inheritAttrs:!1,__name:"PopperRoot",setup(t){const e=j();return Vc({anchor:e,onAnchorChange:n=>e.value=n}),(n,r)=>ne(n.$slots,"default")}}),zc=Bc,Fc=U({__name:"PopperAnchor",props:{reference:{type:null,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(t){const e=t,{forwardRef:n,currentElement:r}=Ce(),i=Bs();return Ds(()=>{i.onAnchorChange(e.reference??r.value)}),(o,s)=>(w(),K(m(nt),{ref:m(n),as:o.as,"as-child":o.asChild},{default:M(()=>[ne(o.$slots,"default")]),_:3},8,["as","as-child"]))}}),jc=Fc;const qc={key:0,d:"M0 0L6 6L12 0"},Hc={key:1,d:"M0 0L4.58579 4.58579C5.36683 5.36683 6.63316 5.36684 7.41421 4.58579L12 0"};var Gc=U({__name:"Arrow",props:{width:{type:Number,required:!1,default:10},height:{type:Number,required:!1,default:5},rounded:{type:Boolean,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"svg"}},setup(t){const e=t;return Ce(),(n,r)=>(w(),K(m(nt),Pe(e,{width:n.width,height:n.height,viewBox:n.asChild?void 0:"0 0 12 6",preserveAspectRatio:n.asChild?void 0:"none"}),{default:M(()=>[ne(n.$slots,"default",{},()=>[n.rounded?(w(),A("path",Hc)):(w(),A("path",qc))])]),_:3},16,["width","height","viewBox","preserveAspectRatio"]))}}),Uc=Gc;function Wc(t){return t!==null}function Kc(t){return{name:"transformOrigin",options:t,fn(e){const{placement:n,rects:r,middlewareData:i}=e,s=i.arrow?.centerOffset!==0,l=s?0:t.arrowWidth,a=s?0:t.arrowHeight,[c,u]=Yr(n),d={start:"0%",center:"50%",end:"100%"}[u],h=(i.arrow?.x??0)+l/2,f=(i.arrow?.y??0)+a/2;let g="",y="";return c==="bottom"?(g=s?d:`${h}px`,y=`${-a}px`):c==="top"?(g=s?d:`${h}px`,y=`${r.floating.height+a}px`):c==="right"?(g=`${-a}px`,y=s?d:`${f}px`):c==="left"&&(g=`${r.floating.width+a}px`,y=s?d:`${f}px`),{data:{x:g,y}}}}}function Yr(t){const[e,n="center"]=t.split("-");return[e,n]}const Xc=["top","right","bottom","left"],pt=Math.min,Me=Math.max,Fn=Math.round,Cn=Math.floor,et=t=>({x:t,y:t}),Yc={left:"right",right:"left",bottom:"top",top:"bottom"},Qc={start:"end",end:"start"};function Qr(t,e,n){return Me(t,pt(e,n))}function lt(t,e){return typeof t=="function"?t(e):t}function ct(t){return t.split("-")[0]}function qt(t){return t.split("-")[1]}function ki(t){return t==="x"?"y":"x"}function wi(t){return t==="y"?"height":"width"}const Jc=new Set(["top","bottom"]);function Ze(t){return Jc.has(ct(t))?"y":"x"}function xi(t){return ki(Ze(t))}function Zc(t,e,n){n===void 0&&(n=!1);const r=qt(t),i=xi(t),o=wi(i);let s=i==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return e.reference[o]>e.floating[o]&&(s=jn(s)),[s,jn(s)]}function eu(t){const e=jn(t);return[Jr(t),e,Jr(e)]}function Jr(t){return t.replace(/start|end/g,e=>Qc[e])}const Eo=["left","right"],To=["right","left"],tu=["top","bottom"],nu=["bottom","top"];function ru(t,e,n){switch(t){case"top":case"bottom":return n?e?To:Eo:e?Eo:To;case"left":case"right":return e?tu:nu;default:return[]}}function iu(t,e,n,r){const i=qt(t);let o=ru(ct(t),n==="start",r);return i&&(o=o.map(s=>s+"-"+i),e&&(o=o.concat(o.map(Jr)))),o}function jn(t){return t.replace(/left|right|bottom|top/g,e=>Yc[e])}function ou(t){return{top:0,right:0,bottom:0,left:0,...t}}function zs(t){return typeof t!="number"?ou(t):{top:t,right:t,bottom:t,left:t}}function qn(t){const{x:e,y:n,width:r,height:i}=t;return{width:r,height:i,top:n,left:e,right:e+r,bottom:n+i,x:e,y:n}}function Ao(t,e,n){let{reference:r,floating:i}=t;const o=Ze(e),s=xi(e),l=wi(s),a=ct(e),c=o==="y",u=r.x+r.width/2-i.width/2,d=r.y+r.height/2-i.height/2,h=r[l]/2-i[l]/2;let f;switch(a){case"top":f={x:u,y:r.y-i.height};break;case"bottom":f={x:u,y:r.y+r.height};break;case"right":f={x:r.x+r.width,y:d};break;case"left":f={x:r.x-i.width,y:d};break;default:f={x:r.x,y:r.y}}switch(qt(e)){case"start":f[s]-=h*(n&&c?-1:1);break;case"end":f[s]+=h*(n&&c?-1:1);break}return f}async function su(t,e){var n;e===void 0&&(e={});const{x:r,y:i,platform:o,rects:s,elements:l,strategy:a}=t,{boundary:c="clippingAncestors",rootBoundary:u="viewport",elementContext:d="floating",altBoundary:h=!1,padding:f=0}=lt(e,t),g=zs(f),x=l[h?d==="floating"?"reference":"floating":d],v=qn(await o.getClippingRect({element:(n=await(o.isElement==null?void 0:o.isElement(x)))==null||n?x:x.contextElement||await(o.getDocumentElement==null?void 0:o.getDocumentElement(l.floating)),boundary:c,rootBoundary:u,strategy:a})),k=d==="floating"?{x:r,y:i,width:s.floating.width,height:s.floating.height}:s.reference,b=await(o.getOffsetParent==null?void 0:o.getOffsetParent(l.floating)),E=await(o.isElement==null?void 0:o.isElement(b))?await(o.getScale==null?void 0:o.getScale(b))||{x:1,y:1}:{x:1,y:1},P=qn(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:k,offsetParent:b,strategy:a}):k);return{top:(v.top-P.top+g.top)/E.y,bottom:(P.bottom-v.bottom+g.bottom)/E.y,left:(v.left-P.left+g.left)/E.x,right:(P.right-v.right+g.right)/E.x}}const au=async(t,e,n)=>{const{placement:r="bottom",strategy:i="absolute",middleware:o=[],platform:s}=n,l=o.filter(Boolean),a=await(s.isRTL==null?void 0:s.isRTL(e));let c=await s.getElementRects({reference:t,floating:e,strategy:i}),{x:u,y:d}=Ao(c,r,a),h=r,f={},g=0;for(let x=0;x<l.length;x++){var y;const{name:v,fn:k}=l[x],{x:b,y:E,data:P,reset:V}=await k({x:u,y:d,initialPlacement:r,placement:h,strategy:i,middlewareData:f,rects:c,platform:{...s,detectOverflow:(y=s.detectOverflow)!=null?y:su},elements:{reference:t,floating:e}});u=b??u,d=E??d,f={...f,[v]:{...f[v],...P}},V&&g<=50&&(g++,typeof V=="object"&&(V.placement&&(h=V.placement),V.rects&&(c=V.rects===!0?await s.getElementRects({reference:t,floating:e,strategy:i}):V.rects),{x:u,y:d}=Ao(c,h,a)),x=-1)}return{x:u,y:d,placement:h,strategy:i,middlewareData:f}},lu=t=>({name:"arrow",options:t,async fn(e){const{x:n,y:r,placement:i,rects:o,platform:s,elements:l,middlewareData:a}=e,{element:c,padding:u=0}=lt(t,e)||{};if(c==null)return{};const d=zs(u),h={x:n,y:r},f=xi(i),g=wi(f),y=await s.getDimensions(c),x=f==="y",v=x?"top":"left",k=x?"bottom":"right",b=x?"clientHeight":"clientWidth",E=o.reference[g]+o.reference[f]-h[f]-o.floating[g],P=h[f]-o.reference[f],V=await(s.getOffsetParent==null?void 0:s.getOffsetParent(c));let q=V?V[b]:0;(!q||!await(s.isElement==null?void 0:s.isElement(V)))&&(q=l.floating[b]||o.floating[g]);const J=E/2-P/2,B=q/2-y[g]/2-1,S=pt(d[v],B),O=pt(d[k],B),N=S,D=q-y[g]-O,I=q/2-y[g]/2+J,z=Qr(N,I,D),W=!a.arrow&&qt(i)!=null&&I!==z&&o.reference[g]/2-(I<N?S:O)-y[g]/2<0,ee=W?I<N?I-N:I-D:0;return{[f]:h[f]+ee,data:{[f]:z,centerOffset:I-z-ee,...W&&{alignmentOffset:ee}},reset:W}}}),cu=function(t){return t===void 0&&(t={}),{name:"flip",options:t,async fn(e){var n,r;const{placement:i,middlewareData:o,rects:s,initialPlacement:l,platform:a,elements:c}=e,{mainAxis:u=!0,crossAxis:d=!0,fallbackPlacements:h,fallbackStrategy:f="bestFit",fallbackAxisSideDirection:g="none",flipAlignment:y=!0,...x}=lt(t,e);if((n=o.arrow)!=null&&n.alignmentOffset)return{};const v=ct(i),k=Ze(l),b=ct(l)===l,E=await(a.isRTL==null?void 0:a.isRTL(c.floating)),P=h||(b||!y?[jn(l)]:eu(l)),V=g!=="none";!h&&V&&P.push(...iu(l,y,g,E));const q=[l,...P],J=await a.detectOverflow(e,x),B=[];let S=((r=o.flip)==null?void 0:r.overflows)||[];if(u&&B.push(J[v]),d){const I=Zc(i,s,E);B.push(J[I[0]],J[I[1]])}if(S=[...S,{placement:i,overflows:B}],!B.every(I=>I<=0)){var O,N;const I=(((O=o.flip)==null?void 0:O.index)||0)+1,z=q[I];if(z&&(!(d==="alignment"?k!==Ze(z):!1)||S.every(Z=>Ze(Z.placement)===k?Z.overflows[0]>0:!0)))return{data:{index:I,overflows:S},reset:{placement:z}};let W=(N=S.filter(ee=>ee.overflows[0]<=0).sort((ee,Z)=>ee.overflows[1]-Z.overflows[1])[0])==null?void 0:N.placement;if(!W)switch(f){case"bestFit":{var D;const ee=(D=S.filter(Z=>{if(V){const oe=Ze(Z.placement);return oe===k||oe==="y"}return!0}).map(Z=>[Z.placement,Z.overflows.filter(oe=>oe>0).reduce((oe,Oe)=>oe+Oe,0)]).sort((Z,oe)=>Z[1]-oe[1])[0])==null?void 0:D[0];ee&&(W=ee);break}case"initialPlacement":W=l;break}if(i!==W)return{reset:{placement:W}}}return{}}}};function So(t,e){return{top:t.top-e.height,right:t.right-e.width,bottom:t.bottom-e.height,left:t.left-e.width}}function Ro(t){return Xc.some(e=>t[e]>=0)}const uu=function(t){return t===void 0&&(t={}),{name:"hide",options:t,async fn(e){const{rects:n,platform:r}=e,{strategy:i="referenceHidden",...o}=lt(t,e);switch(i){case"referenceHidden":{const s=await r.detectOverflow(e,{...o,elementContext:"reference"}),l=So(s,n.reference);return{data:{referenceHiddenOffsets:l,referenceHidden:Ro(l)}}}case"escaped":{const s=await r.detectOverflow(e,{...o,altBoundary:!0}),l=So(s,n.floating);return{data:{escapedOffsets:l,escaped:Ro(l)}}}default:return{}}}}},Fs=new Set(["left","top"]);async function du(t,e){const{placement:n,platform:r,elements:i}=t,o=await(r.isRTL==null?void 0:r.isRTL(i.floating)),s=ct(n),l=qt(n),a=Ze(n)==="y",c=Fs.has(s)?-1:1,u=o&&a?-1:1,d=lt(e,t);let{mainAxis:h,crossAxis:f,alignmentAxis:g}=typeof d=="number"?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:d.mainAxis||0,crossAxis:d.crossAxis||0,alignmentAxis:d.alignmentAxis};return l&&typeof g=="number"&&(f=l==="end"?g*-1:g),a?{x:f*u,y:h*c}:{x:h*c,y:f*u}}const pu=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(e){var n,r;const{x:i,y:o,placement:s,middlewareData:l}=e,a=await du(e,t);return s===((n=l.offset)==null?void 0:n.placement)&&(r=l.arrow)!=null&&r.alignmentOffset?{}:{x:i+a.x,y:o+a.y,data:{...a,placement:s}}}}},mu=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){const{x:n,y:r,placement:i,platform:o}=e,{mainAxis:s=!0,crossAxis:l=!1,limiter:a={fn:v=>{let{x:k,y:b}=v;return{x:k,y:b}}},...c}=lt(t,e),u={x:n,y:r},d=await o.detectOverflow(e,c),h=Ze(ct(i)),f=ki(h);let g=u[f],y=u[h];if(s){const v=f==="y"?"top":"left",k=f==="y"?"bottom":"right",b=g+d[v],E=g-d[k];g=Qr(b,g,E)}if(l){const v=h==="y"?"top":"left",k=h==="y"?"bottom":"right",b=y+d[v],E=y-d[k];y=Qr(b,y,E)}const x=a.fn({...e,[f]:g,[h]:y});return{...x,data:{x:x.x-n,y:x.y-r,enabled:{[f]:s,[h]:l}}}}}},fu=function(t){return t===void 0&&(t={}),{options:t,fn(e){const{x:n,y:r,placement:i,rects:o,middlewareData:s}=e,{offset:l=0,mainAxis:a=!0,crossAxis:c=!0}=lt(t,e),u={x:n,y:r},d=Ze(i),h=ki(d);let f=u[h],g=u[d];const y=lt(l,e),x=typeof y=="number"?{mainAxis:y,crossAxis:0}:{mainAxis:0,crossAxis:0,...y};if(a){const b=h==="y"?"height":"width",E=o.reference[h]-o.floating[b]+x.mainAxis,P=o.reference[h]+o.reference[b]-x.mainAxis;f<E?f=E:f>P&&(f=P)}if(c){var v,k;const b=h==="y"?"width":"height",E=Fs.has(ct(i)),P=o.reference[d]-o.floating[b]+(E&&((v=s.offset)==null?void 0:v[d])||0)+(E?0:x.crossAxis),V=o.reference[d]+o.reference[b]+(E?0:((k=s.offset)==null?void 0:k[d])||0)-(E?x.crossAxis:0);g<P?g=P:g>V&&(g=V)}return{[h]:f,[d]:g}}}},hu=function(t){return t===void 0&&(t={}),{name:"size",options:t,async fn(e){var n,r;const{placement:i,rects:o,platform:s,elements:l}=e,{apply:a=()=>{},...c}=lt(t,e),u=await s.detectOverflow(e,c),d=ct(i),h=qt(i),f=Ze(i)==="y",{width:g,height:y}=o.floating;let x,v;d==="top"||d==="bottom"?(x=d,v=h===(await(s.isRTL==null?void 0:s.isRTL(l.floating))?"start":"end")?"left":"right"):(v=d,x=h==="end"?"top":"bottom");const k=y-u.top-u.bottom,b=g-u.left-u.right,E=pt(y-u[x],k),P=pt(g-u[v],b),V=!e.middlewareData.shift;let q=E,J=P;if((n=e.middlewareData.shift)!=null&&n.enabled.x&&(J=b),(r=e.middlewareData.shift)!=null&&r.enabled.y&&(q=k),V&&!h){const S=Me(u.left,0),O=Me(u.right,0),N=Me(u.top,0),D=Me(u.bottom,0);f?J=g-2*(S!==0||O!==0?S+O:Me(u.left,u.right)):q=y-2*(N!==0||D!==0?N+D:Me(u.top,u.bottom))}await a({...e,availableWidth:J,availableHeight:q});const B=await s.getDimensions(l.floating);return g!==B.width||y!==B.height?{reset:{rects:!0}}:{}}}};function or(){return typeof window<"u"}function wt(t){return Ei(t)?(t.nodeName||"").toLowerCase():"#document"}function $e(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function rt(t){var e;return(e=(Ei(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function Ei(t){return or()?t instanceof Node||t instanceof $e(t).Node:!1}function Ge(t){return or()?t instanceof Element||t instanceof $e(t).Element:!1}function tt(t){return or()?t instanceof HTMLElement||t instanceof $e(t).HTMLElement:!1}function Lo(t){return!or()||typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof $e(t).ShadowRoot}const gu=new Set(["inline","contents"]);function yn(t){const{overflow:e,overflowX:n,overflowY:r,display:i}=Ue(t);return/auto|scroll|overlay|hidden|clip/.test(e+r+n)&&!gu.has(i)}const _u=new Set(["table","td","th"]);function yu(t){return _u.has(wt(t))}const vu=[":popover-open",":modal"];function sr(t){return vu.some(e=>{try{return t.matches(e)}catch{return!1}})}const bu=["transform","translate","scale","rotate","perspective"],ku=["transform","translate","scale","rotate","perspective","filter"],wu=["paint","layout","strict","content"];function Ti(t){const e=Ai(),n=Ge(t)?Ue(t):t;return bu.some(r=>n[r]?n[r]!=="none":!1)||(n.containerType?n.containerType!=="normal":!1)||!e&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!e&&(n.filter?n.filter!=="none":!1)||ku.some(r=>(n.willChange||"").includes(r))||wu.some(r=>(n.contain||"").includes(r))}function xu(t){let e=mt(t);for(;tt(e)&&!Bt(e);){if(Ti(e))return e;if(sr(e))return null;e=mt(e)}return null}function Ai(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const Eu=new Set(["html","body","#document"]);function Bt(t){return Eu.has(wt(t))}function Ue(t){return $e(t).getComputedStyle(t)}function ar(t){return Ge(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function mt(t){if(wt(t)==="html")return t;const e=t.assignedSlot||t.parentNode||Lo(t)&&t.host||rt(t);return Lo(e)?e.host:e}function js(t){const e=mt(t);return Bt(e)?t.ownerDocument?t.ownerDocument.body:t.body:tt(e)&&yn(e)?e:js(e)}function dn(t,e,n){var r;e===void 0&&(e=[]),n===void 0&&(n=!0);const i=js(t),o=i===((r=t.ownerDocument)==null?void 0:r.body),s=$e(i);if(o){const l=Zr(s);return e.concat(s,s.visualViewport||[],yn(i)?i:[],l&&n?dn(l):[])}return e.concat(i,dn(i,[],n))}function Zr(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function qs(t){const e=Ue(t);let n=parseFloat(e.width)||0,r=parseFloat(e.height)||0;const i=tt(t),o=i?t.offsetWidth:n,s=i?t.offsetHeight:r,l=Fn(n)!==o||Fn(r)!==s;return l&&(n=o,r=s),{width:n,height:r,$:l}}function Si(t){return Ge(t)?t:t.contextElement}function Mt(t){const e=Si(t);if(!tt(e))return et(1);const n=e.getBoundingClientRect(),{width:r,height:i,$:o}=qs(e);let s=(o?Fn(n.width):n.width)/r,l=(o?Fn(n.height):n.height)/i;return(!s||!Number.isFinite(s))&&(s=1),(!l||!Number.isFinite(l))&&(l=1),{x:s,y:l}}const Tu=et(0);function Hs(t){const e=$e(t);return!Ai()||!e.visualViewport?Tu:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function Au(t,e,n){return e===void 0&&(e=!1),!n||e&&n!==$e(t)?!1:e}function vt(t,e,n,r){e===void 0&&(e=!1),n===void 0&&(n=!1);const i=t.getBoundingClientRect(),o=Si(t);let s=et(1);e&&(r?Ge(r)&&(s=Mt(r)):s=Mt(t));const l=Au(o,n,r)?Hs(o):et(0);let a=(i.left+l.x)/s.x,c=(i.top+l.y)/s.y,u=i.width/s.x,d=i.height/s.y;if(o){const h=$e(o),f=r&&Ge(r)?$e(r):r;let g=h,y=Zr(g);for(;y&&r&&f!==g;){const x=Mt(y),v=y.getBoundingClientRect(),k=Ue(y),b=v.left+(y.clientLeft+parseFloat(k.paddingLeft))*x.x,E=v.top+(y.clientTop+parseFloat(k.paddingTop))*x.y;a*=x.x,c*=x.y,u*=x.x,d*=x.y,a+=b,c+=E,g=$e(y),y=Zr(g)}}return qn({width:u,height:d,x:a,y:c})}function lr(t,e){const n=ar(t).scrollLeft;return e?e.left+n:vt(rt(t)).left+n}function Gs(t,e){const n=t.getBoundingClientRect(),r=n.left+e.scrollLeft-lr(t,n),i=n.top+e.scrollTop;return{x:r,y:i}}function Su(t){let{elements:e,rect:n,offsetParent:r,strategy:i}=t;const o=i==="fixed",s=rt(r),l=e?sr(e.floating):!1;if(r===s||l&&o)return n;let a={scrollLeft:0,scrollTop:0},c=et(1);const u=et(0),d=tt(r);if((d||!d&&!o)&&((wt(r)!=="body"||yn(s))&&(a=ar(r)),tt(r))){const f=vt(r);c=Mt(r),u.x=f.x+r.clientLeft,u.y=f.y+r.clientTop}const h=s&&!d&&!o?Gs(s,a):et(0);return{width:n.width*c.x,height:n.height*c.y,x:n.x*c.x-a.scrollLeft*c.x+u.x+h.x,y:n.y*c.y-a.scrollTop*c.y+u.y+h.y}}function Ru(t){return Array.from(t.getClientRects())}function Lu(t){const e=rt(t),n=ar(t),r=t.ownerDocument.body,i=Me(e.scrollWidth,e.clientWidth,r.scrollWidth,r.clientWidth),o=Me(e.scrollHeight,e.clientHeight,r.scrollHeight,r.clientHeight);let s=-n.scrollLeft+lr(t);const l=-n.scrollTop;return Ue(r).direction==="rtl"&&(s+=Me(e.clientWidth,r.clientWidth)-i),{width:i,height:o,x:s,y:l}}const Co=25;function Cu(t,e){const n=$e(t),r=rt(t),i=n.visualViewport;let o=r.clientWidth,s=r.clientHeight,l=0,a=0;if(i){o=i.width,s=i.height;const u=Ai();(!u||u&&e==="fixed")&&(l=i.offsetLeft,a=i.offsetTop)}const c=lr(r);if(c<=0){const u=r.ownerDocument,d=u.body,h=getComputedStyle(d),f=u.compatMode==="CSS1Compat"&&parseFloat(h.marginLeft)+parseFloat(h.marginRight)||0,g=Math.abs(r.clientWidth-d.clientWidth-f);g<=Co&&(o-=g)}else c<=Co&&(o+=c);return{width:o,height:s,x:l,y:a}}const Pu=new Set(["absolute","fixed"]);function Ou(t,e){const n=vt(t,!0,e==="fixed"),r=n.top+t.clientTop,i=n.left+t.clientLeft,o=tt(t)?Mt(t):et(1),s=t.clientWidth*o.x,l=t.clientHeight*o.y,a=i*o.x,c=r*o.y;return{width:s,height:l,x:a,y:c}}function Po(t,e,n){let r;if(e==="viewport")r=Cu(t,n);else if(e==="document")r=Lu(rt(t));else if(Ge(e))r=Ou(e,n);else{const i=Hs(t);r={x:e.x-i.x,y:e.y-i.y,width:e.width,height:e.height}}return qn(r)}function Us(t,e){const n=mt(t);return n===e||!Ge(n)||Bt(n)?!1:Ue(n).position==="fixed"||Us(n,e)}function Iu(t,e){const n=e.get(t);if(n)return n;let r=dn(t,[],!1).filter(l=>Ge(l)&&wt(l)!=="body"),i=null;const o=Ue(t).position==="fixed";let s=o?mt(t):t;for(;Ge(s)&&!Bt(s);){const l=Ue(s),a=Ti(s);!a&&l.position==="fixed"&&(i=null),(o?!a&&!i:!a&&l.position==="static"&&!!i&&Pu.has(i.position)||yn(s)&&!a&&Us(t,s))?r=r.filter(u=>u!==s):i=l,s=mt(s)}return e.set(t,r),r}function Du(t){let{element:e,boundary:n,rootBoundary:r,strategy:i}=t;const s=[...n==="clippingAncestors"?sr(e)?[]:Iu(e,this._c):[].concat(n),r],l=s[0],a=s.reduce((c,u)=>{const d=Po(e,u,i);return c.top=Me(d.top,c.top),c.right=pt(d.right,c.right),c.bottom=pt(d.bottom,c.bottom),c.left=Me(d.left,c.left),c},Po(e,l,i));return{width:a.right-a.left,height:a.bottom-a.top,x:a.left,y:a.top}}function Nu(t){const{width:e,height:n}=qs(t);return{width:e,height:n}}function Mu(t,e,n){const r=tt(e),i=rt(e),o=n==="fixed",s=vt(t,!0,o,e);let l={scrollLeft:0,scrollTop:0};const a=et(0);function c(){a.x=lr(i)}if(r||!r&&!o)if((wt(e)!=="body"||yn(i))&&(l=ar(e)),r){const f=vt(e,!0,o,e);a.x=f.x+e.clientLeft,a.y=f.y+e.clientTop}else i&&c();o&&!r&&i&&c();const u=i&&!r&&!o?Gs(i,l):et(0),d=s.left+l.scrollLeft-a.x-u.x,h=s.top+l.scrollTop-a.y-u.y;return{x:d,y:h,width:s.width,height:s.height}}function Lr(t){return Ue(t).position==="static"}function Oo(t,e){if(!tt(t)||Ue(t).position==="fixed")return null;if(e)return e(t);let n=t.offsetParent;return rt(t)===n&&(n=n.ownerDocument.body),n}function Ws(t,e){const n=$e(t);if(sr(t))return n;if(!tt(t)){let i=mt(t);for(;i&&!Bt(i);){if(Ge(i)&&!Lr(i))return i;i=mt(i)}return n}let r=Oo(t,e);for(;r&&yu(r)&&Lr(r);)r=Oo(r,e);return r&&Bt(r)&&Lr(r)&&!Ti(r)?n:r||xu(t)||n}const $u=async function(t){const e=this.getOffsetParent||Ws,n=this.getDimensions,r=await n(t.floating);return{reference:Mu(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function Vu(t){return Ue(t).direction==="rtl"}const Bu={convertOffsetParentRelativeRectToViewportRelativeRect:Su,getDocumentElement:rt,getClippingRect:Du,getOffsetParent:Ws,getElementRects:$u,getClientRects:Ru,getDimensions:Nu,getScale:Mt,isElement:Ge,isRTL:Vu};function Ks(t,e){return t.x===e.x&&t.y===e.y&&t.width===e.width&&t.height===e.height}function zu(t,e){let n=null,r;const i=rt(t);function o(){var l;clearTimeout(r),(l=n)==null||l.disconnect(),n=null}function s(l,a){l===void 0&&(l=!1),a===void 0&&(a=1),o();const c=t.getBoundingClientRect(),{left:u,top:d,width:h,height:f}=c;if(l||e(),!h||!f)return;const g=Cn(d),y=Cn(i.clientWidth-(u+h)),x=Cn(i.clientHeight-(d+f)),v=Cn(u),b={rootMargin:-g+"px "+-y+"px "+-x+"px "+-v+"px",threshold:Me(0,pt(1,a))||1};let E=!0;function P(V){const q=V[0].intersectionRatio;if(q!==a){if(!E)return s();q?s(!1,q):r=setTimeout(()=>{s(!1,1e-7)},1e3)}q===1&&!Ks(c,t.getBoundingClientRect())&&s(),E=!1}try{n=new IntersectionObserver(P,{...b,root:i.ownerDocument})}catch{n=new IntersectionObserver(P,b)}n.observe(t)}return s(!0),o}function Fu(t,e,n,r){r===void 0&&(r={});const{ancestorScroll:i=!0,ancestorResize:o=!0,elementResize:s=typeof ResizeObserver=="function",layoutShift:l=typeof IntersectionObserver=="function",animationFrame:a=!1}=r,c=Si(t),u=i||o?[...c?dn(c):[],...dn(e)]:[];u.forEach(v=>{i&&v.addEventListener("scroll",n,{passive:!0}),o&&v.addEventListener("resize",n)});const d=c&&l?zu(c,n):null;let h=-1,f=null;s&&(f=new ResizeObserver(v=>{let[k]=v;k&&k.target===c&&f&&(f.unobserve(e),cancelAnimationFrame(h),h=requestAnimationFrame(()=>{var b;(b=f)==null||b.observe(e)})),n()}),c&&!a&&f.observe(c),f.observe(e));let g,y=a?vt(t):null;a&&x();function x(){const v=vt(t);y&&!Ks(y,v)&&n(),y=v,g=requestAnimationFrame(x)}return n(),()=>{var v;u.forEach(k=>{i&&k.removeEventListener("scroll",n),o&&k.removeEventListener("resize",n)}),d?.(),(v=f)==null||v.disconnect(),f=null,a&&cancelAnimationFrame(g)}}const ju=pu,qu=mu,Io=cu,Hu=hu,Gu=uu,Uu=lu,Wu=fu,Ku=(t,e,n)=>{const r=new Map,i={platform:Bu,...n},o={...i.platform,_c:r};return au(t,e,{...i,platform:o})};function Xu(t){return t!=null&&typeof t=="object"&&"$el"in t}function ei(t){if(Xu(t)){const e=t.$el;return Ei(e)&&wt(e)==="#comment"?null:e}return t}function It(t){return typeof t=="function"?t():m(t)}function Yu(t){return{name:"arrow",options:t,fn(e){const n=ei(It(t.element));return n==null?{}:Uu({element:n,padding:t.padding}).fn(e)}}}function Xs(t){return typeof window>"u"?1:(t.ownerDocument.defaultView||window).devicePixelRatio||1}function Do(t,e){const n=Xs(t);return Math.round(e*n)/n}function Qu(t,e,n){n===void 0&&(n={});const r=n.whileElementsMounted,i=$(()=>{var q;return(q=It(n.open))!=null?q:!0}),o=$(()=>It(n.middleware)),s=$(()=>{var q;return(q=It(n.placement))!=null?q:"bottom"}),l=$(()=>{var q;return(q=It(n.strategy))!=null?q:"absolute"}),a=$(()=>{var q;return(q=It(n.transform))!=null?q:!0}),c=$(()=>ei(t.value)),u=$(()=>ei(e.value)),d=j(0),h=j(0),f=j(l.value),g=j(s.value),y=Ns({}),x=j(!1),v=$(()=>{const q={position:f.value,left:"0",top:"0"};if(!u.value)return q;const J=Do(u.value,d.value),B=Do(u.value,h.value);return a.value?{...q,transform:"translate("+J+"px, "+B+"px)",...Xs(u.value)>=1.5&&{willChange:"transform"}}:{position:f.value,left:J+"px",top:B+"px"}});let k;function b(){if(c.value==null||u.value==null)return;const q=i.value;Ku(c.value,u.value,{middleware:o.value,placement:s.value,strategy:l.value}).then(J=>{d.value=J.x,h.value=J.y,f.value=J.strategy,g.value=J.placement,y.value=J.middlewareData,x.value=q!==!1})}function E(){typeof k=="function"&&(k(),k=void 0)}function P(){if(E(),r===void 0){b();return}if(c.value!=null&&u.value!=null){k=r(c.value,u.value,b);return}}function V(){i.value||(x.value=!1)}return Te([o,s,l,i],b,{flush:"sync"}),Te([c,u],P,{flush:"sync"}),Te(i,V,{flush:"sync"}),Ul()&&Wl(E),{x:Ot(d),y:Ot(h),strategy:Ot(f),placement:Ot(g),middlewareData:Ot(y),isPositioned:Ot(x),floatingStyles:v,update:b}}const Ju={side:"bottom",sideOffset:0,sideFlip:!0,align:"center",alignOffset:0,alignFlip:!0,arrowPadding:0,hideShiftedArrow:!0,avoidCollisions:!0,collisionBoundary:()=>[],collisionPadding:0,sticky:"partial",hideWhenDetached:!1,positionStrategy:"fixed",updatePositionStrategy:"optimized",prioritizePosition:!1},[Zu,ed]=Ft("PopperContent");var td=U({inheritAttrs:!1,__name:"PopperContent",props:Kl({side:{type:null,required:!1},sideOffset:{type:Number,required:!1},sideFlip:{type:Boolean,required:!1},align:{type:null,required:!1},alignOffset:{type:Number,required:!1},alignFlip:{type:Boolean,required:!1},avoidCollisions:{type:Boolean,required:!1},collisionBoundary:{type:null,required:!1},collisionPadding:{type:[Number,Object],required:!1},arrowPadding:{type:Number,required:!1},hideShiftedArrow:{type:Boolean,required:!1},sticky:{type:String,required:!1},hideWhenDetached:{type:Boolean,required:!1},positionStrategy:{type:String,required:!1},updatePositionStrategy:{type:String,required:!1},disableUpdateOnLayoutShift:{type:Boolean,required:!1},prioritizePosition:{type:Boolean,required:!1},reference:{type:null,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},{...Ju}),emits:["placed"],setup(t,{emit:e}){const n=t,r=e,i=Bs(),{forwardRef:o,currentElement:s}=Ce(),l=j(),a=j(),{width:c,height:u}=Pc(a),d=$(()=>n.side+(n.align!=="center"?`-${n.align}`:"")),h=$(()=>typeof n.collisionPadding=="number"?n.collisionPadding:{top:0,right:0,bottom:0,left:0,...n.collisionPadding}),f=$(()=>Array.isArray(n.collisionBoundary)?n.collisionBoundary:[n.collisionBoundary]),g=$(()=>({padding:h.value,boundary:f.value.filter(Wc),altBoundary:f.value.length>0})),y=$(()=>({mainAxis:n.sideFlip,crossAxis:n.alignFlip})),x=jl(()=>[ju({mainAxis:n.sideOffset+u.value,alignmentAxis:n.alignOffset}),n.prioritizePosition&&n.avoidCollisions&&Io({...g.value,...y.value}),n.avoidCollisions&&qu({mainAxis:!0,crossAxis:!!n.prioritizePosition,limiter:n.sticky==="partial"?Wu():void 0,...g.value}),!n.prioritizePosition&&n.avoidCollisions&&Io({...g.value,...y.value}),Hu({...g.value,apply:({elements:N,rects:D,availableWidth:I,availableHeight:z})=>{const{width:W,height:ee}=D.reference,Z=N.floating.style;Z.setProperty("--reka-popper-available-width",`${I}px`),Z.setProperty("--reka-popper-available-height",`${z}px`),Z.setProperty("--reka-popper-anchor-width",`${W}px`),Z.setProperty("--reka-popper-anchor-height",`${ee}px`)}}),a.value&&Yu({element:a.value,padding:n.arrowPadding}),Kc({arrowWidth:c.value,arrowHeight:u.value}),n.hideWhenDetached&&Gu({strategy:"referenceHidden",...g.value})]),v=$(()=>n.reference??i.anchor.value),{floatingStyles:k,placement:b,isPositioned:E,middlewareData:P}=Qu(v,l,{strategy:n.positionStrategy,placement:d,whileElementsMounted:(...N)=>Fu(...N,{layoutShift:!n.disableUpdateOnLayoutShift,animationFrame:n.updatePositionStrategy==="always"}),middleware:x}),V=$(()=>Yr(b.value)[0]),q=$(()=>Yr(b.value)[1]);Ds(()=>{E.value&&r("placed")});const J=$(()=>{const N=P.value.arrow?.centerOffset!==0;return n.hideShiftedArrow&&N}),B=j("");Ur(()=>{s.value&&(B.value=window.getComputedStyle(s.value).zIndex)});const S=$(()=>P.value.arrow?.x??0),O=$(()=>P.value.arrow?.y??0);return ed({placedSide:V,onArrowChange:N=>a.value=N,arrowX:S,arrowY:O,shouldHideArrow:J}),(N,D)=>(w(),A("div",{ref_key:"floatingRef",ref:l,"data-reka-popper-content-wrapper":"",style:un({...m(k),transform:m(E)?m(k).transform:"translate(0, -200%)",minWidth:"max-content",zIndex:B.value,"--reka-popper-transform-origin":[m(P).transformOrigin?.x,m(P).transformOrigin?.y].join(" "),...m(P).hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}})},[R(m(nt),Pe({ref:m(o)},N.$attrs,{"as-child":n.asChild,as:N.as,"data-side":V.value,"data-align":q.value,style:{animation:m(E)?void 0:"none"}}),{default:M(()=>[ne(N.$slots,"default")]),_:3},16,["as-child","as","data-side","data-align","style"])],4))}}),nd=td;const rd={top:"bottom",right:"left",bottom:"top",left:"right"};var id=U({inheritAttrs:!1,__name:"PopperArrow",props:{width:{type:Number,required:!1},height:{type:Number,required:!1},rounded:{type:Boolean,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"svg"}},setup(t){const{forwardRef:e}=Ce(),n=Zu(),r=$(()=>rd[n.placedSide.value]);return(i,o)=>(w(),A("span",{ref:s=>{m(n).onArrowChange(s)},style:un({position:"absolute",left:m(n).arrowX?.value?`${m(n).arrowX?.value}px`:void 0,top:m(n).arrowY?.value?`${m(n).arrowY?.value}px`:void 0,[r.value]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[m(n).placedSide.value],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[m(n).placedSide.value],visibility:m(n).shouldHideArrow.value?"hidden":void 0})},[R(Uc,Pe(i.$attrs,{ref:m(e),style:{display:"block"},as:i.as,"as-child":i.asChild,rounded:i.rounded,width:i.width,height:i.height}),{default:M(()=>[ne(i.$slots,"default")]),_:3},16,["as","as-child","rounded","width","height"])],4))}}),od=id;const[Ri,sd]=Ft("TabsRoot");var ad=U({__name:"TabsRoot",props:{defaultValue:{type:null,required:!1},orientation:{type:String,required:!1,default:"horizontal"},dir:{type:String,required:!1},activationMode:{type:String,required:!1,default:"automatic"},modelValue:{type:null,required:!1},unmountOnHide:{type:Boolean,required:!1,default:!0},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:["update:modelValue"],setup(t,{emit:e}){const n=t,r=e,{orientation:i,unmountOnHide:o,dir:s}=ir(n),l=Ts(s);Ce();const a=bi(n,"modelValue",r,{defaultValue:n.defaultValue,passive:n.modelValue===void 0}),c=j(),u=Ns(new Set);return sd({modelValue:a,changeModelValue:d=>{a.value=d},orientation:i,dir:l,unmountOnHide:o,activationMode:n.activationMode,baseId:vi(void 0,"reka-tabs"),tabsList:c,contentIds:u,registerContent:d=>{u.value=new Set([...u.value,d])},unregisterContent:d=>{const h=new Set(u.value);h.delete(d),u.value=h}}),(d,h)=>(w(),K(m(nt),{dir:m(l),"data-orientation":m(i),"as-child":d.asChild,as:d.as},{default:M(()=>[ne(d.$slots,"default",{modelValue:m(a)})]),_:3},8,["dir","data-orientation","as-child","as"]))}}),ld=ad;function Ys(t,e){return`${t}-trigger-${e}`}function Qs(t,e){return`${t}-content-${e}`}var cd=U({__name:"TabsContent",props:{value:{type:[String,Number],required:!0},forceMount:{type:Boolean,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(t){const e=t,{forwardRef:n}=Ce(),r=Ri(),i=$(()=>Ys(r.baseId,e.value)),o=$(()=>Qs(r.baseId,e.value)),s=$(()=>e.value===r.modelValue.value),l=j(s.value);return dt(()=>{r.registerContent(e.value),requestAnimationFrame(()=>{l.value=!1})}),Xl(()=>{r.unregisterContent(e.value)}),(a,c)=>(w(),K(m(Rs),{present:a.forceMount||s.value,"force-mount":""},{default:M(({present:u})=>[R(m(nt),{id:o.value,ref:m(n),"as-child":a.asChild,as:a.as,role:"tabpanel","data-state":s.value?"active":"inactive","data-orientation":m(r).orientation.value,"aria-labelledby":i.value,hidden:!u,tabindex:"0",style:un({animationDuration:l.value?"0s":void 0})},{default:M(()=>[!m(r).unmountOnHide.value||u?ne(a.$slots,"default",{key:0}):Y("v-if",!0)]),_:2},1032,["id","as-child","as","data-state","data-orientation","aria-labelledby","hidden","style"])]),_:3},8,["present"]))}}),ud=cd,dd=U({__name:"TabsList",props:{loop:{type:Boolean,required:!1,default:!0},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(t){const e=t,{loop:n}=ir(e),{forwardRef:r,currentElement:i}=Ce(),o=Ri();return o.tabsList=i,(s,l)=>(w(),K(m(Nc),{"as-child":"",orientation:m(o).orientation.value,dir:m(o).dir.value,loop:m(n)},{default:M(()=>[R(m(nt),{ref:m(r),role:"tablist","as-child":s.asChild,as:s.as,"aria-orientation":m(o).orientation.value},{default:M(()=>[ne(s.$slots,"default")]),_:3},8,["as-child","as","aria-orientation"])]),_:3},8,["orientation","dir","loop"]))}}),pd=dd,md=U({__name:"TabsTrigger",props:{value:{type:[String,Number],required:!0},disabled:{type:Boolean,required:!1,default:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"button"}},setup(t){const e=t,{forwardRef:n}=Ce(),r=Ri(),i=$(()=>Ys(r.baseId,e.value)),o=$(()=>r.contentIds.value.has(e.value)?Qs(r.baseId,e.value):void 0),s=$(()=>e.value===r.modelValue.value);return(l,a)=>(w(),K(m($c),{"as-child":"",focusable:!l.disabled,active:s.value},{default:M(()=>[R(m(nt),{id:i.value,ref:m(n),role:"tab",type:l.as==="button"?"button":void 0,as:l.as,"as-child":l.asChild,"aria-selected":s.value?"true":"false","aria-controls":o.value,"data-state":s.value?"active":"inactive",disabled:l.disabled,"data-disabled":l.disabled?"":void 0,"data-orientation":m(r).orientation.value,onMousedown:a[0]||(a[0]=Ms(c=>{!l.disabled&&c.ctrlKey===!1?m(r).changeModelValue(l.value):c.preventDefault()},["left"])),onKeydown:a[1]||(a[1]=Yl(c=>m(r).changeModelValue(l.value),["enter","space"])),onFocus:a[2]||(a[2]=()=>{const c=m(r).activationMode!=="manual";!s.value&&!l.disabled&&c&&m(r).changeModelValue(l.value)})},{default:M(()=>[ne(l.$slots,"default")]),_:3},8,["id","type","as","as-child","aria-selected","aria-controls","data-state","disabled","data-disabled","data-orientation"])]),_:3},8,["focusable","active"]))}}),fd=md,hd=U({__name:"TooltipArrow",props:{width:{type:Number,required:!1,default:10},height:{type:Number,required:!1,default:5},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"svg"}},setup(t){const e=t;return Ce(),(n,r)=>(w(),K(m(od),gn(_n(e)),{default:M(()=>[ne(n.$slots,"default")]),_:3},16))}}),gd=hd;const[Li,_d]=Ft("TooltipProvider");var yd=U({inheritAttrs:!1,__name:"TooltipProvider",props:{delayDuration:{type:Number,required:!1,default:700},skipDelayDuration:{type:Number,required:!1,default:300},disableHoverableContent:{type:Boolean,required:!1,default:!1},disableClosingTrigger:{type:Boolean,required:!1},disabled:{type:Boolean,required:!1},ignoreNonKeyboardFocus:{type:Boolean,required:!1,default:!1}},setup(t){const e=t,{delayDuration:n,skipDelayDuration:r,disableHoverableContent:i,disableClosingTrigger:o,ignoreNonKeyboardFocus:s,disabled:l}=ir(e);Ce();const a=j(!0),c=j(!1),{start:u,stop:d}=Cs(()=>{a.value=!0},r,{immediate:!1});return _d({isOpenDelayed:a,delayDuration:n,onOpen(){d(),a.value=!1},onClose(){u()},isPointerInTransitRef:c,disableHoverableContent:i,disableClosingTrigger:o,disabled:l,ignoreNonKeyboardFocus:s}),(h,f)=>ne(h.$slots,"default")}}),vd=yd;const Js="tooltip.open",[cr,bd]=Ft("TooltipRoot");var kd=U({__name:"TooltipRoot",props:{defaultOpen:{type:Boolean,required:!1,default:!1},open:{type:Boolean,required:!1,default:void 0},delayDuration:{type:Number,required:!1,default:void 0},disableHoverableContent:{type:Boolean,required:!1,default:void 0},disableClosingTrigger:{type:Boolean,required:!1,default:void 0},disabled:{type:Boolean,required:!1,default:void 0},ignoreNonKeyboardFocus:{type:Boolean,required:!1,default:void 0}},emits:["update:open"],setup(t,{emit:e}){const n=t,r=e;Ce();const i=Li(),o=$(()=>n.disableHoverableContent??i.disableHoverableContent.value),s=$(()=>n.disableClosingTrigger??i.disableClosingTrigger.value),l=$(()=>n.disabled??i.disabled.value),a=$(()=>n.delayDuration??i.delayDuration.value),c=$(()=>n.ignoreNonKeyboardFocus??i.ignoreNonKeyboardFocus.value),u=bi(n,"open",r,{defaultValue:n.defaultOpen,passive:n.open===void 0});Te(u,b=>{i.onClose&&(b?(i.onOpen(),document.dispatchEvent(new CustomEvent(Js))):i.onClose())});const d=j(!1),h=j(),f=$(()=>u.value?d.value?"delayed-open":"instant-open":"closed"),{start:g,stop:y}=Cs(()=>{d.value=!0,u.value=!0},a,{immediate:!1});function x(){y(),d.value=!1,u.value=!0}function v(){y(),u.value=!1}function k(){g()}return bd({contentId:"",open:u,stateAttribute:f,trigger:h,onTriggerChange(b){h.value=b},onTriggerEnter(){i.isOpenDelayed.value?k():x()},onTriggerLeave(){o.value?v():y()},onOpen:x,onClose:v,disableHoverableContent:o,disableClosingTrigger:s,disabled:l,ignoreNonKeyboardFocus:c}),(b,E)=>(w(),K(m(zc),null,{default:M(()=>[ne(b.$slots,"default",{open:m(u)})]),_:3}))}}),wd=kd,xd=U({__name:"TooltipContentImpl",props:{ariaLabel:{type:String,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1},side:{type:null,required:!1,default:"top"},sideOffset:{type:Number,required:!1,default:0},align:{type:null,required:!1,default:"center"},alignOffset:{type:Number,required:!1},avoidCollisions:{type:Boolean,required:!1,default:!0},collisionBoundary:{type:null,required:!1,default:()=>[]},collisionPadding:{type:[Number,Object],required:!1,default:0},arrowPadding:{type:Number,required:!1,default:0},sticky:{type:String,required:!1,default:"partial"},hideWhenDetached:{type:Boolean,required:!1,default:!1},positionStrategy:{type:String,required:!1},updatePositionStrategy:{type:String,required:!1}},emits:["escapeKeyDown","pointerDownOutside"],setup(t,{emit:e}){const n=t,r=e,i=cr(),{forwardRef:o,currentElement:s}=Ce(),l=$(()=>n.ariaLabel||s.value?.textContent),a=$(()=>{const{ariaLabel:c,...u}=n;return u});return dt(()=>{bo(window,"scroll",c=>{c.target?.contains(i.trigger.value)&&i.onClose()}),bo(window,Js,i.onClose)}),(c,u)=>(w(),K(m(xl),{"as-child":"","disable-outside-pointer-events":!1,onEscapeKeyDown:u[0]||(u[0]=d=>r("escapeKeyDown",d)),onPointerDownOutside:u[1]||(u[1]=d=>{m(i).disableClosingTrigger.value&&m(i).trigger.value?.contains(d.target)&&d.preventDefault(),r("pointerDownOutside",d)}),onFocusOutside:u[2]||(u[2]=Ms(()=>{},["prevent"])),onDismiss:u[3]||(u[3]=d=>m(i).onClose())},{default:M(()=>[R(m(nd),Pe({ref:m(o),"data-state":m(i).stateAttribute.value},{...c.$attrs,...a.value},{style:{"--reka-tooltip-content-transform-origin":"var(--reka-popper-transform-origin)","--reka-tooltip-content-available-width":"var(--reka-popper-available-width)","--reka-tooltip-content-available-height":"var(--reka-popper-available-height)","--reka-tooltip-trigger-width":"var(--reka-popper-anchor-width)","--reka-tooltip-trigger-height":"var(--reka-popper-anchor-height)"}}),{default:M(()=>[ne(c.$slots,"default"),R(m(wl),{id:m(i).contentId,role:"tooltip"},{default:M(()=>[re(G(l.value),1)]),_:1},8,["id"])]),_:3},16,["data-state"])]),_:3}))}}),Zs=xd,Ed=U({__name:"TooltipContentHoverable",props:{ariaLabel:{type:String,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1},side:{type:null,required:!1},sideOffset:{type:Number,required:!1},align:{type:null,required:!1},alignOffset:{type:Number,required:!1},avoidCollisions:{type:Boolean,required:!1},collisionBoundary:{type:null,required:!1},collisionPadding:{type:[Number,Object],required:!1},arrowPadding:{type:Number,required:!1},sticky:{type:String,required:!1},hideWhenDetached:{type:Boolean,required:!1},positionStrategy:{type:String,required:!1},updatePositionStrategy:{type:String,required:!1}},setup(t){const n=Ls(t),{forwardRef:r,currentElement:i}=Ce(),{trigger:o,onClose:s}=cr(),l=Li(),{isPointerInTransit:a,onPointerExit:c}=Ec(o,i);return l.isPointerInTransitRef=a,c(()=>{s()}),(u,d)=>(w(),K(Zs,Pe({ref:m(r)},m(n)),{default:M(()=>[ne(u.$slots,"default")]),_:3},16))}}),Td=Ed,Ad=U({__name:"TooltipContent",props:{forceMount:{type:Boolean,required:!1},ariaLabel:{type:String,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1},side:{type:null,required:!1,default:"top"},sideOffset:{type:Number,required:!1},align:{type:null,required:!1},alignOffset:{type:Number,required:!1},avoidCollisions:{type:Boolean,required:!1},collisionBoundary:{type:null,required:!1},collisionPadding:{type:[Number,Object],required:!1},arrowPadding:{type:Number,required:!1},sticky:{type:String,required:!1},hideWhenDetached:{type:Boolean,required:!1},positionStrategy:{type:String,required:!1},updatePositionStrategy:{type:String,required:!1}},emits:["escapeKeyDown","pointerDownOutside"],setup(t,{emit:e}){const n=t,r=e,i=cr(),o=rr(n,r),{forwardRef:s}=Ce();return(l,a)=>(w(),K(m(Rs),{present:l.forceMount||m(i).open.value},{default:M(()=>[(w(),K(kt(m(i).disableHoverableContent.value?Zs:Td),Pe({ref:m(s)},m(o)),{default:M(()=>[ne(l.$slots,"default")]),_:3},16))]),_:3},8,["present"]))}}),Sd=Ad,Rd=U({__name:"TooltipPortal",props:{to:{type:null,required:!1},disabled:{type:Boolean,required:!1},defer:{type:Boolean,required:!1},forceMount:{type:Boolean,required:!1}},setup(t){const e=t;return(n,r)=>(w(),K(m(El),gn(_n(e)),{default:M(()=>[ne(n.$slots,"default")]),_:3},16))}}),Ld=Rd,Cd=U({__name:"TooltipTrigger",props:{reference:{type:null,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"button"}},setup(t){const e=t,n=cr(),r=Li();n.contentId||=vi(void 0,"reka-tooltip-content");const{forwardRef:i,currentElement:o}=Ce(),s=j(!1),l=j(!1),a=$(()=>n.disabled.value?{}:{click:y,focus:f,pointermove:d,pointerleave:h,pointerdown:u,blur:g});dt(()=>{n.onTriggerChange(o.value)});function c(){setTimeout(()=>{s.value=!1},1)}function u(){n.open&&!n.disableClosingTrigger.value&&n.onClose(),s.value=!0,document.addEventListener("pointerup",c,{once:!0})}function d(x){x.pointerType!=="touch"&&!l.value&&!r.isPointerInTransitRef.value&&(n.onTriggerEnter(),l.value=!0)}function h(){n.onTriggerLeave(),l.value=!1}function f(x){s.value||n.ignoreNonKeyboardFocus.value&&!x.target.matches?.(":focus-visible")||n.onOpen()}function g(){n.onClose()}function y(){n.disableClosingTrigger.value||n.onClose()}return(x,v)=>(w(),K(m(jc),{"as-child":"",reference:x.reference},{default:M(()=>[R(m(nt),Pe({ref:m(i),"aria-describedby":m(n).open.value?m(n).contentId:void 0,"data-state":m(n).stateAttribute.value,as:x.as,"as-child":e.asChild,"data-grace-area-trigger":""},Ql(a.value)),{default:M(()=>[ne(x.$slots,"default")]),_:3},16,["aria-describedby","data-state","as","as-child"])]),_:3},8,["reference"]))}}),Pd=Cd;const Od={key:0,class:"flex flex-wrap items-center gap-3 text-sm"},Id={key:0,class:"flex items-center gap-1.5 text-muted-foreground"},Dd={key:1,class:"flex items-center gap-1.5 text-muted-foreground"},Nd=["href"],Md={key:4,class:"flex items-center gap-1.5 text-muted-foreground"},$d=U({__name:"Meta",props:{metadata:{}},setup(t){const e=t,n=$(()=>{const i=e.metadata.status?.toLowerCase();return i?i.includes("complete")||i.includes("done")||i.includes("progress")||i.includes("active")?"default":i.includes("draft")?"secondary":i.includes("blocked")||i.includes("paused")?"destructive":"secondary":"secondary"}),r=$(()=>e.metadata.author||e.metadata.date||e.metadata.status||e.metadata.shortcutStory);return(i,o)=>m(r)?(w(),A("div",Od,[t.metadata.author?(w(),A("div",Id,[R(m(xc),{class:"size-3.5"}),T("span",null,G(t.metadata.author),1)])):Y("",!0),t.metadata.date?(w(),A("div",Dd,[R(m(Vs),{class:"size-3.5"}),T("span",null,G(t.metadata.date),1)])):Y("",!0),t.metadata.status?(w(),K(m(Nt),{key:2,variant:m(n),class:"gap-1"},{default:M(()=>[R(m(oc),{class:"size-3"}),re(" "+G(t.metadata.status),1)]),_:1},8,["variant"])):Y("",!0),t.metadata.shortcutStory&&t.metadata.shortcutUrl?(w(),A("a",{key:3,href:t.metadata.shortcutUrl,target:"_blank",rel:"noopener noreferrer",class:"inline-flex items-center gap-1.5 text-primary hover:underline"},[R(m(xo),{class:"size-3.5"}),T("span",null,G(t.metadata.shortcutStory),1)],8,Nd)):t.metadata.shortcutStory?(w(),A("span",Md,[R(m(xo),{class:"size-3.5"}),T("span",null,G(t.metadata.shortcutStory),1)])):Y("",!0)])):Y("",!0)}}),Vd=Object.assign($d,{__name:"PrdMeta"});function Ci(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}var xt=Ci();function ea(t){xt=t}var _t={exec:()=>null};function te(t,e=""){let n=typeof t=="string"?t:t.source,r={replace:(i,o)=>{let s=typeof o=="string"?o:o.source;return s=s.replace(Se.caret,"$1"),n=n.replace(i,s),r},getRegex:()=>new RegExp(n,e)};return r}var Bd=(()=>{try{return!!new RegExp("(?<=1)(?<!1)")}catch{return!1}})(),Se={codeRemoveIndent:/^(?: {1,4}| {0,3}\t)/gm,outputLinkReplace:/\\([\[\]])/g,indentCodeCompensation:/^(\s+)(?:```)/,beginningSpace:/^\s+/,endingHash:/#$/,startingSpaceChar:/^ /,endingSpaceChar:/ $/,nonSpaceChar:/[^ ]/,newLineCharGlobal:/\n/g,tabCharGlobal:/\t/g,multipleSpaceGlobal:/\s+/g,blankLine:/^[ \t]*$/,doubleBlankLine:/\n[ \t]*\n[ \t]*$/,blockquoteStart:/^ {0,3}>/,blockquoteSetextReplace:/\n {0,3}((?:=+|-+) *)(?=\n|$)/g,blockquoteSetextReplace2:/^ {0,3}>[ \t]?/gm,listReplaceNesting:/^ {1,4}(?=( {4})*[^ ])/g,listIsTask:/^\[[ xX]\] +\S/,listReplaceTask:/^\[[ xX]\] +/,listTaskCheckbox:/\[[ xX]\]/,anyLine:/\n.*\n/,hrefBrackets:/^<(.*)>$/,tableDelimiter:/[:|]/,tableAlignChars:/^\||\| *$/g,tableRowBlankLine:/\n[ \t]*$/,tableAlignRight:/^ *-+: *$/,tableAlignCenter:/^ *:-+: *$/,tableAlignLeft:/^ *:-+ *$/,startATag:/^<a /i,endATag:/^<\/a>/i,startPreScriptTag:/^<(pre|code|kbd|script)(\s|>)/i,endPreScriptTag:/^<\/(pre|code|kbd|script)(\s|>)/i,startAngleBracket:/^</,endAngleBracket:/>$/,pedanticHrefTitle:/^([^'"]*[^\s])\s+(['"])(.*)\2/,unicodeAlphaNumeric:/[\p{L}\p{N}]/u,escapeTest:/[&<>"']/,escapeReplace:/[&<>"']/g,escapeTestNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,escapeReplaceNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/g,unescapeTest:/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig,caret:/(^|[^\[])\^/g,percentDecode:/%25/g,findPipe:/\|/g,splitPipe:/ \|/,slashPipe:/\\\|/g,carriageReturn:/\r\n|\r/g,spaceLine:/^ +$/gm,notSpaceStart:/^\S*/,endingNewline:/\n$/,listItemRegex:t=>new RegExp(`^( {0,3}${t})((?:[ ][^\\n]*)?(?:\\n|$))`),nextBulletRegex:t=>new RegExp(`^ {0,${Math.min(3,t-1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`),hrRegex:t=>new RegExp(`^ {0,${Math.min(3,t-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),fencesBeginRegex:t=>new RegExp(`^ {0,${Math.min(3,t-1)}}(?:\`\`\`|~~~)`),headingBeginRegex:t=>new RegExp(`^ {0,${Math.min(3,t-1)}}#`),htmlBeginRegex:t=>new RegExp(`^ {0,${Math.min(3,t-1)}}<(?:[a-z].*>|!--)`,"i"),blockquoteBeginRegex:t=>new RegExp(`^ {0,${Math.min(3,t-1)}}>`)},zd=/^(?:[ \t]*(?:\n|$))+/,Fd=/^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/,jd=/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,vn=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,qd=/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,Pi=/ {0,3}(?:[*+-]|\d{1,9}[.)])/,ta=/^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/,na=te(ta).replace(/bull/g,Pi).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/\|table/g,"").getRegex(),Hd=te(ta).replace(/bull/g,Pi).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/table/g,/ {0,3}\|?(?:[:\- ]*\|)+[\:\- ]*\n/).getRegex(),Oi=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,Gd=/^[^\n]+/,Ii=/(?!\s*\])(?:\\[\s\S]|[^\[\]\\])+/,Ud=te(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label",Ii).replace("title",/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),Wd=te(/^(bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g,Pi).getRegex(),ur="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",Di=/<!--(?:-?>|[\s\S]*?(?:-->|$))/,Kd=te("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$))","i").replace("comment",Di).replace("tag",ur).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),ra=te(Oi).replace("hr",vn).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)])[ \\t]").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",ur).getRegex(),Xd=te(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph",ra).getRegex(),Ni={blockquote:Xd,code:Fd,def:Ud,fences:jd,heading:qd,hr:vn,html:Kd,lheading:na,list:Wd,newline:zd,paragraph:ra,table:_t,text:Gd},No=te("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr",vn).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("blockquote"," {0,3}>").replace("code","(?: {4}| {0,3} )[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)])[ \\t]").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",ur).getRegex(),Yd={...Ni,lheading:Hd,table:No,paragraph:te(Oi).replace("hr",vn).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",No).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)])[ \\t]").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",ur).getRegex()},Qd={...Ni,html:te(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",Di).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:_t,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:te(Oi).replace("hr",vn).replace("heading",` *#{1,6} *[^
2
+ import{_ as _l}from"./DoNqd8jQ.js";import{u as Ts,a as As,f as Ss,c as Ft,E as yl,b as vl,d as vi,g as bl,w as kl,e as Ce,P as Rs,V as wl,D as xl,h as Ls,i as rr,T as El,B as Nt,C as cn,A as yo,j as Tl,R as Hr,L as Gr,K as Al,S as Sl,k as Rl,l as Ll,m as Cl,n as Pl,o as Ol,p as Il,q as Dl,r as Nl,s as Ml,t as $l,v as vo}from"./CMUOpExW.js";import{c as se,r as Vl,t as Bl,d as zl,e as Fl,f as bi,P as nt,g as jl,h as Cs,i as bo,j as Ve,B as at,k as jt,b as Ps,F as Os,u as ql,a as Hl}from"./DE885CbX.js";import{v as Ur,q as j,x as dt,s as $,g as U,y as ir,o as w,z as K,w as M,b as R,l as m,A as ne,B as Is,C as Gl,D as Ds,c as A,E as Pe,k as Te,G as Ul,H as Wl,I as Ot,J as Ns,K as un,L as Kl,M as Xl,n as Y,N as Yl,p as Ms,O as gn,P as _n,d as re,t as G,Q as kt,R as Ql,a as T,_ as p,S as ue,F as ve,r as He,T as Ln,U as Jl,V as Zl,W as ec,X as tc,m as ko,i as nc}from"./R2cvz8mH.js";import{_ as $s}from"./DlAUqK2U.js";import{A as wo}from"./BFv4l3hn.js";const rc=se("arrow-down",[["path",{d:"M12 5v14",key:"s699le"}],["path",{d:"m19 12-7 7-7-7",key:"1idqje"}]]);const ic=se("arrow-left",[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]]);const Vs=se("calendar",[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M3 10h18",key:"8toen8"}]]);const Wr=se("circle-check",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);const oc=se("circle-dot",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}]]);const sc=se("circle-play",[["path",{d:"M9 9.003a1 1 0 0 1 1.517-.859l4.997 2.997a1 1 0 0 1 0 1.718l-4.997 2.997A1 1 0 0 1 9 14.996z",key:"kmsa83"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]]);const an=se("circle",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]]);const ac=se("clock",[["path",{d:"M12 6v6l4 2",key:"mmk7yg"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]]);const lc=se("diff",[["path",{d:"M12 3v14",key:"7cf3v8"}],["path",{d:"M5 10h14",key:"elsbfy"}],["path",{d:"M5 21h14",key:"11awu3"}]]);const xo=se("external-link",[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]]);const cc=se("file-code",[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"M10 12.5 8 15l2 2.5",key:"1tg20x"}],["path",{d:"m14 12.5 2 2.5-2 2.5",key:"yinavb"}]]);const uc=se("file-diff",[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M9 10h6",key:"9gxzsh"}],["path",{d:"M12 13V7",key:"h0r20n"}],["path",{d:"M9 17h6",key:"r8uit2"}]]);const dc=se("file-exclamation-point",[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]]);const pc=se("file-pen",[["path",{d:"M12.659 22H18a2 2 0 0 0 2-2V8a2.4 2.4 0 0 0-.706-1.706l-3.588-3.588A2.4 2.4 0 0 0 14 2H6a2 2 0 0 0-2 2v9.34",key:"o6klzx"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"M10.378 12.622a1 1 0 0 1 3 3.003L8.36 20.637a2 2 0 0 1-.854.506l-2.867.837a.5.5 0 0 1-.62-.62l.836-2.869a2 2 0 0 1 .506-.853z",key:"zhnas1"}]]);const mc=se("file-plus",[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"M9 15h6",key:"cctwl0"}],["path",{d:"M12 18v-6",key:"17g6i2"}]]);const fc=se("file-x",[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"m14.5 12.5-5 5",key:"b62r18"}],["path",{d:"m9.5 12.5 5 5",key:"1rk7el"}]]);const hc=se("folder-git-2",[["path",{d:"M18 19a5 5 0 0 1-5-5v8",key:"sz5oeg"}],["path",{d:"M9 20H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H20a2 2 0 0 1 2 2v5",key:"1w6njk"}],["circle",{cx:"13",cy:"12",r:"2",key:"1j92g6"}],["circle",{cx:"20",cy:"19",r:"2",key:"1obnsp"}]]);const gc=se("git-commit-horizontal",[["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}],["line",{x1:"3",x2:"9",y1:"12",y2:"12",key:"1dyftd"}],["line",{x1:"15",x2:"21",y1:"12",y2:"12",key:"oup4p8"}]]);const _c=se("link-2-off",[["path",{d:"M9 17H7A5 5 0 0 1 7 7",key:"10o201"}],["path",{d:"M15 7h2a5 5 0 0 1 4 8",key:"1d3206"}],["line",{x1:"8",x2:"12",y1:"12",y2:"12",key:"rvw6j4"}],["line",{x1:"2",x2:"22",y1:"2",y2:"22",key:"a6p6uj"}]]);const yc=se("link-2",[["path",{d:"M9 17H7A5 5 0 0 1 7 7h2",key:"8i5ue5"}],["path",{d:"M15 7h2a5 5 0 1 1 0 10h-2",key:"1b9ql8"}],["line",{x1:"8",x2:"16",y1:"12",y2:"12",key:"1jonct"}]]);const vc=se("link",[["path",{d:"M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71",key:"1cjeqo"}],["path",{d:"M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71",key:"19qd67"}]]);const bc=se("list-ordered",[["path",{d:"M11 5h10",key:"1cz7ny"}],["path",{d:"M11 12h10",key:"1438ji"}],["path",{d:"M11 19h10",key:"11t30w"}],["path",{d:"M4 4h1v5",key:"10yrso"}],["path",{d:"M4 9h2",key:"r1h2o0"}],["path",{d:"M6.5 20H3.4c0-1 2.6-1.925 2.6-3.5a1.5 1.5 0 0 0-2.6-1.02",key:"xtkcd5"}]]);const Kr=se("minus",[["path",{d:"M5 12h14",key:"1ays0h"}]]);const kc=se("square-check-big",[["path",{d:"M21 10.656V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h12.344",key:"2acyp4"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]]);const wc=se("tag",[["path",{d:"M12.586 2.586A2 2 0 0 0 11.172 2H4a2 2 0 0 0-2 2v7.172a2 2 0 0 0 .586 1.414l8.704 8.704a2.426 2.426 0 0 0 3.42 0l6.58-6.58a2.426 2.426 0 0 0 0-3.42z",key:"vktsd0"}],["circle",{cx:"7.5",cy:"7.5",r:".5",fill:"currentColor",key:"kqv944"}]]);const Xr=se("triangle-alert",[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]]);const xc=se("user",[["path",{d:"M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2",key:"975kel"}],["circle",{cx:"12",cy:"7",r:"4",key:"17ys0d"}]]);function Ec(t,e){const n=Vl(!1,300);Bl(()=>{n.value=!1});const r=j(null),i=zl();function o(){r.value=null,n.value=!1}function s(l,a){const c=l.currentTarget,u={x:l.clientX,y:l.clientY},d=Tc(u,c.getBoundingClientRect()),h=Ac(u,d,1),f=Sc(a.getBoundingClientRect()),g=Lc([...h,...f]);r.value=g,n.value=!0}return Ur(l=>{if(t.value&&e.value){const a=u=>s(u,e.value),c=u=>s(u,t.value);t.value.addEventListener("pointerleave",a),e.value.addEventListener("pointerleave",c),l(()=>{t.value?.removeEventListener("pointerleave",a),e.value?.removeEventListener("pointerleave",c)})}}),Ur(l=>{if(r.value){const a=c=>{if(!r.value||!(c.target instanceof Element))return;const u=c.target,d={x:c.clientX,y:c.clientY},h=t.value?.contains(u)||e.value?.contains(u),f=!Rc(d,r.value),g=!!u.closest("[data-grace-area-trigger]");h?o():(f||g)&&(o(),i.trigger())};t.value?.ownerDocument.addEventListener("pointermove",a),l(()=>t.value?.ownerDocument.removeEventListener("pointermove",a))}}),{isPointerInTransit:n,onPointerExit:i.on}}function Tc(t,e){const n=Math.abs(e.top-t.y),r=Math.abs(e.bottom-t.y),i=Math.abs(e.right-t.x),o=Math.abs(e.left-t.x);switch(Math.min(n,r,i,o)){case o:return"left";case i:return"right";case n:return"top";case r:return"bottom";default:throw new Error("unreachable")}}function Ac(t,e,n=5){const r=[];switch(e){case"top":r.push({x:t.x-n,y:t.y+n},{x:t.x+n,y:t.y+n});break;case"bottom":r.push({x:t.x-n,y:t.y-n},{x:t.x+n,y:t.y-n});break;case"left":r.push({x:t.x+n,y:t.y-n},{x:t.x+n,y:t.y+n});break;case"right":r.push({x:t.x-n,y:t.y-n},{x:t.x-n,y:t.y+n});break}return r}function Sc(t){const{top:e,right:n,bottom:r,left:i}=t;return[{x:i,y:e},{x:n,y:e},{x:n,y:r},{x:i,y:r}]}function Rc(t,e){const{x:n,y:r}=t;let i=!1;for(let o=0,s=e.length-1;o<e.length;s=o++){const l=e[o].x,a=e[o].y,c=e[s].x,u=e[s].y;a>r!=u>r&&n<(c-l)*(r-a)/(u-a)+l&&(i=!i)}return i}function Lc(t){const e=t.slice();return e.sort((n,r)=>n.x<r.x?-1:n.x>r.x?1:n.y<r.y?-1:n.y>r.y?1:0),Cc(e)}function Cc(t){if(t.length<=1)return t.slice();const e=[];for(let r=0;r<t.length;r++){const i=t[r];for(;e.length>=2;){const o=e[e.length-1],s=e[e.length-2];if((o.x-s.x)*(i.y-s.y)>=(o.y-s.y)*(i.x-s.x))e.pop();else break}e.push(i)}e.pop();const n=[];for(let r=t.length-1;r>=0;r--){const i=t[r];for(;n.length>=2;){const o=n[n.length-1],s=n[n.length-2];if((o.x-s.x)*(i.y-s.y)>=(o.y-s.y)*(i.x-s.x))n.pop();else break}n.push(i)}return n.pop(),e.length===1&&n.length===1&&e[0].x===n[0].x&&e[0].y===n[0].y?e:e.concat(n)}function Pc(t){const e=j(),n=$(()=>e.value?.width??0),r=$(()=>e.value?.height??0);return dt(()=>{const i=Fl(t);if(i){e.value={width:i.offsetWidth,height:i.offsetHeight};const o=new ResizeObserver(s=>{if(!Array.isArray(s)||!s.length)return;const l=s[0];let a,c;if("borderBoxSize"in l){const u=l.borderBoxSize,d=Array.isArray(u)?u[0]:u;a=d.inlineSize,c=d.blockSize}else a=i.offsetWidth,c=i.offsetHeight;e.value={width:a,height:c}});return o.observe(i,{box:"border-box"}),()=>o.unobserve(i)}else e.value=void 0}),{width:n,height:r}}const[Oc,Ic]=Ft("RovingFocusGroup");var Dc=U({__name:"RovingFocusGroup",props:{orientation:{type:String,required:!1,default:void 0},dir:{type:String,required:!1},loop:{type:Boolean,required:!1,default:!1},currentTabStopId:{type:[String,null],required:!1},defaultCurrentTabStopId:{type:String,required:!1},preventScrollOnEntryFocus:{type:Boolean,required:!1,default:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:["entryFocus","update:currentTabStopId"],setup(t,{expose:e,emit:n}){const r=t,i=n,{loop:o,orientation:s,dir:l}=ir(r),a=Ts(l),c=bi(r,"currentTabStopId",i,{defaultValue:r.defaultCurrentTabStopId,passive:r.currentTabStopId===void 0}),u=j(!1),d=j(!1),h=j(0),{getItems:f,CollectionSlot:g}=As({isProvider:!0});function y(v){const k=!d.value;if(v.currentTarget&&v.target===v.currentTarget&&k&&!u.value){const b=new CustomEvent(yl,vl);if(v.currentTarget.dispatchEvent(b),i("entryFocus",b),!b.defaultPrevented){const E=f().map(B=>B.ref).filter(B=>B.dataset.disabled!==""),P=E.find(B=>B.getAttribute("data-active")===""),V=E.find(B=>B.getAttribute("data-highlighted")===""),q=E.find(B=>B.id===c.value),J=[P,V,q,...E].filter(Boolean);Ss(J,r.preventScrollOnEntryFocus)}}d.value=!1}function x(){setTimeout(()=>{d.value=!1},1)}return e({getItems:f}),Ic({loop:o,dir:a,orientation:s,currentTabStopId:c,onItemFocus:v=>{c.value=v},onItemShiftTab:()=>{u.value=!0},onFocusableItemAdd:()=>{h.value++},onFocusableItemRemove:()=>{h.value--}}),(v,k)=>(w(),K(m(g),null,{default:M(()=>[R(m(nt),{tabindex:u.value||h.value===0?-1:0,"data-orientation":m(s),as:v.as,"as-child":v.asChild,dir:m(a),style:{outline:"none"},onMousedown:k[0]||(k[0]=b=>d.value=!0),onMouseup:x,onFocus:y,onBlur:k[1]||(k[1]=b=>u.value=!1)},{default:M(()=>[ne(v.$slots,"default")]),_:3},8,["tabindex","data-orientation","as","as-child","dir"])]),_:3}))}}),Nc=Dc,Mc=U({__name:"RovingFocusItem",props:{tabStopId:{type:String,required:!1},focusable:{type:Boolean,required:!1,default:!0},active:{type:Boolean,required:!1},allowShiftKey:{type:Boolean,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"span"}},setup(t){const e=t,n=Oc(),r=vi(),i=$(()=>e.tabStopId||r),o=$(()=>n.currentTabStopId.value===i.value),{getItems:s,CollectionItem:l}=As();dt(()=>{e.focusable&&n.onFocusableItemAdd()}),Is(()=>{e.focusable&&n.onFocusableItemRemove()});function a(c){if(c.key==="Tab"&&c.shiftKey){n.onItemShiftTab();return}if(c.target!==c.currentTarget)return;const u=bl(c,n.orientation.value,n.dir.value);if(u!==void 0){if(c.metaKey||c.ctrlKey||c.altKey||!e.allowShiftKey&&c.shiftKey)return;c.preventDefault();let d=[...s().map(h=>h.ref).filter(h=>h.dataset.disabled!=="")];if(u==="last")d.reverse();else if(u==="prev"||u==="next"){u==="prev"&&d.reverse();const h=d.indexOf(c.currentTarget);d=n.loop.value?kl(d,h+1):d.slice(h+1)}Gl(()=>Ss(d))}}return(c,u)=>(w(),K(m(l),null,{default:M(()=>[R(m(nt),{tabindex:o.value?0:-1,"data-orientation":m(n).orientation.value,"data-active":c.active?"":void 0,"data-disabled":c.focusable?void 0:"",as:c.as,"as-child":c.asChild,onMousedown:u[0]||(u[0]=d=>{c.focusable?m(n).onItemFocus(i.value):d.preventDefault()}),onFocus:u[1]||(u[1]=d=>m(n).onItemFocus(i.value)),onKeydown:a},{default:M(()=>[ne(c.$slots,"default")]),_:3},8,["tabindex","data-orientation","data-active","data-disabled","as","as-child"])]),_:3}))}}),$c=Mc;const[Bs,Vc]=Ft("PopperRoot");var Bc=U({inheritAttrs:!1,__name:"PopperRoot",setup(t){const e=j();return Vc({anchor:e,onAnchorChange:n=>e.value=n}),(n,r)=>ne(n.$slots,"default")}}),zc=Bc,Fc=U({__name:"PopperAnchor",props:{reference:{type:null,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(t){const e=t,{forwardRef:n,currentElement:r}=Ce(),i=Bs();return Ds(()=>{i.onAnchorChange(e.reference??r.value)}),(o,s)=>(w(),K(m(nt),{ref:m(n),as:o.as,"as-child":o.asChild},{default:M(()=>[ne(o.$slots,"default")]),_:3},8,["as","as-child"]))}}),jc=Fc;const qc={key:0,d:"M0 0L6 6L12 0"},Hc={key:1,d:"M0 0L4.58579 4.58579C5.36683 5.36683 6.63316 5.36684 7.41421 4.58579L12 0"};var Gc=U({__name:"Arrow",props:{width:{type:Number,required:!1,default:10},height:{type:Number,required:!1,default:5},rounded:{type:Boolean,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"svg"}},setup(t){const e=t;return Ce(),(n,r)=>(w(),K(m(nt),Pe(e,{width:n.width,height:n.height,viewBox:n.asChild?void 0:"0 0 12 6",preserveAspectRatio:n.asChild?void 0:"none"}),{default:M(()=>[ne(n.$slots,"default",{},()=>[n.rounded?(w(),A("path",Hc)):(w(),A("path",qc))])]),_:3},16,["width","height","viewBox","preserveAspectRatio"]))}}),Uc=Gc;function Wc(t){return t!==null}function Kc(t){return{name:"transformOrigin",options:t,fn(e){const{placement:n,rects:r,middlewareData:i}=e,s=i.arrow?.centerOffset!==0,l=s?0:t.arrowWidth,a=s?0:t.arrowHeight,[c,u]=Yr(n),d={start:"0%",center:"50%",end:"100%"}[u],h=(i.arrow?.x??0)+l/2,f=(i.arrow?.y??0)+a/2;let g="",y="";return c==="bottom"?(g=s?d:`${h}px`,y=`${-a}px`):c==="top"?(g=s?d:`${h}px`,y=`${r.floating.height+a}px`):c==="right"?(g=`${-a}px`,y=s?d:`${f}px`):c==="left"&&(g=`${r.floating.width+a}px`,y=s?d:`${f}px`),{data:{x:g,y}}}}}function Yr(t){const[e,n="center"]=t.split("-");return[e,n]}const Xc=["top","right","bottom","left"],pt=Math.min,Me=Math.max,Fn=Math.round,Cn=Math.floor,et=t=>({x:t,y:t}),Yc={left:"right",right:"left",bottom:"top",top:"bottom"},Qc={start:"end",end:"start"};function Qr(t,e,n){return Me(t,pt(e,n))}function lt(t,e){return typeof t=="function"?t(e):t}function ct(t){return t.split("-")[0]}function qt(t){return t.split("-")[1]}function ki(t){return t==="x"?"y":"x"}function wi(t){return t==="y"?"height":"width"}const Jc=new Set(["top","bottom"]);function Ze(t){return Jc.has(ct(t))?"y":"x"}function xi(t){return ki(Ze(t))}function Zc(t,e,n){n===void 0&&(n=!1);const r=qt(t),i=xi(t),o=wi(i);let s=i==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return e.reference[o]>e.floating[o]&&(s=jn(s)),[s,jn(s)]}function eu(t){const e=jn(t);return[Jr(t),e,Jr(e)]}function Jr(t){return t.replace(/start|end/g,e=>Qc[e])}const Eo=["left","right"],To=["right","left"],tu=["top","bottom"],nu=["bottom","top"];function ru(t,e,n){switch(t){case"top":case"bottom":return n?e?To:Eo:e?Eo:To;case"left":case"right":return e?tu:nu;default:return[]}}function iu(t,e,n,r){const i=qt(t);let o=ru(ct(t),n==="start",r);return i&&(o=o.map(s=>s+"-"+i),e&&(o=o.concat(o.map(Jr)))),o}function jn(t){return t.replace(/left|right|bottom|top/g,e=>Yc[e])}function ou(t){return{top:0,right:0,bottom:0,left:0,...t}}function zs(t){return typeof t!="number"?ou(t):{top:t,right:t,bottom:t,left:t}}function qn(t){const{x:e,y:n,width:r,height:i}=t;return{width:r,height:i,top:n,left:e,right:e+r,bottom:n+i,x:e,y:n}}function Ao(t,e,n){let{reference:r,floating:i}=t;const o=Ze(e),s=xi(e),l=wi(s),a=ct(e),c=o==="y",u=r.x+r.width/2-i.width/2,d=r.y+r.height/2-i.height/2,h=r[l]/2-i[l]/2;let f;switch(a){case"top":f={x:u,y:r.y-i.height};break;case"bottom":f={x:u,y:r.y+r.height};break;case"right":f={x:r.x+r.width,y:d};break;case"left":f={x:r.x-i.width,y:d};break;default:f={x:r.x,y:r.y}}switch(qt(e)){case"start":f[s]-=h*(n&&c?-1:1);break;case"end":f[s]+=h*(n&&c?-1:1);break}return f}async function su(t,e){var n;e===void 0&&(e={});const{x:r,y:i,platform:o,rects:s,elements:l,strategy:a}=t,{boundary:c="clippingAncestors",rootBoundary:u="viewport",elementContext:d="floating",altBoundary:h=!1,padding:f=0}=lt(e,t),g=zs(f),x=l[h?d==="floating"?"reference":"floating":d],v=qn(await o.getClippingRect({element:(n=await(o.isElement==null?void 0:o.isElement(x)))==null||n?x:x.contextElement||await(o.getDocumentElement==null?void 0:o.getDocumentElement(l.floating)),boundary:c,rootBoundary:u,strategy:a})),k=d==="floating"?{x:r,y:i,width:s.floating.width,height:s.floating.height}:s.reference,b=await(o.getOffsetParent==null?void 0:o.getOffsetParent(l.floating)),E=await(o.isElement==null?void 0:o.isElement(b))?await(o.getScale==null?void 0:o.getScale(b))||{x:1,y:1}:{x:1,y:1},P=qn(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:k,offsetParent:b,strategy:a}):k);return{top:(v.top-P.top+g.top)/E.y,bottom:(P.bottom-v.bottom+g.bottom)/E.y,left:(v.left-P.left+g.left)/E.x,right:(P.right-v.right+g.right)/E.x}}const au=async(t,e,n)=>{const{placement:r="bottom",strategy:i="absolute",middleware:o=[],platform:s}=n,l=o.filter(Boolean),a=await(s.isRTL==null?void 0:s.isRTL(e));let c=await s.getElementRects({reference:t,floating:e,strategy:i}),{x:u,y:d}=Ao(c,r,a),h=r,f={},g=0;for(let x=0;x<l.length;x++){var y;const{name:v,fn:k}=l[x],{x:b,y:E,data:P,reset:V}=await k({x:u,y:d,initialPlacement:r,placement:h,strategy:i,middlewareData:f,rects:c,platform:{...s,detectOverflow:(y=s.detectOverflow)!=null?y:su},elements:{reference:t,floating:e}});u=b??u,d=E??d,f={...f,[v]:{...f[v],...P}},V&&g<=50&&(g++,typeof V=="object"&&(V.placement&&(h=V.placement),V.rects&&(c=V.rects===!0?await s.getElementRects({reference:t,floating:e,strategy:i}):V.rects),{x:u,y:d}=Ao(c,h,a)),x=-1)}return{x:u,y:d,placement:h,strategy:i,middlewareData:f}},lu=t=>({name:"arrow",options:t,async fn(e){const{x:n,y:r,placement:i,rects:o,platform:s,elements:l,middlewareData:a}=e,{element:c,padding:u=0}=lt(t,e)||{};if(c==null)return{};const d=zs(u),h={x:n,y:r},f=xi(i),g=wi(f),y=await s.getDimensions(c),x=f==="y",v=x?"top":"left",k=x?"bottom":"right",b=x?"clientHeight":"clientWidth",E=o.reference[g]+o.reference[f]-h[f]-o.floating[g],P=h[f]-o.reference[f],V=await(s.getOffsetParent==null?void 0:s.getOffsetParent(c));let q=V?V[b]:0;(!q||!await(s.isElement==null?void 0:s.isElement(V)))&&(q=l.floating[b]||o.floating[g]);const J=E/2-P/2,B=q/2-y[g]/2-1,S=pt(d[v],B),O=pt(d[k],B),N=S,D=q-y[g]-O,I=q/2-y[g]/2+J,z=Qr(N,I,D),W=!a.arrow&&qt(i)!=null&&I!==z&&o.reference[g]/2-(I<N?S:O)-y[g]/2<0,ee=W?I<N?I-N:I-D:0;return{[f]:h[f]+ee,data:{[f]:z,centerOffset:I-z-ee,...W&&{alignmentOffset:ee}},reset:W}}}),cu=function(t){return t===void 0&&(t={}),{name:"flip",options:t,async fn(e){var n,r;const{placement:i,middlewareData:o,rects:s,initialPlacement:l,platform:a,elements:c}=e,{mainAxis:u=!0,crossAxis:d=!0,fallbackPlacements:h,fallbackStrategy:f="bestFit",fallbackAxisSideDirection:g="none",flipAlignment:y=!0,...x}=lt(t,e);if((n=o.arrow)!=null&&n.alignmentOffset)return{};const v=ct(i),k=Ze(l),b=ct(l)===l,E=await(a.isRTL==null?void 0:a.isRTL(c.floating)),P=h||(b||!y?[jn(l)]:eu(l)),V=g!=="none";!h&&V&&P.push(...iu(l,y,g,E));const q=[l,...P],J=await a.detectOverflow(e,x),B=[];let S=((r=o.flip)==null?void 0:r.overflows)||[];if(u&&B.push(J[v]),d){const I=Zc(i,s,E);B.push(J[I[0]],J[I[1]])}if(S=[...S,{placement:i,overflows:B}],!B.every(I=>I<=0)){var O,N;const I=(((O=o.flip)==null?void 0:O.index)||0)+1,z=q[I];if(z&&(!(d==="alignment"?k!==Ze(z):!1)||S.every(Z=>Ze(Z.placement)===k?Z.overflows[0]>0:!0)))return{data:{index:I,overflows:S},reset:{placement:z}};let W=(N=S.filter(ee=>ee.overflows[0]<=0).sort((ee,Z)=>ee.overflows[1]-Z.overflows[1])[0])==null?void 0:N.placement;if(!W)switch(f){case"bestFit":{var D;const ee=(D=S.filter(Z=>{if(V){const oe=Ze(Z.placement);return oe===k||oe==="y"}return!0}).map(Z=>[Z.placement,Z.overflows.filter(oe=>oe>0).reduce((oe,Oe)=>oe+Oe,0)]).sort((Z,oe)=>Z[1]-oe[1])[0])==null?void 0:D[0];ee&&(W=ee);break}case"initialPlacement":W=l;break}if(i!==W)return{reset:{placement:W}}}return{}}}};function So(t,e){return{top:t.top-e.height,right:t.right-e.width,bottom:t.bottom-e.height,left:t.left-e.width}}function Ro(t){return Xc.some(e=>t[e]>=0)}const uu=function(t){return t===void 0&&(t={}),{name:"hide",options:t,async fn(e){const{rects:n,platform:r}=e,{strategy:i="referenceHidden",...o}=lt(t,e);switch(i){case"referenceHidden":{const s=await r.detectOverflow(e,{...o,elementContext:"reference"}),l=So(s,n.reference);return{data:{referenceHiddenOffsets:l,referenceHidden:Ro(l)}}}case"escaped":{const s=await r.detectOverflow(e,{...o,altBoundary:!0}),l=So(s,n.floating);return{data:{escapedOffsets:l,escaped:Ro(l)}}}default:return{}}}}},Fs=new Set(["left","top"]);async function du(t,e){const{placement:n,platform:r,elements:i}=t,o=await(r.isRTL==null?void 0:r.isRTL(i.floating)),s=ct(n),l=qt(n),a=Ze(n)==="y",c=Fs.has(s)?-1:1,u=o&&a?-1:1,d=lt(e,t);let{mainAxis:h,crossAxis:f,alignmentAxis:g}=typeof d=="number"?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:d.mainAxis||0,crossAxis:d.crossAxis||0,alignmentAxis:d.alignmentAxis};return l&&typeof g=="number"&&(f=l==="end"?g*-1:g),a?{x:f*u,y:h*c}:{x:h*c,y:f*u}}const pu=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(e){var n,r;const{x:i,y:o,placement:s,middlewareData:l}=e,a=await du(e,t);return s===((n=l.offset)==null?void 0:n.placement)&&(r=l.arrow)!=null&&r.alignmentOffset?{}:{x:i+a.x,y:o+a.y,data:{...a,placement:s}}}}},mu=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){const{x:n,y:r,placement:i,platform:o}=e,{mainAxis:s=!0,crossAxis:l=!1,limiter:a={fn:v=>{let{x:k,y:b}=v;return{x:k,y:b}}},...c}=lt(t,e),u={x:n,y:r},d=await o.detectOverflow(e,c),h=Ze(ct(i)),f=ki(h);let g=u[f],y=u[h];if(s){const v=f==="y"?"top":"left",k=f==="y"?"bottom":"right",b=g+d[v],E=g-d[k];g=Qr(b,g,E)}if(l){const v=h==="y"?"top":"left",k=h==="y"?"bottom":"right",b=y+d[v],E=y-d[k];y=Qr(b,y,E)}const x=a.fn({...e,[f]:g,[h]:y});return{...x,data:{x:x.x-n,y:x.y-r,enabled:{[f]:s,[h]:l}}}}}},fu=function(t){return t===void 0&&(t={}),{options:t,fn(e){const{x:n,y:r,placement:i,rects:o,middlewareData:s}=e,{offset:l=0,mainAxis:a=!0,crossAxis:c=!0}=lt(t,e),u={x:n,y:r},d=Ze(i),h=ki(d);let f=u[h],g=u[d];const y=lt(l,e),x=typeof y=="number"?{mainAxis:y,crossAxis:0}:{mainAxis:0,crossAxis:0,...y};if(a){const b=h==="y"?"height":"width",E=o.reference[h]-o.floating[b]+x.mainAxis,P=o.reference[h]+o.reference[b]-x.mainAxis;f<E?f=E:f>P&&(f=P)}if(c){var v,k;const b=h==="y"?"width":"height",E=Fs.has(ct(i)),P=o.reference[d]-o.floating[b]+(E&&((v=s.offset)==null?void 0:v[d])||0)+(E?0:x.crossAxis),V=o.reference[d]+o.reference[b]+(E?0:((k=s.offset)==null?void 0:k[d])||0)-(E?x.crossAxis:0);g<P?g=P:g>V&&(g=V)}return{[h]:f,[d]:g}}}},hu=function(t){return t===void 0&&(t={}),{name:"size",options:t,async fn(e){var n,r;const{placement:i,rects:o,platform:s,elements:l}=e,{apply:a=()=>{},...c}=lt(t,e),u=await s.detectOverflow(e,c),d=ct(i),h=qt(i),f=Ze(i)==="y",{width:g,height:y}=o.floating;let x,v;d==="top"||d==="bottom"?(x=d,v=h===(await(s.isRTL==null?void 0:s.isRTL(l.floating))?"start":"end")?"left":"right"):(v=d,x=h==="end"?"top":"bottom");const k=y-u.top-u.bottom,b=g-u.left-u.right,E=pt(y-u[x],k),P=pt(g-u[v],b),V=!e.middlewareData.shift;let q=E,J=P;if((n=e.middlewareData.shift)!=null&&n.enabled.x&&(J=b),(r=e.middlewareData.shift)!=null&&r.enabled.y&&(q=k),V&&!h){const S=Me(u.left,0),O=Me(u.right,0),N=Me(u.top,0),D=Me(u.bottom,0);f?J=g-2*(S!==0||O!==0?S+O:Me(u.left,u.right)):q=y-2*(N!==0||D!==0?N+D:Me(u.top,u.bottom))}await a({...e,availableWidth:J,availableHeight:q});const B=await s.getDimensions(l.floating);return g!==B.width||y!==B.height?{reset:{rects:!0}}:{}}}};function or(){return typeof window<"u"}function wt(t){return Ei(t)?(t.nodeName||"").toLowerCase():"#document"}function $e(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function rt(t){var e;return(e=(Ei(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function Ei(t){return or()?t instanceof Node||t instanceof $e(t).Node:!1}function Ge(t){return or()?t instanceof Element||t instanceof $e(t).Element:!1}function tt(t){return or()?t instanceof HTMLElement||t instanceof $e(t).HTMLElement:!1}function Lo(t){return!or()||typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof $e(t).ShadowRoot}const gu=new Set(["inline","contents"]);function yn(t){const{overflow:e,overflowX:n,overflowY:r,display:i}=Ue(t);return/auto|scroll|overlay|hidden|clip/.test(e+r+n)&&!gu.has(i)}const _u=new Set(["table","td","th"]);function yu(t){return _u.has(wt(t))}const vu=[":popover-open",":modal"];function sr(t){return vu.some(e=>{try{return t.matches(e)}catch{return!1}})}const bu=["transform","translate","scale","rotate","perspective"],ku=["transform","translate","scale","rotate","perspective","filter"],wu=["paint","layout","strict","content"];function Ti(t){const e=Ai(),n=Ge(t)?Ue(t):t;return bu.some(r=>n[r]?n[r]!=="none":!1)||(n.containerType?n.containerType!=="normal":!1)||!e&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!e&&(n.filter?n.filter!=="none":!1)||ku.some(r=>(n.willChange||"").includes(r))||wu.some(r=>(n.contain||"").includes(r))}function xu(t){let e=mt(t);for(;tt(e)&&!Bt(e);){if(Ti(e))return e;if(sr(e))return null;e=mt(e)}return null}function Ai(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const Eu=new Set(["html","body","#document"]);function Bt(t){return Eu.has(wt(t))}function Ue(t){return $e(t).getComputedStyle(t)}function ar(t){return Ge(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function mt(t){if(wt(t)==="html")return t;const e=t.assignedSlot||t.parentNode||Lo(t)&&t.host||rt(t);return Lo(e)?e.host:e}function js(t){const e=mt(t);return Bt(e)?t.ownerDocument?t.ownerDocument.body:t.body:tt(e)&&yn(e)?e:js(e)}function dn(t,e,n){var r;e===void 0&&(e=[]),n===void 0&&(n=!0);const i=js(t),o=i===((r=t.ownerDocument)==null?void 0:r.body),s=$e(i);if(o){const l=Zr(s);return e.concat(s,s.visualViewport||[],yn(i)?i:[],l&&n?dn(l):[])}return e.concat(i,dn(i,[],n))}function Zr(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function qs(t){const e=Ue(t);let n=parseFloat(e.width)||0,r=parseFloat(e.height)||0;const i=tt(t),o=i?t.offsetWidth:n,s=i?t.offsetHeight:r,l=Fn(n)!==o||Fn(r)!==s;return l&&(n=o,r=s),{width:n,height:r,$:l}}function Si(t){return Ge(t)?t:t.contextElement}function Mt(t){const e=Si(t);if(!tt(e))return et(1);const n=e.getBoundingClientRect(),{width:r,height:i,$:o}=qs(e);let s=(o?Fn(n.width):n.width)/r,l=(o?Fn(n.height):n.height)/i;return(!s||!Number.isFinite(s))&&(s=1),(!l||!Number.isFinite(l))&&(l=1),{x:s,y:l}}const Tu=et(0);function Hs(t){const e=$e(t);return!Ai()||!e.visualViewport?Tu:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function Au(t,e,n){return e===void 0&&(e=!1),!n||e&&n!==$e(t)?!1:e}function vt(t,e,n,r){e===void 0&&(e=!1),n===void 0&&(n=!1);const i=t.getBoundingClientRect(),o=Si(t);let s=et(1);e&&(r?Ge(r)&&(s=Mt(r)):s=Mt(t));const l=Au(o,n,r)?Hs(o):et(0);let a=(i.left+l.x)/s.x,c=(i.top+l.y)/s.y,u=i.width/s.x,d=i.height/s.y;if(o){const h=$e(o),f=r&&Ge(r)?$e(r):r;let g=h,y=Zr(g);for(;y&&r&&f!==g;){const x=Mt(y),v=y.getBoundingClientRect(),k=Ue(y),b=v.left+(y.clientLeft+parseFloat(k.paddingLeft))*x.x,E=v.top+(y.clientTop+parseFloat(k.paddingTop))*x.y;a*=x.x,c*=x.y,u*=x.x,d*=x.y,a+=b,c+=E,g=$e(y),y=Zr(g)}}return qn({width:u,height:d,x:a,y:c})}function lr(t,e){const n=ar(t).scrollLeft;return e?e.left+n:vt(rt(t)).left+n}function Gs(t,e){const n=t.getBoundingClientRect(),r=n.left+e.scrollLeft-lr(t,n),i=n.top+e.scrollTop;return{x:r,y:i}}function Su(t){let{elements:e,rect:n,offsetParent:r,strategy:i}=t;const o=i==="fixed",s=rt(r),l=e?sr(e.floating):!1;if(r===s||l&&o)return n;let a={scrollLeft:0,scrollTop:0},c=et(1);const u=et(0),d=tt(r);if((d||!d&&!o)&&((wt(r)!=="body"||yn(s))&&(a=ar(r)),tt(r))){const f=vt(r);c=Mt(r),u.x=f.x+r.clientLeft,u.y=f.y+r.clientTop}const h=s&&!d&&!o?Gs(s,a):et(0);return{width:n.width*c.x,height:n.height*c.y,x:n.x*c.x-a.scrollLeft*c.x+u.x+h.x,y:n.y*c.y-a.scrollTop*c.y+u.y+h.y}}function Ru(t){return Array.from(t.getClientRects())}function Lu(t){const e=rt(t),n=ar(t),r=t.ownerDocument.body,i=Me(e.scrollWidth,e.clientWidth,r.scrollWidth,r.clientWidth),o=Me(e.scrollHeight,e.clientHeight,r.scrollHeight,r.clientHeight);let s=-n.scrollLeft+lr(t);const l=-n.scrollTop;return Ue(r).direction==="rtl"&&(s+=Me(e.clientWidth,r.clientWidth)-i),{width:i,height:o,x:s,y:l}}const Co=25;function Cu(t,e){const n=$e(t),r=rt(t),i=n.visualViewport;let o=r.clientWidth,s=r.clientHeight,l=0,a=0;if(i){o=i.width,s=i.height;const u=Ai();(!u||u&&e==="fixed")&&(l=i.offsetLeft,a=i.offsetTop)}const c=lr(r);if(c<=0){const u=r.ownerDocument,d=u.body,h=getComputedStyle(d),f=u.compatMode==="CSS1Compat"&&parseFloat(h.marginLeft)+parseFloat(h.marginRight)||0,g=Math.abs(r.clientWidth-d.clientWidth-f);g<=Co&&(o-=g)}else c<=Co&&(o+=c);return{width:o,height:s,x:l,y:a}}const Pu=new Set(["absolute","fixed"]);function Ou(t,e){const n=vt(t,!0,e==="fixed"),r=n.top+t.clientTop,i=n.left+t.clientLeft,o=tt(t)?Mt(t):et(1),s=t.clientWidth*o.x,l=t.clientHeight*o.y,a=i*o.x,c=r*o.y;return{width:s,height:l,x:a,y:c}}function Po(t,e,n){let r;if(e==="viewport")r=Cu(t,n);else if(e==="document")r=Lu(rt(t));else if(Ge(e))r=Ou(e,n);else{const i=Hs(t);r={x:e.x-i.x,y:e.y-i.y,width:e.width,height:e.height}}return qn(r)}function Us(t,e){const n=mt(t);return n===e||!Ge(n)||Bt(n)?!1:Ue(n).position==="fixed"||Us(n,e)}function Iu(t,e){const n=e.get(t);if(n)return n;let r=dn(t,[],!1).filter(l=>Ge(l)&&wt(l)!=="body"),i=null;const o=Ue(t).position==="fixed";let s=o?mt(t):t;for(;Ge(s)&&!Bt(s);){const l=Ue(s),a=Ti(s);!a&&l.position==="fixed"&&(i=null),(o?!a&&!i:!a&&l.position==="static"&&!!i&&Pu.has(i.position)||yn(s)&&!a&&Us(t,s))?r=r.filter(u=>u!==s):i=l,s=mt(s)}return e.set(t,r),r}function Du(t){let{element:e,boundary:n,rootBoundary:r,strategy:i}=t;const s=[...n==="clippingAncestors"?sr(e)?[]:Iu(e,this._c):[].concat(n),r],l=s[0],a=s.reduce((c,u)=>{const d=Po(e,u,i);return c.top=Me(d.top,c.top),c.right=pt(d.right,c.right),c.bottom=pt(d.bottom,c.bottom),c.left=Me(d.left,c.left),c},Po(e,l,i));return{width:a.right-a.left,height:a.bottom-a.top,x:a.left,y:a.top}}function Nu(t){const{width:e,height:n}=qs(t);return{width:e,height:n}}function Mu(t,e,n){const r=tt(e),i=rt(e),o=n==="fixed",s=vt(t,!0,o,e);let l={scrollLeft:0,scrollTop:0};const a=et(0);function c(){a.x=lr(i)}if(r||!r&&!o)if((wt(e)!=="body"||yn(i))&&(l=ar(e)),r){const f=vt(e,!0,o,e);a.x=f.x+e.clientLeft,a.y=f.y+e.clientTop}else i&&c();o&&!r&&i&&c();const u=i&&!r&&!o?Gs(i,l):et(0),d=s.left+l.scrollLeft-a.x-u.x,h=s.top+l.scrollTop-a.y-u.y;return{x:d,y:h,width:s.width,height:s.height}}function Lr(t){return Ue(t).position==="static"}function Oo(t,e){if(!tt(t)||Ue(t).position==="fixed")return null;if(e)return e(t);let n=t.offsetParent;return rt(t)===n&&(n=n.ownerDocument.body),n}function Ws(t,e){const n=$e(t);if(sr(t))return n;if(!tt(t)){let i=mt(t);for(;i&&!Bt(i);){if(Ge(i)&&!Lr(i))return i;i=mt(i)}return n}let r=Oo(t,e);for(;r&&yu(r)&&Lr(r);)r=Oo(r,e);return r&&Bt(r)&&Lr(r)&&!Ti(r)?n:r||xu(t)||n}const $u=async function(t){const e=this.getOffsetParent||Ws,n=this.getDimensions,r=await n(t.floating);return{reference:Mu(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function Vu(t){return Ue(t).direction==="rtl"}const Bu={convertOffsetParentRelativeRectToViewportRelativeRect:Su,getDocumentElement:rt,getClippingRect:Du,getOffsetParent:Ws,getElementRects:$u,getClientRects:Ru,getDimensions:Nu,getScale:Mt,isElement:Ge,isRTL:Vu};function Ks(t,e){return t.x===e.x&&t.y===e.y&&t.width===e.width&&t.height===e.height}function zu(t,e){let n=null,r;const i=rt(t);function o(){var l;clearTimeout(r),(l=n)==null||l.disconnect(),n=null}function s(l,a){l===void 0&&(l=!1),a===void 0&&(a=1),o();const c=t.getBoundingClientRect(),{left:u,top:d,width:h,height:f}=c;if(l||e(),!h||!f)return;const g=Cn(d),y=Cn(i.clientWidth-(u+h)),x=Cn(i.clientHeight-(d+f)),v=Cn(u),b={rootMargin:-g+"px "+-y+"px "+-x+"px "+-v+"px",threshold:Me(0,pt(1,a))||1};let E=!0;function P(V){const q=V[0].intersectionRatio;if(q!==a){if(!E)return s();q?s(!1,q):r=setTimeout(()=>{s(!1,1e-7)},1e3)}q===1&&!Ks(c,t.getBoundingClientRect())&&s(),E=!1}try{n=new IntersectionObserver(P,{...b,root:i.ownerDocument})}catch{n=new IntersectionObserver(P,b)}n.observe(t)}return s(!0),o}function Fu(t,e,n,r){r===void 0&&(r={});const{ancestorScroll:i=!0,ancestorResize:o=!0,elementResize:s=typeof ResizeObserver=="function",layoutShift:l=typeof IntersectionObserver=="function",animationFrame:a=!1}=r,c=Si(t),u=i||o?[...c?dn(c):[],...dn(e)]:[];u.forEach(v=>{i&&v.addEventListener("scroll",n,{passive:!0}),o&&v.addEventListener("resize",n)});const d=c&&l?zu(c,n):null;let h=-1,f=null;s&&(f=new ResizeObserver(v=>{let[k]=v;k&&k.target===c&&f&&(f.unobserve(e),cancelAnimationFrame(h),h=requestAnimationFrame(()=>{var b;(b=f)==null||b.observe(e)})),n()}),c&&!a&&f.observe(c),f.observe(e));let g,y=a?vt(t):null;a&&x();function x(){const v=vt(t);y&&!Ks(y,v)&&n(),y=v,g=requestAnimationFrame(x)}return n(),()=>{var v;u.forEach(k=>{i&&k.removeEventListener("scroll",n),o&&k.removeEventListener("resize",n)}),d?.(),(v=f)==null||v.disconnect(),f=null,a&&cancelAnimationFrame(g)}}const ju=pu,qu=mu,Io=cu,Hu=hu,Gu=uu,Uu=lu,Wu=fu,Ku=(t,e,n)=>{const r=new Map,i={platform:Bu,...n},o={...i.platform,_c:r};return au(t,e,{...i,platform:o})};function Xu(t){return t!=null&&typeof t=="object"&&"$el"in t}function ei(t){if(Xu(t)){const e=t.$el;return Ei(e)&&wt(e)==="#comment"?null:e}return t}function It(t){return typeof t=="function"?t():m(t)}function Yu(t){return{name:"arrow",options:t,fn(e){const n=ei(It(t.element));return n==null?{}:Uu({element:n,padding:t.padding}).fn(e)}}}function Xs(t){return typeof window>"u"?1:(t.ownerDocument.defaultView||window).devicePixelRatio||1}function Do(t,e){const n=Xs(t);return Math.round(e*n)/n}function Qu(t,e,n){n===void 0&&(n={});const r=n.whileElementsMounted,i=$(()=>{var q;return(q=It(n.open))!=null?q:!0}),o=$(()=>It(n.middleware)),s=$(()=>{var q;return(q=It(n.placement))!=null?q:"bottom"}),l=$(()=>{var q;return(q=It(n.strategy))!=null?q:"absolute"}),a=$(()=>{var q;return(q=It(n.transform))!=null?q:!0}),c=$(()=>ei(t.value)),u=$(()=>ei(e.value)),d=j(0),h=j(0),f=j(l.value),g=j(s.value),y=Ns({}),x=j(!1),v=$(()=>{const q={position:f.value,left:"0",top:"0"};if(!u.value)return q;const J=Do(u.value,d.value),B=Do(u.value,h.value);return a.value?{...q,transform:"translate("+J+"px, "+B+"px)",...Xs(u.value)>=1.5&&{willChange:"transform"}}:{position:f.value,left:J+"px",top:B+"px"}});let k;function b(){if(c.value==null||u.value==null)return;const q=i.value;Ku(c.value,u.value,{middleware:o.value,placement:s.value,strategy:l.value}).then(J=>{d.value=J.x,h.value=J.y,f.value=J.strategy,g.value=J.placement,y.value=J.middlewareData,x.value=q!==!1})}function E(){typeof k=="function"&&(k(),k=void 0)}function P(){if(E(),r===void 0){b();return}if(c.value!=null&&u.value!=null){k=r(c.value,u.value,b);return}}function V(){i.value||(x.value=!1)}return Te([o,s,l,i],b,{flush:"sync"}),Te([c,u],P,{flush:"sync"}),Te(i,V,{flush:"sync"}),Ul()&&Wl(E),{x:Ot(d),y:Ot(h),strategy:Ot(f),placement:Ot(g),middlewareData:Ot(y),isPositioned:Ot(x),floatingStyles:v,update:b}}const Ju={side:"bottom",sideOffset:0,sideFlip:!0,align:"center",alignOffset:0,alignFlip:!0,arrowPadding:0,hideShiftedArrow:!0,avoidCollisions:!0,collisionBoundary:()=>[],collisionPadding:0,sticky:"partial",hideWhenDetached:!1,positionStrategy:"fixed",updatePositionStrategy:"optimized",prioritizePosition:!1},[Zu,ed]=Ft("PopperContent");var td=U({inheritAttrs:!1,__name:"PopperContent",props:Kl({side:{type:null,required:!1},sideOffset:{type:Number,required:!1},sideFlip:{type:Boolean,required:!1},align:{type:null,required:!1},alignOffset:{type:Number,required:!1},alignFlip:{type:Boolean,required:!1},avoidCollisions:{type:Boolean,required:!1},collisionBoundary:{type:null,required:!1},collisionPadding:{type:[Number,Object],required:!1},arrowPadding:{type:Number,required:!1},hideShiftedArrow:{type:Boolean,required:!1},sticky:{type:String,required:!1},hideWhenDetached:{type:Boolean,required:!1},positionStrategy:{type:String,required:!1},updatePositionStrategy:{type:String,required:!1},disableUpdateOnLayoutShift:{type:Boolean,required:!1},prioritizePosition:{type:Boolean,required:!1},reference:{type:null,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},{...Ju}),emits:["placed"],setup(t,{emit:e}){const n=t,r=e,i=Bs(),{forwardRef:o,currentElement:s}=Ce(),l=j(),a=j(),{width:c,height:u}=Pc(a),d=$(()=>n.side+(n.align!=="center"?`-${n.align}`:"")),h=$(()=>typeof n.collisionPadding=="number"?n.collisionPadding:{top:0,right:0,bottom:0,left:0,...n.collisionPadding}),f=$(()=>Array.isArray(n.collisionBoundary)?n.collisionBoundary:[n.collisionBoundary]),g=$(()=>({padding:h.value,boundary:f.value.filter(Wc),altBoundary:f.value.length>0})),y=$(()=>({mainAxis:n.sideFlip,crossAxis:n.alignFlip})),x=jl(()=>[ju({mainAxis:n.sideOffset+u.value,alignmentAxis:n.alignOffset}),n.prioritizePosition&&n.avoidCollisions&&Io({...g.value,...y.value}),n.avoidCollisions&&qu({mainAxis:!0,crossAxis:!!n.prioritizePosition,limiter:n.sticky==="partial"?Wu():void 0,...g.value}),!n.prioritizePosition&&n.avoidCollisions&&Io({...g.value,...y.value}),Hu({...g.value,apply:({elements:N,rects:D,availableWidth:I,availableHeight:z})=>{const{width:W,height:ee}=D.reference,Z=N.floating.style;Z.setProperty("--reka-popper-available-width",`${I}px`),Z.setProperty("--reka-popper-available-height",`${z}px`),Z.setProperty("--reka-popper-anchor-width",`${W}px`),Z.setProperty("--reka-popper-anchor-height",`${ee}px`)}}),a.value&&Yu({element:a.value,padding:n.arrowPadding}),Kc({arrowWidth:c.value,arrowHeight:u.value}),n.hideWhenDetached&&Gu({strategy:"referenceHidden",...g.value})]),v=$(()=>n.reference??i.anchor.value),{floatingStyles:k,placement:b,isPositioned:E,middlewareData:P}=Qu(v,l,{strategy:n.positionStrategy,placement:d,whileElementsMounted:(...N)=>Fu(...N,{layoutShift:!n.disableUpdateOnLayoutShift,animationFrame:n.updatePositionStrategy==="always"}),middleware:x}),V=$(()=>Yr(b.value)[0]),q=$(()=>Yr(b.value)[1]);Ds(()=>{E.value&&r("placed")});const J=$(()=>{const N=P.value.arrow?.centerOffset!==0;return n.hideShiftedArrow&&N}),B=j("");Ur(()=>{s.value&&(B.value=window.getComputedStyle(s.value).zIndex)});const S=$(()=>P.value.arrow?.x??0),O=$(()=>P.value.arrow?.y??0);return ed({placedSide:V,onArrowChange:N=>a.value=N,arrowX:S,arrowY:O,shouldHideArrow:J}),(N,D)=>(w(),A("div",{ref_key:"floatingRef",ref:l,"data-reka-popper-content-wrapper":"",style:un({...m(k),transform:m(E)?m(k).transform:"translate(0, -200%)",minWidth:"max-content",zIndex:B.value,"--reka-popper-transform-origin":[m(P).transformOrigin?.x,m(P).transformOrigin?.y].join(" "),...m(P).hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}})},[R(m(nt),Pe({ref:m(o)},N.$attrs,{"as-child":n.asChild,as:N.as,"data-side":V.value,"data-align":q.value,style:{animation:m(E)?void 0:"none"}}),{default:M(()=>[ne(N.$slots,"default")]),_:3},16,["as-child","as","data-side","data-align","style"])],4))}}),nd=td;const rd={top:"bottom",right:"left",bottom:"top",left:"right"};var id=U({inheritAttrs:!1,__name:"PopperArrow",props:{width:{type:Number,required:!1},height:{type:Number,required:!1},rounded:{type:Boolean,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"svg"}},setup(t){const{forwardRef:e}=Ce(),n=Zu(),r=$(()=>rd[n.placedSide.value]);return(i,o)=>(w(),A("span",{ref:s=>{m(n).onArrowChange(s)},style:un({position:"absolute",left:m(n).arrowX?.value?`${m(n).arrowX?.value}px`:void 0,top:m(n).arrowY?.value?`${m(n).arrowY?.value}px`:void 0,[r.value]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[m(n).placedSide.value],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[m(n).placedSide.value],visibility:m(n).shouldHideArrow.value?"hidden":void 0})},[R(Uc,Pe(i.$attrs,{ref:m(e),style:{display:"block"},as:i.as,"as-child":i.asChild,rounded:i.rounded,width:i.width,height:i.height}),{default:M(()=>[ne(i.$slots,"default")]),_:3},16,["as","as-child","rounded","width","height"])],4))}}),od=id;const[Ri,sd]=Ft("TabsRoot");var ad=U({__name:"TabsRoot",props:{defaultValue:{type:null,required:!1},orientation:{type:String,required:!1,default:"horizontal"},dir:{type:String,required:!1},activationMode:{type:String,required:!1,default:"automatic"},modelValue:{type:null,required:!1},unmountOnHide:{type:Boolean,required:!1,default:!0},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:["update:modelValue"],setup(t,{emit:e}){const n=t,r=e,{orientation:i,unmountOnHide:o,dir:s}=ir(n),l=Ts(s);Ce();const a=bi(n,"modelValue",r,{defaultValue:n.defaultValue,passive:n.modelValue===void 0}),c=j(),u=Ns(new Set);return sd({modelValue:a,changeModelValue:d=>{a.value=d},orientation:i,dir:l,unmountOnHide:o,activationMode:n.activationMode,baseId:vi(void 0,"reka-tabs"),tabsList:c,contentIds:u,registerContent:d=>{u.value=new Set([...u.value,d])},unregisterContent:d=>{const h=new Set(u.value);h.delete(d),u.value=h}}),(d,h)=>(w(),K(m(nt),{dir:m(l),"data-orientation":m(i),"as-child":d.asChild,as:d.as},{default:M(()=>[ne(d.$slots,"default",{modelValue:m(a)})]),_:3},8,["dir","data-orientation","as-child","as"]))}}),ld=ad;function Ys(t,e){return`${t}-trigger-${e}`}function Qs(t,e){return`${t}-content-${e}`}var cd=U({__name:"TabsContent",props:{value:{type:[String,Number],required:!0},forceMount:{type:Boolean,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(t){const e=t,{forwardRef:n}=Ce(),r=Ri(),i=$(()=>Ys(r.baseId,e.value)),o=$(()=>Qs(r.baseId,e.value)),s=$(()=>e.value===r.modelValue.value),l=j(s.value);return dt(()=>{r.registerContent(e.value),requestAnimationFrame(()=>{l.value=!1})}),Xl(()=>{r.unregisterContent(e.value)}),(a,c)=>(w(),K(m(Rs),{present:a.forceMount||s.value,"force-mount":""},{default:M(({present:u})=>[R(m(nt),{id:o.value,ref:m(n),"as-child":a.asChild,as:a.as,role:"tabpanel","data-state":s.value?"active":"inactive","data-orientation":m(r).orientation.value,"aria-labelledby":i.value,hidden:!u,tabindex:"0",style:un({animationDuration:l.value?"0s":void 0})},{default:M(()=>[!m(r).unmountOnHide.value||u?ne(a.$slots,"default",{key:0}):Y("v-if",!0)]),_:2},1032,["id","as-child","as","data-state","data-orientation","aria-labelledby","hidden","style"])]),_:3},8,["present"]))}}),ud=cd,dd=U({__name:"TabsList",props:{loop:{type:Boolean,required:!1,default:!0},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(t){const e=t,{loop:n}=ir(e),{forwardRef:r,currentElement:i}=Ce(),o=Ri();return o.tabsList=i,(s,l)=>(w(),K(m(Nc),{"as-child":"",orientation:m(o).orientation.value,dir:m(o).dir.value,loop:m(n)},{default:M(()=>[R(m(nt),{ref:m(r),role:"tablist","as-child":s.asChild,as:s.as,"aria-orientation":m(o).orientation.value},{default:M(()=>[ne(s.$slots,"default")]),_:3},8,["as-child","as","aria-orientation"])]),_:3},8,["orientation","dir","loop"]))}}),pd=dd,md=U({__name:"TabsTrigger",props:{value:{type:[String,Number],required:!0},disabled:{type:Boolean,required:!1,default:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"button"}},setup(t){const e=t,{forwardRef:n}=Ce(),r=Ri(),i=$(()=>Ys(r.baseId,e.value)),o=$(()=>r.contentIds.value.has(e.value)?Qs(r.baseId,e.value):void 0),s=$(()=>e.value===r.modelValue.value);return(l,a)=>(w(),K(m($c),{"as-child":"",focusable:!l.disabled,active:s.value},{default:M(()=>[R(m(nt),{id:i.value,ref:m(n),role:"tab",type:l.as==="button"?"button":void 0,as:l.as,"as-child":l.asChild,"aria-selected":s.value?"true":"false","aria-controls":o.value,"data-state":s.value?"active":"inactive",disabled:l.disabled,"data-disabled":l.disabled?"":void 0,"data-orientation":m(r).orientation.value,onMousedown:a[0]||(a[0]=Ms(c=>{!l.disabled&&c.ctrlKey===!1?m(r).changeModelValue(l.value):c.preventDefault()},["left"])),onKeydown:a[1]||(a[1]=Yl(c=>m(r).changeModelValue(l.value),["enter","space"])),onFocus:a[2]||(a[2]=()=>{const c=m(r).activationMode!=="manual";!s.value&&!l.disabled&&c&&m(r).changeModelValue(l.value)})},{default:M(()=>[ne(l.$slots,"default")]),_:3},8,["id","type","as","as-child","aria-selected","aria-controls","data-state","disabled","data-disabled","data-orientation"])]),_:3},8,["focusable","active"]))}}),fd=md,hd=U({__name:"TooltipArrow",props:{width:{type:Number,required:!1,default:10},height:{type:Number,required:!1,default:5},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"svg"}},setup(t){const e=t;return Ce(),(n,r)=>(w(),K(m(od),gn(_n(e)),{default:M(()=>[ne(n.$slots,"default")]),_:3},16))}}),gd=hd;const[Li,_d]=Ft("TooltipProvider");var yd=U({inheritAttrs:!1,__name:"TooltipProvider",props:{delayDuration:{type:Number,required:!1,default:700},skipDelayDuration:{type:Number,required:!1,default:300},disableHoverableContent:{type:Boolean,required:!1,default:!1},disableClosingTrigger:{type:Boolean,required:!1},disabled:{type:Boolean,required:!1},ignoreNonKeyboardFocus:{type:Boolean,required:!1,default:!1}},setup(t){const e=t,{delayDuration:n,skipDelayDuration:r,disableHoverableContent:i,disableClosingTrigger:o,ignoreNonKeyboardFocus:s,disabled:l}=ir(e);Ce();const a=j(!0),c=j(!1),{start:u,stop:d}=Cs(()=>{a.value=!0},r,{immediate:!1});return _d({isOpenDelayed:a,delayDuration:n,onOpen(){d(),a.value=!1},onClose(){u()},isPointerInTransitRef:c,disableHoverableContent:i,disableClosingTrigger:o,disabled:l,ignoreNonKeyboardFocus:s}),(h,f)=>ne(h.$slots,"default")}}),vd=yd;const Js="tooltip.open",[cr,bd]=Ft("TooltipRoot");var kd=U({__name:"TooltipRoot",props:{defaultOpen:{type:Boolean,required:!1,default:!1},open:{type:Boolean,required:!1,default:void 0},delayDuration:{type:Number,required:!1,default:void 0},disableHoverableContent:{type:Boolean,required:!1,default:void 0},disableClosingTrigger:{type:Boolean,required:!1,default:void 0},disabled:{type:Boolean,required:!1,default:void 0},ignoreNonKeyboardFocus:{type:Boolean,required:!1,default:void 0}},emits:["update:open"],setup(t,{emit:e}){const n=t,r=e;Ce();const i=Li(),o=$(()=>n.disableHoverableContent??i.disableHoverableContent.value),s=$(()=>n.disableClosingTrigger??i.disableClosingTrigger.value),l=$(()=>n.disabled??i.disabled.value),a=$(()=>n.delayDuration??i.delayDuration.value),c=$(()=>n.ignoreNonKeyboardFocus??i.ignoreNonKeyboardFocus.value),u=bi(n,"open",r,{defaultValue:n.defaultOpen,passive:n.open===void 0});Te(u,b=>{i.onClose&&(b?(i.onOpen(),document.dispatchEvent(new CustomEvent(Js))):i.onClose())});const d=j(!1),h=j(),f=$(()=>u.value?d.value?"delayed-open":"instant-open":"closed"),{start:g,stop:y}=Cs(()=>{d.value=!0,u.value=!0},a,{immediate:!1});function x(){y(),d.value=!1,u.value=!0}function v(){y(),u.value=!1}function k(){g()}return bd({contentId:"",open:u,stateAttribute:f,trigger:h,onTriggerChange(b){h.value=b},onTriggerEnter(){i.isOpenDelayed.value?k():x()},onTriggerLeave(){o.value?v():y()},onOpen:x,onClose:v,disableHoverableContent:o,disableClosingTrigger:s,disabled:l,ignoreNonKeyboardFocus:c}),(b,E)=>(w(),K(m(zc),null,{default:M(()=>[ne(b.$slots,"default",{open:m(u)})]),_:3}))}}),wd=kd,xd=U({__name:"TooltipContentImpl",props:{ariaLabel:{type:String,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1},side:{type:null,required:!1,default:"top"},sideOffset:{type:Number,required:!1,default:0},align:{type:null,required:!1,default:"center"},alignOffset:{type:Number,required:!1},avoidCollisions:{type:Boolean,required:!1,default:!0},collisionBoundary:{type:null,required:!1,default:()=>[]},collisionPadding:{type:[Number,Object],required:!1,default:0},arrowPadding:{type:Number,required:!1,default:0},sticky:{type:String,required:!1,default:"partial"},hideWhenDetached:{type:Boolean,required:!1,default:!1},positionStrategy:{type:String,required:!1},updatePositionStrategy:{type:String,required:!1}},emits:["escapeKeyDown","pointerDownOutside"],setup(t,{emit:e}){const n=t,r=e,i=cr(),{forwardRef:o,currentElement:s}=Ce(),l=$(()=>n.ariaLabel||s.value?.textContent),a=$(()=>{const{ariaLabel:c,...u}=n;return u});return dt(()=>{bo(window,"scroll",c=>{c.target?.contains(i.trigger.value)&&i.onClose()}),bo(window,Js,i.onClose)}),(c,u)=>(w(),K(m(xl),{"as-child":"","disable-outside-pointer-events":!1,onEscapeKeyDown:u[0]||(u[0]=d=>r("escapeKeyDown",d)),onPointerDownOutside:u[1]||(u[1]=d=>{m(i).disableClosingTrigger.value&&m(i).trigger.value?.contains(d.target)&&d.preventDefault(),r("pointerDownOutside",d)}),onFocusOutside:u[2]||(u[2]=Ms(()=>{},["prevent"])),onDismiss:u[3]||(u[3]=d=>m(i).onClose())},{default:M(()=>[R(m(nd),Pe({ref:m(o),"data-state":m(i).stateAttribute.value},{...c.$attrs,...a.value},{style:{"--reka-tooltip-content-transform-origin":"var(--reka-popper-transform-origin)","--reka-tooltip-content-available-width":"var(--reka-popper-available-width)","--reka-tooltip-content-available-height":"var(--reka-popper-available-height)","--reka-tooltip-trigger-width":"var(--reka-popper-anchor-width)","--reka-tooltip-trigger-height":"var(--reka-popper-anchor-height)"}}),{default:M(()=>[ne(c.$slots,"default"),R(m(wl),{id:m(i).contentId,role:"tooltip"},{default:M(()=>[re(G(l.value),1)]),_:1},8,["id"])]),_:3},16,["data-state"])]),_:3}))}}),Zs=xd,Ed=U({__name:"TooltipContentHoverable",props:{ariaLabel:{type:String,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1},side:{type:null,required:!1},sideOffset:{type:Number,required:!1},align:{type:null,required:!1},alignOffset:{type:Number,required:!1},avoidCollisions:{type:Boolean,required:!1},collisionBoundary:{type:null,required:!1},collisionPadding:{type:[Number,Object],required:!1},arrowPadding:{type:Number,required:!1},sticky:{type:String,required:!1},hideWhenDetached:{type:Boolean,required:!1},positionStrategy:{type:String,required:!1},updatePositionStrategy:{type:String,required:!1}},setup(t){const n=Ls(t),{forwardRef:r,currentElement:i}=Ce(),{trigger:o,onClose:s}=cr(),l=Li(),{isPointerInTransit:a,onPointerExit:c}=Ec(o,i);return l.isPointerInTransitRef=a,c(()=>{s()}),(u,d)=>(w(),K(Zs,Pe({ref:m(r)},m(n)),{default:M(()=>[ne(u.$slots,"default")]),_:3},16))}}),Td=Ed,Ad=U({__name:"TooltipContent",props:{forceMount:{type:Boolean,required:!1},ariaLabel:{type:String,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1},side:{type:null,required:!1,default:"top"},sideOffset:{type:Number,required:!1},align:{type:null,required:!1},alignOffset:{type:Number,required:!1},avoidCollisions:{type:Boolean,required:!1},collisionBoundary:{type:null,required:!1},collisionPadding:{type:[Number,Object],required:!1},arrowPadding:{type:Number,required:!1},sticky:{type:String,required:!1},hideWhenDetached:{type:Boolean,required:!1},positionStrategy:{type:String,required:!1},updatePositionStrategy:{type:String,required:!1}},emits:["escapeKeyDown","pointerDownOutside"],setup(t,{emit:e}){const n=t,r=e,i=cr(),o=rr(n,r),{forwardRef:s}=Ce();return(l,a)=>(w(),K(m(Rs),{present:l.forceMount||m(i).open.value},{default:M(()=>[(w(),K(kt(m(i).disableHoverableContent.value?Zs:Td),Pe({ref:m(s)},m(o)),{default:M(()=>[ne(l.$slots,"default")]),_:3},16))]),_:3},8,["present"]))}}),Sd=Ad,Rd=U({__name:"TooltipPortal",props:{to:{type:null,required:!1},disabled:{type:Boolean,required:!1},defer:{type:Boolean,required:!1},forceMount:{type:Boolean,required:!1}},setup(t){const e=t;return(n,r)=>(w(),K(m(El),gn(_n(e)),{default:M(()=>[ne(n.$slots,"default")]),_:3},16))}}),Ld=Rd,Cd=U({__name:"TooltipTrigger",props:{reference:{type:null,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"button"}},setup(t){const e=t,n=cr(),r=Li();n.contentId||=vi(void 0,"reka-tooltip-content");const{forwardRef:i,currentElement:o}=Ce(),s=j(!1),l=j(!1),a=$(()=>n.disabled.value?{}:{click:y,focus:f,pointermove:d,pointerleave:h,pointerdown:u,blur:g});dt(()=>{n.onTriggerChange(o.value)});function c(){setTimeout(()=>{s.value=!1},1)}function u(){n.open&&!n.disableClosingTrigger.value&&n.onClose(),s.value=!0,document.addEventListener("pointerup",c,{once:!0})}function d(x){x.pointerType!=="touch"&&!l.value&&!r.isPointerInTransitRef.value&&(n.onTriggerEnter(),l.value=!0)}function h(){n.onTriggerLeave(),l.value=!1}function f(x){s.value||n.ignoreNonKeyboardFocus.value&&!x.target.matches?.(":focus-visible")||n.onOpen()}function g(){n.onClose()}function y(){n.disableClosingTrigger.value||n.onClose()}return(x,v)=>(w(),K(m(jc),{"as-child":"",reference:x.reference},{default:M(()=>[R(m(nt),Pe({ref:m(i),"aria-describedby":m(n).open.value?m(n).contentId:void 0,"data-state":m(n).stateAttribute.value,as:x.as,"as-child":e.asChild,"data-grace-area-trigger":""},Ql(a.value)),{default:M(()=>[ne(x.$slots,"default")]),_:3},16,["aria-describedby","data-state","as","as-child"])]),_:3},8,["reference"]))}}),Pd=Cd;const Od={key:0,class:"flex flex-wrap items-center gap-3 text-sm"},Id={key:0,class:"flex items-center gap-1.5 text-muted-foreground"},Dd={key:1,class:"flex items-center gap-1.5 text-muted-foreground"},Nd=["href"],Md={key:4,class:"flex items-center gap-1.5 text-muted-foreground"},$d=U({__name:"Meta",props:{metadata:{}},setup(t){const e=t,n=$(()=>{const i=e.metadata.status?.toLowerCase();return i?i.includes("complete")||i.includes("done")||i.includes("progress")||i.includes("active")?"default":i.includes("draft")?"secondary":i.includes("blocked")||i.includes("paused")?"destructive":"secondary":"secondary"}),r=$(()=>e.metadata.author||e.metadata.date||e.metadata.status||e.metadata.shortcutStory);return(i,o)=>m(r)?(w(),A("div",Od,[t.metadata.author?(w(),A("div",Id,[R(m(xc),{class:"size-3.5"}),T("span",null,G(t.metadata.author),1)])):Y("",!0),t.metadata.date?(w(),A("div",Dd,[R(m(Vs),{class:"size-3.5"}),T("span",null,G(t.metadata.date),1)])):Y("",!0),t.metadata.status?(w(),K(m(Nt),{key:2,variant:m(n),class:"gap-1"},{default:M(()=>[R(m(oc),{class:"size-3"}),re(" "+G(t.metadata.status),1)]),_:1},8,["variant"])):Y("",!0),t.metadata.shortcutStory&&t.metadata.shortcutUrl?(w(),A("a",{key:3,href:t.metadata.shortcutUrl,target:"_blank",rel:"noopener noreferrer",class:"inline-flex items-center gap-1.5 text-primary hover:underline"},[R(m(xo),{class:"size-3.5"}),T("span",null,G(t.metadata.shortcutStory),1)],8,Nd)):t.metadata.shortcutStory?(w(),A("span",Md,[R(m(xo),{class:"size-3.5"}),T("span",null,G(t.metadata.shortcutStory),1)])):Y("",!0)])):Y("",!0)}}),Vd=Object.assign($d,{__name:"PrdMeta"});function Ci(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}var xt=Ci();function ea(t){xt=t}var _t={exec:()=>null};function te(t,e=""){let n=typeof t=="string"?t:t.source,r={replace:(i,o)=>{let s=typeof o=="string"?o:o.source;return s=s.replace(Se.caret,"$1"),n=n.replace(i,s),r},getRegex:()=>new RegExp(n,e)};return r}var Bd=(()=>{try{return!!new RegExp("(?<=1)(?<!1)")}catch{return!1}})(),Se={codeRemoveIndent:/^(?: {1,4}| {0,3}\t)/gm,outputLinkReplace:/\\([\[\]])/g,indentCodeCompensation:/^(\s+)(?:```)/,beginningSpace:/^\s+/,endingHash:/#$/,startingSpaceChar:/^ /,endingSpaceChar:/ $/,nonSpaceChar:/[^ ]/,newLineCharGlobal:/\n/g,tabCharGlobal:/\t/g,multipleSpaceGlobal:/\s+/g,blankLine:/^[ \t]*$/,doubleBlankLine:/\n[ \t]*\n[ \t]*$/,blockquoteStart:/^ {0,3}>/,blockquoteSetextReplace:/\n {0,3}((?:=+|-+) *)(?=\n|$)/g,blockquoteSetextReplace2:/^ {0,3}>[ \t]?/gm,listReplaceNesting:/^ {1,4}(?=( {4})*[^ ])/g,listIsTask:/^\[[ xX]\] +\S/,listReplaceTask:/^\[[ xX]\] +/,listTaskCheckbox:/\[[ xX]\]/,anyLine:/\n.*\n/,hrefBrackets:/^<(.*)>$/,tableDelimiter:/[:|]/,tableAlignChars:/^\||\| *$/g,tableRowBlankLine:/\n[ \t]*$/,tableAlignRight:/^ *-+: *$/,tableAlignCenter:/^ *:-+: *$/,tableAlignLeft:/^ *:-+ *$/,startATag:/^<a /i,endATag:/^<\/a>/i,startPreScriptTag:/^<(pre|code|kbd|script)(\s|>)/i,endPreScriptTag:/^<\/(pre|code|kbd|script)(\s|>)/i,startAngleBracket:/^</,endAngleBracket:/>$/,pedanticHrefTitle:/^([^'"]*[^\s])\s+(['"])(.*)\2/,unicodeAlphaNumeric:/[\p{L}\p{N}]/u,escapeTest:/[&<>"']/,escapeReplace:/[&<>"']/g,escapeTestNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,escapeReplaceNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/g,unescapeTest:/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig,caret:/(^|[^\[])\^/g,percentDecode:/%25/g,findPipe:/\|/g,splitPipe:/ \|/,slashPipe:/\\\|/g,carriageReturn:/\r\n|\r/g,spaceLine:/^ +$/gm,notSpaceStart:/^\S*/,endingNewline:/\n$/,listItemRegex:t=>new RegExp(`^( {0,3}${t})((?:[ ][^\\n]*)?(?:\\n|$))`),nextBulletRegex:t=>new RegExp(`^ {0,${Math.min(3,t-1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`),hrRegex:t=>new RegExp(`^ {0,${Math.min(3,t-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),fencesBeginRegex:t=>new RegExp(`^ {0,${Math.min(3,t-1)}}(?:\`\`\`|~~~)`),headingBeginRegex:t=>new RegExp(`^ {0,${Math.min(3,t-1)}}#`),htmlBeginRegex:t=>new RegExp(`^ {0,${Math.min(3,t-1)}}<(?:[a-z].*>|!--)`,"i"),blockquoteBeginRegex:t=>new RegExp(`^ {0,${Math.min(3,t-1)}}>`)},zd=/^(?:[ \t]*(?:\n|$))+/,Fd=/^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/,jd=/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,vn=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,qd=/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,Pi=/ {0,3}(?:[*+-]|\d{1,9}[.)])/,ta=/^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/,na=te(ta).replace(/bull/g,Pi).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/\|table/g,"").getRegex(),Hd=te(ta).replace(/bull/g,Pi).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/table/g,/ {0,3}\|?(?:[:\- ]*\|)+[\:\- ]*\n/).getRegex(),Oi=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,Gd=/^[^\n]+/,Ii=/(?!\s*\])(?:\\[\s\S]|[^\[\]\\])+/,Ud=te(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label",Ii).replace("title",/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),Wd=te(/^(bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g,Pi).getRegex(),ur="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",Di=/<!--(?:-?>|[\s\S]*?(?:-->|$))/,Kd=te("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$))","i").replace("comment",Di).replace("tag",ur).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),ra=te(Oi).replace("hr",vn).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)])[ \\t]").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",ur).getRegex(),Xd=te(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph",ra).getRegex(),Ni={blockquote:Xd,code:Fd,def:Ud,fences:jd,heading:qd,hr:vn,html:Kd,lheading:na,list:Wd,newline:zd,paragraph:ra,table:_t,text:Gd},No=te("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr",vn).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("blockquote"," {0,3}>").replace("code","(?: {4}| {0,3} )[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)])[ \\t]").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",ur).getRegex(),Yd={...Ni,lheading:Hd,table:No,paragraph:te(Oi).replace("hr",vn).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",No).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)])[ \\t]").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",ur).getRegex()},Qd={...Ni,html:te(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",Di).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:_t,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:te(Oi).replace("hr",vn).replace("heading",` *#{1,6} *[^
3
3
  ]`).replace("lheading",na).replace("|table","").replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").replace("|tag","").getRegex()},Jd=/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,Zd=/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,ia=/^( {2,}|\\)\n(?!\s*$)/,ep=/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,dr=/[\p{P}\p{S}]/u,Mi=/[\s\p{P}\p{S}]/u,oa=/[^\s\p{P}\p{S}]/u,tp=te(/^((?![*_])punctSpace)/,"u").replace(/punctSpace/g,Mi).getRegex(),sa=/(?!~)[\p{P}\p{S}]/u,np=/(?!~)[\s\p{P}\p{S}]/u,rp=/(?:[^\s\p{P}\p{S}]|~)/u,aa=/(?![*_])[\p{P}\p{S}]/u,ip=/(?![*_])[\s\p{P}\p{S}]/u,op=/(?:[^\s\p{P}\p{S}]|[*_])/u,sp=te(/link|precode-code|html/,"g").replace("link",/\[(?:[^\[\]`]|(?<a>`+)[^`]+\k<a>(?!`))*?\]\((?:\\[\s\S]|[^\\\(\)]|\((?:\\[\s\S]|[^\\\(\)])*\))*\)/).replace("precode-",Bd?"(?<!`)()":"(^^|[^`])").replace("code",/(?<b>`+)[^`]+\k<b>(?!`)/).replace("html",/<(?! )[^<>]*?>/).getRegex(),la=/^(?:\*+(?:((?!\*)punct)|[^\s*]))|^_+(?:((?!_)punct)|([^\s_]))/,ap=te(la,"u").replace(/punct/g,dr).getRegex(),lp=te(la,"u").replace(/punct/g,sa).getRegex(),ca="^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)",cp=te(ca,"gu").replace(/notPunctSpace/g,oa).replace(/punctSpace/g,Mi).replace(/punct/g,dr).getRegex(),up=te(ca,"gu").replace(/notPunctSpace/g,rp).replace(/punctSpace/g,np).replace(/punct/g,sa).getRegex(),dp=te("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)","gu").replace(/notPunctSpace/g,oa).replace(/punctSpace/g,Mi).replace(/punct/g,dr).getRegex(),pp=te(/^~~?(?:((?!~)punct)|[^\s~])/,"u").replace(/punct/g,aa).getRegex(),mp="^[^~]+(?=[^~])|(?!~)punct(~~?)(?=[\\s]|$)|notPunctSpace(~~?)(?!~)(?=punctSpace|$)|(?!~)punctSpace(~~?)(?=notPunctSpace)|[\\s](~~?)(?!~)(?=punct)|(?!~)punct(~~?)(?!~)(?=punct)|notPunctSpace(~~?)(?=notPunctSpace)",fp=te(mp,"gu").replace(/notPunctSpace/g,op).replace(/punctSpace/g,ip).replace(/punct/g,aa).getRegex(),hp=te(/\\(punct)/,"gu").replace(/punct/g,dr).getRegex(),gp=te(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme",/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email",/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(),_p=te(Di).replace("(?:-->|$)","-->").getRegex(),yp=te("^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>").replace("comment",_p).replace("attribute",/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(),Hn=/(?:\[(?:\\[\s\S]|[^\[\]\\])*\]|\\[\s\S]|`+[^`]*?`+(?!`)|[^\[\]\\`])*?/,vp=te(/^!?\[(label)\]\(\s*(href)(?:(?:[ \t]*(?:\n[ \t]*)?)(title))?\s*\)/).replace("label",Hn).replace("href",/<(?:\\.|[^\n<>\\])+>|[^ \t\n\x00-\x1f]*/).replace("title",/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(),ua=te(/^!?\[(label)\]\[(ref)\]/).replace("label",Hn).replace("ref",Ii).getRegex(),da=te(/^!?\[(ref)\](?:\[\])?/).replace("ref",Ii).getRegex(),bp=te("reflink|nolink(?!\\()","g").replace("reflink",ua).replace("nolink",da).getRegex(),Mo=/[hH][tT][tT][pP][sS]?|[fF][tT][pP]/,$i={_backpedal:_t,anyPunctuation:hp,autolink:gp,blockSkip:sp,br:ia,code:Zd,del:_t,delLDelim:_t,delRDelim:_t,emStrongLDelim:ap,emStrongRDelimAst:cp,emStrongRDelimUnd:dp,escape:Jd,link:vp,nolink:da,punctuation:tp,reflink:ua,reflinkSearch:bp,tag:yp,text:ep,url:_t},kp={...$i,link:te(/^!?\[(label)\]\((.*?)\)/).replace("label",Hn).getRegex(),reflink:te(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",Hn).getRegex()},ti={...$i,emStrongRDelimAst:up,emStrongLDelim:lp,delLDelim:pp,delRDelim:fp,url:te(/^((?:protocol):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/).replace("protocol",Mo).replace("email",/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(),_backpedal:/(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])((?:\\[\s\S]|[^\\])*?(?:\\[\s\S]|[^\s~\\]))\1(?=[^~]|$)/,text:te(/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|protocol:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/).replace("protocol",Mo).getRegex()},wp={...ti,br:te(ia).replace("{2,}","*").getRegex(),text:te(ti.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()},Pn={normal:Ni,gfm:Yd,pedantic:Qd},Xt={normal:$i,gfm:ti,breaks:wp,pedantic:kp},xp={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},$o=t=>xp[t];function Xe(t,e){if(e){if(Se.escapeTest.test(t))return t.replace(Se.escapeReplace,$o)}else if(Se.escapeTestNoEncode.test(t))return t.replace(Se.escapeReplaceNoEncode,$o);return t}function Vo(t){try{t=encodeURI(t).replace(Se.percentDecode,"%")}catch{return null}return t}function Bo(t,e){let n=t.replace(Se.findPipe,(o,s,l)=>{let a=!1,c=s;for(;--c>=0&&l[c]==="\\";)a=!a;return a?"|":" |"}),r=n.split(Se.splitPipe),i=0;if(r[0].trim()||r.shift(),r.length>0&&!r.at(-1)?.trim()&&r.pop(),e)if(r.length>e)r.splice(e);else for(;r.length<e;)r.push("");for(;i<r.length;i++)r[i]=r[i].trim().replace(Se.slashPipe,"|");return r}function Yt(t,e,n){let r=t.length;if(r===0)return"";let i=0;for(;i<r&&t.charAt(r-i-1)===e;)i++;return t.slice(0,r-i)}function Ep(t,e){if(t.indexOf(e[1])===-1)return-1;let n=0;for(let r=0;r<t.length;r++)if(t[r]==="\\")r++;else if(t[r]===e[0])n++;else if(t[r]===e[1]&&(n--,n<0))return r;return n>0?-2:-1}function Tp(t,e=0){let n=e,r="";for(let i of t)if(i===" "){let o=4-n%4;r+=" ".repeat(o),n+=o}else r+=i,n++;return r}function zo(t,e,n,r,i){let o=e.href,s=e.title||null,l=t[1].replace(i.other.outputLinkReplace,"$1");r.state.inLink=!0;let a={type:t[0].charAt(0)==="!"?"image":"link",raw:n,href:o,title:s,text:l,tokens:r.inlineTokens(l)};return r.state.inLink=!1,a}function Ap(t,e,n){let r=t.match(n.other.indentCodeCompensation);if(r===null)return e;let i=r[1];return e.split(`
4
4
  `).map(o=>{let s=o.match(n.other.beginningSpace);if(s===null)return o;let[l]=s;return l.length>=i.length?o.slice(i.length):o}).join(`
5
5
  `)}var Gn=class{options;rules;lexer;constructor(t){this.options=t||xt}space(t){let e=this.rules.block.newline.exec(t);if(e&&e[0].length>0)return{type:"space",raw:e[0]}}code(t){let e=this.rules.block.code.exec(t);if(e){let n=e[0].replace(this.rules.other.codeRemoveIndent,"");return{type:"code",raw:e[0],codeBlockStyle:"indented",text:this.options.pedantic?n:Yt(n,`