@genpact/genome.mfe.v6-app 1.0.834-alpha → 1.0.835-alpha
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{AddPrompt-ce406f85.mjs → AddPrompt-3eb833ea.mjs} +5 -5
- package/dist/{Admin-15a51038.mjs → Admin-bdb49ec9.mjs} +4 -4
- package/dist/{AlertPopup-8cf2cffb.mjs → AlertPopup-d8a108e5.mjs} +1 -1
- package/dist/{Header-06bb8458.mjs → Header-bd17cb1d.mjs} +3 -3
- package/dist/{HomeView-05996322.mjs → HomeView-9864d071.mjs} +3 -3
- package/dist/{Loader-2c097dae.mjs → Loader-0add8f72.mjs} +1 -1
- package/dist/{Loading-912667f2.mjs → Loading-6bb43e78.mjs} +1 -1
- package/dist/{ModalComp-d861ac51.mjs → ModalComp-ed91d60a.mjs} +1 -1
- package/dist/{NewQuestion-f408ca25.mjs → NewQuestion-580b644a.mjs} +2 -2
- package/dist/{PopupComponent-cc0ac868.mjs → PopupComponent-8b8a5c2f.mjs} +2 -2
- package/dist/{Prompt-ca304aa9.mjs → Prompt-c7a38d3c.mjs} +5 -5
- package/dist/{PromptDetails-938a4ff0.mjs → PromptDetails-81f67d4e.mjs} +5 -5
- package/dist/{PromptExecutionStatus-b437f300.mjs → PromptExecutionStatus-24e7ce7c.mjs} +2 -2
- package/dist/{PromptPastExecutions-eb1b51f6.mjs → PromptPastExecutions-3232a46c.mjs} +5 -5
- package/dist/{PromptTesting-52e6d518.mjs → PromptTesting-8d76f6a5.mjs} +1 -1
- package/dist/{SkillshareprofileComponent-13af8088.mjs → SkillshareprofileComponent-2cf5820a.mjs} +2 -2
- package/dist/{Taleo-25e8a711.mjs → Taleo-7edb0c0e.mjs} +5 -5
- package/dist/{UnderMaintenance-5eecf16c.mjs → UnderMaintenance-6dce3b45.mjs} +1 -1
- package/dist/{UnderMaintenance-3d9acbfb.mjs → UnderMaintenance-f494c06d.mjs} +1 -1
- package/dist/{Version6-d37dcd46.mjs → Version6-fd01f862.mjs} +22 -22
- package/dist/{delphi_utils-46030472.mjs → delphi_utils-ac08d8c7.mjs} +1 -1
- package/dist/{index-9d83e5c6.mjs → index-eda1244d.mjs} +1 -1
- package/dist/{index.es-d3cf0839.mjs → index.es-a9a6d686.mjs} +8 -8
- package/dist/{main-2efdcdf6.mjs → main-1ed11f33.mjs} +2278 -2278
- package/dist/{simulation-96f461f0.mjs → simulation-45f8e32c.mjs} +3 -3
- package/dist/{simulation.vue_vue_type_script_setup_true_lang-95b4dccd.mjs → simulation.vue_vue_type_script_setup_true_lang-d12cca4c.mjs} +2 -2
- package/dist/v6.es.min.js +1 -1
- package/dist/v6.umd.min.js +2 -2
- package/package.json +1 -1
package/dist/v6.umd.min.js
CHANGED
|
@@ -21,7 +21,7 @@ var rwt=Object.defineProperty;var nwt=(rL,JN,bj)=>JN in rL?rwt(rL,JN,{enumerable
|
|
|
21
21
|
* vue-router v4.5.1
|
|
22
22
|
* (c) 2025 Eduardo San Martin Morote
|
|
23
23
|
* @license MIT
|
|
24
|
-
*/const Lr=typeof document<"u";function tQ(L){return typeof L=="object"||"displayName"in L||"props"in L||"__vccOpts"in L}function EX(L){return L.__esModule||L[Symbol.toStringTag]==="Module"||L.default&&tQ(L.default)}const Mu=Object.assign;function Ux(L,M){const t={};for(const j in M){const u=M[j];t[j]=Me(u)?u.map(L):L(u)}return t}const nD=()=>{},Me=Array.isArray,LQ=/#/g,lX=/&/g,OX=/\//g,dX=/=/g,wX=/\?/g,jQ=/\+/g,fX=/%5B/g,CX=/%5D/g,uQ=/%5E/g,QX=/%60/g,AQ=/%7B/g,UX=/%7C/g,NQ=/%7D/g,hX=/%20/g;function hx(L){return encodeURI(""+L).replace(UX,"|").replace(fX,"[").replace(CX,"]")}function YX(L){return hx(L).replace(AQ,"{").replace(NQ,"}").replace(uQ,"^")}function Yx(L){return hx(L).replace(jQ,"%2B").replace(hX,"+").replace(LQ,"%23").replace(lX,"%26").replace(QX,"`").replace(AQ,"{").replace(NQ,"}").replace(uQ,"^")}function vX(L){return Yx(L).replace(dX,"%3D")}function kX(L){return hx(L).replace(LQ,"%23").replace(wX,"%3F")}function pX(L){return L==null?"":kX(L).replace(OX,"%2F")}function DD(L){try{return decodeURIComponent(""+L)}catch{}return""+L}const mX=/\/$/,bX=L=>L.replace(mX,"");function vx(L,M,t="/"){let j,u={},A="",N="";const e=M.indexOf("#");let i=M.indexOf("?");return e<i&&e>=0&&(i=-1),i>-1&&(j=M.slice(0,i),A=M.slice(i+1,e>-1?e:M.length),u=L(A)),e>-1&&(j=j||M.slice(0,e),N=M.slice(e,M.length)),j=HX(j??M,t),{fullPath:j+(A&&"?")+A+N,path:j,query:u,hash:DD(N)}}function PX(L,M){const t=M.query?L(M.query):"";return M.path+(t&&"?")+t+(M.hash||"")}function eQ(L,M){return!M||!L.toLowerCase().startsWith(M.toLowerCase())?L:L.slice(M.length)||"/"}function RX(L,M,t){const j=M.matched.length-1,u=t.matched.length-1;return j>-1&&j===u&&jr(M.matched[j],t.matched[u])&&iQ(M.params,t.params)&&L(M.query)===L(t.query)&&M.hash===t.hash}function jr(L,M){return(L.aliasOf||L)===(M.aliasOf||M)}function iQ(L,M){if(Object.keys(L).length!==Object.keys(M).length)return!1;for(const t in L)if(!BX(L[t],M[t]))return!1;return!0}function BX(L,M){return Me(L)?SQ(L,M):Me(M)?SQ(M,L):L===M}function SQ(L,M){return Me(M)?L.length===M.length&&L.every((t,j)=>t===M[j]):L.length===1&&L[0]===M}function HX(L,M){if(L.startsWith("/"))return L;if(!L)return M;const t=M.split("/"),j=L.split("/"),u=j[j.length-1];(u===".."||u===".")&&j.push("");let A=t.length-1,N,e;for(N=0;N<j.length;N++)if(e=j[N],e!==".")if(e==="..")A>1&&A--;else break;return t.slice(0,A).join("/")+"/"+j.slice(N).join("/")}const C0={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var sD;(function(L){L.pop="pop",L.push="push"})(sD||(sD={}));var TD;(function(L){L.back="back",L.forward="forward",L.unknown=""})(TD||(TD={}));function ZX(L){if(!L)if(Lr){const M=document.querySelector("base");L=M&&M.getAttribute("href")||"/",L=L.replace(/^\w+:\/\/[^\/]+/,"")}else L="/";return L[0]!=="/"&&L[0]!=="#"&&(L="/"+L),bX(L)}const FX=/^[^#]+#/;function XX(L,M){return L.replace(FX,"#")+M}function GX(L,M){const t=document.documentElement.getBoundingClientRect(),j=L.getBoundingClientRect();return{behavior:M.behavior,left:j.left-t.left-(M.left||0),top:j.top-t.top-(M.top||0)}}const Qz=()=>({left:window.scrollX,top:window.scrollY});function WX(L){let M;if("el"in L){const t=L.el,j=typeof t=="string"&&t.startsWith("#"),u=typeof t=="string"?j?document.getElementById(t.slice(1)):document.querySelector(t):t;if(!u)return;M=GX(u,L)}else M=L;"scrollBehavior"in document.documentElement.style?window.scrollTo(M):window.scrollTo(M.left!=null?M.left:window.scrollX,M.top!=null?M.top:window.scrollY)}function yQ(L,M){return(history.state?history.state.position-M:-1)+L}const kx=new Map;function VX(L,M){kx.set(L,M)}function JX(L){const M=kx.get(L);return kx.delete(L),M}let qX=()=>location.protocol+"//"+location.host;function rQ(L,M){const{pathname:t,search:j,hash:u}=M,A=L.indexOf("#");if(A>-1){let e=u.includes(L.slice(A))?L.slice(A).length:1,i=u.slice(e);return i[0]!=="/"&&(i="/"+i),eQ(i,"")}return eQ(t,L)+j+u}function KX(L,M,t,j){let u=[],A=[],N=null;const e=({state:n})=>{const D=rQ(L,location),s=t.value,I=M.value;let T=0;if(n){if(t.value=D,M.value=n,N&&N===s){N=null;return}T=I?n.position-I.position:0}else j(D);u.forEach(c=>{c(t.value,s,{delta:T,type:sD.pop,direction:T?T>0?TD.forward:TD.back:TD.unknown})})};function i(){N=t.value}function S(n){u.push(n);const D=()=>{const s=u.indexOf(n);s>-1&&u.splice(s,1)};return A.push(D),D}function y(){const{history:n}=window;n.state&&n.replaceState(Mu({},n.state,{scroll:Qz()}),"")}function r(){for(const n of A)n();A=[],window.removeEventListener("popstate",e),window.removeEventListener("beforeunload",y)}return window.addEventListener("popstate",e),window.addEventListener("beforeunload",y,{passive:!0}),{pauseListeners:i,listen:S,destroy:r}}function nQ(L,M,t,j=!1,u=!1){return{back:L,current:M,forward:t,replaced:j,position:window.history.length,scroll:u?Qz():null}}function _X(L){const{history:M,location:t}=window,j={value:rQ(L,t)},u={value:M.state};u.value||A(j.value,{back:null,current:j.value,forward:null,position:M.length-1,replaced:!0,scroll:null},!0);function A(i,S,y){const r=L.indexOf("#"),n=r>-1?(t.host&&document.querySelector("base")?L:L.slice(r))+i:qX()+L+i;try{M[y?"replaceState":"pushState"](S,"",n),u.value=S}catch(D){console.error(D),t[y?"replace":"assign"](n)}}function N(i,S){const y=Mu({},M.state,nQ(u.value.back,i,u.value.forward,!0),S,{position:u.value.position});A(i,y,!0),j.value=i}function e(i,S){const y=Mu({},u.value,M.state,{forward:i,scroll:Qz()});A(y.current,y,!0);const r=Mu({},nQ(j.value,i,null),{position:y.position+1},S);A(i,r,!1),j.value=i}return{location:j,state:u,push:e,replace:N}}function $X(L){L=ZX(L);const M=_X(L),t=KX(L,M.state,M.location,M.replace);function j(A,N=!0){N||t.pauseListeners(),history.go(A)}const u=Mu({location:"",base:L,go:j,createHref:XX.bind(null,L)},M,t);return Object.defineProperty(u,"location",{enumerable:!0,get:()=>M.location.value}),Object.defineProperty(u,"state",{enumerable:!0,get:()=>M.state.value}),u}function MG(L){return typeof L=="string"||L&&typeof L=="object"}function DQ(L){return typeof L=="string"||typeof L=="symbol"}const sQ=Symbol("");var TQ;(function(L){L[L.aborted=4]="aborted",L[L.cancelled=8]="cancelled",L[L.duplicated=16]="duplicated"})(TQ||(TQ={}));function ur(L,M){return Mu(new Error,{type:L,[sQ]:!0},M)}function oi(L,M){return L instanceof Error&&sQ in L&&(M==null||!!(L.type&M))}const zQ="[^/]+?",tG={sensitive:!1,strict:!1,start:!0,end:!0},LG=/[.+*?^${}()[\]/\\]/g;function jG(L,M){const t=Mu({},tG,M),j=[];let u=t.start?"^":"";const A=[];for(const S of L){const y=S.length?[]:[90];t.strict&&!S.length&&(u+="/");for(let r=0;r<S.length;r++){const n=S[r];let D=40+(t.sensitive?.25:0);if(n.type===0)r||(u+="/"),u+=n.value.replace(LG,"\\$&"),D+=40;else if(n.type===1){const{value:s,repeatable:I,optional:T,regexp:c}=n;A.push({name:s,repeatable:I,optional:T});const a=c||zQ;if(a!==zQ){D+=10;try{new RegExp(`(${a})`)}catch(o){throw new Error(`Invalid custom RegExp for param "${s}" (${a}): `+o.message)}}let g=I?`((?:${a})(?:/(?:${a}))*)`:`(${a})`;r||(g=T&&S.length<2?`(?:/${g})`:"/"+g),T&&(g+="?"),u+=g,D+=20,T&&(D+=-8),I&&(D+=-20),a===".*"&&(D+=-50)}y.push(D)}j.push(y)}if(t.strict&&t.end){const S=j.length-1;j[S][j[S].length-1]+=.7000000000000001}t.strict||(u+="/?"),t.end?u+="$":t.strict&&!u.endsWith("/")&&(u+="(?:/|$)");const N=new RegExp(u,t.sensitive?"":"i");function e(S){const y=S.match(N),r={};if(!y)return null;for(let n=1;n<y.length;n++){const D=y[n]||"",s=A[n-1];r[s.name]=D&&s.repeatable?D.split("/"):D}return r}function i(S){let y="",r=!1;for(const n of L){(!r||!y.endsWith("/"))&&(y+="/"),r=!1;for(const D of n)if(D.type===0)y+=D.value;else if(D.type===1){const{value:s,repeatable:I,optional:T}=D,c=s in S?S[s]:"";if(Me(c)&&!I)throw new Error(`Provided param "${s}" is an array but it is not repeatable (* or + modifiers)`);const a=Me(c)?c.join("/"):c;if(!a)if(T)n.length<2&&(y.endsWith("/")?y=y.slice(0,-1):r=!0);else throw new Error(`Missing required param "${s}"`);y+=a}}return y||"/"}return{re:N,score:j,keys:A,parse:e,stringify:i}}function uG(L,M){let t=0;for(;t<L.length&&t<M.length;){const j=M[t]-L[t];if(j)return j;t++}return L.length<M.length?L.length===1&&L[0]===40+40?-1:1:L.length>M.length?M.length===1&&M[0]===40+40?1:-1:0}function IQ(L,M){let t=0;const j=L.score,u=M.score;for(;t<j.length&&t<u.length;){const A=uG(j[t],u[t]);if(A)return A;t++}if(Math.abs(u.length-j.length)===1){if(cQ(j))return 1;if(cQ(u))return-1}return u.length-j.length}function cQ(L){const M=L[L.length-1];return L.length>0&&M[M.length-1]<0}const AG={type:0,value:""},NG=/[a-zA-Z0-9_]/;function eG(L){if(!L)return[[]];if(L==="/")return[[AG]];if(!L.startsWith("/"))throw new Error(`Invalid path "${L}"`);function M(D){throw new Error(`ERR (${t})/"${S}": ${D}`)}let t=0,j=t;const u=[];let A;function N(){A&&u.push(A),A=[]}let e=0,i,S="",y="";function r(){S&&(t===0?A.push({type:0,value:S}):t===1||t===2||t===3?(A.length>1&&(i==="*"||i==="+")&&M(`A repeatable param (${S}) must be alone in its segment. eg: '/:ids+.`),A.push({type:1,value:S,regexp:y,repeatable:i==="*"||i==="+",optional:i==="*"||i==="?"})):M("Invalid state to consume buffer"),S="")}function n(){S+=i}for(;e<L.length;){if(i=L[e++],i==="\\"&&t!==2){j=t,t=4;continue}switch(t){case 0:i==="/"?(S&&r(),N()):i===":"?(r(),t=1):n();break;case 4:n(),t=j;break;case 1:i==="("?t=2:NG.test(i)?n():(r(),t=0,i!=="*"&&i!=="?"&&i!=="+"&&e--);break;case 2:i===")"?y[y.length-1]=="\\"?y=y.slice(0,-1)+i:t=3:y+=i;break;case 3:r(),t=0,i!=="*"&&i!=="?"&&i!=="+"&&e--,y="";break;default:M("Unknown state");break}}return t===2&&M(`Unfinished custom RegExp for param "${S}"`),r(),N(),u}function iG(L,M,t){const j=jG(eG(L.path),t),u=Mu(j,{record:L,parent:M,children:[],alias:[]});return M&&!u.record.aliasOf==!M.record.aliasOf&&M.children.push(u),u}function SG(L,M){const t=[],j=new Map;M=xQ({strict:!1,end:!0,sensitive:!1},M);function u(r){return j.get(r)}function A(r,n,D){const s=!D,I=gQ(r);I.aliasOf=D&&D.record;const T=xQ(M,r),c=[I];if("alias"in r){const o=typeof r.alias=="string"?[r.alias]:r.alias;for(const E of o)c.push(gQ(Mu({},I,{components:D?D.record.components:I.components,path:E,aliasOf:D?D.record:I})))}let a,g;for(const o of c){const{path:E}=o;if(n&&E[0]!=="/"){const f=n.record.path,C=f[f.length-1]==="/"?"":"/";o.path=n.record.path+(E&&C+E)}if(a=iG(o,n,T),D?D.alias.push(a):(g=g||a,g!==a&&g.alias.push(a),s&&r.name&&!oQ(a)&&N(r.name)),EQ(a)&&i(a),I.children){const f=I.children;for(let C=0;C<f.length;C++)A(f[C],a,D&&D.children[C])}D=D||a}return g?()=>{N(g)}:nD}function N(r){if(DQ(r)){const n=j.get(r);n&&(j.delete(r),t.splice(t.indexOf(n),1),n.children.forEach(N),n.alias.forEach(N))}else{const n=t.indexOf(r);n>-1&&(t.splice(n,1),r.record.name&&j.delete(r.record.name),r.children.forEach(N),r.alias.forEach(N))}}function e(){return t}function i(r){const n=nG(r,t);t.splice(n,0,r),r.record.name&&!oQ(r)&&j.set(r.record.name,r)}function S(r,n){let D,s={},I,T;if("name"in r&&r.name){if(D=j.get(r.name),!D)throw ur(1,{location:r});T=D.record.name,s=Mu(aQ(n.params,D.keys.filter(g=>!g.optional).concat(D.parent?D.parent.keys.filter(g=>g.optional):[]).map(g=>g.name)),r.params&&aQ(r.params,D.keys.map(g=>g.name))),I=D.stringify(s)}else if(r.path!=null)I=r.path,D=t.find(g=>g.re.test(I)),D&&(s=D.parse(I),T=D.record.name);else{if(D=n.name?j.get(n.name):t.find(g=>g.re.test(n.path)),!D)throw ur(1,{location:r,currentLocation:n});T=D.record.name,s=Mu({},n.params,r.params),I=D.stringify(s)}const c=[];let a=D;for(;a;)c.unshift(a.record),a=a.parent;return{name:T,path:I,params:s,matched:c,meta:rG(c)}}L.forEach(r=>A(r));function y(){t.length=0,j.clear()}return{addRoute:A,resolve:S,removeRoute:N,clearRoutes:y,getRoutes:e,getRecordMatcher:u}}function aQ(L,M){const t={};for(const j of M)j in L&&(t[j]=L[j]);return t}function gQ(L){const M={path:L.path,redirect:L.redirect,name:L.name,meta:L.meta||{},aliasOf:L.aliasOf,beforeEnter:L.beforeEnter,props:yG(L),children:L.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in L?L.components||null:L.component&&{default:L.component}};return Object.defineProperty(M,"mods",{value:{}}),M}function yG(L){const M={},t=L.props||!1;if("component"in L)M.default=t;else for(const j in L.components)M[j]=typeof t=="object"?t[j]:t;return M}function oQ(L){for(;L;){if(L.record.aliasOf)return!0;L=L.parent}return!1}function rG(L){return L.reduce((M,t)=>Mu(M,t.meta),{})}function xQ(L,M){const t={};for(const j in L)t[j]=j in M?M[j]:L[j];return t}function nG(L,M){let t=0,j=M.length;for(;t!==j;){const A=t+j>>1;IQ(L,M[A])<0?j=A:t=A+1}const u=DG(L);return u&&(j=M.lastIndexOf(u,j-1)),j}function DG(L){let M=L;for(;M=M.parent;)if(EQ(M)&&IQ(L,M)===0)return M}function EQ({record:L}){return!!(L.name||L.components&&Object.keys(L.components).length||L.redirect)}function sG(L){const M={};if(L===""||L==="?")return M;const j=(L[0]==="?"?L.slice(1):L).split("&");for(let u=0;u<j.length;++u){const A=j[u].replace(jQ," "),N=A.indexOf("="),e=DD(N<0?A:A.slice(0,N)),i=N<0?null:DD(A.slice(N+1));if(e in M){let S=M[e];Me(S)||(S=M[e]=[S]),S.push(i)}else M[e]=i}return M}function lQ(L){let M="";for(let t in L){const j=L[t];if(t=vX(t),j==null){j!==void 0&&(M+=(M.length?"&":"")+t);continue}(Me(j)?j.map(A=>A&&Yx(A)):[j&&Yx(j)]).forEach(A=>{A!==void 0&&(M+=(M.length?"&":"")+t,A!=null&&(M+="="+A))})}return M}function TG(L){const M={};for(const t in L){const j=L[t];j!==void 0&&(M[t]=Me(j)?j.map(u=>u==null?null:""+u):j==null?j:""+j)}return M}const zG=Symbol(""),OQ=Symbol(""),Uz=Symbol(""),px=Symbol(""),mx=Symbol("");function zD(){let L=[];function M(j){return L.push(j),()=>{const u=L.indexOf(j);u>-1&&L.splice(u,1)}}function t(){L=[]}return{add:M,list:()=>L.slice(),reset:t}}function Q0(L,M,t,j,u,A=N=>N()){const N=j&&(j.enterCallbacks[u]=j.enterCallbacks[u]||[]);return()=>new Promise((e,i)=>{const S=n=>{n===!1?i(ur(4,{from:t,to:M})):n instanceof Error?i(n):MG(n)?i(ur(2,{from:M,to:n})):(N&&j.enterCallbacks[u]===N&&typeof n=="function"&&N.push(n),e())},y=A(()=>L.call(j&&j.instances[u],M,t,S));let r=Promise.resolve(y);L.length<3&&(r=r.then(S)),r.catch(n=>i(n))})}function bx(L,M,t,j,u=A=>A()){const A=[];for(const N of L)for(const e in N.components){let i=N.components[e];if(!(M!=="beforeRouteEnter"&&!N.instances[e]))if(tQ(i)){const y=(i.__vccOpts||i)[M];y&&A.push(Q0(y,t,j,N,e,u))}else{let S=i();A.push(()=>S.then(y=>{if(!y)throw new Error(`Couldn't resolve component "${e}" at "${N.path}"`);const r=EX(y)?y.default:y;N.mods[e]=y,N.components[e]=r;const D=(r.__vccOpts||r)[M];return D&&Q0(D,t,j,N,e,u)()}))}}return A}function dQ(L){const M=qA(Uz),t=qA(px),j=SL(()=>{const i=TM(L.to);return M.resolve(i)}),u=SL(()=>{const{matched:i}=j.value,{length:S}=i,y=i[S-1],r=t.matched;if(!y||!r.length)return-1;const n=r.findIndex(jr.bind(null,y));if(n>-1)return n;const D=wQ(i[S-2]);return S>1&&wQ(y)===D&&r[r.length-1].path!==D?r.findIndex(jr.bind(null,i[S-2])):n}),A=SL(()=>u.value>-1&&gG(t.params,j.value.params)),N=SL(()=>u.value>-1&&u.value===t.matched.length-1&&iQ(t.params,j.value.params));function e(i={}){if(aG(i)){const S=M[TM(L.replace)?"replace":"push"](TM(L.to)).catch(nD);return L.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>S),S}return Promise.resolve()}return{route:j,href:SL(()=>j.value.href),isActive:A,isExactActive:N,navigate:e}}function IG(L){return L.length===1?L[0]:L}const cG=kt({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"},viewTransition:Boolean},useLink:dQ,setup(L,{slots:M}){const t=Xy(dQ(L)),{options:j}=qA(Uz),u=SL(()=>({[fQ(L.activeClass,j.linkActiveClass,"router-link-active")]:t.isActive,[fQ(L.exactActiveClass,j.linkExactActiveClass,"router-link-exact-active")]:t.isExactActive}));return()=>{const A=M.default&&IG(M.default(t));return L.custom?A:$y("a",{"aria-current":t.isExactActive?L.ariaCurrentValue:null,href:t.href,onClick:t.navigate,class:u.value},A)}}});function aG(L){if(!(L.metaKey||L.altKey||L.ctrlKey||L.shiftKey)&&!L.defaultPrevented&&!(L.button!==void 0&&L.button!==0)){if(L.currentTarget&&L.currentTarget.getAttribute){const M=L.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(M))return}return L.preventDefault&&L.preventDefault(),!0}}function gG(L,M){for(const t in M){const j=M[t],u=L[t];if(typeof j=="string"){if(j!==u)return!1}else if(!Me(u)||u.length!==j.length||j.some((A,N)=>A!==u[N]))return!1}return!0}function wQ(L){return L?L.aliasOf?L.aliasOf.path:L.path:""}const fQ=(L,M,t)=>L??M??t,oG=kt({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(L,{attrs:M,slots:t}){const j=qA(mx),u=SL(()=>L.route||j.value),A=qA(OQ,0),N=SL(()=>{let S=TM(A);const{matched:y}=u.value;let r;for(;(r=y[S])&&!r.components;)S++;return S}),e=SL(()=>u.value.matched[N.value]);zz(OQ,SL(()=>N.value+1)),zz(zG,e),zz(mx,u);const i=V();return $j(()=>[i.value,e.value,L.name],([S,y,r],[n,D,s])=>{y&&(y.instances[r]=S,D&&D!==y&&S&&S===n&&(y.leaveGuards.size||(y.leaveGuards=D.leaveGuards),y.updateGuards.size||(y.updateGuards=D.updateGuards))),S&&y&&(!D||!jr(y,D)||!n)&&(y.enterCallbacks[r]||[]).forEach(I=>I(S))},{flush:"post"}),()=>{const S=u.value,y=L.name,r=e.value,n=r&&r.components[y];if(!n)return CQ(t.default,{Component:n,route:S});const D=r.props[y],s=D?D===!0?S.params:typeof D=="function"?D(S):D:null,T=$y(n,Mu({},s,M,{onVnodeUnmounted:c=>{c.component.isUnmounted&&(r.instances[y]=null)},ref:i}));return CQ(t.default,{Component:T,route:S})||T}}});function CQ(L,M){if(!L)return null;const t=L(M);return t.length===1?t[0]:t}const Px=oG;function xG(L){const M=SG(L.routes,L),t=L.parseQuery||sG,j=L.stringifyQuery||lQ,u=L.history,A=zD(),N=zD(),e=zD(),i=jx(C0);let S=C0;Lr&&L.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const y=Ux.bind(null,K=>""+K),r=Ux.bind(null,pX),n=Ux.bind(null,DD);function D(K,H){let P,J;return DQ(K)?(P=M.getRecordMatcher(K),J=H):J=K,M.addRoute(J,P)}function s(K){const H=M.getRecordMatcher(K);H&&M.removeRoute(H)}function I(){return M.getRoutes().map(K=>K.record)}function T(K){return!!M.getRecordMatcher(K)}function c(K,H){if(H=Mu({},H||i.value),typeof K=="string"){const NM=vx(t,K,H.path),nM=M.resolve({path:NM.path},H),AM=u.createHref(NM.fullPath);return Mu(NM,nM,{params:n(nM.params),hash:DD(NM.hash),redirectedFrom:void 0,href:AM})}let P;if(K.path!=null)P=Mu({},K,{path:vx(t,K.path,H.path).path});else{const NM=Mu({},K.params);for(const nM in NM)NM[nM]==null&&delete NM[nM];P=Mu({},K,{params:r(NM)}),H.params=r(H.params)}const J=M.resolve(P,H),LM=K.hash||"";J.params=y(n(J.params));const eM=PX(j,Mu({},K,{hash:YX(LM),path:J.path})),$=u.createHref(eM);return Mu({fullPath:eM,hash:LM,query:j===lQ?TG(K.query):K.query||{}},J,{redirectedFrom:void 0,href:$})}function a(K){return typeof K=="string"?vx(t,K,i.value.path):Mu({},K)}function g(K,H){if(S!==K)return ur(8,{from:H,to:K})}function o(K){return C(K)}function E(K){return o(Mu(a(K),{replace:!0}))}function f(K){const H=K.matched[K.matched.length-1];if(H&&H.redirect){const{redirect:P}=H;let J=typeof P=="function"?P(K):P;return typeof J=="string"&&(J=J.includes("?")||J.includes("#")?J=a(J):{path:J},J.params={}),Mu({query:K.query,hash:K.hash,params:J.path!=null?{}:K.params},J)}}function C(K,H){const P=S=c(K),J=i.value,LM=K.state,eM=K.force,$=K.replace===!0,NM=f(P);if(NM)return C(Mu(a(NM),{state:typeof NM=="object"?Mu({},LM,NM.state):LM,force:eM,replace:$}),H||P);const nM=P;nM.redirectedFrom=H;let AM;return!eM&&RX(j,J,P)&&(AM=ur(16,{to:nM,from:J}),X(J,J,!0,!1)),(AM?Promise.resolve(AM):k(nM,J)).catch(_=>oi(_)?oi(_,2)?_:b(_):l(_,nM,J)).then(_=>{if(_){if(oi(_,2))return C(Mu({replace:$},a(_.to),{state:typeof _.to=="object"?Mu({},LM,_.to.state):LM,force:eM}),H||nM)}else _=m(nM,J,!0,$,LM);return p(nM,J,_),_})}function h(K,H){const P=g(K,H);return P?Promise.reject(P):Promise.resolve()}function Y(K){const H=W.values().next().value;return H&&typeof H.runWithContext=="function"?H.runWithContext(K):K()}function k(K,H){let P;const[J,LM,eM]=EG(K,H);P=bx(J.reverse(),"beforeRouteLeave",K,H);for(const NM of J)NM.leaveGuards.forEach(nM=>{P.push(Q0(nM,K,H))});const $=h.bind(null,K,H);return P.push($),Z(P).then(()=>{P=[];for(const NM of A.list())P.push(Q0(NM,K,H));return P.push($),Z(P)}).then(()=>{P=bx(LM,"beforeRouteUpdate",K,H);for(const NM of LM)NM.updateGuards.forEach(nM=>{P.push(Q0(nM,K,H))});return P.push($),Z(P)}).then(()=>{P=[];for(const NM of eM)if(NM.beforeEnter)if(Me(NM.beforeEnter))for(const nM of NM.beforeEnter)P.push(Q0(nM,K,H));else P.push(Q0(NM.beforeEnter,K,H));return P.push($),Z(P)}).then(()=>(K.matched.forEach(NM=>NM.enterCallbacks={}),P=bx(eM,"beforeRouteEnter",K,H,Y),P.push($),Z(P))).then(()=>{P=[];for(const NM of N.list())P.push(Q0(NM,K,H));return P.push($),Z(P)}).catch(NM=>oi(NM,8)?NM:Promise.reject(NM))}function p(K,H,P){e.list().forEach(J=>Y(()=>J(K,H,P)))}function m(K,H,P,J,LM){const eM=g(K,H);if(eM)return eM;const $=H===C0,NM=Lr?history.state:{};P&&(J||$?u.replace(K.fullPath,Mu({scroll:$&&NM&&NM.scroll},LM)):u.push(K.fullPath,LM)),i.value=K,X(K,H,P,$),b()}let U;function Q(){U||(U=u.listen((K,H,P)=>{if(!MM.listening)return;const J=c(K),LM=f(J);if(LM){C(Mu(LM,{replace:!0,force:!0}),J).catch(nD);return}S=J;const eM=i.value;Lr&&VX(yQ(eM.fullPath,P.delta),Qz()),k(J,eM).catch($=>oi($,12)?$:oi($,2)?(C(Mu(a($.to),{force:!0}),J).then(NM=>{oi(NM,20)&&!P.delta&&P.type===sD.pop&&u.go(-1,!1)}).catch(nD),Promise.reject()):(P.delta&&u.go(-P.delta,!1),l($,J,eM))).then($=>{$=$||m(J,eM,!1),$&&(P.delta&&!oi($,8)?u.go(-P.delta,!1):P.type===sD.pop&&oi($,20)&&u.go(-1,!1)),p(J,eM,$)}).catch(nD)}))}let w=zD(),x=zD(),O;function l(K,H,P){b(K);const J=x.list();return J.length?J.forEach(LM=>LM(K,H,P)):console.error(K),Promise.reject(K)}function d(){return O&&i.value!==C0?Promise.resolve():new Promise((K,H)=>{w.add([K,H])})}function b(K){return O||(O=!K,Q(),w.list().forEach(([H,P])=>K?P(K):H()),w.reset()),K}function X(K,H,P,J){const{scrollBehavior:LM}=L;if(!Lr||!LM)return Promise.resolve();const eM=!P&&JX(yQ(K.fullPath,0))||(J||!P)&&history.state&&history.state.scroll||null;return Jy().then(()=>LM(K,H,eM)).then($=>$&&WX($)).catch($=>l($,K,H))}const B=K=>u.go(K);let G;const W=new Set,MM={currentRoute:i,listening:!0,addRoute:D,removeRoute:s,clearRoutes:M.clearRoutes,hasRoute:T,getRoutes:I,resolve:c,options:L,push:o,replace:E,go:B,back:()=>B(-1),forward:()=>B(1),beforeEach:A.add,beforeResolve:N.add,afterEach:e.add,onError:x.add,isReady:d,install(K){const H=this;K.component("RouterLink",cG),K.component("RouterView",Px),K.config.globalProperties.$router=H,Object.defineProperty(K.config.globalProperties,"$route",{enumerable:!0,get:()=>TM(i)}),Lr&&!G&&i.value===C0&&(G=!0,o(u.location).catch(LM=>{}));const P={};for(const LM in C0)Object.defineProperty(P,LM,{get:()=>i.value[LM],enumerable:!0});K.provide(Uz,H),K.provide(px,of(P)),K.provide(mx,i);const J=K.unmount;W.add(K),K.unmount=function(){W.delete(K),W.size<1&&(S=C0,U&&U(),U=null,i.value=C0,G=!1,O=!1),J()}}};function Z(K){return K.reduce((H,P)=>H.then(()=>Y(P)),Promise.resolve())}return MM}function EG(L,M){const t=[],j=[],u=[],A=Math.max(M.matched.length,L.matched.length);for(let N=0;N<A;N++){const e=M.matched[N];e&&(L.matched.find(S=>jr(S,e))?j.push(e):t.push(e));const i=L.matched[N];i&&(M.matched.find(S=>jr(S,i))||u.push(i))}return[t,j,u]}function lG(){return qA(Uz)}function Rx(L){return qA(px)}const OG="1.0.834-alpha",dG="1.0.0",wG="2024-07-15";var fG=!1;/*!
|
|
24
|
+
*/const Lr=typeof document<"u";function tQ(L){return typeof L=="object"||"displayName"in L||"props"in L||"__vccOpts"in L}function EX(L){return L.__esModule||L[Symbol.toStringTag]==="Module"||L.default&&tQ(L.default)}const Mu=Object.assign;function Ux(L,M){const t={};for(const j in M){const u=M[j];t[j]=Me(u)?u.map(L):L(u)}return t}const nD=()=>{},Me=Array.isArray,LQ=/#/g,lX=/&/g,OX=/\//g,dX=/=/g,wX=/\?/g,jQ=/\+/g,fX=/%5B/g,CX=/%5D/g,uQ=/%5E/g,QX=/%60/g,AQ=/%7B/g,UX=/%7C/g,NQ=/%7D/g,hX=/%20/g;function hx(L){return encodeURI(""+L).replace(UX,"|").replace(fX,"[").replace(CX,"]")}function YX(L){return hx(L).replace(AQ,"{").replace(NQ,"}").replace(uQ,"^")}function Yx(L){return hx(L).replace(jQ,"%2B").replace(hX,"+").replace(LQ,"%23").replace(lX,"%26").replace(QX,"`").replace(AQ,"{").replace(NQ,"}").replace(uQ,"^")}function vX(L){return Yx(L).replace(dX,"%3D")}function kX(L){return hx(L).replace(LQ,"%23").replace(wX,"%3F")}function pX(L){return L==null?"":kX(L).replace(OX,"%2F")}function DD(L){try{return decodeURIComponent(""+L)}catch{}return""+L}const mX=/\/$/,bX=L=>L.replace(mX,"");function vx(L,M,t="/"){let j,u={},A="",N="";const e=M.indexOf("#");let i=M.indexOf("?");return e<i&&e>=0&&(i=-1),i>-1&&(j=M.slice(0,i),A=M.slice(i+1,e>-1?e:M.length),u=L(A)),e>-1&&(j=j||M.slice(0,e),N=M.slice(e,M.length)),j=HX(j??M,t),{fullPath:j+(A&&"?")+A+N,path:j,query:u,hash:DD(N)}}function PX(L,M){const t=M.query?L(M.query):"";return M.path+(t&&"?")+t+(M.hash||"")}function eQ(L,M){return!M||!L.toLowerCase().startsWith(M.toLowerCase())?L:L.slice(M.length)||"/"}function RX(L,M,t){const j=M.matched.length-1,u=t.matched.length-1;return j>-1&&j===u&&jr(M.matched[j],t.matched[u])&&iQ(M.params,t.params)&&L(M.query)===L(t.query)&&M.hash===t.hash}function jr(L,M){return(L.aliasOf||L)===(M.aliasOf||M)}function iQ(L,M){if(Object.keys(L).length!==Object.keys(M).length)return!1;for(const t in L)if(!BX(L[t],M[t]))return!1;return!0}function BX(L,M){return Me(L)?SQ(L,M):Me(M)?SQ(M,L):L===M}function SQ(L,M){return Me(M)?L.length===M.length&&L.every((t,j)=>t===M[j]):L.length===1&&L[0]===M}function HX(L,M){if(L.startsWith("/"))return L;if(!L)return M;const t=M.split("/"),j=L.split("/"),u=j[j.length-1];(u===".."||u===".")&&j.push("");let A=t.length-1,N,e;for(N=0;N<j.length;N++)if(e=j[N],e!==".")if(e==="..")A>1&&A--;else break;return t.slice(0,A).join("/")+"/"+j.slice(N).join("/")}const C0={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var sD;(function(L){L.pop="pop",L.push="push"})(sD||(sD={}));var TD;(function(L){L.back="back",L.forward="forward",L.unknown=""})(TD||(TD={}));function ZX(L){if(!L)if(Lr){const M=document.querySelector("base");L=M&&M.getAttribute("href")||"/",L=L.replace(/^\w+:\/\/[^\/]+/,"")}else L="/";return L[0]!=="/"&&L[0]!=="#"&&(L="/"+L),bX(L)}const FX=/^[^#]+#/;function XX(L,M){return L.replace(FX,"#")+M}function GX(L,M){const t=document.documentElement.getBoundingClientRect(),j=L.getBoundingClientRect();return{behavior:M.behavior,left:j.left-t.left-(M.left||0),top:j.top-t.top-(M.top||0)}}const Qz=()=>({left:window.scrollX,top:window.scrollY});function WX(L){let M;if("el"in L){const t=L.el,j=typeof t=="string"&&t.startsWith("#"),u=typeof t=="string"?j?document.getElementById(t.slice(1)):document.querySelector(t):t;if(!u)return;M=GX(u,L)}else M=L;"scrollBehavior"in document.documentElement.style?window.scrollTo(M):window.scrollTo(M.left!=null?M.left:window.scrollX,M.top!=null?M.top:window.scrollY)}function yQ(L,M){return(history.state?history.state.position-M:-1)+L}const kx=new Map;function VX(L,M){kx.set(L,M)}function JX(L){const M=kx.get(L);return kx.delete(L),M}let qX=()=>location.protocol+"//"+location.host;function rQ(L,M){const{pathname:t,search:j,hash:u}=M,A=L.indexOf("#");if(A>-1){let e=u.includes(L.slice(A))?L.slice(A).length:1,i=u.slice(e);return i[0]!=="/"&&(i="/"+i),eQ(i,"")}return eQ(t,L)+j+u}function KX(L,M,t,j){let u=[],A=[],N=null;const e=({state:n})=>{const D=rQ(L,location),s=t.value,I=M.value;let T=0;if(n){if(t.value=D,M.value=n,N&&N===s){N=null;return}T=I?n.position-I.position:0}else j(D);u.forEach(c=>{c(t.value,s,{delta:T,type:sD.pop,direction:T?T>0?TD.forward:TD.back:TD.unknown})})};function i(){N=t.value}function S(n){u.push(n);const D=()=>{const s=u.indexOf(n);s>-1&&u.splice(s,1)};return A.push(D),D}function y(){const{history:n}=window;n.state&&n.replaceState(Mu({},n.state,{scroll:Qz()}),"")}function r(){for(const n of A)n();A=[],window.removeEventListener("popstate",e),window.removeEventListener("beforeunload",y)}return window.addEventListener("popstate",e),window.addEventListener("beforeunload",y,{passive:!0}),{pauseListeners:i,listen:S,destroy:r}}function nQ(L,M,t,j=!1,u=!1){return{back:L,current:M,forward:t,replaced:j,position:window.history.length,scroll:u?Qz():null}}function _X(L){const{history:M,location:t}=window,j={value:rQ(L,t)},u={value:M.state};u.value||A(j.value,{back:null,current:j.value,forward:null,position:M.length-1,replaced:!0,scroll:null},!0);function A(i,S,y){const r=L.indexOf("#"),n=r>-1?(t.host&&document.querySelector("base")?L:L.slice(r))+i:qX()+L+i;try{M[y?"replaceState":"pushState"](S,"",n),u.value=S}catch(D){console.error(D),t[y?"replace":"assign"](n)}}function N(i,S){const y=Mu({},M.state,nQ(u.value.back,i,u.value.forward,!0),S,{position:u.value.position});A(i,y,!0),j.value=i}function e(i,S){const y=Mu({},u.value,M.state,{forward:i,scroll:Qz()});A(y.current,y,!0);const r=Mu({},nQ(j.value,i,null),{position:y.position+1},S);A(i,r,!1),j.value=i}return{location:j,state:u,push:e,replace:N}}function $X(L){L=ZX(L);const M=_X(L),t=KX(L,M.state,M.location,M.replace);function j(A,N=!0){N||t.pauseListeners(),history.go(A)}const u=Mu({location:"",base:L,go:j,createHref:XX.bind(null,L)},M,t);return Object.defineProperty(u,"location",{enumerable:!0,get:()=>M.location.value}),Object.defineProperty(u,"state",{enumerable:!0,get:()=>M.state.value}),u}function MG(L){return typeof L=="string"||L&&typeof L=="object"}function DQ(L){return typeof L=="string"||typeof L=="symbol"}const sQ=Symbol("");var TQ;(function(L){L[L.aborted=4]="aborted",L[L.cancelled=8]="cancelled",L[L.duplicated=16]="duplicated"})(TQ||(TQ={}));function ur(L,M){return Mu(new Error,{type:L,[sQ]:!0},M)}function oi(L,M){return L instanceof Error&&sQ in L&&(M==null||!!(L.type&M))}const zQ="[^/]+?",tG={sensitive:!1,strict:!1,start:!0,end:!0},LG=/[.+*?^${}()[\]/\\]/g;function jG(L,M){const t=Mu({},tG,M),j=[];let u=t.start?"^":"";const A=[];for(const S of L){const y=S.length?[]:[90];t.strict&&!S.length&&(u+="/");for(let r=0;r<S.length;r++){const n=S[r];let D=40+(t.sensitive?.25:0);if(n.type===0)r||(u+="/"),u+=n.value.replace(LG,"\\$&"),D+=40;else if(n.type===1){const{value:s,repeatable:I,optional:T,regexp:c}=n;A.push({name:s,repeatable:I,optional:T});const a=c||zQ;if(a!==zQ){D+=10;try{new RegExp(`(${a})`)}catch(o){throw new Error(`Invalid custom RegExp for param "${s}" (${a}): `+o.message)}}let g=I?`((?:${a})(?:/(?:${a}))*)`:`(${a})`;r||(g=T&&S.length<2?`(?:/${g})`:"/"+g),T&&(g+="?"),u+=g,D+=20,T&&(D+=-8),I&&(D+=-20),a===".*"&&(D+=-50)}y.push(D)}j.push(y)}if(t.strict&&t.end){const S=j.length-1;j[S][j[S].length-1]+=.7000000000000001}t.strict||(u+="/?"),t.end?u+="$":t.strict&&!u.endsWith("/")&&(u+="(?:/|$)");const N=new RegExp(u,t.sensitive?"":"i");function e(S){const y=S.match(N),r={};if(!y)return null;for(let n=1;n<y.length;n++){const D=y[n]||"",s=A[n-1];r[s.name]=D&&s.repeatable?D.split("/"):D}return r}function i(S){let y="",r=!1;for(const n of L){(!r||!y.endsWith("/"))&&(y+="/"),r=!1;for(const D of n)if(D.type===0)y+=D.value;else if(D.type===1){const{value:s,repeatable:I,optional:T}=D,c=s in S?S[s]:"";if(Me(c)&&!I)throw new Error(`Provided param "${s}" is an array but it is not repeatable (* or + modifiers)`);const a=Me(c)?c.join("/"):c;if(!a)if(T)n.length<2&&(y.endsWith("/")?y=y.slice(0,-1):r=!0);else throw new Error(`Missing required param "${s}"`);y+=a}}return y||"/"}return{re:N,score:j,keys:A,parse:e,stringify:i}}function uG(L,M){let t=0;for(;t<L.length&&t<M.length;){const j=M[t]-L[t];if(j)return j;t++}return L.length<M.length?L.length===1&&L[0]===40+40?-1:1:L.length>M.length?M.length===1&&M[0]===40+40?1:-1:0}function IQ(L,M){let t=0;const j=L.score,u=M.score;for(;t<j.length&&t<u.length;){const A=uG(j[t],u[t]);if(A)return A;t++}if(Math.abs(u.length-j.length)===1){if(cQ(j))return 1;if(cQ(u))return-1}return u.length-j.length}function cQ(L){const M=L[L.length-1];return L.length>0&&M[M.length-1]<0}const AG={type:0,value:""},NG=/[a-zA-Z0-9_]/;function eG(L){if(!L)return[[]];if(L==="/")return[[AG]];if(!L.startsWith("/"))throw new Error(`Invalid path "${L}"`);function M(D){throw new Error(`ERR (${t})/"${S}": ${D}`)}let t=0,j=t;const u=[];let A;function N(){A&&u.push(A),A=[]}let e=0,i,S="",y="";function r(){S&&(t===0?A.push({type:0,value:S}):t===1||t===2||t===3?(A.length>1&&(i==="*"||i==="+")&&M(`A repeatable param (${S}) must be alone in its segment. eg: '/:ids+.`),A.push({type:1,value:S,regexp:y,repeatable:i==="*"||i==="+",optional:i==="*"||i==="?"})):M("Invalid state to consume buffer"),S="")}function n(){S+=i}for(;e<L.length;){if(i=L[e++],i==="\\"&&t!==2){j=t,t=4;continue}switch(t){case 0:i==="/"?(S&&r(),N()):i===":"?(r(),t=1):n();break;case 4:n(),t=j;break;case 1:i==="("?t=2:NG.test(i)?n():(r(),t=0,i!=="*"&&i!=="?"&&i!=="+"&&e--);break;case 2:i===")"?y[y.length-1]=="\\"?y=y.slice(0,-1)+i:t=3:y+=i;break;case 3:r(),t=0,i!=="*"&&i!=="?"&&i!=="+"&&e--,y="";break;default:M("Unknown state");break}}return t===2&&M(`Unfinished custom RegExp for param "${S}"`),r(),N(),u}function iG(L,M,t){const j=jG(eG(L.path),t),u=Mu(j,{record:L,parent:M,children:[],alias:[]});return M&&!u.record.aliasOf==!M.record.aliasOf&&M.children.push(u),u}function SG(L,M){const t=[],j=new Map;M=xQ({strict:!1,end:!0,sensitive:!1},M);function u(r){return j.get(r)}function A(r,n,D){const s=!D,I=gQ(r);I.aliasOf=D&&D.record;const T=xQ(M,r),c=[I];if("alias"in r){const o=typeof r.alias=="string"?[r.alias]:r.alias;for(const E of o)c.push(gQ(Mu({},I,{components:D?D.record.components:I.components,path:E,aliasOf:D?D.record:I})))}let a,g;for(const o of c){const{path:E}=o;if(n&&E[0]!=="/"){const f=n.record.path,C=f[f.length-1]==="/"?"":"/";o.path=n.record.path+(E&&C+E)}if(a=iG(o,n,T),D?D.alias.push(a):(g=g||a,g!==a&&g.alias.push(a),s&&r.name&&!oQ(a)&&N(r.name)),EQ(a)&&i(a),I.children){const f=I.children;for(let C=0;C<f.length;C++)A(f[C],a,D&&D.children[C])}D=D||a}return g?()=>{N(g)}:nD}function N(r){if(DQ(r)){const n=j.get(r);n&&(j.delete(r),t.splice(t.indexOf(n),1),n.children.forEach(N),n.alias.forEach(N))}else{const n=t.indexOf(r);n>-1&&(t.splice(n,1),r.record.name&&j.delete(r.record.name),r.children.forEach(N),r.alias.forEach(N))}}function e(){return t}function i(r){const n=nG(r,t);t.splice(n,0,r),r.record.name&&!oQ(r)&&j.set(r.record.name,r)}function S(r,n){let D,s={},I,T;if("name"in r&&r.name){if(D=j.get(r.name),!D)throw ur(1,{location:r});T=D.record.name,s=Mu(aQ(n.params,D.keys.filter(g=>!g.optional).concat(D.parent?D.parent.keys.filter(g=>g.optional):[]).map(g=>g.name)),r.params&&aQ(r.params,D.keys.map(g=>g.name))),I=D.stringify(s)}else if(r.path!=null)I=r.path,D=t.find(g=>g.re.test(I)),D&&(s=D.parse(I),T=D.record.name);else{if(D=n.name?j.get(n.name):t.find(g=>g.re.test(n.path)),!D)throw ur(1,{location:r,currentLocation:n});T=D.record.name,s=Mu({},n.params,r.params),I=D.stringify(s)}const c=[];let a=D;for(;a;)c.unshift(a.record),a=a.parent;return{name:T,path:I,params:s,matched:c,meta:rG(c)}}L.forEach(r=>A(r));function y(){t.length=0,j.clear()}return{addRoute:A,resolve:S,removeRoute:N,clearRoutes:y,getRoutes:e,getRecordMatcher:u}}function aQ(L,M){const t={};for(const j of M)j in L&&(t[j]=L[j]);return t}function gQ(L){const M={path:L.path,redirect:L.redirect,name:L.name,meta:L.meta||{},aliasOf:L.aliasOf,beforeEnter:L.beforeEnter,props:yG(L),children:L.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in L?L.components||null:L.component&&{default:L.component}};return Object.defineProperty(M,"mods",{value:{}}),M}function yG(L){const M={},t=L.props||!1;if("component"in L)M.default=t;else for(const j in L.components)M[j]=typeof t=="object"?t[j]:t;return M}function oQ(L){for(;L;){if(L.record.aliasOf)return!0;L=L.parent}return!1}function rG(L){return L.reduce((M,t)=>Mu(M,t.meta),{})}function xQ(L,M){const t={};for(const j in L)t[j]=j in M?M[j]:L[j];return t}function nG(L,M){let t=0,j=M.length;for(;t!==j;){const A=t+j>>1;IQ(L,M[A])<0?j=A:t=A+1}const u=DG(L);return u&&(j=M.lastIndexOf(u,j-1)),j}function DG(L){let M=L;for(;M=M.parent;)if(EQ(M)&&IQ(L,M)===0)return M}function EQ({record:L}){return!!(L.name||L.components&&Object.keys(L.components).length||L.redirect)}function sG(L){const M={};if(L===""||L==="?")return M;const j=(L[0]==="?"?L.slice(1):L).split("&");for(let u=0;u<j.length;++u){const A=j[u].replace(jQ," "),N=A.indexOf("="),e=DD(N<0?A:A.slice(0,N)),i=N<0?null:DD(A.slice(N+1));if(e in M){let S=M[e];Me(S)||(S=M[e]=[S]),S.push(i)}else M[e]=i}return M}function lQ(L){let M="";for(let t in L){const j=L[t];if(t=vX(t),j==null){j!==void 0&&(M+=(M.length?"&":"")+t);continue}(Me(j)?j.map(A=>A&&Yx(A)):[j&&Yx(j)]).forEach(A=>{A!==void 0&&(M+=(M.length?"&":"")+t,A!=null&&(M+="="+A))})}return M}function TG(L){const M={};for(const t in L){const j=L[t];j!==void 0&&(M[t]=Me(j)?j.map(u=>u==null?null:""+u):j==null?j:""+j)}return M}const zG=Symbol(""),OQ=Symbol(""),Uz=Symbol(""),px=Symbol(""),mx=Symbol("");function zD(){let L=[];function M(j){return L.push(j),()=>{const u=L.indexOf(j);u>-1&&L.splice(u,1)}}function t(){L=[]}return{add:M,list:()=>L.slice(),reset:t}}function Q0(L,M,t,j,u,A=N=>N()){const N=j&&(j.enterCallbacks[u]=j.enterCallbacks[u]||[]);return()=>new Promise((e,i)=>{const S=n=>{n===!1?i(ur(4,{from:t,to:M})):n instanceof Error?i(n):MG(n)?i(ur(2,{from:M,to:n})):(N&&j.enterCallbacks[u]===N&&typeof n=="function"&&N.push(n),e())},y=A(()=>L.call(j&&j.instances[u],M,t,S));let r=Promise.resolve(y);L.length<3&&(r=r.then(S)),r.catch(n=>i(n))})}function bx(L,M,t,j,u=A=>A()){const A=[];for(const N of L)for(const e in N.components){let i=N.components[e];if(!(M!=="beforeRouteEnter"&&!N.instances[e]))if(tQ(i)){const y=(i.__vccOpts||i)[M];y&&A.push(Q0(y,t,j,N,e,u))}else{let S=i();A.push(()=>S.then(y=>{if(!y)throw new Error(`Couldn't resolve component "${e}" at "${N.path}"`);const r=EX(y)?y.default:y;N.mods[e]=y,N.components[e]=r;const D=(r.__vccOpts||r)[M];return D&&Q0(D,t,j,N,e,u)()}))}}return A}function dQ(L){const M=qA(Uz),t=qA(px),j=SL(()=>{const i=TM(L.to);return M.resolve(i)}),u=SL(()=>{const{matched:i}=j.value,{length:S}=i,y=i[S-1],r=t.matched;if(!y||!r.length)return-1;const n=r.findIndex(jr.bind(null,y));if(n>-1)return n;const D=wQ(i[S-2]);return S>1&&wQ(y)===D&&r[r.length-1].path!==D?r.findIndex(jr.bind(null,i[S-2])):n}),A=SL(()=>u.value>-1&&gG(t.params,j.value.params)),N=SL(()=>u.value>-1&&u.value===t.matched.length-1&&iQ(t.params,j.value.params));function e(i={}){if(aG(i)){const S=M[TM(L.replace)?"replace":"push"](TM(L.to)).catch(nD);return L.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>S),S}return Promise.resolve()}return{route:j,href:SL(()=>j.value.href),isActive:A,isExactActive:N,navigate:e}}function IG(L){return L.length===1?L[0]:L}const cG=kt({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"},viewTransition:Boolean},useLink:dQ,setup(L,{slots:M}){const t=Xy(dQ(L)),{options:j}=qA(Uz),u=SL(()=>({[fQ(L.activeClass,j.linkActiveClass,"router-link-active")]:t.isActive,[fQ(L.exactActiveClass,j.linkExactActiveClass,"router-link-exact-active")]:t.isExactActive}));return()=>{const A=M.default&&IG(M.default(t));return L.custom?A:$y("a",{"aria-current":t.isExactActive?L.ariaCurrentValue:null,href:t.href,onClick:t.navigate,class:u.value},A)}}});function aG(L){if(!(L.metaKey||L.altKey||L.ctrlKey||L.shiftKey)&&!L.defaultPrevented&&!(L.button!==void 0&&L.button!==0)){if(L.currentTarget&&L.currentTarget.getAttribute){const M=L.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(M))return}return L.preventDefault&&L.preventDefault(),!0}}function gG(L,M){for(const t in M){const j=M[t],u=L[t];if(typeof j=="string"){if(j!==u)return!1}else if(!Me(u)||u.length!==j.length||j.some((A,N)=>A!==u[N]))return!1}return!0}function wQ(L){return L?L.aliasOf?L.aliasOf.path:L.path:""}const fQ=(L,M,t)=>L??M??t,oG=kt({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(L,{attrs:M,slots:t}){const j=qA(mx),u=SL(()=>L.route||j.value),A=qA(OQ,0),N=SL(()=>{let S=TM(A);const{matched:y}=u.value;let r;for(;(r=y[S])&&!r.components;)S++;return S}),e=SL(()=>u.value.matched[N.value]);zz(OQ,SL(()=>N.value+1)),zz(zG,e),zz(mx,u);const i=V();return $j(()=>[i.value,e.value,L.name],([S,y,r],[n,D,s])=>{y&&(y.instances[r]=S,D&&D!==y&&S&&S===n&&(y.leaveGuards.size||(y.leaveGuards=D.leaveGuards),y.updateGuards.size||(y.updateGuards=D.updateGuards))),S&&y&&(!D||!jr(y,D)||!n)&&(y.enterCallbacks[r]||[]).forEach(I=>I(S))},{flush:"post"}),()=>{const S=u.value,y=L.name,r=e.value,n=r&&r.components[y];if(!n)return CQ(t.default,{Component:n,route:S});const D=r.props[y],s=D?D===!0?S.params:typeof D=="function"?D(S):D:null,T=$y(n,Mu({},s,M,{onVnodeUnmounted:c=>{c.component.isUnmounted&&(r.instances[y]=null)},ref:i}));return CQ(t.default,{Component:T,route:S})||T}}});function CQ(L,M){if(!L)return null;const t=L(M);return t.length===1?t[0]:t}const Px=oG;function xG(L){const M=SG(L.routes,L),t=L.parseQuery||sG,j=L.stringifyQuery||lQ,u=L.history,A=zD(),N=zD(),e=zD(),i=jx(C0);let S=C0;Lr&&L.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const y=Ux.bind(null,K=>""+K),r=Ux.bind(null,pX),n=Ux.bind(null,DD);function D(K,H){let P,J;return DQ(K)?(P=M.getRecordMatcher(K),J=H):J=K,M.addRoute(J,P)}function s(K){const H=M.getRecordMatcher(K);H&&M.removeRoute(H)}function I(){return M.getRoutes().map(K=>K.record)}function T(K){return!!M.getRecordMatcher(K)}function c(K,H){if(H=Mu({},H||i.value),typeof K=="string"){const NM=vx(t,K,H.path),nM=M.resolve({path:NM.path},H),AM=u.createHref(NM.fullPath);return Mu(NM,nM,{params:n(nM.params),hash:DD(NM.hash),redirectedFrom:void 0,href:AM})}let P;if(K.path!=null)P=Mu({},K,{path:vx(t,K.path,H.path).path});else{const NM=Mu({},K.params);for(const nM in NM)NM[nM]==null&&delete NM[nM];P=Mu({},K,{params:r(NM)}),H.params=r(H.params)}const J=M.resolve(P,H),LM=K.hash||"";J.params=y(n(J.params));const eM=PX(j,Mu({},K,{hash:YX(LM),path:J.path})),$=u.createHref(eM);return Mu({fullPath:eM,hash:LM,query:j===lQ?TG(K.query):K.query||{}},J,{redirectedFrom:void 0,href:$})}function a(K){return typeof K=="string"?vx(t,K,i.value.path):Mu({},K)}function g(K,H){if(S!==K)return ur(8,{from:H,to:K})}function o(K){return C(K)}function E(K){return o(Mu(a(K),{replace:!0}))}function f(K){const H=K.matched[K.matched.length-1];if(H&&H.redirect){const{redirect:P}=H;let J=typeof P=="function"?P(K):P;return typeof J=="string"&&(J=J.includes("?")||J.includes("#")?J=a(J):{path:J},J.params={}),Mu({query:K.query,hash:K.hash,params:J.path!=null?{}:K.params},J)}}function C(K,H){const P=S=c(K),J=i.value,LM=K.state,eM=K.force,$=K.replace===!0,NM=f(P);if(NM)return C(Mu(a(NM),{state:typeof NM=="object"?Mu({},LM,NM.state):LM,force:eM,replace:$}),H||P);const nM=P;nM.redirectedFrom=H;let AM;return!eM&&RX(j,J,P)&&(AM=ur(16,{to:nM,from:J}),X(J,J,!0,!1)),(AM?Promise.resolve(AM):k(nM,J)).catch(_=>oi(_)?oi(_,2)?_:b(_):l(_,nM,J)).then(_=>{if(_){if(oi(_,2))return C(Mu({replace:$},a(_.to),{state:typeof _.to=="object"?Mu({},LM,_.to.state):LM,force:eM}),H||nM)}else _=m(nM,J,!0,$,LM);return p(nM,J,_),_})}function h(K,H){const P=g(K,H);return P?Promise.reject(P):Promise.resolve()}function Y(K){const H=W.values().next().value;return H&&typeof H.runWithContext=="function"?H.runWithContext(K):K()}function k(K,H){let P;const[J,LM,eM]=EG(K,H);P=bx(J.reverse(),"beforeRouteLeave",K,H);for(const NM of J)NM.leaveGuards.forEach(nM=>{P.push(Q0(nM,K,H))});const $=h.bind(null,K,H);return P.push($),Z(P).then(()=>{P=[];for(const NM of A.list())P.push(Q0(NM,K,H));return P.push($),Z(P)}).then(()=>{P=bx(LM,"beforeRouteUpdate",K,H);for(const NM of LM)NM.updateGuards.forEach(nM=>{P.push(Q0(nM,K,H))});return P.push($),Z(P)}).then(()=>{P=[];for(const NM of eM)if(NM.beforeEnter)if(Me(NM.beforeEnter))for(const nM of NM.beforeEnter)P.push(Q0(nM,K,H));else P.push(Q0(NM.beforeEnter,K,H));return P.push($),Z(P)}).then(()=>(K.matched.forEach(NM=>NM.enterCallbacks={}),P=bx(eM,"beforeRouteEnter",K,H,Y),P.push($),Z(P))).then(()=>{P=[];for(const NM of N.list())P.push(Q0(NM,K,H));return P.push($),Z(P)}).catch(NM=>oi(NM,8)?NM:Promise.reject(NM))}function p(K,H,P){e.list().forEach(J=>Y(()=>J(K,H,P)))}function m(K,H,P,J,LM){const eM=g(K,H);if(eM)return eM;const $=H===C0,NM=Lr?history.state:{};P&&(J||$?u.replace(K.fullPath,Mu({scroll:$&&NM&&NM.scroll},LM)):u.push(K.fullPath,LM)),i.value=K,X(K,H,P,$),b()}let U;function Q(){U||(U=u.listen((K,H,P)=>{if(!MM.listening)return;const J=c(K),LM=f(J);if(LM){C(Mu(LM,{replace:!0,force:!0}),J).catch(nD);return}S=J;const eM=i.value;Lr&&VX(yQ(eM.fullPath,P.delta),Qz()),k(J,eM).catch($=>oi($,12)?$:oi($,2)?(C(Mu(a($.to),{force:!0}),J).then(NM=>{oi(NM,20)&&!P.delta&&P.type===sD.pop&&u.go(-1,!1)}).catch(nD),Promise.reject()):(P.delta&&u.go(-P.delta,!1),l($,J,eM))).then($=>{$=$||m(J,eM,!1),$&&(P.delta&&!oi($,8)?u.go(-P.delta,!1):P.type===sD.pop&&oi($,20)&&u.go(-1,!1)),p(J,eM,$)}).catch(nD)}))}let w=zD(),x=zD(),O;function l(K,H,P){b(K);const J=x.list();return J.length?J.forEach(LM=>LM(K,H,P)):console.error(K),Promise.reject(K)}function d(){return O&&i.value!==C0?Promise.resolve():new Promise((K,H)=>{w.add([K,H])})}function b(K){return O||(O=!K,Q(),w.list().forEach(([H,P])=>K?P(K):H()),w.reset()),K}function X(K,H,P,J){const{scrollBehavior:LM}=L;if(!Lr||!LM)return Promise.resolve();const eM=!P&&JX(yQ(K.fullPath,0))||(J||!P)&&history.state&&history.state.scroll||null;return Jy().then(()=>LM(K,H,eM)).then($=>$&&WX($)).catch($=>l($,K,H))}const B=K=>u.go(K);let G;const W=new Set,MM={currentRoute:i,listening:!0,addRoute:D,removeRoute:s,clearRoutes:M.clearRoutes,hasRoute:T,getRoutes:I,resolve:c,options:L,push:o,replace:E,go:B,back:()=>B(-1),forward:()=>B(1),beforeEach:A.add,beforeResolve:N.add,afterEach:e.add,onError:x.add,isReady:d,install(K){const H=this;K.component("RouterLink",cG),K.component("RouterView",Px),K.config.globalProperties.$router=H,Object.defineProperty(K.config.globalProperties,"$route",{enumerable:!0,get:()=>TM(i)}),Lr&&!G&&i.value===C0&&(G=!0,o(u.location).catch(LM=>{}));const P={};for(const LM in C0)Object.defineProperty(P,LM,{get:()=>i.value[LM],enumerable:!0});K.provide(Uz,H),K.provide(px,of(P)),K.provide(mx,i);const J=K.unmount;W.add(K),K.unmount=function(){W.delete(K),W.size<1&&(S=C0,U&&U(),U=null,i.value=C0,G=!1,O=!1),J()}}};function Z(K){return K.reduce((H,P)=>H.then(()=>Y(P)),Promise.resolve())}return MM}function EG(L,M){const t=[],j=[],u=[],A=Math.max(M.matched.length,L.matched.length);for(let N=0;N<A;N++){const e=M.matched[N];e&&(L.matched.find(S=>jr(S,e))?j.push(e):t.push(e));const i=L.matched[N];i&&(M.matched.find(S=>jr(S,i))||u.push(i))}return[t,j,u]}function lG(){return qA(Uz)}function Rx(L){return qA(px)}const OG="1.0.835-alpha",dG="1.0.0",wG="2024-07-15";var fG=!1;/*!
|
|
25
25
|
* pinia v2.3.1
|
|
26
26
|
* (c) 2025 Eduardo San Martin Morote
|
|
27
27
|
* @license MIT
|
|
@@ -482,7 +482,7 @@ use chrome, FireFox or Internet Explorer 11`)}var i=t("safe-buffer"),S=t("random
|
|
|
482
482
|
* @author Louis-Dominique Dubeau
|
|
483
483
|
* @license MIT
|
|
484
484
|
* @copyright Louis-Dominique Dubeau
|
|
485
|
-
*/function A(N){return N>=65&&N<=90||N===95||N>=97&&N<=122||N>=192&&N<=214||N>=216&&N<=246||N>=248&&N<=767||N>=880&&N<=893||N>=895&&N<=8191||N>=8204&&N<=8205||N>=8304&&N<=8591||N>=11264&&N<=12271||N>=12289&&N<=55295||N>=63744&&N<=64975||N>=65008&&N<=65533||N>=65536&&N<=983039}Object.defineProperty(u,"__esModule",{value:!0}),u.NC_NAME_START_CHAR="A-Z_a-zÀ-ÖØ-öø-˿Ͱ-ͽͿ--⁰-Ⰰ-、-豈-﷏ﷰ-�𐀀-",u.NC_NAME_CHAR="-"+u.NC_NAME_START_CHAR+".0-9·̀-ͯ‿-⁀",u.NC_NAME_START_CHAR_RE=new RegExp("^["+u.NC_NAME_START_CHAR+"]$","u"),u.NC_NAME_CHAR_RE=new RegExp("^["+u.NC_NAME_CHAR+"]$","u"),u.NC_NAME_RE=new RegExp("^["+u.NC_NAME_START_CHAR+"]["+u.NC_NAME_CHAR+"]*$","u"),u.isNCNameStartChar=A,u.isNCNameChar=function(N){return A(N)||N===45||N===46||N>=48&&N<=57||N===183||N>=768&&N<=879||N>=8255&&N<=8256}},{}]},{},[15])(15)})})(uY);var Z0M=uY.exports;const AY=Sr(Z0M);var NY={exports:{}};(function(L,M){(function(t,j){j()})(GL,function(){function t(S,y){return typeof y>"u"?y={autoBom:!1}:typeof y!="object"&&(console.warn("Deprecated: Expected third argument to be a object"),y={autoBom:!y}),y.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(S.type)?new Blob(["\uFEFF",S],{type:S.type}):S}function j(S,y,r){var n=new XMLHttpRequest;n.open("GET",S),n.responseType="blob",n.onload=function(){i(n.response,y,r)},n.onerror=function(){console.error("could not download file")},n.send()}function u(S){var y=new XMLHttpRequest;y.open("HEAD",S,!1);try{y.send()}catch{}return 200<=y.status&&299>=y.status}function A(S){try{S.dispatchEvent(new MouseEvent("click"))}catch{var y=document.createEvent("MouseEvents");y.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),S.dispatchEvent(y)}}var N=typeof window=="object"&&window.window===window?window:typeof self=="object"&&self.self===self?self:typeof GL=="object"&&GL.global===GL?GL:void 0,e=N.navigator&&/Macintosh/.test(navigator.userAgent)&&/AppleWebKit/.test(navigator.userAgent)&&!/Safari/.test(navigator.userAgent),i=N.saveAs||(typeof window!="object"||window!==N?function(){}:"download"in HTMLAnchorElement.prototype&&!e?function(S,y,r){var n=N.URL||N.webkitURL,D=document.createElement("a");y=y||S.name||"download",D.download=y,D.rel="noopener",typeof S=="string"?(D.href=S,D.origin===location.origin?A(D):u(D.href)?j(S,y,r):A(D,D.target="_blank")):(D.href=n.createObjectURL(S),setTimeout(function(){n.revokeObjectURL(D.href)},4e4),setTimeout(function(){A(D)},0))}:"msSaveOrOpenBlob"in navigator?function(S,y,r){if(y=y||S.name||"download",typeof S!="string")navigator.msSaveOrOpenBlob(t(S,r),y);else if(u(S))j(S,y,r);else{var n=document.createElement("a");n.href=S,n.target="_blank",setTimeout(function(){A(n)})}}:function(S,y,r,n){if(n=n||open("","_blank"),n&&(n.document.title=n.document.body.innerText="downloading..."),typeof S=="string")return j(S,y,r);var D=S.type==="application/octet-stream",s=/constructor/i.test(N.HTMLElement)||N.safari,I=/CriOS\/[\d]+/.test(navigator.userAgent);if((I||D&&s||e)&&typeof FileReader<"u"){var T=new FileReader;T.onloadend=function(){var g=T.result;g=I?g:g.replace(/^data:[^;]*;/,"data:attachment/file;"),n?n.location.href=g:location=g,n=null},T.readAsDataURL(S)}else{var c=N.URL||N.webkitURL,a=c.createObjectURL(S);n?n.location=a:location.href=a,n=null,setTimeout(function(){c.revokeObjectURL(a)},4e4)}});N.saveAs=i.saveAs=i,L.exports=i})})(NY);var eY=NY.exports;const F0M={key:0,class:""},X0M={class:"popup-content relative border bg-white"},G0M={class:"flex justify-between"},W0M={class:"popup-body geLight -text-blue min-h-[25vh] px-8"},V0M={key:0,class:"flex items-start justify-center"},J0M={class:"mt-6 pt-1 text-center"},q0M={key:1,class:"row bot-text-left relative mb-4 ml-4 items-start md:ml-0 lg:ml-0"},K0M={class:"bot-text-left relative items-start"},_0M={class:"-text-blue mt-1 font-bold"},$0M={class:"flex items-center pt-6"},MSM={class:"modal-locked relative"},tSM={class:""},LSM={key:0,class:"shadow absolute top-10 z-10 max-h-72 w-72 divide-y divide-gray-100 overflow-y-scroll rounded-lg bg-white dark:bg-gray-700"},jSM={class:"py-2 text-sm text-gray-700 dark:text-gray-200","aria-labelledby":"dropdownHoverButton"},uSM=["onClick"],ASM=["onClick"],NSM={key:2,class:"absolute block bg-white px-4 pb-1 text-xs text-red-500"},eSM=["onClick"],iSM={key:0,class:"mt-1.5 text-red-500"},SSM={key:0},ySM={key:1,class:"pt-3"},rSM={class:"-text-blue rounded border border-gray-300 bg-gray-100 px-3 pb-3 pt-2"},nSM={class:"flex w-full flex-wrap text-xs"},DSM=["innerHTML"],sSM=["onClick"],TSM={class:"pt-1"},zSM={key:2,class:"flex items-start justify-center"},ISM={key:0,class:"pr-1 pt-0.5 text-center text-2xl"},cSM=kt({__name:"CoreskilluploadComponent",props:{name:{type:String}},emits:["updateprofilecore","coreskillemit","coreskillsfl","loadmyperformancecore","loadmyteamperformancecore","loadmyplancore"],setup(L,{emit:M}){const t=IL(),j=Tu(),u=V(!0),A=V(),N=V([]),e=V([]),i=V([]),S=V([]),y=V([]);let r=V(""),n=V("");const D=V(!1),s=V(!1),I=V(!1),T=V(!1),c=V(null);V(!1);const a=V(!1);V(!1),V(!1);const g=V({});V(!1),V(null);const o=V([]);oL(async()=>{var U,Q,w,x,O,l,d;a.value=!0,u.value=!1,document.addEventListener("click",h);try{const X=await HL("/delphi/mdm/skills",{categories:["digital_technology"]});e.value=((U=X==null?void 0:X.data)==null?void 0:U.result)||[],i.value=((Q=t.coreSkillsArray)==null?void 0:Q.coreSkills)||[],(w=t==null?void 0:t.coreSkillsArray)!=null&&w.existingCoreSkills&&(N.value=(x=t==null?void 0:t.coreSkillsArray)==null?void 0:x.existingCoreSkills),S.value=(O=t==null?void 0:t.coreSkillsArray)==null?void 0:O.existingCoreSkills,t.enteredCoreskillArray=(l=t==null?void 0:t.coreSkillsArray)==null?void 0:l.existingCoreSkills,g.value=(d=t==null?void 0:t.coreSkillsArray)==null?void 0:d.coreSkillConfugurationList[0],o.value=await E(i.value,e.value),a.value=!1}catch(b){a.value=!1,b.response?j.error(`${b.response.data.message}`):b.message?j.error(`${b.message}`):j.error("Failed to load data")}});const E=(U,Q)=>{var b,X;const w=[...U,...Q],x=new Map;w.forEach(B=>{x.set(B==null?void 0:B.subskillid,B)}),y.value=Array.from(x.values());const O=(b=y.value)==null?void 0:b.filter(B=>(B==null?void 0:B.parentskillid)===null),l=(X=y.value)==null?void 0:X.filter(B=>(B==null?void 0:B.parentskillid)!==null);return O.map(B=>{const G=l.filter(W=>W.parentskillid===B.subskillid);return{...B,subskill:G}})},f=async()=>{const U=new AY.Workbook;U.addWorksheet("Critical Skills",{properties:{tabColor:{argb:"F7BC66"}}});let Q=ej(y.value,"subskillname");const w=U.getWorksheet("Critical Skills");w.headerFooter.differentFirst=!0,w.headerFooter.firstHeader="Hello Exceljs",w.state="visible",w.columns=[{header:"Sr_No",key:"No",width:10},{header:`Criticalskills ( ${Q.length} )`,key:"subskillname",width:45}];let x=[];x=[{cell:"A1"},{cell:"B1"}];for(let O=0;O<x.length;O++)w.getCell(x[O].cell).fill={type:"pattern",pattern:"solid",fgColor:{argb:"F7BC66"},wrapText:!0};if(Q&&(Q!=null&&Q.length)){let O=1;Q.forEach(l=>{w.addRow({No:O++,subskillname:l.subskillname})}),await U.xlsx.writeBuffer().then(l=>{eY.saveAs(new Blob([l]),"Role-based Critical Skills Snapshot.xlsx")}).catch(l=>{})}else console.warn("action is undefined")},C=SL(()=>{var x,O;const U=(x=A.value)==null?void 0:x.trim().toLowerCase(),Q=(l,d)=>l==null?void 0:l.subskillname.localeCompare(d==null?void 0:d.subskillname);let w=(O=o.value)==null?void 0:O.map(l=>{const d=[...l.subskill].sort(Q);return{...l,subskill:d}});return U?w.map(l=>{const d=l.subskill.filter(X=>X.subskillname.toLowerCase().includes(U));return l.subskillname.toLowerCase().includes(U)||d.length>0?{...l,subskill:d.sort(Q)}:null}).filter(Boolean).sort(Q):w.sort(Q)});UA(()=>{document.removeEventListener("click",h)});const h=U=>{const Q=document.querySelector(".modal-locked");Q&&!Q.contains(U.target.parentNode)&&(D.value=!1)},Y=U=>{T.value=!T.value,c.value=U,setTimeout(()=>{T.value=!1,c.value=null},2e3)},k=async()=>{var U;if(N==null||N.value.forEach(Q=>{delete Q.subskill}),a.value=!0,u.value=!0,(N==null?void 0:N.value.length)>=3)try{const Q={core_skills:N==null?void 0:N.value,saveToProfileFlag:!0},w=await HL("/delphi/coreskills/save",Q);w&&!w.data.error?setTimeout(()=>{a.value=!1,u.value=!1},3e3):(r.value="Failed to add Critical skills",setTimeout(()=>{r.value=""},4e3),a.value=!1,u.value=!1)}catch(Q){Q.response?(r.value="Failed to add Critical skills",setTimeout(()=>{r.value=""},4e3)):Q.message?j.error(`${Q.message}`):j.error("Failed to add Critical skills"),a.value=!1,u.value=!1}else a.value=!1,u.value=!1,r.value=`Oops! You need to add at least ${(U=g.value)==null?void 0:U.minimumCoreSkills} Critical skills to your profile`,setTimeout(()=>{r.value=""},4e3)},p=async U=>{N.value.splice(U,1),t.enteredCoreskillArray=N.value},m=async U=>{var Q,w,x,O;if(D.value=!1,console.log("val",U),(Q=S==null?void 0:S.value)==null||Q.forEach(l=>{(l==null?void 0:l.subskillid)===(U==null?void 0:U.subskillid)&&(I.value=!0,n.value=U==null?void 0:U.subskillname,r.value="already exists in Critical skills.",setTimeout(()=>{I.value=!1,n.value="",r.value=""},4e3))}),!I.value){let l=!1;(w=N.value)==null||w.forEach(d=>{d.subskillid===U.subskillid&&(l=!0)}),N.value.length>((x=g.value)==null?void 0:x.maximumCoreSkills)-1?(r.value=`Oops! You can add up to ${(O=g.value)==null?void 0:O.maximumCoreSkills} Critical skills to your profile`,setTimeout(()=>{r.value=""},4e3)):l?(n.value=U==null?void 0:U.subskillname,r.value="already exists in Critical skills.",setTimeout(()=>{n.value="",r.value="",l=!1},4e3)):(N.value.push(U),t.enteredCoreskillArray=N.value)}A.value=""};return $j(A,async U=>{U!=null&&U.length&&(D.value=!0)}),(U,Q)=>{var w,x,O;return TM(t).notificationArray?(v(),R("div",F0M,[z("div",X0M,[z("div",G0M,[Q[11]||(Q[11]=z("div",{class:"flex items-center py-5 text-center"},[z("div",{class:"h-3 w-10 bg-[#FFAB28]"}),z("div",{class:"ml-3 text-2xl font-bold"},"My Critical Skills")],-1)),!s.value&&N.value&&!((w=N.value)!=null&&w.length)?(v(),R("div",{key:0,class:"pointer z-30 p-2 text-right",onClick:Q[0]||(Q[0]=l=>s.value=!0)},Q[9]||(Q[9]=[z("img",{class:"",src:CL,alt:"Close"},null,-1)]))):(v(),R("div",{key:1,class:"pointer z-30 p-2 text-right",onClick:Q[1]||(Q[1]=l=>TM(t).coreskillcheckvalue==="coreprofile"?TM(t).componentCheckv6="Myprofile":TM(t).componentCheckv6="selection")},Q[10]||(Q[10]=[z("img",{class:"",src:CL,alt:"Close"},null,-1)])))]),z("div",W0M,[z("section",null,[s.value&&N.value&&!((x=N.value)!=null&&x.length)?(v(),R("div",V0M,[z("div",null,[Q[12]||(Q[12]=z("div",{class:"pr-1 pt-0.5 text-center text-2xl"},"Are you sure you want to close without submitting any critical skills?",-1)),Q[13]||(Q[13]=z("div",{class:"pr-1 pt-0.5 text-center"},"These skills will unlock personalized recommendations and help you get noticed for new opportunities at Genpact",-1)),z("div",J0M,[z("button",{class:"-bg-blue mr-2 inline-block rounded px-4 py-1.5 text-sm text-white",onClick:Q[2]||(Q[2]=l=>s.value=!1)},"Add Critical Skills")])])])):a.value?(v(),R("div",zSM,[z("div",null,[Q[27]||(Q[27]=z("div",{class:"flex items-start justify-center"},[z("img",{class:"w-24",src:nj,alt:"Loader Gif"})],-1)),u.value?(v(),R("div",ISM,[Q[23]||(Q[23]=PM(" Well done! Your critical skills are updated.")),Q[24]||(Q[24]=z("br",null,null,-1)),Q[25]||(Q[25]=PM(" Redirecting you to ")),z("span",{onClick:Q[8]||(Q[8]=l=>TM(t).componentCheckv6="Myprofile"),class:"cursor-pointer underline"},"My Profile"),Q[26]||(Q[26]=PM(" "))])):yM("",!0)])])):(v(),R("div",q0M,[z("div",K0M,[Q[20]||(Q[20]=z("div",{class:"-text-blue mt-1 font-bold"},[PM(" These are the skills you’ve been actively using in your current role — especially in the last 18 months."),z("br"),PM(" They will power your learning recommendations and make you visible for the right internal opportunities. ")],-1)),Q[21]||(Q[21]=z("div",{class:"-text-blue mt-5 font-ge-bold"},[z("b",null,"What to do ")],-1)),Q[22]||(Q[22]=z("div",{class:"-text-blue pt-0.5 text-[15px]"},[z("ul",{class:"ml-4 list-disc"},[z("li",null,"Pick 3–5 skills that reflect your current work "),z("li",null,"Use the search bar to find and select skills from the list"),z("li",null,"If a skill doesn’t show up, it’s not applicable for your role")])],-1)),z("div",_0M,[Q[14]||(Q[14]=PM(" Your selected skills will also appear on ")),z("span",{onClick:Q[3]||(Q[3]=l=>TM(t).componentCheckv6="Myprofile"),class:"cursor-pointer underline"},"My Profile"),Q[15]||(Q[15]=PM(" at Intermediate level and can be updated anytime. "))]),z("div",$0M,[z("div",MSM,[z("div",tSM,[Yt(z("input",{onClick:Q[4]||(Q[4]=l=>D.value=!D.value),"onUpdate:modelValue":Q[5]||(Q[5]=l=>A.value=l),type:"text",class:"-text-blue h-9 w-64 border border-gray-400 px-2 py-1.5 text-[15px] outline-none focus:outline-none md:placeholder:text-center lg:placeholder:text-center",placeholder:"Select or Search skills"},null,512),[[Lj,A.value]]),Q[16]||(Q[16]=z("div",{class:"absolute inset-y-0 end-4 flex items-center ps-3"},[z("svg",{class:"h-3 w-3 text-gray-500","aria-hidden":"true",fill:"none",viewBox:"0 0 20 20"},[z("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"m19 19-4-4m0-7A7 7 0 1 1 1 8a7 7 0 0 1 14 0Z"})])],-1))]),D.value?(v(),R("div",LSM,[z("ul",jSM,[(v(!0),R(WM,null,et(C.value,(l,d)=>{var b;return v(),R("li",{key:d},[(b=l==null?void 0:l.subskill)!=null&&b.length?(v(),R("a",{key:0,onClick:X=>Y(d),class:"block px-4 py-2 font-bold"},aM(l==null?void 0:l.subskillname),9,uSM)):(v(),R("a",{key:1,onClick:X=>m(l),class:"block px-4 py-2 font-bold hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white"},aM(l==null?void 0:l.subskillname),9,ASM)),T.value&&c.value===d?(v(),R("p",NSM,"Please choose a more specific skill under this category")):yM("",!0),(v(!0),R(WM,null,et(l==null?void 0:l.subskill,(X,B)=>(v(),R("div",{key:B},[z("span",{class:"block cursor-pointer pb-1 pl-6 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white",onClick:G=>m(X)},aM(X==null?void 0:X.subskillname),9,eSM)]))),128))])}),128))])])):yM("",!0)]),z("div",{class:"ml-3 hidden cursor-pointer underline md:block lg:block",onClick:Q[6]||(Q[6]=l=>f())},"Role-based Critical Skills Snapshot"),Q[17]||(Q[17]=z("a",{target:"_blank",href:"https://genpactonline.sharepoint.com/sites/Tech_Capability_Academy_Microsite/Shared%20Documents/Forms/AllItems.aspx?id=%2fsites%2fTech_Capability_Academy_Microsite%2fShared%20Documents%2fMicrosite%2fFAQs%20on%20DTAI%20Critical%20Skills%20Declaration%20Feature%20on%20Genome.ai.pdf&parent=%2fsites%2fTech_Capability_Academy_Microsite%2fShared%20Documents%2fMicrosite&p=true&ga=1",class:"ml-3 cursor-pointer text-red-500 underline"},"FAQ",-1))]),TM(r)!==""?(v(),R("div",iSM,[TM(n)!==""?(v(),R("b",SSM,aM(TM(n)),1)):yM("",!0),PM(" "+aM(TM(r)),1)])):yM("",!0),N.value&&((O=N.value)!=null&&O.length)?(v(),R("div",ySM,[z("div",rSM,[Q[19]||(Q[19]=z("div",{class:"flex justify-end"},null,-1)),z("div",nSM,[(v(!0),R(WM,null,et(N.value,(l,d)=>(v(),R("div",{key:d,class:"-text-gray mr-1 mt-1 flex items-center justify-between border border-gray-400 bg-white px-2 py-1.5"},[z("span",{innerHTML:l==null?void 0:l.ui_alias},null,8,DSM),z("span",{onClick:b=>p(d),class:"pointer pl-2"},Q[18]||(Q[18]=[z("svg",{class:"h-2 w-2","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 14 14"},[z("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"m1 1 6 6m0 0 6 6M7 7l6-6M7 7l-6 6"})],-1)]),8,sSM)]))),128))])]),z("div",TSM,[z("button",{class:"-bg-blue mr-2 inline-block rounded px-4 py-1.5 text-sm text-white",onClick:Q[7]||(Q[7]=l=>k())},"Submit")])])):yM("",!0)])]))])])])])):yM("",!0)}}}),LCt="",iY=jL(cSM,[["__scopeId","data-v-d6968832"]]),aSM={key:0,class:"z-50"},gSM={class:"popup-content shadow-lg w-full bg-white md:w-2/5 lg:w-2/5"},oSM={class:"flex w-full justify-end p-6"},xSM={key:1,class:"z-50"},ESM={class:"popup-content shadow-lg w-full bg-white md:w-3/5 lg:w-3/5"},lSM={class:"mt-6 flex w-full justify-end pr-6"},OSM={class:"popup-body geLight -text-blue px-8 py-12"},dSM=["innerHTML"],wSM={key:2,class:"z-50"},fSM={class:"fixed -top-6 left-0 z-50 flex h-full min-h-screen w-full items-center justify-center bg-[#707070] bg-opacity-30 p-2 text-[15px] md:top-0 md:p-0 lg:top-0 lg:p-0"},CSM={class:"popup-content shadow-lg w-full bg-white md:w-3/5 lg:w-3/5"},QSM={class:"popup-body geLight -text-blue h-96 overflow-auto px-8 py-12 md:h-auto lg:h-auto"},USM={class:"pt-2"},hSM={class:"pt-6 text-center"},YSM=["disabled"],vSM={key:3,class:"z-50"},kSM={class:"fixed -top-6 left-0 z-50 flex h-full min-h-screen w-full items-center justify-center bg-[#707070] bg-opacity-30 p-2 text-[15px] md:top-0 md:p-0 lg:top-0 lg:p-0"},pSM={class:"popup-content shadow-lg h-5/6 w-full overflow-auto bg-white md:h-auto md:w-3/5 lg:h-auto lg:w-3/5"},mSM={class:"flex w-full justify-end pr-4 pt-4"},bSM={key:4,class:"z-[50]"},PSM={class:"fixed -top-6 left-0 z-[50] flex h-full min-h-screen w-full items-center justify-center bg-[#707070] bg-opacity-30 p-2 text-[15px] md:top-0 md:p-0 lg:top-0 lg:p-0"},RSM={class:"popup-content shadow-lg h-4/6 min-h-[20vh] w-full overflow-auto bg-white md:w-3/5 lg:w-3/5"},BSM={class:"flex w-full justify-end pr-4 pt-4"},HSM={class:"popup-body geLight -text-blue px-8 py-2"},ZSM={key:5,class:"z-50"},FSM={class:"fixed -top-6 left-0 z-50 flex h-full min-h-screen w-full items-center justify-center bg-[#707070] bg-opacity-30 p-2 text-[15px] md:top-0 md:p-0 lg:top-0 lg:p-0"},XSM={class:"popup-content shadow-lg h-5/6 w-full overflow-auto bg-white md:h-auto md:w-3/5 lg:h-auto lg:w-3/5"},GSM={class:"popup-body geLight -text-blue px-8 py-12"},WSM={class:"-text-blue pl-1 pt-3 text-lg font-bold"},VSM={class:"pt-6 text-center"},JSM=["disabled"],qSM={key:6,class:"z-50"},KSM={class:"popup-content shadow-lg w-full bg-white md:w-3/5 lg:w-3/5"},_SM={class:"flex w-full justify-end p-4"},$SM={class:"popup-body geLight -text-blue h-[370px] overflow-auto px-8 py-12"},MyM=["innerHTML"],tyM={key:7,class:"z-50"},LyM={class:"fixed -top-6 left-0 z-50 flex h-full min-h-screen w-full items-center justify-center bg-[#707070] bg-opacity-30 p-2 text-[15px] md:top-0 md:p-0 lg:top-0 lg:p-0"},jyM={class:"popup-content shadow-lg w-full bg-white md:w-3/5 lg:w-3/5"},uyM={class:"-text-blue geLight popup-body h-96 overflow-y-auto px-8 py-12 md:h-auto lg:h-auto"},AyM={class:"-text-blue pl-1 pt-3 text-lg font-bold"},NyM={class:"pt-6 text-center"},eyM=["disabled"],iyM={key:8,class:"z-50"},SyM={class:"fixed -top-6 left-0 z-50 flex h-full min-h-screen w-full items-center justify-center bg-[#707070] bg-opacity-30 p-2 text-[15px] md:top-0 md:p-0 lg:top-0 lg:p-0"},yyM={class:"popup-content shadow-lg w-full bg-white md:w-3/5 lg:w-3/5"},ryM={class:"-text-blue geLight popup-body h-96 overflow-y-auto px-8 py-12 md:h-auto lg:h-auto"},nyM={class:"-text-blue pl-1 pt-3 text-lg font-bold"},DyM={class:"pt-6 text-center"},syM=["disabled"],TyM={key:9,class:"z-50"},zyM={class:"popup-content shadow-lg h-5/6 w-full overflow-auto bg-white md:h-auto md:w-3/5 lg:h-auto lg:w-3/5"},IyM={class:"popup-body geLight -text-blue px-8 py-12"},cyM={class:"pt-6 text-center"},ayM={key:10,class:"z-50"},gyM={class:"popup-content shadow-lg h-5/6 w-full overflow-auto bg-white md:h-auto md:w-3/5 lg:h-auto lg:w-3/5"},oyM={class:"flex w-full justify-end pr-4"},xyM={class:"popup-body geLight -text-blue px-8 py-4"},EyM={class:"-text-gray"},lyM={class:"pt-6 text-center"},OyM={key:11,class:"z-50"},dyM={class:"popup-content shadow-lg h-5/6 w-full overflow-auto bg-white md:h-auto md:w-3/5 lg:h-auto lg:w-3/5"},wyM={class:"flex w-full justify-end pr-4"},fyM={class:"popup-body geLight -text-blue px-8 pb-4"},CyM={class:"-text-gray"},QyM={class:"pt-6 text-center"},UyM={key:12,class:"z-50"},hyM={class:"popup-content shadow-lg w-full overflow-auto bg-white md:h-auto md:w-3/5 lg:h-auto lg:w-3/5"},YyM={class:"flex w-full justify-end pr-4 pt-4"},vyM={class:"popup-body geLight -text-blue px-8 py-12"},kyM={class:"pt-6 text-center"},pyM={key:13,class:"z-50"},myM={class:"popup-content shadow-lg w-full overflow-auto bg-white md:h-auto md:w-3/5 lg:h-auto lg:w-3/5"},byM={class:"flex w-full justify-end pr-4 pt-4"},PyM={class:"popup-body geLight -text-blue px-8 py-12"},RyM={class:"flex justify-center pt-6"},ByM={key:14,class:"z-50"},HyM={class:"popup-content shadow-lg w-full overflow-auto bg-white md:h-auto md:w-3/5 lg:h-auto lg:w-3/5"},ZyM={class:"flex w-full justify-end pr-4 pt-4"},FyM={class:"popup-body geLight -text-blue px-8 py-12"},XyM={class:"pt-6 text-center"},GyM={key:15,class:"z-50"},WyM={class:"fixed -top-6 left-0 z-50 flex h-full min-h-screen w-full items-center justify-center bg-[#707070] bg-opacity-30 p-2 text-[15px] md:top-0 md:p-0 lg:top-0 lg:p-0"},VyM={class:"popup-content shadow-lg w-full overflow-auto bg-white md:h-auto md:w-3/5 lg:h-auto lg:w-3/5"},JyM={class:"popup-body geLight -text-blue px-8 py-12"},qyM={class:"pt-6 text-center"},KyM={key:16,class:"z-50"},_yM={class:"fixed -top-6 left-0 z-50 flex h-full min-h-screen w-full items-center justify-center bg-[#707070] bg-opacity-30 p-2 text-[15px] md:top-0 md:p-0 lg:top-0 lg:p-0"},$yM={class:"popup-content shadow-lg relative w-full bg-white md:h-auto md:w-3/5 lg:h-auto lg:w-3/5"},MrM={key:0,class:"absolute right-4 top-[-10px]"},trM={class:"popup-body geLight -text-blue mt-4 px-8"},LrM={key:0,class:"mx-auto w-14",src:nj,alt:"Loader Gif"},jrM={key:1},urM={class:"pt-6 text-center"},ArM={key:17,class:"z-50"},NrM={class:"fixed -top-6 left-0 z-50 flex h-full min-h-screen w-full items-center justify-center bg-[#707070] bg-opacity-30 p-2 text-[15px] md:top-0 md:p-0 lg:top-0 lg:p-0"},erM={class:"popup-content shadow-lg w-full bg-white md:w-3/5 lg:w-3/5"},irM={class:"-text-blue geLight popup-body h-96 overflow-y-auto px-8 py-12 md:h-auto lg:h-auto"},SrM={class:"flex w-1/2 justify-between"},yrM={class:"flex"},rrM={class:"flex"},nrM={class:"flex"},DrM={class:"pt-6 text-center"},srM={key:18,class:"z-50"},TrM={class:"fixed -top-6 left-0 z-50 flex h-full min-h-screen w-full items-center justify-center bg-[#707070] bg-opacity-30 p-2 text-[15px] md:top-0 md:p-0 lg:top-0 lg:p-0"},zrM={class:"popup-content shadow-lg relative w-full bg-white md:w-3/5 lg:w-3/5"},IrM={class:"absolute right-4 top-[-10px]"},crM={class:"mt-14 max-h-full w-full"},arM={class:""},grM={class:"-text-blue relative p-4"},orM={class:"pt-3"},xrM={class:"pt-3"},ErM=["href"],lrM=kt({__name:"PopupComponent",props:{text:{type:String},name:{type:String},showdiscription:{type:Boolean,default:()=>!1},discriptioValue:{type:Object,default:()=>{}},Question:{type:String,default:()=>""}},emits:["consetvalueemit","skipinputvalueemit","resumeUploadvalueemit","submitprofileemit","coreskillemit","removeskillemit","startoveremit"],setup(L,{emit:M}){const t=IL(),j=Tu(),u=L,A=V(!1),N=V(!1),e=V(!1),i=V(!1),S=V(!1);V(!1),V();const y=V(null);V(),V(),V();const r=M;oL(async()=>{console.log("propspropspropspropsprops ",u)});const n=async c=>{await HL("/delphi/event",{event_type:c})},D=async()=>{await HL("/delphi/learner/preferences",{nextBestAction:"generateLearningPlan"}),window.location.href="/aiguru-copilot",r("consetvalueemit",!1)},s=async()=>{r("consetvalueemit",!1)},I=async()=>{var c;A.value=!0,(c=t.enteredCoreskillArray)==null||c.forEach(a=>{delete a.subskill});try{console.log("delphiStore.enteredCoreskillArray",t.enteredCoreskillArray);const a={core_skills:t.enteredCoreskillArray,saveToProfileFlag:!0},g=await HL("/delphi/coreskills/save",a);g&&!g.data.error?setTimeout(()=>{r("consetvalueemit",!1),t.initFunction(),A.value=!1},3e3):(r("consetvalueemit",!1),j.error("Failed to add Critical skills"))}catch(a){a.response?(A.value=!1,r("consetvalueemit",!1),j.error(`${a.response.data.message}`)):a.message?j.error(`${a.message}`):j.error("Failed to add Critical skills")}},T=async()=>{var a,g;const c=(g=(a=t.coreSkillsArray)==null?void 0:a.existingCoreSkills)==null?void 0:g.find(o=>{var E;return!((E=t.enteredCoreskillArray)!=null&&E.find(f=>(o==null?void 0:o.subskillid)===(f==null?void 0:f.subskillid)))});c?e.value=!0:r("consetvalueemit",!1),console.log("immm",c)};return $j(N,c=>{r("consetvalueemit",!c)}),$j(i,c=>{r("consetvalueemit",!c),c===!0&&localStorage.setItem("showdelphiPopup","true")}),(c,a)=>{var g,o;return L.name==="genomework"?(v(),R("section",aSM,[z("div",{class:"fixed -top-6 left-0 z-50 flex h-full min-h-screen w-full items-center justify-center bg-[#707070] bg-opacity-30 p-2 text-[15px] md:top-0 md:p-0 lg:top-0 lg:p-0",onClick:a[1]||(a[1]=E=>c.$emit("consetvalueemit",!1))},[z("div",gSM,[z("div",oSM,[z("span",{class:"pointer pl-2 text-right",onClick:a[0]||(a[0]=E=>c.$emit("consetvalueemit",!1))},a[48]||(a[48]=[z("img",{class:"",src:CL,alt:"Close"},null,-1)]))]),a[49]||(a[49]=z("div",{class:"popup-body geLight -text-blue px-8 py-12"},[z("video",{width:"500",height:"440",class:"border",controls:""},[z("source",{src:"https://genomedev.blob.core.windows.net/genome-aws-home/Gen AI Powered Genome v1.mp4",type:"video/mp4"})])],-1))])])])):L.name==="question"?(v(),R("section",xSM,[z("div",{class:"fixed -top-6 left-0 z-50 flex h-full min-h-screen w-full items-center justify-center bg-[#707070] bg-opacity-30 p-2 text-[15px] md:top-0 md:p-0 lg:top-0 lg:p-0",onClick:a[3]||(a[3]=E=>c.$emit("consetvalueemit",!1))},[z("div",ESM,[z("div",lSM,[z("span",{class:"pointer pl-2 text-right",onClick:a[2]||(a[2]=E=>c.$emit("consetvalueemit",!1))},a[50]||(a[50]=[z("img",{class:"",src:CL,alt:"Close"},null,-1)]))]),z("div",OSM,[z("div",{class:"",innerHTML:L.Question},null,8,dSM)])])])])):L.name==="homepage"?(v(),R("section",wSM,[z("div",fSM,[z("div",CSM,[z("div",QSM,[a[52]||(a[52]=z("div",{class:"text-lg font-bold"},"Important instructions",-1)),a[53]||(a[53]=z("ul",{class:"ul-text1 -text-gray py-2 pl-6"},[z("li",null," Some Genome features are powered by Generative AI and may not be 100% perfect. You have the option to choose AI suggestions or not as you continue your learning journey. Feel free to share your feedback to help improve the features. "),z("li",null,[PM(" Refer to our "),z("a",{href:"https://genpactonline.sharepoint.com/sites/Legal/Compliance/Pages/index.aspx",target:"_blank",class:"underline"},[z("b",null,"Code of Conduct")]),PM(" Document and "),z("a",{href:"https://dcl.genpact.com/document/9fba671f-08c2-48bf-89d6-a591971bd16c",target:"_blank",class:"underline"},[z("b",null,"ChatGPT and Use of AI Programs Policy")]),PM(" before you proceed. ")]),z("li",null,"Maintain confidentiality, refrain from sharing any confidential information such as client names, company financials, or Genpact proprietary information.")],-1)),z("div",USM,[Yt(z("input",{"onUpdate:modelValue":a[4]||(a[4]=E=>S.value=E),class:"mr-1 text-blue-900 outline-none",type:"checkbox"},null,512),[[Yj,S.value]]),a[51]||(a[51]=PM(" I acknowledge that I have read, understand, and agree to the above instructions."))]),z("div",hSM,[z("button",{disabled:!S.value,class:yt([S.value?"-bg-blue inline-block rounded px-6 py-2 text-white":"inline-block rounded bg-gray-400 px-6 py-2 text-white"]),onClick:a[5]||(a[5]=E=>{i.value=!0,n("landing_page_consent")})}," Proceed ",10,YSM)])])])])])):L.name==="importantinstruct"?(v(),R("section",vSM,[z("div",kSM,[z("div",pSM,[z("div",mSM,[z("span",{class:"pointer pl-2 text-right",onClick:a[6]||(a[6]=E=>c.$emit("consetvalueemit",!1))},a[54]||(a[54]=[z("img",{class:"",src:CL,alt:"Close"},null,-1)]))]),a[55]||(a[55]=Pj('<div class="popup-body geLight -text-blue px-8 py-12" data-v-d51c2891><div class="text-lg font-bold" data-v-d51c2891>Important instructions</div><ul class="ul-text1 -text-gray pl-6 pt-2" data-v-d51c2891><li data-v-d51c2891> Some Genome features are powered by Generative AI and may not be 100% perfect. You have the option to choose AI suggestions or not as you continue your learning journey. Feel free to share your feedback to help improve the features. </li><li data-v-d51c2891> Refer to our <a href="https://genpactonline.sharepoint.com/sites/Legal/Compliance/Pages/index.aspx" target="_blank" class="underline" data-v-d51c2891><b data-v-d51c2891>Code of Conduct</b></a> Document and <a href="https://dcl.genpact.com/document/9fba671f-08c2-48bf-89d6-a591971bd16c" target="_blank" class="underline" data-v-d51c2891><b data-v-d51c2891>ChatGPT and Use of AI Programs Policy</b></a> before you proceed. </li><li data-v-d51c2891>Maintain confidentiality, refrain from sharing any confidential information such as client names, company financials, or Genpact proprietary information.</li></ul></div>',1))])])])):L.name==="notification"?(v(),R("section",bSM,[z("div",PSM,[z("div",RSM,[z("div",BSM,[z("span",{class:"pointer pl-2 text-right",onClick:a[7]||(a[7]=E=>c.$emit("consetvalueemit",!1))},a[56]||(a[56]=[z("img",{class:"",src:CL,alt:"Close"},null,-1)]))]),z("div",HSM,[dt(vh)])])])])):L.name==="skillselection"?(v(),R("section",ZSM,[z("div",FSM,[z("div",XSM,[z("div",GSM,[a[58]||(a[58]=z("div",{class:"text-lg font-bold"},"Please check the box below to confirm",-1)),a[59]||(a[59]=z("ul",{class:"ul-text1 -text-gray pl-6 pt-2"},[z("li",null,[PM("I hereby affirm and declare that the information I provided or will provide about my skills on "),z("b",null,"My Skills Profile"),PM(" is current, complete, true, and accurate.")]),z("li",null,"I hereby declare that I meet all the requirements for the skill(s) and proficiency level(s) that I have marked, and that I meet all the requirements for the skill(s) and proficiency level(s) that I will mark."),z("li",null,[PM(" I am aware that the details submitted by me on "),z("b",null,"My Skills Profile"),PM(" will be used to determine my eligibility for roles and projects within Genpact and if such information has been falsified, Genpact reserves the right to disengage me from the role or project or withdraw "),z("b",null,"My Skills Profile"),PM(" from the role or project and initiate actions in accordance with law and/or company policies and procedures. ")])],-1)),z("div",WSM,[Yt(z("input",{"onUpdate:modelValue":a[8]||(a[8]=E=>S.value=E),class:"mr-1 text-blue-900 outline-none",type:"checkbox"},null,512),[[Yj,S.value]]),a[57]||(a[57]=PM(" I confirm"))]),z("div",VSM,[z("button",{disabled:!S.value,class:yt([S.value?"-bg-blue inline-block rounded px-6 py-2 text-white":"inline-block rounded bg-gray-400 px-6 py-2 text-white"]),onClick:a[9]||(a[9]=E=>{N.value=!0,n("save_my_profile_consent")})}," Proceed ",10,JSM)])])])])])):L.name==="showdiscription"?(v(),R("section",qSM,[z("div",{class:"fixed -top-6 left-0 z-50 flex h-full min-h-screen w-full items-center justify-center bg-[#707070] bg-opacity-30 p-2 text-[15px] md:top-0 md:p-0 lg:top-0 lg:p-0",onClick:a[11]||(a[11]=E=>c.$emit("consetvalueemit",!1))},[z("div",KSM,[z("div",_SM,[z("span",{class:"pointer pl-2 text-right",onClick:a[10]||(a[10]=E=>c.$emit("consetvalueemit",!1))},a[60]||(a[60]=[z("img",{class:"",src:CL,alt:"Close"},null,-1)]))]),z("div",$SM,[z("div",{class:"text-left",innerHTML:(o=(g=L.discriptioValue)==null?void 0:g.descriptionPopupvalue)==null?void 0:o.skilldescription},null,8,MyM)])])])])):L.name==="resumeupload"?(v(),R("section",tyM,[z("div",LyM,[z("div",jyM,[z("div",uyM,[a[62]||(a[62]=z("div",{class:"-text-gray"}," We will use your resume only to extract the relevant skills and match them with the skills available in Genome. We will not use your data for any other purposes. Please note that we will not retain your resume within Genome – this will be automatically discarded as soon as the relevant skills have been suggested to you. You may choose whether to add them to your profile or not. ",-1)),a[63]||(a[63]=z("p",{class:"-text-gray pt-2"},"Please check the box below to confirm:",-1)),a[64]||(a[64]=z("ul",{class:"ul-text1 -text-gray pl-6 pt-2"},[z("li",null,"I hereby affirm and declare that the information I provided or will provide about my skills on My Skills Profile is current, complete, true, and accurate."),z("li",null,"I hereby declare that I meet all the requirements for the skill(s) and proficiency level(s) that I have marked, and that I meet all the requirements for the skill(s) and proficiency level(s) that I will mark."),z("li",null," I am aware that the details submitted by me on My Skills Profile will be used to determine my eligibility for roles and projects within Genpact and if such information has been falsified, Genpact reserves the right to disengage me from the role or project or withdraw my profile from the role or project and initiate actions in accordance with law and/or company policies and procedures. ")],-1)),z("div",AyM,[Yt(z("input",{"onUpdate:modelValue":a[12]||(a[12]=E=>S.value=E),class:"mr-1 text-blue-900 outline-none",type:"checkbox"},null,512),[[Yj,S.value]]),a[61]||(a[61]=PM(" I confirm"))]),z("div",NyM,[z("button",{disabled:!S.value,class:yt([S.value?"-bg-blue inline-block rounded px-6 py-2 text-white":"inline-block rounded bg-gray-400 px-6 py-2 text-white"]),onClick:a[13]||(a[13]=E=>(r("consetvalueemit",!1),r("skipinputvalueemit",!1),r("resumeUploadvalueemit",!0)))}," Agree and proceed ",10,eyM)])])])])])):L.name==="manualentry"?(v(),R("section",iyM,[z("div",SyM,[z("div",yyM,[z("div",ryM,[a[66]||(a[66]=z("div",{class:"text-lg font-bold"},"Important instructions",-1)),a[67]||(a[67]=z("p",{class:"-text-gray pt-2"},"Please check the box below to confirm:",-1)),a[68]||(a[68]=z("ul",{class:"ul-text1 -text-gray pl-6 pt-2"},[z("li",null,"I hereby affirm and declare that the information I provided or will provide about my skills on My Skills Profile is current, complete, true, and accurate."),z("li",null,"I hereby declare that I meet all the requirements for the skill(s) and proficiency level(s) that I have marked, and that I meet all the requirements for the skill(s) and proficiency level(s) that I will mark."),z("li",null," I am aware that the details submitted by me on My Skills Profile will be used to determine my eligibility for roles and projects within Genpact and if such information has been falsified, Genpact reserves the right to disengage me from the role or project or withdraw my profile from the role or project and initiate actions in accordance with law and/or company policies and procedures. ")],-1)),z("div",nyM,[Yt(z("input",{"onUpdate:modelValue":a[14]||(a[14]=E=>S.value=E),class:"mr-1 text-blue-900 outline-none",type:"checkbox"},null,512),[[Yj,S.value]]),a[65]||(a[65]=PM(" I confirm"))]),z("div",DyM,[z("button",{disabled:!S.value,class:yt([S.value?"-bg-blue inline-block rounded px-6 py-2 text-white":"inline-block rounded bg-gray-400 px-6 py-2 text-white"]),onClick:a[15]||(a[15]=E=>(r("consetvalueemit",!1),r("skipinputvalueemit",!0),r("resumeUploadvalueemit",!1)))}," Agree and proceed ",10,syM)])])])])])):L.name==="atlistoneskill"?(v(),R("section",TyM,[z("div",{onClick:a[17]||(a[17]=E=>c.$emit("consetvalueemit",!1)),class:"fixed -top-6 left-0 z-50 flex h-full min-h-screen w-full items-center justify-center bg-[#707070] bg-opacity-30 p-2 text-[15px] md:top-0 md:p-0 lg:top-0 lg:p-0"},[z("div",zyM,[z("div",IyM,[a[69]||(a[69]=z("div",{class:"text-lg font-bold"},"Oops!",-1)),a[70]||(a[70]=z("p",{class:"-text-gray pt-2"},"Need at least one subskill to proceed",-1)),z("div",cyM,[z("button",{class:"-bg-blue inline-block cursor-pointer rounded px-6 py-2 text-white",onClick:a[16]||(a[16]=E=>r("consetvalueemit",!1))},"Continue")])])])])])):L.name==="coreskillerror"?(v(),R("section",ayM,[z("div",{onClick:a[21]||(a[21]=E=>c.$emit("consetvalueemit",!1)),class:"fixed -top-6 left-0 z-50 flex h-full min-h-screen w-full items-center justify-center bg-[#707070] bg-opacity-30 p-2 text-[15px] md:top-0 md:p-0 lg:top-0 lg:p-0"},[z("div",gyM,[z("div",oyM,[z("span",{class:"pointer pl-2 text-right",onClick:a[18]||(a[18]=E=>c.$emit("consetvalueemit",!1))},a[71]||(a[71]=[z("img",{class:"",src:CL,alt:"Close"},null,-1)]))]),z("div",xyM,[z("p",EyM,[z("b",null,aM(L.text),1)]),z("div",lyM,[z("button",{id:"removeskill-ok",class:"-bg-blue mr-3 inline-block cursor-pointer rounded px-6 py-2 text-white",onClick:a[19]||(a[19]=E=>r("removeskillemit",!0))},"ok"),z("button",{id:"removeskill-cancel",class:"-bg-blue inline-block cursor-pointer rounded px-6 py-2 text-white",onClick:a[20]||(a[20]=E=>r("consetvalueemit",!1))},"Cancel")])])])])])):L.name==="removesubskill"?(v(),R("section",OyM,[z("div",{onClick:a[25]||(a[25]=E=>c.$emit("consetvalueemit",!1)),class:"fixed -top-6 left-0 z-50 flex h-full min-h-screen w-full items-center justify-center bg-[#707070] bg-opacity-30 p-2 text-[15px] md:top-0 md:p-0 lg:top-0 lg:p-0"},[z("div",dyM,[z("div",wyM,[z("span",{class:"pointer pl-2 text-right",onClick:a[22]||(a[22]=E=>c.$emit("consetvalueemit",!1))},a[72]||(a[72]=[z("img",{class:"",src:CL,alt:"Close"},null,-1)]))]),z("div",fyM,[z("p",CyM,[z("b",null,aM(L.text),1)]),z("div",QyM,[z("button",{id:"removesubskill-ok",class:"-bg-blue mr-3 inline-block cursor-pointer rounded px-6 py-2 text-white",onClick:a[23]||(a[23]=E=>r("removeskillemit",!0))},"ok"),z("button",{id:"removesubskill-cancel",class:"-bg-blue inline-block cursor-pointer rounded px-6 py-2 text-white",onClick:a[24]||(a[24]=E=>r("consetvalueemit",!1))},"Cancel")])])])])])):L.name==="digestpopup"?(v(),R("section",UyM,[z("div",{onClick:a[28]||(a[28]=E=>c.$emit("consetvalueemit",!1)),class:"fixed -top-6 left-0 z-50 flex h-full min-h-screen w-full items-center justify-center bg-[#707070] bg-opacity-30 p-2 text-[15px] md:top-0 md:p-0 lg:top-0 lg:p-0"},[z("div",hyM,[z("div",YyM,[z("span",{class:"pointer pl-2 text-right",onClick:a[26]||(a[26]=E=>c.$emit("consetvalueemit",!1))},a[73]||(a[73]=[z("img",{class:"",src:CL,alt:"Close"},null,-1)]))]),z("div",vyM,[a[74]||(a[74]=z("div",{class:"text-lg font-bold"},"Pause and Verify!",-1)),a[75]||(a[75]=z("p",{class:"-text-gray pt-2"},"Ensure Gen AI got all your skills accurately, including proficiency. Double-check before you submit.",-1)),z("div",kyM,[z("button",{class:"-bg-blue inline-block cursor-pointer rounded px-6 py-2 text-white",onClick:a[27]||(a[27]=E=>(r("consetvalueemit",!1),r("submitprofileemit",!0)))},"Continue")])])])])])):L.name==="startoverpopup"?(v(),R("section",pyM,[z("div",{onClick:a[32]||(a[32]=E=>c.$emit("consetvalueemit",!1)),class:"fixed -top-6 left-0 z-50 flex h-full min-h-screen w-full items-center justify-center bg-[#707070] bg-opacity-30 p-2 text-[15px] md:top-0 md:p-0 lg:top-0 lg:p-0"},[z("div",myM,[z("div",byM,[z("span",{class:"pointer pl-2 text-right",onClick:a[29]||(a[29]=E=>c.$emit("consetvalueemit",!1))},a[76]||(a[76]=[z("img",{class:"",src:CL,alt:"Close"},null,-1)]))]),z("div",PyM,[a[77]||(a[77]=z("div",{class:"text-lg font-bold"},"Pause and Verify!",-1)),a[78]||(a[78]=z("p",{class:"-text-gray pt-2"},"Your skills in the draft will get erased.",-1)),z("div",RyM,[z("button",{class:"-bg-blue mr-3 inline-block cursor-pointer rounded px-6 py-2 text-white",onClick:a[30]||(a[30]=E=>r("startoveremit",!0))},"Continue"),z("button",{class:"-bg-blue inline-block cursor-pointer rounded px-6 py-2 text-white",onClick:a[31]||(a[31]=E=>r("consetvalueemit",!1))},"Cancel")])])])])])):L.name==="onloadpopup"?(v(),R("section",ByM,[z("div",{onClick:a[35]||(a[35]=E=>c.$emit("consetvalueemit",!1)),class:"fixed -top-6 left-0 z-50 flex h-full min-h-screen w-full items-center justify-center bg-[#707070] bg-opacity-30 p-2 text-[15px] md:top-0 md:p-0 lg:top-0 lg:p-0"},[z("div",HyM,[z("div",ZyM,[z("span",{class:"pointer pl-2 text-right",onClick:a[33]||(a[33]=E=>c.$emit("consetvalueemit",!1))},a[79]||(a[79]=[z("img",{class:"",src:CL,alt:"Close"},null,-1)]))]),z("div",FyM,[a[80]||(a[80]=z("p",{class:"-text-gray pt-2"}," Gen AI checked your added skills, compared them with Genpact's prioritised skills list and created a draft of your skills profile. The draft may not contain all skill additions but exact/close matched skills. Review/edit the skills-proficiency if gen AI has missed anything. ",-1)),z("div",XyM,[z("button",{class:"-bg-blue inline-block cursor-pointer rounded px-6 py-2 text-white",onClick:a[34]||(a[34]=E=>r("consetvalueemit",!1))},"Review/edit skills-proficiency before hitting Submit")])])])])])):L.name==="finalPopup"?(v(),R("section",GyM,[z("div",WyM,[z("div",VyM,[z("div",JyM,[a[81]||(a[81]=z("p",{class:"pt-2 text-center text-lg font-bold"},[PM("Learning plan generated! Click on "),z("b",null,"Learn on My Plan"),PM(" and get started")],-1)),z("div",qyM,[z("button",{class:"-bg-blue inline-block cursor-pointer rounded px-6 py-2 text-white",onClick:a[36]||(a[36]=E=>D())},"learn on My Plan")])])])])])):L.name==="coreskills"?(v(),R("section",KyM,[z("div",_yM,[z("div",$yM,[e.value?yM("",!0):(v(),R("div",MrM,[z("span",{class:"pointer pl-2 text-right",onClick:a[37]||(a[37]=E=>T())},a[82]||(a[82]=[z("img",{class:"",src:CL,alt:"Close"},null,-1)]))])),z("div",trM,[A.value?(v(),R("img",LrM)):e.value?(v(),R("div",jrM,[a[83]||(a[83]=z("p",{class:"pt-2 text-center text-lg font-bold"},"There are some unsaved changes please check and submit the changes.",-1)),z("div",urM,[z("button",{class:"-bg-blue m-2 inline-block cursor-pointer rounded px-6 py-2 text-white",onClick:a[38]||(a[38]=E=>I())},"Continue"),z("button",{class:"-bg-blue inline-block cursor-pointer rounded px-6 py-2 text-white",onClick:a[39]||(a[39]=E=>e.value=!1)},"Cancel")])])):(v(),qt(iY,{key:2,name:"coreskillsupdate",onCoreskillsfl:a[40]||(a[40]=E=>c.$emit("consetvalueemit",!1)),onCoreskillemit:a[41]||(a[41]=E=>c.$emit("coreskillemit",!1))}))])])])])):L.name==="feedbackPopup"?(v(),R("section",ArM,[z("div",NrM,[z("div",erM,[z("div",irM,[a[89]||(a[89]=z("div",{class:"text-lg font-bold"},"Feedback",-1)),z("div",null,[z("div",null,[a[87]||(a[87]=z("p",null,"How did you updated your resume?",-1)),z("div",SrM,[z("div",yrM,[Yt(z("input",{class:"mr-1",type:"radio","onUpdate:modelValue":a[42]||(a[42]=E=>y.value=E)},null,512),[[wz,y.value]]),a[84]||(a[84]=z("p",null,"Resume Upload",-1))]),z("div",rrM,[Yt(z("input",{class:"mr-1",type:"radio","onUpdate:modelValue":a[43]||(a[43]=E=>y.value=E)},null,512),[[wz,y.value]]),a[85]||(a[85]=z("p",null,"Manual Addition",-1))]),z("div",nrM,[Yt(z("input",{class:"mr-1",type:"radio","onUpdate:modelValue":a[44]||(a[44]=E=>y.value=E)},null,512),[[wz,y.value]]),a[86]||(a[86]=z("p",null,"Both",-1))])])]),a[88]||(a[88]=Pj('<div class="mt-2" data-v-d51c2891><p data-v-d51c2891>Profile Experience: Rate the skills profile creation/update experience.</p><div class="flex w-1/3 justify-between" data-v-d51c2891><div class="flex" data-v-d51c2891><input class="mr-1" type="radio" data-v-d51c2891><p data-v-d51c2891>Thumbs Up</p></div><div class="flex" data-v-d51c2891><input class="mr-1" type="radio" data-v-d51c2891><p data-v-d51c2891>Thumbs Down</p></div></div></div><div class="mt-2" data-v-d51c2891><p data-v-d51c2891>Gen-AI Draft:Did it capture key skills for your role?</p><div class="flex w-1/3 justify-between" data-v-d51c2891><div class="flex" data-v-d51c2891><input class="mr-1" type="radio" data-v-d51c2891><p data-v-d51c2891>Thumbs Up</p></div><div class="flex" data-v-d51c2891><input class="mr-1" type="radio" data-v-d51c2891><p data-v-d51c2891>Thumbs Down</p></div></div></div>',2))]),z("div",DrM,[z("button",{class:"-bg-blue inline-block cursor-pointer rounded px-6 py-2 text-white",onClick:a[45]||(a[45]=E=>s())},"Continue")])])])])])):L.name==="linkedinPopup"?(v(),R("section",srM,[z("div",TrM,[z("div",zrM,[z("div",IrM,[z("span",{class:"pointer pl-2 text-right",onClick:a[46]||(a[46]=E=>c.$emit("consetvalueemit",!1))},a[90]||(a[90]=[z("img",{class:"",src:CL,alt:"Close"},null,-1)]))]),z("div",crM,[z("div",arM,[z("div",grM,[a[95]||(a[95]=z("p",null,"This learning path has been migrated to Linkedin Learning for a visually engaging, mobile-friendly experience.",-1)),z("p",orM,[a[91]||(a[91]=z("b",null,"Note:",-1)),a[92]||(a[92]=PM(" On the new platform, you will not see the completion status of the cards you completed so far, but your completion is stored in the system. So, do not worry. Click ")),z("a",{class:"cursor-pointer text-genpact-darkest-teal underline",onClick:a[47]||(a[47]=E=>{TM(t).componentCheckv6="Myperformance",c.$emit("consetvalueemit",!1)})},"here"),a[93]||(a[93]=PM(" to review your Immerse completion status. Resume learning from where you left. "))]),a[96]||(a[96]=z("p",{class:"pt-3"},[z("b",null,"Linkedin Learning Login and Profile Sync")],-1)),z("div",xrM,[z("a",{class:"cursor-pointer",href:TM(t).linkedinPopupurl},a[94]||(a[94]=[z("img",{src:IiM},null,-1)]),8,ErM)])])])])])])])):yM("",!0)}}}),jCt="",mu=jL(lrM,[["__scopeId","data-v-d51c2891"]]),OrM={},drM={class:"w-10",src:nj,alt:"Loader Gif"};function wrM(L,M){return v(),R("img",drM)}const SY=jL(OrM,[["render",wrM]]),frM={class:"z-50"},CrM={class:"popup-content border shadow-lg w-full bg-white md:w-3/6 lg:w-3/6"},QrM={class:"popup-body geLight -text-blue px-8 pb-6 pt-8 text-left text-[15px]"},UrM={class:"pt-6 text-center"},hrM=kt({__name:"ErrorMessageComponent",props:{text:{type:String},arrayOf:{type:String},discriptioValue:{type:String},skillData:{type:Array,default:[]}},emits:["consetvalueemit"],setup(L,{emit:M}){IL();const t=M,j=()=>{t("consetvalueemit",!1),window.location.reload()};return(u,A)=>(v(),R("section",frM,[z("div",{onClick:A[1]||(A[1]=N=>j()),class:"fixed -top-6 left-0 z-[99999] flex h-full min-h-screen w-full items-center justify-center bg-white p-2 text-[15px] md:top-0 md:p-0 lg:top-0 lg:p-0"},[z("div",CrM,[z("div",QrM,[A[2]||(A[2]=z("div",{class:"profile-row"},[z("div",{class:"py-2 text-center text-2xl font-bold"},"Session timed out, please refresh page"),z("div",{class:"text-center"},[PM(" If you keep seeing this message "),z("a",{href:"https://genomedev.blob.core.windows.net/genome-aws-documents/Troubleshooting.pdf",target:"_blank",rel:"noopener noreferrer",class:"apianchortag ml-1 mr-1 text-genome-light-blue underline"},"click here"),PM(" to check troubleshooting steps. ")])],-1)),z("div",UrM,[z("button",{class:"-bg-blue inline-block rounded px-6 py-2 text-white",onClick:A[0]||(A[0]=N=>j())},"Ok")])])])])]))}}),uCt="",mI=jL(hrM,[["__scopeId","data-v-b2e2c62d"]]),vA="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB3aWR0aD0iMjJweCIgaGVpZ2h0PSIyMnB4IiB2aWV3Qm94PSIwIDAgMTcgMTciIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+CiAgICA8IS0tIEdlbmVyYXRvcjogU2tldGNoIDU0LjEgKDc2NDkwKSAtIGh0dHBzOi8vc2tldGNoYXBwLmNvbSAtLT4KICAgIDx0aXRsZT5pbmZvLWljb248L3RpdGxlPgogICAgPGRlc2M+Q3JlYXRlZCB3aXRoIFNrZXRjaC48L2Rlc2M+CiAgICA8ZyBpZD0iVklzdWFsLU1pY3Jvc2l0ZS1GaW5hbCIgc3Ryb2tlPSJub25lIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCI+CiAgICAgICAgPGcgaWQ9IlByb2ZpbGUtUGFnZSIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTMzNi4wMDAwMDAsIC0xMjcyLjAwMDAwMCkiIGZpbGw9IiNmZmYiPgogICAgICAgICAgICA8ZyBpZD0ic3VtbWFyeSIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMTY0LjAwMDAwMCwgMTA4Mi4wMDAwMDApIj4KICAgICAgICAgICAgICAgIDxnIGlkPSJPdmVyYWxsLXNjb3JlIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSg2My4wMDAwMDAsIDExOS4wMDAwMDApIj4KICAgICAgICAgICAgICAgICAgICA8ZyBpZD0iaW5mby1pY29uIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgxMDkuMDAwMDAwLCA3MS4wMDAwMDApIj4KICAgICAgICAgICAgICAgICAgICAgICAgPGNpcmNsZSBpZD0iT3ZhbCIgZmlsbD0iIzI2NTQ4OCIgY3g9IjguNSIgY3k9IjguNSIgcj0iOC41Ij48L2NpcmNsZT4KICAgICAgICAgICAgICAgICAgICAgICAgPHRleHQgaWQ9ImkiIGZvbnQtZmFtaWx5PSJHdWFyZGlhbkVneXAtTWVkaXVtSXQsIEd1YXJkaWFuIEVneXAiIGZvbnQtc2l6ZT0iMTYiIGZvbnQtc3R5bGU9Iml0YWxpYyIgZm9udC13ZWlnaHQ9IjUwMCI+CiAgICAgICAgICAgICAgICAgICAgICAgICAgICA8dHNwYW4geD0iNiIgeT0iMTMiPmk8L3RzcGFuPgogICAgICAgICAgICAgICAgICAgICAgICA8L3RleHQ+CiAgICAgICAgICAgICAgICAgICAgPC9nPgogICAgICAgICAgICAgICAgPC9nPgogICAgICAgICAgICA8L2c+CiAgICAgICAgPC9nPgogICAgPC9nPgo8L3N2Zz4=",YrM={class:"z-50"},vrM={class:"fixed -top-6 left-0 z-50 flex h-full min-h-screen w-full items-center justify-center bg-[#707070] bg-opacity-30 p-2 text-[15px] md:top-0 md:p-0 lg:top-0 lg:p-0"},krM={class:"popup-content shadow-lg w-full bg-white md:w-3/6 lg:w-3/6"},prM={class:"flex w-full justify-end p-6"},mrM={class:"popup-body geLight -text-blue px-8 pb-6 text-left text-[15px]"},brM={class:"profile-row"},PrM={key:0,class:"profile-body h-80 overflow-y-auto"},RrM={class:"w-full text-left"},BrM={key:0,class:"-text-gray flex bg-white"},HrM={class:"w-1/2 px-4 pt-1 text-xs"},ZrM={key:0,class:"text-xs text-background-secondary"},FrM={key:1,class:"ml-2 font-bold text-red-500"},XrM={key:2,style:{"font-size":"0.7rem"},class:"text-xs font-bold text-background-secondary"},GrM={class:"w-1/2 px-4 pt-1"},WrM={class:"flex w-full items-center justify-center"},VrM={class:"bits1 flex w-full items-center pl-3"},JrM=["id","onClick"],qrM={class:"z-10"},KrM=["id","onClick"],_rM={class:""},$rM=["onClick"],MnM={key:1,class:"profile-body pl-3 pt-2"},tnM={class:"pt-6 text-left"},LnM=kt({__name:"SkillPopupComponent",props:{name:{type:String},arrayOf:{type:String},discriptioValue:{type:String},skillData:{type:Object,default:{}}},emits:["consetvalueemit","skillpopupdata"],setup(L,{emit:M}){const t=Tu(),j=L,u=V([{ID:"97103561-8dc3-4fe7-ad0a-4f8dedac8f6b",code:1,Slug:"B",Title:"beginner"},{ID:"407b8b7b-b3ac-4074-b129-c66d22eb78d4",code:2,Slug:"I",Title:"intermediate"},{ID:"5ed7edb5-3967-4bda-aa2a-093c069df241",code:3,Slug:"P",Title:"proficient"},{ID:"dea6184e-8d52-4852-a6cb-daf633e36f18",code:4,Slug:"E",Title:"expert"},{ID:"f7af7994-62bf-41db-af0e-c580d2e9c753",code:5,Slug:"O",Title:"optional"}]),A=V(!1);V(!1);const N=M,e=(S,y)=>{var r;(r=j.skillData)==null||r.subskill.forEach(n=>{var D;n.skill_id===S&&(n.proficiencyId=y,n.proficiencyId!==null&&n.skillStatus&&n.addatlistonesubskill===!0&&(n.addatlistonesubskill=!1),u==null||u.value.forEach(s=>{s.ID===y&&(n.proficiency=s.Title)})),n.proficiencyId!==null&&n.skillStatus&&((D=j.skillData)==null?void 0:D.addatlistonesubskill)===!0&&(j.skillData.addatlistonesubskill=!1)})},i=S=>{var r,n,D,s;((n=(r=j==null?void 0:j.skillData)==null?void 0:r.subskill)==null?void 0:n.filter(I=>I.skillStatus)).length>1?(D=j==null?void 0:j.skillData)==null||D.subskill.forEach(I=>{I.skill_id===S&&(I.skillStatus=!1)}):(t.error("To proceed further, add atleast one subskill under the primary skill"),(s=j==null?void 0:j.skillData)==null||s.subskill.forEach(I=>{I.skillStatus=!0}))};return $j(A,S=>{N("consetvalueemit",!S)}),(S,y)=>{var r,n,D;return v(),R("section",YrM,[z("div",vrM,[z("div",krM,[z("div",prM,[z("span",{class:"pointer pl-2 text-right",onClick:y[0]||(y[0]=s=>S.$emit("consetvalueemit",!1))},y[2]||(y[2]=[z("img",{class:"",src:CL,alt:"Close"},null,-1)]))]),z("div",mrM,[y[10]||(y[10]=z("h1",{class:"mb-4 text-center text-lg"},"Select at least one subskill relevant to your role",-1)),z("div",brM,[y[9]||(y[9]=z("div",{class:"flex"},[z("div",{class:"profile-head ml-11 w-1/2 font-bold"},"Skill"),z("div",{class:"profile-head w-1/2 text-center font-bold"},"Proficiency")],-1)),(n=(r=L.skillData)==null?void 0:r.subskill)!=null&&n.length?(v(),R("div",PrM,[z("table",RrM,[z("tbody",null,[(v(!0),R(WM,null,et((D=L.skillData)==null?void 0:D.subskill,(s,I)=>(v(),R("div",{key:I,class:""},[s.skillStatus?(v(),R("tr",BrM,[z("div",HrM,[PM(aM(s.skill)+" ",1),s.is_mandatory?(v(),R("sup",ZrM,y[3]||(y[3]=[z("b",null,"*",-1)]))):yM("",!0),y[4]||(y[4]=PM()),s.codered?(v(),R("span",FrM,"Missing Proficiency")):yM("",!0),s.is_new?(v(),R("span",XrM,"(new)")):yM("",!0)]),z("div",GrM,[z("div",WrM,[y[8]||(y[8]=z("div",{class:"w-4"},null,-1)),z("div",null,[z("ol",VrM,[(v(!0),R(WM,null,et(u.value.slice(0,4),T=>(v(),R("li",{key:T.ID+Math.random()*1e3,class:"flex w-full items-center after:inline-block after:w-full after:content-['']"},[T.ID===s.proficiencyId&&T.ID===s.idealProficiencyId?(v(),R("span",{key:0,id:`skills-radio-${s.skill_id}-${T.ID}`,class:"-border-gray-1 flex h-5 w-5 shrink-0 items-center justify-center overflow-hidden rounded text-white",onClick:c=>e(s.skill_id,T.ID)},[y[5]||(y[5]=z("span",{class:"-bg-aqua span-a2 flex"},null,-1)),z("span",qrM,aM(T.Slug),1),y[6]||(y[6]=z("span",{class:"-bg-blue span-b2 flex"},null,-1))],8,JrM)):(v(),R("span",{key:1,id:`skills-radio-${s.skill_id}-${T.ID}`,class:yt([T.ID===s.proficiencyId?"-bg-aqua -border-gray-1 relative flex h-5 w-5 shrink-0 items-center justify-center rounded text-white":T.ID===s.idealProficiencyId?"-bg-blue -border-gray-1 relative flex h-5 w-5 shrink-0 items-center justify-center rounded text-white":"-bg-white -border-gray-1 relative flex h-5 w-5 shrink-0 items-center justify-center rounded text-gray-700"]),onClick:c=>e(s.skill_id,T.ID)},[z("span",_rM,aM(T.Slug),1)],10,KrM))]))),128))])]),s.is_mandatory?yM("",!0):(v(),R("div",{key:0,class:"pl-4",onClick:T=>i(s.skill_id)},y[7]||(y[7]=[z("svg",{xmlns:"http://www.w3.org/2000/svg",class:"h4 pointer bi bi-trash w-4",fill:"gray",viewBox:"0 0 16 16"},[z("path",{d:"M5.5 5.5A.5.5 0 0 1 6 6v6a.5.5 0 0 1-1 0V6a.5.5 0 0 1 .5-.5zm2.5 0a.5.5 0 0 1 .5.5v6a.5.5 0 0 1-1 0V6a.5.5 0 0 1 .5-.5zm3 .5a.5.5 0 0 0-1 0v6a.5.5 0 0 0 1 0V6z"}),z("path",{"fill-rule":"evenodd",d:"M14.5 3a1 1 0 0 1-1 1H13v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V4h-.5a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1H6a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1h3.5a1 1 0 0 1 1 1v1zM4.118 4 4 4.059V13a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1V4.059L11.882 4H4.118zM2.5 3V2h11v1h-11z"})],-1)]),8,$rM))])])])):yM("",!0)]))),128))])])])):(v(),R("div",MnM,"No skills found"))]),z("div",tnM,[z("button",{class:"-bg-blue inline-block rounded px-6 py-2 text-white",onClick:y[1]||(y[1]=s=>S.$emit("consetvalueemit",!1))},"Submit")])])])])])}}}),ACt="",jnM=jL(LnM,[["__scopeId","data-v-d6914852"]]),unM={class:"z-50"},AnM={class:"fixed -top-6 left-0 z-50 flex h-full min-h-screen w-full items-center justify-center bg-[#707070] bg-opacity-30 p-2 text-[15px] md:top-0 md:p-0 lg:top-0 lg:p-0"},NnM={class:"popup-content shadow-lg w-full bg-white md:w-3/6 lg:w-3/6"},enM={class:"flex w-full justify-end"},inM={key:0,class:"popup-body geLight -text-blue px-8 pb-6 text-left text-[15px]"},SnM={class:""},ynM={key:0,class:"profile-row boderd mb-4 border-b py-3"},rnM={key:0,class:"profile-body max-h-24"},nnM={class:"w-full text-left"},DnM={key:0,class:"-text-gray flex bg-white"},snM={class:"w-1/2 px-4 pt-1 text-xs"},TnM={key:0,class:"text-xs text-background-secondary"},znM={key:1,class:"text-xs font-bold text-background-secondary"},InM={key:2,style:{"font-size":"0.7rem"},class:"text-xs ml-1 font-bold text-background-secondary"},cnM={key:3,class:"ml-2 font-bold text-red-500"},anM={class:"w-1/2 px-4 pt-1"},gnM={class:"flex w-full items-center justify-center"},onM={class:"bits1 flex w-full items-center pl-3"},xnM=["id","onClick"],EnM={class:"z-10"},lnM=["id","onClick"],OnM={class:""},dnM={key:0,class:"pl-4"},wnM=["id","onClick"],fnM={key:1,class:"profile-body pl-3 pt-2"},CnM={class:"profile-row"},QnM={class:"flex"},UnM={key:0,class:"profile-head mb-2 w-1/2 font-bold"},hnM={key:1,class:"profile-head mb-2 w-1/2 font-bold"},YnM={key:0,class:"scrollbarbody max-h-40"},vnM={class:"w-full text-left"},knM={key:0,class:"-text-gray flex bg-white"},pnM={class:"w-1/2 px-4 pt-1 text-xs"},mnM={key:0,class:"text-xs text-background-secondary"},bnM={key:1,class:"text-xs font-bold text-background-secondary"},PnM={key:2,style:{"font-size":"0.7rem"},class:"text-xs ml-1 font-bold text-background-secondary"},RnM={key:3,class:"ml-2 font-bold text-red-500"},BnM={class:"w-1/2 px-4 pt-1"},HnM={class:"flex w-full items-center justify-center"},ZnM={class:"bits1 flex w-full items-center pl-3"},FnM=["id","onClick"],XnM={class:"z-10"},GnM=["id","onClick"],WnM={class:""},VnM={key:0,class:"pl-4"},JnM=["id","onClick"],qnM={key:1,class:"profile-body pl-3 pt-2"},KnM={class:"pt-6 text-left"},_nM={key:1,class:"flex items-center justify-center"},$nM=kt({__name:"SkillExistingPopupComponent",props:{name:{type:String},skillload:{type:Boolean},arrayOf:{type:String},discriptioValue:{type:String},skillData:{type:Object,default:{}}},emits:["consetvalueemit","skillpopupdata","savecheckemit"],setup(L,{emit:M}){const t=IL(),j=Tu(),u=L,A=V([{ID:"97103561-8dc3-4fe7-ad0a-4f8dedac8f6b",code:1,Slug:"B",Title:"beginner"},{ID:"407b8b7b-b3ac-4074-b129-c66d22eb78d4",code:2,Slug:"I",Title:"intermediate"},{ID:"5ed7edb5-3967-4bda-aa2a-093c069df241",code:3,Slug:"P",Title:"proficient"},{ID:"dea6184e-8d52-4852-a6cb-daf633e36f18",code:4,Slug:"E",Title:"expert"},{ID:"f7af7994-62bf-41db-af0e-c580d2e9c753",code:5,Slug:"O",Title:"optional"}]),N=V(!1),e=V(!1),i=M;oL(async()=>{var D,s,I,T;console.log("props?.skillData?.skillarray?.subskill",(s=(D=u==null?void 0:u.skillData)==null?void 0:D.skillarray)==null?void 0:s.subskill),(T=(I=u==null?void 0:u.skillData)==null?void 0:I.skillarray)==null||T.subskill.forEach(c=>{c!=null&&c.skillStatus&&(c==null?void 0:c.idealProficiencyId)!=="f7af7994-62bf-41db-af0e-c580d2e9c753"&&(c==null?void 0:c.idealProficiencyId)!==null&&(e.value=!0)})});const S=(D,s)=>{var I,T;i("savecheckemit",!0),(T=(I=u==null?void 0:u.skillData)==null?void 0:I.skillarray)==null||T.subskill.forEach(c=>{var a;c.skill_id===D&&(c.proficiencyId=s,c.proficiencyId!==null&&c.skillStatus&&c.addatlistonesubskill===!0&&(c.addatlistonesubskill=!1),A==null||A.value.forEach(g=>{g.ID===s&&(c.proficiency=g.Title)})),c.proficiencyId!==null&&c.skillStatus&&((a=u.skillData)==null?void 0:a.addatlistonesubskill)===!0&&(u.skillData.addatlistonesubskill=!1)})},y=async D=>{try{const I=await HL("/delphi/coreskills/save",{core_skills:D,saveToProfileFlag:!0});return t.initFunction(),I&&!I.data.error?!0:(j.error("Failed to add Critical skills"),!1)}catch(s){return s.response?j.error(`${s.response.data.message}`):s.message?j.error(`${s.message}`):j.error("Failed to add Critical skills"),!1}},r=D=>{var I,T,c,a,g,o,E;i("savecheckemit",!0),((c=(T=(I=u==null?void 0:u.skillData)==null?void 0:I.skillarray)==null?void 0:T.subskill)==null?void 0:c.filter(f=>f.skillStatus)).length>1?(g=(a=u==null?void 0:u.skillData)==null?void 0:a.skillarray)==null||g.subskill.forEach(f=>{var C,h;f.skill_id===D&&((h=(C=t.coreSkillsArray)==null?void 0:C.existingCoreSkills)==null||h.forEach(async Y=>{var k,p;if(D===Y.subskillid){const m=(p=(k=t.coreSkillsArray)==null?void 0:k.existingCoreSkills)==null?void 0:p.filter(Q=>D!==Q.subskillid);await y(m)||(f.skillStatus=!0)}}),f.skillStatus=!1)}):(j.error("To proceed further, add atleast one subskill under the primary skill"),(E=(o=u==null?void 0:u.skillData)==null?void 0:o.skillarray)==null||E.subskill.forEach(f=>{f.skillStatus=!0}))},n=()=>{var D,s,I,T,c;(s=(D=u==null?void 0:u.skillData)==null?void 0:D.skillarray)==null||s.subskill.forEach(a=>{var g;a.proficiencyId!=="f7af7994-62bf-41db-af0e-c580d2e9c753"&&(u.skillData.allskillarray.push(a),((g=u==null?void 0:u.skillData)==null?void 0:g.skillarray.codered)===!0&&(u.skillData.skillarray.codered=!1))}),u.skillData.skillarray.subskill=(c=(T=(I=u==null?void 0:u.skillData)==null?void 0:I.skillarray)==null?void 0:T.subskill)==null?void 0:c.filter(a=>a.proficiencyId!=="f7af7994-62bf-41db-af0e-c580d2e9c753"),i("consetvalueemit",!1)};return $j(N,D=>{i("consetvalueemit",!D)}),(D,s)=>{var I,T,c,a,g,o,E,f,C,h;return v(),R("section",unM,[z("div",AnM,[z("div",NnM,[z("div",enM,[z("span",{class:"pointer pl-2 text-right",onClick:s[0]||(s[0]=Y=>n())},s[2]||(s[2]=[z("img",{class:"",src:CL,alt:"Close"},null,-1)]))]),L.skillload?(v(),R("div",inM,[s[17]||(s[17]=z("h1",{class:"mb-4 text-center text-lg"},"Select at least one subskill relevant to your role",-1)),z("div",SnM,[e.value?(v(),R("div",ynM,[s[9]||(s[9]=z("div",{class:"flex"},[z("div",{class:"profile-head mb-2 w-1/2 font-bold"},"Recommended subskills"),z("div",{class:"profile-head mb-2 w-1/2 text-center font-bold"},"Proficiency level")],-1)),(c=(T=(I=L.skillData)==null?void 0:I.skillarray)==null?void 0:T.subskill)!=null&&c.length?(v(),R("div",rnM,[z("table",nnM,[z("tbody",null,[(v(!0),R(WM,null,et((g=(a=L.skillData)==null?void 0:a.skillarray)==null?void 0:g.subskill,(Y,k)=>(v(),R("div",{key:k,class:""},[Y.skillStatus&&Y.idealProficiencyId!=="f7af7994-62bf-41db-af0e-c580d2e9c753"&&Y.idealProficiencyId!==null?(v(),R("tr",DnM,[z("div",snM,[PM(aM(Y.skill),1),Y.is_mandatory?(v(),R("sup",TnM,s[3]||(s[3]=[z("b",null,"*",-1)]))):yM("",!0),Y!=null&&Y.tags&&(Y==null?void 0:Y.tags[0])==="CORE"?(v(),R("span",znM,"(Critical Skill)")):yM("",!0),Y.is_new?(v(),R("span",InM,"(new)")):yM("",!0),Y.codered?(v(),R("span",cnM,"Missing Proficiency")):yM("",!0)]),z("div",anM,[z("div",gnM,[s[8]||(s[8]=z("div",{class:"w-4"},null,-1)),z("div",null,[z("ol",onM,[(v(!0),R(WM,null,et(A.value.slice(0,4),p=>(v(),R("li",{key:p.ID+Math.random()*1e3,class:"flex w-full items-center after:inline-block after:w-full after:content-['']"},[p.ID===Y.proficiencyId&&p.ID===Y.idealProficiencyId?(v(),R("span",{key:0,id:`skills-radio-${Y.skill_id}-${p.ID}`,class:"-border-gray-1 flex h-5 w-5 shrink-0 items-center justify-center overflow-hidden rounded text-white",onClick:m=>S(Y.skill_id,p.ID)},[s[4]||(s[4]=z("span",{class:"-bg-aqua span-a2 flex"},null,-1)),z("span",EnM,aM(p.Slug),1),s[5]||(s[5]=z("span",{class:"-bg-blue span-b2 flex"},null,-1))],8,xnM)):(v(),R("span",{key:1,id:`skills-radio-${Y.skill_id}-${p.ID}`,class:yt([p.ID===Y.proficiencyId?"-bg-aqua -border-gray-1 relative flex h-5 w-5 shrink-0 items-center justify-center rounded text-white":p.ID===Y.idealProficiencyId?"-bg-blue -border-gray-1 relative flex h-5 w-5 shrink-0 items-center justify-center rounded text-white":"-bg-white -border-gray-1 relative flex h-5 w-5 shrink-0 items-center justify-center rounded text-gray-700"]),onClick:m=>S(Y.skill_id,p.ID)},[z("span",OnM,aM(p.Slug),1)],10,lnM))]))),128))])]),Y.is_mandatory?(v(),R("div",dnM,s[6]||(s[6]=[z("svg",{xmlns:"http://www.w3.org/2000/svg",class:"h4bi bi-trash w-4 opacity-40",fill:"gray",viewBox:"0 0 16 16"},[z("path",{d:"M5.5 5.5A.5.5 0 0 1 6 6v6a.5.5 0 0 1-1 0V6a.5.5 0 0 1 .5-.5zm2.5 0a.5.5 0 0 1 .5.5v6a.5.5 0 0 1-1 0V6a.5.5 0 0 1 .5-.5zm3 .5a.5.5 0 0 0-1 0v6a.5.5 0 0 0 1 0V6z"}),z("path",{"fill-rule":"evenodd",d:"M14.5 3a1 1 0 0 1-1 1H13v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V4h-.5a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1H6a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1h3.5a1 1 0 0 1 1 1v1zM4.118 4 4 4.059V13a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1V4.059L11.882 4H4.118zM2.5 3V2h11v1h-11z"})],-1)]))):(v(),R("div",{key:1,id:"remove-sub-skill-"+(Y==null?void 0:Y.skill_id),class:"pl-4",onClick:p=>r(Y==null?void 0:Y.skill_id)},s[7]||(s[7]=[z("svg",{xmlns:"http://www.w3.org/2000/svg",class:"h4 pointer bi bi-trash w-4",fill:"gray",viewBox:"0 0 16 16"},[z("path",{d:"M5.5 5.5A.5.5 0 0 1 6 6v6a.5.5 0 0 1-1 0V6a.5.5 0 0 1 .5-.5zm2.5 0a.5.5 0 0 1 .5.5v6a.5.5 0 0 1-1 0V6a.5.5 0 0 1 .5-.5zm3 .5a.5.5 0 0 0-1 0v6a.5.5 0 0 0 1 0V6z"}),z("path",{"fill-rule":"evenodd",d:"M14.5 3a1 1 0 0 1-1 1H13v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V4h-.5a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1H6a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1h3.5a1 1 0 0 1 1 1v1zM4.118 4 4 4.059V13a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1V4.059L11.882 4H4.118zM2.5 3V2h11v1h-11z"})],-1)]),8,wnM))])])])):yM("",!0)]))),128))])])])):(v(),R("div",fnM,"No skills found"))])):yM("",!0),z("div",CnM,[z("div",QnM,[e.value?(v(),R("div",UnM,"Others")):(v(),R("div",hnM,"Subskills")),s[10]||(s[10]=z("div",{class:"profile-head mb-2 w-1/2 text-center font-bold"},"Proficiency level",-1))]),(f=(E=(o=L.skillData)==null?void 0:o.skillarray)==null?void 0:E.subskill)!=null&&f.length?(v(),R("div",YnM,[z("table",vnM,[z("tbody",null,[(v(!0),R(WM,null,et((h=(C=L.skillData)==null?void 0:C.skillarray)==null?void 0:h.subskill,(Y,k)=>(v(),R("div",{key:k,class:""},[Y.skillStatus&&(Y.idealProficiencyId==="f7af7994-62bf-41db-af0e-c580d2e9c753"||Y.idealProficiencyId===null)?(v(),R("tr",knM,[z("div",pnM,[PM(aM(Y.skill),1),Y.is_mandatory?(v(),R("sup",mnM,s[11]||(s[11]=[z("b",null,"*",-1)]))):yM("",!0),Y!=null&&Y.tags&&(Y==null?void 0:Y.tags[0])==="CORE"?(v(),R("span",bnM,"(Critical Skill)")):yM("",!0),Y.is_new?(v(),R("span",PnM,"(new)")):yM("",!0),Y.codered?(v(),R("span",RnM,"Missing Proficiency")):yM("",!0)]),z("div",BnM,[z("div",HnM,[s[16]||(s[16]=z("div",{class:"w-4"},null,-1)),z("div",null,[z("ol",ZnM,[(v(!0),R(WM,null,et(A.value.slice(0,4),p=>(v(),R("li",{key:p.ID+Math.random()*1e3,class:"flex w-full items-center after:inline-block after:w-full after:content-['']"},[p.ID===Y.proficiencyId&&p.ID===Y.idealProficiencyId?(v(),R("span",{key:0,id:`skills-radio-${Y.skill_id}-${p.ID}`,class:"-border-gray-1 flex h-5 w-5 shrink-0 items-center justify-center overflow-hidden rounded text-white",onClick:m=>S(Y.skill_id,p.ID)},[s[12]||(s[12]=z("span",{class:"-bg-aqua span-a2 flex"},null,-1)),z("span",XnM,aM(p.Slug),1),s[13]||(s[13]=z("span",{class:"-bg-blue span-b2 flex"},null,-1))],8,FnM)):(v(),R("span",{key:1,id:`skills-radio-${Y.skill_id}-${p.ID}`,class:yt([p.ID===Y.proficiencyId?"-bg-aqua -border-gray-1 relative flex h-5 w-5 shrink-0 items-center justify-center rounded text-white":p.ID===Y.idealProficiencyId?"-bg-blue -border-gray-1 relative flex h-5 w-5 shrink-0 items-center justify-center rounded text-white":"-bg-white -border-gray-1 relative flex h-5 w-5 shrink-0 items-center justify-center rounded text-gray-700"]),onClick:m=>S(Y.skill_id,p.ID)},[z("span",WnM,aM(p.Slug),1)],10,GnM))]))),128))])]),Y.is_mandatory?(v(),R("div",VnM,s[14]||(s[14]=[z("svg",{xmlns:"http://www.w3.org/2000/svg",class:"h4bi bi-trash w-4 opacity-40",fill:"gray",viewBox:"0 0 16 16"},[z("path",{d:"M5.5 5.5A.5.5 0 0 1 6 6v6a.5.5 0 0 1-1 0V6a.5.5 0 0 1 .5-.5zm2.5 0a.5.5 0 0 1 .5.5v6a.5.5 0 0 1-1 0V6a.5.5 0 0 1 .5-.5zm3 .5a.5.5 0 0 0-1 0v6a.5.5 0 0 0 1 0V6z"}),z("path",{"fill-rule":"evenodd",d:"M14.5 3a1 1 0 0 1-1 1H13v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V4h-.5a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1H6a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1h3.5a1 1 0 0 1 1 1v1zM4.118 4 4 4.059V13a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1V4.059L11.882 4H4.118zM2.5 3V2h11v1h-11z"})],-1)]))):(v(),R("div",{key:1,id:"remove-sub-skill-"+(Y==null?void 0:Y.skill_id),class:"pl-4",onClick:p=>r(Y==null?void 0:Y.skill_id)},s[15]||(s[15]=[z("svg",{xmlns:"http://www.w3.org/2000/svg",class:"h4 pointer bi bi-trash w-4",fill:"gray",viewBox:"0 0 16 16"},[z("path",{d:"M5.5 5.5A.5.5 0 0 1 6 6v6a.5.5 0 0 1-1 0V6a.5.5 0 0 1 .5-.5zm2.5 0a.5.5 0 0 1 .5.5v6a.5.5 0 0 1-1 0V6a.5.5 0 0 1 .5-.5zm3 .5a.5.5 0 0 0-1 0v6a.5.5 0 0 0 1 0V6z"}),z("path",{"fill-rule":"evenodd",d:"M14.5 3a1 1 0 0 1-1 1H13v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V4h-.5a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1H6a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1h3.5a1 1 0 0 1 1 1v1zM4.118 4 4 4.059V13a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1V4.059L11.882 4H4.118zM2.5 3V2h11v1h-11z"})],-1)]),8,JnM))])])])):yM("",!0)]))),128))])])])):(v(),R("div",qnM,"No skills found"))])]),z("div",KnM,[z("button",{class:"-bg-blue inline-block rounded px-6 py-2 text-white",onClick:s[1]||(s[1]=Y=>n())},"Submit")])])):(v(),R("div",_nM,s[18]||(s[18]=[z("img",{class:"w-24",src:nj,alt:"Loader Gif"},null,-1)])))])])])}}}),NCt="",yY=jL($nM,[["__scopeId","data-v-13392a51"]]),MDM={id:"skillSubmitionscroollid"},tDM={key:0,class:""},LDM={key:1,id:"loadedid",class:""},jDM={class:"rounded-md border"},uDM={key:0,class:"absolute z-40 h-full w-full cursor-not-allowed text-[15px]"},ADM={class:"profileStartInner"},NDM={class:"max-h-96 overflow-y-auto"},eDM={class:"profile-row py-2"},iDM={class:"relative"},SDM={key:0,class:""},yDM={key:0,class:"pointer ml-2 h-8 w-8 bg-white p-2 text-right font-bold text-black","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 18 18"},rDM={key:0,class:"profile-body"},nDM={key:0,class:"w-full text-left"},DDM={key:0},sDM={key:0,class:"-text-gray flex bg-white"},TDM={class:"w-1/2 px-4 pt-1 text-xs"},zDM={key:0,class:"text-xs text-background-secondary"},IDM={key:1,style:{"font-size":"0.7rem"},class:"text-xs font-bold text-background-secondary"},cDM={class:"ml-2 font-bold text-red-500"},aDM={key:0},gDM={class:"w-1/2 px-4 pt-1"},oDM={class:"flex w-full items-center justify-center"},xDM=["onClick"],EDM={class:"bits1 flex w-full items-center pl-3"},lDM=["id","onClick"],ODM={class:"z-10"},dDM=["id","onClick"],wDM={class:""},fDM={key:0,class:"pl-4"},CDM=["onClick"],QDM={key:1},UDM={key:0,class:"ml-2 w-1/2 pl-4 pt-1 text-xs"},hDM={key:0,class:"ml-2 font-bold text-red-500"},YDM={key:1,class:"w-1/2 pt-1 md:px-4 lg:px-4"},vDM={class:"flex w-full items-center justify-center"},kDM={class:"bits1 flex w-full items-center justify-center"},pDM=["id","onClick"],mDM={class:"z-10"},bDM=["id","onClick"],PDM={class:""},RDM={key:0,class:"pl-4"},BDM=["onClick"],HDM={key:2},ZDM={class:"px-7 pt-2 text-xs"},FDM=["onClick"],XDM={key:0},GDM={class:"w-1/3 px-4 pt-2 text-xs"},WDM={key:1},VDM={class:"w-1/3 px-4 pt-2 text-xs"},JDM={key:1,class:"profile-body pl-3 pt-2"},qDM={class:"profile-row py-2"},KDM={class:"relative"},_DM={key:0,class:""},$DM={key:0,class:"pointer ml-2 h-8 w-8 bg-white p-2 text-right font-bold text-black","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 18 18"},MsM={key:0,class:"absolute z-50 w-2/3 border border-gray-300 bg-white p-2 text-xs"},tsM={key:0,class:"profile-body"},LsM={key:0,class:"w-full text-left"},jsM={key:0},usM={key:0,class:"-text-gray flex bg-white"},AsM={class:"w-1/2 px-4 pt-1 text-xs"},NsM={key:0,class:"text-xs text-background-secondary"},esM={key:1,style:{"font-size":"0.7rem"},class:"text-xs font-bold text-background-secondary"},isM={class:"ml-2 font-bold text-red-500"},SsM={key:0},ysM={class:"w-1/2 px-4 pt-1"},rsM={class:"flex w-full items-center justify-center"},nsM=["onClick"],DsM={class:"bits1 flex w-full items-center pl-3"},ssM=["id","onClick"],TsM={class:"z-10"},zsM=["id","onClick"],IsM={class:""},csM={key:0,class:"pl-4"},asM=["onClick"],gsM={key:1},osM={key:0,class:"ml-2 w-1/2 pl-4 pt-1 text-xs"},xsM={key:0,class:"ml-2 font-bold text-red-500"},EsM={key:1,class:"w-1/2 pt-1 md:px-4 lg:px-4"},lsM={class:"flex w-full items-center justify-center"},OsM={class:"bits1 flex w-full items-center justify-center"},dsM=["id","onClick"],wsM={class:"z-10"},fsM=["id","onClick"],CsM={class:""},QsM={key:0,class:"pl-4"},UsM=["onClick"],hsM={key:2},YsM={class:"px-7 pt-2 text-xs"},vsM=["onClick"],ksM={key:0},psM={class:"w-1/3 px-4 pt-2 text-xs"},msM={key:1},bsM={class:"w-1/3 px-4 pt-2 text-xs"},PsM={key:1,class:"profile-body pl-3 pt-2"},RsM={class:"profile-row py-2"},BsM={class:"relative"},HsM={key:0,class:""},ZsM={key:0,class:"pointer ml-2 h-8 w-8 bg-white p-2 text-right font-bold text-black","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 18 18"},FsM={key:0,class:"absolute z-50 w-2/3 border border-gray-300 bg-white p-2 text-xs"},XsM={key:0,class:"profile-body"},GsM={key:0,class:"w-full text-left"},WsM={key:0},VsM={key:0,class:"-text-gray flex bg-white"},JsM={class:"w-1/2 px-4 pt-1 text-xs"},qsM={key:0,class:"text-xs text-background-secondary"},KsM={key:1,style:{"font-size":"0.7rem"},class:"text-xs font-bold text-background-secondary"},_sM={class:"ml-2 font-bold text-red-500"},$sM={key:0},MTM={class:"w-1/2 px-4 pt-1"},tTM={class:"flex w-full items-center justify-center"},LTM=["onClick"],jTM={class:"bits1 flex w-full items-center pl-3"},uTM=["id","onClick"],ATM={class:"z-10"},NTM=["id","onClick"],eTM={class:""},iTM={key:0,class:"pl-4"},STM=["onClick"],yTM={key:1},rTM={key:0,class:"ml-2 w-1/2 pl-4 pt-1 text-xs"},nTM={key:0,class:"ml-2 font-bold text-red-500"},DTM={key:1,class:"w-1/2 pt-1 md:px-4 lg:px-4"},sTM={class:"flex w-full items-center justify-center"},TTM={class:"bits1 flex w-full items-center justify-center"},zTM=["id","onClick"],ITM={class:"z-10"},cTM=["id","onClick"],aTM={class:""},gTM={key:0,class:"pl-4"},oTM=["onClick"],xTM={key:2},ETM={class:"px-7 pt-2 text-xs"},lTM=["onClick"],OTM={key:0},dTM={class:"w-1/3 px-4 pt-2 text-xs"},wTM={key:1},fTM={class:"w-1/3 px-4 pt-2 text-xs"},CTM={key:1,class:"profile-body pl-3 pt-2"},QTM={class:"profile-row py-2"},UTM={class:"relative"},hTM={key:0,class:""},YTM={key:0,class:"pointer ml-2 h-8 w-8 bg-white p-2 text-right font-bold text-black","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 18 18"},vTM={key:0,class:"absolute z-50 w-2/3 border border-gray-300 bg-white p-2 text-xs"},kTM={key:0,class:"profile-body"},pTM={key:0,class:"w-full text-left"},mTM={key:0},bTM={key:0,class:"-text-gray flex bg-white"},PTM={class:"w-1/2 px-4 pt-1 text-xs"},RTM={key:0,class:"text-xs text-background-secondary"},BTM={key:1,style:{"font-size":"0.7rem"},class:"text-xs font-bold text-background-secondary"},HTM={class:"ml-2 font-bold text-red-500"},ZTM={key:0},FTM={class:"w-1/2 px-4 pt-1"},XTM={class:"flex w-full items-center justify-center"},GTM=["onClick"],WTM={class:"bits1 flex w-full items-center pl-3"},VTM=["id","onClick"],JTM={class:"z-10"},qTM=["id","onClick"],KTM={class:""},_TM={key:0,class:"pl-4"},$TM=["onClick"],MzM={key:1},tzM={key:0,class:"ml-2 w-1/2 pl-4 pt-1 text-xs"},LzM={key:0,class:"ml-2 font-bold text-red-500"},jzM={key:1,class:"w-1/2 pt-1 md:px-4 lg:px-4"},uzM={class:"flex w-full items-center justify-center"},AzM={class:"bits1 flex w-full items-center justify-center"},NzM=["id","onClick"],ezM={class:"z-10"},izM=["id","onClick"],SzM={class:""},yzM={key:0,class:"pl-4"},rzM=["onClick"],nzM={key:2},DzM={class:"px-7 pt-2 text-xs"},szM=["onClick"],TzM={key:0},zzM={class:"w-1/3 px-4 pt-2 text-xs"},IzM={key:1},czM={class:"w-1/3 px-4 pt-2 text-xs"},azM={key:1,class:"profile-body pl-3 pt-2"},gzM={key:0,class:"row bot-text-left relative mt-4 pb-4"},ozM={key:1,class:""},xzM=kt({__name:"SkillselectionComponent",emits:["skillSelectionemit"],setup(L,{emit:M}){const t=IL(),j=V(!1);V(!1);const u=V(!1);V(!1),V(!1),V(!1);const A=V(!1),N=V(!1),e=V(!1),i=V(!1),S=V(!1),y=V(!1),r=V(!1),n=V(!1),D=V("");V(!1);const s=V(!1),I=V(!1),T=V(!1);V(!1);const c=Tu();V();const a=V(!1),g=V(!1),o=V(!1);V(!1);const E=V(!1),f=V(!1),C=V(),h=M;let Y=V();const k=V();V();const p=V();V("Processing your skills profile. Sit tight!"),V(),V();const m=V(!0);V(!1);const U=V([]),Q=V([]),w=V([]),x=V([]),O=V([]);V(),V(),V({}),V([]);const l=V([]);V([]);const d=V([]);V([]);const b=V([]),X=V(!1);V([]),V([]);const B=V(),G=V(3),W=V(3),MM=V(3),Z=V(3),K=V(),H=V(!1),P=V(!1),J=V(!1),LM=V(!1),eM=V(!1),$=V(!1);V(!0),V(""),V(),V(),V(),V(),V([U,Q,w,x,O]);const NM=V([{ID:"97103561-8dc3-4fe7-ad0a-4f8dedac8f6b",code:1,Slug:"B",Title:"beginner"},{ID:"407b8b7b-b3ac-4074-b129-c66d22eb78d4",code:2,Slug:"I",Title:"intermediate"},{ID:"5ed7edb5-3967-4bda-aa2a-093c069df241",code:3,Slug:"P",Title:"proficient"},{ID:"dea6184e-8d52-4852-a6cb-daf633e36f18",code:4,Slug:"E",Title:"expert"},{ID:"f7af7994-62bf-41db-af0e-c580d2e9c753",code:5,Slug:"O",Title:"optional"}]);V([{ID:"dea6184e-8d52-4852-a6cb-daf633e36f18",code:4,Slug:"E",Title:"expert"},{ID:"5ed7edb5-3967-4bda-aa2a-093c069df241",code:3,Slug:"P",Title:"proficient"},{ID:"407b8b7b-b3ac-4074-b129-c66d22eb78d4",code:2,Slug:"I",Title:"intermediate"},{ID:"97103561-8dc3-4fe7-ad0a-4f8dedac8f6b",code:1,Slug:"B",Title:"beginner"}]),oL(async()=>{var VM,fM,rt,BM,gt,Xt;E.value=!0;let GM=[];const IM=document.getElementById("loaderscroollid");IM&&IM.scrollIntoView({behavior:"smooth",block:"center",inline:"nearest"}),t.initSkilluploadArray=(VM=t.initSkilluploadArray)==null?void 0:VM.filter((Qt,Rt,xt)=>Rt===xt.findIndex(uL=>uL.skill_id===Qt.skill_id)),console.log("delphiStore.initSkilluploadArray",t.initSkilluploadArray),(fM=t.initSkilluploadArray)==null||fM.forEach(Qt=>{var Rt;(Rt=t.existingSubskillParentSkillsArray)==null||Rt.forEach(xt=>{(Qt==null?void 0:Qt.skill_id)===xt&&(Qt.subskillExisting=!0),(Qt==null?void 0:Qt.skill_id)===xt&&!(Qt!=null&&Qt.subskill)&&GM.push(Qt)})}),console.log("delphiStore.initArray",t.initArray),Y.value=t.initSkilluploadArray||[],k.value=t.initSkilluploadArray||[],d.value=k.value.map(({skill_id:Qt,proficiencyId:Rt,skillStatus:xt})=>({skill_id:Qt,proficiencyId:Rt,skillStatus:xt})),d.value.sort((Qt,Rt)=>{var xt;return(xt=Qt==null?void 0:Qt.skill_id)==null?void 0:xt.localeCompare(Rt.skill_id)}),p.value=[],await YM(),await kM(),await FM(),await ut(),await CM();const lM=document.getElementById("skillSubmitionscroollid");lM&&lM.scrollIntoView({behavior:"smooth",block:"start",inline:"start"}),GM=GM.filter(Qt=>!Qt.subskill),GM.length!==0&&(b.value=GM,X.value=!0),console.log("hassubskillcheck",GM),console.log("hasSubskillArray.value",b.value.length),(rt=U.value)!=null&&rt.filter(Qt=>Qt.skillStatus).length?H.value=!0:(BM=Q.value)!=null&&BM.filter(Qt=>Qt.skillStatus).length?J.value=!0:(gt=w.value)!=null&>.filter(Qt=>Qt.skillStatus).length?LM.value=!0:(Xt=x.value)!=null&&Xt.filter(Qt=>Qt.skillStatus).length&&(eM.value=!0),E.value=!1});const nM=async()=>{E.value=!0;try{const{data:GM}=await WL("/delphi/journey/restart");window.location.reload(),S.value=!1}catch{await WL("/delphi/journey/restart"),window.location.reload(),S.value=!1}},AM=SL(()=>{var IM;return!!((IM=U.value)==null?void 0:IM.filter(lM=>lM.skillStatus)).length}),_=SL(()=>{var IM;return!!((IM=Q.value)==null?void 0:IM.filter(lM=>lM.skillStatus)).length}),iM=SL(()=>{var IM;return!!((IM=w.value)==null?void 0:IM.filter(lM=>lM.skillStatus)).length}),jM=SL(()=>{var IM;return!!((IM=x.value)==null?void 0:IM.filter(lM=>lM.skillStatus)).length}),SM=async GM=>{try{const{data:IM}=await WL(`/delphi/skillDesc/${GM}`);IM&&!IM.error&&(f.value=!0,C.value=IM)}catch{c.error("Failed to load Description"),f.value=!1,n.value=!0,E.value=!1}},zM=async()=>{var VM;o.value=!0,m.value=!1,E.value=!0,A.value=!0,G.value=3,W.value=3,MM.value=3,Z.value=3,H.value=!1,J.value=!1,LM.value=!1,eM.value=!1,l.value=[];const GM=[],IM=[],lM=[U.value,Q.value,w.value,x.value,O.value];if(lM==null||lM.forEach(fM=>{fM==null||fM.forEach(rt=>{rt.proficiencyId===null&&rt.skillStatus&&(rt.category==="industry"&&(H.value=!0,G.value=U.value.length),rt.category==="service_line_or_domain"&&(J.value=!0,W.value=Q.value.length),rt.category==="digital_technology"&&(LM.value=!0,MM.value=w.value.length),rt.category==="proff_skill"&&(eM.value=!0,Z.value=x.value.length))}),GM!=null&&GM.length||fM==null||fM.forEach(rt=>{var BM,gt;(BM=rt==null?void 0:rt.subskill)!=null&&BM.length&&((gt=rt==null?void 0:rt.subskill)==null||gt.forEach(Xt=>{l.value.push(Xt)}),rt.subskill=null),l.value.push(rt)})}),GM.length||IM.length)console.log("567890"),n.value=!0,E.value=!1,m.value=!0,D.value="To proceed further, add atleast one subskill under the primary skill";else{l.value=(VM=l.value)==null?void 0:VM.filter(BM=>(BM==null?void 0:BM.proficiencyId)!==null&&(BM==null?void 0:BM.skillStatus)),console.log("consolidatedArray.value",l.value);const fM={skills:l.value},{data:rt}=await HL("delphi/v2/myprofile",fM);console.log("data",rt),rt==="profile saved successfully"&&(console.log("data",rt),h("skillSelectionemit",!0),t.initSkilluploadArray=null)}},sM=(GM,IM)=>{GM==="industrySkillarray"&&(G.value=IM),GM==="domainSkillarray"&&(W.value=IM),GM==="digitalSkillarray"&&(MM.value=IM),GM==="profSkillarray"&&(Z.value=IM)},oM=async(GM,IM)=>{try{g.value=!0,B.value={allskillarray:Y.value,skillarray:IM},K.value="",N.value=!0}catch{c.error("Failed to load subskill"),n.value=!0,E.value=!1}},CM=()=>{var IM;const GM=(IM=Y.value)==null?void 0:IM.filter(lM=>lM.category==="function");return O.value=GM,GM},YM=()=>{var lM,VM;const GM=(lM=Y.value)==null?void 0:lM.filter(fM=>fM.category==="industry"&&(fM.parentskillid===null||fM.parentskillid==="-1")),IM=(VM=Y.value)==null?void 0:VM.filter(fM=>fM.category==="industry"&&(fM.parentskillid!==null||fM.parentskillid!=="-1"));return GM==null||GM.forEach(fM=>{let rt=[];IM==null||IM.forEach(BM=>{fM.skill_id===BM.parentskillid&&(BM.proficiencyId==="f7af7994-62bf-41db-af0e-c580d2e9c753"&&(BM.proficiencyId="97103561-8dc3-4fe7-ad0a-4f8dedac8f6b",BM.proficiency="beginner"),rt.push(BM),fM.subskill=ej(rt,"skill"))})}),U.value=GM.sort((fM,rt)=>{var BM;return(BM=fM==null?void 0:fM.skill)==null?void 0:BM.localeCompare(rt.skill)}),GM},kM=()=>{var lM,VM;const GM=(lM=Y.value)==null?void 0:lM.filter(fM=>fM.category==="service_line_or_domain"&&(fM.parentskillid===null||fM.parentskillid==="-1")),IM=(VM=Y.value)==null?void 0:VM.filter(fM=>fM.category==="service_line_or_domain"&&(fM.parentskillid!==null||fM.parentskillid!=="-1"));return GM==null||GM.forEach(fM=>{let rt=[];IM==null||IM.forEach(BM=>{fM.skill_id===BM.parentskillid&&(BM.proficiencyId==="f7af7994-62bf-41db-af0e-c580d2e9c753"&&(console.log("subskillelement.proficiencyId",BM.skill),console.log("subskillelement.proficiencyId",BM.proficiencyId),BM.proficiencyId="97103561-8dc3-4fe7-ad0a-4f8dedac8f6b",BM.proficiency="beginner"),rt.push(BM),fM.subskill=ej(rt,"skill"))})}),Q.value=GM.sort((fM,rt)=>{var BM;return(BM=fM==null?void 0:fM.skill)==null?void 0:BM.localeCompare(rt.skill)}),GM},FM=()=>{var lM,VM;const GM=(lM=Y.value)==null?void 0:lM.filter(fM=>fM.category==="digital_technology"&&(fM.parentskillid===null||fM.parentskillid==="-1")),IM=(VM=Y.value)==null?void 0:VM.filter(fM=>fM.category==="digital_technology"&&(fM.parentskillid!==null||fM.parentskillid!=="-1"));return GM==null||GM.forEach(fM=>{let rt=[];IM==null||IM.forEach(BM=>{fM.skill_id===BM.parentskillid&&(BM.proficiencyId==="f7af7994-62bf-41db-af0e-c580d2e9c753"&&(BM.proficiencyId="97103561-8dc3-4fe7-ad0a-4f8dedac8f6b",BM.proficiency="beginner"),rt.push(BM),fM.subskill=ej(rt,"skill"))})}),w.value=GM.sort((fM,rt)=>{var BM;return(BM=fM==null?void 0:fM.skill)==null?void 0:BM.localeCompare(rt.skill)}),GM},ut=()=>{var lM,VM;const GM=(lM=Y.value)==null?void 0:lM.filter(fM=>fM.category==="proff_skill"&&(fM.parentskillid===null||fM.parentskillid==="-1")),IM=(VM=Y.value)==null?void 0:VM.filter(fM=>fM.category==="proff_skill"&&(fM.parentskillid!==null||fM.parentskillid!=="-1"));return GM==null||GM.forEach(fM=>{let rt=[];IM==null||IM.forEach(BM=>{fM.skill_id===BM.parentskillid&&(BM.proficiencyId==="f7af7994-62bf-41db-af0e-c580d2e9c753"&&(BM.proficiencyId="97103561-8dc3-4fe7-ad0a-4f8dedac8f6b",BM.proficiency="beginner"),rt.push(BM),fM.subskill=ej(rt,"skill"))})}),x.value=GM.sort((fM,rt)=>{var BM;return(BM=fM==null?void 0:fM.skill)==null?void 0:BM.localeCompare(rt.skill)}),GM},tt=(GM,IM,lM)=>{u.value=!0,GM==="industrySkillarray"&&U.value.forEach(VM=>{VM.skill_id===IM&&(VM.proficiencyId=lM,VM.proficiencyId!==null&&VM.skillStatus&&VM.codered===!0&&(VM.codered=!1),NM.value.forEach(fM=>{fM.ID===lM&&(VM.proficiency=fM.Title)}))}),GM==="domainSkillarray"&&Q.value.forEach(VM=>{VM.skill_id===IM&&(VM.proficiencyId=lM,VM.proficiencyId!==null&&VM.skillStatus&&VM.codered===!0&&(VM.codered=!1),NM.value.forEach(fM=>{fM.ID===lM&&(VM.proficiency=fM.Title)}))}),GM==="digitalSkillarray"&&w.value.forEach(VM=>{VM.skill_id===IM&&(VM.proficiencyId=lM,VM.proficiencyId!==null&&VM.skillStatus&&VM.codered===!0&&(VM.codered=!1),NM.value.forEach(fM=>{fM.ID===lM&&(VM.proficiency=fM.Title)}))}),GM==="profSkillarray"&&x.value.forEach(VM=>{VM.skill_id===IM&&(VM.proficiencyId=lM,VM.proficiencyId!==null&&VM.skillStatus&&VM.codered===!0&&(VM.codered=!1),NM.value.forEach(fM=>{fM.ID===lM&&(VM.proficiency=fM.Title)}))})},It=(GM,IM,lM)=>{var VM;u.value=!0,GM==="industrySkillarray"&&((VM=U.value)==null||VM.forEach(fM=>{var rt;(rt=fM==null?void 0:fM.subskill)==null||rt.forEach(BM=>{BM.skill_id===IM&&(BM.proficiencyId=lM,BM.proficiencyId!==null&&BM.skillStatus&&BM.codered===!0&&(BM.codered=!1),NM.value.forEach(gt=>{gt.ID===lM&&(BM.proficiency=gt.Title)}),BM.proficiencyId!==null&&BM.skillStatus&&fM.addatlistonesubskill===!0&&(fM.addatlistonesubskill=!1))})})),GM==="domainSkillarray"&&Q.value.forEach(fM=>{var rt;(rt=fM==null?void 0:fM.subskill)==null||rt.forEach(BM=>{BM.skill_id===IM&&(BM.proficiencyId=lM,BM.proficiencyId!==null&&BM.skillStatus&&BM.codered===!0&&(BM.codered=!1),NM.value.forEach(gt=>{gt.ID===lM&&(BM.proficiency=gt.Title)}),BM.proficiencyId!==null&&BM.skillStatus&&fM.addatlistonesubskill===!0&&(fM.addatlistonesubskill=!1))})}),GM==="digitalSkillarray"&&w.value.forEach(fM=>{var rt;(rt=fM==null?void 0:fM.subskill)==null||rt.forEach(BM=>{BM.skill_id===IM&&(BM.proficiencyId=lM,BM.proficiencyId!==null&&BM.skillStatus&&BM.codered===!0&&(BM.codered=!1),NM.value.forEach(gt=>{gt.ID===lM&&(BM.proficiency=gt.Title)}),BM.proficiencyId!==null&&BM.skillStatus&&fM.addatlistonesubskill===!0&&(fM.addatlistonesubskill=!1))})}),GM==="profSkillarray"&&x.value.forEach(fM=>{var rt;(rt=fM==null?void 0:fM.subskill)==null||rt.forEach(BM=>{BM.skill_id===IM&&(BM.proficiencyId=lM,BM.proficiencyId!==null&&BM.skillStatus&&BM.codered===!0&&(BM.codered=!1),NM.value.forEach(gt=>{gt.ID===lM&&(BM.proficiency=gt.Title)}),BM.proficiencyId!==null&&BM.skillStatus&&fM.addatlistonesubskill===!0&&(fM.addatlistonesubskill=!1))})})},_M=(GM,IM)=>{u.value=!0,GM==="industrySkillarray"&&U.value.forEach(lM=>{var VM;lM.skill_id===IM&&(lM.skillStatus=!1,(VM=lM==null?void 0:lM.subskill)==null||VM.forEach(fM=>{fM.skillStatus=!1}))}),GM==="domainSkillarray"&&Q.value.forEach(lM=>{var VM;lM.skill_id===IM&&(lM.skillStatus=!1,(VM=lM==null?void 0:lM.subskill)==null||VM.forEach(fM=>{fM.skillStatus=!1}))}),GM==="digitalSkillarray"&&w.value.forEach(lM=>{var VM;lM.skill_id===IM&&(lM.skillStatus=!1,(VM=lM==null?void 0:lM.subskill)==null||VM.forEach(fM=>{fM.skillStatus=!1}))}),GM==="profSkillarray"&&x.value.forEach(lM=>{var VM;lM.skill_id===IM&&(lM.skillStatus=!1,(VM=lM==null?void 0:lM.subskill)==null||VM.forEach(fM=>{fM.skillStatus=!1}))}),$.value=!1},pt=(GM,IM)=>{var lM,VM,fM,rt;u.value=!0,GM==="industrySkillarray"&&((lM=U.value)==null||lM.forEach(BM=>{var Xt,Qt,Rt;(Xt=BM==null?void 0:BM.subskill)==null||Xt.forEach(xt=>{xt.skill_id===IM&&(xt.skillStatus=!1)});const gt=(Qt=BM==null?void 0:BM.subskill)==null?void 0:Qt.filter(xt=>xt.skillStatus===!0);(gt==null?void 0:gt.length)<1&&(r.value=!0,(Rt=BM==null?void 0:BM.subskill)==null||Rt.forEach(xt=>{xt.skill_id===IM&&(xt.skillStatus=!0)}))})),GM==="domainSkillarray"&&((VM=Q.value)==null||VM.forEach(BM=>{var Xt,Qt,Rt;(Xt=BM==null?void 0:BM.subskill)==null||Xt.forEach(xt=>{xt.skill_id===IM&&(xt.skillStatus=!1)});const gt=(Qt=BM==null?void 0:BM.subskill)==null?void 0:Qt.filter(xt=>xt.skillStatus===!0);(gt==null?void 0:gt.length)<1&&(r.value=!0,(Rt=BM==null?void 0:BM.subskill)==null||Rt.forEach(xt=>{xt.skill_id===IM&&(xt.skillStatus=!0)}))})),GM==="digitalSkillarray"&&((fM=w.value)==null||fM.forEach(BM=>{var Xt,Qt,Rt;(Xt=BM==null?void 0:BM.subskill)==null||Xt.forEach(xt=>{xt.skill_id===IM&&(xt.skillStatus=!1)});const gt=(Qt=BM==null?void 0:BM.subskill)==null?void 0:Qt.filter(xt=>xt.skillStatus===!0);(gt==null?void 0:gt.length)<1&&(r.value=!0,(Rt=BM==null?void 0:BM.subskill)==null||Rt.forEach(xt=>{xt.skill_id===IM&&(xt.skillStatus=!0)}))})),GM==="profSkillarray"&&((rt=x.value)==null||rt.forEach(BM=>{var Xt,Qt,Rt;(Xt=BM==null?void 0:BM.subskill)==null||Xt.forEach(xt=>{xt.skill_id===IM&&(xt.skillStatus=!1)});const gt=(Qt=BM==null?void 0:BM.subskill)==null?void 0:Qt.filter(xt=>xt.skillStatus===!0);(gt==null?void 0:gt.length)<1&&(r.value=!0,(Rt=BM==null?void 0:BM.subskill)==null||Rt.forEach(xt=>{xt.skill_id===IM&&(xt.skillStatus=!0)}))}))};return(GM,IM)=>(v(),R("section",MDM,[E.value?(v(),R("section",tDM,IM[29]||(IM[29]=[z("div",{class:"mt-24 flex items-start justify-center"},[z("img",{class:"w-24",src:nj,alt:"Loader Gif"})],-1)]))):(v(),R("section",LDM,[IM[88]||(IM[88]=z("div",{class:"row bot-text-left relative mb-1 flex items-start"},[z("div",{class:"relative w-full max-w-3xl border bg-[#F2F2F2] px-5 py-2"},"Modify skills/proficiency wherever needed and submit to create a final version")],-1)),z("div",jDM,[!m.value&&!e.value?(v(),R("div",uDM)):yM("",!0),z("div",ADM,[IM[85]||(IM[85]=z("div",{class:"md:px-4 lg:px-4"},null,-1)),z("div",NDM,[z("div",eDM,[z("div",iDM,[z("div",{onClick:IM[1]||(IM[1]=lM=>H.value=!H.value),class:"flex items-center cursor-pointer justify-between bg-gray-100 px-4 py-1 font-bold"},[IM[32]||(IM[32]=PM(" Industry ")),U.value.length&&AM.value?(v(),R("span",SDM,[H.value?(v(),R("svg",{key:1,onClick:IM[0]||(IM[0]=lM=>H.value=!H.value),class:"pointer ml-2 h-8 w-8 bg-white p-2 text-right font-bold text-black","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 18 18"},IM[31]||(IM[31]=[z("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"3",d:"M16 9l-7-7-7 7"},null,-1)]))):(v(),R("svg",yDM,IM[30]||(IM[30]=[z("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"3",d:"M2 9l7 7 7-7"},null,-1)])))])):yM("",!0)])]),U.value.length&&AM.value?(v(),R("div",rDM,[H.value?(v(),R("table",nDM,[z("tbody",null,[(v(!0),R(WM,null,et(U.value.length>3?U.value.slice(0,G.value):U.value,(lM,VM)=>(v(),R("div",{key:VM,class:""},[lM.skillStatus?(v(),R("div",DDM,[lM.skillStatus?(v(),R("tr",sDM,[z("div",TDM,[PM(aM(lM.skill)+" ",1),lM.is_mandatory?(v(),R("sup",zDM,IM[33]||(IM[33]=[z("b",null,"*",-1)]))):yM("",!0),lM.is_new?(v(),R("span",IDM,"(new)")):yM("",!0),z("div",cDM,[lM.subskillcodered?(v(),R("div",aDM,"Subskill Proficiency Missing")):yM("",!0)])]),z("div",gDM,[z("div",oDM,[z("img",{class:"pointer h-4 w-4",src:vA,onClick:fM=>SM(lM.skill_id)},null,8,xDM),z("div",null,[z("ol",EDM,[(v(!0),R(WM,null,et(NM.value.slice(0,4),fM=>(v(),R("li",{key:fM.ID+Math.random()*1e3,class:"flex w-full items-center after:inline-block after:w-full after:content-['']"},[fM.ID===lM.proficiencyId&&fM.ID===lM.idealProficiencyId?(v(),R("span",{key:0,id:`skills-radio-${lM.skill_id}-${fM.ID}`,class:"-border-gray-1 flex h-5 w-5 shrink-0 items-center justify-center overflow-hidden rounded text-white",onClick:rt=>tt("industrySkillarray",lM.skill_id,fM.ID)},[IM[34]||(IM[34]=z("span",{class:"-bg-aqua span-a2 flex"},null,-1)),z("span",ODM,aM(fM.Slug),1),IM[35]||(IM[35]=z("span",{class:"-bg-blue span-b2 flex"},null,-1))],8,lDM)):(v(),R("span",{key:1,id:`skills-radio-${lM.skill_id}-${fM.ID}`,class:yt([fM.ID===lM.proficiencyId?"-bg-aqua -border-gray-1 relative flex h-5 w-5 shrink-0 items-center justify-center rounded text-white":fM.ID===lM.idealProficiencyId?"-bg-blue -border-gray-1 relative flex h-5 w-5 shrink-0 items-center justify-center rounded text-white":"-bg-white -border-gray-1 relative flex h-5 w-5 shrink-0 items-center justify-center rounded text-gray-700"]),onClick:rt=>tt("industrySkillarray",lM.skill_id,fM.ID)},[z("span",wDM,aM(fM.Slug),1)],10,dDM))]))),128))])]),lM.is_mandatory?(v(),R("div",fDM,IM[36]||(IM[36]=[z("svg",{xmlns:"http://www.w3.org/2000/svg",class:"h4bi bi-trash w-4 opacity-40",fill:"gray",viewBox:"0 0 16 16"},[z("path",{d:"M5.5 5.5A.5.5 0 0 1 6 6v6a.5.5 0 0 1-1 0V6a.5.5 0 0 1 .5-.5zm2.5 0a.5.5 0 0 1 .5.5v6a.5.5 0 0 1-1 0V6a.5.5 0 0 1 .5-.5zm3 .5a.5.5 0 0 0-1 0v6a.5.5 0 0 0 1 0V6z"}),z("path",{"fill-rule":"evenodd",d:"M14.5 3a1 1 0 0 1-1 1H13v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V4h-.5a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1H6a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1h3.5a1 1 0 0 1 1 1v1zM4.118 4 4 4.059V13a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1V4.059L11.882 4H4.118zM2.5 3V2h11v1h-11z"})],-1)]))):(v(),R("div",{key:1,class:"pl-4",onClick:fM=>_M("industrySkillarray",lM.skill_id)},IM[37]||(IM[37]=[z("svg",{xmlns:"http://www.w3.org/2000/svg",class:"h4 pointer bi bi-trash w-4",fill:"gray",viewBox:"0 0 16 16"},[z("path",{d:"M5.5 5.5A.5.5 0 0 1 6 6v6a.5.5 0 0 1-1 0V6a.5.5 0 0 1 .5-.5zm2.5 0a.5.5 0 0 1 .5.5v6a.5.5 0 0 1-1 0V6a.5.5 0 0 1 .5-.5zm3 .5a.5.5 0 0 0-1 0v6a.5.5 0 0 0 1 0V6z"}),z("path",{"fill-rule":"evenodd",d:"M14.5 3a1 1 0 0 1-1 1H13v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V4h-.5a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1H6a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1h3.5a1 1 0 0 1 1 1v1zM4.118 4 4 4.059V13a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1V4.059L11.882 4H4.118zM2.5 3V2h11v1h-11z"})],-1)]),8,CDM))])])])):yM("",!0),lM!=null&&lM.subskill?(v(),R("div",QDM,[(v(!0),R(WM,null,et(lM==null?void 0:lM.subskill.slice(0,3),(fM,rt)=>(v(),R("tr",{key:rt,class:"-text-gray flex bg-white"},[lM.skillStatus&&fM.skillStatus?(v(),R("div",UDM,[PM(" - - "+aM(fM.skill)+" ",1),lM!=null&&lM.addatlistonesubskill?(v(),R("span",hDM,"Missing Proficiency")):yM("",!0)])):yM("",!0),lM.skillStatus&&fM.skillStatus?(v(),R("div",YDM,[z("div",vDM,[IM[42]||(IM[42]=z("div",{class:"pl-6"},null,-1)),z("div",null,[z("ol",kDM,[(v(!0),R(WM,null,et(NM.value.slice(0,4),BM=>(v(),R("li",{key:BM.ID+Math.random()*1e3,class:"flex w-full items-center after:inline-block after:w-full after:content-['']"},[BM.ID===fM.proficiencyId&&BM.ID===fM.idealProficiencyId?(v(),R("span",{key:0,id:`skills-radio-${fM.skill_id}-${BM.ID}`,class:"-border-gray-1 flex h-5 w-5 shrink-0 items-center justify-center overflow-hidden rounded text-white",onClick:gt=>It("industrySkillarray",fM.skill_id,BM.ID)},[IM[38]||(IM[38]=z("span",{class:"-bg-aqua span-a2 flex"},null,-1)),z("span",mDM,aM(BM.Slug),1),IM[39]||(IM[39]=z("span",{class:"-bg-blue span-b2 flex"},null,-1))],8,pDM)):(v(),R("span",{key:1,id:`skills-radio-${fM.skill_id}-${BM.ID}`,class:yt([BM.ID===fM.proficiencyId?"-bg-aqua -border-gray-1 relative flex h-5 w-5 shrink-0 items-center justify-center rounded text-white":BM.ID===fM.idealProficiencyId?"-bg-blue -border-gray-1 relative flex h-5 w-5 shrink-0 items-center justify-center rounded text-white":"-bg-white -border-gray-1 relative flex h-5 w-5 shrink-0 items-center justify-center rounded text-gray-700"]),onClick:gt=>It("industrySkillarray",fM.skill_id,BM.ID)},[z("span",PDM,aM(BM.Slug),1)],10,bDM))]))),128))])]),fM.is_mandatory?(v(),R("div",RDM,IM[40]||(IM[40]=[z("svg",{xmlns:"http://www.w3.org/2000/svg",class:"h4bi bi-trash w-4 opacity-40",fill:"gray",viewBox:"0 0 16 16"},[z("path",{d:"M5.5 5.5A.5.5 0 0 1 6 6v6a.5.5 0 0 1-1 0V6a.5.5 0 0 1 .5-.5zm2.5 0a.5.5 0 0 1 .5.5v6a.5.5 0 0 1-1 0V6a.5.5 0 0 1 .5-.5zm3 .5a.5.5 0 0 0-1 0v6a.5.5 0 0 0 1 0V6z"}),z("path",{"fill-rule":"evenodd",d:"M14.5 3a1 1 0 0 1-1 1H13v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V4h-.5a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1H6a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1h3.5a1 1 0 0 1 1 1v1zM4.118 4 4 4.059V13a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1V4.059L11.882 4H4.118zM2.5 3V2h11v1h-11z"})],-1)]))):(v(),R("div",{key:1,class:"pl-4",onClick:BM=>pt("industrySkillarray",fM.skill_id)},IM[41]||(IM[41]=[z("svg",{xmlns:"http://www.w3.org/2000/svg",class:"h4 pointer bi bi-trash w-4",fill:"gray",viewBox:"0 0 16 16"},[z("path",{d:"M5.5 5.5A.5.5 0 0 1 6 6v6a.5.5 0 0 1-1 0V6a.5.5 0 0 1 .5-.5zm2.5 0a.5.5 0 0 1 .5.5v6a.5.5 0 0 1-1 0V6a.5.5 0 0 1 .5-.5zm3 .5a.5.5 0 0 0-1 0v6a.5.5 0 0 0 1 0V6z"}),z("path",{"fill-rule":"evenodd",d:"M14.5 3a1 1 0 0 1-1 1H13v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V4h-.5a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1H6a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1h3.5a1 1 0 0 1 1 1v1zM4.118 4 4 4.059V13a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1V4.059L11.882 4H4.118zM2.5 3V2h11v1h-11z"})],-1)]),8,BDM))])])):yM("",!0)]))),128))])):yM("",!0),lM!=null&&lM.subskill&&(lM==null?void 0:lM.subskill.length)>3?(v(),R("div",HDM,[z("div",ZDM,[z("button",{class:"-text-aqua inline-block",onClick:fM=>oM("industrySkillarray",lM)},"Click to view subskills ...",8,FDM)])])):yM("",!0)])):yM("",!0)]))),128)),G.value<=3&&U.value.length>3?(v(),R("tr",XDM,[z("td",GDM,[z("button",{class:"-text-aqua inline-block",onClick:IM[2]||(IM[2]=lM=>sM("industrySkillarray",U.value.length))},"View more ...")])])):yM("",!0),G.value>3?(v(),R("tr",WDM,[z("td",VDM,[z("button",{class:"-text-aqua inline-block",onClick:IM[3]||(IM[3]=lM=>G.value=3)},"View less ...")])])):yM("",!0)])])):yM("",!0)])):(v(),R("div",JDM,"No skills found"))]),z("div",qDM,[z("div",KDM,[z("div",{onClick:IM[5]||(IM[5]=lM=>J.value=!J.value),class:"flex items-center cursor-pointer justify-between bg-gray-100 px-4 py-1 font-bold"},[IM[45]||(IM[45]=PM(" Functional Domain and Service Line ")),Q.value.length&&_.value?(v(),R("span",_DM,[J.value?(v(),R("svg",{key:1,onClick:IM[4]||(IM[4]=lM=>J.value=!J.value),class:"pointer ml-2 h-8 w-8 bg-white p-2 text-right font-bold text-black","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 18 18"},IM[44]||(IM[44]=[z("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"3",d:"M16 9l-7-7-7 7"},null,-1)]))):(v(),R("svg",$DM,IM[43]||(IM[43]=[z("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"3",d:"M2 9l7 7 7-7"},null,-1)])))])):yM("",!0)]),s.value?(v(),R("ul",MsM,IM[46]||(IM[46]=[z("li",null,"● (*)Skills - Recommended based on your role, pre- added to your profile.",-1),z("li",null,"● NEW - skills added on profile update.",-1),z("li",null,"● Proficiency definitions - Click info icon before BIPE for proficiency definitions for each skill.",-1)]))):yM("",!0)]),Q.value.length&&_.value?(v(),R("div",tsM,[J.value?(v(),R("table",LsM,[z("tbody",null,[(v(!0),R(WM,null,et(Q.value.length>3?Q.value.slice(0,W.value):Q.value,(lM,VM)=>(v(),R("div",{key:VM,class:""},[lM.skillStatus?(v(),R("div",jsM,[lM.skillStatus?(v(),R("tr",usM,[z("div",AsM,[PM(aM(lM.skill)+" ",1),lM.is_mandatory?(v(),R("sup",NsM,IM[47]||(IM[47]=[z("b",null,"*",-1)]))):yM("",!0),lM.is_new?(v(),R("span",esM,"(new)")):yM("",!0),z("div",isM,[lM.subskillcodered?(v(),R("div",SsM,"Subskill Proficiency Missing")):yM("",!0)])]),z("div",ysM,[z("div",rsM,[z("img",{class:"pointer h-4 w-4",src:vA,onClick:fM=>SM(lM.skill_id)},null,8,nsM),z("div",null,[z("ol",DsM,[(v(!0),R(WM,null,et(NM.value.slice(0,4),fM=>(v(),R("li",{key:fM.ID+Math.random()*1e3,class:"flex w-full items-center after:inline-block after:w-full after:content-['']"},[fM.ID===lM.proficiencyId&&fM.ID===lM.idealProficiencyId?(v(),R("span",{key:0,id:`skills-radio-${lM.skill_id}-${fM.ID}`,class:"-border-gray-1 flex h-5 w-5 shrink-0 items-center justify-center overflow-hidden rounded text-white",onClick:rt=>tt("domainSkillarray",lM.skill_id,fM.ID)},[IM[48]||(IM[48]=z("span",{class:"-bg-aqua span-a2 flex"},null,-1)),z("span",TsM,aM(fM.Slug),1),IM[49]||(IM[49]=z("span",{class:"-bg-blue span-b2 flex"},null,-1))],8,ssM)):(v(),R("span",{key:1,id:`skills-radio-${lM.skill_id}-${fM.ID}`,class:yt([fM.ID===lM.proficiencyId?"-bg-aqua -border-gray-1 relative flex h-5 w-5 shrink-0 items-center justify-center rounded text-white":fM.ID===lM.idealProficiencyId?"-bg-blue -border-gray-1 relative flex h-5 w-5 shrink-0 items-center justify-center rounded text-white":"-bg-white -border-gray-1 relative flex h-5 w-5 shrink-0 items-center justify-center rounded text-gray-700"]),onClick:rt=>tt("domainSkillarray",lM.skill_id,fM.ID)},[z("span",IsM,aM(fM.Slug),1)],10,zsM))]))),128))])]),lM.is_mandatory?(v(),R("div",csM,IM[50]||(IM[50]=[z("svg",{xmlns:"http://www.w3.org/2000/svg",class:"h4bi bi-trash w-4 opacity-40",fill:"gray",viewBox:"0 0 16 16"},[z("path",{d:"M5.5 5.5A.5.5 0 0 1 6 6v6a.5.5 0 0 1-1 0V6a.5.5 0 0 1 .5-.5zm2.5 0a.5.5 0 0 1 .5.5v6a.5.5 0 0 1-1 0V6a.5.5 0 0 1 .5-.5zm3 .5a.5.5 0 0 0-1 0v6a.5.5 0 0 0 1 0V6z"}),z("path",{"fill-rule":"evenodd",d:"M14.5 3a1 1 0 0 1-1 1H13v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V4h-.5a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1H6a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1h3.5a1 1 0 0 1 1 1v1zM4.118 4 4 4.059V13a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1V4.059L11.882 4H4.118zM2.5 3V2h11v1h-11z"})],-1)]))):(v(),R("div",{key:1,class:"pl-4",onClick:fM=>_M("domainSkillarray",lM.skill_id)},IM[51]||(IM[51]=[z("svg",{xmlns:"http://www.w3.org/2000/svg",class:"h4 pointer bi bi-trash w-4",fill:"gray",viewBox:"0 0 16 16"},[z("path",{d:"M5.5 5.5A.5.5 0 0 1 6 6v6a.5.5 0 0 1-1 0V6a.5.5 0 0 1 .5-.5zm2.5 0a.5.5 0 0 1 .5.5v6a.5.5 0 0 1-1 0V6a.5.5 0 0 1 .5-.5zm3 .5a.5.5 0 0 0-1 0v6a.5.5 0 0 0 1 0V6z"}),z("path",{"fill-rule":"evenodd",d:"M14.5 3a1 1 0 0 1-1 1H13v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V4h-.5a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1H6a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1h3.5a1 1 0 0 1 1 1v1zM4.118 4 4 4.059V13a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1V4.059L11.882 4H4.118zM2.5 3V2h11v1h-11z"})],-1)]),8,asM))])])])):yM("",!0),lM!=null&&lM.subskill?(v(),R("div",gsM,[(v(!0),R(WM,null,et(lM==null?void 0:lM.subskill.slice(0,3),(fM,rt)=>(v(),R("tr",{key:rt,class:"-text-gray flex bg-white"},[lM.skillStatus&&fM.skillStatus?(v(),R("div",osM,[PM(" - - "+aM(fM.skill)+" ",1),lM!=null&&lM.addatlistonesubskill?(v(),R("span",xsM,"Missing Proficiency")):yM("",!0)])):yM("",!0),lM.skillStatus&&fM.skillStatus?(v(),R("div",EsM,[z("div",lsM,[IM[56]||(IM[56]=z("div",{class:"pl-6"},null,-1)),z("div",null,[z("ol",OsM,[(v(!0),R(WM,null,et(NM.value.slice(0,4),BM=>(v(),R("li",{key:BM.ID+Math.random()*1e3,class:"flex w-full items-center after:inline-block after:w-full after:content-['']"},[BM.ID===fM.proficiencyId&&BM.ID===fM.idealProficiencyId?(v(),R("span",{key:0,id:`skills-radio-${fM.skill_id}-${BM.ID}`,class:"-border-gray-1 flex h-5 w-5 shrink-0 items-center justify-center overflow-hidden rounded text-white",onClick:gt=>It("domainSkillarray",fM.skill_id,BM.ID)},[IM[52]||(IM[52]=z("span",{class:"-bg-aqua span-a2 flex"},null,-1)),z("span",wsM,aM(BM.Slug),1),IM[53]||(IM[53]=z("span",{class:"-bg-blue span-b2 flex"},null,-1))],8,dsM)):(v(),R("span",{key:1,id:`skills-radio-${fM.skill_id}-${BM.ID}`,class:yt([BM.ID===fM.proficiencyId?"-bg-aqua -border-gray-1 relative flex h-5 w-5 shrink-0 items-center justify-center rounded text-white":BM.ID===fM.idealProficiencyId?"-bg-blue -border-gray-1 relative flex h-5 w-5 shrink-0 items-center justify-center rounded text-white":"-bg-white -border-gray-1 relative flex h-5 w-5 shrink-0 items-center justify-center rounded text-gray-700"]),onClick:gt=>It("domainSkillarray",fM.skill_id,BM.ID)},[z("span",CsM,aM(BM.Slug),1)],10,fsM))]))),128))])]),fM.is_mandatory?(v(),R("div",QsM,IM[54]||(IM[54]=[z("svg",{xmlns:"http://www.w3.org/2000/svg",class:"h4bi bi-trash w-4 opacity-40",fill:"gray",viewBox:"0 0 16 16"},[z("path",{d:"M5.5 5.5A.5.5 0 0 1 6 6v6a.5.5 0 0 1-1 0V6a.5.5 0 0 1 .5-.5zm2.5 0a.5.5 0 0 1 .5.5v6a.5.5 0 0 1-1 0V6a.5.5 0 0 1 .5-.5zm3 .5a.5.5 0 0 0-1 0v6a.5.5 0 0 0 1 0V6z"}),z("path",{"fill-rule":"evenodd",d:"M14.5 3a1 1 0 0 1-1 1H13v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V4h-.5a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1H6a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1h3.5a1 1 0 0 1 1 1v1zM4.118 4 4 4.059V13a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1V4.059L11.882 4H4.118zM2.5 3V2h11v1h-11z"})],-1)]))):(v(),R("div",{key:1,class:"pl-4",onClick:BM=>pt("domainSkillarray",fM.skill_id)},IM[55]||(IM[55]=[z("svg",{xmlns:"http://www.w3.org/2000/svg",class:"h4 pointer bi bi-trash w-4",fill:"gray",viewBox:"0 0 16 16"},[z("path",{d:"M5.5 5.5A.5.5 0 0 1 6 6v6a.5.5 0 0 1-1 0V6a.5.5 0 0 1 .5-.5zm2.5 0a.5.5 0 0 1 .5.5v6a.5.5 0 0 1-1 0V6a.5.5 0 0 1 .5-.5zm3 .5a.5.5 0 0 0-1 0v6a.5.5 0 0 0 1 0V6z"}),z("path",{"fill-rule":"evenodd",d:"M14.5 3a1 1 0 0 1-1 1H13v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V4h-.5a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1H6a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1h3.5a1 1 0 0 1 1 1v1zM4.118 4 4 4.059V13a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1V4.059L11.882 4H4.118zM2.5 3V2h11v1h-11z"})],-1)]),8,UsM))])])):yM("",!0)]))),128))])):yM("",!0),lM!=null&&lM.subskill&&(lM==null?void 0:lM.subskill.length)>3?(v(),R("div",hsM,[z("div",YsM,[z("button",{class:"-text-aqua inline-block",onClick:fM=>oM("domainSkillarray",lM)},"Click to view subskills ...",8,vsM)])])):yM("",!0)])):yM("",!0)]))),128)),W.value<=3&&Q.value.length>3?(v(),R("tr",ksM,[z("td",psM,[z("button",{class:"-text-aqua inline-block",onClick:IM[6]||(IM[6]=lM=>sM("domainSkillarray",Q.value.length))},"View more ...")])])):yM("",!0),W.value>3?(v(),R("tr",msM,[z("td",bsM,[z("button",{class:"-text-aqua inline-block",onClick:IM[7]||(IM[7]=lM=>W.value=3)},"View less ...")])])):yM("",!0)])])):yM("",!0)])):(v(),R("div",PsM,"No skills found"))]),z("div",RsM,[z("div",BsM,[z("div",{onClick:IM[9]||(IM[9]=lM=>LM.value=!LM.value),class:"flex items-center cursor-pointer justify-between bg-gray-100 px-4 py-1 font-bold"},[IM[59]||(IM[59]=PM(" Digital ")),w.value.length&&iM.value?(v(),R("span",HsM,[LM.value?(v(),R("svg",{key:1,onClick:IM[8]||(IM[8]=lM=>LM.value=!LM.value),class:"pointer ml-2 h-8 w-8 bg-white p-2 text-right font-bold text-black","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 18 18"},IM[58]||(IM[58]=[z("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"3",d:"M16 9l-7-7-7 7"},null,-1)]))):(v(),R("svg",ZsM,IM[57]||(IM[57]=[z("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"3",d:"M2 9l7 7 7-7"},null,-1)])))])):yM("",!0)]),I.value?(v(),R("ul",FsM,IM[60]||(IM[60]=[z("li",null,"● (*)Skills - Recommended based on your role, pre- added to your profile.",-1),z("li",null,"● NEW - skills added on profile update.",-1),z("li",null,"● Proficiency definitions - Click info icon before BIPE for proficiency definitions for each skill.",-1)]))):yM("",!0)]),w.value.length&&iM.value?(v(),R("div",XsM,[LM.value?(v(),R("table",GsM,[z("tbody",null,[(v(!0),R(WM,null,et(w.value.length>3?w.value.slice(0,MM.value):w.value,(lM,VM)=>(v(),R("div",{key:VM,class:""},[lM.skillStatus?(v(),R("div",WsM,[lM.skillStatus?(v(),R("tr",VsM,[z("div",JsM,[PM(aM(lM.skill)+" ",1),lM.is_mandatory?(v(),R("sup",qsM,IM[61]||(IM[61]=[z("b",null,"*",-1)]))):yM("",!0),lM!=null&&lM.is_new?(v(),R("span",KsM,"(new)")):yM("",!0),z("div",_sM,[lM.subskillcodered?(v(),R("div",$sM,"Subskill Proficiency Missing")):yM("",!0)])]),z("div",MTM,[z("div",tTM,[z("img",{class:"pointer h-4 w-4",src:vA,onClick:fM=>SM(lM.skill_id)},null,8,LTM),z("div",null,[z("ol",jTM,[(v(!0),R(WM,null,et(NM.value.slice(0,4),fM=>(v(),R("li",{key:fM.ID+Math.random()*1e3,class:"flex w-full items-center after:inline-block after:w-full after:content-['']"},[fM.ID===lM.proficiencyId&&fM.ID===lM.idealProficiencyId?(v(),R("span",{key:0,id:`skills-radio-${lM.skill_id}-${fM.ID}`,class:"-border-gray-1 flex h-5 w-5 shrink-0 items-center justify-center overflow-hidden rounded text-white",onClick:rt=>tt("digitalSkillarray",lM.skill_id,fM.ID)},[IM[62]||(IM[62]=z("span",{class:"-bg-aqua span-a2 flex"},null,-1)),z("span",ATM,aM(fM.Slug),1),IM[63]||(IM[63]=z("span",{class:"-bg-blue span-b2 flex"},null,-1))],8,uTM)):(v(),R("span",{key:1,id:`skills-radio-${lM.skill_id}-${fM.ID}`,class:yt([fM.ID===lM.proficiencyId?"-bg-aqua -border-gray-1 relative flex h-5 w-5 shrink-0 items-center justify-center rounded text-white":fM.ID===lM.idealProficiencyId?"-bg-blue -border-gray-1 relative flex h-5 w-5 shrink-0 items-center justify-center rounded text-white":"-bg-white -border-gray-1 relative flex h-5 w-5 shrink-0 items-center justify-center rounded text-gray-700"]),onClick:rt=>tt("digitalSkillarray",lM.skill_id,fM.ID)},[z("span",eTM,aM(fM.Slug),1)],10,NTM))]))),128))])]),lM.is_mandatory?(v(),R("div",iTM,IM[64]||(IM[64]=[z("svg",{xmlns:"http://www.w3.org/2000/svg",class:"h4bi bi-trash w-4 opacity-40",fill:"gray",viewBox:"0 0 16 16"},[z("path",{d:"M5.5 5.5A.5.5 0 0 1 6 6v6a.5.5 0 0 1-1 0V6a.5.5 0 0 1 .5-.5zm2.5 0a.5.5 0 0 1 .5.5v6a.5.5 0 0 1-1 0V6a.5.5 0 0 1 .5-.5zm3 .5a.5.5 0 0 0-1 0v6a.5.5 0 0 0 1 0V6z"}),z("path",{"fill-rule":"evenodd",d:"M14.5 3a1 1 0 0 1-1 1H13v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V4h-.5a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1H6a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1h3.5a1 1 0 0 1 1 1v1zM4.118 4 4 4.059V13a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1V4.059L11.882 4H4.118zM2.5 3V2h11v1h-11z"})],-1)]))):(v(),R("div",{key:1,class:"pl-4",onClick:fM=>_M("digitalSkillarray",lM.skill_id)},IM[65]||(IM[65]=[z("svg",{xmlns:"http://www.w3.org/2000/svg",class:"h4 pointer bi bi-trash w-4",fill:"gray",viewBox:"0 0 16 16"},[z("path",{d:"M5.5 5.5A.5.5 0 0 1 6 6v6a.5.5 0 0 1-1 0V6a.5.5 0 0 1 .5-.5zm2.5 0a.5.5 0 0 1 .5.5v6a.5.5 0 0 1-1 0V6a.5.5 0 0 1 .5-.5zm3 .5a.5.5 0 0 0-1 0v6a.5.5 0 0 0 1 0V6z"}),z("path",{"fill-rule":"evenodd",d:"M14.5 3a1 1 0 0 1-1 1H13v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V4h-.5a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1H6a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1h3.5a1 1 0 0 1 1 1v1zM4.118 4 4 4.059V13a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1V4.059L11.882 4H4.118zM2.5 3V2h11v1h-11z"})],-1)]),8,STM))])])])):yM("",!0),lM!=null&&lM.subskill?(v(),R("div",yTM,[(v(!0),R(WM,null,et(lM==null?void 0:lM.subskill.slice(0,3),(fM,rt)=>(v(),R("tr",{key:rt,class:"-text-gray flex bg-white"},[lM.skillStatus&&fM.skillStatus?(v(),R("div",rTM,[PM(" - - "+aM(fM.skill)+" ",1),lM!=null&&lM.addatlistonesubskill?(v(),R("span",nTM,"Missing Proficiency")):yM("",!0)])):yM("",!0),lM.skillStatus&&fM.skillStatus?(v(),R("div",DTM,[z("div",sTM,[IM[70]||(IM[70]=z("div",{class:"pl-6"},null,-1)),z("div",null,[z("ol",TTM,[(v(!0),R(WM,null,et(NM.value.slice(0,4),BM=>(v(),R("li",{key:BM.ID+Math.random()*1e3,class:"flex w-full items-center after:inline-block after:w-full after:content-['']"},[BM.ID===fM.proficiencyId&&BM.ID===fM.idealProficiencyId?(v(),R("span",{key:0,id:`skills-radio-${fM.skill_id}-${BM.ID}`,class:"-border-gray-1 flex h-5 w-5 shrink-0 items-center justify-center overflow-hidden rounded text-white",onClick:gt=>It("digitalSkillarray",fM.skill_id,BM.ID)},[IM[66]||(IM[66]=z("span",{class:"-bg-aqua span-a2 flex"},null,-1)),z("span",ITM,aM(BM.Slug),1),IM[67]||(IM[67]=z("span",{class:"-bg-blue span-b2 flex"},null,-1))],8,zTM)):(v(),R("span",{key:1,id:`skills-radio-${fM.skill_id}-${BM.ID}`,class:yt([BM.ID===fM.proficiencyId?"-bg-aqua -border-gray-1 relative flex h-5 w-5 shrink-0 items-center justify-center rounded text-white":BM.ID===fM.idealProficiencyId?"-bg-blue -border-gray-1 relative flex h-5 w-5 shrink-0 items-center justify-center rounded text-white":"-bg-white -border-gray-1 relative flex h-5 w-5 shrink-0 items-center justify-center rounded text-gray-700"]),onClick:gt=>It("digitalSkillarray",fM.skill_id,BM.ID)},[z("span",aTM,aM(BM.Slug),1)],10,cTM))]))),128))])]),fM.is_mandatory?(v(),R("div",gTM,IM[68]||(IM[68]=[z("svg",{xmlns:"http://www.w3.org/2000/svg",class:"h4bi bi-trash w-4 opacity-40",fill:"gray",viewBox:"0 0 16 16"},[z("path",{d:"M5.5 5.5A.5.5 0 0 1 6 6v6a.5.5 0 0 1-1 0V6a.5.5 0 0 1 .5-.5zm2.5 0a.5.5 0 0 1 .5.5v6a.5.5 0 0 1-1 0V6a.5.5 0 0 1 .5-.5zm3 .5a.5.5 0 0 0-1 0v6a.5.5 0 0 0 1 0V6z"}),z("path",{"fill-rule":"evenodd",d:"M14.5 3a1 1 0 0 1-1 1H13v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V4h-.5a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1H6a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1h3.5a1 1 0 0 1 1 1v1zM4.118 4 4 4.059V13a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1V4.059L11.882 4H4.118zM2.5 3V2h11v1h-11z"})],-1)]))):(v(),R("div",{key:1,class:"pl-4",onClick:BM=>pt("digitalSkillarray",fM.skill_id)},IM[69]||(IM[69]=[z("svg",{xmlns:"http://www.w3.org/2000/svg",class:"h4 pointer bi bi-trash w-4",fill:"gray",viewBox:"0 0 16 16"},[z("path",{d:"M5.5 5.5A.5.5 0 0 1 6 6v6a.5.5 0 0 1-1 0V6a.5.5 0 0 1 .5-.5zm2.5 0a.5.5 0 0 1 .5.5v6a.5.5 0 0 1-1 0V6a.5.5 0 0 1 .5-.5zm3 .5a.5.5 0 0 0-1 0v6a.5.5 0 0 0 1 0V6z"}),z("path",{"fill-rule":"evenodd",d:"M14.5 3a1 1 0 0 1-1 1H13v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V4h-.5a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1H6a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1h3.5a1 1 0 0 1 1 1v1zM4.118 4 4 4.059V13a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1V4.059L11.882 4H4.118zM2.5 3V2h11v1h-11z"})],-1)]),8,oTM))])])):yM("",!0)]))),128))])):yM("",!0),lM!=null&&lM.subskill&&(lM==null?void 0:lM.subskill.length)>3?(v(),R("div",xTM,[z("div",ETM,[z("button",{class:"-text-aqua inline-block",onClick:fM=>oM("digitalSkillarray",lM)},"Click to view subskills ...",8,lTM)])])):yM("",!0)])):yM("",!0)]))),128)),MM.value<=3&&w.value.length>3?(v(),R("tr",OTM,[z("td",dTM,[z("button",{class:"-text-aqua inline-block",onClick:IM[10]||(IM[10]=lM=>sM("digitalSkillarray",w.value.length))},"View more ...")])])):yM("",!0),MM.value>3?(v(),R("tr",wTM,[z("td",fTM,[z("button",{class:"-text-aqua inline-block",onClick:IM[11]||(IM[11]=lM=>MM.value=3)},"View less ...")])])):yM("",!0)])])):yM("",!0)])):(v(),R("div",CTM,"No skills found"))]),z("div",QTM,[z("div",UTM,[z("div",{onClick:IM[13]||(IM[13]=lM=>eM.value=!eM.value),class:"flex items-center cursor-pointer justify-between bg-gray-100 px-4 py-1 font-bold"},[IM[73]||(IM[73]=PM(" Professional ")),x.value.length&&jM.value?(v(),R("span",hTM,[eM.value?(v(),R("svg",{key:1,onClick:IM[12]||(IM[12]=lM=>eM.value=!eM.value),class:"pointer ml-2 h-8 w-8 bg-white p-2 text-right font-bold text-black","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 18 18"},IM[72]||(IM[72]=[z("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"3",d:"M16 9l-7-7-7 7"},null,-1)]))):(v(),R("svg",YTM,IM[71]||(IM[71]=[z("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"3",d:"M2 9l7 7 7-7"},null,-1)])))])):yM("",!0)]),T.value?(v(),R("ul",vTM,IM[74]||(IM[74]=[z("li",null,"● (*)Skills - Recommended based on your role, pre- added to your profile.",-1),z("li",null,"● NEW - skills added on profile update.",-1),z("li",null,"● Proficiency definitions - Click info icon before BIPE for proficiency definitions for each skill.",-1)]))):yM("",!0)]),x.value.length&&jM.value?(v(),R("div",kTM,[eM.value?(v(),R("table",pTM,[z("tbody",null,[(v(!0),R(WM,null,et(x.value.length>3?TM(ej)(x.value.slice(0,Z.value),"skill"):x.value,(lM,VM)=>(v(),R("div",{key:VM,class:""},[lM.skillStatus?(v(),R("div",mTM,[lM.skillStatus?(v(),R("tr",bTM,[z("div",PTM,[PM(aM(lM.skill)+" ",1),lM.is_mandatory?(v(),R("sup",RTM,IM[75]||(IM[75]=[z("b",null,"*",-1)]))):yM("",!0),lM.is_new?(v(),R("span",BTM,"(new)")):yM("",!0),z("div",HTM,[lM.subskillcodered?(v(),R("div",ZTM,"Subskill Proficiency Missing")):yM("",!0)])]),z("div",FTM,[z("div",XTM,[z("img",{class:"pointer h-4 w-4",src:vA,onClick:fM=>SM(lM.skill_id)},null,8,GTM),z("div",null,[z("ol",WTM,[(v(!0),R(WM,null,et(NM.value.slice(0,4),fM=>(v(),R("li",{key:fM.ID+Math.random()*1e3,class:"flex w-full items-center after:inline-block after:w-full after:content-['']"},[fM.ID===lM.proficiencyId&&fM.ID===lM.idealProficiencyId?(v(),R("span",{key:0,id:`skills-radio-${lM.skill_id}-${fM.ID}`,class:"-border-gray-1 flex h-5 w-5 shrink-0 items-center justify-center overflow-hidden rounded text-white",onClick:rt=>tt("profSkillarray",lM.skill_id,fM.ID)},[IM[76]||(IM[76]=z("span",{class:"-bg-aqua span-a2 flex"},null,-1)),z("span",JTM,aM(fM.Slug),1),IM[77]||(IM[77]=z("span",{class:"-bg-blue span-b2 flex"},null,-1))],8,VTM)):(v(),R("span",{key:1,id:`skills-radio-${lM.skill_id}-${fM.ID}`,class:yt([fM.ID===lM.proficiencyId?"-bg-aqua -border-gray-1 relative flex h-5 w-5 shrink-0 items-center justify-center rounded text-white":fM.ID===lM.idealProficiencyId?"-bg-blue -border-gray-1 relative flex h-5 w-5 shrink-0 items-center justify-center rounded text-white":"-bg-white -border-gray-1 relative flex h-5 w-5 shrink-0 items-center justify-center rounded text-gray-700"]),onClick:rt=>tt("profSkillarray",lM.skill_id,fM.ID)},[z("span",KTM,aM(fM.Slug),1)],10,qTM))]))),128))])]),lM.is_mandatory?(v(),R("div",_TM,IM[78]||(IM[78]=[z("svg",{xmlns:"http://www.w3.org/2000/svg",class:"h4bi bi-trash w-4 opacity-40",fill:"gray",viewBox:"0 0 16 16"},[z("path",{d:"M5.5 5.5A.5.5 0 0 1 6 6v6a.5.5 0 0 1-1 0V6a.5.5 0 0 1 .5-.5zm2.5 0a.5.5 0 0 1 .5.5v6a.5.5 0 0 1-1 0V6a.5.5 0 0 1 .5-.5zm3 .5a.5.5 0 0 0-1 0v6a.5.5 0 0 0 1 0V6z"}),z("path",{"fill-rule":"evenodd",d:"M14.5 3a1 1 0 0 1-1 1H13v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V4h-.5a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1H6a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1h3.5a1 1 0 0 1 1 1v1zM4.118 4 4 4.059V13a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1V4.059L11.882 4H4.118zM2.5 3V2h11v1h-11z"})],-1)]))):(v(),R("div",{key:1,class:"pl-4",onClick:fM=>_M("profSkillarray",lM.skill_id)},IM[79]||(IM[79]=[z("svg",{xmlns:"http://www.w3.org/2000/svg",class:"h4 pointer bi bi-trash w-4",fill:"gray",viewBox:"0 0 16 16"},[z("path",{d:"M5.5 5.5A.5.5 0 0 1 6 6v6a.5.5 0 0 1-1 0V6a.5.5 0 0 1 .5-.5zm2.5 0a.5.5 0 0 1 .5.5v6a.5.5 0 0 1-1 0V6a.5.5 0 0 1 .5-.5zm3 .5a.5.5 0 0 0-1 0v6a.5.5 0 0 0 1 0V6z"}),z("path",{"fill-rule":"evenodd",d:"M14.5 3a1 1 0 0 1-1 1H13v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V4h-.5a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1H6a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1h3.5a1 1 0 0 1 1 1v1zM4.118 4 4 4.059V13a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1V4.059L11.882 4H4.118zM2.5 3V2h11v1h-11z"})],-1)]),8,$TM))])])])):yM("",!0),lM!=null&&lM.subskill?(v(),R("div",MzM,[(v(!0),R(WM,null,et(lM==null?void 0:lM.subskill.slice(0,3),(fM,rt)=>(v(),R("tr",{key:rt,class:"-text-gray flex bg-white"},[lM.skillStatus&&fM.skillStatus?(v(),R("div",tzM,[PM(" - - "+aM(fM.skill)+" ",1),lM!=null&&lM.addatlistonesubskill?(v(),R("span",LzM,"Missing Proficiency")):yM("",!0)])):yM("",!0),lM.skillStatus&&fM.skillStatus?(v(),R("div",jzM,[z("div",uzM,[IM[84]||(IM[84]=z("div",{class:"pl-6"},null,-1)),z("div",null,[z("ol",AzM,[(v(!0),R(WM,null,et(NM.value.slice(0,4),BM=>(v(),R("li",{key:BM.ID+Math.random()*1e3,class:"flex w-full items-center after:inline-block after:w-full after:content-['']"},[BM.ID===fM.proficiencyId&&BM.ID===fM.idealProficiencyId?(v(),R("span",{key:0,id:`skills-radio-${fM.skill_id}-${BM.ID}`,class:"-border-gray-1 flex h-5 w-5 shrink-0 items-center justify-center overflow-hidden rounded text-white",onClick:gt=>It("profSkillarray",fM.skill_id,BM.ID)},[IM[80]||(IM[80]=z("span",{class:"-bg-aqua span-a2 flex"},null,-1)),z("span",ezM,aM(BM.Slug),1),IM[81]||(IM[81]=z("span",{class:"-bg-blue span-b2 flex"},null,-1))],8,NzM)):(v(),R("span",{key:1,id:`skills-radio-${fM.skill_id}-${BM.ID}`,class:yt([BM.ID===fM.proficiencyId?"-bg-aqua -border-gray-1 relative flex h-5 w-5 shrink-0 items-center justify-center rounded text-white":BM.ID===fM.idealProficiencyId?"-bg-blue -border-gray-1 relative flex h-5 w-5 shrink-0 items-center justify-center rounded text-white":"-bg-white -border-gray-1 relative flex h-5 w-5 shrink-0 items-center justify-center rounded text-gray-700"]),onClick:gt=>It("profSkillarray",fM.skill_id,BM.ID)},[z("span",SzM,aM(BM.Slug),1)],10,izM))]))),128))])]),fM.is_mandatory?(v(),R("div",yzM,IM[82]||(IM[82]=[z("svg",{xmlns:"http://www.w3.org/2000/svg",class:"h4bi bi-trash w-4 opacity-40",fill:"gray",viewBox:"0 0 16 16"},[z("path",{d:"M5.5 5.5A.5.5 0 0 1 6 6v6a.5.5 0 0 1-1 0V6a.5.5 0 0 1 .5-.5zm2.5 0a.5.5 0 0 1 .5.5v6a.5.5 0 0 1-1 0V6a.5.5 0 0 1 .5-.5zm3 .5a.5.5 0 0 0-1 0v6a.5.5 0 0 0 1 0V6z"}),z("path",{"fill-rule":"evenodd",d:"M14.5 3a1 1 0 0 1-1 1H13v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V4h-.5a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1H6a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1h3.5a1 1 0 0 1 1 1v1zM4.118 4 4 4.059V13a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1V4.059L11.882 4H4.118zM2.5 3V2h11v1h-11z"})],-1)]))):(v(),R("div",{key:1,class:"pl-4",onClick:BM=>pt("profSkillarray",fM.skill_id)},IM[83]||(IM[83]=[z("svg",{xmlns:"http://www.w3.org/2000/svg",class:"h4 pointer bi bi-trash w-4",fill:"gray",viewBox:"0 0 16 16"},[z("path",{d:"M5.5 5.5A.5.5 0 0 1 6 6v6a.5.5 0 0 1-1 0V6a.5.5 0 0 1 .5-.5zm2.5 0a.5.5 0 0 1 .5.5v6a.5.5 0 0 1-1 0V6a.5.5 0 0 1 .5-.5zm3 .5a.5.5 0 0 0-1 0v6a.5.5 0 0 0 1 0V6z"}),z("path",{"fill-rule":"evenodd",d:"M14.5 3a1 1 0 0 1-1 1H13v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V4h-.5a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1H6a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1h3.5a1 1 0 0 1 1 1v1zM4.118 4 4 4.059V13a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1V4.059L11.882 4H4.118zM2.5 3V2h11v1h-11z"})],-1)]),8,rzM))])])):yM("",!0)]))),128))])):yM("",!0),lM!=null&&lM.subskill&&(lM==null?void 0:lM.subskill.length)>3?(v(),R("div",nzM,[z("div",DzM,[z("button",{class:"-text-aqua inline-block",onClick:fM=>oM("profSkillarray",lM)},"Click to view subskills ...",8,szM)])])):yM("",!0)])):yM("",!0)]))),128)),Z.value<=3&&x.value.length>3?(v(),R("tr",TzM,[z("td",zzM,[z("button",{class:"-text-aqua inline-block",onClick:IM[14]||(IM[14]=lM=>sM("profSkillarray",x.value.length))},"View more ...")])])):yM("",!0),Z.value>3?(v(),R("tr",IzM,[z("td",czM,[z("button",{class:"-text-aqua inline-block",onClick:IM[15]||(IM[15]=lM=>Z.value=3)},"View less ...")])])):yM("",!0)])])):yM("",!0)])):(v(),R("div",azM,"No skills found"))])])])]),IM[89]||(IM[89]=z("div",{id:"skilluploadid"},null,-1)),m.value&&!P.value||e.value&&!P.value?(v(),R("div",gzM,[z("div",{onClick:IM[16]||(IM[16]=lM=>zM()),class:"bot-text relative w-full max-w-3xl md:w-auto lg:w-auto"},IM[86]||(IM[86]=[z("button",{class:"-border-blue-1 -bg-blue mr-2 inline-block px-4 py-1.5 text-sm text-white"},"Submit",-1)]))])):yM("",!0),E.value?(v(),R("section",ozM,IM[87]||(IM[87]=[z("div",{class:"mt-24 flex items-start justify-center"},[z("img",{class:"w-24",src:nj,alt:"Loader Gif"})],-1)]))):yM("",!0)])),f.value?(v(),qt(mu,{key:2,showdiscription:!0,name:"showdiscription",discriptioValue:{descriptionPopupvalue:C.value},onConsetvalueemit:IM[17]||(IM[17]=lM=>f.value=lM)},null,8,["discriptioValue"])):yM("",!0),a.value?(v(),qt(jnM,{key:3,"array-of":K.value,"skill-data":B.value,name:"skillselection",onConsetvalueemit:IM[18]||(IM[18]=lM=>a.value=lM)},null,8,["array-of","skill-data"])):yM("",!0),g.value?(v(),qt(yY,{key:4,"array-of":K.value,skillload:N.value,"skill-data":B.value,name:"skillselection",onSavecheckemit:IM[19]||(IM[19]=lM=>u.value=lM),onConsetvalueemit:IM[20]||(IM[20]=lM=>(g.value=lM,N.value=lM))},null,8,["array-of","skillload","skill-data"])):yM("",!0),n.value?(v(),qt(mI,{key:5,text:D.value,onConsetvalueemit:IM[21]||(IM[21]=lM=>n.value=lM)},null,8,["text"])):yM("",!0),y.value?(v(),qt(mu,{key:6,name:"atlistoneskill",onConsetvalueemit:IM[22]||(IM[22]=lM=>y.value=lM)})):yM("",!0),r.value?(v(),qt(mu,{key:7,name:"atlistoneskill",onConsetvalueemit:IM[23]||(IM[23]=lM=>r.value=lM)})):yM("",!0),i.value?(v(),qt(mu,{key:8,name:"digestpopup",onSubmitprofileemit:IM[24]||(IM[24]=lM=>zM()),onConsetvalueemit:IM[25]||(IM[25]=lM=>i.value=lM)})):yM("",!0),S.value?(v(),qt(mu,{key:9,name:"startoverpopup",onStartoveremit:IM[26]||(IM[26]=lM=>nM()),onConsetvalueemit:IM[27]||(IM[27]=lM=>S.value=lM)})):yM("",!0),j.value?(v(),qt(mu,{key:10,name:"onloadpopup",onConsetvalueemit:IM[28]||(IM[28]=lM=>j.value=lM)})):yM("",!0)]))}}),eCt="",rY=jL(xzM,[["__scopeId","data-v-371816ce"]]),EzM={key:1},lzM={key:0,class:"row bot-text-left relative mb-1 mt-4 items-start md:px-8 lg:px-8"},OzM={class:"bot-text relative mb-14 flex w-full md:w-auto lg:w-auto"},dzM={class:"relative"},wzM={key:1,class:"w-full"},fzM={key:0,class:"bot-text relative mb-4 max-w-3xl"},CzM={class:"relative w-full max-w-3xl border bg-[#F2F2F2] px-5 py-2 md:w-auto lg:w-auto"},QzM={class:"md:flex lg:flex"},UzM={class:"w-auto border border-gray-400 bg-white px-4 py-1.5 text-sm md:w-72 lg:w-72"},hzM={for:"uploadResume",class:"pointer text-gray-500"},YzM=["disabled"],vzM={key:0,class:"mt-2 md:mt-0 md:pl-2 lg:mt-0 lg:pl-2"},kzM=["disabled"],pzM={key:0,class:"row bot-text-left relative mb-1 mt-2 flex items-start"},mzM={class:"relative w-full max-w-3xl border bg-[#F2F2F2] px-5 py-2 md:w-auto lg:w-auto"},bzM={class:"text-red-500"},PzM={key:1,class:"row bot-text-left relative mb-1 mt-2 flex items-start"},RzM={class:"relative w-full max-w-3xl border bg-[#F2F2F2] px-5 py-2 md:w-auto lg:w-auto"},BzM={class:"text-red-500"},HzM={key:2,class:"row bot-text-left relative mb-1 mt-2 flex items-start"},ZzM={class:"relative w-full max-w-3xl border bg-[#F2F2F2] px-5 py-2 md:w-auto lg:w-auto"},FzM={class:"flex items-center"},XzM={key:3,class:"row bot-text-left relative mb-1 mt-2 flex items-start"},GzM={class:"bot-text text-row-bg relative w-full max-w-3xl px-5 py-2 md:w-auto lg:w-auto"},WzM={class:"flex items-center"},VzM={class:"-text-blue flex items-center"},JzM={class:"pt-1"},qzM={key:2,class:"row bot-text-left relative mb-4 flex items-start"},KzM={class:"bot-text relative w-full max-w-3xl p-2 md:w-auto lg:w-auto"},_zM={class:"flex items-center pt-3"},$zM={class:"drop-locked relative"},MIM={key:0,class:"shadow absolute top-10 z-10 max-h-72 w-72 divide-y divide-gray-100 overflow-y-auto rounded-lg bg-white dark:bg-gray-700"},tIM={class:"list-none py-2 text-sm text-gray-700 dark:text-gray-200","aria-labelledby":"dropdownHoverButton"},LIM={key:0,class:"block cursor-pointer px-4 py-2 font-bold hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white"},jIM=["onClick"],uIM=["onClick"],AIM={key:0,class:"mt-1.5 text-red-500"},NIM={key:0},eIM={key:1,class:"pt-3"},iIM={class:"-text-blue rounded border border-gray-300 bg-gray-100 px-3 pb-3 pt-2"},SIM={class:"flex w-full flex-wrap text-xs"},yIM={class:"pointer pl-2"},rIM=["onClick"],nIM={class:"pt-1"},DIM={key:3,class:"flex justify-center"},sIM={class:""},TIM={class:"z-50"},zIM={key:0,class:"fixed -top-6 left-0 z-50 flex h-full min-h-screen w-full items-center justify-center bg-[#707070] bg-opacity-30 p-2 text-[15px] md:top-0 md:p-0 lg:top-0 lg:p-0"},IIM={class:"popup-content shadow-lg w-full overflow-auto bg-white md:h-auto md:w-1/3 lg:h-auto lg:w-1/3"},cIM={class:"flex w-full justify-end pr-4 pt-4"},aIM={key:0,class:"popup-body geLight -text-blue px-8 py-2"},gIM={class:"mb-2 text-lg font-bold"},oIM={class:"h-40 overflow-y-scroll"},xIM=["value","onClick"],EIM={class:""},lIM={class:"flex justify-center pt-6"},OIM={key:1,class:"flex items-center justify-center"},dIM={key:0,class:"fixed -top-6 left-0 z-50 flex h-full min-h-screen w-full items-center justify-center bg-[#707070] bg-opacity-30 p-2 text-[15px] md:top-0 md:p-0 lg:top-0 lg:p-0"},wIM={class:"popup-content shadow-lg w-full bg-white text-center md:w-2/3 lg:w-2/3"},fIM={class:"popup-body geLight -text-blue px-12 py-12"},CIM={class:"text-3xl"},QIM={class:"w-full rounded-full bg-gray-200"},UIM=kt({__name:"SkillmatchingComponent",props:{initSkillupload:{type:Boolean,default:()=>!1},profileskilllist:{type:Object}},emits:["resumeUploaded","closeProfileemit","initSkilluploademit","finalSkilluploademit","closeUploademit"],setup(L,{emit:M}){const t=IL(),j=M,u=Tu();V(!1);const A=V(!1),N=V(!1),e=V(!1),i=V(!1);V(!1);const S=V();V(5);const y=V(),r=V(),n=V(),D=V([]),s=V([]);V("Please wait while the resume is uploading");const I=V(!1),T=V(!1),c=V(!1),a=V(!1),g=V(!1),o=V(!1),E=V(!1),f=V(0),C=V(),h=V(),Y=V();V();const k=V([]),p=V([]),m=V([]);m.value=t.suggestedSkillsArray;const U=V([]);V([]);const Q=V(""),w=V("");let x=V(""),O=V("");const l=V(!1),d=V(!1),b=V(!1),X=V(null),B=L;oL(async()=>{var AM;document.addEventListener("click",H),(AM=m.value)==null||AM.forEach(_=>{_.skillAddedinlist=!1})});const G=()=>{X.value&&clearTimeout(X.value),X.value=setTimeout(()=>{MM()},300)},W=()=>{console.log("innnnnnnnnnnnn"),j("closeUploademit",!0),j("finalSkilluploademit",!0)},MM=async()=>{var AM;if(C.value.length>="3")try{((AM=C==null?void 0:C.value)==null?void 0:AM.split(/[,;]/)).forEach(async iM=>{U.value=[];const{data:jM}=await WL(`/delphi/skill_master/name?skillName=${iM}`);let SM=jM;if(SM=SM.filter(zM=>zM.skillId!=="4b77650b-5053-418a-afff-026395ec5ca7"),console.log("dummy",SM),d.value=!0,SM.length){const zM=new Map,sM={},oM=YM=>YM.parentId===null||YM.parentId==="-1";SM.forEach(YM=>{oM(YM)?zM.set(YM.skillId,{...YM,subskill:[]}):(sM[YM.parentId]||(sM[YM.parentId]=[]),sM[YM.parentId].push(YM))});const CM=new Set(Array.from(zM.keys()));console.log("parentIds",CM);for(const YM of zM.keys()){const FM=(sM[YM]||[]).filter(ut=>!CM.has(ut.skillId));zM.get(YM).subskill=FM.sort((ut,tt)=>ut.skillName.localeCompare(tt.skillName))}U.value=Array.from(zM.values()).sort((YM,kM)=>YM.skillName.localeCompare(kM.skillName)),console.log("profileSkillarray2222222",U.value)}else U.value.push({skillName1:"Sorry, no matching options."})})}catch(_){_.response?u.error(`${_.response.data.message}`):_.message?u.error(`${_.message}`):u.error("Failed to load data")}},Z=async(AM,_)=>{var iM;if(p!=null&&p.value.some(jM=>jM.skillId===_.skill_id))p.value.splice(AM,1);else{const jM={parentId:_.parentskillid,skillId:_.skill_id,skillName:_.skill,skillStatus:!0,myPlanRelevent:!1};(iM=p==null?void 0:p.value)==null||iM.push(jM)}},K=async()=>{var AM;(AM=p.value)==null||AM.forEach(_=>{k.value.push(_)}),p.value=[],a.value=!1};UA(()=>{document.removeEventListener("click",H)});const H=AM=>{const _=document.querySelector(".drop-locked");_&&!_.contains(AM.target.parentNode)&&(d.value=!1)},P=AM=>{Q.value="",w.value="",y.value=AM.target.files[0],S.value=AM.target.files[0].name;const _=1024*1024*1;if(y.value.size>_){Q.value="File size exceeds the maximum allowed size (1MB).",S.value=null,y.value=null,f.value++;return}if(!["application/pdf","application/vnd.openxmlformats-officedocument.wordprocessingml.document","text/plain"].includes(y.value.type)){w.value="Invalid file type. Please upload valid file.",S.value=null,y.value=null,f.value++;return}},J=async AM=>{console.log("inn3");let _="",iM=0,jM=setInterval(async()=>{try{iM+=1;const SM=await WL(`/delphi/prompt/chain/execution/status/${AM}`);if(_=SM.data.data.status,D.value.includes(SM.data.data.message)||D.value.push(SM.data.data.message),_==="success"){clearInterval(jM);const zM=await WL(`/delphi/v2/myprofile/parser/${AM}`);D.value.includes(zM.data.message)||D.value.push(zM.data.message),zM.data.status==="success"&&(t.initSkilluploadArray=zM.data.final_skill_data_for_ui,A.value=!0)}else(_==="failed"||iM===500)&&(u.error("Failed to load data"),N.value=!0,i.value=!1,l.value=!1,clearInterval(jM))}catch(SM){SM.response?u.error(`${SM.response.data.message}`):SM.message?u.error(`${SM.message}`):u.error("Failed to upload resume"),N.value=!0,i.value=!1,l.value=!1}},3e3)},LM=async()=>{i.value=!0,g.value=!0,console.log("enteredSkillarray.value",k.value);try{const AM={skills:k.value},{data:_}=await HL("delphi/v2/myprofile",AM);console.log("data",_),_==="profile saved successfully"&&(await t.ProfileV6function(),j("closeUploademit",!0),j("finalSkilluploademit",!0),i.value=!1,g.value=!1)}catch{N.value=!0,i.value=!1}},eM=async()=>{if(l.value=!0,g.value=!0,i.value=!0,!S.value)n.value="Please Select valid file to upload",setTimeout(()=>{n.value=null},6e3);else try{const AM=await HL("/delphi/signed_url",{file_name:S.value}),_=AM.data.messsage.url,iM=AM.data.messsage.file_key;if((await RD(_,y.value)).status===200){let SM;B.initSkillupload?SM={file_key:iM,skill_data:"",init_added_more_skill:!0}:SM={file_key:iM,skill_data:"",final_added_more_skill:!0};const{data:zM}=await HL("/delphi/v3/skill_profile/resume",SM);zM&&!zM.error?(D.value.includes(zM.message)||D.value.push(zM.message),await J(zM==null?void 0:zM.execution_id)):(u.error(`${zM.message}`),N.value=!0,i.value=!1,l.value=!1)}else u.error("Unable to upload the file"),N.value=!0,i.value=!1,l.value=!1}catch(AM){AM.response?u.error(`${AM.response.data.message}`):AM.message?u.error(`${AM.message}`):u.error("Failed to upload resume"),N.value=!0,i.value=!1,l.value=!1}},$=async()=>{S.value=null,y.value=null,f.value++},NM=async(AM,_,iM)=>{var jM,SM,zM,sM;iM&&((jM=k==null?void 0:k.value)!=null&&jM.some(oM=>oM.skillId===iM))?((SM=k==null?void 0:k.value)==null?void 0:SM.filter(CM=>CM.parentId===iM)).length===1?e.value=!0:k.value.splice(AM,1):(k.value.splice(AM,1),k.value=(zM=k.value)==null?void 0:zM.filter(oM=>oM.parentId!==_)),(sM=m.value)==null||sM.forEach(oM=>{oM.skill_id===_&&(oM.skillAddedinlist=!1)})},nM=async(AM,_)=>{var jM,SM,zM,sM,oM,CM,YM;s.value=[],p.value=[],Y.value="",h.value="",b.value=!1,O.value="",x.value="";let iM=!1;if((jM=k.value)==null||jM.forEach(kM=>{kM.skillName===AM.skillName&&(iM=!0)}),(zM=(SM=B==null?void 0:B.profileskilllist)==null?void 0:SM.profileParseddataMatchedskill)==null||zM.forEach(kM=>{kM.skill_id===(AM==null?void 0:AM.skillId)&&kM.skillStatus&&(b.value=!0,O.value=AM==null?void 0:AM.skillName,x.value="already exists in learning profile.",setTimeout(()=>{b.value=!1,O.value="",x.value=""},7e3))}),!b.value){if(iM)O.value=AM==null?void 0:AM.skillName,x.value="already exists in list.",setTimeout(()=>{O.value="",x.value="",iM=!1},4e3);else if(k.value.push(AM),console.log("enteredSkillarray.value",k.value),console.log("val?.parentId",AM==null?void 0:AM.skillId),console.log("enteredSkillarray?.value?.some((obj) => obj.skillId === val?.parentId)",(sM=k==null?void 0:k.value)==null?void 0:sM.some(kM=>(kM==null?void 0:kM.parentId)===(AM==null?void 0:AM.skillId))),!((oM=k==null?void 0:k.value)!=null&&oM.some(kM=>(kM==null?void 0:kM.parentId)===(AM==null?void 0:AM.skillId))))try{a.value=!0;const{data:kM}=await WL(`/delphi/subskills/${AM==null?void 0:AM.skillId}`);console.log("data",kM),((CM=kM==null?void 0:kM.subskill)==null?void 0:CM.length)!==0?(s.value=kM==null?void 0:kM.subskill,O.value=AM==null?void 0:AM.skillName,h.value=(YM=k.value)==null?void 0:YM.findIndex(FM=>FM.skillId===(AM==null?void 0:AM.skillId))):(d.value=!1,C.value="",a.value=!1)}catch{d.value=!1,C.value="",a.value=!1}}d.value=!1,C.value=""};return(AM,_)=>{var iM;return TM(t).initSkilluploadArray&&A.value?(v(),qt(rY,{key:0,onSkillSelectionemit:_[0]||(_[0]=jM=>W())})):(v(),R("section",EzM,[z("section",null,[c.value?yM("",!0):(v(),R("div",lzM,[_[23]||(_[23]=z("div",{class:"flex"},[z("div",{class:"pt-0.5 text-lg"},"Choose how would you like to add skills to your profile")],-1)),z("div",OzM,[z("button",{onClick:_[1]||(_[1]=jM=>{T.value=!0,E.value=!0,c.value=!0}),class:"mr-2 mt-1 inline-block cursor-pointer bg-genome-v6 px-4 py-1.5 text-sm text-white"},"Add skills manually"),z("button",dzM,[z("div",null,[z("div",{onClick:_[2]||(_[2]=jM=>{I.value=!0,c.value=!0}),class:"mt-1 inline-block cursor-pointer bg-genome-v6 px-4 py-1.5 text-sm text-white"},"Add skills from resume")])]),_[22]||(_[22]=z("div",{class:"ml-2 flex items-end text-left text-xs md:w-64 lg:w-64"},"(Uploading your resume adds new skills without replacing existing ones in your skills profile)",-1))])])),o.value?(v(),R("div",wzM,[g.value?yM("",!0):(v(),R("div",fzM,[z("div",CzM,[z("div",QzM,[z("div",UzM,[_[25]||(_[25]=z("input",{id:"uploadResume",type:"file",class:"hidden"},null,-1)),z("label",hzM,[_[24]||(_[24]=PM("Upload your resume here ")),(v(),R("input",{key:f.value,disabled:g.value,type:"file",onChange:_[3]||(_[3]=jM=>P(jM))},null,40,YzM))])]),S.value?(v(),R("div",vzM,[z("button",{disabled:g.value,class:"-border-blue-1 -bg-blue inline-block px-6 py-1.5 text-white",onClick:_[4]||(_[4]=jM=>eM())},"Upload",8,kzM)])):yM("",!0)]),_[26]||(_[26]=z("div",{class:"mt-1 flex"},[z("div",{class:"-text-blue"},"File size max 1 MB"),z("div",{class:"pl-6"},"File types .pdf/.docx/.txt")],-1))]),Q.value?(v(),R("div",pzM,[z("div",mzM,[z("p",bzM,aM(Q.value),1)])])):yM("",!0),w.value?(v(),R("div",PzM,[z("div",RzM,[z("p",BzM,aM(w.value),1)])])):yM("",!0),S.value?(v(),R("div",HzM,[z("div",ZzM,[z("div",FzM,[z("div",{class:yt([g.value?"-text-blue flex cursor-not-allowed items-center":"-text-blue flex items-center"])},[z("span",null,aM(S.value),1),z("span",{class:yt([g.value?"cursor-not-allowed pl-2":"pointer pl-2"]),onClick:_[5]||(_[5]=jM=>$())},_[27]||(_[27]=[z("svg",{class:"h-2 w-2","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 14 14"},[z("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"m1 1 6 6m0 0 6 6M7 7l6-6M7 7l-6 6"})],-1)]),2)],2)])])])):yM("",!0),r.value?(v(),R("div",XzM,[z("div",GzM,[z("div",WzM,[z("div",VzM,[z("span",null,aM(r.value),1)])])])])):yM("",!0),z("div",JzM,[z("button",{class:"-bg-blue mr-2 inline-block px-4 py-1.5 text-sm text-white",onClick:_[6]||(_[6]=jM=>{o.value=!1,c.value=!1})},"Skip uploading resume")])]))])):yM("",!0),E.value&&!g.value?(v(),R("div",qzM,[z("div",KzM,[_[31]||(_[31]=Pj('<div class="-text-blue mt-1 font-bold" data-v-4a9b2598>Add Skills</div><div class="-text-blue pt-0.5 text-[15px]" data-v-4a9b2598> We recommend your profile highlights key skills you regularly use in your current role, covering industry (<span class="text-xs" data-v-4a9b2598>e.g. Banking, Insurance...</span>), domain (<span class="text-xs" data-v-4a9b2598>e.g. Sourcing & Procurement, Claims…</span>), digital (<span class="text-xs" data-v-4a9b2598>e.g. Generative AI, ADM - Java…</span>), and professional (<span class="text-xs" data-v-4a9b2598>e.g. Executive presence, Storytelling…</span>) skills. </div>',2)),z("div",_zM,[z("div",$zM,[Yt(z("input",{"onUpdate:modelValue":_[7]||(_[7]=jM=>C.value=jM),onInput:_[8]||(_[8]=jM=>G()),type:"text",class:"-text-blue h-9 w-auto border border-gray-400 px-2 py-1.5 text-[15px] outline-none focus:outline-none md:w-64 md:placeholder:text-center lg:w-64 lg:placeholder:text-center",placeholder:"Select or Search skills"},null,544),[[Lj,C.value]]),_[28]||(_[28]=z("div",{class:"absolute inset-y-0 end-4 flex items-center ps-3"},[z("svg",{class:"h-3 w-3 text-gray-500","aria-hidden":"true",fill:"none",viewBox:"0 0 20 20"},[z("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"m19 19-4-4m0-7A7 7 0 1 1 1 8a7 7 0 0 1 14 0Z"})])],-1)),d.value?(v(),R("div",MIM,[z("ul",tIM,[(v(!0),R(WM,null,et(U.value,(jM,SM)=>(v(),R("li",{key:SM},[jM.skillName1?(v(),R("a",LIM,aM(jM.skillName1),1)):(v(),R("a",{key:1,onClick:zM=>nM(jM),class:"block cursor-pointer px-4 py-2 font-bold hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white"},aM(jM.skillName),9,jIM)),(v(!0),R(WM,null,et(jM.subskill,(zM,sM)=>(v(),R("div",{key:sM},[z("span",{class:"block cursor-pointer pb-1 pl-6 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white",onClick:oM=>nM(zM)},aM(zM.skillName),9,uIM)]))),128))]))),128))])])):yM("",!0)])]),TM(x)!==""?(v(),R("div",AIM,[TM(O)!==""?(v(),R("b",NIM,aM(TM(O)),1)):yM("",!0),PM(" "+aM(TM(x)),1)])):yM("",!0),k.value&&k.value.length?(v(),R("div",eIM,[z("div",iIM,[_[30]||(_[30]=z("div",{class:"flex justify-end"},null,-1)),z("div",SIM,[(v(!0),R(WM,null,et(k.value,(jM,SM)=>(v(),R("div",{key:SM,class:"-text-gray mr-1 mt-1 flex items-center justify-between border border-gray-400 bg-white px-2 py-1.5"},[z("span",null,aM(jM.skillName),1),z("span",yIM,[(v(),R("svg",{class:"-text-gray bi bi-plus h-2 w-2","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 14 14",onClick:zM=>NM(SM,jM.skillId,jM.parentId)},_[29]||(_[29]=[z("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"m1 1 6 6m0 0 6 6M7 7l6-6M7 7l-6 6"},null,-1)]),8,rIM))])]))),128))])])])):yM("",!0),z("div",nIM,[k.value&&k.value.length?(v(),R("button",{key:0,class:"-bg-blue mr-2 inline-block rounded px-4 py-1.5 text-sm text-white",onClick:_[9]||(_[9]=jM=>LM())},"Submit")):yM("",!0),z("button",{class:"inline-block rounded bg-genpact-darkest-teal px-4 py-1.5 text-sm text-white",onClick:_[10]||(_[10]=jM=>{c.value=!1,E.value=!1})},"Skip adding skills")])])])):yM("",!0),i.value?(v(),R("div",DIM,[z("div",sIM,[dt(SY)])])):yM("",!0)]),z("section",null,[I.value?(v(),qt(mu,{key:0,name:"resumeupload",onConsetvalueemit:_[11]||(_[11]=jM=>I.value=jM),onResumeUploadvalueemit:_[12]||(_[12]=jM=>(o.value=jM,c.value=jM)),onSkipinputvalueemit:_[13]||(_[13]=jM=>(E.value=jM,c.value=jM))})):yM("",!0),T.value?(v(),qt(mu,{key:1,name:"manualentry",onConsetvalueemit:_[14]||(_[14]=jM=>T.value=jM),onResumeUploadvalueemit:_[15]||(_[15]=jM=>(o.value=jM,c.value=!0)),onSkipinputvalueemit:_[16]||(_[16]=jM=>(E.value=jM,c.value=jM))})):yM("",!0),N.value?(v(),qt(mI,{key:2,onConsetvalueemit:_[17]||(_[17]=jM=>N.value=jM)})):yM("",!0),e.value?(v(),qt(mu,{key:3,name:"atlistoneskill",onConsetvalueemit:_[18]||(_[18]=jM=>e.value=jM)})):yM("",!0),z("section",TIM,[a.value?(v(),R("div",zIM,[z("div",IIM,[z("div",cIM,[z("span",{class:"pointer pl-2 text-right",onClick:_[19]||(_[19]=jM=>(NM(h.value,Y.value,""),a.value=!1))},_[32]||(_[32]=[z("img",{class:"",src:CL,alt:"Close"},null,-1)]))]),(iM=s.value)!=null&&iM.length?(v(),R("div",aIM,[z("div",gIM,"Choose atleast one subskill under "+aM(TM(O)),1),z("div",oIM,[(v(!0),R(WM,null,et(s.value,(jM,SM)=>(v(),R("div",{class:"p-1",key:SM},[z("input",{class:"mr-2",value:jM,onClick:zM=>Z(SM,jM),type:"checkbox"},null,8,xIM),z("span",EIM,aM(jM.skill),1)]))),128))]),z("div",lIM,[z("button",{onClick:_[20]||(_[20]=jM=>K()),class:"-bg-blue mr-3 inline-block cursor-pointer rounded px-6 py-2 text-white"},"Submit"),z("button",{onClick:_[21]||(_[21]=jM=>(NM(h.value,Y.value,""),a.value=!1)),class:"-bg-blue inline-block cursor-pointer rounded px-6 py-2 text-white"},"Cancel")])])):(v(),R("div",OIM,_[33]||(_[33]=[z("img",{class:"w-24",src:nj,alt:"Loader Gif"},null,-1)])))])])):yM("",!0)])]),l.value?(v(),R("div",dIM,[z("div",wIM,[z("div",fIM,[z("div",CIM,[z("b",null,aM(D.value.length*7>100?100:D.value.length*7)+"%",1)]),_[34]||(_[34]=z("div",{class:"mb-4 font-bold"},"Gen AI is preparing a draft version of your skills profile for your review!",-1)),z("div",QIM,[z("div",{class:"h-3 rounded-full bg-background-secondary p-0.5 text-center text-xs font-medium leading-none text-blue-100",style:Cj({width:D.value.length*7>100?100:D.value.length*7+"%"})},null,4)])])])])):yM("",!0)]))}}}),iCt="",hIM=jL(UIM,[["__scopeId","data-v-4a9b2598"]]),bI="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIj8+PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciICB2aWV3Qm94PSIwIDAgMjQgMjQiIHdpZHRoPSIyNHB4IiBoZWlnaHQ9IjI0cHgiIHN0eWxlPSJmaWxsOiAjMDczMjYyOyI+ICAgIDxwYXRoIGQ9Ik0gMTkuMTcxODc1IDIgQyAxOC40NDgxMjUgMiAxNy43MjQzNzUgMi4yNzU2MjUgMTcuMTcxODc1IDIuODI4MTI1IEwgMTYgNCBMIDIwIDggTCAyMS4xNzE4NzUgNi44MjgxMjUgQyAyMi4yNzU4NzUgNS43MjQxMjUgMjIuMjc1ODc1IDMuOTMzMTI1IDIxLjE3MTg3NSAyLjgyODEyNSBDIDIwLjYxOTM3NSAyLjI3NTYyNSAxOS44OTU2MjUgMiAxOS4xNzE4NzUgMiB6IE0gMTQuNSA1LjUgTCAzIDE3IEwgMyAyMSBMIDcgMjEgTCAxOC41IDkuNSBMIDE0LjUgNS41IHoiLz48L3N2Zz4=",zl="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAXEAAAHICAMAAACPnCorAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyRpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDcuMS1jMDAwIDc5LmRhYmFjYmIsIDIwMjEvMDQvMTQtMDA6Mzk6NDQgICAgICAgICI+IDxyZGY6UkRGIHhtbG5zOnJkZj0iaHR0cDovL3d3dy53My5vcmcvMTk5OS8wMi8yMi1yZGYtc3ludGF4LW5zIyI+IDxyZGY6RGVzY3JpcHRpb24gcmRmOmFib3V0PSIiIHhtbG5zOnhtcD0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wLyIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bXA6Q3JlYXRvclRvb2w9IkFkb2JlIFBob3Rvc2hvcCAyMi41IChXaW5kb3dzKSIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDpFQUI3MzNEQjlCNUQxMUVGODU5MEJEMTM1Q0ExRTc5MyIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDpFQUI3MzNEQzlCNUQxMUVGODU5MEJEMTM1Q0ExRTc5MyI+IDx4bXBNTTpEZXJpdmVkRnJvbSBzdFJlZjppbnN0YW5jZUlEPSJ4bXAuaWlkOkVBQjczM0Q5OUI1RDExRUY4NTkwQkQxMzVDQTFFNzkzIiBzdFJlZjpkb2N1bWVudElEPSJ4bXAuZGlkOkVBQjczM0RBOUI1RDExRUY4NTkwQkQxMzVDQTFFNzkzIi8+IDwvcmRmOkRlc2NyaXB0aW9uPiA8L3JkZjpSREY+IDwveDp4bXBtZXRhPiA8P3hwYWNrZXQgZW5kPSJyIj8+uWWqXwAAADBQTFRFpLTNaYq7T4DKUIzp5enwTYPTg5vBuMTXV4DATofeztbidZG9YIS8kqfGVJX4////GJ2E1AAAABB0Uk5T////////////////////AOAjXRkAAARXSURBVHja7NvbcqowGIBRDuEgKLz/27a96EWnamDzYyfu9T1BWJNJYsBq1WurEBAnLuLERZy4iBMnLuLERZy4iBMnLuLERZy4iBMnLuLERZy4iBMXceLERZy4iBMXceLERZy4iBMXceLERZy4iBMXceIiTpy4iBMXceIqXLyqm8uyLF1TD8TPL9Vf2t9d6kT83OZ2+VnbEz9zgjfL78ZE/KyGdrlXl4if03QfvDDygsRTtzyqI35G1+VxNfETRro8ayIeXvNUfCQevm0uz0vEX7iKfzUTD67LiDfEg4+GSy7irzyplHRaeR/xijhx4sSJEydOnDhx4sSJEydOnDhx4sSJEydOnDhx4sSJEydOnDhx4sSJEydOnDhx4sSJEydOnDhx4sSJEydOnDhx4sSJEydOnDhx4sSJEydOnDhx4sSJEydOnDhx4sSJEydOnDhx4sSJEydOnDhx4sSJEydOnDhx4sSJEydOnDhx4sSJEydOnDhx4sSJEydOnDhx4sSJEydOnDhx4sSJEydOnDhx4sSJEydOnDhx4sSJEydOnDhx4sSJEydOnDhx4sSJEz9LPFX13zVmxcc/HF2V4sXT3C16XNenWPG6hZqpnQPFhwvQLfN8iBLvYW6c5lWMOPDt9RHiN447ZvlwXDzZM/d0SYfFR4q7uh4VrxjubDooborvbTwmPhHcvXmmQ+Izwd3dDolbVML3zoy466v9NYfE+f3DkZz4qyNOnPiTXKq8eudsAEb/6MyI1wB3Nx8SHwBGX2XlbrK84QxexrPiXrkFX6vk30iY5LFTPC/ulcS+hsPi65Vi3EFl29cTbmzDzuJbvxBCHgi+7Ss4v4OilpTNX3pW3kxsOKUMa5z457mcecZ7q+T2L/aneXSvdbe2Gftps6N/pfgfEHHixIkTJ06cOHHixIkTJ06cOHHixIkTJ06cOHHixIkTJ06cOHHixIkTJ06cOHHixIkTJ06cOHHixIkTJ06cOHHixIkTJ06cOHHixIkTJ06cOHHixIkTJ06cOHHixIkTJ06cOHHixIkTJ06cOHHixIkTJ06cOHHixIkTJ06cOHHixIkTJ06cOHHixIkTJ06cOHHixIkTJ06cOHHixIkTJ06cOHHixIkTJ06cOHHixIkTJ06cOHHixIkTJ06cOHHixIkTL118IB7alBVficfWZsA74sGNGfEr8eBub7KMlyO+Xp6CNyvx6Pq3OBuWJL52bzHFSxIfHh9X2on4a9eVkp6ipLE+JO9X4meR31tY2rKeoazRrkPze9OcVuKnTvOf5/LuVtoDFCf+OeTxG/1yHQoc/lpiqfqqyKEXKl5yxIkTF3HiIk5cxIkTF3HiIk5cxIkTF3HiIk5cxIkTF3HiIk5cxImLOHHiIk5cxImLOHHiIk5cxImLOHHiIk5cxImLOHERJ05cxImLOHERJ05cxImLOHERJ05cxImLOHERJ05cxImLOHERJy7ixP+XPgQYADsmC2OSXHEcAAAAAElFTkSuQmCC",YIM={key:1},vIM={key:0,class:"row bot-text-left relative mb-1 items-start"},kIM={class:"bot-text relative mb-24 w-full max-w-3xl md:w-auto lg:w-auto"},pIM={class:"relative"},mIM={key:1,class:"w-full"},bIM={key:0,class:"bot-text relative mb-4 max-w-3xl"},PIM={class:"relative w-full max-w-3xl border bg-[#F2F2F2] px-5 py-2 md:w-auto lg:w-auto"},RIM={class:"md:flex lg:flex"},BIM={class:"w-auto border border-gray-400 bg-white px-4 py-1.5 text-sm md:w-72 lg:w-72"},HIM={for:"uploadResume",class:"pointer text-gray-500"},ZIM=["disabled"],FIM={key:0,class:"mt-2 md:mt-0 md:pl-2 lg:mt-0 lg:pl-2"},XIM=["disabled"],GIM={key:0,class:"row bot-text-left relative mb-1 mt-2 flex items-start"},WIM={class:"relative w-full max-w-3xl border bg-[#F2F2F2] px-5 py-2 md:w-auto lg:w-auto"},VIM={class:"text-red-500"},JIM={key:1,class:"row bot-text-left relative mb-1 mt-2 flex items-start"},qIM={class:"relative w-full max-w-3xl border bg-[#F2F2F2] px-5 py-2 md:w-auto lg:w-auto"},KIM={class:"text-red-500"},_IM={key:2,class:"row bot-text-left relative mb-1 mt-2 flex items-start"},$IM={class:"relative w-full max-w-3xl border bg-[#F2F2F2] px-5 py-2 md:w-auto lg:w-auto"},McM={class:"flex items-center"},tcM={key:3,class:"row bot-text-left relative mb-1 mt-2 flex items-start"},LcM={class:"bot-text text-row-bg relative w-full max-w-3xl px-5 py-2 md:w-auto lg:w-auto"},jcM={class:"flex items-center"},ucM={class:"-text-blue flex items-center"},AcM={class:"pt-1"},NcM={key:2,class:"row bot-text-right relative mb-1 flex justify-end"},ecM={key:3,class:"row bot-text-left relative mb-4 flex items-start"},icM={class:"bot-text relative w-full p-2 md:w-auto lg:w-auto"},ScM={class:"flex items-center pt-3"},ycM={class:"drop-locked relative"},rcM={key:0,class:"shadow absolute top-10 z-10 max-h-72 w-72 divide-y divide-gray-100 overflow-y-auto rounded-lg bg-white dark:bg-gray-700"},ncM={class:"list-none py-2 text-sm text-gray-700 dark:text-gray-200","aria-labelledby":"dropdownHoverButton"},DcM={key:0,class:"block cursor-pointer px-4 py-2 font-bold hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white"},scM=["onClick"],TcM=["onClick"],zcM={key:0,class:"mt-2 border p-2"},IcM={class:""},ccM=["onClick"],acM={class:"flex items-center"},gcM={key:0,class:"ml-2 h-3 w-3 text-gray-800 dark:text-white","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",fill:"#073262",viewBox:"0 0 18 18"},ocM={key:1,class:"mt-1.5 text-red-500"},xcM={key:0},EcM={key:2,class:"pt-3"},lcM={class:"-text-blue rounded border border-gray-300 bg-gray-100 px-3 pb-3 pt-2"},OcM={class:"flex w-full flex-wrap text-xs"},dcM={class:"pointer pl-2"},wcM=["onClick"],fcM={class:"pt-1"},CcM={key:4,class:"flex justify-center"},QcM={class:"z-50"},UcM={key:0,class:"fixed -top-6 left-0 z-50 flex h-full min-h-screen w-full items-center justify-center bg-[#707070] bg-opacity-30 p-2 text-[15px] md:top-0 md:p-0 lg:top-0 lg:p-0"},hcM={class:"popup-content shadow-lg w-full overflow-auto bg-white md:h-auto md:w-1/3 lg:h-auto lg:w-1/3"},YcM={class:"flex w-full justify-end pr-4 pt-4"},vcM={key:0,class:"popup-body geLight -text-blue px-8 py-2"},kcM={class:"mb-2 text-lg font-bold"},pcM={class:"h-40 overflow-y-scroll"},mcM=["value","onClick"],bcM={class:""},PcM={key:0,class:"mt-1.5 text-red-500"},RcM={class:"flex justify-center pt-6"},BcM={key:1,class:"flex items-center justify-center"},HcM={key:0,class:"fixed -top-6 left-0 z-50 flex h-full min-h-screen w-full items-center justify-center bg-[#707070] bg-opacity-30 p-2 text-[15px] md:top-0 md:p-0 lg:top-0 lg:p-0"},ZcM={class:"popup-content shadow-lg w-full bg-white text-center md:w-2/3 lg:w-2/3"},FcM={class:"popup-body geLight -text-blue px-12 py-12"},XcM={class:"text-3xl"},GcM={class:"w-full rounded-full bg-gray-200"},WcM=kt({__name:"SkilluploadComponent",props:{initSkillupload:{type:Boolean,default:()=>!1},profileskilllist:{type:Object}},emits:["resumeUploaded","closeProfileemit","initSkilluploademit","finalSkilluploademit","closeUploademit","loadervalueemit"],setup(L,{emit:M}){const t=IL(),j=M,u=Tu();V(!1);const A=V(!1),N=V(!1),e=V(!1),i=V(!1);V(!1);const S=V(),y=V(7),r=V(),n=V(),D=V(),s=V([]),I=V([]);V("Please wait while the resume is uploading");const T=V(!1),c=V(!1),a=V(!1),g=V(!1),o=V(!1),E=V(!1),f=V(!1),C=V(0),h=V(),Y=V(),k=V();V();const p=V([]),m=V([]),U=V([]);U.value=t.suggestedSkillsArray;const Q=V([]);V([]);const w=V(""),x=V("");let O=V(""),l=V(""),d=V("");const b=V(!1),X=V(!1),B=V(!1),G=V(null),W=L;oL(async()=>{var jM;document.addEventListener("click",J),(jM=U.value)==null||jM.forEach(SM=>{SM.skillAddedinlist=!1})});const MM=()=>{G.value&&clearTimeout(G.value),G.value=setTimeout(()=>{K()},300)},Z=()=>{console.log("innnnnnnnnnnnn"),j("closeUploademit",!0),j("finalSkilluploademit",!0)},K=async()=>{var jM;if(h.value.length>="3")try{const SM=(jM=h==null?void 0:h.value)==null?void 0:jM.split(/[,;]/);console.log("skill",SM),SM.forEach(async zM=>{Q.value=[];const{data:sM}=await WL(`/delphi/skill_master/name?skillName=${zM}`);let oM=sM;if(oM=oM.filter(CM=>CM.skillId!=="4b77650b-5053-418a-afff-026395ec5ca7"),console.log("dummy",oM),X.value=!0,oM.length){const CM=new Map,YM={},kM=ut=>ut.parentId===null||ut.parentId==="-1";oM.forEach(ut=>{kM(ut)?CM.set(ut.skillId,{...ut,subskill:[]}):(YM[ut.parentId]||(YM[ut.parentId]=[]),YM[ut.parentId].push(ut))});const FM=new Set(Array.from(CM.keys()));console.log("parentIds",FM);for(const ut of CM.keys()){const It=(YM[ut]||[]).filter(_M=>!FM.has(_M.skillId));CM.get(ut).subskill=It.sort((_M,pt)=>_M.skillName.localeCompare(pt.skillName))}Q.value=Array.from(CM.values()).sort((ut,tt)=>ut.skillName.localeCompare(tt.skillName)),console.log("profileSkillarray2222222",Q.value)}else Q.value.push({skillName1:"Sorry, no matching options."})})}catch(SM){SM.response?u.error(`${SM.response.data.message}`):SM.message?u.error(`${SM.message}`):u.error("Failed to load data")}},H=async(jM,SM)=>{var zM;if(m!=null&&m.value.some(sM=>sM.skillId===SM.skill_id))m.value.splice(jM,1);else{const sM={parentId:SM.parentskillid,skillId:SM.skill_id,skillName:SM.skill,skillStatus:!0,myPlanRelevent:!1};(zM=m==null?void 0:m.value)==null||zM.push(sM)}},P=async(jM,SM,zM)=>{var sM;console.log("enteredSubskillarray.value",m.value),m.value.length?((sM=m.value)==null||sM.forEach(oM=>{p.value.push(oM)}),m.value=[],g.value=!1):(l.value="Please add atleast one subskill",setTimeout(()=>{l.value=""},7e3))};UA(()=>{document.removeEventListener("click",J)});const J=jM=>{const SM=document.querySelector(".drop-locked");SM&&!SM.contains(jM.target.parentNode)&&(X.value=!1)},LM=jM=>{w.value="",x.value="",r.value=jM.target.files[0],S.value=jM.target.files[0].name;const SM=1024*1024*1;if(r.value.size>SM){w.value="File size exceeds the maximum allowed size (1MB).",S.value=null,r.value=null,C.value++;return}if(!["application/pdf","application/vnd.openxmlformats-officedocument.wordprocessingml.document","text/plain"].includes(r.value.type)){x.value="Invalid file type. Please upload valid file.",S.value=null,r.value=null,C.value++;return}},eM=async jM=>{console.log("inn3");let SM="",zM=0,sM=setInterval(async()=>{try{zM+=1;const oM=await WL(`/delphi/prompt/chain/execution/status/${jM}`);if(SM=oM.data.data.status,s.value.includes(oM.data.data.message)||s.value.push(oM.data.data.message),SM==="success"){clearInterval(sM);const CM=await WL(`/delphi/v2/myprofile/parser/${jM}`);s.value.includes(CM.data.message)||s.value.push(CM.data.message),CM.data.status==="success"&&(t.initSkilluploadArray=CM.data.final_skill_data_for_ui,A.value=!0)}else(SM==="failed"||zM===500)&&(u.error("Failed to load data"),N.value=!0,i.value=!1,b.value=!1,clearInterval(sM))}catch(oM){oM.response?u.error(`${oM.response.data.message}`):oM.message?u.error(`${oM.message}`):u.error("Failed to upload resume"),N.value=!0,i.value=!1,b.value=!1}},3e3)},$=async()=>{o.value=!0,console.log("enteredSkillarray.value",p.value);try{const jM={skills:p.value},{data:SM}=await HL("delphi/v2/myprofile",jM);console.log("data",SM),SM==="profile saved successfully"&&(await t.ProfileV6function(),j("closeUploademit",!0),j("finalSkilluploademit",!0),o.value=!1)}catch{N.value=!0,i.value=!1}},NM=async()=>{if(b.value=!0,o.value=!0,i.value=!0,!S.value)D.value="Please Select valid file to upload",setTimeout(()=>{D.value=null},6e3);else try{const jM=await HL("/delphi/signed_url",{file_name:S.value}),SM=jM.data.messsage.url,zM=jM.data.messsage.file_key;if((await RD(SM,r.value)).status===200){let oM;W.initSkillupload?oM={file_key:zM,skill_data:"",init_added_more_skill:!0}:oM={file_key:zM,skill_data:"",final_added_more_skill:!0};const{data:CM}=await HL("/delphi/v3/skill_profile/resume",oM);CM&&!CM.error?(s.value.includes(CM.message)||s.value.push(CM.message),await eM(CM==null?void 0:CM.execution_id)):(u.error(`${CM.message}`),N.value=!0,i.value=!1,b.value=!1)}else u.error("Unable to upload the file"),N.value=!0,i.value=!1,b.value=!1}catch(jM){jM.response?u.error(`${jM.response.data.message}`):jM.message?u.error(`${jM.message}`):u.error("Failed to upload resume"),N.value=!0,i.value=!1,b.value=!1}},nM=async()=>{S.value=null,r.value=null,C.value++},AM=async(jM,SM,zM)=>{var sM,oM,CM,YM;zM&&((sM=p==null?void 0:p.value)!=null&&sM.some(kM=>kM.skillId===zM))?((oM=p==null?void 0:p.value)==null?void 0:oM.filter(FM=>FM.parentId===zM)).length===1?e.value=!0:p.value.splice(jM,1):(p.value.splice(jM,1),p.value=(CM=p.value)==null?void 0:CM.filter(kM=>kM.parentId!==SM)),(YM=U.value)==null||YM.forEach(kM=>{kM.skill_id===SM&&(kM.skillAddedinlist=!1)})},_=async(jM,SM)=>{var sM,oM,CM,YM,kM,FM,ut,tt;I.value=[],m.value=[],k.value="",Y.value="",B.value=!1,d.value="",O.value="";let zM=!1;if((sM=p.value)==null||sM.forEach(It=>{It.skillName===jM.skillName&&(zM=!0)}),(CM=(oM=W==null?void 0:W.profileskilllist)==null?void 0:oM.profileParseddataMatchedskill)==null||CM.forEach(It=>{It.skill_id===(jM==null?void 0:jM.skill_id)&&It.skillStatus&&(B.value=!0,d.value=jM==null?void 0:jM.skill,O.value="already exists in learning profile.",setTimeout(()=>{B.value=!1,d.value="",O.value=""},7e3))}),!B.value)if(zM)d.value=jM==null?void 0:jM.skill,O.value="already exists in list.",setTimeout(()=>{d.value="",O.value="",zM=!1},4e3);else{const It={skillId:jM.skill_id,skillName:jM.skill,parentId:jM.parentskillid,skillStatus:!0,myPlanRelevent:!1};if((YM=U.value)==null||YM.forEach(_M=>{_M.skill_id===jM.skill_id&&(_M.skillAddedinlist=!0)}),k.value=jM.skill_id,p.value.push(It),console.log("enteredSkillarray.value",p.value),console.log("val?.parentId",jM),console.log("enteredSkillarray?.value?.some((obj) => obj.skillId === val?.parentId)",(kM=p==null?void 0:p.value)==null?void 0:kM.some(_M=>(_M==null?void 0:_M.parentId)===(jM==null?void 0:jM.skill_id))),!((FM=p==null?void 0:p.value)!=null&&FM.some(_M=>(_M==null?void 0:_M.parentId)===(jM==null?void 0:jM.skill_id))))try{g.value=!0;const{data:_M}=await WL(`/delphi/subskills/${jM==null?void 0:jM.skill_id}`);((ut=_M==null?void 0:_M.subskill)==null?void 0:ut.length)!==0?(I.value=_M==null?void 0:_M.subskill,d.value=jM==null?void 0:jM.skillName,Y.value=(tt=p.value)==null?void 0:tt.findIndex(pt=>pt.skillId===(jM==null?void 0:jM.skillId))):(X.value=!1,h.value="",g.value=!1)}catch{X.value=!1,h.value="",g.value=!1}}},iM=async(jM,SM)=>{var sM,oM,CM,YM,kM,FM,ut;I.value=[],m.value=[],k.value="",Y.value="",B.value=!1,d.value="",O.value="";let zM=!1;if((sM=p.value)==null||sM.forEach(tt=>{tt.skillName===jM.skillName&&(zM=!0)}),(CM=(oM=W==null?void 0:W.profileskilllist)==null?void 0:oM.profileParseddataMatchedskill)==null||CM.forEach(tt=>{tt.skill_id===(jM==null?void 0:jM.skillId)&&tt.skillStatus&&(B.value=!0,d.value=jM==null?void 0:jM.skillName,O.value="already exists in learning profile.",setTimeout(()=>{B.value=!1,d.value="",O.value=""},7e3))}),!B.value){if(zM)d.value=jM==null?void 0:jM.skillName,O.value="already exists in list.",setTimeout(()=>{d.value="",O.value="",zM=!1},4e3);else if(p.value.push(jM),console.log("enteredSkillarray.value",p.value),console.log("val?.parentId",jM==null?void 0:jM.skillId),console.log("enteredSkillarray?.value?.some((obj) => obj.skillId === val?.parentId)",(YM=p==null?void 0:p.value)==null?void 0:YM.some(tt=>(tt==null?void 0:tt.parentId)===(jM==null?void 0:jM.skillId))),!((kM=p==null?void 0:p.value)!=null&&kM.some(tt=>(tt==null?void 0:tt.parentId)===(jM==null?void 0:jM.skillId))))try{g.value=!0;const{data:tt}=await WL(`/delphi/subskills/${jM==null?void 0:jM.skillId}`);console.log("data",tt),((FM=tt==null?void 0:tt.subskill)==null?void 0:FM.length)!==0?(I.value=tt==null?void 0:tt.subskill,d.value=jM==null?void 0:jM.skillName,Y.value=(ut=p.value)==null?void 0:ut.findIndex(It=>It.skillId===(jM==null?void 0:jM.skillId))):(X.value=!1,h.value="",g.value=!1)}catch{X.value=!1,h.value="",g.value=!1}}X.value=!1,h.value=""};return(jM,SM)=>{var zM;return TM(t).initSkilluploadArray&&A.value?(v(),qt(rY,{key:0,onSkillSelectionemit:SM[0]||(SM[0]=sM=>Z())})):(v(),R("section",YIM,[z("section",null,[a.value?yM("",!0):(v(),R("div",vIM,[SM[27]||(SM[27]=z("div",{class:"flex"},[z("div",{class:"flex"},[z("div",{class:"pt-0.5 text-lg"},"Choose any of the options to add skills")])],-1)),z("div",kIM,[z("button",{onClick:SM[1]||(SM[1]=sM=>{c.value=!0,f.value=!0,a.value=!0}),class:"mr-2 mt-1 inline-block cursor-pointer bg-genome-v6 px-4 py-1.5 text-sm text-white"},"Add skills manually"),z("button",pIM,[z("div",null,[z("div",{onClick:SM[2]||(SM[2]=sM=>{T.value=!0,a.value=!0}),class:"mt-1 inline-block cursor-pointer bg-genome-v6 px-4 py-1.5 text-sm text-white"},"Add skills from resume"),z("button",{onClick:SM[3]||(SM[3]=sM=>jM.$emit("closeUploademit",!0)),class:"ml-3"},SM[25]||(SM[25]=[z("svg",{class:"h-3 w-3","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 14 14"},[z("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"m1 1 6 6m0 0 6 6M7 7l6-6M7 7l-6 6"})],-1)]))]),SM[26]||(SM[26]=z("div",{class:"absolute text-left text-xs md:w-64 lg:w-64"},"(Uploading your resume adds new skills without replacing existing ones in your skills profile)",-1))])])])),E.value?(v(),R("div",mIM,[o.value?yM("",!0):(v(),R("div",bIM,[z("div",PIM,[z("div",RIM,[z("div",BIM,[SM[29]||(SM[29]=z("input",{id:"uploadResume",type:"file",class:"hidden"},null,-1)),z("label",HIM,[SM[28]||(SM[28]=PM("Upload your resume here ")),(v(),R("input",{key:C.value,disabled:o.value,type:"file",onChange:SM[4]||(SM[4]=sM=>LM(sM))},null,40,ZIM))])]),S.value?(v(),R("div",FIM,[z("button",{disabled:o.value,class:"-border-blue-1 -bg-blue inline-block px-6 py-1.5 text-white",onClick:SM[5]||(SM[5]=sM=>NM())},"Upload",8,XIM)])):yM("",!0)]),SM[30]||(SM[30]=z("div",{class:"mt-1 flex"},[z("div",{class:"-text-blue"},"File size max 1 MB"),z("div",{class:"pl-6"},"File types .pdf/.docx/.txt")],-1))]),w.value?(v(),R("div",GIM,[z("div",WIM,[z("p",VIM,aM(w.value),1)])])):yM("",!0),x.value?(v(),R("div",JIM,[z("div",qIM,[z("p",KIM,aM(x.value),1)])])):yM("",!0),S.value?(v(),R("div",_IM,[z("div",$IM,[z("div",McM,[z("div",{class:yt([o.value?"-text-blue flex cursor-not-allowed items-center":"-text-blue flex items-center"])},[z("span",null,aM(S.value),1),z("span",{class:yt([o.value?"cursor-not-allowed pl-2":"pointer pl-2"]),onClick:SM[6]||(SM[6]=sM=>nM())},SM[31]||(SM[31]=[z("svg",{class:"h-2 w-2","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 14 14"},[z("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"m1 1 6 6m0 0 6 6M7 7l6-6M7 7l-6 6"})],-1)]),2)],2)])])])):yM("",!0),n.value?(v(),R("div",tcM,[z("div",LcM,[z("div",jcM,[z("div",ucM,[z("span",null,aM(n.value),1)])])])])):yM("",!0),z("div",AcM,[z("button",{class:"-bg-blue mr-2 inline-block px-4 py-1.5 text-sm text-white",onClick:SM[7]||(SM[7]=sM=>jM.$emit("closeUploademit",!0))},"Skip uploading resume")])]))])):yM("",!0),f.value?(v(),R("div",NcM)):yM("",!0),f.value&&!o.value?(v(),R("div",ecM,[z("div",icM,[SM[37]||(SM[37]=Pj('<div class="-text-blue mt-1 font-bold" data-v-ca295f61>Add skills manually</div><div class="-text-blue pt-0.5 text-[15px]" data-v-ca295f61> We recommend your profile highlights key skills you regularly use in your current role, covering industry (<span class="text-xs" data-v-ca295f61>e.g. Banking, Insurance...</span>), domain (<span class="text-xs" data-v-ca295f61>e.g. Sourcing & Procurement, Claims…</span>), digital (<span class="text-xs" data-v-ca295f61>e.g. Generative AI, ADM - Java…</span>), and professional (<span class="text-xs" data-v-ca295f61>e.g. Executive presence, Storytelling…</span>) skills. </div>',2)),z("div",ScM,[z("div",ycM,[Yt(z("input",{"onUpdate:modelValue":SM[8]||(SM[8]=sM=>h.value=sM),onInput:SM[9]||(SM[9]=sM=>MM()),type:"text",class:"-text-blue h-9 w-auto border border-gray-400 px-2 py-1.5 text-[15px] outline-none focus:outline-none md:w-64 md:placeholder:text-center lg:w-64 lg:placeholder:text-center",placeholder:"Select or Search skills"},null,544),[[Lj,h.value]]),SM[32]||(SM[32]=z("div",{class:"absolute inset-y-0 end-4 flex items-center ps-3"},[z("svg",{class:"h-3 w-3 text-gray-500","aria-hidden":"true",fill:"none",viewBox:"0 0 20 20"},[z("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"m19 19-4-4m0-7A7 7 0 1 1 1 8a7 7 0 0 1 14 0Z"})])],-1)),X.value?(v(),R("div",rcM,[z("ul",ncM,[(v(!0),R(WM,null,et(Q.value,(sM,oM)=>(v(),R("li",{key:oM},[sM.skillName1?(v(),R("a",DcM,aM(sM.skillName1),1)):(v(),R("a",{key:1,onClick:CM=>iM(sM),class:"block cursor-pointer px-4 py-2 font-bold hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white"},aM(sM.skillName),9,scM)),(v(!0),R(WM,null,et(sM.subskill,(CM,YM)=>(v(),R("div",{key:YM},[z("span",{class:"block cursor-pointer pb-1 pl-6 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white",onClick:kM=>iM(CM)},aM(CM.skillName),9,TcM)]))),128))]))),128))])])):yM("",!0)])]),U.value&&U.value.length?(v(),R("div",zcM,[SM[34]||(SM[34]=z("h3",{class:"text-md mb-2 font-bold"},"Suggested skills based on your role",-1)),z("div",IcM,[(v(!0),R(WM,null,et(U.value.slice(0,y.value),(sM,oM)=>(v(),R("span",{class:"",key:oM},[z("span",{class:yt([[sM!=null&&sM.skillAddedinlist?"cursor-not-allowed bg-teal-300":"cursor-pointer"],"mr-1 mt-1 inline-block bg-gray-200 px-2 py-1.5 text-xs text-genpact-blue-box"]),onClick:CM=>sM!=null&&sM.skillAddedinlist?null:_(sM)},[z("span",acM,[PM(aM(sM.skill)+" ",1),sM!=null&&sM.skillAddedinlist?yM("",!0):(v(),R("svg",gcM,SM[33]||(SM[33]=[z("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M9 1v16M1 9h16"},null,-1)])))])],10,ccM)]))),128))]),U.value.length>5&&y.value<8?(v(),R("div",{key:0,onClick:SM[10]||(SM[10]=sM=>y.value=U.value.length),class:"-text-aqua ml-2 cursor-pointer text-right text-xs"},"Show more...")):yM("",!0),U.value.length>5&&y.value>7?(v(),R("div",{key:1,onClick:SM[11]||(SM[11]=sM=>y.value=7),class:"-text-aqua ml-2 cursor-pointer text-right text-xs"},"Show less...")):yM("",!0)])):yM("",!0),TM(O)!==""?(v(),R("div",ocM,[TM(d)!==""?(v(),R("b",xcM,aM(TM(d)),1)):yM("",!0),PM(" "+aM(TM(O)),1)])):yM("",!0),p.value&&p.value.length?(v(),R("div",EcM,[z("div",lcM,[SM[36]||(SM[36]=z("div",{class:"flex justify-end"},null,-1)),z("div",OcM,[(v(!0),R(WM,null,et(p.value,(sM,oM)=>(v(),R("div",{key:oM,class:"-text-gray mr-1 mt-1 flex items-center justify-between border border-gray-400 bg-white px-2 py-1.5"},[z("span",null,aM(sM.skillName),1),z("span",dcM,[(v(),R("svg",{class:"-text-gray bi bi-plus h-2 w-2","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 14 14",onClick:CM=>AM(oM,sM.skillId,sM.parentId)},SM[35]||(SM[35]=[z("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"m1 1 6 6m0 0 6 6M7 7l6-6M7 7l-6 6"},null,-1)]),8,wcM))])]))),128))])])])):yM("",!0),z("div",fcM,[p.value&&p.value.length?(v(),R("button",{key:0,class:"-bg-blue mr-2 inline-block rounded px-4 py-1.5 text-sm text-white",onClick:SM[12]||(SM[12]=sM=>$())},"Submit")):yM("",!0),z("button",{class:"inline-block rounded bg-genpact-darkest-teal px-4 py-1.5 text-sm text-white",onClick:SM[13]||(SM[13]=sM=>jM.$emit("closeUploademit",!0))},"Skip adding skills")])])])):yM("",!0),i.value?(v(),R("div",CcM,SM[38]||(SM[38]=[z("div",{class:""},[z("div",{class:"flex items-start justify-center"},[z("img",{class:"w-24",src:nj,alt:"Loader Gif"})])],-1)]))):yM("",!0)]),z("section",null,[T.value?(v(),qt(mu,{key:0,name:"resumeupload",onConsetvalueemit:SM[14]||(SM[14]=sM=>T.value=sM),onResumeUploadvalueemit:SM[15]||(SM[15]=sM=>(E.value=sM,a.value=sM)),onSkipinputvalueemit:SM[16]||(SM[16]=sM=>(f.value=sM,a.value=sM))})):yM("",!0),c.value?(v(),qt(mu,{key:1,name:"manualentry",onConsetvalueemit:SM[17]||(SM[17]=sM=>c.value=sM),onResumeUploadvalueemit:SM[18]||(SM[18]=sM=>(E.value=sM,a.value=!0)),onSkipinputvalueemit:SM[19]||(SM[19]=sM=>(f.value=sM,a.value=sM))})):yM("",!0),N.value?(v(),qt(mI,{key:2,onConsetvalueemit:SM[20]||(SM[20]=sM=>N.value=sM)})):yM("",!0),e.value?(v(),qt(mu,{key:3,name:"atlistoneskill",onConsetvalueemit:SM[21]||(SM[21]=sM=>e.value=sM)})):yM("",!0),z("section",QcM,[g.value?(v(),R("div",UcM,[z("div",hcM,[z("div",YcM,[z("span",{class:"pointer pl-2 text-right",onClick:SM[22]||(SM[22]=sM=>(AM(Y.value,k.value,""),g.value=!1))},SM[39]||(SM[39]=[z("img",{class:"",src:CL,alt:"Close"},null,-1)]))]),(zM=I.value)!=null&&zM.length?(v(),R("div",vcM,[z("div",kcM,"Choose atleast one subskill under "+aM(TM(d)),1),z("div",pcM,[(v(!0),R(WM,null,et(I.value,(sM,oM)=>(v(),R("div",{class:"p-1",key:oM},[z("input",{class:"mr-2",value:sM,onClick:CM=>H(oM,sM),type:"checkbox"},null,8,mcM),z("span",bcM,aM(sM.skill),1)]))),128))]),TM(l)?(v(),R("div",PcM,[z("b",null,aM(TM(l)),1)])):yM("",!0),z("div",RcM,[z("button",{onClick:SM[23]||(SM[23]=sM=>P(Y.value,k.value)),class:"-bg-blue mr-3 inline-block cursor-pointer rounded px-6 py-2 text-white"},"Submit"),z("button",{onClick:SM[24]||(SM[24]=sM=>(AM(Y.value,k.value,""),g.value=!1)),class:"-bg-blue inline-block cursor-pointer rounded px-6 py-2 text-white"},"Cancel")])])):(v(),R("div",BcM,SM[40]||(SM[40]=[z("img",{class:"w-24",src:nj,alt:"Loader Gif"},null,-1)])))])])):yM("",!0)])]),b.value?(v(),R("div",HcM,[z("div",ZcM,[z("div",FcM,[z("div",XcM,[z("b",null,aM(s.value.length*7>100?100:s.value.length*7)+"%",1)]),SM[41]||(SM[41]=z("div",{class:"mb-4 font-bold"},"Gen AI is preparing a draft version of your skills profile for your review!",-1)),z("div",GcM,[z("div",{class:"h-3 rounded-full bg-background-secondary p-0.5 text-center text-xs font-medium leading-none text-blue-100",style:Cj({width:s.value.length*7>100?100:s.value.length*7+"%"})},null,4)])])])])):yM("",!0)]))}}}),SCt="",VcM=jL(WcM,[["__scopeId","data-v-ca295f61"]]),JcM={class:""},qcM={key:0,class:"flex items-start justify-center"},KcM={key:1,class:"ml-2"},_cM={class:"popup-body geLight -text-blue py-2"},$cM={class:"max-h-52 overflow-y-auto"},MaM=["onClick"],taM={class:"mx-2 flex items-center"},LaM={class:""},jaM={key:0,class:"pointer ml-2 h-8 w-8 bg-white p-2 text-right font-bold text-black","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 18 18"},uaM={key:1,class:"pointer ml-2 h-8 w-8 bg-white p-2 text-right font-bold text-black","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 18 18"},AaM=["value","onClick"],NaM={class:""},eaM={key:0,class:"mt-1.5 text-red-500"},iaM={class:"flex justify-start pl-3 pt-2"},SaM=kt({__name:"addmoreskillComponent",props:{subSkilllist:{type:Object,default:()=>({})},initSkillupload:{type:Boolean,default:()=>!1}},emits:["hassubskillemit","closeemit"],setup(L,{emit:M}){const t=Tu(),j=V(0),u=L,A=V(!1),N=V(),e=V([]),i=M;oL(async()=>{var s,I,T,c,a;A.value=!0;try{const g=[];(s=u==null?void 0:u.subSkilllist)!=null&&s.hasSubskillArray&&((I=u==null?void 0:u.subSkilllist)==null||I.hasSubskillArray.forEach(async f=>{(f==null?void 0:f.parentskillid)===null&&g.push(f==null?void 0:f.skill_id)})),console.log("parent_ids",g);const o={parent_ids:g},{data:E}=await HL("/delphi/subskills",o);console.log("datadatadata",E),(T=u==null?void 0:u.subSkilllist)!=null&&T.hasSubskillArray&&(u.subSkilllist.hasSubskillArray=S((c=u==null?void 0:u.subSkilllist)==null?void 0:c.hasSubskillArray,E==null?void 0:E.subskill)),console.log("props?.subSkilllist?.hasSubskillArray",(a=u==null?void 0:u.subSkilllist)==null?void 0:a.hasSubskillArray)}catch(g){A.value=!1,g.response?t.error(`${g.response.data.message}`):g.message?t.error(`${g.message}`):t.error("Failed to load data")}A.value=!1});function S(s,I){return s.map(T=>{const c=I.filter(a=>a.parentskillid===T.skill_id);return{...T,subskillarray:c}})}const y=s=>{j.value=j.value===s?null:s},r=async(s,I)=>{var T;if(e!=null&&e.value.some(c=>c.skillId===I.skill_id))e.value.splice(s,1);else{const c={parentId:I.parentskillid,skillId:I.skill_id,skillName:I.skill,skillStatus:!0,myPlanRelevent:!1};(T=e==null?void 0:e.value)==null||T.push(c)}};function n(s){var I;return(I=s==null?void 0:s.subskillarray)==null?void 0:I.some(T=>{var c;return(c=e==null?void 0:e.value)==null?void 0:c.some(a=>a.skillId===T.skill_id)})}const D=async()=>{var I,T;let s=!0;if(A.value=!0,(T=(I=u==null?void 0:u.subSkilllist)==null?void 0:I.hasSubskillArray)==null||T.forEach(async c=>{n(c)||(s=!1,console.log("-====",s),N.value="Add atleast one subskill",setTimeout(()=>{N.value=""},4e3),A.value=!1)}),s){console.log("-----------------");try{const c={skills:e.value},{data:a}=await HL("delphi/v2/myprofile",c);a==="profile saved successfully"&&setTimeout(()=>{i("hassubskillemit",!1),A.value=!1},4e3)}catch(c){c.response?t.error(`${c.response.data.message}`):c.message?t.error(`${c.message}`):t.error("Failed to upload resume"),A.value=!1}}};return(s,I)=>{var T;return v(),R("section",JcM,[A.value?(v(),R("div",qcM,I[1]||(I[1]=[z("img",{class:"w-24",src:nj,alt:"Loader Gif"},null,-1)]))):(v(),R("div",KcM,[z("div",_cM,[z("div",$cM,[(v(!0),R(WM,null,et((T=u==null?void 0:u.subSkilllist)==null?void 0:T.hasSubskillArray,(c,a)=>(v(),R("div",{class:"p-2",key:a},[z("div",{onClick:g=>y(a),class:"flex cursor-pointer items-center justify-between bg-gray-100 px-4 py-1 font-bold"},[z("div",taM,[z("span",null,aM(c.skill),1)]),z("span",LaM,[j.value!==a?(v(),R("svg",jaM,I[2]||(I[2]=[z("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"3",d:"M2 9l7 7 7-7"},null,-1)]))):(v(),R("svg",uaM,I[3]||(I[3]=[z("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"3",d:"M16 9l-7-7-7 7"},null,-1)])))])],8,MaM),z("div",{class:yt([j.value===a?"block":"hidden"])},[(v(!0),R(WM,null,et(c==null?void 0:c.subskillarray,(g,o)=>(v(),R("div",{class:"ml-2 flex items-center py-1",key:o},[z("input",{class:"mr-2",value:g,onClick:E=>r(o,g),type:"checkbox"},null,8,AaM),z("div",NaM,aM(g.skill),1)]))),128))],2)]))),128))])]),N.value?(v(),R("div",eaM,[z("b",null,aM(N.value),1)])):yM("",!0),z("div",iaM,[z("button",{onClick:I[0]||(I[0]=c=>D()),class:"-bg-blue mr-3 inline-block cursor-pointer px-6 py-2 text-white"},"Submit")])]))])}}}),yaM={key:0,class:""},raM={key:1,class:""},naM={id:"congratsid",class:""},DaM={id:"myplangenerationscroll",class:""},saM={class:"profileStartInner relative"},TaM={key:0,class:"absolute z-40 h-full w-full cursor-not-allowed text-[15px]"},zaM={class:"mt-2"},IaM={class:"-text-blue profileStart closePopup border px-4 py-4 md:px-4 lg:px-4"},caM={class:"flex justify-between"},aaM={class:"font-bold"},gaM={key:0,class:"text-lg"},oaM={class:"text-lg"},xaM={key:0},EaM={class:"flex flex-col items-baseline text-lg sm:flex-row"},laM={key:0},OaM={key:0,class:"profileStart shadow mt-2 border px-2"},daM={class:"-bg-profile-blue -text-blue mt-1 flex justify-between pt-2 text-lg font-bold md:px-2 lg:px-2"},waM={class:"flex items-center"},faM={key:0,class:"absolute z-50 w-auto border border-gray-300 bg-white p-2 text-xs"},CaM={class:"flex items-center text-right"},QaM={key:0,class:"mb-2 flex items-center"},UaM={class:"mx-1 mt-1 inline-block rounded-md bg-gray-100 px-2 py-1.5 text-xs text-genpact-blue-box"},haM=["innerHTML"],YaM={key:1,class:"text-md my-2 font-ge-bold text-[#FF555F] md:px-2 lg:px-2"},vaM={class:"profileStart closePopup mt-2 border px-2 md:px-4 lg:px-4"},kaM={class:"-bg-profile-blue -text-blue mt-1 flex justify-between px-2 py-2 text-lg font-bold"},paM={key:0,class:"flex items-center text-right text-xs"},maM={class:"flex items-center justify-between border-y border-gray-200 pr-2 md:justify-center lg:justify-center"},baM={class:"relative w-1/2 py-6 md:pl-4 lg:pl-4"},PaM={class:"-text-blue flex items-center justify-center px-2 text-center font-bold"},RaM={key:0,class:"absolute z-50 w-auto border border-gray-300 bg-white p-2 text-xs"},BaM={key:0,class:"relative border-l border-r border-gray-200 pl-2 pr-2 md:w-1/4 md:py-2 lg:w-1/4 lg:py-2"},HaM={class:"-text-blue flex items-center justify-center font-bold"},ZaM={class:"flex items-center"},FaM={class:"h-72 overflow-y-auto"},XaM={class:"profile-row py-2 md:px-4 lg:px-4"},GaM={class:"relative"},WaM={key:0,class:""},VaM={key:0,class:"pointer ml-2 h-8 w-8 bg-white p-2 text-right font-bold text-black","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 18 18"},JaM={key:1,class:"pointer ml-2 h-8 w-8 bg-white p-2 text-right font-bold text-black","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 18 18"},qaM={key:0,class:"profile-body"},KaM={key:0,class:"w-full text-left"},_aM={key:0},$aM={key:0,class:"-text-gray flex bg-white"},MgM={class:"w-1/2 px-1 pt-1 text-xs md:px-4 lg:px-4"},tgM={key:0,class:"text-xs text-background-secondary"},LgM={class:"ml-2 font-bold text-red-500"},jgM={key:0},ugM={key:1},AgM={key:1,style:{"font-size":"0.7rem"},class:"text-xs font-bold text-background-secondary"},NgM={key:2,style:{"font-size":"0.7rem"},class:"text-xs font-bold text-background-secondary"},egM={class:"flex w-full items-center justify-center"},igM=["onClick"],SgM={class:"bits1 flex w-full items-center pl-3"},ygM=["id","onClick"],rgM={class:"z-10"},ngM=["id","onClick"],DgM={class:""},sgM={key:0,class:"pl-4"},TgM=["id","onClick"],zgM={key:0,id:"mangerreview",class:"w-1/3 pt-1 md:w-1/4 md:px-4 lg:w-1/4 lg:px-4"},IgM={class:"flex w-full items-center justify-center"},cgM={class:"bits1 flex w-full items-center"},agM={key:0,class:"-border-gray-1 relative flex h-5 w-5 shrink-0 items-center justify-center rounded bg-[#FF555F] text-white"},ggM={class:""},ogM={key:0},xgM={class:"switch"},EgM=["id","onUpdate:modelValue","disabled","onChange"],lgM={key:1},OgM={class:"text-gray-400"},dgM={key:2},wgM={key:1},fgM={key:0,class:"ml-2 w-1/2 pt-1 text-xs md:pl-4 lg:pl-4"},CgM={key:0,style:{"font-size":"0.7rem"},class:"text-xs font-bold text-background-secondary"},QgM={key:1,style:{"font-size":"0.7rem"},class:"text-xs font-bold text-background-secondary"},UgM={key:2,class:"ml-2 font-bold text-red-500"},hgM={class:"flex w-full items-center justify-center"},YgM={class:"bits1 flex w-full items-center justify-center"},vgM=["id","onClick"],kgM={class:"z-10"},pgM=["id","onClick"],mgM={class:""},bgM={key:0,class:"pl-4"},PgM=["id","onClick"],RgM={key:2},BgM={class:"px-7 pt-2 text-xs"},HgM=["onClick"],ZgM={key:0},FgM={class:"w-1/3 px-4 pt-2 text-xs"},XgM={key:1},GgM={class:"w-1/3 px-4 pt-2 text-xs"},WgM={key:1,class:"profile-body pl-3 pt-2"},VgM={class:"profile-row py-2 md:px-4 lg:px-4"},JgM={class:"relative"},qgM={key:0,class:""},KgM={key:0,class:"pointer ml-2 h-8 w-8 bg-white p-2 text-right font-bold text-black","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 18 18"},_gM={key:0,class:"absolute z-50 w-2/3 border border-gray-300 bg-white p-2 text-xs"},$gM={key:0,class:"profile-body"},MoM={key:0,class:"w-full text-left"},toM={key:0},LoM={key:0,class:"-text-gray flex bg-white"},joM={class:"w-1/2 px-1 pt-1 text-xs md:px-4 lg:px-4"},uoM={key:0,class:"text-xs text-background-secondary"},AoM={class:"ml-2 font-bold text-red-500"},NoM={key:0},eoM={key:1},ioM={key:1,style:{"font-size":"0.7rem"},class:"text-xs font-bold text-background-secondary"},SoM={key:2,style:{"font-size":"0.7rem"},class:"text-xs font-bold text-background-secondary"},yoM={class:"flex w-full items-center justify-center"},roM=["onClick"],noM={class:"bits1 flex w-full items-center pl-3"},DoM=["id","onClick"],soM={class:"z-10"},ToM=["id","onClick"],zoM={class:""},IoM={key:0,class:"pl-4"},coM=["id","onClick"],aoM={key:0,id:"mangerreview",class:"w-1/3 pt-1 md:w-1/4 md:px-4 lg:w-1/4 lg:px-4"},goM={class:"flex w-full items-center justify-center"},ooM={class:"bits1 flex w-full items-center"},xoM={key:0,class:"-border-gray-1 relative flex h-5 w-5 shrink-0 items-center justify-center rounded bg-[#FF555F] text-white"},EoM={class:""},loM={key:0},OoM={class:"switch"},doM=["id","onUpdate:modelValue","disabled","onChange"],woM={key:1},foM={class:"text-gray-400"},CoM={key:2},QoM={key:1},UoM={key:0,class:"ml-2 w-1/2 pt-1 text-xs md:pl-4 lg:pl-4"},hoM={key:0,style:{"font-size":"0.7rem"},class:"text-xs font-bold text-background-secondary"},YoM={key:1,style:{"font-size":"0.7rem"},class:"text-xs font-bold text-background-secondary"},voM={key:2,class:"ml-2 font-bold text-red-500"},koM={class:"flex w-full items-center justify-center"},poM={class:"bits1 flex w-full items-center justify-center"},moM=["id","onClick"],boM={class:"z-10"},PoM=["id","onClick"],RoM={class:""},BoM={key:0,class:"pl-4"},HoM=["id","onClick"],ZoM={key:2},FoM={class:"px-7 pt-2 text-xs"},XoM=["onClick"],GoM={key:0},WoM={class:"w-1/3 px-4 pt-2 text-xs"},VoM={key:1},JoM={class:"w-1/3 px-4 pt-2 text-xs"},qoM={key:1,class:"profile-body pl-3 pt-2"},KoM={class:"profile-row py-2 md:px-4 lg:px-4"},_oM={class:"relative"},$oM={key:0,class:""},MxM={key:0,class:"pointer ml-2 h-8 w-8 bg-white p-2 text-right font-bold text-black","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 18 18"},txM={key:0,class:"absolute z-50 w-2/3 border border-gray-300 bg-white p-2 text-xs"},LxM={key:0,class:"profile-body"},jxM={key:0,class:"w-full text-left"},uxM={key:0},AxM={key:0,class:"-text-gray flex bg-white"},NxM={class:"w-1/2 px-1 pt-1 text-xs md:px-4 lg:px-4"},exM={key:0,class:"text-xs text-background-secondary"},ixM={class:"ml-2 font-bold text-red-500"},SxM={key:0},yxM={key:1},rxM={key:1,style:{"font-size":"0.7rem"},class:"text-xs font-bold text-background-secondary"},nxM={key:2,style:{"font-size":"0.7rem"},class:"text-xs font-bold text-background-secondary"},DxM={class:"flex w-full items-center justify-center"},sxM=["onClick"],TxM={class:"bits1 flex w-full items-center pl-3"},zxM=["id","onClick"],IxM={class:"z-10"},cxM=["id","onClick"],axM={class:""},gxM={key:0,class:"pl-4"},oxM=["id","onClick"],xxM={key:0,id:"mangerreview",class:"w-1/3 pt-1 md:w-1/4 md:px-4 lg:w-1/4 lg:px-4"},ExM={class:"flex w-full items-center justify-center"},lxM={class:"bits1 flex w-full items-center"},OxM={key:0,class:"-border-gray-1 relative flex h-5 w-5 shrink-0 items-center justify-center rounded bg-[#FF555F] text-white"},dxM={class:""},wxM={key:0},fxM={class:"switch"},CxM=["id","onUpdate:modelValue","disabled","onChange"],QxM={key:1},UxM={class:"text-gray-400"},hxM={key:2},YxM={key:1},vxM={key:0,class:"ml-2 w-1/2 pt-1 text-xs md:pl-4 lg:pl-4"},kxM={key:0,style:{"font-size":"0.7rem"},class:"text-xs font-bold text-background-secondary"},pxM={key:1,style:{"font-size":"0.7rem"},class:"text-xs font-bold text-background-secondary"},mxM={key:2,class:"ml-2 font-bold text-red-500"},bxM={class:"flex w-full items-center justify-center"},PxM={class:"bits1 flex w-full items-center justify-center"},RxM=["id","onClick"],BxM={class:"z-10"},HxM=["id","onClick"],ZxM={class:""},FxM={key:0,class:"pl-4"},XxM=["id","onClick"],GxM={key:2},WxM={class:"px-7 pt-2 text-xs"},VxM=["onClick"],JxM={key:0},qxM={class:"w-1/3 px-4 pt-2 text-xs"},KxM={key:1},_xM={class:"w-1/3 px-4 pt-2 text-xs"},$xM={key:1,class:"profile-body pl-3 pt-2"},MEM={class:"profile-row py-2 md:px-4 lg:px-4"},tEM={class:"relative"},LEM={key:0,class:""},jEM={key:0,class:"pointer ml-2 h-8 w-8 bg-white p-2 text-right font-bold text-black","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 18 18"},uEM={key:0,class:"absolute z-50 w-2/3 border border-gray-300 bg-white p-2 text-xs"},AEM={key:0,class:"profile-body"},NEM={key:0,class:"w-full text-left"},eEM={key:0},iEM={key:0,class:"-text-gray flex bg-white"},SEM={class:"w-1/2 px-1 pt-1 text-xs md:px-4 lg:px-4"},yEM={key:0,class:"text-xs text-background-secondary"},rEM={class:"ml-2 font-bold text-red-500"},nEM={key:0},DEM={key:1},sEM={key:1,style:{"font-size":"0.7rem"},class:"text-xs font-bold text-background-secondary"},TEM={key:2,style:{"font-size":"0.7rem"},class:"text-xs font-bold text-background-secondary"},zEM={class:"flex w-full items-center justify-center"},IEM=["onClick"],cEM={class:"bits1 flex w-full items-center pl-3"},aEM=["id","onClick"],gEM={class:"z-10"},oEM=["id","onClick"],xEM={class:""},EEM={key:0,class:"pl-4"},lEM=["id","onClick"],OEM={key:0,id:"mangerreview",class:"w-1/3 pt-1 md:w-1/4 md:px-4 lg:w-1/4 lg:px-4"},dEM={class:"flex w-full items-center justify-center"},wEM={class:"bits1 flex w-full items-center"},fEM={key:0,class:"-border-gray-1 relative flex h-5 w-5 shrink-0 items-center justify-center rounded bg-[#FF555F] text-white"},CEM={class:""},QEM={key:0},UEM={class:"switch"},hEM=["id","onUpdate:modelValue","disabled","onChange"],YEM={key:1},vEM={class:"text-gray-400"},kEM={key:2},pEM={key:1},mEM={key:0,class:"ml-2 w-1/2 pt-1 text-xs md:pl-4 lg:pl-4"},bEM={key:0,style:{"font-size":"0.7rem"},class:"text-xs font-bold text-background-secondary"},PEM={key:1,style:{"font-size":"0.7rem"},class:"text-xs font-bold text-background-secondary"},REM={key:2,class:"ml-2 font-bold text-red-500"},BEM={class:"flex w-full items-center justify-center"},HEM={class:"bits1 flex w-full items-center justify-center"},ZEM=["id","onClick"],FEM={class:"z-10"},XEM=["id","onClick"],GEM={class:""},WEM={key:0,class:"pl-4"},VEM=["id","onClick"],JEM={key:2},qEM={class:"px-7 pt-2 text-xs"},KEM=["onClick"],_EM={key:0},$EM={class:"w-1/3 px-4 pt-2 text-xs"},MlM={key:1},tlM={class:"w-1/3 px-4 pt-2 text-xs"},LlM={key:1,class:"profile-body pl-3 pt-2"},jlM={key:0,class:"row bot-text-left relative mt-4 h-14 items-start pb-16 md:flex lg:flex"},ulM={class:"bot-text relative w-full"},AlM={key:0},NlM={key:1},elM={key:0,class:"row bot-text-left relative mb-1 mt-4 flex items-start"},ilM={class:"bot-text relative"},SlM={class:"profileStart shadow relative border p-3"},ylM={key:0},rlM={class:"flex items-center bg-gray-100 px-4 py-1 font-bold"},nlM={key:0,class:"flex max-h-24 flex-wrap overflow-auto"},DlM=["onClick"],slM=["onClick"],TlM={key:1,class:"ml-2 h-3 w-3 text-gray-800 dark:text-white","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",fill:"#073262",viewBox:"0 0 18 18"},zlM={key:1,class:"row bot-text-left relative mt-4 flex items-start pb-4"},IlM={class:"bot-text relative max-w-3xl md:w-auto lg:w-auto"},clM=["disabled"],alM={class:"bot-text relative w-full max-w-3xl rounded-md md:w-auto lg:w-auto"},glM={key:2,class:"fixed -top-6 left-0 z-50 flex h-full min-h-screen w-full items-center justify-center bg-[#707070] bg-opacity-30 p-2 text-[15px] md:top-0 md:p-0 lg:top-0 lg:p-0"},olM={class:"popup-content shadow-lg w-full border bg-white md:w-3/5 lg:w-3/5"},xlM={class:"flex justify-between"},ElM={class:"fontFormattingAMA popup-body geLight -text-blue h-auto overflow-auto px-8 py-4 md:h-auto lg:h-auto"},llM={key:2,class:"z-50"},OlM={class:"fixed -top-6 left-0 z-50 flex h-full min-h-screen w-full items-center justify-center bg-[#707070] bg-opacity-30 p-2 text-[15px] md:top-0 md:p-0 lg:top-0 lg:p-0"},dlM={class:"popup-content shadow-lg w-full bg-white md:w-3/5 lg:w-3/5"},wlM={class:"-text-blue geLight popup-body h-82 overflow-y-auto md:h-auto lg:h-auto"},flM={class:"row bot-text-left relative mb-1 mt-4"},ClM=kt({__name:"MyplangenerationPage",props:{updateMyprofile:{}},emits:["finalAddedMoreskill","loadmyperformance","loadmyteamperformance"],setup(L,{emit:M}){const t=IL(),j=V(""),u=V(!1),A=V(!1);V(!1);const N=V(!1);V(!1);const e=V(!1),i=V(!1),S=V(!1),y=V(!1),r=V(!1),n=V(!1);V(!1),V(!1),V(!1);const D=V(!0),s=V(!1),I=V(!1),T=V(!1),c=V(!1),a=V(!1),g=M,o=Tu(),E=V(!1),f=V(),C=V(!1),h=V(),Y=V();V(),V();const k=V(),p=V(),m=V(),U=V(),Q=V();V("Processing your skills profile. Sit tight!"),V(),V(),V();const w=V(!1),x=V([]),O=V([]),l=V([]),d=V([]),b=V([]);V(),V(),V([]);const X=V([]),B=V([]),G=V(3),W=V(3),MM=V(3),Z=V(3),K=V(!1),H=V(!1),P=V(!1),J=V(!1),LM=V(!1),eM=V(!1),$=V(),NM=V();V(),V("");const nM=V(!1),AM=V([]),_=V([]);V([]),V(!1);const iM=V(!1),jM=V(),SM=V(),zM=V(),sM=V(),oM=V([]),CM=V(!1),YM=V(!1),kM=V(!1),FM=V([{ID:"97103561-8dc3-4fe7-ad0a-4f8dedac8f6b",code:1,Slug:"B",Title:"beginner",Title2:"Beginner"},{ID:"407b8b7b-b3ac-4074-b129-c66d22eb78d4",code:2,Slug:"I",Title:"intermediate",Title2:"Intermediate"},{ID:"5ed7edb5-3967-4bda-aa2a-093c069df241",code:3,Slug:"P",Title:"proficient",Title2:"Proficient"},{ID:"dea6184e-8d52-4852-a6cb-daf633e36f18",code:4,Slug:"E",Title:"expert",Title2:"Expert"}]);oL(async()=>{var rM,jt,JM,XM,ct,St,KM,Gt,Vt,$t,tL,ML,ht,RM,wt,dM,qM,Nt,ot,Zt,gM,lt,vM,NL,Ct,eL,KL,YL,FL,mL,lj,cj,wL;let hM=[];E.value=!0;try{if(await Promise.all([t.ProfileV6function(),t.suggestedSkillsFunction(),t.existingSubskillParentSkillsFunction()]),t.merged_profileArray){t.merged_profileArray.forEach(iL=>{var wj;(wj=t.existingSubskillParentSkillsArray)==null||wj.forEach(nu=>{(iL==null?void 0:iL.skill_id)===(nu==null?void 0:nu.skill_id)&&(iL.subskillExisting=!0),(iL==null?void 0:iL.skill_id)===nu&&!(iL!=null&&iL.subskill)&&hM.push(iL)})}),f.value=t.initArray,Y.value=t.merged_profileArray||[],await rt(),await BM(),await gt(),await Xt(),await fM();const AL=document.getElementById("myplangenerationscroll");AL&&AL.scrollIntoView({behavior:"smooth",block:"center",inline:"nearest"}),hM=hM.filter(iL=>!iL.subskill),hM.length!==0&&(oM.value=hM,CM.value=!0),console.log("hassubskillcheck",hM),console.log("hasSubskillArray.value",oM.value.length),console.log("delphiStore.skillValidationmatrixarray",t.skillValidationmatrixarray),(rM=t.skillValidationmatrixarray)==null||rM.forEach(iL=>{var wj,nu,Aj,tj;iL.masterType==="industry"&&(jM.value=(wj=iL.Recommendation)==null?void 0:wj.filter(Qu=>Qu.type==="nonmandatory")),iL.masterType==="service_line_or_domain"&&(SM.value=(nu=iL.Recommendation)==null?void 0:nu.filter(Qu=>Qu.type==="nonmandatory")),iL.masterType==="digital_technology"&&(zM.value=(Aj=iL.Recommendation)==null?void 0:Aj.filter(Qu=>Qu.type==="nonmandatory")),iL.masterType==="proff_skill"&&(sM.value=(tj=iL.Recommendation)==null?void 0:tj.filter(Qu=>Qu.type==="nonmandatory"))}),AM.value=[{category:"Industry",skillCategory:(JM=(jt=jM==null?void 0:jM.value[0])==null?void 0:jt.minSelect)==null?void 0:JM.value,skillRecommarray:(XM=t.suggestedSkillsArray)==null?void 0:XM.filter(iL=>iL.category==="industry"),discription:(ct=jM==null?void 0:jM.value[0])==null?void 0:ct.description,condition:((St=x.value)==null?void 0:St.filter(iL=>iL.skillStatus).length)<((Gt=(KM=jM==null?void 0:jM.value[0])==null?void 0:KM.minSelect)==null?void 0:Gt.value)},{category:"Functional Domain and Service Line",skillCategory:($t=(Vt=SM==null?void 0:SM.value[0])==null?void 0:Vt.minSelect)==null?void 0:$t.value,skillRecommarray:(tL=t.suggestedSkillsArray)==null?void 0:tL.filter(iL=>iL.category==="service_line_or_domain"),discription:(ML=SM==null?void 0:SM.value[0])==null?void 0:ML.description,condition:((ht=O.value)==null?void 0:ht.filter(iL=>iL.skillStatus).length)<((wt=(RM=SM==null?void 0:SM.value[0])==null?void 0:RM.minSelect)==null?void 0:wt.value)},{category:"Digital",skillCategory:(qM=(dM=zM==null?void 0:zM.value[0])==null?void 0:dM.minSelect)==null?void 0:qM.value,skillRecommarray:(Nt=t.suggestedSkillsArray)==null?void 0:Nt.filter(iL=>iL.category==="digital_technology"),discription:(ot=zM==null?void 0:zM.value[0])==null?void 0:ot.description,condition:((Zt=l.value)==null?void 0:Zt.filter(iL=>iL.skillStatus).length)<((lt=(gM=zM==null?void 0:zM.value[0])==null?void 0:gM.minSelect)==null?void 0:lt.value)},{category:"Professional",skillCategory:(NL=(vM=sM==null?void 0:sM.value[0])==null?void 0:vM.minSelect)==null?void 0:NL.value,skillRecommarray:(Ct=t.suggestedSkillsArray)==null?void 0:Ct.filter(iL=>iL.category==="proff_skill"),discription:(eL=sM==null?void 0:sM.value[0])==null?void 0:eL.description,condition:((KL=d.value)==null?void 0:KL.filter(iL=>iL.skillStatus).length)<((FL=(YL=sM==null?void 0:sM.value[0])==null?void 0:YL.minSelect)==null?void 0:FL.value)}],E.value=!1,(mL=x.value)!=null&&mL.filter(iL=>iL.skillStatus).length?K.value=!0:(lj=O.value)!=null&&lj.filter(iL=>iL.skillStatus).length?H.value=!0:(cj=l.value)!=null&&cj.filter(iL=>iL.skillStatus).length?P.value=!0:(wL=d.value)!=null&&wL.filter(iL=>iL.skillStatus).length&&(J.value=!0)}else E.value=!1,n.value=!0}catch(AL){console.log("error",AL),E.value=!1,n.value=!0,AL.response?t.errorMessagetext=AL.response.data.message:AL.message?t.errorMessagetext=AL.message:t.errorMessagetext="Failed to load api"}});const ut=(hM,rM)=>{const jt=_.value.findIndex(JM=>JM.skill_id===hM.skill_id);jt!==-1?(_.value.splice(jt,1),rM.forEach(JM=>{JM.skill_id===hM.skill_id&&(JM.addedinarray=!1)})):(_.value.push(hM),rM.forEach(JM=>{JM.skill_id===hM.skill_id&&(JM.addedinarray=!0)}))},tt=async()=>{iM.value=!0,await _.value.forEach(rM=>{rM.recommededskill=!0});const hM=_.value.filter(rM=>!Y.value.some(jt=>jt.skill_id===rM.skill_id&&jt.skillStatus===rM.skillStatus));hM==null||hM.forEach(async rM=>{Y.value.push(rM)}),await rt(),await BM(),await gt(),await Xt(),await fM(),_.value.forEach(rM=>{rM.addedinarray===!0&&(rM.addedinarray=!1)}),GM(),_.value=[],nM.value=!1},It=async()=>{var Gt,Vt,$t,tL,ML,ht,RM,wt,dM,qM,Nt,ot,Zt,gM,lt,vM,NL,Ct,eL,KL,YL,FL;console.log("innnnn");const hM=(Gt=t.suggestedSkillsArray)==null?void 0:Gt.filter(mL=>mL.category==="industry"),rM=(Vt=t.suggestedSkillsArray)==null?void 0:Vt.filter(mL=>mL.category==="service_line_or_domain"),jt=($t=t.suggestedSkillsArray)==null?void 0:$t.filter(mL=>mL.category==="digital_technology"),JM=(tL=t.suggestedSkillsArray)==null?void 0:tL.filter(mL=>mL.category==="proff_skill"),XM=(ML=x.value)==null?void 0:ML.filter(mL=>mL.skillStatus),ct=(ht=O.value)==null?void 0:ht.filter(mL=>mL.skillStatus),St=(RM=l.value)==null?void 0:RM.filter(mL=>mL.skillStatus),KM=(wt=d.value)==null?void 0:wt.filter(mL=>mL.skillStatus);console.log("domaincheck",ct.length),console.log("domainValidation?.value[0]?.minSelect?.value",(qM=(dM=SM==null?void 0:SM.value[0])==null?void 0:dM.minSelect)==null?void 0:qM.value),console.log("dsrecommsuggesArray.length",rM.length),console.log("domainStatus",rM.length&&ct.length<((ot=(Nt=SM==null?void 0:SM.value[0])==null?void 0:Nt.minSelect)==null?void 0:ot.value)),console.log("checkvalidation",ct.length,(gM=(Zt=SM==null?void 0:SM.value[0])==null?void 0:Zt.minSelect)==null?void 0:gM.value),hM.length&&XM.length<((vM=(lt=jM==null?void 0:jM.value[0])==null?void 0:lt.minSelect)==null?void 0:vM.value)||rM.length&&ct.length<((Ct=(NL=SM==null?void 0:SM.value[0])==null?void 0:NL.minSelect)==null?void 0:Ct.value)||jt.length&&St.length<((KL=(eL=zM==null?void 0:zM.value[0])==null?void 0:eL.minSelect)==null?void 0:KL.value)||JM.length&&KM.length<((FL=(YL=sM==null?void 0:sM.value[0])==null?void 0:YL.minSelect)==null?void 0:FL.value)?(console.log("validationSection.value",nM.value),nM.value=!0):eM.value?GM():pt()},_M=()=>{const hM=document.getElementById("skilluploadidmyplan");hM&&hM.scrollIntoView({behavior:"smooth",block:"center"})},pt=async()=>{try{D.value=!1,e.value=!0,E.value=!0,G.value=3,W.value=3,MM.value=3,Z.value=3,K.value=!1,H.value=!1,P.value=!1,J.value=!1,B.value=[];const hM=[],rM=[],jt=[],JM=[x.value,O.value,l.value,d.value,b.value];if(JM==null||JM.forEach(XM=>{XM==null||XM.forEach(ct=>{var St,KM;ct.proficiencyId===null&&ct.skillStatus&&(ct.category==="industry"&&(K.value=!0,G.value=x.value.length),ct.category==="service_line_or_domain"&&(H.value=!0,W.value=O.value.length),ct.category==="digital_technology"&&(P.value=!0,MM.value=l.value.length),ct.category==="proff_skill"&&(J.value=!0,Z.value=d.value.length),hM.push(ct),ct.codered=!0),(St=ct==null?void 0:ct.subskill)!=null&&St.length&&((KM=ct==null?void 0:ct.subskill)==null||KM.forEach(Gt=>{Gt.proficiencyId===null&&Gt.skillStatus&&(rM.push(Gt),Gt.codered=!0),(Gt.proficiencyId===null&&Gt.skillStatus||Gt.proficiencyId==="f7af7994-62bf-41db-af0e-c580d2e9c753"&&Gt.skillStatus)&&jt.push(ct)}))})}),jt.forEach(XM=>{var St;const ct=(St=XM==null?void 0:XM.subskill)==null?void 0:St.filter(KM=>(KM==null?void 0:KM.proficiencyId)!==null&&(KM==null?void 0:KM.skillStatus)||(KM==null?void 0:KM.proficiencyId)!=="f7af7994-62bf-41db-af0e-c580d2e9c753"&&(KM==null?void 0:KM.skillStatus));ct!=null&&ct.length||(y.value=!0,hM.push(XM),XM.addatlistonesubskill=!0)}),hM!=null&&hM.length)(hM.length||rM.length)&&(D.value=!0,e.value=!1,E.value=!1);else{JM==null||JM.forEach(St=>{St==null||St.forEach(KM=>{var Gt,Vt;(Gt=KM==null?void 0:KM.subskill)!=null&&Gt.length&&((Vt=KM==null?void 0:KM.subskill)==null||Vt.forEach($t=>{B.value.push($t)}),KM.subskill=null),B.value.push(KM)})}),console.log("consolidatedArray.value",B.value);const XM={skills:B.value},{data:ct}=await HL("delphi/v2/myprofile",XM);console.log("data",ct),ct==="profile saved successfully"&&(t.componentCheckv6="Myplan")}}catch(hM){E.value=!1,hM.response?o.error(`${hM.response.data.message}`):hM.message?o.error(`${hM.message}`):o.error("Failed to generate plan")}},GM=async()=>{var hM,rM,jt,JM,XM,ct;try{D.value=!1,e.value=!0,E.value=!0,G.value=3,W.value=3,MM.value=3,Z.value=3,K.value=!1,H.value=!1,P.value=!1,J.value=!1,B.value=[];const St=[],KM=[],Gt=[],Vt=[x.value,O.value,l.value,d.value,b.value];if(Vt==null||Vt.forEach($t=>{$t==null||$t.forEach(tL=>{var ML,ht;tL.proficiencyId===null&&tL.skillStatus&&(tL.category==="industry"&&(K.value=!0,G.value=x.value.length),tL.category==="service_line_or_domain"&&(H.value=!0,W.value=O.value.length),tL.category==="digital_technology"&&(P.value=!0,MM.value=l.value.length),tL.category==="proff_skill"&&(J.value=!0,Z.value=d.value.length),St.push(tL),tL.codered=!0),(ML=tL==null?void 0:tL.subskill)!=null&&ML.length&&((ht=tL==null?void 0:tL.subskill)==null||ht.forEach(RM=>{RM.proficiencyId===null&&RM.skillStatus&&(KM.push(RM),RM.codered=!0),(RM.proficiencyId===null&&RM.skillStatus||RM.proficiencyId==="f7af7994-62bf-41db-af0e-c580d2e9c753"&&RM.skillStatus)&&Gt.push(tL)}))})}),Gt.forEach($t=>{var ML;const tL=(ML=$t==null?void 0:$t.subskill)==null?void 0:ML.filter(ht=>(ht==null?void 0:ht.proficiencyId)!==null&&(ht==null?void 0:ht.skillStatus)||(ht==null?void 0:ht.proficiencyId)!=="f7af7994-62bf-41db-af0e-c580d2e9c753"&&(ht==null?void 0:ht.skillStatus));tL!=null&&tL.length||(y.value=!0,St.push($t),$t.addatlistonesubskill=!0)}),St!=null&&St.length)(St.length||KM.length)&&(D.value=!0,e.value=!1,E.value=!1);else{Vt==null||Vt.forEach(ML=>{ML==null||ML.forEach(ht=>{var RM,wt;(RM=ht==null?void 0:ht.subskill)!=null&&RM.length&&((wt=ht==null?void 0:ht.subskill)==null||wt.forEach(dM=>{B.value.push(dM)}),ht.subskill=null),B.value.push(ht)})});const $t={skills:B.value},{data:tL}=await HL("delphi/v2/myprofile",$t);console.log("data",tL),tL==="profile saved successfully"&&(console.log("data",tL),(((rM=(hM=t.initArray)==null?void 0:hM.ofconEntry)==null?void 0:rM.Job_Family_Group)==="Technology Solutions and Services"||((JM=(jt=t.initArray)==null?void 0:jt.ofconEntry)==null?void 0:JM.Job_Family_Group)==="Data & Analytics"||((ct=(XM=t.initArray)==null?void 0:XM.ofconEntry)==null?void 0:ct.Job_Family_Group)==="Data and Analytics")&&await t.coreSkillsFunction(),g("finalAddedMoreskill",!0),t.initSkilluploadArray=null)}}catch(St){E.value=!1,St.response?o.error(`${St.response.data.message}`):St.message?o.error(`${St.message}`):o.error("Failed to generate plan")}},IM=(hM,rM)=>{eM.value=!0,hM==="industrySkillarray"&&x.value.forEach(jt=>{jt.skill_id===rM.skill_id&&(jt.myPlanRelevent=rM.myPlanRelevent)}),hM==="domainSkillarray"&&O.value.forEach(jt=>{jt.skill_id===rM.skill_id&&(jt.myPlanRelevent=rM.myPlanRelevent)}),hM==="digitalSkillarray"&&l.value.forEach(jt=>{jt.skill_id===rM.skill_id&&(jt.myPlanRelevent=rM.myPlanRelevent)}),hM==="profSkillarray"&&d.value.forEach(jt=>{jt.skill_id===rM.skill_id&&(jt.myPlanRelevent=rM.myPlanRelevent)})},lM=(hM,rM)=>{hM==="industrySkillarray"&&(G.value=rM),hM==="domainSkillarray"&&(W.value=rM),hM==="digitalSkillarray"&&(MM.value=rM),hM==="profSkillarray"&&(Z.value=rM)},VM=async(hM,rM)=>{try{LM.value=!0,$.value={allskillarray:Y.value,skillarray:rM},NM.value="",i.value=!0}catch{o.error("Failed to load subskill"),E.value=!1}},fM=()=>{var rM;const hM=(rM=Y.value)==null?void 0:rM.filter(jt=>jt.category==="function");return b.value=hM,hM},rt=()=>{var jt,JM;const hM=(jt=Y.value)==null?void 0:jt.filter(XM=>XM.category==="industry"&&(XM.parentskillid===null||XM.parentskillid==="-1")),rM=(JM=Y.value)==null?void 0:JM.filter(XM=>XM.category==="industry"&&(XM.parentskillid!==null||XM.parentskillid!=="-1"));return hM==null||hM.forEach(XM=>{let ct=[];rM==null||rM.forEach(St=>{XM.skill_id===St.parentskillid&&(ct.push(St),XM.subskill=ej(ct,"skill"))})}),x.value=hM.sort((XM,ct)=>XM.skill.localeCompare(ct.skill)),hM},BM=()=>{var jt,JM;const hM=(jt=Y.value)==null?void 0:jt.filter(XM=>XM.category==="service_line_or_domain"&&(XM.parentskillid===null||XM.parentskillid==="-1")),rM=(JM=Y.value)==null?void 0:JM.filter(XM=>XM.category==="service_line_or_domain"&&(XM.parentskillid!==null||XM.parentskillid!=="-1"));return hM==null||hM.forEach(XM=>{let ct=[];rM==null||rM.forEach(St=>{XM.skill_id===St.parentskillid&&(ct.push(St),XM.subskill=ej(ct,"skill"))})}),O.value=hM.sort((XM,ct)=>XM.skill.localeCompare(ct.skill)),hM},gt=()=>{var jt,JM;const hM=(jt=Y.value)==null?void 0:jt.filter(XM=>XM.category==="digital_technology"&&(XM.parentskillid===null||XM.parentskillid==="-1")),rM=(JM=Y.value)==null?void 0:JM.filter(XM=>XM.category==="digital_technology"&&(XM.parentskillid!==null||XM.parentskillid!=="-1"));return hM==null||hM.forEach(XM=>{let ct=[];rM==null||rM.forEach(St=>{XM.skill_id===St.parentskillid&&(ct.push(St),XM.subskill=ej(ct,"skill"))})}),l.value=hM.sort((XM,ct)=>XM.skill.localeCompare(ct.skill)),hM},Xt=()=>{var jt,JM;const hM=(jt=Y.value)==null?void 0:jt.filter(XM=>XM.category==="proff_skill"&&(XM.parentskillid===null||XM.parentskillid==="-1")),rM=(JM=Y.value)==null?void 0:JM.filter(XM=>XM.category==="proff_skill"&&(XM.parentskillid!==null||XM.parentskillid!=="-1"));return hM==null||hM.forEach(XM=>{let ct=[];rM==null||rM.forEach(St=>{XM.skill_id===St.parentskillid&&(ct.push(St),XM.subskill=ej(ct,"skill"))})}),d.value=hM.sort((XM,ct)=>XM.skill.localeCompare(ct.skill)),hM},Qt=(hM,rM,jt)=>{eM.value=!0,hM==="industrySkillarray"&&x.value.forEach(JM=>{JM.skill_id===rM&&(JM.proficiencyId=jt,JM.proficiencyId!==null&&JM.skillStatus&&JM.codered===!0&&(JM.codered=!1),FM.value.forEach(XM=>{XM.ID===jt&&(JM.proficiency=XM.Title,JM.addToMyPlan=JM==null?void 0:JM.addToMyPlanProfObj[XM.Title2])}))}),hM==="domainSkillarray"&&O.value.forEach(JM=>{JM.skill_id===rM&&(JM.proficiencyId=jt,JM.proficiencyId!==null&&JM.skillStatus&&JM.codered===!0&&(JM.codered=!1),FM.value.forEach(XM=>{XM.ID===jt&&(JM.proficiency=XM.Title,JM.addToMyPlan=JM==null?void 0:JM.addToMyPlanProfObj[XM.Title2])}))}),hM==="digitalSkillarray"&&l.value.forEach(JM=>{JM.skill_id===rM&&(JM.proficiencyId=jt,JM.proficiencyId!==null&&JM.skillStatus&&JM.codered===!0&&(JM.codered=!1),FM.value.forEach(XM=>{XM.ID===jt&&(JM.proficiency=XM.Title,JM.addToMyPlan=JM==null?void 0:JM.addToMyPlanProfObj[XM.Title2])}))}),hM==="profSkillarray"&&d.value.forEach(JM=>{JM.skill_id===rM&&(JM.proficiencyId=jt,JM.proficiencyId!==null&&JM.skillStatus&&JM.codered===!0&&(JM.codered=!1),FM.value.forEach(XM=>{XM.ID===jt&&(JM.proficiency=XM.Title,JM.addToMyPlan=JM==null?void 0:JM.addToMyPlanProfObj[XM.Title2])}))})},Rt=(hM,rM,jt)=>{var JM;eM.value=!0,hM==="industrySkillarray"&&((JM=x.value)==null||JM.forEach(XM=>{var ct;(ct=XM==null?void 0:XM.subskill)==null||ct.forEach(St=>{St.skill_id===rM&&(St.proficiencyId=jt,St.proficiencyId!==null&&St.skillStatus&&St.codered===!0&&(St.codered=!1),FM.value.forEach(KM=>{KM.ID===jt&&(St.proficiency=KM.Title)}),St.proficiencyId!==null&&St.skillStatus&&XM.addatlistonesubskill===!0&&(XM.addatlistonesubskill=!1))})})),hM==="domainSkillarray"&&O.value.forEach(XM=>{var ct;(ct=XM==null?void 0:XM.subskill)==null||ct.forEach(St=>{St.skill_id===rM&&(St.proficiencyId=jt,St.proficiencyId!==null&&St.skillStatus&&St.codered===!0&&(St.codered=!1),FM.value.forEach(KM=>{KM.ID===jt&&(St.proficiency=KM.Title)}),St.proficiencyId!==null&&St.skillStatus&&XM.addatlistonesubskill===!0&&(XM.addatlistonesubskill=!1))})}),hM==="digitalSkillarray"&&l.value.forEach(XM=>{var ct;(ct=XM==null?void 0:XM.subskill)==null||ct.forEach(St=>{St.skill_id===rM&&(St.proficiencyId=jt,St.proficiencyId!==null&&St.skillStatus&&St.codered===!0&&(St.codered=!1),FM.value.forEach(KM=>{KM.ID===jt&&(St.proficiency=KM.Title)}),St.proficiencyId!==null&&St.skillStatus&&XM.addatlistonesubskill===!0&&(XM.addatlistonesubskill=!1))})}),hM==="profSkillarray"&&d.value.forEach(XM=>{var ct;(ct=XM==null?void 0:XM.subskill)==null||ct.forEach(St=>{St.skill_id===rM&&(St.proficiencyId=jt,St.proficiencyId!==null&&St.skillStatus&&St.codered===!0&&(St.codered=!1),FM.value.forEach(KM=>{KM.ID===jt&&(St.proficiency=KM.Title)}),St.proficiencyId!==null&&St.skillStatus&&XM.addatlistonesubskill===!0&&(XM.addatlistonesubskill=!1))})})},xt=(hM,rM)=>{var jt,JM,XM,ct,St,KM,Gt,Vt,$t,tL,ML,ht,RM,wt,dM,qM,Nt,ot,Zt,gM,lt,vM,NL,Ct,eL,KL,YL,FL,mL,lj,cj;eM.value=!0,console.log("type",hM),console.log("skillid",rM),hM==="industrySkillarray"&&x.value.forEach(wL=>{var AL;wL.skill_id===rM&&(wL.skillStatus=!1,(AL=wL==null?void 0:wL.subskill)==null||AL.forEach(iL=>{iL.skillStatus=!1}))}),hM==="domainSkillarray"&&O.value.forEach(wL=>{var AL;wL.skill_id===rM&&(wL.skillStatus=!1,(AL=wL==null?void 0:wL.subskill)==null||AL.forEach(iL=>{iL.skillStatus=!1}))}),hM==="digitalSkillarray"&&l.value.forEach(wL=>{var AL;wL.skill_id===rM&&(wL.skillStatus=!1,(AL=wL==null?void 0:wL.subskill)==null||AL.forEach(iL=>{iL.skillStatus=!1}))}),hM==="profSkillarray"&&d.value.forEach(wL=>{var AL;wL.skill_id===rM&&(wL.skillStatus=!1,(AL=wL==null?void 0:wL.subskill)==null||AL.forEach(iL=>{iL.skillStatus=!1}))}),console.log("domainSkillarray.value?.filter((word) => word.skillStatus).length",(jt=O.value)==null?void 0:jt.filter(wL=>wL.skillStatus).length),console.log("domainValidation?.value[0]?.minSelect?.value",(XM=(JM=SM==null?void 0:SM.value[0])==null?void 0:JM.minSelect)==null?void 0:XM.value),AM.value=[{category:"Industry",skillCategory:(St=(ct=jM==null?void 0:jM.value[0])==null?void 0:ct.minSelect)==null?void 0:St.value,skillRecommarray:(KM=t.suggestedSkillsArray)==null?void 0:KM.filter(wL=>wL.category==="industry"),discription:(Gt=jM==null?void 0:jM.value[0])==null?void 0:Gt.description,condition:((Vt=x.value)==null?void 0:Vt.filter(wL=>wL.skillStatus).length)<((tL=($t=jM==null?void 0:jM.value[0])==null?void 0:$t.minSelect)==null?void 0:tL.value)},{category:"Functional Domain and Service Line",skillCategory:(ht=(ML=SM==null?void 0:SM.value[0])==null?void 0:ML.minSelect)==null?void 0:ht.value,skillRecommarray:(RM=t.suggestedSkillsArray)==null?void 0:RM.filter(wL=>wL.category==="service_line_or_domain"),discription:(wt=SM==null?void 0:SM.value[0])==null?void 0:wt.description,condition:((dM=O.value)==null?void 0:dM.filter(wL=>wL.skillStatus).length)<((Nt=(qM=SM==null?void 0:SM.value[0])==null?void 0:qM.minSelect)==null?void 0:Nt.value)},{category:"Digital",skillCategory:(Zt=(ot=zM==null?void 0:zM.value[0])==null?void 0:ot.minSelect)==null?void 0:Zt.value,skillRecommarray:(gM=t.suggestedSkillsArray)==null?void 0:gM.filter(wL=>wL.category==="digital_technology"),discription:(lt=zM==null?void 0:zM.value[0])==null?void 0:lt.description,condition:((vM=l.value)==null?void 0:vM.filter(wL=>wL.skillStatus).length)<((Ct=(NL=zM==null?void 0:zM.value[0])==null?void 0:NL.minSelect)==null?void 0:Ct.value)},{category:"Professional",skillCategory:(KL=(eL=sM==null?void 0:sM.value[0])==null?void 0:eL.minSelect)==null?void 0:KL.value,skillRecommarray:(YL=t.suggestedSkillsArray)==null?void 0:YL.filter(wL=>wL.category==="proff_skill"),discription:(FL=sM==null?void 0:sM.value[0])==null?void 0:FL.description,condition:((mL=d.value)==null?void 0:mL.filter(wL=>wL.skillStatus).length)<((cj=(lj=sM==null?void 0:sM.value[0])==null?void 0:lj.minSelect)==null?void 0:cj.value)}],console.log("recommndationskillArray.value",AM.value),u.value=!1,j.value="",m.value=null,k.value=null},uL=(hM,rM,jt)=>{u.value=!0,jt?j.value="This skill is identified as a Critical Skill. Are you certain you want to delete it?":j.value="The deletion of skill will result in modification of profile.",m.value=rM,k.value=hM},DL=(hM,rM,jt)=>{var JM,XM,ct,St;console.log("skillid",rM),eM.value=!0,hM==="industrySkillarray"&&((JM=x.value)==null||JM.forEach(KM=>{var Gt,Vt,$t;if(KM.skill_id===jt){const tL=(Gt=KM==null?void 0:KM.subskill)==null?void 0:Gt.filter(ML=>ML.skillStatus===!0);(tL==null?void 0:tL.length)<1?(y.value=!0,(Vt=KM==null?void 0:KM.subskill)==null||Vt.forEach(ML=>{ML.skill_id===rM&&(ML.skillStatus=!0)})):($t=KM==null?void 0:KM.subskill)==null||$t.forEach(ML=>{ML.skill_id===rM&&(ML.skillStatus=!1)})}})),hM==="domainSkillarray"&&((XM=O.value)==null||XM.forEach(KM=>{var Gt,Vt,$t;if(KM.skill_id===jt){const tL=(Gt=KM==null?void 0:KM.subskill)==null?void 0:Gt.filter(ML=>ML.skillStatus===!0);(tL==null?void 0:tL.length)===1?(y.value=!0,(Vt=KM==null?void 0:KM.subskill)==null||Vt.forEach(ML=>{ML.skill_id===rM&&(ML.skillStatus=!0)})):($t=KM==null?void 0:KM.subskill)==null||$t.forEach(ML=>{ML.skill_id===rM&&(ML.skillStatus=!1)})}})),hM==="digitalSkillarray"&&((ct=l.value)==null||ct.forEach(KM=>{var Gt,Vt,$t;if(KM.skill_id===jt){const tL=(Gt=KM==null?void 0:KM.subskill)==null?void 0:Gt.filter(ML=>ML.skillStatus===!0);console.log("skillelement?.subskill",tL==null?void 0:tL.length),(tL==null?void 0:tL.length)===1?(y.value=!0,(Vt=KM==null?void 0:KM.subskill)==null||Vt.forEach(ML=>{ML.skill_id===rM&&(ML.skillStatus=!0)})):($t=KM==null?void 0:KM.subskill)==null||$t.forEach(ML=>{ML.skill_id===rM&&(ML.skillStatus=!1)})}})),hM==="profSkillarray"&&((St=d.value)==null||St.forEach(KM=>{var Gt,Vt,$t;if(KM.skill_id===jt){const tL=(Gt=KM==null?void 0:KM.subskill)==null?void 0:Gt.filter(ML=>ML.skillStatus===!0);(tL==null?void 0:tL.length)===1?(y.value=!0,(Vt=KM==null?void 0:KM.subskill)==null||Vt.forEach(ML=>{ML.skill_id===rM&&(ML.skillStatus=!0)})):($t=KM==null?void 0:KM.subskill)==null||$t.forEach(ML=>{ML.skill_id===rM&&(ML.skillStatus=!1)})}})),A.value=!1,U.value=rM,p.value=hM},gL=(hM,rM,jt,JM)=>{JM?j.value="This skill is identified as a Critical Skill. Are you certain you want to delete it?":j.value="The deletion of skill will result in modification of profile.",A.value=!0,U.value=rM,Q.value=jt,p.value=hM},pL=async hM=>{try{const{data:rM}=await WL(`/delphi/skillDesc/${hM}`);rM&&!rM.error&&(C.value=!0,h.value=rM)}catch{o.error("Failed to load Description"),C.value=!1,n.value=!0,E.value=!1}},nL=SL(()=>{var rM;const hM=(rM=t.coreSkillsArray)==null?void 0:rM.existingCoreSkills;return X.value=hM,hM}),_t=SL(()=>{var rM;return!!((rM=x.value)==null?void 0:rM.filter(jt=>jt.skillStatus)).length}),bL=SL(()=>{var rM;return!!((rM=O.value)==null?void 0:rM.filter(jt=>jt.skillStatus)).length}),zL=SL(()=>{var rM;return!!((rM=l.value)==null?void 0:rM.filter(jt=>jt.skillStatus)).length}),HM=SL(()=>{var rM;return!!((rM=d.value)==null?void 0:rM.filter(jt=>jt.skillStatus)).length});return(hM,rM)=>{var jt,JM,XM,ct,St,KM,Gt,Vt,$t,tL,ML,ht,RM,wt,dM,qM,Nt,ot,Zt;return v(),R(WM,null,[E.value?(v(),R("section",yaM,rM[49]||(rM[49]=[z("div",{class:"mt-24 flex items-start justify-center"},[z("img",{class:"w-24",src:nj,alt:"Loader Gif"})],-1)]))):(v(),R("div",raM,[z("div",naM,[z("div",DaM,[z("div",saM,[!D.value&&!r.value?(v(),R("div",TaM)):yM("",!0),z("div",zaM,[z("div",IaM,[z("div",caM,[z("div",aaM,[TM(t).userName?(v(),R("div",gaM,"Name : "+aM(TM(t).userName),1)):yM("",!0),z("div",oaM,[(jt=TM(t).roleObject)!=null&&jt.name?(v(),R("span",xaM,"Role : "+aM(((JM=TM(t).roleObject)==null?void 0:JM.name)==="Do Not Select this Role"?"Information awaited by HR":(ct=(XM=TM(t).roleObject)==null?void 0:XM.name)==null?void 0:ct.replace(TM(t).bandPattern,"").replace(/\s+/g," ").trim()),1)):yM("",!0)]),z("div",EaM,[(St=TM(t).functionObject)!=null&&St.name?(v(),R("span",laM,"Function : "+aM((KM=TM(t).functionObject)==null?void 0:KM.name),1)):yM("",!0),z("div",{id:"ga_how",class:"mx-0 flex cursor-pointer items-center sm:mx-4",onClick:rM[0]||(rM[0]=gM=>TM(t).componentCheckv6="IdealProfile")},rM[50]||(rM[50]=[z("b",{class:"flex items-center text-xs text-[#009BFE]",id:"ga_how"},"View Ideal Profile",-1)]))])]),((Vt=(Gt=TM(t).initArray)==null?void 0:Gt.ofconEntry)==null?void 0:Vt.Job_Family_Group)===""?(v(),R("button",{key:0,onClick:rM[1]||(rM[1]=gM=>TM(t).componentCheckv6="functionandrole")},rM[51]||(rM[51]=[z("img",{src:bI},null,-1)]))):yM("",!0)])]),((tL=($t=TM(t).initArray)==null?void 0:$t.ofconEntry)==null?void 0:tL.Job_Family_Group)==="Technology Solutions and Services"||((ht=(ML=TM(t).initArray)==null?void 0:ML.ofconEntry)==null?void 0:ht.Job_Family_Group)==="Data & Analytics"||((wt=(RM=TM(t).initArray)==null?void 0:RM.ofconEntry)==null?void 0:wt.Job_Family_Group)==="Data and Analytics"?(v(),R("div",OaM,[z("div",daM,[z("div",null,[z("div",waM,[rM[52]||(rM[52]=PM(" My Critical Skills ")),z("img",{class:"pointer ml-2 h-4 w-4",src:vA,onMouseenter:rM[2]||(rM[2]=gM=>I.value=!0),onMouseleave:rM[3]||(rM[3]=gM=>I.value=!1)},null,32)]),I.value?(v(),R("ul",faM,rM[53]||(rM[53]=[z("li",null,"● Critical skills are skills you specialize in and have actively used in your work in the last 18 months",-1),z("li",null,"● Declare critical skills for personalized learning recommendations and get discovered for new opportunities",-1)]))):yM("",!0)]),z("div",CaM,[(dM=nL.value)!=null&&dM.length?(v(),R("button",{key:0,class:"cursor-pointer",onClick:rM[4]||(rM[4]=gM=>{TM(t).coreskillcheckvalue="coreprofile",TM(t).componentCheckv6="coreSkills",TM(t).logEventOnClick({event_type:"cta_criticalskill"})})},rM[54]||(rM[54]=[z("img",{src:bI},null,-1)]))):(v(),R("button",{key:1,class:"cursor-pointer",onClick:rM[5]||(rM[5]=gM=>{TM(t).coreskillcheckvalue="coreprofile",TM(t).componentCheckv6="coreSkills",TM(t).logEventOnClick({event_type:"cta_criticalskill"})})},rM[55]||(rM[55]=[z("img",{class:"w-4",src:zl},null,-1)])))])]),(qM=nL.value)!=null&&qM.length?(v(),R("div",QaM,[(v(!0),R(WM,null,et(nL.value,(gM,lt)=>(v(),R("div",{class:"",key:lt},[z("span",UaM,[z("span",{innerHTML:gM==null?void 0:gM.ui_alias},null,8,haM)])]))),128))])):(v(),R("div",YaM,rM[56]||(rM[56]=[z("b",null,"You are missing out on great opportunities! Fill your Critical skills today",-1),PM("")])))])):yM("",!0)]),z("div",vaM,[z("div",kaM,[rM[58]||(rM[58]=z("span",null,"All Skills ",-1)),(ot=(Nt=TM(t).manager_assessmentArray)==null?void 0:Nt.skill_data)!=null&&ot.length?(v(),R("div",paM,[rM[57]||(rM[57]=PM(" View manager recommendations ")),Yt(z("input",{class:"ml-2","onUpdate:modelValue":rM[6]||(rM[6]=gM=>YM.value=gM),type:"checkbox"},null,512),[[Yj,YM.value]])])):yM("",!0)]),z("div",maM,[z("div",baM,[z("div",PaM,[rM[59]||(rM[59]=PM(" Skills ")),z("img",{class:"pointer ml-2 h-4 w-4",src:vA,onMouseenter:rM[7]||(rM[7]=gM=>s.value=!0),onMouseleave:rM[8]||(rM[8]=gM=>s.value=!1)},null,32)]),s.value?(v(),R("ul",RaM,rM[60]||(rM[60]=[z("li",null,"● (*)Skills - Recommended based on your role, pre- added to your profile.",-1),z("li",null,"● NEW - skills added on profile update.",-1),z("li",null,"● Proficiency definitions - Click info icon before BIPE for proficiency definitions for each skill.",-1),z("li",null,"● Subskills - Mandatory to add at least one when prompted by system.",-1)]))):yM("",!0)]),rM[64]||(rM[64]=Pj('<div class="border-l border-r border-gray-200 pl-2 pr-2 md:w-1/3 md:py-2 lg:w-1/3 lg:py-2" data-v-3355746a><div class="-text-blue flex items-center justify-center font-bold" data-v-3355746a><div data-v-3355746a>Proficiency level</div></div><div class="items-center justify-center pt-1 md:flex lg:flex" data-v-3355746a><div class="flex items-center" data-v-3355746a><div class="-bg-aqua h-2 w-2" data-v-3355746a></div><div class="pl-1 text-xs text-gray-700" data-v-3355746a>Current</div></div><div class="flex items-center md:px-1 lg:px-1" data-v-3355746a><div class="-bg-blue h-2 w-2" data-v-3355746a></div><div class="pl-1 text-xs text-gray-700" data-v-3355746a>Required</div></div><div class="flex items-center" data-v-3355746a><span class="flex h-2 w-2 overflow-hidden border border-gray-400" data-v-3355746a><span class="-bg-aqua span-a1 flex" data-v-3355746a></span><span class="-bg-blue span-b1 flex" data-v-3355746a></span></span><div class="pl-1 text-xs text-gray-700" data-v-3355746a>Current matches required</div></div></div></div>',1)),YM.value?(v(),R("div",BaM,[z("div",HaM,[z("div",ZaM,[rM[61]||(rM[61]=PM("Manager review ")),z("img",{onClick:rM[9]||(rM[9]=gM=>kM.value=!0),class:"pointer ml-2 h-4 w-4",src:vA})])]),rM[62]||(rM[62]=z("div",{class:"items-center justify-center pt-1 md:flex lg:flex"},[z("div",{class:"flex items-center"},[z("div",{class:"h-2 w-2 bg-[#FF555F]"}),z("div",{class:"pl-1 text-xs text-gray-700"},"Recommended")])],-1))])):yM("",!0),z("div",{class:yt([[YM.value?"hidden lg:block":""],"py-2 pl-2 md:w-1/3 lg:w-1/3"])},rM[63]||(rM[63]=[z("div",{class:"-text-blue items-center justify-center font-bold md:flex lg:flex"}," Add skills to My Plan ",-1)]),2)]),z("div",FaM,[z("div",XaM,[z("div",GaM,[z("div",{onClick:rM[10]||(rM[10]=gM=>K.value=!K.value),class:"flex cursor-pointer items-center justify-between bg-gray-100 px-4 py-1 font-bold"},[rM[67]||(rM[67]=PM(" Industry ")),x.value.length&&_t.value?(v(),R("span",WaM,[K.value?(v(),R("svg",JaM,rM[66]||(rM[66]=[z("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"3",d:"M16 9l-7-7-7 7"},null,-1)]))):(v(),R("svg",VaM,rM[65]||(rM[65]=[z("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"3",d:"M2 9l7 7 7-7"},null,-1)])))])):yM("",!0)])]),x.value.length&&_t.value?(v(),R("div",qaM,[K.value?(v(),R("table",KaM,[z("tbody",null,[(v(!0),R(WM,null,et(x.value.length>3?x.value.slice(0,G.value):x.value,(gM,lt)=>(v(),R("div",{key:lt,class:""},[gM.skillStatus?(v(),R("div",_aM,[gM.skillStatus?(v(),R("tr",$aM,[z("div",MgM,[PM(aM(gM.skill),1),gM.is_mandatory?(v(),R("sup",tgM,rM[68]||(rM[68]=[z("b",null,"*",-1)]))):yM("",!0),z("span",LgM,[gM.codered?(v(),R("span",jgM,"Missing Proficiency")):gM.subskillcodered?(v(),R("span",ugM,"Subskill Proficiency Missing")):yM("",!0)]),gM!=null&&gM.tags&&(gM==null?void 0:gM.tags[0])==="CORE"?(v(),R("span",AgM,"(Critical Skill)")):yM("",!0),gM.is_new?(v(),R("span",NgM,"(new)")):yM("",!0)]),z("div",{class:yt([(YM.value,"w-1/2 px-2 pt-1 md:px-4 lg:px-4")])},[z("div",egM,[z("img",{class:"pointer h-4 w-4",src:vA,onClick:vM=>pL(gM.skill_id)},null,8,igM),z("div",null,[z("ol",SgM,[(v(!0),R(WM,null,et(FM.value.slice(0,4),vM=>(v(),R("li",{key:vM.ID+Math.random()*1e3,class:"flex w-full items-center after:inline-block after:w-full after:content-['']"},[vM.ID===gM.proficiencyId&&vM.ID===gM.idealProficiencyId?(v(),R("span",{key:0,id:`skills-radio-${gM.skill_id}-${vM.ID}`,class:"-border-gray-1 flex h-5 w-5 shrink-0 items-center justify-center overflow-hidden rounded text-white",onClick:NL=>Qt("industrySkillarray",gM.skill_id,vM.ID)},[rM[69]||(rM[69]=z("span",{class:"-bg-aqua span-a2 flex"},null,-1)),z("span",rgM,aM(vM.Slug),1),rM[70]||(rM[70]=z("span",{class:"-bg-blue span-b2 flex"},null,-1))],8,ygM)):(v(),R("span",{key:1,id:`skills-radio-${gM.skill_id}-${vM.ID}`,class:yt([vM.ID===gM.proficiencyId?"-bg-aqua -border-gray-1 relative flex h-5 w-5 shrink-0 items-center justify-center rounded text-white":vM.ID===gM.idealProficiencyId?"-bg-blue -border-gray-1 relative flex h-5 w-5 shrink-0 items-center justify-center rounded text-white":"-bg-white -border-gray-1 relative flex h-5 w-5 shrink-0 items-center justify-center rounded text-gray-700"]),onClick:NL=>Qt("industrySkillarray",gM.skill_id,vM.ID)},[z("span",DgM,aM(vM.Slug),1)],10,ngM))]))),128))])]),gM.is_mandatory?(v(),R("div",sgM,rM[71]||(rM[71]=[z("svg",{xmlns:"http://www.w3.org/2000/svg",class:"h4bi bi-trash w-4 opacity-40",fill:"gray",viewBox:"0 0 16 16"},[z("path",{d:"M5.5 5.5A.5.5 0 0 1 6 6v6a.5.5 0 0 1-1 0V6a.5.5 0 0 1 .5-.5zm2.5 0a.5.5 0 0 1 .5.5v6a.5.5 0 0 1-1 0V6a.5.5 0 0 1 .5-.5zm3 .5a.5.5 0 0 0-1 0v6a.5.5 0 0 0 1 0V6z"}),z("path",{"fill-rule":"evenodd",d:"M14.5 3a1 1 0 0 1-1 1H13v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V4h-.5a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1H6a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1h3.5a1 1 0 0 1 1 1v1zM4.118 4 4 4.059V13a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1V4.059L11.882 4H4.118zM2.5 3V2h11v1h-11z"})],-1)]))):(v(),R("div",{key:1,id:"remove-skill-"+gM.skill_id,class:"pl-4",onClick:vM=>uL("industrySkillarray",gM.skill_id,(gM==null?void 0:gM.tags)&&(gM==null?void 0:gM.tags[0])==="CORE")},rM[72]||(rM[72]=[z("svg",{xmlns:"http://www.w3.org/2000/svg",class:"h4 pointer bi bi-trash w-4",fill:"gray",viewBox:"0 0 16 16"},[z("path",{d:"M5.5 5.5A.5.5 0 0 1 6 6v6a.5.5 0 0 1-1 0V6a.5.5 0 0 1 .5-.5zm2.5 0a.5.5 0 0 1 .5.5v6a.5.5 0 0 1-1 0V6a.5.5 0 0 1 .5-.5zm3 .5a.5.5 0 0 0-1 0v6a.5.5 0 0 0 1 0V6z"}),z("path",{"fill-rule":"evenodd",d:"M14.5 3a1 1 0 0 1-1 1H13v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V4h-.5a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1H6a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1h3.5a1 1 0 0 1 1 1v1zM4.118 4 4 4.059V13a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1V4.059L11.882 4H4.118zM2.5 3V2h11v1h-11z"})],-1)]),8,TgM))])],2),YM.value?(v(),R("div",zgM,[z("div",IgM,[z("div",null,[z("ol",cgM,[(v(!0),R(WM,null,et(FM.value.slice(0,4),vM=>(v(),R("li",{key:vM.ID+Math.random()*1e3,class:"flex w-full items-center"},[vM.ID===(gM==null?void 0:gM.managerReviewprof)?(v(),R("span",agM,[z("span",ggM,aM(vM.Slug),1)])):yM("",!0)]))),128))])])])])):yM("",!0),z("div",{class:yt(["w-1/3 pt-1 text-center text-xs",[YM.value?"hidden lg:block":""]])},[gM.addToMyPlan?(v(),R("div",ogM,[z("label",xgM,[Yt(z("input",{id:gM.skill_id,"onUpdate:modelValue":vM=>gM.myPlanRelevent=vM,disabled:gM.is_mandatory,type:"checkbox",onChange:vM=>IM("industrySkillarray",gM)},null,40,EgM),[[Yj,gM.myPlanRelevent]]),rM[73]||(rM[73]=z("div",{class:"slider round"},null,-1))])])):gM.addToMyPlanMessage?(v(),R("div",lgM,[z("i",OgM,aM(gM.addToMyPlanMessage),1)])):(v(),R("div",dgM,rM[74]||(rM[74]=[z("i",{class:"text-gray-400"},"Content not available",-1)])))],2)])):yM("",!0),gM!=null&&gM.subskill?(v(),R("div",wgM,[(v(!0),R(WM,null,et(TM(ej)(gM==null?void 0:gM.subskill.slice(0,3),"skill"),(vM,NL)=>(v(),R("tr",{key:NL,class:"-text-gray flex bg-white"},[gM.skillStatus&&vM.skillStatus?(v(),R("div",fgM,[PM(" - - "+aM(vM.skill)+" ",1),vM!=null&&vM.is_new?(v(),R("span",CgM,"(new)")):yM("",!0),vM!=null&&vM.tags&&(vM==null?void 0:vM.tags[0])==="CORE"?(v(),R("span",QgM,"(Critical Skill)")):yM("",!0),gM!=null&&gM.addatlistonesubskill?(v(),R("span",UgM,"Missing Proficiency")):yM("",!0)])):yM("",!0),gM.skillStatus&&vM.skillStatus?(v(),R("div",{key:1,class:yt([(YM.value,"w-1/2 pt-1 md:px-4 lg:px-4")])},[z("div",hgM,[rM[79]||(rM[79]=z("div",{class:"pl-6"},null,-1)),z("div",null,[z("ol",YgM,[(v(!0),R(WM,null,et(FM.value.slice(0,4),Ct=>(v(),R("li",{key:Ct.ID+Math.random()*1e3,class:"flex w-full items-center after:inline-block after:w-full after:content-['']"},[Ct.ID===vM.proficiencyId&&Ct.ID===vM.idealProficiencyId?(v(),R("span",{key:0,id:`skills-radio-${vM.skill_id}-${Ct.ID}`,class:"-border-gray-1 flex h-5 w-5 shrink-0 items-center justify-center overflow-hidden rounded text-white",onClick:eL=>Rt("industrySkillarray",vM.skill_id,Ct.ID)},[rM[75]||(rM[75]=z("span",{class:"-bg-aqua span-a2 flex"},null,-1)),z("span",kgM,aM(Ct.Slug),1),rM[76]||(rM[76]=z("span",{class:"-bg-blue span-b2 flex"},null,-1))],8,vgM)):(v(),R("span",{key:1,id:`skills-radio-${vM.skill_id}-${Ct.ID}`,class:yt([Ct.ID===vM.proficiencyId?"-bg-aqua -border-gray-1 relative flex h-5 w-5 shrink-0 items-center justify-center rounded text-white":Ct.ID===vM.idealProficiencyId?"-bg-blue -border-gray-1 relative flex h-5 w-5 shrink-0 items-center justify-center rounded text-white":"-bg-white -border-gray-1 relative flex h-5 w-5 shrink-0 items-center justify-center rounded text-gray-700"]),onClick:eL=>Rt("industrySkillarray",vM.skill_id,Ct.ID)},[z("span",mgM,aM(Ct.Slug),1)],10,pgM))]))),128))])]),vM.is_mandatory?(v(),R("div",bgM,rM[77]||(rM[77]=[z("svg",{xmlns:"http://www.w3.org/2000/svg",class:"h4bi bi-trash w-4 opacity-40",fill:"gray",viewBox:"0 0 16 16"},[z("path",{d:"M5.5 5.5A.5.5 0 0 1 6 6v6a.5.5 0 0 1-1 0V6a.5.5 0 0 1 .5-.5zm2.5 0a.5.5 0 0 1 .5.5v6a.5.5 0 0 1-1 0V6a.5.5 0 0 1 .5-.5zm3 .5a.5.5 0 0 0-1 0v6a.5.5 0 0 0 1 0V6z"}),z("path",{"fill-rule":"evenodd",d:"M14.5 3a1 1 0 0 1-1 1H13v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V4h-.5a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1H6a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1h3.5a1 1 0 0 1 1 1v1zM4.118 4 4 4.059V13a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1V4.059L11.882 4H4.118zM2.5 3V2h11v1h-11z"})],-1)]))):(v(),R("div",{key:1,id:"remove-sub-skill-"+(vM==null?void 0:vM.skill_id),class:"pl-4",onClick:Ct=>gL("industrySkillarray",vM==null?void 0:vM.skill_id,gM==null?void 0:gM.skill_id,(vM==null?void 0:vM.tags)&&(vM==null?void 0:vM.tags[0])==="CORE")},rM[78]||(rM[78]=[z("svg",{xmlns:"http://www.w3.org/2000/svg",class:"h4 pointer bi bi-trash w-4",fill:"gray",viewBox:"0 0 16 16"},[z("path",{d:"M5.5 5.5A.5.5 0 0 1 6 6v6a.5.5 0 0 1-1 0V6a.5.5 0 0 1 .5-.5zm2.5 0a.5.5 0 0 1 .5.5v6a.5.5 0 0 1-1 0V6a.5.5 0 0 1 .5-.5zm3 .5a.5.5 0 0 0-1 0v6a.5.5 0 0 0 1 0V6z"}),z("path",{"fill-rule":"evenodd",d:"M14.5 3a1 1 0 0 1-1 1H13v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V4h-.5a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1H6a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1h3.5a1 1 0 0 1 1 1v1zM4.118 4 4 4.059V13a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1V4.059L11.882 4H4.118zM2.5 3V2h11v1h-11z"})],-1)]),8,PgM))])],2)):yM("",!0),YM.value?(v(),R("div",{key:2,id:"mangerreview",class:yt([[YM.value?"hidden lg:block":""],"w-1/3 px-2 pt-1 md:w-1/4 md:px-4 lg:w-1/4 lg:px-4"])},null,2)):yM("",!0),rM[80]||(rM[80]=z("div",{class:"w-1/3 pt-1 text-xs"},null,-1))]))),128))])):yM("",!0),gM!=null&&gM.subskill&&(gM==null?void 0:gM.subskill.length)>3?(v(),R("div",RgM,[z("div",BgM,[z("button",{class:"-text-aqua inline-block",onClick:vM=>VM("industrySkillarray",gM)},"Click to view subskills ...",8,HgM)])])):yM("",!0)])):yM("",!0)]))),128)),G.value<=3&&x.value.length>3?(v(),R("tr",ZgM,[z("td",FgM,[z("button",{class:"-text-aqua inline-block",onClick:rM[11]||(rM[11]=gM=>lM("industrySkillarray",x.value.length))},"View more ...")])])):yM("",!0),G.value>3?(v(),R("tr",XgM,[z("td",GgM,[z("button",{class:"-text-aqua inline-block",onClick:rM[12]||(rM[12]=gM=>G.value=3)},"View less ...")])])):yM("",!0)])])):yM("",!0)])):(v(),R("div",WgM,"No skills found"))]),z("div",VgM,[z("div",JgM,[z("div",{onClick:rM[14]||(rM[14]=gM=>H.value=!H.value),class:"flex cursor-pointer items-center justify-between bg-gray-100 px-4 py-1 font-bold"},[rM[83]||(rM[83]=PM(" Functional Domain and Service Line ")),O.value.length&&bL.value?(v(),R("span",qgM,[H.value?(v(),R("svg",{key:1,onClick:rM[13]||(rM[13]=gM=>H.value=!H.value),class:"pointer ml-2 h-8 w-8 bg-white p-2 text-right font-bold text-black","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 18 18"},rM[82]||(rM[82]=[z("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"3",d:"M16 9l-7-7-7 7"},null,-1)]))):(v(),R("svg",KgM,rM[81]||(rM[81]=[z("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"3",d:"M2 9l7 7 7-7"},null,-1)])))])):yM("",!0)]),T.value?(v(),R("ul",_gM,rM[84]||(rM[84]=[z("li",null,"● (*)Skills - Recommended based on your role, pre- added to your profile.",-1),z("li",null,"● NEW - skills added on profile update.",-1),z("li",null,"● Proficiency definitions - Click info icon before BIPE for proficiency definitions for each skill.",-1)]))):yM("",!0)]),O.value.length&&bL.value?(v(),R("div",$gM,[H.value?(v(),R("table",MoM,[z("tbody",null,[(v(!0),R(WM,null,et(O.value.length>3?O.value.slice(0,W.value):O.value,(gM,lt)=>(v(),R("div",{key:lt,class:""},[gM.skillStatus?(v(),R("div",toM,[gM.skillStatus?(v(),R("tr",LoM,[z("div",joM,[PM(aM(gM.skill),1),gM.is_mandatory?(v(),R("sup",uoM,rM[85]||(rM[85]=[z("b",null,"*",-1)]))):yM("",!0),z("span",AoM,[gM.codered?(v(),R("span",NoM,"Missing Proficiency")):gM.subskillcodered?(v(),R("span",eoM,"Subskill Proficiency Missing")):yM("",!0)]),gM!=null&&gM.tags&&(gM==null?void 0:gM.tags[0])==="CORE"?(v(),R("span",ioM,"(Critical Skill)")):yM("",!0),gM.is_new?(v(),R("span",SoM,"(new)")):yM("",!0)]),z("div",{class:yt([(YM.value,"w-1/2 px-2 pt-1 md:px-4 lg:px-4")])},[z("div",yoM,[z("img",{class:"pointer h-4 w-4",src:vA,onClick:vM=>pL(gM.skill_id)},null,8,roM),z("div",null,[z("ol",noM,[(v(!0),R(WM,null,et(FM.value.slice(0,4),vM=>(v(),R("li",{key:vM.ID+Math.random()*1e3,class:"flex w-full items-center after:inline-block after:w-full after:content-['']"},[vM.ID===gM.proficiencyId&&vM.ID===gM.idealProficiencyId?(v(),R("span",{key:0,id:`skills-radio-${gM.skill_id}-${vM.ID}`,class:"-border-gray-1 flex h-5 w-5 shrink-0 items-center justify-center overflow-hidden rounded text-white",onClick:NL=>Qt("domainSkillarray",gM.skill_id,vM.ID)},[rM[86]||(rM[86]=z("span",{class:"-bg-aqua span-a2 flex"},null,-1)),z("span",soM,aM(vM.Slug),1),rM[87]||(rM[87]=z("span",{class:"-bg-blue span-b2 flex"},null,-1))],8,DoM)):(v(),R("span",{key:1,id:`skills-radio-${gM.skill_id}-${vM.ID}`,class:yt([vM.ID===gM.proficiencyId?"-bg-aqua -border-gray-1 relative flex h-5 w-5 shrink-0 items-center justify-center rounded text-white":vM.ID===gM.idealProficiencyId?"-bg-blue -border-gray-1 relative flex h-5 w-5 shrink-0 items-center justify-center rounded text-white":"-bg-white -border-gray-1 relative flex h-5 w-5 shrink-0 items-center justify-center rounded text-gray-700"]),onClick:NL=>Qt("domainSkillarray",gM.skill_id,vM.ID)},[z("span",zoM,aM(vM.Slug),1)],10,ToM))]))),128))])]),gM.is_mandatory?(v(),R("div",IoM,rM[88]||(rM[88]=[z("svg",{xmlns:"http://www.w3.org/2000/svg",class:"h4bi bi-trash w-4 opacity-40",fill:"gray",viewBox:"0 0 16 16"},[z("path",{d:"M5.5 5.5A.5.5 0 0 1 6 6v6a.5.5 0 0 1-1 0V6a.5.5 0 0 1 .5-.5zm2.5 0a.5.5 0 0 1 .5.5v6a.5.5 0 0 1-1 0V6a.5.5 0 0 1 .5-.5zm3 .5a.5.5 0 0 0-1 0v6a.5.5 0 0 0 1 0V6z"}),z("path",{"fill-rule":"evenodd",d:"M14.5 3a1 1 0 0 1-1 1H13v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V4h-.5a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1H6a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1h3.5a1 1 0 0 1 1 1v1zM4.118 4 4 4.059V13a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1V4.059L11.882 4H4.118zM2.5 3V2h11v1h-11z"})],-1)]))):(v(),R("div",{key:1,id:"remove-skill-"+gM.skill_id,class:"pl-4",onClick:vM=>uL("domainSkillarray",gM.skill_id,(gM==null?void 0:gM.tags)&&(gM==null?void 0:gM.tags[0])==="CORE")},rM[89]||(rM[89]=[z("svg",{xmlns:"http://www.w3.org/2000/svg",class:"h4 pointer bi bi-trash w-4",fill:"gray",viewBox:"0 0 16 16"},[z("path",{d:"M5.5 5.5A.5.5 0 0 1 6 6v6a.5.5 0 0 1-1 0V6a.5.5 0 0 1 .5-.5zm2.5 0a.5.5 0 0 1 .5.5v6a.5.5 0 0 1-1 0V6a.5.5 0 0 1 .5-.5zm3 .5a.5.5 0 0 0-1 0v6a.5.5 0 0 0 1 0V6z"}),z("path",{"fill-rule":"evenodd",d:"M14.5 3a1 1 0 0 1-1 1H13v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V4h-.5a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1H6a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1h3.5a1 1 0 0 1 1 1v1zM4.118 4 4 4.059V13a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1V4.059L11.882 4H4.118zM2.5 3V2h11v1h-11z"})],-1)]),8,coM))])],2),YM.value?(v(),R("div",aoM,[z("div",goM,[z("div",null,[z("ol",ooM,[(v(!0),R(WM,null,et(FM.value.slice(0,4),vM=>(v(),R("li",{key:vM.ID+Math.random()*1e3,class:"flex w-full items-center"},[vM.ID===(gM==null?void 0:gM.managerReviewprof)?(v(),R("span",xoM,[z("span",EoM,aM(vM.Slug),1)])):yM("",!0)]))),128))])])])])):yM("",!0),z("div",{class:yt(["w-1/3 pt-1 text-center text-xs",[YM.value?"hidden lg:block":""]])},[gM.addToMyPlan?(v(),R("div",loM,[z("label",OoM,[Yt(z("input",{id:gM.skill_id,"onUpdate:modelValue":vM=>gM.myPlanRelevent=vM,disabled:gM.is_mandatory,type:"checkbox",onChange:vM=>IM("domainSkillarray",gM)},null,40,doM),[[Yj,gM.myPlanRelevent]]),rM[90]||(rM[90]=z("div",{class:"slider round"},null,-1))])])):gM.addToMyPlanMessage?(v(),R("div",woM,[z("i",foM,aM(gM.addToMyPlanMessage),1)])):(v(),R("div",CoM,rM[91]||(rM[91]=[z("i",{class:"text-gray-400"},"Content not available",-1)])))],2)])):yM("",!0),gM!=null&&gM.subskill?(v(),R("div",QoM,[(v(!0),R(WM,null,et(TM(ej)(gM==null?void 0:gM.subskill.slice(0,3),"skill"),(vM,NL)=>(v(),R("tr",{key:NL,class:"-text-gray flex bg-white"},[gM.skillStatus&&vM.skillStatus?(v(),R("div",UoM,[PM(" - - "+aM(vM.skill)+" ",1),vM!=null&&vM.is_new?(v(),R("span",hoM,"(new)")):yM("",!0),vM!=null&&vM.tags&&(vM==null?void 0:vM.tags[0])==="CORE"?(v(),R("span",YoM,"(Critical Skill)")):yM("",!0),gM!=null&&gM.addatlistonesubskill?(v(),R("span",voM,"Missing Proficiency")):yM("",!0)])):yM("",!0),gM.skillStatus&&vM.skillStatus?(v(),R("div",{key:1,class:yt([(YM.value,"w-1/2 pt-1 md:px-4 lg:px-4")])},[z("div",koM,[rM[96]||(rM[96]=z("div",{class:"pl-6"},null,-1)),z("div",null,[z("ol",poM,[(v(!0),R(WM,null,et(FM.value.slice(0,4),Ct=>(v(),R("li",{key:Ct.ID+Math.random()*1e3,class:"flex w-full items-center after:inline-block after:w-full after:content-['']"},[Ct.ID===vM.proficiencyId&&Ct.ID===vM.idealProficiencyId?(v(),R("span",{key:0,id:`skills-radio-${vM.skill_id}-${Ct.ID}`,class:"-border-gray-1 flex h-5 w-5 shrink-0 items-center justify-center overflow-hidden rounded text-white",onClick:eL=>Rt("domainSkillarray",vM.skill_id,Ct.ID)},[rM[92]||(rM[92]=z("span",{class:"-bg-aqua span-a2 flex"},null,-1)),z("span",boM,aM(Ct.Slug),1),rM[93]||(rM[93]=z("span",{class:"-bg-blue span-b2 flex"},null,-1))],8,moM)):(v(),R("span",{key:1,id:`skills-radio-${vM.skill_id}-${Ct.ID}`,class:yt([Ct.ID===vM.proficiencyId?"-bg-aqua -border-gray-1 relative flex h-5 w-5 shrink-0 items-center justify-center rounded text-white":Ct.ID===vM.idealProficiencyId?"-bg-blue -border-gray-1 relative flex h-5 w-5 shrink-0 items-center justify-center rounded text-white":"-bg-white -border-gray-1 relative flex h-5 w-5 shrink-0 items-center justify-center rounded text-gray-700"]),onClick:eL=>Rt("domainSkillarray",vM.skill_id,Ct.ID)},[z("span",RoM,aM(Ct.Slug),1)],10,PoM))]))),128))])]),vM.is_mandatory?(v(),R("div",BoM,rM[94]||(rM[94]=[z("svg",{xmlns:"http://www.w3.org/2000/svg",class:"h4bi bi-trash w-4 opacity-40",fill:"gray",viewBox:"0 0 16 16"},[z("path",{d:"M5.5 5.5A.5.5 0 0 1 6 6v6a.5.5 0 0 1-1 0V6a.5.5 0 0 1 .5-.5zm2.5 0a.5.5 0 0 1 .5.5v6a.5.5 0 0 1-1 0V6a.5.5 0 0 1 .5-.5zm3 .5a.5.5 0 0 0-1 0v6a.5.5 0 0 0 1 0V6z"}),z("path",{"fill-rule":"evenodd",d:"M14.5 3a1 1 0 0 1-1 1H13v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V4h-.5a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1H6a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1h3.5a1 1 0 0 1 1 1v1zM4.118 4 4 4.059V13a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1V4.059L11.882 4H4.118zM2.5 3V2h11v1h-11z"})],-1)]))):(v(),R("div",{key:1,id:"remove-sub-skill-"+(vM==null?void 0:vM.skill_id),class:"pl-4",onClick:Ct=>gL("domainSkillarray",vM==null?void 0:vM.skill_id,gM==null?void 0:gM.skill_id,(vM==null?void 0:vM.tags)&&(vM==null?void 0:vM.tags[0])==="CORE")},rM[95]||(rM[95]=[z("svg",{xmlns:"http://www.w3.org/2000/svg",class:"h4 pointer bi bi-trash w-4",fill:"gray",viewBox:"0 0 16 16"},[z("path",{d:"M5.5 5.5A.5.5 0 0 1 6 6v6a.5.5 0 0 1-1 0V6a.5.5 0 0 1 .5-.5zm2.5 0a.5.5 0 0 1 .5.5v6a.5.5 0 0 1-1 0V6a.5.5 0 0 1 .5-.5zm3 .5a.5.5 0 0 0-1 0v6a.5.5 0 0 0 1 0V6z"}),z("path",{"fill-rule":"evenodd",d:"M14.5 3a1 1 0 0 1-1 1H13v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V4h-.5a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1H6a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1h3.5a1 1 0 0 1 1 1v1zM4.118 4 4 4.059V13a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1V4.059L11.882 4H4.118zM2.5 3V2h11v1h-11z"})],-1)]),8,HoM))])],2)):yM("",!0),YM.value?(v(),R("div",{key:2,id:"mangerreview",class:yt([[YM.value?"hidden lg:block":""],"w-1/3 px-2 pt-1 md:w-1/4 md:px-4 lg:w-1/4 lg:px-4"])},null,2)):yM("",!0),rM[97]||(rM[97]=z("div",{class:"w-1/3 pt-1 text-xs"},null,-1))]))),128))])):yM("",!0),gM!=null&&gM.subskill&&(gM==null?void 0:gM.subskill.length)>3?(v(),R("div",ZoM,[z("div",FoM,[z("button",{class:"-text-aqua inline-block",onClick:vM=>VM("domainSkillarray",gM)},"Click to view subskills ...",8,XoM)])])):yM("",!0)])):yM("",!0)]))),128)),W.value<=3&&O.value.length>3?(v(),R("tr",GoM,[z("td",WoM,[z("button",{class:"-text-aqua inline-block",onClick:rM[15]||(rM[15]=gM=>lM("domainSkillarray",O.value.length))},"View more ...")])])):yM("",!0),W.value>3?(v(),R("tr",VoM,[z("td",JoM,[z("button",{class:"-text-aqua inline-block",onClick:rM[16]||(rM[16]=gM=>W.value=3)},"View less ...")])])):yM("",!0)])])):yM("",!0)])):(v(),R("div",qoM,"No skills found"))]),z("div",KoM,[z("div",_oM,[z("div",{onClick:rM[18]||(rM[18]=gM=>P.value=!P.value),class:"flex cursor-pointer items-center justify-between bg-gray-100 px-4 py-1 font-bold"},[rM[100]||(rM[100]=PM(" Digital ")),l.value.length&&zL.value?(v(),R("span",$oM,[P.value?(v(),R("svg",{key:1,onClick:rM[17]||(rM[17]=gM=>P.value=!P.value),class:"pointer ml-2 h-8 w-8 bg-white p-2 text-right font-bold text-black","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 18 18"},rM[99]||(rM[99]=[z("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"3",d:"M16 9l-7-7-7 7"},null,-1)]))):(v(),R("svg",MxM,rM[98]||(rM[98]=[z("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"3",d:"M2 9l7 7 7-7"},null,-1)])))])):yM("",!0)]),c.value?(v(),R("ul",txM,rM[101]||(rM[101]=[z("li",null,"● (*)Skills - Recommended based on your role, pre- added to your profile.",-1),z("li",null,"● NEW - skills added on profile update.",-1),z("li",null,"● Proficiency definitions - Click info icon before BIPE for proficiency definitions for each skill.",-1)]))):yM("",!0)]),l.value.length&&zL.value?(v(),R("div",LxM,[P.value?(v(),R("table",jxM,[z("tbody",null,[(v(!0),R(WM,null,et(l.value.length>3?l.value.slice(0,MM.value):l.value,(gM,lt)=>(v(),R("div",{key:lt,class:""},[gM.skillStatus?(v(),R("div",uxM,[gM.skillStatus?(v(),R("tr",AxM,[z("div",NxM,[PM(aM(gM.skill),1),gM.is_mandatory?(v(),R("sup",exM,rM[102]||(rM[102]=[z("b",null,"*",-1)]))):yM("",!0),z("span",ixM,[gM.codered?(v(),R("span",SxM,"Missing Proficiency")):gM.subskillcodered?(v(),R("span",yxM,"Subskill Proficiency Missing")):yM("",!0)]),gM!=null&&gM.tags&&(gM==null?void 0:gM.tags[0])==="CORE"?(v(),R("span",rxM,"(Critical Skill)")):yM("",!0),gM.is_new?(v(),R("span",nxM,"(new)")):yM("",!0)]),z("div",{class:yt([(YM.value,"w-1/2 px-2 pt-1 md:px-4 lg:px-4")])},[z("div",DxM,[z("img",{class:"pointer h-4 w-4",src:vA,onClick:vM=>pL(gM.skill_id)},null,8,sxM),z("div",null,[z("ol",TxM,[(v(!0),R(WM,null,et(FM.value.slice(0,4),vM=>(v(),R("li",{key:vM.ID+Math.random()*1e3,class:"flex w-full items-center after:inline-block after:w-full after:content-['']"},[vM.ID===gM.proficiencyId&&vM.ID===gM.idealProficiencyId?(v(),R("span",{key:0,id:`skills-radio-${gM.skill_id}-${vM.ID}`,class:"-border-gray-1 flex h-5 w-5 shrink-0 items-center justify-center overflow-hidden rounded text-white",onClick:NL=>Qt("digitalSkillarray",gM.skill_id,vM.ID)},[rM[103]||(rM[103]=z("span",{class:"-bg-aqua span-a2 flex"},null,-1)),z("span",IxM,aM(vM.Slug),1),rM[104]||(rM[104]=z("span",{class:"-bg-blue span-b2 flex"},null,-1))],8,zxM)):(v(),R("span",{key:1,id:`skills-radio-${gM.skill_id}-${vM.ID}`,class:yt([vM.ID===gM.proficiencyId?"-bg-aqua -border-gray-1 relative flex h-5 w-5 shrink-0 items-center justify-center rounded text-white":vM.ID===gM.idealProficiencyId?"-bg-blue -border-gray-1 relative flex h-5 w-5 shrink-0 items-center justify-center rounded text-white":"-bg-white -border-gray-1 relative flex h-5 w-5 shrink-0 items-center justify-center rounded text-gray-700"]),onClick:NL=>Qt("digitalSkillarray",gM.skill_id,vM.ID)},[z("span",axM,aM(vM.Slug),1)],10,cxM))]))),128))])]),gM.is_mandatory?(v(),R("div",gxM,rM[105]||(rM[105]=[z("svg",{xmlns:"http://www.w3.org/2000/svg",class:"h4bi bi-trash w-4 opacity-40",fill:"gray",viewBox:"0 0 16 16"},[z("path",{d:"M5.5 5.5A.5.5 0 0 1 6 6v6a.5.5 0 0 1-1 0V6a.5.5 0 0 1 .5-.5zm2.5 0a.5.5 0 0 1 .5.5v6a.5.5 0 0 1-1 0V6a.5.5 0 0 1 .5-.5zm3 .5a.5.5 0 0 0-1 0v6a.5.5 0 0 0 1 0V6z"}),z("path",{"fill-rule":"evenodd",d:"M14.5 3a1 1 0 0 1-1 1H13v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V4h-.5a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1H6a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1h3.5a1 1 0 0 1 1 1v1zM4.118 4 4 4.059V13a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1V4.059L11.882 4H4.118zM2.5 3V2h11v1h-11z"})],-1)]))):(v(),R("div",{key:1,id:"remove-skill-"+gM.skill_id,class:"pl-4",onClick:vM=>uL("digitalSkillarray",gM.skill_id,(gM==null?void 0:gM.tags)&&(gM==null?void 0:gM.tags[0])==="CORE")},rM[106]||(rM[106]=[z("svg",{xmlns:"http://www.w3.org/2000/svg",class:"h4 pointer bi bi-trash w-4",fill:"gray",viewBox:"0 0 16 16"},[z("path",{d:"M5.5 5.5A.5.5 0 0 1 6 6v6a.5.5 0 0 1-1 0V6a.5.5 0 0 1 .5-.5zm2.5 0a.5.5 0 0 1 .5.5v6a.5.5 0 0 1-1 0V6a.5.5 0 0 1 .5-.5zm3 .5a.5.5 0 0 0-1 0v6a.5.5 0 0 0 1 0V6z"}),z("path",{"fill-rule":"evenodd",d:"M14.5 3a1 1 0 0 1-1 1H13v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V4h-.5a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1H6a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1h3.5a1 1 0 0 1 1 1v1zM4.118 4 4 4.059V13a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1V4.059L11.882 4H4.118zM2.5 3V2h11v1h-11z"})],-1)]),8,oxM))])],2),YM.value?(v(),R("div",xxM,[z("div",ExM,[z("div",null,[z("ol",lxM,[(v(!0),R(WM,null,et(FM.value.slice(0,4),vM=>(v(),R("li",{key:vM.ID+Math.random()*1e3,class:"flex w-full items-center"},[vM.ID===(gM==null?void 0:gM.managerReviewprof)?(v(),R("span",OxM,[z("span",dxM,aM(vM.Slug),1)])):yM("",!0)]))),128))])])])])):yM("",!0),z("div",{class:yt(["w-1/3 pt-1 text-center text-xs",[YM.value?"hidden lg:block":""]])},[gM.addToMyPlan?(v(),R("div",wxM,[z("label",fxM,[Yt(z("input",{id:gM.skill_id,"onUpdate:modelValue":vM=>gM.myPlanRelevent=vM,disabled:gM.is_mandatory,type:"checkbox",onChange:vM=>IM("digitalSkillarray",gM)},null,40,CxM),[[Yj,gM.myPlanRelevent]]),rM[107]||(rM[107]=z("div",{class:"slider round"},null,-1))])])):gM.addToMyPlanMessage?(v(),R("div",QxM,[z("i",UxM,aM(gM.addToMyPlanMessage),1)])):(v(),R("div",hxM,rM[108]||(rM[108]=[z("i",{class:"text-gray-400"},"Content not available",-1)])))],2)])):yM("",!0),gM!=null&&gM.subskill?(v(),R("div",YxM,[(v(!0),R(WM,null,et(TM(ej)(gM==null?void 0:gM.subskill.slice(0,3),"skill"),(vM,NL)=>(v(),R("tr",{key:NL,class:"-text-gray flex bg-white"},[gM.skillStatus&&vM.skillStatus?(v(),R("div",vxM,[PM(" - - "+aM(vM.skill)+" ",1),vM!=null&&vM.is_new?(v(),R("span",kxM,"(new)")):yM("",!0),vM!=null&&vM.tags&&(vM==null?void 0:vM.tags[0])==="CORE"?(v(),R("span",pxM,"(Critical Skill)")):yM("",!0),gM!=null&&gM.addatlistonesubskill?(v(),R("span",mxM,"Missing Proficiency")):yM("",!0)])):yM("",!0),gM.skillStatus&&vM.skillStatus?(v(),R("div",{key:1,class:yt([(YM.value,"w-1/2 pt-1 md:px-4 lg:px-4")])},[z("div",bxM,[rM[113]||(rM[113]=z("div",{class:"pl-6"},null,-1)),z("div",null,[z("ol",PxM,[(v(!0),R(WM,null,et(FM.value.slice(0,4),Ct=>(v(),R("li",{key:Ct.ID+Math.random()*1e3,class:"flex w-full items-center after:inline-block after:w-full after:content-['']"},[Ct.ID===vM.proficiencyId&&Ct.ID===vM.idealProficiencyId?(v(),R("span",{key:0,id:`skills-radio-${vM.skill_id}-${Ct.ID}`,class:"-border-gray-1 flex h-5 w-5 shrink-0 items-center justify-center overflow-hidden rounded text-white",onClick:eL=>Rt("digitalSkillarray",vM.skill_id,Ct.ID)},[rM[109]||(rM[109]=z("span",{class:"-bg-aqua span-a2 flex"},null,-1)),z("span",BxM,aM(Ct.Slug),1),rM[110]||(rM[110]=z("span",{class:"-bg-blue span-b2 flex"},null,-1))],8,RxM)):(v(),R("span",{key:1,id:`skills-radio-${vM.skill_id}-${Ct.ID}`,class:yt([Ct.ID===vM.proficiencyId?"-bg-aqua -border-gray-1 relative flex h-5 w-5 shrink-0 items-center justify-center rounded text-white":Ct.ID===vM.idealProficiencyId?"-bg-blue -border-gray-1 relative flex h-5 w-5 shrink-0 items-center justify-center rounded text-white":"-bg-white -border-gray-1 relative flex h-5 w-5 shrink-0 items-center justify-center rounded text-gray-700"]),onClick:eL=>Rt("digitalSkillarray",vM.skill_id,Ct.ID)},[z("span",ZxM,aM(Ct.Slug),1)],10,HxM))]))),128))])]),vM.is_mandatory?(v(),R("div",FxM,rM[111]||(rM[111]=[z("svg",{xmlns:"http://www.w3.org/2000/svg",class:"h4bi bi-trash w-4 opacity-40",fill:"gray",viewBox:"0 0 16 16"},[z("path",{d:"M5.5 5.5A.5.5 0 0 1 6 6v6a.5.5 0 0 1-1 0V6a.5.5 0 0 1 .5-.5zm2.5 0a.5.5 0 0 1 .5.5v6a.5.5 0 0 1-1 0V6a.5.5 0 0 1 .5-.5zm3 .5a.5.5 0 0 0-1 0v6a.5.5 0 0 0 1 0V6z"}),z("path",{"fill-rule":"evenodd",d:"M14.5 3a1 1 0 0 1-1 1H13v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V4h-.5a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1H6a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1h3.5a1 1 0 0 1 1 1v1zM4.118 4 4 4.059V13a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1V4.059L11.882 4H4.118zM2.5 3V2h11v1h-11z"})],-1)]))):(v(),R("div",{key:1,id:"remove-sub-skill-"+(vM==null?void 0:vM.skill_id),class:"pl-4",onClick:Ct=>gL("digitalSkillarray",vM==null?void 0:vM.skill_id,gM==null?void 0:gM.skill_id,(vM==null?void 0:vM.tags)&&(vM==null?void 0:vM.tags[0])==="CORE")},rM[112]||(rM[112]=[z("svg",{xmlns:"http://www.w3.org/2000/svg",class:"h4 pointer bi bi-trash w-4",fill:"gray",viewBox:"0 0 16 16"},[z("path",{d:"M5.5 5.5A.5.5 0 0 1 6 6v6a.5.5 0 0 1-1 0V6a.5.5 0 0 1 .5-.5zm2.5 0a.5.5 0 0 1 .5.5v6a.5.5 0 0 1-1 0V6a.5.5 0 0 1 .5-.5zm3 .5a.5.5 0 0 0-1 0v6a.5.5 0 0 0 1 0V6z"}),z("path",{"fill-rule":"evenodd",d:"M14.5 3a1 1 0 0 1-1 1H13v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V4h-.5a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1H6a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1h3.5a1 1 0 0 1 1 1v1zM4.118 4 4 4.059V13a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1V4.059L11.882 4H4.118zM2.5 3V2h11v1h-11z"})],-1)]),8,XxM))])],2)):yM("",!0),YM.value?(v(),R("div",{key:2,class:yt([[YM.value?"hidden lg:block":""],"w-1/3 px-2 pt-1 md:w-1/4 md:px-4 lg:w-1/4 lg:px-4"]),id:"mangerreview"},null,2)):yM("",!0),rM[114]||(rM[114]=z("div",{class:"w-1/3 pt-1 text-xs"},null,-1))]))),128))])):yM("",!0),gM!=null&&gM.subskill&&(gM==null?void 0:gM.subskill.length)>3?(v(),R("div",GxM,[z("div",WxM,[z("button",{class:"-text-aqua inline-block",onClick:vM=>VM("digitalSkillarray",gM)},"Click to view subskills ...",8,VxM)])])):yM("",!0)])):yM("",!0)]))),128)),MM.value<=3&&l.value.length>3?(v(),R("tr",JxM,[z("td",qxM,[z("button",{class:"-text-aqua inline-block",onClick:rM[19]||(rM[19]=gM=>lM("digitalSkillarray",l.value.length))},"View more ...")])])):yM("",!0),MM.value>3?(v(),R("tr",KxM,[z("td",_xM,[z("button",{class:"-text-aqua inline-block",onClick:rM[20]||(rM[20]=gM=>MM.value=3)},"View less ...")])])):yM("",!0)])])):yM("",!0)])):(v(),R("div",$xM,"No skills found"))]),z("div",MEM,[z("div",tEM,[z("div",{onClick:rM[22]||(rM[22]=gM=>J.value=!J.value),class:"flex cursor-pointer items-center justify-between bg-gray-100 px-4 py-1 font-bold"},[rM[117]||(rM[117]=PM(" Professional ")),d.value.length&&HM.value?(v(),R("span",LEM,[J.value?(v(),R("svg",{key:1,onClick:rM[21]||(rM[21]=gM=>J.value=!J.value),class:"pointer ml-2 h-8 w-8 bg-white p-2 text-right font-bold text-black","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 18 18"},rM[116]||(rM[116]=[z("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"3",d:"M16 9l-7-7-7 7"},null,-1)]))):(v(),R("svg",jEM,rM[115]||(rM[115]=[z("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"3",d:"M2 9l7 7 7-7"},null,-1)])))])):yM("",!0)]),a.value?(v(),R("ul",uEM,rM[118]||(rM[118]=[z("li",null,"● (*)Skills - Recommended based on your role, pre- added to your profile.",-1),z("li",null,"● NEW - skills added on profile update.",-1),z("li",null,"● Proficiency definitions - Click info icon before BIPE for proficiency definitions for each skill.",-1)]))):yM("",!0)]),d.value.length&&HM.value?(v(),R("div",AEM,[J.value?(v(),R("table",NEM,[z("tbody",null,[(v(!0),R(WM,null,et(d.value.length>3?d.value.slice(0,Z.value):d.value,(gM,lt)=>(v(),R("div",{key:lt,class:""},[gM.skillStatus?(v(),R("div",eEM,[gM.skillStatus?(v(),R("tr",iEM,[z("div",SEM,[PM(aM(gM.skill),1),gM.is_mandatory?(v(),R("sup",yEM,rM[119]||(rM[119]=[z("b",null,"*",-1)]))):yM("",!0),z("span",rEM,[gM.codered?(v(),R("span",nEM,"Missing Proficiency")):gM.subskillcodered?(v(),R("span",DEM,"Subskill Proficiency Missing")):yM("",!0)]),gM!=null&&gM.tags&&(gM==null?void 0:gM.tags[0])==="CORE"?(v(),R("span",sEM,"(Critical Skill)")):yM("",!0),gM.is_new?(v(),R("span",TEM,"(new)")):yM("",!0)]),z("div",{class:yt([(YM.value,"w-1/2 px-2 pt-1 md:px-4 lg:px-4")])},[z("div",zEM,[z("img",{class:"pointer h-4 w-4",src:vA,onClick:vM=>pL(gM.skill_id)},null,8,IEM),z("div",null,[z("ol",cEM,[(v(!0),R(WM,null,et(FM.value.slice(0,4),vM=>(v(),R("li",{key:vM.ID+Math.random()*1e3,class:"flex w-full items-center after:inline-block after:w-full after:content-['']"},[vM.ID===gM.proficiencyId&&vM.ID===gM.idealProficiencyId?(v(),R("span",{key:0,id:`skills-radio-${gM.skill_id}-${vM.ID}`,class:"-border-gray-1 flex h-5 w-5 shrink-0 items-center justify-center overflow-hidden rounded text-white",onClick:NL=>Qt("profSkillarray",gM.skill_id,vM.ID)},[rM[120]||(rM[120]=z("span",{class:"-bg-aqua span-a2 flex"},null,-1)),z("span",gEM,aM(vM.Slug),1),rM[121]||(rM[121]=z("span",{class:"-bg-blue span-b2 flex"},null,-1))],8,aEM)):(v(),R("span",{key:1,id:`skills-radio-${gM.skill_id}-${vM.ID}`,class:yt([vM.ID===gM.proficiencyId?"-bg-aqua -border-gray-1 relative flex h-5 w-5 shrink-0 items-center justify-center rounded text-white":vM.ID===gM.idealProficiencyId?"-bg-blue -border-gray-1 relative flex h-5 w-5 shrink-0 items-center justify-center rounded text-white":"-bg-white -border-gray-1 relative flex h-5 w-5 shrink-0 items-center justify-center rounded text-gray-700"]),onClick:NL=>Qt("profSkillarray",gM.skill_id,vM.ID)},[z("span",xEM,aM(vM.Slug),1)],10,oEM))]))),128))])]),gM.is_mandatory?(v(),R("div",EEM,rM[122]||(rM[122]=[z("svg",{xmlns:"http://www.w3.org/2000/svg",class:"h4bi bi-trash w-4 opacity-40",fill:"gray",viewBox:"0 0 16 16"},[z("path",{d:"M5.5 5.5A.5.5 0 0 1 6 6v6a.5.5 0 0 1-1 0V6a.5.5 0 0 1 .5-.5zm2.5 0a.5.5 0 0 1 .5.5v6a.5.5 0 0 1-1 0V6a.5.5 0 0 1 .5-.5zm3 .5a.5.5 0 0 0-1 0v6a.5.5 0 0 0 1 0V6z"}),z("path",{"fill-rule":"evenodd",d:"M14.5 3a1 1 0 0 1-1 1H13v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V4h-.5a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1H6a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1h3.5a1 1 0 0 1 1 1v1zM4.118 4 4 4.059V13a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1V4.059L11.882 4H4.118zM2.5 3V2h11v1h-11z"})],-1)]))):(v(),R("div",{key:1,id:"remove-skill-"+gM.skill_id,class:"pl-4",onClick:vM=>uL("profSkillarray",gM.skill_id,(gM==null?void 0:gM.tags)&&(gM==null?void 0:gM.tags[0])==="CORE")},rM[123]||(rM[123]=[z("svg",{xmlns:"http://www.w3.org/2000/svg",class:"h4 pointer bi bi-trash w-4",fill:"gray",viewBox:"0 0 16 16"},[z("path",{d:"M5.5 5.5A.5.5 0 0 1 6 6v6a.5.5 0 0 1-1 0V6a.5.5 0 0 1 .5-.5zm2.5 0a.5.5 0 0 1 .5.5v6a.5.5 0 0 1-1 0V6a.5.5 0 0 1 .5-.5zm3 .5a.5.5 0 0 0-1 0v6a.5.5 0 0 0 1 0V6z"}),z("path",{"fill-rule":"evenodd",d:"M14.5 3a1 1 0 0 1-1 1H13v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V4h-.5a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1H6a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1h3.5a1 1 0 0 1 1 1v1zM4.118 4 4 4.059V13a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1V4.059L11.882 4H4.118zM2.5 3V2h11v1h-11z"})],-1)]),8,lEM))])],2),YM.value?(v(),R("div",OEM,[z("div",dEM,[z("div",null,[z("ol",wEM,[(v(!0),R(WM,null,et(FM.value.slice(0,4),vM=>(v(),R("li",{key:vM.ID+Math.random()*1e3,class:"flex w-full items-center"},[vM.ID===(gM==null?void 0:gM.managerReviewprof)?(v(),R("span",fEM,[z("span",CEM,aM(vM.Slug),1)])):yM("",!0)]))),128))])])])])):yM("",!0),z("div",{class:yt(["w-1/3 pt-1 text-center text-xs",[YM.value?"hidden lg:block":""]])},[gM.addToMyPlan?(v(),R("div",QEM,[z("label",UEM,[Yt(z("input",{id:gM.skill_id,"onUpdate:modelValue":vM=>gM.myPlanRelevent=vM,disabled:gM.is_mandatory,type:"checkbox",onChange:vM=>IM("profSkillarray",gM)},null,40,hEM),[[Yj,gM.myPlanRelevent]]),z("div",{class:yt([[gM.is_mandatory?"bgslider":null],"slider round"])},null,2)])])):gM.addToMyPlanMessage?(v(),R("div",YEM,[z("i",vEM,aM(gM.addToMyPlanMessage),1)])):(v(),R("div",kEM,rM[124]||(rM[124]=[z("i",{class:"text-gray-400"},"Content not available",-1)])))],2)])):yM("",!0),gM!=null&&gM.subskill?(v(),R("div",pEM,[(v(!0),R(WM,null,et(TM(ej)(gM==null?void 0:gM.subskill.slice(0,3),"skill"),(vM,NL)=>(v(),R("tr",{key:NL,class:"-text-gray flex bg-white"},[gM.skillStatus&&vM.skillStatus?(v(),R("div",mEM,[PM(" - - "+aM(vM.skill)+" ",1),vM!=null&&vM.is_new?(v(),R("span",bEM,"(new)")):yM("",!0),vM!=null&&vM.tags&&(vM==null?void 0:vM.tags[0])==="CORE"?(v(),R("span",PEM,"(Critical Skill)")):yM("",!0),gM!=null&&gM.addatlistonesubskill?(v(),R("span",REM,"Missing Proficiency")):yM("",!0)])):yM("",!0),gM.skillStatus&&vM.skillStatus?(v(),R("div",{key:1,class:yt([(YM.value,"w-1/2 pt-1 md:px-4 lg:px-4")])},[z("div",BEM,[rM[129]||(rM[129]=z("div",{class:"pl-6"},null,-1)),z("div",null,[z("ol",HEM,[(v(!0),R(WM,null,et(FM.value.slice(0,4),Ct=>(v(),R("li",{key:Ct.ID+Math.random()*1e3,class:"flex w-full items-center after:inline-block after:w-full after:content-['']"},[Ct.ID===vM.proficiencyId&&Ct.ID===vM.idealProficiencyId?(v(),R("span",{key:0,id:`skills-radio-${vM.skill_id}-${Ct.ID}`,class:"-border-gray-1 flex h-5 w-5 shrink-0 items-center justify-center overflow-hidden rounded text-white",onClick:eL=>Rt("profSkillarray",vM.skill_id,Ct.ID)},[rM[125]||(rM[125]=z("span",{class:"-bg-aqua span-a2 flex"},null,-1)),z("span",FEM,aM(Ct.Slug),1),rM[126]||(rM[126]=z("span",{class:"-bg-blue span-b2 flex"},null,-1))],8,ZEM)):(v(),R("span",{key:1,id:`skills-radio-${vM.skill_id}-${Ct.ID}`,class:yt([Ct.ID===vM.proficiencyId?"-bg-aqua -border-gray-1 relative flex h-5 w-5 shrink-0 items-center justify-center rounded text-white":Ct.ID===vM.idealProficiencyId?"-bg-blue -border-gray-1 relative flex h-5 w-5 shrink-0 items-center justify-center rounded text-white":"-bg-white -border-gray-1 relative flex h-5 w-5 shrink-0 items-center justify-center rounded text-gray-700"]),onClick:eL=>Rt("profSkillarray",vM.skill_id,Ct.ID)},[z("span",GEM,aM(Ct.Slug),1)],10,XEM))]))),128))])]),vM.is_mandatory?(v(),R("div",WEM,rM[127]||(rM[127]=[z("svg",{xmlns:"http://www.w3.org/2000/svg",class:"h4bi bi-trash w-4 opacity-40",fill:"gray",viewBox:"0 0 16 16"},[z("path",{d:"M5.5 5.5A.5.5 0 0 1 6 6v6a.5.5 0 0 1-1 0V6a.5.5 0 0 1 .5-.5zm2.5 0a.5.5 0 0 1 .5.5v6a.5.5 0 0 1-1 0V6a.5.5 0 0 1 .5-.5zm3 .5a.5.5 0 0 0-1 0v6a.5.5 0 0 0 1 0V6z"}),z("path",{"fill-rule":"evenodd",d:"M14.5 3a1 1 0 0 1-1 1H13v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V4h-.5a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1H6a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1h3.5a1 1 0 0 1 1 1v1zM4.118 4 4 4.059V13a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1V4.059L11.882 4H4.118zM2.5 3V2h11v1h-11z"})],-1)]))):(v(),R("div",{key:1,id:"remove-sub-skill-"+(vM==null?void 0:vM.skill_id),class:"pl-4",onClick:Ct=>gL("profSkillarray",vM==null?void 0:vM.skill_id,gM==null?void 0:gM.skill_id,(vM==null?void 0:vM.tags)&&(vM==null?void 0:vM.tags[0])==="CORE")},rM[128]||(rM[128]=[z("svg",{xmlns:"http://www.w3.org/2000/svg",class:"h4 pointer bi bi-trash w-4",fill:"gray",viewBox:"0 0 16 16"},[z("path",{d:"M5.5 5.5A.5.5 0 0 1 6 6v6a.5.5 0 0 1-1 0V6a.5.5 0 0 1 .5-.5zm2.5 0a.5.5 0 0 1 .5.5v6a.5.5 0 0 1-1 0V6a.5.5 0 0 1 .5-.5zm3 .5a.5.5 0 0 0-1 0v6a.5.5 0 0 0 1 0V6z"}),z("path",{"fill-rule":"evenodd",d:"M14.5 3a1 1 0 0 1-1 1H13v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V4h-.5a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1H6a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1h3.5a1 1 0 0 1 1 1v1zM4.118 4 4 4.059V13a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1V4.059L11.882 4H4.118zM2.5 3V2h11v1h-11z"})],-1)]),8,VEM))])],2)):yM("",!0),YM.value?(v(),R("div",{key:2,id:"mangerreview",class:yt([[YM.value?"hidden lg:block":""],"w-1/3 px-2 pt-1 md:w-1/4 md:px-4 lg:w-1/4 lg:px-4"])},null,2)):yM("",!0),rM[130]||(rM[130]=z("div",{class:"w-1/3 pt-1 text-xs"},null,-1))]))),128))])):yM("",!0),gM!=null&&gM.subskill&&(gM==null?void 0:gM.subskill.length)>3?(v(),R("div",JEM,[z("div",qEM,[z("button",{class:"-text-aqua inline-block",onClick:vM=>VM("profSkillarray",gM)},"Click to view subskills ...",8,KEM)])])):yM("",!0)])):yM("",!0)]))),128)),Z.value<=3&&d.value.length>3?(v(),R("tr",_EM,[z("td",$EM,[z("button",{class:"-text-aqua inline-block",onClick:rM[23]||(rM[23]=gM=>lM("profSkillarray",d.value.length))},"View more ...")])])):yM("",!0),Z.value>3?(v(),R("tr",MlM,[z("td",tlM,[z("button",{class:"-text-aqua inline-block",onClick:rM[24]||(rM[24]=gM=>Z.value=3)},"View less ...")])])):yM("",!0)])])):yM("",!0)])):(v(),R("div",LlM,"No skills found"))])])])])]),rM[131]||(rM[131]=z("div",{id:"skilluploadidmyplan"},null,-1)),D.value&&!nM.value||r.value&&!nM.value?(v(),R("div",jlM,[z("div",ulM,[eM.value===!0?(v(),R("div",AlM,[iM.value?yM("",!0):(v(),R("button",{key:0,class:"-border-blue-1 -bg-blue mr-2 inline-block px-4 py-1.5 text-sm text-white",onClick:rM[25]||(rM[25]=gM=>(It(),_M()))},"Submit")),iM.value?(v(),R("button",{key:1,class:"-border-blue-1 -bg-blue mr-2 inline-block px-4 py-1.5 text-sm text-white",onClick:rM[26]||(rM[26]=gM=>(GM(),_M()))},"Submit")):yM("",!0)])):(v(),R("div",NlM,[z("button",{class:"mt-1 inline-block cursor-pointer bg-genpact-darkest-teal px-4 py-1.5 text-sm text-white",onClick:rM[27]||(rM[27]=gM=>(_M(),w.value=!0,D.value=!1,r.value=!1))},"Add more skills"),iM.value?yM("",!0):(v(),R("button",{key:0,class:"-border-blue-1 -bg-blue ml-2 inline-block px-4 py-1.5 text-sm text-white",onClick:rM[28]||(rM[28]=gM=>(It(),_M()))},"Generate my learning plan")),iM.value?(v(),R("button",{key:1,class:"-border-blue-1 -bg-blue ml-2 inline-block px-4 py-1.5 text-sm text-white",onClick:rM[29]||(rM[29]=gM=>(pt(),_M()))},"Generate my learning plan")):yM("",!0)]))])])):yM("",!0),w.value&&!r.value?(v(),qt(VcM,{key:1,profileskilllist:{profileParseddataMatchedskill:Y.value},onCloseUploademit:rM[30]||(rM[30]=gM=>r.value=gM),onLoadervalueemit:rM[31]||(rM[31]=gM=>E.value=gM),onFinalSkilluploademit:rM[32]||(rM[32]=gM=>hM.$emit("finalAddedMoreskill",gM)),class:"mt-4"},null,8,["profileskilllist"])):yM("",!0)]),nM.value?(v(),R("div",elM,[z("div",ilM,[z("div",SlM,[rM[134]||(rM[134]=z("div",null,[PM(" Your skills profile is looking great!"),z("br"),PM(" We have got some role-based suggestions for that extra touch. Add whatever is relevant to you, or just skip it. Up to you! ")],-1)),rM[135]||(rM[135]=z("h1",{class:"text-lg font-bold"},"Suggested skills based on your role",-1)),(v(!0),R(WM,null,et(AM.value,(gM,lt)=>{var vM,NL;return v(),R("div",{class:"profile-row py-2 md:px-4 lg:px-4",key:lt},[gM!=null&&gM.condition&&((vM=gM==null?void 0:gM.skillRecommarray)!=null&&vM.length)?(v(),R("div",ylM,[z("div",rlM,aM(gM==null?void 0:gM.category),1),(NL=gM==null?void 0:gM.skillRecommarray)!=null&&NL.length?(v(),R("div",nlM,[(v(!0),R(WM,null,et(gM==null?void 0:gM.skillRecommarray,(Ct,eL)=>(v(),R("div",{class:"",key:eL},[z("span",{onClick:KL=>ut(Ct,gM==null?void 0:gM.skillRecommarray),class:yt([[Ct!=null&&Ct.addedinarray?"bg-teal-300":""],"mx-1 mt-1 flex cursor-pointer items-center rounded-md border px-4 py-1.5 text-sm"])},[PM(aM(Ct==null?void 0:Ct.skill)+" ",1),Ct!=null&&Ct.addedinarray?(v(),R("svg",{key:0,onClick:KL=>ut(Ct,gM==null?void 0:gM.skillRecommarray),class:"ml-2 h-3 w-3 text-gray-800 dark:text-white","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",fill:"#000000",viewBox:"0 0 18 2"},rM[132]||(rM[132]=[z("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M1 1h16"},null,-1)]),8,slM)):yM("",!0),Ct!=null&&Ct.addedinarray?yM("",!0):(v(),R("svg",TlM,rM[133]||(rM[133]=[z("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M9 1v16M1 9h16"},null,-1)])))],10,DlM)]))),128))])):yM("",!0)])):yM("",!0)])}),128))])])])):yM("",!0),nM.value?(v(),R("div",zlM,[z("div",IlM,[z("button",{disabled:!_.value.length,onClick:rM[33]||(rM[33]=gM=>(tt(),_M())),class:yt([[_.value.length?"-bg-blue":"bg-gray-400"],"ml-2 inline-block rounded-md px-4 py-1.5 text-sm text-white"])}," Add ",10,clM)]),z("div",alM,[z("button",{onClick:rM[34]||(rM[34]=gM=>{nM.value=!1,iM.value=!0,_M()}),class:"-bg-blue ml-2 inline-block rounded-md px-4 py-1.5 text-sm text-white"},"Skip")])])):yM("",!0),kM.value?(v(),R("div",glM,[z("div",olM,[z("div",xlM,[rM[137]||(rM[137]=z("div",{class:"flex items-center py-2 text-center"},[z("div",{class:"h-3 w-10 bg-[#FFAB28]"}),z("div",{class:"ml-3 text-2xl font-bold text-genome-v6"},"Manager Recommendation")],-1)),z("div",{class:"pointer z-30 p-2 text-right",onClick:rM[35]||(rM[35]=gM=>kM.value=!1)},rM[136]||(rM[136]=[z("img",{class:"",src:CL,alt:"Close"},null,-1)]))]),z("div",ElM,[z("div",null,aM((Zt=TM(t).manager_assessmentArray)==null?void 0:Zt.comments),1)])])])):yM("",!0)])),CM.value?(v(),R("section",llM,[z("div",OlM,[z("div",dlM,[rM[138]||(rM[138]=z("div",{class:"flex justify-between"},[z("div",{class:"flex items-center py-2 text-center"},[z("div",{class:"h-3 w-10 bg-[#FFAB28]"}),z("div",{class:"ml-3 text-2xl font-bold text-genome-v6"},"Please select at least one subskill for each skill before submitting")])],-1)),z("div",wlM,[z("div",flM,[dt(SaM,{onCloseemit:rM[36]||(rM[36]=gM=>CM.value=gM),onHassubskillemit:rM[37]||(rM[37]=gM=>hM.$emit("finalAddedMoreskill",!0)),initSkillupload:!0,subSkilllist:{hasSubskillArray:oM.value}},null,8,["subSkilllist"])])])])])])):yM("",!0),C.value?(v(),qt(mu,{key:3,showdiscription:!0,name:"showdiscription",discriptioValue:{descriptionPopupvalue:h.value},onConsetvalueemit:rM[38]||(rM[38]=gM=>C.value=gM)},null,8,["discriptioValue"])):yM("",!0),N.value?(v(),qt(mu,{key:4,name:"finalPopup",onConsetvalueemit:rM[39]||(rM[39]=gM=>N.value=gM)})):yM("",!0),S.value?(v(),qt(mu,{key:5,name:"feedbackPopup",onConsetvalueemit:rM[40]||(rM[40]=gM=>(S.value=gM,N.value=!0))})):yM("",!0),y.value?(v(),qt(mu,{key:6,name:"atlistoneskill",onConsetvalueemit:rM[41]||(rM[41]=gM=>y.value=gM)})):yM("",!0),u.value?(v(),qt(mu,{key:7,text:j.value,name:"coreskillerror",onRemoveskillemit:rM[42]||(rM[42]=gM=>xt(k.value,m.value)),onConsetvalueemit:rM[43]||(rM[43]=gM=>(u.value=gM,eM.value=gM))},null,8,["text"])):yM("",!0),A.value?(v(),qt(mu,{key:8,name:"removesubskill",text:j.value,onRemoveskillemit:rM[44]||(rM[44]=gM=>DL(p.value,U.value,Q.value)),onConsetvalueemit:rM[45]||(rM[45]=gM=>(A.value=gM,eM.value=gM))},null,8,["text"])):yM("",!0),LM.value?(v(),qt(yY,{key:9,"array-of":NM.value,skillload:i.value,"skill-data":$.value,name:"skillselection",onSavecheckemit:rM[46]||(rM[46]=gM=>eM.value=gM),onConsetvalueemit:rM[47]||(rM[47]=gM=>(LM.value=gM,i.value=gM))},null,8,["array-of","skillload","skill-data"])):yM("",!0),n.value?(v(),qt(mI,{key:10,onConsetvalueemit:rM[48]||(rM[48]=gM=>n.value=gM)})):yM("",!0)],64)}}}),yCt="",QlM=jL(ClM,[["__scopeId","data-v-3355746a"]]),rCt="",UlM={key:0,class:"flex w-full justify-center"},hlM={key:1,class:"relative w-full px-5 py-2"},YlM={class:"flex flex-col lg:px-16"},vlM={class:"my-2 lg:mt-4"},klM={class:"relative"},plM={class:"select-searchwidth relative"},mlM={class:"relative"},blM={class:"header-lockedfunction"},PlM={key:0,class:"absolute z-20 max-h-40 w-1/2 overflow-scroll border bg-[#D9D9D9] p-1"},RlM=["onClick"],BlM={class:"my-2 mt-5 flex items-end lg:my-1 px-0"},HlM={class:"relative w-full text-left"},ZlM={class:"select-searchwidth relative"},FlM={class:"relative"},XlM={class:"header-lockedrole"},GlM=["disabled"],WlM={class:"text-red-500"},VlM={key:0,class:"absolute z-20 max-h-40 w-1/2 overflow-scroll border bg-[#D9D9D9] p-1"},JlM=["onClick"],qlM={key:0,class:"pt-1"},nY=kt({__name:"Function&RoleComponent",emits:["skillmatchemit"],setup(L,{emit:M}){var C,h,Y,k;Tu();const t=M,j=IL(),u=V(!1),A=V(!1),N=V(!1),e=V(!1),i=V();V(!1);const S=V("function"),y=V((C=j.functionObject)==null?void 0:C.id),r=V((h=j.roleObject)==null?void 0:h.id),n=V((Y=j.functionObject)==null?void 0:Y.name),D=V((k=j.roleObject)==null?void 0:k.name),s=V(),I=V();oL(async()=>{var p,m,U,Q;document.addEventListener("click",T),document.addEventListener("click",c),await j.employeeSkillfunction((p=j.employeedetailsarray)==null?void 0:p.employeeId,"function"),s.value=await j.employeeSkillarray,I.value=await((Q=(U=(m=s.value)==null?void 0:m.Master)==null?void 0:U.find(w=>(w==null?void 0:w.listName)==="function"))==null?void 0:Q.SkillList)});const T=p=>{const m=document.querySelector(".header-lockedfunction");m&&!m.contains(p.target.parentNode)&&(u.value=!1)},c=p=>{const m=document.querySelector(".header-lockedrole");m&&!m.contains(p.target.parentNode)&&(A.value=!1)};UA(()=>{document.removeEventListener("click",T),document.removeEventListener("click",c)});const a=SL(()=>{var m,U,Q;let p=(Q=(U=(m=s.value)==null?void 0:m.Master)==null?void 0:U.find(w=>(w==null?void 0:w.listName)==="function"))==null?void 0:Q.SkillList;return n.value!==""&&(p=p==null?void 0:p.filter(w=>{var x,O,l,d;return(d=(O=(x=w==null?void 0:w.Skill)==null?void 0:x.Keywords)==null?void 0:O.Title)==null?void 0:d.toLowerCase().includes((l=n==null?void 0:n.value)==null?void 0:l.toLowerCase())})),p}),g=SL(()=>{var m,U,Q,w;let p=(w=(Q=(U=(m=s.value)==null?void 0:m.Master)==null?void 0:U.find(x=>x.listName===`${S.value}`))==null?void 0:Q.SkillList.filter(x=>x.skillId&&y.value===x.skillId)[0])==null?void 0:w.SubSkill;return D.value!==""&&(p=p==null?void 0:p.filter(x=>{var O,l,d,b;return(b=(l=(O=x==null?void 0:x.Skill)==null?void 0:O.Keywords)==null?void 0:l.Title)==null?void 0:b.toLowerCase().includes((d=D==null?void 0:D.value)==null?void 0:d.toLowerCase())})),p}),o=async p=>{n.value="",D.value="",N.value=!0},E=async p=>{D.value="",N.value=!0},f=async()=>{var p,m,U,Q,w;try{if(y.value&&r.value){e.value=!0;const x={function_id:y.value,role_id:r.value},{data:O}=await HL("delphi/v2/myprofile/functionrole",x);((p=O==null?void 0:O.role_function)==null?void 0:p.length)!==0&&(await j.ProfileV6function(),j.componentCheckv6==="functionandrole"?(j.componentCheckv6="Myprofile",e.value=!1):(t("skillmatchemit",!0),e.value=!1))}else i.value="Please Select valid Function and Role",(m=j.functionObject)!=null&&m.name?n.value=(U=j.functionObject)==null?void 0:U.name:n.value="",(Q=j.roleObject)!=null&&Q.name?D.value=(w=j.roleObject)==null?void 0:w.name:D.value="",setTimeout(()=>{i.value=null},6e3)}catch{e.value=!1}};return(p,m)=>{var U;return e.value?(v(),R("div",UlM,m[6]||(m[6]=[z("img",{class:"w-24",src:nj,alt:"Loader Gif"},null,-1)]))):(v(),R("div",hlM,[z("div",YlM,[m[11]||(m[11]=z("div",{class:"text-lg"},"Choose your function and role. Can’t find an exact match, choose what’s closest to your current role",-1)),z("div",vlM,[z("div",klM,[m[8]||(m[8]=z("label",{class:"input-label letter-spacing-05 mb-1 ml-1 block font-bold text-genpact-darkest-blue",for:"functions-select-0"},"Function",-1)),z("div",plM,[z("div",mlM,[z("div",blM,[Yt(z("input",{onClick:m[0]||(m[0]=Q=>{u.value=!u.value,o(n.value)}),"onUpdate:modelValue":m[1]||(m[1]=Q=>n.value=Q),type:"text",placeholder:"Select or Search Function",class:"border-dark-gray-500 w-full truncate rounded border p-1 pr-12 text-genpact-darkest-blue focus:outline-none"},null,512),[[Lj,n.value]]),m[7]||(m[7]=Pj('<div class="pin-y pin-r pointer-events-none absolute inset-y-0 right-0 mr-5 flex px-2 pt-2 text-sm text-gray-600" style="font-size:16px;"><svg class="mr-2 h-4 w-4 text-gray-500 dark:text-gray-400" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 20 20"><path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="m19 19-4-4m0-7A7 7 0 1 1 1 8a7 7 0 0 1 14 0Z"></path></svg></div><div class="pin-y pin-r pointer-events-none absolute inset-y-0 right-0 flex items-center px-2 text-sm text-gray-600" style="font-size:16px;"><svg class="mr-2 h-4 w-4 text-gray-500 dark:text-gray-400" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" fill="#000000" height="25px" width="25px" version="1.1" id="Layer_1" viewBox="0 0 512 512" xml:space="preserve"><g><g><path d="M505.752,123.582c-8.331-8.331-21.839-8.331-30.17,0L256,343.163L36.418,123.582c-8.331-8.331-21.839-8.331-30.17,0 s-8.331,21.839,0,30.17l234.667,234.667c8.331,8.331,21.839,8.331,30.17,0l234.667-234.667 C514.083,145.42,514.083,131.913,505.752,123.582z"></path></g></g></svg></div>',2))])]),u.value?(v(),R("div",PlM,[(U=a.value)!=null&&U.length?(v(!0),R(WM,{key:0},et(a.value,(Q,w)=>{var x,O;return v(),R("div",{class:"cursor-pointer pl-1 hover:bg-gray-100",key:w},[z("div",{onClick:l=>{var d,b;y.value=Q.skillId,n.value=(b=(d=Q==null?void 0:Q.Skill)==null?void 0:d.Keywords)==null?void 0:b.Title,u.value=!1}},aM((O=(x=Q==null?void 0:Q.Skill)==null?void 0:x.Keywords)==null?void 0:O.Title),9,RlM)])}),128)):yM("",!0)])):yM("",!0)])])]),z("div",BlM,[z("div",HlM,[m[10]||(m[10]=z("label",{class:"input-label letter-spacing-05 mb-1 ml-1 block font-bold text-genpact-darkest-blue",for:"current-role-select-0"},"Current Role ",-1)),z("div",ZlM,[z("div",FlM,[z("div",XlM,[Yt(z("input",{disabled:n.value==="",class:yt([[n.value===""?"cursor-not-allowed":""],"border-dark-gray-500 w-full truncate rounded border p-1 pr-12 text-genpact-darkest-blue focus:outline-none"]),onClick:m[2]||(m[2]=Q=>{A.value=!A.value,E(D.value)}),"onUpdate:modelValue":m[3]||(m[3]=Q=>D.value=Q),type:"text",placeholder:"Select or Search Role"},null,10,GlM),[[Lj,D.value]]),m[9]||(m[9]=Pj('<div class="pin-y pin-r pointer-events-none absolute inset-y-0 right-0 mr-5 flex px-2 pt-2 text-sm text-gray-600" style="font-size:16px;"><svg class="mr-2 h-4 w-4 text-gray-500 dark:text-gray-400" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 20 20"><path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="m19 19-4-4m0-7A7 7 0 1 1 1 8a7 7 0 0 1 14 0Z"></path></svg></div><div class="pin-y pin-r pointer-events-none absolute inset-y-0 right-0 flex items-center px-2 text-sm text-gray-600" style="font-size:16px;"><svg class="mr-2 h-4 w-4 text-gray-500 dark:text-gray-400" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" fill="#000000" height="25px" width="25px" version="1.1" id="Layer_1" viewBox="0 0 512 512" xml:space="preserve"><g><g><path d="M505.752,123.582c-8.331-8.331-21.839-8.331-30.17,0L256,343.163L36.418,123.582c-8.331-8.331-21.839-8.331-30.17,0 s-8.331,21.839,0,30.17l234.667,234.667c8.331,8.331,21.839,8.331,30.17,0l234.667-234.667 C514.083,145.42,514.083,131.913,505.752,123.582z"></path></g></g></svg></div>',2))])]),z("p",WlM,aM(i.value),1),A.value?(v(),R("div",VlM,[(v(!0),R(WM,null,et(g.value,(Q,w)=>{var x,O;return v(),R("div",{class:"cursor-pointer pl-1 hover:bg-gray-100",key:w},[z("div",{onClick:l=>{var d,b;r.value=Q.skillId,D.value=(b=(d=Q==null?void 0:Q.Skill)==null?void 0:d.Keywords)==null?void 0:b.Title,A.value=!1}},aM((O=(x=Q==null?void 0:Q.Skill)==null?void 0:x.Keywords)==null?void 0:O.Title),9,JlM)])}),128))])):yM("",!0)])])]),N.value&&D.value!==""?(v(),R("div",qlM,[z("button",{onClick:m[4]||(m[4]=Q=>f()),class:"-bg-blue mr-2 inline-block rounded px-4 py-1.5 text-sm text-white"},"Submit"),z("button",{onClick:m[5]||(m[5]=Q=>{var w,x;N.value=!1,n.value=(w=TM(j).functionObject)==null?void 0:w.name,D.value=(x=TM(j).roleObject)==null?void 0:x.name}),class:"-bg-blue inline-block rounded px-4 py-1.5 text-sm text-white"},"Cancel")])):yM("",!0)])]))}}}),KlM={class:"relative m-1 border text-genome-v6"},_lM={class:"flex justify-between"},$lM={class:"flex items-center py-2 text-center"},MOM={class:"ml-3 items-end text-2xl font-bold text-genome-v6 lg:flex"},tOM={key:0,class:"mb-1.5 ml-1 text-xs"},LOM={class:"px-1 md:mx-auto overflow-scroll h-[35rem] md:w-11/12 lg:mx-auto lg:w-11/12"},jOM={key:0,class:"row bot-text-left relative mb-1"},uOM={key:1,class:"mb-12 mt-2"},AOM={class:"-text-blue profileStart closePopup py-4 md:px-4 lg:px-4"},NOM={class:"ml-8 flex justify-between"},eOM={class:"font-bold"},iOM={key:0,class:"text-lg"},SOM={class:"text-lg"},yOM={key:0},rOM={class:"text-lg"},nOM={key:0},DOM=kt({__name:"Myprofile",setup(L){const M=IL(),t=V(),j=V(0),u=V(!1),A=V(!1);V(!1),oL(async()=>{var e,i;((i=(e=M.initArray)==null?void 0:e.ofconEntry)==null?void 0:i.Job_Family_Group)==="Technology Solutions and Services"&&await M.ProfileV6function(),N(),M.profileStatus==="plan_generated"&&(u.value=!0)});const N=()=>{j.value+=1};return(e,i)=>{var S,y,r,n,D,s,I;return v(),R("section",KlM,[z("div",_lM,[z("div",$lM,[i[6]||(i[6]=z("div",{class:"h-3 w-10 bg-[#FFAB28]"},null,-1)),z("div",MOM,[i[5]||(i[5]=z("div",{class:"text-left"},"My Profile",-1)),TM(M).profileUpadtedate?(v(),R("div",tOM,"(Last updated on "+aM(TM(M).profileUpadtedate?TM(Et)(TM(M).profileUpadtedate).format("MMM Do YYYY, h:mm a"):"")+")",1)):yM("",!0)])]),z("div",{class:"pointer z-30 p-2 text-right",onClick:i[0]||(i[0]=T=>TM(M).componentCheckv6="selection")},i[7]||(i[7]=[z("img",{class:"",src:CL,alt:"Close"},null,-1)]))]),z("div",LOM,[!A.value&&!u.value&&((y=(S=TM(M).initArray)==null?void 0:S.ofconEntry)==null?void 0:y.Job_Family_Group)!=="Technology Solutions and Services"?(v(),R("div",jOM,[dt(nY,{onSkillmatchemit:i[1]||(i[1]=T=>A.value=T)})])):yM("",!0),A.value&&!u.value?(v(),R("div",uOM,[z("div",AOM,[z("div",NOM,[z("div",eOM,[TM(M).userName?(v(),R("div",iOM,"Name: "+aM(TM(M).userName),1)):yM("",!0),z("div",SOM,[(r=TM(M).roleObject)!=null&&r.name?(v(),R("span",yOM,"Role : "+aM(((n=TM(M).roleObject)==null?void 0:n.name)==="Do Not Select this Role"?"Information awaited by HR":(D=TM(M).roleObject)==null?void 0:D.name),1)):yM("",!0)]),z("div",rOM,[(s=TM(M).functionObject)!=null&&s.name?(v(),R("span",nOM,"Function : "+aM((I=TM(M).functionObject)==null?void 0:I.name),1)):yM("",!0)])])]),dt(hIM,{onFinalSkilluploademit:i[2]||(i[2]=T=>N()),onCloseUploademit:i[3]||(i[3]=T=>u.value=T)})])])):yM("",!0),u.value?(v(),qt(QlM,{key:j.value,onFinalAddedMoreskill:i[4]||(i[4]=T=>N()),updateMyprofile:t.value},null,8,["updateMyprofile"])):yM("",!0)])])}}}),DY="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNC4yNjQiIGhlaWdodD0iMjIuMDA0IiB2aWV3Qm94PSIwIDAgMjQuMjY0IDIyLjAwNCI+CiAgPGcgaWQ9Ikdyb3VwXzI4MzAiIGRhdGEtbmFtZT0iR3JvdXAgMjgzMCIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTQzMi41MTIgLTE4My41MjQpIj4KICAgIDxwYXRoIGlkPSJQYXRoXzcwNjEiIGRhdGEtbmFtZT0iUGF0aCA3MDYxIiBkPSJNLTE5MTguODksNTMwLjQyNWwuNDk0LjM3Nyw1LjU1MSw0Ljc0MSwyLjIzMS00Ljc0MS03LjAxMi0uMzc3LDIuNjgsMS41MzFaIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgyMzY2LjQ5OCAtMzM0LjAxNCkiIGZpbGw9IiMyOTRlNzgiIHN0cm9rZT0iIzI5NGU3OCIgc3Ryb2tlLXdpZHRoPSIxIi8+CiAgICA8ZyBpZD0iR3JvdXBfMjc5OSIgZGF0YS1uYW1lPSJHcm91cCAyNzk5IiB0cmFuc2Zvcm09InRyYW5zbGF0ZSg0MzIuNTEyIDE4My41MjQpIj4KICAgICAgPHBhdGggaWQ9IlBhdGhfNzA2MCIgZGF0YS1uYW1lPSJQYXRoIDcwNjAiIGQ9Ik0tMTkyMC4wNDUsNTIxLjI1OHY4LjQ3Nmw4LjQxMS0uMjU5LTEuODEyLTQuMjctMi43MDktMi41NTJaIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgxOTMzLjYzOCAtNTIwLjMwMikiIGZpbGw9IiMyOTRlNzgiIHN0cm9rZT0iIzJhNGU3OCIgc3Ryb2tlLXdpZHRoPSIxIi8+CiAgICAgIDxnIGlkPSJHcm91cF8yNzk4IiBkYXRhLW5hbWU9Ikdyb3VwIDI3OTgiPgogICAgICAgIDxnIGlkPSJub3VuX0RhdGFfMzA4OTY5OCIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMCkiPgogICAgICAgICAgPHBhdGggaWQ9IlBhdGhfNzA1NSIgZGF0YS1uYW1lPSJQYXRoIDcwNTUiIGQ9Ik0zNi41NzcsNDMuMjE0YS40Ny40NywwLDAsMC0uMTQxLS4zMzJsLTYuNTczLTYuNDUyVjI3LjIyYS40NzEuNDcxLDAsMCwwLS40NzEtLjQ3MSw5Ljg3OSw5Ljg3OSwwLDEsMCw3LjA1LDE2LjguNDcuNDcsMCwwLDAsLjEzNS0uMzM0Wm0tNy4xODUsMi4zNTJBOC45MzcsOC45MzcsMCwwLDEsMjguOTIxLDI3Ljd2OC45MjVhLjQ3LjQ3LDAsMCwwLC4xNDEuMzM2bDYuMzcsNi4yNTJhOC44NjUsOC44NjUsMCwwLDEtNi4wNCwyLjM0OVoiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0xOS41MTIgLTI0LjUwNCkiIGZpbGw9IiMyOTRlNzgiLz4KICAgICAgICAgIDxwYXRoIGlkPSJQYXRoXzcwNTYiIGRhdGEtbmFtZT0iUGF0aCA3MDU2IiBkPSJNNTkuNDczLDMxLjA3NWEuNDcxLjQ3MSwwLDAsMCwuNDcxLS40NzEsOS44MjksOS44MjksMCwwLDAtOS44MTgtOS44MTguNDcxLjQ3MSwwLDAsMC0uNDcxLjQ3MVYzMC42YS40NzEuNDcxLDAsMCwwLC40NzEuNDcxWk01MC42LDIxLjczOWE4Ljg5LDguODksMCwwLDEsOC4zOTQsOC4zOTRINTAuNloiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0zNy4wMDEgLTIwLjc4NikiIGZpbGw9IiMyOTRlNzgiLz4KICAgICAgICAgIDxwYXRoIGlkPSJQYXRoXzcwNTciIGRhdGEtbmFtZT0iUGF0aCA3MDU3IiBkPSJNNTkuMjcyLDU5LjdhLjQ3LjQ3LDAsMCwwLC4zMTYtLjEyMkE5LjAxNCw5LjAxNCwwLDAsMCw2Mi41NDYsNTIuOWEuNDcxLjQ3MSwwLDAsMC0uNDcxLS40NzFoLTkuOWEuNDcxLjQ3MSwwLDAsMC0uMzEzLjgyMmw3LjA5MSw2LjMyQS40NjkuNDY5LDAsMCwwLDU5LjI3Miw1OS43Wm0yLjMyLTYuMzJhOC4wNzUsOC4wNzUsMCwwLDEtMi4zMyw1LjIwOWwtNS44NDUtNS4yMDlaIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtMzguMjgzIC00MC41MTUpIiBmaWxsPSIjMjk0ZTc4Ii8+CiAgICAgICAgPC9nPgogICAgICAgIDxwYXRoIGlkPSJQYXRoXzcwNjIiIGRhdGEtbmFtZT0iUGF0aCA3MDYyIiBkPSJNLTE5MjAuNzQ1LDUyMi44MDdWNTMybC41LjY4OCw2LjMxMSw2LjItMS41MzEuODgxLTUuNzgxLDEuMTg3LTMuNi0xLjY4NS0yLjYtMi45ODYtMS40MTctNC4wMi44NDItMy42NzUsMi4zMzUtMy4yMTYsNC43NDctMi4yMjEiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDE5MjkuNjc3IC01MTkuODM1KSIgZmlsbD0iIzJhNGU3OCIgc3Ryb2tlPSIjMjk0ZTc4IiBzdHJva2Utd2lkdGg9IjEiLz4KICAgICAgPC9nPgogICAgPC9nPgogIDwvZz4KPC9zdmc+Cg==",FD="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzMy43MjkiIGhlaWdodD0iMTguMDQxIiB2aWV3Qm94PSIwIDAgMzMuNzI5IDE4LjA0MSI+CiAgPGcgaWQ9Ikdyb3VwXzI4MjYiIGRhdGEtbmFtZT0iR3JvdXAgMjgyNiIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTY1NyAtMjExLjE2NSkiPgogICAgPGcgaWQ9Ikdyb3VwXzI4MjciIGRhdGEtbmFtZT0iR3JvdXAgMjgyNyIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoODAgMjYpIj4KICAgICAgPGcgaWQ9Im5vdW5fd2F2ZXNfMTAzNjM3NiIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoNTc3IDE4NS4xNjUpIj4KICAgICAgICA8ZyBpZD0iR3JvdXBfMjc5NyIgZGF0YS1uYW1lPSJHcm91cCAyNzk3IiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgwIDApIj4KICAgICAgICAgIDxwYXRoIGlkPSJQYXRoXzcwNTgiIGRhdGEtbmFtZT0iUGF0aCA3MDU4IiBkPSJNMjAuNzI3LDI3YTcuMTgxLDcuMTgxLDAsMCwwLTQuNjMzLDEuNTIsOS44NjQsOS44NjQsMCwwLDAtMi42NDcsMy42NjUsMjkuMzM5LDI5LjMzOSwwLDAsMS0yLjE2OSw0LjUyMiwzLjczNSwzLjczNSwwLDAsMS0zLjQ5MywxLjY3OS43ODQuNzg0LDAsMSwwLDAsMS41NjksNS41Niw1LjU2LDAsMCwwLDQuNzU1LTIuMzI5LDI3LjQzNCwyNy40MzQsMCwwLDAsMi4zNDEtNC43OTIsOC40LDguNCwwLDAsMSwyLjIwNi0zLjEsNS40NTcsNS40NTcsMCwwLDEsMy42NC0xLjE2NCwxMy4xMTYsMTMuMTE2LDAsMCwxLDMuMDE1LjQ2Niw1LjQ2LDUuNDYsMCwwLDAtMy4wMTUsNC42MzNBNS41MjEsNS41MjEsMCwwLDAsMjQuODIsMzguOWExNCwxNCwwLDAsMS0xLjkxMiwzLjA1Miw0LjE4MSw0LjE4MSwwLDAsMS0zLjM1OCwxLjUyLjc4NC43ODQsMCwxLDAsMCwxLjU2OSw1LjkyNyw1LjkyNywwLDAsMCw0LjUxLTIuMDM1LDE3LjYyMiwxNy42MjIsMCwwLDAsMi41MTMtNC4wOTQsMTcuMzA2LDE3LjMwNiwwLDAsMSwyLjI0My0zLjczOEE0LjA1MSw0LjA1MSwwLDAsMSwzMi4xLDMzLjY2N2ExMC41LDEwLjUsMCwwLDEsMy41MTcuNjM3LDUuMDU4LDUuMDU4LDAsMCwwLTIuNzMzLDQuNDYxLDUuNTU3LDUuNTU3LDAsMCwwLDEuNjkxLDQuMTA2LDcuNjA2LDcuNjA2LDAsMCwwLDUuMzY4LDEuNzc3Ljc4NC43ODQsMCwxLDAsMC0xLjU2OSw2LjAxNSw2LjAxNSwwLDAsMS00LjI5LTEuMzQ4LDMuOTQxLDMuOTQxLDAsMCwxLTEuMi0yLjk2NiwzLjU5NCwzLjU5NCwwLDAsMSwzLjI3Mi0zLjU0Mi43ODQuNzg0LDAsMCwwLC4zMzEtMS40MDlBMTAuMTU1LDEwLjE1NSwwLDAsMCwzMi4xLDMyLjFhNS44MDksNS44MDksMCwwLDAtNC40NDksMi4wMzQsMTUuMjkyLDE1LjI5MiwwLDAsMC0yLjEyLDMuMzdjLTIuMzk1LS42NDUtMy4yMzYtMi4yMS0zLjIzNi0zLjgzNiwwLTEuNjQxLDEuNDU1LTMuNDY5LDQuMDU3LTMuOTM0YS43ODQuNzg0LDAsMCwwLC4xNDctMS41MDhBMTYuMTg5LDE2LjE4OSwwLDAsMCwyMC43MjcsMjdaIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtNyAtMjcpIiBmaWxsPSIjMjk0ZTc4Ii8+CiAgICAgICAgPC9nPgogICAgICA8L2c+CiAgICAgIDxwYXRoIGlkPSJQYXRoXzcwNjMiIGRhdGEtbmFtZT0iUGF0aCA3MDYzIiBkPSJNLTE3ODIuNTg5LDUzMy43NjVoMy41MTJsMy44NjEtLjI1MywyLjc3NS0uMiw0LjUzOS0uMjUzaC0uNjA4bC0zLjkzMi00LjMyNy40MjctMS44MzMsMS4wODEtMS4zNTUsMS4zODgtMS4wNjMuNTQzLTFoLTMuOTgybC0yLjIzMi40NzItLjkuOTQ1LS43MjQuOTQ1LS45NjUsMS40NzYtLjcyNCwxLjY1My0uNTQzLDEuMDYzWiIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMjM2Mi43ODIgLTMzNi41NzUpIiBmaWxsPSIjMjk0ZTc4IiBzdHJva2U9IiMyOTRlNzgiIHN0cm9rZS13aWR0aD0iMSIvPgogICAgICA8cGF0aCBpZD0iUGF0aF83MDY1IiBkYXRhLW5hbWU9IlBhdGggNzA2NSIgZD0iTS0xNzgyLjU4OSw1MzMuNzY1aDMuNTEybDMuODYxLS4yNTNoOS41MjNsLTMuODUyLS43MzktMS41NTYtNC40NzcuNjM3LTEuNDQxLjUzNi0xLjAxOSwxLjI3NC0xLjEyNi42LTEuMDM5LTQuOTMyLS4yLTIuMjMyLjQ3Mi0uOS45NDUtLjcyNC45NDUtLjk2NSwxLjQ3Ni0uNzI0LDEuNjUzLS41NDMsMS4wNjNaIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgyMzczLjczMSAtMzMxLjQyOSkiIGZpbGw9IiMyOTRlNzgiIHN0cm9rZT0iIzI5NGU3OCIgc3Ryb2tlLXdpZHRoPSIxIi8+CiAgICA8L2c+CiAgPC9nPgo8L3N2Zz4K",sOM="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNC4yNjQiIGhlaWdodD0iMjIuMDA0IiB2aWV3Qm94PSIwIDAgMTA5LjQxOCA3Mi43MDgiPgogIDxnIGlkPSJHcm91cF83MDA1IiBkYXRhLW5hbWU9Ikdyb3VwIDcwMDUiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC01ODY4IC00Mjk3LjkxKSI+CiAgICA8cGF0aCBpZD0iUGF0aF81NTk4IiBkYXRhLW5hbWU9IlBhdGggNTU5OCIgZD0iTS42NjEsMjUuNTg2QTYuNzQ2LDYuNzQ2LDAsMCwwLDEuMDQ1LDMyLjFhNi42MzksNi42MzksMCwwLDAsMy4xNCwyLjZMMTcuODczLDQwLjI1VjU5LjQ5YTMuMjI4LDMuMjI4LDAsMCwwLDEuMDA2LDIuMzQyLDUwLjQyLDUwLjQyLDAsMCwwLDY5LjAwOS4yNmwuMjYtLjI0NGEzLjIzMiwzLjIzMiwwLDAsMCwxLjAyNC0yLjM2VjQwLjA1MWw4LjA0Mi0zLjI1OVY1My4wMTNMODkuOTIzLDY2Ljc3MmEyLjMsMi4zLDAsMCwwLDIuMDM3LDMuMzg1aDE1LjE1YTIuMzA4LDIuMzA4LDAsMCwwLDIuMDM5LTMuMzg2bC03LjMyLTEzLjgxNVYzNC45MjRsLjU0MS0uMjE5aDBhNi42NSw2LjY1LDAsMCwwLDMuMTM2LTIuNTksNi43NjksNi43NjksMCwwLDAsLjAwNy03LjI0NCw2LjY0OSw2LjY0OSwwLDAsMC0zLjEzOC0yLjZMNTUuNzk0LDMuNEE2LjY3Niw2LjY3NiwwLDAsMCw1My4zLDIuOTFhNy43NDksNy43NDksMCwwLDAtMS4zMTEuMTI2LDYuODEyLDYuODEyLDAsMCwwLTEuMjI5LjM2NkwxMS45NDcsMTkuMTMxUzEuMjI1LDIzLjgxNC42NjEsMjUuNTg2TTgyLjcxNyw1OC4wNzJhNDMuOTY5LDQzLjk2OSwwLDAsMS01OC4zODksMFY0Mi44NjdMNTAuNzcsNTMuNTgzYTYuNjUzLDYuNjUzLDAsMCwwLDEuMjM2LjM2Niw2LjY4OSw2LjY4OSwwLDAsMCwzLjc5LS4zNzFMODIuNzE2LDQyLjY3Wm0tMjkuNC0xMC40Nkw1My4xOSw0Ny42LDYuNjA2LDI4LjcyYS4yMDkuMjA5LDAsMCwxLS4xMTgtLjA4Mi4yOS4yOSwwLDAsMS0uMDMzLS4xNDUuMy4zLDAsMCwxLC4wMzYtLjE1MS4yMjkuMjI5LDAsMCwxLC4xMjQtLjA4NGw3LjE5MS0yLjkxNWMuMDE3LS4wMDcuMDM2LS4wMTMuMDUzLS4wMjJMNTMuMTg0LDkuMzg1bC4wOTItLjAxOS4wOTEuMDE3TDk5Ljk0OSwyOC4yNThjLjA5My4wMzcuMTExLjA2OS4xMi4wODRhLjI3OC4yNzgsMCwwLDEsLjAzNC4xNDUuMjkzLjI5MywwLDAsMS0uMDM2LjE1MWMtLjAwOS4wMTUtLjAzMS4wNDktLjEyNC4wODZaTTk1Ljc5Miw2NS41NDhsMy43NDUtNy4wNjMsMy43NDMsNy4wNjNaIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSg1ODY4IDQyOTUpIiBmaWxsPSIjMjk0ZTc4Ii8+CiAgICA8cGF0aCBpZD0iUGF0aF81NjA3IiBkYXRhLW5hbWU9IlBhdGggNTYwNyIgZD0iTTU4NzAuMyw0MzIzLjQwOGw1MS44MjctMjMuMjA2LDUwLjM3NSwyMy44MTktMjAuNjA4LDkuNzY1djIwLjYwOGwtNy42MzIsNy42MzItMTYuMDI4LDQuNThoLTE0LjVsLTEwLjY4Ni00LjU4LTE0LjQzMS03LjYzMlY0MzM0LjQ1WiIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMS4zMDgpIiBmaWxsPSIjMjk0ZTc4Ii8+CiAgICA8cGF0aCBpZD0iUGF0aF81NjA5IiBkYXRhLW5hbWU9IlBhdGggNTYwOSIgZD0iTTU4ODcuNTM4LDQzMjkuMnMzMS41MDcsMTMuNDY3LDMzLjgsMTMuNDY3YzIuNjkzLDAsMzQuMzM5LTEzLjQ2NywzNC4zMzktMTMuNDY3IiBmaWxsPSJub25lIiBzdHJva2U9IiNmZmYiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLXdpZHRoPSIzIi8+CiAgICA8cGF0aCBpZD0iUGF0aF81NjEwIiBkYXRhLW5hbWU9IlBhdGggNTYxMCIgZD0iTTU4ODkuNDU1LDQzNDIuNTI4cy0uMzE5LDkuMTY0LjUwNiwxMS4wNzYsOC41LDYuNzczLDExLjQ0Nyw4LjA0OCIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoNCAtMS4xNDUpIiBmaWxsPSJub25lIiBzdHJva2U9IiNmZmYiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgc3Ryb2tlLXdpZHRoPSIzIi8+CiAgICA8cGF0aCBpZD0iUGF0aF81NjExIiBkYXRhLW5hbWU9IlBhdGggNTYxMSIgZD0iTTU5MDkuNjMsNDM2Mi4xYTcuMTA5LDcuMTA5LDAsMCwwLDQuMjIzLDEuMTE1IiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgzIDEpIiBmaWxsPSJub25lIiBzdHJva2U9IiNmZmYiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLXdpZHRoPSIzIi8+CiAgPC9nPgo8L3N2Zz4K",sY="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzMy43MjkiIGhlaWdodD0iMTguMDQxIiB2aWV3Qm94PSIwIDAgMzMuNzI5IDE4LjA0MSI+CiAgPGcgaWQ9Ikdyb3VwXzI4MjkiIGRhdGEtbmFtZT0iR3JvdXAgMjgyOSIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTc1My40NyAtMTg0LjE1NykiPgogICAgPGcgaWQ9Im5vdW5fR3JhcGhfMTA0OTQ5MiIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoNzUzLjk3IDE4NC42NTcpIj4KICAgICAgPGcgaWQ9Ikdyb3VwXzI3OTYiIGRhdGEtbmFtZT0iR3JvdXAgMjc5NiIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMCAwKSI+CiAgICAgICAgPGxpbmUgaWQ9IkxpbmVfODkiIGRhdGEtbmFtZT0iTGluZSA4OSIgeDE9IjIwLjc4NyIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMCAyMS4zNjQpIiBmaWxsPSJub25lIiBzdHJva2U9IiMyOTRlNzgiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgc3Ryb2tlLXdpZHRoPSIxIi8+CiAgICAgICAgPHJlY3QgaWQ9IlJlY3RhbmdsZV8yNDUyIiBkYXRhLW5hbWU9IlJlY3RhbmdsZSAyNDUyIiB3aWR0aD0iNC42MTgiIGhlaWdodD0iMTEuNTQ2IiB0cmFuc2Zvcm09InRyYW5zbGF0ZSg4LjA4NCA1LjE5NSkiIGZpbGw9Im5vbmUiIHN0cm9rZT0iIzI5NGU3OCIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiBzdHJva2Utd2lkdGg9IjEiLz4KICAgICAgICA8cmVjdCBpZD0iUmVjdGFuZ2xlXzI0NTMiIGRhdGEtbmFtZT0iUmVjdGFuZ2xlIDI0NTMiIHdpZHRoPSI0LjYxOCIgaGVpZ2h0PSI2LjkyOSIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMCA5LjgxOCkiIGZpbGw9Im5vbmUiIHN0cm9rZT0iIzI5NGU3OCIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiBzdHJva2Utd2lkdGg9IjEiLz4KICAgICAgICA8cmVjdCBpZD0iUmVjdGFuZ2xlXzI0NTQiIGRhdGEtbmFtZT0iUmVjdGFuZ2xlIDI0NTQiIHdpZHRoPSI0LjYxOCIgaGVpZ2h0PSIxNi43NDciIHRyYW5zZm9ybT0idHJhbnNsYXRlKDE2LjE2OSkiIGZpbGw9Im5vbmUiIHN0cm9rZT0iIzI5NGU3OCIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiBzdHJva2Utd2lkdGg9IjEiLz4KICAgICAgPC9nPgogICAgPC9nPgogICAgPGcgaWQ9IlBhdGhfNzA2NiIgZGF0YS1uYW1lPSJQYXRoIDcwNjYiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDc2OS42NTggMTg1LjEwNCkiIGZpbGw9IiMyOTRlNzgiPgogICAgICA8cGF0aCBkPSJNIDQuODAzMTMwNjI2Njc4NDY3IDE1LjY3ODk1NzkzOTE0Nzk1IEwgMC40MzQ5NDgyNjU1NTI1MjA4IDE1LjY3ODk1NzkzOTE0Nzk1IEwgMC40OTc5Mzg0MjQzNDg4MzEyIDAuNDk5OTk3NTI2NDA3MjQxOCBMIDQuNzE5MDY4NTI3MjIxNjggMC40OTk5OTc1MjY0MDcyNDE4IEwgNC44MDMxMzA2MjY2Nzg0NjcgMTUuNjc4OTU3OTM5MTQ3OTUgWiIgc3Ryb2tlPSJub25lIi8+CiAgICAgIDxwYXRoIGQ9Ik0gMC45OTU4NjIwMDcxNDExMTMzIDAuOTk5OTk3MTM4OTc3MDUwOCBMIDAuOTM3MDIxNzMyMzMwMzIyMyAxNS4xNzg5NTc5MzkxNDc5NSBMIDQuMzAwMzU1OTExMjU0ODgzIDE1LjE3ODk1NzkzOTE0Nzk1IEwgNC4yMjE4MzIyNzUzOTA2MjUgMC45OTk5OTcxMzg5NzcwNTA4IEwgMC45OTU4NjIwMDcxNDExMTMzIDAuOTk5OTk3MTM4OTc3MDUwOCBNIDQuNzY4MzcxNTgyMDMxMjVlLTA2IC0xLjkwNzM0ODYzMjgxMjVlLTA2IEwgNS4yMTYzMDQ3NzkwNTI3MzQgLTEuOTA3MzQ4NjMyODEyNWUtMDYgTCA1LjMwNTkwNDg2NTI2NDg5MyAxNi4xNzg5NTY5ODU0NzM2MyBMIC0wLjA2NzEzNTMzNDAxNDg5MjU4IDE2LjE3ODk1Njk4NTQ3MzYzIEwgNC43NjgzNzE1ODIwMzEyNWUtMDYgLTEuOTA3MzQ4NjMyODEyNWUtMDYgWiIgc3Ryb2tlPSJub25lIiBmaWxsPSIjMjk0ZTc4Ii8+CiAgICA8L2c+CiAgICA8ZyBpZD0iUGF0aF83MDY3IiBkYXRhLW5hbWU9IlBhdGggNzA2NyIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoNzYxLjgzMyAxOTAuMzIxKSIgZmlsbD0iIzI5NGU3OCI+CiAgICAgIDxwYXRoIGQ9Ik0gNC43MTYzMDA0ODc1MTgzMTEgMTAuNDE1MDM5MDYyNSBMIDAuNTAwMDAwNDc2ODM3MTU4MiAxMC40MTUwMzkwNjI1IEwgMC41MDAwMDA0NzY4MzcxNTgyIDAuNDk5OTk5NTIzMTYyODQxOCBMIDQuNzE2MzAwNDg3NTE4MzExIDAuNDk5OTk5NTIzMTYyODQxOCBMIDQuNzE2MzAwNDg3NTE4MzExIDEwLjQxNTAzOTA2MjUgWiIgc3Ryb2tlPSJub25lIi8+CiAgICAgIDxwYXRoIGQ9Ik0gMS4wMDAwMDA0NzY4MzcxNTggMSBMIDEuMDAwMDAwNDc2ODM3MTU4IDkuOTE1MDM5MDYyNSBMIDQuMjE2MzAwNDg3NTE4MzExIDkuOTE1MDM5MDYyNSBMIDQuMjE2MzAwNDg3NTE4MzExIDEgTCAxLjAwMDAwMDQ3NjgzNzE1OCAxIE0gNC43NjgzNzE1ODIwMzEyNWUtMDcgMCBMIDUuMjE2MzAwNDg3NTE4MzExIDAgTCA1LjIxNjMwMDQ4NzUxODMxMSAxMC45MTUwMzkwNjI1IEwgNC43NjgzNzE1ODIwMzEyNWUtMDcgMTAuOTE1MDM5MDYyNSBMIDQuNzY4MzcxNTgyMDMxMjVlLTA3IDAgWiIgc3Ryb2tlPSJub25lIiBmaWxsPSIjMjk0ZTc4Ii8+CiAgICA8L2c+CiAgICA8ZyBpZD0iUmVjdGFuZ2xlXzI0NTciIGRhdGEtbmFtZT0iUmVjdGFuZ2xlIDI0NTciIHRyYW5zZm9ybT0idHJhbnNsYXRlKDc1NC4wMDkgMTk0LjIzMykiIGZpbGw9IiMyOTRlNzgiIHN0cm9rZT0iIzI5NGU3OCIgc3Ryb2tlLXdpZHRoPSIxIj4KICAgICAgPHJlY3Qgd2lkdGg9IjUuMjE2IiBoZWlnaHQ9IjcuODI0IiBzdHJva2U9Im5vbmUiLz4KICAgICAgPHJlY3QgeD0iMC41IiB5PSIwLjUiIHdpZHRoPSI0LjIxNiIgaGVpZ2h0PSI2LjgyNCIgZmlsbD0ibm9uZSIvPgogICAgPC9nPgogIDwvZz4KPC9zdmc+Cg==";function TOM(){return Math.random().toString(16).substring(2)}var Il=kt({props:{diameter:{type:Number,required:!1,default:200},totalSteps:{type:Number,required:!0,default:10},completedSteps:{type:Number,required:!0,default:0},startColor:{type:String,required:!1,default:"#00C58E"},stopColor:{type:String,required:!1,default:"#00E0A1"},innerStrokeColor:{type:String,required:!1,default:"#2F495E"},strokeWidth:{type:Number,required:!1,default:10},innerStrokeWidth:{type:Number,required:!1,default:10},strokeLinecap:{type:String,required:!1,default:"round"},animateSpeed:{type:Number,required:!1,default:1e3},fps:{type:Number,required:!1,default:60},timingFunc:{type:String,required:!1,default:"linear"},isClockwise:{type:Boolean,required:!1,default:!0}},setup(L){const M=Xy({fx:.99,fy:.5,cx:.5,cy:.5,r:.65}),t=`rg-${TOM()}`,j=V(0),u=V(0),A=V(null),N=SL(()=>L.diameter/2),e=SL(()=>L.diameter-L.innerStrokeWidth*2),i=SL(()=>Math.PI*e.value),S=SL(()=>L.totalSteps===0?0:100/L.totalSteps),y=SL(()=>S.value*L.completedSteps),r=SL(()=>2*Math.PI/L.totalSteps),n=SL(()=>100/L.fps),D=SL(()=>L.animateSpeed/n.value),s=SL(()=>r.value/D.value),I=SL(()=>e.value/2),T=SL(()=>({height:`${L.diameter}px`,width:`${L.diameter}px`})),c=SL(()=>({height:`${L.diameter}px`,width:`${L.diameter}px`,strokeWidth:`${L.strokeWidth}px`,strokeDashoffset:j.value,transition:`stroke-dashoffset ${L.animateSpeed}ms ${L.timingFunc}`})),a=SL(()=>({height:`${L.diameter}px`,width:`${L.diameter}px`,strokeWidth:`${L.innerStrokeWidth}px`})),g=SL(()=>({width:`${e.value}px`}));$j(()=>[L.diameter,L.totalSteps,L.completedSteps,L.strokeWidth],C,{immediate:!0});function o(h){const k=.5+.5*Math.cos(h),p=.5+.5*Math.sin(h);return{x:k,y:p}}function E(){const h=o(u.value);h.x&&h.y&&(M.fx=h.x,M.fy=h.y)}function f(){return L.isClockwise?1:-1}function C(){j.value=(100-y.value)/100*i.value*f(),A.value&&clearInterval(A.value);const h=(L.completedSteps-1)*r.value;let Y=(u.value-h)/s.value;const k=Math.abs(Y-D.value)/D.value,p=Y<D.value;A.value=setInterval(()=>{if(p&&Y>=D.value||!p&&Y<D.value){A.value&&clearInterval(A.value);return}u.value=h+s.value*Y,E(),Y+=p?k:-k},n.value)}return{gradientAnimation:A,innerCircleRadius:I,radialGradientId:t,strokeDashoffset:j,innerCircleStyle:g,containerStyle:T,circumference:i,progressStyle:c,currentAngle:u,strokeStyle:a,gradient:M,radius:N}}});const zOM=["width","height"],IOM=["id","fx","fy","cx","cy","r"],cOM=["stop-color"],aOM=["stop-color"],gOM=["r","cx","cy","stroke","stroke-dasharray","stroke-linecap"],oOM=["transform","r","cx","cy","stroke","stroke-dasharray","stroke-dashoffset","stroke-linecap"];function xOM(L,M,t,j,u,A){return v(),R("div",{class:"vrp__wrapper",style:Cj(L.containerStyle)},[z("div",{class:"vrp__inner",style:Cj(L.innerCircleStyle)},[jD(L.$slots,"default")],4),(v(),R("svg",{width:L.diameter,height:L.diameter,version:"1.1",xmlns:"http://www.w3.org/2000/svg"},[z("defs",null,[z("radialGradient",{id:L.radialGradientId,fx:L.gradient.fx,fy:L.gradient.fy,cx:L.gradient.cx,cy:L.gradient.cy,r:L.gradient.r},[z("stop",{offset:"30%","stop-color":L.startColor},null,8,cOM),z("stop",{offset:"100%","stop-color":L.stopColor},null,8,aOM)],8,IOM)]),z("circle",{r:L.innerCircleRadius,cx:L.radius,cy:L.radius,fill:"transparent",stroke:L.innerStrokeColor,"stroke-dasharray":L.circumference,"stroke-dashoffset":"0","stroke-linecap":L.strokeLinecap,style:Cj(L.strokeStyle)},null,12,gOM),z("circle",{transform:"rotate(270, "+L.radius+","+L.radius+")",r:L.innerCircleRadius,cx:L.radius,cy:L.radius,fill:"transparent",stroke:`url('#${L.radialGradientId}')`,"stroke-dasharray":L.circumference,"stroke-dashoffset":L.circumference,"stroke-linecap":L.strokeLinecap,style:Cj(L.progressStyle)},null,12,oOM)],8,zOM))],4)}function EOM(L,M){M===void 0&&(M={});var t=M.insertAt;if(!(!L||typeof document>"u")){var j=document.head||document.getElementsByTagName("head")[0],u=document.createElement("style");u.type="text/css",t==="top"&&j.firstChild?j.insertBefore(u,j.firstChild):j.appendChild(u),u.styleSheet?u.styleSheet.cssText=L:u.appendChild(document.createTextNode(L))}}var lOM=`
|
|
485
|
+
*/function A(N){return N>=65&&N<=90||N===95||N>=97&&N<=122||N>=192&&N<=214||N>=216&&N<=246||N>=248&&N<=767||N>=880&&N<=893||N>=895&&N<=8191||N>=8204&&N<=8205||N>=8304&&N<=8591||N>=11264&&N<=12271||N>=12289&&N<=55295||N>=63744&&N<=64975||N>=65008&&N<=65533||N>=65536&&N<=983039}Object.defineProperty(u,"__esModule",{value:!0}),u.NC_NAME_START_CHAR="A-Z_a-zÀ-ÖØ-öø-˿Ͱ-ͽͿ--⁰-Ⰰ-、-豈-﷏ﷰ-�𐀀-",u.NC_NAME_CHAR="-"+u.NC_NAME_START_CHAR+".0-9·̀-ͯ‿-⁀",u.NC_NAME_START_CHAR_RE=new RegExp("^["+u.NC_NAME_START_CHAR+"]$","u"),u.NC_NAME_CHAR_RE=new RegExp("^["+u.NC_NAME_CHAR+"]$","u"),u.NC_NAME_RE=new RegExp("^["+u.NC_NAME_START_CHAR+"]["+u.NC_NAME_CHAR+"]*$","u"),u.isNCNameStartChar=A,u.isNCNameChar=function(N){return A(N)||N===45||N===46||N>=48&&N<=57||N===183||N>=768&&N<=879||N>=8255&&N<=8256}},{}]},{},[15])(15)})})(uY);var Z0M=uY.exports;const AY=Sr(Z0M);var NY={exports:{}};(function(L,M){(function(t,j){j()})(GL,function(){function t(S,y){return typeof y>"u"?y={autoBom:!1}:typeof y!="object"&&(console.warn("Deprecated: Expected third argument to be a object"),y={autoBom:!y}),y.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(S.type)?new Blob(["\uFEFF",S],{type:S.type}):S}function j(S,y,r){var n=new XMLHttpRequest;n.open("GET",S),n.responseType="blob",n.onload=function(){i(n.response,y,r)},n.onerror=function(){console.error("could not download file")},n.send()}function u(S){var y=new XMLHttpRequest;y.open("HEAD",S,!1);try{y.send()}catch{}return 200<=y.status&&299>=y.status}function A(S){try{S.dispatchEvent(new MouseEvent("click"))}catch{var y=document.createEvent("MouseEvents");y.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),S.dispatchEvent(y)}}var N=typeof window=="object"&&window.window===window?window:typeof self=="object"&&self.self===self?self:typeof GL=="object"&&GL.global===GL?GL:void 0,e=N.navigator&&/Macintosh/.test(navigator.userAgent)&&/AppleWebKit/.test(navigator.userAgent)&&!/Safari/.test(navigator.userAgent),i=N.saveAs||(typeof window!="object"||window!==N?function(){}:"download"in HTMLAnchorElement.prototype&&!e?function(S,y,r){var n=N.URL||N.webkitURL,D=document.createElement("a");y=y||S.name||"download",D.download=y,D.rel="noopener",typeof S=="string"?(D.href=S,D.origin===location.origin?A(D):u(D.href)?j(S,y,r):A(D,D.target="_blank")):(D.href=n.createObjectURL(S),setTimeout(function(){n.revokeObjectURL(D.href)},4e4),setTimeout(function(){A(D)},0))}:"msSaveOrOpenBlob"in navigator?function(S,y,r){if(y=y||S.name||"download",typeof S!="string")navigator.msSaveOrOpenBlob(t(S,r),y);else if(u(S))j(S,y,r);else{var n=document.createElement("a");n.href=S,n.target="_blank",setTimeout(function(){A(n)})}}:function(S,y,r,n){if(n=n||open("","_blank"),n&&(n.document.title=n.document.body.innerText="downloading..."),typeof S=="string")return j(S,y,r);var D=S.type==="application/octet-stream",s=/constructor/i.test(N.HTMLElement)||N.safari,I=/CriOS\/[\d]+/.test(navigator.userAgent);if((I||D&&s||e)&&typeof FileReader<"u"){var T=new FileReader;T.onloadend=function(){var g=T.result;g=I?g:g.replace(/^data:[^;]*;/,"data:attachment/file;"),n?n.location.href=g:location=g,n=null},T.readAsDataURL(S)}else{var c=N.URL||N.webkitURL,a=c.createObjectURL(S);n?n.location=a:location.href=a,n=null,setTimeout(function(){c.revokeObjectURL(a)},4e4)}});N.saveAs=i.saveAs=i,L.exports=i})})(NY);var eY=NY.exports;const F0M={key:0,class:""},X0M={class:"popup-content relative border bg-white"},G0M={class:"flex justify-between"},W0M={class:"popup-body geLight -text-blue min-h-[25vh] px-8"},V0M={key:0,class:"flex items-start justify-center"},J0M={class:"mt-6 pt-1 text-center"},q0M={key:1,class:"row bot-text-left relative mb-4 ml-4 items-start md:ml-0 lg:ml-0"},K0M={class:"bot-text-left relative items-start"},_0M={class:"-text-blue mt-1 font-bold"},$0M={class:"flex items-center pt-6"},MSM={class:"modal-locked relative"},tSM={class:""},LSM={key:0,class:"shadow absolute top-10 z-10 max-h-72 w-72 divide-y divide-gray-100 overflow-y-scroll rounded-lg bg-white dark:bg-gray-700"},jSM={class:"py-2 text-sm text-gray-700 dark:text-gray-200","aria-labelledby":"dropdownHoverButton"},uSM=["onClick"],ASM=["onClick"],NSM={key:2,class:"absolute block bg-white px-4 pb-1 text-xs text-red-500"},eSM=["onClick"],iSM={key:0,class:"mt-1.5 text-red-500"},SSM={key:0},ySM={key:1,class:"pt-3"},rSM={class:"-text-blue rounded border border-gray-300 bg-gray-100 px-3 pb-3 pt-2"},nSM={class:"flex w-full flex-wrap text-xs"},DSM=["innerHTML"],sSM=["onClick"],TSM={class:"pt-1"},zSM={key:2,class:"flex items-start justify-center"},ISM={key:0,class:"pr-1 pt-0.5 text-center text-2xl"},cSM=kt({__name:"CoreskilluploadComponent",props:{name:{type:String}},emits:["updateprofilecore","coreskillemit","coreskillsfl","loadmyperformancecore","loadmyteamperformancecore","loadmyplancore"],setup(L,{emit:M}){const t=IL(),j=Tu(),u=V(!0),A=V(),N=V([]),e=V([]),i=V([]),S=V([]),y=V([]);let r=V(""),n=V("");const D=V(!1),s=V(!1),I=V(!1),T=V(!1),c=V(null);V(!1);const a=V(!1);V(!1),V(!1);const g=V({});V(!1),V(null);const o=V([]);oL(async()=>{var U,Q,w,x,O,l,d;a.value=!0,u.value=!1,document.addEventListener("click",h);try{const X=await HL("/delphi/mdm/skills",{categories:["digital_technology"]});e.value=((U=X==null?void 0:X.data)==null?void 0:U.result)||[],i.value=((Q=t.coreSkillsArray)==null?void 0:Q.coreSkills)||[],(w=t==null?void 0:t.coreSkillsArray)!=null&&w.existingCoreSkills&&(N.value=(x=t==null?void 0:t.coreSkillsArray)==null?void 0:x.existingCoreSkills),S.value=(O=t==null?void 0:t.coreSkillsArray)==null?void 0:O.existingCoreSkills,t.enteredCoreskillArray=(l=t==null?void 0:t.coreSkillsArray)==null?void 0:l.existingCoreSkills,g.value=(d=t==null?void 0:t.coreSkillsArray)==null?void 0:d.coreSkillConfugurationList[0],o.value=await E(i.value,e.value),a.value=!1}catch(b){a.value=!1,b.response?j.error(`${b.response.data.message}`):b.message?j.error(`${b.message}`):j.error("Failed to load data")}});const E=(U,Q)=>{var b,X;const w=[...U,...Q],x=new Map;w.forEach(B=>{x.set(B==null?void 0:B.subskillid,B)}),y.value=Array.from(x.values());const O=(b=y.value)==null?void 0:b.filter(B=>(B==null?void 0:B.parentskillid)===null),l=(X=y.value)==null?void 0:X.filter(B=>(B==null?void 0:B.parentskillid)!==null);return O.map(B=>{const G=l.filter(W=>W.parentskillid===B.subskillid);return{...B,subskill:G}})},f=async()=>{const U=new AY.Workbook;U.addWorksheet("Critical Skills",{properties:{tabColor:{argb:"F7BC66"}}});let Q=ej(y.value,"subskillname");const w=U.getWorksheet("Critical Skills");w.headerFooter.differentFirst=!0,w.headerFooter.firstHeader="Hello Exceljs",w.state="visible",w.columns=[{header:"Sr_No",key:"No",width:10},{header:`Criticalskills ( ${Q.length} )`,key:"subskillname",width:45}];let x=[];x=[{cell:"A1"},{cell:"B1"}];for(let O=0;O<x.length;O++)w.getCell(x[O].cell).fill={type:"pattern",pattern:"solid",fgColor:{argb:"F7BC66"},wrapText:!0};if(Q&&(Q!=null&&Q.length)){let O=1;Q.forEach(l=>{w.addRow({No:O++,subskillname:l.subskillname})}),await U.xlsx.writeBuffer().then(l=>{eY.saveAs(new Blob([l]),"Role-based Critical Skills Snapshot.xlsx")}).catch(l=>{})}else console.warn("action is undefined")},C=SL(()=>{var x,O;const U=(x=A.value)==null?void 0:x.trim().toLowerCase(),Q=(l,d)=>l==null?void 0:l.subskillname.localeCompare(d==null?void 0:d.subskillname);let w=(O=o.value)==null?void 0:O.map(l=>{const d=[...l.subskill].sort(Q);return{...l,subskill:d}});return U?w.map(l=>{const d=l.subskill.filter(X=>X.subskillname.toLowerCase().includes(U));return l.subskillname.toLowerCase().includes(U)||d.length>0?{...l,subskill:d.sort(Q)}:null}).filter(Boolean).sort(Q):w.sort(Q)});UA(()=>{document.removeEventListener("click",h)});const h=U=>{const Q=document.querySelector(".modal-locked");Q&&!Q.contains(U.target.parentNode)&&(D.value=!1)},Y=U=>{T.value=!T.value,c.value=U,setTimeout(()=>{T.value=!1,c.value=null},2e3)},k=async()=>{var U;if(N==null||N.value.forEach(Q=>{delete Q.subskill}),a.value=!0,u.value=!0,(N==null?void 0:N.value.length)>=3)try{const Q={core_skills:N==null?void 0:N.value,saveToProfileFlag:!0},w=await HL("/delphi/coreskills/save",Q);w&&!w.data.error?setTimeout(()=>{a.value=!1,u.value=!1},3e3):(r.value="Failed to add Critical skills",setTimeout(()=>{r.value=""},4e3),a.value=!1,u.value=!1)}catch(Q){Q.response?(r.value="Failed to add Critical skills",setTimeout(()=>{r.value=""},4e3)):Q.message?j.error(`${Q.message}`):j.error("Failed to add Critical skills"),a.value=!1,u.value=!1}else a.value=!1,u.value=!1,r.value=`Oops! You need to add at least ${(U=g.value)==null?void 0:U.minimumCoreSkills} Critical skills to your profile`,setTimeout(()=>{r.value=""},4e3)},p=async U=>{N.value.splice(U,1),t.enteredCoreskillArray=N.value},m=async U=>{var Q,w,x,O;if(D.value=!1,console.log("val",U),(Q=S==null?void 0:S.value)==null||Q.forEach(l=>{(l==null?void 0:l.subskillid)===(U==null?void 0:U.subskillid)&&(I.value=!0,n.value=U==null?void 0:U.subskillname,r.value="already exists in Critical skills.",setTimeout(()=>{I.value=!1,n.value="",r.value=""},4e3))}),!I.value){let l=!1;(w=N.value)==null||w.forEach(d=>{d.subskillid===U.subskillid&&(l=!0)}),N.value.length>((x=g.value)==null?void 0:x.maximumCoreSkills)-1?(r.value=`Oops! You can add up to ${(O=g.value)==null?void 0:O.maximumCoreSkills} Critical skills to your profile`,setTimeout(()=>{r.value=""},4e3)):l?(n.value=U==null?void 0:U.subskillname,r.value="already exists in Critical skills.",setTimeout(()=>{n.value="",r.value="",l=!1},4e3)):(N.value.push(U),t.enteredCoreskillArray=N.value)}A.value=""};return $j(A,async U=>{U!=null&&U.length&&(D.value=!0)}),(U,Q)=>{var w,x,O;return TM(t).notificationArray?(v(),R("div",F0M,[z("div",X0M,[z("div",G0M,[Q[11]||(Q[11]=z("div",{class:"flex items-center py-5 text-center"},[z("div",{class:"h-3 w-10 bg-[#FFAB28]"}),z("div",{class:"ml-3 text-2xl font-bold"},"My Critical Skills")],-1)),!s.value&&N.value&&!((w=N.value)!=null&&w.length)?(v(),R("div",{key:0,class:"pointer z-30 p-2 text-right",onClick:Q[0]||(Q[0]=l=>s.value=!0)},Q[9]||(Q[9]=[z("img",{class:"",src:CL,alt:"Close"},null,-1)]))):(v(),R("div",{key:1,class:"pointer z-30 p-2 text-right",onClick:Q[1]||(Q[1]=l=>TM(t).coreskillcheckvalue==="coreprofile"?TM(t).componentCheckv6="Myprofile":TM(t).componentCheckv6="selection")},Q[10]||(Q[10]=[z("img",{class:"",src:CL,alt:"Close"},null,-1)])))]),z("div",W0M,[z("section",null,[s.value&&N.value&&!((x=N.value)!=null&&x.length)?(v(),R("div",V0M,[z("div",null,[Q[12]||(Q[12]=z("div",{class:"pr-1 pt-0.5 text-center text-2xl"},"Are you sure you want to close without submitting any critical skills?",-1)),Q[13]||(Q[13]=z("div",{class:"pr-1 pt-0.5 text-center"},"These skills will unlock personalized recommendations and help you get noticed for new opportunities at Genpact",-1)),z("div",J0M,[z("button",{class:"-bg-blue mr-2 inline-block rounded px-4 py-1.5 text-sm text-white",onClick:Q[2]||(Q[2]=l=>s.value=!1)},"Add Critical Skills")])])])):a.value?(v(),R("div",zSM,[z("div",null,[Q[27]||(Q[27]=z("div",{class:"flex items-start justify-center"},[z("img",{class:"w-24",src:nj,alt:"Loader Gif"})],-1)),u.value?(v(),R("div",ISM,[Q[23]||(Q[23]=PM(" Well done! Your critical skills are updated.")),Q[24]||(Q[24]=z("br",null,null,-1)),Q[25]||(Q[25]=PM(" Redirecting you to ")),z("span",{onClick:Q[8]||(Q[8]=l=>TM(t).componentCheckv6="Myprofile"),class:"cursor-pointer underline"},"My Profile"),Q[26]||(Q[26]=PM(" "))])):yM("",!0)])])):(v(),R("div",q0M,[z("div",K0M,[Q[20]||(Q[20]=z("div",{class:"-text-blue mt-1 font-bold"},[PM(" These are the skills you’ve been actively using in your current role — especially in the last 18 months."),z("br"),PM(" They will power your learning recommendations and make you visible for the right internal opportunities. ")],-1)),Q[21]||(Q[21]=z("div",{class:"-text-blue mt-5 font-ge-bold"},[z("b",null,"What to do ")],-1)),Q[22]||(Q[22]=z("div",{class:"-text-blue pt-0.5 text-[15px]"},[z("ul",{class:"ml-4 list-disc"},[z("li",null,"Pick 3–5 skills that reflect your current work "),z("li",null,"Use the search bar to find and select skills from the list"),z("li",null,"If a skill doesn’t show up, it’s not applicable for your role")])],-1)),z("div",_0M,[Q[14]||(Q[14]=PM(" Your selected skills will also appear on ")),z("span",{onClick:Q[3]||(Q[3]=l=>TM(t).componentCheckv6="Myprofile"),class:"cursor-pointer underline"},"My Profile"),Q[15]||(Q[15]=PM(" at Intermediate level and can be updated anytime. "))]),z("div",$0M,[z("div",MSM,[z("div",tSM,[Yt(z("input",{onClick:Q[4]||(Q[4]=l=>D.value=!D.value),"onUpdate:modelValue":Q[5]||(Q[5]=l=>A.value=l),type:"text",class:"-text-blue h-9 w-64 border border-gray-400 px-2 py-1.5 text-[15px] outline-none focus:outline-none md:placeholder:text-center lg:placeholder:text-center",placeholder:"Select or Search skills"},null,512),[[Lj,A.value]]),Q[16]||(Q[16]=z("div",{class:"absolute inset-y-0 end-4 flex items-center ps-3"},[z("svg",{class:"h-3 w-3 text-gray-500","aria-hidden":"true",fill:"none",viewBox:"0 0 20 20"},[z("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"m19 19-4-4m0-7A7 7 0 1 1 1 8a7 7 0 0 1 14 0Z"})])],-1))]),D.value?(v(),R("div",LSM,[z("ul",jSM,[(v(!0),R(WM,null,et(C.value,(l,d)=>{var b;return v(),R("li",{key:d},[(b=l==null?void 0:l.subskill)!=null&&b.length?(v(),R("a",{key:0,onClick:X=>Y(d),class:"block px-4 py-2 font-bold"},aM(l==null?void 0:l.subskillname),9,uSM)):(v(),R("a",{key:1,onClick:X=>m(l),class:"block px-4 py-2 font-bold hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white"},aM(l==null?void 0:l.subskillname),9,ASM)),T.value&&c.value===d?(v(),R("p",NSM,"Please choose a more specific skill under this category")):yM("",!0),(v(!0),R(WM,null,et(l==null?void 0:l.subskill,(X,B)=>(v(),R("div",{key:B},[z("span",{class:"block cursor-pointer pb-1 pl-6 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white",onClick:G=>m(X)},aM(X==null?void 0:X.subskillname),9,eSM)]))),128))])}),128))])])):yM("",!0)]),z("div",{class:"ml-3 hidden cursor-pointer underline md:block lg:block",onClick:Q[6]||(Q[6]=l=>f())},"Role-based Critical Skills Snapshot"),Q[17]||(Q[17]=z("a",{target:"_blank",href:"https://genpactonline.sharepoint.com/sites/Tech_Capability_Academy_Microsite/Shared%20Documents/Forms/AllItems.aspx?id=%2fsites%2fTech_Capability_Academy_Microsite%2fShared%20Documents%2fMicrosite%2fFAQs%20on%20DTAI%20Critical%20Skills%20Declaration%20Feature%20on%20Genome.ai.pdf&parent=%2fsites%2fTech_Capability_Academy_Microsite%2fShared%20Documents%2fMicrosite&p=true&ga=1",class:"ml-3 cursor-pointer text-red-500 underline"},"FAQ",-1))]),TM(r)!==""?(v(),R("div",iSM,[TM(n)!==""?(v(),R("b",SSM,aM(TM(n)),1)):yM("",!0),PM(" "+aM(TM(r)),1)])):yM("",!0),N.value&&((O=N.value)!=null&&O.length)?(v(),R("div",ySM,[z("div",rSM,[Q[19]||(Q[19]=z("div",{class:"flex justify-end"},null,-1)),z("div",nSM,[(v(!0),R(WM,null,et(N.value,(l,d)=>(v(),R("div",{key:d,class:"-text-gray mr-1 mt-1 flex items-center justify-between border border-gray-400 bg-white px-2 py-1.5"},[z("span",{innerHTML:l==null?void 0:l.ui_alias},null,8,DSM),z("span",{onClick:b=>p(d),class:"pointer pl-2"},Q[18]||(Q[18]=[z("svg",{class:"h-2 w-2","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 14 14"},[z("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"m1 1 6 6m0 0 6 6M7 7l6-6M7 7l-6 6"})],-1)]),8,sSM)]))),128))])]),z("div",TSM,[z("button",{class:"-bg-blue mr-2 inline-block rounded px-4 py-1.5 text-sm text-white",onClick:Q[7]||(Q[7]=l=>k())},"Submit")])])):yM("",!0)])]))])])])])):yM("",!0)}}}),LCt="",iY=jL(cSM,[["__scopeId","data-v-d6968832"]]),aSM={key:0,class:"z-50"},gSM={class:"popup-content shadow-lg w-full bg-white md:w-2/5 lg:w-2/5"},oSM={class:"flex w-full justify-end p-6"},xSM={key:1,class:"z-50"},ESM={class:"popup-content shadow-lg w-full bg-white md:w-3/5 lg:w-3/5"},lSM={class:"mt-6 flex w-full justify-end pr-6"},OSM={class:"popup-body geLight -text-blue px-8 py-12"},dSM=["innerHTML"],wSM={key:2,class:"z-50"},fSM={class:"fixed -top-6 left-0 z-50 flex h-full min-h-screen w-full items-center justify-center bg-[#707070] bg-opacity-30 p-2 text-[15px] md:top-0 md:p-0 lg:top-0 lg:p-0"},CSM={class:"popup-content shadow-lg w-full bg-white md:w-3/5 lg:w-3/5"},QSM={class:"popup-body geLight -text-blue h-96 overflow-auto px-8 py-12 md:h-auto lg:h-auto"},USM={class:"pt-2"},hSM={class:"pt-6 text-center"},YSM=["disabled"],vSM={key:3,class:"z-50"},kSM={class:"fixed -top-6 left-0 z-50 flex h-full min-h-screen w-full items-center justify-center bg-[#707070] bg-opacity-30 p-2 text-[15px] md:top-0 md:p-0 lg:top-0 lg:p-0"},pSM={class:"popup-content shadow-lg h-5/6 w-full overflow-auto bg-white md:h-auto md:w-3/5 lg:h-auto lg:w-3/5"},mSM={class:"flex w-full justify-end pr-4 pt-4"},bSM={key:4,class:"z-[50]"},PSM={class:"fixed -top-6 left-0 z-[50] flex h-full min-h-screen w-full items-center justify-center bg-[#707070] bg-opacity-30 p-2 text-[15px] md:top-0 md:p-0 lg:top-0 lg:p-0"},RSM={class:"popup-content shadow-lg h-4/6 min-h-[20vh] w-full overflow-auto bg-white md:w-3/5 lg:w-3/5"},BSM={class:"flex w-full justify-end pr-4 pt-4"},HSM={class:"popup-body geLight -text-blue px-8 py-2"},ZSM={key:5,class:"z-50"},FSM={class:"fixed -top-6 left-0 z-50 flex h-full min-h-screen w-full items-center justify-center bg-[#707070] bg-opacity-30 p-2 text-[15px] md:top-0 md:p-0 lg:top-0 lg:p-0"},XSM={class:"popup-content shadow-lg h-5/6 w-full overflow-auto bg-white md:h-auto md:w-3/5 lg:h-auto lg:w-3/5"},GSM={class:"popup-body geLight -text-blue px-8 py-12"},WSM={class:"-text-blue pl-1 pt-3 text-lg font-bold"},VSM={class:"pt-6 text-center"},JSM=["disabled"],qSM={key:6,class:"z-50"},KSM={class:"popup-content shadow-lg w-full bg-white md:w-3/5 lg:w-3/5"},_SM={class:"flex w-full justify-end p-4"},$SM={class:"popup-body geLight -text-blue h-[370px] overflow-auto px-8 py-12"},MyM=["innerHTML"],tyM={key:7,class:"z-50"},LyM={class:"fixed -top-6 left-0 z-50 flex h-full min-h-screen w-full items-center justify-center bg-[#707070] bg-opacity-30 p-2 text-[15px] md:top-0 md:p-0 lg:top-0 lg:p-0"},jyM={class:"popup-content shadow-lg w-full bg-white md:w-3/5 lg:w-3/5"},uyM={class:"-text-blue geLight popup-body h-96 overflow-y-auto px-8 py-12 md:h-auto lg:h-auto"},AyM={class:"-text-blue pl-1 pt-3 text-lg font-bold"},NyM={class:"pt-6 text-center"},eyM=["disabled"],iyM={key:8,class:"z-50"},SyM={class:"fixed -top-6 left-0 z-50 flex h-full min-h-screen w-full items-center justify-center bg-[#707070] bg-opacity-30 p-2 text-[15px] md:top-0 md:p-0 lg:top-0 lg:p-0"},yyM={class:"popup-content shadow-lg w-full bg-white md:w-3/5 lg:w-3/5"},ryM={class:"-text-blue geLight popup-body h-96 overflow-y-auto px-8 py-12 md:h-auto lg:h-auto"},nyM={class:"-text-blue pl-1 pt-3 text-lg font-bold"},DyM={class:"pt-6 text-center"},syM=["disabled"],TyM={key:9,class:"z-50"},zyM={class:"popup-content shadow-lg h-5/6 w-full overflow-auto bg-white md:h-auto md:w-3/5 lg:h-auto lg:w-3/5"},IyM={class:"popup-body geLight -text-blue px-8 py-12"},cyM={class:"pt-6 text-center"},ayM={key:10,class:"z-50"},gyM={class:"popup-content shadow-lg h-5/6 w-full overflow-auto bg-white md:h-auto md:w-3/5 lg:h-auto lg:w-3/5"},oyM={class:"flex w-full justify-end pr-4"},xyM={class:"popup-body geLight -text-blue px-8 py-4"},EyM={class:"-text-gray"},lyM={class:"pt-6 text-center"},OyM={key:11,class:"z-50"},dyM={class:"popup-content shadow-lg h-5/6 w-full overflow-auto bg-white md:h-auto md:w-3/5 lg:h-auto lg:w-3/5"},wyM={class:"flex w-full justify-end pr-4"},fyM={class:"popup-body geLight -text-blue px-8 pb-4"},CyM={class:"-text-gray"},QyM={class:"pt-6 text-center"},UyM={key:12,class:"z-50"},hyM={class:"popup-content shadow-lg w-full overflow-auto bg-white md:h-auto md:w-3/5 lg:h-auto lg:w-3/5"},YyM={class:"flex w-full justify-end pr-4 pt-4"},vyM={class:"popup-body geLight -text-blue px-8 py-12"},kyM={class:"pt-6 text-center"},pyM={key:13,class:"z-50"},myM={class:"popup-content shadow-lg w-full overflow-auto bg-white md:h-auto md:w-3/5 lg:h-auto lg:w-3/5"},byM={class:"flex w-full justify-end pr-4 pt-4"},PyM={class:"popup-body geLight -text-blue px-8 py-12"},RyM={class:"flex justify-center pt-6"},ByM={key:14,class:"z-50"},HyM={class:"popup-content shadow-lg w-full overflow-auto bg-white md:h-auto md:w-3/5 lg:h-auto lg:w-3/5"},ZyM={class:"flex w-full justify-end pr-4 pt-4"},FyM={class:"popup-body geLight -text-blue px-8 py-12"},XyM={class:"pt-6 text-center"},GyM={key:15,class:"z-50"},WyM={class:"fixed -top-6 left-0 z-50 flex h-full min-h-screen w-full items-center justify-center bg-[#707070] bg-opacity-30 p-2 text-[15px] md:top-0 md:p-0 lg:top-0 lg:p-0"},VyM={class:"popup-content shadow-lg w-full overflow-auto bg-white md:h-auto md:w-3/5 lg:h-auto lg:w-3/5"},JyM={class:"popup-body geLight -text-blue px-8 py-12"},qyM={class:"pt-6 text-center"},KyM={key:16,class:"z-50"},_yM={class:"fixed -top-6 left-0 z-50 flex h-full min-h-screen w-full items-center justify-center bg-[#707070] bg-opacity-30 p-2 text-[15px] md:top-0 md:p-0 lg:top-0 lg:p-0"},$yM={class:"popup-content shadow-lg relative w-full bg-white md:h-auto md:w-3/5 lg:h-auto lg:w-3/5"},MrM={key:0,class:"absolute right-4 top-[-10px]"},trM={class:"popup-body geLight -text-blue mt-4 px-8"},LrM={key:0,class:"mx-auto w-14",src:nj,alt:"Loader Gif"},jrM={key:1},urM={class:"pt-6 text-center"},ArM={key:17,class:"z-50"},NrM={class:"fixed -top-6 left-0 z-50 flex h-full min-h-screen w-full items-center justify-center bg-[#707070] bg-opacity-30 p-2 text-[15px] md:top-0 md:p-0 lg:top-0 lg:p-0"},erM={class:"popup-content shadow-lg w-full bg-white md:w-3/5 lg:w-3/5"},irM={class:"-text-blue geLight popup-body h-96 overflow-y-auto px-8 py-12 md:h-auto lg:h-auto"},SrM={class:"flex w-1/2 justify-between"},yrM={class:"flex"},rrM={class:"flex"},nrM={class:"flex"},DrM={class:"pt-6 text-center"},srM={key:18,class:"z-50"},TrM={class:"fixed -top-6 left-0 z-50 flex h-full min-h-screen w-full items-center justify-center bg-[#707070] bg-opacity-30 p-2 text-[15px] md:top-0 md:p-0 lg:top-0 lg:p-0"},zrM={class:"popup-content shadow-lg relative w-full bg-white md:w-3/5 lg:w-3/5"},IrM={class:"absolute right-4 top-[-10px]"},crM={class:"mt-14 max-h-full w-full"},arM={class:""},grM={class:"-text-blue relative p-4"},orM={class:"pt-3"},xrM={class:"pt-3"},ErM=["href"],lrM=kt({__name:"PopupComponent",props:{text:{type:String},name:{type:String},showdiscription:{type:Boolean,default:()=>!1},discriptioValue:{type:Object,default:()=>{}},Question:{type:String,default:()=>""}},emits:["consetvalueemit","skipinputvalueemit","resumeUploadvalueemit","submitprofileemit","coreskillemit","removeskillemit","startoveremit"],setup(L,{emit:M}){const t=IL(),j=Tu(),u=L,A=V(!1),N=V(!1),e=V(!1),i=V(!1),S=V(!1);V(!1),V();const y=V(null);V(),V(),V();const r=M;oL(async()=>{console.log("propspropspropspropsprops ",u)});const n=async c=>{await HL("/delphi/event",{event_type:c})},D=async()=>{await HL("/delphi/learner/preferences",{nextBestAction:"generateLearningPlan"}),window.location.href="/aiguru-copilot",r("consetvalueemit",!1)},s=async()=>{r("consetvalueemit",!1)},I=async()=>{var c;A.value=!0,(c=t.enteredCoreskillArray)==null||c.forEach(a=>{delete a.subskill});try{console.log("delphiStore.enteredCoreskillArray",t.enteredCoreskillArray);const a={core_skills:t.enteredCoreskillArray,saveToProfileFlag:!0},g=await HL("/delphi/coreskills/save",a);g&&!g.data.error?setTimeout(()=>{r("consetvalueemit",!1),t.initFunction(),A.value=!1},3e3):(r("consetvalueemit",!1),j.error("Failed to add Critical skills"))}catch(a){a.response?(A.value=!1,r("consetvalueemit",!1),j.error(`${a.response.data.message}`)):a.message?j.error(`${a.message}`):j.error("Failed to add Critical skills")}},T=async()=>{var a,g;const c=(g=(a=t.coreSkillsArray)==null?void 0:a.existingCoreSkills)==null?void 0:g.find(o=>{var E;return!((E=t.enteredCoreskillArray)!=null&&E.find(f=>(o==null?void 0:o.subskillid)===(f==null?void 0:f.subskillid)))});c?e.value=!0:r("consetvalueemit",!1),console.log("immm",c)};return $j(N,c=>{r("consetvalueemit",!c)}),$j(i,c=>{r("consetvalueemit",!c),c===!0&&localStorage.setItem("showdelphiPopup","true")}),(c,a)=>{var g,o;return L.name==="genomework"?(v(),R("section",aSM,[z("div",{class:"fixed -top-6 left-0 z-50 flex h-full min-h-screen w-full items-center justify-center bg-[#707070] bg-opacity-30 p-2 text-[15px] md:top-0 md:p-0 lg:top-0 lg:p-0",onClick:a[1]||(a[1]=E=>c.$emit("consetvalueemit",!1))},[z("div",gSM,[z("div",oSM,[z("span",{class:"pointer pl-2 text-right",onClick:a[0]||(a[0]=E=>c.$emit("consetvalueemit",!1))},a[48]||(a[48]=[z("img",{class:"",src:CL,alt:"Close"},null,-1)]))]),a[49]||(a[49]=z("div",{class:"popup-body geLight -text-blue px-8 py-12"},[z("video",{width:"500",height:"440",class:"border",controls:""},[z("source",{src:"https://genomedev.blob.core.windows.net/genome-aws-home/Gen AI Powered Genome v1.mp4",type:"video/mp4"})])],-1))])])])):L.name==="question"?(v(),R("section",xSM,[z("div",{class:"fixed -top-6 left-0 z-50 flex h-full min-h-screen w-full items-center justify-center bg-[#707070] bg-opacity-30 p-2 text-[15px] md:top-0 md:p-0 lg:top-0 lg:p-0",onClick:a[3]||(a[3]=E=>c.$emit("consetvalueemit",!1))},[z("div",ESM,[z("div",lSM,[z("span",{class:"pointer pl-2 text-right",onClick:a[2]||(a[2]=E=>c.$emit("consetvalueemit",!1))},a[50]||(a[50]=[z("img",{class:"",src:CL,alt:"Close"},null,-1)]))]),z("div",OSM,[z("div",{class:"",innerHTML:L.Question},null,8,dSM)])])])])):L.name==="homepage"?(v(),R("section",wSM,[z("div",fSM,[z("div",CSM,[z("div",QSM,[a[52]||(a[52]=z("div",{class:"text-lg font-bold"},"Important instructions",-1)),a[53]||(a[53]=z("ul",{class:"ul-text1 -text-gray py-2 pl-6"},[z("li",null," Some Genome features are powered by Generative AI and may not be 100% perfect. You have the option to choose AI suggestions or not as you continue your learning journey. Feel free to share your feedback to help improve the features. "),z("li",null,[PM(" Refer to our "),z("a",{href:"https://genpactonline.sharepoint.com/sites/Legal/Compliance/Pages/index.aspx",target:"_blank",class:"underline"},[z("b",null,"Code of Conduct")]),PM(" Document and "),z("a",{href:"https://dcl.genpact.com/document/9fba671f-08c2-48bf-89d6-a591971bd16c",target:"_blank",class:"underline"},[z("b",null,"ChatGPT and Use of AI Programs Policy")]),PM(" before you proceed. ")]),z("li",null,"Maintain confidentiality, refrain from sharing any confidential information such as client names, company financials, or Genpact proprietary information.")],-1)),z("div",USM,[Yt(z("input",{"onUpdate:modelValue":a[4]||(a[4]=E=>S.value=E),class:"mr-1 text-blue-900 outline-none",type:"checkbox"},null,512),[[Yj,S.value]]),a[51]||(a[51]=PM(" I acknowledge that I have read, understand, and agree to the above instructions."))]),z("div",hSM,[z("button",{disabled:!S.value,class:yt([S.value?"-bg-blue inline-block rounded px-6 py-2 text-white":"inline-block rounded bg-gray-400 px-6 py-2 text-white"]),onClick:a[5]||(a[5]=E=>{i.value=!0,n("landing_page_consent")})}," Proceed ",10,YSM)])])])])])):L.name==="importantinstruct"?(v(),R("section",vSM,[z("div",kSM,[z("div",pSM,[z("div",mSM,[z("span",{class:"pointer pl-2 text-right",onClick:a[6]||(a[6]=E=>c.$emit("consetvalueemit",!1))},a[54]||(a[54]=[z("img",{class:"",src:CL,alt:"Close"},null,-1)]))]),a[55]||(a[55]=Pj('<div class="popup-body geLight -text-blue px-8 py-12" data-v-d51c2891><div class="text-lg font-bold" data-v-d51c2891>Important instructions</div><ul class="ul-text1 -text-gray pl-6 pt-2" data-v-d51c2891><li data-v-d51c2891> Some Genome features are powered by Generative AI and may not be 100% perfect. You have the option to choose AI suggestions or not as you continue your learning journey. Feel free to share your feedback to help improve the features. </li><li data-v-d51c2891> Refer to our <a href="https://genpactonline.sharepoint.com/sites/Legal/Compliance/Pages/index.aspx" target="_blank" class="underline" data-v-d51c2891><b data-v-d51c2891>Code of Conduct</b></a> Document and <a href="https://dcl.genpact.com/document/9fba671f-08c2-48bf-89d6-a591971bd16c" target="_blank" class="underline" data-v-d51c2891><b data-v-d51c2891>ChatGPT and Use of AI Programs Policy</b></a> before you proceed. </li><li data-v-d51c2891>Maintain confidentiality, refrain from sharing any confidential information such as client names, company financials, or Genpact proprietary information.</li></ul></div>',1))])])])):L.name==="notification"?(v(),R("section",bSM,[z("div",PSM,[z("div",RSM,[z("div",BSM,[z("span",{class:"pointer pl-2 text-right",onClick:a[7]||(a[7]=E=>c.$emit("consetvalueemit",!1))},a[56]||(a[56]=[z("img",{class:"",src:CL,alt:"Close"},null,-1)]))]),z("div",HSM,[dt(vh)])])])])):L.name==="skillselection"?(v(),R("section",ZSM,[z("div",FSM,[z("div",XSM,[z("div",GSM,[a[58]||(a[58]=z("div",{class:"text-lg font-bold"},"Please check the box below to confirm",-1)),a[59]||(a[59]=z("ul",{class:"ul-text1 -text-gray pl-6 pt-2"},[z("li",null,[PM("I hereby affirm and declare that the information I provided or will provide about my skills on "),z("b",null,"My Skills Profile"),PM(" is current, complete, true, and accurate.")]),z("li",null,"I hereby declare that I meet all the requirements for the skill(s) and proficiency level(s) that I have marked, and that I meet all the requirements for the skill(s) and proficiency level(s) that I will mark."),z("li",null,[PM(" I am aware that the details submitted by me on "),z("b",null,"My Skills Profile"),PM(" will be used to determine my eligibility for roles and projects within Genpact and if such information has been falsified, Genpact reserves the right to disengage me from the role or project or withdraw "),z("b",null,"My Skills Profile"),PM(" from the role or project and initiate actions in accordance with law and/or company policies and procedures. ")])],-1)),z("div",WSM,[Yt(z("input",{"onUpdate:modelValue":a[8]||(a[8]=E=>S.value=E),class:"mr-1 text-blue-900 outline-none",type:"checkbox"},null,512),[[Yj,S.value]]),a[57]||(a[57]=PM(" I confirm"))]),z("div",VSM,[z("button",{disabled:!S.value,class:yt([S.value?"-bg-blue inline-block rounded px-6 py-2 text-white":"inline-block rounded bg-gray-400 px-6 py-2 text-white"]),onClick:a[9]||(a[9]=E=>{N.value=!0,n("save_my_profile_consent")})}," Proceed ",10,JSM)])])])])])):L.name==="showdiscription"?(v(),R("section",qSM,[z("div",{class:"fixed -top-6 left-0 z-50 flex h-full min-h-screen w-full items-center justify-center bg-[#707070] bg-opacity-30 p-2 text-[15px] md:top-0 md:p-0 lg:top-0 lg:p-0",onClick:a[11]||(a[11]=E=>c.$emit("consetvalueemit",!1))},[z("div",KSM,[z("div",_SM,[z("span",{class:"pointer pl-2 text-right",onClick:a[10]||(a[10]=E=>c.$emit("consetvalueemit",!1))},a[60]||(a[60]=[z("img",{class:"",src:CL,alt:"Close"},null,-1)]))]),z("div",$SM,[z("div",{class:"text-left",innerHTML:(o=(g=L.discriptioValue)==null?void 0:g.descriptionPopupvalue)==null?void 0:o.skilldescription},null,8,MyM)])])])])):L.name==="resumeupload"?(v(),R("section",tyM,[z("div",LyM,[z("div",jyM,[z("div",uyM,[a[62]||(a[62]=z("div",{class:"-text-gray"}," We will use your resume only to extract the relevant skills and match them with the skills available in Genome. We will not use your data for any other purposes. Please note that we will not retain your resume within Genome – this will be automatically discarded as soon as the relevant skills have been suggested to you. You may choose whether to add them to your profile or not. ",-1)),a[63]||(a[63]=z("p",{class:"-text-gray pt-2"},"Please check the box below to confirm:",-1)),a[64]||(a[64]=z("ul",{class:"ul-text1 -text-gray pl-6 pt-2"},[z("li",null,"I hereby affirm and declare that the information I provided or will provide about my skills on My Skills Profile is current, complete, true, and accurate."),z("li",null,"I hereby declare that I meet all the requirements for the skill(s) and proficiency level(s) that I have marked, and that I meet all the requirements for the skill(s) and proficiency level(s) that I will mark."),z("li",null," I am aware that the details submitted by me on My Skills Profile will be used to determine my eligibility for roles and projects within Genpact and if such information has been falsified, Genpact reserves the right to disengage me from the role or project or withdraw my profile from the role or project and initiate actions in accordance with law and/or company policies and procedures. ")],-1)),z("div",AyM,[Yt(z("input",{"onUpdate:modelValue":a[12]||(a[12]=E=>S.value=E),class:"mr-1 text-blue-900 outline-none",type:"checkbox"},null,512),[[Yj,S.value]]),a[61]||(a[61]=PM(" I confirm"))]),z("div",NyM,[z("button",{disabled:!S.value,class:yt([S.value?"-bg-blue inline-block rounded px-6 py-2 text-white":"inline-block rounded bg-gray-400 px-6 py-2 text-white"]),onClick:a[13]||(a[13]=E=>(r("consetvalueemit",!1),r("skipinputvalueemit",!1),r("resumeUploadvalueemit",!0)))}," Agree and proceed ",10,eyM)])])])])])):L.name==="manualentry"?(v(),R("section",iyM,[z("div",SyM,[z("div",yyM,[z("div",ryM,[a[66]||(a[66]=z("div",{class:"text-lg font-bold"},"Important instructions",-1)),a[67]||(a[67]=z("p",{class:"-text-gray pt-2"},"Please check the box below to confirm:",-1)),a[68]||(a[68]=z("ul",{class:"ul-text1 -text-gray pl-6 pt-2"},[z("li",null,"I hereby affirm and declare that the information I provided or will provide about my skills on My Skills Profile is current, complete, true, and accurate."),z("li",null,"I hereby declare that I meet all the requirements for the skill(s) and proficiency level(s) that I have marked, and that I meet all the requirements for the skill(s) and proficiency level(s) that I will mark."),z("li",null," I am aware that the details submitted by me on My Skills Profile will be used to determine my eligibility for roles and projects within Genpact and if such information has been falsified, Genpact reserves the right to disengage me from the role or project or withdraw my profile from the role or project and initiate actions in accordance with law and/or company policies and procedures. ")],-1)),z("div",nyM,[Yt(z("input",{"onUpdate:modelValue":a[14]||(a[14]=E=>S.value=E),class:"mr-1 text-blue-900 outline-none",type:"checkbox"},null,512),[[Yj,S.value]]),a[65]||(a[65]=PM(" I confirm"))]),z("div",DyM,[z("button",{disabled:!S.value,class:yt([S.value?"-bg-blue inline-block rounded px-6 py-2 text-white":"inline-block rounded bg-gray-400 px-6 py-2 text-white"]),onClick:a[15]||(a[15]=E=>(r("consetvalueemit",!1),r("skipinputvalueemit",!0),r("resumeUploadvalueemit",!1)))}," Agree and proceed ",10,syM)])])])])])):L.name==="atlistoneskill"?(v(),R("section",TyM,[z("div",{onClick:a[17]||(a[17]=E=>c.$emit("consetvalueemit",!1)),class:"fixed -top-6 left-0 z-50 flex h-full min-h-screen w-full items-center justify-center bg-[#707070] bg-opacity-30 p-2 text-[15px] md:top-0 md:p-0 lg:top-0 lg:p-0"},[z("div",zyM,[z("div",IyM,[a[69]||(a[69]=z("div",{class:"text-lg font-bold"},"Oops!",-1)),a[70]||(a[70]=z("p",{class:"-text-gray pt-2"},"Need at least one subskill to proceed",-1)),z("div",cyM,[z("button",{class:"-bg-blue inline-block cursor-pointer rounded px-6 py-2 text-white",onClick:a[16]||(a[16]=E=>r("consetvalueemit",!1))},"Continue")])])])])])):L.name==="coreskillerror"?(v(),R("section",ayM,[z("div",{onClick:a[21]||(a[21]=E=>c.$emit("consetvalueemit",!1)),class:"fixed -top-6 left-0 z-50 flex h-full min-h-screen w-full items-center justify-center bg-[#707070] bg-opacity-30 p-2 text-[15px] md:top-0 md:p-0 lg:top-0 lg:p-0"},[z("div",gyM,[z("div",oyM,[z("span",{class:"pointer pl-2 text-right",onClick:a[18]||(a[18]=E=>c.$emit("consetvalueemit",!1))},a[71]||(a[71]=[z("img",{class:"",src:CL,alt:"Close"},null,-1)]))]),z("div",xyM,[z("p",EyM,[z("b",null,aM(L.text),1)]),z("div",lyM,[z("button",{id:"removeskill-ok",class:"-bg-blue mr-3 inline-block cursor-pointer rounded px-6 py-2 text-white",onClick:a[19]||(a[19]=E=>r("removeskillemit",!0))},"ok"),z("button",{id:"removeskill-cancel",class:"-bg-blue inline-block cursor-pointer rounded px-6 py-2 text-white",onClick:a[20]||(a[20]=E=>r("consetvalueemit",!1))},"Cancel")])])])])])):L.name==="removesubskill"?(v(),R("section",OyM,[z("div",{onClick:a[25]||(a[25]=E=>c.$emit("consetvalueemit",!1)),class:"fixed -top-6 left-0 z-50 flex h-full min-h-screen w-full items-center justify-center bg-[#707070] bg-opacity-30 p-2 text-[15px] md:top-0 md:p-0 lg:top-0 lg:p-0"},[z("div",dyM,[z("div",wyM,[z("span",{class:"pointer pl-2 text-right",onClick:a[22]||(a[22]=E=>c.$emit("consetvalueemit",!1))},a[72]||(a[72]=[z("img",{class:"",src:CL,alt:"Close"},null,-1)]))]),z("div",fyM,[z("p",CyM,[z("b",null,aM(L.text),1)]),z("div",QyM,[z("button",{id:"removesubskill-ok",class:"-bg-blue mr-3 inline-block cursor-pointer rounded px-6 py-2 text-white",onClick:a[23]||(a[23]=E=>r("removeskillemit",!0))},"ok"),z("button",{id:"removesubskill-cancel",class:"-bg-blue inline-block cursor-pointer rounded px-6 py-2 text-white",onClick:a[24]||(a[24]=E=>r("consetvalueemit",!1))},"Cancel")])])])])])):L.name==="digestpopup"?(v(),R("section",UyM,[z("div",{onClick:a[28]||(a[28]=E=>c.$emit("consetvalueemit",!1)),class:"fixed -top-6 left-0 z-50 flex h-full min-h-screen w-full items-center justify-center bg-[#707070] bg-opacity-30 p-2 text-[15px] md:top-0 md:p-0 lg:top-0 lg:p-0"},[z("div",hyM,[z("div",YyM,[z("span",{class:"pointer pl-2 text-right",onClick:a[26]||(a[26]=E=>c.$emit("consetvalueemit",!1))},a[73]||(a[73]=[z("img",{class:"",src:CL,alt:"Close"},null,-1)]))]),z("div",vyM,[a[74]||(a[74]=z("div",{class:"text-lg font-bold"},"Pause and Verify!",-1)),a[75]||(a[75]=z("p",{class:"-text-gray pt-2"},"Ensure Gen AI got all your skills accurately, including proficiency. Double-check before you submit.",-1)),z("div",kyM,[z("button",{class:"-bg-blue inline-block cursor-pointer rounded px-6 py-2 text-white",onClick:a[27]||(a[27]=E=>(r("consetvalueemit",!1),r("submitprofileemit",!0)))},"Continue")])])])])])):L.name==="startoverpopup"?(v(),R("section",pyM,[z("div",{onClick:a[32]||(a[32]=E=>c.$emit("consetvalueemit",!1)),class:"fixed -top-6 left-0 z-50 flex h-full min-h-screen w-full items-center justify-center bg-[#707070] bg-opacity-30 p-2 text-[15px] md:top-0 md:p-0 lg:top-0 lg:p-0"},[z("div",myM,[z("div",byM,[z("span",{class:"pointer pl-2 text-right",onClick:a[29]||(a[29]=E=>c.$emit("consetvalueemit",!1))},a[76]||(a[76]=[z("img",{class:"",src:CL,alt:"Close"},null,-1)]))]),z("div",PyM,[a[77]||(a[77]=z("div",{class:"text-lg font-bold"},"Pause and Verify!",-1)),a[78]||(a[78]=z("p",{class:"-text-gray pt-2"},"Your skills in the draft will get erased.",-1)),z("div",RyM,[z("button",{class:"-bg-blue mr-3 inline-block cursor-pointer rounded px-6 py-2 text-white",onClick:a[30]||(a[30]=E=>r("startoveremit",!0))},"Continue"),z("button",{class:"-bg-blue inline-block cursor-pointer rounded px-6 py-2 text-white",onClick:a[31]||(a[31]=E=>r("consetvalueemit",!1))},"Cancel")])])])])])):L.name==="onloadpopup"?(v(),R("section",ByM,[z("div",{onClick:a[35]||(a[35]=E=>c.$emit("consetvalueemit",!1)),class:"fixed -top-6 left-0 z-50 flex h-full min-h-screen w-full items-center justify-center bg-[#707070] bg-opacity-30 p-2 text-[15px] md:top-0 md:p-0 lg:top-0 lg:p-0"},[z("div",HyM,[z("div",ZyM,[z("span",{class:"pointer pl-2 text-right",onClick:a[33]||(a[33]=E=>c.$emit("consetvalueemit",!1))},a[79]||(a[79]=[z("img",{class:"",src:CL,alt:"Close"},null,-1)]))]),z("div",FyM,[a[80]||(a[80]=z("p",{class:"-text-gray pt-2"}," Gen AI checked your added skills, compared them with Genpact's prioritised skills list and created a draft of your skills profile. The draft may not contain all skill additions but exact/close matched skills. Review/edit the skills-proficiency if gen AI has missed anything. ",-1)),z("div",XyM,[z("button",{class:"-bg-blue inline-block cursor-pointer rounded px-6 py-2 text-white",onClick:a[34]||(a[34]=E=>r("consetvalueemit",!1))},"Review/edit skills-proficiency before hitting Submit")])])])])])):L.name==="finalPopup"?(v(),R("section",GyM,[z("div",WyM,[z("div",VyM,[z("div",JyM,[a[81]||(a[81]=z("p",{class:"pt-2 text-center text-lg font-bold"},[PM("Learning plan generated! Click on "),z("b",null,"Learn on My Plan"),PM(" and get started")],-1)),z("div",qyM,[z("button",{class:"-bg-blue inline-block cursor-pointer rounded px-6 py-2 text-white",onClick:a[36]||(a[36]=E=>D())},"learn on My Plan")])])])])])):L.name==="coreskills"?(v(),R("section",KyM,[z("div",_yM,[z("div",$yM,[e.value?yM("",!0):(v(),R("div",MrM,[z("span",{class:"pointer pl-2 text-right",onClick:a[37]||(a[37]=E=>T())},a[82]||(a[82]=[z("img",{class:"",src:CL,alt:"Close"},null,-1)]))])),z("div",trM,[A.value?(v(),R("img",LrM)):e.value?(v(),R("div",jrM,[a[83]||(a[83]=z("p",{class:"pt-2 text-center text-lg font-bold"},"There are some unsaved changes please check and submit the changes.",-1)),z("div",urM,[z("button",{class:"-bg-blue m-2 inline-block cursor-pointer rounded px-6 py-2 text-white",onClick:a[38]||(a[38]=E=>I())},"Continue"),z("button",{class:"-bg-blue inline-block cursor-pointer rounded px-6 py-2 text-white",onClick:a[39]||(a[39]=E=>e.value=!1)},"Cancel")])])):(v(),qt(iY,{key:2,name:"coreskillsupdate",onCoreskillsfl:a[40]||(a[40]=E=>c.$emit("consetvalueemit",!1)),onCoreskillemit:a[41]||(a[41]=E=>c.$emit("coreskillemit",!1))}))])])])])):L.name==="feedbackPopup"?(v(),R("section",ArM,[z("div",NrM,[z("div",erM,[z("div",irM,[a[89]||(a[89]=z("div",{class:"text-lg font-bold"},"Feedback",-1)),z("div",null,[z("div",null,[a[87]||(a[87]=z("p",null,"How did you updated your resume?",-1)),z("div",SrM,[z("div",yrM,[Yt(z("input",{class:"mr-1",type:"radio","onUpdate:modelValue":a[42]||(a[42]=E=>y.value=E)},null,512),[[wz,y.value]]),a[84]||(a[84]=z("p",null,"Resume Upload",-1))]),z("div",rrM,[Yt(z("input",{class:"mr-1",type:"radio","onUpdate:modelValue":a[43]||(a[43]=E=>y.value=E)},null,512),[[wz,y.value]]),a[85]||(a[85]=z("p",null,"Manual Addition",-1))]),z("div",nrM,[Yt(z("input",{class:"mr-1",type:"radio","onUpdate:modelValue":a[44]||(a[44]=E=>y.value=E)},null,512),[[wz,y.value]]),a[86]||(a[86]=z("p",null,"Both",-1))])])]),a[88]||(a[88]=Pj('<div class="mt-2" data-v-d51c2891><p data-v-d51c2891>Profile Experience: Rate the skills profile creation/update experience.</p><div class="flex w-1/3 justify-between" data-v-d51c2891><div class="flex" data-v-d51c2891><input class="mr-1" type="radio" data-v-d51c2891><p data-v-d51c2891>Thumbs Up</p></div><div class="flex" data-v-d51c2891><input class="mr-1" type="radio" data-v-d51c2891><p data-v-d51c2891>Thumbs Down</p></div></div></div><div class="mt-2" data-v-d51c2891><p data-v-d51c2891>Gen-AI Draft:Did it capture key skills for your role?</p><div class="flex w-1/3 justify-between" data-v-d51c2891><div class="flex" data-v-d51c2891><input class="mr-1" type="radio" data-v-d51c2891><p data-v-d51c2891>Thumbs Up</p></div><div class="flex" data-v-d51c2891><input class="mr-1" type="radio" data-v-d51c2891><p data-v-d51c2891>Thumbs Down</p></div></div></div>',2))]),z("div",DrM,[z("button",{class:"-bg-blue inline-block cursor-pointer rounded px-6 py-2 text-white",onClick:a[45]||(a[45]=E=>s())},"Continue")])])])])])):L.name==="linkedinPopup"?(v(),R("section",srM,[z("div",TrM,[z("div",zrM,[z("div",IrM,[z("span",{class:"pointer pl-2 text-right",onClick:a[46]||(a[46]=E=>c.$emit("consetvalueemit",!1))},a[90]||(a[90]=[z("img",{class:"",src:CL,alt:"Close"},null,-1)]))]),z("div",crM,[z("div",arM,[z("div",grM,[a[95]||(a[95]=z("p",null,"This learning path has been migrated to Linkedin Learning for a visually engaging, mobile-friendly experience.",-1)),z("p",orM,[a[91]||(a[91]=z("b",null,"Note:",-1)),a[92]||(a[92]=PM(" On the new platform, you will not see the completion status of the cards you completed so far, but your completion is stored in the system. So, do not worry. Click ")),z("a",{class:"cursor-pointer text-genpact-darkest-teal underline",onClick:a[47]||(a[47]=E=>{TM(t).componentCheckv6="Myperformance",c.$emit("consetvalueemit",!1)})},"here"),a[93]||(a[93]=PM(" to review your Immerse completion status. Resume learning from where you left. "))]),a[96]||(a[96]=z("p",{class:"pt-3"},[z("b",null,"Linkedin Learning Login and Profile Sync")],-1)),z("div",xrM,[z("a",{class:"cursor-pointer",href:TM(t).linkedinPopupurl},a[94]||(a[94]=[z("img",{src:IiM},null,-1)]),8,ErM)])])])])])])])):yM("",!0)}}}),jCt="",mu=jL(lrM,[["__scopeId","data-v-d51c2891"]]),OrM={},drM={class:"w-10",src:nj,alt:"Loader Gif"};function wrM(L,M){return v(),R("img",drM)}const SY=jL(OrM,[["render",wrM]]),frM={class:"z-50"},CrM={class:"popup-content border shadow-lg w-full bg-white md:w-3/6 lg:w-3/6"},QrM={class:"popup-body geLight -text-blue px-8 pb-6 pt-8 text-left text-[15px]"},UrM={class:"pt-6 text-center"},hrM=kt({__name:"ErrorMessageComponent",props:{text:{type:String},arrayOf:{type:String},discriptioValue:{type:String},skillData:{type:Array,default:[]}},emits:["consetvalueemit"],setup(L,{emit:M}){IL();const t=M,j=()=>{t("consetvalueemit",!1),window.location.reload()};return(u,A)=>(v(),R("section",frM,[z("div",{onClick:A[1]||(A[1]=N=>j()),class:"fixed -top-6 left-0 z-[99999] flex h-full min-h-screen w-full items-center justify-center bg-white p-2 text-[15px] md:top-0 md:p-0 lg:top-0 lg:p-0"},[z("div",CrM,[z("div",QrM,[A[2]||(A[2]=z("div",{class:"profile-row"},[z("div",{class:"py-2 text-center text-2xl font-bold"},"Session timed out, please refresh page"),z("div",{class:"text-center"},[PM(" If you keep seeing this message "),z("a",{href:"https://genomedev.blob.core.windows.net/genome-aws-documents/Troubleshooting.pdf",target:"_blank",rel:"noopener noreferrer",class:"apianchortag ml-1 mr-1 text-genome-light-blue underline"},"click here"),PM(" to check troubleshooting steps. ")])],-1)),z("div",UrM,[z("button",{class:"-bg-blue inline-block rounded px-6 py-2 text-white",onClick:A[0]||(A[0]=N=>j())},"Ok")])])])])]))}}),uCt="",mI=jL(hrM,[["__scopeId","data-v-b2e2c62d"]]),vA="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB3aWR0aD0iMjJweCIgaGVpZ2h0PSIyMnB4IiB2aWV3Qm94PSIwIDAgMTcgMTciIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+CiAgICA8IS0tIEdlbmVyYXRvcjogU2tldGNoIDU0LjEgKDc2NDkwKSAtIGh0dHBzOi8vc2tldGNoYXBwLmNvbSAtLT4KICAgIDx0aXRsZT5pbmZvLWljb248L3RpdGxlPgogICAgPGRlc2M+Q3JlYXRlZCB3aXRoIFNrZXRjaC48L2Rlc2M+CiAgICA8ZyBpZD0iVklzdWFsLU1pY3Jvc2l0ZS1GaW5hbCIgc3Ryb2tlPSJub25lIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCI+CiAgICAgICAgPGcgaWQ9IlByb2ZpbGUtUGFnZSIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTMzNi4wMDAwMDAsIC0xMjcyLjAwMDAwMCkiIGZpbGw9IiNmZmYiPgogICAgICAgICAgICA8ZyBpZD0ic3VtbWFyeSIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMTY0LjAwMDAwMCwgMTA4Mi4wMDAwMDApIj4KICAgICAgICAgICAgICAgIDxnIGlkPSJPdmVyYWxsLXNjb3JlIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSg2My4wMDAwMDAsIDExOS4wMDAwMDApIj4KICAgICAgICAgICAgICAgICAgICA8ZyBpZD0iaW5mby1pY29uIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgxMDkuMDAwMDAwLCA3MS4wMDAwMDApIj4KICAgICAgICAgICAgICAgICAgICAgICAgPGNpcmNsZSBpZD0iT3ZhbCIgZmlsbD0iIzI2NTQ4OCIgY3g9IjguNSIgY3k9IjguNSIgcj0iOC41Ij48L2NpcmNsZT4KICAgICAgICAgICAgICAgICAgICAgICAgPHRleHQgaWQ9ImkiIGZvbnQtZmFtaWx5PSJHdWFyZGlhbkVneXAtTWVkaXVtSXQsIEd1YXJkaWFuIEVneXAiIGZvbnQtc2l6ZT0iMTYiIGZvbnQtc3R5bGU9Iml0YWxpYyIgZm9udC13ZWlnaHQ9IjUwMCI+CiAgICAgICAgICAgICAgICAgICAgICAgICAgICA8dHNwYW4geD0iNiIgeT0iMTMiPmk8L3RzcGFuPgogICAgICAgICAgICAgICAgICAgICAgICA8L3RleHQ+CiAgICAgICAgICAgICAgICAgICAgPC9nPgogICAgICAgICAgICAgICAgPC9nPgogICAgICAgICAgICA8L2c+CiAgICAgICAgPC9nPgogICAgPC9nPgo8L3N2Zz4=",YrM={class:"z-50"},vrM={class:"fixed -top-6 left-0 z-50 flex h-full min-h-screen w-full items-center justify-center bg-[#707070] bg-opacity-30 p-2 text-[15px] md:top-0 md:p-0 lg:top-0 lg:p-0"},krM={class:"popup-content shadow-lg w-full bg-white md:w-3/6 lg:w-3/6"},prM={class:"flex w-full justify-end p-6"},mrM={class:"popup-body geLight -text-blue px-8 pb-6 text-left text-[15px]"},brM={class:"profile-row"},PrM={key:0,class:"profile-body h-80 overflow-y-auto"},RrM={class:"w-full text-left"},BrM={key:0,class:"-text-gray flex bg-white"},HrM={class:"w-1/2 px-4 pt-1 text-xs"},ZrM={key:0,class:"text-xs text-background-secondary"},FrM={key:1,class:"ml-2 font-bold text-red-500"},XrM={key:2,style:{"font-size":"0.7rem"},class:"text-xs font-bold text-background-secondary"},GrM={class:"w-1/2 px-4 pt-1"},WrM={class:"flex w-full items-center justify-center"},VrM={class:"bits1 flex w-full items-center pl-3"},JrM=["id","onClick"],qrM={class:"z-10"},KrM=["id","onClick"],_rM={class:""},$rM=["onClick"],MnM={key:1,class:"profile-body pl-3 pt-2"},tnM={class:"pt-6 text-left"},LnM=kt({__name:"SkillPopupComponent",props:{name:{type:String},arrayOf:{type:String},discriptioValue:{type:String},skillData:{type:Object,default:{}}},emits:["consetvalueemit","skillpopupdata"],setup(L,{emit:M}){const t=Tu(),j=L,u=V([{ID:"97103561-8dc3-4fe7-ad0a-4f8dedac8f6b",code:1,Slug:"B",Title:"beginner"},{ID:"407b8b7b-b3ac-4074-b129-c66d22eb78d4",code:2,Slug:"I",Title:"intermediate"},{ID:"5ed7edb5-3967-4bda-aa2a-093c069df241",code:3,Slug:"P",Title:"proficient"},{ID:"dea6184e-8d52-4852-a6cb-daf633e36f18",code:4,Slug:"E",Title:"expert"},{ID:"f7af7994-62bf-41db-af0e-c580d2e9c753",code:5,Slug:"O",Title:"optional"}]),A=V(!1);V(!1);const N=M,e=(S,y)=>{var r;(r=j.skillData)==null||r.subskill.forEach(n=>{var D;n.skill_id===S&&(n.proficiencyId=y,n.proficiencyId!==null&&n.skillStatus&&n.addatlistonesubskill===!0&&(n.addatlistonesubskill=!1),u==null||u.value.forEach(s=>{s.ID===y&&(n.proficiency=s.Title)})),n.proficiencyId!==null&&n.skillStatus&&((D=j.skillData)==null?void 0:D.addatlistonesubskill)===!0&&(j.skillData.addatlistonesubskill=!1)})},i=S=>{var r,n,D,s;((n=(r=j==null?void 0:j.skillData)==null?void 0:r.subskill)==null?void 0:n.filter(I=>I.skillStatus)).length>1?(D=j==null?void 0:j.skillData)==null||D.subskill.forEach(I=>{I.skill_id===S&&(I.skillStatus=!1)}):(t.error("To proceed further, add atleast one subskill under the primary skill"),(s=j==null?void 0:j.skillData)==null||s.subskill.forEach(I=>{I.skillStatus=!0}))};return $j(A,S=>{N("consetvalueemit",!S)}),(S,y)=>{var r,n,D;return v(),R("section",YrM,[z("div",vrM,[z("div",krM,[z("div",prM,[z("span",{class:"pointer pl-2 text-right",onClick:y[0]||(y[0]=s=>S.$emit("consetvalueemit",!1))},y[2]||(y[2]=[z("img",{class:"",src:CL,alt:"Close"},null,-1)]))]),z("div",mrM,[y[10]||(y[10]=z("h1",{class:"mb-4 text-center text-lg"},"Select at least one subskill relevant to your role",-1)),z("div",brM,[y[9]||(y[9]=z("div",{class:"flex"},[z("div",{class:"profile-head ml-11 w-1/2 font-bold"},"Skill"),z("div",{class:"profile-head w-1/2 text-center font-bold"},"Proficiency")],-1)),(n=(r=L.skillData)==null?void 0:r.subskill)!=null&&n.length?(v(),R("div",PrM,[z("table",RrM,[z("tbody",null,[(v(!0),R(WM,null,et((D=L.skillData)==null?void 0:D.subskill,(s,I)=>(v(),R("div",{key:I,class:""},[s.skillStatus?(v(),R("tr",BrM,[z("div",HrM,[PM(aM(s.skill)+" ",1),s.is_mandatory?(v(),R("sup",ZrM,y[3]||(y[3]=[z("b",null,"*",-1)]))):yM("",!0),y[4]||(y[4]=PM()),s.codered?(v(),R("span",FrM,"Missing Proficiency")):yM("",!0),s.is_new?(v(),R("span",XrM,"(new)")):yM("",!0)]),z("div",GrM,[z("div",WrM,[y[8]||(y[8]=z("div",{class:"w-4"},null,-1)),z("div",null,[z("ol",VrM,[(v(!0),R(WM,null,et(u.value.slice(0,4),T=>(v(),R("li",{key:T.ID+Math.random()*1e3,class:"flex w-full items-center after:inline-block after:w-full after:content-['']"},[T.ID===s.proficiencyId&&T.ID===s.idealProficiencyId?(v(),R("span",{key:0,id:`skills-radio-${s.skill_id}-${T.ID}`,class:"-border-gray-1 flex h-5 w-5 shrink-0 items-center justify-center overflow-hidden rounded text-white",onClick:c=>e(s.skill_id,T.ID)},[y[5]||(y[5]=z("span",{class:"-bg-aqua span-a2 flex"},null,-1)),z("span",qrM,aM(T.Slug),1),y[6]||(y[6]=z("span",{class:"-bg-blue span-b2 flex"},null,-1))],8,JrM)):(v(),R("span",{key:1,id:`skills-radio-${s.skill_id}-${T.ID}`,class:yt([T.ID===s.proficiencyId?"-bg-aqua -border-gray-1 relative flex h-5 w-5 shrink-0 items-center justify-center rounded text-white":T.ID===s.idealProficiencyId?"-bg-blue -border-gray-1 relative flex h-5 w-5 shrink-0 items-center justify-center rounded text-white":"-bg-white -border-gray-1 relative flex h-5 w-5 shrink-0 items-center justify-center rounded text-gray-700"]),onClick:c=>e(s.skill_id,T.ID)},[z("span",_rM,aM(T.Slug),1)],10,KrM))]))),128))])]),s.is_mandatory?yM("",!0):(v(),R("div",{key:0,class:"pl-4",onClick:T=>i(s.skill_id)},y[7]||(y[7]=[z("svg",{xmlns:"http://www.w3.org/2000/svg",class:"h4 pointer bi bi-trash w-4",fill:"gray",viewBox:"0 0 16 16"},[z("path",{d:"M5.5 5.5A.5.5 0 0 1 6 6v6a.5.5 0 0 1-1 0V6a.5.5 0 0 1 .5-.5zm2.5 0a.5.5 0 0 1 .5.5v6a.5.5 0 0 1-1 0V6a.5.5 0 0 1 .5-.5zm3 .5a.5.5 0 0 0-1 0v6a.5.5 0 0 0 1 0V6z"}),z("path",{"fill-rule":"evenodd",d:"M14.5 3a1 1 0 0 1-1 1H13v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V4h-.5a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1H6a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1h3.5a1 1 0 0 1 1 1v1zM4.118 4 4 4.059V13a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1V4.059L11.882 4H4.118zM2.5 3V2h11v1h-11z"})],-1)]),8,$rM))])])])):yM("",!0)]))),128))])])])):(v(),R("div",MnM,"No skills found"))]),z("div",tnM,[z("button",{class:"-bg-blue inline-block rounded px-6 py-2 text-white",onClick:y[1]||(y[1]=s=>S.$emit("consetvalueemit",!1))},"Submit")])])])])])}}}),ACt="",jnM=jL(LnM,[["__scopeId","data-v-d6914852"]]),unM={class:"z-50"},AnM={class:"fixed -top-6 left-0 z-50 flex h-full min-h-screen w-full items-center justify-center bg-[#707070] bg-opacity-30 p-2 text-[15px] md:top-0 md:p-0 lg:top-0 lg:p-0"},NnM={class:"popup-content shadow-lg w-full bg-white md:w-3/6 lg:w-3/6"},enM={class:"flex w-full justify-end"},inM={key:0,class:"popup-body geLight -text-blue px-8 pb-6 text-left text-[15px]"},SnM={class:""},ynM={key:0,class:"profile-row boderd mb-4 border-b py-3"},rnM={key:0,class:"profile-body max-h-24"},nnM={class:"w-full text-left"},DnM={key:0,class:"-text-gray flex bg-white"},snM={class:"w-1/2 px-4 pt-1 text-xs"},TnM={key:0,class:"text-xs text-background-secondary"},znM={key:1,class:"text-xs font-bold text-background-secondary"},InM={key:2,style:{"font-size":"0.7rem"},class:"text-xs ml-1 font-bold text-background-secondary"},cnM={key:3,class:"ml-2 font-bold text-red-500"},anM={class:"w-1/2 px-4 pt-1"},gnM={class:"flex w-full items-center justify-center"},onM={class:"bits1 flex w-full items-center pl-3"},xnM=["id","onClick"],EnM={class:"z-10"},lnM=["id","onClick"],OnM={class:""},dnM={key:0,class:"pl-4"},wnM=["id","onClick"],fnM={key:1,class:"profile-body pl-3 pt-2"},CnM={class:"profile-row"},QnM={class:"flex"},UnM={key:0,class:"profile-head mb-2 w-1/2 font-bold"},hnM={key:1,class:"profile-head mb-2 w-1/2 font-bold"},YnM={key:0,class:"scrollbarbody max-h-40"},vnM={class:"w-full text-left"},knM={key:0,class:"-text-gray flex bg-white"},pnM={class:"w-1/2 px-4 pt-1 text-xs"},mnM={key:0,class:"text-xs text-background-secondary"},bnM={key:1,class:"text-xs font-bold text-background-secondary"},PnM={key:2,style:{"font-size":"0.7rem"},class:"text-xs ml-1 font-bold text-background-secondary"},RnM={key:3,class:"ml-2 font-bold text-red-500"},BnM={class:"w-1/2 px-4 pt-1"},HnM={class:"flex w-full items-center justify-center"},ZnM={class:"bits1 flex w-full items-center pl-3"},FnM=["id","onClick"],XnM={class:"z-10"},GnM=["id","onClick"],WnM={class:""},VnM={key:0,class:"pl-4"},JnM=["id","onClick"],qnM={key:1,class:"profile-body pl-3 pt-2"},KnM={class:"pt-6 text-left"},_nM={key:1,class:"flex items-center justify-center"},$nM=kt({__name:"SkillExistingPopupComponent",props:{name:{type:String},skillload:{type:Boolean},arrayOf:{type:String},discriptioValue:{type:String},skillData:{type:Object,default:{}}},emits:["consetvalueemit","skillpopupdata","savecheckemit"],setup(L,{emit:M}){const t=IL(),j=Tu(),u=L,A=V([{ID:"97103561-8dc3-4fe7-ad0a-4f8dedac8f6b",code:1,Slug:"B",Title:"beginner"},{ID:"407b8b7b-b3ac-4074-b129-c66d22eb78d4",code:2,Slug:"I",Title:"intermediate"},{ID:"5ed7edb5-3967-4bda-aa2a-093c069df241",code:3,Slug:"P",Title:"proficient"},{ID:"dea6184e-8d52-4852-a6cb-daf633e36f18",code:4,Slug:"E",Title:"expert"},{ID:"f7af7994-62bf-41db-af0e-c580d2e9c753",code:5,Slug:"O",Title:"optional"}]),N=V(!1),e=V(!1),i=M;oL(async()=>{var D,s,I,T;console.log("props?.skillData?.skillarray?.subskill",(s=(D=u==null?void 0:u.skillData)==null?void 0:D.skillarray)==null?void 0:s.subskill),(T=(I=u==null?void 0:u.skillData)==null?void 0:I.skillarray)==null||T.subskill.forEach(c=>{c!=null&&c.skillStatus&&(c==null?void 0:c.idealProficiencyId)!=="f7af7994-62bf-41db-af0e-c580d2e9c753"&&(c==null?void 0:c.idealProficiencyId)!==null&&(e.value=!0)})});const S=(D,s)=>{var I,T;i("savecheckemit",!0),(T=(I=u==null?void 0:u.skillData)==null?void 0:I.skillarray)==null||T.subskill.forEach(c=>{var a;c.skill_id===D&&(c.proficiencyId=s,c.proficiencyId!==null&&c.skillStatus&&c.addatlistonesubskill===!0&&(c.addatlistonesubskill=!1),A==null||A.value.forEach(g=>{g.ID===s&&(c.proficiency=g.Title)})),c.proficiencyId!==null&&c.skillStatus&&((a=u.skillData)==null?void 0:a.addatlistonesubskill)===!0&&(u.skillData.addatlistonesubskill=!1)})},y=async D=>{try{const I=await HL("/delphi/coreskills/save",{core_skills:D,saveToProfileFlag:!0});return t.initFunction(),I&&!I.data.error?!0:(j.error("Failed to add Critical skills"),!1)}catch(s){return s.response?j.error(`${s.response.data.message}`):s.message?j.error(`${s.message}`):j.error("Failed to add Critical skills"),!1}},r=D=>{var I,T,c,a,g,o,E;i("savecheckemit",!0),((c=(T=(I=u==null?void 0:u.skillData)==null?void 0:I.skillarray)==null?void 0:T.subskill)==null?void 0:c.filter(f=>f.skillStatus)).length>1?(g=(a=u==null?void 0:u.skillData)==null?void 0:a.skillarray)==null||g.subskill.forEach(f=>{var C,h;f.skill_id===D&&((h=(C=t.coreSkillsArray)==null?void 0:C.existingCoreSkills)==null||h.forEach(async Y=>{var k,p;if(D===Y.subskillid){const m=(p=(k=t.coreSkillsArray)==null?void 0:k.existingCoreSkills)==null?void 0:p.filter(Q=>D!==Q.subskillid);await y(m)||(f.skillStatus=!0)}}),f.skillStatus=!1)}):(j.error("To proceed further, add atleast one subskill under the primary skill"),(E=(o=u==null?void 0:u.skillData)==null?void 0:o.skillarray)==null||E.subskill.forEach(f=>{f.skillStatus=!0}))},n=()=>{var D,s,I,T,c;(s=(D=u==null?void 0:u.skillData)==null?void 0:D.skillarray)==null||s.subskill.forEach(a=>{var g;a.proficiencyId!=="f7af7994-62bf-41db-af0e-c580d2e9c753"&&(u.skillData.allskillarray.push(a),((g=u==null?void 0:u.skillData)==null?void 0:g.skillarray.codered)===!0&&(u.skillData.skillarray.codered=!1))}),u.skillData.skillarray.subskill=(c=(T=(I=u==null?void 0:u.skillData)==null?void 0:I.skillarray)==null?void 0:T.subskill)==null?void 0:c.filter(a=>a.proficiencyId!=="f7af7994-62bf-41db-af0e-c580d2e9c753"),i("consetvalueemit",!1)};return $j(N,D=>{i("consetvalueemit",!D)}),(D,s)=>{var I,T,c,a,g,o,E,f,C,h;return v(),R("section",unM,[z("div",AnM,[z("div",NnM,[z("div",enM,[z("span",{class:"pointer pl-2 text-right",onClick:s[0]||(s[0]=Y=>n())},s[2]||(s[2]=[z("img",{class:"",src:CL,alt:"Close"},null,-1)]))]),L.skillload?(v(),R("div",inM,[s[17]||(s[17]=z("h1",{class:"mb-4 text-center text-lg"},"Select at least one subskill relevant to your role",-1)),z("div",SnM,[e.value?(v(),R("div",ynM,[s[9]||(s[9]=z("div",{class:"flex"},[z("div",{class:"profile-head mb-2 w-1/2 font-bold"},"Recommended subskills"),z("div",{class:"profile-head mb-2 w-1/2 text-center font-bold"},"Proficiency level")],-1)),(c=(T=(I=L.skillData)==null?void 0:I.skillarray)==null?void 0:T.subskill)!=null&&c.length?(v(),R("div",rnM,[z("table",nnM,[z("tbody",null,[(v(!0),R(WM,null,et((g=(a=L.skillData)==null?void 0:a.skillarray)==null?void 0:g.subskill,(Y,k)=>(v(),R("div",{key:k,class:""},[Y.skillStatus&&Y.idealProficiencyId!=="f7af7994-62bf-41db-af0e-c580d2e9c753"&&Y.idealProficiencyId!==null?(v(),R("tr",DnM,[z("div",snM,[PM(aM(Y.skill),1),Y.is_mandatory?(v(),R("sup",TnM,s[3]||(s[3]=[z("b",null,"*",-1)]))):yM("",!0),Y!=null&&Y.tags&&(Y==null?void 0:Y.tags[0])==="CORE"?(v(),R("span",znM,"(Critical Skill)")):yM("",!0),Y.is_new?(v(),R("span",InM,"(new)")):yM("",!0),Y.codered?(v(),R("span",cnM,"Missing Proficiency")):yM("",!0)]),z("div",anM,[z("div",gnM,[s[8]||(s[8]=z("div",{class:"w-4"},null,-1)),z("div",null,[z("ol",onM,[(v(!0),R(WM,null,et(A.value.slice(0,4),p=>(v(),R("li",{key:p.ID+Math.random()*1e3,class:"flex w-full items-center after:inline-block after:w-full after:content-['']"},[p.ID===Y.proficiencyId&&p.ID===Y.idealProficiencyId?(v(),R("span",{key:0,id:`skills-radio-${Y.skill_id}-${p.ID}`,class:"-border-gray-1 flex h-5 w-5 shrink-0 items-center justify-center overflow-hidden rounded text-white",onClick:m=>S(Y.skill_id,p.ID)},[s[4]||(s[4]=z("span",{class:"-bg-aqua span-a2 flex"},null,-1)),z("span",EnM,aM(p.Slug),1),s[5]||(s[5]=z("span",{class:"-bg-blue span-b2 flex"},null,-1))],8,xnM)):(v(),R("span",{key:1,id:`skills-radio-${Y.skill_id}-${p.ID}`,class:yt([p.ID===Y.proficiencyId?"-bg-aqua -border-gray-1 relative flex h-5 w-5 shrink-0 items-center justify-center rounded text-white":p.ID===Y.idealProficiencyId?"-bg-blue -border-gray-1 relative flex h-5 w-5 shrink-0 items-center justify-center rounded text-white":"-bg-white -border-gray-1 relative flex h-5 w-5 shrink-0 items-center justify-center rounded text-gray-700"]),onClick:m=>S(Y.skill_id,p.ID)},[z("span",OnM,aM(p.Slug),1)],10,lnM))]))),128))])]),Y.is_mandatory?(v(),R("div",dnM,s[6]||(s[6]=[z("svg",{xmlns:"http://www.w3.org/2000/svg",class:"h4bi bi-trash w-4 opacity-40",fill:"gray",viewBox:"0 0 16 16"},[z("path",{d:"M5.5 5.5A.5.5 0 0 1 6 6v6a.5.5 0 0 1-1 0V6a.5.5 0 0 1 .5-.5zm2.5 0a.5.5 0 0 1 .5.5v6a.5.5 0 0 1-1 0V6a.5.5 0 0 1 .5-.5zm3 .5a.5.5 0 0 0-1 0v6a.5.5 0 0 0 1 0V6z"}),z("path",{"fill-rule":"evenodd",d:"M14.5 3a1 1 0 0 1-1 1H13v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V4h-.5a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1H6a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1h3.5a1 1 0 0 1 1 1v1zM4.118 4 4 4.059V13a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1V4.059L11.882 4H4.118zM2.5 3V2h11v1h-11z"})],-1)]))):(v(),R("div",{key:1,id:"remove-sub-skill-"+(Y==null?void 0:Y.skill_id),class:"pl-4",onClick:p=>r(Y==null?void 0:Y.skill_id)},s[7]||(s[7]=[z("svg",{xmlns:"http://www.w3.org/2000/svg",class:"h4 pointer bi bi-trash w-4",fill:"gray",viewBox:"0 0 16 16"},[z("path",{d:"M5.5 5.5A.5.5 0 0 1 6 6v6a.5.5 0 0 1-1 0V6a.5.5 0 0 1 .5-.5zm2.5 0a.5.5 0 0 1 .5.5v6a.5.5 0 0 1-1 0V6a.5.5 0 0 1 .5-.5zm3 .5a.5.5 0 0 0-1 0v6a.5.5 0 0 0 1 0V6z"}),z("path",{"fill-rule":"evenodd",d:"M14.5 3a1 1 0 0 1-1 1H13v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V4h-.5a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1H6a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1h3.5a1 1 0 0 1 1 1v1zM4.118 4 4 4.059V13a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1V4.059L11.882 4H4.118zM2.5 3V2h11v1h-11z"})],-1)]),8,wnM))])])])):yM("",!0)]))),128))])])])):(v(),R("div",fnM,"No skills found"))])):yM("",!0),z("div",CnM,[z("div",QnM,[e.value?(v(),R("div",UnM,"Others")):(v(),R("div",hnM,"Subskills")),s[10]||(s[10]=z("div",{class:"profile-head mb-2 w-1/2 text-center font-bold"},"Proficiency level",-1))]),(f=(E=(o=L.skillData)==null?void 0:o.skillarray)==null?void 0:E.subskill)!=null&&f.length?(v(),R("div",YnM,[z("table",vnM,[z("tbody",null,[(v(!0),R(WM,null,et((h=(C=L.skillData)==null?void 0:C.skillarray)==null?void 0:h.subskill,(Y,k)=>(v(),R("div",{key:k,class:""},[Y.skillStatus&&(Y.idealProficiencyId==="f7af7994-62bf-41db-af0e-c580d2e9c753"||Y.idealProficiencyId===null)?(v(),R("tr",knM,[z("div",pnM,[PM(aM(Y.skill),1),Y.is_mandatory?(v(),R("sup",mnM,s[11]||(s[11]=[z("b",null,"*",-1)]))):yM("",!0),Y!=null&&Y.tags&&(Y==null?void 0:Y.tags[0])==="CORE"?(v(),R("span",bnM,"(Critical Skill)")):yM("",!0),Y.is_new?(v(),R("span",PnM,"(new)")):yM("",!0),Y.codered?(v(),R("span",RnM,"Missing Proficiency")):yM("",!0)]),z("div",BnM,[z("div",HnM,[s[16]||(s[16]=z("div",{class:"w-4"},null,-1)),z("div",null,[z("ol",ZnM,[(v(!0),R(WM,null,et(A.value.slice(0,4),p=>(v(),R("li",{key:p.ID+Math.random()*1e3,class:"flex w-full items-center after:inline-block after:w-full after:content-['']"},[p.ID===Y.proficiencyId&&p.ID===Y.idealProficiencyId?(v(),R("span",{key:0,id:`skills-radio-${Y.skill_id}-${p.ID}`,class:"-border-gray-1 flex h-5 w-5 shrink-0 items-center justify-center overflow-hidden rounded text-white",onClick:m=>S(Y.skill_id,p.ID)},[s[12]||(s[12]=z("span",{class:"-bg-aqua span-a2 flex"},null,-1)),z("span",XnM,aM(p.Slug),1),s[13]||(s[13]=z("span",{class:"-bg-blue span-b2 flex"},null,-1))],8,FnM)):(v(),R("span",{key:1,id:`skills-radio-${Y.skill_id}-${p.ID}`,class:yt([p.ID===Y.proficiencyId?"-bg-aqua -border-gray-1 relative flex h-5 w-5 shrink-0 items-center justify-center rounded text-white":p.ID===Y.idealProficiencyId?"-bg-blue -border-gray-1 relative flex h-5 w-5 shrink-0 items-center justify-center rounded text-white":"-bg-white -border-gray-1 relative flex h-5 w-5 shrink-0 items-center justify-center rounded text-gray-700"]),onClick:m=>S(Y.skill_id,p.ID)},[z("span",WnM,aM(p.Slug),1)],10,GnM))]))),128))])]),Y.is_mandatory?(v(),R("div",VnM,s[14]||(s[14]=[z("svg",{xmlns:"http://www.w3.org/2000/svg",class:"h4bi bi-trash w-4 opacity-40",fill:"gray",viewBox:"0 0 16 16"},[z("path",{d:"M5.5 5.5A.5.5 0 0 1 6 6v6a.5.5 0 0 1-1 0V6a.5.5 0 0 1 .5-.5zm2.5 0a.5.5 0 0 1 .5.5v6a.5.5 0 0 1-1 0V6a.5.5 0 0 1 .5-.5zm3 .5a.5.5 0 0 0-1 0v6a.5.5 0 0 0 1 0V6z"}),z("path",{"fill-rule":"evenodd",d:"M14.5 3a1 1 0 0 1-1 1H13v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V4h-.5a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1H6a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1h3.5a1 1 0 0 1 1 1v1zM4.118 4 4 4.059V13a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1V4.059L11.882 4H4.118zM2.5 3V2h11v1h-11z"})],-1)]))):(v(),R("div",{key:1,id:"remove-sub-skill-"+(Y==null?void 0:Y.skill_id),class:"pl-4",onClick:p=>r(Y==null?void 0:Y.skill_id)},s[15]||(s[15]=[z("svg",{xmlns:"http://www.w3.org/2000/svg",class:"h4 pointer bi bi-trash w-4",fill:"gray",viewBox:"0 0 16 16"},[z("path",{d:"M5.5 5.5A.5.5 0 0 1 6 6v6a.5.5 0 0 1-1 0V6a.5.5 0 0 1 .5-.5zm2.5 0a.5.5 0 0 1 .5.5v6a.5.5 0 0 1-1 0V6a.5.5 0 0 1 .5-.5zm3 .5a.5.5 0 0 0-1 0v6a.5.5 0 0 0 1 0V6z"}),z("path",{"fill-rule":"evenodd",d:"M14.5 3a1 1 0 0 1-1 1H13v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V4h-.5a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1H6a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1h3.5a1 1 0 0 1 1 1v1zM4.118 4 4 4.059V13a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1V4.059L11.882 4H4.118zM2.5 3V2h11v1h-11z"})],-1)]),8,JnM))])])])):yM("",!0)]))),128))])])])):(v(),R("div",qnM,"No skills found"))])]),z("div",KnM,[z("button",{class:"-bg-blue inline-block rounded px-6 py-2 text-white",onClick:s[1]||(s[1]=Y=>n())},"Submit")])])):(v(),R("div",_nM,s[18]||(s[18]=[z("img",{class:"w-24",src:nj,alt:"Loader Gif"},null,-1)])))])])])}}}),NCt="",yY=jL($nM,[["__scopeId","data-v-13392a51"]]),MDM={id:"skillSubmitionscroollid"},tDM={key:0,class:""},LDM={key:1,id:"loadedid",class:""},jDM={class:"rounded-md border"},uDM={key:0,class:"absolute z-40 h-full w-full cursor-not-allowed text-[15px]"},ADM={class:"profileStartInner"},NDM={class:"max-h-96 overflow-y-auto"},eDM={class:"profile-row py-2"},iDM={class:"relative"},SDM={key:0,class:""},yDM={key:0,class:"pointer ml-2 h-8 w-8 bg-white p-2 text-right font-bold text-black","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 18 18"},rDM={key:0,class:"profile-body"},nDM={key:0,class:"w-full text-left"},DDM={key:0},sDM={key:0,class:"-text-gray flex bg-white"},TDM={class:"w-1/2 px-4 pt-1 text-xs"},zDM={key:0,class:"text-xs text-background-secondary"},IDM={key:1,style:{"font-size":"0.7rem"},class:"text-xs font-bold text-background-secondary"},cDM={class:"ml-2 font-bold text-red-500"},aDM={key:0},gDM={class:"w-1/2 px-4 pt-1"},oDM={class:"flex w-full items-center justify-center"},xDM=["onClick"],EDM={class:"bits1 flex w-full items-center pl-3"},lDM=["id","onClick"],ODM={class:"z-10"},dDM=["id","onClick"],wDM={class:""},fDM={key:0,class:"pl-4"},CDM=["onClick"],QDM={key:1},UDM={key:0,class:"ml-2 w-1/2 pl-4 pt-1 text-xs"},hDM={key:0,class:"ml-2 font-bold text-red-500"},YDM={key:1,class:"w-1/2 pt-1 md:px-4 lg:px-4"},vDM={class:"flex w-full items-center justify-center"},kDM={class:"bits1 flex w-full items-center justify-center"},pDM=["id","onClick"],mDM={class:"z-10"},bDM=["id","onClick"],PDM={class:""},RDM={key:0,class:"pl-4"},BDM=["onClick"],HDM={key:2},ZDM={class:"px-7 pt-2 text-xs"},FDM=["onClick"],XDM={key:0},GDM={class:"w-1/3 px-4 pt-2 text-xs"},WDM={key:1},VDM={class:"w-1/3 px-4 pt-2 text-xs"},JDM={key:1,class:"profile-body pl-3 pt-2"},qDM={class:"profile-row py-2"},KDM={class:"relative"},_DM={key:0,class:""},$DM={key:0,class:"pointer ml-2 h-8 w-8 bg-white p-2 text-right font-bold text-black","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 18 18"},MsM={key:0,class:"absolute z-50 w-2/3 border border-gray-300 bg-white p-2 text-xs"},tsM={key:0,class:"profile-body"},LsM={key:0,class:"w-full text-left"},jsM={key:0},usM={key:0,class:"-text-gray flex bg-white"},AsM={class:"w-1/2 px-4 pt-1 text-xs"},NsM={key:0,class:"text-xs text-background-secondary"},esM={key:1,style:{"font-size":"0.7rem"},class:"text-xs font-bold text-background-secondary"},isM={class:"ml-2 font-bold text-red-500"},SsM={key:0},ysM={class:"w-1/2 px-4 pt-1"},rsM={class:"flex w-full items-center justify-center"},nsM=["onClick"],DsM={class:"bits1 flex w-full items-center pl-3"},ssM=["id","onClick"],TsM={class:"z-10"},zsM=["id","onClick"],IsM={class:""},csM={key:0,class:"pl-4"},asM=["onClick"],gsM={key:1},osM={key:0,class:"ml-2 w-1/2 pl-4 pt-1 text-xs"},xsM={key:0,class:"ml-2 font-bold text-red-500"},EsM={key:1,class:"w-1/2 pt-1 md:px-4 lg:px-4"},lsM={class:"flex w-full items-center justify-center"},OsM={class:"bits1 flex w-full items-center justify-center"},dsM=["id","onClick"],wsM={class:"z-10"},fsM=["id","onClick"],CsM={class:""},QsM={key:0,class:"pl-4"},UsM=["onClick"],hsM={key:2},YsM={class:"px-7 pt-2 text-xs"},vsM=["onClick"],ksM={key:0},psM={class:"w-1/3 px-4 pt-2 text-xs"},msM={key:1},bsM={class:"w-1/3 px-4 pt-2 text-xs"},PsM={key:1,class:"profile-body pl-3 pt-2"},RsM={class:"profile-row py-2"},BsM={class:"relative"},HsM={key:0,class:""},ZsM={key:0,class:"pointer ml-2 h-8 w-8 bg-white p-2 text-right font-bold text-black","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 18 18"},FsM={key:0,class:"absolute z-50 w-2/3 border border-gray-300 bg-white p-2 text-xs"},XsM={key:0,class:"profile-body"},GsM={key:0,class:"w-full text-left"},WsM={key:0},VsM={key:0,class:"-text-gray flex bg-white"},JsM={class:"w-1/2 px-4 pt-1 text-xs"},qsM={key:0,class:"text-xs text-background-secondary"},KsM={key:1,style:{"font-size":"0.7rem"},class:"text-xs font-bold text-background-secondary"},_sM={class:"ml-2 font-bold text-red-500"},$sM={key:0},MTM={class:"w-1/2 px-4 pt-1"},tTM={class:"flex w-full items-center justify-center"},LTM=["onClick"],jTM={class:"bits1 flex w-full items-center pl-3"},uTM=["id","onClick"],ATM={class:"z-10"},NTM=["id","onClick"],eTM={class:""},iTM={key:0,class:"pl-4"},STM=["onClick"],yTM={key:1},rTM={key:0,class:"ml-2 w-1/2 pl-4 pt-1 text-xs"},nTM={key:0,class:"ml-2 font-bold text-red-500"},DTM={key:1,class:"w-1/2 pt-1 md:px-4 lg:px-4"},sTM={class:"flex w-full items-center justify-center"},TTM={class:"bits1 flex w-full items-center justify-center"},zTM=["id","onClick"],ITM={class:"z-10"},cTM=["id","onClick"],aTM={class:""},gTM={key:0,class:"pl-4"},oTM=["onClick"],xTM={key:2},ETM={class:"px-7 pt-2 text-xs"},lTM=["onClick"],OTM={key:0},dTM={class:"w-1/3 px-4 pt-2 text-xs"},wTM={key:1},fTM={class:"w-1/3 px-4 pt-2 text-xs"},CTM={key:1,class:"profile-body pl-3 pt-2"},QTM={class:"profile-row py-2"},UTM={class:"relative"},hTM={key:0,class:""},YTM={key:0,class:"pointer ml-2 h-8 w-8 bg-white p-2 text-right font-bold text-black","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 18 18"},vTM={key:0,class:"absolute z-50 w-2/3 border border-gray-300 bg-white p-2 text-xs"},kTM={key:0,class:"profile-body"},pTM={key:0,class:"w-full text-left"},mTM={key:0},bTM={key:0,class:"-text-gray flex bg-white"},PTM={class:"w-1/2 px-4 pt-1 text-xs"},RTM={key:0,class:"text-xs text-background-secondary"},BTM={key:1,style:{"font-size":"0.7rem"},class:"text-xs font-bold text-background-secondary"},HTM={class:"ml-2 font-bold text-red-500"},ZTM={key:0},FTM={class:"w-1/2 px-4 pt-1"},XTM={class:"flex w-full items-center justify-center"},GTM=["onClick"],WTM={class:"bits1 flex w-full items-center pl-3"},VTM=["id","onClick"],JTM={class:"z-10"},qTM=["id","onClick"],KTM={class:""},_TM={key:0,class:"pl-4"},$TM=["onClick"],MzM={key:1},tzM={key:0,class:"ml-2 w-1/2 pl-4 pt-1 text-xs"},LzM={key:0,class:"ml-2 font-bold text-red-500"},jzM={key:1,class:"w-1/2 pt-1 md:px-4 lg:px-4"},uzM={class:"flex w-full items-center justify-center"},AzM={class:"bits1 flex w-full items-center justify-center"},NzM=["id","onClick"],ezM={class:"z-10"},izM=["id","onClick"],SzM={class:""},yzM={key:0,class:"pl-4"},rzM=["onClick"],nzM={key:2},DzM={class:"px-7 pt-2 text-xs"},szM=["onClick"],TzM={key:0},zzM={class:"w-1/3 px-4 pt-2 text-xs"},IzM={key:1},czM={class:"w-1/3 px-4 pt-2 text-xs"},azM={key:1,class:"profile-body pl-3 pt-2"},gzM={key:0,class:"row bot-text-left relative mt-4 pb-4"},ozM={key:1,class:""},xzM=kt({__name:"SkillselectionComponent",emits:["skillSelectionemit"],setup(L,{emit:M}){const t=IL(),j=V(!1);V(!1);const u=V(!1);V(!1),V(!1),V(!1);const A=V(!1),N=V(!1),e=V(!1),i=V(!1),S=V(!1),y=V(!1),r=V(!1),n=V(!1),D=V("");V(!1);const s=V(!1),I=V(!1),T=V(!1);V(!1);const c=Tu();V();const a=V(!1),g=V(!1),o=V(!1);V(!1);const E=V(!1),f=V(!1),C=V(),h=M;let Y=V();const k=V();V();const p=V();V("Processing your skills profile. Sit tight!"),V(),V();const m=V(!0);V(!1);const U=V([]),Q=V([]),w=V([]),x=V([]),O=V([]);V(),V(),V({}),V([]);const l=V([]);V([]);const d=V([]);V([]);const b=V([]),X=V(!1);V([]),V([]);const B=V(),G=V(3),W=V(3),MM=V(3),Z=V(3),K=V(),H=V(!1),P=V(!1),J=V(!1),LM=V(!1),eM=V(!1),$=V(!1);V(!0),V(""),V(),V(),V(),V(),V([U,Q,w,x,O]);const NM=V([{ID:"97103561-8dc3-4fe7-ad0a-4f8dedac8f6b",code:1,Slug:"B",Title:"beginner"},{ID:"407b8b7b-b3ac-4074-b129-c66d22eb78d4",code:2,Slug:"I",Title:"intermediate"},{ID:"5ed7edb5-3967-4bda-aa2a-093c069df241",code:3,Slug:"P",Title:"proficient"},{ID:"dea6184e-8d52-4852-a6cb-daf633e36f18",code:4,Slug:"E",Title:"expert"},{ID:"f7af7994-62bf-41db-af0e-c580d2e9c753",code:5,Slug:"O",Title:"optional"}]);V([{ID:"dea6184e-8d52-4852-a6cb-daf633e36f18",code:4,Slug:"E",Title:"expert"},{ID:"5ed7edb5-3967-4bda-aa2a-093c069df241",code:3,Slug:"P",Title:"proficient"},{ID:"407b8b7b-b3ac-4074-b129-c66d22eb78d4",code:2,Slug:"I",Title:"intermediate"},{ID:"97103561-8dc3-4fe7-ad0a-4f8dedac8f6b",code:1,Slug:"B",Title:"beginner"}]),oL(async()=>{var VM,fM,rt,BM,gt,Xt;E.value=!0;let GM=[];const IM=document.getElementById("loaderscroollid");IM&&IM.scrollIntoView({behavior:"smooth",block:"center",inline:"nearest"}),t.initSkilluploadArray=(VM=t.initSkilluploadArray)==null?void 0:VM.filter((Qt,Rt,xt)=>Rt===xt.findIndex(uL=>uL.skill_id===Qt.skill_id)),console.log("delphiStore.initSkilluploadArray",t.initSkilluploadArray),(fM=t.initSkilluploadArray)==null||fM.forEach(Qt=>{var Rt;(Rt=t.existingSubskillParentSkillsArray)==null||Rt.forEach(xt=>{(Qt==null?void 0:Qt.skill_id)===xt&&(Qt.subskillExisting=!0),(Qt==null?void 0:Qt.skill_id)===xt&&!(Qt!=null&&Qt.subskill)&&GM.push(Qt)})}),console.log("delphiStore.initArray",t.initArray),Y.value=t.initSkilluploadArray||[],k.value=t.initSkilluploadArray||[],d.value=k.value.map(({skill_id:Qt,proficiencyId:Rt,skillStatus:xt})=>({skill_id:Qt,proficiencyId:Rt,skillStatus:xt})),d.value.sort((Qt,Rt)=>{var xt;return(xt=Qt==null?void 0:Qt.skill_id)==null?void 0:xt.localeCompare(Rt.skill_id)}),p.value=[],await YM(),await kM(),await FM(),await ut(),await CM();const lM=document.getElementById("skillSubmitionscroollid");lM&&lM.scrollIntoView({behavior:"smooth",block:"start",inline:"start"}),GM=GM.filter(Qt=>!Qt.subskill),GM.length!==0&&(b.value=GM,X.value=!0),console.log("hassubskillcheck",GM),console.log("hasSubskillArray.value",b.value.length),(rt=U.value)!=null&&rt.filter(Qt=>Qt.skillStatus).length?H.value=!0:(BM=Q.value)!=null&&BM.filter(Qt=>Qt.skillStatus).length?J.value=!0:(gt=w.value)!=null&>.filter(Qt=>Qt.skillStatus).length?LM.value=!0:(Xt=x.value)!=null&&Xt.filter(Qt=>Qt.skillStatus).length&&(eM.value=!0),E.value=!1});const nM=async()=>{E.value=!0;try{const{data:GM}=await WL("/delphi/journey/restart");window.location.reload(),S.value=!1}catch{await WL("/delphi/journey/restart"),window.location.reload(),S.value=!1}},AM=SL(()=>{var IM;return!!((IM=U.value)==null?void 0:IM.filter(lM=>lM.skillStatus)).length}),_=SL(()=>{var IM;return!!((IM=Q.value)==null?void 0:IM.filter(lM=>lM.skillStatus)).length}),iM=SL(()=>{var IM;return!!((IM=w.value)==null?void 0:IM.filter(lM=>lM.skillStatus)).length}),jM=SL(()=>{var IM;return!!((IM=x.value)==null?void 0:IM.filter(lM=>lM.skillStatus)).length}),SM=async GM=>{try{const{data:IM}=await WL(`/delphi/skillDesc/${GM}`);IM&&!IM.error&&(f.value=!0,C.value=IM)}catch{c.error("Failed to load Description"),f.value=!1,n.value=!0,E.value=!1}},zM=async()=>{var VM;o.value=!0,m.value=!1,E.value=!0,A.value=!0,G.value=3,W.value=3,MM.value=3,Z.value=3,H.value=!1,J.value=!1,LM.value=!1,eM.value=!1,l.value=[];const GM=[],IM=[],lM=[U.value,Q.value,w.value,x.value,O.value];if(lM==null||lM.forEach(fM=>{fM==null||fM.forEach(rt=>{rt.proficiencyId===null&&rt.skillStatus&&(rt.category==="industry"&&(H.value=!0,G.value=U.value.length),rt.category==="service_line_or_domain"&&(J.value=!0,W.value=Q.value.length),rt.category==="digital_technology"&&(LM.value=!0,MM.value=w.value.length),rt.category==="proff_skill"&&(eM.value=!0,Z.value=x.value.length))}),GM!=null&&GM.length||fM==null||fM.forEach(rt=>{var BM,gt;(BM=rt==null?void 0:rt.subskill)!=null&&BM.length&&((gt=rt==null?void 0:rt.subskill)==null||gt.forEach(Xt=>{l.value.push(Xt)}),rt.subskill=null),l.value.push(rt)})}),GM.length||IM.length)console.log("567890"),n.value=!0,E.value=!1,m.value=!0,D.value="To proceed further, add atleast one subskill under the primary skill";else{l.value=(VM=l.value)==null?void 0:VM.filter(BM=>(BM==null?void 0:BM.proficiencyId)!==null&&(BM==null?void 0:BM.skillStatus)),console.log("consolidatedArray.value",l.value);const fM={skills:l.value},{data:rt}=await HL("delphi/v2/myprofile",fM);console.log("data",rt),rt==="profile saved successfully"&&(console.log("data",rt),h("skillSelectionemit",!0),t.initSkilluploadArray=null)}},sM=(GM,IM)=>{GM==="industrySkillarray"&&(G.value=IM),GM==="domainSkillarray"&&(W.value=IM),GM==="digitalSkillarray"&&(MM.value=IM),GM==="profSkillarray"&&(Z.value=IM)},oM=async(GM,IM)=>{try{g.value=!0,B.value={allskillarray:Y.value,skillarray:IM},K.value="",N.value=!0}catch{c.error("Failed to load subskill"),n.value=!0,E.value=!1}},CM=()=>{var IM;const GM=(IM=Y.value)==null?void 0:IM.filter(lM=>lM.category==="function");return O.value=GM,GM},YM=()=>{var lM,VM;const GM=(lM=Y.value)==null?void 0:lM.filter(fM=>fM.category==="industry"&&(fM.parentskillid===null||fM.parentskillid==="-1")),IM=(VM=Y.value)==null?void 0:VM.filter(fM=>fM.category==="industry"&&(fM.parentskillid!==null||fM.parentskillid!=="-1"));return GM==null||GM.forEach(fM=>{let rt=[];IM==null||IM.forEach(BM=>{fM.skill_id===BM.parentskillid&&(BM.proficiencyId==="f7af7994-62bf-41db-af0e-c580d2e9c753"&&(BM.proficiencyId="97103561-8dc3-4fe7-ad0a-4f8dedac8f6b",BM.proficiency="beginner"),rt.push(BM),fM.subskill=ej(rt,"skill"))})}),U.value=GM.sort((fM,rt)=>{var BM;return(BM=fM==null?void 0:fM.skill)==null?void 0:BM.localeCompare(rt.skill)}),GM},kM=()=>{var lM,VM;const GM=(lM=Y.value)==null?void 0:lM.filter(fM=>fM.category==="service_line_or_domain"&&(fM.parentskillid===null||fM.parentskillid==="-1")),IM=(VM=Y.value)==null?void 0:VM.filter(fM=>fM.category==="service_line_or_domain"&&(fM.parentskillid!==null||fM.parentskillid!=="-1"));return GM==null||GM.forEach(fM=>{let rt=[];IM==null||IM.forEach(BM=>{fM.skill_id===BM.parentskillid&&(BM.proficiencyId==="f7af7994-62bf-41db-af0e-c580d2e9c753"&&(console.log("subskillelement.proficiencyId",BM.skill),console.log("subskillelement.proficiencyId",BM.proficiencyId),BM.proficiencyId="97103561-8dc3-4fe7-ad0a-4f8dedac8f6b",BM.proficiency="beginner"),rt.push(BM),fM.subskill=ej(rt,"skill"))})}),Q.value=GM.sort((fM,rt)=>{var BM;return(BM=fM==null?void 0:fM.skill)==null?void 0:BM.localeCompare(rt.skill)}),GM},FM=()=>{var lM,VM;const GM=(lM=Y.value)==null?void 0:lM.filter(fM=>fM.category==="digital_technology"&&(fM.parentskillid===null||fM.parentskillid==="-1")),IM=(VM=Y.value)==null?void 0:VM.filter(fM=>fM.category==="digital_technology"&&(fM.parentskillid!==null||fM.parentskillid!=="-1"));return GM==null||GM.forEach(fM=>{let rt=[];IM==null||IM.forEach(BM=>{fM.skill_id===BM.parentskillid&&(BM.proficiencyId==="f7af7994-62bf-41db-af0e-c580d2e9c753"&&(BM.proficiencyId="97103561-8dc3-4fe7-ad0a-4f8dedac8f6b",BM.proficiency="beginner"),rt.push(BM),fM.subskill=ej(rt,"skill"))})}),w.value=GM.sort((fM,rt)=>{var BM;return(BM=fM==null?void 0:fM.skill)==null?void 0:BM.localeCompare(rt.skill)}),GM},ut=()=>{var lM,VM;const GM=(lM=Y.value)==null?void 0:lM.filter(fM=>fM.category==="proff_skill"&&(fM.parentskillid===null||fM.parentskillid==="-1")),IM=(VM=Y.value)==null?void 0:VM.filter(fM=>fM.category==="proff_skill"&&(fM.parentskillid!==null||fM.parentskillid!=="-1"));return GM==null||GM.forEach(fM=>{let rt=[];IM==null||IM.forEach(BM=>{fM.skill_id===BM.parentskillid&&(BM.proficiencyId==="f7af7994-62bf-41db-af0e-c580d2e9c753"&&(BM.proficiencyId="97103561-8dc3-4fe7-ad0a-4f8dedac8f6b",BM.proficiency="beginner"),rt.push(BM),fM.subskill=ej(rt,"skill"))})}),x.value=GM.sort((fM,rt)=>{var BM;return(BM=fM==null?void 0:fM.skill)==null?void 0:BM.localeCompare(rt.skill)}),GM},tt=(GM,IM,lM)=>{u.value=!0,GM==="industrySkillarray"&&U.value.forEach(VM=>{VM.skill_id===IM&&(VM.proficiencyId=lM,VM.proficiencyId!==null&&VM.skillStatus&&VM.codered===!0&&(VM.codered=!1),NM.value.forEach(fM=>{fM.ID===lM&&(VM.proficiency=fM.Title)}))}),GM==="domainSkillarray"&&Q.value.forEach(VM=>{VM.skill_id===IM&&(VM.proficiencyId=lM,VM.proficiencyId!==null&&VM.skillStatus&&VM.codered===!0&&(VM.codered=!1),NM.value.forEach(fM=>{fM.ID===lM&&(VM.proficiency=fM.Title)}))}),GM==="digitalSkillarray"&&w.value.forEach(VM=>{VM.skill_id===IM&&(VM.proficiencyId=lM,VM.proficiencyId!==null&&VM.skillStatus&&VM.codered===!0&&(VM.codered=!1),NM.value.forEach(fM=>{fM.ID===lM&&(VM.proficiency=fM.Title)}))}),GM==="profSkillarray"&&x.value.forEach(VM=>{VM.skill_id===IM&&(VM.proficiencyId=lM,VM.proficiencyId!==null&&VM.skillStatus&&VM.codered===!0&&(VM.codered=!1),NM.value.forEach(fM=>{fM.ID===lM&&(VM.proficiency=fM.Title)}))})},It=(GM,IM,lM)=>{var VM;u.value=!0,GM==="industrySkillarray"&&((VM=U.value)==null||VM.forEach(fM=>{var rt;(rt=fM==null?void 0:fM.subskill)==null||rt.forEach(BM=>{BM.skill_id===IM&&(BM.proficiencyId=lM,BM.proficiencyId!==null&&BM.skillStatus&&BM.codered===!0&&(BM.codered=!1),NM.value.forEach(gt=>{gt.ID===lM&&(BM.proficiency=gt.Title)}),BM.proficiencyId!==null&&BM.skillStatus&&fM.addatlistonesubskill===!0&&(fM.addatlistonesubskill=!1))})})),GM==="domainSkillarray"&&Q.value.forEach(fM=>{var rt;(rt=fM==null?void 0:fM.subskill)==null||rt.forEach(BM=>{BM.skill_id===IM&&(BM.proficiencyId=lM,BM.proficiencyId!==null&&BM.skillStatus&&BM.codered===!0&&(BM.codered=!1),NM.value.forEach(gt=>{gt.ID===lM&&(BM.proficiency=gt.Title)}),BM.proficiencyId!==null&&BM.skillStatus&&fM.addatlistonesubskill===!0&&(fM.addatlistonesubskill=!1))})}),GM==="digitalSkillarray"&&w.value.forEach(fM=>{var rt;(rt=fM==null?void 0:fM.subskill)==null||rt.forEach(BM=>{BM.skill_id===IM&&(BM.proficiencyId=lM,BM.proficiencyId!==null&&BM.skillStatus&&BM.codered===!0&&(BM.codered=!1),NM.value.forEach(gt=>{gt.ID===lM&&(BM.proficiency=gt.Title)}),BM.proficiencyId!==null&&BM.skillStatus&&fM.addatlistonesubskill===!0&&(fM.addatlistonesubskill=!1))})}),GM==="profSkillarray"&&x.value.forEach(fM=>{var rt;(rt=fM==null?void 0:fM.subskill)==null||rt.forEach(BM=>{BM.skill_id===IM&&(BM.proficiencyId=lM,BM.proficiencyId!==null&&BM.skillStatus&&BM.codered===!0&&(BM.codered=!1),NM.value.forEach(gt=>{gt.ID===lM&&(BM.proficiency=gt.Title)}),BM.proficiencyId!==null&&BM.skillStatus&&fM.addatlistonesubskill===!0&&(fM.addatlistonesubskill=!1))})})},_M=(GM,IM)=>{u.value=!0,GM==="industrySkillarray"&&U.value.forEach(lM=>{var VM;lM.skill_id===IM&&(lM.skillStatus=!1,(VM=lM==null?void 0:lM.subskill)==null||VM.forEach(fM=>{fM.skillStatus=!1}))}),GM==="domainSkillarray"&&Q.value.forEach(lM=>{var VM;lM.skill_id===IM&&(lM.skillStatus=!1,(VM=lM==null?void 0:lM.subskill)==null||VM.forEach(fM=>{fM.skillStatus=!1}))}),GM==="digitalSkillarray"&&w.value.forEach(lM=>{var VM;lM.skill_id===IM&&(lM.skillStatus=!1,(VM=lM==null?void 0:lM.subskill)==null||VM.forEach(fM=>{fM.skillStatus=!1}))}),GM==="profSkillarray"&&x.value.forEach(lM=>{var VM;lM.skill_id===IM&&(lM.skillStatus=!1,(VM=lM==null?void 0:lM.subskill)==null||VM.forEach(fM=>{fM.skillStatus=!1}))}),$.value=!1},pt=(GM,IM)=>{var lM,VM,fM,rt;u.value=!0,GM==="industrySkillarray"&&((lM=U.value)==null||lM.forEach(BM=>{var Xt,Qt,Rt;(Xt=BM==null?void 0:BM.subskill)==null||Xt.forEach(xt=>{xt.skill_id===IM&&(xt.skillStatus=!1)});const gt=(Qt=BM==null?void 0:BM.subskill)==null?void 0:Qt.filter(xt=>xt.skillStatus===!0);(gt==null?void 0:gt.length)<1&&(r.value=!0,(Rt=BM==null?void 0:BM.subskill)==null||Rt.forEach(xt=>{xt.skill_id===IM&&(xt.skillStatus=!0)}))})),GM==="domainSkillarray"&&((VM=Q.value)==null||VM.forEach(BM=>{var Xt,Qt,Rt;(Xt=BM==null?void 0:BM.subskill)==null||Xt.forEach(xt=>{xt.skill_id===IM&&(xt.skillStatus=!1)});const gt=(Qt=BM==null?void 0:BM.subskill)==null?void 0:Qt.filter(xt=>xt.skillStatus===!0);(gt==null?void 0:gt.length)<1&&(r.value=!0,(Rt=BM==null?void 0:BM.subskill)==null||Rt.forEach(xt=>{xt.skill_id===IM&&(xt.skillStatus=!0)}))})),GM==="digitalSkillarray"&&((fM=w.value)==null||fM.forEach(BM=>{var Xt,Qt,Rt;(Xt=BM==null?void 0:BM.subskill)==null||Xt.forEach(xt=>{xt.skill_id===IM&&(xt.skillStatus=!1)});const gt=(Qt=BM==null?void 0:BM.subskill)==null?void 0:Qt.filter(xt=>xt.skillStatus===!0);(gt==null?void 0:gt.length)<1&&(r.value=!0,(Rt=BM==null?void 0:BM.subskill)==null||Rt.forEach(xt=>{xt.skill_id===IM&&(xt.skillStatus=!0)}))})),GM==="profSkillarray"&&((rt=x.value)==null||rt.forEach(BM=>{var Xt,Qt,Rt;(Xt=BM==null?void 0:BM.subskill)==null||Xt.forEach(xt=>{xt.skill_id===IM&&(xt.skillStatus=!1)});const gt=(Qt=BM==null?void 0:BM.subskill)==null?void 0:Qt.filter(xt=>xt.skillStatus===!0);(gt==null?void 0:gt.length)<1&&(r.value=!0,(Rt=BM==null?void 0:BM.subskill)==null||Rt.forEach(xt=>{xt.skill_id===IM&&(xt.skillStatus=!0)}))}))};return(GM,IM)=>(v(),R("section",MDM,[E.value?(v(),R("section",tDM,IM[29]||(IM[29]=[z("div",{class:"mt-24 flex items-start justify-center"},[z("img",{class:"w-24",src:nj,alt:"Loader Gif"})],-1)]))):(v(),R("section",LDM,[IM[88]||(IM[88]=z("div",{class:"row bot-text-left relative mb-1 flex items-start"},[z("div",{class:"relative w-full max-w-3xl border bg-[#F2F2F2] px-5 py-2"},"Modify skills/proficiency wherever needed and submit to create a final version")],-1)),z("div",jDM,[!m.value&&!e.value?(v(),R("div",uDM)):yM("",!0),z("div",ADM,[IM[85]||(IM[85]=z("div",{class:"md:px-4 lg:px-4"},null,-1)),z("div",NDM,[z("div",eDM,[z("div",iDM,[z("div",{onClick:IM[1]||(IM[1]=lM=>H.value=!H.value),class:"flex items-center cursor-pointer justify-between bg-gray-100 px-4 py-1 font-bold"},[IM[32]||(IM[32]=PM(" Industry ")),U.value.length&&AM.value?(v(),R("span",SDM,[H.value?(v(),R("svg",{key:1,onClick:IM[0]||(IM[0]=lM=>H.value=!H.value),class:"pointer ml-2 h-8 w-8 bg-white p-2 text-right font-bold text-black","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 18 18"},IM[31]||(IM[31]=[z("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"3",d:"M16 9l-7-7-7 7"},null,-1)]))):(v(),R("svg",yDM,IM[30]||(IM[30]=[z("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"3",d:"M2 9l7 7 7-7"},null,-1)])))])):yM("",!0)])]),U.value.length&&AM.value?(v(),R("div",rDM,[H.value?(v(),R("table",nDM,[z("tbody",null,[(v(!0),R(WM,null,et(U.value.length>3?U.value.slice(0,G.value):U.value,(lM,VM)=>(v(),R("div",{key:VM,class:""},[lM.skillStatus?(v(),R("div",DDM,[lM.skillStatus?(v(),R("tr",sDM,[z("div",TDM,[PM(aM(lM.skill)+" ",1),lM.is_mandatory?(v(),R("sup",zDM,IM[33]||(IM[33]=[z("b",null,"*",-1)]))):yM("",!0),lM.is_new?(v(),R("span",IDM,"(new)")):yM("",!0),z("div",cDM,[lM.subskillcodered?(v(),R("div",aDM,"Subskill Proficiency Missing")):yM("",!0)])]),z("div",gDM,[z("div",oDM,[z("img",{class:"pointer h-4 w-4",src:vA,onClick:fM=>SM(lM.skill_id)},null,8,xDM),z("div",null,[z("ol",EDM,[(v(!0),R(WM,null,et(NM.value.slice(0,4),fM=>(v(),R("li",{key:fM.ID+Math.random()*1e3,class:"flex w-full items-center after:inline-block after:w-full after:content-['']"},[fM.ID===lM.proficiencyId&&fM.ID===lM.idealProficiencyId?(v(),R("span",{key:0,id:`skills-radio-${lM.skill_id}-${fM.ID}`,class:"-border-gray-1 flex h-5 w-5 shrink-0 items-center justify-center overflow-hidden rounded text-white",onClick:rt=>tt("industrySkillarray",lM.skill_id,fM.ID)},[IM[34]||(IM[34]=z("span",{class:"-bg-aqua span-a2 flex"},null,-1)),z("span",ODM,aM(fM.Slug),1),IM[35]||(IM[35]=z("span",{class:"-bg-blue span-b2 flex"},null,-1))],8,lDM)):(v(),R("span",{key:1,id:`skills-radio-${lM.skill_id}-${fM.ID}`,class:yt([fM.ID===lM.proficiencyId?"-bg-aqua -border-gray-1 relative flex h-5 w-5 shrink-0 items-center justify-center rounded text-white":fM.ID===lM.idealProficiencyId?"-bg-blue -border-gray-1 relative flex h-5 w-5 shrink-0 items-center justify-center rounded text-white":"-bg-white -border-gray-1 relative flex h-5 w-5 shrink-0 items-center justify-center rounded text-gray-700"]),onClick:rt=>tt("industrySkillarray",lM.skill_id,fM.ID)},[z("span",wDM,aM(fM.Slug),1)],10,dDM))]))),128))])]),lM.is_mandatory?(v(),R("div",fDM,IM[36]||(IM[36]=[z("svg",{xmlns:"http://www.w3.org/2000/svg",class:"h4bi bi-trash w-4 opacity-40",fill:"gray",viewBox:"0 0 16 16"},[z("path",{d:"M5.5 5.5A.5.5 0 0 1 6 6v6a.5.5 0 0 1-1 0V6a.5.5 0 0 1 .5-.5zm2.5 0a.5.5 0 0 1 .5.5v6a.5.5 0 0 1-1 0V6a.5.5 0 0 1 .5-.5zm3 .5a.5.5 0 0 0-1 0v6a.5.5 0 0 0 1 0V6z"}),z("path",{"fill-rule":"evenodd",d:"M14.5 3a1 1 0 0 1-1 1H13v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V4h-.5a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1H6a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1h3.5a1 1 0 0 1 1 1v1zM4.118 4 4 4.059V13a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1V4.059L11.882 4H4.118zM2.5 3V2h11v1h-11z"})],-1)]))):(v(),R("div",{key:1,class:"pl-4",onClick:fM=>_M("industrySkillarray",lM.skill_id)},IM[37]||(IM[37]=[z("svg",{xmlns:"http://www.w3.org/2000/svg",class:"h4 pointer bi bi-trash w-4",fill:"gray",viewBox:"0 0 16 16"},[z("path",{d:"M5.5 5.5A.5.5 0 0 1 6 6v6a.5.5 0 0 1-1 0V6a.5.5 0 0 1 .5-.5zm2.5 0a.5.5 0 0 1 .5.5v6a.5.5 0 0 1-1 0V6a.5.5 0 0 1 .5-.5zm3 .5a.5.5 0 0 0-1 0v6a.5.5 0 0 0 1 0V6z"}),z("path",{"fill-rule":"evenodd",d:"M14.5 3a1 1 0 0 1-1 1H13v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V4h-.5a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1H6a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1h3.5a1 1 0 0 1 1 1v1zM4.118 4 4 4.059V13a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1V4.059L11.882 4H4.118zM2.5 3V2h11v1h-11z"})],-1)]),8,CDM))])])])):yM("",!0),lM!=null&&lM.subskill?(v(),R("div",QDM,[(v(!0),R(WM,null,et(lM==null?void 0:lM.subskill.slice(0,3),(fM,rt)=>(v(),R("tr",{key:rt,class:"-text-gray flex bg-white"},[lM.skillStatus&&fM.skillStatus?(v(),R("div",UDM,[PM(" - - "+aM(fM.skill)+" ",1),lM!=null&&lM.addatlistonesubskill?(v(),R("span",hDM,"Missing Proficiency")):yM("",!0)])):yM("",!0),lM.skillStatus&&fM.skillStatus?(v(),R("div",YDM,[z("div",vDM,[IM[42]||(IM[42]=z("div",{class:"pl-6"},null,-1)),z("div",null,[z("ol",kDM,[(v(!0),R(WM,null,et(NM.value.slice(0,4),BM=>(v(),R("li",{key:BM.ID+Math.random()*1e3,class:"flex w-full items-center after:inline-block after:w-full after:content-['']"},[BM.ID===fM.proficiencyId&&BM.ID===fM.idealProficiencyId?(v(),R("span",{key:0,id:`skills-radio-${fM.skill_id}-${BM.ID}`,class:"-border-gray-1 flex h-5 w-5 shrink-0 items-center justify-center overflow-hidden rounded text-white",onClick:gt=>It("industrySkillarray",fM.skill_id,BM.ID)},[IM[38]||(IM[38]=z("span",{class:"-bg-aqua span-a2 flex"},null,-1)),z("span",mDM,aM(BM.Slug),1),IM[39]||(IM[39]=z("span",{class:"-bg-blue span-b2 flex"},null,-1))],8,pDM)):(v(),R("span",{key:1,id:`skills-radio-${fM.skill_id}-${BM.ID}`,class:yt([BM.ID===fM.proficiencyId?"-bg-aqua -border-gray-1 relative flex h-5 w-5 shrink-0 items-center justify-center rounded text-white":BM.ID===fM.idealProficiencyId?"-bg-blue -border-gray-1 relative flex h-5 w-5 shrink-0 items-center justify-center rounded text-white":"-bg-white -border-gray-1 relative flex h-5 w-5 shrink-0 items-center justify-center rounded text-gray-700"]),onClick:gt=>It("industrySkillarray",fM.skill_id,BM.ID)},[z("span",PDM,aM(BM.Slug),1)],10,bDM))]))),128))])]),fM.is_mandatory?(v(),R("div",RDM,IM[40]||(IM[40]=[z("svg",{xmlns:"http://www.w3.org/2000/svg",class:"h4bi bi-trash w-4 opacity-40",fill:"gray",viewBox:"0 0 16 16"},[z("path",{d:"M5.5 5.5A.5.5 0 0 1 6 6v6a.5.5 0 0 1-1 0V6a.5.5 0 0 1 .5-.5zm2.5 0a.5.5 0 0 1 .5.5v6a.5.5 0 0 1-1 0V6a.5.5 0 0 1 .5-.5zm3 .5a.5.5 0 0 0-1 0v6a.5.5 0 0 0 1 0V6z"}),z("path",{"fill-rule":"evenodd",d:"M14.5 3a1 1 0 0 1-1 1H13v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V4h-.5a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1H6a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1h3.5a1 1 0 0 1 1 1v1zM4.118 4 4 4.059V13a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1V4.059L11.882 4H4.118zM2.5 3V2h11v1h-11z"})],-1)]))):(v(),R("div",{key:1,class:"pl-4",onClick:BM=>pt("industrySkillarray",fM.skill_id)},IM[41]||(IM[41]=[z("svg",{xmlns:"http://www.w3.org/2000/svg",class:"h4 pointer bi bi-trash w-4",fill:"gray",viewBox:"0 0 16 16"},[z("path",{d:"M5.5 5.5A.5.5 0 0 1 6 6v6a.5.5 0 0 1-1 0V6a.5.5 0 0 1 .5-.5zm2.5 0a.5.5 0 0 1 .5.5v6a.5.5 0 0 1-1 0V6a.5.5 0 0 1 .5-.5zm3 .5a.5.5 0 0 0-1 0v6a.5.5 0 0 0 1 0V6z"}),z("path",{"fill-rule":"evenodd",d:"M14.5 3a1 1 0 0 1-1 1H13v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V4h-.5a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1H6a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1h3.5a1 1 0 0 1 1 1v1zM4.118 4 4 4.059V13a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1V4.059L11.882 4H4.118zM2.5 3V2h11v1h-11z"})],-1)]),8,BDM))])])):yM("",!0)]))),128))])):yM("",!0),lM!=null&&lM.subskill&&(lM==null?void 0:lM.subskill.length)>3?(v(),R("div",HDM,[z("div",ZDM,[z("button",{class:"-text-aqua inline-block",onClick:fM=>oM("industrySkillarray",lM)},"Click to view subskills ...",8,FDM)])])):yM("",!0)])):yM("",!0)]))),128)),G.value<=3&&U.value.length>3?(v(),R("tr",XDM,[z("td",GDM,[z("button",{class:"-text-aqua inline-block",onClick:IM[2]||(IM[2]=lM=>sM("industrySkillarray",U.value.length))},"View more ...")])])):yM("",!0),G.value>3?(v(),R("tr",WDM,[z("td",VDM,[z("button",{class:"-text-aqua inline-block",onClick:IM[3]||(IM[3]=lM=>G.value=3)},"View less ...")])])):yM("",!0)])])):yM("",!0)])):(v(),R("div",JDM,"No skills found"))]),z("div",qDM,[z("div",KDM,[z("div",{onClick:IM[5]||(IM[5]=lM=>J.value=!J.value),class:"flex items-center cursor-pointer justify-between bg-gray-100 px-4 py-1 font-bold"},[IM[45]||(IM[45]=PM(" Functional Domain and Service Line ")),Q.value.length&&_.value?(v(),R("span",_DM,[J.value?(v(),R("svg",{key:1,onClick:IM[4]||(IM[4]=lM=>J.value=!J.value),class:"pointer ml-2 h-8 w-8 bg-white p-2 text-right font-bold text-black","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 18 18"},IM[44]||(IM[44]=[z("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"3",d:"M16 9l-7-7-7 7"},null,-1)]))):(v(),R("svg",$DM,IM[43]||(IM[43]=[z("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"3",d:"M2 9l7 7 7-7"},null,-1)])))])):yM("",!0)]),s.value?(v(),R("ul",MsM,IM[46]||(IM[46]=[z("li",null,"● (*)Skills - Recommended based on your role, pre- added to your profile.",-1),z("li",null,"● NEW - skills added on profile update.",-1),z("li",null,"● Proficiency definitions - Click info icon before BIPE for proficiency definitions for each skill.",-1)]))):yM("",!0)]),Q.value.length&&_.value?(v(),R("div",tsM,[J.value?(v(),R("table",LsM,[z("tbody",null,[(v(!0),R(WM,null,et(Q.value.length>3?Q.value.slice(0,W.value):Q.value,(lM,VM)=>(v(),R("div",{key:VM,class:""},[lM.skillStatus?(v(),R("div",jsM,[lM.skillStatus?(v(),R("tr",usM,[z("div",AsM,[PM(aM(lM.skill)+" ",1),lM.is_mandatory?(v(),R("sup",NsM,IM[47]||(IM[47]=[z("b",null,"*",-1)]))):yM("",!0),lM.is_new?(v(),R("span",esM,"(new)")):yM("",!0),z("div",isM,[lM.subskillcodered?(v(),R("div",SsM,"Subskill Proficiency Missing")):yM("",!0)])]),z("div",ysM,[z("div",rsM,[z("img",{class:"pointer h-4 w-4",src:vA,onClick:fM=>SM(lM.skill_id)},null,8,nsM),z("div",null,[z("ol",DsM,[(v(!0),R(WM,null,et(NM.value.slice(0,4),fM=>(v(),R("li",{key:fM.ID+Math.random()*1e3,class:"flex w-full items-center after:inline-block after:w-full after:content-['']"},[fM.ID===lM.proficiencyId&&fM.ID===lM.idealProficiencyId?(v(),R("span",{key:0,id:`skills-radio-${lM.skill_id}-${fM.ID}`,class:"-border-gray-1 flex h-5 w-5 shrink-0 items-center justify-center overflow-hidden rounded text-white",onClick:rt=>tt("domainSkillarray",lM.skill_id,fM.ID)},[IM[48]||(IM[48]=z("span",{class:"-bg-aqua span-a2 flex"},null,-1)),z("span",TsM,aM(fM.Slug),1),IM[49]||(IM[49]=z("span",{class:"-bg-blue span-b2 flex"},null,-1))],8,ssM)):(v(),R("span",{key:1,id:`skills-radio-${lM.skill_id}-${fM.ID}`,class:yt([fM.ID===lM.proficiencyId?"-bg-aqua -border-gray-1 relative flex h-5 w-5 shrink-0 items-center justify-center rounded text-white":fM.ID===lM.idealProficiencyId?"-bg-blue -border-gray-1 relative flex h-5 w-5 shrink-0 items-center justify-center rounded text-white":"-bg-white -border-gray-1 relative flex h-5 w-5 shrink-0 items-center justify-center rounded text-gray-700"]),onClick:rt=>tt("domainSkillarray",lM.skill_id,fM.ID)},[z("span",IsM,aM(fM.Slug),1)],10,zsM))]))),128))])]),lM.is_mandatory?(v(),R("div",csM,IM[50]||(IM[50]=[z("svg",{xmlns:"http://www.w3.org/2000/svg",class:"h4bi bi-trash w-4 opacity-40",fill:"gray",viewBox:"0 0 16 16"},[z("path",{d:"M5.5 5.5A.5.5 0 0 1 6 6v6a.5.5 0 0 1-1 0V6a.5.5 0 0 1 .5-.5zm2.5 0a.5.5 0 0 1 .5.5v6a.5.5 0 0 1-1 0V6a.5.5 0 0 1 .5-.5zm3 .5a.5.5 0 0 0-1 0v6a.5.5 0 0 0 1 0V6z"}),z("path",{"fill-rule":"evenodd",d:"M14.5 3a1 1 0 0 1-1 1H13v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V4h-.5a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1H6a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1h3.5a1 1 0 0 1 1 1v1zM4.118 4 4 4.059V13a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1V4.059L11.882 4H4.118zM2.5 3V2h11v1h-11z"})],-1)]))):(v(),R("div",{key:1,class:"pl-4",onClick:fM=>_M("domainSkillarray",lM.skill_id)},IM[51]||(IM[51]=[z("svg",{xmlns:"http://www.w3.org/2000/svg",class:"h4 pointer bi bi-trash w-4",fill:"gray",viewBox:"0 0 16 16"},[z("path",{d:"M5.5 5.5A.5.5 0 0 1 6 6v6a.5.5 0 0 1-1 0V6a.5.5 0 0 1 .5-.5zm2.5 0a.5.5 0 0 1 .5.5v6a.5.5 0 0 1-1 0V6a.5.5 0 0 1 .5-.5zm3 .5a.5.5 0 0 0-1 0v6a.5.5 0 0 0 1 0V6z"}),z("path",{"fill-rule":"evenodd",d:"M14.5 3a1 1 0 0 1-1 1H13v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V4h-.5a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1H6a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1h3.5a1 1 0 0 1 1 1v1zM4.118 4 4 4.059V13a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1V4.059L11.882 4H4.118zM2.5 3V2h11v1h-11z"})],-1)]),8,asM))])])])):yM("",!0),lM!=null&&lM.subskill?(v(),R("div",gsM,[(v(!0),R(WM,null,et(lM==null?void 0:lM.subskill.slice(0,3),(fM,rt)=>(v(),R("tr",{key:rt,class:"-text-gray flex bg-white"},[lM.skillStatus&&fM.skillStatus?(v(),R("div",osM,[PM(" - - "+aM(fM.skill)+" ",1),lM!=null&&lM.addatlistonesubskill?(v(),R("span",xsM,"Missing Proficiency")):yM("",!0)])):yM("",!0),lM.skillStatus&&fM.skillStatus?(v(),R("div",EsM,[z("div",lsM,[IM[56]||(IM[56]=z("div",{class:"pl-6"},null,-1)),z("div",null,[z("ol",OsM,[(v(!0),R(WM,null,et(NM.value.slice(0,4),BM=>(v(),R("li",{key:BM.ID+Math.random()*1e3,class:"flex w-full items-center after:inline-block after:w-full after:content-['']"},[BM.ID===fM.proficiencyId&&BM.ID===fM.idealProficiencyId?(v(),R("span",{key:0,id:`skills-radio-${fM.skill_id}-${BM.ID}`,class:"-border-gray-1 flex h-5 w-5 shrink-0 items-center justify-center overflow-hidden rounded text-white",onClick:gt=>It("domainSkillarray",fM.skill_id,BM.ID)},[IM[52]||(IM[52]=z("span",{class:"-bg-aqua span-a2 flex"},null,-1)),z("span",wsM,aM(BM.Slug),1),IM[53]||(IM[53]=z("span",{class:"-bg-blue span-b2 flex"},null,-1))],8,dsM)):(v(),R("span",{key:1,id:`skills-radio-${fM.skill_id}-${BM.ID}`,class:yt([BM.ID===fM.proficiencyId?"-bg-aqua -border-gray-1 relative flex h-5 w-5 shrink-0 items-center justify-center rounded text-white":BM.ID===fM.idealProficiencyId?"-bg-blue -border-gray-1 relative flex h-5 w-5 shrink-0 items-center justify-center rounded text-white":"-bg-white -border-gray-1 relative flex h-5 w-5 shrink-0 items-center justify-center rounded text-gray-700"]),onClick:gt=>It("domainSkillarray",fM.skill_id,BM.ID)},[z("span",CsM,aM(BM.Slug),1)],10,fsM))]))),128))])]),fM.is_mandatory?(v(),R("div",QsM,IM[54]||(IM[54]=[z("svg",{xmlns:"http://www.w3.org/2000/svg",class:"h4bi bi-trash w-4 opacity-40",fill:"gray",viewBox:"0 0 16 16"},[z("path",{d:"M5.5 5.5A.5.5 0 0 1 6 6v6a.5.5 0 0 1-1 0V6a.5.5 0 0 1 .5-.5zm2.5 0a.5.5 0 0 1 .5.5v6a.5.5 0 0 1-1 0V6a.5.5 0 0 1 .5-.5zm3 .5a.5.5 0 0 0-1 0v6a.5.5 0 0 0 1 0V6z"}),z("path",{"fill-rule":"evenodd",d:"M14.5 3a1 1 0 0 1-1 1H13v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V4h-.5a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1H6a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1h3.5a1 1 0 0 1 1 1v1zM4.118 4 4 4.059V13a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1V4.059L11.882 4H4.118zM2.5 3V2h11v1h-11z"})],-1)]))):(v(),R("div",{key:1,class:"pl-4",onClick:BM=>pt("domainSkillarray",fM.skill_id)},IM[55]||(IM[55]=[z("svg",{xmlns:"http://www.w3.org/2000/svg",class:"h4 pointer bi bi-trash w-4",fill:"gray",viewBox:"0 0 16 16"},[z("path",{d:"M5.5 5.5A.5.5 0 0 1 6 6v6a.5.5 0 0 1-1 0V6a.5.5 0 0 1 .5-.5zm2.5 0a.5.5 0 0 1 .5.5v6a.5.5 0 0 1-1 0V6a.5.5 0 0 1 .5-.5zm3 .5a.5.5 0 0 0-1 0v6a.5.5 0 0 0 1 0V6z"}),z("path",{"fill-rule":"evenodd",d:"M14.5 3a1 1 0 0 1-1 1H13v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V4h-.5a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1H6a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1h3.5a1 1 0 0 1 1 1v1zM4.118 4 4 4.059V13a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1V4.059L11.882 4H4.118zM2.5 3V2h11v1h-11z"})],-1)]),8,UsM))])])):yM("",!0)]))),128))])):yM("",!0),lM!=null&&lM.subskill&&(lM==null?void 0:lM.subskill.length)>3?(v(),R("div",hsM,[z("div",YsM,[z("button",{class:"-text-aqua inline-block",onClick:fM=>oM("domainSkillarray",lM)},"Click to view subskills ...",8,vsM)])])):yM("",!0)])):yM("",!0)]))),128)),W.value<=3&&Q.value.length>3?(v(),R("tr",ksM,[z("td",psM,[z("button",{class:"-text-aqua inline-block",onClick:IM[6]||(IM[6]=lM=>sM("domainSkillarray",Q.value.length))},"View more ...")])])):yM("",!0),W.value>3?(v(),R("tr",msM,[z("td",bsM,[z("button",{class:"-text-aqua inline-block",onClick:IM[7]||(IM[7]=lM=>W.value=3)},"View less ...")])])):yM("",!0)])])):yM("",!0)])):(v(),R("div",PsM,"No skills found"))]),z("div",RsM,[z("div",BsM,[z("div",{onClick:IM[9]||(IM[9]=lM=>LM.value=!LM.value),class:"flex items-center cursor-pointer justify-between bg-gray-100 px-4 py-1 font-bold"},[IM[59]||(IM[59]=PM(" Digital ")),w.value.length&&iM.value?(v(),R("span",HsM,[LM.value?(v(),R("svg",{key:1,onClick:IM[8]||(IM[8]=lM=>LM.value=!LM.value),class:"pointer ml-2 h-8 w-8 bg-white p-2 text-right font-bold text-black","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 18 18"},IM[58]||(IM[58]=[z("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"3",d:"M16 9l-7-7-7 7"},null,-1)]))):(v(),R("svg",ZsM,IM[57]||(IM[57]=[z("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"3",d:"M2 9l7 7 7-7"},null,-1)])))])):yM("",!0)]),I.value?(v(),R("ul",FsM,IM[60]||(IM[60]=[z("li",null,"● (*)Skills - Recommended based on your role, pre- added to your profile.",-1),z("li",null,"● NEW - skills added on profile update.",-1),z("li",null,"● Proficiency definitions - Click info icon before BIPE for proficiency definitions for each skill.",-1)]))):yM("",!0)]),w.value.length&&iM.value?(v(),R("div",XsM,[LM.value?(v(),R("table",GsM,[z("tbody",null,[(v(!0),R(WM,null,et(w.value.length>3?w.value.slice(0,MM.value):w.value,(lM,VM)=>(v(),R("div",{key:VM,class:""},[lM.skillStatus?(v(),R("div",WsM,[lM.skillStatus?(v(),R("tr",VsM,[z("div",JsM,[PM(aM(lM.skill)+" ",1),lM.is_mandatory?(v(),R("sup",qsM,IM[61]||(IM[61]=[z("b",null,"*",-1)]))):yM("",!0),lM!=null&&lM.is_new?(v(),R("span",KsM,"(new)")):yM("",!0),z("div",_sM,[lM.subskillcodered?(v(),R("div",$sM,"Subskill Proficiency Missing")):yM("",!0)])]),z("div",MTM,[z("div",tTM,[z("img",{class:"pointer h-4 w-4",src:vA,onClick:fM=>SM(lM.skill_id)},null,8,LTM),z("div",null,[z("ol",jTM,[(v(!0),R(WM,null,et(NM.value.slice(0,4),fM=>(v(),R("li",{key:fM.ID+Math.random()*1e3,class:"flex w-full items-center after:inline-block after:w-full after:content-['']"},[fM.ID===lM.proficiencyId&&fM.ID===lM.idealProficiencyId?(v(),R("span",{key:0,id:`skills-radio-${lM.skill_id}-${fM.ID}`,class:"-border-gray-1 flex h-5 w-5 shrink-0 items-center justify-center overflow-hidden rounded text-white",onClick:rt=>tt("digitalSkillarray",lM.skill_id,fM.ID)},[IM[62]||(IM[62]=z("span",{class:"-bg-aqua span-a2 flex"},null,-1)),z("span",ATM,aM(fM.Slug),1),IM[63]||(IM[63]=z("span",{class:"-bg-blue span-b2 flex"},null,-1))],8,uTM)):(v(),R("span",{key:1,id:`skills-radio-${lM.skill_id}-${fM.ID}`,class:yt([fM.ID===lM.proficiencyId?"-bg-aqua -border-gray-1 relative flex h-5 w-5 shrink-0 items-center justify-center rounded text-white":fM.ID===lM.idealProficiencyId?"-bg-blue -border-gray-1 relative flex h-5 w-5 shrink-0 items-center justify-center rounded text-white":"-bg-white -border-gray-1 relative flex h-5 w-5 shrink-0 items-center justify-center rounded text-gray-700"]),onClick:rt=>tt("digitalSkillarray",lM.skill_id,fM.ID)},[z("span",eTM,aM(fM.Slug),1)],10,NTM))]))),128))])]),lM.is_mandatory?(v(),R("div",iTM,IM[64]||(IM[64]=[z("svg",{xmlns:"http://www.w3.org/2000/svg",class:"h4bi bi-trash w-4 opacity-40",fill:"gray",viewBox:"0 0 16 16"},[z("path",{d:"M5.5 5.5A.5.5 0 0 1 6 6v6a.5.5 0 0 1-1 0V6a.5.5 0 0 1 .5-.5zm2.5 0a.5.5 0 0 1 .5.5v6a.5.5 0 0 1-1 0V6a.5.5 0 0 1 .5-.5zm3 .5a.5.5 0 0 0-1 0v6a.5.5 0 0 0 1 0V6z"}),z("path",{"fill-rule":"evenodd",d:"M14.5 3a1 1 0 0 1-1 1H13v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V4h-.5a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1H6a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1h3.5a1 1 0 0 1 1 1v1zM4.118 4 4 4.059V13a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1V4.059L11.882 4H4.118zM2.5 3V2h11v1h-11z"})],-1)]))):(v(),R("div",{key:1,class:"pl-4",onClick:fM=>_M("digitalSkillarray",lM.skill_id)},IM[65]||(IM[65]=[z("svg",{xmlns:"http://www.w3.org/2000/svg",class:"h4 pointer bi bi-trash w-4",fill:"gray",viewBox:"0 0 16 16"},[z("path",{d:"M5.5 5.5A.5.5 0 0 1 6 6v6a.5.5 0 0 1-1 0V6a.5.5 0 0 1 .5-.5zm2.5 0a.5.5 0 0 1 .5.5v6a.5.5 0 0 1-1 0V6a.5.5 0 0 1 .5-.5zm3 .5a.5.5 0 0 0-1 0v6a.5.5 0 0 0 1 0V6z"}),z("path",{"fill-rule":"evenodd",d:"M14.5 3a1 1 0 0 1-1 1H13v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V4h-.5a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1H6a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1h3.5a1 1 0 0 1 1 1v1zM4.118 4 4 4.059V13a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1V4.059L11.882 4H4.118zM2.5 3V2h11v1h-11z"})],-1)]),8,STM))])])])):yM("",!0),lM!=null&&lM.subskill?(v(),R("div",yTM,[(v(!0),R(WM,null,et(lM==null?void 0:lM.subskill.slice(0,3),(fM,rt)=>(v(),R("tr",{key:rt,class:"-text-gray flex bg-white"},[lM.skillStatus&&fM.skillStatus?(v(),R("div",rTM,[PM(" - - "+aM(fM.skill)+" ",1),lM!=null&&lM.addatlistonesubskill?(v(),R("span",nTM,"Missing Proficiency")):yM("",!0)])):yM("",!0),lM.skillStatus&&fM.skillStatus?(v(),R("div",DTM,[z("div",sTM,[IM[70]||(IM[70]=z("div",{class:"pl-6"},null,-1)),z("div",null,[z("ol",TTM,[(v(!0),R(WM,null,et(NM.value.slice(0,4),BM=>(v(),R("li",{key:BM.ID+Math.random()*1e3,class:"flex w-full items-center after:inline-block after:w-full after:content-['']"},[BM.ID===fM.proficiencyId&&BM.ID===fM.idealProficiencyId?(v(),R("span",{key:0,id:`skills-radio-${fM.skill_id}-${BM.ID}`,class:"-border-gray-1 flex h-5 w-5 shrink-0 items-center justify-center overflow-hidden rounded text-white",onClick:gt=>It("digitalSkillarray",fM.skill_id,BM.ID)},[IM[66]||(IM[66]=z("span",{class:"-bg-aqua span-a2 flex"},null,-1)),z("span",ITM,aM(BM.Slug),1),IM[67]||(IM[67]=z("span",{class:"-bg-blue span-b2 flex"},null,-1))],8,zTM)):(v(),R("span",{key:1,id:`skills-radio-${fM.skill_id}-${BM.ID}`,class:yt([BM.ID===fM.proficiencyId?"-bg-aqua -border-gray-1 relative flex h-5 w-5 shrink-0 items-center justify-center rounded text-white":BM.ID===fM.idealProficiencyId?"-bg-blue -border-gray-1 relative flex h-5 w-5 shrink-0 items-center justify-center rounded text-white":"-bg-white -border-gray-1 relative flex h-5 w-5 shrink-0 items-center justify-center rounded text-gray-700"]),onClick:gt=>It("digitalSkillarray",fM.skill_id,BM.ID)},[z("span",aTM,aM(BM.Slug),1)],10,cTM))]))),128))])]),fM.is_mandatory?(v(),R("div",gTM,IM[68]||(IM[68]=[z("svg",{xmlns:"http://www.w3.org/2000/svg",class:"h4bi bi-trash w-4 opacity-40",fill:"gray",viewBox:"0 0 16 16"},[z("path",{d:"M5.5 5.5A.5.5 0 0 1 6 6v6a.5.5 0 0 1-1 0V6a.5.5 0 0 1 .5-.5zm2.5 0a.5.5 0 0 1 .5.5v6a.5.5 0 0 1-1 0V6a.5.5 0 0 1 .5-.5zm3 .5a.5.5 0 0 0-1 0v6a.5.5 0 0 0 1 0V6z"}),z("path",{"fill-rule":"evenodd",d:"M14.5 3a1 1 0 0 1-1 1H13v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V4h-.5a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1H6a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1h3.5a1 1 0 0 1 1 1v1zM4.118 4 4 4.059V13a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1V4.059L11.882 4H4.118zM2.5 3V2h11v1h-11z"})],-1)]))):(v(),R("div",{key:1,class:"pl-4",onClick:BM=>pt("digitalSkillarray",fM.skill_id)},IM[69]||(IM[69]=[z("svg",{xmlns:"http://www.w3.org/2000/svg",class:"h4 pointer bi bi-trash w-4",fill:"gray",viewBox:"0 0 16 16"},[z("path",{d:"M5.5 5.5A.5.5 0 0 1 6 6v6a.5.5 0 0 1-1 0V6a.5.5 0 0 1 .5-.5zm2.5 0a.5.5 0 0 1 .5.5v6a.5.5 0 0 1-1 0V6a.5.5 0 0 1 .5-.5zm3 .5a.5.5 0 0 0-1 0v6a.5.5 0 0 0 1 0V6z"}),z("path",{"fill-rule":"evenodd",d:"M14.5 3a1 1 0 0 1-1 1H13v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V4h-.5a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1H6a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1h3.5a1 1 0 0 1 1 1v1zM4.118 4 4 4.059V13a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1V4.059L11.882 4H4.118zM2.5 3V2h11v1h-11z"})],-1)]),8,oTM))])])):yM("",!0)]))),128))])):yM("",!0),lM!=null&&lM.subskill&&(lM==null?void 0:lM.subskill.length)>3?(v(),R("div",xTM,[z("div",ETM,[z("button",{class:"-text-aqua inline-block",onClick:fM=>oM("digitalSkillarray",lM)},"Click to view subskills ...",8,lTM)])])):yM("",!0)])):yM("",!0)]))),128)),MM.value<=3&&w.value.length>3?(v(),R("tr",OTM,[z("td",dTM,[z("button",{class:"-text-aqua inline-block",onClick:IM[10]||(IM[10]=lM=>sM("digitalSkillarray",w.value.length))},"View more ...")])])):yM("",!0),MM.value>3?(v(),R("tr",wTM,[z("td",fTM,[z("button",{class:"-text-aqua inline-block",onClick:IM[11]||(IM[11]=lM=>MM.value=3)},"View less ...")])])):yM("",!0)])])):yM("",!0)])):(v(),R("div",CTM,"No skills found"))]),z("div",QTM,[z("div",UTM,[z("div",{onClick:IM[13]||(IM[13]=lM=>eM.value=!eM.value),class:"flex items-center cursor-pointer justify-between bg-gray-100 px-4 py-1 font-bold"},[IM[73]||(IM[73]=PM(" Professional ")),x.value.length&&jM.value?(v(),R("span",hTM,[eM.value?(v(),R("svg",{key:1,onClick:IM[12]||(IM[12]=lM=>eM.value=!eM.value),class:"pointer ml-2 h-8 w-8 bg-white p-2 text-right font-bold text-black","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 18 18"},IM[72]||(IM[72]=[z("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"3",d:"M16 9l-7-7-7 7"},null,-1)]))):(v(),R("svg",YTM,IM[71]||(IM[71]=[z("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"3",d:"M2 9l7 7 7-7"},null,-1)])))])):yM("",!0)]),T.value?(v(),R("ul",vTM,IM[74]||(IM[74]=[z("li",null,"● (*)Skills - Recommended based on your role, pre- added to your profile.",-1),z("li",null,"● NEW - skills added on profile update.",-1),z("li",null,"● Proficiency definitions - Click info icon before BIPE for proficiency definitions for each skill.",-1)]))):yM("",!0)]),x.value.length&&jM.value?(v(),R("div",kTM,[eM.value?(v(),R("table",pTM,[z("tbody",null,[(v(!0),R(WM,null,et(x.value.length>3?TM(ej)(x.value.slice(0,Z.value),"skill"):x.value,(lM,VM)=>(v(),R("div",{key:VM,class:""},[lM.skillStatus?(v(),R("div",mTM,[lM.skillStatus?(v(),R("tr",bTM,[z("div",PTM,[PM(aM(lM.skill)+" ",1),lM.is_mandatory?(v(),R("sup",RTM,IM[75]||(IM[75]=[z("b",null,"*",-1)]))):yM("",!0),lM.is_new?(v(),R("span",BTM,"(new)")):yM("",!0),z("div",HTM,[lM.subskillcodered?(v(),R("div",ZTM,"Subskill Proficiency Missing")):yM("",!0)])]),z("div",FTM,[z("div",XTM,[z("img",{class:"pointer h-4 w-4",src:vA,onClick:fM=>SM(lM.skill_id)},null,8,GTM),z("div",null,[z("ol",WTM,[(v(!0),R(WM,null,et(NM.value.slice(0,4),fM=>(v(),R("li",{key:fM.ID+Math.random()*1e3,class:"flex w-full items-center after:inline-block after:w-full after:content-['']"},[fM.ID===lM.proficiencyId&&fM.ID===lM.idealProficiencyId?(v(),R("span",{key:0,id:`skills-radio-${lM.skill_id}-${fM.ID}`,class:"-border-gray-1 flex h-5 w-5 shrink-0 items-center justify-center overflow-hidden rounded text-white",onClick:rt=>tt("profSkillarray",lM.skill_id,fM.ID)},[IM[76]||(IM[76]=z("span",{class:"-bg-aqua span-a2 flex"},null,-1)),z("span",JTM,aM(fM.Slug),1),IM[77]||(IM[77]=z("span",{class:"-bg-blue span-b2 flex"},null,-1))],8,VTM)):(v(),R("span",{key:1,id:`skills-radio-${lM.skill_id}-${fM.ID}`,class:yt([fM.ID===lM.proficiencyId?"-bg-aqua -border-gray-1 relative flex h-5 w-5 shrink-0 items-center justify-center rounded text-white":fM.ID===lM.idealProficiencyId?"-bg-blue -border-gray-1 relative flex h-5 w-5 shrink-0 items-center justify-center rounded text-white":"-bg-white -border-gray-1 relative flex h-5 w-5 shrink-0 items-center justify-center rounded text-gray-700"]),onClick:rt=>tt("profSkillarray",lM.skill_id,fM.ID)},[z("span",KTM,aM(fM.Slug),1)],10,qTM))]))),128))])]),lM.is_mandatory?(v(),R("div",_TM,IM[78]||(IM[78]=[z("svg",{xmlns:"http://www.w3.org/2000/svg",class:"h4bi bi-trash w-4 opacity-40",fill:"gray",viewBox:"0 0 16 16"},[z("path",{d:"M5.5 5.5A.5.5 0 0 1 6 6v6a.5.5 0 0 1-1 0V6a.5.5 0 0 1 .5-.5zm2.5 0a.5.5 0 0 1 .5.5v6a.5.5 0 0 1-1 0V6a.5.5 0 0 1 .5-.5zm3 .5a.5.5 0 0 0-1 0v6a.5.5 0 0 0 1 0V6z"}),z("path",{"fill-rule":"evenodd",d:"M14.5 3a1 1 0 0 1-1 1H13v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V4h-.5a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1H6a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1h3.5a1 1 0 0 1 1 1v1zM4.118 4 4 4.059V13a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1V4.059L11.882 4H4.118zM2.5 3V2h11v1h-11z"})],-1)]))):(v(),R("div",{key:1,class:"pl-4",onClick:fM=>_M("profSkillarray",lM.skill_id)},IM[79]||(IM[79]=[z("svg",{xmlns:"http://www.w3.org/2000/svg",class:"h4 pointer bi bi-trash w-4",fill:"gray",viewBox:"0 0 16 16"},[z("path",{d:"M5.5 5.5A.5.5 0 0 1 6 6v6a.5.5 0 0 1-1 0V6a.5.5 0 0 1 .5-.5zm2.5 0a.5.5 0 0 1 .5.5v6a.5.5 0 0 1-1 0V6a.5.5 0 0 1 .5-.5zm3 .5a.5.5 0 0 0-1 0v6a.5.5 0 0 0 1 0V6z"}),z("path",{"fill-rule":"evenodd",d:"M14.5 3a1 1 0 0 1-1 1H13v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V4h-.5a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1H6a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1h3.5a1 1 0 0 1 1 1v1zM4.118 4 4 4.059V13a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1V4.059L11.882 4H4.118zM2.5 3V2h11v1h-11z"})],-1)]),8,$TM))])])])):yM("",!0),lM!=null&&lM.subskill?(v(),R("div",MzM,[(v(!0),R(WM,null,et(lM==null?void 0:lM.subskill.slice(0,3),(fM,rt)=>(v(),R("tr",{key:rt,class:"-text-gray flex bg-white"},[lM.skillStatus&&fM.skillStatus?(v(),R("div",tzM,[PM(" - - "+aM(fM.skill)+" ",1),lM!=null&&lM.addatlistonesubskill?(v(),R("span",LzM,"Missing Proficiency")):yM("",!0)])):yM("",!0),lM.skillStatus&&fM.skillStatus?(v(),R("div",jzM,[z("div",uzM,[IM[84]||(IM[84]=z("div",{class:"pl-6"},null,-1)),z("div",null,[z("ol",AzM,[(v(!0),R(WM,null,et(NM.value.slice(0,4),BM=>(v(),R("li",{key:BM.ID+Math.random()*1e3,class:"flex w-full items-center after:inline-block after:w-full after:content-['']"},[BM.ID===fM.proficiencyId&&BM.ID===fM.idealProficiencyId?(v(),R("span",{key:0,id:`skills-radio-${fM.skill_id}-${BM.ID}`,class:"-border-gray-1 flex h-5 w-5 shrink-0 items-center justify-center overflow-hidden rounded text-white",onClick:gt=>It("profSkillarray",fM.skill_id,BM.ID)},[IM[80]||(IM[80]=z("span",{class:"-bg-aqua span-a2 flex"},null,-1)),z("span",ezM,aM(BM.Slug),1),IM[81]||(IM[81]=z("span",{class:"-bg-blue span-b2 flex"},null,-1))],8,NzM)):(v(),R("span",{key:1,id:`skills-radio-${fM.skill_id}-${BM.ID}`,class:yt([BM.ID===fM.proficiencyId?"-bg-aqua -border-gray-1 relative flex h-5 w-5 shrink-0 items-center justify-center rounded text-white":BM.ID===fM.idealProficiencyId?"-bg-blue -border-gray-1 relative flex h-5 w-5 shrink-0 items-center justify-center rounded text-white":"-bg-white -border-gray-1 relative flex h-5 w-5 shrink-0 items-center justify-center rounded text-gray-700"]),onClick:gt=>It("profSkillarray",fM.skill_id,BM.ID)},[z("span",SzM,aM(BM.Slug),1)],10,izM))]))),128))])]),fM.is_mandatory?(v(),R("div",yzM,IM[82]||(IM[82]=[z("svg",{xmlns:"http://www.w3.org/2000/svg",class:"h4bi bi-trash w-4 opacity-40",fill:"gray",viewBox:"0 0 16 16"},[z("path",{d:"M5.5 5.5A.5.5 0 0 1 6 6v6a.5.5 0 0 1-1 0V6a.5.5 0 0 1 .5-.5zm2.5 0a.5.5 0 0 1 .5.5v6a.5.5 0 0 1-1 0V6a.5.5 0 0 1 .5-.5zm3 .5a.5.5 0 0 0-1 0v6a.5.5 0 0 0 1 0V6z"}),z("path",{"fill-rule":"evenodd",d:"M14.5 3a1 1 0 0 1-1 1H13v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V4h-.5a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1H6a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1h3.5a1 1 0 0 1 1 1v1zM4.118 4 4 4.059V13a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1V4.059L11.882 4H4.118zM2.5 3V2h11v1h-11z"})],-1)]))):(v(),R("div",{key:1,class:"pl-4",onClick:BM=>pt("profSkillarray",fM.skill_id)},IM[83]||(IM[83]=[z("svg",{xmlns:"http://www.w3.org/2000/svg",class:"h4 pointer bi bi-trash w-4",fill:"gray",viewBox:"0 0 16 16"},[z("path",{d:"M5.5 5.5A.5.5 0 0 1 6 6v6a.5.5 0 0 1-1 0V6a.5.5 0 0 1 .5-.5zm2.5 0a.5.5 0 0 1 .5.5v6a.5.5 0 0 1-1 0V6a.5.5 0 0 1 .5-.5zm3 .5a.5.5 0 0 0-1 0v6a.5.5 0 0 0 1 0V6z"}),z("path",{"fill-rule":"evenodd",d:"M14.5 3a1 1 0 0 1-1 1H13v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V4h-.5a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1H6a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1h3.5a1 1 0 0 1 1 1v1zM4.118 4 4 4.059V13a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1V4.059L11.882 4H4.118zM2.5 3V2h11v1h-11z"})],-1)]),8,rzM))])])):yM("",!0)]))),128))])):yM("",!0),lM!=null&&lM.subskill&&(lM==null?void 0:lM.subskill.length)>3?(v(),R("div",nzM,[z("div",DzM,[z("button",{class:"-text-aqua inline-block",onClick:fM=>oM("profSkillarray",lM)},"Click to view subskills ...",8,szM)])])):yM("",!0)])):yM("",!0)]))),128)),Z.value<=3&&x.value.length>3?(v(),R("tr",TzM,[z("td",zzM,[z("button",{class:"-text-aqua inline-block",onClick:IM[14]||(IM[14]=lM=>sM("profSkillarray",x.value.length))},"View more ...")])])):yM("",!0),Z.value>3?(v(),R("tr",IzM,[z("td",czM,[z("button",{class:"-text-aqua inline-block",onClick:IM[15]||(IM[15]=lM=>Z.value=3)},"View less ...")])])):yM("",!0)])])):yM("",!0)])):(v(),R("div",azM,"No skills found"))])])])]),IM[89]||(IM[89]=z("div",{id:"skilluploadid"},null,-1)),m.value&&!P.value||e.value&&!P.value?(v(),R("div",gzM,[z("div",{onClick:IM[16]||(IM[16]=lM=>zM()),class:"bot-text relative w-full max-w-3xl md:w-auto lg:w-auto"},IM[86]||(IM[86]=[z("button",{class:"-border-blue-1 -bg-blue mr-2 inline-block px-4 py-1.5 text-sm text-white"},"Submit",-1)]))])):yM("",!0),E.value?(v(),R("section",ozM,IM[87]||(IM[87]=[z("div",{class:"mt-24 flex items-start justify-center"},[z("img",{class:"w-24",src:nj,alt:"Loader Gif"})],-1)]))):yM("",!0)])),f.value?(v(),qt(mu,{key:2,showdiscription:!0,name:"showdiscription",discriptioValue:{descriptionPopupvalue:C.value},onConsetvalueemit:IM[17]||(IM[17]=lM=>f.value=lM)},null,8,["discriptioValue"])):yM("",!0),a.value?(v(),qt(jnM,{key:3,"array-of":K.value,"skill-data":B.value,name:"skillselection",onConsetvalueemit:IM[18]||(IM[18]=lM=>a.value=lM)},null,8,["array-of","skill-data"])):yM("",!0),g.value?(v(),qt(yY,{key:4,"array-of":K.value,skillload:N.value,"skill-data":B.value,name:"skillselection",onSavecheckemit:IM[19]||(IM[19]=lM=>u.value=lM),onConsetvalueemit:IM[20]||(IM[20]=lM=>(g.value=lM,N.value=lM))},null,8,["array-of","skillload","skill-data"])):yM("",!0),n.value?(v(),qt(mI,{key:5,text:D.value,onConsetvalueemit:IM[21]||(IM[21]=lM=>n.value=lM)},null,8,["text"])):yM("",!0),y.value?(v(),qt(mu,{key:6,name:"atlistoneskill",onConsetvalueemit:IM[22]||(IM[22]=lM=>y.value=lM)})):yM("",!0),r.value?(v(),qt(mu,{key:7,name:"atlistoneskill",onConsetvalueemit:IM[23]||(IM[23]=lM=>r.value=lM)})):yM("",!0),i.value?(v(),qt(mu,{key:8,name:"digestpopup",onSubmitprofileemit:IM[24]||(IM[24]=lM=>zM()),onConsetvalueemit:IM[25]||(IM[25]=lM=>i.value=lM)})):yM("",!0),S.value?(v(),qt(mu,{key:9,name:"startoverpopup",onStartoveremit:IM[26]||(IM[26]=lM=>nM()),onConsetvalueemit:IM[27]||(IM[27]=lM=>S.value=lM)})):yM("",!0),j.value?(v(),qt(mu,{key:10,name:"onloadpopup",onConsetvalueemit:IM[28]||(IM[28]=lM=>j.value=lM)})):yM("",!0)]))}}),eCt="",rY=jL(xzM,[["__scopeId","data-v-371816ce"]]),EzM={key:1},lzM={key:0,class:"row bot-text-left relative mb-1 mt-4 items-start md:px-8 lg:px-8"},OzM={class:"bot-text relative mb-14 flex w-full md:w-auto lg:w-auto"},dzM={class:"relative"},wzM={key:1,class:"w-full"},fzM={key:0,class:"bot-text relative mb-4 max-w-3xl"},CzM={class:"relative w-full max-w-3xl border bg-[#F2F2F2] px-5 py-2 md:w-auto lg:w-auto"},QzM={class:"md:flex lg:flex"},UzM={class:"w-auto border border-gray-400 bg-white px-4 py-1.5 text-sm md:w-72 lg:w-72"},hzM={for:"uploadResume",class:"pointer text-gray-500"},YzM=["disabled"],vzM={key:0,class:"mt-2 md:mt-0 md:pl-2 lg:mt-0 lg:pl-2"},kzM=["disabled"],pzM={key:0,class:"row bot-text-left relative mb-1 mt-2 flex items-start"},mzM={class:"relative w-full max-w-3xl border bg-[#F2F2F2] px-5 py-2 md:w-auto lg:w-auto"},bzM={class:"text-red-500"},PzM={key:1,class:"row bot-text-left relative mb-1 mt-2 flex items-start"},RzM={class:"relative w-full max-w-3xl border bg-[#F2F2F2] px-5 py-2 md:w-auto lg:w-auto"},BzM={class:"text-red-500"},HzM={key:2,class:"row bot-text-left relative mb-1 mt-2 flex items-start"},ZzM={class:"relative w-full max-w-3xl border bg-[#F2F2F2] px-5 py-2 md:w-auto lg:w-auto"},FzM={class:"flex items-center"},XzM={key:3,class:"row bot-text-left relative mb-1 mt-2 flex items-start"},GzM={class:"bot-text text-row-bg relative w-full max-w-3xl px-5 py-2 md:w-auto lg:w-auto"},WzM={class:"flex items-center"},VzM={class:"-text-blue flex items-center"},JzM={class:"pt-1"},qzM={key:2,class:"row bot-text-left relative mb-4 flex items-start"},KzM={class:"bot-text relative w-full max-w-3xl p-2 md:w-auto lg:w-auto"},_zM={class:"flex items-center pt-3"},$zM={class:"drop-locked relative"},MIM={key:0,class:"shadow absolute top-10 z-10 max-h-72 w-72 divide-y divide-gray-100 overflow-y-auto rounded-lg bg-white dark:bg-gray-700"},tIM={class:"list-none py-2 text-sm text-gray-700 dark:text-gray-200","aria-labelledby":"dropdownHoverButton"},LIM={key:0,class:"block cursor-pointer px-4 py-2 font-bold hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white"},jIM=["onClick"],uIM=["onClick"],AIM={key:0,class:"mt-1.5 text-red-500"},NIM={key:0},eIM={key:1,class:"pt-3"},iIM={class:"-text-blue rounded border border-gray-300 bg-gray-100 px-3 pb-3 pt-2"},SIM={class:"flex w-full flex-wrap text-xs"},yIM={class:"pointer pl-2"},rIM=["onClick"],nIM={class:"pt-1"},DIM={key:3,class:"flex justify-center"},sIM={class:""},TIM={class:"z-50"},zIM={key:0,class:"fixed -top-6 left-0 z-50 flex h-full min-h-screen w-full items-center justify-center bg-[#707070] bg-opacity-30 p-2 text-[15px] md:top-0 md:p-0 lg:top-0 lg:p-0"},IIM={class:"popup-content shadow-lg w-full overflow-auto bg-white md:h-auto md:w-1/3 lg:h-auto lg:w-1/3"},cIM={class:"flex w-full justify-end pr-4 pt-4"},aIM={key:0,class:"popup-body geLight -text-blue px-8 py-2"},gIM={class:"mb-2 text-lg font-bold"},oIM={class:"h-40 overflow-y-scroll"},xIM=["value","onClick"],EIM={class:""},lIM={class:"flex justify-center pt-6"},OIM={key:1,class:"flex items-center justify-center"},dIM={key:0,class:"fixed -top-6 left-0 z-50 flex h-full min-h-screen w-full items-center justify-center bg-[#707070] bg-opacity-30 p-2 text-[15px] md:top-0 md:p-0 lg:top-0 lg:p-0"},wIM={class:"popup-content shadow-lg w-full bg-white text-center md:w-2/3 lg:w-2/3"},fIM={class:"popup-body geLight -text-blue px-12 py-12"},CIM={class:"text-3xl"},QIM={class:"w-full rounded-full bg-gray-200"},UIM=kt({__name:"SkillmatchingComponent",props:{initSkillupload:{type:Boolean,default:()=>!1},profileskilllist:{type:Object}},emits:["resumeUploaded","closeProfileemit","initSkilluploademit","finalSkilluploademit","closeUploademit"],setup(L,{emit:M}){const t=IL(),j=M,u=Tu();V(!1);const A=V(!1),N=V(!1),e=V(!1),i=V(!1);V(!1);const S=V();V(5);const y=V(),r=V(),n=V(),D=V([]),s=V([]);V("Please wait while the resume is uploading");const I=V(!1),T=V(!1),c=V(!1),a=V(!1),g=V(!1),o=V(!1),E=V(!1),f=V(0),C=V(),h=V(),Y=V();V();const k=V([]),p=V([]),m=V([]);m.value=t.suggestedSkillsArray;const U=V([]);V([]);const Q=V(""),w=V("");let x=V(""),O=V("");const l=V(!1),d=V(!1),b=V(!1),X=V(null),B=L;oL(async()=>{var AM;document.addEventListener("click",H),(AM=m.value)==null||AM.forEach(_=>{_.skillAddedinlist=!1})});const G=()=>{X.value&&clearTimeout(X.value),X.value=setTimeout(()=>{MM()},300)},W=()=>{console.log("innnnnnnnnnnnn"),j("closeUploademit",!0),j("finalSkilluploademit",!0)},MM=async()=>{var AM;if(C.value.length>="3")try{((AM=C==null?void 0:C.value)==null?void 0:AM.split(/[,;]/)).forEach(async iM=>{U.value=[];const{data:jM}=await WL(`/delphi/skill_master/name?skillName=${iM}`);let SM=jM;if(SM=SM.filter(zM=>zM.skillId!=="4b77650b-5053-418a-afff-026395ec5ca7"),console.log("dummy",SM),d.value=!0,SM.length){const zM=new Map,sM={},oM=YM=>YM.parentId===null||YM.parentId==="-1";SM.forEach(YM=>{oM(YM)?zM.set(YM.skillId,{...YM,subskill:[]}):(sM[YM.parentId]||(sM[YM.parentId]=[]),sM[YM.parentId].push(YM))});const CM=new Set(Array.from(zM.keys()));console.log("parentIds",CM);for(const YM of zM.keys()){const FM=(sM[YM]||[]).filter(ut=>!CM.has(ut.skillId));zM.get(YM).subskill=FM.sort((ut,tt)=>ut.skillName.localeCompare(tt.skillName))}U.value=Array.from(zM.values()).sort((YM,kM)=>YM.skillName.localeCompare(kM.skillName)),console.log("profileSkillarray2222222",U.value)}else U.value.push({skillName1:"Sorry, no matching options."})})}catch(_){_.response?u.error(`${_.response.data.message}`):_.message?u.error(`${_.message}`):u.error("Failed to load data")}},Z=async(AM,_)=>{var iM;if(p!=null&&p.value.some(jM=>jM.skillId===_.skill_id))p.value.splice(AM,1);else{const jM={parentId:_.parentskillid,skillId:_.skill_id,skillName:_.skill,skillStatus:!0,myPlanRelevent:!1};(iM=p==null?void 0:p.value)==null||iM.push(jM)}},K=async()=>{var AM;(AM=p.value)==null||AM.forEach(_=>{k.value.push(_)}),p.value=[],a.value=!1};UA(()=>{document.removeEventListener("click",H)});const H=AM=>{const _=document.querySelector(".drop-locked");_&&!_.contains(AM.target.parentNode)&&(d.value=!1)},P=AM=>{Q.value="",w.value="",y.value=AM.target.files[0],S.value=AM.target.files[0].name;const _=1024*1024*1;if(y.value.size>_){Q.value="File size exceeds the maximum allowed size (1MB).",S.value=null,y.value=null,f.value++;return}if(!["application/pdf","application/vnd.openxmlformats-officedocument.wordprocessingml.document","text/plain"].includes(y.value.type)){w.value="Invalid file type. Please upload valid file.",S.value=null,y.value=null,f.value++;return}},J=async AM=>{console.log("inn3");let _="",iM=0,jM=setInterval(async()=>{try{iM+=1;const SM=await WL(`/delphi/prompt/chain/execution/status/${AM}`);if(_=SM.data.data.status,D.value.includes(SM.data.data.message)||D.value.push(SM.data.data.message),_==="success"){clearInterval(jM);const zM=await WL(`/delphi/v2/myprofile/parser/${AM}`);D.value.includes(zM.data.message)||D.value.push(zM.data.message),zM.data.status==="success"&&(t.initSkilluploadArray=zM.data.final_skill_data_for_ui,A.value=!0)}else(_==="failed"||iM===500)&&(u.error("Failed to load data"),N.value=!0,i.value=!1,l.value=!1,clearInterval(jM))}catch(SM){SM.response?u.error(`${SM.response.data.message}`):SM.message?u.error(`${SM.message}`):u.error("Failed to upload resume"),N.value=!0,i.value=!1,l.value=!1}},3e3)},LM=async()=>{i.value=!0,g.value=!0,console.log("enteredSkillarray.value",k.value);try{const AM={skills:k.value},{data:_}=await HL("delphi/v2/myprofile",AM);console.log("data",_),_==="profile saved successfully"&&(await t.ProfileV6function(),j("closeUploademit",!0),j("finalSkilluploademit",!0),i.value=!1,g.value=!1)}catch{N.value=!0,i.value=!1}},eM=async()=>{if(l.value=!0,g.value=!0,i.value=!0,!S.value)n.value="Please Select valid file to upload",setTimeout(()=>{n.value=null},6e3);else try{const AM=await HL("/delphi/signed_url",{file_name:S.value}),_=AM.data.messsage.url,iM=AM.data.messsage.file_key;if((await RD(_,y.value)).status===200){let SM;B.initSkillupload?SM={file_key:iM,skill_data:"",init_added_more_skill:!0}:SM={file_key:iM,skill_data:"",final_added_more_skill:!0};const{data:zM}=await HL("/delphi/v3/skill_profile/resume",SM);zM&&!zM.error?(D.value.includes(zM.message)||D.value.push(zM.message),await J(zM==null?void 0:zM.execution_id)):(u.error(`${zM.message}`),N.value=!0,i.value=!1,l.value=!1)}else u.error("Unable to upload the file"),N.value=!0,i.value=!1,l.value=!1}catch(AM){AM.response?u.error(`${AM.response.data.message}`):AM.message?u.error(`${AM.message}`):u.error("Failed to upload resume"),N.value=!0,i.value=!1,l.value=!1}},$=async()=>{S.value=null,y.value=null,f.value++},NM=async(AM,_,iM)=>{var jM,SM,zM,sM;iM&&((jM=k==null?void 0:k.value)!=null&&jM.some(oM=>oM.skillId===iM))?((SM=k==null?void 0:k.value)==null?void 0:SM.filter(CM=>CM.parentId===iM)).length===1?e.value=!0:k.value.splice(AM,1):(k.value.splice(AM,1),k.value=(zM=k.value)==null?void 0:zM.filter(oM=>oM.parentId!==_)),(sM=m.value)==null||sM.forEach(oM=>{oM.skill_id===_&&(oM.skillAddedinlist=!1)})},nM=async(AM,_)=>{var jM,SM,zM,sM,oM,CM,YM;s.value=[],p.value=[],Y.value="",h.value="",b.value=!1,O.value="",x.value="";let iM=!1;if((jM=k.value)==null||jM.forEach(kM=>{kM.skillName===AM.skillName&&(iM=!0)}),(zM=(SM=B==null?void 0:B.profileskilllist)==null?void 0:SM.profileParseddataMatchedskill)==null||zM.forEach(kM=>{kM.skill_id===(AM==null?void 0:AM.skillId)&&kM.skillStatus&&(b.value=!0,O.value=AM==null?void 0:AM.skillName,x.value="already exists in learning profile.",setTimeout(()=>{b.value=!1,O.value="",x.value=""},7e3))}),!b.value){if(iM)O.value=AM==null?void 0:AM.skillName,x.value="already exists in list.",setTimeout(()=>{O.value="",x.value="",iM=!1},4e3);else if(k.value.push(AM),console.log("enteredSkillarray.value",k.value),console.log("val?.parentId",AM==null?void 0:AM.skillId),console.log("enteredSkillarray?.value?.some((obj) => obj.skillId === val?.parentId)",(sM=k==null?void 0:k.value)==null?void 0:sM.some(kM=>(kM==null?void 0:kM.parentId)===(AM==null?void 0:AM.skillId))),!((oM=k==null?void 0:k.value)!=null&&oM.some(kM=>(kM==null?void 0:kM.parentId)===(AM==null?void 0:AM.skillId))))try{a.value=!0;const{data:kM}=await WL(`/delphi/subskills/${AM==null?void 0:AM.skillId}`);console.log("data",kM),((CM=kM==null?void 0:kM.subskill)==null?void 0:CM.length)!==0?(s.value=kM==null?void 0:kM.subskill,O.value=AM==null?void 0:AM.skillName,h.value=(YM=k.value)==null?void 0:YM.findIndex(FM=>FM.skillId===(AM==null?void 0:AM.skillId))):(d.value=!1,C.value="",a.value=!1)}catch{d.value=!1,C.value="",a.value=!1}}d.value=!1,C.value=""};return(AM,_)=>{var iM;return TM(t).initSkilluploadArray&&A.value?(v(),qt(rY,{key:0,onSkillSelectionemit:_[0]||(_[0]=jM=>W())})):(v(),R("section",EzM,[z("section",null,[c.value?yM("",!0):(v(),R("div",lzM,[_[23]||(_[23]=z("div",{class:"flex"},[z("div",{class:"pt-0.5 text-lg"},"Choose how would you like to add skills to your profile")],-1)),z("div",OzM,[z("button",{onClick:_[1]||(_[1]=jM=>{T.value=!0,E.value=!0,c.value=!0}),class:"mr-2 mt-1 inline-block cursor-pointer bg-genome-v6 px-4 py-1.5 text-sm text-white"},"Add skills manually"),z("button",dzM,[z("div",null,[z("div",{onClick:_[2]||(_[2]=jM=>{I.value=!0,c.value=!0}),class:"mt-1 inline-block cursor-pointer bg-genome-v6 px-4 py-1.5 text-sm text-white"},"Add skills from resume")])]),_[22]||(_[22]=z("div",{class:"ml-2 flex items-end text-left text-xs md:w-64 lg:w-64"},"(Uploading your resume adds new skills without replacing existing ones in your skills profile)",-1))])])),o.value?(v(),R("div",wzM,[g.value?yM("",!0):(v(),R("div",fzM,[z("div",CzM,[z("div",QzM,[z("div",UzM,[_[25]||(_[25]=z("input",{id:"uploadResume",type:"file",class:"hidden"},null,-1)),z("label",hzM,[_[24]||(_[24]=PM("Upload your resume here ")),(v(),R("input",{key:f.value,disabled:g.value,type:"file",onChange:_[3]||(_[3]=jM=>P(jM))},null,40,YzM))])]),S.value?(v(),R("div",vzM,[z("button",{disabled:g.value,class:"-border-blue-1 -bg-blue inline-block px-6 py-1.5 text-white",onClick:_[4]||(_[4]=jM=>eM())},"Upload",8,kzM)])):yM("",!0)]),_[26]||(_[26]=z("div",{class:"mt-1 flex"},[z("div",{class:"-text-blue"},"File size max 1 MB"),z("div",{class:"pl-6"},"File types .pdf/.docx/.txt")],-1))]),Q.value?(v(),R("div",pzM,[z("div",mzM,[z("p",bzM,aM(Q.value),1)])])):yM("",!0),w.value?(v(),R("div",PzM,[z("div",RzM,[z("p",BzM,aM(w.value),1)])])):yM("",!0),S.value?(v(),R("div",HzM,[z("div",ZzM,[z("div",FzM,[z("div",{class:yt([g.value?"-text-blue flex cursor-not-allowed items-center":"-text-blue flex items-center"])},[z("span",null,aM(S.value),1),z("span",{class:yt([g.value?"cursor-not-allowed pl-2":"pointer pl-2"]),onClick:_[5]||(_[5]=jM=>$())},_[27]||(_[27]=[z("svg",{class:"h-2 w-2","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 14 14"},[z("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"m1 1 6 6m0 0 6 6M7 7l6-6M7 7l-6 6"})],-1)]),2)],2)])])])):yM("",!0),r.value?(v(),R("div",XzM,[z("div",GzM,[z("div",WzM,[z("div",VzM,[z("span",null,aM(r.value),1)])])])])):yM("",!0),z("div",JzM,[z("button",{class:"-bg-blue mr-2 inline-block px-4 py-1.5 text-sm text-white",onClick:_[6]||(_[6]=jM=>{o.value=!1,c.value=!1})},"Skip uploading resume")])]))])):yM("",!0),E.value&&!g.value?(v(),R("div",qzM,[z("div",KzM,[_[31]||(_[31]=Pj('<div class="-text-blue mt-1 font-bold" data-v-4a9b2598>Add Skills</div><div class="-text-blue pt-0.5 text-[15px]" data-v-4a9b2598> We recommend your profile highlights key skills you regularly use in your current role, covering industry (<span class="text-xs" data-v-4a9b2598>e.g. Banking, Insurance...</span>), domain (<span class="text-xs" data-v-4a9b2598>e.g. Sourcing & Procurement, Claims…</span>), digital (<span class="text-xs" data-v-4a9b2598>e.g. Generative AI, ADM - Java…</span>), and professional (<span class="text-xs" data-v-4a9b2598>e.g. Executive presence, Storytelling…</span>) skills. </div>',2)),z("div",_zM,[z("div",$zM,[Yt(z("input",{"onUpdate:modelValue":_[7]||(_[7]=jM=>C.value=jM),onInput:_[8]||(_[8]=jM=>G()),type:"text",class:"-text-blue h-9 w-auto border border-gray-400 px-2 py-1.5 text-[15px] outline-none focus:outline-none md:w-64 md:placeholder:text-center lg:w-64 lg:placeholder:text-center",placeholder:"Select or Search skills"},null,544),[[Lj,C.value]]),_[28]||(_[28]=z("div",{class:"absolute inset-y-0 end-4 flex items-center ps-3"},[z("svg",{class:"h-3 w-3 text-gray-500","aria-hidden":"true",fill:"none",viewBox:"0 0 20 20"},[z("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"m19 19-4-4m0-7A7 7 0 1 1 1 8a7 7 0 0 1 14 0Z"})])],-1)),d.value?(v(),R("div",MIM,[z("ul",tIM,[(v(!0),R(WM,null,et(U.value,(jM,SM)=>(v(),R("li",{key:SM},[jM.skillName1?(v(),R("a",LIM,aM(jM.skillName1),1)):(v(),R("a",{key:1,onClick:zM=>nM(jM),class:"block cursor-pointer px-4 py-2 font-bold hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white"},aM(jM.skillName),9,jIM)),(v(!0),R(WM,null,et(jM.subskill,(zM,sM)=>(v(),R("div",{key:sM},[z("span",{class:"block cursor-pointer pb-1 pl-6 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white",onClick:oM=>nM(zM)},aM(zM.skillName),9,uIM)]))),128))]))),128))])])):yM("",!0)])]),TM(x)!==""?(v(),R("div",AIM,[TM(O)!==""?(v(),R("b",NIM,aM(TM(O)),1)):yM("",!0),PM(" "+aM(TM(x)),1)])):yM("",!0),k.value&&k.value.length?(v(),R("div",eIM,[z("div",iIM,[_[30]||(_[30]=z("div",{class:"flex justify-end"},null,-1)),z("div",SIM,[(v(!0),R(WM,null,et(k.value,(jM,SM)=>(v(),R("div",{key:SM,class:"-text-gray mr-1 mt-1 flex items-center justify-between border border-gray-400 bg-white px-2 py-1.5"},[z("span",null,aM(jM.skillName),1),z("span",yIM,[(v(),R("svg",{class:"-text-gray bi bi-plus h-2 w-2","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 14 14",onClick:zM=>NM(SM,jM.skillId,jM.parentId)},_[29]||(_[29]=[z("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"m1 1 6 6m0 0 6 6M7 7l6-6M7 7l-6 6"},null,-1)]),8,rIM))])]))),128))])])])):yM("",!0),z("div",nIM,[k.value&&k.value.length?(v(),R("button",{key:0,class:"-bg-blue mr-2 inline-block rounded px-4 py-1.5 text-sm text-white",onClick:_[9]||(_[9]=jM=>LM())},"Submit")):yM("",!0),z("button",{class:"inline-block rounded bg-genpact-darkest-teal px-4 py-1.5 text-sm text-white",onClick:_[10]||(_[10]=jM=>{c.value=!1,E.value=!1})},"Skip adding skills")])])])):yM("",!0),i.value?(v(),R("div",DIM,[z("div",sIM,[dt(SY)])])):yM("",!0)]),z("section",null,[I.value?(v(),qt(mu,{key:0,name:"resumeupload",onConsetvalueemit:_[11]||(_[11]=jM=>I.value=jM),onResumeUploadvalueemit:_[12]||(_[12]=jM=>(o.value=jM,c.value=jM)),onSkipinputvalueemit:_[13]||(_[13]=jM=>(E.value=jM,c.value=jM))})):yM("",!0),T.value?(v(),qt(mu,{key:1,name:"manualentry",onConsetvalueemit:_[14]||(_[14]=jM=>T.value=jM),onResumeUploadvalueemit:_[15]||(_[15]=jM=>(o.value=jM,c.value=!0)),onSkipinputvalueemit:_[16]||(_[16]=jM=>(E.value=jM,c.value=jM))})):yM("",!0),N.value?(v(),qt(mI,{key:2,onConsetvalueemit:_[17]||(_[17]=jM=>N.value=jM)})):yM("",!0),e.value?(v(),qt(mu,{key:3,name:"atlistoneskill",onConsetvalueemit:_[18]||(_[18]=jM=>e.value=jM)})):yM("",!0),z("section",TIM,[a.value?(v(),R("div",zIM,[z("div",IIM,[z("div",cIM,[z("span",{class:"pointer pl-2 text-right",onClick:_[19]||(_[19]=jM=>(NM(h.value,Y.value,""),a.value=!1))},_[32]||(_[32]=[z("img",{class:"",src:CL,alt:"Close"},null,-1)]))]),(iM=s.value)!=null&&iM.length?(v(),R("div",aIM,[z("div",gIM,"Choose atleast one subskill under "+aM(TM(O)),1),z("div",oIM,[(v(!0),R(WM,null,et(s.value,(jM,SM)=>(v(),R("div",{class:"p-1",key:SM},[z("input",{class:"mr-2",value:jM,onClick:zM=>Z(SM,jM),type:"checkbox"},null,8,xIM),z("span",EIM,aM(jM.skill),1)]))),128))]),z("div",lIM,[z("button",{onClick:_[20]||(_[20]=jM=>K()),class:"-bg-blue mr-3 inline-block cursor-pointer rounded px-6 py-2 text-white"},"Submit"),z("button",{onClick:_[21]||(_[21]=jM=>(NM(h.value,Y.value,""),a.value=!1)),class:"-bg-blue inline-block cursor-pointer rounded px-6 py-2 text-white"},"Cancel")])])):(v(),R("div",OIM,_[33]||(_[33]=[z("img",{class:"w-24",src:nj,alt:"Loader Gif"},null,-1)])))])])):yM("",!0)])]),l.value?(v(),R("div",dIM,[z("div",wIM,[z("div",fIM,[z("div",CIM,[z("b",null,aM(D.value.length*7>100?100:D.value.length*7)+"%",1)]),_[34]||(_[34]=z("div",{class:"mb-4 font-bold"},"Gen AI is preparing a draft version of your skills profile for your review!",-1)),z("div",QIM,[z("div",{class:"h-3 rounded-full bg-background-secondary p-0.5 text-center text-xs font-medium leading-none text-blue-100",style:Cj({width:D.value.length*7>100?100:D.value.length*7+"%"})},null,4)])])])])):yM("",!0)]))}}}),iCt="",hIM=jL(UIM,[["__scopeId","data-v-4a9b2598"]]),bI="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIj8+PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciICB2aWV3Qm94PSIwIDAgMjQgMjQiIHdpZHRoPSIyNHB4IiBoZWlnaHQ9IjI0cHgiIHN0eWxlPSJmaWxsOiAjMDczMjYyOyI+ICAgIDxwYXRoIGQ9Ik0gMTkuMTcxODc1IDIgQyAxOC40NDgxMjUgMiAxNy43MjQzNzUgMi4yNzU2MjUgMTcuMTcxODc1IDIuODI4MTI1IEwgMTYgNCBMIDIwIDggTCAyMS4xNzE4NzUgNi44MjgxMjUgQyAyMi4yNzU4NzUgNS43MjQxMjUgMjIuMjc1ODc1IDMuOTMzMTI1IDIxLjE3MTg3NSAyLjgyODEyNSBDIDIwLjYxOTM3NSAyLjI3NTYyNSAxOS44OTU2MjUgMiAxOS4xNzE4NzUgMiB6IE0gMTQuNSA1LjUgTCAzIDE3IEwgMyAyMSBMIDcgMjEgTCAxOC41IDkuNSBMIDE0LjUgNS41IHoiLz48L3N2Zz4=",zl="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAXEAAAHICAMAAACPnCorAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyRpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDcuMS1jMDAwIDc5LmRhYmFjYmIsIDIwMjEvMDQvMTQtMDA6Mzk6NDQgICAgICAgICI+IDxyZGY6UkRGIHhtbG5zOnJkZj0iaHR0cDovL3d3dy53My5vcmcvMTk5OS8wMi8yMi1yZGYtc3ludGF4LW5zIyI+IDxyZGY6RGVzY3JpcHRpb24gcmRmOmFib3V0PSIiIHhtbG5zOnhtcD0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wLyIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bXA6Q3JlYXRvclRvb2w9IkFkb2JlIFBob3Rvc2hvcCAyMi41IChXaW5kb3dzKSIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDpFQUI3MzNEQjlCNUQxMUVGODU5MEJEMTM1Q0ExRTc5MyIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDpFQUI3MzNEQzlCNUQxMUVGODU5MEJEMTM1Q0ExRTc5MyI+IDx4bXBNTTpEZXJpdmVkRnJvbSBzdFJlZjppbnN0YW5jZUlEPSJ4bXAuaWlkOkVBQjczM0Q5OUI1RDExRUY4NTkwQkQxMzVDQTFFNzkzIiBzdFJlZjpkb2N1bWVudElEPSJ4bXAuZGlkOkVBQjczM0RBOUI1RDExRUY4NTkwQkQxMzVDQTFFNzkzIi8+IDwvcmRmOkRlc2NyaXB0aW9uPiA8L3JkZjpSREY+IDwveDp4bXBtZXRhPiA8P3hwYWNrZXQgZW5kPSJyIj8+uWWqXwAAADBQTFRFpLTNaYq7T4DKUIzp5enwTYPTg5vBuMTXV4DATofeztbidZG9YIS8kqfGVJX4////GJ2E1AAAABB0Uk5T////////////////////AOAjXRkAAARXSURBVHja7NvbcqowGIBRDuEgKLz/27a96EWnamDzYyfu9T1BWJNJYsBq1WurEBAnLuLERZy4iBMnLuLERZy4iBMnLuLERZy4iBMnLuLERZy4iBMXceLERZy4iBMXceLERZy4iBMXceLERZy4iBMXceIiTpy4iBMXceIqXLyqm8uyLF1TD8TPL9Vf2t9d6kT83OZ2+VnbEz9zgjfL78ZE/KyGdrlXl4if03QfvDDygsRTtzyqI35G1+VxNfETRro8ayIeXvNUfCQevm0uz0vEX7iKfzUTD67LiDfEg4+GSy7irzyplHRaeR/xijhx4sSJEydOnDhx4sSJEydOnDhx4sSJEydOnDhx4sSJEydOnDhx4sSJEydOnDhx4sSJEydOnDhx4sSJEydOnDhx4sSJEydOnDhx4sSJEydOnDhx4sSJEydOnDhx4sSJEydOnDhx4sSJEydOnDhx4sSJEydOnDhx4sSJEydOnDhx4sSJEydOnDhx4sSJEydOnDhx4sSJEydOnDhx4sSJEydOnDhx4sSJEydOnDhx4sSJEydOnDhx4sSJEydOnDhx4sSJEz9LPFX13zVmxcc/HF2V4sXT3C16XNenWPG6hZqpnQPFhwvQLfN8iBLvYW6c5lWMOPDt9RHiN447ZvlwXDzZM/d0SYfFR4q7uh4VrxjubDooborvbTwmPhHcvXmmQ+Izwd3dDolbVML3zoy466v9NYfE+f3DkZz4qyNOnPiTXKq8eudsAEb/6MyI1wB3Nx8SHwBGX2XlbrK84QxexrPiXrkFX6vk30iY5LFTPC/ulcS+hsPi65Vi3EFl29cTbmzDzuJbvxBCHgi+7Ss4v4OilpTNX3pW3kxsOKUMa5z457mcecZ7q+T2L/aneXSvdbe2Gftps6N/pfgfEHHixIkTJ06cOHHixIkTJ06cOHHixIkTJ06cOHHixIkTJ06cOHHixIkTJ06cOHHixIkTJ06cOHHixIkTJ06cOHHixIkTJ06cOHHixIkTJ06cOHHixIkTJ06cOHHixIkTJ06cOHHixIkTJ06cOHHixIkTJ06cOHHixIkTJ06cOHHixIkTJ06cOHHixIkTJ06cOHHixIkTJ06cOHHixIkTJ06cOHHixIkTJ06cOHHixIkTJ06cOHHixIkTJ06cOHHixIkTL118IB7alBVficfWZsA74sGNGfEr8eBub7KMlyO+Xp6CNyvx6Pq3OBuWJL52bzHFSxIfHh9X2on4a9eVkp6ipLE+JO9X4meR31tY2rKeoazRrkPze9OcVuKnTvOf5/LuVtoDFCf+OeTxG/1yHQoc/lpiqfqqyKEXKl5yxIkTF3HiIk5cxIkTF3HiIk5cxIkTF3HiIk5cxIkTF3HiIk5cxImLOHHiIk5cxImLOHHiIk5cxImLOHHiIk5cxImLOHERJ05cxImLOHERJ05cxImLOHERJ05cxImLOHERJ05cxImLOHERJy7ixP+XPgQYADsmC2OSXHEcAAAAAElFTkSuQmCC",YIM={key:1},vIM={key:0,class:"row bot-text-left relative mb-1 items-start"},kIM={class:"bot-text relative mb-24 w-full max-w-3xl md:w-auto lg:w-auto"},pIM={class:"relative"},mIM={key:1,class:"w-full"},bIM={key:0,class:"bot-text relative mb-4 max-w-3xl"},PIM={class:"relative w-full max-w-3xl border bg-[#F2F2F2] px-5 py-2 md:w-auto lg:w-auto"},RIM={class:"md:flex lg:flex"},BIM={class:"w-auto border border-gray-400 bg-white px-4 py-1.5 text-sm md:w-72 lg:w-72"},HIM={for:"uploadResume",class:"pointer text-gray-500"},ZIM=["disabled"],FIM={key:0,class:"mt-2 md:mt-0 md:pl-2 lg:mt-0 lg:pl-2"},XIM=["disabled"],GIM={key:0,class:"row bot-text-left relative mb-1 mt-2 flex items-start"},WIM={class:"relative w-full max-w-3xl border bg-[#F2F2F2] px-5 py-2 md:w-auto lg:w-auto"},VIM={class:"text-red-500"},JIM={key:1,class:"row bot-text-left relative mb-1 mt-2 flex items-start"},qIM={class:"relative w-full max-w-3xl border bg-[#F2F2F2] px-5 py-2 md:w-auto lg:w-auto"},KIM={class:"text-red-500"},_IM={key:2,class:"row bot-text-left relative mb-1 mt-2 flex items-start"},$IM={class:"relative w-full max-w-3xl border bg-[#F2F2F2] px-5 py-2 md:w-auto lg:w-auto"},McM={class:"flex items-center"},tcM={key:3,class:"row bot-text-left relative mb-1 mt-2 flex items-start"},LcM={class:"bot-text text-row-bg relative w-full max-w-3xl px-5 py-2 md:w-auto lg:w-auto"},jcM={class:"flex items-center"},ucM={class:"-text-blue flex items-center"},AcM={class:"pt-1"},NcM={key:2,class:"row bot-text-right relative mb-1 flex justify-end"},ecM={key:3,class:"row bot-text-left relative mb-4 flex items-start"},icM={class:"bot-text relative w-full p-2 md:w-auto lg:w-auto"},ScM={class:"flex items-center pt-3"},ycM={class:"drop-locked relative"},rcM={key:0,class:"shadow absolute top-10 z-10 max-h-72 w-72 divide-y divide-gray-100 overflow-y-auto rounded-lg bg-white dark:bg-gray-700"},ncM={class:"list-none py-2 text-sm text-gray-700 dark:text-gray-200","aria-labelledby":"dropdownHoverButton"},DcM={key:0,class:"block cursor-pointer px-4 py-2 font-bold hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white"},scM=["onClick"],TcM=["onClick"],zcM={key:0,class:"mt-2 border p-2"},IcM={class:""},ccM=["onClick"],acM={class:"flex items-center"},gcM={key:0,class:"ml-2 h-3 w-3 text-gray-800 dark:text-white","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",fill:"#073262",viewBox:"0 0 18 18"},ocM={key:1,class:"mt-1.5 text-red-500"},xcM={key:0},EcM={key:2,class:"pt-3"},lcM={class:"-text-blue rounded border border-gray-300 bg-gray-100 px-3 pb-3 pt-2"},OcM={class:"flex w-full flex-wrap text-xs"},dcM={class:"pointer pl-2"},wcM=["onClick"],fcM={class:"pt-1"},CcM={key:4,class:"flex justify-center"},QcM={class:"z-50"},UcM={key:0,class:"fixed -top-6 left-0 z-50 flex h-full min-h-screen w-full items-center justify-center bg-[#707070] bg-opacity-30 p-2 text-[15px] md:top-0 md:p-0 lg:top-0 lg:p-0"},hcM={class:"popup-content shadow-lg w-full overflow-auto bg-white md:h-auto md:w-1/3 lg:h-auto lg:w-1/3"},YcM={class:"flex w-full justify-end pr-4 pt-4"},vcM={key:0,class:"popup-body geLight -text-blue px-8 py-2"},kcM={class:"mb-2 text-lg font-bold"},pcM={class:"h-40 overflow-y-scroll"},mcM=["value","onClick"],bcM={class:""},PcM={key:0,class:"mt-1.5 text-red-500"},RcM={class:"flex justify-center pt-6"},BcM={key:1,class:"flex items-center justify-center"},HcM={key:0,class:"fixed -top-6 left-0 z-50 flex h-full min-h-screen w-full items-center justify-center bg-[#707070] bg-opacity-30 p-2 text-[15px] md:top-0 md:p-0 lg:top-0 lg:p-0"},ZcM={class:"popup-content shadow-lg w-full bg-white text-center md:w-2/3 lg:w-2/3"},FcM={class:"popup-body geLight -text-blue px-12 py-12"},XcM={class:"text-3xl"},GcM={class:"w-full rounded-full bg-gray-200"},WcM=kt({__name:"SkilluploadComponent",props:{initSkillupload:{type:Boolean,default:()=>!1},profileskilllist:{type:Object}},emits:["resumeUploaded","closeProfileemit","initSkilluploademit","finalSkilluploademit","closeUploademit","loadervalueemit"],setup(L,{emit:M}){const t=IL(),j=M,u=Tu();V(!1);const A=V(!1),N=V(!1),e=V(!1),i=V(!1);V(!1);const S=V(),y=V(7),r=V(),n=V(),D=V(),s=V([]),I=V([]);V("Please wait while the resume is uploading");const T=V(!1),c=V(!1),a=V(!1),g=V(!1),o=V(!1),E=V(!1),f=V(!1),C=V(0),h=V(),Y=V(),k=V();V();const p=V([]),m=V([]),U=V([]);U.value=t.suggestedSkillsArray;const Q=V([]);V([]);const w=V(""),x=V("");let O=V(""),l=V(""),d=V("");const b=V(!1),X=V(!1),B=V(!1),G=V(null),W=L;oL(async()=>{var jM;document.addEventListener("click",J),(jM=U.value)==null||jM.forEach(SM=>{SM.skillAddedinlist=!1})});const MM=()=>{G.value&&clearTimeout(G.value),G.value=setTimeout(()=>{K()},300)},Z=()=>{console.log("innnnnnnnnnnnn"),j("closeUploademit",!0),j("finalSkilluploademit",!0)},K=async()=>{var jM;if(h.value.length>="3")try{const SM=(jM=h==null?void 0:h.value)==null?void 0:jM.split(/[,;]/);console.log("skill",SM),SM.forEach(async zM=>{Q.value=[];const{data:sM}=await WL(`/delphi/skill_master/name?skillName=${zM}`);let oM=sM;if(oM=oM.filter(CM=>CM.skillId!=="4b77650b-5053-418a-afff-026395ec5ca7"),console.log("dummy",oM),X.value=!0,oM.length){const CM=new Map,YM={},kM=ut=>ut.parentId===null||ut.parentId==="-1";oM.forEach(ut=>{kM(ut)?CM.set(ut.skillId,{...ut,subskill:[]}):(YM[ut.parentId]||(YM[ut.parentId]=[]),YM[ut.parentId].push(ut))});const FM=new Set(Array.from(CM.keys()));console.log("parentIds",FM);for(const ut of CM.keys()){const It=(YM[ut]||[]).filter(_M=>!FM.has(_M.skillId));CM.get(ut).subskill=It.sort((_M,pt)=>_M.skillName.localeCompare(pt.skillName))}Q.value=Array.from(CM.values()).sort((ut,tt)=>ut.skillName.localeCompare(tt.skillName)),console.log("profileSkillarray2222222",Q.value)}else Q.value.push({skillName1:"Sorry, no matching options."})})}catch(SM){SM.response?u.error(`${SM.response.data.message}`):SM.message?u.error(`${SM.message}`):u.error("Failed to load data")}},H=async(jM,SM)=>{var zM;if(m!=null&&m.value.some(sM=>sM.skillId===SM.skill_id))m.value.splice(jM,1);else{const sM={parentId:SM.parentskillid,skillId:SM.skill_id,skillName:SM.skill,skillStatus:!0,myPlanRelevent:!1};(zM=m==null?void 0:m.value)==null||zM.push(sM)}},P=async(jM,SM,zM)=>{var sM;console.log("enteredSubskillarray.value",m.value),m.value.length?((sM=m.value)==null||sM.forEach(oM=>{p.value.push(oM)}),m.value=[],g.value=!1):(l.value="Please add atleast one subskill",setTimeout(()=>{l.value=""},7e3))};UA(()=>{document.removeEventListener("click",J)});const J=jM=>{const SM=document.querySelector(".drop-locked");SM&&!SM.contains(jM.target.parentNode)&&(X.value=!1)},LM=jM=>{w.value="",x.value="",r.value=jM.target.files[0],S.value=jM.target.files[0].name;const SM=1024*1024*1;if(r.value.size>SM){w.value="File size exceeds the maximum allowed size (1MB).",S.value=null,r.value=null,C.value++;return}if(!["application/pdf","application/vnd.openxmlformats-officedocument.wordprocessingml.document","text/plain"].includes(r.value.type)){x.value="Invalid file type. Please upload valid file.",S.value=null,r.value=null,C.value++;return}},eM=async jM=>{console.log("inn3");let SM="",zM=0,sM=setInterval(async()=>{try{zM+=1;const oM=await WL(`/delphi/prompt/chain/execution/status/${jM}`);if(SM=oM.data.data.status,s.value.includes(oM.data.data.message)||s.value.push(oM.data.data.message),SM==="success"){clearInterval(sM);const CM=await WL(`/delphi/v2/myprofile/parser/${jM}`);s.value.includes(CM.data.message)||s.value.push(CM.data.message),CM.data.status==="success"&&(t.initSkilluploadArray=CM.data.final_skill_data_for_ui,A.value=!0)}else(SM==="failed"||zM===500)&&(u.error("Failed to load data"),N.value=!0,i.value=!1,b.value=!1,clearInterval(sM))}catch(oM){oM.response?u.error(`${oM.response.data.message}`):oM.message?u.error(`${oM.message}`):u.error("Failed to upload resume"),N.value=!0,i.value=!1,b.value=!1}},3e3)},$=async()=>{o.value=!0,console.log("enteredSkillarray.value",p.value);try{const jM={skills:p.value},{data:SM}=await HL("delphi/v2/myprofile",jM);console.log("data",SM),SM==="profile saved successfully"&&(await t.ProfileV6function(),j("closeUploademit",!0),j("finalSkilluploademit",!0),o.value=!1)}catch{N.value=!0,i.value=!1}},NM=async()=>{if(b.value=!0,o.value=!0,i.value=!0,!S.value)D.value="Please Select valid file to upload",setTimeout(()=>{D.value=null},6e3);else try{const jM=await HL("/delphi/signed_url",{file_name:S.value}),SM=jM.data.messsage.url,zM=jM.data.messsage.file_key;if((await RD(SM,r.value)).status===200){let oM;W.initSkillupload?oM={file_key:zM,skill_data:"",init_added_more_skill:!0}:oM={file_key:zM,skill_data:"",final_added_more_skill:!0};const{data:CM}=await HL("/delphi/v3/skill_profile/resume",oM);CM&&!CM.error?(s.value.includes(CM.message)||s.value.push(CM.message),await eM(CM==null?void 0:CM.execution_id)):(u.error(`${CM.message}`),N.value=!0,i.value=!1,b.value=!1)}else u.error("Unable to upload the file"),N.value=!0,i.value=!1,b.value=!1}catch(jM){jM.response?u.error(`${jM.response.data.message}`):jM.message?u.error(`${jM.message}`):u.error("Failed to upload resume"),N.value=!0,i.value=!1,b.value=!1}},nM=async()=>{S.value=null,r.value=null,C.value++},AM=async(jM,SM,zM)=>{var sM,oM,CM,YM;zM&&((sM=p==null?void 0:p.value)!=null&&sM.some(kM=>kM.skillId===zM))?((oM=p==null?void 0:p.value)==null?void 0:oM.filter(FM=>FM.parentId===zM)).length===1?e.value=!0:p.value.splice(jM,1):(p.value.splice(jM,1),p.value=(CM=p.value)==null?void 0:CM.filter(kM=>kM.parentId!==SM)),(YM=U.value)==null||YM.forEach(kM=>{kM.skill_id===SM&&(kM.skillAddedinlist=!1)})},_=async(jM,SM)=>{var sM,oM,CM,YM,kM,FM,ut,tt;I.value=[],m.value=[],k.value="",Y.value="",B.value=!1,d.value="",O.value="";let zM=!1;if((sM=p.value)==null||sM.forEach(It=>{It.skillName===jM.skillName&&(zM=!0)}),(CM=(oM=W==null?void 0:W.profileskilllist)==null?void 0:oM.profileParseddataMatchedskill)==null||CM.forEach(It=>{It.skill_id===(jM==null?void 0:jM.skill_id)&&It.skillStatus&&(B.value=!0,d.value=jM==null?void 0:jM.skill,O.value="already exists in learning profile.",setTimeout(()=>{B.value=!1,d.value="",O.value=""},7e3))}),!B.value)if(zM)d.value=jM==null?void 0:jM.skill,O.value="already exists in list.",setTimeout(()=>{d.value="",O.value="",zM=!1},4e3);else{const It={skillId:jM.skill_id,skillName:jM.skill,parentId:jM.parentskillid,skillStatus:!0,myPlanRelevent:!1};if((YM=U.value)==null||YM.forEach(_M=>{_M.skill_id===jM.skill_id&&(_M.skillAddedinlist=!0)}),k.value=jM.skill_id,p.value.push(It),console.log("enteredSkillarray.value",p.value),console.log("val?.parentId",jM),console.log("enteredSkillarray?.value?.some((obj) => obj.skillId === val?.parentId)",(kM=p==null?void 0:p.value)==null?void 0:kM.some(_M=>(_M==null?void 0:_M.parentId)===(jM==null?void 0:jM.skill_id))),!((FM=p==null?void 0:p.value)!=null&&FM.some(_M=>(_M==null?void 0:_M.parentId)===(jM==null?void 0:jM.skill_id))))try{g.value=!0;const{data:_M}=await WL(`/delphi/subskills/${jM==null?void 0:jM.skill_id}`);((ut=_M==null?void 0:_M.subskill)==null?void 0:ut.length)!==0?(I.value=_M==null?void 0:_M.subskill,d.value=jM==null?void 0:jM.skillName,Y.value=(tt=p.value)==null?void 0:tt.findIndex(pt=>pt.skillId===(jM==null?void 0:jM.skillId))):(X.value=!1,h.value="",g.value=!1)}catch{X.value=!1,h.value="",g.value=!1}}},iM=async(jM,SM)=>{var sM,oM,CM,YM,kM,FM,ut;I.value=[],m.value=[],k.value="",Y.value="",B.value=!1,d.value="",O.value="";let zM=!1;if((sM=p.value)==null||sM.forEach(tt=>{tt.skillName===jM.skillName&&(zM=!0)}),(CM=(oM=W==null?void 0:W.profileskilllist)==null?void 0:oM.profileParseddataMatchedskill)==null||CM.forEach(tt=>{tt.skill_id===(jM==null?void 0:jM.skillId)&&tt.skillStatus&&(B.value=!0,d.value=jM==null?void 0:jM.skillName,O.value="already exists in learning profile.",setTimeout(()=>{B.value=!1,d.value="",O.value=""},7e3))}),!B.value){if(zM)d.value=jM==null?void 0:jM.skillName,O.value="already exists in list.",setTimeout(()=>{d.value="",O.value="",zM=!1},4e3);else if(p.value.push(jM),console.log("enteredSkillarray.value",p.value),console.log("val?.parentId",jM==null?void 0:jM.skillId),console.log("enteredSkillarray?.value?.some((obj) => obj.skillId === val?.parentId)",(YM=p==null?void 0:p.value)==null?void 0:YM.some(tt=>(tt==null?void 0:tt.parentId)===(jM==null?void 0:jM.skillId))),!((kM=p==null?void 0:p.value)!=null&&kM.some(tt=>(tt==null?void 0:tt.parentId)===(jM==null?void 0:jM.skillId))))try{g.value=!0;const{data:tt}=await WL(`/delphi/subskills/${jM==null?void 0:jM.skillId}`);console.log("data",tt),((FM=tt==null?void 0:tt.subskill)==null?void 0:FM.length)!==0?(I.value=tt==null?void 0:tt.subskill,d.value=jM==null?void 0:jM.skillName,Y.value=(ut=p.value)==null?void 0:ut.findIndex(It=>It.skillId===(jM==null?void 0:jM.skillId))):(X.value=!1,h.value="",g.value=!1)}catch{X.value=!1,h.value="",g.value=!1}}X.value=!1,h.value=""};return(jM,SM)=>{var zM;return TM(t).initSkilluploadArray&&A.value?(v(),qt(rY,{key:0,onSkillSelectionemit:SM[0]||(SM[0]=sM=>Z())})):(v(),R("section",YIM,[z("section",null,[a.value?yM("",!0):(v(),R("div",vIM,[SM[27]||(SM[27]=z("div",{class:"flex"},[z("div",{class:"flex"},[z("div",{class:"pt-0.5 text-lg"},"Choose any of the options to add skills")])],-1)),z("div",kIM,[z("button",{onClick:SM[1]||(SM[1]=sM=>{c.value=!0,f.value=!0,a.value=!0}),class:"mr-2 mt-1 inline-block cursor-pointer bg-genome-v6 px-4 py-1.5 text-sm text-white"},"Add skills manually"),z("button",pIM,[z("div",null,[z("div",{onClick:SM[2]||(SM[2]=sM=>{T.value=!0,a.value=!0}),class:"mt-1 inline-block cursor-pointer bg-genome-v6 px-4 py-1.5 text-sm text-white"},"Add skills from resume"),z("button",{onClick:SM[3]||(SM[3]=sM=>jM.$emit("closeUploademit",!0)),class:"ml-3"},SM[25]||(SM[25]=[z("svg",{class:"h-3 w-3","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 14 14"},[z("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"m1 1 6 6m0 0 6 6M7 7l6-6M7 7l-6 6"})],-1)]))]),SM[26]||(SM[26]=z("div",{class:"absolute text-left text-xs md:w-64 lg:w-64"},"(Uploading your resume adds new skills without replacing existing ones in your skills profile)",-1))])])])),E.value?(v(),R("div",mIM,[o.value?yM("",!0):(v(),R("div",bIM,[z("div",PIM,[z("div",RIM,[z("div",BIM,[SM[29]||(SM[29]=z("input",{id:"uploadResume",type:"file",class:"hidden"},null,-1)),z("label",HIM,[SM[28]||(SM[28]=PM("Upload your resume here ")),(v(),R("input",{key:C.value,disabled:o.value,type:"file",onChange:SM[4]||(SM[4]=sM=>LM(sM))},null,40,ZIM))])]),S.value?(v(),R("div",FIM,[z("button",{disabled:o.value,class:"-border-blue-1 -bg-blue inline-block px-6 py-1.5 text-white",onClick:SM[5]||(SM[5]=sM=>NM())},"Upload",8,XIM)])):yM("",!0)]),SM[30]||(SM[30]=z("div",{class:"mt-1 flex"},[z("div",{class:"-text-blue"},"File size max 1 MB"),z("div",{class:"pl-6"},"File types .pdf/.docx/.txt")],-1))]),w.value?(v(),R("div",GIM,[z("div",WIM,[z("p",VIM,aM(w.value),1)])])):yM("",!0),x.value?(v(),R("div",JIM,[z("div",qIM,[z("p",KIM,aM(x.value),1)])])):yM("",!0),S.value?(v(),R("div",_IM,[z("div",$IM,[z("div",McM,[z("div",{class:yt([o.value?"-text-blue flex cursor-not-allowed items-center":"-text-blue flex items-center"])},[z("span",null,aM(S.value),1),z("span",{class:yt([o.value?"cursor-not-allowed pl-2":"pointer pl-2"]),onClick:SM[6]||(SM[6]=sM=>nM())},SM[31]||(SM[31]=[z("svg",{class:"h-2 w-2","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 14 14"},[z("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"m1 1 6 6m0 0 6 6M7 7l6-6M7 7l-6 6"})],-1)]),2)],2)])])])):yM("",!0),n.value?(v(),R("div",tcM,[z("div",LcM,[z("div",jcM,[z("div",ucM,[z("span",null,aM(n.value),1)])])])])):yM("",!0),z("div",AcM,[z("button",{class:"-bg-blue mr-2 inline-block px-4 py-1.5 text-sm text-white",onClick:SM[7]||(SM[7]=sM=>jM.$emit("closeUploademit",!0))},"Skip uploading resume")])]))])):yM("",!0),f.value?(v(),R("div",NcM)):yM("",!0),f.value&&!o.value?(v(),R("div",ecM,[z("div",icM,[SM[37]||(SM[37]=Pj('<div class="-text-blue mt-1 font-bold" data-v-ca295f61>Add skills manually</div><div class="-text-blue pt-0.5 text-[15px]" data-v-ca295f61> We recommend your profile highlights key skills you regularly use in your current role, covering industry (<span class="text-xs" data-v-ca295f61>e.g. Banking, Insurance...</span>), domain (<span class="text-xs" data-v-ca295f61>e.g. Sourcing & Procurement, Claims…</span>), digital (<span class="text-xs" data-v-ca295f61>e.g. Generative AI, ADM - Java…</span>), and professional (<span class="text-xs" data-v-ca295f61>e.g. Executive presence, Storytelling…</span>) skills. </div>',2)),z("div",ScM,[z("div",ycM,[Yt(z("input",{"onUpdate:modelValue":SM[8]||(SM[8]=sM=>h.value=sM),onInput:SM[9]||(SM[9]=sM=>MM()),type:"text",class:"-text-blue h-9 w-auto border border-gray-400 px-2 py-1.5 text-[15px] outline-none focus:outline-none md:w-64 md:placeholder:text-center lg:w-64 lg:placeholder:text-center",placeholder:"Select or Search skills"},null,544),[[Lj,h.value]]),SM[32]||(SM[32]=z("div",{class:"absolute inset-y-0 end-4 flex items-center ps-3"},[z("svg",{class:"h-3 w-3 text-gray-500","aria-hidden":"true",fill:"none",viewBox:"0 0 20 20"},[z("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"m19 19-4-4m0-7A7 7 0 1 1 1 8a7 7 0 0 1 14 0Z"})])],-1)),X.value?(v(),R("div",rcM,[z("ul",ncM,[(v(!0),R(WM,null,et(Q.value,(sM,oM)=>(v(),R("li",{key:oM},[sM.skillName1?(v(),R("a",DcM,aM(sM.skillName1),1)):(v(),R("a",{key:1,onClick:CM=>iM(sM),class:"block cursor-pointer px-4 py-2 font-bold hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white"},aM(sM.skillName),9,scM)),(v(!0),R(WM,null,et(sM.subskill,(CM,YM)=>(v(),R("div",{key:YM},[z("span",{class:"block cursor-pointer pb-1 pl-6 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white",onClick:kM=>iM(CM)},aM(CM.skillName),9,TcM)]))),128))]))),128))])])):yM("",!0)])]),U.value&&U.value.length?(v(),R("div",zcM,[SM[34]||(SM[34]=z("h3",{class:"text-md mb-2 font-bold"},"Suggested skills based on your role",-1)),z("div",IcM,[(v(!0),R(WM,null,et(U.value.slice(0,y.value),(sM,oM)=>(v(),R("span",{class:"",key:oM},[z("span",{class:yt([[sM!=null&&sM.skillAddedinlist?"cursor-not-allowed bg-teal-300":"cursor-pointer"],"mr-1 mt-1 inline-block bg-gray-200 px-2 py-1.5 text-xs text-genpact-blue-box"]),onClick:CM=>sM!=null&&sM.skillAddedinlist?null:_(sM)},[z("span",acM,[PM(aM(sM.skill)+" ",1),sM!=null&&sM.skillAddedinlist?yM("",!0):(v(),R("svg",gcM,SM[33]||(SM[33]=[z("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M9 1v16M1 9h16"},null,-1)])))])],10,ccM)]))),128))]),U.value.length>5&&y.value<8?(v(),R("div",{key:0,onClick:SM[10]||(SM[10]=sM=>y.value=U.value.length),class:"-text-aqua ml-2 cursor-pointer text-right text-xs"},"Show more...")):yM("",!0),U.value.length>5&&y.value>7?(v(),R("div",{key:1,onClick:SM[11]||(SM[11]=sM=>y.value=7),class:"-text-aqua ml-2 cursor-pointer text-right text-xs"},"Show less...")):yM("",!0)])):yM("",!0),TM(O)!==""?(v(),R("div",ocM,[TM(d)!==""?(v(),R("b",xcM,aM(TM(d)),1)):yM("",!0),PM(" "+aM(TM(O)),1)])):yM("",!0),p.value&&p.value.length?(v(),R("div",EcM,[z("div",lcM,[SM[36]||(SM[36]=z("div",{class:"flex justify-end"},null,-1)),z("div",OcM,[(v(!0),R(WM,null,et(p.value,(sM,oM)=>(v(),R("div",{key:oM,class:"-text-gray mr-1 mt-1 flex items-center justify-between border border-gray-400 bg-white px-2 py-1.5"},[z("span",null,aM(sM.skillName),1),z("span",dcM,[(v(),R("svg",{class:"-text-gray bi bi-plus h-2 w-2","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 14 14",onClick:CM=>AM(oM,sM.skillId,sM.parentId)},SM[35]||(SM[35]=[z("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"m1 1 6 6m0 0 6 6M7 7l6-6M7 7l-6 6"},null,-1)]),8,wcM))])]))),128))])])])):yM("",!0),z("div",fcM,[p.value&&p.value.length?(v(),R("button",{key:0,class:"-bg-blue mr-2 inline-block rounded px-4 py-1.5 text-sm text-white",onClick:SM[12]||(SM[12]=sM=>$())},"Submit")):yM("",!0),z("button",{class:"inline-block rounded bg-genpact-darkest-teal px-4 py-1.5 text-sm text-white",onClick:SM[13]||(SM[13]=sM=>jM.$emit("closeUploademit",!0))},"Skip adding skills")])])])):yM("",!0),i.value?(v(),R("div",CcM,SM[38]||(SM[38]=[z("div",{class:""},[z("div",{class:"flex items-start justify-center"},[z("img",{class:"w-24",src:nj,alt:"Loader Gif"})])],-1)]))):yM("",!0)]),z("section",null,[T.value?(v(),qt(mu,{key:0,name:"resumeupload",onConsetvalueemit:SM[14]||(SM[14]=sM=>T.value=sM),onResumeUploadvalueemit:SM[15]||(SM[15]=sM=>(E.value=sM,a.value=sM)),onSkipinputvalueemit:SM[16]||(SM[16]=sM=>(f.value=sM,a.value=sM))})):yM("",!0),c.value?(v(),qt(mu,{key:1,name:"manualentry",onConsetvalueemit:SM[17]||(SM[17]=sM=>c.value=sM),onResumeUploadvalueemit:SM[18]||(SM[18]=sM=>(E.value=sM,a.value=!0)),onSkipinputvalueemit:SM[19]||(SM[19]=sM=>(f.value=sM,a.value=sM))})):yM("",!0),N.value?(v(),qt(mI,{key:2,onConsetvalueemit:SM[20]||(SM[20]=sM=>N.value=sM)})):yM("",!0),e.value?(v(),qt(mu,{key:3,name:"atlistoneskill",onConsetvalueemit:SM[21]||(SM[21]=sM=>e.value=sM)})):yM("",!0),z("section",QcM,[g.value?(v(),R("div",UcM,[z("div",hcM,[z("div",YcM,[z("span",{class:"pointer pl-2 text-right",onClick:SM[22]||(SM[22]=sM=>(AM(Y.value,k.value,""),g.value=!1))},SM[39]||(SM[39]=[z("img",{class:"",src:CL,alt:"Close"},null,-1)]))]),(zM=I.value)!=null&&zM.length?(v(),R("div",vcM,[z("div",kcM,"Choose atleast one subskill under "+aM(TM(d)),1),z("div",pcM,[(v(!0),R(WM,null,et(I.value,(sM,oM)=>(v(),R("div",{class:"p-1",key:oM},[z("input",{class:"mr-2",value:sM,onClick:CM=>H(oM,sM),type:"checkbox"},null,8,mcM),z("span",bcM,aM(sM.skill),1)]))),128))]),TM(l)?(v(),R("div",PcM,[z("b",null,aM(TM(l)),1)])):yM("",!0),z("div",RcM,[z("button",{onClick:SM[23]||(SM[23]=sM=>P(Y.value,k.value)),class:"-bg-blue mr-3 inline-block cursor-pointer rounded px-6 py-2 text-white"},"Submit"),z("button",{onClick:SM[24]||(SM[24]=sM=>(AM(Y.value,k.value,""),g.value=!1)),class:"-bg-blue inline-block cursor-pointer rounded px-6 py-2 text-white"},"Cancel")])])):(v(),R("div",BcM,SM[40]||(SM[40]=[z("img",{class:"w-24",src:nj,alt:"Loader Gif"},null,-1)])))])])):yM("",!0)])]),b.value?(v(),R("div",HcM,[z("div",ZcM,[z("div",FcM,[z("div",XcM,[z("b",null,aM(s.value.length*7>100?100:s.value.length*7)+"%",1)]),SM[41]||(SM[41]=z("div",{class:"mb-4 font-bold"},"Gen AI is preparing a draft version of your skills profile for your review!",-1)),z("div",GcM,[z("div",{class:"h-3 rounded-full bg-background-secondary p-0.5 text-center text-xs font-medium leading-none text-blue-100",style:Cj({width:s.value.length*7>100?100:s.value.length*7+"%"})},null,4)])])])])):yM("",!0)]))}}}),SCt="",VcM=jL(WcM,[["__scopeId","data-v-ca295f61"]]),JcM={class:""},qcM={key:0,class:"flex items-start justify-center"},KcM={key:1,class:"ml-2"},_cM={class:"popup-body geLight -text-blue py-2"},$cM={class:"max-h-52 overflow-y-auto"},MaM=["onClick"],taM={class:"mx-2 flex items-center"},LaM={class:""},jaM={key:0,class:"pointer ml-2 h-8 w-8 bg-white p-2 text-right font-bold text-black","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 18 18"},uaM={key:1,class:"pointer ml-2 h-8 w-8 bg-white p-2 text-right font-bold text-black","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 18 18"},AaM=["value","onClick"],NaM={class:""},eaM={key:0,class:"mt-1.5 text-red-500"},iaM={class:"flex justify-start pl-3 pt-2"},SaM=kt({__name:"addmoreskillComponent",props:{subSkilllist:{type:Object,default:()=>({})},initSkillupload:{type:Boolean,default:()=>!1}},emits:["hassubskillemit","closeemit"],setup(L,{emit:M}){const t=Tu(),j=V(0),u=L,A=V(!1),N=V(),e=V([]),i=M;oL(async()=>{var s,I,T,c,a;A.value=!0;try{const g=[];(s=u==null?void 0:u.subSkilllist)!=null&&s.hasSubskillArray&&((I=u==null?void 0:u.subSkilllist)==null||I.hasSubskillArray.forEach(async f=>{(f==null?void 0:f.parentskillid)===null&&g.push(f==null?void 0:f.skill_id)})),console.log("parent_ids",g);const o={parent_ids:g},{data:E}=await HL("/delphi/subskills",o);console.log("datadatadata",E),(T=u==null?void 0:u.subSkilllist)!=null&&T.hasSubskillArray&&(u.subSkilllist.hasSubskillArray=S((c=u==null?void 0:u.subSkilllist)==null?void 0:c.hasSubskillArray,E==null?void 0:E.subskill)),console.log("props?.subSkilllist?.hasSubskillArray",(a=u==null?void 0:u.subSkilllist)==null?void 0:a.hasSubskillArray)}catch(g){A.value=!1,g.response?t.error(`${g.response.data.message}`):g.message?t.error(`${g.message}`):t.error("Failed to load data")}A.value=!1});function S(s,I){return s.map(T=>{const c=I.filter(a=>a.parentskillid===T.skill_id);return{...T,subskillarray:c}})}const y=s=>{j.value=j.value===s?null:s},r=async(s,I)=>{var T;if(e!=null&&e.value.some(c=>c.skillId===I.skill_id))e.value.splice(s,1);else{const c={parentId:I.parentskillid,skillId:I.skill_id,skillName:I.skill,skillStatus:!0,myPlanRelevent:!1};(T=e==null?void 0:e.value)==null||T.push(c)}};function n(s){var I;return(I=s==null?void 0:s.subskillarray)==null?void 0:I.some(T=>{var c;return(c=e==null?void 0:e.value)==null?void 0:c.some(a=>a.skillId===T.skill_id)})}const D=async()=>{var I,T;let s=!0;if(A.value=!0,(T=(I=u==null?void 0:u.subSkilllist)==null?void 0:I.hasSubskillArray)==null||T.forEach(async c=>{n(c)||(s=!1,console.log("-====",s),N.value="Add atleast one subskill",setTimeout(()=>{N.value=""},4e3),A.value=!1)}),s){console.log("-----------------");try{const c={skills:e.value},{data:a}=await HL("delphi/v2/myprofile",c);a==="profile saved successfully"&&setTimeout(()=>{i("hassubskillemit",!1),A.value=!1},4e3)}catch(c){c.response?t.error(`${c.response.data.message}`):c.message?t.error(`${c.message}`):t.error("Failed to upload resume"),A.value=!1}}};return(s,I)=>{var T;return v(),R("section",JcM,[A.value?(v(),R("div",qcM,I[1]||(I[1]=[z("img",{class:"w-24",src:nj,alt:"Loader Gif"},null,-1)]))):(v(),R("div",KcM,[z("div",_cM,[z("div",$cM,[(v(!0),R(WM,null,et((T=u==null?void 0:u.subSkilllist)==null?void 0:T.hasSubskillArray,(c,a)=>(v(),R("div",{class:"p-2",key:a},[z("div",{onClick:g=>y(a),class:"flex cursor-pointer items-center justify-between bg-gray-100 px-4 py-1 font-bold"},[z("div",taM,[z("span",null,aM(c.skill),1)]),z("span",LaM,[j.value!==a?(v(),R("svg",jaM,I[2]||(I[2]=[z("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"3",d:"M2 9l7 7 7-7"},null,-1)]))):(v(),R("svg",uaM,I[3]||(I[3]=[z("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"3",d:"M16 9l-7-7-7 7"},null,-1)])))])],8,MaM),z("div",{class:yt([j.value===a?"block":"hidden"])},[(v(!0),R(WM,null,et(c==null?void 0:c.subskillarray,(g,o)=>(v(),R("div",{class:"ml-2 flex items-center py-1",key:o},[z("input",{class:"mr-2",value:g,onClick:E=>r(o,g),type:"checkbox"},null,8,AaM),z("div",NaM,aM(g.skill),1)]))),128))],2)]))),128))])]),N.value?(v(),R("div",eaM,[z("b",null,aM(N.value),1)])):yM("",!0),z("div",iaM,[z("button",{onClick:I[0]||(I[0]=c=>D()),class:"-bg-blue mr-3 inline-block cursor-pointer px-6 py-2 text-white"},"Submit")])]))])}}}),yaM={key:0,class:""},raM={key:1,class:""},naM={id:"congratsid",class:""},DaM={id:"myplangenerationscroll",class:""},saM={class:"profileStartInner relative"},TaM={key:0,class:"absolute z-40 h-full w-full cursor-not-allowed text-[15px]"},zaM={class:"mt-2"},IaM={class:"-text-blue profileStart closePopup border px-4 py-4 md:px-4 lg:px-4"},caM={class:"flex justify-between"},aaM={class:"font-bold"},gaM={key:0,class:"text-lg"},oaM={class:"text-lg"},xaM={key:0},EaM={class:"flex flex-col items-baseline text-lg sm:flex-row"},laM={key:0},OaM={key:0,class:"profileStart shadow mt-2 border px-2"},daM={class:"-bg-profile-blue -text-blue mt-1 flex justify-between pt-2 text-lg font-bold md:px-2 lg:px-2"},waM={class:"flex items-center"},faM={key:0,class:"absolute z-50 w-auto border border-gray-300 bg-white p-2 text-xs"},CaM={class:"flex items-center text-right"},QaM={key:0,class:"mb-2 flex items-center"},UaM={class:"mx-1 mt-1 inline-block rounded-md bg-gray-100 px-2 py-1.5 text-xs text-genpact-blue-box"},haM=["innerHTML"],YaM={key:1,class:"text-md my-2 font-ge-bold text-[#FF555F] md:px-2 lg:px-2"},vaM={class:"profileStart closePopup mt-2 border px-2 md:px-4 lg:px-4"},kaM={class:"-bg-profile-blue -text-blue mt-1 flex justify-between px-2 py-2 text-lg font-bold"},paM={key:0,class:"flex items-center text-right text-xs"},maM={class:"flex items-center justify-between border-y border-gray-200 pr-2 md:justify-center lg:justify-center"},baM={class:"relative w-1/2 py-6 md:pl-4 lg:pl-4"},PaM={class:"-text-blue flex items-center justify-center px-2 text-center font-bold"},RaM={key:0,class:"absolute z-50 w-auto border border-gray-300 bg-white p-2 text-xs"},BaM={key:0,class:"relative border-l border-r border-gray-200 pl-2 pr-2 md:w-1/4 md:py-2 lg:w-1/4 lg:py-2"},HaM={class:"-text-blue flex items-center justify-center font-bold"},ZaM={class:"flex items-center"},FaM={class:"h-72 overflow-y-auto"},XaM={class:"profile-row py-2 md:px-4 lg:px-4"},GaM={class:"relative"},WaM={key:0,class:""},VaM={key:0,class:"pointer ml-2 h-8 w-8 bg-white p-2 text-right font-bold text-black","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 18 18"},JaM={key:1,class:"pointer ml-2 h-8 w-8 bg-white p-2 text-right font-bold text-black","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 18 18"},qaM={key:0,class:"profile-body"},KaM={key:0,class:"w-full text-left"},_aM={key:0},$aM={key:0,class:"-text-gray flex bg-white"},MgM={class:"w-1/2 px-1 pt-1 text-xs md:px-4 lg:px-4"},tgM={key:0,class:"text-xs text-background-secondary"},LgM={class:"ml-2 font-bold text-red-500"},jgM={key:0},ugM={key:1},AgM={key:1,style:{"font-size":"0.7rem"},class:"text-xs font-bold text-background-secondary"},NgM={key:2,style:{"font-size":"0.7rem"},class:"text-xs font-bold text-background-secondary"},egM={class:"flex w-full items-center justify-center"},igM=["onClick"],SgM={class:"bits1 flex w-full items-center pl-3"},ygM=["id","onClick"],rgM={class:"z-10"},ngM=["id","onClick"],DgM={class:""},sgM={key:0,class:"pl-4"},TgM=["id","onClick"],zgM={key:0,id:"mangerreview",class:"w-1/3 pt-1 md:w-1/4 md:px-4 lg:w-1/4 lg:px-4"},IgM={class:"flex w-full items-center justify-center"},cgM={class:"bits1 flex w-full items-center"},agM={key:0,class:"-border-gray-1 relative flex h-5 w-5 shrink-0 items-center justify-center rounded bg-[#FF555F] text-white"},ggM={class:""},ogM={key:0},xgM={class:"switch"},EgM=["id","onUpdate:modelValue","disabled","onChange"],lgM={key:1},OgM={class:"text-gray-400"},dgM={key:2},wgM={key:1},fgM={key:0,class:"ml-2 w-1/2 pt-1 text-xs md:pl-4 lg:pl-4"},CgM={key:0,style:{"font-size":"0.7rem"},class:"text-xs font-bold text-background-secondary"},QgM={key:1,style:{"font-size":"0.7rem"},class:"text-xs font-bold text-background-secondary"},UgM={key:2,class:"ml-2 font-bold text-red-500"},hgM={class:"flex w-full items-center justify-center"},YgM={class:"bits1 flex w-full items-center justify-center"},vgM=["id","onClick"],kgM={class:"z-10"},pgM=["id","onClick"],mgM={class:""},bgM={key:0,class:"pl-4"},PgM=["id","onClick"],RgM={key:2},BgM={class:"px-7 pt-2 text-xs"},HgM=["onClick"],ZgM={key:0},FgM={class:"w-1/3 px-4 pt-2 text-xs"},XgM={key:1},GgM={class:"w-1/3 px-4 pt-2 text-xs"},WgM={key:1,class:"profile-body pl-3 pt-2"},VgM={class:"profile-row py-2 md:px-4 lg:px-4"},JgM={class:"relative"},qgM={key:0,class:""},KgM={key:0,class:"pointer ml-2 h-8 w-8 bg-white p-2 text-right font-bold text-black","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 18 18"},_gM={key:0,class:"absolute z-50 w-2/3 border border-gray-300 bg-white p-2 text-xs"},$gM={key:0,class:"profile-body"},MoM={key:0,class:"w-full text-left"},toM={key:0},LoM={key:0,class:"-text-gray flex bg-white"},joM={class:"w-1/2 px-1 pt-1 text-xs md:px-4 lg:px-4"},uoM={key:0,class:"text-xs text-background-secondary"},AoM={class:"ml-2 font-bold text-red-500"},NoM={key:0},eoM={key:1},ioM={key:1,style:{"font-size":"0.7rem"},class:"text-xs font-bold text-background-secondary"},SoM={key:2,style:{"font-size":"0.7rem"},class:"text-xs font-bold text-background-secondary"},yoM={class:"flex w-full items-center justify-center"},roM=["onClick"],noM={class:"bits1 flex w-full items-center pl-3"},DoM=["id","onClick"],soM={class:"z-10"},ToM=["id","onClick"],zoM={class:""},IoM={key:0,class:"pl-4"},coM=["id","onClick"],aoM={key:0,id:"mangerreview",class:"w-1/3 pt-1 md:w-1/4 md:px-4 lg:w-1/4 lg:px-4"},goM={class:"flex w-full items-center justify-center"},ooM={class:"bits1 flex w-full items-center"},xoM={key:0,class:"-border-gray-1 relative flex h-5 w-5 shrink-0 items-center justify-center rounded bg-[#FF555F] text-white"},EoM={class:""},loM={key:0},OoM={class:"switch"},doM=["id","onUpdate:modelValue","disabled","onChange"],woM={key:1},foM={class:"text-gray-400"},CoM={key:2},QoM={key:1},UoM={key:0,class:"ml-2 w-1/2 pt-1 text-xs md:pl-4 lg:pl-4"},hoM={key:0,style:{"font-size":"0.7rem"},class:"text-xs font-bold text-background-secondary"},YoM={key:1,style:{"font-size":"0.7rem"},class:"text-xs font-bold text-background-secondary"},voM={key:2,class:"ml-2 font-bold text-red-500"},koM={class:"flex w-full items-center justify-center"},poM={class:"bits1 flex w-full items-center justify-center"},moM=["id","onClick"],boM={class:"z-10"},PoM=["id","onClick"],RoM={class:""},BoM={key:0,class:"pl-4"},HoM=["id","onClick"],ZoM={key:2},FoM={class:"px-7 pt-2 text-xs"},XoM=["onClick"],GoM={key:0},WoM={class:"w-1/3 px-4 pt-2 text-xs"},VoM={key:1},JoM={class:"w-1/3 px-4 pt-2 text-xs"},qoM={key:1,class:"profile-body pl-3 pt-2"},KoM={class:"profile-row py-2 md:px-4 lg:px-4"},_oM={class:"relative"},$oM={key:0,class:""},MxM={key:0,class:"pointer ml-2 h-8 w-8 bg-white p-2 text-right font-bold text-black","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 18 18"},txM={key:0,class:"absolute z-50 w-2/3 border border-gray-300 bg-white p-2 text-xs"},LxM={key:0,class:"profile-body"},jxM={key:0,class:"w-full text-left"},uxM={key:0},AxM={key:0,class:"-text-gray flex bg-white"},NxM={class:"w-1/2 px-1 pt-1 text-xs md:px-4 lg:px-4"},exM={key:0,class:"text-xs text-background-secondary"},ixM={class:"ml-2 font-bold text-red-500"},SxM={key:0},yxM={key:1},rxM={key:1,style:{"font-size":"0.7rem"},class:"text-xs font-bold text-background-secondary"},nxM={key:2,style:{"font-size":"0.7rem"},class:"text-xs font-bold text-background-secondary"},DxM={class:"flex w-full items-center justify-center"},sxM=["onClick"],TxM={class:"bits1 flex w-full items-center pl-3"},zxM=["id","onClick"],IxM={class:"z-10"},cxM=["id","onClick"],axM={class:""},gxM={key:0,class:"pl-4"},oxM=["id","onClick"],xxM={key:0,id:"mangerreview",class:"w-1/3 pt-1 md:w-1/4 md:px-4 lg:w-1/4 lg:px-4"},ExM={class:"flex w-full items-center justify-center"},lxM={class:"bits1 flex w-full items-center"},OxM={key:0,class:"-border-gray-1 relative flex h-5 w-5 shrink-0 items-center justify-center rounded bg-[#FF555F] text-white"},dxM={class:""},wxM={key:0},fxM={class:"switch"},CxM=["id","onUpdate:modelValue","disabled","onChange"],QxM={key:1},UxM={class:"text-gray-400"},hxM={key:2},YxM={key:1},vxM={key:0,class:"ml-2 w-1/2 pt-1 text-xs md:pl-4 lg:pl-4"},kxM={key:0,style:{"font-size":"0.7rem"},class:"text-xs font-bold text-background-secondary"},pxM={key:1,style:{"font-size":"0.7rem"},class:"text-xs font-bold text-background-secondary"},mxM={key:2,class:"ml-2 font-bold text-red-500"},bxM={class:"flex w-full items-center justify-center"},PxM={class:"bits1 flex w-full items-center justify-center"},RxM=["id","onClick"],BxM={class:"z-10"},HxM=["id","onClick"],ZxM={class:""},FxM={key:0,class:"pl-4"},XxM=["id","onClick"],GxM={key:2},WxM={class:"px-7 pt-2 text-xs"},VxM=["onClick"],JxM={key:0},qxM={class:"w-1/3 px-4 pt-2 text-xs"},KxM={key:1},_xM={class:"w-1/3 px-4 pt-2 text-xs"},$xM={key:1,class:"profile-body pl-3 pt-2"},MEM={class:"profile-row py-2 md:px-4 lg:px-4"},tEM={class:"relative"},LEM={key:0,class:""},jEM={key:0,class:"pointer ml-2 h-8 w-8 bg-white p-2 text-right font-bold text-black","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 18 18"},uEM={key:0,class:"absolute z-50 w-2/3 border border-gray-300 bg-white p-2 text-xs"},AEM={key:0,class:"profile-body"},NEM={key:0,class:"w-full text-left"},eEM={key:0},iEM={key:0,class:"-text-gray flex bg-white"},SEM={class:"w-1/2 px-1 pt-1 text-xs md:px-4 lg:px-4"},yEM={key:0,class:"text-xs text-background-secondary"},rEM={class:"ml-2 font-bold text-red-500"},nEM={key:0},DEM={key:1},sEM={key:1,style:{"font-size":"0.7rem"},class:"text-xs font-bold text-background-secondary"},TEM={key:2,style:{"font-size":"0.7rem"},class:"text-xs font-bold text-background-secondary"},zEM={class:"flex w-full items-center justify-center"},IEM=["onClick"],cEM={class:"bits1 flex w-full items-center pl-3"},aEM=["id","onClick"],gEM={class:"z-10"},oEM=["id","onClick"],xEM={class:""},EEM={key:0,class:"pl-4"},lEM=["id","onClick"],OEM={key:0,id:"mangerreview",class:"w-1/3 pt-1 md:w-1/4 md:px-4 lg:w-1/4 lg:px-4"},dEM={class:"flex w-full items-center justify-center"},wEM={class:"bits1 flex w-full items-center"},fEM={key:0,class:"-border-gray-1 relative flex h-5 w-5 shrink-0 items-center justify-center rounded bg-[#FF555F] text-white"},CEM={class:""},QEM={key:0},UEM={class:"switch"},hEM=["id","onUpdate:modelValue","disabled","onChange"],YEM={key:1},vEM={class:"text-gray-400"},kEM={key:2},pEM={key:1},mEM={key:0,class:"ml-2 w-1/2 pt-1 text-xs md:pl-4 lg:pl-4"},bEM={key:0,style:{"font-size":"0.7rem"},class:"text-xs font-bold text-background-secondary"},PEM={key:1,style:{"font-size":"0.7rem"},class:"text-xs font-bold text-background-secondary"},REM={key:2,class:"ml-2 font-bold text-red-500"},BEM={class:"flex w-full items-center justify-center"},HEM={class:"bits1 flex w-full items-center justify-center"},ZEM=["id","onClick"],FEM={class:"z-10"},XEM=["id","onClick"],GEM={class:""},WEM={key:0,class:"pl-4"},VEM=["id","onClick"],JEM={key:2},qEM={class:"px-7 pt-2 text-xs"},KEM=["onClick"],_EM={key:0},$EM={class:"w-1/3 px-4 pt-2 text-xs"},MlM={key:1},tlM={class:"w-1/3 px-4 pt-2 text-xs"},LlM={key:1,class:"profile-body pl-3 pt-2"},jlM={key:0,class:"row bot-text-left relative mt-4 h-14 items-start pb-16 md:flex lg:flex"},ulM={class:"bot-text relative w-full"},AlM={key:0},NlM={key:1},elM={key:0,class:"row bot-text-left relative mb-1 mt-4 flex items-start"},ilM={class:"bot-text relative"},SlM={class:"profileStart shadow relative border p-3"},ylM={key:0},rlM={class:"flex items-center bg-gray-100 px-4 py-1 font-bold"},nlM={key:0,class:"flex max-h-24 flex-wrap overflow-auto"},DlM=["onClick"],slM=["onClick"],TlM={key:1,class:"ml-2 h-3 w-3 text-gray-800 dark:text-white","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",fill:"#073262",viewBox:"0 0 18 18"},zlM={key:1,class:"row bot-text-left relative mt-4 flex items-start pb-4"},IlM={class:"bot-text relative max-w-3xl md:w-auto lg:w-auto"},clM=["disabled"],alM={class:"bot-text relative w-full max-w-3xl rounded-md md:w-auto lg:w-auto"},glM={key:2,class:"fixed -top-6 left-0 z-50 flex h-full min-h-screen w-full items-center justify-center bg-[#707070] bg-opacity-30 p-2 text-[15px] md:top-0 md:p-0 lg:top-0 lg:p-0"},olM={class:"popup-content shadow-lg w-full border bg-white md:w-3/5 lg:w-3/5"},xlM={class:"flex justify-between"},ElM={class:"fontFormattingAMA popup-body geLight -text-blue h-auto overflow-auto px-8 py-4 md:h-auto lg:h-auto"},llM={key:2,class:"z-50"},OlM={class:"fixed -top-6 left-0 z-50 flex h-full min-h-screen w-full items-center justify-center bg-[#707070] bg-opacity-30 p-2 text-[15px] md:top-0 md:p-0 lg:top-0 lg:p-0"},dlM={class:"popup-content shadow-lg w-full bg-white md:w-3/5 lg:w-3/5"},wlM={class:"-text-blue geLight popup-body h-82 overflow-y-auto md:h-auto lg:h-auto"},flM={class:"row bot-text-left relative mb-1 mt-4"},ClM=kt({__name:"MyplangenerationPage",props:{updateMyprofile:{}},emits:["finalAddedMoreskill","loadmyperformance","loadmyteamperformance"],setup(L,{emit:M}){const t=IL(),j=V(""),u=V(!1),A=V(!1);V(!1);const N=V(!1);V(!1);const e=V(!1),i=V(!1),S=V(!1),y=V(!1),r=V(!1),n=V(!1);V(!1),V(!1),V(!1);const D=V(!0),s=V(!1),I=V(!1),T=V(!1),c=V(!1),a=V(!1),g=M,o=Tu(),E=V(!1),f=V(),C=V(!1),h=V(),Y=V();V(),V();const k=V(),p=V(),m=V(),U=V(),Q=V();V("Processing your skills profile. Sit tight!"),V(),V(),V();const w=V(!1),x=V([]),O=V([]),l=V([]),d=V([]),b=V([]);V(),V(),V([]);const X=V([]),B=V([]),G=V(3),W=V(3),MM=V(3),Z=V(3),K=V(!1),H=V(!1),P=V(!1),J=V(!1),LM=V(!1),eM=V(!1),$=V(),NM=V();V(),V("");const nM=V(!1),AM=V([]),_=V([]);V([]),V(!1);const iM=V(!1),jM=V(),SM=V(),zM=V(),sM=V(),oM=V([]),CM=V(!1),YM=V(!1),kM=V(!1),FM=V([{ID:"97103561-8dc3-4fe7-ad0a-4f8dedac8f6b",code:1,Slug:"B",Title:"beginner",Title2:"Beginner"},{ID:"407b8b7b-b3ac-4074-b129-c66d22eb78d4",code:2,Slug:"I",Title:"intermediate",Title2:"Intermediate"},{ID:"5ed7edb5-3967-4bda-aa2a-093c069df241",code:3,Slug:"P",Title:"proficient",Title2:"Proficient"},{ID:"dea6184e-8d52-4852-a6cb-daf633e36f18",code:4,Slug:"E",Title:"expert",Title2:"Expert"}]);oL(async()=>{var rM,jt,JM,XM,ct,St,KM,Gt,Vt,$t,tL,ML,ht,RM,wt,dM,qM,Nt,ot,Zt,gM,lt,vM,NL,Ct,eL,KL,YL,FL,mL,lj,cj,wL;let hM=[];E.value=!0;try{if(await Promise.all([t.ProfileV6function(),t.suggestedSkillsFunction(),t.existingSubskillParentSkillsFunction()]),t.merged_profileArray){t.merged_profileArray.forEach(iL=>{var wj;(wj=t.existingSubskillParentSkillsArray)==null||wj.forEach(nu=>{(iL==null?void 0:iL.skill_id)===(nu==null?void 0:nu.skill_id)&&(iL.subskillExisting=!0),(iL==null?void 0:iL.skill_id)===nu&&!(iL!=null&&iL.subskill)&&hM.push(iL)})}),f.value=t.initArray,Y.value=t.merged_profileArray||[],await rt(),await BM(),await gt(),await Xt(),await fM();const AL=document.getElementById("myplangenerationscroll");AL&&AL.scrollIntoView({behavior:"smooth",block:"center",inline:"nearest"}),hM=hM.filter(iL=>!iL.subskill),hM.length!==0&&(oM.value=hM,CM.value=!0),console.log("hassubskillcheck",hM),console.log("hasSubskillArray.value",oM.value.length),console.log("delphiStore.skillValidationmatrixarray",t.skillValidationmatrixarray),(rM=t.skillValidationmatrixarray)==null||rM.forEach(iL=>{var wj,nu,Aj,tj;iL.masterType==="industry"&&(jM.value=(wj=iL.Recommendation)==null?void 0:wj.filter(Qu=>Qu.type==="nonmandatory")),iL.masterType==="service_line_or_domain"&&(SM.value=(nu=iL.Recommendation)==null?void 0:nu.filter(Qu=>Qu.type==="nonmandatory")),iL.masterType==="digital_technology"&&(zM.value=(Aj=iL.Recommendation)==null?void 0:Aj.filter(Qu=>Qu.type==="nonmandatory")),iL.masterType==="proff_skill"&&(sM.value=(tj=iL.Recommendation)==null?void 0:tj.filter(Qu=>Qu.type==="nonmandatory"))}),AM.value=[{category:"Industry",skillCategory:(JM=(jt=jM==null?void 0:jM.value[0])==null?void 0:jt.minSelect)==null?void 0:JM.value,skillRecommarray:(XM=t.suggestedSkillsArray)==null?void 0:XM.filter(iL=>iL.category==="industry"),discription:(ct=jM==null?void 0:jM.value[0])==null?void 0:ct.description,condition:((St=x.value)==null?void 0:St.filter(iL=>iL.skillStatus).length)<((Gt=(KM=jM==null?void 0:jM.value[0])==null?void 0:KM.minSelect)==null?void 0:Gt.value)},{category:"Functional Domain and Service Line",skillCategory:($t=(Vt=SM==null?void 0:SM.value[0])==null?void 0:Vt.minSelect)==null?void 0:$t.value,skillRecommarray:(tL=t.suggestedSkillsArray)==null?void 0:tL.filter(iL=>iL.category==="service_line_or_domain"),discription:(ML=SM==null?void 0:SM.value[0])==null?void 0:ML.description,condition:((ht=O.value)==null?void 0:ht.filter(iL=>iL.skillStatus).length)<((wt=(RM=SM==null?void 0:SM.value[0])==null?void 0:RM.minSelect)==null?void 0:wt.value)},{category:"Digital",skillCategory:(qM=(dM=zM==null?void 0:zM.value[0])==null?void 0:dM.minSelect)==null?void 0:qM.value,skillRecommarray:(Nt=t.suggestedSkillsArray)==null?void 0:Nt.filter(iL=>iL.category==="digital_technology"),discription:(ot=zM==null?void 0:zM.value[0])==null?void 0:ot.description,condition:((Zt=l.value)==null?void 0:Zt.filter(iL=>iL.skillStatus).length)<((lt=(gM=zM==null?void 0:zM.value[0])==null?void 0:gM.minSelect)==null?void 0:lt.value)},{category:"Professional",skillCategory:(NL=(vM=sM==null?void 0:sM.value[0])==null?void 0:vM.minSelect)==null?void 0:NL.value,skillRecommarray:(Ct=t.suggestedSkillsArray)==null?void 0:Ct.filter(iL=>iL.category==="proff_skill"),discription:(eL=sM==null?void 0:sM.value[0])==null?void 0:eL.description,condition:((KL=d.value)==null?void 0:KL.filter(iL=>iL.skillStatus).length)<((FL=(YL=sM==null?void 0:sM.value[0])==null?void 0:YL.minSelect)==null?void 0:FL.value)}],E.value=!1,(mL=x.value)!=null&&mL.filter(iL=>iL.skillStatus).length?K.value=!0:(lj=O.value)!=null&&lj.filter(iL=>iL.skillStatus).length?H.value=!0:(cj=l.value)!=null&&cj.filter(iL=>iL.skillStatus).length?P.value=!0:(wL=d.value)!=null&&wL.filter(iL=>iL.skillStatus).length&&(J.value=!0)}else E.value=!1,n.value=!0}catch(AL){console.log("error",AL),E.value=!1,n.value=!0,AL.response?t.errorMessagetext=AL.response.data.message:AL.message?t.errorMessagetext=AL.message:t.errorMessagetext="Failed to load api"}});const ut=(hM,rM)=>{const jt=_.value.findIndex(JM=>JM.skill_id===hM.skill_id);jt!==-1?(_.value.splice(jt,1),rM.forEach(JM=>{JM.skill_id===hM.skill_id&&(JM.addedinarray=!1)})):(_.value.push(hM),rM.forEach(JM=>{JM.skill_id===hM.skill_id&&(JM.addedinarray=!0)}))},tt=async()=>{iM.value=!0,await _.value.forEach(rM=>{rM.recommededskill=!0});const hM=_.value.filter(rM=>!Y.value.some(jt=>jt.skill_id===rM.skill_id&&jt.skillStatus===rM.skillStatus));hM==null||hM.forEach(async rM=>{Y.value.push(rM)}),await rt(),await BM(),await gt(),await Xt(),await fM(),_.value.forEach(rM=>{rM.addedinarray===!0&&(rM.addedinarray=!1)}),GM(),_.value=[],nM.value=!1},It=async()=>{var Gt,Vt,$t,tL,ML,ht,RM,wt,dM,qM,Nt,ot,Zt,gM,lt,vM,NL,Ct,eL,KL,YL,FL;console.log("innnnn");const hM=(Gt=t.suggestedSkillsArray)==null?void 0:Gt.filter(mL=>mL.category==="industry"),rM=(Vt=t.suggestedSkillsArray)==null?void 0:Vt.filter(mL=>mL.category==="service_line_or_domain"),jt=($t=t.suggestedSkillsArray)==null?void 0:$t.filter(mL=>mL.category==="digital_technology"),JM=(tL=t.suggestedSkillsArray)==null?void 0:tL.filter(mL=>mL.category==="proff_skill"),XM=(ML=x.value)==null?void 0:ML.filter(mL=>mL.skillStatus),ct=(ht=O.value)==null?void 0:ht.filter(mL=>mL.skillStatus),St=(RM=l.value)==null?void 0:RM.filter(mL=>mL.skillStatus),KM=(wt=d.value)==null?void 0:wt.filter(mL=>mL.skillStatus);console.log("domaincheck",ct.length),console.log("domainValidation?.value[0]?.minSelect?.value",(qM=(dM=SM==null?void 0:SM.value[0])==null?void 0:dM.minSelect)==null?void 0:qM.value),console.log("dsrecommsuggesArray.length",rM.length),console.log("domainStatus",rM.length&&ct.length<((ot=(Nt=SM==null?void 0:SM.value[0])==null?void 0:Nt.minSelect)==null?void 0:ot.value)),console.log("checkvalidation",ct.length,(gM=(Zt=SM==null?void 0:SM.value[0])==null?void 0:Zt.minSelect)==null?void 0:gM.value),hM.length&&XM.length<((vM=(lt=jM==null?void 0:jM.value[0])==null?void 0:lt.minSelect)==null?void 0:vM.value)||rM.length&&ct.length<((Ct=(NL=SM==null?void 0:SM.value[0])==null?void 0:NL.minSelect)==null?void 0:Ct.value)||jt.length&&St.length<((KL=(eL=zM==null?void 0:zM.value[0])==null?void 0:eL.minSelect)==null?void 0:KL.value)||JM.length&&KM.length<((FL=(YL=sM==null?void 0:sM.value[0])==null?void 0:YL.minSelect)==null?void 0:FL.value)?(console.log("validationSection.value",nM.value),nM.value=!0):eM.value?GM():pt()},_M=()=>{const hM=document.getElementById("skilluploadidmyplan");hM&&hM.scrollIntoView({behavior:"smooth",block:"center"})},pt=async()=>{try{D.value=!1,e.value=!0,E.value=!0,G.value=3,W.value=3,MM.value=3,Z.value=3,K.value=!1,H.value=!1,P.value=!1,J.value=!1,B.value=[];const hM=[],rM=[],jt=[],JM=[x.value,O.value,l.value,d.value,b.value];if(JM==null||JM.forEach(XM=>{XM==null||XM.forEach(ct=>{var St,KM;ct.proficiencyId===null&&ct.skillStatus&&(ct.category==="industry"&&(K.value=!0,G.value=x.value.length),ct.category==="service_line_or_domain"&&(H.value=!0,W.value=O.value.length),ct.category==="digital_technology"&&(P.value=!0,MM.value=l.value.length),ct.category==="proff_skill"&&(J.value=!0,Z.value=d.value.length),hM.push(ct),ct.codered=!0),(St=ct==null?void 0:ct.subskill)!=null&&St.length&&((KM=ct==null?void 0:ct.subskill)==null||KM.forEach(Gt=>{Gt.proficiencyId===null&&Gt.skillStatus&&(rM.push(Gt),Gt.codered=!0),(Gt.proficiencyId===null&&Gt.skillStatus||Gt.proficiencyId==="f7af7994-62bf-41db-af0e-c580d2e9c753"&&Gt.skillStatus)&&jt.push(ct)}))})}),jt.forEach(XM=>{var St;const ct=(St=XM==null?void 0:XM.subskill)==null?void 0:St.filter(KM=>(KM==null?void 0:KM.proficiencyId)!==null&&(KM==null?void 0:KM.skillStatus)||(KM==null?void 0:KM.proficiencyId)!=="f7af7994-62bf-41db-af0e-c580d2e9c753"&&(KM==null?void 0:KM.skillStatus));ct!=null&&ct.length||(y.value=!0,hM.push(XM),XM.addatlistonesubskill=!0)}),hM!=null&&hM.length)(hM.length||rM.length)&&(D.value=!0,e.value=!1,E.value=!1);else{JM==null||JM.forEach(St=>{St==null||St.forEach(KM=>{var Gt,Vt;(Gt=KM==null?void 0:KM.subskill)!=null&&Gt.length&&((Vt=KM==null?void 0:KM.subskill)==null||Vt.forEach($t=>{B.value.push($t)}),KM.subskill=null),B.value.push(KM)})}),console.log("consolidatedArray.value",B.value);const XM={skills:B.value},{data:ct}=await HL("delphi/v2/myprofile",XM);console.log("data",ct),ct==="profile saved successfully"&&(t.componentCheckv6="Myplan")}}catch(hM){E.value=!1,hM.response?o.error(`${hM.response.data.message}`):hM.message?o.error(`${hM.message}`):o.error("Failed to generate plan")}},GM=async()=>{var hM,rM,jt,JM,XM,ct;try{D.value=!1,e.value=!0,E.value=!0,G.value=3,W.value=3,MM.value=3,Z.value=3,K.value=!1,H.value=!1,P.value=!1,J.value=!1,B.value=[];const St=[],KM=[],Gt=[],Vt=[x.value,O.value,l.value,d.value,b.value];if(Vt==null||Vt.forEach($t=>{$t==null||$t.forEach(tL=>{var ML,ht;tL.proficiencyId===null&&tL.skillStatus&&(tL.category==="industry"&&(K.value=!0,G.value=x.value.length),tL.category==="service_line_or_domain"&&(H.value=!0,W.value=O.value.length),tL.category==="digital_technology"&&(P.value=!0,MM.value=l.value.length),tL.category==="proff_skill"&&(J.value=!0,Z.value=d.value.length),St.push(tL),tL.codered=!0),(ML=tL==null?void 0:tL.subskill)!=null&&ML.length&&((ht=tL==null?void 0:tL.subskill)==null||ht.forEach(RM=>{RM.proficiencyId===null&&RM.skillStatus&&(KM.push(RM),RM.codered=!0),(RM.proficiencyId===null&&RM.skillStatus||RM.proficiencyId==="f7af7994-62bf-41db-af0e-c580d2e9c753"&&RM.skillStatus)&&Gt.push(tL)}))})}),Gt.forEach($t=>{var ML;const tL=(ML=$t==null?void 0:$t.subskill)==null?void 0:ML.filter(ht=>(ht==null?void 0:ht.proficiencyId)!==null&&(ht==null?void 0:ht.skillStatus)||(ht==null?void 0:ht.proficiencyId)!=="f7af7994-62bf-41db-af0e-c580d2e9c753"&&(ht==null?void 0:ht.skillStatus));tL!=null&&tL.length||(y.value=!0,St.push($t),$t.addatlistonesubskill=!0)}),St!=null&&St.length)(St.length||KM.length)&&(D.value=!0,e.value=!1,E.value=!1);else{Vt==null||Vt.forEach(ML=>{ML==null||ML.forEach(ht=>{var RM,wt;(RM=ht==null?void 0:ht.subskill)!=null&&RM.length&&((wt=ht==null?void 0:ht.subskill)==null||wt.forEach(dM=>{B.value.push(dM)}),ht.subskill=null),B.value.push(ht)})});const $t={skills:B.value},{data:tL}=await HL("delphi/v2/myprofile",$t);console.log("data",tL),tL==="profile saved successfully"&&(console.log("data",tL),(((rM=(hM=t.initArray)==null?void 0:hM.ofconEntry)==null?void 0:rM.Job_Family_Group)==="Technology Solutions and Services"||((JM=(jt=t.initArray)==null?void 0:jt.ofconEntry)==null?void 0:JM.Job_Family_Group)==="Data & Analytics"||((ct=(XM=t.initArray)==null?void 0:XM.ofconEntry)==null?void 0:ct.Job_Family_Group)==="Data and Analytics")&&await t.coreSkillsFunction(),g("finalAddedMoreskill",!0),t.initSkilluploadArray=null)}}catch(St){E.value=!1,St.response?o.error(`${St.response.data.message}`):St.message?o.error(`${St.message}`):o.error("Failed to generate plan")}},IM=(hM,rM)=>{eM.value=!0,hM==="industrySkillarray"&&x.value.forEach(jt=>{jt.skill_id===rM.skill_id&&(jt.myPlanRelevent=rM.myPlanRelevent)}),hM==="domainSkillarray"&&O.value.forEach(jt=>{jt.skill_id===rM.skill_id&&(jt.myPlanRelevent=rM.myPlanRelevent)}),hM==="digitalSkillarray"&&l.value.forEach(jt=>{jt.skill_id===rM.skill_id&&(jt.myPlanRelevent=rM.myPlanRelevent)}),hM==="profSkillarray"&&d.value.forEach(jt=>{jt.skill_id===rM.skill_id&&(jt.myPlanRelevent=rM.myPlanRelevent)})},lM=(hM,rM)=>{hM==="industrySkillarray"&&(G.value=rM),hM==="domainSkillarray"&&(W.value=rM),hM==="digitalSkillarray"&&(MM.value=rM),hM==="profSkillarray"&&(Z.value=rM)},VM=async(hM,rM)=>{try{LM.value=!0,$.value={allskillarray:Y.value,skillarray:rM},NM.value="",i.value=!0}catch{o.error("Failed to load subskill"),E.value=!1}},fM=()=>{var rM;const hM=(rM=Y.value)==null?void 0:rM.filter(jt=>jt.category==="function");return b.value=hM,hM},rt=()=>{var jt,JM;const hM=(jt=Y.value)==null?void 0:jt.filter(XM=>XM.category==="industry"&&(XM.parentskillid===null||XM.parentskillid==="-1")),rM=(JM=Y.value)==null?void 0:JM.filter(XM=>XM.category==="industry"&&(XM.parentskillid!==null||XM.parentskillid!=="-1"));return hM==null||hM.forEach(XM=>{let ct=[];rM==null||rM.forEach(St=>{XM.skill_id===St.parentskillid&&(ct.push(St),XM.subskill=ej(ct,"skill"))})}),x.value=hM.sort((XM,ct)=>XM.skill.localeCompare(ct.skill)),hM},BM=()=>{var jt,JM;const hM=(jt=Y.value)==null?void 0:jt.filter(XM=>XM.category==="service_line_or_domain"&&(XM.parentskillid===null||XM.parentskillid==="-1")),rM=(JM=Y.value)==null?void 0:JM.filter(XM=>XM.category==="service_line_or_domain"&&(XM.parentskillid!==null||XM.parentskillid!=="-1"));return hM==null||hM.forEach(XM=>{let ct=[];rM==null||rM.forEach(St=>{XM.skill_id===St.parentskillid&&(ct.push(St),XM.subskill=ej(ct,"skill"))})}),O.value=hM.sort((XM,ct)=>XM.skill.localeCompare(ct.skill)),hM},gt=()=>{var jt,JM;const hM=(jt=Y.value)==null?void 0:jt.filter(XM=>XM.category==="digital_technology"&&(XM.parentskillid===null||XM.parentskillid==="-1")),rM=(JM=Y.value)==null?void 0:JM.filter(XM=>XM.category==="digital_technology"&&(XM.parentskillid!==null||XM.parentskillid!=="-1"));return hM==null||hM.forEach(XM=>{let ct=[];rM==null||rM.forEach(St=>{XM.skill_id===St.parentskillid&&(ct.push(St),XM.subskill=ej(ct,"skill"))})}),l.value=hM.sort((XM,ct)=>XM.skill.localeCompare(ct.skill)),hM},Xt=()=>{var jt,JM;const hM=(jt=Y.value)==null?void 0:jt.filter(XM=>XM.category==="proff_skill"&&(XM.parentskillid===null||XM.parentskillid==="-1")),rM=(JM=Y.value)==null?void 0:JM.filter(XM=>XM.category==="proff_skill"&&(XM.parentskillid!==null||XM.parentskillid!=="-1"));return hM==null||hM.forEach(XM=>{let ct=[];rM==null||rM.forEach(St=>{XM.skill_id===St.parentskillid&&(ct.push(St),XM.subskill=ej(ct,"skill"))})}),d.value=hM.sort((XM,ct)=>XM.skill.localeCompare(ct.skill)),hM},Qt=(hM,rM,jt)=>{eM.value=!0,hM==="industrySkillarray"&&x.value.forEach(JM=>{JM.skill_id===rM&&(JM.proficiencyId=jt,JM.proficiencyId!==null&&JM.skillStatus&&JM.codered===!0&&(JM.codered=!1),FM.value.forEach(XM=>{XM.ID===jt&&(JM.proficiency=XM.Title,JM.addToMyPlan=JM==null?void 0:JM.addToMyPlanProfObj[XM.Title2])}))}),hM==="domainSkillarray"&&O.value.forEach(JM=>{JM.skill_id===rM&&(JM.proficiencyId=jt,JM.proficiencyId!==null&&JM.skillStatus&&JM.codered===!0&&(JM.codered=!1),FM.value.forEach(XM=>{XM.ID===jt&&(JM.proficiency=XM.Title,JM.addToMyPlan=JM==null?void 0:JM.addToMyPlanProfObj[XM.Title2])}))}),hM==="digitalSkillarray"&&l.value.forEach(JM=>{JM.skill_id===rM&&(JM.proficiencyId=jt,JM.proficiencyId!==null&&JM.skillStatus&&JM.codered===!0&&(JM.codered=!1),FM.value.forEach(XM=>{XM.ID===jt&&(JM.proficiency=XM.Title,JM.addToMyPlan=JM==null?void 0:JM.addToMyPlanProfObj[XM.Title2])}))}),hM==="profSkillarray"&&d.value.forEach(JM=>{JM.skill_id===rM&&(JM.proficiencyId=jt,JM.proficiencyId!==null&&JM.skillStatus&&JM.codered===!0&&(JM.codered=!1),FM.value.forEach(XM=>{XM.ID===jt&&(JM.proficiency=XM.Title,JM.addToMyPlan=JM==null?void 0:JM.addToMyPlanProfObj[XM.Title2])}))})},Rt=(hM,rM,jt)=>{var JM;eM.value=!0,hM==="industrySkillarray"&&((JM=x.value)==null||JM.forEach(XM=>{var ct;(ct=XM==null?void 0:XM.subskill)==null||ct.forEach(St=>{St.skill_id===rM&&(St.proficiencyId=jt,St.proficiencyId!==null&&St.skillStatus&&St.codered===!0&&(St.codered=!1),FM.value.forEach(KM=>{KM.ID===jt&&(St.proficiency=KM.Title)}),St.proficiencyId!==null&&St.skillStatus&&XM.addatlistonesubskill===!0&&(XM.addatlistonesubskill=!1))})})),hM==="domainSkillarray"&&O.value.forEach(XM=>{var ct;(ct=XM==null?void 0:XM.subskill)==null||ct.forEach(St=>{St.skill_id===rM&&(St.proficiencyId=jt,St.proficiencyId!==null&&St.skillStatus&&St.codered===!0&&(St.codered=!1),FM.value.forEach(KM=>{KM.ID===jt&&(St.proficiency=KM.Title)}),St.proficiencyId!==null&&St.skillStatus&&XM.addatlistonesubskill===!0&&(XM.addatlistonesubskill=!1))})}),hM==="digitalSkillarray"&&l.value.forEach(XM=>{var ct;(ct=XM==null?void 0:XM.subskill)==null||ct.forEach(St=>{St.skill_id===rM&&(St.proficiencyId=jt,St.proficiencyId!==null&&St.skillStatus&&St.codered===!0&&(St.codered=!1),FM.value.forEach(KM=>{KM.ID===jt&&(St.proficiency=KM.Title)}),St.proficiencyId!==null&&St.skillStatus&&XM.addatlistonesubskill===!0&&(XM.addatlistonesubskill=!1))})}),hM==="profSkillarray"&&d.value.forEach(XM=>{var ct;(ct=XM==null?void 0:XM.subskill)==null||ct.forEach(St=>{St.skill_id===rM&&(St.proficiencyId=jt,St.proficiencyId!==null&&St.skillStatus&&St.codered===!0&&(St.codered=!1),FM.value.forEach(KM=>{KM.ID===jt&&(St.proficiency=KM.Title)}),St.proficiencyId!==null&&St.skillStatus&&XM.addatlistonesubskill===!0&&(XM.addatlistonesubskill=!1))})})},xt=(hM,rM)=>{var jt,JM,XM,ct,St,KM,Gt,Vt,$t,tL,ML,ht,RM,wt,dM,qM,Nt,ot,Zt,gM,lt,vM,NL,Ct,eL,KL,YL,FL,mL,lj,cj;eM.value=!0,console.log("type",hM),console.log("skillid",rM),hM==="industrySkillarray"&&x.value.forEach(wL=>{var AL;wL.skill_id===rM&&(wL.skillStatus=!1,(AL=wL==null?void 0:wL.subskill)==null||AL.forEach(iL=>{iL.skillStatus=!1}))}),hM==="domainSkillarray"&&O.value.forEach(wL=>{var AL;wL.skill_id===rM&&(wL.skillStatus=!1,(AL=wL==null?void 0:wL.subskill)==null||AL.forEach(iL=>{iL.skillStatus=!1}))}),hM==="digitalSkillarray"&&l.value.forEach(wL=>{var AL;wL.skill_id===rM&&(wL.skillStatus=!1,(AL=wL==null?void 0:wL.subskill)==null||AL.forEach(iL=>{iL.skillStatus=!1}))}),hM==="profSkillarray"&&d.value.forEach(wL=>{var AL;wL.skill_id===rM&&(wL.skillStatus=!1,(AL=wL==null?void 0:wL.subskill)==null||AL.forEach(iL=>{iL.skillStatus=!1}))}),console.log("domainSkillarray.value?.filter((word) => word.skillStatus).length",(jt=O.value)==null?void 0:jt.filter(wL=>wL.skillStatus).length),console.log("domainValidation?.value[0]?.minSelect?.value",(XM=(JM=SM==null?void 0:SM.value[0])==null?void 0:JM.minSelect)==null?void 0:XM.value),AM.value=[{category:"Industry",skillCategory:(St=(ct=jM==null?void 0:jM.value[0])==null?void 0:ct.minSelect)==null?void 0:St.value,skillRecommarray:(KM=t.suggestedSkillsArray)==null?void 0:KM.filter(wL=>wL.category==="industry"),discription:(Gt=jM==null?void 0:jM.value[0])==null?void 0:Gt.description,condition:((Vt=x.value)==null?void 0:Vt.filter(wL=>wL.skillStatus).length)<((tL=($t=jM==null?void 0:jM.value[0])==null?void 0:$t.minSelect)==null?void 0:tL.value)},{category:"Functional Domain and Service Line",skillCategory:(ht=(ML=SM==null?void 0:SM.value[0])==null?void 0:ML.minSelect)==null?void 0:ht.value,skillRecommarray:(RM=t.suggestedSkillsArray)==null?void 0:RM.filter(wL=>wL.category==="service_line_or_domain"),discription:(wt=SM==null?void 0:SM.value[0])==null?void 0:wt.description,condition:((dM=O.value)==null?void 0:dM.filter(wL=>wL.skillStatus).length)<((Nt=(qM=SM==null?void 0:SM.value[0])==null?void 0:qM.minSelect)==null?void 0:Nt.value)},{category:"Digital",skillCategory:(Zt=(ot=zM==null?void 0:zM.value[0])==null?void 0:ot.minSelect)==null?void 0:Zt.value,skillRecommarray:(gM=t.suggestedSkillsArray)==null?void 0:gM.filter(wL=>wL.category==="digital_technology"),discription:(lt=zM==null?void 0:zM.value[0])==null?void 0:lt.description,condition:((vM=l.value)==null?void 0:vM.filter(wL=>wL.skillStatus).length)<((Ct=(NL=zM==null?void 0:zM.value[0])==null?void 0:NL.minSelect)==null?void 0:Ct.value)},{category:"Professional",skillCategory:(KL=(eL=sM==null?void 0:sM.value[0])==null?void 0:eL.minSelect)==null?void 0:KL.value,skillRecommarray:(YL=t.suggestedSkillsArray)==null?void 0:YL.filter(wL=>wL.category==="proff_skill"),discription:(FL=sM==null?void 0:sM.value[0])==null?void 0:FL.description,condition:((mL=d.value)==null?void 0:mL.filter(wL=>wL.skillStatus).length)<((cj=(lj=sM==null?void 0:sM.value[0])==null?void 0:lj.minSelect)==null?void 0:cj.value)}],console.log("recommndationskillArray.value",AM.value),u.value=!1,j.value="",m.value=null,k.value=null},uL=(hM,rM,jt)=>{u.value=!0,jt?j.value="This skill is identified as a Critical Skill. Are you certain you want to delete it?":j.value="The deletion of skill will result in modification of profile.",m.value=rM,k.value=hM},DL=(hM,rM,jt)=>{var JM,XM,ct,St;console.log("skillid",rM),eM.value=!0,hM==="industrySkillarray"&&((JM=x.value)==null||JM.forEach(KM=>{var Gt,Vt,$t;if(KM.skill_id===jt){const tL=(Gt=KM==null?void 0:KM.subskill)==null?void 0:Gt.filter(ML=>ML.skillStatus===!0);(tL==null?void 0:tL.length)<1?(y.value=!0,(Vt=KM==null?void 0:KM.subskill)==null||Vt.forEach(ML=>{ML.skill_id===rM&&(ML.skillStatus=!0)})):($t=KM==null?void 0:KM.subskill)==null||$t.forEach(ML=>{ML.skill_id===rM&&(ML.skillStatus=!1)})}})),hM==="domainSkillarray"&&((XM=O.value)==null||XM.forEach(KM=>{var Gt,Vt,$t;if(KM.skill_id===jt){const tL=(Gt=KM==null?void 0:KM.subskill)==null?void 0:Gt.filter(ML=>ML.skillStatus===!0);(tL==null?void 0:tL.length)===1?(y.value=!0,(Vt=KM==null?void 0:KM.subskill)==null||Vt.forEach(ML=>{ML.skill_id===rM&&(ML.skillStatus=!0)})):($t=KM==null?void 0:KM.subskill)==null||$t.forEach(ML=>{ML.skill_id===rM&&(ML.skillStatus=!1)})}})),hM==="digitalSkillarray"&&((ct=l.value)==null||ct.forEach(KM=>{var Gt,Vt,$t;if(KM.skill_id===jt){const tL=(Gt=KM==null?void 0:KM.subskill)==null?void 0:Gt.filter(ML=>ML.skillStatus===!0);console.log("skillelement?.subskill",tL==null?void 0:tL.length),(tL==null?void 0:tL.length)===1?(y.value=!0,(Vt=KM==null?void 0:KM.subskill)==null||Vt.forEach(ML=>{ML.skill_id===rM&&(ML.skillStatus=!0)})):($t=KM==null?void 0:KM.subskill)==null||$t.forEach(ML=>{ML.skill_id===rM&&(ML.skillStatus=!1)})}})),hM==="profSkillarray"&&((St=d.value)==null||St.forEach(KM=>{var Gt,Vt,$t;if(KM.skill_id===jt){const tL=(Gt=KM==null?void 0:KM.subskill)==null?void 0:Gt.filter(ML=>ML.skillStatus===!0);(tL==null?void 0:tL.length)===1?(y.value=!0,(Vt=KM==null?void 0:KM.subskill)==null||Vt.forEach(ML=>{ML.skill_id===rM&&(ML.skillStatus=!0)})):($t=KM==null?void 0:KM.subskill)==null||$t.forEach(ML=>{ML.skill_id===rM&&(ML.skillStatus=!1)})}})),A.value=!1,U.value=rM,p.value=hM},gL=(hM,rM,jt,JM)=>{JM?j.value="This skill is identified as a Critical Skill. Are you certain you want to delete it?":j.value="The deletion of skill will result in modification of profile.",A.value=!0,U.value=rM,Q.value=jt,p.value=hM},pL=async hM=>{try{const{data:rM}=await WL(`/delphi/skillDesc/${hM}`);rM&&!rM.error&&(C.value=!0,h.value=rM)}catch{o.error("Failed to load Description"),C.value=!1,n.value=!0,E.value=!1}},nL=SL(()=>{var rM;const hM=(rM=t.coreSkillsArray)==null?void 0:rM.existingCoreSkills;return X.value=hM,hM}),_t=SL(()=>{var rM;return!!((rM=x.value)==null?void 0:rM.filter(jt=>jt.skillStatus)).length}),bL=SL(()=>{var rM;return!!((rM=O.value)==null?void 0:rM.filter(jt=>jt.skillStatus)).length}),zL=SL(()=>{var rM;return!!((rM=l.value)==null?void 0:rM.filter(jt=>jt.skillStatus)).length}),HM=SL(()=>{var rM;return!!((rM=d.value)==null?void 0:rM.filter(jt=>jt.skillStatus)).length});return(hM,rM)=>{var jt,JM,XM,ct,St,KM,Gt,Vt,$t,tL,ML,ht,RM,wt,dM,qM,Nt,ot,Zt;return v(),R(WM,null,[E.value?(v(),R("section",yaM,rM[49]||(rM[49]=[z("div",{class:"mt-24 flex items-start justify-center"},[z("img",{class:"w-24",src:nj,alt:"Loader Gif"})],-1)]))):(v(),R("div",raM,[z("div",naM,[z("div",DaM,[z("div",saM,[!D.value&&!r.value?(v(),R("div",TaM)):yM("",!0),z("div",zaM,[z("div",IaM,[z("div",caM,[z("div",aaM,[TM(t).userName?(v(),R("div",gaM,"Name : "+aM(TM(t).userName),1)):yM("",!0),z("div",oaM,[(jt=TM(t).roleObject)!=null&&jt.name?(v(),R("span",xaM,"Role : "+aM(((JM=TM(t).roleObject)==null?void 0:JM.name)==="Do Not Select this Role"?"Information awaited by HR":(ct=(XM=TM(t).roleObject)==null?void 0:XM.name)==null?void 0:ct.replace(TM(t).bandPattern,"").replace(/\s+/g," ").trim()),1)):yM("",!0)]),z("div",EaM,[(St=TM(t).functionObject)!=null&&St.name?(v(),R("span",laM,"Function : "+aM((KM=TM(t).functionObject)==null?void 0:KM.name),1)):yM("",!0),z("div",{id:"ga_how",class:"mx-0 flex cursor-pointer items-center sm:mx-4",onClick:rM[0]||(rM[0]=gM=>TM(t).componentCheckv6="IdealProfile")},rM[50]||(rM[50]=[z("b",{class:"flex items-center text-xs text-[#009BFE]",id:"ga_how"},"View Ideal Profile",-1)]))])]),((Vt=(Gt=TM(t).initArray)==null?void 0:Gt.ofconEntry)==null?void 0:Vt.Job_Family_Group)===""?(v(),R("button",{key:0,onClick:rM[1]||(rM[1]=gM=>TM(t).componentCheckv6="functionandrole")},rM[51]||(rM[51]=[z("img",{src:bI},null,-1)]))):yM("",!0)])]),((tL=($t=TM(t).initArray)==null?void 0:$t.ofconEntry)==null?void 0:tL.Job_Family_Group)==="Technology Solutions and Services"||((ht=(ML=TM(t).initArray)==null?void 0:ML.ofconEntry)==null?void 0:ht.Job_Family_Group)==="Data & Analytics"||((wt=(RM=TM(t).initArray)==null?void 0:RM.ofconEntry)==null?void 0:wt.Job_Family_Group)==="Data and Analytics"?(v(),R("div",OaM,[z("div",daM,[z("div",null,[z("div",waM,[rM[52]||(rM[52]=PM(" My Critical Skills ")),z("img",{class:"pointer ml-2 h-4 w-4",src:vA,onMouseenter:rM[2]||(rM[2]=gM=>I.value=!0),onMouseleave:rM[3]||(rM[3]=gM=>I.value=!1)},null,32)]),I.value?(v(),R("ul",faM,rM[53]||(rM[53]=[z("li",null,"● Critical skills are skills you specialize in and have actively used in your work in the last 18 months",-1),z("li",null,"● Declare critical skills for personalized learning recommendations and get discovered for new opportunities",-1)]))):yM("",!0)]),z("div",CaM,[(dM=nL.value)!=null&&dM.length?(v(),R("button",{key:0,class:"cursor-pointer",onClick:rM[4]||(rM[4]=gM=>{TM(t).coreskillcheckvalue="coreprofile",TM(t).componentCheckv6="coreSkills",TM(t).logEventOnClick({event_type:"cta_criticalskill"})})},rM[54]||(rM[54]=[z("img",{src:bI},null,-1)]))):(v(),R("button",{key:1,class:"cursor-pointer",onClick:rM[5]||(rM[5]=gM=>{TM(t).coreskillcheckvalue="coreprofile",TM(t).componentCheckv6="coreSkills",TM(t).logEventOnClick({event_type:"cta_criticalskill"})})},rM[55]||(rM[55]=[z("img",{class:"w-4",src:zl},null,-1)])))])]),(qM=nL.value)!=null&&qM.length?(v(),R("div",QaM,[(v(!0),R(WM,null,et(nL.value,(gM,lt)=>(v(),R("div",{class:"",key:lt},[z("span",UaM,[z("span",{innerHTML:gM==null?void 0:gM.ui_alias},null,8,haM)])]))),128))])):(v(),R("div",YaM,rM[56]||(rM[56]=[z("b",null,"You are missing out on great opportunities! Fill your Critical skills today",-1),PM("")])))])):yM("",!0)]),z("div",vaM,[z("div",kaM,[rM[58]||(rM[58]=z("span",null,"All Skills ",-1)),(ot=(Nt=TM(t).manager_assessmentArray)==null?void 0:Nt.skill_data)!=null&&ot.length?(v(),R("div",paM,[rM[57]||(rM[57]=PM(" View manager recommendations ")),Yt(z("input",{class:"ml-2","onUpdate:modelValue":rM[6]||(rM[6]=gM=>YM.value=gM),type:"checkbox"},null,512),[[Yj,YM.value]])])):yM("",!0)]),z("div",maM,[z("div",baM,[z("div",PaM,[rM[59]||(rM[59]=PM(" Skills ")),z("img",{class:"pointer ml-2 h-4 w-4",src:vA,onMouseenter:rM[7]||(rM[7]=gM=>s.value=!0),onMouseleave:rM[8]||(rM[8]=gM=>s.value=!1)},null,32)]),s.value?(v(),R("ul",RaM,rM[60]||(rM[60]=[z("li",null,"● (*)Skills - Recommended based on your role, pre- added to your profile.",-1),z("li",null,"● NEW - skills added on profile update.",-1),z("li",null,"● Proficiency definitions - Click info icon before BIPE for proficiency definitions for each skill.",-1),z("li",null,"● Subskills - Mandatory to add at least one when prompted by system.",-1)]))):yM("",!0)]),rM[64]||(rM[64]=Pj('<div class="border-l border-r border-gray-200 pl-2 pr-2 md:w-1/3 md:py-2 lg:w-1/3 lg:py-2" data-v-3355746a><div class="-text-blue flex items-center justify-center font-bold" data-v-3355746a><div data-v-3355746a>Proficiency level</div></div><div class="items-center justify-center pt-1 md:flex lg:flex" data-v-3355746a><div class="flex items-center" data-v-3355746a><div class="-bg-aqua h-2 w-2" data-v-3355746a></div><div class="pl-1 text-xs text-gray-700" data-v-3355746a>Current</div></div><div class="flex items-center md:px-1 lg:px-1" data-v-3355746a><div class="-bg-blue h-2 w-2" data-v-3355746a></div><div class="pl-1 text-xs text-gray-700" data-v-3355746a>Required</div></div><div class="flex items-center" data-v-3355746a><span class="flex h-2 w-2 overflow-hidden border border-gray-400" data-v-3355746a><span class="-bg-aqua span-a1 flex" data-v-3355746a></span><span class="-bg-blue span-b1 flex" data-v-3355746a></span></span><div class="pl-1 text-xs text-gray-700" data-v-3355746a>Current matches required</div></div></div></div>',1)),YM.value?(v(),R("div",BaM,[z("div",HaM,[z("div",ZaM,[rM[61]||(rM[61]=PM("Manager review ")),z("img",{onClick:rM[9]||(rM[9]=gM=>kM.value=!0),class:"pointer ml-2 h-4 w-4",src:vA})])]),rM[62]||(rM[62]=z("div",{class:"items-center justify-center pt-1 md:flex lg:flex"},[z("div",{class:"flex items-center"},[z("div",{class:"h-2 w-2 bg-[#FF555F]"}),z("div",{class:"pl-1 text-xs text-gray-700"},"Recommended")])],-1))])):yM("",!0),z("div",{class:yt([[YM.value?"hidden lg:block":""],"py-2 pl-2 md:w-1/3 lg:w-1/3"])},rM[63]||(rM[63]=[z("div",{class:"-text-blue items-center justify-center font-bold md:flex lg:flex"}," Add skills to My Plan ",-1)]),2)]),z("div",FaM,[z("div",XaM,[z("div",GaM,[z("div",{onClick:rM[10]||(rM[10]=gM=>K.value=!K.value),class:"flex cursor-pointer items-center justify-between bg-gray-100 px-4 py-1 font-bold"},[rM[67]||(rM[67]=PM(" Industry ")),x.value.length&&_t.value?(v(),R("span",WaM,[K.value?(v(),R("svg",JaM,rM[66]||(rM[66]=[z("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"3",d:"M16 9l-7-7-7 7"},null,-1)]))):(v(),R("svg",VaM,rM[65]||(rM[65]=[z("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"3",d:"M2 9l7 7 7-7"},null,-1)])))])):yM("",!0)])]),x.value.length&&_t.value?(v(),R("div",qaM,[K.value?(v(),R("table",KaM,[z("tbody",null,[(v(!0),R(WM,null,et(x.value.length>3?x.value.slice(0,G.value):x.value,(gM,lt)=>(v(),R("div",{key:lt,class:""},[gM.skillStatus?(v(),R("div",_aM,[gM.skillStatus?(v(),R("tr",$aM,[z("div",MgM,[PM(aM(gM.skill),1),gM.is_mandatory?(v(),R("sup",tgM,rM[68]||(rM[68]=[z("b",null,"*",-1)]))):yM("",!0),z("span",LgM,[gM.codered?(v(),R("span",jgM,"Missing Proficiency")):gM.subskillcodered?(v(),R("span",ugM,"Subskill Proficiency Missing")):yM("",!0)]),gM!=null&&gM.tags&&(gM==null?void 0:gM.tags[0])==="CORE"?(v(),R("span",AgM,"(Critical Skill)")):yM("",!0),gM.is_new?(v(),R("span",NgM,"(new)")):yM("",!0)]),z("div",{class:yt([(YM.value,"w-1/2 px-2 pt-1 md:px-4 lg:px-4")])},[z("div",egM,[z("img",{class:"pointer h-4 w-4",src:vA,onClick:vM=>pL(gM.skill_id)},null,8,igM),z("div",null,[z("ol",SgM,[(v(!0),R(WM,null,et(FM.value.slice(0,4),vM=>(v(),R("li",{key:vM.ID+Math.random()*1e3,class:"flex w-full items-center after:inline-block after:w-full after:content-['']"},[vM.ID===gM.proficiencyId&&vM.ID===gM.idealProficiencyId?(v(),R("span",{key:0,id:`skills-radio-${gM.skill_id}-${vM.ID}`,class:"-border-gray-1 flex h-5 w-5 shrink-0 items-center justify-center overflow-hidden rounded text-white",onClick:NL=>Qt("industrySkillarray",gM.skill_id,vM.ID)},[rM[69]||(rM[69]=z("span",{class:"-bg-aqua span-a2 flex"},null,-1)),z("span",rgM,aM(vM.Slug),1),rM[70]||(rM[70]=z("span",{class:"-bg-blue span-b2 flex"},null,-1))],8,ygM)):(v(),R("span",{key:1,id:`skills-radio-${gM.skill_id}-${vM.ID}`,class:yt([vM.ID===gM.proficiencyId?"-bg-aqua -border-gray-1 relative flex h-5 w-5 shrink-0 items-center justify-center rounded text-white":vM.ID===gM.idealProficiencyId?"-bg-blue -border-gray-1 relative flex h-5 w-5 shrink-0 items-center justify-center rounded text-white":"-bg-white -border-gray-1 relative flex h-5 w-5 shrink-0 items-center justify-center rounded text-gray-700"]),onClick:NL=>Qt("industrySkillarray",gM.skill_id,vM.ID)},[z("span",DgM,aM(vM.Slug),1)],10,ngM))]))),128))])]),gM.is_mandatory?(v(),R("div",sgM,rM[71]||(rM[71]=[z("svg",{xmlns:"http://www.w3.org/2000/svg",class:"h4bi bi-trash w-4 opacity-40",fill:"gray",viewBox:"0 0 16 16"},[z("path",{d:"M5.5 5.5A.5.5 0 0 1 6 6v6a.5.5 0 0 1-1 0V6a.5.5 0 0 1 .5-.5zm2.5 0a.5.5 0 0 1 .5.5v6a.5.5 0 0 1-1 0V6a.5.5 0 0 1 .5-.5zm3 .5a.5.5 0 0 0-1 0v6a.5.5 0 0 0 1 0V6z"}),z("path",{"fill-rule":"evenodd",d:"M14.5 3a1 1 0 0 1-1 1H13v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V4h-.5a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1H6a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1h3.5a1 1 0 0 1 1 1v1zM4.118 4 4 4.059V13a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1V4.059L11.882 4H4.118zM2.5 3V2h11v1h-11z"})],-1)]))):(v(),R("div",{key:1,id:"remove-skill-"+gM.skill_id,class:"pl-4",onClick:vM=>uL("industrySkillarray",gM.skill_id,(gM==null?void 0:gM.tags)&&(gM==null?void 0:gM.tags[0])==="CORE")},rM[72]||(rM[72]=[z("svg",{xmlns:"http://www.w3.org/2000/svg",class:"h4 pointer bi bi-trash w-4",fill:"gray",viewBox:"0 0 16 16"},[z("path",{d:"M5.5 5.5A.5.5 0 0 1 6 6v6a.5.5 0 0 1-1 0V6a.5.5 0 0 1 .5-.5zm2.5 0a.5.5 0 0 1 .5.5v6a.5.5 0 0 1-1 0V6a.5.5 0 0 1 .5-.5zm3 .5a.5.5 0 0 0-1 0v6a.5.5 0 0 0 1 0V6z"}),z("path",{"fill-rule":"evenodd",d:"M14.5 3a1 1 0 0 1-1 1H13v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V4h-.5a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1H6a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1h3.5a1 1 0 0 1 1 1v1zM4.118 4 4 4.059V13a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1V4.059L11.882 4H4.118zM2.5 3V2h11v1h-11z"})],-1)]),8,TgM))])],2),YM.value?(v(),R("div",zgM,[z("div",IgM,[z("div",null,[z("ol",cgM,[(v(!0),R(WM,null,et(FM.value.slice(0,4),vM=>(v(),R("li",{key:vM.ID+Math.random()*1e3,class:"flex w-full items-center"},[vM.ID===(gM==null?void 0:gM.managerReviewprof)?(v(),R("span",agM,[z("span",ggM,aM(vM.Slug),1)])):yM("",!0)]))),128))])])])])):yM("",!0),z("div",{class:yt(["w-1/3 pt-1 text-center text-xs",[YM.value?"hidden lg:block":""]])},[gM.addToMyPlan?(v(),R("div",ogM,[z("label",xgM,[Yt(z("input",{id:gM.skill_id,"onUpdate:modelValue":vM=>gM.myPlanRelevent=vM,disabled:gM.is_mandatory,type:"checkbox",onChange:vM=>IM("industrySkillarray",gM)},null,40,EgM),[[Yj,gM.myPlanRelevent]]),rM[73]||(rM[73]=z("div",{class:"slider round"},null,-1))])])):gM.addToMyPlanMessage?(v(),R("div",lgM,[z("i",OgM,aM(gM.addToMyPlanMessage),1)])):(v(),R("div",dgM,rM[74]||(rM[74]=[z("i",{class:"text-gray-400"},"Content not available",-1)])))],2)])):yM("",!0),gM!=null&&gM.subskill?(v(),R("div",wgM,[(v(!0),R(WM,null,et(TM(ej)(gM==null?void 0:gM.subskill.slice(0,3),"skill"),(vM,NL)=>(v(),R("tr",{key:NL,class:"-text-gray flex bg-white"},[gM.skillStatus&&vM.skillStatus?(v(),R("div",fgM,[PM(" - - "+aM(vM.skill)+" ",1),vM!=null&&vM.is_new?(v(),R("span",CgM,"(new)")):yM("",!0),vM!=null&&vM.tags&&(vM==null?void 0:vM.tags[0])==="CORE"?(v(),R("span",QgM,"(Critical Skill)")):yM("",!0),gM!=null&&gM.addatlistonesubskill?(v(),R("span",UgM,"Missing Proficiency")):yM("",!0)])):yM("",!0),gM.skillStatus&&vM.skillStatus?(v(),R("div",{key:1,class:yt([(YM.value,"w-1/2 pt-1 md:px-4 lg:px-4")])},[z("div",hgM,[rM[79]||(rM[79]=z("div",{class:"pl-6"},null,-1)),z("div",null,[z("ol",YgM,[(v(!0),R(WM,null,et(FM.value.slice(0,4),Ct=>(v(),R("li",{key:Ct.ID+Math.random()*1e3,class:"flex w-full items-center after:inline-block after:w-full after:content-['']"},[Ct.ID===vM.proficiencyId&&Ct.ID===vM.idealProficiencyId?(v(),R("span",{key:0,id:`skills-radio-${vM.skill_id}-${Ct.ID}`,class:"-border-gray-1 flex h-5 w-5 shrink-0 items-center justify-center overflow-hidden rounded text-white",onClick:eL=>Rt("industrySkillarray",vM.skill_id,Ct.ID)},[rM[75]||(rM[75]=z("span",{class:"-bg-aqua span-a2 flex"},null,-1)),z("span",kgM,aM(Ct.Slug),1),rM[76]||(rM[76]=z("span",{class:"-bg-blue span-b2 flex"},null,-1))],8,vgM)):(v(),R("span",{key:1,id:`skills-radio-${vM.skill_id}-${Ct.ID}`,class:yt([Ct.ID===vM.proficiencyId?"-bg-aqua -border-gray-1 relative flex h-5 w-5 shrink-0 items-center justify-center rounded text-white":Ct.ID===vM.idealProficiencyId?"-bg-blue -border-gray-1 relative flex h-5 w-5 shrink-0 items-center justify-center rounded text-white":"-bg-white -border-gray-1 relative flex h-5 w-5 shrink-0 items-center justify-center rounded text-gray-700"]),onClick:eL=>Rt("industrySkillarray",vM.skill_id,Ct.ID)},[z("span",mgM,aM(Ct.Slug),1)],10,pgM))]))),128))])]),vM.is_mandatory?(v(),R("div",bgM,rM[77]||(rM[77]=[z("svg",{xmlns:"http://www.w3.org/2000/svg",class:"h4bi bi-trash w-4 opacity-40",fill:"gray",viewBox:"0 0 16 16"},[z("path",{d:"M5.5 5.5A.5.5 0 0 1 6 6v6a.5.5 0 0 1-1 0V6a.5.5 0 0 1 .5-.5zm2.5 0a.5.5 0 0 1 .5.5v6a.5.5 0 0 1-1 0V6a.5.5 0 0 1 .5-.5zm3 .5a.5.5 0 0 0-1 0v6a.5.5 0 0 0 1 0V6z"}),z("path",{"fill-rule":"evenodd",d:"M14.5 3a1 1 0 0 1-1 1H13v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V4h-.5a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1H6a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1h3.5a1 1 0 0 1 1 1v1zM4.118 4 4 4.059V13a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1V4.059L11.882 4H4.118zM2.5 3V2h11v1h-11z"})],-1)]))):(v(),R("div",{key:1,id:"remove-sub-skill-"+(vM==null?void 0:vM.skill_id),class:"pl-4",onClick:Ct=>gL("industrySkillarray",vM==null?void 0:vM.skill_id,gM==null?void 0:gM.skill_id,(vM==null?void 0:vM.tags)&&(vM==null?void 0:vM.tags[0])==="CORE")},rM[78]||(rM[78]=[z("svg",{xmlns:"http://www.w3.org/2000/svg",class:"h4 pointer bi bi-trash w-4",fill:"gray",viewBox:"0 0 16 16"},[z("path",{d:"M5.5 5.5A.5.5 0 0 1 6 6v6a.5.5 0 0 1-1 0V6a.5.5 0 0 1 .5-.5zm2.5 0a.5.5 0 0 1 .5.5v6a.5.5 0 0 1-1 0V6a.5.5 0 0 1 .5-.5zm3 .5a.5.5 0 0 0-1 0v6a.5.5 0 0 0 1 0V6z"}),z("path",{"fill-rule":"evenodd",d:"M14.5 3a1 1 0 0 1-1 1H13v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V4h-.5a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1H6a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1h3.5a1 1 0 0 1 1 1v1zM4.118 4 4 4.059V13a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1V4.059L11.882 4H4.118zM2.5 3V2h11v1h-11z"})],-1)]),8,PgM))])],2)):yM("",!0),YM.value?(v(),R("div",{key:2,id:"mangerreview",class:yt([[YM.value?"hidden lg:block":""],"w-1/3 px-2 pt-1 md:w-1/4 md:px-4 lg:w-1/4 lg:px-4"])},null,2)):yM("",!0),rM[80]||(rM[80]=z("div",{class:"w-1/3 pt-1 text-xs"},null,-1))]))),128))])):yM("",!0),gM!=null&&gM.subskill&&(gM==null?void 0:gM.subskill.length)>3?(v(),R("div",RgM,[z("div",BgM,[z("button",{class:"-text-aqua inline-block",onClick:vM=>VM("industrySkillarray",gM)},"Click to view subskills ...",8,HgM)])])):yM("",!0)])):yM("",!0)]))),128)),G.value<=3&&x.value.length>3?(v(),R("tr",ZgM,[z("td",FgM,[z("button",{class:"-text-aqua inline-block",onClick:rM[11]||(rM[11]=gM=>lM("industrySkillarray",x.value.length))},"View more ...")])])):yM("",!0),G.value>3?(v(),R("tr",XgM,[z("td",GgM,[z("button",{class:"-text-aqua inline-block",onClick:rM[12]||(rM[12]=gM=>G.value=3)},"View less ...")])])):yM("",!0)])])):yM("",!0)])):(v(),R("div",WgM,"No skills found"))]),z("div",VgM,[z("div",JgM,[z("div",{onClick:rM[14]||(rM[14]=gM=>H.value=!H.value),class:"flex cursor-pointer items-center justify-between bg-gray-100 px-4 py-1 font-bold"},[rM[83]||(rM[83]=PM(" Functional Domain and Service Line ")),O.value.length&&bL.value?(v(),R("span",qgM,[H.value?(v(),R("svg",{key:1,onClick:rM[13]||(rM[13]=gM=>H.value=!H.value),class:"pointer ml-2 h-8 w-8 bg-white p-2 text-right font-bold text-black","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 18 18"},rM[82]||(rM[82]=[z("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"3",d:"M16 9l-7-7-7 7"},null,-1)]))):(v(),R("svg",KgM,rM[81]||(rM[81]=[z("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"3",d:"M2 9l7 7 7-7"},null,-1)])))])):yM("",!0)]),T.value?(v(),R("ul",_gM,rM[84]||(rM[84]=[z("li",null,"● (*)Skills - Recommended based on your role, pre- added to your profile.",-1),z("li",null,"● NEW - skills added on profile update.",-1),z("li",null,"● Proficiency definitions - Click info icon before BIPE for proficiency definitions for each skill.",-1)]))):yM("",!0)]),O.value.length&&bL.value?(v(),R("div",$gM,[H.value?(v(),R("table",MoM,[z("tbody",null,[(v(!0),R(WM,null,et(O.value.length>3?O.value.slice(0,W.value):O.value,(gM,lt)=>(v(),R("div",{key:lt,class:""},[gM.skillStatus?(v(),R("div",toM,[gM.skillStatus?(v(),R("tr",LoM,[z("div",joM,[PM(aM(gM.skill),1),gM.is_mandatory?(v(),R("sup",uoM,rM[85]||(rM[85]=[z("b",null,"*",-1)]))):yM("",!0),z("span",AoM,[gM.codered?(v(),R("span",NoM,"Missing Proficiency")):gM.subskillcodered?(v(),R("span",eoM,"Subskill Proficiency Missing")):yM("",!0)]),gM!=null&&gM.tags&&(gM==null?void 0:gM.tags[0])==="CORE"?(v(),R("span",ioM,"(Critical Skill)")):yM("",!0),gM.is_new?(v(),R("span",SoM,"(new)")):yM("",!0)]),z("div",{class:yt([(YM.value,"w-1/2 px-2 pt-1 md:px-4 lg:px-4")])},[z("div",yoM,[z("img",{class:"pointer h-4 w-4",src:vA,onClick:vM=>pL(gM.skill_id)},null,8,roM),z("div",null,[z("ol",noM,[(v(!0),R(WM,null,et(FM.value.slice(0,4),vM=>(v(),R("li",{key:vM.ID+Math.random()*1e3,class:"flex w-full items-center after:inline-block after:w-full after:content-['']"},[vM.ID===gM.proficiencyId&&vM.ID===gM.idealProficiencyId?(v(),R("span",{key:0,id:`skills-radio-${gM.skill_id}-${vM.ID}`,class:"-border-gray-1 flex h-5 w-5 shrink-0 items-center justify-center overflow-hidden rounded text-white",onClick:NL=>Qt("domainSkillarray",gM.skill_id,vM.ID)},[rM[86]||(rM[86]=z("span",{class:"-bg-aqua span-a2 flex"},null,-1)),z("span",soM,aM(vM.Slug),1),rM[87]||(rM[87]=z("span",{class:"-bg-blue span-b2 flex"},null,-1))],8,DoM)):(v(),R("span",{key:1,id:`skills-radio-${gM.skill_id}-${vM.ID}`,class:yt([vM.ID===gM.proficiencyId?"-bg-aqua -border-gray-1 relative flex h-5 w-5 shrink-0 items-center justify-center rounded text-white":vM.ID===gM.idealProficiencyId?"-bg-blue -border-gray-1 relative flex h-5 w-5 shrink-0 items-center justify-center rounded text-white":"-bg-white -border-gray-1 relative flex h-5 w-5 shrink-0 items-center justify-center rounded text-gray-700"]),onClick:NL=>Qt("domainSkillarray",gM.skill_id,vM.ID)},[z("span",zoM,aM(vM.Slug),1)],10,ToM))]))),128))])]),gM.is_mandatory?(v(),R("div",IoM,rM[88]||(rM[88]=[z("svg",{xmlns:"http://www.w3.org/2000/svg",class:"h4bi bi-trash w-4 opacity-40",fill:"gray",viewBox:"0 0 16 16"},[z("path",{d:"M5.5 5.5A.5.5 0 0 1 6 6v6a.5.5 0 0 1-1 0V6a.5.5 0 0 1 .5-.5zm2.5 0a.5.5 0 0 1 .5.5v6a.5.5 0 0 1-1 0V6a.5.5 0 0 1 .5-.5zm3 .5a.5.5 0 0 0-1 0v6a.5.5 0 0 0 1 0V6z"}),z("path",{"fill-rule":"evenodd",d:"M14.5 3a1 1 0 0 1-1 1H13v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V4h-.5a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1H6a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1h3.5a1 1 0 0 1 1 1v1zM4.118 4 4 4.059V13a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1V4.059L11.882 4H4.118zM2.5 3V2h11v1h-11z"})],-1)]))):(v(),R("div",{key:1,id:"remove-skill-"+gM.skill_id,class:"pl-4",onClick:vM=>uL("domainSkillarray",gM.skill_id,(gM==null?void 0:gM.tags)&&(gM==null?void 0:gM.tags[0])==="CORE")},rM[89]||(rM[89]=[z("svg",{xmlns:"http://www.w3.org/2000/svg",class:"h4 pointer bi bi-trash w-4",fill:"gray",viewBox:"0 0 16 16"},[z("path",{d:"M5.5 5.5A.5.5 0 0 1 6 6v6a.5.5 0 0 1-1 0V6a.5.5 0 0 1 .5-.5zm2.5 0a.5.5 0 0 1 .5.5v6a.5.5 0 0 1-1 0V6a.5.5 0 0 1 .5-.5zm3 .5a.5.5 0 0 0-1 0v6a.5.5 0 0 0 1 0V6z"}),z("path",{"fill-rule":"evenodd",d:"M14.5 3a1 1 0 0 1-1 1H13v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V4h-.5a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1H6a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1h3.5a1 1 0 0 1 1 1v1zM4.118 4 4 4.059V13a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1V4.059L11.882 4H4.118zM2.5 3V2h11v1h-11z"})],-1)]),8,coM))])],2),YM.value?(v(),R("div",aoM,[z("div",goM,[z("div",null,[z("ol",ooM,[(v(!0),R(WM,null,et(FM.value.slice(0,4),vM=>(v(),R("li",{key:vM.ID+Math.random()*1e3,class:"flex w-full items-center"},[vM.ID===(gM==null?void 0:gM.managerReviewprof)?(v(),R("span",xoM,[z("span",EoM,aM(vM.Slug),1)])):yM("",!0)]))),128))])])])])):yM("",!0),z("div",{class:yt(["w-1/3 pt-1 text-center text-xs",[YM.value?"hidden lg:block":""]])},[gM.addToMyPlan?(v(),R("div",loM,[z("label",OoM,[Yt(z("input",{id:gM.skill_id,"onUpdate:modelValue":vM=>gM.myPlanRelevent=vM,disabled:gM.is_mandatory,type:"checkbox",onChange:vM=>IM("domainSkillarray",gM)},null,40,doM),[[Yj,gM.myPlanRelevent]]),rM[90]||(rM[90]=z("div",{class:"slider round"},null,-1))])])):gM.addToMyPlanMessage?(v(),R("div",woM,[z("i",foM,aM(gM.addToMyPlanMessage),1)])):(v(),R("div",CoM,rM[91]||(rM[91]=[z("i",{class:"text-gray-400"},"Content not available",-1)])))],2)])):yM("",!0),gM!=null&&gM.subskill?(v(),R("div",QoM,[(v(!0),R(WM,null,et(TM(ej)(gM==null?void 0:gM.subskill.slice(0,3),"skill"),(vM,NL)=>(v(),R("tr",{key:NL,class:"-text-gray flex bg-white"},[gM.skillStatus&&vM.skillStatus?(v(),R("div",UoM,[PM(" - - "+aM(vM.skill)+" ",1),vM!=null&&vM.is_new?(v(),R("span",hoM,"(new)")):yM("",!0),vM!=null&&vM.tags&&(vM==null?void 0:vM.tags[0])==="CORE"?(v(),R("span",YoM,"(Critical Skill)")):yM("",!0),gM!=null&&gM.addatlistonesubskill?(v(),R("span",voM,"Missing Proficiency")):yM("",!0)])):yM("",!0),gM.skillStatus&&vM.skillStatus?(v(),R("div",{key:1,class:yt([(YM.value,"w-1/2 pt-1 md:px-4 lg:px-4")])},[z("div",koM,[rM[96]||(rM[96]=z("div",{class:"pl-6"},null,-1)),z("div",null,[z("ol",poM,[(v(!0),R(WM,null,et(FM.value.slice(0,4),Ct=>(v(),R("li",{key:Ct.ID+Math.random()*1e3,class:"flex w-full items-center after:inline-block after:w-full after:content-['']"},[Ct.ID===vM.proficiencyId&&Ct.ID===vM.idealProficiencyId?(v(),R("span",{key:0,id:`skills-radio-${vM.skill_id}-${Ct.ID}`,class:"-border-gray-1 flex h-5 w-5 shrink-0 items-center justify-center overflow-hidden rounded text-white",onClick:eL=>Rt("domainSkillarray",vM.skill_id,Ct.ID)},[rM[92]||(rM[92]=z("span",{class:"-bg-aqua span-a2 flex"},null,-1)),z("span",boM,aM(Ct.Slug),1),rM[93]||(rM[93]=z("span",{class:"-bg-blue span-b2 flex"},null,-1))],8,moM)):(v(),R("span",{key:1,id:`skills-radio-${vM.skill_id}-${Ct.ID}`,class:yt([Ct.ID===vM.proficiencyId?"-bg-aqua -border-gray-1 relative flex h-5 w-5 shrink-0 items-center justify-center rounded text-white":Ct.ID===vM.idealProficiencyId?"-bg-blue -border-gray-1 relative flex h-5 w-5 shrink-0 items-center justify-center rounded text-white":"-bg-white -border-gray-1 relative flex h-5 w-5 shrink-0 items-center justify-center rounded text-gray-700"]),onClick:eL=>Rt("domainSkillarray",vM.skill_id,Ct.ID)},[z("span",RoM,aM(Ct.Slug),1)],10,PoM))]))),128))])]),vM.is_mandatory?(v(),R("div",BoM,rM[94]||(rM[94]=[z("svg",{xmlns:"http://www.w3.org/2000/svg",class:"h4bi bi-trash w-4 opacity-40",fill:"gray",viewBox:"0 0 16 16"},[z("path",{d:"M5.5 5.5A.5.5 0 0 1 6 6v6a.5.5 0 0 1-1 0V6a.5.5 0 0 1 .5-.5zm2.5 0a.5.5 0 0 1 .5.5v6a.5.5 0 0 1-1 0V6a.5.5 0 0 1 .5-.5zm3 .5a.5.5 0 0 0-1 0v6a.5.5 0 0 0 1 0V6z"}),z("path",{"fill-rule":"evenodd",d:"M14.5 3a1 1 0 0 1-1 1H13v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V4h-.5a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1H6a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1h3.5a1 1 0 0 1 1 1v1zM4.118 4 4 4.059V13a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1V4.059L11.882 4H4.118zM2.5 3V2h11v1h-11z"})],-1)]))):(v(),R("div",{key:1,id:"remove-sub-skill-"+(vM==null?void 0:vM.skill_id),class:"pl-4",onClick:Ct=>gL("domainSkillarray",vM==null?void 0:vM.skill_id,gM==null?void 0:gM.skill_id,(vM==null?void 0:vM.tags)&&(vM==null?void 0:vM.tags[0])==="CORE")},rM[95]||(rM[95]=[z("svg",{xmlns:"http://www.w3.org/2000/svg",class:"h4 pointer bi bi-trash w-4",fill:"gray",viewBox:"0 0 16 16"},[z("path",{d:"M5.5 5.5A.5.5 0 0 1 6 6v6a.5.5 0 0 1-1 0V6a.5.5 0 0 1 .5-.5zm2.5 0a.5.5 0 0 1 .5.5v6a.5.5 0 0 1-1 0V6a.5.5 0 0 1 .5-.5zm3 .5a.5.5 0 0 0-1 0v6a.5.5 0 0 0 1 0V6z"}),z("path",{"fill-rule":"evenodd",d:"M14.5 3a1 1 0 0 1-1 1H13v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V4h-.5a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1H6a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1h3.5a1 1 0 0 1 1 1v1zM4.118 4 4 4.059V13a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1V4.059L11.882 4H4.118zM2.5 3V2h11v1h-11z"})],-1)]),8,HoM))])],2)):yM("",!0),YM.value?(v(),R("div",{key:2,id:"mangerreview",class:yt([[YM.value?"hidden lg:block":""],"w-1/3 px-2 pt-1 md:w-1/4 md:px-4 lg:w-1/4 lg:px-4"])},null,2)):yM("",!0),rM[97]||(rM[97]=z("div",{class:"w-1/3 pt-1 text-xs"},null,-1))]))),128))])):yM("",!0),gM!=null&&gM.subskill&&(gM==null?void 0:gM.subskill.length)>3?(v(),R("div",ZoM,[z("div",FoM,[z("button",{class:"-text-aqua inline-block",onClick:vM=>VM("domainSkillarray",gM)},"Click to view subskills ...",8,XoM)])])):yM("",!0)])):yM("",!0)]))),128)),W.value<=3&&O.value.length>3?(v(),R("tr",GoM,[z("td",WoM,[z("button",{class:"-text-aqua inline-block",onClick:rM[15]||(rM[15]=gM=>lM("domainSkillarray",O.value.length))},"View more ...")])])):yM("",!0),W.value>3?(v(),R("tr",VoM,[z("td",JoM,[z("button",{class:"-text-aqua inline-block",onClick:rM[16]||(rM[16]=gM=>W.value=3)},"View less ...")])])):yM("",!0)])])):yM("",!0)])):(v(),R("div",qoM,"No skills found"))]),z("div",KoM,[z("div",_oM,[z("div",{onClick:rM[18]||(rM[18]=gM=>P.value=!P.value),class:"flex cursor-pointer items-center justify-between bg-gray-100 px-4 py-1 font-bold"},[rM[100]||(rM[100]=PM(" Digital ")),l.value.length&&zL.value?(v(),R("span",$oM,[P.value?(v(),R("svg",{key:1,onClick:rM[17]||(rM[17]=gM=>P.value=!P.value),class:"pointer ml-2 h-8 w-8 bg-white p-2 text-right font-bold text-black","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 18 18"},rM[99]||(rM[99]=[z("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"3",d:"M16 9l-7-7-7 7"},null,-1)]))):(v(),R("svg",MxM,rM[98]||(rM[98]=[z("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"3",d:"M2 9l7 7 7-7"},null,-1)])))])):yM("",!0)]),c.value?(v(),R("ul",txM,rM[101]||(rM[101]=[z("li",null,"● (*)Skills - Recommended based on your role, pre- added to your profile.",-1),z("li",null,"● NEW - skills added on profile update.",-1),z("li",null,"● Proficiency definitions - Click info icon before BIPE for proficiency definitions for each skill.",-1)]))):yM("",!0)]),l.value.length&&zL.value?(v(),R("div",LxM,[P.value?(v(),R("table",jxM,[z("tbody",null,[(v(!0),R(WM,null,et(l.value.length>3?l.value.slice(0,MM.value):l.value,(gM,lt)=>(v(),R("div",{key:lt,class:""},[gM.skillStatus?(v(),R("div",uxM,[gM.skillStatus?(v(),R("tr",AxM,[z("div",NxM,[PM(aM(gM.skill),1),gM.is_mandatory?(v(),R("sup",exM,rM[102]||(rM[102]=[z("b",null,"*",-1)]))):yM("",!0),z("span",ixM,[gM.codered?(v(),R("span",SxM,"Missing Proficiency")):gM.subskillcodered?(v(),R("span",yxM,"Subskill Proficiency Missing")):yM("",!0)]),gM!=null&&gM.tags&&(gM==null?void 0:gM.tags[0])==="CORE"?(v(),R("span",rxM,"(Critical Skill)")):yM("",!0),gM.is_new?(v(),R("span",nxM,"(new)")):yM("",!0)]),z("div",{class:yt([(YM.value,"w-1/2 px-2 pt-1 md:px-4 lg:px-4")])},[z("div",DxM,[z("img",{class:"pointer h-4 w-4",src:vA,onClick:vM=>pL(gM.skill_id)},null,8,sxM),z("div",null,[z("ol",TxM,[(v(!0),R(WM,null,et(FM.value.slice(0,4),vM=>(v(),R("li",{key:vM.ID+Math.random()*1e3,class:"flex w-full items-center after:inline-block after:w-full after:content-['']"},[vM.ID===gM.proficiencyId&&vM.ID===gM.idealProficiencyId?(v(),R("span",{key:0,id:`skills-radio-${gM.skill_id}-${vM.ID}`,class:"-border-gray-1 flex h-5 w-5 shrink-0 items-center justify-center overflow-hidden rounded text-white",onClick:NL=>Qt("digitalSkillarray",gM.skill_id,vM.ID)},[rM[103]||(rM[103]=z("span",{class:"-bg-aqua span-a2 flex"},null,-1)),z("span",IxM,aM(vM.Slug),1),rM[104]||(rM[104]=z("span",{class:"-bg-blue span-b2 flex"},null,-1))],8,zxM)):(v(),R("span",{key:1,id:`skills-radio-${gM.skill_id}-${vM.ID}`,class:yt([vM.ID===gM.proficiencyId?"-bg-aqua -border-gray-1 relative flex h-5 w-5 shrink-0 items-center justify-center rounded text-white":vM.ID===gM.idealProficiencyId?"-bg-blue -border-gray-1 relative flex h-5 w-5 shrink-0 items-center justify-center rounded text-white":"-bg-white -border-gray-1 relative flex h-5 w-5 shrink-0 items-center justify-center rounded text-gray-700"]),onClick:NL=>Qt("digitalSkillarray",gM.skill_id,vM.ID)},[z("span",axM,aM(vM.Slug),1)],10,cxM))]))),128))])]),gM.is_mandatory?(v(),R("div",gxM,rM[105]||(rM[105]=[z("svg",{xmlns:"http://www.w3.org/2000/svg",class:"h4bi bi-trash w-4 opacity-40",fill:"gray",viewBox:"0 0 16 16"},[z("path",{d:"M5.5 5.5A.5.5 0 0 1 6 6v6a.5.5 0 0 1-1 0V6a.5.5 0 0 1 .5-.5zm2.5 0a.5.5 0 0 1 .5.5v6a.5.5 0 0 1-1 0V6a.5.5 0 0 1 .5-.5zm3 .5a.5.5 0 0 0-1 0v6a.5.5 0 0 0 1 0V6z"}),z("path",{"fill-rule":"evenodd",d:"M14.5 3a1 1 0 0 1-1 1H13v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V4h-.5a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1H6a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1h3.5a1 1 0 0 1 1 1v1zM4.118 4 4 4.059V13a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1V4.059L11.882 4H4.118zM2.5 3V2h11v1h-11z"})],-1)]))):(v(),R("div",{key:1,id:"remove-skill-"+gM.skill_id,class:"pl-4",onClick:vM=>uL("digitalSkillarray",gM.skill_id,(gM==null?void 0:gM.tags)&&(gM==null?void 0:gM.tags[0])==="CORE")},rM[106]||(rM[106]=[z("svg",{xmlns:"http://www.w3.org/2000/svg",class:"h4 pointer bi bi-trash w-4",fill:"gray",viewBox:"0 0 16 16"},[z("path",{d:"M5.5 5.5A.5.5 0 0 1 6 6v6a.5.5 0 0 1-1 0V6a.5.5 0 0 1 .5-.5zm2.5 0a.5.5 0 0 1 .5.5v6a.5.5 0 0 1-1 0V6a.5.5 0 0 1 .5-.5zm3 .5a.5.5 0 0 0-1 0v6a.5.5 0 0 0 1 0V6z"}),z("path",{"fill-rule":"evenodd",d:"M14.5 3a1 1 0 0 1-1 1H13v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V4h-.5a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1H6a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1h3.5a1 1 0 0 1 1 1v1zM4.118 4 4 4.059V13a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1V4.059L11.882 4H4.118zM2.5 3V2h11v1h-11z"})],-1)]),8,oxM))])],2),YM.value?(v(),R("div",xxM,[z("div",ExM,[z("div",null,[z("ol",lxM,[(v(!0),R(WM,null,et(FM.value.slice(0,4),vM=>(v(),R("li",{key:vM.ID+Math.random()*1e3,class:"flex w-full items-center"},[vM.ID===(gM==null?void 0:gM.managerReviewprof)?(v(),R("span",OxM,[z("span",dxM,aM(vM.Slug),1)])):yM("",!0)]))),128))])])])])):yM("",!0),z("div",{class:yt(["w-1/3 pt-1 text-center text-xs",[YM.value?"hidden lg:block":""]])},[gM.addToMyPlan?(v(),R("div",wxM,[z("label",fxM,[Yt(z("input",{id:gM.skill_id,"onUpdate:modelValue":vM=>gM.myPlanRelevent=vM,disabled:gM.is_mandatory,type:"checkbox",onChange:vM=>IM("digitalSkillarray",gM)},null,40,CxM),[[Yj,gM.myPlanRelevent]]),rM[107]||(rM[107]=z("div",{class:"slider round"},null,-1))])])):gM.addToMyPlanMessage?(v(),R("div",QxM,[z("i",UxM,aM(gM.addToMyPlanMessage),1)])):(v(),R("div",hxM,rM[108]||(rM[108]=[z("i",{class:"text-gray-400"},"Content not available",-1)])))],2)])):yM("",!0),gM!=null&&gM.subskill?(v(),R("div",YxM,[(v(!0),R(WM,null,et(TM(ej)(gM==null?void 0:gM.subskill.slice(0,3),"skill"),(vM,NL)=>(v(),R("tr",{key:NL,class:"-text-gray flex bg-white"},[gM.skillStatus&&vM.skillStatus?(v(),R("div",vxM,[PM(" - - "+aM(vM.skill)+" ",1),vM!=null&&vM.is_new?(v(),R("span",kxM,"(new)")):yM("",!0),vM!=null&&vM.tags&&(vM==null?void 0:vM.tags[0])==="CORE"?(v(),R("span",pxM,"(Critical Skill)")):yM("",!0),gM!=null&&gM.addatlistonesubskill?(v(),R("span",mxM,"Missing Proficiency")):yM("",!0)])):yM("",!0),gM.skillStatus&&vM.skillStatus?(v(),R("div",{key:1,class:yt([(YM.value,"w-1/2 pt-1 md:px-4 lg:px-4")])},[z("div",bxM,[rM[113]||(rM[113]=z("div",{class:"pl-6"},null,-1)),z("div",null,[z("ol",PxM,[(v(!0),R(WM,null,et(FM.value.slice(0,4),Ct=>(v(),R("li",{key:Ct.ID+Math.random()*1e3,class:"flex w-full items-center after:inline-block after:w-full after:content-['']"},[Ct.ID===vM.proficiencyId&&Ct.ID===vM.idealProficiencyId?(v(),R("span",{key:0,id:`skills-radio-${vM.skill_id}-${Ct.ID}`,class:"-border-gray-1 flex h-5 w-5 shrink-0 items-center justify-center overflow-hidden rounded text-white",onClick:eL=>Rt("digitalSkillarray",vM.skill_id,Ct.ID)},[rM[109]||(rM[109]=z("span",{class:"-bg-aqua span-a2 flex"},null,-1)),z("span",BxM,aM(Ct.Slug),1),rM[110]||(rM[110]=z("span",{class:"-bg-blue span-b2 flex"},null,-1))],8,RxM)):(v(),R("span",{key:1,id:`skills-radio-${vM.skill_id}-${Ct.ID}`,class:yt([Ct.ID===vM.proficiencyId?"-bg-aqua -border-gray-1 relative flex h-5 w-5 shrink-0 items-center justify-center rounded text-white":Ct.ID===vM.idealProficiencyId?"-bg-blue -border-gray-1 relative flex h-5 w-5 shrink-0 items-center justify-center rounded text-white":"-bg-white -border-gray-1 relative flex h-5 w-5 shrink-0 items-center justify-center rounded text-gray-700"]),onClick:eL=>Rt("digitalSkillarray",vM.skill_id,Ct.ID)},[z("span",ZxM,aM(Ct.Slug),1)],10,HxM))]))),128))])]),vM.is_mandatory?(v(),R("div",FxM,rM[111]||(rM[111]=[z("svg",{xmlns:"http://www.w3.org/2000/svg",class:"h4bi bi-trash w-4 opacity-40",fill:"gray",viewBox:"0 0 16 16"},[z("path",{d:"M5.5 5.5A.5.5 0 0 1 6 6v6a.5.5 0 0 1-1 0V6a.5.5 0 0 1 .5-.5zm2.5 0a.5.5 0 0 1 .5.5v6a.5.5 0 0 1-1 0V6a.5.5 0 0 1 .5-.5zm3 .5a.5.5 0 0 0-1 0v6a.5.5 0 0 0 1 0V6z"}),z("path",{"fill-rule":"evenodd",d:"M14.5 3a1 1 0 0 1-1 1H13v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V4h-.5a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1H6a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1h3.5a1 1 0 0 1 1 1v1zM4.118 4 4 4.059V13a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1V4.059L11.882 4H4.118zM2.5 3V2h11v1h-11z"})],-1)]))):(v(),R("div",{key:1,id:"remove-sub-skill-"+(vM==null?void 0:vM.skill_id),class:"pl-4",onClick:Ct=>gL("digitalSkillarray",vM==null?void 0:vM.skill_id,gM==null?void 0:gM.skill_id,(vM==null?void 0:vM.tags)&&(vM==null?void 0:vM.tags[0])==="CORE")},rM[112]||(rM[112]=[z("svg",{xmlns:"http://www.w3.org/2000/svg",class:"h4 pointer bi bi-trash w-4",fill:"gray",viewBox:"0 0 16 16"},[z("path",{d:"M5.5 5.5A.5.5 0 0 1 6 6v6a.5.5 0 0 1-1 0V6a.5.5 0 0 1 .5-.5zm2.5 0a.5.5 0 0 1 .5.5v6a.5.5 0 0 1-1 0V6a.5.5 0 0 1 .5-.5zm3 .5a.5.5 0 0 0-1 0v6a.5.5 0 0 0 1 0V6z"}),z("path",{"fill-rule":"evenodd",d:"M14.5 3a1 1 0 0 1-1 1H13v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V4h-.5a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1H6a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1h3.5a1 1 0 0 1 1 1v1zM4.118 4 4 4.059V13a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1V4.059L11.882 4H4.118zM2.5 3V2h11v1h-11z"})],-1)]),8,XxM))])],2)):yM("",!0),YM.value?(v(),R("div",{key:2,class:yt([[YM.value?"hidden lg:block":""],"w-1/3 px-2 pt-1 md:w-1/4 md:px-4 lg:w-1/4 lg:px-4"]),id:"mangerreview"},null,2)):yM("",!0),rM[114]||(rM[114]=z("div",{class:"w-1/3 pt-1 text-xs"},null,-1))]))),128))])):yM("",!0),gM!=null&&gM.subskill&&(gM==null?void 0:gM.subskill.length)>3?(v(),R("div",GxM,[z("div",WxM,[z("button",{class:"-text-aqua inline-block",onClick:vM=>VM("digitalSkillarray",gM)},"Click to view subskills ...",8,VxM)])])):yM("",!0)])):yM("",!0)]))),128)),MM.value<=3&&l.value.length>3?(v(),R("tr",JxM,[z("td",qxM,[z("button",{class:"-text-aqua inline-block",onClick:rM[19]||(rM[19]=gM=>lM("digitalSkillarray",l.value.length))},"View more ...")])])):yM("",!0),MM.value>3?(v(),R("tr",KxM,[z("td",_xM,[z("button",{class:"-text-aqua inline-block",onClick:rM[20]||(rM[20]=gM=>MM.value=3)},"View less ...")])])):yM("",!0)])])):yM("",!0)])):(v(),R("div",$xM,"No skills found"))]),z("div",MEM,[z("div",tEM,[z("div",{onClick:rM[22]||(rM[22]=gM=>J.value=!J.value),class:"flex cursor-pointer items-center justify-between bg-gray-100 px-4 py-1 font-bold"},[rM[117]||(rM[117]=PM(" Professional ")),d.value.length&&HM.value?(v(),R("span",LEM,[J.value?(v(),R("svg",{key:1,onClick:rM[21]||(rM[21]=gM=>J.value=!J.value),class:"pointer ml-2 h-8 w-8 bg-white p-2 text-right font-bold text-black","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 18 18"},rM[116]||(rM[116]=[z("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"3",d:"M16 9l-7-7-7 7"},null,-1)]))):(v(),R("svg",jEM,rM[115]||(rM[115]=[z("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"3",d:"M2 9l7 7 7-7"},null,-1)])))])):yM("",!0)]),a.value?(v(),R("ul",uEM,rM[118]||(rM[118]=[z("li",null,"● (*)Skills - Recommended based on your role, pre- added to your profile.",-1),z("li",null,"● NEW - skills added on profile update.",-1),z("li",null,"● Proficiency definitions - Click info icon before BIPE for proficiency definitions for each skill.",-1)]))):yM("",!0)]),d.value.length&&HM.value?(v(),R("div",AEM,[J.value?(v(),R("table",NEM,[z("tbody",null,[(v(!0),R(WM,null,et(d.value.length>3?d.value.slice(0,Z.value):d.value,(gM,lt)=>(v(),R("div",{key:lt,class:""},[gM.skillStatus?(v(),R("div",eEM,[gM.skillStatus?(v(),R("tr",iEM,[z("div",SEM,[PM(aM(gM.skill),1),gM.is_mandatory?(v(),R("sup",yEM,rM[119]||(rM[119]=[z("b",null,"*",-1)]))):yM("",!0),z("span",rEM,[gM.codered?(v(),R("span",nEM,"Missing Proficiency")):gM.subskillcodered?(v(),R("span",DEM,"Subskill Proficiency Missing")):yM("",!0)]),gM!=null&&gM.tags&&(gM==null?void 0:gM.tags[0])==="CORE"?(v(),R("span",sEM,"(Critical Skill)")):yM("",!0),gM.is_new?(v(),R("span",TEM,"(new)")):yM("",!0)]),z("div",{class:yt([(YM.value,"w-1/2 px-2 pt-1 md:px-4 lg:px-4")])},[z("div",zEM,[z("img",{class:"pointer h-4 w-4",src:vA,onClick:vM=>pL(gM.skill_id)},null,8,IEM),z("div",null,[z("ol",cEM,[(v(!0),R(WM,null,et(FM.value.slice(0,4),vM=>(v(),R("li",{key:vM.ID+Math.random()*1e3,class:"flex w-full items-center after:inline-block after:w-full after:content-['']"},[vM.ID===gM.proficiencyId&&vM.ID===gM.idealProficiencyId?(v(),R("span",{key:0,id:`skills-radio-${gM.skill_id}-${vM.ID}`,class:"-border-gray-1 flex h-5 w-5 shrink-0 items-center justify-center overflow-hidden rounded text-white",onClick:NL=>Qt("profSkillarray",gM.skill_id,vM.ID)},[rM[120]||(rM[120]=z("span",{class:"-bg-aqua span-a2 flex"},null,-1)),z("span",gEM,aM(vM.Slug),1),rM[121]||(rM[121]=z("span",{class:"-bg-blue span-b2 flex"},null,-1))],8,aEM)):(v(),R("span",{key:1,id:`skills-radio-${gM.skill_id}-${vM.ID}`,class:yt([vM.ID===gM.proficiencyId?"-bg-aqua -border-gray-1 relative flex h-5 w-5 shrink-0 items-center justify-center rounded text-white":vM.ID===gM.idealProficiencyId?"-bg-blue -border-gray-1 relative flex h-5 w-5 shrink-0 items-center justify-center rounded text-white":"-bg-white -border-gray-1 relative flex h-5 w-5 shrink-0 items-center justify-center rounded text-gray-700"]),onClick:NL=>Qt("profSkillarray",gM.skill_id,vM.ID)},[z("span",xEM,aM(vM.Slug),1)],10,oEM))]))),128))])]),gM.is_mandatory?(v(),R("div",EEM,rM[122]||(rM[122]=[z("svg",{xmlns:"http://www.w3.org/2000/svg",class:"h4bi bi-trash w-4 opacity-40",fill:"gray",viewBox:"0 0 16 16"},[z("path",{d:"M5.5 5.5A.5.5 0 0 1 6 6v6a.5.5 0 0 1-1 0V6a.5.5 0 0 1 .5-.5zm2.5 0a.5.5 0 0 1 .5.5v6a.5.5 0 0 1-1 0V6a.5.5 0 0 1 .5-.5zm3 .5a.5.5 0 0 0-1 0v6a.5.5 0 0 0 1 0V6z"}),z("path",{"fill-rule":"evenodd",d:"M14.5 3a1 1 0 0 1-1 1H13v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V4h-.5a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1H6a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1h3.5a1 1 0 0 1 1 1v1zM4.118 4 4 4.059V13a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1V4.059L11.882 4H4.118zM2.5 3V2h11v1h-11z"})],-1)]))):(v(),R("div",{key:1,id:"remove-skill-"+gM.skill_id,class:"pl-4",onClick:vM=>uL("profSkillarray",gM.skill_id,(gM==null?void 0:gM.tags)&&(gM==null?void 0:gM.tags[0])==="CORE")},rM[123]||(rM[123]=[z("svg",{xmlns:"http://www.w3.org/2000/svg",class:"h4 pointer bi bi-trash w-4",fill:"gray",viewBox:"0 0 16 16"},[z("path",{d:"M5.5 5.5A.5.5 0 0 1 6 6v6a.5.5 0 0 1-1 0V6a.5.5 0 0 1 .5-.5zm2.5 0a.5.5 0 0 1 .5.5v6a.5.5 0 0 1-1 0V6a.5.5 0 0 1 .5-.5zm3 .5a.5.5 0 0 0-1 0v6a.5.5 0 0 0 1 0V6z"}),z("path",{"fill-rule":"evenodd",d:"M14.5 3a1 1 0 0 1-1 1H13v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V4h-.5a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1H6a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1h3.5a1 1 0 0 1 1 1v1zM4.118 4 4 4.059V13a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1V4.059L11.882 4H4.118zM2.5 3V2h11v1h-11z"})],-1)]),8,lEM))])],2),YM.value?(v(),R("div",OEM,[z("div",dEM,[z("div",null,[z("ol",wEM,[(v(!0),R(WM,null,et(FM.value.slice(0,4),vM=>(v(),R("li",{key:vM.ID+Math.random()*1e3,class:"flex w-full items-center"},[vM.ID===(gM==null?void 0:gM.managerReviewprof)?(v(),R("span",fEM,[z("span",CEM,aM(vM.Slug),1)])):yM("",!0)]))),128))])])])])):yM("",!0),z("div",{class:yt(["w-1/3 pt-1 text-center text-xs",[YM.value?"hidden lg:block":""]])},[gM.addToMyPlan?(v(),R("div",QEM,[z("label",UEM,[Yt(z("input",{id:gM.skill_id,"onUpdate:modelValue":vM=>gM.myPlanRelevent=vM,disabled:gM.is_mandatory,type:"checkbox",onChange:vM=>IM("profSkillarray",gM)},null,40,hEM),[[Yj,gM.myPlanRelevent]]),z("div",{class:yt([[gM.is_mandatory?"bgslider":null],"slider round"])},null,2)])])):gM.addToMyPlanMessage?(v(),R("div",YEM,[z("i",vEM,aM(gM.addToMyPlanMessage),1)])):(v(),R("div",kEM,rM[124]||(rM[124]=[z("i",{class:"text-gray-400"},"Content not available",-1)])))],2)])):yM("",!0),gM!=null&&gM.subskill?(v(),R("div",pEM,[(v(!0),R(WM,null,et(TM(ej)(gM==null?void 0:gM.subskill.slice(0,3),"skill"),(vM,NL)=>(v(),R("tr",{key:NL,class:"-text-gray flex bg-white"},[gM.skillStatus&&vM.skillStatus?(v(),R("div",mEM,[PM(" - - "+aM(vM.skill)+" ",1),vM!=null&&vM.is_new?(v(),R("span",bEM,"(new)")):yM("",!0),vM!=null&&vM.tags&&(vM==null?void 0:vM.tags[0])==="CORE"?(v(),R("span",PEM,"(Critical Skill)")):yM("",!0),gM!=null&&gM.addatlistonesubskill?(v(),R("span",REM,"Missing Proficiency")):yM("",!0)])):yM("",!0),gM.skillStatus&&vM.skillStatus?(v(),R("div",{key:1,class:yt([(YM.value,"w-1/2 pt-1 md:px-4 lg:px-4")])},[z("div",BEM,[rM[129]||(rM[129]=z("div",{class:"pl-6"},null,-1)),z("div",null,[z("ol",HEM,[(v(!0),R(WM,null,et(FM.value.slice(0,4),Ct=>(v(),R("li",{key:Ct.ID+Math.random()*1e3,class:"flex w-full items-center after:inline-block after:w-full after:content-['']"},[Ct.ID===vM.proficiencyId&&Ct.ID===vM.idealProficiencyId?(v(),R("span",{key:0,id:`skills-radio-${vM.skill_id}-${Ct.ID}`,class:"-border-gray-1 flex h-5 w-5 shrink-0 items-center justify-center overflow-hidden rounded text-white",onClick:eL=>Rt("profSkillarray",vM.skill_id,Ct.ID)},[rM[125]||(rM[125]=z("span",{class:"-bg-aqua span-a2 flex"},null,-1)),z("span",FEM,aM(Ct.Slug),1),rM[126]||(rM[126]=z("span",{class:"-bg-blue span-b2 flex"},null,-1))],8,ZEM)):(v(),R("span",{key:1,id:`skills-radio-${vM.skill_id}-${Ct.ID}`,class:yt([Ct.ID===vM.proficiencyId?"-bg-aqua -border-gray-1 relative flex h-5 w-5 shrink-0 items-center justify-center rounded text-white":Ct.ID===vM.idealProficiencyId?"-bg-blue -border-gray-1 relative flex h-5 w-5 shrink-0 items-center justify-center rounded text-white":"-bg-white -border-gray-1 relative flex h-5 w-5 shrink-0 items-center justify-center rounded text-gray-700"]),onClick:eL=>Rt("profSkillarray",vM.skill_id,Ct.ID)},[z("span",GEM,aM(Ct.Slug),1)],10,XEM))]))),128))])]),vM.is_mandatory?(v(),R("div",WEM,rM[127]||(rM[127]=[z("svg",{xmlns:"http://www.w3.org/2000/svg",class:"h4bi bi-trash w-4 opacity-40",fill:"gray",viewBox:"0 0 16 16"},[z("path",{d:"M5.5 5.5A.5.5 0 0 1 6 6v6a.5.5 0 0 1-1 0V6a.5.5 0 0 1 .5-.5zm2.5 0a.5.5 0 0 1 .5.5v6a.5.5 0 0 1-1 0V6a.5.5 0 0 1 .5-.5zm3 .5a.5.5 0 0 0-1 0v6a.5.5 0 0 0 1 0V6z"}),z("path",{"fill-rule":"evenodd",d:"M14.5 3a1 1 0 0 1-1 1H13v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V4h-.5a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1H6a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1h3.5a1 1 0 0 1 1 1v1zM4.118 4 4 4.059V13a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1V4.059L11.882 4H4.118zM2.5 3V2h11v1h-11z"})],-1)]))):(v(),R("div",{key:1,id:"remove-sub-skill-"+(vM==null?void 0:vM.skill_id),class:"pl-4",onClick:Ct=>gL("profSkillarray",vM==null?void 0:vM.skill_id,gM==null?void 0:gM.skill_id,(vM==null?void 0:vM.tags)&&(vM==null?void 0:vM.tags[0])==="CORE")},rM[128]||(rM[128]=[z("svg",{xmlns:"http://www.w3.org/2000/svg",class:"h4 pointer bi bi-trash w-4",fill:"gray",viewBox:"0 0 16 16"},[z("path",{d:"M5.5 5.5A.5.5 0 0 1 6 6v6a.5.5 0 0 1-1 0V6a.5.5 0 0 1 .5-.5zm2.5 0a.5.5 0 0 1 .5.5v6a.5.5 0 0 1-1 0V6a.5.5 0 0 1 .5-.5zm3 .5a.5.5 0 0 0-1 0v6a.5.5 0 0 0 1 0V6z"}),z("path",{"fill-rule":"evenodd",d:"M14.5 3a1 1 0 0 1-1 1H13v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V4h-.5a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1H6a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1h3.5a1 1 0 0 1 1 1v1zM4.118 4 4 4.059V13a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1V4.059L11.882 4H4.118zM2.5 3V2h11v1h-11z"})],-1)]),8,VEM))])],2)):yM("",!0),YM.value?(v(),R("div",{key:2,id:"mangerreview",class:yt([[YM.value?"hidden lg:block":""],"w-1/3 px-2 pt-1 md:w-1/4 md:px-4 lg:w-1/4 lg:px-4"])},null,2)):yM("",!0),rM[130]||(rM[130]=z("div",{class:"w-1/3 pt-1 text-xs"},null,-1))]))),128))])):yM("",!0),gM!=null&&gM.subskill&&(gM==null?void 0:gM.subskill.length)>3?(v(),R("div",JEM,[z("div",qEM,[z("button",{class:"-text-aqua inline-block",onClick:vM=>VM("profSkillarray",gM)},"Click to view subskills ...",8,KEM)])])):yM("",!0)])):yM("",!0)]))),128)),Z.value<=3&&d.value.length>3?(v(),R("tr",_EM,[z("td",$EM,[z("button",{class:"-text-aqua inline-block",onClick:rM[23]||(rM[23]=gM=>lM("profSkillarray",d.value.length))},"View more ...")])])):yM("",!0),Z.value>3?(v(),R("tr",MlM,[z("td",tlM,[z("button",{class:"-text-aqua inline-block",onClick:rM[24]||(rM[24]=gM=>Z.value=3)},"View less ...")])])):yM("",!0)])])):yM("",!0)])):(v(),R("div",LlM,"No skills found"))])])])])]),rM[131]||(rM[131]=z("div",{id:"skilluploadidmyplan"},null,-1)),D.value&&!nM.value||r.value&&!nM.value?(v(),R("div",jlM,[z("div",ulM,[eM.value===!0?(v(),R("div",AlM,[iM.value?yM("",!0):(v(),R("button",{key:0,class:"-border-blue-1 -bg-blue mr-2 inline-block px-4 py-1.5 text-sm text-white",onClick:rM[25]||(rM[25]=gM=>(It(),_M()))},"Submit")),iM.value?(v(),R("button",{key:1,class:"-border-blue-1 -bg-blue mr-2 inline-block px-4 py-1.5 text-sm text-white",onClick:rM[26]||(rM[26]=gM=>(GM(),_M()))},"Submit")):yM("",!0)])):(v(),R("div",NlM,[z("button",{class:"mt-1 inline-block cursor-pointer bg-genpact-darkest-teal px-4 py-1.5 text-sm text-white",onClick:rM[27]||(rM[27]=gM=>(_M(),w.value=!0,D.value=!1,r.value=!1))},"Add more skills"),iM.value?yM("",!0):(v(),R("button",{key:0,class:"-border-blue-1 -bg-blue ml-2 inline-block px-4 py-1.5 text-sm text-white",onClick:rM[28]||(rM[28]=gM=>(It(),_M()))},"Generate my learning plan")),iM.value?(v(),R("button",{key:1,class:"-border-blue-1 -bg-blue ml-2 inline-block px-4 py-1.5 text-sm text-white",onClick:rM[29]||(rM[29]=gM=>(pt(),_M()))},"Generate my learning plan")):yM("",!0)]))])])):yM("",!0),w.value&&!r.value?(v(),qt(VcM,{key:1,profileskilllist:{profileParseddataMatchedskill:Y.value},onCloseUploademit:rM[30]||(rM[30]=gM=>r.value=gM),onLoadervalueemit:rM[31]||(rM[31]=gM=>E.value=gM),onFinalSkilluploademit:rM[32]||(rM[32]=gM=>hM.$emit("finalAddedMoreskill",gM)),class:"mt-4"},null,8,["profileskilllist"])):yM("",!0)]),nM.value?(v(),R("div",elM,[z("div",ilM,[z("div",SlM,[rM[134]||(rM[134]=z("div",null,[PM(" Your skills profile is looking great!"),z("br"),PM(" We have got some role-based suggestions for that extra touch. Add whatever is relevant to you, or just skip it. Up to you! ")],-1)),rM[135]||(rM[135]=z("h1",{class:"text-lg font-bold"},"Suggested skills based on your role",-1)),(v(!0),R(WM,null,et(AM.value,(gM,lt)=>{var vM,NL;return v(),R("div",{class:"profile-row py-2 md:px-4 lg:px-4",key:lt},[gM!=null&&gM.condition&&((vM=gM==null?void 0:gM.skillRecommarray)!=null&&vM.length)?(v(),R("div",ylM,[z("div",rlM,aM(gM==null?void 0:gM.category),1),(NL=gM==null?void 0:gM.skillRecommarray)!=null&&NL.length?(v(),R("div",nlM,[(v(!0),R(WM,null,et(gM==null?void 0:gM.skillRecommarray,(Ct,eL)=>(v(),R("div",{class:"",key:eL},[z("span",{onClick:KL=>ut(Ct,gM==null?void 0:gM.skillRecommarray),class:yt([[Ct!=null&&Ct.addedinarray?"bg-teal-300":""],"mx-1 mt-1 flex cursor-pointer items-center rounded-md border px-4 py-1.5 text-sm"])},[PM(aM(Ct==null?void 0:Ct.skill)+" ",1),Ct!=null&&Ct.addedinarray?(v(),R("svg",{key:0,onClick:KL=>ut(Ct,gM==null?void 0:gM.skillRecommarray),class:"ml-2 h-3 w-3 text-gray-800 dark:text-white","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",fill:"#000000",viewBox:"0 0 18 2"},rM[132]||(rM[132]=[z("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M1 1h16"},null,-1)]),8,slM)):yM("",!0),Ct!=null&&Ct.addedinarray?yM("",!0):(v(),R("svg",TlM,rM[133]||(rM[133]=[z("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M9 1v16M1 9h16"},null,-1)])))],10,DlM)]))),128))])):yM("",!0)])):yM("",!0)])}),128))])])])):yM("",!0),nM.value?(v(),R("div",zlM,[z("div",IlM,[z("button",{disabled:!_.value.length,onClick:rM[33]||(rM[33]=gM=>(tt(),_M())),class:yt([[_.value.length?"-bg-blue":"bg-gray-400"],"ml-2 inline-block rounded-md px-4 py-1.5 text-sm text-white"])}," Add ",10,clM)]),z("div",alM,[z("button",{onClick:rM[34]||(rM[34]=gM=>{nM.value=!1,iM.value=!0,_M()}),class:"-bg-blue ml-2 inline-block rounded-md px-4 py-1.5 text-sm text-white"},"Skip")])])):yM("",!0),kM.value?(v(),R("div",glM,[z("div",olM,[z("div",xlM,[rM[137]||(rM[137]=z("div",{class:"flex items-center py-2 text-center"},[z("div",{class:"h-3 w-10 bg-[#FFAB28]"}),z("div",{class:"ml-3 text-2xl font-bold text-genome-v6"},"Manager Recommendation")],-1)),z("div",{class:"pointer z-30 p-2 text-right",onClick:rM[35]||(rM[35]=gM=>kM.value=!1)},rM[136]||(rM[136]=[z("img",{class:"",src:CL,alt:"Close"},null,-1)]))]),z("div",ElM,[z("div",null,aM((Zt=TM(t).manager_assessmentArray)==null?void 0:Zt.comments),1)])])])):yM("",!0)])),CM.value?(v(),R("section",llM,[z("div",OlM,[z("div",dlM,[rM[138]||(rM[138]=z("div",{class:"flex justify-between"},[z("div",{class:"flex items-center py-2 text-center"},[z("div",{class:"h-3 w-10 bg-[#FFAB28]"}),z("div",{class:"ml-3 text-2xl font-bold text-genome-v6"},"Please select at least one subskill for each skill before submitting")])],-1)),z("div",wlM,[z("div",flM,[dt(SaM,{onCloseemit:rM[36]||(rM[36]=gM=>CM.value=gM),onHassubskillemit:rM[37]||(rM[37]=gM=>hM.$emit("finalAddedMoreskill",!0)),initSkillupload:!0,subSkilllist:{hasSubskillArray:oM.value}},null,8,["subSkilllist"])])])])])])):yM("",!0),C.value?(v(),qt(mu,{key:3,showdiscription:!0,name:"showdiscription",discriptioValue:{descriptionPopupvalue:h.value},onConsetvalueemit:rM[38]||(rM[38]=gM=>C.value=gM)},null,8,["discriptioValue"])):yM("",!0),N.value?(v(),qt(mu,{key:4,name:"finalPopup",onConsetvalueemit:rM[39]||(rM[39]=gM=>N.value=gM)})):yM("",!0),S.value?(v(),qt(mu,{key:5,name:"feedbackPopup",onConsetvalueemit:rM[40]||(rM[40]=gM=>(S.value=gM,N.value=!0))})):yM("",!0),y.value?(v(),qt(mu,{key:6,name:"atlistoneskill",onConsetvalueemit:rM[41]||(rM[41]=gM=>y.value=gM)})):yM("",!0),u.value?(v(),qt(mu,{key:7,text:j.value,name:"coreskillerror",onRemoveskillemit:rM[42]||(rM[42]=gM=>xt(k.value,m.value)),onConsetvalueemit:rM[43]||(rM[43]=gM=>(u.value=gM,eM.value=gM))},null,8,["text"])):yM("",!0),A.value?(v(),qt(mu,{key:8,name:"removesubskill",text:j.value,onRemoveskillemit:rM[44]||(rM[44]=gM=>DL(p.value,U.value,Q.value)),onConsetvalueemit:rM[45]||(rM[45]=gM=>(A.value=gM,eM.value=gM))},null,8,["text"])):yM("",!0),LM.value?(v(),qt(yY,{key:9,"array-of":NM.value,skillload:i.value,"skill-data":$.value,name:"skillselection",onSavecheckemit:rM[46]||(rM[46]=gM=>eM.value=gM),onConsetvalueemit:rM[47]||(rM[47]=gM=>(LM.value=gM,i.value=gM))},null,8,["array-of","skillload","skill-data"])):yM("",!0),n.value?(v(),qt(mI,{key:10,onConsetvalueemit:rM[48]||(rM[48]=gM=>n.value=gM)})):yM("",!0)],64)}}}),yCt="",QlM=jL(ClM,[["__scopeId","data-v-3355746a"]]),rCt="",UlM={key:0,class:"flex w-full justify-center"},hlM={key:1,class:"relative w-full px-5 py-2"},YlM={class:"flex flex-col lg:px-16"},vlM={class:"my-2 lg:mt-4"},klM={class:"relative"},plM={class:"select-searchwidth relative"},mlM={class:"relative"},blM={class:"header-lockedfunction"},PlM={key:0,class:"absolute z-20 max-h-40 w-1/2 overflow-scroll border bg-[#D9D9D9] p-1"},RlM=["onClick"],BlM={class:"my-2 mt-5 flex items-end lg:my-1 px-0"},HlM={class:"relative w-full text-left"},ZlM={class:"select-searchwidth relative"},FlM={class:"relative"},XlM={class:"header-lockedrole"},GlM=["disabled"],WlM={class:"text-red-500"},VlM={key:0,class:"absolute z-20 max-h-40 w-1/2 overflow-scroll border bg-[#D9D9D9] p-1"},JlM=["onClick"],qlM={key:0,class:"pt-1"},nY=kt({__name:"Function&RoleComponent",emits:["skillmatchemit"],setup(L,{emit:M}){var C,h,Y,k;Tu();const t=M,j=IL(),u=V(!1),A=V(!1),N=V(!1),e=V(!1),i=V();V(!1);const S=V("function"),y=V((C=j.functionObject)==null?void 0:C.id),r=V((h=j.roleObject)==null?void 0:h.id),n=V((Y=j.functionObject)==null?void 0:Y.name),D=V((k=j.roleObject)==null?void 0:k.name),s=V(),I=V();oL(async()=>{var p,m,U,Q;document.addEventListener("click",T),document.addEventListener("click",c),await j.employeeSkillfunction((p=j.employeedetailsarray)==null?void 0:p.employeeId,"function"),s.value=await j.employeeSkillarray,I.value=await((Q=(U=(m=s.value)==null?void 0:m.Master)==null?void 0:U.find(w=>(w==null?void 0:w.listName)==="function"))==null?void 0:Q.SkillList)});const T=p=>{const m=document.querySelector(".header-lockedfunction");m&&!m.contains(p.target.parentNode)&&(u.value=!1)},c=p=>{const m=document.querySelector(".header-lockedrole");m&&!m.contains(p.target.parentNode)&&(A.value=!1)};UA(()=>{document.removeEventListener("click",T),document.removeEventListener("click",c)});const a=SL(()=>{var m,U,Q;let p=(Q=(U=(m=s.value)==null?void 0:m.Master)==null?void 0:U.find(w=>(w==null?void 0:w.listName)==="function"))==null?void 0:Q.SkillList;return n.value!==""&&(p=p==null?void 0:p.filter(w=>{var x,O,l,d;return(d=(O=(x=w==null?void 0:w.Skill)==null?void 0:x.Keywords)==null?void 0:O.Title)==null?void 0:d.toLowerCase().includes((l=n==null?void 0:n.value)==null?void 0:l.toLowerCase())})),p}),g=SL(()=>{var m,U,Q,w;let p=(w=(Q=(U=(m=s.value)==null?void 0:m.Master)==null?void 0:U.find(x=>x.listName===`${S.value}`))==null?void 0:Q.SkillList.filter(x=>x.skillId&&y.value===x.skillId)[0])==null?void 0:w.SubSkill;return D.value!==""&&(p=p==null?void 0:p.filter(x=>{var O,l,d,b;return(b=(l=(O=x==null?void 0:x.Skill)==null?void 0:O.Keywords)==null?void 0:l.Title)==null?void 0:b.toLowerCase().includes((d=D==null?void 0:D.value)==null?void 0:d.toLowerCase())})),p}),o=async p=>{n.value="",D.value="",N.value=!0},E=async p=>{D.value="",N.value=!0},f=async()=>{var p,m,U,Q,w;try{if(y.value&&r.value){e.value=!0;const x={function_id:y.value,role_id:r.value},{data:O}=await HL("delphi/v2/myprofile/functionrole",x);((p=O==null?void 0:O.role_function)==null?void 0:p.length)!==0&&(await j.ProfileV6function(),j.componentCheckv6==="functionandrole"?(j.componentCheckv6="Myprofile",e.value=!1):(t("skillmatchemit",!0),e.value=!1))}else i.value="Please Select valid Function and Role",(m=j.functionObject)!=null&&m.name?n.value=(U=j.functionObject)==null?void 0:U.name:n.value="",(Q=j.roleObject)!=null&&Q.name?D.value=(w=j.roleObject)==null?void 0:w.name:D.value="",setTimeout(()=>{i.value=null},6e3)}catch{e.value=!1}};return(p,m)=>{var U;return e.value?(v(),R("div",UlM,m[6]||(m[6]=[z("img",{class:"w-24",src:nj,alt:"Loader Gif"},null,-1)]))):(v(),R("div",hlM,[z("div",YlM,[m[11]||(m[11]=z("div",{class:"text-lg"},"Choose your function and role. Can’t find an exact match, choose what’s closest to your current role",-1)),z("div",vlM,[z("div",klM,[m[8]||(m[8]=z("label",{class:"input-label letter-spacing-05 mb-1 ml-1 block font-bold text-genpact-darkest-blue",for:"functions-select-0"},"Function",-1)),z("div",plM,[z("div",mlM,[z("div",blM,[Yt(z("input",{onClick:m[0]||(m[0]=Q=>{u.value=!u.value,o(n.value)}),"onUpdate:modelValue":m[1]||(m[1]=Q=>n.value=Q),type:"text",placeholder:"Select or Search Function",class:"border-dark-gray-500 w-full truncate rounded border p-1 pr-12 text-genpact-darkest-blue focus:outline-none"},null,512),[[Lj,n.value]]),m[7]||(m[7]=Pj('<div class="pin-y pin-r pointer-events-none absolute inset-y-0 right-0 mr-5 flex px-2 pt-2 text-sm text-gray-600" style="font-size:16px;"><svg class="mr-2 h-4 w-4 text-gray-500 dark:text-gray-400" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 20 20"><path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="m19 19-4-4m0-7A7 7 0 1 1 1 8a7 7 0 0 1 14 0Z"></path></svg></div><div class="pin-y pin-r pointer-events-none absolute inset-y-0 right-0 flex items-center px-2 text-sm text-gray-600" style="font-size:16px;"><svg class="mr-2 h-4 w-4 text-gray-500 dark:text-gray-400" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" fill="#000000" height="25px" width="25px" version="1.1" id="Layer_1" viewBox="0 0 512 512" xml:space="preserve"><g><g><path d="M505.752,123.582c-8.331-8.331-21.839-8.331-30.17,0L256,343.163L36.418,123.582c-8.331-8.331-21.839-8.331-30.17,0 s-8.331,21.839,0,30.17l234.667,234.667c8.331,8.331,21.839,8.331,30.17,0l234.667-234.667 C514.083,145.42,514.083,131.913,505.752,123.582z"></path></g></g></svg></div>',2))])]),u.value?(v(),R("div",PlM,[(U=a.value)!=null&&U.length?(v(!0),R(WM,{key:0},et(a.value,(Q,w)=>{var x,O;return v(),R("div",{class:"cursor-pointer pl-1 hover:bg-gray-100",key:w},[z("div",{onClick:l=>{var d,b;y.value=Q.skillId,n.value=(b=(d=Q==null?void 0:Q.Skill)==null?void 0:d.Keywords)==null?void 0:b.Title,u.value=!1}},aM((O=(x=Q==null?void 0:Q.Skill)==null?void 0:x.Keywords)==null?void 0:O.Title),9,RlM)])}),128)):yM("",!0)])):yM("",!0)])])]),z("div",BlM,[z("div",HlM,[m[10]||(m[10]=z("label",{class:"input-label letter-spacing-05 mb-1 ml-1 block font-bold text-genpact-darkest-blue",for:"current-role-select-0"},"Current Role ",-1)),z("div",ZlM,[z("div",FlM,[z("div",XlM,[Yt(z("input",{disabled:n.value==="",class:yt([[n.value===""?"cursor-not-allowed":""],"border-dark-gray-500 w-full truncate rounded border p-1 pr-12 text-genpact-darkest-blue focus:outline-none"]),onClick:m[2]||(m[2]=Q=>{A.value=!A.value,E(D.value)}),"onUpdate:modelValue":m[3]||(m[3]=Q=>D.value=Q),type:"text",placeholder:"Select or Search Role"},null,10,GlM),[[Lj,D.value]]),m[9]||(m[9]=Pj('<div class="pin-y pin-r pointer-events-none absolute inset-y-0 right-0 mr-5 flex px-2 pt-2 text-sm text-gray-600" style="font-size:16px;"><svg class="mr-2 h-4 w-4 text-gray-500 dark:text-gray-400" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 20 20"><path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="m19 19-4-4m0-7A7 7 0 1 1 1 8a7 7 0 0 1 14 0Z"></path></svg></div><div class="pin-y pin-r pointer-events-none absolute inset-y-0 right-0 flex items-center px-2 text-sm text-gray-600" style="font-size:16px;"><svg class="mr-2 h-4 w-4 text-gray-500 dark:text-gray-400" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" fill="#000000" height="25px" width="25px" version="1.1" id="Layer_1" viewBox="0 0 512 512" xml:space="preserve"><g><g><path d="M505.752,123.582c-8.331-8.331-21.839-8.331-30.17,0L256,343.163L36.418,123.582c-8.331-8.331-21.839-8.331-30.17,0 s-8.331,21.839,0,30.17l234.667,234.667c8.331,8.331,21.839,8.331,30.17,0l234.667-234.667 C514.083,145.42,514.083,131.913,505.752,123.582z"></path></g></g></svg></div>',2))])]),z("p",WlM,aM(i.value),1),A.value?(v(),R("div",VlM,[(v(!0),R(WM,null,et(g.value,(Q,w)=>{var x,O;return v(),R("div",{class:"cursor-pointer pl-1 hover:bg-gray-100",key:w},[z("div",{onClick:l=>{var d,b;r.value=Q.skillId,D.value=(b=(d=Q==null?void 0:Q.Skill)==null?void 0:d.Keywords)==null?void 0:b.Title,A.value=!1}},aM((O=(x=Q==null?void 0:Q.Skill)==null?void 0:x.Keywords)==null?void 0:O.Title),9,JlM)])}),128))])):yM("",!0)])])]),N.value&&D.value!==""?(v(),R("div",qlM,[z("button",{onClick:m[4]||(m[4]=Q=>f()),class:"-bg-blue mr-2 inline-block rounded px-4 py-1.5 text-sm text-white"},"Submit"),z("button",{onClick:m[5]||(m[5]=Q=>{var w,x;N.value=!1,n.value=(w=TM(j).functionObject)==null?void 0:w.name,D.value=(x=TM(j).roleObject)==null?void 0:x.name}),class:"-bg-blue inline-block rounded px-4 py-1.5 text-sm text-white"},"Cancel")])):yM("",!0)])]))}}}),KlM={class:"relative m-1 border text-genome-v6 md:mx-16 lg:mx-16"},_lM={class:"flex justify-between"},$lM={class:"flex items-center py-2 text-center"},MOM={class:"ml-3 items-end text-2xl font-bold text-genome-v6 lg:flex"},tOM={key:0,class:"mb-1.5 ml-1 text-xs"},LOM={class:"h-[35rem] overflow-scroll px-1 md:mx-auto md:w-11/12 lg:mx-auto lg:w-11/12"},jOM={key:0,class:"row bot-text-left relative mb-1"},uOM={key:1,class:"mb-12 mt-2"},AOM={class:"-text-blue profileStart closePopup py-4 md:px-4 lg:px-4"},NOM={class:"ml-8 flex justify-between"},eOM={class:"font-bold"},iOM={key:0,class:"text-lg"},SOM={class:"text-lg"},yOM={key:0},rOM={class:"text-lg"},nOM={key:0},DOM=kt({__name:"Myprofile",setup(L){const M=IL(),t=V(),j=V(0),u=V(!1),A=V(!1);V(!1),oL(async()=>{var e,i,S,y,r,n;(((i=(e=M.initArray)==null?void 0:e.ofconEntry)==null?void 0:i.Job_Family_Group)==="Technology Solutions and Services"||((y=(S=M.initArray)==null?void 0:S.ofconEntry)==null?void 0:y.Job_Family_Group)==="Data & Analytics"||((n=(r=M.initArray)==null?void 0:r.ofconEntry)==null?void 0:n.Job_Family_Group)==="Data and Analytics")&&await M.ProfileV6function(),N(),M.profileStatus==="plan_generated"&&(u.value=!0)});const N=()=>{j.value+=1};return(e,i)=>{var S,y,r,n,D,s,I,T,c,a,g;return v(),R("section",KlM,[z("div",_lM,[z("div",$lM,[i[6]||(i[6]=z("div",{class:"h-2 w-10 bg-[#FF555F]"},null,-1)),z("div",MOM,[i[5]||(i[5]=z("div",{class:"text-left"},"My Profile",-1)),TM(M).profileUpadtedate?(v(),R("div",tOM,"(Last updated on "+aM(TM(M).profileUpadtedate?TM(Et)(TM(M).profileUpadtedate).format("MMM Do YYYY, h:mm a"):"")+")",1)):yM("",!0)])]),z("div",{class:"pointer z-30 p-2 text-right",onClick:i[0]||(i[0]=o=>TM(M).componentCheckv6="selection")},i[7]||(i[7]=[z("img",{class:"",src:CL,alt:"Close"},null,-1)]))]),z("div",LOM,[!A.value&&!u.value&&((y=(S=TM(M).initArray)==null?void 0:S.ofconEntry)==null?void 0:y.Job_Family_Group)!=="Technology Solutions and Services"||((n=(r=TM(M).initArray)==null?void 0:r.ofconEntry)==null?void 0:n.Job_Family_Group)!=="Data & Analytics"||((s=(D=TM(M).initArray)==null?void 0:D.ofconEntry)==null?void 0:s.Job_Family_Group)!=="Data and Analytics"?(v(),R("div",jOM,[dt(nY,{onSkillmatchemit:i[1]||(i[1]=o=>A.value=o)})])):yM("",!0),A.value&&!u.value?(v(),R("div",uOM,[z("div",AOM,[z("div",NOM,[z("div",eOM,[TM(M).userName?(v(),R("div",iOM,"Name: "+aM(TM(M).userName),1)):yM("",!0),z("div",SOM,[(I=TM(M).roleObject)!=null&&I.name?(v(),R("span",yOM,"Role : "+aM(((T=TM(M).roleObject)==null?void 0:T.name)==="Do Not Select this Role"?"Information awaited by HR":(c=TM(M).roleObject)==null?void 0:c.name),1)):yM("",!0)]),z("div",rOM,[(a=TM(M).functionObject)!=null&&a.name?(v(),R("span",nOM,"Function : "+aM((g=TM(M).functionObject)==null?void 0:g.name),1)):yM("",!0)])])]),dt(hIM,{onFinalSkilluploademit:i[2]||(i[2]=o=>N()),onCloseUploademit:i[3]||(i[3]=o=>u.value=o)})])])):yM("",!0),u.value?(v(),qt(QlM,{key:j.value,onFinalAddedMoreskill:i[4]||(i[4]=o=>N()),updateMyprofile:t.value},null,8,["updateMyprofile"])):yM("",!0)])])}}}),DY="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNC4yNjQiIGhlaWdodD0iMjIuMDA0IiB2aWV3Qm94PSIwIDAgMjQuMjY0IDIyLjAwNCI+CiAgPGcgaWQ9Ikdyb3VwXzI4MzAiIGRhdGEtbmFtZT0iR3JvdXAgMjgzMCIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTQzMi41MTIgLTE4My41MjQpIj4KICAgIDxwYXRoIGlkPSJQYXRoXzcwNjEiIGRhdGEtbmFtZT0iUGF0aCA3MDYxIiBkPSJNLTE5MTguODksNTMwLjQyNWwuNDk0LjM3Nyw1LjU1MSw0Ljc0MSwyLjIzMS00Ljc0MS03LjAxMi0uMzc3LDIuNjgsMS41MzFaIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgyMzY2LjQ5OCAtMzM0LjAxNCkiIGZpbGw9IiMyOTRlNzgiIHN0cm9rZT0iIzI5NGU3OCIgc3Ryb2tlLXdpZHRoPSIxIi8+CiAgICA8ZyBpZD0iR3JvdXBfMjc5OSIgZGF0YS1uYW1lPSJHcm91cCAyNzk5IiB0cmFuc2Zvcm09InRyYW5zbGF0ZSg0MzIuNTEyIDE4My41MjQpIj4KICAgICAgPHBhdGggaWQ9IlBhdGhfNzA2MCIgZGF0YS1uYW1lPSJQYXRoIDcwNjAiIGQ9Ik0tMTkyMC4wNDUsNTIxLjI1OHY4LjQ3Nmw4LjQxMS0uMjU5LTEuODEyLTQuMjctMi43MDktMi41NTJaIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgxOTMzLjYzOCAtNTIwLjMwMikiIGZpbGw9IiMyOTRlNzgiIHN0cm9rZT0iIzJhNGU3OCIgc3Ryb2tlLXdpZHRoPSIxIi8+CiAgICAgIDxnIGlkPSJHcm91cF8yNzk4IiBkYXRhLW5hbWU9Ikdyb3VwIDI3OTgiPgogICAgICAgIDxnIGlkPSJub3VuX0RhdGFfMzA4OTY5OCIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMCkiPgogICAgICAgICAgPHBhdGggaWQ9IlBhdGhfNzA1NSIgZGF0YS1uYW1lPSJQYXRoIDcwNTUiIGQ9Ik0zNi41NzcsNDMuMjE0YS40Ny40NywwLDAsMC0uMTQxLS4zMzJsLTYuNTczLTYuNDUyVjI3LjIyYS40NzEuNDcxLDAsMCwwLS40NzEtLjQ3MSw5Ljg3OSw5Ljg3OSwwLDEsMCw3LjA1LDE2LjguNDcuNDcsMCwwLDAsLjEzNS0uMzM0Wm0tNy4xODUsMi4zNTJBOC45MzcsOC45MzcsMCwwLDEsMjguOTIxLDI3Ljd2OC45MjVhLjQ3LjQ3LDAsMCwwLC4xNDEuMzM2bDYuMzcsNi4yNTJhOC44NjUsOC44NjUsMCwwLDEtNi4wNCwyLjM0OVoiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0xOS41MTIgLTI0LjUwNCkiIGZpbGw9IiMyOTRlNzgiLz4KICAgICAgICAgIDxwYXRoIGlkPSJQYXRoXzcwNTYiIGRhdGEtbmFtZT0iUGF0aCA3MDU2IiBkPSJNNTkuNDczLDMxLjA3NWEuNDcxLjQ3MSwwLDAsMCwuNDcxLS40NzEsOS44MjksOS44MjksMCwwLDAtOS44MTgtOS44MTguNDcxLjQ3MSwwLDAsMC0uNDcxLjQ3MVYzMC42YS40NzEuNDcxLDAsMCwwLC40NzEuNDcxWk01MC42LDIxLjczOWE4Ljg5LDguODksMCwwLDEsOC4zOTQsOC4zOTRINTAuNloiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0zNy4wMDEgLTIwLjc4NikiIGZpbGw9IiMyOTRlNzgiLz4KICAgICAgICAgIDxwYXRoIGlkPSJQYXRoXzcwNTciIGRhdGEtbmFtZT0iUGF0aCA3MDU3IiBkPSJNNTkuMjcyLDU5LjdhLjQ3LjQ3LDAsMCwwLC4zMTYtLjEyMkE5LjAxNCw5LjAxNCwwLDAsMCw2Mi41NDYsNTIuOWEuNDcxLjQ3MSwwLDAsMC0uNDcxLS40NzFoLTkuOWEuNDcxLjQ3MSwwLDAsMC0uMzEzLjgyMmw3LjA5MSw2LjMyQS40NjkuNDY5LDAsMCwwLDU5LjI3Miw1OS43Wm0yLjMyLTYuMzJhOC4wNzUsOC4wNzUsMCwwLDEtMi4zMyw1LjIwOWwtNS44NDUtNS4yMDlaIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtMzguMjgzIC00MC41MTUpIiBmaWxsPSIjMjk0ZTc4Ii8+CiAgICAgICAgPC9nPgogICAgICAgIDxwYXRoIGlkPSJQYXRoXzcwNjIiIGRhdGEtbmFtZT0iUGF0aCA3MDYyIiBkPSJNLTE5MjAuNzQ1LDUyMi44MDdWNTMybC41LjY4OCw2LjMxMSw2LjItMS41MzEuODgxLTUuNzgxLDEuMTg3LTMuNi0xLjY4NS0yLjYtMi45ODYtMS40MTctNC4wMi44NDItMy42NzUsMi4zMzUtMy4yMTYsNC43NDctMi4yMjEiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDE5MjkuNjc3IC01MTkuODM1KSIgZmlsbD0iIzJhNGU3OCIgc3Ryb2tlPSIjMjk0ZTc4IiBzdHJva2Utd2lkdGg9IjEiLz4KICAgICAgPC9nPgogICAgPC9nPgogIDwvZz4KPC9zdmc+Cg==",FD="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzMy43MjkiIGhlaWdodD0iMTguMDQxIiB2aWV3Qm94PSIwIDAgMzMuNzI5IDE4LjA0MSI+CiAgPGcgaWQ9Ikdyb3VwXzI4MjYiIGRhdGEtbmFtZT0iR3JvdXAgMjgyNiIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTY1NyAtMjExLjE2NSkiPgogICAgPGcgaWQ9Ikdyb3VwXzI4MjciIGRhdGEtbmFtZT0iR3JvdXAgMjgyNyIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoODAgMjYpIj4KICAgICAgPGcgaWQ9Im5vdW5fd2F2ZXNfMTAzNjM3NiIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoNTc3IDE4NS4xNjUpIj4KICAgICAgICA8ZyBpZD0iR3JvdXBfMjc5NyIgZGF0YS1uYW1lPSJHcm91cCAyNzk3IiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgwIDApIj4KICAgICAgICAgIDxwYXRoIGlkPSJQYXRoXzcwNTgiIGRhdGEtbmFtZT0iUGF0aCA3MDU4IiBkPSJNMjAuNzI3LDI3YTcuMTgxLDcuMTgxLDAsMCwwLTQuNjMzLDEuNTIsOS44NjQsOS44NjQsMCwwLDAtMi42NDcsMy42NjUsMjkuMzM5LDI5LjMzOSwwLDAsMS0yLjE2OSw0LjUyMiwzLjczNSwzLjczNSwwLDAsMS0zLjQ5MywxLjY3OS43ODQuNzg0LDAsMSwwLDAsMS41NjksNS41Niw1LjU2LDAsMCwwLDQuNzU1LTIuMzI5LDI3LjQzNCwyNy40MzQsMCwwLDAsMi4zNDEtNC43OTIsOC40LDguNCwwLDAsMSwyLjIwNi0zLjEsNS40NTcsNS40NTcsMCwwLDEsMy42NC0xLjE2NCwxMy4xMTYsMTMuMTE2LDAsMCwxLDMuMDE1LjQ2Niw1LjQ2LDUuNDYsMCwwLDAtMy4wMTUsNC42MzNBNS41MjEsNS41MjEsMCwwLDAsMjQuODIsMzguOWExNCwxNCwwLDAsMS0xLjkxMiwzLjA1Miw0LjE4MSw0LjE4MSwwLDAsMS0zLjM1OCwxLjUyLjc4NC43ODQsMCwxLDAsMCwxLjU2OSw1LjkyNyw1LjkyNywwLDAsMCw0LjUxLTIuMDM1LDE3LjYyMiwxNy42MjIsMCwwLDAsMi41MTMtNC4wOTQsMTcuMzA2LDE3LjMwNiwwLDAsMSwyLjI0My0zLjczOEE0LjA1MSw0LjA1MSwwLDAsMSwzMi4xLDMzLjY2N2ExMC41LDEwLjUsMCwwLDEsMy41MTcuNjM3LDUuMDU4LDUuMDU4LDAsMCwwLTIuNzMzLDQuNDYxLDUuNTU3LDUuNTU3LDAsMCwwLDEuNjkxLDQuMTA2LDcuNjA2LDcuNjA2LDAsMCwwLDUuMzY4LDEuNzc3Ljc4NC43ODQsMCwxLDAsMC0xLjU2OSw2LjAxNSw2LjAxNSwwLDAsMS00LjI5LTEuMzQ4LDMuOTQxLDMuOTQxLDAsMCwxLTEuMi0yLjk2NiwzLjU5NCwzLjU5NCwwLDAsMSwzLjI3Mi0zLjU0Mi43ODQuNzg0LDAsMCwwLC4zMzEtMS40MDlBMTAuMTU1LDEwLjE1NSwwLDAsMCwzMi4xLDMyLjFhNS44MDksNS44MDksMCwwLDAtNC40NDksMi4wMzQsMTUuMjkyLDE1LjI5MiwwLDAsMC0yLjEyLDMuMzdjLTIuMzk1LS42NDUtMy4yMzYtMi4yMS0zLjIzNi0zLjgzNiwwLTEuNjQxLDEuNDU1LTMuNDY5LDQuMDU3LTMuOTM0YS43ODQuNzg0LDAsMCwwLC4xNDctMS41MDhBMTYuMTg5LDE2LjE4OSwwLDAsMCwyMC43MjcsMjdaIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtNyAtMjcpIiBmaWxsPSIjMjk0ZTc4Ii8+CiAgICAgICAgPC9nPgogICAgICA8L2c+CiAgICAgIDxwYXRoIGlkPSJQYXRoXzcwNjMiIGRhdGEtbmFtZT0iUGF0aCA3MDYzIiBkPSJNLTE3ODIuNTg5LDUzMy43NjVoMy41MTJsMy44NjEtLjI1MywyLjc3NS0uMiw0LjUzOS0uMjUzaC0uNjA4bC0zLjkzMi00LjMyNy40MjctMS44MzMsMS4wODEtMS4zNTUsMS4zODgtMS4wNjMuNTQzLTFoLTMuOTgybC0yLjIzMi40NzItLjkuOTQ1LS43MjQuOTQ1LS45NjUsMS40NzYtLjcyNCwxLjY1My0uNTQzLDEuMDYzWiIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMjM2Mi43ODIgLTMzNi41NzUpIiBmaWxsPSIjMjk0ZTc4IiBzdHJva2U9IiMyOTRlNzgiIHN0cm9rZS13aWR0aD0iMSIvPgogICAgICA8cGF0aCBpZD0iUGF0aF83MDY1IiBkYXRhLW5hbWU9IlBhdGggNzA2NSIgZD0iTS0xNzgyLjU4OSw1MzMuNzY1aDMuNTEybDMuODYxLS4yNTNoOS41MjNsLTMuODUyLS43MzktMS41NTYtNC40NzcuNjM3LTEuNDQxLjUzNi0xLjAxOSwxLjI3NC0xLjEyNi42LTEuMDM5LTQuOTMyLS4yLTIuMjMyLjQ3Mi0uOS45NDUtLjcyNC45NDUtLjk2NSwxLjQ3Ni0uNzI0LDEuNjUzLS41NDMsMS4wNjNaIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgyMzczLjczMSAtMzMxLjQyOSkiIGZpbGw9IiMyOTRlNzgiIHN0cm9rZT0iIzI5NGU3OCIgc3Ryb2tlLXdpZHRoPSIxIi8+CiAgICA8L2c+CiAgPC9nPgo8L3N2Zz4K",sOM="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNC4yNjQiIGhlaWdodD0iMjIuMDA0IiB2aWV3Qm94PSIwIDAgMTA5LjQxOCA3Mi43MDgiPgogIDxnIGlkPSJHcm91cF83MDA1IiBkYXRhLW5hbWU9Ikdyb3VwIDcwMDUiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC01ODY4IC00Mjk3LjkxKSI+CiAgICA8cGF0aCBpZD0iUGF0aF81NTk4IiBkYXRhLW5hbWU9IlBhdGggNTU5OCIgZD0iTS42NjEsMjUuNTg2QTYuNzQ2LDYuNzQ2LDAsMCwwLDEuMDQ1LDMyLjFhNi42MzksNi42MzksMCwwLDAsMy4xNCwyLjZMMTcuODczLDQwLjI1VjU5LjQ5YTMuMjI4LDMuMjI4LDAsMCwwLDEuMDA2LDIuMzQyLDUwLjQyLDUwLjQyLDAsMCwwLDY5LjAwOS4yNmwuMjYtLjI0NGEzLjIzMiwzLjIzMiwwLDAsMCwxLjAyNC0yLjM2VjQwLjA1MWw4LjA0Mi0zLjI1OVY1My4wMTNMODkuOTIzLDY2Ljc3MmEyLjMsMi4zLDAsMCwwLDIuMDM3LDMuMzg1aDE1LjE1YTIuMzA4LDIuMzA4LDAsMCwwLDIuMDM5LTMuMzg2bC03LjMyLTEzLjgxNVYzNC45MjRsLjU0MS0uMjE5aDBhNi42NSw2LjY1LDAsMCwwLDMuMTM2LTIuNTksNi43NjksNi43NjksMCwwLDAsLjAwNy03LjI0NCw2LjY0OSw2LjY0OSwwLDAsMC0zLjEzOC0yLjZMNTUuNzk0LDMuNEE2LjY3Niw2LjY3NiwwLDAsMCw1My4zLDIuOTFhNy43NDksNy43NDksMCwwLDAtMS4zMTEuMTI2LDYuODEyLDYuODEyLDAsMCwwLTEuMjI5LjM2NkwxMS45NDcsMTkuMTMxUzEuMjI1LDIzLjgxNC42NjEsMjUuNTg2TTgyLjcxNyw1OC4wNzJhNDMuOTY5LDQzLjk2OSwwLDAsMS01OC4zODksMFY0Mi44NjdMNTAuNzcsNTMuNTgzYTYuNjUzLDYuNjUzLDAsMCwwLDEuMjM2LjM2Niw2LjY4OSw2LjY4OSwwLDAsMCwzLjc5LS4zNzFMODIuNzE2LDQyLjY3Wm0tMjkuNC0xMC40Nkw1My4xOSw0Ny42LDYuNjA2LDI4LjcyYS4yMDkuMjA5LDAsMCwxLS4xMTgtLjA4Mi4yOS4yOSwwLDAsMS0uMDMzLS4xNDUuMy4zLDAsMCwxLC4wMzYtLjE1MS4yMjkuMjI5LDAsMCwxLC4xMjQtLjA4NGw3LjE5MS0yLjkxNWMuMDE3LS4wMDcuMDM2LS4wMTMuMDUzLS4wMjJMNTMuMTg0LDkuMzg1bC4wOTItLjAxOS4wOTEuMDE3TDk5Ljk0OSwyOC4yNThjLjA5My4wMzcuMTExLjA2OS4xMi4wODRhLjI3OC4yNzgsMCwwLDEsLjAzNC4xNDUuMjkzLjI5MywwLDAsMS0uMDM2LjE1MWMtLjAwOS4wMTUtLjAzMS4wNDktLjEyNC4wODZaTTk1Ljc5Miw2NS41NDhsMy43NDUtNy4wNjMsMy43NDMsNy4wNjNaIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSg1ODY4IDQyOTUpIiBmaWxsPSIjMjk0ZTc4Ii8+CiAgICA8cGF0aCBpZD0iUGF0aF81NjA3IiBkYXRhLW5hbWU9IlBhdGggNTYwNyIgZD0iTTU4NzAuMyw0MzIzLjQwOGw1MS44MjctMjMuMjA2LDUwLjM3NSwyMy44MTktMjAuNjA4LDkuNzY1djIwLjYwOGwtNy42MzIsNy42MzItMTYuMDI4LDQuNThoLTE0LjVsLTEwLjY4Ni00LjU4LTE0LjQzMS03LjYzMlY0MzM0LjQ1WiIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMS4zMDgpIiBmaWxsPSIjMjk0ZTc4Ii8+CiAgICA8cGF0aCBpZD0iUGF0aF81NjA5IiBkYXRhLW5hbWU9IlBhdGggNTYwOSIgZD0iTTU4ODcuNTM4LDQzMjkuMnMzMS41MDcsMTMuNDY3LDMzLjgsMTMuNDY3YzIuNjkzLDAsMzQuMzM5LTEzLjQ2NywzNC4zMzktMTMuNDY3IiBmaWxsPSJub25lIiBzdHJva2U9IiNmZmYiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLXdpZHRoPSIzIi8+CiAgICA8cGF0aCBpZD0iUGF0aF81NjEwIiBkYXRhLW5hbWU9IlBhdGggNTYxMCIgZD0iTTU4ODkuNDU1LDQzNDIuNTI4cy0uMzE5LDkuMTY0LjUwNiwxMS4wNzYsOC41LDYuNzczLDExLjQ0Nyw4LjA0OCIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoNCAtMS4xNDUpIiBmaWxsPSJub25lIiBzdHJva2U9IiNmZmYiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgc3Ryb2tlLXdpZHRoPSIzIi8+CiAgICA8cGF0aCBpZD0iUGF0aF81NjExIiBkYXRhLW5hbWU9IlBhdGggNTYxMSIgZD0iTTU5MDkuNjMsNDM2Mi4xYTcuMTA5LDcuMTA5LDAsMCwwLDQuMjIzLDEuMTE1IiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgzIDEpIiBmaWxsPSJub25lIiBzdHJva2U9IiNmZmYiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLXdpZHRoPSIzIi8+CiAgPC9nPgo8L3N2Zz4K",sY="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzMy43MjkiIGhlaWdodD0iMTguMDQxIiB2aWV3Qm94PSIwIDAgMzMuNzI5IDE4LjA0MSI+CiAgPGcgaWQ9Ikdyb3VwXzI4MjkiIGRhdGEtbmFtZT0iR3JvdXAgMjgyOSIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTc1My40NyAtMTg0LjE1NykiPgogICAgPGcgaWQ9Im5vdW5fR3JhcGhfMTA0OTQ5MiIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoNzUzLjk3IDE4NC42NTcpIj4KICAgICAgPGcgaWQ9Ikdyb3VwXzI3OTYiIGRhdGEtbmFtZT0iR3JvdXAgMjc5NiIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMCAwKSI+CiAgICAgICAgPGxpbmUgaWQ9IkxpbmVfODkiIGRhdGEtbmFtZT0iTGluZSA4OSIgeDE9IjIwLjc4NyIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMCAyMS4zNjQpIiBmaWxsPSJub25lIiBzdHJva2U9IiMyOTRlNzgiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgc3Ryb2tlLXdpZHRoPSIxIi8+CiAgICAgICAgPHJlY3QgaWQ9IlJlY3RhbmdsZV8yNDUyIiBkYXRhLW5hbWU9IlJlY3RhbmdsZSAyNDUyIiB3aWR0aD0iNC42MTgiIGhlaWdodD0iMTEuNTQ2IiB0cmFuc2Zvcm09InRyYW5zbGF0ZSg4LjA4NCA1LjE5NSkiIGZpbGw9Im5vbmUiIHN0cm9rZT0iIzI5NGU3OCIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiBzdHJva2Utd2lkdGg9IjEiLz4KICAgICAgICA8cmVjdCBpZD0iUmVjdGFuZ2xlXzI0NTMiIGRhdGEtbmFtZT0iUmVjdGFuZ2xlIDI0NTMiIHdpZHRoPSI0LjYxOCIgaGVpZ2h0PSI2LjkyOSIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMCA5LjgxOCkiIGZpbGw9Im5vbmUiIHN0cm9rZT0iIzI5NGU3OCIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiBzdHJva2Utd2lkdGg9IjEiLz4KICAgICAgICA8cmVjdCBpZD0iUmVjdGFuZ2xlXzI0NTQiIGRhdGEtbmFtZT0iUmVjdGFuZ2xlIDI0NTQiIHdpZHRoPSI0LjYxOCIgaGVpZ2h0PSIxNi43NDciIHRyYW5zZm9ybT0idHJhbnNsYXRlKDE2LjE2OSkiIGZpbGw9Im5vbmUiIHN0cm9rZT0iIzI5NGU3OCIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiBzdHJva2Utd2lkdGg9IjEiLz4KICAgICAgPC9nPgogICAgPC9nPgogICAgPGcgaWQ9IlBhdGhfNzA2NiIgZGF0YS1uYW1lPSJQYXRoIDcwNjYiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDc2OS42NTggMTg1LjEwNCkiIGZpbGw9IiMyOTRlNzgiPgogICAgICA8cGF0aCBkPSJNIDQuODAzMTMwNjI2Njc4NDY3IDE1LjY3ODk1NzkzOTE0Nzk1IEwgMC40MzQ5NDgyNjU1NTI1MjA4IDE1LjY3ODk1NzkzOTE0Nzk1IEwgMC40OTc5Mzg0MjQzNDg4MzEyIDAuNDk5OTk3NTI2NDA3MjQxOCBMIDQuNzE5MDY4NTI3MjIxNjggMC40OTk5OTc1MjY0MDcyNDE4IEwgNC44MDMxMzA2MjY2Nzg0NjcgMTUuNjc4OTU3OTM5MTQ3OTUgWiIgc3Ryb2tlPSJub25lIi8+CiAgICAgIDxwYXRoIGQ9Ik0gMC45OTU4NjIwMDcxNDExMTMzIDAuOTk5OTk3MTM4OTc3MDUwOCBMIDAuOTM3MDIxNzMyMzMwMzIyMyAxNS4xNzg5NTc5MzkxNDc5NSBMIDQuMzAwMzU1OTExMjU0ODgzIDE1LjE3ODk1NzkzOTE0Nzk1IEwgNC4yMjE4MzIyNzUzOTA2MjUgMC45OTk5OTcxMzg5NzcwNTA4IEwgMC45OTU4NjIwMDcxNDExMTMzIDAuOTk5OTk3MTM4OTc3MDUwOCBNIDQuNzY4MzcxNTgyMDMxMjVlLTA2IC0xLjkwNzM0ODYzMjgxMjVlLTA2IEwgNS4yMTYzMDQ3NzkwNTI3MzQgLTEuOTA3MzQ4NjMyODEyNWUtMDYgTCA1LjMwNTkwNDg2NTI2NDg5MyAxNi4xNzg5NTY5ODU0NzM2MyBMIC0wLjA2NzEzNTMzNDAxNDg5MjU4IDE2LjE3ODk1Njk4NTQ3MzYzIEwgNC43NjgzNzE1ODIwMzEyNWUtMDYgLTEuOTA3MzQ4NjMyODEyNWUtMDYgWiIgc3Ryb2tlPSJub25lIiBmaWxsPSIjMjk0ZTc4Ii8+CiAgICA8L2c+CiAgICA8ZyBpZD0iUGF0aF83MDY3IiBkYXRhLW5hbWU9IlBhdGggNzA2NyIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoNzYxLjgzMyAxOTAuMzIxKSIgZmlsbD0iIzI5NGU3OCI+CiAgICAgIDxwYXRoIGQ9Ik0gNC43MTYzMDA0ODc1MTgzMTEgMTAuNDE1MDM5MDYyNSBMIDAuNTAwMDAwNDc2ODM3MTU4MiAxMC40MTUwMzkwNjI1IEwgMC41MDAwMDA0NzY4MzcxNTgyIDAuNDk5OTk5NTIzMTYyODQxOCBMIDQuNzE2MzAwNDg3NTE4MzExIDAuNDk5OTk5NTIzMTYyODQxOCBMIDQuNzE2MzAwNDg3NTE4MzExIDEwLjQxNTAzOTA2MjUgWiIgc3Ryb2tlPSJub25lIi8+CiAgICAgIDxwYXRoIGQ9Ik0gMS4wMDAwMDA0NzY4MzcxNTggMSBMIDEuMDAwMDAwNDc2ODM3MTU4IDkuOTE1MDM5MDYyNSBMIDQuMjE2MzAwNDg3NTE4MzExIDkuOTE1MDM5MDYyNSBMIDQuMjE2MzAwNDg3NTE4MzExIDEgTCAxLjAwMDAwMDQ3NjgzNzE1OCAxIE0gNC43NjgzNzE1ODIwMzEyNWUtMDcgMCBMIDUuMjE2MzAwNDg3NTE4MzExIDAgTCA1LjIxNjMwMDQ4NzUxODMxMSAxMC45MTUwMzkwNjI1IEwgNC43NjgzNzE1ODIwMzEyNWUtMDcgMTAuOTE1MDM5MDYyNSBMIDQuNzY4MzcxNTgyMDMxMjVlLTA3IDAgWiIgc3Ryb2tlPSJub25lIiBmaWxsPSIjMjk0ZTc4Ii8+CiAgICA8L2c+CiAgICA8ZyBpZD0iUmVjdGFuZ2xlXzI0NTciIGRhdGEtbmFtZT0iUmVjdGFuZ2xlIDI0NTciIHRyYW5zZm9ybT0idHJhbnNsYXRlKDc1NC4wMDkgMTk0LjIzMykiIGZpbGw9IiMyOTRlNzgiIHN0cm9rZT0iIzI5NGU3OCIgc3Ryb2tlLXdpZHRoPSIxIj4KICAgICAgPHJlY3Qgd2lkdGg9IjUuMjE2IiBoZWlnaHQ9IjcuODI0IiBzdHJva2U9Im5vbmUiLz4KICAgICAgPHJlY3QgeD0iMC41IiB5PSIwLjUiIHdpZHRoPSI0LjIxNiIgaGVpZ2h0PSI2LjgyNCIgZmlsbD0ibm9uZSIvPgogICAgPC9nPgogIDwvZz4KPC9zdmc+Cg==";function TOM(){return Math.random().toString(16).substring(2)}var Il=kt({props:{diameter:{type:Number,required:!1,default:200},totalSteps:{type:Number,required:!0,default:10},completedSteps:{type:Number,required:!0,default:0},startColor:{type:String,required:!1,default:"#00C58E"},stopColor:{type:String,required:!1,default:"#00E0A1"},innerStrokeColor:{type:String,required:!1,default:"#2F495E"},strokeWidth:{type:Number,required:!1,default:10},innerStrokeWidth:{type:Number,required:!1,default:10},strokeLinecap:{type:String,required:!1,default:"round"},animateSpeed:{type:Number,required:!1,default:1e3},fps:{type:Number,required:!1,default:60},timingFunc:{type:String,required:!1,default:"linear"},isClockwise:{type:Boolean,required:!1,default:!0}},setup(L){const M=Xy({fx:.99,fy:.5,cx:.5,cy:.5,r:.65}),t=`rg-${TOM()}`,j=V(0),u=V(0),A=V(null),N=SL(()=>L.diameter/2),e=SL(()=>L.diameter-L.innerStrokeWidth*2),i=SL(()=>Math.PI*e.value),S=SL(()=>L.totalSteps===0?0:100/L.totalSteps),y=SL(()=>S.value*L.completedSteps),r=SL(()=>2*Math.PI/L.totalSteps),n=SL(()=>100/L.fps),D=SL(()=>L.animateSpeed/n.value),s=SL(()=>r.value/D.value),I=SL(()=>e.value/2),T=SL(()=>({height:`${L.diameter}px`,width:`${L.diameter}px`})),c=SL(()=>({height:`${L.diameter}px`,width:`${L.diameter}px`,strokeWidth:`${L.strokeWidth}px`,strokeDashoffset:j.value,transition:`stroke-dashoffset ${L.animateSpeed}ms ${L.timingFunc}`})),a=SL(()=>({height:`${L.diameter}px`,width:`${L.diameter}px`,strokeWidth:`${L.innerStrokeWidth}px`})),g=SL(()=>({width:`${e.value}px`}));$j(()=>[L.diameter,L.totalSteps,L.completedSteps,L.strokeWidth],C,{immediate:!0});function o(h){const k=.5+.5*Math.cos(h),p=.5+.5*Math.sin(h);return{x:k,y:p}}function E(){const h=o(u.value);h.x&&h.y&&(M.fx=h.x,M.fy=h.y)}function f(){return L.isClockwise?1:-1}function C(){j.value=(100-y.value)/100*i.value*f(),A.value&&clearInterval(A.value);const h=(L.completedSteps-1)*r.value;let Y=(u.value-h)/s.value;const k=Math.abs(Y-D.value)/D.value,p=Y<D.value;A.value=setInterval(()=>{if(p&&Y>=D.value||!p&&Y<D.value){A.value&&clearInterval(A.value);return}u.value=h+s.value*Y,E(),Y+=p?k:-k},n.value)}return{gradientAnimation:A,innerCircleRadius:I,radialGradientId:t,strokeDashoffset:j,innerCircleStyle:g,containerStyle:T,circumference:i,progressStyle:c,currentAngle:u,strokeStyle:a,gradient:M,radius:N}}});const zOM=["width","height"],IOM=["id","fx","fy","cx","cy","r"],cOM=["stop-color"],aOM=["stop-color"],gOM=["r","cx","cy","stroke","stroke-dasharray","stroke-linecap"],oOM=["transform","r","cx","cy","stroke","stroke-dasharray","stroke-dashoffset","stroke-linecap"];function xOM(L,M,t,j,u,A){return v(),R("div",{class:"vrp__wrapper",style:Cj(L.containerStyle)},[z("div",{class:"vrp__inner",style:Cj(L.innerCircleStyle)},[jD(L.$slots,"default")],4),(v(),R("svg",{width:L.diameter,height:L.diameter,version:"1.1",xmlns:"http://www.w3.org/2000/svg"},[z("defs",null,[z("radialGradient",{id:L.radialGradientId,fx:L.gradient.fx,fy:L.gradient.fy,cx:L.gradient.cx,cy:L.gradient.cy,r:L.gradient.r},[z("stop",{offset:"30%","stop-color":L.startColor},null,8,cOM),z("stop",{offset:"100%","stop-color":L.stopColor},null,8,aOM)],8,IOM)]),z("circle",{r:L.innerCircleRadius,cx:L.radius,cy:L.radius,fill:"transparent",stroke:L.innerStrokeColor,"stroke-dasharray":L.circumference,"stroke-dashoffset":"0","stroke-linecap":L.strokeLinecap,style:Cj(L.strokeStyle)},null,12,gOM),z("circle",{transform:"rotate(270, "+L.radius+","+L.radius+")",r:L.innerCircleRadius,cx:L.radius,cy:L.radius,fill:"transparent",stroke:`url('#${L.radialGradientId}')`,"stroke-dasharray":L.circumference,"stroke-dashoffset":L.circumference,"stroke-linecap":L.strokeLinecap,style:Cj(L.progressStyle)},null,12,oOM)],8,zOM))],4)}function EOM(L,M){M===void 0&&(M={});var t=M.insertAt;if(!(!L||typeof document>"u")){var j=document.head||document.getElementsByTagName("head")[0],u=document.createElement("style");u.type="text/css",t==="top"&&j.firstChild?j.insertBefore(u,j.firstChild):j.appendChild(u),u.styleSheet?u.styleSheet.cssText=L:u.appendChild(document.createTextNode(L))}}var lOM=`
|
|
486
486
|
.vrp__wrapper[data-v-6a0cf1f6] {\r
|
|
487
487
|
position: relative;
|
|
488
488
|
}
|