1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5396],{95396:function(n,o,e){"use strict";e.r(o),e.d(o,{IntercomAPI:function(){return s}});var l=e(85893),t=e(67294),d=e(4298),i=e.n(d),u=e(2664);let r=!!window.document&&!!window.document.createElement,s=function(){for(var n=arguments.length,o=Array(n),e=0;e<n;e++)o[e]=arguments[e];r&&window.Intercom?window.Intercom.apply(null,o):console.warn("Intercom not initialized yet")};o.default=(0,u.$j)(n=>({user:n.auth.user}))(n=>{let{appID:o="u3f7fydw",user:e}=n,d=(0,t.useMemo)(()=>{var n,l,t,d,i,u,r;let s={professional:{"Eu sou":"Psic\xf3logo",CRP:null==e?void 0:e.prof_register,Endereco:null==e?void 0:null===(n=e.address)||void 0===n?void 0:n.street,Cidade:null==e?void 0:null===(l=e.address)||void 0===l?void 0:l.city,Estado:null==e?void 0:null===(t=e.address)||void 0===t?void 0:t.state,Slug:null==e?void 0:e.slug,Status:null==e?void 0:e.status_subscription,Plano:null==e?void 0:e.plan},patient:{"Eu sou":"Paciente",Endereco:(null==e?void 0:e.address)?null==e?void 0:null===(d=e.address)||void 0===d?void 0:d.street:null,Cidade:(null==e?void 0:e.address)?null==e?void 0:null===(i=e.address)||void 0===i?void 0:i.city:null,Estado:(null==e?void 0:e.address)?null==e?void 0:null===(u=e.address)||void 0===u?void 0:u.state:null,Status:null==e?void 0:e.status,"contract company":null==e?void 0:null===(r=e.contract)||void 0===r?void 0:r.company,origin:null==e?void 0:e.origin},default:{name:null==e?void 0:e.name,email:null==e?void 0:e.email,user_hash:null==e?void 0:e.intercom_hash,phone:null==e?void 0:e.full_phone,Sexo:null==e?void 0:e.gender,CPF:null==e?void 0:e.cpf,"Data de nascimento":null==e?void 0:e.birthday,Newsletter:null==e?void 0:e.newsletter}};return{app_id:o,custom_launcher_selector:"#open_intercom",...e&&{...s.default,...s[e.role]}}},[e,o]),u=(0,t.useCallback)(()=>{window.Intercom&&r&&(window.intercomSettings=d,window.Intercom("boot",window.intercomSettings))},[d]);return(0,t.useEffect)(()=>{window.Intercom&&r&&(window.intercomSettings=d,window.Intercom("update",d))},[e]),(0,l.jsx)(i(),{id:"intercom",strategy:"lazyOnload",src:"https://widget.intercom.io/widget/".concat(o),onLoad:u})})},4298:function(n,o,e){n.exports=e(23381)}}]); 2//# sourceMappingURL=5396.fdf34a6623b145e8.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.