1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2542],{15911:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>c,Bn:()=>s});let o=async(e,t)=>{if(await window.TPP_SNAP.execute("script:sc_tpp_ispageeditable",{pageRefUid:e})){console.debug("execute getpageurl...",e,t);let n=await window.TPP_SNAP.execute("script:sc_tpp_getpageurl",{pageRefUid:e,pageLanguage:t});return(console.debug("sc_tpp_getpageurl return: ",n),n)?a(n):(window.TPP_SNAP.showMessage("The URL to the requested page could not be fetched. \nPlease try the Site Architect."),void 0)}window.TPP_SNAP.showMessage("The requested page is set to be uneditable. \nNavigation has therefore been canceled. \nTo edit this page, please locate it in the Site Architect.")},i=async e=>{console.info("running sc_tpp_check_single_routing with ",e);let t=await window.TPP_SNAP.execute("script:sc_tpp_check_single_routing",{uid:e});return console.info("response sc_tpp_check_single_routing: ",t),t},l=async(e,t)=>{console.info("running sc_tpp_check_document with:",e,t);let n=await window.TPP_SNAP.execute("script:sc_tpp_check_document",{uid:e,lang:t});return console.info("response sc_tpp_check_document: ",n),n},a=e=>{let t=window.location.origin;return e.startsWith("/")?t+e:t+"/"+e},s=async(e,t)=>{await window.TPP_SNAP.createSection(t,{body:e})},r=async()=>{await window.TPP_SNAP.isConnected},c=(e,t,n,a,s)=>{let c=async e=>{if(console.info("----------------------------------------------------------------"),console.info("onNavigationChange: previewId: "+e+" | projectName: "+s+" (pname)"),e){console.info("___ start: ",Date.now());let t=await window.TPP_SNAP.getElementStatus(e,!1);console.info("onNavigationChange: Generate new page with ",t);let n=await window.TPP_SNAP.execute("script:sc_tpp_single_routing",{uid:t.uid,pname:s});return console.info("onNavigationChange: update routing with result: ",n),console.info("_____end: ",Date.now()),n}console.info("navigationChange: no previewId"),console.info("----------------------------------------------------------------")},d=async e=>{if(console.debug("onRequestPreviewElement",e),e&&e!==await window.TPP_SNAP.getPreviewElement()){let t=await window.TPP_SNAP.getElementStatus(e,!1);if(console.debug("node ",t),t){let e=await o(t.uid,t.language);console.debug("pageUrl: "+e),e&&(console.debug("waiting..."+e),console.info("check before window.location.href: availability response: ",await i(t.uid)),setTimeout(()=>{console.info("attempt going to page...: ",e),window.location.href=e},1e3))}}else console.info("previewID is empty")},u=async(e,n,o)=>{console.info("contentChangeCallback",e,n,o);let i=await window.TPP_SNAP.getElementStatus(null!=t?t:"",!1);console.debug("getElementStatus from ",t," -> ",i),console.dir(i),console.debug("_________________________________________________"),console.dir("render ",await window.TPP_SNAP.renderElement(null!=t?t:""))},_=async()=>{console.info("rerenderViewCallback");let e=await window.TPP_SNAP.getElementStatus(null!=t?t:"",!1);await l(e.uid,e.language)?location.reload():(console.error("Cannot retrieve updated document."),window.TPP_SNAP.showMessage("Unable to fetch updated document without timeout.\nFor changes, please manually reload the page."))};console.debug("oninit",window.TPP_SNAP.onInit),window.TPP_SNAP.onInit(()=>{console.info("TPP_SNAP ",window.TPP_SNAP.isConnected),console.debug("TPP_SNAP initialized with:"),console.debug("context",e),console.debug("pagePreviewId",t),console.debug("language",n),console.debug("pageId",a),t&&window.TPP_SNAP.setPreviewElement(t),console.debug("init connected: ",r()),window.addEventListener("beforeunload",()=>{console.debug("Not unsetting the preview element.")})}),window.TPP_SNAP.onContentChange(u),window.TPP_SNAP.onRerenderView(_),window.TPP_SNAP.onNavigationChange(c),window.TPP_SNAP.onRequestPreviewElement(d)}},45105:(e,t,n)=>{e.exports=n(87195)},56127:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var o=n(40790),i=n(23067);let l=()=>{let{stage:e}=(0,i.H)(),t=e==o.L.CONTENT_STAGING;return{isContentStagingStage:t,isPreviewStage:e==o.L.PREVIEW,isLiveStage:e==o.L.LIVE}}},73632:(e,t,n)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/_apps/content_creator/footer",function(){return n(82073)}])},78482:(e,t,n)=>{"use strict";n.d(t,{y:()=>i});var o=n(56127);function i(){let{isLiveStage:e}=(0,o.A)();return window.top!==window.self&&!e}}
1,82073:(e,t,n)=>{"use strict";n.r(t),n.d(t,{__N_SSP:()=>u,default:()=>_});var o=n(37876),i=n(92183),l=n(96813),a=n(9362),s=n(56127),r=n(77328),c=n.n(r);function d(e,t){return e&&0!==e.length?{footerObjectHeadlines:e.filter(e=>"footerHeadline"===e.component).map(e=>({headline:e.headline,previewId:e.previewId})),footerObjectLinks:e.filter(e=>"footerHeadline"!==e.component).map(e=>{var t,n,o;return"footerSocialLinks"===e.component?null==e?void 0:null===(t=e.links)||void 0===t?void 0:t.map(e=>{let{link:t,previewId:n}=e;return{text:null==t?void 0:t.text,previewId:n}}):"footerPaymentLinks"===e.component?null==e?void 0:null===(n=e.links)||void 0===n?void 0:n.map(e=>{let{link:t,previewId:n}=e;return{text:null==t?void 0:t.text,previewId:n}}):null==e?void 0:null===(o=e.links)||void 0===o?void 0:o.map(e=>({text:null==e?void 0:e.text,previewId:null==e?void 0:e.previewId}))}),footerObjectLabel:t}:t}var u=!0;let _=()=>{let{previewId:e,components:t}=(0,a.H)(),n=null==t?void 0:t.footerLeftColumn1,r=null==t?void 0:t.footerLeftColumn2,u=null==t?void 0:t.footerLeftColumn3,_=null==t?void 0:t.footerLeftColumn4,w=null==t?void 0:t.footerRight,p=d(n,"footer_left_column_1"),f=d(r,"footer_left_column_2"),g=d(u,"footer_left_column_3"),P=d(_,"footer_left_column_4"),h=d(w,"footer_right"),{isContentStagingStage:m}=(0,s.A)();return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsxs)(c(),{children:[(0,o.jsx)("title",{children:"Edit content of the footer"}),(0,o.jsx)("link",{rel:"icon",href:"/favicon.ico"})]}),(0,o.jsxs)("main",{className:"bg-black flex !min-h-screen flex-col items-center justify-center gap-y-24 pe-8 ps-8 text-white","data-preview-id":m?e:null,id:"main-content",tabIndex:-1,children:[(0,o.jsxs)("div",{className:"max-w-prose",children:[(0,o.jsx)("h1",{children:"Edit content of the footer"}),(0,o.jsxs)("p",{children:["The ",(0,o.jsx)("em",{className:"bg-yellow text-black",children:"only purpose"})," of this page is to"," ",(0,o.jsx)("em",{className:"bg-yellow text-black",children:"edit the content"})," of the footer. Thus, the UI is kept to a minimum and does not reflect the actual appearance of the footer."]})]}),(0,o.jsx)("div",{className:"flex flex-wrap items-start gap-8 [&>div]:flex-1",children:[p,f,g,P,h].map((e,t)=>"string"==typeof e?(0,o.jsxs)("div",{className:"rounded-md border border-steel-400 p-2",children:[(0,o.jsxs)("p",{className:"text-copy-extra-small text-steel-500",children:["No content available for ",e]}),(0,o.jsx)(i.A,{slot:e})]},t):(0,o.jsx)("div",{className:"flex flex-col gap-y-8",children:e.footerObjectHeadlines.map((t,n)=>{var i;let{headline:l,previewId:a}=t;return(0,o.jsxs)("div",{className:"flex flex-col gap-y-2",children:[(0,o.jsxs)("div",{className:"flex flex-col",children:[(0,o.jsx)("p",{className:"font-head text-h6","data-preview-id":a,children:l}),(0,o.jsxs)("aside",{className:"text-copy-extra-small text-steel-500",children:["(",e.footerObjectLabel,")"]})]}),(0,o.jsx)("ul",{className:"flex flex-col gap-y-4",children:null===(i=e.footerObjectLinks[n])||void 0===i?void 0:i.map((e,t)=>{let{text:n,previewId:i}=e;return(0,o.jsx)("li",{className:"relative [&:not(:last-child)]:after:absolute [&:not(:last-child)]:after:-bottom-2 [&:not(:last-child)]:after:left-0 [&:not(:last-child)]:after:h-[1px] [&:not(:last-child)]:after:w-4 [&:not(:last-child)]:after:bg-steel-500 [&:not(:last-child)]:after:content-['']","data-preview-id":i,children:n},t)})})]},n)})},t))}),(0,o.jsx)(l.A,{})]})]})}},92183:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var o=n(37876),i=n(75423),l=n(9362),a=n(78482),s=n(98690),r=n(15911);let c=e=>{let{slot:t}=e,{previewId:n}=(0,l.H)();return(0,a.y)()&&(0,o.jsx)("div",{className:"flex justify-center py-8",children:(0,o.jsx)(s.eC,{iconPosition:"left",label:"Add section to "+t,type:"warning",onClick:()=>{n&&(0,r.Bn)(t,n)},children:(0,o.jsx)(i.A,{useIconSlot:!0,name:"plus",size:24})})})}},96813:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});var o=n(37876),i=n(9362),l=n(23067),a=n(78482),s=n(15911),r=n(45105),c=n.n(r),d=n(14232);let u=()=>{let{previewId:e,projectName:t,locale:n,pageId:r,country:u}=(0,i.H)(),{firstSpiritOrigin:_}=(0,l.H)(),[w,p]=(0,d.useState)(!1),f=(0,a.y)();return(0,d.useEffect)(()=>
1{if(f&&w&&void 0!==window.TPP_SNAP){var o,i,l,a;Object.defineProperty(window,"UC_UI_SUPPRESS_CMP_DISPLAY",{value:!0}),null===(i=document.getElementsByTagName("main"))||void 0===i||null===(o=i[0])||void 0===o||o.setAttribute("data-country",null!=u?u:"de"),null===(a=document.getElementsByTagName("main"))||void 0===a||null===(l=a[0])||void 0===l||l.setAttribute("data-language",n),(0,s.Ay)(u,e,n,r,t)}},[f,w]),(0,o.jsx)(o.Fragment,{children:f&&(0,o.jsx)(c(),{src:"https://cdn.jsdelivr.net/npm/[email protected]/snap.js","data-firstspirit-origin":_,onLoad:()=>{p(!0)}})})}}},e=>{var t=t=>e(e.s=t);e.O(0,[636,6593,8792],()=>t(73632)),_N_E=e.O()}]);
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.