1import{al as f,c as t,z as q,ba as k,bd as C,l as h,t as d,x as c,s as n,F as b,r as y,n as _,bb as x,o as e,a as N,y as S,aH as T,b as P}from"./ab7TizbG.js";const v=r=>{const o=f(()=>r.tableHeaderPosition===1&&[...r.bodytext].shift()||[]),i=f(()=>{const a=[...r.bodytext];return o?.value?.length&&a.shift(),s?.value?.length&&a.pop(),a}),s=f(()=>r.tableTfoot==="1"&&[...r.bodytext].pop()||[]);return{thead:o,tbody:i,tfoot:s}},H={key:0},B={key:1},V={key:2},z={key:3},F={__name:"T3CeTable",props:{tableCaption:{type:String,required:!0},tableHeaderPosition:{type:Number,required:!0},tableClass:{type:String,required:!0},tableTfoot:{type:String,required:!0},bodytext:{type:Array,required:!0,default:()=>[]},header:{type:String,required:!1},headerLayout:{type:Number,required:!1},headerPosition:{type:String,required:!1},headerLink:{type:[Object,String],required:!1},subheader:{type:String,required:!1},uid:{type:Number,required:!1},index:{type:Number,required:!1},appearance:{type:Object,required:!1}},setup(r){const o=r,{thead:i,tbody:s,tfoot:a}=v(o);return(L,j)=>{const m=x;return e(),t("div",{class:_([`t3-ce-table--${r.tableClass}`,"t3-ce-table"])},[q(m,k(C(o)),null,16),h("table",null,[r.tableCaption?(e(),t("caption",H,d(r.tableCaption),1)):c("",!0),n(i)?.length?(e(),t("thead",B,[h("tr",null,[(e(!0),t(b,null,y(n(i),(l,u)=>(e(),t("th",{key:u},d(l),1))),128))])])):c("",!0),n(s)?(e(),t("tbody",V,[(e(!0),t(b,null,y(n(s),(l,u)=>(e(),t("tr",{key:u},[(e(!0),t(b,null,y(l,(g,p)=>(e(),N(P(r.tableHeaderPosition===2&&p===0?"th":"td"),{key:p},{default:S(()=>[T(d(g),1)]),_:2},1024))),128))]))),128))])):c("",!0),n(a)?.length?(e(),t("tfoot",z,[h("tr",null,[(e(!0),t(b,null,y(n(a),(l,u)=>(e(),t("td",{key:u},d(l),1))),128))])])):c("",!0)])],2)}}};export{F 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.