PageSourceSearch

https://www.trend.at/_next/static/chunks/34urvq9lzep1j.js

js trend.at collected 2026-09-24 19:59:50 UTC 49,822 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,39396,e=>{"use strict";e.s(["default",0,{root:"",button:"text-base text-gray px-5 py-3",buttonActive:"[&>span]:text-secondary",buttonPlaceholder:"text-gray/70",itemWrapper:"p-4 pr-8 min-w-64 mt-0.5 border border-gray/10 scrollbar-dark overflow-hidden z-50",item:"px-4 py-3 data-[active]:text-secondary data-[active]:bg-gray/10 hover:bg-gray/10",itemSelected:"text-secondary bg-gray/10",clearButton:"!bg-transparent text-gray hover:text-secondary [&>svg]:size-4 !p-0 !rounded-none"}])},39870,e=>{"use strict";var t=e.i(91398),r=e.i(91788),l=e.i(10462),o=e.i(87428);let n={root:""},a=r.default.forwardRef(function({noLink:e=!1,href:r,children:a,target:s,rel:i,title:u,property:c,typeofValue:d,classProps:p},m){let f=(0,o.composeStyles)(n,p);return(0,t.jsx)(l.Link,{useRegularLink:!0,property:c,typeofValue:d,href:r,target:s,rel:i,ref:m,noLink:e,title:u||"",classProps:f,children:a})});e.s(["Link",0,a],39870)},88005,e=>{"use strict";e.s(["default",0,{root:"bg-gray-light w-full flex flex-nowrap justify-start items-center pt-3 pb-6 flex-shrink-0 overflow-x-auto scrollbar-none",list:"m-auto flex flex-shrink-0 justify-center items-center",listItem:"font-special-alternative text-sm uppercase px-3 last:border-none border-r border-white transition-colors tracking-[1px] hover:text-secondary",dropdownIcon:""}])},51602,e=>{"use strict";var t=e.i(87428),r=e.i(39396);let l=(0,t.composeStyles)(r.default,{root:"",button:"bg-transparent p-0 shadow-none font-special-alternative text-sm uppercase transition-colors tracking-[1px] group h-auto",buttonLabel:"text-primary group-hover:text-secondary",itemWrapper:"scrollbar-dark bg-primary-muted/70 backdrop-blur-sm mt-2 pr-4 max-h-none overflow-auto",item:"text-white font-special-alternative text-sm border-b border-gray/10 last:border-none text-center normal-case data-[active]:!text-secondary data-[active]:!bg-primary-dark/0",itemSelected:"!text-secondary !bg-primary-dark/0"});e.s(["default",0,l])},90032,e=>{"use strict";var t=e.i(91398),r=e.i(91788),l=e.i(3828),o=e.i(95965),n=e.i(59370),n=n,a=e.i(57242),s=e.i(66353),i=(0,r.forwardRef)(function({classProps:e,inputValue:t,inputChangeHandler:l,submitHandler:o,inputPlaceholder:n,inputDebounceTimeout:i=500,inputPreSlot:u,inputAfterSlot:c,filterSlot:d,autoFocus:p,submitOnEnter:m,tabIndex:f,inputAriaLabel:h},g){let[w,x]=(0,r.useState)(t),v=(0,s.useDebounceCallback)(l,i);(0,r.useEffect)(()=>{x(t)},[t]);let b=(0,a.a)({root:"bg-white flex flex-col p-6",inputWrapper:"",input:""},e);return r.default.createElement("form",{onSubmit:e=>{e.preventDefault(),v.cancel(),o(w)},ref:g,className:b.root},r.default.createElement("div",{className:b.inputWrapper},!!u&&u,r.default.createElement("input",{autoFocus:p,value:w,className:b.input,onChange:e=>{x(e.target.value),v(e)},type:"text",tabIndex:f,placeholder:n,"aria-label":h||n,onKeyDown:e=>{m&&"Enter"===e.key&&(v.cancel(),o(w),e.stopPropagation(),e.preventDefault())}}),!!c&&c),!!d&&d)}),u=n,c=e.i(6706),d=e.i(19897),p=e.i(30943),m=e.i(95485),f=({isVisible:e,setIsVisible:t,buttonText:l,classProps:o,children:n})=>{let i=(0,r.useRef)(null),[f]=(0,r.useState)(()=>"u">typeof document?document.querySelector("#portal"):null);(0,s.useOnClickOutside)(i,e=>{e.target.closest("[data-headlessui-state]")||t(!1)});let h=(0,a.a)({root:"w-full h-full fixed top-0 left-0 bg-gray-dark flex items-center justify-center z-50",searchButton:"",closeButton:"fixed top-12 right-10",buttonText:"",searchIcon:"w-5 h-5 text-black",closeIcon:"w-3 h-3 text-black"},o);return r.default.createElement(r.default.Fragment,null,r.default.createElement(c.a,{onClick:()=>t(!0),classProps:{root:h.searchButton},ariaLabel:"Suche"},r.default.createElement(u.a,{classProps:{root:h.searchIcon}}),l&&r.default.createElement("span",{className:h.buttonText},l)),f&&(0,p.createPortal)(r.default.createElement(m.Transition,{show:e,enter:"transition ease-in-out duration-500 transform",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"transition ease-in-out duration-500",leaveFrom:"opacity-100",leaveTo:"opacity-0"},r.default.createElement("div",{className:h.root},r.default.createElement(c.a,{onClick:()=>t(!1),classProps:{root:h.closeButton},ariaLabel:"Suche schließen"},r.default.createElement(d.a,{classProps:{root:h.closeIcon}})),r.default.createElement("div",{ref:i},n))),f))},h=e.i(87428),g=e.i(92042),w=e.i(39396);let x=({classProps:e})=>(0,t.jsx)("svg",{className:e?.root,width:"10",height:"16",viewBox:"0 0 8 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,t.jsx)("path",{d:"M0.503027 8.09591L3.39503 11.2759C3.52703 11.4079 3.70703 11.4679 3.87503 11.4559C4.04303 11.4679 4.22303 11.4079 4.35503 11.2759L7.23503 8.09591C7.47503 7.85591 7.47503 7.44791 7.23503 7.20791C6.99503 
16.96791 6.58703 6.96791 6.34703 7.20791L4.55903 9.18791V0.907914C4.55903 0.523914 4.24703 0.211914 3.86303 0.211914C3.47903 0.211914 3.16703 0.523914 3.16703 0.907914V9.18791L1.37903 7.21991C1.13903 6.97991 0.731028 6.97991 0.491028 7.21991C0.251028 7.45991 0.251027 7.85591 0.503027 8.09591Z",fill:"white"})});var v=e.i(52122);let b=({classProps:e})=>(0,t.jsx)("svg",{className:e?.root,width:"10",height:"16",viewBox:"0 0 8 13",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,t.jsx)("path",{d:"M7.30486 4.21599L4.41286 1.03599C4.28086 0.903992 4.10086 0.843992 3.93286 0.855992C3.76486 0.843992 3.58486 0.903992 3.45286 1.03599L0.560859 4.21599C0.320859 4.45599 0.320859 4.86399 0.560859 5.10399C0.800859 5.34399 1.20886 5.34399 1.44886 5.10399L3.23686 3.13599V11.416C3.23686 11.8 3.54886 12.112 3.93286 12.112C4.31686 12.112 4.62886 11.8 4.62886 11.416V3.13599L6.41686 5.10399C6.65686 5.34399 7.06486 5.34399 7.30486 5.10399C7.54486 4.85199 7.54486 4.45599 7.30486 4.21599Z",fill:"white"})}),y=({classProps:e})=>(0,t.jsxs)("svg",{className:e?.root,width:"30",height:"30",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,t.jsx)("path",{d:"M11.3049 9.21599L8.41286 6.03599C8.28086 5.90399 8.10086 5.84399 7.93286 5.85599C7.76486 5.84399 7.58486 5.90399 7.45286 6.03599L4.56086 9.21599C4.32086 9.45599 4.32086 9.86399 4.56086 10.104C4.80086 10.344 5.20886 10.344 5.44886 10.104L7.23686 8.13599V16.416C7.23686 16.8 7.54886 17.112 7.93286 17.112C8.31686 17.112 8.62886 16.8 8.62886 16.416V8.13599L10.4169 10.104C10.6569 10.344 11.0649 10.344 11.3049 10.104C11.5449 9.85199 11.5449 9.45599 11.3049 9.21599Z",fill:"currentColor"}),(0,t.jsx)("path",{d:"M12.503 15.0959L15.395 18.2759C15.527 18.4079 15.707 18.4679 15.875 18.4559C16.043 18.4679 16.223 18.4079 16.355 18.2759L19.235 15.0959C19.475 14.8559 19.475 14.4479 19.235 14.2079C18.995 13.9679 18.587 13.9679 18.347 14.2079L16.559 16.1879V7.90791C16.559 7.52391 16.247 7.21191 15.863 7.21191C15.479 7.21191 15.167 7.52391 15.167 7.90791V16.1879L13.379 14.2199C13.139 13.9799 12.731 13.9799 12.491 14.2199C12.251 14.4599 12.251 14.8559 12.503 15.0959Z",fill:"currentColor"})]});var k=e.i(32237);let E={root:"bg-primary-dark/95 z-30",searchIcon:"text-white",searchButton:"pr-0",closeIcon:"text-white",buttonText:"text-white pl-3 text-sm hidden md:inline-block",closeButton:"border rounded-full border-white h-6 w-6 p-1"},j={root:"w-full border border-gray/10 border-none p-3 md:p-5",inputWrapper:"w-full border-b-gray/60 border-b-2 flex items-center focus-within:border-b-secondary",buttonText:"text-white pl-3 text-sm hidden md:inline-block",searchButton:"pr-0 mr-0",input:"w-full text-primary text-base md:text-xl mb-3 md:mb-4 focus-visible:outline-none"},C="Ressorts",L="Autoren",S="Datum",P={sortOrder:null,searchValue:"",selectedRessort:{label:C},selectedAuthor:{label:L},selectedDate:{label:S},page:null};e.s(["Search",0,({searchAsOverlay:e,watchChanges:a,simple:s})=>{let u,c,d,p,m,N,D,[I,T]=(0,r.useState)(P),F=(0,l.useRouter)(),M=(u="y-MM-dd",c=new Date,d=(0,g.format)(c,u),p=(0,g.format)(new Date(c.getFullYear(),c.getMonth(),c.getDate()-1),u),m=(0,g.format)(new Date(c.getFullYear(),c.getMonth(),c.getDate()-7),u),N=(0,g.format)(new Date(c.getFullYear(),c.getMonth()-1,c.getDate()),u),D=(0,g.format)(new Date(c.getFullYear()-1,c.getMonth(),c.getDate()),u),[{id:`${d}/${d}`,label:"Heute"},{id:`${m}/${p}`,label:"Letzte Woche"},{id:`${N}/${p}`,label:"Letzter Monat"},{id:`${D}/${p}`,label:"Letztes Jahr"}]),R=(0,r.useContext)(k.default),A=R?.ressorts??null,O=R?.authors??null,W=e=>{if(!I||!F.isReady)return;let t=I.selectedRessort.id,r=I.selectedAuthor.id,l=I.selectedDate.id,o=e??I.searchValue;F.replace({pathname:"/suche",query:{...t&&{ressort:t},...r&&{autor:r},...l&&{datum:l},...I.sortOrder&&{sortierung:I.sortOrder},...o&&{q:o},...I.page&&{page:I.page}}},void 0,{shallow:a})};(0,r.useEffect)(()=>{if(F.isReady&&A&&O){let e=F.query,t=A?.find(t=>t?.id===e.ressort),r=O?.team?.find(t=>t?.user?.id===e.autor),l=M.find(t=>t.id===e.datum);T({...P,...e.ressort&&{selectedRessort:{id:t?.id||void 0,label:t?.title??""}},...e.autor&&{selectedAuthor:{id:r?.user?.id,label:r?.user?.name??""}},...e.datum&&{selectedDate:{id:l?.id,label:l?.label}},...e.sortierung&&{sortOrder:e.sortierung},...e.q&&{searchValue:e.q},...e.page&&{page:e.page}})}},[O,A,F.isReady]),(0,r.useEffect)(()=>{a&&W()},[I]);let V={submitOnEnter:s,inputValue:I.searchValue,inputChangeHandler:e=>T({...I,searchValue:e.target.value,page:null}),submitHandler:W,inputPlaceholder:"Suche",inputPreSlot:(0,t.jsx)("button",{type:"submit",children:(0,t.jsx)(n.a,{classProps:{root:"flex-shrink-0 inline-block w-5 h-5 md:w-7 md:h-7 text-gray/60 mb-3.5 mr-2.5 md:mr-7"}})}),filterSlot:!s&&(0,t.jsxs)("div",{className:"mt-6 flex flex-wrap items-start justify-between",children:[(0,t.jsxs)("div",{className:"flex flex-col items-start md:flex-row",children:[A&&(0,t.jsx)(o.Dropdown,{selectedItem:I.selectedRessort,setSelectedItem:e=>T({...I,selectedRessort:e?.id===I.selectedRessort?.id?P.selectedRessort:e,page:null}),classProps:(0,h.composeStyles)(w.default,{root:"mr-4 mt-4",button:"bg-primary",buttonPlaceholder:"text-white",dropdownWrapper:e?"z-50":""}),buttonAfterSlot:(0,t.jsx)(v.IconArrowDropdown,{classProps:{root:"w-5 h-5 ml-5 text-white flex-shrink-0"}}),items:A?.map((e,t)=>({id:e?.id??String(t),label:e?.title??""}))??[],placeholder:C,useModal:e,clearable:!!I.selectedRessort?.id,onClear:()=>T({...I,selectedRessort:P.selectedRessort,page:null})}),O&&(0,t.jsx)(o.Dropdown,{selectedItem:I.selectedAuthor,setSelectedItem:e=>T({...I,selectedAuthor:e?.id===I.selectedAuthor?.id?P.selectedAuthor:e,page:null}),classProps:(0,h.composeStyles)(w.default,{root:"mr-4 mt-4",button:"bg-primary",buttonPlaceholder:"text-white",dropdownWrapper:e?"z-50":""}),items:O?.team?.map((e,t)=>({id:e?.user?.id??String(t),label:e?.user?.name??""}))??[],buttonAfterSlot:(0,t.jsx)(v.IconArrowDropdown,{classProps:{root:"w-5 h-5 ml-5 text-white flex-shrink-0"}}),placeholder:L,useModal:e,clearable:!!I.selectedAuthor?.id,onClear:()=>T({...I,selectedAuthor:P.selectedAuthor,page:null})}),(0,t.jsx)(o.Dropdown,{selectedItem:I.selectedDate,setSelectedItem:e=>T({...I,selectedDate:e?.id===I.selectedDate?.id?P.selectedDate:e,page:null}),classProps:(0,h.composeStyles)(w.default,{root:"mr-4 mt-4",button:"bg-primary",buttonPlaceholder:"text-white",dropdownWrapper:e?"z-50":""}),buttonAfterSlot:(0,t.jsx)(v.IconArrowDropdown,{classProps:{root:"w-5 h-5 ml-5 text-white flex-shrink-0"}}),items:M,placeholder:S,useModal:e,clearable:!!I.selectedDate?.id,onClear:()=>T({...I,selectedDate:P.selectedDate,page:null})})]}),!e&&(0,t.jsxs)("button",{className:"mt-4 flex items-center justify-center bg-primary px-5 py-2 text-white",onClick:()=>T({...I,sortOrder:"ASC"===I.sortOrder?"DESC":"ASC",page:null}),children:[I.sortOrder?"ASC"===I.sortOrder?(0,t.jsx)(b,{}):(0,t.jsx)(x,{}):(0,t.jsx)(y,{}),(0,t.jsx)("span",{className:"label-lg ml-2 mr-3 py-0.5",children:"Datum"})]})]})};return e?(0,t.jsx)(f,{classProps:E,isVisible:R?.searchOverlay?.visible??!1,setIsVisible:e=>{R?.searchOverlay?.setVisible(e),R?.menuOverlay?.visible&&R?.menuOverlay?.setVisible(!1)},buttonText:"",children:(0,t.jsx)(i,{autoFocus:!0,...V,classProps:(0,h.composeStyles)(j,{root:"mx-8 md:mx-10 md:p-10 p-5"})})}):(0,t.jsx)(i,{...V,classProps:j})}],90032)},32600,e=>{"use strict";var t=e.i(91398),r=e.i(91788),l=({classProps:e})=>r.default.createElement("svg",{className:e?.root,width:"20",height:"15",viewBox:"0 0 20 15",xmlns:"http://www.w3.org/2000/svg"},r.default.createElement("path",{fill:"currentColor",d:"M-0.000338875 8.4512L15.7409 8.4512L10.0287 13.5885L11.5547 14.9609L19.8721 7.48061L11.5547 0.000290217L10.0287 1.3727L15.7409 6.51003L-0.000338687 6.51003L-0.000338875 8.4512Z"})),o=e.i(80401),n=e.i(87428),a=e.i(39870);e.s(["SubscriptionAd",0,({element:e,classProps:r,showArrow:s})=>{let i=(0,n.composeStyles)({root:"relative w-full h-full text-white",titleWrapper:"flex justify-between items-center",title:"label-base relative z-10",contentWrapper:"relative md:absolute grid md:inset-0 md:top-6 items-end min-h-article-image-small md:min-h-0",imageWrapper:"absolute inset-0",image:"h-full w-full object-contain",imageGradient:"absolute inset-0 bg-gradient-to-b from-primary/0 to-primary/70",teaserWrapper:"relative max-w-xs text-white",teaser:"heading-3 px-3"},r);return(0,t.jsxs)(a.Link,{href:e?.link??"",classProps:{root:i.root},children:[(0,t.jsxs)("div",{className:i.titleWrapper,children:[(0,t.jsx)("div",{className:i.title,children:e?.title}),s&&(0,t.jsx)(l,{})]}),(0,t.jsxs)("div",{className:i.contentWrapper,children:[e?.asset?.url&&(0,t.jsxs)("div",{className:i.imageWrapper,children:[(0,t.jsx)(o.Image,{src:e?.asset.url,alt:e?.asset.alt??"",copyright:e?.asset?.copyright_text??"",focus:e?.asset?.focal_point,imageMode:"contain",className:i.image,fill:!0,sizes:"(min-width: 768px) 500px, 100vw",fetchPriority:"high"}),(0,t.jsx)("div",{className:i.imageGradient})]}),(0,t.jsx)("div",{className:i.teaserWrapper,children:(0,t.jsx)("div",{className:i.teaser,dangerouslySetInnerHTML:{__html:e?.teaser??""}})})]})]})}],32600)},88172,e=>{"use strict";let t,r,l,o;var n=e.i(91398),a=e.i(91788),s=e.i(87428),i=e.i(57242),u=e.i(80887),c=({useCustomScrollInput:e,scrollableHeight:t=0,scrollTop:r=0,overScroll:l=0,classProps:o})=>{let[n,s]=(0,a.useState)(0),c=()=>{let e=(document.documentElement.scrollHeight??document.body.scrollHeight)-document.documentElement.clientHeight;s((document.documentElement.scrollTop??document.body.scrollTop)/e*100*(1+Math.min(100,Math.max(0,l))/100))};(0,a.useEffect)(()=>(e||(window.addEventListener("scroll",c),window.addEventListener("resize",c)),()=>{e||(window.removeEventListener("scroll",c),window.removeEventListener("resize",c))}),[e]),(0,a.useEffect)(()=>{s(r/t*100)},[r,t]);let d=(0,i.a)({root:"w-full bg-none",progress:"bg-gray-dark h-1"},o);return a.default.createElement("div",{className:(0,u.a)(d.root,!n||n<=.1?"hidden":""),"aria-hidden":!0},a.default.createElement("div",{className:d.progress,style:{width:`${n}%`}}))},d=({classProps:e,leftSlot:t,middleSlot:r,rightSlot:l,showProgress:o,progressBarProps:n})=>{let s=(0,i.a)({root:"fixed top-0 inset-x-0",slots:"flex items-center justify-between"},e);return a.default.createElement("header",{className:s.root},a.default.createElement("div",{className:s.slots},t&&t,r&&r,l&&l),o&&a.default.createElement(c,{...n}))},p=e.i(80401),m=e.i(66913),f=e.i(71575),f=f,h=e.i(86533),g=e.i(3115),w=e.i(97011),x=e.i(39870),v=e.i(78270),b=e.i(15067);function y(e,t,r,l){let o=(0,b.useLatestValue)(r);(0,a.useEffect)(()=>{function r(e){o.current(e)}return(e=null!=e?e:window).addEventListener(t,r,l),()=>e.removeEventListener(t,r,l)},[e,t,l])}var k=e.i(30106),E=e.i(93481),j=e.i(73483),C=e.i(64728),L=e.i(68327),S=e.i(87264),P=e.i(76925),N=e.i(78530),D=e.i(55367),I=e.i(80795);let T=(0,a.createContext)(null);function F({children:e,node:t}){let[r,l]=(0,a.useState)(null),o=M(null!=t?t:r);return a.default.createElement(T.Provider,{value:o},e,null===o&&a.default.createElement(N.Hidden,{features:N.HiddenFeatures.Hidden,ref:e=>{var t,r;if(e){for(let o of null!=(r=null==(t=(0,I.getOwnerDocument)(e))?void 0:t.querySelectorAll("html > *, body > *"))?r:[])if(o!==document.body&&o!==document.head&&D.isElement(o)&&null!=o&&o.contains(e)){l(o);break}}}}))}function M(e=null){var t;return null!=(t=(0,a.useContext)(T))?t:e}var R=e.i(4067),A=e.i(27544),O=e.i(8404),W=e.i(56833);let V=(0,a.createContext)(()=>{});function H({value:e,children:t}){return a.default.createElement(V.Provider,{value:e},t)}var B=e.i(96694),$=e.i(75621),z=e.i(31774),_=e.i(59778),G=e.i(26417),Y=e.i(74664),q=e.i(72381),K=e.i(26171),Z=e.i(85046),U=e.i(21867),J=e.i(95031),Q=((t=Q||{})[t.Forwards=0]="Forwards",t[t.Backwards=1]="Backwards",t);function X(e,t){let r=(0,a.useRef)([]),l=(0,E.useEvent)(e);(0,a.useEffect)(()=>{let e=[...r.current];for(let[o,n]of t.entries())if(r.current[o]!==n){let o=l(t,e);return r.current=t,o}},[l,...t])}var ee=e.i(65383);let et=[];function er(){"loading"!==document.readyState&&((()=>{function e(e){if(!D.isHTMLorSVGElement(e.target)||e.target===document.body||et[0]===e.target)return;let t=e.target;t=t.closest(ee.focusableSelector),et.unshift(null!=t?t:e.target),(et=et.filter(e=>null!=e&&e.isConnected)).splice(10)}window.addEventListener("click",e,{capture:!0}),window.addEventListener("mousedown",e,{capture:!0}),window.addEventListener("focus",e,{capture:!0}),document.body.addEventListener("click",e,{capture:!0}),document.body.addEventListener("mousedown",e,{capture:!0}),document.body.addEventListener("focus",e,{capture:!0})})(),document.removeEventListener("DOMContentLoaded",er))}"u">typeof window&&"u">typeof document&&(document.addEventListener("DOMContentLoaded",er),er());var el=e.i(38403);function eo(e){if(!e)return new Set;if("function"==typeof e)return new Set(e());let t=new Set;for(let r of e.current)D.isElement(r.current)&&t.add(r.current);return t}var en=((r=en||{})[r.None=0]="None",r[r.InitialFocus=1]="InitialFocus",r[r.TabLock=2]="TabLock",r[r.FocusLock=4]="FocusLock",r[r.RestoreFocus=8]="RestoreFocus",r[r.AutoFocus=16]="AutoFocus",r);let ea=Object.assign((0,Y.forwardRefWithAs)(function(e,t){let r,l=(0,a.useRef)(null),o=(0,W.useSyncRefs)(l,t),{initialFocus:n,initialFocusFallback:s,containers:i,features:u=15,...c}=e;(0,A.useServerHandoffComplete)()||(u=0);let d=(0,P.useOwnerDocument)(l.current);!function(e,{ownerDocument:t}){let r=!!(8&e),l=function(e=!0){let t=(0,a.useRef)(et.slice());return X(([e],[r])=>{!0===r&&!1===e&&(0,el.microTask)(()=>{t.current.splice(0)}),!1===r&&!0===e&&(t.current=et.slice())},[e,et,t]),(0,E.useEvent)(()=>{var e;return null!=(e=t.current.find(e=>null!=e&&e.isConnected))?e:null})}(r);X(()=>{r||(0,I.isActiveElement)(null==t?void 0:t.body)&&(0,ee.focusElement)(l())},[r]),(0,U.useOnUnmount)(()=>{r&&(0,ee.focusElement)(l())})}(u,{ownerDocument:d});let p=function(e,{ownerDocument:t,container:r,initialFocus:l,initialFocusFallback:o}
1){let n=(0,a.useRef)(null),s=(0,k.useIsTopLayer)(!!(1&e),"focus-trap#initial-focus"),i=(0,Z.useIsMounted)();return X(()=>{if(0===e)return;if(!s){null!=o&&o.current&&(0,ee.focusElement)(o.current);return}let a=r.current;a&&(0,el.microTask)(()=>{if(!i.current)return;let r=null==t?void 0:t.activeElement;if(null!=l&&l.current){if((null==l?void 0:l.current)===r){n.current=r;return}}else if(a.contains(r)){n.current=r;return}if(null!=l&&l.current)(0,ee.focusElement)(l.current);else{if(16&e){if((0,ee.focusIn)(a,ee.Focus.First|ee.Focus.AutoFocus)!==ee.FocusResult.Error)return}else if((0,ee.focusIn)(a,ee.Focus.First)!==ee.FocusResult.Error)return;if(null!=o&&o.current&&((0,ee.focusElement)(o.current),(null==t?void 0:t.activeElement)===o.current))return;console.warn("There are no focusable elements inside the <FocusTrap />")}n.current=null==t?void 0:t.activeElement})},[o,s,e]),n}(u,{ownerDocument:d,container:l,initialFocus:n,initialFocusFallback:s});!function(e,{ownerDocument:t,container:r,containers:l,previousActiveElement:o}){let n=(0,Z.useIsMounted)(),a=!!(4&e);y(null==t?void 0:t.defaultView,"focus",e=>{if(!a||!n.current)return;let t=eo(l);D.isHTMLElement(r.current)&&t.add(r.current);let s=o.current;if(!s)return;let i=e.target;D.isHTMLElement(i)?es(t,i)?(o.current=i,(0,ee.focusElement)(i)):(e.preventDefault(),e.stopPropagation(),(0,ee.focusElement)(s)):(0,ee.focusElement)(o.current)},!0)}(u,{ownerDocument:d,container:l,containers:i,previousActiveElement:p});let m=(r=(0,a.useRef)(0),(0,J.useWindowEvent)(!0,"keydown",e=>{"Tab"===e.key&&(r.current=+!!e.shiftKey)},!0),r),f=(0,E.useEvent)(e=>{if(!D.isHTMLElement(l.current))return;let t=l.current;(0,G.match)(m.current,{[Q.Forwards]:()=>{(0,ee.focusIn)(t,ee.Focus.First,{skipElements:[e.relatedTarget,s]})},[Q.Backwards]:()=>{(0,ee.focusIn)(t,ee.Focus.Last,{skipElements:[e.relatedTarget,s]})}})}),h=(0,k.useIsTopLayer)(!!(2&u),"focus-trap#tab-lock"),g=(0,K.useDisposables)(),w=(0,a.useRef)(!1),x=(0,Y.useRender)();return a.default.createElement(a.default.Fragment,null,h&&a.default.createElement(N.Hidden,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:f,features:N.HiddenFeatures.Focusable}),x({ourProps:{ref:o,onKeyDown(e){"Tab"==e.key&&(w.current=!0,g.requestAnimationFrame(()=>{w.current=!1}))},onBlur(e){if(!(4&u))return;let t=eo(i);D.isHTMLElement(l.current)&&t.add(l.current);let r=e.relatedTarget;D.isHTMLorSVGElement(r)&&"true"!==r.dataset.headlessuiFocusGuard&&(es(t,r)||(w.current?(0,ee.focusIn)(l.current,(0,G.match)(m.current,{[Q.Forwards]:()=>ee.Focus.Next,[Q.Backwards]:()=>ee.Focus.Previous})|ee.Focus.WrapAround,{relativeTo:e.target}):D.isHTMLorSVGElement(e.target)&&(0,ee.focusElement)(e.target)))}},theirProps:c,defaultTag:"div",name:"FocusTrap"}),h&&a.default.createElement(N.Hidden,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:f,features:N.HiddenFeatures.Focusable}))}),{features:en});function es(e,t){for(let r of e)if(r.contains(t))return!0;return!1}var ei=e.i(62750),eu=e.i(95485),ec=((l=ec||{})[l.Open=0]="Open",l[l.Closed=1]="Closed",l),ed=((o=ed||{})[o.SetTitleId=0]="SetTitleId",o);let ep={0:(e,t)=>e.titleId===t.id?e:{...e,titleId:t.id}},em=(0,a.createContext)(null);function ef(e){let t=(0,a.useContext)(em);if(null===t){let t=Error(`<${e} /> is missing a parent <Dialog /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,ef),t}return t}function eh(e,t){return(0,G.match)(t.type,ep,e,t)}em.displayName="DialogContext";let eg=(0,Y.forwardRefWithAs)(function(e,t){let r=(0,a.useId)(),{id:l=`headlessui-dialog-${r}`,open:o,onClose:n,initialFocus:s,role:i="dialog",autoFocus:u=!0,__demoMode:c=!1,unmount:d=!1,...p}=e,m=(0,a.useRef)(!1);i="dialog"===i||"alertdialog"===i?i:(m.current||(m.current=!0,console.warn(`Invalid role [${i}] passed to <Dialog />. Only \`dialog\` and and \`alertdialog\` are supported. Using \`dialog\` instead.`)),"dialog");let f=(0,B.useOpenClosed)();void 0===o&&null!==f&&(o=(f&B.State.Open)===B.State.Open);let h=(0,a.useRef)(null),g=(0,W.useSyncRefs)(h,t),w=(0,P.useOwnerDocument)(h.current),x=+!o,[b,N]=(0,a.useReducer)(eh,{titleId:null,descriptionId:null,panelRef:(0,a.createRef)()}),T=(0,E.useEvent)(()=>n(!1)),F=(0,E.useEvent)(e=>N({type:0,id:e})),V=!!(0,A.useServerHandoffComplete)()&&0===x,[G,K]=(0,ei.useNestedPortals)(),Z=M(),{resolveContainers:U}=function({defaultContainers:e=[],portals:t,mainTreeNode:r}={}){let l=(0,E.useEvent)(()=>{var l,o;let n=(0,I.getOwnerDocument)(r),a=[];for(let t of e)null!==t&&(D.isElement(t)?a.push(t):"current"in t&&D.isElement(t.current)&&a.push(t.current));if(null!=t&&t.current)for(let e of t.current)a.push(e);for(let e of null!=(l=null==n?void 0:n.querySelectorAll("html > *, body > *"))?l:[])e!==document.body&&e!==document.head&&D.isElement(e)&&"headlessui-portal-root"!==e.id&&(r&&(e.contains(r)||e.contains(null==(o=null==r?void 0:r.getRootNode())?void 0:o.host))||a.some(t=>e.contains(t))||a.push(e));return a});
1return{resolveContainers:l,contains:(0,E.useEvent)(e=>l().some(t=>t.contains(e)))}}({mainTreeNode:Z,portals:G,defaultContainers:[{get current(){var J;return null!=(J=b.panelRef.current)?J:h.current}}]}),Q=null!==f&&(f&B.State.Closing)===B.State.Closing;(0,j.useInertOthers)(!c&&!Q&&V,{allowed:(0,E.useEvent)(()=>{var e,t;return[null!=(t=null==(e=h.current)?void 0:e.closest("[data-headlessui-portal]"))?t:null]}),disallowed:(0,E.useEvent)(()=>{var e;return[null!=(e=null==Z?void 0:Z.closest("body > *:not(#headlessui-portal-root)"))?e:null]})});let X=z.stackMachines.get(null);(0,C.useIsoMorphicEffect)(()=>{if(V)return X.actions.push(l),()=>X.actions.pop(l)},[X,l,V]);let ee=(0,_.useSlice)(X,(0,a.useCallback)(e=>X.selectors.isTop(e,l),[X,l]));(0,S.useOutsideClick)(ee,U,e=>{e.preventDefault(),T()}),function(e,t="u">typeof document?document.defaultView:null,r){let l=(0,k.useIsTopLayer)(e,"escape");y(t,"keydown",e=>{l&&(e.defaultPrevented||e.key===v.Keys.Escape&&r(e))})}(ee,null==w?void 0:w.defaultView,e=>{e.preventDefault(),e.stopPropagation(),document.activeElement&&"blur"in document.activeElement&&"function"==typeof document.activeElement.blur&&document.activeElement.blur(),T()}),(0,R.useScrollLock)(!c&&!Q&&V,w,U),(0,L.useOnDisappear)(V,h,T);let[et,er]=(0,q.useDescriptions)(),el=(0,a.useMemo)(()=>[{dialogState:x,close:T,setTitleId:F,unmount:d},b],[x,T,F,d,b]),eo=(0,O.useSlot)({open:0===x}),es={ref:g,id:l,role:i,tabIndex:-1,"aria-modal":c?void 0:0===x||void 0,"aria-labelledby":b.titleId,"aria-describedby":et,unmount:d},eu=!function(){var e;let[t]=(0,a.useState)(()=>"u">typeof window&&"function"==typeof window.matchMedia?window.matchMedia("(pointer: coarse)"):null),[r,l]=(0,a.useState)(null!=(e=null==t?void 0:t.matches)&&e);return(0,C.useIsoMorphicEffect)(()=>{if(t)return t.addEventListener("change",e),()=>t.removeEventListener("change",e);function e(e){l(e.matches)}},[t]),r}(),ec=en.None;V&&!c&&(ec|=en.RestoreFocus,ec|=en.TabLock,u&&(ec|=en.AutoFocus),eu&&(ec|=en.InitialFocus));let ed=(0,Y.useRender)();return a.default.createElement(B.ResetOpenClosedProvider,null,a.default.createElement($.ForcePortalRoot,{force:!0},a.default.createElement(ei.Portal,null,a.default.createElement(em.Provider,{value:el},a.default.createElement(ei.PortalGroup,{target:h},a.default.createElement($.ForcePortalRoot,{force:!1},a.default.createElement(er,{slot:eo},a.default.createElement(K,null,a.default.createElement(ea,{initialFocus:s,initialFocusFallback:h,containers:U,features:ec},a.default.createElement(H,{value:T},ed({ourProps:es,theirProps:p,slot:eo,defaultTag:ew,features:ex,visible:0===x,name:"Dialog"})))))))))))}),ew="div",ex=Y.RenderFeatures.RenderStrategy|Y.RenderFeatures.Static,ev=(0,Y.forwardRefWithAs)(function(e,t){let{transition:r=!1,open:l,...o}=e,n=(0,B.useOpenClosed)(),s=e.hasOwnProperty("open")||null!==n,i=e.hasOwnProperty("onClose");if(!s&&!i)throw Error("You have to provide an `open` and an `onClose` prop to the `Dialog` component.");if(!s)throw Error("You provided an `onClose` prop to the `Dialog`, but forgot an `open` prop.");if(!i)throw Error("You provided an `open` prop to the `Dialog`, but forgot an `onClose` prop.");if(!n&&"boolean"!=typeof e.open)throw Error(`You provided an \`open\` prop to the \`Dialog\`, but the value is not a boolean. Received: ${e.open}`);if("function"!=typeof e.onClose)throw Error(`You provided an \`onClose\` prop to the \`Dialog\`, but the value is not a function. Received: ${e.onClose}`);return(void 0!==l||r)&&!o.static?a.default.createElement(F,null,a.default.createElement(eu.Transition,{show:l,transition:r,unmount:o.unmount},a.default.createElement(eg,{ref:t,...o}))):a.default.createElement(F,null,a.default.createElement(eg,{ref:t,open:l,...o}))}),eb=(0,Y.forwardRefWithAs)(function(e,t){let r=(0,a.useId)(),{id:l=`headlessui-dialog-panel-${r}`,transition:o=!1,...n}=e,[{dialogState:s,unmount:i},u]=ef("Dialog.Panel"),c=(0,W.useSyncRefs)(t,u.panelRef),d=(0,O.useSlot)({open:0===s}),p=(0,E.useEvent)(e=>{e.stopPropagation()}),m=o?eu.TransitionChild:a.Fragment,f=(0,Y.useRender)();return a.default.createElement(m,{...o?{unmount:i}:{}},f({ourProps:{ref:c,id:l,onClick:p},theirProps:n,slot:d,defaultTag:"div",name:"Dialog.Panel"}))}),ey=((0,Y.forwardRefWithAs)(function(e,t){let{transition:r=!1,...l}=e,[{dialogState:o,unmount:n}]=ef("Dialog.Backdrop"),s=(0,O.useSlot)({open:0===o}),i=r?eu.TransitionChild:a.Fragment,u=(0,Y.useRender)();return a.default.createElement(i,{...r?{unmount:n}:{}},u({ourProps:{ref:t,"aria-hidden":!0},theirProps:l,slot:s,defaultTag:"div",name:"Dialog.Backdrop"}))}),(0,Y.forwardRefWithAs)(function(e,t){let r=(0,a.useId)(),{id:l=`headlessui-dialog-title-${r}`,...o}=e,[{dialogState:n,setTitleId:s}]=ef("Dialog.Title"),i=(0,W.useSyncRefs)(t);(0,a.useEffect)(()=>(s(l),()=>s(null)),[l,s]);let u=(0,O.useSlot)({open:0===n});return(0,Y.useRender)()({ourProps:{ref:i,id:l},theirProps:o,slot:u,defaultTag:"h2",name:"Dialog.Title"})}
1)),ek=(q.Description,Object.assign(ev,{Panel:eb,Title:ey,Description:q.Description}));var eE=e.i(6706),eE=eE,ej=e.i(95238),ej=ej,eC=e.i(95933),eL=e.i(30986),eS=e.i(55565);let eP=({title:e,href:t,stopPropagation:r})=>(0,n.jsx)("span",{onClick:r?e=>e.stopPropagation():void 0,className:"py-3",children:(0,n.jsxs)(x.Link,{href:t,classProps:{root:"group/link inline-block font-special text-lg font-medium uppercase tracking-wide text-primary transition-colors duration-300 hover:text-secondary burgerMenuMainLink"},children:[(0,n.jsx)(eL.TrendDot,{classProps:{root:"h-3.5 inline-grid items-end mr-2",dot:"bg-primary group-hover/link:bg-secondary transition-colors duration-300"}}),e]})}),eN=({isVisible:e,setIsVisible:t,items:r,extraLinks:l,topSlot:o,bottomSlot:s,buttonText:i})=>{let[u,c]=(0,a.useState)(new Set),d=e=>{let t=new Set(u);t.has(e)?t.delete(e):t.add(e),c(t)};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)(eE.a,{onClick:()=>t(!0),classProps:{root:"p-0 w-full h-full justify-start font-medium"},ariaLabel:"Menü öffnen",children:[(0,n.jsx)(ej.a,{classProps:{root:"w-6 h-6 text-white"}}),i&&(0,n.jsx)("span",{className:"hidden pl-3 text-sm uppercase text-white md:inline-block",children:i})]}),(0,n.jsx)(eu.Transition,{show:e,children:(0,n.jsxs)(ek,{onClose:()=>t(!1),className:"relative z-50",children:[(0,n.jsx)(eu.TransitionChild,{enter:"transition-opacity ease-in-out duration-300",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"transition-opacity ease-in-out duration-300",leaveFrom:"opacity-100",leaveTo:"opacity-0",children:(0,n.jsx)("div",{className:"fixed inset-0 bg-black/50","aria-hidden":"true"})}),(0,n.jsx)(eu.TransitionChild,{enter:"transition ease-in-out duration-300 transform",enterFrom:"-translate-x-full",enterTo:"translate-x-0",leave:"transition ease-in-out duration-300 transform",leaveFrom:"translate-x-0",leaveTo:"-translate-x-full",children:(0,n.jsxs)(eb,{className:"fixed inset-y-0 left-0 flex w-fit flex-col overflow-y-auto bg-white p-5 scrollbar-none md:max-w-[400px]",children:[(0,n.jsx)("div",{className:"flex justify-end",children:(0,n.jsx)("button",{onClick:()=>t(!1),"aria-label":"Menü schließen",className:"rounded-full border border-primary p-1",children:(0,n.jsx)(eC.IconClose,{classProps:{root:"w-3 h-3 text-primary"}})})}),o,(0,n.jsx)("nav",{className:"mt-8",children:(0,n.jsxs)("ul",{children:[r?.map(e=>{let t=e?.id??"",r=!!e?.children?.length,l=u.has(t);return(0,n.jsxs)("li",{className:"border-b border-gray/20",children:[(0,n.jsxs)("div",{className:(0,w.twMerge)("flex items-center justify-between",r&&"curs
1or-pointer"),onClick:r?()=>d(t):void 0,children:[(0,n.jsx)(eP,{title:e?.title,href:e?.slug||e?.url||"",stopPropagation:r}),r&&(0,n.jsx)("button",{onClick:e=>{e.stopPropagation(),d(t)},"aria-expanded":l,"aria-label":`${e?.title} ${l?"einklappen":"ausklappen"}`,className:"p-3 text-primary transition-colors duration-300 hover:text-secondary",children:(0,n.jsx)(eS.IconChevronSoft,{classProps:{root:(0,w.twMerge)("w-5 h-5 transition-transform duration-300",l&&"rotate-180")}})})]}),r&&l&&(0,n.jsx)("ul",{className:"pb-3 pl-6",children:e?.children?.map(e=>(0,n.jsx)("li",{className:"py-1",children:(0,n.jsx)(x.Link,{href:e?.slug||e?.url||"",classProps:{root:"text-primary/70 transition-colors duration-300 hover:text-primary burgerMenuLink"},children:e?.title})},e?.id))})]},t)}),l?.map(e=>(0,n.jsx)("li",{className:"border-b border-gray/20",children:(0,n.jsx)("div",{className:"flex items-center justify-between",children:(0,n.jsx)(eP,{title:e.title,href:e.url})})},e.url))]})}),s]})})]})})]})};var eD=e.i(54697),eI=e.i(15890),eT=e.i(66353),eF=e=>!e?.startsWith("/"),eM=e=>eF(e)?"_blank":"",eR=e=>eF(e)?"noopener noreferrer":"",eA=({link:e,classProps:t,renderLink:r,index:l,withDropdown:o,showChevron:n})=>{let{width:s=0}=(0,eT.useWindowSize)({initializeWithValue:!1}),c=e?.slug||e?.url||"",[d,p]=(0,a.useState)(!1),[m,f]=(0,a.useState)(null),[h,g]=(0,a.useState)(null),w=`dropdown-${l}`,x=(0,a.useRef)(null),v=(0,a.useRef)([]),b=(0,a.useRef)([]),y=(0,a.useRef)(null);(0,a.useEffect)(()=>{e?.children&&(v.current=Array(e.children.length).fill(null),b.current=Array(e.children.length).fill(null))},[e?.children]);let k=(0,i.a)({dropdownIcon:"ml-1 transition-transform",dropdown:"absolute top-full left-0 bg-white shadow-lg z-50 min-w-[200px] py-2 transform origin-top transition-all duration-200 ease-out opacity-100 scale-100",dropdownItem:"text-black px-4 py-2 hover:bg-gray block w-full text-left",subDropdown:"absolute top-0 left-full bg-white shadow-lg z-50 min-w-[200px] py-2 transform origin-top-left transition-all duration-200 ease-out opacity-100 scale-100"},t),E=e=>{"Escape"===e.key&&(e.preventDefault(),f(null),null!==m&&v.current[m]?.focus())};return r?r(e||{},l):e?.children&&e.children.length>0&&o&&s>=992?a.default.createElement("div",{className:"relative",onMouseEnter:()=>{y.current&&(clearTimeout(y.current),y.current=null),p(!0)},onMouseLeave:()=>{y.current=setTimeout(()=>{p(!1),f(null),g(null)},300)}},a.default.createElement("a",{ref:x,href:c,className:(0,u.a)("flex items-center cursor-pointer w-full h-full",k.link),onClick:()=>{p(!d)},onKeyDown:t=>{"Enter"===t.key||" "===t.key?e?.children?.length&&p(!d):"Escape"===t.key&&d?(t.preventDefault(),p(!1),x.current?.focus()):"ArrowDown"===t.key&&d&&e?.children&&(t.preventDefault(),null===h&&v.current[0]&&(v.current[0]?.focus(),g(0)))},"aria-expanded":d,"aria-haspopup":"true",tabIndex:0},e?.title,n&&a.default.createElement("span",{className:"menu-indicator","aria-hidden":"true"},a.default.createElement(eD.a,{classProps:{root:(0,u.a)(k.dropdownIcon,d?"transform rotate-180":"")}}))),a.default.createElement("ul",{className:(0,u.a)(k.dropdown,d?"opacity-100 scale-100":"opacity-0 scale-95 pointer-events-none"),id:w},e.children.map((t,r)=>{let o=`subdropdown-${l}-${r}`,n=!!t?.children?.length;return a.default.createElement("li",{key:r,className:"relative",onMouseEnter:()=>n?f(r):null,onMouseLeave:()=>f(null)},a.default.createElement("a",{ref:e=>{v.current[r]=e},href:t?.slug||t?.url||"",className:(0,u.a)(k.dropdownItem,n?"flex justify-between items-center":""),onClick:()=>{n&&f(m===r?null:r)},onKeyDown:t=>((t,r)=>{let l=!!e?.children?.[r]?.children?.length;if("ArrowDown"===t.key){if(t.preventDefault(),r<(e?.children?.length||0)-1){let e=r+1;v.current[e]?.focus(),g(e)}}else if("ArrowUp"===t.key)if(t.preventDefault(),r>0){let e=r-1;v.current[e]?.focus(),g(e)}else x.current?.focus(),g(null);else"ArrowRight"===t.key&&l?(t.preventDefault(),f(r),setTimeout(()=>{let e=b.current[r]?.querySelector("a");e&&e.focus()},100)):"ArrowLeft"===t.key&&null!==m?(t.preventDefault(),f(null)):"Escape"===t.key?(t.preventDefault(),null!==m?f(null):(p(!1),x.current?.focus())):("Enter"===t.key||" "===t.key)&&l&&f(m===r?null:r)})(t,r),"aria-haspopup":n?"true":void 0,"aria-expanded":n&&m===r?"true":void 0,target:eM(t?.slug||t?.url||""),rel:eR(t?.slug||t?.url||""),tabIndex:d?0:-1},t?.title,n&&a.default.createElement("span",{className:"submenu-indicator","aria-hidden":"true"},a.default.createElement(eD.a,{classProps:{root:"transform -rotate-90 w-4 h-4"}}))),n&&a.default.createElement("ul",{className:(0,u.a)(k.subDropdown,m===r&&t?.children?"opacity-100 scale-100":"opacity-0 scale-90 pointer-events-none"),id:o,ref:e=>{b.current[r]=e}},t?.children?.map((e,t)=>a.default.createElement("li",{key:t},a.default.createElement("a",{href:e?.slug||e?.url||"",target:eM(e?.
1slug||e?.url||""),rel:eR(e?.slug||e?.url||""),className:k.dropdownItem,tabIndex:m===r?0:-1,onKeyDown:E},e?.title)))))}))):a.default.createElement(eI.a,{noLink:!e||!!e.only_title,href:c,target:eM(c),rel:eR(c),classProps:{root:k.link}},e?.title)},eO=e=>{let{classProps:t,items:r,title:l,withHeading:o}=e,n=a.Children.toArray(e.children),s=(0,i.a)({root:"flex flex-wrap relative overflow-x-scroll",heading:"",list:"",listItem:"select-none"},t);return a.default.createElement("nav",{className:s.root,"aria-label":l||"Navigation"},o&&a.default.createElement("h3",{className:s.heading},l),r&&r.length>0&&a.default.createElement("ul",{className:s.list},r.map((t,r)=>a.default.createElement("li",{className:(0,u.a)(s.listItem,t?.parameter),key:r},a.default.createElement(eA,{...e,link:t,index:r}))),a.Children.map(n,(e,t)=>a.default.createElement("li",{className:s.listItem,key:t},e))))},eW=e.i(88005),eV=e.i(51602);let eH=({items:e,classProps:t,withDropdown:r})=>{let l={...(0,s.composeStyles)(eW.default,t),root:"w-full flex flex-nowrap justify-start items-center m-auto flex-shrink-0 relative border-inner gap-4 py-2 overflow-x-auto scrollbar-hidden sm:overflow-visible",dropdownIcon:"w-4 h-4 ml-1",dropdown:`${eV.default.itemWrapper} overflow-hidden divide-y divide-gray/10`,dropdownItem:`${eV.default.item} hover:text-secondary hover:bg-transparent headerNavigationDropdown`,subDropdown:`${eV.default.itemWrapper} overflow-hidden`,listItem:`${eV.default.button} border-r border-primary last:border-none px-2`,link:`${eV.default.buttonLabel} [&[href*="55-jahre-trend"]]:text-secondary headerNavigationTop`};return(0,n.jsx)(eO,{classProps:l,items:e,withHeading:!1,withDropdown:r,showChevron:!1})};var eB=e.i(32600);let e$=({classProps:e})=>(0,n.jsxs)("svg",{className:e?.root,viewBox:"0 0 24 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,n.jsx)("path",{d:"M11.6797 15.12L14.2397 12.56L11.6797 10",stroke:"currentColor",strokeWidth:"1.5",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),(0,n.jsx)("path",{d:"M4 12.5596H14.17",stroke:"currentColor",strokeWidth:"1.5",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),(0,n.jsx)("path",{d:"M12 4.5C16.42 4.5 20 7.5 20 12.5C20 17.5 16.42 20.5 12 20.5",stroke:"currentColor",strokeWidth:"1.5",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"})]}),ez=({classProps:e})=>(0,n.jsxs)("svg",{className:e?.root,viewBox:"0 0 24 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,n.jsx)("path",{d:"M6.56 10L4 12.56L6.56 15.12",stroke:"currentColor",strokeWidth:"1.5",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),(0,n.jsx)("path",{d:"M14.2397 12.5604L4.0697 12.5604",stroke:"currentColor",strokeWidth:"1.5",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),(0,n.jsx)("path",{d:"M12 4.5C16.42 4.5 20 7.5 20 12.5C20 17.5 16.42 20.5 12 20.5",stroke:"currentColor",strokeWidth:"1.5",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"})]}),e_=({classProps:e})=>(0,n.jsxs)("svg",{className:e?.root,width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,n.jsx)("circle",{cx:"12",cy:"9",r:"3",stroke:"currentColor",strokeWidth:"1.5"}),(0,n.jsx)("path",{d:"M17.9691 20C17.81 17.1085 16.9247 15 11.9999 15C7.07521 15 6.18991 17.1085 6.03076 20",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round"})]});var eG=e.i(32237),eY=e.i(90032);let eq={root:"bg-primary max-w-screen sticky transition-all duration-100 z-30 pt-3 md:pt-0 after:content[''] after:block after:absolute after:bg-gradient-to-b after:mix-blend-darken after:from-black/10 after:to-black/0 after:top-full after:inset-x-0 after:h-3",slots:"px-3 pr-2 pb-3 md:px-5 grid grid-cols-[1fr,auto,1fr]",navWrapper:"md:pt-3 bg-gray-light text-primary"},eK=()=>(0,n.jsx)(x.Link,{href:"/",classProps:{root:"headerLogo"},children:(0,n.jsx)(p.Image,{src:"/assets/logos/trend-logo-w.svg",alt:"Trend Logo",width:"110",height:"31",copyright:""})}),eZ=()=>(0,n.jsx)("div",{className:"hidden justify-end md:flex",children:(0,n.jsx)(eY.Search,{searchAsOverlay:!0})}),eU=()=>{let{status:e,data:t}=(0,h.useSession)(),r=t?.user;return(0,f.b)({hasPermission:r?.permissions?.includes(g.PAY_OR_GO_SETTINGS.permission),alertMessage:g.PAY_OR_GO_SETTINGS.alertMessage}),(0,a.useEffect)(()=>{window.dataLayer=window.dataLayer||[],window.dataLayer.push({event:"loginStatus changed",loginStatus:"authenticated"===e?"eingeloggt":"nicht eingeloggt"})},[e]),(0,n.jsxs)("div",{className:"flex w-full items-center justify-end",children:[(0,n.jsx)(x.Link,{href:"https://aboshop.trend.at/",classProps:{root:"text-white uppercase font-special text-sm font-special-alternative font-medium tracking-[1px] headerAbo"},title:"Link zum Aboshop","aria-label":"Link zum Aboshop",children:"Abo"}
1),(0,n.jsx)("div",{className:"ml-5 mr-3 hidden h-6 w-px bg-white md:block"}),(0,n.jsx)(eZ,{}),(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("div",{className:"ml-2 h-6 w-px bg-white md:ml-5 md:block"}),(0,n.jsxs)("div",{className:"group relative inline-block outline-none",children:[(0,n.jsx)("button",{type:"button","aria-haspopup":"menu","aria-label":"authenticated"===e?"Profil-Menü öffnen":"Anmelde-Menü öffnen",id:"profile-menu-button",className:"ml-2 md:ml-5",children:(0,n.jsx)(e_,{classProps:{root:(0,w.twMerge)("flex-shrink-0 inline-block w-7 h-7","authenticated"===e?"text-secondary":"text-white")}})}),(0,n.jsx)("div",{tabIndex:0,className:"invisible absolute bottom-auto end-0 top-full z-10 origin-top scale-95 opacity-0 transition duration-100 ease-out group-hover:visible group-hover:scale-100 group-hover:opacity-100",children:(0,n.jsx)("div",{className:"border border-gray/10 bg-primary-muted/70 p-5 backdrop-blur-sm",children:"loading"===e?(0,n.jsx)(m.Spinner,{classProps:{root:"mx-auto text-white"}}):"authenticated"===e?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(x.Link,{href:"/settings",classProps:{root:"text-sm"},children:(0,n.jsx)("button",{className:"flex flex-nowrap items-center text-sm text-white hover:text-secondary",children:(0,n.jsx)("span",{className:"mb-6",children:"Mein Profil"})})}),(0,n.jsxs)("button",{onClick:()=>(0,h.signOut)(),className:"flex flex-nowrap items-center text-sm text-white hover:text-secondary",children:[(0,n.jsx)(ez,{classProps:{root:"w-6 h-6"}}),(0,n.jsx)("span",{className:"ml-2",children:"Logout"})]})]}):(0,n.jsxs)("button",{onClick:()=>(0,h.signIn)(),className:"flex flex-nowrap items-center text-sm text-white hover:text-secondary",children:[(0,n.jsx)(e$,{classProps:{root:"w-6 h-6"}}),(0,n.jsx)("span",{className:"ml-2",children:"Login"})]})})})]})]})]})},eJ=[],eQ=()=>{let e=(0,a.useContext)(eG.default),{globals:t}=e;return(0,n.jsx)(eN,{isVisible:e?.menuOverlay?.visible??!1,setIsVisible:t=>e?.menuOverlay?.setVisible(t),buttonText:"Menü",items:e?.navigations?.header?.items,extraLinks:eJ,topSlot:(0,n.jsx)("div",{className:"-m-5 mt-2",children:(0,n.jsx)(eY.Search,{simple:!0})}),bottomSlot:t?.subscription_ad&&(0,n.jsx)("div",{className:"mt-10 flex justify-center pb-10 text-primary",children:(0,n.jsx)(eB.SubscriptionAd,{element:t.subscription_ad,classProps:{root:"h-60 w-60 border border-primary p-3 grid grid-rows-[auto,1fr] group",title:"text-2xl font-special slide-in-underline no-underline",contentWrapper:"grid items-end",imageWrapper:"bottom-5 w-full h-48 group-hover:-translate-y-1 transition-transform duration-300",image:"h-48 w-48",teaser:"text-lg font-special uppercase mb-7"},showArrow:!0})})})};e.s(["Header",0,({showProgress:e=!0,classProps:t})=>{let r=(0,a.useContext)(eG.default),{data:l,status:o}=(0,h.useSession)(),i=r?.navigations?.header?.items;if("authenticated"===o&&l?.user.permissions?.includes("trend:e-paper")&&i){let e=i.find(e=>e?.url==="/epaper");e&&(e.url="https://epaper.trend.at")}return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(d,{classProps:(0,s.composeStyles)(eq,{root:"md:pt-3"},{root:t?.root??""}),progressBarProps:{classProps:{progress:"bg-secondary"}},leftSlot:(0,n.jsx)(eQ,{}),middleSlot:(0,n.jsx)(eK,{}),rightSlot:(0,n.jsx)(eU,{}),showProgress:e}),(0,n.jsx)("div",{className:(0,w.twMerge)(eq?.navWrapper,"relative z-20 overflow-x-scroll lg:overflow-visible",t?.navWrapper),children:(0,n.jsx)(eH,{classProps:{root:(0,w.twMerge)("pb-6 pt-3",t?.nav)},items:i||[],withDropdown:!0})})]})}],88172)},36302,function(e){e.n(e.i(88172))},46924,e=>{"use strict";var t=e.i(91788);e.s(["a",0,function({classProps:e,initialState:r,htmlFormProps:l,submitHandler:o,children:n,resetOnSubmit:a=!1}){let s=Object.keys(r).reduce((e,t)=>({...e,[t]:t}),{});return t.default.createElement("form",{className:e?.root,...l,onSubmit:e=>{e.preventDefault();let t=e.target,l=new FormData(t);o({...r,...Object.fromEntries(l.entries())}),a&&t.reset()}},n(s))}])},77211,50336,e=>{"use strict";var t=e.i(80887),r=e.i(91788),l=({classProps:e})=>r.default.createElement("svg",{className:(0,t.a)("text-secondary",e?.root),width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r.default.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.9818 2.62163L15.7968 12.4334C15.9248 12.7263 15.9808 12.9644 15.9968 13.2118C16.0288 13.7898 15.8208 14.3517 15.4129 14.784C15.005 15.2148 14.453 15.4692 13.8531 15.5H2.14312C1.89516 15.4854 1.64721 15.4306 1.41525 15.3459C0.255441 14.8911 -0.304464 13.6118 0.167456 12.5028L6.02247 2.61469C6.22244 2.2671 6.52638 1.9673 6.90232 1.77463C7.99014 1.18813 9.37391 1.57348 9.9818 2.62163ZM8.69393 9.0878C8.69393 9.45773 8.38198 9.76678 7.99805 9.76678C7.61411 9.76678 7.29417 9.45773 7.29417 9.0878V6.9
10749C7.29417 6.53679 7.61411 6.23698 7.99805 6.23698C8.38198 6.23698 8.69393 6.53679 8.69393 6.90749V9.0878ZM7.99805 12.4026C7.61411 12.4026 7.29417 12.0935 7.29417 11.7244C7.29417 11.3537 7.61411 11.0454 7.99805 11.0454C8.38198 11.0454 8.69393 11.3467 8.69393 11.7159C8.69393 12.0935 8.38198 12.4026 7.99805 12.4026Z",fill:"currentColor"}));e.s(["a",0,l],50336);var o=e.i(57242),n=(0,r.forwardRef)(function({classProps:e,label:t,id:n,name:a,inputProps:s,errorMessage:i,preSlot:u,afterSlot:c,additionalInfo:d,children:p},m){let f=(0,o.a)({root:"",inputWrapper:"relative",input:"w-full border",label:"",errorMessage:"",errorIcon:"absolute right-0 top-0 mx-5 my-4"},e);return r.default.createElement("div",{className:f.root},r.default.createElement("div",{className:f.inputWrapper},u&&u,r.default.createElement("input",{type:"text",...s,id:n,name:a||n,ref:m,placeholder:t,className:f.input}),c?i?r.default.createElement(l,{classProps:{root:f.errorIcon}}):c:i&&r.default.createElement(l,{classProps:{root:f.errorIcon}}),r.default.createElement("label",{htmlFor:n,className:f.label},p,t)),d&&r.default.createElement("div",{className:f.additionalInfo},d),i&&r.default.createElement("div",{className:f.errorMessage},i))});e.s(["a",0,n],77211)},41031,e=>{"use strict";var t=e.i(56434),r=e.i(57242),l=e.i(91788),o=(0,l.forwardRef)(function({classProps:e,label:o,id:n,errorMessage:a,checkboxProps:s},i){let u=(0,r.a)({root:"flex select-none",checkboxWrapper:"relative w-4 h-4",checkbox:"appearance-none cursor-pointer peer",checkmark:"pointer-events-none hidden peer-checked:grid absolute inset-0 place-items-center p-1",label:"cursor-pointer",errorMessage:""},e);return l.default.createElement(l.default.Fragment,null,l.default.createElement("div",{className:u.root},l.default.createElement("div",{className:u.checkboxWrapper},l.default.createElement("input",{type:"hidden",name:n,value:"false"}),l.default.createElement("input",{...s,id:n,name:n,ref:i,value:"true",type:"checkbox",className:u.checkbox}),l.default.createElement(t.a,{classProps:{root:u.checkmark},style:{width:"100%",height:"100%"}})),l.default.createElement("label",{htmlFor:n,className:u.label},o,a&&l.default.createElement("div",{className:u.errorMessage},a))))});e.s(["a",0,o])},95965,e=>{"use strict";var t=e.i(84117);e.s(["Dropdown",()=>t.a])},10462,e=>{"use strict";var t=e.i(15890);e.s(["Link",()=>t.a])},66913,e=>{"use strict";var t=e.i(6974);e.s(["Spinner",()=>t.a])},71575,e=>{"use strict";var t=e.i(64408),r=e.i(45864),l=e.i(91788);e.s(["a",0,()=>{if(typeof window>"u")return;let e="https:"===window.location.protocol?"; Secure":"";document.cookie=`${t.a}=${t.b}; path=/; max-age=604800${e}; SameSite=Lax`},"b",0,({hasPermission:e=!1,alertMessage:o="Wir speichern keine personenbezogenen Cookies von Ihnen, da Sie ein PUR-Abo besitzen"}={})=>{(0,l.useEffect)(()=>{if(typeof window>"u")return;let l=()=>!!(t.a&&(0,r.a)(t.a)===t.b),n=()=>{(l()||e)&&window.OneTrust&&window.OneTrust.RejectAll&&(console.log("rejecting all cookies"),window.OneTrust.RejectAll())},a=()=>{if(l()||e){let e=document.getElementById("ot-sdk-btn");e&&!e.hasAttribute("data-ot-intercepted")&&(e.setAttribute("data-ot-intercepted","true"),e.addEventListener("click",e=>{e.preventDefault(),e.stopPropagation(),e.stopImmediatePropagation(),window.alert(o)},!0))}};window.OneTrust?(n(),a()):setTimeout(()=>{n(),a()},1e3);let s=setInterval(()=>{a()},2e3);return()=>clearInterval(s)},[e,o])}])},56434,e=>{"use strict";var t=e.i(91788);e.s(["a",0,({classProps:e,style:r})=>t.default.createElement("svg",{className:e?.root,width:r?.width,height:r?.height,viewBox:"0 0 8 7",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t.default.createElement("path",{d:"M0.5 3.09805L3 5.50012L7.5 0.500488",stroke:"currentColor",strokeWidth:r?.strokeWidth||1}))])},52122,e=>{"use strict";var t=e.i(91398);e.s(["IconArrowDropdown",0,({classProps:e})=>(0,t.jsx)("svg",{className:e?.root,width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,t.jsx)("path",{d:"M19 9L12 15L5 9",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})})])}]);

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.