PageSourceSearch

https://www.ehealthgh.com/_next/static/chunks/pages/products/pharmpod-9ffcc5a8f207f111.js

js ehealthgh.com collected 2026-10-02 01:30:26 UTC 15,246 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2820],{25352:function(e,t,l){(window.__NEXT_P=window.__NEXT_P||[]).push(["/products/pharmpod",function(){return l(45840)}])},44494:function(e,t,l){"use strict";l.d(t,{Z:function(){return M}});var a=l(85893),s=l(67294),r=l(59335),n=l(71357),i=l(41664),c=l.n(i);let o=new Date().getFullYear();var d=()=>{var e;return(0,a.jsx)("footer",{className:"relative w-full bg-black py-4 md:py-10",children:(0,a.jsxs)("div",{className:"mx-auto w-full max-w-7xl px-8 text-white",children:[(0,a.jsxs)("div",{className:"grid grid-cols-1 justify-between gap-4 md:grid-cols-2",children:[(0,a.jsxs)("div",{className:"w-full lg:w-4/5",children:[(0,a.jsx)(r.Typography,{variant:"h2",className:"text-primary",children:"eHealth Technologies LTD"}),(0,a.jsx)(r.Typography,{variant:"paragraph",className:"mb-6 mt-3 lg:mt-1",children:"eHealth Technologies Ltd. pioneers digital health transformation in Africa. Our innovative platforms empower patients and healthcare professionals, bridging gaps in communication and delivering personalized care. We're committed to making healthcare accessible and patient-centric through cutting-edge technology."})]}),(0,a.jsx)("div",{className:"grid grid-cols-3 justify-between gap-4 ",children:n.MJ.map(e=>{let{title:t,items:l}=e;return(0,a.jsxs)("div",{children:[(0,a.jsx)(r.Typography,{variant:"h5",color:"black",className:"mb-3 font-[600] text-primary",children:t}),l.map(e=>(0,a.jsx)("div",{children:(0,a.jsx)(c(),{href:null==e?void 0:e.path,children:(0,a.jsx)(r.Typography,{color:"black",className:"py-1.5 font-normal transition-colors text-white",children:null==e?void 0:e.name})})},null==e?void 0:e.name))]},t)})})]}),(0,a.jsxs)("div",{className:"mt-12 flex w-full flex-col items-center justify-center border-t border-blue-gray-500 py-4 md:flex-row md:justify-between",children:[(0,a.jsxs)(r.Typography,{variant:"small",className:"mb-4 text-center font-normal text-white md:mb-0",children:["\xa9 ",o," ",(0,a.jsx)(c(),{href:"/",className:"mr-1",children:"eHealth Technologies LTD."}),"All Rights Reserved."]}),(0,a.jsx)("div",{className:"flex gap-4 text-white justify-center",children:null===(e=n.UY)||void 0===e?void 0:e.map((e,t)=>(0,a.jsx)("a",{target:"_blank",href:e.link,rel:"noopener noreferrer",children:s.createElement(e.icon,{className:"icon-class"})},t))})]})]})})},m=l(39332),h=l(60155),u=e=>{let{menuItem:t}=e,l=(0,m.usePathname)(),n=l===t.path,[i,o]=s.useState(!1),d={onMouseEnter:()=>o(!0),onMouseLeave:()=>o(!1)};return(0,a.jsx)(a.Fragment,{children:(null==t?void 0:t.subMenus)?(0,a.jsxs)(r.Menu,{open:i,handler:o,placement:"bottom-start",children:[(0,a.jsx)(r.MenuHandler,{children:(0,a.jsxs)(r.Button,{...d,variant:"text",color:"blue-gray",className:"flex items-center  gap-3 text-lg  font-[600] px-1     capitalize  outline-none  hover:text-primary",children:[t.name,(0,a.jsx)(h.V7A,{strokeWidth:2.5,className:"h-3.5 w-3.5 transition-transform ".concat(i?"rotate-180":"")})]})}),(0,a.jsx)(r.MenuList,{...d,children:(0,a.jsx)("ul",{className:"flex w-full flex-col gap-1 outline-none ",children:null==t?void 0:t.subMenus.map(e=>{let{name:t,path:l}=e;return(0,a.jsx)(c(),{href:"#",children:(0,a.jsx)(r.MenuItem,{className:"hover:text-primary",children:(0,a.jsx)(c(),{href:l,children:(0,a.jsx)(r.Typography,{variant:"h6",className:"mb-1",children:t})})})},t)})})})]}):(0,a.jsx)(c(),{href:t.path,children:(0,a.jsx)(r.Typography,{as:"li",variant:"small",className:" text-lg p-1  font-[600] flex items-center rounded-md hover:text-primary\n           hover:bg-gray-100 hover:py-3 transition-colors ".concat(n?"text-primary":"text-blue-gray-600"),children:t.name})})})},x=l(25675),p=l.n(x),v=l(86893),g=()=>{var e,t;let[l,i]=s.useState(!1);return s.useEffect(()=>{window.addEventListener("resize",()=>window.innerWidth>=960&&i(!1))},[]),(0,a.jsx)(a.Fragment,{children:(0,a.jsx)(r.Navbar,{className:"sticky top-0 z-30 rounded-none py-0 px-0  shadow-sm",children:(0,a.jsxs)("div",{className:"mx-auto max-w-screen-xl",children:[(0,a.jsxs)("div",{className:"relative  flex items-center text-blue-gray-900",children:[(0,a.jsx)(c(),{href:"/",children:(0,a.jsx)(p(),{src:"/images/eHealth-logo.png",alt:"eHealth Technologies LTD",height:150,width:150})}),(0,a.jsx)("div",{className:"absolute top-2/4 left-2/4 hidden -translate-x-2/4 -translate-y-2/4 lg:block",children:(0,a.jsx)("ul",{className:"my-2 flex flex-col gap-2 lg:mb-0 lg:mt-0 lg:flex-row lg:items-center lg:gap-6",children:null===(e=n.pO)||void 0===e?void 0:e.map(e=>(0,a.jsx)(u,{menuItem:e},null==e?void 0:e.name))})}),(0,a.jsx)(r.IconButton,{size:"sm",color:"blue-gray",variant:"text",onClick:()=>i(e=>!e),className:"ml-auto mr-2 p-2 lg:hidden",children:(0,a.jsx)(v.cur,{className:"w-8 h-8"})}),(0,a.jsx)("div",{className:"hidden lg:flex  lg:ml-auto gap-4 items-center ",children:(0,a.jsxs)(r.Menu,{animate:{mount:{y:0},unmount:{y:25}},children:[(0,a.jsx)(r.MenuHandler,{children:(0,a.jsx)(r.Button,{size:"lg",color:"red",className:" rounded-full",children:"Get Started"})}),(0,a.jsxs)(r.MenuList,{className:"text-lg",children:[(0,a.jsx)(r.MenuItem,{children:(0,a.jsx)(c(),{href:"/products/myhealth",children:"As a Patient"})}),(0,a.jsx)(r.MenuItem,{children:(0,a.jsx)(c(),{href:"https://workspace.ehealthgh.app",children:"As a Pharmacist"})}),(0,a.jsx)(r.MenuItem,{children:(0,a.jsx)(c(),{href:"/products/mydoctor",children:"As a Doctor"})})]})]})})]}),(0,a.jsxs)(r.Collapse,{open:l,className:"overflow-scroll",children:[(0,a.jsx)("ul",{className:"my-2 flex flex-col gap-2 px-4 lg:mb-0 lg:mt-0 lg:flex-row lg:items-center lg:gap-6",children:null===(t=n.pO)||void 0===t?void 0:t.map(e=>(0,a.jsx)(u,{menuItem:e},null==e?void 0:e.name))}),(0,a.jsxs)(r.Menu,{animate:{mount:{y:0},unmount:{y:25}},children:[(0,a.jsx)(r.MenuHandler,{children:(0,a.jsx)(r.Button,{size:"lg",color:"red",className:"block my-6 ml-4 lg:hidden lg:ml-auto rounded-full",children:"Get Started"})}),(0,a.jsxs)(r.MenuList,{className:"text-lg",children:[(0,a.jsx)(r.MenuItem,{children:(0,a.jsx)(c(),{href:"/products/myhealth",children:"As a Patient"})}),(0,a.jsx)(r.MenuItem,{children:(0,a.jsx)(c(),{href:"https://workspace.ehealthgh.app",children:"As a Pharmacist"})}),(0,a.jsx)(r.MenuItem,{children:(0,a.jsx)(c(),{href:"/products/mydoctor",children:"As a Doctor"})})]})]})]})]})})})},j=l(83457),f=l.n(j),y=l(22920);l(71399);var N=l(2962),w=l(10349),b=()=>{var e,t;
1let[l,i]=s.useState(!1),[o,d]=(0,w.x)(e=>[e.cart,e.openCartDrawer]);return s.useEffect(()=>{window.addEventListener("resize",()=>window.innerWidth>=960&&i(!1))},[]),(0,a.jsx)(a.Fragment,{children:(0,a.jsx)(r.Navbar,{className:"sticky top-0 z-30 rounded-none py-0 px-0  shadow-sm",children:(0,a.jsxs)("div",{className:"mx-auto max-w-screen-xl",children:[(0,a.jsxs)("div",{className:"relative  flex items-center text-blue-gray-900",children:[(0,a.jsx)(c(),{href:"/",children:(0,a.jsx)(p(),{src:"/images/eHealth-logo.png",alt:"eHealth Technologies LTD",height:150,width:150})}),(0,a.jsx)("div",{className:"absolute top-2/4 left-2/4 hidden -translate-x-2/4 -translate-y-2/4 lg:block",children:(0,a.jsx)("ul",{className:"my-2 flex flex-col gap-2 lg:mb-0 lg:mt-0 lg:flex-row lg:items-center lg:gap-6",children:null===(e=n.hE)||void 0===e?void 0:e.map(e=>(0,a.jsx)(u,{menuItem:e},null==e?void 0:e.name))})}),(0,a.jsxs)("div",{className:"flex items-center gap-2 ml-auto mr-2 relative",children:[(0,a.jsxs)("div",{className:"relative",children:[(0,a.jsx)(h.toq,{className:"h-8 w-8 cursor-pointer",color:"blue-gray",onClick:d}),(0,a.jsx)("span",{className:"absolute -top-1 -right-2 bg-red-500 text-white text-xs font-semibold rounded-full h-4 w-4 flex items-center justify-center",children:null==o?void 0:o.length})]}),(0,a.jsx)(r.IconButton,{size:"sm",color:"blue-gray",variant:"text",onClick:()=>i(e=>!e),className:"p-2 lg:hidden",children:(0,a.jsx)(v.cur,{className:"w-8 h-8"})})]})]}),(0,a.jsx)(r.Collapse,{open:l,className:"overflow-scroll",children:(0,a.jsx)("ul",{className:"my-2 flex flex-col gap-2 px-4 lg:mb-0 lg:mt-0 lg:flex-row lg:items-center lg:gap-6",children:null===(t=n.hE)||void 0===t?void 0:t.map(e=>(0,a.jsx)(u,{menuItem:e},null==e?void 0:e.name))})})]})})})},k=l(11163),C=l(69274),T=e=>{let{closeDrawer:t,open:l}=e,i=(0,k.useRouter)(),[o,d,m,u,x,p,v,g]=(0,w.x)(e=>[e.cart,e.removeFromCart,e.incrementCartItemQty,e.decrementCartItemQty,e.totalPrice,e.updateQuantity,e.calculateTotal,e.setCart]);return(0,s.useEffect)(()=>{v()},[]),(0,a.jsx)(r.Drawer,{open:l,onClose:t,className:"shadow-2xl",size:450,placement:"right",overlay:!1,children:(0,a.jsxs)("div",{className:"flex h-full w-full flex-col bg-white",children:[(0,a.jsxs)("div",{className:"flex-1 w-full overflow-y-auto overflow-x-hidden p-4",children:[(0,a.jsxs)("div",{className:"flex items-start justify-between",children:[(0,a.jsx)(r.Typography,{className:"text-lg font-medium text-gray-900",children:"Shopping cart"}),(0,a.jsx)("div",{className:"ml-3 flex h-7 items-center",children:(0,a.jsxs)("button",{type:"button",className:"relative -m-2 p-2 text-gray-400 hover:text-gray-500",onClick:()=>t(),children:[(0,a.jsx)("span",{className:"absolute -inset-0.5"}),(0,a.jsx)("span",{className:"sr-only",children:"Close panel"}),(0,a.jsx)(C.s5_,{className:"h-6 w-6","aria-hidden":"true"})]})})]}),o.length>0?(0,a.jsx)("div",{className:"mt-8 ",children:(0,a.jsx)("div",{className:"flow-root",children:(0,a.jsx)("ul",{role:"list",className:"-my-6 divide-y divide-gray-200",children:o.map((e,t)=>{var l,s,i,o,h,x,p,v,g;return(0,a.jsxs)("li",{className:"flex py-6",children:[(0,a.jsx)("div",{className:"h-24 w-24 flex-shrink-0 overflow-hidden rounded-md border border-gray-200",children:(0,a.jsx)("img",{src:null==e?void 0:null===(s=e.product)||void 0===s?void 0:null===(l=s.images)||void 0===l?void 0:l[0],alt:null==e?void 0:null===(i=e.product)||void 0===i?void 0:i.name,className:"h-full w-full object-cover object-center"})}),(0,a.jsxs)("div",{className:"ml-4 flex flex-1 flex-col justify-between",children:[(0,a.jsxs)("div",{children:[(0,a.jsxs)("div",{className:"flex justify-between text-base font-medium text-gray-900",children:[(0,a.jsx)("h3",{children:(0,a.jsx)(c(),{href:"/",children:null==e?void 0:null===(o=e.product)||void 0===o?void 0:o.name})}),(0,a.jsx)("p",{className:"ml-4",children:(0,n.N6)(null==e?void 0:null===(h=e.product)||void 0===h?void 0:h.price)*(null==e?void 0:e.quantity)})]}),(0,a.jsx)("p",{className:"mt-1 text-sm text-gray-500",children:(0,n.aS)(null==e?void 0:null===(x=e.product)||void 0===x?void 0:x.description,40)})]}),(0,a.jsxs)("div",{className:"flex flex-1 items-center justify-between text-sm",children:[(0,a.jsxs)("div",{className:"gap-2 items-center flex",children:["Qty:",(0,a.jsx)(r.IconButton,{disabled:(null==e?void 0:e.quantity)===1,className:"bg-transparent shadow-none hover:shadow-none",children:(0,a.jsx)(C.bQR,{className:"h-5 w-5 text-black cursor-pointer",onClick:()=>{(null==e?void 0:e.quantity)>0&&u(t)}})}),(0,a.jsx)("input",{type:"number",width:10,className:"w-10 border-2 rounded-md px-2 py-1",value:e.quantity,min:1,max:null==e?void 0:null===(p=e.product)||void 0===p?void 0:p.quantity}),(0,a.jsx)(r.IconButton,{disabled:(null==e?void 0:e.quantity)===(null==e?void 0:null===(v=e.product)||void 0===v?void 0:v.quantity),className:"bg-transparent shadow-none hover:shadow-none",children:(0,a.jsx)(C.b9W,{className:"h-5 w-5 text-black cursor-pointer",onClick:()=>{m(t)}})})]}),(0,a.jsx)("div",{className:"flex",children:(0,a.jsx)("button",{onClick:()=>{d(e.product)},type:"button",className:"font-medium text-red-600 hover:text-red-500",children:"Remove"})})]})]})]},null==e?void 0:null===(g=e.product)||void 0===g?void 0:g.id)})})})}):(0,a.jsxs)("div",{className:"flex flex-col justify-center items-center h-full",children:[(0,a.jsx)(h.toq,{className:"h-10 w-10"}),(0,a.jsx)(r.Typography,{children:"Your cart is empty"})]})]}),(0,a.jsxs)("div",{className:"border-t border-gray-200 px-4 py-6 sm:px-6",children:[(0,a.jsxs)("div",{className:"flex justify-between text-base font-medium text-gray-900",children:[(0,a.jsx)("p",{children:"Total"}),(0,a.jsxs)("p",{children:["GHC ",(0,n.N6)(x).toFixed(2)]})]}),(0,a.jsx)("p",{className:"mt-0.5 text-sm text-gray-500",children:"Delivery cost calculated at checkout."}),(0,a.jsx)("div",{className:"mt-6",children:(0,a.jsx)(r.Button,{disabled:0===o.length,onClick:()=>{i.push("/marketplace/checkout")},className:"flex w-full items-center justify-center rounded-md border border-transparent bg-indigo-600 px-6 py-3 text-base font-medium text-white shadow-sm hover:bg-indigo-700",children:"Checkout"})}),(0,a.jsx)("div",{className:"mt-6 flex justify-center text-center text-sm text-gray-500",children:(0,a.jsxs)("p",{children:["or"," ",(0,a.jsxs)("button",{type:"button",className:"font-medium text-indigo-600 hover:text-indigo-500",onClick:()=>t(),children:["Continue Shopping",(0,a.jsx)("span",{"aria-hidden":"true",children:" →"})]})]})})]})]})})},M=e=>{let{children:t,title:l,description:s}=e,[r,n]=(0,w.x)(e=>[e.isCartOpen,e.closeCartDrawer]),i=(0,m.usePathname)();return(0,a.jsxs)("div",{children:[(0,a.jsx)(N.PB,{title:l,description:s,canonical:"https://www.ehealthgh.com",openGraph:{url:"https://www.ehealthgh.com",title:l,description:s,images:[{url:"/images/ehealth-suite.png",width:800,height:600,alt:"eHealth Suite",type:"image/png"}],siteName:"eHealth Technologies LTD"},twitter:{handle:"@eHealthPeople",site:"@eHealthPeople",cardType:"summary_large_image"}}),(null==i?void 0:i.includes("marketplace"))?(0,a.jsx)(b,{}):(0,a.jsx)(g,{}),(0,a.jsx)(f(),{color:"#e42226"}),(0,a.jsx)(y.Ix,{}),(0,a.jsx)("main",{role:"main",className:"relative min-h-screen bg-gray-50 ".concat(r?"overflow-hidden":""),"aria-labelledby":"main",children:t}),(0,a.jsx)(d,{}),r&&(0,a.jsx)(T,{closeDrawer:n,open:r})]})}},45840:function(e,t,l){"use strict";l.r(t);var a=l(85893),s=l(44494);l(67294),t.default=()=>(0,a.jsx)(s.Z,{children:"pharmpod"})},10349:function(e,t,l){"use strict";l.d(t,{x:function(){return i}});var a,s=l(64529),r=l(782),n=l(93513);let i=(0,s.Ue)()((0,r.tJ)((e,t)=>{var l;return{isCartOpen:!1,cart:null!==(a=null===(l=t())||void 0===l?void 0:l.cart)&&void 0!==a?a:[],totalPrice:0,setCart:t=>{e(e=>({cart:t}))},openCartDrawer:()=>{e(e=>({isCartOpen:!0}))},closeCartDrawer:()=>{e(e=>({isCartOpen:!1}))},removeFromCart:l=>{var a;let s=null===(a=t())||void 0===a?void 0:a.cart.filter(function(e){var t;return(null==e?void 0:null===(t=e.product)||void 0===t?void 0:t.id)!==l.id});e(e=>({cart:s})),i.getState().calculateTotal()},addToCart:t=>{e(e=>({cart:[...null==e?void 0:e.cart,{product:t,quantity:1}]})),i.getState().calculateTotal()},incrementCartItemQty:t=>{e(e=>(0,n.Uy)(e,e=>{(null==e?void 0:e.cart[t])&&(e.cart[t].quantity+=1)})),i.getState().calculateTotal()},decrementCartItemQty:t=>{e(e=>(0,n.Uy)(e,e=>{e.cart[t]&&e.cart[t].quantity>0&&(e.cart[t].quantity-=1)})),i.getState().calculateTotal()},updateQuantity:(t,l)=>{e(e=>(0,n.Uy)(e,e=>{e.cart[t]&&(e.cart[t].quantity=l)}))},calculateTotal:()=>{e(e=>({totalPrice:e.cart.reduce((e,t)=>
1e+t.quantity*t.product.price,0)}))}}},{name:"cart-storage"}))}},function(e){e.O(0,[2013,4617,4885,4980,8907,1228,1778,5937,5445,3874,4186,1445,1111,9570,5999,2876,1827,260,2892,8764,6060,1664,5800,8132,550,9774,2888,179],function(){return e(e.s=25352)}),_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.