PageSourceSearch

https://web.mantracare.com/_next/static/chunks/pages/account-524d49e60f451f44.js

js mantracare.com collected 2026-10-07 04:15:23 UTC 9,659 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7966],{76026:function(e,t,a){"use strict";a.d(t,{Z:function(){return i}});var r=a(35895);let i=(0,r.Z)("calendar",[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M3 10h18",key:"8toen8"}]])},62022:function(e,t,a){"use strict";a.d(t,{Z:function(){return i}});var r=a(35895);let i=(0,r.Z)("chart-column",[["path",{d:"M3 3v16a2 2 0 0 0 2 2h16",key:"c24i48"}],["path",{d:"M18 17V9",key:"2bz60n"}],["path",{d:"M13 17V5",key:"1frdt8"}],["path",{d:"M8 17v-3",key:"17ska0"}]])},56839:function(e,t,a){"use strict";a.d(t,{Z:function(){return i}});var r=a(35895);let i=(0,r.Z)("chevron-right",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]])},83255:function(e,t,a){"use strict";a.d(t,{Z:function(){return i}});var r=a(35895);let i=(0,r.Z)("circle-question-mark",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3",key:"1u773s"}],["path",{d:"M12 17h.01",key:"p32p05"}]])},42070:function(e,t,a){"use strict";a.d(t,{Z:function(){return i}});var r=a(35895);let i=(0,r.Z)("file-text",[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"M10 9H8",key:"b1mrlr"}],["path",{d:"M16 13H8",key:"t4e002"}],["path",{d:"M16 17H8",key:"z1uh3a"}]])},1460:function(e,t,a){"use strict";a.d(t,{Z:function(){return i}});var r=a(35895);let i=(0,r.Z)("house",[["path",{d:"M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8",key:"5wwlr5"}],["path",{d:"M3 10a2 2 0 0 1 .709-1.528l7-6a2 2 0 0 1 2.582 0l7 6A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z",key:"r6nss1"}]])},70698:function(e,t,a){"use strict";a.d(t,{Z:function(){return i}});var r=a(35895);let i=(0,r.Z)("log-out",[["path",{d:"m16 17 5-5-5-5",key:"1bji2h"}],["path",{d:"M21 12H9",key:"dn1m92"}],["path",{d:"M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4",key:"1uf3rs"}]])},64346:function(e,t,a){"use strict";a.d(t,{Z:function(){return i}});var r=a(35895);let i=(0,r.Z)("message-square",[["path",{d:"M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z",key:"18887p"}]])},8219:function(e,t,a){"use strict";a.d(t,{Z:function(){return i}});var r=a(35895);let i=(0,r.Z)("pencil",[["path",{d:"M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z",key:"1a8usu"}],["path",{d:"m15 5 4 4",key:"1mk7zo"}]])},14784:function(e,t,a){"use strict";a.d(t,{Z:function(){return i}});var r=a(35895);let i=(0,r.Z)("receipt",[["path",{d:"M12 17V7",key:"pyj7ub"}],["path",{d:"M16 8h-6a2 2 0 0 0 0 4h4a2 2 0 0 1 0 4H8",key:"1elt7d"}],["path",{d:"M4 3a1 1 0 0 1 1-1 1.3 1.3 0 0 1 .7.2l.933.6a1.3 1.3 0 0 0 1.4 0l.934-.6a1.3 1.3 0 0 1 1.4 0l.933.6a1.3 1.3 0 0 0 1.4 0l.933-.6a1.3 1.3 0 0 1 1.4 0l.934.6a1.3 1.3 0 0 0 1.4 0l.933-.6A1.3 1.3 0 0 1 19 2a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1 1.3 1.3 0 0 1-.7-.2l-.933-.6a1.3 1.3 0 0 0-1.4 0l-.934.6a1.3 1.3 0 0 1-1.4 0l-.933-.6a1.3 1.3 0 0 0-1.4 0l-.933.6a1.3 1.3 0 0 1-1.4 0l-.934-.6a1.3 1.3 0 0 0-1.4 0l-.933.6a1.3 1.3 0 0 1-.7.2 1 1 0 0 1-1-1z",key:"ycz6yz"}]])},30474:function(e,t,a){"use strict";a.d(t,{Z:function(){return i}});var r=a(35895);let i=(0,r.Z)("user",[["path",{d:"M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2",key:"975kel"}],["circle",{cx:"12",cy:"7",r:"4",key:"17ys0d"}]])},32907:function(e,t,a){(window.__NEXT_P=window.__NEXT_P||[]).push(["/account",function(){return a(98405)}])},91168:function(e,t,a){"use strict";var r=a(52322),i=a(1460),n=a(64346),s=a(30474),l=a(80630),o=a(5632);let c=()=>{let e=(0,o.useRouter)(),t=[{icon:i.Z,label:"Home",path:"/",id:"home-btn"},{icon:n.Z,label:"Care Team",path:"/chat",id:"chat-btn"},{icon:s.Z,label:"Profile",path:"/account",id:"profile-btn"}],a=t=>"/"===t?"/"===e.pathname:e.pathname.startsWith(t);return(0,r.jsx)("div",{className:"fixed bottom-0 left-0 right-0 bg-white border-t border-[#E2ECF5] md:hidden z-50",children:(0,r.jsx)("div",{className:"flex items-center justify-around px-4",children:t.map(t=>(0,r.jsxs)(l.E.button,{id:t.id,whileTap:{scale:.95},onClick:()=>e.push(t.path),className:"flex flex-col items-center gap-1 px-4 py-2 rounded-lg transition-colors ".concat(a(t.path)?"text-[#2563EB]":"text-[#64748B]"),children:[(0,r.jsx)(t.icon,{size:20,className:a(t.path)?"stroke-[2.5]":"stroke-2"}),(0,r.jsx)("span",{className:"text-xs ".concat(a(t.path)?"font-semibold":"font-medium"),children:t.label})]},t.path))})})};t.Z=c},98405:function(e,t,a){"use strict";a.r(t),a.d(t,{default:function(){return w}});var r=a(52322),i=a(91168),n=a(20530),s=a(66593),l=a(80630),o=a(35895);let c=(0,o.Z)("circle-user",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["circle",{cx:"12",cy:"10",r:"3",key:"ilqhr7"}],["path",{d:"M7 20.662V19a2 2 0 0 1 2-2h6a2 2 0 0 1 2 2v1.662",key:"154egf"}]]);var d=a(76026),h=a(42070);let u=(0,o.Z)("square-check-big",[["path",{d:"M21 10.656V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h12.344",key:"2acy
1p4"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]]);var p=a(62022),x=a(14784);let m=(0,o.Z)("gift",[["path",{d:"M12 7v14",key:"1akyts"}],["path",{d:"M20 11v8a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2v-8",key:"1sqzm4"}],["path",{d:"M7.5 7a1 1 0 0 1 0-5A4.8 8 0 0 1 12 7a4.8 8 0 0 1 4.5-5 1 1 0 0 1 0 5",key:"kc0143"}],["rect",{x:"3",y:"7",width:"18",height:"4",rx:"1",key:"1hberx"}]]),f=(0,o.Z)("lightbulb",[["path",{d:"M15 14c.2-1 .7-1.7 1.5-2.5 1-.9 1.5-2.2 1.5-3.5A6 6 0 0 0 6 8c0 1 .2 2.2 1.5 3.5.7.7 1.3 1.5 1.5 2.5",key:"1gvzjb"}],["path",{d:"M9 18h6",key:"x1upvd"}],["path",{d:"M10 22h4",key:"ceow96"}]]);var v=a(83255),y=a(8219),b=a(56839),k=a(70698),g=a(23848),j=a(5632);let Z=()=>{var e,t,a,o,Z;let w=(0,j.useRouter)(),{userInfo:N}=(0,s.C)(e=>({userInfo:e.userInfo})),M=[{icon:c,label:"Profile",path:"/profile"},{icon:d.Z,label:"Appointments",path:"/appointments"},{icon:h.Z,label:"Documents",path:"/documents"},{icon:u,label:"Tasks",path:"/tasks"},{icon:p.Z,label:"Insights",path:"/insights"},...(null===(e=N.appConfig)||void 0===e?void 0:e.billingEnabled)!==!1?[{icon:x.Z,label:"Billing",path:"/billing"}]:[],...(null===(t=N.appConfig)||void 0===t?void 0:t.referEarnEnabled)!==!1?[{icon:m,label:"Invite a Friend",path:"/refer-earn"}]:[],{icon:f,label:"Share Feedback",path:n.yZ.feedback},{icon:v.Z,label:"Support",path:"/support"}];return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("div",{className:"flex-1 flex flex-col overflow-x-hidden",children:(0,r.jsx)("main",{className:"flex-1 p-4 md:p-8 pb-24 md:pb-8",children:(0,r.jsxs)("div",{className:"max-w-[1000px] mx-auto",children:[(0,r.jsx)(l.E.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.4,delay:.1},className:"bg-white rounded-2xl shadow-sm border border-[#E2ECF5] p-6 mb-8",children:(0,r.jsxs)("div",{className:"flex items-center gap-4",children:[(0,r.jsx)("img",{src:(null===(a=N.user)||void 0===a?void 0:a.img)||"https://mantraapp.s3.us-east-1.amazonaws.com/static/defaultUser",alt:(null===(o=N.user)||void 0===o?void 0:o.name)||"User",className:"w-16 h-16 rounded-full object-cover"}),(0,r.jsxs)("div",{className:"flex-1",children:[(0,r.jsx)("h2",{className:"text-xl font-semibold text-[#043570]",children:(null===(Z=N.user)||void 0===Z?void 0:Z.name)||"User"}),(0,r.jsx)("p",{className:"text-[#64748B]",children:"Active User"})]}),(0,r.jsx)("button",{onClick:()=>w.push("/profile"),className:"w-10 h-10 bg-[#f3faff] rounded-lg flex items-center justify-center text-[#2563EB] hover:bg-[#2563EB] hover:text-white transition-all duration-200",children:(0,r.jsx)(y.Z,{size:18})})]})}),(0,r.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[M.map((e,t)=>(0,r.jsx)(l.E.button,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.4,delay:.1+.05*t},onClick:()=>w.push(e.path),className:"bg-white rounded-xl shadow-sm border border-[#E2ECF5] p-3 text-left hover:shadow-md hover:border-[#2563EB] transition-all duration-200 group",children:(0,r.jsxs)("div",{className:"flex items-center gap-4",children:[(0,r.jsx)("div",{className:"w-10 h-10 bg-[#f3faff] rounded-lg flex items-center justify-center text-[#2563EB] group-hover:bg-[#2563EB] group-hover:text-white transition-all duration-200",children:(0,r.jsx)(e.icon,{size:20})}),(0,r.jsx)("div",{className:"flex-1",children:(0,r.jsx)("h3",{className:"text-base font-semibold text-[#043570] group-hover:text-[#2563EB] transition-colors",children:e.label})}),(0,r.jsx)(b.Z,{size:20,className:"text-[#64748B] group-hover:text-[#2563EB] transition-colors"})]})},e.path)),(0,r.jsx)(l.E.button,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.4,delay:.1+.05*M.length},onClick:()=>(0,g.signOut)(),className:"bg-white rounded-xl shadow-sm border border-red-200 p-3 text-left hover:shadow-md hover:border-red-400 hover:bg-red-50 transition-all duration-200 group",children:(0,r.jsxs)("div",{className:"flex items-center gap-4",children:[(0,r.jsx)("div",{className:"w-10 h-10 bg-red-50 rounded-lg flex items-center justify-center text-red-500 group-hover:bg-red-500 group-hover:text-white transition-all duration-200",children:(0,r.jsx)(k.Z,{size:20})}),(0,r.jsx)("div",{className:"flex-1",children:(0,r.jsx)("h3",{className:"text-base font-semibold text-red-600 group-hover:text-red-700 transition-colors",children:"Logout"})}),(0,r.jsx)(b.Z,{size:20,className:"text-red-400 group-hover:text-red-600 transition-colors"})]})})]})]})})}),(0,r.jsx)(i.Z,{})]})};var w=Z}},function(e){e.O(0,[630,9774,2888,179],function(){return e(e.s=32907)}),_N_E=e.O()}]);

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.