1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8856,7525],{49245:function(e,n,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/jobs/brand/normal/[id]",function(){return t(39722)}])},39722:function(e,n,t){"use strict";t.r(n),t.d(n,{__N_SSP:function(){return D},default:function(){return A}});var o=t(36690),i=t(93089),r=t(98519),l=t(38817),u=t(67593),a=t(64169),c=t(95267),d=t(28129),s=t(72077),v=t(82273),f=t(80966),m=t(48417),p=t(22709),y=t(91440),h=t.n(y),g=t(54053),x=t(51183),k=t(65389),_=t(99293),C=t(45810),w=t(40214),b=t(50887),Z="mon_favorateKeywordCodes",T=(0,C.Z)(h(),"brand-header"),j=function(e){var n=(0,b.getCookie)(Z),t="string"===typeof n?n:null;return!!t&&t.split(",").includes("".concat(e))};var E=function(e){var n=e.brandCode,t=e.brandCodes,o=e.defaultIsOpen,i=void 0!==o&&o,l=e.setDefaultModalIsOpen,u=(0,p.useState)(j(n)),a=u[0],c=u[1],d=(0,p.useState)("none"),s=d[0],v=d[1],f=(0,p.useState)(""),y=f[0],h=f[1],C=(0,p.useState)(i),E=C[0],S=C[1],N=(0,w.y)().userFavoritesBrazeAttr;return(0,p.useEffect)((function(){i&&!E&&S(!0)}),[i]),(0,p.useEffect)((function(){var e=setTimeout((function(){v("none")}),2e3);return function(){clearTimeout(e)}}),[s]),(0,p.useEffect)((function(){c(j(n))}),[n]),(0,r.jsxs)("div",{className:T(),children:[(0,r.jsxs)("div",{className:"default-mode-header",children:[(0,r.jsxs)("div",{className:"left",children:[(0,r.jsx)(_.Z,{type:"H2",bold:!0,tag:"h2",children:t.map((function(e){return e.collection})).reduce((function(e,n){return(0,m.Z)(e).concat((0,m.Z)(n))})).find((function(e){return e.code===n})).name}),(0,r.jsxs)(g.Z,{type:"button",onClick:function(){!function(e){var n=(0,b.getCookie)(Z),o="string"===typeof n?n:"",i=o.split(",").filter((function(e){return e})),r=o.split(",").indexOf(e);if(-1===r){if(10===i.length)return void alert("\uc990\uaca8\ucc3e\ub294 \ucc44\uc6a9\uad00 \ucd5c\ub300 \uc124\uc815 \uac1c\uc218\uac00 \ucd08\uacfc\ub418\uc5c8\uc2b5\ub2c8\ub2e4. \ube0c\ub79c\ub4dc\ud648\uc774\ub098 \ud574\ub2f9 \ube0c\ub79c\ub4dc \ucc44\uc6a9\uad00\uc5d0\uc11c \uc990\uaca8\ucc3e\ub294 \ube0c\ub79c\ub4dc \ud574\uc81c \ud6c4 \uc7ac\uc124\uc815 \ud574\uc8fc\uc138\uc694.");i.push(e),c(!0),v("show"),h("\uc990\uaca8\ucc3e\ub294 \ube0c\ub79c\ub4dc\ub85c \uc124\uc815\ub418\uc5c8\uc2b5\ub2c8\ub2e4.")}else i.splice(r,1),c(!1),v("show"),h("\uc990\uaca8\ucc3e\ub294 \ube0c\ub79c\ub4dc \uc124\uc815\uc774 \ud574\uc81c\ub418\uc5c8\uc2b5\ub2c8\ub2e4.");(0,b.setCookie)(Z,i.join(","));var l=i.map((function(e){return t?t.map((function(n){var t=n.collection.find((function(n){return n.code===e}));return t?t.name:""})).filter((function(e){return e})).join(""):""})).filter((function(e){return e})).join(",");N({brand:l})}(n)},children:[(0,r.jsx)(x.Z,{name:a?"system_heart_on":"system_heart",size:24}),(0,r.jsx)("span",{className:"screen-out",children:"\uc990\uaca8\ucc3e\uae30 \ubc84\ud2bc"})]})]}),(0,r.jsx)("div",{className:"right",children:(0,r.jsx)(g.Z,{type:"button",className:"common-button",onClick:function(){return S(!0)},children:(0,r.jsx)(_.Z,{type:"C1",children:"\ube0c\ub79c\ub4dc \ubcc0\uacbd"})})})]}),E&&(0,r.jsx)(k.Z,{isOpen:E,onAfterClose:function(){S(!1),l&&l(!1)},brandCode:n,brandCodes:t,openFrom:"normal"}),(0,r.jsx)("div",{className:"toast ".concat("none"===s?"none":""),children:(0,r.jsx)(_.Z,{type:"B2",children:y})})]})},S=t(18120),N="RECRUIT_BRAND_NORMAL",W=function(e){var n,t,m=e.query,y=e.condition,h=e.topContents,g=e.brandCodes,x=e.defaultIsOpen,k=e.seoUrl,_=m.id,C=(0,S.useRouter)(),w=(0,u.k)(y),b=w.requestState,Z=w.mergeAndSetCondition,T=w.deleteConditionTag,j=w.resetCondition,W=(0,p.useState)(x),D=W[0],A=W[1],O=(0,c.D3)(b,N),R=O.data,I=O.isLoading,B=O.isError,M=O.error,V=O.isFetching,L=(0,l.Fe)((function(e){return{memberType:e.memberType}})).memberType,K=function(e){var n;(null===(n=e.split("?")[1])||void 0===n?void 0:n.includes("defaultIsOpen=true"))&&A(!0)};(0,p.useEffect)((function(){x&&!D&&A(!0)}),[x]),(0,p.useEffect)((function(){return C.events.on("routeChangeComplete",K),function(){C.events.off("routeChangeComplete",K)}}),[]);var P,F=g.reduce((function(e,n){var t,o=null===(t=n.collection.find((function(e){return e.code===_})))||void 0===t?void 0:t.name;return null!==o&&void 0!==o?o:e}),""),U=(0,a.Z)(C.query);return B?(0,r.jsx)(v.Z,{message:M.message}):(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(s.Z,{title:"\uc544\ub974\ubc14\uc774\ud2b8 \ucc44\uc6a9 - ".concat(F),description:"'".concat(F,"' \uc544\ub974\ubc14\uc774\ud2b8\ub97c \ucc3e\uace0 \uc788\ub098\uc694? \uc54c\ubc14 \uc804\ubb38 \ucde8\uc5c5 \ud3ec\ud138 '\uc54c\ubc14\ubaac'\u
1c5d0\uc11c \ucc44\uc6a9 \uc815\ubcf4\ub97c \ube60\ub974\uac8c \ud655\uc778\ud558\uace0 \uc9c0\uae08 \uc989\uc2dc \uc9c0\uc6d0\ud574\ubcf4\uc138\uc694!"),keywords:"\uc2a4\ud06c\ub7a9\uc54c\ubc14, \ucd5c\uadfc\ubcf8\uc54c\ubc14, \ub9de\ucda4\uc54c\ubc14, AI \ucd94\ucc9c\uc54c\ubc14, \uc804\uccb4\uc54c\ubc14, \uae09\uad6c\uc54c\ubc14, \uae30\uc5c5PLAY, \uc5ec\ub984\uc54c\ubc14, \uaca8\uc6b8\uc54c\ubc14, \uc124\ub0a0\uc54c\ubc14, \ucd94\uc11d\uc54c\ubc14, \uad00\uacf5\uc11c\uc54c\ubc14, \uc9c0\uc5ed\ubcc4, \uc54c\ubc14\uc9c0\ub3c4, \ud56b\uc2a4\ud31f\uc54c\ubc14, \ub3d9\ub124\uac04\ud3b8\uc54c\ubc14, \uc5ed\uc138\uad8c, \ub300\ud559\uac00\uc54c\ubc14, \uae30\uac04\uc694\uc77c\uc2dc\uac04\ubcc4, \ub2e8\uae30\uc54c\ubc14, \ubbf8\ub2c8\uc7a1, \uc5c5\uc9c1\uc885\ubcc4, \ube0c\ub79c\ub4dc, \uc2a4\ud329UP\uc54c\ubc14, \ucf5c\uc13c\ud130, \uc548\uc2ec\uc54c\ubc14, \uae09\uc5ec\ubcc4, \uc6b0\ub300\uc870\uac74\ubcc4, \ubcf5\ub9ac\ud6c4\uc0dd\ubcc4, \uc815\uaddc\uc9c1, \uc7ac\ud0dd\uc54c\ubc14, \uce5c\uad6c\uc640\ud568\uaed8, \uccad\uc18c\ub144, \ub300\ud559\uc0dd, \uc7a5\ub144, \uc7a5\uc560\uc778, \ucc44\uc6a9\uc815\ubcf4, \ucc44\uc6a9\uacf5\uace0, \uc54c\ubc14\ubaac",openGraph:{type:"website",title:"".concat(F," \ucc44\uc6a9\uc815\ubcf4"),url:"https://www.albamon.com".concat(C.asPath),description:"\uc54c\ubc14\ubaac\uc5d0\uc11c ".concat(F," \ucc44\uc6a9\uc815\ubcf4\ub97c \ud655\uc778\ud558\uc138\uc694.")},breadcrumbList:{"@context":"https://schema.org","@type":"BreadcrumbList",itemListElement:[{"@type":"ListItem",position:1,name:"\uc544\ub974\ubc14\uc774\ud2b8",item:"https://www.albamon.com/jobs/brand"},{"@type":"ListItem",position:2,name:F||"",item:k}]}}),B&&(0,r.jsx)(v.Z,{message:M.message}),!B&&(0,r.jsxs)(d.ZP,(0,i.Z)((0,o.Z)({queryKey:N,updateQuery:U,mergeAndSetCondition:Z,isLoading:I||V,requestState:b,sortTabCondition:null===y||void 0===y?void 0:y.sortTabCondition,isBrandPage:!0,createAdditionalQuery:function(){return{logpath:17}}},R,h),{children:[(0,r.jsx)(E,{brandCode:_,brandCodes:g,defaultIsOpen:D,setDefaultModalIsOpen:function(e){e||A(e)}}),(0,r.jsx)(f.Z,{queryKey:N,filters:[{id:"area",title:"\uc9c0\uc5ed"},{id:"work",title:"\uadfc\ubb34\uae30\uac04"},{id:"detail",title:"\uc0c1\uc138\uc870\uac74"}],selected:null!==(P=null===R||void 0===R||null===(n=R.condition)||void 0===n||null===(t=n.tags)||void 0===t?void 0:t.map((function(e){return{code:e.code,name:e.text,deleteKey:e.searchConditionType.key}})))&&void 0!==P?P:[],excludeCondition:["parts"],onReset:j,onDelete:T,mergeAndSetCondition:Z,condition:b,memberType:L})]}))]})};W.LayoutProps={resolution:1030,aside:!0,gaPageTitle:"\ud648>\ube0c\ub79c\ub4dc\uc54c\ubc14>\ube0c\ub79c\ub4dc"};var D=!0,A=W},40351:function(e,n,t){"use strict";t.d(n,{AD:function(){return a},RR:function(){return l},aJ:function(){return d}});var o=t(60947),i=t(92336),r=t(49619);function l(){return u.apply(this,arguments)}function u(){return(u=(0,o.Z)((function(){return(0,i.__generator)(this,(function(e){switch(e.label){case 0:return[4,(0,r.tM)().get("/recruit/search/recommendation/profile")];case 1:return[2,e.sent().data]}}))}))).apply(this,arguments)}function a(){return c.apply(this,arguments)}function c(){return(c=(0,o.Z)((function(){return(0,i.__generator)(this,(function(e){switch(e.label){case 0:return[4,(0,r.tM)().get("/recruit/search/recommendation/activity")];case 1:return[2,e.sent().data]}}))}))).apply(this,arguments)}function d(e){return s.apply(this,arguments)}function s(){return(s=(0,o.Z)((function(e){return(0,i.__generator)(this,(function(n){switch(n.label){case 0:return[4,(0,r.tM)().get("/recruit/search/recommendation/area?recommendationAreaType=".concat(e))];case 1:return[2,n.sent().data]}}))}))).apply(this,arguments)}},95267:function(e,n,t){"use strict";t.d(n,{D3:function(){return v},KG:function(){return f},iK:function(){return m}});var o=t(60947),i=t(36690),r=t(93089),l=t(48417),u=t(92336),a=t(22633),c=t(88567),d=t(63511),s=t(42012),v=(function(){var e=(0,o.Z)((function(e,n,t,o,i,r){return(0,u.__generator)(this,(function(l){switch(l.label){case 0:return[4,t.fetchQuery(o||n,(function(){return(0,c.Zq)(e,i,r)}))];case 1:return l.sent(),[2]}}))}))}(),function(){var e=(0,o.Z)((function(e,n,t,o){return(0,u.__generator)(this,(function(i){switch(i.label){case 0:return[4,n.prefetchQuery((0,d.JI)(t).list(e),(function(){return(0,s.r9)(e,o)}))];case 1:return[2,i.sent()]}}))}))}(),function(e,n,t,o){return(0,a.useQuery)((0,d.JI)(n).list(e),(function(){return(0,c.Zq)(e,void 0,o)}),(0,i.Z)({refetchOnMount:!1,keepPreviousData:!0},t))}),f=(function(){var e=(0,o.Z)((function(e,n,t,o){return(0,u.__generator)(this,(function(i){switch(i.label){case 0:return[4,e.prefetchQuery(n,(function(){return(0,c.qu)(t,o)}))];case 1:return i.sent(),[2,e]}}))}))}(),function(e,n,t){return(0,a.useQuery)(e,(function(){return(0,c.qu)(n,t)}),{refetchOnMount:!1})}),m=(function(){var e=(0,o.Z)((function(e,n,t,o){var i;return(0,u.__generator)(this,(function(r){switch(r.label){case 0:return[4,(i=new a.QueryClient).prefetchQuery((0,d.JI)(n).list(e),(function(){return(0,c.Zq)(e,t,o)}))];case 1:return r.sent(),[4,i.prefetchQuery((0,d.JI)("RECRUIT_TOP_CONTENTS").list(t),(function(){return(0,c.E_)(e.recruitListType,t,o)}))];case 2:return r.sent(),[2,i]}}))}))}(),function(){var e=(0,o.Z)((function(e,n){var t;return(0,u.__generator)(this,(function(o){switch(o.label){case 0:return[4,(t=new a.QueryClient).prefetchQuery(n,(function(){return c.E_.apply(void 0,(0,l.Z)(e))}))];case 1:return o.sent(),[2,t]}}))}))}(),function(e,n){return(0,a.useQuery)(d.f8.RECRUIT_SCRAP_LIST_COUNT,c.kW,(0,r.Z)((0,i.Z)({refetchOnMount:!0},n),{enabled:e}))})},30478:function(e,n,t){"use strict";t.d(n,{YV:function(){return u},aY:function(){return c}});var o=t(60947),i=t(36690),r=t(92336),l=t(49619);function u(e){return a.apply(this,arguments)}function a(){return(a=(0,o.Z)((function(e){return(0,r.__generator)(this,(function(n){switch(n.label){case 0:return[4,(0,l.tM)().get("/search/advanced/auto-word?keyword=".concat(encodeURIComponent(e)))];case 1:return[2,n.sent().data.items]}}))}))).apply(this,arguments)}function c(e,n){return d.apply(this,arguments)}function d(){return(d=(0,o.Z)((function(e,n){return(0,r.__generator)(this,(function(t){switch(t.label){case 0:return[4,(0,l.q9)().get("/codes/adult/keyword/contain?keyword=".concat(encodeURIComponent(e)),(0,i.Z)({},n))];case 1:return[2,t.sent().data]}}))}))).apply(this,arguments)}},65389:function(e,n,t){"use strict";
1var o=t(98519),i=t(22709),r=t(18120),l=t(54053),u=t(44549),a=t(99293),c=t(45810),d=t(69804),s=t.n(d),v=t(41442),f=(0,c.Z)(s(),"brand-selection"),m=(0,c.Z)(s(),"selection-brand");n.Z=function(e){var n=e.isOpen,t=e.onAfterClose,c=e.brandCode,d=e.brandCodes,s=e.openFrom,p=e.clickPath,y=(0,r.useRouter)(),h=d[0],g=h.code,x=h.collection,k=(0,i.useState)(c?c.substring(0,4):g),_=k[0],C=k[1],w=(0,i.useState)(c?d.find((function(e){return e.code===c.substring(0,4)})).collection:x),b=w[0],Z=w[1],T=(0,i.useState)(0),j=T[0],E=T[1],S=(0,i.useState)(c||""),N=S[0],W=S[1],D=(0,i.useRef)(null),A=(0,i.useCallback)((function(){n&&D.current&&O()}),[_,D.current]),O=(0,i.useCallback)((function(){var e=d.findIndex((function(e){return _===e.code}))||0;e&&j!==e&&E(e)}),[d,_]);(0,i.useEffect)((function(){var e;j&&(null===(e=D.current)||void 0===e||e.scrollTo({top:38*j,left:0,behavior:"smooth"}))}),[j]);var R=(0,v.Z)({dependency:b}).columnRef;return(0,o.jsx)(u.Z,{title:"\ube0c\ub79c\ub4dc \uc120\ud0dd",isOpen:n,onAfterClose:t,onSubmitClose:function(){if(null===t||void 0===t||t(),""!==N){var e="/jobs/brand/special/".concat(N).concat(p?"?clickPath=".concat(p):""),n="/jobs/brand/normal/".concat(N).concat(p?"?clickPath=".concat(p):"");"0"===_?"main"===s?y.push(e):window.open(e,"_blank"):y.push(n)}},modalWidth:"480",submitTxt:"\ud655\uc778",classname:m(),onAfterOpen:A,children:(0,o.jsxs)("div",{className:f(),children:[(0,o.jsx)("div",{ref:D,className:"brand-scroll",children:(0,o.jsx)("ol",{className:"brand-part",children:d.map((function(e){return(0,o.jsx)("li",{className:_===e.code?"active-part":"",children:(0,o.jsx)(l.Z,{type:"button",onClick:function(){return function(e){var n=e.code,t=e.collection;C(n),Z(t)}(e)},children:(0,o.jsx)(a.Z,{type:"B3",weight:"medium",children:e.name})})},e.code)}))})}),(0,o.jsx)("div",{className:"brand-scroll",ref:R,children:(0,o.jsx)("ol",{className:"brand-list",children:b.map((function(e){return(0,o.jsx)("li",{className:N===e.code?"selected-brand":"",children:(0,o.jsxs)(l.Z,{type:"button",onClick:function(){return W(e.code)},children:[(0,o.jsx)(a.Z,{type:"B3",weight:"medium",children:e.name}),"\xa0",(0,o.jsx)(a.Z,{type:"B3",weight:"medium",extendClass:"brand-count",children:e.count})]})},e.code)}))})})]})})}},19381:function(e,n,t){"use strict";t.d(n,{Z:function(){return me}});var o=t(60947),i=t(36690),r=t(93089),l=t(59106),u=t(92336),a=t(98519),c=t(94759),d=t.n(c),s=t(45810),v=t(72273),f=t(22709),m=t(37705),p=t(6128),y=t.n(p),h=t(71154),g=t(79557),x="filter-age-single",k=(0,s.Z)(y(),x);function _(e){var n,t=e.startAge,o=void 0===t?10:t,l=e.value,u=e.unrelated,c=void 0!==u&&u,d=e.returnName,s=void 0===d?"ageSingle":d,v=e.useIgnore,p=void 0!==v&&v,y=e.onDataChange,_=e.render,C=(0,f.useState)({value:l,unrelated:c}),w=C[0],b=C[1],Z=(0,f.useCallback)((function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:o,n=Array.from({length:80-e+1},(function(n,t){var o=t+e;return{value:"".concat(o),text:"".concat(o,"\uc138")}}));return n}),[]),T=function(e){null===y||void 0===y||y((0,m.Z)({},s,e))},j=(0,f.useCallback)((function(e,n){var t={value:+n,unrelated:""!==n&&w.unrelated};b(t),T(t)}),[w,T]),E=(0,f.useCallback)((function(e){var n=e.target.checked,t=(0,r.Z)((0,i.Z)({},w),{unrelated:n});b(t),T(t)}),[w,T]);return(0,f.useEffect)((function(){b({value:l,unrelated:c})}),[l,c]),(0,a.jsxs)("div",{className:k(),children:[(0,a.jsx)("div",{className:"".concat(x,"__selector"),children:(0,a.jsx)(g.Z,{name:"age-select",optionLabel:"\uc5f0\ub839\uc120\ud0dd",isSelectableOptionLabel:!0,title:"\uc5f0\ub839\uc120\ud0dd",value:null!==(n=w.value)&&void 0!==n?n:"",options:Z(),onChange:j,width:"160px",variant:"small"})}),p&&(0,a.jsx)("div",{className:"".concat(x,"__ignore"),children:(0,a.jsx)(h.Z,{label:"\ubb34\uad00\uc81c\uc678",value:"isIgnore",checked:w.unrelated||!1,disabled:!w.value,onChange:E,labelProps:{type:"B3"}})}),_&&(0,a.jsx)("div",{className:"".concat(x,"__render"),children:_})]})}var C=(0,f.memo)(_),w=t(3099),b=t(7055),Z=t(81344),T=t.n(Z),j=["ALL","ELEMENTARY_SCHOOL_GRADUATE","MIDDLE_SCHOOL_GRADUATE","HIGH_SCHOOL_GRADUATE","JUNIOR_COLLEGE_GRADUATE","COLLEGE_GRADUATE","MORE_THAN_GRADUATE_SCHOOL"],E="filter-education",S=(0,s.Z)(T(),E);function N(e){var n,t=e.value,i=e.onDataChange,r=(0,f.useState)(),l=r[0],c=r[1];(0,f.useEffect)((function(){(0,o.Z)((function(){var e,n;return(0,u.__generator)(this,(function(t){switch(t.label){case 0:return[4,(0,w.fz)(["recruitInfoSearchEnumsEducationType","applyApplicantEnumsLastEducationStatusType"])];case 1:return e=t.sent(),n=j.map((function(n){var t,o=null===e||void 0===e||null===(t=e.recruitInfoSearchEnumsEducationType)||void 0===t?void 0:t.find((function(e){return e.key===n}));return o?{text:o.description,value:o.key}:{text:"",value:"ALL"}})),c({education:n,lastEducationStatusType:e.applyApplicantEnumsLastEducationStatusType.filter((function(e){return"NONE"!==e.key}))}),[2]}}))}))()}),[]);var d,s=(0,f.useCallback)((function(e,n){var o=l.education.find((function(e){return e.value===n}));null===i||void 0===i||i({education:{education:o.value,educationover:null===t||void 0===t?void 0:t.educationover,educationName:o.text}})}),[i,l]),v=(0,f.useCallback)((function(e){var n,o=null===l||void 0===l||null===(n=l.education)||void 0===n?void 0:n.find((function(e){return e.value===(null===t||void 0===t?void 0:t.education)}));o&&(null===i||void 0===i||i({education:{education:o.value,educationover:e.target.value,educationName:o.text}}))}),[i,l]);return(0,a.jsxs)("div",{className:S(),children:[(0,a.jsx)("div",{className:"".concat(E,"__selector"),children:(0,a.jsx)(g.Z,{name:"education-select",isSelectableOptionLabel:!0,value:null!==(d=null===t||void 0===t?void 0:t.education)&&void 0!==d?d:"",options:(null===l||void 0===l?void 0:l.education)||[],onChange:s,width:"160px",variant:"small"})}),(0,a.jsx)("div",{className:"".concat(E,"__ignore"),children:null===l||void 0===l||null===(n=l.lastEducationStatusType)||void 0===n?void 0:n.map((function(e){return(0,a.jsx)(b.Z,{name:e.key,label:e.description,value:e.key,checked:(null===t||void 0===t?void 0:t.educationover)===e.ke
1y,disabled:"ALL"===(null===t||void 0===t?void 0:t.education)||!(null===t||void 0===t?void 0:t.education),onChange:v},e.key)}))})]})}var W=(0,f.memo)(N),D=t(70225),A=t.n(D),O=t(8654),R="filter-gender-radio",I=(0,s.Z)(A(),R);function B(e){var n=e.code,t=e.value,l=e.unrelated,c=void 0!==l&&l,d=e.useIgnore,s=void 0===d||d,v=e.returnName,p=void 0===v?"gender":v,y=e.onDataChange,g=(0,f.useState)(null!==n&&void 0!==n?n:[]),x=g[0],k=g[1],_=(0,f.useState)({value:t,unrelated:c}),C=_[0],Z=_[1],T=function(){var e=(0,o.Z)((function(){var e,n;return(0,u.__generator)(this,(function(t){switch(t.label){case 0:return[4,(0,w.li)([{key:"codeEnumsGenderType",url:(0,O.o1)(["codeEnumsGenderType"])}])];case 1:return e=t.sent(),n=e.codeEnumsGenderType[0].fields.filter((function(e){return"NONE"!==e.description&&"\ubb34\uad00"!==e.description})).sort((function(e,n){return e.value-n.value})),k(n),[2]}}))}));return function(){return e.apply(this,arguments)}}(),j=function(e){var n=e.currentTarget.value,t=(0,r.Z)((0,i.Z)({},C),{value:n});s||delete t.unrelated,Z(t),E(t)},E=(0,f.useCallback)((function(e){null===y||void 0===y||y((0,m.Z)({},p,e))}),[y]);return(0,f.useEffect)((function(){Z({value:t,unrelated:c})}),[t,c]),(0,f.useEffect)((function(){n||T()}),[n]),(0,a.jsxs)("div",{className:I(),children:[(0,a.jsx)("div",{className:"".concat(R,"__gender"),children:null===x||void 0===x?void 0:x.map((function(e){return(0,a.jsx)(b.Z,{label:e.description,value:e.key,name:"filter-gender",onChange:j,checked:(null===C||void 0===C?void 0:C.value)===e.key},e.key)}))}),s&&(0,a.jsx)("div",{className:"".concat(R,"__unrelated"),children:(0,a.jsx)(h.Z,{label:"\ubb34\uad00\uc81c\uc678",name:"genderUnrelated",value:"useIgnore",onChange:function(e){var n=e.currentTarget.checked,t=(0,r.Z)((0,i.Z)({},C),{unrelated:n});Z(t),E(t)},checked:!!(null===C||void 0===C?void 0:C.unrelated),disabled:!(null===C||void 0===C?void 0:C.value)||"NONE"===C.value,labelProps:{type:"B3"}})})]})}var M=(0,f.memo)(B),V=t(11296),L=t(48417),K=t(82421),P=t.n(K),F=t(49063),U=t(20543),G=t(68059),q=t(99293),Q=t(30206),Y=t(38817),J=t(18120),H=t(30478),z="filter-keyword-util",X=(0,s.Z)(P(),z);function $(e){var n=e.inclusionValue,t=void 0===n?"":n,i=e.exclusionValues,r=void 0===i?[]:i,l=e.tempExclusionValue,c=void 0===l?"":l,d=e.returnName,s=void 0===d?"keyword":d,v=e.onDataChange,p=e.excludeKeys,y=e.excludeBar,h=(0,J.useRouter)(),g=(0,f.useState)(t),x=g[0],k=g[1],_=(0,f.useState)(new Set(r)),C=_[0],w=_[1],b=(0,f.useState)(c),Z=b[0],T=b[1],j=(0,Y.Fe)((function(e){return{logged:e.logged,isAdult:e.isAdult,isPersonal:e.isPersonal,isCertificated:e.isCertificated}})),E=j.logged,S=j.isAdult,N=j.isPersonal,W=j.isCertificated,D=(0,f.useMemo)((function(){return(0,L.Z)(C.values()).reduce((function(e,n){return e+n.length}),0)}),[C]),A=(0,f.useMemo)((function(){return 100===D}),[D]),O=function(e,n,t){null===v||void 0===v||v((0,m.Z)({},s,{inclusionValue:e.trim(),exclusionValues:(0,L.Z)(n.values()),tempExclusionValue:t}))},R=function(e,n){"inclusionValue"===n?k(e):"exclusionValues"===n&&I(e,"exclusionValues")},I=function(){var e=(0,o.Z)((function(e,n){var o,i,r;return(0,u.__generator)(this,(function(l){switch(l.label){case 0:return"inclusionValue"!==n?[3,2]:""===e?[2]:""===e.trim()?(k(""),[2,alert("\ud0a4\uc6cc\ub4dc\ub97c \uc785\ub825\ud558\uc138\uc694.")]):[4,(0,Q.Z)((0,H.aY)(e||""))];case 1:if(o=V.Z.apply(void 0,[l.sent(),2]),o[1]){if(!E)return location.href="/user-account/cert/adult/non-login",[2];if(!S&&N)return i="/user-account/cert/adult/teenager",location.href=W?"".concat(i,"/di"):"".concat(i,"?redirect_url=").concat(h.asPath),[2];if(S&&N&&y)return alert("\ubc14(bar) \uc54c\ubc14\uc815\ubcf4\ub97c \uc5f4\ub78c\ud558\ub824\uba74 bar\uc81c\uc678 \uc124\uc815\uc744 \ud574\uc81c\ud558\uc154\uc57c \ud569\ub2c8\ub2e4. \uc124\uc815\ud574\uc81c\ub294 \uc5c5\uc9c1\uc885 \uc120\ud0dd \ud654\uba74\uc5d0\uc11c \uac00\ub2a5\ud569\ub2c8\ub2e4."),[2];if(N&&S&&!W)return location.href="/user-account/cert/adult?redirect_url=".concat(h.asPath),[2]}O(x.trim(),C,Z),l.label=2;case 2:if("exclusionValues"===n){if(""===e.trim())return T(""),[2,alert("\ud0a4\uc6cc\ub4dc\ub97c \uc785\ub825\ud574\uc8fc\uc138\uc694.")];if(C.has(e.trim()))return[2,alert("\uc774\ubbf8 \uc785\ub825\ub41c \ud0a4\uc6cc\ub4dc\uc785\ub2c8\ub2e4.")];r=new Set((0,L.Z)(C).concat([e.trim()])),w(r),T(""),O(t.trim(),r,"")}return[2]}}
1))}));return function(n,t){return e.apply(this,arguments)}}(),B=function(e,n){"Enter"===e.key&&("inclusionValue"===n?I(x||"",n):"exclusionValues"===n&&R(Z,"exclusionValues"))};return(0,f.useEffect)((function(){k(t),w(new Set(r))}),[t,r]),(0,a.jsxs)("div",{className:X(),children:[!(null===p||void 0===p?void 0:p.includes("include-keyword"))&&(0,a.jsx)("div",{className:"".concat(z,"__field"),children:(0,a.jsx)(U.Z,{label:(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(q.Z,{type:"B3",children:"\ud3ec\ud568"}),(0,a.jsxs)("span",{className:"".concat(z,"__counter"),children:[(0,a.jsxs)(q.Z,{type:"B3",children:["(",x.length,"/"]}),(0,a.jsx)(q.Z,{type:"B3",extendClass:"".concat(z,"__max"),children:20}),(0,a.jsx)(q.Z,{type:"B3",children:")"})]})]}),name:"inclusionValue",value:x,onChange:function(e){return R(e.target.value,"inclusionValue")},onKeyPress:function(e){return B(e,"inclusionValue")},onBlur:function(){return function(e){if("inclusionValue"===e){if(""===x.trim())return k("");I(x||"",e)}}("inclusionValue")},placeholder:"\uc785\ub825 \ub2e8\uc5b4 \ud3ec\ud568 \uacf5\uace0\ub9cc \uac80\uc0c9\ud569\ub2c8\ub2e4.",variant:"small",blockComma:!0,isBlockSpecialCharacter:!0,isBlockSpecialCharacterMessage:"KEYWORD_REGEX_ERROR",maxLength:20})}),(0,a.jsxs)("div",{className:"".concat(z,"__field"),children:[(0,a.jsx)(U.Z,{disabled:A,label:(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(q.Z,{type:"B3",children:"\uc81c\uc678"}),(0,a.jsxs)("span",{className:"".concat(z,"__counter"),children:[(0,a.jsxs)(q.Z,{type:"B3",children:["(",D+Z.length,"/"]}),(0,a.jsx)(q.Z,{type:"B3",extendClass:"".concat(z,"__max"),children:100}),(0,a.jsx)(q.Z,{type:"B3",children:")"})]}),(0,a.jsx)(G.Z,{content:"\uc5ec\ub7ec \uac1c\uc758 \uc81c\uc678 \ud0a4\uc6cc\ub4dc\ub97c \uc800\uc7a5\ud560 \uc218 \uc788\uc5b4\uc694.",hideOnClick:!0,placement:"bottom-start",visible:!0,variant:"bubble"})]}),name:"exclusionValue",value:Z,onChange:function(e){T(e.target.value),O(t,C,e.target.value)},onKeyPress:function(e){return B(e,"exclusionValues")},placeholder:A?"\ucd1d 100\uc790\uae4c\uc9c0 \uc785\ub825 \uac00\ub2a5\ud569\ub2c8\ub2e4.":"\ucd94\uac00 \ub2e8\uc5b4 \ud3ec\ud568 \uacf5\uace0\ub97c \uc81c\uc678\ud569\ub2c8\ub2e4.",variant:"small",isBlockSpecialCharacter:!0,blockComma:!0,isBlockSpecialCharacterMessage:"KEYWORD_REGEX_ERROR",maxLength:100-D}),(0,a.jsx)(F.Z,{disabled:A,size:"small",color:"black",onClick:function(){return R(Z,"exclusionValues")},children:(0,a.jsx)(q.Z,{type:"C1",children:"\ucd94\uac00"})})]})]})}var ee=(0,f.memo)($),ne=t(56787),te=t.n(ne),oe=t(85066),ie=t(64129),re=(0,s.Z)(te(),"filter-work-type"),le="FREELANCER";function ue(e){var n,t=e.code,l=e.max,c=e.value,d=e.type,s=void 0===d?"DOESNT_MATTER":d,v=e.returnName,p=void 0===v?"workType":v,y=e.isResumePage,h=void 0!==y&&y,g=e.onChange,x=e.hideCodes,k=void 0===x?[]:x,_=(0,f.useState)(null!==t&&void 0!==t?t:{employment:[],freelancerType:[]}),C=_[0],b=_[1],Z=(0,f.useState)({value:null!==c&&void 0!==c?c:[],names:[],type:s}),T=Z[0],j=Z[1],E=(0,f.useCallback)((0,o.Z)((function(){var e,n;return(0,u.__generator)(this,(function(t){switch(t.label){case 0:return[4,(0,w.fz)(["recruitInfoSearchEnumsEmploymentType","codeEnumsFreelancerType"])];case 1:return e=t.sent(),n={employment:e.recruitInfoSearchEnumsEmploymentType.filter((function(e){return!(h&&"TRAINEE"===e.key||k.find((function(n){return n===e.key})))})).sort((function(e,n){return+e.value-+n.value})).map((function(e){return h&&(e.key===le&&(e.description="\uc704\ucd09\uc9c1(\ud504\ub9ac\ub79c\uc11c)"),"INTERNSHIP"===e.key&&(e.description="\uccad\ub144\uc778\ud134\uc9c1")),e})),freelancerType:e.codeEnumsFreelancerType.filter((function(e){return"NONE"!==e.key})).sort((function(e,n){return e.value-n.value}))},b(n),[2]}}))})),[h,k]),S=(0,f.useCallback)((function(e){null===g||void 0===g||g((0,m.Z)({},p,e))}),[g,p]),N=(0,f.useCallback)((function(e){if(e){if("string"===typeof e&&(e=[e]),l&&e.length>l)return alert("\ucd5c\ub300 ".concat(l,"\uac1c\uae4c\uc9c0 \uc120\ud0dd\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4."));var n=null===t||void 0===t?void 0:t.employment.filter((function(n){return e.some((function(e){return e===n.key}))}));if(e.includes(le)){var o={value:e,names:(null===n||void 0===n?void 0:n.map((function(e){return e.description})))||[]};return j(o),void S(o)}var u=(0,r.Z)((0,i.Z)({},T),{value:e,names:(null===n||void 0===n?void 0:n.map((function(e){return e.description})))||[]});j(u),S(u)}}),[l,null===t||void 0===t?void 0:t.employment,T,S]);return(0,f.useEffect)((function(){c&&j((function(e){return(0,r.Z)((0,i.Z)({},e),{value:c})}))}),[c]),(0,f.useEffect)((function(){!t&&E()}),[t]),(0,a.jsx)("div",{className:re(""),children:(0,a.jsx)("div",{className:"__selector",children:(0,a.jsx)(ie.Z,{type:"multiple",name:p,onChange:N,value:T.value.map((function(e){return e})),children:null===C||void 0===C||null===(n=C.employment)||void 0===n?void 0:n.map((function(e,n){return(0,a.jsx)(oe.Z,{value:e.key,label:e.description},"toggle-".concat(e.value,"-").concat(n))}))})})})}var ae=(0,f.memo)(ue),ce=t(51183),de="filter-detail-conditions",se=(0,s.Z)(d(),de),ve=function(e){var n=e.title,t=e.children;return(0,a.jsxs)("div",{className:"".concat(de,"__filter-form"),children:[(0,a.jsx)(q.Z,{type:"B3",weight:"bold",extendClass:se("__filter-form__title"),children:n}),(0,a.jsx)("div",{className:"".concat(de,"__filter-form__contents"),children:t})]})};function fe(e){var n,t,c,d,s,m,p,y,h=e.gender,g=e.ageSingle,x=e.workType,k=e.keyword,_=e.closed,b=e.excludeKeys,Z=e.education,T=e.useEducation,j=e.onDataChange,E=e.excludeBar,S=(0,l.Z)(e,["gender","ageSingle","workType","keyword","closed","excludeKeys","education","useEducation","onDataChange","excludeBar"]),N=(0,f.useState)({gender:h,ageSingle:g,workType:x,keyword:k,education:Z}),D=N[0],A=N[1],R=(0,f.useState)(),I=R[0],B=R[1];(0,f.useEffect)((function(){h&&A((function(e){return(0,r.Z)((0,i.Z)({},e),{gender:h})}))}),[h]),(0,f.useEffect)((function(){g&&A((function(e){return(0,r.Z)((0,i.Z)({},e),{ageSingle:g})}))}),[g]),(0,f.useEffect)((function(){x&&A((function(e){return(0,r.Z)((0,i.Z)({},e),{workType:x})}))}),[x]),(0,f.useEffect)((function(){k&&(v.Z.log(k),A((function(e){return(0,r.Z)((0,i.Z)({},e),{keyword:k})})))}),[k]),(0,f.useEffect)((function(){(null===Z||void 0===Z?void 0:Z.education)&&A((function(e){return(0,r.Z)((0,i.Z)({},e),{education:Z})}))}),[Z]);var V,L=(0,f.useCallback)((0,o.Z)((function(){var e,n,t,o,i,r,l;return(0,u.__generator)(this,(function(u){switch(u.label){case 0:return[4,(0,w.li)([{key:"codeEnumsGenderType",url:(0,O.o1)(["codeEnumsGenderType"])},{key:"codeEnumsFreelancerType",url:(0,O.o1)(["codeEnumsFreelancerType"])},{key:"recruitInfoSearchEnumsEmploymentType",url:(0,O.o1)(["recruitInfoSearchEnumsEmploymentType"])}])];case 1:return i=u.sent(),r=i.codeEnumsGenderType[0].fields.filter((function(e){return"NONE"!==e.description&&"\ubb34\uad00"!==e.description})).sort((function(e,n){return e.value-n.value})),l={employment:null===(e=i.recruitInfoSearchEnumsEmploymentType)||void 0===e||null===(n=e[0])||void 0===n?void 0:n.fields.filter((function(e){return"NONE"!==e.key})).sort((function(e,n){return+e.value-+n.value})),freelancerType:null===(t=i.codeEnumsFreelancerType)||void 0===t||null===(o=t[0])||void 0===o?void 0:o.fields.filter((function(e){return"NONE"!==e.key})).sort((function(e,n){return e.value-n.value}))},B({gender:r,workType:l}),[2]}}))})),[]),K=(0,f.useCallback)((function(e){var n=(0,i.Z)({},D,e);A(n),null===j||void 0===j||j(n)}),[D,j,A]);return(0,f.useEffect)((function(){L()}),[L]),(0,a.jsx)("div",(0,r.Z)((0,i.Z)({},S),{children:!_&&(0,a.jsxs)("div",{className:se(),children:[(!b||!(null===b||void 0===b?void 0:b.includes("gender")))&&(0,a.jsx)(ve,{title:"\uc131\ubcc4",children:(0,a.jsx)(M,{code:null===I||void 0===I?void 0:I.gender,value:null===(n=D.gender)||void 0===n?void 0:n.value,unrelated:null===(t=D.gender)||void 0===t?void 0:t.unrelated,onDataChange:K,useIgnore:!0})}),(!b||!(null===b||void 0===b?void 0:b.includes("age")))&&(0,a.jsx)(ve,{title:"\uc5f0\ub839",children:(0,a.jsx)(C,{value:null===(c=D.ageSingle)||void 0===c?void 0:c.value,unrelated:null===(d=D.ageSingle)||void 0===d?void 0:d.unrelated,useIgnore:!0,onDataChange:K,render:(0,a.jsx)(G.Z,{content:(0,a.jsxs)("div",{className:"tootip-content--age",children:[(0,a.jsxs)(q.Z,{tag:"div",type:"B3",weight:"medium",children:["2023\ub144 6\uc6d4 28\uc77c\ubd80\ud130 \ud589\uc815\uae30\ubcf8\ubc95\xb7\ubbfc\ubc95 \uac1c\uc815\uc5d0 \ub530\ub77c \ub098\uc774\ub294 ",(0,a.jsx)("br",{}),"\ucd9c\uc0dd\uc77c\uc744 \uc0b0\uc785\ud558\uc5ec \ub9cc(\u6eff) \ub098\uc774\ub85c \uacc4\uc0b0\ud558\uace0 \uc5f0\uc218(\u5e74\u6578)\ub85c \ud45c\uc2dc\ud569\ub2c8\ub2e4."]}),(0,a.jsxs)(q.Z,{tag:"div",type:"B3",weight:"medium",children:["\xb7 \ub9cc \ub098\uc774\ub780?",(0,a.jsx)(q.Z,{tag:"div",type:"C1",children:"\ucd9c\uc0dd\uc77c \uae30\uc900\uc73c\ub85c 0\uc0b4\ub85c \uc2dc\uc791\ud558\uc5ec \uc0dd\uc77c\uc774 \uc9c0\ub0a0 \ub54c\ub9c8\ub2e4 1\uc0b4 \uc529 \ub354\ud558\ub294 \ub098\uc774 \uacc4\uc0b0\ubc95"})]}),(0,a.jsxs)(q.Z,{tag:"div",type:"B3",weight:"medium",children:["\xb7 \ub9cc \ub098\uc774 \uacc4\uc0b0\ubc95",(0,a.jsxs)(q.Z,{tag:"div",type:"C1",children:[(0,a.jsx)("span",{children:"\uc62c\ud574 \uc0dd\uc77c\uc774 \uc9c0\ub098\uc9c0 \uc54a\uc558\ub2e4\uba74"}),(0,a.jsx)("br",{}
1),"\uc774\ubc88 \uc5f0\ub3c4 - \ud0dc\uc5b4\ub09c \uc5f0\ub3c4 - 1 = \ud604\uc7ac \ub098\uc774",(0,a.jsx)("br",{}),"ex) (2023) - (1992) - 1 = 30\uc138"]}),(0,a.jsxs)(q.Z,{tag:"div",type:"C1",children:[(0,a.jsx)("span",{children:"\uc62c\ud574 \uc0dd\uc77c\ubd80\ud130"}),(0,a.jsx)("br",{}),"\uc774\ubc88 \uc5f0\ub3c4 - \ud0dc\uc5b4\ub09c \uc5f0\ub3c4 = \ud604\uc7ac \ub098\uc774",(0,a.jsx)("br",{}),"ex) (2023) - (1992) = 31\uc138"]})]})]}),placement:"bottom-start",translateXY:["0px","100%"],children:(0,a.jsx)(F.Z,{size:"large",endIcon:(0,a.jsx)(ce.Z,{name:"system_tooltip1",size:22,color:"#D2D2D2"}),variant:"text",children:(0,a.jsx)(q.Z,{type:"B3",children:"\ub9cc \ub098\uc774 \uae30\uc900 \uc548\ub0b4"})})})})}),T&&(0,a.jsx)(ve,{title:"\ud559\ub825",children:(0,a.jsx)(W,{value:D.education,onDataChange:K})}),(!b||!(null===b||void 0===b?void 0:b.includes("workType")))&&(0,a.jsx)(ve,{title:"\uace0\uc6a9\ud615\ud0dc",children:(0,a.jsx)(ae,{code:null===I||void 0===I?void 0:I.workType,value:null!==(V=null===(s=D.workType)||void 0===s?void 0:s.value)&&void 0!==V?V:[],onChange:K,hideCodes:["NONE"]})}),(!b||!(null===b||void 0===b?void 0:b.includes("keyword")))&&(0,a.jsx)(ve,{title:"\ud0a4\uc6cc\ub4dc",children:(0,a.jsx)(ee,{excludeBar:E,excludeKeys:b,inclusionValue:(null===b||void 0===b?void 0:b.includes("include-keyword"))||null===(m=D.keyword)||void 0===m?void 0:m.inclusionValue,exclusionValues:null===(p=D.keyword)||void 0===p?void 0:p.exclusionValues,tempExclusionValue:null===(y=D.keyword)||void 0===y?void 0:y.tempExclusionValue,onDataChange:K})})]})}))}var me=(0,f.memo)(fe)},38585:function(e,n,t){"use strict";t.d(n,{Z:function(){return K}});var o=t(60947),i=t(36690),r=t(93089),l=t(59106),u=t(92336),a=t(98519),c=t(3099),d=t(8654),s=t(45810),v=t(9135),f=t(74403),m=t(22709),p=t(48417),y=t(64129),h=t(85066),g=t(99293),x=t(67118),k=t.n(x),_=(0,s.Z)(k(),"filter-toggle");function C(e){var n=e.max,t=e.codes,o=e.value,i=e.onChange,r=e.showCount,l=void 0===r||r,u=(0,m.useState)([]),c=u[0],d=u[1];return(0,m.useEffect)((function(){d(o)}),[o]),(0,a.jsxs)("div",{className:_(),children:[(0,a.jsxs)("div",{className:"".concat(_("__title-box")).concat(l?"":" no-count"),children:[(0,a.jsx)(g.Z,{type:"B3",weight:"bold",children:"\uadfc\ubb34\uae30\uac04"}),l&&(0,a.jsxs)("div",{className:_("__title-box__counter"),children:[(0,a.jsx)(g.Z,{type:"C1",children:"("}),(0,a.jsx)(g.Z,{type:"C1",children:c.length}),(0,a.jsxs)(g.Z,{type:"C1",children:["/",n,")"]})]})]}),(0,a.jsx)("div",{className:_("__selector"),children:(0,a.jsx)(y.Z,{type:"multiple",name:"dutyTerms",onChange:function(e){if(e){if(n&&e.length>n)return alert("\ucd5c\ub300 ".concat(n,"\uac1c\uae4c\uc9c0 \uc120\ud0dd\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4."));d((0,p.Z)(e));var o=t.filter((function(n){return e.includes(n.code)}));null===i||void 0===i||i({dutyTerms:o})}},value:c,children:null===t||void 0===t?void 0:t.map((function(e,n){return(0,a.jsx)(h.Z,{value:e.code,label:e.name},"toggle-".concat(e.code,"-").concat(n))}))})})]})}var w=(0,m.memo)(C),b=t(7055),Z=t(71154),T=t(37342),j=t.n(T),E=(0,s.Z)(j(),"filter-work-day");function S(e){var n,t,o=e.max,i=e.dutyWeeksValues,r=e.dayOfWeeksValues,l=e.consult,u=e.codes,c=e.onChange,d=e.tab,s=void 0===d?"dutyWeeks":d,v=(0,m.useState)(s),f=v[0],p=v[1],x=(0,m.useState)(i),k=x[0],_=x[1],C=(0,m.useState)(r),w=C[0],T=C[1],j=(0,m.useState)(l),S=j[0],N=j[1],W=(0,m.useMemo)((function(){return k.length>0?k.length:w.length>0?w.length:0}),[w.length,k.length]),D=function(e){if(e)if("dutyWeeks"===f&&o&&e.length>o)alert("\ucd5c\ub300 ".concat(o,"\uac1c\uae4c\uc9c0 \uc120\ud0dd\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4."));else if("dutyWeeks"===f){var n=u.dutyWeeks.filter((function(n){return e.includes(n.code)})),t=0!==n.length&&(0===W||l);_(e),T([]),N(t),null===c||void 0===c||c({workDay:{dayOfWeeks:[],dutyWeeks:n,consult:t}})}else{var i=u.dayOfWeeks.filter((function(n){return e.includes(n.code)})),r=0!==i.length&&(0===W||l);_([]),T(e),N(r),null===c||void 0===c||c({workDay:{dayOfWeeks:i,dutyWeeks:[],consult:r}})}},A=function(e){p(e),_([]),T([]),N(!1),null===c||void 0===c||c({workDay:{dayOfWeeks:[],dutyWeeks:[],consult:!1}})};return(0,m.useEffect)((function(){_(i),T(r),N(l)}),[i,r,l]),(0,a.jsxs)("div",{className:E(),children:[(0,a.jsxs)("div",{className:"".concat(E("__title-box")," no-count"),children:[(0,a.jsx)(g.Z,{type:"B3",weight:"bold",children:"\uadf
1c\ubb34\uc694\uc77c"}),"dutyWeeks"===f&&o&&(0,a.jsxs)("div",{className:E("__title-box__counter"),children:[(0,a.jsx)(g.Z,{type:"C1",children:"("}),(0,a.jsx)(g.Z,{type:"C1",children:W}),(0,a.jsxs)(g.Z,{type:"C1",children:["/",o,")"]})]})]}),(0,a.jsxs)("div",{className:E("__selector"),children:[(0,a.jsxs)("div",{children:[(0,a.jsx)("div",{className:E("__selector__check"),children:(0,a.jsx)(b.Z,{name:"dutyWeeks",label:"\ubaa9\ub85d\uc5d0\uc11c \uc120\ud0dd",labelType:"B3",labelStyle:{color:"#000000"},onChange:function(e){return A("dutyWeeks")},checked:"dutyWeeks"===f})}),(0,a.jsx)(y.Z,{type:"multiple",name:"dutyWeeks",onChange:D,value:k,children:null===(n=u.dutyWeeks)||void 0===n?void 0:n.map((function(e,n){return(0,a.jsx)(h.Z,{value:e.code,label:e.name,disabled:"dayOfWeeks"===f},"toggle-".concat(e.code,"-").concat(n))}))})]}),(0,a.jsxs)("div",{children:[(0,a.jsx)("div",{className:E("__selector__check"),children:(0,a.jsx)(b.Z,{name:"dayWeeks",label:"\uc9c1\uc811\uc120\ud0dd",labelType:"B3",labelStyle:{color:"#000000"},onChange:function(e){return A("dayOfWeeks")},checked:"dayOfWeeks"===f})}),(0,a.jsx)(y.Z,{type:"multiple",name:"dayOfWeeks",onChange:D,value:w,children:null===(t=u.dayOfWeeks)||void 0===t?void 0:t.map((function(e,n){return(0,a.jsx)(h.Z,{value:e.code,label:e.name,disabled:"dutyWeeks"===f},"toggle-".concat(e.code,"-").concat(n))}))})]}),(0,a.jsx)("div",{children:(0,a.jsx)("div",{className:E("__selector__check"),children:(0,a.jsx)(Z.Z,{name:"dfa",label:"\ud611\uc758 \uc81c\uc678",disabled:0===W,checked:S,onChange:function(e){var n=e.target.checked;if(N(n),"dutyWeeks"===f){var t=u.dutyWeeks.filter((function(e){return i.includes(e.code)}));null===c||void 0===c||c({workDay:{dayOfWeeks:[],dutyWeeks:t,consult:n}})}else{var o=u.dayOfWeeks.filter((function(e){return r.includes(e.code)}));null===c||void 0===c||c({workDay:{dayOfWeeks:o,dutyWeeks:[],consult:n}})}},labelType:"B3"})})})]})]})}var N=(0,m.memo)(S),W=t(79557),D=t(44939),A=t.n(D),O=(0,s.Z)(A(),"filter-work-time");function R(e){var n,t=e.closed,o=e.max,i=e.onChange,r=e.tab,l=void 0===r?"workTimeType":r,u=e.codes,c=e.workTimeTypeValues,d=e.workTimeTypeDirectValues,s=e.consult,v=(0,m.useState)(l),f=v[0],x=v[1],k=(0,m.useState)(c),_=k[0],C=k[1],w=(0,m.useState)(d),T=w[0],j=w[1],E=(0,m.useState)(s),S=E[0],N=E[1],D=function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],n=(0,p.Z)(u.workTimeTypeDirect);return e?n.pop():n.shift(),n},A=(0,m.useMemo)((function(){return 0===_.length&&""===T.minTime&&""===T.maxTime}),[_,T]),R=function(e){x(e),C([]),j({minTime:"",maxTime:""}),N(!1),null===i||void 0===i||i({workTime:{workTimeType:[],workTimeTypeDirect:[],consult:!1}})},I=function(e){var n=e.target,t=n.value,o=n.name,r=[{text:T.minTime||"",value:T.minTime||""},{text:T.maxTime||"",value:T.maxTime||""}];if("minTime"===o){r[0]={text:t,value:t};var l=u.workTimeTypeDirect.findIndex((function(e){return e.value===t}));if(d.maxTime){var a,c=u.workTimeTypeDirect.findIndex((function(e){return e.value===d.maxTime})),v=null===(a=null===u||void 0===u?void 0:u.workTimeTypeDirect[l+1])||void 0===a?void 0:a.value;l>=c&&(r[1]={text:v,value:v})}else{r[1]={text:"",value:""}}}else r[1]={text:t,value:t};j({minTime:r[0].value,maxTime:r[1].value}),C([]),null===i||void 0===i||i({workTime:{workTimeType:[],workTimeTypeDirect:r,consult:A||s}})};return(0,m.useEffect)((function(){C(c),j(d),N(s)}),[c,d]),(0,a.jsx)("div",{className:O(),children:!t&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("div",{className:"".concat(O("__title-box")," no-count"),children:[(0,a.jsx)(g.Z,{type:"B3",weight:"bold",children:"\uadfc\ubb34\uc2dc\uac04"}),"workTimeType"===f&&(0,a.jsxs)("div",{className:O("__title-box__counter"),children:[(0,a.jsx)(g.Z,{type:"C1",children:"("}),(0,a.jsx)(g.Z,{type:"C1",children:"workTimeType"===f?_.length:0}),(0,a.jsxs)(g.Z,{type:"C1",children:["/",o,")"]})]})]}),(0,a.jsxs)("div",{className:O("__selector"),children:[(0,a.jsxs)("div",{children:[(0,a.jsx)("div",{className:O("__selector__check"),style:{alignSelf:"flex-start"},children:(0,a.jsx)(b.Z,{name:"workTimeType",label:"\ubaa9\ub85d\uc5d0\uc11c \uc120\ud0dd",labelType:"B3",labelStyle:{color:"#000000"},onChange:function(e){return R("workTimeType")},checked:"workTimeType"===f})}),(0,a.jsx)(y.Z,{type:"multiple",name:"workTimeType",onChange:function(e){if(e)if(
1o&&"workTimeType"===f&&e.length>o)alert("\ucd5c\ub300 ".concat(o,"\uac1c\uae4c\uc9c0 \uc120\ud0dd\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4."));else{var n=u.workTimeType.filter((function(n){return e.includes(n.code)})),t=0!==n.length&&s;j({minTime:"",maxTime:""}),C(e),N(t),null===i||void 0===i||i({workTime:{workTimeType:n,workTimeTypeDirect:[],consult:A||t}})}},value:_,children:null===(n=u.workTimeType)||void 0===n?void 0:n.map((function(e,n){return(0,a.jsx)(h.Z,{value:e.code,label:e.name,disabled:"workTimeTypeDirect"===f},"toggle-".concat(e.code,"-").concat(n))}))})]}),(0,a.jsxs)("div",{children:[(0,a.jsx)("div",{className:O("__selector__check"),children:(0,a.jsx)(b.Z,{name:"workTimeTypeDirect",label:"\uc9c1\uc811\uc120\ud0dd",labelType:"B3",labelStyle:{color:"#000000"},onChange:function(e){return R("workTimeTypeDirect")},checked:"workTimeTypeDirect"===f})}),(0,a.jsxs)("div",{className:O("__selector__time"),children:[(0,a.jsx)(W.Z,{title:"\uc2dc\uc791\uc2dc\uac04",optionLabel:"\uc2dc\uc791\uc2dc\uac04",name:"minTime",variant:"small",width:"160px",options:D(),value:T.minTime||"",onChange:I,disabled:"workTimeTypeDirect"!==f}),(0,a.jsx)(W.Z,{title:"\uc885\ub8cc\uc2dc\uac04",optionLabel:"\uc885\ub8cc\uc2dc\uac04",variant:"small",name:"maxTime",width:"160px",options:D(!1),value:T.maxTime,onChange:I,disabled:"workTimeTypeDirect"!==f})]})]}),(0,a.jsx)("div",{children:(0,a.jsx)("div",{className:O("__selector__check"),children:(0,a.jsx)(Z.Z,{name:"dfa",label:"\ud611\uc758 \uc81c\uc678",disabled:A,checked:S,onChange:function(e){var n=e.target.checked;if("workTimeType"===f){var t=u.workTimeType.filter((function(e){return c.includes(e.code)}));null===i||void 0===i||i({workTime:{workTimeType:t,workTimeTypeDirect:[],consult:n}})}else{var o=d.minTime||"",r=d.maxTime||"";null===i||void 0===i||i({workTime:{workTimeType:[],workTimeTypeDirect:[{text:o,value:o},{text:r,value:r}],consult:n}})}N(n)},labelType:"B3"})})})]})]})})}var I=(0,m.memo)(R),B=t(61072),M=t.n(B),V=(0,s.Z)(M(),"filter-work");function L(e){var n=e.dutyTermsValues,t=e.workDayValues,s=e.workTimeValues,p=e.closed,y=e.onDataChange,h=e.excludeKeys,g=(0,l.Z)(e,["dutyTermsValues","workDayValues","workTimeValues","closed","onDataChange","excludeKeys"]),x=(0,m.useState)({dutyTerms:[],workDay:{dayOfWeeks:[],dutyWeeks:[]},workTime:{workTimeType:[],workTimeTypeDirect:[]}}),k=x[0],_=x[1];(0,m.useEffect)((function(){(0,o.Z)((function(){var e,n,t,o,l,a,s,m;return(0,u.__generator)(this,(function(u){switch(u.label){case 0:return[4,(0,c.li)([{key:"recruitInfoSearchEnumsWorkPeriodType",url:(0,d.o1)(["recruitInfoSearchEnumsWorkPeriodType"])},{key:"recruitInfoSearchEnumsWorkWeekType",url:(0,d.o1)(["recruitInfoSearchEnumsWorkWeekType"])},{key:"recruitInfoSearchEnumsWorkDayType",url:(0,d.o1)(["recruitInfoSearchEnumsWorkDayType"])},{key:"recruitInfoSearchEnumsWorkTimeType",url:(0,d.o1)(["recruitInfoSearchEnumsWorkTimeType"])}])];case 1:return e=u.sent(),n=e.recruitInfoSearchEnumsWorkPeriodType[0].fields.map((function(e){return{code:e.key,name:e.description}})),t=(0,v.nC)(v.Ki,n,"code"),o=["AM","PM","EVENING","DAWN","AM_TO_PM","PM_TO_EVENING","EVENING_TO_DAWN","DAWN_TO_AM","FULL_TIME"].map((function(n){var t=e.recruitInfoSearchEnumsWorkTimeType[0].fields.find((function(e){return e.key===n}));return{code:t.key,name:t.description}})),l=e.recruitInfoSearchEnumsWorkWeekType[0].fields.filter((function(e){return"ALL_MINI_JOB_SHORT_WEEK"!==e.key})).map((function(e){return{code:e.key,name:e.description}})),a=(0,v.nC)(v.NY,l,"code"),s=e.recruitInfoSearchEnumsWorkDayType[0].fields.map((function(e){return{code:e.key,name:e.description}})),m=(0,v.nC)(v.Z,s,"code"),_((function(e){return(0,r.Z)((0,i.Z)({},e),{dutyTerms:t,workTime:{workTimeType:o,workTimeTypeDirect:f.cV},workDay:{dutyWeeks:a,dayOfWeeks:m}})})),[2]}}))}))()}),[]);var C,b=(0,m.useCallback)((function(e){null===y||void 0===y||y((0,i.Z)({},e))}),[y]);return p?null:(0,a.jsxs)("div",(0,r.Z)((0,i.Z)({className:V()},g),{children:[(!h||!(null===h||void 0===h?void 0:h.includes("dutyTerms")))&&(0,a.jsx)(w,{max:6,value:n||[],onChange:b,codes:k.dutyTerms}),(!h||!(null===h||void 0===h?void 0:h.includes("workDay")))&&(0,a.jsx)(N,{max:3,tab:(null===t||void 0===t?void 0:t.tab)||"dutyWeeks",codes:k.workDay,dayOfWeeksValues:(null===t||void 0===t?void 0:t.dayOfWeeksValues)||[],dutyWeeksValues:(null===t||void 0===t?void 0:t.dutyWeeksValues)||[],consult:(null===t||void 0===t?void 0:t.consult)||!1,onChange:b}),(!h||!(null===h||void 0===h?void 0:h.includes("workTime")))&&(0,a.jsx)(I,{max:3,codes:k.workTime,workTimeTypeDirectValues:null!==(C=null===s||void 0===s?void 0:s.workTimeTypeDirectValues)&&void 0!==C?C:{minTime:"",maxTime:""},workTimeTypeValues:(null===s||void 0===s?void 0:s.workTimeTypeValues)||[],tab:(null===s||void 0===s?void 0:s.tab)||"workTimeType",consult:(null===s||void 0===s?void 0:s.consult)||!1,onChange:b})]}))}var K=(0,m.memo)(L)},4747:function(e,n,t){"use strict";var o=t(60947),i=t(48417),r=t(92336),l=t(98519),u=t(22709),a=t(78479),c=t.n(a),d=t(71154),s=t(44549),v=t(99293),f=t(45810),m=t(72273),p=t(3099),y=t(8654),h=(0,f.Z)(c(),"modal-recommend-area");function g(e){var n=e.recommendValue,t=e.isOpen,a=e.onClose,c=e.onConfirm,f=(0,u.useState)([]),g=f[0],x=f[1],k=(0,u.useCallback)((function(e){var n=e.target,t=n.checked,o=n.value;x((function(e){return t?e.includes(o)?e:(0,i.Z)(e).concat([o]):e.filter((function(e){return e!==o}))}))}),[]),_=function(){var e=(0,o.Z)((function(){var e,n,t;return(0,r.__generator)(this,(function(o){switch(o.label){case 0:return o.trys.push([0,2,,3]),0===g.length?(alert("\uc9c0\uc5ed\uc744 \uc120\ud0dd\ud574 \uc8fc\uc138\uc694"),[2]):[4,(0,p.li)([{key:"searchArea",url:"".concat(y.Ew,"?code=").concat(g.join("&code="))}])];case 1:return e=o.sent().searchArea,n=e.reduce((function(e,n){var t=n.code,o=n.step,i=n.names;return o.length>1&&e.some((function(e){return e.code===o[0]}))||e.push({name:i[i.length-1]+" \uc804\uccb4",code:t,fullCode:o.join("-")+"-"}),e}),[]),c(n),[3,3];case 2:return t=o.sent(),m.Z.error(t),[3,3];case 3:return[2]}}
1))}));return function(){return e.apply(this,arguments)}}(),C=(0,u.useMemo)((function(){var e;return null===n||void 0===n||null===(e=n.recommendAreas)||void 0===e?void 0:e.filter((function(e){return 1===e.type}))}),[n]),w=(0,u.useMemo)((function(){var e;return null===n||void 0===n||null===(e=n.recommendAreas)||void 0===e?void 0:e.filter((function(e){return 2===e.type}))}),[n]),b=(0,u.useMemo)((function(){var e;return null===n||void 0===n||null===(e=n.recommendAreas)||void 0===e?void 0:e.filter((function(e){return 3===e.type}))}),[n]);return(0,l.jsxs)(s.Z,{classname:h(),isOpen:t,title:"\ucd94\ucc9c \uc9c0\uc5ed \uc120\ud0dd",modalWidth:"560",submitTxt:"\uc120\ud0dd",onBeforeClose:a,onSubmitClose:_,children:[(0,l.jsx)(v.Z,{tag:"p",type:"B2",children:"\ud68c\uc6d0\ub2d8\uacfc \uad00\ub828\uc774 \ub192\uc740 \uc9c0\uc5ed\uc785\ub2c8\ub2e4."}),(0,l.jsxs)("div",{className:h("__container"),children:[C&&(null===C||void 0===C?void 0:C.length)>0&&(0,l.jsxs)("div",{className:h("__section"),children:[(0,l.jsx)(v.Z,{tag:"p",type:"B3",weight:"medium",extendClass:h("__title"),bold:!0,children:"\uc7ac\ud559\uc911\uc778 \ud559\uad50 \uc8fc\ubcc0"}),C.map((function(e){return(0,l.jsx)(d.Z,{value:e.code,label:e.name,labelType:"B3",checked:null===g||void 0===g?void 0:g.includes(e.code),onChange:k},"university-".concat(e.code))}))]}),w&&(null===w||void 0===w?void 0:w.length)>0&&(0,l.jsxs)("div",{className:h("__section"),children:[(0,l.jsx)(v.Z,{tag:"p",type:"B3",weight:"medium",extendClass:h("__title"),bold:!0,children:"\uc774\ub825\uc11c \ud76c\ub9dd \uadfc\ubb34\uc9c0"}),(0,l.jsx)("div",{className:h("__check-box"),children:w.map((function(e){return(0,l.jsx)(d.Z,{value:e.code,label:e.name,labelType:"B3",checked:null===g||void 0===g?void 0:g.includes(e.code),onChange:k},"profile-".concat(e.code))}))})]}),b&&(null===b||void 0===b?void 0:b.length)>0&&(0,l.jsxs)("div",{className:h("__section"),children:[(0,l.jsx)(v.Z,{tag:"p",type:"B3",weight:"medium",extendClass:h("__title"),bold:!0,children:"\ud68c\uc6d0\uc815\ubcf4 \uc8fc\uc18c\uc9c0"}),(0,l.jsx)("div",{className:h("__check-box"),children:b.map((function(e){return(0,l.jsx)(d.Z,{value:e.code,label:e.name,labelType:"B3",checked:null===g||void 0===g?void 0:g.includes(e.code),onChange:k},"address-".concat(e.code))}))})]})]})]})}n.Z=(0,u.memo)(g)},2483:function(e,n,t){"use strict";var o=t(60947),i=t(92336),r=t(98519),l=t(22709),u=t(10565),a=t.n(u),c=t(44549),d=t(99293),s=t(45810),v=t(9135),f=t(72273),m=t(49619),p=t(3099),y=t(8654),h=(0,s.Z)(a(),"modal-recommend-part");function g(e){var n=e.isOpen,t=e.onClose,u=e.onConfirm,a=(0,l.useState)([]),s=a[0],g=a[1],x=(0,l.useState)([]),k=x[0],_=x[1],C=function(){var e=(0,o.Z)((function(){var e,n;return(0,i.__generator)(this,(function(t){switch(t.label){case 0:return t.trys.push([0,2,,3]),[4,(0,p.li)([{key:"part",url:y.$z}])];case 1:return e=t.sent(),g((function(){return e.part})),[3,3];case 2:return n=t.sent(),f.Z.error(n),[3,3];case 3:return[2]}}
1))}));return function(){return e.apply(this,arguments)}}(),w=function(){var e=(0,o.Z)((function(){var e,n;return(0,i.__generator)(this,(function(t){switch(t.label){case 0:return t.trys.push([0,2,,3]),[4,(0,m.tM)().get("/app/user-recommend/parts")];case 1:return e=t.sent().data,_((function(){return e.items})),[3,3];case 2:return n=t.sent(),f.Z.error(n),[3,3];case 3:return[2]}}))}));return function(){return e.apply(this,arguments)}}();return(0,l.useEffect)((function(){C(),w()}),[]),0===k.length?null:(0,r.jsxs)(c.Z,{classname:h(),isOpen:n,title:"\ucd94\ucc9c \uc5c5\uc9c1\uc885 \uc120\ud0dd",submitTxt:"\ubaa8\ub450\uc120\ud0dd",modalWidth:"560",onBeforeClose:function(){return t()},onSubmitClose:function(){var e=k.map((function(e){return e.code})),n=(0,v.VE)(s,e);u(n.map((function(e){var n,t=e.codes;return{code:t[1],fullCode:t.join("-"),name:(null===(n=k.find((function(e){return e.code===t[1]})))||void 0===n?void 0:n.name)||""}})))},children:[(0,r.jsx)(d.Z,{tag:"p",type:"B2",weight:"medium",children:"\ud68c\uc6d0\ub2d8\uc758 \uc774\ub825\uc11c\ub97c \uae30\ubc18\uc73c\ub85c \uc5c5\uc9c1\uc885\uc744 \ucd94\ucc9c\ud574\ub4dc\ub9bd\ub2c8\ub2e4."}),(0,r.jsx)("ul",{className:h("__container"),children:k.map((function(e){return(0,r.jsx)("li",{children:(0,r.jsx)(d.Z,{type:"B3",children:e.name})},e.code)}))}),(0,r.jsx)(d.Z,{tag:"p",type:"B3",extendClass:h("__question"),children:"\uc704 \uc5c5\uc9c1\uc885\uc744 \ud55c \ubc88\uc5d0 \uc120\ud0dd\ud558\uaca0\uc2b5\ub2c8\uae4c?"})]})}n.Z=(0,l.memo)(g)},80966:function(e,n,t){"use strict";t.d(n,{Z:function(){return Ce}});var o=t(60947),i=t(36690),r=t(93089),l=t(59106),u=t(11296),a=t(48417),c=t(92336),d=t(98519),s=t(18120),v=t(22709),f=t(96479),m=t.n(f),p=t(53570),y=t(37257),h=t(37549),g=t(1990),x=t(65317),k=t(9633),_=t(30206),C=t(17524),w=t.n(C),b=t(49063),Z=t(84786),T=t(3099),j=t(78411),E=t(8654),S=t(45810),N=t(9135),W=t(55555),D=t(4910),A=t(66480),O=t(75392),R=t(86544),I=t(40163),B=t(99293),M=t(89332),V=t.n(M),L=t(38817),K=t(79712),P=(0,S.Z)(V(),"filter-college-town");var F=function(e){var n=e.max,t=void 0===n?10:n,u=e.closed,s=void 0!==u&&u,f=e.onChange,m=e.onDataChange,p=e.onSaveSettingChange,y=e.onConfirm,h=e.values,g=e.useSelectorChip,x=void 0!==g&&g,k=e.excludeBar,_=void 0!==k&&k,C=e.onExcludeBarChange,w=e.exceptUniversityWithoutArea,b=e.updateQuery,Z=(0,l.Z)(e,["max","closed","onChange","onDataChange","onSaveSettingChange","onConfirm","values","useSelectorChip","excludeBar","onExcludeBarChange","exceptUniversityWithoutArea","updateQuery"]),S=(0,L.Fe)(),M=S.isAdult,V=S.isCertificated,F=S.logged,U=(0,v.useState)(),G=U[0],q=U[1],Q=(0,v.useState)(),Y=Q[0],J=Q[1],H=(0,v.useState)([]),z=H[0],X=H[1],$=(0,v.useMemo)((function(){return(null===G||void 0===G?void 0:G.map((function(e){return{name:e.name,code:e.code}})))||[]}),[G]),ee=(0,v.useMemo)((function(){var e;if(!Y||!G)return[];var n=null===(e=G.filter((function(e){return e.code===Y.code})))||void 0===e?void 0:e.pop();return n&&n.collection||[]}),[G,Y]),ne=(0,v.useCallback)((function(e){J(e)}),[]),te=function(e){var n=(0,a.Z)(z);
1if(n.find((function(n){return n.code===e.code})))n=n.filter((function(n){return n.code!==e.code}));else{if(t<=n.length)return void alert("\ucd5c\ub300 ".concat(t,"\uac1c\uae4c\uc9c0 \uc120\ud0dd\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4."));n.push(e)}X((function(e){return n})),null===f||void 0===f||f([e]),null===m||void 0===m||m({universities:n}),null===b||void 0===b||b({universities:n.map((function(e){return e.code})).join(",")})},oe=(0,v.useCallback)((function(){X([])}),[]),ie=(0,v.useCallback)((function(e){X((function(n){return n.filter((function(n){return n.code!==e}))}))}),[]),re=(0,v.useCallback)((function(e,n){G&&te({name:"".concat(n.name).split(" ").pop()||"",code:"".concat(n.code),fullCode:"".concat(n.siCode,"-").concat(n.code)})}),[G,te]),le=(0,v.useCallback)((function(e){var n=e.target.checked;(0,K.setCookie)("user-excludeBar",n,{maxAge:D.W8}),n&&M&&V&&alert("\ubc14(bar) \uc54c\ubc14\uc815\ubcf4\ub97c \uc5f4\ub78c\ud558\ub824\uba74 bar\uc81c\uc678 \uc124\uc815\uc744 \ud574\uc81c\ud558\uc154\uc57c \ud569\ub2c8\ub2e4. \uc124\uc815\ud574\uc81c\ub294 \uc5c5\uc9c1\uc885 \uc120\ud0dd \ud654\uba74\uc5d0\uc11c \uac00\ub2a5\ud569\ub2c8\ub2e4."),null===C||void 0===C||C(n)}),[M,V,C]),ue=(0,v.useCallback)((function(){if((0,W.No)($))if((0,W.No)(z)){var e=z[0].fullCode;if(e){var n=e.split("-"),t=$.find((function(e){return e.code===n[0]}))||$[0];G&&t&&J({code:t.code,name:t.name}),(0,N.kR)(n[0],"college-area")}}else J($[0]),J($[0])}),[s,$]),ae=(0,v.useCallback)((function(){if((0,W.No)($)&&(0,W.No)(z)){var e=z[0].fullCode;if(e){var n=e.split("-");(0,N.kR)(n[1],"college")}}}),[s,$,Y]);return(0,v.useEffect)((function(){(0,o.Z)((function(){var e,n,t;return(0,c.__generator)(this,(function(o){switch(o.label){case 0:return[4,(0,T.li)([{key:"universities",url:E.n3}])];case 1:return e=o.sent().universities,n=e.map((function(e){return(0,r.Z)((0,i.Z)({},e),{collection:e.collection.filter((function(e){return!!e.dongCode}))})})),t={universities:(0,N.nC)(N.uI,w?n:e,"name")},q(t.universities),ne(t.universities[0]),[2]}}))}))()}),[ne]),(0,v.useEffect)((function(){h&&X(h)}),[h]),(0,v.useEffect)((function(){ue()}),[s,$]),(0,v.useEffect)((function(){setTimeout((function(){return ae()}))}),[s,$,Y]),(0,d.jsxs)("div",(0,r.Z)((0,i.Z)({className:P()},Z),{children:[!s&&(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(O.Z,{max:t,placeholder:"\ub300\ud559\uad50 \uac80\uc0c9 \uc608)\uacbd\ud76c\ub300\ud559\uad50,\uac74\uad6d\ub300\ud559\uad50",onCheckboxClick:re,selected:z,autoComplete:j.El,exceptUniversityWithoutArea:w,children:(0,d.jsx)(I.Z,{className:P("__toggle"),size:"small",label:(0,d.jsx)(B.Z,{type:"B3",children:"Bar\uc54c\ubc14 \uc81c\uc678"}),isVisibleLabel:!0,checked:!(M||!V||!F)||_,onChange:le,disabled:F&&!M})}),(0,d.jsx)(A.Z,{firstColumnId:"college-area",secondColumnId:"college",firstColumn:{title:"\uc9c0\uc5ed",data:$,selected:Y?[Y]:[]},onFirstColumnChange:ne,secondColumn:{title:"\ub300\ud559\uad50",data:ee,selectable:!0,selected:z},onSecondColumnChange:function(e){return te((0,r.Z)((0,i.Z)({},e),{fullCode:"".concat(null===Y||void 0===Y?void 0:Y.code,"-").concat(e.code)}))}})]}),x&&(0,d.jsx)(R.Z,{selected:z,onReset:oe,onDelete:ie,onSaveSettingChange:p,onConfirm:y})]}))},U=t(19381),G=t(91156),q=t(71154),Q=t(6245),Y=t.n(Q),J=(0,S.Z)(Y(),"filter-preference");var H=function(e){var n=e.max,t=void 0===n?17:n,u=e.closed,s=e.onChange,f=e.onDataChange,m=e.onSaveSettingChange,p=e.onConfirm,y=e.values,h=void 0===y?[]:y,g=e.useSelectorChip,x=e.updateQuery,k=(0,l.Z)(e,["max","closed","onChange","onDataChange","onSaveSettingChange","onConfirm","values","useSelectorChip","updateQuery"]),_=(0,v.useState)([]),C=_[0],w=_[1],b=(0,v.useState)([]),Z=b[0],j=b[1],S=function(e){var n=(0,a.Z)(Z);if(n.find((function(n){return n.code===e.code})))n=n.filter((function(n){return n.code!==e.code}));else{if(t<=n.length)return void alert("\ucd5c\ub300 ".concat(t,"\uac1c\uae4c\uc9c0 \uc120\ud0dd\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4."));n.push(e)}j(n),null===s||void 0===s||s([e]),null===f||void 0===f||f({preference:n}),null===x||void 0===x||x({preferences:n.map((function(e){return e.code})).join(",")})},N=(0,v.useCallback)((function(){j([])}),[]),W=(0,v.useCallback)((function(e){j((function(n){return n.filter((function(n){return n.code!==e}))}))}),[]);return(0,v.useEffect)((function(){(0,o.Z)((function(){var e;return(0,c.__generator)(this,(function(n){switch(n.label){case 0:return[4,(0,T.li)([{key:"preferences",url:E.uL}])];case 1:return e=n.sent(),w(e.preferences.filter((function(e){return"38"!==e.code}))),[2]}}))}))()}),[]),(0,v.useEffect)((function(){h&&j(h)}),[h]),(0,d.jsxs)("div",(0,r.Z)((0,i.Z)({className:J()},k),{children:[!u&&t&&(0,d.jsxs)("div",{className:J("__counter"),children:[(0,d.jsx)(B.Z,{type:"B3",extendClass:J("__count"),children:h.length}),(0,d.jsxs)(B.Z,{type:"B3",children:["/",t]})]}),!u&&(0,d.jsx)("div",{className:J("__container"),children:C.map((function(e){var n=e.code,t=e.name;e.fullCode;return(0,d.jsx)("div",{className:J("__box"),children:(0,d.jsx)(q.Z,{label:t,labelType:"B3",checked:Z.some((function(e){return e.code===n})),onChange:function(e){return S({code:n,name:t,fullCode:n})}})},n)}))}),g&&(0,d.jsx)(R.Z,{selected:Z,onReset:N,onDelete:W,onSaveSettingChange:m,onConfirm:p})]}))},z=t(92814),X=t(61653),$=t.n(X),ee=t(44549),ne=t(59602),te=(0,S.Z)($(),"subway-line-modal"),oe={H01:"subway_busan_donghae.png",C01:"subway_busan_line_gimhae.jpeg",401:"subway_busan_line01.jpeg",402:"subway_busan_line02.jpeg",403:"subway_busan_line03.jpeg",404:"subway_busan_line04.jpeg",501:"subway_daegu_line01.jpeg",502:"subway_daegu_line02.jpeg",503:"subway_daegu_line03.jpeg",801:"subway_daejun_line01.jpeg",601:"subway_gwangju_line01.jpeg",101:"subway_metroline01.jpeg",102:"subway_metroline02.jpeg",103:"subway_metroline03.jpeg",104:"subway_metroline04.jpeg",105:"subway_metroline05.jpeg",106:"subway_metroline06.jpeg",107:"subway_metroline07.jpeg",108:"subway_metroline08.png",109:"subway_metroline09.jpeg",201:"subway_metroline_suin.jpeg",202:"subway_metroline_sboondang.jpeg",301:"subway_metroline_inchun.jpeg",302:"subway_metroline_incheon2.png",901:"subway_metroline_airport.jpeg",A01:"subway_metroline_kyungui.jpeg",B01:"subway_metroline_kyungchun.jpeg",E01:"subway_metroline_uijeongbu.jpeg",F01:"subway_metroline_ever.jpeg",G01:"subway_metroline_gyeonggang.jpeg",I01:"subway_metroline_us.jpeg",J01:"subway_metroline_seohae2.jpg",K01:"subway_metroline_gimpogold.jpeg",L01:"subway_metroline_sinlim.jpeg",M01:"subway_daegu_daegyeong.png",N01:"subway_metroline_gtx_a.png"};var ie=function(e){var n=e.isOpen,t=e.onClose,o=e.subwayLineCode,i=(0,v.useMemo)((function(){var e=oe[o||""];return e?(0,d.jsx)(ne.Z,{className:te("-map-img"),src:"".concat(globalThis.process.env.NEXT_PUBLIC_IMAGE_URL,"/images/subway-line/").concat(e),alt:e}):null}),[o]);return(0,d.jsx)(ee.Z,{isOpen:n,onAfterClose:t,hasCloseButton:!0,modalWidth:"800",title:"\ub178\uc120\ub3c4 \ubcf4\uae30",children:i})},re=t(72995),le=t.n(re),ue=(0,S.Z)(le(),"filter-subway");var ae=function(e){var n=e.values,t=e.max,u=void 0===t?10:t,s=e.closed,f=e.onChange,m=e.onDataChange,p=e.onSaveSettingChange,y=e.onConfirm,h=e.useSelectorChip,g=void 0!==h&&h,x=e.updateQuery,k=(0,l.Z)(e,["values","max","closed","onChange","onDataChange","onSaveSettingChange","onConfirm","useSelectorChip","updateQuery"]),_=(0,v.useState)(),C=_[0],w=_[1],b=(0,v.useState)(),Z=b[0],S=b[1],D=(0,v.useState)(),I=D[0],B=D[1],M=(0,v.useState)([]),V=M[0],L=M[1],K=(0,v.useState)([]),P=K[0],F=K[1],U=(0,v.useState)({isOpen:!1,code:""}),G=U[0],q=U[1],Q=(0,v.useMemo)((function(){return(null===C||void 0===C?void 0:C.map((function(e){return{name:e.name,code:e.code}})))||[]}),[C]),Y=(0,v.useMemo)((function(){var e;if(!Z||!C)return[];var n=null===(e=C.filter((function(e){return e.code===Z.code})))||void 0===e?void 0:e.pop();return n&&n.collection||[]}),[C,Z]),J=(0,v.useCallback)((function(e){L([]),S(e)}),[]),H=(0,v.useCallback)(function(){var e=(0,o.Z)((function(e){var n,t,o;return(0,c.__generator)(this,(function(i){switch(i.label){case 0:return n=e.code,t=e.name,n?(B({code:n,name:t}),[4,(0,T.li)([{key:"station",url:"".concat(E.Xk,"?code=").concat(n)}])]):(L([]),[2]);case 1:return o=i.sent().station,L(o),[2]}}))}));return function(n){return e.apply(this,arguments)}}(),[P,u,I]),X=(0,v.useCallback)((function(e){var n=(0,a.Z)(P);if(n.find((function(n){return n.code===e.code})))n=n.filter((function(n){return n.code!==e.code}));else{if(u<=n.length)return void alert("\ucd5c\ub300 ".concat(u,"\uac1c\uae4c\uc9c0 \uc120\ud0dd\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4."));n.push(e)}F(n),null===f||void 0===f||f([e]),null===m||void 0===m||m({subway:n}),null===x||void 0===x||x({subways:n.map((function(e){return e.code})).join(",")})}),[u,f,m,P]),$=(0,v.useCallback)((function(){F([])}),[]),ee=(0,v.useCallback)((function(e){F((function(n){return n.filter((function(n){return n.code!==e}))}))}),[]),ne=(0,v.useCallback)((function(e,n){C&&X({name:"".concat(n.name).split(" ").pop()||"",code:"".concat(n.code),fullCode:"".concat(null===Z||void 0===Z?void 0:Z.code,"-").concat(n.lineCode,"-").concat(n.code)})}),[X,null===Z||void 0===Z?void 0:Z.code,C]),te=(0,v.useCallback)((function(e){q({isOpen:!0,code:e})}),[]),oe=(0,v.useCallback)((function(){q({isOpen:!1,code:""})}),[]),re=(0,v.useCallback)((function(){if((0,W.No)(Q))if((0,W.No)(P)){var e=P[0].fullCode;if(e){var n=(0,z.Kp)(e),t=Q.find((function(e){return e.code===n.si}))||Q[0];Q&&t&&J({code:t.code,name:t.name}),(0,N.kR)(t.code,"subwayArea")}}else S(Q[0]),J(Q[0])}),[s,Q]),le=(0,v.useCallback)((function(){if((0,W.No)(Y)&&(0,W.No)(P)){var e=P[0].fullCode;if(e){var n=e.split("-"),t=null===Y||void 0===Y?void 0:Y.find((function(e){return e.code===n[1]}));(0,N.kR)(n[1],"line"),t&&n[1]&&H({code:t.code,name:t.name})}}}),[s,Y]),ae=(0,v.useCallback)((function(){if((0,W.No)(P)){var e=P[0].code;(0,N.kR)(e,"subway")}}),[s,P]);return(0,v.useEffect)((function(){(0,o.Z)((function(){var e;return(0,c.__generator)(this,(function(n){switch(n.label){case 0:return[4,(0,T.li)([{key:"subway",url:E.up}])];case 1:return e=n.sent().subway,w(e),[2]}}))}))()}),[J]),(0,v.useEffect)((function(){re()}),[s,Q]),(0,v.useEffect)((function(){le()}),[s,Y]),(0,v.useEffect)((function(){setTimeout((function(){return ae()}))}),[s,V,P]),(0,v.useEffect)((function(){n&&F(n)}),[n]),(0,d.jsxs)("div",(0,r.Z)((0,i.Z)({className:ue()},k),{children:[!s&&(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(O.Z,{max:u,placeholder:"\uc5ed\uba85 \uac80\uc0c9 \uc608)\uac15\ub0a8,\uc7a0\uc2e4",selected:P,autoComplete:j.Mz,onCheckboxClick:ne}),(0,d.jsx)(A.Z,{firstColumnId:"subwayArea",secondColumnId:"line",thirdColumnId:"subway",firstColumn:{title:"\uc9c0\uc5ed",data:Q,selected:Z?[Z]:[]},onFirstColumnChange:J,secondColumn:{title:"\ud638\uc120",data:Y,selected:[I].filter((function(e){return!!e})),showDetailIcon:!0,onClickDetailIcon:te},onSecondColumnChange:H,thirdColumn:{title:"\uc5ed",data:V,selectable:!0,selected:P},onThirdColumnChange:function(e){return X((0,r.Z)((0,i.Z)({},e),{fullCode:"".concat(null===Z||void 0===Z?void 0:Z.code,"-").concat(e.lineCode,"-").concat(e.code)}))}})]}),g&&(0,d.jsx)(R.Z,{selected:P,onReset:$,onDelete:ee,onSaveSettingChange:p,onConfirm:y}),(0,d.jsx)(ie,{isOpen:G.isOpen,onClose:oe,subwayLineCode:G.code})]}))},ce=t(26217),de=t.n(ce),se=t(23587),ve=(0,S.Z)(de(),"filter-welfare");var fe=function(e){var n=e.max,t=void 0===n?3:n,o=e.closed,u=e.onChange,c=e.onDataChange,s=e.onSaveSettingChange,f=e.onConfirm,m=e.values,p=void 0===m?[]:m,y=e.useSelectorChip,h=e.updateQuery,g=(0,l.Z)(e,["max","closed","onChange","onDataChange","onSaveSettingChange","onConfirm","values","useSelectorChip","updateQuery"]),x=(0,v.useState)(),k=x[0],_=x[1],C=(0,v.useState)(),w=C[0],b=C[1],Z=(0,v.useState)([]),j=Z[0],S=Z[1],D=(0,v.useMemo)((function(){return(null===k||void 0===k?void 0:k.map((function(e){var n=e.name,t=e.code;return{name:n,code:String(t)}})))||[]}),[k]),O=(0,v.useMemo)((function(){var e;if(!w||!k)return[];var n=null===(e=k.filter((function(e){return e.code===Number(w.code)})))||void 0===e?void 0:e.pop();return n&&n.collection.map((function(e){return(0,r.Z)((0,i.Z)({},e),{code:String(e.code)})}))||[]}),[k,w]),I=(0,v.useCallback)((function(e){b(e)}),[]),M=(0,v.useCallback)((function(e){var n=(0,a.Z)(j);if(n.find((function(n){return n.code===e.code})))n=n.filter((function(n){return n.code!==e.code}));
1else{if(t<=n.length)return void alert("\ucd5c\ub300 ".concat(t,"\uac1c\uae4c\uc9c0 \uc120\ud0dd\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4."));n.push(e)}S((function(e){return n})),null===u||void 0===u||u(n),null===c||void 0===c||c({welfare:n}),null===h||void 0===h||h({welfares:n.map((function(e){return e.fullCode})).join(",")})}),[t,u,c,j]),V=(0,v.useCallback)((function(){S([])}),[]),L=(0,v.useCallback)((function(e){S((function(n){return n.filter((function(n){return n.code!==e}))}))}),[]),K=(0,v.useCallback)((function(){if(k&&(0,W.No)(k))if((0,W.No)(j)){var e=j[0].fullCode;if(e){var n=e.split("-"),t=(null===k||void 0===k?void 0:k.find((function(e){return e.code.toString()===n[0]})))||k[0];k&&t&&I({code:t.code.toString(),name:t.name}),(0,N.kR)(n[0],"welfares")}}else b({code:k[0].code.toString(),name:k[0].name}),I({code:k[0].code.toString(),name:k[0].name})}),[o,k]),P=(0,v.useCallback)((function(){if((0,W.No)(k)&&(0,W.No)(j)){var e=j[0].fullCode;if(e){var n=e.split("-");(0,N.kR)(n[1],"welfare")}}}),[o,k,j]);return(0,v.useEffect)((function(){(0,T.li)([{key:"welfares",url:E.cG}]).then((function(e){var n=e.welfares;_(n),I((0,r.Z)((0,i.Z)({},n[0]),{code:String(n[0].code)}))}))}),[I]),(0,v.useEffect)((function(){(0,se.Z)(p,j)||S(p)}),[p,j]),(0,v.useEffect)((function(){K()}),[o,k]),(0,v.useEffect)((function(){setTimeout((function(){return P()}))}),[o,k,j]),(0,d.jsxs)("div",(0,r.Z)((0,i.Z)({className:ve()},g),{children:[!o&&t&&(0,d.jsxs)("div",{className:ve("__counter"),children:[(0,d.jsx)(B.Z,{type:"B3",extendClass:ve("__count"),children:p.length}),(0,d.jsxs)(B.Z,{type:"B3",children:["/",t]})]}),!o&&(0,d.jsx)(A.Z,{firstColumnId:"welfares",secondColumnId:"welfare",firstColumn:{title:"\uad6c\ubd84",data:D,selected:w?[w]:[]},onFirstColumnChange:I,secondColumn:{title:"\uc138\ubd80\uc120\ud0dd",data:O,selectable:!0,selected:j},onSecondColumnChange:function(e){return M((0,r.Z)((0,i.Z)({},e),{fullCode:"".concat(null===w||void 0===w?void 0:w.code,"-").concat(e.code)}))}}),y&&(0,d.jsx)(R.Z,{selected:j,onReset:V,onDelete:L,onSaveSettingChange:s,onConfirm:f})]}))},me=t(38585),pe=t(51183),ye=t(4747),he=t(2483),ge=t(85066),xe=t(64129),ke="recruit-filter",_e=m().bind(w());var Ce=function(e){var n,t,f,m,C,w,T,j,E,S,N,W,D,A,O,I,M,V,K,P,q,Q,Y,J,z,X,$,ee,ne,te,oe,ie,re,le,ue,ce,de,se,ve,Ce,we,be,Ze,Te,je,Ee,Se,Ne,We=e.filters,De=(e.queryKey,e.mergeAndSetCondition),Ae=e.condition,Oe=e.memberType,Re=e.detailExcludeKeys,Ie=(e.checkBeforeSubmit,e.defaultSelectedFilter),Be=void 0===Ie?null:Ie,Me=e.selected,Ve=e.onReset,Le=e.onDelete,Ke=e.useRecommendArea,Pe=void 0===Ke||Ke,Fe=e.excludeCondition,Ue=e.hideConditionEmpty,Ge=void 0!==Ue&&Ue,qe=e.exceptUniversityWithoutArea,Qe=void 0!==qe&&qe,Ye=e.updateQuery,Je=e.children,He=(0,l.Z)(e,["filters","queryKey","mergeAndSetCondition","condition","memberType","detailExcludeKeys","checkBeforeSubmit","defaultSelectedFilter","selected","onReset","onDelete","useRecommendArea","excludeCondition","hideConditionEmpty","exceptUniversityWithoutArea","updateQuery","children"]),ze=(0,L.Fe)(),Xe=ze.isPersonal,$e=ze.isAdult,en=ze.logged,nn=(0,v.useState)(),tn=nn[0],on=nn[1],rn=(0,h.v)(),ln=rn.recommendAreaModalOpen,un=rn.recommendAreaValue,an=rn.closeRecommendAreaModal,cn=rn.conditionAreaRecommend,dn=(0,g.L)(),sn=dn.recommendPartModalOpen,vn=dn.closeRecommendPartModal,fn=dn.conditionPartRecommend,mn=(0,v.useState)(Be),pn=mn[0],yn=mn[1],hn=(0,v.useState)(null),gn=hn[0],xn=hn[1],kn=(0,v.useState)(""),_n=kn[0],Cn=kn[1],wn=(0,s.useRouter)(),bn=function(){var e=(0,o.Z)((function(){var e,n,t,o,d,s;return(0,c.__generator)(this,(function(c){switch(c.label){case 0:return gn?confirm("\uae30\uc874\uc5d0 \uc120\ud0dd\ud55c \uac80\uc0c9\uc870\uac74\uc740 \ubaa8\ub450 \ucd08\uae30\ud654\ub429\ub2c8\ub2e4. \ub0b4\uc774\ub825\uc11c \uc870\uac74\uc744 \ubd88\ub7ec\uc624\uc2e4\ub798\uc694?")?[4,(0,_.Z)((0,y.TZ)())]:[3,2]:(confirm("\ubcf4\uc720 \uc911\uc778 \uc774\ub825\uc11c\uac00 \uc5c6\uc2b5\ub2c8\ub2e4. \uc774\ub825\uc11c \ub4f1\ub85d\ud558\ub7ec \uac00\uc2e4\ub798\uc694?")&&wn.push("/personal/resume-register"),[2]);case 1:e=u.Z.apply(void 0,[c.sent(),2]),n=e[0],t=e[1],n&&alert("\ub0b4\uc774\ub825\uc11c \uc870\uac74 \uc870\ud68c\uc5d0 \uc2e4\ud328\ud588\uc2b5\ub2c8\ub2e4."),t&&(d=t.condition.condition,Fe&&Fe.length>
10&&(d=k.CE.apply(void 0,[d].concat((0,a.Z)(Fe)))),d.includeHomeWork,s=(0,l.Z)(d,["includeHomeWork"]),De({condition:(0,r.Z)((0,i.Z)({},s),{parts:(null===(o=s.parts)||void 0===o?void 0:o.slice(0,10))||[]})})),c.label=2;case 2:return[2]}}))}));return function(){return e.apply(this,arguments)}}(),Zn=(0,v.useCallback)((function(e,n){yn(0===(null===e||void 0===e?void 0:e.length)?null:n.currentTarget.value)}),[yn]),Tn=(0,v.useCallback)((function(e){var n,t,o,r,l,u,a={condition:(0,i.Z)({},e.area&&{areas:e.area.map((function(e){var n,t,o,i,r=(null===e||void 0===e||null===(n=e.fullCode)||void 0===n?void 0:n.split("-"))||["","",""];return{si:null!==(t=null===r||void 0===r?void 0:r[0])&&void 0!==t?t:"",gu:null!==(o=null===r||void 0===r?void 0:r[1])&&void 0!==o?o:"",dong:null!==(i=null===r||void 0===r?void 0:r[2])&&void 0!==i?i:""}}))},e.parts&&{parts:e.parts.map((function(e){var n,t,o=(null===e||void 0===e||null===(n=e.fullCode)||void 0===n?void 0:n.split("-"))||["",""];return{categoryCode:o[0],code:null!==(t=o[1])&&void 0!==t?t:""}}))},e.gender&&{genderType:null===e||void 0===e?void 0:e.gender.value,excludeNegoGender:null===e||void 0===e?void 0:e.gender.unrelated},e.ageSingle&&{age:null===e||void 0===e?void 0:e.ageSingle.value,excludeNegoAge:null===e||void 0===e?void 0:e.ageSingle.unrelated},e.workType&&{employmentTypes:null===e||void 0===e?void 0:e.workType.value},e.keyword&&(0,i.Z)({},e.keyword.exclusionValues&&{excludeKeywords:e.keyword.exclusionValues},null!=e.keyword.tempExclusionValue&&{tempExcludeKeyword:e.keyword.tempExclusionValue},e.keyword.inclusionValue&&{includeKeyword:e.keyword.inclusionValue}),e.dutyTerms&&{workPeriodTypes:(null===e||void 0===e?void 0:e.dutyTerms.map((function(e){return e.code})))||[]},e.workDay&&{workWeekTypes:null===(n=e.workDay.dutyWeeks)||void 0===n?void 0:n.map((function(e){return e.code})),workDayTypes:null===(t=e.workDay.dayOfWeeks)||void 0===t?void 0:t.map((function(e){return e.code})),excludeNegoWorkWeek:null===(o=e.workDay)||void 0===o?void 0:o.consult},"boolean"===typeof e.excludeBar&&{excludeBar:e.excludeBar},e.workTime&&(0,i.Z)({},{workTimeTypes:null===(r=e.workTime.workTimeType)||void 0===r?void 0:r.map((function(e){return e.code})),startWorkTime:(null===(l=e.workTime.workTimeTypeDirect[0])||void 0===l?void 0:l.value)||void 0,endWorkTime:(null===(u=e.workTime.workTimeTypeDirect[1])||void 0===u?void 0:u.value)||void 0,excludeNegoWorkTime:e.workTime.consult||!1}))};De(a)}),[De]),jn=(0,v.useMemo)((function(){return Me}),[Me]),En=(0,v.useCallback)((function(e){switch(e){case"area":return["AREA"];case"parts":return["PART"];case"work":return["WORK_PERIOD","WORK_WEEK","WORK_TIME","WORK_WEEK_MANUAL","WORK_TIME_MANUAL"];case"detail":return["GENDER","AGE","EMPLOYMENT","KEYWORD_INCLUDE","KEYWORD_EXCLUDE"];case"subway":return["SUBWAY"];case"universities":return["UNIVERSITY"];case"preference":return["PREFERENCE"];case"welfare":return["WELFARE"];default:return[]}}),[]),Sn=(0,v.useCallback)((function(e){if(!e)return 0;var n=En(e);return jn.filter((function(e){var t=e.deleteKey;return t&&n.includes(t)})).length}),[En,jn]),Nn=(0,v.useCallback)((function(){null===Ve||void 0===Ve||Ve()}),[Ve]),Wn=(0,v.useCallback)((function(e,n,t){null===Le||void 0===Le||Le(e,n,t)}),[Le]),Dn=(0,v.useMemo)((function(){return We.map((function(e,n){var t=e.id,o=e.title,i=e.optional,r=Sn(t);return(0,d.jsx)(ge.Z,{label:(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)("span",{children:o}),i&&(0,d.jsx)(B.Z,{type:"C1",tag:"small",children:"(\uc120\ud0dd)"}),r>0&&(0,d.jsx)(B.Z,{type:"C2",weight:"medium",tag:"em",children:r})]}),value:t,icon:(0,d.jsx)(pe.Z,{name:t===pn?"system_select_arrow_up":"system_select_arrow_down"}),"aria-selected":t===pn,"aria-controls":"panel-".concat(n),id:"tab-".concat(n),role:"tab"},"filter-".concat(t))}))}),[We,pn,jn]),An=(0,v.useMemo)((function(){return We.map((function(e){return e.id}))}),[We.length]),On=(0,v.useMemo)((function(){var e;return((null===(e=Ae.condition)||void 0===e?void 0:e.areas)||[]).map((function(e){var n=e.si,t=e.gu,o=e.dong;return{fullCode:"".concat(n,"-").concat(t,"-").concat(o),code:o||t||n}}))}),[null===(n=Ae.condition)||void 0===n?void 0:n.areas]),Rn=(0,v.useMemo)((function(){var e;return((null===(e=Ae.condition)||void 0===e?void 0:e.parts)||[]).map((function(e){var n=e.categoryCode,t=e.code;
1return{fullCode:"".concat(n,"-").concat(t),code:t||n}}))}),[null===(t=Ae.condition)||void 0===t||null===(f=t.parts)||void 0===f?void 0:f.length]),In=(0,v.useMemo)((function(){var e;return null!==(be=null===(e=Ae.condition)||void 0===e?void 0:e.workPeriodTypes)&&void 0!==be?be:[]}),[null===(m=Ae.condition)||void 0===m||null===(C=m.workPeriodTypes)||void 0===C?void 0:C.length]),Bn=(0,v.useMemo)((function(){var e,n,t,o,i,r,l,u,a;return{tab:(null===(e=Ae.condition)||void 0===e?void 0:e.workDayTypes)&&(null===(n=Ae.condition.workDayTypes)||void 0===n?void 0:n.length)>0?"dayOfWeeks":"dutyWeeks",dayOfWeeksValues:(null===(t=Ae.condition)||void 0===t?void 0:t.workDayTypes)&&(null===(o=Ae.condition.workDayTypes)||void 0===o?void 0:o.length)>0?null===(i=Ae.condition)||void 0===i?void 0:i.workDayTypes:[],dutyWeeksValues:(null===(r=Ae.condition)||void 0===r?void 0:r.workWeekTypes)&&(null===(l=Ae.condition.workWeekTypes)||void 0===l?void 0:l.length)>0?null===(u=Ae.condition)||void 0===u?void 0:u.workWeekTypes:[],consult:null!==(Ze=null===(a=Ae.condition)||void 0===a?void 0:a.excludeNegoWorkWeek)&&void 0!==Ze&&Ze}}),[null===(w=Ae.condition)||void 0===w?void 0:w.excludeNegoWorkWeek,null===(T=Ae.condition)||void 0===T||null===(j=T.workDayTypes)||void 0===j?void 0:j.length,null===(E=Ae.condition)||void 0===E||null===(S=E.workWeekTypes)||void 0===S?void 0:S.length]),Mn=(0,v.useMemo)((function(){var e,n,t,o,i,r,l,u,a;return{tab:!(null===(e=Ae.condition)||void 0===e?void 0:e.workTimeTypes)||(null===(n=Ae.condition)||void 0===n?void 0:n.startWorkTime)&&""!==(null===(t=Ae.condition)||void 0===t?void 0:t.startWorkTime)||(null===(o=Ae.condition)||void 0===o?void 0:o.endWorkTime)&&""!==(null===(i=Ae.condition)||void 0===i?void 0:i.endWorkTime)?"workTimeTypeDirect":"workTimeType",consult:null!==(Te=null===(r=Ae.condition)||void 0===r?void 0:r.excludeNegoWorkTime)&&void 0!==Te&&Te,workTimeTypeDirectValues:{minTime:(null===(l=Ae.condition)||void 0===l?void 0:l.startWorkTime)||"",maxTime:(null===(u=Ae.condition)||void 0===u?void 0:u.endWorkTime)||""},workTimeTypeValues:(null===(a=Ae.condition)||void 0===a?void 0:a.workTimeTypes)||[]}}),[null===(N=Ae.condition)||void 0===N?void 0:N.startWorkTime,null===(W=Ae.condition)||void 0===W?void 0:W.endWorkTime,null===(D=Ae.condition)||void 0===D?void 0:D.excludeNegoWorkTime,null===(A=Ae.condition)||void 0===A||null===(O=A.workTimeTypes)||void 0===O?void 0:O.length]),Vn=(0,v.useMemo)((function(){var e,n;return{value:null===(e=Ae.condition)||void 0===e?void 0:e.genderType,unrelated:null===(n=Ae.condition)||void 0===n?void 0:n.excludeNegoGender}}),[null===(I=Ae.condition)||void 0===I?void 0:I.genderType,null===(M=Ae.condition)||void 0===M?void 0:M.excludeNegoGender]),Ln=(0,v.useMemo)((function(){var e,n;return{value:null===(e=Ae.condition)||void 0===e?void 0:e.age,unrelated:null===(n=Ae.condition)||void 0===n?void 0:n.excludeNegoAge}}),[null===(V=Ae.condition)||void 0===V?void 0:V.age,null===(K=Ae.condition)||void 0===K?void 0:K.excludeNegoAge]),Kn=(0,v.useMemo)((function(){var e;return{value:null!==(je=null===(e=Ae.condition)||void 0===e?void 0:e.employmentTypes)&&void 0!==je?je:[],names:[]}}),[null===(P=Ae.condition)||void 0===P||null===(q=P.employmentTypes)||void 0===q?void 0:q.length]),Pn=(0,v.useMemo)((function(){var e,n,t;return{inclusionValue:null!==(Ee=null===(e=Ae.condition)||void 0===e?void 0:e.includeKeyword)&&void 0!==Ee?Ee:"",exclusionValues:null!==(Se=null===(n=Ae.condition)||void 0===n?void 0:n.excludeKeywords)&&void 0!==Se?Se:[],tempExclusionValue:null!==(Ne=null===(t=Ae.condition)||void 0===t?void 0:t.tempExcludeKeyword)&&void 0!==Ne?Ne:""}}),[null===(Q=Ae.condition)||void 0===Q?void 0:Q.includeKeyword,null===(Y=Ae.condition)||void 0===Y?void 0:Y.excludeKeywords,null===(J=Ae.condition)||void 0===J?void 0:J.tempExcludeKeyword]),Fn=(0,v.useMemo)((function(){var e,n,t;return(null===(e=Ae.extensionCondition)||void 0===e||null===(n=e.university)||void 0===n||null===(t=n.universities)||void 0===t?void 0:t.map((function(e){var n=e.si,t=e.code;return{fullCode:"".concat(n,"-").concat(t),code:t}})))||[]}),[null===(z=Ae.extensionCondition)||void 0===z||null===(X=z.university)||void 0===X||null===($=X.universities)||void 0===$?void 0:$.length]),Un=(0,v.useMemo)((function(){var e,n,t;return(null===(e=Ae.extensionCondition)||void 0===e||null===(n=e.preference)||void 0===n||null===(t=n.preferences)||void 0===t?void 0:t.map((function(e){return{code:e,fullCode:e}})))||[]}),[null===(ee=Ae.extensionCondition)||void 0===ee||null===(ne=ee.preference)||void 0===ne||null===(te=ne.preferences)||void 0===te?void 0:te.length]),Gn=(0,v.useMemo)((function(){var e,n,t;return(null===(e=Ae.extensionCondition)||void 0===e||null===(n=e.welfare)||void 0===n||null===(t=n.welfares)||void 0===t?void 0:t.map((function(e){var n=e.code,t=e.categoryCode;return{fullCode:"".concat(t,"-").concat(n),code:n}})))||[]}),[null===(oe=Ae.extensionCondition)||void 0===oe||null===(ie=oe.welfare)||void 0===ie||null===(re=ie.welfares)||void 0===re?void 0:re.length]),qn=(0,v.useMemo)((function(){var e,n,t;return(null===(e=Ae.extensionCondition)||void 0===e||null===(n=e.subway)||void 0===n||null===(t=n.subways)||void 0===t?void 0:t.map((function(e){var n=e.areaCode,t=e.subwayLineCode,o=e.stationCode;return{name:n,code:o,fullCode:"".concat(n,"-").concat(t,"-").concat(o)}})))||[]}),[null===(le=Ae.extensionCondition)||void 0===le||null===(ue=le.subway)||void 0===ue||null===(ce=ue.subways)||void 0===ce?void 0:ce.length]),Qn=(0,v.useCallback)((function(e){var n=e.slice(0,10);Tn({parts:n}),vn()}),[vn,Tn]),Yn=(0,v.useCallback)((function(e){var n,t,o=(null===(n=Ae.condition)||void 0===n||null===(t=n.areas)||void 0===t?void 0:t.map((function(e){var n="".concat(e.si,"-").concat(e.gu,"-").concat(e.dong);return{code:e.dong||e.gu||e.si,fullCode:n,name:e.name}})))||[],i=(0,a.Z)(o).concat((0,a.Z)(e)).filter((function(e,n,t){var o=(0,u.Z)(e.fullCode.split("-"),3),i=o[0],r=o[1],l=o[2];return!t.some((function(e,t){return l?e.code===i||e.code===r:r?e.code===i:e.code===i&&t>n}))}));i.length>10?alert("\ucd5c\ub300 10\uac1c\uae4c\uc9c0 \uc120\ud0dd\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4."):Tn({area:i}),an()}),[an,null===(de=Ae.condition)||void 0===de?void 0:de.areas,Tn]),Jn=(0,v.useCallback)((function(e,n){var t=(0,a.Z)(e);return t.length>n?(alert("\ucd5c\ub300 ".concat(n,"\uac1c\uae4c\uc9c0 \uc120\ud0dd \uac00\ub2a5\ud569\ub2c8\ub2e4.")),t.slice(0,n)):t}),[]);(0,v.useEffect)((function(){(0,o.Z)((function(){var e,n,t;return(0,c.__generator)(this,(function(o){switch(o.label){case 0:return"PERSONAL"!==Oe?[3,2]:[4,(0,y.yC)()];case 1:e=o.sent(),n=e.resumeNo,t=e.part,xn(n),Cn(t),o.label=2;case 2:return[2]}}
1))}))()}),[Oe]),(0,v.useEffect)((function(){if("PERSONAL"===Oe){var e=(0,x.w)("recommend-area","search"),n=(0,x.w)("recommend-part","search"),t=Jn(Me.filter((function(e){return"PART"===e.deleteKey})),10),o=Jn(Me.filter((function(e){return"AREA"===e.deleteKey})),5);n&&_n.length>0&&0===t.length&&"parts"===pn&&fn("search",t),e&&"area"===pn&&un&&Pe&&cn("search",o)}}),[Oe,pn,_n,un,Pe]);var Hn=(0,v.useCallback)((function(e,n){var t=An.findIndex((function(e){return e===n}));if(!(t<0))return"".concat(e,"-").concat(t)}),[An]);(0,v.useEffect)((function(){!function(){var e=(0,o.Z)((function(){var e,n;return(0,c.__generator)(this,(function(t){switch(t.label){case 0:return Xe?[4,(0,_.Z)((0,p.OD)())]:[2];case 1:return e=u.Z.apply(void 0,[t.sent(),2]),(n=e[1])&&on(n),[2]}}))}));return function(){return e.apply(this,arguments)}}()()}),[Xe]);var zn=(0,v.useCallback)((function(e){var n={condition:{similarDongJoin:e.similarDongJoin,areas:[]}};De(n)}),[De]);return(0,d.jsxs)("div",{className:_e(ke),children:[(0,d.jsxs)("div",{className:"".concat(ke,"__toggle-list"),role:"tablist",children:[(0,d.jsx)(xe.Z,{name:"\ucc44\uc6a9 \ub9ac\uc2a4\ud2b8 \ud544\ud130",type:"multiple",value:null!==pn?[pn]:[],onChange:Zn,children:Dn}),"PERSONAL"===Oe&&(0,d.jsx)(b.Z,{variant:"text",endIcon:(0,d.jsx)(pe.Z,{name:"line_plus"}),onClick:bn,className:"".concat(ke,"__toggle-list__button"),children:(0,d.jsx)(B.Z,{type:"B3",extendClass:"".concat(ke,"__toggle-list__button-text"),children:"\ub0b4\uc774\ub825\uc11c\uc5d0\uc11c \ubd88\ub7ec\uc624\uae30"})})]}),(0,d.jsxs)("div",{className:"".concat(ke,"__filter-wrap ").concat(null===pn?"".concat(ke,"__filter-wrap--without-filter"):""," ").concat(null===pn&&0===Me.length?"".concat(ke,"__filter-wrap--without-filter-wrap"):""),children:[An.includes("area")&&"area"===pn&&(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(Z.Z,{max:5,closed:"area"!==pn,onDataChange:Tn,values:On,groupSimilar:!!(null===(se=Ae.condition)||void 0===se?void 0:se.similarDongJoin),useNationwide:!0,role:"tabpanel","aria-labelledby":Hn("tab","area"),id:Hn("panel","area"),useNationwideSingle:!1,onChangeSimilarDongJoin:zn}),(0,d.jsx)(ye.Z,{recommendValue:un,isOpen:ln,onClose:an,onConfirm:Yn})]}),An.includes("parts")&&"parts"===pn&&(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(G.Z,{max:10,isBar:!!(!en||en&&(null===tn||void 0===tn?void 0:tn.needBirthDate)||Xe&&$e)||!!$e,closed:"parts"!==pn,onDataChange:Tn,values:Rn,excludeBar:null===(ve=Ae.condition)||void 0===ve?void 0:ve.excludeBar,onExcludeBarChange:function(e){Tn({excludeBar:e})},role:"tabpanel","aria-labelledby":Hn("tab","parts"),id:Hn("panel","parts"),isSimpleUser:null===tn||void 0===tn?void 0:tn.simpleUser}),(0,d.jsx)(he.Z,{isOpen:sn,onClose:vn,onConfirm:Qn})]}),An.includes("work")&&"work"===pn&&(0,d.jsx)(me.Z,{excludeKeys:Re,closed:"work"!==pn,onDataChange:Tn,dutyTermsValues:In,workDayValues:Bn,workTimeValues:Mn,role:"tabpanel","aria-labelledby":Hn("tab","work"),id:Hn("panel","work")}),An.includes("detail")&&"detail"===pn&&(0,d.jsx)(U.Z,{excludeBar:null===(Ce=Ae.condition)||void 0===Ce?void 0:Ce.excludeBar,excludeKeys:Re,closed:"detail"!==pn,onDataChange:Tn,gender:Vn,ageSingle:Ln,workType:Kn,keyword:Pn,role:"tabpanel","aria-labelledby":Hn("tab","detail"),id:Hn("panel","detail")}),An.includes("universities")&&(0,d.jsx)(F,{closed:"universities"!==pn,values:Fn,excludeBar:null===(we=Ae.condition)||void 0===we?void 0:we.excludeBar,onExcludeBarChange:function(e){return Tn({excludeBar:e})},role:"tabpanel","aria-labelledby":Hn("tab","universities"),id:Hn("panel","universities"),exceptUniversityWithoutArea:Qe,updateQuery:Ye}),An.includes("preference")&&(0,d.jsx)(H,{closed:"preference"!==pn,values:Un,role:"tabpanel","aria-labelledby":Hn("tab","preference"),id:Hn("panel","preference"),max:16,updateQuery:Ye}),An.includes("welfare")&&(0,d.jsx)(fe,{max:32,closed:"welfare"!==pn,values:Gn,role:"tabpanel","aria-labelledby":Hn("tab","welfare"),id:Hn("panel","welfare"),updateQuery:Ye}),An.includes("subway")&&(0,d.jsx)(ae,{closed:"subway"!==pn,updateQuery:function(e){return null===Ye||void 0===Ye?void 0:Ye(e)},values:qn,role:"tabpanel","aria-labelledby":Hn("tab","subway"),id:Hn("panel","subway")}),null===pn&&0===(null===Me||void 0===Me?void 0:Me.length)?Ge?null:(0,d.jsx)("div",{className:"".concat(ke,"__condition-empty"),children:(0,d.jsx)(B.Z,{type:"B3",children:"\uac80\uc0c9 \uc870\uac74\uc744 \uc124\uc815\ud574\uc8fc\uc138\uc694."})}):(0,d.jsx)(R.Z,(0,r.Z)((0,i.Z)({},He),{selected:jn,onDelete:Wn,onReset:Nn})),Je]})]})}},37549:function(e,n,t){"use strict";t.d(n,{v:function(){return f}});var o=t(60947),i=t(11296),r=t(48417),l=t(92336),u=t(38817),a=t(22709),c=t(65317),d=t(72273),s=t(40351),v="recommend-area";function f(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"SELECT_AREA",n=(0,a.useState)(!1),t=n[0],f=n[1],m=(0,a.useState)(),p=m[0],y=m[1],h=(0,u.Fe)(),g=h.isPersonal,x=h.logged,k=(0,a.useMemo)((function(){return!!p&&(p.recommendAreas&&p.recommendAreas.length>0||p.townSimpleSearchConditions&&p.townSimpleSearchConditions.length>0)}),[p]),_=function(){f(!1)},C=function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];if(p){var t=(0,c.w)(v,e),o=p.recommendAreas,l=p.townSimpleSearchConditions,u=o.map((function(e){return e.code})),a=l?l.map((function(e){return e.code})):[],d=(0,r.Z)(u).concat((0,r.Z)(a)),s=!(n.length>0)||n.some((function(e){var n,t=(null===(n=e.code)||void 0===n?void 0:n.split("-"))||[],o=(0,i.Z)(t,3),r=(o[0],o[1]);return!!o[2]||!!r&&!d.includes(r)}));x&&g&&k&&t&&s&&(f(!0),(0,c.Y)(v,e))}},w=(0,a.useCallback)(function(){var e=(0,o.Z)((function(e){var n,t;return(0,l.__generator)(this,(function(o){switch(o.label){case 0:return o.trys.push([0,2,,3]),[4,(0,s.aJ)(e)];case 1:return n=o.sent(),y((function(){return n})),[3,3];case 2:return t=o.sent(),d.Z.error(t),[3,3];case 3:return[2]}}
1))}));return function(n){return e.apply(this,arguments)}}(),[]);return(0,a.useEffect)((function(){g&&x&&w(e)}),[w,g,x,e]),{recommendAreaModalOpen:t,recommendAreaValue:p,closeRecommendAreaModal:_,conditionAreaRecommend:C}}},1990:function(e,n,t){"use strict";t.d(n,{L:function(){return u}});var o=t(38817),i=t(22709),r=t(65317),l="recommend-part";function u(){var e=(0,i.useState)(!1),n=e[0],t=e[1],u=(0,o.Fe)(),a=u.isPersonal,c=u.logged;return{recommendPartModalOpen:n,closeRecommendPartModal:function(){t(!1)},conditionPartRecommend:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],o=(0,r.w)(l,e);n.length>0||c&&a&&o&&(t(!0),(0,r.Y)(l,e))}}}},67593:function(e,n,t){"use strict";t.d(n,{k:function(){return v}});var o=t(36690),i=t(93089),r=t(48417),l=t(22709),u=t(18136),a=t(46682),c=t(9633),d=t(67121),s=t(18120),v=function(e){var n=(0,l.useState)(e),t=n[0],v=n[1],f=(0,s.useRouter)(),m=function(e,n){var l=(0,a.c)(e,t),s=f.query.condition?{}:c.CE.apply(void 0,[f.query].concat((0,r.Z)(u.IU)));f.push({pathname:(0,d.wK)(f.asPath),query:(0,i.Z)((0,o.Z)({},s,(0,u.YT)((null===l||void 0===l?void 0:l.condition)||{}),n),{page:"1"})})},p=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=f.query.condition?{}:c.CE.apply(void 0,[f.query].concat((0,r.Z)(u.IU),(0,r.Z)(e)));f.push({pathname:(0,d.wK)(f.asPath),query:(0,i.Z)((0,o.Z)({},n),{page:1})})};return(0,l.useEffect)((function(){v(e)}),[e]),{requestState:t,setRequestState:v,deleteCondition:m,deleteConditionWithQuery:function(e){return function(n,t,o){t&&m({code:n,deleteKey:t,name:o},e)}},deleteConditionTag:function(e,n,t){n&&m({code:e,deleteKey:n,name:t})},mergeAndSetCondition:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0,l=arguments.length>2?arguments[2]:void 0,a=arguments.length>3&&void 0!==arguments[3]&&arguments[3],s=a?f.replace:f.push,v=(0,c.TS)(t,e),m=(0,u.YT)((null===v||void 0===v?void 0:v.condition)||{}),p=f.query.condition?{}:c.CE.apply(void 0,[f.query].concat((0,r.Z)(u.IU)));s((0,o.Z)({pathname:(0,d.wK)(f.asPath),query:(0,o.Z)((0,i.Z)((0,o.Z)({},p,m),{page:1}),n)},l),void 0,{scroll:!!(null===n||void 0===n?void 0:n.page)})},resetCondition:p,resetConditionWithOmitQueryKeyList:function(e){return function(){return p(e)}}}}},64169:function(e,n,t){"use strict";var o=t(36690),i=t(93089),r=t(48417),l=t(18120),u=t(9633),a=t(67121);n.Z=function(e){var n=(0,l.useRouter)(),t=function(e,t,l){var c=(0,a.wK)(n.asPath),d=n.query.condition?{}:l?u.CE.apply(void 0,[n.query].concat((0,r.Z)(l))):n.query,s=l?u.CE.apply(void 0,[e].concat((0,r.Z)(l))):e;((null===s||void 0===s?void 0:s.sortType)&&"DISTANCE"!==(null===s||void 0===s?void 0:s.sortType)||"DISTANCE"!==(null===d||void 0===d?void 0:d.sortType))&&(d.latitude&&delete d.latitude,d.longitude&&delete d.longitude),!(null===s||void 0===s?void 0:s.page)&&(null===d||void 0===d?void 0:d.page)?n.push({pathname:c,query:(0,i.Z)((0,o.Z)({},d,s),{page:1})},void 0,t):n.push({pathname:c,query:(0,o.Z)({},d,s)},void 0,t)};return t}},46682:function(e,n,t){"use strict";t.d(n,{c:function(){return l}});var o=t(36690),i=t(93089),r=t(11296);function l(e,n){var t,l,u,a,c=e.deleteKey,d=e.code,s=e.name;if(!c)return n;if(!n.condition)return n;var v,f=null!==(a=null===n||void 0===n||null===(t=n.condition)||void 0===t?void 0:t.excludeNegoWorkWeek)&&void 0!==a&&a,m=null!==(v=null===n||void 0===n||null===(l=n.condition)||void 0===l?void 0:l.excludeNegoWorkTime)&&void 0!==v&&v;switch(c){case"AREA":case"area":var p;if(!(null===n||void 0===n||null===(p=n.condition)||void 0===p?void 0:p.areas))break;return u=n.condition.areas.filter((function(e){var n=Array.from(new Set(Object.values(e).slice(0,3)));return n.length=3,n.join("-")!==d})),(0,i.Z)((0,o.Z)({},n),{condition:(0,i.Z)((0,o.Z)({},n.condition),{areas:u})});case"PART":var y;if(!(null===n||void 0===n||null===(y=n.condition)||void 0===y?void 0:y.parts)||!d)break;var h=(0,r.Z)(d.split("-"),2),g=h[0],x=h[1];return u=n.condition.parts.filter((function(e){return""!==x?(null===e||void 0===e?void 0:e.code)!==x:(null===e||void 0===e?void 0:e.categoryCode)!==g})),(0,i.Z)((0,o.Z)({}
1,n),{condition:(0,i.Z)((0,o.Z)({},n.condition),{parts:u})});case"WORK_PERIOD":var k;if(!(null===n||void 0===n||null===(k=n.condition)||void 0===k?void 0:k.workPeriodTypes))break;return u=n.condition.workPeriodTypes.filter((function(e){return e!==d})),(0,i.Z)((0,o.Z)({},n),{condition:(0,i.Z)((0,o.Z)({},n.condition),{workPeriodTypes:u})});case"WORK_WEEK":var _,C,w,b;if(!(null===n||void 0===n||null===(_=n.condition)||void 0===_?void 0:_.workWeekTypes))break;return u=n.condition.workWeekTypes.filter((function(e){return e!==d})),(null===n||void 0===n||null===(C=n.condition)||void 0===C?void 0:C.workWeekTypes)&&0!==u.length||(null===n||void 0===n||null===(w=n.condition)||void 0===w?void 0:w.workDayTypes)&&0!==(null===n||void 0===n||null===(b=n.condition)||void 0===b?void 0:b.workDayTypes.length)||(f=!1),(0,i.Z)((0,o.Z)({},n),{condition:(0,i.Z)((0,o.Z)({},n.condition),{workWeekTypes:u,excludeNegoWorkWeek:f})});case"WORK_WEEK_MANUAL":var Z;if(!(null===n||void 0===n||null===(Z=n.condition)||void 0===Z?void 0:Z.workDayTypes))break;return(0,i.Z)((0,o.Z)({},n),{condition:(0,i.Z)((0,o.Z)({},n.condition),{workDayTypes:[],excludeNegoWorkWeek:!1})});case"WORK_TIME":var T;if(!(null===n||void 0===n||null===(T=n.condition)||void 0===T?void 0:T.workTimeTypes))break;return(u=n.condition.workTimeTypes.filter((function(e){return e!==d})))&&(0!==u.length||""!==n.condition.startWorkTime&&n.condition.startWorkTime||""!==n.condition.endWorkTime&&n.condition.endWorkTime)||(m=!1),(0,i.Z)((0,o.Z)({},n),{condition:(0,i.Z)((0,o.Z)({},n.condition),{workTimeTypes:u,excludeNegoWorkTime:m})});case"WORK_TIME_MANUAL":var j,E;return""!==(null===(j=n.condition)||void 0===j?void 0:j.endWorkTime)&&""!==(null===n||void 0===n||null===(E=n.condition)||void 0===E?void 0:E.startWorkTime)||n.condition.workTimeTypes&&0!==n.condition.workTimeTypes.length||(m=!1),(0,i.Z)((0,o.Z)({},n),{condition:(0,i.Z)((0,o.Z)({},n.condition),{startWorkTime:"",endWorkTime:"",excludeNegoWorkTime:m})});case"GENDER":return(0,i.Z)((0,o.Z)({},n),{condition:(0,i.Z)((0,o.Z)({},n.condition),{genderType:"NONE",excludeNegoGender:!1})});case"AGE":if(!n.condition)break;return(0,i.Z)((0,o.Z)({},n),{condition:(0,i.Z)((0,o.Z)({},n.condition),{age:0,excludeNegoAge:!1})});case"EDUCATION":if(!n.condition)break;return(0,i.Z)((0,o.Z)({},n),{condition:(0,i.Z)((0,o.Z)({},n.condition),{educationType:"ALL",moreThanEducation:!0}
1)});case"EMPLOYMENT":var S;if(!(null===n||void 0===n||null===(S=n.condition)||void 0===S?void 0:S.employmentTypes))break;return u=n.condition.employmentTypes.filter((function(e){return e!==d})),(0,i.Z)((0,o.Z)({},n),{condition:(0,i.Z)((0,o.Z)({},n.condition),{employmentTypes:u})});case"KEYWORD_INCLUDE":return(0,i.Z)((0,o.Z)({},n),{condition:(0,i.Z)((0,o.Z)({},n.condition),{includeKeyword:""})});case"KEYWORD_EXCLUDE":var N=n.condition.excludeKeywords.filter((function(e){return e!==s&&""!==e}));return(0,i.Z)((0,o.Z)({},n),{condition:(0,i.Z)((0,o.Z)({},n.condition),{excludeKeywords:N})});case"HOME_WORK":return(0,i.Z)((0,o.Z)({},n),{condition:(0,i.Z)((0,o.Z)({},n.condition),{includeHomeWork:!1})});case"subway":case"SUBWAY":var W,D;if(!(null===n||void 0===n||null===(W=n.extensionCondition)||void 0===W||null===(D=W.subway)||void 0===D?void 0:D.subways)||!d)break;var A=n.extensionCondition.subway.subways.filter((function(e){return"".concat(null===e||void 0===e?void 0:e.areaCode,"-").concat(null===e||void 0===e?void 0:e.subwayLineCode,"-").concat(null===e||void 0===e?void 0:e.stationCode)!==d}));return(0,i.Z)((0,o.Z)({},n),{extensionCondition:(0,i.Z)((0,o.Z)({},n.extensionCondition),{subway:(0,i.Z)((0,o.Z)({},n.extensionCondition.subway),{subways:A})})});case"university":case"UNIVERSITY":var O,R;if(!(null===n||void 0===n||null===(O=n.extensionCondition)||void 0===O||null===(R=O.university)||void 0===R?void 0:R.universities)||!d)break;var I=n.extensionCondition.university.universities.filter((function(e){var n=d.split("-");return e.code!==n[1]}));return(0,i.Z)((0,o.Z)({},n),{extensionCondition:(0,i.Z)((0,o.Z)({},n.extensionCondition),{university:(0,i.Z)((0,o.Z)({},n.extensionCondition.university),{universities:I})})});case"preference":case"PREFERENCE":var B,M;if(!(null===n||void 0===n||null===(B=n.extensionCondition)||void 0===B||null===(M=B.preference)||void 0===M?void 0:M.preferences))break;var V=n.extensionCondition.preference.preferences.filter((function(e){return e!==d}));return(0,i.Z)((0,o.Z)({},n),{extensionCondition:(0,i.Z)((0,o.Z)({},n.extensionCondition),{preference:(0,i.Z)((0,o.Z)({},n.extensionCondition.preference),{preferences:V})})});case"welfare":case"WELFARE":var L,K;if(!(null===n||void 0===n||null===(L=n.extensionCondition)||void 0===L||null===(K=L.welfare)||void 0===K?void 0:K.welfares))break;var P=n.extensionCondition.welfare.welfares.filter((function(e){var n=d.split("-");return e.code!==n[1]}));return(0,i.Z)((0,o.Z)({},n),{extensionCondition:(0,i.Z)((0,o.Z)({},n.extensionCondition),{welfare:(0,i.Z)((0,o.Z)({},n.extensionCondition.welfare),{welfares:P})})})}return n}},65317:function(e,n,t){"use strict";t.d(n,{Y:function(){return i},w:function(){return r}});var o=t(50887),i=function(e,n){var t=(0,o.getCookie)(e),i=t?JSON.parse(t):{};i[n]="1",(0,o.setCookie)(e,i)},r=function(e,n){var t=(0,o.getCookie)(e);return"1"!==(t?JSON.parse(t):"")[n]}},74403:function(e,n,t){"use strict";t.d(n,{FL:function(){return i},cV:function(){return o}});var o=[{value:"00:00",text:"00:00"},{value:"00:30",text:"00:30"},{value:"01:00",text:"01:00"},{value:"01:30",text:"01:30"},{value:"02:00",text:"02:00"},{value:"02:30",text:"02:30"},{value:"03:00",text:"03:00"},{value:"03:30",text:"03:30"},{value:"04:00",text:"04:00"},{value:"04:30",text:"04:30"},{value:"05:00",text:"05:00"},{value:"05:30",text:"05:30"},{value:"06:00",text:"06:00"},{value:"06:30",text:"06:30"},{value:"07:00",text:"07:00"},{value:"07:30",text:"07:30"},{value:"08:00",text:"08:00"},{value:"08:30",text:"08:30"},{value:"09:00",text:"09:00"},{value:"09:30",text:"09:30"},{value:"10:00",text:"10:00"},{value:"10:30",text:"10:30"},{value:"11:00",text:"11:00"},{value:"11:30",text:"11:30"},{value:"12:00",text:"12:00"},{value:"12:30",text:"12:30"},{value:"13:00",text:"13:00"},{value:"13:30",text:"13:30"},{value:"14:00",text:"14:00"},{value:"14:30",text:"14:30"},{value:"15:00",text:"15:00"},{value:"15:30",text:"15:30"},{value:"16:00",text:"16:00"},{value:"16:30",text:"16:30"},{value:"17:00",text:"17:00"},{value:"17:30",text:"17:30"},{value:"18:00",text:"18:00"},{value:"18:30",text:"18:30"},{value:"19:00",text:"19:00"},{value:"19:30",text:"19:30"},{value:"20:00",text:"20:00"},{value:"20:30",text:"20:30"},{value:"21:00",text:"21:00"},{value:"21:30",text:"21:30"},{value:"22:00",text:"22:00"},{value:"22:30",text:"22:30"},{value:"23:00",text:"23:00"},{value:"23:30",text:"23:30"},{value:"24:00",text:"24:00"}],i=12e5},91440:function(e){e.exports={"brand-header":"Normal_brand-header__Ho5vw"}},69804:function(e){e.exports={"brand-selection":"Selection_brand-selection__iHWOl","selection-brand":"Selection_selection-brand___o9wU"}},6128:function(e){e.exports={"filter-age-single":"FilterAgeSingle_filter-age-single__tmljg"}},89332:function(e){e.exports={"filter-college-town":"FilterCollegeTown_filter-college-town__ga5Ph","filter-college-town__toggle":"FilterCollegeTown_filter-college-town__toggle__LJa_j"}},94759:function(e){e.exports={"filter-detail-conditions":"FilterDetailConditions_filter-detail-conditions__jQ81a"}},81344:function(e){e.exports={"filter-education":"FilterEducation_filter-education__kNwhJ"}},70225:function(e){e.exports={"filter-gender-radio":"FilterGenderRadio_f
1ilter-gender-radio__Etk9Z"}},82421:function(e){e.exports={"filter-keyword-util":"FilterKeywordUtil_filter-keyword-util__9F0mK"}},6245:function(e){e.exports={"filter-preference":"FilterPreference_filter-preference__poMx2"}},72995:function(e){e.exports={"filter-subway":"FilterSubway_filter-subway__Pcl7L"}},67118:function(e){e.exports={"filter-toggle":"FilterToggle_filter-toggle__Qxjgz"}},26217:function(e){e.exports={"filter-welfare":"FilterWelfare_filter-welfare__0x6IJ"}},61072:function(e){e.exports={"filter-work":"FilterWork_filter-work__4FiM0"}},37342:function(e){e.exports={"filter-work-day":"FilterWorkDay_filter-work-day__5r85y"}},44939:function(e){e.exports={"filter-work-time":"FilterWorkTime_filter-work-time__obEVM"}},56787:function(e){e.exports={"filter-work-type":"FilterWorkType_filter-work-type__oCUWl"}},78479:function(e){e.exports={"modal-recommend-area":"ModalRecommendArea_modal-recommend-area__aGse5"}},10565:function(e){e.exports={"modal-recommend-part":"ModalRecommendPart_modal-recommend-part__xcgif"}},17524:function(e){e.exports={"recruit-filter":"RecruitFilter_recruit-filter___RtDm"}},61653:function(e){e.exports={"subway-line-modal-map-img":"SubwayLineModal_subway-line-modal-map-img__p2CYM"}}},function(e){e.O(0,[6461,2769,4391,7396,9287,2003,8168,543,9557,5056,3099,483,6150,1352,3836,5450,8567,8102,5139,1184,5457,8148,3361,3004,8129,9774,2888,179],(function(){return n=49245,e(e.s=n);var n}));var n=e.O();_N_E=n}]);
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.