5 lines
15 KiB
JavaScript
5 lines
15 KiB
JavaScript
;!function(){try { var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&((e._debugIds|| (e._debugIds={}))[n]="db8a9e5e-3e12-4838-fb62-a2a7d2502480")}catch(e){}}();
|
|
module.exports=[193695,(a,b,c)=>{b.exports=a.x("next/dist/shared/lib/no-fallback-error.external.js",()=>require("next/dist/shared/lib/no-fallback-error.external.js"))},994367,a=>{a.n(a.i(216893))},298936,a=>{a.n(a.i(55385))},711681,a=>{a.n(a.i(539051))},153884,a=>{a.n(a.i(932922))},727894,a=>{a.n(a.i(787368))},530419,a=>{a.n(a.i(627641))},999040,a=>{a.n(a.i(144505))},727501,a=>{a.n(a.i(825138))},612641,a=>{"use strict";a.i(909547),a.s([])},504784,a=>{"use strict";a.s(["default",()=>b]);let b=(0,a.i(860211).registerClientReference)(function(){throw Error("Attempted to call the default export of [project]/components/ObfuscatedEmail.tsx <module evaluation> from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/components/ObfuscatedEmail.tsx <module evaluation>","default")},228672,a=>{"use strict";a.s(["default",()=>b]);let b=(0,a.i(860211).registerClientReference)(function(){throw Error("Attempted to call the default export of [project]/components/ObfuscatedEmail.tsx from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/components/ObfuscatedEmail.tsx","default")},317417,a=>{"use strict";a.i(504784);var b=a.i(228672);a.n(b)},357837,a=>{"use strict";var b=a.i(998511);let c={horizontalrule:(0,b.jsx)("hr",{})},d={linebreak:(0,b.jsx)("br",{})};var e=a.i(488923);a.i(783505);var f=a.i(410265);let g={paragraph:({node:a,nodesToJSX:c})=>{let d=c({nodes:a.children});return d?.length?(0,b.jsx)("p",{children:d}):(0,b.jsx)("p",{children:(0,b.jsx)("br",{})})},text:({node:a})=>{let c=a.text;return a.format&f.NodeFormat.IS_BOLD&&(c=(0,b.jsx)("strong",{children:c})),a.format&f.NodeFormat.IS_ITALIC&&(c=(0,b.jsx)("em",{children:c})),a.format&f.NodeFormat.IS_STRIKETHROUGH&&(c=(0,b.jsx)("span",{style:{textDecoration:"line-through"},children:c})),a.format&f.NodeFormat.IS_UNDERLINE&&(c=(0,b.jsx)("span",{style:{textDecoration:"underline"},children:c})),a.format&f.NodeFormat.IS_CODE&&(c=(0,b.jsx)("code",{children:c})),a.format&f.NodeFormat.IS_SUBSCRIPT&&(c=(0,b.jsx)("sub",{children:c})),a.format&f.NodeFormat.IS_SUPERSCRIPT&&(c=(0,b.jsx)("sup",{children:c})),c},...d,quote:({node:a,nodesToJSX:c})=>{let d=c({nodes:a.children});return(0,b.jsx)("blockquote",{children:d})},table:({node:a,nodesToJSX:c})=>{let d=c({nodes:a.children});return(0,b.jsx)("div",{className:"lexical-table-container",children:(0,b.jsx)("table",{className:"lexical-table",style:{borderCollapse:"collapse"},children:(0,b.jsx)("tbody",{children:d})})})},tablecell:({node:a,nodesToJSX:c})=>{let d=c({nodes:a.children}),e=a.headerState>0?"th":"td",f=`lexical-table-cell-header-${a.headerState}`,g={backgroundColor:a.backgroundColor||void 0,border:"1px solid #ccc",padding:"8px"},h=a.colSpan&&a.colSpan>1?a.colSpan:void 0,i=a.rowSpan&&a.rowSpan>1?a.rowSpan:void 0;return(0,b.jsx)(e,{className:`lexical-table-cell ${f}`,colSpan:h,rowSpan:i,style:g,children:d})},tablerow:({node:a,nodesToJSX:c})=>{let d=c({nodes:a.children});return(0,b.jsx)("tr",{className:"lexical-table-row",children:d})},heading:({node:a,nodesToJSX:c})=>{let d=c({nodes:a.children}),e=a.tag;return(0,b.jsx)(e,{children:d})},...c,list:({node:a,nodesToJSX:c})=>{let d=c({nodes:a.children}),e=a.tag;return(0,b.jsx)(e,{className:`list-${a?.listType}`,children:d})},listitem:({node:a,nodesToJSX:c,parent:d})=>{let f=a.children.some(a=>"list"===a.type),g=c({nodes:a.children});if(!("listType"in d)||d?.listType!=="check")return(0,b.jsx)("li",{className:`${f?"nestedListItem":""}`,style:f?{listStyleType:"none"}:void 0,value:a?.value,children:g});{let c=(0,e.v4)();return(0,b.jsx)("li",{"aria-checked":a.checked?"true":"false",className:`list-item-checkbox${a.checked?" list-item-checkbox-checked":" list-item-checkbox-unchecked"}${f?" nestedListItem":""}`,role:"checkbox",style:{listStyleType:"none"},tabIndex:-1,value:a?.value,children:f?g:(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)("input",{checked:a.checked,id:c,readOnly:!0,type:"checkbox"}),(0,b.jsx)("label",{htmlFor:c,children:g}),(0,b.jsx)("br",{})]})})}},...(({internalDocToHref:a})=>({autolink:({node:a,nodesToJSX:c})=>{let d=c({nodes:a.children}),e=a.fields.newTab?"noopener noreferrer":void 0,f=a.fields.newTab?"_blank":void 0;return(0,b.jsx)("a",{href:a.fields.url,rel:e,target:f,children:d})},link:({node:c,nodesToJSX:d})=>{let e=d({nodes:c.children}),f=c.fields.newTab?"noopener noreferrer":void 0,g=c.fields.newTab?"_blank":void 0,h=c.fields.url??"";return"internal"===c.fields.linkType&&(a?h=a({linkNode:c}):(console.error("Lexical => JSX converter: Link converter: found internal link, but internalDocToHref is not provided"),h="#")),(0,b.jsx)("a",{href:h,rel:f,target:g,children:e})}}))({}),upload:({node:a})=>{if("object"!=typeof a.value)return null;let c=a.value,d=a.fields?.alt||c?.alt||"",e=c.url;if(!c.mimeType.startsWith("image"))return(0,b.jsx)("a",{href:e,rel:"noopener noreferrer",children:c.filename});if(!c.sizes||!Object.keys(c.sizes).length)return(0,b.jsx)("img",{alt:d,height:c.height,src:e,width:c.width});let f=[];for(let a in c.sizes){let d=c.sizes[a];if(!d||!d.width||!d.height||!d.mimeType||!d.filesize||!d.filename||!d.url)continue;let e=d?.url;f.push((0,b.jsx)("source",{media:`(max-width: ${d.width}px)`,srcSet:e,type:d.mimeType},a))}return f.push((0,b.jsx)("img",{alt:d,height:c?.height,src:e,width:c?.width},"image")),(0,b.jsx)("picture",{children:f})},tab:" "};a.s(["defaultJSXConverters",0,g],357837)},174881,a=>{"use strict";var b=a.i(998511),c=a.i(783505),d=a.i(357837),e=a.i(954324);a.s(["RichText",0,({className:a,converters:f,data:g,disableContainer:h,disableIndent:i,disableTextAlign:j})=>{if(!g)return null;let k={};k=f?"function"==typeof f?f({defaultConverters:d.defaultJSXConverters}):f:d.defaultJSXConverters;let l=g&&!Array.isArray(g)&&"object"==typeof g&&"root"in g&&function({converters:a,data:d,disableIndent:f,disableTextAlign:g}){return(0,e.hasText)(d)?function a({converters:d,disableIndent:e,disableTextAlign:f,nodes:g,parent:h}){let i=d.unknown;return g.map((g,j)=>{let k;"block"===g.type?(k=d?.blocks?.[g?.fields?.blockType])||i||console.error(`Lexical => JSX converter: Blocks converter: found ${g?.fields?.blockType} block, but no converter is provided`):"inlineBlock"===g.type?(k=d?.inlineBlocks?.[g?.fields?.blockType])||i||console.error(`Lexical => JSX converter: Inline Blocks converter: found ${g?.fields?.blockType} inline block, but no converter is provided`):k=d[g.type];try{let l;!k&&i&&(k=i),l=k?"function"==typeof k?k({childIndex:j,converters:d,node:g,nodesToJSX:b=>a({converters:b.converters??d,disableIndent:b.disableIndent??e,disableTextAlign:b.disableTextAlign??f,nodes:b.nodes,parent:b.parent??{...g,parent:h}}),parent:h}):k:(0,b.jsx)("span",{children:"unknown node"},j);let m={};if(!f&&(!Array.isArray(f)||!f?.includes(g.type))&&"format"in g&&g.format)switch(g.format){case"center":m.textAlign="center";break;case"end":case"right":m.textAlign="right";break;case"justify":m.textAlign="justify";break;case"left":break;case"start":m.textAlign="left"}if(!e&&(!Array.isArray(e)||!e?.includes(g.type))&&"indent"in g&&g.indent&&"listitem"!==g.type&&(m.paddingInlineStart=`${40*Number(g.indent)}px`),c.default.isValidElement(l)){if(m.textAlign||m.paddingInlineStart){let a={...m,...l?.props?.style??{}};return c.default.cloneElement(l,{key:j,style:a})}return c.default.cloneElement(l,{key:j})}return l}catch(a){return console.error("Error converting lexical node to JSX:",a,"node:",g),null}}).filter(Boolean)}({converters:a,disableIndent:f,disableTextAlign:g,nodes:d?.root?.children,parent:d?.root}):(0,b.jsx)(b.Fragment,{})}({converters:k,data:g,disableIndent:i,disableTextAlign:j});return h?(0,b.jsx)(b.Fragment,{children:l}):(0,b.jsx)("div",{className:a??"payload-richtext",children:l})}],174881)},156733,a=>{"use strict";a.s(["default",()=>b]);let b=(0,a.i(860211).registerClientReference)(function(){throw Error("Attempted to call the default export of [project]/components/ObfuscatedPhone.tsx <module evaluation> from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/components/ObfuscatedPhone.tsx <module evaluation>","default")},512827,a=>{"use strict";a.s(["default",()=>b]);let b=(0,a.i(860211).registerClientReference)(function(){throw Error("Attempted to call the default export of [project]/components/ObfuscatedPhone.tsx from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/components/ObfuscatedPhone.tsx","default")},584381,a=>{"use strict";a.i(156733);var b=a.i(512827);a.n(b)},541818,a=>a.a(async(b,c)=>{try{var d=a.i(998511),e=a.i(357837),f=a.i(174881),g=a.i(122490),h=a.i(783505),i=a.i(482665),j=a.i(317417),k=a.i(584381),l=b([i]);[i]=l.then?(await l)():l;let n={...e.defaultJSXConverters,linebreak:()=>(0,d.jsx)("br",{}),text:({node:a})=>{var b,c;let e,f=a.text||"";if("string"==typeof f&&f.includes("\n")&&(b=f,c=`t-${(a.text||"").slice(0,8)}`,e=b.split("\n"),f=1===e.length?b:e.map((a,b)=>(0,d.jsxs)(h.Fragment,{children:[a,b<e.length-1&&(0,d.jsx)("br",{})]},`${c}-${b}`))),"string"==typeof f&&f.includes("@")){let a=/([a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,})/g;f=f.split(a).map((b,c)=>b.match(a)?(0,d.jsx)(j.default,{email:b},`e-${c}`):b)}if("string"==typeof f&&f.match(/\+\d+/)){let a=/(\+\d{1,4}[\d\s-]{5,15})/g;f=f.split(a).map((b,c)=>b.match(a)?(0,d.jsx)(k.default,{phone:b},`p-${c}`):b)}return f},upload:({node:a})=>(0,d.jsx)("div",{className:"relative w-full aspect-video my-8 rounded-3xl overflow-hidden shadow-2xl group",children:(0,d.jsx)(g.default,{src:a.value.url,alt:a.value.alt||"",fill:!0,className:"object-cover transition-transform duration-700 group-hover:scale-105"})}),blocks:i.allBlocks.reduce((a,b)=>{let c=b.render;if(!c)return a;let e=({node:a})=>(0,d.jsx)(c,{...a.fields});return{...a,[b.slug]:e,[`block-${b.slug}`]:e}},{})};function m({data:a,className:b,references:c}){return a?(0,d.jsx)("div",{className:b,children:(0,d.jsx)(f.RichText,{data:a,converters:n})}):null}a.s(["default",()=>m]),c()}catch(a){c(a)}},!1),310189,a=>a.a(async(b,c)=>{try{var d=a.i(998511);a.i(612641);var e=a.i(909547);a.i(280896);var f=a.i(873035),g=a.i(14906),h=a.i(277870),i=a.i(183751),j=a.i(838742),k=a.i(616496),l=a.i(596957),m=a.i(541818),n=a.i(630035),o=a.i(733009),p=b([k,m]);async function q({params:a}){let{locale:b,slug:c}=await a;if("de"!==b&&"en"!==b)return{};let d=await (0,k.getPageBySlug)(c,b);if(!d)return{};let e=await (0,l.mapSlugToFileSlug)(d.slug||c,b),f=await (0,l.mapFileSlugToTranslated)(e,"de"),g=await (0,l.mapFileSlugToTranslated)(e,"en"),h="de"===b?f:g;return{title:d.frontmatter.title,description:d.frontmatter.excerpt||"",alternates:{canonical:`${n.SITE_URL}/${b}/${h}`,languages:{de:`${n.SITE_URL}/de/${f}`,en:`${n.SITE_URL}/en/${g}`,"x-default":`${n.SITE_URL}/en/${g}`}},openGraph:{title:`${d.frontmatter.title} | E-TIB`,description:d.frontmatter.excerpt||"",url:`${n.SITE_URL}/${b}/${h}`},twitter:{card:"summary_large_image",title:`${d.frontmatter.title} | E-TIB`,description:d.frontmatter.excerpt||""}}}async function r(a){let{locale:b,slug:c}=await a.params;"de"!==b&&"en"!==b&&(0,e.notFound)(),(0,j.setRequestLocale)(b);let n=await (0,k.getPageBySlug)(c,b),p=await (0,i.getTranslations)("StandardPage");n||(0,e.notFound)();let q=await (0,l.mapSlugToFileSlug)(n.slug||c,b),r=await (0,l.mapFileSlugToTranslated)(q,b);return(r&&r!==c&&(0,e.redirect)(`/${b}/${r}`),"fullBleed"===n.frontmatter.layout)?(0,d.jsx)("div",{className:"flex flex-col min-h-screen",children:(0,d.jsx)(m.default,{data:n.content,className:""})}):(0,d.jsxs)("div",{className:"flex flex-col min-h-screen bg-white",children:[(0,d.jsxs)("section",{className:"bg-primary-dark text-white py-20 md:py-32 relative overflow-hidden",children:[(0,d.jsx)("div",{className:"absolute inset-0 opacity-20",children:(0,d.jsx)("div",{className:"absolute top-0 left-0 w-full h-full bg-[radial-gradient(circle_at_center,_var(--tw-gradient-stops))] from-accent via-transparent to-transparent"})}),(0,d.jsx)(f.Container,{className:"relative z-10",children:(0,d.jsxs)("div",{className:"max-w-4xl",children:[(0,d.jsx)(g.Badge,{variant:"accent",className:"mb-4 md:mb-6",children:p("badge")}),(0,d.jsx)(h.Heading,{level:1,className:"text-white mb-0",children:n.frontmatter.title})]})})]}),(0,d.jsx)("div",{className:"container mx-auto px-4 py-16 md:py-24",children:(0,d.jsxs)("div",{className:"max-w-4xl mx-auto",children:[n.frontmatter.excerpt&&(0,d.jsx)("div",{className:"mb-16",children:(0,d.jsx)("p",{className:"text-xl md:text-2xl text-text-primary leading-relaxed font-medium border-l-4 border-primary pl-8 py-2 italic",children:n.frontmatter.excerpt})}),(0,d.jsx)("div",{className:"prose prose-lg md:prose-xl max-w-none prose-headings:font-bold prose-headings:text-text-primary prose-p:text-text-secondary prose-p:leading-relaxed prose-a:text-primary prose-a:no-underline hover:prose-a:underline prose-img:rounded-2xl prose-img:shadow-2xl prose-blockquote:border-primary prose-blockquote:bg-primary/5 prose-blockquote:rounded-r-2xl prose-strong:text-primary",children:(0,d.jsx)(m.default,{data:n.content})}),(0,d.jsxs)("div",{className:"mt-24 p-8 md:p-12 bg-primary-dark rounded-3xl text-white shadow-2xl relative overflow-hidden group animate-slight-fade-in-from-bottom",children:[(0,d.jsx)("div",{className:"absolute top-0 right-0 w-64 h-full bg-accent/5 -skew-x-12 translate-x-1/2 transition-transform group-hover:translate-x-1/3"}),(0,d.jsxs)("div",{className:"relative z-10 max-w-2xl",children:[(0,d.jsx)("h3",{className:"text-2xl md:text-3xl font-bold mb-4",children:p("needHelp")}),(0,d.jsx)("p",{className:"text-lg text-white/70 mb-8",children:p("supportTeamAvailable")}),(0,d.jsxs)(o.default,{href:`/${b}/${"de"===b?"kontakt":"contact"}`,className:"inline-flex items-center px-8 py-4 bg-accent text-primary-dark font-bold rounded-full hover:bg-white transition-all duration-300 group/link",eventProperties:{location:"generic_page_support_cta",page_slug:c},children:[p("contactUs"),(0,d.jsx)("span",{className:"ml-2 transition-transform group-hover/link:translate-x-1",children:"→"})]})]})]})]})})]})}[k,m]=p.then?(await p)():p,a.s(["default",()=>r,"generateMetadata",()=>q]),c()}catch(a){c(a)}},!1)];
|
|
|
|
//# debugId=db8a9e5e-3e12-4838-fb62-a2a7d2502480
|
|
//# sourceMappingURL=%5Broot-of-the-server%5D__62f5c38c._.js.map
|