(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3161,5114],{49599:function(e,n,t){"use strict";t.d(n,{Z:function(){return s}});var r=t(71002),a=t(13882);function o(e){return(0,a.Z)(1,arguments),e instanceof Date||"object"===(0,r.Z)(e)&&"[object Date]"===Object.prototype.toString.call(e)}var i=t(19013);function s(e){if((0,a.Z)(1,arguments),!o(e)&&"number"!==typeof e)return!1;var n=(0,i.Z)(e);return!isNaN(Number(n))}},93746:function(e,n,t){"use strict";var r=t(65988),a=t.n(r),o=t(67294),i=t(25135),s=t(25860),u=t(28216),c=t(97632),l=t(76325),d=t(73196),f=t(59226),p=t(41151),m=t(85893);n.Z=(0,u.$j)((function(e){return{profile_attributes:e.profile_attributes,my_profile:e.my_profile}}),{getDreamApplicationQuestions:c.bN,getProfile:d.Ai})((function(e){e.profile_attributes;var n,t,r,u,c,d,b,x,v,g,h=e.getProfile,j=e.getDreamApplicationQuestions,w=e.isMobile,_=e.my_profile,y=null===(n=_.data)||void 0===n||null===(t=n.data)||void 0===t||null===(r=t.workforce_details)||void 0===r?void 0:r.dream_application_completion_stage,k=null===(u=_.data)||void 0===u||null===(c=u.data)||void 0===c||null===(d=c.workforce_details)||void 0===d?void 0:d.onboarding_completion_stage,P=(null===(b=_.data)||void 0===b||null===(x=b.data)||void 0===x||null===(v=x.workforce_details)||void 0===v?void 0:v.dream_application_completion_percentage)||0,C=(0,o.useState)(!1),A=C[0],G=C[1];return(0,f.xb)(null===(g=_.data)||void 0===g?void 0:g.data)||100===P||"completed"===k&&"completed"===y?(0,m.jsx)(m.Fragment,{}):(0,m.jsxs)("div",{className:"jsx-3181808039 "+((w?"mb-5":"mb-4")||""),children:[(0,m.jsxs)("div",{className:"jsx-3181808039 shadow br-12 bg-white",children:[(0,m.jsxs)("div",{className:"jsx-3181808039 pt-5 pb-4 px-4",children:[(0,m.jsxs)("div",{className:"jsx-3181808039 d-flex px-3",children:[(0,m.jsxs)("div",{className:"jsx-3181808039 ",children:[(0,m.jsxs)("div",{className:"jsx-3181808039 font-18px bold black mb-2",children:["Dream Application",(0,m.jsx)("span",{className:"jsx-3181808039",children:(0,m.jsx)(l.Z,{src:"/images/stars.svg",height:"21px",width:"21px",alt:"stars"})})]}),(0,m.jsx)("div",{className:"jsx-3181808039 gray pb-4 font-14px",children:"Let us know your professional details so that we can match you with the perfect fit opportunities!"})]}),(0,m.jsx)("div",{className:"jsx-3181808039 ml-auto",children:(0,m.jsx)("div",{style:{width:"64px"},className:"jsx-3181808039",children:(0,m.jsx)(l.Z,{src:"/images/todo-list.svg",height:"64px",width:"64px",alt:"todo list"})})})]}),(0,m.jsxs)("div",{className:"jsx-3181808039 medium my-4 px-3",children:[(0,m.jsxs)("p",{className:"jsx-3181808039 font-12px",children:[P,"% Complete"]}),(0,m.jsx)(i.Z,{steps:100,currentStep:P})]}),(0,m.jsx)("div",{className:"jsx-3181808039 px-3 d-flex",children:(0,m.jsx)("button",{onClick:function(e){var n,t,r;e.preventDefault(),(0,p.RI)({event:"da_complete_now_clicked",action:"click",page_name:"Explore Page"});var a=null===(n=_.data)||void 0===n||null===(t=n.data)||void 0===t||null===(r=t.workforce_details)||void 0===r?void 0:r.dream_application_completion_stage;j({category_uid:"dream_application",screen_uid:a}),G(!0)},className:"jsx-3181808039 border-blue bg-blue text-white font-14px semi-bold br-8 button-style ml-auto",children:"Complete Profile"})})]}),A&&(0,m.jsx)(s.Z,{setshowQnA:function(e){h(),G(e)}})]}),(0,m.jsx)(a(),{id:"3181808039",children:[".button-style.jsx-3181808039{height:40px;width:100%;}"]})]})}))},45976:function(e,n,t){"use strict";t.d(n,{Z:function(){return i},Y:function(){return s}});var r=t(5152),a=t(35104),o=t(85893),i=(0,r.default)((function(){return Promise.all([t.e(9351),t.e(9546),t.e(2245)]).then(t.bind(t,92245))}),{loading:function(){return(0,o.jsx)(a.sP,{})},loadableGenerated:{webpack:function(){return[92245]},modules:["../components/templates/MobileLogin/index.js -> ./Otp"]}}),s=(0,r.default)((function(){return Promise.all([t.e(9351),t.e(5558)]).then(t.bind(t,5558))}),{loading:function(){return(0,o.jsx)(a.sP,{})},loadableGenerated:{webpack:function(){return[5558]},modules:["../components/templates/MobileLogin/index.js -> ./Phone"]}})},48775:function(e,n,t){"use strict";t.d(n,{mR:function(){return s},yG:function(){return P},rN:function(){return b},gl:function(){return x},$3:function(){return v},az:function(){return h},Dp:function(){return j},AC:function(){return y},kA:function(){return _},qA:function(){return w},Bc:function(){return i},Ce:function(){return u},SK:function(){return p},Lz:function(){return f},xb:function(){return k},GG:function(){return g},Z4:function(){return c.Z},YM:function(){return c.Y},NZ:function(){return m},Cl:function(){return C},jZ:function(){return l},bo:function(){return d}});var r=t(5152),a=t(35104),o=t(85893),i=((0,r.default)((function(){return Promise.all([t.e(9351),t.e(9546),t.e(3609),t.e(6617)]).then(t.bind(t,52702))}),{loading:function(){return(0,o.jsx)(a.sP,{})},loadableGenerated:{webpack:function(){return[52702]},modules:["../components/templates/Onboarding/index.js -> ./MyDefinition"]}}),(0,r.default)((function(){return Promise.all([t.e(3609),t.e(6606)]).then(t.bind(t,97711))}),{loading:function(){return(0,o.jsx)(a.sP,{})},loadableGenerated:{webpack:function(){return[97711]},modules:["../components/templates/Onboarding/index.js -> ./CollegeDetails"]}})),s=((0,r.default)((function(){return Promise.all([t.e(9351),t.e(5443)]).then(t.bind(t,85443))}),{loading:function(){return(0,o.jsx)(a.sP,{})},loadableGenerated:{webpack:function(){return[85443]},modules:["../components/templates/Onboarding/index.js -> ./Address"]}}),(0,r.default)((function(){return Promise.all([t.e(9351),t.e(9546),t.e(2666),t.e(3609),t.e(5774),t.e(7266),t.e(2855)]).then(t.bind(t,23983))}),{loading:function(){return(0,o.jsx)(a.sP,{})},loadableGenerated:{webpack:function(){return[23983]},modules:["../components/templates/Onboarding/index.js -> ./BasicDetails"]}}),(0,r.default)((function(){return Promise.all([t.e(9351),t.e(5680),t.e(6793),t.e(7838)]).then(t.bind(t,39448))}),{loading:function(){return(0,o.jsx)(a.sP,{})},loadableGenerated:{webpack:function(){return[39448]},modules:["../components/templates/Onboarding/index.js -> ./Account"]}})),u=(0,r.default)((function(){return Promise.all([t.e(9351),t.e(4218)]).then(t.bind(t,44218))}),{loading:function(){return(0,o.jsx)(a.sP,{})},loadableGenerated:{webpack:function(){return[44218]},modules:["../components/templates/Onboarding/index.js -> ./Account/email"]}}),c=t(45976),l=(0,r.default)((function(){return t.e(381).then(t.bind(t,10381))}),{loading:function(){return(0,o.jsx)(a.sP,{})},loadableGenerated:{webpack:function(){return[10381]},modules:["../components/templates/ApplicationOnboarding/index.js -> ./interview/telephonic"]}}),d=(0,r.default)((function(){return t.e(2267).then(t.bind(t,72267))}),{loading:function(){return(0,o.jsx)(a.sP,{})},loadableGenerated:{webpack:function(){return[72267]},modules:["../components/templates/ApplicationOnboarding/index.js -> ./training/webinar"]}}),f=((0,r.default)((function(){return Promise.all([t.e(9351),t.e(9828),t.e(5015)]).then(t.bind(t,75015))}),{loading:function(){return(0,o.jsx)(a.sP,{})},loadableGenerated:{webpack:function(){return[75015]},modules:["../components/templates/index.js -> ./Jobs"]}}),(0,r.default)((function(){return Promise.all([t.e(9351),t.e(9828),t.e(4841),t.e(7985),t.e(1397),t.e(1343)]).then(t.bind(t,91343))}),{loading:function(){return(0,o.jsx)(a.sP,{})},loadableGenerated:{webpack:function(){return[91343]},modules:["../components/templates/index.js -> ./JobDetails"]}})),p=((0,r.default)((function(){return t.e(1853).then(t.bind(t,91853))}),{loading:function(){return(0,o.jsx)(a.sP,{})},loadableGenerated:{webpack:function(){return[91853]},modules:["../components/templates/index.js -> ./MyJobs"]}}),(0,r.default)((function(){return Promise.all([t.e(9351),t.e(5680),t.e(6793),t.e(5312)]).then(t.bind(t,77660))}),{loading:function(){return(0,o.jsx)(a.sP,{})},loadableGenerated:{webpack:function(){return[77660]},modules:["../components/templates/index.js -> ./Login"]}}),(0,r.default)((function(){return Promise.all([t.e(9351),t.e(974)]).then(t.bind(t,70974))}),{loading:function(){return(0,o.jsx)(a.sP,{})},loadableGenerated:{webpack:function(){return[70974]},modules:["../components/templates/index.js -> ./Home"]}})),m=(0,r.default)((function(){return Promise.all([t.e(5445),t.e(9351),t.e(5338)]).then(t.bind(t,45338))}),{loading:function(){return(0,o.jsx)(a.sP,{})},loadableGenerated:{webpack:function(){return[45338]},modules:["../components/templates/index.js -> ./Profile"]}}),b=((0,r.default)((function(){return Promise.all([t.e(9351),t.e(2666),t.e(3609),t.e(7395),t.e(5774),t.e(6491),t.e(9828),t.e(5077),t.e(4514),t.e(5860),t.e(6137),t.e(5534),t.e(5925)]).then(t.bind(t,63316))}),{loading:function(){return(0,o.jsx)(a.sP,{})},loadableGenerated:{webpack:function(){return[63316]},modules:["../components/templates/index.js -> ./EditProfile"]}}),(0,r.default)((function(){return Promise.all([t.e(9351),t.e(5982)]).then(t.bind(t,45982))}),{loading:function(){return(0,o.jsx)(a.sP,{})},loadableGenerated:{webpack:function(){return[45982]},modules:["../components/templates/index.js -> ./office"]}}),(0,r.default)((function(){return Promise.all([t.e(9546),t.e(1614)]).then(t.bind(t,1614))}),{loading:function(){return(0,o.jsx)(a.sP,{})},loadableGenerated:{webpack:function(){return[1614]},modules:["../components/templates/index.js -> ./ApplicationHistory"]}})),x=(0,r.default)((function(){return Promise.all([t.e(9351),t.e(3609),t.e(2328)]).then(t.bind(t,65221))}),{loading:function(){return(0,o.jsx)(a.sP,{})},loadableGenerated:{webpack:function(){return[65221]},modules:["../components/templates/index.js -> ./CampusAmbassador"]}}),v=(0,r.default)((function(){return t.e(1144).then(t.bind(t,42287))}),{loading:function(){return(0,o.jsx)(a.sP,{})},loadableGenerated:{webpack:function(){return[42287]},modules:["../components/templates/index.js -> ./CATasks"]}}),g=(0,r.default)((function(){return Promise.all([t.e(9351),t.e(9546),t.e(4613)]).then(t.bind(t,34613))}),{loading:function(){return(0,o.jsx)(a.sP,{})},loadableGenerated:{webpack:function(){return[34613]},modules:["../components/templates/index.js -> ./MyReferrals"]}}),h=(0,r.default)((function(){return Promise.all([t.e(9351),t.e(5489)]).then(t.bind(t,25489))}),{loading:function(){return(0,o.jsx)(a.sP,{})},loadableGenerated:{webpack:function(){return[25489]},modules:["../components/templates/index.js -> ./Careers"]}}),j=(0,r.default)((function(){return Promise.all([t.e(9351),t.e(6479)]).then(t.bind(t,26479))}),{loading:function(){return(0,o.jsx)(a.sP,{})},loadableGenerated:{webpack:function(){return[26479]},modules:["../components/templates/index.js -> ./Categories/CategoriesTemplate"]}}),w=(0,r.default)((function(){return Promise.all([t.e(9351),t.e(4841),t.e(1397),t.e(5239)]).then(t.bind(t,87254))}),{loading:function(){return(0,o.jsx)(a.sP,{})},loadableGenerated:{webpack:function(){return[87254]},modules:["../components/templates/index.js -> ./Categories/SelectedCategory"]}}),_=(0,r.default)((function(){return t.e(2231).then(t.bind(t,2231))}),{loading:function(){return(0,o.jsx)(a.sP,{})},loadableGenerated:{webpack:function(){return[2231]},modules:["../components/templates/index.js -> ./Categories/Dashboard"]}}),y=(0,r.default)((function(){return Promise.all([t.e(9351),t.e(9249)]).then(t.bind(t,29249))}),{loading:function(){return(0,o.jsx)(a.sP,{})},loadableGenerated:{webpack:function(){return[29249]},modules:["../components/templates/index.js -> ./Categories/Applications"]}}),k=(0,r.default)((function(){return t.e(6998).then(t.bind(t,66998))}),{loading:function(){return(0,o.jsx)(a.sP,{})},loadableGenerated:{webpack:function(){return[66998]},modules:["../components/templates/index.js -> ./MobileLogin/loginScreens"]}}),P=(0,r.default)((function(){return t.e(4664).then(t.bind(t,44841))}),{loading:function(){return(0,o.jsx)(a.sP,{})},loadableGenerated:{webpack:function(){return[44841]},modules:["../components/templates/index.js -> ./ApplicationDetails"]}}),C=(0,r.default)((function(){return Promise.all([t.e(9351),t.e(9546),t.e(9341)]).then(t.bind(t,49341))}),{loading:function(){return(0,o.jsx)(a.sP,{})},loadableGenerated:{webpack:function(){return[49341]},modules:["../components/templates/index.js -> ./Referrals"]}})},78615:function(e,n,t){"use strict";t.r(n);var r=t(30266),a=t(809),o=t.n(a),i=t(67294),s=t(9008),u=t(28216),c=t(84152),l=t(48775),d=t(45387),f=t(50844),p=t(96126),m=t(52360),b=t(93746),x=t(59226),v=t(85893),g=function(e){var n,t,r,a=e.isServer,o=e.getCategories,u=(e.webView,e.my_profile),c=e.currentUser,g=null===c||void 0===c||null===(n=c.data)||void 0===n||null===(t=n.user)||void 0===t||null===(r=t.permissions)||void 0===r?void 0:r.awign,h=(0,i.useContext)(f.I).isMobile;return(0,i.useEffect)((function(){(0,m.JP)("explore_page",u.data),(0,p.BG)("explore_page",u.data),window.scrollTo(0,0),a||o()}),[]),!(0,x.xb)(c)&&null!==g&&void 0!==g&&g.includes("hide_explore_section")?(0,v.jsx)(d.Zn,{title:"You do not have the access to this page"}):(0,v.jsxs)(v.Fragment,{children:[(0,v.jsxs)(s.default,{children:[(0,v.jsx)("title",{children:"Explore Part Time/Full Time, WFH/Onfield Work Opportunities By Categories | Awign"}),(0,v.jsx)("meta",{name:"description",content:"Explore top gigs and jobs across various categories on Awign. Find flexible work opportunities and start your career with leading companies and start-ups."}),(0,v.jsx)("link",{rel:"canonical",href:"".concat("https://www.awign.com","/categories")})]}),(0,v.jsxs)(d.W2,{bgtype:"bg-dark-white",children:[h&&(0,v.jsx)(b.Z,{isMobile:!0}),(0,v.jsx)(l.Dp,{})]})]})};g.getInitialProps=function(){var e=(0,r.Z)(o().mark((function e(n){return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!n.isServer){e.next=3;break}return e.next=3,n.store.dispatch((0,c.CP)(n.req));case 3:return e.abrupt("return",{isServer:n.isServer});case 4:case"end":return e.stop()}}),e)})));return function(n){return e.apply(this,arguments)}}();n.default=(0,u.$j)((function(e){return{my_profile:e.my_profile,currentUser:e.currentUser.data}}),{getCategories:c.CP})(g)},84152:function(e,n,t){"use strict";t.d(n,{CP:function(){return p},m7:function(){return m},r4:function(){return b},vY:function(){return x},ah:function(){return v}});var r=t(30266),a=t(809),o=t.n(a),i=t(37596),s=t(22240),u=t(73976),c=t(23753),l=t(43072),d=t(93328),f=t(59226),p=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return function(n,t){if(!t().categories.all_categories.data){var a=function(){var t=(0,r.Z)(o().mark((function t(){var r,a,d;return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,i.Z.getCategories(e);case 3:if(500!==(r=t.sent).status){t.next=6;break}throw r;case 6:return 401===r.status&&(n((0,c.C)("error",u.LB)),n((0,l.w7)())),t.next=9,r.json();case 9:if(a=t.sent,200===r.status){t.next=14;break}throw a;case 14:n({type:"".concat(s.aA,"_success"),payload:a});case 15:t.next=21;break;case 17:t.prev=17,t.t0=t.catch(0),d=t.t0&&t.t0.message?t.t0:{message:u.ET},n({type:"".concat(s.aA,"_failed"),payload:d});case 21:case"end":return t.stop()}}),t,null,[[0,17]])})));return function(){return t.apply(this,arguments)}}();return n({type:"".concat(s.aA,"_started")}),Promise.resolve(a())}}},m=function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return function(t,a){var d,f,p=a().categories.selected_category;if((null===(d=p.data)||void 0===d?void 0:d.uid)!==e&&(null===(f=p.data)||void 0===f?void 0:f.id)!==e&&e){var m=function(){var a=(0,r.Z)(o().mark((function r(){var a,d,f;return o().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.prev=0,r.next=3,i.Z.getCategoryDetails(n,e);case 3:if(500!==(a=r.sent).status){r.next=6;break}throw a;case 6:return 401===a.status&&(t((0,c.C)("error",u.LB)),t((0,l.w7)())),r.next=9,a.json();case 9:if(d=r.sent,200===a.status){r.next=14;break}throw d;case 14:t({type:"".concat(s.w2,"_success"),payload:d});case 15:r.next=21;break;case 17:r.prev=17,r.t0=r.catch(0),f=r.t0&&r.t0.message?r.t0:{message:u.ET},t({type:"".concat(s.w2,"_failed"),payload:f});case 21:case"end":return r.stop()}}),r,null,[[0,17]])})));return function(){return a.apply(this,arguments)}}();return t({type:"".concat(s.w2,"_started")}),Promise.resolve(m())}}},b=function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return function(t,a){var d,f,p,m=null===(d=a().currentUser.data)||void 0===d||null===(f=d.data)||void 0===f||null===(p=f.user)||void 0===p?void 0:p.id;if(m){var b=function(){var a=(0,r.Z)(o().mark((function r(){var a,d,f,p;return o().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return a={conditions:[{status:{operator:"not_in",value:["created","selected","backed_out","execution_started","execution_completed","approved_to_work"]},supply_pending_action:{operator:"not",value:"explore_other_jobs"}}],create_application:!0,page:1,limit:100,include_application_eligibilities:!0},r.prev=1,r.next=4,i.Z.getCategoryApplications(n,e,m,a);case 4:if(500!==(d=r.sent).status){r.next=7;break}throw d;case 7:return 401===d.status&&(t((0,c.C)("error",u.LB)),t((0,l.w7)())),r.next=10,d.json();case 10:if(f=r.sent,200===d.status){r.next=15;break}throw f;case 15:t({type:"".concat(s.eA,"_success"),payload:f});case 16:r.next=22;break;case 18:r.prev=18,r.t0=r.catch(1),p=r.t0&&r.t0.message?r.t0:{message:u.ET},t({type:"".concat(s.eA,"_failed"),payload:p});case 22:case"end":return r.stop()}}),r,null,[[1,18]])})));return function(){return a.apply(this,arguments)}}();return t({type:"".concat(s.eA,"_success"),payload:null}),t({type:"".concat(s.eA,"_started")}),Promise.resolve(b())}}},x=function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return function(t,a){var p,m,b=null===(p=a().currentUser.data)||void 0===p||null===(m=p.data)||void 0===m?void 0:m.user,x=null===b||void 0===b?void 0:b.id;if(x){var v=function(){var a=(0,r.Z)(o().mark((function r(){var a,p,m,v,g,h,j,w,_,y,k;return o().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(r.prev=0,!("WORKBAZAAR"===(null===b||void 0===b?void 0:b.profile_source))){r.next=28;break}return r.next=5,i.Z.getCategories(n);case 5:return a=r.sent,p=null===b||void 0===b?void 0:b.ih_oms_id,r.next=9,d.GX.getExecutionsCategoryAnalyse(p,{},n);case 9:if(m=r.sent,500!==a.status&&500!==m.status){r.next=12;break}throw a||m;case 12:if(401!==a.status&&401!==m.status||(t((0,c.C)("error",u.LB)),t((0,l.w7)())),v=[],!m.ok||!a.ok){r.next=25;break}return r.next=17,a.json();case 17:return g=r.sent,h=g.categories,r.next=21,m.json();case 21:j=r.sent,w=j.data.analysis,Object.keys(w).forEach((function(e){var n=h.find((function(n){return n.uid===e}));if(!(0,f.xb)(n)){var t=n.id,r=n.uid,a=n.name,o={category_uid:r,category_id:t,category_type:n.category_type,icon:n.icon,category_title:a,applications_count:0,executions_started_count:w[r],status:"applied"};v.push(o)}}));case 25:t({type:"".concat(s.Yz,"_success"),payload:{category_applications:v}}),r.next=42;break;case 28:return r.next=30,i.Z.getAppliedCategories(n,x,e);case 30:if(500!==(_=r.sent).status){r.next=33;break}throw _;case 33:return 401===_.status&&(t((0,c.C)("error",u.LB)),t((0,l.w7)())),r.next=36,_.json();case 36:if(y=r.sent,200===_.status){r.next=41;break}throw y;case 41:t({type:"".concat(s.Yz,"_success"),payload:y});case 42:r.next=48;break;case 44:r.prev=44,r.t0=r.catch(0),k=r.t0&&r.t0.message?r.t0:{message:u.ET},t({type:"".concat(s.Yz,"_failed"),payload:k});case 48:case"end":return r.stop()}}),r,null,[[0,44]])})));return function(){return a.apply(this,arguments)}}();return t({type:"".concat(s.Yz,"_started")}),Promise.resolve(v())}}},v=function(e,n){var t=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return function(a,d){return new Promise((function(f,p){var m,b,x,v=null===(m=d().currentUser.data)||void 0===m||null===(b=m.data)||void 0===b||null===(x=b.user)||void 0===x?void 0:x.id;if(v){var g=function(){var d=(0,r.Z)(o().mark((function r(){var d,m,b;return o().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.prev=0,r.next=3,i.Z.applyCategory(e,v,n);case 3:if(500!==(d=r.sent).status){r.next=6;break}throw d;case 6:return 401===d.status&&(a((0,c.C)("error",u.LB)),a((0,l.w7)())),r.next=9,d.json();case 9:if(m=r.sent,200===d.status){r.next=14;break}throw m;case 14:a({type:"".concat(s.C8,"_success"),payload:m}),t&&a((0,c.C)("success","Congratulations! You are now eligible to apply to ".concat(m.category_title))),f("success");case 17:r.next=25;break;case 19:r.prev=19,r.t0=r.catch(0),b=r.t0&&r.t0.message?r.t0:{message:u.ET},a({type:"".concat(s.C8,"_failed"),payload:b}),a((0,c.C)("error",b.message)),p(r.t0);case 25:case"end":return r.stop()}}),r,null,[[0,19]])})));return function(){return d.apply(this,arguments)}}();return a({type:"".concat(s.C8,"_started")}),Promise.resolve(g())}}))}}},52360:function(e,n,t){"use strict";t.d(n,{oO:function(){return i},JP:function(){return s}});var r=t(83789),a=t(59226),o=function(e){var n,t=null!==(n=sessionStorage.getItem("fb-pixel-events"))&&void 0!==n?n:"[]";t=JSON.parse(t);var a=[].concat((0,r.Z)(t),[e]);sessionStorage.setItem("fb-pixel-events",JSON.stringify(a))},i=function(e){window.fbq?window.fbq("trackCustom",e):o(e)},s=function(e,n){var t=n&&n.data.workforce_details,r=n&&n.data.workforce_details.addresses;window.fbq?window.fbq("trackCustom",e,{Name:(0,a.xb)(t)?"N/A":t.name||"N/A",City:(0,a.xb)(r)?"N/A":r[0].city||"N/A"}):o(e)}},9307:function(e,n,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/categories",function(){return t(78615)}])},83789:function(e,n,t){"use strict";t.d(n,{Z:function(){return o}});var r=t(56586);var a=t(16988);function o(e){return function(e){if(Array.isArray(e))return(0,r.Z)(e)}(e)||function(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||(0,a.Z)(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}}},function(e){e.O(0,[9351,2666,3609,7395,6491,5077,4514,5860,9774,2888,179],(function(){return n=9307,e(e.s=n);var n}));var n=e.O();_N_E=n}]); //# sourceMappingURL=categories-6f08b7df00e1e8e3b761.js.map