1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[52198],{12305:function(e,a,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/doctors/pharmacy",function(){return n(65097)}])},38859:function(e,a,n){"use strict";var t=n(26042),r=n(69396),s=n(99534),i=n(85893),o=n(60357),l=n.n(o),c=n(34142),d=n(67294),p=n(23972),x=(0,d.forwardRef)(function(e,a){var n=e.wd,o=e.maxWd,d=e.hg,x=e.color,u=e.children,h=e.isLoading,m=e.fs,_=e.ls,f=e.className,g=e.borderRadius,b=e.textColor,y=e.borderStyle,j=e.padding,w=e.hoverBackground,F=e.hoverBorder,v=e.hoverTextColor,N=(0,s.Z)(e,["wd","maxWd","hg","color","children","isLoading","fs","ls","className","borderRadius","textColor","borderStyle","padding","hoverBackground","hoverBorder","hoverTextColor"]),k=x.includes("#");return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("button",(0,r.Z)((0,t.Z)({},N),{className:l().dynamic([["1d2c900f4f3f9924",[n||"100%",o||"100%",d||"47px",g||"5px",k?x:"primary"===x?"#1F56C3":"neutral"===x||"neutral-blue"===x?"transparent":"tertiary"===x?"#FFFFFF":"#55ADFF",b||(k?"#fff":"neutral"===x?"#":"neutral-blue"===x?"#EF233C":"tertiary"===x?"rgba(31, 86, 195, 1)":"#ffffff"),j||"0.5em",y||("neutral-blue"===x?"1px solid #EF233C":"neutral"===x?"1px solid #999999":"none"),m||"inherit",_||"1px","tertiary"===x?"box-shadow: 0px 2px 6px 2px #EDF2FB":"",w,F,v]]])+" "+"".concat(f||""," button"),children:h?(0,i.jsx)(c.Z,{}):(0,i.jsx)(p.Z,{noWrap:!0,children:u})})),(0,i.jsx)(l(),{id:"1d2c900f4f3f9924",dynamic:[n||"100%",o||"100%",d||"47px",g||"5px",k?x:"primary"===x?"#1F56C3":"neutral"===x||"neutral-blue"===x?"transparent":"tertiary"===x?"#FFFFFF":"#55ADFF",b||(k?"#fff":"neutral"===x?"#":"neutral-blue"===x?"#EF233C":"tertiary"===x?"rgba(31, 86, 195, 1)":"#ffffff"),j||"0.5em",y||("neutral-blue"===x?"1px solid #EF233C":"neutral"===x?"1px solid #999999":"none"),m||"inherit",_||"1px","tertiary"===x?"box-shadow: 0px 2px 6px 2px #EDF2FB":"",w,F,v],children:".button.__jsx-style-dynamic-selector{width:".concat(n||"100%",";max-width:").concat(o||"100%",";height:").concat(d||"47px",";-webkit-border-radius:").concat(g||"5px",";-moz-border-radius:").concat(g||"5px",";border-radius:").concat(g||"5px",";background-color:").concat(k?x:"primary"===x?"#1F56C3":"neutral"===x||"neutral-blue"===x?"transparent":"tertiary"===x?"#FFFFFF":"#55ADFF",";color:").concat(b||(k?"#fff":"neutral"===x?"#":"neutral-blue"===x?"#EF233C":"tertiary"===x?"rgba(31, 86, 195, 1)":"#ffffff"),";padding:").concat(j||"0.5em",";border:").concat(y||("neutral-blue"===x?"1px solid #EF233C":"neutral"===x?"1px solid #999999":"none"),";font-size:").concat(m||"inherit",";display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;letter-spacing:").concat(_||"1px",";gap:16px;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center;font-weight:500;font-family:Poppins;line-height:27px;-webkit-box-pack:center;-webkit-justify-content:center;-moz-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-shadow:").concat("tertiary"===x?"box-shadow: 0px 2px 6px 2px #EDF2FB":"",";-moz-box-shadow:").concat("tertiary"===x?"box-shadow: 0px 2px 6px 2px #EDF2FB":"",";box-shadow:").concat("tertiary"===x?"box-shadow: 0px 2px 6px 2px #EDF2FB":"","}.button.__jsx-style-dynamic-selector:hover:not(:disabled){cursor:pointer;background:").concat(w,";border:").concat(F,";color:").concat(v,';font-weight:"bold"}.button.__jsx-style-dynamic-selector:disabled{opacity:.4;cursor:not-allowed}')})]})});a.Z=x},44001:function(e,a,n){"use strict";var t=n(85893),r=n(95642),s=function(e){return(0,t.jsx)(r.Map,{google:e.google,style:{width:"100%",height:"100%",top:"0",right:"0",bottom:"0",left:"0"},initialCenter:{lat:6.45114,lng:3.3884}})};a.Z=(0,r.GoogleApiWrapper)({apiKey:"AIzaSyD2yVNM8jeKpSxEQrb5Xqcqh0PUOBj2l00"})(s)},34142:function(e,a,n){"use strict";var t=n(85893);n(67294);var r=n(49892),s=n.n(r),i=function(e){var a=e.big,n=e.className;return(0,t.jsx)("div",{className:n?"".concat(s().loading," ").concat(s().bigControlled):a?"".concat(s().loading," ").concat(s().big):"".concat(s().loading),"data-testid":"spinner"})};a.Z=i},65097:function(e,a,n){"use strict";n.r(a),n.d(a,{default:function(){return R}});var t=n(47568),r=n(97582),s=n(85893),i=n(38859),o=n(45505),l=n.n(o),c=n(67294),d=n(9008),p=n.n(d),x=n(5152),u=n.n(x),h=n(44001),m=n(61120),_=n.n(m),f=n(91819),g=n(85696),b=n.n(g),y=n(37786),j=function(e){var a=e.setState,n=[{id:"1",name:"Mainland Hospital Yaba",address:"Mainland Hospital Rd, Yaba 100001, Lagos",phone:"08012345678"},{id:"2",name:"Mainland Hospital Yaba",address:"Mainland Hospital Rd, Yaba 100001, Lagos",phone:"08012345678"},{id:"3",name:"Mainland Hospital Yaba",address:"Mainland Hospital Rd, Yaba 100001, Lagos",phone:"08012345678"},{id:"4",name:"Mainland Hospital Yaba",address:"Mainland Hospital Rd, Yaba 100001, Lagos",phone:"08012345678"},{id:"5",name:"Mainland Hospital Yaba",address:"Mainland Hospital Rd, Yaba 100001, Lagos",phone:"08012345678"},];
1return(0,s.jsxs)("div",{className:b().mainBackground,children:[(0,s.jsx)("div",{className:b().headText,children:"Select a Pharmacy"}),(0,s.jsx)("div",{className:b().card,role:"button",onClick:function(){return a("drugs")},children:null==n?void 0:n.map(function(e){return(0,s.jsxs)("div",{className:b().doctorCard,children:[(0,s.jsx)("div",{className:b().flexify,children:(0,s.jsx)("img",{src:"/images/pharm_img.svg",alt:""})}),(0,s.jsxs)("div",{className:b().flexify,children:[(0,s.jsx)("span",{className:b().name,children:e.name}),(0,s.jsx)("span",{className:"".concat(b().smallText," ").concat(b().address),children:e.address}),(0,s.jsx)("span",{className:b().smallText,children:e.phone}),(0,s.jsx)(y.Z,{underline:"hover",className:b().smallText,children:"Directions"})]})]},e.id)})})]})},w=n(11163),F=n(17116),v=n.n(F),N=n(77719),k=n.n(N),C=n(25675),B=n.n(C),E=function(){return(0,s.jsxs)("div",{className:k().wrapper,children:[(0,s.jsx)("div",{className:k().image,children:(0,s.jsx)(B(),{src:"/images/drugImg.svg",alt:"Antibacterial handgel",width:100,height:100})}),(0,s.jsxs)("div",{className:k().content,children:[(0,s.jsx)("h5",{className:k().name,children:"Antibacterial handgel"}),(0,s.jsxs)("p",{className:k().prisize,children:[(0,s.jsx)("span",{className:k().price,children:"⦠1000.00"}),(0,s.jsx)("span",{className:k().size,children:"150 ml"})]})]})]})},z=n(64840),M=function(){return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("div",{className:v().wrapper,children:D.map(function(e){return(0,s.jsx)(E,{},e)})}),(0,s.jsxs)("div",{className:v().counts,children:[(0,s.jsx)("div",{className:v().show,children:(0,s.jsx)("p",{children:"Show page 1 of 20"})}),(0,s.jsx)("div",{className:v().pagination,children:(0,s.jsx)(z.Z,{count:7,shape:"rounded",siblingCount:0,size:"small",sx:{"& .MuiPaginationItem-root.Mui-selected":{backgroundColor:"#D4D5DB"},"& .MuiPaginationItem-root":{fontFamily:"inherit",fontSize:"14px",fontWeight:"300",lineHeight:"21px"}}})})]})]})},D=[1,2,3,4,5,6,7,8,9,10,11,12],H=u()(function(){return Promise.all([n.e(33714),n.e(74885),n.e(61228),n.e(42016),n.e(9669),n.e(21876),n.e(72231),n.e(82580),n.e(78543),n.e(4699),n.e(64177),n.e(74231),n.e(69587),n.e(33513),n.e(90103),n.e(48263),n.e(24486),n.e(55375),n.e(1852),n.e(62567),n.e(32298),n.e(18716),n.e(41865),n.e(13175),n.e(56383),n.e(12640),n.e(1079),n.e(59255)]).then(n.bind(n,1079))},{loadableGenerated:{webpack:function(){return[1079]}},ssr:!1}),P=function(){var e,a=(0,c.useState)("maps"),n=a[0],o=a[1],d=(0,c.useRef)(),x=(0,w.useRouter)(),u=(e=(0,t.Z)(function(e){var a,n,t,s,i,o,l;return(0,r.__generator)(this,function(n){switch(n.label){case 0:return a=d.current,[4,_()(a)];case 1:return t=n.sent().toDataURL("image/png"),i=(s=new f.kH).getImageProperties(t),o=s.internal.pageSize.getWidth(),l=i.height*o/i.width,s.addImage(t,"PNG",0,0,o,l),s.save("".concat(e,".pdf")),[2]}})}),function(a){return e.apply(this,arguments)});return(0,c.useEffect)(function(){""===x.query.searchResult&&o("searchResult")},[x.query]),(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(p(),{children:(0,s.jsx)("title",{children:"Pharmacy | Betacare"})}),(0,s.jsxs)("div",{className:l().wrapper,children:[(0,s.jsxs)("header",{children:[(0,s.jsxs)("div",{className:l().text,children:["drugs"!==n&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("h2",{children:"Pharmacy"}),(0,s.jsx)("p",{children:"Find a pharmacy"})]}),"drugs"===n&&(0,s.jsx)("h2",{children:"Mainland Hospital Yaba"})]}),"presciptionDetail"===n&&(0,s.jsx)("div",{children:(0,s.jsx)(i.Z,{wd:"244px",hg:"45px",color:"secondary",className:l().downloadBtn,onClick:function(){return u("prescription")},children:"Download Prescription"})})]}),"drugs"===n&&(0,s.jsx)(M,{}),"maps"===n&&(0,s.jsx)("div",{className:"maps",children:(0,s.jsx)("div",{className:"mapWrapper",children:(0,s.jsx)(h.Z,{})})}),"searchResult"===n&&(0,s.jsxs)("div",{className:"maps",children:[(0,s.jsx)("div",{className:"mapWrapper",children:(0,s.jsx)(h.Z,{})}),(0,s.jsx)(j,{setState:o})]})]}),(0,s.jsx)("style",{children:"\n .mapWrapper {\n position: relative;\n max-width: 640px;\n height: 503px;\n border-radius: 16px !important;\n overflow: hidden;\n flex: 1 0;\n }\n .maps {\n display: flex;\n gap: 16px;\n justify-content: space-between;\n }\n .pharmacy {\n display: flex;\n gap: 3.74rem;\n }\n .pharmacy > *:last-child {\n flex: 1;\n }\n .buttonlight {\n background: #edf2fb !important;\n }\n "})]})};P.getLayout=function(e){return(0,s.jsx)(H,{children:e})};var R=P},77719:function(e){e.exports={wrapper:"styles_wrapper__z_LRF",image:"styles_image__QSmhl",content:"styles_content__KlJsl",name:"styles_name__3bmAm",prisize:"styles_prisize__HXrW1",price:"styles_price__pmLSx",size:"styles_size__w8p2m"}},49892:function(e){e.exports={loading:"style_loading__PxnH8",spin:"style_spin__LIYN9",big:"style_big__rkKwI",bigControlled:"style_bigControlled__hM7vY"}},17116:function(e){e.exports={wrapper:"styles_wrapper__ktfk2",counts:"styles_counts__fy52_",show:"styles_show__wteT0",pagination:"styles_pagination__ZIHzp"}}
1,85696:function(e){e.exports={mainBackground:"style_mainBackground__1dUuu",headText:"style_headText__WlW6_",doctorCard:"style_doctorCard__FOjni",image:"style_image__WjYfn",flexify:"style_flexify__t879S",name:"style_name__BeSUx",smallText:"style_smallText__YNfzb",address:"style_address__oJACl",cost:"style_cost__tinB0",charge:"style_charge__0JlF0",flexify2:"style_flexify2__672U9",card:"style_card__4Pjf5"}},45505:function(e){e.exports={wrapper:"prescription_wrapper__1pxVf",text:"prescription_text__aUbh0",filter:"prescription_filter__IPMO0",downloadBtn:"prescription_downloadBtn__BEoFm",grid:"prescription_grid__f8K6C",counts:"prescription_counts__4xdNg",show:"prescription_show__RWYms",pagination:"prescription_pagination__3B6iE"}}},function(e){e.O(0,[49774,67847,15443,25675,41385,616,3242,39071,21076,13412,92888,40179],function(){return e(e.s=12305)}),_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.