1"use strict";(self.webpackChunkpimcore=self.webpackChunkpimcore||[]).push([[237],{3237(n,e,t){t.r(e),t.d(e,{default:()=>l});var o=function(){var n=this,e=n._self._c;return e("div",{staticClass:"dav-accordion"},[e("v-expansion-panels",{class:{"mb-2":n.marginBottom},attrs:{accordion:!0,multiple:!1},model:{value:n.openedPanel,callback:function(e){n.openedPanel=e},expression:"openedPanel"}},n._l(n.json,function(t,o){return e("v-expansion-panel",{key:o,class:{"no-background":n.noBackground},on:{click:function(e){return n.panelOpened(o)}}},[e("v-expansion-panel-header",{attrs:{role:"button",id:t.anchor},scopedSlots:n._u([{key:"actions",fn:function(){return[e("v-icon",{attrs:{"aria-label":"Inhalt ausklappen",role:"button"}},[n._v("\n dav-icon-chevron-down-circle-fill\n ")])]},proxy:!0}],null,!0)},[e("div",{staticClass:"v-expansion-panel-header__headline",class:{"v-expansion-panel-header__headline--small":t.isTitleSmall},domProps:{innerHTML:n._s(t.title)}})]),n._v(" "),e("v-expansion-panel-content",{attrs:{role:"region"}},[e("div",{staticClass:"text-font-regular dav-no-animation",domProps:{innerHTML:n._s(t.content)}})])],1)}),1)],1)};o._withStripped=!0;
1var a=t(357),s=t(8558);const i={name:"Accordion",props:["data"],mixins:[a.e],data(){return{openedPanel:null,json:this.data,noBackground:this.data[0].noBackground||!1,marginBottom:this.data[0].marginBottom||!1}},mounted(){for(const n in this.json){const e=this.json[n];"#".concat(e.anchor)===location.hash&&(this.openedPanel=parseInt(n),setTimeout(()=>{document.getElementById(e.anchor).scrollIntoView()},1e3)),""===this.json[n].content&&(this.json[n].content=this.getHtml(this.json[n].contentId))}(0,s.K)()},methods:{openItem(n){this.openedPanel=n,setTimeout(function(e){const t=e.$el.getElementsByClassName("v-expansion-panel-header");t[n]&&t[n].scrollIntoView({behavior:"smooth"})},200,this)},getHtml(n){let e="";const t=document.getElementById(n);return t&&(e=t.innerHTML,t.parentNode.removeChild(t)),e},panelOpened(n){this.fireComponentEvent("accordion-item-opened",n),setTimeout(()=>{const n=new Event("accordion-item-opened");document.dispatchEvent(n)})}}};const l=(0,t(4486).A)(i,o,[],!1,null,null,null).exports}}]);
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.