1import{c as p}from"./createContext-Ckc10ffx.js";import{j as u,i,a7 as f,a8 as d,S as c,a9 as m,d as v,o as h,e as y,w as P,v as w,u as E}from"./app-DXLvWN2l.js";import{a as g}from"./index-BuADCy-E.js";import{P as b}from"./Primitive-B0RzLO2d.js";function R(){let e=document.activeElement;if(e==null)return null;for(;e!=null&&e.shadowRoot!=null&&e.shadowRoot.activeElement!=null;)e=e.shadowRoot.activeElement;return e}const[_]=p("ConfigProvider");function $(e){const t=_({dir:u("ltr")});return i(()=>e?.value||t.dir?.value||"ltr")}function C(e){const t=c(),o=t?.type.emits,r={};return o?.length||console.warn(`No emitted event found. Please check component: ${t?.type.__name}`),o?.forEach(n=>{r[f(d(n))]=(...s)=>e(n,...s)}),r}function x(e){const t=c(),o=Object.keys(t?.type.props??{}).reduce((n,s)=>{const a=(t?.type.props[s]).default;return a!==void 0&&(n[s]=a),n},{}),r=m(e);return i(()=>{const n={},s=t?.vnode.props??{};return Object.keys(s).forEach(a=>{n[d(a)]=s[a]}),Object.keys({...o,...n}).reduce((a,l)=>(r.value[l]!==void 0&&(a[l]=r.value[l]),a),{})})}function q(e,t){const o=x(e),r=t?C(t):{};return i(()=>({...o.value,...r}))}function A(){const e=u(),t=i(()=>["#text","#comment"].includes(e.value?.$el.nodeName)?e.value?.$el.nextElementSibling:g(e));return{primitiveElement:e,currentElement:t}}var j=v({__name:"VisuallyHidden",props:{feature:{type:String,required:!1,default:"focusable"},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"span"}},setup(e){return(t,o)=>(h(),y(E(b),{as:t.as,"as-child":t.asChild,"aria-hidden":t.feature==="focusable"||t.feature==="fully-hidden"?"true":void 0,"data-hidden":t.feature==="fully-hidden"?"":void 0,tabindex:t.feature==="fully-hidden"?"-1":void 0,style:{position:"absolute",border:0,width:"1px",height:"1px",padding:0,margin:"-1px",overflow:"hidden",clip:"rect(0, 0, 0, 0)",clipPath:"inset(50%)",whiteSpace:"nowrap",wordWrap:"normal",top:"-1px",left:"-1px"}},{default:P(()=>[w(t.$slots,"default")]),_:3},8,["as","as-child","aria-hidden","data-hidden","tabindex"]))}}),B=j;export{B as V,A as a,$ as b,x as c,C as d,R as g,_ as i,q as u};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.