(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1717],{27719:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var o=n(31519),r=(n(92212),n(70079),n(33790)),c=n(84430);function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function l(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?a(Object(n),!0).forEach((function(t){(0,o.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function i(e){const t=t=>(0,c.tZ)(e,l({},t));return t.getLayout=e.getLayout,t.getInitialProps=async t=>{const{AppTree:n,req:o,res:c}=t;t.apolloClient=(0,r.ZP)(null,{req:o});const{apolloClient:a}=t;let i={};e.getInitialProps&&(i=await e.getInitialProps(t));const s=a.cache.extract();return a.toJSON=()=>null,l(l({},i),{},{apolloState:s,apolloClient:a})},t.defaultProps={apolloClient:null,apolloState:null},t}},11845:function(e,t,n){"use strict";n.d(t,{a:function(){return c}});n(25607),n(55715),n(45355);var o=n(1303),r=n(92074);const c=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"fashionunited.com";return e.replace(/https?:\/\/localhost(:\d+)?/,"https://local.fashionunited.ie").replace(/(-(au|dashboard)(\.))?((au|dashboard)\.)?[^./]+\.((com\.[^.:]+)|([^.:]+))($|(?=:))/,"$3".concat(t)).replace(/\/\/review-([^.]+?)(-pwa)?\./,"//review-$1-pwa.")},a=e=>e.get("x-forwarded-port")?":".concat(e.get("x-forwarded-port")):"",l=()=>window.location.port?":".concat(window.location.port):"";t.Z=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return n=>{let{req:i,res:s,query:u}=n;const p=i?i.locale:window.__NEXT_DATA__.props.locale,d=o.ZP.findAndGetUrls(e,u).urls.as,f=i?i.get("host"):window.location.hostname,w=i?a(i):l(),h="https://".concat(f).concat(w),b=c(h);return[...t,"en-US"].includes(p)||"localhost"===f||(0,r.Z)(d,s,b),{}}}},92074:function(e,t,n){"use strict";n(25607);t.Z=(e,t,n)=>{const o="".concat(n).concat(e);t?t.finished||(t.writeHead(301,{Location:o}),t.end()):window.location.replace(o)}},74194:function(e,t,n){"use strict";n.r(t);n(70079);var o=n(76678),r=n(11291),c=n.n(r),a=n(56400),l=n(27719),i=n(11845),s=n(41142),u=n(84430);const p=c()((()=>Promise.all([n.e(9188),n.e(3218),n.e(6613),n.e(1133),n.e(7254),n.e(9664),n.e(1078)]).then(n.bind(n,49577))),{ssr:!0,loading:s.Z,loadableGenerated:{webpack:()=>[49577]}}),d=c()((()=>Promise.all([n.e(9188),n.e(5309),n.e(9561),n.e(1874),n.e(3267),n.e(3218),n.e(4609),n.e(6613),n.e(1133),n.e(9664),n.e(8392),n.e(6887)]).then(n.bind(n,90567))),{ssr:!0,loading:s.Z,loadableGenerated:{webpack:()=>[90567]}}),f=()=>{const{query:{slug:e}}=(0,o.useRouter)(),{locale:t}=(0,a.A)();return(0,u.tZ)(d,{slug:e,locale:t})};f.getLayout=e=>(0,u.tZ)(p,{children:e}),f.getInitialProps=(0,i.Z)("company-profile");const w=(0,l.Z)(f);t.default=w},45133:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/company-profile",function(){return n(74194)}])},92212:function(e,t,n){"use strict";var o=n(46448),r=n(917);o({target:"URL",proto:!0,enumerable:!0},{toJSON:function(){return r(URL.prototype.toString,this)}})}},function(e){e.O(0,[9774,2888,179],(function(){return t=45133,e(e.s=t);var t}));var t=e.O();_N_E=t}]);
//# sourceMappingURL=company-profile-79c9faf6292c8aa0.js.map