PageSourceSearch

https://perspective-daily.de/static/assets/Accordion-DBvVK-MS.js

js perspective-daily.de collected 2026-10-02 07:19:40 UTC 940 bytes, 1 lines download raw bytes

1import{d as a,o as e,j as o,n as s,U as n,a as l,c as r,g as c,e as t,s as d,f as i,r as h}from"./vue-Cbujuoqu.js";import"./preload-helper-D9jEkzRM.js";import"./exports-DzJyI3gR.js";import"./apollo.client-CTIoy0fp.js";const u=["name"],p={class:"body"},v=a({__name:"Accordion",props:{anchor:{default:void 0}},setup(a){const v=a,m=h(!0),f=h(null);function w(){window.location.hash==="#".concat(v.anchor)?(m.value=!1,s(()=>{const a=f.value.getBoundingClientRect().y-n;window.scrollBy({top:a})})):m.value=!0}return e(()=>{v.anchor&&(window.addEventListener("hashchange",w),w())}),o(()=>{v.anchor&&document.removeEventListener("hashchange",w)}),(e,o)=>(l(),r("div",{class:i(["panel",{collapsed:m.value}])},[a.anchor?(l(),r("a",{key:0,ref_key:"$anchor",ref:f,name:a.anchor},null,8,u)):c("",!0),t("div",{class:"header",onClick:o[0]||(o[0]=a=>m.value=!m.value)},[d(e.$slots,"header")]),t("div",p,[d(e.$slots,"body")])],2))}});export{v 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.