1import{a as gt,c6 as _t,l as ot,cO as Ct,c7 as bt,bH as it,cB as ct,cP as wt,d as fe,c9 as kt,u as lt,L as yt,ca as Mt,cb as Tt,O as U,e as O,ce as xt,a3 as $t,cQ as It,a2 as Ve,be as Ee,aB as Je,bA as St,o as g,f as ae,w as R,br as Ae,D as P,n as se,h as l,i as Et,U as j,aG as Vt,H as Oe,T as De,y as Ft,cj as Pt,P as oe,Q as Ce,F as W,bV as st,E as _,S as Lt,cR as zt,G as _e,ae as xe,bL as nt,ah as ut,z as Rt,r as jt,_ as Ht,cS as Bt,cT as Wt,bG as ye,cU as At,cV as Ot,cW as Dt,a9 as dt,ad as Fe,aD as Ue,an as et,ao as tt,av as Me,bd as He,aK as Be,cz as Nt,bl as Ut,aL as at,cw as qt,A as Zt,aH as Gt,aI as Kt,c as Yt,g as Xt,aa as Qt,a8 as Jt,aC as ea,aM as ta,aF as aa}from"./style-DJz_dMbV.js";import{_ as oa}from"./favicon-B1w23DGS.js";import{_ as la}from"./logout-CLQC1hgc.js";import{u as sa,a as na}from"./user-BeSreQGR.js";import{t as ra,d as ia,g as rt,C as ca,E as ua}from"./select-De-gY7zm.js";import{c as da,U as fa,E as ft,a as pt,A as pa}from"./main-cisT3bka.js";import{C as Qe}from"./radio-BP4Bl92Q.js";import{a as va,E as ha}from"./checkbox-BGC0I6bo.js";import{C as ma,_ as ga,j as _a,a as Ca}from"./[email protected]";import{p as ba,s as wa}from"./job-CCK8e9_b.js";import"./isEqual-9PqB3XSy.js";const ka=gt({...ma,size:_t,placeholder:String,disabled:Boolean,clearable:Boolean,filterable:Boolean,filterMethod:{type:ot(Function),default:(v,I)=>v.text.includes(I)},separator:{type:String,default:" / "},showAllLevels:{type:Boolean,default:!0},collapseTags:Boolean,maxCollapseTags:{type:Number,default:1},collapseTagsTooltip:{type:Boolean,default:!1},debounce:{type:Number,default:300},beforeFilter:{type:ot(Function),default:()=>!0},popperClass:{type:String,default:""},teleported:Ct.teleported,tagType:{...ra.type,default:"info"},validateEvent:{type:Boolean,default:!0},...bt}),ya={[it]:v=>!0,[ct]:v=>!0,focus:v=>v instanceof FocusEvent,blur:v=>v instanceof FocusEvent,visibleChange:v=>wt(v),expandChange:v=>!!v,removeTag:v=>!!v},Ma={key:0},Ta=["placeholder","onKeydown"],xa=["onClick"],$a="ElCascader",Ia=fe({name:$a}),Sa=fe({...Ia,props:ka,emits:ya,setup(v,{expose:I,emit:y}){const i=v,C={modifiers:[{name:"arrowPosition",enabled:!0,phase:"main",fn:({state:e})=>{const{modifiersData:o,placement:n}=e;["right","left","bottom","top"].includes(n)||(o.arrow.x=35)},requires:["arrow"]}]},b=kt();let f=0,m=0;const u=lt("cascader"),s=lt("input"),{t:d}=yt(),{form:E,formItem:t}=Mt(),{valueOnClear:M}=Tt(i),be=U(null),p=U(null),G=U(null),x=U(null),ne=U(null),X=U(!1),J=U(!1),T=U(!1),Y=U(!1),pe=U(""),ie=U(""),ve=U([]),me=U([]),$e=U([]),he=U(!1),Pe=O(()=>b.style),ce=O(()=>i.disabled||(E==null?void 0:E.disabled)),Ie=O(()=>i.placeholder||d("el.cascader.placeholder")),Le=O(()=>ie.value||ve.value.length>0||he.value?"":Ie.value),Te=xt(),ze=O(()=>["small"].includes(Te.value)?"small":"default"),de=O(()=>!!i.props.multiple),Se=O(()=>!i.filterable||de.value),We=O(()=>de.value?ie.value:pe.value),we=O(()=>{var e;return((e=x.value)==null?void 0:e.checkedNodes)||[]}),qe=O(()=>!i.clearable||ce.value||T.value||!J.value?!1:!!we.value.length),Re=O(()=>{const{showAllLevels:e,separator:o}=i,n=we.value;return n.length?de.value?"":n[0].calcText(e,o):""}),Ze=O(()=>(t==null?void 0:t.validateState)||""),je=O({get(){return da(i.modelValue)},set(e){const o=e||M.value;y(it,o),y(ct,o),i.validateEvent&&(t==null||t.validate("change").catch(n=>$t()))}}),Ge=O(()=>[u.b(),u.m(Te.value),u.is("disabled",ce.value),b.class]),Ke=O(()=>[s.e("icon"),"icon-arrow-down",u.is("reverse",X.value)]),Ye=O(()=>u.is("focus",X.value||Y.value)),ke=O(()=>{var e,o;return(o=(e=be.value)==null?void 0:e.popperRef)==null?void 0:o.contentRef}),ee=e=>{var o,n,$;ce.value||(e=e??!X.value,e!==X.value&&(X.value=e,(n=(o=p.value)==null?void 0:o.input)==null||n.setAttribute("aria-expanded",`${e}`),e?(w(),Ee(($=x.value)==null?void 0:$.scrollToExpandingNode)):i.filterable&&N(),y("visibleChange",e)))},w=()=>{Ee(()=>{var e;(e=be.value)==null||e.updatePopper()})},a=()=>{T.value=!1},r=e=>{const{showAllLevels:o,separator:n}=i;return{node:e,key:e.uid,text:e.calcText(o,n),hitState:!1,closable:!ce.value&&!e.isDisabled,isCollapseTag:!1}},c=e=>{var o;const n=e.node;n.doCheck(!1),(o=x.value)==null||o.calculateCheckedValue(),y("removeTag",n.valueByOption)},k=()=>
1{if(!de.value)return;const e=we.value,o=[],n=[];if(e.forEach($=>n.push(r($))),me.value=n,e.length){e.slice(0,i.maxCollapseTags).forEach(le=>o.push(r(le)));const $=e.slice(i.maxCollapseTags),re=$.length;re&&(i.collapseTags?o.push({key:-1,text:`+ ${re}`,closable:!1,isCollapseTag:!0}):$.forEach(le=>o.push(r(le))))}ve.value=o},h=()=>{var e,o;const{filterMethod:n,showAllLevels:$,separator:re}=i,le=(o=(e=x.value)==null?void 0:e.getFlattedNodes(!i.props.checkStrictly))==null?void 0:o.filter(K=>K.isDisabled?!1:(K.calcText($,re),n(K,We.value)));de.value&&(ve.value.forEach(K=>{K.hitState=!1}),me.value.forEach(K=>{K.hitState=!1})),T.value=!0,$e.value=le,w()},S=()=>{var e;let o;T.value&&ne.value?o=ne.value.$el.querySelector(`.${u.e("suggestion-item")}`):o=(e=x.value)==null?void 0:e.$el.querySelector(`.${u.b("node")}[tabindex="-1"]`),o&&(o.focus(),!T.value&&o.click())},V=()=>{var e,o;const n=(e=p.value)==null?void 0:e.input,$=G.value,re=(o=ne.value)==null?void 0:o.$el;if(!(!Bt||!n)){if(re){const le=re.querySelector(`.${u.e("suggestion-list")}`);le.style.minWidth=`${n.offsetWidth}px`}if($){const{offsetHeight:le}=$,K=ve.value.length>0?`${Math.max(le+6,f)}px`:`${f}px`;n.style.height=K,w()}}},H=e=>{var o;return(o=x.value)==null?void 0:o.getCheckedNodes(e)},F=e=>{w(),y("expandChange",e)},D=e=>{var o;const n=(o=e.target)==null?void 0:o.value;if(e.type==="compositionend")he.value=!1,Ee(()=>ue(n));else{const $=n[n.length-1]||"";he.value=!Wt($)}},L=e=>{if(!he.value)switch(e.code){case ye.enter:ee();break;case ye.down:ee(!0),Ee(S),e.preventDefault();break;case ye.esc:X.value===!0&&(e.preventDefault(),e.stopPropagation(),ee(!1));break;case ye.tab:ee(!1);break}},A=()=>{var e;(e=x.value)==null||e.clearCheckedNodes(),!X.value&&i.filterable&&N(),ee(!1)},N=()=>{const{value:e}=Re;pe.value=e,ie.value=e},q=e=>{var o,n;const{checked:$}=e;de.value?(o=x.value)==null||o.handleCheckChange(e,!$,!1):(!$&&((n=x.value)==null||n.handleCheckChange(e,!0,!1)),ee(!1))},te=e=>{const o=e.target,{code:n}=e;switch(n){case ye.up:case ye.down:{const $=n===ye.up?-1:1;At(Ot(o,$,`.${u.e("suggestion-item")}[tabindex="-1"]`));break}case ye.enter:o.click();break}},z=()=>{const e=ve.value,o=e[e.length-1];m=ie.value?0:m+1,!(!o||!m||i.collapseTags&&e.length>1)&&(o.hitState?c(o):o.hitState=!0)},B=e=>{const o=e.target,n=u.e("search-input");o.className===n&&(Y.value=!0),y("focus",e)},Z=e=>{Y.value=!1,y("blur",e)},Q=ia(()=>{const{value:e}=We;if(!e)return;const o=i.beforeFilter(e);It(o)?o.then(h).catch(()=>{}):o!==!1?h():a()},i.debounce),ue=(e,o)=>{!X.value&&ee(!0),!(o!=null&&o.isComposing)&&(e?Q():a())},ge=e=>Number.parseFloat(Dt(s.cssVarName("input-height"),e).value)-2;return Ve(T,w),Ve([we,ce],k),Ve(ve,()=>{Ee(()=>V())}),Ve(Te,async()=>{await Ee();const e=p.value.input;f=ge(e)||f,V()}),Ve(Re,N,{immediate:!0}),Je(()=>{const e=p.value.input,o=ge(e);f=e.offsetHeight||o,St(e,V)}),I({getCheckedNodes:H,cascaderPanelRef:x,togglePopperVisible:ee,contentRef:ke}),(e,o)=>(g(),ae(l(st),{ref_key:"tooltipRef",ref:be,visible:X.value,teleported:e.teleported,"popper-class":[l(u).e("dropdown"),e.popperClass],"popper-options":C,"fallback-placements":["bottom-start","bottom","top-start","top","right","left"],"stop-popper-mouse-event":!1,"gpu-acceleration":!1,placement:"bottom-start",transition:`${l(u).namespace.value}-zoom-in-top`,effect:"light",pure:"",persistent:"",onHide:a},{default:R(()=>[Ae((g(),P("div",{class:se(l(Ge)),style:Et(l(Pe)),onClick:o[5]||(o[5]=()=>ee(l(Se)?void 0:!0)),onKeydown:L,onMouseenter:o[6]||(o[6]=n=>J.value=!0),onMouseleave:o[7]||(o[7]=n=>J.value=!1)},[j(l(Vt),{ref_key:"input",ref:p,modelValue:pe.value,"onUpdate:modelValue":o[1]||(o[1]=n=>pe.value=n),placeholder:l(Le),readonly:l(Se),disabled:l(ce),"validate-event":!1,size:l(Te),class:se(l(Ye)),tabindex:l(de)&&e.filterable&&!l(ce)?-1:void 0,onCompositionstart:D,onCompositionupdate:D,onCompositionend:D,onFocus:B,onBlur:Z,onInput:ue},{suffix:R(()=>[l(qe)?(g(),ae(l(Oe),{key:"clear",class:se([l(s).e("icon"),"icon-circle-close"]),onClick:De(A,["stop"])},{default:R(()=>[j(l(Ft))]),_:1},8,["class","onClick"])):(g(),ae(l(Oe),{key:"arrow-down",class:se(l(Ke)),onClick:o[0]||(o[0]=De(n=>ee(),["stop"]))},{default:R(()=>[j(l(Pt))]),_:1},8,["class"]))]),_:1},8,["modelValue","placeholder","readonly","disabled","size","class","tabindex"]),l(de)?(g(),P("div",{key:0,ref_key:"tagWrapper",ref:G,class:se([l(u).e("tags"),l(u).is("validate",!!l(Ze))])},[(g(!0),P(oe,null,Ce(ve.value,n=>(g(),ae(l(rt),{key:n.key,type:e.tagType,size:l(ze),hit:n.hitState,closable:n.closable,"disable-transitions":"",onClose:$=>c(n)},{default:R(()=>[n.isCollapseTag===!1?(g(),P("span",Ma,W(n.text),1)):(g(),ae(l(st),{key:1,disabled:X.value||!e.collapseTagsTooltip,"fallback-placements":["bottom","top","right","left"],placement:"bottom",effect:"light"},{default:R(()=>[_("span",null,W(n.text),1)]),content:R(()=>[_("div",{class:se(l(u).e("collapse-tags"))},[(g(!0),P(oe,null,Ce(me.value.slice(e.maxCollapseTags),($,re)=>(g(),P("div",{key:re,class:se(l(u).e("collapse-tag"))},[(g(),ae(l(rt),{key:$.key,class:"in-tooltip",type:e.tagType,size:l(ze),hit:$.hitState,closable:$.closable,"disable-transitions":"",onClose:le=>c($)},{default:R(()=>[_("span",null,W($.text),1)]),_:2},1032,["type","size","hit","closable","onClose"]))],2))),128))],2)]),_:2},1032,["disabled"]))]),_:2},1032,["type","size","hit","closable","onClose"]))),128)),e.filterable&&!l(ce)?Ae((g(),P("input",{key:0,"onUpdate:modelValue":o[2]||(o[2]=n=>ie.value=n),type:"text",class:se(l(u).e("search-input")),placeholder:l(Re)?"":l(Ie),onInput:o[3]||(o[3]=n=>ue(ie.value,n)),onClick:o[4]||(o[4]=De(n=>ee(!0),["stop"])),onKeydown:Lt(z,["delete"]),onCompositionstart:D,onCompositionupdate:D,onCompositionend:D,onFocus:B,onBlur:Z},null,42,Ta)),[[zt,ie.value]]):_e("v-if",!0)],2)):_e("v-if",!0)],38)),[[l(ca),()=>ee(!1),l(ke)]])]),content:R(()=>[Ae(j(l(ga),{ref_key:"cascaderPanelRef",ref:x,modelValue:l(je),"onUpdate:modelValue":o[8]||(o[8]=n=>xe(je)?je.value=n:null),options:e.options,props:i.props,border:!1,"render-label":e.$slots.default,onExpandChange:F,onClose:o[9]||(o[9]=n=>e.$nextTick(()=>ee(!1)))},null,8,["modelValue","options","props","render-label"]),[[nt,!T.value]]),e.filterable?Ae((g(),ae(l(ut),{key:0,ref_key:"suggestionPanel",ref:ne,tag:"ul",class:se(l(u).e("suggestion-panel")),"view-class":l(u).e("suggestion-list"),onKeydown:te},{default:R(()=>[$e.value.length?(g(!0),P(oe,{key:0},Ce($e.value,n=>(g(),P("li",{key:n.uid,class:se([l(u).e("suggestion-item"),l(u).is("checked",n.checked)]),tabindex:-1,onClick:$=>q(n)},[_("span",null,W(n.text),1),n.checked?(g(),ae(l(Oe),{key:0},{default:R(()=>[j(l(Rt))]),_:1})):_e("v-if",!0)],10,xa))),128)):jt(e.$slots,"empty",{key:1},()=>[_("li",{class:se(l(u).e("empty-text"))}
1,W(l(d)("el.cascader.noMatch")),3)])]),_:3},8,["class","view-class"])),[[nt,T.value]]):_e("v-if",!0)]),_:3},8,["visible","teleported","popper-class","transition"]))}});var Ne=Ht(Sa,[["__file","cascader.vue"]]);Ne.install=v=>{v.component(Ne.name,Ne)};const Ea=Ne,Va=Ea,vt=v=>(et("data-v-8518b200"),v=v(),tt(),v),Fa={class:"after-upload__header"},Pa={class:"header"},La={class:"logo-container"},za=vt(()=>_("img",{class:"logo",src:oa},null,-1)),Ra={class:"title-container"},ja={class:"title"},Ha={class:"description"},Ba=vt(()=>_("img",{class:"icon",src:la},null,-1)),Wa=["innerHTML"],Aa=fe({__name:"Header",props:{step:{},jobs:{}},setup(v){const I=dt(),y=sa(),i="OfferAI";function C(){y.setToken("",""),I.push("/login")}return(b,f)=>{var u;const m=Ue;return g(),P("div",Fa,[_("div",Pa,[_("div",La,[za,_("div",Ra,[_("div",ja,W(l(i)),1),_("div",Ha,W(b.$t("after_upload.header.subtitle")),1)])]),j(m,{class:"logout",round:"",onClick:C,style:{border:"0"}},{default:R(()=>[Ba,Fe(" "+W(b.$t("login.logout")),1)]),_:1})]),_("div",{class:"content",innerHTML:b.$t(`after_upload.header.content.${b.step>1?b.step-1:0}`,{jobs:(u=b.jobs)==null?void 0:u.join(" / ")})},null,8,Wa)])}}}),Oa=Me(Aa,[["__scopeId","data-v-8518b200"]]),Da={class:"after-upload__footer"},Na={key:1,class:"placeholder"},Ua={class:"indicator"},qa=fe({__name:"Steps",props:He({total:{},disabled:{type:Boolean}},{modelValue:{default:1},modelModifiers:{}}),emits:He(["prev","next"],["update:modelValue"]),setup(v,{emit:I}){const y=I,i=Be(v,"modelValue");return(C,b)=>{const f=Ue;return g(),P("div",Da,[i.value>1?(g(),ae(f,{key:0,class:"prev",link:"",size:"large",onClick:b[0]||(b[0]=m=>y("prev",i.value-1)),icon:l(Nt)},null,8,["icon"])):(g(),P("div",Na)),_("div",Ua,[(g(!0),P(oe,null,Ce(C.total,m=>(g(),P("span",{class:se(["indicator-item",{"indicator-item--active":m===i.value}]),key:m},null,2))),128))]),j(f,{class:"next",link:"",size:"large",disabled:C.disabled,onClick:b[1]||(b[1]=m=>y("next",i.value+1)),icon:l(Ut)},null,8,["disabled","icon"])])}}}),Za=Me(qa,[["__scopeId","data-v-990513a4"]]),Ga=["onClick"],Ka=["src"],Ya={class:"name"},Xa={class:"dialog-footer"},Qa=fe({__name:"Country",props:He({lang:{}},{modelValue:{default:""},modelModifiers:{}}),emits:["update:modelValue"],setup(v){const I=v,y=Be(v,"modelValue"),{t:i}=at(),C=O(()=>[...Qe.map(f=>({icon:f.icon,name:i(`after_upload.country.${f.key}`),key:f.key,disabled:f.lang!==I.lang||f.lock,lock:f.lock}))]),b=U(!1);return(f,m)=>{const u=Oe,s=pt,d=ft,E=Ue,t=ua;return g(),P(oe,null,[j(d,{gutter:20},{default:R(()=>[(g(!0),P(oe,null,Ce(l(C),M=>(g(),ae(s,{key:M.key,span:12},{default:R(()=>[_("div",{class:se(["country-card",{active:y.value===M.key,disabled:M.disabled}]),onClick:()=>{if(M.disabled){if(M.lock)return;b.value=!0}else y.value=M.key}},[_("img",{class:"icon",src:M.icon,alt:""},null,8,Ka),_("div",Ya,W(M.name),1),M.lock?(g(),ae(u,{key:0,class:"lock"},{default:R(()=>[j(l(qt))]),_:1})):_e("",!0)],10,Ga)]),_:2},1024))),128))]),_:1}),j(t,{title:f.$t("resume.upload.upload_tip.title"),modelValue:l(b),"onUpdate:modelValue":m[1]||(m[1]=M=>xe(b)?b.value=M:null),width:"480","align-center":""},{footer:R(()=>[_("div",Xa,[j(E,{type:"primary",size:"large",round:"",onClick:m[0]||(m[0]=M=>b.value=!1)},{default:R(()=>[Fe(W(f.$t("common.ok")),1)]),_:1})])]),default:R(()=>[j(fa)]),_:1},8,["title","modelValue"])],64)}}}),Ja=Me(Qa,[["__scopeId","data-v-65bb013c"]]),eo="data:image/svg+xml,%3csvg%20width='80'%20height='80'%20viewBox='0%200%2080%2080'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M62.3656%205.0047C64.1858%205.0047%2065.6652%206.48396%2065.6652%208.30388V14.3376H71.6997C72.3524%2014.3375%2072.9905%2014.5309%2073.5332%2014.8934C74.076%2015.2559%2074.499%2015.7712%2074.7488%2016.3742C74.9986%2016.9771%2075.0639%2017.6406%2074.9366%2018.2806C74.8092%2018.9207%2074.4948%2019.5086%2074.0332%2019.97L67.2193%2026.783C66.2244%2027.7756%2064.8771%2028.3343%2063.4717%2028.337H56.6112L40.1365%2044.8096C39.473%2045.4278%2038.5953%2045.7643%2037.6885%2045.7483C36.7817%2045.7323%2035.9165%2045.365%2035.2752%2044.7238C34.6339%2044.0826%2034.2666%2043.2175%2034.2505%2042.3108C34.2346%2041.4041%2034.5711%2040.5266%2035.1894%2039.8631L51.6641%2023.3905V16.5308C51.6641%2015.1262%2052.2241%2013.7776%2053.2182%2012.779L60.0321%205.96599C60.3375%205.65819%2060.7011%205.41426%2061.1017%205.24842C61.5024%205.08258%2061.932%204.99814%2062.3656%205.00003M11.9943%2042.3363C11.9938%2038.531%2012.8395%2034.7732%2014.4704%2031.335C16.1012%2027.8967%2018.4763%2024.8641%202
11.4237%2022.4567C24.371%2020.0492%2027.8169%2018.3272%2031.5118%2017.4153C35.2067%2016.5034%2039.0582%2016.4245%2042.7874%2017.1841C43.6924%2017.3568%2044.6291%2017.1657%2045.3941%2016.6523C46.1591%2016.1389%2046.6909%2015.3446%2046.8739%2014.4417C47.057%2013.5388%2046.8766%2012.6001%2046.3719%2011.8293C45.8673%2011.0586%2045.079%2010.5178%2044.1782%2010.3245C37.2974%208.9257%2030.149%209.78077%2023.7924%2012.7629C17.4358%2015.7451%2012.2092%2020.6957%208.88737%2026.8809C5.56549%2033.0662%204.32506%2040.157%205.3499%2047.1025C6.37474%2054.0479%209.61032%2060.4785%2014.5771%2065.441C19.5439%2070.4035%2025.9776%2073.634%2032.9247%2074.6536C39.8718%2075.6733%2046.9626%2074.4278%2053.1462%2071.1018C59.3298%2067.7758%2064.2771%2062.5463%2067.255%2056.1883C70.2329%2049.8303%2071.0828%2042.6822%2069.6789%2035.8033C69.4938%2034.8937%2068.9549%2034.0948%2068.1808%2033.5824C67.4066%2033.07%2066.4606%2032.8861%2065.5509%2033.0711C64.6411%2033.2561%2063.8421%2033.7949%2063.3297%2034.569C62.8172%2035.343%2062.6333%2036.2889%2062.8183%2037.1986C63.1575%2038.8567%2063.3286%2040.5693%2063.3317%2042.3363C63.3317%2049.1433%2060.6273%2055.6714%2055.8135%2060.4846C50.9997%2065.2978%2044.4707%2068.0018%2037.663%2068.0018C30.8552%2068.0018%2024.3263%2065.2978%2019.5124%2060.4846C14.6986%2055.6714%2011.9943%2049.1433%2011.9943%2042.3363ZM37.0283%2030.6889C37.9553%2030.6394%2038.8248%2030.2236%2039.4454%2029.5332C40.0659%2028.8427%2040.3867%2027.934%2040.3372%2027.007C40.2877%2026.0801%2039.8719%2025.2107%2039.1813%2024.5902C38.4908%2023.9698%2037.582%2023.649%2036.6549%2023.6985C33.0703%2023.8917%2029.6173%2025.1141%2026.7099%2027.2195C23.8024%2029.3248%2021.5636%2032.2237%2020.2619%2035.5687C18.9602%2038.9138%2018.6506%2042.5633%2019.3704%2046.0798C20.0901%2049.5963%2021.8087%2052.8307%2024.32%2055.3955C26.8314%2057.9603%2030.0291%2059.7467%2033.53%2060.5407C37.0309%2061.3347%2040.6866%2061.1026%2044.0589%2059.8721C47.4312%2058.6417%2050.3772%2056.4651%2052.5439%2053.6033C54.7106%2050.7414%2056.0061%2047.3156%2056.2751%2043.7363C56.3438%2042.8105%2056.0419%2041.8954%2055.4358%2041.1923C54.8297%2040.4891%2053.9691%2040.0555%2053.0432%2039.9868C52.1173%2039.9181%2051.2021%2040.22%2050.4989%2040.826C49.7956%2041.432%2049.3619%2042.2926%2049.2932%2043.2183C49.123%2045.4542%2048.3119%2047.5937%2046.9571%2049.3806C45.6023%2051.1675%2043.7611%2052.5261%2041.654%2053.2938C39.5469%2054.0616%2037.2631%2054.2058%2035.0761%2053.7094C32.8892%2053.2129%2030.8916%2052.0968%2029.3226%2050.4946C27.7536%2048.8924%2026.6797%2046.872%2026.2293%2044.6754C25.779%2042.4787%2025.9714%2040.1988%2026.7834%2038.1086C27.5955%2036.0184%2028.9928%2034.2064%2030.808%2032.8897C32.6233%2031.573%2034.7797%2030.8073%2037.0189%2030.6842'%20fill='black'/%3e%3c/svg%3e",to="data:image/svg+xml,%3csvg%20width='80'%20height='80'%20viewBox='0%200%2080%2080'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M34.6992%2072.0042C36.0297%2073.3347%2037.63%2074%2039.5%2074C41.3723%2074.0023%2042.9737%2073.337%2044.3042%2072.0042C45.6347%2070.6714%2046.3%2069.07%2046.3%2067.2H32.7C32.7023%2069.0723%2033.3687%2070.6737%2034.6992%2072.0042ZM26.8792%2062.8208C27.5297%2063.4736%2028.3367%2063.8%2029.3%2063.8H49.7C50.6633%2063.8045%2051.4703%2063.4793%2052.1208%2062.8242C52.7713%2062.1691%2053.0977%2061.3611%2053.1%2060.4C53.1023%2059.4389%2052.777%2058.632%2052.1242%2057.9792C51.4714%2057.3264%2050.6633%2057%2049.7%2057H29.3C28.3412%2057%2027.5343%2057.3264%2026.8792%2057.9792C26.2241%2058.632%2025.8977%2059.4389%2025.9%2060.4C25.9023%2061.3611%2026.2287%2062.168%2026.8792%2062.8208ZM17.4408%2044.25C19.7369%2048.16%2022.84%2051.2767%2026.75%2053.6H52.25C56.1623%2051.2767%2059.2653%2048.16%2061.5592%2044.25C63.8531%2040.34%2065%2036.09%2065%2031.5C65.0045%2024.4212%2062.5259%2018.4009%2057.5642%2013.4392C52.6025%208.47747%2046.5811%205.99773%2039.5%206C32.4189%206.00227%2026.3987%208.482%2021.4392%2013.4392C16.4797%2018.3964%2014%2024.4167%2014%2031.5C13.9977%2036.09%2015.1447%2040.34%2017.4408%2044.25ZM32.3119%2016.5195C32.3756%2016.3436%2032.6243%2016.3436%2032.688%2016.5195L33.9304%2019.9499C33.9506%2020.0057%2033.9945%2020.0497%2034.0503%2020.0699L37.4808%2021.3122C37.6566%2021.3759%2037.6566%2021.6246%2037.4808%2021.6883L34.0503%2022.9307C33.9945%2022.9509%2033.9506%2022.9948%2033.9304%2023.0506L32.688%2026.481C32.6243%2026.6569%2032.3756%2026.6569%2032.3119%2026.481L31.0696%2023.0506C31.0494%2022.9948%2031.0054%2
1022.9509%2030.9496%2022.9307L27.5192%2021.6883C27.3434%2021.6246%2027.3434%2021.3759%2027.5192%2021.3122L30.9496%2020.0699C31.0054%2020.0497%2031.0494%2020.0057%2031.0696%2019.9499L32.3119%2016.5195ZM44.7029%2018.4846C44.871%2018.067%2045.4623%2018.067%2045.6305%2018.4846L48.9915%2026.831C49.0423%2026.9572%2049.1423%2027.0572%2049.2685%2027.108L57.6149%2030.4691C58.0325%2030.6372%2058.0325%2031.2285%2057.6149%2031.3967L49.2685%2034.7577C49.1423%2034.8085%2049.0423%2034.9085%2048.9915%2035.0347L45.6305%2043.3811C45.4623%2043.7987%2044.871%2043.7987%2044.7029%2043.3811L41.3418%2035.0347C41.291%2034.9085%2041.191%2034.8085%2041.0648%2034.7577L32.7184%2031.3967C32.3008%2031.2285%2032.3008%2030.6372%2032.7184%2030.4691L41.0648%2027.108C41.191%2027.0572%2041.291%2026.9572%2041.3418%2026.831L44.7029%2018.4846Z'%20fill='black'/%3e%3c/svg%3e",ao=["onClick"],oo=["src"],lo={class:"name"},so=fe({__name:"Target",props:{modelValue:{default:""},modelModifiers:{}},emits:["update:modelValue"],setup(v){const I=Be(v,"modelValue"),{t:y}=at(),i=O(()=>[{icon:to,name:y("after_upload.target.no_target"),key:"2"},{icon:eo,name:y("after_upload.target.have_target"),key:"1"}]);return(C,b)=>(g(!0),P(oe,null,Ce(l(i),f=>(g(),P("div",{key:f.key,class:se(["target-card",{active:I.value===f.key}]),onClick:m=>I.value=f.key},[_("img",{class:"icon",src:f.icon,alt:""},null,8,oo),_("div",lo,W(f.name),1)],10,ao))),128))}}),no=Me(so,[["__scopeId","data-v-57887165"]]),ro={class:"dynamic-cascader"},io=["value"],co={class:"dynamic-cascader__label"},uo=fe({__name:"DynamicCascader",props:He({options:{}},{modelValue:{default:[]},modelModifiers:{}}),emits:["update:modelValue"],setup(v){const I=Be(v,"modelValue"),y=v,i=O(()=>I.value.map(s=>{var E;return((E=y.options)==null?void 0:E.find(t=>t.value===s))??{label:s,value:s}}));function C(s){const d=I.value.findIndex(E=>E===s.value);~d&&I.value.splice(d,1)}const b=U(!0);function f(s){s&&(I.value.find(d=>d===s)||I.value.push(s)),b.value=!1}const m={emitPath:!1};function u(s,d){return s.text.toLocaleLowerCase().includes(d.toLocaleLowerCase())}return(s,d)=>{const E=Ue,t=Va;return g(),P("div",ro,[(g(!0),P(oe,null,Ce(l(i),M=>(g(),P("div",{class:"dynamic-cascader__item",key:M.value,value:M.value,border:""},[_("div",co,W(M.label),1),j(E,{circle:"",icon:l(Zt),size:"small",style:{color:"black",marginLeft:"5px",fontSize:"16px"},onClick:De(be=>C(M),["stop"])},null,8,["icon","onClick"])],8,io))),128)),l(b)?(g(),ae(t,{key:0,class:"dynamic-cascader__cascader",onChange:f,size:"large",filterable:"",props:m,options:s.options,"filter-method":u,"fallback-placements":["bottom-start","bottom-end","bottom","top-start","top-end","top"]},null,8,["options"])):_e("",!0),j(E,{class:"dynamic-cascader__add",size:"large",onClick:d[0]||(d[0]=M=>b.value=!0)},{default:R(()=>[Fe(" +"+W(s.$t("common.add")),1)]),_:1})])}}}),fo=Me(uo,[["__scopeId","data-v-b7b9bd36"]]),po=fe({__name:"Info",props:He({country:{}},{modelValue:{default:{job_title:[],job_type:[],company:""}},modelModifiers:{}}),emits:["update:modelValue"],setup(v){const I=Be(v,"modelValue"),y=v,{t:i}=at(),C=O(()=>[{label:i("common.full_time"),value:"full_time"},{label:i("common.internship"),value:"internship"},{label:i("common.part_time"),value:"part_time"}]),b=O(()=>{const f=y.country==="cn"?_a:Ca;return Object.entries(f).map(([m,u])=>({label:m,value:m,children:u==null?void 0:u.map(s=>({label:s,value:s}))}))});return(f,m)=>{const u=Gt,s=ha,d=va,E=Kt;return g(),ae(E,{"label-position":"top",style:{"margin-top":"40px"}},{default:R(()=>[j(u,{label:f.$t("after_upload.info.job_title"),required:""},{default:R(()=>[j(fo,{modelValue:I.value.job_title,"onUpdate:modelValue":m[0]||(m[0]=t=>I.value.job_title=t),options:l(b)},null,8,["modelValue","options"])]),_:1},8,["label"]),j(u,{label:f.$t("after_upload.info.job_type"),required:""},{default:R(()=>[j(d,{class:"info__checkbox",modelValue:I.value.job_type,"onUpdate:modelValue":m[1]||(m[1]=t=>I.value.job_type=t)},{default:R(()=>[(g(!0),P(oe,null,Ce(l(C),t=>(g(),ae(s,{key:t.value,label:t.label,value:t.value,size:"large",border:""},{default:R(()=>[Fe(W(t.label),1)]),_:2},1032,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1},8,["label"])]),_:1})}}}),vo=Me(po,[["__scopeId","data-v-febc0257"]]),ho="data:image/svg+xml,%3csvg%20width='30'%20height='31'%20viewBox='0%200%2030%2031'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3crect%20x='5'%20y='4'%20width='13'%20height='24'%20rx='1'%20stroke='black'%20stroke-width='2'/%3e%3cpath%20d='M10%2014C10.5523%2014%2011%2013.5523%2011%2013C11%2012.4477%2010.5523%2012%2010%2012V14ZM10%2012H6V14H10V12Z'%20fill='black'/%3e%3cpath%20d='M10%2020C10.5523%2020%2011%2019.5523%2011%2019C11%2018.4477%2010.5523%2018%2010%2018V20ZM10%2018H6V20H10V18Z'%20fill='black'/%3e%3cpath%20d='M2%2028H28'%20stroke='black'%20stroke-width='2'%20stroke-linecap='round'/%3e%3cpath%20d='M25.4952%2013.2723L19.4952%209.85227C18.8286%209.47227%2018%209.9537%2018%2010.721V27C18%2027.5523%2018.4477%2028%2019%2028H25C25.5523%2028%2026%2027.5523%2026%2027V14.141C26%2013.7818%2025.8073%2013.4502%2
1025.4952%2013.2723Z'%20stroke='black'%20stroke-width='2'/%3e%3c/svg%3e",mo="data:image/svg+xml,%3csvg%20width='30'%20height='30'%20viewBox='0%200%2030%2030'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3crect%20x='1.5'%20y='8'%20width='27'%20height='19.5'%20rx='2'%20stroke='black'%20stroke-width='2'/%3e%3cpath%20d='M19.5%208V4.5C19.5%203.94772%2019.0523%203.5%2018.5%203.5H11.5C10.9477%203.5%2010.5%203.94772%2010.5%204.5V8'%20stroke='black'%20stroke-width='2'/%3e%3cpath%20d='M5.25%2013.25C6.5%2014%2010.2%2015.5%2015%2015.5C19.8%2015.5%2023%2014%2024%2013.25'%20stroke='black'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e";var ht={exports:{}};/*! 2 * wordcloud2.js 3 * http://timdream.org/wordcloud2.js/ 4 * 5 * Copyright 2011 - 2019 Tim Guan-tin Chien and contributors. 6 * Released under the MIT license 7 */(function(v){window.setImmediate||(window.setImmediate=function(){return window.msSetImmediate||window.webkitSetImmediate||window.mozSetImmediate||window.oSetImmediate||function(){if(!window.postMessage||!window.addEventListener)return null;var i=[void 0],C="zero-timeout-message",b=function(m){var u=i.length;return i.push(m),window.postMessage(C+u.toString(36),"*"),u};return window.addEventListener("message",function(m){if(!(typeof m.data!="string"||m.data.substr(0,C.length)!==C)){m.stopImmediatePropagation();var u=parseInt(m.data.substr(C.length),36);i[u]&&(i[u](),i[u]=void 0)}},!0),window.clearImmediate=function(m){i[m]&&(i[m]=void 0)},b}()||function(i){window.setTimeout(i,0)}}()),window.clearImmediate||(window.clearImmediate=function(){return window.msClearImmediate||window.webkitClearImmediate||window.mozClearImmediate||window.oClearImmediate||function(i){window.clearTimeout(i)}}()),function(I){var y=function(){var s=document.createElement("canvas");if(!s||!s.getContext)return!1;var d=s.getContext("2d");return!(!d||!d.getImageData||!d.fillText||!Array.prototype.some||!Array.prototype.push)}(),i=function(){if(y){for(var s=document.createElement("canvas").getContext("2d"),d=20,E,t;d;){if(s.font=d.toString(10)+"px sans-serif",s.measureText("ï¼·").width===E&&s.measureText("m").width===t)return d+1;E=s.measureText("ï¼·").width,t=s.measureText("m").width,d--}return 0}}(),C=function(u){if(Array.isArray(u)){var s=u.slice();return s.splice(0,2),s}else return[]},b=function(s){for(var d,E,t=s.length;t;)d=Math.floor(Math.random()*t),E=s[--t],s[t]=s[d],s[d]=E;return s},f={},m=function(s,d){if(!y)return;var E=Math.floor(Math.random()*Date.now());Array.isArray(s)||(s=[s]),s.forEach(function(w,a){if(typeof w=="string"){if(s[a]=document.getElementById(w),!s[a])throw new Error("The element id specified is not found.")}else if(!w.tagName&&!w.appendChild)throw new Error("You must pass valid HTML elements, or ID of the element.")});var t={list:[],fontFamily:'"Trebuchet MS", "Heiti TC", "å¾®è»æ£é»é«", "Arial Unicode MS", "Droid Fallback Sans", sans-serif',fontWeight:"normal",color:"random-dark",minSize:0,weightFactor:1,clearCanvas:!0,backgroundColor:"#fff",gridSize:8,drawOutOfBound:!1,shrinkToFit:!1,origin:null,drawMask:!1,maskColor:"rgba(255,0,0,0.3)",maskGapWidth:.3,wait:0,abortThreshold:0,abort:function(){},minRotation:-Math.PI/2,maxRotation:Math.PI/2,rotationSteps:0,shuffle:!0,rotateRatio:.1,shape:"circle",ellipticity:.65,classes:null,hover:null,click:null};if(d)for(var M in d)M in t&&(t[M]=d[M]);if(typeof t.weightFactor!="function"){var be=t.weightFactor;t.weightFactor=function(a){return a*be}}if(typeof t.shape!="function")switch(t.shape){case"circle":default:t.shape="circle";break;
7case"cardioid":t.shape=function(a){return 1-Math.sin(a)};break;case"diamond":t.shape=function(a){var r=a%(2*Math.PI/4);return 1/(Math.cos(r)+Math.sin(r))};break;case"square":t.shape=function(a){return Math.min(1/Math.abs(Math.cos(a)),1/Math.abs(Math.sin(a)))};break;case"triangle-forward":t.shape=function(a){var r=a%(2*Math.PI/3);return 1/(Math.cos(r)+Math.sqrt(3)*Math.sin(r))};break;case"triangle":case"triangle-upright":t.shape=function(a){var r=(a+Math.PI*3/2)%(2*Math.PI/3);return 1/(Math.cos(r)+Math.sqrt(3)*Math.sin(r))};break;case"pentagon":t.shape=function(a){var r=(a+.955)%(2*Math.PI/5);return 1/(Math.cos(r)+.726543*Math.sin(r))};break;case"star":t.shape=function(a){var r=(a+.955)%(2*Math.PI/10);return(a+.955)%(2*Math.PI/5)-2*Math.PI/10>=0?1/(Math.cos(2*Math.PI/10-r)+3.07768*Math.sin(2*Math.PI/10-r)):1/(Math.cos(r)+3.07768*Math.sin(r))};break}t.gridSize=Math.max(Math.floor(t.gridSize),4);var p=t.gridSize,G=p-t.maskGapWidth,x=Math.abs(t.maxRotation-t.minRotation),ne=Math.abs(Math.floor(t.rotationSteps)),X=Math.min(t.maxRotation,t.minRotation),J,T,Y,pe,ie,ve,me;function $e(w,a){return"hsl("+(Math.random()*360).toFixed()+","+(Math.random()*30+70).toFixed()+"%,"+(Math.random()*(a-w)+w).toFixed()+"%)"}switch(t.color){case"random-dark":me=function(){return $e(10,50)};break;case"random-light":me=function(){return $e(50,90)};break;default:typeof t.color=="function"&&(me=t.color);break}var he;typeof t.fontWeight=="function"&&(he=t.fontWeight);var Pe=null;typeof t.classes=="function"&&(Pe=t.classes);var ce=!1,Ie=[],Le,Te=function(a){var r=a.currentTarget,c=r.getBoundingClientRect(),k,h;a.touches?(k=a.touches[0].clientX,h=a.touches[0].clientY):(k=a.clientX,h=a.clientY);var S=k-c.left,V=h-c.top,H=Math.floor(S*(r.width/c.width||1)/p),F=Math.floor(V*(r.height/c.height||1)/p);return Ie[H][F]},ze=function(a){var r=Te(a);if(Le!==r){if(Le=r,!r){t.hover(void 0,void 0,a);return}t.hover(r.item,r.dimension,a)}},de=function(a){var r=Te(a);r&&(t.click(r.item,r.dimension,a),a.preventDefault())},Se=[],We=function(a){if(Se[a])return Se[a];var r=a*8,c=r,k=[];for(a===0&&k.push([pe[0],pe[1],0]);c--;){var h=1;t.shape!=="circle"&&(h=t.shape(c/r*2*Math.PI)),k.push([pe[0]+a*h*Math.cos(-c/r*2*Math.PI),pe[1]+a*h*Math.sin(-c/r*2*Math.PI)*t.ellipticity,c/r*2*Math.PI])}return Se[a]=k,k},we=function(){return t.abortThreshold>0&&new Date().getTime()-ve>t.abortThreshold},qe=function(){return t.rotateRatio===0||Math.random()>t.rotateRatio?0:x===0?X:ne>0?X+Math.floor(Math.random()*ne)*x/(ne-1):X+Math.random()*x},Re=function(a,r,c,k){var h=t.weightFactor(r);if(h<=t.minSize)return!1;var S=1;h<i&&(S=function(){for(var Xe=2;Xe*h<i;)Xe+=2;return Xe}());var V;he?V=he(a,r,h,k):V=t.fontWeight;var H=document.createElement("canvas"),F=H.getContext("2d",{willReadFrequently:!0});F.font=V+" "+(h*S).toString(10)+"px "+t.fontFamily;var D=F.measureText(a).width/S,L=Math.max(h*S,F.measureText("m").width,F.measureText("ï¼·").width)/S,A=D+L*2,N=L*3,q=Math.ceil(A/p),te=Math.ceil(N/p);A=q*p,N=te*p;var z=-D/2,B=-L*.4,Z=Math.ceil((A*Math.abs(Math.sin(c))+N*Math.abs(Math.cos(c)))/p),Q=Math.ceil((A*Math.abs(Math.cos(c))+N*Math.abs(Math.sin(c)))/p),ue=Q*p,ge=Z*p;H.setAttribute("width",ue),H.setAttribute("height",ge),F.scale(1/S,1/S),F.translate(ue*S/2,ge*S/2),F.rotate(-c),F.font=V+" "+(h*S).toString(10)+"px "+t.fontFamily,F.fillStyle="#000",F.textBaseline="middle",F.fillText(a,z*S,(B+h*.5)*S);var e=F.getImageData(0,0,ue,ge).data;if(we())return!1;for(var o=[],n=Q,$,re,le,K=[Z/2,Q/2,Z/2,Q/2];n--;)for($=Z;$--;){le=p;e:for(;le--;)for(re=p;re--;)if(e[(($*p+le)*ue+(n*p+re))*4+3]){o.push([n,$]),n<K[3]&&(K[3]=n),n>K[1]&&(K[1]=n),$<K[0]&&(K[0]=$),$>K[2]&&(K[2]=$);break e}}return{mu:S,occupied:o,bounds:K,gw:Q,gh:Z,fillTextOffsetX:z,fillTextOffsetY:B,fillTextWidth:D,fillTextHeight:L,fontSize:h}},Ze=function(a,r,c,k,h){for(var S=h.length;S--;){var V=a+h[S][0],H=r+h[S][1];if(V>=T||H>=Y||V<0||H<0){if(!t.drawOutOfBound)return!1;continue}if(!J[V][H])return!1}return!0},je=function(a,r,c,k,h,S,V,H,F,D){var L=c.fontSize,A;me?A=me(k,h,L,S,V,D):A=t.color;var N;he?N=he(k,h,L,D):N=t.fontWeight;var q;
7Pe?q=Pe(k,h,L,D):q=t.classes,s.forEach(function(te){if(te.getContext){var z=te.getContext("2d"),B=c.mu;z.save(),z.scale(1/B,1/B),z.font=N+" "+(L*B).toString(10)+"px "+t.fontFamily,z.fillStyle=A,z.translate((a+c.gw/2)*p*B,(r+c.gh/2)*p*B),H!==0&&z.rotate(-H),z.textBaseline="middle",z.fillText(k,c.fillTextOffsetX*B,(c.fillTextOffsetY+L*.5)*B),z.restore()}else{var Z=document.createElement("span"),Q="";Q="rotate("+-H/Math.PI*180+"deg) ",c.mu!==1&&(Q+="translateX(-"+c.fillTextWidth/4+"px) scale("+1/c.mu+")");var ue={position:"absolute",display:"block",font:N+" "+L*c.mu+"px "+t.fontFamily,left:(a+c.gw/2)*p+c.fillTextOffsetX+"px",top:(r+c.gh/2)*p+c.fillTextOffsetY+"px",width:c.fillTextWidth+"px",height:c.fillTextHeight+"px",lineHeight:L+"px",whiteSpace:"nowrap",transform:Q,webkitTransform:Q,msTransform:Q,transformOrigin:"50% 40%",webkitTransformOrigin:"50% 40%",msTransformOrigin:"50% 40%"};A&&(ue.color=A),Z.textContent=k;for(var ge in ue)Z.style[ge]=ue[ge];if(F)for(var e in F)Z.setAttribute(e,F[e]);q&&(Z.className+=q),te.appendChild(Z)}})},Ge=function(a,r,c,k,h){if(!(a>=T||r>=Y||a<0||r<0)){if(J[a][r]=!1,c){var S=s[0].getContext("2d");S.fillRect(a*p,r*p,G,G)}ce&&(Ie[a][r]={item:h,dimension:k})}},Ke=function(a,r,c,k,h,S){var V=h.occupied,H=t.drawMask,F;H&&(F=s[0].getContext("2d"),F.save(),F.fillStyle=t.maskColor);var D;if(ce){var L=h.bounds;D={x:(a+L[3])*p,y:(r+L[0])*p,w:(L[1]-L[3]+1)*p,h:(L[2]-L[0]+1)*p}}for(var A=V.length;A--;){var N=a+V[A][0],q=r+V[A][1];N>=T||q>=Y||N<0||q<0||Ge(N,q,H,D,S)}H&&F.restore()},Ye=function w(a){var r,c,k;Array.isArray(a)?(r=a[0],c=a[1]):(r=a.word,c=a.weight,k=a.attributes);var h=qe(),S=C(a),V=Re(r,c,h,S);if(!V||we())return!1;if(!t.drawOutOfBound&&!t.shrinkToFit){var H=V.bounds;if(H[1]-H[3]+1>T||H[2]-H[0]+1>Y)return!1}for(var F=ie+1,D=function(N){var q=Math.floor(N[0]-V.gw/2),te=Math.floor(N[1]-V.gh/2),z=V.gw,B=V.gh;return Ze(q,te,z,B,V.occupied)?(je(q,te,V,r,c,ie-F,N[2],h,k,S),Ke(q,te,z,B,V,a),!0):!1};F--;){var L=We(ie-F);t.shuffle&&(L=[].concat(L),b(L));var A=L.some(D);if(A)return!0}return t.shrinkToFit?(Array.isArray(a)?a[1]=a[1]*3/4:a.weight=a.weight*3/4,w(a)):!1},ke=function(a,r,c){if(r)return!s.some(function(k){var h=new CustomEvent(a,{detail:c||{}});return!k.dispatchEvent(h)},this);s.forEach(function(k){var h=new CustomEvent(a,{detail:c||{}});k.dispatchEvent(h)},this)},ee=function(){var a=s[0];if(a.getContext)T=Math.ceil(a.width/p),Y=Math.ceil(a.height/p);else{var r=a.getBoundingClientRect();T=Math.ceil(r.width/p),Y=Math.ceil(r.height/p)}if(ke("wordcloudstart",!0)){pe=t.origin?[t.origin[0]/p,t.origin[1]/p]:[T/2,Y/2],ie=Math.floor(Math.sqrt(T*T+Y*Y)),J=[];var c,k,h;if(!a.getContext||t.clearCanvas)for(s.forEach(function(z){if(z.getContext){var B=z.getContext("2d");B.fillStyle=t.backgroundColor,B.clearRect(0,0,T*(p+1),Y*(p+1)),B.fillRect(0,0,T*(p+1),Y*(p+1))}else z.textContent="",z.style.backgroundColor=t.backgroundColor,z.style.position="relative"}),c=T;c--;)for(J[c]=[],k=Y;k--;)J[c][k]=!0;else{var S=document.createElement("canvas").getContext("2d");S.fillStyle=t.backgroundColor,S.fillRect(0,0,1,1);var V=S.getImageData(0,0,1,1).data,H=a.getContext("2d").getImageData(0,0,T*p,Y*p).data;c=T;for(var F,D;c--;)for(J[c]=[],k=Y;k--;){D=p;e:for(;D--;)for(F=p;F--;)for(h=4;h--;)if(H[((k*p+D)*T*p+(c*p+F))*4+h]!==V[h]){J[c][k]=!1;break e}J[c][k]!==!1&&(J[c][k]=!0)}H=S=V=void 0}if(t.hover||t.click){for(ce=!0,c=T+1;c--;)Ie[c]=[];t.hover&&a.addEventListener("mousemove",ze),t.click&&(a.addEventListener("click",de),a.style.webkitTapHighlightColor="rgba(0, 0, 0, 0)"),a.addEventListener("wordcloudstart",function z(){a.removeEventListener("wordcloudstart",z),a.removeEventListener("mousemove",ze),a.removeEventListener("click",de),Le=void 0})}h=0;var L,A;t.wait!==0?(L=window.setTimeout,A=window.clearTimeout):(L=window.setImmediate,A=window.clearImmediate);var N=function(B,Z){s.forEach(function(Q){Q.addEventListener(B,Z)},this)},q=function(B,Z){s.forEach(function(Q){Q.removeEventListener(B,Z)},this)},te=function z(){q("wordcloudstart",z),A(f[E])};N("wordcloudstart",te),f[E]=L(function z(){if(h>=t.list.length){A(f[E]),ke("wordcloudstop",!1),q("wordcloudstart",te),delete f[E];return}ve=new Date().getTime();var B=Ye(t.list[h]),Z=!ke("wordclouddrawn",!0,{item:t.list[h],drawn:B});if(we()||Z){A(f[E]),t.abort(),ke("wordcloudabort",!1),ke("wordcloudstop",!1),q("wordcloudstart",te),delete f[E];return}
7h++,f[E]=L(z,t.wait)},t.wait)}};ee()};m.isSupported=y,m.minFontSize=i,m.stop=function(){if(f)for(var s in f)window.clearImmediate(f[s])},v.exports?v.exports=m:I.WordCloud=m}(Yt)})(ht);var go=ht.exports;const _o=Xt(go),Co=fe({__name:"WordCloud",props:{list:{}},setup(v){const I=v,y=U(null);return Je(()=>{const i=y.value;if(!i)return;i.width=i.offsetWidth,i.height=i.offsetHeight;const C=I.list,b=Math.min(...C.map(({weight:s})=>s)),f=Math.max(...C.map(({weight:s})=>s)),m=C.map(({name:s,weight:d})=>[s,10+Math.floor((d-b)/(f-b)*40)]).sort((s,d)=>d[1]-s[1]).slice(0,40);function u(s,d){return"hsl("+(Math.random()*360).toFixed()+","+(Math.random()*50+50).toFixed()+"%,"+(Math.random()*(d-s)+s).toFixed()+"%)"}_o(i,{shrinkToFit:!0,minRotation:0,maxRotation:0,shape:"square",fontFamily:"Inter, Pingfang SC, Microsoft Yahei, sans-serif",backgroundColor:"transparent",gridSize:10,shuffle:!0,color:()=>u(10,30),list:m})}),(i,C)=>(g(),P("div",{ref_key:"canvasRef",ref:y},null,512))}}),mt=v=>(et("data-v-35edf72d"),v=v(),tt(),v),bo={style:{overflow:"hidden"}},wo={class:"result__checkbox"},ko={class:"total-card"},yo=mt(()=>_("img",{class:"icon",src:ho,alt:""},null,-1)),Mo={class:"title"},To={class:"desc"},xo={class:"total-card"},$o=mt(()=>_("img",{class:"icon",src:mo,alt:""},null,-1)),Io={class:"title"},So={class:"desc"},Eo={class:"wordcloud-wrapper"},Vo={class:"wordcloud-box"},Fo={class:"wordcloud-title"},Po={class:"wordcloud-container"},Lo=fe({__name:"Result",props:{data:{}},setup(v){const I=v,y=O(()=>{var C,b;return(b=(C=I.data)==null?void 0:C.similar_job_title)==null?void 0:b.map(f=>({label:f,value:f}))}),i=O(()=>{var C;return((C=I.data)==null?void 0:C.skill_heat_map)??[]});return(C,b)=>{var s;const f=ut,m=pt,u=ft;return g(),P(oe,null,[(s=l(y))!=null&&s.length?(g(),ae(f,{key:0,"max-height":"165px"},{default:R(()=>[_("div",bo,[_("div",wo,[(g(!0),P(oe,null,Ce(l(y),d=>(g(),P("div",{class:"result__checkbox-item",key:d.value,span:12},W(d.label),1))),128))])])]),_:1})):_e("",!0),j(u,{class:"total-card-line",gutter:20,style:{"margin-top":"30px"}},{default:R(()=>[j(m,{span:12},{default:R(()=>{var d;return[_("div",ko,[yo,_("div",Mo,[_("b",null,W(((d=C.data)==null?void 0:d.number_of_company)??0)+"+",1),Fe(" "+W(C.$t("after_upload.result.companies")),1)]),_("div",To,W(C.$t("after_upload.result.company_title")),1)])]}),_:1}),j(m,{span:12},{default:R(()=>{var d;return[_("div",xo,[$o,_("div",Io,[_("b",null,W(((d=C.data)==null?void 0:d.number_of_job)??0)+"+",1),Fe(" "+W(C.$t("after_upload.result.jobs")),1)]),_("div",So,W(C.$t("after_upload.result.job_title")),1)])]}),_:1})]),_:1}),_("div",Eo,[_("div",Vo,[_("div",Fo,W(C.$t("after_upload.result.hot_skills")),1),_("div",Po,[j(Co,{class:"wordcloud",list:l(i)},null,8,["list"])])])])],64)}}}),zo=Me(Lo,[["__scopeId","data-v-35edf72d"]]),Ro=v=>(et("data-v-9c16f235"),v=v(),tt(),v),jo={class:"after-upload"},Ho=Ro(()=>_("div",{class:"after-upload__background"},null,-1)),Bo={class:"after-upload__box"},Wo={key:0,class:"after-upload__body"},Ao={class:"after-upload__title"},Oo={class:"after-upload__title"},Do={class:"after-upload__title"},No={class:"after-upload__title"},Uo=fe({__name:"index",setup(v){const I=Qt(),y=dt(),i=Jt(),C=na();Je(()=>I.setBackgroundColor("white")),ea(()=>I.setBackgroundColor(""));const{data:b,loading:f,error:m}=ta(async()=>{const{data:G}=await pa({id:C.id},{loading:!1});return G}),u=U("");Ve(b,G=>{var x;u.value=((x=Qe.find(ne=>ne.lang===(G==null?void 0:G.lang)))==null?void 0:x.key)??Qe[0].key});const s=U("2"),d=aa({job_title:[],job_type:[],company:""}),E=U([]),t=U(),M=U(1);async function be(){var G;switch(M.value){case 2:if(d.job_title=[],s.value==="2"){E.value=[],await p();return}break;case 3:const{data:x}=await ba({country:u.value,job_title_list:d.job_title,position_type_list:d.job_type,company_name:d.company});if(t.value=x,E.value=[],!((G=x==null?void 0:x.similar_job_title)!=null&&G.length)){await p();return}break;case 4:await p();return}M.value+=1}async function p(){await wa({file_id:C.id,country:u.value,job_title_list:d.job_title,position_type_list:d.job_type,company_name:d.company,is_default_location:!0}
7),y.push({path:"/resume/upload-loading",query:{from:i.query.from}})}return(G,x)=>{var ne,X,J;return g(),P("div",jo,[Ho,j(Oa,{step:l(M),jobs:l(d).job_title},null,8,["step","jobs"]),_("div",Bo,[!l(f)&&!l(m)?(g(),P("div",Wo,[l(M)===1?(g(),P(oe,{key:0},[_("div",Ao,W(G.$t("after_upload.country.title")),1),j(Ja,{modelValue:l(u),"onUpdate:modelValue":x[0]||(x[0]=T=>xe(u)?u.value=T:null),lang:(ne=l(b))==null?void 0:ne.lang},null,8,["modelValue","lang"])],64)):l(M)===2?(g(),P(oe,{key:1},[_("div",Oo,W(G.$t("after_upload.target.title")),1),j(no,{modelValue:l(s),"onUpdate:modelValue":x[1]||(x[1]=T=>xe(s)?s.value=T:null)},null,8,["modelValue"])],64)):l(M)===3?(g(),P(oe,{key:2},[_("div",Do,W(G.$t("after_upload.info.title")),1),j(vo,{modelValue:l(d),"onUpdate:modelValue":x[2]||(x[2]=T=>xe(d)?d.value=T:null),country:l(u)},null,8,["modelValue","country"])],64)):l(M)===4?(g(),P(oe,{key:3},[_("div",No,W(G.$t("after_upload.result.title")),1),j(zo,{modelValue:l(E),"onUpdate:modelValue":x[3]||(x[3]=T=>xe(E)?E.value=T:null),data:l(t)},null,8,["modelValue","data"])],64)):_e("",!0)])):_e("",!0),j(Za,{modelValue:l(M),"onUpdate:modelValue":x[4]||(x[4]=T=>xe(M)?M.value=T:null),total:4,onPrev:x[5]||(x[5]=T=>M.value=T),onNext:be,disabled:l(M)===3?!((X=l(d).job_title)!=null&&X.length&&((J=l(d).job_type)!=null&&J.length)):!1},null,8,["modelValue","disabled"])])])}}}),ll=Me(Uo,[["__scopeId","data-v-9c16f235"]]);export{ll 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.