1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,44864,(e,t,n)=>{"use strict";var i=e.e&&e.e.__assign||function(){return(i=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)},r=e.e&&e.e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(n,"__esModule",{value:!0}),n.VWOScript=void 0;var l=r(e.r(71645));n.VWOScript=function(e){var t=e.accountId,n=e.type,r=void 0===n?"ASYNC":n,a=e.settingsTimeout,s=e.hideElement,o=e.hideElementStyle,c=e.scriptAttributes,d=void 0===c?{}:c,u=e.linkAttributes;try{var p="string"==typeof r?r.toLowerCase():"async",f="window._vwo_code||(function(){var w=window,d=document;var account_id=".concat(t,",version=2.2,settings_tolerance=").concat(void 0===a?2e3:a,",hide_element='").concat(void 0===s?"body":s,"',hide_element_style='").concat(void 0===o?"opacity:0 !important;filter:alpha(opacity=0) !important;background:none !important":o,"';if(f=!1,v=d.querySelector('#vwoCode'),cc={},-1<d.URL.indexOf('__vwo_disable__')||w._vwo_code)return;try{var e=JSON.parse(localStorage.getItem('_vwo_'+account_id+'_config'));cc=e&&'object'==typeof e?e:{}}catch(e){}function r(t){try{return decodeURIComponent(t)}catch(e){return t}}var s=(()=>{var e={combination:[],combinationChoose:[],split:[],exclude:[],uuid:null,consent:null,optOut:null},t=d.cookie||'';if(t)for(var i,n,o=/(?:^|;\\s*)(?:(_vis_opt_exp_(\\d+)_combi=([^;]*))|(_vis_opt_exp_(\\d+)_combi_choose=([^;]*))|(_vis_opt_exp_(\\d+)_split=([^:;]*))|(_vis_opt_exp_(\\d+)_exclude=[^;]*)|(_vis_opt_out=([^;]*))|(_vwo_global_opt_out=[^;]*)|(_vwo_uuid=([^;]*))|(_vwo_consent=([^;]*)))/g;null!==(i=o.exec(t));)try{i[1]?e.combination.push({id:i[2],value:r(i[3])}):i[4]?e.combinationChoose.push({id:i[5],value:r(i[6])}):i[7]?e.split.push({id:i[8],value:r(i[9])}):i[10]?e.exclude.push({id:i[11]}):i[12]?e.optOut=r(i[13]):i[14]?e.optOut=!0:i[15]?e.uuid=r(i[16]):i[17]&&(n=r(i[18]),e.consent=n&&3<=n.length?n.substring(0,3):null)}catch(e){}return e})();function n(){var e=(()=>{if(w.VWO&&Array.isArray(w.VWO))for(var e=0;e<w.VWO.length;e++){var t=w.VWO[e];if(Array.isArray(t)&&('setVisitorId'===t[0]||'setSessionId'===t[0]))return!0}return!1})(),t='a='+account_id+'&u='+encodeURIComponent(w._vis_opt_url||d.URL)+'&vn='+version+'&ph=1'+('undefined'!=typeof platform?'&p='+platform:'')+'&st='+w.performance.now(),e=(!e&&((e=(()=>{var e,t=[],i={},n=w.VWO&&w.VWO.appliedCampaigns||{};for(e in n){var o=n[e]&&n[e].v;o&&(t.push(e+'-'+o+'-1'),i[e]=!0)}if(s&&s.combination)for(var r=0;r<s.combination.length;r++){var a=s.combination[r];i[a.id]||t.push(a.id+'-'+a.value)}return t.join('|')})())&&(t+='&c='+e),(e=(()=>{var e=[],t={};if(s&&s.combinationChoose)for(var i=0;i<s.combinationChoose.length;i++){var n=s.combinationChoose[i];e.push(n.id+'-'+n.value),t[n.id]=!0}if(s&&s.split)for(var o=0;o<s.split.length;o++)t[(n=s.split[o]).id]||e.push(n.id+'-'+n.value);return e.join('|')})())&&(t+='&cc='+e),e=(()=>{var e={},t=[];if(w.VWO&&Array.isArray(w.VWO))for(var i=0;i<w.VWO.length;i++){var n=w.VWO[i];if(Array.isArray(n)&&'setVariation'===n[0]&&n[1]&&Array.isArray(n[1]))for(var o=0;o<n[1].length;o++){var r,a=n[1][o];a&&'object'==typeof a&&(r=a.e,a=a.v,r)&&a&&(e[r]=a)}}for(r in e)t.push(r+'-'+e[r]);return t.join('|')})())&&(t+='&sv='+e),s&&s.optOut&&(t+='&o='+s.optOut),(()=>{var e=[],t={};if(s&&s.exclude)for(var i=0;i<s.exclude.length;i++){var n=s.exclude[i];t[n.id]||(e.push(n.id),t[n.id]=!0)}return e.join('|')})());return e&&(t+='&e='+e),s&&s.uuid&&(t+='&id='+s.uuid),s&&s.consent&&(t+='&consent='+s.consent),w.name&&-1<w.name.indexOf('_vis_preview')&&(t+='&pM=true'),w.VWO&&w.VWO.ed&&(t+='&ed='+w.VWO.ed),t}code={nonce:v&&v.nonce,library_tolerance:function(){return'undefined'!=typeof library_tolerance?library_tolerance:void 0},settings_tolerance:function(){return cc.sT||settings_tolerance},hide_element_style:function(){return'{'+(cc.hES||hide_element_style)+'}'},hide_element:function(){return performance.getEntriesByName('first-contentful-paint')[0]?'':'string'==typeof cc.hE?cc.hE:hide_element},getVersion:function(){return version},finish:function(e){var t;f||(f=!0,(t=d.getElementById('_vis_opt_path_hides'))&&t.parentNode.removeChild(t),e&&((new Image).src='https://dev.visualwebsiteoptimizer.com/ee.gif?a='+account_id+e))},finished:function(){return f},addScript:function(e){var t=d.createElement('script');t.type='text/javascript',e.src?t.src=e.src:t.text=e.text,v&&t.setAttribute('nonce',v.nonce),d.getElementsByTagName('head')[0].appendChild(t)},load:function(e,t){t=t||{};var i=new XMLHttpRequest;i.open('GET',e,!0),i.withCredentials=!t.dSC,i.responseType=t.responseType||'text',i.onload=function(){if(t.onloadCb)return t.onloadCb(i,e);200===i.status?w._vwo_code.addScript({text:i.responseText}):w._vwo_code.finish('&e=loading_failure:'+e)},i.onerror=function(){if(t.onerrorCb)return t.onerrorCb(e);w._vwo_code.finish('&e=loading_failure:'+e)},i.send()},init:function(){var e,t,i=this.settings_tolerance(),i=(w._vwo_settings_timer=setTimeout(function(){w._vwo_code.finish()}
1,i),'body'!==this.hide_element()?(e=d.createElement('style'),t=(i=this.hide_element())?i+this.hide_element_style():'',i=d.getElementsByTagName('head')[0],e.setAttribute('id','_vis_opt_path_hides'),v&&e.setAttribute('nonce',v.nonce),e.setAttribute('type','text/css'),e.styleSheet?e.styleSheet.cssText=t:e.appendChild(d.createTextNode(t)),i.appendChild(e)):(e=d.getElementsByTagName('head')[0],(t=d.createElement('div')).style.cssText='z-index: 2147483647 !important;position: fixed !important;left: 0 !important;top: 0 !important;width: 100% !important;height: 100% !important;background:white!important;',t.setAttribute('id','_vis_opt_path_hides'),t.classList.add('_vis_hide_layer'),e.parentNode.insertBefore(t,e.nextSibling)),'https://dev.visualwebsiteoptimizer.com/j.php?'+n());-1!==w.location.search.indexOf('_vwo_xhr')?this.addScript({src:i}):this.load(i+'&x=true',{l:1})}};w._vwo_code=code;code.init();})();(function(){var t=window;function d(){var e;t._vwo_code&&(e=d.hidingStyle=document.getElementById('_vis_opt_path_hides')||d.hidingStyle,t._vwo_code.finished()||t._vwo_code.libExecuted||t.VWO&&t.VWO.dNR||(document.getElementById('_vis_opt_path_hides')||document.getElementsByTagName('head')[0].appendChild(e),requestAnimationFrame(d)))}d();})();");if(!t)return console.error("VWO: Account ID is required"),null;if("async"!==p&&"sync"!==p)return console.error('VWO: Invalid type. Must be either "ASYNC" or "SYNC"'),null;if("sync"===p)return l.default.createElement("script",i({},d,{referrerPolicy:"no-referrer-when-downgrade",id:"vwoCode",src:"https://dev.visualwebsiteoptimizer.com/lib/".concat(t,".js")}));return l.default.createElement(l.default.Fragment,null,l.default.createElement("link",i({rel:"preconnect",href:"https://dev.visualwebsiteoptimizer.com"},void 0===u?{}:u)),l.default.createElement("script",i({},d,{type:"text/javascript",id:"vwoCode",dangerouslySetInnerHTML:{__html:f}})))}catch(e){return console.error("VWO Script Error:",e),null}}},59869,e=>{"use strict";var t=e.i(43476),n=e.i(87591),i=e.i(61745);function r({locale:e,...n}){if(!e)throw Error(void 0);return(0,t.jsx)(i.IntlProvider,{locale:e,...n})}var l=e.i(44864),a=e.i(17255);let s=({children:e})=>(0,t.jsx)(a.SessionProvider,{children:e});var o=e.i(71645),c=e.i(18566),d=e.i(81949);function u(){let{data:e,loading:t,error:n}=function(e){let[t,n]=(0,o.useState)(null),[i,r]=(0,o.useState)(!1),[l,a]=(0,o.useState)(null);return(0,o.useEffect)(()=>{(async()=>{r(!0);try{let t=await d.default.get(e);n(t.data)}catch(e){a(e.message)}r(!1)})()},[e]),{data:t,loading:i,error:l}}("https://www.borussia.de/api/redirects?pagination[pageSize]=100"),i=(0,c.useRouter)(),r=(0,c.usePathname)();return(0,o.useEffect)(()=>{if(t||n||!e)return;let l=e.find(e=>e.source===r);l&&i.replace(l.destination)},[e,t,n,i,r]),null}function p(){return(0,o.useEffect)(()=>{let e=document.createElement("script");e.type="text/javascript",e.setAttribute("data-cmp-ab","1"),e.src="https://cdn.consentmanager.net/delivery/autoblocking/091187a76d69.js",e.setAttribute("data-cmp-host","a.delivery.consentmanager.net"),e.setAttribute("data-cmp-cdn","cdn.consentmanager.net"),e.setAttribute("data-cmp-codesrc","1"),document.head.appendChild(e);let t=document.createElement("script");t.type="text/javascript",t.innerHTML=`
vendor: 493 bytes, lines 1-11
1 2 (function(w,d,s,l,i){ 3 w[l]=w[l]||[]; 4 w[l].push({'gtm.start':new Date().getTime(),event:'gtm.js'}); 5 var f=d.getElementsByTagName(s)[0], 6 j=d.createElement(s), 7 dl=l!='dataLayer'?'&l='+l:''; 8 j.async=true; 9 j.src='https://www.googletagmanager.com/gtm.js?id='+i+dl; 10 f.parentNode.insertBefore(j,f); 11 })(window,document,'script','dataLayer','
11GTM-NXS8HB4Q
vendor: 12 bytes, lines 11-12
11'); 12
12`,document.head.appendChild(t)},[]),null}var f=e.i(17595),x=e.i(38413);e.i(80004);var m=e.i(64206),h=e.i(77435),g=e.i(97964),v=e.i(56424),w=e.i(57232);let b=({section:e,toggleDropdown:n,screenSize:i,isOpen:r,data:l})=>{let a=r[e]||i>=768;return(0,t.jsxs)("div",{className:"w-full",children:[(0,t.jsxs)("button",{className:"w-full pb-2 flex justify-between items-center text-white text-lg font-medium uppercase cursor-default md:pb-4 md:text-xl md:cursor-pointer",onClick:()=>n(e),disabled:i>=768,children:[l?.title,(0,t.jsx)("span",{className:"ml-2 md:hidden",children:r[e]?(0,t.jsx)(w.ChevronUp,{}):(0,t.jsx)(v.ChevronDown,{})})]}),a&&(0,t.jsx)("ul",{children:l?.footer_link?.map((e,n)=>(0,t.jsx)(j,{link:e},n))})]})},j=({link:e})=>{let n=e?.external_link?e.external_link:`/${e?.page?.slug}`;return(0,t.jsx)("li",{className:"w-fit text-white text-[17px] font-medium hover:text-[#7AB929] transition-colors duration-200",children:(0,t.jsx)("a",{href:n,target:e.external_link?"_blank":void 0,className:"flex items-center min-h-[24px]",children:e.title})})};var _=e.i(14080);let y=({section:e,toggleDropdown:n,screenSize:i,isOpen:r,data:l})=>{let[a,s]=(0,o.useState)(null),c=l?.show_title_on_desktop||i<768;return(0,t.jsxs)("div",{className:"w-full",children:[(0,t.jsx)("button",{className:"w-full pb-2 cursor-default text-white text-lg font-medium uppercase md:text-xl md:pb-4 md:cursor-pointer",onClick:()=>n(e),disabled:i>=768,children:(0,t.jsxs)("div",{className:"flex justify-between",children:[c&&(0,t.jsx)("span",{children:l?.title}),(0,t.jsx)("span",{className:"ml-2 md:hidden",children:r[e]?(0,t.jsx)(w.ChevronUp,{}):(0,t.jsx)(v.ChevronDown,{})})]})}),(r[e]||i>=768)&&(0,t.jsx)("ul",{className:`flex gap-2 sm:grid sm:grid-cols-3 ${l?.footer_image?.length?"sm:grid-rows-2":"sm:grid-rows-1"} lg:grid-cols-none lg:flex lg:gap-2`,children:l?.footer_image?.map((e,n)=>(0,t.jsx)("li",{className:"flex items-center justify-center",onMouseEnter:()=>s(n),onMouseLeave:()=>s(null),children:e.link?(0,t.jsx)("a",{href:e.link,className:"w-16 h-16 lg:w-[70px] lg:h-[70px] flex justify-center items-center",children:(0,t.jsx)(_.default,{className:"w-16 h-16 lg:w-[70px] lg:h-[70px]",src:a===n?e.hover_image:e.image,alt:e.image_alt_text||"",width:0,height:0,sizes:"100vw",unoptimized:!0})}):(0,t.jsx)("span",{className:"w-16 h-16 lg:w-[70px] lg:h-[70px] flex justify-center items-center",children:(0,t.jsx)(_.default,{className:"w-16 h-16 lg:w-[70px] lg:h-[70px]",src:a===n?e.hover_image:e.image,alt:e.image_alt_text||"",width:0,height:0,sizes:"100vw",unoptimized:!0})})},n))})]})};var N=e.i(10300);let E=({data:e})=>{if(!e)return null;let{title:n,image:i,image_alt_text:r}=e;return(0,t.jsxs)("div",{className:"bg-white bungee text-center pt-10 md:pt-16 flex flex-col gap-4 md:gap-6 items-center justify-center",children:[(0,t.jsx)("span",{className:"text-black text-2xl md:text-5xl -rotate-[3.5deg]",children:n}),i&&(0,t.jsx)(_.default,{src:(0,N.getCloudFrontImageUrl)(i,"160x160"),className:"h-24 md:h-36 w-auto",alt:r||"",width:0,height:0,sizes:"100vw",unoptimized:!0})]})},k={large:"h-[30px] md:h-[38px]",medium:"h-[22px] md:h-[32px]",small:"h-[16px] md:h-[20px]"},C=({data:e})=>{if(e)return(0,t.jsx)("div",{className:"pt-[94px] pb-[87px] bg-[#1E1E1E]",children:(0,t.jsx)("div",{className:"container mx-auto px-4 flex flex-col gap-[46px] xl:gap-[50px]",children:e?.map((e,n)=>(0,t.jsx)("ul",{className:"flex-wrap xl:flex-nowrap justify-center flex gap-x-[30px] gap-y-[44px] xl:gap-[27px]",children:e.footer_partners_list?.map((e,n)=>(0,t.jsx)("li",{children:(0,t.jsx)("a",{className:"h-full w-full flex justify-center items-center min-h-6",href:e.url,target:"_blank",children:(0,t.jsx)(_.default,{className:`w-auto ${k[e.size]??"max-h-[20px]"}`,src:(0,N.getCloudFrontImageUrl)(e.image,"150x150"),alt:e.image_alt_text??"",width:0,height:0,sizes:"100vw",unoptimized:!0})})},n))},n))})})};function O(){let e=(0,g.default)(),[n,i]=(0,o.useState)({general:!1,legal:!1,associations:!1}),r=(0,x.useQuery)(m.GlobalQueries.GET_FOOTER_DATA,{client:h.default,variables:{locale:f.default.get("locale")||"de"}}),l=r?.data?.global,a=e=>{i(t=>({...t,[e]:!t[e]}))};return(0,t.jsx)(t.Fragment,{children:(0,t.jsxs)("footer",{id:"footer",className:"bg-black text-white",children:[(0,t.jsx)(C,{data:l?.footer_partners}),(0,t.jsx)("div",{className:"md:container md:mx-auto px-4 py-8",children:(0,t.jsx)("div",{className:"mx-auto text-gray-400 dark:text-gray-300",children:(0,t.jsxs)("div",{className:"flex flex-col md:flex-row justify-between gap-4",children:[(0,t.jsx)(b,{section:"general",toggleDropdown:a,screenSize:e,isOpen:n,data:l?.footer_general}),(0,t.jsx)(b,{section:"legal",toggleDropdown:a,screenSize:e,isOpen:n,data:l?.footer_legal}),(0,t.jsx)(y,{section:"associations",toggleDropdown:a,screenSize:e,isOpen:n,data:l?.footer_association})]})})}),(0,t.jsx)(E,{data:l?.footer_visual})]})})}var z=e.i(22016),S=e.i(48148),T=e.i(98280),T=T;function A({data:e}){let[n,i]=(0,o.useState)(0),r=()=>{i(window.scrollY)};(0,o.useEffect)(()=>(window.addEventListener("scroll",r,{passive:!0}),()=>{window.removeEventListener("scroll",r)}),[]);let l=e.filter(e=>e.mobile_visible);return 0===l.length?null:(0,t.jsx)(t.Fragment,{children:(0,t.jsx)("div",{className:`bg-black md:hidden transition-[margin-top] duration-[400ms] ease-in-out ${n>0&&"grid -mt-[60px]"}`,children:(0,t.jsx)("ul",{className:"grid gap-4 grid-cols-2 pb-3.5 pt-1.5 px-4 ",children:l.map((e,n)=>(0,t.jsx)("li",{children:(0,t.jsxs)("a",{href:e.URL,className:"flex items-center justify-center bg-[#181818] rounded-lg text-white gap-3 no-underline hover:bg-[#303030] py-3 px-4",children:[(0,t.jsx)(_.default,{className:"h-[22px] w-[22px]",alt:e.ImageAltText||"",src:(0,N.getCloudFrontImageUrl)(e.Image,"24x24"),width:0,height:0,sizes:"100vw",unoptimized:!0,priority:!0}),(0,t.jsx)("span",{className:"bungee text-xl leading-5 uppercase",children:e.Text})]})}
12,n))})})})}var I=e.i(45009);function L(){return(L=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}var B=(0,o.forwardRef)(function(e,t){var n=e.color,i=e.size,r=void 0===i?24:i,l=function(e,t){if(null==e)return{};var n,i,r=function(e,t){if(null==e)return{};var n,i,r={},l=Object.keys(e);for(i=0;i<l.length;i++)n=l[i],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(i=0;i<l.length;i++)n=l[i],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}(e,["color","size"]);return o.default.createElement("svg",L({ref:t,xmlns:"http://www.w3.org/2000/svg",width:r,height:r,viewBox:"0 0 24 24",fill:"none",stroke:void 0===n?"currentColor":n,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},l),o.default.createElement("path",{d:"M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4"}),o.default.createElement("polyline",{points:"16 17 21 12 16 7"}),o.default.createElement("line",{x1:"21",y1:"12",x2:"9",y2:"12"}))});function D(){return(D=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}B.propTypes={color:I.default.string,size:I.default.oneOfType([I.default.string,I.default.number])},B.displayName="LogOut";var P=(0,o.forwardRef)(function(e,t){var n=e.color,i=e.size,r=void 0===i?24:i,l=function(e,t){if(null==e)return{};var n,i,r=function(e,t){if(null==e)return{};var n,i,r={},l=Object.keys(e);for(i=0;i<l.length;i++)n=l[i],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(i=0;i<l.length;i++)n=l[i],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}(e,["color","size"]);return o.default.createElement("svg",D({ref:t,xmlns:"http://www.w3.org/2000/svg",width:r,height:r,viewBox:"0 0 24 24",fill:"none",stroke:void 0===n?"currentColor":n,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},l),o.default.createElement("path",{d:"M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2"}),o.default.createElement("circle",{cx:"12",cy:"7",r:"4"}))});P.propTypes={color:I.default.string,size:I.default.oneOfType([I.default.string,I.default.number])},P.displayName="User";var V=e.i(52283);function R({headerData:e}){let n=(0,V.useSharedSession)(),i=(0,S.useTranslations)("header");return(0,t.jsxs)("div",{className:"flex items-center gap-8 justify-end",children:[(0,t.jsx)("ul",{className:"hidden xl:flex items-center justify-center gap-8",children:e?.header_partners_list?.map((e,n)=>(0,t.jsx)("li",{children:(0,t.jsx)("a",{href:e.url,className:"flex items-center justify-center h-6",children:(0,t.jsx)(_.default,{src:e.image,alt:e.image_alt_text||"",className:"h-4 w-auto",style:{width:"auto"},width:0,height:0,sizes:"100vw",unoptimized:!0})})},n))}),e?.showUserIcon&&(0,t.jsx)("ul",{className:"flex items-center gap-7 lg:gap-8",children:(0,t.jsx)("li",{className:"list-none",children:(0,t.jsx)("button",{onClick:()=>(0,a.signIn)("salesforce",{callbackUrl:"sf"}),"aria-label":i(n.data?"toBorussiaAccount":"loginBtn"),className:"cursor-pointer relative flex items-center no-underline",children:(0,t.jsx)(P,{className:"stroke-white h-7 w-7 duration-700 transition-all ease-in-out"})})})}),n.data&&(0,t.jsx)("button",{className:"cursor-pointer",onClick:()=>(0,a.signOut)({callbackUrl:"sf-logout",redirect:!0}),"aria-label":i("logoutBtn"),children:(0,t.jsx)(B,{"aria-hidden":"true",role:"img"})})]})}function W({data:e,isSlideOpen:n}){return(0,t.jsx)("ul",{className:"min-[1536px]:hidden grid grid-cols-3 justify-center no-scrollbar p-2",children:e.map((e,i)=>(0,t.jsx)(o.default.Fragment,{children:e.External&&(0,t.jsx)("li",{className:"flex list-none items-center justify-center w-full",children:(0,t.jsxs)("a",{tabIndex:n?0:-1,target:"_blank",href:e.URL,className:"p-0 rounded-lg flex flex-col gap-2 items-center signika uppercase font-bold text-[17px] no-u
12nderline px-2",children:[(0,t.jsx)("span",{className:"flex justify-center items-center bg-[#1E1E1E] rounded-[35px] h-[52px] w-[52px]",children:(0,t.jsx)(_.default,{src:(0,N.getCloudFrontImageUrl)(e.Image,"24x24"),alt:e.ImageAltText||"",className:"w-auto max-h-[24px] h-auto",width:0,height:0,sizes:"100vw",unoptimized:!0})}),e.Text]})},i)},i))})}function F({vertical_alignment:e,horizontal_alignment:n,isSlideoutOpen:i}){let r=(0,S.useTranslations)("languageSwitch"),[l,a]=(0,o.useState)("de"),[s,c]=(0,o.useState)(!1),d=(0,o.useRef)(null);(0,o.useEffect)(()=>{a(f.default.get("locale")||"de")},[]),(0,o.useEffect)(()=>{function e(e){d.current&&!d.current.contains(e.target)&&c(!1)}return document.addEventListener("mousedown",e),()=>{document.removeEventListener("mousedown",e)}},[d]);let u=e=>{let t=window.location.origin,n="";"de"===e?n=t.replace(".com",".de"):"en"===e&&(n=t.replace(".de",".com")),n!==t&&(window.location.href=n)};return(0,t.jsxs)("div",{className:"flex items-center cursor-pointer gap-1 relative",ref:d,children:[(0,t.jsxs)("button",{className:"flex cursor-pointer items-center gap-1 bungee text-xl leading-6 outline-offset-4 focus-visible:outline focus-visible:outline-2 focus-visible:outline-white",onClick:()=>c(!s),tabIndex:i?0:-1,children:[l,(0,t.jsx)("span",{className:"flex h-[26px] items-center",children:(0,t.jsx)(v.ChevronDown,{className:`h-6 w-6 stroke-white opacity-50 transition-transform duration-[0.6s,0.8s] ease-in-out ${s?"rotate-180":""}`,stroke:"white"})})]}),(0,t.jsx)("div",{className:`absolute bottom-8 right-0 z-10 w-[160px] overflow-hidden rounded-lg bg-[#1E1E1E] shadow-[2px_0_6px_rgba(0,0,0,0.4)] ${s?"block":"hidden"} ${e}-[calc(100%--10px)] ${n}-0`,children:(0,t.jsx)("nav",{className:"rounded-lg bg-[#1E1E1E] p-3 shadow-[2px_0_6px_rgba(0,0,0,0.4)]",children:(0,t.jsxs)("ul",{role:"list",className:"flex flex-col gap-2",children:[(0,t.jsx)("li",{children:(0,t.jsxs)("button",{className:"inline-flex w-full justify-between rounded-sm px-2 text-sm leading-[24px] text-white no-underline outline-offset-4 focus-visible:outline focus-visible:outline-2 focus-visible:outline-white",onClick:()=>u("de"),role:"menuitem","aria-label":r("de"),tabIndex:s?0:-1,children:[(0,t.jsx)("span",{children:"Deutsch"}),(0,t.jsx)("span",{className:"uppercase",children:"DE"})]})}),(0,t.jsx)("li",{children:(0,t.jsxs)("button",{className:"inline-flex w-full justify-between rounded-sm px-2 text-sm leading-[24px] text-white no-underline outline-offset-4 focus-visible:outline focus-visible:outline-2 focus-visible:outline-white",onClick:()=>u("en"),role:"menuitem","aria-label":r("en"),tabIndex:s?0:-1,children:[(0,t.jsx)("span",{children:"English"}),(0,t.jsx)("span",{className:"uppercase",children:"EN"})]})})]})})})]})}var T=T,M=e.i(67393),$=e.i(57196),U=e.i(33999),G=e.i(13787);function H(e){switch(e){case"green+glow":return"text-[#7AB929] drop-shadow-[0_0_10px_rgb(122,185,41)]";case"green":return"text-[#7AB929]";default:return"text-white"}}function Q({data:e,isExpanded:n,onToggle:i,back_button:r,isSlideoutOpen:l}){let a=(0,o.useRef)(null);(0,o.useEffect)(()=>{a.current&&(a.current.checked=n)},[n]),(0,o.useEffect)(()=>{let e=e=>{if("a"===e.target.tagName.toLowerCase())return};return document.addEventListener("mousedown",e),()=>{document.removeEventListener("mousedown",e)}},[]);let s=()=>{n&&i()};return(0,t.jsx)(t.Fragment,{children:"WRAPPER"===e.type?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("button",{className:`hover:bg-[#303030] ${n?"bg-[#1E1E1E]":""} flex items-center rounded-lg cursor-pointer justify-between mb-0 p-4 no-underline w-full duration-700 transition-colors ease-in-out`,onClick:i,tabIndex:l?0:-1,children:[(0,t.jsx)("div",{className:`bungee text-xl leading-[20px] font-normal ${H(e?.additionalFields?.color)}`,children:e.title}),(0,t.jsx)(G.ChevronRight,{stroke:"#ffffff80"})]}),(0,t.jsxs)("div",{className:`z-10 md:z-[-1] bg-[#0D0D0D] bottom-0 inset-0 text-white flex flex-col gap-[1.75rem] md:gap-2 left-0 max-w-[100vw] py-8 pl-8 pr-6 fixed top-0 duration-700 transition-all ease-in-out md:w-[400px] ${n?"translate-x-0 md:translate-x-[400px] shadow-[2px_0_6px_rgba(0,0,0,0.4)]":"translate-x-[-400px]"}`,children:[(0,t.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,t.jsxs)("button",{className:"flex w-max cursor-pointer items-center gap-2 rounded-md px-1 py-0.5 text-[0.938rem] font-normal lowercase leading-[17px] outline-offset-4 focus-visible:outline focus-visible:outline-2 focus-visible:outline-white",onClick:i,tabIndex:n?0:-1,children:[(0,t.jsx)(U.ChevronLeft,{height:18,width:18,stroke:"#ffffff80"}),r]}),(0,t.jsx)("span",{className:"bungee text-[1.375rem] font-normal uppercase leading-[22px] tracking-[-0.44px]",children:e.title})]}),(0,t.jsx)("ul",{className:"flex w-full flex-col gap-2 overflow-auto p-2 pl-8 no-scrollbar",children:e.items.map((e,i)=>(0,t.jsx)("li",{children:"WRAPPER"===e.type?(0,t.jsx)(t.Fragment,{children:(0,t.jsx)(M.Accordion,{className:"px-0 w-full",itemClasses:{trigger:"py-0 w-full"},selectionMode:"multiple",children:e.items&&e.items.length>0?(0,t.jsx)($.AccordionItem,{"aria-label":e.title,title:e.title,className:"w-full transition-[height]",HeadingComponent:"div",classNames:{base:"*:!overflow-y-visible *:!no-scrollbar",heading:"",trigger:`flex w-full items-center justify-between outline-offset-4 focus-visible:outline focus-visible:outline-2 focus-visible:outline-white p-0 ${n?"visible":"invisible"}`,titleWrapper:"items-start",title:"after:transition-width relative inline-grid w-auto p-0 py-1 !text-xl !font-medium !leading-[19px] text-white no-underline after:absolute after:bottom-0 after:block after:h-0.5 after:w-0 after:duration-700 after:ease-in-out after:content-[''] hover:after:w-full hover:after:bg-[#7E7E7E] ",content:"p-0"},indicator:({isOpen:e})=>e?(0,t.jsx)(w.ChevronUp,{size:24,className:"stroke-[#ffffff]"}):(0,t.jsx)(v.ChevronDown,{size:24,className:"stroke-[#ffffff80]"}),children:(0,t.jsx)("ul",{className:"mt-3 flex w-full flex-col gap-[18px] pl-6",children:e.items.map((e,i)=>(0,t.jsx)("li",{children:(0,t.jsx)("a",{href:e.path||"#",className:"outline-offset-4 focus-visible:outline focus-visible:outline-2 focus-visible:outline-white items-center gap-2 tracking-wide transition duration-200 ease-linear after:transition-width group relative !inline-grid !w-auto !whitespace-normal pb-1 !text-xl !font-medium !leading-[19px] text-[#979797] after:absolute after:bottom-0 after:block after:h-0.5 after:w-0 after:duration-700 after:ease-in-out after:content-[''] hover:after:w-full hover:after:bg-[#7E7E7E]",onClick:s,tabIndex:n?0:-1,children:e.title})},i))})}):(0,t.jsx)(t.Fragment,{})})}):(0,t.jsx)("a",{href:e.path||"#",className:"relative text-white signika inline-grid text-xl leading-[19px] font-medium p-0 no-underline w-auto py-1 after:content-[''] after:block after:h-0.5 after:duration-700 after:transition-width after:ease-in-out after:w-0 after:bottom-0 after:absolute hover:after:bg-[#7E7E7E] hover:after:w-full",onClick:s,tabIndex:n?void 0:-1,children:e.title})},i))})]})]}):(0,t.jsx)(t.Fragment,{children:(0,t.jsx)("a",{href:e.path,className:`hover:bg-[#303030] focus:bg-[#303030] ${n?"bg-[#1E1E1E]":""} flex items-center rounded-lg cursor-pointer justify-between mb-0 p-4 no-underline w-full duration-700 transition-colors ease-in-out`,onClick:e=>{e.stopPropagation()},children:(0,t.jsx)("div",{className:`bungee text-xl leading-[20px] font-normal ${H(e?.additionalFields?.color)}`,children:e.title})})})})}function q({headerData:e,expandedIndex:n,isSlideoutOpen:i,handleToggle:r}){let l=(0,x.useQuery)(T.GET_SIDENAV_ITEMS,{client:h.default,variables:{locale:f.default.get("locale")||"de"}});if(l.loading)return(0,t.jsx)("p",{children:"Loading..."});if(l.error)return(0,t.jsxs)("p",{children:["Error: ",l.error.message]});let a=l.data.renderNavigation;return(0,t.jsx)("ul",{className:"flex flex-col gap-2 mb-0",children:a.map((l,a)=>(0,t.jsx)(Q,{data:l,isExpanded:n===a,back_button:e.back_button,onToggle:()=>r(a),isSlideoutOpen:i},a))})}var X=e.i(44076);function Y(){let e=(0,S.useTranslations)("global");return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("a",{href:"#content",className:"absolute left-2 top-2 z-[9999] block translate-x-[-250%] appearance-none rounded-xl bg-black px-7 py-3.5 text-xl text-white transition-all duration-300 ease-in-out focus-visible:translate-x-0 focus-visible:outline focus-visible:outline-2 focus-visible:outline-white","data-ezlistener":"true",children:e("skipToContent")}),(0,t.jsx)("a",{href:"#footer",className:"absolute left-2 top-2 z-[9999] block translate-x-[-250%] appearance-none rounded-xl bg-black px-7 py-3.5 text-xl text-white transition-all duration-300 ease-in-out focus-visible:translate-x-0 focus-visible:outline focus-visible:outline-2 focus-visible:outline-white","data-ezlistener":"true",children:e("skipToFooter")})]})}var K=e.i(61912),J=e.i(57498),Z=e.i(68723);function ee({data:e}){let{active:n,publication:i,adAnimation:r}=e;(0,Z.default)(100);let[l,a]=(0,o.useState)(0),[s,c]=(0,o.useState)([]),d=(0,o.useRef)(null),u=(0,o.useRef)(null);(0,o.useEffect)(()=>{e.web_ads?.length&&c(e?.web_ads?.map(e=>e))},[e]),(0,o.useEffect)(()=>
12{if(!s.length)return;let e=new IntersectionObserver(t=>{t.forEach(t=>{t.isIntersecting&&((0,K.default)({eventName:"ad_view",tracking:s[l]?.tracking,title:s[l]?.title,size:s[l]?.size,page:document.title}),e.unobserve(t.target))})}),t=u.current;return t&&e.observe(t),()=>{t&&e.unobserve(t)}},[l,s]),(0,o.useEffect)(()=>{if(s.length)return d.current=setInterval(()=>{a(e=>(e+1)%s.length)},1e3*e.adDuration||5e3),()=>{d.current&&clearInterval(d.current)}},[s,e.adDuration]);let p=()=>{let e=s[l];(0,K.default)({eventName:"ad_click",tracking:e?.tracking,title:e?.title,size:e?.size,page:document.title})};return n&&(0,J.isPublicationActive)(i)&&s.length?(0,t.jsx)(t.Fragment,{children:s.length>0&&(0,t.jsx)("div",{id:e.anchorLink,ref:u,children:(0,t.jsx)("div",{className:"grid grid-cols-1 mx-auto px-4 relative h-full justify-center items-center",children:s.map((e,n)=>(0,t.jsx)("a",{href:e.link,className:`col-start-1 col-end-2 row-start-1 row-end-2 flex justify-center items-center rounded-md overflow-hidden transition-opacity ${r?"duration-1000":"duration-100"} ease-in ${n===l?"opacity-100 pointer-events-auto":"opacity-0 pointer-events-none"}`,onClick:p,children:(0,t.jsx)(_.default,{src:(0,N.getCloudFrontImageUrl)(e.image,"500x500"),alt:e.image_alt_text||"",className:"w-auto object-contain max-h-[264px] lg:max-h-full",width:0,height:0,sizes:"100vw",unoptimized:!0})},n))})})}):null}function et({headerData:e}){return e?.bmg_logo?(0,t.jsx)(_.default,{src:e.bmg_logo,alt:e.bmg_logo_alt_text||"",className:"h-[63px] w-auto",width:0,height:0,sizes:"100vw",unoptimized:!0,priority:!0}):null}function en(){let e=(0,c.usePathname)(),n=f.default.get("locale")||"de",i=(0,S.useTranslations)("header"),[r,l]=(0,o.useState)(!1),[a,s]=(0,o.useState)(null),d=e=>{s(t=>t===e?null:e)},u=(0,x.useQuery)(T.GET_MAIN_NAVIGATION_ITEMS,{client:h.default,variables:{locale:n}}),p=(0,x.useQuery)(m.GlobalQueries.GET_HEADER_DATA,{client:h.default,variables:{locale:n}}),g=p?.data?.global?.header??[];if(p?.data?.global?.header?.header_partners_list,u.loading||g.loading)return(0,t.jsx)(X.default,{});if(u.error)return(0,t.jsxs)("p",{children:["Error: ",u.error.message]});let v=u?.data?.metaNav?.Item??[];return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(Y,{}),(0,t.jsx)("div",{"aria-hidden":"true",className:`fixed inset-0 top-[92px] bg-black transition-opacity duration-1000 md:top-[100px] z-30 ${r?"opacity-60 visible pointer-events-auto":"invisible opacity-0 pointer-events-none"}`,onClick:()=>{l(!r),d(null)}}),(0,t.jsxs)("header",{className:"fixed left-0 right-0 top-0 z-40",children:[(0,t.jsxs)("div",{className:"bg-black text-white grid gap-8 grid-cols-[1fr_50px_1fr] h-[92px] lg:h-[100px] py-3.5 px-4 lg:p-8 place-content-center w-full z-40 relative",children:[(0,t.jsxs)("div",{className:"gap-7 lg:gap-8 flex items-center",children:[(0,t.jsx)("div",{className:"flex items-center justify-center h-full",children:g.hide_navigation?(0,t.jsx)(t.Fragment,{children:(0,t.jsx)(F,{vertical_alignment:"top",horizontal_alignment:"left",isSlideoutOpen:r})}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("button",{className:"z-[1] mb-0 flex h-[24px] w-[24px] cursor-pointer flex-col items-start justify-center gap-1 rounded-sm focus:outline-none focus:ring-2 focus:ring-white focus:ring-offset-2 focus:ring-offset-black","aria-label":i(r?"closeMainMenu":"openMainMenu"),"aria-expanded":r,"aria-controls":"slideout",onClick:()=>{l(!r),d(null)},children:[(0,t.jsx)("span",{"aria-hidden":"true",className:`ml-[2px] h-0.5 w-[1.125rem] rounded bg-white transition-all duration-700 ${r?"ml-[6px] translate-x-[-3px] translate-y-[6px] rotate-45":""}`}),(0,t.jsx)("span",{"aria-hidden":"true",className:`ml-[2px] h-0.5 w-3 rounded bg-white transition-all duration-700 ${r?"opacity-0":""}`}),(0,t.jsx)("span",{"aria-hidden":"true",className:`ml-[2px] h-0.5 w-3 rounded bg-white transition-all duration-700 ${r?"ml-[6px] w-[18px] translate-x-[-3px] translate-y-[-6px] -rotate-45":""}`})]}),(0,t.jsx)("div",{id:"slideout",className:`h-[calc(100%-92px)] mt-[92px] lg:h-[calc(100%-100px)] lg:mt-[100px] flex left-0 top-0 list-none fixed duration-700 transition-all ease-in-out ${r?"shadow-[2px_0_6px_rgba(0,0,0,0.4)] -translate-x-0":"translate-x-[-400px]"}`,children:(0,t.jsxs)("div",{className:"bg-[#0D0D0D] flex flex-1 flex-col justify-between max-w-[400px] w-[100vw]",children:[(0,t.jsxs)("div",{className:"flex flex-col gap-[12px] h-full p-4 min-[1536px]:px-4 min-[1536px]:py-8 overflow-auto",children:[(0,t.jsx)(W,{data:v,isSlideOpen:r}),(0,t.jsxs)("div",{className:"flex flex-col h-full gap-8 justify-between",children:[(0,t.jsx)(q,{headerData:g,expandedIndex:a,handleToggle:d,isSlideoutOpen:r}),g?.rollingAdBanner&&(0,t.jsx)(ee,{data:g?.rollingAdBanner},1)]})]}),(0,t.jsx)("div",{className:"flex items-center justify-end px-8 py-[26px]",children:(0,t.jsx)(F,{vertical_alignment:"bottom",horizontal_alignment:"right",isSlideoutOpen:r})})]})})]})}),(0,t.jsx)("ul",{className:"hidden min-[1536px]:flex items-center gap-2",children:v.map((e,n)=>(0,t.jsx)("li",{className:"list-none",children:e.External?(0,t.jsx)(z.default,{href:e.URL,className:"rounded-lg flex bungee text-xl py-2 px-3 no-underline hover:bg-[#303030] duration-700 transition-colors ease-in-out",children:e.Text},`navigationLink-${n}`):(0,t.jsx)(z.default,{href:e.URL,className:"rounded-lg flex bungee text-xl py-2 px-3 no-underline bg-[#1E1E1E] duration-700 transition-colors ease-in-out",children:e.Text},`navigationLink-${n}`)},n))})]}),(0,t.jsx)("a",{href:"/",className:"flex justify-center items-center",children:(0,t.jsx)(et,{headerData:g})}),(0,t.jsx)(R,{headerData:g})]}),"/"===e?(0,t.jsx)(A,{data:v}):""]})]})}var ei=e.i(88995),er=e.i(76680);function el(){let e=f.default.get("locale")||"de",[n,i]=(0,o.useState)(!0),{data:r}
12=(0,x.useQuery)(m.GlobalQueries.GET_INFO_BANNER_DATA,{client:h.default,variables:{locale:e}}),l=(0,S.useTranslations)("header"),a=r?.global?.info_banner;return((0,o.useEffect)(()=>{i(!f.default.get("infoBannerHidden"))},[]),a&&n&&a.active&&(0,J.isPublicationActive)(a.publication))?(0,t.jsxs)("div",{className:"fixed top-[92px] z-[40] flex w-full items-center justify-between gap-1 overflow-visible p-4 text-sm md:top-[100px] bg-[#7ab929] text-black",children:[(0,t.jsx)("div",{className:"flex min-w-[16px] flex-1 items-center"}),(0,t.jsxs)("h1",{className:"mr-1 block text-center flex-2 h-auto md:justify-center",children:[(0,t.jsx)("h1",{className:"text-lg font-bold uppercase",children:a?.title}),a?.content&&(0,t.jsx)(er.default,{data:a?.content,customClasses:"font-semibold text-sm"})]}),(0,t.jsx)("div",{className:"flex h-full flex-1 justify-end",children:(0,t.jsx)("button",{id:"info_banner_button",onClick:()=>{f.default.set("infoBannerHidden","true",{expires:180}),i(!1)},"aria-label":l("closeInfoBanner"),children:(0,t.jsx)(ei.X,{className:"w-6 h-6"})})})]}):null}function ea({html:e}){let t=(0,o.useRef)([]);return(0,o.useEffect)(()=>{for(let e of t.current)e.parentNode?.removeChild(e);t.current=[];let n=(e??"").trim();if(!n)return;let i=document.createElement("template");i.innerHTML=n;let r=[];for(let e of Array.from(i.content.childNodes)){if(e.nodeType===Node.ELEMENT_NODE&&"script"===e.tagName.toLowerCase()){let t=document.createElement("script");for(let n of Array.from(e.attributes))t.setAttribute(n.name,n.value);e.text&&(t.text=e.text),document.head.appendChild(t),r.push(t);continue}let t=e.cloneNode(!0);document.head.appendChild(t),r.push(t)}return t.current=r,()=>{for(let e of r)e.parentNode?.removeChild(e)}},[e]),null}function es(){return(0,t.jsxs)("div",{className:"fixed bottom-20 left-4 lg:bottom-4 z-[10000] flex items-center gap-2 rounded-full border border-[#595959] bg-[#1E1E1E]/95 py-1.5 pl-3 pr-2 text-white shadow-lg backdrop-blur-sm",children:[(0,t.jsx)("span",{"aria-hidden":"true",className:"h-2 w-2 shrink-0 rounded-full bg-[#7AB929] animate-livePulse"}),(0,t.jsx)("span",{className:"text-[12px] font-semibold leading-[14px]",children:"Vorschau"}),(0,t.jsx)("a",{href:"/api/preview/disable",className:"rounded-full px-2 py-0.5 text-[12px] leading-[14px] text-[#C6C6C6] underline underline-offset-2 transition-colors hover:text-white",children:"beenden"})]})}function eo({locale:e,messages:i,isApp:a,timezone:o,isDraft:c,children:d}){let{hideHeaderForApp:f,hideHeaderForWeb:x,hideFooterForWeb:m,headHtml:h}=(0,n.usePageConfigContext)();return(0,t.jsxs)("html",{lang:e,children:[(0,t.jsxs)("head",{children:[(0,t.jsx)("script",{src:"https://tv.borussia.de/bundles/exozetfrontend/bmg/js/fantvPlayer.js",defer:!0}),(0,t.jsx)("meta",{name:"theme-color",content:"#000000"}),(0,t.jsx)("meta",{name:"msapplication-TileColor",content:"#000000"}),(0,t.jsx)("link",{rel:"apple-touch-icon",sizes:"57x57",href:"/apple-icon-57x57.png"}),(0,t.jsx)("link",{rel:"apple-touch-icon",sizes:"72x72",href:"/apple-icon-72x72.png"}),(0,t.jsx)("link",{rel:"apple-touch-icon",sizes:"76x76",href:"/apple-icon-76x76.png"}),(0,t.jsx)("link",{rel:"apple-touch-icon",sizes:"114x114",href:"/apple-icon-114x114.png"}),(0,t.jsx)("link",{rel:"apple-touch-icon",sizes:"120x120",href:"/apple-icon-120x120.png"}),(0,t.jsx)("link",{rel:"apple-touch-icon",sizes:"144x144",href:"/apple-icon-144x144.png"}),(0,t.jsx)("link",{rel:"apple-touch-icon",sizes:"152x152",href:"/apple-icon-152x152.png"}),(0,t.jsx)("link",{rel:"apple-touch-icon",sizes:"180x180",href:"/apple-icon-180x180.png"}),(0,t.jsx)("meta",{name:"mobile-web-app-capable",content:"yes"}),(0,t.jsx)("meta",{name:"apple-mobile-web-app-status-bar-style",content:"black"}),(0,t.jsx)(p,{}),(0,t.jsx)(l.VWOScript,{accountId:"989619"}),(0,t.jsx)(ea,{html:h})]}),(0,t.jsxs)("body",{children:[(0,t.jsx)("noscript",{children:(0,t.jsx)("iframe",{src:"https://www.googletagmanager.com/ns.html?id=GTM-NXS8HB4Q",height:"0",width:"0",style:{display:"none",visibility:"hidden"}})}),c&&(0,t.jsx)(es,{}),(0,t.jsx)(s,{children:(0,t.jsxs)(r,{locale:e,messages:i,timeZone:o,children:[(0,t.jsx)(u,{}),(!f||!a)&&!x&&(0,t.jsx)(en,{})," ",(0,t.jsx)(el,{}),(0,t.jsx)("div",{id:"content",children:d}),(!f||!a)&&!m&&(0,t.jsx)(O,{})," "]})}),(0,t.jsx)("div",{id:"portal-root"})]})]})}e.s(["default",0,function({locale:e,messages:i,isApp:r,timezone:l,isDraft:s,children:c}){let d;return d=(0,o.useRef)(!1),(0,o.useEffect)(()=>{let e=e=>{"Tab"===e.key&&(d.current=!0)},t=()=>{d.current=!1},n=e=>{let t=e.target;d.current&&t&&"function"==typeof t.scrollIntoView&&null!==t.offsetParent&&t.scrollIntoView({behavior:"smooth",block:"center",inline:"nearest"})};return window.addEventListener("keydown",e,!0),window.addEventListener("mousedown",t,!0),window.addEventListener("focus",n,!0),()=>{window.removeEventListener("keydown",e,!0),window.removeEventListener("mousedown",t,!0),window.removeEventListener("focus",n,!0)}},[]),(0,t.jsx)(a.SessionProvider,{children:(0,t.jsx)(V.SessionProvider,{children:(0,t.jsx)(n.PageConfigProvider,{children:(0,t.jsx)(eo,{isApp:r,isDraft:s,locale:e,messages:i,timezone:l,children:c})})})})}],59869)}]);
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.