1import{G as S,V as C,k as O,K as w,u as D,aX as b,P as $,Y as E,O as N,Z as R,E as j,_ as F,r as g,o as _,c as f,$ as T,a as m,w as P,F as G,e as V,l as W}from"./index-D-iuxWOd.js";import{m as q}from"./BlockDivider-DABsdPv0.js";import{f as v,a as B,S as H}from"./SearchInput-DH-ZtFsP.js";import{T as L}from"./TypeOverviewListEntry-BqgEvagY.js";var x=Object.defineProperty,z=Object.getOwnPropertyDescriptor,p=(s,e,t,i)=>{for(var n=i>1?void 0:i?z(e,t):e,c=s.length-1,r;c>=0;c--)(r=s[c])&&(n=(i?r(e,t,n):r(n))||n);return i&&n&&x(e,t,n),n};const Z=S("contentPage"),y=S("edition");let a=class extends C{constructor(){super(...arguments),this.context=O(()=>{const e=w(),t=e.getters["contentPage/currentPageTitle"],i={origin:e.getters.getOrigin,data:this.section,title:t()};return D(q(i,e)),{}}),this.showDefaultItems=!0,this.searchResultItems=[]}get title(){var e,t;return((t=(e=this.specialTopicsConfiguration)==null?void 0:e.fields)==null?void 0:t.title)||""}get description(){var e,t;return((t=(e=this.specialTopicsConfiguration)==null?void 0:e.fields)==null?void 0:t.description)||""}get specialTopicsConfiguration(){var e,t,i;return(i=(t=(e=this.section)==null?void 0:e.resolution)==null?void 0:t.section)==null?void 0:i.sectionConfiguration}get specialTopics(){var r,l,u,d,o;const e=(l=(r=this.section)==null?void 0:r.sections)==null?void 0:l[0],t=(d=(u=e==null?void 0:e.children)==null?void 0:u.filter(h=>h.uniqueName===b))==null?void 0:d[0],i=[{title:"",uniqueName:"",children:((o=this.section)==null?void 0:o.tags)??[]}],n=v([t]),c=v(i);return c[0].children=n[0].children.concat(c[0].children),c}get visibleSpecialTopics(){return this.showDefaultItems?this.specialTopics:this.searchResultItems}searchInPlace(e){e.length>=3?(this.showDefaultItems=!1,this.searchResultItems=B(this.specialTopics,e)):(this.showDefaultItems=!0,this.searchResultItems=[])}};p([$({required:!0})],a.prototype,"section",2);p([E("getOrigin")],a.prototype,"origin",2);p([y.Getter("isReichweitenportal")],a.prototype,"isReichweitenportal",2);p([y.Getter("getEdition")],a.prototype,"edition",2);p([Z.Getter("currentPageTitle")],a.prototype,"currentPageTitle",2);a=p([N({name:"SpecialTopicsPage",components:{DnmContentHeader:R,DnmContentWrapper:j,TypeOverviewListEntry:L,SearchInput:H}})],a);const K={class:"specialTopics","data-testid":"special-topics-page-container"},M={class:"specialTopics__headerWrapper"};function U(s,e,t,i,n,c){const r=g("DnmContentHeader"),l=g("DnmContentWrapper"),u=g("SearchInput"),d=g("TypeOverviewListEntry");return _(),f("article",K,[T("header",M,[m(l,{size:"page"},{default:P(()=>{var o;return[m(r,{"crop-description":!1,description:s.description,"render-logo":!((o=s.edition)!=null&&o.hideVrmEndorsement),title:s.title,class:"specialTopics__header","data-testid":"special-topics-header"},null,8,["description","render-logo","title"])]}),_:1})]),T("main",null,[m(l,{size:"medium"},{default:P(()=>[m(u,{onOnSearchInputChange:s.searchInPlace,"in-place":!0,label:s.$t("specialTopics.searchPlaceholder"),class:"specialTopics__searchInput","data-testid":"special-topics-page-search-input"},null,8,["onOnSearchInputChange","label"]),(_(!0),f(G,null,V(s.visibleSpecialTopics,
1(o,h)=>(_(),W(d,{"data-testid":`special-topics-page-list-entry-special-topics-${h}`,id:o.title,key:`${o.title}-${h}`,"sub-entries":o.children,class:"specialTopics__entry","ordered-by-title":"","remove-icon-spacing":""},null,8,["data-testid","id","sub-entries"]))),128))]),_:1})])])}const Q=F(a,[["render",U],["__scopeId","data-v-57317dd2"]]);var I;try{"__c"in a&&((I=a.__c).componentFileName??(I.componentFileName=Object.create(null)),Object.defineProperty(a.__c,"componentFileName",{value:"app/pages/contentPage/specialTopicsPage/SpecialTopicsPage.vue"}))}catch(s){console.error("injectFileNamePlugin",s)}export{Q 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.