1import S from"./QT4gZKbt.js";import{e as w,u as B,R as N,g as V,i as c,o,c as s,a as t,b as p,F as _,r as g,t as y,v as h,a7 as j,n as E,l as v,E as F,a2 as M}from"./B7A9RFpj.js";import"./BK7PToWb.js";const O={key:0,class:"documents-container"},R={class:"container"},T={key:0,class:"accordion-container"},q={class:"row"},x={class:"col-lg-12 col-md-6 col-6"},z=["id"],A={class:"panel panel-default"},G=["id"],H={class:"panel-title"},J=["data-parent","href"],K=["id","aria-labelledby"],P={key:1,class:"tab-container"},Q={class:"nav nav-tabs"},U=["onClick"],W={class:"tab-button"},X={class:"tab-button-text"},Y={class:"tab-content"},Z={__name:"DocsComponent",props:{pageComponent:{type:Object,required:!0}},setup(f){const b=f,k=w(),n=B(),C=v(()=>M(b.pageComponent)),D=n.hash?n.hash.substring(1):"ALL",l=F(D),r=v(()=>k.groupedDocuments);function L(){const a=n.hash;a&&(typeof $<"u"&&$(a).collapse(),l.value=a.substring(1))}function m(a){const u=r.value.find(a);return u?u.documents:null}return N(()=>n.hash,()=>{L()}),V(()=>{n.hash&&typeof $<"u"&&$(n.hash).collapse()}),(a,u)=>{const d=S;return c(r)?(o(),s("div",O,[t("div",R,[c(C).docsStyle!=="navLinks"?(o(),s("div",T,[t("div",q,[t("div",x,[p(d,{documents:m(e=>!e.category)},null,8,["documents"]),(o(!0),s(_,null,g(c(r),(e,i)=>(o(),s("div",{key:e.category},[t("div",{id:`accordion-${i}`,class:"panel-group",role:"tablist","aria-multiselectable":"true"},[t("div",A,[e.category?(o(),s("div",{key:0,id:`heading-${i}`,class:"panel-heading",role:"tab"},[t("h4",H,[t("a",{role:"button","data-toggle":"collapse","data-parent":`#accordion-${i}`,href:"#"+e.category.replace(/ /g,""),"aria-expanded":"true"},y(e.category),9,J)])],8,G)):h("",!0),t("div",{id:e.category.replace(/ /g,""),class:"panel-collapse collapse",role:"tabpanel","aria-labelledby":`heading-${i}`},[p(d,{documents:e.documents},null,8,["documents"])],8,K)])],8,z)]))),128))])])])):(o(),s("div",P,[t("ul",Q,[(o(!0),s(_,null,g(c(r),e=>(o(),s(_,null,[e&&e.category?(o(),s("li",{key:e.category,class:"nav-item"},[t("a",{class:E(["nav-link",c(l)===e.category.replace(/ /g,"")?"active":""]),type:"button",onClick:j(i=>l.value=e.category.replace(/ /g,""),["prevent"])},[t("div",W,[t("h5",X,y(e.category),1)])],10,U)])):h("",!0)],64))),256))]),t("div",Y,[p(d,{documents:m(e=>e.category&&e.category.replace(/ /g,"")===c(l))},null,8,["documents"])])]))])])):h("",!0)}}},oe=Object.assign(Z,{__name:"DocsComponent"});export{oe 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.