1import{u as E,r as d,y as C,a as L,w as T}from"./chunk-62JRHF6Z-KB6VTCrt.js";import{j as u}from"./jsx-runtime-DTOKuQSI.js";import{T as A}from"./index-BpfG2s5Z.js";import{p as B}from"./index-DZr7CG36.js";import{u as N}from"./index-AmuLLl52.js";import{S as R}from"./index-xTVE0MxB.js";import{F as f,T as U}from"./index-CaRK5EAS.js";import{H as _}from"./Heading-aCD5lM3z.js";import{B as S}from"./Box-e7wS1DaV.js";import{u as $,g as b}from"./clsx-DKAvHtrN.js";import{a as I,g as P}from"./index-D0KJN2N4.js";import"./index-BN6dPHVF.js";import"./features-BEDNeDJo.js";import"./seo-qXZV869q.js";const M=()=>{const t=E();return d.useMemo(()=>B(t.search),[t.search])||{}};var x={exports:{}},j;function G(){return j||(j=1,(function(t,i){(function(){var a=function(o){var r=document.getElementsByTagName("script")[0];r.parentNode.insertBefore(o,r)},l=function(o,r,n){var s;r&&typeof r!="function"&&(n=r.context||n,s=r.setup,r=r.callback);var e=document.createElement("script"),p=!1,c,m,g=function(){p||(p=!0,m(),r&&r.call(n,c))},h=function(){c=new Error(o||"EMPTY"),g()};if(e.readyState&&!("async"in e)){var w={loaded:!0,complete:!0},y=!1;m=function(){e.onreadystatechange=e.onerror=null},e.onreadystatechange=function(){var v=e.readyState;if(!c){if(!y&&w[v]&&(y=!0,a(e)),v==="loaded"&&(e.children,e.readyState==="loading"))return h();e.readyState==="complete"&&g()}},e.onerror=h,s&&s.call(n,e),e.src=o}else m=function(){e.onload=e.onerror=null},e.onerror=h,e.onload=g,e.async=!0,e.charset="utf-8",s&&s.call(n,e),e.src=o,a(e)};t.exports=l})()})(x)),x.exports}var J=G();const D=C(J),F=(t,i,a)=>{const[l,o]=d.useState("loading"),r=d.useRef(null);return d.useEffect(()=>{if(!t)return;let n=!1,s;const e=()=>{const c=r.current;c&&(s=new MutationObserver(()=>{c.childElementCount>0&&(o("loaded"),s?.disconnect())}),s.observe(c,{childList:!0}))},p=()=>{if(!n){if(!window.Grnhse){o("error");return}e(),window.Grnhse.Iframe.load(t,i[window.Grnhse.Const.SOURCE_TOKEN]||"N26_CAREERS")}};return window.Grnhse?p():D(a,c=>{if(!n){if(c){o("error");return}p()}}),()=>{n=!0,s?.disconnect()}},[t,i,a]),{iframeStatus:l,containerRef:r}},O=({job:t,greenhouseIFrameUrl:i})=>{const{jobID:a}=L(),l=M(),o=N(),{iframeStatus:r,containerRef:n}=F(a,l,i);return u.jsx(f,{justify:"center",px:12,py:32,children:u.jsxs(f,{direction:"col",width:"full",className:"max-w-4xl",children:[u.jsxs(f,{direction:"col",gap:8,px:24,children:[u.jsx(A,{"data-testid":"back-to-job-post-button",text:o("careersJobApplicationBackButton"),url:`/careers/positions/${a}`,StartIcon:"arrowLeft",fontColor:"grayStrong"}),u.jsx(_,{level:1,variant:"small",children:t.title}),r==="error"&&u.jsx(U,{color:"gray",variant:"small",children:o("careersJobApplicationLoadErrorText")})]}),u.jsxs(f,{direction:"col",gap:16,children:[r==="loading"&&u.jsx(S,{pt:16,children:u.jsx(R,{height:600})}),u.jsx(S,{id:"grnhse_app",width:"full",ref:n})]})]})})},oe=({data:t})=>{if(!t)return[];const{post:i,jobID:a}=t,{appBaseUrl:l}=b(),o=i.location.join(", "),r=`${l}/en-eu/careers/positions/${a}/apply`,n=`N26 is looking for a new ${i.title} for our ${i.department} department in ${o}. Apply now!`,s=`Apply as a ${i.title} at N26`,e=I({pageTitle:s,ogTitle:s,ogDescription:n,shouldIndex:!0,ogUrl:r,seoDescription:n},l),c={tagName:"link",rel:"canonical",href:P({slug:`careers/positions/${a}/apply`,country:"eu",language:"en",baseUrl:l})};return[...e,c]},ne=T(function({loaderData:i}){const{post:a}=i,{greenhouseJobBoard:l}=$();return u.jsx(O,{job:a,greenhouseIFrameUrl:l.iframeUrl})});export{ne as default,oe as meta};
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.