1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="2dadb60c-79a9-4365-a658-cdc9acbafde6",e._sentryDebugIdIdentifier="sentry-dbid-2dadb60c-79a9-4365-a658-cdc9acbafde6")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9468],{11835:(e,t,l)=>{"use strict";l.d(t,{A:()=>j});var a,s,r,i,n,o,c,d,h,x,m,u,p,b,y,g=l(71041);function f(){return(f=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var l=arguments[t];for(var a in l)({}).hasOwnProperty.call(l,a)&&(e[a]=l[a])}return e}).apply(null,arguments)}let j=e=>g.createElement("svg",f({xmlns:"http://www.w3.org/2000/svg",width:89,height:108,fill:"none"},e),a||(a=g.createElement("path",{fill:"#F8F9FA",stroke:"#8E97A0",strokeLinecap:"round",strokeMiterlimit:10,strokeWidth:3.112,d:"M84.194 69.274c2.034 20.583-10.487 36.205-39.031 36.205-18.2 0-41.072-10.84-39.036-36.205C7.644 50.371 21.649 33.07 45.163 33.07c20.369 0 37.166 17.33 39.031 36.205Z"})),s||(s=g.createElement("path",{fill:"#1B1C20",d:"M27.031 42.99a4.865 4.865 0 1 1 .002-9.73 4.865 4.865 0 0 1-.002 9.73m34.334.024a4.877 4.877 0 1 1-.032-9.753 4.877 4.877 0 0 1 .032 9.753"})),r||(r=g.createElement("path",{fill:"#E5EAEF",stroke:"#8E97A0",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:3.113,d:"M46.081 59.95c-5.734 0-10.382 2.59-10.382 5.785h20.764c0-3.195-4.648-5.784-10.382-5.784Z"})),i||(i=g.createElement("path",{stroke:"#C6CDD4",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.05,d:"M14.65 51.424v8.651m2.102-11.431v13.903m2.1-16.993v12.358m2.101-16.992v12.358m53.637-1.236v8.651m-1.978-12.049v13.903m-2.1-16.993v12.358M68.41 40.92v12.358"})),n||(n=g.createElement("path",{fill:"#fff",d:"M29.836 55.335s10.517-10.785 8.557-20.502a12.93 12.93 0 0 0-5.333-8.118 12.244 12.244 0 0 0-17.255 3.471 12.9 12.9 0 0 0-1.786 9.568c1.96 9.717 15.84 15.591 15.84 15.591"})),o||(o=g.createElement("path",{stroke:"#8E97A0",strokeLinecap:"round",strokeMiterlimit:10,strokeWidth:2.857,d:"M29.836 55.335s10.517-10.785 8.557-20.502a12.93 12.93 0 0 0-5.333-8.118 12.244 12.244 0 0 0-17.255 3.471 12.9 12.9 0 0 0-1.786 9.568c1.96 9.717 15.84 15.591 15.84 15.591"})),c||(c=g.createElement("path",{fill:"#1B1C20",d:"M26.543 41.377a4.874 4.874 0 1 1 .002-9.749 4.874 4.874 0 0 1-.002 9.749"})),d||(d=g.createElement("path",{fill:"#fff",d:"M62.931 55.582s11.53-9.694 10.539-19.557a12.93 12.93 0 0 0-4.505-8.605 12.245 12.245 0 0 0-17.514 1.75 12.9 12.9 0 0 0-2.722 9.346c.992 9.863 14.224 17.078 14.224 17.078"})),h||(h=g.createElement("path",{stroke:"#8E97A0",strokeLinecap:"round",strokeMiterlimit:10,strokeWidth:2.857,d:"M62.931 55.582s11.53-9.694 10.539-19.557a12.93 12.93 0 0 0-4.505-8.605 12.245 12.245 0 0 0-17.514 1.75 12.9 12.9 0 0 0-2.722 9.346c.992 9.863 14.224 17.078 14.224 17.078"})),x||(x=g.createElement("path",{fill:"#1B1C20",d:"M60.948 41.346a4.887 4.887 0 1 1-.031-9.773 4.887 4.887 0 0 1 .031 9.773"})),m||(m=g.createElement("ellipse",{cx:27.709,cy:53.017,fill:"#89EBD3",rx:6.025,ry:4.017})),u||(u=g.createElement("path",{stroke:"#fff",strokeLinecap:"round",strokeWidth:1.339,d:"M24.43 51.551s.285-.416 1.698-.693c1.766-.346 2.785.173 2.785.173"})),p||(p=g.createElement("ellipse",{fill:"#89EBD3",rx:6.025,ry:4.017,transform:"matrix(-1 0 0 1 62.694 53.017)"})),b||(b=g.createElement("path",{stroke:"#fff",strokeLinecap:"round",strokeWidth:1.339,d:"M65.972 51.551s-.286-.416-1.699-.693c-1.766-.346-2.785.173-2.785.173"})),y||(y=g.createElement("path",{fill:"#8E97A0",d:"M12.16 8.488c.208 0 .32-.096.32-.32V6.696c0-.208-.112-.32-.32-.32h-1.312V3.24c0-.224-.096-.32-.32-.32h-1.6c-.208 0-.32.096-.32.32v9.056c0 .224.112.32.32.32h1.6c.224 0 .32-.096.32-.32V8.488zm-7.888 1.936c1.712-.624 2.656-1.696 2.656-3.68V4.36c0-.368-.208-.576-.576-.576H1.12c-.208 0-.32.096-.32.32v1.408c0 .224.112.32.32.32h3.568v.8c0 .992-.448 1.536-1.312 1.856l-2.64.96c-.208.08-.272.256-.176.464l.544 1.344c.08.176.224.24.432.16zm9.112 2.256c0 .224.096.32.32.32h2.224c.209 0 .32-.096.32-.32v-2.224c0-.208-.111-.32-.32-.32h-2.224c-.224 0-.32.112-.32.32zm5.
1016 0c0 .224.096.32.32.32h2.224c.208 0 .32-.096.32-.32v-2.224c0-.208-.112-.32-.32-.32H18.72c-.224 0-.32.112-.32.32zm11.032-6.848c.224 0 .32-.096.32-.32V4.104c0-.224-.096-.32-.32-.32h-5.968c-.208 0-.32.096-.32.32v1.408c0 .224.112.32.32.32h1.872v1.936l-2.368 1.728c-.192.144-.208.336-.064.512l.816 1.104c.128.176.304.176.512.048l2.32-1.712L28.68 11c.208.144.368.144.512-.032l.816-1.104c.128-.192.112-.384-.064-.512l-2.368-1.728V5.832zm1.952 6.464c0 .224.112.32.32.32h1.6c.208 0 .32-.096.32-.32V3.24c0-.224-.112-.32-.32-.32h-1.6c-.208 0-.32.096-.32.32zm10.27-3.472h-2.4V5.736h2.4zm6.928-.336c.208 0 .32-.096.32-.32V6.696c0-.208-.112-.32-.32-.32H47.27V3.24c0-.224-.096-.32-.32-.32h-1.6c-.208 0-.32.096-.32.32v9.056c0 .224.112.32.32.32h1.6c.224 0 .32-.096.32-.32V8.488zm-11.36 1.6c0 .368.208.576.576.576h5.296c.368 0 .576-.208.576-.576V4.456c0-.352-.208-.576-.576-.576h-5.296c-.368 0-.576.224-.576.576zm17.656.752c.144.144.304.16.448.016l1.056-1.04c.144-.144.144-.32.016-.448L53.886 6.84V3.88c0-.208-.112-.32-.32-.32h-1.6c-.224 0-.32.112-.32.32V7l-2.528 2.528c-.128.128-.112.304.032.448l1.04 1.04c.144.144.304.128.448-.016l2.208-2.208zm2.448-3.408v4.864c0 .224.096.32.32.32h1.488c.208 0 .32-.096.32-.32V3.24c0-.224-.112-.32-.32-.32h-1.488c-.224 0-.32.096-.32.32v2.08h-1.824c-.208 0-.32.096-.32.32v1.472c0 .208.112.32.32.32zm3.36 4.864c0 .224.096.32.32.32h1.488c.208 0 .32-.096.32-.32V3.24c0-.224-.112-.32-.32-.32h-1.488c-.224 0-.32.096-.32.32zm7.642-9.376c-2.129 0-3.617 1.408-3.617 3.328 0 1.472.897 2.672 2.288 3.12h-1.167c-.208 0-.32.112-.32.32v1.968h-1.025c-.207 0-.32.112-.32.32V13.4c0 .208.112.32.32.32h7.68c.209 0 .32-.112.32-.32v-1.424c0-.208-.111-.32-.32-.32h-1.023V9.688c0-.208-.113-.32-.32-.32h-1.168c1.391-.448 2.287-1.648 2.287-3.12 0-1.92-1.487-3.328-3.615-3.328m0 1.888c.864 0 1.487.624 1.487 1.44 0 .8-.623 1.424-1.487 1.424s-1.489-.624-1.489-1.424c0-.816.624-1.44 1.489-1.44m.912 6.848h-1.825V9.688a.34.34 0 0 0-.064-.224 3.8 3.8 0 0 0 .977.112c.335 0 .671-.032.975-.112a.34.34 0 0 0-.063.224zm4.8 1.024c0 .224.097.32.32.32h2.225c.208 0 .32-.096.32-.32v-2.224c0-.208-.112-.32-.32-.32H74.36c-.224 0-.32.112-.32.32zm5.016 0c0 .224.096.32.32.32H81.6c.208 0 .32-.096.32-.32v-2.224c0-.208-.112-.32-.32-.32h-2.224c-.224 0-.32.112-.32.32zm5.016 0c0 .224.096.32.32.32h2.224c.208 0 .32-.096.32-.32v-2.224c0-.208-.112-.32-.32-.32h-2.224c-.224 0-.32.112-.32.32z"})))},18626:(e,t,l)=>{"use strict";l.d(t,{OO:()=>c,PA:()=>r,TH:()=>n,WT:()=>o,c6:()=>d,eO:()=>i,t:()=>h});var a=l(95782),s=l.n(a);function r(e){return e?10!==e.length?e:`${e.substring(0,3)} - ${e.substring(3,5)} - ${e.substring(5,10)}`:""}function i(e){return e?11!==e.length?e:`${e.substring(0,3)}-${e.substring(3,7)}-${e.substring(7,11)}`:""}function n(e,t){let l;return 0===Math.ceil(e/3600)?null:(e<43200&&(l=`${t("within_hours",{value:Math.ceil(e/3600)})}`),e>=43200&&e<172800&&(l=`${t("within_days",{value:Math.ceil(e/86400)})}`),e>=172800&&(l=`${t("after_two_days")}`),l)}function o(e,t){let l;return 0===Math.ceil(e/3600)?null:(e<43200&&(l=`${t("within_hours_short",{value:Math.ceil(e/3600)})}`),e>=43200&&e<172800&&(l=`${t("within_days_short",{value:Math.ceil(e/86400)})}`),e>=172800&&(l=`${t("after_two_days_short")}`),l)}function c(e){return e?e.slice(2).replace(/-/g,"").slice(0,6):""}function d(e,t){return e&&t?Number(e.slice(0,4))>=2e3&&t?"m"===t?"3":"4":"m"===t?"1":"2":""}function h(e){return e?.length?e?.map(e=>s()(e)).join(", "):null}},24336:(e,t,l)=>{"use strict";l.d(t,{_:()=>b});var a=l(74429),s=l(88565),r=l(60619),i=l(69997),n=l(71041),o=l(11262),c=l(54595),d=l(44303),h=l(43303),x=l(75432),m=l(50589),u=l(3043),p=l(47479);let b=e=>{let{isShow:t,onClose:l}=e,{t:b}=(0,i.Bd)("my"),y=(0,n.useRef)(0),g=(0,h.tx)(),{offWorkRightAway:f}=(0,m.T)(),{postJobSeekerSearchStatus:j}=(0,x.Y)(),{workRightAwayUntil:_}=g?.jobSeeker?.CV||{},v=!!(_&&(0,s.d)((0,r.H)(_),new Date)),[w,k]=(0,n.useState)(!1),N=[{days:30,label:b("jobSeeker.do_not_receive_in_days",{days:30})},{days:90,label:b("jobSeeker.do_not_receive_in_days",{days:90})},{days:365,label:b("jobSeeker.do_not_receive_in_years",{years:1})},{days:36500,label:b("jobSeeker.do_not_receive_undetermined")}],C=async e=>{if(v){y.current=e,k(!0);return}await j(c.zmL.closed,e),o.oR.success(b("offers_not_received_modal.success_toast"))};return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(p.A,{title:b("jobSeeker.search_status_only_block_modal.title"),bodyClassName:"px-0 py-0",isShow:t,onClose:l,children:(0,a.jsx)("div",{children:N.map(e=>(0,a.jsx)("div",{className:"flex flex-row items-center py-5 border-b border-b-gray-50 flex-1 px-4 cursor-pointer",onClick:()=>{l(),C(e.days)},children:(0,a.jsx)(u.Label,{children:e.label})},e.label))})}),(0,a.jsx)(d.A,{title:b("common:title.modal_notice"),isShow:w,onClose:()=>k(!1),useAlert:!0,message:b("jobSeeker.profileSearchStatus.desc"),confirmText:b("jobSeeker.profileSearchStatus.change_and_off"),onConfirmClick:()=>{f(),j(c.zmL.closed,y.current),k(!1)},onCancelClick:()=>{k(!1)}})]})}},26605:(e,t,l)=>{"use strict";l.d(t,{A:()=>h});var a=l(74429),s=l(83200),r=l(69997),i=l(20012),n=l(54595),o=l(28226),c=l(53405),d=l(3043);let h=e=>{let{errors:t,isRequired:l=!0,register:h,setFocus:x,watch:m,setValue:u,trigger:p,useContract:b}=e,{t:y}=(0,r.Bd)("auth");return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("div",{className:"flex flex-row gap-3 flex-wrap",children:[(0,a.jsx)(d.FormLabel,{className:"w-full",isRequired:l,children:y("title.birth")}),(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(d.Input,{className:"text-right pr-[30px]",placeholder:"1900",right:(0,a.jsx)(d.Label,{className:"pt-[1px]",children:y("common:date.year")}),inputMode:"decimal",maxLength:4,isError:!!t.birthYear?.message,useCustomError:!0,...h("birthYear",{onChange:e=>{4===e.target.value.length&&x?.("birthMonth"),t.birthYear&&(p("birthYear"),p("birthMonth"),p("birthDay"))}})}),(0,a.jsxs)("div",{className:"w-full flex flex-row flex-wrap items-center gap-3",children:[(0,a.jsx)(d.Input,{wrapClassName:"min-w-[80px]",className:"text-right pr-[30px]",placeholder:"00",inputMode:"decimal",right:(0,a.jsx)(d.Label,{className:"pt-[1px]",children:y("common:date.month")}),maxLength:2,isError:!!t.birthMonth?.message,useCustomError:!0,...h("birthMonth",{onChange:e=>{2===e.target.value.length&&x?.("birthDay"),t.birthMonth&&(p("birthYear"),p("birthMonth"),p("birthDay"))}})}),(0,a.jsx)(d.Input,{wrapClassName:"min-w-[80px]",className:"text-right pr-[30px]",placeholder:"00",inputMode:"decimal",right:(0,a.jsx)(d.Label,{className:"pt-[1px]",children:y("common:date.day")}),maxLength:2,isError:!!t.birthDay?.message,useCustomError:!0,...h("birthDay",{onChange:e=>
1{t.birthDay&&(p("birthYear"),p("birthMonth"),p("birthDay"))}})})]}),(0,a.jsx)(d.FormErrorMessage,{errorMessage:t.birthYear?.message})]})]}),(0,a.jsxs)("div",{className:"flex flex-col gap-3",children:[(0,a.jsx)(d.FormLabel,{isRequired:l,children:y("title.gender")}),(0,a.jsx)("div",{className:"flex flex-row gap-3",children:(0,i.KF)(n.YT8).getValues().map(e=>(0,a.jsx)(o.A,{className:"flex-1",label:y(`auth:enum.gender_full.${e}`),selected:m("gender")===e,isError:!!t.gender?.message,onClick:()=>{u("gender",e),p("gender")}},e))}),(0,a.jsx)(d.FormErrorMessage,{errorMessage:t.gender?.message?(0,s.wC)(y("error:invalid_select",{name:y("title.gender")})):""})]}),(0,a.jsxs)("div",{className:"flex flex-col gap-3",children:[(0,a.jsx)(d.FormLabel,{isRequired:l,children:y("title.nationality_type")}),(0,a.jsx)("div",{className:"flex flex-row gap-3",children:(0,i.KF)(c.Fg).getValues().map(e=>(0,a.jsx)(o.A,{className:"flex-1",label:y(`auth:enum.nationalityType.${e}`),selected:m("nationalityType")===e,isError:!!t.nationalityType?.message,onClick:()=>{u("nationalityType",e),p("nationalityType")}},e))}),(0,a.jsx)(d.FormErrorMessage,{errorMessage:t.nationalityType?.message?(0,s.wC)(y("error:invalid_select",{name:y("title.nationality_type")})):""})]})]})}},28226:(e,t,l)=>{"use strict";l.d(t,{A:()=>n});var a=l(74429),s=l(12074),r=l(52675),i=l(3043);let n=e=>{let{className:t,label:l,labelProps:n,children:o,selected:c,isError:d,useCheckedIcon:h,onClick:x,"aria-label":m}=e;return(0,a.jsxs)("button",{"aria-label":m||("string"==typeof l?l:void 0),"aria-pressed":c,className:(0,s.QP)("flex cursor-pointer flex-col items-center justify-center px-3 transition-all","min-h-[48px] rounded-[8px] border border-gray-200 bg-gray-0 text-gray-700",c&&"border-[1.5px] border-gray-900-50 text-gray-900-50",d&&"border-red-500-50",h&&"flex-row justify-between",t),type:"button",onClick:e=>{e.preventDefault(),x?.(c)},children:[o||(0,a.jsx)(i.Label,{type:i.LabelType.Body1,bold:c,...n,className:(0,s.QP)(c?"text-gray-900-50":"text-gray-700-50",n?.className),children:l}),h&&c&&(0,a.jsx)(r.A,{width:20,height:20})]})}},32070:(e,t,l)=>{"use strict";l.d(t,{A:()=>h});var a=l(74429),s=l(11262),r=l(80170),i=l(25833),n=l(77316),o=l(40734),c=l(8180),d=l(3043);let h=e=>{let{isJobSeeker:t}=e,l=(0,r.ET)({request:{useJobSeekerToken:!!t}});(0,n.we)(l);let h=async()=>{try{if((await l.mutateAsync()).error)return;s.oR.success("í í°ì ì¬ë°ê¸ ë°ì ì ìê² ë§ë£ìì¼°ì´ì")}catch(e){console.error(e)}},x=async()=>{c.d.setAccessToken("invalid_token","invalid_refresh_token"),s.oR.success("í í°ì ë ì´ì ì¬ì©í ì ìê² ë§ë£ìì¼°ì´ì")};return!o.W.isProd&&(0,a.jsxs)("div",{className:"setting-dev flex flex-col gap-3",children:[(0,a.jsx)(i.A,{type:d.ButtonAnatomy.Caution,label:"í í° ë§ë£ ìí¤ê¸°",onClick:h}),(0,a.jsx)(i.A,{type:d.ButtonAnatomy.Caution,label:"í í° 90ì¼ ë§ë£ ìí¤ê¸°",onClick:x})]})}},32684:(e,t,l)=>{"use strict";l.d(t,{A:()=>o});var a=l(74429),s=l(69997);let r=e=>{let{width:t=160,height:l=166}=e;return(0,a.jsx)("div",{className:"animate__animated animate__bounce animate__infinite",children:(0,a.jsxs)("svg",{width:t,height:l,viewBox:"0 0 160 166",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,a.jsx)("path",{d:"M156.243 91.5476C160.217 131.755 135.757 162.273 79.9969 162.273C44.4453 162.273 -0.235189 141.097 3.74206 91.5476C6.70609 54.6211 34.0635 20.822 79.9969 20.822C119.787 20.822 152.6 54.6757 156.243 91.5476Z",fill:"#00D28C",stroke:"#121214",strokeWidth:"6.0797",strokeMiterlimit:"10",strokeLinecap:"round"}),(0,a.jsx)("path",{d:"M50.9966 63.8923C50.9966 63.8923 71.5002 42.8
1666 67.6781 23.9243C66.4015 17.4985 62.6731 11.8221 57.283 8.09824C54.6471 6.28152 51.6728 5.01355 48.5369 4.36979C45.401 3.72603 42.1677 3.71963 39.0293 4.35096C35.8909 4.9823 32.9115 6.23846 30.2685 8.04472C27.6255 9.85099 25.3727 12.1705 23.6444 14.8651C20.0918 20.389 18.8419 27.0839 20.1622 33.5175C23.9842 52.4598 51.0405 63.9112 51.0405 63.9112",fill:"white"}),(0,a.jsx)("path",{d:"M50.9966 63.8923C50.9966 63.8923 71.5002 42.8666 67.6781 23.9243C66.4015 17.4985 62.6731 11.8221 57.283 8.09824C54.6471 6.28152 51.6728 5.01355 48.5369 4.36979C45.401 3.72603 42.1677 3.71963 39.0293 4.35096C35.8909 4.9823 32.9115 6.23846 30.2685 8.04472C27.6255 9.85099 25.3727 12.1705 23.6444 14.8651C20.0918 20.389 18.8419 27.0839 20.1622 33.5175C23.9842 52.4598 51.0405 63.9112 51.0405 63.9112",stroke:"#121214",strokeWidth:"6.0797",strokeMiterlimit:"10",strokeLinecap:"round"}),(0,a.jsx)("path",{d:"M115.513 64.3738C115.513 64.3738 137.992 45.4746 136.058 26.2475C135.422 19.727 132.272 13.7104 127.276 9.47266C124.832 7.40464 121.998 5.84928 118.941 4.89914C115.884 3.949 112.667 3.62348 109.481 3.94196C106.296 4.26043 103.207 5.21638 100.399 6.75295C97.5905 8.28951 95.1198 10.3753 93.1339 12.8862C89.0534 18.0325 87.1488 24.5713 87.8276 31.1038C89.7613 50.3308 115.555 64.3969 115.555 64.3969",fill:"white"}),(0,a.jsx)("path",{d:"M115.513 64.3738C115.513 64.3738 137.992 45.4745 136.058 26.2475C135.422 19.727 132.272 13.7104 127.276 9.47266C124.832 7.40464 121.998 5.84928 118.941 4.89914C115.884 3.949 112.667 3.62348 109.481 3.94196C106.296 4.26043 103.207 5.21638 100.399 6.75295C97.5905 8.28951 95.1198 10.3753 93.1339 12.8862C89.0534 18.0325 87.1488 24.5713 87.8276 31.1038C89.7613 50.3309 115.555 64.3969 115.555 64.3969",stroke:"#121214",strokeWidth:"6.0797",strokeMiterlimit:"10",strokeLinecap:"round"}),(0,a.jsx)("path",{d:"M118.294 20.0413C114.347 23.3369 105.648 30.1968 102.426 31.271L121.834 37.008",stroke:"black",strokeWidth:"6.71263",strokeLinecap:"round",strokeLinejoin:"round"}),(0,a.jsx)("path",{d:"M38.4824 20.0413C42.4291 23.3369 51.1281 30.1968 54.3506 31.271L34.9426 37.008",stroke:"black",strokeWidth:"6.71263",strokeLinecap:"round",strokeLinejoin:"round"}),(0,a.jsx)("path",{d:"M62.6309 70.8042L76.51 96.4397L102.635 76.6824",stroke:"#121214",strokeWidth:"6.08052",strokeLinecap:"round",strokeLinejoin:"round"}),(0,a.jsx)("path",{d:"M107.506 89.1597L110.435 71.7986L91.1435 71.7986L107.506 89.1597Z",fill:"white",stroke:"#121214",strokeWidth:"5.18523",strokeLinecap:"round",strokeLinejoin:"round"})]})})};var i=l(99619),n=l(3043);let o=()=>{let{t:e}=(0,s.Bd)("common");return(0,i.q)()?(0,a.jsxs)("div",{className:"flex w-full flex-col items-center justify-center py-20",children:[(0,a.jsx)(r,{width:30,height:31}),(0,a.jsx)(n.Label,{className:"animate__animated animate__pulse mt-3",type:n.LabelType.Caption1,children:e("Please wait")})]}):null}},36201:(e,t,l)=>{"use strict";l.d(t,{A:()=>i});var a=l(74429),s=l(72551);let r=l.n(s)()(()=>Promise.resolve().then(l.bind(l,3043)).then(e=>e.Switch),{loadableGenerated:{webpack:()=>[null]},ssr:!1}),i=e=>{let{...t}=e;return(0,a.jsx)(r,{...t})}},43620:(e,t,l)=>{"use strict";l.d(t,{A:()=>i});var a=l(74429),s=l(69997),r=l(3043);let i=e=>{let{gender:t,useFull:l,...i}=e,{t:n}=(0,s.Bd)("job-seeker");return t?(0,a.jsx)(r.Label,{...i,children:n(`${l?"auth:enum.gender_full":"gender"}.${t}`)}):null}},43817:(e,t,l)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/job-seeker/my/account",function(){return l(92434)}])},50589:(e,t,l)=>{"use strict";l.d(t,{T:()=>d});var a=l(69997),s=l(71041),r=l(11262),i=l(36989),n=l(32189),o=l(43303),c=l(77316);let d=()=>{let[e,t]=(0,s.useState)(!1),l=(0,n.DGn)(),{t:d}=(0,a.Bd)("my"),h=(0,o.tx)(),x=(0,i.i7)(o.n5.context,e=>e?.refetch),m=async()=>{t(!0),await l.mutateAsync({data:{CV:{...h?.jobSeeker?.CV,isWorkRightAway:!0}}}),r.oR.success(d("jobSeeker.work_right_away.toast.on")),x?.({}),t(!1)},u=async()=>{t(!0),await l.mutateAsync({data:{CV:{...h?.jobSeeker?.CV,isWorkRightAway:!1}}}),r.oR.success(d("jobSeeker.work_right_away.toast.off")),x?.({}),t(!1)},p=async()=>{t(!0),await l.mutateAsync({data:{CV:{...h?.jobSeeker?.CV,isWorkRightAway:!0}}}),r.oR.success(d("jobSeeker.work_right_away.toast.ext")),x?.({}),t(!1)};return(0,c.we)(l),{onWorkRightAway:m,offWorkRightAway:u,extensionWorkRightAway:p,isLoading:e}}},55352:(e,t,l)=>{"use strict";l.d(t,{A:()=>x});var a=l(74429),s=l(72551),r=l.n(s),i=l(71041),n=l(12074),o=l(66183),c=l(42896),d=l(82238);let h=r()(()=>Promise.resolve().then(l.bind(l,3043)).then(e=>e.BottomSheet),{loadableGenerated:{webpack:()=>[null]},ssr:!1}),x=e=>{let{buttons:t,buttonWrapClassName:l,forceBottomSheet:s}=e,r=(0,d.k)(),[x,m]=(0,i.useState)();return(0,i.useEffect)(()=>
1{if(c.y.toggleDimmed({isShow:e.isShow}),e.isShow&&!x){let{zIndex:e}=r?.getShowProps()||{};m(e);return}!e.isShow&&x&&(r?.pop(),m(void 0))},[e.isShow]),(0,a.jsxs)(h,{...e,containerClassName:(0,n.QP)(!s&&"items-end xs:items-end lg:items-center pointer-events-none",e.containerClassName),wrapClassName:(0,n.QP)(!s&&"m-0 xs:m-0 lg:mx-4 xs:rounded-b-none lg:rounded pointer-events-auto","pb-[env(safe-area-inset-bottom)]",e.wrapClassName),zIndex:x,closeIcon:(0,a.jsx)(o.A,{className:"text-gray-800",width:24,height:24}),children:[e.children,t&&(0,a.jsx)("div",{className:(0,n.QP)("flex flex-row items-center gap-2 border-t border-t-gray-100-50 px-2 py-4",l),children:t})]})}},69835:(e,t,l)=>{"use strict";l.d(t,{A:()=>i});var a=l(74429),s=l(12074),r=l(3043);let i=e=>{let{className:t,labelClassName:l,icon:i,label:n,right:o,disabled:c,onClick:d}=e;return(0,a.jsxs)("div",{className:(0,s.QP)("flex flex-row items-center gap-1.5 py-4 px-6 hover:bg-gray-30",c?"opacity-[0.32]":"cursor-pointer",t),onClick:c?void 0:d,children:[i,(0,a.jsx)(r.Label,{className:(0,s.QP)("flex-1",l),children:n}),o]})}},73260:(e,t,l)=>{"use strict";l.d(t,{P:()=>r});var a=l(71041),s=l(48659);let r=e=>{let{eventName:t,data:l,conditionLogFunc:r}=e,i=(0,s.H)(),n=(0,a.useRef)(!1);(0,a.useEffect)(()=>{if(!n.current&&(!r||r())){n.current=!0;try{i?.trackEvent(t,l)}catch{}}},[])}},75432:(e,t,l)=>{"use strict";l.d(t,{Y:()=>d});var a=l(1234),s=l(60619),r=l(71041),i=l(36989),n=l(32189),o=l(54595),c=l(43303);let d=()=>{let[e,t]=(0,r.useState)(!1),l=(0,c.tx)(),d=(0,i.i7)(c.n5.context,e=>e?.refetch);return{busy:e,postJobSeekerSearchStatus:async(e,r)=>{try{t(!0);let i=l?.jobSeeker;i?.profile&&(i.profile.searchStatus=e);let c={searchStatus:e};if(e===o.zmL.actively)((e=>{if(e?.isPermanentlyClosedProfile)return!0;let t=e?.blockList?.allMoUntil;return!!t&&(0,a.c)((0,s.H)(t),new Date)>=36499})(i)||0===r)&&(c.days=0),i?.blockList&&(i.blockList.allMoUntil=void 0),i&&(i.isPermanentlyClosedProfile=!1);else if("number"==typeof r){c.days=r;let e=new Date(Date.now()+24*r*36e5).toISOString();i?.blockList&&(i.blockList.allMoUntil=e),i&&(i.isPermanentlyClosedProfile=36500===r)}await (0,n.Q$A)(c),await d?.()}catch(e){console.error(e)}finally{t(!1)}}}}},78378:(e,t,l)=>{"use strict";l.d(t,{A:()=>m});var a=l(74429),s=l(69997),r=l(72551),i=l.n(r),n=l(76e3),o=l(12074),c=l(88459),d=l(3043),h=l(37648);let x=i()(()=>Promise.resolve().then(l.bind(l,3043)).then(e=>e.Select),{loadableGenerated:{webpack:()=>[null]},ssr:!1}),m=e=>{let{className:t,size:l,isLoading:r,disabled:i,...m}=e,{t:u}=(0,s.Bd)("common");if(r)return(0,a.jsx)("div",{className:(0,o.QP)("px-2",m.wrapProps?.className),children:(0,a.jsx)(n.A,{})});let p=l===h.or.Small,b=m.options.find(e=>e.value==m.value);return(0,a.jsx)(x,{className:(0,o.QP)(p&&"px-3 py-2 gap-2 h-8 body-2 placeholder:body-2 w-fit",i&&"cursor-default text-gray-300",t),placeholder:u("common:placeholder.select"),...m,size:l,type:p?d.SelectType.Custom:m.type,childrenRenderer:p?e=>(0,a.jsxs)("div",{className:(0,o.QP)("flex flex-row items-center gap-2 rounded border border-gray-400 px-3 py-2",e.isShow&&"border-gray-900",i&&"opacity-[0.32]"),children:[(0,a.jsx)(d.Label,{type:d.LabelType.Body2,children:b?.label}),(0,a.jsx)(c.A,{width:16,height:16})]}):void 0,disabled:i})}},88168:(e,t,l)=>{"use strict";l.d(t,{A:()=>r});var a=l(74429),s=l(12074);let r=e=>{let{buttonWrapHeightClassName:t,buttonWrapClassName:l,buttons:r,children:i}=e;return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{className:"max-h-[348px] divide-y divide-gray-50 overflow-y-auto",children:i}),!!r&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{className:(0,s.QP)("h-[72px]",t)}),(0,a.jsx)("div",{className:(0,s.QP)("absolute bottom-0 left-0 w-full bg-gray-0-50 flex flex-row items-center gap-3 p-4 border-t border-gray-30",l),children:r})]})]})}},88459:(e,t,l)=>{"use strict";l.d(t,{A:()=>i});var a,s=l(71041);function r(){return(r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var l=arguments[t];for(var a in l)({}).hasOwnProperty.call(l,a)&&(e[a]=l[a])}return e}).apply(null,arguments)}let i=e=>s.createElement("svg",r({xmlns:"http://www.w3.org/2000/svg",width:"current",height:"current",fill:"none",viewBox:"0 0 20 20"},e),a||(a=s.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M2.803 6.553a.75.75 0 0 1 1.06 0L10 12.689l6.136-6.136a.75.75 0 0 1 1.06 1.06L10.53 14.28a.75.75 0 0 1-1.06 0L2.802 7.613a.75.75 0 0 1 0-1.06Z",clipRule:"evenodd"})))},88936:(e,t,l)=>{"use strict";l.d(t,{W:()=>r});var a=l(74429),s=l(12074);let r=e=>{let{className:t,children:l}=e;return(0,a.jsx)("div",{className:(0,s.QP)("description-item flex min-h-[16px] flex-row flex-wrap items-center gap-y-2",t),children:l})}},92434:(e,t,l)=>{"use strict";l.r(t),l.d(t,{__N_SSG:()=>ep,default:()=>eb});var a=l(74429),s=l(60619),r=l(69997),i=l(76115),n=l(71041),o=l(52654),c=l(8734),d=l(36989),h=l(79729),x=l(54595),m=l(12074),u=l(20355),p=l(33620),b=l(3043);let y=e=>{let{item:t,useEdit:l,onEditClick:s,onClick:r}=e;if(!t)return null;let{photos:i}=t;return(0,a.jsxs)("div",{className:(0,m.QP)("relative",r?"cursor-pointer":""),onClick:r,children:[i?.length?(0,a.jsx)(b.Avatar,{className:(0,m.QP)("h-20 w-20 rounded-[28px]"),imageUrl:i?.length?
1i[0]:""}):(0,a.jsx)("div",{className:(0,m.QP)("flex flex-col items-center justify-center border-[4px] border-gray-200 rounded-[28px] bg-gray-30 border-dotted w-20 h-20"),children:(0,a.jsx)(p.A,{width:24,height:24})}),l&&(0,a.jsx)("div",{className:"absolute -bottom-0.5 -right-0.5 cursor-pointer rounded-full border border-gray-400 bg-gray-0 p-1.5",onClick:()=>{s?.(t)},children:(0,a.jsx)(u.A,{width:20,height:20})})]})};var g=l(25833),f=l(32070),j=l(35326),_=l(38971),v=l(40734),w=l(37648);let k=()=>{let{t:e}=(0,r.Bd)("my"),t=(0,j.M)(),[l,s]=(0,n.useState)("3"),[i,o]=(0,n.useState)("7");if(v.W.isProd||!t?.accountId)return null;let{accountId:c,canShow:d,hasEmail:h,snoozeUntil:x,remindLaterConfig:m,remindLaterLabel:u,setRemindLaterConfig:p,recheck:y,openForDev:f}=t;return(0,a.jsxs)("div",{className:"border-orange-300 bg-orange-50 mt-8 flex flex-col gap-3 rounded border border-dashed p-4",children:[(0,a.jsx)(b.Label,{type:b.LabelType.Body2,bold:!0,children:e("dev.email_register_nudge.title")}),(0,a.jsxs)(b.Label,{className:"text-gray-700",type:b.LabelType.Caption1,children:[e("dev.email_register_nudge.has_email"),": ",h?"Y":"N"]}),(0,a.jsxs)(b.Label,{className:"text-gray-700",type:b.LabelType.Caption1,children:[e("dev.email_register_nudge.can_show"),": ",d?"Y":"N"]}),(0,a.jsxs)(b.Label,{className:"text-gray-700",type:b.LabelType.Caption1,children:[e("dev.email_register_nudge.snooze_until"),":"," ",x?.toLocaleString()??"-"]}),(0,a.jsxs)(b.Label,{className:"text-gray-700",type:b.LabelType.Caption1,children:[e("dev.email_register_nudge.remind_button"),": ",u]}),(0,a.jsxs)("div",{className:"flex gap-2",children:[(0,a.jsx)("input",{className:"w-16 rounded border px-2 py-1 text-sm",type:"number",min:1,value:l,onChange:e=>s(e.target.value)}),(0,a.jsx)(g.A,{type:b.ButtonAnatomy.Secondary,size:w.or.Small,label:e("dev.email_register_nudge.apply_minutes"),onClick:()=>{p?.({unit:"minutes",value:Number(l)||3})}})]}),(0,a.jsxs)("div",{className:"flex gap-2",children:[(0,a.jsx)("input",{className:"w-16 rounded border px-2 py-1 text-sm",type:"number",min:1,value:i,onChange:e=>o(e.target.value)}),(0,a.jsx)(g.A,{type:b.ButtonAnatomy.Secondary,size:w.or.Small,label:e("dev.email_register_nudge.apply_days"),onClick:()=>{p?.({unit:"days",value:Number(i)||7})}})]}),(0,a.jsx)(b.Label,{className:"text-gray-600",type:b.LabelType.Caption1,children:e("dev.email_register_nudge.remind_hint")}),(0,a.jsxs)("div",{className:"flex flex-wrap gap-2",children:[(0,a.jsx)(g.A,{type:b.ButtonAnatomy.Tertiary,size:w.or.Small,label:e("dev.email_register_nudge.clear_snooze"),onClick:()=>{(0,_.CO)(c),y?.()}}),(0,a.jsx)(g.A,{type:b.ButtonAnatomy.Tertiary,size:w.or.Small,label:e("dev.email_register_nudge.clear_signup_session"),onClick:()=>{(0,_._P)(),y?.()}}),(0,a.jsx)(g.A,{type:b.ButtonAnatomy.Tertiary,size:w.or.Small,label:e("dev.email_register_nudge.recheck"),onClick:()=>y?.()}),(0,a.jsx)(g.A,{type:b.ButtonAnatomy.Tertiary,size:w.or.Small,label:e("dev.email_register_nudge.open_modal"),onClick:()=>f?.()})]})]})};var N=l(36201),C=l(88168),L=l(94259),A=l(58264),S=l(40208),M=l(88936),T=l(69835),P=l(32684),E=l(44303),B=l(11262),z=l(49787),D=l(57529),R=l(20525),F=l(88565),V=l(87883),W=l(27728),$=l(26605),Q=l(53405),O=l(47479),Y=l(21283),H=l(28865),q=l(18626),I=l(77316),J=l(65895),Z=l(97910),G=l(36142);let K=e=>{let{...t}=e,{t:l}=(0,r.Bd)("my"),s=Y.n5.use(),{isMobile:i}=(0,Z.V)(),o=(0,Y.tx)(),c=(0,H.x)(),d=(0,G.jE)(),u=(0,h.bk)({request:{useJobSeekerToken:!0}});(0,I.we)(u);let{register:p,handleSubmit:y,formState:{errors:g},setValue:f,setFocus:j,watch:_,trigger:v,clearErrors:k}=(0,J.mN)(Q.Bc),{name:N,birthYear:C,birthMonth:L,birthDay:A,nationalityType:S,gender:M}=_(),T=(0,n.useMemo)(()=>{if(!o)return!1;if(N!==o.name)return!0;if(o.birth){let e=new Date(o.birth),t=e.getFullYear().toString(),l=(e.getMonth()+1).toString(),a=e.getDate().toString();if(C!==t||L!==l||A!==a)return!0}return M!==o.gender||S!==o.nationalityType},[o,N,C,L,A,M,S]),P=!N||!C||!L||!A||!S||!M||!T,E=async e=>{c?.show({message:l("title.confirm_fix_once"),onConfirmClick:async()=>{if(u.isPending)return;let{birthYear:a,birthMonth:r,birthDay:i,name:n,nationalityType:o,gender:c}=e,m=`${a}-${r.padStart(2,"0")}-${i.padStart(2,"0")}`,{birth:p,gender:b}=((e,t)=>{let l=(e=>{if(e.replace(/\d/g,"").length||6!==e.length)return null;let t=new Date,l=(0,z.A)(t,"yyyy"),a=(0,D.qg)(`${l.substring(0,2)}${e}`,"yyyyMMdd",t);if(!(0,R.f)(a))return null;if((0,F.d)(a,t)){let l=(0,V.d)(t,100);a=(0,D.qg)(`${(0,z.A)(l,"yyyy").substring(0,2)}${e}`,"yyyyMMdd",t)}return(0,W.o)(a)})(e);return{birth:l?(0,z.A)(l,"yyyy-MM-dd")+"T00:00:00.000Z":null,gender:t%2==1?x.YT8.m:x.YT8.f}})((0,q.OO)(m),parseInt((0,q.c6)(m,c)));p&&(await u.mutateAsync({data:{birth:p,gender:b,name:n,nationalityType:o}}),B.oR.success(l("toast.user_info_updated")),s.refetch(),await Promise.all([d.invalidateQueries({queryKey:(0,h.Jt)()}),d.invalidateQueries({queryKey:(0,h.sm)()})]),t.onClose?.())}})};return(0,n.useEffect)(()=>
1{if(o&&t.isShow){if(f("name",o.name),o.birth){let e=new Date(o.birth);f("birthYear",e.getFullYear().toString()),f("birthMonth",(e.getMonth()+1).toString()),f("birthDay",e.getDate().toString())}f("gender",o.gender),f("nationalityType",o.nationalityType),k()}},[o,t.isShow]),(0,a.jsx)(O.A,{title:l("title.edit_profile"),bodyClassName:i?"p-4":"p-5",useMobileFullScreen:!0,buttonWrapClassName:i?"p-4":"p-5",buttons:(0,a.jsx)(b.Button,{className:"flex-1",disabled:P,type:b.ButtonAnatomy.Primary,size:w.or.Large,actionType:"submit",form:"job-seeker-edit-form",label:l("button.to_edit")}),...t,children:(0,a.jsx)("form",{id:"job-seeker-edit-form",className:(0,m.QP)("m-auto flex flex-1 flex-col",i?"":"max-w-[400px]"),onSubmit:y(E,e=>{console.error(e)}),children:(0,a.jsxs)("div",{className:"flex flex-col gap-10",children:[(0,a.jsx)("div",{children:(0,a.jsx)(b.Label,{type:b.LabelType.Heading3,children:l("title.edit_job_seeker_modal")})}),(0,a.jsxs)("div",{className:"flex flex-col gap-3",children:[(0,a.jsx)(b.Input,{label:l("common:title.name"),errorMessage:g.name?.message,isRequired:!0,useCustomError:!g.name?.message,...p("name")}),g.name?.message?null:(0,a.jsx)(b.Label,{type:b.LabelType.Caption1,className:"text-gray-500",children:l("inputHelp.name")})]}),(0,a.jsx)($.A,{errors:g,register:p,watch:_,setValue:f,setFocus:j,trigger:v})]})})})};var U=l(65195),X=l(24336),ee=l(87975),et=l(36734),el=l.n(et),ea=l(11835),es=l(78378),er=l(12054),ei=l(9661),en=function(e){return e.didNotReceiveOffer="didNotReceiveOffer",e.publicPhoto="publicPhoto",e.publicPhoneNumber="publicPhoneNumber",e.insufficientJobAds="insufficientJobAds",e.content="content",e.hired="hired",e.other="other",e}(en||{});let eo=e=>{let{onlyWithdrawal:t,onEditPictureClick:l,onDisabledProfileClick:s,...o}=e,c=(0,i.useRouter)(),{t:x}=(0,r.Bd)("my"),{isMobile:u}=(0,Z.V)(),p=(0,H.x)(),y=(0,h.D8)({request:{useJobSeekerToken:!0}}),f=(0,d.i7)(Y.up.context,e=>
1e?.signOut),[j,_]=(0,n.useState)(!1),[v,k]=(0,n.useState)(""),[N,C]=(0,n.useState)(!1),[L,A]=(0,n.useState)(""),S=u?"px-4":"px-5";return(0,n.useEffect)(()=>{o.isShow||(_(!1),k(""),A(""))},[o.isShow]),(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)(O.A,{title:x("title.withdraw_account"),className:"px-0 xs:max-w-[400px] lg:max-w-[400px]",bodyClassName:"px-0",useMobileFullScreen:!0,...o,children:[(0,a.jsxs)("div",{className:(0,m.QP)("flex flex-col gap-2",S),children:[(0,a.jsx)("div",{className:"my-6 flex flex-row items-center justify-center mb-8",children:(0,a.jsx)(ea.A,{})}),t?null:(0,a.jsxs)("div",{className:"flex flex-col gap-8",children:[(0,a.jsxs)("div",{className:"flex flex-col gap-5",children:[(0,a.jsx)(b.Label,{type:b.LabelType.Heading3,children:x("withdrawal_job_seeker_modal.question")}),(0,a.jsx)(b.Label,{children:x("withdrawal_job_seeker_modal.answer")})]}),(0,a.jsx)(g.A,{type:b.ButtonAnatomy.Primary,label:x("withdrawal_job_seeker_modal.button"),onClick:s})]})]}),t?(0,a.jsx)("div",{className:"h-8"}):(0,a.jsx)("div",{children:(0,a.jsx)(b.Divider,{height:8,className:"my-8"})}),(0,a.jsxs)("div",{className:(0,m.QP)("flex flex-col gap-12",S),children:[(0,a.jsxs)("div",{className:(0,m.QP)("flex flex-col gap-12"),children:[(0,a.jsxs)("div",{className:"flex flex-col gap-5",children:[(0,a.jsx)(b.Label,{type:b.LabelType.Heading3,children:x("withdrawal_job_seeker_modal.information_delete")}),(0,a.jsx)(b.Label,{children:x("withdrawal_job_seeker_modal.information_delete_desc")})]}),j?null:(0,a.jsx)(g.A,{className:"mt-2",type:b.ButtonAnatomy.Caution,label:x("withdrawal_job_seeker_modal.information_delete_check"),onClick:()=>{v||_(!0),setTimeout(()=>{let e=window.document.querySelector(".reason-select");e&&e.click()},200)}})]}),j?(0,a.jsx)("div",{className:(0,m.QP)("flex flex-col"),children:(0,a.jsxs)("div",{className:"flex flex-col",children:[(0,a.jsx)(es.A,{className:"reason-select",offsetY:-12,label:x("withdrawal_job_seeker_modal.reason_leave_account"),options:(0,ei.di)(en,x,"deleteReason."),value:v,isRequired:!0,onSelect:e=>{k(e?.value||"")}}),v?(0,a.jsx)("div",{className:"h-3"}):null,"didNotReceiveOffer"===v&&(0,a.jsxs)("div",{className:"flex flex-col py-6 px-5 gap-8 bg-green-30 rounded-[4px]",children:[(0,a.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,a.jsx)(b.Label,{bold:!0,children:x("title.better_culture")}),(0,a.jsx)(b.Label,{children:x("title.better_suggestions")})]}),(0,a.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,a.jsx)(b.Label,{bold:!0,children:x("title.can_apply_now")}),(0,a.jsx)(b.Label,{children:x("title.apply_easy_now")}),(0,a.jsx)("div",{children:(0,a.jsx)(el(),{href:{pathname:er.R.JobSeekerJobAdPlace},children:(0,a.jsx)(g.A,{className:"h-[unset] p-0 text-green-400-50",label:x("button.go_nearby_job"),size:w.or.Medium,type:b.ButtonAnatomy.Link})})})]})]}),"publicPhoto"===v&&(0,a.jsxs)("div",{className:"flex flex-col py-6 px-5 gap-8 bg-green-30 rounded-[4px]",children:[(0,a.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,a.jsx)(b.Label,{bold:!0,children:x("title.photo_not_needed")}),(0,a.jsx)(b.Label,{children:x("title.job_photo_optional")})]}),(0,a.jsx)("div",{children:(0,a.jsx)(g.A,{className:"h-[unset] p-0 text-green-400-50",label:x("button.to_delete_photo"),size:w.or.Medium,type:b.ButtonAnatomy.Link,onClick:()=>C(!0)})})]}),"publicPhoneNumber"===v&&(0,a.jsx)("div",{className:"flex flex-col py-6 px-5 gap-8 bg-green-30 rounded-[4px]",children:(0,a.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,a.jsx)(b.Label,{bold:!0,children:x("title.no_phone_number")}),(0,a.jsx)(b.Label,{children:x("title.safe_mode_active")})]})}),"insufficientJobAds"===v&&(0,a.jsxs)("div",{className:"flex flex-col py-6 px-5 gap-8 bg-green-30 rounded-[4px]",children:[(0,a.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,a.jsx)(b.Label,{bold:!0,children:x("title.gathering_jobs_fast")}),(0,a.jsx)(b.Label,{children:x("title.promo_franchise")})]}),(0,a.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,a.jsx)(b.Label,{bold:!0,children:x("title.new_job_alert")}),(0,a.jsx)(b.Label,{children:x("title.new_job_alert_desc")}),(0,a.jsx)("div",{children:(0,a.jsx)(el(),{href:{pathname:er.R.JobSeekerJobAdPlace},children:(0,a.jsx)(g.A,{className:"h-[unset] p-0 text-green-400-50",label:x("button.go_nearby_job"),size:w.or.Medium,type:b.ButtonAnatomy.Link})})})]})]}),"content"===v&&(0,a.jsx)("div",{className:"flex flex-col py-6 px-5 gap-8 bg-green-30 rounded-[4px]",children:(0,a.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,a.jsx)(b.Label,{bold:!0,children:x("title.what_content")}),(0,a.jsx)(b.Label,{children:x("title.what_content_desc")}),(0,a.jsx)("div",{children:(0,a.jsx)(el(),{href:{pathname:er.R.JobSeekerHelpSuggestion},children:(0,a.jsx)(g.A,{className:"h-[unset] p-0 text-green-400-50",label:x("title.how_to_change_app"),size:w.or.Medium,type:b.ButtonAnatomy.Link})})})]})}),"hired"===v&&(0,a.jsx)("div",{className:"flex flex-col py-6 px-5 gap-8 bg-green-30 rounded-[4px]",children:(0,a.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,a.jsx)(b.Label,{bold:!0,children:x("title.what_needed")}),(0,a.jsx)(b.Label,{children:x("title.what_needed_desc")}),(0,a.jsx)("div",{children:(0,a.jsx)(el(),{href:{pathname:er.R.JobSeekerHelpSuggestion},children:(0,a.jsx)(g.A,{className:"h-[unset] p-0 text-green-400-50",label:x("title.how_to_change_app"),size:w.or.Medium,type:b.ButtonAnatomy.Link})})})]})}),"other"===v?null:(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{className:"h-12"}),(0,a.jsx)(b.Label,{className:"text-gray-600",type:b.LabelType.Body2,bold:!0,children:x("withdrawal_job_seeker_modal.reason_leave_account_desc")}),(0,a.jsx)("div",{className:"h-3"})]}),(0,a.jsx)(b.Textarea,{placeholder:x("withdrawal_job_seeker_modal.reason_leave_account_desc_detail"),className:"min-h-[120px] max-h-[240px]",value:L,maxLength:100,onChange:e=>{A(e.target.value)}})]})}):null,j&&(0,a.jsxs)("div",{className:(0,m.QP)("flex flex-1 flex-col gap-6"),children:[(0,a.jsx)(g.A,{className:"flex-1",label:x("title.try_more"),onClick:o.onClose}),(0,a.jsx)("button",{onClick:()=>{p?.show({title:x("title.withdraw_question"),message:x("title.irreversible_deleti
1on"),onConfirmClick:async()=>{y.isPending||(await y.mutateAsync({data:{reason:v,reasonDescription:L}}),f?.(),B.oR.success(x("toast.account_resign_done")),c.push(er.R.Root))}})},disabled:!v,children:(0,a.jsx)(b.Label,{className:"text-red-500",bold:b.FontWeight.Semibold,children:x("title.delete_all_info")})})]})]})]}),(0,a.jsx)(ee.D,{isShow:N,onClose:()=>C(!1),previous:"withdrawal"})]})};var ec=l(43620),ed=l(48659),eh=l(68857),ex=l(73260),em=l(94942);let eu=()=>{let{t:e}=(0,r.Bd)("my"),t=(0,ed.H)(),l=(0,i.useRouter)(),[m,u]=(0,o.A)(!1),[p,j]=(0,n.useState)(!1),[_,v]=(0,c.A)(!1),[L,S]=(0,o.A)(!1),[B,D]=(0,o.A)(!1),[R,F]=(0,n.useState)(!1),[V,W]=(0,o.A)(!1),{isMobile:$}=(0,Z.V)(),{isShow:Q,toggleShow:O,setReferenceElement:H,getDropdownProps:J,getDimmedProps:G}=(0,eh.B)({placement:$?"bottom":"bottom-start",offsetX:$?0:-8,offsetY:8}),et=(0,d.i7)(Y.n5.context,e=>e?.account),el=(0,d.i7)(Y.n5.context,e=>e?.refetch),ea=(0,d.i7)(Y.up.context,e=>e?.signOut),es=(0,h.D8)(),{data:ei,isLoading:en,refetch:eu}=(0,h.TJ)({request:{useJobSeekerToken:!0}}),{data:ep,refetch:eb}=(0,h.e4)({query:{enabled:R,staleTime:1e4},request:{useJobSeekerToken:!0}}),ey=()=>{W(!0)},eg=R&&ep?.decryptedInfo?ep?.decryptedInfo:ei?.decryptedInfo;(0,ex.P)({eventName:"view_my_info_tab"}),(0,I.we)(es);let ef=async()=>{await Promise.all([el?.(),eu()]),R&&await eb()};if((0,n.useEffect)(()=>{eu()},[]),en)return(0,a.jsx)(P.A,{});let ej=et&&!et.editedAt&&!et.isVerified,e_=eg?.birth?new Date().getFullYear()-(0,s.H)(eg.birth).getFullYear():null,ev=eg?.email;return(0,a.jsxs)("div",{className:"mx-auto flex flex-col pb-12 max-xs:h-full",children:[(0,a.jsx)(A.A,{useCompact:!0,titleSectionClassName:"gap-2",title:e("common:nav.my_setting"),useExtraDivider:!1,extraTitleContent:(0,a.jsx)("div",{ref:H,children:(0,a.jsx)(g.A,{type:b.ButtonAnatomy.Quaternary,icon:(0,a.jsx)(em.k5,{size:24,color:w.MF["gray-700"]}),onClick:()=>O(!0)})})}),Q&&(0,a.jsx)("div",{...G()}),(0,a.jsx)("div",{...J({useFullWidth:!1,className:"popover-shadow"}),children:(0,a.jsxs)(C.A,{children:[ej&&(0,a.jsx)(T.A,{className:"font-medium text-gray-900",label:e("button.edit_info"),onClick:()=>{O(!1),t.trackEvent("click_my_info_account_modify"),D(!0)}}),(0,a.jsx)(T.A,{className:"font-medium text-gray-900",label:e(ev?"button.change_email":"button.register_email"),onClick:()=>{O(!1),ey()}}),(0,a.jsx)(T.A,{className:"font-medium text-red-500",label:e("common:button.leave_account"),onClick:()=>{O(!1),v(!0)}})]})}),(0,a.jsx)("div",{className:"flex w-full max-w-[343px] flex-col self-center max-xs:h-full max-xs:justify-between",children:(0,a.jsxs)("div",{className:"flex flex-col gap-8",children:[(0,a.jsx)("div",{className:"self-center",children:(0,a.jsx)(y,{item:et,useEdit:!0,onClick:()=>{u(!0)}})}),(0,a.jsxs)("div",{className:"flex flex-col gap-6",children:[(0,a.jsxs)(M.W,{children:[(0,a.jsx)(b.Label,{className:"min-w-[80px] text-gray-600-50",type:b.LabelType.Body2,children:e("title.phone")}),(0,a.jsx)(b.Label,{className:"flex-1 text-right",children:(0,q.eO)(eg?.phoneNumber)})]}),(0,a.jsxs)(M.W,{children:[(0,a.jsx)(b.Label,{className:"min-w-[80px] text-gray-600-50",type:b.LabelType.Body2,children:e("title.name")}),(0,a.jsx)(b.Label,{className:"flex-1 text-right",children:eg?.name})]}),(0,a.jsxs)(M.W,{children:[(0,a.jsx)(b.Label,{className:"min-w-[80px] text-gray-600-50",type:b.LabelType.Body2,children:e("common:title.age")}),(0,a.jsx)(b.Label,{className:"flex-1 text-right",children:eg?.birth&&(R&&ep?.decryptedInfo?`${(0,z.A)((0,s.H)(eg.birth),"yyyyë
MMì ddì¼")} ${e_}ì¸`:e("title.birth_age",{year:(0,s.H)(eg.birth).getFullYear(),age:e_}))})]}),(0,a.jsxs)(M.W,{children:[(0,a.jsx)(b.Label,{className:"min-w-[80px] text-gray-600-50",type:b.LabelType.Body2,children:e("title.gender")}),(0,a.jsx)(ec.A,{className:"flex-1 text-right text-gray-900",gender:eg?.gender,useFull:!0})]}),eg?.nationalityType&&(0,a.jsxs)(M.W,{children:[(0,a.jsx)(b.Label,{className:"min-w-[80px] text-gray-600-50",type:b.LabelType.Body2,children:e("auth:title.nationality_type")}),(0,a.jsx)(b.Label,{className:"flex-1 text-right",children:e(`auth:enum.nationalityType.${eg?.nationalityType}`)})]}),(0,a.jsxs)(M.W,{className:"flex-nowrap justify-between",children:[(0,a.jsx)(b.Label,{className:"min-w-[80px] text-gray-600-50",type:b.LabelType.Body2,children:e("title.email")}),ev?(0,a.jsx)(b.Label,{className:"break-all text-right",children:eg?.email}):(0,a.jsx)(b.RoundBadge,{className:"bg-gray-50-50 px-2 py-1.5 text-gray-600-50",size:w.or.Small,type:b.RoundBadgeType.Solid,children:(0,a.jsx)(b.Label,{className:"h-[14px]",type:b.LabelType.Caption1,bold:!1,children:e("title.unregistered")})})]}),(0,a.jsxs)(M.W,{className:"justify-between",children:[(0,a.jsx)(b.Label,{className:"min-w-[80px] text-gray-600",type:b.LabelType.Body2,children:e("title.see_hidden_info")}),(0,a.jsx)(N.A,{checked:R,onChange:()=>F(e=>!e)})]})]}),(0,a.jsxs)("div",{className:"flex flex-col gap-3",children:[!ev&&(0,a.jsx)(g.A,{type:b.ButtonAnatomy.Secondary,label:e("button.register_email"),onClick:ey}),(0,a.jsx)(g.A,{type:b.ButtonAnatomy.Tertiary,label:(0,a.jsx)(b.Label,{type:b.LabelType.Heading4,bold:b.FontWeight.Semibold,children:e("common:button.signOut")}),onClick:()=>{j(!0)}})]}),(0,a.jsx)(f.A,{isJobSeeker:!0}),(0,a.jsx)(k,{})]})}),(0,a.jsx)(E.A,{isShow:p,message:e("title.confirm_logout"),danger:!0,onClose:()=>{j(!1)},onConfirmClick:()=>{ea?.(),l.push(er.R.Root)}}
1),(0,a.jsx)(eo,{isShow:_,onlyWithdrawal:et?.jobSeeker?.profile?.searchStatus===x.zmL.closed,onEditPictureClick:()=>{v(!1)},onDisabledProfileClick:()=>{v(!1),S(!0)},onClose:v}),(0,a.jsx)(X._,{isShow:L,onClose:S}),ej&&(0,a.jsx)(K,{isShow:B,onClose:D}),(0,a.jsx)(ee.D,{isShow:m,onClose:u,previous:"account"}),(0,a.jsx)(U.$,{isShow:V,onClose:W,onSuccess:()=>{ef()}})]})};eu.getLayout=function(e){return(0,a.jsx)(S.A,{children:(0,a.jsx)(L.A,{children:e})})};var ep=!0;let eb=eu}},e=>{e.O(0,[8370,5389,2279,4067,9560,2487,6734,386,5549,9584,4595,1863,3390,7464,208,6049,636,6593,8792],()=>e(e.s=43817)),_N_E=e.O()}]);
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.