(function(e){function t(t){for(var s,i,r=t[0],c=t[1],l=t[2],u=0,m=[];u0&&(!e.file||e.file&&!e.inDanger)?s("div",{staticClass:"centerDiv covidButtonDiv"},[s("p",{staticClass:"leeme"},[e._v("Debo responder las preguntas con sinceridad e información verdadera para así cuidar la salud de mis compañeros de trabajo, la de mi familia y mía. Se considera grave responder con información falsa.")]),s("p",{staticClass:"leeme2"},[e._v("Este formulario debe ser llenado SOLO con datos verídicos del trabajor. Si desea realizar un formulario de salud para alguna otra persona, por favor utilice el formulario que proporciona el Ministerio de Salud mediante el siguiente link "),s("a",{attrs:{href:"https://www.gob.pe/triaje",target:"_blank"}},[e._v("www.gob.pe/triaje")])]),s("router-link",{attrs:{to:{name:"triage",params:e.$route.params}}},[s("b-button",{staticClass:"covidButton"},[e._v(" He leido y estoy de acuerdo ")])],1)],1):s("div",[e.puntaje>0&&e.file&&e.inDanger?s("div",{staticClass:"centerDiv covidButtonDiv"},[s("p",[e._v("Usted ya completo el formulario el día "+e._s(e.date.toLocaleDateString())+" a la hora "+e._s(e.date.toLocaleTimeString())+" y su resultado fue:")]),s("h1",{staticClass:"warning",domProps:{innerHTML:e._s(e.message)}})]):s("div",[0==e.puntaje&&e.file&&!e.expired?s("div",[s("p",[e._v("Usted ya completo el formulario el día "+e._s(e.date.toLocaleDateString())+" a la hora "+e._s(e.date.toLocaleTimeString())+" y su resultado fue:")]),s("h1",{staticClass:"warning",domProps:{innerHTML:e._s(e.message)}}),e.file?s("p",[s("a",{ref:"link",attrs:{href:e.file,target:"_blank"}},[e._v("Descargar Declaración Jurada")])]):e._e(),s("p",[e._v("Esta declaracion tiene validez 16 horas. Podra volver a realizar una nueva declaracion el día "+e._s(e.endDate.toLocaleDateString())+" a la hora "+e._s(e.endDate.toLocaleTimeString())+".")])]):e._e()])])])])])],1)},N=[],R=(a("4de4"),a("4160"),a("13d5"),a("b680"),a("b64b"),a("4d63"),a("ac1f"),a("25f0"),a("5319"),a("159b"),function(e){var t=JSON.parse(JSON.stringify(e)),a=Object.keys(t),s={},o={},n=0,i=!1,r="";t.p_verdad=!t.p_verdad,t.p_autoriza=!t.p_autoriza,a.filter((function(e){return"p_"===e.substring(0,2)})).forEach((function(e){var a=t[e],n=t[e];Array.isArray(a)||(a=[!0===a,!1],n=[null!==n,!1]),o[e]=n.reduce((function(e,t){return e+(t?1:0)}),0),a.pop(),s[e]=a.reduce((function(e,t){return e+(t?1:0)}),0)}));var c=t.weight/(t.height/100*(t.height/100)),l=0;t.age>=65&&(l+=1),c>40&&(l+=1);var d=s.p_sintomas,u=s.p_contacto_salud+s.p_domicilio_sintomas;return n=l+d+u,l>=1?(i=!0,d+u===0?(r='

¡Quédate en casa!

Presentas factores de riesgo para COVID19. Por ello, \n recomendamos informarle a tu jefatura directa y enviar un mail a: ccolan@qroma.com.pe

',r+='

Se envió un mensaje al correo '+t.email+" con una copia adjunta de la DDJJ.

"):(r='

¡Quédate en casa!

Estás presentando síntomas de infección respiratoria \n y factores de riesgo para COVID19. Por ello, recomendamos buscar atención médica, \n informarle a tu jefatura directa y enviar un mail a: ccolan@qroma.com.pe

',r+='

Se envió un mensaje al correo '+t.email+" con una copia adjunta de la DDJJ.

")):0===d?u>=1?(i=!0,r='

¡Quédate en casa!

Debes informarle a tu jefatura directa y enviar un mail a: ccolan@qroma.com.pe

',r+='

Se envió un mensaje al correo '+t.email+" con una copia adjunta de la DDJJ.

"):0===u&&(i=!1,r="

Puede ingresar a su sede según lo programado.

",r+='

Se envió un mensaje al correo '+t.email+" con una copia adjunta de la DDJJ.

",r+='

No olvides presentarla impresa o en su celular al momento de ingresar a su sede.

'):d>=1&&(u>=1||0===u)&&(i=!0,r='

¡Quédate en casa!

Debes informarle a tu jefatura directa y enviar un mail a: ccolan@qroma.com.pe

',r+='

Se envió un mensaje al correo '+t.email+" con una copia adjunta de la DDJJ.

"),{scores:s,message:r,inDanger:i,scoresAll:o,total:n}}),z=function(e){var t="undefined"===typeof e?"":String(e);t=t.replace(/^\s+|\s+$/g,""),t=t.toLowerCase();for(var a="ãàáäâẽèéëêìíïîõòóöôùúüûñç·/_,:;",s="aaaaaeeeeeiiiiooooouuuunc------",o=0,n=a.length;o1&&void 0!==arguments[1]?arguments[1]:2;if(0===e)return"0 Bytes";var a=1024,s=t<0?0:t,o=["Bytes","KB","MB","GB","TB","PB","EB","ZB","YB"],n=Math.floor(Math.log(e)/Math.log(a));return parseFloat((e/Math.pow(a,n)).toFixed(s))+" "+o[n]},J={name:"startView",data:function(){var e=this.$route.params.triage,t=!1,a=!0,s=576e5,n=!1,i=!1,r=0,c=!(!e||!e.have_ddjj)&&"".concat(o.BUCKET_URL,"/").concat(e.have_ddjj);e&&(t=new Date(e.creation_date||null),n=new Date(t.getTime()+s),a=((new Date).getTime()-t.getTime())/36e5>16,i=!0===e.lock,r=e.puntaje||0);var l=e?R(e):{},d=l.message,u={date:t,endDate:n,file:c,expired:a,message:d,inDanger:i,puntaje:r};return u},components:{Vue100vh:B.a}},P=J,G=(a("917e"),Object(d["a"])(P,Y,N,!1,null,"1191fc4c",null)),Q=G.exports,K=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"backgroundClass"},[a("Header"),a("b-container",{staticClass:"digitalTriage",attrs:{fluid:""}},[a("b-row",{staticClass:"pageMargin"},[a("b-col",[a("b-row",{staticClass:"titlePage",attrs:{"align-v":"center"}},[a("span",{staticClass:"titleText"},[a("h1",{staticClass:"title"},[e._v(e._s(e.$getConst("DIGITALTRIAGETITLE")))])])])],1)],1),a("PollDigitalTriage")],1)],1)},V=[],W=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("b-navbar",{staticClass:"header",attrs:{variant:"faded",type:"light",fixed:"top"}},[s("b-img",e._b({attrs:{src:a("ac51")}},"b-img",e.mainProps,!1)),s("b-navbar-nav",{staticClass:"ml-auto"})],1)},H=[],$=a("ac51"),Z=a.n($),X={name:"headerForm",data:function(){return{logo:Z.a,mainProps:{width:"auto",height:35},covidProps:{width:"auto",height:25}}}},ee=X,te=(a("abab"),Object(d["a"])(ee,W,H,!1,null,"a1018338",null)),ae=te.exports,se=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("b-row",[s("div",{staticClass:"formUserData"},[s("span",{staticClass:"form"},[s("b-col",[s("b-row",{attrs:{"align-v":"center"}},[s("b-col",{staticClass:"colClass",attrs:{sm:"3"}},[s("h1",{staticClass:"formTitles"},[e._v("Nombre")])]),s("b-col",{staticClass:"colClass",attrs:{sm:"9"}},[s("b-form-input",{staticClass:"customTextinput",attrs:{autocomplete:"off",id:"nameInput",size:"sm",disabled:!0},model:{value:e.form.name,callback:function(t){e.$set(e.form,"name",t)},expression:"form.name"}})],1),s("b-col",{staticClass:"colClass",attrs:{sm:"3"}},[s("h1",{staticClass:"formTitles"},[e._v("DNI")])]),s("b-col",{staticClass:"colClass",attrs:{sm:"9"}},[s("b-form-input",{staticClass:"customTextinput",attrs:{autocomplete:"off",id:"doc_idInput",size:"sm",disabled:!0},model:{value:e.form.doc_id,callback:function(t){e.$set(e.form,"doc_id",t)},expression:"form.doc_id"}})],1),s("b-col",{staticClass:"colClass",attrs:{sm:"3"}},[s("h1",{staticClass:"formTitles"},[e._v("País")])]),s("b-col",{staticClass:"colClass",attrs:{sm:"9"}},[s("b-form-input",{staticClass:"customTextinput",attrs:{autocomplete:"off",id:"contratistaInput",size:"sm",disabled:!0},model:{value:e.form.pais,callback:function(t){e.$set(e.form,"pais",t)},expression:"form.pais"}})],1),s("b-col",{staticClass:"colClass",attrs:{sm:"3"}},[s("h1",{staticClass:"formTitles"},[e._v("Nacionalidad")])]),s("b-col",{staticClass:"colClass",attrs:{sm:"9"}},[s("b-form-input",{staticClass:"customTextinput",attrs:{autocomplete:"off",id:"nationalityInput",size:"sm",state:e.validateState("nationality")},model:{value:e.form.nationality,callback:function(t){e.$set(e.form,"nationality",t)},expression:"form.nationality"}})],1),s("b-col",{staticClass:"colClass",attrs:{sm:"3"}},[s("h1",{staticClass:"formTitles"},[e._v("Edad")])]),s("b-col",{staticClass:"colClass",attrs:{sm:"9"}},[s("b-form-input",{staticClass:"customTextinput",attrs:{autocomplete:"off",id:"ageInput",size:"sm",state:e.validateState("age"),placeholder:"Indicar edad entre 15-100 ...",title:"Indicar edad entre 15-100"},model:{value:e.$v.form.age.$model,callback:function(t){e.$set(e.$v.form.age,"$model",t)},expression:"$v.form.age.$model"}})],1),s("b-col",{staticClass:"colClass",attrs:{sm:"3"}},[s("h1",{staticClass:"formTitles"},[e._v("Peso en kg")])]),s("b-col",{staticClass:"colClass",attrs:{sm:"9"}},[s("b-form-input",{staticClass:"customTextinput",attrs:{autocomplete:"off",id:"weightInput",size:"sm",state:e.validateState("weight"),placeholder:"Indicar peso entre 40-150kg ...",title:"Indicar peso entre 40-150kg"},model:{value:e.$v.form.weight.$model,callback:function(t){e.$set(e.$v.form.weight,"$model",t)},expression:"$v.form.weight.$model"}})],1),s("b-col",{staticClass:"colClass",attrs:{sm:"3"}},[s("h1",{staticClass:"formTitles"},[e._v("Altura en cm")])]),s("b-col",{staticClass:"colClass",attrs:{sm:"9"}},[s("b-form-input",{staticClass:"customTextinput",attrs:{autocomplete:"off",id:"heightInput",size:"sm",state:e.validateState("height"),placeholder:"Indicar altura entre 100-250cm ...",title:"Indicar altura entre 100-250cm"},model:{value:e.$v.form.height.$model,callback:function(t){e.$set(e.$v.form.height,"$model",t)},expression:"$v.form.height.$model"}})],1),s("strong",{staticClass:"IMC"},[e._v("IMC: "+e._s(e.form.height>0&&Math.floor(100*e.form.weight/(e.form.height*e.form.height/1e4))/100||0))])],1)],1)],1),s("span",{staticClass:"form"},[s("b-col",[s("b-row",{attrs:{"align-v":"center"}},[s("b-col",{staticClass:"colClass",attrs:{sm:"3"}},[s("h1",{staticClass:"formTitles"},[e._v("Número de celular")])]),s("b-col",{staticClass:"colClass",attrs:{sm:"9"}},[s("b-form-input",{staticClass:"customTextinput",attrs:{autocomplete:"off",id:"phoneInput",size:"sm",state:e.validateState("phone")},model:{value:e.$v.form.phone.$model,callback:function(t){e.$set(e.$v.form.phone,"$model",t)},expression:"$v.form.phone.$model"}})],1),s("b-col",{staticClass:"colClass",attrs:{sm:"3"}},[s("h1",{staticClass:"formTitles"},[e._v("Correo")])]),s("b-col",{staticClass:"colClass",attrs:{sm:"9"}},[s("b-form-input",{staticClass:"customTextinput",attrs:{autocomplete:"off",id:"work_emailMoreInput",state:e.validateState("email"),size:"sm"},model:{value:e.$v.form.email.$model,callback:function(t){e.$set(e.$v.form.email,"$model",t)},expression:"$v.form.email.$model"}})],1),s("b-col",{staticClass:"colClass",attrs:{sm:"3"}},[s("h1",{staticClass:"formTitles"},[e._v("Área")])]),s("b-col",{staticClass:"colClass",attrs:{sm:"9"}},[s("b-form-input",{staticClass:"customTextinput",attrs:{autocomplete:"off",id:"areaInput",size:"sm",state:e.validateState("area")},model:{value:e.$v.form.area.$model,callback:function(t){e.$set(e.$v.form.area,"$model",t)},expression:"$v.form.area.$model"}})],1),s("b-col",{staticClass:"colClass",attrs:{sm:"3"}},[s("h1",{staticClass:"formTitles"},[e._v("Direccion")])]),s("b-col",{staticClass:"colClass",attrs:{sm:"9"}},[s("b-form-input",{staticClass:"customTextinput",attrs:{id:"addressInput",state:e.validateState("address"),size:"sm",autocomplete:"off"},model:{value:e.$v.form.address.$model,callback:function(t){e.$set(e.$v.form.address,"$model",t)},expression:"$v.form.address.$model"}})],1),s("b-col",{staticClass:"colClass",attrs:{sm:"3"}},[s("h1",{staticClass:"formTitles"},[e._v("Distrito")])]),s("b-col",{staticClass:"colClass",attrs:{sm:"9"}},[s("b-form-input",{staticClass:"customTextinput",attrs:{autocomplete:"off",id:"districtInput",state:e.validateState("district"),size:"sm"},model:{value:e.$v.form.district.$model,callback:function(t){e.$set(e.$v.form.district,"$model",t)},expression:"$v.form.district.$model"}})],1),s("b-col",{staticClass:"colClass",attrs:{sm:"3"}},[s("h1",{staticClass:"formTitles"},[e._v("Provincia")])]),s("b-col",{staticClass:"colClass",attrs:{sm:"9"}},[s("b-form-input",{staticClass:"customTextinput",attrs:{autocomplete:"off",id:"provinceInput",state:e.validateState("province"),size:"sm"},model:{value:e.$v.form.province.$model,callback:function(t){e.$set(e.$v.form.province,"$model",t)},expression:"$v.form.province.$model"}})],1),s("b-col",{staticClass:"colClass",attrs:{sm:"3"}},[s("h1",{staticClass:"formTitles"},[e._v("Departamento")])]),s("b-col",{staticClass:"colClass",attrs:{sm:"9"}},[s("b-form-input",{staticClass:"customTextinput",attrs:{autocomplete:"off",id:"departmentInput",state:e.validateState("department"),size:"sm"},model:{value:e.$v.form.department.$model,callback:function(t){e.$set(e.$v.form.department,"$model",t)},expression:"$v.form.department.$model"}})],1),s("b-col",{staticClass:"colClass",attrs:{sm:"3"}},[s("h1",{staticClass:"formTitles"},[e._v("Temperatura")])]),s("b-col",{staticClass:"colClass",attrs:{sm:"9"}},[s("b-form-input",{staticClass:"customTextinput",attrs:{autocomplete:"off",id:"temperatureInput",size:"sm",state:e.validateState("temperature"),placeholder:"##.## (Solo trabajadores a distancia)",title:"##.## (Solo trabajadores a distancia)"},model:{value:e.$v.form.temperature.$model,callback:function(t){e.$set(e.$v.form.temperature,"$model",t)},expression:"$v.form.temperature.$model"}})],1)],1)],1)],1)]),s("div",{staticClass:"detail"},[s("img",{attrs:{src:a("4e55")}})]),s("div",{staticClass:"formQuetions"},[s("div",[s("b-row",{staticClass:"questionWrap",attrs:{"align-v":"center"}},[s("span",{staticClass:"questionIcon"},[s("h1",{staticClass:"questionNumberText"},[e._v("1.")])]),s("span",{staticClass:"questionDiv"},[s("h1",{staticClass:"question"},[e._v(" ¿Tiene alguna de las siguientes enfermedades o condición?: ")])])]),s("span",[s("div",{staticClass:"optionsClass"},[s("b-form-checkbox",{attrs:{id:"p_enfermedades[0]"},nativeOn:{change:function(t){return e.toggleAll(t,!1)}},model:{value:e.form.p_enfermedades[0],callback:function(t){e.$set(e.form.p_enfermedades,0,t)},expression:"form.p_enfermedades[0]"}},[e._v("Asma, bronquitis, enfermedad pulmonar crónica")]),s("b-form-checkbox",{attrs:{id:"p_enfermedades[1]"},nativeOn:{change:function(t){return e.toggleAll(t,!1)}},model:{value:e.form.p_enfermedades[1],callback:function(t){e.$set(e.form.p_enfermedades,1,t)},expression:"form.p_enfermedades[1]"}},[e._v("Antecedentes de TBC")]),s("b-form-checkbox",{attrs:{id:"p_enfermedades[2]"},nativeOn:{change:function(t){return e.toggleAll(t,!1)}},model:{value:e.form.p_enfermedades[2],callback:function(t){e.$set(e.form.p_enfermedades,2,t)},expression:"form.p_enfermedades[2]"}},[e._v("Enfermedad renal crónica")]),s("b-form-checkbox",{attrs:{id:"p_enfermedades[3]"},nativeOn:{change:function(t){return e.toggleAll(t,!1)}},model:{value:e.form.p_enfermedades[3],callback:function(t){e.$set(e.form.p_enfermedades,3,t)},expression:"form.p_enfermedades[3]"}},[e._v("Diabetes")]),s("b-form-checkbox",{attrs:{id:"p_enfermedades[4]"},nativeOn:{change:function(t){return e.toggleAll(t,!1)}},model:{value:e.form.p_enfermedades[4],callback:function(t){e.$set(e.form.p_enfermedades,4,t)},expression:"form.p_enfermedades[4]"}},[e._v("Inmunodepresión")]),s("b-form-checkbox",{attrs:{id:"p_enfermedades[5]"},nativeOn:{change:function(t){return e.toggleAll(t,!1)}},model:{value:e.form.p_enfermedades[5],callback:function(t){e.$set(e.form.p_enfermedades,5,t)},expression:"form.p_enfermedades[5]"}},[e._v("Hipertensión arterial")]),s("b-form-checkbox",{attrs:{id:"p_enfermedades[6]"},nativeOn:{change:function(t){return e.toggleAll(t,!1)}},model:{value:e.form.p_enfermedades[6],callback:function(t){e.$set(e.form.p_enfermedades,6,t)},expression:"form.p_enfermedades[6]"}},[e._v("Cáncer")]),s("b-form-checkbox",{attrs:{id:"p_enfermedades[7]"},nativeOn:{change:function(t){return e.toggleAll(t,!1)}},model:{value:e.form.p_enfermedades[7],callback:function(t){e.$set(e.form.p_enfermedades,7,t)},expression:"form.p_enfermedades[7]"}},[e._v("Enfermedades cardiovasculares")]),s("b-form-checkbox",{attrs:{id:"p_enfermedades[8]"},nativeOn:{change:function(t){return e.toggleAll(t,!1)}},model:{value:e.form.p_enfermedades[8],callback:function(t){e.$set(e.form.p_enfermedades,8,t)},expression:"form.p_enfermedades[8]"}},[e._v("Gestante")]),s("b-form-checkbox",{attrs:{id:"p_enfermedades[9]"},nativeOn:{change:function(t){return e.toggleAll(t,!0)}},model:{value:e.form.p_enfermedades[9],callback:function(t){e.$set(e.form.p_enfermedades,9,t)},expression:"form.p_enfermedades[9]"}},[e._v("Ninguno")])],1)])],1),s("div",[s("b-row",{staticClass:"questionWrap",attrs:{"align-v":"center"}},[s("span",{staticClass:"questionIcon"},[s("h1",{staticClass:"questionNumberText"},[e._v("2.")])]),s("span",{staticClass:"questionDiv"},[s("h1",{staticClass:"question"},[e._v(" ¿Tiene usted alguno de los siguientes síntomas? (Aunque sea leve, debe indicarlo): ")])])]),s("span",[s("div",{staticClass:"optionsClass"},[s("b-form-checkbox",{attrs:{id:"p_sintomas[0]"},nativeOn:{change:function(t){return e.toggleAll(t,!1)}},model:{value:e.form.p_sintomas[0],callback:function(t){e.$set(e.form.p_sintomas,0,t)},expression:"form.p_sintomas[0]"}},[e._v("Fiebre, escalofríos o sensación de alza térmica")]),s("b-form-checkbox",{attrs:{id:"p_sintomas[1]"},nativeOn:{change:function(t){return e.toggleAll(t,!1)}},model:{value:e.form.p_sintomas[1],callback:function(t){e.$set(e.form.p_sintomas,1,t)},expression:"form.p_sintomas[1]"}},[e._v("Tos, estornudos o dificultad para respirar")]),s("b-form-checkbox",{attrs:{id:"p_sintomas[2]"},nativeOn:{change:function(t){return e.toggleAll(t,!1)}},model:{value:e.form.p_sintomas[2],callback:function(t){e.$set(e.form.p_sintomas,2,t)},expression:"form.p_sintomas[2]"}},[e._v("Dolor de garganta")]),s("b-form-checkbox",{attrs:{id:"p_sintomas[3]"},nativeOn:{change:function(t){return e.toggleAll(t,!1)}},model:{value:e.form.p_sintomas[3],callback:function(t){e.$set(e.form.p_sintomas,3,t)},expression:"form.p_sintomas[3]"}},[e._v("Malestar general, cansancio, fatiga")]),s("b-form-checkbox",{attrs:{id:"p_sintomas[4]"},nativeOn:{change:function(t){return e.toggleAll(t,!1)}},model:{value:e.form.p_sintomas[4],callback:function(t){e.$set(e.form.p_sintomas,4,t)},expression:"form.p_sintomas[4]"}},[e._v("Expectoración o flema amarilla o verdosa")]),s("b-form-checkbox",{attrs:{id:"p_sintomas[5]"},nativeOn:{change:function(t){return e.toggleAll(t,!1)}},model:{value:e.form.p_sintomas[5],callback:function(t){e.$set(e.form.p_sintomas,5,t)},expression:"form.p_sintomas[5]"}},[e._v("Congestión nasal o rinorrea (secreción nasal)")]),s("b-form-checkbox",{attrs:{id:"p_sintomas[6]"},nativeOn:{change:function(t){return e.toggleAll(t,!1)}},model:{value:e.form.p_sintomas[6],callback:function(t){e.$set(e.form.p_sintomas,6,t)},expression:"form.p_sintomas[6]"}},[e._v("Pérdida del olfato")]),s("b-form-checkbox",{attrs:{id:"p_sintomas[7]"},nativeOn:{change:function(t){return e.toggleAll(t,!1)}},model:{value:e.form.p_sintomas[7],callback:function(t){e.$set(e.form.p_sintomas,7,t)},expression:"form.p_sintomas[7]"}},[e._v("Pérdida del gusto")]),s("b-form-checkbox",{attrs:{id:"p_sintomas[8]"},nativeOn:{change:function(t){return e.toggleAll(t,!1)}},model:{value:e.form.p_sintomas[8],callback:function(t){e.$set(e.form.p_sintomas,8,t)},expression:"form.p_sintomas[8]"}},[e._v("Dolor de cabeza ")]),s("b-form-checkbox",{attrs:{id:"p_sintomas[9]"},nativeOn:{change:function(t){return e.toggleAll(t,!1)}},model:{value:e.form.p_sintomas[9],callback:function(t){e.$set(e.form.p_sintomas,9,t)},expression:"form.p_sintomas[9]"}},[e._v("Dolor en el pecho")]),s("b-form-checkbox",{attrs:{id:"p_sintomas[10]"},nativeOn:{change:function(t){return e.toggleAll(t,!1)}},model:{value:e.form.p_sintomas[10],callback:function(t){e.$set(e.form.p_sintomas,10,t)},expression:"form.p_sintomas[10]"}},[e._v("Náuseas")]),s("b-form-checkbox",{attrs:{id:"p_sintomas[11]"},nativeOn:{change:function(t){return e.toggleAll(t,!1)}},model:{value:e.form.p_sintomas[11],callback:function(t){e.$set(e.form.p_sintomas,11,t)},expression:"form.p_sintomas[11]"}},[e._v("Deposiciones líquidas o diarreas")]),s("b-form-checkbox",{attrs:{id:"p_sintomas[12]"},nativeOn:{change:function(t){return e.toggleAll(t,!0)}},model:{value:e.form.p_sintomas[12],callback:function(t){e.$set(e.form.p_sintomas,12,t)},expression:"form.p_sintomas[12]"}},[e._v("Ningún síntoma")])],1)]),s("b-row",{staticClass:"questionWrap",attrs:{"align-v":"center"}},[s("span",{staticClass:"questionIcon"},[s("h1",{staticClass:"questionNumberText"},[e._v("3.")])]),s("span",{staticClass:"questionDiv"},[s("h1",{staticClass:"question"},[e._v(" ¿Está tomando alguna medicación? ")])])]),s("span",[s("div",{staticClass:"optionsClass"},[s("b-form-radio",{attrs:{id:"p_contacto_covid19True",value:!0},model:{value:e.form.p_contacto_covid19,callback:function(t){e.$set(e.form,"p_contacto_covid19",t)},expression:"form.p_contacto_covid19"}},[e._v("Sí")]),s("b-form-radio",{attrs:{id:"p_contacto_covid19False",value:!1},model:{value:e.form.p_contacto_covid19,callback:function(t){e.$set(e.form,"p_contacto_covid19",t)},expression:"form.p_contacto_covid19"}},[e._v("No")])],1)]),s("b-row",{staticClass:"questionWrap",attrs:{"align-v":"center"}},[s("span",{staticClass:"questionIcon"},[s("h1",{staticClass:"questionNumberText"},[e._v("4.")])]),s("span",{staticClass:"questionDiv"},[s("h1",{staticClass:"question"},[e._v(" ¿Ha tenido contacto con personas con diagnóstico confirmado de COVID-19? ")])])]),s("span",[s("div",{staticClass:"optionsClass"},[s("b-form-radio",{attrs:{id:"p_contacto_saludTrue",value:!0},model:{value:e.form.p_contacto_salud,callback:function(t){e.$set(e.form,"p_contacto_salud",t)},expression:"form.p_contacto_salud"}},[e._v("Sí")]),s("b-form-radio",{attrs:{id:"p_contacto_saludFalse",value:!1},model:{value:e.form.p_contacto_salud,callback:function(t){e.$set(e.form,"p_contacto_salud",t)},expression:"form.p_contacto_salud"}},[e._v("No")])],1)]),s("b-row",{staticClass:"questionWrap",attrs:{"align-v":"center"}},[s("span",{staticClass:"questionIcon"},[s("h1",{staticClass:"questionNumberText"},[e._v("5.")])]),s("span",{staticClass:"questionDiv"},[s("h1",{staticClass:"question"},[e._v(" ¿Usted ya ha recibido la vacuna contra Covid 19? ")])])]),s("span",[s("div",{staticClass:"optionsClass"},[s("b-form-radio",{attrs:{id:"p_retornoTrue",value:!0},model:{value:e.form.p_retorno,callback:function(t){e.$set(e.form,"p_retorno",t)},expression:"form.p_retorno"}},[e._v("Sí")]),s("b-form-radio",{attrs:{id:"p_retornoFalse",value:!1},model:{value:e.form.p_retorno,callback:function(t){e.$set(e.form,"p_retorno",t)},expression:"form.p_retorno"}},[e._v("No")])],1)]),s("b-row",{staticClass:"questionWrap",attrs:{"align-v":"center"}},[s("span",{staticClass:"questionIcon"},[s("h1",{staticClass:"questionNumberText"},[e._v("6.")])]),s("span",{staticClass:"questionDiv"},[s("h1",{staticClass:"question"},[e._v(" ¿Alguien de su domicilio tiene síntomas de infección respiratoria o está en investigación por ser un caso sospechoso/confirmado/o contacto de COVID-19? ")])])]),s("span",[s("div",{staticClass:"optionsClass"},[s("b-form-radio",{attrs:{id:"p_domicilio_sintomasTrue",value:!0},model:{value:e.form.p_domicilio_sintomas,callback:function(t){e.$set(e.form,"p_domicilio_sintomas",t)},expression:"form.p_domicilio_sintomas"}},[e._v("Sí")]),s("b-form-radio",{attrs:{id:"p_domicilio_sintomasFalse",value:!1},model:{value:e.form.p_domicilio_sintomas,callback:function(t){e.$set(e.form,"p_domicilio_sintomas",t)},expression:"form.p_domicilio_sintomas"}},[e._v("No")])],1)]),s("b-row",{staticClass:"questionWrap",attrs:{"align-v":"center"}},[s("span",{staticClass:"questionIcon"},[s("h1",{staticClass:"questionNumberText"},[e._v("7.")])]),s("span",{staticClass:"questionDiv"},[s("h1",{staticClass:"question"},[e._v(" ¿Usted quiere vacunarse contra el Covid 19, desea vacunarse? ")])])]),s("span",[s("div",{staticClass:"optionsClass"},[s("b-form-radio",{attrs:{id:"p_atencionTrue",value:!0},model:{value:e.form.p_atencion,callback:function(t){e.$set(e.form,"p_atencion",t)},expression:"form.p_atencion"}},[e._v("Sí")]),s("b-form-radio",{attrs:{id:"p_atencionFalse",value:!1},model:{value:e.form.p_atencion,callback:function(t){e.$set(e.form,"p_atencion",t)},expression:"form.p_atencion"}},[e._v("No")])],1)]),s("b-row",{staticClass:"questionWrap",attrs:{"align-v":"center"}},[s("span",{staticClass:"questionIcon"},[s("h1",{staticClass:"questionNumberText"},[e._v("8.")])]),s("span",{staticClass:"questionDiv"},[s("h1",{staticClass:"question"},[e._v(" ¿Usted ha tenido Covid 19? ")])])]),s("span",[s("div",{staticClass:"optionsClass"},[s("b-form-radio",{attrs:{id:"p_sospechosoTrue",value:!0},model:{value:e.form.p_sospechoso,callback:function(t){e.$set(e.form,"p_sospechoso",t)},expression:"form.p_sospechoso"}},[e._v("Sí")]),s("b-form-radio",{attrs:{id:"p_sospechosoFalse",value:!1},model:{value:e.form.p_sospechoso,callback:function(t){e.$set(e.form,"p_sospechoso",t)},expression:"form.p_sospechoso"}},[e._v("No")])],1)]),s("div",{staticClass:"terms"},[s("span",[s("b-form-checkbox",{attrs:{id:"p_verdad",value:!0,"unchecked-value":!1},model:{value:e.form.p_verdad,callback:function(t){e.$set(e.form,"p_verdad",t)},expression:"form.p_verdad"}},[s("strong",[e._v("Confirmo que la información médica brindada en la presente Declaración Jurada es verdadera.")])])],1),s("span",[s("b-form-checkbox",{attrs:{id:"p_autoriza",value:!0,"unchecked-value":!1},model:{value:e.form.p_autoriza,callback:function(t){e.$set(e.form,"p_autoriza",t)},expression:"form.p_autoriza"}},[s("strong",[e._v("Autorizo el uso de la información médica brindada en la presente declaración a mi empleador y a las entidades médicas que lo requieran.")])])],1)])],1)]),s("b-navbar",{staticClass:"footer"},[s("b-navbar-nav",{staticClass:"ml-auto"},[s("b-button",{staticClass:"orangeButton",attrs:{disabled:e.wait},on:{click:e.onSubmit}},[e.wait?s("b-spinner",{staticStyle:{width:"1.3rem",height:"1.3rem"},attrs:{variant:"light"}}):e._e(),e._v("FINALIZAR ")],1)],1)],1)],1)},oe=[],ne=(a("7db0"),a("1276"),a("3835")),ie=a("b5ae"),re=function(){return{name:"",nationality:"",age:"",weight:"",height:"",doc_id:"",phone:"",email:"",pais:"",area:"",address:"",district:"",province:"",department:"",temperature:"",cargo:"",p_enfermedades:[!1,!1,!1,!1,!1,!1,!1,!1,!1,!1],p_sintomas:[!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1],p_contacto_covid19:null,p_contacto_salud:null,p_retorno:null,p_atencion:null,p_domicilio_sintomas:null,p_sospechoso:null,p_verdad:null,p_autoriza:null,creation_date:null}},ce={name:"formUserData",data:function(){alert("Las preguntas han cambiado, por favor lea atentamente las nuevas preguntas.");var e=this.$route.params.token,t=this.$route.params.user,a=re();return a.name=t.name,a.nationality=t.nationality,a.age=t.age,a.weight=t.weight,a.height=t.height,a.phone=t.phone,a.area=t.area,a.address=t.address,a.district=t.district,a.province=t.province,a.department=t.department,a.temperature=t.temperature,a.doc_id=t.doc_id,a.email=t.email,a.pais=t.pais,a.cargo=t.cargo,{wait:!1,token:e,form:a}},validations:{form:{nationality:{required:ie["required"]},age:{required:ie["required"],numeric:ie["numeric"],between:Object(ie["between"])(15,100)},height:{required:ie["required"],numeric:ie["numeric"],between:Object(ie["between"])(100,250)},weight:{required:ie["required"],numeric:ie["numeric"],between:Object(ie["between"])(40,150)},phone:{required:ie["required"],numeric:ie["numeric"]},address:{required:ie["required"]},district:{required:ie["required"]},department:{required:ie["required"]},temperature:{decimal:2,between:Object(ie["between"])(30,45)},email:{required:ie["required"],email:ie["email"]},area:{required:ie["required"]},province:{required:ie["required"]}}},methods:{validateState:function(e){var t=this.$v.form[e],a=t.$dirty,s=t.$error;return a?!s:null},onSubmit:function(){this.$v.form.$touch();var e=this.questionValidator();!this.$v.form.$anyError&&e?this.form.p_verdad&&this.form.p_autoriza?this.sendData():alert("Debe confirmar y autorizar los términos."):alert("Debe llenar todos los campos de forma correcta y todas las preguntas del formulario.")},validateTrue:function(e){var t=!!e.find((function(e){return 1==e}));return t},questionValidator:function(){var e=JSON.parse(JSON.stringify(this.form)),t=R(e),a=t.scoresAll;return a.p_enfermedades>0&&a.p_sintomas>0&&a.p_contacto_covid19>0&&a.p_contacto_salud>0&&a.p_retorno>0&&a.p_atencion>0&&a.p_domicilio_sintomas>0&&a.p_sospechoso>0},sendData:function(){var e=this,t=JSON.parse(JSON.stringify(this.form)),a=R(t),s=a.message,o=a.inDanger,n=a.total;t.responseDJHtml=!0,this.wait=!0,t.p_contacto_covid19=!0===t.p_contacto_covid19,t.p_contacto_salud=!0===t.p_contacto_salud,t.p_retorno=!0===t.p_retorno,t.p_atencion=!0===t.p_atencion,t.p_domicilio_sintomas=!0===t.p_domicilio_sintomas,t.p_sospechoso=!0===t.p_sospechoso,t.p_verdad=!0===t.p_verdad,t.p_autoriza=!0===t.p_autoriza,t.inDanger=o,t.puntaje=n,M("triage",t,{token:this.token}).then((function(t){var a=t.success,n=t.body,i=t.ddjj;e.wait=!1,a?e.$router.push({name:"sign",params:Object(k["a"])({inDanger:o,message:s,triage_id:n,ddjj:i},e.$route.params)}):(console.error(t),alert("Ocurrió un error inesperado, por favor vuelve a intentar."))}))},toggleAll:function(e,t){var a={p_enfermedades:[!1,!1,!1,!1,!1,!1,!1,!1,!1,!0],p_sintomas:[!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!0]},s=e.target.id.split(/[\[\]]/),o=Object(ne["a"])(s,2),n=o[0],i=o[1];if(a[n]){var r=JSON.parse(JSON.stringify(this.form[n]));t?r=a[n]:(r[i]=e.target.checked,r[a[n].length-1]=!1),this.form[n]=r}}}},le=ce,de=(a("bfb9"),Object(d["a"])(le,se,oe,!1,null,"29986e50",null)),ue=de.exports,me={name:"digitalTriage",components:{Header:ae,PollDigitalTriage:ue},data:function(){return{covidProps:{width:"auto",height:45}}}},fe=me,pe=(a("c300"),Object(d["a"])(fe,K,V,!1,null,"6520493e",null)),ve=pe.exports,he=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{staticClass:"backgroundClass"},[s("Header"),s("b-container",{staticClass:"digitalTriage",attrs:{fluid:""}},[s("div",{staticClass:"centerDiv"},[e.inDanger?s("b-img",e._b({attrs:{src:a("c36e")}},"b-img",e.covidProps,!1)):e._e(),e.inDanger?e._e():s("b-img",e._b({attrs:{src:a("374c")}},"b-img",e.satisfactorio,!1))],1),s("div",{staticClass:"centerDiv"},[s("h1",{staticClass:"title"},[e._v(e._s(e.$getConst("FINALRESULTTITLE")))])]),s("div",{staticClass:"centerDiv"},[s("h3",{staticClass:"finalresultadvice",domProps:{innerHTML:e._s(e.$route.params.message)}})]),s("div",{staticClass:"centerDiv"},[s("a",{ref:"link",staticClass:"orangeButton",attrs:{href:this.$route.params.file,target:"_blank"}},[e._v(" Descargar DDJJ ")])]),s("div",{staticClass:"centerDiv"},[s("b-img",e._b({attrs:{src:a("ac55")}},"b-img",e.logo_qroma,!1))],1),s("div")])],1)},ge=[],be={name:"finalResult",components:{Header:ae},data:function(){return{inDanger:this.$route.params.inDanger,covidProps:{width:"auto",height:200},downloadIcon:{width:"auto",height:70},satisfactorio:{width:"auto",height:200},logo_qroma:{width:"auto",height:50}}},methods:{goDDJJ:function(){this.$router.push({name:"sign",params:this.$route.params})}}},Ae=be,Ce=(a("fe74"),Object(d["a"])(Ae,he,ge,!1,null,"5bd586e4",null)),_e=Ce.exports,we=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"backgroundClass"},[a("Header"),a("b-container",{staticClass:"digitalTriage",attrs:{fluid:""}},[a("h1",{staticClass:"title"},[e._v("DECLARACIÓN JURADA")]),a("div",{staticClass:"warning"},[a("strong",[e._v("Fecha: "+e._s(new Date(this.$route.params.ddjj.date).toLocaleString())+", ")]),a("span",[e._v("Esta Declaración Jurada solo tiene 16 horas de vigencia.")])]),a("iframe",{ref:"iframe",attrs:{frameborder:"0",width:"100%",height:"200px"}}),a("div",[a("a",{staticClass:"confirmoDatos"},[e._v("CONFIRMO MIS DATOS")]),a("div",{staticClass:"canvasDiv"},[a("canvas-draw",{ref:"canvasDraw"})],1)]),a("p",{staticClass:"confirm"},[e._v("Mediante esta firma virtual confirmo que la información médica brindada en la presente Declaración Jurada es verdadera.")]),a("b-button",{staticClass:"orangeButton",attrs:{disabled:e.wait},on:{click:e.submit}},[e.wait?a("b-spinner",{staticStyle:{width:"1.3rem",height:"1.3rem"},attrs:{variant:"light"}}):e._e(),e._v(" Enviar ")],1)],1)],1)},je=[],ke=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a("canvas",{ref:"canvasBlank",staticStyle:{display:"none"}}),a("canvas",{ref:"canvas",on:{mousedown:e.onMouseDown,touchstart:e.onMouseDown,mouseup:e.onMouseUp,touchend:e.onMouseUp,mouseout:e.onMouseOut,mousemove:e.onMouseMove,touchmove:e.onMouseMove}},[e._v("Su navegador no soporta canvas :(")]),a("button",{on:{click:e.clear}},[a("svg",{attrs:{height:"18px",viewBox:"0 -18 440.96 440",width:"18px",xmlns:"http://www.w3.org/2000/svg"}},[a("path",{attrs:{d:"m410.667969 405.207031h-394.667969c-8.832031 0-16-7.167969-16-16s7.167969-16 16-16h394.667969c8.832031 0 16 7.167969 16 16s-7.167969 16-16 16zm0 0"}}),a("path",{attrs:{d:"m216.746094 405.207031c-4.09375 0-8.191406-1.558593-11.304688-4.695312-6.253906-6.25-6.253906-16.382813 0-22.632813l195.625-195.628906c5.097656-5.097656 7.894532-11.753906 7.894532-18.773438 0-7.144531-2.796876-13.886718-7.894532-18.984374l-104.746094-104.75c-6.398437-6.527344-13.84375-7.871094-18.988281-7.871094-7.125 0-13.757812 2.753906-18.644531 7.765625l-218.792969 218.796875c-6.550781 6.398437-7.894531 13.824218-7.894531 18.984375 0 7.125 2.753906 13.761719 7.765625 18.644531l81.835937 81.835938c6.25 6.25 6.25 16.382812 0 22.636718-6.253906 6.25-16.386718 6.25-22.636718 0l-81.707032-81.707031c-11.070312-10.839844-17.257812-25.578125-17.257812-41.410156 0-15.976563 6.1875-30.785157 17.40625-41.75l218.539062-218.515625c21.699219-22.273438 61.335938-22.230469 83.136719.128906l104.597657 104.617188c11.136718 11.136718 17.28125 25.898437 17.28125 41.601562 0 15.550781-6.144532 30.25-17.28125 41.386719l-195.625 195.625c-3.117188 3.136719-7.210938 4.695312-11.308594 4.695312zm0 0"}}),a("path",{attrs:{d:"m333.269531 288.703125c-4.097656 0-8.191406-1.554687-11.308593-4.691406l-165.117188-165.121094c-6.25-6.25-6.25-16.382813 0-22.632813 6.25-6.253906 16.382812-6.253906 22.632812 0l165.121094 165.117188c6.25 6.25 6.25 16.386719 0 22.636719-3.15625 3.113281-7.253906 4.691406-11.328125 4.691406zm0 0"}})])])])},xe=[],ye={name:"canvasdraw",data:function(){return{isDrawing:!1}},mounted:function(){var e=window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth,t=e>350?350:e-40,a=this.$refs,s=a.canvas,o=a.canvasBlank;this.ctx=s.getContext("2d"),this.cw=s.width=o.width=t,this.cx=this.cw/2,this.ch=s.height=o.height=Math.round(8*t/16),this.cy=this.ch/2,this.ctx.lineJoin="round",document.body.addEventListener("touchstart",(function(e){e.target==s&&e.preventDefault()}),{passive:!1}),document.body.addEventListener("touchend",(function(e){e.target==s&&e.preventDefault()}),{passive:!1}),document.body.addEventListener("touchmove",(function(e){e.target==s&&e.preventDefault()}),{passive:!1})},methods:{getBase64:function(){var e=this.$refs,t=e.canvas,a=e.canvasBlank,s=t.toDataURL();return s!==a.toDataURL()&&s},clear:function(){this.ctx.clearRect(0,0,this.cw,this.ch)},onPos:function(e,t){var a=e.getBoundingClientRect();return{x:Math.round((t.touches?t.touches[0].pageX:t.clientX)-a.left),y:Math.round((t.touches?t.touches[0].pageY:t.clientY)-a.top)}},oTouchPos:function(e,t){var a=e.getBoundingClientRect();return{x:Math.round(t.touches[0].pageX-a.left),y:Math.round(t.touches[0].pageY-a.top)}},onMouseDown:function(){this.isDrawing=!0,this.ctx.beginPath()},onMouseUp:function(){this.isDrawing=!1},onMouseOut:function(){this.isDrawing=!1},onMouseMove:function(e){if(this.isDrawing){var t=this.onPos(this.$refs.canvas,e);this.ctx.lineTo(t.x,t.y),this.ctx.stroke()}}}},De=ye,Se=(a("dc48"),Object(d["a"])(De,ke,xe,!1,null,"d8f28ce0",null)),Me=Se.exports,Ie={name:"sign",components:{Header:ae,CanvasDraw:Me},data:function(){return{wait:!1}},mounted:function(){this.$refs.iframe.contentWindow.document.write(this.$route.params.ddjj.html)},methods:{submit:function(){var e=this,t=this.$refs.canvasDraw.getBase64(),a=this.$route.params,s=a.triage_id,o=a.token,n=a.inDanger;t?(this.wait=!0,M("triage/".concat(s,"/dj"),{base64:this.$refs.canvasDraw.$refs.canvas.toDataURL(),inDanger:n},{token:o}).then((function(t){e.wait=!1,t.success?(console.log(t.file),e.$router.push({name:"result",params:Object(k["a"])(Object(k["a"])({},e.$route.params),{},{file:t.file})})):(console.log(t),alert("Ocurrio un error inesperado, vuelva a intentar en unos segundos por favor"))}))):alert("Por favor debe firmar antes de enviar.")}}},Oe=Ie,Ee=(a("6ddd"),Object(d["a"])(Oe,we,je,!1,null,"3cd11719",null)),Be=Ee.exports,Te=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a("Header"),a("b-container",{staticClass:"digitalTriage",attrs:{fluid:""}},[a("div",[a("svg",{staticStyle:{"enable-background":"new 0 0 512 512"},attrs:{version:"1.1",id:"Layer_1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0px",y:"0px",viewBox:"0 0 512 512","xml:space":"preserve"}},[a("ellipse",{staticStyle:{fill:"#32BEA6"},attrs:{cx:"256",cy:"256",rx:"256",ry:"255.832"}}),a("polygon",{staticStyle:{fill:"#FFFFFF"},attrs:{points:"235.472,392.08 114.432,297.784 148.848,253.616 223.176,311.52 345.848,134.504 \n 391.88,166.392 "}})])]),a("div",[a("p",{staticClass:"textEnd"},[e._v("Declaración Jurada")]),a("p",[a("a",{ref:"link",attrs:{href:e.file,target:"_blank"}},[e._v("Volver a descargar la Declaración Jurada")])])])])],1)},Ue=[],qe=(a("9911"),{name:"signOk",components:{Header:ae},data:function(){return{file:this.$route.params.file}},mounted:function(){this.$refs.link.click()}}),Fe=qe,Ye=(a("603b"),Object(d["a"])(Fe,Te,Ue,!1,null,"679ad8f3",null)),Ne=Ye.exports,Re=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",[s("Header"),s("b-container",{staticClass:"wrap",attrs:{fluid:""}},[s("b-row",{attrs:{"align-v":"center"}},[s("b-button",{staticClass:"btnBack",attrs:{variant:"light"},on:{click:e.goBack}},[s("b-img",{attrs:{src:a("336c")}}),e._v(" Volver ")],1),s("b-row",{staticClass:"titlePage",attrs:{"align-v":"center"}},[s("span",{staticClass:"image"},[s("b-img",{attrs:{src:a("213a"),height:"45"}})],1),s("span",{staticClass:"titleText"},[s("h1",{staticClass:"title"},[e._v("Desbloquear personas con sospecha de COVID-19")])])]),s("b-form",{staticClass:"form"},[s("b-form-group",{staticClass:"input-doc-id",attrs:{id:"group-doc_id",label:"Número de documento:","label-for":"input-doc_id"}},[s("b-form-input",{attrs:{id:"input-doc_id",required:"",placeholder:"Indique un número...",state:e.validateState("doc_id")},model:{value:e.form.doc_id,callback:function(t){e.$set(e.form,"doc_id","string"===typeof t?t.trim():t)},expression:"form.doc_id"}})],1),s("b-form-group",{attrs:{id:"group-reason",label:"Motivo:","label-for":"input-reason"}},[s("b-form-input",{attrs:{id:"input-reason",required:"",placeholder:"Ingrese motivo...",state:e.validateState("reason")},model:{value:e.form.reason,callback:function(t){e.$set(e.form,"reason","string"===typeof t?t.trim():t)},expression:"form.reason"}})],1),s("b-button",{attrs:{disabled:e.wait},on:{click:e.onSubmit}},[e.wait?s("b-spinner",{staticStyle:{width:"1.3rem",height:"1.3rem"},attrs:{variant:"light"}}):e._e(),e._v(" Desbloquear ")],1)],1)],1)],1)],1)},ze=[],Le=(a("a9e3"),a("498a"),{name:"admin",components:{Header:ae},data:function(){return{wait:!1,form:{doc_id:"",reason:""}}},validations:{form:{doc_id:{required:ie["required"]},reason:{required:ie["required"]}}},methods:{goBack:function(){this.$router.push({name:"menu",params:this.$route.params})},validateState:function(e){var t=this.$v.form[e],a=t.$dirty,s=t.$error;return a?!s:null},onSubmit:function(){var e=this;this.$v.form.$touch();var t=this.$route.params.token,a=String(this.form.doc_id).trim(),s=String(this.form.reason).trim();this.$v.form.$anyError||(this.wait=!0,M("triage/options",{unlock_doc_id:a,reason:s,doc_id:this.$route.params.user.doc_id},{token:t}).then((function(t){var a=t.success,s=t.affected;e.wait=!1,a?(e.$v.$reset(),e.form.doc_id="",e.form.reason="",Number(s)>0?alert("Listo!, la persona ha sido desbloqueada."):alert("No hay datos para desbloquear")):alert("Ocurrió un error, por favor vuelva a intentar.")})))}}}),Je=Le,Pe=(a("a8da"),Object(d["a"])(Je,Re,ze,!1,null,"f00ae24a",null)),Ge=Pe.exports,Qe=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",[s("Header"),s("b-container",{staticClass:"wrap",attrs:{fluid:""}},[s("b-row",{attrs:{"align-v":"center"}},[s("b-button",{staticClass:"btnTriaje",on:{click:function(t){return e.onBtn("start")}}},[s("b-img",{attrs:{src:a("faeb")}}),e._v(" Pasar triaje ")],1),s("br"),e.user.is_doctor?s("b-button",{staticClass:"btnOptions",on:{click:function(t){return e.onBtn("people")}}},[s("b-img",{attrs:{src:a("6e5d")}}),e._v(" Usuarios ")],1):e._e(),s("b-button",{staticClass:"btnOptions",on:{click:function(t){return e.onBtn("documents")}}},[s("b-img",{attrs:{src:a("927d")}}),e._v(" Protocolos ")],1),s("b-button",{staticClass:"btnOptions",on:{click:function(t){return e.onBtn("incidents")}}},[s("b-img",{attrs:{src:a("927d")}}),e._v(" Incidencias ")],1)],1)],1)],1)},Ke=[],Ve={name:"admin",components:{Header:ae},data:function(){var e=this.$route.params.user;return{user:e}},methods:{onBtn:function(e){this.$router.push({name:e,params:this.$route.params})}}},We=Ve,He=(a("df67"),Object(d["a"])(We,Qe,Ke,!1,null,"0b8b6cd2",null)),$e=He.exports,Ze=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",[s("Header"),s("b-container",{staticClass:"wrap",class:e.wait?"waiting":"",attrs:{fluid:""}},[s("b-row",{attrs:{"align-v":"center"}},[s("b-button",{staticClass:"btnBack",attrs:{variant:"light"},on:{click:e.goBack}},[s("b-img",{attrs:{src:a("336c")}}),e._v(" Volver ")],1),s("b-row",{staticClass:"titlePage",attrs:{"align-v":"center"}},[s("div",[s("span",{staticClass:"image"},[e.wait?s("b-spinner",{staticStyle:{"margin-left":"12px","vertical-align":"middle"},attrs:{variant:"primary"}}):e._e(),e.wait?e._e():s("b-img",{attrs:{src:a("2ece"),height:"45"}})],1),s("span",{staticClass:"titleText"},[s("h1",{staticClass:"title"},[e._v("Protocolos")])])]),s("div",[e.user.is_doctor?s("b-button",{directives:[{name:"b-modal",rawName:"v-b-modal.modal-input-media",modifiers:{"modal-input-media":!0}}],staticClass:"btnUpload",attrs:{variant:"primary"}},[s("b-img",{attrs:{src:a("cf55")}}),s("span",[e._v("Anexar video")])],1):e._e(),e._v(e._s(" ")+" "),s("input",{ref:"inputFile",staticStyle:{display:"none"},attrs:{id:"file1",name:"inputFile",accept:"application/pdf",type:"file"},on:{change:e.inputFileChange}}),e.user.is_doctor?s("b-button",{staticClass:"btnUpload",attrs:{variant:"primary"},on:{click:e.inputFileSelect}},[s("b-img",{attrs:{src:a("cf55")}}),s("span",[e._v("Subir PDF")])],1):e._e()],1)]),s("b-row",{staticClass:"files"},[e._l(e.files,(function(t,o){return s("div",{directives:[{name:"show",rawName:"v-show",value:e.files.length>0,expression:"files.length > 0 "}],key:o,staticClass:"file"},["url"===t.contentType?s("b-img",{attrs:{src:a("5cae")}}):s("b-img",{attrs:{src:a("eb21")}}),s("b-link",{on:{click:function(a){return e.rowFileClick(t)}}},[e._v(" "+e._s(t.realFileName||t.fileName)+" ")]),s("span",{staticClass:"file-more"},[e._v(" "+e._s("url"===t.contentType?"":e.formatBytes(t.size)+" | ")+" "+e._s(t.author_name)+" | "+e._s(new Date(t.updated).toLocaleString())+" ")]),e.user.is_doctor?s("b-button",{staticClass:"file-delete",attrs:{variant:"light",title:"Eliminar archivo"},on:{click:function(a){return e.rowFileDelete(t)}}},[s("svg",{attrs:{height:"14px",width:"14px",viewBox:"0 0 47.971 47.971"}},[s("path",{attrs:{d:"M28.228,23.986L47.092,5.122c1.172-1.171,1.172-3.071,0-4.242c-1.172-1.172-3.07-1.172-4.242,0L23.986,19.744L5.121,0.88\n c-1.172-1.172-3.07-1.172-4.242,0c-1.172,1.171-1.172,3.071,0,4.242l18.865,18.864L0.879,42.85c-1.172,1.171-1.172,3.071,0,4.242\n C1.465,47.677,2.233,47.97,3,47.97s1.535-0.293,2.121-0.879l18.865-18.864L42.85,47.091c0.586,0.586,1.354,0.879,2.121,0.879\n s1.535-0.293,2.121-0.879c1.172-1.171,1.172-3.071,0-4.242L28.228,23.986z"}})])]):e._e()],1)})),0===e.files.length?s("div",{staticClass:"file"},[s("span",[e._v(" No hay documentos ")])]):e._e()],2),e.showFile?s("div",{staticClass:"frameFull"},[s("iframe",{attrs:{src:e.showFile,frameborder:"0"}})]):e._e()],1)],1),s("b-modal",{attrs:{title:"Referenciar video",scrollable:"",centered:"",id:"modal-input-media","ok-title-html":"Enviar","cancel-title":"Cerrar",okDisabled:""===String(e.mediaUrl).trim()},on:{ok:e.handleModalOk,show:e.handleModalReset}},[s("div",[s("b-form-group",{attrs:{label:"URL","label-for":"form-url"}},[s("b-form-input",{attrs:{id:"form-url",maxlength:"200"},model:{value:e.mediaUrl,callback:function(t){e.mediaUrl=t},expression:"mediaUrl"}})],1)],1)])],1)},Xe=[],et=(a("466d"),{name:"documents",components:{Header:ae},data:function(){var e=this.$route.params.user,t=[{name:"GLOBAL"}];return{user:e,wait:!0,files:[],showFile:!1,sedes:t,location:t[0],mediaUrl:""}},mounted:function(){this.loadFiles()},methods:{formatBytes:L,goBack:function(){this.showFile?this.showFile=!1:this.$router.push({name:"menu",params:this.$route.params})},loadFiles:function(){var e=this;this.wait=!0;var t=z(this.location.name);S("documents?path=".concat(t)).then((function(a){e.wait=!1,e.files=a.files&&a.files[t]||[]}))},selectLocationClick:function(e){if(e.name===this.location.name)return!1;this.location=e,this.loadFiles()},rowFileClick:function(e){var t=e.url;"url"===e.contentType&&(t=t.replace("watch?v=","embed/")),this.showFile=t},inputFileSelect:function(){this.$refs.inputFile.click()},rowFileDelete:function(e){var t=this;window.confirm("¿Esta seguro de eliminar el archivo?")&&(this.wait=!0,O("documents".concat("url"===e.contentType?"/media":""),{id:e.id}).then((function(e){t.wait=!1,e.success?t.loadFiles():alert("Ocurrió un error al eliminar el archivo, por favor intente de nuevo")})))},inputFileChange:function(e){var t=/(\.pdf|\.doc)$/i,a=this,s=e.target.files[0];if(s){if(!t.exec(s.name))return void alert("Formato de archivo no soportado.");this.wait=!0;var o=new FileReader;o.onload=function(e){var t=e.target.result,o=a.$route.params.user;I("documents?path=".concat(z(a.location.name)),{name:s.name,file:t,user:{name:o.name,id:o.doc_id}}).then((function(e){a.wait=!1,a.$refs.inputFile.value=null,e.success?a.loadFiles():alert("Ocurrió un error al subir el archivo, por favor intente de nuevo")}))},o.readAsDataURL(s)}},handleModalOk:function(e){var t=this;e.preventDefault();var a=/^(http(s)?:\/\/)?((w){3}.)?youtu(be|.be)?(\.com)?\/.+/gm;if(!this.mediaUrl.match(a))return window.alert("URL de video no reconocido");var s=this.$route.params.user;this.wait=!0,this.$nextTick((function(){t.$bvModal.hide("modal-input-media")})),I("documents/media",{url:this.mediaUrl,author_id:s.doc_id}).then((function(e){t.wait=!1,t.mediaUrl="",e.success?t.loadFiles():alert("Ocurrió un error al guardar los datos, por favor intente de nuevo")}))},handleModalReset:function(){this.mediaUrl=""},validateMediaUrl:function(){}}}),tt=et,at=(a("93e4"),Object(d["a"])(tt,Ze,Xe,!1,null,"11ce4b6a",null)),st=at.exports,ot=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",[s("Header"),s("b-container",{staticClass:"wrap",class:e.wait?"waiting":"",attrs:{fluid:""}},[s("b-row",{attrs:{"align-v":"center"}},[s("b-button",{staticClass:"btnBack",attrs:{variant:"light"},on:{click:e.goBack}},[s("b-img",{attrs:{src:a("336c")}}),e._v(" Volver ")],1),s("b-row",{staticClass:"titlePage",attrs:{"align-v":"center"}},[s("div",[s("span",{staticClass:"image"},[e.wait?s("b-spinner",{staticStyle:{"margin-left":"12px","vertical-align":"middle"},attrs:{variant:"primary"}}):e._e(),e.wait?e._e():s("b-img",{attrs:{src:a("2ece"),height:"45"}})],1),s("span",{staticClass:"titleText"},[s("h1",{staticClass:"title"},[e._v("Incidencias abiertas")])])]),s("b-dropdown",{staticClass:"m-md-2 selectLocation",attrs:{id:"dropdown-location",text:e.location.name,variant:"outline-primary",right:""}},e._l(e.sedes,(function(t,a){return s("b-dropdown-item",{key:a,attrs:{active:t.name===e.location.name},on:{click:function(a){return e.selectLocationClick(t)}}},[e._v(" "+e._s(t.name)+" ")])})),1)],1),s("b-row",{staticClass:"irows"},[e._l(e.rowsFilter,(function(t,a){return s("div",{directives:[{name:"show",rawName:"v-show",value:e.rowsFilter.length>0,expression:"rowsFilter.length > 0 "}],key:a,staticClass:"irow"},[t.incidence_file?s("svg",{attrs:{"enable-background":"new 0 0 488.455 488.455",height:"28",viewBox:"0 0 488.455 488.455",width:"28"}},[s("path",{attrs:{d:"m244.236 137.374c-67.335 0-122.118 54.783-122.118 122.118s54.784 122.118 122.118 122.118 122.118-54.783 122.118-122.118-54.783-122.118-122.118-122.118zm0 213.706c-50.505 0-91.588-41.083-91.588-91.588s41.083-91.588 91.588-91.588 91.588 41.083 91.588 91.588-41.083 91.588-91.588 91.588z"}}),s("path",{attrs:{d:"m488.292 137.292c-.015-25.214-20.572-45.733-45.794-45.733h-66.888l-26.326-52.603c-2.594-5.171-7.871-8.434-13.655-8.434h-183.176c-5.784 0-11.076 3.263-13.655 8.434l-26.296 52.618-66.782.089c-25.208.045-45.72 20.58-45.72 45.779v274.714c0 25.244 20.542 45.778 45.794 45.778h396.867c25.252 0 45.794-20.55 45.794-45.808zm-45.63 290.122h-396.867c-8.422 0-15.265-6.84-15.265-15.259v-274.714c0-8.405 6.842-15.244 15.235-15.259l76.204-.104c5.784-.015 11.061-3.278 13.64-8.434l26.281-52.604h164.304l26.326 52.603c2.594 5.171 7.871 8.434 13.655 8.434h76.324c8.408 0 15.444 6.84 15.444 15.244v274.819c-.001 8.419-6.859 15.274-15.281 15.274z"}})]):s("svg",{staticStyle:{opacity:"0.3"},attrs:{"enable-background":"new 0 0 450.824 450.824",height:"28",viewBox:"0 0 450.824 450.824",width:"28"}},[s("path",{attrs:{d:"m390.345 116.833c5.502 5.502 5.502 14.422 0 19.924s-14.422 5.502-19.924 0-5.502-14.422 0-19.924 14.422-5.502 19.924 0"}}),s("path",{attrs:{d:"m408.559 56.354h-72.849c-5.82-16.4-21.49-28.176-39.857-28.176h-140.882c-18.102 0-33.492 11.491-39.506 27.523l22.668 22.668c1.603-2.287 2.75-4.919 2.75-7.926 0-7.773 6.315-14.088 14.088-14.088h140.882c7.773 0 14.088 6.315 14.088 14.088 0 7.787 6.301 14.088 14.088 14.088h84.529c7.773 0 14.088 6.315 14.088 14.088v253.588c0 3.003-1.151 5.634-2.755 7.921l20.082 20.082c6.669-7.474 10.85-17.22 10.85-28.003v-253.589c0-23.306-18.958-42.264-42.264-42.264z"}}),s("path",{attrs:{d:"m329.161 269.397c5.756-13.524 8.956-28.385 8.956-43.985 0-62.145-50.561-112.706-112.706-112.706-15.6 0-30.46 3.2-43.985 8.956l22.371 22.371c6.941-1.849 14.097-3.151 21.614-3.151 46.612 0 84.529 37.917 84.529 84.529 0 7.517-1.302 14.673-3.151 21.614.001.001 22.372 22.372 22.372 22.372z"}}),s("path",{attrs:{d:"m0 19.923 36.966 36.966c-20.785 2.638-36.966 20.238-36.966 41.73v253.588c0 23.306 18.959 42.265 42.265 42.265h332.285l56.353 56.353 19.922-19.922-430.903-430.903zm42.265 346.373c-7.773 0-14.088-6.315-14.088-14.088v-253.589c0-7.773 6.315-14.088 14.088-14.088h22.343l72.397 72.397c-14.876 19.038-24.298 42.507-24.298 68.486 0 62.145 50.561 112.706 112.706 112.706 25.982 0 49.51-9.357 68.558-24.226l52.403 52.403zm114.738-189.369 116.971 116.971c-13.772 9.882-30.35 16.045-48.562 16.045-46.612 0-84.529-37.917-84.529-84.529-.001-18.208 6.235-34.722 16.12-48.487z"}})]),s("b-link",{attrs:{href:"#"+t.incidence_id},on:{click:function(a){return e.rowClick(t)}}},[e._v(" "+e._s(t.p_sintomas_obs)+" ")]),s("div",{staticClass:"irow-more"},[s("span",{class:"tag "+t.type},[e._v(" "+e._s(t.type)+" ")]),e._v(" "+e._s(t.author_user_name)+" | "+e._s(e._f("moment")(t.creation_date,"DD/MM/YYYY h:mm:ss a"))+" ")])],1)})),0===e.rowsFilter.length?s("div",{staticClass:"irow"},[s("span",[e._v(" No hay incidencias pendientes ")])]):e._e()],2)],1)],1),s("Edit",{attrs:{data:e.selectRow,onCloseModal:e.handleClosedModal}})],1)},nt=[],it=(a("fb6a"),a("2909")),rt=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("b-modal",{attrs:{"dialog-class":(e.wait?"modal-incidence-wait":"modal-incidence")+(e.data.correction?" modal-incidence-read":""),title:"Incidencia: "+e.data.type,size:"lg",scrollable:"",centered:"",id:"bv-modal-edit","ok-title-html":"Enviar acción correctiva","ok-disabled":e.wait,"cancel-title":"Cerrar","cancel-disabled":e.wait,"no-close-on-backdrop":e.wait,"no-close-on-esc":e.wait},on:{ok:e.handleOk,show:e.resetModal,hidden:e.hiddenModal}},[a("h3",[e._v(e._s(e.data.p_sintomas_obs))]),a("p",[e._v("Fecha y hora del reporte: "),a("strong",[e._v(e._s(e._f("moment")(new Date(e.data.creation_date),"DD/MM/YYYY h:mm:ss a")))])]),a("p",[a("strong",[e._v("Datos de la persona que reporta:")]),a("br"),a("ul",[a("li",[e._v("Nombre: "),a("strong",[e._v(e._s(e.data.author_user_name))])]),a("li",[e._v("Documento: "),a("strong",[e._v(e._s(e.data.author_user))])]),a("li",[e._v("Teléfono: "),a("strong",[e._v(e._s(e.data.author_user_phone))])]),a("li",[e._v("Email: "),a("strong",[e._v(e._s(e.data.author_user_email))])])])]),"Personas"===e.data.type?a("p",[a("strong",[e._v("Datos de la persona reportada:")]),a("br"),a("ul",[a("li",[e._v("Nombre: "),a("strong",[e._v(e._s(e.data.referred_user_name))])]),a("li",[e._v("Documento: "),a("strong",[e._v(e._s(e.data.referred_user))])]),a("li",[e._v("Teléfono: "),a("strong",[e._v(e._s(e.data.referred_user_phone))])]),a("li",[e._v("Email: "),a("strong",[e._v(e._s(e.data.referred_user_email))])])])]):e._e(),e.data.incidence_file?a("img",{staticClass:"image",attrs:{src:e.data.incidence_file}}):e._e(),a("div",[a("h3",{staticClass:"event-title"},[a("span",[e._v("Acción correctiva")])]),a("div",[a("b-form-group",{attrs:{"label-for":"form-correction"}},[a("b-form-input",{attrs:{id:"form-correction",state:e.validateState("correction"),size:"sm",maxlength:"200",disabled:e.wait},model:{value:e.$v.form.correction.$model,callback:function(t){e.$set(e.$v.form.correction,"$model",t)},expression:"$v.form.correction.$model"}})],1),a("b-form-file",{attrs:{placeholder:"Seleccione un archivo...","drop-placeholder":"Suelte aqui...",accept:"image/*",disabled:e.wait},on:{change:e.inputFileChange},model:{value:e.form.correction_file,callback:function(t){e.$set(e.form,"correction_file",t)},expression:"form.correction_file"}})],1)])])},ct=[],lt={name:"incidentsEdit",props:["data","onCloseModal"],data:function(){return{timer:0,image:!1,modalShow:!1,wait:!1,form:{correction:""}}},validations:{form:{correction:{required:ie["required"]}}},beforeUpdate:function(){var e=this.modalShow;e||(this.$bvModal.show("bv-modal-edit"),this.modalShow=!0)},methods:{validateState:function(e){var t=this.$v.form[e],a=t.$dirty,s=t.$error;return a?!s:null},postData:function(){var e=this.data,t=this.$route,a=this.form,s={correction:a.correction,correction_file:a.correction_file_blob,incidence_id:e.incidence_id,correction_user:t.params.user.doc_id};return M("incidents/correction",s,{token:t.params.token})},handleOk:function(e){var t=this;e.preventDefault(),this.$v.form.$touch(),this.$v.form.$anyError||(this.wait=!0,this.postData().then((function(e){t.wait=!1,e.success?(t.onCloseModal(e.success),t.$nextTick((function(){t.$bvModal.hide("bv-modal-edit")}))):alert("Ocurrió un error al guardar los datos, por favor intente de nuevo")})))},inputFileChange:function(e){var t=/(\.jpeg|\.png|\.jpg)$/i,a=this,s=e.target.files[0];if(s){if(!t.exec(s.name))return void alert("Formato de archivo no soportado.");var o=new FileReader;o.onload=function(e){a.form.correction_file_blob=e.target.result},o.readAsDataURL(s)}else a.form.correction_file_blob=!1},resetModal:function(){this.$v.$reset(),this.form.correction="",this.form.correction_file=null},hiddenModal:function(){var e=this;this.onCloseModal(!1),this.$nextTick((function(){e.modalShow=!1}))}}},dt=lt,ut=(a("f818"),a("9015"),Object(d["a"])(dt,rt,ct,!1,null,"0cc936a8",null)),mt=ut.exports,ft={name:"incidents",components:{Header:ae,Edit:mt},data:function(){var e=this.$route.params,t=e.sedes,a=e.triage,s={name:"TODOS"},o=[s].concat(Object(it["a"])(t));return{wait:!0,rows:[],itemAll:s,rowsFilter:[],sedes:o,location:t.find((function(e){return e.name===a.work_location2}))||s,selectRow:!1}},mounted:function(){this.loadData()},methods:{goBack:function(){this.$router.push({name:"menu",params:this.$route.params})},loadData:function(){var e=this;this.wait=!0;var t=this.$route.params.token;S("incidents?open_records=true",{token:t}).then((function(t){e.wait=!1,e.rows=t.rows||[],e.filterRows()}))},filterRows:function(){var e=this.location,t=e.name,a=e.sedeid;t&&this.itemAll.name!==t?this.rowsFilter=this.rows.filter((function(e){return e.sede_id===a})):this.rowsFilter=this.rows.slice(0)},selectLocationClick:function(e){if(e.name===this.location.name)return!1;this.location=e,this.filterRows()},rowClick:function(e){this.selectRow=e},handleClosedModal:function(e){this.selectRow=!1,e&&this.loadData()}}},pt=ft,vt=(a("548e"),Object(d["a"])(pt,ot,nt,!1,null,"238e2b57",null)),ht=vt.exports;n["default"].use(C["a"]);var gt=new C["a"]({routes:[{path:"/",name:"login",component:F},{path:"/start",name:"start",component:Q,props:!0},{path:"/triage",name:"triage",component:ve},{path:"/sign",name:"sign",component:Be},{path:"/sign-ok",name:"sign-ok",component:Ne},{path:"/result",name:"result",component:_e},{path:"/documents",name:"documents",component:st},{path:"/incidents",name:"incidents",component:ht},{path:"/menu",name:"menu",component:$e},{path:"/people",name:"people",component:Ge}]});gt.beforeEach((function(e,t,a){var s=Boolean(e.params.user);"login"===e.name||s?a():a({name:"login"})}));var bt=gt;n["default"].config.productionTip=!1,n["default"].use(o),n["default"].use(f["a"]),n["default"].use(v.a),n["default"].use(a("2ead"),{moment:A.a}),n["default"].use(g.a,{id:"UA-164387386-1",router:bt}),new n["default"]({el:"#app",router:bt,render:function(e){return e(m)}})},"5cae":function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAABGUlEQVRYhe3XsUpDMRTG8f8nbtKl1cEHKDj6BoJLBV9Atz6Guy/i3sVRQbuJk4KrFrpW0EEcFY8EUmyPuVXbm7rkgywhN/kl91zCxWUNuAFswdYH1s2MVJvMqgPsA2/Appf9IR3gJCAk7ZrZ06xHPaAJjMxsNO/qkl7iKQ6By4h4rhq/Mv9GZ+YdOATuI6K1bEB412PEA3AhqblUgEMMqhC+BurKhqTuxFznwHFE7ACvOQGP8dgPXP8dsA3sAb1sADO7jot8i6RTYKogs9bAb1IABVAABVAA/w5IXUZtSUeZ1msDZz8BGsBWJkDDd6QAt2bWTfQvnHgdT6UUYQEUgAd8pL7VGhPmDmtUJgy4quH3vKqFub82CHwCN7xzOUDNUegAAAAASUVORK5CYII="},"603b":function(e,t,a){"use strict";var s=a("6ae6"),o=a.n(s);o.a},"649b":function(e,t,a){},"6ae6":function(e,t,a){},"6ddd":function(e,t,a){"use strict";var s=a("ef75"),o=a.n(s);o.a},"6e5d":function(e,t,a){e.exports=a.p+"img/headerIcon-white.2345684f.png"},"785b":function(e,t,a){},9015:function(e,t,a){"use strict";var s=a("de25"),o=a.n(s);o.a},"917e":function(e,t,a){"use strict";var s=a("4674"),o=a.n(s);o.a},"927d":function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIMAAAB3CAYAAAAgnvNpAAAH/0lEQVR4nO2dCaxdUxSGv/O0Zi0PCYKYStCiTUgpQQmpoUgFEfNQqSGGqFJTgqAoMSWItgmCUEMMEUOQoERp8agaa6jGUOrp8Fr63pUd6x3XzTkPZ7h7nbvXl9w07970nHX2/e/ea++19l4YhmEYhmH8B6I8jVSr1dI+GgocDowDNgz0i3gGmAY8Dyxt5o2jKNvXWrQY2oG9gfHA7nmu3UJcALwMzAVWNOOxNIhhIHARMDHPNVuUHuA44Emgq+xH9C2G/sAdwNg81wuAM4F7gO4yHzWrGNoKuv9dwMkFXauVmQycrvX5+hVwjeuBY6R3SONpoANYkrc3UkpvF7kxsB+wQ4qZawD7Ao8CP2t7lCKGideAPRM+duPkocBC4AdgcdndowJWEyd6S+BaYJcEk34DbgcuK8vcrMNE3p7BPdTghPfnA6cCL+S8fhX5UWYOC8WZHiUi6WUAsA+wCbBA0/Pl9RnOANZteG8Z8FSgQqhnpoihM+Gz7YET/JmWTF4xJPkJs8ShNOBjYAbwe0NbuKFkpLb2KWo2Uc9n4iwaf3Er8E1CW6yqrX3KEENfs4oQeTXFNyij7XNRhkGpAYuASWrnZdqaQ506W5QvZRm6JtNr11O8pO1Ri1h0Mv4dtzr7NnCp+A9XmBjCxS3ATZWVx25ZeOrR1homhubR1Y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1hJ5hfoVKE1imU4m4tLfHK1Kw5CvgO58GhOBAuuIcR0i9x4Nl34SWk9+iutNhXTnGr30aE8psokN+ec9IprSW6WUkQ9hsDXs5QlpncOPx+wrsUIutQBoxJgYjxsRgxJgYjBgTgxFThhiqcpy/0UAZYgit7lXLUIYYDgRuC7Q9K01eMUwDfml4b6Dser4swPasNHnFcLWcSdTImsB44BZgi3Cbt1rkHd/nAdeKKBqLgrmkkvOArYAPZOt5PZG8PpeyQWXi7nOiCFNjwXUXTJvs24ginL17gWHA2JSZxGh5pdEpwZqHC7AljbOB64C1SrxHXlygaqrPgqdFOZDT5Pi6LL8652M8VOK5S8OBScqFgPQMQ3waUJQYZgITgenADxn+/yIpS1z02Yy9p71VJdOp3efNi5xadkhl2YtEEP+njO8imZUUHdOvSUnhLAJtNkt821nGOsN9kuXrZhILxXHs7uP1PXBDiTWgnUifldS3vuzw/bqqVetaul/5NcCNdV3/ag3DQCSNv0KOyS2TS4Ar5ZzFfgrrWi6XNvCajlfm0vFyeWUhKth/6GqC4CqP1qjlHyl5ir4P/9bG7wnrN5nRKoY5CcvcVOik12axjVTXLwStYuhIOVDbrWoOth4iZpS0RyFoFcPSFH+jXZa+tTmAPthJ9oMMKOremjOd3pRpZz1uRnI4cIxf07yzs8SEhhZpSK7utlYr9QfqhDoFOCnl8zHAAhFMp9IAVFFE4i+5nnE94GZg94Rru950dhRFe2S5r+asJPflviNBrqRl2sfkXxcTeVs861oL+hM1+WFsCOwrw0Mas2ToyITmnqGX04A7ZIgw0nGnv9wEXB9F2b7WKmRHu4joBAV2aOd+EUNmqtAzIJlTB0nQyfgniyRi/GDv0QOt3DMgQaynpBThKwrs0YILBu4lvULuMyiq0jPUM1gysF1m1bY+DFCAyx+5B3g6KeydtWcwDMMwjDSAPwGxlJ4VVvhaTgAAAABJRU5ErkJggg=="},"93e4":function(e,t,a){"use strict";var s=a("d25b"),o=a.n(s);o.a},a8da:function(e,t,a){"use strict";var s=a("2333"),o=a.n(s);o.a},abab:function(e,t,a){"use strict";var s=a("785b"),o=a.n(s);o.a},ac51:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMkAAAA6CAYAAAAawH2yAAAACXBIWXMAAAsSAAALEgHS3X78AAALi0lEQVR4nO1dvW4bORBmDtdLygtYyAtYgK+3C6eOUjhtdI1dRqnsLkqnVKeUcRO5dRq5doCTextRHiAH6wVs+Ql42NzQmDAkZ4Y/K+ewH7BwIu2SM8OZ4cyQSz3SWqsE7MDVU0q1Pc3MlVIL+LtK6cyDUN8cLArRFaLXyKzruWeBZHaduf829G3jOlNfvvYxcvVlMCL6mia1XhmJ8NrRWk+11istx0xrPYjo03V1tdbzCBpcWAFtQ611OxN9+KponWitryNoW2SkaxQYt1WmPiYMnkYZZbvDGNskvqTE5FLKSln6CYS3IxWOi2kmhelCWzmwSlSuEYOGSWGFNchpJDNGf8PSRtJmeocYzCOVcViIHowVDHqscIeRsy2Fyjn0Iujh0pLC84LZRy4j6QpkFt3Pb0Q01oW4+FVSTOfHNsSMVAzroqs0Wkqpv5VSA2E/bYiB/4I2cmNDKfVFSFdPQMskkt6hUmoz8tlYDJnPVTLrx3YSMpIeJI+lGW+BIUoMRWpUKZgI+msDLy9roOujwFAkhY1NIhF2oRvxTCraQkfBNaif4DOSioBZIU/oQoyh1IWWwLtOa/amEkORYCicrSc16opBX9jndmwE8rvn8zlMURJcoNJeF65twfMtMMxezSVZDrahbDsP3FspyjNhu19BXgtUOpWERgoMxZSMc6EFBl/xTKEfwXcOxMxcw6gZxZGocKogOCEaBJLvNnwvqUTNGMkUVWXjJIY9oI1bsZsG2uJWdTSqUnUD7fWFlcRrogAioQ+DqkDGVhlTE/dYfqLKwbHVAh1RVpMYH1VhyWEk+BowaApVSLiKMhMOUl9QlQrxXEqpYqueqUbCKfv6IF6nsz/g1vRjFwQ5yqjBCOo0Ei7vKTyFZqLQ1WMaSkihY42kgm/tpJfQZoqRUI6ccljicjBO3NvMqsyfCcv8U3iewvYakn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Njayw/ELLk6IALHWj7Cj33CT730SyRawlgWh8DDZe2A5WGWx0Q8BUowy18fqyUOgArPGS0cwUC3AKDsHELhBpiD+HeW3+TxbCH+u4w+ePyaSOXfH04grYOhTMpB/tA/z/o3iOg2zVuKXItgYqOp8iR3But1EiMII4d330GAfmmcwmOoa0xeJkx+qxuGGV6mpE/H+qQ7yf4u5uH5HuY2WYMM+eYmB3qlKsEZva7dyK2kdhxmh0rGqZ9Hv2KmF4NtoCIzwHFPwDvew73HOWSggCYziskQK7X4/CJkUu+IRhl9rVh6wA3zP2MjHsXZHTjCJtVBrmWhBkn70xix6MvrO/N4PkEbKZP1yDjxPASBGO3j4GFfhQZaqXGuca7GTreAR0hryflEyNFvlyYxNTXhq0DEud0AM+8QzPWvmPWipFrLKQ6YMLie/lIw63jADO70IErVFAooT2A///DGOwDGKRPgXtuoS1XBabDTDpdwFPuKaoydYBPX0wfw6dBiny5MHSHZJqKI5CDMTCcj8XKlcIVagPjiXAM9uDeezlLjeQWGDclSmOle6iy8Y5o4xiuMVMgVHvmnidWaHAeiO85MPnBC8uzPgY5UKGBlE+VSb4hjIGvdzBT58Q+lHyxXJ4AT9ggU+Xqg5mNcHh3CM6FowMdkPkWcnD/Ad73PYV3ejvM94P3tNbn6F3gG6312HPvIdyzZ31+Cc/hz7fgXl9b5hnXd/ta62+IpnNHn5geFwz/HWjr0tPXGJ7djeSzA/eeZpCv7zp18HcOcnI947rfwCVHl/zH1nOXDr6lct1yk+SU9ZYlt28wLq6+bhztnUIbP9zbvJnYoAGBZltKgwYhKKX+BRn5/ZScJ9lkAAAAAElFTkSuQmCC"},ac55:function(e,t,a){e.exports=a.p+"img/logo_qroma.ce0a2279.png"},b88f:function(e,t,a){},bfb9:function(e,t,a){"use strict";var s=a("4219"),o=a.n(s);o.a},c26e:function(e,t,a){},c300:function(e,t,a){"use strict";var s=a("4ad2"),o=a.n(s);o.a},c36e:function(e,t,a){e.exports=a.p+"img/resultIcon.202d47a5.png"},cf55:function(e,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GXRFWHRTb2Z0d2FyZQB3d3cuaW5rc2NhcGUub3Jnm+48GgAAAABJRU5ErkJggg=="},d25b:function(e,t,a){},d6c5:function(e,t,a){"use strict";var s=a("b88f"),o=a.n(s);o.a},d9e9:function(e,t,a){e.exports=a.p+"img/logo-triaje.d7b89a33.png"},dc48:function(e,t,a){"use strict";var s=a("096c"),o=a.n(s);o.a},de25:function(e,t,a){},df67:function(e,t,a){"use strict";var s=a("649b"),o=a.n(s);o.a},eb21:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAHowAAB6MBMC+yxQAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAAKrSURBVFiFvZdLiI1hGMd/f2FyOcqthjRNM42wwAYbRRYotw0ZUzQbk9gIC7Kb2dhQs3BZSdkoQqRGw2yYSB1iahJTyMK4zOSSpsnM/C3e73Dmc86cu6feOt/zve/z/533eS/Ph21SDZgBJAGX2LqAeemxs7XJjLctwC9gAcXbJuAS0CVpg+0vE3WOA8wB+m33F6su6RthFt8A9yOIgWz9JxUrlMNGgD3AqwhibkUAJB2StDHTO9spiNfAPUlzygogqQZoAS5k65MG0ZcNIr4GCrUBYEoG/3xJzWnPd4G2CGKd7R/lAHgP1AM9Mf9HwrQ3xvzPgZXAZuBqyQC2LekaMDPmfxSJ/GOSbgLjFmSpu6AeaJJUW2yAUhbhbGA9cB64KEn/FQDYCXQCJ4BpwMFigpSyCJuAdtujkvYC3ZJeAFOBH7afVAxA0iJgOfBYUhOwHagiXEJ9QK+kEdu7c8UqNgX7gemEo3YXcAeoBZYCz4BVhPTktIJmQFId0E648fYBt23/TOvylbArqmwPlxVA0grgATAInLV9JVvffMWhsBS0ArcIuW4rYFzZAC4RCpXVtgfLBZB3CmzfAG6USzhllSpI8rZMM9Ag6XiF9BqAjlwACWBJhQAScUcmgKe2myuhHl3HOQEyDTwH1BCKjZOErXgZ+E44ek/Z7pe0BTgCpCqeFtufJoqd7y5YBhwAqoEzhDNhzPZWSWuBTklrgPlAj+3DecYteBeMxh22HxJKsNWRa7GkRknb8glYyF1wGvgAHANmxd4tBMai38OEO2Go3ABHbb8EkPQHQNIGwvpIAnXAO9sdmUMUD9DL+H80FIlfJxQgO2z/lPQZeJuveCaAMSAhqTrmb40EU/5hYmV39C4JJDOMT1mCv6kKFvs8TwDdlP55nq11A4l0zd9SmB9HlDFBKQAAAABJRU5ErkJggg=="},ef75:function(e,t,a){},f818:function(e,t,a){"use strict";var s=a("0698"),o=a.n(s);o.a},faeb:function(e,t,a){e.exports=a.p+"img/COVIDSearch.0acdc71b.png"},fe74:function(e,t,a){"use strict";var s=a("3c35"),o=a.n(s);o.a}}); //# sourceMappingURL=app.987a90d9.js.map