1"use strict";(self.webpackChunk_luks_website=self.webpackChunk_luks_website||[]).push([[5886],{47518:function(e,t,n){n.r(t),n.d(t,{default:function(){return u}});var i=n(58752),l=n(11855),r=n(53732),s=n(77705);function u(){const{menus:e}=(0,s.y)();return l.createElement(r.jH,{editUrl:null},l.createElement(i.qh,{definition:i.jX,input:{body:{menus:[e.main,e.meta,e.footer,e.legal]}},intl:{locale:"en"}}))}},53732:function(e,t,n){n.d(t,{WW:function(){return E},f8:function(){return C},jH:function(){return M}});var i=n(58752),l=n(77868),r=n(30229),s=n(28218),u=n(33368),a=n(11855),o=n(23597),c=n(17637),m=n(78396),d=n(91661),h=n(76117),f=n(80892),g=n(45091),p=n(4687),k=n(81065),L=n(97789),y=n(77705);const[v,S]=(0,s.n5)(),[b]=(0,r.oI)(v.pipe((0,o.B)(200)),""),q=(0,i.xk)({initialValues:{query:""},onSubmit:(0,d.C)("/site-search"),onChange:e=>e.query&&S(e.query),useInitialValues(){return{query:new URLSearchParams((0,l.useLocation)().search).get("query")||""}}}),w=e=>function(){const{menus:{meta:t,main:n}}=(0,y.y)(),{status:l,suggestions:r}=(0,p.T)(b()),{siteName:s}=(0,L.F)(),u=t.items.pop();return[{SearchForm:q,mainMenuItems:n.items,metaMenuItems:t.items,EmergencyLink:(0,i.hL)({href:(null==u?void 0:u.Link.href)||"/notfall"}),EditLink:e?(0,i.hL)({href:e,target:"_blank"}):null,emergencyLinkText:(null==u?void 0:u.title)||"Notfall",suggestions:r,Logo:{Link:(0,i.hL)({href:"/"}),title:`Startseite des ${s}`}},l]},E=()=>{var e,t;const{data:n}=(0,c.O_)(void 0,{refetchOnWindowFocus:!1,refetchInterval:3e5}),l=null==n||null===(e=n.drupalSettings.emergencyMessage)||void 0===e?void 0:e.title,r=null==n||null===(t=n.drupalSettings.emergencyMessage)||void 0===t?void 0:t.textHtml;return[{title:l,Content:r?(0,i.yd)(r):void 0},200]},C=()=>{const{menus:{legal:e,footer:t}}=(0,y.y)(),{siteName:n,siteSlogan:l}=(0,L.F)();return[{siteName:n,siteSlogan:l,copyMenus:e.items,menus:t.items.map((e=>({title:e.title,Link:e.Link,items:e.children}))),Logo:{Link:(0,i.hL)({href:"/"}),title:n}},200]};function M(e){let{children:t,editUrl:n,forceChildrenHospitalTheme:r}=e;const{search:s,pathname:o}=(0,l.useLocation)(),c=u.A.parse(s),d=(0,g.Og)()&&!c.preview;c["display-internal"]&&(0,f.o)(!0);const p=(0,k.S)(),L=r||!!p.find((e=>(0,h.e)(o,e)));return a.createElement(i.NP,{theme:"luzern",groupTheme:L?"kinderspital":void 0},a.createElement(i.qh,{definition:i.pk,input:{header:w(d&&n?`https://cms.luks.ch${n}`:null),emergencyMessage:E,footer:C},intl:{defaultLocale:"de",locale:"de"}},t),a.createElement(m.Q,null))}}}]); 2//# sourceMappingURL=component---src-pages-sitemap-luks-tsx-406ec9a89045967bf2bd.js.map
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.