(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[274],{7799:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/jobAdsRouting/[domain]/[jobId]/[locale]/[payload]",function(){return n(7972)}])},638:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(6856).Z;Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=u.default,a=(null==t?void 0:t.suspense)?{}:{loading:function(e){e.error,e.isLoading;return e.pastDelay,null}};r(e,Promise)?a.loader=function(){return e}:"function"===typeof e?a.loader=e:"object"===typeof e&&(a=o({},a,e));!1;(a=o({},a,t)).suspense&&(delete a.ssr,delete a.loading);a.loadableGenerated&&delete(a=o({},a,a.loadableGenerated)).loadableGenerated;if("boolean"===typeof a.ssr&&!a.suspense){if(!a.ssr)return delete a.ssr,i(n,a);delete a.ssr}return n(a)},t.noSSR=i;var o=n(6495).Z,a=n(2648).Z,u=(a(n(7294)),a(n(4302)));function i(e,t){return delete t.webpack,delete t.modules,e(t)}("function"===typeof t.default||"object"===typeof t.default&&null!==t.default)&&"undefined"===typeof t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},6319:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LoadableContext=void 0;var r=(0,n(2648).Z)(n(7294)).default.createContext(null);t.LoadableContext=r},4302:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(9658).Z,o=n(7222).Z;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=n(6495).Z,u=(0,n(2648).Z)(n(7294)),i=n(6319),l=n(7294).useSyncExternalStore,c=[],s=[],d=!1;function f(e){var t=e(),n={loading:!0,loaded:null,error:null};return n.promise=t.then((function(e){return n.loading=!1,n.loaded=e,e})).catch((function(e){throw n.loading=!1,n.error=e,e})),n}var h=function(){function e(t,n){r(this,e),this._loadFn=t,this._opts=n,this._callbacks=new Set,this._delay=null,this._timeout=null,this.retry()}return o(e,[{key:"promise",value:function(){return this._res.promise}},{key:"retry",value:function(){var e=this;this._clearTimeouts(),this._res=this._loadFn(this._opts.loader),this._state={pastDelay:!1,timedOut:!1};var t=this._res,n=this._opts;t.loading&&("number"===typeof n.delay&&(0===n.delay?this._state.pastDelay=!0:this._delay=setTimeout((function(){e._update({pastDelay:!0})}),n.delay)),"number"===typeof n.timeout&&(this._timeout=setTimeout((function(){e._update({timedOut:!0})}),n.timeout))),this._res.promise.then((function(){e._update({}),e._clearTimeouts()})).catch((function(t){e._update({}),e._clearTimeouts()})),this._update({})}},{key:"_update",value:function(e){this._state=a({},this._state,{error:this._res.error,loaded:this._res.loaded,loading:this._res.loading},e),this._callbacks.forEach((function(e){return e()}))}},{key:"_clearTimeouts",value:function(){clearTimeout(this._delay),clearTimeout(this._timeout)}},{key:"getCurrentValue",value:function(){return this._state}},{key:"subscribe",value:function(e){var t=this;return this._callbacks.add(e),function(){t._callbacks.delete(e)}}}]),e}();function _(e){return function(e,t){var n=function(){if(!c){var t=new h(e,o);c={getCurrentValue:t.getCurrentValue.bind(t),subscribe:t.subscribe.bind(t),retry:t.retry.bind(t),promise:t.promise.bind(t)}}return c.promise()},r=function(){n();var e=u.default.useContext(i.LoadableContext);e&&Array.isArray(o.modules)&&o.modules.forEach((function(t){e(t)}))},o=Object.assign({loader:null,loading:null,delay:200,timeout:null,webpack:null,modules:null,suspense:!1},t);o.suspense&&(o.lazy=u.default.lazy(o.loader));var c=null;if(!d){var f=o.webpack?o.webpack():o.modules;f&&s.push((function(e){var t=!0,r=!1,o=void 0;try{for(var a,u=f[Symbol.iterator]();!(t=(a=u.next()).done);t=!0){var i=a.value;if(-1!==e.indexOf(i))return n()}}catch(l){r=!0,o=l}finally{try{t||null==u.return||u.return()}finally{if(r)throw o}}}))}var _=o.suspense?function(e,t){return r(),u.default.createElement(o.lazy,a({},e,{ref:t}))}:function(e,t){r();var n=l(c.subscribe,c.getCurrentValue,c.getCurrentValue);return u.default.useImperativeHandle(t,(function(){return{retry:c.retry}}),[]),u.default.useMemo((function(){return n.loading||n.error?u.default.createElement(o.loading,{isLoading:n.loading,pastDelay:n.pastDelay,timedOut:n.timedOut,error:n.error,retry:c.retry}):n.loaded?u.default.createElement((t=n.loaded)&&t.__esModule?t.default:t,e):null;var t}),[e,n])};return _.preload=function(){return n()},_.displayName="LoadableComponent",u.default.forwardRef(_)}(f,e)}function p(e,t){for(var n=[];e.length;){var r=e.pop();n.push(r(t))}return Promise.all(n).then((function(){if(e.length)return p(e,t)}))}_.preloadAll=function(){return new Promise((function(e,t){p(c).then(e,t)}))},_.preloadReady=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return new Promise((function(t){var n=function(){return d=!0,t()};p(s,e).then(n,n)}))},window.__NEXT_PRELOADREADY=_.preloadReady;var v=_;t.default=v},9006:function(e,t,n){"use strict";n.d(t,{TH:function(){return y}});var r=n(7568),o=n(4924),a=n(6042),u=n(9396),i=n(9815),l=n(7582),c=n(3454),s=c.env.SSR_API_HOST,d=c.env.SSR_I18N_ORIGIN,f=c.env.SSR_I18N_ORIGIN_V,h=n(1163),_=n(3454),p=(_.env.SSR_DOMAIN_OVERRIDE,Boolean(_.env.SSR_NGROK_ENABLED),"en"),v=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"{{lng}}";return"".concat(d,"/translates/").concat(e,"/").concat(t,".json").concat(f?"?v=".concat(f):"")},m={},y=(function(){var e=(0,r.Z)((function(e){var t;return(0,l.__generator)(this,(function(n){switch(n.label){case 0:return t=e.includes(p)?e:(0,i.Z)(e).concat([p]),[4,Promise.all(t.map((function(e){return m[e]?m[e]:fetch(v("page",e)).then((function(e){return e.json()})).then((function(t){return m[e]=t,t})).catch((function(t){return console.error("Failed to load locale: ".concat(e,". "),t),m.en?m.en:fetch(v("page",p)).then((function(e){return e.json()})).then((function(e){return m.en=e,e})).catch((function(e){throw console.error("Failed to load fallback locale: ".concat(p,". "),e),e}))}))})))];case 1:return[2,n.sent().reduce((function(e,n,r){return(0,u.Z)((0,a.Z)({},e),(0,o.Z)({},t[r],{common:n}))}),{})]}}))}))}(),function(){var e=(0,r.Z)((function(e,t){return(0,l.__generator)(this,(function(n){return[2,fetch("".concat(s,"/widget-api/application/layout?").concat(new URLSearchParams({jobId:e,domain:t}))).then((function(e){return e.json()})).then((function(e){var t,n=e.data;return null===n||void 0===n||null===(t=n.data)||void 0===t?void 0:t.id}))]}))}))}(),function(){var e=(0,r.Z)((function(e){var t,n,r;return(0,l.__generator)(this,(function(o){return t=e.jobId,n=e.locale,r=e.userId,[2,fetch("".concat(s,"/widgets/application/job-info?").concat(new URLSearchParams({userId:r,jobId:t,locale:n}))).then((function(e){return e.json()})).then((function(e){return e.data.data.job}))]}))}))}(),function(e,t){var n=(0,h.useRouter)(),r=n.query,o=n.asPath;if(null===t||void 0===t?void 0:t.url){var a=new URL(t.url);return{host:a.host,hostname:a.hostname,href:a.href,origin:a.origin,pathname:a.pathname,protocol:a.protocol,search:a.search}}var u="https:",i="?".concat(new URLSearchParams(r).toString()),l="".concat(u,"/").concat(o);return{pathname:o.replace(/\?.*/g,""),origin:e,search:i,href:l,protocol:u}})},9005:function(e,t,n){"use strict";n.r(t);var r=n(5152),o=n.n(r),a=function(e){return e.children};t.default=o()((function(){return Promise.resolve(a)}),{ssr:!1})},7972:function(e,t,n){"use strict";n.r(t),n.d(t,{__N_SSG:function(){return v},default:function(){return m}});var r,o=n(4924),a=n(6042),u=n(9396),i=n(5893),l=n(4523),c=n(9006),s=n(9008),d=n.n(s),f=n(9005),h=n(5675),_=n.n(h),p=(r={},(0,o.Z)(r,l.nOm.HeadInjection,d()),(0,o.Z)(r,l.nOm.ClientOnly,f.default),(0,o.Z)(r,l.nOm.Image,_()),r),v=!0;function m(e){var t=e.data,n=e.domain,r=e.payload,o=(0,c.TH)(n,r);return(0,i.jsx)(l.T3C,(0,u.Z)((0,a.Z)({},t),{location:o,componentOverrides:p}))}},5152:function(e,t,n){e.exports=n(638)},2868:function(){},4777:function(){},9830:function(){},209:function(){}},function(e){e.O(0,[774,580,888,179],(function(){return t=7799,e(e.s=t);var t}));var t=e.O();_N_E=t}]);