1import{u as k}from"./B2E68c_y.js";import{e as K,aM as A,g as f,B as L,c as e,o as r,a as t,y as o,F as l,r as c,t as i,i as d,n as M}from"./B3ZwDejF.js";const T={key:0},w={key:0},B={key:0},C=["innerHTML"],E={key:1},H={class:"text-center border-t border-t-gray-300 dark:border-t-gray-800"},x=["colspan"],D=["data-without"],N={key:0},V={key:0},F=["innerHTML"],R={__name:"AccessibilityTable",props:{data:{type:Array,default:()=>[]},without:{type:Array,default:()=>[]}},setup(b){const m=b,_=K(null),g=A(),p=["Section Key","Attribute","Value","Description"],h=f(()=>m.data.map(n=>{if(n.attributes.length<=0)return[];const u=[];return n.attributes.forEach(s=>{u.push({sectionKey:n.sectionKey,attribute:s.attribute,value:s.value||"",description:s.description})}),u})),v=f(()=>k.sectionKeys.map(n=>{if(n.attributes.length<=0)return[];const u=[];return n.attributes.forEach(s=>{u.push({sectionKey:n.sectionKey,attribute:s.attribute,value:s.value||"",description:s.description})}),u}));return L(()=>{_.value.addEventListener("click",n=>{if(n.target.tagName==="A"){const u=n.target.getAttribute("href");u.startsWith("/")&&(n.preventDefault(),g.push(u))}})}),(n,u)=>(r(),e("div",{ref_key:"table",ref:_,class:"reference-table docs-content-child"},[t("table",null,[t("thead",null,[t("tr",null,[(r(),e(l,null,c(p,s=>t("th",null,i(s),1)),64))])]),d(h).length?(r(),e("tbody",T,[(r(!0),e(l,null,c(d(h),s=>(r(),e(l,null,[(r(!0),e(l,null,c(s,(a,y)=>(r(),e("tr",null,[t("td",null,[y===0?(r(),e("code",w,i(a.sectionKey),1)):o("",!0)]),t("td",null,[t("code",null,i(a.attribute),1)]),t("td",null,[a.value?(r(),e("code",B,i(a.value),1)):o("",!0)]),t("td",{innerHTML:a.description},null,8,C)]))),256))],64))),256))])):o("",!0),d(h).length?(r(),e("tbody",E,[t("tr",H,[t("th",{colspan:p.length},"Universal Accessibility Attributes",8,x)])])):o("",!0),t("tbody",{class:M(d(h).length?"universal":"")},[(r(!0),e(l,null,c(d(v),s=>(r(),e(l,null,[(r(!0),e(l,null,c(s,(a,y)=>(r(),e("tr",{"data-without":b.without.includes(a.sectionKey)},[t("td",null,[y===0?(r(),e("code",N,i(a.sectionKey),1)):o("",!0)]),t("td",null,[y===0?(r(),e("code",V,i(a.sectionKey),1)):o("",!0)]),t("td",null,[t("code",null,i(a.attribute),1)]),t("td",{innerHTML:a.description},null,8,F)],8,D))),256))],64))),256))],2)])],512))}};export{R as default};
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.