1"use strict";(self.webpackChunkchibana_app=self.webpackChunkchibana_app||[]).push([[6918],{64539:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{Z:()=>TextInput});var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(50390),_mui_material__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(50642),_mui_material__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(56155),_mui_material__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(67642),_mui_material__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__(43463),_mui_icons_material__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__(45173),_mui_icons_material__WEBPACK_IMPORTED_MODULE_9__=__webpack_require__(43692),_mui_material_Unstable_Grid2__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(89122),_mui_styles__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(50807),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(62559);const StyledInput=(0,_mui_styles__WEBPACK_IMPORTED_MODULE_2__.Z)({"&:focus":{border:"2px solid #3248CA",borderRadius:"64px"}})(_mui_material__WEBPACK_IMPORTED_MODULE_3__.Z);class TextInput extends react__WEBPACK_IMPORTED_MODULE_0__.Component{constructor(e){super(e),this.state={errorText:"",error:!1,value:e.value,showPassword:!1},this.handleClickShowPassword=this.handleClickShowPassword.bind(this),this.handleMouseDownPassword=this.handleMouseDownPassword.bind(this)}onChange(e){e.target.value.match(this.props.pattern)?(this.props.updateMethod(this.props.stepName,this.props.attributeName,e.target.value),this.state.error&&this.setState({error:!1,errorText:""})):this.props.updateMethod(this.props.stepName,this.props.attributeName,void 0)}onBlur(e){e.target.value.match(this.props.pattern)?(this.props.updateMethod(this.props.stepName,this.props.attributeName,e.target.value),this.state.error&&this.setState({error:!1,errorText:""})):(this.props.updateMethod(this.props.stepName,this.props.attributeName,void 0),this.state.error||this.setState({error:!0,errorText:"Formato inv\xe1lido"}))}handleClickShowPassword(){this.setState({showPassword:!this.state.showPassword})}handleMouseDownPassword(e){e.preventDefault()}render(){const{showPassword:showPassword}=this.state,grid=this.props.grid;return void 0==this.props.type||"text"===this.props.type?grid?(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)(_mui_material_Unstable_Grid2__WEBPACK_IMPORTED_MODULE_4__.Z,{container:!0,xs:12,sx:{margin:{xs:"5px 0px 0px 0px",sm:"10px 0px 0px 0px"},maxWidth:{xs:"100%",sm:"322px"}},display:"flex",justifyContent:"center",alignItems:"center",children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_mui_material_Unstable_Grid2__WEBPACK_IMPORTED_MODULE_4__.Z,{xs:12,sx:{marginBottom:{xs:"3px",sm:"5px"}},children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("span",{className:"TextTinyMedium",sx:{fontSize:{xs:"12px",sm:"14px"}},children:eval("`"+this.props.label+"`")})},this.props.stepName+"-"+this.props.name+"-title"),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_mui_material_Unstable_Grid2__WEBPACK_IMPORTED_MODULE_4__.Z,{xs:12,fullWidth:!0,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("div",{className:"TextField-with-border",children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_mui_material__WEBPACK_IMPORTED_MODULE_3__.Z,{fullWidth:!0,id:this.props.stepName+"-"+this.props.attributeName+"-input",color:"primary",required:!0,disabled:!!this.props.disabled,error:this.state.error,label:this.state.errorText,onChange:this.onChange.bind(this),onBlur:this.onBlur.bind(this),placeholder:this.props.placeholder,autoComplete:this.props.autoComplete,defaultValue:this.props.defaultValue,className:"TextRegularNormal mentialInput",sx:{marginTop:"0px",borderRadius:"64px","& .MuiInputBase-input":{fontSize:{xs:"14px",sm:"16px"},padding:{xs:"12px 16px",sm:"14px 18px"}},"& .MuiInputLabel-root":{fontSize:{xs:"11px",sm:"12px"}},"& .MuiFormHelperText-root":{fontSize:{xs:"10px",sm:"11px"}},errorText:{borderColor:"red",borderWidth:2}}},this.props.stepName+"-"+this.props.attributeName+"-input")})},this.props.stepName+"-"+this.props.name+"-item")]},this.props.stepName+"-"+this.props.name+"-container"):(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("div",{className:"TextField-with-border",children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_mui_material__WEBPACK_IMPORTED_MODULE_3__.Z,{fullWidth:!0,id:this.props.stepName+"-"+this.props.attributeName+"-input",color:"primary",required:!0,disabled:!!this.props.disabled,error:this.state.error,label:this.state.errorText,onChange:this.onChange.bind(this),onBlur:this.onBlur.bind(this),placeholder:this.props.placeholder,autoComplete:this.props.autocomplete,defaultValue:this.props.defaultValue,className:"TextRegularNormal mentialInput",sx:{marginTop:"5px",borderRadius:"64px","& .MuiInputBase-input":{fontSize:{xs:this.props.mobileFontSize||"14px",sm:"16px"},padding:{xs:this.props.mobilePadding||"12px 16px",sm:"14px 18px"},height:this.props.mobileHeight?{xs:this.props.mobileHeight,sm:"auto"}:void 0,minHeight:this.props.mobileHeight?{xs:this.props.mobileHeight,sm:"auto"}:void 0},"& .MuiInputBase-root":this.props.mobileHeight?{height:{xs:this.props.mobileHeight,sm:"auto"},minHeight:{xs:this.props.mobileHeight,sm:"auto"}}:{},"& .MuiInputLabel-root":{fontSize:{xs:"11px",sm:"12px"}},"& .MuiFormHelperText-root":{fontSize:{xs:"10px",sm:"11px"}},errorText:{borderColor:"red",borderWidth:2}}},this.props.stepName+"-"+this.props.attributeName+"-input")}):grid?(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)(_mui_material_Unstable_Grid2__WEBPACK_IMPORTED_MODULE_4__.Z,{container:!0,fullWidth:!0,xs:12,sx:{margin:{xs:"8px 0px 8px 0px",sm:"15px 0px 15px 0px"}},display:"flex",justifyContent:"center",alignItems:"center",children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_mui_material_Unstable_Grid2__WEBPACK_IMPORTED_MODULE_4__.Z,{xs:12,sx:{marginBottom:{xs:"3px",sm:"5px"}},children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("span",{className:"TextTinyMedium",sx:{fontSize:{xs:"12px",sm:"14px"}},children:eval("`"+this.props.label+"`")})},this.props.stepName+"-"+this.props.name+"-title"),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_mui_material_Unstable_Grid2__WEBPACK_IMPORTED_MODULE_4__.Z,{xs:12,fullWidth:!0,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("div",{className:"TextField-with-border",children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_mui_material__WEBPACK_IMPORTED_MODULE_5__.Z,{fullWidth:!0,id:"outlined-adornment-password",type:showPassword?"text":"password",className:"TextRegularNormal",autoComplete:this.props.autoComplete||"new-password",sx:{marginTop:"5px",borderRadius:"64px",height:this.props.mobileHeight?{xs:this.props.mobileHeight,sm:"auto"}:void 0,minHeight:this.props.mobileHeight?{xs:this.props.mobileHeight,sm:"auto"}:void 0,"& .MuiInputBase-input":{fontSize:{xs:this.props.mobileFontSize||"14px",sm:"16px"},padding:{xs:this.props.mobilePadding||"12px 16px",sm:"14px 18px"},height:this.props.mobileHeight?{xs:this.props.mobileHeight,sm:"auto"}:void 0,minHeight:this.props.mobileHeight?{xs:this.props.mobileHeight,sm:"auto"}:void 0},"& .MuiFormHelperText-root":{fontSize:{xs:"10px",sm:"11px"}},errorText:{borderColor:"red",borderWidth:2}},onBlur:this.onBlur.bind(this),onChange:this.onChange.bind(this),disabled:!!this.props.disabled,placeholder:this.state.errorText||"Password",endAdornment:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_mui_material__WEBPACK_IMPORTED_MODULE_6__.Z,{position:"end",children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_mui_material__WEBPACK_IMPORTED_MODULE_7__.Z,{"aria-label":"toggle password visibility",onClick:this.handleClickShowPassword,onMouseDown:this.handleMouseDownPassword,edge:"end",children:showPassword?(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_mui_icons_material__WEBPACK_IMPORTED_MODULE_8__.Z,{}):(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_mui_icons_material__WEBPACK_IMPORTED_MODULE_9__.Z,{})})})})})},this.props.stepName+"-"+this.props.name+"-item")]},this.props.stepName+"-"+this.props.name+"-container"):(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("div",{className:"TextField-with-border",children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_mui_material__WEBPACK_IMPORTED_MODULE_5__.Z,{fullWidth:!0,id:"outlined-adornment-password",type:showPassword?"text":"password",className:"TextRegularNormal",autoComplete:this.props.autoComplete||"new-password",sx:{marginTop:"5px",borderRadius:"64px",height:this.props.mobileHeight?{xs:this.props.mobileHeight,sm:"auto"}:void 0,minHeight:this.props.mobileHeight?{xs:this.props.mobileHeight,sm:"auto"}:void 0,"& .MuiInputBase-input":{fontSize:{xs:this.props.mobileFontSize||"14px",sm:"16px"},padding:{xs:this.props.mobilePadding||"12px 16px",sm:"14px 18px"},height:this.props.mobileHeight?{xs:this.props.mobileHeight,sm:"auto"}:void 0,minHeight:this.props.mobileHeight?{xs:this.props.mobileHeight,sm:"auto"}:void 0},"& .MuiFormHelperText-root":{fontSize:{xs:"10px",sm:"11px"}},"& .MuiOutlinedInput-notchedOutline":{borderColor:"#E5E7EB"},"&:hover .MuiOutlinedInput-notchedOutline":{borderColor:"#3248CA"},"&.Mui-focused .MuiOutlinedInput-notchedOutline":{borderColor:"#3248CA",borderWidth:"2px"},errorText:{borderColor:"red",borderWidth:2}},onBlur:this.onBlur.bind(this),onChange:this.onChange.bind(this),disabled:!!this.props.disabled,placeholder:this.state.errorText||"Password",endAdornment:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_mui_material__WEBPACK_IMPORTED_MODULE_6__.Z,{position:"end",children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_mui_material__WEBPACK_IMPORTED_MODULE_7__.Z,{"aria-label":"toggle password visibility",onClick:this.handleClickShowPassword,onMouseDown:this.handleMouseDownPassword,edge:"end",sx:{color:"#6B7280","&:hover":{color:"#3248CA"}},children:showPassword?(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_mui_icons_material__WEBPACK_IMPORTED_MODULE_8__.Z,{}):(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_mui_icons_material__WEBPACK_IMPORTED_MODULE_9__.Z,{})})})})})}}},19333:(e,t,i)=>{i.d(t,{RY:()=>o,qs:()=>_,tq:()=>a});var s=i(31504);const r=new s.UAParser(window.navigator.userAgent),a=function(){return window.innerWidth<850},o=function(){return window.innerWidth<450},_=()=>r.getResult().browser.name},76918:(e,t,i)=>{i.r(t),i.d(t,{default:()=>R});var s=i(1413),r=i(14169),a=i(10285),o=i(19333),_=i(97747),n=i(5858),l=i(74362),p=i(89122),d=(i(22768),i(61921)),m=i(77539),h=i(50390),x=i(15255),u=i(15545),c=i(63868),E=(i(80),i(85740),i(47806)),g=i(68212),M=i(55152),P=i(64539),b=i(53810),D=i(14476),O=i(39375),f=i(98472),C=i(62559);const j=(0,E.ZP)("div")((e=>{let{theme:t}=e;return{display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",height:"100%","& .ant-empty-img-1":{fill:"light"===t.palette.mode?"#aeb8c2":"#262626"},"& .ant-empty-img-2":{fill:"light"===t.palette.mode?"#f5f5f7":"#595959"},"& .ant-empty-img-3":{fill:"light"===t.palette.mode?"#dce0e6":"#434343"},"& .ant-empty-img-4":{fill:"light"===t.palette.mode?"#fff":"#1c1c1c"},"& .ant-empty-img-5":{fillOpacity:"light"===t.palette.mode?"0.8":"0.08",fill:"light"===t.palette.mode?"#f5f5f5":"#fff"}}})),w=()=>(0,C.jsxs)(j,{children:[(0,C.jsx)("svg",{width:"80",height:"70",viewBox:"0 0 184 152","aria-hidden":!0,focusable:"false",children:(0,C.jsxs)("g",{fill:"none",fillRule:"evenodd",children:[(0,C.jsxs)("g",{transform:"translate(24 31.67)",children:[(0,C.jsx)("ellipse",{className:"ant-empty-img-5",cx:"67.797",cy:"106.89",rx:"67.797",ry:"12.668"}),(0,C.jsx)("path",{className:"ant-empty-img-1",d:"M122.034 69.674L98.109 40.229c-1.148-1.386-2.826-2.225-4.593-2.225h-51.44c-1.766 0-3.444.839-4.592 2.225L13.56 69.674v15.383h108.475V69.674z"}),(0,C.jsx)("path",{className:"ant-empty-img-2",d:"M33.83 0h67.933a4 4 0 0 1 4 4v93.344a4 4 0 0 1-4 4H33.83a4 4 0 0 1-4-4V4a4 4 0 0 1 4-4z"}),(0,C.jsx)("path",{className:"ant-empty-img-3",d:"M42.678 9.953h50.237a2 2 0 0 1 2 2V36.91a2 2 0 0 1-2 2H42.678a2 2 0 0 1-2-2V11.953a2 2 0 0 1 2-2zM42.94 49.767h49.713a2.262 2.262 0 1 1 0 4.524H42.94a2.262 2.262 0 0 1 0-4.524zM42.94 61.53h49.713a2.262 2.262 0 1 1 0 4.525H42.94a2.262 2.262 0 0 1 0-4.525zM121.813 105.032c-.775 3.071-3.497 5.36-6.735 5.36H20.51
15c-3.238 0-5.96-2.29-6.734-5.36a7.309 7.309 0 0 1-.222-1.79V69.675h26.318c2.907 0 5.25 2.448 5.25 5.42v.04c0 2.971 2.37 5.37 5.277 5.37h34.785c2.907 0 5.277-2.421 5.277-5.393V75.1c0-2.972 2.343-5.426 5.25-5.426h26.318v33.569c0 .617-.077 1.216-.221 1.789z"})]}),(0,C.jsx)("path",{className:"ant-empty-img-3",d:"M149.121 33.292l-6.83 2.65a1 1 0 0 1-1.317-1.23l1.937-6.207c-2.589-2.944-4.109-6.534-4.109-10.408C138.802 8.102 148.92 0 161.402 0 173.881 0 184 8.102 184 18.097c0 9.995-10.118 18.097-22.599 18.097-4.528 0-8.744-1.066-12.28-2.902z"}),(0,C.jsxs)("g",{className:"ant-empty-img-4",transform:"translate(149.65 15.383)",children:[(0,C.jsx)("ellipse",{cx:"20.654",cy:"3.167",rx:"2.849",ry:"2.815"}),(0,C.jsx)("path",{d:"M5.698 5.63H0L2.898.704zM9.259.704h4.985V5.63H9.259z"})]})]})}),(0,C.jsx)(n.Z,{sx:{mt:1},children:(0,C.jsx)("span",{className:"TextSmallLight",children:" No hay pacientes"})})]}),T=e=>{let{refreshPatients:t}=e;const i=new M.Z,[r,a]=h.useState({firstName:"",lastName:"",email:"",phoneNumber:""}),[o,_]=h.useState(!1),n=(e,t,i)=>{a((0,s.Z)((0,s.Z)({},r),{},{[t]:i}))};return(0,C.jsxs)(p.Z,{container:!0,sx:{borderRadius:"16px",background:"rgba(199,197,250,0.2)",padding:"16px"},gap:1,children:[(0,C.jsx)(p.Z,{item:!0,xs:12,children:(0,C.jsx)("span",{className:"TextLargeMedium",children:"Alta de paciente"})}),(0,C.jsx)(p.Z,{item:!0,xs:12,children:(0,C.jsxs)(p.Z,{container:!0,gap:1,children:[(0,C.jsx)(p.Z,{item:!0,xs:12,sm:3,children:(0,C.jsx)(P.Z,{grid:!0,updateMethod:n,label:"Nombre",attributeName:"firstName",placeholder:"Nombre",defaultValue:r.firstName})}),(0,C.jsx)(p.Z,{item:!0,xs:12,sm:3,children:(0,C.jsx)(P.Z,{grid:!0,updateMethod:n,label:"Apellidos",attributeName:"lastName",defaultValue:r.lastName,placeholder:"Apellidos"})}),(0,C.jsx)(p.Z,{item:!0,xs:12,sm:4,children:(0,C.jsx)(P.Z,{grid:!0,updateMethod:n,defaultValue:r.email,label:"Correo electr\xf3nico",attributeName:"email",placeholder:"Email"})}),(0,C.jsx)(p.Z,{item:!0,xs:12,sm:3,children:(0,C.jsx)(b.Z,{updateMethod:n,grid:!0,defaultValue:r.phoneNumber,label:"Tel\xe9fono",attributeName:"phoneNumber",placeholder:"Tel\xe9fono"})}),(0,C.jsx)(p.Z,{item:!0,xs:12,sx:{marginTop:"10px"},children:(0,C.jsx)(D.Z,{variant:"contained",color:"four",loading:o,className:"buttonContinue",disabled:""===r.firstName||""===r.lastName||""===r.email||""===r.phoneNumber,style:{borderRadius:64,fontFamily:"Inter",color:"white",fontWeight:500,fontSize:"17px",padding:"15px",textTransform:"none",lineHeight:"20px",minWidth:"160px"},onClick:()=>{_(!0),g.Z.post(i.apihostEnv+"/partners/patients",r).then((e=>{t(),a({firstName:"",lastName:"",email:"",phoneNumber:""}),document.getElementById("undefined-firstName-input").value="",document.getElementById("undefined-lastName-input").value="",document.getElementById("undefined-email-input").value=""})).catch((e=>{console.log("Error")})).finally((()=>{_(!1)}))},children:"Registrar"})},"button")]})})]})};function I(e){let{}=e;const t=new M.Z,[i,s]=h.useState([]),a=()=>{(0,g.Z)(t.apihostEnv+"/partners/patients").then((e=>{const t=e.data.patients.map((e=>({id:e.userId,fullName:e.firstName+" "+e.lastName,email:e.email,phoneNumber:e.phoneNumber})));s(t)})).catch((e=>{console.log("Error")}))};return(0,h.useEffect)((()=>{a()}),[]),(0,C.jsx)(r.Z,{sx:{margin:"0",padding:"0"},children:(0,C.jsxs)(p.Z,{container:!0,xs:12,md:10,sx:{margin:{xs:"0px 0px",md:"40px 0px"}},children:[(0,C.jsx)(p.Z,{item:"hello",xs:12,children:(0,C.jsx)("span",{className:"HeadingXLarge",children:" Pacientes"})}),(0,C.jsx)(p.Z,{item:!0,xs:12,children:(0,C.jsx)(T,{refreshPatients:a})}),(0,C.jsx)(p.Z,{container:!0,xs:12,sx:{marginTop:"10px"},children:(0,C.jsx)(p.Z,{item:!0,xs:12,children:(0,C.jsx)(O._$,{disableRowSelectionOnClick:!0,rows:i,localeText:f._.components.MuiDataGrid.defaultProps.localeText,slots:{noRowsOverlay:w},columnVisibilityModel:{id:!1},sx:{padding:"6px",background:"rgb(247,249,252)",minHeight:"250px",borderRadius:"16px"},columns:[{field:"id",headerName:"ID",width:300,hideable:!1},{field:"fullName",headerName:"Nombre y apellidos",width:250},{field:"email",headerName:"Correo electr\xf3nico",width:250},{field:"phoneNumber",headerName:"Tel\xe9fono",width:150}],initialState:{pagination:{paginationModel:{page:0,pageSize:25}}},pageSizeOptions:[5,10]})})})]})})}var N=i(60694),B=i(30519),A=i(15034);const R=(0,x.$j)((function(e){return{userDetails:e.auth.userDetails,communications:e.programs.communications}}),null)((W=function(e){let{userDetails:t}=e;const[i,s]=h.useState({title:"Tu programa"}),[E,g]=h.useState(void 0),[M,P]=h.useState(void 0),[b,D]=h.useState(!0),[O,f]=h.useState(!1),j=(0,x.I0)();if(window.signout=()=>{const e=null===t||void 0===t?void 0:t.role;(0,N.signOut)((0,N.getAuth)()).then().catch().finally((()=>{j((0,B.XN)(void 0)),sessionStorage.removeItem("id_token"),D(!1),window.location.href="SPECIALIST"===e||"SUPERVISOR"===e?"/login-practitioner":"/login"}))},(0,h.useEffect)((()=>{(0,N.onAuthStateChanged)((0,N.getAuth)(),(e=>{D(!!e),f(!0)}))}),[]),!t)return(0,C.jsx)(u.Fg,{to:"/login",state:{lastPath:window.location.pathname}});const w=t.fullname.split(" "),T=w.length>1?w[0].charAt(0).toUpperCase()+w[1].charAt(0).toUpperCase():w[0].charAt(0).toUpperCase()+w[0].charAt(1).toUpperCase(),R=[{icon:c,text:"Gesti\xf3n de usuarios",componentName:"Patients"}];let W,U=null;function v(e,t){let i;R.forEach((t=>{t.text==e?(t.selected=!0,i=t):t.selected=!1}));let r="/gestion/"+i.text.toLowerCase();s(i),void 0!==t?(g(t),r=r+"/"+t):g(void 0),window.history.pushState({},null,r)}return i.title,W="Patients",U=(0,C.jsx)(I,{}),O?b?(0,C.jsxs)(r.Z,{style:{margin:"0",padding:"0",maxWidth:"none"},children:[(0,C.jsxs)(a.q,{children:[(0,C.jsx)("meta",{charSet:"utf-8"}),(0,C.jsx)("title",{children:"Portal del colaborador - Mential"}),(0,C.jsx)("meta",{name:"description",content:"Portal del colaborador - Mential"}),(0,C.jsx)("link",{rel:"canonical",href:"http://app.mential.io/gestion"})]}),(0,o.tq)()?(0,C.jsx)(_.Z,{}):null,(0,C.jsxs)(n.Z,{sx:{display:"flex"},children:[(0,o.tq)()?null:(0,C.jsx)(l.Z,{fullname:t.fullname,role:t.role,accountViews:R.filter((e=>!0!==e.menuHidden)),currentView:i,displayMenu:!0,totalChatUnreadMessages:void 0,totalCommunityUnreadMessages:void 0,pendingTasksCount:void 0,onClickView:v,cleanParams:function(){window.lastPatientProgramId=void 0,g(void 0),P(void 0)}}),(0,C.jsxs)(p.Z,{container:!0,xs:12,display:"flex",sx:{margin:"15px",maxWidth:"1200px"},children:[(0,o.tq)()&&!0!==i.titleHidden?(0,C.jsx)(p.Z,{container:!0,display:"flex",textAlign:"center",xs:!0!==i.titleHidden&&"PATIENT"===t.role&&"Perfil"!==W?2:12,justifyContent:!0!==i.titleHidden&&"PATIENT"===t.role&&"Perfil"!==W?"left":"right",children:(0,C.jsx)(p.Z,{xs:2,item:!0,sx:{marginTop:"0px"},children:(0,C.jsx)("div",{style:{position:"absolute",top:"75px",right:"15px",backgroundColor:"#0E2B47",width:"45px",height:"43px",color:"#FFFFFF",cursor:"pointer",borderRadius:"12px"},onClick:()=>{v("Perfil")},children:(0,C.jsx)("span",{className:"TextMediumSemibold",style:{color:"#FFFFFF",lineHeight:"43px"},children:T})})})},"userDetailContainer"):null,U]},"ContainerView"),(0,o.tq)()?(0,C.jsx)(d.Z,{accountViews:R.filter((e=>!0!==e.menuHidden)),currentView:i,displayMenu:!0,totalChatUnreadMessages:void 0,totalCommunityUnreadMessages:void 0,onClickView:v}):null]}),(0,o.tq)()?(0,C.jsx)("div",{style:{height:"60px"}}):null,(0,C.jsx)(m.Ix,{})]},"mainContainer"):(0,C.jsx)(u.Fg,{to:"/login",state:{lastPath:window.location.pathname}}):(0,C.jsx)(A.Z,{})},e=>(0,C.jsx)(W,(0,s.Z)((0,s.Z)({},e),{},{params:(0,u.UO)()}))));var W}}]); 2//# sourceMappingURL=6918.8f22f886.chunk.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.