1import{_ as Ce}from"./2e1w-A9W.js";import{e as j,o as c,f as O,A as ne,O as Ee,w as B,b as k,aP as Ve,c as h,F as J,d as L,t as H,Z as ue,Y as P,a as t,g as f,h as V,z as G,n as v,_ as K,q as pe,l as F,m as ee,r as X,i as le,an as Y,b5 as Be,a5 as fe,aN as be,bk as Le,aS as Oe,aF as Ne,E as ze,bl as Ae,a$ as ke,ad as De,b0 as Te,C as je,ac as me,a6 as Fe,P as Me,I as ve,b3 as _e,s as Je}from"./CFG33ova.js";import{_ as Ue,u as Re,a as Se,P as W,b as ce,S as Ke,c as We,d as $e,I as ge,e as He,f as he,g as ye,E as Ye,h as Ge,i as Xe,j as Ze,k as Qe,l as et,m as tt}from"./B6smljN4.js";import{S as st}from"./CmD0zHUR.js";import{s as xe}from"./B6JwEwLA.js";import{I as Ie,d as we}from"./C6WELEKQ.js";import{S as ot}from"./DUDwsPzr.js";import{_ as at}from"./DnWbu-PA.js";import{m as nt}from"./BgRY2LB7.js";import{u as lt}from"./IDbUSuUJ.js";import"./q-qo7eU9.js";import"./DYBjarKV.js";import"./N0Dp8swA.js";import"./jRWD15zh.js";import"./CAmOiVUY.js";const rt=j({__name:"ProfileLoadingActionButton",props:{color:{default:"primary"},size:{default:"medium"},shape:{default:"rounded"},type:{default:"button"},disabled:{type:Boolean,default:!1},keepColorOnDisabled:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},loadingText:{default:"ä¿åä¸..."}},emits:["click"],setup(x,{emit:y}){const n=y,d=x,m=()=>{d.loading||d.disabled||n("click")};return(l,u)=>(c(),O(ne,{type:d.type,color:d.color,size:d.size,shape:d.shape,"keep-color-on-disabled":d.keepColorOnDisabled,disabled:d.loading||d.disabled,"aria-busy":d.loading?"true":void 0,class:"profile-loading-action-button",onClick:m},Ee({default:B(()=>[d.loading?(c(),h(J,{key:0},[L(H(d.loadingText),1)],64)):ue(l.$slots,"default",{key:1})]),_:2},[d.loading?{name:"lead",fn:B(()=>[k(Ve,{size:20,color:"#ffffff"})]),key:"0"}:void 0]),1032,["type","color","size","shape","keep-color-on-disabled","disabled","aria-busy"]))}}),it=""+new URL("done.B0XYVujJ.svg",import.meta.url).href,dt=""+new URL("done_not.Rq-6fefn.svg",import.meta.url).href,ut={class:"root"},ct={class:"container"},pt={class:"header-left"},ft=["src","alt"],mt={class:"title"},vt={key:0,src:Ue,alt:""},_t={class:"header-right"},gt={class:"collapsible-inner"},ht={class:"content"},yt={class:"action-button"},bt=j({__name:"ProfileSectionCard",props:{isSelected:{type:Boolean},isCompleted:{type:Boolean,default:!1},hasUpdateRequest:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},loading:{type:Boolean,default:!1}},emits:["update","expandToggle"],setup(x,{emit:y}){const n=y,d=x,m=v(!1),l=v(!1);return P(m,u=>{l.value=u}),P(()=>d.isSelected,u=>{u&&(l.value=!0,m.value=!0)}),(u,U)=>(c(),h("div",ut,[t("div",ct,[t("div",{class:"header",onClick:U[0]||(U[0]=p=>m.value=!m.value)},[t("div",pt,[t("img",{src:d.isCompleted?f(it):f(dt),alt:d.isCompleted?"å®äº":"æªå®äº"},null,8,ft),t("div",mt,[ue(u.$slots,"title",{},void 0,!0)]),d.hasUpdateRequest?(c(),h("img",vt)):V("",!0)]),t("div",_t,[t("span",{class:G(["material-symbols-outlined",{expanded:l.value}])},"keyboard_arrow_down",2)])]),t("div",{class:G(["collapsible-content",{expanded:l.value}])},[t("div",gt,[t("div",ht,[ue(u.$slots,"default",{},void 0,!0)]),t("div",yt,[k(rt,{color:"primary",disabled:d.disabled,loading:d.loading,loadingText:"ä¿åä¸...",onClick:U[1]||(U[1]=p=>n("update"))},{default:B(()=>[...U[2]||(U[2]=[L(" 夿´ãä¿åãã ",-1)])]),_:1},8,["disabled","loading"])])])],2)])]))}}),kt=K(bt,[["__scopeId","data-v-b0b6f1b1"]]),Ut={class:"root"},Rt={class:"container"},St={class:"content"},$t={class:"it-skill"},xt={class:"it-skill-items"},It={class:"it-skill-rating"},wt=["onClick"],Pt=j({__name:"ProfileLanguageSkill",props:{profile:{},profileUpdateRequestItems:{}},setup(x,{expose:y}){const n=x,d=pe(),m=Re(),{form:l,errors:u,setErrors:U,clearErrors:p,exposed:i}=Se({no_experience_of_languages:n.profile.resume.no_experience_of_languages===1,languages:n.profile.languages.map(b=>({language_cd:b.language_cd,language_name:b.language_name,level:b.level}))}),g=m.profileValidator({section:"language_skills",form:l,setErrors:U,clearErrors:p}),N=async b=>{g(b)},{sortedSkills:A}=We(),D=F("masterProfile"),R=v([]),$=le(()=>n.profileUpdateRequestItems.includes("languages")),S=async()=>{const b=await d.open(Ke,{data:{languageSkills:_.value||[],skillMaster:R,maxNumber:4},disableClose:!1,width:"90vw",maxWidth:"800px"}).afterClosed();b&&(_.value=A(b,_.value||[])),M()},_=v(l.value.languages);P(_,b=>{l.value.languages=b},{immediate:!0}),P(()=>l.value.no_experience_of_languages,b=>{if(b){l.value.languages=[];return}l.value.languages=_.value},{deep:!0,immediate:!0}),ee(async()=>{const b=await D.index({type:"language-skills"});R.value=xe(b.data,"value",I=>String(I.key))});const w=b=>{_.value=_.value?.filter(I=>I.language_cd!==b),M()},M=we(()=>{N()},300);return y(i),(b,I)=>(c(),h("div",Ut,[t("div",Rt,[t("div",St,[t("div",$t,[$.value?(c(),O($e,{key:0})):V("",!0),k(Ie,{modelValue:f(l).no_experience_of_languages,"onUpdate:modelValue":I[0]||(I[0]=C=>
1f(l).no_experience_of_languages=C),onInput:f(M)},{default:B(()=>[...I[1]||(I[1]=[L("è¨èªã¹ãã«ãªã",-1)])]),_:1},8,["modelValue","onInput"]),f(u)?.languages?(c(),O(W,{key:1,errors:f(u)?.languages},null,8,["errors"])):V("",!0),t("div",{class:G(["it-skill-content",{disabled:f(l).no_experience_of_languages}])},[t("div",xt,[(c(!0),h(J,null,X(_.value,C=>(c(),h("div",{key:C.language_cd,class:"it-skill-item"},[t("div",It,[t("div",{class:"it-skill-rating-item",onClick:S},[k(st,{"model-value":Number(C.level),skillName:C.language_name,maxNumber:4},null,8,["model-value","skillName"])]),t("img",{src:ce,alt:"",onClick:E=>w(C.language_cd)},null,8,wt)])]))),128))]),t("div",{class:"button",onClick:S},[...I[2]||(I[2]=[t("span",null,"è¨èªã¹ãã«ã追å ãã",-1),t("span",{class:"material-symbols-outlined"},"add",-1)])])],2)])])])]))}}),qt=K(Pt,[["__scopeId","data-v-e7b476ca"]]),Ct={class:"root"},Et={class:"container"},Vt={class:"internship"},Bt={class:"input"},Lt=["onClick"],Ot={class:"other-careers"},Nt={class:"caption"},zt={class:"input"},At={class:"other-backgrounds"},Dt={class:"other-backgrounds-wrapper"},Tt={class:"items"},jt={class:"period"},Ft={class:"period-wrapper"},Mt={class:"period-from"},Jt={class:"period-to"},Kt=["onClick"],Wt="便ã®ã¾ã¾ã«ãªã£ã¦ãã¾ãããèªèº«ã®å å®¹ã«æ¸ãæãã¦ãã ããã",Ht=j({__name:"ProfileExperienceHistory",props:{profile:{}},setup(x,{expose:y}){const n=x,d=pe(),m=Re(),{form:l,errors:u,setErrors:U,clearErrors:p,exposed:i}=Se({no_experience_of_internships:n.profile.resume.no_experience_of_internships===1,internships:n.profile.internships,other_careers:n.profile.resume.other_careers===""?void 0:n.profile.resume.other_careers,other_experiences:n.profile.otherBackgrounds.map(s=>({organization:s.organization,period_from:s.period_from,period_to:s.period_to}))}),g=m.profileValidator({section:"activities_and_achievements",form:l,setErrors:U,clearErrors:p}),N=async s=>{T(s),await Y(),g(s)},A=le(()=>({no_experience_of_internships:l.value.no_experience_of_internships,internships:l.value.internships})),D=m.profileValidator({section:"internships",form:A,setErrors:U,clearErrors:p}),R=async s=>{await Y(),p("no_experience_of_internships"),D(s)},$=m.profileValidator({section:"other_experiences",form:l,setErrors:U,clearErrors:p}),S=async s=>{await Y(),$(s)},_=v(n.profile.internships.length?n.profile.internships.map(s=>({organization:s.organization,period_cd:s.period_cd,content:s.content})):[{organization:"",period_cd:0,content:""}]),w=v(n.profile.otherBackgrounds.length?n.profile.otherBackgrounds.map(s=>({organization:s.organization,period_from:s.period_from,period_to:s.period_to})):[{organization:"",period_from:"",period_to:""}]),M=F("masterProfile"),b=v([]),I={other_careers:`ãè«æã 2[1]Development of image recognition system using machine learning 3ãURL:https//---- 4[2]æ©æ¢°å¦ç¿ãç¨ããç»åèªèã·ã¹ãã ã®éçº 5ãURL:https//---- 6[3]etc. 7ãURL:https//---- 8 9ãæå±å¦ä¼ã 10[1]å¿ç¨ç©çå¦ä¼ 11ãURL:https//---- 12[2]èªç¶è¨èªå¦çå¦ä¼ 13ãURL:https//---- 14[3]etc. 15ãURL:https//---- 16 17ãåè³æ´ã 18[1]ã¢ã«ãªã¯å¦ä¼è³ 19ãURL:https//---- 20[2]ã¢ã«ãªã¯å¤§å¦æåªç§ãã¬ã¼ã³è³ 21ãURL:https//---- 22[3]etc. 23ãURL:https//---- 24 25ãä¿æã¹ãã«ã»è³æ ¼ã 26[1]æ®éèªåè»å 許 27[2]TOEIC850ç¹ 28[3]etc. 29ä¾`},C=async s=>{const e=await d.open(Ye,{data:{exampleSentence:I[s]},disableClose:!1}).afterClosed();e&&(l.value.other_careers=l.value.other_careers?`${l.value.other_careers} 30${e}`:e,N(s))},E=v({}),q=v({}),T=s=>{if(l.value[s]===I[s]){E.value[s]=[Wt];return}p(s),E.value[s]=[]},z=s=>{const e=u.value[s]||[],o=E.value[s]||[],a=!Array.isArray(e)||e.length===0,r=!Array.isArray(o)||o.length===0;return a&&r?{...q.value,[s]:[]}:a?{...q.value,[s]:o}:r?{...q.value,[s]:e}:{...q.value,[s]:[...e,...o]}};P(_,s=>{l.value.internships=s.filter(e=>e.organization!=="")},{deep:!0,immediate:!0}),P(w,s=>{l.value.other_experiences=s.filter(e=>e.organization)},{deep:!0,immediate:!0}),P(()=>l.value.no_experience_of_internships,s=>{s&&p("internships")}),P(()=>u.value,()=>{q.value=z("other_careers"),q.value=z("internships"),q.value=z("other_experiences")},{deep:!0}),P(E,()=>{q.value=z("other_careers")},{deep:!0}),ee(async()=>{const s=await M.index({type:"internship-periods"});b.value=xe(s.data,"value",e=>String(e.key))});const Z=()=>{_.value.push({organization:"",period_cd:0,content:""})},te=s=>{_.value.splice(s,1),R()},re=()=>{w.value.push({organization:"",period_from:"",period_to:""})},ie=s=>{w.value.splice(s,1),S("other_experiences")},de=we(()=>{R()},300);return y({...i,getErrors:()=>q.value}),(s,e)=>(c(),h("div",Ct,[t("div",Et,[t("div",Vt,[k(Ie,{modelValue:f(l).no_experience_of_internships,"onUpdate:modelValue":e[0]||(e[0]=o=>f(l).no_experience_of_internships=o),onInput:e[1]||(e[1]=o=>f(de)())},{default:B(()=>[...e[11]||(e[11]=[L("ã¤ã³ã¿ã¼ã³çã®çµé¨ãªã",-1)])]),_:1}
30,8,["modelValue"]),f(u)?.no_experience_of_internships?(c(),O(W,{key:0,errors:f(u)?.no_experience_of_internships},null,8,["errors"])):V("",!0),Array.isArray(f(u)?.internships)&&typeof f(u)?.internships?.[0]=="string"?(c(),O(W,{key:1,errors:f(u)?.internships},null,8,["errors"])):V("",!0),t("div",{class:G(["internship-items",{disabled:f(l).no_experience_of_internships}])},[(c(!0),h(J,null,X(_.value,(o,a)=>(c(),h("div",{key:a,class:"item"},[k(ge,{modelValue:_.value[a].organization,"onUpdate:modelValue":r=>_.value[a].organization=r,label:"伿¥å",errors:f(u)?.internships?.[a]?.organization,onBlur:e[2]||(e[2]=r=>R())},null,8,["modelValue","onUpdate:modelValue","errors"]),k(He,{modelValue:_.value[a].period_cd,"onUpdate:modelValue":r=>_.value[a].period_cd=r,options:b.value,label:"æé",onBlur:e[3]||(e[3]=r=>R())},null,8,["modelValue","onUpdate:modelValue","options"]),f(u)?.internships?.[a]?.period_cd?(c(),O(W,{key:0,errors:f(u)?.internships?.[a]?.period_cd},null,8,["errors"])):V("",!0),t("div",Bt,[e[12]||(e[12]=t("label",null,"å
容",-1)),k(he,{modelValue:_.value[a].content,"onUpdate:modelValue":r=>_.value[a].content=r,rows:5,guidelineLength:300,errors:f(u)?.internships?.[a]?.content,onBlur:e[4]||(e[4]=r=>R())},null,8,["modelValue","onUpdate:modelValue","errors"])]),a!==0?(c(),h("img",{key:1,src:ce,alt:"delete",onClick:r=>te(a)},null,8,Lt)):V("",!0)]))),128)),t("div",{class:"button-add",onClick:Z},[...e[13]||(e[13]=[t("span",null,"ã¤ã³ã¿ã¼ã³çã®çµæ´ã追å ãã",-1),t("span",{class:"material-symbols-outlined"},"add",-1)])])],2)]),t("div",Ot,[t("div",Nt,[e[14]||(e[14]=t("div",{class:"caption-content-wrapper"},[t("div",{class:"caption-content"},"æå±å¦ä¼ã»çºè¡¨è«æã»åè³æ´ã»åå ããã¸ã§ã¯ãã»ä¿æè³æ ¼ãå
¬çå
許ãªã©"),t("div",{class:"instruction"},"ç¹ã«ãªãå ´åã¯ãç¹ã«ãªããã¨ãæ¸ããã ãã")],-1)),t("div",{class:"button",onClick:e[5]||(e[5]=o=>C("other_careers"))},"便ãè¦ã")]),t("div",zt,[k(he,{modelValue:f(l).other_careers,"onUpdate:modelValue":e[6]||(e[6]=o=>f(l).other_careers=o),rows:7,guidelineLength:300,errors:q.value?.other_careers,onBlur:e[7]||(e[7]=o=>N("other_careers"))},null,8,["modelValue","errors"])])]),t("div",At,[e[18]||(e[18]=t("div",{class:"title"},"ãã®ä»çµæ´",-1)),t("div",Dt,[t("div",Tt,[(c(!0),h(J,null,X(w.value,(o,a)=>(c(),h("div",{key:a,class:"item"},[k(ge,{modelValue:w.value[a].organization,"onUpdate:modelValue":r=>w.value[a].organization=r,label:"伿¥å",errors:f(u)?.other_experiences?.[a]?.organization,onBlur:e[8]||(e[8]=r=>S("other_experiences"))},null,8,["modelValue","onUpdate:modelValue","errors"]),t("div",jt,[e[16]||(e[16]=t("div",{class:"title"},"æå±æé",-1)),t("div",Ft,[t("div",Mt,[k(ye,{modelValue:w.value[a].period_from,"onUpdate:modelValue":r=>w.value[a].period_from=r,mode:"month",readonly:"",onBlur:e[9]||(e[9]=r=>S("other_experiences"))},null,8,["modelValue","onUpdate:modelValue"]),f(u)?.other_experiences?.[a]?.period_from?(c(),O(W,{key:0,errors:f(u)?.other_experiences?.[a]?.period_from},null,8,["errors"])):V("",!0)]),e[15]||(e[15]=t("div",{class:"divider"},null,-1)),t("div",Jt,[k(ye,{modelValue:w.value[a].period_to,"onUpdate:modelValue":r=>w.value[a].period_to=r,mode:"month",readonly:"",onBlur:e[10]||(e[10]=r=>S("other_experiences"))},null,8,["modelValue","onUpdate:modelValue"]),f(u)?.other_experiences?.[a]?.period_to?(c(),O(W,{key:0,errors:f(u)?.other_experiences?.[a]?.period_to},null,8,["errors"])):V("",!0)])])]),a!==0?(c(),h("img",{key:0,src:ce,alt:"delete",onClick:r=>ie(a)},null,8,Kt)):V("",!0)]))),128))]),t("div",{class:"button-add",onClick:re},[...e[17]||(e[17]=[t("span",null,"ãã®ä»çµæ´ã追å ãã",-1),t("span",{class:"material-symbols-outlined"},"add",-1)])])])])])]))}}),Yt=K(Ht,[["__scopeId","data-v-7fc5d226"]]),Gt={class:"root"},Xt={class:"container"},Zt=j({__name:"ProfileEdit",props:{profile:{},selectedSection:{},profileUpdateRequestItems:{},acUserId:{}},emits:["update"],setup(x,{emit:y}){const n=x,d=y,m=Be(),l=pe(),u=fe(be),U=()=>{u?.().catch(()=>{})},p=F("resume"),i=v({}),g=v({}),N=v({}),A=(s,e)=>{i.value[s]=e},D=(s,e)=>{g.value[s]=e},R=["enrollment-status"],$=s=>{N.value[s]=!0},S=v(!1),_=le(()=>[{key:"basic-info",title:"åºæ¬æ
å ±",component:Ge,props:{profile:n.profile,isSmsVerified:S.value,"onUpdate:isSmsVerified":s=>S.value=s}},{key:"enrollment-status",title:"å¨ç±ç¶æ³",component:Xe,props:{profile:n.profile}},{key:"it-skill",title:"ITã¹ãã«",component:Ze,props:{profile:n.profile,profileUpdateRequestItems:n.profileUpdateRequestItems},havingRequestItems:["skills"]},{key:"goals-vision",title:"叿ã»ãã¸ã§ã³",component:Qe,props:{profile:n.profile,profileUpdateRequestItems:n.profileUpdateRequestItems},havingRequestItems:["importance_cds","hope_prefecture_cds","hope_industry_type_cds","hope_job_type_cds","sales_point","want_to_do"]},{key:"research-keyword",title:"ç ç©¶ã»æè¡ãã¼ã¯ã¼ã",component:et,props:{profile:n.profile}},{key:"research",title:"ç ç©¶",component:tt,props:{profile:n.profile,profileUpdateRequestItems:n.profileUpdateRequestItems},havingRequestItems:["research_themes","research_ability"]},{key:"experience-history",title:"ã¤ã³ã¿ã¼ã³çã®çµé¨ããã®ä»çµæ´",component:Yt,props:{profile:n.profile}},{key:"language-skill",title:"è¨èªã¹ãã«",component:qt,props:{profile:n.profile,profileUpdateRequestItems:n.profileUpdateRequestItems},havingRequestItems:["languages"]}]),w=le(()=>n.profileUpdateRequestItems.length>0),M=s=>s?s.some(e=>n.profileUpdateRequestItems.includes(e)):!1,b=async s=>{await Y();const e=g.value[s];if(!e)return;const r=e.getBoundingClientRect().top+window.scrollY-70;window.scrollTo({top:r,behavior:"smooth"})};ee(()=>{n.selectedSection&&b(n.selectedSection)}),P(()=>n.selectedSection,s=>{s&&b(s)},{flush:"post"});const I=s=>{const e=Ae(s);if(Array.isArray(e))return e.map(o=>I(o));if(e&&typeof e=="object"){const o={};return Object.keys(e).forEach(a=>{o[a]=I(e[a])}),o}return e},C=s=>{const e={};return _.value.forEach(o=>{if(s&&o.key!==s)return;const r=i.value[o.key]?.getPayload();r&&(e[o.key]=I(r))}),e},E=v({}),q=v({}),T=v({}),z=v({});ee(async()=>{await Y()}),P(()=>R.every(s=>N.value[s]),async s=>{s&&(await Y(),E.value=C())},{immediate:!0}),Le(async()=>
30{if(q.value=C(),!Object.entries(E.value).some(([o,a])=>JSON.stringify(a)!==JSON.stringify(q.value[o])))return!0;if(!await l.open(ot,{data:{message:"夿´å
容ãä¿åããã¦ãã¾ããããã¼ã¸ãé¢ããã¨å
¥åå
容ã失ããã¾ããæ¬å½ã«ãã®ãã¼ã¸ãé¢ãã¾ããï¼"},disableClose:!1}).afterClosed())return!1});const Z=v({});P(E,s=>{Object.entries(s).forEach(([e,o])=>{if(e==="experience-history"){const a=(o.no_experience_of_internships??!1)===!0,r=Array.isArray(o.internships)&&o.internships.length>0,se=!!o.other_careers;Z.value[e]=(a||r)&&se;return}Z.value[e]=Object.entries(o).every(([a,r])=>e==="it-skill"&&a==="skills"&&o.it_skill_interest!==1||e==="language-skill"&&a==="languages"&&(o.no_experience_of_languages??!1)===!0||e==="enrollment-status"&&(a==="other_specialty_cds"||r===void 0)?!0:r!=null&&r!==""&&(Array.isArray(r)?r.length>0:!0))})},{immediate:!0}),P([()=>_.value.map(s=>{const e=i.value[s.key];return e?.getPayload?e.getPayload():null}),()=>_.value.map(s=>{const e=i.value[s.key];return e?.getErrors?e.getErrors():null}),S],()=>{te()},{deep:!0});const te=s=>{_.value.map(o=>o.key).forEach(o=>{const a=i.value[o],r=a?.getPayload?.(),se=a?.getErrors?.();if(!r){T.value[o]=!1;return}const oe=E.value[o];if(!oe){T.value[o]=!1;return}if(o==="basic-info"){const Q={...oe},ae={...r};delete Q.mobile_number,delete ae.mobile_number;const Pe=JSON.stringify(Q)!==JSON.stringify(ae),qe=oe.mobile_number!==r.mobile_number;T.value[o]=Pe||qe&&S.value}else T.value[o]=JSON.stringify(oe)!==JSON.stringify(r);T.value[o]&&se&&(T.value[o]=Object.values(se).every(Q=>Array.isArray(Q)&&Q.every(ae=>ae.length===0)))})},re=F("profile"),ie=async s=>{if(z.value[s])return;const e=i.value[s],o=e?.getPayload();if(!o){m.open("å
¥åå
容ãåå¾ã§ãã¾ããã§ããã");return}z.value[s]=!0,e?.clearErrors?.();try{await re.patch(o,{headers:{"X-Silent-Error-Dialog":"true"}}),m.open("夿´ãä¿åããã¾ããã"),E.value={...E.value,...C(s)},te(),U(),d("update")}catch(a){if(ze.isAxiosError(a)&&a.response?.status===422){e?.setErrors?.(a.response.data?.errors??{});return}throw a}finally{z.value[s]=!1}};async function de(){const s=await p.index(void 0,{responseType:"blob"}),e=window.URL.createObjectURL(s),o=document.createElement("a");o.href=e,o.download=`${n.acUserId}.xlsx`,o.click(),window.URL.revokeObjectURL(e)}return(s,e)=>(c(),h("div",Gt,[t("div",Xt,[w.value?(c(),O($e,{key:0,type:"section"})):V("",!0),(c(!0),h(J,null,X(_.value,o=>(c(),h("div",{key:o.key,class:"section-wrapper",ref_for:!0,ref:a=>D(o.key,a)},[k(kt,{isSelected:o.key===x.selectedSection,isCompleted:Z.value[o.key],hasUpdateRequest:M(o.havingRequestItems),disabled:!T.value[o.key]||!!z.value[o.key],loading:!!z.value[o.key],onUpdate:()=>ie(o.key)},{title:B(()=>[L(H(o.title),1)]),default:B(()=>[(c(),O(Oe(o.component),Ne({ref_for:!0},o.props,{ref_for:!0,ref:a=>A(o.key,a),onReady:a=>$(o.key)}),null,16,["onReady"]))]),_:2},1032,["isSelected","isCompleted","hasUpdateRequest","disabled","loading","onUpdate"])]))),128)),t("div",{class:"resume-download"},[t("div",{class:"button",onClick:de},[...e[0]||(e[0]=[t("div",{class:"icon"},null,-1),t("span",null,"å±¥æ´æ¸ãã¦ã³ãã¼ã",-1)])])])])]))}}),Qt=K(Zt,[["__scopeId","data-v-f7669312"]]),es={class:"root"},ts={class:"container"},ss={class:"top-content"},os={class:"full-fillment"},as={class:"value"},ns={class:"number"},ls={class:"full-fillment-bar-wrapper"},rs={class:"description"},is={class:"description-item"},ds={class:"section"},us={class:"section-list"},cs=["onClick"],ps={key:0,src:Ue,alt:""},fs=j({__name:"FullFillmentPanel",props:Te({resume:{},profileUpdateRequestItems:{},acUserId:{}},{selectedSectionKey:{},selectedSectionKeyModifiers:{}}),emits:["update:selectedSectionKey"],setup(x){const y=x,n=ke(x,"selectedSectionKey"),d=F("resume"),m=[{value:1,label:"èªå·± PR(æ§æ ¼ãè¶£å³ãç¹æãªã©)"},{value:2,label:"å°±è·(é²å¦)å
ã§ãã£ã¦ã¿ãããã¨"},{value:3,label:"ç ç©¶ãã¼ã"},{value:4,label:"ç ç©¶ãéãã¦å¾ãè½åã»ç¥è¦"}],l=[{key:"basic-info",label:"åºæ¬æ
å ±"},{key:"enrollment-status",label:"å¨ç±ç¶æ³"},{key:"it-skill",label:"ITã¹ãã«",havingRequestItems:["skills"]},{key:"goals-vision",label:"叿ã»ãã¸ã§ã³",havingRequestItems:["importance_cds","hope_prefecture_cds","hope_industry_type_cds","hope_job_type_cds","sales_point","want_to_do"]},{key:"research-keyword",label:"ç ç©¶ã»æè¡ãã¼ã¯ã¼ã"},{key:"research",label:"ç ç©¶",havingRequestItems:["research_themes","research_ability"]},{key:"experience-history",label:"ã¤ã³ã¿ã¼ã³å®ç¸¾ããã®ä»çµæ´"},{key:"language-skill",label:"èªå¦ã¹ãã«",havingRequestItems:["languages"]}];function u(p){return p?p.some(i=>y.profileUpdateRequestItems.includes(i)):!1}async function U(){const p=await d.index(void 0,{responseType:"blob"}),i=window.URL.createObjectURL(p),g=document.createElement("a");g.href=i,g.download=`${y.acUserId}.xlsx`,g.click(),window.URL.revokeObjectURL(i)}return(p,i)=>(c(),h("div",es,[t("div",ts,[t("div",ss,[t("div",os,[i[1]||(i[1]=t("div",{class:"title"},"ãããã£ã¼ã«å
å®åº¦",-1)),t("div",as,[t("span",ns,H(y.resume.input_point),1),i[0]||(i[0]=t("span",null,"%",-1))])]),t("div",ls,[t("div",{class:G(["full-fillment-bar",{"is-sufficient":y.resume.input_point>=65}]),style:De({width:y.resume.input_point+"%",borderTopRightRadius:y.resume.input_point===100?"20px":"0",borderBottomRightRadius:y.resume.input_point===100?"20px":"0"})},null,6),i[2]||(i[2]=t("div",{class:"target-line"},null,-1)),i[3]||(i[3]=t("div",{class:"target-arrow"},null,-1))]),i[4]||(i[4]=t("div",{class:"caption"},[L(" 65%以ä¸ã«ããã¨"),t("br",{class:"pc-br"}),L(" ã¹ã«ã¦ãç²å¾æ°5åï¼ ")],-1))]),i[9]||(i[9]=t("hr",{class:"line"},null,-1)),t("div",rs,[i[5]||(i[5]=t("div",{class:"caption"},[t("span",{class:"mark"},"éè¦"),t("span",{class:"text"},"伿¥ãæãéè¦è¦ãã¦ããé
ç®")],-1)),i[6]||(i[6]=t("div",{class:"content"},[L(" ä»ã®é
ç®ã ãã§ã¯ä¼ãããªã"),t("span",null,"ãããªãèªèº«ã®é
åã"),L("ãã伿¥ã¯ããã§å¤æãã¦ãã¾ããã¹ã«ã¦ããéããã©ããã®æçµçãªå¤æææã¨ãªãããããã²ãå
¥åãã ããï¼ ")],-1)),t("ul",is,[(c(),h(J,null,X(m,g=>t("li",{key:g.value},[t("span",null,H(g.label),1)])),64))])]),t("template",ds,[i[8]||(i[8]=t("hr",{class:"line"},null,-1)),t("div",us,[t("ul",null,[(c(),h(J,null,X(l,g=>t("li",{key:g.key,onClick:N=>n.value=g.key,class:G({selected:n.value===g.key})},[t("span",null,H(g.label),1),u(g.havingRequestItems)?(c(),h("img",ps)):V("",!0)],10,cs)),64))])]),t("div",{class:"resume-download"},[t("div",{class:"button",onClick:U},[...i[7]||(i[7]=[t("div",{class:"icon"},null,-1),t("span",null,"å±¥æ´æ¸ãã¦ã³ãã¼ã",-1)])])])])])]))}}),ms=K(fs,[["__scopeId","data-v-ce2dfd74"]]),vs={class:"root"},_s={class:"container"},gs={class:"important-notice card"},hs={class:"actions"},ys={class:"profile-update-tips card"},bs={class:"actions"}
30,ks=j({__name:"ProfileUpdateConfirm",props:{isRequestProfileUpdate:{type:Boolean},isRequestProfileUpdateModifiers:{}},emits:["update:isRequestProfileUpdate"],setup(x){const y=ke(x,"isRequestProfileUpdate"),n=je(),d=fe(be),m=v(!1),l=F("profile"),u=async()=>{m.value||(m.value=!0,!await l.patch({}).finally(()=>{m.value=!1}))||(await d?.().catch(()=>{}),await n.push({name:"home"}))};return(U,p)=>{const i=at;return c(),h("div",vs,[t("div",_s,[t("div",gs,[p[2]||(p[2]=me('<div class="title" data-v-206d2ce9><span class="material-symbols-outlined" data-v-206d2ce9>notifications</span><span class="text" data-v-206d2ce9>ã¢ã«ãªã¯äºåå±ãããé¡ã</span></div><div class="content" data-v-206d2ce9><div class="caption" data-v-206d2ce9>æ°å¹´åº¦ã«ä¼´ããããã£ã¼ã«ã®æ´æ°ã«ã¤ãã¦</div><div class="description" data-v-206d2ce9> ãå°±å¦ã»å°±æ¥ç¶æ³ããã忥年ããªã©ã®å¤æ´ãããã¾ããããããã£ã¼ã«ã®æ´æ°ããé¡ããããã¾ãã<br data-v-206d2ce9> ãããã£ã¼ã«æ´æ°ãããã¨ä»ã®ãã¼ã¸ã®é²è¦§ãå¯è½ã§ãã</div></div>',2)),t("div",hs,[k(ne,{color:"white-blue",onClick:u,disabled:m.value},{default:B(()=>[L(H(m.value?"éä¿¡ä¸...":"夿´ã¯ããã¾ãã"),1)]),_:1}
30,8,["disabled"]),k(ne,{color:"white-blue",onClick:p[0]||(p[0]=g=>y.value=!0)},{default:B(()=>[...p[1]||(p[1]=[L("夿´ããã¾ã",-1)])]),_:1})])]),t("div",ys,[p[4]||(p[4]=me('<div class="title" data-v-206d2ce9><span class="material-symbols-outlined" data-v-206d2ce9>lightbulb</span><span class="text" data-v-206d2ce9>ãããã£ã¼ã«ãæ´æ°ããã¨ã伿¥ãããªããè¦ã¤ãããããªãã¾ãï¼</span></div><div class="content" data-v-206d2ce9><div class="description" data-v-206d2ce9> ã¾ãããããã£ã¼ã«å
å®åº¦ã <span class="attention" data-v-206d2ce9><span class="number" data-v-206d2ce9>65</span>%ä»¥ä¸ </span> ã«ãã㨠<span class="attention" data-v-206d2ce9><span class="number" data-v-206d2ce9>3</span>åä»¥ä¸ </span> ã®ä¼æ¥ããã¹ã«ã¦ãããããã¾ãï¼<br data-v-206d2ce9> ãã²ãã¢ã«ãªã¯ä½¿ãæ¹ã¬ã¤ãããã§ãã¯ãã¦ã¿ã¦ãã ãã </div></div>',2)),t("div",bs,[k(i,{to:{name:"starting-guide"},target:"_blank"},{default:B(()=>[k(ne,{color:"white-blue"},{default:B(()=>[...p[3]||(p[3]=[L("ã¢ã«ãªã¯ä½¿ãæ¹ã¬ã¤ãã¯ãã¡ã",-1)])]),_:1})]),_:1})])])])])}}}),Us=K(ks,[["__scopeId","data-v-206d2ce9"]]),Rs={class:"root"},Ss={class:"container"},$s={key:0,class:"content"},xs={key:1,class:"content"},Is={class:"full-fillment-panel"},ws=j({__name:"ProfileEditView",setup(x){const y=F("profile"),n=F("profileUpdateRequest"),d=v(null),m=v(!0),l=v([]),u=async()=>await n.index(),U=()=>Promise.all([y.index(),u()]).then(([R,$])=>{d.value=R.data,l.value=$}).catch(R=>{Je(R instanceof Error?R:"ãããã£ã¼ã«æ
å ±ã®åå¾ã«å¤±æãã¾ããã")}).finally(()=>{m.value=!1});ee(()=>{U()});const p=v(0),i=async()=>{const R=++p.value,[$,S]=await Promise.all([y.index(),u()]);R===p.value&&(d.value=$.data,l.value=S)},g=v(null),N=fe(Fe,nt,!0),A=v(N.value?.shouldUpdateProfile??!1),D=v(!1);return P(D,R=>{A.value=!R}),(R,$)=>(c(),h("div",Rs,[t("div",Ss,[$[3]||($[3]=t("div",{class:"title"},"ãããã£ã¼ã«",-1)),m.value||!d.value?(c(),h("div",$s,[k(Me)])):(c(),h("div",xs,[t("div",Is,[k(ms,{resume:d.value.resume,profileUpdateRequestItems:l.value,acUserId:d.value.latestBackground.ac_user_id,selectedSectionKey:g.value,"onUpdate:selectedSectionKey":$[0]||($[0]=S=>g.value=S)},null,8,["resume","profileUpdateRequestItems","acUserId","selectedSectionKey"])]),ve(k(Us,{isRequestProfileUpdate:D.value,"onUpdate:isRequestProfileUpdate":$[1]||($[1]=S=>D.value=S)},null,8,["isRequestProfileUpdate"]),[[_e,A.value]]),ve(k(Qt,{profile:d.value,selectedSection:g.value,profileUpdateRequestItems:l.value,acUserId:d.value.latestBackground.ac_user_id,onUpdate:$[2]||($[2]=S=>i())},null,8,["profile","selectedSection","profileUpdateRequestItems","acUserId"]),[[_e,!A.value]])]))])]))}}),Ps=K(ws,[["__scopeId","data-v-93093286"]]),Js=j({__name:"edit",setup(x){return lt(),(y,n)=>(c(),O(Ce,null,{default:B(()=>[k(Ps)]),_:1}))}});export{Js as default};
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.