(self.webpackChunkhhgHealthCareV1=self.webpackChunkhhgHealthCareV1||[]).push([[2203,5597],{58147:function(n,e,t){"use strict";var i,a=t(73884);function r(){return r=Object.assign?Object.assign.bind():function(n){for(var e=1;e0&&y.append("services[".concat(L,"][id]"),H.id.toString()),Number(H.priceType)===c.vne.RANGE&&H.maxPrice&&y.append("services[".concat(L,"][price_to]"),H.maxPrice.toString()))}}catch(j){I=!0,z=j}finally{try{T||null==P.return||P.return()}finally{if(I)throw z}}return F.length&&y.append("services_delete_ids",F.join(",")),null===(d=n.experiences)||void 0===d||d.forEach(u("experience",y)),null===(h=n.education)||void 0===h||h.forEach(u("education",y)),null===(g=n.awards)||void 0===g||g.forEach(u("awards",y)),null===(m=n.publication)||void 0===m||m.forEach(p("publication",y)),null===(f=n.memberships)||void 0===f||f.forEach(p("memberships",y)),null===(v=n.languages)||void 0===v||v.forEach((function(n){y.append("languages[]",n.name||"")})),null===(b=n.faq)||void 0===b||b.map((function(n){n.saved,n.previousValue;var e=(0,r.A)(n,["saved","previousValue"]);return{fields:(0,a.A)({},e)}})).forEach(u("faqs",y)),y}function u(n,e){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return function(i,a){var r=!0,l=!1,c=void 0;try{for(var s,d=Object.entries(i.fields)[Symbol.iterator]();!(r=(s=d.next()).done);r=!0){var u=(0,o.A)(s.value,2),p=u[0],h=u[1];"id"!==p&&!t.includes(p)&&h&&e.append("".concat(n,"[").concat(a,"][").concat(p,"]"),h.toString())}}catch(g){l=!0,c=g}finally{try{r||null==d.return||d.return()}finally{if(l)throw c}}}}function p(n,e){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return function(i,a){var r=!0,l=!1,c=void 0;try{for(var s,d=Object.entries(i)[Symbol.iterator]();!(r=(s=d.next()).done);r=!0){var u=(0,o.A)(s.value,2),p=u[0],h=u[1];"id"!==p&&!t.includes(p)&&h&&e.append("".concat(n,"[").concat(a,"][").concat(p,"]"),h.toString())}}catch(g){l=!0,c=g}finally{try{r||null==d.return||d.return()}finally{if(l)throw c}}}}function h(n,e){var t,i,r,o,l,s,d,u,p,h,g,m,f,v,b,y,k={isPreview:!1,doctorName:n.name,doctorEmail:e?"":n.email?n.email:"",notifyOtherEmail:!!n.emailNotification,emailNotification:e?"":n.emailNotification,doctorGender:null===(t=n.gender)||void 0===t?void 0:t.toString(),about:n.description,hospital:e?void 0:{label:(null===(i=n.hospital)||void 0===i?void 0:i.name)||"",value:Number((null===(r=n.hospital)||void 0===r?void 0:r.id)||0)},branch:e?void 0:{label:(null===(o=n.branch)||void 0===o?void 0:o.name)||"",value:Number((null===(l=n.branch)||void 0===l?void 0:l.id)||0)},specialties:(null===(s=n.specialties)||void 0===s?void 0:s.map((function(n){return{value:n.id,label:n.name}})))||[],areaOfExpertise:(null===(d=n.expertise)||void 0===d?void 0:d.map((function(n){return{value:n.id,label:n.name}})))||[],provideCareFor:{adults:Boolean(n.provideCare===c.jc_.BOTH||n.provideCare===c.jc_.ADULTS),children:Boolean(n.provideCare===c.jc_.BOTH||n.provideCare===c.jc_.CHILDREN)},atAGlance:n.glance,additionalServices:n.services?n.services.map((function(n){return{saved:!0,toRemove:!1,id:n.id,description:n.description,name:n.name,priceType:n.price_type,price:n.price?Math.round(Number(n.price)):void 0,maxPrice:n.price_to||0}})):[],experiences:(null===(u=n.experience)||void 0===u?void 0:u.map((function(n,e){return{id:e,saved:!0,fields:n}})))||[],education:(null===(p=n.education)||void 0===p?void 0:p.map((function(n,e){return{id:e,saved:!0,fields:n}})))||[],awards:(null===(h=n.awards)||void 0===h?void 0:h.map((function(n,e){return{id:e,saved:!0,fields:n}})))||[],publication:(null===(g=n.publication)||void 0===g?void 0:g.map((function(n,e){return(0,a.A)({id:e},n)})))||[],memberships:(null===(m=n.memberships)||void 0===m?void 0:m.map((function(n,e){return(0,a.A)({id:e},n)})))||[],languages:(null===(f=n.languages)||void 0===f?void 0:f.map((function(n,e){return{id:e,name:n}})))||[],faq:(null===(v=n.faqs)||void 0===v?void 0:v.map((function(n){return(0,a.A)({saved:!0},n)})))||[],contract:null===(b=n.contract)||void 0===b?void 0:b.toString(),tierDesc:n.tier?{label:n.tier.description,value:n.tier.id}:null,tierLever:n.tier?{label:n.tier.level,value:n.tier.level}:null,academyDesc:n.academy?{label:n.academy.description,value:n.academy.id}:null,academyLever:n.academy?{label:n.academy.level,value:n.academy.level}:null,client:n.client?{label:n.client.label,value:n.client.value}:null};if(n.avatar&&(k.doctorProfilePicture=n.avatar),n.phone&&!e&&(k.phoneNumber=n.phone),n.doctorWebsite&&(k.doctorWebsite=n.doctorWebsite),null===(y=n.experiences)||void 0===y?void 0:y.length){k.experiencesLegacy="";var x=!0,w=!1,A=void 0;try{for(var C,_=n.experiences[Symbol.iterator]();!(x=(C=_.next()).done);x=!0){var M=C.value;try{var D=JSON.parse(M.description),Y=D.content,E=D.year;(Y||E)&&(k.experiencesLegacy+="".concat(Y,": ").concat(E,"\n"))}catch(N){}}}catch(S){w=!0,A=S}finally{try{x||null==_.return||_.return()}finally{if(w)throw A}}}return k}function g(n){var e,t,i,a,r,o;return{id:+new Date,doctorId:Date.now().toString(),gender:Number(n.doctorGender),name:n.doctorName,provideCare:n.provideCareFor.adults&&n.provideCareFor.children?c.jc_.BOTH:n.provideCareFor.adults?c.jc_.ADULTS:c.jc_.CHILDREN,phone:n.phoneNumber||"",glance:n.atAGlance||"",specialties:n.specialties.map((function(n){return{id:Number(n.value),name:n.label}})),expertise:n.areaOfExpertise.map((function(n){return{id:Number(n.value),name:n.label}})),avatar:"".concat(c.JpE,"/images/avatar.jpg"),bookingUrl:"https://google.com",cityName:"HCMC",description:n.about,education:(null===(e=n.education)||void 0===e?void 0:e.map((function(n){return m(n.fields)})))||[],experience:(null===(t=n.experiences)||void 0===t?void 0:t.map((function(n){return m(n.fields)})))||[],experiences:[],languages:(null===(i=n.languages)||void 0===i?void 0:i.map((function(n){return n.name||""})))||[],memberships:(null===(a=n.memberships)||void 0===a?void 0:a.map((function(n){return m(n)})))||[],outpatientDescription:"",telemedicineDescription:"",price:"",priceDescription:"",priceType:0,publication:(null===(r=n.publication)||void 0===r?void 0:r.map((function(n){return m(n)})))||[],awards:(null===(o=n.awards)||void 0===o?void 0:o.map((function(n){return m(n.fields)})))||[],rating:0,slug:"doc",organization:null,telemedicineFee:0,totalReviews:0,validOutpatient:!1,validTelemedicine:!1,services:n.additionalServices.map((function(n){return{id:n.id,description:n.description,name:n.name,price_type:n.priceType,price:n.price||0,price_to:n.maxPrice}})),faqs:n.faq.map((function(n){return{question:n.question,answer:n.answer}})),status:c.XQv.ACTIVE,promotion:!1,client:null,vouchers:[],doctorWebsite:""}}function m(n){var e={},t=!0,i=!1,a=void 0;try{for(var r,l=Object.entries(n)[Symbol.iterator]();!(t=(r=l.next()).done);t=!0){var c=(0,o.A)(r.value,2),s=c[0],d=c[1];e[s]=d||""}}catch(u){i=!0,a=u}finally{try{t||null==l.return||l.return()}finally{if(i)throw a}}return e}var f=function(n){var e={avatar:n.avatar||"",name:n.name||"",birthday:n.birthday,gender:n.gender.toString(),relation:n.relation.toString(),email:n.email,notifyTo:n.notifyTo.toString(),phone:n.phone?n.phone.toString():""};return n.id&&(e.id=n.id),e},v=function(n){var e=new FormData;return e.append("name",n.name),e.append("birthday",(0,l.A)(null===n||void 0===n?void 0:n.birthday,c.cuM)),e.append("gender",n.gender),e.append("relation",n.relation),e.append("notify_to",n.notifyTo||s.WA.MASTER.toString()),n.phone&&e.append("phone",n.phone),n.avatar&&e.append("avatar",n.avatar),n.notifyTo!==s.WA.MASTER.toString()&&e.append("email",n.email),e}},3365:function(n,e,t){"use strict";t.d(e,{Np:function(){return g},UM:function(){return v},V2:function(){return l},VH:function(){return s},jF:function(){return f},lc:function(){return M},oU:function(){return x},vq:function(){return k},wd:function(){return p},xt:function(){return _}});var i=t(40568),a=t(81539),r=t(40959),o=r.ElQ[r.HgX],l=o.DOMAIN,c=o.SITE_NAME,s=r.y1A[r.HgX],d=["Facebook","Instagram"],u="".concat(l,"/"),p="".concat(l).concat(r.JpE,"/"),h=(0,i.A)(r.HgX.split("-"),2),g=h[0],m=h[1],f={"en-PH":"Republic of the Philippines","vi-VN":"Vi\u1ec7t Nam","id-ID":"Republik Indonesia","zh-TW":"\u4e2d\u83ef\u6c11\u570b","ms-MY":"Malaysia","th-TH":"Thailand"},v={"en-PH":"PHP","vi-VN":"VND","id-ID":"IDR","zh-TW":"TWD","ms-MY":"MYR","th-TH":"THB"},b="https://hellobacsi.com/images/country-thumbnails/".concat(m,".png"),y="".concat(l,"/#organization"),k="".concat(l,"/#website");function x(n,e){return{"@context":"https://schema.org","@graph":[w(e),{"@id":k,"@type":"WebSite",name:c,publisher:{"@id":y},url:u}].concat((0,a.A)(n))}}function w(n){return{"@type":"Organization","@id":y,sameAs:A(n),name:c,url:u,image:{"@id":"".concat(l,"/#logo")},logo:{"@type":"ImageObject","@id":"https://hellobacsi.com/#logo",url:b,caption:c}}}function A(n){var e,t;return(null===n||void 0===n||null===(e=n.social)||void 0===e||null===(t=e.socials)||void 0===t?void 0:t.filter((function(n){return d.includes(n.name)})).map((function(n){return n.url})))||[]}function C(n,e){return{"@type":"ListItem",item:{"@id":n.url,"@type":n.isItemPage?"ItemPage":"WebPage",name:n.name,url:n.url},position:e+2}}function _(n,e,t,i){return{"@id":"".concat(n,"/#breadcrumb"),"@type":"BreadcrumbList",itemListElement:[{"@type":"ListItem",item:{"@id":p,"@type":"WebPage",name:i({id:e}),url:p},position:1}].concat((0,a.A)(t.map(C)))}}function M(n){return{"@type":"FAQPage",mainEntity:n.map((function(n){return{"@type":"Question",name:n.question,acceptedAnswer:{"@type":"Answer",text:n.answer}}}))}}},97183:function(n,e,t){"use strict";var i=t(2445),a=t(73884),r=t(96816),o=t(76013),l=t(36259);e.A=function(n){var e=n.roles,t=n.children,c=(0,a.useContext)(l.B).state,s=c.loading,d=c.userInfo,u=(0,a.useMemo)((function(){return Boolean(e&&(null===d||void 0===d?void 0:d.role)&&e.includes(null===d||void 0===d?void 0:d.role))}),[null===d||void 0===d?void 0:d.role]);return s||!s&&!(null===d||void 0===d?void 0:d.id)?(0,i.Y)("div",{style:{display:"flex",alignItems:"center",justifyContent:"center",minHeight:"100vh"},children:(0,i.Y)(r.L,{})}):u?(0,i.Y)(i.FK,{children:t}):(0,i.Y)(o.JC,{})}},33843:function(n,e,t){"use strict";t.d(e,{s:function(){return u}});var i=t(2445),a=t(18502),r=t(35291),o=t(71572),l=t(74029),c=t(32485),s=t.n(c),d=t(88491),u=function(n){var e=n.title,t=n.logo,c=n.type,u=void 0===c?"underline":c,p=n.isActive,h=n.onClick,g=n.style,m=n.className,f=(0,d.d)().isMobile;return"square"===u?(0,i.FD)("div",{className:s()("flex flex-col items-center gap-2 w-16 cursor-pointer px-0.5",m),onClick:h,style:g,children:[" ",(0,i.Y)("div",{className:s()("aspect-square h-16 rounded-xl border-[0.7px] border-solid p-3",{"bg-blue50 border-[transparent]":p,"border-[#000000]/10":!p}),children:(0,i.Y)(a.I,{alt:e,src:t,backupSrc:l.We,className:"w-full h-full object-contain"})}),(0,i.Y)(o.T,{size:"c1",weight:"halfBold",className:"text-center",children:e})]}):(0,i.FD)("div",{className:s()("relative flex flex-col items-center md:flex-row gap-1 md:gap-2 pb-[14px] md:pb-4 w-[68px] md:w-auto cursor-pointer h-full md:h-auto",m,{'after:content-[""] after:absolute after:bottom-0 after:left-0 after:w-full after:h-[3px] after:bg-primaryBase after:rounded-tl-sm after:rounded-tr-sm':p}),onClick:h,style:g,children:[(0,i.Y)(a.I,{alt:e,src:t,backupSrc:l.We,className:"md:h-6 md:w-6 h-12 w-12"}),p?(0,i.Y)(o.T,{size:f?"c1":"p2",weight:"halfBold",color:r.w.colors.gray1000,align:"center",dangerouslySetInnerHTML:{__html:e}}):(0,i.Y)(o.T,{size:f?"c1":"p2",weight:"halfBold",color:r.w.colors.gray400,align:"center",dangerouslySetInnerHTML:{__html:e}})]})}},90950:function(n,e,t){"use strict";var i=t(2445),a=t(71572),r=t(66814),o=t(6442);e.A=function(n){var e=n.key,t=n.onSelected,l=n.icon,c=n.label,s=n.checked,d=(n.config||{}).isReplaceBrTag,u=void 0!==d&&d,p=(0,(0,o.A)().formatMessage)({id:c.id,defaultMessage:c.defaultMessage});return(0,i.FD)("div",{onClick:function(){return t(e)},className:"flex justify-between cursor-pointer h-6",children:[(0,i.FD)("div",{className:"flex justify-center items-center gap-3",children:["string"===typeof l?(0,i.Y)("img",{className:"object-contain object-center",src:l,alt:p,width:24,height:24}):(0,i.Y)(l,{}),(0,i.Y)(a.T,{size:"p2",weight:"regular",color:"gray700",children:u?p.replace("
",""):p})]}),(0,i.Y)(r.R,{value:e,checked:s,className:"w-5 h-5 mr-1 [&_label]:hidden"})]},e)}},63328:function(n,e,t){"use strict";t.d(e,{TO:function(){return m},fd:function(){return p},q3:function(){return u},wO:function(){return g},x0:function(){return h},xF:function(){return f}});var i=t(24537),a=t(27317);function r(){var n=(0,i.A)(["\n font-weight: 700;\n color: ",";\n font-size: 12px;\n"]);return r=function(){return n},n}function o(){var n=(0,i.A)(["\n display: flex;\n flex-direction: column;\n gap: 8px;\n"]);return o=function(){return n},n}function l(){var n=(0,i.A)(["\n color: ",";\n font-size: 13px;\n font-weight: 400;\n line-height: 20px;\n margin-top: -4px;\n"]);return l=function(){return n},n}function c(){var n=(0,i.A)(["\n border: 1px solid ",";\n padding: 16px;\n box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.04), 0px 0px 2px rgba(0, 0, 0, 0.06),\n 0px 0px 1px rgba(0, 0, 0, 0.04);\n border-radius: 4px;\n background-color: white;\n h6 {\n padding-bottom: 10px;\n &::after {\n content: '';\n display: block;\n height: 1px;\n background-color: ",";\n margin-top: 10px;\n }\n }\n"]);return c=function(){return n},n}function s(){var n=(0,i.A)(["\n display: flex;\n flex-direction: column;\n gap: 16px;\n"]);return s=function(){return n},n}function d(){var n=(0,i.A)(["\n display: flex;\n gap: 16px;\n justify-content: flex-end;\n margin-top: 16px;\n"]);return d=function(){return n},n}var u=a.Ay.label.withConfig({componentId:"sc-a445b49e-0"})(r(),(function(n){return n.theme.colors.gray600})),p=a.Ay.div.withConfig({componentId:"sc-a445b49e-1"})(o()),h=a.Ay.div.withConfig({componentId:"sc-a445b49e-2"})(l(),(function(n){return n.theme.colors.red700})),g=a.Ay.div.withConfig({componentId:"sc-a445b49e-3"})(c(),(function(n){return n.theme.colors.neutral200}),(function(n){return n.theme.colors.neutral100})),m=a.Ay.div.withConfig({componentId:"sc-a445b49e-4"})(s()),f=a.Ay.div.withConfig({componentId:"sc-a445b49e-5"})(d())},6e3:function(n,e,t){"use strict";t.d(e,{b:function(){return o}});var i=t(2445),a=t(32485),r=t.n(a),o=function(n){var e=n.text,t=n.className;return(0,i.Y)("div",{className:r()("inline-flex items-center gap-1 text-red600 text-xs py-1 font-medium",t),children:(0,i.Y)("span",{className:"flex-1 min-w-0",children:e})})}},21861:function(n,e,t){"use strict";t.d(e,{A:function(){return d}});var i=t(2445),a=t(11851),r=t(37597),o=t(35291),l=t(44410),c=t(48085),s=(0,a.A)(r.B,{target:"e1xsi55k0"})("&.breadcrumbs{.breadcrumbs-separator{color:",o.w.colors.gray400,';background-image:url(\'data:image/svg+xml,\');&[data-size=\'sm\']{margin:0 8px;}}[data-last=\'true\']{pointer-events:none;max-width:unset;> a{color:',o.w.colors.gray400,";font-weight:400 !important;",l.M.mbDown,"{font-size:",(0,c.D)(12),";line-height:",(0,c.D)(16),";letter-spacing:",(0,c.D)(-.2),";}}}[data-last='false']{> a{color:",o.w.colors.gray1000,";font-weight:400 !important;",l.M.mbDown,"{font-size:",(0,c.D)(12),";line-height:",(0,c.D)(16),";letter-spacing:",(0,c.D)(-.2),";}}}}"),d=function(n){var e=n.className,t=n.pages;return(0,i.Y)("div",{className:e,children:(0,i.Y)(s,{className:"gap-1",size:"sm",pages:t})})}},3045:function(n,e,t){"use strict";t.d(e,{A:function(){return x}});var i=t(2445),a=t(32876),r=t.n(a),o=t(24537),l=t(27317);function c(){var n=(0,o.A)(["\n display: flex;\n min-height: 40px;\n align-items: center;\n background: ",";\n overflow-x: auto;\n\n [data-last='true'] > a {\n color: ",";\n }\n"]);return c=function(){return n},n}function s(){var n=(0,o.A)(["\n display: flex;\n align-items: center;\n"]);return s=function(){return n},n}function d(){var n=(0,o.A)(["\n width: 1px;\n height: 20px;\n background-color: ",";\n margin: 0 10px 0 15px;\n"]);return d=function(){return n},n}function u(){var n=(0,o.A)(["\n width: 32px;\n height: 32px;\n flex: 0 0 32px;\n background-color: ",";\n cursor: pointer;\n align-items: center;\n justify-content: center;\n display: flex;\n border-radius: 50%;\n"]);return u=function(){return n},n}var p,h=l.Ay.div.withConfig({componentId:"sc-dc56748f-0"})(c(),(function(n){return n.theme.colors.blue50}),(function(n){return n.theme.colors.primaryBase})),g=l.Ay.div.withConfig({componentId:"sc-dc56748f-1"})(s()),m=l.Ay.div.withConfig({componentId:"sc-dc56748f-2"})(d(),(function(n){return n.theme.colors.neutral100})),f=l.Ay.a.withConfig({componentId:"sc-dc56748f-3"})(u(),(function(n){return n.theme.colors.white})),v=t(19475),b=t(73884);function y(){return y=Object.assign?Object.assign.bind():function(n){for(var e=1;e label {\n flex-basis: 100%;\n }\n }\n"]);return d=function(){return n},n}var u=t(27317).Ay.div.withConfig({componentId:"sc-a96afd79-0"})(d(),(function(n){return n.theme.colors.gray800}));function p(n){var e=n.name,t=n.options,r=n.label,s=n.labelLayout,d=void 0===s?"inline":s,p=n.className,h=n.direction,g=void 0===h?"horizontal":h;return(0,i.Y)(l.xI,{name:e,render:function(n){var e,l=n.field,s=l.onChange,h=l.value,m=l.name;return(0,i.FD)(u,{className:o()(p,{"title-block":"block"===d}),children:[r&&(0,i.Y)(c.q3,{children:r}),(0,i.Y)(a.R,{id:"radio-group-".concat(m),type:"circle",size:"small",direction:g,className:"form-radio-group",onChange:s,value:(null===(e=t.find((function(n){return n.value===String(h)})))||void 0===e?void 0:e.value)||"",options:t})]})}})}},23421:function(n,e,t){"use strict";t.d(e,{U:function(){return c}});var i=t(11851),a=t(35291),r=t(44410),o=t(48085),l=t(28414),c=(0,i.A)(l.A,{target:"edtxm890"})("/* Custom styling for Care Admin editor content */\n font-size:0.8125rem;line-height:1.25rem;color:",a.w.colors.gray700,";/* Restore default margins and padding for text elements */\n p{margin:0;padding:0;font-size:inherit;line-height:inherit;}p:not(:last-child){margin-bottom:15px;}/* Text utility classes based on typography config */\n /* Body styles (p1-p4) - p5 not in lineHeight config,so excluded */\n .text-body-1{font-size:",(0,o.D)(17),";line-height:",(0,o.D)(28),";letter-spacing:-0.4px;",r.M.mbUp,"{font-size:",(0,o.D)(17),";line-height:",(0,o.D)(28),";letter-spacing:-0.4px;}}.text-body-2{font-size:",(0,o.D)(15),";line-height:",(0,o.D)(24),";letter-spacing:-0.3px;",r.M.mbUp,"{font-size:",(0,o.D)(15),";line-height:",(0,o.D)(24),";letter-spacing:-0.3px;}}.text-body-3{font-size:",(0,o.D)(13),";line-height:",(0,o.D)(20),";letter-spacing:-0.3px;",r.M.mbUp,"{font-size:",(0,o.D)(13),";line-height:",(0,o.D)(20),";letter-spacing:-0.3px;}}.text-body-4{font-size:",(0,o.D)(12),";line-height:",(0,o.D)(18),";letter-spacing:0;",r.M.mbUp,"{font-size:",(0,o.D)(14),";line-height:",(0,o.D)(22),";letter-spacing:-0.2px;}}/* Caption styles (c1-c2) */\n .text-caption-1{font-size:",(0,o.D)(12),";line-height:",(0,o.D)(16),";letter-spacing:-0.2px;",r.M.mbUp,"{font-size:",(0,o.D)(12),";line-height:",(0,o.D)(16),";letter-spacing:-0.2px;}}.text-caption-2{font-size:",(0,o.D)(11),";line-height:",(0,o.D)(16),";letter-spacing:-0.2px;",r.M.mbUp,"{font-size:",(0,o.D)(11),";line-height:",(0,o.D)(16),";letter-spacing:-0.2px;}}/* Heading styles (h1-h6) */\n .text-heading-1{font-size:",(0,o.D)(28),";line-height:",(0,o.D)(34),";letter-spacing:-1px;font-weight:bold;",r.M.mbUp,"{font-size:",(0,o.D)(40),";line-height:",(0,o.D)(48),";letter-spacing:-1.2px;}}.text-heading-2{font-size:",(0,o.D)(24),";line-height:",(0,o.D)(32),";letter-spacing:-0.8px;font-weight:bold;",r.M.mbUp,"{font-size:",(0,o.D)(32),";line-height:",(0,o.D)(40),";letter-spacing:-1px;}}.text-heading-3{font-size:",(0,o.D)(22),";line-height:",(0,o.D)(32),";letter-spacing:-0.6px;font-weight:bold;",r.M.mbUp,"{font-size:",(0,o.D)(26),";line-height:",(0,o.D)(32),";letter-spacing:-0.6px;}}.text-heading-4{font-size:",(0,o.D)(20),";line-height:",(0,o.D)(28),";letter-spacing:-0.4px;font-weight:bold;",r.M.mbUp,"{font-size:",(0,o.D)(22),";line-height:",(0,o.D)(32),";letter-spacing:-0.6px;}}.text-heading-5{font-size:",(0,o.D)(17),";line-height:",(0,o.D)(24),";letter-spacing:-0.4px;font-weight:bold;",r.M.mbUp,"{font-size:",(0,o.D)(20),";line-height:",(0,o.D)(28),";letter-spacing:-0.4px;}}.text-heading-6{font-size:",(0,o.D)(14),";line-height:",(0,o.D)(22),";letter-spacing:-0.2px;font-weight:bold;",r.M.mbUp,"{font-size:",(0,o.D)(16),";line-height:",(0,o.D)(24),";letter-spacing:0;}}/* Section styles (s1-s5) */\n .text-section-1{font-size:",(0,o.D)(18),";line-height:",(0,o.D)(26),";letter-spacing:-0.6px;font-weight:600;",r.M.mbUp,"{font-size:",(0,o.D)(22),";line-height:",(0,o.D)(32),";letter-spacing:-0.6px;}}.text-section-2{font-size:",(0,o.D)(16),";line-height:",(0,o.D)(24),";letter-spacing:-0.2px;font-weight:600;",r.M.mbUp,"{font-size:",(0,o.D)(18),";line-height:",(0,o.D)(28),";letter-spacing:-0.4px;}}.text-section-3{font-size:",(0,o.D)(14),";line-height:",(0,o.D)(24),";letter-spacing:-0.2px;font-weight:600;",r.M.mbUp,"{font-size:",(0,o.D)(16),";line-height:",(0,o.D)(24),";letter-spacing:0;}}.text-section-4{font-size:",(0,o.D)(12),";line-height:",(0,o.D)(18),";letter-spacing:0;font-weight:600;",r.M.mbUp,"{font-size:",(0,o.D)(14),";line-height:",(0,o.D)(22),";letter-spacing:0;}}.text-section-5{font-size:",(0,o.D)(12),";line-height:",(0,o.D)(18),";letter-spacing:0;font-weight:600;",r.M.mbUp,"{font-size:",(0,o.D)(12),";line-height:",(0,o.D)(18),";letter-spacing:0;}}/* Title styles (title1-title2) */\n .text-title-1{font-size:",(0,o.D)(17),";line-height:",(0,o.D)(24),";letter-spacing:-0.4px;",r.M.mbUp,"{font-size:",(0,o.D)(17),";line-height:",(0,o.D)(24),";letter-spacing:-0.4px;}}.text-title-2{font-size:",(0,o.D)(15),";line-height:",(0,o.D)(24),";letter-spacing:-0.3px;",r.M.mbUp,"{font-size:",(0,o.D)(15),";line-height:",(0,o.D)(24),";letter-spacing:-0.3px;}}/* Revert heading styles to old browser defaults and map to utility classes */\n h1,h2,h3,h4,h5,h6{margin:0;padding:0;font-weight:bold;line-height:1.2;}/* Map h1-h4 to utility classes,h5-h6 use default browser styles */\n h1{/* text-heading-5 */\n font-size:",(0,o.D)(17),";line-height:",(0,o.D)(24),";letter-spacing:-0.4px;margin:0;",r.M.mbUp,"{font-size:",(0,o.D)(20),";line-height:",(0,o.D)(28),";letter-spacing:-0.4px;}}h2{/* text-title-1 */\n font-size:",(0,o.D)(17),";line-height:",(0,o.D)(24),";letter-spacing:-0.4px;margin:0;",r.M.mbUp,"{font-size:",(0,o.D)(17),";line-height:",(0,o.D)(24),";letter-spacing:-0.4px;}}h3{/* text-title-2 */\n font-size:",(0,o.D)(15),";line-height:",(0,o.D)(24),";letter-spacing:-0.3px;margin:0;",r.M.mbUp,"{font-size:",(0,o.D)(15),";line-height:",(0,o.D)(24),";letter-spacing:-0.3px;}}h4{/* text-body-3 */\n font-size:",(0,o.D)(13),";line-height:",(0,o.D)(20),";letter-spacing:-0.3px;margin:0;font-weight:normal;",r.M.mbUp,"{font-size:",(0,o.D)(13),";line-height:",(0,o.D)(20),";letter-spacing:-0.3px;}}h5{/* Revert to old browser default */\n font-size:0.83em;margin:1.67em 0;}h6{/* Revert to old browser default */\n font-size:0.67em;margin:2.33em 0;}/* Restore list styles with old spacing logic */\n ul,ol{margin:0;padding-left:21px;list-style-position:outside;}ul:not(:last-child),ol:not(:last-child){margin-bottom:10px;}ul{list-style-type:disc;}ol{list-style-type:decimal;}li{margin:0;padding:0;list-style:inherit;}li:not(:has(ul)){list-style-position:outside;list-style-type:inherit;}li:not(:has(ul)):not(:last-child){margin-bottom:10px;}li > ul{padding-left:20px;}ul ul,ol ol,ul ol,ol ul{margin-top:0.5em;margin-bottom:0.5em;}ul ul,ul ul li{list-style-type:circle;}/* Restore link styles */\n a{color:inherit;text-decoration:underline;cursor:pointer;}a:hover{text-decoration:underline;}/* Restore blockquote styles */\n blockquote{margin:1em 0;padding:0.5em 1em;border-left:4px solid #ccc;font-style:italic;}/* Restore code styles */\n code{padding:0.2em 0.4em;background-color:rgba(0,0,0,0.05);border-radius:3px;font-family:monospace;font-size:0.9em;}pre{margin:1em 0;padding:1em;background-color:rgba(0,0,0,0.05);border-radius:4px;overflow-x:auto;font-family:monospace;font-size:0.9em;line-height:1.5;}pre code{padding:0;background-color:transparent;}/* Restore table styles */\n table{border-collapse:collapse;border-spacing:0;width:100%;margin:1em 0;}th,td{padding:0.5em;border:1px solid #ddd;text-align:left;}th{font-weight:bold;background-color:rgba(0,0,0,0.05);}/* Restore image styles */\n img{max-width:100%;height:auto;display:block;margin:1em 0;}/* Restore text formatting */\n strong,b{font-weight:bold;}em,i{font-style:italic;}u{text-decoration:underline;}s,strike,del{text-decoration:line-through;}sub{vertical-align:sub;font-size:0.8em;}sup{vertical-align:super;font-size:0.8em;}/* Restore horizontal rule */\n hr{margin:1.5em 0;padding:0;border:none;border-top:1px solid #ddd;}/* Restore address styles */\n address{font-style:italic;margin:1em 0;}")},28414:function(n,e,t){"use strict";var i=t(2445),a=t(74728),r=t.n(a);e.A=function(n){var e,t=n.htmlContent,a=n.className,o=(e=t)?r()(e.replace(/\n$/,"").replace(/\n/g,"
")):"";return(0,i.Y)("div",{className:a,dangerouslySetInnerHTML:{__html:o}})}},21336:function(n,e,t){"use strict";t.d(e,{h:function(){return u}});var i=t(53513),a=t(63538),r=t(2445),o=t(73884),l=t.n(o),c=t(24537);function s(){var n=(0,c.A)(["\n display: inline-flex;\n align-items: center;\n justify-content: center;\n flex-grow: 0;\n flex-shrink: 0;\n\n width: calc(var(--wrapper-size, var(--icon-size)) * 1px);\n height: calc(var(--wrapper-size, var(--icon-size)) * 1px);\n\n &[data-clickable='true'] {\n cursor: pointer;\n }\n\n > * {\n width: calc(var(--icon-size) * 1px);\n height: calc(var(--icon-size) * 1px);\n }\n\n &[data-svg-custom-stroke='true'] > svg * {\n stroke: var(--icon-stroke-color);\n }\n &[data-svg-custom-fill='true'] > svg * {\n fill: var(--icon-fill-color);\n }\n"]);return s=function(){return n},n}var d=t(27317).Ay.div.withConfig({componentId:"sc-3ee6186-0"})(s()),u=function(n){var e=n.children,t=n.className,o=n.onClick,c=n.wrapperSize,s=n.iconSize,u=void 0===s?24:s,p=n.wrapperStyle,h=n.iconStyle,g=n.svgIcon,m=n.wrapperProps;return(0,r.Y)(d,(0,a.A)((0,i.A)({className:t,onClick:o,style:(0,i.A)({},c&&{"--wrapper-size":c},u&&{"--icon-size":u},g&&(0,i.A)({},g.fill&&{"--icon-fill-color":g.fill},g.stroke&&{"--icon-stroke-color":g.stroke}),p),"data-clickable":!!o,"data-svg-custom-stroke":!!(null===g||void 0===g?void 0:g.stroke),"data-svg-custom-fill":!!(null===g||void 0===g?void 0:g.fill)},m),{children:l().cloneElement(e,{style:h})}))}},95456:function(n,e,t){"use strict";t.d(e,{Y:function(){return c}});var i=t(53513),a=t(2445);t(73884);function r(n){var e=n.src,t=n.width,i=n.quality;return e.includes("?")?"".concat(e,"&w=").concat(t,"&q=").concat(i||75):"".concat(e,"?w=").concat(t,"&q=").concat(i||75)}var o=t(57812),l=t.n(o),c=function(n){return(0,a.Y)(l(),(0,i.A)({objectFit:"cover",loader:r},n))}},44523:function(n,e,t){"use strict";var i=t(53513),a=t(63538),r=t(53455),o=t(2445),l=t(73419),c=t(32876),s=t.n(c);e.A=function(n){var e=n.children,t=n.linkProps,c=(0,r.A)(n,["children","linkProps"]);return(0,l.$)().isNewNextRouter?(0,o.Y)(s(),(0,a.A)((0,i.A)({},c,t),{children:(0,o.Y)(o.FK,{children:e})})):(0,o.Y)(s(),(0,a.A)((0,i.A)({},c),{children:(0,o.Y)("a",(0,a.A)((0,i.A)({},t),{children:e}))}))}},74834:function(n,e,t){"use strict";t.d(e,{A:function(){return g}});var i=t(2445),a=t(73884),r=t(34555),o=t(73419),l=t(6442),c=t(58065),s=t(24537);function d(){var n=(0,s.A)(["\n border-radius: 4px;\n background: ",";\n width: fit-content;\n display: flex;\n gap: 4px;\n padding: 5px 12px 5px 8px;\n font-size: 14px;\n font-weight: 400;\n line-height: 22px;\n color: ",";\n pointer-events: initial;\n\n svg {\n margin-top: 5px;\n flex: 0 0 14px;\n path {\n fill: ",";\n }\n }\n"]);return d=function(){return n},n}var u=t(27317).Ay.div.withConfig({componentId:"sc-3d08c06-0"})(d(),(function(n){return n.bgColor}),(function(n){return n.iconColor}),(function(n){return n.iconColor})),p=t(40959),h=t(46529),g=function(n){var e=n.title,t=n.showTooltip,s=void 0===t||t,d=n.bgColor,g=void 0===d?"#FFF8E2":d,m=n.iconColor,f=void 0===m?"#FC7419":m,v=n.className,b=function(n){return(0,i.Y)("span",{children:n})},y=(0,l.A)().formatMessage,k=(0,o.$)().locale,x=void 0===k?"vi-VN":k,w=p.Xq3[x],A=(0,a.useMemo)((function(){return(null===w||void 0===w?void 0:w.email)&&(null===w||void 0===w?void 0:w.hotline)?(0,i.Y)(c.A,{id:"admin.voucher.applicable.fullContact",defaultMessage:"Vui l\xf2ng li\xean h\u1ec7 hotline {hotline} ho\u1eb7c email {email} \u0111\u1ec3 nh\u1eadn ngay voucher \u01b0u \u0111\xe3i.",tagName:"p",values:{span:b,hotline:(null===w||void 0===w?void 0:w.hotline)||"",email:(null===w||void 0===w?void 0:w.email)||""}}):(null===w||void 0===w?void 0:w.email)&&!(null===w||void 0===w?void 0:w.hotline)?(0,i.Y)(c.A,{id:"admin.voucher.applicable.emailContact",defaultMessage:"Vui l\xf2ng li\xean h\u1ec7 email {email} \u0111\u1ec3 nh\u1eadn ngay voucher \u01b0u \u0111\xe3i.",tagName:"p",values:{email:null===w||void 0===w?void 0:w.email}}):""}),[w]),C=(0,a.useMemo)((function(){return{tooltip:{maxWidth:"268px",whiteSpace:"initial",padding:"8px",display:A&&s?"initial":"none",p:{fontSize:"12px",fontWeight:"400",lineHeight:"18px"},span:{color:"#2D87F3",textDecoration:"underline"}}}}),[A,s]);return(0,i.Y)(r.m,{label:A,styles:C,withArrow:!0,children:(0,i.Y)("div",{className:v,children:(0,i.FD)(u,{className:"flex items-start",bgColor:g,iconColor:f,children:[(0,i.Y)(h.A,{className:"mr-[0px]"}),e||y({id:"admin.voucher.applicable",defaultMessage:"Voucher applicable"})]})})})}},39749:function(n,e,t){"use strict";t.d(e,{y:function(){return g}});var i=t(24537),a=t(2445),r=t(73884),o=t(60304),l=t(27317),c=t(87809),s=t(23662),d=t(8758);function u(){var n=(0,i.A)([""]);return u=function(){return n},n}var p=l.Ay.div.withConfig({componentId:"sc-d3209884-0"})(u()),h=function(n){return n?{type:n.type,content:n.content||n.message||""}:void 0},g=function(n){var e=n.className,t=n.alert,i=n.dismissTime,l=void 0===i?3e3:i,u=(0,r.useState)(h(t)),g=u[0],m=u[1];(0,r.useEffect)((function(){m(h(t))}),[t]),(0,r.useEffect)((function(){var n=setInterval((function(){(null===g||void 0===g?void 0:g.content)&&g.content.length>0&&f()}),l);return function(){clearInterval(n)}}),[null===g||void 0===g?void 0:g.content,l]);var f=function(){m(void 0)};return(0,a.Y)(p,{className:e,children:(null===g||void 0===g?void 0:g.content)&&(0,a.Y)(o.A,{closeIcon:(0,a.Y)(d.A,{onClick:function(){return f()}}),contentIcon:"success"===g.type?(0,a.Y)(c.A,{}):(0,a.Y)(s.A,{}),text:g.content,type:"success"===g.type?"success":"danger"})})}},12914:function(n,e,t){"use strict";var i=t(53513),a=t(63538),r=t(2445),o=(t(73884),t(35291)),l=t(71572),c=t(6442),s=t(81921);e.A=function(n){var e=n.type,t=n.value,d=n.className,u=n.textProps,p=(0,c.A)().formatMessage;return e===s.x.MOST_BOOKED?(0,r.Y)(l.T,(0,a.A)((0,i.A)({size:"c1",weight:"halfBold",color:o.w.colors.yellow900,className:d},u),{children:p({id:"hospitalService.detail.mostBooked",defaultMessage:"Most Booked in Last 24h"})})):e===s.x.LIMITED_INVENTORY?!t||t<=0?null:(0,r.Y)(l.T,(0,a.A)((0,i.A)({size:"c1",weight:"halfBold",color:o.w.colors.yellow900,className:d},u),{children:p({id:"hospitalService.detail.limitedInventory",defaultMessage:"{value} left at this price"},{value:t})})):null}},50470:function(n,e,t){"use strict";t.d(e,{z:function(){return l}});var i=t(2445),a=t(73884),r=t(6442),o=t(40959),l=function(n){var e=n.token,t=void 0===e?o.n_:e,l=(0,a.useState)(!1),c=l[0],s=l[1],d=(0,r.A)().formatMessage;return(0,a.useEffect)((function(){if(!c){var n=document.querySelector("#zalo-script");n&&n.remove();var e=document.createElement("script");e.setAttribute("id","zalo-script"),e.src="https://sp.zalo.me/plugins/sdk.js",e.async=!0,document.head.appendChild(e),document.body.classList.add("has-zalo-widget"),s(!0)}return function(){c&&document.body.classList.remove("has-zalo-widget")}}),[c]),(0,i.Y)(i.FK,{children:(0,i.Y)("div",{className:"zalo-chat-widget","data-oaid":t,"data-welcome-message":d({id:"common.zaloConfig.message",defaultMessage:"r\u1ea5t vui \u0111\u01b0\u1ee3c h\u1ed7 tr\u1ee3 b\u1ea1n"}),"data-autopopup":"0","data-width":"","data-height":""})})}},92230:function(n,e,t){"use strict";t.d(e,{S:function(){return o}});var i=t(11851),a=t(60304),r=t(44410),o=(0,i.A)(a.D,{target:"ezof66o0"})("& .mantine-Carousel-controls .mantine-Carousel-control{",r.M.mbUp,"{width:32px;height:32px;border:unset;opacity:1;box-shadow:0px 0px 1px 0px #0000000a,0px 2px 8px 0px #0000000a,0px 16px 24px 0px #0000000f;transition:all 0.2s;}}& .mantine-Carousel-controls{padding:0;top:calc(50% - 32px / 2);",r.M.mbUp,"{button[data-inactive]{opacity:0;}}}")},76948:function(n,e,t){"use strict";t.d(e,{u:function(){return o}});var i=t(2445),a=t(10905),r=t(4796),o=function(n){var e=n.content,t=n.isOpen;return(0,i.Y)(a.N,{initial:!1,children:t&&(0,i.Y)(r.IU,{initial:{height:0,opacity:0},animate:{height:"auto",opacity:1},exit:{height:0,opacity:0},children:(0,i.Y)(r.xv,{color:"var(--gray600)",size:"p2",children:e})})})}},4796:function(n,e,t){"use strict";t.d(e,{IU:function(){return y},PZ:function(){return m},dX:function(){return b},uB:function(){return v},w9:function(){return f},xv:function(){return k}});var i=t(24537),a=t(44410),r=t(50970),o=t(66031),l=t(27317);function c(){var n=(0,i.A)(["\n > div {\n &:first-child > button {\n padding-top: 0;\n }\n &:last-child > button {\n padding-bottom: 0;\n }\n }\n "]);return c=function(){return n},n}function s(){var n=(0,i.A)(["\n ","\n"]);return s=function(){return n},n}function d(){var n=(0,i.A)([""]);return d=function(){return n},n}function u(){var n=(0,i.A)(["\n --border-style: 1px solid var(--neutral100);\n padding: 16px 0;\n border-bottom: var(--border-style);\n display: flex;\n justify-content: space-between;\n align-items: center;\n cursor: pointer;\n background-color: white;\n text-align: left;\n line-height: 1.5;\n &:focus-visible {\n outline: 1px solid var(--gray600);\n }\n\n "," {\n > :first-child {\n flex: 6;\n }\n\n > :last-child {\n flex: 1;\n display: flex;\n justify-content: end;\n }\n }\n"]);return u=function(){return n},n}function p(){var n=(0,i.A)(["\n font-weight: var(--fwSemiBold);\n"]);return p=function(){return n},n}function h(){var n=(0,i.A)(["\n color: var(--gray600);\n overflow: hidden;\n"]);return h=function(){return n},n}function g(){var n=(0,i.A)(["\n white-space: pre-line;\n margin-bottom: 24px;\n margin-top: 16px;\n"]);return g=function(){return n},n}var m=l.Ay.section.withConfig({componentId:"sc-105c083f-0"})(s(),(function(n){return n.disableVerticalPadding&&(0,l.AH)(c())})),f=l.Ay.div.withConfig({componentId:"sc-105c083f-1"})(d()),v=l.Ay.button.withConfig({componentId:"sc-105c083f-2"})(u(),a.M.mbDown),b=(0,l.Ay)(r.T).withConfig({componentId:"sc-105c083f-3"})(p()),y=(0,l.Ay)(o.m.div).withConfig({componentId:"sc-105c083f-4"})(h()),k=(0,l.Ay)(r.T).withConfig({componentId:"sc-105c083f-5"})(g())},54421:function(n,e,t){"use strict";t.d(e,{n:function(){return d}});var i=t(2445),a=t(73884),r=t(76948),o=t(10905),l=t(66031),c=function(n){var e=n.isOpen;return(0,i.FD)("svg",{width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,i.Y)("path",{d:"M13 8H1C0.45 8 0 7.55 0 7C0 6.45 0.45 6 1 6H13C13.55 6 14 6.45 14 7C14 7.55 13.55 8 13 8Z",fill:"#595959",id:"open-horizontal"}),(0,i.Y)(o.N,{children:!e&&(0,i.Y)(l.m.path,{initial:{rotate:"90deg"},animate:{rotate:"180deg"},exit:{rotate:"90deg"},transition:{duration:.3,bounce:0},d:"M6 13L6 1C6 0.45 6.45 -6.77527e-08 7 -4.37114e-08C7.55 -1.96701e-08 8 0.45 8 1L8 13C8 13.55 7.55 14 7 14C6.45 14 6 13.55 6 13Z",fill:"#595959",id:"open-vertical"})})]})},s=t(4796),d=function(n){var e=n.content,t=n.className,o=n.style,l=n.disableVerticalPadding,d=void 0!==l&&l,u=(0,a.useState)(-1),p=u[0],h=u[1],g=function(n){return h(n===p?-1:n)};return(0,i.Y)(s.PZ,{className:t,style:o,disableVerticalPadding:d,children:e&&e.length>0&&e.map((function(n,e){return(0,i.FD)(s.w9,{"aria-expanded":e===p,"aria-controls":"accordion-button-".concat(e+1),role:"region",children:[(0,i.FD)(s.uB,{onMouseDown:function(){return g(e)},onKeyDown:function(n){return function(n,e){"Enter"!==n.key&&" "!==n.key||g(e)}(n,e)},id:"accordion-button-".concat(e+1),children:[(0,i.Y)(s.dX,{size:"s2",children:n.title}),(0,i.Y)("div",{children:(0,i.Y)(c,{isOpen:e===p})})]}),(0,i.Y)(r.u,{isOpen:e===p,content:n.content})]},n.title+e)}))})}},98480:function(n,e,t){"use strict";t.d(e,{CL:function(){return s},D9:function(){return d},Vj:function(){return u}});var i=t(24537),a=t(44410),r=t(27317);function o(){var n=(0,i.A)(["\n width: 100%;\n align-items: center;\n justify-content: space-between;\n padding: 2px 24px 0 24px;\n border-bottom: 1px solid var(--neutral100);\n background: var(--white);\n\n "," {\n position: sticky;\n z-index: 8;\n top: 64px;\n }\n\n "," {\n width: 100%;\n }\n\n "," {\n padding-top: 24px;\n }\n\n &:not([data-has-action-bar]) {\n display: flex;\n }\n\n &[data-is-sticky] {\n position: sticky;\n top: 0;\n }\n\n .actionNavigation__left {\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n "," {\n width: 100%;\n }\n .tabs {\n "," {\n display: flex;\n overflow-x: auto;\n scroll-snap-type: x mandatory;\n\n & > li {\n scroll-snap-align: start;\n }\n }\n p {\n font-size: 14px;\n font-weight: 600;\n }\n }\n }\n\n .actionNavigation__action-buttons {\n display: flex;\n\n .actionNavigation__action {\n color: var(--gray800);\n font-weight: 400;\n &:hover {\n color: var(--gray600);\n }\n }\n }\n\n ul {\n margin-top: 4px;\n margin-bottom: -1px;\n }\n\n button + button {\n margin-left: 4px;\n }\n"]);return o=function(){return n},n}function l(){var n=(0,i.A)(["\n display: flex;\n width: 100%;\n justify-content: space-between;\n margin: 1rem 0;\n\n > div {\n display: flex;\n\n > div {\n margin-right: 1.5rem;\n }\n }\n\n .back-btn {\n display: flex;\n align-items: center;\n cursor: pointer;\n width: fit-content;\n }\n\n .back-text {\n margin-top: -2px;\n margin-left: 10px;\n }\n\n .duplicate-btn {\n svg {\n path {\n fill: ",";\n }\n }\n }\n"]);return l=function(){return n},n}function c(){var n=(0,i.A)(["\n margin: 0;\n display: flex;\n\n button {\n color: ",";\n }\n .button-icon svg {\n width: auto;\n height: auto;\n }\n\n & > li {\n padding-left: 25px;\n padding-right: 25px;\n position: relative;\n\n &:after {\n content: '';\n width: 1px;\n display: block;\n right: 0;\n top: 2px;\n height: 20px;\n position: absolute;\n background-color: ",";\n }\n\n &:last-child {\n padding-right: 15px;\n\n &:after {\n content: none;\n }\n }\n }\n"]);return c=function(){return n},n}var s=r.Ay.header.withConfig({componentId:"sc-689f868d-0"})(o(),a.M.tdUp,a.M.mbDown,a.M.tdDown,a.M.mbDown,a.M.mbDown),d=r.Ay.div.withConfig({componentId:"sc-689f868d-1"})(l(),(function(n){return n.theme.colors.blue600})),u=r.Ay.ul.withConfig({componentId:"sc-689f868d-2"})(c(),(function(n){return n.theme.colors.primaryBase}),(function(n){return n.theme.colors.neutral100}))},95380:function(n,e,t){"use strict";t.d(e,{A:function(){return s}});var i=t(2445),a=t(73884),r=t(10297),o=t(20607),l=t(53956),c=t(70931),s=function(n){var e=n.className,t=n.adUnitPath,s=n.divId,d=n.isMobile,u=n.customTargetings,p=(0,r.useRouter)().locale,h=(0,a.useState)(!0),g=h[0],m=h[1],f=(0,a.useState)(!1),v=f[0],b=f[1],y=(0,a.useState)("init"),k=y[0],x=y[1],w=(0,a.useRef)(null),A=(0,a.useRef)(Math.floor(1e4*Math.random())),C=(0,a.useRef)(null),_=(0,a.useState)(!1),M=_[0],D=_[1],Y=(0,a.useRef)(),E=(0,a.useRef)(),N=function(){Y.current&&clearTimeout(Y.current),Y.current=setTimeout((function(){document.getElementById("subot--container")?m(!0):m(!1),N()}),2e3)};return(0,a.useEffect)((function(){d?(m(!0),N()):m(!1)}),[d]),(0,a.useEffect)((function(){var n=function(){E.current&&clearTimeout(E.current),E.current=setTimeout((function(){var e,t;((null===(e=C.current)||void 0===e?void 0:e.clientHeight)||0)>0?D(!0):D(!1),(null===(t=w.current)||void 0===t?void 0:t.clientHeight)?x(!1):x(!0),n()}),2e3)};return n(),function(){Y.current&&clearTimeout(Y.current),E.current&&clearTimeout(E.current)}}),[]),g||v||!c.Uq.includes(p)?null:(0,i.FD)(l.kc,{ref:C,className:e,"data-hide":k,children:[(0,i.Y)(o.z,{ref:w,adUnitPath:t,size:d?[[320,50],[320,100]]:[728,90],divId:(s||"div-gpt-ad-sticky")+(d?"-mobile":"")+String(A.current),pos:["Sticky"],hideIfHasSubot:d,refreshInterval:30,customTargetings:u,adDefaultSize:d?[320,50]:[728,90]},d?"mobile":"desktop"),M&&(0,i.Y)("div",{className:"close-sticky-button",onClick:function(){return b(!0)},children:"x"})]})}},53956:function(n,e,t){"use strict";t.d(e,{AY:function(){return m},E6:function(){return g},kc:function(){return h}});var i=t(24537),a=t(40959),r=t(27317);function o(){var n=(0,i.A)(["\n 0% {\n opacity: 1;\n transform: translate(-50%, 0);\n }\n 99% {\n opacity: 0;\n transform: translate(-50%, 100%);\n }\n 100% {\n opacity: 0;\n visibility: hidden;\n transform: translate(-50%, 100%);\n }\n"]);return o=function(){return n},n}function l(){var n=(0,i.A)(["\n 0% {\n opacity: 0;\n transform: translate(-50%, 100%);\n }\n 100% {\n opacity: 1;\n transform: translate(-50%, 0);\n }\n"]);return l=function(){return n},n}function c(){var n=(0,i.A)(["\n position: fixed;\n z-index: ",";\n bottom: 0;\n left: 50%;\n width: fit-content;\n max-width: 100%;\n background: none;\n transform: translateX(-50%);\n .close-sticky-button {\n position: absolute;\n display: flex;\n width: 16px;\n height: 16px;\n align-items: center;\n justify-content: center;\n background: #bfbfbf;\n border-radius: 50%;\n color: white;\n\n cursor: pointer;\n font-size: 12px;\n line-height: 12px;\n transform: translate(50%, -50%);\n top: 0;\n right: 0;\n }\n &[data-hide='true'] {\n animation: "," 0.4s ease-in-out forwards;\n }\n &[data-hide='false'] {\n animation: "," 0.2s ease-in-out forwards;\n }\n"]);return c=function(){return n},n}function s(){var n=(0,i.A)(["\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n border: 1px solid ",";\n background: ",";\n"]);return s=function(){return n},n}function d(){var n=(0,i.A)(["\n /* background: ","; */\n width: 100%;\n padding: 2px 5px;\n display: flex;\n align-items: center;\n justify-content: center;\n gap: 5px;\n img {\n height: 12px;\n }\n"]);return d=function(){return n},n}var u=(0,r.i7)(o()),p=(0,r.i7)(l()),h=r.Ay.div.withConfig({componentId:"sc-882e60dd-0"})(c(),a.Mue.adBlock,u,p),g=r.Ay.div.withConfig({componentId:"sc-882e60dd-1"})(s(),(function(n){return n.theme.colors.neutral50}),(function(n){return n.theme.colors.neutral50})),m=r.Ay.div.withConfig({componentId:"sc-882e60dd-2"})(d(),(function(n){return n.theme.colors.neutral50}))},20607:function(n,e,t){"use strict";t.d(e,{z:function(){return h}});var i=t(2445),a=t(73884),r=t(50970),o=t(35291),l=t(10297),c=t(6442),s=t(53956),d=t(70931),u=function(n){if(n){window.googletag=window.googletag||{cmd:[]};var e=window.googletag;e.cmd.push((function(){e.destroySlots([n])}))}},p=(0,a.forwardRef)((function(n,e){var t=n.className,p=n.adUnitPath,h=n.size,g=n.divId,m=n.pos,f=n.sizeMapping,v=n.isHidden,b=n.hideIfHasSubot,y=n.refreshInterval,k=n.customTargetings,x=n.style,w=n.adDefaultSize,A=(0,l.useRouter)().locale,C=(0,c.A)().formatMessage,_=d.Uq.includes(A),M=(0,a.useRef)(null),D=(0,a.useRef)(null),Y=(0,a.useRef)(null),E=(0,a.useRef)(!1),N=function(){u(D.current),D.current=function(n){var e=n.adUnitPath,t=n.size,i=n.divId,a=n.pos,r=n.sizeMapping,o=n.hideIfHasSubot,l=n.customTargetings;if(document.getElementById(i)){window.googletag=window.googletag||{cmd:[]};var c=window.googletag;c.cmd.push((function(){var n,s=null===(n=c.defineSlot(e,t,i))||void 0===n?void 0:n.setTargeting("Pos",a);try{l&&Object.keys(l).forEach((function(n){n&&(null===s||void 0===s||s.setTargeting(n,l[n]))}))}catch(d){console.error(d)}if(s)return null===s||void 0===s||s.addService(c.pubads()),r&&s.defineSizeMapping(r),o&&document.getElementById("subot--container")&&s.setTargeting("chatbot",!0),c.pubads(),c.enableServices(),c.display(i),s}))}}({adUnitPath:p,size:h,divId:g,pos:m,sizeMapping:f,hideIfHasSubot:b,customTargetings:k}),y&&(null!==Y.current&&clearInterval(Y.current),Y.current=window.setInterval((function(){window.googletag=window.googletag||{cmd:[]};var n=window.googletag;n.cmd.push((function(){D.current&&n.pubads().refresh([D.current])}))}),1e3*y))},S=(0,a.useRef)(N);return S.current=N,(0,a.useEffect)((function(){return setTimeout((function(){var n;!v&&_&&(null===(n=S.current)||void 0===n||n.call(S));E.current=!0}),1e3+Math.floor(1e3*Math.random())),function(){D.current&&u(D.current),Y.current&&clearInterval(Y.current)}}),[]),(0,a.useEffect)((function(){var n;!v&&_&&E.current&&(null===(n=S.current)||void 0===n||n.call(S))}),[]),_?(0,i.FD)(s.E6,{ref:M,className:t,style:x,children:[(0,i.FD)(s.AY,{children:[(0,i.Y)("img",{src:"/care/svg/adsIcon.svg"}),(0,i.Y)(r.T,{size:"p4",color:o.w.colors.gray600,children:C({id:"footer.advertising",defaultMessage:"Advertising"})})]}),(0,i.Y)("div",{style:{minWidth:w?"".concat(w[0],"px"):"100%",minHeight:w?"".concat(w[1],"px"):"100%"},children:(0,i.Y)("div",{ref:e,id:g})})]}):null})),h=(0,a.memo)(p,(function(n,e){return n.adUnitPath===e.adUnitPath&&n.divId===e.divId&&n.style===e.style}))},70931:function(n,e,t){"use strict";t.d(e,{Uq:function(){return p},oq:function(){return u}});var i,a=t(38971),r=t(26273),o=(i={},(0,a.A)(i,r.L.Vietnam,"HelloBacsi"),(0,a.A)(i,r.L.Indonesia,"HelloSehat"),(0,a.A)(i,r.L.Malaysia,"HelloDoktor"),(0,a.A)(i,r.L.Cambodia,"HelloKrupet"),(0,a.A)(i,r.L.PhilippinesEnglish,"HelloDoctorPH"),(0,a.A)(i,r.L.Thailand,"HelloKhunmor"),(0,a.A)(i,r.L.Myanmar,"HelloSayarwon"),(0,a.A)(i,r.L.Taiwan,"HelloYishi"),(0,a.A)(i,r.L.India,"HelloSwasthya"),(0,a.A)(i,r.L.PhilippinesTagalog,"HelloDoctorPH"),(0,a.A)(i,r.L.Singapore,"Hello JianKang"),i),l="Mobile",c="Desktop",s="AMP",d=21682272649,u=function(n){var e=n.locale,t=n.isMobile,i=n.isAmp,a=n.contentAdTag,r=n.forceTag,u=s;i||(u=t?l:c);var p=o[e]+u;return r?"/".concat(d,"/").concat(p,"/").concat(r):a?"/".concat(d,"/").concat(p,"/").concat(p,"_Care/").concat(a):"/".concat(d,"/").concat(p,"/ad")},p=[r.L.Vietnam]},8239:function(n,e,t){"use strict";t.d(e,{PM:function(){return o},bp:function(){return r}});var i=["MidBanner1","MidBanner2","EndBanner"],a=["TopBanner","MidBanner1","MidBanner2","EndBanner"],r=function(n,e){var t=Math.floor(n/4);return e?a[t]:i[t]},o=function(n,e,t){return!!r(n,t)&&((n+1)%4===0||e<4&&n+1===e)}},12681:function(n,e,t){"use strict";t.d(e,{D$:function(){return m},IM:function(){return f},af:function(){return v},b7:function(){return g},rf:function(){return p},tu:function(){return h}});var i=t(24537),a=t(44410),r=t(27317);function o(){var n=(0,i.A)(["\n position: relative;\n display: flex;\n width: 100%;\n align-items: flex-start;\n justify-content: space-between;\n padding: 24px;\n gap: 15px;\n border-bottom: 1px solid\n ",";\n"]);return o=function(){return n},n}function l(){var n=(0,i.A)(["\n z-index: 2;\n padding: 19px 24px;\n\n border-bottom: 1px solid\n ",";\n background-color: ",";\n\n "," {\n top: 0;\n position: sticky;\n }\n\n & + "," {\n background-color: ",";\n }\n"]);return l=function(){return n},n}function c(){var n=(0,i.A)(["\n display: flex;\n\n > img,\n picture {\n width: 40px;\n height: 40px;\n margin-right: 1rem;\n border-radius: 6px;\n object-fit: cover;\n }\n\n > figcaption {\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n justify-content: center;\n & {\n .title {\n font-size: 16px;\n font-weight: 600;\n line-height: 24px;\n }\n }\n\n .facility-name {\n display: flex;\n gap: 8px;\n\n svg {\n margin-left: 10px;\n cursor: pointer;\n }\n }\n\n .create-page {\n display: flex;\n align-items: center;\n gap: 4px;\n cursor: pointer;\n }\n }\n"]);return c=function(){return n},n}function s(){var n=(0,i.A)(["\n display: flex;\n align-items: center;\n\n > * {\n margin-right: 16px;\n\n "," {\n &:last-child {\n margin-right: 0;\n }\n }\n }\n\n .telemedicine-toggle {\n & > label {\n gap: 10px;\n flex-direction: row-reverse;\n\n span {\n padding: 0;\n }\n }\n }\n\n .new-branch-btn {\n white-space: nowrap;\n border: none;\n }\n"]);return s=function(){return n},n}function d(){var n=(0,i.A)(["\n display: flex;\n align-items: center;\n\n color: ",";\n cursor: pointer;\n\n > :first-child {\n margin-right: 4px;\n }\n & {\n .edit {\n margin-top: 4px;\n font-size: 12px;\n font-weight: 600;\n line-height: 18px;\n }\n }\n"]);return d=function(){return n},n}function u(){var n=(0,i.A)(["\n max-width: 300px;\n min-width: 150px;\n\n input {\n height: 40px;\n background-color: ",";\n }\n\n "," {\n max-width: 225px;\n }\n\n "," {\n position: absolute;\n left: 100px;\n right: 50px;\n max-width: 100%;\n opacity: 0;\n visibility: hidden; \n transition: all 0.3s ease;\n margin-right: 0;\n\n .appointment & {\n right: 35px;\n }\n\n ","\n"]);return u=function(){return n},n}var p=r.Ay.div.withConfig({componentId:"sc-66ebac93-0"})(o(),(function(n){return n.theme.colors.neutral200})),h=(0,r.Ay)(p).withConfig({componentId:"sc-66ebac93-1"})(l(),(function(n){return n.theme.colors.neutral200}),(function(n){return n.theme.colors.white}),a.M.mbDown,p,(function(n){return n.theme.colors.neutral150})),g=r.Ay.figure.withConfig({componentId:"sc-66ebac93-2"})(c()),m=r.Ay.div.withConfig({componentId:"sc-66ebac93-3"})(s(),a.M.tdDown),f=r.Ay.div.withConfig({componentId:"sc-66ebac93-4"})(d(),(function(n){return n.theme.colors.gray600})),v=r.Ay.div.withConfig({componentId:"sc-66ebac93-5"})(u(),(function(n){return n.theme.colors.white}),a.M.tdOnly,a.M.mbDown,(function(n){return n.$isShowMobile&&"\n left: 50px;\n opacity: 1;\n visibility: visible; \n }\n "}))},17084:function(n,e,t){"use strict";t.d(e,{D:function(){return K}});var i=t(2445),a=t(73884),r=t.n(a),o=t(12263),l=t(32485),c=t.n(l),s=t(88491),d=t(10297),u=t(6442),p=t(36259),h=t(48403),g=t(12681),m=t(40568),f=t(62862),v=t(43184),b=t(24537),y=t(44410),k=t(27317);function x(){var n=(0,b.A)(["\n position: relative;\n\n &.hide-select-search {\n pointer-events: none;\n svg {\n visibility: hidden;\n }\n }\n"]);return x=function(){return n},n}function w(){var n=(0,b.A)(["\n display: flex;\n width: 100%;\n margin-bottom: 0;\n cursor: pointer;\n div {\n color: ",";\n font-size: 16px;\n font-weight: bold;\n }\n svg {\n margin-top: 4px;\n margin-left: 28px;\n }\n"]);return w=function(){return n},n}function A(){var n=(0,b.A)(["\n position: absolute;\n z-index: 110;\n top: 100%;\n right: 0;\n left: 0;\n display: block;\n min-width: 262px;\n background: ",";\n border-radius: 6px;\n box-shadow: -1px 1px 2px rgba(67, 70, 74, 0.0001),\n -2px 2px 5px rgba(67, 86, 100, 0.123689);\n cursor: pointer;\n\n "," {\n box-shadow: 0px 10px 16px rgb(0, 0, 0, 0.04), 0px 2px 8px rgb(0, 0, 0, 0.04),\n 0px 0px 1px rgb(0, 0, 0, 0.04);\n }\n"]);return A=function(){return n},n}function C(){var n=(0,b.A)(["\n padding: 8px;\n background: ",";\n input {\n height: 40px;\n background: ",";\n }\n input::placeholder {\n color: ",";\n font-size: 14px;\n }\n"]);return C=function(){return n},n}function _(){var n=(0,b.A)(["\n min-width: 262px;\n max-height: 300px;\n padding: 8px;\n overflow-y: auto;\n"]);return _=function(){return n},n}function M(){var n=(0,b.A)(["\n display: flex;\n padding: 12px 18px 12px 16px;\n font-size: 16px;\n font-weight: 400;\n &:hover,\n :active {\n background: ",";\n }\n"]);return M=function(){return n},n}var D,Y=k.Ay.div.withConfig({componentId:"sc-d4262f1d-0"})(x()),E=k.Ay.div.withConfig({componentId:"sc-d4262f1d-1"})(w(),(function(n){return n.theme.colors.secondaryDark})),N=k.Ay.div.withConfig({componentId:"sc-d4262f1d-2"})(A(),(function(n){return n.theme.colors.white}),y.M.tdDown),S=k.Ay.div.withConfig({componentId:"sc-d4262f1d-3"})(C(),(function(n){return n.theme.colors.gray100}),(function(n){return n.theme.colors.white}),(function(n){return n.theme.colors.gray400})),F=k.Ay.div.withConfig({componentId:"sc-d4262f1d-4"})(_()),T=k.Ay.li.withConfig({componentId:"sc-d4262f1d-5"})(M(),(function(n){return n.theme.colors.gray100})),I=t(88576),z=t(47770),B=function(n){var e=n.className,t=n.style,l=n.title,c=n.placeholder,s=n.options,d=n.onChange,u=n.onSearchChange,p=n.hasSearch,h=void 0===p||p,g=n.isLoading,b=(0,a.useState)(""),y=b[0],k=b[1],x=(0,m.A)(r().useState(!1),2),w=x[0],A=x[1],C=(0,a.useRef)(null);(0,f.j)(C,(function(){return A(!1)}));var _=y?function(n,e){var t="".concat(e).toLowerCase();return n.filter((function(n){return"".concat(n.value).toLowerCase().includes(t)||n.label.toLowerCase().includes(t)}))}(s,y):s;return(0,i.FD)(Y,{className:e,style:t,ref:C,children:[(0,i.FD)(E,{onClick:function(){return A(!w)},children:[(0,i.Y)("div",{children:l}),s.length>0&&(0,i.Y)(I.A,{})]}),w&&s.length>0&&(0,i.FD)(N,{children:[h&&(0,i.Y)(S,{children:(0,i.Y)(o.I,{size:"sm",displayIcon:(0,i.Y)(z.A,{}),name:"",value:y,placeholder:c,onChange:function(n){k(n),u&&u(n)},autoComplete:"off"})}),(0,i.FD)(F,{children:[!g&&_.length>0&&_.map((function(n,e){return(0,i.Y)(T,{onClick:function(){d(n),A(!1)},children:n.label},"".concat(e,"-").concat(n.value))})),!g&&0===_.length&&(0,i.Y)("div",{className:"text-c",children:(0,i.Y)(v.Sv,{})}),g&&(0,i.Y)("div",{className:"text-c",children:(0,i.FD)(v.vv,{width:"16",height:"16",fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:[(0,i.Y)("mask",{id:"a",fill:"#fff",children:(0,i.Y)("path",{d:"M12 0A12 12 0 11.19 9.88l3.9.7A8.03 8.03 0 1012 3.98V0z"})}),(0,i.Y)("path",{d:"M12 0A12 12 0 11.19 9.88l3.9.7A8.03 8.03 0 1012 3.98V0z",stroke:"#2D87F3",strokeWidth:"8",mask:"url(#a)"})]})})]})]})]})},P=t(69831),O=t(65004),L=t(40959),H=t(8758);function j(){return j=Object.assign?Object.assign.bind():function(n){for(var e=1;e div > h5 {\n color: ",";\n }\n\n "," {\n position: fixed;\n z-index: 11;\n top: 0;\n box-shadow: 0px 0px 8px rgba(40, 74, 117, 0.08);\n width: calc(100vw - var(--side-menu-width));\n }\n\n "," {\n width: 100%;\n top: 64px;\n align-items: center;\n border-bottom: 1px solid\n ",";\n\n &:not(.has-search) {\n height: 56px;\n }\n }\n\n "," {\n padding: 10px 16px;\n\n &.has-search {\n height: 160px;\n }\n }\n"]);return l=function(){return n},n}function c(){var n=(0,i.A)(["\n & > div[data-has-icons='true'] > div {\n padding-right: 32px;\n }\n\n & > div[data-has-icons='true'] {\n min-width: 240px;\n border: 1px solid ",";\n }\n\n & > div > div {\n padding-top: 0;\n padding-bottom: 0;\n }\n"]);return c=function(){return n},n}function s(){var n=(0,i.A)(["\n display: flex;\n align-items: center;\n padding-right: 32px;\n\n & > :not(:first-child) {\n margin-left: 24px;\n }\n\n & {\n .alert {\n position: absolute;\n top: 84px;\n right: 0;\n overflow: hidden;\n width: 25vw;\n }\n }\n\n "," {\n padding-right: 0;\n margin-left: auto;\n\n & > :not(:first-child) {\n margin-left: 16px;\n }\n }\n"]);return s=function(){return n},n}function d(){var n=(0,i.A)(["\n display: flex;\n align-items: center;\n background-color: white;\n position: relative;\n\n "," {\n display: unset;\n width: 100%;\n }\n\n "," {\n width: 100%;\n justify-content: space-between;\n }\n\n & > :not(:first-child) {\n margin-left: 24px;\n }\n"]);return d=function(){return n},n}function u(){var n=(0,i.A)(["\n max-height: 24px;\n"]);return u=function(){return n},n}function p(){var n=(0,i.A)(["\n position: relative;\n width: auto;\n padding-right: 32px;\n padding-left: 32px;\n background-image: url('","/bgSvg/calendar.svg'),\n url('","/svg/chevron-down.svg');\n background-position: 0px center, right center;\n background-repeat: no-repeat;\n background-size: 15px 15px;\n font-weight: ",";\n"]);return p=function(){return n},n}function h(){var n=(0,i.A)(["\n position: relative;\n & svg {\n cursor: pointer;\n }\n"]);return h=function(){return n},n}function g(){var n=(0,i.A)(["\n position: absolute;\n top: 100%;\n right: 0;\n min-width: 200px;\n border: 1px solid ",";\n margin: 8px 0;\n background: white;\n border-radius: 6px;\n filter: drop-shadow(0px 10px 16px rgba(0, 0, 0, 0.04));\n\n li {\n display: flex;\n align-items: center;\n padding: 12px 18px;\n cursor: pointer;\n white-space: nowrap;\n &:hover {\n background: #f2f2f2;\n }\n & {\n a {\n color: ",";\n text-decoration: none;\n }\n }\n & {\n svg {\n margin-right: 12px;\n }\n }\n }\n"]);return g=function(){return n},n}function m(){var n=(0,i.A)(["\n display: flex;\n "," {\n display: unset;\n }\n input {\n width: 100%;\n height: 40px;\n }\n & {\n .dropdown {\n min-width: 250px;\n margin-right: 8px;\n font-size: 14px;\n\n "," {\n margin-right: 0;\n }\n\n input::placeholder {\n color: ",";\n }\n }\n\n .hospital {\n "," {\n padding-bottom: 8px;\n }\n }\n }\n"]);return m=function(){return n},n}var f=o.Ay.header.withConfig({componentId:"sc-29f61629-0"})(l(),(function(n){return n.theme.colors.white}),(function(n){return n.theme.colors.gray800}),a.M.tdUp,a.M.tdDown,(function(n){return n.theme.colors.neutral100}),a.M.mbDown),v=o.Ay.div.withConfig({componentId:"sc-29f61629-1"})(c(),(function(n){return n.theme.colors.gray200})),b=o.Ay.div.withConfig({componentId:"sc-29f61629-2"})(s(),a.M.tdDown),y=o.Ay.div.withConfig({componentId:"sc-29f61629-3"})(d(),a.M.mbDown,a.M.tdOnly),k=o.Ay.div.withConfig({componentId:"sc-29f61629-4"})(u()),x=o.Ay.button.withConfig({componentId:"sc-29f61629-5"})(p(),r.JpE,r.JpE,(function(n){return n.theme.sizes.fwSemiBold})),w=o.Ay.div.withConfig({componentId:"sc-29f61629-6"})(h()),A=o.Ay.div.withConfig({componentId:"sc-29f61629-7"})(g(),(function(n){return n.theme.colors.neutral200}),(function(n){return n.theme.colors.gray800})),C=o.Ay.div.withConfig({componentId:"sc-29f61629-8"})(m(),a.M.mbDown,a.M.mbDown,(function(n){return n.theme.colors.gray800}),a.M.mbDown)},77298:function(n,e,t){"use strict";t.r(e),t.d(e,{AdminNavigation:function(){return A}});var i=t(53513),a=t(63538),r=t(2445),o=t(73884),l=t(57077),c=t(35291),s=t(37597),d=t(32485),u=t.n(d),p=t(24572),h=t(45638),g=t(88542),m=t(88491),f=t(73419),v=t(53286),b=t(6442),y=t(36259),k=t(12577),x=t(1971),w=function(n){var e=(0,b.A)().formatMessage;return(0,r.Y)(x.zX,{onClick:n.onClick,children:e({id:"admin.home.filter.today",defaultMessage:"Today"})})},A=function(n){var e=n.header,t=n.className,d=n.notificationBadgeNumber,A=n.isDateFilter,C=void 0!==A&&A,_=n.hasHospitalSearch,M=n.alert,D=n.adminNavigationRightAdditionalRightComponent,Y=n.rightDropdownSearchComponent,E=n.hospitalId,N=n.branchId,S=n.handleChangeHospitalOption,F=n.handleChangeBranchOption,T=(0,b.A)().formatMessage,I=(0,o.useContext)(y.B).state.userInfo,z=(0,m.d)().isMobileOrTablet,B=(0,f.$)().locale,P=(0,g.o)(),O=P.hospitalId,L=P.branchId,H=P.replaceInvalidHospitalIdAndBranchId,j=P.setHospitalIdAndBranchId;(0,o.useEffect)((function(){H()}),[]);var R=(0,r.FD)(x.dB,{children:[(0,r.Y)(h.i,{id:"hospital-dropdown",className:"dropdown hospital",placeholder:T({id:"admin.users.allHospitals",defaultMessage:"All hospitals"}),value:null!==E&&void 0!==E?E:O,disabled:!!E,handleChange:function(n){var e;e=n,S?S(e):((0,v.handleChangeHospitalOption)(e,O),j((function(n){return(0,a.A)((0,i.A)({},n),{hospitalId:e.value})})))}}),(0,r.Y)(p.U,{id:"branch-dropdown",className:"dropdown branch",placeholder:T({id:"admin.users.allBranches",defaultMessage:"All branches"}),value:null!==N&&void 0!==N?N:L,handleChange:function(n){var e;e=n,F?F(e):((0,v.handleChangeBranchOption)(e,O,L),j((function(n){return(0,a.A)((0,i.A)({},n),{branchId:e.value})})))},hospitalId:null!==E&&void 0!==E?E:O,roleUser:null===I||void 0===I?void 0:I.role,disabled:!!E||!!N||!O})]});return(0,r.FD)(x.rf,{className:u()(t,{"has-search":_}),children:[(0,r.FD)(x._H,{children:[(0,r.Y)(l.H,{tag:"h5",color:c.w.colors.secondaryDark,className:"font-capital",children:e||""}),_&&R,Y,C&&(0,r.Y)(x.lF,{children:(0,r.Y)(s.D,{placeholder:"placeholder",displayDateFormat:"dd-MM-yyyy",pickedDate:new Date,customInput:w,onChange:function(){},locale:B})})]}),!z&&(0,r.Y)(k.A,{alert:M,notificationBadgeNumber:d,additionalComponent:D})]})}},39900:function(n,e,t){"use strict";t.d(e,{R:function(){return _n}});var i=t(858),a=t(83776),r=t(2445),o=t(73884),l=t(83414),c=t(50970),s=t(74029),d=t(98678),u=t(59850),p=t(84091),h=t(6442),g=t(36259),m=t(20105),f=t(24537),v=t(44410),b=t(27317);function y(){var n=(0,f.A)(["\n & > div[data-type='form'] {\n max-height: 90vh;\n background-color: white;\n\n width: 80%;\n\n "," {\n width: 496px;\n }\n\n .patientFormPopup {\n &.popup-content {\n padding: 0;\n }\n\n form {\n height: 100%;\n }\n }\n\n form {\n &[name='add-sub-patient'] {\n height: 100%;\n }\n }\n }\n\n .close-button {\n top: 12px;\n }\n\n .alert {\n position: absolute;\n right: 0;\n width: 400px;\n }\n\n .form-heading {\n border-bottom: 1px solid\n ",";\n padding: 12px 24px;\n margin: 0px -16px;\n }\n\n .addButton {\n margin: 24px 0 -8px;\n }\n"]);return y=function(){return n},n}function k(){var n=(0,f.A)(["\n padding: 16px 8px;\n margin-bottom: -16px;\n display: flex;\n flex-direction: column;\n gap: 12px;\n height: calc(100% - 90px);\n overflow: auto;\n label[data-size='label2'] {\n font-weight: 600;\n font-size: 12px;\n line-height: 18px;\n margin-bottom: 6px;\n color: ",";\n\n &::after {\n content: '*';\n color: ",";\n margin-left: 2px;\n }\n\n & + div {\n margin-top: 6px;\n\n input {\n height: 40px;\n font-size: 14px;\n line-height: 22px;\n &::placeholder {\n color: ",";\n }\n }\n }\n\n & + button {\n margin-top: 6px;\n }\n }\n\n .gender {\n & > label {\n font-weight: 600;\n }\n }\n\n .patient-phone {\n label {\n &::after {\n display: none;\n }\n }\n }\n\n .relation {\n width: 250px;\n "," {\n width: 100%;\n }\n & > div {\n height: 40px;\n margin-bottom: 0;\n & > div {\n padding: 9px 16px;\n display: flex;\n align-items: center;\n\n & > span {\n font-size: 14px;\n line-height: 22px;\n color: ",";\n }\n\n "," {\n width: 100%;\n height: 100%;\n & > span {\n max-height: 100%;\n max-width: 100%;\n }\n }\n }\n\n & > ul[data-has-icons='false'] {\n max-height: 250px;\n overflow: auto;\n & > li {\n height: 40px;\n font-size: 14px;\n line-height: 22px;\n }\n }\n }\n\n &[data-has-value='true'] > div > div > span {\n color: ",";\n }\n }\n\n .notifyTo {\n flex-direction: column;\n gap: 14px;\n align-items: flex-start;\n }\n"]);return k=function(){return n},n}function x(){var n=(0,f.A)(["\n background-color: ",";\n padding: 5px 8px;\n border-radius: 34px;\n display: flex;\n gap: 8px;\n align-items: center;\n margin-top: 4px;\n"]);return x=function(){return n},n}var w=b.Ay.div.withConfig({componentId:"sc-6141c933-0"})(y(),v.M.mbUp,(function(n){return n.theme.colors.neutral100})),A=b.Ay.div.withConfig({componentId:"sc-6141c933-1"})(k(),(function(n){return n.theme.colors.gray600}),(function(n){return n.theme.colors.red600}),(function(n){return n.theme.colors.gray400}),v.M.mbDown,(function(n){return n.theme.colors.gray400}),v.M.mbDown,(function(n){return n.theme.colors.gray800})),C=b.Ay.div.withConfig({componentId:"sc-6141c933-2"})(x(),(function(n){return n.theme.colors.blue50})),_=t(10333),M=t(49785),D=t(68289),Y=t(40959),E=t(1135);function N(){var n=(0,h.A)(),e=n.formatMessage,t=n.locale,i=[{label:e({id:"newDoctor.male",defaultMessage:"Male"}),value:String(Y.YT8.MALE)},{label:e({id:"newDoctor.female",defaultMessage:"Female"}),value:String(Y.YT8.FEMALE)}],a=Object.keys(Y.ynE).map((function(n){return{label:e({id:"booking.subPatient.relationship.".concat(Y.ynE[Number(n)||E.pE.OTHER]),defaultMessage:(0,D.Zr)(Y.ynE[Number(n)])}),value:n}})),r=[{label:e({id:"booking.subPatient.confirmation.onlyMe",defaultMessage:"Only me"}),value:String(E.WA.MASTER)},{label:e({id:"booking.subPatient.confirmation.both",defaultMessage:"Both"}),value:String(E.WA.BOTH)},{label:e({id:"booking.subPatient.confirmation.patient",defaultMessage:"Patient"}),value:String(E.WA.CONTACT)}],l={addNewProfile:e({id:"booking.subPatient.addNewProfile",defaultMessage:"Add New Profile"}),editProfile:e({id:"booking.subPatient.editProfile",defaultMessage:"Edit Profile"}),errorProfilePhoto:e({id:"error.profilePhotoRequired",defaultMessage:"Profile photo is required"}),errorNameRequired:e({id:"error.nameIsRequired",defaultMessage:"Name is required"}),errorEmailRequired:e({id:"error.emailIsRequired",defaultMessage:"Please enter a valid email"}),patientName:e({id:"booking.subPatient.patientName",defaultMessage:"Patient name"}),enterPatientName:e({id:"booking.subPatient.enterPatientName",defaultMessage:"Enter patient name"}),enterpatientPhone:e({id:"booking.subPatient.enterPatientPhone",defaultMessage:"Enter patient phone"}),dateOfBirth:e({id:"booking.subPatient.dateOfBirth",defaultMessage:"Date of birth"}),requiredBirthday:e({id:"booking.subPatient.requiredBirthday",defaultMessage:"Birthday is required"}),gender:e({id:"newDoctor.gender",defaultMessage:"Gender"}),relationship:e({id:"booking.subPatient.relation",defaultMessage:"Patient\u2019s Relation to You"}),sendConfirmation:e({id:"booking.subPatient.sendConfirmation",defaultMessage:"Send confirmation and reminders of the booking to"}),patientEmail:e({id:"booking.subPatient.patientEmail",defaultMessage:"Patient Email"}),addNewPatient:e({id:"booking.subPatient.addNewPatient",defaultMessage:"Add New Patient"}),saveChanges:e({id:"booking.subPatient.saveChanges",defaultMessage:"Save Changes"}),enterPatientEmail:e({id:"booking.subPatient.enterPatientEmail",defaultMessage:"Enter patient email"}),age:function(n){return e({id:"booking.success.years",defaultMessage:"{age} Yrs"},{age:n})},childProfile:e({id:"booking.subPatient.childProfile",defaultMessage:"Child Profile"}),patientPhone:e({id:"booking.subPatient.patientPhone",defaultMessage:"Patient phone"}),patientPhoneTootip:e({id:"booking.subPatient.enterPatientPhone.tooltip",defaultMessage:"Please input patient's phone (if there is) for the clinic/doctor contact to patient & update the latest information on the booking."})};return(0,o.useMemo)((function(){return{optionsGender:i,optionsRelationship:a,optionsNotify:r,translations:l}}),[t])}var S=(0,o.forwardRef)((function(n,e){var t=n.formType,i=N().translations,a=(0,M.xW)(),l=a.reset,c=a.formState.isSubmitting;return(0,o.useImperativeHandle)(e,(function(){return{reset:function(){l()}}})),(0,r.Y)(_.B,{size:"sm",isBlock:!0,className:"addButton",disabled:c,children:"add"===t?i.addNewPatient:i.saveChanges})})),F=t(35291),T=t(74952),I=t(12263),z=t(37597),B=t(32485),P=t.n(B),O=t(66298),L=t(62862),H=t(21336);function j(){var n=(0,f.A)(["\n position: relative;\n\n .datePicker {\n position: absolute;\n z-index: 99;\n\n .pickerOverlayWrapper {\n max-width: 350px;\n }\n\n input {\n height: 0;\n }\n }\n"]);return j=function(){return n},n}function R(){var n=(0,f.A)(["\n padding: 9px 16px;\n border: 1px solid ",";\n border-radius: 4px;\n width: 100%;\n height: 40px;\n display: flex;\n justify-content: space-between;\n cursor: pointer;\n\n &.error {\n border-color: ",";\n }\n"]);return R=function(){return n},n}function V(){var n=(0,f.A)(["\n display: inline-block;\n margin-bottom: 4px;\n color: ",";\n font-weight: ",";\n"]);return V=function(){return n},n}function U(){var n=(0,f.A)(["\n color: ",";\n font-weight: ",";\n"]);return U=function(){return n},n}var G=b.Ay.div.withConfig({componentId:"sc-de8b215c-0"})(j()),q=b.Ay.button.withConfig({componentId:"sc-de8b215c-1"})(R(),(function(n){return n.theme.colors.gray200}),(function(n){return n.theme.colors.red700})),K=(b.Ay.label.withConfig({componentId:"sc-de8b215c-2"})(V(),(function(n){return n.theme.colors.gray600}),(function(n){return n.theme.sizes.fwBold})),b.Ay.label.withConfig({componentId:"sc-de8b215c-3"})(U(),(function(n){return n.theme.colors.red700}),(function(n){return n.theme.sizes.fwRegular})),t(56791));function W(n){var e=n.name,t=n.label,i=n.required,a=void 0!==i&&i,l=(0,o.useRef)(null),s=(0,o.useState)(!1),d=s[0],u=s[1],p=(0,h.A)().formatMessage;return(0,L.j)(l,(function(){u(!1)})),(0,r.Y)(M.xI,{rules:{validate:function(n){return!a||!!n}},name:e,render:function(n){var i=n.field,o=i.onChange,s=i.value,h=n.fieldState.error;return(0,r.FD)(G,{ref:l,children:[t&&(0,r.Y)(I.L,{size:"label2",htmlFor:e,className:"datePickerLabel",children:t}),(0,r.FD)(q,{type:"button",className:P()({error:!!h}),onClick:function(){return u(!d)},children:[(0,r.Y)(c.T,{size:"s4",color:s?F.w.colors.gray800:F.w.colors.gray400,children:s?(0,O.A)(s,Y.AI5):Y.AI5.toUpperCase()}),(0,r.Y)(H.h,{iconSize:20,svgIcon:{fill:F.w.colors.gray400},onClick:function(){return null},children:(0,r.Y)(K.A,{})})]}),d&&(0,r.Y)(z.D,{onChange:function(n){o(n),u(!1)},className:"datePicker",disabledDays:{after:new Date},isStatic:!0,alignRight:!0,UnHideOnClickOutside:!0}),h&&(0,r.Y)(c.T,{size:"label2",color:F.w.colors.red700,children:"string"===typeof a?a:p({id:"common.error.requiredField",defaultMessage:"This field is required"})})]})}})}var J=t(53513),Z=t(63538),Q=t(61436);function $(){var n=(0,f.A)(["\n margin-bottom: 18px;\n\n & > ul {\n z-index: 10;\n }\n"]);return $=function(){return n},n}function X(){var n=(0,f.A)(["\n position: relative;\n &[data-is-error='true'] {\n & > div {\n border-color: ",";\n }\n }\n .errorLabel {\n font-size: 12px;\n }\n"]);return X=function(){return n},n}var nn=(0,b.Ay)(Q.D).withConfig({componentId:"sc-a07f320c-0"})($()),en=b.Ay.div.withConfig({componentId:"sc-a07f320c-1"})(X(),(function(n){return n.theme.colors.red700}));function tn(n){var e=n.name,t=n.placeholder,i=n.className,a=n.label,o=n.options,l=n.required,c=void 0!==l&&l,s=n.disabled,d=void 0!==s&&s,u=(0,h.A)().formatMessage,p=(0,M.xW)(),g=p.register,m=p.control,f=p.formState.errors,v=g(e,{validate:c?{required:function(n){return!!n}}:void 0});return(0,r.Y)(M.xI,{name:e,control:m,render:function(n){var l=n.field;return(0,r.FD)(en,{className:i,"data-is-error":!!f[e],"data-has-value":!!l.value,children:[a&&(0,r.Y)(I.L,{size:"label2",htmlFor:e,className:"formDropdownLabel",children:a}),(0,r.Y)(nn,(0,Z.A)((0,J.A)({},v),{onChange:function(n){return l.onChange(n.value)},value:o.find((function(n){return n.value===l.value})),id:e,options:o,disabled:d,placeholder:t||u({id:"admin.booking.pleaseSelectOption",defaultMessage:"Please select an option"})}))]})}})}var an=t(80398),rn=t(97354),on=t(63328);function ln(){var n=(0,f.A)(["\n display: flex;\n gap: 10px;\n align-items: center;\n\n "," {\n flex-direction: column;\n align-items: center;\n button {\n width: 100%;\n }\n }\n\n button {\n height: fit-content;\n padding: 5px 12px;\n }\n\n .remove-btn {\n &:not(:disabled) {\n color: ",";\n border-color: ",";\n\n &:hover {\n background-color: ",";\n border-color: ",";\n }\n }\n }\n\n .remove-btn:disabled:hover {\n background-color: ",";\n }\n"]);return ln=function(){return n},n}function cn(){var n=(0,f.A)(["\n display: inline-block;\n position: relative;\n"]);return cn=function(){return n},n}var sn=b.Ay.div.withConfig({componentId:"sc-5e9a2405-0"})(ln(),v.M.mbDown,(function(n){return n.theme.colors.red600}),(function(n){return n.theme.colors.red600}),(function(n){return n.theme.colors.red100}),(function(n){return n.theme.colors.red600}),(function(n){return n.theme.colors.gray400})),dn=b.Ay.div.withConfig({componentId:"sc-5e9a2405-1"})(cn()),un=function(n){var e=n.onFileSelected,t=n.fileAcceptType,i=n.multiple,a=n.className,l=n.withElement,c=n.value,s=n.isRemoveButtonDisabled,d=void 0===s||s,u=(0,h.A)().formatMessage,p=(0,o.useRef)(null),g=function(){var n;null===(n=p.current)||void 0===n||n.click()};return(0,r.FD)(sn,{className:a,children:[(0,r.FD)(dn,{onClick:g,children:[l,(0,r.Y)("input",{ref:p,accept:t,multiple:i,type:"file",value:c,style:{display:"none"},onChange:function(n){e(n.target.files)}})]}),(0,r.Y)(_.B,{size:"sm",type:"button",color:"tertiary",onClick:g,children:u({id:"common.photo.changePhoto",defaultMessage:"Change Photo"})}),(0,r.Y)(_.B,{size:"sm",type:"button",color:"tertiary",className:"remove-btn",onClick:function(){e(null)},disabled:d,children:u({id:"common.photo.removePhoto",defaultMessage:"Remove Photo"})})]})},pn=t(16282);function hn(n){var e=n.name,t=n.size,i=n.required,a=void 0!==i&&i,l=(0,o.useState)(""),c=l[0],d=l[1],u=(0,pn.y)().errorMessages;return(0,r.Y)(M.xI,{name:e,rules:{validate:function(n){return!(a&&!n&&!c)||("string"===typeof a?a:u.requiredField)}},render:function(n){var e=n.field,i=e.onChange,a=e.value,o=n.fieldState.error,l=(null===o||void 0===o?void 0:o.message)||"";return(0,r.FD)(r.FK,{children:[(0,r.Y)(un,{onFileSelected:function(n){if(!n||!n[0])return d(""),void i(null);var e=new FileReader;e.readAsDataURL(n[0]),e.onload=function(){d(e.result),i(n[0])}},isRemoveButtonDisabled:!!c,withElement:(0,r.Y)(rn.A,{width:t||void 0,height:t||void 0,avatarImg:(0,r.Y)("img",{src:c||("string"===typeof a&&a?a:s.k_),width:t||void 0,height:t||void 0,className:"fit-contain"}),className:P()("form-profile-picture-avatar",{"has-error":!!l}),type:"rounded"})}),l&&(0,r.Y)(on.x0,{children:l})]})}})}var gn=t(33067);function mn(){var n=(0,f.A)(["\n width: 100%;\n height: 100%;\n position: relative;\n\n .title {\n max-width: 100%;\n background-color: ",";\n color: ",";\n position: absolute;\n z-index: 1070;\n display: block;\n width: max-content;\n left: 50%;\n transform: translate(-50%, -50%);\n padding: 5px;\n font-size: 12px;\n border-radius: 4px;\n top: -35%;\n visibility: hidden;\n }\n\n .arrow {\n width: 10px;\n height: 10px;\n position: absolute;\n background-color: ",";\n transform: rotate(45deg) translate(-50%, 5px);\n left: 50%;\n }\n\n &:hover {\n .title {\n visibility: visible;\n }\n }\n"]);return mn=function(){return n},n}var fn,vn=b.Ay.div.withConfig({componentId:"sc-8fe8dad-0"})(mn(),(function(n){return n.theme.colors.gray500}),(function(n){return n.theme.colors.white}),(function(n){return n.theme.colors.gray500})),bn=function(n){var e=n.title,t=n.children;return(0,r.FD)(vn,{children:[t,(0,r.FD)("div",{className:"title",children:[(0,r.Y)("div",{children:e}),(0,r.Y)("div",{className:"arrow"})]})]})};function yn(){return yn=Object.assign?Object.assign.bind():function(n){for(var e=1;e=19&&(0,r.FD)(r.FK,{children:[(0,r.Y)(gn.J,{className:"notifyTo",name:"notifyTo",options:a,label:e.sendConfirmation}),o("notifyTo")!==E.WA.MASTER.toString()&&(0,r.Y)(an.Z,{name:"email",label:e.patientEmail,placeholder:e.enterPatientEmail,required:e.errorEmailRequired})]})]})},An=t(8758),Cn={avatar:"",name:"",birthday:null,gender:Y.YT8.MALE.toString(),notifyTo:E.WA.MASTER.toString(),relation:"",email:""},_n=function(n){var e=n.isOpen,t=void 0!==e&&e,f=n.formType,v=n.defaultValues,b=void 0===v?Cn:v,y=n.onClose,k=n.onAddOrEditFamilyProfile,x=function(n){A({message:n||C({id:"error.anErrorOccurred",defaultMessage:"An error occurred!"}),type:"danger"})},A=(0,o.useContext)(g.B).pushNotifications,C=(0,h.A)().formatMessage,_=N().translations,M=(0,o.useRef)(null),D=function(){var n=(0,i.A)((function(n){var e,t,i,r,o,l,c,h;return(0,a.__generator)(this,(function(a){switch(a.label){case 0:return a.trys.push([0,2,,3]),e="add"===f?u.R.CREATE_PATIENT_INFO:u.R.UPDATE_PATIENT_INFO,t="edit"===f?{id:b.id}:{},i=(0,d.jz)(n),"edit"===f&&i.append("_method","PUT"),[4,(0,p.T7)((0,p.er)(e,t),"POST",{data:i})];case 1:return(r=a.sent())&&-1!==(null===r||void 0===r?void 0:r._status)?1===(null===r||void 0===r?void 0:r._status)&&(A({message:(null===r||void 0===r?void 0:r._messages)?null===r||void 0===r?void 0:r._messages[0]:C("add"===f?{id:"admin.booking.createSuccessfully",defaultMessage:"Create successfully"}:{id:"admin.booking.updateSuccessfully",defaultMessage:"Update successfully"}),type:"success"}),k((0,s.nz)(null===(l=r._data)||void 0===l?void 0:l.contact)),"add"===f&&(null===(c=M.current)||void 0===c||c.reset()),y()):x((null===r||void 0===r||null===(o=r._messages)||void 0===o?void 0:o[0])||""),[3,3];case 2:return h=a.sent(),console.log("".concat(f," sub patient error"),h),x(),[3,3];case 3:return[2]}}))}));return function(e){return n.apply(this,arguments)}}();return(0,r.Y)(w,{children:(0,r.Y)(l.P,{type:"form",isOpen:t,onClose:y,closeIcon:(0,r.Y)(An.A,{}),className:"patientFormPopup",children:(0,r.FD)(m.l,{name:"".concat(f,"-sub-patient"),onSubmit:D,defaultValues:b,children:[(0,r.Y)(c.T,{size:"s3",type:"semiBold",className:"form-heading",children:"add"===f?_.addNewProfile:_.editProfile}),(0,r.Y)(wn,{}),(0,r.Y)(S,{formType:f,ref:M})]})})})}},39372:function(n,e,t){"use strict";t.d(e,{KW:function(){return u},cx:function(){return p},tp:function(){return d}});var i=t(24537),a=t(44410),r=t(27317);function o(){var n=(0,i.A)(["\n .heading {\n display: flex;\n margin-bottom: 16px;\n gap: 24px;\n "," {\n margin-bottom: 24px;\n }\n "," {\n flex-direction: column;\n gap: 8px;\n }\n\n label {\n font-size: 14px;\n line-height: 22px;\n width: 100% !important;\n }\n\n .heading-title {\n margin: 0;\n }\n }\n"]);return o=function(){return n},n}function l(){var n=(0,i.A)(["\n background-color: ",";\n padding: 16px;\n display: flex;\n flex-direction: column;\n gap: 12px;\n border-radius: 8px;\n\n & > .add-button {\n width: fit-content;\n padding: 5px 16px;\n font-weight: 600;\n font-size: 14px;\n line-height: 22px;\n\n svg {\n width: 18px;\n height: 18px;\n }\n }\n"]);return l=function(){return n},n}function c(){var n=(0,i.A)(["\n display: flex;\n align-items: center;\n gap: 4px;\n"]);return c=function(){return n},n}function s(){var n=(0,i.A)(["\n padding: 8px;\n display: flex;\n gap: 16px;\n flex-direction: column;\n align-items: center;\n\n .add-button {\n font-weight: 600;\n font-size: 14px;\n line-height: 22px;\n\n svg {\n width: 18px;\n height: 18px;\n }\n }\n"]);return s=function(){return n},n}r.Ay.div.withConfig({componentId:"sc-7aacbf61-0"})(o(),a.M.tdUp,a.M.mbDown);var d=r.Ay.div.withConfig({componentId:"sc-7aacbf61-1"})(l(),(function(n){return n.theme.colors.neutral50})),u=r.Ay.div.withConfig({componentId:"sc-7aacbf61-2"})(c()),p=r.Ay.div.withConfig({componentId:"sc-7aacbf61-3"})(s())},47463:function(n,e,t){"use strict";t.d(e,{A:function(){return b}});var i=t(53513),a=t(63538),r=t(2445),o=t(71572),l=t(32485),c=t.n(l),s=t(6442),d=t(67722),u=t(24537),p=t(10333),h=t(44410),g=t(48085);function m(){var n=(0,u.A)(["\n &.mantine-Button-root {\n height: ",";\n border-radius: ",";\n padding: "," ",";\n border: ",";\n\n background-color: ",";\n\n &:hover {\n border-color: ",";\n\n background-color: ",";\n }\n\n "," {\n height: ",";\n }\n }\n .mantine-Button-label {\n & > div {\n transform: translateX(0px); //* Fix fluctuate icon on ios mobile\n }\n }\n"]);return m=function(){return n},n}var f=(0,t(27317).Ay)(p.B).withConfig({componentId:"sc-3df2ddc-0"})(m(),(function(n){return n.isPrimary?(0,g.D)(48):(0,g.D)(40)}),(0,g.D)(12),(0,g.D)(10),(0,g.D)(16),(function(n){return n.isPrimary?"1px solid transparent":"1px solid ".concat(n.theme.colors.neutral100)}),(function(n){return n.isPrimary?n.theme.colors.green600:n.theme.colors.white}),(function(n){return n.isPrimary?n.theme.colors.green600:n.theme.colors.neutral100}),(function(n){return n.isPrimary?n.theme.colors.green500:n.theme.colors.white}),h.M.mbUp,(0,g.D)(48)),v=t(25906);var b=function(n){var e=n.link,t=n.dataTracking,l=void 0===t?{}:t,u=n.isPrimary,p=void 0!==u&&u,h=n.className,g=(0,s.A)().formatMessage;return(0,r.Y)(f,(0,a.A)((0,i.A)({color:"secondary",size:"lg",onClick:function(){return e&&(0,d.HB)(e)},isBlock:!0,isPrimary:p},l),{className:c()(h),children:(0,r.FD)("div",{className:"inline-flex gap-2 items-center h-6",children:[(0,r.Y)(v.A,{className:c()("w-6 h-6",{"fill-white":p,"fill-green600":!p})}),(0,r.Y)(o.T,{size:"p2",color:p?"white":"green600",weight:"semiBold",children:g({id:"common.contactVia",defaultMessage:"Contact {name}"},{name:"Whatsapp"})})]})}))}},96608:function(n,e,t){"use strict";t.d(e,{v:function(){return Y}});var i=t(2445),a=t(73884),r=t(57077),o=t(50970),l=t(35291),c=t(74029),s=t(84091),d=t(19475),u=t(40959),p=t(6442),h=t(24537),g=t(44410),m=t(27317),f=t(3184);function v(){var n=(0,h.A)(["\n "," {\n position: absolute;\n top: 0;\n right: 0;\n justify-content: flex-end;\n }\n "," {\n margin: 4px 0;\n }\n"]);return v=function(){return n},n}function b(){var n=(0,h.A)(["\n display: flex;\n flex-wrap: wrap;\n gap: 8px;\n margin-top: 8px;\n"]);return b=function(){return n},n}function y(){var n=(0,h.A)(["\n position: relative;\n display: flex;\n flex-direction: column;\n margin-top: 24px;\n padding-bottom: 24px;\n border-bottom: 1px solid\n ",";\n\n "," {\n padding: 16px 0;\n margin-top: 0;\n }\n"]);return y=function(){return n},n}function k(){var n=(0,h.A)(["\n display: flex;\n gap: 16px;\n justify-content: space-between;\n\n "," {\n flex-direction: column;\n gap: 30px;\n }\n\n .profileImage {\n overflow: hidden;\n width: 96px;\n height: 96px;\n\n ",' {\n width: 64px;\n height: 64px;\n }\n\n img {\n border-radius: 50%;\n object-fit: cover;\n }\n\n .imagePlaceholder {\n position: absolute;\n\n // please don\'t judge me, this is really "important" (in order to override inline styles)\n width: 96px !important;\n height: 96px !important;\n }\n }\n\n .doctorInfoHeader {\n flex: 1;\n }\n']);return k=function(){return n},n}function x(){var n=(0,h.A)(["\n display: flex;\n gap: 16px;\n\n "," {\n order: 1;\n }\n"]);return x=function(){return n},n}var w=(0,m.Ay)(f.k).withConfig({componentId:"sc-fc51186f-0"})(v(),g.M.mbUp,g.M.mbDown),A=m.Ay.div.withConfig({componentId:"sc-fc51186f-1"})(b()),C=m.Ay.div.withConfig({componentId:"sc-fc51186f-2"})(y(),(function(n){return n.theme.colors.neutral100}),g.M.mbDown),_=m.Ay.div.withConfig({componentId:"sc-fc51186f-3"})(k(),g.M.mbDown,g.M.mbDown),M=m.Ay.div.withConfig({componentId:"sc-fc51186f-4"})(x(),g.M.mbDown),D=t(95456),Y=function(n){var e,t=n.className,h=n.doctorInfo,g=n.isMobile,m=(0,p.A)().formatMessage,f=h.name,v=h.avatar,b=h.provideCare,y=h.specialties,k=h.validOutpatient,x=h.validTelemedicine,Y=!!(null===(e=h.organization)||void 0===e?void 0:e.publish_reviews),E=(0,a.useMemo)((function(){return y.map((function(n){return n.name}))}),[y]),N=(0,s.Zo)(h),S=g?64:96,F=function(n){return{forChildren:n===u.jc_.CHILDREN||n===u.jc_.BOTH,forAdult:n===u.jc_.ADULTS||n===u.jc_.BOTH}}(b),T=F.forAdult,I=F.forChildren;return(0,i.Y)(C,{className:t,children:(0,i.Y)(_,{children:(0,i.FD)(M,{children:[(0,i.Y)("div",{className:"profileImage",children:(0,i.Y)(D.Y,{layout:"responsive",src:(0,c.wW)(v,"".concat(u.JpE,"/images/avatar.jpg")),width:S,height:S,quality:100,objectFit:"cover"})}),(0,i.FD)("div",{className:"doctorInfoHeader",children:[(0,i.Y)(r.H,{tag:"h4",as:"h1",children:f}),(0,i.Y)(o.T,{size:g?"s3":"s4",color:l.w.colors.gray600,className:"mt-[6px] sp-mt-4",children:E.join(", ")}),Y&&(0,i.Y)(w,{ratingPoint:h.rating,ratingScale:u.Efn,reviewCounting:h.totalReviews,reviewsUrl:"".concat(N,"/reviews")}),(0,i.FD)(A,{children:[k&&(0,i.Y)(d.vw,{type:"blue",children:m({id:"doctorInfoComponent.booking",defaultMessage:"Booking"})}),x&&(0,i.Y)(d.vw,{type:"warning",children:m({id:"bookingPage.telemedicine",defaultMessage:"Telemedicine"})}),I&&(0,i.Y)(d.vw,{children:m({id:"forChildren",defaultMessage:"For Children"})}),T&&(0,i.Y)(d.vw,{children:m({id:"forAdults",defaultMessage:"For Adults"})})]})]})]})})})}},1247:function(n,e,t){"use strict";t.d(e,{_:function(){return b}});var i=t(53513),a=t(63538),r=t(2445),o=t(73884),l=t(50970),c=t(27516),s=t(73419),d=t(32876),u=t.n(d),p=t(6442),h=t(36259),g=t(16100),m=t.n(g),f=t(31015),v=t(40959),b=function(n){var e=n.trackingHospitalProps,t=n.organizationLogo,d=n.hospitalName,g=n.goHospitalPage,b=n.isDisplayDistance,y=n.distance,k=n.doctorWebsite,x=n.handleMakeAppointment,w=n.address,A=n.hospitalURL,C=n.isMobile,_=void 0!==C&&C,M=n.isDoctorUnavailable,D=void 0!==M&&M,Y=n.isUnvalidBooking,E=void 0!==Y&&Y,N=(0,s.$)(),S=N.locale,F=N.asPath,T=(0,o.useContext)(h.B).state.isLoggedIn,I=(0,p.A)().formatMessage;return(0,r.FD)(f.FD,(0,a.A)((0,i.A)({},e),{"data-is-mobile":_,children:[(0,r.Y)(f.Hb,(0,a.A)((0,i.A)({width:40,height:40,layout:"fixed",objectFit:"contain",src:t||"".concat(v.JpE,"/images/hospital-logo.png")},e),{className:"pointer",onClick:g})),(0,r.FD)(f.sb,{children:[(0,r.Y)(l.T,{size:"p4",type:"semiBold",children:(0,r.Y)(u(),{href:A||"#",children:(0,r.Y)("a",(0,a.A)((0,i.A)({},e),{className:"color-inherit",children:d}))})}),(0,r.FD)(f.tM,{children:[(0,r.Y)(f.NF,{children:(0,r.Y)(f.UQ,{children:(0,r.Y)("a",(0,a.A)((0,i.A)({},e),{onClick:g,children:w}))})}),b&&(0,r.FD)(f.aD,{children:[(0,r.Y)("svg",(0,a.A)((0,i.A)({width:"4",height:"4"},e),{onClick:g,children:(0,r.Y)("circle",{cx:"2",cy:"2",r:"2",fill:"#BFBFBF"})})),(0,r.Y)("span",{children:(0,r.Y)("a",(0,a.A)((0,i.A)({},e),{onClick:g,children:Number(y)>=0?Math.round(10*((parseFloat("".concat(y))||0)+1e-5))/10+" km":""}))})]})]})]}),D||E?k?(0,r.Y)(f.vz,{component:"a",href:k,target:"_blank",size:"md",color:"primary",className:m().ctaButton,dataEventCategory:"Care",dataEventAction:"Doctor Website Click",dataEventLabel:k,children:I({id:"doctorInfoComponent.visitDoctorWebsite",defaultMessage:"Visit website"})}):null:(0,r.Y)(f.vz,{size:"md",color:"primary",className:m().ctaButton,"data-is-logged-in":T,onClick:x,dataEventCategory:"Care",dataEventAction:"Doctor Appointment Click",dataEventLabel:"https://".concat(c.y[S]).concat(v.JpE).concat(F),children:I({id:"doctorInfoComponent.makeanappointment",defaultMessage:"Make an Appointment"})})]}))}},31015:function(n,e,t){"use strict";t.d(e,{Bm:function(){return Y},FD:function(){return A},Hb:function(){return D},NF:function(){return S},Q1:function(){return E},UQ:function(){return I},aD:function(){return T},sb:function(){return F},tM:function(){return N},vz:function(){return C},yW:function(){return _},zI:function(){return M}});var i=t(24537),a=t(44410),r=t(25403),o=t(27317),l=t(71584),c=t(3184),s=t(95456);function d(){var n=(0,i.A)(["\n width: 100%;\n"]);return d=function(){return n},n}function u(){var n=(0,i.A)(["\n display: flex;\n width: calc(100% + 32px);\n padding: 12px 16px;\n margin-top: 16px;\n margin-left: -16px;\n background-color: ",";\n gap: 8px;\n > :first-child {\n flex-shrink: 0;\n }\n &[data-is-mobile='true'] {\n flex-wrap: wrap;\n > :nth-child(2) {\n width: calc(100% - 50px);\n }\n }\n"]);return u=function(){return n},n}function p(){var n=(0,i.A)(["\n "," {\n width: 100% !important;\n }\n"]);return p=function(){return n},n}function h(){var n=(0,i.A)(["\n width: 80px;\n height: 80px;\n border-radius: 50%;\n cursor: pointer;\n object-fit: cover;\n object-position: center;\n"]);return h=function(){return n},n}function g(){var n=(0,i.A)(["\n margin-top: 8px;\n"]);return g=function(){return n},n}function m(){var n=(0,i.A)(["\n width: 40px;\n height: 40px;\n flex-shrink: 0;\n border-radius: 50%;\n border: 1px solid ",";\n"]);return m=function(){return n},n}function f(){var n=(0,i.A)(["\n position: absolute;\n right: 16px;\n justify-content: flex-end;\n"]);return f=function(){return n},n}function v(){var n=(0,i.A)(["\n display: flex;\n gap: 16px;\n &[data-is-mobile='true'] {\n flex-direction: column;\n gap: 12px;\n }\n"]);return v=function(){return n},n}function b(){var n=(0,i.A)(["\n display: flex;\n align-items: center;\n\n svg {\n vertical-align: middle;\n }\n\n span {\n color: $gray-500;\n }\n"]);return b=function(){return n},n}function y(){var n=(0,i.A)(["\n display: flex;\n align-items: center;\n gap: 6px;\n p {\n display: -webkit-box;\n overflow: hidden;\n width: 100%;\n -webkit-box-orient: vertical;\n -webkit-line-clamp: 1;\n word-break: break-all;\n }\n"]);return y=function(){return n},n}function k(){var n=(0,i.A)(["\n "," {\n width: 100%;\n align-content: center;\n grid-template-areas:\n 'title direction'\n 'title direction'\n 'location direction';\n grid-template-columns: 1fr 1fr;\n > *:nth-child(1) {\n grid-area: title;\n }\n\n > *:nth-child(2) {\n grid-area: location;\n }\n\n > *:nth-child(3) {\n display: flex;\n align-self: center;\n justify-content: flex-end;\n grid-area: direction;\n }\n }\n"]);return k=function(){return n},n}function x(){var n=(0,i.A)(["\n flex-shrink: 0;\n font-weight: 400;\n font-size: 12px;\n line-height: 18px;\n color: ",";\n svg {\n margin: 6px;\n }\n"]);return x=function(){return n},n}function w(){var n=(0,i.A)(["\n font-weight: 400;\n font-size: 12px;\n line-height: 18px;\n color: ",";\n"]);return w=function(){return n},n}o.Ay.div.withConfig({componentId:"sc-26339569-0"})(d());var A=o.Ay.div.withConfig({componentId:"sc-26339569-1"})(u(),(function(n){return n.theme.colors.neutral50})),C=(0,o.Ay)(r.B).withConfig({componentId:"sc-26339569-2"})(p(),a.M.mbDown),_=o.Ay.img.withConfig({componentId:"sc-26339569-3"})(h()),M=(0,o.Ay)(l.S).withConfig({componentId:"sc-26339569-4"})(g()),D=(0,o.Ay)(s.Y).withConfig({componentId:"sc-26339569-5"})(m(),(function(n){return n.theme.colors.neutral100})),Y=(0,o.Ay)(c.k).withConfig({componentId:"sc-26339569-6"})(f()),E=o.Ay.div.withConfig({componentId:"sc-26339569-7"})(v()),N=o.Ay.div.withConfig({componentId:"sc-26339569-8"})(b()),S=o.Ay.div.withConfig({componentId:"sc-26339569-9"})(y()),F=o.Ay.div.withConfig({componentId:"sc-26339569-10"})(k(),a.M.mbUp),T=o.Ay.div.withConfig({componentId:"sc-26339569-11"})(x(),(function(n){return n.theme.colors.gray600})),I=o.Ay.p.withConfig({componentId:"sc-26339569-12"})(w(),(function(n){return n.theme.colors.gray600}))},89238:function(n,e,t){"use strict";t.d(e,{w:function(){return D}});var i=t(53513),a=t(63538),r=t(2445),o=t(73884),l=t(50970),c=t(10333),s=t(27516),d=t(74029),u=t(84091),p=t(32485),h=t.n(p),g=t(19475),m=t(17271),f=t.n(m),v=t(73419),b=t(40959),y=t(32876),k=t.n(y),x=t(6442),w=t(1247),A=t(16100),C=t.n(A),_=t(31015),M=t(74834),D=function(n){var e,t,p=n.doctorInfo,m=n.hospitalInfo,y=n.orderedListIndex,A=n.gps,D=n.className,Y=n.isFeaturedDoctor,E=n.isMobile,N=p.name,S=p.price,F=p.priceTo,T=p.priceType,I=p.avatar,z=p.provideCare,B=p.specialties,P=p.organization,O=p.validOutpatient,L=p.validTelemedicine,H=p.rating,j=p.totalReviews,R=p.bookingUrl,V=p.gender,U=p.status,G=p.promotion,q=(0,v.$)(),K=q.locale,W=m.name,J=m.address,Z=m.latitude,Q=m.longitude,$=(0,x.A)().formatMessage,X=A&&A.lat&&A.lng&&Z&&Q?f()({lat:Z,lon:Q},{lat:A.lat,lon:A.lng},{exact:!1,unit:"km"}):null,nn=(null===(e=p.hospital)||void 0===e?void 0:e.websiteUrl)||"",en=!O&&!L,tn=U===b.XQv.INACTIVE,an="zh-TW"===K?nn:(0,u.Zo)(p)+"/",rn=Boolean(p.doctorWebsite),on="zh-TW"===K&&R?R:an,ln={"data-event-category":"Care","data-event-action":"Doctor Click ".concat(y+1),"data-event-label":"https://".concat(s.y[K]).concat(an)},cn="zh-TW"===K?nn:(0,u.eP)(m),sn={"data-event-category":"Care","data-event-action":"Hospital Click ".concat(y+1),"data-event-label":"zh-TW"===K?nn:"https://".concat(s.y[K]).concat(cn,"/")},dn=!!(null===(t=p.organization)||void 0===t?void 0:t.publish_reviews),un=function(){q.push(on)},pn=(0,o.useMemo)((function(){return B.map((function(n){return(null===n||void 0===n?void 0:n.name)||n})).join(", ")}),[B]),hn=(0,o.useMemo)((function(){return(null===p||void 0===p?void 0:p.isSiloam)||0===Number(S)}),[null===p||void 0===p?void 0:p.isSiloam,S]),gn=null!==X,mn=(0,o.useMemo)((function(){return I===d.k_&&"zh-TW"===K?V===b.YT8.FEMALE?"".concat(b.JpE,"/images/femaleAvatar.svg"):"".concat(b.JpE,"/images/maleAvatar.svg"):I||d.k_}),[K]);return(0,r.FD)("div",{className:h()(C().mDoctorInfo,D),style:{padding:Y?"16px 16px 16px 16px":"16px 16px 0 16px"},children:[dn&&(0,r.Y)(_.Bm,{ratingPoint:H,ratingScale:b.Efn,reviewCounting:j,reviewsUrl:"".concat(an,"reviews")}),(0,r.FD)("div",{className:h()(C().doctorInfoWrapper),children:[(0,r.Y)("div",{className:h()(C().doctorHeader),children:(0,r.FD)(_.Q1,{"data-is-mobile":E,className:"zh-TW"===K?"disable-click":"",children:[(0,r.Y)(k(),{href:an,children:(0,r.Y)("a",{href:an,children:(0,r.Y)(_.yW,(0,a.A)((0,i.A)({src:mn},ln),{loading:"lazy"}))})}),(0,r.FD)("div",{className:h()(C().doctorInfoHeader),children:[(0,r.Y)(k(),{href:an,children:(0,r.Y)("a",(0,a.A)((0,i.A)({},ln),{children:(0,r.Y)(l.T,{size:"md",type:"semiBold",children:N})}))}),(0,r.Y)(k(),{href:an,children:(0,r.Y)("a",(0,a.A)((0,i.A)({},ln),{children:(0,r.Y)(l.T,{className:h()(C().doctorDescription),size:"p4",children:pn})}))}),(0,r.FD)("div",{className:C().tags,children:[!tn&&!en&&(0,r.FD)(r.FK,{children:[O&&(0,r.Y)(k(),{href:on,children:(0,r.Y)("a",(0,a.A)((0,i.A)({},ln),{target:rn?"_blank":"_target",children:(0,r.Y)(g.vw,{className:C().doctorTag,type:"blue",children:$({id:"doctorInfoComponent.booking",defaultMessage:"Booking"})})}))}),L&&(0,r.Y)(k(),{href:an,children:(0,r.Y)("a",(0,a.A)((0,i.A)({},ln),{children:(0,r.Y)(g.vw,{className:C().doctorTag,type:"warning",children:$({id:"bookingPage.telemedicine",defaultMessage:"Telemedicine"})})}))})]}),(z===b.jc_.CHILDREN||z===b.jc_.BOTH)&&(0,r.Y)(k(),{href:an,children:(0,r.Y)("a",(0,a.A)((0,i.A)({},ln),{children:(0,r.Y)(g.vw,{className:C().doctorTag,children:$({id:"forChildren",defaultMessage:"For Children"})})}))}),(z===b.jc_.ADULTS||z===b.jc_.BOTH)&&(0,r.Y)(k(),{href:an,children:(0,r.Y)("a",(0,a.A)((0,i.A)({},ln),{children:(0,r.Y)(g.vw,{className:C().doctorTag,children:$({id:"forAdults",defaultMessage:"For Adults"})})}))})]}),!hn&&(0,r.Y)("div",{className:h()(C().pricing,C().isDesktop),children:(0,r.Y)(k(),{href:an,children:(0,r.Y)("a",(0,a.A)((0,i.A)({},ln),{children:(0,r.Y)(_.zI,{priceType:T,price:S,priceTo:F})}))})}),G&&(0,r.Y)(M.A,{})]})]})}),Y?(0,r.Y)(c.B,{size:"md",color:"secondary",isBlock:!0,className:h()(C().viewDetailsBtn),onClick:un,children:$({id:"admin.guide.viewDetails",defaultMessage:"View details"})}):(0,r.Y)(w._,{trackingHospitalProps:sn,organizationLogo:(null===P||void 0===P?void 0:P.logo)||(null===m||void 0===m?void 0:m.logo),hospitalName:W,goHospitalPage:function(){q.push(cn)},isDisplayDistance:gn,distance:X,handleMakeAppointment:un,address:J,hospitalURL:cn,isMobile:E,isDoctorUnavailable:tn,isUnvalidBooking:en,doctorWebsite:p.doctorWebsite})]})]})}},92743:function(n,e,t){"use strict";t.d(e,{C:function(){return v}});var i=t(2445),a=t(73884),r=t(18502),o=t(71572),l=t(57448),c=t(74029),s=t(88491),d=t(6442),u=t(51387),p=function(){var n=(0,s.d)().isMobile;return(0,i.FD)("div",{className:"flex flex-col gap-4 bg-neutral50 p-4 rounded-2xl",children:[(0,i.FD)("div",{className:"flex gap-3",children:[(0,i.Y)("div",{className:"md:w-12",children:(0,i.Y)(u.E,{height:52,width:52,radius:"xl"})}),(0,i.FD)("div",{className:"flex flex-col gap-1 justify-center flex-1",children:[(0,i.Y)(u.E,{height:n?16:18,width:n?120:150,radius:"sm"}),(0,i.Y)(u.E,{height:n?14:16,width:n?100:120,radius:"sm"})]})]}),(0,i.FD)("div",{className:"flex flex-col gap-2 md:items-center",children:[(0,i.Y)(u.E,{height:n?20:24,width:"100%",radius:"sm"}),(0,i.Y)(u.E,{height:n?20:24,width:n?"90%":"80%",radius:"sm"}),(0,i.Y)(u.E,{height:n?20:24,width:n?"70%":"60%",radius:"sm"})]})]})},h=t(11851),g=t(25403),m=t(35291),f=(0,h.A)(g.B,{target:"ety4lc20"})("&.mantine-Button-root{border-radius:30px;padding:10px 31.5px;width:fit-content;margin:0 auto;border:1px solid ",m.w.colors.neutral100,";}"),v=function(n){var e,t=n.doctorQuotes,u=n.handleLoadMore,h=n.pagination,g=n.loading,m=(h||{}).total_items,v=(0,s.d)().isMobile,b=(0,a.useState)(3),y=b[0],k=b[1],x=(0,d.A)().formatMessage,w=y>=m,A=m>3,C=t.length=10?10:M})})]})})]})}},43184:function(n,e,t){"use strict";t.d(e,{U1:function(){return w},Sv:function(){return x},vv:function(){return k}});var i=t(40568),a=t(24537),r=t(2445),o=t(73884),l=t.n(o),c=t(76432),s=t(62862),d=t(27317),u=t(41172);function p(){var n=(0,a.A)(["\n position: relative;\n border: 1px solid ",";\n background-position: right 16px center;\n border-radius: 6px;\n\n ","\n\n &[data-has-icons='true'] {\n border: none;\n\n img,\n svg {\n display: inline-block;\n max-width: 16px;\n margin-right: 6px;\n }\n\n span {\n display: inline-block;\n vertical-align: middle;\n }\n\n &:hover {\n box-shadow: none;\n }\n > div {\n position: relative;\n display: flex;\n width: 100%;\n box-sizing: border-box;\n align-items: center;\n }\n > div::after {\n position: absolute;\n top: 50%;\n right: 24px;\n width: 10px;\n height: 8px;\n background-image: url(\"data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%23595959' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A\");\n background-repeat: no-repeat;\n content: '';\n transform: translateY(-50%);\n }\n }\n\n &[data-has-icons='true'][data-has-edit-icon='true'] {\n & > div {\n &::after {\n background-image: url('/care/svg/edit-16-gray.svg');\n width: 16px;\n height: 16px;\n }\n input {\n cursor: pointer;\n }\n }\n }\n\n &:hover {\n box-shadow: 0 0 2px 2px ",";\n }\n &[data-has-error] {\n > div::after {\n position: absolute;\n right: 24px;\n width: 10px;\n height: 8px;\n background-image: none;\n background-repeat: no-repeat;\n content: '';\n }\n }\n"]);return p=function(){return n},n}function h(){var n=(0,a.A)(["\n cursor: pointer;\n &[data-dropdown-open] {\n padding: 11px 15px 11px 15px;\n border: 1px solid ",";\n border-radius: 6px;\n box-shadow: 0 0 2px 2px ",";\n }\n & {\n input {\n font-size: 14px;\n }\n }\n & {\n .input-search {\n input {\n padding-right: 40px;\n font-size: 14px;\n white-space: nowrap;\n }\n }\n }\n &[data-has-error] {\n input {\n border-color: ",";\n }\n }\n"]);return h=function(){return n},n}function g(){var n=(0,a.A)(["\n position: absolute;\n z-index: 110;\n top: 100%;\n right: 0;\n left: 0;\n display: block;\n max-height: 300px;\n margin-top: 4px;\n background: ",";\n border-radius: 6px;\n box-shadow: -1px 1px 2px rgba(67, 70, 74, 0.0001),\n -2px 2px 5px rgba(67, 86, 100, 0.123689);\n cursor: pointer;\n overflow-y: auto;\n\n &[data-has-icons='true'] {\n border: 1px solid ",";\n background: white;\n box-shadow: none;\n filter: drop-shadow(0px 10px 16px rgba(0, 0, 0, 0.04));\n }\n & {\n .none {\n display: flex;\n min-height: 30px;\n align-items: center;\n justify-content: center;\n }\n }\n"]);return g=function(){return n},n}var m=d.Ay.div.withConfig({componentId:"sc-680deca3-0"})(p(),(function(n){return n.theme.colors.gray200}),(function(n){return n.disabled&&!n.hasEdit&&"\n pointer-events: none;\n "}),(function(n){return n.theme.colors.blue200})),f=d.Ay.div.withConfig({componentId:"sc-680deca3-1"})(h(),(function(n){return n.theme.colors.primaryBase}),(function(n){return n.theme.colors.blue200}),(function(n){return n.theme.colors.red700}));d.Ay.ul.withConfig({componentId:"sc-680deca3-2"})(g(),(function(n){return n.theme.colors.white}),(function(n){return n.theme.colors.gray200}));function v(){var n=(0,a.A)(["\n 0% {\n transform: rotate(0deg);\n }\n 100% {\n transform: rotate(360deg);\n }\n"]);return v=function(){return n},n}function b(){var n=(0,a.A)(["\n animation: "," 1.2s linear infinite;\n"]);return b=function(){return n},n}var y=(0,d.i7)(v()),k=d.Ay.svg.withConfig({componentId:"sc-b5260283-0"})(b(),y);function x(n){var e=n.className,t=n.width,i=void 0===t?"1em":t,a=n.color,o=void 0===a?"currentColor":a;return(0,r.Y)("svg",{width:i,height:i,className:e,viewBox:"0 0 24 24",children:(0,r.FD)("g",{children:[(0,r.Y)("path",{fill:o,d:"M 21.5 22 L 2.5 22 C 1.121094 22 0 20.878906 0 19.5 L 0 12.5 C 0 12.429688 0.015625 12.359375 0.0429688 12.296875 L 4.011719 3.476562 C 4.417969 2.578125 5.3125 2 6.292969 2 L 17.707031 2 C 18.6875 2 19.582031 2.578125 19.988281 3.476562 L 23.957031 12.296875 C 23.984375 12.359375 24 12.429688 24 12.5 L 24 19.5 C 24 20.878906 22.878906 22 21.5 22 Z M 1 12.605469 L 1 19.5 C 1 20.328125 1.671875 21 2.5 21 L 21.5 21 C 22.328125 21 23 20.328125 23 19.5 L 23 12.605469 L 19.074219 3.882812 C 18.832031 3.347656 18.296875 3 17.707031 3 L 6.292969 3 C 5.703125 3 5.167969 3.347656 4.925781 3.886719 Z M 1 12.605469 "}),(0,r.Y)("path",{fill:o,d:"M 16.808594 17 L 7.191406 17 C 6.570312 17 6.007812 16.609375 5.789062 16.027344 L 4.773438 13.324219 C 4.703125 13.128906 4.515625 13 4.308594 13 L 0.75 13 C 0.472656 13 0.25 12.777344 0.25 12.5 C 0.25 12.222656 0.472656 12 0.75 12 L 4.308594 12 C 4.929688 12 5.492188 12.390625 5.710938 12.972656 L 6.726562 15.675781 C 6.796875 15.871094 6.984375 16 7.191406 16 L 16.804688 16 C 17.015625 16 17.203125 15.871094 17.273438 15.675781 L 18.285156 12.972656 C 18.507812 12.390625 19.070312 12 19.691406 12 L 23.5 12 C 23.777344 12 24 12.222656 24 12.5 C 24 12.777344 23.777344 13 23.5 13 L 19.691406 13 C 19.484375 13 19.296875 13.128906 19.226562 13.324219 L 18.210938 16.027344 C 17.992188 16.609375 17.429688 17 16.808594 17 Z M 16.808594 17 "})]})})}var w=l().forwardRef((function(n,e){var t,a=n.className,d=n.style,p=n.id,h=n.placeholder,g=n.placeholderIcon,v=n.onChange,b=n.value,y=n.options,k=n.isLoading,x=n.onBlur,w=n.onFocus,A=n.errorMessage,C=n.hasFilterOption,_=void 0===C||C,M=n.hasFilterValueFromOptions,D=void 0===M||M,Y=n.disabled,E=n.onKeyPress,N=n.customPlaceHolder,S=n.useInnerHTML,F=void 0!==S&&S,T=n.onChangeField,I=n.hasEditIcon,z=void 0!==I&&I,B=n.onEdit,P=(0,o.useState)(""),O=P[0],L=P[1],H=(0,i.A)(l().useState(!1),2),j=H[0],R=H[1],V=(0,o.useState)(null!==(t=null===b||void 0===b?void 0:b.value)&&void 0!==t?t:""),U=V[0],G=V[1],q=(0,o.useRef)(null),K=(0,o.useRef)(null);(0,s.j)(K,(function(){R(!1)}));var W=O&&!T?_?function(n,e){var t="".concat(e).toLowerCase();return n.filter((function(n){return"".concat(n.value).toLowerCase().includes(t)||n.label.toLowerCase().includes(t)}))}(y,O):y:b&&D?y.filter((function(n){return n.value!==b.value})):y,J=b?y.find((function(n){return String(n.value)===String(b.value)})):null;return(0,r.Y)(m,{className:a,"data-dropdown-open":j,id:p,"data-has-icons":!0,"data-has-edit-icon":z,ref:q,style:d,tabIndex:0,"data-has-error":A&&A.length>0||void 0,disabled:Y,hasEdit:z,onClick:function(){B&&B()},children:(0,r.FD)(f,{ref:K,children:[(0,r.Y)(c.a,{ref:e,name:"dropdown-input-".concat(p),autoFocus:!1,displayIcon:g,size:"sm",onChange:function(n){void 0===T?(v(null,n),L(n)):(T(n),L(n))},placeholder:h,value:J?J.label:b&&b.value?b.label:O,autoComplete:"off",className:"input-search",onBlur:function(n){var e;(e=n).relatedTarget&&e.relatedTarget.id===p||(L(""),x&&x())},onFocus:w,isDisabled:Y,errorMessage:j?"":A,onKeyDown:E,onClick:function(){return R(!0)}}),!Y&&j&&(0,r.Y)(u.qw,{options:W,isLoading:k,hasIcons:!0,onChange:function(n,e){R(!1),console.log("on handleSelectOption: ",n),v(n,e)},setSearch:L,scrollToOption:U,setScrollToOption:G,customPlaceHolder:N,useInnerHTML:F})]})})}))},41172:function(n,e,t){"use strict";t.d(e,{qw:function(){return k},Sv:function(){return y},vv:function(){return b}});var i=t(24537),a=t(2445),r=t(73884),o=t(50970),l=t(27317);function c(){var n=(0,i.A)(["\n position: absolute;\n z-index: 110;\n top: 100%;\n right: 0;\n left: 0;\n display: block;\n max-height: 300px;\n margin-top: 4px;\n background: ",";\n border-radius: 6px;\n box-shadow: -1px 1px 2px rgba(67, 70, 74, 0.0001),\n -2px 2px 5px rgba(67, 86, 100, 0.123689);\n cursor: pointer;\n overflow-y: auto;\n\n &[data-has-icons='true'] {\n border: 1px solid ",";\n background: white;\n box-shadow: none;\n filter: drop-shadow(0px 10px 16px rgba(0, 0, 0, 0.04));\n }\n & {\n .none {\n display: flex;\n min-height: 30px;\n align-items: center;\n justify-content: center;\n }\n }\n"]);return c=function(){return n},n}function s(){var n=(0,i.A)(["\n display: flex;\n padding: 12px 18px 12px 16px;\n &:hover,\n :active {\n background: ",";\n }\n"]);return s=function(){return n},n}function d(){var n=(0,i.A)(["\n max-width: 16px;\n margin-right: 8px;\n"]);return d=function(){return n},n}function u(){var n=(0,i.A)(["\n color: ",";\n font-weight: ",";\n"]);return u=function(){return n},n}var p=l.Ay.ul.withConfig({componentId:"sc-93bfd79c-0"})(c(),(function(n){return n.theme.colors.white}),(function(n){return n.theme.colors.gray200})),h=l.Ay.li.withConfig({componentId:"sc-93bfd79c-1"})(s(),(function(n){return n.theme.colors.gray100})),g=l.Ay.div.withConfig({componentId:"sc-93bfd79c-2"})(d());l.Ay.div.withConfig({componentId:"sc-93bfd79c-3"})(u(),(function(n){return n.theme.colors.red700}),(function(n){return n.theme.sizes.fwRegular}));function m(){var n=(0,i.A)(["\n 0% {\n transform: rotate(0deg);\n }\n 100% {\n transform: rotate(360deg);\n }\n"]);return m=function(){return n},n}function f(){var n=(0,i.A)(["\n animation: "," 1.2s linear infinite;\n"]);return f=function(){return n},n}var v=(0,l.i7)(m()),b=l.Ay.svg.withConfig({componentId:"sc-56a2cda-0"})(f(),v);function y(n){var e=n.className,t=n.width,i=void 0===t?"1em":t,r=n.color,o=void 0===r?"currentColor":r;return(0,a.Y)("svg",{width:i,height:i,className:e,viewBox:"0 0 24 24",children:(0,a.FD)("g",{children:[(0,a.Y)("path",{fill:o,d:"M 21.5 22 L 2.5 22 C 1.121094 22 0 20.878906 0 19.5 L 0 12.5 C 0 12.429688 0.015625 12.359375 0.0429688 12.296875 L 4.011719 3.476562 C 4.417969 2.578125 5.3125 2 6.292969 2 L 17.707031 2 C 18.6875 2 19.582031 2.578125 19.988281 3.476562 L 23.957031 12.296875 C 23.984375 12.359375 24 12.429688 24 12.5 L 24 19.5 C 24 20.878906 22.878906 22 21.5 22 Z M 1 12.605469 L 1 19.5 C 1 20.328125 1.671875 21 2.5 21 L 21.5 21 C 22.328125 21 23 20.328125 23 19.5 L 23 12.605469 L 19.074219 3.882812 C 18.832031 3.347656 18.296875 3 17.707031 3 L 6.292969 3 C 5.703125 3 5.167969 3.347656 4.925781 3.886719 Z M 1 12.605469 "}),(0,a.Y)("path",{fill:o,d:"M 16.808594 17 L 7.191406 17 C 6.570312 17 6.007812 16.609375 5.789062 16.027344 L 4.773438 13.324219 C 4.703125 13.128906 4.515625 13 4.308594 13 L 0.75 13 C 0.472656 13 0.25 12.777344 0.25 12.5 C 0.25 12.222656 0.472656 12 0.75 12 L 4.308594 12 C 4.929688 12 5.492188 12.390625 5.710938 12.972656 L 6.726562 15.675781 C 6.796875 15.871094 6.984375 16 7.191406 16 L 16.804688 16 C 17.015625 16 17.203125 15.871094 17.273438 15.675781 L 18.285156 12.972656 C 18.507812 12.390625 19.070312 12 19.691406 12 L 23.5 12 C 23.777344 12 24 12.222656 24 12.5 C 24 12.777344 23.777344 13 23.5 13 L 19.691406 13 C 19.484375 13 19.296875 13.128906 19.226562 13.324219 L 18.210938 16.027344 C 17.992188 16.609375 17.429688 17 16.808594 17 Z M 16.808594 17 "})]})})}var k=function(n){var e=n.options,t=n.isLoading,i=n.hasIcons,l=n.onChange,c=n.setSearch,s=n.scrollToOption,d=n.setScrollToOption,u=n.customPlaceHolder,m=n.useInnerHTML,f=void 0!==m&&m,v=(0,r.useRef)(null);return(0,r.useEffect)((function(){if(v.current&&s){var n,t,i=e.findIndex((function(n){return n.value===s}));if(-1!==i)v.current.scroll({top:(null===(n=v.current)||void 0===n?void 0:n.children[i].getBoundingClientRect().top)-(null===(t=v.current)||void 0===t?void 0:t.getBoundingClientRect().top)})}}),[s]),(0,a.FD)(p,{className:"dropdown-option","data-has-icons":i,ref:v,children:[t&&(0,a.Y)("div",{className:"none",children:(0,a.FD)(b,{width:"24",height:"24",fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:[(0,a.Y)("mask",{id:"a",fill:"#fff",children:(0,a.Y)("path",{d:"M12 0A12 12 0 11.19 9.88l3.9.7A8.03 8.03 0 1012 3.98V0z"})}),(0,a.Y)("path",{d:"M12 0A12 12 0 11.19 9.88l3.9.7A8.03 8.03 0 1012 3.98V0z",stroke:"#2D87F3",strokeWidth:"8",mask:"url(#a)"})]})}),!t&&0===e.length&&(0,a.Y)("div",{className:"none",children:u||(0,a.Y)(o.T,{size:"sm",children:(0,a.Y)(y,{})})}),!t&&e.length>0&&e.map((function(n,e){return(0,a.Y)(h,{onClick:function(){l(n,n.value),d(n.value),c(""),console.log("on select item: ",n)},children:f?(0,a.Y)("div",{dangerouslySetInnerHTML:{__html:n.label}}):(0,a.FD)(a.FK,{children:[n.icon&&(0,a.Y)(g,{children:n.icon}),n.label]})},"".concat(e,"-").concat(n.value))}))]})}},45105:function(n,e,t){"use strict";t.d(e,{r:function(){return k}});var i=t(53513),a=t(63538),r=t(2445),o=t(73884),l=t(32485),c=t.n(l),s=t(24537),d=t(27317);function u(){var n=(0,s.A)(["\n position: relative;\n display: flex;\n justify-content: center;\n cursor: pointer;\n &.disabled {\n cursor: not-allowed;\n opacity: 0.5;\n pointer-events: none;\n }\n"]);return u=function(){return n},n}function p(){var n=(0,s.A)(["\n display: flex;\n width: fit-content;\n justify-content: center;\n align-items: center;\n background-color: rgba(0, 0, 0, 0);\n transition: background-color 200ms;\n border-radius: 4px;\n\n &:hover {\n background-color: ",";\n }\n"]);return p=function(){return n},n}function h(){var n=(0,s.A)(["\n position: absolute;\n z-index: ",";\n top: 100%;\n right: 0;\n overflow: hidden;\n min-width: 185px;\n width: max-content;\n border: 1px solid ",";\n margin: 8px 0;\n background: white;\n border-radius: 6px;\n filter: drop-shadow(0px 10px 16px rgba(0, 0, 0, 0.04));\n\n &[data-position='right'] {\n left: 0;\n }\n &[data-position='left'] {\n right: 0;\n }\n &[data-position='center'] {\n left: 50%;\n transform: translateX(-50%);\n }\n\n > li {\n display: flex;\n align-items: center;\n padding: 12px 18px;\n cursor: pointer;\n width: 100%;\n &.disabled {\n cursor: not-allowed;\n opacity: 0.5;\n pointer-events: none;\n }\n\n svg {\n display: inline-block;\n margin-right: 8px;\n }\n\n &:hover {\n background: #f2f2f2;\n }\n }\n"]);return h=function(){return n},n}var g,m=d.Ay.div.withConfig({componentId:"sc-56c5d382-0"})(u()),f=d.Ay.div.withConfig({componentId:"sc-56c5d382-1"})(p(),(function(n){return n.theme.colors.neutral50})),v=d.Ay.ul.withConfig({componentId:"sc-56c5d382-2"})(h(),(function(n){return n.theme.zIndexes.zIndex100}),(function(n){return n.theme.colors.neutral200}));function b(){return b=Object.assign?Object.assign.bind():function(n){for(var e=1;e div {\n position: relative;\n display: flex;\n width: 100%;\n box-sizing: border-box;\n align-items: center;\n }\n > div::after {\n position: absolute;\n top: 50%;\n right: 16px;\n width: 10px;\n height: 8px;\n background-image: url(\"data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%23595959' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A\");\n background-repeat: no-repeat;\n content: '';\n transform: translateY(-50%);\n }\n }\n\n // Prevent double borders\n & > div {\n border: none;\n }\n"]);return p=function(){return n},n}function h(){var n=(0,d.A)(["\n display: flex;\n border: 1px solid ",";\n border-radius: 6px;\n cursor: pointer;\n\n &[data-dropdown-open] {\n padding: 11px 15px 11px 15px;\n border: 1px solid ",";\n border-radius: 6px;\n box-shadow: 0 0 2px 2px ",";\n }\n & {\n input {\n padding: 4px;\n font-size: 14px;\n }\n }\n &[data-has-error='true'] {\n border-color: red;\n }\n"]);return h=function(){return n},n}function g(){var n=(0,d.A)(["\n display: flex;\n flex-wrap: wrap;\n padding: 10px;\n gap: 8px;\n margin-right: 26px;\n"]);return g=function(){return n},n}function m(){var n=(0,d.A)(["\n display: flex;\n height: 28px;\n align-items: center;\n justify-content: space-between;\n gap: 8px;\n padding: 0 8px;\n background: ",";\n border-radius: 24px;\n\n .close-icon {\n height: 18px;\n width: 16px;\n }\n"]);return m=function(){return n},n}function f(){var n=(0,d.A)(["\n width: 100%;\n height: 100%;\n flex: 1 1 0%;\n input {\n width: 100%;\n }\n"]);return f=function(){return n},n}function v(){var n=(0,d.A)(["\n position: absolute;\n z-index: 110;\n top: 100%;\n right: 0;\n left: 0;\n display: block;\n max-height: 300px;\n margin-top: 4px;\n background: ",";\n border-radius: 6px;\n box-shadow: -1px 1px 2px rgba(67, 70, 74, 0.0001),\n -2px 2px 5px rgba(67, 86, 100, 0.123689);\n cursor: pointer;\n overflow-y: scroll;\n\n &[data-has-icons='true'] {\n border: 1px solid ",";\n background: white;\n box-shadow: none;\n filter: drop-shadow(0px 10px 16px rgba(0, 0, 0, 0.04));\n }\n & {\n .none {\n display: flex;\n min-height: 30px;\n align-items: center;\n justify-content: center;\n }\n }\n\n &.dropdown-option__disabled {\n & > li {\n opacity: 0.5;\n cursor: not-allowed;\n background-color: ",";\n }\n }\n"]);return v=function(){return n},n}function b(){var n=(0,d.A)(["\n display: flex;\n padding: 12px 18px 12px 16px;\n &:hover,\n :active {\n background: ",";\n }\n"]);return b=function(){return n},n}function y(){var n=(0,d.A)(["\n height: 40px;\n cursor: pointer;\n img {\n width: 100%;\n height: 100%;\n margin-left: 8px;\n }\n"]);return y=function(){return n},n}function k(){var n=(0,d.A)(["\n color: ",";\n font-weight: ",";\n"]);return k=function(){return n},n}var x=u.Ay.div.withConfig({componentId:"sc-8d9589f1-0"})(p(),(function(n){return n.theme.colors.gray200}),(function(n){return n.theme.colors.blue200}),(function(n){return n.theme.colors.primaryBase})),w=u.Ay.div.withConfig({componentId:"sc-8d9589f1-1"})(h(),(function(n){return n.theme.colors.gray200}),(function(n){return n.theme.colors.primaryBase}),(function(n){return n.theme.colors.blue200})),A=u.Ay.div.withConfig({componentId:"sc-8d9589f1-2"})(g()),C=u.Ay.div.withConfig({componentId:"sc-8d9589f1-3"})(m(),(function(n){return n.theme.colors.blue50})),_=u.Ay.div.withConfig({componentId:"sc-8d9589f1-4"})(f()),M=u.Ay.ul.withConfig({componentId:"sc-8d9589f1-5"})(v(),(function(n){return n.theme.colors.white}),(function(n){return n.theme.colors.gray200}),(function(n){return n.theme.colors.gray200})),D=u.Ay.li.withConfig({componentId:"sc-8d9589f1-6"})(b(),(function(n){return n.theme.colors.gray100})),Y=u.Ay.div.withConfig({componentId:"sc-8d9589f1-7"})(y()),E=u.Ay.label.withConfig({componentId:"sc-8d9589f1-8"})(k(),(function(n){return n.theme.colors.red700}),(function(n){return n.theme.sizes.fwRegular})),N=t(11191),S=function(n){var e=n.className,t=n.style,o=n.id,d=n.placeholder,u=n.onChange,p=n.value,h=n.options,g=n.initialOptions,m=n.errorMessage,f=n.disabledOption,v=n.isLoading,b=n.setKeyword,y=n.isAbleToAddNew,k=void 0!==y&&y,S=n.onAddNew,F=(0,a.useState)(""),T=F[0],I=F[1],z=(0,a.useState)(!1),B=z[0],P=z[1],O=(0,a.useState)(h),L=O[0],H=O[1],j=(0,a.useState)(!1),R=j[0],V=j[1],U=function(){return V(!R)},G=(0,a.useRef)(null),q=(0,a.useState)([]),K=q[0],W=q[1];(0,a.useEffect)((function(){H(h)}),[h]),(0,a.useEffect)((function(){if(g){g&&W(g);var n=null===g||void 0===g?void 0:g.map((function(n){return String(n.value)})),e=h.filter((function(e){return!(null===n||void 0===n?void 0:n.includes(String(e.value)))}));H(e)}}),[g,h]),(0,c.j)(G,(function(){V(!1)}));var J=function(n){var e=K.filter((function(e){return e.value!==n.value}));W(e),u(e),H(L.concat(n))};return(0,a.useEffect)((function(){b(T)}),[T]),(0,i.FD)(x,{className:l()(e,{focused:B}),"data-dropdown-open":R||void 0,id:o,"data-has-icons":!0,ref:G,onBlur:function(n){return e=n,P(!1),void(e.relatedTarget&&e.relatedTarget.id===o||I(""));var e},onFocus:function(){return P(!0)},style:t,tabIndex:0,children:[(0,i.Y)(w,{onClick:U,"data-has-error":m&&m.length>0,children:(0,i.FD)(A,{children:[K.map((function(n,e){return(0,i.FD)(C,{children:[(0,i.Y)(r.T,{size:"p4",children:n.label}),(0,i.Y)("div",{className:"close-icon",onClick:function(){return J(n)},children:(0,i.Y)(N.A,{className:"no-margin"})})]},"".concat(e,"-").concat(n.value,"-tag"))})),(0,i.Y)(_,{children:(0,i.Y)("input",{type:"text",onChange:function(n){return e=n.target.value,V(!0),void I(e);var e},placeholder:d,value:p&&p.value?p.label:T,onKeyDown:function(n){if("Enter"===n.key){if(n.preventDefault(),k){var e=n.currentTarget.value;if(e){var t={value:-Date.now(),label:e};u(K.concat([t])),I(""),S&&S(t)}}}else"Backspace"===n.key&&""===n.currentTarget.value&&(n.preventDefault(),J(K[K.length-1]))},style:{width:K.length?void 0:250}})})]})}),m&&m.length>0&&(0,i.Y)(E,{className:"errorLabel",children:m}),R&&(0,i.FD)(M,{onClick:U,className:l()("dropdown-option",{"dropdown-option__disabled":f}),children:[v&&(0,i.Y)("div",{className:"none",children:(0,i.FD)(s.vv,{width:"24",height:"24",fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:[(0,i.Y)("mask",{id:"a",fill:"#fff",children:(0,i.Y)("path",{d:"M12 0A12 12 0 11.19 9.88l3.9.7A8.03 8.03 0 1012 3.98V0z"})}),(0,i.Y)("path",{d:"M12 0A12 12 0 11.19 9.88l3.9.7A8.03 8.03 0 1012 3.98V0z",stroke:"#2D87F3",strokeWidth:"8",mask:"url(#a)"})]})}),!v&&0===L.length&&(0,i.Y)("div",{className:"none",children:(0,i.Y)(r.T,{size:"sm",children:(0,i.Y)(s.Sv,{})})}),!v&&L.length>0&&L.map((function(n){return(0,i.FD)(D,{"data-selected":p&&p.value===n.value||void 0,onClick:function(){f||(I(""),function(n){var e=L.filter((function(e){return e.value!==n.value})),t=K.concat(n);W(t),u(t),H(e)}(n))},children:[n.icon&&(0,i.Y)(Y,{children:n.icon}),n.label]},"".concat(o,"-").concat(n.label))}))]})]})}},20105:function(n,e,t){"use strict";t.d(e,{l:function(){return d}});var i=t(53513),a=t(63538),r=t(24537),o=t(2445),l=t(49785);function c(){var n=(0,r.A)(["\n [data-color='ghost']:disabled {\n background-color: transparent;\n p {\n color: ",";\n }\n svg path {\n stroke: ",";\n }\n }\n"]);return c=function(){return n},n}var s=t(27317).Ay.form.withConfig({componentId:"sc-aaeb766f-0"})(c(),(function(n){return n.theme.colors.gray400}),(function(n){return n.theme.colors.gray400}));function d(n){var e=n.name,t=n.children,r=n.defaultValues,c=n.mode,d=void 0===c?"onSubmit":c,u=n.onSubmit,p=n.beforeSubmitValidation,h=n.style,g=(0,l.mN)({defaultValues:r,mode:d});return(0,o.Y)(l.Op,(0,a.A)((0,i.A)({},g),{children:(0,o.Y)(s,{name:e,onSubmit:g.handleSubmit((function(n){if(p&&!p(n,g.setError))return!1;u(n)})),style:h,children:t})}))}},16282:function(n,e,t){"use strict";t.d(e,{y:function(){return o}});var i=t(73884),a=t(10297),r=t(6442);function o(){var n=(0,r.A)().formatMessage,e=(0,a.useRouter)().locale;return(0,i.useMemo)((function(){return{titles:{faq:n({id:"footer.faqs",defaultMessage:"FAQ"})},labels:{from:n({id:"form.label.from",defaultMessage:"From"}),to:n({id:"form.label.to",defaultMessage:"To"}),present:n({id:"common.date.present",defaultMessage:"Present"}),URL:n({id:"admin.form.url",defaultMessage:"URL"}),enterURL:n({id:"admin.form.enterUrl",defaultMessage:"Enter URL"}),insert:n({id:"common.insert",defaultMessage:"Insert"}),addQuestion:n({id:"form.faq.addQuestion",defaultMessage:"Add Question"}),editQuestion:n({id:"form.faq.editQuestion",defaultMessage:"Edit Question"}),question:n({id:"common.question",defaultMessage:"Question"}),answer:n({id:"common.answer",defaultMessage:"Answer"})},buttons:{save:n({id:"form.button.save",defaultMessage:"Save"}),cancel:n({id:"form.button.cancel",defaultMessage:"Cancel"}),remove:n({id:"form.button.remove",defaultMessage:"Remove"}),askQuestion:n({id:"hospital.branch.askQuestion",defaultMessage:"Ask Question"}),preview:n({id:"form.button.preview",defaultMessage:"Preview"}),edit:n({id:"form.button.edit",defaultMessage:"Edit"})},errorMessages:{invalidFormat:n({id:"form.error.format",defaultMessage:"Invalid format"}),requiredField:n({id:"common.error.requiredField",defaultMessage:"This field is required"}),minItems:function(e){return n({id:"common.error.minItems",defaultMessage:"Please select a minimum of {number} items"},{number:e})},maxItems:function(e){return n({id:"common.error.maxItems",defaultMessage:"Please select a maximum of {number} items"},{number:e})}}}}),[e])}},45648:function(n,e,t){"use strict";t.d(e,{k:function(){return _}});var i=t(53513),a=t(2445),r=t(73884),o=t(35291),l=t(50970),c=t(74029),s=t(10486),d=t.n(s),u=t(24537),p=t(44410),h=t(27317);function g(){var n=(0,u.A)([""]);return g=function(){return n},n}function m(){var n=(0,u.A)(["\n background-color: rgba(0, 0, 0, 0);\n width: 100vw;\n height: 100vh;\n position: fixed;\n top: 0;\n left: 0;\n pointer-events: none;\n transition: background-color ","ms;\n z-index: -1;\n\n [data-formmodal-visible='true'] & {\n z-index: var(--active-z-index);\n }\n\n [data-formmodal-open='true'] & {\n background-color: rgba(0, 0, 0, 0.5);\n\n pointer-events: auto;\n }\n\n "," {\n height: var(--app-height, 100vh);\n }\n"]);return m=function(){return n},n}function f(){var n=(0,u.A)(["\n display: flex;\n align-items: center;\n justify-content: space-between;\n\n "," {\n padding: 0 16px;\n height: 64px;\n }\n\n "," {\n padding: 0 24px;\n height: 70px;\n }\n"]);return f=function(){return n},n}function v(){var n=(0,u.A)(["\n cursor: pointer;\n > img {\n width: 24px;\n height: 24px;\n }\n"]);return v=function(){return n},n}function b(){var n=(0,u.A)(["\n height: calc(\n var(--app-height, 100vh) - (var(--space-top) + var(--space-bottom)) * 1px\n );\n position: fixed;\n\n transition: all ","ms;\n transition-property: transform, opacity;\n opacity: 0;\n pointer-events: none;\n z-index: -1;\n background-color: #fff;\n\n width: calc((100vw - (var(--space-left) + var(--space-right)) * 1px));\n\n &[data-fixed-width='true'] {\n width: var(--max-width);\n }\n\n [data-formmodal-visible='true'] & {\n z-index: calc(var(--active-z-index) + 1);\n }\n\n [data-formmodal-open='true'] & {\n opacity: 1;\n pointer-events: initial;\n }\n\n &[data-direction='top'] {\n transform: translateY(-20%);\n top: calc(var(--space-top) * 1px);\n left: calc(var(--space-left) * 1px);\n [data-formmodal-open='true'] & {\n transform: translateY(0);\n }\n }\n\n &[data-direction='right'] {\n transform: translateX(20%);\n top: calc(var(--space-top) * 1px);\n right: calc(var(--space-right) * 1px);\n [data-formmodal-open='true'] & {\n transform: translateX(0);\n }\n }\n\n &[data-direction='bottom'] {\n transform: translateY(20%);\n bottom: calc(var(--space-bottom) * 1px);\n left: calc(var(--space-left) * 1px);\n [data-formmodal-open='true'] & {\n transform: translateY(0);\n }\n }\n\n &[data-direction='left'] {\n transform: translateX(-20%);\n top: calc(var(--space-top) * 1px);\n left: calc(var(--space-left) * 1px);\n [data-formmodal-open='true'] & {\n transform: translateX(0);\n }\n }\n"]);return b=function(){return n},n}var y=h.Ay.div.withConfig({componentId:"sc-e058cfc0-0"})(g()),k=h.Ay.div.withConfig({componentId:"sc-e058cfc0-1"})(m(),200,p.M.mbDown),x=h.Ay.div.withConfig({componentId:"sc-e058cfc0-2"})(f(),p.M.tdDown,p.M.tdUp),w=h.Ay.div.withConfig({componentId:"sc-e058cfc0-3"})(v()),A=h.Ay.div.withConfig({componentId:"sc-e058cfc0-4"})(b(),200),C=t(8758),_=function(n){var e=n.isOpen,t=n.onClose,s=n.children,u=n.className,p=n.id,h=n.direction,g=void 0===h?"right":h,m=n.space,f=n.zIndex,v=void 0===f?Number(o.w.zIndexes.onTop):f,b=n.withBackdrop,_=n.disableBodyScrollOnOpen,M=void 0===_||_,D=n.width,Y=n.panelStyle,E=n.withDefaultTitle,N=(0,r.useState)(!1),S=N[0],F=N[1],T=(0,r.useState)(!!e),I=T[0],z=T[1];(0,r.useEffect)((function(){var n;return e?(z(!0),n=window.setTimeout((function(){F(e)}),0)):F(!1),M&&document.body.classList.toggle("noscroll",e),function(){window.clearTimeout(n)}}),[e]);var B=(0,a.FD)(y,{id:p,className:u,"data-formmodal-open":S,"data-formmodal-visible":I,style:{"--space-top":(0,c.wW)(null===m||void 0===m?void 0:m.top,0),"--space-bottom":(0,c.wW)(null===m||void 0===m?void 0:m.bottom,0),"--space-left":(0,c.wW)(null===m||void 0===m?void 0:m.left,0),"--space-right":(0,c.wW)(null===m||void 0===m?void 0:m.right,0),"--active-z-index":v},children:[!(null===b||void 0===b?void 0:b.hideBackdrop)&&(0,a.Y)(k,{onClick:(null===b||void 0===b?void 0:b.onBackdropClick)||t,style:null===b||void 0===b?void 0:b.backdropStyle}),(0,a.FD)(A,{"data-direction":g,"data-fixed-width":"string"===typeof D,style:(0,i.A)({},"string"===typeof D&&{"--max-width":D},Y),onTransitionEnd:function(){S||z(!1)},children:[(null===E||void 0===E?void 0:E.title)&&(0,a.FD)(x,{style:E.style,children:[(0,a.Y)(l.T,{size:"lg",type:"bold",color:o.w.colors.secondaryBase,children:E.title}),(0,a.Y)(w,{onClick:t,children:E.closeIcon?E.closeIcon:(0,a.Y)(C.A,{})})]}),s]})]});return"undefined"!==typeof document?I?d().createPortal(B,document.body):null:B}},28840:function(n,e,t){"use strict";t.d(e,{A:function(){return b}});var i,a=t(2445),r=t(76432),o=t(35291),l=t(55549),c=t(71572),s=t(32485),d=t.n(s),u=t(88491),p=t(73419),h=t(40959),g=t(6442),m=t(73884);function f(){return f=Object.assign?Object.assign.bind():function(n){for(var e=1;e1;return(0,i.FD)("div",{className:"flex gap-2 items-center ".concat(d),children:[(0,i.Y)(a.I,{src:b,width:28,height:28,className:"shrink-0 aspect-square object-contain w-7 h-7",alt:v}),(0,i.FD)("div",{children:[(0,i.Y)(o.T,{size:"p3",color:r.w.colors.gray1000,fw:500,as:"span",children:y?v:f||m}),(y||t)&&(0,i.Y)("div",{className:"w-[2px] h-[2px] bg-gray400 rounded-full inline-block align-middle shrink-0 mx-2"}),y?(0,i.Y)(o.T,{size:"p3",color:r.w.colors.gray400,fw:400,as:"span",className:"shrink-0",children:g({id:"hospital.info.totalBranches",defaultMessage:"{total, plural, =0 {} =1 {# branch} other {# branches}}"},{total:p})}):t&&(0,i.Y)(c.A,{isIcon:!1,className:"!border-none !p-0 shrink-0 inline-block",value:"".concat(t," km"),textClassName:"text-gray700 text-[13px] md:leading-[20px]"})]})]})}e.A=s},91350:function(n,e,t){"use strict";t.d(e,{L:function(){return g}});var i=t(53513),a=t(63538),r=t(2445),o=t(71572),l=t(32485),c=t.n(l),s=t(88491),d=t(51009),u=t(28543),p=t(6442),h=function(n){var e=n.value,t=(0,p.A)().formatMessage;return(0,r.Y)("div",{className:"bg-green600 rounded-[4px] px-[5px] py-[1.5px] whitespace-nowrap",children:(0,r.FD)(o.T,{size:"subText",color:"white",fw:500,className:"!leading-4",children:[t({id:"vaccination.detail.package.badge.save",defaultMessage:"Save"})," ","".concat(Math.round(Number(e)),"%")]})})},g=function(n){var e=n.price,t=n.discountPrice,l=n.percentageDiscount,p=n.priceUnit,g=n.textProps,m=n.className,f=(0,d.J)({hasDiscount:null!=l&&l>0,price:e,priceDiscount:t||0,priceUnit:p}).getCurrency,v=(0,s.d)().isMobile,b=(0,i.A)({size:v?"p3":"title2",color:"gray1000",fw:600},null===g||void 0===g?void 0:g.price),y=(0,i.A)({size:v?"c2":"c1",color:"gray400",fw:400,sx:{textDecoration:"line-through"}},null===g||void 0===g?void 0:g.discount);return(0,r.FD)("div",{children:[(0,r.FD)("div",{className:c()("flex items-center gap-1",m),children:[(0,r.Y)(o.T,(0,a.A)((0,i.A)({},b),{children:f(u.lL.PRICE)})),null!=l&&l>0&&(0,r.Y)(h,{value:l})]}),null!=l&&l>0&&(0,r.Y)(o.T,(0,a.A)((0,i.A)({},y),{children:f(u.lL.DISCOUNT)}))]})}},48403:function(n,e,t){"use strict";t.d(e,{nD:function(){return ma.n},Fg:function(){return di},Cv:function(){return aa},cW:function(){return ke.AdminNavigation},oR:function(){return Ot},K3:function(){return ga},rk:function(){return Yi},By:function(){return pe},Il:function(){return ye},vB:function(){return rn.v},h7:function(){return mn},V4:function(){return U},wu:function(){return tn.w},rI:function(){return Ht.r},pd:function(){return s},eX:function(){return Wi},jD:function(){return _i},KL:function(){return Na},dK:function(){return m},LR:function(){return C.L},Al:function(){return An},Vw:function(){return Ua},al:function(){return an.a},Vs:function(){return en}});var i=t(2445),a=t(73884),r=t(32485),o=t.n(r),l=t(13169),c=t.n(l),s=function(n){var e=n.name,t=n.value,r=n.errorMessage,l=n.actionIcon,s=n.displayIcon,d=n.onActionClick,u=n.label,p=n.placeholder,h=n.className,g=n.onChange,m=n.onKeyPress,f=n.isDisabled,v=n.onFocus,b=n.onBlur,y=n.shouldInputFocus,k=n.type,x=n.children,w=n.isAutoComplete,A=n.isReadOnly,C=n.isLabelActivateInput,_=n.dataEventCategory,M=n.dataEventAction,D=n.dataEventLabel,Y=(0,a.useRef)(null);return(0,a.useEffect)((function(){y?(Y.current&&Y.current.focus(),v&&v()):Y.current&&Y.current.blur()}),[y]),(0,i.FD)("div",{className:o()(c().mInput,h),"data-has-action-icon":!!l||void 0,"data-has-display-icon":!!s||void 0,"data-has-error":r&&r.length>0||void 0,onBlur:b,children:[u&&(0,i.Y)("label",{htmlFor:C?e:void 0,className:c().inputLabel,children:u}),(0,i.Y)("input",{id:e,readOnly:A||!1,autoComplete:w||"off",placeholder:p,onChange:g,onKeyPress:function(n){return m&&m(n)},type:k||"text",value:t,disabled:f,onFocus:v,autoFocus:y||void 0,ref:Y,"data-event-category":_,"data-event-action":M,"data-event-label":D}),s&&(0,i.Y)(s,{className:c().displayIcon,onClick:d}),l&&(0,i.Y)("div",{onMouseDown:function(n){n.preventDefault(),null===d||void 0===d||d()},tabIndex:0,children:(0,i.Y)(l,{className:c().actionIcon})}),r&&r.length>0&&(0,i.Y)("label",{className:c().errorLabel,children:r}),x]})},d=t(81539),u=t(38629),p=t(69576),h=t(26869),g=t.n(h),m=function(n){var e=n.className,t=n.pagesAmount,r=n.currentPage,l=n.onChange,c=(0,d.A)(Array(t)).map((function(n,e){return e+1})),s=(0,a.useState)(r),h=s[0],m=s[1],f=t-1,v=function(n){n<=t&&n>0&&(m(n),l(n))};return(0,a.useEffect)((function(){m(r)}),[r]),(0,i.FD)("div",{className:o()(g().pagination,e),children:[(0,i.Y)("div",{className:o()(g().arrow,g().paginationBlock),onClick:function(){return v(h-1)},"data-last-page":1===h||void 0,children:(0,i.Y)(u.A,{})}),c.slice(h<=3?0:h-3,h<=3?5:h+2).map((function(n){return(0,i.Y)("li",{className:o()(g().paginationBlock),"data-page-active":n===h||void 0,onClick:function(){return v(n)},children:n},"pagination+".concat(n))})),(0,i.Y)("div",{className:o()(g().arrow,g().paginationBlock),onClick:function(){return v(h+1)},"data-last-page":h===f+1||void 0,children:(0,i.Y)(p.A,{})})]})},f=t(24537),v=t(27317);function b(){var n=(0,f.A)(["\n --dropdown-padding-top: 12px;\n --dropdown-padding-right: 44px;\n --dropdown-padding-bottom: 12px;\n --dropdown-padding-left: 18px;\n --dropdown-padding: var(--dropdown-padding-top) var(--dropdown-padding-right)\n var(--dropdown-padding-bottom) var(--dropdown-padding-left);\n\n position: relative;\n box-sizing: border-box;\n border: 1px solid ",";\n background: $white url('../../../public/bgSvg/arrow-down.svg') no-repeat;\n background-position: right 16px center;\n border-radius: 6px;\n\n &[data-dropdown-open] .dropdownName {\n padding: var(--dropdown-padding);\n // border: 1px solid $primary-base;\n border-radius: 6px;\n box-shadow: 0 0 2px 2px ",";\n }\n\n &[data-dropdown-open] {\n z-index: $zIndex-overlay;\n }\n\n &:hover {\n box-shadow: 0 0 2px 2px ",";\n }\n"]);return b=function(){return n},n}function y(){var n=(0,f.A)(["\n padding: var(--dropdown-padding);\n cursor: pointer;\n"]);return y=function(){return n},n}function k(){var n=(0,f.A)(["\n position: absolute;\n top: 100%;\n right: 0;\n left: 0;\n display: block;\n margin-top: 4px;\n background: $white;\n border-radius: 6px;\n box-shadow: -1px 1px 2px rgba(67, 70, 74, 0.0001),\n -2px 2px 5px rgba(67, 86, 100, 0.123689);\n cursor: pointer;\n"]);return k=function(){return n},n}function x(){var n=(0,f.A)(["\n padding: var(--dropdown-padding-top) var(--dropdown-padding-right)\n var(--dropdown-padding-bottom) var(--dropdown-padding-left);\n\n &:hover,\n :active {\n background: ",";\n }\n"]);return x=function(){return n},n}function w(){var n=(0,f.A)(["\n display: flex;\n justify-content: center;\n align-items: center;\n"]);return w=function(){return n},n}v.Ay.div.withConfig({componentId:"sc-b466dd23-0"})(b(),(function(n){return n.theme.colors.gray200}),(function(n){return n.theme.colors.blue200}),(function(n){return n.theme.colors.blue200})),v.Ay.div.withConfig({componentId:"sc-b466dd23-1"})(y()),v.Ay.ul.withConfig({componentId:"sc-b466dd23-2"})(k()),v.Ay.li.withConfig({componentId:"sc-b466dd23-3"})(x(),(function(n){return n.theme.colors.gray100})),v.Ay.div.withConfig({componentId:"sc-b466dd23-4"})(w());var A,C=t(78754),_=t(95456);function M(){return M=Object.assign?Object.assign.bind():function(n){for(var e=1;e input[type='radio'] {\n margin: 0;\n }\n }\n"]);return Bn=function(){return n},n}function Pn(){var n=(0,f.A)(["\n object-fit: cover;\n width: 48px;\n height: 48px;\n border-radius: 50%;\n cursor: pointer;\n"]);return Pn=function(){return n},n}function On(){var n=(0,f.A)(["\n display: flex;\n flex-direction: column;\n gap: 2px;\n cursor: pointer;\n\n .row-info {\n display: flex;\n gap: 8px;\n & > * {\n &:not(:first-child) {\n display: flex;\n gap: 8px;\n align-items: center;\n ::before {\n content: '';\n display: flex;\n width: 4px;\n height: 4px;\n border-radius: 50%;\n background-color: ",";\n margin: 0 2px;\n }\n }\n }\n }\n"]);return On=function(){return n},n}function Ln(){var n=(0,f.A)(["\n margin-left: auto;\n display: flex;\n gap: 4px;\n\n "," {\n position: absolute;\n top: 0;\n right: 0;\n }\n\n .button {\n padding: 4px;\n border-radius: 2px;\n height: 28px;\n cursor: pointer;\n width: fit-content;\n &:hover {\n background: ","70;\n }\n }\n"]);return Ln=function(){return n},n}function Hn(){var n=(0,f.A)(["\n text-align: center;\n\n .group-btn {\n display: flex;\n gap: 12px;\n\n .btn {\n flex: 1;\n }\n }\n"]);return Hn=function(){return n},n}function jn(){var n=(0,f.A)(["\n display: flex;\n gap: 8px;\n align-items: center;\n flex: 1;\n\n "," {\n display: block;\n position: relative;\n }\n"]);return jn=function(){return n},n}v.Ay.div.withConfig({componentId:"sc-33ec5b80-0"})(zn(),(function(n){return n.theme.colors.neutral50}),(function(n){return n.theme.colors.primaryBase})),v.Ay.div.withConfig({componentId:"sc-33ec5b80-1"})(Bn(),H.M.tdUp),v.Ay.img.withConfig({componentId:"sc-33ec5b80-2"})(Pn()),v.Ay.div.withConfig({componentId:"sc-33ec5b80-3"})(On(),(function(n){return n.theme.colors.gray400})),v.Ay.div.withConfig({componentId:"sc-33ec5b80-4"})(Ln(),H.M.mbDown,(function(n){return n.theme.colors.blue50})),v.Ay.div.withConfig({componentId:"sc-33ec5b80-5"})(Hn()),v.Ay.div.withConfig({componentId:"sc-33ec5b80-6"})(jn(),H.M.mbDown),t(41450),t(21336),t(68289),t(1135),t(86204),t(1032),t(39372),t(89902),t(58665),t(90206);function Rn(){var n=(0,f.A)(["\n display: flex;\n justify-content: center;\n\n "," {\n justify-content: flex-start;\n }\n\n & > button {\n width: 100%;\n text-align: center;\n text-transform: uppercase;\n\n "," {\n width: auto;\n }\n }\n"]);return Rn=function(){return n},n}var Vn,Un,Gn,qn,Kn,Wn,Jn,Zn,Qn,$n,Xn,ne,ee,te,ie,ae,re,oe,le,ce,se,de,ue=v.Ay.div.withConfig({componentId:"sc-9afb6850-0"})(Rn(),H.M.tdUp,H.M.tdUp),pe=function(n){var e,t=n.className,a=n.onClick,r=n.title,o=n.isLoading,l=n.isDisabled,c=void 0!==l&&l,s=n.isTelemedicine,d=n.isStickyBtn,u=void 0!==d&&d,p=n.isBlock,h=void 0!==p&&p,g=(0,S.$)(),m=g.locale,f=g.asPath;return e=void 0!==s?s?"Telemedicine - Booking Confirm Click":"Outpatient - Booking Confirm Click":"Booking Confirm Click",(0,i.Y)(ue,{className:t,"data-is-sticky":u,children:(0,i.Y)(q.B,{isLoading:o,color:"primary",size:"md",onClick:a,dataEventCategory:"Care",dataEventAction:e,dataEventLabel:"https://".concat(N.y[m]).concat(V.JpE).concat(f),isDisabled:c,isBlock:h,children:r})})},he=t(858),ge=t(83776),me=t(72936),fe=t.n(me);function ve(){return ve=Object.assign?Object.assign.bind():function(n){for(var e=1;e div,\n & > a > div {\n margin-bottom: 0;\n position: relative;\n & > p[data-size='xs'] {\n color: ",";\n font-weight: 400;\n margin-left: 24px;\n flex: 1;\n justify-content: space-between;\n display: flex;\n align-items: center;\n }\n }\n & > div[data-is-link-collapsed],\n & > a > div[data-is-link-collapsed] {\n width: 40px;\n justify-content: center;\n padding: 8px;\n margin: 4px auto;\n }\n & > div[data-is-link-active='true'],\n & > a > div[data-is-link-active='true'],\n &:hover > div,\n &:hover > a > div {\n background-color: transparent;\n svg path {\n fill: ",";\n }\n p {\n color: ",";\n }\n }\n & > a {\n text-decoration: none;\n }\n\n .arrow {\n position: absolute;\n right: 10px;\n top: 11px;\n path {\n fill: none !important;\n }\n }\n\n .menu-children {\n border-radius: 8px;\n .menu-item {\n width: 100%;\n transition: 0.25s linear all;\n &.active,\n &.active:hover {\n background-color: ",";\n border-radius: 6px;\n }\n\n &:hover {\n // background-color: ",";\n background-color: transparent;\n border-radius: 6px;\n a {\n color: ",";\n }\n }\n }\n a {\n padding: 8px;\n display: flex;\n width: 100%;\n color: ",";\n font-weight: 400;\n font-size: 13px;\n line-height: 20px;\n letter-spacing: -0.3px;\n text-decoration: none;\n padding-left: 54px;\n }\n }\n > a {\n > div {\n padding: 8px !important;\n p {\n font-size: 15px;\n line-height: 24px;\n letter-spacing: -0.3px;\n }\n }\n }\n > div {\n &:has(:not(.menu-children)) {\n padding: 8px !important;\n font-size: 15px;\n p {\n font-size: 15px;\n line-height: 24px;\n letter-spacing: -0.3px;\n }\n }\n &.menu-children {\n padding: 0 !important;\n }\n }\n\n > div > svg,\n > a > div > svg {\n width: 24px;\n height: 24px;\n color: ",";\n }\n\n > div:has(.menu_item--new_tag) > p,\n > a:has(.menu_item--new_tag) > div > p {\n display: flex;\n gap: 8px;\n align-items: center;\n justify-content: flex-start;\n }\n"]);return Fe=function(){return n},n}function Te(){var n=(0,f.A)(["\n padding: 12px 16px;\n margin: 0;\n > div {\n margin: 0;\n }\n & {\n p:first-child {\n color: ",";\n font-weight: 600;\n }\n p:not(:first-child) {\n color: ",";\n font-size: 12px;\n }\n }\n figcaption {\n white-space: unset;\n }\n"]);return Te=function(){return n},n}function Ie(){var n=(0,f.A)(["\n padding: 20px 16px;\n border-bottom: 1px solid #f1f2f4;\n height: 64px;\n display: flex;\n align-items: center;\n .hamburgerMenu {\n cursor: pointer;\n margin-right: 24px;\n }\n &[data-is-collapsed='true'] {\n padding: 20px 12px;\n display: flex;\n justify-content: center;\n .hamburgerMenu {\n margin-right: 0;\n }\n }\n"]);return Ie=function(){return n},n}function ze(){var n=(0,f.A)(["\n position: absolute;\n left: -16px;\n height: 8px;\n border-bottom: 1px solid #f1f2f4;\n //width: 260px;\n"]);return ze=function(){return n},n}function Be(){var n=(0,f.A)(["\n margin-top: 18px;\n margin-bottom: 12px;\n"]);return Be=function(){return n},n}function Pe(){var n=(0,f.A)(["\n margin-top: 12px;\n &[data-is-collapsed='true'] {\n div {\n padding: 8px;\n background-color: white;\n justify-content: center;\n flex-direction: column;\n &::after {\n background-image: none;\n right: -4px !important;\n }\n div {\n padding: 0;\n display: flex;\n justify-content: center;\n }\n }\n svg {\n margin: 0;\n }\n }\n div {\n background-color: white;\n border-radius: 6px;\n }\n span {\n margin-left: 4px;\n }\n"]);return Pe=function(){return n},n}function Oe(){var n=(0,f.A)(["\n padding: 13px 16px 24px;\n flex: 1;\n overflow-y: auto;\n\n &[data-is-collapsed='true'] {\n padding: 13px 12px 24px;\n div:has(.menu-children) {\n .menu-children {\n display: none;\n }\n }\n }\n"]);return Oe=function(){return n},n}var Le,He=v.Ay.div.withConfig({componentId:"sc-46e68f6c-0"})(Fe(),(function(n){return n.theme.colors.gray800}),(function(n){return n.theme.colors.primaryBase}),(function(n){return n.theme.colors.primaryBase}),(function(n){return n.theme.colors.blue50}),(function(n){return n.theme.colors.blue50}),(function(n){return n.theme.colors.primaryBase}),(function(n){return n.theme.colors.secondaryDark}),(function(n){return n.theme.colors.neutral800})),je=v.Ay.div.withConfig({componentId:"sc-46e68f6c-1"})(Te(),(function(n){return n.theme.colors.secondaryDark}),(function(n){return n.theme.colors.gray500})),Re=v.Ay.div.withConfig({componentId:"sc-46e68f6c-2"})(Ie()),Ve=(v.Ay.div.withConfig({componentId:"sc-46e68f6c-3"})(ze()),v.Ay.div.withConfig({componentId:"sc-46e68f6c-4"})(Be())),Ue=v.Ay.div.withConfig({componentId:"sc-46e68f6c-5"})(Pe()),Ge=v.Ay.div.withConfig({componentId:"sc-46e68f6c-6"})(Oe()),qe=t(44523),Ke=t(56791);function We(){return We=Object.assign?Object.assign.bind():function(n){for(var e=1;e :after {\n width: 2px;\n height: 12px;\n background-color: ",";\n }\n"]);return Rt=function(){return n},n}function Vt(){var n=(0,f.A)(["\n display: flex;\n width: 100%;\n align-items: center;\n justify-content: space-between;\n"]);return Vt=function(){return n},n}function Ut(){var n=(0,f.A)(["\n margin-top: 12px;\n"]);return Ut=function(){return n},n}function Gt(){var n=(0,f.A)(["\n margin: 4px 0px;\n color: ",";\n font-size: 14px;\n font-weight: 700;\n line-height: 22px;\n"]);return Gt=function(){return n},n}function qt(){var n=(0,f.A)(["\n margin: 4px 0px;\n color: ",";\n font-size: 14px;\n font-weight: 60px;\n line-height: 22px;\n"]);return qt=function(){return n},n}function Kt(){var n=(0,f.A)(["\n position: absolute;\n top: 92px;\n right: 0;\n width: 82px;\n height: 164px;\n padding-left: 10px;\n"]);return Kt=function(){return n},n}function Wt(){var n=(0,f.A)(["\n display: flex;\n align-items: center;\n margin-top: 13px;\n img {\n margin-right: 16px;\n }\n"]);return Wt=function(){return n},n}function Jt(){var n=(0,f.A)(["\n & {\n .heading {\n font-size: 14px;\n font-weight: 600;\n line-height: 22px;\n }\n .specialty {\n font-size: 12px;\n line-height: 18px;\n }\n }\n"]);return Jt=function(){return n},n}v.Ay.div.withConfig({componentId:"sc-73b76268-0"})(jt(),(function(n){return n.theme.colors.blue50})),v.Ay.div.withConfig({componentId:"sc-73b76268-1"})(Rt(),(function(n){return n.theme.colors.gray800})),v.Ay.div.withConfig({componentId:"sc-73b76268-2"})(Vt()),v.Ay.div.withConfig({componentId:"sc-73b76268-3"})(Ut()),v.Ay.div.withConfig({componentId:"sc-73b76268-4"})(Gt(),(function(n){return n.theme.colors.gray800})),v.Ay.div.withConfig({componentId:"sc-73b76268-5"})(qt(),(function(n){return n.theme.colors.gray500})),v.Ay.div.withConfig({componentId:"sc-73b76268-6"})(Kt()),v.Ay.div.withConfig({componentId:"sc-73b76268-7"})(Wt()),v.Ay.div.withConfig({componentId:"sc-73b76268-8"})(Jt());function Zt(){var n=(0,f.A)(["\n position: relative;\n display: flex;\n width: 100%;\n align-items: center;\n margin-bottom: 24px;\n img {\n margin-right: 16px;\n }\n"]);return Zt=function(){return n},n}function Qt(){var n=(0,f.A)(["\n //padding-left: 14px;\n"]);return Qt=function(){return n},n}function $t(){var n=(0,f.A)(["\n margin-top: 25px;\n .string {\n margin-top: 8px;\n }\n"]);return $t=function(){return n},n}function Xt(){var n=(0,f.A)(["\n display: flex;\n width: 100%;\n"]);return Xt=function(){return n},n}function ni(){var n=(0,f.A)(["\n position: absolute;\n right: 0;\n display: flex;\n align-items: center;\n cursor: pointer;\n"]);return ni=function(){return n},n}v.Ay.div.withConfig({componentId:"sc-b35b16ee-0"})(Zt()),v.Ay.div.withConfig({componentId:"sc-b35b16ee-1"})(Qt()),v.Ay.div.withConfig({componentId:"sc-b35b16ee-2"})($t()),v.Ay.div.withConfig({componentId:"sc-b35b16ee-3"})(Xt()),v.Ay.div.withConfig({componentId:"sc-b35b16ee-4"})(ni()),t(58462);var ei,ti=t(60304),ii=t(98480),ai=t(54093),ri=t(96161),oi=t(16351);function li(){return li=Object.assign?Object.assign.bind():function(n){for(var e=1;e p {\n width: 10%;\n text-align: center;\n }\n\n > div {\n width: 45%;\n }\n }\n"]);return hi=function(){return n},n}function gi(){var n=(0,f.A)(["\n display: flex;\n align-items: center;\n justify-content: space-evenly;\n\n svg {\n cursor: pointer;\n }\n"]);return gi=function(){return n},n}v.Ay.div.withConfig({componentId:"sc-922a83bd-0"})(pi()),v.Ay.div.withConfig({componentId:"sc-922a83bd-1"})(hi()),v.Ay.div.withConfig({componentId:"sc-922a83bd-2"})(gi()),t(84461);function mi(){var n=(0,f.A)(["\n position: relative;\n"]);return mi=function(){return n},n}function fi(){var n=(0,f.A)(["\n display: flex;\n width: 100%;\n height: 100px;\n margin-top: 16px;\n\n "," {\n height: auto;\n flex-wrap: wrap;\n }\n\n .image-wrapper[data-is-error] {\n border: 1px dashed red;\n }\n .image-wrapper {\n position: relative;\n display: flex;\n width: 100%;\n height: 100%;\n align-items: center;\n justify-content: center;\n border: 1px dashed ",";\n border-radius: 4px;\n margin-right: 16px;\n margin-bottom: 16px;\n\n &:last-child {\n margin-right: 0;\n }\n\n .full {\n width: 100%;\n height: 100%;\n border-radius: 4px;\n object-fit: cover;\n object-position: 100% 0;\n }\n .icon {\n position: absolute;\n top: -10px;\n right: -8px;\n width: 20px;\n height: 20px;\n background-color: white;\n border-radius: 50%;\n cursor: pointer;\n text-align: center;\n & svg {\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n }\n }\n .image-uploader {\n width: 100%;\n height: 100%;\n position: relative;\n }\n .image-uploader > input {\n display: none;\n }\n .label {\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n position: absolute;\n cursor: pointer;\n }\n .small {\n position: absolute;\n top: 50%;\n left: 50%;\n width: 30px;\n border-radius: 4px;\n transform: translate(-50%, -50%);\n }\n\n "," {\n width: calc(33.33% - 16px);\n position: relative;\n\n .full,\n .image-uploader {\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n }\n .icon {\n z-index: 1;\n }\n &:before {\n content: '';\n display: block;\n padding-top: 100%;\n }\n }\n }\n"]);return fi=function(){return n},n}function vi(){var n=(0,f.A)(["\n display: flex;\n justify-content: flex-end;\n flex-wrap: wrap;\n align-items: center;\n gap: 15px;\n\n label {\n align-self: flex-end;\n margin-bottom: 3px;\n margin-left: 5px;\n color: ",";\n cursor: pointer;\n font-size: 13px;\n text-decoration: underline;\n\n "," {\n align-self: auto;\n white-space: nowrap;\n }\n }\n\n #file_input_id {\n display: none;\n }\n\n .choose-file {\n display: inline-flex;\n\n "," {\n width: 100%;\n justify-content: space-between;\n\n .label-form {\n margin-top: 0;\n }\n }\n }\n .clear-all {\n display: flex;\n align-items: center;\n cursor: pointer;\n svg {\n width: 1.2em;\n align-self: flex-end;\n }\n\n "," {\n right: 0;\n top: -35px;\n position: absolute;\n\n .label-form {\n margin-top: 0;\n }\n }\n }\n"]);return vi=function(){return n},n}function bi(){var n=(0,f.A)(["\n display: flex;\n & {\n .error {\n margin-top: 4px;\n margin-left: 8px;\n color: ",";\n font-size: 12px;\n }\n }\n"]);return bi=function(){return n},n}var yi=v.Ay.div.withConfig({componentId:"sc-42d688a9-0"})(mi()),ki=v.Ay.div.withConfig({componentId:"sc-42d688a9-1"})(fi(),H.M.mbDown,(function(n){return n.theme.colors.gray200}),H.M.mbDown),xi=v.Ay.div.withConfig({componentId:"sc-42d688a9-2"})(vi(),(function(n){return n.theme.colors.primaryBase}),H.M.mbDown,H.M.mbDown,H.M.mbDown),wi=v.Ay.div.withConfig({componentId:"sc-42d688a9-3"})(bi(),(function(n){return n.theme.colors.red700})),Ai=t(8758),Ci=t(11191),_i=function(n){var e=n.style,t=n.className,r=n.handleChange,o=n.options,l=n.errorValidate,c=(0,vn.A)().formatMessage,s=(0,a.useState)(["","","","",""]),u=s[0],p=s[1],h=(0,a.useState)(["","","","",""]),g=h[0],m=h[1];(0,a.useEffect)((function(){if(null===o||void 0===o?void 0:o.length){var n=(0,d.A)(u);o.forEach((function(e,t){return n[t]=e})),p(n)}}),[o]);var f=function(){var n=(0,he.A)((function(n){var e,t,i,a,o,l;return(0,ge.__generator)(this,(function(c){switch(c.label){case 0:if(t=n.target,!(null===(e=t.files)||void 0===e?void 0:e.length))return[2];i=(0,d.A)(u),a=0,c.label=1;case 1:return aV.qdA?[3,3]:[4,v(t.files[a])]:[3,4];case 2:if(o=c.sent(),-1===(l=i.findIndex((function(n){return""===n}))))return[2];i[l]=o,c.label=3;case 3:return a++,[3,1];case 4:return p(i),r&&r(i),n.target.value="",[2]}}))}));return function(e){return n.apply(this,arguments)}}(),v=function(n){return new Promise((function(e){var t,i=new FileReader;i.readAsDataURL(n),i.onload=function(){t=i.result,e(t)}}))},b=function(){var n=(0,he.A)((function(n,e){var t,i,a,o,l,c;return(0,ge.__generator)(this,(function(s){switch(s.label){case 0:return i=n.target,(null===(t=i.files)||void 0===t?void 0:t.length)?i.files[0].size>V.qdA?((a=(0,d.A)(g))[e]="File size too large",m(a),[2]):((o=(0,d.A)(g))[e]="",m(o),l=(0,d.A)(u),[4,v(i.files[0])]):[2];case 1:return c=s.sent(),l[e]=c,p(l),r&&r(l),n.target.value="",[2]}}))}));return function(e,t){return n.apply(this,arguments)}}();return(0,i.FD)(yi,{children:[(0,i.Y)(ki,{style:e,className:t,children:u.map((function(n,e){return(0,i.Y)("div",{className:"image-wrapper","data-is-error":l,children:n?(0,i.FD)(i.FK,{children:[(0,i.Y)("div",{onClick:function(){return function(n){var e=(0,d.A)(u);e[n]="",p(e),r&&r(e)}(e)},className:"icon",children:(0,i.Y)(Ci.A,{})}),(0,i.Y)("img",{src:n,className:"full"})]}):(0,i.Y)(i.FK,{children:(0,i.FD)("div",{className:"image-uploader",children:[(0,i.Y)("input",{id:"file-input-".concat(e),type:"file",onChange:function(n){b(n,e)}}),(0,i.Y)("label",{htmlFor:"file-input-".concat(e),className:"label",children:(0,i.Y)("img",{src:"".concat(V.JpE,"/svg/imageholder.svg"),className:"small"})})]})})},"img-".concat(e))}))}),(0,i.Y)(wi,{children:g.map((function(n,e){return(0,i.Y)("div",{className:"error",style:{width:"100%"},children:n?(0,i.Y)(i.FK,{children:(0,i.Y)("div",{children:n})}):(0,i.Y)(i.FK,{children:(0,i.Y)("div",{children:""})})},"error-".concat(e))}))}),(0,i.FD)(xi,{children:[(0,i.FD)("div",{className:"choose-file",children:[(0,i.Y)("label",{htmlFor:"file_input_id",children:c({id:"newBranch.chooseFiles",defaultMessage:"Choose files"})}),(0,i.Y)("input",{type:"file",multiple:!0,id:"file_input_id",onChange:function(n){f(n)}})]}),(0,i.FD)("div",{className:"clear-all",onClick:function(){p(["","","","",""]),m(["","","","",""]),r&&r(["","","","",""])},children:[(0,i.Y)(Ai.A,{}),(0,i.Y)(E.T,{size:"p4",color:G.w.colors.gray800,children:c({id:"newBranch.clearAll",defaultMessage:"Clear all"})})]})]}),(0,i.Y)(E.T,{size:"p4",color:G.w.colors.gray500,children:c({id:"newBranch.uploadBanner.guide",defaultMessage:"Desktop size 1200x380px, mobile size 633x380px (Size could be bigger but need to ensure the ratio). Image size < 200Kb.The image should not contain the branch\u2019s phone#, email, website. The image need to have the logo of Hellobacsi & the partner."})})]})};function Mi(){var n=(0,f.A)(["\n position: relative;\n\n > div {\n position: relative;\n }\n span {\n left: 70%;\n display: flex;\n width: 36px;\n align-items: center;\n justify-content: center;\n background: ",";\n border-radius: 32px;\n color: ",";\n font-weight: ",";\n }\n"]);return Mi=function(){return n},n}var Di=v.Ay.div.withConfig({componentId:"sc-f178071e-0"})(Mi(),(function(n){return n.theme.colors.blue50}),(function(n){return n.theme.colors.blue600}),(function(n){return n.theme.sizes.fwBold})),Yi=function(n){var e=n.amount;return(0,i.Y)(Di,{children:(0,i.Y)("div",{children:e&&(0,i.Y)("span",{children:e})})})};function Ei(){var n=(0,f.A)(["\n display: flex;\n flex-direction: column;\n padding: 1rem;\n border: 1px solid ",";\n border-radius: 6px;\n box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.04), 0px 0px 2px rgba(0, 0, 0, 0.06),\n 0px 0px 1px rgba(0, 0, 0, 0.04);\n\n > hr:first-child {\n margin-top: 1rem;\n margin-bottom: 0.5rem;\n }\n\n > hr:last-child {\n margin-top: 0.5rem;\n margin-bottom: 1rem;\n }\n\n button {\n margin-top: 1rem;\n }\n\n "," {\n margin: 16px 0;\n }\n"]);return Ei=function(){return n},n}function Ni(){var n=(0,f.A)(["\n cursor: pointer;\n .price {\n "," {\n width: 100%;\n }\n }\n"]);return Ni=function(){return n},n}function Si(){var n=(0,f.A)(["\n display: flex;\n align-items: center;\n\n > :is(img, svg, picture, figure) {\n max-width: 2.5rem;\n aspect-ratio: 1/1;\n border-radius: 6px;\n object-fit: contain;\n }\n\n gap: 4px;\n"]);return Si=function(){return n},n}function Fi(){var n=(0,f.A)(["\n display: -webkit-box;\n overflow: hidden;\n -webkit-box-orient: vertical;\n -webkit-line-clamp: 3;\n"]);return Fi=function(){return n},n}var Ti,Ii,zi,Bi,Pi;v.Ay.article.withConfig({componentId:"sc-cfeed39b-0"})(Ei(),(function(n){return n.theme.colors.neutral200}),H.M.mbDown),v.Ay.div.withConfig({componentId:"sc-cfeed39b-1"})(Ni(),H.M.tdUp),v.Ay.header.withConfig({componentId:"sc-cfeed39b-2"})(Si()),v.Ay.span.withConfig({componentId:"sc-cfeed39b-3"})(Fi());function Oi(){return Oi=Object.assign?Object.assign.bind():function(n){for(var e=1;e img {\n width: 93px;\n height: 43px;\n object-fit: contain;\n }\n }\n"]);return s=function(){return n},n}var d=l.Ay.ul.withConfig({componentId:"sc-98b7fece-0"})(c()),u=l.Ay.li.withConfig({componentId:"sc-98b7fece-1"})(s(),(function(n){return n.theme.colors.neutral200})),p=function(n){var e=n.insurances,t=n.className,o=n.style,l=n.isName,c=void 0===l||l;return e.length?(0,i.Y)(d,{className:t,style:o,children:e.map((function(n){return(0,i.FD)(u,{children:[(0,i.Y)("div",{className:"insuranceLogo",children:(0,i.Y)("img",{src:n.logo,alt:"Logo of ".concat(n.name)})}),c&&(0,i.Y)(a.T,{size:"base",color:r.w.colors.gray500,type:"bold",children:n.name})]},n.id)}))}):null}},78414:function(n,e,t){"use strict";t.d(e,{v:function(){return d}});var i=t(53513),a=t(63538),r=t(53455),o=t(24537),l=t(2445);function c(){var n=(0,o.A)(["\n width: 24px;\n height: 24px;\n display: flex;\n flex-wrap: wrap;\n padding: 3px;\n cursor: pointer;\n\n span {\n height: 2px;\n width: 18px;\n display: block;\n background-color: ",";\n transition: all 0.3s ease;\n }\n\n &[data-animated='true'] {\n span:first-child {\n transform: translateY(6px) rotate(45deg);\n }\n span:nth-child(2) {\n opacity: 0;\n }\n span:last-child {\n transform: translateY(-6px) rotate(-45deg);\n }\n }\n"]);return c=function(){return n},n}var s=t(27317).Ay.div.withConfig({componentId:"sc-cde33347-0"})(c(),(function(n){return n.theme.colors.gray600})),d=function(n){var e=n.animated,t=(0,r.A)(n,["animated"]);return(0,l.FD)(s,(0,a.A)((0,i.A)({"data-animated":String(e)},t),{children:[(0,l.Y)("span",{}),(0,l.Y)("span",{}),(0,l.Y)("span",{})]}))}},51539:function(n,e,t){"use strict";t.d(e,{E5:function(){return u},hT:function(){return d},ny:function(){return p},ri:function(){return s}});var i=t(24537),a=t(44410),r=t(27317);function o(){var n=(0,i.A)(["\n position: fixed;\n top: 0;\n left: 0px;\n width: 100%;\n z-index: ",";\n display: flex;\n align-items: center;\n height: 64px;\n padding-left: 24px;\n padding-right: 24px;\n background-color: ",";\n border-bottom: 1px solid\n ",";\n\n .hamburger {\n margin-right: 24px;\n }\n\n "," {\n padding-left: 16px;\n padding-right: 16px;\n }\n"]);return o=function(){return n},n}function l(){var n=(0,i.A)(["\n position: fixed;\n z-index: ",";\n top: 0;\n left: 0;\n height: 100%;\n opacity: 0;\n pointer-events: none;\n transition: opacity 0.3s ease;\n\n &[data-opened='true'] {\n opacity: 1;\n overflow-y: hidden;\n pointer-events: auto;\n }\n"]);return l=function(){return n},n}function c(){var n=(0,i.A)(["\n display: block;\n position: fixed;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n background-color: rgba(0, 0, 0, 0.3);\n z-index: ",";\n"]);return c=function(){return n},n}var s=11,d=r.Ay.header.withConfig({componentId:"sc-db42a14d-0"})(o(),s,(function(n){return n.theme.colors.white}),(function(n){return n.theme.colors.neutral100}),a.M.mbDown),u=r.Ay.div.withConfig({componentId:"sc-db42a14d-1"})(l(),200),p=r.Ay.div.withConfig({componentId:"sc-db42a14d-2"})(c(),199)},49758:function(n,e,t){"use strict";t.d(e,{G:function(){return y}});var i=t(2445),a=t(73884),r=t(50970),o=t(35291),l=t(6442),c=t(24537);function s(){var n=(0,c.A)(["\n margin-top: 52px;\n text-align: center;\n"]);return s=function(){return n},n}var d,u,p,h,g,m,f=t(27317).Ay.div.withConfig({componentId:"sc-241afbb4-0"})(s());function v(){return v=Object.assign?Object.assign.bind():function(n){for(var e=1;e0&&(0,o.Y)("div",{className:"errorLabel",children:(0,o.Y)("p",{className:"errorMessage",children:g})})]})}},82118:function(n,e,t){"use strict";t.d(e,{A:function(){return En}});var i=t(858),a=t(81539),r=t(83776),o=t(2445),l=t(73884),c=t(50970),s=t(96816),d=t(60304),u=t(10333),p=t(59850),h=t(84091),g=t(10297),m=t(6442),f=t(36259),v=t(21571),b=t(24537),y=t(27317);function k(){var n=(0,b.A)(["\n display: flex;\n gap: 10px;\n width: 100%;\n .wrapper-icon {\n width: 24px;\n height: 24px;\n display: flex;\n justify-content: center;\n align-items: center;\n border-radius: 50%;\n background-color: ",";\n\n &.danger {\n background-color: ",";\n }\n\n &.success,\n &.warning,\n &.processing {\n background-color: ",";\n }\n }\n\n .wrapper-progress {\n flex: 1;\n }\n"]);return k=function(){return n},n}function x(){var n=(0,b.A)(["\n display: flex;\n gap: 10px;\n\n &.align-center {\n align-items: center;\n }\n\n .right-zone {\n flex: 0 0 30px;\n text-align: right;\n\n &.processing {\n svg {\n pointer-events: none;\n }\n }\n\n svg {\n cursor: pointer;\n }\n }\n\n .left-zone {\n flex: 1;\n }\n"]);return x=function(){return n},n}function w(){var n=(0,b.A)(["\n font-weight: 400;\n font-size: 14px;\n line-height: 22px;\n letter-spacing: -0.2px;\n color: ",";\n\n &.danger {\n color: ",";\n }\n\n &.success,\n &.warning {\n color: ",";\n }\n"]);return w=function(){return n},n}function A(){var n=(0,b.A)(["\n font-size: 12px;\n line-height: 18px;\n color: ",";\n"]);return A=function(){return n},n}var C,_,M=y.Ay.div.withConfig({componentId:"sc-843e4d83-0"})(k(),(function(n){return n.theme.colors.blue50}),(function(n){return n.theme.colors.red50}),(function(n){return n.theme.colors.blue50})),D=y.Ay.div.withConfig({componentId:"sc-843e4d83-1"})(x()),Y=y.Ay.div.withConfig({componentId:"sc-843e4d83-2"})(w(),(function(n){return n.theme.colors.gray800}),(function(n){return n.theme.colors.red800}),(function(n){return n.theme.colors.gray800})),E=y.Ay.div.withConfig({componentId:"sc-843e4d83-3"})(A(),(function(n){return n.theme.colors.gray600})),N=t(51743),S=t(11191);function F(){return F=Object.assign?Object.assign.bind():function(n){for(var e=1;e svg {\n flex: 0 0 20px;\n }\n }\n }\n"]);return R=function(){return n},n}function V(){var n=(0,b.A)(["\n font-size: 14px;\n line-height: 22px;\n letter-spacing: -0.2px;\n color: ",";\n margin-bottom: 20px;\n"]);return V=function(){return n},n}function U(){var n=(0,b.A)(["\n height: 138px;\n border: 1px solid #e4e8ec;\n border-radius: 4px;\n"]);return U=function(){return n},n}function G(){var n=(0,b.A)(["\n height: 100%;\n width: 100%;\n\n #input-file-upload {\n display: none;\n }\n\n label {\n display: flex;\n justify-content: center;\n align-items: center;\n width: 100%;\n height: 100%;\n cursor: pointer;\n }\n"]);return G=function(){return n},n}function q(){var n=(0,b.A)(["\n display: flex;\n justify-content: space-between;\n align-items: center;\n padding: 24px;\n"]);return q=function(){return n},n}function K(){var n=(0,b.A)(["\n line-height: 22px;\n font-size: 14px;\n display: flex;\n align-items: center;\n letter-spacing: -0.2px;\n color: ",";\n display: flex;\n gap: 10px;\n align-items: center;\n cursor: pointer;\n"]);return K=function(){return n},n}function W(){var n=(0,b.A)(["\n text-align: center;\n max-width: 320px;\n"]);return W=function(){return n},n}function J(){var n=(0,b.A)(["\n line-height: 22px;\n font-size: 14px;\n text-align: center;\n letter-spacing: -0.2px;\n color: ",";\n\n .btn-browse {\n color: ",";\n cursor: pointer;\n text-decoration: underline;\n }\n"]);return J=function(){return n},n}function Z(){var n=(0,b.A)(["\n padding: 15px;\n align-items: center;\n width: 100%;\n height: 100%;\n display: flex;\n flex-direction: column;\n justify-content: center;\n\n .loading-import {\n padding: 0;\n }\n"]);return Z=function(){return n},n}function Q(){var n=(0,b.A)(["\n font-size: 14px;\n line-height: 22px;\n cursor: pointer;\n text-align: right;\n letter-spacing: -0.2px;\n color: ",";\n"]);return Q=function(){return n},n}var $,X=y.Ay.div.withConfig({componentId:"sc-4825eb13-0"})(L()),nn=y.Ay.div.withConfig({componentId:"sc-4825eb13-1"})(H(),(function(n){return n.theme.colors.white})),en=y.Ay.div.withConfig({componentId:"sc-4825eb13-2"})(j()),tn=y.Ay.div.withConfig({componentId:"sc-4825eb13-3"})(R(),(function(n){return n.theme.colors.white})),an=y.Ay.div.withConfig({componentId:"sc-4825eb13-4"})(V(),(function(n){return n.theme.colors.gray600})),rn=y.Ay.div.withConfig({componentId:"sc-4825eb13-5"})(U()),on=y.Ay.form.withConfig({componentId:"sc-4825eb13-6"})(G()),ln=y.Ay.div.withConfig({componentId:"sc-4825eb13-7"})(q()),cn=y.Ay.div.withConfig({componentId:"sc-4825eb13-8"})(K(),(function(n){return n.theme.colors.blue600})),sn=y.Ay.div.withConfig({componentId:"sc-4825eb13-9"})(W()),dn=y.Ay.div.withConfig({componentId:"sc-4825eb13-10"})(J(),(function(n){return n.theme.colors.gray600}),(function(n){return n.theme.colors.blue600})),un=y.Ay.div.withConfig({componentId:"sc-4825eb13-11"})(Z()),pn=y.Ay.div.withConfig({componentId:"sc-4825eb13-12"})(Q(),(function(n){return n.theme.colors.blue600})),hn=t(40568),gn=t(3959),mn=function(n,e,t){return new Promise((function(i){var r=new FileReader;r.readAsText(n,"UTF-8"),r.onloadend=function(r){var o="",l=[],c=[];try{var s=(r.target||{}).result;s||(o="File is not valid!");var d=gn.LF(s,{type:"binary"}),u=(0,hn.A)(d.SheetNames,1)[0],p=d.Sheets[u],h=gn.Wp.sheet_to_json(p,{raw:!0,header:1});h.length&&(c=(0,a.A)(h[0].map((function(n){return n.toLowerCase().replace(/[\r\n]/gm,"").trim().split(" ").join("_")}))),h.forEach((function(n,e){0!==e&&l.push(n)}))),0===l.length&&(o="No data to import"),console.log("rows data: ",h),console.log("headerValid: ",e),console.log("headerKeys: ",c),(l.length>t||c.length!==e.length)&&(o="Wrong file format");var g=c.every((function(n,t){return e[t]!==n&&(console.log("** Error column: ",n),console.log("** Error index column: ",t+1)),e[t]===n})),m=l.every((function(n,t){return Array.isArray(n)&&n.length>e.length&&(console.log("** Error row: ",n),console.log("** Error index row: ",t+1)),Array.isArray(n)&&n.length<=e.length}));(!g||!m&&l.length)&&(o="Wrong file format")}catch(f){o="Cannot read this file"}i({file:n,error:o,header:c,data:l})},r.onerror=function(){i({file:n,error:"Cannot read this file",header:[],data:[]})}}))},fn=t(40959);function vn(){return vn=Object.assign?Object.assign.bind():function(n){for(var e=1;e0}),[F,Sn]),Vn=(0,l.useMemo)((function(){return"success"===F||Sn&&0===(null===Sn||void 0===Sn?void 0:Sn.failed)}),[F,Sn]),Un=(0,l.useMemo)((function(){return Sn?Sn.failed+Sn.success:W.length}),[W,Sn]),Gn=(0,l.useMemo)((function(){return Sn?Sn.failed:yn.length}),[yn,Sn]);return(0,l.useEffect)((function(){var n=setInterval((0,i.A)((function(){var e,t,i,a;return(0,r.__generator)(this,(function(r){switch(r.label){case 0:return Mn&&"processing"===F?(t={country_id:zn,hash:Mn},[4,(0,h.W3)((0,h.er)(p.R.GET_ADMIN_IMPORT_STATUS,t),"GET")]):[3,2];case 1:return(i=r.sent())&&-1!==i._status||clearInterval(n),a=null===(e=i._data)||void 0===e?void 0:e["upload-process"],V(a.percent),"processing"!==a.status&&"processed"!==a.status&&(clearInterval(n),T(a.status),Fn(a),q(!1)),"import_success"===a.status&&M({message:_({id:"admin.import.dragAndDrop.label",defaultMessage:"".concat(a.success," the records are saved successfully.")},{records:a.success}),type:"success"}),[3,3];case 2:clearInterval(n),r.label=3;case 3:return[2]}}))})),3e3);return function(){clearInterval(n)}}),[Mn,F]),y?(0,o.Y)(X,{children:(0,o.FD)(nn,{children:[(0,o.FD)(en,{children:[(0,o.Y)(c.T,{type:"bold",size:"base",children:C}),(0,o.Y)("div",{className:"close",onClick:function(){return n=!!F,Hn(),e&&e(),void(n&&D.reload());var n},children:(0,o.Y)(_n.A,{})})]}),(0,o.FD)(tn,{children:[(0,o.Y)(an,{children:_({id:"admin.importDataPopup.description",defaultMessage:"Please upload {recordNumber} records only for one time import. If your file is more than {recordNumber} records please split to multiple files and import multiple times."},{recordNumber:A})}),(0,o.FD)(rn,{children:[!E&&(0,o.FD)(on,{onDragOver:Pn,onDragEnter:Pn,onDrop:Pn,children:[(0,o.Y)("input",{type:"file",id:"input-file-upload",multiple:!1,accept:fn.zv1,onChange:On}),(0,o.Y)("label",{htmlFor:"input-file-upload",children:(0,o.FD)(sn,{children:[(0,o.Y)(Dn,{}),(0,o.Y)(dn,{children:_({id:"admin.import.dragAndDrop",defaultMessage:"Drag and drop to upload data file (*.csv) or browse file from your computer"})})]})})]}),E&&(0,o.FD)(un,{children:[(0,o.Y)(O,{fileName:null===L||void 0===L?void 0:L.name,size:null===L||void 0===L?void 0:L.size,percent:R,status:z||F,statusImport:F,onRemove:Hn}),"processing"===F&&(0,o.Y)(s.L,{className:"loading-import"})]})]}),(0,o.FD)("div",{className:"wrapper-message",children:["success"===z&&(0,o.Y)(d.A,{closeIcon:(0,o.Y)(o.FK,{}),contentIcon:(0,o.Y)(An.A,{}),text:_({id:"admin.import.masterData.success",defaultMessage:"File is uploaded successfully. Please hit button Import below to continue the process."}),type:"success"}),"danger"===z&&(0,o.Y)(d.A,{closeIcon:(0,o.Y)(o.FK,{}),contentIcon:(0,o.Y)(Cn.A,{}),text:_({id:"admin.import.masterData.wrongFormat",defaultMessage:"Wrong file format"}),type:"danger"}),Rn&&(0,o.Y)(d.A,{contentIcon:(0,o.Y)(Yn.A,{}),closeIcon:(0,o.Y)(pn,{children:_({id:"admin.download.import.list",defaultMessage:"Download the list"})}),text:_({id:"admin.import.masterData.status",defaultMessage:"".concat(Gn,"/").concat(Un," records can not be loaded")},{recordsError:Gn,recordsTotal:Un}),type:"warning",onClose:function(){if(!Sn){var n=(0,a.A)(yn);return n.unshift(["Line"].concat((0,a.A)(Q),["Message Error","Status import"])),void(0,v.zW)(n,"Error rows import")}Sn.result&&(0,v.nQ)("https://cdn-healthcare.hellohealthgroup.com".concat(Sn.result))}}),Vn&&(0,o.Y)(d.A,{closeIcon:(0,o.Y)(o.FK,{}),contentIcon:(0,o.Y)(An.A,{}),text:_({id:"admin.import.message.success",defaultMessage:"File is imported successfully."}),type:"success"})]})]}),(0,o.FD)(ln,{children:[(0,o.FD)(cn,{onClick:function(){k&&(0,v.nQ)(k)},children:[(0,o.Y)(wn,{}),_({id:"common.download.template",defaultMessage:"Download template"})]}),(0,o.Y)(u.B,{size:"md",onClick:jn,isLoading:G,disabled:"success"!==z&&"processing"!==F,children:_("success"!==z&&"processing"!==F?{id:"admin.upload.upload",defaultMessage:"Upload"}:{id:"admin.import.import",defaultMessage:"Import"})})]})]})}):null}},40224:function(n,e,t){"use strict";t.d(e,{A:function(){return w}});var i=t(2445),a=(t(73884),t(50970)),r=t(10333),o=t(6442),l=t(24537),c=t(27317);function s(){var n=(0,l.A)(["\n position: fixed;\n z-index: 500;\n top: 0;\n left: 0;\n display: flex;\n width: 100%;\n height: var(--app-height);\n justify-content: flex-end;\n background: rgba(38, 38, 38, 0.3);\n"]);return s=function(){return n},n}function d(){var n=(0,l.A)(["\n position: absolute;\n left: 50%;\n top: 50%;\n width: 500px;\n transform: translate(-50%, -50%);\n margin-right: 0;\n background: ",";\n box-shadow: -16px 16px 32px rgba(67, 86, 100, 0.165947);\n border-radius: 8px;\n\n @media (max-width: 768px) {\n width: 90%;\n max-width: 500px;\n }\n\n .close {\n position: absolute;\n top: 12px;\n right: 16px;\n cursor: pointer;\n }\n"]);return d=function(){return n},n}function u(){var n=(0,l.A)(["\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n padding: 16px 24px;\n"]);return u=function(){return n},n}function p(){var n=(0,l.A)(["\n position: relative;\n display: flex;\n flex-direction: column;\n justify-content: flex-start;\n padding: 0 24px;\n background: ",";\n\n & {\n .heading {\n margin-top: 24px;\n }\n }\n"]);return p=function(){return n},n}function h(){var n=(0,l.A)(["\n font-size: 14px;\n line-height: 22px;\n letter-spacing: -0.2px;\n color: ",";\n"]);return h=function(){return n},n}function g(){var n=(0,l.A)(["\n display: flex;\n justify-content: flex-end;\n align-items: center;\n padding: 15px 24px 24px;\n gap: 15px;\n"]);return g=function(){return n},n}var m=c.Ay.div.withConfig({componentId:"sc-d2f87818-0"})(s()),f=c.Ay.div.withConfig({componentId:"sc-d2f87818-1"})(d(),(function(n){return n.theme.colors.white})),v=c.Ay.div.withConfig({componentId:"sc-d2f87818-2"})(u()),b=c.Ay.div.withConfig({componentId:"sc-d2f87818-3"})(p(),(function(n){return n.theme.colors.white})),y=c.Ay.div.withConfig({componentId:"sc-d2f87818-4"})(h(),(function(n){return n.theme.colors.gray600})),k=c.Ay.div.withConfig({componentId:"sc-d2f87818-5"})(g()),x=t(8758),w=function(n){var e=n.open,t=void 0!==e&&e,l=n.message,c=n.handleOnClose,s=n.handleOnOk,d=(0,o.A)().formatMessage;return t?(0,i.Y)(m,{children:(0,i.FD)(f,{children:[(0,i.FD)(v,{children:[(0,i.Y)(a.T,{type:"bold",size:"base",children:d({id:"popup.campaign.friso.title",defaultMessage:"Campaign Friso message"})}),(0,i.Y)("div",{className:"close",onClick:c,children:(0,i.Y)(x.A,{})})]}),(0,i.Y)(b,{children:(0,i.Y)(y,{children:l})}),(0,i.Y)(k,{children:(0,i.Y)(r.B,{size:"md",type:"button",color:"primary",onClick:function(){return s&&s()},children:d({id:"admin.users.ok",defaultMessage:"OK"})})})]})}):null}},47055:function(n,e,t){"use strict";var i=t(73884),a=t(6442);e.A=function(){var n=(0,a.A)().formatMessage,e=(0,i.useState)(""),t=e[0],r=e[1];return{message:t,updateMessage:function(e){var t,i="";if(e.valid)return i=n({id:"message.campaign.friso.valid",defaultMessage:"Your phone number is eligible to join the campaign Friso, please note that the expired date is {expired_date}. Hit OK to continue your booking."},{expired_date:(null===(t=e.loyalty)||void 0===t?void 0:t.expired_date)||""}),void r(i);switch(e.invalidreason){case 1:var a,o,l,c;if(null===(a=e.loyalty)||void 0===a?void 0:a.completed)i=n({id:"message.campaign.friso.invalid.reason1.completed",defaultMessage:"Sorry, your phone number is expired in the campaign Friso. Expired date is {expired_date}. In addition, this phone number has also been used for appointment scheduling {booking_datetime}. Please contact to Customer Service - phone number 02871096118 for more information."},{expired_date:(null===(o=e.loyalty)||void 0===o?void 0:o.expired_date)||"",booking_datetime:(null===(l=e.loyalty)||void 0===l?void 0:l.booking_datetime)||""});else i=n({id:"message.campaign.friso.invalid.reason1.incompleted",defaultMessage:"Sorry, your phone number is expired in the campaign Friso. Expired date is {expired_date}. Please contact to Customer Service - phone number 02871096118 for more information."},{expired_date:(null===(c=e.loyalty)||void 0===c?void 0:c.expired_date)||""});break;case 2:i=n({id:"message.campaign.friso.invalid.reason2",defaultMessage:"Sorry, your phone number is already used in the booking & cancel booking for 03 times. Please contact to Customer Service - phone number 02871096118 for more information."});break;case 3:var s;i=n({id:"message.campaign.friso.invalid.reason3",defaultMessage:"Sorry, your phone number is already used in a booking with the doctor (booking status = upcoming). Booking date/time is {booking_datetime}. Please contact to Customer Service - phone number 02871096118 for more information."},{booking_datetime:(null===(s=e.loyalty)||void 0===s?void 0:s.booking_datetime)||""});break;case 4:var d;i=n({id:"message.campaign.friso.invalid.reason4",defaultMessage:"Sorry, your phone number is already used in a booking with the doctor (booking status = completed). Booking date/time is {booking_datetime}. Please contact to Customer Service - phone number 02871096118."},{booking_datetime:(null===(d=e.loyalty)||void 0===d?void 0:d.booking_datetime)||""});break;case 5:i=n({id:"message.campaign.friso.invalid.reason5",defaultMessage:"Sorry, your phone number is not eligible in the campaign Friso. You can try to log-out & log-in by another phone# or please contact to Customer Service - phone number 02871096118 for more information."});break;default:i=""}r(i)}}}},40630:function(n,e,t){"use strict";t.d(e,{A:function(){return N}});var i=t(2445),a=t(73884),r=t(50970),o=t(6442),l=t(58065),c=t(24537),s=t(10333),d=t(27317);function u(){var n=(0,c.A)(["\n bottom: 0;\n top: 0;\n position: absolute;\n z-index: 99;\n left: 0;\n display: flex;\n width: 100%;\n height: var(--app-height);\n justify-content: flex-end;\n"]);return u=function(){return n},n}function p(){var n=(0,c.A)(["\n position: absolute;\n left: 50%;\n top: 50%;\n width: 95%;\n transform: translate(-50%, -50%);\n margin-right: 0;\n background: ",";\n box-shadow: -16px 16px 32px rgba(67, 86, 100, 0.165947);\n border-radius: 8px;\n"]);return p=function(){return n},n}function h(){var n=(0,c.A)(["\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: space-between;\n padding: 16px;\n gap: 10px;\n\n .title {\n display: flex;\n align-items: center;\n gap: 10px;\n }\n\n .close {\n cursor: pointer;\n }\n"]);return h=function(){return n},n}function g(){var n=(0,c.A)(["\n position: relative;\n display: flex;\n flex-direction: column;\n justify-content: flex-start;\n padding: 0 16px;\n background: ",";\n\n & {\n .heading {\n margin-top: 24px;\n }\n }\n"]);return g=function(){return n},n}function m(){var n=(0,c.A)(["\n font-size: 14px;\n line-height: 22px;\n letter-spacing: -0.2px;\n color: ",";\n\n span {\n cursor: pointer;\n color: ",";\n line-height: 22px;\n text-decoration-line: underline;\n }\n"]);return m=function(){return n},n}function f(){var n=(0,c.A)(["\n display: flex;\n justify-content: space-between;\n align-items: center;\n padding: 16px;\n gap: 10px;\n\n button {\n border-radius: 4px;\n border: 1px solid ",";\n padding: 5px 12px;\n }\n"]);return f=function(){return n},n}function v(){var n=(0,c.A)(["\n &[data-color='primary'] {\n border-radius: 4px;\n border: 1px solid ",";\n padding: 5px 12px;\n background-color: ",";\n color: ",";\n font-weight: 600;\n\n &:hover {\n background-color: "," !important;\n }\n\n &.btn-user-profile {\n border: 1px solid ",";\n color: ",";\n }\n }\n"]);return v=function(){return n},n}var b,y,k=d.Ay.div.withConfig({componentId:"sc-b9693b02-0"})(u()),x=d.Ay.div.withConfig({componentId:"sc-b9693b02-1"})(p(),(function(n){return n.theme.colors.white})),w=d.Ay.div.withConfig({componentId:"sc-b9693b02-2"})(h()),A=d.Ay.div.withConfig({componentId:"sc-b9693b02-3"})(g(),(function(n){return n.theme.colors.white})),C=d.Ay.div.withConfig({componentId:"sc-b9693b02-4"})(m(),(function(n){return n.theme.colors.gray600}),(function(n){return n.theme.colors.blue600})),_=d.Ay.div.withConfig({componentId:"sc-b9693b02-5"})(f(),(function(n){return n.theme.colors.neutral200})),M=(0,d.Ay)(s.B).withConfig({componentId:"sc-b9693b02-6"})(v(),(function(n){return n.theme.colors.neutral200}),(function(n){return n.theme.colors.white}),(function(n){return n.theme.colors.gray800}),(function(n){return n.theme.colors.white}),(function(n){return n.theme.colors.blue600}),(function(n){return n.theme.colors.blue600})),D=t(8758);function Y(){return Y=Object.assign?Object.assign.bind():function(n){for(var e=1;eUser Profile in order to receive all the booking confirmation email. Thank you!",tagName:"p",values:{span:function(n){return(0,i.Y)("span",{onClick:d,children:n})}}})})}),(0,i.FD)(_,{children:[(0,i.Y)(M,{size:"sm",type:"button",onClick:a,children:s({id:"bookingCard.continueBooking",defaultMessage:"Continue Booking"})}),(0,i.Y)(M,{size:"sm",type:"button",className:"btn-user-profile",onClick:d,children:s({id:"bookingCard.goToUserProfile",defaultMessage:"Go to User Profile"})})]})]})}):null}},71584:function(n,e,t){"use strict";t.d(e,{S:function(){return b}});var i=t(38971),a=t(2445),r=t(50970),o=t(35291),l=t(14677),c=t(84091),s=t(10297),d=t(6442),u=t(58065),p=t(24537),h=t(44410);function g(){var n=(0,p.A)(["\n display: flex;\n align-items: center;\n margin-top: 4px;\n gap: 8px;\n flex-wrap: wrap;\n\n &[data-is-has-promotion='true'] {\n .servicePrice {\n color: ",";\n text-decoration: line-through;\n }\n }\n\n .price-wrapper {\n svg {\n flex: 0 0 16px;\n margin-top: 3px;\n\n "," {\n margin-top: 0;\n }\n }\n .price {\n color: ",";\n }\n }\n"]);return g=function(){return n},n}var m=t(27317).Ay.div.withConfig({componentId:"sc-b7b31f9f-0"})(g(),(function(n){return n.theme.colors.gray800}),h.M.mbDown,(function(n){return n.theme.colors.green700})),f=t(40959),v=t(22657),b=function(n){var e,t=n.price,p=n.priceType,h=n.priceTo,g=n.promotion,b=n.className,y=n.frisoCampaign,k=n.originalPrice,x=(0,d.A)().formatMessage,w=(0,s.useRouter)().locale,A=(e={},(0,i.A)(e,f.vne.FIXED,x({id:"admin.doctor.servicePrice.fixed",defaultMessage:"Fixed Price"})),(0,i.A)(e,f.vne.STARTING,x({id:"admin.doctor.servicePrice.start",defaultMessage:"Starting from"})),(0,i.A)(e,f.vne.RANGE,x({id:"admin.doctor.servicePrice.range",defaultMessage:"Range"})),e),C=function(n,e){return p===f.vne.RANGE&&e?"".concat((0,c.UN)(n,w),"\n "," - ").concat((0,c.UN)(e,w)):"".concat((0,c.UN)(n,w))};return(0,a.FD)(m,{className:b,"data-is-has-promotion":!!g,children:[(0,a.FD)(l.s,{gap:4,className:"price-wrapper",children:[(0,a.Y)(v.A,{}),(0,a.Y)(r.T,{size:"p4",color:o.w.colors.gray600,children:y?(0,a.Y)(u.A,{id:"admin.doctor.serviceFirsoPrice.fixed",defaultMessage:"Fixed Price {price}",tagName:"p",values:{span:function(){return(0,a.Y)("span",{className:"price",children:C(t,h||"")})},price:C(t,h||"")}}):A[p]})]}),!y&&(0,a.Y)(r.T,{size:"p4",color:k?o.w.colors.red700:o.w.colors.green700,className:"servicePrice !font-semibold !text-[18px]",children:C(t,h||"")}),k&&(0,a.Y)(r.T,{size:"p4",color:o.w.colors.gray600,className:"servicePrice !text-[14px] !line-through",children:(0,c.UN)(k,w)}),!!g&&(0,a.Y)(r.T,{size:"p4",color:o.w.colors.green700,children:C(Number(t)*(1-g/100),Number(h)*(1-g/100)||"")})]})}},51743:function(n,e,t){"use strict";t.d(e,{z:function(){return p}});var i=t(2445),a=t(24537),r=t(27317);function o(){var n=(0,a.A)(["\n border-radius: 100px;\n position: relative;\n height: 4px;\n overflow: hidden;\n"]);return o=function(){return n},n}function l(){var n=(0,a.A)(["\n width: 100%;\n height: 100%;\n background: #ffb521;\n opacity: 0.15;\n\n &.wraning,\n &.success,\n &.danger,\n &.processing {\n background: #e4e8ec;\n opacity: 1;\n }\n"]);return l=function(){return n},n}function c(){var n=(0,a.A)(["\n position: absolute;\n top: 0;\n left: 0;\n background: #ffb521;\n height: 100%;\n border-radius: 100px;\n\n &.wraning {\n background: #ffb521;\n }\n\n &.success,\n &.processing,\n &.import_success {\n background: ",";\n }\n\n &.danger {\n background: ",";\n }\n"]);return c=function(){return n},n}var s=r.Ay.div.withConfig({componentId:"sc-3d6d901d-0"})(o()),d=r.Ay.div.withConfig({componentId:"sc-3d6d901d-1"})(l()),u=r.Ay.div.withConfig({componentId:"sc-3d6d901d-2"})(c(),(function(n){return n.theme.colors.blue600}),(function(n){return n.theme.colors.red800})),p=function(n){var e=n.percent,t=n.className,a=n.status;return(0,i.FD)(s,{className:t,children:[(0,i.Y)(d,{className:a}),(0,i.Y)(u,{style:{width:"".concat(e,"%")},className:a})]})}},3184:function(n,e,t){"use strict";t.d(e,{k:function(){return f}});var i=t(2445),a=t(32876),r=t.n(a),o=t(6442),l=t(24537),c=t(27317);function s(){var n=(0,l.A)(["\n display: flex;\n height: fit-content;\n align-items: center;\n gap: 2px;\n"]);return s=function(){return n},n}function d(){var n=(0,l.A)(["\n display: flex;\n align-items: center;\n padding: 1px 8px;\n background-color: ",";\n border-radius: 32px;\n gap: 4px;\n p {\n font-size: 14px;\n font-weight: 600;\n line-height: 22px;\n }\n"]);return d=function(){return n},n}function u(){var n=(0,l.A)(["\n color: ",";\n font-size: 14px;\n font-weight: 400;\n line-height: 22px;\n cursor: pointer;\n text-decoration: underline !important;\n"]);return u=function(){return n},n}var p=c.Ay.div.withConfig({componentId:"sc-78a33fb6-0"})(s()),h=c.Ay.div.withConfig({componentId:"sc-78a33fb6-1"})(d(),(function(n){return n.theme.colors.neutral50})),g=c.Ay.a.withConfig({componentId:"sc-78a33fb6-2"})(u(),(function(n){return n.theme.colors.gray600})),m=t(75295),f=function(n){var e=n.ratingPoint,t=n.ratingScale,a=n.reviewCounting,l=n.className,c=n.reviewsUrl,s=(0,o.A)().formatMessage,d=null===e||void 0===e?void 0:e.toFixed(1),u=t?"".concat(d,"/").concat(t):d;return(0,i.FD)(p,{className:l,children:[!!e&&(0,i.FD)(h,{children:[(0,i.Y)(m.A,{}),(0,i.Y)("p",{children:"".concat(u)})]}),!!a&&(0,i.Y)(r(),{href:c||"#",children:(0,i.Y)(g,{children:s({id:"common.reviewCount",defaultMessage:"{reviewCount} reviews"},{reviewCount:a})})})]})}},54238:function(n,e,t){"use strict";t.d(e,{a:function(){return H}});var i=t(2445),a=t(73884),r=t(50970),o=t(57077),l=t(35291),c=t(27516),s=t(84091),d=t(76672),u=t(88491),p=t(73419),h=t(40959),g=t(32876),m=t.n(g),f=t(6442),v=t(24537),b=t(27317),y=t(81539);function k(){var n=(0,v.A)(["\n @media (min-width: ","px) {\n ",";\n }\n "]);return k=function(){return n},n}var x=768,w=function(){for(var n=arguments.length,e=new Array(n),t=0;t p:first-child {\n margin-bottom: 8px;\n }\n\n .Location {\n > * {\n display: inline-block;\n vertical-align: middle;\n }\n\n svg {\n margin: 6px;\n\n &:first-child {\n margin-left: 0px;\n }\n }\n\n span {\n color: $gray-500;\n }\n }\n\n .directionButton {\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: left;\n }\n"]);return M=function(){return n},n}function D(){var n=(0,v.A)(["\n display: flex;\n width: 100%;\n flex-direction: column;\n align-items: flex-start;\n justify-content: flex-start;\n"]);return D=function(){return n},n}function Y(){var n=(0,v.A)(["\n margin: 8px 0;\n gap: 26px;\n\n .call {\n width: 55px;\n margin-left: 6px;\n }\n\n .price {\n display: flex;\n align-items: center;\n gap: 8px;\n font-size: 14px;\n line-height: 22px;\n color: ",";\n > svg {\n width: 16px;\n height: 16px;\n }\n }\n\n .booking {\n display: flex;\n width: 100%;\n flex-direction: row;\n align-items: left;\n justify-content: space-between;\n gap: 8px;\n\n .button {\n display: inline-block;\n width: 100%;\n }\n }\n\n .ctaButton {\n padding: 10px 10px;\n }\n\n .phoneButton {\n position: relative;\n display: block;\n background: none;\n color: $gray-800;\n font-size: 16px;\n font-weight: $fw-bold;\n line-height: 24px;\n\n &::before {\n position: absolute;\n top: 50%;\n left: -22px;\n display: inline-block;\n width: 17px;\n height: 18px;\n margin-right: 6px;\n background-image: url(\"data:image/svg+xml,%3Csvg width='17' height='17' viewBox='0 0 17 17' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M6.73835 10.6191C4.92101 8.66086 4.05558 7.52351 5.65612 6.41801C7.07138 5.44039 7.35193 4.57287 6.02862 2.60429C4.80596 0.785613 4.31309 0.349235 2.83199 1.81058C-0.318838 4.91964 0.617252 8.16021 4.59895 12.4505C8.58064 16.7408 11.848 18.0296 15.3468 15.2957C16.9917 14.0107 16.5955 13.489 14.8602 12.1208C12.9823 10.6397 12.0669 10.823 10.9234 12.0936C9.63051 13.5305 8.55541 12.5771 6.73833 10.6191L6.73835 10.6191Z' fill='%23262626'/%3E%3C/svg%3E%0A\");\n background-repeat: no-repeat;\n content: '';\n transform: translateY(-50%);\n }\n }\n"]);return Y=function(){return n},n}function E(){var n=(0,v.A)(["\n flex-direction: column;\n align-items: flex-start;\n "]);return E=function(){return n},n}function N(){var n=(0,v.A)(["\n display: flex;\n width: 100%;\n align-items: center;\n padding-bottom: 8px;\n /* margin-top: 14px; */\n .service-image {\n display: flex;\n margin-right: 16px;\n\n > img {\n border-radius: 6px;\n object-fit: contain;\n }\n }\n\n .service-info {\n display: flex;\n align-items: center;\n\n ","\n .service-tracking {\n cursor: pointer;\n [data-event-category] > * {\n pointer-events: none;\n }\n }\n }\n"]);return N=function(){return n},n}function S(){var n=(0,v.A)(["\n position: absolute;\n top: 16px;\n right: 16px;\n justify-content: flex-end;\n"]);return S=function(){return n},n}b.Ay.div.withConfig({componentId:"sc-4acc0154-0"})(C()),b.Ay.div.withConfig({componentId:"sc-4acc0154-1"})(_()),b.Ay.div.withConfig({componentId:"sc-4acc0154-2"})(M());var F,T=b.Ay.div.withConfig({componentId:"sc-4acc0154-3"})(D()),I=b.Ay.div.withConfig({componentId:"sc-4acc0154-4"})(Y(),(function(n){return n.theme.colors.gray600})),z=b.Ay.div.withConfig({componentId:"sc-4acc0154-5"})(N(),w(E())),B=(0,b.Ay)(A.k).withConfig({componentId:"sc-4acc0154-6"})(S()),P=t(74834);function O(){return O=Object.assign?Object.assign.bind():function(n){for(var e=1;e .red {\n width: fit-content;\n background-color: ",";\n }\n & > .yellow {\n width: fit-content;\n background-color: ",";\n }\n & > .green {\n width: fit-content;\n background-color: ",";\n }\n & > .blue {\n width: fit-content;\n background-color: ",";\n }\n & > .purple {\n width: fit-content;\n background-color: ",";\n }\n"]);return c=function(){return n},n}var s=t(27317).Ay.div.withConfig({componentId:"sc-1f86ba63-0"})(c(),(function(n){return n.theme.colors.red100}),(function(n){return n.theme.colors.yellow100}),(function(n){return n.theme.colors.green100}),(function(n){return n.theme.colors.blue100}),(function(n){return n.theme.colors.violet50})),d=function(n){var e,t,l=n.role,c=n.className,d=(0,o.A)().formatMessage,u={admin:{title:d({id:"admin.users.hhgAdmin",defaultMessage:"HHG Admin"}),color:"red"},super:{title:d({id:"admin.users.hhgSuper",defaultMessage:"HHG Super Admin"}),color:"red"},facility:{title:d({id:"admin.users.organizationManager",defaultMessage:"Organization Manager"}),color:"yellow"},branch:{title:d({id:"admin.users.branchManager",defaultMessage:"Branch Manager"}),color:"green"},doctor:{title:d({id:"admin.doctors.doctor",defaultMessage:"Doctor"}),color:"blue"},senior_branch:{title:d({id:"admin.users.seniorBranchManager",defaultMessage:"Senior Branch Manager"}),color:"purple"}};return(0,i.Y)(s,{className:c,children:(0,i.Y)(a.T,{className:null===(e=u[l])||void 0===e?void 0:e.color,isSquared:!0,children:(0,i.Y)("span",{style:{color:r.w.colors.gray800,fontSize:"14px"},children:null===(t=u[l])||void 0===t?void 0:t.title})})})}},18698:function(n,e,t){"use strict";t.d(e,{v:function(){return h},Y:function(){return g}});var i,a,r,o,l,c,s=t(73884);function d(){return d=Object.assign?Object.assign.bind():function(n){for(var e=1;e svg {\n overflow: visible;\n cursor: pointer;\n &:first-of-type {\n margin-right: 8px;\n transform: rotate(180deg);\n }\n &[data-is-first-week='true'],\n &[data-is-last-week='true'] {\n opacity: 0.3;\n pointer-events: none;\n }\n }\n }\n & {\n .week_display {\n min-width: 200px;\n margin-right: 6px;\n font-size: 14px;\n }\n }\n\n .edit-btn {\n color: ",";\n margin-right: 10px;\n }\n"]);return rn=function(){return n},n}function on(){var n=(0,h.A)(["\n position: relative;\n display: table;\n width: 100%;\n height: 100%;\n box-sizing: border-box;\n .timeline {\n display: table-cell;\n width: 60px;\n vertical-align: top;\n\n "," {\n width: 45px;\n }\n\n .day-column {\n width: 60px;\n min-width: 0;\n\n "," {\n width: 45px;\n }\n }\n .empty-title {\n height: 60px;\n border-width: 1px 0px 1px 1px;\n "," {\n height: 56px;\n }\n }\n }\n .day-column {\n min-width: 150px;\n flex: 1 1 auto;\n border-collapse: collapse;\n border: 0.1px solid ",";\n\n min-width: 14.28%;\n width: 14.28%;\n &:last-child {\n border-right: 1px solid #f1f2f4;\n }\n .date {\n font-size: 14px;\n line-height: 22px;\n text-overflow: ellipsis;\n overflow: hidden;\n }\n }\n\n .day-hours {\n position: relative;\n display: flex;\n flex-direction: column;\n }\n\n .cell {\n display: flex;\n flex: 1 1 60px;\n align-items: flex-start;\n justify-content: flex-start;\n &:last-child {\n border-bottom: 1px solid #f1f2f4;\n }\n }\n .calendar {\n display: flex;\n /* border: 0.1px solid ","; */\n border-collapse: collapse;\n text-align: center;\n "," {\n &.sticky {\n z-index: 1;\n top: 64px;\n position: sticky;\n background-color: ",";\n }\n }\n }\n .heading {\n min-height: 60px;\n border: 1px solid #f1f2f4;\n border-width: 1px 0px 1px 1px;\n "," {\n min-height: 56px;\n &:last-child {\n border-right-width: 1px;\n }\n }\n .heading-wrap {\n height: 100%;\n display: flex;\n flex-wrap: wrap;\n align-items: center;\n padding: 4px 0;\n }\n }\n .calendar_overlay {\n position: absolute;\n top: 0;\n left: 0;\n display: flex;\n width: 100%;\n height: 100%;\n border-collapse: collapse;\n text-align: center;\n }\n\n "," {\n .sticky {\n position: sticky;\n z-index: 8;\n top: 312px;\n background-color: white;\n }\n\n &[data-is-in-schedule='true'] {\n .sticky {\n top: 136px;\n }\n }\n }\n\n #currentTime {\n z-index: 7;\n display: flex;\n }\n #currentTime::before {\n position: absolute;\n top: -5px;\n left: -5px;\n display: inline-block;\n width: 12px;\n height: 12px;\n background-color: #2d87f3;\n border-radius: 50%;\n content: '';\n }\n #currentTime::after {\n position: absolute;\n top: -5px;\n right: -5px;\n display: inline-block;\n width: 12px;\n height: 12px;\n background-color: #2d87f3;\n border-radius: 50%;\n content: '';\n }\n"]);return on=function(){return n},n}function ln(){var n=(0,h.A)(["\n z-index: 10;\n min-width: 186px;\n margin-right: 16px;\n\n "," {\n flex: 1;\n }\n\n .time {\n input {\n height: 40px;\n }\n }\n"]);return ln=function(){return n},n}function cn(){var n=(0,h.A)(["\n position: relative;\n display: flex;\n justify-content: flex-end;\n & > img {\n position: absolute;\n top: -32px;\n right: 12px;\n cursor: pointer;\n }\n"]);return cn=function(){return n},n}function sn(){var n=(0,h.A)(["\n margin-top: -16px;\n padding-top: 16px;\n background-color: ",";\n padding-bottom: 16px;\n\n "," {\n position: sticky;\n z-index: 10;\n top: 238px;\n &[data-is-in-schedule='true'] {\n top: 64px;\n }\n }\n\n "," {\n padding-left: 16px;\n padding-right: 16px;\n }\n"]);return sn=function(){return n},n}function dn(){var n=(0,h.A)(["\n /* z-index: 1; */\n\n top: ","px;\n height: ","px;\n position: absolute;\n width: 100%;\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n background-color: ",";\n\n &[data-appointment-type] {\n &::before {\n content: '';\n position: absolute;\n left: 2px;\n width: 3px;\n height: ","px;\n }\n\n &[data-is-first='true'] {\n &::before {\n margin-top: 4px;\n height: ","px;\n border-top-right-radius: 2px;\n border-top-left-radius: 2px;\n }\n }\n &[data-is-last='true'] {\n &::before {\n height: ","px;\n border-bottom-right-radius: 2px;\n border-bottom-left-radius: 2px;\n }\n }\n }\n\n &[data-appointment-type='","'] {\n &::before {\n background-color: ",";\n }\n }\n &[data-appointment-type='","'] {\n &::before {\n background-color: ",";\n }\n }\n &[data-appointment-type='","'] {\n &::before {\n background-color: ",";\n }\n }\n\n &:not([data-appointment-type='","']) {\n &:hover {\n cursor: pointer;\n outline: 1px solid ",";\n background-color: white;\n }\n\n &.hide-action-schedule {\n &:hover {\n outline: none;\n background-color: ",";\n pointer-events: none;\n }\n }\n }\n\n &[data-type='schedules'] {\n &:hover {\n cursor: pointer;\n outline: 1px solid ",";\n background-color: white;\n }\n\n &.hide-action-schedule {\n &:hover {\n outline: none;\n background-color: ",";\n pointer-events: none;\n }\n }\n }\n\n .add-new {\n width: 100%;\n height: 100%;\n display: flex;\n justify-content: center;\n align-items: center;\n gap: 4px;\n svg {\n width: 16px;\n }\n }\n\n .schedule {\n height: 100%;\n display: flex;\n justify-content: space-between;\n align-items: center;\n padding: 0 6px;\n }\n"]);return dn=function(){return n},n}function un(){var n=(0,h.A)(["\n width: 100%;\n height: 100%;\n display: flex;\n justify-content: center;\n align-items: center;\n\n .remove-unavailable {\n background-color: white;\n }\n\n svg > path {\n stroke: ",";\n width: 16px;\n height: 16px;\n }\n div {\n width: 100%;\n height: 100%;\n display: flex;\n justify-content: center;\n flex-direction: row;\n align-items: center;\n gap: 4px;\n }\n ul {\n margin: 1px 0;\n min-width: 100px;\n width: 100%;\n }\n"]);return un=function(){return n},n}function pn(){var n=(0,h.A)(["\n display: flex;\n flex-direction: row;\n justify-content: center;\n align-items: center;\n padding: 9px 12px 9px 16px;\n gap: 8px;\n width: max-content;\n height: 42px;\n\n color: ",";\n background-color: ",";\n border-radius: 4px;\n\n font-weight: 700;\n font-size: 14px;\n line-height: 22px;\n svg > path {\n stroke: ",";\n width: 18px;\n height: 18px;\n }\n"]);return pn=function(){return n},n}function hn(){var n=(0,h.A)(["\n width: 100%;\n height: 100%;\n display: flex;\n align-items: center;\n justify-content: space-between;\n cursor: pointer;\n padding: 2px 6px 0 6px;\n\n .dayoff {\n display: flex;\n align-items: center;\n justify-content: center;\n gap: 4px;\n border-radius: 4px;\n background-color: ",";\n width: fit-content;\n padding: 0 2px;\n margin-bottom: 4px;\n }\n svg {\n width: 16px;\n "," {\n display: none;\n }\n }\n .remove {\n path {\n stroke: ",";\n }\n }\n .bin {\n path {\n stroke: ",";\n }\n }\n .off {\n margin-top: 4px;\n }\n"]);return hn=function(){return n},n}function gn(){var n=(0,h.A)(["\n position: absolute;\n opacity: ",";\n top: ","px;\n height: ","px;\n max-height: ","px;\n font-size: ",";\n width: 100%;\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n cursor: pointer;\n overflow: hidden;\n background: repeating-linear-gradient(\n -45deg,\n ",",\n "," 1px,\n white 0,\n white 3px\n );\n\n &:hover {\n cursor: pointer;\n background: ",";\n }\n .off {\n /* height: 100%; */\n margin-top: 4px;\n }\n"]);return gn=function(){return n},n}var mn=g.Ay.div.withConfig({componentId:"sc-2069c75a-0"})(an()),fn=g.Ay.div.withConfig({componentId:"sc-2069c75a-1"})(rn(),W.M.mbDown,(function(n){return n.theme.colors.primaryBase})),vn=g.Ay.div.withConfig({componentId:"sc-2069c75a-2"})(on(),W.M.tdDown,W.M.tdDown,W.M.mbDown,(function(n){return n.theme.colors.neutral100}),(function(n){return n.theme.colors.neutral100}),W.M.mbDown,(function(n){return n.theme.colors.white}),W.M.mbDown,W.M.tdUp),bn=g.Ay.div.withConfig({componentId:"sc-2069c75a-3"})(ln(),W.M.mbDown),yn=g.Ay.div.withConfig({componentId:"sc-2069c75a-4"})(cn()),kn=g.Ay.header.withConfig({componentId:"sc-2069c75a-5"})(sn(),(function(n){return n.theme.colors.white}),W.M.tdUp,W.M.mbDown),xn=g.Ay.div.withConfig({componentId:"sc-2069c75a-6"})(dn(),(function(n){return n.top}),(function(n){return n.height}),(function(n){return n.theme.colors.green50}),(function(n){return n.height}),(function(n){return n.height-4}),(function(n){return n.height-4}),L.foO.BOTH,(function(n){return n.theme.colors.green700}),L.foO.OUTPATIENT,(function(n){return n.theme.colors.primaryBase}),L.foO.TELEMEDICINE,(function(n){return n.theme.colors.yellow900}),L.foO.TELEMEDICINE,(function(n){return n.theme.colors.neutral100}),(function(n){return n.theme.colors.green50}),(function(n){return n.theme.colors.neutral100}),(function(n){return n.theme.colors.green50})),wn=g.Ay.div.withConfig({componentId:"sc-2069c75a-7"})(un(),(function(n){return n.theme.colors.primaryBase})),An=g.Ay.div.withConfig({componentId:"sc-2069c75a-8"})(pn(),(function(n){return n.theme.colors.white}),(function(n){return n.theme.colors.primaryBase}),(function(n){return n.theme.colors.white})),Cn=g.Ay.div.withConfig({componentId:"sc-2069c75a-9"})(hn(),(function(n){return n.theme.colors.violet50}),W.M.mbDown,(function(n){return n.theme.colors.violet600}),(function(n){return n.theme.colors.gray600})),_n=g.Ay.div.attrs((function(n){return{difference:n.difference||1,height:n.height||15,visible:n.visible||1}})).withConfig({componentId:"sc-2069c75a-10"})(gn(),(function(n){return n.visible}),(function(n){return 2*n.difference}),(function(n){return 2*n.height}),(function(n){return 2*n.height}),(function(n){return n.height<=20?"12px":"inherit"}),(function(n){return n.theme.colors.violet50}),(function(n){return n.theme.colors.violet50}),(function(n){return n.theme.colors.violet50})),Mn=t(8859),Dn=t(90206),Yn=function(n){return+n.split(":")[0]},En=function(n){return+n.split(":")[1]},Nn=function(n){var e=n.schedule,t=n.currentDate,i=n.onClickAdd,a=n.isFirst,r=n.isLast,c=n.isEdit,s=n.onEdit,d=n.type,h=n.disableActionSchedule,g=void 0!==h&&h,m=n.onSetUnavailable,f=(0,U.A)().formatMessage,v=Number(e.appointment_type),b=(0,l.useState)(),y=b[0],k=b[1],x=new Date,w=x.getFullYear(),A=x.getMonth(),C=x.getDate(),_=(0,B.A)(new Date(w,A,C,Yn(e.started),En(e.started),0),new Date(w,A,C,0,0,0)),M=(0,B.A)(new Date(w,A,C,Yn(e.ended),En(e.ended),0),new Date(w,A,C,Yn(e.started),En(e.started),0)),D=(0,l.useMemo)((function(){return[{value:"appointment",name:f({id:"admin.schedule.create.appointment",defaultMessage:"Appointment"}),action:function(){return i(e,t)}},{value:"unavailable",name:f({id:"admin.schedule.create.setUnavailable",defaultMessage:"Set unavailable"}),action:function(){return null===m||void 0===m?void 0:m(e,t)}}]}),[f]);return(0,l.useEffect)((function(){"schedules"!==d||c||k(void 0)}),[c]),(0,o.FD)(xn,{top:2*_,height:2*M,className:"cell schedule ".concat(g?"hide-action-schedule":""),onMouseEnter:function(){"schedules"===d?v===L.foO.TELEMEDICINE?k("set-unavailable"):k("full"):v!==L.foO.TELEMEDICINE&&k("appointment")},onMouseLeave:function(){k(void 0)},onClick:function(){g||("schedules"===d?v===L.foO.TELEMEDICINE?null===m||void 0===m||m(e,t):null===s||void 0===s||s(e.schedule_id):v!==L.foO.TELEMEDICINE&&i(e,t))},"data-appointment-type":v,"data-is-first":a,"data-is-last":r,"data-type":d,children:[!g&&"full"===y&&(0,o.Y)(wn,{children:(0,o.Y)(q.r,{data:D,button:(0,o.FD)("div",{children:[(0,o.Y)(u.T,{size:"n1",type:"semiBold",color:p.w.colors.primaryBase,children:f({id:"admin.booking.addNew",defaultMessage:"Add new"})}),(0,o.Y)(Mn.A,{})]})})}),!g&&"set-unavailable"===y&&(0,o.Y)(wn,{children:(0,o.Y)(u.T,{size:"n1",type:"semiBold",color:p.w.colors.gray600,children:f({id:"admin.schedule.create.setUnavailable",defaultMessage:"Set unavailable"})})}),!g&&"appointment"===y&&(0,o.FD)("div",{className:"add-new",children:[(0,o.Y)(Dn.A,{width:"16px",height:"16px"}),(0,o.Y)(u.T,{size:"n1",type:"semiBold",color:p.w.colors.primaryBase,children:f({id:"admin.booking.addNew",defaultMessage:"Add new"})})]})]})},Sn=t(66e3),Fn=t(1032),Tn=function(n){var e=n.unavailable,t=n.onRemoveUnavailable,i=n.visible,a=void 0===i||i,r=(0,U.A)().formatMessage,c="00:00"===e.started&&"24:00"===e.ended,s=(0,Q.A)("".concat(e.date," ").concat(e.started)||"","yyyy-MM-dd HH:mm",new Date),d=(0,Q.A)("".concat(e.date," ").concat("24:00"===e.ended?"23:59":e.ended)||"","yyyy-MM-dd HH:mm",new Date),h=s.getFullYear(),g=s.getMonth(),m=s.getDate(),f=(0,B.A)(s,new Date(h,g,m,0,0,0)),v=(0,B.A)(d,s),b=(0,l.useState)(!1),y=b[0],k=b[1];return(0,o.Y)(_n,{visible:a?1:0,difference:f,height:v,id:"js-booking-".concat(e.id),"data-is-day-off":c,onMouseEnter:function(){k(!0)},onMouseLeave:function(){k(!1)},onClick:function(){return null===t||void 0===t?void 0:t(e)},children:y&&(0,o.FD)(Cn,{style:{alignItems:"flex-start",padding:"14px 6px 0 6px"},children:[(0,o.FD)("div",{className:"dayoff",children:[(0,o.Y)(Sn.A,{className:"remove"}),(0,o.Y)(u.T,{size:"n1",type:"semiBold",color:p.w.colors.violet600,children:r({id:"admin.schedule.create.remove",defaultMessage:"Unavailable"})})]}),(0,o.Y)(Fn.A,{className:"bin off"})]})})},In=t(64889),zn={Mon:"day.Mon",Tue:"day.Tue",Wed:"day.Wed",Thu:"day.Thu",Fri:"day.Fri",Sat:"day.Sat",Sun:"day.Sun"};function Bn(n){return n.getBoundingClientRect().top+(window.scrollY||document.documentElement.scrollTop)}function Pn(n,e){var t=document.querySelector(n),i=window.outerHeight||document.documentElement.clientHeight||document.body.clientHeight;t&&(e?window.scrollTo({top:Bn(t)-i/2,left:0,behavior:"smooth"}):t.scrollIntoView({behavior:"smooth",block:"center",inline:"center"}))}var On=function(n,e){for(var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:30,i=[],a=n;a<=e;a++)for(var o=0;o<60;o+=t){var l=a<10?"0"+a:a,c=0===o?o+"0":o,s=l+":"+c;i=(0,r.A)(i).concat([s])}return i},Ln=function(n){return(0,O.B)(Hn,n)},Hn=function(n){var e=n.eventObject,t=n.scheduleObject,h=n.onClickDetailBooking,g=n.onAddAppointment,m=n.addNewAppointment,f=n.scrollCalendarId,v=n.initDisplayDate,b=void 0===v?new Date:v,y=n.isInSchedule,k=void 0!==y&&y,x=n.type,w=n.isChoosingAction,A=n.setIsChoosingAction,C=n.addUnavailable,_=n.addUnavailableOnSchedule,O=n.onRemoveUnavailable,R=n.fetchEventObject,K=n.unavailableSchedules,W=n.disableActionSchedule,J=void 0!==W&&W,Z=(0,l.useContext)(G.B).state.userInfo,Q=(0,U.A)().formatMessage,$=(0,H.useRouter)().locale,X=(0,P.d)().isMobileOrTablet,nn=new Date,en=(0,l.useState)(!1),an=en[0],rn=en[1],on=(0,l.useState)(b),ln=on[0],cn=on[1],sn=(0,l.useState)({availability:!0,past:!0,upcoming:!0,telemed:!0}),dn=sn[0],un=sn[1],pn=(0,D.A)(ln,{weekStartsOn:1});(0,l.useEffect)((function(){return rn(!0)}),[]);var hn=function(n){var e,t=(0,F.A)(n);return!!(K&&(null===(e=K[t])||void 0===e?void 0:e.every((function(n){return"00:00"===n.started&&"24:00"===n.ended}))))},gn=function(){setTimeout((function(){Pn('[id*="js-booking-"]',X)}),100)},xn=(0,l.useMemo)((function(){return[{value:"appointment",name:Q({id:"admin.schedule.create.appointment",defaultMessage:"Appointment"}),action:m},{value:"unavailable",name:Q({id:"admin.schedule.create.setUnavailable",defaultMessage:"Set unavailable"}),action:C}]}),[Q]),wn=function(n){var e=(0,F.A)(n);if(void 0!==K&&K.hasOwnProperty(e))return(0,o.Y)("div",{children:K[e].map((function(n){return(0,o.Y)(Tn,{unavailable:n,onRemoveUnavailable:O},n.id)}))})},_n=function(n,e){var t=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],i=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],a=!(arguments.length>4&&void 0!==arguments[4])||arguments[4];if(!t){var r=(0,I.A)(n);if(r)return null}var l=(0,F.A)(n);if(void 0!==e&&e.hasOwnProperty(l))return(0,o.Y)("div",{children:e[l].map((function(n){var e=!0;return(i||n.appointmentType!==L.YYr.INPATIENT_HOSPITAL)&&(a||n.appointmentType!==L.YYr.VIDEO_CALL)||(e=!1),(0,o.Y)(tn,{booking:n,onClickDetailBooking:h,visible:e},n.id)}))})},Dn=function(n,e){var t=(0,F.A)(n);if(void 0!==e&&e.hasOwnProperty(t))return(0,o.Y)("div",{children:e[t].map((function(i,a){var r,l=Boolean((null===(r=e[t][a-1])||void 0===r?void 0:r.appointment_type)&&e[t][a-1].appointment_type!==i.appointment_type),c=Boolean(!e[t][a+1]||e[t][a+1].appointment_type!==i.appointment_type);return(0,o.Y)(Nn,{isFirst:l,isLast:c,schedule:i,onClickAdd:g,onSetUnavailable:_,currentDate:n,isEdit:w===i.schedule_id,onEdit:A,type:x,disableActionSchedule:J},i.schedule_id)}))})},Yn=function(n){var e=(0,z.A)(n);if(an&&e){var t=new Date,i=t.getDate(),a=t.getMonth(),r=t.getFullYear(),l=(0,B.A)(t,new Date(r,a,i,0,0,0));return(0,o.Y)("div",{style:{position:"absolute",top:2*l,height:"2px",backgroundColor:"#2D87F3",width:"100%"},id:"currentTime"})}return null},En=function(n){var e=Q({id:zn[(0,N.A)((0,S.A)(pn,n),"ccc")],defaultMessage:"Day"});return"vi-VN"===$?X?e.split(" ").map((function(n){return n[0].toUpperCase()})).join(""):e:X?e[0]:e};return(0,l.useEffect)((function(){var n=setTimeout((function(){Pn("#"+(f?"js-booking-".concat(f):"currentTime"),X)}),100);return function(){return clearTimeout(n)}}),[f,X]),(0,o.FD)(mn,{children:[(0,o.Y)(kn,{"data-is-in-schedule":k,children:(0,o.FD)(fn,{children:[(0,o.FD)("div",{className:"d-flex",children:[(0,o.FD)(bn,{children:[(0,o.Y)(c.I,{autoComplete:"off",name:"date",placeholder:"",type:"text",size:"sm",value:function(n){if((0,Y.A)(n,(0,D.A)(new Date,{weekStartsOn:1})))return Q({id:"admin.schedule.thisWeek",defaultMessage:"This week"});var e=(0,E.A)(n,{weekStartsOn:1});return"".concat((0,N.A)(n,"MMM dd")," - ").concat((0,N.A)(e,"MMM dd yyyy"))}(pn),className:"time"}),(0,o.Y)(s.D,{pickedDate:function(n){for(var e=(0,E.A)(pn,{weekStartsOn:1}),t=[],i=n;i<=e;)t.push(new Date(i)),i=(0,S.A)(i,1);return t}(pn),customInput:function(n){return(0,o.Y)(yn,{onClick:n.onClick,children:(0,o.Y)("img",{src:"".concat(L.JpE,"/images/chevron-down.svg")})})},className:"Selectable",onChange:function(n){cn(n),gn(),R&&R(n)},locale:$})]}),(0,o.FD)("div",{className:"skip-buttons",children:[(0,o.Y)(V,{onClick:function(){cn((0,T.A)(ln,7)),gn(),R&&R((0,T.A)(ln,7))},role:"button"}),(0,o.Y)(V,{onClick:function(){cn((0,S.A)(ln,7)),gn(),R&&R((0,S.A)(ln,7))},role:"button"})]})]}),(0,o.FD)("div",{className:"d-flex sp-mt-10",children:[(0,o.FD)("div",{className:"d-flex-center",children:[(0,o.Y)(M,{label:"Telemedicine",name:"telemed",id:"telemed",color:"orange",checked:dn.telemed,onChange:function(){return un((0,a.A)((0,i.A)({},dn),{telemed:!dn.telemed}))}}),(0,o.Y)(M,{label:"Outpatient",name:"upcoming",id:"upcoming",color:"blue",checked:dn.upcoming,onChange:function(){return un((0,a.A)((0,i.A)({},dn),{upcoming:!dn.upcoming}))}}),(0,o.Y)(M,{label:Q({id:"admin.booking.availability",defaultMessage:"Availability"}),name:"checkbox",id:"availability",color:"green",checked:dn.availability,onChange:function(){return un((0,a.A)((0,i.A)({},dn),{availability:!dn.availability}))}}),(0,o.Y)(M,{label:Q({id:"admin.booking.past",defaultMessage:"Past"}),name:"checkbox",id:"past",color:"grey",checked:dn.past,onChange:function(){return un((0,a.A)((0,i.A)({},dn),{past:!dn.past}))}})]}),"doctor"===(null===Z||void 0===Z?void 0:Z.role)&&(0,o.Y)(d.B,{onClick:function(){return j().push("/admin/schedule/edit")},color:"transparent",size:"md",icon:(0,o.Y)(In.A,{}),className:"edit-btn",children:Q({id:"admin.doctors.editSchedule",defaultMessage:"Edit Schedule"})}),!J&&!X&&(0,o.Y)(o.FK,{children:"schedules"===x?(0,o.Y)(q.r,{data:xn,button:(0,o.FD)(An,{children:[Q({id:"admin.schedule.create.title",defaultMessage:"Create"})," ",(0,o.Y)(Mn.A,{})]})}):(0,o.FD)(d.B,{color:"primary",size:"md",onClick:m,children:["+"," ",Q({id:"admin.booking.addAnAppointment",defaultMessage:"Add an appointment"})]})})]})]})}),(0,o.FD)(vn,{"data-is-in-schedule":k,children:[(0,o.Y)("div",{className:"timeline",children:(0,o.FD)("div",{className:"day-column",children:[(0,o.Y)("div",{className:"empty-title",children:(0,o.FD)("div",{style:{visibility:"hidden"},className:"date",children:[" ","Empty Cell"]})}),(0,o.Y)("div",{className:"day-hours",children:On(0,23).map((function(n,e){return(0,o.Y)("div",{className:"cell",style:{position:"relative",borderLeft:"1px solid #F1F2F4"},children:(0,o.Y)("span",{style:{fontSize:"13px",paddingLeft:5},children:e%2!==0?"":n})},"header-".concat(e))}))})]})}),(0,o.Y)("div",{className:"calendar sticky",children:(0,r.A)(Array(7)).map((function(n,e){return(0,o.Y)("div",{className:"day-column heading",style:{backgroundColor:(0,F.A)(nn)===(0,F.A)((0,S.A)(pn,e))?"#E3F2FF":""},children:(0,o.FD)("div",{className:"heading-wrap",children:[(0,o.Y)("div",{className:"w-full font-bold date",children:En(e)}),hn((0,S.A)(pn,e))?(0,o.Y)(Cn,{onClick:function(){var n=(0,F.A)((0,S.A)(pn,e)),t=K&&K[n];t&&(null===O||void 0===O||O(t[0]))},style:{justifyContent:"center",alignItems:"flex-start"},children:(0,o.FD)("div",{className:"dayoff",children:[(0,o.Y)(Sn.A,{className:"remove"}),(0,o.Y)(u.T,{size:"n1",color:p.w.colors.violet600,children:(0,N.A)((0,S.A)(pn,e),X?"dd/MM":"dd/MM/yyyy")}),(0,o.Y)(Fn.A,{className:"bin"})]})}):(0,o.Y)("div",{style:{color:"#737373"},className:"w-full date",children:(0,N.A)((0,S.A)(pn,e),X?"dd/MM":"dd/MM/yyyy")})]})},"day-title-".concat(e+1))}))}),(0,o.FD)("div",{style:{position:"relative"},children:[(0,o.Y)("div",{className:"calendar",children:(0,r.A)(Array(7)).map((function(n,e){return(0,o.Y)("div",{className:"day-column",style:{borderLeft:"1px solid #F1F2F4"},children:(0,o.Y)("div",{className:"day-hours",children:On(0,23,30).map((function(n,e){return(0,o.Y)("div",{id:"empty-cell-".concat(e),className:"cell",style:{borderBottom:e%2===0?"1px dashed #E6E7EC":"1px solid #E6E7EC"}},"empty-cell-".concat(e))}))})},"day-".concat(e+1))}))}),(0,o.Y)("div",{className:"calendar_overlay",children:(0,r.A)(Array(7)).map((function(n,i){return(0,o.Y)("div",{className:"day-column",children:(0,o.FD)("div",{className:"day-hours",children:[dn.availability&&Dn((0,S.A)(pn,i),t),_n((0,S.A)(pn,i),e,dn.past,dn.upcoming,dn.telemed),wn((0,S.A)(pn,i)),Yn((0,S.A)(pn,i))]})},"day-event-".concat(i+1))}))})]})]})]})}},55544:function(n,e,t){"use strict";t.d(e,{b:function(){return C}});var i=t(2445),a=t(73884),r=t(26273),o=t(13034),l=t(53513),c=t(63538),s=t(71572),d=t(67722),u=t(24537),p=t(10333),h=t(44410);function g(){var n=(0,u.A)(["\n &.mantine-Button-root {\n border-radius: 12px;\n padding-right: 8px;\n padding-left: 8px;\n\n "," {\n padding: 11px 20px;\n }\n }\n .mantine-Button-label {\n & > div {\n transform: translateX(0px); //* Fix fluctuate icon on ios mobile\n }\n }\n\n &.secondary {\n border-color: ",";\n\n .mantine-Text-root {\n display: none;\n }\n }\n"]);return g=function(){return n},n}var m,f,v,b=(0,t(27317).Ay)(p.B).withConfig({componentId:"sc-51bcfa2-0"})(g(),h.M.mbUp,(function(n){return n.theme.colors.gray200}));function y(){return y=Object.assign?Object.assign.bind():function(n){for(var e=1;e2&&_(),function(){_.cancel()}}),[f,_]);var M=(0,o.useMemo)((function(){var n=new RegExp("(".concat(f,")"),"gi");return y.map((function(e){return{label:e.label.replace(n,"$1"),value:e.value}}))}),[y,f]),D=(0,o.useMemo)((function(){return f.length>2?"No Results":"Search for an article"}),[f]),Y=(0,u.A)().formatMessage;return(0,r.Y)(g,{children:(0,r.Y)(m.U1,{id:"search-article",onChange:function(n,t){n&&e(n),t&&v(String(t))},options:M.filter((function(n){return!(null===p||void 0===p?void 0:p.find((function(e){return e.value===n.value})))})),placeholder:Y({id:"admin.articlePicker.placeholder",defaultMessage:"Search for articles"}),isLoading:w,disabled:s,customPlaceHolder:D,useInnerHTML:!0})})}},2787:function(n,e,t){"use strict";t.d(e,{KT:function(){return h},QX:function(){return g}});var i=t(40959),a=function(n){var e=n.year,t=n.isUnder;return void 0!==t&&t?365*e-1:365*e},r=a({year:1,isUnder:!0}),o=a({year:1}),l=a({year:10,isUnder:!0}),c=a({year:10}),s=a({year:18,isUnder:!0}),d=a({year:18}),u=a({year:50,isUnder:!0}),p=a({year:50}),h={"":[null,null],infant:[1,r],child:[o,l],teen:[c,s],adult:[d,u],senior:[p,a({year:200,isUnder:!0})]},g=[{key:"",age_badges:{},logo:"".concat(i.JpE,"/images/age-filter/age-all.png"),title:{id:"page.list.filter.ageGroup.all",defaultMessage:"All"}},{key:"adult",age_badges:{min_age:d,max_age:u},logo:"".concat(i.JpE,"/images/age-filter/age-adult.png"),title:{id:"page.list.filter.ageGroup.adult",defaultMessage:"Adults"}},{key:"teen",age_badges:{min_age:c,max_age:s},logo:"".concat(i.JpE,"/images/age-filter/age-teen.png"),title:{id:"page.list.filter.ageGroup.teen",defaultMessage:"Teenagers"}},{key:"child",age_badges:{min_age:o,max_age:l},logo:"".concat(i.JpE,"/images/age-filter/age-children.png"),title:{id:"page.list.filter.ageGroup.child",defaultMessage:"Children"}},{key:"infant",age_badges:{max_age:r},logo:"".concat(i.JpE,"/images/age-filter/age-infant.png"),title:{id:"page.list.filter.ageGroup.infant",defaultMessage:"Infants"}},{key:"senior",age_badges:{min_age:p},logo:"".concat(i.JpE,"/images/age-filter/age-senior.png"),title:{id:"page.list.filter.ageGroup.senior",defaultMessage:"Seniors"}}]},68289:function(n,e,t){"use strict";t.d(e,{E4:function(){return h},UL:function(){return p},XD:function(){return g},Zr:function(){return d},og:function(){return u},wY:function(){return s}});var i=t(74029),a=t(59850),r=t(66298),o=t(1806),l=t(45351),c=t(40959),s={doctorTele:a.R.GET_TELEMEDICINE_DOCTOR_SCHEDULE,doctor:a.R.GET_DOCTOR_SCHEDULE,service:a.R.GET_HOSPITAL_SERVICE_SCHEDULE},d=function(n){return n?n.charAt(0).toUpperCase()+n.slice(1):""},u=function(n,e){return d((0,r.A)(n,c.vwd,{locale:l.tV[e]}))},p=function(n,e){try{return(0,o.A)(n.workingDay).getTime()-(0,o.A)(e.workingDay).getTime()}catch(t){return 0}},h=function(n,e){var t=[];return"doctor"===n||"doctorTele"===n?t=(0,i.GE)(e._data.schedules):"service"===n&&(t=(0,i.kT)(e._data.schedules)),t},g=function(n,e,t){for(var i=0,a=new Date(n);a<=e;a.setDate(a.getDate()+1))t(a,i),i++}},75072:function(n,e,t){"use strict";t.d(e,{X:function(){return f}});var i=t(53513),a=t(63538),r=t(40568),o=t(81539),l=t(73884),c=t(84091),s=t(93165),d=t(66298),u=t(81810),p=t(1806),h=t(21447),g=t(68289),m=t(40959);function f(n){var e=n.type,t=n.infoId,f=n.maxDays,v=void 0===f?10:f,b=n.bufferTime,y=void 0===b?0:b,k=(0,l.useState)(!0),x=k[0],w=k[1],A=(0,l.useState)([]),C=A[0],_=A[1],M=(0,l.useState)((function(){return new Date})),D=M[0],Y=M[1],E=(0,l.useState)([]),N=E[0],S=E[1],F=(0,l.useState)((function(){return new Date})),T=F[0],I=F[1],z=(0,l.useState)(null),B=z[0],P=z[1];(0,l.useEffect)((function(){if(D){var n=D,e=(0,s.A)(D,{days:v-1});S([n,e])}}),[D,e]),(0,l.useEffect)((function(){var n=(0,r.A)(N,2),l=n[0],s=n[1];l&&s&&(w(!0),(0,c.px)((0,c.er)(g.wY[e],{id:t,startDate:(0,d.A)(l,m.cuM),endDate:(0,d.A)(s,m.cuM)}),"GET").then((function(n){var t;if(null===n||void 0===n||null===(t=n._data)||void 0===t?void 0:t.schedules){var r=(0,g.E4)(e,n);(0,g.XD)(l,s,(function(n){r.find((function(e){return(0,u.A)(n,(0,p.A)(e.workingDay))}))||(r=(0,o.A)(r).concat([(0,a.A)((0,i.A)({},r[0]||{}),{workingDay:(0,d.A)(n,m.cuM),workingTimes:{afternoon:[],morning:[]}})]))}));var c=r.sort(g.UL),f=c.map((function(n){if(!y)return n;var e=n.workingDay,t=n.workingTimes,r={},o=0;return Object.keys(t).forEach((function(n){var i=t[n],a=(null===i||void 0===i?void 0:i.filter((function(n){var t=new Date("".concat(e," ").concat(n.started)),i=new Date,a=m.PcP*y;return t.getTime()>i.getTime()+a})))||[];r[n]=a,o+=a.length})),(0,a.A)((0,i.A)({},n),{slots:o,workingTimes:r})}));if(_(f),(0,h.A)(D)){var v=c.findIndex((function(n){var e,t,i;return(null===(e=n.workingTimes.morning)||void 0===e?void 0:e.length)||(null===(t=n.workingTimes.afternoon)||void 0===t?void 0:t.length)||(null===(i=n.workingTimes.evening)||void 0===i?void 0:i.length)}));-1!==v&&P((0,p.A)(c[v].workingDay))}}})).finally((function(){return w(!1)})))}),[N[0],N[1]]);return{schedules:C,chosenDate:T,firstDayHasSlot:B,setChosenDate:I,loading:x,pickerSelected:D,setPickerSelected:Y,onChangePicker:function(n){I(n),Y(n)},rangeDaysPicked:N}}},41211:function(n,e,t){"use strict";t.d(e,{m:function(){return N}});var i,a,r,o,l=t(2445),c=t(32485),s=t.n(c),d=t(38971),u=t(26273),p=JSON.parse('{"VACCINE":{"hpv":{"subtype":"Virus HPV","subtypeEng":"HPV","title":"

Lindungi Diri dengan Vaksin HPV: Bukan Sekadar Untuk Wanita

","description":"

Ramai rakyat Malaysia sering bertanya, \u201cvaksin HPV untuk apa sebenarnya?\u201d. Walaupun sering dikaitkan dengan pencegahan kanser serviks dalam kalangan wanita, kepentingan vaksin HPV (Human Papillomavirus) sebenarnya jauh lebih luas. Di Malaysia, program vaksinasi HPV telah diperkenalkan di sekolah-sekolah untuk pelajar perempuan Tingkatan 1, namun kesedaran untuk golongan dewasa dan lelaki masih perlu ditingkatkan. HPV adalah virus yang sangat mudah berjangkit melalui sentuhan kulit ke kulit, dan ia merupakan punca utama bagi ketuat kelamin serta pelbagai jenis kanser termasuk kanser dubur dan tekak.

\\n

Mengapa anda perlu mendapatkan vaksin ini sekarang? Bagi wanita, kanser serviks adalah antara pembunuh senyap yang paling digeruni. Dengan mendapatkan dos lengkap, anda membina perisai awal sebelum terdedah kepada jangkitan. Bagi lelaki pula, vaksinasi membantu mencegah penyebaran virus kepada pasangan serta melindungi diri daripada risiko kanser berkaitan HPV.

\\n

Di Hello Doktor, kami memahami bahawa kos dan akses mungkin menjadi kebimbangan anda. Melalui platform kami, anda boleh mencari fasiliti yang menawarkan pelbagai jenis vaksin HPV, termasuk yang merangkumi lebih banyak strain virus (seperti 9-valent). Jangan tunggu sehingga simptom muncul kerana jangkitan HPV sering kali tidak menunjukkan tanda awal.

\\n

Kelebihan menempah melalui Hello Doktor:

\\n
    \\n
  • Akses kepada klinik swasta dan hospital pakar yang mempunyai stok vaksin terkini.
  • \\n
  • Konsultasi mengenai jadual dos (sama ada 2 atau 3 dos mengikut umur).
  • \\n
  • Persekitaran yang selamat dan profesional untuk perbincangan kesihatan seksual.
  • \\n
\\n

Melabur dalam vaksin HPV adalah pelaburan untuk masa depan yang bebas daripada kebimbangan kanser. Tempah slot anda di Hello Doktor hari ini untuk perlindungan jangka panjang.

"},"diphtheria":{"subtype":"Difteri","subtypeEng":"Diphtheria","title":"

Ancaman Difteri: Kepentingan Dos Booster Untuk Semua Peringkat Umur

","description":"

Difteri mungkin kedengaran seperti penyakit zaman dahulu, namun hakikatnya, kes difteri masih berlaku di Malaysia dan boleh membawa maut jika tidak dicegah. Difteri adalah jangkitan bakteria serius yang menyerang selaput hidung dan tekak. Ia dikenali dengan kehadiran lapisan kelabu tebal di belakang tekak yang boleh menyukarkan pernafasan dan proses menelan. Lebih menakutkan, toksin yang dihasilkan oleh bakteria ini boleh merosakkan jantung dan saraf.

\\n

Walaupun kebanyakan kita telah menerima vaksin ini semasa bayi menerusi program imunisasi kebangsaan (selalunya dalam bentuk vaksin 5-dalam-1 atau 6-dalam-1), perlindungan tersebut boleh berkurangan mengikut peredaran masa. Inilah sebabnya mengapa dos penggalak atau booster sangat disarankan, terutamanya bagi individu yang sering melancong atau bekerja di kawasan sesak. Bagi ibu bapa, memastikan anak-anak melengkapkan jadual vaksinasi mereka adalah tanggungjawab utama bagi mengelakkan penularan dalam komuniti.

\\n

Melalui Hello Doktor, kami memudahkan anda untuk memeriksa status imunisasi keluarga dan menempah slot vaksinasi difteri yang selalunya digabungkan dengan Tetanus dan Pertusis (Tdap).

\\n

Kenapa pilih Hello Doktor?

\\n
    \\n
  • Maklumat telus mengenai kepentingan dos penggalak bagi dewasa.
  • \\n
  • Rangkaian klinik yang menyediakan vaksin kombinasi untuk keselesaan anda (kurang suntikan, lebih perlindungan).
  • \\n
  • Peringatan automatik untuk jadual vaksinasi anak anda.
  • \\n
\\n

Jangan ambil mudah terhadap jangkitan yang boleh dicegah. Pastikan sistem imun anda dan keluarga sentiasa bersedia menghadapi ancaman bakteria difteri. Buat tempahan perkhidmatan vaksinasi anda di Hello Doktor sekarang.

"},"tetanus":{"subtype":"Tetanus","subtypeEng":"Tetanus","title":"

Vaksin Tetanus: Pelindung Utama Daripada Kecederaan Tidak Dijangka

","description":"

Tetanus, atau lebih dikenali sebagai kancing gigi, adalah penyakit yang disebabkan oleh bakteria Clostridium tetani yang sering dijumpai dalam tanah, habuk dan baja. Ramai orang Malaysia beranggapan bahawa mereka hanya memerlukan suntikan tetanus (ATT) sekiranya terpijak paku berkarat. Namun, hakikatnya sebarang luka terbuka, luka melecur atau gigitan haiwan boleh menjadi pintu masuk bagi bakteria ini. Bakteria tetanus menghasilkan toksin yang menyerang sistem saraf, menyebabkan kekejangan otot yang amat menyakitkan, terutamanya pada bahagian rahang dan leher.

\\n

Di Malaysia, pelajar sekolah Tingkatan 3 biasanya akan menerima vaksin ATT sebagai sebahagian daripada program kesihatan sekolah. Walau bagaimanapun, bagi orang dewasa yang bekerja dalam bidang pembinaan, berkebun atau mereka yang aktif bersukan lasak, perlindungan dos penggalak setiap 10 tahun amat penting. Tanpa vaksinasi, tetanus mempunyai kadar kematian yang tinggi kerana ia menjejaskan otot pernafasan.

\\n

Hello Doktor menyediakan platform yang memudahkan anda mendapatkan suntikan tetanus dengan pantas tanpa perlu menunggu lama di jabatan kecemasan. Sama ada anda memerlukan suntikan selepas kecederaan atau sebagai langkah pencegahan pra-pekerjaan, kami menghubungkan anda dengan fasiliti perubatan yang sentiasa bersedia.

\\n

Kelebihan Hello Doktor:

\\n
    \\n
  • Tempahan pantas untuk kes luka ringan yang memerlukan profilaksis tetanus.
  • \\n
  • Pilihan vaksin Tdap yang turut melindungi anda daripada Difteri dan Pertusis dalam satu suntikan.
  • \\n
  • Rekod digital yang memudahkan anda menyemak bila kali terakhir anda menerima suntikan ATT.
  • \\n
\\n

Sediakan payung sebelum hujan. Pastikan imuniti tetanus anda sentiasa dikemas kini untuk melindungi diri daripada risiko yang tidak terjangka di persekitaran harian anda. Tempah slot vaksinasi anda sekarang.

"},"pertussis":{"subtype":"Pertusis","subtypeEng":"Pertussis (Whooping cough)","title":"

Lindungi Bayi Anda daripada Bahaya Batuk Kokol (Pertusis)

","description":"

Pertusis, atau lebih dikenali dalam kalangan masyarakat Malaysia sebagai batuk kokol, adalah jangkitan pernafasan yang sangat mudah berjangkit. Ia disebabkan oleh bakteria Bordetella pertussis yang menyerang saluran udara, menyebabkan batuk yang berpanjangan dan sukar berhenti. Bagi orang dewasa, ia mungkin sekadar batuk biasa, tetapi bagi bayi yang belum cukup umur untuk divaksinasi, pertusis boleh menyebabkan komplikasi maut seperti apnea (berhenti bernafas), radang paru-paru dan sawan. Di Malaysia, kita sering mendengar kes bayi dimasukkan ke unit rawatan rapi (ICU) akibat batuk kokol yang dijangkiti daripada ahli keluarga dewasa yang tidak menyedari mereka pembawa kepada bakteria tersebut.

\\n

Inilah sebabnya mengapa strategi cocooning atau perlindungan berkelompok sangat penting. Ibu mengandung di Malaysia kini digalakkan untuk mengambil vaksin Tdap (yang mengandungi komponen pertusis) semasa trimester kedua atau ketiga untuk memindahkan antibodi kepada bayi di dalam kandungan. Selain itu, bapa dan penjaga bayi juga disarankan mengambil dos penggalak. Jangan tunggu sehingga anak anda jatuh sakit; pastikan jadual imunisasi kebangsaan dipatuhi dan orang dewasa di sekeliling bayi juga dilindungi.

\\n

Melalui Hello Doktor, anda boleh mendapatkan maklumat lanjut mengenai vaksin kombinasi untuk melindungi diri daripada pertusis. Kami memudahkan urusan tempahan di klinik-klinik swasta yang menyediakan stok vaksin Tdap untuk dewasa dan kanak-kanak.

\\n

Manfaat menggunakan Hello Doktor:

\\n
    \\n
  • Membantu anda memahami perbezaan antara batuk biasa dan pertusis melalui artikel pakar.
  • \\n
  • Akses mudah kepada vaksin Tdap untuk ibu mengandung dan ahli keluarga.
  • \\n
  • Pilihan fasiliti kesihatan yang mesra keluarga dan mesra kanak-kanak.
  • \\n
  • Penjelasan keputusan dan kesan sampingan vaksin secara telus.
  • \\n
\\n

Mencegah pertusis adalah satu pelaburan nyawa untuk cahaya mata anda. Jangan biarkan batuk kokol meragut keceriaan keluarga. Tempah janji temu vaksinasi anda di Hello Doktor hari ini.

"},"flu":{"subtype":"Influenza","subtypeEng":"Flu","title":"

Vaksin Influenza: Perlindungan Tahunan Untuk Gaya Hidup Aktif di Malaysia

","description":"

Ramai rakyat Malaysia menganggap influenza atau selesema sebagai penyakit ringan yang boleh sembuh dengan rehat dan parasetamol. Walau bagaimanapun, influenza bukan sekadar selesema biasa. Ia adalah jangkitan virus yang menyerang sistem pernafasan dan boleh menyebabkan komplikasi serius seperti radang paru-paru (pneumonia), kegagalan organ dan memburukkan keadaan penyakit kronik sedia ada seperti asma atau diabetes. Di Malaysia, influenza berlaku sepanjang tahun tanpa mengira musim, menjadikannya ancaman yang sentiasa ada.

\\n

Bagi individu yang kerap melancong, terutamanya untuk tujuan Umrah atau Haji, vaksin influenza adalah keperluan yang sangat penting kerana perhimpunan ramai meningkatkan risiko jangkitan. Begitu juga bagi mereka yang bekerja di pejabat atau kawasan tertutup; virus ini mudah tersebar melalui udara dan sentuhan. Pakar kesihatan menyarankan pengambilan vaksin influenza setiap tahun kerana virus ini sentiasa bermutasi, dan formula vaksin dikemas kini mengikut strain yang paling aktif pada tahun tersebut.

\\n

Hello Doktor memudahkan anda dan keluarga untuk mendapatkan perlindungan tahunan ini. Anda boleh mencari pakej vaksin influenza untuk individu atau keluarga di fasiliti berhampiran anda dengan harga yang berpatutan.

\\n

Kelebihan menempah dengan Hello Doktor:

\\n
    \\n
  • Akses kepada vaksin kuadrivalen terkini yang melindungi daripada empat strain virus influenza.
  • \\n
  • Tempahan pantas tanpa perlu beratur panjang, sesuai untuk golongan profesional yang sibuk.
  • \\n
  • Peringatan tahunan secara automatik supaya anda tidak terlepas dos seterusnya.
  • \\n
  • Penjelasan menyeluruh mengenai kepentingan vaksin untuk warga emas dan kanak-kanak.
  • \\n
\\n

Jadikan vaksinasi influenza sebagai rutin kesihatan tahunan anda. Lindungi produktiviti anda dan kesihatan orang tersayang. Tempah slot vaksinasi influenza anda di Hello Doktor sekarang!

"},"hepatitisb":{"subtype":"Hepatitis B","subtypeEng":"Hepatitis B","title":"

Vaksin Hepatitis B: Pelaburan Jangka Panjang Untuk Kesihatan Hati Anda

","description":"

Hepatitis B adalah jangkitan hati serius yang disebabkan oleh virus Hepatitis B (HBV). Apa yang menakutkan tentang Hepatitis B ialah ia sering digelar sebagai pembunuh senyap kerana ramai pesakit tidak menunjukkan sebarang simptom sehinggalah hati mereka mengalami kerosakan teruk seperti sirosis (parut hati) atau kanser hati. Di Malaysia, dianggarkan 1 dalam setiap 20 orang adalah pembawa virus ini. Jangkitan boleh tersebar melalui sentuhan dengan darah atau cecair badan yang dijangkiti, termasuk melalui perkongsian barangan peribadi atau hubungan seksual.

\\n

Vaksin Hepatitis B adalah cara paling berkesan untuk mencegah jangkitan ini. Walaupun vaksin ini kini merupakan sebahagian daripada Program Imunisasi Kebangsaan untuk bayi, ramai orang dewasa yang lahir sebelum program ini diperkenalkan mungkin belum dilindungi. Selain itu, individu yang bekerja dalam sektor kesihatan, mereka yang menjalani rawatan dialisis, atau mereka yang mempunyai pasangan yang dijangkiti wajib mendapatkan vaksinasi lengkap (biasanya 3 dos) untuk perlindungan seumur hidup.

\\n

Hello Doktor menyediakan akses kepada ujian saringan darah untuk memeriksa status imuniti anda sebelum mengambil vaksin. Kami menghubungkan anda dengan makmal dan klinik yang menawarkan pakej komprehensif untuk pencegahan Hepatitis B.

\\n

Mengapa pilih Hello Doktor?

\\n
    \\n
  • Membantu anda mengatur ujian antibodi bagi memastikan sama ada anda memerlukan dos penggalak.
  • \\n
  • Maklumat mendalam mengenai risiko jangkitan dan cara pencegahan yang berkesan.
  • \\n
  • Kemudahan mencari fasiliti kesihatan yang menawarkan kit ujian dan vaksin di bawah satu bumbung.
  • \\n
  • Jaminan kerahsiaan maklumat peribadi dan keputusan ujian kesihatan anda.
  • \\n
\\n

Hati yang sihat adalah kunci kepada kehidupan yang panjang. Jangan biarkan Hepatitis B merosakkan masa depan anda. Mulakan langkah pencegahan dengan menempah slot saringan dan vaksinasi di Hello Doktor hari ini.

"},"polio":{"subtype":"Polio","subtypeEng":"Polio","title":"

Vaksin Polio: Memastikan Kelumpuhan Tidak Lagi Menjadi Ancaman

","description":"

Penyakit Polio atau poliomielitis, adalah penyakit berjangkit yang menyerang sistem saraf pusat dan boleh menyebabkan kelumpuhan kekal dalam masa beberapa jam sahaja. Walaupun Malaysia pernah diisytiharkan bebas polio, kemunculan semula kes di beberapa kawasan pada tahun 2019 membuktikan bahawa ancaman ini tidak boleh dipandang ringan. Virus polio merebak melalui makanan dan air yang tercemar atau melalui hubungan dengan individu yang dijangkiti. Kanak-kanak di bawah umur 5 tahun adalah golongan yang paling berisiko tinggi.

\\n

Satu-satunya cara untuk mencegah polio adalah melalui vaksinasi yang lengkap. Di Malaysia, vaksin polio diberikan dalam bentuk suntikan (IPV) sebagai sebahagian daripada vaksin kombinasi 6-dalam-1. Keberkesanan vaksin ini sangat tinggi dalam membina antibodi yang menghalang virus daripada menyerang saraf tunjang. Sebagai ibu bapa, memastikan anak anda melengkapkan semua dos mengikut jadual adalah satu tanggungjawab moral bagi memastikan penyakit ini tidak menular kembali dalam masyarakat kita.

\\n

Hello Doktor komited untuk menyokong usaha kesihatan awam dengan memberikan maklumat yang tepat dan memudahkan akses kepada vaksinasi polio melalui rangkaian hospital dan klinik swasta yang bekerjasama dengan kami.

\\n

Kelebihan Hello Doktor:

\\n
    \\n
  • Panduan lengkap mengenai jadual vaksinasi kanak-kanak mengikut saranan Kementerian Kesihatan Malaysia (KKM).
  • \\n
  • Akses kepada vaksin IPV yang selamat dan berkualiti tinggi.
  • \\n
  • Memudahkan pemantauan rekod imunisasi anak anda secara digital.
  • \\n
  • Penjelasan mengenai kepentingan imuniti kelompok dalam menghapuskan virus polio sepenuhnya.
  • \\n
\\n

Kesihatan fizikal dan keupayaan bergerak adalah nikmat yang perlu dilindungi. Pastikan anak-anak anda selamat daripada ancaman kelumpuhan polio. Tempah slot perkhidmatan vaksinasi melalui Hello Doktor sekarang.

"},"hib":{"subtype":"Hib","subtypeEng":"Hib (Haemophilus influenzae B)","title":"

Lindungi Kanak-kanak daripada Jangkitan Hib dan Risiko Meningitis

","description":"

Hib, atau Haemophilus influenzae jenis B, bukanlah sejenis selesema (flu) walaupun namanya hampir serupa. Ia adalah bakteria berbahaya yang boleh menyebabkan jangkitan serius pada lapisan otak (meningitis), jangkitan darah (sepsis) dan keradangan tekak yang teruk (epiglottitis) sehingga boleh menyekat pernafasan anak anda. Sebelum vaksinasi diperkenalkan secara meluas di Malaysia, Hib merupakan punca utama meningitis dalam kalangan kanak-kanak di bawah umur 5 tahun yang sering meninggalkan kesan kerosakan otak kekal atau pekak.

\\n

Di Malaysia, vaksin Hib diberikan secara rutin dalam bentuk suntikan kombinasi 6-dalam-1 (Hexavalent) mengikut jadual KKM. Kelebihan vaksin kombinasi ini adalah ia mengurangkan jumlah suntikan yang perlu diterima oleh bayi anda, sekaligus mengurangkan rasa sakit dan trauma. Namun, bagi ibu bapa yang terlepas jadual atau ingin mendapatkan perlindungan tambahan di hospital swasta, Hello Doktor sedia membantu anda mencari fasiliti yang tepat.

\\n

Mengapa menempah melalui Hello Doktor?

\\n
    \\n
  • Memastikan anak anda menerima dos lengkap untuk imuniti maksimum.
  • \\n
  • Akses kepada pakar pediatrik untuk rundingan mengenai kesan sampingan ringan seperti demam.
  • \\n
  • Pilihan klinik swasta dengan waktu janji temu yang fleksibel.
  • \\n
  • Maklumat terkini mengenai stok vaksin kombinasi di pasaran.
  • \\n
\\n

Jangan biarkan bakteria Hib mengancam nyawa anak anda. Pastikan perlindungan awal diberikan secara konsisten. Tempah slot vaksinasi anda di Hello Doktor hari ini.

"},"measles":{"subtype":"Campak","subtypeEng":"Measles","title":"

Vaksin Campak: Jangan Pandang Ringan Isu Demam Campak dalam Komuniti

","description":"

Demam campak (Measles) sering dianggap oleh sesetengah ibu bapa di Malaysia sebagai fasa normal kanak-kanak membesar, namun tanggapan ini sangat berbahaya. Campak adalah virus yang sangat agresif; seorang pesakit boleh menjangkiti sehingga 18 orang lain di sekelilingnya. Komplikasi campak termasuk jangkitan telinga, radang paru-paru dan ensefalitis (radang otak) yang boleh membawa maut. Di Malaysia, kita pernah melihat lonjakan kes campak akibat keengganan segelintir pihak mengambil vaksin, yang akhirnya membahayakan bayi kecil yang belum cukup umur untuk menerima dos pertama.

\\n

Vaksin campak biasanya diberikan dalam kombinasi MMR (Measles, Mumps, Rubella). Mengikut jadual imunisasi Malaysia, dos diberikan pada umur 9 bulan dan 12 bulan. Melengkapkan kedua-dua dos ini adalah kritikal untuk membina imuniti kelompok (herd immunity) bagi memutuskan rantaian jangkitan di sekolah dan taska.

\\n

Melalui Hello Doktor, anda boleh menyemak status vaksinasi keluarga dan mendapatkan dos tambahan jika perlu, terutamanya jika anda merancang untuk membawa anak-anak melancong ke luar negara.

\\n

Kenapa pilih Hello Doktor?

\\n
    \\n
  • Panduan lengkap mengenai perbezaan campak, cacar air dan penyakit kaki, tangan, dan mulut (HFMD).
  • \\n
  • Akses kepada vaksin MMR berkualiti tinggi di rangkaian klinik swasta terpilih.
  • \\n
  • Perkhidmatan tempahan yang pantas dan sistematik.
  • \\n
  • Rujukan kepada pakar jika anak anda menunjukkan simptom selepas pendedahan kepada virus.
  • \\n
\\n

Lindungi komuniti dan keluarga anda daripada ancaman campak. Jadikan vaksinasi sebagai perisai utama. Tempah janji temu anda di Hello Doktor sekarang.

"},"mumps":{"subtype":"Beguk","subtypeEng":"Mumps","title":"

Vaksin Beguk: Cegah Bengkak Pipi dan Risiko Kemandulan Masa Hadapan

","description":"

Beguk atau dalam bahasa Inggerisnya Mumps, sering dikenali di Malaysia melalui simptom pipi dan leher yang bengkak akibat keradangan kelenjar air liur. Walaupun simptom ini kelihatan tidak serius, beguk membawa risiko jangka panjang yang menakutkan, terutamanya bagi remaja lelaki. Ia boleh menyebabkan orchitis (keradangan testis) yang boleh membawa kepada kemandulan. Bagi wanita pula, ia boleh menyebabkan keradangan ovari. Selain itu, beguk juga merupakan salah satu punca utama kehilangan pendengaran kekal dalam kalangan kanak-kanak sekolah.

\\n

Vaksinasi melalui kombinasi MMR adalah kunci utama untuk mengelakkan wabak beguk di sekolah-sekolah atau asrama. Di Malaysia, kesedaran mengenai vaksin beguk sangat tinggi, namun pengambilan dos kedua sering kali terlepas. Hello Doktor sedia membantu anda memastikan perlindungan keluarga anda sentiasa lengkap dan dikemas kini.

\\n

Manfaat menggunakan Hello Doktor:

\\n
    \\n
  • Mengetahui harga vaksin MMR terkini di pasaran Malaysia.
  • \\n
  • Mencari klinik berdekatan dengan kemudahan parkir dan mesra kanak-kanak.
  • \\n
  • Penjelasan pakar mengenai risiko beguk kepada golongan dewasa.
  • \\n
  • Sistem peringatan untuk dos penggalak bagi memastikan perlindungan kekal.
  • \\n
\\n

Beguk bukan sekadar bengkak biasa. Ia adalah ancaman kepada kesihatan reproduktif masa depan. Lindungi anak-anak anda dengan vaksinasi MMR. Tempah slot anda di Hello Doktor hari ini.

"},"rubella":{"subtype":"Rubella","subtypeEng":"Rubella","title":"

Vaksin Rubella: Melindungi Ibu Mengandung daripada Sindrom Rubella Kongenital

","description":"

Rubella atau kadang-kadang dipanggil German Measles, mungkin menunjukkan simptom ringan seperti ruam dan demam pada kanak-kanak. Namun, di Malaysia, tumpuan utama vaksinasi Rubella adalah untuk melindungi wanita dan ibu mengandung. Jika seorang wanita hamil dijangkiti Rubella, terutamanya pada trimester pertama, risiko kepada bayi dalam kandungan sangat tinggi. Ini boleh menyebabkan Sindrom Rubella Kongenital (CRS) yang mengakibatkan kecacatan jantung, katarak mata, pekak dan kerosakan otak pada bayi yang dilahirkan.

\\n

Saringan sebelum berkahwin (Pre-marriage screening) di Malaysia sangat menekankan pemeriksaan status antibodi Rubella bagi wanita. Jika antibodi tidak mencukupi, vaksinasi MMR disarankan sebelum memulakan fasa kehamilan. Hello Doktor memudahkan bakal pengantin dan pasangan suami isteri untuk mendapatkan vaksinasi ini dengan cara yang tersusun dan profesional.

\\n

Kelebihan Hello Doktor:

\\n
    \\n
  • Integrasi dengan pakej saringan kesihatan pra-perkahwinan.
  • \\n
  • Maklumat telus mengenai tempoh menunggu yang selamat untuk hamil selepas vaksinasi.
  • \\n
  • Akses kepada klinik pakar sakit puan (O&G) yang bekerjasama dengan Hello Doktor.
  • \\n
  • Rekod imunisasi digital untuk rujukan masa depan semasa mengandung.
  • \\n
\\n

Satu suntikan hari ini boleh menyelamatkan masa depan bayi anda. Pastikan anda dilindungi daripada Rubella sebelum merancang keluarga. Tempah slot vaksinasi anda di Hello Doktor hari ini.

"},"meningococcal":{"subtype":"Meningokokal","subtypeEng":"Meningococcal (MenACWY)","title":"

Vaksin Meningokokal: Syarat Wajib Umrah dan Perlindungan daripada Radang Otak

","description":"

Bagi rakyat Malaysia, vaksin Meningokokal (MenACWY) bukan sekadar pilihan kesihatan, tetapi merupakan syarat wajib yang ditetapkan oleh kerajaan Arab Saudi untuk jemaah Haji dan Umrah. Penyakit meningokokal adalah jangkitan bakteria serius yang menyebabkan meningitis (radang selaput otak) dan septisemia (jangkitan darah). Ia boleh merebak dengan pantas di kawasan yang sesak, dan mangsa boleh maut dalam masa kurang daripada 24 jam selepas simptom pertama muncul.

\\n

Selain jemaah, vaksin ini juga sangat disarankan bagi pelajar yang akan menyambung pelajaran ke luar negara atau tinggal di asrama kerana bakteria ini mudah berjangkit melalui pernafasan dan perkongsian barangan peribadi. Di Hello Doktor, kami menyediakan kemudahan tempahan vaksin meningokokal yang diiktiraf untuk pengesahan buku kuning (International Certificate of Vaccination).

\\n

Kenapa tempah di Hello Doktor?

\\n
    \\n
  • Memastikan anda menerima vaksin MenACWY (konjugat) yang memberikan perlindungan lebih lama dan berkesan.
  • \\n
  • Proses dokumentasi yang diiktiraf untuk permohonan visa Umrah/Haji.
  • \\n
  • Waktu janji temu yang cepat untuk jemaah yang perlu berlepas dalam masa terdekat.
  • \\n
  • Maklumat mengenai kesan sampingan dan persediaan sebelum perjalanan.
  • \\n
\\n

Pastikan ibadah dan perjalanan anda selamat daripada ancaman jangkitan berbahaya. Lindungi diri dengan vaksin meningokokal di Hello Doktor. Tempah slot anda hari ini.

"},"pneumococcal":{"subtype":"Pneumokokal","subtypeEng":"Pneumococcal","title":"

Vaksin Pneumokokal: Melindungi Paru-paru Kanak-kanak dan Warga Emas

","description":"

Penyakit pneumokokal disebabkan oleh bakteria Streptococcus pneumoniae yang boleh menyebabkan radang paru-paru (pneumonia), jangkitan telinga tengah dan meningitis. Di Malaysia, bermula tahun 2020, KKM telah memasukkan vaksin pneumokokal ke dalam Program Imunisasi Kebangsaan (NIP) bagi bayi. Namun, bagi warga emas berumur 60 tahun ke atas dan individu dengan penyakit kronik seperti asma, diabetes atau penyakit jantung, vaksin ini tetap menjadi saranan utama pakar perubatan kerana risiko komplikasi maut yang lebih tinggi pada golongan ini.

\\n

Hello Doktor menyediakan akses mudah bagi anda mendapatkan dos penggalak atau memulakan vaksinasi pneumokokal (seperti PCV13 atau PPSV23) untuk ibu bapa atau diri sendiri. Perlindungan ini sangat penting terutamanya dalam persekitaran bandar yang padat dan terdedah kepada pencemaran udara yang boleh menjejaskan sistem pernafasan.

\\n

Kelebihan Hello Doktor:

\\n
    \\n
  • Menghubungkan anda dengan klinik yang menyediakan vaksin pneumokokal tercanggih.
  • \\n
  • Panduan mengenai perbezaan jenis vaksin pneumokokal mengikut keperluan umur.
  • \\n
  • Pakej kesihatan warga emas yang merangkumi vaksinasi pernafasan.
  • \\n
  • Sistem tempahan mesra pengguna untuk seisi keluarga.
  • \\n
\\n

Kesihatan pernafasan yang sihat adalah kurniaan yang perlu dijaga. Jangan biarkan pneumonia mengganggu kualiti hidup anda. Tempah slot vaksinasi pneumokokal di Hello Doktor hari ini.

"},"cholerae":{"subtype":"Kolera","subtypeEng":"Cholerae","title":"

Vaksin Kolera: Langkah Pencegahan Penting untuk Pengembara dan Kawasan Berisiko

","description":"

Kolera (T\u1ea3) adalah jangkitan usus akut yang disebabkan oleh pengambilan makanan atau air yang tercemar dengan bakteria Vibrio cholerae. Walaupun sistem sanitasi di Malaysia secara amnya baik, wabak kolera masih boleh berlaku di kawasan tertentu atau melalui makanan laut yang tidak dimasak sempurna. Bagi rakyat Malaysia yang kerap melancong ke negara-negara yang mempunyai akses air bersih yang terhad, vaksin kolera oral adalah satu pelaburan kesihatan yang bijak untuk mengelakkan cirit-birit teruk yang boleh membawa kepada dehidrasi melampau.

\\n

Vaksin kolera kini boleh didapati dalam bentuk cecair yang diminum, menjadikannya mudah dan tidak menyakitkan. Hello Doktor sedia menghubungkan anda dengan klinik yang menyediakan nasihat perubatan dan vaksinasi kolera bagi memastikan perjalanan anda tidak terganggu oleh masalah kesihatan perut.

\\n

Kenapa pilih Hello Doktor?

\\n
    \\n
  • Tip keselamatan makanan dan air untuk pengembara antarabangsa.
  • \\n
  • Akses kepada vaksin kolera oral yang berkesan dan mudah diambil.
  • \\n
  • Rangkaian perubatan yang pakar dalam perubatan perjalanan (travel medicine).
  • \\n
  • Tempahan janji temu yang pantas sebelum tarikh berlepas anda.
  • \\n
\\n

Kesihatan perut yang baik adalah kunci perjalanan yang menggembirakan. Jangan biarkan kolera mengganggu percutian anda. Tempah perkhidmatan vaksinasi anda di Hello Doktor hari ini.

"},"chickenpox":{"subtype":"Cacar air","subtypeEng":"Chickenpox","title":"

Vaksin Cacar Air: Elakkan Parut Kekal dan Komplikasi Kayap di Masa Depan

","description":"

Cacar air (Chickenpox), atau waterpox, sering dianggap sebagai jangkitan ringan kanak-kanak di Malaysia. Walau bagaimanapun, selain daripada rasa gatal yang melampau dan parut kekal pada kulit, virus Varicella-zoster ini boleh menyebabkan komplikasi serius seperti jangkitan kuman pada kulit, radang paru-paru dan radang otak, terutamanya jika dijangkiti oleh orang dewasa. Paling penting, virus ini akan kekal dorman dalam sistem saraf dan boleh muncul semula sebagai Kayap (Shingles) di kemudian hari apabila sistem imun kita lemah.

\\n

Vaksinasi cacar air adalah cara terbaik untuk mencegah jangkitan ini secara menyeluruh. Ia bukan sahaja melindungi anda daripada simptom yang menyakitkan, tetapi juga memastikan kulit anda kekal bersih tanpa parut. Hello Doktor memudahkan anda mencari klinik yang menawarkan vaksin Varicella untuk kanak-kanak dan dewasa dengan perkhidmatan yang mesra dan profesional.

\\n

Kelebihan Hello Doktor:

\\n
    \\n
  • Panduan penjagaan kulit sekiranya sudah terdedah kepada virus.
  • \\n
  • Akses kepada vaksin Varicella di klinik swasta berdekatan anda.
  • \\n
  • Pilihan untuk gabungan vaksin bagi menjimatkan masa.
  • \\n
  • Penerangan mengenai kepentingan dos kedua untuk perlindungan seumur hidup.
  • \\n
\\n

Jangan biarkan cacar air meninggalkan kesan pada kulit dan kesihatan anda. Lindungi diri sekarang dengan vaksinasi di Hello Doktor. Tempah slot anda hari ini.

"},"diarrhea":{"subtype":"Cirit-birit","subtypeEng":"Diarrhea","title":"

Vaksin Rotavirus: Mencegah Cirit-Birit Teruk dan Dehidrasi pada Bayi

","description":"

Cirit-birit dalam kalangan bayi di Malaysia selalunya disebabkan oleh Rotavirus. Virus ini sangat agresif dan boleh menyebabkan bayi kehilangan banyak cecair badan dalam masa yang singkat melalui muntah dan cirit-birit berair yang kerap. Ramai bayi terpaksa dimasukkan ke hospital untuk dimasukkan air (drip) bagi mengelakkan dehidrasi maut. Sebagai ibu bapa, melihat bayi anda lemah dan tidak bermaya adalah pengalaman yang sangat meruntun hati.

\\n

Berita baiknya, vaksin Rotavirus boleh didapati dalam bentuk cecair oral (diminum) yang sangat mudah diberikan kepada bayi. Ia biasanya diberikan dalam 2 atau 3 dos sebelum bayi berumur 6 bulan. Hello Doktor menghubungkan anda dengan pakar kanak-kanak yang menyediakan vaksin ini bagi memastikan sistem penghadaman anak anda dilindungi daripada jangkitan virus ini.

\\n

Kelebihan Hello Doktor:

\\n
    \\n
  • Mencari klinik pediatrik yang menyediakan vaksin rotavirus oral.
  • \\n
  • Panduan mengenai masa terbaik untuk memulakan dos pertama ( seawal 6 minggu).
  • \\n
  • Tips menguruskan simptom cirit-birit di rumah.
  • \\n
  • Jaminan stok vaksin yang sentiasa ada untuk kemudahan anda.
  • \\n
\\n

Lindungi perut kecil bayi anda dengan vaksinasi Rotavirus. Tempah slot anda di Hello Doktor hari ini untuk ketenangan minda.

"},"japanese_encephalitis":{"subtype":"Ensefalitis Jepun","subtypeEng":"Japanese Encephalitis","title":"

Vaksin Ensefalitis Jepun (JE): Melindungi Otak daripada Ancaman Gigitan Nyamuk

","description":"

Japanese Encephalitis (JE) adalah jangkitan otak yang serius disebabkan oleh virus yang disebarkan melalui gigitan nyamuk Culex yang membiak di kawasan sawah padi atau ternakan babi. Di Malaysia, terutamanya di Sarawak dan kawasan luar bandar, JE masih menjadi ancaman yang boleh menyebabkan keradangan otak yang teruk, sawan, kelumpuhan dan kerosakan saraf kekal. Tanpa vaksinasi, peluang untuk sembuh sepenuhnya daripada JE adalah sangat mencabar.

\\n

Vaksin JE adalah wajib dalam jadual imunisasi kebangsaan bagi kanak-kanak di Sarawak, manakala bagi mereka di Semenanjung Malaysia, ia amat disarankan bagi individu yang tinggal atau bekerja berhampiran kawasan pertanian. Hello Doktor memudahkan urusan anda untuk mendapatkan perlindungan JE bagi ahli keluarga, terutamanya jika anda merancang untuk berpindah atau melancong ke kawasan berisiko tinggi.

\\n

Mengapa Hello Doktor?

\\n
    \\n
  • Maklumat kawasan hotspot JE di Malaysia untuk kewaspadaan anda.
  • \\n
  • Akses kepada vaksin JE yang selamat untuk kanak-kanak dan dewasa.
  • \\n
  • Peringatan bagi pengambilan dos penggalak bagi perlindungan jangka panjang.
  • \\n
  • Perundingan dengan pakar perubatan mengenai risiko pendedahan virus.
  • \\n
\\n

Jangan biarkan gigitan nyamuk merosakkan masa depan anda. Lindungi sistem saraf anda dengan vaksin JE. Tempah slot vaksinasi anda di Hello Doktor sekarang.

"},"smallpox":{"subtype":"Cacar","subtypeEng":"Smallpox","title":"

Vaksin Cacar: Kepentingan Perlindungan dalam Era Kebangkitan Mpox

","description":"

Cacar (Smallpox) mungkin telah diisytiharkan tamat di seluruh dunia pada tahun 1980, namun perbincangan mengenainya kembali hangat di Malaysia susulan penularan Mpox (Cacar Monyet). Walaupun cacar monyet tidak seganas cacar asal, ia tetap menyebabkan ruam yang menyakitkan, demam dan bengkak kelenjar yang boleh mengganggu kualiti hidup. Bagi individu yang mempunyai sistem imun yang lemah atau mereka yang kerap melancong ke kawasan berisiko tinggi, memahami status vaksinasi cacar adalah langkah berjaga-jaga yang penting.

\\n

Vaksin cacar generasi baru kini digunakan sebagai perlindungan silang terhadap virus dalam keluarga yang sama. Hello Doktor sedia membantu anda memahami risiko jangkitan dan memberikan akses kepada maklumat perubatan terkini mengenai ketersediaan vaksin ini di fasiliti swasta terpilih bagi mereka yang memerlukan perlindungan tambahan.

\\n

Kenapa pilih Hello Doktor?

\\n
    \\n
  • Maklumat terkini mengenai varian virus cacar monyet (Mpox).
  • \\n
  • Akses kepada klinik pakar kulit dan jangkitan kuman.
  • \\n
  • Panduan membezakan ruam cacar dengan penyakit kulit lain.
  • \\n
  • Perkhidmatan tempahan yang sulit dan profesional.
  • \\n
\\n

Lindungi diri anda daripada ancaman virus yang muncul semula. Maklumat yang tepat adalah benteng pertama anda. Tempah konsultasi atau saringan di Hello Doktor hari ini.

"},"dengue_fever":{"subtype":"Demam denggi","subtypeEng":"Dengue fever","title":"

Vaksin Denggi: Senjata Baru Malaysia Menentang Ancaman Nyamuk Aedes

","description":"

Malaysia merupakan antara negara dengan kes demam denggi tertinggi di Asia Tenggara. Setiap tahun, ribuan rakyat dimasukkan ke hospital akibat denggi berdarah yang berpotensi membawa maut. Walaupun aktiviti fogging sering dijalankan, nyamuk Aedes masih menjadi ancaman utama di kawasan perumahan dan tempat kerja. Kini, terdapat sinar harapan baharu dengan kehadiran vaksin denggi generasi terkini yang terbukti berkesan melindungi daripada pelbagai serotaip virus denggi.

\\n

Vaksin denggi (seperti Qdenga) kini tersedia untuk kanak-kanak dan orang dewasa di Malaysia, tanpa mengira sama ada seseorang pernah dijangkiti denggi sebelum ini atau tidak. Ini merupakan satu pelaburan kesihatan yang penting, terutamanya bagi individu yang tinggal di kawasan berisiko tinggi (hotspot), bagi mengurangkan risiko jangkitan berulang yang selalunya lebih serius. Hello Doktor memudahkan anda mencari klinik yang menawarkan vaksin denggi, supaya anda tidak perlu lagi bimbang setiap kali musim hujan tiba.

\\n

Kelebihan HelloDoktor:

\\n
    \\n
  • Mengenalpasti klinik swasta yang mempunyai stok vaksin denggi terkini.
  • \\n
  • Menyediakan penerangan jelas tentang keberkesanan vaksin terhadap semua serotaip denggi.
  • \\n
  • Kemudahan tempahan vaksin untuk seisi keluarga melalui satu platform.
  • \\n
  • Perkongsian tip untuk mencegah pembiakan nyamuk di rumah.
  • \\n
\\n

Jangan tunggu sehingga anda atau ahli keluarga dijangkiti. Jadikan vaksinasi denggi sebagai perlindungan utama. Tempah slot vaksinasi anda melalui Hello Doktor hari ini.

"},"rabies":{"subtype":"Rabies","subtypeEng":"Rabies","title":"

Vaksin Rabies: Pencegahan Pantas Demi Nyawa yang Berharga

","description":"

Rabies, atau penyakit anjing gila, adalah jangkitan virus maut yang menyerang sistem saraf pusat. Di Malaysia, terutamanya di kawasan seperti Sarawak, penularan wabak rabies masih menjadi kebimbangan serius. Virus ini biasanya merebak melalui gigitan, cakaran, atau pendedahan kepada air liur haiwan yang dijangkiti seperti anjing, kucing atau monyet. Apabila simptom klinikal mula muncul, rabies hampir 100% membawa maut. Oleh itu, rawatan profilaksis selepas pendedahan (PEP) amat kritikal dan tidak boleh ditangguhkan walaupun sesaat.

\\n

Selain rawatan kecemasan, individu yang berisiko tinggi seperti doktor veterinar, penjaga haiwan atau pengembara ke kawasan pedalaman turut disarankan untuk mendapatkan vaksinasi pra-pendedahan. Hello Doktor memudahkan akses kepada maklumat klinik yang mempunyai bekalan vaksin rabies dan imunoglobulin bagi tindakan segera.

\\n

Kelebihan Hello Doktor:

\\n
    \\n
  • Membantu mengenal pasti fasiliti perubatan yang mempunyai stok vaksin rabies.
  • \\n
  • Menyediakan maklumat mengenai langkah kecemasan awal selepas digigit haiwan.
  • \\n
  • Perkhidmatan tempahan untuk vaksinasi pra-pendedahan, termasuk bagi pemilik haiwan peliharaan.
  • \\n
  • Akses kepada konsultasi profesional berkaitan penilaian risiko jangkitan.
  • \\n
\\n

Dalam kes rabies, setiap minit amat berharga. Pastikan anda tahu ke mana perlu dituju. Tempah janji temu atau saringan melalui Hello Doktor sekarang untuk melindungi diri dan keluarga.

"},"typhoid_fever":{"subtype":"Demam kepialu","subtypeEng":"Typhoid fever","title":"

Vaksin Tifoid: Keperluan Penting Pengendali Makanan dan Perlindungan Kesihatan Perut

","description":"

Demam kepialu (tifoid) disebabkan oleh bakteria Salmonella typhi yang merebak melalui makanan dan air tercemar. Di Malaysia, vaksin tifoid merupakan syarat wajib untuk semua pengendali makanan\u2014sama ada pemilik restoran, tukang masak atau pekerja kantin\u2014bagi mencegah penularan kepada pelanggan. Namun begitu, vaksin ini bukan hanya penting untuk industri makanan; ia juga sangat disarankan kepada individu yang gemar mencuba makanan jalanan (street food) atau melancong ke kawasan dengan tahap sanitasi yang kurang memuaskan.

\\n

Vaksin tifoid membantu tubuh membina pertahanan terhadap jangkitan bakteria ini, sekali gus mengurangkan risiko simptom serius seperti demam tinggi, sakit perut dan komplikasi usus yang berbahaya. Hello Doktor memudahkan urusan pendaftaran vaksinasi tifoid bagi individu mahupun syarikat yang memerlukan sijil kesihatan pengendali makanan, yang perlu diperbaharui setiap tiga tahun.

\\n

Kenapa pilih Hello Doktor?

\\n
    \\n
  • Memudahkan pengurusan vaksinasi pekerja untuk pemilik perniagaan makanan.
  • \\n
  • Sijil vaksinasi diiktiraf oleh pihak berkuasa tempatan (PBT).
  • \\n
  • Pilihan vaksin suntikan yang hanya memerlukan satu dos untuk perlindungan sehingga tiga tahun.
  • \\n
  • Harga kompetitif dengan proses tempahan yang mudah dan pantas.
  • \\n
\\n

Pastikan perniagaan anda mematuhi keperluan kesihatan dan lindungi kesihatan perut anda. Tempah slot vaksinasi tifoid melalui Hello Doktor hari ini.

"},"tuberculosis":{"subtype":"Tuberkulosis","subtypeEng":"Tuberculosis","title":"

Vaksin Tuberkulosis (BCG): Melindungi Generasi Baharu daripada Ancaman Tibi

","description":"

Tuberkulosis (Tibi) masih merupakan antara penyakit berjangkit yang mencatatkan angka tinggi di Malaysia. Penyakit ini menyerang paru-paru dan merebak melalui udara apabila pesakit batuk atau bersin. Di Malaysia, vaksin BCG (Bacillus Calmette\u2013Gu\xe9rin) diberikan kepada bayi sejurus selepas kelahiran sebagai sebahagian daripada Program Imunisasi Kebangsaan. Vaksin ini terbukti berkesan dalam melindungi kanak-kanak daripada komplikasi tibi yang serius dan boleh membawa maut, seperti meningitis tibi.

\\n

Bagi individu dewasa yang tidak mempunyai tanda parut BCG atau mereka yang terdedah kepada risiko tinggi (seperti petugas kesihatan), pemeriksaan lanjut mungkin diperlukan. Hello Doktor menyediakan platform untuk mendapatkan maklumat mengenai ujian saringan tibi serta kepentingan vaksinasi dalam mengekalkan kesihatan pernafasan komuniti.

\\n

Kelebihan Hello Doktor:

\\n
    \\n
  • Panduan mengenal pasti tanda dan simptom tibi yang perlu diberi perhatian.
  • \\n
  • Akses kepada ujian saringan Mantoux di klinik berhampiran.
  • \\n
  • Maklumat berkaitan program kesihatan awam untuk rawatan tibi..
  • \\n
  • Kemudahan tempahan bagi pemeriksaan paru-paru yang menyeluruh.
  • \\n
\\n

"},"hepatitis":{"subtype":"Hepatitis A","subtypeEng":"Hepatitis A","title":"

Vaksin Hepatitis A: Lindungi Hati daripada Ancaman Makanan Tidak Bersih

","description":"

Berbeza dengan Hepatitis B yang merebak melalui darah, Hepatitis A disebarkan melalui pengambilan makanan atau air yang tercemar dengan virus, atau melalui hubungan rapat dengan individu yang dijangkiti. Di Malaysia, kes Hepatitis A sering dikaitkan dengan premis makanan yang kurang menjaga kebersihan atau pengambilan kerang-kerangan yang tidak dimasak dengan sempurna. Jangkitan ini menyebabkan keradangan hati akut yang boleh mengakibatkan jaundis (penyakit kuning), keletihan melampau serta sakit perut yang teruk.

\\n

Vaksin Hepatitis A amat disarankan untuk pengembara, pengendali makanan, dan individu yang ingin mendapatkan perlindungan tambahan terhadap jangkitan hati. Ia lazimnya diberikan dalam dua dos bagi memastikan perlindungan jangka panjang yang berkesan. Hello Doktor memudahkan anda mencari klinik yang menawarkan vaksin Hepatitis A dengan maklumat harga yang telus serta pilihan janji temu yang fleksibel.

\\n

Kelebihan Hello Doktor:

\\n
    \\n
  • Membantu memastikan anda melengkapkan dos vaksin bagi perlindungan jangka panjang.
  • \\n
  • Akses kepada klinik perubatan perjalanan untuk nasihat kesihatan sebelum bercuti.br>3. Pilihan vaksin kombinasi Hepatitis A & B untuk penjimatan kos.
  • \\n
  • Maklumat praktikal tentang penjagaan kebersihan makanan ketika di luar rumah.
  • \\n
\\n

Jangan biarkan makanan kegemaran anda menjadi punca kerosakan hati. Ambil langkah pencegahan dengan mendapatkan vaksin Hepatitis A melalui Hello Doktor hari ini.

"},"shingles":{"subtype":"Kayap","subtypeEng":"Shingles (Herpes zoster)","title":"

Vaksin Kayap: Lindungi Warga Emas daripada Kesakitan Saraf yang Menyakitkan

","description":"

Kayap (Shingles) bukan sekadar ruam kulit biasa.Ia merupakan jangkitan saraf yang sangat menyakitkan akibat virus Varicella-zoster \u2014 virus yang sama menyebabkan cacar air. Bagi individu yang pernah menghidap cacar air ketika kecil, virus ini akan kekal tidak aktif di dalam saraf dan boleh aktif semula sebagai kayap apabila usia meningkat atau sistem imun menjadi lemah. Kesakitan kayap sering digambarkan seperti rasa terbakar atau ditusuk, dan boleh berlarutan selama berbulan-bulan, dikenali sebagai post-herpetic neuralgia.

\\n

Kini, vaksin kayap generasi baharu (seperti Shingrix) tersedia di Malaysia dan menawarkan perlindungan melebihi 90% kepada individu berusia 50 tahun ke atas. Ia merupakan satu pelaburan kesihatan yang bermakna untuk ibu bapa atau diri sendiri demi memastikan kehidupan hari tua yang lebih selesa tanpa kesakitan saraf. Hello Doktor membantu menghubungkan anda dengan klinik yang berpengalaman dalam perubatan warga emas serta vaksinasi dewasa.

\\n

Kenapa pilih Hello Doktor?

\\n
    \\n
  • Membantu mencari vaksin kayap terkini dengan tahap keberkesanan yang tinggi.
  • \\n
  • Akses kepada pakar perubatan untuk konsultasi berkaitan kesihatan warga emas.
  • \\n
  • Memberikan pemahaman jelas tentang perbezaan antara kayap dan jangkitan kulit lain.
  • \\n
  • Proses tempahan yang mesra warga emas dan mudah diuruskan oleh ahli keluarga.
  • \\n
\\n

Jangan biarkan kayap menjejaskan kualiti hidup di usia emas. Lindungi diri anda atau ibu bapa tersayang hari ini. Tempah slot vaksinasi kayap melalui Hello Doktor sekarang.

"}},"IVF":{"ivf":{"subtype":"In Vitro Fertilization (IVF)","subtypeEng":"In Vitro Fertilization (IVF)","title":"

Memulakan Perjalanan IVF: Harapan Baru untuk Menjadi Ibu Bapa

","description":"

Bagi banyak pasangan di Malaysia, perjalanan untuk menimang cahaya mata tidak selalunya mudah. Inilah sebabnya mengapa In Vitro Fertilization (IVF), atau bayi tabung uji, menjadi pilihan utama bagi mereka yang menghadapi cabaran kesuburan. IVF adalah proses di mana telur disenyawakan oleh sperma di luar badan (di dalam makmal), dan embrio yang terhasil kemudiannya dipindahkan ke dalam rahim. Di Malaysia, pusat kesuburan kita diiktiraf di peringkat antarabangsa kerana mempunyai teknologi canggih dan kadar kejayaan yang membanggakan.

\\n

Memutuskan untuk menjalani IVF adalah satu langkah besar yang memerlukan persediaan fizikal, mental, dan kewangan. Ramai pasangan bimbang tentang kos IVF di Malaysia atau prosedur yang terlibat. Di Hello Doktor, kami komited untuk memberikan maklumat yang telus dan menghubungkan anda dengan pakar kesuburan yang berpengalaman. Kami memahami bahawa setiap perjalanan adalah unik, dan kami sedia membantu anda memahami setiap langkah\u2014daripada rangsangan ovari sehinggalah kepada ujian kehamilan selepas pemindahan embrio.

\\n

Kelebihan HelloDoktor:

\\n
    \\n
  • Akses kepada rangkaian pusat kesuburan terkemuka dengan teknologi terkini.
  • \\n
  • Maklumat mengenai pelbagai pilihan rawatan tambahan untuk meningkatkan peluang kejayaan.
  • \\n
  • Sokongan maklumat berkaitan pengurusan emosi sepanjang proses rawatan.
  • \\n
  • Proses tempahan konsultasi awal yang mudah dan sulit.
  • \\n
\\n

Impian untuk membina sebuah keluarga bermula dengan maklumat yang tepat serta sokongan yang betul. Jangan biarkan cabaran kesuburan mematahkan semangat anda. Tempah konsultasi IVF melalui Hello Doktor hari ini.

"},"icsi":{"subtype":"Intracytoplasmic Sperm Injection (ICSI)","subtypeEng":"Intracytoplasmic Sperm Injection (ICSI)","title":"

Memahami ICSI: Penyelesaian Terkini untuk Faktor Kesuburan Lelaki

","description":"

Dalam bidang perubatan kesuburan di Malaysia, Intracytoplasmic Sperm Injection (ICSI) sering menjadi pilihan penting bagi pasangan yang berdepan masalah kesuburan faktor lelaki. Berbeza dengan rawatan IVF konvensional, di mana sperma dibiarkan bersenyawa dengan telur secara semula jadi di dalam makmal, ICSI melibatkan teknik pemilihan satu sperma terbaik yang kemudian disuntik terus ke dalam telur. Kaedah ini terbukti berkesan bagi lelaki dengan jumlah sperma rendah, pergerakan sperma yang lemah atau bentuk sperma yang tidak normal.

\\n

Di Malaysia, ramai pasangan memilih ICSI sebagai sebahagian daripada kitaran IVF bagi meningkatkan kadar persenyawaan. Hello Doktor sedia membantu anda mendapatkan penjelasan lanjut tentang kelebihan ICSI serta peranannya dalam menyokong impian untuk hamil. Kami menghubungkan anda dengan pakar embriologi dan doktor pakar yang berpengalaman dalam teknik mikromanipulasi ini.

\\n

Kenapa pilih Hello Doktor?

\\n
    \\n
  • Akses kepada makmal embriologi yang dilengkapi peralatan mikroskopik berteknologi tinggi.
  • \\n
  • Panduan berkaitan ujian analisis sperma yang lebih menyeluruh sebelum rawatan.
  • \\n
  • Memudahkan perbandingan klinik yang menawarkan kepakaran khusus dalam prosedur ICSI.
  • \\n
  • Penjelasan keputusan dan prosedur rawatan dalam bahasa yang mudah difahami.
  • \\n
\\n

Kualiti sperma bukan lagi halangan utama untuk bergelar bapa. Dengan teknologi ICSI, peluang untuk mencapai kehamilan kini lebih cerah. Tempah janji temu saringan kesuburan anda melalui Hello Doktor hari ini.

"},"iui":{"subtype":"Intrauterine Insemination (IUI)","subtypeEng":"Intrauterine Insemination (IUI)","title":"

IUI: Langkah Awal yang Lebih Mudah dan Kos Efektif untuk Hamil

","description":"

Intrauterine Insemination (IUI), atau inseminasi beradas, sering menjadi rawatan awal bagi pasangan di Malaysia sebelum mempertimbangkan kaedah yang lebih kompleks seperti IVF. Prosedur IUI melibatkan proses memasukkan sperma yang telah diproses dan dipilih secara khusus terus ke dalam rahim wanita semasa waktu subur (ovulasi). Ia merupakan prosedur yang ringkas, kurang invasif dan lebih hampir kepada proses semula jadi, dengan kelebihan meletakkan sperma lebih dekat kepada telur di dalam tiub fallopio.

\\n

IUI biasanya disarankan kepada pasangan yang mengalami masalah kesuburan tanpa punca jelas, masalah lendir serviks, atau masalah ejakulasi ringan. Melalui Hello Doktor, anda boleh mendapatkan maklumat lengkap mengenai kriteria kelayakan untuk rawatan IUI serta bantuan mencari klinik kesuburan yang menawarkan prosedur ini pada kos yang berpatutan. Matlamat kami adalah untuk memastikan anda menerima rawatan yang sesuai dengan keperluan dan bajet anda.

\\n

Kelebihan Hello Doktor:

\\n
    \\n
  • Membantu anda memahami perbezaan antara IUI dan IVF bagi membuat keputusan yang lebih tepat.
  • \\n
  • Akses kepada klinik yang menyediakan pemantauan kitaran ovulasi secara teliti.
  • \\n
  • Maklumat berkaitan ubat kesuburan yang sering digunakan bersama prosedur IUI.
  • \\n
  • Proses tempahan janji temu yang pantas bagi menjejak waktu subur anda.
  • \\n
\\n

Kadangkala, langkah kecil merupakan permulaan kepada perubahan besar. Terokai pilihan IUI anda hari ini melalui Hello Doktor dan mulakan perjalanan ke arah fasa baharu dalam hidup anda.

"},"egg-freezing":{"subtype":"Egg Freezing","subtypeEng":"Egg Freezing","title":"

Pembekuan Telur: Melindungi Kesuburan Masa Depan Wanita Moden

","description":"

Pembekuan telur (egg freezing) kini menjadi pilihan popular dalam kalangan wanita profesional di Malaysia yang ingin melindungi potensi kesuburan mereka pada masa hadapan. Prosedur ini melibatkan pengambilan telur daripada ovari, diikuti proses pembekuan pantas (vitrifikasi) untuk kegunaan kemudian hari. Ia memberi ruang kepada wanita untuk memberi fokus kepada kerjaya, pendidikan atau menunggu pasangan hidup yang sesuai, tanpa terlalu risau tentang penurunan kualiti telur akibat faktor usia.

\\n

Di Malaysia, kesedaran mengenai pemeliharaan kesuburan (fertility preservation) semakin meningkat. Hello Doktor sedia membimbing anda sepanjang proses ini \u2014 bermula daripada penilaian tahap kesuburan (seperti ujian AMH) sehinggalah kepada pemilihan pusat simpanan telur yang diiktiraf. Kami memahami bahawa keputusan ini bersifat peribadi dan penting, justeru privasi anda sentiasa dijaga sambil memastikan anda menerima maklumat yang tepat dan boleh dipercayai.

\\n

Kelebihan Hello Doktor:

\\n
    \\n
  • Membantu anda memahami waktu paling sesuai untuk menjalani pembekuan telur.
  • \\n
  • Akses kepada klinik kesuburan dengan teknologi vitrifikasi terkini.
  • \\n
  • Maklumat mengenai kos pengambilan telur dan yuran penyimpanan tahunan secara telus.
  • \\n
  • Konsultasi sulit dengan pakar kesuburan wanita.
  • \\n
\\n

Kawal masa depan anda dan lindungi peluang untuk berkeluarga pada waktu yang sesuai. Terokai perkhidmatan pembekuan telur melalui Hello Doktor hari ini.

"},"pgt":{"subtype":"Preimplantation Genetic Testing (PGT)","subtypeEng":"Preimplantation Genetic Testing (PGT)","title":"

Ujian PGT: Memastikan Kesihatan Genetik Embrio Sebelum Pemindahan

","description":"

Preimplantation Genetic Testing (PGT) adalah teknologi canggih yang digunakan dalam rawatan IVF di Malaysia untuk menilai kesihatan genetik embrio sebelum dipindahkan ke dalam rahim. Ujian ini amat penting bagi pasangan yang berisiko mengalami penyakit keturunan, wanita berusia 35 tahun ke atas, atau mereka yang pernah mengalami keguguran berulang. PGT membantu mengesan keabnormalan kromosom yang boleh menyebabkan kegagalan implantasi atau kecacatan kelahiran.br>

\\n

Melalui PGT, pakar kesuburan dapat memilih embrio yang paling sihat dan mempunyai peluang implantasi yang lebih tinggi. Langkah ini bukan sahaja membantu meningkatkan kadar kejayaan IVF, malah memberikan ketenangan emosi kepada bakal ibu bapa. Hello Doktor menghubungkan anda dengan pusat kesuburan di Malaysia yang dilengkapi kepakaran genetik serta makmal bioteknologi bertaraf antarabangsa.

\\n

Kenapa pilih Hello Doktor?

\\n
    \\n
  • Maklumat terperinci mengenai perbezaan antara PGT-A, PGT-M dan PGT-SR.
  • \\n
  • Akses kepada kaunselor genetik untuk berbincang dan memahami keputusan ujian.
  • \\n
  • Membantu anda mencari klinik dengan kadar kejayaan tinggi yang mengintegrasikan PGT dalam rawatan IVF.
  • \\n
  • Panduan untuk memahami keseimbangan kos dan manfaat ujian genetik dalam rawatan kesuburan.
  • \\n
\\n

Kesihatan anak bermula sejak peringkat embrio. Berikan permulaan terbaik dengan teknologi PGT. Tempah janji temu konsultasi genetik anda melalui Hello Doktor hari ini.

"},"infertilityTreatment":{"subtype":"Infertility Treatment","subtypeEng":"Infertility Treatment","title":"

Rawatan Kesuburan Komprehensif: Jalan Menuju Kebahagiaan Keluarga

","description":"

Mengatasi masalah kesuburan bukan hanya tentang IVF atau IUIsemata-mata, tetapi memerlukan pendekatan menyeluruh terhadap kesihatan reproduktif. Di Malaysia, rawatan kesuburan (Infertility Treatment) merangkumi pelbagai aspek\u2014daripada pengurusan hormon, pembedahan laparoskopi untuk membuang cyst atau fibroid, hinggalah kepada perubahan gaya hidup dan pemakanan. Ramai pasangan berjaya hamil hanya dengan rawatan hormon yang sesuai atau prosedur pembedahan kecil bagi memulihkan fungsi organ reproduktif.

\\n

Hello Doktor sedia menjadi rakan setia anda dalam mencari punca sebenar masalah kesuburan anda. Kami menghubungkan anda dengan rangkaian pakar sakit puan (O&G) dan pakar kesuburan yang berpengalaman untuk menjalankan penilaian serta diagnosis menyeluruh bagi kedua-dua pasangan. Kami percaya, dengan rawatan yang tepat dan sokongan profesional, impian untuk memiliki zuriat bukanlah sesuatu yang mustahil.

\\n

Kelebihan Hello Doktor:

\\n
    \\n
  • Pakej saringan kesuburan lengkap untuk suami dan isteri.
  • \\n
  • Akses kepada pakar dalam pelbagai bidang rawatan kesuburan (hormon, pembedahan, bantuan teknologi).
  • \\n
  • Maklumat mengenai klinik kesuburan yang mesra pesakit di seluruh Malaysia.
  • \\n
  • Perkhidmatan sokongan dan nasihat kesihatan berterusan.
  • \\n
\\n

Setiap masalah ada penyelesaiannya. Mulakan langkah pertama anda dengan saringan kesuburan yang tepat. Tempah slot rawatan kesuburan anda di Hello Doktor hari ini.

"}},"EGG_FREEZING":{"every_year":{"subtype":"Pakej mengikut bilangan sampel setahun","subtypeEng":"Package by sample per year","title":"

Pakej Simpanan Telur Mengikut Sampel: Fleksibiliti untuk Perancangan Masa Depan

","description":"

Dalam usaha mengejar kerjaya dan merealisasikan impian peribadi, semakin ramai wanita di Malaysia memilih prosedur pembekuan telur (egg freezing) sebagai pelan sandaran kesuburan. Pakej penyimpanan mengikut bilangan sampel setahun memberikan fleksibiliti kepada anda untuk menentukan berapa banyak peluang yang ingin anda simpan berdasarkan nasihat pakar kesuburan. Setiap sampel telur yang berkualiti tinggi disimpan menggunakan teknologi vitrifikasi (pembekuan pantas) bagi memastikan struktur sel kekal sempurna apabila ia dicairkan kelak.

\\n

Hello Doktor memahami bahawa setiap wanita mempunyai profil kesuburan yang berbeza. Melalui platform kami, anda boleh membandingkan pakej simpanan telur mengikut sampel yang ditawarkan di pusat kesuburan terkemuka di Malaysia. Kami membantu anda mendapatkan maklumat telus mengenai yuran prosedur dan kos simpanan tahunan, supaya anda boleh merancang bajet kesihatan anda dengan lebih bijak tanpa sebarang kos tersembunyi.

\\n

Kelebihan Hello Doktor:

\\n
    \\n
  • Membantu anda memahami jumlah sampel yang ideal untuk simpanan berdasarkan umur.
  • \\n
  • Akses kepada makmal simpanan tisu (cryopreservation) yang dipantau 24/7.
  • \\n
  • Rundingan mengenai kualiti embrio masa depan hasil daripada sampel yang disimpan.
  • \\n
  • Proses pendaftaran yang sulit dan menghormati privasi anda.
  • \\n
\\n

Kawal masa depan anda dengan pelan yang fleksibel. Mulakan langkah anda dengan menempah konsultasi di Hello Doktor hari ini.

"},"one_year":{"subtype":"Pakej 1 tahun","subtypeEng":"1-year package","title":"

Pakej Simpanan Telur 1 Tahun: Fleksibiliti Awal Untuk Perancangan Jangka Pendek

","description":"

Bagi ramai wanita di Malaysia, memutuskan untuk menjalani prosedur egg freezing atau pembekuan telur adalah satu langkah besar dalam memperkasakan hak kesuburan kendiri. Pakej simpanan 1 tahun selalunya menjadi pilihan bagi mereka yang ingin memulakan langkah pertama tanpa komitmen jangka masa yang terlalu lama. Ia sangat sesuai untuk wanita yang mungkin merancang untuk mendirikan rumah tangga atau menggunakan telur tersebut dalam masa terdekat, namun ingin memastikan kualiti telur mereka dikunci pada usia biologi sekarang.

\\n

Dalam tempoh satu tahun pertama ini, tumpuan utama diberikan kepada kualiti proses vitrifikasi (pembekuan pantas) dan pemantauan teliti di makmal kesuburan. Di Malaysia, pusat kesuburan yang bekerjasama dengan Hello Doktor menawarkan pakej tahunan yang telus, merangkumi kos penyimpanan di dalam tangki nitrogen cecair yang dipantau secara digital 24 jam sehari. Pakej 1 tahun ini juga memberikan ruang untuk anda menilai semula perancangan hidup anda setiap tahun sebelum memutuskan untuk menyambung tempoh simpanan.

\\n

Kelebihan menempah pakej 1 tahun melalui Hello Doktor:

\\n
    \\n
  • Komitmen jangka pendek yang memudahkan pengurusan bajet tahunan anda.
  • \\n
  • Akses kepada pusat cryopreservation bertaraf antarabangsa di Malaysia.
  • \\n
  • Sesuai untuk wanita yang sedang menjalani rawatan perubatan (seperti kemoterapi) yang memerlukan perlindungan kesuburan sementara.
  • \\n
  • Proses dokumentasi yang ringkas dan peringatan pembaharuan sebelum tempoh tamat.
  • \\n
\\n

Jangan biarkan faktor usia memberi tekanan kepada keputusan hidup anda. Mulakan dengan perlindungan satu tahun yang memberikan ketenangan minda. Tempah janji temu konsultasi anda di Hello Doktor hari ini.

"},"three_year":{"subtype":"Pakej 3 tahun","subtypeEng":"3-year package","title":"

Pakej Simpanan Telur 3 Tahun: Keseimbangan Antara Kerjaya dan Masa Depan

","description":"

Tempoh tiga tahun selalunya merupakan fasa kritikal bagi wanita berkerjaya di Malaysia\u2014mungkin anda sedang mengejar kenaikan pangkat, menyambung pengajian pascasiswazah, atau ingin mengukuhkan kestabilan kewangan sebelum membina keluarga. Pakej simpanan telur 3 tahun direka khusus untuk memberikan anda ruang bernafas yang lebih panjang. Dengan memilih pakej ini, anda tidak perlu bimbang tentang kenaikan kos yuran simpanan tahunan yang mungkin berlaku, kerana harga pakej biasanya telah dikunci (locked-in) untuk tempoh tersebut.

\\n

Di Malaysia, ramai wanita mendapati pakej 3 tahun adalah sweet spot atau pilihan yang paling seimbang dari segi nilai kewangan dan perancangan hidup. Ia memberikan masa yang cukup untuk anda membuat keputusan besar tanpa tekanan waktu biologikal yang semakin mengecil. Hello Doktor menghubungkan anda dengan klinik kesuburan yang mempunyai kepakaran tinggi dalam mengendalikan sampel jangka masa sederhana, memastikan integrasi data dan keselamatan sampel anda terjamin sepanjang tempoh 36 bulan tersebut.

\\n

Kenapa pakej 3 tahun di Hello Doktor menjadi pilihan?

\\n
    \\n
  • Penjimatan kos berbanding membayar yuran simpanan secara tahunan.
  • \\n
  • Memberikan masa yang cukup untuk wanita yang sedang mencari pasangan hidup yang sesuai.
  • \\n
  • Jaminan kestabilan suhu dan keselamatan makmal dalam jangka masa sederhana.
  • \\n
  • Konsultasi berkala mengenai kesihatan reproduktif sepanjang tempoh simpanan.
  • \\n
\\n

Ambil kawalan penuh ke atas garis masa hidup anda. Dengan pakej 3 tahun, anda melabur untuk ketenangan masa hadapan. Terokai pilihan pusat kesuburan terbaik melalui Hello Doktor sekarang.

"},"five_year":{"subtype":"Pakej 5 tahun","subtypeEng":"5-year package","title":"

Pakej Simpanan Telur 5 Tahun: Perlindungan Maksimum dan Nilai Terbaik

","description":"

Bagi wanita yang mahukan ketenangan minda mutlak, pakej simpanan telur 5 tahun adalah piawaian emas dalam pemeliharaan kesuburan di Malaysia. Pakej ini selalunya dipilih oleh wanita muda di awal 30-an yang sedar bahawa mereka mungkin tidak akan memulakan keluarga dalam masa terdekat. Dari sudut kewangan, pakej 5 tahun menawarkan nilai yang paling kompetitif, memberikan penjimatan yang besar berbanding yuran tahunan dan melindungi anda daripada inflasi kos perubatan pada masa akan datang.

\\n

Menyimpan telur selama 5 tahun memerlukan tahap kepercayaan yang tinggi terhadap fasiliti perubatan. Oleh itu, Hello Doktor hanya bekerjasama dengan hospital dan pusat kesuburan yang mempunyai sistem sokongan (backup) yang teguh dan rekod kejayaan thawing (pencairan) yang konsisten selepas simpanan jangka panjang. Dalam tempoh 5 tahun, anda boleh fokus sepenuhnya kepada pembangunan diri, pengembaraan, atau kestabilan ekonomi, dengan mengetahui bahawa peluang untuk mempunyai zuriat kandung sendiri tersimpan selamat dalam keadaan yang terbaik.

\\n

Kelebihan utama pakej 5 tahun melalui Hello Doktor:

\\n
    \\n
  • Kadar faedah harga yang terbaik dan paling menjimatkan untuk jangka masa panjang.
  • \\n
  • Ketenangan minda yang berpanjangan tanpa perlu memikirkan pembaharuan kontrak setiap tahun.
  • \\n
  • Akses eksklusif ke pusat kesuburan elit yang mempunyai teknologi penyimpanan tisu tercanggih.
  • \\n
  • Sokongan maklumat yang berterusan mengenai perkembangan teknologi IVF dan rawatan kesuburan.
  • \\n
\\n

Lima tahun adalah satu tempoh yang signifikan untuk perubahan hidup. Pastikan pilihan kesuburan anda sentiasa terbuka. Tempah slot saringan kesuburan dan bincangkan pakej 5 tahun anda di Hello Doktor hari ini.

"}},"HEALTH_SCREENER":{"pre-marriage":{"subtype":"Pra-perkahwinan","subtypeEng":"Pre-marriage","title":"

Saringan Pra-Perkahwinan: Persediaan Awal untuk Kebahagiaan Rumah Tangga

","description":"

Di Malaysia, pemeriksaan kesihatan pra-perkahwinan bukan sekadar rutin perubatan, tetapi merupakan satu langkah tanggungjawab terhadap pasangan dan bakal zuriat. Selain daripada ujian wajib bagi penganut agama tertentu, saringan menyeluruh merangkumi ujian penyakit berjangkit (seperti HIV, Hepatitis B, dan Syphilis), serta ujian genetik seperti Thalassemia yang sangat lazim dalam kalangan rakyat Malaysia. Mengetahui status kesihatan masing-masing membolehkan pasangan merancang masa depan dengan lebih baik dan mendapatkan rawatan awal jika perlu.

\\n

Hello Doktor menghubungkan anda dengan pakej saringan pra-perkahwinan yang komprehensif di klinik dan hospital dipercayai. Kami memahami bahawa fasa sebelum berkahwin adalah waktu yang sibuk, jadi kami menyediakan proses tempahan yang pantas dan keputusan ujian yang mudah difahami. Dengan saringan ini, anda bukan sahaja melindungi pasangan anda, tetapi juga memastikan asas keluarga yang sihat dari segi fizikal dan mental.

\\n

Kelebihan Hello Doktor:

\\n
    \\n
  • Pakej yang dirancang khas untuk bakal pengantin lelaki dan perempuan.
  • \\n
  • Sesi konsultasi sulit bersama doktor mengenai pengurusan risiko genetik.
  • \\n
  • Lokasi fasiliti yang strategik dan mesra pelanggan di seluruh Malaysia.
  • \\n
  • Membantu anda merancang langkah seterusnya seperti vaksinasi pra-kehamilan.
  • \\n
\\n

Bina ikatan perkahwinan anda di atas landasan kesihatan yang kukuh. Tempah pakej saringan pra-perkahwinan anda melalui Hello Doktor hari ini.

"},"pre-pregnancy":{"subtype":"Pra-kehamilan","subtypeEng":"Pre-pregnancy","title":"

Saringan Pra-Kehamilan: Langkah Bijak Memulakan Perjalanan Keibubapaan

","description":"

Persediaan untuk hamil di Malaysia bermula jauh sebelum ujian kehamilan menunjukkan keputusan positif. Saringan pra-kehamilan (pre-pregnancy) adalah pemeriksaan khusus untuk memastikan tubuh badan wanita berada dalam keadaan optimum untuk mengandung. Ia merangkumi ujian tahap hemoglobin, status antibodi terhadap Rubella dan Hepatitis, serta pemeriksaan fungsi organ utama. Bagi wanita di Malaysia, saringan ini juga penting untuk mengenal pasti risiko penyakit kronik seperti kencing manis atau darah tinggi yang boleh menjejaskan kesihatan ibu dan bayi semasa mengandung.

\\n

Hello Doktor sedia membantu anda dan pasangan merancang kehamilan dengan lebih teratur. Kami menghubungkan anda dengan pakar sakit puan yang akan memberikan nasihat mengenai pengambilan asid folik, berat badan ideal, dan gaya hidup subur. Dengan saringan pra-kehamilan melalui Hello Doktor, anda memberikan permulaan yang paling sihat dan selamat untuk cahaya mata anda kelak.

\\n

Kenapa pilih Hello Doktor?

\\n
    \\n
  • Fokus kepada pengesanan awal risiko komplikasi kehamilan.
  • \\n
  • Panduan vaksinasi yang perlu diambil sebelum hamil (seperti MMR dan Influenza).
  • \\n
  • Perkhidmatan konsultasi kesuburan asas untuk membantu anda hamil dengan lebih cepat.
  • \\n
  • Akses kepada rangkaian pusat saringan wanita yang moden dan selesa.
  • \\n
\\n

Setiap bayi berhak mendapat permulaan yang terbaik. Pastikan anda bersedia sepenuhnya. Tempah saringan pra-kehamilan anda di Hello Doktor hari ini.

"}}}'),h=JSON.parse('{"VACCINE":{"hpv":{"subtype":"Vi r\xfat HPV","subtypeEng":"HPV","title":"

V\u1eafc xin HPV: ph\xf2ng ng\u1eeba c\xe1c b\u1ec7nh ung th\u01b0 nguy hi\u1ec3m (c\u1ed5 t\u1eed cung, v\xf2m h\u1ecdng, h\u1eadu m\xf4n, \xe2m h\u1ed9, \xe2m \u0111\u1ea1o, d\u01b0\u01a1ng v\u1eadt) v\xe0 m\u1ee5n c\xf3c sinh d\u1ee5c (s\xf9i m\xe0o g\xe0) \u1edf c\u1ea3 nam v\xe0 n\u1eef, do c\xe1c tu\xfdp virus HPV 6, 11, 16, 18, 31, 33, 45, 52, 58 g\xe2y ra, gi\xfap b\u1ea3o v\u1ec7 s\u1ee9c kh\u1ecfe v\xe0 gi\u1ea3m nguy c\u01a1 l\xe2y nhi\u1ec5m cho ng\u01b0\u1eddi kh\xe1c

","description":"

T\u1ea1i sao vi\u1ec7c ch\u1ee7 \u0111\u1ed9ng ti\xeam ng\u1eeba l\u1ea1i quan tr\u1ecdng \u0111\u1ebfn v\u1eady? Th\u1ef1c t\u1ebf, HPV l\xe2y truy\u1ec1n r\u1ea5t nhanh qua \u0111\u01b0\u1eddng ti\u1ebfp x\xfac da v\xe0 quan h\u1ec7 t\xecnh d\u1ee5c. Nhi\u1ec1u ng\u01b0\u1eddi mang virus trong c\u01a1 th\u1ec3 m\xe0 kh\xf4ng h\u1ec1 hay bi\u1ebft v\xec kh\xf4ng c\xf3 tri\u1ec7u ch\u1ee9ng r\xf5 r\u1ec7t, v\xf4 t\xecnh l\xe2y truy\u1ec1n cho ng\u01b0\u1eddi th\xe2n y\xeau. Vi\u1ec7c ti\xeam v\u1eafc xin, \u0111\u1eb7c bi\u1ec7t l\xe0 lo\u1ea1i th\u1ebf h\u1ec7 m\u1edbi b\u1ea3o v\u1ec7 kh\u1ecfi 9 ch\u1ee7ng virus ph\u1ed5 bi\u1ebfn, ch\xednh l\xe0 c\xe1ch b\u1ea1n \u201c\u0111\xf3ng b\u0103ng\u201d nguy c\u01a1 m\u1eafc b\u1ec7nh t\u1eeb khi c\xf2n tr\u1ebb. \\n\\n\u0110\u1ed9 tu\u1ed5i v\xe0ng \u0111\u1ec3 ti\xeam ch\u1ee7ng l\xe0 t\u1eeb 9 \u0111\u1ebfn 26 tu\u1ed5i, nh\u01b0ng ngay c\u1ea3 khi b\u1ea1n \u0111\xe3 tr\xean tu\u1ed5i n\xe0y, vi\u1ec7c tham v\u1ea5n b\xe1c s\u0129 \u0111\u1ec3 ti\xeam ph\xf2ng v\u1eabn mang l\u1ea1i l\u1ee3i \xedch b\u1ea3o v\u1ec7 \u0111\xe1ng k\u1ec3.

\\n

HelloBacsi \u0111\u1ed3ng h\xe0nh c\xf9ng b\u1ea1n trong vi\u1ec7c ti\u1ebfp c\u1eadn d\u1ecbch v\u1ee5 ti\xeam ch\u1ee7ng HPV t\u1ea1i c\xe1c c\u01a1 s\u1edf y t\u1ebf uy t\xedn. B\u1ea1n kh\xf4ng c\xf2n ph\u1ea3i lo l\u1eafng v\u1ec1 vi\u1ec7c h\u1ebft thu\u1ed1c hay ch\u1edd \u0111\u1ee3i qu\xe1 l\xe2u t\u1ea1i c\xe1c trung t\xe2m ti\xeam ch\u1ee7ng c\xf4ng c\u1ed9ng.

\\n

L\u1ee3i \xedch khi \u0111\u1eb7t l\u1ecbch t\u1ea1i HelloBacsi:

\\n
    \\n
  • \u0110\u1ea3m b\u1ea3o ngu\u1ed3n v\u1eafc xin ch\xednh h\xe3ng, quy tr\xecnh b\u1ea3o qu\u1ea3n \u0111\u1ea1t chu\u1ea9n GSP.
  • \\n
  • \u0110\u1ed9i ng\u0169 b\xe1c s\u0129 t\u01b0 v\u1ea5n k\u1ef9 l\u01b0\u1ee1ng v\u1ec1 ph\xe1c \u0111\u1ed3 ti\xeam ph\xf9 h\u1ee3p v\u1edbi t\xecnh tr\u1ea1ng s\u1ee9c kh\u1ecfe c\xe1 nh\xe2n.
  • \\n
  • Th\u1ee7 t\u1ee5c nhanh g\u1ecdn, gi\xfap b\u1ea1n ti\u1ebft ki\u1ec7m th\u1eddi gian t\u1ed1i \u0111a trong nh\u1ecbp s\u1ed1ng b\u1eadn r\u1ed9n.
  • \\n
\\n

\u0110\u1eebng \u0111\u1ec3 nh\u1eefng r\u1ee7i ro c\xf3 th\u1ec3 ph\xf2ng ng\u1eeba \u0111\u01b0\u1ee3c l\xe0m \u1ea3nh h\u01b0\u1edfng \u0111\u1ebfn t\u01b0\u01a1ng lai v\xe0 h\u1ea1nh ph\xfac c\u1ee7a b\u1ea1n. H\xe3y \u0111\u1ec3 HelloBacsi gi\xfap b\u1ea1n b\u1ea3o v\u1ec7 b\u1ea3n th\xe2n ngay t\u1eeb h\xf4m nay b\u1eb1ng c\xe1ch \u0111\u1eb7t l\u1ecbch ti\xeam v\u1eafc xin HPV ch\u1ec9 v\u1edbi v\xe0i thao t\xe1c \u0111\u01a1n gi\u1ea3n.

"},"diphtheria":{"subtype":"B\u1ea1ch h\u1ea7u","subtypeEng":"Diphtheria","title":"

C\u1ea3nh gi\xe1c v\u1edbi b\u1ec7nh B\u1ea1ch h\u1ea7u: H\xe3y b\u1ea3o v\u1ec7 gia \u0111\xecnh b\u1eb1ng v\u1eafc xin \u0111\xfang l\u1ecbch

","description":"

B\u1ec7nh b\u1ea1ch h\u1ea7u l\xe0 m\u1ed9t b\u1ec7nh nhi\u1ec5m tr\xf9ng c\u1ea5p t\xednh do vi khu\u1ea9n Corynebacterium diphtheriae g\xe2y ra, c\xf3 kh\u1ea3 n\u0103ng l\xe2y lan m\u1ea1nh m\u1ebd qua \u0111\u01b0\u1eddng h\xf4 h\u1ea5p. T\u1ea1i Vi\u1ec7t Nam, nh\u1eefng \u1ed5 d\u1ecbch b\u1ea1ch h\u1ea7u r\u1ea3i r\xe1c trong nh\u1eefng n\u0103m qua l\xe0 l\u1eddi c\u1ea3nh b\xe1o r\u1eb1ng c\u0103n b\u1ec7nh n\xe0y ch\u01b0a bao gi\u1edd th\u1ef1c s\u1ef1 bi\u1ebfn m\u1ea5t. \\n\\nKhi x\xe2m nh\u1eadp v\xe0o c\u01a1 th\u1ec3, vi khu\u1ea9n b\u1ea1ch h\u1ea7u s\u1ebd t\u1ea1o ra m\u1ed9t l\u1edbp gi\u1ea3 m\u1ea1c m\xe0u tr\u1eafng x\xe1m \u1edf tuy\u1ebfn h\u1ea1nh nh\xe2n, h\u1ea7u h\u1ecdng, g\xe2y kh\xf3 th\u1edf v\xe0 nhi\u1ec5m \u0111\u1ed9c n\u1eb7ng. N\u1ebfu kh\xf4ng \u0111\u01b0\u1ee3c \u0111i\u1ec1u tr\u1ecb k\u1ecbp th\u1eddi, bi\u1ebfn ch\u1ee9ng vi\xeam c\u01a1 tim v\xe0 t\u1ed5n th\u01b0\u01a1ng h\u1ec7 th\u1ea7n kinh trung \u01b0\u01a1ng c\xf3 th\u1ec3 d\u1eabn \u0111\u1ebfn t\u1eed vong nhanh ch\xf3ng.

\\n

\u0110\u1ed1i v\u1edbi tr\u1ebb em, vi\u1ec7c ti\xeam ch\u1ee7ng \u0111\u1ea7y \u0111\u1ee7 c\xe1c m\u0169i v\u1eafc xin c\u01a1 b\u1ea3n trong ch\u01b0\u01a1ng tr\xecnh ti\xeam ch\u1ee7ng m\u1edf r\u1ed9ng l\xe0 b\u1eaft bu\u1ed9c. Tuy nhi\xean, m\u1ed9t sai l\u1ea7m ph\u1ed5 bi\u1ebfn l\xe0 nhi\u1ec1u ng\u01b0\u1eddi tr\u01b0\u1edfng th\xe0nh cho r\u1eb1ng m\xecnh \u0111\xe3 mi\u1ec5n d\u1ecbch su\u1ed1t \u0111\u1eddi. Th\u1ef1c t\u1ebf, kh\xe1ng th\u1ec3 ch\u1ed1ng b\u1ea1ch h\u1ea7u s\u1ebd gi\u1ea3m d\u1ea7n theo th\u1eddi gian. Do \u0111\xf3, c\xe1c chuy\xean gia y t\u1ebf lu\xf4n khuy\u1ebfn c\xe1o th\u1ef1c hi\u1ec7n c\xe1c m\u0169i ti\xeam nh\u1eafc l\u1ea1i m\u1ed7i 10 n\u0103m \u0111\u1ec3 duy tr\xec h\xe0ng r\xe0o b\u1ea3o v\u1ec7 v\u1eefng ch\u1eafc.

\\n

Th\xf4ng qua HelloBacsi, vi\u1ec7c \u0111\u1eb7t l\u1ecbch ti\xeam ch\u1ee7ng c\xe1c lo\u1ea1i v\u1eafc xin ph\u1ed1i h\u1ee3p c\xf3 ch\u1ee9a th\xe0nh ph\u1ea7n b\u1ea1ch h\u1ea7u (nh\u01b0 v\u1eafc xin 6 trong 1 cho tr\u1ebb em ho\u1eb7c Td cho ng\u01b0\u1eddi l\u1edbn) tr\u1edf n\xean d\u1ec5 d\xe0ng h\u01a1n bao gi\u1edd h\u1ebft. Ch\xfang t\xf4i k\u1ebft n\u1ed1i b\u1ea1n v\u1edbi c\xe1c b\u1ec7nh vi\u1ec7n v\xe0 trung t\xe2m ti\xeam ch\u1ee7ng hi\u1ec7n \u0111\u1ea1i, \u0111\u1ea3m b\u1ea3o quy tr\xecnh ti\xeam ch\u1ee7ng an to\xe0n, nhanh ch\xf3ng.

\\n

\u01afu \u0111i\u1ec3m khi s\u1eed d\u1ee5ng d\u1ecbch v\u1ee5 qua HelloBacsi:

\\n
    \\n
  • C\u1eadp nh\u1eadt li\xean t\u1ee5c c\xe1c lo\u1ea1i v\u1eafc xin m\u1edbi nh\u1ea5t t\u1eeb c\xe1c nh\xe0 s\u1ea3n xu\u1ea5t h\xe0ng \u0111\u1ea7u th\u1ebf gi\u1edbi.
  • \\n
  • Quy tr\xecnh kh\xe1m s\xe0ng l\u1ecdc tr\u01b0\u1edbc ti\xeam nghi\xeam ng\u1eb7t b\u1edfi b\xe1c s\u0129 chuy\xean khoa.
  • \\n
  • Qu\u1ea3n l\xfd l\u1ecbch ti\xeam th\xf4ng minh, gi\xfap b\u1ea1n kh\xf4ng b\u1ecf l\u1ee1 b\u1ea5t k\u1ef3 m\u0169i nh\u1eafc l\u1ea1i quan tr\u1ecdng n\xe0o.
  • \\n
\\n

H\xe3y ch\u1ee7 \u0111\u1ed9ng b\u1ea3o v\u1ec7 l\xe1 ph\u1ed5i v\xe0 tr\xe1i tim c\u1ee7a gia \u0111\xecnh b\u1ea1n tr\u01b0\u1edbc s\u1ef1 t\u1ea5n c\xf4ng c\u1ee7a vi khu\u1ea9n b\u1ea1ch h\u1ea7u. \u0110\u1eb7t l\u1ecbch kh\xe1m v\xe0 ti\xeam ch\u1ee7ng ngay h\xf4m nay t\u1ea1i HelloBacsi!

"},"tetanus":{"subtype":"U\u1ed1n v\xe1n","subtypeEng":"Tetanus","title":"

V\u1eafc xin U\u1ed1n v\xe1n: \u0110\u1eebng \u0111\u1ec3 nh\u1eefng v\u1ebft th\u01b0\u01a1ng nh\u1ecf tr\u1edf th\xe0nh hi\u1ec3m h\u1ecda

","description":"

U\u1ed1n v\xe1n (hay c\xf2n g\u1ecdi l\xe0 phong \u0111\xf2n g\xe1nh) l\xe0 m\u1ed9t b\u1ec7nh truy\u1ec1n nhi\u1ec5m c\u1ea5p t\xednh c\u1ef1c k\u1ef3 nguy hi\u1ec3m v\u1edbi t\u1ef7 l\u1ec7 t\u1eed vong r\u1ea5t cao n\u1ebfu kh\xf4ng \u0111\u01b0\u1ee3c c\u1ea5p c\u1ee9u k\u1ecbp th\u1eddi. Vi khu\u1ea9n u\u1ed1n v\xe1n t\u1ed3n t\u1ea1i d\u01b0\u1edbi d\u1ea1ng b\xe0o t\u1eed trong \u0111\u1ea5t, b\u1ee5i \u0111\u01b0\u1eddng, ph\xe2n gia s\xfac v\xe0 c\xe1c v\u1eadt d\u1ee5ng kim lo\u1ea1i r\u1ec9 s\xe9t. Ch\u1ec9 c\u1ea7n m\u1ed9t v\u1ebft tr\u1ea7y x\u01b0\u1edbc nh\u1ecf, m\u1ed9t v\u1ebft b\u1ecfng hay th\u1eadm ch\xed l\xe0 v\u1ebft kim \u0111\xe2m, vi khu\u1ea9n c\xf3 th\u1ec3 x\xe2m nh\u1eadp, gi\u1ea3i ph\xf3ng \u0111\u1ed9c t\u1ed1 g\xe2y co c\u1ee9ng c\u01a1 to\xe0n th\xe2n v\xe0 nh\u1eefng c\u01a1n co gi\u1eadt \u0111au \u0111\u1edbn.

\\n

\u0110\u1eb7c bi\u1ec7t t\u1ea1i Vi\u1ec7t Nam, v\u1edbi \u0111\u1eb7c th\xf9 nhi\u1ec1u ng\u01b0\u1eddi l\xe0m vi\u1ec7c trong l\u0129nh v\u1ef1c n\xf4ng nghi\u1ec7p, x\xe2y d\u1ef1ng ho\u1eb7c th\u01b0\u1eddng xuy\xean di chuy\u1ec3n b\u1eb1ng xe m\xe1y, nguy c\u01a1 g\u1eb7p ph\u1ea3i c\xe1c tai n\u1ea1n g\xe2y v\u1ebft th\u01b0\u01a1ng h\u1edf l\xe0 r\u1ea5t l\u1edbn. Ti\xeam v\u1eafc xin u\u1ed1n v\xe1n kh\xf4ng ch\u1ec9 d\xe0nh cho ph\u1ee5 n\u1eef mang thai \u0111\u1ec3 ph\xf2ng u\u1ed1n v\xe1n s\u01a1 sinh, m\xe0 c\xf2n l\xe0 y\xeau c\u1ea7u c\u1ea5p thi\u1ebft cho m\u1ecdi ng\u01b0\u1eddi tr\u01b0\u1edfng th\xe0nh. M\u1ed9t l\u1ecbch ti\xeam ph\xf2ng \u0111\u1ea7y \u0111\u1ee7 v\xe0 c\xe1c m\u0169i nh\u1eafc l\u1ea1i \u0111\u1ecbnh k\u1ef3 s\u1ebd gi\xfap c\u01a1 th\u1ec3 lu\xf4n c\xf3 s\u1eb5n kh\xe1ng th\u1ec3 \u0111\u1ec3 trung h\xf2a \u0111\u1ed9c t\u1ed1 ngay khi c\xf3 s\u1ef1 c\u1ed1 x\u1ea3y ra.

\\n

HelloBacsi mang \u0111\u1ebfn gi\u1ea3i ph\xe1p \u0111\u1eb7t l\u1ecbch ti\xeam v\u1eafc xin u\u1ed1n v\xe1n nhanh ch\xf3ng t\u1ea1i c\xe1c c\u01a1 s\u1edf y t\u1ebf g\u1ea7n nh\u1ea5t. Thay v\xec ph\u1ea3i lo l\u1eafng t\xecm ki\u1ebfm n\u01a1i c\xf3 thu\u1ed1c khi g\u1eb7p tai n\u1ea1n, b\u1ea1n ho\xe0n to\xe0n c\xf3 th\u1ec3 ch\u1ee7 \u0111\u1ed9ng ti\xeam ph\xf2ng tr\u01b0\u1edbc \u0111\u1ec3 an t\xe2m t\u1eadn h\u01b0\u1edfng cu\u1ed9c s\u1ed1ng v\xe0 c\xf4ng vi\u1ec7c.

\\n

T\u1ea1i sao n\xean ch\u1ecdn HelloBacsi \u0111\u1ec3 \u0111\u1eb7t l\u1ecbch?

\\n
    \\n
  • H\u1ec7 th\u1ed1ng \u0111\u1ed1i t\xe1c l\xe0 c\xe1c b\u1ec7nh vi\u1ec7n, ph\xf2ng kh\xe1m c\xf3 uy t\xedn, \u0111\u1ea3m b\u1ea3o an to\xe0n y khoa.
  • \\n
  • Cung c\u1ea5p \u0111\u1ea7y \u0111\u1ee7 c\xe1c lo\u1ea1i v\u1eafc xin \u0111\u01a1n l\u1ebb ho\u1eb7c ph\u1ed1i h\u1ee3p t\xf9y theo nhu c\u1ea7u v\xe0 \u0111\u1ed9 tu\u1ed5i.
  • \\n
  • T\u01b0 v\u1ea5n chi ti\u1ebft c\xe1ch x\u1eed l\xfd v\u1ebft th\u01b0\u01a1ng v\xe0 ph\xe1c \u0111\u1ed3 ti\xeam b\u1ed5 sung n\u1ebfu c\u1ea7n thi\u1ebft.
  • \\n
\\n

S\u1ee9c kh\u1ecfe l\xe0 v\u1ed1n qu\xfd nh\u1ea5t, v\xe0 ph\xf2ng b\u1ec7nh lu\xf4n t\u1ed1t h\u01a1n ch\u1eefa b\u1ec7nh. \u0110\u1eebng ch\u1ee7 quan v\u1edbi b\u1ec7nh u\u1ed1n v\xe1n! H\xe3y \u0111\u1ec3 HelloBacsi h\u1ed7 tr\u1ee3 b\u1ea1n x\xe2y d\u1ef1ng h\xe0ng r\xe0o b\u1ea3o v\u1ec7 v\u1eefng ch\u1eafc ngay t\u1eeb h\xf4m nay b\u1eb1ng c\xe1ch \u0111\u0103ng k\xfd ti\xeam ch\u1ee7ng tr\u1ef1c tuy\u1ebfn.

"},"pertussis":{"subtype":"Ho g\xe0","subtypeEng":"Pertussis (Whooping cough)","title":"

V\u1eafc xin Ho g\xe0: B\u1ea3o v\u1ec7 con y\xeau t\u1eeb nh\u1eefng h\u01a1i th\u1edf \u0111\u1ea7u \u0111\u1eddi

","description":"

Ho g\xe0 l\xe0 m\u1ed9t b\u1ec7nh nhi\u1ec5m tr\xf9ng \u0111\u01b0\u1eddng h\xf4 h\u1ea5p c\u1ea5p t\xednh do vi khu\u1ea9n g\xe2y ra, \u0111\u1eb7c bi\u1ec7t nguy hi\u1ec3m \u0111\u1ed1i v\u1edbi tr\u1ebb s\u01a1 sinh v\xe0 tr\u1ebb nh\u1ecf. T\u1ea1i Vi\u1ec7t Nam, ho g\xe0 th\u01b0\u1eddng b\xf9ng ph\xe1t th\xe0nh d\u1ecbch \u1edf nh\u1eefng khu v\u1ef1c c\xf3 t\u1ef7 l\u1ec7 ti\xeam ch\u1ee7ng th\u1ea5p. \u0110\u1eb7c tr\u01b0ng c\u1ee7a b\u1ec7nh l\xe0 nh\u1eefng c\u01a1n ho r\u0169 r\u01b0\u1ee3i, k\xe9o d\xe0i, khi\u1ebfn tr\u1ebb \u0111\u1ecf m\u1eb7t, t\xedm t\xe1i v\xe0 sau \u0111\xf3 l\xe0 ti\u1ebfng r\xedt nh\u01b0 ti\u1ebfng g\xe0 g\xe1y. \u0110\u1ed1i v\u1edbi tr\u1ebb d\u01b0\u1edbi 6 th\xe1ng tu\u1ed5i, ho g\xe0 kh\xf4ng ch\u1ec9 g\xe2y m\u1ec7t m\u1ecfi m\xe0 c\xf2n d\u1eabn \u0111\u1ebfn c\xe1c bi\u1ebfn ch\u1ee9ng n\u1eb7ng n\u1ec1 nh\u01b0 vi\xeam ph\u1ed5i, t\u1ed5n th\u01b0\u01a1ng n\xe3o do thi\u1ebfu oxy, th\u1eadm ch\xed l\xe0 t\u1eed vong.

\\n

M\u1ed9t \u0111i\u1ec3m \u0111\xe1ng l\u01b0u \xfd l\xe0 ng\u01b0\u1eddi l\u1edbn th\u01b0\u1eddng l\xe0 ngu\u1ed3n l\xe2y b\u1ec7nh ch\xednh cho tr\u1ebb nh\u1ecf m\xe0 kh\xf4ng h\u1ec1 hay bi\u1ebft. C\xe1c tri\u1ec7u ch\u1ee9ng \u1edf ng\u01b0\u1eddi l\u1edbn th\u01b0\u1eddng nh\u1eb9, gi\u1ed1ng nh\u01b0 c\u1ea3m l\u1ea1nh th\xf4ng th\u01b0\u1eddng, khi\u1ebfn ch\xfang ta ch\u1ee7 quan. Do \u0111\xf3, vi\u1ec7c ti\xeam v\u1eafc xin nh\u1eafc l\u1ea1i cho ng\u01b0\u1eddi tr\u01b0\u1edfng th\xe0nh v\xe0 \u0111\u1eb7c bi\u1ec7t l\xe0 ph\u1ee5 n\u1eef mang thai l\xe0 c\u1ef1c k\u1ef3 quan tr\u1ecdng. Ti\xeam v\u1eafc xin cho m\u1eb9 b\u1ea7u gi\xfap truy\u1ec1n kh\xe1ng th\u1ec3 sang con, b\u1ea3o v\u1ec7 b\xe9 trong giai \u0111o\u1ea1n kho\u1ea3ng tr\u1ed1ng mi\u1ec5n d\u1ecbch tr\u01b0\u1edbc khi b\xe9 \u0111\u1ee7 tu\u1ed5i ti\xeam m\u0169i \u0111\u1ea7u ti\xean.

\\n

HelloBacsi k\u1ebft n\u1ed1i b\u1ea1n v\u1edbi c\xe1c trung t\xe2m ti\xeam ch\u1ee7ng uy t\xedn, cung c\u1ea5p c\xe1c lo\u1ea1i v\u1eafc xin ph\u1ed1i h\u1ee3p hi\u1ec7n \u0111\u1ea1i nh\u01b0 5 trong 1 ho\u1eb7c 6 trong 1 cho tr\u1ebb, v\xe0 v\u1eafc xin Tdap cho ng\u01b0\u1eddi l\u1edbn. Ch\xfang t\xf4i cam k\u1ebft mang l\u1ea1i tr\u1ea3i nghi\u1ec7m ti\xeam ch\u1ee7ng an to\xe0n, chuy\xean nghi\u1ec7p v\xe0 t\u1eadn t\xe2m nh\u1ea5t.

\\n

T\u1ea1i sao b\u1ea1n n\xean ch\u1ecdn \u0111\u1eb7t l\u1ecbch qua HelloBacsi?

\\n
    \\n
  • H\u1ec7 th\u1ed1ng b\xe0i vi\u1ebft chuy\xean s\xe2u gi\xfap b\u1ea1n nh\u1eadn di\u1ec7n s\u1edbm c\xe1c d\u1ea5u hi\u1ec7u c\u1ee7a b\u1ec7nh ho g\xe0.
  • \\n
  • \u0110\u1eb7t l\u1ecbch nhanh ch\xf3ng t\u1ea1i c\xe1c c\u01a1 s\u1edf y t\u1ebf c\xf3 quy tr\xecnh ki\u1ec3m so\xe1t nhi\u1ec5m khu\u1ea9n nghi\xeam ng\u1eb7t.
  • \\n
  • T\u01b0 v\u1ea5n ph\xe1c \u0111\u1ed3 ti\xeam ch\u1ee7ng v\xe2y quanh \u0111\u1ec3 b\u1ea3o v\u1ec7 tr\u1ebb s\u01a1 sinh m\u1ed9t c\xe1ch to\xe0n di\u1ec7n.
  • \\n
  • L\u01b0u tr\u1eef l\u1ecbch s\u1eed ti\xeam ch\u1ee7ng gi\xfap b\u1ea1n d\u1ec5 d\xe0ng theo d\xf5i s\u1ee9c kh\u1ecfe gia \u0111\xecnh.
  • \\n
\\n

H\xe3y \u0111\u1ec3 v\u1eafc xin ho g\xe0 tr\u1edf th\xe0nh l\xe1 ch\u1eafn b\u1ea3o v\u1ec7 ph\u1ed5i v\xe0 s\u1ef1 ph\xe1t tri\u1ec3n c\u1ee7a con tr\u1ebb. Ch\u1ee7 \u0111\u1ed9ng ti\xeam ph\xf2ng l\xe0 h\xe0nh \u0111\u1ed9ng y\xeau th\u01b0\u01a1ng thi\u1ebft th\u1ef1c nh\u1ea5t. \u0110\u1eb7t l\u1ecbch ngay tr\xean HelloBacsi \u0111\u1ec3 \u0111\u01b0\u1ee3c h\u1ed7 tr\u1ee3 t\u1ed1t nh\u1ea5t!

"},"flu":{"subtype":"C\xfam m\xf9a","subtypeEng":"Flu","title":"

V\u1eafc xin C\xfam m\xf9a: B\u1ea3o v\u1ec7 s\u1ee9c kh\u1ecfe c\u1ea3 gia \u0111\xecnh tr\u01b0\u1edbc bi\u1ebfn \u0111\u1ed5i th\u1eddi ti\u1ebft

","description":"

C\xfam m\xf9a l\xe0 b\u1ec7nh truy\u1ec1n nhi\u1ec5m c\u1ea5p t\xednh do c\xe1c ch\u1ee7ng virus c\xfam g\xe2y ra. T\u1ea1i Vi\u1ec7t Nam, v\u1edbi \u0111i\u1ec1u ki\u1ec7n kh\xed h\u1eadu nhi\u1ec7t \u0111\u1edbi \u1ea9m v\xe0 \xf4 nhi\u1ec5m m\xf4i tr\u01b0\u1eddng ng\xe0y c\xe0ng t\u0103ng, b\u1ec7nh c\xfam c\xf3 th\u1ec3 x\u1ea3y ra quanh n\u0103m nh\u01b0ng th\u01b0\u1eddng \u0111\u1ea1t \u0111\u1ec9nh v\xe0o giai \u0111o\u1ea1n chuy\u1ec3n m\xf9a. Kh\xe1c v\u1edbi c\u1ea3m l\u1ea1nh th\xf4ng th\u01b0\u1eddng, c\xfam m\xf9a c\xf3 th\u1ec3 d\u1eabn \u0111\u1ebfn c\xe1c bi\u1ebfn ch\u1ee9ng nguy hi\u1ec3m nh\u01b0 vi\xeam ph\u1ed5i, vi\xeam c\u01a1 tim, ho\u1eb7c l\xe0m tr\u1ea7m tr\u1ecdng th\xeam c\xe1c b\u1ec7nh l\xfd n\u1ec1n nh\u01b0 tim m\u1ea1ch, hen suy\u1ec5n \u1edf ng\u01b0\u1eddi cao tu\u1ed5i v\xe0 tr\u1ebb nh\u1ecf.

\\n

Virus c\xfam c\xf3 kh\u1ea3 n\u0103ng bi\u1ebfn \u0111\u1ed5i li\xean t\u1ee5c, \u0111\xf3 l\xe0 l\xfd do t\u1ea1i sao c\xe1c chuy\xean gia y t\u1ebf khuy\u1ebfn c\xe1o m\u1ecdi ng\u01b0\u1eddi n\xean ti\xeam nh\u1eafc l\u1ea1i v\u1eafc xin c\xfam m\u1ed7i n\u0103m m\u1ed9t l\u1ea7n. Vi\u1ec7c ti\xeam ch\u1ee7ng kh\xf4ng ch\u1ec9 gi\xfap gi\u1ea3m t\u1ef7 l\u1ec7 m\u1eafc b\u1ec7nh m\xe0 c\xf2n gi\u1ea3m \u0111\xe1ng k\u1ec3 nguy c\u01a1 nh\u1eadp vi\u1ec7n v\xe0 t\u1eed vong do bi\u1ebfn ch\u1ee9ng c\xfam. \u0110\u1eb7c bi\u1ec7t, \u0111\u1ed1i v\u1edbi ph\u1ee5 n\u1eef \u0111ang c\xf3 k\u1ebf ho\u1ea1ch mang thai, ti\xeam v\u1eafc xin c\xfam l\xe0 b\u01b0\u1edbc chu\u1ea9n b\u1ecb quan tr\u1ecdng \u0111\u1ec3 b\u1ea3o v\u1ec7 s\u1ee9c kh\u1ecfe m\u1eb9 v\xe0 b\xe9 trong su\u1ed1t thai k\u1ef3.

\\n

Th\xf4ng qua HelloBacsi, vi\u1ec7c ti\u1ebfp c\u1eadn d\u1ecbch v\u1ee5 ti\xeam ch\u1ee7ng c\xfam m\xf9a tr\u1edf n\xean \u0111\u01a1n gi\u1ea3n v\xe0 thu\u1eadn ti\u1ec7n h\u01a1n bao gi\u1edd h\u1ebft. Ch\xfang t\xf4i cung c\u1ea5p th\xf4ng tin minh b\u1ea1ch v\u1ec1 c\xe1c lo\u1ea1i v\u1eafc xin c\xfam m\u1edbi nh\u1ea5t, \u0111\u01b0\u1ee3c T\u1ed5 ch\u1ee9c Y t\u1ebf Th\u1ebf gi\u1edbi (WHO) khuy\u1ebfn c\xe1o cho khu v\u1ef1c Nam b\xe1n c\u1ea7u v\xe0 B\u1eafc b\xe1n c\u1ea7u.

\\n

L\u1ee3i \xedch khi \u0111\u1ed3ng h\xe0nh c\xf9ng HelloBacsi:

\\n
    \\n
  • C\u1eadp nh\u1eadt c\xe1c d\xf2ng v\u1eafc xin c\xfam t\u1ee9 gi\xe1 (Quadrivalent) gi\xfap b\u1ea3o v\u1ec7 t\u1ed1i \u0111a tr\u01b0\u1edbc 4 ch\u1ee7ng virus ph\u1ed5 bi\u1ebfn.
  • \\n
  • Quy tr\xecnh \u0111\u1eb7t l\u1ecbch tr\u1ef1c tuy\u1ebfn linh ho\u1ea1t, gi\xfap b\u1ea1n ch\u1ee7 \u0111\u1ed9ng th\u1eddi gian cho b\u1ea3n th\xe2n v\xe0 gia \u0111\xecnh.
  • \\n
  • \u0110\u1ed9i ng\u0169 b\xe1c s\u0129 t\u01b0 v\u1ea5n t\u1eadn t\xe2m v\u1ec1 l\u1ee3i \xedch c\u1ee7a v\u1eafc xin \u0111\u1ed1i v\u1edbi t\u1eebng nh\xf3m \u0111\u1ed1i t\u01b0\u1ee3ng c\u1ee5 th\u1ec3.
  • \\n
  • Chi ph\xed h\u1ee3p l\xfd v\xe0 th\u01b0\u1eddng xuy\xean c\xf3 c\xe1c g\xf3i ti\xeam ch\u1ee7ng \u01b0u \u0111\xe3i cho gia \u0111\xecnh.
  • \\n
\\n

\u0110\u1eebng \u0111\u1ec3 c\xfam m\xf9a l\xe0m gi\xe1n \u0111o\u1ea1n c\xf4ng vi\u1ec7c v\xe0 nh\u1eefng d\u1ef1 \u0111\u1ecbnh c\u1ee7a b\u1ea1n. H\xe3y ch\u1ee7 \u0111\u1ed9ng \u0111\u1ea7u t\u01b0 cho s\u1ee9c kh\u1ecfe ngay h\xf4m nay b\u1eb1ng c\xe1ch \u0111\u1eb7t l\u1ecbch ti\xeam v\u1eafc xin c\xfam tr\xean HelloBacsi!

"},"hepatitisb":{"subtype":"Vi\xeam gan B","subtypeEng":"Hepatitis B","title":"

V\u1eafc xin Vi\xeam gan B: B\u1ea3o v\u1ec7 gan, ph\xf2ng ng\u1eeba ung th\u01b0 hi\u1ec7u qu\u1ea3

","description":"

Vi\u1ec7t Nam l\xe0 m\u1ed9t trong nh\u1eefng qu\u1ed1c gia c\xf3 t\u1ef7 l\u1ec7 nhi\u1ec5m virus vi\xeam gan B cao nh\u1ea5t th\u1ebf gi\u1edbi. Nhi\u1ec5m virus vi\xeam gan B l\xe0 nguy\xean nh\xe2n h\xe0ng \u0111\u1ea7u d\u1eabn \u0111\u1ebfn x\u01a1 gan v\xe0 ung th\u01b0 gan t\u1ea1i n\u01b0\u1edbc ta. Virus vi\xeam gan B l\xe2y truy\u1ec1n qua \u0111\u01b0\u1eddng m\xe1u, \u0111\u01b0\u1eddng t\xecnh d\u1ee5c v\xe0 l\xe2y t\u1eeb m\u1eb9 sang con. \u0110\xe1ng lo ng\u1ea1i l\xe0 b\u1ec7nh th\u01b0\u1eddng di\u1ec5n bi\u1ebfn \xe2m th\u1ea7m, kh\xf4ng c\xf3 tri\u1ec7u ch\u1ee9ng r\xf5 r\u1ec7t trong giai \u0111o\u1ea1n \u0111\u1ea7u, khi\u1ebfn ng\u01b0\u1eddi b\u1ec7nh d\u1ec5 d\xe0ng b\u1ecf qua th\u1eddi \u0111i\u1ec3m v\xe0ng \u0111\u1ec3 can thi\u1ec7p v\xe0 b\u1ea3o v\u1ec7 gan.

\\n

Ti\xeam v\u1eafc xin vi\xeam gan B \u0111\u01b0\u1ee3c coi l\xe0 bi\u1ec7n ph\xe1p ph\xf2ng b\u1ec7nh ch\u1ee7 \u0111\u1ed9ng v\xe0 hi\u1ec7u qu\u1ea3 nh\u1ea5t, v\u1edbi kh\u1ea3 n\u0103ng b\u1ea3o v\u1ec7 l\xean \u0111\u1ebfn 95%. \u0110\u1ed1i v\u1edbi tr\u1ebb s\u01a1 sinh, m\u0169i ti\xeam trong v\xf2ng 24 gi\u1edd \u0111\u1ea7u sau sinh l\xe0 c\u1ef1c k\u1ef3 quan tr\u1ecdng \u0111\u1ec3 ng\u0103n ng\u1eeba l\xe2y nhi\u1ec5m t\u1eeb m\u1eb9. \u0110\u1ed1i v\u1edbi ng\u01b0\u1eddi l\u1edbn, vi\u1ec7c x\xe9t nghi\u1ec7m ki\u1ec3m tra kh\xe1ng th\u1ec3 tr\u01b0\u1edbc khi ti\xeam ch\u1ee7ng l\xe0 c\u1ea7n thi\u1ebft \u0111\u1ec3 x\xe1c \u0111\u1ecbnh ph\xe1c \u0111\u1ed3 ti\xeam ph\xf9 h\u1ee3p. M\u1ed9t khi \u0111\xe3 c\xf3 \u0111\u1ee7 kh\xe1ng th\u1ec3, b\u1ea1n c\xf3 th\u1ec3 ho\xe0n to\xe0n y\xean t\xe2m tr\u01b0\u1edbc nguy c\u01a1 m\u1eafc ph\u1ea3i c\u0103n b\u1ec7nh m\u1ea1n t\xednh n\xe0y.

\\n

HelloBacsi \u0111\u1ed3ng h\xe0nh c\xf9ng b\u1ea1n trong chi\u1ebfn d\u1ecbch b\u1ea3o v\u1ec7 nh\xe0 m\xe1y \u0111\xe0o th\u1ea3i \u0111\u1ed9c t\u1ed1 c\u1ee7a c\u01a1 th\u1ec3. Ch\xfang t\xf4i gi\xfap b\u1ea1n d\u1ec5 d\xe0ng \u0111\u1eb7t l\u1ecbch x\xe9t nghi\u1ec7m v\xe0 ti\xeam ch\u1ee7ng t\u1ea1i c\xe1c b\u1ec7nh vi\u1ec7n, ph\xf2ng kh\xe1m chuy\xean khoa uy t\xedn tr\xean to\xe0n qu\u1ed1c.

\\n

\u01afu \u0111i\u1ec3m khi s\u1eed d\u1ee5ng d\u1ecbch v\u1ee5 qua HelloBacsi:

\\n
    \\n
  • T\u01b0 v\u1ea5n quy tr\xecnh x\xe9t nghi\u1ec7m s\xe0ng l\u1ecdc chu\u1ea9n x\xe1c tr\u01b0\u1edbc khi ti\u1ebfn h\xe0nh ti\xeam ch\u1ee7ng.
  • \\n
  • Cung c\u1ea5p th\xf4ng tin chi ti\u1ebft v\u1ec1 c\xe1c lo\u1ea1i v\u1eafc xin vi\xeam gan B \u0111\u01a1n l\u1ebb ho\u1eb7c ph\u1ed1i h\u1ee3p.
  • \\n
  • K\u1ebft n\u1ed1i v\u1edbi c\xe1c chuy\xean gia gan m\u1eadt \u0111\u1ec3 gi\u1ea3i \u0111\xe1p m\u1ecdi th\u1eafc m\u1eafc v\u1ec1 s\u1ee9c kh\u1ecfe l\xe1 gan.
  • \\n
  • Quy tr\xecnh \u0111\u1eb7t l\u1ecbch minh b\u1ea1ch, gi\xfap b\u1ea1n ti\u1ebft ki\u1ec7m th\u1eddi gian v\xe0 c\xf4ng s\u1ee9c.
  • \\n
\\n

H\xe3y h\xe0nh \u0111\u1ed9ng ngay \u0111\u1ec3 b\u1ea3o v\u1ec7 l\xe1 gan c\u1ee7a b\u1ea1n v\xe0 ng\u01b0\u1eddi th\xe2n. M\u1ed9t l\u1ed9 tr\xecnh ti\xeam ch\u1ee7ng \u0111\u1ea7y \u0111\u1ee7 ch\xednh l\xe0 s\u1ef1 \u0111\u1ea7u t\u01b0 x\u1ee9ng \u0111\xe1ng nh\u1ea5t cho s\u1ee9c kh\u1ecfe l\xe2u d\xe0i. \u0110\u1eb7t l\u1ecbch tr\xean HelloBacsi ngay h\xf4m nay!

"},"polio":{"subtype":"B\u1ea1i li\u1ec7t","subtypeEng":"Polio","title":"

V\u1eafc xin B\u1ea1i li\u1ec7t: B\u1ea3o v\u1ec7 t\u01b0\u01a1ng lai v\xe0 kh\u1ea3 n\u0103ng v\u1eadn \u0111\u1ed9ng c\u1ee7a tr\u1ebb

","description":"

B\u1ea1i li\u1ec7t l\xe0 m\u1ed9t b\u1ec7nh truy\u1ec1n nhi\u1ec5m c\u1ea5p t\xednh do virus Polio g\xe2y ra, c\xf3 kh\u1ea3 n\u0103ng l\xe2y lan nhanh ch\xf3ng qua \u0111\u01b0\u1eddng ti\xeau h\xf3a. Virus n\xe0y t\u1ea5n c\xf4ng v\xe0o h\u1ec7 th\u1ea7n kinh trung \u01b0\u01a1ng, g\xe2y ra c\xe1c c\u01a1n \u0111au c\u01a1 v\xe0 d\u1eabn \u0111\u1ebfn li\u1ec7t c\u01a1 kh\xf4ng h\u1ed3i ph\u1ee5c, th\u01b0\u1eddng l\xe0 \u1edf ch\xe2n. Trong nh\u1eefng tr\u01b0\u1eddng h\u1ee3p n\u1eb7ng, virus c\xf3 th\u1ec3 g\xe2y li\u1ec7t c\u01a1 h\xf4 h\u1ea5p d\u1eabn \u0111\u1ebfn t\u1eed vong. M\u1eb7c d\xf9 Vi\u1ec7t Nam \u0111\xe3 x\xf3a s\u1ed5 \u0111\u01b0\u1ee3c b\u1ec7nh b\u1ea1i li\u1ec7t t\u1eeb n\u0103m 2000, nh\u01b0ng nguy c\u01a1 virus x\xe2m nh\u1eadp t\u1eeb c\xe1c qu\u1ed1c gia kh\xe1c v\u1eabn lu\xf4n hi\u1ec7n h\u1eefu, \u0111\xf2i h\u1ecfi ch\xfang ta kh\xf4ng \u0111\u01b0\u1ee3c ch\u1ee7 quan trong vi\u1ec7c ti\xeam ph\xf2ng.

\\n

Ch\u01b0\u01a1ng tr\xecnh ti\xeam ch\u1ee7ng m\u1edf r\u1ed9ng t\u1ea1i Vi\u1ec7t Nam \u0111\xe3 tri\u1ec3n khai v\u1eafc xin b\u1ea1i li\u1ec7t d\u01b0\u1edbi c\u1ea3 d\u1ea1ng u\u1ed1ng (OPV) v\xe0 d\u1ea1ng ti\xeam (IPV) \u0111\u1ec3 t\u1ea1o ra s\u1ef1 b\u1ea3o v\u1ec7 k\xe9p m\u1ea1nh m\u1ebd nh\u1ea5t. Vi\u1ec7c tu\xe2n th\u1ee7 \u0111\xfang l\u1ecbch ti\xeam ch\u1ee7ng kh\xf4ng ch\u1ec9 b\u1ea3o v\u1ec7 c\xe1 nh\xe2n tr\u1ebb m\xe0 c\xf2n duy tr\xec th\xe0nh qu\u1ea3 x\xf3a s\u1ed5 b\u1ec7nh b\u1ea1i li\u1ec7t trong c\u1ed9ng \u0111\u1ed3ng. \u0110\u1ed1i v\u1edbi c\xe1c b\u1eadc ph\u1ee5 huynh b\u1eadn r\u1ed9n, vi\u1ec7c l\u1ef1a ch\u1ecdn ti\xeam v\u1eafc xin d\u1ecbch v\u1ee5 ph\u1ed1i h\u1ee3p (nh\u01b0 6 trong 1) l\xe0 gi\u1ea3i ph\xe1p t\u1ed1i \u01b0u \u0111\u1ec3 gi\u1ea3m s\u1ed1 l\u1ea7n ti\xeam m\xe0 v\u1eabn \u0111\u1ea3m b\u1ea3o hi\u1ec7u qu\u1ea3 ph\xf2ng b\u1ec7nh.

\\n

HelloBacsi h\u1ed7 tr\u1ee3 c\xe1c b\u1eadc ph\u1ee5 huynh trong vi\u1ec7c t\xecm ki\u1ebfm v\xe0 \u0111\u1eb7t l\u1ecbch ti\xeam ch\u1ee7ng b\u1ea1i li\u1ec7t t\u1ea1i c\xe1c c\u01a1 s\u1edf y t\u1ebf ch\u1ea5t l\u01b0\u1ee3ng cao. Ch\xfang t\xf4i hi\u1ec3u r\u1eb1ng s\u1ef1 an to\xe0n v\xe0 s\u1ee9c kh\u1ecfe c\u1ee7a con tr\u1ebb l\xe0 \u01b0u ti\xean h\xe0ng \u0111\u1ea7u c\u1ee7a b\u1ea1n.

\\n

T\u1ea1i sao n\xean \u0111\u1eb7t l\u1ecbch ti\xeam ch\u1ee7ng qua HelloBacsi?

\\n
    \\n
  • Cung c\u1ea5p c\xe1c g\xf3i ti\xeam ch\u1ee7ng tr\u1ecdn g\xf3i, bao g\u1ed3m v\u1eafc xin b\u1ea1i li\u1ec7t ph\u1ed1i h\u1ee3p, gi\xfap ti\u1ebft ki\u1ec7m chi ph\xed v\xe0 th\u1eddi gian.
  • \\n
  • \u0110\u1ea3m b\u1ea3o quy tr\xecnh b\u1ea3o qu\u1ea3n v\u1eafc xin nghi\xeam ng\u1eb7t, gi\u1eef nguy\xean hi\u1ec7u qu\u1ea3 ph\xf2ng b\u1ec7nh.
  • \\n
  • H\u1ec7 th\u1ed1ng nh\u1eafc l\u1ecbch ti\xeam th\xf4ng minh gi\xfap cha m\u1eb9 kh\xf4ng qu\xean c\xe1c m\u0169i ti\xeam quan tr\u1ecdng c\u1ee7a con.
  • \\n
  • Th\xf4ng tin y khoa ch\xednh x\xe1c, \u0111\u01b0\u1ee3c ki\u1ec3m duy\u1ec7t b\u1edfi c\xe1c chuy\xean gia h\xe0ng \u0111\u1ea7u.
  • \\n
\\n

H\xe3y c\xf9ng HelloBacsi chung tay b\u1ea3o v\u1ec7 b\u01b0\u1edbc ch\xe2n c\u1ee7a th\u1ebf h\u1ec7 t\u01b0\u01a1ng lai. \u0110\u1eebng \u0111\u1ec3 b\u1ec7nh b\u1ea1i li\u1ec7t c\xf3 c\u01a1 h\u1ed9i quay tr\u1edf l\u1ea1i. \u0110\u1eb7t l\u1ecbch ti\xeam ph\xf2ng ngay h\xf4m nay \u0111\u1ec3 b\u1ea3o v\u1ec7 con y\xeau c\u1ee7a b\u1ea1n!

"},"hib":{"subtype":"Vi khu\u1ea9n Hib","subtypeEng":"Hib (Haemophilus influenzae B)","title":"

V\u1eafc xin Hib: B\u1ea3o v\u1ec7 tr\u1ebb kh\u1ecfi vi\xeam m\xe0ng n\xe3o v\xe0 c\xe1c nhi\u1ec5m tr\xf9ng huy\u1ebft n\u1eb7ng

","description":"

Vi khu\u1ea9n Hib (Haemophilus influenzae tu\xfdp B) l\xe0 hung th\u1ee7 th\u1ea7m l\u1eb7ng g\xe2y ra nhi\u1ec1u b\u1ec7nh l\xfd nghi\xeam tr\u1ecdng \u1edf tr\u1ebb em d\u01b0\u1edbi 5 tu\u1ed5i, \u0111\u1eb7c bi\u1ec7t l\xe0 vi\xeam m\xe0ng n\xe3o v\xe0 vi\xeam ph\u1ed5i. T\u1ea1i Vi\u1ec7t Nam, tr\u01b0\u1edbc khi v\u1eafc xin Hib \u0111\u01b0\u1ee3c \u0111\u01b0a v\xe0o ch\u01b0\u01a1ng tr\xecnh ti\xeam ch\u1ee7ng, \u0111\xe2y l\xe0 nguy\xean nh\xe2n h\xe0ng \u0111\u1ea7u khi\u1ebfn nhi\u1ec1u tr\u1ebb ph\u1ea3i nh\u1eadp vi\u1ec7n trong t\xecnh tr\u1ea1ng nguy k\u1ecbch, \u0111\u1ec3 l\u1ea1i nh\u1eefng di ch\u1ee9ng n\u1eb7ng n\u1ec1 v\u1ec1 th\u1ea7n kinh ho\u1eb7c th\xednh gi\xe1c. Vi khu\u1ea9n n\xe0y l\xe2y lan r\u1ea5t nhanh qua c\xe1c gi\u1ecdt b\u1eafn \u0111\u01b0\u1eddng h\xf4 h\u1ea5p khi ng\u01b0\u1eddi b\u1ec7nh ho ho\u1eb7c h\u1eaft h\u01a1i.

\\n

Vi\u1ec7c ch\u1ee7 \u0111\u1ed9ng ti\xeam v\u1eafc xin Hib l\xe0 c\xe1ch duy nh\u1ea5t v\xe0 hi\u1ec7u qu\u1ea3 nh\u1ea5t \u0111\u1ec3 x\xe2y d\u1ef1ng h\xe0ng r\xe0o b\u1ea3o v\u1ec7 cho b\xe9 y\xeau. Hi\u1ec7n nay, v\u1eafc xin Hib th\u01b0\u1eddng \u0111\u01b0\u1ee3c t\xedch h\u1ee3p trong c\xe1c lo\u1ea1i v\u1eafc xin ph\u1ed1i h\u1ee3p 5 trong 1 ho\u1eb7c 6 trong 1, gi\xfap gi\u1ea3m thi\u1ec3u s\u1ed1 l\u1ea7n ti\xeam v\xe0 ti\u1ebft ki\u1ec7m th\u1eddi gian cho cha m\u1eb9. \\n\\nHelloBacsi \u0111\u1ed3ng h\xe0nh c\xf9ng b\u1ea1n trong vi\u1ec7c l\u1ef1a ch\u1ecdn nh\u1eefng d\xf2ng v\u1eafc xin ch\u1ea5t l\u01b0\u1ee3ng cao, gi\xfap b\xe9 v\u01b0\u1ee3t qua giai \u0111o\u1ea1n nh\u1ea1y c\u1ea3m m\u1ed9t c\xe1ch an to\xe0n nh\u1ea5t.

\\n

L\u1ee3i \xedch khi \u0111\u1eb7t l\u1ecbch t\u1ea1i HelloBacsi:

\\n
    \\n
  • Ti\u1ebfp c\u1eadn c\xe1c d\xf2ng v\u1eafc xin th\u1ebf h\u1ec7 m\u1edbi nh\u1ea5t, gi\u1ea3m thi\u1ec3u ph\u1ea3n \u1ee9ng ph\u1ee5 sau ti\xeam.
  • \\n
  • Quy tr\xecnh \u0111\u1eb7t l\u1ecbch minh b\u1ea1ch, kh\xf4ng t\u1ed1n th\u1eddi gian ch\u1edd \u0111\u1ee3i t\u1ea1i b\u1ec7nh vi\u1ec7n.
  • \\n
  • \u0110\u1ed9i ng\u0169 b\xe1c s\u0129 t\u01b0 v\u1ea5n k\u1ef9 l\u01b0\u1ee1ng v\u1ec1 ph\xe1c \u0111\u1ed3 ti\xeam nh\u1eafc l\u1ea1i \u0111\u1ec3 duy tr\xec kh\xe1ng th\u1ec3.
  • \\n
  • H\u1ec7 th\u1ed1ng nh\u1eafc l\u1ecbch t\u1ef1 \u0111\u1ed9ng gi\xfap cha m\u1eb9 qu\u1ea3n l\xfd h\u1ed3 s\u01a1 ti\xeam ch\u1ee7ng c\u1ee7a con d\u1ec5 d\xe0ng.
  • \\n
\\n

H\xe3y \u0111\u1ec3 HelloBacsi c\xf9ng b\u1ea1n ch\u0103m s\xf3c s\u1ee9c kh\u1ecfe con tr\u1ebb ngay t\u1eeb nh\u1eefng n\u0103m th\xe1ng \u0111\u1ea7u \u0111\u1eddi. \u0110\u1eb7t l\u1ecbch ti\xeam ch\u1ee7ng v\u1eafc xin Hib ngay h\xf4m nay \u0111\u1ec3 b\u1ea3o v\u1ec7 t\u01b0\u01a1ng lai c\u1ee7a b\xe9!

"},"measles":{"subtype":"S\u1edfi","subtypeEng":"Measles","title":"

V\u1eafc xin S\u1edfi: Ng\u0103n ng\u1eeba bi\u1ebfn ch\u1ee9ng nguy hi\u1ec3m v\xe0 b\u1ea3o v\u1ec7 c\u1ed9ng \u0111\u1ed3ng

","description":"

B\u1ec7nh s\u1edfi l\xe0 m\u1ed9t trong nh\u1eefng b\u1ec7nh truy\u1ec1n nhi\u1ec5m c\xf3 t\u1ed1c \u0111\u1ed9 l\xe2y lan nhanh nh\u1ea5t th\u1ebf gi\u1edbi. T\u1ea1i Vi\u1ec7t Nam, s\u1edfi th\u01b0\u1eddng b\xf9ng ph\xe1t th\xe0nh c\xe1c \u1ed5 d\u1ecbch l\u1edbn v\xe0o m\xf9a \u0111\xf4ng - xu\xe2n, \u0111e d\u1ecda tr\u1ef1c ti\u1ebfp \u0111\u1ebfn s\u1ee9c kh\u1ecfe c\u1ee7a tr\u1ebb nh\u1ecf v\xe0 nh\u1eefng ng\u01b0\u1eddi ch\u01b0a c\xf3 mi\u1ec5n d\u1ecbch. Virus s\u1edfi kh\xf4ng ch\u1ec9 g\xe2y s\u1ed1t cao, ph\xe1t ban m\xe0 c\xf2n l\xe0m suy gi\u1ea3m h\u1ec7 mi\u1ec5n d\u1ecbch tr\u1ea7m tr\u1ecdng, d\u1eabn \u0111\u1ebfn c\xe1c bi\u1ebfn ch\u1ee9ng nh\u01b0 vi\xeam ph\u1ed5i, m\xf9 l\xf2a, ti\xeau ch\u1ea3y n\u1eb7ng v\xe0 vi\xeam n\xe3o. \u0110\u1eb7c bi\u1ec7t \u0111\u1ed1i v\u1edbi tr\u1ebb suy dinh d\u01b0\u1ee1ng, s\u1edfi c\xf3 th\u1ec3 tr\u1edf th\xe0nh c\xfa s\u1ed1c khi\u1ebfn s\u1ee9c kh\u1ecfe c\u1ee7a tr\u1ebb suy s\u1ee5p nhanh ch\xf3ng.

\\n

Ti\xeam ch\u1ee7ng l\xe0 bi\u1ec7n ph\xe1p h\xe0ng \u0111\u1ea7u \u0111\u1ec3 ng\u0103n ch\u1eb7n s\u1ef1 quay tr\u1edf l\u1ea1i c\u1ee7a d\u1ecbch s\u1edfi. V\u1eafc xin s\u1edfi \u0111\u01a1n ho\u1eb7c ph\u1ed1i h\u1ee3p (MMR) \u0111\xe3 \u0111\u01b0\u1ee3c ch\u1ee9ng minh l\xe0 c\u1ef1c k\u1ef3 an to\xe0n v\xe0 hi\u1ec7u qu\u1ea3. Vi\u1ec7c \u0111\u1ea3m b\u1ea3o tr\u1ebb \u0111\u01b0\u1ee3c ti\xeam \u0111\xfang l\u1ecbch m\u0169i 1 (l\xfac 9 th\xe1ng tu\u1ed5i) v\xe0 m\u0169i 2 (l\xfac 18 th\xe1ng tu\u1ed5i) l\xe0 tr\xe1ch nhi\u1ec7m c\u1ee7a m\u1ed7i gia \u0111\xecnh \u0111\u1ec3 t\u1ea1o ra mi\u1ec5n d\u1ecbch c\u1ed9ng \u0111\u1ed3ng v\u1eefng ch\u1eafc.

\\n

HelloBacsi cung c\u1ea5p n\u1ec1n t\u1ea3ng \u0111\u1eb7t l\u1ecbch ti\xeam ch\u1ee7ng hi\u1ec7n \u0111\u1ea1i, gi\xfap b\u1ea1n d\u1ec5 d\xe0ng ti\u1ebfp c\u1eadn c\xe1c c\u01a1 s\u1edf y t\u1ebf \u0111\u1ea1t chu\u1ea9n. Ch\xfang t\xf4i cam k\u1ebft mang l\u1ea1i s\u1ef1 an t\xe2m tuy\u1ec7t \u0111\u1ed1i cho c\xe1c b\u1eadc ph\u1ee5 huynh trong h\xe0nh tr\xecnh nu\xf4i con kh\u1ecfe m\u1ea1nh.

\\n

T\u1ea1i sao n\xean ch\u1ecdn HelloBacsi?

\\n
    \\n
  • Th\xf4ng tin y khoa ch\xednh th\u1ed1ng v\u1ec1 c\xe1ch nh\u1eadn bi\u1ebft v\xe0 ph\xf2ng ng\u1eeba b\u1ec7nh s\u1edfi.
  • \\n
  • \u0110\u1eb7t l\u1ecbch nhanh g\u1ecdn t\u1ea1i c\xe1c trung t\xe2m ti\xeam ch\u1ee7ng c\xf3 c\u01a1 s\u1edf v\u1eadt ch\u1ea5t hi\u1ec7n \u0111\u1ea1i.
  • \\n
  • Theo d\xf5i s\xe1t sao ph\u1ea3n \u1ee9ng sau ti\xeam th\xf4ng qua \u0111\u1ed9i ng\u0169 h\u1ed7 tr\u1ee3 chuy\xean nghi\u1ec7p.
  • \\n
  • Qu\u1ea3n l\xfd h\u1ed3 s\u01a1 ti\xeam ch\u1ee7ng c\xe1 nh\xe2n tr\u1ecdn \u0111\u1eddi tr\xean n\u1ec1n t\u1ea3ng k\u1ef9 thu\u1eadt s\u1ed1.
  • \\n
\\n

\u0110\u1eebng \u0111\u1ec3 s\u1edfi l\u1ea5y \u0111i n\u1ee5 c\u01b0\u1eddi v\xe0 s\u1ee9c kh\u1ecfe c\u1ee7a con b\u1ea1n. H\xe3y ch\u1ee7 \u0111\u1ed9ng ti\xeam ph\xf2ng s\u1edfi ngay h\xf4m nay c\xf9ng HelloBacsi!

"},"mumps":{"subtype":"Quai b\u1ecb","subtypeEng":"Mumps","title":"

V\u1eafc xin Quai b\u1ecb: B\u1ea3o v\u1ec7 s\u1ee9c kh\u1ecfe sinh s\u1ea3n v\xe0 th\xednh gi\xe1c cho t\u01b0\u01a1ng lai

","description":"

B\u1ec7nh quai b\u1ecb l\xe0 m\u1ed9t b\u1ec7nh truy\u1ec1n nhi\u1ec5m c\u1ea5p t\xednh, th\u01b0\u1eddng g\u1eb7p \u1edf l\u1ee9a tu\u1ed5i h\u1ecdc \u0111\u01b0\u1eddng t\u1ea1i Vi\u1ec7t Nam. B\u1ec7nh g\xe2y ra b\u1edfi virus quai b\u1ecb, v\u1edbi bi\u1ec3u hi\u1ec7n \u0111\u1eb7c tr\u01b0ng l\xe0 s\u01b0ng \u0111au tuy\u1ebfn mang tai. Tuy nhi\xean, \u0111i\u1ec1u \u0111\xe1ng lo ng\u1ea1i nh\u1ea5t kh\xf4ng ph\u1ea3i l\xe0 v\u1ebft s\u01b0ng ngo\xe0i da m\xe0 l\xe0 nh\u1eefng bi\u1ebfn ch\u1ee9ng s\xe2u b\xean trong. Quai b\u1ecb c\xf3 th\u1ec3 g\xe2y vi\xeam tinh ho\xe0n \u1edf nam gi\u1edbi v\xe0 vi\xeam bu\u1ed3ng tr\u1ee9ng \u1edf n\u1eef gi\u1edbi, d\u1eabn \u0111\u1ebfn nguy c\u01a1 v\xf4 sinh sau n\xe0y. Ngo\xe0i ra, b\u1ec7nh c\xf2n c\xf3 th\u1ec3 g\xe2y vi\xeam m\xe0ng n\xe3o v\xe0 \u0111i\u1ebfc v\u0129nh vi\u1ec5n, \u1ea3nh h\u01b0\u1edfng n\u1eb7ng n\u1ec1 \u0111\u1ebfn ch\u1ea5t l\u01b0\u1ee3ng cu\u1ed9c s\u1ed1ng.

\\n

B\u1ec7nh quai b\u1ecb kh\xf4ng c\xf3 thu\u1ed1c \u0111i\u1ec1u tr\u1ecb \u0111\u1eb7c hi\u1ec7u. V\xec th\u1ebf, ti\xeam v\u1eafc xin MMR (S\u1edfi - Quai b\u1ecb - Rubella) l\xe0 c\xe1ch duy nh\u1ea5t \u0111\u1ec3 ch\u1ee7 \u0111\u1ed9ng ph\xf2ng b\u1ec7nh. V\u1eafc xin gi\xfap b\u1ea3o v\u1ec7 tr\u1ebb em v\xe0 ng\u01b0\u1eddi l\u1edbn kh\u1ecfi ba c\u0103n b\u1ec7nh truy\u1ec1n nhi\u1ec5m nguy hi\u1ec3m ch\u1ec9 trong m\u1ed9t m\u0169i ti\xeam. \\n\\nHelloBacsi t\u1ef1 h\xe0o l\xe0 c\u1ea7u n\u1ed1i gi\xfap b\u1ea1n ti\u1ebfp c\u1eadn d\u1ecbch v\u1ee5 ti\xeam ch\u1ee7ng ch\u1ea5t l\u01b0\u1ee3ng, b\u1ea3o v\u1ec7 s\u1ee9c kh\u1ecfe to\xe0n di\u1ec7n cho c\u1ea3 gia \u0111\xecnh.

\\n

T\u1ea1i sao b\u1ea1n n\xean \u0111\u1eb7t l\u1ecbch qua HelloBacsi?

\\n
    \\n
  • H\u1ec7 th\u1ed1ng \u0111\u1ed1i t\xe1c uy t\xedn, \u0111\u1ea3m b\u1ea3o v\u1eafc xin lu\xf4n \u0111\u01b0\u1ee3c b\u1ea3o qu\u1ea3n trong \u0111i\u1ec1u ki\u1ec7n l\xfd t\u01b0\u1edfng.
  • \\n
  • T\u01b0 v\u1ea5n chuy\xean s\xe2u v\u1ec1 c\xe1c bi\u1ebfn ch\u1ee9ng c\u1ee7a quai b\u1ecb v\xe0 c\xe1ch ph\xf2ng ng\u1eeba hi\u1ec7u qu\u1ea3.
  • \\n
  • Th\u1ee7 t\u1ee5c \u0111\u1eb7t l\u1ecbch tr\u1ef1c tuy\u1ebfn \u0111\u01a1n gi\u1ea3n, kh\xf4ng c\u1ea7n ch\u1edd \u0111\u1ee3i l\xe2u.
  • \\n
  • Nh\u1eafc l\u1ecbch ti\xeam nh\u1eafc l\u1ea1i \u0111\u1ec3 \u0111\u1ea3m b\u1ea3o mi\u1ec5n d\u1ecbch b\u1ec1n v\u1eefng.
  • \\n
\\n

H\xe3y \u0111\u1ea7u t\u01b0 cho t\u01b0\u01a1ng lai c\u1ee7a con tr\u1ebb b\u1eb1ng c\xe1ch ti\xeam ph\xf2ng quai b\u1ecb \u0111\u1ea7y \u0111\u1ee7. \u0110\u1eb7t l\u1ecbch ngay tr\xean HelloBacsi \u0111\u1ec3 nh\u1eadn \u0111\u01b0\u1ee3c s\u1ef1 ch\u0103m s\xf3c y t\u1ebf t\u1ed1t nh\u1ea5t!

"},"rubella":{"subtype":"Rubella","subtypeEng":"Rubella","title":"

V\u1eafc xin Rubella: B\u1ea3o v\u1ec7 thai k\u1ef3 b\xecnh an v\xe0 s\u1ee9c kh\u1ecfe tr\u1ebb s\u01a1 sinh

","description":"

B\u1ec7nh Rubella (hay c\xf2n g\u1ecdi l\xe0 s\u1edfi \u0110\u1ee9c) th\u01b0\u1eddng c\xf3 bi\u1ec3u hi\u1ec7n nh\u1eb9 \u1edf ng\u01b0\u1eddi l\u1edbn v\xe0 tr\u1ebb em, nh\u01b0ng l\u1ea1i l\xe0 m\u1ed1i nguy ti\u1ec1m t\xe0ng \u0111\u1ed1i v\u1edbi ph\u1ee5 n\u1eef mang thai. T\u1ea1i Vi\u1ec7t Nam, c\xe1c chuy\xean gia s\u1ea3n khoa lu\xf4n khuy\u1ebfn c\xe1o ph\u1ee5 n\u1eef n\xean ti\xeam ph\xf2ng Rubella \xedt nh\u1ea5t 3 th\xe1ng tr\u01b0\u1edbc khi c\xf3 \xfd \u0111\u1ecbnh mang thai. N\u1ebfu m\u1eb9 b\u1ea7u nhi\u1ec5m virus Rubella trong 3 th\xe1ng \u0111\u1ea7u thai k\u1ef3, nguy c\u01a1 tr\u1ebb sinh ra m\u1eafc h\u1ed9i ch\u1ee9ng Rubella b\u1ea9m sinh (CRS) l\xe0 c\u1ef1c k\u1ef3 cao, d\u1eabn \u0111\u1ebfn c\xe1c d\u1ecb t\u1eadt nh\u01b0 m\xf9, \u0111i\u1ebfc, tim b\u1ea9m sinh ho\u1eb7c ch\u1eadm ph\xe1t tri\u1ec3n tr\xed tu\u1ec7.

\\n

Ch\u1ee7 \u0111\u1ed9ng ti\xeam v\u1eafc xin MMR (S\u1edfi - Quai b\u1ecb - Rubella) l\xe0 c\xe1ch t\u1ed1t nh\u1ea5t \u0111\u1ec3 ph\u1ee5 n\u1eef hi\u1ec7n \u0111\u1ea1i b\u1ea3o v\u1ec7 thi\xean ch\u1ee9c l\xe0m m\u1eb9 v\xe0 \u0111\u1ea3m b\u1ea3o con y\xeau sinh ra kh\u1ecfe m\u1ea1nh. HelloBacsi hi\u1ec3u \u0111\u01b0\u1ee3c t\u1ea7m quan tr\u1ecdng c\u1ee7a vi\u1ec7c chu\u1ea9n b\u1ecb s\u1ee9c kh\u1ecfe tr\u01b0\u1edbc thai k\u1ef3 v\xe0 s\u1eb5n s\xe0ng h\u1ed7 tr\u1ee3 b\u1ea1n trong vi\u1ec7c \u0111\u1eb7t l\u1ecbch ti\xeam ch\u1ee7ng an to\xe0n, nhanh ch\xf3ng.

\\n

L\u1ee3i \xedch khi \u0111\u1ed3ng h\xe0nh c\xf9ng HelloBacsi:

\\n
    \\n
  • T\u01b0 v\u1ea5n l\u1ed9 tr\xecnh ti\xeam ch\u1ee7ng ti\u1ec1n thai s\u1ea3n chi ti\u1ebft cho c\xe1c c\u1eb7p \u0111\xf4i.
  • \\n
  • Cung c\u1ea5p v\u1eafc xin t\u1eeb c\xe1c nh\xe0 s\u1ea3n xu\u1ea5t danh ti\u1ebfng, \u0111\u1ea3m b\u1ea3o hi\u1ec7u qu\u1ea3 ph\xf2ng b\u1ec7nh cao.
  • \\n
  • H\u1ec7 th\u1ed1ng b\xe0i vi\u1ebft h\u01b0\u1edbng d\u1eabn ch\u0103m s\xf3c s\u1ee9c kh\u1ecfe ph\u1ee5 n\u1eef chuy\xean s\xe2u.
  • \\n
  • Ti\u1ebft ki\u1ec7m th\u1eddi gian v\u1edbi quy tr\xecnh \u0111\u1eb7t l\u1ecbch v\xe0 kh\xe1m s\xe0ng l\u1ecdc khoa h\u1ecdc.
  • \\n
\\n

M\u1ed9t m\u0169i ti\xeam h\xf4m nay l\xe0 s\u1ef1 b\u1ea3o \u0111\u1ea3m cho h\u1ea1nh ph\xfac ng\xe0y mai. \u0110\u1eebng \u0111\u1ec3 Rubella \u0111e d\u1ecda thai k\u1ef3 c\u1ee7a b\u1ea1n. \u0110\u1eb7t l\u1ecbch ti\xeam ph\xf2ng ngay tr\xean HelloBacsi nh\xe9!

"},"meningococcal":{"subtype":"Vi\xeam m\xe0ng n\xe3o","subtypeEng":"Meningococcal (MenACWY)","title":"

V\u1eafc xin Vi\xeam m\xe0ng n\xe3o do n\xe3o m\xf4 c\u1ea7u: Ng\u0103n ch\u1eb7n c\u0103n b\u1ec7nh t\u1eed vong trong 24 gi\u1edd.

","description":"

B\u1ec7nh vi\xeam m\xe0ng n\xe3o do vi khu\u1ea9n n\xe3o m\xf4 c\u1ea7u l\xe0 m\u1ed9t trong nh\u1eefng b\u1ec7nh truy\u1ec1n nhi\u1ec5m \u0111\xe1ng s\u1ee3 nh\u1ea5t v\xec di\u1ec5n ti\u1ebfn c\u1ef1c k\u1ef3 nhanh v\xe0 t\u1ef7 l\u1ec7 t\u1eed vong cao. T\u1ea1i Vi\u1ec7t Nam, d\xf9 kh\xf4ng ph\u1ea3i l\xe0 b\u1ec7nh ph\u1ed5 bi\u1ebfn nh\u01b0ng m\u1ed7i khi c\xf3 ca m\u1eafc, c\u1ed9ng \u0111\u1ed3ng th\u01b0\u1eddng r\u01a1i v\xe0o tr\u1ea1ng th\xe1i lo l\u1eafng t\u1ed9t \u0111\u1ed9. B\u1ec7nh c\xf3 th\u1ec3 g\xe2y t\u1eed vong ch\u1ec9 trong v\xf2ng 24 gi\u1edd k\u1ec3 t\u1eeb khi xu\u1ea5t hi\u1ec7n tri\u1ec7u ch\u1ee9ng \u0111\u1ea7u ti\xean ho\u1eb7c \u0111\u1ec3 l\u1ea1i c\xe1c di ch\u1ee9ng n\u1eb7ng n\u1ec1 nh\u01b0 \u0111o\u1ea1n chi, \u0111i\u1ebfc, ho\u1eb7c t\u1ed5n th\u01b0\u01a1ng n\xe3o v\u0129nh vi\u1ec5n.

\\n

Vi khu\u1ea9n n\xe3o m\xf4 c\u1ea7u l\xe2y truy\u1ec1n qua \u0111\u01b0\u1eddng h\xf4 h\u1ea5p, \u0111\u1eb7c bi\u1ec7t d\u1ec5 b\xf9ng ph\xe1t \u1edf nh\u1eefng m\xf4i tr\u01b0\u1eddng t\u1eadp trung \u0111\xf4ng ng\u01b0\u1eddi nh\u01b0 tr\u01b0\u1eddng h\u1ecdc, k\xfd t\xfac x\xe1 ho\u1eb7c c\xe1c khu c\xf4ng nghi\u1ec7p. Ti\xeam v\u1eafc xin MenACWY l\xe0 bi\u1ec7n ph\xe1p ph\xf2ng ng\u1eeba ch\u1ee7 \u0111\u1ed9ng hi\u1ec7u qu\u1ea3 nh\u1ea5t, b\u1ea3o v\u1ec7 c\u01a1 th\u1ec3 tr\u01b0\u1edbc c\xe1c nh\xf3m huy\u1ebft thanh ph\u1ed5 bi\u1ebfn g\xe2y b\u1ec7nh. \\n\\nHelloBacsi cung c\u1ea5p d\u1ecbch v\u1ee5 \u0111\u1eb7t l\u1ecbch ti\xeam ch\u1ee7ng gi\xfap b\u1ea1n v\xe0 gia \u0111\xecnh lu\xf4n \u0111\u01b0\u1ee3c b\u1ea3o v\u1ec7 tr\u01b0\u1edbc m\u1ed1i hi\u1ec3m h\u1ecda th\u1ea7m l\u1eb7ng n\xe0y.

\\n

T\u1ea1i sao n\xean ch\u1ecdn HelloBacsi \u0111\u1ec3 \u0111\u1eb7t l\u1ecbch?

\\n
    \\n
  • \u0110\u1ea3m b\u1ea3o ngu\u1ed3n v\u1eafc xin n\xe3o m\xf4 c\u1ea7u th\u1ebf h\u1ec7 m\u1edbi v\u1edbi hi\u1ec7u qu\u1ea3 b\u1ea3o v\u1ec7 k\xe9o d\xe0i.
  • \\n
  • Quy tr\xecnh kh\xe1m s\xe0ng l\u1ecdc k\u1ef9 l\u01b0\u1ee1ng, \u0111\u1eb7c bi\u1ec7t l\xe0 \u0111\u1ed1i v\u1edbi thanh thi\u1ebfu ni\xean v\xe0 ng\u01b0\u1eddi \u0111i du l\u1ecbch.
  • \\n
  • Cung c\u1ea5p \u0111\u1ea7y \u0111\u1ee7 ch\u1ee9ng nh\u1eadn ti\xeam ch\u1ee7ng cho c\xe1c m\u1ee5c \u0111\xedch du h\u1ecdc ho\u1eb7c l\xe0m vi\u1ec7c t\u1ea1i n\u01b0\u1edbc ngo\xe0i.
  • \\n
  • H\u1ed7 tr\u1ee3 t\u01b0 v\u1ea5n tr\u1ef1c tuy\u1ebfn 24/7 v\u1ec1 c\xe1c tri\u1ec7u ch\u1ee9ng v\xe0 c\xe1ch ph\xf2ng ng\u1eeba b\u1ec7nh.
  • \\n
\\n

\u0110\u1eebng ch\u1ee7 quan v\u1edbi s\u1ee9c kh\u1ecfe c\u1ee7a ch\xednh m\xecnh v\xe0 ng\u01b0\u1eddi th\xe2n. H\xe3y \u0111\u1ec3 v\u1eafc xin l\xe0 \xe1o gi\xe1p gi\xfap b\u1ea1n v\u01b0\u1ee3t qua m\u1ecdi nguy c\u01a1. \u0110\u1eb7t l\u1ecbch ti\xeam ph\xf2ng n\xe3o m\xf4 c\u1ea7u ngay h\xf4m nay t\u1ea1i HelloBacsi!

"},"pneumococcal":{"subtype":"Ph\u1ebf c\u1ea7u","subtypeEng":"Pneumococcal","title":"

V\u1eafc xin Ph\u1ebf c\u1ea7u: Ph\xf2ng ng\u1eeba vi\xeam ph\u1ed5i v\xe0 c\xe1c b\u1ec7nh x\xe2m l\u1ea5n nguy hi\u1ec3m

","description":"

Vi khu\u1ea9n ph\u1ebf c\u1ea7u (Streptococcus pneumoniae) l\xe0 nguy\xean nh\xe2n h\xe0ng \u0111\u1ea7u g\xe2y ra vi\xeam ph\u1ed5i, vi\xeam m\xe0ng n\xe3o, nhi\u1ec5m tr\xf9ng huy\u1ebft v\xe0 vi\xeam tai gi\u1eefa, \u0111\u1eb7c bi\u1ec7t l\xe0 \u1edf tr\u1ebb nh\u1ecf d\u01b0\u1edbi 5 tu\u1ed5i v\xe0 ng\u01b0\u1eddi cao tu\u1ed5i t\u1ea1i Vi\u1ec7t Nam. B\u1ec7nh ph\u1ebf c\u1ea7u kh\xf4ng ch\u1ec9 g\xe2y \u0111au \u0111\u1edbn, t\u1ed1n k\xe9m chi ph\xed \u0111i\u1ec1u tr\u1ecb m\xe0 c\xf2n c\xf3 nguy c\u01a1 \u0111\u1ec3 l\u1ea1i di ch\u1ee9ng l\xe2u d\xe0i nh\u01b0 \u0111i\u1ebfc, ch\u1eadm ph\xe1t tri\u1ec3n tr\xed tu\u1ec7 ho\u1eb7c li\u1ec7t. V\u1edbi t\xecnh tr\u1ea1ng kh\xe1ng kh\xe1ng sinh ng\xe0y c\xe0ng tr\u1ea7m tr\u1ecdng, vi\u1ec7c \u0111i\u1ec1u tr\u1ecb b\u1ec7nh do ph\u1ebf c\u1ea7u tr\u1edf n\xean kh\xf3 kh\u0103n h\u01a1n bao gi\u1edd h\u1ebft.

\\n

Ti\xeam v\u1eafc xin ph\u1ebf c\u1ea7u (nh\u01b0 PCV10 ho\u1eb7c PCV13) l\xe0 gi\u1ea3i ph\xe1p ph\xf2ng b\u1ec7nh hi\u1ec7u qu\u1ea3, gi\xfap c\u01a1 th\u1ec3 t\u1ea1o ra kh\xe1ng th\u1ec3 ch\u1ed1ng l\u1ea1i nhi\u1ec1u ch\u1ee7ng vi khu\u1ea9n ph\u1ebf c\u1ea7u ph\u1ed5 bi\u1ebfn nh\u1ea5t. \\n\\nHelloBacsi gi\xfap b\u1ea1n d\u1ec5 d\xe0ng \u0111\u1eb7t l\u1ecbch ti\xeam ch\u1ee7ng t\u1ea1i c\xe1c trung t\xe2m y t\u1ebf hi\u1ec7n \u0111\u1ea1i, \u0111\u1ea3m b\u1ea3o b\xe9 y\xeau v\xe0 ng\u01b0\u1eddi th\xe2n \u0111\u01b0\u1ee3c b\u1ea3o v\u1ec7 to\xe0n di\u1ec7n tr\u01b0\u1edbc s\u1ef1 t\u1ea5n c\xf4ng c\u1ee7a s\xe1t th\u1ee7 g\xe2y vi\xeam ph\u1ed5i n\xe0y.

\\n

L\u1ee3i \xedch khi \u0111\u1eb7t l\u1ecbch t\u1ea1i HelloBacsi:

\\n
    \\n
  • \u0110\u1ed9i ng\u0169 chuy\xean gia t\u01b0 v\u1ea5n v\u1ec1 lo\u1ea1i v\u1eafc xin ph\xf9 h\u1ee3p nh\u1ea5t v\u1edbi t\u1eebng \u0111\u1ed9 tu\u1ed5i.
  • \\n
  • \u0110\u1ea3m b\u1ea3o quy tr\xecnh b\u1ea3o qu\u1ea3n l\u1ea1nh chu\u1ea9n qu\u1ed1c t\u1ebf \u0111\u1ec3 duy tr\xec ch\u1ea5t l\u01b0\u1ee3ng v\u1eafc xin.
  • \\n
  • \u0110\u1eb7t l\u1ecbch kh\xe1m v\xe0 ti\xeam ch\u1ee7ng linh ho\u1ea1t, gi\u1ea3m thi\u1ec3u ti\u1ebfp x\xfac \u0111\xf4ng ng\u01b0\u1eddi.
  • \\n
  • Th\xf4ng tin y khoa c\u1eadp nh\u1eadt v\u1ec1 l\u1ee3i \xedch c\u1ee7a v\u1eafc xin trong vi\u1ec7c gi\u1ea3m t\u1ef7 l\u1ec7 nh\u1eadp vi\u1ec7n.
  • \\n
\\n

Ch\u1ee7 \u0111\u1ed9ng ti\xeam ph\xf2ng ph\u1ebf c\u1ea7u l\xe0 c\xe1ch b\u1ea1n b\u1ea3o v\u1ec7 l\xe1 ph\u1ed5i v\xe0 s\u1ee9c kh\u1ecfe b\u1ec1n v\u1eefng cho gia \u0111\xecnh. H\xe3y \u0111\u1eb7t l\u1ecbch ti\xeam ch\u1ee7ng ngay h\xf4m nay tr\xean HelloBacsi!

"},"cholerae":{"subtype":"T\u1ea3","subtypeEng":"Cholerae","title":"

V\u1eafc xin T\u1ea3: B\u1ea3o v\u1ec7 h\u1ec7 ti\xeau h\xf3a an to\xe0n trong m\u1ecdi h\xe0nh tr\xecnh

","description":"

B\u1ec7nh t\u1ea3 l\xe0 b\u1ec7nh nhi\u1ec5m tr\xf9ng \u0111\u01b0\u1eddng ru\u1ed9t c\u1ea5p t\xednh do vi khu\u1ea9n g\xe2y ra, l\xe2y lan ch\u1ee7 y\u1ebfu qua ngu\u1ed3n n\u01b0\u1edbc v\xe0 th\u1ef1c ph\u1ea9m b\u1ecb \xf4 nhi\u1ec5m. T\u1ea1i Vi\u1ec7t Nam, nguy c\u01a1 m\u1eafc b\u1ec7nh t\u1ea3 v\u1eabn t\u1ed3n t\u1ea1i \u1edf nh\u1eefng khu v\u1ef1c c\xf3 \u0111i\u1ec1u ki\u1ec7n v\u1ec7 sinh ch\u01b0a \u0111\u1ea3m b\u1ea3o ho\u1eb7c sau c\xe1c \u0111\u1ee3t thi\xean tai, l\u0169 l\u1ee5t. B\u1ec7nh g\xe2y ti\xeau ch\u1ea3y d\u1eef d\u1ed9i v\xe0 n\xf4n m\u1eeda, khi\u1ebfn c\u01a1 th\u1ec3 m\u1ea5t n\u01b0\u1edbc nhanh ch\xf3ng, n\u1ebfu kh\xf4ng \u0111\u01b0\u1ee3c b\xf9 d\u1ecbch k\u1ecbp th\u1eddi c\xf3 th\u1ec3 d\u1eabn \u0111\u1ebfn t\u1eed vong ch\u1ec9 trong v\xe0i gi\u1edd. \\n\\n\u0110\u1ed1i v\u1edbi nh\u1eefng ng\u01b0\u1eddi th\u01b0\u1eddng xuy\xean \u0111i du l\u1ecbch, c\xf4ng t\xe1c t\u1ea1i c\xe1c v\xf9ng c\xf3 nguy c\u01a1 cao, vi\u1ec7c ch\u1ee7 \u0111\u1ed9ng ph\xf2ng ng\u1eeba b\u1ec7nh l\xe0 r\u1ea5t c\u1ea7n thi\u1ebft.

\\n

Hi\u1ec7n nay, u\u1ed1ng v\u1eafc xin t\u1ea3 l\xe0 m\u1ed9t ph\u01b0\u01a1ng ph\xe1p ph\xf2ng b\u1ec7nh \u0111\u01a1n gi\u1ea3n nh\u01b0ng v\xf4 c\xf9ng hi\u1ec7u qu\u1ea3. HelloBacsi cung c\u1ea5p n\u1ec1n t\u1ea3ng h\u1ed7 tr\u1ee3 \u0111\u1eb7t l\u1ecbch ti\xeam ph\xf2ng v\xe0 u\u1ed1ng v\u1eafc xin t\u1ea3 t\u1ea1i c\xe1c c\u01a1 s\u1edf y t\u1ebf uy t\xedn, gi\xfap b\u1ea1n v\xe0 gia \u0111\xecnh y\xean t\xe2m vui s\u1ed1ng v\xe0 kh\xe1m ph\xe1 nh\u1eefng v\xf9ng \u0111\u1ea5t m\u1edbi.

\\n

\u01afu \u0111i\u1ec3m khi \u0111\u1eb7t l\u1ecbch qua HelloBacsi:

\\n
    \\n
  • T\u01b0 v\u1ea5n chi ti\u1ebft v\u1ec1 li\u1ec1u l\u01b0\u1ee3ng v\xe0 th\u1eddi \u0111i\u1ec3m u\u1ed1ng v\u1eafc xin \u0111\u1ec3 \u0111\u1ea1t hi\u1ec7u qu\u1ea3 t\u1ed1i \u01b0u.
  • \\n
  • Cung c\u1ea5p ki\u1ebfn th\u1ee9c v\u1ec1 v\u1ec7 sinh an to\xe0n th\u1ef1c ph\u1ea9m \u0111\u1ec3 ph\xf2ng ng\u1eeba b\u1ec7nh \u0111\u01b0\u1eddng ti\xeau h\xf3a.
  • \\n
  • Quy tr\xecnh \u0111\u0103ng k\xfd nhanh ch\xf3ng, thu\u1eadn ti\u1ec7n cho ng\u01b0\u1eddi b\u1eadn r\u1ed9n.
  • \\n
  • \u0110\u1ea3m b\u1ea3o v\u1eafc xin lu\xf4n s\u1eb5n c\xf3 v\xe0 \u0111\u1ea1t ti\xeau chu\u1ea9n ch\u1ea5t l\u01b0\u1ee3ng c\u1ee7a B\u1ed9 Y t\u1ebf.
  • \\n
\\n

S\u1ee9c kh\u1ecfe \u0111\u01b0\u1eddng ru\u1ed9t l\xe0 n\u1ec1n t\u1ea3ng c\u1ee7a m\u1ed9t c\u01a1 th\u1ec3 kh\u1ecfe m\u1ea1nh. H\xe3y b\u1ea3o v\u1ec7 ch\xednh m\xecnh v\xe0 gia \u0111\xecnh tr\u01b0\u1edbc b\u1ec7nh t\u1ea3 b\u1eb1ng c\xe1ch \u0111\u1eb7t l\u1ecbch tr\xean HelloBacsi ngay h\xf4m nay!

"},"chickenpox":{"subtype":"Th\u1ee7y \u0111\u1eadu","subtypeEng":"Chickenpox","title":"

V\u1eafc xin Th\u1ee7y \u0111\u1eadu: X\xf3a tan n\u1ed7i lo s\u1eb9o r\u1ed7 v\xe0 bi\u1ebfn ch\u1ee9ng nguy hi\u1ec3m

","description":"

Th\u1ee7y \u0111\u1eadu l\xe0 b\u1ec7nh truy\u1ec1n nhi\u1ec5m do virus Varicella-Zoster g\xe2y ra, r\u1ea5t ph\u1ed5 bi\u1ebfn t\u1ea1i Vi\u1ec7t Nam v\xe0o th\u1eddi \u0111i\u1ec3m giao m\xf9a. B\u1ec7nh kh\xf4ng ch\u1ec9 g\xe2y ra nh\u1eefng n\u1ed1t m\u1ee5n n\u01b0\u1edbc g\xe2y ng\u1ee9a ng\xe1y kh\u1eafp c\u01a1 th\u1ec3 m\xe0 c\xf2n ti\u1ec1m \u1ea9n nguy c\u01a1 nhi\u1ec5m tr\xf9ng da, vi\xeam ph\u1ed5i v\xe0 vi\xeam n\xe3o. \u0110\u1eb7c bi\u1ec7t, \u0111\u1ed1i v\u1edbi ph\u1ee5 n\u1eef mang thai, th\u1ee7y \u0111\u1eadu c\xf3 th\u1ec3 g\xe2y ra nh\u1eefng bi\u1ebfn ch\u1ee9ng c\u1ef1c k\u1ef3 nguy hi\u1ec3m cho thai nhi. Ngay c\u1ea3 sau khi \u0111\xe3 kh\u1ecfi b\u1ec7nh, virus v\u1eabn \u1ea9n n\xe1u trong c\u01a1 th\u1ec3 v\xe0 c\xf3 th\u1ec3 t\xe1i ho\u1ea1t \u0111\u1ed9ng g\xe2y b\u1ec7nh Zona th\u1ea7n kinh g\xe2y \u0111au \u0111\u1edbn khi ch\xfang ta l\u1edbn tu\u1ed5i ho\u1eb7c suy gi\u1ea3m mi\u1ec5n d\u1ecbch.

\\n

Ti\xeam v\u1eafc xin th\u1ee7y \u0111\u1eadu l\xe0 bi\u1ec7n ph\xe1p ph\xf2ng ng\u1eeba ch\u1ee7 \u0111\u1ed9ng gi\xfap gi\u1ea3m h\u01a1n 90% nguy c\u01a1 m\u1eafc b\u1ec7nh v\xe0 ng\u0103n ng\u1eeba ho\xe0n to\xe0n c\xe1c bi\u1ebfn ch\u1ee9ng n\u1eb7ng. HelloBacsi mang \u0111\u1ebfn cho b\u1ea1n gi\u1ea3i ph\xe1p \u0111\u1eb7t l\u1ecbch ti\xeam ch\u1ee7ng ti\u1ec7n l\u1ee3i, gi\xfap b\u1ea1n b\u1ea3o v\u1ec7 s\u1ee9c kh\u1ecfe d\xe0i l\xe2u cho c\u1ea3 gia \u0111\xecnh.

\\n

L\u1ee3i \xedch khi ch\u1ecdn HelloBacsi:

\\n
    \\n
  • Ti\u1ebfp c\u1eadn c\xe1c d\xf2ng v\u1eafc xin th\u1ee7y \u0111\u1eadu ch\u1ea5t l\u01b0\u1ee3ng, an to\xe0n cho c\u1ea3 tr\u1ebb em v\xe0 ng\u01b0\u1eddi l\u1edbn.
  • \\n
  • T\u01b0 v\u1ea5n l\u1ed9 tr\xecnh ti\xeam ph\xf2ng ph\xf9 h\u1ee3p \u0111\u1ec3 \u0111\u1ea1t hi\u1ec7u qu\u1ea3 b\u1ea3o v\u1ec7 cao nh\u1ea5t.
  • \\n
  • Th\u1ee7 t\u1ee5c nhanh g\u1ecdn, gi\xfap b\u1ea1n ti\u1ebft ki\u1ec7m th\u1eddi gian ch\u1edd \u0111\u1ee3i.
  • \\n
  • Th\xf4ng tin y khoa \u0111\u1ea7y \u0111\u1ee7 v\u1ec1 c\xe1ch ch\u0103m s\xf3c da khi m\u1eafc b\u1ec7nh v\xe0 sau ti\xeam ch\u1ee7ng.
  • \\n
\\n

\u0110\u1eebng \u0111\u1ec3 th\u1ee7y \u0111\u1eadu l\xe0m \u1ea3nh h\u01b0\u1edfng \u0111\u1ebfn th\u1ea9m m\u1ef9 v\xe0 s\u1ee9c kh\u1ecfe c\u1ee7a b\u1ea1n. H\xe3y ch\u1ee7 \u0111\u1ed9ng ti\xeam ph\xf2ng ngay h\xf4m nay tr\xean HelloBacsi \u0111\u1ec3 lu\xf4n t\u1ef1 tin v\xe0 kh\u1ecfe m\u1ea1nh!

"},"diarrhea":{"subtype":"Ti\xeau ch\u1ea3y","subtypeEng":"Diarrhea","title":"

V\u1eafc xin Rotavirus: B\u1ea3o v\u1ec7 h\u1ec7 ti\xeau h\xf3a non n\u1edbt c\u1ee7a b\xe9 y\xeau

","description":"

Ti\xeau ch\u1ea3y c\u1ea5p do Rotavirus l\xe0 nguy\xean nh\xe2n h\xe0ng \u0111\u1ea7u khi\u1ebfn tr\u1ebb em d\u01b0\u1edbi 5 tu\u1ed5i t\u1ea1i Vi\u1ec7t Nam ph\u1ea3i nh\u1eadp vi\u1ec7n, th\u1eadm ch\xed t\u1eed vong do m\u1ea5t n\u01b0\u1edbc qu\xe1 nhanh. Virus n\xe0y c\xf3 kh\u1ea3 n\u0103ng l\xe2y lan r\u1ea5t m\u1ea1nh qua \u0111\u01b0\u1eddng ph\xe2n - mi\u1ec7ng v\xe0 t\u1ed3n t\u1ea1i l\xe2u tr\xean c\xe1c b\u1ec1 m\u1eb7t \u0111\u1ed3 ch\u01a1i, b\xe0n gh\u1ebf. C\xe1c bi\u1ec7n ph\xe1p v\u1ec7 sinh th\xf4ng th\u01b0\u1eddng th\u01b0\u1eddng kh\xf4ng \u0111\u1ee7 \u0111\u1ec3 ng\u0103n ch\u1eb7n Rotavirus. Do \u0111\xf3, u\u1ed1ng v\u1eafc xin Rota l\xe0 gi\u1ea3i ph\xe1p t\u1ed1i \u01b0u nh\u1ea5t \u0111\u1ec3 b\u1ea3o v\u1ec7 tr\u1ebb kh\u1ecfi nh\u1eefng c\u01a1n n\xf4n tr\u1edb v\xe0 ti\xeau ch\u1ea3y d\u1eef d\u1ed9i.

\\n

V\u1eafc xin Rotavirus c\u1ea7n \u0111\u01b0\u1ee3c cho tr\u1ebb u\u1ed1ng s\u1edbm, th\u01b0\u1eddng b\u1eaft \u0111\u1ea7u t\u1eeb 6 tu\u1ea7n tu\u1ed5i v\xe0 k\u1ebft th\xfac tr\u01b0\u1edbc 6 th\xe1ng tu\u1ed5i. HelloBacsi h\u1ed7 tr\u1ee3 c\xe1c b\u1eadc ph\u1ee5 huynh b\u1eadn r\u1ed9n d\u1ec5 d\xe0ng \u0111\u1eb7t l\u1ecbch cho b\xe9 u\u1ed1ng v\u1eafc xin t\u1ea1i c\xe1c c\u01a1 s\u1edf y t\u1ebf chuy\xean khoa nhi uy t\xedn, \u0111\u1ea3m b\u1ea3o quy tr\xecnh theo d\xf5i s\u1ee9c kh\u1ecfe ch\u1eb7t ch\u1ebd.

\\n

T\u1ea1i sao n\xean ch\u1ecdn HelloBacsi?

\\n
    \\n
  • C\u1eadp nh\u1eadt c\xe1c lo\u1ea1i v\u1eafc xin Rotavirus \u0111\u01b0\u1eddng u\u1ed1ng th\u1ebf h\u1ec7 m\u1edbi, hi\u1ec7u qu\u1ea3 v\xe0 an to\xe0n.
  • \\n
  • Nh\u1eafc l\u1ecbch ch\xednh x\xe1c \u0111\u1ec3 b\xe9 ho\xe0n th\xe0nh \u0111\u1ee7 c\xe1c li\u1ec1u u\u1ed1ng trong khung gi\u1edd v\xe0ng.
  • \\n
  • T\u01b0 v\u1ea5n c\xe1ch ch\u0103m s\xf3c b\xe9 sau khi u\u1ed1ng v\u1eafc xin \u0111\u1ec3 gi\u1ea3m thi\u1ec3u c\xe1c ph\u1ea3n \u1ee9ng ti\xeau h\xf3a.
  • \\n
  • K\u1ebft n\u1ed1i v\u1edbi c\xe1c b\xe1c s\u0129 nhi khoa gi\xe0u kinh nghi\u1ec7m \u0111\u1ec3 gi\u1ea3i \u0111\xe1p m\u1ecdi th\u1eafc m\u1eafc.
  • \\n
\\n

H\xe3y \u0111\u1ec3 b\xe9 y\xeau c\u1ee7a b\u1ea1n ph\xe1t tri\u1ec3n kh\u1ecfe m\u1ea1nh v\u1edbi h\u1ec7 ti\xeau h\xf3a v\u1eefng v\xe0ng. \u0110\u1eb7t l\u1ecbch u\u1ed1ng v\u1eafc xin Rotavirus ngay h\xf4m nay tr\xean HelloBacsi!

"},"japanese_encephalitis":{"subtype":"Vi\xeam n\xe3o Nh\u1eadt B\u1ea3n","subtypeEng":"Japanese Encephalitis","title":"

V\u1eafc xin Vi\xeam n\xe3o Nh\u1eadt B\u1ea3n: B\u1ea3o v\u1ec7 b\u1ed9 n\xe3o v\xe0 s\u1ef1 ph\xe1t tri\u1ec3n th\u1ea7n kinh c\u1ee7a tr\u1ebb

","description":"

Vi\xeam n\xe3o Nh\u1eadt B\u1ea3n l\xe0 b\u1ec7nh nhi\u1ec5m tr\xf9ng h\u1ec7 th\u1ea7n kinh trung \u01b0\u01a1ng nguy hi\u1ec3m, do virus g\xe2y ra v\xe0 l\xe2y truy\u1ec1n qua v\u1ebft \u0111\u1ed1t c\u1ee7a mu\u1ed7i. T\u1ea1i Vi\u1ec7t Nam, b\u1ec7nh th\u01b0\u1eddng b\xf9ng ph\xe1t v\xe0o m\xf9a h\xe8, \u0111\u1eb7c bi\u1ec7t l\xe0 \u1edf nh\u1eefng v\xf9ng n\xf4ng th\xf4n c\xf3 nhi\u1ec1u ao h\u1ed3, \u0111\u1ed3ng l\xfaa v\xe0 ch\u0103n nu\xf4i gia s\xfac. B\u1ec7nh c\xf3 th\u1ec3 g\xe2y t\u1eed vong nhanh ch\xf3ng ho\u1eb7c \u0111\u1ec3 l\u1ea1i nh\u1eefng di ch\u1ee9ng n\u1eb7ng n\u1ec1 v\u1ec1 th\u1ea7n kinh nh\u01b0 li\u1ec7t, m\u1ea5t ng\xf4n ng\u1eef, co gi\u1eadt ho\u1eb7c ch\u1eadm ph\xe1t tri\u1ec3n tr\xed tu\u1ec7, tr\u1edf th\xe0nh g\xe1nh n\u1eb7ng cho c\u1ea3 gia \u0111\xecnh v\xe0 x\xe3 h\u1ed9i.

\\n

Ti\xeam v\u1eafc xin vi\xeam n\xe3o Nh\u1eadt B\u1ea3n l\xe0 ph\u01b0\u01a1ng ph\xe1p ph\xf2ng b\u1ec7nh b\u1ec1n v\u1eefng nh\u1ea5t. Hi\u1ec7n nay \u0111\xe3 c\xf3 c\xe1c lo\u1ea1i v\u1eafc xin th\u1ebf h\u1ec7 m\u1edbi v\u1edbi hi\u1ec7u qu\u1ea3 b\u1ea3o v\u1ec7 cao v\xe0 s\u1ed1 l\u1ea7n ti\xeam \xedt h\u01a1n. HelloBacsi \u0111\u1ed3ng h\xe0nh c\xf9ng c\xe1c gia \u0111\xecnh Vi\u1ec7t trong vi\u1ec7c \u0111\u1ea9y l\xf9i c\u0103n b\u1ec7nh \u0111\xe1ng s\u1ee3 n\xe0y b\u1eb1ng d\u1ecbch v\u1ee5 \u0111\u1eb7t l\u1ecbch ti\xeam ch\u1ee7ng t\u1ea1i c\xe1c trung t\xe2m y t\u1ebf hi\u1ec7n \u0111\u1ea1i v\xe0 \u0111\u1ea1t chu\u1ea9n.

\\n

L\u1ee3i \xedch khi \u0111\u1eb7t l\u1ecbch t\u1ea1i HelloBacsi:

\\n
    \\n
  • Ti\u1ebfp c\u1eadn v\u1eafc xin vi\xeam n\xe3o Nh\u1eadt B\u1ea3n th\u1ebf h\u1ec7 m\u1edbi v\u1edbi \u0111\u1ed9 an to\xe0n cao.
  • \\n
  • Quy tr\xecnh \u0111\u1eb7t l\u1ecbch \u0111\u01a1n gi\u1ea3n, gi\xfap cha m\u1eb9 ch\u1ee7 \u0111\u1ed9ng b\u1ea3o v\u1ec7 con tr\u01b0\u1edbc m\xf9a d\u1ecbch.
  • \\n
  • T\u01b0 v\u1ea5n ph\xe1c \u0111\u1ed3 ti\xeam nh\u1eafc l\u1ea1i \u0111\u1ec3 duy tr\xec mi\u1ec5n d\u1ecbch tr\u1ecdn \u0111\u1eddi.
  • \\n
  • Cung c\u1ea5p ki\u1ebfn th\u1ee9c v\u1ec1 c\xe1ch di\u1ec7t mu\u1ed7i v\xe0 ph\xf2ng ch\u1ed1ng v\u1ebft \u0111\u1ed1t t\u1ea1i nh\xe0.
  • \\n
\\n

\u0110\u1eebng \u0111\u1ec3 qu\xe1 mu\u1ed9n m\u1edbi ngh\u0129 \u0111\u1ebfn vi\u1ec7c ph\xf2ng b\u1ec7nh. H\xe3y b\u1ea3o v\u1ec7 tr\xed tu\u1ec7 v\xe0 t\u01b0\u01a1ng lai c\u1ee7a con tr\u1ebb b\u1eb1ng c\xe1ch ti\xeam ph\xf2ng vi\xeam n\xe3o Nh\u1eadt B\u1ea3n ngay h\xf4m nay tr\xean HelloBacsi!

"},"smallpox":{"subtype":"\u0110\u1eadu m\xf9a","subtypeEng":"Smallpox","title":"

V\u1eafc xin \u0110\u1eadu m\xf9a: T\u0103ng c\u01b0\u1eddng b\u1ea3o v\u1ec7 tr\u01b0\u1edbc c\xe1c bi\u1ebfn ch\u1ee7ng virus m\u1edbi

","description":"

M\u1eb7c d\xf9 b\u1ec7nh \u0110\u1eadu m\xf9a (Smallpox) \u0111\xe3 \u0111\u01b0\u1ee3c x\xf3a s\u1ed5 ho\xe0n to\xe0n tr\xean th\u1ebf gi\u1edbi, nh\u01b0ng s\u1ef1 b\xf9ng ph\xe1t c\u1ee7a b\u1ec7nh \u0110\u1eadu m\xf9a kh\u1ec9 (Mpox) trong nh\u1eefng n\u0103m g\u1ea7n \u0111\xe2y \u0111\xe3 l\xe0m d\u1ea5y l\xean nhu c\u1ea7u t\xecm hi\u1ec3u v\u1ec1 c\xe1c lo\u1ea1i v\u1eafc xin ph\xf2ng ng\u1eeba virus c\xf9ng h\u1ecd. \u0110\u1eadu m\xf9a kh\u1ec9 g\xe2y ra c\xe1c tri\u1ec7u ch\u1ee9ng \u0111au \u0111\u1edbn nh\u01b0 s\u1ed1t, ph\xe1t ban d\u1ea1ng ph\u1ed3ng r\u1ed9p v\xe0 s\u01b0ng h\u1ea1ch b\u1ea1ch huy\u1ebft. T\u1ea1i Vi\u1ec7t Nam, vi\u1ec7c ch\u1ee7 \u0111\u1ed9ng t\xecm hi\u1ec3u v\xe0 ti\xeam ph\xf2ng khi c\xf3 nguy c\u01a1 ti\u1ebfp x\xfac cao l\xe0 c\xe1ch \u0111\u1ec3 b\u1ea3o v\u1ec7 b\u1ea3n th\xe2n v\xe0 c\u1ed9ng \u0111\u1ed3ng tr\u01b0\u1edbc nh\u1eefng di\u1ec5n bi\u1ebfn kh\xf3 l\u01b0\u1eddng c\u1ee7a d\u1ecbch b\u1ec7nh.

\\n

V\u1eafc xin \u0111\u1eadu m\xf9a th\u1ebf h\u1ec7 m\u1edbi kh\xf4ng ch\u1ec9 c\xf3 t\xe1c d\u1ee5ng ph\xf2ng ng\u1eeba m\xe0 c\xf2n gi\xfap gi\u1ea3m nh\u1eb9 c\xe1c tri\u1ec7u ch\u1ee9ng n\u1ebfu kh\xf4ng may m\u1eafc ph\u1ea3i. HelloBacsi k\u1ebft n\u1ed1i b\u1ea1n v\u1edbi c\xe1c chuy\xean gia b\u1ec7nh truy\u1ec1n nhi\u1ec5m v\xe0 c\xe1c c\u01a1 s\u1edf y t\u1ebf c\xf3 kh\u1ea3 n\u0103ng cung c\u1ea5p gi\u1ea3i ph\xe1p b\u1ea3o v\u1ec7 t\u1ed1i \u01b0u tr\u01b0\u1edbc c\xe1c lo\u1ea1i virus pox.

\\n

L\u1ee3i \xedch khi \u0111\u1eb7t l\u1ecbch t\u1ea1i HelloBacsi:

\\n
    \\n
  • C\u1eadp nh\u1eadt th\xf4ng tin y khoa ch\xednh x\xe1c v\u1ec1 t\xecnh h\xecnh d\u1ecbch t\u1ec5 t\u1ea1i Vi\u1ec7t Nam.
  • \\n
  • \u0110\u1eb7t l\u1ecbch t\u01b0 v\u1ea5n c\xf9ng b\xe1c s\u0129 chuy\xean khoa \u0111\u1ec3 \u0111\xe1nh gi\xe1 m\u1ee9c \u0111\u1ed9 r\u1ee7i ro.
  • \\n
  • Quy tr\xecnh b\u1ea3o m\u1eadt th\xf4ng tin kh\xe1ch h\xe0ng tuy\u1ec7t \u0111\u1ed1i.
  • \\n
  • H\u01b0\u1edbng d\u1eabn chi ti\u1ebft c\xe1ch ph\xf2ng ng\u1eeba l\xe2y nhi\u1ec5m trong sinh ho\u1ea1t h\xe0ng ng\xe0y.
  • \\n
\\n

Ch\u1ee7 \u0111\u1ed9ng b\u1ea3o v\u1ec7 s\u1ee9c kh\u1ecfe l\xe0 c\xe1ch t\u1ed1t nh\u1ea5t \u0111\u1ec3 duy tr\xec nh\u1ecbp s\u1ed1ng hi\u1ec7n \u0111\u1ea1i. H\xe3y \u0111\u1ec3 HelloBacsi \u0111\u1ed3ng h\xe0nh c\xf9ng b\u1ea1n b\u1eb1ng nh\u1eefng d\u1ecbch v\u1ee5 y t\u1ebf tin c\u1eady. \u0110\u1eb7t l\u1ecbch ngay h\xf4m nay!

"},"dengue_fever":{"subtype":"S\u1ed1t xu\u1ea5t huy\u1ebft","subtypeEng":"Dengue fever","title":"

V\u1eafc xin S\u1ed1t xu\u1ea5t huy\u1ebft: Gi\u1ea3i ph\xe1p \u0111\u1ed9t ph\xe1 b\u1ea3o v\u1ec7 s\u1ee9c kh\u1ecfe gia \u0111\xecnh Vi\u1ec7t

","description":"

S\u1ed1t xu\u1ea5t huy\u1ebft l\xe0 m\u1ed9t trong nh\u1eefng b\u1ec7nh truy\u1ec1n nhi\u1ec5m ph\u1ed5 bi\u1ebfn nh\u1ea5t t\u1ea1i Vi\u1ec7t Nam, \u0111\u1eb7c bi\u1ec7t v\xe0o m\xf9a m\u01b0a. B\u1ec7nh do virus Dengue g\xe2y ra, l\xe2y lan qua v\u1ebft \u0111\u1ed1t c\u1ee7a mu\u1ed7i v\u1eb1n v\xe0 c\xf3 th\u1ec3 d\u1eabn \u0111\u1ebfn c\xe1c bi\u1ebfn ch\u1ee9ng nguy k\u1ecbch nh\u01b0 s\u1ed1c, xu\u1ea5t huy\u1ebft n\u1ed9i t\u1ea1ng v\xe0 suy \u0111a t\u1ea1ng. \\n\\nV\u1edbi s\u1ef1 ra \u0111\u1eddi c\u1ee7a v\u1eafc xin s\u1ed1t xu\u1ea5t huy\u1ebft th\u1ebf h\u1ec7 m\u1edbi, ch\xfang ta gi\u1edd \u0111\xe2y \u0111\xe3 c\xf3 th\xeam m\u1ed9t v\u0169 kh\xed c\u1ef1c k\u1ef3 hi\u1ec7u qu\u1ea3 \u0111\u1ec3 ch\u1ee7 \u0111\u1ed9ng ph\xf2ng ng\u1eeba, thay v\xec ch\u1ec9 d\u1ef1a v\xe0o c\xe1c bi\u1ec7n ph\xe1p di\u1ec7t mu\u1ed7i truy\u1ec1n th\u1ed1ng.

\\n

V\u1eafc xin s\u1ed1t xu\u1ea5t huy\u1ebft hi\u1ec7n \u0111\xe3 \u0111\u01b0\u1ee3c c\u1ea5p ph\xe9p s\u1eed d\u1ee5ng r\u1ed9ng r\xe3i, gi\xfap gi\u1ea3m \u0111\xe1ng k\u1ec3 t\u1ef7 l\u1ec7 m\u1eafc b\u1ec7nh v\xe0 nh\u1eadp vi\u1ec7n. \\n\\nT\u1ea1i HelloBacsi, ch\xfang t\xf4i gi\xfap b\u1ea1n ti\u1ebfp c\u1eadn s\u1edbm nh\u1ea5t v\u1edbi d\u1ecbch v\u1ee5 ti\xeam ch\u1ee7ng n\xe0y t\u1ea1i c\xe1c c\u01a1 s\u1edf y t\u1ebf uy t\xedn. \u0110\xe2y l\xe0 s\u1ef1 \u0111\u1ea7u t\u01b0 x\u1ee9ng \u0111\xe1ng \u0111\u1ec3 b\u1ea3o v\u1ec7 s\u1ee9c kh\u1ecfe v\xe0 t\xe0i ch\xednh c\u1ee7a gia \u0111\xecnh tr\u01b0\u1edbc nh\u1eefng \u0111\u1ee3t d\u1ecbch b\xf9ng ph\xe1t h\xe0ng n\u0103m.

\\n

T\u1ea1i sao n\xean ch\u1ecdn HelloBacsi?

\\n
    \\n
  • Cung c\u1ea5p th\xf4ng tin chi ti\u1ebft v\u1ec1 lo\u1ea1i v\u1eafc xin s\u1ed1t xu\u1ea5t huy\u1ebft \u0111\u01b0\u1ee3c WHO v\xe0 B\u1ed9 Y t\u1ebf khuy\xean d\xf9ng.
  • \\n
  • \u0110\u1eb7t l\u1ecbch ti\xeam ch\u1ee7ng nhanh ch\xf3ng, tr\xe1nh t\xecnh tr\u1ea1ng qu\xe1 t\u1ea3i t\u1ea1i c\xe1c b\u1ec7nh vi\u1ec7n.
  • \\n
  • \u0110\u1ed9i ng\u0169 b\xe1c s\u0129 t\u01b0 v\u1ea5n chuy\xean s\xe2u v\u1ec1 hi\u1ec7u qu\u1ea3 c\u1ee7a v\u1eafc xin \u0111\u1ed1i v\u1edbi ng\u01b0\u1eddi t\u1eebng m\u1eafc b\u1ec7nh.
  • \\n
  • Theo d\xf5i s\u1ee9c kh\u1ecfe sau ti\xeam chuy\xean nghi\u1ec7p, t\u1eadn t\xe2m.
  • \\n
\\n

H\xe3y \u0111\u1ec3 s\u1ed1t xu\u1ea5t huy\u1ebft kh\xf4ng c\xf2n l\xe0 n\u1ed7i lo c\u1ee7a m\u1ed7i gia \u0111\xecnh. Ch\u1ee7 \u0111\u1ed9ng \u0111\u1eb7t l\u1ecbch ti\xeam ph\xf2ng tr\xean HelloBacsi ngay h\xf4m nay \u0111\u1ec3 b\u1ea3o v\u1ec7 tr\u1ecdn v\u1eb9n nh\u1eefng ng\u01b0\u1eddi th\xe2n y\xeau!

"},"rabies":{"subtype":"B\u1ec7nh d\u1ea1i","subtypeEng":"Rabies","title":"

V\u1eafc xin D\u1ea1i: H\xe0nh \u0111\u1ed9ng ngay l\u1eadp t\u1ee9c \u0111\u1ec3 b\u1ea3o v\u1ec7 t\xednh m\u1ea1ng

","description":"

B\u1ec7nh d\u1ea1i l\xe0 c\u0103n b\u1ec7nh truy\u1ec1n nhi\u1ec5m nguy hi\u1ec3m nh\u1ea5t v\xec m\u1ed9t khi \u0111\xe3 l\xean c\u01a1n d\u1ea1i, t\u1ef7 l\u1ec7 t\u1eed vong l\xe0 100%. T\u1ea1i Vi\u1ec7t Nam, b\u1ec7nh d\u1ea1i ch\u1ee7 y\u1ebfu l\xe2y qua v\u1ebft c\u1eafn, v\u1ebft c\xe0o c\u1ee7a ch\xf3, m\xe8o b\u1ecb b\u1ec7nh. Virus d\u1ea1i t\u1ea5n c\xf4ng tr\u1ef1c ti\u1ebfp v\xe0o h\u1ec7 th\u1ea7n kinh trung \u01b0\u01a1ng, g\xe2y ra t\xecnh tr\u1ea1ng s\u1ee3 n\u01b0\u1edbc, s\u1ee3 gi\xf3 v\xe0 t\xea li\u1ec7t. Vi\u1ec7c ti\xeam v\u1eafc xin ph\xf2ng d\u1ea1i ngay sau khi b\u1ecb \u0111\u1ed9ng v\u1eadt t\u1ea5n c\xf4ng l\xe0 c\xe1ch duy nh\u1ea5t \u0111\u1ec3 ng\u0103n ch\u1eb7n virus x\xe2m nh\u1eadp v\xe0o n\xe3o v\xe0 c\u1ee9u s\u1ed1ng ng\u01b0\u1eddi b\u1ec7nh.

\\n

Kh\xf4ng ch\u1ec9 ti\xeam sau khi b\u1ecb c\u1eafn, nh\u1eefng ng\u01b0\u1eddi th\u01b0\u1eddng xuy\xean ti\u1ebfp x\xfac v\u1edbi \u0111\u1ed9ng v\u1eadt ho\u1eb7c \u0111i du l\u1ecbch \u0111\u1ebfn nh\u1eefng v\xf9ng r\u1eebng n\xfai c\u0169ng n\xean ti\xeam ph\xf2ng tr\u01b0\u1edbc \u0111\u1ec3 ch\u1ee7 \u0111\u1ed9ng b\u1ea3o v\u1ec7. \\n\\nHelloBacsi \u0111\u1ed3ng h\xe0nh c\xf9ng c\u1ed9ng \u0111\u1ed3ng trong vi\u1ec7c cung c\u1ea5p d\u1ecbch v\u1ee5 \u0111\u1eb7t l\u1ecbch ti\xeam v\u1eafc xin d\u1ea1i hi\u1ec7n \u0111\u1ea1i, kh\xf4ng g\xe2y \u0111au v\xe0 kh\xf4ng c\xf3 c\xe1c t\xe1c d\u1ee5ng ph\u1ee5 nghi\xeam tr\u1ecdng nh\u01b0 c\xe1c lo\u1ea1i v\u1eafc xin c\u0169.

\\n

L\u1ee3i \xedch khi s\u1eed d\u1ee5ng HelloBacsi:

\\n
    \\n
  • \u0110\u1eb7t l\u1ecbch ti\xeam ph\xf2ng d\u1ea1i kh\u1ea9n c\u1ea5p t\u1ea1i c\xe1c c\u01a1 s\u1edf y t\u1ebf g\u1ea7n nh\u1ea5t.
  • \\n
  • T\u01b0 v\u1ea5n ph\xe1c \u0111\u1ed3 ti\xeam 5 m\u0169i ho\u1eb7c 3 m\u0169i t\xf9y theo t\xecnh tr\u1ea1ng ph\u01a1i nhi\u1ec5m.
  • \\n
  • H\u01b0\u1edbng d\u1eabn c\xe1ch x\u1eed l\xfd v\u1ebft th\u01b0\u01a1ng t\u1ea1i ch\u1ed7 \u0111\xfang c\xe1ch \u0111\u1ec3 gi\u1ea3m l\u01b0\u1ee3ng virus.
  • \\n
  • \u0110\u1ea3m b\u1ea3o ngu\u1ed3n v\u1eafc xin \u0111\u1ea1t chu\u1ea9n GSP, an to\xe0n cho c\u1ea3 tr\u1ebb em v\xe0 ng\u01b0\u1eddi l\u1edbn.
  • \\n
\\n

\u0110\u1eebng ch\u1ee7 quan v\u1edbi nh\u1eefng v\u1ebft c\xe0o nh\u1ecf c\u1ee7a v\u1eadt nu\xf4i. H\xe3y b\u1ea3o v\u1ec7 t\xednh m\u1ea1ng c\u1ee7a m\xecnh b\u1eb1ng c\xe1ch ti\xeam ph\xf2ng d\u1ea1i k\u1ecbp th\u1eddi. \u0110\u1eb7t l\u1ecbch tr\xean HelloBacsi ngay khi b\u1ea1n c\u1ea7n h\u1ed7 tr\u1ee3!

"},"typhoid_fever":{"subtype":"Th\u01b0\u01a1ng h\xe0n","subtypeEng":"Typhoid fever","title":"

V\u1eafc xin Th\u01b0\u01a1ng h\xe0n: B\u1ea3o v\u1ec7 h\u1ec7 ti\xeau h\xf3a khi th\u01b0\u1edfng th\u1ee9c \u1ea9m th\u1ef1c \u0111\u01b0\u1eddng ph\u1ed1

","description":"

B\u1ec7nh th\u01b0\u01a1ng h\xe0n l\xe0 m\u1ed9t b\u1ec7nh nhi\u1ec5m tr\xf9ng \u0111\u01b0\u1eddng ti\xeau h\xf3a nghi\xeam tr\u1ecdng do vi khu\u1ea9n Salmonella typhi g\xe2y ra. T\u1ea1i Vi\u1ec7t Nam, v\u0103n ho\xe1 \u1ea9m th\u1ef1c \u0111\u01b0\u1eddng ph\u1ed1 v\xe0 v\xe0 s\u1eed d\u1ee5ng ngu\u1ed3n n\u01b0\u1edbc ch\u01b0a qua x\u1eed l\xfd tri\u1ec7t \u0111\u1ec3 \u1edf m\u1ed9t s\u1ed1 v\xf9ng n\xf4ng th\xf4n l\xe0 \u0111i\u1ec1u ki\u1ec7n thu\u1eadn l\u1ee3i cho vi khu\u1ea9n n\xe0y ph\xe1t tri\u1ec3n. Th\u01b0\u01a1ng h\xe0n g\xe2y s\u1ed1t k\xe9o d\xe0i, \u0111au b\u1ee5ng, nhi\u1ec5m \u0111\u1ed9c n\u1eb7ng v\xe0 c\xf3 th\u1ec3 d\u1eabn \u0111\u1ebfn bi\u1ebfn ch\u1ee9ng th\u1ee7ng ru\u1ed9t ho\u1eb7c xu\u1ea5t huy\u1ebft ti\xeau h\xf3a n\u1ebfu kh\xf4ng k\u1ecbp th\u1eddi \u0111i\u1ec1u tr\u1ecb b\u1eb1ng kh\xe1ng sinh k\u1ecbp th\u1eddi.

\\n

Ti\xeam v\u1eafc xin th\u01b0\u01a1ng h\xe0n l\xe0 bi\u1ec7n ph\xe1p b\u1ea3o v\u1ec7 th\xf4ng minh, \u0111\u1eb7c bi\u1ec7t c\u1ea7n thi\u1ebft cho nh\u1eefng ng\u01b0\u1eddi th\u01b0\u1eddng xuy\xean \u0111i du l\u1ecbch, c\xf4ng t\xe1c ho\u1eb7c l\xe0m vi\u1ec7c trong ng\xe0nh ch\u1ebf bi\u1ebfn th\u1ef1c ph\u1ea9m. HelloBacsi gi\xfap b\u1ea1n d\u1ec5 d\xe0ng \u0111\u1eb7t l\u1ecbch ti\xeam ph\xf2ng th\u01b0\u01a1ng h\xe0n t\u1ea1i c\xe1c ph\xf2ng kh\xe1m v\xe0 b\u1ec7nh vi\u1ec7n uy t\xedn, \u0111\u1ea3m b\u1ea3o b\u1ea1n c\xf3 th\u1ec3 tho\u1ea3i m\xe1i t\u1eadn h\u01b0\u1edfng cu\u1ed9c s\u1ed1ng m\xe0 kh\xf4ng ph\u1ea3i lo l\u1eafng v\u1ec1 nh\u1eefng c\u01a1n \u0111au b\u1ee5ng d\u1eef d\u1ed9i.

\\n

\u01afu \u0111i\u1ec3m khi \u0111\u1eb7t l\u1ecbch qua HelloBacsi:

\\n
    \\n
  • Quy tr\xecnh \u0111\u0103ng k\xfd nhanh g\u1ecdn, ph\xf9 h\u1ee3p cho ng\u01b0\u1eddi c\u1ea7n ti\xeam ch\u1ee7ng \u0111\u1ec3 \u0111i l\xe0m ho\u1eb7c \u0111i h\u1ecdc.
  • \\n
  • T\u01b0 v\u1ea5n chi ti\u1ebft v\u1ec1 th\u1eddi gian hi\u1ec7u l\u1ef1c c\u1ee7a v\u1eafc xin (th\u01b0\u1eddng l\xe0 3 n\u0103m m\u1ed9t l\u1ea7n).
  • \\n
  • \u0110\u1ea3m b\u1ea3o v\u1eafc xin ch\u1ea5t l\u01b0\u1ee3ng cao, gi\u1ea3m thi\u1ec3u ph\u1ea3n \u1ee9ng ph\u1ee5 t\u1ea1i ch\u1ed7 ti\xeam.
  • \\n
  • K\u1ebft n\u1ed1i v\u1edbi h\u1ec7 th\u1ed1ng x\xe9t nghi\u1ec7m ki\u1ec3m tra vi khu\u1ea9n \u0111\u01b0\u1eddng ru\u1ed9t khi c\u1ea7n thi\u1ebft.
  • \\n
\\n

H\xe3y \u0111\u1ec3 v\u1eafc xin l\xe0 ng\u01b0\u1eddi g\xe1c c\u1ed5ng cho h\u1ec7 ti\xeau h\xf3a c\u1ee7a b\u1ea1n. Ch\u1ee7 \u0111\u1ed9ng ti\xeam ph\xf2ng th\u01b0\u01a1ng h\xe0n ngay h\xf4m nay tr\xean HelloBacsi \u0111\u1ec3 an t\xe2m kh\xe1m ph\xe1 m\u1ecdi mi\u1ec1n \u0111\u1ea5t n\u01b0\u1edbc!

"},"tuberculosis":{"subtype":"Lao","subtypeEng":"Tuberculosis","title":"

V\u1eafc xin Lao (BCG): H\xe0ng r\xe0o \u0111\u1ea7u \u0111\u1eddi b\u1ea3o v\u1ec7 ph\u1ed5i c\u1ee7a tr\u1ebb s\u01a1 sinh

","description":"

Lao v\u1eabn l\xe0 m\u1ed9t trong nh\u1eefng b\u1ec7nh truy\u1ec1n nhi\u1ec5m c\xf3 g\xe1nh n\u1eb7ng y t\u1ebf l\u1edbn t\u1ea1i Vi\u1ec7t Nam. Vi khu\u1ea9n lao kh\xf4ng ch\u1ec9 t\u1ea5n c\xf4ng ph\u1ed5i m\xe0 c\xf2n c\xf3 th\u1ec3 g\xe2y h\u1ea1i cho x\u01b0\u01a1ng, kh\u1edbp, h\u1ec7 th\u1ea7n kinh v\xe0 c\xe1c c\u01a1 quan kh\xe1c. \u0110\u1ed1i v\u1edbi tr\u1ebb nh\u1ecf, b\u1ec7nh lao c\xf3 th\u1ec3 di\u1ec5n ti\u1ebfn r\u1ea5t nhanh v\xe0 g\xe2y ra c\xe1c th\u1ec3 lao n\u1eb7ng nh\u01b0 lao m\xe0ng n\xe3o. \\n\\nV\u1eafc xin BCG l\xe0 m\u0169i ti\xeam v\xe0ng \u0111\u01b0\u1ee3c khuy\u1ebfn c\xe1o th\u1ef1c hi\u1ec7n cho tr\u1ebb trong v\xf2ng 1 th\xe1ng \u0111\u1ea7u sau sinh \u0111\u1ec3 t\u1ea1o ra mi\u1ec5n d\u1ecbch s\u1edbm nh\u1ea5t c\xf3 th\u1ec3.

\\n

M\u1eb7c d\xf9 v\u1eafc xin BCG kh\xf4ng gi\xfap ph\xf2ng ng\u1eeba tuy\u1ec7t \u0111\u1ed1i vi\u1ec7c nhi\u1ec5m lao \u1edf ng\u01b0\u1eddi l\u1edbn, nh\u01b0ng n\xf3 \u0111\xf3ng vai tr\xf2 c\u1ef1c k\u1ef3 quan tr\u1ecdng trong vi\u1ec7c ng\u0103n ch\u1eb7n c\xe1c bi\u1ebfn ch\u1ee9ng nguy hi\u1ec3m nh\u1ea5t \u1edf tr\u1ebb em. HelloBacsi \u0111\u1ed3ng h\xe0nh c\xf9ng c\xe1c b\u1eadc cha m\u1eb9 trong vi\u1ec7c \u0111\u1ea3m b\u1ea3o b\xe9 y\xeau \u0111\u01b0\u1ee3c ti\xeam BCG \u0111\xfang h\u1ea1n v\xe0 theo d\xf5i v\u1ebft s\u01b0ng sau ti\xeam m\u1ed9t c\xe1ch khoa h\u1ecdc.

\\n

T\u1ea1i sao n\xean \u0111\u1eb7t l\u1ecbch ti\xeam v\u1eafc xin t\u1ea1i HelloBacsi?

\\n
    \\n
  • H\u1ec7 th\u1ed1ng nh\u1eafc l\u1ecbch ti\xeam ch\u1ee7ng s\u01a1 sinh ch\xednh x\xe1c, gi\xfap b\xe9 kh\xf4ng b\u1ecf l\u1ee1 m\u0169i BCG.
  • \\n
  • H\u01b0\u1edbng d\u1eabn chi ti\u1ebft c\xe1ch ch\u0103m s\xf3c v\u1ebft ti\xeam BCG t\u1ea1i nh\xe0 \u0111\u1ec3 tr\xe1nh nhi\u1ec5m tr\xf9ng.
  • \\n
  • K\u1ebft n\u1ed1i v\u1edbi c\xe1c b\xe1c s\u0129 chuy\xean khoa h\xf4 h\u1ea5p \u0111\u1ec3 t\u1ea7m so\xe1t lao cho c\u1ea3 gia \u0111\xecnh.
  • \\n
  • Th\xf4ng tin y khoa c\u1eadp nh\u1eadt v\u1ec1 ph\xe1c \u0111\u1ed3 \u0111i\u1ec1u tr\u1ecb lao hi\u1ec7n \u0111\u1ea1i v\xe0 hi\u1ec7u qu\u1ea3.
  • \\n
\\n

B\u1ea3o v\u1ec7 l\xe1 ph\u1ed5i c\u1ee7a con l\xe0 b\u1ea3o v\u1ec7 h\u01a1i th\u1edf cu\u1ed9c s\u1ed1ng. \u0110\u1eebng qu\xean \u0111\u1eb7t l\u1ecbch ti\xeam v\u1eafc xin lao cho b\xe9 ngay h\xf4m nay tr\xean HelloBacsi!

"},"hepatitis":{"subtype":"Vi\xeam gan A","subtypeEng":"Hepatitis A","title":"

V\u1eafc xin Vi\xeam gan A: An t\xe2m t\u1eadn h\u01b0\u1edfng \u1ea9m th\u1ef1c, kh\xf4ng lo nhi\u1ec5m \u0111\u1ed9c gan

","description":"

Vi\xeam gan A l\xe0 m\u1ed9t b\u1ec7nh nhi\u1ec5m tr\xf9ng gan c\u1ea5p t\xednh l\xe2y lan ch\u1ee7 y\u1ebfu qua \u0111\u01b0\u1eddng ti\xeau h\xf3a. T\u1ea1i Vi\u1ec7t Nam, virus vi\xeam gan A th\u01b0\u1eddng c\xf3 m\u1eb7t trong c\xe1c lo\u1ea1i th\u1ef1c ph\u1ea9m t\u01b0\u01a1i s\u1ed1ng, h\u1ea3i s\u1ea3n ch\u01b0a \u0111\u01b0\u1ee3c n\u1ea5u ch\xedn ho\u1eb7c ngu\u1ed3n n\u01b0\u1edbc b\u1ecb \xf4 nhi\u1ec5m. Kh\xe1c v\u1edbi vi\xeam gan B, vi\xeam gan A th\u01b0\u1eddng kh\xf4ng g\xe2y b\u1ec7nh m\u1ea1n t\xednh nh\u01b0ng c\xf3 th\u1ec3 d\u1eabn \u0111\u1ebfn suy gan c\u1ea5p t\xednh \u1edf m\u1ed9t s\u1ed1 tr\u01b0\u1eddng h\u1ee3p, g\xe2y \u1ea3nh h\u01b0\u1edfng nghi\xeam tr\u1ecdng \u0111\u1ebfn s\u1ee9c kh\u1ecfe v\xe0 c\xf4ng vi\u1ec7c.

\\n

Ti\xeam v\u1eafc xin vi\xeam gan A l\xe0 c\xe1ch b\u1ea3o v\u1ec7 gan hi\u1ec7u qu\u1ea3 nh\u1ea5t, gi\xfap b\u1ea1n t\u1ef1 tin h\u01a1n khi \u0111i du l\u1ecbch ho\u1eb7c th\u01b0\u1edfng th\u1ee9c nh\u1eefng m\xf3n \u0103n \u0111\u1eb7c s\u1ea3n v\xf9ng mi\u1ec1n. \\n\\nHelloBacsi cung c\u1ea5p n\u1ec1n t\u1ea3ng \u0111\u1eb7t l\u1ecbch ti\xeam ch\u1ee7ng d\u1ec5 d\xe0ng, gi\xfap b\u1ea1n v\xe0 gia \u0111\xecnh lu\xf4n \u0111\u01b0\u1ee3c b\u1ea3o v\u1ec7 tr\u01b0\u1edbc c\xe1c m\u1ed1i nguy t\u1eeb m\xf4i tr\u01b0\u1eddng s\u1ed1ng xung quanh.

\\n

\u01afu \u0111i\u1ec3m khi \u0111\u1eb7t l\u1ecbch qua HelloBacsi:

\\n
    \\n
  • T\u01b0 v\u1ea5n l\u1ed9 tr\xecnh ti\xeam ph\xf2ng vi\xeam gan A cho c\u1ea3 tr\u1ebb em v\xe0 ng\u01b0\u1eddi l\u1edbn.
  • \\n
  • Cung c\u1ea5p v\u1eafc xin t\u1eeb c\xe1c ngu\u1ed3n uy t\xedn, \u0111\u1ea3m b\u1ea3o an to\xe0n v\xe0 hi\u1ec7u qu\u1ea3 cao.
  • \\n
  • Th\u1ee7 t\u1ee5c \u0111\u1eb7t l\u1ecbch tr\u1ef1c tuy\u1ebfn \u0111\u01a1n gi\u1ea3n, kh\xf4ng c\u1ea7n ch\u1edd \u0111\u1ee3i l\xe2u t\u1ea1i ph\xf2ng kh\xe1m.
  • \\n
  • Ki\u1ebfn th\u1ee9c y khoa v\u1ec1 c\xe1ch nh\u1eadn bi\u1ebft c\xe1c tri\u1ec7u ch\u1ee9ng vi\xeam gan c\u1ea5p t\xednh s\u1edbm.
  • \\n
\\n

\u0110\u1eebng \u0111\u1ec3 vi\xeam gan A l\xe0m gi\xe1n \u0111o\u1ea1n cu\u1ed9c s\u1ed1ng c\u1ee7a b\u1ea1n. H\xe3y ch\u1ee7 \u0111\u1ed9ng b\u1ea3o v\u1ec7 l\xe1 gan b\u1eb1ng c\xe1ch \u0111\u1eb7t l\u1ecbch ti\xeam ph\xf2ng tr\xean HelloBacsi ngay h\xf4m nay!

"},"shingles":{"subtype":"Zona th\u1ea7n kinh","subtypeEng":"Shingles (Herpes zoster)","title":"

V\u1eafc xin Zona th\u1ea7n kinh: Ng\u0103n ng\u1eeba c\u01a1n \u0111au th\u1eaft v\xe0 b\u1ea3o v\u1ec7 ch\u1ea5t l\u01b0\u1ee3ng cu\u1ed9c s\u1ed1ng

","description":"

B\u1ec7nh Zona th\u1ea7n kinh (gi\u1eddi leo) l\xe0 n\u1ed7i \xe1m \u1ea3nh c\u1ee7a nhi\u1ec1u ng\u01b0\u1eddi, \u0111\u1eb7c bi\u1ec7t l\xe0 ng\u01b0\u1eddi trung ni\xean v\xe0 ng\u01b0\u1eddi cao tu\u1ed5i t\u1ea1i Vi\u1ec7t Nam. B\u1ec7nh do s\u1ef1 t\xe1i ho\u1ea1t \u0111\u1ed9ng c\u1ee7a virus g\xe2y b\u1ec7nh th\u1ee7y \u0111\u1eadu, d\u1eabn \u0111\u1ebfn c\xe1c v\u1ebft ph\u1ed3ng r\u1ed9p d\u1ecdc theo d\xe2y th\u1ea7n kinh v\xe0 nh\u1eefng c\u01a1n \u0111au nh\u01b0 dao \u0111\xe2m, b\u1ecfng r\xe1t k\xe9o d\xe0i ngay c\u1ea3 sau khi n\u1ed1t ban \u0111\xe3 l\u1eb7n (\u0111au d\xe2y th\u1ea7n kinh sau Zona). C\u01a1n \u0111au n\xe0y c\xf3 th\u1ec3 l\xe0m suy nh\u01b0\u1ee3c c\u01a1 th\u1ec3, g\xe2y m\u1ea5t ng\u1ee7 v\xe0 tr\u1ea7m c\u1ea3m, \u1ea3nh h\u01b0\u1edfng nghi\xeam tr\u1ecdng \u0111\u1ebfn \u0111\u1eddi s\u1ed1ng tinh th\u1ea7n c\u1ee7a ng\u01b0\u1eddi b\u1ec7nh.

\\n

Ti\xeam v\u1eafc xin Zona l\xe0 gi\u1ea3i ph\xe1p ph\xf2ng ng\u1eeba hi\u1ec7n \u0111\u1ea1i nh\u1ea5t hi\u1ec7n nay, gi\xfap gi\u1ea3m thi\u1ec3u t\u1ed1i \u0111a nguy c\u01a1 m\u1eafc b\u1ec7nh v\xe0 c\xe1c bi\u1ebfn ch\u1ee9ng \u0111au \u0111\u1edbn h\u1eadu Zona. HelloBacsi gi\xfap b\u1ea1n v\xe0 nh\u1eefng ng\u01b0\u1eddi th\xe2n y\xeau ti\u1ebfp c\u1eadn d\u1ec5 d\xe0ng v\u1edbi v\u1eafc xin Zona th\u1ebf h\u1ec7 m\u1edbi, mang l\u1ea1i s\u1ef1 an t\xe2m v\xe0 t\u1eadn h\u01b0\u1edfng tu\u1ed5i gi\xe0 tr\u1ecdn v\u1eb9n.

\\n

L\u1ee3i \xedch khi ch\u1ecdn HelloBacsi:

\\n
    \\n
  • \u0110\u1ed9i ng\u0169 b\xe1c s\u0129 t\u01b0 v\u1ea5n chuy\xean s\xe2u v\u1ec1 l\u1ee3i \xedch c\u1ee7a v\u1eafc xin \u0111\u1ed1i v\u1edbi ng\u01b0\u1eddi tr\xean 50 tu\u1ed5i.
  • \\n
  • \u0110\u1ea3m b\u1ea3o ngu\u1ed3n v\u1eafc xin ch\xednh h\xe3ng, quy tr\xecnh b\u1ea3o qu\u1ea3n nghi\xeam ng\u1eb7t.
  • \\n
  • Quy tr\xecnh \u0111\u1eb7t l\u1ecbch \u01b0u ti\xean cho ng\u01b0\u1eddi cao tu\u1ed5i, kh\xf4ng ph\u1ea3i ch\u1edd \u0111\u1ee3i l\xe2u.
  • \\n
  • Cung c\u1ea5p c\xe1c ki\u1ebfn th\u1ee9c v\u1ec1 c\xe1ch n\xe2ng cao h\u1ec7 mi\u1ec5n d\u1ecbch cho ng\u01b0\u1eddi gi\xe0.
  • \\n
\\n

H\xe3y t\u1eb7ng m\xf3n qu\xe0 s\u1ee9c kh\u1ecfe cho ch\xednh m\xecnh v\xe0 cha m\u1eb9 b\u1eb1ng c\xe1ch ti\xeam ph\xf2ng Zona th\u1ea7n kinh. \u0110\u1eb7t l\u1ecbch tr\xean HelloBacsi ngay h\xf4m nay \u0111\u1ec3 nh\u1eadn \u0111\u01b0\u1ee3c s\u1ef1 ch\u0103m s\xf3c t\u1ed1t nh\u1ea5t!

"}},"IVF":{"ivf":{"subtype":"IVF","subtypeEng":"In Vitro Fertilization (IVF)","title":"

Th\u1ee5 tinh trong \u1ed1ng nghi\u1ec7m (IVF): Hi\u1ec7n th\u1ef1c h\xf3a \u01b0\u1edbc m\u01a1 l\xe0m cha m\u1eb9

","description":"

Th\u1ee5 tinh trong \u1ed1ng nghi\u1ec7m (IVF) hi\u1ec7n l\xe0 m\u1ed9t trong nh\u1eefng ph\u01b0\u01a1ng ph\xe1p h\u1ed7 tr\u1ee3 sinh s\u1ea3n hi\u1ec7n \u0111\u1ea1i v\xe0 hi\u1ec7u qu\u1ea3 nh\u1ea5t d\xe0nh cho c\xe1c c\u1eb7p v\u1ee3 ch\u1ed3ng hi\u1ebfm mu\u1ed9n. V\u1edbi t\u1ef7 l\u1ec7 th\xe0nh c\xf4ng ng\xe0y c\xe0ng t\u0103ng nh\u1edd s\u1ef1 ph\xe1t tri\u1ec3n c\u1ee7a c\xf4ng ngh\u1ec7 y khoa, IVF \u0111\xe3 mang l\u1ea1i ni\u1ec1m h\u1ea1nh ph\xfac cho h\xe0ng tri\u1ec7u gia \u0111\xecnh. \u0110\xe2y l\xe0 k\u1ef9 thu\u1eadt cho ph\xe9p k\u1ebft h\u1ee3p tr\u1ee9ng v\xe0 tinh tr\xf9ng trong m\xf4i tr\u01b0\u1eddng ph\xf2ng th\xed nghi\u1ec7m \u0111\u1ec3 t\u1ea1o th\xe0nh ph\xf4i, sau \u0111\xf3 ph\xf4i kh\u1ecfe m\u1ea1nh nh\u1ea5t s\u1ebd \u0111\u01b0\u1ee3c chuy\u1ec3n v\xe0o t\u1eed cung c\u1ee7a ng\u01b0\u1eddi m\u1eb9.

\\n

H\xe0nh tr\xecnh IVF kh\xf4ng ch\u1ec9 \u0111\xf2i h\u1ecfi s\u1ef1 ki\xean tr\xec m\xe0 c\xf2n c\u1ea7n s\u1ef1 chu\u1ea9n b\u1ecb k\u1ef9 l\u01b0\u1ee1ng v\u1ec1 s\u1ee9c kh\u1ecfe v\xe0 t\xe2m l\xfd. Nhi\u1ec1u c\u1eb7p \u0111\xf4i th\u01b0\u1eddng lo l\u1eafng v\u1ec1 chi ph\xed IVF c\u0169ng nh\u01b0 ph\xe1c \u0111\u1ed3 \u0111i\u1ec1u tr\u1ecb. T\u1ea1i HelloBacsi, ch\xfang t\xf4i cung c\u1ea5p h\u1ec7 th\u1ed1ng th\xf4ng tin b\xe0i b\u1ea3n, \u0111\u01b0\u1ee3c ki\u1ec3m ch\u1ee9ng b\u1edfi c\xe1c chuy\xean gia s\u1ea3n khoa h\xe0ng \u0111\u1ea7u, gi\xfap b\u1ea1n hi\u1ec3u r\xf5 t\u1eebng giai \u0111o\u1ea1n c\u1ee7a quy tr\xecnh: t\u1eeb k\xedch th\xedch bu\u1ed3ng tr\u1ee9ng, ch\u1ecdc h\xfat tr\u1ee9ng cho \u0111\u1ebfn nu\xf4i c\u1ea5y v\xe0 chuy\u1ec3n ph\xf4i. M\u1ee5c ti\xeau c\u1ee7a ch\xfang t\xf4i l\xe0 gi\xfap b\u1ea1n gi\u1ea3m b\u1edbt lo \xe2u v\xe0 t\u1ef1 tin h\u01a1n tr\xean h\xe0nh tr\xecnh \u0111\xf3n con y\xeau.

\\n

L\u1ee3i \xedch khi \u0111\u1eb7t l\u1ecbch t\u1ea1i HelloBacsi:

\\n
    \\n
  • D\u1ec5 d\xe0ng t\xecm ki\u1ebfm v\xe0 l\u1ef1a ch\u1ecdn c\xe1c b\u1ec7nh vi\u1ec7n, trung t\xe2m h\u1ed7 tr\u1ee3 sinh s\u1ea3n uy t\xedn nh\u1ea5t.
  • \\n
  • Minh b\u1ea1ch v\u1ec1 th\xf4ng tin d\u1ecbch v\u1ee5 v\xe0 c\xe1c k\u1ef9 thu\u1eadt h\u1ed7 tr\u1ee3 \u0111i k\xe8m (nh\u01b0 nu\xf4i ph\xf4i ng\xe0y 5, s\xe0ng l\u1ecdc di truy\u1ec1n).
  • \\n
  • H\u1ed7 tr\u1ee3 k\u1ebft n\u1ed1i tr\u1ef1c ti\u1ebfp v\u1edbi b\xe1c s\u0129 \u0111\u1ec3 nh\u1eadn t\u01b0 v\u1ea5n ban \u0111\u1ea7u ph\xf9 h\u1ee3p v\u1edbi t\xecnh tr\u1ea1ng c\xe1 nh\xe2n.
  • \\n
  • Cam k\u1ebft b\u1ea3o m\u1eadt th\xf4ng tin tuy\u1ec7t \u0111\u1ed1i cho kh\xe1ch h\xe0ng.
  • \\n
\\n

H\xe3y \u0111\u1ec3 HelloBacsi \u0111\u1ed3ng h\xe0nh v\xe0 ti\u1ebfp th\xeam s\u1ee9c m\u1ea1nh cho b\u1ea1n trong h\xe0nh tr\xecnh t\xecm ki\u1ebfm thi\xean th\u1ea7n nh\u1ecf. \u0110\u1eb7t l\u1ecbch t\u01b0 v\u1ea5n IVF ngay h\xf4m nay \u0111\u1ec3 nh\u1eadn \u0111\u01b0\u1ee3c s\u1ef1 h\u1ed7 tr\u1ee3 chuy\xean nghi\u1ec7p nh\u1ea5t!

"},"icsi":{"subtype":"ICSI","subtypeEng":"Intracytoplasmic Sperm Injection (ICSI)","title":"

K\u1ef9 thu\u1eadt ICSI: Gi\u1ea3i ph\xe1p t\u1ed1i \u01b0u cho t\xecnh tr\u1ea1ng v\xf4 sinh nam

","description":"

Ti\xeam tinh tr\xf9ng v\xe0o b\xe0o t\u01b0\u01a1ng no\xe3n (ICSI) l\xe0 m\u1ed9t b\u01b0\u1edbc ti\u1ebfn v\u0129 \u0111\u1ea1i trong h\u1ed7 tr\u1ee3 sinh s\u1ea3n, \u0111\u1eb7c bi\u1ec7t l\xe0 c\u1ee9u c\xe1nh cho nh\u1eefng tr\u01b0\u1eddng h\u1ee3p v\xf4 sinh do y\u1ebfu t\u1ed1 t\u1eeb ng\u01b0\u1eddi ch\u1ed3ng. T\u1ea1i Vi\u1ec7t Nam, ICSI th\u01b0\u1eddng \u0111\u01b0\u1ee3c th\u1ef1c hi\u1ec7n k\u1ebft h\u1ee3p trong quy tr\xecnh IVF. Thay v\xec \u0111\u1ec3 tinh tr\xf9ng t\u1ef1 th\xe2m nh\u1eadp v\xe0o tr\u1ee9ng, c\xe1c chuy\xean gia ph\xf4i h\u1ecdc s\u1ebd ch\u1ecdn l\u1ecdc m\u1ed9t tinh tr\xf9ng kh\u1ecfe m\u1ea1nh nh\u1ea5t, c\xf3 h\xecnh th\xe1i v\xe0 di \u0111\u1ed9ng t\u1ed1t nh\u1ea5t \u0111\u1ec3 ti\xeam tr\u1ef1c ti\u1ebfp v\xe0o tr\u1ee9ng. \u0110i\u1ec1u n\xe0y gi\xfap t\u1ed1i \u01b0u h\xf3a kh\u1ea3 n\u0103ng th\u1ee5 thai ngay c\u1ea3 khi s\u1ed1 l\u01b0\u1ee3ng tinh tr\xf9ng r\u1ea5t \xedt ho\u1eb7c ch\u1ea5t l\u01b0\u1ee3ng kh\xf4ng cao.

\\n

Vi\u1ec7c l\u1ef1a ch\u1ecdn th\u1ef1c hi\u1ec7n ICSI \u0111\xf2i h\u1ecfi s\u1ef1 t\u1ec9 m\u1ec9 v\xe0 tay ngh\u1ec1 cao c\u1ee7a \u0111\u1ed9i ng\u0169 y b\xe1c s\u0129. HelloBacsi t\u1ef1 h\xe0o l\xe0 n\u1ec1n t\u1ea3ng k\u1ebft n\u1ed1i b\u1ea1n v\u1edbi nh\u1eefng trung t\xe2m IVF h\xe0ng \u0111\u1ea7u Vi\u1ec7t Nam, n\u01a1i s\u1edf h\u1eefu trang thi\u1ebft b\u1ecb hi\u1ec7n \u0111\u1ea1i v\xe0 \u0111\u1ed9i ng\u0169 chuy\xean gia gi\xe0u kinh nghi\u1ec7m. Ch\xfang t\xf4i gi\xfap b\u1ea1n hi\u1ec3u r\xf5 t\u1ea1i sao ICSI l\u1ea1i l\xe0 l\u1ef1a ch\u1ecdn c\u1ea7n thi\u1ebft v\xe0 nh\u1eefng l\u1ee3i \xedch m\xe0 k\u1ef9 thu\u1eadt n\xe0y mang l\u1ea1i cho s\u1ef1 th\xe0nh c\xf4ng c\u1ee7a m\u1ed9t chu k\u1ef3 th\u1ee5 tinh \u1ed1ng nghi\u1ec7m.

\\n

L\u1ee3i \xedch khi \u0111\u1ed3ng h\xe0nh c\xf9ng HelloBacsi:

\\n
    \\n
  • T\xecm ki\u1ebfm c\xe1c c\u01a1 s\u1edf y t\u1ebf c\xf3 th\u1ebf m\u1ea1nh v\u1ec1 \u0111i\u1ec1u tr\u1ecb v\xf4 sinh nam v\xe0 k\u1ef9 thu\u1eadt ICSI.
  • \\n
  • T\u01b0 v\u1ea5n c\xe1c x\xe9t nghi\u1ec7m chuy\xean s\xe2u nh\u01b0 DNA ph\xe2n m\u1ea3nh tinh tr\xf9ng tr\u01b0\u1edbc khi l\xe0m ICSI.
  • \\n
  • Quy tr\xecnh \u0111\u1eb7t l\u1ecbch nhanh ch\xf3ng, gi\u1ea3m thi\u1ec3u th\u1eddi gian ch\u1edd \u0111\u1ee3i cho c\xe1c c\u1eb7p \u0111\xf4i.
  • \\n
  • Th\xf4ng tin y khoa c\u1eadp nh\u1eadt v\u1ec1 c\xe1c k\u1ef9 thu\u1eadt ch\u1ecdn l\u1ecdc tinh tr\xf9ng ti\xean ti\u1ebfn nh\u1ea5t.
  • \\n
\\n

\u0110\u1eebng \u0111\u1ec3 n\u1ed7i lo v\u1ec1 ch\u1ea5t l\u01b0\u1ee3ng tinh tr\xf9ng l\xe0m c\u1ea3n tr\u1edf \u01b0\u1edbc m\u01a1 l\xe0m cha. V\u1edbi s\u1ef1 h\u1ed7 tr\u1ee3 c\u1ee7a k\u1ef9 thu\u1eadt ICSI v\xe0 HelloBacsi, h\xe0nh tr\xecnh c\u1ee7a b\u1ea1n s\u1ebd tr\u1edf n\xean thu\u1eadn l\u1ee3i h\u01a1n. \u0110\u1eb7t l\u1ecbch ngay h\xf4m nay!

"},"iui":{"subtype":"IUI","subtypeEng":"Intrauterine Insemination (IUI)","title":"

Th\u1ee5 tinh nh\xe2n t\u1ea1o (IUI): Gi\u1ea3i ph\xe1p h\u1ed7 tr\u1ee3 sinh s\u1ea3n nh\u1eb9 nh\xe0ng v\xe0 hi\u1ec7u qu\u1ea3

","description":"

Th\u1ee5 tinh nh\xe2n t\u1ea1o (IUI) l\xe0 ph\u01b0\u01a1ng ph\xe1p b\u01a1m tinh tr\xf9ng \u0111\xe3 qua l\u1ecdc r\u1eeda tr\u1ef1c ti\u1ebfp v\xe0o bu\u1ed3ng t\u1eed cung c\u1ee7a ng\u01b0\u1eddi ph\u1ee5 n\u1eef. \u0110\xe2y l\xe0 k\u1ef9 thu\u1eadt h\u1ed7 tr\u1ee3 sinh s\u1ea3n ph\u1ed5 bi\u1ebfn t\u1ea1i Vi\u1ec7t Nam nh\u1edd quy tr\xecnh \u0111\u01a1n gi\u1ea3n, chi ph\xed th\u1ea5p v\xe0 \xedt x\xe2m l\u1ea5n h\u01a1n so v\u1edbi IVF. IUI gi\xfap r\xfat ng\u1eafn qu\xe3ng \u0111\u01b0\u1eddng di chuy\u1ec3n c\u1ee7a tinh tr\xf9ng, t\u1eeb \u0111\xf3 t\u0103ng c\u01a1 h\u1ed9i g\u1eb7p tr\u1ee9ng v\xe0 th\u1ee5 thai t\u1ef1 nhi\xean. Ph\u01b0\u01a1ng ph\xe1p n\xe0y th\u01b0\u1eddng \u0111\u01b0\u1ee3c ch\u1ec9 \u0111\u1ecbnh cho c\xe1c c\u1eb7p \u0111\xf4i hi\u1ebfm mu\u1ed9n ch\u01b0a r\xf5 nguy\xean nh\xe2n, ph\u1ee5 n\u1eef c\xf3 b\u1ea5t th\u01b0\u1eddng \u1edf c\u1ed5 t\u1eed cung ho\u1eb7c nam gi\u1edbi c\xf3 tinh tr\xf9ng y\u1ebfu nh\u1eb9.

\\n

\u0110\u1ec3 \u0111\u1ea1t \u0111\u01b0\u1ee3c t\u1ef7 l\u1ec7 th\xe0nh c\xf4ng cao v\u1edbi IUI, vi\u1ec7c theo d\xf5i chu k\u1ef3 r\u1ee5ng tr\u1ee9ng v\xe0 chu\u1ea9n b\u1ecb tinh tr\xf9ng k\u1ef9 l\u01b0\u1ee1ng l\xe0 r\u1ea5t quan tr\u1ecdng. HelloBacsi \u0111\u1ed3ng h\xe0nh c\xf9ng b\u1ea1n trong vi\u1ec7c t\xecm ki\u1ebfm c\xe1c ph\xf2ng kh\xe1m v\xe0 b\u1ec7nh vi\u1ec7n chuy\xean khoa s\u1ea3n uy t\xedn, n\u01a1i cung c\u1ea5p d\u1ecbch v\u1ee5 IUI chuy\xean nghi\u1ec7p. ch\xfang t\xf4i cung c\u1ea5p ki\u1ebfn th\u1ee9c to\xe0n di\u1ec7n gi\xfap b\u1ea1n chu\u1ea9n b\u1ecb th\u1ec3 ch\u1ea5t v\xe0 tinh th\u1ea7n t\u1ed1t nh\u1ea5t tr\u01b0\u1edbc khi th\u1ef1c hi\u1ec7n quy tr\xecnh.

\\n

T\u1ea1i sao n\xean ch\u1ecdn HelloBacsi \u0111\u1ec3 \u0111\u1eb7t l\u1ecbch?

\\n
    \\n
  • K\u1ebft n\u1ed1i v\u1edbi h\u1ec7 th\u1ed1ng c\xe1c b\xe1c s\u0129 s\u1ea3n ph\u1ee5 khoa gi\u1ecfi, t\u1eadn t\xe2m v\u1edbi b\u1ec7nh nh\xe2n.
  • \\n
  • Th\xf4ng tin minh b\u1ea1ch v\u1ec1 chi ph\xed v\xe0 c\xe1c b\u01b0\u1edbc th\u1ef1c hi\u1ec7n quy tr\xecnh IUI.
  • \\n
  • \u0110\u1eb7t l\u1ecbch kh\xe1m v\xe0 th\u1ef1c hi\u1ec7n th\u1ee7 thu\u1eadt nhanh ch\xf3ng, ph\xf9 h\u1ee3p v\u1edbi chu k\u1ef3 sinh l\xfd c\u1ee7a b\u1ea1n.
  • \\n
  • H\u1ed7 tr\u1ee3 t\u01b0 v\u1ea5n ch\u1ebf \u0111\u1ed9 dinh d\u01b0\u1ee1ng v\xe0 sinh ho\u1ea1t \u0111\u1ec3 t\u0103ng t\u1ef7 l\u1ec7 th\xe0nh c\xf4ng.
  • \\n
\\n

IUI c\xf3 th\u1ec3 l\xe0 kh\u1edfi \u0111\u1ea7u nh\u1eb9 nh\xe0ng cho h\xe0nh tr\xecnh l\xe0m cha m\u1eb9 c\u1ee7a b\u1ea1n. H\xe3y \u0111\u1ec3 HelloBacsi gi\xfap b\u1ea1n th\u1ef1c hi\u1ec7n b\u01b0\u1edbc \u0111i \u0111\u1ea7u ti\xean n\xe0y m\u1ed9t c\xe1ch thu\u1eadn l\u1ee3i nh\u1ea5t. \u0110\u1eb7t l\u1ecbch ngay h\xf4m nay!

"},"egg-freezing":{"subtype":"Tr\u1eef tr\u1ee9ng","subtypeEng":"Egg Freezing","title":"

Tr\u1eef \u0111\xf4ng tr\u1ee9ng: Ch\u1ee7 \u0111\u1ed9ng b\u1ea3o v\u1ec7 thi\xean ch\u1ee9c l\xe0m m\u1eb9 cho ph\u1ee5 n\u1eef hi\u1ec7n \u0111\u1ea1i

","description":"

Tr\u1eef \u0111\xf4ng tr\u1ee9ng \u0111ang tr\u1edf th\xe0nh m\u1ed9t xu h\u01b0\u1edbng t\u1ea5t y\u1ebfu c\u1ee7a ph\u1ee5 n\u1eef hi\u1ec7n \u0111\u1ea1i t\u1ea1i Vi\u1ec7t Nam \u2013 nh\u1eefng ng\u01b0\u1eddi mu\u1ed1n l\xe0m ch\u1ee7 cu\u1ed9c s\u1ed1ng v\xe0 s\u1ef1 nghi\u1ec7p m\xe0 kh\xf4ng ph\u1ea3i lo l\u1eafng v\u1ec1 \xe1p l\u1ef1c tu\u1ed5i t\xe1c l\xean kh\u1ea3 n\u0103ng sinh s\u1ea3n. K\u1ef9 thu\u1eadt n\xe0y cho ph\xe9p b\u1ea3o qu\u1ea3n tr\u1ee9ng \u1edf \u0111\u1ed9 tu\u1ed5i tr\u1ebb (khi ch\u1ea5t l\u01b0\u1ee3ng tr\u1ee9ng t\u1ed1t nh\u1ea5t) b\u1eb1ng c\xf4ng ngh\u1ec7 \u0111\xf4ng b\u0103ng c\u1ef1c nhanh, gi\xfap tr\u1ee9ng gi\u1eef nguy\xean t\xecnh tr\u1ea1ng sinh h\u1ecdc trong nhi\u1ec1u n\u0103m. Khi b\u1ea1n \u0111\xe3 s\u1eb5n s\xe0ng l\xe0m m\u1eb9, tr\u1ee9ng s\u1ebd \u0111\u01b0\u1ee3c r\xe3 \u0111\xf4ng \u0111\u1ec3 th\u1ef1c hi\u1ec7n th\u1ee5 tinh.

\\n

Quy\u1ebft \u0111\u1ecbnh tr\u1eef tr\u1ee9ng l\xe0 m\u1ed9t s\u1ef1 \u0111\u1ea7u t\u01b0 th\xf4ng minh cho t\u01b0\u01a1ng lai. T\u1ea1i HelloBacsi, ch\xfang t\xf4i cung c\u1ea5p t\u1ea5t c\u1ea3 nh\u1eefng th\xf4ng tin c\u1ea7n thi\u1ebft v\u1ec1 quy tr\xecnh, chi ph\xed v\xe0 c\xe1c ti\xeau chu\u1ea9n qu\u1ed1c t\u1ebf trong l\u01b0u tr\u1eef tr\u1ee9ng. Ch\xfang t\xf4i k\u1ebft n\u1ed1i b\u1ea1n v\u1edbi c\xe1c trung t\xe2m h\u1ed7 tr\u1ee3 sinh s\u1ea3n c\xf3 h\u1ec7 th\u1ed1ng ng\xe2n h\xe0ng m\xf4 \u0111\u1ea1t chu\u1ea9n, \u0111\u1ea3m b\u1ea3o an to\xe0n tuy\u1ec7t \u0111\u1ed1i cho t\xe0i s\u1ea3n qu\xfd gi\xe1 c\u1ee7a b\u1ea1n.

\\n

L\u1ee3i \xedch khi ch\u1ecdn HelloBacsi:

\\n
    \\n
  • T\u01b0 v\u1ea5n chuy\xean s\xe2u v\u1ec1 \u0111\u1ed9 tu\u1ed5i v\xe0ng \u0111\u1ec3 th\u1ef1c hi\u1ec7n tr\u1eef tr\u1ee9ng \u0111\u1ea1t hi\u1ec7u qu\u1ea3 cao nh\u1ea5t.
  • \\n
  • Cung c\u1ea5p danh s\xe1ch c\xe1c c\u01a1 s\u1edf y t\u1ebf c\xf3 c\xf4ng ngh\u1ec7 vitrifikasi (th\u1ee7y tinh h\xf3a) ti\xean ti\u1ebfn.
  • \\n
  • Minh b\u1ea1ch v\u1ec1 c\xe1c g\xf3i ph\xed l\u01b0u tr\u1eef tr\u1ee9ng h\xe0ng n\u0103m v\xe0 theo k\u1ef3 h\u1ea1n.
  • \\n
  • \u0110\u1ed9i ng\u0169 b\xe1c s\u0129 ph\u1ee5 khoa \u0111\u1ed3ng h\xe0nh, gi\u1ea3i \u0111\xe1p m\u1ecdi th\u1eafc m\u1eafc v\u1ec1 n\u1ed9i ti\u1ebft v\xe0 s\u1ee9c kh\u1ecfe sinh s\u1ea3n.
  • \\n
\\n

H\xe3y \u0111\u1ec3 tr\u1eef \u0111\xf4ng tr\u1ee9ng l\xe0 k\u1ebf ho\u1ea1ch d\u1ef1 ph\xf2ng ho\xe0n h\u1ea3o cho t\u01b0\u01a1ng lai h\u1ea1nh ph\xfac c\u1ee7a b\u1ea1n. \u0110\u1eb7t l\u1ecbch t\u01b0 v\u1ea5n tr\u1eef tr\u1ee9ng ngay h\xf4m nay c\xf9ng HelloBacsi \u0111\u1ec3 \u0111\u01b0\u1ee3c h\u1ed7 tr\u1ee3 t\u1eadn t\xecnh!

"},"pgt":{"subtype":"S\xe0ng l\u1ecdc di truy\u1ec1n ph\xf4i","subtypeEng":"Preimplantation Genetic Testing (PGT)","title":"

S\xe0ng l\u1ecdc di truy\u1ec1n ph\xf4i (PGT): \u0110\u1ea3m b\u1ea3o kh\u1edfi \u0111\u1ea7u kh\u1ecfe m\u1ea1nh nh\u1ea5t cho con

","description":"

S\xe0ng l\u1ecdc di truy\u1ec1n tr\u01b0\u1edbc chuy\u1ec3n ph\xf4i (PGT) l\xe0 k\u1ef9 thu\u1eadt hi\u1ec7n \u0111\u1ea1i gi\xfap ki\u1ec3m tra c\xe1c b\u1ea5t th\u01b0\u1eddng v\u1ec1 di truy\u1ec1n v\xe0 nhi\u1ec5m s\u1eafc th\u1ec3 c\u1ee7a ph\xf4i trong qu\xe1 tr\xecnh IVF tr\u01b0\u1edbc khi \u0111\u01b0a v\xe0o t\u1eed cung. T\u1ea1i Vi\u1ec7t Nam, k\u1ef9 thu\u1eadt n\xe0y ng\xe0y c\xe0ng \u0111\u01b0\u1ee3c ch\xfa tr\u1ecdng nh\u1eb1m gi\u1ea3m thi\u1ec3u nguy c\u01a1 s\u1ea3y thai, t\u0103ng t\u1ef7 l\u1ec7 \u0111\u1eadu thai th\xe0nh c\xf4ng v\xe0 \u0111\u1eb7c bi\u1ec7t l\xe0 ng\u0103n ng\u1eeba c\xe1c b\u1ec7nh l\xfd di truy\u1ec1n b\u1ea9m sinh cho em b\xe9 sau n\xe0y. PGT l\xe0 gi\u1ea3i ph\xe1p t\u1ed1i \u01b0u cho c\xe1c c\u1eb7p \u0111\xf4i l\u1edbn tu\u1ed5i, c\xf3 ti\u1ec1n s\u1eed s\u1ea3y thai nhi\u1ec1u l\u1ea7n ho\u1eb7c mang gen b\u1ec7nh di truy\u1ec1n\\n\\n.

\\n

Vi\u1ec7c th\u1ef1c hi\u1ec7n PGT gi\xfap c\xe1c b\xe1c s\u0129 ch\u1ecdn l\u1ecdc \u0111\u01b0\u1ee3c nh\u1eefng ph\xf4i c\xf3 ch\u1ea5t l\u01b0\u1ee3ng t\u1ed1t nh\u1ea5t, gi\xfap t\u1ed1i \u01b0u h\xf3a k\u1ebft qu\u1ea3 c\u1ee7a m\u1ed7i chu k\u1ef3 IVF. HelloBacsi gi\xfap b\u1ea1n ti\u1ebfp c\u1eadn v\u1edbi nh\u1eefng trung t\xe2m h\u1ed7 tr\u1ee3 sinh s\u1ea3n c\xf3 th\u1ebf m\u1ea1nh v\u1ec1 c\xf4ng ngh\u1ec7 di truy\u1ec1n ph\xf4i, n\u01a1i s\u1eed d\u1ee5ng c\xe1c k\u1ef9 thu\u1eadt ti\xean ti\u1ebfn nh\u01b0 NGS (gi\u1ea3i tr\xecnh t\u1ef1 gen th\u1ebf h\u1ec7 m\u1edbi). Ch\xfang t\xf4i \u0111\u1ed3ng h\xe0nh c\xf9ng b\u1ea1n \u0111\u1ec3 \u0111\u1ea3m b\u1ea3o m\u1ed7i b\u01b0\u1edbc \u0111i tr\xean h\xe0nh tr\xecnh t\xecm con \u0111\u1ec1u d\u1ef1a tr\xean nh\u1eefng c\u01a1 s\u1edf khoa h\u1ecdc tin c\u1eady nh\u1ea5t.

\\n

T\u1ea1i sao n\xean ch\u1ecdn HelloBacsi?

\\n
    \\n
  • Cung c\u1ea5p ki\u1ebfn th\u1ee9c chuy\xean s\xe2u v\u1ec1 c\xe1c lo\u1ea1i x\xe9t nghi\u1ec7m PGT v\xe0 \u0111\u1ed1i t\u01b0\u1ee3ng c\u1ea7n th\u1ef1c hi\u1ec7n.
  • \\n
  • K\u1ebft n\u1ed1i v\u1edbi c\xe1c ph\xf2ng Lab di truy\u1ec1n hi\u1ec7n \u0111\u1ea1i nh\u1ea5t Vi\u1ec7t Nam.
  • \\n
  • T\u01b0 v\u1ea5n t\u1eeb c\xe1c chuy\xean gia ph\xf4i h\u1ecdc v\u1ec1 c\xe1ch n\xe2ng cao ch\u1ea5t l\u01b0\u1ee3ng ph\xf4i.
  • \\n
  • Quy tr\xecnh \u0111\u1eb7t l\u1ecbch v\xe0 nh\u1eadn k\u1ebft qu\u1ea3 nhanh ch\xf3ng, b\u1ea3o m\u1eadt.
  • \\n
\\n

M\u1ecdi ng\u01b0\u1eddi cha, ng\u01b0\u1eddi m\u1eb9 \u0111\u1ec1u mong mu\u1ed1n con m\xecnh sinh ra kh\u1ecfe m\u1ea1nh. H\xe3y \u0111\u1ec3 PGT v\xe0 HelloBacsi gi\xfap b\u1ea1n hi\u1ec7n th\u1ef1c h\xf3a mong \u01b0\u1edbc \u0111\xf3. \u0110\u1eb7t l\u1ecbch t\u01b0 v\u1ea5n ngay h\xf4m nay!

"},"infertilityTreatment":{"subtype":"\u0110i\u1ec1u tr\u1ecb v\xf4 sinh","subtypeEng":"Infertility Treatment","title":"

\u0110i\u1ec1u tr\u1ecb v\xf4 sinh hi\u1ebfm mu\u1ed9n: H\xe0nh tr\xecnh b\u1ec1n b\u1ec9 cho ni\u1ec1m h\u1ea1nh ph\xfac

","description":"

\u0110i\u1ec1u tr\u1ecb v\xf4 sinh hi\u1ebfm mu\u1ed9n t\u1ea1i Vi\u1ec7t Nam hi\u1ec7n nay kh\xf4ng c\xf2n l\xe0 n\u1ed7i lo v\xec \u0111\xe3 c\xf3 nh\u1eefng ti\u1ebfn b\u1ed9 v\u01b0\u1ee3t b\u1eadc c\u1ee7a y h\u1ecdc. \u0110i\u1ec1u tr\u1ecb hi\u1ebfm mu\u1ed9n l\xe0 m\u1ed9t qu\xe1 tr\xecnh to\xe0n di\u1ec7n, bao g\u1ed3m t\u1eeb vi\u1ec7c t\xecm ra nguy\xean nh\xe2n th\xf4ng qua c\xe1c x\xe9t nghi\u1ec7m n\u1ed9i ti\u1ebft, si\xeau \xe2m, ki\u1ec3m tra v\xf2i tr\u1ee9ng \u0111\u1ebfn c\xe1c ph\u01b0\u01a1ng ph\xe1p can thi\u1ec7p nh\u01b0 \u0111i\u1ec1u tr\u1ecb thu\u1ed1c, ph\u1eabu thu\u1eadt n\u1ed9i soi hay c\xe1c k\u1ef9 thu\u1eadt h\u1ed7 tr\u1ee3 sinh s\u1ea3n (ART). \u0110\xf4i khi, ch\u1ec9 c\u1ea7n nh\u1eefng \u0111i\u1ec1u ch\u1ec9nh nh\u1ecf v\u1ec1 l\u1ed1i s\u1ed1ng ho\u1eb7c \u0111i\u1ec1u tr\u1ecb n\u1ed9i khoa \u0111\xfang c\xe1ch, c\xe1c c\u1eb7p \u0111\xf4i \u0111\xe3 c\xf3 th\u1ec3 \u0111\xf3n nh\u1eadn tin vui.

\\n

HelloBacsi hi\u1ec3u r\u1eb1ng h\xe0nh tr\xecnh n\xe0y \u0111\xf4i khi \u0111\u1ea7y th\u1eed th\xe1ch v\xe0 \xe1p l\u1ef1c. Ch\xednh v\xec v\u1eady, ch\xfang t\xf4i cung c\u1ea5p m\u1ed9t n\u1ec1n t\u1ea3ng th\xf4ng tin v\xe0 \u0111\u1eb7t l\u1ecbch kh\xe1m chuy\xean nghi\u1ec7p, gi\xfap b\u1ea1n ti\u1ebfp c\u1eadn v\u1edbi c\xe1c b\xe1c s\u0129 gi\u1ecfi nh\u1ea5t trong l\u0129nh v\u1ef1c hi\u1ebfm mu\u1ed9n. Ch\xfang t\xf4i kh\xf4ng ch\u1ec9 gi\xfap b\u1ea1n t\xecm th\u1ea5y gi\u1ea3i ph\xe1p y t\u1ebf m\xe0 c\xf2n cung c\u1ea5p nh\u1eefng t\u01b0 v\u1ea5n v\u1ec1 t\xe2m l\xfd v\xe0 dinh d\u01b0\u1ee1ng \u0111\u1ec3 b\u1ea1n c\xf3 \u0111\u01b0\u1ee3c th\u1ec3 tr\u1ea1ng t\u1ed1t nh\u1ea5t cho qu\xe1 tr\xecnh \u0111i\u1ec1u tr\u1ecb.

\\n

\u01afu \u0111i\u1ec3m khi s\u1eed d\u1ee5ng d\u1ecbch v\u1ee5 qua HelloBacsi:

\\n
    \\n
  • Ti\u1ebfp c\u1eadn m\u1ea1ng l\u01b0\u1edbi c\xe1c b\u1ec7nh vi\u1ec7n ph\u1ee5 s\u1ea3n v\xe0 trung t\xe2m hi\u1ebfm mu\u1ed9n h\xe0ng \u0111\u1ea7u.
  • \\n
  • H\u1ed7 tr\u1ee3 \u0111\u1eb7t l\u1ecbch kh\xe1m s\xe0ng l\u1ecdc nguy\xean nh\xe2n v\xf4 sinh cho c\u1ea3 v\u1ee3 v\xe0 ch\u1ed3ng.
  • \\n
  • Cung c\u1ea5p th\xf4ng tin chi ti\u1ebft v\u1ec1 c\xe1c ph\xe1c \u0111\u1ed3 \u0111i\u1ec1u tr\u1ecb t\u1eeb c\u01a1 b\u1ea3n \u0111\u1ebfn chuy\xean s\xe2u.
  • \\n
  • C\u1ed9ng \u0111\u1ed3ng h\u1ed7 tr\u1ee3 v\xe0 chia s\u1ebb kinh nghi\u1ec7m t\u1eeb nh\u1eefng ng\u01b0\u1eddi \u0111i tr\u01b0\u1edbc.
  • \\n
\\n

Ni\u1ec1m tin v\xe0 s\u1ef1 chu\u1ea9n b\u1ecb k\u1ef9 l\u01b0\u1ee1ng l\xe0 ch\xeca kh\xf3a c\u1ee7a th\xe0nh c\xf4ng. H\xe3y \u0111\u1ec3 HelloBacsi c\xf9ng b\u1ea1n b\u01b0\u1edbc \u0111i tr\xean h\xe0nh tr\xecnh k\u1ef3 di\u1ec7u n\xe0y. \u0110\u1eb7t l\u1ecbch kh\xe1m v\xe0 t\u01b0 v\u1ea5n \u0111i\u1ec1u tr\u1ecb ngay h\xf4m nay!

"}},"EGG_FREEZING":{"every_year":{"subtype":"G\xf3i theo m\u1eabu m\u1ed7i n\u0103m","subtypeEng":"Package by sample per year","title":"

G\xf3i l\u01b0u tr\u1eef tr\u1ee9ng theo m\u1eabu m\u1ed7i n\u0103m: Linh ho\u1ea1t v\xe0 ch\u1ee7 \u0111\u1ed9ng cho t\u01b0\u01a1ng lai

","description":"

Tr\u1eef \u0111\xf4ng tr\u1ee9ng kh\xf4ng ch\u1ec9 l\xe0 m\u1ed9t k\u1ef9 thu\u1eadt y khoa m\xe0 c\xf2n l\xe0 m\u1ed9t quy\u1ebft \u0111\u1ecbnh chi\u1ebfn l\u01b0\u1ee3c c\u1ee7a ph\u1ee5 n\u1eef hi\u1ec7n \u0111\u1ea1i t\u1ea1i Vi\u1ec7t Nam. G\xf3i l\u01b0u tr\u1eef tr\u1ee9ng theo m\u1eabu m\u1ed7i n\u0103m \u0111\u01b0\u1ee3c thi\u1ebft k\u1ebf d\xe0nh cho nh\u1eefng ph\u1ee5 n\u1eef mu\u1ed1n b\u1eaft \u0111\u1ea7u h\xe0nh tr\xecnh b\u1ea3o t\u1ed3n kh\u1ea3 n\u0103ng sinh s\u1ea3n m\u1ed9t c\xe1ch linh ho\u1ea1t nh\u1ea5t. T\xf9y thu\u1ed9c v\xe0o s\u1ed1 l\u01b0\u1ee3ng tr\u1ee9ng \u0111\u01b0\u1ee3c thu ho\u1ea1ch sau m\u1ed7i chu k\u1ef3 k\xedch th\xedch, b\u1ea1n c\xf3 th\u1ec3 l\u1ef1a ch\u1ecdn l\u01b0u tr\u1eef theo t\u1eebng \u0111\u01a1n v\u1ecb m\u1eabu, \u0111\u1ea3m b\u1ea3o r\u1eb1ng nh\u1eefng m\u1ea7m s\u1ed1ng qu\xfd gi\xe1 nh\u1ea5t \u0111\u01b0\u1ee3c b\u1ea3o v\u1ec7 trong \u0111i\u1ec1u ki\u1ec7n l\xfd t\u01b0\u1edfng c\u1ee7a c\xe1c ng\xe2n h\xe0ng m\xf4 hi\u1ec7n \u0111\u1ea1i.

\\n

HelloBacsi \u0111\u1ed3ng h\xe0nh c\xf9ng b\u1ea1n trong vi\u1ec7c t\xecm ki\u1ebfm c\xe1c trung t\xe2m h\u1ed7 tr\u1ee3 sinh s\u1ea3n c\xf3 quy tr\xecnh x\u1eed l\xfd m\u1eabu chu\u1ea9n qu\u1ed1c t\u1ebf. Ch\xfang t\xf4i cung c\u1ea5p c\xe1c th\xf4ng tin minh b\u1ea1ch v\u1ec1 chi ph\xed duy tr\xec m\u1eabu h\xe0ng n\u0103m, gi\xfap b\u1ea1n d\u1ec5 d\xe0ng theo d\xf5i v\xe0 qu\u1ea3n l\xfd k\u1ebf ho\u1ea1ch sinh con trong t\u01b0\u01a1ng lai. \u0110\xe2y l\xe0 s\u1ef1 \u0111\u1ea7u t\u01b0 x\u1ee9ng \u0111\xe1ng \u0111\u1ec3 b\u1ea1n c\xf3 th\u1ec3 y\xean t\xe2m theo \u0111u\u1ed5i s\u1ef1 nghi\u1ec7p v\xe0 c\xe1c m\u1ee5c ti\xeau c\xe1 nh\xe2n m\xe0 kh\xf4ng ph\u1ea3i lo l\u1eafng v\u1ec1 s\u1ef1 suy gi\u1ea3m ch\u1ea5t l\u01b0\u1ee3ng tr\u1ee9ng theo th\u1eddi gian.

\\n

L\u1ee3i \xedch khi ch\u1ecdn HelloBacsi:

\\n
    \\n
  • T\u01b0 v\u1ea5n chuy\xean s\xe2u v\u1ec1 quy tr\xecnh gom tr\u1ee9ng v\xe0 tr\u1eef m\u1eabu \u0111\u1ea1t hi\u1ec7u qu\u1ea3 t\u1ed1i \u01b0u.
  • \\n
  • K\u1ebft n\u1ed1i v\u1edbi c\xe1c h\u1ec7 th\u1ed1ng ph\xf2ng Lab \u0111\u1ea1t chu\u1ea9n s\u1ea1ch (Cleanroom) \u0111\u1ec3 \u0111\u1ea3m b\u1ea3o an to\xe0n m\u1eabu.
  • \\n
  • Minh b\u1ea1ch v\u1ec1 c\xe1c kho\u1ea3n ph\xed l\u01b0u tr\u1eef v\xe0 gia h\u1ea1n h\xe0ng n\u0103m.
  • \\n
  • \u0110\u1ed9i ng\u0169 b\xe1c s\u0129 ph\u1ee5 khoa gi\xe0u kinh nghi\u1ec7m h\u1ed7 tr\u1ee3 xuy\xean su\u1ed1t qu\xe1 tr\xecnh th\u1ef1c hi\u1ec7n.
  • \\n
\\n

H\xe3y \u0111\u1ec3 HelloBacsi gi\xfap b\u1ea1n \u0111\xf3ng b\u0103ng th\u1eddi gian v\xe0 b\u1ea3o v\u1ec7 thi\xean ch\u1ee9c l\xe0m m\u1eb9 m\u1ed9t c\xe1ch ch\u1ee7 \u0111\u1ed9ng nh\u1ea5t. \u0110\u1eb7t l\u1ecbch t\u01b0 v\u1ea5n ngay h\xf4m nay!

"},"one_year":{"subtype":"G\xf3i l\u01b0u tr\u1eef 1 n\u0103m","subtypeEng":"1-year package","title":"

G\xf3i l\u01b0u tr\u1eef tr\u1ee9ng 1 n\u0103m: L\u1ef1a ch\u1ecdn linh ho\u1ea1t cho b\u01b0\u1edbc \u0111\u1ea7u b\u1ea3o t\u1ed3n sinh s\u1ea3n

","description":"

Tr\u1eef \u0111\xf4ng tr\u1ee9ng \u0111ang tr\u1edf th\xe0nh m\u1ed9t gi\u1ea3i ph\xe1p v\u0103n minh d\xe0nh cho ph\u1ee5 n\u1eef Vi\u1ec7t Nam hi\u1ec7n \u0111\u1ea1i, gi\xfap h\u1ecd ch\u1ee7 \u0111\u1ed9ng h\u01a1n trong vi\u1ec7c l\u1ef1a ch\u1ecdn th\u1eddi \u0111i\u1ec3m l\xe0m m\u1eb9. G\xf3i l\u01b0u tr\u1eef tr\u1ee9ng 1 n\u0103m l\xe0 kh\u1edfi \u0111\u1ea7u l\xfd t\u01b0\u1edfng cho nh\u1eefng ai mu\u1ed1n tr\u1ea3i nghi\u1ec7m d\u1ecbch v\u1ee5 v\xe0 \u0111\xe1nh gi\xe1 ch\u1ea5t l\u01b0\u1ee3ng c\u1ee7a c\u01a1 s\u1edf y t\u1ebf tr\u01b0\u1edbc khi \u0111\u01b0a ra nh\u1eefng quy\u1ebft \u0111\u1ecbnh d\xe0i h\u1ea1n h\u01a1n. \u0110\xe2y c\u0169ng l\xe0 l\u1ef1a ch\u1ecdn th\xf4ng minh cho nh\u1eefng ph\u1ee5 n\u1eef d\u1ef1 \u0111\u1ecbnh s\u1ebd th\u1ef1c hi\u1ec7n th\u1ee5 tinh \u1ed1ng nghi\u1ec7m (IVF) trong t\u01b0\u01a1ng lai g\u1ea7n nh\u01b0ng mu\u1ed1n b\u1ea3o qu\u1ea3n tr\u1ee9ng \u1edf ch\u1ea5t l\u01b0\u1ee3ng t\u1ed1t nh\u1ea5t hi\u1ec7n t\u1ea1i.

\\n

T\u1ea1i c\xe1c b\u1ec7nh vi\u1ec7n v\xe0 trung t\xe2m h\u1ed7 tr\u1ee3 sinh s\u1ea3n uy t\xedn li\xean k\u1ebft v\u1edbi HelloBacsi, quy tr\xecnh l\u01b0u tr\u1eef 1 n\u0103m \u0111\u01b0\u1ee3c th\u1ef1c hi\u1ec7n nghi\xeam ng\u1eb7t theo ti\xeau chu\u1ea9n qu\u1ed1c t\u1ebf. Tr\u1ee9ng sau khi ch\u1ecdc h\xfat s\u1ebd \u0111\u01b0\u1ee3c th\u1ee7y tinh h\xf3a (vitrification) \u2013 c\xf4ng ngh\u1ec7 ti\xean ti\u1ebfn nh\u1ea5t gi\xfap b\u1ea3o to\xe0n c\u1ea5u tr\xfac t\u1ebf b\xe0o g\u1ea7n nh\u01b0 tuy\u1ec7t \u0111\u1ed1i. G\xf3i 1 n\u0103m gi\xfap b\u1ea1n gi\u1ea3m b\u1edbt \xe1p l\u1ef1c v\u1ec1 chi ph\xed ban \u0111\u1ea7u nh\u01b0ng v\u1eabn \u0111\u1ea3m b\u1ea3o t\xe0i s\u1ea3n qu\xfd gi\xe1 c\u1ee7a m\xecnh \u0111\u01b0\u1ee3c b\u1ea3o v\u1ec7 trong m\xf4i tr\u01b0\u1eddng an to\xe0n v\xe0 hi\u1ec7n \u0111\u1ea1i nh\u1ea5t.

\\n

L\u1ee3i \xedch khi \u0111\u1eb7t l\u1ecbch g\xf3i 1 n\u0103m qua HelloBacsi:

\\n
    \\n
  • Ph\xf9 h\u1ee3p v\u1edbi ph\u1ee5 n\u1eef c\xf3 k\u1ebf ho\u1ea1ch s\u1eed d\u1ee5ng tr\u1ee9ng trong v\xf2ng 12 th\xe1ng t\u1edbi.
  • \\n
  • Chi ph\xed kh\u1edfi \u0111\u1ea7u h\u1ee3p l\xfd, gi\xfap b\u1ea1n d\u1ec5 d\xe0ng ti\u1ebfp c\u1eadn c\xf4ng ngh\u1ec7 h\u1ed7 tr\u1ee3 sinh s\u1ea3n.
  • \\n
  • \u0110\u01b0\u1ee3c t\u01b0 v\u1ea5n k\u1ef9 l\u01b0\u1ee1ng b\u1edfi \u0111\u1ed9i ng\u0169 b\xe1c s\u0129 s\u1ea3n khoa v\u1ec1 quy tr\xecnh theo d\xf5i tr\u1ee9ng \u0111\u1ecbnh k\u1ef3.
  • \\n
  • H\u1ec7 th\u1ed1ng nh\u1eafc h\u1eb9n gia h\u1ea1n t\u1ef1 \u0111\u1ed9ng, gi\xfap b\u1ea1n lu\xf4n ch\u1ee7 \u0111\u1ed9ng trong k\u1ebf ho\u1ea1ch c\u1ee7a m\xecnh.
  • \\n
\\n

H\xe3y \u0111\u1ec3 1 n\u0103m l\u01b0u tr\u1eef \u0111\u1ea7u ti\xean l\xe0 b\u1ea3o hi\u1ec3m cho thi\xean ch\u1ee9c l\xe0m m\u1eb9 c\u1ee7a b\u1ea1n. \u0110\u1eb7t l\u1ecbch t\u01b0 v\u1ea5n ngay h\xf4m nay tr\xean HelloBacsi \u0111\u1ec3 b\u1eaft \u0111\u1ea7u h\xe0nh tr\xecnh c\u1ee7a m\xecnh!

"},"three_year":{"subtype":"G\xf3i l\u01b0u tr\u1eef 3 n\u0103m","subtypeEng":"3-year package","title":"

G\xf3i l\u01b0u tr\u1eef tr\u1ee9ng 3 n\u0103m: K\u1ebf ho\u1ea1ch chi\u1ebfn l\u01b0\u1ee3c cho ph\u1ee5 n\u1eef hi\u1ec7n \u0111\u1ea1i

","description":"

Cu\u1ed9c s\u1ed1ng hi\u1ec7n \u0111\u1ea1i khi\u1ebfn ph\u1ee5 n\u1eef c\xf3 nhi\u1ec1u m\u1ee5c ti\xeau l\u1edbn cho cu\u1ed9c \u0111\u1eddi n\xean h\u1ecd ch\u1ecdn tr\xec ho\xe3n vi\u1ec7c sinh con \u0111\u1ec3 t\u1eadp trung ph\xe1t tri\u1ec3n c\xf4ng vi\u1ec7c, s\u1ef1 nghi\u1ec7p ho\u1eb7c nh\u1eefng m\u1ed1i \u01b0u ti\xean kh\xe1c. L\xfac n\xe0y, g\xf3i l\u01b0u tr\u1eef tr\u1ee9ng 3 n\u0103m t\u1ea1i HelloBacsi l\xe0 s\u1ef1 l\u1ef1a ch\u1ecdn mang t\xednh chi\u1ebfn l\u01b0\u1ee3c, gi\xfap b\u1ea1n an t\xe2m theo \u0111u\u1ed5i s\u1ef1 nghi\u1ec7p ho\u1eb7c ho\xe0n th\xe0nh c\xe1c m\u1ee5c ti\xeau trong cu\u1ed9c s\u1ed1ng m\xe0 kh\xf4ng ph\u1ea3i lo l\u1eafng v\u1ec1 vi\u1ec7c ch\u1ea5t l\u01b0\u1ee3ng tr\u1ee9ng gi\u1ea3m s\xfat theo tu\u1ed5i t\xe1c. \u0110\xe2y l\xe0 kho\u1ea3ng th\u1eddi gian v\u1eeba \u0111\u1ee7 \u0111\u1ec3 b\u1ea1n chu\u1ea9n b\u1ecb s\u1eb5n s\xe0ng v\u1ec1 c\u1ea3 t\xe0i ch\xednh l\u1eabn t\xe2m l\xfd cho h\xe0nh tr\xecnh l\xe0m m\u1eb9.

\\n

\u0110i\u1ec3m n\u1ed5i b\u1eadt c\u1ee7a g\xf3i 3 n\u0103m l\xe0 t\xednh \u1ed5n \u0111\u1ecbnh v\xe0 ti\u1ebft ki\u1ec7m. Thay v\xec ph\u1ea3i l\xe0m th\u1ee7 t\u1ee5c gia h\u1ea1n h\xe0ng n\u0103m, b\u1ea1n ch\u1ec9 c\u1ea7n th\u1ef1c hi\u1ec7n m\u1ed9t l\u1ea7n v\xe0 y\xean t\xe2m r\u1eb1ng tr\u1ee9ng c\u1ee7a m\xecnh \u0111ang \u0111\u01b0\u1ee3c l\u01b0u tr\u1eef trong \u0111i\u1ec1u ki\u1ec7n t\u1ed1i \u01b0u. C\xe1c trung t\xe2m h\u1ed7 tr\u1ee3 sinh s\u1ea3n li\xean k\u1ebft v\u1edbi HelloBacsi s\u1eed d\u1ee5ng h\u1ec7 th\u1ed1ng c\xf4ng ngh\u1ec7 hi\u1ec7n \u0111\u1ea1i \u0111\u1ea3m b\u1ea3o tr\u1ee9ng lu\xf4n \u0111\u01b0\u1ee3c l\u01b0u gi\u1eef \u0111\xfang ti\xeau chu\u1ea9n ch\u1ea5t l\u01b0\u1ee3ng. \u0110\xe2y l\xe0 cam k\u1ebft cao nh\u1ea5t v\u1ec1 s\u1ef1 an to\xe0n cho t\u01b0\u01a1ng lai c\u1ee7a b\u1ea1n.

\\n

\u01afu \u0111i\u1ec3m khi s\u1eed d\u1ee5ng d\u1ecbch v\u1ee5 qua HelloBacsi:

\\n
    \\n
  • Ti\u1ebft ki\u1ec7m chi ph\xed \u0111\xe1ng k\u1ec3 so v\u1edbi vi\u1ec7c \u0111\xf3ng ph\xed l\u01b0u tr\u1eef \u0111\u01a1n l\u1ebb t\u1eebng n\u0103m.
  • \\n
  • Ph\xf9 h\u1ee3p v\u1edbi ph\u1ee5 n\u1eef trong \u0111\u1ed9 tu\u1ed5i t\u1eeb 28-35, giai \u0111o\u1ea1n c\u1ea7n t\u1eadp trung cho s\u1ef1 nghi\u1ec7p.
  • \\n
  • Quy tr\xecnh b\u1ea3o m\u1eadt th\xf4ng tin v\xe0 qu\u1ea3n l\xfd m\u1eabu b\u1eb1ng m\xe3 v\u1ea1ch hi\u1ec7n \u0111\u1ea1i.
  • \\n
  • \u0110\u01b0\u1ee3c h\u1ed7 tr\u1ee3 b\u1edfi c\xe1c chuy\xean gia ph\xf4i h\u1ecdc h\xe0ng \u0111\u1ea7u trong su\u1ed1t qu\xe1 tr\xecnh l\u01b0u tr\u1eef.
  • \\n
\\n

Ba n\u0103m l\xe0 kho\u1ea3ng th\u1eddi gian \u0111\u1ec3 b\u1ea1n b\u1ee9t ph\xe1 v\xe0 t\u1ecfa s\xe1ng, h\xe3y \u0111\u1ec3 HelloBacsi gi\xfap b\u1ea1n gi\u1eef g\xecn c\u01a1 h\u1ed9i l\xe0m m\u1eb9 tr\u1ecdn v\u1eb9n nh\u1ea5t. \u0110\u1eb7t l\u1ecbch t\u01b0 v\u1ea5n g\xf3i 3 n\u0103m ngay h\xf4m nay!

"},"five_year":{"subtype":"G\xf3i l\u01b0u tr\u1eef 5 n\u0103m","subtypeEng":"5-year package","title":"

G\xf3i l\u01b0u tr\u1eef tr\u1ee9ng 5 n\u0103m: S\u1ef1 b\u1ea3o \u0111\u1ea3m tuy\u1ec7t \u0111\u1ed1i cho t\u01b0\u01a1ng lai h\u1ea1nh ph\xfac

","description":"

G\xf3i l\u01b0u tr\u1eef tr\u1ee9ng 5 n\u0103m l\xe0 cam k\u1ebft d\xe0i h\u1ea1n nh\u1ea5t d\xe0nh cho nh\u1eefng ph\u1ee5 n\u1eef c\xf3 t\u1ea7m nh\xecn xa v\u1ec1 cu\u1ed9c s\u1ed1ng gia \u0111\xecnh. Trong b\u1ed1i c\u1ea3nh y h\u1ecdc hi\u1ec7n \u0111\u1ea1i, 5 n\u0103m kh\xf4ng ph\u1ea3i l\xe0 qu\xe3ng th\u1eddi gian l\xe0m thay \u0111\u1ed5i ch\u1ea5t l\u01b0\u1ee3ng tr\u1ee9ng n\u1ebfu \u0111\u01b0\u1ee3c l\u01b0u tr\u1eef \u0111\xfang c\xe1ch, nh\u01b0ng l\u1ea1i l\xe0 kho\u1ea3ng th\u1eddi gian c\xf3 th\u1ec3 l\xe0m thay \u0111\u1ed5i \u0111\xe1ng k\u1ec3 d\u1ef1 tr\u1eef bu\u1ed3ng tr\u1ee9ng t\u1ef1 nhi\xean c\u1ee7a ng\u01b0\u1eddi ph\u1ee5 n\u1eef. B\u1eb1ng c\xe1ch ch\u1ecdn g\xf3i l\u01b0u tr\u1eef tr\u1ee9ng 5 n\u0103m, b\u1ea1n \u0111ang th\u1ef1c s\u1ef1 mua s\u1ef1 an t\xe2m v\xe0 t\u1ef1 do cho ch\xednh m\xecnh, lo\u1ea1i b\u1ecf ho\xe0n to\xe0n \xe1p l\u1ef1c v\u1ec1 \u0111\u1ed3ng h\u1ed3 sinh h\u1ecdc.

\\n

T\u1ea1i Vi\u1ec7t Nam, g\xf3i 5 n\u0103m th\u01b0\u1eddng \u0111\u01b0\u1ee3c c\xe1c b\xe1c s\u0129 khuy\u1ebfn ngh\u1ecb cho ph\u1ee5 n\u1eef tr\u1ebb mu\u1ed1n b\u1ea3o t\u1ed3n kh\u1ea3 n\u0103ng sinh s\u1ea3n tr\u01b0\u1edbc khi b\u01b0\u1edbc v\xe0o nh\u1eefng giai \u0111o\u1ea1n b\u1eadn r\u1ed9n nh\u1ea5t c\u1ee7a cu\u1ed9c \u0111\u1eddi. HelloBacsi t\u1ef1 h\xe0o l\xe0 c\u1ea7u n\u1ed1i gi\xfap b\u1ea1n ti\u1ebfp c\u1eadn v\u1edbi nh\u1eefng ng\xe2n h\xe0ng tr\u1ee9ng \u0111\u1ea1t chu\u1ea9n qu\u1ed1c t\u1ebf, n\u01a1i \xe1p d\u1ee5ng nh\u1eefng quy tr\xecnh ki\u1ec3m so\xe1t ch\u1ea5t l\u01b0\u1ee3ng kh\u1eaft khe nh\u1ea5t. V\u1edbi g\xf3i l\u01b0u tr\u1eef n\xe0y, b\u1ea1n kh\xf4ng ch\u1ec9 ti\u1ebft ki\u1ec7m \u0111\u01b0\u1ee3c m\u1ed9t kho\u1ea3n chi ph\xed \u0111\xe1ng k\u1ec3 m\xe0 c\xf2n nh\u1eadn \u0111\u01b0\u1ee3c s\u1ef1 \u0111\u1ed3ng h\xe0nh y t\u1ebf chuy\xean s\xe2u, gi\xfap b\u1ea1n lu\xf4n t\u1ef1 tin v\xe0o t\u01b0\u01a1ng lai c\u1ee7a m\xecnh.

\\n

T\u1ea1i sao b\u1ea1n n\xean ch\u1ecdn g\xf3i 5 n\u0103m t\u1ea1i HelloBacsi?

\\n
    \\n
  • M\u1ee9c ph\xed \u01b0u \u0111\xe3i nh\u1ea5t, b\u1ea3o v\u1ec7 b\u1ea1n tr\u01b0\u1edbc s\u1ef1 bi\u1ebfn \u0111\u1ed9ng c\u1ee7a chi ph\xed y t\u1ebf trong t\u01b0\u01a1ng lai.
  • \\n
  • Gi\u1ea3i ph\xe1p ho\xe0n h\u1ea3o cho ph\u1ee5 n\u1eef mu\u1ed1n tr\xec ho\xe3n vi\u1ec7c sinh con tr\xean 5 n\u0103m.
  • \\n
  • Quy tr\xecnh theo d\xf5i v\xe0 b\xe1o c\xe1o t\xecnh tr\u1ea1ng m\u1eabu \u0111\u1ecbnh k\u1ef3, minh b\u1ea1ch v\xe0 chuy\xean nghi\u1ec7p.
  • \\n
  • \u0110\u01b0\u1ee3c k\u1ebft n\u1ed1i tr\u1ef1c ti\u1ebfp v\u1edbi nh\u1eefng chuy\xean gia h\u1ed7 tr\u1ee3 sinh s\u1ea3n \u0111\u1ea7u ng\xe0nh t\u1ea1i Vi\u1ec7t Nam.
  • \\n
\\n

\u0110\u1eebng \u0111\u1ec3 th\u1eddi gian tr\u1edf th\xe0nh r\xe0o c\u1ea3n cho \u01b0\u1edbc m\u01a1 c\u1ee7a b\u1ea1n. H\xe3y ch\u1ee7 \u0111\u1ed9ng \u0111\u1ea7u t\u01b0 cho t\u01b0\u01a1ng lai b\u1eb1ng g\xf3i l\u01b0u tr\u1eef tr\u1ee9ng 5 n\u0103m. \u0110\u1eb7t l\u1ecbch t\u01b0 v\u1ea5n ngay tr\xean HelloBacsi \u0111\u1ec3 nh\u1eadn \u0111\u01b0\u1ee3c s\u1ef1 ch\u0103m s\xf3c t\u1eadn t\xe2m nh\u1ea5t!

"}},"HEALTH_SCREENER":{"pre-marriage":{"subtype":"Ti\u1ec1n h\xf4n nh\xe2n","subtypeEng":"Pre-marriage","title":"

Kh\xe1m s\u1ee9c kh\u1ecfe ti\u1ec1n h\xf4n nh\xe2n: X\xe2y d\u1ef1ng n\u1ec1n t\u1ea3ng v\u1eefng ch\u1eafc cho h\u1ea1nh ph\xfac gia \u0111\xecnh

","description":"

Kh\xe1m s\u1ee9c kh\u1ecfe ti\u1ec1n h\xf4n nh\xe2n l\xe0 b\u01b0\u1edbc chu\u1ea9n b\u1ecb v\xf4 c\xf9ng quan tr\u1ecdng \u0111\u1ed1i v\u1edbi c\xe1c c\u1eb7p \u0111\xf4i tr\u01b0\u1edbc khi b\u01b0\u1edbc v\xe0o \u0111\u1eddi s\u1ed1ng v\u1ee3 ch\u1ed3ng. \u0110\xe2y kh\xf4ng ch\u1ec9 l\xe0 c\xe1ch \u0111\u1ec3 hai ng\u01b0\u1eddi hi\u1ec3u r\xf5 t\xecnh tr\u1ea1ng s\u1ee9c kh\u1ecfe c\u1ee7a nhau m\xe0 c\xf2n l\xe0 tr\xe1ch nhi\u1ec7m \u0111\u1ed1i v\u1edbi t\u01b0\u01a1ng lai c\u1ee7a gia \u0111\xecnh v\xe0 con c\xe1i. G\xf3i kh\xe1m n\xe0y gi\xfap t\u1ea7m so\xe1t c\xe1c b\u1ec7nh l\xe2y truy\u1ec1n qua \u0111\u01b0\u1eddng t\xecnh d\u1ee5c, \u0111\xe1nh gi\xe1 s\u1ee9c kh\u1ecfe sinh s\u1ea3n v\xe0 \u0111\u1eb7c bi\u1ec7t l\xe0 x\xe9t nghi\u1ec7m s\xe0ng l\u1ecdc c\xe1c b\u1ec7nh l\xfd di truy\u1ec1n nh\u01b0 tan m\xe1u b\u1ea9m sinh (Thalassemia) \u2013 m\u1ed9t c\u0103n b\u1ec7nh c\xf3 t\u1ef7 l\u1ec7 mang gen cao t\u1ea1i Vi\u1ec7t Nam.

\\n

HelloBacsi cung c\u1ea5p c\xe1c g\xf3i kh\xe1m ti\u1ec1n h\xf4n nh\xe2n \u0111\u01b0\u1ee3c thi\u1ebft k\u1ebf khoa h\u1ecdc, t\u1eeb c\u01a1 b\u1ea3n \u0111\u1ebfn chuy\xean s\xe2u, gi\xfap c\xe1c c\u1eb7p \u0111\xf4i an t\xe2m b\u1eaft \u0111\u1ea7u h\xe0nh tr\xecnh m\u1edbi. Ch\xfang t\xf4i k\u1ebft n\u1ed1i b\u1ea1n v\u1edbi c\xe1c b\u1ec7nh vi\u1ec7n v\xe0 ph\xf2ng kh\xe1m c\xf3 \u0111\u1ed9i ng\u0169 b\xe1c s\u0129 t\xe2m l\xfd, nhi\u1ec7t t\xecnh, gi\xfap b\u1ea1n gi\u1ea3i t\u1ecfa nh\u1eefng lo \xe2u v\u1ec1 s\u1ee9c kh\u1ecfe v\xe0 nh\u1eadn \u0111\u01b0\u1ee3c nh\u1eefng t\u01b0 v\u1ea5n h\u1eefu \xedch v\u1ec1 \u0111\u1eddi s\u1ed1ng t\xecnh d\u1ee5c c\u0169ng nh\u01b0 k\u1ebf ho\u1ea1ch sinh con an to\xe0n.

\\n

L\u1ee3i \xedch khi ch\u1ecdn HelloBacsi:

\\n
    \\n
  • Danh s\xe1ch c\xe1c g\xf3i kh\xe1m \u0111a d\u1ea1ng, ph\xf9 h\u1ee3p v\u1edbi nhu c\u1ea7u v\xe0 ng\xe2n s\xe1ch c\u1ee7a c\xe1c c\u1eb7p \u0111\xf4i.
  • \\n
  • Quy tr\xecnh \u0111\u1eb7t l\u1ecbch nhanh ch\xf3ng, ri\xeang t\u01b0 v\xe0 b\u1ea3o m\u1eadt th\xf4ng tin tuy\u1ec7t \u0111\u1ed1i.
  • \\n
  • B\xe1c s\u0129 ph\xe2n t\xedch k\u1ebft qu\u1ea3 chuy\xean s\xe2u v\xe0 t\u01b0 v\u1ea5n l\u1ed9 tr\xecnh ch\u0103m s\xf3c s\u1ee9c kh\u1ecfe ph\xf9 h\u1ee3p.
  • \\n
  • Cung c\u1ea5p c\xe1c ki\u1ebfn th\u1ee9c y khoa v\u1ec1 s\u1ee9c kh\u1ecfe sinh s\u1ea3n v\xe0 t\xe2m l\xfd h\xf4n nh\xe2n.
  • \\n
\\n

H\xe3y \u0111\u1ec3 h\u1ea1nh ph\xfac l\u1ee9a \u0111\xf4i \u0111\u01b0\u1ee3c tr\u1ecdn v\u1eb9n b\u1eaft \u0111\u1ea7u t\u1eeb s\u1ef1 th\u1ea5u hi\u1ec3u v\u1ec1 s\u1ee9c kh\u1ecfe. \u0110\u1eb7t l\u1ecbch kh\xe1m ti\u1ec1n h\xf4n nh\xe2n tr\xean HelloBacsi ngay h\xf4m nay!

"},"pre-pregnancy":{"subtype":"Ti\u1ec1n s\u1ea3n","subtypeEng":"Pre-pregnancy","title":"

Kh\xe1m s\u1ee9c kh\u1ecfe ti\u1ec1n s\u1ea3n: Chu\u1ea9n b\u1ecb t\u1ed1t nh\u1ea5t cho h\xe0nh tr\xecnh \u0111\xf3n thi\xean th\u1ea7n nh\u1ecf

","description":"

Kh\xe1m s\u1ee9c kh\u1ecfe ti\u1ec1n s\u1ea3n (tr\u01b0\u1edbc khi mang thai) l\xe0 b\u01b0\u1edbc chu\u1ea9n b\u1ecb kh\xf4ng th\u1ec3 thi\u1ebfu cho nh\u1eefng ng\u01b0\u1eddi m\u1eb9 t\u01b0\u01a1ng lai. Vi\u1ec7c ki\u1ec3m tra s\u1ee9c kh\u1ecfe t\u1ed5ng qu\xe1t v\xe0 ch\u1ee9c n\u0103ng sinh s\u1ea3n gi\xfap b\u1ea1n nh\u1eadn di\u1ec7n c\xe1c nguy c\u01a1 ti\u1ec1m \u1ea9n c\xf3 th\u1ec3 \u1ea3nh h\u01b0\u1edfng \u0111\u1ebfn thai k\u1ef3 nh\u01b0 thi\u1ebfu m\xe1u, nhi\u1ec5m tr\xf9ng hay c\xe1c b\u1ec7nh m\u1ea1n t\xednh. \u0110\u1eb7c bi\u1ec7t, \u0111\xe2y c\u0169ng l\xe0 th\u1eddi \u0111i\u1ec3m quan tr\u1ecdng \u0111\u1ec3 b\u1ea1n ki\u1ec3m tra kh\u1ea3 n\u0103ng mi\u1ec5n d\u1ecbch \u0111\u1ed1i v\u1edbi c\xe1c b\u1ec7nh nh\u01b0 Rubella, th\u1ee7y \u0111\u1eadu v\xe0 ti\u1ebfn h\xe0nh ti\xeam ph\xf2ng b\u1ed5 sung n\u1ebfu c\u1ea7n thi\u1ebft \u0111\u1ec3 ch\xe0o \u0111\xf3n thai k\u1ef3 an to\xe0n cho c\u1ea3 m\u1eb9 v\xe0 thai nhi.

\\n

HelloBacsi \u0111\u1ed3ng h\xe0nh c\xf9ng b\u1ea1n trong h\xe0nh tr\xecnh chu\u1ea9n b\u1ecb l\xe0m m\u1eb9 \u0111\u1ea7y thi\xeang li\xeang. Ch\xfang t\xf4i cung c\u1ea5p c\xe1c d\u1ecbch v\u1ee5 \u0111\u1eb7t l\u1ecbch kh\xe1m ti\u1ec1n s\u1ea3n t\u1ea1i c\xe1c b\u1ec7nh vi\u1ec7n ph\u1ee5 s\u1ea3n h\xe0ng \u0111\u1ea7u, n\u01a1i b\u1ea1n \u0111\u01b0\u1ee3c t\u01b0 v\u1ea5n k\u1ef9 l\u01b0\u1ee1ng v\u1ec1 ch\u1ebf \u0111\u1ed9 dinh d\u01b0\u1ee1ng, b\u1ed5 sung acid folic v\xe0 c\xe1ch qu\u1ea3n l\xfd c\u0103ng th\u1eb3ng. M\u1ed9t c\u01a1 th\u1ec3 kh\u1ecfe m\u1ea1nh v\xe0 m\u1ed9t tinh th\u1ea7n tho\u1ea3i m\xe1i ch\xednh l\xe0 m\xf4i tr\u01b0\u1eddng tuy\u1ec7t v\u1eddi nh\u1ea5t \u0111\u1ec3 b\xe9 y\xeau c\u1ee7a b\u1ea1n b\u1eaft \u0111\u1ea7u s\u1ef1 s\u1ed1ng.

\\n

\u01afu \u0111i\u1ec3m khi s\u1eed d\u1ee5ng HelloBacsi:

\\n
    \\n
  • Ti\u1ebfp c\u1eadn c\xe1c g\xf3i kh\xe1m chuy\xean s\xe2u d\xe0nh cho ph\u1ee5 n\u1eef \u0111ang c\xf3 k\u1ebf ho\u1ea1ch mang thai.
  • \\n
  • T\u01b0 v\u1ea5n ph\xe1c \u0111\u1ed3 ti\xeam ch\u1ee7ng v\xe0 b\u1ed5 sung vitamin tr\u01b0\u1edbc thai k\u1ef3 khoa h\u1ecdc.
  • \\n
  • K\u1ebft n\u1ed1i v\u1edbi c\xe1c chuy\xean gia s\u1ea3n khoa gi\u1ecfi \u0111\u1ec3 qu\u1ea3n l\xfd c\xe1c b\u1ec7nh l\xfd n\u1ec1n (n\u1ebfu c\xf3).
  • \\n
  • H\u1ec7 th\u1ed1ng b\xe0i vi\u1ebft h\u01b0\u1edbng d\u1eabn chu\u1ea9n b\u1ecb l\xe0m m\u1eb9 chuy\xean nghi\u1ec7p v\xe0 t\u1eadn t\xe2m.
  • \\n
\\n

H\xe3y \u0111\u1ec3 h\xe0nh tr\xecnh mang thai c\u1ee7a b\u1ea1n tr\u1edf n\xean nh\u1eb9 nh\xe0ng v\xe0 an t\xe2m h\u01a1n. \u0110\u1eb7t l\u1ecbch kh\xe1m ti\u1ec1n s\u1ea3n tr\xean HelloBacsi ngay h\xf4m nay \u0111\u1ec3 s\u1eb5n s\xe0ng ch\xe0o \u0111\xf3n con y\xeau!

"}}}'),g=t(40959),m=(r={},(0,d.A)(r,u.L.Vietnam,(i={},(0,d.A)(i,g.Hxq.VACCINE,{title:"

T\xecm hi\u1ec3u th\xeam v\u1ec1 d\u1ecbch v\u1ee5 \u0111\u1eb7t l\u1ecbch ti\xeam v\u1eafc xin t\u1ea1i HelloBacsi

",description:"

Ti\xeam v\u1eafc xin l\xe0 m\u1ed9t trong nh\u1eefng bi\u1ec7n ph\xe1p quan tr\u1ecdng \u0111\u1ec3 ch\u1ee7 \u0111\u1ed9ng ch\u0103m s\xf3c s\u1ee9c kh\u1ecfe, gi\xfap c\u01a1 th\u1ec3 t\u1ea1o ra mi\u1ec5n d\u1ecbch \u0111\u1ec3 ph\xf2ng ng\u1eeba nhi\u1ec1u b\u1ec7nh truy\u1ec1n nhi\u1ec5m nguy hi\u1ec3m. T\u1eeb tr\u1ebb em, ng\u01b0\u1eddi l\u1edbn \u0111\u1ebfn ng\u01b0\u1eddi cao tu\u1ed5i, vi\u1ec7c ti\xeam ch\u1ee7ng \u0111\xfang l\u1ecbch v\xe0 \u0111\u1ea7y \u0111\u1ee7 mang l\u1ea1i l\u1ee3i \xedch r\xf5 r\xe0ng: gi\u1ea3m nguy c\u01a1 m\u1eafc b\u1ec7nh, h\u1ea1n ch\u1ebf bi\u1ebfn ch\u1ee9ng nghi\xeam tr\u1ecdng v\xe0 g\xf3p ph\u1ea7n b\u1ea3o v\u1ec7 c\u1ed9ng \u0111\u1ed3ng b\u1eb1ng c\xe1ch t\u1ea1o ra mi\u1ec5n d\u1ecbch c\u1ed9ng \u0111\u1ed3ng. Trong b\u1ed1i c\u1ea3nh th\u1eddi ti\u1ebft, m\xf4i tr\u01b0\u1eddng s\u1ed1ng thay \u0111\u1ed5i kh\xf3 l\u01b0\u1eddng, b\u1ec7nh truy\u1ec1n nhi\u1ec5m c\xf3 xu h\u01b0\u1edbng gia t\u0103ng theo m\xf9a v\xe0 theo v\xf9ng, vi\u1ec7c ch\u1ee7 \u0111\u1ed9ng ti\xeam v\u1eafc xin ng\xe0y c\xe0ng tr\u1edf th\xe0nh th\xf3i quen c\u1ea7n thi\u1ebft cho m\u1ecdi gia \u0111\xecnh.

\n

M\u1ed9t trong nh\u1eefng l\xfd do khi\u1ebfn nhi\u1ec1u ng\u01b0\u1eddi l\u1ef1a ch\u1ecdn d\u1ecbch v\u1ee5 ti\xeam ch\u1ee7ng \u0111\u1ecbnh k\u1ef3 l\xe0 v\xec m\u1ed7i lo\u1ea1i v\u1eafc xin \u0111\u01b0\u1ee3c nghi\xean c\u1ee9u \u0111\u1ec3 b\u1ea3o v\u1ec7 c\u01a1 th\u1ec3 tr\u01b0\u1edbc t\u1eebng t\xe1c nh\xe2n b\u1ec7nh c\u1ee5 th\u1ec3. Ch\u1eb3ng h\u1ea1n, ti\xeam v\u1eafc xin c\xfam gi\xfap gi\u1ea3m nguy c\u01a1 m\u1eafc c\xfam theo m\xf9a v\xe0 h\u1ea1n ch\u1ebf c\xe1c bi\u1ebfn ch\u1ee9ng nh\u01b0 vi\xeam ph\u1ed5i ho\u1eb7c b\u1ed9i nhi\u1ec5m - \u0111i\u1ec1u \u0111\u1eb7c bi\u1ec7t quan tr\u1ecdng v\u1edbi tr\u1ebb nh\u1ecf, ph\u1ee5 n\u1eef mang thai v\xe0 ng\u01b0\u1eddi l\u1edbn tu\u1ed5i. T\u01b0\u01a1ng t\u1ef1, ti\xeam v\u1eafc xin s\u1edfi ph\xf2ng tr\xe1nh c\u0103n b\u1ec7nh d\u1ec5 l\xe2y lan v\xe0 c\xf3 kh\u1ea3 n\u0103ng g\xe2y vi\xeam ph\u1ed5i ho\u1eb7c vi\xeam n\xe3o n\u1ebfu kh\xf4ng \u0111\u01b0\u1ee3c ki\u1ec3m so\xe1t t\u1ed1t.

\n

\u1ede nh\xf3m b\u1ec7nh nguy c\u01a1 cao, ng\u01b0\u1eddi tr\u01b0\u1edfng th\xe0nh v\xe0 ph\u1ee5 huynh ng\xe0y c\xe0ng quan t\xe2m \u0111\u1ebfn c\xe1c lo\u1ea1i v\u1eafc xin nh\u01b0 ti\xeam v\u1eafc xin HPV \u0111\u1ec3 ph\xf2ng ng\u1eeba ung th\u01b0 c\u1ed5 t\u1eed cung v\xe0 c\xe1c b\u1ec7nh li\xean quan \u0111\u1ebfn HPV; ti\xeam v\u1eafc xin 6 trong 1 gi\xfap tr\u1ebb nh\u1ecf \u0111\u01b0\u1ee3c b\u1ea3o v\u1ec7 to\xe0n di\u1ec7n tr\u01b0\u1edbc nhi\u1ec1u b\u1ec7nh nguy hi\u1ec3m nh\u01b0 b\u1ea1ch h\u1ea7u, ho g\xe0, u\u1ed1n v\xe1n, vi\xeam gan B, b\u1ea1i li\u1ec7t v\xe0 Hib. \u0110\u1ed1i v\u1edbi tr\u1ebb l\u1edbn v\xe0 ng\u01b0\u1eddi tr\u01b0\u1edfng th\xe0nh ch\u01b0a c\xf3 mi\u1ec5n d\u1ecbch, ti\xeam v\u1eafc xin thu\u1ef7 \u0111\u1eadu gi\xfap gi\u1ea3m \u0111\xe1ng k\u1ec3 nguy c\u01a1 m\u1eafc b\u1ec7nh v\xe0 gi\u1ea3m m\u1ee9c \u0111\u1ed9 n\u1eb7ng n\u1ebfu b\u1ecb l\xe2y nhi\u1ec5m.

\n

Ngo\xe0i ra, nh\u1eefng b\u1ec7nh c\xf3 nguy c\u01a1 l\xe2y nhi\u1ec5m trong c\u1ed9ng \u0111\u1ed3ng ho\u1eb7c trong m\xf4i tr\u01b0\u1eddng \u0111\u1eb7c th\xf9 c\u0169ng c\u1ea7n \u0111\u01b0\u1ee3c quan t\xe2m \u0111\xfang m\u1ee9c. Ti\xeam v\u1eafc xin vi\xeam gan B gi\xfap b\u1ea3o v\u1ec7 gan kh\u1ecfi virus g\xe2y b\u1ec7nh m\u1ea1n t\xednh, nguy c\u01a1 x\u01a1 gan ho\u1eb7c ung th\u01b0 gan. Tr\u1ebb nh\u1ecf s\u1ed1ng \u1edf v\xf9ng c\xf3 d\u1ecbch mu\u1ed7i truy\u1ec1n b\u1ec7nh c\u1ea7n \u0111\u01b0\u1ee3c ti\xeam v\u1eafc xin vi\xeam n\xe3o Nh\u1eadt B\u1ea3n \u0111\u1ec3 gi\u1ea3m nguy c\u01a1 vi\xeam n\xe3o, co gi\u1eadt ho\u1eb7c bi\u1ebfn ch\u1ee9ng th\u1ea7n kinh l\xe2u d\xe0i. V\u1edbi ng\u01b0\u1eddi l\u1edbn tu\u1ed5i ho\u1eb7c nh\u1eefng ng\u01b0\u1eddi t\u1eebng m\u1eafc th\u1ee7y \u0111\u1eadu, v\u1eafc xin zona th\u1ea7n kinh gi\xfap ng\u0103n ng\u1eeba t\xe1i ho\u1ea1t virus g\xe2y \u0111au th\u1ea7n kinh k\xe9o d\xe0i - m\u1ed9t trong nh\u1eefng b\u1ec7nh l\xfd l\xe0m gi\u1ea3m ch\u1ea5t l\u01b0\u1ee3ng cu\u1ed9c s\u1ed1ng r\xf5 r\u1ec7t.

\n

V\u1edbi ch\u1ee7ng lo\u1ea1i v\u1eafc xin \u0111a d\u1ea1ng, \u0111\u1ed9i ng\u0169 chuy\xean vi\xean y t\u1ebf gi\xe0u kinh nghi\u1ec7m, gi\u1ecfi chuy\xean m\xf4n, d\u1ecbch v\u1ee5 ti\xeam v\u1eafc xin t\u1ea1i c\xe1c c\u01a1 s\u1edf y t\u1ebf uy t\xedn li\xean k\u1ebft v\u1edbi HelloBacsi mang \u0111\u1ebfn nhi\u1ec1u l\u1ee3i \xedch:

    \n
  • \u0110\u01b0\u1ee3c t\u01b0 v\u1ea5n l\u1ecbch ti\xeam ph\xf9 h\u1ee3p theo \u0111\u1ed9 tu\u1ed5i v\xe0 s\u1ee9c kh\u1ecfe
  • \n
  • V\u1eafc xin \u0111a d\u1ea1ng, nhi\u1ec1u ch\u1ee7ng lo\u1ea1i ph\xf2ng ng\u1eeba
  • \n
  • Theo d\xf5i an to\xe0n sau ti\xeam v\xe0 qu\u1ea3n l\xfd h\u1ed3 s\u01a1 ti\xeam ch\u1ee7ng c\xe1 nh\xe2n.
  • \n
  • T\u1ed1i \u01b0u chi ph\xed cho t\u1eebng m\u0169i v\u1eafc xin.
  • \n

Vi\u1ec7c ti\xeam v\u1eafc xin kh\xf4ng ch\u1ec9 l\xe0 bi\u1ec7n ph\xe1p b\u1ea3o v\u1ec7 s\u1ee9c kh\u1ecfe cho b\u1ea3n th\xe2n, m\xe0 c\xf2n th\u1ec3 hi\u1ec7n tr\xe1ch nhi\u1ec7m v\u1edbi c\u1ed9ng \u0111\u1ed3ng khi g\xf3p ph\u1ea7n gi\u1ea3m nguy c\u01a1 l\xe2y nhi\u1ec5m b\u1ec7nh cho nh\u1eefng ng\u01b0\u1eddi xung quanh.

\n

Ti\xeam ch\u1ee7ng \u0111\xfang v\xe0 \u0111\u1ee7 l\xe0 b\u01b0\u1edbc \u0111\u1ea7u ti\xean \u0111\u1ec3 x\xe2y d\u1ef1ng h\u1ec7 mi\u1ec5n d\u1ecbch kh\u1ecfe m\u1ea1nh, gi\u1ea3m g\xe1nh n\u1eb7ng b\u1ec7nh t\u1eadt v\xe0 b\u1ea3o v\u1ec7 s\u1ee9c kh\u1ecfe l\xe2u d\xe0i. Ch\u1ee7 \u0111\u1ed9ng ti\xeam v\u1eafc xin l\xe0 m\u1ed9t trong nh\u1eefng \u0111\u1ea7u t\u01b0 s\u1ee9c kh\u1ecfe thi\u1ebft th\u1ef1c cho b\u1ea3n th\xe2n v\xe0 gia \u0111\xecnh trong m\u1ecdi giai \u0111o\u1ea1n c\u1ee7a cu\u1ed9c s\u1ed1ng.

\n

\u0110\u1eb7t l\u1ecbch ti\xeam v\u1eafc xin t\u1ea1i HelloBacsi ngay h\xf4m nay nh\xe9!

"}),(0,d.A)(i,g.Hxq.HEALTH_SCREENER,{title:"

T\xecm hi\u1ec3u th\xeam v\u1ec1 d\u1ecbch v\u1ee5 \u0111\u1eb7t l\u1ecbch x\xe9t nghi\u1ec7m/ kh\xe1m s\u1ee9c kh\u1ecfe t\u1ea1i HelloBacsi

",description:'

Kh\xe1m s\u1ee9c kh\u1ecfe \u0111\u1ecbnh k\u1ef3 l\xe0 m\u1ed9t trong nh\u1eefng th\xf3i quen quan tr\u1ecdng nh\u1ea5t gi\xfap m\u1ed7i ng\u01b0\u1eddi ch\u1ee7 \u0111\u1ed9ng theo d\xf5i t\xecnh tr\u1ea1ng c\u01a1 th\u1ec3, ph\xe1t hi\u1ec7n s\u1edbm c\xe1c d\u1ea5u hi\u1ec7u b\u1ea5t th\u01b0\u1eddng v\xe0 ng\u0103n ng\u1eeba b\u1ec7nh l\xfd nguy hi\u1ec3m tr\u01b0\u1edbc khi ch\xfang ti\u1ebfn tri\u1ec3n. Trong b\u1ed1i c\u1ea3nh l\u1ed1i s\u1ed1ng hi\u1ec7n \u0111\u1ea1i d\u1ec5 g\xe2y stress, \xedt v\u1eadn \u0111\u1ed9ng v\xe0 \u0103n u\u1ed1ng thi\u1ebfu khoa h\u1ecdc, vi\u1ec7c ki\u1ec3m tra s\u1ee9c kh\u1ecfe th\u01b0\u1eddng xuy\xean tr\u1edf th\xe0nh "l\xe1 ch\u1eafn" gi\xfap c\u1ea3 nam gi\u1edbi v\xe0 n\u1eef gi\u1edbi duy tr\xec th\u1ec3 tr\u1ea1ng t\u1ed1t, gi\u1ea3m nguy c\u01a1 b\u1ec7nh m\u1ea1n t\xednh v\xe0 b\u1ea3o v\u1ec7 ch\u1ea5t l\u01b0\u1ee3ng cu\u1ed9c s\u1ed1ng l\xe2u d\xe0i.

\n\n

\u0110\u1ed1i v\u1edbi m\u1ecdi l\u1ee9a tu\u1ed5i, kh\xe1m s\u1ee9c kh\u1ecfe t\u1ed5ng qu\xe1t gi\xfap \u0111\xe1nh gi\xe1 to\xe0n di\u1ec7n ho\u1ea1t \u0111\u1ed9ng c\u1ee7a tim m\u1ea1ch, gan, th\u1eadn, \u0111\u01b0\u1eddng huy\u1ebft, m\u1ee1 m\xe1u v\xe0 c\xe1c c\u01a1 quan quan tr\u1ecdng kh\xe1c trong c\u01a1 th\u1ec3. Vi\u1ec7c ph\xe1t hi\u1ec7n s\u1edbm c\xe1c ch\u1ec9 s\u1ed1 b\u1ea5t th\u01b0\u1eddng (n\u1ebfu c\xf3) gi\xfap b\u1ea1n k\u1ecbp th\u1eddi \u0111i\u1ec1u ch\u1ec9nh l\u1ed1i s\u1ed1ng ho\u1eb7c \u0111i\u1ec1u tr\u1ecb khi c\u1ea7n thi\u1ebft, gi\u1ea3m nguy c\u01a1 b\u1ec7nh ti\u1ebfn tri\u1ec3n n\u1eb7ng nh\u01b0 t\u0103ng huy\u1ebft \xe1p, ti\u1ec3u \u0111\u01b0\u1eddng, gan nhi\u1ec5m m\u1ee1 hay b\u1ec7nh tim m\u1ea1ch - nh\u1eefng b\u1ec7nh l\xfd ng\xe0y c\xe0ng ph\u1ed5 bi\u1ebfn \u1edf ng\u01b0\u1eddi tr\u1ebb.

\n\n

V\u1edbi \u0111\u1eb7c th\xf9 c\xf4ng vi\u1ec7c b\u1eadn r\u1ed9n, nhi\u1ec1u ng\u01b0\u1eddi th\u01b0\u1eddng b\u1ecf qua t\xedn hi\u1ec7u c\u1ee7a c\u01a1 th\u1ec3. V\xec v\u1eady, kh\xe1m \u0111\u1ecbnh k\u1ef3 gi\xfap b\u1ea1n hi\u1ec3u r\xf5 t\xecnh tr\u1ea1ng s\u1ee9c kh\u1ecfe hi\u1ec7n t\u1ea1i v\xe0 theo d\xf5i di\u1ec5n ti\u1ebfn qua t\u1eebng n\u0103m. C\u1ea3 nam gi\u1edbi v\xe0 n\u1eef gi\u1edbi \u0111\u1ec1u c\xf3 nh\u1eefng nhu c\u1ea7u ch\u0103m s\xf3c s\u1ee9c kh\u1ecfe ri\xeang bi\u1ec7t. Vi\u1ec7c ch\u1ee7 \u0111\u1ed9ng kh\xe1m s\u1ee9c kh\u1ecfe sinh s\u1ea3n l\xe0 b\u01b0\u1edbc quan tr\u1ecdng gi\xfap \u0111\xe1nh gi\xe1 kh\u1ea3 n\u0103ng sinh s\u1ea3n, t\u1ea7m so\xe1t c\xe1c b\u1ec7nh l\xfd ph\u1ee5 khoa, nam khoa v\xe0 ki\u1ec3m tra n\u1ed9i ti\u1ebft. \u0110\u1ed3ng th\u1eddi gi\xfap ph\xe1t hi\u1ec7n k\u1ecbp th\u1eddi c\xe1c v\u1ea5n \u0111\u1ec1 nh\u01b0 r\u1ed1i lo\u1ea1n hormone, vi\xeam nhi\u1ec5m sinh d\u1ee5c, polyp, u x\u01a1 ho\u1eb7c tinh tr\xf9ng y\u1ebfu, t\u1eeb \u0111\xf3 c\xf3 h\u01b0\u1edbng \u0111i\u1ec1u tr\u1ecb hi\u1ec7u qu\u1ea3. \u0110\xe2y l\xe0 y\u1ebfu t\u1ed1 then ch\u1ed1t gi\xfap b\u1ea3o v\u1ec7 s\u1ee9c kh\u1ecfe sinh s\u1ea3n c\u1ee7a c\u1ea3 hai gi\u1edbi, gi\u1ea3m nguy c\u01a1 hi\u1ebfm mu\u1ed9n v\xe0 h\u1ed7 tr\u1ee3 k\u1ebf ho\u1ea1ch sinh con an to\xe0n.

\n\n

\u0110\u1ed1i v\u1edbi c\xe1c c\u1eb7p \u0111\xf4i chu\u1ea9n b\u1ecb k\u1ebft h\xf4n, kh\xe1m s\u1ee9c kh\u1ecfe ti\u1ec1n h\xf4n nh\xe2n mang l\u1ea1i nhi\u1ec1u l\u1ee3i \xedch thi\u1ebft th\u1ef1c: \u0111\xe1nh gi\xe1 s\u1ee9c kh\u1ecfe t\u1ed5ng qu\xe1t, t\u1ea7m so\xe1t b\u1ec7nh di truy\u1ec1n, b\u1ec7nh l\xe2y qua \u0111\u01b0\u1eddng t\xecnh d\u1ee5c, ki\u1ec3m tra kh\u1ea3 n\u0103ng sinh s\u1ea3n v\xe0 t\u01b0 v\u1ea5n ti\xeam v\u1eafc xin tr\u01b0\u1edbc mang thai. Vi\u1ec7c n\xe0y kh\xf4ng ch\u1ec9 gi\xfap hai ng\u01b0\u1eddi hi\u1ec3u r\xf5 t\xecnh tr\u1ea1ng s\u1ee9c kh\u1ecfe c\u1ee7a nhau m\xe0 c\xf2n t\u1ea1o n\u1ec1n t\u1ea3ng v\u1eefng ch\u1eafc cho h\xe0nh tr\xecnh l\xe0m cha m\u1eb9 trong t\u01b0\u01a1ng lai. \u0110\xe2y c\u0169ng l\xe0 b\u01b0\u1edbc quan tr\u1ecdng \u0111\u1ec3 ph\xf2ng tr\xe1nh c\xe1c r\u1ee7i ro trong thai k\u1ef3 v\xe0 \u0111\u1ea3m b\u1ea3o em b\xe9 sinh ra kh\u1ecfe m\u1ea1nh.

\n\n

M\u1ea1ng l\u01b0\u1edbi c\xe1c b\u1ec7nh vi\u1ec7n, c\u01a1 s\u1edf y t\u1ebf uy t\xedn li\xean k\u1ebft c\xf9ng HelloBacsi s\u1ebd gi\xfap b\u1ea1n thu\u1eadn l\u1ee3i h\u01a1n trong vi\u1ec7c kh\xe1m, ki\u1ec3m tra s\u1ee9c kh\u1ecfe. Nh\u1eefng l\u1ee3i \xedch n\u1ed5i b\u1eadt khi \u0111\u1eb7t l\u1ecbch kh\xe1m s\u1ee9c kh\u1ecfe c\xf9ng HelloBacsi bao g\u1ed3m:

\n\n
    \n
  • \u0110\u1eb7t l\u1ecbch nhanh, \u0111\u01a1n gi\u1ea3n
  • \n
  • \u0110\u01b0\u1ee3c ki\u1ec3m tra theo quy tr\xecnh khoa h\u1ecdc, trang thi\u1ebft b\u1ecb hi\u1ec7n \u0111\u1ea1i
  • \n
  • B\xe1c s\u0129 ph\xe2n t\xedch ch\u1ec9 s\u1ed1 r\xf5 r\xe0ng, d\u1ec5 hi\u1ec3u
  • \n
  • Nhanh ch\xf3ng, kh\xf4ng ch\u1edd \u0111\u1ee3i
  • \n
  • Cam k\u1ebft tuy\u1ec7t \u0111\u1ed1i b\u1ea3o m\u1eadt th\xf4ng tin
  • \n
\n\n

Kh\xe1m s\u1ee9c kh\u1ecfe kh\xf4ng ch\u1ec9 l\xe0 ho\u1ea1t \u0111\u1ed9ng \u0111\u1ecbnh k\u1ef3 m\xe0 c\xf2n l\xe0 c\xe1ch b\u1ea1n \u0111\u1ea7u t\u01b0 thi\u1ebft th\u1ef1c cho ch\xednh m\xecnh - \u0111\u1ec3 s\u1ed1ng kh\u1ecfe, s\u1ed1ng ch\u1ea5t l\u01b0\u1ee3ng v\xe0 t\u1eadn h\u01b0\u1edfng cu\u1ed9c s\u1ed1ng tr\u1ecdn v\u1eb9n h\u01a1n.

\n\n

\u0110\u1eb7t l\u1ecbch kh\xe1m s\u1ee9c kh\u1ecfe v\u1edbi HelloBacsi ngay h\xf4m nay nh\xe9!

'}),(0,d.A)(i,g.Hxq.IVF,{title:"

T\xecm hi\u1ec3u th\xeam v\u1ec1 d\u1ecbch v\u1ee5 \u0111\u1eb7t l\u1ecbch l\xe0m IVF t\u1ea1i c\xe1c c\u01a1 s\u1edf y t\u1ebf uy t\xedn c\xf9ng HelloBacsi

",description:"

Th\u1ee5 tinh \u1ed1ng nghi\u1ec7m (IVF) hi\u1ec7n l\xe0 m\u1ed9t trong nh\u1eefng ph\u01b0\u01a1ng ph\xe1p h\u1ed7 tr\u1ee3 sinh s\u1ea3n hi\u1ec7n \u0111\u1ea1i v\xe0 hi\u1ec7u qu\u1ea3 nh\u1ea5t d\xe0nh cho c\xe1c c\u1eb7p v\u1ee3 ch\u1ed3ng hi\u1ebfm mu\u1ed9n. V\u1edbi t\u1ef7 l\u1ec7 th\xe0nh c\xf4ng ng\xe0y c\xe0ng t\u0103ng v\xe0 s\u1ef1 ph\xe1t tri\u1ec3n c\u1ee7a c\xf4ng ngh\u1ec7 y khoa, th\u1ee5 tinh \u1ed1ng nghi\u1ec7m gi\xfap hi\u1ec7n th\u1ef1c h\xf3a \u01b0\u1edbc m\u01a1 l\xe0m cha m\u1eb9 cho h\xe0ng tri\u1ec7u gia \u0111\xecnh tr\xean th\u1ebf gi\u1edbi. \u0110\xe2y c\u0169ng l\xe0 l\xfd do d\u1ecbch v\u1ee5 \u0111\u1eb7t l\u1ecbch th\u1ee5 tinh trong \u1ed1ng nghi\u1ec7m \u0111ang ng\xe0y c\xe0ng \u0111\u01b0\u1ee3c quan t\xe2m, \u0111\u1eb7c bi\u1ec7t t\u1ea1i c\xe1c n\u1ec1n t\u1ea3ng th\xf4ng tin y t\u1ebf uy t\xedn nh\u01b0 HelloBacsi.

\n\n

Th\u1ee5 tinh \u1ed1ng nghi\u1ec7m l\xe0 k\u1ef9 thu\u1eadt cho ph\xe9p k\u1ebft h\u1ee3p tr\u1ee9ng v\xe0 tinh tr\xf9ng trong m\xf4i tr\u01b0\u1eddng labo, sau \u0111\xf3 chuy\u1ec3n ph\xf4i kh\u1ecfe m\u1ea1nh v\xe0o t\u1eed cung ng\u01b0\u1eddi m\u1eb9. Kh\xf4ng ch\u1ec9 ph\xf9 h\u1ee3p v\u1edbi c\xe1c tr\u01b0\u1eddng h\u1ee3p v\xf4 sinh hi\u1ebfm mu\u1ed9n l\xe2u n\u0103m, ph\u01b0\u01a1ng ph\xe1p n\xe0y c\xf2n h\u1ed7 tr\u1ee3 hi\u1ec7u qu\u1ea3 cho ph\u1ee5 n\u1eef l\u1edbn tu\u1ed5i, ng\u01b0\u1eddi g\u1eb7p v\u1ea5n \u0111\u1ec1 v\u1ec1 t\u1eafc ngh\u1ebdn v\xf2i tr\u1ee9ng, r\u1ed1i lo\u1ea1n r\u1ee5ng tr\u1ee9ng ho\u1eb7c nam gi\u1edbi c\xf3 tinh tr\xf9ng y\u1ebfu. L\u1ee3i \xedch n\u1ed5i b\u1eadt c\u1ee7a th\u1ee5 tinh trong \u1ed1ng nghi\u1ec7m l\xe0 gi\xfap t\u1ed1i \u01b0u h\xf3a kh\u1ea3 n\u0103ng th\u1ee5 thai, ch\u1ee7 \u0111\u1ed9ng ch\u1ecdn l\u1ef1a ph\xf4i kh\u1ecfe m\u1ea1nh, gi\u1ea3m nguy c\u01a1 d\u1ecb t\u1eadt di truy\u1ec1n, \u0111\u1ed3ng th\u1eddi t\u0103ng c\u01a1 h\u1ed9i mang thai th\xe0nh c\xf4ng ch\u1ec9 trong m\u1ed9t chu k\u1ef3 \u0111i\u1ec1u tr\u1ecb.

\n\n

B\xean c\u1ea1nh hi\u1ec7u qu\u1ea3 y khoa, nhi\u1ec1u c\u1eb7p v\u1ee3 ch\u1ed3ng c\u0169ng quan t\xe2m \u0111\u1ebfn chi ph\xed th\u1ee5 tinh trong \u1ed1ng nghi\u1ec7m, v\u1ed1n c\xf3 s\u1ef1 ch\xeanh l\u1ec7ch t\xf9y c\u01a1 s\u1edf, ph\xe1c \u0111\u1ed3 \u0111i\u1ec1u tr\u1ecb v\xe0 k\u1ef9 thu\u1eadt b\u1ed5 tr\u1ee3 \u0111i k\xe8m. Ch\xednh v\xec v\u1eady, vi\u1ec7c t\xecm ki\u1ebfm m\u1ed9t ngu\u1ed3n th\xf4ng tin minh b\u1ea1ch, ch\xednh x\xe1c v\xe0 d\u1ec5 hi\u1ec3u l\xe0 \u0111i\u1ec1u v\xf4 c\xf9ng quan tr\u1ecdng tr\u01b0\u1edbc khi quy\u1ebft \u0111\u1ecbnh b\u1eaft \u0111\u1ea7u h\xe0nh tr\xecnh IVF.

\n\n

HelloBacsi cung c\u1ea5p h\u1ec7 th\u1ed1ng b\xe0i vi\u1ebft chuy\xean s\xe2u, \u0111\u01b0\u1ee3c ki\u1ec3m ch\u1ee9ng b\u1edfi \u0111\u1ed9i ng\u0169 chuy\xean gia y t\u1ebf v\xe0 c\u1eadp nh\u1eadt li\xean t\u1ee5c, gi\xfap b\u1ea1n hi\u1ec3u r\xf5 c\xe1c kho\u1ea3n chi ph\xed c\xf3 th\u1ec3 ph\xe1t sinh, t\u1eeb x\xe9t nghi\u1ec7m, ch\u1ecdc h\xfat tr\u1ee9ng, t\u1ea1o ph\xf4i, nu\xf4i ph\xf4i \u0111\u1ebfn chuy\u1ec3n ph\xf4i, gi\xfap b\u1ea1n ch\u1ee7 \u0111\u1ed9ng trong vi\u1ec7c chu\u1ea9n b\u1ecb t\xe0i ch\xednh \u0111\u1ec3 hi\u1ec7n th\u1ef1c h\xf3a gi\u1ea5c m\u01a1 l\xe0m cha m\u1eb9.

\n\n

M\u1ed9t trong nh\u1eefng \u0111i\u1ec3m n\u1ed5i b\u1eadt nh\u1ea5t khi \u0111\u1eb7t l\u1ecbch th\u1ee5 tinh \u1ed1ng nghi\u1ec7m tr\xean HelloBacsi ch\xednh l\xe0 s\u1ef1 ti\u1ec7n l\u1ee3i v\xe0 an t\xe2m. Ng\u01b0\u1eddi d\xf9ng \u0111\u01b0\u1ee3c:

\n\n
    \n
  • D\u1ec5 d\xe0ng t\xecm ki\u1ebfm, so s\xe1nh v\xe0 l\u1ef1a ch\u1ecdn c\xe1c b\u1ec7nh vi\u1ec7n, c\u01a1 s\u1edf y t\u1ebf h\u1ed7 tr\u1ee3 sinh s\u1ea3n uy t\xedn d\u1ef1a tr\xean \u0111\xe1nh gi\xe1 kh\xe1ch quan v\xe0 th\xf4ng tin minh b\u1ea1ch.
  • \n
  • \u0110\u1eb7t l\u1ecbch mi\u1ec5n ph\xed nhanh ch\xf3ng, h\u1ea1n ch\u1ebf t\u1ed1i \u0111a th\u1eddi gian ch\u1edd \u0111\u1ee3i.
  • \n
  • H\u1ed7 tr\u1ee3 k\u1ebft n\u1ed1i tr\u1ef1c ti\u1ebfp v\u1edbi c\u01a1 s\u1edf y t\u1ebf, gi\xfap b\u1ea1n nh\u1eadn \u0111\u01b0\u1ee3c t\u01b0 v\u1ea5n ban \u0111\u1ea7u, b\xe1o gi\xe1 v\xe0 l\u1ecbch kh\xe1m ph\xf9 h\u1ee3p nhu c\u1ea7u c\xe1 nh\xe2n.
  • \n
  • Cam k\u1ebft b\u1ea3o m\u1eadt.
  • \n
\n\n

N\u1ebfu b\u1ea1n \u0111ang t\xecm ki\u1ebfm m\u1ed9t \u0111\u1ecba ch\u1ec9 \u0111\xe1ng tin c\u1eady \u0111\u1ec3 b\u1eaft \u0111\u1ea7u h\xe0nh tr\xecnh sinh con b\u1eb1ng quy tr\xecnh th\u1ee5 tinh \u1ed1ng nghi\u1ec7m, HelloBacsi l\xe0 l\u1ef1a ch\u1ecdn t\u1ed1i \u01b0u nh\u1edd s\u1ef1 k\u1ebft h\u1ee3p gi\u1eefa ngu\u1ed3n th\xf4ng tin ch\xednh x\xe1c, c\xf4ng c\u1ee5 \u0111\u1eb7t l\u1ecbch ti\u1ec7n l\u1ee3i v\xe0 m\u1ea1ng l\u01b0\u1edbi c\u01a1 s\u1edf y t\u1ebf ch\u1ea5t l\u01b0\u1ee3ng cao. HelloBacsi s\u1ebd \u0111\u1ed3ng h\xe0nh, gi\xfap b\u1ea1n r\xfat ng\u1eafn th\u1eddi gian t\xecm ki\u1ebfm, ti\u1ebft ki\u1ec7m chi ph\xed v\xe0 t\u0103ng c\u01a1 h\u1ed9i \u0111\xf3n nh\u1eadn tin vui.

\n\n

B\u1ea1n \u0111\xe3 s\u1eb5n s\xe0ng b\u1eaft \u0111\u1ea7u h\xe0nh tr\xecnh l\xe0m cha m\u1eb9? \u0110\u1eb7t l\u1ecbch ngay h\xf4m nay v\u1edbi HelloBacsi nh\xe9!

"}),(0,d.A)(i,g.Hxq.EGG_FREEZING,{title:"

T\xecm hi\u1ec3u th\xeam v\u1ec1 d\u1ecbch v\u1ee5 \u0111\u1eb7t l\u1ecbch tr\u1eef \u0111\xf4ng tr\u1ee9ng t\u1ea1i c\xe1c c\u01a1 s\u1edf y t\u1ebf uy t\xedn c\xf9ng HelloBacsi

",description:'

Tr\u1eef \u0111\xf4ng tr\u1ee9ng \u0111ang tr\u1edf th\xe0nh l\u1ef1a ch\u1ecdn ph\u1ed5 bi\u1ebfn c\u1ee7a ph\u1ee5 n\u1eef tr\u1ebb hi\u1ec7n \u0111\u1ea1i - nh\u1eefng ng\u01b0\u1eddi mong mu\u1ed1n ch\u1ee7 \u0111\u1ed9ng x\xe2y d\u1ef1ng t\u01b0\u01a1ng lai, theo \u0111u\u1ed5i m\u1ee5c ti\xeau c\xe1 nh\xe2n m\xe0 kh\xf4ng lo gi\u1edbi h\u1ea1n s\u1ee9c kh\u1ecfe sinh s\u1ea3n. V\u1edbi nh\u1ecbp s\u1ed1ng b\u1eadn r\u1ed9n, k\u1ebft h\xf4n mu\u1ed9n v\xe0 \xe1p l\u1ef1c c\xf4ng vi\u1ec7c ng\xe0y c\xe0ng l\u1edbn, nhi\u1ec1u ph\u1ee5 n\u1eef \xfd th\u1ee9c r\xf5 r\xe0ng h\u01a1n v\u1ec1 vi\u1ec7c b\u1ea3o v\u1ec7 kh\u1ea3 n\u0103ng sinh s\u1ea3n t\u1eeb s\u1edbm. Tr\u1eef \u0111\xf4ng tr\u1ee9ng cho ph\xe9p l\u01b0u gi\u1eef nh\u1eefng t\u1ebf b\xe0o tr\u1ee9ng kh\u1ecfe m\u1ea1nh nh\u1ea5t khi ng\u01b0\u1eddi ph\u1ee5 n\u1eef \u0111ang \u1edf \u0111\u1ed9 tu\u1ed5i sung s\u1ee9c, gi\xfap t\u0103ng c\u01a1 h\u1ed9i th\u1ee5 thai sau n\xe0y, \u0111\u1eb7c bi\u1ec7t khi tu\u1ed5i t\xe1c, n\u1ed9i ti\u1ebft ho\u1eb7c c\xe1c y\u1ebfu t\u1ed1 s\u1ee9c kh\u1ecfe kh\xe1c c\xf3 th\u1ec3 \u1ea3nh h\u01b0\u1edfng \u0111\u1ebfn ch\u1ea5t l\u01b0\u1ee3ng tr\u1ee9ng.

\n\n

L\u1ee3i \xedch l\u1edbn nh\u1ea5t c\u1ee7a ph\u01b0\u01a1ng ph\xe1p n\xe0y n\u1eb1m \u1edf kh\u1ea3 n\u0103ng "\u0111\xf3ng b\u0103ng" th\u1eddi gian sinh s\u1ea3n. Tr\u1ee9ng \u0111\u01b0\u1ee3c tr\u1eef \u0111\xf4ng \u1edf nhi\u1ec7t \u0111\u1ed9 c\u1ef1c th\u1ea5p, gi\u1eef nguy\xean c\u1ea5u tr\xfac v\xe0 ch\u1ea5t l\u01b0\u1ee3ng trong nhi\u1ec1u n\u0103m. \u0110i\u1ec1u n\xe0y gi\xfap ph\u1ee5 n\u1eef c\xf3 th\xeam th\u1eddi gian chu\u1ea9n b\u1ecb cho s\u1ef1 nghi\u1ec7p, t\xe0i ch\xednh ho\u1eb7c t\xecm ki\u1ebfm b\u1ea1n \u0111\u1eddi ph\xf9 h\u1ee3p m\xe0 kh\xf4ng ph\u1ea3i ch\u1ea1y \u0111ua v\u1edbi \u0111\u1ed9 tu\u1ed5i sinh h\u1ecdc. Ngo\xe0i ra, tr\u1eef \u0111\xf4ng tr\u1ee9ng c\xf2n l\xe0 l\u1ef1a ch\u1ecdn ph\xf9 h\u1ee3p cho nh\u1eefng ng\u01b0\u1eddi \u0111ang \u0111i\u1ec1u tr\u1ecb c\xe1c b\u1ec7nh l\xfd \u1ea3nh h\u01b0\u1edfng kh\u1ea3 n\u0103ng sinh s\u1ea3n, ho\u1eb7c chu\u1ea9n b\u1ecb th\u1ef1c hi\u1ec7n c\xe1c ph\u01b0\u01a1ng ph\xe1p h\u1ed7 tr\u1ee3 sinh s\u1ea3n trong t\u01b0\u01a1ng lai. \u0110\xe2y l\xe0 m\u1ed9t s\u1ef1 \u0111\u1ea7u t\u01b0 mang t\xednh d\xe0i h\u1ea1n, thi\u1ebft th\u1ef1c v\xe0 gi\xe0u gi\xe1 tr\u1ecb tinh th\u1ea7n \u0111\u1ed1i v\u1edbi ph\u1ee5 n\u1eef hi\u1ec7n \u0111\u1ea1i.

\n\n

B\xean c\u1ea1nh \u0111\xf3, chi ph\xed tr\u1eef \u0111\xf4ng tr\u1ee9ng c\u0169ng l\xe0 y\u1ebfu t\u1ed1 \u0111\u01b0\u1ee3c nhi\u1ec1u ng\u01b0\u1eddi quan t\xe2m. T\xf9y v\xe0o c\u01a1 s\u1edf y t\u1ebf, ph\u01b0\u01a1ng ph\xe1p v\xe0 th\u1eddi gian l\u01b0u tr\u1eef, chi ph\xed c\xf3 th\u1ec3 kh\xe1c nhau. V\xec v\u1eady, vi\u1ec7c l\u1ef1a ch\u1ecdn n\u01a1i t\u01b0 v\u1ea5n r\xf5 r\xe0ng, minh b\u1ea1ch v\xe0 c\xf3 h\u1ed7 tr\u1ee3 \u0111\u1eb7t l\u1ecbch thu\u1eadn ti\u1ec7n l\xe0 r\u1ea5t quan tr\u1ecdng.

\n\n

T\u1ea1i HelloBacsi, ng\u01b0\u1eddi d\xf9ng c\xf3 th\u1ec3 d\u1ec5 d\xe0ng \u0111\u1eb7t l\u1ecbch tr\u1eef \u0111\xf4ng tr\u1ee9ng th\xf4ng qua n\u1ec1n t\u1ea3ng tr\u1ef1c tuy\u1ebfn uy t\xedn, \u0111\u01b0\u1ee3c thi\u1ebft k\u1ebf \u0111\u1ec3 k\u1ebft n\u1ed1i ng\u01b0\u1eddi d\xf9ng v\u1edbi c\xe1c c\u01a1 s\u1edf y t\u1ebf ch\u1ea5t l\u01b0\u1ee3ng cao. HelloBacsi mang \u0111\u1ebfn nhi\u1ec1u l\u1ee3i \xedch n\u1ed5i b\u1eadt:

\n\n
    \n
  • Th\xf4ng tin minh b\u1ea1ch, d\u1ec5 hi\u1ec3u: T\u1ea5t c\u1ea3 c\xe1c th\xf4ng tin v\u1ec1 quy tr\xecnh, \u0111i\u1ec1u ki\u1ec7n l\u01b0u tr\u1eef v\xe0 chi ph\xed tr\u1eef \u0111\xf4ng tr\u1ee9ng \u0111\u01b0\u1ee3c t\u1ed5ng h\u1ee3p r\xf5 r\xe0ng, gi\xfap b\u1ea1n \u0111\u01b0a ra quy\u1ebft \u0111\u1ecbnh s\xe1ng su\u1ed1t.
  • \n
  • \u0110\u1eb7t l\u1ecbch nhanh - ti\u1ec7n - ch\xednh x\xe1c: H\u1ec7 th\u1ed1ng \u0111\u1eb7t l\u1ecbch th\xf4ng minh gi\xfap b\u1ea1n ch\u1ecdn th\u1eddi gian ph\xf9 h\u1ee3p v\xe0 k\u1ebft n\u1ed1i tr\u1ef1c ti\u1ebfp v\u1edbi c\u01a1 s\u1edf uy t\xedn.
  • \n
  • \u0110\u1ed9i ng\u0169 chuy\xean m\xf4n h\u1ed7 tr\u1ee3: C\xe1c chuy\xean gia s\u1ea3n ph\u1ee5 khoa h\u1ee3p t\xe1c c\xf9ng HelloBacsi gi\xfap b\u1ea1n hi\u1ec3u r\xf5 c\xe1c b\u01b0\u1edbc v\xe0 c\xf3 s\u1ef1 chu\u1ea9n b\u1ecb t\u1ed1t nh\u1ea5t.
  • \n
  • An t\xe2m v\u1ec1 ch\u1ea5t l\u01b0\u1ee3ng d\u1ecbch v\u1ee5: HelloBacsi ch\u1ec9 li\xean k\u1ebft v\u1edbi b\u1ec7nh vi\u1ec7n v\xe0 trung t\xe2m h\u1ed7 tr\u1ee3 sinh s\u1ea3n \u0111\u1ea1t chu\u1ea9n ch\u1ea5t l\u01b0\u1ee3ng, gi\xfap t\u0103ng t\xednh an to\xe0n v\xe0 hi\u1ec7u qu\u1ea3 trong su\u1ed1t qu\xe1 tr\xecnh tr\u1eef \u0111\xf4ng.
  • \n
\n\n

Tr\u1eef \u0111\xf4ng tr\u1ee9ng kh\xf4ng ch\u1ec9 l\xe0 m\u1ed9t ph\u01b0\u01a1ng ph\xe1p y h\u1ecdc hi\u1ec7n \u0111\u1ea1i m\xe0 c\xf2n l\xe0 h\xe0nh \u0111\u1ed9ng th\u1ec3 hi\u1ec7n s\u1ef1 ch\u1ee7 \u0111\u1ed9ng v\xe0 tr\xe2n tr\u1ecdng t\u01b0\u01a1ng lai c\u1ee7a ch\xednh m\xecnh. V\u1edbi s\u1ef1 \u0111\u1ed3ng h\xe0nh t\u1eeb c\xe1c n\u1ec1n t\u1ea3ng uy t\xedn nh\u01b0 HelloBacsi, ph\u1ee5 n\u1eef tr\u1ebb c\xf3 th\u1ec3 ti\u1ebfp c\u1eadn d\u1ecbch v\u1ee5 n\xe0y m\u1ed9t c\xe1ch thu\u1eadn ti\u1ec7n, tin c\u1eady v\xe0 y\xean t\xe2m h\u01a1n bao gi\u1edd h\u1ebft.

\n\n

\u0110\u1eb7t l\u1ecbch tr\u1eef \u0111\xf4ng tr\u1ee9ng ngay h\xf4m nay c\xf9ng HelloBacsi nh\xe9!

'}),i)),(0,d.A)(r,u.L.Malaysia,(a={},(0,d.A)(a,g.Hxq.VACCINE,{title:"

Ketahui lebih lanjut tentang perkhidmatan tempahan vaksinasi di Hello Doktor

",description:'

Vaksin merupakan salah satu langkah paling penting dalam penjagaan kesihatan untuk melindungi tubuh daripada pelbagai penyakit berjangkit. Melalui vaksin, sistem imun akan dirangsang untuk membina perlindungan awal, sekali gus mengurangkan risiko jangkitan dan komplikasi serius. Vaksinasi yang lengkap mengikut jadual sangat penting untuk bayi, kanak-kanak, remaja, orang dewasa dan juga warga emas.

\n\n

Di Malaysia, kesedaran terhadap jenis vaksin semakin meningkat, terutamanya dalam kalangan ibu bapa yang ingin memastikan jadual vaksin bayi dipatuhi dengan betul. Vaksin asas seperti vaksin measles, vaksin MR (measles rubella) dan vaksin MMR (measles, mumps, rubella) membantu mencegah penyakit yang mudah berjangkit dan boleh menyebabkan komplikasi serius jika tidak dikawal lebih awal.

\n\n

Bagi perlindungan tambahan, vaksin influenza disarankan setiap tahun bagi mengurangkan risiko selesema bermusim dan komplikasi seperti radang paru-paru. Untuk kanak-kanak dan orang dewasa, vaksin chicken pox membantu mencegah jangkitan cacar air serta dapat mengurangkan gejala penyakit.

\n\n

Dalam kalangan remaja dan dewasa muda, ramai yang mula bertanya "vaksin HPV untuk apa?". Vaksin HPV berperanan penting dalam mencegah kanser serviks dan penyakit lain yang berkaitan dengan jangkitan Human Papillomavirus. Selain itu, vaksin seperti vaksin Tdap, vaksin tetanus dan vaksin ATT membantu melindungi daripada jangkitan tetanus, difteria dan pertusis, termasuk program vaksin ATT Tingkatan 3 yang biasa diterima oleh pelajar sekolah.

\n\n

Bagi individu yang mempunyai risiko jangkitan tertentu, vaksin pneumokokal membantu mencegah jangkitan paru-paru dan penyakit invasif lain, manakala vaksin typhoid disarankan untuk mereka yang kerap melancong atau terdedah kepada risiko jangkitan bawaan makanan dan air.

\n\n

Untuk tujuan keagamaan dan perjalanan, vaksin umrah merupakan salah satu keperluan penting bagi jemaah yang ingin menunaikan ibadah. Ramai juga mencari kemudahan vaksin umrah untuk mendapatkan vaksin yang diperlukan sebelum berlepas.

\n\n

Selain vaksin manusia, vaksin kucing juga sering menjadi perhatian pemilik haiwan peliharaan. Mengetahui harga vaksin kucing dan kepentingannya membantu melindungi haiwan kesayangan daripada penyakit berjangkit serta menjaga kesihatan persekitaran rumah.

\n\n

Melalui rangkaian fasiliti kesihatan dan profesional perubatan yang bekerjasama dengan HelloDoktor, anda boleh mendapatkan maklumat dan perkhidmatan vaksinasi dengan lebih mudah dan tersusun. Antara kelebihannya termasuk:

\n\n
    \n
  • Panduan jadual vaksin mengikut umur dan keperluan kesihatan
  • \n
  • Pilihan vaksin yang pelbagai untuk kanak-kanak dan dewasa
  • \n
  • Pemantauan keselamatan selepas vaksinasi serta rekod imunisasi peribadi
  • \n
  • Maklumat kos dan akses kepada fasiliti yang sesuai
  • \n
\n\n

Vaksinasi bukan sahaja melindungi kesihatan diri sendiri, malah membantu mengurangkan penularan penyakit dalam komuniti. Melengkapkan vaksin adalah satu pelaburan penting untuk kesihatan jangka panjang diri dan keluarga.

\n\n

Tempah perkhidmatan vaksinasi melalui HelloDoktor hari ini.

'}),(0,d.A)(a,g.Hxq.HEALTH_SCREENER,{title:"

Ketahui lebih lanjut mengenai perkhidmatan tempahan ujian dan pemeriksaan kesihatan di Hello Doktor

",description:"

Pemeriksaan kesihatan secara berkala penting untuk membantu setiap individu memantau keadaan tubuh, mengesan tanda-tanda awal masalah kesihatan dan mencegah penyakit serius sebelum ia menjadi lebih teruk. Dalam gaya hidup moden yang sering dikaitkan dengan tekanan kerja, kurang aktiviti fizikal dan pemakanan tidak seimbang, saringan kesihatan berfungsi sebagai langkah pencegahan yang penting untuk mengekalkan kesihatan jangka panjang serta kualiti hidup yang lebih baik.

\n\n

Tanpa mengira usia, melakukan ujian saringan kesihatan secara berkala membantu menilai fungsi organ utama seperti jantung, hati, buah pinggang, paras gula darah dan kolesterol. Melalui pemeriksaan perubatan penuh, sebarang bacaan atau petunjuk yang tidak normal dapat dikenal pasti lebih awal, membolehkan perubahan gaya hidup atau rawatan dimulakan tepat pada masanya. Ini dapat mengurangkan risiko penyakit kronik seperti darah tinggi, diabetes, penyakit jantung dan masalah metabolik yang semakin kerap berlaku dalam kalangan orang dewasa muda di Malaysia.

\n\n

Dengan jadual harian yang sibuk, ramai cenderung mengabaikan isyarat awal daripada tubuh. Oleh itu, pemeriksaan kesihatan di klinik kesihatan atau fasiliti perubatan yang dipercayai dapat membantu anda memahami tahap kesihatan semasa dan memantau perubahan dari tahun ke tahun. Pemeriksaan ini biasanya melibatkan penilaian menyeluruh yang disusun secara sistematik, termasuk pengisian borang pemeriksaan kesihatan bagi merekodkan sejarah perubatan dan faktor risiko individu.

\n\n

Selain kesihatan fizikal, kesedaran terhadap saringan kesihatan mental juga semakin meningkat. Tekanan emosi, kebimbangan dan keletihan mental boleh menjejaskan kehidupan seharian jika tidak ditangani. Melalui ujian saringan kesihatan mental, individu boleh mengenal pasti tahap kesejahteraan emosi mereka dan mendapatkan sokongan atau rawatan yang sesuai lebih awal.

\n\n

Bagi memenuhi keperluan yang berbeza, banyak fasiliti menawarkan pakej pemeriksaan kesihatan yang disesuaikan mengikut umur, jantina dan gaya hidup. Pakej ini memudahkan individu memilih pemeriksaan yang bersesuaian tanpa perlu merancang ujian secara berasingan, sekaligus menjimatkan masa dan kos.

\n\n

Melalui rangkaian hospital dan pusat perubatan yang bekerjasama dengan Hello Doktor, anda boleh membuat tempahan pemeriksaan kesihatan dengan lebih mudah dan teratur. Antara kelebihan utama termasuk:

\n\n
    \n
  • Proses tempahan yang cepat dan ringkas
  • \n
  • Pemeriksaan mengikut protokol perubatan yang sistematik dan moden
  • \n
  • Penjelasan keputusan pemeriksaan oleh profesional kesihatan secara jelas dan mudah difahami
  • \n
  • Menjimatkan masa tanpa perlu menunggu lama
  • \n
  • Jaminan kerahsiaan maklumat peribadi dan kesihatan
  • \n
\n\n

Pemeriksaan kesihatan bukan sekadar rutin tahunan, tetapi satu pelaburan penting untuk diri sendiri -- membantu anda hidup lebih sihat, lebih yakin dan lebih bersedia menghadapi masa depan.

\n\n

Tempah pemeriksaan kesihatan melalui Hello Doktor hari ini.

"}),a)),r),f=(o={},(0,d.A)(o,u.L.Vietnam,h),(0,d.A)(o,u.L.Malaysia,p),o),v=t(24537),b=t(44410),y=t(71572),k=t(29124),x=t(48085),w=t(27317),A=t(43082);function C(){var n=(0,v.A)(["\n display: flex;\n flex-direction: column;\n gap: ",";\n padding-top: ",";\n padding-bottom: ",";\n\n "," {\n padding-top: ",";\n padding-bottom: ",";\n margin-top: ",";\n }\n"]);return C=function(){return n},n}function _(){var n=(0,v.A)(["\n "," {\n &.content-section-title {\n font-size: ",";\n line-height: ",";\n }\n }\n"]);return _=function(){return n},n}function M(){var n=(0,v.A)(["\n display: flex;\n flex-direction: column;\n gap: ",";\n\n strong {\n font-weight: ",";\n color: ",";\n }\n\n ul {\n display: flex;\n flex-direction: column;\n gap: ",";\n li {\n list-style: disc;\n list-style-position: inside;\n }\n }\n\n "," {\n &.content-section-description {\n gap: ",";\n font-size: ",";\n line-height: ",";\n\n ul {\n gap: ",";\n padding-left: ",";\n }\n }\n }\n"]);return M=function(){return n},n}var D=w.Ay.div.withConfig({componentId:"sc-a53ee554-0"})(C(),(0,x.D)(16),(0,x.D)(32),(0,x.D)(40),b.M.mbUp,(0,x.D)(20),(0,x.D)(92),(0,x.D)(24)),Y=(0,w.Ay)(y.T).withConfig({componentId:"sc-a53ee554-1"})(_(),b.M.mbUp,(0,x.D)(20),(0,x.D)(28)),E=(0,w.Ay)(y.T).withConfig({componentId:"sc-a53ee554-2"})(M(),(0,x.D)(10),k.F.semiBold,A.T.gray[1e3],(0,x.D)(6),b.M.mbUp,(0,x.D)(12),(0,x.D)(15),(0,x.D)(24),(0,x.D)(8),(0,x.D)(24)),N=function(n){var e=n.locale,t=n.serviceType,i=n.filter,a=n.className,r=function(n,e,t){var i,a,r;return t?(null===(a=f[n])||void 0===a||null===(r=a[e])||void 0===r?void 0:r[t])||{title:"",description:""}:(null===(i=m[n])||void 0===i?void 0:i[e])||{title:"",description:""}}(e,t,i),o=r.title,c=r.description;return(0,l.FD)(D,{className:s()("content-section",a),children:[(0,l.Y)(Y,{className:"content-section-title",size:"title1",color:"gray1000",weight:"semiBold",dangerouslySetInnerHTML:{__html:o}}),(0,l.Y)(E,{className:"content-section-description",size:"p3",color:"gray1000",dangerouslySetInnerHTML:{__html:c}})]})}},70643:function(n,e,t){"use strict";t.d(e,{q:function(){return w}});var i=t(53513),a=t(63538),r=t(2445),o=t(76020),l=t(34767),c=t(32485),s=t.n(c),d=t(76432),u=t(94094),p=t(71572),h=t(74029),g=t(88491),m=t(91350),f=t(19546),v=function(n){var e,t=n.name,o=n.display_name,l=n.price,c=n.price_discount,s=n.percent_discount,v=n.total_rating,b=n.avg_rating,y=n.organization,k=n.handleClick,x=n.logo,w=n.banner,A=n.currency,C=n.dataTracking,_=(0,g.d)().isMobile,M=x||w||h.__;return(0,r.FD)("div",(0,a.A)((0,i.A)({className:"flex flex-col gap-2 md:gap-4 cursor-pointer md:w-[224px]",onClick:k,onKeyDown:function(n){"Enter"!==n.key&&" "!==n.key||(n.preventDefault(),null===k||void 0===k||k())},role:"button",tabIndex:0,"data-testid":"hospital-service-card"},C),{children:[(0,r.Y)("div",{className:"shrink-0 aspect-square md:aspect-[224/216] w-full",children:(0,r.Y)(d.I,{alt:t,src:M,width:165,height:165,className:"rounded-lg w-full h-full object-contain"})}),(0,r.FD)("div",{className:"flex flex-col gap-2",children:[(0,r.FD)("div",{className:"flex flex-col gap-1",children:[(0,r.Y)(p.T,{size:_?"p3":"title2",fw:600,color:"gray1000",lineClamp:2,children:o||t}),null!=b&&null!=v&&(0,r.FD)("div",{className:"flex items-center gap-1",children:[(0,r.Y)(f.A,{className:"text-yellow600 w-4 h-4"}),(0,r.Y)(p.T,{size:"c1",fw:500,color:"gray700",children:null===(e=Number(b))||void 0===e?void 0:e.toFixed(1)}),null!=v&&(0,r.FD)(p.T,{size:"c1",fw:500,color:"gray700",children:["(",(0,u.a)(v),v>1e3?"+":"",")"]})]})]}),(0,r.Y)(m.L,{price:l,discountPrice:c,percentageDiscount:s,priceUnit:A}),(null===y||void 0===y?void 0:y.name)&&(0,r.FD)("div",{className:"flex gap-2 py-2 items-center",children:[(0,r.Y)(d.I,{alt:null===y||void 0===y?void 0:y.name,src:(null===y||void 0===y?void 0:y.logo)||h.__,width:24,height:24,className:"rounded-[4px] object-cover w-[24px] h-[24px] md:w-[28px] md:h-[28px] "}),(0,r.Y)(p.T,{size:"c1",fw:500,color:"gray1000",lineClamp:3,className:"!leading-4",children:null===y||void 0===y?void 0:y.name})]})]})]}))},b=t(73419),y=t(67722),k=t(34283),x=t(13034),w=function(n){var e=n.crossSellingData,t=n.className,c=(0,b.$)().locale,d=(0,g.d)().isMobile,u=function(n){var e=n.produtc_type,t=n.slug,i=n.listing_id,a=(0,x.oN)(c);return"".concat(a).concat((0,x.WZ)(l.ol[e],c)).concat(t,"-").concat(i)},p=function(n){(0,y.HB)(n)};return!d||d&&e.length<3?(0,r.Y)("div",{"data-testid":"cross-selling-section",className:s()(t,"flex gap-3 md:gap-4 px-4 md:px-6 pb-4 md:pb-6"),children:e.slice(0,3).map((function(n,e){var t=u(n),o=k.Yh.clickService(e+1,t);return(0,r.Y)(v,(0,a.A)((0,i.A)({},n),{dataTracking:o,handleClick:function(){return p(t)}}),n.listing_id)}))}):(0,r.Y)(o.F,{"data-testid":"cross-selling-section",slideGap:12,slideSize:"auto",withControls:!1,withIndicators:!1,align:"start",loop:!1,containScroll:"trimSnaps",sx:{"& .mantine-Carousel-viewport":{paddingRight:"1rem",paddingLeft:"1rem"}},pb:"1rem",className:t,children:e.slice(0,3).map((function(n,e){var t=u(n),l=k.Yh.clickService(e+1,t);return(0,r.Y)(o.F.Slide,{children:(0,r.Y)(v,(0,a.A)((0,i.A)({},n),{dataTracking:l,handleClick:function(){return p(t)}}))},n.listing_id)}))})}},33700:function(n,e,t){"use strict";t.d(e,{b:function(){return D}});var i=t(2445),a=t(73884),r=t(37597),o=t(50970),l=t(35291),c=t(97354),s=t(32485),d=t.n(s),u=t(48403),p=t(6442),h=t(48260),g=t(24632);function m(){var n=(0,p.A)().formatMessage;return(0,i.FD)(h.Rl,{children:[(0,i.Y)(g.A,{width:120,height:120}),(0,i.Y)(o.T,{size:"p2",className:"mt-[16px] text-c",children:n({id:"admin.emptyData",defaultMessage:"Empty data"})})]})}var f=t(24537),v=t(27317);function b(){var n=(0,f.A)(["\n width: 100%;\n & .row {\n border-bottom: 1px solid\n ",";\n cursor: pointer;\n }\n & .row[data-is-active] {\n background-color: ",";\n }\n & .body[data-is-hoverable] {\n > tr:hover {\n background-color: ","70; // reduce color alpha\n }\n }\n\n & td,\n th {\n padding: 8px;\n }\n & th:nth-child(1),\n td:nth-child(1) {\n padding-left: 24px;\n }\n thead {\n th {\n vertical-align: top;\n .has-sort {\n gap: 5px;\n display: flex;\n cursor: pointer;\n }\n }\n }\n"]);return b=function(){return n},n}function y(){var n=(0,f.A)(["\n display: flex;\n align-items: center;\n justify-content: left;\n & > .avatar {\n display: flex;\n & img {\n max-width: 40px;\n max-height: 40px;\n }\n }\n"]);return y=function(){return n},n}function k(){var n=(0,f.A)(["\n padding-left: 16px;\n"]);return k=function(){return n},n}function x(){var n=(0,f.A)(["\n font-size: 13px;\n background: white;\n position: relative;\n z-index: 1;\n border-top: 1px solid ",";\n & > tr {\n border-bottom-color: ",";\n }\n"]);return x=function(){return n},n}var w=v.Ay.div.withConfig({componentId:"sc-bc6c12e4-0"})(b(),(function(n){return n.theme.colors.gray100}),(function(n){return n.theme.colors.blue50}),(function(n){return n.theme.colors.blue50})),A=v.Ay.div.withConfig({componentId:"sc-bc6c12e4-1"})(y()),C=v.Ay.div.withConfig({componentId:"sc-bc6c12e4-2"})(k()),_=(0,v.Ay)(r.c.Head).withConfig({componentId:"sc-bc6c12e4-3"})(x(),(function(n){return n.theme.colors.neutral100}),(function(n){return n.theme.colors.neutral100})),M=t(88576),D=function(n){var e=n.data,t=n.headings,s=n.className,p=n.hasOrderColumn,h=n.moreOptions,g=n.sortParmas,f=n.onRowClicked,v=n.onClickSort,b=n.hasOptions,y=void 0===b||b,k=n.isShowEmpty,x=n.id,D=(0,a.useState)(void 0),Y=D[0],E=D[1],N=function(n){E(n),null===f||void 0===f||f(n)};return(0,i.FD)(w,{className:s,id:x?"table-".concat(x):void 0,children:[(0,i.FD)(r.c.Table,{verticalPadding:"16px",children:[(0,i.FD)(_,{isSticky:!1,children:[p&&(0,i.Y)(r.c.Cell,{isTableHead:!0,children:"No."}),t.map((function(n,e){return(0,i.Y)(r.c.Cell,{isTableHead:!0,style:{paddingTop:15,paddingBottom:15},className:"object"===typeof n?n.className:void 0,textAlign:"object"===typeof n?n.textAlign:void 0,children:(0,i.FD)("div",{className:"".concat("object"===typeof n&&(null===n||void 0===n?void 0:n.sort)?"has-sort":""),onClick:function(){"object"===typeof n&&(null===n||void 0===n?void 0:n.sort)&&function(n){var e="";"asc"===(null===g||void 0===g?void 0:g.sort)&&(e="desc"),"desc"===(null===g||void 0===g?void 0:g.sort)&&(e="asc"),v&&v({sort_by:n,sort:e})}(n.sortKey||"")},children:["object"===typeof n?n.text:n,"object"===typeof n&&(null===n||void 0===n?void 0:n.sort)&&(0,i.Y)(M.A,{})]})},e)})),y&&(0,i.Y)(r.c.Cell,{isTableHead:!0,children:""})]}),(0,i.Y)(r.c.Body,{isHoverable:!0,className:"body",children:e&&e.map((function(n,e){return(0,i.FD)(r.c.Row,{rowId:n[0].value,onRowClicked:function(n){N&&N(n)},isActive:n[0].value===Y||void 0,className:d()("row",[x&&"table-".concat(x,"-row-").concat(e+1)]),children:[p&&(0,i.Y)(r.c.Cell,{children:(0,i.Y)(o.T,{size:"md",type:"bold",style:{fontSize:"14px",fontWeight:400},color:l.w.colors.gray800,children:"".concat(e+1," .")})}),n&&n.map((function(e,t){return"id"!==e.type&&(0,i.FD)(r.c.Cell,{className:e.className,textAlign:"object"===typeof e?e.textAlign:void 0,children:["info"===e.type&&(0,i.FD)(A,{children:[(0,i.Y)(c.A,{avatarImg:(0,i.Y)("img",{src:e.value.imgSrc,width:40,height:40,className:"fit-contain bg-img-500"}),type:"rounded",className:"avatar"}),(0,i.FD)(C,{children:[(0,i.Y)(o.T,{size:"md",type:"bold",className:"w-break-word",style:{fontSize:"14px",fontWeight:600},children:e.value.title}),e.value.caption&&(0,i.Y)(o.T,{size:"base",color:l.w.colors.gray500,style:{fontSize:"14px"},children:e.value.caption})]})]}),("string"===e.type||"number"===e.type)&&(0,i.Y)(o.T,{size:"base",color:l.w.colors.gray500,style:{fontSize:"14px"},children:(0,i.Y)(i.FK,{children:e.value})}),"element"===e.type&&(0,i.Y)("div",{onClick:function(n){e.hasAction&&n.stopPropagation()},children:(0,i.Y)(i.FK,{children:e.value})}),"two_line"===e.type&&(0,i.FD)("div",{children:[(0,i.Y)(o.T,{size:"md",style:{fontSize:"14px"},children:e.value.heading}),(0,i.Y)(o.T,{size:"base",color:l.w.colors.gray500,style:{fontSize:"14px"},children:e.value.text})]}),"options"===e.type&&(0,i.Y)("div",{onClick:function(n){n.stopPropagation()},children:(0,i.Y)(u.rI,{data:e.value.map((function(e){return{name:e.name,icon:e.icon,isDisabled:e.isDisabled,action:function(){(null===e||void 0===e?void 0:e.action)&&e.action(n[0].value,n[t].metaData)}}}))})}),y&&"key"===e.type&&(0,i.Y)("div",{onClick:function(n){n.stopPropagation()},children:(0,i.Y)(u.rI,{data:("function"===typeof h?h(n[t].metaData||n[t].value):h).map((function(i){return{id:i.id,name:i.name,icon:i.icon,isDisabled:i.isDisabled,action:function(){!i.isDisabled&&i.action&&i.action(e.value,n[t].metaData)}}}))})})]},t)}))]},e)}))})]}),k&&(0,i.Y)(m,{})]})}},24572:function(n,e,t){"use strict";t.d(e,{U:function(){return b}});var i=t(858),a=t(53513),r=t(83776),o=t(2445),l=t(73884),c=t(34555),s=t(74029),d=t(59850),u=t(84091),p=t(43184),h=t(73419),g=t(24537);function m(){var n=(0,g.A)(["\n width: 100%;\n margin-right: 5px;\n"]);return m=function(){return n},n}var f=t(27317).Ay.div.withConfig({componentId:"sc-adfcd035-0"})(m()),v={value:"",label:""},b=function(n){var e=n.id,t=n.hospitalId,g=n.style,m=n.className,b=n.value,y=n.placeholder,k=n.errorMessage,x=n.disabled,w=n.params,A=n.handleChange,C=(0,h.$)(),_=(0,l.useState)([]),M=_[0],D=_[1],Y=(0,l.useState)(null),E=Y[0],N=Y[1],S=(0,l.useState)(!1),F=S[0],T=S[1],I=(0,l.useState)(!1),z=I[0],B=I[1],P=(0,l.useMemo)((function(){return{tooltip:{display:"block"}}}),[]);return(0,l.useEffect)((function(){var n=function(){var n=(0,i.A)((function(){var n,e;return(0,r.__generator)(this,(function(i){switch(i.label){case 0:return[4,(0,u.W3)((0,u.er)(d.R.GET_BRANCH_HOSPITAL,(0,a.A)({hospitalId:t||""},w)),"GET")];case 1:return(n=i.sent())&&1===(null===n||void 0===n?void 0:n._status)&&(null===n||void 0===n?void 0:n._data)&&(e=n._data.branches.map((function(n){return{value:n.id.toString(),label:n.name}})),D(e)),[2]}}))}));return function(){return n.apply(this,arguments)}}();t&&n()}),[t]),(0,l.useEffect)((function(){var n=function(){var n=(0,i.A)((function(n){var e,t;return(0,r.__generator)(this,(function(i){switch(i.label){case 0:return[4,(0,u.W3)((0,u.er)(d.R.GET_ADMIN_BRANCH_DETAIL,{branchId:n}),"GET")];case 1:return(e=i.sent())&&1===e._status&&(null===e||void 0===e?void 0:e._data)?(t=(0,s.a6)(e._data.branch),N({label:t.name,value:t.id})):e&&5===e._status&&C.push("/admin/login"),[2]}}))}));return function(e){return n.apply(this,arguments)}}();b&&"string"===typeof b?n(b):N(null)}),[b]),(0,o.Y)(c.m,{label:null===E||void 0===E?void 0:E.label,styles:P,opened:!!E&&z&&!F,children:(0,o.Y)(f,{onMouseOver:function(){B(!0)},onMouseOut:function(){B(!1)},children:(0,o.Y)(p.U1,{style:g,className:m,id:e,placeholder:y||"All branches",value:null!==E&&void 0!==E?E:void 0,onChange:function(n){B(!1),T(!1),n?(N(n),A(n)):(null===E||void 0===E?void 0:E.value)&&A(v)},onFocus:function(){T(!0)},onBlur:function(){T(!1)},options:M,errorMessage:k,hasFilterValueFromOptions:!1,disabled:x})})})}},45638:function(n,e,t){"use strict";t.d(e,{i:function(){return x}});var i=t(858),a=t(53513),r=t(83776),o=t(2445),l=t(73884),c=t(34555),s=t(74029),d=t(59850),u=t(84091),p=t(43184),h=t(88542),g=t(73419),m=t(40959),f=t(2543),v=t(24537);function b(){var n=(0,v.A)(["\n width: 100%;\n margin-right: 5px;\n"]);return b=function(){return n},n}var y=t(27317).Ay.div.withConfig({componentId:"sc-b504765d-0"})(b()),k={value:"",label:""},x=function(n){var e=n.style,t=n.className,v=n.id,b=n.value,x=n.placeholder,w=n.errorMessage,A=n.disabled,C=n.params,_=n.inorgeSiloam,M=void 0!==_&&_,D=n.handleChange,Y=(0,g.$)(),E=(0,g.$)().locale,N=void 0===E?"vi-VN":E,S=m.EmC[N].id,F=(0,l.useState)([]),T=F[0],I=F[1],z=(0,l.useState)(null),B=z[0],P=z[1],O=(0,l.useState)(!1),L=O[0],H=O[1],j=(0,l.useState)(!1),R=j[0],V=j[1],U=(0,h.o)().navigationDropdownControl,G=(0,l.useState)(!1),q=G[0],K=G[1],W=function(){var n=(0,i.A)((function(n){var e,t,i,o;return(0,r.__generator)(this,(function(r){switch(r.label){case 0:return K(!0),[4,(0,u.W3)((0,u.er)(d.R.GET_ADMIN_ORGANIZATION,(0,a.A)({keyword:n||"",countryId:S||""},C)),"GET")];case 1:return t=r.sent(),i=null===t||void 0===t||null===(e=t._data)||void 0===e?void 0:e.hospitals,t&&1===t._status&&i?(o=i.map(s.P5).filter((function(n){return!M||!n.isSiloam})),I(o.map((function(n){return{value:n.id.toString(),label:n.name}})))):t&&5===t._status&&Y.push("/admin/login"),K(!1),[2]}}))}));return function(e){return n.apply(this,arguments)}}(),J=(0,l.useCallback)((0,f.debounce)((function(n){return W(n)}),300),[]),Z=(0,l.useMemo)((function(){return{tooltip:{display:"block"}}}),[]);return(0,l.useEffect)((function(){W()}),[U]),(0,l.useEffect)((function(){var n=function(){var n=(0,i.A)((function(n){var e,t,i,a;return(0,r.__generator)(this,(function(r){switch(r.label){case 0:return[4,(0,u.W3)((0,u.er)(d.R.GET_ADMIN_HOSPITAL_DETAIL,{hospitalId:n}),"GET")];case 1:return t=r.sent(),i=null===t||void 0===t||null===(e=t._data)||void 0===e?void 0:e.hospital,t&&1===t._status&&(null===t||void 0===t?void 0:t._data)?(a=(0,s.P5)(i),P({label:a.name,value:a.id})):t&&5===t._status&&Y.push("/admin/login"),[2]}}))}));return function(e){return n.apply(this,arguments)}}();b&&"string"===typeof b&&n(b)}),[b]),(0,o.Y)(c.m,{label:null===B||void 0===B?void 0:B.label,styles:Z,opened:!!B&&R&&!L,children:(0,o.Y)(y,{onMouseOver:function(){V(!0)},onMouseOut:function(){V(!1)},children:(0,o.Y)(p.U1,{style:e,className:t,id:v,placeholder:x||"",value:null!==B&&void 0!==B?B:void 0,onChange:function(n,e){var t,i;P(n),V(!1),H(!1),console.log("DropdownSearch selected"),t=n,i=e,console.log("option: ",t),console.log("value: ",B),t?(J(""),t.value===(null===B||void 0===B?void 0:B.value)&&t.label===(null===B||void 0===B?void 0:B.label)||(D(t),localStorage.setItem("admin/selectedHospital",JSON.stringify(t)))):(((null===B||void 0===B?void 0:B.value)||(null===B||void 0===B?void 0:B.label))&&D(k),J(i))},onFocus:function(){H(!0)},onBlur:function(){H(!1)},options:T,isLoading:q,errorMessage:w,hasFilterOption:!1,disabled:A})})})}},60140:function(n,e,t){"use strict";t.d(e,{A:function(){return C}});var i=t(2445),a=t(73884),r=t(37597),o=t(71572),l=t(74029),c=t(88491),s=t(24537),d=t(44410),u=t(60304),p=t(35291),h=t(48085),g=t(27317);function m(){var n=(0,s.A)(["\n "," {\n padding: 0 ",";\n }\n\n display: flex;\n flex-direction: column;\n padding: 0 1rem;\n"]);return m=function(){return n},n}function f(){var n=(0,s.A)(["\n & svg {\n color: #212121;\n }\n & path {\n stroke-width: 1.5;\n }\n\n & .title-collapse {\n font-size: "," !important;\n line-height: "," !important;\n }\n\n &:first-child {\n & .box-collapse {\n padding: "," 0 "," !important;\n }\n }\n\n & .box-collapse {\n padding: "," 0 !important;\n }\n"]);return f=function(){return n},n}function v(){var n=(0,s.A)(["\n display: flex;\n flex-direction: column;\n gap: ",";\n padding-bottom: ",";\n"]);return v=function(){return n},n}function b(){var n=(0,s.A)(["\n display: flex;\n flex-direction: column;\n gap: ",";\n"]);return b=function(){return n},n}function y(){var n=(0,s.A)(["\n border-bottom: 1px solid ",";\n"]);return y=function(){return n},n}var k=g.Ay.div.withConfig({componentId:"sc-8bc0360e-0"})(m(),d.M.mbUp,(0,h.D)(24)),x=(0,g.Ay)(u.C).withConfig({componentId:"sc-8bc0360e-1"})(f(),(0,h.D)(15),(0,h.D)(24),(0,h.D)(8),(0,h.D)(18),(0,h.D)(18)),w=g.Ay.div.withConfig({componentId:"sc-8bc0360e-2"})(v(),(0,h.D)(10),(0,h.D)(18)),A=g.Ay.div.withConfig({componentId:"sc-8bc0360e-3"})(b(),(0,h.D)(8)),C=(g.Ay.div.withConfig({componentId:"sc-8bc0360e-4"})(y(),p.w.colors.gray200),function(n){var e=n.data;if(!e||0===e.length)return null;var t=(0,c.d)().isMobile,s=(0,a.useMemo)((function(){var n=e.findIndex((function(n){return n.doctor}));return-1!==n?n:0}),[e]);return(0,i.Y)(k,{children:e.map((function(n,e){return(0,i.Y)(x,{title:n.question,forwardedAs:"h3",className:"border-b border-solid !border-gray200 last:border-b-0 cursor-pointer",defaultOpened:e===s,children:(0,i.Y)("div",{className:"mt-[-2px]",children:(0,i.FD)(A,{children:[(null===n||void 0===n?void 0:n.doctor)&&(0,i.Y)(r.x,{doctorName:n.doctor.name,doctorAvatar:n.doctor.avatar||l.k_}),(0,i.Y)(w,{children:Array.isArray(n.answer)?n.answer.map((function(n,e){return(0,i.Y)(o.T,{size:t?"p3":"p2",weight:"regular",color:"gray1000",children:n},"answer-".concat(e))})):(0,i.Y)(o.T,{size:t?"p3":"p2",weight:"regular",color:"gray1000",children:n.answer})})]})})},n.id||"faq-".concat(e))}))})})},11277:function(n,e,t){"use strict";var i=t(2445),a=t(73884),r=t(35291),o=t(60304),l=t(71572),c=t(74029),s=t(6442),d=t(33843);e.A=function(n){var e=n.onChange,t=n.title,u=n.filterOptions,p=n.className,h=n.activeValue,g=(0,s.A)().formatMessage,m=function(n){return function(t){null===e||void 0===e||e(n);t.target}},f=(0,a.useCallback)((function(n){return Array.isArray(h)?h.includes(n.value):n.value===h}),[h,u]);return(0,i.FD)("div",{className:p,children:[t&&(0,i.Y)(l.T,{size:"title2",weight:"semiBold",color:r.w.colors.gray800,className:"p-4",as:"h3",children:t}),(0,i.Y)(o.D,{gapItem:20,sx:{"& .mantine-Carousel-viewport":{padding:"0 1rem"}},children:u.map((function(n,e){return(0,i.Y)(d.s,{title:g({id:n.title,defaultMessage:n.defaultMessage}),logo:n.logo||c.__,isActive:f(n),onClick:m(n),type:"square"},"filter-type-".concat(e))}))})]})}},74489:function(n,e,t){"use strict";t.d(e,{A:function(){return h}});var i,a=t(2445),r=t(73884),o=t(35291),l=t(71572),c=t(74029),s=t(6442),d=t(78069);function u(){return u=Object.assign?Object.assign.bind():function(n){for(var e=1;e0&&(0,a.Y)(l.T,{size:"p3",weight:"halfBold",color:"gray400",className:"cursor-pointer",onClick:t,children:v({id:"common.reset",defaultMessage:"Reset"})})]}),(0,a.FD)("div",{className:"flex flex-col",children:[w.map((function(n,e){return(0,a.Y)(d.K,{name:v({id:n.title,defaultMessage:n.defaultMessage}),image:n.logo||c.__,isActive:M(n),onClick:_(n)},"filter-type-desktop-".concat(e))})),f>=u.length?null:y===f?(0,a.FD)("div",{onClick:A,className:"cursor-pointer flex items-center gap-2 py-2",children:[(0,a.Y)(l.T,{size:"p2",weight:"halfBold",color:"primaryBase",children:v({id:"common.showAll",defaultMessage:"Show all"})}),(0,a.Y)(p,{})]}):(0,a.Y)("div",{className:"cursor-pointer py-2",children:(0,a.FD)("div",{onClick:C,className:"flex items-center gap-2",children:[(0,a.Y)(l.T,{size:"p2",weight:"halfBold",color:"primaryBase",children:v({id:"common.collapse",defaultMessage:"Collapse"})}),(0,a.Y)(p,{style:{transform:"rotate(180deg)"}})]})}),(0,a.Y)("div",{className:"relative top-10",ref:x})]})]})}},77639:function(n,e,t){"use strict";t.d(e,{b:function(){return M},k:function(){return _}});var i=t(53513),a=t(2445),r=t(73884),o=t(71572),l=t(32485),c=t.n(l),s=t(19475),d=function(n){var e=n.sections,t=n.onChange,i=(0,r.useRef)(null),l=(0,r.useRef)({});return(0,r.useEffect)((function(){if(window.innerWidth<768&&i.current){var n=e.find((function(n){return n.isActive})),t=n?l.current[n.id]:null;if(t){var a=i.current,r=a.getBoundingClientRect().left+a.getBoundingClientRect().width/2,o=t.getBoundingClientRect().left+t.getBoundingClientRect().width/2;a.scrollBy({left:o-r,behavior:"smooth"})}}}),[e]),(0,a.Y)("div",{className:"fixed w-screen bg-neutral50 border-b border-solid border-neutral200",children:(0,a.Y)(s.mc,{isNewContainer:!0,children:(0,a.Y)("div",{ref:i,className:"flex gap-6 overflow-x-auto hide-scroll md:flex-wrap",children:e.map((function(n){return(0,a.Y)("div",{ref:function(e){l.current[n.id]=e},onClick:function(){return t(n.id)},className:c()("py-[14px] flex-shrink-0 cursor-pointer",n.isActive&&"border-b-[2px] border-solid border-primary600"),children:(0,a.Y)("div",{className:"flex items-center gap-6",children:(0,a.Y)(o.T,{size:"c1",fw:500,color:n.isActive?"gray1000":"gray400",children:n.title})})},n.id)}))})})})},u=t(34555),p=t(74029),h=t(95456),g=t(12914),m=t(51009),f=t(73419),v=t(40959),b=t(6442),y=t(28543),k=t(20023),x=function(n){var e=n.price,t=n.priceUnit,i=n.originalPrice,l=n.isDiscount,c=(0,r.useState)(!1),s=c[0],d=c[1],p=(0,b.A)().formatMessage,h=null!==l&&void 0!==l?l:e a:not(:last-child) {\n margin-right: 16px;\n }\n }\n\n .newsletter {\n > p {\n color: ",";\n\n font-size: 14px;\n line-height: 22px;\n\n "," {\n max-width: 380px;\n font-size: 19px;\n line-height: 28.5px;\n }\n }\n }\n\n hr {\n height: 1px;\n border: none;\n margin: 16px 0 16px 0;\n "," {\n margin-top: 0px;\n }\n background: ",";\n opacity: 0.1;\n outline: none;\n }\n\n .hrMobile {\n "," {\n display: none;\n }\n }\n\n .copyright {\n padding-top: 8px;\n\n "," {\n display: flex;\n flex-direction: row-reverse;\n align-items: center;\n justify-content: space-between;\n }\n\n p {\n color: ",";\n }\n\n img {\n max-width: 100px;\n margin-bottom: 16px;\n\n "," {\n margin-bottom: 0px;\n }\n }\n\n &[data-is-amp='true'] {\n img {\n margin-bottom: 0;\n }\n }\n }\n\n .biglinks {\n margin-bottom: 12px;\n }\n\n .bigLink {\n display: block;\n color: ",";\n font-size: 19px;\n font-weight: ",";\n text-decoration: none;\n\n &:not(:last-child) {\n margin-bottom: 12px;\n }\n\n "," {\n display: inline-block;\n width: 50%;\n font-size: 16px;\n }\n }\n\n .mHalf {\n display: inline-block;\n width: 50%;\n padding-right: 24px;\n margin-bottom: 24px;\n vertical-align: top;\n\n p {\n margin-bottom: 12px;\n color: ",";\n }\n\n "," {\n margin-bottom: 8px;\n }\n }\n\n .otherSites {\n p {\n margin-bottom: 12px;\n color: ",";\n }\n\n .flags {\n display: flex;\n margin-bottom: 8px;\n\n div {\n margin-right: 10px;\n }\n }\n }\n\n .link {\n display: block;\n text-decoration: none;\n\n p {\n color: ",";\n font-weight: ",";\n }\n\n &:not(:last-child) {\n margin-bottom: 12px;\n }\n }\n\n .columns {\n "," {\n display: flex;\n flex-direction: row;\n width: 100%;\n\n > div:nth-child(1) {\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n flex-basis: 40%;\n }\n\n > div:nth-child(2) {\n display: flex;\n flex-direction: row;\n flex-wrap: wrap;\n flex-basis: 60%;\n\n > div:nth-child(1) {\n flex-basis: 45%;\n }\n\n > div {\n flex-basis: 27.5%;\n }\n\n > div:last-child() {\n flex-basis: 0;\n }\n }\n }\n }\n\n .signupButton {\n display: none;\n border: none;\n margin-top: 16px;\n outline: none;\n text-transform: uppercase;\n }\n"]);return H=function(){return n},n}var j=t(27317).Ay.footer.withConfig({componentId:"sc-86b1f07-0"})(H(),L.M.mbDown,L.M.mbDown,(function(n){return n.theme.colors.white}),(function(n){return n.theme.colors.neutral500}),L.M.tdUp,L.M.mbDown,(function(n){return n.theme.colors.neutral500}),L.M.tdUp,L.M.tdUp,(function(n){return n.theme.colors.white}),L.M.tdUp,(function(n){return n.theme.colors.white}),(function(n){return n.theme.sizes.fwBold}),L.M.mbDown,(function(n){return n.theme.colors.neutral500}),L.M.mbDown,(function(n){return n.theme.colors.neutral500}),(function(n){return n.theme.colors.white}),(function(n){return n.theme.sizes.fwBold}),L.M.tdUp),R=function(n){var e=n.className,t=n.newsletterText,i=n.facebookLink,a=n.instagramLink,m=n.twitterLink,f=n.linkedinLink,v=n.youtubeLink,b=n.copyrightText,y=n.followusText,k=n.informationLinks,x=n.bigLinks,A=n.hellohealthLinks,C=n.type,_=void 0===C?"main":C,D=n.logoType,Y=void 0===D?"hellohealth":D,E=n.isMobile,S=n.flagLinks,F=(0,P.A)().formatMessage,T=(0,g.useRouter)().locale,z=void 0===T?"vi-VN":T,O=32,L=32;return E&&(O=24,L=24),(0,r.Y)(j,{className:e,style:"mini"===_?{backgroundColor:o.w.colors.neutral50}:{},"next-page-hide":!0,children:(0,r.Y)(p.m,{children:(0,r.Y)("div",{className:"inner","data-type":_,"next-page-hide":"",children:"main"===_?(0,r.FD)(r.FK,{children:[(0,r.Y)(l.L,{className:"footer-logo",type:Y,isLightLogo:!0}),(0,r.FD)("div",{className:"columns",children:[(0,r.FD)("div",{className:"newsletter",children:[(0,r.Y)(c.T,{size:"p1",type:"bold",children:t}),(0,r.Y)(s.B,{className:"signupButton",color:"primary",size:"lg",children:F({id:"footer.signUp"})}),(0,r.FD)("div",{className:"social",children:[y&&(0,r.Y)(c.T,{size:"sm",type:"regular",children:y}),(0,r.FD)("div",{className:"icons",children:[i&&(0,r.Y)("a",{"data-event-category":"Footer","data-event-action":"Follow us - Facebook","data-content-label":i,href:i,children:(0,r.Y)(w,{})}),a&&(0,r.Y)("a",{"data-event-category":"Footer","data-event-action":"Follow us - Instagram","data-content-label":a,href:a,children:(0,r.Y)(M,{})}),f&&(0,r.Y)("a",{href:f,"data-event-category":"Footer","data-event-action":"Follow us - LinkedIn","data-event-label":f,children:(0,r.Y)(N,{})}),m&&(0,r.Y)("a",{"data-event-category":"Footer","data-event-action":"Follow us - Twitter","data-event-label":m,href:m,children:(0,r.Y)(I,{})}),v&&(0,r.Y)("a",{"data-event-category":"Footer","data-event-action":"Follow us - Youtube","data-event-label":v,href:v,children:(0,r.Y)(B,{})})]}),(0,r.Y)("hr",{className:"hrMobile"})]})]}),(0,r.FD)("div",{children:[(0,r.Y)("div",{className:"biglinks",children:x.map((function(n){return n.link&&(0,r.Y)("a",{"data-event-category":"Footer","data-event-action":n.title,"data-event-label":"https://".concat(u.y[z]).concat(n.link),className:"bigLink",href:n.link,children:n.title},n.title)}))}),(0,r.Y)("hr",{className:"hrMobile"}),(0,r.FD)("div",{className:"mHalf",children:[(0,r.Y)(c.T,{type:"regular",size:"sm",className:"linkTitle",children:F({id:"footer.information"})}),k.map((function(n){return n.link&&(0,r.Y)("a",{"data-event-category":"Footer","data-event-action":n.title,"data-event-label":"https://".concat(u.y[z]).concat(n.link),className:"link",href:n.link,children:(0,r.Y)(c.T,{size:"sm",type:"regular",children:n.title})},n.title)}))]}),(0,r.FD)("div",{className:"mHalf",children:[(0,r.Y)(c.T,{type:"regular",size:"sm",className:"linkTitle",children:F({id:"footer.helloHealth"})}),A.map((function(n){return n.link&&(0,r.Y)("a",{"data-event-category":"Footer","data-event-action":n.title,"data-event-label":n.link,className:"link",href:n.link,children:(0,r.Y)(c.T,{size:"sm",type:"regular",children:n.title})},n.title)}))]}),(0,r.FD)(r.FK,{children:[(0,r.Y)("hr",{className:"hrMobile"}),(0,r.FD)("div",{className:"otherSites",children:[(0,r.Y)(c.T,{type:"regular",size:"sm",className:"linkTitle",children:F({id:"footer.otherSites"})}),(0,r.Y)("div",{className:"flags",children:null===S||void 0===S?void 0:S.map((function(n){return!!n.country&&(0,r.Y)("a",{className:"link",href:n.link,"data-event-category":"Footer","data-event-action":"".concat(h.qH0[n.country]),"data-event-label":n.link,children:(0,r.Y)(d.F,{country:n.country,width:L,height:O,rounded:!0})},"flag-".concat(n.country))}))})]})]})]})]}),(0,r.Y)("hr",{}),(0,r.FD)("div",{className:"copyright","data-is-amp":void 0,children:[(0,r.Y)("a",{href:"https://www.dmca.com/Protection/Status.aspx?ID=752026fa-bb3c-450e-b184-b8051d04e5c4&refurl=https://".concat(u.y[z],"/"),children:(0,r.Y)("img",{src:"".concat(h.JpE,"/images/dmca.png"),alt:"DMCA Icon"})}),b&&(0,r.Y)(c.T,{size:"xs",type:"regular",children:b})]})]}):(0,r.Y)(r.FK,{children:(0,r.FD)("div",{className:"columns",children:[(0,r.FD)("div",{className:"mHalf",children:[(0,r.Y)(c.T,{type:"regular",size:"sm",className:"linkTitle",children:F({id:"footer.information"})}),k.map((function(n){return n.link&&(0,r.Y)("a",{className:"link",href:n.link,"data-list-type":"Footer","data-content-type":"Navigate","data-content-topic":"Information","data-content-title":n.title,"data-content-id":"https://".concat(u.y[z]).concat(n.link),children:(0,r.Y)(c.T,{size:"sm",type:"regular",style:{color:o.w.colors.gray800},children:n.title})},n.title)}))]}),(0,r.FD)("div",{className:"mHalf",children:[(0,r.Y)(c.T,{type:"regular",size:"sm",className:"linkTitle",children:F({id:"footer.helloHealth"})}),A.map((function(n){return n.link&&(0,r.Y)("a",{className:"link",href:n.link,"data-list-type":"Footer","data-content-type":"Navigate","data-content-topic":"Hello Health","data-content-title":n.title,"data-content-id":n.link,children:(0,r.Y)(c.T,{size:"sm",type:"regular",style:{color:o.w.colors.gray800},children:n.title})},n.title)}))]}),"mini"!==_&&(0,r.Y)("hr",{className:"hrMobile"}),(0,r.Y)("div",{className:"newsletter",children:(0,r.FD)("div",{className:"social",children:[y&&(0,r.Y)(c.T,{size:"sm",type:"regular",style:{color:o.w.colors.neutral500},children:y}),(0,r.FD)("div",{className:"icons",children:[i&&(0,r.Y)("a",{"data-event-category":"Footer","data-event-action":"Follow us - Facebook","data-content-label":i,href:i,children:(0,r.Y)(w,{})}),a&&(0,r.Y)("a",{"data-event-category":"Footer","data-event-action":"Follow us - Instagram","data-content-label":a,href:a,children:(0,r.Y)(M,{})}),f&&(0,r.Y)("a",{"data-event-category":"Footer","data-event-action":"Follow us - LinkedIn","data-content-label":f,href:f,children:(0,r.Y)(N,{})}),m&&(0,r.Y)("a",{"data-event-category":"Footer","data-event-action":"Follow us - Twitter","data-content-label":m,href:m,children:(0,r.Y)(I,{})})]})]})})]})})})})})}},47760:function(n,e,t){"use strict";t.d(e,{J:function(){return B}});var i,a=t(40568),r=t(2445),o=t(73884),l=t(57077),c=t(35291),s=t(50970),d=t(27516),u=t(84091),p=t(24431),h=t(35094),g=t(73419),m=t(32876),f=t.n(m),v=t(6442),b=t(12495),y=t.n(b),k=t(13034),x=t(10297),w=t(51524),A=t(21336),C=t(93708),_=function(n){var e=n.availableBookings,t=n.style,i=(0,v.A)().formatMessage,a=(0,x.useRouter)().push,o=e.length>0;return(0,r.FD)(w.rO,{style:t,children:[(0,r.Y)(A.h,{iconSize:16,svgIcon:{fill:c.w.colors.gray400},className:"mt-[4px]",children:(0,r.Y)(C.A,{})}),o?(0,r.FD)("div",{className:"flex-[1]",children:[(0,r.Y)(s.T,{size:"p3",color:c.w.colors.gray600,children:i({id:"hospitalSearchCard.availableBookingAtHospital",defaultMessage:"Available for booking"}).concat(":")}),(0,r.Y)("div",{className:"flex gap-[8px]",children:e.map((function(n,e){var t=n.title,i=n.href;return(0,r.FD)(w.xr,{children:[0!==e&&(0,r.Y)("div",{className:"separator"}),(0,r.Y)("div",{onClick:function(){a(i)},children:(0,r.Y)(s.T,{size:"p3",children:t})})]},e)}))})]}):(0,r.Y)(s.T,{size:"p3",color:c.w.colors.gray600,children:i({id:"hospitalSearchCard.notAvailableBookingAtHospital",defaultMessage:"Not available for booking"})})]})},M=t(89252),D=function(n){var e=n.distance;return n.isDisplayDistance?(0,r.Y)(r.FK,{children:Number(e)>=0&&(0,r.FD)(r.FK,{children:[(0,r.Y)("div",{className:"location-separator",children:(0,r.Y)("svg",{width:"4",height:"4",children:(0,r.Y)("circle",{cx:"2",cy:"2",r:"2",fill:"#BFBFBF"})})}),(0,r.Y)(s.T,{size:"p3",color:c.w.colors.gray500,children:"".concat((0,M.m8)(e)," km")})]})}):null},Y=t(89394),E=t(40959),N=t(1135);function S(){return S=Object.assign?Object.assign.bind():function(n){for(var e=1;e0&&void 0!==arguments[0]?arguments[0]:{},i="hospital"===c?"See Hospital Click":"Book Appointment Click";return(0,a.Y)(k.SK,(0,h.A)((0,p.A)({size:"md",color:"primary",onClick:function(n){null===n||void 0===n||n.stopPropagation(),t(e)},className:"button",dataEventCategory:"Care",dataEventAction:i,dataEventLabel:I},n),{children:d("hospital"===c?{id:"hospitalCard.button.view",defaultMessage:"View Hospital"}:{id:"hospitalCard.bookService",defaultMessage:"Book Service"})}))}()]})})},M=t(47760),D=t(95456),Y=t(1247),E=function(n){var e=n.type,t=n.hospitalInfo,i=n.gps,p=n.phone,h=n.orderedListIndex,g=n.onHospitalClick,m=n.onMainActionClick,f=n.onPhoneClick,v=n.children,b=n.onGlobalCardClick,y=n.customRenderHospitalUrl,w=n.goHospitalPage,A=n.hospitalURL,C=n.hospitalStatus,E=(0,c.d)().isMobile,N=(0,s.c)(),S=(0,r.useMemo)((function(){return i&&(0,x.Yf)(i.lat,i.lng,null===t||void 0===t?void 0:t.latitude,null===t||void 0===t?void 0:t.longitude)}),[t,i]),F=(0,d.$)().locale,T=y||(0,l.eP)(t),I="https://".concat(o.y[F]).concat(T),z=["granted","prompt"].includes(N);return(0,a.FD)(k.yO,{onClick:b,children:["service"===e&&v,"hospital"===e&&(0,a.FD)(a.FK,{children:[(0,a.Y)(k.fs,{"data-bottom-border":E&&t.about,children:(0,a.FD)("div",{className:"hospital-image-wrapper",children:[(0,a.Y)(k.eO,{"data-event-category":"Care","data-event-action":"".concat((0,x.ZH)(e)," Click ").concat(h+1),"data-event-label":I,onClick:function(n){n.stopPropagation(),g(t)},children:(0,a.Y)(D.Y,{layout:"responsive",src:t.logo||"".concat(u.JpE,"/images/avatar.jpg"),width:64,height:64,quality:100,objectFit:"contain"})}),(0,a.FD)(k.fp,{children:[(0,a.Y)(M.J,{hospitalInfo:t,gps:i,orderedListIndex:h,type:e,customRenderHospitalUrl:y}),!E&&v]})]})}),E&&v]}),"service"===e&&(0,a.Y)(Y._,{organizationLogo:t.logo,hospitalName:t.name,goHospitalPage:w,isDisplayDistance:z,distance:S,handleMakeAppointment:function(){return g(t)},address:t.address,hospitalURL:A,trackingHospitalProps:{"data-event-category":"Care","data-event-action":"Hospital Click ".concat(h+1),"data-event-label":"https://".concat(o.y[F]).concat(u.JpE).concat((0,l.eP)(t))}}),"hospital"===e&&(0,a.Y)(_,{hospitalInfo:t,phone:p,type:e,hospitalStatus:C,onMainActionClick:m,onPhoneClick:f})]})}},51524:function(n,e,t){"use strict";t.d(e,{$5:function(){return H},Ao:function(){return j},Bm:function(){return B},FD:function(){return P},SK:function(){return z},d4:function(){return S},eO:function(){return L},fp:function(){return E},fs:function(){return Y},mS:function(){return N},ns:function(){return T},rO:function(){return R},sb:function(){return O},xC:function(){return F},xY:function(){return I},xr:function(){return V},yO:function(){return D}});var i=t(24537),a=t(44410),r=t(10333),o=t(27317),l=t(3184);function c(){var n=(0,i.A)(["\n position: relative;\n overflow: hidden;\n width: 100%;\n box-sizing: border-box;\n padding: 16px 16px 0 16px;\n\n border: 1px solid #e4e8ec;\n border-radius: 6px;\n\n box-shadow: 0px 5px 12px rgba(44, 74, 117, 0.08);\n text-decoration: none;\n\n a {\n text-decoration: none;\n }\n\n &:not(:last-child) {\n margin-bottom: 24px;\n }\n"]);return c=function(){return n},n}function s(){var n=(0,i.A)(["\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n padding-bottom: 16px;\n\n &[data-bottom-border='true'] {\n border-bottom: 1px dashed #e4e8ec;\n }\n\n gap: 16px;\n\n .hospital-image-wrapper {\n display: flex;\n flex-direction: row;\n align-items: flex-start;\n justify-content: start;\n gap: 16px;\n\n "," {\n flex-direction: column;\n }\n }\n"]);return s=function(){return n},n}function d(){var n=(0,i.A)(["\n display: flex;\n flex-direction: column;\n align-items: start;\n justify-content: left;\n gap: 16px;\n\n .buttons {\n svg {\n min-width: 16px;\n margin: 4px 6px 6px 0;\n }\n a {\n display: inline-flex;\n flex-direction: row;\n align-items: center;\n justify-content: left;\n }\n }\n\n .hospital-name a {\n color: inherit;\n }\n"]);return d=function(){return n},n}function u(){var n=(0,i.A)(["\n display: flex;\n align-items: center;\n\n margin: 8px 0;\n\n > :last-child {\n flex-shrink: 0;\n }\n\n .location-pin {\n display: flex;\n min-width: 16px;\n align-items: center;\n margin: 0 6px 0 0;\n }\n\n .location-separator {\n display: flex;\n align-items: center;\n margin: 6px;\n }\n\n span {\n color: $gray-500;\n }\n\n .hospital-location {\n display: -webkit-box;\n overflow: hidden;\n width: calc(100% - 22px);\n -webkit-box-orient: vertical;\n -webkit-line-clamp: 1;\n word-break: break-all;\n }\n"]);return u=function(){return n},n}function p(){var n=(0,i.A)(["\n display: flex;\n width: 100%;\n flex-direction: row;\n align-items: center;\n justify-content: left;\n gap: 16px;\n"]);return p=function(){return n},n}function h(){var n=(0,i.A)(["\n display: flex;\n height: 100%;\n flex-direction: column;\n align-items: left;\n justify-content: space-between;\n\n "," {\n justify-content: flex-start;\n align-items: flex-start;\n padding-top: 8px;\n min-width: 100%;\n height: 100%;\n }\n\n .btn-phone-number {\n border: none;\n cursor: copy;\n margin: auto;\n }\n\n .view {\n display: flex;\n width: 100%;\n flex-direction: row;\n align-items: left;\n margin-top: 8px;\n\n > :first-child {\n width: 100%;\n margin-right: 8px;\n }\n }\n\n .hospitalCard__callButton {\n display: flex;\n min-width: var(--button-size);\n max-width: var(--button-size);\n height: var(--button-size);\n align-items: center;\n justify-content: center;\n border: 2px solid ",";\n background: ",";\n border-radius: calc(var(--button-size) / 2);\n --button-size: 40px;\n .callTrigger {\n pointer-events: none;\n }\n }\n"]);return h=function(){return n},n}function g(){var n=(0,i.A)(["\n margin-top: 8px;\n margin-right: 16px;\n "," {\n padding: 16px 0 0 0;\n }\n\n .description {\n white-space: pre-line;\n }\n\n .see-more-button[data-color='ghost'][data-size='sm'] {\n padding-left: 0;\n padding-bottom: 0;\n text-align: left;\n }\n\n .content-description {\n color: ",";\n }\n\n &[data-is-collapsed='true'] {\n p {\n display: -webkit-box;\n overflow: hidden;\n -webkit-box-orient: vertical;\n -webkit-line-clamp: 2;\n }\n }\n"]);return g=function(){return n},n}function m(){var n=(0,i.A)(["\n .svgTrigger {\n pointer-events: none;\n }\n button[data-color='tertiary'][data-size='md'] {\n padding: 9px 15px;\n\n > span {\n white-space: nowrap;\n display: -webkit-box;\n overflow: hidden;\n -webkit-line-clamp: 1;\n }\n }\n"]);return m=function(){return n},n}function f(){var n=(0,i.A)(["\n span {\n white-space: nowrap;\n }\n"]);return f=function(){return n},n}function v(){var n=(0,i.A)(["\n display: -webkit-box;\n overflow: hidden;\n width: 100%;\n -webkit-box-orient: vertical;\n -webkit-line-clamp: 2;\n word-break: break-all;\n"]);return v=function(){return n},n}function b(){var n=(0,i.A)(["\n "," {\n margin-top: 8px;\n }\n "," {\n gap: 6px;\n margin: 8px 0;\n }\n"]);return b=function(){return n},n}function y(){var n=(0,i.A)(["\n width: calc(100% + 32px);\n margin-left: -16px;\n display: flex;\n align-items: center;\n padding: 8px 16px;\n gap: 16px;\n &[data-has-background-color='true'] {\n background-color: ",";\n }\n "," {\n justify-content: space-between;\n }\n"]);return y=function(){return n},n}function k(){var n=(0,i.A)(["\n "," {\n max-width: 420px;\n }\n a {\n color: inherit;\n text-decoration: none;\n }\n"]);return k=function(){return n},n}function x(){var n=(0,i.A)(["\n border-radius: 50%;\n border: 1px solid #f7f9fc;\n object-position: center;\n"]);return x=function(){return n},n}function w(){var n=(0,i.A)(["\n width: 64px;\n height: 64px;\n border-radius: 100%;\n cursor: pointer;\n flex: 0 0 64px;\n\n img {\n border-radius: 100%;\n border: 1px solid #f7f9fc !important;\n }\n"]);return w=function(){return n},n}function A(){var n=(0,i.A)(["\n display: flex;\n gap: 16px;\n margin-left: auto;\n\n "," {\n gap: 8px;\n width: 100%;\n flex-direction: column-reverse;\n > * {\n width: 100%;\n }\n }\n\n "," {\n }\n"]);return A=function(){return n},n}function C(){var n=(0,i.A)(["\n display: flex;\n justify-content: space-between;\n align-items: center;\n"]);return C=function(){return n},n}function _(){var n=(0,i.A)(["\n display: flex;\n gap: 8px;\n"]);return _=function(){return n},n}function M(){var n=(0,i.A)(["\n display: flex;\n align-items: center;\n\n p {\n cursor: pointer;\n color: ",";\n\n &:hover {\n text-decoration: underline;\n }\n }\n\n .separator {\n background-color: ",";\n width: 1px;\n height: 12px;\n margin-right: 8px;\n }\n"]);return M=function(){return n},n}var D=o.Ay.div.withConfig({componentId:"sc-4b85d5f3-0"})(c()),Y=o.Ay.div.withConfig({componentId:"sc-4b85d5f3-1"})(s(),a.M.mbDown),E=o.Ay.div.withConfig({componentId:"sc-4b85d5f3-2"})(d()),N=o.Ay.div.withConfig({componentId:"sc-4b85d5f3-3"})(u()),S=o.Ay.div.withConfig({componentId:"sc-4b85d5f3-4"})(p()),F=o.Ay.div.withConfig({componentId:"sc-4b85d5f3-5"})(h(),a.M.mbDown,(function(n){return n.theme.colors.primaryBase}),(function(n){return n.theme.colors.white})),T=o.Ay.div.withConfig({componentId:"sc-4b85d5f3-6"})(g(),a.M.mbDown,(function(n){return n.theme.colors.gray500})),I=o.Ay.div.withConfig({componentId:"sc-4b85d5f3-7"})(m()),z=(0,o.Ay)(r.B).withConfig({componentId:"sc-4b85d5f3-8"})(f()),B=(o.Ay.span.withConfig({componentId:"sc-4b85d5f3-9"})(v()),(0,o.Ay)(l.k).withConfig({componentId:"sc-4b85d5f3-10"})(b(),a.M.mbUp,a.M.mbDown)),P=o.Ay.div.withConfig({componentId:"sc-4b85d5f3-11"})(y(),(function(n){return n.theme.colors.neutral50}),a.M.mbUp),O=o.Ay.div.withConfig({componentId:"sc-4b85d5f3-12"})(k(),a.M.mbUp),L=(o.Ay.img.withConfig({componentId:"sc-4b85d5f3-13"})(x()),o.Ay.div.withConfig({componentId:"sc-4b85d5f3-14"})(w())),H=o.Ay.div.withConfig({componentId:"sc-4b85d5f3-15"})(A(),a.M.mbDown,a.M.mbUp),j=o.Ay.div.withConfig({componentId:"sc-4b85d5f3-16"})(C()),R=o.Ay.div.withConfig({componentId:"sc-4b85d5f3-17"})(_()),V=o.Ay.div.withConfig({componentId:"sc-4b85d5f3-18"})(M(),(function(n){return n.theme.colors.primaryBase}),(function(n){return n.theme.colors.gray200}))},89252:function(n,e,t){"use strict";t.d(e,{Yf:function(){return o},ZH:function(){return r},ch:function(){return c},m8:function(){return l}});var i=t(17271),a=t.n(i),r=function(n){return"string"!==typeof n?n:n.charAt(0).toUpperCase()+n.slice(1)},o=function(n,e,t,i){if(n&&e&&t&&i)return a()({lat:t,lon:i},{lat:n,lon:e},{exact:!0,unit:"km"})},l=function(n){return Math.round(10*((parseFloat("".concat(n))||0)+1e-5))/10},c=function(n){return"".concat((null===n||void 0===n?void 0:n.slice(0,5))||"","***")}},76013:function(n,e,t){"use strict";t.d(e,{Ym:function(){return Cn},g8:function(){return te},rI:function(){return In},iv:function(){return Mn.i},T5:function(){return _n.T},JC:function(){return h}});t(39608);var i=t(73884),a=t(59850),r=t(84091),o=t(32485),l=t.n(o),c=(t(48403),t(22699),t(62862)),s=t(73419),d=t(40959),u=(t(12215),t(36259));t(14662),t(10297),t(95456),t(98797);var p=t(2445),h=function(){return(0,p.Y)("p",{children:"You don't have permission to access this page. Please contact Po!"})},g=t(858),m=t(38971),f=t(24537),v=t(83776),b=t(50970),y=t(35291),k=t(37597),x=t(57077),w=t(10333),A=t(27516),C=t(79777),_=t(74029),M=t(19475),D=t(21447),Y=t(68519),E=t(66298),N=t(1806),S=t(4736),F=t(94334),T=t(2543),I=t(58638),z=t(72946),B=t(7350),P=t.n(B),O=t(6442),L=t(91266),H=t(27317),j=t(45351),R=t(55550),V=t(68289),U=t(2966),G=t.n(U),q=t(44410),K=t(69831);function W(){var n=(0,f.A)(["\n padding: 13px 0px;\n border: 1px solid ",";\n border-radius: 6px;\n width: 100%;\n padding-left: 16px;\n font-weight: normal;\n text-align: start;\n cursor: pointer;\n position: relative;\n z-index: 3;\n background-color: ",";\n\n &::after {\n content: '';\n width: 15px;\n height: 15px;\n background-repeat: no-repeat;\n background-size: 14px;\n background-image: url('/care/bgSvg/arrow-down.svg');\n background-position: center;\n position: absolute;\n right: 15px;\n top: 18px;\n transition: all 0.5s ease;\n transform: rotate(0);\n pointer-events: none;\n }\n\n &.show {\n border-bottom: 0;\n border-bottom-left-radius: 0;\n border-bottom-right-radius: 0;\n\n &::after {\n transform: rotate(180deg);\n }\n }\n"]);return W=function(){return n},n}function J(){var n=(0,f.A)(["\n div.selectable {\n position: absolute;\n width: 100%;\n border-radius: 6px;\n border: 1px solid ",";\n border-top: 0;\n border-top-left-radius: 0;\n border-top-right-radius: 0;\n top: 48px;\n pointer-events: none;\n transition: all 0.5s ease;\n\n &[data-is-static] {\n .pickerOverlayWrapper {\n width: 100%;\n max-width: 100%;\n }\n }\n\n .pickerOverlay {\n margin-top: 0;\n }\n }\n\n .show + div.selectable {\n pointer-events: auto;\n }\n"]);return J=function(){return n},n}function Z(){var n=(0,f.A)(["\n width: 100%;\n margin-bottom: 16px;\n\n .doctor-tabs {\n display: flex;\n justify-content: space-between;\n\n li {\n padding: 8px 0;\n width: 50%;\n height: max-content;\n display: flex;\n justify-content: center;\n margin: 0;\n\n & > div {\n text-align: center;\n p {\n white-space: unset;\n }\n }\n }\n }\n"]);return Z=function(){return n},n}function Q(){var n=(0,f.A)(["\n position: absolute;\n background-color: ",";\n padding: 2px 4px;\n border-radius: 2px;\n right: 16px;\n top: 6px;\n"]);return Q=function(){return n},n}function $(){var n=(0,f.A)(["\n display: flex;\n justify-content: flex-end;\n align-items: center;\n margin-top: 20px;\n\n &.has-nearest {\n justify-content: space-between;\n }\n\n .nearest-text {\n color: ",";\n font-size: 14px;\n font-weight: 600;\n line-height: 22px;\n }\n\n .today-btn {\n color: ",";\n font-size: 14px;\n font-weight: 600;\n line-height: 22px;\n cursor: pointer;\n }\n"]);return $=function(){return n},n}function X(){var n=(0,f.A)(["\n display: flex;\n flex-direction: column;\n gap: 24px;\n margin-bottom: 24px;\n z-index: 10;\n\n "," {\n margin-bottom: 0;\n }\n\n &.sticky-booking-card-show {\n "," {\n position: fixed;\n top: auto !important;\n bottom: 0;\n bottom: 0;\n right: 16px;\n left: 16px;\n }\n\n .sticky-booking-show {\n margin-bottom: 24px;\n "," {\n background: ",";\n margin-bottom: 0;\n\n .service-name {\n display: none;\n }\n .service-info {\n padding: 8px 16px 16px 16px;\n border-top: 1px solid\n ",";\n background: ",";\n border-radius: 0;\n }\n\n .bookingCard {\n border-top: 1px solid\n ",";\n border-radius: 0;\n }\n }\n }\n }\n "," {\n position: initial;\n\n .ad-container {\n display: none;\n }\n }\n\n "," {\n position: initial;\n\n .ad-container {\n display: none;\n }\n }\n"]);return X=function(){return n},n}function nn(){var n=(0,f.A)(["\n background: ",";\n padding: 12px;\n border-radius: 6px;\n\n &.sticky-booking-hide {\n position: absolute;\n opacity: 0;\n }\n\n &.sticky-booking-show {\n display: block;\n position: sticky;\n top: 68px !important;\n z-index: 10;\n\n "," {\n padding: 0;\n }\n }\n\n "," {\n margin-left: -16px;\n margin-right: -16px;\n border-radius: 0;\n }\n\n .description-price {\n ol {\n li {\n list-style-type: decimal;\n }\n }\n\n ul {\n li {\n list-style-type: disc;\n }\n }\n\n strong {\n font-weight: bold;\n }\n em {\n font-style: italic;\n }\n\n ol,\n ul {\n padding-left: 16px;\n strong {\n font-weight: bold;\n }\n em {\n font-style: italic;\n }\n }\n }\n\n .booking-info-header {\n margin-bottom: 16px;\n\n "," {\n display: none;\n }\n .booking-info-row {\n display: flex;\n gap: 8px;\n\n svg {\n flex: 0 0 20px;\n }\n }\n\n .booking-info-row-text {\n color: ",";\n font-size: 14px;\n font-weight: 400;\n line-height: 22px;\n }\n }\n"]);return nn=function(){return n},n}function en(){var n=(0,f.A)(["\n display: flex;\n flex-direction: column;\n flex: 1;\n position: relative;\n"]);return en=function(){return n},n}var tn=H.Ay.button.withConfig({componentId:"sc-1c7d1da7-0"})(W(),(function(n){return n.theme.colors.neutral100}),(function(n){return n.theme.colors.white})),an=(0,H.Ay)(K.Sp).withConfig({componentId:"sc-1c7d1da7-1"})(J(),(function(n){return n.theme.colors.neutral100})),rn=H.Ay.div.withConfig({componentId:"sc-1c7d1da7-2"})(Z()),on=H.Ay.div.withConfig({componentId:"sc-1c7d1da7-3"})(Q(),(function(n){return n.theme.colors.green500})),ln=H.Ay.div.withConfig({componentId:"sc-1c7d1da7-4"})($(),(function(n){return n.theme.colors.gray800}),(function(n){return n.theme.colors.blue600})),cn=H.Ay.div.withConfig({componentId:"sc-1c7d1da7-5"})(X(),q.M.mbDown,q.M.mbDown,q.M.mbDown,(function(n){return n.theme.colors.white}),(function(n){return n.theme.colors.neutral100}),(function(n){return n.theme.colors.white}),(function(n){return n.theme.colors.neutral100}),q.M.tdDown,q.M.mbDown),sn=H.Ay.div.withConfig({componentId:"sc-1c7d1da7-6"})(nn(),(function(n){return n.theme.colors.blue50}),q.M.mbDown,q.M.mbDown,q.M.mbDown,(function(n){return n.theme.colors.gray800})),dn=H.Ay.div.withConfig({componentId:"sc-1c7d1da7-7"})(en()),un=t(21336),pn=t(20607),hn=t(40224),gn=t(47055),mn=t(40630),fn=t(71584),vn=t(57656),bn=t(80783),yn=t(79951),kn=t(71082),xn=t(38431);function wn(){var n=(0,f.A)(["\n body { \n .woot-widget-bubble.woot-widget--expanded {\n bottom: 24px;\n } \n }\n"]);return wn=function(){return n},n}var An=(0,H.DU)(wn()),Cn=function(n){var e,t=n.className,o=n.serviceInfo,h=n.doctorInfo,f=n.schedules,B=n.isLoading,H=n.chosenDate,U=n.firstDayHasSlot,q=n.isMobile,K=n.isStickyBtn,W=n.rangeDaysPicked,J=n.type,Z=n.isTeleMedicine,Q=void 0!==Z&&Z,$=n.price,X=n.originalPrice,nn=n.priceType,en=n.priceTo,wn=n.validTelemedicine,Cn=n.validOutpatient,_n=n.description,Mn=n.doctorId,Dn=n.serviceId,Yn=n.frisoCampaign,En=void 0!==Yn&&Yn,Nn=n.bufferTime,Sn=void 0===Nn?0:Nn,Fn=n.isSiloam,Tn=void 0!==Fn&&Fn,In=n.address,zn=n.adUnitPath,Bn=n.showAdMid,Pn=n.showAdTop,On=n.vouchers,Ln=n.isValidTanganil,Hn=void 0!==Ln&&Ln,jn=n.onSelectedTimeCallback,Rn=n.onChangeChosenDate,Vn=n.onContinueBooking,Un=n.onChangePicker,Gn=n.setTeleMedicine,qn=function(n){setTimeout((function(){requestAnimationFrame((function(){var e=nt.current;if(e){var t,i;if(q&&n)null===$n||void 0===$n||null===(t=$n.current)||void 0===t||null===(i=t.scrollIntoView)||void 0===i||i.call(t,{behavior:"smooth",block:"nearest",inline:"center"});setTimeout((function(){var n,t=e.querySelector('[data-is-day-active="true"]');null===t||void 0===t||null===(n=t.scrollIntoView)||void 0===n||n.call(t,{behavior:"smooth",block:"nearest",inline:"center"})}),q&&n?700:0)}}))}),200)},Kn=(0,S.useAppContext)().state,Wn=(0,i.useContext)(u.B).pushNotifications,Jn=(0,I.I)({id:"booking-scroll-top-trigger",heightHeader:q?0:65}).isTopSticky,Zn=(0,F.m)({serviceInfo:o,doctorInfo:h}),Qn=(0,z.o)().isValidOnboarding,$n=(0,i.useRef)(null),Xn=(0,i.useRef)(null),ne=(0,i.useRef)(null),ee=(0,i.useState)(!1),te=ee[0],ie=ee[1],ae=(0,i.useState)(void 0),re=ae[0],oe=ae[1],le=(0,O.A)().formatMessage,ce=(0,s.$)(),se=ce.locale,de=ce.asPath,ue=(0,i.useState)(!1),pe=ue[0],he=ue[1],ge=(0,i.useState)(0),me=ge[0],fe=ge[1],ve=(0,i.useState)(!0),be=ve[0],ye=ve[1],ke=(0,i.useState)(!1),xe=ke[0],we=ke[1],Ae=(0,i.useState)(!1),Ce=Ae[0],_e=Ae[1],Me=(0,i.useState)(!1),De=Me[0],Ye=Me[1],Ee=(0,i.useState)(!1),Ne=Ee[0],Se=Ee[1],Fe=(0,i.useState)(!1),Te=Fe[0],Ie=Fe[1],ze=(0,i.useState)(!1),Be=ze[0],Pe=ze[1],Oe=(0,i.useState)(!1),Le=Oe[0],He=Oe[1],je=(0,i.useState)([]),Re=je[0],Ve=je[1],Ue=(0,i.useState)([]),Ge=Ue[0],qe=Ue[1],Ke=(0,i.useState)([]),We=Ke[0],Je=Ke[1],Ze=(0,i.useState)([]),Qe=Ze[0],$e=Ze[1],Xe=(0,i.useRef)(0),nt=(0,i.useRef)(null),et=function(n,e){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:200,a=(0,i.useState)("start"),r=a[0],o=a[1],l="vertical"===e?"scrollTop":"scrollLeft",c="vertical"===e?"scrollHeight":"scrollWidth",s="vertical"===e?"clientHeight":"clientWidth";return(0,i.useEffect)((function(){var e,i=function(){n.current&&(0===n.current[l]?o("start"):n.current[l]+n.current[s]===n.current[c]?o("end"):o("mid"))},a=(0,T.throttle)(i,t);return null===(e=n.current)||void 0===e||e.addEventListener("scroll",a),i(),function(){var e;null===(e=n.current)||void 0===e||e.removeEventListener("scroll",a)}}),[n.current]),{scrollPosition:r,scrollable:n.current?n.current[c]>n.current[s]:null}}(nt,"horizontal"),tt=et.scrollPosition,it=et.scrollable,at=(0,gn.A)(),rt=at.message,ot=at.updateMessage,lt=(0,i.useMemo)((function(){return"doctor"===J?Q?"Telemedicine - Continue Booking Click":"Outpatient - Continue Booking Click":"Continue Booking Click"}),[J,Q]),ct=function(n,e){return!(0,D.A)(n)||(0,Y.A)(new Date("".concat((0,E.A)(n,"yyyy/MM/dd")," ").concat(e)))-(0,Y.A)(new Date)>=0},st=(0,E.A)(new Date,"y-M-dd");(0,c.j)($n,(function(){ie(!1)}));(0,i.useEffect)((function(){!function(){var n,e,t;we(!0);var i=(0,E.A)(H,"yyyy-MM-dd"),a=(0,_.wW)(null===(n=f.find((function(n){return n.workingDay===i})))||void 0===n?void 0:n.workingTimes.morning,[]),r=(0,_.wW)(null===(e=f.find((function(n){return n.workingDay===i})))||void 0===e?void 0:e.workingTimes.afternoon,[]),o=(0,_.wW)(null===(t=f.find((function(n){return n.workingDay===i})))||void 0===t?void 0:t.workingTimes.evening,[]);Ve(a),qe(r),Je(o),a.length>0?($e(a),fe(0)):r.length>0?($e(r),fe(1)):o.length>0?($e(o),fe(2)):($e(a),fe(0)),he(!1),we(!1)}(),qn(Le)}),[H,f,q,Le]);var dt=function(n){var e=n.workingTimes;return(0,_.wW)(e.morning,[]).filter((function(e){return ct(new Date(n.workingDay),e.started)})).length+(0,_.wW)(e.afternoon,[]).filter((function(e){return ct(new Date(n.workingDay),e.started)})).length+(0,_.wW)(e.evening,[]).filter((function(e){return ct(new Date(n.workingDay),e.started)})).length},ut=function(n){if(!n)return!1;var e=new Date("".concat((0,E.A)(H,"yyyy/MM/dd")," ").concat(n.started)),t=new Date,i=d.PcP*Sn;return!(e.getTime()<=t.getTime()+i)},pt=(0,i.useMemo)((function(){var n;return!!Kn.userInfo&&(null===(n=Kn.userInfo.email)||void 0===n?void 0:n.includes("@facebook.com"))}),[Kn.userInfo]),ht=(0,i.useMemo)((function(){return!!Hn||!Tn&&Number($)>0}),[Tn,$,Hn]),gt=(0,i.useMemo)((function(){var n=(0,E.A)(H,"yyyy-MM-dd");return(null===U||void 0===U?void 0:U.getTime())===(0,N.A)(n).getTime()}),[H,U]),mt=(0,i.useMemo)((function(){return f.length?new Date(f[f.length-1].workingDay):new Date}),[f]),ft=(0,i.useMemo)((function(){var n;return Jn&&Xn?(null===(n=Xn.current)||void 0===n?void 0:n.clientHeight)||0:80}),[Jn,Xn]),vt=(0,i.useCallback)(P()((function(n,e,t,i,a){(Math.abs(t-n.clientX)<50||q)&&(i(new Date(e.workingDay)),a(void 0))}),500),[]),bt=function(n){var e=n.smallSpacing,t=n.type;return(0,p.FD)("div",{className:l()(G().noResults,e?G().noResultsSmall:void 0),"data-is-part-of-day":"partOfDay"===t,children:[(0,p.Y)(bn.A,{}),(0,p.Y)(b.T,{size:"sm",color:y.w.colors.gray500,children:le("partOfDay"===t?{id:"bookingCard.chooseAnotherTime",defaultMessage:"Choose another Time of the Day"}:{id:"bookingCard.slot.noResults",defaultMessage:"There is no available booking slot this day"})})]})},yt=f.length<1&&!B,kt=function(){var n=(0,g.A)((function(){var n,e,t,i,o,l;return(0,v.__generator)(this,(function(c){switch(c.label){case 0:return ut(re)?(Pe(!0),!Kn.isLoggedIn&&En?(n=(0,r.sT)("".concat(d.JpE).concat(de),"care_onboarding"),d.dXu?C.u.getState().triggerCareEmailPhoneVerify({source:"care_onboarding"}):window.location.href=n,[2]):re?[3,1]:(he(!1),Pe(!1),q&&(null===(e=nt.current)||void 0===e||e.scrollIntoView({behavior:"smooth",block:"center",inline:"center"})),[3,4])):(Jn&&window.scrollTo({top:0,left:0,behavior:"smooth"}),Wn({message:le({id:"error.invalid.timeSlot",defaultMessage:"The slot is not available. Please select the time greater than {bufferTime}."},{bufferTime:null===re||void 0===re?void 0:re.started}),type:"danger"}),[2]);case 1:return Q&&En?(t="?doctorId=".concat(Mn,"&date=").concat((0,E.A)(H,d.cuM),"&scheduleId=").concat(re.schedule_id,"&telemedicine=").concat(Q||""),i="".concat(de).concat(t),d.dXu?Kn.isLoggedIn&&Qn?[4,(0,r.T7)((0,r.er)(a.R.GET_FRISO_VALIDATION,{booking_type:"doctor",doctor_id:Mn||""}),"GET")]:(C.u.getState().triggerCareEmailPhoneVerify({returnUrl:"".concat(d.JpE).concat(i),source:"care_onboarding"}),Pe(!1),[2]):(o=(0,r.sT)("".concat(d.JpE).concat(i),"care_onboarding"),window.location.href=o,[2])):[3,3];case 2:return l=c.sent(),ot(l._data),Ye(!0),Ie(l._data.valid),Pe(!1),[3,4];case 3:Pe(!1),Vn&&Vn(re),c.label=4;case 4:return[2]}}))}));return function(){return n.apply(this,arguments)}}(),xt=function(){Ye(!1)},wt=function(){Jn&&window.scrollTo({top:0,left:0,behavior:"smooth"}),U&&(Rn(U),oe(void 0),ye(!0),q&&He(!0))},At=function(n){nt.current&&(nt.current.scrollLeft+=n)};(0,i.useEffect)((function(){!Cn&&wn&&Gn&&Gn(!0)}),[]);var Ct=[];Cn&&Ct.push({name:le({id:"doctorDetailPage.appointment.outpatient",defaultMessage:"Outpatient Appointment"})}),wn&&Ct.push({name:le({id:"doctorDetailPage.appointment.telemedicine",defaultMessage:"Telemedicine Appointment"})});var _t;return(0,i.useEffect)((function(){f&&f.length&&ye(0!==dt(f[0]))}),[f]),(0,i.useEffect)((function(){if(!q&&nt.current){var n,e,t=!1,i=nt.current;null===i||void 0===i||i.addEventListener("mousedown",(function(a){Xe.current=a.clientX,t=!0,n=a.pageX-i.offsetLeft,e=i.scrollLeft})),window.addEventListener("mouseup",(function(){t=!1})),null===i||void 0===i||i.addEventListener("mousemove",(function(a){if(t){a.preventDefault();var r=a.pageX-i.offsetLeft-n;Math.abs(r)>100&&(i.scrollLeft=e-r)}}))}}),[nt.current]),(0,i.useEffect)((function(){jn&&jn(re)}),[re]),(0,i.useEffect)((function(){if(U&&!(0,D.A)(new Date(U))){var n=f.find((function(n){return(0,N.A)(n.workingDay).getTime()===U.getTime()}));n&&(Rn(new Date(U)),oe(void 0),ye(0!==dt(n)))}}),[U,f]),(0,i.useEffect)((function(){var n=document.querySelector(".woot-widget--expanded");if(n&&ne)if(Jn&&K&&q){var e,t=null===ne||void 0===ne||null===(e=ne.current)||void 0===e?void 0:e.clientHeight;n&&t&&(n.style.bottom="".concat(t+10,"px"))}else n.style.bottom="24px"}),[Jn,K,q,ne]),(0,p.FD)(p.FK,{children:[(0,p.Y)(cn,{style:{zIndex:20},children:(0,p.FD)(sn,{children:[(0,p.FD)("div",{className:"booking-info-header",children:[(0,p.FD)("div",{className:"mb-[8px]",children:[(0,p.Y)("h3",{className:G().bookingHeading,children:le({id:"hospital.bookAnAppointment",defaultMessage:"Book an appointment"})}),_n&&(0,p.Y)(b.T,{size:"p4",color:y.w.colors.gray800,className:"description-price",children:(0,p.Y)("div",{dangerouslySetInnerHTML:{__html:_n}})})]}),In&&(0,p.FD)("div",{className:"booking-info-row",children:[(0,p.Y)(xn.A,{style:{marginTop:"3px"}}),(0,p.Y)("div",{className:"booking-info-row-text",children:In})]})]}),(0,p.FD)("div",{className:l()(G().oBookingCard,t),children:["doctor"===J&&(0,p.FD)(p.FK,{children:[wn&&(0,p.Y)(on,{children:(0,p.Y)(b.T,{size:"n1",type:"bold",color:"white",children:le({id:"doctorDetailPage.appointment.new",defaultMessage:"New"})})}),2===Ct.length?(0,p.Y)(rn,{children:(0,p.Y)(k.T,{className:"doctor-tabs",initialTab:0,tabContent:Ct,style:{paddingLeft:0},onChange:function(n){Un(new Date),Gn&&Gn(!!n),oe(void 0),nt.current&&(nt.current.scrollLeft=0),Ne&&Se(!1)}})}):(0,p.Y)(x.H,{tag:"h5",className:"my-[8px]",children:null!==(_t=null===Ct||void 0===Ct||null===(e=Ct[0])||void 0===e?void 0:e.name)&&void 0!==_t?_t:le({id:"doctorDetailPage.appointment.outpatient",defaultMessage:"Outpatient Appointment"})})]}),(0,p.FD)("div",{className:G().cardInner,"data-is-shown-picker":te,children:[(0,p.FD)(an,{ref:$n,children:[(0,p.Y)(tn,{className:l()({show:te}),onClick:function(){return ie(!te)},children:W.length>0&&"".concat((0,V.og)(W[0],se)," - ").concat((0,V.og)(W[1],se))}),te&&(0,p.Y)(k.D,{onChange:function(n){var e=(0,E.A)(n,"yyyy-MM-dd"),t=f.find((function(n){return(0,N.A)(n.workingDay).getTime()===(0,N.A)(e).getTime()}));t&&(Rn(new Date(t.workingDay)),oe(void 0),ye(0!==dt(t)),ie(!1))},className:"selectable",customInput:function(){return null},disabledDays:{before:new Date,after:mt},pickedDate:H,modifiers:{start:H,end:H},locale:se,isStatic:!0,alignRight:!1,UnHideOnClickOutside:!0})]}),(0,p.FD)(ln,{className:"".concat(gt?"has-nearest":""),children:[gt&&(0,p.Y)("div",{className:"nearest-text",children:le({id:"bookingCard.nearestAvaliable",defaultMessage:"Nearest availabilities"})}),(0,p.Y)("div",{className:"today-btn",onClick:function(){f&&f.length&&(Rn(new Date(f[0].workingDay)),oe(void 0),ye(0!==dt(f[0])))},children:le({id:"admin.home.filter.today",defaultMessage:"Today"})})]}),yt?bt({smallSpacing:!1,type:"all"}):(0,p.FD)(p.FK,{children:[(0,p.Y)("div",{className:G().dateWrapper,children:(0,p.FD)("div",{className:l()(G().dateBlocks),ref:nt,id:"dateBlocksGroup",children:[!q&&it&&(0,p.Y)("button",{onClick:function(){return At(-282)},className:G().scrollButton,"aria-label":"Scroll back","aria-disabled":"start"===tt,children:(0,p.Y)(un.h,{iconSize:16,svgIcon:{stroke:"start"!==tt?y.w.colors.gray600:y.w.colors.gray200},children:(0,p.Y)(yn.A,{})})}),xe?(0,p.Y)(p.FK,{children:(0,p.Y)(M.xA,{columns:3,columnsDesktop:3,gap:"8px",children:Array(3).fill(null).map((function(n,e){return(0,p.Y)(L.A,{width:86,height:68},e)}))})}):f.map((function(n){return n&&(0,p.FD)("div",{onClick:function(e){vt(e,n,Xe.current,Rn,oe),qn(),ye(0!==dt(n)),fe(0),He(!1)},className:l()(G().dateBlock),"data-is-day-active":n.workingDay===(0,E.A)(H,d.cuM)||void 0,"data-is-telemedicine":Q,role:"button",tabIndex:0,children:[(0,p.Y)(b.T,{size:"n1",color:y.w.colors.gray600,children:st.toString()===n.workingDay?le({id:"admin.home.filter.today",defaultMessage:"Today"}):(0,E.A)((0,N.A)(n.workingDay)," E ",{locale:j.tV[se]})}),(0,p.Y)(b.T,{size:"p3",type:"bold",children:(0,E.A)((0,N.A)(n.workingDay),"d/L",{locale:j.tV[se]})}),(0,p.Y)("span",{"data-has-availability":!!n.workingTimes,children:(0,p.Y)(b.T,{size:"n1",className:0===dt(n)?G().noSlot:G().available,children:dt(n)+" "+"".concat(le({id:"bookingCard.slots",defaultMessage:"slots"}))})})]},n.workingDay)})),!q&&it&&(0,p.Y)("button",{onClick:function(){return At(282)},className:l()(G().scrollButton,G().next),"aria-label":"Scroll forward","aria-disabled":"end"===tt,children:(0,p.Y)(un.h,{iconSize:16,svgIcon:{stroke:"end"!==tt?y.w.colors.gray600:y.w.colors.gray200},children:(0,p.Y)(kn.A,{})})})]})}),(0,p.Y)("div",{className:l()(G().times),children:function(){var n=!!(null===Re||void 0===Re?void 0:Re.length),e=!!(null===Ge||void 0===Ge?void 0:Ge.length),t=!!(null===We||void 0===We?void 0:We.length);if(!B&&!n&&!e&&!t)return bt({smallSpacing:!0,type:"day"});var i=l()(G().timeframes),a=l()(G().time,(0,m.A)({},G().timeError,!pe||void 0));return(0,p.FD)(p.FK,{children:[(0,p.Y)(rn,{children:(0,p.Y)(k.T,{className:"doctor-tabs",initialTab:me,tabContent:[{name:"".concat(le({id:"bookingCard.morning",defaultMessage:"Morning"})," ").concat((null===Re||void 0===Re?void 0:Re.length)?"(".concat(null===Re||void 0===Re?void 0:Re.length,")"):"")},{name:"".concat(le({id:"bookingCard.afternoon",defaultMessage:"Afternoon"})," ").concat((null===Ge||void 0===Ge?void 0:Ge.length)?"(".concat(null===Ge||void 0===Ge?void 0:Ge.length,")"):"")},{name:"".concat(le({id:"bookingCard.evening",defaultMessage:"Evening"})," ").concat((null===We||void 0===We?void 0:We.length)?"(".concat(null===We||void 0===We?void 0:We.length,")"):"")}],onChange:function(n){switch(n){case 0:default:$e(Re),fe(0);break;case 1:$e(Ge),fe(1);break;case 2:$e(We),fe(2)}},style:{paddingLeft:0}})}),(0,p.Y)("div",{className:i,"data-is-no-slot":!B&&!Qe.length,role:"group",children:B?Array(6).fill(null).map((function(n,e){return(0,p.Y)(L.A,{height:36},e)})):Qe.length?null===Qe||void 0===Qe?void 0:Qe.map((function(n,e){return(0,p.FD)("div",{className:a,onClick:function(){ut(n)?(oe(n),he(!0),re||Ne||!pt||(_e(!0),Se(!0))):Wn({message:le({id:"error.invalid.timeSlot",defaultMessage:"The slot is not available. Please select the time greater than {bufferTime}."},{bufferTime:n.started}),type:"danger"})},"data-is-time-active":re===n||void 0,"data-is-telemedicine":Q,"aria-pressed":re===n||void 0,role:"button",tabIndex:0,onKeyPress:function(e){return function(n,e){"Enter"===n&&(oe(e),he(!0))}(e.key,n)},children:[n.started," - ",n.ended]},e)})):bt({smallSpacing:!1,type:"partOfDay"})})]})}()})]})]}),(0,p.FD)("div",{className:l()(G().buttonWrapper),children:[K&&(0,p.Y)(An,{}),(0,p.Y)(R.A,{vouchers:On,allowPaymentMethods:Zn}),ht&&(0,p.Y)(fn.S,{price:$,priceType:nn,priceTo:en,originalPrice:X,frisoCampaign:En,className:"mb-[8px] !mt-[0px]"}),be?(0,p.Y)(w.B,{size:"md",color:"primary",className:l()(G().button,"button-continue-booking"),onClick:kt,dataEventCategory:"Care",dataEventAction:lt,dataEventLabel:"https://".concat(A.y[se]).concat(d.JpE).concat(de),isLoading:Be,children:le({id:"bookingCard.continueBooking",defaultMessage:"Continue Booking"})}):(0,p.Y)(w.B,{size:"md",color:"primary",className:l()(G().button,"button-continue-booking"),onClick:wt,dataEventCategory:"Care",dataEventAction:"Soonest Available Schedule Click",dataEventLabel:"https://".concat(A.y[se]).concat(d.JpE).concat(de),children:le({id:"bookingCard.seeNearest",defaultMessage:"See nearest availabilities"})})]}),(0,p.Y)(mn.A,{open:Ce,onContinueBooking:function(){_e(!1)},handleOnClose:function(){return _e(!1)}}),(0,p.Y)(hn.A,{open:De,message:rt,handleOnClose:xt,handleOnOk:function(){Te&&re?Vn&&Vn(re):xt()}})]}),(0,p.Y)("div",{id:"booking-scroll-top-trigger",style:{height:"1px",width:"100%"}})]})}),(0,p.Y)(cn,{className:"sticky-booking-card flex-[1] ".concat(Jn?"sticky-booking-card-show":""),children:(0,p.FD)(dn,{children:[(0,p.FD)(sn,{className:"".concat(Jn&&(K&&q||!q)?"sticky-booking-show":"sticky-booking-hide"," "),ref:Xn,children:[(0,p.Y)("div",{className:"booking-info-header",children:(0,p.Y)("div",{className:"mb-[8px]",children:(0,p.Y)("h3",{className:G().bookingHeading,children:le({id:"hospital.bookAnAppointment",defaultMessage:"Book an appointment"})})})}),(0,p.FD)("div",{className:l()(G().oBookingCard,t),ref:ne,children:[(0,p.Y)(R.A,{vouchers:On,allowPaymentMethods:Zn,className:"!mb-[8px]"}),(0,p.FD)("div",{children:[ht&&(0,p.Y)(fn.S,{price:$,priceType:nn,priceTo:en,frisoCampaign:En,originalPrice:X,className:"mb-[8px] !mt-[0px]"}),be?(0,p.Y)(w.B,{size:"md",color:"primary",className:l()(G().button,"button-continue-booking !w-[100%] !m-[0px]"),onClick:kt,dataEventCategory:"Care",dataEventAction:lt,dataEventLabel:"https://".concat(A.y[se]).concat(d.JpE).concat(de),isLoading:Be,children:le({id:"bookingCard.continueBooking",defaultMessage:"Continue Booking"})}):(0,p.Y)(w.B,{size:"md",color:"primary",className:l()(G().button,"button-continue-booking !w-[100%] !m-[0px]"),onClick:wt,dataEventCategory:"Care",dataEventAction:"Soonest Available Schedule Click",dataEventLabel:"https://".concat(A.y[se]).concat(d.JpE).concat(de),children:le({id:"bookingCard.seeNearest",defaultMessage:"See nearest availabilities"})})]})]})]}),!q&&(0,p.FD)(p.FK,{children:[Pn&&(0,p.Y)(vn.U7,{className:"!mt-[0px] !mb-[0px]",style:{flex:2.5,marginBottom:24},children:(0,p.Y)(pn.z,{className:"ad-container",adUnitPath:zn||"",size:[[300,250],[300,600]],divId:"ad-service-desktop-top-banner",pos:["TopBanner"],adDefaultSize:[300,250],style:{top:ft+92,position:Jn?"sticky":"initial"},customTargetings:{Service_ID:Dn?[Dn]:"",Doctor_ID:Mn?[Mn]:""}})}),Bn&&(0,p.Y)(vn.U7,{children:(0,p.Y)(pn.z,{className:"ad-container",adUnitPath:zn||"",size:[300,250],divId:"ad-service-desktop-mid-banner1",pos:["MidBanner1"],adDefaultSize:[300,250],style:{top:ft+92,position:Jn?"sticky":"initial"},customTargetings:{Service_ID:Dn?[Dn]:"",Doctor_ID:Mn?[Mn]:""}})})]})]})})]})},_n=t(10699),Mn=t(45638);function Dn(){var n=(0,f.A)(["\n width: 100%;\n padding: 1rem;\n background: white;\n border-radius: 6px;\n box-shadow: 0px 5px 12px rgba(40, 74, 117, 0.08);\n"]);return Dn=function(){return n},n}function Yn(){var n=(0,f.A)(["\n border-width: 1px 0;\n border-style: dashed;\n border-color: #e4e8ec;\n > * > [data-tag='h4'] {\n color: var(--secondaryBase);\n font-size: 11px;\n text-transform: uppercase;\n }\n\n .hospitalCard__services {\n display: grid;\n margin: 8px 0;\n grid-gap: 8px;\n grid-template-columns: 1fr 1fr;\n\n > * {\n font-size: 14px;\n }\n\n > :nth-child(odd) {\n color: var(--gray500);\n }\n\n > :nth-child(even) {\n font-weight: var(--fwSemiBold);\n text-align: end;\n }\n }\n"]);return Yn=function(){return n},n}function En(){var n=(0,f.A)(["\n display: flex;\n padding-bottom: 16px;\n\n .hospitalCard__row {\n display: flex;\n align-items: center;\n }\n\n .icon-center {\n margin: 0 6px;\n }\n\n .icon-start {\n margin-right: 11px;\n }\n\n > img {\n width: 72px;\n height: 72px;\n border: 1px solid ",";\n margin-right: 8px;\n border-radius: 6px;\n object-fit: contain;\n }\n\n > figcaption {\n > * + * {\n margin-top: 8px;\n }\n }\n"]);return En=function(){return n},n}function Nn(){var n=(0,f.A)(["\n --button-size: 40px;\n display: grid;\n margin-top: 16px;\n grid-gap: 12px;\n grid-template-columns: auto var(--button-size);\n\n .hospitalCard__callButton {\n display: flex;\n width: var(--button-size);\n height: var(--button-size);\n align-items: center;\n justify-content: center;\n background: var(--primaryBase);\n border-radius: calc(var(--button-size) / 2);\n }\n\n .hospitalCard__book {\n font-size: 14px;\n }\n"]);return Nn=function(){return n},n}H.Ay.article.withConfig({componentId:"sc-dda43ea1-0"})(Dn()),H.Ay.div.withConfig({componentId:"sc-dda43ea1-1"})(Yn()),H.Ay.figure.withConfig({componentId:"sc-dda43ea1-2"})(En(),(function(n){return n.theme.colors.neutral100})),H.Ay.footer.withConfig({componentId:"sc-dda43ea1-3"})(Nn());var Sn=t(7283),Fn=t(34763),Tn=t.n(Fn),In=function(n){var e,t=n.className,i=n.isShowing,a=n.onClose,r=n.onAccept,o=n.onDeny,c=n.title,s=n.caption,d=n.closeIcon,u=n.isLoading,h=n.acceptButtonTitle,g=n.denyButtonTittle,f=n.errorMessages,v=n.switchCTA,k=n.justifyContent,A=void 0===k?"between":k,C=n.buttonsProps,_=n.hideGroupBtn,M=void 0!==_&&_,D=n.isHeaderText,Y=void 0===D||D;return(0,p.Y)(Sn.M,{type:"confirm",isOpen:i,onClose:a,className:t,closeIcon:d,children:(0,p.FD)("div",{className:Tn().contentPopup,children:[Y&&(0,p.Y)(x.H,{tag:"h4",className:Tn().content,children:c||"Are you sure to delete this patients info"}),(0,p.Y)(b.T,{size:"base",className:Tn().content,color:y.w.colors.red500,children:null===f||void 0===f?void 0:f.content}),(0,p.Y)(b.T,{size:"base",className:Tn().content,children:s||"We cannot restore it after it has been already declared"}),!M&&(0,p.FD)("div",{className:l()(Tn().buttonRow,(e={},(0,m.A)(e,Tn().buttonRowCenter,"center"===A),(0,m.A)(e,Tn().buttonRowBetween,"between"===A),(0,m.A)(e,Tn().reverseButton,null===C||void 0===C?void 0:C.reverseButton),(0,m.A)(e,Tn().buttonFillWidth,null===C||void 0===C?void 0:C.buttonFillWidth),e)),children:[(0,p.Y)(w.B,{isLoading:u,color:v?"secondary":"primary",size:(null===C||void 0===C?void 0:C.buttonSize)||"sm",onClick:r,children:h||"Yes, Delete"}),(0,p.Y)(w.B,{isDisabled:!v&&u,isLoading:!!v&&u,color:v?"primary":"secondary",size:(null===C||void 0===C?void 0:C.buttonSize)||"sm",onClick:o,children:g||"No, keep it"})]})]})})},zn=(t(19956),t(53513)),Bn=t(63538),Pn=t(76432),On=t(71572),Ln=t(73827),Hn=t(41145);function jn(n,e){var t=e.limit,a=void 0===t?10:t,r=e.delay,o=void 0===r?300:r,l=(0,i.useState)(1),c=l[0],s=l[1],d=(0,i.useState)(!1),u=d[0],p=d[1],h=n.length;(0,i.useEffect)((function(){s(1)}),[n]);var g=n.slice(0,a*c);return{total:h,data:g,currentPage:c,handleMore:function(){p(!0),setTimeout((function(){s((function(n){return n+1})),p(!1)}),o)},isMore:g.length0&&C.current&&(C.current.style.caretColor="transparent")},i=function(){setTimeout((function(){C.current&&(C.current.style.caretColor="auto")}),300)};return document.addEventListener("touchstart",e),document.addEventListener("touchmove",t),document.addEventListener("touchend",i),function(){document.removeEventListener("touchstart",e),document.removeEventListener("touchmove",t),document.removeEventListener("touchend",i)}}}),[]);var Y=function(n){return function(){g(n),m()}},F=(0,o.useMemo)((function(){return c<=0?0:window.innerHeight-c}),[c]);return(0,r.FD)(H,{children:[(0,r.FD)("div",{className:"flex items-center px-1.5 py-3",children:[(0,r.Y)(Q.A,{onClick:f(d.US.PROMPT),className:"w-5 h-5 text-[#212121] shrink-0"}),(0,r.Y)("div",{className:"text-[#000000] font-semibold leading-6 text-[15px] flex-1 text-center",children:p({id:"common.popup.selectLocation",defaultMessage:"Select Location"})}),(0,r.Y)("span",{className:"w-5 shrink-0"})]}),(0,r.Y)(L,{ref:C,className:"mb-4",size:"lg",value:y,onChange:k,type:"text",placeholder:p({id:"vaccination.searchLocation.placeholder",defaultMessage:"Search location"}),icon:(0,r.Y)(I.A,{className:"w-5 h-5 text-neutral600"})}),(0,r.FD)("div",{className:E()("content-list md:h-80 md:!max-h-80 md:!min-h-0",{hidden:!w.length}),style:F>0?{paddingBottom:"".concat(F+38,"px")}:{},children:[b.popular.length>0&&(0,r.FD)("div",{children:[(0,r.Y)("div",{className:"py-2 text-xs leading-4 font-semibold uppercase text-gray400",children:p({id:"common.popular",defaultMessage:"Popular"})}),(0,r.Y)("div",{className:"",children:b.popular.map((function(n){return(0,o.createElement)(en,(0,a.A)((0,i.A)({},u.selectLocationCity),{onClick:Y(n),key:n.id,label:n.name}))}))})]}),b.other.length>0&&(0,r.FD)("div",{children:[(0,r.Y)("div",{className:"py-2 text-xs leading-4 font-semibold uppercase text-gray400",children:p({id:"common.other",defaultMessage:"Other"})}),(0,r.Y)("div",{children:b.other.map((function(n){return(0,r.Y)(en,{onClick:Y(n),label:n.name},n.id)}))})]})]}),A&&(0,r.FD)("div",{className:"h-screen md:h-80",children:[" ",(0,r.Y)("div",{className:"flex flex-col items-center justify-around gap-4",children:Array.from({length:8}).map((function(n,e){return(0,r.Y)(D.E,{sx:{height:"1rem",width:"100%"}},"skeleton_location_".concat(e))}))})]}),!w.length&&!A&&(0,r.Y)("div",{className:"flex place-content-center",children:(0,r.Y)("div",{className:"flex pb-3 content-list md:h-80 md:!max-h-80 md:!min-h-0",children:(0,r.Y)(N.P.div,{layout:"size",animate:{height:c0&&(n+=m.healthCondition.length),m.gender&&n++,m.hospital_ids.length>0&&(n+=m.hospital_ids.length),m.productType.length>0&&(n+=m.productType.length),n},S=(0,s.useCallback)((function(){w((function(n){return(0,l.A)((0,o.A)({},n),{isApplying:!0})}))}),[]),F=(0,s.useCallback)((function(){w((function(n){return(0,l.A)((0,o.A)({},n),{isApplying:!1})}))}),[]);(0,s.useEffect)((function(){w((function(n){return n.prevLoading&&!u&&y(!0),(0,l.A)((0,o.A)({},n),{prevLoading:u})}))}),[u]);var T=(0,s.useMemo)((function(){return{filterState:m,updateFilterState:A,resetFilters:_,resetCategory:M,applyFilters:D,getActiveFilterCount:N,showToast:b,hideToast:Y,showToastMessage:E,loading:u,loadingState:x,startApplying:S,resetApplyingState:F,resetCurrentFilterState:C}}),[m,b,Y,E,u,x,S,F,C]);return(0,c.Y)(p.Provider,{value:T,children:e})}},28901:function(n,e,t){"use strict";t.d(e,{s:function(){return sn}});var i,a,r=t(53513),o=t(2445),l=t(73884),c=t(35291),s=t(37597),d=t(71572),u=t(3328),p=t(6442),h=t(87783),g=t(25403),m=t(32485),f=t.n(m),v=function(n){var e=n.onReset,t=n.onApply,i=n.activeFilterCount,a=n.loading,r=void 0!==a&&a,l=(0,p.A)().formatMessage,s=0===i;return(0,o.Y)("div",{className:f()("bg-white border-t border-solid border-neutral200 px-4 py-2 pb-safe"),children:(0,o.FD)("div",{className:"flex gap-4 mb-2",children:[(0,o.Y)(g.B,{id:"reset-all-button","data-testid":"reset-all-button-filter-modal",variant:"secondary",onClick:e,className:"flex-1",sx:{height:"48px","&#reset-all-button":{backgroundColor:c.w.colors.white,border:"1px solid ".concat(c.w.colors.neutral200)}},disabled:s,children:(0,o.Y)(d.T,{size:"p2",weight:"halfBold",color:s?c.w.colors.neutral200:c.w.colors.gray700,children:l({id:"common.resetAll",defaultMessage:"Reset all"})})}),(0,o.Y)(g.B,{"data-testid":"show-results-button-filter-modal",onClick:t,className:"flex-[2.6]",loading:r,sx:{height:"48px"},children:!r&&(0,o.Y)(d.T,{size:"p2",weight:"halfBold",color:"white",children:l({id:"common.showResults",defaultMessage:"Show {count} Results"},{count:void 0})})})]})})},b=function(n){var e=n.title,t=n.activeCount,i=void 0===t?0:t,a=n.onReset,r=(0,p.A)().formatMessage,l=i>0;return(0,o.FD)("div",{className:"flex items-center justify-between py-3",children:[(0,o.FD)("div",{className:"flex items-center gap-2 flex-1",children:[(0,o.Y)(d.T,{size:"title2",weight:"semiBold",color:c.w.colors.gray800,children:r({id:e.id,defaultMessage:e.defaultMessage})}),l&&(0,o.Y)("div",{className:"w-4 h-4 bg-primaryBase rounded-full flex items-center justify-center shrink-0",children:(0,o.Y)(d.T,{size:"c2",weight:"semiBold",color:"white",className:"text-[10px]",children:i})})]}),l&&a&&(0,o.Y)("button",{onClick:a,className:"text-primaryBase w-auto",children:(0,o.Y)(d.T,{size:"p3",weight:"halfBold",color:c.w.colors.primaryBase,children:r({id:"common.reset",defaultMessage:"Reset"})})})]})},y=function(n){var e=n.title,t=n.activeCount,i=void 0===t?0:t,a=n.onReset,r=n.children;return(0,o.FD)("div",{className:"px-4",children:[(0,o.Y)(b,{title:e,activeCount:i,onReset:a}),r]})},k=function(n){var e=n.isActive,t=n.onClick,i=n.icon,a=n.title,r=n.count,l=void 0===r?0:r,s=(0,p.A)().formatMessage,u=l>0;return(0,o.FD)("button",{onClick:t,className:"flex flex-col items-center justify-center gap-2 px-[5px] py-4 relative transition-colors ".concat(e?'bg-blue50 relative after:content-[""] after:absolute after:right-0 after:top-0 after:bottom-0 after:w-0.5 after:bg-primaryBase':""),children:[(0,o.FD)("div",{className:"relative",children:[(0,o.Y)(i,{className:f()("w-5 h-5 text-gray700",{"text-primaryBase":e})}),u&&(0,o.Y)("div",{className:"after:content-[''] after:absolute after:-right-1 after:bottom-0 after:w-1 after:h-1 after:bg-green600 after:rounded-full"})]}),(0,o.Y)(d.T,{size:"c1",weight:"halfBold",color:e?c.w.colors.primaryBase:c.w.colors.gray1000,className:"text-center leading-tight",children:s({id:a.id,defaultMessage:a.defaultMessage})})]})},x=t(90950),w=t(2787),A=t(40959);function C(){return C=Object.assign?Object.assign.bind():function(n){for(var e=1;e=3?t:""}),"GET",{headers:{accept:"application/json, text/plain, version=2.0.0"}})]:[2]}))}));return function(e,t,i){return n.apply(this,arguments)}}(),P=function(){var n=(0,o.A)((function(n,e,t){return(0,s.__generator)(this,(function(i){return[2,(0,y.px)((0,y.er)(b.R.GET_DOCTOR_SCHEDULE,{id:String((null===t||void 0===t?void 0:t.value)||(null===t||void 0===t?void 0:t.id)),startDate:Nn(n),endDate:Nn(e)}),"GET")]}))}));return function(e,t,i){return n.apply(this,arguments)}}(),O=function(){var n=(0,o.A)((function(n,e){return(0,s.__generator)(this,(function(t){return[2,(0,y.px)((0,y.er)(b.R.GET_DOCTOR_SCHEDULE,{id:String((null===e||void 0===e?void 0:e.value)||(null===e||void 0===e?void 0:e.id)),startDate:Nn(n)}),"GET")]}))}));return function(e,t){return n.apply(this,arguments)}}(),L=function(){var n=(0,o.A)((function(n,e,t){return(0,s.__generator)(this,(function(i){return[2,(0,y.px)((0,y.er)(b.R.GET_TELEMEDICINE_DOCTOR_SCHEDULE,{id:String((null===t||void 0===t?void 0:t.value)||(null===t||void 0===t?void 0:t.id)),startDate:Nn(n),endDate:Nn(e)}),"GET")]}))}));return function(e,t,i){return n.apply(this,arguments)}}(),H=function(){var n=(0,o.A)((function(n,e){return(0,s.__generator)(this,(function(t){return[2,(0,y.px)((0,y.er)(b.R.GET_TELEMEDICINE_DOCTOR_SCHEDULE,{id:String((null===e||void 0===e?void 0:e.value)||(null===e||void 0===e?void 0:e.id)),startDate:Nn(n)}),"GET")]}))}));return function(e,t){return n.apply(this,arguments)}}(),j=t(6442),R=t(79020),V=function(n){var e=n.name,t=n.price,i=n.priceTo,r=n.priceType,o=n.isDetail,l=n.isShowPrice,c=void 0===l||l,s=(0,j.A)().formatMessage,u=(0,D.useRouter)().locale,g=void 0===u?"en-PH":u,m=(0,d.useMemo)((function(){return r===S.vne.RANGE?s({id:"admin.doctor.servicePrice.range",defaultMessage:"Range"}):r===S.vne.STARTING?s({id:"admin.doctor.servicePrice.start",defaultMessage:"Starting from"}):s({id:"admin.doctor.servicePrice.fixed",defaultMessage:"Fixed Price"})}),[r]);return(0,a.FD)(R.d2,{children:[(0,a.Y)(p.T,{size:"sm",type:"regular",className:o?"option-name":"",children:e}),c&&(0,a.FD)(R.Tm,{children:[(0,a.Y)("div",{className:"icon-price hospital-card-icon",children:(0,a.Y)("img",{src:"".concat(S.JpE,"/svg/price-green.svg"),alt:"Price"})}),(0,a.FD)("div",{className:"text-price",children:[(0,a.FD)(p.T,{size:"c2",color:h.w.colors.green600,children:[m,"\xa0"]}),(0,a.FD)(p.T,{size:"c2",color:h.w.colors.green600,children:[(0,y.UN)(parseInt(t),g),i&&" - ".concat((0,y.UN)(parseInt(i),g))]})]})]})]})},U=function(n){var e=n.date,t=n.startDate,r=n.endDate,c=n.isReset,u=n.isTeleMedicine,p=n.selectedSpecialty,h=n.selectedHospital,g=n.selectedDoctor,m=n.searchDoctorKeyword,f=(0,d.useState)(!1),v=f[0],b=f[1],y=(0,d.useState)([]),x=y[0],w=y[1],A=(0,d.useMemo)((function(){return x.map((function(n){return(0,l.A)((0,i.A)({},n),{value:n.id,label:(0,a.Y)(V,{name:n.name,price:n.price,priceTo:n.priceTo||"",priceType:n.priceType,priceUnit:n.priceUnit,isShowPrice:!(null===n||void 0===n?void 0:n.isSiloam)&&Number(n.price)>0}),icon:(0,a.Y)("img",{src:n.avatar,alt:n.slug})})}))}),[x]),C=(0,d.useMemo)((function(){return x.find((function(n){return n.id===(null===g||void 0===g?void 0:g.value)}))}),[x,g]),_=function(n){var e=n.date,t=n.startDate,a=n.endDate,r=n.isReset,c=n.isTeleMedicine,u=n.selectedDoctor,p=n.selectedSpecialty,h=n.doctorList,g=n.bufferTime,m=void 0===g?0:g,f=(0,d.useState)(!1),v=f[0],b=f[1],y=(0,d.useState)(null),x=y[0],w=y[1],A=(0,d.useState)(null),C=A[0],_=A[1],M=(0,d.useMemo)((function(){return(null===C||void 0===C?void 0:C.length)?(0,k.A)({start:new Date,end:(0,z.A)(new Date(C[0].workingDay),1)}).map((function(n){var e,t=Nn(n),i=(null===(e=null===C||void 0===C?void 0:C.find((function(n){return n.workingDay===t})))||void 0===e?void 0:e.slots)||0;if(!i||0===i)return n})):[]}),[C]);(0,d.useEffect)((function(){w(null)}),[null===p||void 0===p?void 0:p.id]);var D=(0,d.useCallback)((function(){w(null)}),[]),Y=(0,d.useCallback)((function(n){b(n)}),[]),E=(0,d.useMemo)((function(){var n;return null===(n=null===x||void 0===x?void 0:x.find((function(n){return n.workingDay===Nn(e)})))||void 0===n?void 0:n.workingTimes}),[x,e]);return(0,d.useEffect)((function(){if(r)w(null);else if(null===u||void 0===u?void 0:u.value){var n=c?[L(t,a,u),H(t,u)]:[P(t,a,u),O(t,u)];!function(){e.apply(this,arguments)}()}else D();function e(){return e=(0,o.A)((function(){var e,t,a,r,o,c;return(0,s.__generator)(this,(function(s){switch(s.label){case 0:return b(!0),[4,Promise.all(n)];case 1:return t=T.A.apply(void 0,[s.sent(),2]),a=t[0],(null===(r=t[1])||void 0===r?void 0:r._data)&&_(r._data.schedules?(0,I.GE)(r._data.schedules):null),o=(null===a||void 0===a||null===(e=a._data)||void 0===e?void 0:e.schedules)?(0,I.GE)(a._data.schedules):null,c=o?o.map((function(n){if(!m)return n;var e=n.workingDay,t=n.workingTimes,a={},r=0;return Object.keys(t).forEach((function(n){var i=t[n],o=(null===i||void 0===i?void 0:i.filter((function(n){var t=new Date("".concat(e," ").concat(n.started)),i=new Date,a=S.PcP*m;return t.getTime()>i.getTime()+a})))||[];a[n]=o,r+=o.length})),(0,l.A)((0,i.A)({},n),{slots:r,workingTimes:a})})):null,w(c),b(!1),[2]}}))})),e.apply(this,arguments)}}),[h,u,null===u||void 0===u?void 0:u.value,Nn(t),r,c]),{scheduleLoading:v,schedule:x,workingTime:E,disabledDays:M,allSchedule:C,onResetSchedule:D,onScheduleLoading:Y}}({date:e,startDate:t,endDate:r,isReset:c,isTeleMedicine:u,selectedDoctor:g,selectedSpecialty:p,doctorList:x,bufferTime:g?u?g.bufferTimeTele:g.bufferTimeOutpatient:0}),M=_.schedule,D=_.scheduleLoading,Y=_.workingTime,E=_.disabledDays,N=_.allSchedule,F=_.onResetSchedule;return(0,d.useEffect)((function(){function n(){return n=(0,o.A)((function(){var n,e,t;return(0,s.__generator)(this,(function(i){switch(i.label){case 0:return b(!0),[4,B(h,p,m)];case 1:return e=i.sent(),t=(null===e||void 0===e||null===(n=e._data)||void 0===n?void 0:n.searches)?e._data.searches.map(I.pW):null,w(t||[]),b(!1),[2]}}))})),n.apply(this,arguments)}c||((null===p||void 0===p?void 0:p.value)||F(),function(){n.apply(this,arguments)}())}),[null===p||void 0===p?void 0:p.id,m.length>=3?m:"",c]),{list:x,loading:v,scheduleLoading:D,options:A,currentValue:C,notFound:!x.length,disabledDays:E,allSchedule:N,schedule:M,workingTime:Y,onResetDoctor:function(){w([])}}},G=t(73419),q=t(72946),K=t(2543),W=t.n(K),J=t(49785),Z=t(36259),Q=t(6982),$=t(32485),X=t.n($);function nn(){return nn=Object.assign?Object.assign.bind():function(n){for(var e=1;e0})),e=[(null===n||void 0===n?void 0:n.date)||new Date,r].sort(Q.A);o(W().last(e)||new Date),v(Nn(W().last(e)||new Date))}),[b]);var y=E().locale;return(0,d.useEffect)((function(){setTimeout((function(){var n=document.querySelector(".elm-scroll-to");if(n){var e=(0,rn.DP)(n);window.scrollTo({top:e-65,behavior:"smooth"})}}),1e3)}),[f]),(0,a.Y)(an,{children:b.map((function(n){var e=n.date,t=n.day,i=n.numberOfSlots;return(0,a.FD)(R.nI,{"data-booking-day":t,"data-active":f===t,onClick:function(){o(e)},"data-event-category":c,"data-event-action":l,"data-event-label":s,className:u?"tele-booking-day-card":"out-patient-booking-day-card",children:[(0,a.Y)(p.T,{size:"xs",type:"caption",color:h.w.colors.gray600,style:{fontSize:12,whiteSpace:"nowrap"},className:"day",children:(0,x.A)(e,"EEE",{locale:y})}),(0,a.Y)(p.T,{size:"md",type:"bold",color:h.w.colors.gray800,style:{fontSize:16,lineHeight:"18px"},children:e.getDate()}),(0,a.Y)(p.T,{size:"xs",color:i>0?h.w.colors.green600:h.w.colors.gray400,style:{fontSize:12,whiteSpace:"nowrap"},className:"slot-number",children:i>0?i+" "+g({id:"bookingCard.slots",defaultMessage:"slot".concat(i>0?"s":"")}):g({id:"bookingCard.NoSlots",defaultMessage:"No slot"})})]},t)}))})},ln=function(n){var e=n.workingTimes,t=n.scheduleId,i=n.setSchedule,r=n.dataEventAction,o=n.dataEventCategory,l=n.dataEventLabel,c=n.isTeleMedicine;if(!e)return null;var s=(0,j.A)().formatMessage,u=(0,d.useState)(0),p=u[0],h=u[1],m=(0,d.useState)([]),v=m[0],b=m[1],y=(0,d.useMemo)((function(){var n=[],t=[];return e.morning&&(n.push({name:s({id:"bookingCard.morning",defaultMessage:"Morning"}).concat(" (".concat(e.morning.length,")"))}),t.push("morning")),e.afternoon&&(n.push({name:s({id:"bookingCard.afternoon",defaultMessage:"Afternoon"}).concat(" (".concat(e.afternoon.length,")"))}),t.push("afternoon")),e.evening&&(n.push({name:s({id:"bookingCard.evening",defaultMessage:"Evening"}).concat(" (".concat(e.evening.length,")"))}),t.push("evening")),b(t),n}),[e,s]);return(0,d.useEffect)((function(){i(null)}),[p]),(0,a.FD)(R.ol,{children:[(0,a.Y)(g.T,{className:"booking-time-tabs",tabContent:y,initialTab:p,onChange:h}),(0,a.Y)(R.PU,{children:(e[v[p]]||[]).map((function(n){return(0,a.Y)(f.B,{size:"md",color:t===n.schedule_id?"primary":"secondary",onClick:function(e){null===e||void 0===e||e.preventDefault(),i(n)},dataEventAction:r,dataEventCategory:o,dataEventLabel:l,className:c?"tele-booking-time-btn":"out-patient-booking-time-btn",children:"".concat(n.started," - ").concat(n.ended)},n.schedule_id)}))})]})};function cn(){return cn=Object.assign?Object.assign.bind():function(n){for(var e=1;e0&&(0,a.Y)(R.L8,{onClick:function(n){var e,t;"true"===(null===(e=n.target)||void 0===e||null===(t=e.getAttribute)||void 0===t?void 0:t.call(e,"data-is-open"))&&(x(""),s(null,"")),!m&&C(!A)},className:"dropdown-option","data-has-icons":!0,children:M.map((function(n){return(0,a.FD)(R.gG,{"data-selected":p&&p.value===n.value||void 0,onClick:function(){!m&&(null===s||void 0===s||s(n,n.value))},children:[n.icon&&(0,a.Y)(R.vE,{children:n.icon}),(0,a.Y)("div",{className:"dropdown-label",children:n.label})]},"".concat(r,"-").concat(n.value))}))})]})},gn=t(58065),mn=t(1135),fn=function(n){var e=n.type,t=n.translationId,i=void 0===t?"":t,r=n.href,o=void 0===r?"":r,l=n.onClick,c=function(n){n.preventDefault(),null===l||void 0===l||l()},s=function(n){return(0,a.Y)("a",{href:o,onClick:c,target:"_blank",rel:"noreferrer noopener",children:n})};return(0,a.FD)(a.FK,{children:[e===mn.Kv.DEFAULT&&(0,a.Y)(R.sV,{children:(0,a.Y)(gn.A,{id:i,defaultMessage:"We could not find any result. Click here to see more",tagName:"p",values:{a:s}})}),e===mn.Kv.SEARCH&&(0,a.Y)(p.T,{size:"xs",className:"no-result",children:(0,a.Y)(gn.A,{id:"careBooking.noSearchResult",defaultMessage:"No matching result, please try another keyword or see more",tagName:"p",values:{a:s}})})]})},vn=t(40224),bn=t(47055),yn=t(40630),kn=t(80783),xn=function(n){var e,t,u,w,A,C,_=n.onChangeTab,M=(0,G.$)(),D=M.locale,Y=void 0===D?"en-PH":D,E=M.asPath,N=M.push,T=(0,bn.A)(),I=T.message,z=T.updateMessage,B=(0,q.o)().isValidOnboarding,P=(0,d.useState)(!1),O=P[0],L=P[1],H=(0,d.useState)(!1),V=H[0],W=H[1],Q=(0,d.useState)(!1),$=Q[0],X=Q[1],nn=(0,d.useState)(void 0),en=nn[0],tn=nn[1],an=(0,d.useMemo)((function(){return"https://".concat(r.y[Y]).concat(S.JpE).concat(E)}),[Y,E]),rn=(0,j.A)().formatMessage,cn=(0,d.useMemo)((function(){return{label:rn({id:"booking.allSpecialties",defaultMessage:"All specialties"}),name:rn({id:"booking.allSpecialties",defaultMessage:"All specialties"}),value:-1,id:-1}}),[]),sn=(0,d.useContext)(Z.B),dn=sn.state,pn=sn.pushNotifications,gn=dn.isLoggedIn,xn=F(),wn=xn.date,An=xn.setDate,Cn=xn.startDate,_n=xn.endDate,Mn=xn.dateMonthValue,Dn=(0,J.xW)(),Yn=Dn.control,En=Dn.watch,Sn=Dn.setValue,Fn=Dn.resetField,Tn=En("selected_hospital"),In=En("selected_specialty"),zn=En("selected_doctor"),Bn=En("selected_schedule"),Pn=En("date");(0,d.useEffect)((function(){Fn("selected_specialty"),$n("")}),[null===Tn||void 0===Tn?void 0:Tn.id]),(0,d.useEffect)((function(){(null===zn||void 0===zn?void 0:zn.id)||Fn("selected_doctor"),ee("")}),[null===In||void 0===In?void 0:In.id,null===zn||void 0===zn?void 0:zn.id]),(0,d.useEffect)((function(){Fn("selected_schedule")}),[null===zn||void 0===zn?void 0:zn.id]),(0,d.useEffect)((function(){Sn("date",Nn(wn))}),[Bn]);var On=(0,d.useState)(!0),Ln=On[0],Hn=On[1],jn=(0,d.useState)(!1),Rn=jn[0],Vn=jn[1],Un=(0,d.useState)(!1),Gn=Un[0],qn=Un[1],Kn=(0,d.useState)(!1),Wn=Kn[0],Jn=Kn[1];(0,d.useEffect)((function(){Hn(!0),Fn("selected_specialty"),Fn("selected_doctor"),Fn("selected_schedule"),Sn("date",Nn(new Date)),Hn(!1)}),[Ln]);var Zn=(0,d.useState)(""),Qn=Zn[0],$n=Zn[1],Xn=(0,d.useState)(""),ne=Xn[0],ee=Xn[1],te=(0,d.useMemo)((function(){return(0,K.debounce)((function(n){return $n(n)}),300)}),[K.debounce]),ie=(0,d.useMemo)((function(){return(0,K.debounce)((function(n){return ee(n)}),300)}),[K.debounce]),ae=function(n){var e=n.selectedHospital,t=n.searchSpecialtyKeyword,r=n.selectedSpecialty,c=(0,d.useState)(!1),u=c[0],p=c[1],h=(0,d.useState)([]),g=h[0],m=h[1],f=(0,d.useMemo)((function(){return g.map((function(n){return(0,l.A)((0,i.A)({},n),{value:n.id,label:n.name,icon:(0,a.Y)("img",{src:n.thumbnail,alt:n.name,className:"hospital-image"})})}))}),[g]),v=(0,d.useMemo)((function(){return g.find((function(n){return n.value===(null===r||void 0===r?void 0:r.value)}))}),[g,r]);return(0,d.useEffect)((function(){function n(){return n=(0,o.A)((function(){var n,i,a;return(0,s.__generator)(this,(function(r){switch(r.label){case 0:return p(!0),[4,(0,y.px)((0,y.er)(b.R.GET_LIST_SPECIALTIES_BY_HOSPITAL,{hospitalId:null===e||void 0===e?void 0:e.id,keyword:t&&t.length>=3?t:""}),"GET")];case 1:return i=r.sent(),a=(0,y.BW)((null===i||void 0===i||null===(n=i._data)||void 0===n?void 0:n.specialties)||[]),Array.isArray(a)&&m(a),p(!1),[2]}}))})),n.apply(this,arguments)}!function(){n.apply(this,arguments)}()}),[null===e||void 0===e?void 0:e.id,t.length>=3?t:""]),{list:g,loading:u,options:f,currentValue:v,notFound:!g.length}}({selectedHospital:Tn,searchSpecialtyKeyword:Qn,selectedSpecialty:In}),re=U({date:wn,startDate:Cn,endDate:_n,isReset:Ln,isTeleMedicine:Rn,selectedSpecialty:In,selectedHospital:Tn,selectedDoctor:zn,searchDoctorKeyword:ne}),oe=(0,d.useState)(!1),le=oe[0],ce=oe[1],se=(0,d.useState)(!1),de=se[0],ue=se[1];(0,d.useEffect)((function(){Ln||((null===zn||void 0===zn?void 0:zn.id)&&!(null===In||void 0===In?void 0:In.id)?(Sn("selected_specialty",cn),ce(!0)):ce(!1))}),[null===zn||void 0===zn?void 0:zn.id]),(0,d.useEffect)((function(){de||le||Ln||(null===In||void 0===In?void 0:In.id)&&re.options.length>0&&(Sn("selected_doctor",re.options[0]),ue(!1))}),[null===In||void 0===In?void 0:In.id,le,de,re.options,Ln]),(0,d.useEffect)((function(){var n,e;(null===(n=re.currentValue)||void 0===n?void 0:n.validOutpatient)||Vn(!0),(null===(e=re.currentValue)||void 0===e?void 0:e.validTelemedicine)||Vn(!1)}),[null===(e=re.currentValue)||void 0===e?void 0:e.validOutpatient,null===(t=re.currentValue)||void 0===t?void 0:t.validTelemedicine]);var pe=function(){var n="?doctorId=".concat(null===zn||void 0===zn?void 0:zn.id,"&date=").concat(Pn,"&scheduleId=").concat(Bn,"&telemedicine=").concat(Rn||""),e="/booking/doctor/".concat(n);if(gn&&B)N(e);else{var t=(0,y.sT)("".concat(S.JpE).concat(e),"care_onboarding");S.dXu?v.u.getState().triggerCareEmailPhoneVerify({returnUrl:"".concat(S.JpE).concat(e),source:"care_onboarding"}):window.location.href=t}},he=(0,d.useMemo)((function(){if(re.schedule)return(0,k.A)({start:Cn,end:_n}).find((function(n){var e,t=Nn(n);return((null===(e=re.schedule.find((function(n){return n.workingDay===t})))||void 0===e?void 0:e.slots)||0)>0}))}),[re.schedule]);function ge(){return ge=(0,o.A)((function(n){var e,t,i;return(0,s.__generator)(this,(function(a){switch(a.label){case 0:return null===n||void 0===n||n.preventDefault(),we(en)?(null===(e=re.currentValue)||void 0===e?void 0:e.frisoCampaign)?dn.isLoggedIn&&B?Rn?(X(!0),[4,(0,y.T7)((0,y.er)(b.R.GET_FRISO_VALIDATION,{booking_type:"doctor",doctor_id:(null===zn||void 0===zn?void 0:zn.id)||""}),"GET")]):[3,2]:(t=(0,y.sT)("".concat(S.JpE).concat(E),"care_onboarding"),S.dXu?v.u.getState().triggerCareEmailPhoneVerify({source:"care_onboarding"}):window.location.href=t,[2]):[3,3]:(pn({message:rn({id:"error.invalid.timeSlot",defaultMessage:"The slot is not available. Please select the time greater than {bufferTime}."},{bufferTime:null===en||void 0===en?void 0:en.started}),type:"danger"}),[2]);case 1:return i=a.sent(),z(i._data),L(!0),W(i._data.valid),X(!1),[2];case 2:return[2];case 3:return pe(),[2]}}))})),ge.apply(this,arguments)}var me=function(){L(!1)},fe=(0,d.useMemo)((function(){return!re||!re.schedule||re.schedule.length<1}),[re]),ve=(0,d.useMemo)((function(){var n;return!!dn.userInfo&&(null===(n=dn.userInfo.email)||void 0===n?void 0:n.includes("@facebook.com"))}),[dn.userInfo]),be=(0,d.useMemo)((function(){return zn?Rn?zn.bufferTimeTele||0:zn.bufferTimeOutpatient||0:0}),[Rn,zn]),ye=(0,d.useMemo)((function(){return!!zn&&(!zn.isSiloam&&Number(zn.price)>0)}),[zn]),ke=[];(null===(u=re.currentValue)||void 0===u?void 0:u.validOutpatient)&&ke.push({name:rn({id:"doctorDetailPage.appointment.outpatient",defaultMessage:"Outpatient Appointment"})}),(null===(w=re.currentValue)||void 0===w?void 0:w.validTelemedicine)&&ke.push({name:rn({id:"doctorDetailPage.appointment.telemedicine",defaultMessage:"Telemedicine Appointment"})});var xe,we=function(n){if(!n)return!0;var e=new Date("".concat((0,x.A)(wn,"yyyy/MM/dd")," ").concat(n.started)),t=new Date,i=S.PcP*be;return!(e.getTime()<=t.getTime()+i)};return(0,a.Y)(a.FK,{children:!Ln&&(0,a.FD)(R.rf,{children:[(0,a.Y)(J.xI,{name:"selected_specialty",control:Yn,render:function(n){var e=n.field,t=e.onChange,i=e.value;return(0,a.FD)("div",{children:[(0,a.Y)(p.T,{size:"label2",type:"bold",color:h.w.colors.gray600,className:"mb-[6px]",children:rn({id:"careBooking.specialty",defaultMessage:"Specialty"})}),(0,a.Y)(hn,{dropdownLabelTrackingAttributes:{"data-event-category":"Care","data-event-action":"Doctor Quick Booking - Specialty Click","data-event-label":an},className:"booking-select",id:"select-specialty",options:ae.options,value:i,placeholderIcon:(0,a.Y)(R.ph,{src:(null===In||void 0===In?void 0:In.thumbnail)||"".concat(S.JpE,"/svg/search.svg")}),onChange:function(n){re.onResetDoctor(),t(n),ue(!1),Fn("selected_doctor")},onSearchChange:te,placeholder:ae.options.length?rn({id:"careBooking.selectSpecialty",defaultMessage:"Select Specialty"}):rn({id:"common.noResultFound",defaultMessage:"No result found"}),useSearchFilter:!1}),ae.notFound&&(0,a.Y)(fn,{type:mn.Kv.SEARCH})]})}}),(0,a.Y)(J.xI,{name:"selected_doctor",control:Yn,render:function(n){var e,t,i,r,o,l=n.field.onChange;return(0,a.FD)(R.wQ,{className:"elm-scroll-to",children:[(0,a.Y)(p.T,{size:"label2",type:"bold",color:h.w.colors.gray600,className:"mb-[6px]",children:rn({id:"careBooking.doctor",defaultMessage:"Doctor"})}),(0,a.FD)("div",{className:"booking-select",children:[(0,a.Y)(hn,{dropdownLabelTrackingAttributes:{"data-event-category":"Care","data-event-action":"Doctor Quick Booking - Doctor Click","data-event-label":an},id:"select-doctor",className:(null===zn||void 0===zn?void 0:zn.id)||(null===(e=re.currentValue)||void 0===e?void 0:e.id)?"has-seleted-option":"",options:re.options,placeholderIcon:(0,a.Y)(R.ph,{src:(null===zn||void 0===zn?void 0:zn.avatar)||"".concat(S.JpE,"/svg/search.svg")}),onChange:l,onSearchChange:ie,placeholder:re.notFound&&!ne&&(null===In||void 0===In?void 0:In.id)?rn({id:"common.noResultFound",defaultMessage:"No result found"}):rn({id:"careBooking.selectDoctor",defaultMessage:"Select Doctor"}),useSearchFilter:!1}),((null===zn||void 0===zn?void 0:zn.id)||(null===(t=re.currentValue)||void 0===t?void 0:t.id))&&(0,a.Y)(un,{logo:zn.avatar||re.currentValue.avatar,name:zn.name||re.currentValue.name,price:zn.price||re.currentValue.price,priceUnit:(null===zn||void 0===zn?void 0:zn.priceUnit)||(null===re||void 0===re||null===(i=re.currentValue)||void 0===i?void 0:i.priceUnit),priceTo:(null===zn||void 0===zn?void 0:zn.priceTo)||(null===re||void 0===re||null===(r=re.currentValue)||void 0===r?void 0:r.priceTo),priceType:(null===zn||void 0===zn?void 0:zn.priceType)||(null===re||void 0===re||null===(o=re.currentValue)||void 0===o?void 0:o.priceType),isShowPrice:ye,onEditClick:function(){Fn("selected_doctor"),ue(!0)}}),re.notFound&&!re.loading&&(null===In||void 0===In?void 0:In.id)&&(ne?(0,a.Y)(fn,{type:mn.Kv.SEARCH,onClick:function(){return _(mn.uN.DOCTORS)}}):(0,a.Y)(fn,{type:mn.Kv.DEFAULT,translationId:"careBooking.noDoctorLabel",onClick:function(){return _(mn.uN.DOCTORS)}}))]})]})}}),!re.notFound&&!re.loading&&(null===In||void 0===In?void 0:In.id)&&(0,a.FD)(a.FK,{children:[(0,a.FD)(R.kR,{children:[(null===(A=re.currentValue)||void 0===A?void 0:A.validTelemedicine)&&(0,a.Y)(R.Ut,{children:(0,a.Y)(p.T,{size:"n1",type:"bold",color:"white",children:rn({id:"doctorDetailPage.appointment.new",defaultMessage:"New"})})}),(0,a.Y)(g.T,{className:"booking-tabs",initialTab:0,tabContent:ke,style:{paddingLeft:0},onChange:function(n){Vn(!!n),Sn("selected_schedule",""),Wn&&Jn(!1)}}),(0,a.Y)("div",{className:"booking-description",children:rn({id:"doctorDetailPage.appointment.selectTimeslot",defaultMessage:"Please select the timeslot below"})})]}),(0,a.FD)(R.p3,{children:[(0,a.Y)(p.T,{size:"label2",type:"bold",color:h.w.colors.gray600,className:"mb-[6px]",children:rn({id:"careBooking.time",defaultMessage:"Time"})}),(0,a.Y)(g.D,{className:"booking-date",customInput:function(n){return(0,a.Y)(m.I,(0,l.A)((0,i.A)({type:"text",size:"md",name:"booking-date"},n),{value:Mn,isDisabled:!(null===zn||void 0===zn?void 0:zn.id)||re.notFound,actionIcon:(0,a.Y)("img",{src:"".concat(S.JpE,"/svg/calendar-solid.svg")}),readOnly:!0,trackingAttributes:{dataEventCategory:"Care",dataEventAction:"Doctor Quick Booking - Appointment Click",dataEventLabel:an}}))},disabledDays:(0,c.A)(null!==(xe=re.disabledDays)&&void 0!==xe?xe:[]).concat([{before:new Date,after:(null===(C=re.allSchedule)||void 0===C?void 0:C.length)?new Date(re.allSchedule[0].workingDay):_n}]),locale:Y,pickedDate:wn,displayDateFormat:S.CMh,onChange:function(n){An(n)},placeholder:""}),fe&&!re.loading?(0,a.FD)(R.$e,{children:[(0,a.Y)(kn.A,{}),(0,a.Y)(p.T,{size:"sm",color:h.w.colors.gray500,children:rn({id:"bookingCard.noResults",defaultMessage:"Sorry! Our doctor is quite busy now. Please come back tomorrow or make a booking with another doctor."})})]}):(0,a.FD)(a.FK,{children:[(0,a.Y)(on,{startDate:Cn,endDate:_n,schedules:re.schedule,date:wn,setDate:An,dataEventCategory:"Care",dataEventAction:"Doctor Quick Booking - Appointment Click",dataEventLabel:an,isTeleMedicine:Rn}),(0,a.Y)(ln,{workingTimes:re.workingTime,scheduleId:Bn,setSchedule:function(n){n&&(we(n)?(Sn("selected_schedule",n.schedule_id),tn(n),(null===n||void 0===n?void 0:n.schedule_id)&&!Wn&&!Bn&&ve&&(qn(!0),Jn(!0))):pn({message:rn({id:"error.invalid.timeSlot",defaultMessage:"The slot is not available. Please select the time greater than {bufferTime}."},{bufferTime:n.started}),type:"danger"}))},dataEventCategory:"Care",dataEventAction:"Doctor Quick Booking - Appointment Click",dataEventLabel:an,isTeleMedicine:Rn}),(0,a.Y)(yn.A,{className:"doctor-booking-warning",open:Gn,onContinueBooking:function(){qn(!1)},handleOnClose:function(){return qn(!1)}})]})]})]}),(0,a.Y)(R.bO,{children:!re.workingTime&&(null===In||void 0===In?void 0:In.id)?(0,a.Y)(f.B,{color:"primary",size:"lg",onClick:function(){he&&An(he)},dataEventCategory:"Care",dataEventAction:"Doctor Quick Booking - Booking Click",dataEventLabel:an,isLoading:$,children:rn({id:"bookingCard.seeNearest",defaultMessage:"See nearest availabilities"})}):(0,a.Y)(f.B,{color:"primary",size:"lg",onClick:function(n){return ge.apply(this,arguments)},dataEventCategory:"Care",dataEventAction:"Doctor Quick Booking - Booking Click",dataEventLabel:an,isLoading:$,isDisabled:!Boolean((null===Tn||void 0===Tn?void 0:Tn.id)&&((null===In||void 0===In?void 0:In.id)||(null===In||void 0===In?void 0:In.value))&&(null===zn||void 0===zn?void 0:zn.id)&&Bn),children:rn({id:"hospital.bookAnAppointment",defaultMessage:"Book an Appointment"})})}),(0,a.Y)(vn.A,{open:O,message:I,handleOnClose:me,handleOnOk:function(){V?pe():me()}})]})})},wn=t(35094),An=function(n){var e,t=n.activeTab,u=(0,G.$)(),w=u.locale,A=void 0===w?"en-PH":w,C=u.push,_=u.asPath,M=u.query,D=(0,T.A)((0,wn.Q)(),1)[0],Y=(0,d.useMemo)((function(){return"https://".concat(r.y[A]).concat(S.JpE).concat(_)}),[A,_]),E=(0,d.useContext)(Z.B),N=E.state,B=E.pushNotifications,P=(0,q.o)().isValidOnboarding,O=N.isLoggedIn,L=(0,j.A)().formatMessage,H=F(),U=H.date,K=H.setDate,W=H.startDate,Q=H.endDate,$=H.dateMonthValue,X=(0,J.xW)(),nn=X.control,en=X.watch,tn=X.setValue,an=X.resetField,rn=en("selected_hospital"),cn=en("selected_service"),sn=en("date"),dn=en("selected_service_schedule"),pn=(0,d.useState)(""),gn=pn[0],vn=pn[1],bn=(0,d.useState)(!0),kn=bn[0],xn=bn[1],An=(0,d.useState)(!1),Cn=An[0],_n=An[1],Mn=(0,d.useState)(!1),Dn=Mn[0],Yn=Mn[1],En=(0,d.useState)(void 0),Sn=En[0],Fn=En[1];(0,d.useEffect)((function(){xn(!0),an("selected_service"),an("selected_service_schedule"),tn("date",Nn(new Date)),xn(!1)}),[]),(0,d.useEffect)((function(){tn("date",Nn(U))}),[dn,U]);var Tn,In=function(n,e,t,r,c,u,p,h){var g=(0,d.useState)(!1),m=g[0],f=g[1],v=(0,d.useState)(!1),x=v[0],w=v[1],A=(0,d.useState)([]),C=A[0],_=A[1],M=(0,d.useState)(null),D=M[0],Y=M[1],E=(0,d.useState)(null),N=E[0],S=E[1],F=(0,d.useMemo)((function(){return(null===N||void 0===N?void 0:N.length)?(0,k.A)({start:new Date,end:(0,z.A)(new Date(N[0].workingDay),1)}).map((function(n){var e,t=Nn(n),i=(null===(e=N.find((function(n){return n.workingDay===t})))||void 0===e?void 0:e.slots)||0;if(!i||0===i)return n})):[]}),[N]),B=(0,d.useMemo)((function(){return C.map((function(n){return(0,l.A)((0,i.A)({},n),{value:n.id,label:(0,a.Y)(V,{name:n.name,price:n.price,priceTo:n.priceTo?String(n.priceTo):"",priceType:n.priceType||"",priceUnit:n.priceUnit}),icon:(0,a.Y)("img",{src:n.logoService,alt:n.name,className:"hospital-image"})})}))}),[C]),P=(0,d.useMemo)((function(){var e;return null===(e=null===D||void 0===D?void 0:D.find((function(e){return e.workingDay===Nn(n||new Date)})))||void 0===e?void 0:e.workingTimes}),[D,n]),O=(0,d.useCallback)((0,o.A)((function(){var n,i,a;return(0,s.__generator)(this,(function(r){switch(r.label){case 0:return(null===u||void 0===u?void 0:u.id)?(w(!0),[4,Promise.all([(0,y.px)((0,y.er)(b.R.GET_SERVICE_SCHEDULE,{serviceId:String(null===u||void 0===u?void 0:u.id),startDate:Nn(e),endDate:Nn(t)}),"GET"),(0,y.px)((0,y.er)(b.R.GET_SERVICE_SCHEDULE,{serviceId:String(null===u||void 0===u?void 0:u.id),startDate:Nn(e)}),"GET")])]):[3,2];case 1:return n=T.A.apply(void 0,[r.sent(),2]),i=n[0],(null===(a=n[1])||void 0===a?void 0:a._data)&&S(a._data.schedules?(0,I.kT)(a._data.schedules):null),(null===i||void 0===i?void 0:i._data)&&Y(i._data.schedules?(0,I.kT)(i._data.schedules):null),[3,3];case 2:Y(null),r.label=3;case 3:return w(!1),[2]}}))})),[null===u||void 0===u?void 0:u.id,e,t]);return(0,d.useEffect)((function(){c||((null===u||void 0===u?void 0:u.id)&&""!==(null===u||void 0===u?void 0:u.id)?O():Y([]))}),[null===u||void 0===u?void 0:u.id,Nn(e),c]),(0,d.useEffect)((function(){(0,o.A)((function(){var n;return(0,s.__generator)(this,(function(e){switch(e.label){case 0:return f(!0),[4,(0,y.px)((0,y.er)(b.R.GET_SERVICE_QUICK_BOOKING,{hospitalBranchId:h||"",keyword:p&&p.length>=3?p:""}),"GET",{headers:{accept:"application/json, text/plain, version=2.0.0"}}).then((function(n){var e;return((null===n||void 0===n||null===(e=n._data)||void 0===e?void 0:e.searches.filter((function(n){return!n.package})))||[]).map(I.JG)||[]}))];case 1:return n=e.sent(),_(n),f(!1),[2]}}))}))()}),[h,p&&p.length>=3?p:""]),(0,d.useEffect)((function(){Y([])}),[null===u||void 0===u?void 0:u.value,r]),{loading:m,scheduleLoading:x,options:B,schedule:D,workingTime:P,disabledDays:F,allSchedule:N}}(U,W,Q,t,kn,cn,gn,rn.id),zn=(0,d.useMemo)((function(){var n;return!!N.userInfo&&(null===(n=N.userInfo.email)||void 0===n?void 0:n.includes("@facebook.com"))}),[N.userInfo]),Bn=(0,d.useMemo)((function(){return cn&&(null===cn||void 0===cn?void 0:cn.bufferTime)||0}),[]),Pn=(0,d.useMemo)((function(){if(In.schedule)return(0,k.A)({start:W,end:Q}).find((function(n){var e,t=Nn(n);return((null===(e=In.schedule.find((function(n){return n.workingDay===t})))||void 0===e?void 0:e.slots)||0)>0}))}),[In.schedule]),On=function(n){if(!n)return!0;var e=new Date("".concat((0,x.A)(U,"yyyy/MM/dd")," ").concat(n.started)),t=new Date,i=S.PcP*Bn;return!(e.getTime()<=t.getTime()+i)};return(0,a.Y)(a.FK,{children:!kn&&(0,a.FD)(R.rf,{children:[(0,a.Y)(J.xI,{name:"selected_service",control:nn,render:function(n){var e=n.field.onChange;return(0,a.FD)(R.wQ,{className:"elm-scroll-to",children:[(0,a.Y)(p.T,{size:"label2",type:"bold",color:h.w.colors.gray600,className:"mb-[6px]",children:L({id:"careBooking.service",defaultMessage:"Service"})}),(0,a.FD)("div",{className:"booking-select",children:[(0,a.Y)(hn,{dropdownLabelTrackingAttributes:{"data-event-category":"Care","data-event-action":"Service Quick Booking - Service Click","data-event-label":Y},id:"select-service",className:(null===cn||void 0===cn?void 0:cn.id)?"has-seleted-option":"",options:In.options,placeholderIcon:(0,a.Y)(R.ph,{src:(null===cn||void 0===cn?void 0:cn.logoService)||"".concat(S.JpE,"/svg/search.svg")}),onChange:e,onSearchChange:function(n){return vn(n)},placeholder:L({id:"careBooking.selectService",defaultMessage:"Select Service"}),useSearchFilter:!1}),(null===cn||void 0===cn?void 0:cn.id)&&(0,a.Y)(un,{logo:cn.logoService,name:cn.name,price:cn.price,priceTo:cn.priceTo?String(cn.priceTo):"",priceType:cn.priceType||"",priceUnit:cn.priceUnit,onEditClick:function(){return an("selected_service")}}),(!Array.isArray(In.options)||0===In.options.length)&&(gn?(0,a.Y)(fn,{type:mn.Kv.SEARCH}):(0,a.Y)(fn,{type:mn.Kv.DEFAULT,translationId:"careBooking.noHospitalLabel",onClick:function(){var n=(0,l.A)((0,i.A)({},M),{tab:D.services});u.replace({pathname:u.pathname,query:n},void 0,{shallow:!0})}}))]})]})}}),(0,a.FD)(R.p3,{children:[(0,a.Y)(p.T,{size:"label2",type:"bold",color:h.w.colors.gray600,className:"mb-[6px]",children:L({id:"careBooking.time",defaultMessage:"Time"})}),(0,a.Y)(g.D,{className:"booking-date",customInput:function(n){return(0,a.Y)(m.I,(0,l.A)((0,i.A)({type:"text",size:"md",name:"booking-date"},n),{value:$,isDisabled:!(null===cn||void 0===cn?void 0:cn.id),actionIcon:(0,a.Y)("img",{src:"".concat(S.JpE,"/svg/calendar-solid.svg")}),readOnly:!0,trackingAttributes:{dataEventCategory:"Care",dataEventAction:"Service Quick Booking - Appointment Click",dataEventLabel:Y}}))},disabledDays:(0,c.A)(null!==(Tn=In.disabledDays)&&void 0!==Tn?Tn:[]).concat([{before:new Date,after:(null===(e=In.allSchedule)||void 0===e?void 0:e.length)?new Date(In.allSchedule[0].workingDay):Q}]),locale:A,pickedDate:U,displayDateFormat:S.CMh,onChange:function(n){K(n)},placeholder:""}),(0,a.Y)(on,{startDate:W,endDate:Q,schedules:In.schedule,date:U,setDate:K,dataEventCategory:"Care",dataEventAction:"Service Quick Booking - Appointment Click",dataEventLabel:Y,isTeleMedicine:!1}),(0,a.Y)(ln,{workingTimes:In.workingTime,scheduleId:dn,setSchedule:function(n){n&&(On(n)?(tn("selected_service_schedule",n.schedule_id),Fn(n),n.schedule_id&&!Dn&&!dn&&zn&&(_n(!0),Yn(!0))):B({message:L({id:"error.invalid.timeSlot",defaultMessage:"The slot is not available. Please select the time greater than {bufferTime}."},{bufferTime:n.started}),type:"danger"}))},dataEventCategory:"Care",dataEventAction:"Service Quick Booking - Appointment Click",dataEventLabel:Y,isTeleMedicine:!1}),(0,a.Y)(yn.A,{className:"doctor-booking-warning",open:Cn,onContinueBooking:function(){_n(!1)},handleOnClose:function(){return _n(!1)}})]}),(0,a.Y)(R.bO,{children:!In.workingTime&&(null===cn||void 0===cn?void 0:cn.id)?(0,a.Y)(f.B,{color:"primary",size:"lg",onClick:function(){Pn&&K(Pn)},dataEventCategory:"Care",dataEventAction:"Doctor Quick Booking - Booking Click",dataEventLabel:Y,children:L({id:"bookingCard.seeNearest",defaultMessage:"See nearest availabilities"})}):(0,a.Y)(f.B,{color:"primary",size:"lg",dataEventCategory:"Care",dataEventAction:"Service Quick Booking - Booking Click",dataEventLabel:Y,isDisabled:!Boolean((null===rn||void 0===rn?void 0:rn.id)&&(null===cn||void 0===cn?void 0:cn.value)&&dn),onClick:function(n){if(null===n||void 0===n||n.preventDefault(),On(Sn)){var e="?serviceId=".concat(null===cn||void 0===cn?void 0:cn.id,"&date=").concat(sn,"&scheduleId=").concat(dn),t="/booking/service/".concat(e);if(O&&P)C(t);else{var i=(0,y.sT)("".concat(S.JpE).concat(t),"care_onboarding");S.dXu?v.u.getState().triggerCareEmailPhoneVerify({returnUrl:"".concat(S.JpE).concat(_),source:"care_onboarding"}):window.location.href=i}}else B({message:L({id:"error.invalid.timeSlot",defaultMessage:"The slot is not available. Please select the time greater than {bufferTime}."},{bufferTime:null===Sn||void 0===Sn?void 0:Sn.started}),type:"danger"})},children:L({id:"hospital.bookAnAppointment",defaultMessage:"Book an Appointment"})})})]})})};function Cn(){return Cn=Object.assign?Object.assign.bind():function(n){for(var e=1;e li {\n width: 100%;\n justify-content: center;\n &[data-is-tab-active='true'] {\n svg path {\n fill: ",";\n }\n }\n\n &[data-is-tab-active='false'] {\n svg path {\n fill: ",";\n }\n }\n }\n }\n\n .selected-hospital-input input:disabled {\n background-color: transparent;\n }\n"]);return l=function(){return n},n}function c(){var n=(0,i.A)(["\n position: relative;\n overflow: auto;\n height: calc(100vh - 70px);\n padding: 16px;\n background-color: ",";\n\n "," {\n height: calc(var(--app-height, 100vh) - 70px);\n }\n\n ::-webkit-scrollbar {\n display: none;\n }\n\n .quick-booking-switch {\n margin-bottom: 24px;\n width: 100%;\n & > li {\n width: 100%;\n justify-content: center;\n &[data-is-tab-active='true'] {\n svg path {\n fill: ",";\n }\n }\n\n &[data-is-tab-active='false'] {\n svg path {\n fill: ",";\n }\n }\n }\n }\n"]);return c=function(){return n},n}function s(){var n=(0,i.A)(["\n .booking-select {\n position: relative;\n &[data-has-icons='true'] {\n border: 1px solid ",";\n &:not([data-disabled='true']) {\n background-color: ",";\n }\n }\n\n ul {\n z-index: ",";\n max-height: 304px;\n background-color: ",";\n box-shadow: -4px 4px 8px rgba(67, 86, 100, 0.102956),\n -8px 8px 16px rgba(67, 86, 100, 0.0780977);\n overflow-y: scroll;\n img {\n object-fit: contain;\n }\n }\n /* span {\n text-overflow: ellipsis;\n white-space: nowrap;\n overflow: hidden;\n padding-right: 10px;\n } */\n\n .has-seleted-option {\n display: none;\n }\n }\n"]);return s=function(){return n},n}function d(){var n=(0,i.A)(["\n background-color: ",";\n position: relative;\n\n input {\n background-color: ",";\n cursor: pointer;\n }\n\n .doctor-booking-warning {\n width: 100%;\n }\n"]);return d=function(){return n},n}function u(){var n=(0,i.A)(["\n button,\n a {\n width: 100%;\n }\n a {\n text-decoration: none;\n }\n"]);return u=function(){return n},n}function p(){var n=(0,i.A)(["\n position: relative;\n padding: 8px 0 24px;\n font-size: 14px;\n .no-result {\n margin-top: 8px;\n\n a {\n text-decoration: none;\n }\n }\n"]);return p=function(){return n},n}function h(){var n=(0,i.A)(["\n position: initial;\n top: 0;\n left: 0;\n display: flex;\n width: 100%;\n align-items: center;\n padding: 8px;\n background-color: ",";\n border: 1px solid ",";\n border-radius: 6px;\n gap: 8px;\n > img {\n width: 32px;\n height: 32px;\n border-radius: 50%;\n object-fit: cover;\n outline: 1px solid ",";\n }\n\n .doctor-edit-icon {\n align-self: flex-start;\n margin-left: auto;\n cursor: pointer;\n flex: 0 0 16px;\n }\n .hospital-card-icon {\n padding-right: 8px;\n }\n"]);return h=function(){return n},n}function g(){var n=(0,i.A)(["\n display: flex;\n overflow: hidden;\n width: 100%;\n align-items: center;\n justify-content: space-between;\n margin-top: 16px;\n\n .chevron {\n cursor: pointer;\n\n path {\n stroke: "," !important;\n transition: stroke 0.2s;\n }\n\n &.disabled {\n pointer-events: none;\n path {\n stroke: "," !important;\n }\n }\n\n &.right {\n transform: rotateZ(180deg);\n }\n }\n"]);return g=function(){return n},n}function m(){var n=(0,i.A)(["\n display: flex;\n width: calc(100% - 64px);\n flex-wrap: nowrap;\n padding: 8px 0px;\n gap: 8px;\n overflow-x: scroll;\n\n ::-webkit-scrollbar {\n display: none;\n }\n"]);return m=function(){return n},n}function f(){var n=(0,i.A)(["\n display: flex;\n width: 86px;\n padding: 5px;\n height: 68px;\n flex: 0 0 calc((100% - 24px) / 3);\n flex-direction: column;\n align-items: center;\n justify-content: space-between;\n border: 1px solid transparent;\n margin: 0 auto;\n background: ",";\n border-radius: 6px;\n cursor: pointer;\n\n .day {\n line-height: 20px;\n }\n\n &[data-active='true'] {\n border-color: ",";\n background-color: ",";\n }\n\n * {\n pointer-events: none;\n }\n p {\n line-height: 18px;\n }\n\n &.tele-booking-day-card {\n .slot-number {\n color: ",";\n }\n\n &[data-active='true'] {\n border: 1px solid ",";\n background: #fff8e2;\n }\n }\n"]);return f=function(){return n},n}function v(){var n=(0,i.A)(["\n margin-top: 24px;\n\n .booking-time-tabs {\n width: 100%;\n > li {\n flex: 1;\n justify-content: center;\n &[aria-selected='false'] {\n border-bottom: 3px solid transparent;\n margin-bottom: -1px;\n }\n }\n }\n"]);return v=function(){return n},n}function b(){var n=(0,i.A)(["\n display: grid;\n margin-top: 24px;\n grid-gap: 8px;\n grid-template-columns: repeat(3, 1fr);\n\n button {\n padding: 7px 0 !important;\n &[data-color='secondary'] {\n padding: 8px 0 !important;\n border: 1px solid ",";\n > span {\n color: ",";\n font-weight: ",";\n }\n }\n\n &.tele-booking-time-btn {\n &:hover {\n background-color: "," !important;\n border: 1px solid "," !important;\n > span {\n color: ",";\n }\n }\n &[data-color='primary'] {\n background-color: ",";\n border: 1px solid ",";\n > span {\n color: ",";\n }\n\n &:hover {\n background-color: ",";\n border: 1px solid\n ",";\n }\n }\n }\n }\n"]);return b=function(){return n},n}function y(){var n=(0,i.A)(["\n width: 100%;\n overflow: hidden;\n padding: 16px;\n .type {\n &-wrapper {\n width: 100%;\n display: flex;\n justify-content: center;\n align-items: center;\n border-radius: 8px;\n padding: 4px;\n background-color: ",";\n }\n &-button {\n width: 100%;\n /* padding: 7px 16px; */\n max-height: 32px;\n border-radius: 4px;\n &.active {\n }\n }\n }\n"]);return y=function(){return n},n}function k(){var n=(0,i.A)(["\n padding: 8px 8px 8px 16px;\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 60px;\n background-color: ",";\n border-radius: 6px;\n p {\n font-size: 14px;\n font-weight: 400;\n color: ",";\n letter-spacing: -0.2px;\n line-height: 22px;\n }\n"]);return k=function(){return n},n}function x(){var n=(0,i.A)(["\n width: 24px;\n height: 24px;\n object-fit: contain;\n"]);return x=function(){return n},n}function w(){var n=(0,i.A)(["\n overflow: hidden;\n .hospital-card-icon {\n padding-right: 0;\n }\n .option-name {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n }\n"]);return w=function(){return n},n}function A(){var n=(0,i.A)(["\n display: flex;\n flex: 2;\n align-items: center;\n\n .icon-price {\n display: flex;\n flex-direction: column;\n justify-content: center;\n padding-right: 8px;\n img {\n width: 16px;\n height: 16px;\n }\n }\n\n .text-price {\n display: flex;\n flex-wrap: wrap;\n }\n\n .price {\n font-weight: 600;\n }\n"]);return A=function(){return n},n}function C(){var n=(0,i.A)(["\n display: flex;\n flex-direction: column;\n gap: 24px;\n position: relative;\n\n "," {\n &[data-has-switch='false'] {\n margin-top: 24px;\n }\n }\n"]);return C=function(){return n},n}function _(){var n=(0,i.A)(["\n position: relative;\n border: 1px solid ",";\n background-position: right 16px center;\n border-radius: 6px;\n background-color: ",";\n\n &[data-has-icons='true'] {\n border: none;\n\n img,\n svg {\n display: inline-block;\n max-width: 16px;\n }\n\n span {\n display: inline-block;\n vertical-align: middle;\n }\n\n &:hover {\n box-shadow: none;\n }\n > div {\n position: relative;\n display: flex;\n width: 100%;\n box-sizing: border-box;\n align-items: center;\n }\n > div::after {\n position: absolute;\n z-index: 0;\n padding: 8px 0px;\n }\n\n &[data-is-open='false'] {\n > div::after {\n top: 50%;\n right: 0;\n width: 52px;\n height: 36px;\n background-image: url(\"data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M9.99968 11.7259L6.81551 8.54171C6.47051 8.19671 5.91051 8.19671 5.56551 8.54171C5.22051 8.88671 5.22051 9.44671 5.56551 9.79171L9.41051 13.6367C9.73635 13.9625 10.2638 13.9625 10.5888 13.6367L14.4338 9.79171C14.7788 9.44671 14.7788 8.88671 14.4338 8.54171C14.0888 8.19671 13.5288 8.19671 13.1838 8.54171L9.99968 11.7259Z' fill='%23595959'/%3E%3C/svg%3E%0A\");\n background-position: center;\n background-repeat: no-repeat;\n content: '';\n transform: translateY(-50%);\n }\n }\n &[data-is-open='true'] {\n > div::after {\n top: 50%;\n right: 0;\n width: 52px;\n height: 36px;\n background-image: url(\"data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M1.66675 10.0001C1.66675 5.39175 5.39175 1.66675 10.0001 1.66675C14.6084 1.66675 18.3334 5.39175 18.3334 10.0001C18.3334 14.6084 14.6084 18.3334 10.0001 18.3334C5.39175 18.3334 1.66675 14.6084 1.66675 10.0001ZM12.4084 13.5834C12.7334 13.9084 13.2584 13.9084 13.5834 13.5834C13.9001 13.2584 13.9001 12.7251 13.5834 12.4084L11.1751 10.0001L13.5834 7.59175C13.9084 7.26675 13.9084 6.74175 13.5834 6.41675C13.2584 6.09175 12.7334 6.09175 12.4084 6.41675L10.0001 8.82508L7.59175 6.41675C7.26675 6.09175 6.74175 6.09175 6.41675 6.41675C6.2607 6.57244 6.17301 6.78382 6.17301 7.00425C6.17301 7.22468 6.2607 7.43606 6.41675 7.59175L8.82508 10.0001L6.41675 12.4084C6.2607 12.5641 6.17301 12.7755 6.17301 12.9959C6.17301 13.2163 6.2607 13.4277 6.41675 13.5834C6.74175 13.9084 7.26675 13.9084 7.59175 13.5834L10.0001 11.1751L12.4084 13.5834Z' fill='%238C8C8C'/%3E%3C/svg%3E%0A\");\n background-position: center;\n background-repeat: no-repeat;\n content: '';\n transform: translateY(-50%);\n }\n }\n\n &:disabled {\n > div::after {\n display: none;\n }\n }\n }\n\n &:hover {\n box-shadow: 0 0 2px 2px ",";\n }\n"]);return _=function(){return n},n}function M(){var n=(0,i.A)(["\n cursor: pointer;\n &[data-dropdown-open] {\n padding: 11px 15px 11px 15px;\n border: 1px solid ",";\n border-radius: 6px;\n box-shadow: 0 0 2px 2px ",";\n }\n"]);return M=function(){return n},n}function D(){var n=(0,i.A)(["\n position: absolute;\n z-index: 100;\n top: 100%;\n right: 0;\n left: 0;\n display: block;\n max-height: 500px;\n margin-top: 4px;\n background: ",";\n border-radius: 6px;\n box-shadow: -1px 1px 2px rgba(67, 70, 74, 0.0001),\n -2px 2px 5px rgba(67, 86, 100, 0.123689);\n cursor: pointer;\n overflow-y: auto;\n\n &[data-has-icons='true'] {\n border: 1px solid ",";\n background: white;\n box-shadow: none;\n filter: drop-shadow(0px 10px 16px rgba(0, 0, 0, 0.04));\n }\n"]);return D=function(){return n},n}function Y(){var n=(0,i.A)(["\n display: flex;\n width: 100%;\n align-items: center;\n justify-content: flex-start;\n padding: 6px 18px 6px 16px;\n &:hover,\n :active {\n background: ",";\n }\n .dropdown-label {\n line-height: 20px;\n }\n"]);return Y=function(){return n},n}function E(){var n=(0,i.A)(["\n width: 24px;\n height: 24px;\n flex-shrink: 0;\n overflow: hidden;\n"]);return E=function(){return n},n}function N(){var n=(0,i.A)(["\n input {\n padding: 12px 36px 12px 48px;\n }\n\n &[data-has-display-icon] input {\n padding: 12px 36px 12px 48px;\n }\n .displayIcon {\n img {\n width: 24px;\n max-width: unset;\n height: 24px;\n }\n }\n"]);return N=function(){return n},n}function S(){var n=(0,i.A)(["\n position: relative;\n\n .booking-tabs {\n width: 100%;\n\n li {\n flex: 1;\n justify-content: center;\n }\n }\n\n .booking-description {\n color: ",";\n font-size: 14px;\n line-height: 22px;\n margin-top: 20px;\n }\n"]);return S=function(){return n},n}function F(){var n=(0,i.A)(["\n position: absolute;\n background-color: ",";\n padding: 2px 4px;\n border-radius: 2px;\n right: 0;\n top: -20px;\n"]);return F=function(){return n},n}function T(){var n=(0,i.A)(["\n padding: 20px;\n svg {\n display: block;\n max-width: 84px;\n margin: 0 auto;\n margin-bottom: 26px;\n }\n"]);return T=function(){return n},n}var I=o.Ay.div.withConfig({componentId:"sc-ce33c832-0"})(l(),(function(n){return n.theme.colors.neutral50}),(function(n){return n.theme.colors.primaryActive}),(function(n){return n.theme.colors.gray500})),z=o.Ay.form.withConfig({componentId:"sc-ce33c832-1"})(c(),(function(n){return n.theme.colors.neutral50}),a.M.mbDown,(function(n){return n.theme.colors.primaryActive}),(function(n){return n.theme.colors.gray500})),B=o.Ay.div.withConfig({componentId:"sc-ce33c832-2"})(s(),(function(n){return n.theme.colors.gray200}),(function(n){return n.theme.colors.white}),(function(n){return n.theme.zIndexes.onTop}),(function(n){return n.theme.colors.white})),P=o.Ay.div.withConfig({componentId:"sc-ce33c832-3"})(d(),(function(n){return n.theme.colors.neutral50}),(function(n){return n.theme.colors.white})),O=o.Ay.div.withConfig({componentId:"sc-ce33c832-4"})(u()),L=(o.Ay.div.withConfig({componentId:"sc-ce33c832-5"})(p()),o.Ay.div.withConfig({componentId:"sc-ce33c832-6"})(h(),(function(n){return n.theme.colors.white}),(function(n){return n.theme.colors.neutral100}),(function(n){return n.theme.colors.gray100}))),H=o.Ay.div.withConfig({componentId:"sc-ce33c832-7"})(g(),(function(n){return n.theme.colors.gray600}),(function(n){return n.theme.colors.gray300})),j=o.Ay.div.withConfig({componentId:"sc-ce33c832-8"})(m()),R=o.Ay.div.withConfig({componentId:"sc-ce33c832-9"})(f(),(function(n){return n.theme.colors.white}),(function(n){return n.theme.colors.primaryBase}),(function(n){return n.theme.colors.blue50}),(function(n){return n.theme.colors.yellow900}),(function(n){return n.theme.colors.yellow900})),V=o.Ay.div.withConfig({componentId:"sc-ce33c832-10"})(v()),U=o.Ay.div.withConfig({componentId:"sc-ce33c832-11"})(b(),(function(n){return n.theme.colors.neutral200}),(function(n){return n.theme.colors.gray800}),(function(n){return n.theme.sizes.fwRegular}),(function(n){return n.theme.colors.yellow900}),(function(n){return n.theme.colors.yellow900}),(function(n){return n.theme.colors.white}),(function(n){return n.theme.colors.yellow900}),(function(n){return n.theme.colors.yellow900}),(function(n){return n.theme.colors.white}),(function(n){return n.theme.colors.yellow900}),(function(n){return n.theme.colors.yellow900})),G=(o.Ay.div.withConfig({componentId:"sc-ce33c832-12"})(y(),(function(n){return n.theme.colors.neutral50})),o.Ay.div.withConfig({componentId:"sc-ce33c832-13"})(k(),(function(n){return n.theme.colors.neutral50}),(function(n){return n.theme.colors.gray400}))),q=o.Ay.img.withConfig({componentId:"sc-ce33c832-14"})(x()),K=o.Ay.div.withConfig({componentId:"sc-ce33c832-15"})(w()),W=o.Ay.div.withConfig({componentId:"sc-ce33c832-16"})(A()),J=o.Ay.div.withConfig({componentId:"sc-ce33c832-17"})(C(),a.M.mbUp),Z=o.Ay.div.withConfig({componentId:"sc-ce33c832-18"})(_(),(function(n){return n.theme.colors.gray200}),(function(n){return n.theme.colors.white}),(function(n){return n.theme.colors.blue200})),Q=o.Ay.div.withConfig({componentId:"sc-ce33c832-19"})(M(),(function(n){return n.theme.colors.primaryBase}),(function(n){return n.theme.colors.blue200})),$=o.Ay.ul.withConfig({componentId:"sc-ce33c832-20"})(D(),(function(n){return n.theme.colors.white}),(function(n){return n.theme.colors.gray200})),X=o.Ay.li.withConfig({componentId:"sc-ce33c832-21"})(Y(),(function(n){return n.theme.colors.gray100})),nn=o.Ay.div.withConfig({componentId:"sc-ce33c832-22"})(E()),en=(0,o.Ay)(r.a).withConfig({componentId:"sc-ce33c832-23"})(N()),tn=o.Ay.div.withConfig({componentId:"sc-ce33c832-24"})(S(),(function(n){return n.theme.colors.gray600})),an=o.Ay.div.withConfig({componentId:"sc-ce33c832-25"})(F(),(function(n){return n.theme.colors.green500})),rn=o.Ay.div.withConfig({componentId:"sc-ce33c832-26"})(T())},64706:function(n,e,t){"use strict";t.d(e,{e:function(){return D}});var i=t(2445),a=t(6442),r=t(24537),o=t(60304),l=t(27317),c=t(51743);function s(){var n=(0,r.A)(["\n border-radius: 4px;\n padding: 16px;\n background: ",";\n display: flex;\n justify-content: space-between;\n max-width: 375px;\n pointer-events: none;\n"]);return s=function(){return n},n}function d(){var n=(0,r.A)([""]);return d=function(){return n},n}function u(){var n=(0,r.A)(["\n min-width: 153px;\n display: flex;\n flex-direction: column;\n gap: 4px;\n"]);return u=function(){return n},n}function p(){var n=(0,r.A)(["\n .scale-point {\n font-weight: 400;\n font-size: 16px;\n line-height: 24px;\n color: ",";\n }\n .total-point {\n font-weight: 700;\n font-size: 32px;\n line-height: 42px;\n }\n"]);return p=function(){return n},n}function h(){var n=(0,r.A)(["\n font-weight: 600;\n font-size: 14px;\n line-height: 22px;\n margin: 4px 0 16px 0;\n color: ",";\n"]);return h=function(){return n},n}function g(){var n=(0,r.A)([""]);return g=function(){return n},n}function m(){var n=(0,r.A)(["\n display: flex;\n gap: 12px;\n justify-content: flex-end;\n align-items: center;\n"]);return m=function(){return n},n}function f(){var n=(0,r.A)(["\n font-weight: 400;\n font-size: 12px;\n line-height: 18px;\n flex-shrink: 0;\n color: ",";\n"]);return f=function(){return n},n}function v(){var n=(0,r.A)(["\n width: 100%;\n"]);return v=function(){return n},n}var b=l.Ay.div.withConfig({componentId:"sc-ebc9a54d-0"})(s(),(function(n){return n.theme.colors.neutral50})),y=l.Ay.div.withConfig({componentId:"sc-ebc9a54d-1"})(d()),k=l.Ay.div.withConfig({componentId:"sc-ebc9a54d-2"})(u()),x=l.Ay.div.withConfig({componentId:"sc-ebc9a54d-3"})(p(),(function(n){return n.theme.colors.gray600})),w=l.Ay.p.withConfig({componentId:"sc-ebc9a54d-4"})(h(),(function(n){return n.theme.colors.gray600})),A=(0,l.Ay)(o.b).withConfig({componentId:"sc-ebc9a54d-5"})(g()),C=l.Ay.div.withConfig({componentId:"sc-ebc9a54d-6"})(m()),_=l.Ay.p.withConfig({componentId:"sc-ebc9a54d-7"})(f(),(function(n){return n.theme.colors.gray500})),M=(0,l.Ay)(c.z).withConfig({componentId:"sc-ebc9a54d-8"})(v()),D=function(n){var e=n.ratingPoint,t=n.ratingScale,r=n.reviewCounting,o=n.percent5Stars,l=n.percent4Stars,c=n.percent3Stars,s=n.percent2Stars,d=n.percent1Star,u=n.className,p=(0,a.A)().formatMessage,h=null===e||void 0===e?void 0:e.toFixed(1);return(0,i.FD)(b,{className:u,children:[(0,i.FD)(y,{children:[(0,i.FD)(x,{children:[(0,i.Y)("span",{className:"total-point",children:h}),(0,i.Y)("span",{className:"scale-point",children:"/".concat(t)})]}),(0,i.Y)(w,{children:p({id:"common.reviewCount",defaultMessage:"{reviewCount} reviews"},{reviewCount:r})}),(0,i.Y)(A,{star:e,totalStars:t,hideEmptyStars:!1})]}),(0,i.FD)(k,{children:[(0,i.FD)(C,{children:[(0,i.Y)(_,{children:p({id:"common.ratingDetails.manyStars",defaultMessage:"{stars} stars"},{stars:5})}),(0,i.Y)(M,{percent:o})]}),(0,i.FD)(C,{children:[(0,i.Y)(_,{children:p({id:"common.ratingDetails.manyStars",defaultMessage:"{stars} stars"},{stars:4})}),(0,i.Y)(M,{percent:l})]}),(0,i.FD)(C,{children:[(0,i.Y)(_,{children:p({id:"common.ratingDetails.manyStars",defaultMessage:"{stars} stars"},{stars:3})}),(0,i.Y)(M,{percent:c})]}),(0,i.FD)(C,{children:[(0,i.Y)(_,{children:p({id:"common.ratingDetails.manyStars",defaultMessage:"{stars} stars"},{stars:2})}),(0,i.Y)(M,{percent:s})]}),(0,i.FD)(C,{children:[(0,i.Y)(_,{children:p({id:"common.ratingDetails.oneStar",defaultMessage:"1 stars"})}),(0,i.Y)(M,{percent:d})]})]})]})}},86786:function(n,e,t){"use strict";t.d(e,{x:function(){return p}});var i=t(2445),a=t(73884),r=t(60304),o=t(15762),l=t(74029),c=t(88491),s=t(73419),d=t(40959),u=t(67722),p=function(n){var e,t=n.listArticle,p=(0,c.d)().isMobile,h=(0,s.$)().locale,g=(0,a.useMemo)((function(){return p?r.D:"div"}),[p]);return(0,i.Y)("div",{className:"pb-4 md:px-6 md:pb-6",children:(0,i.Y)(g,{height:255,gapItem:12,withControls:!1,className:"md:flex md:gap-4",sx:{"& .mantine-Carousel-viewport":{padding:"0 16px"}},children:null===(e=null===t||void 0===t?void 0:t.slice(0,3))||void 0===e?void 0:e.map((function(n,e){return(0,i.Y)(o.A,{className:"w-[255px] md:w-[224px] cursor-pointer",altText:"".concat(null===n||void 0===n?void 0:n.post_title," - ").concat(d.ElQ[h].SITE_NAME_FORMATTED),article:{articleTitle:null===n||void 0===n?void 0:n.post_title,articleType:null===n||void 0===n?void 0:n.cate_name,image:(null===n||void 0===n?void 0:n.image)||l.__},doctor:{doctorName:null===n||void 0===n?void 0:n.author_name,doctorAvatar:(null===n||void 0===n?void 0:n.author_avatar)||l.k_},handleClick:function(){return(0,u.HB)("".concat(window.location.origin).concat(null===n||void 0===n?void 0:n.permalink))}},"article_post-".concat(e))}))})})}},18906:function(n,e,t){"use strict";t.d(e,{kP:function(){return a}});var i=t(40959),a=[i.Hxq.VACCINE,i.Hxq.HEALTH_SCREENER]},77604:function(n,e,t){"use strict";t.d(e,{y:function(){return a}});var i=t(73884),a=(0,i.createContext)({})},5597:function(n,e,t){"use strict";t.r(e),t.d(e,{ReviewForm:function(){return A}});var i=t(38971),a=t(53513),r=t(63538),o=t(53455),l=t(2445),c=t(73884),s=t(96816),d=t(14677),u=t(86566),p=t(3328),h=t(5792),g=t(27372),m=t(53100),f=t(67188),v=t.n(f),b=t(36259),y=t(77604),k=t(95472),x=t(70438),w=v()((function(){return Promise.all([t.e(5599),t.e(2827),t.e(3203)]).then(t.bind(t,3203)).then((function(n){return n.ReviewFormContent}))}),{loadableGenerated:{webpack:function(){return[3203]}},ssr:!1,loading:function(){return(0,l.Y)(d.s,{align:"center",justify:"center",sx:{height:"100%"},children:(0,l.Y)(s.L,{})})}}),A=function(n){var e=n.isModal,t=n.selectedService,f=n.onSuccess,v=n.innerBoxProps,A=n.contestMode,C=n.isFromDetailPage,_=n.vaccinationDetail,M=n.hospitalBranches,D=(0,o.A)(n,["isModal","selectedService","onSuccess","innerBoxProps","contestMode","isFromDetailPage","vaccinationDetail","hospitalBranches"]),Y=(0,u.xd)(),E=(0,c.useContext)(b.B).state.isMobileSsr,N=(0,m.l)().isMobile,S=(0,g.E)(E,N),F=(0,c.useState)((0,x.vc)(k.lF)),T=F[0],I=F[1],z=(0,c.useState)(A||!1),B=z[0],P=z[1],O=(0,c.useMemo)((function(){return T[k.lF.IsAnomyous]}),[T]);(0,c.useEffect)((function(){P(A||!1)}),[A]);var L=(0,c.useCallback)((function(n){P(n)}),[]),H=(0,h.o)().opened,j=function(){(0,x.JP)(Y.fn.primaryColor()),n.onClose()};return(0,l.Y)(y.y.Provider,{value:{isModal:e,selectedService:t,innerBoxProps:v,formValues:T,setFormValues:I,isAnomyous:O,isContestMode:B,isFromDetailPage:C,vaccinationDetail:_,hospitalBranches:M,onClose:j,handleChangeContestMode:L},children:e?function(){var n=D.opened,e=(D.onClose,(0,o.A)(D,["opened","onClose"]));return(0,l.Y)(p.a,(0,r.A)((0,a.A)({overlayProps:{opacity:H?0:.6},centered:!0,opened:n,fullScreen:S,zIndex:501},e),{classNames:{content:"review-modal"},size:S?void 0:551,closeOnClickOutside:!1,onClose:j,styles:{header:{display:"none"},body:{padding:0,height:"100%"},content:(0,i.A)({"&.review-modal":{height:"100%"}},Y.fn.largerThan("sm"),{height:600})},children:(0,l.Y)(c.Suspense,{fallback:(0,l.Y)(d.s,{align:"center",justify:"center",sx:{height:"100%"},children:(0,l.Y)(s.L,{})}),children:n&&(0,l.Y)(w,{onSubmit:function(n){(0,x.JP)(Y.fn.primaryColor()),null===f||void 0===f||f(n)},sx:{position:"absolute",top:0,left:0,right:0,bottom:0}})})}))}():(0,l.Y)(w,{onSubmit:f})})}},95472:function(n,e,t){"use strict";t.d(e,{gT:function(){return a},lF:function(){return l},pn:function(){return i},zb:function(){return r}});var i,a,r,o=t(53513);!function(n){n[n.FeedbackForm=0]="FeedbackForm",n[n.CollectingForm=1]="CollectingForm",n[n.ThankyouScreen=2]="ThankyouScreen"}(i||(i={})),function(n){n.SelectedService="service_type",n.SelectedClinicId="clinic_id",n.SelectedProductId="product_id",n.RateNumber="rating",n.Title="subject",n.Description="review_content",n.IsAnomyous="is_anonymous",n.ProofImage="proof_of_purchase"}(a||(a={})),function(n){n.Name="user_name",n.Phone="phone",n.Email="email"}(r||(r={}));var l=(0,o.A)({},a,r)},70438:function(n,e,t){"use strict";t.d(e,{JP:function(){return a},rj:function(){return o},vc:function(){return r}});var i=t(95472);function a(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=document.querySelector('meta[name="theme-color"]');e&&n&&e.setAttribute("content",n)}function r(n){return Object.values(n).reduce((function(n,e){var t=e!==i.lF.IsAnomyous&&(e===i.lF.RateNumber?5:"");return n[e]=t,n}),{})}function o(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return n.trim().split(/\s+/).filter(Boolean).length}},25894:function(n,e,t){"use strict";t.d(e,{X:function(){return pn}});var i=t(2445),a=t(73884),r=t(27516),o=t(32485),l=t.n(o),c=t(73419),s=t(6442),d=t(24537),u=t(61436),p=t(27317);function h(){var n=(0,d.A)([""]);return h=function(){return n},n}function g(){var n=(0,d.A)(["\n display: flex;\n justify-content: space-between;\n align-items: center;\n"]);return g=function(){return n},n}function m(){var n=(0,d.A)(["\n font-weight: 600;\n font-size: 16px;\n line-height: 24px;\n text-transform: capitalize;\n"]);return m=function(){return n},n}function f(){var n=(0,d.A)([""]);return f=function(){return n},n}function v(){var n=(0,d.A)(["\n padding: 0;\n border: none;\n background-position: right 0 center;\n :hover {\n box-shadow: none;\n outline: none;\n }\n > div {\n padding: 0 16px 0 0;\n }\n > ul {\n background: white;\n z-index: 300;\n width: 168px;\n left: unset;\n }\n"]);return v=function(){return n},n}function b(){var n=(0,d.A)(["\n cursor: pointer;\n color: ",";\n font-weight: 700;\n font-size: 16px;\n line-height: 24px;\n"]);return b=function(){return n},n}var y=p.Ay.div.withConfig({componentId:"sc-b0561180-0"})(h()),k=p.Ay.div.withConfig({componentId:"sc-b0561180-1"})(g()),x=p.Ay.p.withConfig({componentId:"sc-b0561180-2"})(m()),w=p.Ay.div.withConfig({componentId:"sc-b0561180-3"})(f()),A=(0,p.Ay)(u.D).withConfig({componentId:"sc-b0561180-4"})(v()),C=p.Ay.p.withConfig({componentId:"sc-b0561180-5"})(b(),(function(n){return n.theme.colors.primaryActive})),_=t(84091),M=t(1806),D=t(89406),Y=t(32876),E=t.n(Y),N=t(10297),S=t(45351),F=t(44410),T=t(60304);function I(){var n=(0,d.A)(["\n position: relative;\n padding: 24px 0;\n "," {\n padding: 16px 0;\n }\n &:not(:last-child) {\n border-bottom: 1px solid\n ",";\n }\n"]);return I=function(){return n},n}function z(){var n=(0,d.A)(["\n display: flex;\n justify-content: center;\n gap: 12px;\n"]);return z=function(){return n},n}function B(){var n=(0,d.A)(["\n overflow: hidden;\n width: 40px;\n height: 40px;\n flex-shrink: 0;\n object-fit: contain;\n border-radius: 50%;\n"]);return B=function(){return n},n}function P(){var n=(0,d.A)(["\n flex: 1;\n"]);return P=function(){return n},n}function O(){var n=(0,d.A)(["\n font-weight: 600;\n font-size: 16px;\n line-height: 24px;\n"]);return O=function(){return n},n}function L(){var n=(0,d.A)(["\n font-weight: 400;\n font-size: 12px;\n line-height: 18px;\n color: ",";\n"]);return L=function(){return n},n}function H(){var n=(0,d.A)(["\n justify-self: flex-end;\n"]);return H=function(){return n},n}function j(){var n=(0,d.A)(["\n margin-top: 14px;\n font-weight: 400;\n font-size: 16px;\n color: ",";\n line-height: 24px;\n"]);return j=function(){return n},n}function R(){var n=(0,d.A)(["\n cursor: pointer;\n text-decoration: none;\n display: flex;\n align-items: center;\n justify-content: space-between;\n margin-top: 12px;\n padding: 8px 12px;\n border-radius: 4px;\n background-color: ",";\n svg {\n flex-shrink: 0;\n }\n"]);return R=function(){return n},n}function V(){var n=(0,d.A)(["\n display: flex;\n align-items: center;\n gap: 12px;\n"]);return V=function(){return n},n}function U(){var n=(0,d.A)(["\n width: 24px;\n height: 24px;\n border-radius: 50%;\n object-fit: cover;\n flex-shrink: 0;\n"]);return U=function(){return n},n}function G(){var n=(0,d.A)(["\n font-weight: 600;\n font-size: 12px;\n line-height: 18px;\n display: -webkit-box;\n overflow: hidden;\n -webkit-box-orient: vertical;\n -webkit-line-clamp: 1;\n"]);return G=function(){return n},n}function q(){var n=(0,d.A)(["\n font-weight: 400;\n font-size: 12px;\n line-height: 18px;\n color: ",";\n display: -webkit-box;\n overflow: hidden;\n -webkit-box-orient: vertical;\n -webkit-line-clamp: 1;\n"]);return q=function(){return n},n}var K=p.Ay.div.withConfig({componentId:"sc-75461522-0"})(I(),F.M.mbDown,(function(n){return n.theme.colors.neutral100})),W=p.Ay.div.withConfig({componentId:"sc-75461522-1"})(z()),J=p.Ay.img.withConfig({componentId:"sc-75461522-2"})(B()),Z=p.Ay.div.withConfig({componentId:"sc-75461522-3"})(P()),Q=p.Ay.p.withConfig({componentId:"sc-75461522-4"})(O()),$=p.Ay.p.withConfig({componentId:"sc-75461522-5"})(L(),(function(n){return n.theme.colors.gray600})),X=(0,p.Ay)(T.b).withConfig({componentId:"sc-75461522-6"})(H()),nn=p.Ay.p.withConfig({componentId:"sc-75461522-7"})(j(),(function(n){return n.theme.colors.gray600})),en=p.Ay.a.withConfig({componentId:"sc-75461522-8"})(R(),(function(n){return n.theme.colors.neutral50})),tn=p.Ay.div.withConfig({componentId:"sc-75461522-9"})(V()),an=p.Ay.img.withConfig({componentId:"sc-75461522-10"})(U()),rn=p.Ay.p.withConfig({componentId:"sc-75461522-11"})(G()),on=p.Ay.p.withConfig({componentId:"sc-75461522-12"})(q(),(function(n){return n.theme.colors.gray600})),ln=t(40959),cn=t(52099),sn=function(n){var e=n.doctorInfo;if(!e)return null;var t=(0,_.Zo)(e)+"/";return(0,i.Y)(E(),{href:t,children:(0,i.FD)(en,{children:[(0,i.FD)(tn,{children:[(0,i.Y)(an,{src:e.avatar}),(0,i.FD)("div",{children:[(0,i.Y)(rn,{children:e.name}),(0,i.Y)(on,{children:e.description})]})]}),(0,i.Y)(cn.A,{})]})})},dn=function(n){var e=n.serviceInfo;if(!e)return null;var t=(0,_.pN)(e)+"/";return(0,i.Y)(E(),{href:t,children:(0,i.FD)(en,{children:[(0,i.FD)(tn,{children:[(0,i.Y)(an,{src:e.logo}),(0,i.FD)("div",{children:[(0,i.Y)(rn,{children:e.name}),(0,i.Y)(on,{children:e.description})]})]}),(0,i.Y)(cn.A,{})]})})},un=function(n){var e=n.author,t=n.createdTime,a=n.content,r=n.rating,o=n.ratingScale,l=n.bookingType,c=n.doctorInfo,s=n.serviceInfo,d=t?(0,M.A)(t):new Date,u=(0,N.useRouter)().locale;return(0,i.FD)(K,{children:[(0,i.FD)(W,{children:[(0,i.Y)(J,{src:(null===e||void 0===e?void 0:e.avatar)||"".concat(ln.JpE,"/images/avatar.jpg"),alt:null===e||void 0===e?void 0:e.name}),(0,i.FD)(Z,{children:[(0,i.Y)(Q,{children:null===e||void 0===e?void 0:e.name}),(0,i.Y)($,{children:(0,D.A)(d,{locale:S.tV[u],addSuffix:!0})})]}),(0,i.Y)(X,{star:r,totalStars:o,size:12})]}),"doctor"===l&&(0,i.Y)(sn,{doctorInfo:c}),"service"===l&&(0,i.Y)(dn,{serviceInfo:s}),(0,i.Y)(nn,{children:a})]})},pn=function(n){var e=n.reviews,t=n.totalReview,o=n.className,d=n.sortOption,u=n.onChangeSortOption,p=n.onGetAllReviews,h=n.pagination,g=n.showExtraInfo,m=(0,s.A)().formatMessage,f=(0,c.$)(),v=f.locale,b=void 0===v?"vi-VN":v,_=f.asPath,M=[{label:m({id:"common.sortOptions.lowestRatingFirst",defaultMessage:"Lowest Rating First"}),value:"LOWEST_RATING"},{label:m({id:"common.sortOptions.highestRatingFirst",defaultMessage:"Highest Rating First"}),value:"HIGHEST_RATING"},{label:m({id:"common.sortOptions.recentFirst",defaultMessage:"Most Recent First"}),value:"RECENT_FIRST"},{label:m({id:"common.sortOptions.oldestFirst",defaultMessage:"Oldest First"}),value:"OLDEST_FIRST"}],D=(0,a.useMemo)((function(){return M.find((function(n){return n.value===ln.Z35}))||M[2]}),[M]),Y=d||D;return(0,i.FD)(y,{className:l()(o),children:[(0,i.FD)(k,{children:[(0,i.Y)(x,{children:m({id:"common.reviewCount",defaultMessage:"{reviewCount} reviews"},{reviewCount:t})}),(0,i.Y)(A,{options:M,placeholder:"Sort by",size:"sm",value:Y,id:"1",onChange:u,dropdownLabelTrackingAttributes:{"data-event-category":"Care","data-event-action":"Review Filter Click","data-event-label":"https://".concat(r.y[b]).concat(ln.JpE).concat(_)}})]}),(0,i.Y)(w,{children:e.map((function(n){var e;return(0,i.Y)(un,{author:{name:n.booking.patient.name,avatar:n.booking.patient.avatar||""},createdTime:n.createdAt,content:n.feedback,rating:n.rate,ratingScale:ln.Efn,bookingType:g?n.booking.bookingType:void 0,doctorInfo:g?n.booking.doctor:void 0,serviceInfo:null===(e=n.booking)||void 0===e?void 0:e.hospitalService},n.id)}))}),h&&h.currentPage0&&void 0!==e[0]?e[0]:{},[4,(0,m.px)((0,m.er)(g.R.GET_USER_REVIEWS_V4),"GET",{params:n})];case 1:return[2,t.sent().data]}}))})),getReviewById:function(){var n=(0,p.A)((function(n){return(0,h.__generator)(this,(function(e){switch(e.label){case 0:return[4,(0,m.px)((0,m.er)(g.R.GET_REVIEW_BY_ID,{id:n}),"GET")];case 1:return[2,e.sent().data]}}))}));return function(e){return n.apply(this,arguments)}}()};var v,b=function(n){var e=n.reviewID,t=(0,l.useState)(null),i=t[0],a=t[1],r=(0,l.useState)(!1),o=r[0],c=r[1];function s(){return(s=(0,p.A)((function(n){var e,t;return(0,h.__generator)(this,(function(i){switch(i.label){case 0:return i.trys.push([0,2,3,4]),c(!0),[4,f.getReviewById(n)];case 1:return e=i.sent(),a(e),[2,e];case 2:return t=i.sent(),console.error(t),[2,null];case 3:return c(!1),[7];case 4:return[2]}}))}))).apply(this,arguments)}return(0,l.useEffect)((function(){"string"===typeof e&&e?function(n){s.apply(this,arguments)}(e):a(null)}),[e]),{reviewData:i,isLoading:o}},y=t(13495),k=t(2543),x=t(67188),w=t.n(x),A=t(10297),C=t(6442),_=t(99841);!function(n){n.ALL="all",n.STAR_5="5",n.STAR_4="4",n.STAR_3="3"}(v||(v={}));var M=[{label:"userReview.allReviews",value:v.ALL,filterKey:"rating",isAll:!0},{label:"common.rating.5Stars",value:v.STAR_5,filterKey:"rating"},{label:"common.rating.4Stars",value:v.STAR_4,filterKey:"rating"},{label:"common.rating.lessEqual3Stars",value:v.STAR_3,filterKey:"rating"}],D=t(11851),Y=t(44410),E=t(3328),N=t(48085),S=((0,N.D)(16),d.w.colors.gray200,(0,D.A)("div",{target:"e1lexudx1"})("display:flex;flex-direction:column;align-items:center;justify-content:center;gap:",(0,N.D)(12),";padding:",(0,N.D)(20)," 0;min-height:",(0,N.D)(160),";")),F=(0,D.A)("div",{target:"e1lexudx2"})("padding:",(0,N.D)(4)," 0 ",(0,N.D)(16)," 0;& div .snap-center{",Y.M.mbUp,"{font-size:",(0,N.D)(15),";line-height:",(0,N.D)(24),";letter-spacing:",(0,N.D)(-.3),";}}"),T=(0,D.A)("div",{target:"e1lexudx3"})("& button{",Y.M.mbUp,"{border:1px solid ",d.w.colors.gray200,";border-radius:",(0,N.D)(12),";p{font-size:",(0,N.D)(15),";font-weight:400;line-height:",(0,N.D)(24),";letter-spacing:",(0,N.D)(-.3),";}}}"),I=t(53455),z=function(){var n=(0,p.A)((function(n){var e,t,a,r,o,l,c,s,d,u,p;return(0,h.__generator)(this,(function(h){switch(h.label){case 0:e=n.page,t=n.pageSize,a=n.filters,r=void 0===a?{}:a,h.label=1;case 1:return h.trys.push([1,3,,4]),o=r.rating,l=(0,I.A)(r,["rating"]),c=function(n){switch(n){case v.ALL:return{};case v.STAR_5:case v.STAR_4:return{rating_gte:n,rating_lte:n};case v.STAR_3:return{rating_lte:n};default:return{}}}(o),s=(0,i.A)({per_page:t,page:e},l,c),[4,f.getUserReviews(s)];case 2:return d=h.sent(),u=d.reviews,p=d.pagination,[2,{data:u,total:(null===p||void 0===p?void 0:p.total_items)||0,page:e}];case 3:return h.sent(),[2,{data:[],total:0,page:e}];case 4:return[2]}}))}));return function(e){return n.apply(this,arguments)}}(),B=w()((function(){return t.e(5597).then(t.bind(t,5597)).then((function(n){return n.ReviewForm}))}),{loadableGenerated:{webpack:function(){return[5597]}},ssr:!1}),P=function(n){return(0,o.Y)(u.E,(0,i.A)({bg:d.w.colors.neutral100,radius:99},n))},O=function(){return(0,o.FD)("div",{className:"flex flex-col gap-2 border-t border-solid border-t-neutral100 pt-4",children:[(0,o.FD)("div",{className:"flex gap-4 items-center",children:[(0,o.Y)(P,{w:28,h:28}),(0,o.Y)(P,{w:"40%",h:20}),(0,o.Y)(P,{className:"ml-auto",w:"30%",h:20})]}),(0,o.Y)(P,{w:"30%",h:20}),(0,o.Y)(P,{w:"50%",h:20}),(0,o.Y)(P,{w:"50%",h:20})]})},L=function(n){var e=n.data,t=n.refetchList,u=n.showReviewForm,p=n.setShowReviewForm,h=n.isContestMode,g=(0,C.A)().formatMessage,m=e.service_type,f=e.id,x=e.name,w=e.hospital_branch_lists,D=(0,c.u)(),Y=D.handleUpdateFilter,E=D.items,N=D.filters,I=(0,A.useRouter)(),z=I.query,P=I.replace,L=I.pathname,H=b({reviewID:z.reviewID}).reviewData,j=(0,o.Y)("div",{className:"space-y-3",children:Array.from({length:3}).map((function(n,e){return(0,o.Y)(O,{},e)}))}),R=(0,o.Y)(S,{children:(0,o.Y)(s.T,{size:"p2",fw:500,color:d.w.colors.gray400,children:g({id:"filter.noResults",defaultMessage:"No result"})})}),V=(0,y.d)({service_type:m,hospital_branch_lists:w}),U=function(){return p(!1)},G=(0,l.useMemo)((function(){return M.map((function(n){return(0,a.A)((0,i.A)({},n),{label:g({id:n.label})})}))}),[g]);(0,l.useEffect)((function(){Y({})}),[]),(0,l.useEffect)((function(){N.rating&&N.rating!==v.ALL&&P({pathname:L,query:(0,k.omit)(z,"reviewID")},void 0,{shallow:!0})}),[N]);var q=(0,l.useMemo)((function(){return H&&e.id===H.product_id?[(0,a.A)((0,i.A)({},H),{hospital_branch_logo:e.hospital_branch.logo,hospital_branch_name:e.hospital_branch.name,hospital_id:e.organization.id})].concat((0,r.A)(E.filter((function(n){return n.id!==H.id})))):E}),[H,E]);return(0,o.FD)(o.FK,{children:[(0,o.Y)(F,{children:(0,o.Y)(c.L.QuickFilter,{filterOptions:G})}),(0,o.FD)(c.L.Content,{customLoading:j,customEmpty:R,children:[(0,o.Y)(_.A,{vaccinationHospitalId:e.organization.id,vaccinationHospitalName:e.organization.name,userReviews:q}),(0,o.Y)(T,{children:(0,o.Y)(c.L.LoadMore,{renderLoadMore:function(n){return function(n){return(0,o.Y)(s.T,{size:"p3",fw:500,color:d.w.colors.gray700,children:g({id:"userReview.loadMore",defaultMessage:"Load more {item} reviews"},{item:n})})}(n.last)}})})]}),(0,o.Y)(B,{isModal:!0,opened:u,selectedService:{type:m,product:{id:f,name:x},hospital_branch:V},onSuccess:function(){U(),t(),Y({rating:v.ALL})},onClose:U,contestMode:h,hospitalBranches:w})]})},H=function(n){var e=n.data,t=n.refetchList,i=n.showReviewForm,a=n.setShowReviewForm,r=n.isContestMode,l=n.className,s=e.service_type,d=e.id;return(0,o.Y)("div",{className:l,children:(0,o.Y)(c.L.Provider,{fetcher:z,defaultFilters:{product_ids:String(d),service_types:s,rating:v.ALL},defaultLoading:!0,children:(0,o.Y)(L,{data:e,refetchList:t,showReviewForm:i,setShowReviewForm:a,isContestMode:r})})})}},5792:function(n,e,t){"use strict";t.d(e,{A:function(){return N},o:function(){return E}});var i=t(53513),a=t(63538),r=t(40568),o=t(2445),l=t(73884),c=t(71572),s=t(86604),d=t(3328),u=t(39530),p=t(40279),h=t(10813),g=t(27372),m=t(53100),f=t(90179),v=t.n(f),b=t(10297),y=t(6442),k=t(36259),x=t(89312),w=t(46345),A=t(11851),C=t(35291),_=t(48085),M=t(40959),D=(0,A.A)(d.a.Body,{target:"e1tk7hgu0"})("display:flex;flex-direction:column;padding:",(0,_.D)(16),";.mantine-Button-root{border:1px solid ",C.w.colors.gray200,";}"),Y=(0,A.A)(d.a.Root,{target:"e1tk7hgu1"})("z-index:",M.Mue.modal,";position:relative;.mantine-Paper-root{height:100dvh;.mantine-Modal-header{padding:",(0,_.D)(12),";svg{width:",(0,_.D)(24),";height:",(0,_.D)(24),";position:absolute;}.mantine-Text-root{margin-left:auto;margin-right:auto;}}}"),E=function(){var n=(0,b.useRouter)(),e="dedicated-user-reviews"===n.query.view,t=(0,r.A)((0,p.j)(e),2),o=t[0],l=t[1],c=l.open,s=l.close;return{opened:o,openModal:function(){c(),n.push({pathname:n.pathname,query:(0,a.A)((0,i.A)({},v()(n.query,"reviewID")),{view:"dedicated-user-reviews"})},void 0,{shallow:!0})},closeModal:function(){s();var e=v()(n.query,["view","reviewID"]);n.push({pathname:n.pathname,query:e},void 0,{shallow:!0})}}},N=function(n){var e=n.data,t=n.onClose,i=n.opened,a=n.refetchList,r=n.trackerMap,p=e.service_type,f=e.contest,v=e.start_time_contest_mode,b=e.end_time_contest_mode,A=(0,y.A)().formatMessage,C=(0,l.useState)(!1),_=C[0],M=C[1],E=(0,h.H)({contest:!!f,start_time_contest_mode:v,end_time_contest_mode:b}).isContestMode,N=(0,l.useContext)(k.B).state.isMobileSsr,S=(0,m.l)().isMobile,F=(0,g.E)(N,S);return(0,o.Y)(o.FK,{children:(0,o.FD)(Y,{opened:i,onClose:t,fullScreen:F,size:F?void 0:551,closeOnEscape:!_,transitionProps:{transition:"fade",duration:300},children:[(0,o.Y)(d.a.Overlay,{}),(0,o.Y)(d.a.Content,{children:(0,o.FD)(u.F,{scrollbarSize:6,h:"100%",w:"100%",type:"hover",children:[(0,o.FD)(d.a.Header,{children:[(0,o.Y)(s.A,{onClick:t,className:"cursor-pointer align-start"}),(0,o.Y)(c.T,{size:"p2",fw:600,children:A({id:"userReview.allReviews"})})]}),(0,o.FD)(D,{children:[(0,o.Y)(x.A,{serviceType:p,onClickReview:function(){return M(!0)},dataTracking:r.clickWriteReview,contestMode:E}),(0,o.Y)(w.A,{data:e,showReviewForm:_,setShowReviewForm:M,refetchList:a,isContestMode:E})]})]})})]})})}},99841:function(n,e,t){"use strict";t.d(e,{A:function(){return j}});var i=t(81539),a=t(2445),r=t(35291),o=t(71572),l=t(88491),c=t(6442),s=t(73884),d=t(37597),u=t(26273),p=t(94858),h=t(57387),g=t(32485),m=t.n(g),f=t(73419),v=t(45351),b=[{bg:r.w.colors.blue50,color:r.w.colors.blue600},{bg:r.w.colors.green50,color:r.w.colors.green700},{bg:r.w.colors.yellow50,color:r.w.colors.yellow700}],y=t(24537),k=t(44410),x=t(48085),w=t(27317);function A(){var n=(0,y.A)(["\n padding: "," 0;\n"]);return A=function(){return n},n}function C(){var n=(0,y.A)(["\n margin-left: auto;\n display: flex;\n align-items: center;\n gap: ",";\n\n "," {\n gap: ",";\n }\n\n div {\n gap: ",";\n svg {\n width: ",";\n height: ",";\n\n "," {\n width: ",";\n height: ",";\n }\n }\n }\n"]);return C=function(){return n},n}function _(){var n=(0,y.A)(["\n display: flex;\n align-items: center;\n gap: ",";\n margin-bottom: ",";\n\n .mantine-Badge-root {\n width: ",";\n height: ",";\n padding: 0;\n margin-right: ",";\n\n .mantine-Badge-inner {\n display: flex;\n align-items: center;\n justify-content: center;\n }\n }\n"]);return _=function(){return n},n}function M(){var n=(0,y.A)(["\n display: flex;\n flex-direction: column;\n gap: ",";\n"]);return M=function(){return n},n}var D=w.Ay.div.withConfig({componentId:"sc-c0a5b9d8-0"})(A(),(0,x.D)(20)),Y=w.Ay.div.withConfig({componentId:"sc-c0a5b9d8-1"})(C(),(0,x.D)(2),k.M.mbUp,(0,x.D)(6),(0,x.D)(0),(0,x.D)(12),(0,x.D)(12),k.M.mbUp,(0,x.D)(20),(0,x.D)(20)),E=w.Ay.div.withConfig({componentId:"sc-c0a5b9d8-2"})(_(),(0,x.D)(2),(0,x.D)(12),(0,x.D)(28),(0,x.D)(28),(0,x.D)(8)),N=w.Ay.div.withConfig({componentId:"sc-c0a5b9d8-3"})(M(),(0,x.D)(8)),S=t(95456),F=t(18502),T=t(74029),I=t(11851),z=(0,I.A)("div",{target:"e1jw77ct0"})("border-radius:12px;padding:12px;background-color:#f7f9fc;"),B=function(n){var e=n.logo,t=n.response,i=n.created_at,r=n.name,d=(0,c.A)().formatMessage,u=(0,s.useRef)(null),p=(0,l.d)().isMobile;return(0,a.Y)(z,{children:(0,a.FD)("div",{className:"flex flex-col gap-2",children:[(0,a.FD)("div",{className:"flex gap-3 items-center",children:[(0,a.Y)(F.I,{src:e||T.__,alt:r,width:24,height:24,className:"rounded-full object-cover shrink-0"}),(0,a.Y)(o.T,{size:p?"p3":"title2",fw:500,color:"gray1000",lineClamp:2,children:r})]}),(0,a.Y)("div",{ref:u,children:(0,a.Y)(o.T,{size:p?"p3":"p2",fw:400,color:"gray700",children:(0,a.Y)(O,{maxLength:p?85:200,content:t,className:"!text-primaryBase",textId:"reviewForm.clinicResponse.more"})})}),i&&(0,a.Y)(o.T,{size:"c1",fw:500,color:"gray400",className:"!text-[11px]",children:(0,v.vq)(i,d)})]})})},P=t(40959),O=function(n){var e=n.content,t=n.maxLength,i=void 0===t?200:t,r=n.textId,l=n.className,d=(0,s.useState)(!1),u=d[0],p=d[1],h=(0,c.A)().formatMessage;if(!e)return null;var g=e.length>i,f=u||!g?e:e.slice(0,i).trim()+" \u2026 ";return(0,a.FD)("span",{children:[f,g&&!u&&(0,a.Y)(o.T,{as:"span",onClick:function(){return p(!0)},underline:!0,className:m()(l,"cursor-pointer"),children:h({id:r||"userReview.readMore"})})]})},L=function(n){var e=n.userReview,t=n.className,i=n.index,g=n.isLastItem,y=n.isSameHospital,k=e.user_name,x=e.rating,w=e.review_content,A=e.created_at,C=e.subject,_=e.is_anonymous,M=e.id,F=e.response_content,T=e.response_content_created_at,I=e.response_content_updated_at,z=e.hospital_branch_logo,L=e.hospital_branch_name,H=e.hospital_name,j=b[i%3],R=(0,c.A)().formatMessage,V=(0,f.$)().locale,U=(0,l.d)().isMobile,G=(0,s.useMemo)((function(){return _?R({id:"userReview.anonymousUser"}):k&&k.trim().length>0?k.trim():R({id:"userReview.user"},{id:M})}),[R,k,_,M]),q=y?e.hospital_branch_name:R({id:"userReview.trustedClinic",defaultMessage:"Trusted Clinic"});return(0,a.FD)(D,{className:(0,p.A)(t,g?"border-b-0":"border-b border-gray200 border-solid"),children:[(0,a.FD)(E,{children:[_?(0,a.Y)(h.E,{children:(0,a.Y)(S.Y,{src:"".concat(P.JpE,"/svg/anonymous-avatar.svg"),alt:"anonymous avatar",width:28,height:28,objectFit:"contain"})}):(0,a.Y)(h.E,{bg:j.bg,children:(0,a.Y)(o.T,{size:"p3",fw:500,color:j.color,children:G.charAt(0)})}),(0,a.Y)(o.T,{size:U?"p3":"title2",fw:500,color:r.w.colors.gray1000,children:G}),(0,a.FD)(Y,{children:[(0,a.Y)(o.T,{size:U?"c2":"p2",color:r.w.colors.gray1000,children:Number(e.rating).toFixed(1)}),(0,a.Y)(d.t,{value:x,readOnly:!0})]})]}),(0,a.FD)(N,{children:[(0,a.Y)(o.T,{size:U?"p3":"title2",fw:600,children:C}),(0,a.Y)(o.T,{size:U?"p3":"p2",color:r.w.colors.gray700,children:(0,a.Y)(O,{content:w,maxLength:U?200:300})}),(0,a.FD)(o.T,{size:U?"c2":"p3",color:r.w.colors.gray400,className:m()("!leading-4",{"flex items-center":V!==u.L.Vietnam}),fw:500,children:[(0,v.vq)(A,R),(0,a.Y)("span",{className:"text-[8px] mx-1",children:" \u2022 "}),q]})]}),F&&(0,a.Y)("div",{className:"pt-4 not-last:pb-[20px]",children:(0,a.Y)(B,{logo:z,response:F,name:L||H,created_at:I||T})})]})},H=(0,I.A)("div",{target:"e1eco5ax0"})("margin-top:",(0,x.D)(20),";"),j=function(n){var e=n.vaccinationHospitalId,t=n.vaccinationHospitalName,s=n.userReviews,d=(0,c.A)().formatMessage,u=(0,l.d)().isMobile,p=(0,i.A)(s).filter((function(n){return n.hospital_id===e})),h=(0,i.A)(s).filter((function(n){return n.hospital_id!==e})),g=function(n,e,t){return n.length>0&&(0,a.FD)(H,{children:[(0,a.Y)(o.T,{size:u?"p2":"title1",color:r.w.colors.gray1000,className:"mb-[9px]",weight:"halfBold",children:e}),n.map((function(e,i){return(0,a.Y)(L,{isLastItem:i===n.length-1,userReview:e,index:i,isSameHospital:t},e.id)}))]})};return(0,a.FD)(a.FK,{children:[g(p,d({id:"userReview.reviewFromCurrentHospital",defaultMessage:"Reviews from {hospital_name}"},{hospital_name:t}),!0),g(h,d({id:"userReview.reviewFromOtherHospital",defaultMessage:"Reviews from Other Clinics"}))]})}},98554:function(n,e,t){"use strict";t.d(e,{A:function(){return C}});var i=t(53513),a=t(63538),r=t(2445),o=t(73884),l=t(35291),c=t(25403),s=t(71572),d=t(45295),u=t(88491),p=t(10813),h=t(13495),g=t(73419),m=t(67188),f=t.n(m),v=t(6442),b=t(89312),y=t(99841),k=t(11851),x=t(48085),w=(0,k.A)("div",{target:"eaynbmd0"})("display:flex;flex-direction:column;padding:0 ",(0,x.D)(16),";.mantine-Button-root{margin:",(0,x.D)(24)," 0;height:",(0,x.D)(48),";}"),A=f()((function(){return t.e(5597).then(t.bind(t,5597)).then((function(n){return n.ReviewForm}))}),{loadableGenerated:{webpack:function(){return[5597]}},ssr:!1}),C=function(n){var e=n.userReviews,t=n.vaccinationDetail,m=n.onViewAll,f=n.refetchList,k=n.trackerMap,x=t||{},C=x.id,_=x.name,M=x.hospital_branch_lists,D=x.contest,Y=x.start_time_contest_mode,E=x.end_time_contest_mode,N=(0,v.A)().formatMessage,S=Array.isArray(e)&&e.length>0,F=(0,u.d)().isMobile,T=(0,g.$)(),I=T.push,z=T.query,B=S?e:[],P=(0,o.useState)(!1),O=P[0],L=P[1],H=(0,h.d)({service_type:t.service_type,hospital_branch_lists:M}),j=function(){return L(!1)},R=(0,p.A)({contest:!!D,start_time_contest_mode:Y,end_time_contest_mode:E}).isContestMode;return(0,r.FD)(r.FK,{children:[(0,r.FD)(w,{children:[(0,r.Y)(b.A,{serviceType:t.service_type,onClickReview:function(){F?L(!0):(0,d.S)(T,null===t||void 0===t?void 0:t.slug,C)},dataTracking:k.clickWriteReview,contestMode:R}),(0,r.Y)(y.A,{vaccinationHospitalId:t.organization.id,vaccinationHospitalName:t.organization.name,userReviews:B}),S&&(0,r.Y)(c.B,(0,a.A)((0,i.A)({variant:"tertiary",onClick:function(){if(F)m();else{if(!Array.isArray(z.slug))return;var n=z.slug.join("/"),e="/".concat(n,"/reviews/");I(e)}}},k.clickViewAllReviews),{children:(0,r.Y)(s.T,{size:"p2",fw:500,color:l.w.colors.gray700,children:N({id:"userReview.viewAll"})})}))]}),(0,r.Y)(A,{isModal:!0,opened:O,selectedService:{type:t.service_type,product:{id:C,name:_},hospital_branch:H},onSuccess:function(){j(),f()},onClose:j,contestMode:R,hospitalBranches:M})]})}},45293:function(n,e,t){"use strict";var i=t(2445),a=t(35291),r=t(71572),o=t(74029),l=t(84091),c=t(32485),s=t.n(c),d=t(44523),u=t(88491),p=t(6442);e.A=function(n){var e=n.organization,t=n.hospitalBranches,c=void 0===t?[]:t,h=n.className,g=(0,u.d)().isMobile,m=(0,p.A)().formatMessage,f=c.length>1?(0,l.TD)(e):(0,l.eP)((0,o.a6)(c[0]));return(0,i.FD)("div",{className:s()("flex flex-col md:flex-row justify-between",h),children:[(0,i.Y)(r.T,{className:"py-3 md:py-0",size:"p2",weight:"semiBold",color:a.w.colors.gray1000,children:null===e||void 0===e?void 0:e.name}),(0,i.Y)(d.A,{href:f,children:(0,i.Y)(r.T,{underline:!0,size:g?"p3":"p2",color:a.w.colors.gray700,children:m({id:"organizationPage.orgInfo",defaultMessage:"View organization details"})})})]})}},55550:function(n,e,t){"use strict";t.d(e,{A:function(){return h}});var i=t(2445),a=t(73884),r=t(84091),o=t(73419),l=t(6442),c=t(24537);function s(){var n=(0,c.A)(["\n display: flex;\n flex-direction: column;\n gap: 8px;\n margin-bottom: 16px;\n"]);return s=function(){return n},n}var d=t(27317).Ay.div.withConfig({componentId:"sc-435f3aa2-0"})(s()),u=t(74834),p=t(40959),h=function(n){var e=n.vouchers,t=void 0===e?[]:e,c=n.className,s=n.justCampaignName,h=void 0===s||s,g=n.allowPaymentMethods,m=void 0===g?[]:g,f=(0,l.A)().formatMessage,v=(0,o.$)().locale,b=(0,a.useMemo)((function(){return t.filter((function(n){return!(31===n.code&&!m.includes(p.JZw.VNPAY))}))}),[t]);return b.length?(0,i.Y)(d,{className:c,children:b.map((function(n,e){if(n.communication_type===p.ngb.offline)return(0,i.Y)(u.A,{bgColor:"#E3F2FF",iconColor:"#2D87F3"},e);var t="#FFF8E2",a="#FC7419",o=function(n){var e="",t=n.name;return n.sponsor!==p.tUi.momo&&n.sponsor!==p.tUi.vnpay||(t=n.sponsor),n.voucher.discount_amount&&(e=(0,r.UN)(n.voucher.discount_amount,v)),n.voucher.discount_percentage&&(e="".concat(Math.round(Number(n.voucher.discount_percentage))," %")),h?t:f({id:"voucher.discount.info",defaultMessage:"Gift from {campaign} gi\u1ea3m {discount}"},{campaign:t?'"'.concat(t,'"'):t,discount:e})}(n);return n.sponsor===p.tUi.hhg&&(t="#E3F2FF",a="#2D87F3"),(0,i.Y)(u.A,{title:o,bgColor:t,iconColor:a,showTooltip:!1},e)}))}):null}},69831:function(n,e,t){"use strict";t.d(e,{$X:function(){return O},F1:function(){return I},Fe:function(){return S},KL:function(){return Y},Lv:function(){return H},Sp:function(){return T},Sy:function(){return j},Zu:function(){return F},_4:function(){return E},gw:function(){return N},qj:function(){return B},rf:function(){return D},sV:function(){return L},w2:function(){return z},y1:function(){return P}});var i=t(24537),a=t(44410),r=t(10333),o=t(27317);function l(){var n=(0,i.A)(["\n .heading-available-for {\n max-width: 85px;\n }\n table {\n .wrapper-price-doctor {\n font-size: 14px;\n color: ",";\n line-height: 1.55;\n\n &.all-enable-schedule {\n flex-direction: column;\n align-items: center;\n }\n }\n }\n"]);return l=function(){return n},n}function c(){var n=(0,i.A)(["\n display: flex;\n align-items: center;\n justify-content: space-between;\n padding: 12px 8px;\n padding-left: 24px;\n\n "," {\n z-index: 2;\n position: relative;\n background-color: ",";\n }\n "," {\n padding: 8px 24px;\n }\n "," {\n padding: 15px 24px;\n }\n\n #doctor-specialty {\n min-width: 250px;\n /* display: flex;\n flex-direction: column;\n justify-content: center;\n margin-left: 8px;\n\n & > div {\n padding: 8px;\n padding-right: 36px;\n } */\n }\n\n > div {\n display: flex;\n }\n\n .upload-dropdown {\n width: 150px;\n margin-right: 4px;\n cursor: pointer;\n\n ul {\n z-index: 9;\n }\n }\n\n "," {\n .dropdown-menu {\n [class*='StyledKebab'] {\n justify-content: flex-end;\n }\n }\n }\n"]);return c=function(){return n},n}function s(){var n=(0,i.A)(["\n display: flex;\n align-items: center;\n\n > * {\n margin-right: 16px;\n\n "," {\n &:last-child {\n margin-right: 0;\n }\n }\n }\n .input-search {\n input {\n min-width: 180px;\n height: 40px;\n }\n }\n"]);return s=function(){return n},n}function d(){var n=(0,i.A)(["\n table :is(td:first-child, th:first-child) {\n width: 40%;\n }\n\n table :is(td:nth-child(2), th:nth-child(2)) {\n width: 10%;\n }\n\n table :is(td:nth-child(3), th:nth-child(3)) {\n width: 15%;\n }\n\n table :is(td:nth-child(4), th:nth-child(4)) {\n width: 10%;\n }\n\n table :is(td:nth-child(5), th:nth-child(5)) {\n width: 10%;\n }\n\n table :is(td:nth-child(6), th:nth-child(6)) {\n width: 10%;\n }\n\n table :is(td:nth-child(7), th:nth-child(7)) {\n width: 5%;\n }\n"]);return d=function(){return n},n}function u(){var n=(0,i.A)(["\n display: flex;\n align-items: center;\n\n img {\n margin-right: 16px;\n }\n"]);return u=function(){return n},n}function p(){var n=(0,i.A)([""]);return p=function(){return n},n}function h(){var n=(0,i.A)(["\n display: flex;\n\n &[class] thead > tr > th {\n top: 64px;\n }\n"]);return h=function(){return n},n}function g(){var n=(0,i.A)(["\n display: flex;\n justify-content: flex-end;\n padding: 16px;\n\n "," {\n padding: 24px;\n justify-content: center;\n }\n\n "," {\n padding-left: 16px;\n padding-right: 16px;\n }\n"]);return g=function(){return n},n}function m(){var n=(0,i.A)(["\n display: flex;\n min-height: 50%;\n\n &.disabled-edit {\n .setting-panel,\n .setting-schedule {\n opacity: 0.5;\n pointer-events: none;\n }\n }\n\n "," {\n flex-wrap: wrap;\n }\n"]);return m=function(){return n},n}function f(){var n=(0,i.A)(["\n width: 30%;\n max-width: 400px;\n padding: 24px;\n border-right: 1px solid\n ",";\n "," {\n padding: 24px;\n width: 40%;\n }\n "," {\n width: 100%;\n border-right: none;\n padding: 24px 16px;\n max-width: 100%;\n }\n .title {\n margin-top: 12px;\n margin-bottom: 10px;\n color: ",";\n font-size: 14px;\n line-height: 22px;\n }\n label {\n font-size: 14px;\n }\n .range-selection {\n margin-top: 8px;\n input {\n margin-top: 8px;\n }\n label {\n margin-top: 5px;\n }\n\n & > div {\n width: 100%;\n margin-right: 0;\n\n &:last-child {\n margin-bottom: 0;\n }\n }\n }\n .heading {\n margin-top: 40px;\n }\n .time-selection {\n label {\n //margin-right: 36px;\n }\n }\n"]);return f=function(){return n},n}function v(){var n=(0,i.A)(["\n position: relative;\n\n .selectable {\n position: absolute;\n z-index: 1;\n left: 0;\n top: 100%;\n }\n .selectable\n .DayPicker-Day--selected:not(.DayPicker-Day--start):not(.DayPicker-Day--end):not(.DayPicker-Day--outside) {\n background-color: "," !important;\n color: #4a90e2;\n }\n .selectable .DayPicker-Day {\n border-radius: 0 !important;\n }\n .selectable .DayPicker-Day--start {\n border-bottom-left-radius: 50% !important;\n border-top-left-radius: 50% !important;\n }\n .selectable .DayPicker-Day--end {\n border-bottom-right-radius: 50% !important;\n border-top-right-radius: 50% !important;\n }\n"]);return v=function(){return n},n}function b(){var n=(0,i.A)(["\n max-width: 340px;\n margin-top: 8px;\n"]);return b=function(){return n},n}function y(){var n=(0,i.A)(["\n padding: 24px;\n flex: 1;\n "," {\n width: 100%;\n padding: 24px 16px;\n }\n .toggle-value {\n margin-top: 6px;\n margin-left: 10px;\n font-size: 14px;\n font-weight: 600;\n }\n .disabled {\n background-color: ",";\n }\n .active {\n background-color: #f7f9fc;\n }\n .title {\n margin-top: 8px;\n margin-bottom: 16px;\n color: ",";\n font-size: 14px;\n line-height: 22px;\n }\n"]);return y=function(){return n},n}function k(){var n=(0,i.A)(["\n width: 60%;\n margin: 40px auto;\n "," {\n width: 100%;\n padding-left: 16px;\n padding-right: 16px;\n }\n .btn_link {\n display: flex;\n cursor: pointer;\n svg {\n margin-right: 8px;\n }\n .link {\n font-size: 14px;\n }\n }\n .small_title {\n margin-top: 8px;\n font-size: 12px;\n }\n"]);return k=function(){return n},n}function x(){var n=(0,i.A)(["\n display: flex;\n justify-content: space-between;\n"]);return x=function(){return n},n}function w(){var n=(0,i.A)([""]);return w=function(){return n},n}function A(){var n=(0,i.A)(["\n display: flex;\n margin-bottom: 10px;\n div {\n display: flex;\n margin-left: 16px;\n }\n"]);return A=function(){return n},n}function C(){var n=(0,i.A)(["\n padding: 24px;\n\n .title {\n flex-basis: 20%;\n flex-grow: 0;\n flex-shrink: 0;\n color: ",";\n font-size: 14px;\n font-weight: 600;\n\n "," {\n margin-left: 6px;\n }\n\n "," {\n flex-basis: 33.33%;\n }\n }\n .content {\n color: ",";\n font-size: 14px;\n font-weight: 400;\n line-height: 22px;\n\n "," {\n padding-left: 5px;\n }\n }\n"]);return C=function(){return n},n}function _(){var n=(0,i.A)(["\n height: 40px;\n svg {\n width: 18px;\n height: 18px;\n }\n padding: 0 16px 0 12px;\n"]);return _=function(){return n},n}function M(){var n=(0,i.A)(["\n height: 40px;\n border-radius: 4px;\n\n &.filter-btn {\n background-color: #e3f2ff;\n border: none;\n color: ",";\n\n svg path {\n fill: "," !important;\n }\n }\n"]);return M=function(){return n},n}var D=o.Ay.div.withConfig({componentId:"sc-77ff1a20-0"})(l(),(function(n){return n.theme.colors.gray500})),Y=o.Ay.div.withConfig({componentId:"sc-77ff1a20-1"})(c(),a.M.tdDown,(function(n){return n.theme.colors.neutral150}),a.M.tdOnly,a.M.mbDown,a.M.mbDown),E=o.Ay.div.withConfig({componentId:"sc-77ff1a20-2"})(s(),a.M.tdDown),N=(o.Ay.div.withConfig({componentId:"sc-77ff1a20-3"})(d()),o.Ay.div.withConfig({componentId:"sc-77ff1a20-4"})(u()),o.Ay.div.withConfig({componentId:"sc-77ff1a20-5"})(p()),o.Ay.div.withConfig({componentId:"sc-77ff1a20-6"})(h()),o.Ay.div.withConfig({componentId:"sc-77ff1a20-7"})(g(),a.M.tdDown,a.M.mbDown)),S=o.Ay.div.withConfig({componentId:"sc-77ff1a20-8"})(m(),a.M.mbDown),F=o.Ay.div.withConfig({componentId:"sc-77ff1a20-9"})(f(),(function(n){return n.theme.colors.neutral100}),a.M.tdOnly,a.M.mbDown,(function(n){return n.theme.colors.gray600})),T=o.Ay.div.withConfig({componentId:"sc-77ff1a20-10"})(v(),(function(n){return n.theme.colors.blue50})),I=(0,o.Ay)(T).withConfig({componentId:"sc-77ff1a20-11"})(b()),z=o.Ay.div.withConfig({componentId:"sc-77ff1a20-12"})(y(),a.M.mbDown,(function(n){return n.theme.colors.neutral150}),(function(n){return n.theme.colors.gray600})),B=o.Ay.div.withConfig({componentId:"sc-77ff1a20-13"})(k(),a.M.mbDown),P=o.Ay.div.withConfig({componentId:"sc-77ff1a20-14"})(x()),O=o.Ay.div.withConfig({componentId:"sc-77ff1a20-15"})(w()),L=(o.Ay.div.withConfig({componentId:"sc-77ff1a20-16"})(A()),o.Ay.div.withConfig({componentId:"sc-77ff1a20-17"})(C(),(function(n){return n.theme.colors.gray800}),a.M.tdUp,a.M.mbDown,(function(n){return n.theme.colors.gray800}),a.M.tdDown)),H=(0,o.Ay)(r.B).withConfig({componentId:"sc-77ff1a20-18"})(_()),j=(0,o.Ay)(r.B).withConfig({componentId:"sc-77ff1a20-19"})(M(),(function(n){return n.theme.colors.blue600}),(function(n){return n.theme.colors.blue600}))},48260:function(n,e,t){"use strict";t.d(e,{$I:function(){return k},EH:function(){return M},G1:function(){return _},Rl:function(){return N},_H:function(){return D},a4:function(){return w},f$:function(){return E},ft:function(){return Y},gD:function(){return x},lC:function(){return S},n8:function(){return A},rL:function(){return C}});var i=t(24537),a=t(44410),r=t(27317);function o(){var n=(0,i.A)(["\n display: flex;\n"]);return o=function(){return n},n}function l(){var n=(0,i.A)(["\n display: flex;\n min-height: 40px;\n align-items: center;\n width: 100%;\n padding: 8px 16px;\n margin-bottom: 8px;\n border-radius: 6px;\n\n cursor: pointer;\n\n &[data-is-active='true'] {\n background-color: ",";\n > p {\n color: ",";\n }\n }\n\n .organization-name {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n }\n\n "," {\n max-width: 248px;\n }\n\n "," {\n max-width: 100%;\n padding-left: 0;\n padding-right: 0;\n }\n"]);return l=function(){return n},n}function c(){var n=(0,i.A)(["\n width: 40px;\n min-width: 40px;\n height: 40px;\n display: inline-block;\n margin-right: 16px;\n border-radius: 50%;\n"]);return c=function(){return n},n}function s(){var n=(0,i.A)(["\n margin-left: auto;\n svg {\n display: block;\n }\n"]);return s=function(){return n},n}function d(){var n=(0,i.A)(["\n position: relative;\n min-width: 650px;\n grid-column-end: 10;\n grid-column-start: 4;\n\n "," {\n min-width: 0;\n grid-column-end: 13;\n grid-column-start: 1;\n }\n"]);return d=function(){return n},n}function u(){var n=(0,i.A)(["\n padding-left: 8px;\n grid-column-end: 3;\n grid-column-start: 1;\n\n "," {\n padding-left: 0;\n padding-bottom: 24px;\n grid-column-end: 13;\n }\n\n "," {\n padding-bottom: 32px;\n }\n\n .branch-avatar-selector {\n > div {\n position: relative;\n margin-top: 5px;\n }\n\n & {\n .branch-avatar {\n img {\n width: 136px;\n height: 136px;\n display: block;\n background-color: rgba(0, 0, 0, 0.05);\n }\n "," {\n border-radius: 50%;\n }\n\n "," {\n img {\n width: 64px;\n height: 64px;\n }\n }\n }\n }\n > div > div :not(:first-child) {\n position: absolute;\n right: 4px;\n bottom: -4px;\n width: 40px;\n height: 40px;\n border: 4px solid #ffffff;\n background-color: #2d87f3;\n\n "," {\n right: 0;\n bottom: 0;\n width: 20px;\n height: 20px;\n border-width: 2px;\n --icon-wrapper-size: 16px;\n }\n }\n }\n & .error {\n margin-top: 5px;\n color: ",";\n font-size: 12px;\n font-weight: ",";\n }\n .heading {\n margin-bottom: 16px;\n display: flex;\n align-items: center;\n gap: 8px;\n }\n"]);return u=function(){return n},n}function p(){var n=(0,i.A)(["\n display: grid;\n width: 100%;\n padding: 16px;\n margin-top: 24px;\n grid-template-columns: repeat(12, 1fr);\n\n "," {\n max-width: 650px;\n margin-left: auto;\n margin-right: auto;\n }\n"]);return p=function(){return n},n}function h(){var n=(0,i.A)(["\n position: fixed;\n z-index: 9;\n top: 0;\n display: flex;\n width: calc(100vw - var(--side-menu-width));\n height: 64px;\n justify-content: space-between;\n padding: 0px 24px;\n background: ",";\n box-shadow: 0px 0px 8px rgba(40, 74, 117, 0.08);\n\n "," {\n width: 100%;\n box-shadow: none;\n background-color: ",";\n border-bottom: 1px solid\n ",";\n }\n\n "," {\n position: relative;\n & + .spacing-mobile {\n margin-top: 64px;\n }\n }\n\n "," {\n position: relative;\n padding: 0px 16px;\n height: 56px;\n & + .spacing-mobile {\n margin-top: 16px;\n }\n }\n\n & > div > h5 {\n color: ",";\n }\n .alert {\n position: absolute;\n top: 72px;\n right: 0;\n width: fit-content;\n min-width: 400px;\n }\n"]);return h=function(){return n},n}function g(){var n=(0,i.A)(["\n display: flex;\n align-items: center;\n\n & > :not(:first-child) {\n margin-left: 24px;\n }\n"]);return g=function(){return n},n}function m(){var n=(0,i.A)(["\n display: flex;\n align-items: center;\n padding-right: 24px;\n .btn_cancel {\n margin-right: 8px;\n }\n "," {\n padding-right: 0;\n }\n\n button[type='button'] + button[type='button'] {\n margin-right: 12px;\n }\n\n "," {\n position: fixed;\n bottom: 0;\n left: 0;\n right: 0;\n padding: 13px 16px;\n align-items: stretch;\n justify-content: space-between;\n background-color: ",";\n border-top: 1px solid\n ",";\n\n & > button {\n width: 48%;\n }\n }\n"]);return m=function(){return n},n}function f(){var n=(0,i.A)(["\n display: flex;\n flex-direction: column;\n align-items: center;\n"]);return f=function(){return n},n}function v(){var n=(0,i.A)(["\n padding: 80px 0;\n margin-left: auto;\n margin-right: auto;\n"]);return v=function(){return n},n}function b(){var n=(0,i.A)(["\n text-align: center;\n\n .group-btn {\n display: flex;\n gap: 12px;\n\n .btn {\n flex: 1;\n }\n }\n"]);return b=function(){return n},n}function y(){var n=(0,i.A)(["\n background-color: ",";\n border: 1px solid ",";\n color: ",";\n font-size: 14px;\n line-height: 22px;\n padding: 9px 24px;\n border-radius: 6px;\n cursor: pointer;\n font-weight: 700;\n"]);return y=function(){return n},n}r.Ay.div.withConfig({componentId:"sc-5a2a03ba-0"})(o());var k=r.Ay.div.withConfig({componentId:"sc-5a2a03ba-1"})(l(),(function(n){return n.theme.colors.blue50}),(function(n){return n.theme.colors.primaryBase}),a.M.tdUp,a.M.tdDown),x=r.Ay.img.withConfig({componentId:"sc-5a2a03ba-2"})(c()),w=r.Ay.div.withConfig({componentId:"sc-5a2a03ba-3"})(s()),A=r.Ay.div.withConfig({componentId:"sc-5a2a03ba-4"})(d(),a.M.tdDown),C=r.Ay.div.withConfig({componentId:"sc-5a2a03ba-5"})(u(),a.M.tdDown,a.M.mbDown,a.M.tdDown,a.M.mbDown,a.M.mbDown,(function(n){return n.theme.colors.red700}),(function(n){return n.theme.sizes.fwRegular})),_=r.Ay.div.withConfig({componentId:"sc-5a2a03ba-6"})(p(),a.M.tdOnly),M=r.Ay.div.withConfig({componentId:"sc-5a2a03ba-7"})(h(),(function(n){return n.theme.colors.white}),a.M.tdDown,(function(n){return n.theme.colors.neutral150}),(function(n){return n.theme.colors.neutral100}),a.M.tdOnly,a.M.mbDown,(function(n){return n.theme.colors.gray800})),D=r.Ay.div.withConfig({componentId:"sc-5a2a03ba-8"})(g()),Y=r.Ay.div.withConfig({componentId:"sc-5a2a03ba-9"})(m(),a.M.tdDown,a.M.mbDown,(function(n){return n.theme.colors.white}),(function(n){return n.theme.colors.neutral100})),E=r.Ay.div.withConfig({componentId:"sc-5a2a03ba-10"})(f()),N=(0,r.Ay)(E).withConfig({componentId:"sc-5a2a03ba-11"})(v()),S=r.Ay.div.withConfig({componentId:"sc-5a2a03ba-12"})(b());r.Ay.div.withConfig({componentId:"sc-5a2a03ba-13"})(y(),(function(n){return n.theme.colors.primaryBase}),(function(n){return n.theme.colors.primaryBase}),(function(n){return n.theme.colors.white}))},75287:function(n,e,t){"use strict";t.d(e,{Bs:function(){return h}});var i=t(24537),a=t(27317);function r(){var n=(0,i.A)(["\n display: flex;\n width: 90%;\n margin: 8px;\n & {\n .dropdown {\n width: 100%;\n height: 45px;\n margin-bottom: 2px;\n margin-left: 8px;\n color: ",";\n font-size: 14px;\n & div {\n overflow: hidden;\n white-space: pre;\n }\n }\n input::placeholder {\n color: ",";\n font-size: 14px;\n }\n .role {\n width: 80%;\n }\n }\n"]);return r=function(){return n},n}function o(){var n=(0,i.A)(["\n .table-caption {\n word-break: break-all;\n }\n\n .branchs-cell-wrapper {\n .branch-item {\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n max-width: 400px;\n }\n }\n"]);return o=function(){return n},n}function l(){var n=(0,i.A)(["\n display: flex;\n align-items: center;\n\n > * {\n margin-right: 16px;\n }\n .input-search {\n input {\n min-width: 180px;\n height: 40px;\n }\n }\n"]);return l=function(){return n},n}function c(){var n=(0,i.A)(["\n position: fixed;\n z-index: 9;\n top: 0;\n display: flex;\n width: calc(100vw - var(--side-menu-width));\n height: 64px;\n justify-content: space-between;\n padding: 0px 24px;\n background: ",";\n box-shadow: 0px 0px 8px rgba(40, 74, 117, 0.08);\n & > div > h5 {\n color: ",";\n }\n & {\n .alert {\n position: absolute;\n top: 72px;\n right: 0;\n width: fit-content;\n min-width: 400px;\n }\n }\n"]);return c=function(){return n},n}function s(){var n=(0,i.A)(["\n display: flex;\n align-items: center;\n\n & > :not(:first-child) {\n margin-left: 24px;\n }\n"]);return s=function(){return n},n}function d(){var n=(0,i.A)(["\n display: flex;\n align-items: center;\n padding-right: 24px;\n"]);return d=function(){return n},n}function u(){var n=(0,i.A)(["\n display: flex;\n justify-content: flex-end;\n padding: 16px 0;\n"]);return u=function(){return n},n}function p(){var n=(0,i.A)(["\n font-weight: bold;\n"]);return p=function(){return n},n}a.Ay.div.withConfig({componentId:"sc-787870c9-0"})(r(),(function(n){return n.theme.colors.gray800}),(function(n){return n.theme.colors.gray800}));var h=a.Ay.div.withConfig({componentId:"sc-787870c9-1"})(o());a.Ay.div.withConfig({componentId:"sc-787870c9-2"})(l()),a.Ay.div.withConfig({componentId:"sc-787870c9-3"})(c(),(function(n){return n.theme.colors.white}),(function(n){return n.theme.colors.gray800})),a.Ay.div.withConfig({componentId:"sc-787870c9-4"})(s()),a.Ay.div.withConfig({componentId:"sc-787870c9-5"})(d()),a.Ay.div.withConfig({componentId:"sc-787870c9-6"})(u()),a.Ay.b.withConfig({componentId:"sc-787870c9-7"})(p())},14585:function(n,e,t){"use strict";t.d(e,{e:function(){return A}});var i=t(2445),a=t(73884),r=t(79777),o=t(84091),l=t(50970),c=t(10333),s=t(27516),d=t(88491),u=t(73419),p=t(6442),h=t(76672),g=t(51524),m=function(n){var e=n.hospitalInfo,t=n.gps,r=n.onHospitalClick,m=n.onMainActionClick,f=n.onPhoneClick,v=n.orderedListIndex,b=(0,p.A)().formatMessage,y=(0,d.d)().isMobile,k=(0,a.useRef)(null),x=(0,a.useState)(!1),w=x[0],A=x[1],C=(0,a.useState)(!1),_=C[0],M=C[1],D=(0,u.$)().locale,Y={OPEN:b({id:"hospital.status.open",defaultMessage:"Open"}),OPEN_SOON:b({id:"hospital.status.openSoon",defaultMessage:"Opening Soon"}),CLOSED:b({id:"hospital.status.closed",defaultMessage:"Closed"}),CLOSE_SOON:b({id:"hospital.status.closingSoon",defaultMessage:"Closing Soon"})},E=(0,a.useMemo)((function(){return(0,o.Pw)(e.workingTimes)}),[e.workingTimes]),N=w?{id:"hospitalCard.seeMore",defaultMessage:"See More"}:{id:"hospitalCard.seeLess",defaultMessage:"See Less"},S=(0,o.eP)(e),F="https://".concat(s.y[D]).concat(S);return(0,a.useEffect)((function(){setTimeout((function(){var n,e=null===(n=k.current)||void 0===n?void 0:n.clientHeight;e&&M(y?Math.ceil(e/22)>2:Math.ceil(e/24)>2),A(!0)}),0)}),[]),(0,i.Y)(h.I,{type:"hospital",hospitalInfo:e,gps:t,phone:"zh-TW"===D?e.phone:"",onHospitalClick:r,onMainActionClick:function(n){null===m||void 0===m||m(n)},onPhoneClick:f,orderedListIndex:v,hospitalStatus:{value:E,label:Y[E]},hospitalURL:(0,o.eP)(e),children:e.about&&(y?(0,i.Y)(g.ns,{onClick:function(){return A(!w)},"data-is-collapsed":w,children:(0,i.Y)("p",{ref:k,children:(0,i.Y)(l.T,{size:"p3",className:"content-description",children:e.about})})}):(0,i.Y)(g.d4,{children:(0,i.Y)(g.xC,{children:(0,i.FD)(g.ns,{"data-is-collapsed":w,children:[(0,i.Y)("p",{ref:k,children:(0,i.Y)(l.T,{size:"p4",className:"content-description",children:e.about})}),_&&(0,i.Y)(c.B,{size:"sm",color:"ghost",className:"see-more-button",onClick:function(){return A(!w)},"data-padding-none":!0,dataEventCategory:"Care",dataEventAction:"See More Click",dataEventLabel:F,children:b(N)})]})})}))})},f=t(10297),v=t(36259),b=t(79151),y=t(20607),k=t(70931),x=t(8239),w=t(40959),A=function(n){var e=n.results,t=n.gps,l=n.isMobile,c=n.showAd,s=(0,f.useRouter)(),d=s.locale,u=void 0===d?"vi-VN":d,p=(0,a.useContext)(v.B).state.isLoggedIn,h=function(n,e){var t="view"===e?n.websiteUrl:n.bookingUrl,i="zh-TW"===u?t:"".concat((0,o.eP)(n));window.sessionStorage.setItem("returnUrl",JSON.stringify(window.location.href)),i&&s.push(i)},g=function(n){"zh-TW"===u||p?s.push("tel:".concat(n.phone)):(window.sessionStorage.setItem("returnUrl",JSON.stringify(window.location.href)),w.dXu?r.u.getState().triggerLogin({source:"care_phone"}):s.push((0,o.GC)(window.location.href,"care_phone")))},A=(0,k.oq)({locale:u,isMobile:l,contentAdTag:"Search"});return(0,i.Y)(b.Uy,{children:null===e||void 0===e?void 0:e.map((function(n,r){return(0,i.FD)(a.Fragment,{children:[(0,i.Y)(m,{hospitalInfo:n,onHospitalClick:function(n){return h(n,"view")},onMainActionClick:function(n){return h(n,"book")},onPhoneClick:g,gps:t,orderedListIndex:r}),c&&(0,x.PM)(r,e.length,l)&&(0,i.Y)(y.z,{adUnitPath:A,size:l?[[300,250],[320,100]]:[728,90],divId:l?"ad-search-hospital-mobile-"+r:"ad-search-hospital-desktop-"+r,pos:[(0,x.bp)(r,l)],style:{marginBottom:24},adDefaultSize:l?[320,100]:[728,90]},String(l))]},"hospital-".concat(r))}))})}},79151:function(n,e,t){"use strict";t.d(e,{E2:function(){return v},G6:function(){return h},Uy:function(){return p},k6:function(){return m},pv:function(){return f},tu:function(){return g}});var i=t(24537),a=t(44410),r=t(27317);function o(){var n=(0,i.A)(["\n width: 100%;\n & > * {\n margin-bottom: 16px;\n }\n"]);return o=function(){return n},n}function l(){var n=(0,i.A)(["\n align-self: flex-start;\n margin: 22px 0;\n"]);return l=function(){return n},n}function c(){var n=(0,i.A)(["\n "," {\n padding: 0;\n }\n .booking-search-tab {\n background: rgba(255, 255, 255, 0.4);\n }\n\n .booking-search-container {\n background-color: ",";\n }\n"]);return c=function(){return n},n}function s(){var n=(0,i.A)(["\n margin-top: -57px;\n "," {\n margin-top: -48px;\n }\n\n .booking-search-content {\n border-radius: 0 0 16px 16px;\n }\n"]);return s=function(){return n},n}function d(){var n=(0,i.A)(["\n background: ",";\n height: 80px;\n\n "," {\n height: 72px;\n }\n\n &.has-client-sponsored {\n height: 112px;\n &[data-gsk='true'] {\n height: 130px;\n }\n\n "," {\n height: 96px;\n &[data-gsk='true'] {\n height: 120px;\n }\n }\n\n .container-client-sponsored {\n padding-top: 16px;\n\n "," {\n padding-top: 14px;\n }\n }\n }\n"]);return d=function(){return n},n}function u(){var n=(0,i.A)(["\n width: 100%;\n align-self: flex-start;\n\n ","\n"]);return u=function(){return n},n}var p=r.Ay.div.withConfig({componentId:"sc-e5d6ecc-0"})(o()),h=r.Ay.div.withConfig({componentId:"sc-e5d6ecc-1"})(l()),g=r.Ay.div.withConfig({componentId:"sc-e5d6ecc-2"})(c(),a.M.mbDown,(function(n){return n.theme.colors.white})),m=r.Ay.div.withConfig({componentId:"sc-e5d6ecc-3"})(s(),a.M.tdDown),f=r.Ay.div.withConfig({componentId:"sc-e5d6ecc-4"})(d(),(function(n){return n.theme.colors.blue50}),a.M.tdDown,a.M.tdDown,a.M.tdDown),v=r.Ay.div.withConfig({componentId:"sc-e5d6ecc-5"})(u(),(function(n){return n.$loading&&"\n display: none;\n "}))},78859:function(n,e,t){"use strict";t.d(e,{W2:function(){return nn},HX:function(){return an},ly:function(){return tn}});var i=t(858),a=t(53513),r=t(63538),o=t(81539),l=t(83776),c=t(2445),s=t(73884),d=t(50970),u=t(35291),p=t(10333),h=t(12263),g=t(27516),m=t(50315),f=t(74029),v=t(59850),b=t(84091),y=t(19475),k=t(73419),x=t(40959),w=t(2543),A=t(6442),C=t(91266),_=t(74198),M=t(48403),D=t(88491),Y=t(24537),E=t(44410),N=t(37597),S=t(27317);function F(){var n=(0,Y.A)(["\n position: fixed;\n padding: 24px;\n background: ",";\n z-index: 305;\n top: 0;\n left: 0;\n overflow: auto;\n\n "," {\n position: static;\n border: 1px solid ",";\n border-radius: 6px;\n }\n\n "," {\n display: flex;\n width: 100vw;\n height: 100vh;\n height: -webkit-fill-available;\n flex-direction: column;\n padding: 0;\n }\n\n .availability > div {\n & + div {\n margin-top: 8px;\n }\n }\n\n .checkboxInList {\n label {\n flex-direction: row-reverse;\n justify-content: flex-end;\n gap: 12px;\n }\n }\n\n .topBar {\n "," {\n display: none;\n }\n\n width: 100%;\n justify-content: space-between;\n border-bottom: 1px solid\n ",";\n justify-self: stretch;\n }\n"]);return F=function(){return n},n}function T(){var n=(0,Y.A)(["\n "," {\n height: calc(100vh - 64px);\n height: -webkit-fill-available;\n padding: 16px 16px 55px;\n margin: 0;\n overflow-y: scroll;\n }\n\n .specialtiesFilter {\n .listResults {\n max-height: 250px;\n overflow-y: scroll;\n padding: 0 4px;\n display: flex;\n flex-direction: column;\n gap: 8px;\n }\n }\n"]);return T=function(){return n},n}function I(){var n=(0,Y.A)(["\n margin-bottom: 16px;\n border-bottom: 1px solid\n ",";\n padding-bottom: 16px;\n\n .filterName {\n display: flex;\n align-items: center;\n gap: 8px;\n text-transform: uppercase;\n margin-bottom: 12px;\n\n &::before {\n width: 2px;\n height: 15px;\n content: '';\n background-color: ",";\n flex-shrink: 0;\n }\n }\n\n .feeSlider {\n margin-bottom: 8px;\n }\n\n .searchInput {\n > div {\n background-color: white;\n > input {\n padding: 8px 16px 8px 48px;\n }\n }\n }\n\n .listResults {\n margin-top: 16px;\n }\n"]);return I=function(){return n},n}function z(){var n=(0,Y.A)(["\n margin-top: 12px;\n display: flex;\n gap: 4px;\n\n .btnPriceRange {\n background: white;\n flex-direction: column;\n height: auto;\n\n flex: 1;\n border: solid 1px ",";\n font-weight: 400;\n padding: 8px;\n .valueInput {\n display: flex;\n\n }\n\n input {\n color: ",";\n font-size: 16px;\n line-height: 24px;\n }\n\n .priceRangeLabel {\n color: ",";\n text-align: left;\n }\n"]);return z=function(){return n},n}function B(){var n=(0,Y.A)(["\n display: flex;\n flex-direction: column;\n gap: 16px;\n\n &[data-direction='vertical'] > div[data-type='circle'] {\n margin-bottom: 0;\n }\n\n label {\n font-size: 14px;\n }\n"]);return B=function(){return n},n}function P(){var n=(0,Y.A)(["\n display: flex;\n flex-direction: column;\n gap: 12px;\n"]);return P=function(){return n},n}function O(){var n=(0,Y.A)(["\n display: flex;\n gap: 12px;\n flex-wrap: wrap;\n\n .district-option {\n width: calc(50% - 6px);\n\n "," {\n width: calc(20% - 10px);\n }\n\n & > label {\n flex-direction: row-reverse;\n justify-content: flex-end;\n gap: 12px;\n }\n }\n\n .see-more-btn {\n padding: 0;\n }\n"]);return O=function(){return n},n}function L(){var n=(0,Y.A)(["\n width: 100%;\n label {\n display: flex;\n width: 100%;\n justify-content: space-between;\n margin-left: 0;\n }\n"]);return L=function(){return n},n}function H(){var n=(0,Y.A)(["\n & > button {\n padding: 0;\n }\n\n "," {\n position: fixed;\n bottom: 0;\n left: 0;\n right: 0;\n .showResultBtn {\n min-height: 44px;\n }\n }\n"]);return H=function(){return n},n}var j=S.Ay.div.withConfig({componentId:"sc-96d62ceb-0"})(F(),(function(n){return n.theme.colors.neutral50}),E.M.tdUp,(function(n){return n.theme.colors.neutral100}),E.M.tdDown,E.M.tdUp,(function(n){return n.theme.colors.neutral100})),R=S.Ay.div.withConfig({componentId:"sc-96d62ceb-1"})(T(),E.M.tdDown),V=S.Ay.div.withConfig({componentId:"sc-96d62ceb-2"})(I(),(function(n){return n.theme.colors.neutral100}),(function(n){return n.theme.colors.primaryBase})),U=S.Ay.div.withConfig({componentId:"sc-96d62ceb-3"})(z(),(function(n){return n.theme.colors.neutral200}),(function(n){return n.theme.colors.gray800}),(function(n){return n.theme.colors.gray500})),G=(0,S.Ay)(N.R).withConfig({componentId:"sc-96d62ceb-4"})(B()),q=S.Ay.div.withConfig({componentId:"sc-96d62ceb-5"})(P()),K=S.Ay.div.withConfig({componentId:"sc-96d62ceb-6"})(O(),E.M.tdOnly),W=(0,S.Ay)(y.Sc).withConfig({componentId:"sc-96d62ceb-7"})(L()),J=S.Ay.div.withConfig({componentId:"sc-96d62ceb-8"})(H(),E.M.tdDown),Z=t(1032),Q=function(n){var e=n.isMobile,t=n.className,i=n.children,o=n.isLoading,l=void 0!==o&&o,u=n.numberOfResults,h=void 0===u?-1:u,g=n.trackingFilter,m=n.trackingResetFilter,f=n.handleClearFilters,v=n.onCloseClick,b=(0,A.A)().formatMessage,y=(0,D.d)().isMobileOrTablet,k=(0,s.useRef)(null),x=h>0?b({id:"filter.showResults",defaultMessage:"Show results"},{number:h}):b({id:"filter.noResults",defaultMessage:"No Results"}),w=(0,s.useMemo)((function(){return k.current?k.current.getBoundingClientRect().top:0}),[k.current]),C=(0,s.useMemo)((function(){return y?{}:{maxHeight:e?"calc(var(--app-height) - ".concat(w,"px)"):"unset",overflow:"auto"}}),[y,e]);return(0,c.FD)(j,{className:t,ref:k,style:C,children:[e&&(0,c.Y)(_.C,{children:(0,c.Y)(M.Vs,(0,a.A)({headingText:b({id:"filter.title",defaultMessage:"Filter"}),textRight:b({id:"filter.clearAll",defaultMessage:"Clear All"}),onRightClick:f,className:"topBar",onClick:function(){f(),v()}},m))}),(0,c.Y)(R,{children:i}),(0,c.Y)(J,{children:e?(0,c.Y)(p.B,(0,r.A)((0,a.A)({isBlock:!0,color:"primary",size:"md",onClick:v,isLoading:l,className:"showResultBtn"},g),{children:x})):(0,c.Y)(p.B,(0,r.A)((0,a.A)({color:"ghost",size:"md",icon:(0,c.Y)(Z.A,{}),onClick:f,className:"clearAllBtn"},m),{children:(0,c.Y)(d.T,{size:"p4",type:"bold",children:b({id:"filter.clearAll",defaultMessage:"Clear All"})})}))})]})},$=t(57920),X=t(47770),nn=function(n){var e,t,_,M,D,Y,E,N=n.onCloseClick,S=n.isMobile,F=n.onFilterChange,T=n.numberOfResults,I=void 0===T?-1:T,z=n.isLoading,B=void 0!==z&&z,P=n.searchType,O=void 0===P?"doctor":P,L=n.labelPrice,H=n.currencyUnit,j=n.rangePrice,R=n.filters,J=n.className,Z=n.hospitalId,nn=n.districts,en=void 0===nn?[]:nn,tn=(0,A.A)().formatMessage,an=(0,s.useState)([]),rn=an[0],on=an[1],ln=(0,s.useState)(1),cn=ln[0],sn=ln[1],dn=(0,s.useState)(0),un=dn[0],pn=dn[1],hn=(0,s.useState)(!1),gn=hn[0],mn=hn[1],fn=(0,s.useState)(""),vn=fn[0],bn=fn[1],yn=(0,s.useState)(!1),kn=yn[0],xn=yn[1],wn=(0,s.useRef)(null),An=(0,s.useRef)(null),Cn=(0,k.$)(),_n=Cn.locale,Mn=Cn.asPath,Dn=kn?en:en.slice(0,$.CI),Yn=kn?tn({id:"hospitalCard.seeLess",defaultMessage:"See Less"}):"".concat(tn({id:"hospitalCard.seeMore",defaultMessage:"See More"})," (").concat(null===en||void 0===en?void 0:en.length,")"),En=!!Z,Nn={dataEventCategory:"Care",dataEventAction:"Filter Click",dataEventLabel:"https://".concat(g.y[_n]).concat(x.JpE).concat(Mn)},Sn={dataEventCategory:"Care",dataEventAction:"Reset Filter Click",dataEventLabel:"https://".concat(g.y[_n]).concat(x.JpE).concat(Mn)},Fn=(0,s.useState)((0,r.A)((0,a.A)({},R),{min_price:(0,f.wW)(R.min_price,j.min),max_price:(0,f.wW)(R.max_price,j.max)})),Tn=Fn[0],In=Fn[1],zn=(0,s.useState)({min_price:Tn.min_price,max_price:Tn.max_price}),Bn=zn[0],Pn=zn[1],On=function(n){var e=(0,r.A)((0,a.A)({},Tn),{min_price:n[0],max_price:n[1]});In(e),F(e)},Ln=[{label:tn({id:"filter.anyDay",defaultMessage:"Any day"}),value:String(x.sL_.ANY)},{label:tn({id:"filter.today",defaultMessage:"Today"}),value:String(x.sL_.TODAY)},{label:tn({id:"filter.tomorrow",defaultMessage:"Tomorrow"}),value:String(x.sL_.TOMORROW)},{label:tn({id:"filter.inTheNext7Days",defaultMessage:"In the next 7 days"}),value:String(x.sL_.NEXT_SEVEN_DAYS)},{label:tn({id:"filter.weekends",defaultMessage:"Weekends"}),value:String(x.sL_.WEEKENDS)}],Hn=function(n,e){var t;switch(n){case"gender.female":t=(0,a.A)({},(0,$.Du)(Tn,"gender",x.YT8.FEMALE));break;case"gender.male":t=(0,a.A)({},(0,$.Du)(Tn,"gender",x.YT8.MALE));break;case"providecarefor.children":t=Tn.provide_care===x.jc_.BOTH?(0,r.A)((0,a.A)({},Tn),{provide_care:x.jc_.ADULTS}):Tn.provide_care===x.jc_.ADULTS?(0,r.A)((0,a.A)({},Tn),{provide_care:x.jc_.BOTH}):(0,r.A)((0,a.A)({},Tn),{provide_care:Tn.provide_care===x.jc_.CHILDREN?void 0:x.jc_.CHILDREN});break;case"providecarefor.adults":t=Tn.provide_care===x.jc_.BOTH?(0,r.A)((0,a.A)({},Tn),{provide_care:x.jc_.CHILDREN}):Tn.provide_care===x.jc_.CHILDREN?(0,r.A)((0,a.A)({},Tn),{provide_care:x.jc_.BOTH}):(0,r.A)((0,a.A)({},Tn),{provide_care:Tn.provide_care===x.jc_.ADULTS?void 0:x.jc_.ADULTS});break;case"specialhours.earlyhours":t=(0,a.A)({},(0,$.Du)(Tn,"special_hours",x.ZhE.EARLY_HOURS));break;case"specialhours.latehours":t=(0,a.A)({},(0,$.Du)(Tn,"special_hours",x.ZhE.LATE_HOURS));break;case"availability":t=(0,r.A)((0,a.A)({},Tn),{availability:"boolean"!==typeof e?e:String(x.sL_.ANY)});break;case"appointmentType.telemedicine":t=(0,a.A)({},(0,$.Du)(Tn,"appointment_type",x.YYr.VIDEO_CALL));break;case"appointmentType.outPatient":t=(0,a.A)({},(0,$.Du)(Tn,"appointment_type",x.YYr.INPATIENT_HOSPITAL));break;case"district_id":t=(0,a.A)({},(0,$.Du)(Tn,"district_id",e));break;default:t={}}In(t),F(t)},jn=(0,s.useState)(!1),Rn=jn[0],Vn=jn[1];(0,s.useEffect)((function(){var n,e=function(){An.current&&(An.current.scrollHeight-20cn&&sn((function(n){return n+1}))}),[Rn]);var Un=function(){var n=(0,i.A)((function(n,e){var t,i;return(0,l.__generator)(this,(function(a){switch(a.label){case 0:return mn(!0),En?[4,(0,b.px)((0,b.er)(v.R.GET_LIST_SPECIALTIES_BY_HOSPITAL,{hospitalId:Z,page:cn,keyword:null!==n&&void 0!==n?n:""}),"GET")]:[2];case 1:return(t=a.sent())&&t._data&&(pn(null===(i=t._data.pagination)||void 0===i?void 0:i.last),on("search"===e?t._data.specialties||[]:function(n){return(0,o.A)(n).concat((0,o.A)(t._data.specialties||[]))})),mn(!1),[2]}}))}));return function(e,t){return n.apply(this,arguments)}}();(0,s.useEffect)((function(){Un()}),[cn]);var Gn=(0,s.useMemo)((function(){return(0,w.debounce)(Un,300)}),[]);(0,s.useEffect)((function(){on([]),sn(1),Gn(vn,"search")}),[vn]),(0,s.useEffect)((function(){on([]),Un()}),[Z]);return(0,c.FD)(Q,{className:J,isMobile:S,isLoading:B,numberOfResults:I,trackingFilter:Nn,trackingResetFilter:Sn,handleClearFilters:function(){var n,e={min_price:j.min,max_price:j.max};In(e),F(e),Pn({min_price:j.min,max_price:j.max}),null===(n=wn.current)||void 0===n||n.reset()},onCloseClick:N,children:[en.length>0&&(0,c.FD)(V,{children:[(0,c.Y)(d.T,{size:"p4",type:"semiBold",color:u.w.colors.secondaryDark,className:"filterName",children:tn({id:"searchResults.filter.districts",defaultMessage:"Districts"})}),(0,c.Y)(K,{children:B&&!(null===(e=Tn.district_id)||void 0===e?void 0:e.length)?Array(6).fill(null).map((function(n,e){return(0,c.Y)(C.A,{height:24,width:125,className:"district-option"},e)})):(0,c.FD)(c.FK,{children:[Dn.map((function(n){var e;return(0,c.Y)(W,(0,a.A)({className:"district-option",name:"district-".concat(n.name),label:n.name,checked:!!(null===(e=Tn.district_id)||void 0===e?void 0:e.some((function(e){return e===n.id}))),onChange:function(){return Hn("district_id",n.id)},id:"district-".concat(n.id)},Nn),"district-".concat(n.name,"-").concat(n.id))})),en.length>$.CI&&(0,c.Y)(p.B,{size:"sm",color:"ghost",className:"see-more-btn",onClick:function(){return xn(!kn)},children:Yn})]})})]}),(0,c.FD)(V,{children:[(0,c.Y)(d.T,{size:"p4",type:"semiBold",color:u.w.colors.secondaryDark,className:"filterName",children:tn({id:"filter.availability",defaultMessage:"Availability"})}),(0,c.Y)(G,(0,a.A)({ref:wn,type:"circle",size:"small",id:"availability",className:"group-radio",onChange:function(n){return Hn("availability",n)},options:Ln},Nn))]}),(0,c.FD)(V,{children:[(0,c.Y)(d.T,{size:"p4",type:"semiBold",color:u.w.colors.secondaryDark,className:"filterName",children:tn({id:"filter.specialHours",defaultMessage:"Special Hours"})}),(0,c.FD)(q,{children:[(0,c.Y)(W,(0,a.A)({name:"filter.earlyHours",label:tn({id:"filter.earlyHours",defaultMessage:"Early hours (before 9:00 AM)"}),checked:!!(null===(t=Tn.special_hours)||void 0===t?void 0:t.some((function(n){return n===x.ZhE.EARLY_HOURS}))),onChange:function(){return Hn("specialhours.earlyhours")},id:"filter.earlyHours"},Nn)),(0,c.Y)(W,(0,a.A)({name:"filter.laterHours",label:tn({id:"filter.laterHours",defaultMessage:"Late hours (After 5.00 PM)"}),id:"filter.lateHours",checked:!!(null===(_=Tn.special_hours)||void 0===_?void 0:_.some((function(n){return n===x.ZhE.LATE_HOURS}))),onChange:function(){return Hn("specialhours.latehours")}},Nn))]})]}),"doctor"===O&&(0,c.FD)(c.FK,{children:[En&&(0,c.FD)(V,{className:"specialtiesFilter",children:[(0,c.Y)(d.T,{size:"p4",type:"semiBold",color:u.w.colors.secondaryDark,className:"filterName",children:tn({id:"page.title.specialty",defaultMessage:"Specialty"})}),(0,c.Y)(h.I,{type:"search",displayIcon:(0,c.Y)(X.A,{width:24,height:24}),value:vn,size:"sm",name:"specialties-filter",onChange:bn,placeholder:tn({id:"searchComponent.search.placeholder.specialty",defaultMessage:"Search by Specialty"}),className:"searchInput"}),(0,c.FD)("div",{className:"listResults",ref:An,children:[rn.map((function(n){var e;return(0,c.Y)(W,(0,a.A)({name:n.name,label:n.name,id:"filter.specialty.".concat(n.id),className:"checkboxInList",checked:!!(null===Tn||void 0===Tn||null===(e=Tn.specialty_id)||void 0===e?void 0:e.some((function(e){return e===n.id.toString()}))),onChange:function(){return function(n){var e=(0,a.A)({},(0,$.Du)(Tn,"specialty_id",n.toString()));In(e),F(e)}(n.id)}},Nn),n.id)})),gn&&(0,c.FD)(c.FK,{children:[(0,c.Y)(C.A,{width:230,height:22}),(0,c.Y)(C.A,{width:200,height:22}),(0,c.Y)(C.A,{width:150,height:22})]})]})]}),(0,c.FD)(V,{children:[(0,c.Y)(d.T,{size:"p4",type:"semiBold",color:u.w.colors.secondaryDark,className:"filterName",children:tn({id:"admin.appoinment.tableheaderType",defaultMessage:"Type"})}),(0,c.FD)(q,{children:[(0,c.Y)(W,(0,a.A)({name:tn({id:"bookingPage.telemedicine",defaultMessage:"Telemedicine"}),label:tn({id:"bookingPage.telemedicine",defaultMessage:"Telemedicine"}),id:"filter.telemedicine",checked:!!(null===Tn||void 0===Tn||null===(M=Tn.appointment_type)||void 0===M?void 0:M.some((function(n){return n===x.YYr.VIDEO_CALL}))),onChange:function(){return Hn("appointmentType.telemedicine")}},Nn)),(0,c.Y)(W,(0,a.A)({name:tn({id:"bookingPage.outPatient",defaultMessage:"Outpatient"}),label:tn({id:"bookingPage.outPatient",defaultMessage:"Outpatient"}),id:"filter.outPatient",checked:!!(null===Tn||void 0===Tn||null===(D=Tn.appointment_type)||void 0===D?void 0:D.some((function(n){return n===x.YYr.INPATIENT_HOSPITAL}))),onChange:function(){return Hn("appointmentType.outPatient")}},Nn))]})]}),(0,c.FD)(V,{children:[(0,c.Y)(d.T,{size:"p4",type:"semiBold",color:u.w.colors.secondaryDark,className:"filterName",children:tn({id:"filter.provideCareFor",defaultMessage:"Provide Care For"})}),(0,c.FD)(q,{children:[(0,c.Y)(W,(0,a.A)({name:tn({id:"filter.children",defaultMessage:"Children"}),label:tn({id:"filter.children",defaultMessage:"Children"}),id:"filter.children",checked:Tn.provide_care===x.jc_.CHILDREN||Tn.provide_care===x.jc_.BOTH,onChange:function(n){return Hn("providecarefor.children",n)}},Nn)),(0,c.Y)(W,(0,a.A)({name:tn({id:"filter.adults",defaultMessage:"Adults"}),label:tn({id:"filter.adults",defaultMessage:"Adults"}),id:"filter.adults",checked:Tn.provide_care===x.jc_.ADULTS||Tn.provide_care===x.jc_.BOTH,onChange:function(n){return Hn("providecarefor.adults",n)}},Nn))]})]}),(0,c.FD)(V,{children:[(0,c.Y)(d.T,{size:"p4",type:"semiBold",color:u.w.colors.secondaryDark,className:"filterName",children:tn({id:"filter.gender",defaultMessage:"Gender"})}),(0,c.FD)(q,{children:[(0,c.Y)(W,(0,a.A)({name:tn({id:"filter.male",defaultMessage:"Male"}),label:tn({id:"filter.male",defaultMessage:"Male"}),id:"filter.male",checked:!!(null===Tn||void 0===Tn||null===(Y=Tn.gender)||void 0===Y?void 0:Y.some((function(n){return n===x.YT8.MALE}))),onChange:function(n){return Hn("gender.male",n)}},Nn)),(0,c.Y)(W,(0,a.A)({name:tn({id:"filter.female",defaultMessage:"Female"}),label:tn({id:"filter.female",defaultMessage:"Female"}),id:"filter.female",checked:!!(null===Tn||void 0===Tn||null===(E=Tn.gender)||void 0===E?void 0:E.some((function(n){return n===x.YT8.FEMALE}))),onChange:function(n){return Hn("gender.female",n)}},Nn))]})]})]}),(0,c.FD)(V,{children:[(0,c.Y)(d.T,{size:"p4",type:"semiBold",color:u.w.colors.secondaryDark,className:"filterName feeSlider",children:tn("service"===O?{id:"filter.serviceFee",defaultMessage:"Service Fee"}:{id:"filter.consultationFee",defaultMessage:"Doctor Consultation Fee Per Hour"})}),(0,c.Y)(y.Ap,{step:j.step,min:j.min,max:j.max,value:[Tn.min_price,Tn.max_price],isMobile:S,onFinalChange:On,onChange:function(n){return Pn({min_price:n[0],max_price:n[1]})}}),(0,c.FD)(U,{children:[(0,c.Y)(p.B,{size:"md",color:"tertiary",className:"btnPriceRange",children:(0,c.FD)(m.B,{spacing:0,children:[(0,c.Y)(d.T,{size:"label2",className:"priceRangeLabel",color:u.w.colors.gray600,children:L.min}),(0,c.FD)("div",{className:"valueInput",children:[(0,c.Y)(d.T,{size:"p4",type:"regular",children:H}),(0,c.Y)("input",{name:"min-price",type:"text",pattern:"\\d*",maxLength:j.max.toString().length,value:Bn.min_price,onChange:function(n){var e=parseInt(n.target.value)>j.max?j.max:n.target.value;Pn((0,r.A)((0,a.A)({},Bn),{min_price:e}))},onBlur:function(n){In((0,r.A)((0,a.A)({},Tn),{min_price:n.target.value})),void 0!==Bn.max_price&&On([parseInt(n.target.value),parseInt(Bn.max_price.toString())])},onKeyDown:function(n){"Enter"===n.key&&(In((0,r.A)((0,a.A)({},Tn),{min_price:Bn.min_price})),void 0!==Bn.min_price&&void 0!==Bn.max_price&&On([parseInt(Bn.min_price.toString()),parseInt(Bn.max_price.toString())]))},"data-event-category":"Care","data-event-action":"Filter Click","data-event-label":"https://".concat(g.y[_n]).concat(x.JpE).concat(Mn)})]})]})}),(0,c.Y)(p.B,{size:"md",color:"tertiary",className:"btnPriceRange",children:(0,c.FD)(m.B,{spacing:0,children:[(0,c.Y)(d.T,{size:"label2",className:"priceRangeLabel",color:u.w.colors.gray600,children:L.max}),(0,c.FD)("div",{className:"valueInput",children:[(0,c.Y)(d.T,{size:"p4",type:"regular",children:H}),(0,c.Y)("input",{name:"max-price",type:"text",pattern:"\\d*",maxLength:j.max.toString().length,value:Bn.max_price,onChange:function(n){var e=parseInt(n.target.value)>j.max?j.max:n.target.value;Pn((0,r.A)((0,a.A)({},Bn),{max_price:e}))},onBlur:function(n){In((0,r.A)((0,a.A)({},Tn),{max_price:n.target.value})),void 0!==Bn.min_price&&On([parseInt(Bn.min_price.toString()),parseInt(n.target.value)])},onKeyDown:function(n){"Enter"===n.key&&(In((0,r.A)((0,a.A)({},Tn),{max_price:Bn.max_price})),void 0!==Bn.min_price&&void 0!==Bn.max_price&&On([parseInt(Bn.min_price.toString()),parseInt(Bn.max_price.toString())]))},"data-event-category":"Care","data-event-action":"Filter Click","data-event-label":"https://".concat(g.y[_n]).concat(x.JpE).concat(Mn)})]})]})})]})]})]})},en=t(10297),tn=function(n){var e=n.isMobile,t=n.numberOfResults,r=void 0===t?-1:t,o=n.filters,p=n.city,h=n.gps,m=n.isLoading,y=n.isLoadingDistricts,w=n.setIsLoadingDistricts,_=n.onCloseClick,M=n.onFilterChange,D=(0,A.A)().formatMessage,Y=(0,k.$)(),E=Y.locale,N=Y.asPath,S={dataEventCategory:"Care",dataEventAction:"Filter Click",dataEventLabel:"https://".concat(g.y[E]).concat(x.JpE).concat(N)},F={dataEventCategory:"Care",dataEventAction:"Reset Filter Click",dataEventLabel:"https://".concat(g.y[E]).concat(x.JpE).concat(N)},T=(0,s.useState)(o),I=T[0],z=T[1],B=function(n){var e=n.city,t=n.gps,a=n.type,r=void 0===a?"hospital":a,o=n.setIsLoadingDistricts;if(!e&&!t)return{districts:[]};var c=(0,s.useState)([]),d=c[0],u=c[1],p=(0,en.useRouter)().locale;return(0,s.useEffect)((function(){if(e&&("vi-VN"!==p||e.id===x.XRl)){var n=function(){var n=(0,i.A)((function(){var n,i,a;return(0,l.__generator)(this,(function(l){switch(l.label){case 0:return[4,(0,b.px)((0,b.er)(v.R.GET_CITY_DISTRICTS,{cityId:null===e||void 0===e?void 0:e.id,lat:t.lat,lng:t.lng,type:r}),"GET")];case 1:return i=l.sent(),a=((null===i||void 0===i||null===(n=i._data)||void 0===n?void 0:n.districts)||[]).map(f.YT),u(a),o&&o(!1),[2]}}))}));return function(){return n.apply(this,arguments)}}();n()}}),[e,t]),{districts:d}}({city:p,gps:h,setIsLoadingDistricts:w,type:"hospital"}).districts;return(0,s.useEffect)((function(){z(o)}),[o]),(0,c.Y)(Q,{isMobile:e,isLoading:m,numberOfResults:r,trackingFilter:S,trackingResetFilter:F,handleClearFilters:function(){var n={};z(n),M(n)},onCloseClick:_,children:(0,c.FD)(V,{children:[(0,c.Y)(d.T,{size:"p4",type:"semiBold",color:u.w.colors.secondaryDark,className:"filterName",children:D({id:"searchResults.filter.districts",defaultMessage:"Districts"})}),(0,c.Y)(q,{children:y?(0,c.Y)(c.FK,{children:Array(5).fill(null).map((function(n,e){return(0,c.Y)(C.A,{height:24,className:"filterCheckbox"},e)}))}):(0,c.Y)(c.FK,{children:B.map((function(n){var e;return(0,c.Y)(W,(0,a.A)({name:"district-".concat(n.name),label:n.name,checked:!!(null===(e=I.district_id)||void 0===e?void 0:e.some((function(e){return e===n.id}))),onChange:function(){return function(n,e){var t;t="district_id"===n?(0,a.A)({},(0,$.Du)(I,"district_id",e)):{};z(t),M(t)}("district_id",n.id)},id:"district-".concat(n.id)},S),"district-".concat(n.name,"-").concat(n.id))}))})})]})})},an=function(n){var e,t,i,o=n.gps,l=n.filters,h=n.className,m=n.isMobile,f=void 0!==m&&m,v=n.numberOfResults,b=void 0===v?-1:v,w=n.isLoading,_=void 0!==w&&w,M=n.isShowedDistanceFilter,D=void 0!==M&&M,Y=n.onCloseClick,E=n.onFilterChange,N=n.districts,S=void 0===N?[]:N,F=(0,A.A)().formatMessage,T=(0,k.$)(),I=T.locale,z=T.asPath,B=(0,s.useState)(l.distance),P=B[0],O=B[1],L=(0,s.useState)(!1),H=L[0],j=L[1],R=H?S:S.slice(0,$.CI),U=H?F({id:"hospitalCard.seeLess",defaultMessage:"See Less"}):"".concat(F({id:"hospitalCard.seeMore",defaultMessage:"See More"})," (").concat(null===S||void 0===S?void 0:S.length,")"),G=[5,50],J={dataEventCategory:"Care",dataEventAction:"Filter Click",dataEventLabel:"https://".concat(g.y[I]).concat(x.JpE).concat(z)},Z={dataEventCategory:"Care",dataEventAction:"Reset Filter Click",dataEventLabel:"https://".concat(g.y[I]).concat(x.JpE).concat(z)};if(!(null===o||void 0===o?void 0:o.lat)&&!x.LuG.includes(I)&&!x.hgd.includes(I))return null;(0,s.useEffect)((function(){return O(l.distance)}),[l]);var X=function(n,e){var t;switch(n){case"booking.services":t=(0,a.A)({},(0,$.Du)(l,"available_with",x.Qr$.SERVICES));break;case"booking.doctors":t=(0,a.A)({},(0,$.Du)(l,"available_with",x.Qr$.DOCTORS));break;case"availability":t=(0,r.A)((0,a.A)({},l),{availability:"boolean"!==typeof e?e:0});break;case"district_id":t=(0,a.A)({},(0,$.Du)(l,"district_id",e));break;default:t={}}E(t)};return(0,c.FD)(Q,{className:h,isMobile:f,isLoading:_,numberOfResults:b,trackingFilter:J,trackingResetFilter:Z,handleClearFilters:function(){E({})},onCloseClick:Y,children:[S.length>0&&(0,c.FD)(V,{children:[(0,c.Y)(d.T,{size:"p4",type:"semiBold",color:u.w.colors.secondaryDark,className:"filterName",children:F({id:"searchResults.filter.districts",defaultMessage:"Districts"})}),(0,c.Y)(K,{children:_&&!(null===(e=l.district_id)||void 0===e?void 0:e.length)?Array(6).fill(null).map((function(n,e){return(0,c.Y)(C.A,{height:24,width:125,className:"district-option"},e)})):(0,c.FD)(c.FK,{children:[R.map((function(n){var e;return(0,c.Y)(W,(0,a.A)({className:"district-option",name:"district-".concat(n.name),label:n.name,checked:!!(null===(e=l.district_id)||void 0===e?void 0:e.some((function(e){return e===n.id}))),onChange:function(){return X("district_id",n.id)},id:"district-".concat(n.id)},J),"district-".concat(n.name,"-").concat(n.id))})),S.length>$.CI&&(0,c.Y)(p.B,{size:"sm",color:"ghost",className:"see-more-btn",onClick:function(){return j(!H)},children:U})]})})]}),(null===o||void 0===o?void 0:o.lat)&&D&&(0,c.FD)(V,{children:[(0,c.FD)("div",{className:"d-flex jc-between",children:[(0,c.Y)(d.T,{size:"p4",type:"semiBold",color:u.w.colors.secondaryDark,className:"filterName",children:F({id:"filter.distance",defaultMessage:"Distance"})}),(0,c.FD)(d.T,{size:"p4",children:[P," km"]})]}),(0,c.Y)(y.Ap,{step:5,min:G[0],max:G[1],value:[0,l.distance||50],isMobile:f,onFinalChange:function(n){var e=(0,r.A)((0,a.A)({},l),{distance:n[1],lat:null===o||void 0===o?void 0:o.lat,lng:null===o||void 0===o?void 0:o.lng});E(e)},onChange:function(n){return O(n[0])},isSingleSlider:!0}),(0,c.FD)("div",{className:"d-flex jc-between",children:[(0,c.Y)(d.T,{size:"p4",children:G[0]}),(0,c.Y)(d.T,{size:"p4",children:G[1]})]})]}),(0,c.FD)(V,{children:[(0,c.Y)(d.T,{size:"p4",type:"semiBold",color:u.w.colors.secondaryDark,className:"filterName",children:F({id:"filter.booking",defaultMessage:"Available for Booking"})}),(0,c.FD)(q,{children:[x.LuG.includes(I)&&(0,c.Y)(W,(0,a.A)({name:F({id:"filter.services",defaultMessage:"Services"}),label:F({id:"filter.services",defaultMessage:"Services"}),id:"filter.services",checked:!!(null===(t=l.available_with)||void 0===t?void 0:t.some((function(n){return n===x.Qr$.SERVICES}))),onChange:function(n){return X("booking.services",n)}},J)),x.hgd.includes(I)&&(0,c.Y)(W,(0,a.A)({name:F({id:"filter.doctors",defaultMessage:"Doctors"}),label:F({id:"filter.doctors",defaultMessage:"Doctors"}),id:"filter.doctors",checked:!!(null===(i=l.available_with)||void 0===i?void 0:i.some((function(n){return n===x.Qr$.DOCTORS}))),onChange:function(n){return X("booking.doctors",n)}},J))]})]})]})}},57920:function(n,e,t){"use strict";t.d(e,{CI:function(){return o},Du:function(){return l},IF:function(){return s}});var i=t(44898),a=t(53513),r=t(40959),o=10,l=function(n,e,t){var i,r,o;(null===n||void 0===n||null===(i=n[e])||void 0===i?void 0:i.some((function(n){return n===t})))?(n[e]=null===n||void 0===n||null===(o=n[e])||void 0===o?void 0:o.filter((function(n){return n!==t})),r=(0,a.A)({},n)):(r=(0,a.A)({},n))[e]?r[e].push(t):r[e]=[t];return r},c={booking:"available_with"},s=function(n,e,t){var a=Object.keys(n);return 0===a.length?"":"&"+a.map((function(a){if(e[a])return"";var o=n[a],l=c[a];return"undefined"===typeof l&&(l=a),(0,i.A)(o,Array)&&(o=o.length>0?o.join(","):""),"max_price"!==l||o!==r.sOt[t]?o&&l?"".concat(l,"=").concat(o):"":void 0})).filter((function(n){return!!n})).join("&")}},67637:function(n,e,t){"use strict";t.d(e,{w:function(){return gn}});var i=t(2445),a=t(73884),r=t(60304),o=t(35291),l=t(50970),c=t(37597),s=t(57077),d=t(88491),u=t(10297),p=t(14662),h=t(6442),g=t(86680),m=t(24537),f=t(44410),v=t(27317);function b(){var n=(0,m.A)(["\n display: flex;\n flex-wrap: wrap;\n row-gap: 24px;\n column-gap: 16px;\n\n .content-part {\n width: calc(50% - 16px);\n "," {\n width: calc(100% + 32px);\n border-top: 1px solid\n ",";\n margin: 0 -16px;\n padding: 16px 16px 0 16px;\n }\n }\n"]);return b=function(){return n},n}function y(){var n=(0,m.A)(["\n display: flex;\n gap: 4px;\n\n &::before {\n content: '';\n display: block;\n background: black;\n border-radius: 50%;\n width: 4px;\n height: 4px;\n margin: 10px;\n flex-shrink: 0;\n }\n\n &:not(:last-child) {\n margin-bottom: 12px;\n }\n\n a > * {\n pointer-events: none;\n }\n"]);return y=function(){return n},n}var k,x,w,A=v.Ay.div.withConfig({componentId:"sc-5f5fa5ef-0"})(b(),f.M.mbDown,(function(n){return n.theme.colors.neutral100})),C=v.Ay.div.withConfig({componentId:"sc-5f5fa5ef-1"})(y()),_=t(54378),M=t(11966),D=t(1148),Y=t(63758),E=t(4072),N=t(45227),S=function(n){var e=n.doctorInfo,t=(0,h.A)().formatMessage,a=e.experience,r=e.education,d=e.awards,u=e.publication,p=e.memberships,g=e.languages;return(0,i.FD)(A,{children:[a.length>0&&(0,i.FD)("div",{className:"content-part",children:[(0,i.Y)(c.I,{icon:(0,i.Y)(D.A,{}),iconPosition:"left",size:"md",className:"mb-[16px]",children:(0,i.Y)(s.H,{tag:"h6",color:o.w.colors.secondaryDark,children:t({id:"admin.expForm.exp",defaultMessage:"Experience"})})}),a.map((function(n,e){return(0,i.Y)(C,{children:(0,i.FD)("div",{className:"info",children:[(0,i.Y)(l.T,{size:"p2",children:n.title}),(0,i.Y)(l.T,{size:"p4",color:o.w.colors.gray500,children:n.organization}),n.start&&(0,i.Y)(l.T,{size:"p4",color:o.w.colors.gray500,children:"".concat(n.start," - ").concat(n.end||t({id:"common.date.present",defaultMessage:"Present"}))})]})},"".concat(n.title,"-").concat(e))}))]}),r.length>0&&(0,i.FD)("div",{className:"content-part",children:[(0,i.Y)(c.I,{icon:(0,i.Y)(M.A,{}),iconPosition:"left",size:"md",className:"mb-[16px]",children:(0,i.Y)(s.H,{tag:"h6",color:o.w.colors.secondaryDark,children:t({id:"admin.eduForm.edu",defaultMessage:"Education"})})}),r.map((function(n,e){return(0,i.Y)(C,{children:(0,i.FD)("div",{className:"info",children:[(0,i.Y)(l.T,{size:"p2",children:n.school}),(0,i.Y)(l.T,{size:"p4",color:o.w.colors.gray500,children:n.field}),n.start&&(0,i.Y)(l.T,{size:"p4",color:o.w.colors.gray500,children:"".concat(n.start," - ").concat(n.end||t({id:"common.date.present",defaultMessage:"Present"}))})]})},"".concat(n.school,"-").concat(e))}))]}),d.length>0&&(0,i.FD)("div",{className:"content-part",children:[(0,i.Y)(c.I,{icon:(0,i.Y)(_.A,{}),iconPosition:"left",size:"md",className:"mb-[16px]",children:(0,i.Y)(s.H,{tag:"h6",color:o.w.colors.secondaryDark,children:t({id:"admin.awardsForm.awards",defaultMessage:"Awards and Recognition"})})}),d.map((function(n,e){return(0,i.Y)(C,{children:(0,i.FD)("div",{className:"info",children:[(0,i.Y)(l.T,{size:"p2",children:n.name}),(0,i.Y)(l.T,{size:"p4",color:o.w.colors.gray500,children:n.year})]})},"".concat(n.name,"-").concat(e))}))]}),u.length>0&&(0,i.FD)("div",{className:"content-part",children:[(0,i.Y)(c.I,{icon:(0,i.Y)(N.A,{}),iconPosition:"left",size:"md",className:"mb-[16px]",children:(0,i.Y)(s.H,{tag:"h6",color:o.w.colors.secondaryDark,children:t({id:"admin.publicationsForm.title",defaultMessage:"Publications"})})}),u.map((function(n,e){return(0,i.Y)(C,{children:n.url?(0,i.Y)("a",{href:n.url,target:"_blank",rel:"noreferrer",children:(0,i.Y)(l.T,{size:"p2",children:n.name})}):(0,i.Y)(l.T,{size:"p2",children:n.name})},"".concat(n.name,"-").concat(e))}))]}),p.length>0&&(0,i.FD)("div",{className:"content-part",children:[(0,i.Y)(c.I,{icon:(0,i.Y)(E.A,{}),iconPosition:"left",size:"md",className:"mb-[16px]",children:(0,i.Y)(s.H,{tag:"h6",color:o.w.colors.secondaryDark,children:t({id:"admin.membershipForm.title",defaultMessage:"Membership"})})}),p.map((function(n,e){return(0,i.Y)(C,{children:(0,i.Y)(l.T,{size:"p2",children:n.name})},"".concat(n.name,"-").concat(e))}))]}),g.length>0&&(0,i.FD)("div",{className:"content-part",children:[(0,i.Y)(c.I,{icon:(0,i.Y)(Y.A,{}),iconPosition:"left",size:"md",className:"mb-[16px]",children:(0,i.Y)(s.H,{tag:"h6",color:o.w.colors.secondaryDark,children:t({id:"admin.languageForm.title",defaultMessage:"Language spoken"})})}),g.map((function(n,e){return(0,i.Y)(C,{children:(0,i.Y)(l.T,{size:"p2",children:n})},"".concat(n,"-").concat(e))}))]})]})},F=t(96477),T=t(57656),I=t(76013),z=t(40959);function B(){return B=Object.assign?Object.assign.bind():function(n){for(var e=1;e0&&a&&(0,i.FD)("div",{className:"working-hours",children:[(0,i.Y)(c.I,{icon:(0,i.Y)(H,{}),iconPosition:"left",size:"md",className:"pb-[8px]",children:(0,i.Y)(s.H,{tag:"h6",as:"h2",color:o.w.colors.secondaryDark,children:t({id:"hospital.regularHours",defaultMessage:"Regular Hours"})})}),(0,i.Y)("div",{className:"week-working-time",children:Z.map((function(n){return a&&(0,i.FD)("div",{className:"working-time",children:[(0,i.Y)(l.T,{size:"p2",className:"date",children:t({id:"hospital.workingDays.".concat(n)})}),(0,i.Y)(l.T,{size:"s3",type:"semiBold",className:"time",children:a[n]?a[n].join(", "):t({id:"hospital.status_closed",defaultMessage:"Closed"})})]},"working-time-".concat(n))}))}),r===z.ffg.AVAILABLE&&(0,i.Y)(l.T,{color:o.w.colors.success,size:"p4",type:"caption",className:"mt-[16px]",children:t({id:"hospital.emergencyHours",defaultMessage:"emergencyHours"})})]}),d.length>0&&(0,i.FD)("div",{className:"list-insurances",children:[(0,i.Y)(c.I,{icon:(0,i.Y)(K,{}),iconPosition:"left",size:"md",className:"mb-[16px]",children:(0,i.Y)(s.H,{tag:"h6",as:"h2",color:o.w.colors.secondaryDark,children:t({id:"hospital.inNetworkInsurance",defaultMessage:"In-network Insurance"})})}),(0,i.Y)(T.l,{size:"base",color:"var(--gray800)",children:t({id:"doctorPage.insuranceIntro",defaultMessage:"We accept the following insurance plans:"})}),(0,i.Y)(g.D6,{children:d.map((function(n,e){return(0,i.FD)("div",{className:"insurance",children:[(0,i.Y)("div",{className:"logo",children:(0,i.Y)("img",{src:n.logo,loading:"lazy"})}),(0,i.Y)(l.T,{size:"p4",color:o.w.colors.gray500,type:"bold",className:"mt-[8px]",children:n.name})]},n.name+e)}))})]}),u.length>0&&(0,i.FD)("div",{className:"hospital-payment",children:[(0,i.Y)(c.I,{icon:(0,i.Y)(J,{}),iconPosition:"left",size:"md",className:"mb-[16px]",children:(0,i.Y)(s.H,{tag:"h6",as:"h2",color:o.w.colors.secondaryDark,children:t({id:"hospitalPage.acceptedPayments",defaultMessage:"Accepted payments"})})}),(0,i.Y)("div",{className:"accepted-payments",children:u.map((function(n){return(0,i.FD)(g.NJ,{children:[(0,i.Y)("div",{className:"logo",children:(0,i.Y)("img",{src:n.logo,alt:"".concat(n.name," Logo"),loading:"lazy"})}),(0,i.Y)(l.T,{size:"n1",children:n.name})]},n.id)}))})]})]})};function $(){var n=(0,m.A)(["\n "," {\n display: block;\n padding-top: 16px;\n }\n"]);return $=function(){return n},n}function X(){var n=(0,m.A)(["\n display: flex;\n flex-direction: column;\n gap: 24px;\n\n hr {\n margin: 32px 0;\n }\n\n .heading {\n margin-bottom: 16px;\n font-size: 16px;\n line-height: 24px;\n padding-left: 8px;\n\n &::after {\n width: 2px;\n height: 15px;\n margin-top: 4px;\n }\n }\n\n .list-services {\n & > *:not(:last-child) {\n margin-bottom: 16px;\n }\n }\n"]);return X=function(){return n},n}function nn(){var n=(0,m.A)(["\n display: flex;\n flex-wrap: wrap;\n gap: 8px;\n margin-top: 16px;\n\n .expertise {\n background: ",";\n padding: 8px 16px;\n border-radius: 40px;\n }\n"]);return nn=function(){return n},n}var en,tn,an,rn=v.Ay.div.withConfig({componentId:"sc-f3d26b8f-0"})($(),f.M.mbDown),on=v.Ay.div.withConfig({componentId:"sc-f3d26b8f-1"})(X()),ln=v.Ay.div.withConfig({componentId:"sc-f3d26b8f-2"})(nn(),(function(n){return n.theme.colors.neutral50})),cn=t(48403),sn=t(20607),dn=t(70931);function un(){return un=Object.assign?Object.assign.bind():function(n){for(var e=1;e0&&e++,2===e)return!0}));return-1===t?[n.join("\n").replace(/\n/g,"
")]:[n.slice(0,t+1).join("\n").replace(/\n/g,"
"),n.slice(t+1).join("\n").replace(/\n/g,"
")]}),[m.description]),A=(0,a.useMemo)((function(){return m.experiences.map((function(n){try{return JSON.parse(n.description)}catch(e){return n.description}})).filter((function(n){return n.content}))}),[m.experiences]),C=function(n){return"string"===typeof n?n:(null===n||void 0===n?void 0:n.year)?"".concat(n.year," ").concat(null===n||void 0===n?void 0:n.content):(null===n||void 0===n?void 0:n.content)?n.content:""},_=(0,p.Bi)(m.experiences.length),M=(0,dn.oq)({locale:b,isMobile:k,contentAdTag:"Doctor"});return(0,i.Y)(rn,{children:(0,i.FD)(on,{children:[(0,i.FD)("div",{className:"info-section",children:[(0,i.Y)(r.a,{className:"heading",as:"h4",color:o.w.colors.secondaryDark,children:y({id:"doctorPage.about",defaultMessage:"About the doctor"})}),w.map((function(n,e){return(0,i.FD)(a.Fragment,{children:[n&&(0,i.Y)(l.T,{size:"base",children:(0,i.Y)("span",{dangerouslySetInnerHTML:{__html:n}})}),k&&0===e&&f&&(0,i.Y)(sn.z,{className:"ad-container",adUnitPath:M,size:[[320,100],[300,250]],divId:"ad-hospital-mobile-top-banner",pos:["TopBanner"],adDefaultSize:[320,100],customTargetings:{Doctor_ID:[m.id]},style:{paddingBottom:24,marginTop:16,marginBottom:-16}})]},e)}))]}),m.expertise.length>0&&(0,i.FD)("div",{className:"expertise-section",children:[(0,i.Y)(c.I,{icon:(0,i.Y)(pn,{}),iconPosition:"left",size:"md",children:(0,i.Y)(s.H,{tag:"h6",color:o.w.colors.secondaryDark,children:y({id:"admin.expertise.heading",defaultMessage:"Area of expertise"})})}),(0,i.Y)(ln,{children:m.expertise.map((function(n){return(0,i.Y)("div",{className:"expertise",children:(0,i.Y)(l.T,{size:"s3",children:n.name})},n.id)}))})]}),!!(null===(e=m.services)||void 0===e?void 0:e.length)&&(0,i.FD)("div",{className:"service-section",children:[(0,i.Y)(c.I,{icon:(0,i.Y)(hn.A,{}),iconPosition:"left",size:"md",className:"mb-[16px]",children:(0,i.Y)(s.H,{tag:"h6",color:o.w.colors.secondaryDark,children:y({id:"doctorPage.service",defaultMessage:"Service"})})}),(0,i.Y)("div",{className:"list-services",children:m.services.map((function(n,e){return(0,i.Y)(F.R,{service:n},"Service-".concat(e+1))}))})]}),A.length>0&&!m.experience.length&&!m.education.length&&(0,i.FD)("div",{className:"exp-section",children:[(0,i.Y)(c.I,{icon:(0,i.Y)(D.A,{}),iconPosition:"left",size:"md",className:"heading",children:(0,i.Y)(s.H,{tag:"h6",color:o.w.colors.secondaryDark,children:y({id:"doctorPage.educationAndExperience",defaultMessage:"Education & experience"})})}),(0,i.Y)(T.eV,{children:A.map((function(n,e){return(0,i.Y)("li",{children:(0,i.Y)(l.T,{size:"base",children:C(n)})},_[e])}))})]}),(0,i.Y)(S,{doctorInfo:m}),m.hospital&&(0,i.FD)("div",{className:"hospital-info",children:[(0,i.Y)(r.a,{className:"heading",color:o.w.colors.secondaryDark,as:"h4",children:y({id:"doctorPage.detailsAddress",defaultMessage:"Address Details"})}),(0,i.Y)(Q,{hospitalInfo:m.hospital})]}),k&&f&&!!(null===(t=m.services)||void 0===t?void 0:t.length)&&(0,i.Y)(sn.z,{className:"ad-container",adUnitPath:M,size:[[320,100],[300,250]],divId:"ad-hospital-mobile-mid-banner1",pos:["MidBanner1"],adDefaultSize:[320,100],customTargetings:{Doctor_ID:[m.id]},style:{paddingBottom:24}}),x.length>0&&(0,i.FD)(i.FK,{children:[(0,i.Y)(s.H,{tag:"h6",as:"h2",color:o.w.colors.secondaryDark,className:"border-heading mb-[16px]",children:y({id:"landing.faq",defaultMessage:"Frequently Asked Questions"})}),(0,i.Y)(g.F9,{children:(0,i.Y)(cn.nD,{content:x.map((function(n){return{title:n.question,content:n.answer}}))})})]})]})})}},96477:function(n,e,t){"use strict";t.d(e,{R:function(){return g}});var i=t(2445),a=t(73884),r=t(50970),o=t(10333),l=t(55908),c=t(6442),s=t(24537);function d(){var n=(0,s.A)(["\n background: ",";\n border-radius: 6px;\n padding: 16px;\n"]);return d=function(){return n},n}var u=t(27317).Ay.div.withConfig({componentId:"sc-411e078a-0"})(d(),(function(n){return n.theme.colors.neutral50})),p=t(71584),h=t(51524);function g(n){var e=n.service,t=(0,c.A)().formatMessage,s=(0,a.useRef)(null),d=(0,a.useState)(!0),g=d[0],m=d[1],f=(0,l.y)({wrapperRef:s}).isDescriptionCollapsible;return(0,i.FD)(u,{children:[(0,i.Y)(r.T,{size:"p4",type:"semiBold",children:e.name}),(0,i.FD)(h.ns,{"data-is-collapsed":g,ref:s,children:[(0,i.Y)(r.T,{size:"p4",className:"description",children:e.description}),f&&(0,i.Y)(o.B,{size:"sm",color:"ghost",className:"see-more-button",onClick:function(){return m(!g)},"data-padding-none":!0,children:t(g?{id:"hospitalCard.seeMore",defaultMessage:"See More"}:{id:"hospitalCard.seeLess",defaultMessage:"See Less"})})]}),(0,i.Y)(p.S,{price:e.price,priceType:e.price_type,priceTo:e.price_to||void 0})]})}},31215:function(n,e,t){"use strict";t.d(e,{E:function(){return d}});var i=t(2445),a=t(57077),r=t(35291),o=t(6442),l=t(24537);function c(){var n=(0,l.A)(["\n background: ",";\n border-radius: 6px;\n padding: 16px;\n display: flex;\n flex-direction: column;\n gap: 16px;\n\n div {\n font-size: 16px;\n line-height: 24px;\n\n ul > li {\n list-style-type: disc;\n list-style-position: inside;\n margin-left: 15px;\n }\n ol > li {\n list-style-type: decimal;\n list-style-position: inside;\n margin-left: 15px;\n }\n\n strong {\n font-weight: bold;\n }\n\n em {\n font-style: italic;\n }\n }\n"]);return c=function(){return n},n}var s=t(27317).Ay.div.withConfig({componentId:"sc-dbbb00b1-0"})(c(),(function(n){return n.theme.colors.blue50})),d=function(n){var e=n.glance,t=n.className,l=(0,o.A)().formatMessage;return(0,i.FD)(s,{className:t,children:[(0,i.Y)(a.H,{className:"border-heading",tag:"h6",color:r.w.colors.secondaryDark,children:l({id:"admin.doctor.atAGlance",defaultMessage:"At a glance"})}),(0,i.Y)("div",{dangerouslySetInnerHTML:{__html:e}})]})}},57656:function(n,e,t){"use strict";t.d(e,{EQ:function(){return x},Oe:function(){return k},Oz:function(){return f},U7:function(){return A},Zg:function(){return b},eV:function(){return y},l:function(){return w},sg:function(){return v}});var i=t(24537),a=t(44410),r=t(37597),o=t(50970),l=t(27317);function c(){var n=(0,i.A)(["\n position: relative;\n\n .bookingDesktop {\n display: flex;\n flex-direction: column;\n "," {\n min-width: 368px;\n max-width: 368px;\n }\n\n &[data-is-loading] {\n justify-self: start;\n }\n\n &[data-has-ad='false'] {\n > div:first-child {\n position: sticky;\n top: 5rem;\n right: 0;\n }\n }\n }\n\n .bookingCard {\n width: 100%;\n background-color: white;\n padding: 12px;\n\n "," {\n position: sticky;\n }\n }\n"]);return c=function(){return n},n}function s(){var n=(0,i.A)(["\n padding-left: 0;\n margin-bottom: 16px;\n margin-top: 16px;\n width: 100%;\n\n "," {\n margin-bottom: 24px;\n margin-top: 0;\n }\n\n p[data-size='sm'] {\n font-weight: 600;\n font-size: 14px;\n line-height: 22px;\n letter-spacing: -0.2px;\n }\n [data-is-tab-active] {\n cursor: default;\n }\n"]);return s=function(){return n},n}function d(){var n=(0,i.A)(["\n margin-top: 24px;\n &[data-is-booking-unavailable='true'] {\n display: flex;\n }\n\n "," {\n display: flex;\n width: 100%;\n margin-top: 24px;\n }\n\n "," {\n gap: 16px;\n }\n\n "," {\n gap: 32px;\n }\n\n margin-bottom: 100px;\n"]);return d=function(){return n},n}function u(){var n=(0,i.A)(["\n padding-left: 18px;\n li {\n list-style-type: disc;\n }\n"]);return u=function(){return n},n}function p(){var n=(0,i.A)(["\n margin-bottom: 24px;\n & > * {\n margin-top: 24px;\n }\n .working-hours {\n .week-working-time {\n max-width: 450px;\n .working-time {\n display: flex;\n margin-top: 8px;\n justify-content: space-between;\n .date {\n min-width: 100px;\n }\n .time {\n text-align: right;\n }\n }\n }\n }\n .accepted-payments {\n display: flex;\n gap: 16px;\n flex-wrap: wrap;\n }\n"]);return p=function(){return n},n}function h(){var n=(0,i.A)(["\n width: 100%;\n\n "," {\n ","\n }\n"]);return h=function(){return n},n}function g(){var n=(0,i.A)(["\n margin: 16px 0;\n"]);return g=function(){return n},n}function m(){var n=(0,i.A)(["\n max-height: 100%;\n position: relative;\n flex: 1;\n margin: 0.5rem 0;\n .ad-container {\n position: sticky;\n top: 80px;\n }\n"]);return m=function(){return n},n}var f=l.Ay.div.withConfig({componentId:"sc-f6aed7d5-0"})(c(),a.M.mbUp,a.M.mbUp),v=(0,l.Ay)(r.T).withConfig({componentId:"sc-f6aed7d5-1"})(s(),a.M.tdUp),b=l.Ay.div.withConfig({componentId:"sc-f6aed7d5-2"})(d(),a.M.mbUp,a.M.tdOnly,a.M.tdUp),y=l.Ay.ul.withConfig({componentId:"sc-f6aed7d5-3"})(u()),k=l.Ay.div.withConfig({componentId:"sc-f6aed7d5-4"})(p()),x=l.Ay.section.withConfig({componentId:"sc-f6aed7d5-5"})(h(),a.M.tdUp,(function(n){return n.isRightPanelActive&&"max-width: calc(100% - (368px + 32px))"})),w=(0,l.Ay)(o.T).withConfig({componentId:"sc-f6aed7d5-6"})(g()),A=l.Ay.div.withConfig({componentId:"sc-f6aed7d5-7"})(m())},86680:function(n,e,t){"use strict";t.d(e,{D6:function(){return k},F9:function(){return M},NJ:function(){return _},OI:function(){return w},Qz:function(){return v},Rz:function(){return x},jB:function(){return y},lO:function(){return b},lp:function(){return A},t3:function(){return C}});var i=t(24537),a=t(44410),r=t(27317);function o(){var n=(0,i.A)(["\n margin-bottom: 32px;\n & > * {\n margin-top: 24px;\n }\n ol {\n padding-left: 22px;\n li {\n padding-left: 4px;\n\n margin-top: 8px;\n list-style-type: disc;\n }\n }\n\n .list-categories {\n margin-top: 16px;\n display: flex;\n flex-direction: column;\n gap: 8px;\n }\n\n .patient-guide {\n &[data-is-collapsed='true'] {\n p {\n display: -webkit-box;\n overflow: hidden;\n -webkit-box-orient: vertical;\n -webkit-line-clamp: 4;\n }\n }\n\n p {\n white-space: pre-line;\n }\n }\n\n .see-more-button[data-size='sm'] {\n padding: 0;\n }\n\n .accepted-payments {\n display: flex;\n gap: 16px;\n flex-wrap: wrap;\n }\n\n .featured-doctors {\n .featured-doctor-item {\n height: 100%;\n }\n }\n"]);return o=function(){return n},n}function l(){var n=(0,i.A)(["\n border-bottom: 1px dashed\n ",";\n padding-bottom: 24px;\n .week-working-time {\n max-width: 450px;\n .working-time {\n display: flex;\n margin-top: 8px;\n justify-content: space-between;\n\n .date {\n min-width: 100px;\n }\n\n .time {\n text-align: right;\n }\n }\n }\n"]);return l=function(){return n},n}function c(){var n=(0,i.A)(["\n .hospital-see-more {\n font-size: 16px;\n line-height: 24px;\n letter-spacing: -0.2px;\n margin-top: 16px;\n white-space: pre-line;\n\n &:last-child {\n margin-top: 0;\n\n "," {\n margin-top: 16px;\n }\n }\n }\n\n &[data-is-collapsed='true'] {\n p {\n display: -webkit-box;\n overflow: hidden;\n -webkit-box-orient: vertical;\n -webkit-line-clamp: 4;\n }\n }\n"]);return c=function(){return n},n}function s(){var n=(0,i.A)(["\n display: flex;\n gap: 24px;\n flex-wrap: wrap;\n text-align: center;\n\n "," {\n gap: 16px;\n }\n .insurance {\n width: calc((100% - 24px * 4) / 5);\n\n "," {\n width: calc((100% - 16px * 2) / 3);\n }\n\n .logo {\n height: 62px;\n border-radius: 6px;\n border: 1px solid ",";\n padding: 10px;\n\n img {\n width: 100%;\n height: 100%;\n object-fit: contain;\n }\n }\n }\n"]);return s=function(){return n},n}function d(){var n=(0,i.A)(["\n border: 1px solid ",";\n border-radius: 6px;\n padding: 16px;\n\n .arrow {\n transition: all 300ms ease-out;\n\n &[data-is-collapsed='false'] {\n transform: rotate(180deg);\n }\n }\n"]);return d=function(){return n},n}function u(){var n=(0,i.A)(["\n height: 0px;\n overflow: hidden;\n transition: height 300ms ease-out;\n"]);return u=function(){return n},n}function p(){var n=(0,i.A)(["\n background: ",";\n border-radius: 6px;\n margin-top: 16px;\n padding: 16px;\n\n &[data-is-has-promotion='true'] {\n position: relative;\n border-left: 6px solid ",";\n }\n"]);return p=function(){return n},n}function h(){var n=(0,i.A)(["\n position: absolute;\n top: 0;\n right: 0;\n\n .text-promotion {\n position: absolute;\n top: 10px;\n right: 5px;\n transform: rotate(45deg);\n }\n"]);return h=function(){return n},n}function g(){var n=(0,i.A)(["\n text-align: center;\n .logo {\n width: 100px;\n height: 55px;\n padding: 8px 12px;\n border: 1px solid ",";\n border-radius: 6px;\n margin-bottom: 4px;\n\n img {\n width: 100%;\n height: 100%;\n object-fit: contain;\n }\n }\n"]);return g=function(){return n},n}function m(){var n=(0,i.A)(["\n border: 1px solid ",";\n border-radius: 8px;\n padding: 0 16px;\n"]);return m=function(){return n},n}function f(){var n=(0,i.A)(["\n padding: 16px 0;\n\n &:not(:last-child) {\n border-bottom: 1px solid\n ",";\n }\n\n .question {\n display: flex;\n justify-content: space-between;\n cursor: pointer;\n }\n\n .answer {\n margin-top: ","px;\n overflow: hidden;\n transition: all 0.3s ease-out;\n height: ","px;\n white-space: pre-line;\n }\n"]);return f=function(){return n},n}var v=r.Ay.div.withConfig({componentId:"sc-9c10e22a-0"})(o()),b=r.Ay.div.withConfig({componentId:"sc-9c10e22a-1"})(l(),(function(n){return n.theme.colors.neutral100})),y=r.Ay.div.withConfig({componentId:"sc-9c10e22a-2"})(c(),a.M.mbDown),k=r.Ay.div.withConfig({componentId:"sc-9c10e22a-3"})(s(),a.M.mbDown,a.M.mbDown,(function(n){return n.theme.colors.neutral200})),x=r.Ay.div.withConfig({componentId:"sc-9c10e22a-4"})(d(),(function(n){return n.theme.colors.neutral100})),w=r.Ay.div.withConfig({componentId:"sc-9c10e22a-5"})(u()),A=r.Ay.div.withConfig({componentId:"sc-9c10e22a-6"})(p(),(function(n){return n.theme.colors.neutral50}),(function(n){return n.theme.colors.green600})),C=r.Ay.div.withConfig({componentId:"sc-9c10e22a-7"})(h()),_=r.Ay.div.withConfig({componentId:"sc-9c10e22a-8"})(g(),(function(n){return n.theme.colors.neutral200})),M=r.Ay.div.withConfig({componentId:"sc-9c10e22a-9"})(m(),(function(n){return n.theme.colors.neutral100}));r.Ay.div.withConfig({componentId:"sc-9c10e22a-10"})(f(),(function(n){return n.theme.colors.neutral100}),(function(n){return n.isCollapsed?0:16}),(function(n){var e=n.answerHeight;return n.isCollapsed?0:e}))},25683:function(n,e,t){"use strict";t.d(e,{Q:function(){return p},B:function(){return h}});var i,a=t(73884);function r(){return r=Object.assign?Object.assign.bind():function(n){for(var e=1;e",""):i}),d&&(0,c.Y)(y.A,{width:16,height:16,className:p()("text-gray700")})]})]})})},x=t(6442),w=t(73884);function A(){return A=Object.assign?Object.assign.bind():function(n){for(var e=1;e0?1:0,o="".concat(a({id:"hospitalService.list.hospitalFilter",defaultMessage:"Hospital"})," ").concat(i>0?"(".concat(i,")"):"");return(0,c.Y)(k,{onClick:t,isActive:r,label:o,Icon:D,variantActive:"outline"})},E=t(88491),N=t(73419),S=t(40959),F=function(n){var e=n.onClick,t=n.activeFilterCount,i=void 0===t?0:t,a=(0,x.A)().formatMessage,r=i>0?1:0,o=i>0?"(".concat(i,")"):"",l="".concat(a({id:"filter.title",defaultMessage:"Filter"})," ").concat(o);return(0,c.Y)(k,{onClick:e,isActive:r,label:l,Icon:D,variantActive:"outline"})},T=t(87783),I=["keyword","page","city_id","longitude","latitude","promo_available","by_relevance","hospital_ids"],z=(C={},(0,h.A)(C,S.Hxq.VACCINE,I.concat(["healthCondition"])),(0,h.A)(C,S.Hxq.IVF,I.concat(["healthCondition"])),(0,h.A)(C,S.Hxq.EGG_FREEZING,I.concat(["healthCondition"])),(0,h.A)(C,S.Hxq.HEALTH_SCREENER,I),C),B=(_={},(0,h.A)(_,T.Xy.SORT,{id:"page.list.filter.secondary.sort.selector_label",defaultMessage:"Sort by"}),(0,h.A)(_,T.Xy.AGE_GROUP,{id:"vaccination.detail.text.ageGroup",defaultMessage:"Age group"}),(0,h.A)(_,T.Xy.HEALTH_CONDITION,{id:"hospitalService.list.healthConditionFilter",defaultMessage:"Health Condition"}),(0,h.A)(_,T.Xy.GENDER,{id:"hospitalService.list.genderFilter",defaultMessage:"Gender"}),(0,h.A)(_,T.Xy.PRODUCT_TYPE,{id:"hospitalService.list.packageType",defaultMessage:"Package type"}),(0,h.A)(_,T.Xy.HOSPITAL,{id:"hospitalService.list.hospitalFilter",defaultMessage:"Hospital"}),{age_group:{adult:{id:"page.list.filter.ageGroup.adult",defaultMessage:"Adults"},senior:{id:"page.list.filter.ageGroup.senior",defaultMessage:"Seniors"},teen:{id:"page.list.filter.ageGroup.teen",defaultMessage:"Teenagers"},child:{id:"page.list.filter.ageGroup.child",defaultMessage:"Children"},infant:{id:"page.list.filter.ageGroup.infant",defaultMessage:"Infants"},"":{id:"page.list.filter.ageGroup.all",defaultMessage:"All"}},healthCondition:{diabetes:{id:"hospitalService.healthConditionType.diabetes",defaultMessage:"diabetes"},general:{id:"hospitalService.healthConditionType.general",defaultMessage:"general"},cardiovascular:{id:"hospitalService.healthConditionType.cardiovascular",defaultMessage:"cardiovascular"},cancer:{id:"hospitalService.healthConditionType.cancer",defaultMessage:"cancer"},"organ function":{id:"hospitalService.healthConditionType.organFunction",defaultMessage:"organ function"},"bones & joint":{id:"hospitalService.healthConditionType.bonesJoint",defaultMessage:"bones & joint"},STDs:{id:"hospitalService.healthConditionType.stds",defaultMessage:"STDs"},others:{id:"hospitalService.healthConditionType.others",defaultMessage:"others"}},gender:{male:{id:"gender.male",defaultMessage:"male"},female:{id:"gender.female",defaultMessage:"female"},both:{id:"gender.both",defaultMessage:"both"}},lifeStage:{preMarriage:{id:"hospitalService.healthScreenerType.preMarriage",defaultMessage:"pre-marriage"},postMarriage:{id:"hospitalService.healthScreenerType.postMarriage",defaultMessage:"post-marriage"},prePregnancy:{id:"hospitalService.healthScreenerType.prePregnancy",defaultMessage:"pre-pregnancy"},pregnancy:{id:"hospitalService.healthScreenerType.pregnancy",defaultMessage:"pregnancy"},children:{id:"hospitalService.healthScreenerType.children",defaultMessage:"children"},elderly:{id:"hospitalService.healthScreenerType.elderly",defaultMessage:"elderly"},general:{id:"hospitalService.healthScreenerType.general",defaultMessage:"general"}},by_relevance:{1:{id:"page.list.filter.secondary.relevance",defaultMessage:"By Relevance"}},by_popularity:{1:{id:"page.list.filter.secondary.popularity",defaultMessage:"By Popularity"}},top_price:{1:{id:"page.list.filter.secondary.price",defaultMessage:"By Price"}}}),P=(M={},(0,h.A)(M,S.Hxq.VACCINE,{hpv:{id:"hospitalService.vaccineType.hpv",defaultMessage:"hpv"},diphtheria:{id:"hospitalService.vaccineType.diphtheria",defaultMessage:"diphtheria"},tetanus:{id:"hospitalService.vaccineType.tetanus",defaultMessage:"tetanus"},pertussis:{id:"hospitalService.vaccineType.pertussis",defaultMessage:"pertussis"},flu:{id:"hospitalService.vaccineType.flu",defaultMessage:"flu"},hepatitisB:{id:"hospitalService.vaccineType.hepatitisB",defaultMessage:"hepatitisb"},polio:{id:"hospitalService.vaccineType.polio",defaultMessage:"polio"},hib:{id:"hospitalService.vaccineType.hib",defaultMessage:"hib"},measles:{id:"hospitalService.vaccineType.measles",defaultMessage:"measles"},mumps:{id:"hospitalService.vaccineType.mumps",defaultMessage:"mumps"},rubella:{id:"hospitalService.vaccineType.rubella",defaultMessage:"rubella"},meningococcal:{id:"hospitalService.vaccineType.meningococcal",defaultMessage:"meningococcal"},pneumococcal:{id:"hospitalService.vaccineType.pneumococcal",defaultMessage:"pneumococcal"},cholerae:{id:"hospitalService.vaccineType.cholerae",defaultMessage:"cholerae"},chickenpox:{id:"hospitalService.vaccineType.chickenpox",defaultMessage:"chickenpox"},diarrhea:{id:"hospitalService.vaccineType.diarrhea",defaultMessage:"diarrhea"},japaneseEncephalitis:{id:"hospitalService.vaccineType.japaneseEncephalitis",defaultMessage:"japanese_encephalitis"},smallpox:{id:"hospitalService.vaccineType.smallpox",defaultMessage:"smallpox"},dengueFever:{id:"hospitalService.vaccineType.dengueFever",defaultMessage:"dengue_fever"},rabies:{id:"hospitalService.vaccineType.rabies",defaultMessage:"rabies"},typhoidFever:{id:"hospitalService.vaccineType.typhoidFever",defaultMessage:"typhoid_fever"},tuberculosis:{id:"hospitalService.vaccineType.tuberculosis",defaultMessage:"tuberculosis"},hepatitisA:{id:"hospitalService.vaccineType.hepatitisA",defaultMessage:"hepatitis"},shingles:{id:"hospitalService.vaccineType.shingles",defaultMessage:"shingles"}}),(0,h.A)(M,S.Hxq.IVF,{ivf:{id:"hospitalService.ivfType.ivf",defaultMessage:"ivf"},icsi:{id:"hospitalService.ivfType.icsi",defaultMessage:"icsi"},iui:{id:"hospitalService.ivfType.iui",defaultMessage:"iui"},"egg-freezing":{id:"hospitalService.ivfType.eggFreezing",defaultMessage:"egg-freezing"},pgt:{id:"hospitalService.ivfType.pgt",defaultMessage:"pgt"},infertilityTreatment:{id:"hospitalService.ivfType.infertilityTreatment",defaultMessage:"infertilityTreatment"}}),(0,h.A)(M,S.Hxq.EGG_FREEZING,{every_year:{id:"hospitalService.eggFreezingType.packageBySamplePerYear",defaultMessage:"every_year"},one_year:{id:"hospitalService.eggFreezingType.1YearPackage",defaultMessage:"one_year"},three_year:{id:"hospitalService.eggFreezingType.3YearPackage",defaultMessage:"three_year"},five_year:{id:"hospitalService.eggFreezingType.5YearPackage",defaultMessage:"five_year"}}),(0,h.A)(M,S.Hxq.HEALTH_SCREENER,{"pre-marriage":{id:"hospitalService.healthScreenerType.preMarriage",defaultMessage:"pre-marriage"},"post-marriage":{id:"hospitalService.healthScreenerType.postMarriage",defaultMessage:"post-marriage"},"pre-pregnancy":{id:"hospitalService.healthScreenerType.prePregnancy",defaultMessage:"pre-pregnancy"},pregnancy:{id:"hospitalService.healthScreenerType.pregnancy",defaultMessage:"pregnancy"},children:{id:"hospitalService.healthScreenerType.children",defaultMessage:"children"},elderly:{id:"hospitalService.healthScreenerType.elderly",defaultMessage:"elderly"}}),M),O=t(24537);function L(){var n=(0,O.A)(["\n &::-webkit-scrollbar {\n width: 6px;\n height: 6px;\n display: none;\n }\n\n &::-webkit-scrollbar-track {\n background-color: transparent;\n }\n\n &::-webkit-scrollbar-thumb {\n background-color: rgba(0, 0, 0, 0.4);\n border-radius: 6px;\n }\n"]);return L=function(){return n},n}var H=t(27317).Ay.div.withConfig({componentId:"sc-877658b5-0"})(L()),j=function(n){var e=n.name,t=n.onFilter,i=n.isSelected,a=void 0===i?{near_me:0,promo_available:0,top_rated:0}:i,r=n.className,u=n.filterOptions,h=n.activeFilterCount,g=n.serviceType,m=n.onFilterClick,f=n.onHospitalClick,v=(0,x.A)().formatMessage,b=(0,N.$)().locale,y=[d.L.Vietnam].some((function(n){return n===b})),w=(0,E.d)().isMobile,A=[S.Hxq.VACCINE,S.Hxq.HEALTH_SCREENER].includes(g),C=(0,s.u)(),_=C.filters,M=C.handleUpdateFilter,D=function(n){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],t=Object.entries(n).filter((function(n){var t=(0,l.A)(n,2),i=t[0],a=t[1];return!e.includes(i)&&(!!(Array.isArray(a)&&a.length>0)||Boolean(a))})).reduce((function(n,e){var t=(0,l.A)(e,2),i=t[0],a=t[1];if(Array.isArray(a)){if(a.length<=0)return n;var r=!0,o=!1,c=void 0;try{for(var s,d=a[Symbol.iterator]();!(r=(s=d.next()).done);r=!0){var u=s.value;n.push([i,u])}}catch(p){o=!0,c=p}finally{try{r||null==d.return||d.return()}finally{if(o)throw c}}}else n.push([i,a]);return n}),[]);return t}(_,z[g]),T=function(n,e){return function(){var t=(0,o.A)({},_);Array.isArray(t[n])?t[n]=t[n].filter((function(n){return n!==e})):t[n]="",M(t)}};return(0,c.FD)(H,{className:p()(r,"flex flex-nowrap gap-2 overflow-x-auto snap-x -mx-4 pl-4 pr-4"),children:[m&&w&&(0,c.Y)(F,{onClick:m,activeFilterCount:h}),u.map((function(n,i){return"top_rated"!==n.key||y?(0,c.Y)(k,{Icon:n.Icon,label:v({id:n.label.id,defaultMessage:n.label.defaultMessage}),isActive:a[n.key],onClick:function(){return null===t||void 0===t?void 0:t(n.key)}},"chip-filter-".concat(e,"-").concat(i)):null})),f&&w&&A&&(0,c.Y)(Y,{onClick:f}),w&&(null===D||void 0===D?void 0:D.map((function(n,e){var t=(0,l.A)(n,2),i=t[0],a=t[1],r=function(n,e,t,i){if(function(n){return["productType","healthCondition"].includes(n)}(n)&&i){var a=P[i];if(a&&a[e])return t(a[e])}var r=B[n];return r&&r[e]?t(r[e]):e}(i,a,v,g);return(0,c.Y)(k,{label:r,onClick:T(i,a),isActive:1,isRemove:!0,config:{isReplaceBrWithSpace:!0}},"".concat(i,"-").concat(a,"-").concat(e))})))]})}},76308:function(n,e,t){"use strict";t.d(e,{B8:function(){return N},FJ:function(){return Y},Le:function(){return M},bu:function(){return _},sJ:function(){return E},vw:function(){return D}});var i=t(24537),a=t(44410),r=t(60304),o=t(25403),l=t(48085),c=t(40959),s=t(27317),d=t(43082),u=t(39857),p=t(42705),h=t(20023),g=t(99325);function m(){var n=(0,i.A)(["\n width: 20px;\n height: 20px;\n flex-shrink: 0;\n color: ",";\n"]);return m=function(){return n},n}function f(){var n=(0,i.A)(["\n ","\n"]);return f=function(){return n},n}function v(){var n=(0,i.A)(["\n ","\n"]);return v=function(){return n},n}function b(){var n=(0,i.A)(["\n ","\n"]);return b=function(){return n},n}function y(){var n=(0,i.A)(["\n ","\n"]);return y=function(){return n},n}function k(){var n=(0,i.A)(["\n display: flex;\n justify-content: center;\n position: fixed;\n z-index: ",";\n\n bottom: 0;\n left: 0;\n right: 0;\n width: 100%;\n background-color: #fff;\n border-top: 0.5px solid\n ",";\n\n "," {\n display: none !important;\n }\n"]);return k=function(){return n},n}function x(){var n=(0,i.A)(["\n &#"," .box-collapse {\n "," {\n padding: 20px 24px 16px;\n }\n\n & .title-collapse {\n "," {\n font-size: 20px;\n line-height: 28px;\n }\n }\n }\n"]);return x=function(){return n},n}function w(){var n=(0,i.A)(["\n & #payment-container .payment-item {\n "," {\n width: ",";\n height: ",";\n }\n }\n"]);return w=function(){return n},n}function A(){var n=(0,i.A)(["\n &.book-now-button {\n background-color: ",";\n &:hover {\n background-color: ",";\n }\n }\n"]);return A=function(){return n},n}var C=(0,s.AH)(m(),(function(n){return n.theme.colors.neutral800})),_=((0,s.Ay)(u.A).withConfig({componentId:"sc-cfe76148-0"})(f(),C),(0,s.Ay)(h.A).withConfig({componentId:"sc-cfe76148-1"})(v(),C)),M=((0,s.Ay)(p.A).withConfig({componentId:"sc-cfe76148-2"})(b(),C),(0,s.Ay)(g.A).withConfig({componentId:"sc-cfe76148-3"})(y(),C)),D=s.Ay.div.withConfig({componentId:"sc-cfe76148-4"})(k(),c.Mue.actionBottomGroup,(function(n){return n.theme.colors.neutral100}),a.M.mbUp),Y=(0,s.Ay)(r.C).withConfig({componentId:"sc-cfe76148-5"})(x(),(function(n){return n.id}),a.M.mbUp,a.M.mbUp),E=s.Ay.div.withConfig({componentId:"sc-cfe76148-6"})(w(),a.M.mbUp,(0,l.D)(170),(0,l.D)(80)),N=(0,s.Ay)(o.B).withConfig({componentId:"sc-cfe76148-7"})(A(),d.T.yellow[800],d.T.yellow[900])},20864:function(n,e,t){"use strict";t.d(e,{DT:function(){return g},J3:function(){return m}});var i=t(40568),a=t(2445),r=t(73884),o=t(72451),l=t(40279),c=t(95204),s=t(73419),d=t(40959),u=t(13034),p=(0,r.createContext)(null),h={hospital_branch_lists:[],organization:null,slug:"",service_type:d.Hxq.VACCINE,id:0},g=function(n){var e=n.children,t=n.serviceData,g=(0,s.$)(),m=(0,l.j)(),f=(0,i.A)(m,2),v=f[0],b=f[1],y=(0,r.useState)(null!==t&&void 0!==t?t:h),k=y[0],x=y[1],w=(0,o.a)(),A=(0,r.useCallback)((function(n){var e;if(g.asPath.includes("payment")&&(0,c.jX)(k))return g.replace("/".concat(null===(e=d.y1A[g.locale])||void 0===e?void 0:e.WEIGHT_LOSS,"/").concat(k.slug,"-").concat(n,"/payment")+window.location.search);var t="".concat((0,u.WZ)(k.service_type,g.locale,"")).concat(k.slug,"-").concat(n,"/payment"),i=(0,u.oN)(g.locale);w.setHref("".concat(i).concat(d.JpE).concat(t)),g.asPath.includes("payment")?g.replace(t+window.location.search):g.push(t+window.location.search)}),[k.slug,k.service_type]),C=(0,r.useCallback)((function(n){n?b.open():b.close()}),[b]),_=(0,r.useCallback)((function(){k.hospital_branch_lists.length>1?b.open():A(k.id)}),[b,A,k]),M=(0,r.useCallback)((function(){b.close()}),[b]),D=(0,r.useCallback)((function(n){x(n),n.hospital_branch_lists.length>1?b.open():A(n.id)}),[b,A]),Y=(0,r.useMemo)((function(){return{serviceData:k,isOpenPopupOrganization:v,hospitalBranches:k.hospital_branch_lists,organization:k.organization,slug:k.slug,serviceType:k.service_type,handlePopupOrganizationChange:C,openPopupOrganization:_,closePopupOrganization:M,handleBookNow:A,openPopupOrganizationWithData:D}}),[k,v,C,_,M,A,D]);return(0,a.Y)(p.Provider,{value:Y,children:e})};function m(){var n=(0,r.useContext)(p);if(!n)throw new Error("useClinicOrganizationPopup must be used within OrganizationPopupProvider");return n}},57421:function(n,e,t){"use strict";t.d(e,{A:function(){return v}});var i=t(2445),a=t(73884),r=t(76013),o=t(26754),l=t(88491),c=t(14660),s=t(6442),d=t(34283),u=t(20864),p=t(24537),h=t(97354),g=t(35291);function m(){var n=(0,p.A)(["\n @media (min-width: 768px) {\n .mantine-Modal-title {\n font-size: 1.0625rem;\n font-weight: 600;\n line-height: 1.5rem;\n color: ",";\n }\n\n .mantine-Modal-content {\n width: 551px;\n height: 556px;\n\n .mantine-Modal-header {\n\n .mantine-Modal-close svg {\n width: 1.25rem !important;\n height: 1.25rem !important;\n }\n }\n\n .mantine-Modal-body {\n padding: 0;\n }\n }\n }\n"]);return m=function(){return n},n}var f=(0,t(27317).Ay)(h.a).withConfig({componentId:"sc-6614a0a6-0"})(m(),g.w.colors.gray1000);var v=function(n){var e=n.excludeIds,t=(0,o.HO)(),p=t.gps,h=t.geoLocationInfo,g=(0,l.d)().isMobile,m=(0,c.A)(),v=(0,s.A)().formatMessage,b=(0,u.J3)(),y=b.isOpenPopupOrganization,k=b.handlePopupOrganizationChange,x=b.closePopupOrganization,w=b.hospitalBranches,A=b.organization,C=b.slug,_=b.handleBookNow,M=v({id:"hospitalService.searchBranch.title",defaultMessage:"Select a branch for booking"}),D=(0,a.useMemo)((function(){return e?null===w||void 0===w?void 0:w.filter((function(n){return!(null===e||void 0===e?void 0:e.includes(n.id))})):w}),[w,e]);return(0,i.Y)(f,{isOpen:y,onClose:x,onOpenChange:k,isMobile:g,contentClassName:"max-h-[calc(100vh-60px)] grid-rows-[35px_calc(100%_-_35px)] grid",title:M,children:(0,i.Y)("div",{children:D&&D.length>0&&(0,i.Y)(r.g8,{hospitalBranch:D,organization:A||null,gps:(null===h||void 0===h?void 0:h.place_id)?p:null,vaccineSlug:C,onClickBranch:function(n){_(n.listing_id)},viewHeight:m,title:g?M:"",dataTracking:d.Yh.clickBookingBranch})})})}},88718:function(n,e,t){"use strict";t.d(e,{x:function(){return xe},K:function(){return ft}});var i,a,r=t(53513),o=t(63538),l=t(53455),c=t(40568),s=t(81539),d=t(2445),u=t(73884),p=t(60304),h=t(15762),g=t(49581),m=t(26273),f=t(48085),v=t(51387),b=t(40279),y=t(74029),k=t(48894),x=t(13306),w=t(34767),A=t(32485),C=t.n(A),_=t(92743),M=t(71572),D=t(84251),Y=t(28414),E=t(88491),N=t(6442);function S(){return S=Object.assign?Object.assign.bind():function(n){for(var e=1;e ul {\n padding-left: 20px;\n }\n\n p:not(:last-child) {\n margin-bottom: 15px;\n }\n"]);return sn=function(){return n},n}function dn(){var n=(0,X.A)(["\n ","\n"]);return dn=function(){return n},n}function un(){var n=(0,X.A)(["\n .title {\n font-size: 0.9375rem;\n line-height: 1.25rem;\n font-weight: 500;\n }\n"]);return un=function(){return n},n}var pn=(0,nn.AH)(sn(),(function(n){return n.theme.colors.gray700})),hn=((0,nn.Ay)(Y.A).withConfig({componentId:"sc-2c4f2e51-0"})(dn(),pn),nn.Ay.div.withConfig({componentId:"sc-2c4f2e51-1"})(un()));var gn,mn,fn=function(n){var e=n.data,t=(0,N.A)().formatMessage,i=(0,E.d)().isMobile,a=e.preparation,r=e.detail,o=e.product_note,l=[{id:"screenerPage.detail.aboutDetail",defaultMessage:"About the Service",htmlContent:[e.about,r].filter(Boolean).join("")},{id:"screenerPage.detail.preparation",defaultMessage:"Preparation",htmlContent:a},{id:"screenerPage.detail.serviceNotes",defaultMessage:"Service note",htmlContent:o}];return(0,d.Y)(hn,{className:"px-4 pb-4 md:px-6",children:l.filter((function(n){return!!n.htmlContent})).map((function(n){return(0,d.FD)("div",{className:"border-b border-b-neutral100 last:border-b-0 border-solid first:pt-0 py-5 space-y-4",children:[(0,d.Y)(M.T,{size:i?"title2":"title1",fw:500,color:"gray1000",as:"h3",children:t({id:n.id,defaultMessage:n.defaultMessage})}),(0,d.Y)($.U,{className:"md:!text-[15px] md:!leading-6",htmlContent:n.htmlContent})]},n.id)}))})},vn=t(37597),bn=t(73827),yn=t(84091),kn=function(n){var e=n.benefits,t=(0,E.d)().isMobile;return(0,d.Y)("div",{className:"flex flex-col gap-2",children:null===e||void 0===e?void 0:e.map((function(n){return(0,d.FD)("div",{className:"flex gap-2",children:[(0,d.Y)(T,{className:"text-green600 flex-shrink-0 mt-1 w-5 h-5",width:20,height:20}),(0,d.Y)(M.T,{size:t?"p3":"p2",fw:400,color:"gray700",children:n})]},n)}))})},xn=t(28840),wn=t(47234),An=t(45926),Cn=t(78461),_n=t(10577),Mn=t(32876),Dn=t.n(Mn),Yn=t(38971),En=t(40959);!function(n){n.MOMO="MOMO",n.CITI="CITI"}(gn||(gn={}));mn={},(0,Yn.A)(mn,gn.MOMO,"".concat(En.JpE,"/images/momo.png")),(0,Yn.A)(mn,gn.CITI,"".concat(En.JpE,"/images/citi.png")),"".concat(En.JpE,"/images/momo.png"),"".concat(En.JpE,"/images/citi.png");var Nn=function(n){return{id:n.label,title:n.value,description:n.label}},Sn=t(11851),Fn=t(44410),Tn=(0,Sn.A)("div",{target:"e17y3xki0"})("display:flex;align-items:center;gap:",(0,f.D)(2),";div{gap:",(0,f.D)(0),";svg{width:",(function(n){var e=n.width;return(0,f.D)(e||12)}),";height:",(function(n){var e=n.height;return(0,f.D)(e||12)}),";}}"),In=(0,Sn.A)(vn.l,{target:"e17y3xki1"})("& .summary-title{",Fn.M.mbUp,"{font-size:",(0,f.D)(17),";}}& .summary-description{",Fn.M.mbUp,"{line-height:",(0,f.D)(24),";font-size:",(0,f.D)(15),";}}"),zn=t(92230),Bn=t(61367),Pn=t(95204),On=t(19546);var Ln,Hn,jn=function(n){var e,t,i=n.data,a=n.distance,l=n.trackerMap,c=n.buttonUi,p=n.showPaymentHighlight,g=void 0!==p&&p,m=(0,E.d)().isMobile,f=i.id,b=i.name,k=i.short_name,x=i.description,w=i.banner,A=i.logo,_=i.hospital_branch,D=i.service_type,Y=i.price,S=i.price_unit,F=i.price_discount,T=i.percent_discount,I=i.cost_unit,z=i.review,B=i.image_carousel,P=void 0===B?[]:B,O=(0,u.useMemo)((function(){var n=A;return m&&w&&(n=w),[n].concat((0,s.A)(P||[]))}),[m]),L=(0,y.DH)(i),H=(0,y.P3)(i),j=(0,Cn.p)({isEnable:O.length>1}),R=j.isOpen,V=j.initialSlide,U=j.closeModal,G=j.openModalWithSlide,q=j.handleOpenChange,W=(0,N.A)().formatMessage,$=(0,_n.p)({offeringId:i.offering_id,hospital:i.organization,price:i.price,type:i.service_type,hospitalBranchIds:null===(e=i.hospital_branch_lists)||void 0===e?void 0:e.map((function(n){return n.id}))}),X=$.allVouchers,nn=$.handleCopyVoucher,en=$.loading,tn=$.referralTitle,an=z||{},rn=an.avg_rating,on=an.rating_count,ln=(0,K.$)(),cn=ln.locale,sn=ln.asPath,dn=(0,Z.Kb)(sn),un=(0,u.useMemo)((function(){return(0,d.Y)(d.FK,{children:rn&&on&&(0,d.FD)(Tn,{children:[rn.toFixed(1)," ",(0,d.Y)(vn.t,{value:rn,readOnly:!0})]})})}),[rn,on]),pn=(0,u.useMemo)((function(){var n,e=(0,y.P3)(i)||(0,y.Bp)(i)?i.success_rate:[],t=(0,yn.xc)(Y,W,"+"),a=[{id:"price",title:"~".concat((0,yn.nd)(W,t,S)),description:W({id:"hospitalService.detail.priceRange",defaultMessage:"Price range"})}];if(e.length){var r=e.shift();r&&a.push(Nn(r))}(rn&&on&&a.push({id:"rating",title:m?(0,d.FD)("div",{className:"flex items-center gap-1",children:[(0,d.Y)(On.A,{}),(0,d.Y)("span",{children:rn})]}):(0,d.Y)("div",{className:"flex items-center gap-1",children:un}),description:(0,d.FD)("div",{className:"flex gap-1 underline md:no-underline",children:[on," ",W({id:"booking.search.tab.review",defaultMessage:"Reviews"})]})}),e.length)&&(n=a).push.apply(n,(0,s.A)(e.map(Nn)));return a}),[rn,on,m,Y,S,W,un]),hn=(0,u.useMemo)((function(){return 2===pn.length&&m?{layout:"two-item-horizontal",align:"center"}:!m&&pn.length<=3?{layout:"horizontal",align:"start"}:{layout:"vertical",align:"start"}}),[pn,m]),gn={id:f,name:(0,d.FD)(d.FK,{children:[m&&(0,d.FD)(d.FK,{children:[" ",(0,d.Y)(Dn(),{href:"".concat((0,Z.WZ)(D,cn,"")),children:(0,d.Y)(M.T,{size:"c1",color:"gray700",fw:600,children:W({id:"detailPage.breadcrumbs.".concat(D),defaultMessage:"Hospital Service"})})})]}),(0,d.Y)(M.T,{size:"h3",fw:600,color:"gray1000",children:k||b})]}),description:x,banner:m?w:void 0,logo:A,altText:"".concat(k||b||""," - ").concat(En.ElQ[cn].SITE_NAME_FORMATTED)};return(0,d.FD)(vn.G,{isMobile:m,generalInfo:(0,o.A)((0,r.A)({},gn),{middleContent:L&&rn&&on&&(0,d.FD)("div",{className:"flex items-center gap-1",children:[(0,d.Y)(Tn,{width:m?16:20,height:m?16:20,children:(0,d.Y)(vn.t,{value:rn||0,readOnly:!0})}),(0,d.FD)(M.T,{size:m?"p3":"p2",fw:400,color:m?"gray700":"gray1000",children:[on||0," ",W({id:"booking.search.tab.review",defaultMessage:"Reviews"})]})]})}),backupSrc:"".concat(En.JpE,"/images/").concat(H?"topServices.png":"home-find-doctors.png"),contentClassName:L?"space-y-5":"space-y-6",bannerProps:{className:"md:!object-contain",width:m?void 0:336},imageCarousel:O,onCarouselImageClick:G,children:[!L&&(0,d.Y)(In,{infoItems:pn,layout:hn.layout,align:hn.align}),L&&Array.isArray(i.highlighted_benefits)&&i.highlighted_benefits.length>0&&(0,d.Y)(kn,{benefits:i.highlighted_benefits}),L&&(0,d.FD)("div",{className:"space-y-3 md:space-y-5",children:[(0,d.Y)(bn.c,{color:Q.w.colors.neutral100}),(0,d.Y)("div",{children:(0,d.Y)(xn.A,{totalBranches:(null===(t=i.hospital_branch_lists)||void 0===t?void 0:t.length)||0,organization:i.organization})})]}),en?(0,d.Y)(zn.S,{withControls:!m,height:68,children:Array.from({length:3}).map((function(n,e){return(0,d.Y)(v.E,{w:308,h:68,radius:8,bg:Q.w.colors.neutral100},"skeleton-voucher-".concat(e))}))}):X.length>0&&(0,d.Y)(zn.S,{withControls:!m,height:68,children:X.map((function(n){var e=n.id,t=n.logo,a=n.name,c=n.description,s=n.voucherCode,u=n.type,p=n.brand,h=u===Pn.O7.VOUCHER?"".concat(a," - ").concat(c):tn(n),g=u===Pn.O7.REFERRAL,m=g?(0,J.yz)((0,o.A)((0,r.A)({},l.selectReferralVoucherDetail),{"data-event-label":dn}),i.id):(0,o.A)((0,r.A)({},l.selectVoucher),{"data-event-label":a||e});return(0,d.Y)(An.s,{image:Pn.uY[p]||t||y.__,title:h,description:g?void 0:c,onClick:function(){return s&&nn(s)},dataTracking:m,className:C()("max-w-[243px] h-[64px]",{"!cursor-default":g})},e)}))}),(0,d.FD)("div",{className:"hidden md:flex flex-col gap-4",children:[(0,d.Y)(Bn.n,{price:Y,priceDiscount:F||0,percentDiscount:T,priceUnit:S,textUnit:(0,y.DH)(i)?W({id:"screenerPage.detail.perTime",defaultMessage:"per time"}):I,showSlash:!(0,y.DH)(i),showFrom:!1,showFromDiscount:!1,classes:{discountText:(0,y.DH)(i)?"text-gray700":void 0}}),c]}),g&&(0,d.FD)(d.FK,{children:[(0,d.Y)(bn.c,{color:Q.w.colors.neutral100}),(0,d.Y)(wn.A,{})]}),!L&&(0,d.FD)("div",{className:"md:hidden",children:[(0,d.Y)(bn.c,{color:Q.w.colors.neutral100,mb:20}),(0,d.Y)("a",{href:"#hospital-info",children:(0,d.Y)(h.H,{hospitalInfo:_,distance:a})})]}),(0,d.Y)(vn.M,{generalInfo:(0,r.A)({},gn),isMobile:m,isOpen:R,backupSrc:"".concat(En.JpE,"/images/").concat(D===En.Hxq.IVF?"topServices.png":"home-find-doctors.png"),onClose:U,onOpenChange:q,initialSlide:V,imageCarousel:O,title:W({id:"detailPage.title.productGallery",defaultMessage:"Product Gallery"})})]})},Rn=(Ln={},(0,Yn.A)(Ln,m.L.Vietnam,{subscribeLink:Z.$x,app:"Zalo"}),(0,Yn.A)(Ln,m.L.Malaysia,{subscribeLink:Z._s,app:"WhatsApp"}),(0,Yn.A)(Ln,m.L.Indonesia,{subscribeLink:Z.ye,app:"WhatsApp"}),(0,Yn.A)(Ln,m.L.PhilippinesEnglish,{subscribeLink:"",app:"WhatsApp"}),(0,Yn.A)(Ln,m.L.Taiwan,{subscribeLink:"",app:"WhatsApp"}),function(n){var e=n.image,t=n.education,i=n.expertise_credentials,a=n.field,r=n.id,o=n.name,l=n.other_highlights,c=n.positions,s=n.title,d=n.year_of_experience,u=(0,N.A)().formatMessage;return{id:(null===r||void 0===r?void 0:r.toString())||"",name:[o,s].filter(Boolean).join(", "),specialty:a,experience:"".concat(d," ").concat(u({id:"hospitalService.detail.yearExperience",defaultMessage:"Yrs Exp"})),profileImage:e,clinics:c||[],educations:t,expertise:i,otherHighlights:l}}),Vn=t(76308),Un=t(94858),Gn=t(57387),qn=t(34555),Kn=t(28543),Wn=t(20023),Jn=function(n){var e=n.price,t=n.priceDiscount,i=n.percentDiscount,a=n.priceUnit,r=n.className,o=n.isBasicLayout,l=n.costUnit,c=void 0===l?"":l,s=n.showFrom,p=void 0===s||s,h=n.showSlash,g=void 0===h||h,m=(0,K.$)().locale,f=(0,N.A)().formatMessage,v=(0,u.useState)(!1),b=v[0],y=v[1],k=!!i;if(!e)return null;var x=function(n){var i=n===Kn.lL.PRICE&&k?t:e,r=(0,yn.$g)(i||0,m);return o&&"vi-VN"===m&&(r=(0,yn.xc)(i,f)),(0,yn.nd)(f,r,a)};return(0,d.FD)("div",{className:(0,Un.A)(r),children:[(0,d.FD)("div",{className:"flex gap-2 items-center h-6",children:[(0,d.FD)("div",{className:"inline-flex gap-1 items-center",children:[p&&(0,d.Y)(M.T,{weight:"semiBold",size:"title1",color:Q.w.colors.gray400,children:f({id:"common.price.from",defaultMessage:"From"})}),(0,d.Y)(M.T,{weight:"semiBold",size:"title1",className:"notranslate whitespace-nowrap",color:Q.w.colors.primaryBase,children:x(Kn.lL.PRICE)}),!o&&c&&(0,d.FD)(M.T,{className:"align-middle",size:"p3",color:Q.w.colors.gray700,children:["/",c]}),k&&(0,d.Y)(Gn.E,{py:2,px:4,radius:6,bg:Q.w.colors.primaryBase,children:(0,d.FD)(M.T,{size:"c2",weight:"halfBold",color:Q.w.colors.white,children:["-",Math.round(i),"%"]})})]}),(0,d.Y)(qn.m,{label:f({id:"vaccination.referencePrice",defaultMessage:"Gi\xe1 tham kh\u1ea3o"}),withArrow:!0,opened:b,children:(0,d.Y)("div",{onMouseOver:function(){y(!0)},onMouseOut:function(){y(!1)},className:"flex",children:(0,d.Y)(Wn.A,{onClick:function(n){n.stopPropagation(),n.preventDefault(),y(!0)},className:"text-primaryBase w-4 h-4"})})})]}),(k||o)&&(0,d.FD)("div",{className:"inline-flex items-center",children:[k&&(0,d.Y)("del",{className:"text-gray400 mr-1",children:(0,d.FD)(M.T,{color:"currentColor",size:"c1",className:"notranslate ",children:[p&&f({id:"common.price.from",defaultMessage:"From"})," ",x(Kn.lL.DISCOUNT),!o&&c&&(0,d.FD)(d.FK,{children:[" ","/",c]})]})}),o&&c&&(0,d.Y)("span",{className:"text-gray400",children:(0,d.FD)(M.T,{color:"currentColor",size:"c1",className:"notranslate ",children:[" ",g?"/".concat(c):c]})})]})]})},Zn=t(57421),Qn=t(20864),$n=t(12914),Xn=t(83545),ne=function(n){var e=n.certifications;if(!e)return null;var t=(0,E.d)().isMobile,i=t?p.D:zn.S;return(0,d.Y)("div",{children:e.length>3?(0,d.Y)(i,{withControls:!t,className:"pl-4 pb-4 md:pb-6 md:pl-6",draggable:!1,dragFree:!1,children:e.map((function(n){return(0,d.Y)(vn.s,{className:"w-[188px] h-full min-h-[246px] md:w-full",title:n.title,description:n.description,image:n.image||y.__},n.title)}))}):(0,d.Y)(d.FK,{children:(0,d.Y)("div",{className:"flex gap-4 px-4 pb-4 md:px-6 md:pb-6",children:e.map((function(n){return(0,d.Y)(vn.s,{className:"h-full min-h-[246px] w-full",title:n.title,description:n.description,image:n.image||y.__},n.title)}))})})})},ee=function(n){return(0,Xn.B)(ne,n)},te=t(55544),ie=t(3328),ae=t(25899),re=t(27372),oe=t(53100),le=t(36259),ce=(0,Sn.A)(ie.a.Root,{target:"e11ty3hs0"})("z-index:",En.Mue.modal,";position:relative;.mantine-Modal-inner{",Fn.M.mbUp,"{align-items:center;}}.mantine-Paper-root{",Fn.M.mbUp,"{max-height:",(0,f.D)(680),";border-radius:1rem;}&::-webkit-scrollbar{width:6px;}&::-webkit-scrollbar-thumb{background:",Q.w.colors.gray200,";border-radius:3px;}&::-webkit-scrollbar-thumb:hover{background:",Q.w.colors.gray300,";border-radius:3px;}max-height:100dvh;.flex-item-doctor-info{gap:",(0,f.D)(24),";}}.mantine-Modal-header{padding:0;width:100%;}.mantine-Modal-body{padding:0;}");function se(){return se=Object.assign?Object.assign.bind():function(n){for(var e=1;ee.clientHeight)};e();var t=new ResizeObserver(e);return t.observe(n.current),window.addEventListener("resize",e),function(){window.removeEventListener("resize",e),t.disconnect()}}}),[n]),t}(r),l=(0,u.useContext)(le.B).state.isMobileSsr,c=(0,oe.l)().isMobile,s=(0,re.E)(l,c),p=s?"div":ie.a.Header;return(0,d.FD)(ce,{opened:t,onClose:i,fullScreen:s,size:s?void 0:480,transitionProps:{transition:"fade",duration:200},children:[(0,d.Y)(ie.a.Overlay,{}),(0,d.FD)(ie.a.Content,{children:[(0,d.Y)(p,{children:(0,d.Y)("div",{className:" w-full p-[18px] bg-blue50 flex-shrink-0 md:bg-white md:h-14 md:py-4 md:px-6 md:flex md:justify-between",children:s?(0,d.Y)(ae.M,{onClick:i,variant:"transparent","aria-label":"Close modal",children:(0,d.Y)(de,{})}):(0,d.FD)("div",{className:"flex items-center justify-between h-6 w-full",children:[(0,d.Y)(M.T,{size:"title1",weight:"semiBold",color:"black",children:a({id:"hospitalService.detail.doctorExpertise.modal.heading",defaultMessage:"Doctor details"})}),(0,d.Y)(ae.M,{onClick:i,variant:"transparent","aria-label":"Close modal",size:24,children:(0,d.Y)(ue.A,{})})]})})}),(0,d.Y)(ie.a.Body,{children:(0,d.Y)("div",{ref:r,className:"h-full flex flex-col",children:(0,d.FD)(h.D,{className:C()("w-full !rounded-none",{"flex-1":!o}),doctorInformation:e,defaultProfileImage:y.k_,children:[(0,d.Y)(h.D.Expertise,{}),(0,d.Y)(h.D.OtherHighlights,{})]})})})]})]})},he=t(60140),ge=t(77639),me=t(89252),fe=t(26754),ve=t(86786),be=t(5792),ye=t(98554),ke=t(89394);function xe(n){var e,t=n.data,i=n.refetchHospitalServiceDetail,a=n.faqsResult,A=(0,E.d)().isMobile,M=(0,N.A)().formatMessage,D=(0,fe.HO)().gps,Y=(0,K.$)(),S=Y.locale,F=Y.asPath,T=(0,Qn.J3)().openPopupOrganization,I=(0,u.useState)(!1),z=I[0],B=I[1],P=t.id,O=t.slug,Q=t.hospital_branch,$=t.price,X=t.price_discount,nn=t.percent_discount,en=t.price_unit,tn=t.top5_reviews,an=t.cost_unit,rn=t.service_type,on=t.organization,ln=t.id,sn=t.offering_id,dn=(on||{}).id,un=(0,G.Y)({id:ln}),pn=un.doctorQuotes,hn=un.loading,gn=un.handleLoadMore,mn=un.pagination,vn=(0,y.DH)(t)?t.screener_listing:[],bn=a||{},yn=bn.faq,kn=bn.related_article,xn=A?p.D:zn.S,wn=(0,u.useState)(""),An=wn[0],Cn=wn[1];(0,u.useEffect)((function(){Cn((0,Z.Kb)(F))}),[]);var _n=(0,u.useMemo)((function(){var n;return(null===(n=(0,me.Yf)(null===D||void 0===D?void 0:D.lat,null===D||void 0===D?void 0:D.lng,null===Q||void 0===Q?void 0:Q.latitude,null===Q||void 0===Q?void 0:Q.longitude))||void 0===n?void 0:n.toFixed(1))||""}),[D]),Mn=(0,be.o)(),Dn=Mn.openModal,Yn=Mn.closeModal,Nn=Mn.opened,Sn=(0,c.A)((0,b.j)(!1),2),Fn=Sn[0],Tn=Sn[1],In=Tn.open,Bn=Tn.close,Pn=(0,u.useState)(),On=Pn[0],Ln=Pn[1],Hn=(0,u.useRef)(null),Un=(0,u.useRef)(null),Gn=(0,u.useRef)({}),qn=(0,u.useCallback)((function(n){return function(e){Gn.current[n]=e}}),[]),Kn=function(n){if((null===n||void 0===n?void 0:n.length)<=1){var e=Rn(n[0]);return(0,d.Y)("div",(0,o.A)((0,r.A)({},de.clickDoctorExpertise),{"data-event-label":e.name,className:"enable-pointer-events flex justify-center items-center pb-4 md:pb-6 md:mx-6",children:(0,d.Y)(h.D,{className:"w-[20.4375rem] max-w-[min(20.4375rem_,_calc(100vw_-_2rem))] h-full",doctorInformation:e,onClickReadMore:se(e),isShowReadMoreButton:!0,defaultProfileImage:y.k_})}),e.name)}return(0,d.Y)(xn,{withControls:!A,className:"pl-4 pb-4 md:pb-6",sx:{".mantine-Carousel-viewport":{paddingRight:(0,f.D)(16)}},align:(null===n||void 0===n?void 0:n.length)<=1?"center":"start",children:null===n||void 0===n?void 0:n.map((function(n){var e=Rn(n);return(0,d.Y)("div",(0,o.A)((0,r.A)({},de.clickDoctorExpertise),{"data-event-label":e.name,className:"enable-pointer-events",children:(0,d.Y)(h.D,{className:"w-[20.4375rem] max-w-[min(20.4375rem_,_calc(100vw_-_2rem))] h-full",doctorInformation:e,onClickReadMore:se(e),isShowReadMoreButton:!0,defaultProfileImage:y.k_})}),n.name)}))})},Wn=(0,u.useMemo)((function(){var n={id:"related-articles",title:"page.detail.relatedArticles",defaultMessage:"Related Articles",icon:(0,d.Y)(d.FK,{}),renderContent:function(){return(0,d.Y)(ve.x,{listArticle:kn||[]})},isHidden:!ke.QA.includes(S)||!kn},e={id:"top5-reviews",title:"vaccination.detail.text.rating",defaultMessage:"Reviews",icon:(0,d.Y)(d.FK,{}),renderContent:function(){return(0,d.Y)(ye.A,{refetchList:i,userReviews:tn,vaccinationDetail:t,onViewAll:Dn,trackerMap:de})},isHidden:!ke.iO.includes(S)};return A?[e,n]:[n,e]}),[A]),Xn=(0,u.useMemo)((function(){var n,e,i,a;return[{id:"doctor-quotes",title:"vaccination.detail.doctorQuotes",defaultMessage:"What doctors are saying",icon:(0,d.Y)(d.FK,{}),renderContent:function(){return(0,d.Y)("div",{className:"px-4 md:px-6 pb-4 md:pb-6",children:(0,d.Y)(_.C,{doctorQuotes:pn,loading:hn,handleLoadMore:gn,pagination:mn})})},isHidden:!(null===pn||void 0===pn?void 0:pn.length)}].concat((0,s.A)(A?[{id:"doctor-expertise",title:"ivf.doctorExpertise",defaultMessage:"Doctor Expertise",icon:(0,d.Y)(d.FK,{}),renderContent:function(n){return Kn((0,y.P3)(n)?null===n||void 0===n?void 0:n.doctors:[])},isHidden:!((0,y.P3)(t)&&(null===t||void 0===t||null===(n=t.doctors)||void 0===n?void 0:n.length))||!A||(0,y.DH)(t)}]:[]),[{id:"detail-info",title:(0,y.DH)(t)?"screenerPage.detail.otherDescription":"hospitalService.detail.info",defaultMessage:(0,y.DH)(t)?"Other Description":"Details Service Information",icon:(0,d.Y)(Vn.bu,{}),renderContent:function(n){return(0,y.DH)(n)?(0,d.Y)(fn,{data:n}):(0,d.Y)(cn,{data:n})},isHidden:(0,y.DH)(t)&&!(null===t||void 0===t?void 0:t.preparation)&&!(null===t||void 0===t?void 0:t.detail)&&!(null===t||void 0===t?void 0:t.about)&&!(null===t||void 0===t?void 0:t.product_note)},{id:"accreditation",title:"hospitalService.detail.accreditation",defaultMessage:"Accreditation",icon:(0,d.Y)(Vn.bu,{}),renderContent:function(n){return(0,d.Y)(ee,{certifications:(0,y.P3)(n)?null===n||void 0===n?void 0:n.certifications:[]})},isHidden:!((0,y.P3)(t)&&(null===t||void 0===t||null===(e=t.certifications)||void 0===e?void 0:e.length))||(0,y.DH)(t)},{id:"hospital-info",title:"vaccination.detail.clinic",defaultMessage:"Clinic Info",icon:(0,d.Y)(d.FK,{}),renderContent:function(n){return(0,d.Y)(V.A,{className:"px-4 md:px-6 pb-5 md:pb-6 md:pt-3",organization:n.organization,hospitalBranches:n.hospital_branch_lists})},isHidden:!(0,y.DH)(t)},{id:"payment-methods",title:"vaccination.detail.paymentMethods",defaultMessage:"Payment Methods",icon:(0,d.Y)(Vn.Le,{}),renderContent:function(n){var e;return(0,d.Y)(Vn.sJ,{className:"px-6 pb-6",children:(0,d.Y)(g.P,{isMobile:A,payments:(null===n||void 0===n||null===(e=n.hospital_branch)||void 0===e?void 0:e.accepted_payments)||[]})})},isHidden:!(null===Q||void 0===Q||null===(i=Q.accepted_payments)||void 0===i?void 0:i.length)},{id:"faqs",title:"page.detail.faqs",defaultMessage:"Frequently Asked Questions",icon:(0,d.Y)(d.FK,{}),renderContent:function(){return(0,d.Y)(he.A,{data:yn||[]})},isHidden:!ke.$z.includes(S)||!(null===yn||void 0===yn?void 0:yn.length)}],(0,s.A)(Wn),[{id:"cross-selling",title:"hospitalService.detail.crossSelling",defaultMessage:"Recommended Services",icon:(0,d.Y)(d.FK,{}),renderContent:function(n){return(0,d.Y)(j.q,{crossSellingData:null===n||void 0===n?void 0:n.list_data_for_crossselling})},isHidden:!(null===t||void 0===t||null===(a=t.list_data_for_crossselling)||void 0===a?void 0:a.length)}])}),[t,null===D||void 0===D?void 0:D.lat,null===D||void 0===D?void 0:D.lng,S,A,pn]),ne=(0,u.useMemo)((function(){var n,e=[];return(0,y.DH)(t)&&Array.isArray(vn)&&(null===t||void 0===t||null===(n=t.screener_listing)||void 0===n?void 0:n.length)>0&&e.push({ref:Un,id:"included-test",title:"screenerPage.detail.includedTest",defaultMessage:"Included Test"}),Xn.filter((function(n){return!n.isHidden&&n.id})).forEach((function(n){var t=n.id||"";e.push({ref:{get current(){return Gn.current[t]}},id:t,title:n.title,defaultMessage:n.defaultMessage})})),e}),[t,vn,Xn]),ie=(0,q.y)({sectionRefs:ne,formatMessage:M,firstSectionOffset:A?20:100}),ae=ie.sections,re=ie.scrollToSection,oe=ie.showFixedScroll,le=(0,u.useCallback)((function(){return Xn.filter((function(n){return!n.isHidden})).map((function(n,e){return(0,d.Y)("div",{ref:qn(n.id||""),children:(0,d.Y)(Vn.FJ,{id:n.id||"",icon:n.icon,title:M({id:n.title,defaultMessage:n.defaultMessage}),haveCollapse:!1,className:"md:rounded-2xl",children:n.renderContent(t)})},e)}))}),[t,null===D||void 0===D?void 0:D.lat,null===D||void 0===D?void 0:D.lng,Xn,qn,M]),ce=function(n){var e=n.callingCode,t=n.countryCode,i=n.phone;return k.F.collectionSubmitCTA({area_code:e,country_code:t,cta_text:M({id:"common.contactVia",defaultMessage:"Contact {name}"},{name:x.so.Zalo}),phone_number:i,source_url:window.location.href,messaging_app:x.so.Zalo,source_type:w.qV[rn]})},se=function(n){return function(){Ln(n),In()}},de=(0,u.useMemo)((function(){return(0,J.mZ)(rn)}),[rn]),ue=[En.Hxq.HEALTH_SCREENER].includes(rn),xe=(0,U.qP)({shouldCheckEnableBooking:ue}),we=xe.enableBooking,Ae=xe.loading,Ce=xe.getEnableBooking;(0,u.useEffect)((function(){i()}),[]),(0,u.useEffect)((function(){dn&&Ce({hospital_id:dn,product_type:w.jG[rn]})}),[dn]);var _e={root:{width:"100%",paddingBlock:(0,f.D)(12)},label:{fontWeight:600}},Me=(0,H.F)(rn,S),De=Me.link,Ye=(0,l.A)(Me,["link"]),Ee=(0,u.useCallback)((function(n){if(Ae)return(0,d.Y)(v.E,{width:"100%",height:48});if(we){var e=M({id:"homePage.bookNow",defaultMessage:"Book Now"});return(0,d.Y)(Vn.B8,(0,o.A)((0,r.A)({onClick:T,size:"lg"},(0,J.yz)((0,o.A)((0,r.A)({},n),{"data-event-label":An}),P)),{"data-testid":"book-now-button",styles:_e,className:"book-now-button",children:e}))}return(0,d.Y)(te.b,{dataTracking:(0,J.yz)(Ye,P),link:De,isPrimary:!we,locale:S,className:"w-full"})}),[rn,we,Ae,A,M,O,de.buyVia,S,De,T]),Ne=(0,u.useMemo)((function(){return Ee(de.clickBookNow)}),[Ee]),Se=(0,u.useMemo)((function(){return Ee(de.clickBookNowHeader)}),[Ee]),Fe=A&&S===m.L.Vietnam&&we,Te=(0,W.D)({locale:S,productKey:String(sn)||""}).badge;return(0,d.FD)(d.FK,{children:[(0,d.FD)("div",{className:"space-y-3 md:space-y-4",children:[(0,d.Y)(be.A,{data:t,onClose:Yn,opened:Nn,refetchList:i,trackerMap:de}),On&&(0,d.Y)(pe,{doctor:On,opened:Fn,onClose:Bn}),(0,d.Y)("div",{ref:Hn,children:(0,d.Y)(jn,{data:t,distance:_n,trackerMap:de,buttonUi:(0,d.FD)("div",{children:[(0,d.FD)("div",{className:"flex gap-3.5",children:[(0,d.Y)("div",{className:"w-fit min-w-[203px]",children:Ne}),we&&(0,d.Y)("div",{className:"w-fit",children:(0,d.Y)(te.b,{dataTracking:(0,J.yz)(Ye,P),isPrimary:!we,locale:S,className:"w-full"})})]}),Te&&(0,d.Y)($n.A,{className:"mt-2",textProps:{size:"p3",weight:"semiBold"},type:Te.type,value:Te.value})]}),showPaymentHighlight:we})}),(0,y.DH)(t)&&Array.isArray(vn)&&(null===t||void 0===t||null===(e=t.screener_listing)||void 0===e?void 0:e.length)>0&&(0,d.Y)("div",{ref:Un,children:(0,d.Y)(L,{tests:vn.map((function(n){return{title:n.category_name,description:n.interpretation}}))})}),(0,d.FD)("div",{className:"md:flex md:gap-4 ",children:[(0,d.Y)("div",{className:"space-y-3 md:space-y-4 md:max-w-[calc(100%-376px)]",children:le()}),!(0,y.DH)(t)&&(0,d.Y)("div",{className:C()("flex flex-col gap-4 md:w-[360px] sticky top-[calc(110px+24px)] md:self-start"),children:!A&&(0,d.Y)("div",{children:(0,y.P3)(t)&&(null===t||void 0===t?void 0:t.doctors)&&(0,d.Y)(Vn.FJ,{id:"doctor-expertise",icon:(0,d.Y)(d.FK,{}),title:M({id:"ivf.doctorExpertise",defaultMessage:"Doctor Expertise"}),haveCollapse:!1,className:"rounded-xl",children:Kn(null===t||void 0===t?void 0:t.doctors)})})}),(0,d.Y)(Vn.vw,{hidden:!0,children:(0,d.FD)("div",{className:"py-3 px-4 space-y-2 w-full",children:[Te&&(0,d.Y)($n.A,{textProps:{size:"p3",weight:"semiBold"},type:Te.type,value:null===Te||void 0===Te?void 0:Te.value}),(0,d.FD)("div",{className:"flex justify-between gap-2 w-full",children:[(0,d.Y)(Jn,{className:"flex-1",price:$||0,priceDiscount:X||0,percentDiscount:nn,costUnit:(0,y.DH)(t)?M({id:"screenerPage.detail.perTime",defaultMessage:"per time"}):an,priceUnit:en,isBasicLayout:!0,showFrom:!1,showSlash:!(0,y.DH)(t)}),(0,d.Y)("div",{className:"flex-1 max-w-[203px]",children:Ne})]})]})})]}),(0,d.Y)(h.P,{onOpenChange:function(n){B(n)},isOpen:z,isMobile:A,onSubmit:ce}),(0,d.Y)(ge.k,{data:t,sections:ae,isDisappear:oe,renderButton:Se,onScrollToSection:re,urgencyBadge:Te}),(0,d.Y)(Zn.A,{})]}),Fe&&(0,d.Y)("div",{className:C()({"[&>div]:!bottom-[88px]":A&&!Te,"[&>div]:!bottom-[116px]":A&&Te}),children:(0,d.Y)(R.m,{locale:S,isMobile:A,handleSubmitCTA:ce})})]})}var we=t(858),Ae=t(83776),Ce=t(27516),_e=t(94886),Me=t.n(_e),De=t(19475),Ye=t(21861),Ee=t(16381),Ne=t(28901),Se=t(87783),Fe=t(28333),Te=t(25683),Ie=t(14739),ze=t(33714),Be=t(90700),Pe=t(74489),Oe=t(87505);var Le=function(n){var e=n.className,t=(0,vn.u)(),i=t.handleUpdateFilter,a=t.filters,r=(0,N.A)().formatMessage;return(0,d.Y)(Pe.A,{title:r({id:"hospitalService.list.genderFilter",defaultMessage:"Gender"}),className:e,filterOptions:Oe.Bj,activeValue:a.gender||[],onReset:function(){i({gender:""})},onChange:function(n){var e=a.gender===n.value?"":n.value;i({gender:e})}})};var He=function(n){var e=n.className,t=(0,vn.u)(),i=t.handleUpdateFilter,a=t.filters,r=(0,N.A)().formatMessage;return(0,d.Y)(Pe.A,{title:r({id:"hospitalService.list.healthConditionFilter",defaultMessage:"Health Condition"}),className:e,filterOptions:Oe.dB,activeValue:a.healthCondition||[],onReset:function(){var n;0!==(null===(n=a.healthCondition)||void 0===n?void 0:n.length)&&i({healthCondition:[]})},onChange:function(n){var e=(0,s.A)(a.healthCondition||[]);e.includes(n.value)?e=e.filter((function(e){return e!==n.value})):e.push(n.value),i((0,Yn.A)({},n.filterKey,e))},defaultLenToGetItems:4})},je=t(94335),Re=t(11277);var Ve=function(n){var e=n.serviceType,t=n.className,i=(0,vn.u)(),a=i.handleUpdateFilter,r=i.filters,o=(0,N.A)().formatMessage,l=(0,u.useMemo)((function(){return Oe.gS[e]}),[e]),c=(0,u.useMemo)((function(){return o({id:Oe.Eq[e].title,defaultMessage:Oe.Eq[e].defaultMessage})}),[e]);return l.length?(0,d.Y)(Re.A,{className:t,title:c,filterOptions:l,activeValue:r.productType||[],onChange:function(n){var e=(0,s.A)(r.productType||[]);e.includes(n.value)?e=e.filter((function(e){return e!==n.value})):e.push(n.value),a((0,Yn.A)({},n.filterKey,e))}}):null};var Ue=function(n){var e=n.className,t=n.serviceType,i=(0,vn.u)(),a=i.handleUpdateFilter,r=i.filters,o=(0,N.A)().formatMessage,l=(0,u.useMemo)((function(){return Oe.gS[t]}),[t]),c=(0,u.useMemo)((function(){return o({id:Oe.Eq[t].title,defaultMessage:Oe.Eq[t].defaultMessage})}),[t]),p=t===En.Hxq.HEALTH_SCREENER;return l.length?(0,d.Y)(Pe.A,{title:c,className:e,filterOptions:l,activeValue:r.productType||[],onReset:function(){var n;0!==(null===(n=r.productType)||void 0===n?void 0:n.length)&&a({productType:[]})},onChange:function(n){var e=(0,s.A)(r.productType||[]);e.includes(n.value)?e=e.filter((function(e){return e!==n.value})):e.push(n.value),a((0,Yn.A)({},n.filterKey,e))},defaultLenToGetItems:p?4:10}):null},Ge=t(42258),qe=t(6e3),Ke=t(17428),We=function(n){return(0,d.Y)(v.E,(0,r.A)({bg:Q.w.colors.neutral100,radius:99},n))},Je=function(){return(0,d.FD)("div",{className:"bg-white px-4 md:rounded-xl",children:[(0,d.FD)("div",{className:"flex gap-6 py-4",children:[(0,d.FD)("div",{className:"flex-1 min-w-0 flex flex-col",children:[(0,d.Y)(We,{w:"100%",h:24}),(0,d.Y)(We,{w:"49%",h:18,mt:8}),(0,d.Y)(We,{w:"78%",h:18,mt:4})]}),(0,d.Y)(We,{w:84,h:84,radius:8,className:"md:!w-[148px] md:!h-[148px]"})]}),(0,d.Y)(We,{w:"44%",h:18,mb:16}),(0,d.FD)("div",{className:"flex justify-between py-3 border-t border-solid border-t-neutral100",children:[(0,d.Y)(We,{w:"58%",h:18}),(0,d.Y)(We,{w:"19%",h:18})]})]})},Ze=t(2543),Qe=function(n){var e=n.highlights,t=n.className;return(null===e||void 0===e?void 0:e.length)?(0,d.Y)("div",{className:C()("space-y-2",t),children:e.map((function(n,e){return(0,d.Y)("div",{className:"flex items-center gap-1 text-green600 text-xs",children:(0,d.Y)(M.T,{size:"c1",className:"flex-1 min-w-0",weight:"halfBold",color:"currentColor",children:n})},"note_".concat(e))}))}):null},$e=t(57198),Xe=function(n){var e=n.avgRating,t=n.ratingCount,i=n.shouldShowRatingCount;return e&&t&&i?(0,d.FD)($e.kD,{children:[(0,d.Y)(vn.t,{value:e,readOnly:!0}),(0,d.FD)(M.T,{size:"c1",color:Q.w.colors.gray700,children:["(",t,")"]})]}):null},nt=function(n){var e=n.href,t=n.children,i=n.dataTracking,a=n.formatEventTracking,l=void 0===a?function(n){return n}:a,c=(0,u.useState)(""),s=c[0],p=c[1];(0,u.useEffect)((function(){p((0,Z.Kb)(e))}),[e]);var h=l((0,o.A)((0,r.A)({},i),{"data-event-label":"".concat(s)}));return(0,d.Y)(Dn(),{href:e,passHref:!0,className:"cursor-pointer",children:(0,d.Y)("a",(0,o.A)((0,r.A)({},h),{children:t}))})},et=function(n){var e=n.highlights,t=n.className;return(null===e||void 0===e?void 0:e.length)&&(0,Ze.isArray)(e)?(0,d.Y)("div",{className:C()("flex flex-wrap gap-1",t),children:e.map((function(n,e){return(0,d.Y)(Gn.E,{h:24,py:4,px:8,lh:(0,f.D)(16),radius:8,bg:"white",variant:"outline",classNames:{root:"!border-neutral100 !normal-case !font-normal !text-[11px] leading-[16px] tracking-[-0.2px]",inner:"!text-[#111]"},children:n},"tag-".concat(e))}))}):null},tt=function(n){var e=(null===n||void 0===n?void 0:n.trim())||"";return!!e&&"NOT_AVAILABLE"!==e},it=(0,Sn.A)(vn.p,{target:"eqwqkuh0"})((function(n){return n.isMobile?"\n gap: 16px;\n padding-bottom: 0.875rem;\n .info {\n gap: 8px;\n }\n ":"\n &.card-item {\n grid-template-columns: 1fr 148px;\n column-gap: ".concat((0,f.D)(24),";\n row-gap: 0;\n padding: ").concat((0,f.D)(24)," ").concat((0,f.D)(24)," ").concat((0,f.D)(16),";\n }\n\n &.card-item .info {\n gap: ").concat((0,f.D)(12),";\n min-height: ").concat((0,f.D)(148),";\n }\n\n &.card-item .logo{\n width: ").concat((0,f.D)(148),";\n height: ").concat((0,f.D)(148),";\n\n img {\n width: ").concat((0,f.D)(148),";\n height: ").concat((0,f.D)(148),";\n }\n }\n ")})),at=(0,Sn.A)(An.s,{target:"eqwqkuh1"})("img[alt='platform']{width:24px !important;height:24px !important;}"),rt=t(72005),ot=t(39857),lt=t(75802);function ct(n){var e=n.address,t=n.distance,i=n.className,a=void 0===i?"":i,r=n.totalBranches,o=void 0===r?1:r,l=n.organization,c=(0,N.A)().formatMessage,s=(0,E.d)().isMobile,u=o>1;return(0,d.FD)(M.T,{size:"p3",color:Q.w.colors.gray700,className:"flex gap-2 items-center md:items-start ".concat(a),children:[u?(0,d.Y)(ot.A,{className:"w-5 h-5 shrink-0"}):(0,d.Y)(lt.A,{className:"w-5 h-5 shrink-0"}),(0,d.Y)("div",{className:"cursor-pointer flex-1 md:flex-initial min-w-0",children:u?null===l||void 0===l?void 0:l.name:e}),!s&&(u||t)&&(0,d.Y)("div",{children:"|"}),u?(0,d.Y)("div",{children:c({id:"hospital.info.totalBranches",defaultMessage:"{total, plural, =0 {} =1 {# branch} other {# branches}}"},{total:o})}):t&&(0,d.Y)(rt.A,{isIcon:!1,className:"!border-none !p-0 !w-auto shrink-0",textClassName:"text-gray700 text-[13px] md:leading-[20px]",value:"".concat(t," km")})]})}function st(n){var e,t,i=n.data,a=n.loading,l=n.gps,c=n.trackerMap,p=n.serviceType,h=i||{},g=h.description,m=h.logo,f=h.hospital_branch,b=h.price,k=h.price_discount,x=h.percent_discount,w=h.price_unit,A=h.cost_unit,_=h.hospital,D=h.display_name,Y=h.offering,S=(0,E.d)().isMobile,F=(0,K.$)().locale,T=(0,N.A)().formatMessage,I=function(n){var e,t,i,a=n.data,r=n.gps,o=(0,N.A)().formatMessage,l=(0,K.$)().asPath,c=(null===(e=a.hospital_branch)||void 0===e?void 0:e.length)||1,d=null===(t=a.hospital_branch)||void 0===t?void 0:t[0],p=a.review||{},h=p.avg_rating,g=p.rating_count,m=null===(i=a.hospital_branch)||void 0===i?void 0:i.some((function(n){return!!n.rating_count})),f="".concat(l.split("?")[0]).concat(a.slug,"-").concat(null===d||void 0===d?void 0:d.vaccine_detail_id),v=(0,u.useMemo)((function(){var n;return(null===(n=(0,me.Yf)(null===r||void 0===r?void 0:r.lat,null===r||void 0===r?void 0:r.lng,null===d||void 0===d?void 0:d.latitude,null===d||void 0===d?void 0:d.longitude))||void 0===n?void 0:n.toFixed(1))||""}),[r,d]),b=(0,u.useMemo)((function(){return(0,y.Bp)(a)||(0,y.P3)(a)?a.success_rate_highlights:[]}),[a]),k=(0,u.useMemo)((function(){var n;if((0,y.Bp)(a)||(0,y.P3)(a))return(null===(n=a.key_highlights)||void 0===n?void 0:n.slice(0,3))||[];if((0,y.bL)(a))return(0,s.A)(a.age_group_labels||[]).concat((0,s.A)(a.doses_labels||[]));if((0,y.DH)(a)){var e,t=o({id:En.Mrh[a.gender]||"gender.other",defaultMessage:"Other"}),i=(null===(e=a.category_life_stages)||void 0===e?void 0:e.filter(tt).map((function(n){return o({id:En.URC[n]||n,defaultMessage:En.URC[n]||n})})))||[];return[t].concat((0,s.A)(i))}return[]}),[a,o]);return{totalBranches:c,firstHospitalBranch:d,avgRating:h,ratingCount:g,shouldShowRatingCount:m,href:f,distance:v,successRateHighlights:b,highlightsBadges:k}}({data:(0,o.A)((0,r.A)({},i),{service_type:p}),gps:l}),z=I.totalBranches,B=I.firstHospitalBranch,P=I.avgRating,O=I.ratingCount,L=I.shouldShowRatingCount,H=I.href,j=I.distance,R=I.successRateHighlights,V=I.highlightsBadges,U=void 0===V?[]:V,G=(0,_n.p)({offeringId:null===i||void 0===i||null===(e=i.offering)||void 0===e?void 0:e.id,hospital:i.hospital,price:i.price,type:p,hospitalBranchIds:null===(t=i.hospital_branch)||void 0===t?void 0:t.map((function(n){return n.id}))}),q=G.referralTitle,$=G.allVouchers,X=G.loading,nn=(0,W.D)({locale:F,productKey:(null===Y||void 0===Y?void 0:Y.id)||""}).badge,en=En.yXx.includes(F),tn=p===En.Hxq.HEALTH_SCREENER,an=(0,u.useMemo)((function(){return(0,d.FD)(d.FK,{children:[(0,d.Y)(Xe,{avgRating:P,ratingCount:O,shouldShowRatingCount:L}),(0,d.Y)(nt,{dataTracking:c.selectProductItem,href:H,children:(0,d.Y)(M.T,{as:"span",color:Q.w.colors.gray700,size:"p3",lineClamp:2,children:g})})]})}),[P,O,L,g,H,c.selectClinic]),rn=function(n){return n?null:(0,d.FD)("div",{className:"md:pt-4",children:[nn?(0,d.Y)($n.A,{className:"py-1",type:nn.type,value:null===nn||void 0===nn?void 0:nn.value}):(0,d.Y)(Qe,{highlights:R,className:"py-1"}),en&&(0,d.Y)(qe.b,{text:T({id:"hospitalService.item.badge.fullRefundCancellation",defaultMessage:"Full Refund Cancellation In {number} Days"},{number:10}),className:"text-yellow900 font-medium pb-[6px]"}),(0,d.Y)(Jn,{price:b||0,priceDiscount:k||0,percentDiscount:x,priceUnit:w,costUnit:A||"",showFrom:!1,className:"pt-1"})]})},on=(0,Z.Kb)(H);return a?(0,d.Y)(Je,{}):(0,d.Y)(it,{logo:m||"",title:D||"",description:an,href:H,LinkComponent:function(n){return(0,d.Y)(nt,(0,o.A)((0,r.A)({},n),{dataTracking:c.selectProductItem}))},defaultImage:y.__,isMobile:S,contentInfo:(0,d.FD)("div",{className:"md:pb-4",children:[(0,d.Y)(et,{highlights:U,className:"mt-1"}),rn(S)]}),className:"card-item md:rounded-xl",children:(0,d.FD)("div",{className:"order-3 col-span-2 flex flex-col gap-3.5",children:[rn(!S),X?(0,d.Y)(zn.S,{withControls:!S,height:40,children:Array.from({length:3}).map((function(n,e){return(0,d.Y)(v.E,{w:248,h:40,radius:8,bg:Q.w.colors.neutral100,className:"max-w-[248px]"},"skeleton-voucher-".concat(e))}))}):(null===$||void 0===$?void 0:$.length)>0&&(0,d.Y)(zn.S,{withControls:!S,height:40,children:$.map((function(n){var e=n.id,t=n.name,i=n.type,a=n.brand,l=n.logo,s=n.description,u=i===Pn.O7.VOUCHER?"".concat(t," - ").concat(s):q(n),p=i===Pn.O7.REFERRAL?(0,J.yz)((0,o.A)((0,r.A)({},c.selectReferralVoucherListing),{"data-event-label":on}),null===B||void 0===B?void 0:B.vaccine_detail_id):(0,o.A)((0,r.A)({},c.clickVoucher),{"data-event-label":"".concat(null===B||void 0===B?void 0:B.vaccine_detail_id,"^").concat(t||e,"^").concat(on)});return(0,d.Y)(nt,{href:H,children:(0,d.Y)(at,{dataTracking:p,image:Pn.uY[a]||l||y.__,title:u,className:C()("max-w-[300px] h-10 !p-2"),classes:{title:{lineClamp:1}}})},e)}))}),!!f.length&&(0,d.FD)(d.FK,{children:[(0,d.Y)(bn.c,{color:Q.w.colors.neutral100}),(0,d.Y)(nt,{dataTracking:c.selectProductItemBranch,href:H,formatEventTracking:function(n){return(0,J.yz)(n,null===B||void 0===B?void 0:B.vaccine_detail_id)},children:tn?(0,d.Y)(Ke.A,{hospitalBranch:{name:(null===B||void 0===B?void 0:B.name)||"",short_name:null===B||void 0===B?void 0:B.short_name},organization:_,distance:j,totalBranches:z}):(0,d.Y)(ct,{address:(null===B||void 0===B?void 0:B.address)||"",distance:j,totalBranches:z,organization:_})})]})]})})}st.Skeleton=Je;var dt=st,ut=t(41211),pt=t(92343),ht=t(6483),gt=t(33077),mt=function(n){var e=n.serviceType,t=n.breadcrumbsPages,i=(0,N.A)().formatMessage,a=(0,u.useMemo)((function(){return(0,J.mZ)(e)}),[e]),l=(0,K.$)().locale,c=(0,E.d)().isMobile,s=(0,vn.u)(),p=s.total,h=s.handleUpdateFilter,g=s.filters,m=s.items,f=s.loading,b=(0,u.useState)(!1),y=b[0],k=b[1],x=(0,u.useState)(Se.Ok[e]),w=x[0],A=x[1],_=function(n){return function(){A(n),k(!0)}},D=(0,u.useMemo)((function(){var n=0,e=g||{},t=e.by_popularity,i=e.top_price,a=e.productType,r=e.gender,o=e.healthCondition,l=e.lifeStage,c=e.age_group,s=e.hospital_ids;return(t||i)&&n++,c&&n++,a&&Array.isArray(a)&&a.length>0&&(n+=a.length),r&&n++,o&&Array.isArray(o)&&o.length>0&&(n+=o.length),l&&Array.isArray(l)&&l.length>0&&(n+=l.length),s&&Array.isArray(s)&&s.length>0&&(n+=s.length),n}),[g]),Y=(0,u.useRef)(!0),S=(0,fe.HO)(),F=S.handleOpen,T=S.geoLocationInfo,I=S.gps,z=S.geoPermission,B=S.isOpen,P=(0,u.useState)((function(){var n=g||{},e=n.by_popularity,t=n.top_price;return e?"by_popularity":t?"top_price":"by_relevance"})),O=P[0],L=P[1],H=function(n){if("near_me"!==n){var e=(0,o.A)((0,r.A)({},g),(0,Yn.A)({},n,Number(!g[n])));h(e)}else F()};(0,u.useEffect)((function(){if(("granted"!==z||T)&&!B&&z){var n,e,t;if(Y.current)return void(Y.current=!1);var i=(0,o.A)((0,r.A)({},g),{city_id:(null===T||void 0===T||null===(n=T.search)||void 0===n||null===(e=n.city)||void 0===e||null===(t=e.id)||void 0===t?void 0:t.toString())||""});(null===T||void 0===T?void 0:T.place_id)&&I?(i.latitude=+I.lat,i.longitude=+I.lng,i.city_id=""):(i.latitude="",i.longitude=""),h(i)}}),[z,null===T||void 0===T?void 0:T.city,null===T||void 0===T?void 0:T.place_id,null===T||void 0===T?void 0:T.district,null===I||void 0===I?void 0:I.lat,null===I||void 0===I?void 0:I.lng]);var j=!m.length&&!f;return(0,d.FD)("div",{children:[(0,d.FD)("div",{className:"bg-white md:hidden",children:[(0,d.Y)("div",{className:"py-3 px-4",children:(0,d.Y)(vn.L.Search,(0,r.A)({placeholder:i({id:"ivf.search.placeholder",defaultMessage:"Search hospital/clinic"})},a.searchBox))}),(0,d.Y)(Ye.A,{className:"block md:hidden py-[10px] pl-4",pages:t})]}),(0,d.FD)(De.mc,{isNewContainer:!0,className:"gap-6",children:[(0,d.Y)(Ye.A,{className:"hidden py-3 md:block",pages:t}),(0,d.FD)("div",{className:C()("-mx-4 pb-12 md:mx-0 md:flex md:justify-between md:gap-6",{"bg-white":j&&c}),children:[(0,d.FD)("div",{className:"md:w-[320px] hidden md:flex md:flex-col md:gap-3",children:[(0,d.Y)("div",{className:"bg-white p-4 rounded-xl",children:(0,d.Y)(Be.Ee,(0,r.A)({placeholder:i({id:"ivf.search.placeholder",defaultMessage:"Search hospital/clinic"}),className:"input-desktop"},a.searchBox))}),(0,d.FD)("div",{className:"bg-white p-4 rounded-xl flex flex-col gap-8",children:[e==En.Hxq.HEALTH_SCREENER&&ze.dD.some((function(n){return n===l}))&&(0,d.Y)(Ee.A,{onFilter:function(n){var e={by_relevance:0,by_popularity:0,top_price:0};e[n]=1;var t=(0,r.A)({},g,e);L(n),h(t)},isKeySelected:O}),(0,d.Y)(Ue,{serviceType:e}),e==En.Hxq.HEALTH_SCREENER&&(0,d.FD)(d.FK,{children:[(0,d.Y)(He,{className:""}),(0,d.Y)(Le,{className:""}),(0,d.Y)(je.A,{className:"",serviceType:e})]})]})]}),(0,d.FD)("div",{className:"md:flex md:flex-col md:flex-1",children:[(0,d.FD)("div",{className:"hidden md:block bg-white mb-3 md:rounded-xl md:px-6 md:py-4",children:[(0,d.Y)("div",{className:"hidden md:block mb-4",children:f?(0,d.Y)(v.E,{w:"20%",h:20}):(0,d.Y)(M.T,{size:"title1",color:"gray900",weight:"semiBold",as:"h2",children:i({id:"ivf.search.total",defaultMessage:"{total} Hospitals/Clinics"},{total:m.length&&p||0})})}),(0,d.Y)(Fe.F,{name:"desktop",onFilter:H,isSelected:{near_me:Number(!!(null===T||void 0===T?void 0:T.place_id)),promo_available:g.promo_available},filterOptions:Te.Q,serviceType:e})]}),(0,d.FD)("div",{className:"bg-white md:flex md:flex-col md:gap-3",children:[(0,d.Y)(Ve,{serviceType:e,className:"pb-[20px] md:hidden"}),(0,d.Y)("div",{className:"md:hidden flex pl-4 pr-4 pb-6 items-center",children:(0,d.Y)(Fe.F,{name:"mobile",onFilter:H,isSelected:{near_me:Number(!!(null===T||void 0===T?void 0:T.place_id)),promo_available:g.promo_available},filterOptions:Te.Q,serviceType:e,onFilterClick:_(Se.Ok[e]),onHospitalClick:_(Se.Xy.HOSPITAL),activeFilterCount:D})}),(0,d.Y)("div",{className:"md:hidden flex gap-[10px] items-center justify-between px-4 ",children:f?(0,d.Y)(v.E,{w:"20%",h:20}):(0,d.Y)(M.T,{size:"p3",color:Q.w.colors.gray400,as:"h2",children:i({id:"ivf.search.total",defaultMessage:"{total} Hospitals/Clinics"},{total:m.length&&p||0})})})]}),(0,d.Y)(vn.L.Content,{className:"space-y-3",customLoading:(0,d.FD)("div",{className:"space-y-3",children:[(0,d.Y)(dt.Skeleton,{}),(0,d.Y)(dt.Skeleton,{}),(0,d.Y)(dt.Skeleton,{})]}),customEmpty:(0,d.FD)("div",{className:"flex flex-col gap-2 md:gap-4 items-center justify-start py-20 md:py-10 min-h-[50vh] md:bg-white md:rounded-lg md:h-full",children:[(0,d.Y)(gt.A,{className:"w-[54px] h-[54px] md:hidden text-neutral50"}),(0,d.Y)(ht.A,{className:"hidden md:block md:w-48 md:h-[120px] text-neutral50"}),(0,d.Y)(M.T,{size:"p2",color:Q.w.colors.gray400,className:"text-center",weight:"semiBold",children:i({id:"filter.noResults",defaultMessage:"No result"})})]}),children:(0,d.Y)(vn.L.Item,{render:function(n,t){return(0,d.Y)("div",{children:(0,d.Y)(dt,{gps:(null===T||void 0===T?void 0:T.place_id)?I:null,data:n,loading:t,trackerMap:a,serviceType:e})})}})}),(0,d.Y)(vn.L.LoadMore,(0,r.A)({renderLoadMore:function(n){var e=n.last;return(0,d.Y)("span",{className:"font-normal",children:i({id:"vaccination.search.loadmore",defaultMessage:"Load more {items} items"},{items:e})})}},a.loadMore))]})]}),(0,d.Y)(ut.m,{locale:l,serviceType:e,filter:g.productType[0]})]}),(0,d.Y)(pt.j,{trackerMap:a}),c&&(0,d.Y)(Ne.s,{isOpen:y,onClose:function(){return k(!1)},serviceType:e,totalResults:p||0,defaultActiveCategory:w})]})},ft=function(n){var e=n.serviceType,t=n.initItems,i=void 0===t?[]:t,a=n.initPagination,l=n.breadcrumbsPages,c=(0,K.$)().locale,s=(0,u.useRef)(null),p=(0,Ie.Z)(Ge.TE[e]),h=p.state,g=p.setState,m=function(){var n=(0,we.A)((function(n){var t,i,a,l,d,u,p,h,m,f,v,b,y,k,x,A,C,_,M,D;return(0,Ae.__generator)(this,(function(Y){switch(Y.label){case 0:t=n.page,i=n.pageSize,a=n.search,l=n.filters,d=void 0===l?{}:l,u=n.searchSession,s.current&&s.current.cancel("Operation canceled by the user."),p=Me().CancelToken,h=p.source(),s.current=h,Y.label=1;case 1:return Y.trys.push([1,3,,4]),v=w.ck[e],C={site:Ce.y[c],type:w.Tc[e],per_page:i,keyword:a||"",page:t,city_id:d.city_id||"",latitude:d.latitude||"",longitude:d.longitude||"",top_rated:null!==(b=d.top_rated)&&void 0!==b?b:0,promo_available:null!==(y=d.promo_available)&&void 0!==y?y:0,health_condition:d.healthCondition||[],hospital_ids:d.hospital_ids||[],gender:d.gender},(0,Yn.A)(C,v,d.productType||[]),(0,Yn.A)(C,"by_relevance",null!==(k=d.by_relevance)&&void 0!==k?k:0),(0,Yn.A)(C,"by_popularity",null!==(x=d.by_popularity)&&void 0!==x?x:0),(0,Yn.A)(C,"top_price",null!==(A=d.top_price)&&void 0!==A?A:0),_=C,u&&(_.page=u),[4,w.Xx.getVaccinationListV2(_,h.token).then((function(n){var e;return null===(e=n.data)||void 0===e?void 0:e._data}))];case 2:return M=Y.sent(),g((0,o.A)((0,r.A)({},d),{keyword:a||"",page:t}),{shallow:!0,scroll:!1}),[2,{data:M.searches,total:(null===(m=M.pagination)||void 0===m?void 0:m.total_items)||0,page:t,searchSession:(null===(f=M.pagination)||void 0===f?void 0:f.next)||""}];case 3:return D=Y.sent(),console.log("\ud83d\ude80 ~ fetchVaccinationList ~ error:",D),[2,{data:[],total:0,page:t,isKeepLoading:Me().isCancel(D)}];case 4:return[2]}}))}));return function(e){return n.apply(this,arguments)}}();return(0,d.Y)(vn.L.Provider,{fetcher:m,defaultSearch:h.keyword||"",defaultFilters:h,defaultItems:i,defaultPage:Number(h.page)||1,defaultTotal:(null===a||void 0===a?void 0:a.total_items)||0,children:(0,d.Y)(mt,(0,o.A)((0,r.A)({},n),{breadcrumbsPages:l}))})}},94335:function(n,e,t){"use strict";var i=t(38971),a=t(81539),r=t(2445),o=t(73884),l=t(37597),c=t(74489),s=t(59363),d=t(6442);e.A=function(n){var e=n.className,t=n.serviceType,u=(0,l.u)(),p=u.handleUpdateFilter,h=u.filters,g=(0,d.A)().formatMessage,m=(0,s.d)(t),f=m.hospitals,v=m.loading,b=(0,o.useMemo)((function(){return f.map((function(n){return{title:n.name,defaultMessage:n.name,value:n.hospital_id.toString(),filterKey:"hospital_ids",logo:n.logo}}))}),[f]);return v||0===b.length?null:(0,r.Y)(c.A,{title:g({id:"hospitalService.list.hospitalFilter",defaultMessage:"Hospital"}),className:e,filterOptions:b,activeValue:h.hospital_ids||[],onReset:function(){var n;0!==(null===(n=h.hospital_ids)||void 0===n?void 0:n.length)&&p({hospital_ids:[]})},onChange:function(n){var e=(0,a.A)(h.hospital_ids||[]);e.includes(n.value)?e=e.filter((function(e){return e!==n.value})):e.push(n.value),p((0,i.A)({},n.filterKey,e))},defaultLenToGetItems:3})}},87505:function(n,e,t){"use strict";t.d(e,{Bj:function(){return x},Eq:function(){return v},dB:function(){return k},gS:function(){return f},uK:function(){return p}});var i,a,r=t(38971),o=t(40959),l=function(n){var e,t,i=(e={},(0,r.A)(e,o.Hxq.IVF,"hospitalService.ivfType"),(0,r.A)(e,o.Hxq.EGG_FREEZING,"hospitalService.eggFreezingType"),(0,r.A)(e,o.Hxq.VACCINE,"hospitalService.vaccineType"),(0,r.A)(e,o.Hxq.HEALTH_SCREENER,"hospitalService.healthScreenerType"),e)[n],a=(t={},(0,r.A)(t,o.Hxq.VACCINE,"".concat(o.JpE,"/images/vaccine-filter")),(0,r.A)(t,o.Hxq.IVF,"".concat(o.JpE,"/images/ivf-filter")),(0,r.A)(t,o.Hxq.EGG_FREEZING,"".concat(o.JpE,"/images/egg-filter")),(0,r.A)(t,o.Hxq.HEALTH_SCREENER,"".concat(o.JpE,"/images/screener-filter")),t)[n];return function(n,e,t){return{title:"".concat(i,".").concat(n),defaultMessage:n,value:e,filterKey:"productType",logo:"".concat(a,"/").concat(t)}}},c=l(o.Hxq.IVF),s=l(o.Hxq.EGG_FREEZING),d=l(o.Hxq.VACCINE),u=l(o.Hxq.HEALTH_SCREENER),p=[d("hpv","hpv","HPV.png"),d("diphtheria","diphtheria","Diphtheria.png"),d("tetanus","tetanus","Tetanus.png"),d("pertussis","pertussis","Pertussis.png"),d("flu","flu","Flu.png"),d("hepatitisB","hepatitisb","HepatitisB.png"),d("polio","polio","Polio.png"),d("hib","hib","Hib.png"),d("measles","measles","Measles.png"),d("mumps","mumps","Mumps.png"),d("rubella","rubella","Rubella.png"),d("meningococcal","meningococcal","Meningococcal.png"),d("pneumococcal","pneumococcal","Pneumococcal.png"),d("cholerae","cholerae","Cholerae.png"),d("chickenpox","chickenpox","Chickenpox.png"),d("diarrhea","diarrhea","Diarrhea.png"),d("japaneseEncephalitis","japanese_encephalitis","JapaneseEncephalitis.png"),d("smallpox","smallpox","Smallpox.png"),d("dengueFever","dengue_fever","DengueFever.png"),d("rabies","rabies","Rabies.png"),d("typhoidFever","typhoid_fever","TyphoidFever.png"),d("tuberculosis","tuberculosis","Tuberculosis.png"),d("hepatitisA","hepatitis","HepatitisA.png"),d("shingles","shingles","Shingles.png")],h=[c("ivf","ivf","IVF.png"),c("icsi","icsi","ICSI.png"),c("iui","iui","IUI.png"),c("eggFreezing","egg-freezing","EggFreezing.png"),c("pgt","pgt","PGT.png"),c("infertilityTreatment","infertilityTreatment","InfertilityTreatment.png")],g=[s("packageBySamplePerYear","every_year","PerSamplePerYear.png"),s("1YearPackage","one_year","1YearPackage.png"),s("3YearPackage","three_year","3YearPackage.png"),s("5YearPackage","five_year","5YearPackage.png")],m=[u("preMarriage","pre-marriage","pre-marriage.png"),u("postMarriage","post-marriage","post-marriage.png"),u("prePregnancy","pre-pregnancy","pre-pregnancy.png"),u("pregnancy","pregnancy","pregnancy.png"),u("children","children","children.png"),u("elderly","elderly","elderly.png")],f=(i={},(0,r.A)(i,o.Hxq.IVF,h),(0,r.A)(i,o.Hxq.EGG_FREEZING,g),(0,r.A)(i,o.Hxq.VACCINE,p),(0,r.A)(i,o.Hxq.HEALTH_SCREENER,m),i),v=(a={},(0,r.A)(a,o.Hxq.IVF,{title:"hospitalService.list.treatmentType",defaultMessage:"Treatment type"}),(0,r.A)(a,o.Hxq.EGG_FREEZING,{title:"hospitalService.list.packageType",defaultMessage:"Package type"}),(0,r.A)(a,o.Hxq.VACCINE,{title:"hospitalService.list.protectionAgainst",defaultMessage:"Protection against"}),(0,r.A)(a,o.Hxq.HEALTH_SCREENER,{title:"hospitalService.list.lifeStage",defaultMessage:"Life-stage"}),a),b=function(n,e,t){return{title:"hospitalService.healthConditionType.".concat(n),defaultMessage:n,value:e,filterKey:"healthCondition",logo:"".concat(o.JpE,"/images/health-condition-filter/").concat(t)}},y=function(n,e,t){return{title:"gender.".concat(n),defaultMessage:n,value:e,filterKey:"gender",logo:"".concat(o.JpE,"/images/gender-filter/").concat(t)}},k=[b("diabetes","diabetes","Diabetes.png"),b("general","general","General.png"),b("cardiovascular","cardiovascular","Cardiovascular.png"),b("cancer","cancer","Cancer.png"),b("organFunction","organ function","OrganFunction.png"),b("bonesJoint","bones & joint","BonesJoint.png"),b("stds","STDs","Stds.png"),b("others","others","Others.png")],x=[y("male","male","Male.png"),y("female","female","Female.png"),y("both","both","Both.png")]},42258:function(n,e,t){"use strict";t.d(e,{TE:function(){return g},fP:function(){return d}});var i,a=t(38971),r=t(53513),o=t(63538),l=t(40959),c=t(38194),s={keyword:{defaultValue:"",queryKey:"q"},page:{defaultValue:1,parse:function(n){return(0,c.x_)(n,1)}},city_id:{defaultValue:"",queryKey:"city_id"},hospital_branch_id:{defaultValue:0,parse:c.x_,queryKey:"hos_branch_id"},top_rated:{defaultValue:0,parse:c.x_},promo_available:{defaultValue:0,parse:c.x_},by_relevance:{defaultValue:1,queryKey:"sort_by",isSameKey:!0,parse:function(n){return"relevance"!==n&&n?0:1},serialize:function(n){return n?"relevance":void 0}},by_popularity:{defaultValue:0,queryKey:"sort_by",isSameKey:!0,parse:function(n){return"popularity"===n?1:0},serialize:function(n){return n?"popularity":void 0}},top_price:{defaultValue:0,queryKey:"sort_by",isSameKey:!0,parse:function(n){return"top_price"===n?1:0},serialize:function(n){return n?"top_price":void 0}},healthCondition:{defaultValue:[],queryKey:"health_condition",parse:c.r9},gender:{defaultValue:"",queryKey:"gender",parse:function(n){return Array.isArray(n)?n[0]||"":n||""}},hospital_ids:{defaultValue:[],queryKey:"hospital_ids",parse:c.r9}},d=(0,o.A)((0,r.A)({},s),{age_group:{defaultValue:""},productType:{defaultValue:[],queryKey:"protected_type",parse:c.r9}}),u=(0,o.A)((0,r.A)({},s),{productType:{defaultValue:[],queryKey:"treatment_type",parse:c.r9}}),p=(0,o.A)((0,r.A)({},s),{productType:{defaultValue:[],queryKey:"package_type",parse:c.r9}}),h=(0,o.A)((0,r.A)({},s),{productType:{defaultValue:[],queryKey:"life_stage",parse:c.r9}}),g=(i={},(0,a.A)(i,l.Hxq.VACCINE,d),(0,a.A)(i,l.Hxq.IVF,u),(0,a.A)(i,l.Hxq.EGG_FREEZING,p),(0,a.A)(i,l.Hxq.HEALTH_SCREENER,h),i)},92012:function(n,e,t){"use strict";t.d(e,{F_:function(){return d},_p:function(){return p},m:function(){return u},sV:function(){return h}});var i=t(24537),a=t(44410),r=t(27317);function o(){var n=(0,i.A)(["\n "," {\n display: flex;\n gap: 32px;\n }\n\n .hospitals {\n flex: 5;\n margin-bottom: 32px;\n }\n\n .filter {\n flex: 2;\n }\n\n .pagination {\n display: flex;\n justify-content: center;\n justify-self: center;\n\n "," {\n justify-content: flex-end;\n margin-left: auto;\n justify-self: flex-end;\n }\n }\n"]);return o=function(){return n},n}function l(){var n=(0,i.A)(["\n display: flex;\n justify-content: space-between;\n"]);return l=function(){return n},n}function c(){var n=(0,i.A)(["\n display: inline-flex;\n cursor: pointer;\n\n svg {\n margin-left: 8px;\n }\n"]);return c=function(){return n},n}function s(){var n=(0,i.A)(["\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n margin: 64px 0;\n\n svg {\n margin-bottom: 24px;\n }\n"]);return s=function(){return n},n}var d=r.Ay.div.withConfig({componentId:"sc-dfa2edf0-0"})(o(),a.M.tdUp,a.M.tdUp),u=r.Ay.div.withConfig({componentId:"sc-dfa2edf0-1"})(l()),p=r.Ay.div.withConfig({componentId:"sc-dfa2edf0-2"})(c()),h=r.Ay.div.withConfig({componentId:"sc-dfa2edf0-3"})(s())},56877:function(n,e,t){"use strict";t.d(e,{_:function(){return r}});var i=t(24537);function a(){var n=(0,i.A)(["\n background-color: ",";\n"]);return a=function(){return n},n}var r=t(27317).Ay.div.withConfig({componentId:"sc-d7a534ea-0"})(a(),(function(n){return n.theme.colors.neutral50}))},51768:function(n,e,t){"use strict";t.d(e,{_9:function(){return i._},Rn:function(){return qt},rx:function(){return Ri}});var i=t(56877),a=t(53513),r=t(63538),o=t(53455),l=t(81539),c=t(2445),s=t(73884),d=t(37597),u=t(15762),p=t(18502),h=t(26273),g=t(51387),m=t(74029),f=t(48894),v=t(13306),b=t(34767),y=t(32485),k=t.n(y),x=t(92743),w=t(70643),A=t(71572),C=t(66814),_=t(57421),M=t(20864),D=t(88491),Y=t(38971),E=t(73),N=t(35291),S=t(25403),F=t(23421),T=t(44523),I=t(91350),z=t(73419),B=t(40959),P=t(6442),O=t(67722),L=t(34283),H=t(13034),j=t(24537),R=t(48085),V=t(27317);function U(){var n=(0,j.A)(["\n display: flex;\n align-items: center;\n gap: ",";\n\n div {\n gap: ",";\n svg {\n width: ",";\n height: ",";\n }\n }\n"]);return U=function(){return n},n}var G=V.Ay.div.withConfig({componentId:"sc-f7fbee-0"})(U(),(0,R.D)(2),(0,R.D)(0),(0,R.D)(16),(0,R.D)(16)),q=t(11851),K=t(44410),W=(N.w.colors.gray700,(0,q.A)("div",{target:"e9g62zl1"})("display:flex;width:100%;& > .mantine-Button-root#book-now-button-combo-package{background-color:",N.w.colors.primary600,";width:fit-content;&:hover{background-color:",N.w.colors.primary700,";}}& > .mantine-Button-root{padding:0 24px;",K.M.mbDown,"{padding:0 16px;height:44px;}}")),J=t(25906),Z=t(30448),Q=function(n){var e=n.display_name,t=n.organization,i=n.logo,o=n.name,l=n.percent_discount,u=n.price,g=n.price_discount,f=n.highights_for_upselling,v=n.total_rating,b=n.avg_rating,y=n.currency,x=n.listing_id,w=n.hospital_branch_lists,C=n.slug,_=t.name,j=(0,M.J3)().openPopupOrganizationWithData,R=(0,z.$)().locale,V=(0,P.A)().formatMessage,U=(0,D.d)().isMobile,q=!(!b||!v),K="".concat((0,H.WZ)(B.Hxq.VACCINE,R,"")).concat(C,"-").concat(x,"/"),Q=(0,s.useState)(""),$=Q[0],X=Q[1];(0,s.useEffect)((function(){X((0,H.Kb)(K))}),[]);var nn=(0,s.useMemo)((function(){var n,e=(n={},(0,Y.A)(n,h.L.Vietnam,{name:"messenger",link:E.Kt[R],icon:Z.A,color:"primary600"}),(0,Y.A)(n,h.L.Malaysia,{name:"whatsapp",link:E.dm[R],icon:J.A,color:"green600"}),n),t=R,i=e[t].icon;return(0,c.Y)(S.B,(0,r.A)((0,a.A)({size:"lg",className:"w-full rounded-xl z-2 absolute",color:N.w.colors.white,onClick:function(n){n.preventDefault(),n.stopPropagation(),(0,O.HB)(e[t].link)},"data-testid":"package-talk-to-us-button"},(0,L.yz)((0,r.A)((0,a.A)({},L.Yh.talkToUs),{"data-event-action":"Recommend Click Message to ".concat(e[t].name),"data-event-label":e[t].link}),x)),{children:(0,c.FD)("div",{className:"flex items-center justify-center gap-2",children:[(0,c.Y)("div",{className:k()("w-5 h-5",{"text-green600":t===h.L.Malaysia}),children:(0,c.Y)(i,{className:"w-5 h-5 text-inherit"})}),(0,c.Y)(A.T,{size:"p3",color:e[t].color,fw:600,children:V({id:"vaccination.detail.package.button.talkToUs",defaultMessage:"Talk to Us"})})]})}))}),[R,V]);return(0,c.Y)(T.A,{href:K,passHref:!0,children:(0,c.Y)("div",{className:"border-[0.7px] border-solid border-[#0000001A] min-w-[320px] max-w-[347px] md:max-w-full rounded-xl h-fit",style:{background:"radial-gradient(138.53% 100% at 52.88% 100%, #D1E6FF 0%, #FFFFFF 60%)"},children:(0,c.FD)("div",{className:"flex flex-col gap-4 p-4 w-[inherit]",children:[(0,c.FD)("div",{className:"flex justify-between gap-3 md:gap-4",children:[(0,c.FD)("div",{className:"flex flex-col gap-4 md:gap-3 items-start md:flex-1",children:[(0,c.Y)("div",{className:"flex flex-row justify-between w-full md:flex-col gap-3 md:block",children:(0,c.FD)("div",{className:"flex flex-col gap-1",children:[(0,c.Y)(A.T,{size:U?"title2":"title1",fw:600,color:"gray1000",lineClamp:2,children:o||e}),q&&(0,c.FD)("div",{className:"flex items-center gap-1",children:[(0,c.Y)(G,{children:(0,c.Y)(d.t,{value:1,readOnly:!0})}),(0,c.Y)(A.T,{size:"p3",color:"gray700",fw:500,lineClamp:1,children:U?"".concat(v," ").concat(V({id:"booking.search.tab.review",defaultMessage:"Reviews"})):"(".concat(v,")")})]})]})}),(0,c.Y)("div",{className:k()({hidden:!q,block:q}),children:(0,c.Y)(A.T,{size:"title2",fw:500,color:"gray1000",lineClamp:2,children:_})}),(0,c.Y)("div",{className:k()({hidden:q,block:!q}),children:(0,c.Y)(A.T,{size:"title2",fw:500,color:"gray1000",lineClamp:2,children:_})})]}),(0,c.Y)("div",{className:"self-start shrink-0 aspect-square",children:(0,c.Y)(p.I,{src:i||m.We,width:72,height:72,className:"rounded-lg object-contain",alt:o||e})})]}),!!f&&(0,c.Y)(A.T,{size:"p3",color:"gray700",fw:400,as:"span",children:(0,c.Y)(F.U,{htmlContent:f})}),(0,c.Y)(I.L,{priceUnit:y,price:u,discountPrice:g,percentageDiscount:l,className:"gap-2",textProps:{price:{size:"title1",fw:600,color:"gray1000"},discount:{size:"c1",fw:400,color:"gray400"}}}),(0,c.FD)(W,{className:"gap-3 md:gap-4",children:[(0,c.Y)(S.B,(0,r.A)((0,a.A)({"data-testid":"package-book-now-button",className:"rounded-xl z-2 absolute","data-button-type":"book-now",color:"primary",size:"lg"},(0,L.yz)((0,r.A)((0,a.A)({},L.Yh.clickBookNowComboPackage),{"data-event-label":$}),x)),{onClick:function(n){n.stopPropagation(),n.preventDefault(),j({id:x,hospital_branch_lists:w,organization:t,slug:C,service_type:B.Hxq.VACCINE})},children:(0,c.Y)(A.T,{size:"p2",color:"gray100",fw:500,children:V({id:"homePage.bookNow",defaultMessage:"Book Now"})})})),nn]})]})})})},$=function(n){var e=n.comboListing,t=n.upSellIntro,i=(0,D.d)().isMobile;return e&&0!==e.length?(0,c.FD)(M.DT,{children:[(0,c.FD)("div",{className:"px-4 pb-4 md:pb-6 md:px-6 -mt-1",children:[t&&(0,c.Y)(A.T,{size:i?"p3":"p2",fw:400,color:"gray700",className:"pb-4",children:t}),i?(0,c.Y)(C.a,{withControls:!1,withIndicators:!1,slideGap:8,slideSize:"auto",containScroll:"trimSnaps",dragFree:!0,sx:{"& .mantine-Carousel-viewport":{marginRight:"-16px",paddingRight:"16px"}},children:null===e||void 0===e?void 0:e.map((function(n){return(0,c.Y)(C.a.Slide,{children:(0,c.Y)(Q,(0,a.A)({},n))},null===n||void 0===n?void 0:n.listing_id)}))}):(0,c.Y)("div",{className:"flex flex-col gap-4",children:null===e||void 0===e?void 0:e.map((function(n){return(0,c.Y)(Q,(0,a.A)({},n),null===n||void 0===n?void 0:n.listing_id)}))})]}),(0,c.Y)(_.A,{})]}):null},X=t(45293),nn=t(4736),en=t(50568),tn=t(11736),an=t(81854),rn=t(12034),on=t(76223),ln=t(60304),cn=t(94858),sn=t(57387),dn=t(34555),un=t(84091),pn=t(28543),hn=t(20023),gn=function(n){var e=n.status,t=n.price,i=n.priceDiscount,a=n.percentDiscount,r=n.priceUnit,o=n.className,l=n.style,d=n.isPerDose,u=n.isBasicLayout,p=n.isShowTooltip,h=void 0===p||p,g=n.isShowBadgeDiscount,m=void 0===g||g,f=(0,z.$)().locale,v=(0,P.A)().formatMessage,b=(0,s.useState)(!1),y=b[0],k=b[1],x="number"===typeof a;if(!t)return null;var w=function(n){var e=n===pn.lL.PRICE&&x?i:t,a=(0,un.$g)(e||0,f);return u&&"vi-VN"===f&&(a=(0,un.xc)(e,v)),(0,un.nd)(v,a,r)};return(0,c.FD)("div",{className:(0,cn.A)(o,"VaccinationPrice",""),style:l,children:[(0,c.FD)("div",{className:"VaccinationPrice--price_top flex gap-2 items-center h-6",children:[(0,c.Y)("span",{className:(0,cn.A)("VaccinationPrice--price_discount notranslate","text-[17px] text-primaryBase font-semibold leading-[24px] tracking-[-0.4px]",{"!text-gray300":e===pn.zF.out_of_stock}),children:(0,c.Y)("span",{className:"mr-0.5",children:w(pn.lL.PRICE)})}),"number"===typeof a&&m&&(0,c.Y)(sn.E,{py:2,px:4,fw:400,radius:6,bg:N.w.colors.blue500,children:(0,c.FD)("span",{className:"text-white",children:["-",Math.round(a),"%"]})}),h&&(0,c.Y)(dn.m,{label:v({id:"vaccination.referencePrice",defaultMessage:"Gi\xe1 tham kh\u1ea3o"}),withArrow:!0,opened:y,children:(0,c.Y)("div",{onMouseOver:function(){k(!0)},onMouseOut:function(){k(!1)},className:"flex",children:(0,c.Y)(hn.A,{onClick:function(n){n.stopPropagation(),n.preventDefault(),k(!0)},className:"text-primaryBase w-4 h-4"})})})]}),x&&(0,c.Y)("del",{className:(0,cn.A)("VaccinationPrice--price notranslate","text-gray400 text-[12px] leading-[16px] tracking-[-0.2px]"),children:(0,c.Y)("span",{children:w(pn.lL.DISCOUNT)})}),d&&(0,c.FD)("span",{className:"text-gray400 text-xs leading-4 whitespace-nowrap",children:[" ",v({id:"vaccination.detail.perDose",defaultMessage:"per dose"})]})]})},mn=t(39857),fn=t(42705),vn=t(99325);function bn(){var n=(0,j.A)(["\n width: 20px;\n height: 20px;\n flex-shrink: 0;\n color: ",";\n"]);return bn=function(){return n},n}function yn(){var n=(0,j.A)(["\n ","\n"]);return yn=function(){return n},n}function kn(){var n=(0,j.A)(["\n ","\n"]);return kn=function(){return n},n}function xn(){var n=(0,j.A)(["\n ","\n"]);return xn=function(){return n},n}function wn(){var n=(0,j.A)(["\n ","\n"]);return wn=function(){return n},n}function An(){var n=(0,j.A)(["\n display: flex;\n justify-content: center;\n position: fixed;\n z-index: ",";\n\n bottom: 0;\n left: 0;\n right: 0;\n width: 100%;\n background-color: #fff;\n border-top: 0.5px solid\n ",";\n\n "," {\n display: none !important;\n }\n"]);return An=function(){return n},n}function Cn(){var n=(0,j.A)(["\n &.hpv-mobile .hpv-screener-container {\n padding: 24px;\n gap: 1rem;\n\n & .hpv-screener-content {\n gap: 4px;\n }\n }\n"]);return Cn=function(){return n},n}function _n(){var n=(0,j.A)(["\n display: flex;\n align-items: center;\n gap: 4px;\n & .VaccinationPrice--price_discount {\n color: ",";\n }\n\n & .VaccinationPrice--price > span {\n font-size: 15px;\n line-height: 24px;\n font-weight: 500;\n }\n"]);return _n=function(){return n},n}function Mn(){var n=(0,j.A)(["\n &#"," .box-collapse {\n "," {\n padding: 20px 24px 16px;\n }\n\n & .title-collapse {\n "," {\n font-size: 20px;\n line-height: 28px;\n }\n }\n }\n"]);return Mn=function(){return n},n}function Dn(){var n=(0,j.A)(["\n &#insurance-info {\n & #insurance-container{\n "," {\n padding: 0 24px 24px;\n }\n }\n \n & .txt-body-2 {\n "," {\n font-size: 17px;\n color: ",";\n font-weight: 500;\n }\n }\n\n & .txt-body-1 {\n "," {\n font-size: 15px;\n line-height: 24px;\n }\n }\n }\n }\n\n &#insurance-info .insuranceItem {\n "," {\n width: ",";\n height: ",";\n }\n\n & .insuranceLogo {\n "," {\n width: 100%;\n height: 100%;\n }\n }\n }\n\n &#insurance-info #insurance-list {\n "," {\n display: grid;\n grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));\n gap: 8px;\n }\n }\n\n &#insurance-info {\n & #payment-container .payment-item {\n "," {\n width: ",";\n height: ",";\n }\n }\n }\n"]);return Dn=function(){return n},n}var Yn,En=(0,V.AH)(bn(),(function(n){return n.theme.colors.neutral800})),Nn=((0,V.Ay)(mn.A).withConfig({componentId:"sc-2cd3e53c-0"})(yn(),En),(0,V.Ay)(hn.A).withConfig({componentId:"sc-2cd3e53c-1"})(kn(),En)),Sn=((0,V.Ay)(fn.A).withConfig({componentId:"sc-2cd3e53c-2"})(xn(),En),(0,V.Ay)(vn.A).withConfig({componentId:"sc-2cd3e53c-3"})(wn(),En)),Fn=V.Ay.div.withConfig({componentId:"sc-2cd3e53c-4"})(An(),B.Mue.actionBottomGroup,(function(n){return n.theme.colors.neutral100}),K.M.mbUp),Tn=(0,V.Ay)(d.H).withConfig({componentId:"sc-2cd3e53c-5"})(Cn()),In=((0,V.Ay)(gn).withConfig({componentId:"sc-2cd3e53c-6"})(_n(),(function(n){return n.theme.colors.gray1000})),(0,V.Ay)(ln.C).withConfig({componentId:"sc-2cd3e53c-7"})(Mn(),(function(n){return n.id}),K.M.mbUp,K.M.mbUp)),zn=V.Ay.div.withConfig({componentId:"sc-2cd3e53c-8"})(Dn(),K.M.mbUp,K.M.mbUp,N.w.colors.gray1000,K.M.mbUp,K.M.mbUp,(0,R.D)(170),(0,R.D)(96),K.M.mbUp,K.M.mbUp,K.M.mbUp,(0,R.D)(170),(0,R.D)(80)),Bn=t(92047),Pn=t(79677),On=t(23005),Ln=t(76308),Hn=t(95204),jn=t(22615),Rn=t(30130),Vn=t(76020),Un=t(36814),Gn="vacciationPackageItem",qn=(Yn={".mantine-Button-label":{fontSize:13,fontWeight:600,lineHeight:"20px",letterSpacing:"-0.3px",span:{fontSize:12,fontWeight:400,lineHeight:"16px",letterSpacing:"-0.2px"}},"&.btn-talk_to_us":{color:N.w.colors.primary600,backgroundColor:"#ffffff","&:hover":{color:N.w.colors.primary700}}},(0,Y.A)(Yn,"".concat(K.M.mbDown),{paddingInline:(0,R.D)(16),height:"".concat((0,R.D)(44)," !important")}),(0,Y.A)(Yn,"".concat(K.M.mbUp),{paddingInline:24,"&.btn-booking":{minWidth:"328px",maxWidth:"50%"}}),Yn),Kn=function(n){var e=n.vaccinePackage,t=n.onClickBooking,i=(0,z.$)().locale,o=(0,P.A)().formatMessage,l=(0,D.d)().isMobile,d=e||{},u=d.id,p=d.package_name,h=d.discount_amount,g=d.price_unit,m=h?(0,un.nd)(o,(0,un.$g)(h,i),g):"",f=(0,s.useCallback)((function(){u&&(null===t||void 0===t||t({pkgId:u,pkgName:p}))}),[t,u,p]),v=(0,s.useCallback)((function(){window.location.href="/http://m.me/hellobacsi"}),[]);return l?(0,c.Y)(Qn,(0,r.A)((0,a.A)({},n),{priceOff:m,onClickBook:f,onClickTalkToUs:v})):(0,c.Y)($n,(0,r.A)((0,a.A)({},n),{priceOff:m,onClickBook:f,onClickTalkToUs:v}))},Wn=function(n){var e=n.priceOff,t=n.discountedPrice,i=n.originalPrice,a=n.currency,r=n.className,o=n.style,l=(0,P.A)().formatMessage,d=(0,z.$)().locale,u=(0,s.useMemo)((function(){return t?(0,un.nd)(l,(0,un.$g)(i||0,d),a):null}),[i,t,d]),p=(0,s.useMemo)((function(){return u?(0,un.nd)(l,(0,un.$g)(t||0,d),a):(0,un.nd)(l,(0,un.$g)(i||0,d),a)}),[u]);return(0,c.FD)("div",{className:(0,cn.A)(r,"".concat(Gn,"__price_box")),style:o,children:[(0,c.FD)("div",{className:"".concat(Gn,"__price_wrapper flex items-center justify-start gap-1"),children:[(0,c.Y)("bdi",{className:(0,cn.A)("text-dark font-semibold text-[17px] leading-7 tracking-[-0.4px]"),children:p}),!!u&&(0,c.Y)("del",{className:"text-gray400 text-[13px] leading-5 tracking-[-0.3px] md:font-medium",children:u})]}),!!e&&(0,c.Y)("p",{className:"text-gray700 text-[12px] leading-4 tracking-[-0.2px] [&>strong]:!text-green600 [&>strong]:font-semibold",dangerouslySetInnerHTML:{__html:l({id:"vaccination.detail.package.price_notice",defaultMessage:"Get {number} off for online booking"},{number:e},{ignoreTag:!0})}})]})},Jn=function(n){var e=n.content,t=n.className,i=n.style,a=(0,P.A)().formatMessage;if(!e)return null;var r=e.split("\n");return(0,c.FD)("div",{className:(0,cn.A)(t,"".concat(Gn,"__description_box")),style:i,children:[(0,c.Y)("p",{className:"mb-[6px] text-dark font-semibold md:font-medium text-[13px] md:text-[15px] leading-5 md:leading-6 tracking-[-0.3px]",children:a({id:"vaccination.detail.package.include_text",defaultMessage:"Package Includes"})}),(0,c.Y)("div",{className:"".concat(Gn,"__description text-gray700 text-[12px] md:text-[13px] leading-4 md:leading-5 tracking-[-0.2px] md:tracking-[-0.3px]"),children:(0,c.Y)("ol",{className:"[&>li+li]:mt-1",children:r.map((function(n,e){return(0,c.FD)("li",{className:"list-item",children:[(0,c.FD)("span",{className:"inline-block w-4",children:[e+1,"."]}),(0,c.Y)("span",{children:n})]},"".concat(e+1,"-").concat(n))}))})})]})},Zn=function(n){var e=n.className,t=(0,P.A)().formatMessage;return(0,c.FD)("ul",{className:(0,cn.A)("[&>li+li]:mt-[6px] text-dark text-[13px] leading-5 tracking-[-0.3px]","[&>li]:flex [&>li>img]:w-4 [&>li>img]:h-4 [&>li>img]:mr-2 [&>li>img]:mt-[2px]","[&>li>span>strong]:text-red600 [&>li>span>strong]:font-semibold","[&>li>span>b]:font-semibold",e),children:[(0,c.FD)("li",{children:[(0,c.Y)("img",{src:"".concat(B.JpE,"/svg/payment_coint.svg"),alt:"hhg"}),(0,c.Y)("span",{dangerouslySetInnerHTML:{__html:t({id:"vaccination.detail.package.refund",defaultMessage:"Full Refund if cancelled within 10 days"})}})]}),(0,c.FD)("li",{children:[(0,c.Y)("img",{src:"".concat(B.JpE,"/svg/payment_check.svg"),alt:"hhg"}),(0,c.Y)("span",{dangerouslySetInnerHTML:{__html:t({id:"vaccination.detail.package.pay_only_10",defaultMessage:"Pay Only 10% to make a booking"})}})]}),(0,c.FD)("li",{children:[(0,c.Y)("img",{src:"".concat(B.JpE,"/svg/payment_check.svg"),alt:"hhg"}),(0,c.Y)("span",{dangerouslySetInnerHTML:{__html:t({id:"vaccination.detail.package.buy_now_or_later",defaultMessage:"OR Buy now\xa0pay later"})}})]})]})},Qn=function(n){var e=n.loading,t=n.vaccinePackage,i=n.style,o=n.className,l=n.bookingButtonProps,s=n.messageButtonProps,d=n.priceOff,u=n.onClickBook,p=n.onClickTalkToUs,h=(0,P.A)().formatMessage,m=t||{},f=m.currency,v=m.package_name,b=m.package_description,y=m.original_price,k=m.discounted_price,x=m.stock;return e?(0,c.FD)(Un.a,{className:(0,cn.A)(Gn,"w-full h-full flex flex-col gap-6 px-4 py-6","border border-solid border-[rgba(0,0,0,0.1)] rounded-xl min-w-[327px]",o),style:(0,a.A)({background:"radial-gradient(ellipse at bottom, #D1E6FF 10%, white 70%)",backgroundColor:"white"},i),children:[(0,c.FD)("div",{className:"".concat(Gn,"__body flex flex-col gap-y-5 flex-1 min-h-0 w-full"),children:[(0,c.Y)(g.E,{width:"100%",height:24}),(0,c.FD)("div",{children:[(0,c.Y)(g.E,{width:"40%",height:20}),(0,c.Y)(g.E,{width:"100%",height:12,mt:4}),(0,c.Y)(g.E,{width:"100%",height:12,mt:4}),(0,c.Y)(g.E,{width:"100%",height:12,mt:4})]}),(0,c.FD)("div",{children:[(0,c.Y)(g.E,{width:"50%",height:24}),(0,c.Y)(g.E,{width:"100%",height:16,mt:4})]}),(0,c.FD)("div",{children:[(0,c.Y)(g.E,{width:"100%",height:20}),(0,c.Y)(g.E,{width:"100%",height:20,mt:4}),(0,c.Y)(g.E,{width:"100%",height:20,mt:4})]})]}),(0,c.FD)("div",{className:"".concat(Gn,"__footer flex gap-3"),children:[(0,c.Y)(g.E,{width:"40%",height:44,className:"flex-1 min-w-0"}),(0,c.Y)(g.E,{width:"40%",height:44})]})]}):(0,c.FD)(Un.a,{className:(0,cn.A)(Gn,"w-full h-full flex flex-col gap-6 px-4 py-6","border border-solid border-[rgba(0,0,0,0.1)] rounded-xl",o),style:(0,a.A)({background:"radial-gradient(ellipse at bottom, #D1E6FF 10%, white 70%)",backgroundColor:"white"},i),children:[(0,c.FD)("div",{className:"".concat(Gn,"__body flex flex-col gap-y-5 flex-1 min-h-0"),children:[(0,c.Y)("p",{className:"".concat(Gn,"__title m-0 text-dark font-semibold text-[15px] leading-6 tracking-[-0.3px]"),children:v}),(0,c.Y)(Jn,{content:b}),(0,c.Y)(Wn,{originalPrice:y,discountedPrice:k,currency:f,priceOff:d}),(0,c.Y)(Zn,{})]}),(0,c.FD)("div",{className:"".concat(Gn,"__footer flex gap-3"),children:[(0,c.FD)(S.B,(0,r.A)((0,a.A)({size:"lg",onClick:u},l),{className:"btn-booking",sx:qn,children:[(0,c.Y)("strong",{className:"flex-1 min-w-0 line-clamp-1 overflow-ellipsis",children:h({id:"vaccination.detail.package.button.book",defaultMessage:"Book Now"})}),"\xa0",!!x&&(0,c.Y)("span",{children:"(".concat(h({id:"vaccination.detail.package.button.book_left",defaultMessage:"{number} Left"},{number:x}),")")})]})),(0,c.FD)(S.B,(0,r.A)((0,a.A)({size:"lg",onClick:p},s),{className:"btn-talk_to_us",sx:qn,children:[(0,c.Y)("img",{src:"".concat(B.JpE,"/svg/messenger_primary.svg"),alt:"hhg",className:"w-5 h-5 mr-2"}),h({id:"vaccination.detail.package.button.talk_to_us",defaultMessage:"Talk to Us"})]}))]})]})},$n=function(n){var e=n.loading,t=n.vaccinePackage,i=n.style,o=n.className,l=n.bookingButtonProps,s=n.messageButtonProps,d=n.priceOff,u=n.onClickBook,p=n.onClickTalkToUs,h=t||{},m=h.currency,f=h.package_name,v=h.package_description,b=h.original_price,y=h.discounted_price,k=h.stock,x=(0,P.A)().formatMessage;return e?(0,c.FD)(Un.a,{className:(0,cn.A)(Gn,"w-full h-full py-6 px-4","border-[0.7px] border-solid border-[rgba(0,0,0,0.1)] rounded-xl",o),style:(0,a.A)({background:"radial-gradient(138.53% 100% at 52.88% 100%, #D1E6FF 0%, white 60%)",backgroundColor:"white"},i),children:[(0,c.Y)(g.E,{width:"100%",height:24,mb:24}),(0,c.FD)("div",{className:"".concat(Gn,"_body-top mb-5 flex gap-4 [&>*]:flex-1 [&>*]:min-w-1/2"),children:[(0,c.FD)("div",{children:[(0,c.Y)(g.E,{width:"40%",height:24,mb:6}),(0,c.Y)(g.E,{width:"100%",height:20,mt:4}),(0,c.Y)(g.E,{width:"100%",height:20,mt:4}),(0,c.Y)(g.E,{width:"100%",height:20,mt:4})]}),(0,c.FD)("div",{className:"mt-[30px]",children:[(0,c.Y)(g.E,{width:"100%",height:20}),(0,c.Y)(g.E,{width:"100%",height:20,mt:4}),(0,c.Y)(g.E,{width:"100%",height:20,mt:4})]})]}),(0,c.FD)("div",{className:"".concat(Gn,"_body-bottom mb-6 flex gap-4"),children:[(0,c.Y)(g.E,{width:"20%",height:28}),(0,c.Y)(g.E,{width:"20%",height:20,mt:2})]}),(0,c.FD)("div",{className:"".concat(Gn,"__footer flex gap-3"),children:[(0,c.Y)(g.E,{width:"50%",height:48}),(0,c.Y)(g.E,{width:"20%",height:48})]})]}):(0,c.FD)(Un.a,{className:(0,cn.A)(Gn,"w-full h-full py-6 px-4","border-[0.7px] border-solid border-[rgba(0,0,0,0.1)] rounded-xl",o),style:(0,a.A)({background:"radial-gradient(138.53% 100% at 52.88% 100%, #D1E6FF 0%, white 60%)",backgroundColor:"white"},i),children:[(0,c.Y)("p",{className:"".concat(Gn,"__title mb-5 text-dark font-semibold text-[15px] leading-6 tracking-[-0.3px]"),children:f}),(0,c.FD)("div",{className:"".concat(Gn,"_body-top mb-5 flex gap-4 [&>*]:flex-1 [&>*]:min-w-1/2"),children:[(0,c.Y)(Jn,{content:v}),(0,c.Y)(Zn,{className:"mt-[30px]"})]}),(0,c.Y)("div",{className:"".concat(Gn,"_body-bottom mb-6 flex gap-4"),children:(0,c.Y)(Wn,{originalPrice:b,discountedPrice:y,currency:m,priceOff:d})}),(0,c.FD)("div",{className:"".concat(Gn,"__footer flex gap-4"),children:[(0,c.FD)(S.B,(0,r.A)((0,a.A)({size:"lg",onClick:u},l),{className:"btn-booking",sx:qn,children:[(0,c.Y)("strong",{className:"flex-1 min-w-0 line-clamp-1 overflow-ellipsis",children:x({id:"vaccination.detail.package.button.book",defaultMessage:"Book Now"})}),"\xa0",!!k&&(0,c.Y)("span",{children:"(".concat(x({id:"vaccination.detail.package.button.book_left",defaultMessage:"{number} Left"},{number:k}),")")})]})),(0,c.FD)(S.B,(0,r.A)((0,a.A)({size:"lg",onClick:p},s),{className:"btn-talk_to_us",sx:qn,children:[(0,c.Y)("img",{src:"".concat(B.JpE,"/svg/messenger_primary.svg"),alt:"hhg",className:"w-5 h-5 mr-2"}),x({id:"vaccination.detail.package.button.talk_to_us",defaultMessage:"Talk to Us"})]}))]})]})},Xn="vaccinationPackageSection",ne=function(n){var e=n.vaccinationDetail,t=n.loading,i=n.vaccinationPackages,l=(0,o.A)(n,["vaccinationDetail","loading","vaccinationPackages"]),d=(0,z.$)(),u=d.push,p=d.asPath,h=(0,D.d)().isMobile,g=(0,Bn.IL)({vaccinationDetail:e,vaccinationPackages:i}),m=g.loading,f=g.vaccinationPackages,v=t||m,b=(0,s.useCallback)((function(n){var t=n.pkgId,i=n.pkgName;u("".concat(window.location.origin).concat(B.JpE).concat((0,Hn.OP)(e.slug,e.id,p),"payment?pkg_name=").concat(i,"&pkg_id=").concat(t))}),[e.slug,e.id]);return h?(0,c.Y)(ee,(0,r.A)((0,a.A)({},l),{loading:v,vaccinationPackages:f,onClickBooking:b})):(0,c.Y)(te,(0,r.A)((0,a.A)({},l),{loading:v,vaccinationPackages:f,onClickBooking:b}))},ee=function(n){var e=n.loading,t=n.price_unit,i=n.vaccinationPackages,o=n.onClickBooking,l=n.className,s=n.style,d=(0,P.A)().formatMessage;return e?(0,c.FD)(Un.a,{className:(0,cn.A)("pb-5 bg-white",Xn,l),style:s,children:[(0,c.Y)("div",{className:"".concat(Xn,"__title_box p-4 pt-6"),children:(0,c.Y)(g.E,{width:"40%",height:24})}),(0,c.Y)("div",{className:"".concat(Xn,"__body"),children:(0,c.Y)(Vn.F,{containScroll:"trimSnaps",dragFree:!0,slideGap:8,slideSize:"auto",withControls:!1,styles:{viewport:{paddingInline:(0,R.D)(16)}},children:Array(4).fill(0).map((function(n,t){return(0,c.Y)(Vn.F.Slide,{className:"max-w-[340px]",children:(0,c.Y)(Kn,{loading:e})},"".concat(t))}))})})]}):(null===i||void 0===i?void 0:i.length)?(0,c.FD)(Un.a,{className:(0,cn.A)("pb-5 bg-white",Xn,l),style:s,children:[(0,c.Y)("div",{className:"".concat(Xn,"__title_box p-4 pt-6"),children:(0,c.Y)("h4",{className:"".concat(Xn,"__title m-0 font-semibold text-[17px] leading-6 tracking-[-0.4px] text-dark"),children:d({id:"vaccination.detail.package.section_title",defaultMessage:"Available Packages"})})}),(0,c.Y)("div",{className:"".concat(Xn,"__body"),children:(0,c.Y)(Vn.F,{containScroll:"trimSnaps",dragFree:!0,slideGap:8,slideSize:"auto",withControls:!1,styles:{viewport:{paddingInline:(0,R.D)(16)}},children:i.map((function(n){return(0,c.Y)(Vn.F.Slide,{className:"max-w-[340px]",children:(0,c.Y)(Kn,{loading:e,vaccinePackage:(0,r.A)((0,a.A)({},n),{price_unit:t}),onClickBooking:o})},"".concat(n.id))}))})})]}):null},te=function(n){var e=n.loading,t=n.price_unit,i=n.vaccinationPackages,o=n.onClickBooking,l=n.className,d=n.style,u=n.isShowCollapsed,p=void 0===u||u,h=(0,P.A)().formatMessage,m=(0,s.useState)(!0),f=m[0],v=m[1],b=(0,s.useMemo)((function(){var n=i||[];return p?n.slice(0,f?3:void 0):n}),[i,f,p]);return e?(0,c.FD)(Un.a,{className:(0,cn.A)("bg-white rounded-xl",Xn,l),style:d,children:[(0,c.Y)("div",{className:"".concat(Xn,"__title_box p-6 pb-4"),children:(0,c.Y)(g.E,{width:"40%",height:28})}),(0,c.Y)("div",{className:"".concat(Xn,"__body p-6 pt-0"),children:Array(3).fill(0).map((function(n,t){return(0,c.Y)(Kn,{loading:e},"".concat(t))}))})]}):(null===i||void 0===i?void 0:i.length)?(0,c.FD)(Un.a,{className:(0,cn.A)("bg-white rounded-xl",Xn,l),style:d,children:[(0,c.Y)("div",{className:"".concat(Xn,"__title_box p-6 pb-4"),children:(0,c.Y)("h4",{className:"".concat(Xn,"__title m-0 font-semibold text-[20px] leading-7 tracking-[-0.4px] text-dark"),children:h({id:"vaccination.detail.package.section_title",defaultMessage:"Available Packages"})})}),(0,c.Y)("div",{className:"".concat(Xn,"__body p-6 pt-0"),children:(0,c.FD)("div",{className:"".concat(Xn,"--wrapper flex flex-col gap-4"),children:[null===b||void 0===b?void 0:b.map((function(n){return(0,c.Y)(Kn,{loading:e,vaccinePackage:(0,r.A)((0,a.A)({},n),{price_unit:t}),onClickBooking:o},"".concat(n.id))})),p&&(null===i||void 0===i?void 0:i.length)>3&&(0,c.Y)("div",{className:"".concat(Xn,"--footer pt-5 pb-4 border-solid border-t border-t-neutral100"),children:(0,c.FD)(S.B,{variant:"ghost",onClick:function(){return v(!f)},sx:{padding:0,height:"auto","&:hover":{backgroundColor:"transparent"},".mantine-Button-label":{fontSize:15,fontWeight:400,lineHeight:"24px",letterSpacing:"-0.3px",display:"flex",alignItems:"center",gap:4}},children:[f&&(0,c.FD)(c.FK,{children:[h({id:"vaccination.detail.package.show_more",defaultMessage:"View all packages"}),(0,c.Y)(jn.A,{size:16,color:N.w.colors.primary500})]}),!f&&(0,c.FD)(c.FK,{children:[h({id:"vaccination.detail.package.show_less",defaultMessage:"Collapse"}),(0,c.Y)(Rn.A,{size:16,color:N.w.colors.primary500})]})]})})]})})]}):null};function ie(){var n=(0,j.A)(["\n .mantine-Modal-content {\n flex-basis: 736px;\n max-height: 600px;\n position: relative;\n display: flex;\n flex-direction: column;\n overflow: hidden;\n .mantine-Modal-header {\n position: absolute;\n top: 16px;\n right: 16px;\n width: 20px;\n height: 20px;\n padding: 0;\n border: none;\n > button {\n width: 100%;\n height: 100%;\n svg {\n width: 100% !important;\n height: 100% !important;\n }\n }\n }\n .mantine-Modal-body {\n padding: 0;\n display: flex;\n flex-direction: column;\n flex: 1;\n min-height: 0;\n\n .vaccinationPackageSection {\n height: 100%;\n display: flex;\n flex-direction: column;\n flex: 1;\n min-height: 0;\n\n .vaccinationPackageSection__title_box {\n padding-inline: 16px;\n .vaccinationPackageSection__title {\n font-size: 17px;\n line-height: 24px;\n }\n }\n\n .vaccinationPackageSection__body {\n flex: 1;\n min-height: 0;\n overflow: auto;\n padding-inline: 16px;\n &::-webkit-scrollbar {\n width: 6px;\n }\n\n &::-webkit-scrollbar-track {\n background-color: transparent;\n }\n\n &::-webkit-scrollbar-thumb {\n background-color: rgba(0, 0, 0, 0.4);\n border-radius: 6px;\n }\n }\n }\n }\n }\n"]);return ie=function(){return n},n}var ae={root:{width:"100%",paddingBlock:(0,R.D)(12)},label:{fontWeight:600}},re=function(n){var e=(0,P.A)().formatMessage,t=(0,z.$)(),i=t.push,l=t.asPath,d=n.vaccinationDetail,u=n.vaccinationPackages,p=n.enableBooking,h=n.onBooking,g=n.dataTracking,m=void 0===g?{}:g,f=(0,o.A)(n,["vaccinationDetail","vaccinationPackages","enableBooking","onBooking","dataTracking"]),v=(0,s.useState)(!1),b=v[0],y=v[1],k=(0,D.d)().isMobile,x=(0,c.Y)(A.T,{size:"p2",weight:"semiBold",color:"white",children:e({id:"homePage.bookNow",defaultMessage:"Book Now"})}),w="".concat(window.location.origin).concat(B.JpE).concat((0,Hn.OP)(d.slug,d.id,l),"payment"),C=function(){y(!1)},_=(0,s.useCallback)((function(){if(u&&1==(null===u||void 0===u?void 0:u.length)){var n=u[0],e=n.id,t=n.package_name,a="".concat(w,"?pkg_name=").concat(t,"&pkg_id=").concat(e);i(a)}else y(!0)}),[u]);return p?(0,c.Y)(Ln.B8,(0,r.A)((0,a.A)({size:"lg",styles:ae,onClick:h},m),{"data-testid":"book-now-button",id:"book-now-button-combo-package",className:"book-now-button",children:x})):(0,c.FD)(c.FK,{children:[(0,c.Y)(S.B,(0,r.A)((0,a.A)({size:"lg",onClick:_,styles:ae},m),{"data-testid":"book-now-button",children:x})),k&&(0,c.Y)(oe,(0,r.A)((0,a.A)({},f),{vaccinationDetail:d,vaccinationPackages:u,open:b,onClose:C})),!k&&(0,c.Y)(ce,(0,r.A)((0,a.A)({},f),{vaccinationDetail:d,vaccinationPackages:u,open:b,onClose:C}))]})},oe=function(n){var e=n.open,t=n.onClose,i=(0,o.A)(n,["open","onClose"]);return(0,c.Y)(Pn.D,{open:e,onClose:t,className:(0,cn.A)("!inset-x-0 !top-[unset] !bottom-0 !rounded-t-xl !z-[1000]","[&>[data-vaul-handle]]:my-4 [&>[data-vaul-handle]]:w-[44px] [&>[data-vaul-handle]]:h-[3px]"),overlayClassName:"!bg-[rgba(0,0,0,0.3)] !z-[999]",children:(0,c.Y)(ne,(0,a.A)({},i))})},le=(0,V.Ay)(On.M).withConfig({componentId:"sc-82285876-0"})(ie()),ce=function(n){var e=n.open,t=n.onClose,i=(0,o.A)(n,["open","onClose"]);return(0,c.Y)(le,{opened:e,onClose:t,title:null,children:(0,c.Y)(ne,(0,r.A)((0,a.A)({},i),{isShowCollapsed:!1}))})},se=t(12914),de=t(10333);function ue(){var n=(0,j.A)(["\n background-color: ","!important;\n border-color: ","!important;\n &.mantine-Button-root {\n border-radius: 12px;\n }\n"]);return ue=function(){return n},n}var pe,he,ge,me,fe=(0,V.Ay)(de.B).withConfig({componentId:"sc-126661fb-0"})(ue(),(function(n){return n.theme.colors.blue50}),(function(n){return n.theme.colors.blue100})),ve=t(95456);function be(){return be=Object.assign?Object.assign.bind():function(n){for(var e=1;eGet tips on how to keep yourself safe from {name} delivered directly to your ".concat(i)},{name:t,app:i,b:function(n){return(0,c.Y)("span",{className:"text-dark font-semibold leading-6",children:n})}})}),(0,c.Y)("div",{className:"relative w-[52px] h-[52px] flex-shrink-0",children:(0,c.Y)(ve.Y,{layout:"fill",src:"".concat(B.JpE,"/images/subscribeZalo.png"),quality:100,objectFit:"contain",alt:"Nh\u1eadn c\xe1c b\xed quy\u1ebft \u0111\u1ec3 b\u1ea3o v\u1ec7 b\u1ea3n th\xe2n v\u1edbi ".concat(t," qua ").concat(i," ngay!")})})]}),(0,c.Y)(fe,(0,r.A)((0,a.A)({color:"secondary",size:"lg",onClick:h,isBlock:!0},d),{"data-event-label":e,children:(0,c.FD)("div",{className:"inline-flex gap-3 items-center text-[15px] leading-6 font-semibold",children:[p,u({id:"common.subscribeNow",defaultMessage:"Subscribe Now"})]})}))]})}var we,Ae,Ce=t(55544),_e=t(77470),Me=t(60140),De=t(77639),Ye=t(89252),Ee=t(26754),Ne=t(86786),Se=t(37927),Fe=t(5792),Te=t(98554);function Ie(){return Ie=Object.assign?Object.assign.bind():function(n){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:"en";try{var t=new Intl.DisplayNames([e],{type:"region"}),i=t.of(n);if(i&&i!==n)return i}catch(a){console.log("\ud83d\ude80 ~ getCountryName ~ error:",a)}return qe.F[n]||n},at=t(61367);function rt(){return rt=Object.assign?Object.assign.bind():function(n){for(var e=1;e1}),tn=en.isOpen,an=en.initialSlide,rn=en.closeModal,on=en.openModalWithSlide,ln=en.handleOpenChange,cn=null===V||void 0===V?void 0:V.includes("hpv"),sn=S||{},dn=sn.avg_rating,un=sn.rating_count,pn=(0,nt.p)({offeringId:i.offering_id,hospital:i.organization,price:i.price,type:i.service_type,hospitalBranchIds:null===(e=i.hospital_branch_lists)||void 0===e?void 0:e.map((function(n){return n.id}))}),hn=pn.handleCopyVoucher,gn=pn.allVouchers,mn=pn.loading,fn=pn.referralTitle,vn=!(null===M||void 0===M?void 0:M.length),bn=(0,H.Kb)(J),yn=(0,s.useMemo)((function(){return(0,c.Y)(c.FK,{children:dn&&un&&(0,c.FD)(ft,{children:[dn.toFixed(1)," ",(0,c.Y)(d.t,{value:dn,readOnly:!0})]})})}),[dn,un]),kn=(0,s.useMemo)((function(){var n,e,t=[];return t.push({id:"age-group",title:vn?q({id:"vaccination.detail.allAge",defaultMessage:"All ages"}):(null===Y||void 0===Y?void 0:Y[0])||yt(q,null===i||void 0===i||null===(n=i.age_badges)||void 0===n?void 0:n.min_age,null===i||void 0===i||null===(e=i.age_badges)||void 0===e?void 0:e.max_age,!1),description:q({id:"vaccination.detail.text.ageGroup",defaultMessage:"Age group"})}),dn&&un&&t.push({id:"rating",title:Q?(0,c.FD)("div",{className:"flex items-center gap-1",children:[(0,c.Y)(kt.A,{}),(0,c.Y)("span",{children:dn})]}):(0,c.Y)("div",{className:"flex items-center gap-1",children:yn}),description:(0,c.FD)(A.T,{as:"a",href:"#top5-reviews",size:Q?"p3":"p2",color:N.w.colors.gray700,underline:Q,children:[un," ",q({id:"booking.search.tab.review",defaultMessage:"Reviews"})]})}),E&&t.push({id:"doses",title:(0,c.Y)("div",{children:E}),description:q({id:"vaccination.detail.text.doses",defaultMessage:"Doses"})}),t}),[dn,un,Q]),xn=(0,s.useMemo)((function(){return 2===kn.length&&Q?{layout:"two-item-horizontal",align:"center"}:!Q&&kn.length<=3?{layout:"horizontal",align:"start"}:{layout:"vertical",align:"start"}}),[kn,Q]),wn={id:v,description:b,inject_schedule:y,banner:Q?Z?m.__:x:void 0,logo:Z?m.__:w,altText:"".concat(I||""," - ").concat(B.ElQ[W].SITE_NAME_FORMATTED)},An=(0,c.Y)(A.T,{size:"h3",fw:600,color:"gray1000",as:"h1",children:I}),Cn=Q&&cn&&W===h.L.Malaysia&&$;return(0,c.FD)(d.G,{isMobile:Q,generalInfo:(0,r.A)((0,a.A)({},wn),{name:(0,c.FD)(c.FK,{children:[Q&&(0,c.Y)(c.FK,{children:(0,c.Y)(tt(),{href:"".concat((0,H.WZ)(B.Hxq.VACCINE,W,"")),children:(0,c.Y)(A.T,{size:"c1",color:"gray700",fw:600,children:q({id:"detailPage.breadcrumbs.vaccinations",defaultMessage:"Vaccination"})})})}),R?(0,c.FD)("div",{className:"flex justify-between relative items-start gap-4",children:[An,W!==h.L.Malaysia&&(0,c.Y)(Je,{image:Ke.C.getAssetPath((0,qe.v)(R)),country:it(R,W),className:k()(Q&&"absolute right-0 top-[-80px] bg-white size-fit px-1 rounded z-10")})]}):An]})}),backupSrc:m.__,contentClassName:"space-y-6 md:space-y-6",bannerProps:{className:"md:!object-contain",unoptimized:Z,width:Q?void 0:336},imageCarousel:X,onCarouselImageClick:on,children:[(0,c.Y)(mt,{layout:xn.layout,align:xn.align,infoItems:kn}),(0,c.FD)("div",{className:"space-y-3 md:space-y-5",children:[(0,c.Y)(We.c,{color:N.w.colors.neutral100}),(0,c.Y)("div",{className:"flex flex-col gap-6",children:(0,c.Y)(Ze.A,{totalBranches:(null===(t=i.hospital_branch_lists)||void 0===t?void 0:t.length)||0,organization:i.organization})})]}),mn?(0,c.Y)(vt.S,{withControls:!Q,height:68,children:Array.from({length:3}).map((function(n,e){return(0,c.Y)(g.E,{w:308,h:68,radius:8,bg:N.w.colors.neutral100},"skeleton-voucher-".concat(e))}))}):gn.length>0&&(0,c.Y)(vt.S,{withControls:!Q,height:68,children:gn.map((function(n){var e=n.id,t=n.logo,o=n.name,l=n.voucherCode,s=n.type,d=n.brand,u=n.description,p=s===Hn.O7.VOUCHER?"".concat(o," - ").concat(u):fn(n),h=s===Hn.O7.REFERRAL,g=h?(0,L.yz)((0,r.A)((0,a.A)({},L.Yh.selectReferralVoucherDetail),{"data-event-label":bn}),i.id):(0,r.A)((0,a.A)({},L.Yh.selectVoucher),{"data-event-label":o||e});return(0,c.Y)($e.s,{image:Hn.uY[d]||t||m.__,title:p,onClick:function(){return l&&hn(l)},dataTracking:g,className:k()("max-w-[243px] h-[64px]",{"!cursor-default":h})},e)}))}),(0,c.FD)("div",{className:"hidden md:flex flex-col gap-4",children:[(0,c.Y)(at.n,{price:C,priceDiscount:F||0,percentDiscount:T,priceUnit:_,textUnit:"COMBO"!==j?q({id:"vaccination.detail.perDose",defaultMessage:"per dose"}):void 0,showFrom:!1}),o]}),f&&(0,c.FD)(c.FK,{children:[(0,c.Y)(We.c,{color:N.w.colors.neutral100}),(0,c.Y)(Qe.A,{})]}),Cn&&(0,c.Y)(p.I,(0,a.A)({src:"".concat(B.JpE,"/images/mobileHPVBannerDetailMY.png"),alt:"Worried about HPV?",width:767,height:144,onClick:function(){return(0,O.HB)(H._s)},"data-testid":"mobile-hpv-banner-my"},L.Yh.messageBannerHPVDetail)),(0,c.Y)(d.M,{generalInfo:(0,r.A)((0,a.A)({},wn),{name:I}),isMobile:Q,isOpen:tn,backupSrc:m.__,onClose:rn,onOpenChange:ln,initialSlide:an,imageCarousel:X,title:q({id:"detailPage.title.productGallery",defaultMessage:"Product Gallery"})})]})};function wt(){var n=(0,j.A)(["\n color: #111111;\n .txt-body-1 {\n font-size: 0.8125rem;\n line-height: 1.25rem;\n }\n .txt-body-2 {\n font-size: 0.9375rem;\n line-height: 1.5rem;\n }\n"]);return wt=function(){return n},n}V.Ay.div.withConfig({componentId:"sc-ff98185d-0"})(wt());var At,Ct,_t,Mt=t(10699);function Dt(){return Dt=Object.assign?Object.assign.bind():function(n){for(var e=1;e img {\n height: auto;\n aspect-ratio: 109/64;\n }\n }\n"]);return It=function(){return n},n}V.Ay.div.withConfig({componentId:"sc-1edf7c51-0"})(Tt(),(function(n){return n.theme.colors.gray700}),(function(n){return n.theme.colors.gray800}),(function(n){return n.theme.colors.gray800})),(0,V.Ay)(Ft.X).withConfig({componentId:"sc-1edf7c51-1"})(It(),(function(n){return n.theme.colors.neutral100}));var zt=t(40568),Bt=t(28414);function Pt(){var n=(0,j.A)(["\n font-size: 0.8125rem;\n line-height: 1.25rem;\n color: ",";\n\n ul {\n padding-left: 12px;\n &:not(:last-child) {\n margin-bottom: 10px;\n }\n }\n\n li:not(:has(ul)) {\n list-style-position: outside;\n list-style-type: disc;\n &:not(:last-child) {\n margin-bottom: 10px;\n }\n }\n\n li > ul {\n padding-left: 20px;\n }\n\n p:not(:last-child) {\n margin-bottom: 15px;\n }\n"]);return Pt=function(){return n},n}function Ot(){var n=(0,j.A)(["\n ","\n"]);return Ot=function(){return n},n}function Lt(){var n=(0,j.A)(["\n ","\n"]);return Lt=function(){return n},n}function Ht(){var n=(0,j.A)(["\n .title {\n font-size: 0.9375rem;\n line-height: 1.25rem;\n font-weight: 500;\n }\n"]);return Ht=function(){return n},n}var jt=(0,V.AH)(Pt(),(function(n){return n.theme.colors.gray700})),Rt=((0,V.Ay)(Bt.A).withConfig({componentId:"sc-e5b041f5-0"})(Ot(),jt),V.Ay.div.withConfig({componentId:"sc-e5b041f5-1"})(Lt(),jt)),Vt=V.Ay.div.withConfig({componentId:"sc-e5b041f5-2"})(Ht());function Ut(n){var e,t,i=n.vaccinationDetail,a=(0,P.A)().formatMessage,r=(0,D.d)().isMobile,o=(0,z.$)().locale,l=i.combo_listing,d=i.items_included,u=!!(null===l||void 0===l?void 0:l.length)&&o===h.L.Vietnam,p=(0,s.useMemo)((function(){return(0,O.t2)(l||[])}),[l]),g=p.resultData,m=void 0===g?{}:g,f=p.sortedList,v=void 0===f?[]:f,b=[{id:"vaccination.detail.about",defaultMessage:"About the Vaccine",htmlContent:i.about},{id:"vaccination.detail.preparation",defaultMessage:"Preparation",htmlContent:i.preparation},{id:"detailPage.vaccinationInfo.injectSchedule",defaultMessage:"Inject Schedule",htmlContent:i.inject_schedule,isHidden:o!==h.L.Vietnam},{id:"vaccination.detail.otherDetails",defaultMessage:"Other details",htmlContent:i.detail,isHidden:o===h.L.Vietnam},{id:"vaccination.detail.comboNote",defaultMessage:"Combo Note",htmlContent:i.product_note}],y=(0,s.useCallback)((function(){return v.map((function(n){var e=(0,O.$p)(n),t=m[n],i=Object.entries(t),o=Object.values(t||{}).some((function(n){return n.length>1}));return(0,c.FD)(A.T,{as:"div",size:r?"p3":"p2",className:"mb-2.5 last:mb-0",children:[!!e&&(0,c.FD)("div",{className:"mb-2.5",children:[a({id:"vaccination.detail.ageMonth",defaultMessage:"Vaccines for {age}-month-olds"},{age:e}),":"]}),(0,c.Y)("div",{className:"ml-2.5",children:o?i.map((function(n){var e=(0,zt.A)(n,2),t=e[0],i=e[1];return(0,c.FD)("ul",{children:[(0,c.Y)("li",{children:t}),(0,c.Y)("li",{className:"list-none",children:(0,c.Y)("ul",{children:i.map((function(n){return(0,c.FD)("li",{children:[a({id:"common.doses",defaultMessage:"{number} doses"},{number:n.doses?(0,O.Hg)(n.doses):0}),": ",n.name]},n.name)}))})})]},t)})):(0,c.Y)("ul",{children:i.map((function(n){var e=(0,zt.A)(n,2);e[0];return e[1].map((function(n){return(0,c.FD)("li",{children:[a({id:"common.doses",defaultMessage:"{number} doses"},{number:n.doses?(0,O.Hg)(n.doses):0}),": ",n.name]},n.name)}))}))})})]},n)}))}),[l,r]),k=function(n,e,t){return(0,c.FD)("div",{className:"border-b border-b-neutral100 last:border-b-0 border-solid first:pt-0 py-5 space-y-4",children:[(0,c.Y)(A.T,{size:r?"title2":"title1",fw:500,color:"gray1000",as:"h3",children:a({id:e.id,defaultMessage:e.defaultMessage})}),t]},n)},x=function(n){return(null!==n&&void 0!==n?n:"").replace(/<[^>]*>/g,"").replace(/ /g,"").trim().length>0};return(0,c.FD)(Vt,{className:"px-4 pb-4 md:px-6",children:[x(d)&&k("vaccination.detail.itemIncluded",{id:"vaccination.detail.itemIncluded",defaultMessage:"Items included"},(0,c.Y)(F.U,{className:"md:!text-[15px] md:!leading-6",htmlContent:d})),u&&k("vaccination.detail.aboutCombo",{id:"vaccination.detail.aboutCombo",defaultMessage:"About the combo (Vaccine list)"},(0,c.Y)(Rt,{className:"md:!text-[15px] md:!leading-6",children:y()})),b.filter((function(n){return!n.isHidden&&x(n.htmlContent)})).map((function(n){return k(n.id,{id:n.id,defaultMessage:n.defaultMessage},(0,c.Y)(F.U,{className:"md:!text-[15px] md:!leading-6",htmlContent:n.htmlContent}))})),(0,c.Y)("div",{className:"border-b border-b-neutral100 last:border-b-0 border-solid pt-5 space-y-4",children:(0,c.Y)(A.T,{size:r?"p3":"p2",color:"gray700",fw:400,italic:!0,children:a({id:"vaccination.detail.referenceInfo",defaultMessage:"Th\xf4ng tin \u0111\u01b0\u1ee3c cung c\u1ea5p b\u1edfi {name}."},{name:(null===(e=i.hospital_branch)||void 0===e?void 0:e.short_name)||(null===(t=i.hospital_branch)||void 0===t?void 0:t.name)})})})]})}var Gt=t(89394);function qt(n){var e,t,i=n.vaccinationDetail,m=n.refetchVaccinationDetail,y=n.faqsResult,A=(0,D.d)().isMobile,C=(0,P.A)().formatMessage,Y=(0,Ee.HO)().gps,E=(0,z.$)(),N=E.locale,S=E.asPath,F=(0,s.useState)(!1),T=F[0],I=F[1],j=(0,M.J3)().openPopupOrganization,R=(0,nn.useAppContext)().state.featureFlags.enableChatWithDoctor,V=(0,s.useState)(""),U=V[0],G=V[1];(0,s.useEffect)((function(){G((0,H.Kb)(S))}),[]);var q=y||{},K=q.faq,W=void 0===K?[]:K,J=q.related_article,Z=(0,s.useRef)(null),Q=(0,s.useRef)({}),ln=(0,s.useCallback)((function(n){return function(e){Q.current[n]=e}}),[]),cn=(0,Fe.o)(),sn=cn.openModal,dn=cn.closeModal,un=cn.opened,pn=(0,Bn.IL)({vaccinationDetail:i}),hn=pn.loading,mn=pn.vaccinationPackages,fn=(0,on.qP)(),vn=fn.enableBooking,bn=fn.getEnableBooking,yn=(0,en.Y)({id:i.id}),kn=yn.doctorQuotes,xn=yn.loading,wn=yn.handleLoadMore,An=yn.pagination,Cn=(0,s.useMemo)((function(){var n,e,t;return(null===(t=(0,Ye.Yf)(null===Y||void 0===Y?void 0:Y.lat,null===Y||void 0===Y?void 0:Y.lng,null===(n=i.hospital_branch)||void 0===n?void 0:n.latitude,null===(e=i.hospital_branch)||void 0===e?void 0:e.longitude))||void 0===t?void 0:t.toFixed(1))||""}),[Y]),_n=i.id,Mn=i.price,Dn=i.price_discount,Yn=i.percent_discount,En=i.price_unit,Pn=i.status,On=i.top5_reviews,Ln=i.display_name,Hn=i.vaccine_type,jn=i.package,Rn=i.list_data_for_upselling,Vn=i.upselling_intro,Un=i.offering_id,Gn=null===Hn||void 0===Hn?void 0:Hn.includes("hpv"),qn=jn===B._Be.COMBO,Kn=jn===B._Be.STANDALONE&&!!(null===Rn||void 0===Rn?void 0:Rn.length)&&vn,Wn=(0,s.useMemo)((function(){var n={id:"related-articles",title:"page.detail.relatedArticles",defaultMessage:"Related Articles",icon:(0,c.Y)(c.FK,{}),renderContent:function(){return(0,c.Y)(Ne.x,{listArticle:J||[]})},isHidden:!Gt.QA.includes(N)||!J},e={id:"top5-reviews",title:"vaccination.detail.text.rating",defaultMessage:"Reviews",icon:(0,c.Y)(d.z,{}),renderContent:function(){return(0,c.Y)(Te.A,{refetchList:m,userReviews:On,vaccinationDetail:i,onViewAll:sn,trackerMap:L.Yh})},isHidden:!Gt.iO.includes(N)};return A?[e,n]:[n,e]}),[A,i]),Jn=(0,s.useMemo)((function(){var n,e,t,a,r;return[{id:"doctor-quotes",title:"vaccination.detail.doctorQuotes",defaultMessage:"What doctors are saying",icon:(0,c.Y)(c.FK,{}),renderContent:function(){return(0,c.Y)("div",{className:"px-4 md:px-6 pb-4 md:pb-6",children:(0,c.Y)(x.C,{doctorQuotes:kn,loading:xn,handleLoadMore:wn,pagination:An})})},isHidden:!(null===kn||void 0===kn?void 0:kn.length)},{id:"more-packages",title:"vaccination.detail.morePackages",defaultMessage:"Save more with these packages",icon:(0,c.Y)(c.FK,{}),renderContent:function(){return(0,c.Y)($,{comboListing:Rn,upSellIntro:Vn})},isHidden:!Kn},{id:"detail-info",title:qn?"vaccination.detail.infoCombo":"vaccination.detail.info",defaultMessage:qn?"Details Combo Information":"Details Vaccine Information",icon:(0,c.Y)(Nn,{}),renderContent:function(n){return(0,c.Y)(Ut,{vaccinationDetail:n})},isHidden:!(i.about||i.detail||i.preparation||qn||qn&&i.product_note)},{id:"hospital-info",title:"vaccination.detail.clinic",defaultMessage:"Clinic Info",icon:(0,c.Y)(c.FK,{}),renderContent:function(n){return(0,c.Y)(X.A,{className:"px-4 md:px-6 pb-5 md:pb-6 md:pt-3",organization:n.organization,hospitalBranches:n.hospital_branch_lists})}},{id:"insurance-info",title:"vaccination.detail.insuranceInfo",defaultMessage:"Insurance & Financing Information",icon:(0,c.Y)(Sn,{}),renderContent:function(n){return(0,c.Y)(zn,{id:"insurance-info",children:(0,c.Y)(u.c,{isMobile:A,hospitalInfo:n.hospital_branch})})},isHidden:!((null===(n=i.hospital_branch)||void 0===n||null===(e=n.insurances)||void 0===e?void 0:e.length)||(null===i||void 0===i||null===(t=i.hospital_branch)||void 0===t||null===(a=t.accepted_payments)||void 0===a?void 0:a.length))},{id:"faqs",title:"page.detail.faqs",defaultMessage:"Frequently Asked Questions",icon:(0,c.Y)(c.FK,{}),renderContent:function(){return(0,c.Y)(Me.A,{data:W||[]})},isHidden:!Gt.$z.includes(N)||!(null===W||void 0===W?void 0:W.length)}].concat((0,l.A)(Wn),[{id:"cross-selling",title:"hospitalService.detail.crossSelling",defaultMessage:"Recommended Services",icon:(0,c.Y)(c.FK,{}),renderContent:function(n){return(0,c.Y)(w.q,{crossSellingData:null===n||void 0===n?void 0:n.list_data_for_crossselling})},isHidden:!(null===i||void 0===i||null===(r=i.list_data_for_crossselling)||void 0===r?void 0:r.length)}])}),[i,null===Y||void 0===Y?void 0:Y.lat,null===Y||void 0===Y?void 0:Y.lng,N,A,Kn,kn,xn]),Zn=(0,s.useMemo)((function(){return Jn.filter((function(n){return!n.isHidden&&n.id})).map((function(n){return{ref:{get current(){return Q.current[n.id||""]}},id:n.id||"",title:n.title,defaultMessage:n.defaultMessage}}))}),[Jn]),Qn=(0,tn.y)({sectionRefs:Zn,formatMessage:C,firstSectionOffset:A?20:100}),$n=Qn.sections,Xn=Qn.scrollToSection,ne=Qn.showFixedScroll,ee=(0,s.useCallback)((function(){return Jn.filter((function(n){return!n.isHidden})).map((function(n,e){var t;return(0,c.FD)("div",{ref:ln(n.id||""),children:[(0,c.Y)(In,{id:n.id||"",icon:n.icon,title:C({id:n.title,defaultMessage:n.defaultMessage}),haveCollapse:!1,className:"md:rounded-2xl",children:n.renderContent(i)}),"detail-info"===n.id&&A&&(0,c.Y)("div",{className:"mt-3",children:(0,c.Y)(xe,{name:Ln,subscribeLink:null===(t=on.UW[N])||void 0===t?void 0:t.subscribeLink,app:on.UW[N].app,onSubscribe:ae,dataTracking:L.Yh.subscribeTip})})]},e)}))}),[i,null===Y||void 0===Y?void 0:Y.lat,null===Y||void 0===Y?void 0:Y.lng,Jn,A,ln,C]),te=function(n){var e=n.callingCode,t=n.countryCode,i=n.phone;return f.F.collectionSubmitCTA({area_code:e,country_code:t,cta_text:C({id:"common.contactVia",defaultMessage:"Contact {name}"},{name:v.so.Zalo}),phone_number:i,source_url:window.location.href,messaging_app:v.so.Zalo})},ie=function(n){I(n)},ae=function(){ie(!0)},oe=(0,_e.F)(B.Hxq.VACCINE,N),le=oe.link,ce=(0,o.A)(oe,["link"]),de=(0,s.useCallback)((function(n){return hn?(0,c.Y)(g.E,{width:"100%",height:48}):mn.length||vn?(0,c.Y)(re,{onBooking:j,loading:hn,enableBooking:vn,vaccinationDetail:i,vaccinationPackages:mn,dataTracking:(0,L.yz)((0,r.A)((0,a.A)({},n),{"data-event-label":U}),_n)}):(0,c.Y)(Ce.b,{link:le,dataTracking:(0,L.yz)(ce,_n),locale:N,isPrimary:!(Boolean(mn.length)||vn),className:"w-full"})}),[mn,vn,hn]),ue=(0,s.useMemo)((function(){return de(L.Yh.clickBookNow)}),[de]),pe=(0,s.useMemo)((function(){return de(L.Yh.clickBookNowHeader)}),[de]),he=(0,an.D)({locale:N,productKey:String(Un)||""}).badge;return(0,s.useEffect)((function(){m()}),[]),(0,s.useEffect)((function(){var n;bn({hospital_id:null===i||void 0===i||null===(n=i.organization)||void 0===n?void 0:n.id,product_type:b.jG[B.Hxq.VACCINE]})}),[null===i||void 0===i||null===(e=i.organization)||void 0===e?void 0:e.id]),(0,c.FD)(rn.Ue,{value:{isOpenPopupCollection:T,setIsOpenPopupCollection:I},children:[(0,c.FD)("div",{className:"space-y-3 md:space-y-4",children:[A&&(0,c.Y)(Fe.A,{data:i,onClose:dn,opened:un,refetchList:m,trackerMap:L.Yh}),(0,c.Y)("div",{ref:Z,children:(0,c.Y)(xt,{vaccinationDetail:i,distance:Cn,buttonUi:(0,c.FD)("div",{children:[(0,c.FD)("div",{className:"flex gap-3.5",children:[(0,c.Y)("div",{className:"w-fit min-w-[203px]",children:ue}),(!!mn.length||vn)&&(0,c.Y)("div",{className:"w-fit",children:(0,c.Y)(Ce.b,{dataTracking:(0,L.yz)(ce,_n),link:le,isPrimary:!(Boolean(mn.length)||vn),locale:N,className:"w-full"})})]}),he&&(0,c.Y)(se.A,{className:"mt-2",textProps:{size:"p3",weight:"semiBold"},type:he.type,value:he.value})]}),showPaymentHighlight:!!mn.length||!!vn})}),N===h.L.Vietnam&&A&&(0,c.FD)("div",{className:"flex flex-col gap-4 bg-white px-4 pb-6 !mt-0",children:[(0,c.Y)(p.I,{src:"".concat(B.JpE,"/images/referral-banner-mobile.png"),alt:"Gi\u1edbi thi\u1ec7u & nh\u1eadn qu\xe0",width:767,height:110,onClick:function(){return(0,O.HB)(H.OW)},className:"referral-banner-mobile cursor-pointer","data-testid":"referral-banner-mobile"}),(0,c.Y)(d.H,{onClick:function(){return(0,O.HB)(H.dZ)},image:"".concat(B.JpE,"/images/hpv-screener.png")||0,className:"hpv-mobile"})]}),(0,c.FD)("div",{className:"md:flex md:gap-4",children:[(0,c.Y)("div",{className:"space-y-3 md:space-y-4 md:max-w-[calc(100%-376px)]",children:ee()}),(0,c.Y)("div",{className:"flex flex-col gap-4 md:w-[360px] sticky top-[calc(100px+24px)] md:self-start",children:!A&&(0,c.FD)(c.FK,{children:[N===h.L.Malaysia&&Gn&&R&&(0,c.Y)(p.I,(0,a.A)({src:"".concat(B.JpE,"/images/mobileHPVBannerDetailMY.png"),alt:"Worried about HPV?",width:360,height:144,onClick:function(){return(0,O.HB)(H._s)},className:"cursor-pointer","data-testid":"desktop-hpv-banner-my"},L.Yh.messageBannerHPVDetail)),N===h.L.Vietnam&&(0,c.FD)(c.FK,{children:[(0,c.Y)(p.I,{src:"".concat(B.JpE,"/images/referral-banner-desktop.png"),alt:"Gi\u1edbi thi\u1ec7u & nh\u1eadn qu\xe0",width:360,height:110,onClick:function(){return(0,O.HB)(H.OW)},className:"referral-banner-desktop cursor-pointer","data-testid":"referral-banner-desktop"}),(0,c.Y)(Tn,{onClick:function(){return(0,O.HB)(H.dZ)},image:"".concat(B.JpE,"/images/hpv-screener.png")||0,className:"hpv-mobile hpv"})]}),(0,c.Y)(xe,{name:Ln,subscribeLink:null===(t=on.UW[N])||void 0===t?void 0:t.subscribeLink,app:on.UW[N].app,onSubscribe:ae,dataTracking:L.Yh.subscribeTip})]})})]}),(0,c.Y)(Fn,{hidden:!0,children:(0,c.FD)("div",{className:"py-3 px-4 space-y-2 w-full",children:[he&&(0,c.Y)(se.A,{textProps:{size:"p3",weight:"semiBold"},type:he.type,value:null===he||void 0===he?void 0:he.value}),(0,c.FD)("div",{className:"flex justify-between gap-2 w-full",children:[(0,c.Y)(gn,{status:Pn,price:Mn||0,priceDiscount:Dn||0,percentDiscount:Yn||null,priceUnit:En,isPerDose:!qn}),(0,c.Y)("div",{className:"flex-auto max-w-[203px]",children:ue})]})]})}),(0,c.Y)(u.P,{onOpenChange:ie,isOpen:T,isMobile:A,onSubmit:te}),(0,c.Y)(_.A,{}),(0,c.Y)(De.k,{data:i,sections:$n,isDisappear:ne,renderButton:pe,onScrollToSection:Xn,urgencyBadge:he})]}),A&&(!!mn.length||!!vn)&&(0,c.Y)("div",{className:k()({"[&>div]:!bottom-[88px]":A&&!he,"[&>div]:!bottom-[116px]":A&&he}),children:(0,c.Y)(Se.m,{locale:N,isMobile:A,handleSubmitCTA:te})})]})}var Kt,Wt,Jt=t(858),Zt=t(83776),Qt=t(27516),$t=t(94886),Xt=t.n($t),ni=t(19475),ei=t(21861),ti=t(16381),ii=t(28333),ai=t(25683),ri=t(42258),oi=t(14739),li=(0,q.A)("div",{target:"ea5n9y50"})("height:inherit;width:inherit;.hpv-screener-container{display:flex;flex-direction:column;justify-content:center;padding:1rem ",(0,R.D)(22)," 1rem ",(0,R.D)(32),";gap:8px;background:linear-gradient(\n 90deg,",N.w.colors.primary50," 0.57%,",N.w.colors.white," 91.53%\n );border-radius:1rem;border:1px solid ",N.w.colors.white,";width:100%;height:100%;}.hpv-screener-image{width:",(0,R.D)(200),";height:",(0,R.D)(200),";align-self:start;aspect-ratio:1/1;}.hpv-screener-content-box{display:flex;align-items:center;justify-content:space-between;gap:1rem;}.hpv-screener-button{&.mantine-Button-root{border-radius:12px;border:1px solid ",N.w.colors.blue100,";background-color:transparent;color:",N.w.colors.primaryBase,";padding:10px 16px;width:fit-content;height:",(0,R.D)(48),";&:hover{border:1px solid ",N.w.colors.blue100,";background-color:",N.w.colors.blue50,";}}}.hpv-screener-content{display:flex;flex-direction:column;justify-content:flex-start;gap:1rem;}.hpv-screener-badge{&.mantine-Badge-root{background-color:",N.w.colors.white,";}line-height:1rem;color:",N.w.colors.gray1000,";align-self:flex-start;height:",(0,R.D)(36),";border-radius:",(0,R.D)(99),";padding:8px 16px;display:inline-flex;align-items:center;}"),ci=(0,q.A)("div",{target:"ea5n9y52"})("text-transform:uppercase;display:flex;align-items:center;gap:4px;"),si=(0,q.A)("div",{target:"ea5n9y54"})("display:flex;align-items:center;gap:1rem;"),di=(0,q.A)("div",{target:"ea5n9y55"})("font-weight:600;font-size:0.9375rem;color:",N.w.colors.primaryBase,";"),ui=t(91177);function pi(){return pi=Object.assign?Object.assign.bind():function(n){for(var e=1;e0&&(0,c.Y)(vt.S,{withControls:!J,height:40,children:dn.map((function(n){var e=n.id,t=n.name,i=n.brand,o=n.logo,l=n.description,s=n.type,d=s===Hn.O7.VOUCHER?"".concat(t," - ").concat(l):pn(n),u=s===Hn.O7.REFERRAL,p=_i(mn),h=u?(0,L.yz)((0,r.A)((0,a.A)({},L.Yh.selectReferralVoucherListing),{"data-event-label":p}),on):(0,r.A)((0,a.A)({},L.Yh.clickVoucher),{"data-event-label":"".concat(on,"^").concat(t||e,"^").concat(p)});return(0,c.Y)(Di,{href:mn,onClick:kn,children:(0,c.Y)(Ai.Vr,{dataTracking:h,image:Hn.uY[i]||o||m.__,title:d,className:k()("max-w-[300px] h-10 !p-2 relative z-2"),classes:{title:{lineClamp:1}}})},e)}))}),!!(null===E||void 0===E?void 0:E.length)&&(0,c.FD)(c.FK,{children:[(0,c.Y)(We.c,{color:N.w.colors.neutral100}),(0,c.FD)("div",{className:"flex flex-col gap-4 md:flex-row md:items-center md:justify-between -mt-[4px]",children:[(0,c.Y)(tt(),{href:vn,passHref:!0,legacyBehavior:!0,children:(0,c.Y)("a",(0,r.A)((0,a.A)({},(0,L.yz)((0,r.A)((0,a.A)({},L.Yh.selectProductItemBranch),{"data-event-label":en}),on)),{onClick:kn,children:(0,c.Y)(Ci.F,{hospitalBranch:{name:(null===rn||void 0===rn?void 0:rn.name)||"",short_name:null===rn||void 0===rn?void 0:rn.short_name},organization:O,distance:yn,totalBranches:fn})}))}),Q===h.L.Malaysia&&(0,c.Y)(Ai.gH,{dataTracking:(0,L.yz)((0,r.A)((0,a.A)({},L.Yh.buyVia),{"data-event-action":"Bottom - Click Message to Whatsapp","data-event-label":H._s}),on),link:H._s,className:"listing-whatsapp-button"})]})]})]})})}Yi.Skeleton=Mi;var Ei=Yi,Ni=t(2787),Si=t(33843),Fi=function(n){var e=n.ageGroup,t=void 0===e?"":e,i=n.onSelect,a=(0,P.A)().formatMessage,r=(0,D.d)().isMobile,o=function(){return Ni.QX.map((function(n,e){var o=r?a({id:n.title.id,defaultMessage:n.title.defaultMessage}):a({id:n.title.id,defaultMessage:n.title.defaultMessage}).replace("
"," ");return(0,c.Y)(Si.s,{title:o,logo:n.logo,isActive:t===n.key,onClick:function(){return null===i||void 0===i?void 0:i(n.key)},type:"underline"},"age-group-".concat(e))}))};return(0,c.Y)(Un.a,{sx:{"& .title-collapse":{fontSize:(0,R.D)(15)}},children:r?(0,c.FD)(ln.C,{title:r?a({id:"vaccination.detail.text.ageGroup",defaultMessage:"Age Group"}):"",haveCollapse:!1,children:[" ",(0,c.Y)(ln.D,{gapItem:12,draggable:!1,dragFree:!1,sx:{"& .mantine-Carousel-viewport":{padding:"0 1rem"}},children:o()})]}):(0,c.Y)("div",{className:"flex gap-8 h-full mt-6",children:o()})})},Ti=function(n){var e,t=n.className,i=n.bannerList,a=(0,D.d)().isMobile;return(0,c.Y)("div",{className:t,children:(0,c.Y)(Vn.F,{withControls:!1,withIndicators:(null!==(e=null===i||void 0===i?void 0:i.length)&&void 0!==e?e:0)>1,slideGap:10,containScroll:"trimSnaps",height:a?"fit-content":(0,R.D)(232),sx:{"& .mantine-Carousel-container":{display:"flex",alignItems:"center"},marginBottom:(0,R.D)(21),"& .mantine-Carousel-indicators":{bottom:a?(0,R.D)(-20):"1rem",left:a?"0":"unset",right:a?"0":"1rem",backgroundColor:a?"transparent":N.w.colors.white,padding:"2px 4px",borderRadius:(0,R.D)(80),gap:(0,R.D)(4)},"& .mantine-Carousel-indicator":{width:(0,R.D)(5),height:(0,R.D)(5),borderRadius:"50%",backgroundColor:"gray","&[data-active]":{backgroundColor:"black"}}},children:null===i||void 0===i?void 0:i.map((function(n){return(0,c.Y)(Vn.F.Slide,{style:{height:"100%"},className:"flex justify-center items-center w-full",children:n.banner},n.id)}))})})},Ii=t(41211),zi=t(92343),Bi=t(28901),Pi=t(87783),Oi=t(94335),Li=t(6483),Hi=t(33077),ji=function(n){var e=n.filterAgeGroup,t=n.breadcrumbsPages,i=(0,P.A)().formatMessage,o=(0,z.$)().locale,l=(0,D.d)().isMobile,u=(0,nn.useAppContext)().state.featureFlags.enableChatWithDoctor,p=(0,d.u)(),h=p.total,m=p.handleUpdateFilter,f=p.filters,v=p.items,b=p.loading,y=(0,Ee.HO)(),x=y.handleOpen,w=y.geoLocationInfo,C=y.gps,_=y.geoPermission,M=y.isOpen,E=(0,s.useState)((function(){var n=f||{},e=n.by_popularity,t=n.top_price;return e?"by_popularity":t?"top_price":"by_relevance"})),S=E[0],F=E[1],T=(0,s.useState)(!1),I=T[0],O=T[1],H=(0,s.useState)(Pi.Ok[B.Hxq.VACCINE]),j=H[0],R=H[1],V=function(n){return function(){R(n),O(!0)}},U=(0,s.useMemo)((function(){var n=0,e=f||{},t=e.by_popularity,i=e.top_price,a=e.productType,r=e.age_group,o=e.hospital_ids;return(t||i)&&n++,r&&n++,a&&Array.isArray(a)&&a.length>0&&(n+=a.length),o&&Array.isArray(o)&&o.length>0&&(n+=o.length),n}),[f]),G=(0,s.useRef)(!0);(0,s.useEffect)((function(){if(("granted"!==_||w)&&!M&&_){var n,e,t;if(G.current)return void(G.current=!1);var i=(0,r.A)((0,a.A)({},f),{city_id:(null===w||void 0===w||null===(n=w.search)||void 0===n||null===(e=n.city)||void 0===e||null===(t=e.id)||void 0===t?void 0:t.toString())||""});(null===w||void 0===w?void 0:w.place_id)&&C?(i.latitude=+C.lat,i.longitude=+C.lng,i.city_id=""):(i.latitude="",i.longitude=""),m(i)}}),[_,null===w||void 0===w?void 0:w.city,null===w||void 0===w?void 0:w.place_id,null===w||void 0===w?void 0:w.district,null===C||void 0===C?void 0:C.lat,null===C||void 0===C?void 0:C.lng]);var q=!v.length&&!b,K=function(n){if("near_me"!==n){var e=(0,r.A)((0,a.A)({},f),(0,Y.A)({},n,Number(!f[n])));m(e)}else x()},W=(0,s.useMemo)((function(){var n=[];return mi.forEach((function(e){var t=e.id.includes("dr-wazir");if(e.isMobile===l&&e.locale===o){if(!u&&t)return;n.push(e)}})),n}),[o,l,u]);return(0,c.FD)("div",{children:[(0,c.Y)("div",{className:"md:mb-8 bg-white",style:{backgroundImage:l?"unset":"url(".concat(B.JpE,"/images/blurred-banner.png)")},children:(0,c.FD)(ni.mc,{isNewContainer:!0,children:[(0,c.FD)("div",{className:"flex w-full flex-col-reverse md:flex-col",children:[(0,c.Y)(ei.A,{className:"py-[10px] md:py-3",pages:t}),(0,c.Y)("div",{className:"py-3 md:hidden",children:(0,c.Y)(d.L.Search,(0,a.A)({placeholder:i({id:"vaccination.search.placeholder",defaultMessage:"Search vaccination or clinics"})},L.Yh.searchBox))})]}),W.length>0&&(0,c.Y)(Ti,{bannerList:W}),(0,c.Y)("div",{className:"-mx-4 md:mx-0",children:(0,c.Y)(Fi,{onSelect:function(n){n!==f.age_group?m({age_group:n,productType:[]}):m({age_group:"",productType:[]})},ageGroup:f.age_group})})]})}),(0,c.FD)(ni.mc,{isNewContainer:!0,className:"gap-6",children:[(0,c.FD)("div",{className:k()("-mx-4 mt-2.5 pb-12 md:mx-0 md:flex md:justify-between md:gap-6",{"bg-white":q&&l}),children:[(0,c.FD)("div",{className:"md:w-[320px] hidden md:flex md:flex-col md:gap-3",children:[(0,c.Y)("div",{className:"bg-white p-4 rounded-xl",children:(0,c.Y)(xi.Ee,(0,a.A)({placeholder:i({id:"vaccination.search.placeholder",defaultMessage:"Search vaccination or clinics"}),className:"input-desktop"},L.Yh.searchBox))}),(0,c.FD)("div",{className:"bg-white p-4 rounded-xl flex flex-col gap-8",children:[ki.dD.some((function(n){return n===o}))&&(0,c.Y)(ti.A,{onFilter:function(n){var e={by_relevance:0,by_popularity:0,top_price:0};e[n]=1;var t=(0,a.A)({},f,e);F(n),m(t)},isKeySelected:S}),(0,c.Y)(yi,{isDesktop:!0,activeFilter:null===e||void 0===e?void 0:e[f.age_group]}),(0,c.Y)(Oi.A,{className:"",serviceType:B.Hxq.VACCINE})]})]}),(0,c.FD)("div",{className:"md:flex md:flex-col md:flex-1",children:[(0,c.FD)("div",{className:"hidden md:block bg-white mb-3 md:rounded-xl md:px-6 md:py-4",children:[(0,c.Y)("div",{className:"mb-4",children:b?(0,c.Y)(g.E,{w:"20%",h:20}):(0,c.Y)(A.T,{size:"title1",color:"gray900",weight:"semiBold",as:"h2",children:i({id:"vaccination.search.total",defaultMessage:"{total} Vaccination"},{total:v.length&&h||0})})}),(0,c.Y)("div",{className:"flex justify-between",children:(0,c.Y)(ii.F,{name:"desktop",onFilter:K,isSelected:{near_me:Number(!!(null===w||void 0===w?void 0:w.place_id)),promo_available:f.promo_available},filterOptions:ai.B,serviceType:B.Hxq.VACCINE})})]}),(0,c.FD)("div",{className:"bg-white md:flex md:flex-col md:gap-3",children:[(0,c.Y)(yi,{className:"pb-[20px] md:hidden",activeFilter:null===e||void 0===e?void 0:e[f.age_group]}),(0,c.Y)("div",{className:"md:hidden flex pl-4 pr-4 pb-6 items-center",children:(0,c.Y)(ii.F,{name:"mobile",onFilter:K,isSelected:{near_me:Number(!!(null===w||void 0===w?void 0:w.place_id)),promo_available:null===f||void 0===f?void 0:f.promo_available},filterOptions:ai.B,serviceType:B.Hxq.VACCINE,onFilterClick:V(Pi.Xy.SORT),onHospitalClick:V(Pi.Xy.HOSPITAL),activeFilterCount:U})}),(0,c.Y)("div",{className:"md:hidden flex gap-[10px] items-center justify-between px-4 ",children:b?(0,c.Y)(g.E,{w:"20%",h:20}):(0,c.Y)(A.T,{size:"p3",color:N.w.colors.gray400,as:"h2",children:i({id:"vaccination.search.total",defaultMessage:"{total} Vaccination"},{total:v.length&&h||0})})})]}),(0,c.Y)(d.L.Content,{className:"space-y-3",customLoading:(0,c.FD)("div",{className:"space-y-3",children:[(0,c.Y)(Ei.Skeleton,{}),(0,c.Y)(Ei.Skeleton,{}),(0,c.Y)(Ei.Skeleton,{})]}),customEmpty:(0,c.FD)("div",{className:"flex flex-col gap-2 md:gap-4 items-center justify-start py-20 md:py-10 min-h-[50vh] md:bg-white md:rounded-lg md:h-full",children:[(0,c.Y)(Hi.A,{className:"w-[54px] h-[54px] md:hidden text-neutral50"}),(0,c.Y)(Li.A,{className:"hidden md:block md:w-48 md:h-[120px] text-neutral50"}),(0,c.Y)(A.T,{size:"p2",color:N.w.colors.gray400,className:"text-center",weight:"semiBold",children:i({id:"filter.noResults",defaultMessage:"No result"})})]}),children:(0,c.Y)(d.L.Item,{render:function(n,e){return(0,c.Y)("div",{children:(0,c.Y)(Ei,{gps:(null===w||void 0===w?void 0:w.place_id)?C:null,data:n,loading:e,trackerMap:L.Yh})})}})}),(0,c.Y)(d.L.LoadMore,(0,a.A)({renderLoadMore:function(n){var e=n.last;return(0,c.Y)("span",{className:"font-normal",children:i({id:"vaccination.search.loadmore",defaultMessage:"Load more {items} items"},{items:e})})}},L.Yh.loadMore))]})]}),(0,c.Y)(Ii.m,{locale:o,serviceType:B.Hxq.VACCINE,filter:null===f||void 0===f?void 0:f.productType[0]})]}),(0,c.Y)(zi.j,{trackerMap:L.Yh}),l&&(0,c.Y)(Bi.s,{isOpen:I,onClose:function(){return O(!1)},serviceType:B.Hxq.VACCINE,totalResults:h||0,defaultActiveCategory:j})]})},Ri=function(n){var e=n.initItems,t=void 0===e?[]:e,i=n.initPagination,o=n.filterAgeGroup,l=(0,z.$)().locale,u=(0,s.useRef)(null),p=(0,s.useState)(o||{infant:[],child:[],teen:[],adult:[],senior:[]}),h=p[0],g=p[1],m=(0,oi.Z)(ri.fP),f=m.state,v=m.setState,y=function(){var n=(0,Jt.A)((function(n){var e,t,i,o,c,s,d,p,h,m,f,y,k,x,w,A,C,_,M,D,Y,E,N,S;return(0,Zt.__generator)(this,(function(F){switch(F.label){case 0:e=n.page,t=n.pageSize,i=n.search,o=n.filters,c=void 0===o?{}:o,s=n.searchSession,u.current&&u.current.cancel("Operation canceled by the user."),d=Xt().CancelToken,p=d.source(),u.current=p,F.label=1;case 1:return F.trys.push([1,3,,4]),k={site:Qt.y[l],type:b.Tc[B.Hxq.VACCINE],per_page:t,keyword:i||"",page:e,city_id:c.city_id||"",latitude:c.latitude||"",longitude:c.longitude||"",top_rated:null!==(f=c.top_rated)&&void 0!==f?f:0,promo_available:null!==(y=c.promo_available)&&void 0!==y?y:0,hospital_ids:c.hospital_ids||[]},(x=c.age_group||"")&&(A=(0,zt.A)(null!==(w=Ni.KT[x])&&void 0!==w?w:[],2),C=A[0],_=A[1],k.min_age=C?"".concat(C,"-day"):void 0,k.max_age=_?"".concat(_,"-day"):void 0),k.by_relevance=null!==(M=c.by_relevance)&&void 0!==M?M:0,k.by_popularity=null!==(D=c.by_popularity)&&void 0!==D?D:0,k.top_price=null!==(Y=c.top_price)&&void 0!==Y?Y:0,E=c.productType||[],s&&(k.page=s),[4,b.Xx.getVaccinationListV2((0,r.A)((0,a.A)({},k),{vaccine_type:E||[]}),p.token).then((function(n){var e;return null===(e=n.data)||void 0===e?void 0:e._data}))];case 2:return N=F.sent(),g(N.age_groups),v((0,r.A)((0,a.A)({},c),{keyword:i||"",page:e}),{shallow:!0,scroll:!1}),[2,{data:N.searches,total:null===(h=N.pagination)||void 0===h?void 0:h.total_items,page:e,searchSession:(null===(m=N.pagination)||void 0===m?void 0:m.next)||""}];case 3:return S=F.sent(),console.log("\ud83d\ude80 ~ fetchVaccinationList ~ error:",S),[2,{data:[],total:0,page:e,isKeepLoading:Xt().isCancel(S)}];case 4:return[2]}}))}));return function(e){return n.apply(this,arguments)}}();return(0,c.Y)(d.L.Provider,{fetcher:y,defaultSearch:f.keyword||"",defaultFilters:f,defaultItems:t,defaultPage:Number(f.page)||1,defaultTotal:(null===i||void 0===i?void 0:i.total_items)||0,children:(0,c.Y)(ji,(0,r.A)((0,a.A)({},n),{filterAgeGroup:h}))})}},83784:function(n,e,t){"use strict";t.d(e,{A:function(){return zn}});var i=t(858),a=t(53513),r=t(63538),o=t(83776),l=t(2445),c=t(73884),s=t(55549),d=t(25403),u=t(52238),p=t(1657),h=t(36814),g=t(84655),m=t(59850),f=t(14265),v=t(84091),b=t(57421),y=t(88491),k=t(56771),x=t(73419),w=t(6442),A=t(36259),C=t(74353),_=t.n(C),M=t(18754),D=t(42280),Y=function(){var n=(0,x.$)().locale,e=(0,D.Zb)(),t=e.referralData,i=e.appliedReferralCode,o=(0,D.Jf)().vaccinationDetail,s=(0,w.A)().formatMessage,d=(0,c.useState)({showAlreadyBefore:!1,hide:!1}),u=d[0],p=d[1];(0,c.useEffect)((function(){(null===o||void 0===o?void 0:o.id)&&p({showAlreadyBefore:!1,hide:!1})}),[null===o||void 0===o?void 0:o.id]),(0,c.useEffect)((function(){console.log("appliedReferralCode",i),p(i?function(n){return(0,r.A)((0,a.A)({},n),{showAlreadyBefore:!0})}:function(n){return(0,r.A)((0,a.A)({},n),{hide:!!n.showAlreadyBefore})})}),[i]);var g=(0,c.useMemo)((function(){if(!(null===t||void 0===t?void 0:t.created_at)||!(null===t||void 0===t?void 0:t.expires_at))return"";var n=_()(1e3*(Number(t.expires_at)||0)),e=_()(),i=function(n,e){var t=(e-n)/864e5;return Math.max(Math.round(t),1)}(Number(e),Number(n));return i}),[t]),m=(0,c.useMemo)((function(){return t&&o?"percentage"===t.discount_type?"".concat(t.discount_value,"%"):(0,v.nd)(s,(0,v.$g)(t.discount_value,n),o.price_unit):""}),[t]);return u.showAlreadyBefore&&!u.hide?(0,l.FD)(h.a,{className:"rounded-xl border border-solid border-neutral100 p-4 text-center mt-7 md:mt-0 bg-white md:mb-3 md:border-0 md:rounded-b-none md:p-6",children:[(0,l.Y)("img",{src:M.A.ResultIcon.success,alt:"HHG",className:"max-h-[96px] mb-4 block mx-auto"}),(0,l.Y)("p",{className:"text-[22px] leading-8 tracking-[-0.6px] font-semibold text-dark",children:s({id:"vaccination.payment.notice.congratulations"})}),(0,l.FD)("p",{className:"text-[13px] leading-5 tracking-[-0.3px] mt-2 text-gray600 max-w-[330px] mx-auto",children:[s({id:"vaccination.payment.notice.recieved"},{discount:m,b:function(n){return(0,l.Y)("span",{className:"font-semibold text-dark",children:n})}}),(0,l.Y)("br",{}),s({id:"vaccination.payment.notice.book_now"},{valid_days:g,b:function(n){return(0,l.Y)("span",{className:"font-semibold text-dark",children:n})}})]})]}):null},E=t(60785),N=t(86706),S=t(20864),F=t(42594),T=function(){var n,e,t=(0,w.A)().formatMessage,i=(0,F.a)(),a=(0,S.J3)(),r=a.openPopupOrganization,o=a.closePopupOrganization,s=(0,D.Jf)().vaccinationDetail;return(0,c.useEffect)((function(){o()}),[s]),s?(0,l.FD)(h.a,{className:"bg-white py-5 px-4","data-testid":"hospital-clinic-info",children:[(0,l.FD)(h.a,{className:"flex items-center justify-between gap-3",children:[(0,l.Y)("p",{className:"text-[17px] leading-6 tracking-[-0.4px] font-semibold text-gray1000 flex-1",children:t({id:"vaccination.payment.hospital_clinic",defaultMessage:"Hospital / Clinic"})}),i.current&&(0,l.Y)("button",{onClick:r,className:"text-[13px] leading-5 tracking-[-0.3px] font-medium text-primaryBase w-auto",children:t({id:"vaccination.payment.change",defaultMessage:"Change"})})]}),(0,l.FD)(h.a,{className:"mt-3",children:[(0,l.Y)("p",{className:"text-[13px] leading-5 tracking-[-0.3px] font-semibold text-gray1000",children:null===(n=s.hospital_branch)||void 0===n?void 0:n.name}),(0,l.Y)("p",{className:"text-[13px] leading-5 tracking-[-0.3px] text-gray700 mt-1",children:null===(e=s.hospital_branch)||void 0===e?void 0:e.address})]})]}):null},I=t(4749),z=t(26273),B=function(){return(0,l.FD)(l.FK,{children:[(0,l.FD)(h.a,{className:"flex flex-col gap-4 pb-2 border-b border-solid border-neutral100 animate-pulse",children:[(0,l.FD)(h.a,{className:"flex justify-between",children:[(0,l.Y)("div",{className:"h-5 w-[127px] rounded-full bg-gray200"}),(0,l.Y)("div",{className:"h-5 w-[60px] rounded-full bg-gray200"})]}),(0,l.FD)(h.a,{className:"flex justify-between",children:[(0,l.Y)("div",{className:"h-5 w-[51px] rounded-full bg-gray200"}),(0,l.Y)("div",{className:"h-5 w-[60px] rounded-full bg-gray200"})]})]}),(0,l.FD)(h.a,{className:"flex justify-between py-2 animate-pulse",children:[(0,l.Y)("div",{className:"h-5 w-[55px] rounded-full bg-gray200"}),(0,l.Y)("div",{className:"h-6 w-[65px] rounded-full bg-gray200"})]})]})},P=t(9655),O=function(n){var e=n.loadingPrice,t=n.action,i=(0,N.T)(),a=i.displayShippingFee,r=i.displayPriceWithUnit,o=i.displayDiscountPrice,c=i.displayTotalPrice,s=i.displayTaxPrice,d=(0,w.A)().formatMessage,u=(0,x.$)().locale;return(0,l.FD)(h.a,{"data-testid":"price-breakdown",className:"bg-white pt-5 px-4 pb-3 lg:py-6",children:[(0,l.Y)("h2",{className:"text-[17px] leading-6 tracking-[-0.3px] text-dark font-semibold pb-4",children:d({id:"vaccination.payment.price_breakdown",defaultMessage:"Price Breakdown"})}),!e&&(0,l.FD)(l.FK,{children:[(0,l.FD)(h.a,{className:"flex flex-col",children:[(0,l.FD)(h.a,{className:"flex justify-between border-b border-solid border-neutral100 pb-2 lg:pb-3",children:[(0,l.Y)("p",{className:"text-[13px] leading-5 tracking-[-0.3px] text-gray700",children:d({id:(null===P.Y||void 0===P.Y?void 0:P.Y[u])||P.Y[z.L.Vietnam],defaultMessage:"Package Price (for 1 Dose)"})}),(0,l.Y)("p",{className:"text-[13px] leading-5 tracking-[-0.3px] text-gray700 lg:font-medium",children:r})]}),a&&(0,l.FD)(h.a,{className:"flex justify-between border-b border-solid border-neutral100 py-2 lg:py-3",children:[(0,l.Y)("p",{className:"text-[13px] leading-5 tracking-[-0.3px] text-gray700",children:d({id:"vaccination.payment.shipping_fee",defaultMessage:"Shipping Fee"})}),(0,l.Y)("p",{className:"text-[13px] leading-5 tracking-[-0.3px] text-gray700 lg:font-medium",children:a})]}),s&&(0,l.FD)(h.a,{className:"flex justify-between border-b border-solid border-neutral100 py-2 lg:py-3",children:[(0,l.Y)("p",{className:"text-[13px] leading-5 tracking-[-0.3px] text-gray700",children:d({id:"vaccination.payment.tax",defaultMessage:"Tax"})}),(0,l.Y)("p",{className:"text-[13px] leading-5 tracking-[-0.3px] text-gray700 lg:font-medium",children:s})]}),o&&(0,l.FD)(h.a,{className:"flex justify-between border-b border-solid border-neutral100 py-2 lg:py-3",children:[(0,l.Y)("p",{className:"text-[13px] leading-5 tracking-[-0.3px] text-gray700",children:d({id:"vaccination.payment.discount",defaultMessage:"Discount"})}),(0,l.FD)("p",{className:"text-[13px] leading-5 tracking-[-0.3px] text-green600 font-medium",children:["-",o]})]})]}),(0,l.FD)(h.a,{className:"flex justify-between items-center py-2 lg:py-3",children:[(0,l.Y)("p",{className:"text-[13px] leading-5 tracking-[-0.3px] text-gray700",children:d({id:"vaccination.payment.total",defaultMessage:"Total"})}),(0,l.Y)("p",{className:"text-[15px] leading-6 tracking-[-0.3px] text-dark font-semibold",children:c})]}),t]}),e&&(0,l.Y)(B,{})]})},L=t(70254),H=t(35291),j=t(27773),R=t(94858),V=t(85862),U=t(23005),G=t(86604),q=t(20396),K=t(51387),W=t(32485),J=t.n(W),Z=t(59260),Q=function(n){var e=n.className;return(0,l.FD)("svg",{width:189,height:103,viewBox:"0 0 189 103",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:e,children:[(0,l.FD)("g",{clipPath:"url(#clip0_5854_17923)",children:[(0,l.FD)("g",{clipPath:"url(#clip1_5854_17923)",children:[(0,l.Y)("path",{opacity:"0.15",d:"M140.95 26.614C140.95 26.614 136.508 -8.10425 110.303 16.8566C76.7093 48.8527 54.1283 -14.7403 29.2078 11.2177C15.5932 25.3985 51.5695 57.1134 27.5424 73.8037C3.51531 90.4941 23.1498 102.989 23.1498 102.989H159.582C159.582 102.989 173.706 104.008 174.775 86.1553C175.842 68.3026 159.424 68.0862 169.614 45.7452C179.803 23.4041 144.152 40.834 140.95 26.614Z",fill:"url(#paint0_linear_5854_17923)"}),(0,l.Y)("path",{opacity:"0.6",d:"M93.0825 45.4159C96.7359 45.4159 99.6975 42.4574 99.6975 38.8079C99.6975 35.1585 96.7359 32.2 93.0825 32.2C89.4292 32.2 86.4675 35.1585 86.4675 38.8079C86.4675 42.4574 89.4292 45.4159 93.0825 45.4159Z",fill:"url(#paint1_linear_5854_17923)"}),(0,l.Y)("path",{d:"M93.0828 36.4995C93.1339 36.8838 93.1676 37.2693 93.192 37.6537C93.2072 37.8464 93.213 38.038 93.2234 38.2308C93.2339 38.4235 93.2362 38.6151 93.2432 38.8078L93.1944 38.6929C93.4501 38.9286 93.7 39.1713 93.9487 39.4128C94.1952 39.6578 94.4427 39.9028 94.6822 40.1547C94.8042 40.279 94.9228 40.4056 95.0402 40.5344C95.1588 40.6622 95.2762 40.7899 95.3912 40.9211C95.6237 41.1812 95.8504 41.4459 96.0654 41.7234C95.7841 41.5144 95.5133 41.2938 95.2483 41.0674C95.1146 40.9559 94.9832 40.841 94.8531 40.7249C94.7217 40.6099 94.5927 40.4938 94.4648 40.3754C94.2068 40.142 93.9569 39.9005 93.7058 39.6601C93.4582 39.4163 93.2095 39.1724 92.9689 38.9216L92.9177 38.8694L92.92 38.8067C92.927 38.6139 92.9293 38.4223 92.9398 38.2296C92.9503 38.0368 92.9561 37.8453 92.9712 37.6525C92.9979 37.2682 93.0316 36.8838 93.0828 36.4995Z",fill:"url(#paint2_linear_5854_17923)"}),(0,l.FD)("g",{opacity:"0.45",children:[(0,l.Y)("rect",{x:"131.828",y:"37.3921",width:"22.2075",height:"46.256",fill:"white"}),(0,l.Y)("rect",{x:"109.62",y:"37.3921",width:"22.2075",height:"46.256",fill:"white"}),(0,l.Y)("rect",{x:"110.565",y:"38.3362",width:"20.79",height:"44.368",fill:"url(#paint3_linear_5854_17923)"}),(0,l.Y)("rect",{x:"132.3",y:"38.3362",width:"20.79",height:"44.368",fill:"url(#paint4_linear_5854_17923)"})]}),(0,l.FD)("g",{opacity:"0.7",children:[(0,l.Y)("path",{d:"M53.2144 38.9V41.721L55.0403 48.95L55.4411 50.5369H48.9324L49.3332 48.95L51.159 41.721V38.9H52.1867H53.2144Z",fill:"url(#paint5_linear_5854_17923)"}),(0,l.Y)("path",{d:"M49.3332 48.95L48.9324 50.5369H55.4411L55.0403 48.95M49.3332 48.95L51.159 41.721V38.9H52.1867M49.3332 48.95H55.0403M55.0403 48.95L53.2144 41.721V38.9H52.1867M52.1867 38.9C52.0154 37.4894 52.2552 34.1747 54.5847 32.2",stroke:"url(#paint6_linear_5854_17923)",strokeWidth:2})]}),(0,l.FD)("g",{opacity:"0.7",children:[(0,l.Y)("rect",{x:"60.0074",y:"41.7581",width:"10.3489",height:"8.94859",rx:"1.69912",fill:"url(#paint7_linear_5854_17923)"}),(0,l.Y)("path",{d:"M60.0074 44.3149H70.3563",stroke:"white",strokeWidth:"0.75"}),(0,l.Y)("path",{d:"M65.1817 41.7581C63.9399 41.6161 60.8352 40.6928 60.8352 38.1361C62.7346 38.3316 63.5881 38.7065 64.8354 41.072C64.035 39.2794 63.3625 36.1736 65.3887 34.0879C67.5413 36.4742 66.1476 40.1957 65.1817 41.7581C65.1882 41.7562 65.1948 41.7542 65.2014 41.7522C65.3965 41.5032 67.0458 38.1227 70.1492 37.923C70.1492 39.7906 66.8636 41.2494 65.2014 41.7522C65.1883 41.7689 65.1817 41.7715 65.1817 41.7581Z",fill:"url(#paint8_linear_5854_17923)"})]}),(0,l.Y)("rect",{opacity:"0.45",x:"45.5067",y:"50.7134",width:"27.405",height:"3.1737",fill:"url(#paint9_linear_5854_17923)"}),(0,l.Y)("path",{d:"M22.9767 102.777H152.981",stroke:"#9CACCE",strokeMiterlimit:10}),(0,l.Y)("path",{d:"M157.533 102.777H173.6",stroke:"#9CACCE",strokeMiterlimit:10})]}),(0,l.Y)("path",{d:"M93.2582 46.2702L96.3529 47.6814C95.9771 48.4814 96.4243 49.4478 97.3297 49.8694C98.235 50.2911 99.2623 49.9799 99.6216 49.1655L102.733 50.591C102.357 51.3911 102.79 52.3714 103.71 52.7791C104.615 53.2008 105.626 52.8752 106.001 52.0752L109.113 53.5007C108.828 54.1184 109.026 54.8413 109.556 55.3286C109.704 55.4577 109.882 55.5872 110.089 55.6888C110.995 56.1104 112.022 55.7993 112.381 54.9848L115.476 56.3961C114.379 58.7967 115.679 61.7376 118.392 62.9742C118.472 63.0177 118.55 63.0328 118.63 63.0763L102.043 99.4648C101.963 99.4214 101.883 99.378 101.82 99.3489C99.1059 98.1122 96.01 99.0597 94.9274 101.446L91.8327 100.035C92.2085 99.2351 91.7754 98.2548 90.8559 97.8471C89.9505 97.4254 88.9398 97.751 88.564 98.551L85.4693 97.1398C85.8451 96.3398 85.3955 95.3451 84.4925 94.9517C83.5871 94.5301 82.5599 94.8413 82.2006 95.6557L79.1059 94.2445C79.4816 93.4444 79.0344 92.478 78.1291 92.0564C77.2237 91.6348 76.2129 91.9603 75.8372 92.7604L72.6954 91.3344C73.7921 88.9338 72.4788 86.0068 69.765 84.7702L86.366 48.3677C89.0797 49.6043 92.1614 48.6708 93.2582 46.2702Z",fill:"url(#paint10_linear_5854_17923)"}),(0,l.Y)("rect",{width:"38.4766",height:"26.2381",rx:4,transform:"matrix(0.415692 -0.909506 0.909916 0.414794 74.3693 85.7542)",fill:"white",stroke:"#BDC6DB"}),(0,l.Y)("path",{d:"M101.543 89.4302L78.1701 78.8418",stroke:"#9CACCE",strokeWidth:2,strokeMiterlimit:10,strokeLinejoin:"round"}),(0,l.Y)("path",{d:"M91.8331 88.6181L84.719 85.3882",stroke:"#9CACCE",strokeWidth:2,strokeMiterlimit:10,strokeLinecap:"round",strokeLinejoin:"round"}),(0,l.Y)("path",{d:"M110.823 68.897L87.4676 58.3234",stroke:"#BDC6DB",strokeMiterlimit:10,strokeLinejoin:"round"}),(0,l.Y)("path",{d:"M103.81 62.1657L96.7123 58.9501",stroke:"#BDC6DB",strokeMiterlimit:10,strokeLinecap:"round",strokeLinejoin:"round"}),(0,l.Y)("path",{d:"M89.3899 70.5302L92.4333 70.4854C92.6176 70.48 92.7766 70.3957 92.8576 70.2606L94.4065 67.8256C94.5614 67.5821 94.88 67.5285 95.1429 67.689C95.2494 67.7479 95.3313 67.8428 95.3779 67.9565L96.5338 70.7107C96.6124 70.8766 96.7334 70.9969 96.9213 71.0357L99.9044 71.807C100.188 71.8872 100.377 72.156 100.318 72.441C100.29 72.548 100.234 72.647 100.139 72.7206L97.8038 74.4882C97.6731 74.5805 97.5959 74.7598 97.6178 74.9096L97.9098 77.8218C97.9429 78.1041 97.7135 78.3409 97.4195 78.3584C97.3097 78.3704 97.1855 78.321 97.079 78.2621L94.4819 76.5945C94.3256 76.4929 94.1484 76.4715 93.9786 76.5384L91.1836 77.5583C90.9148 77.6547 90.5989 77.5223 90.4844 77.2602C90.4379 77.1465 90.4197 77.0408 90.4476 76.9338L91.173 74.1511C91.2149 73.9906 91.1716 73.806 91.0506 73.6856L89.0108 71.3998C88.808 71.1845 88.8349 70.8474 89.061 70.6814C89.1526 70.5637 89.2694 70.5249 89.3899 70.5302Z",fill:"#C9D3E8"}),(0,l.Y)("path",{d:"M118.309 96.7377L118.309 93.3383C117.363 93.3475 116.62 92.5395 116.611 91.5413C116.603 90.5432 117.362 89.7387 118.314 89.7504L118.307 86.3301C117.361 86.3393 116.599 85.5383 116.61 84.5331C116.601 83.535 117.367 82.7514 118.313 82.7422L118.306 79.3219C117.578 79.3236 116.962 78.8434 116.722 78.1599C116.662 77.9715 116.616 77.7553 116.609 77.5249C116.6 76.5268 117.359 75.7223 118.312 75.734L118.311 72.3346C115.486 72.3342 113.199 69.9313 113.2 66.9507C113.193 66.86 113.213 66.7832 113.206 66.6924L70.4067 66.6521C70.4135 66.7428 70.4203 66.8335 70.4205 66.9033C70.4201 69.8839 68.1231 72.3044 65.3183 72.297L65.3188 75.6964C66.2647 75.6872 67.0271 76.4882 67.016 77.4934C67.0247 78.4915 66.2589 79.2751 65.313 79.2843L65.3135 82.6837C66.2594 82.6745 67.0285 83.4964 67.0107 84.4806C67.0194 85.4788 66.2603 86.2833 65.3077 86.2715L65.3082 89.6709C66.2541 89.6618 66.9967 90.4698 67.0054 91.4679C67.0141 92.4661 66.2484 93.2496 65.3024 93.2588L65.2964 96.7071C68.121 96.7075 70.3883 99.1174 70.3879 102.098L113.207 102.131C113.207 99.1508 115.484 96.7373 118.309 96.7377Z",fill:"url(#paint11_linear_5854_17923)"}),(0,l.Y)("rect",{width:"41.179",height:"26.2238",rx:4,transform:"matrix(1 0 0 -1 71.4733 97.5037)",fill:"white"}),(0,l.Y)("path",{d:"M87.2545 82.1219L90.2814 81.5348C90.4643 81.4964 90.6116 81.3797 90.6742 81.2235L91.8932 78.3931C92.0151 78.11 92.3255 77.9972 92.6088 78.119C92.7228 78.1619 92.8171 78.247 92.8786 78.358L94.3976 81.0434C94.4981 81.2035 94.6347 81.3084 94.8272 81.3157L97.9027 81.5957C98.1962 81.6295 98.4203 81.8782 98.3994 82.1877C98.3859 82.305 98.343 82.4189 98.2578 82.513L96.1667 84.7825C96.0488 84.9026 95.9957 85.1045 96.0375 85.2579L96.7167 88.2624C96.7873 88.5528 96.5903 88.842 96.2996 88.9125C96.1918 88.9446 96.0615 88.9148 95.9474 88.8719L93.1371 87.5827C92.9678 87.5037 92.7883 87.5128 92.628 87.6131L89.9788 89.1796C89.7237 89.3285 89.3912 89.2456 89.2422 88.9908C89.1807 88.8797 89.1485 88.772 89.162 88.6547L89.514 85.6056C89.5343 85.4297 89.4666 85.2436 89.33 85.1387L86.9926 83.1018C86.7618 82.9118 86.7437 82.5532 86.9469 82.339C87.0225 82.1991 87.1337 82.1377 87.2545 82.1219Z",fill:"url(#paint12_linear_5854_17923)"}),(0,l.Y)("path",{d:"M76.4337 76.9359L76.4214 91.6843",stroke:"#BDC6DB",strokeMiterlimit:10,strokeLinecap:"round",strokeLinejoin:"round"}),(0,l.Y)("path",{d:"M107.516 77.1246L107.497 91.8336",stroke:"#BDC6DB",strokeMiterlimit:10,strokeLinecap:"round",strokeLinejoin:"round"}),(0,l.Y)("path",{d:"M147.024 91.9211C147.024 91.9211 146.861 87.513 150.374 83.105",stroke:"#63D2A4",strokeWidth:"1.14967",strokeMiterlimit:10}),(0,l.Y)("path",{d:"M138.527 85.2486C142.561 83.6767 143.101 91.9213 143.101 91.9213",stroke:"#63D2A4",strokeWidth:"1.14967",strokeMiterlimit:10}),(0,l.Y)("path",{d:"M144.973 91.9211L144.301 85.9719",stroke:"#63D2A4",strokeWidth:"1.14967",strokeMiterlimit:10}),(0,l.Y)("path",{d:"M144.137 76.4055C144.137 76.4055 144.109 81.3074 145.089 82.4126C146.067 83.5196 145.688 86.4118 144.214 86.2816C142.739 86.1496 140.609 81.3635 144.137 76.4055Z",fill:"#B0E4CE"}),(0,l.Y)("path",{d:"M134.183 90.355C134.183 90.355 134.127 85.9831 137.247 85.0154C140.182 84.1038 139.6 88.926 134.183 90.355Z",fill:"#B0E4CE"}),(0,l.Y)("path",{d:"M148.48 102.978H141.761C141.583 102.978 141.429 102.861 141.382 102.691L138.541 92.4186C138.472 92.1689 138.661 91.9211 138.92 91.9211H151.32C151.58 91.9211 151.769 92.1689 151.698 92.4186L148.857 102.691C148.812 102.861 148.658 102.978 148.48 102.978Z",fill:"url(#paint13_linear_5854_17923)"}),(0,l.Y)("path",{d:"M149.833 87.3521C148.098 87.5692 146.977 85.5723 147.986 84.1469C148.029 84.0836 148.078 84.0203 148.127 83.9552C149.768 81.8534 151.931 80.5022 156.203 82.0144C156.286 82.0433 156.266 82.1681 156.178 82.1681C155.042 82.1808 152.181 82.4159 151.902 84.4128C151.622 86.4423 150.796 87.231 149.833 87.3521Z",fill:"#B0E4CE"})]}),(0,l.FD)("defs",{children:[(0,l.FD)("linearGradient",{id:"paint0_linear_5854_17923",x1:"15.5925",y1:"4.82397",x2:"83.5736",y2:"141.256",gradientUnits:"userSpaceOnUse",children:[(0,l.Y)("stop",{stopColor:"#AACBFA"}),(0,l.Y)("stop",{offset:1,stopColor:"#C4DFFB"})]}),(0,l.FD)("linearGradient",{id:"paint1_linear_5854_17923",x1:"76.5119",y1:"28.1722",x2:"111.059",y2:"32.6025",gradientUnits:"userSpaceOnUse",children:[(0,l.Y)("stop",{stopColor:"#C5D2EC"}),(0,l.Y)("stop",{offset:"0.9964",stopColor:"#F1F7FE"})]}),(0,l.FD)("linearGradient",{id:"paint2_linear_5854_17923",x1:"93.3311",y1:"36.5899",x2:"97.969",y2:"37.0515",gradientUnits:"userSpaceOnUse",children:[(0,l.Y)("stop",{stopColor:"#B0BBCC"}),(0,l.Y)("stop",{offset:1,stopColor:"#8D9EB7"})]}),(0,l.FD)("linearGradient",{id:"paint3_linear_5854_17923",x1:"94.9204",y1:"24.8145",x2:"149.903",y2:"28.1149",gradientUnits:"userSpaceOnUse",children:[(0,l.Y)("stop",{stopColor:"#C5D2EC"}),(0,l.Y)("stop",{offset:"0.9964",stopColor:"#F1F7FE"})]}),(0,l.FD)("linearGradient",{id:"paint4_linear_5854_17923",x1:"116.655",y1:"24.8145",x2:"171.638",y2:"28.1149",gradientUnits:"userSpaceOnUse",children:[(0,l.Y)("stop",{stopColor:"#C5D2EC"}),(0,l.Y)("stop",{offset:"0.9964",stopColor:"#F1F7FE"})]}),(0,l.FD)("linearGradient",{id:"paint5_linear_5854_17923",x1:"44.0346",y1:"26.6116",x2:"61.2744",y2:"27.3955",gradientUnits:"userSpaceOnUse",children:[(0,l.Y)("stop",{stopColor:"#C5D2EC"}),(0,l.Y)("stop",{offset:"0.9964",stopColor:"#F1F7FE"})]}),(0,l.FD)("linearGradient",{id:"paint6_linear_5854_17923",x1:"44.0346",y1:"26.6116",x2:"61.2744",y2:"27.3955",gradientUnits:"userSpaceOnUse",children:[(0,l.Y)("stop",{stopColor:"#C5D2EC"}),(0,l.Y)("stop",{offset:"0.9964",stopColor:"#F1F7FE"})]}),(0,l.FD)("linearGradient",{id:"paint7_linear_5854_17923",x1:"52.2199",y1:"39.0309",x2:"79.0981",y2:"43.0128",gradientUnits:"userSpaceOnUse",children:[(0,l.Y)("stop",{stopColor:"#C5D2EC"}),(0,l.Y)("stop",{offset:"0.9964",stopColor:"#F1F7FE"})]}),(0,l.FD)("linearGradient",{id:"paint8_linear_5854_17923",x1:"53.8264",y1:"31.7477",x2:"77.1261",y2:"34.8284",gradientUnits:"userSpaceOnUse",children:[(0,l.Y)("stop",{stopColor:"#B8C5E0"}),(0,l.Y)("stop",{offset:"0.9964",stopColor:"#C9D8E8"})]}),(0,l.FD)("linearGradient",{id:"paint9_linear_5854_17923",x1:"49.1058",y1:"50.7683",x2:"62.5414",y2:"69.9354",gradientUnits:"userSpaceOnUse",children:[(0,l.Y)("stop",{stopColor:"#B0BBCC"}),(0,l.Y)("stop",{offset:1,stopColor:"#8D9EB7"})]}),(0,l.FD)("linearGradient",{id:"paint10_linear_5854_17923",x1:"67.6683",y1:"89.2776",x2:"103.722",y2:"51.8746",gradientUnits:"userSpaceOnUse",children:[(0,l.Y)("stop",{stopColor:"#81A8FB"}),(0,l.Y)("stop",{offset:1,stopColor:"#4F84F7"})]}),(0,l.FD)("linearGradient",{id:"paint11_linear_5854_17923",x1:"65.0677",y1:"102.131",x2:"116.645",y2:"82.6435",gradientUnits:"userSpaceOnUse",children:[(0,l.Y)("stop",{stopColor:"#81A8FB"}),(0,l.Y)("stop",{offset:1,stopColor:"#4F84F7"})]}),(0,l.FD)("linearGradient",{id:"paint12_linear_5854_17923",x1:"88.5068",y1:"88.0731",x2:"97.5549",y2:"80.8885",gradientUnits:"userSpaceOnUse",children:[(0,l.Y)("stop",{stopColor:"#FFB52E"}),(0,l.Y)("stop",{offset:1,stopColor:"#E69603"})]}),(0,l.FD)("linearGradient",{id:"paint13_linear_5854_17923",x1:"138.47",y1:"91.9211",x2:"151.907",y2:"95.9728",gradientUnits:"userSpaceOnUse",children:[(0,l.Y)("stop",{stopColor:"#81A8FB"}),(0,l.Y)("stop",{offset:1,stopColor:"#4F84F7"})]}),(0,l.Y)("clipPath",{id:"clip0_5854_17923",children:(0,l.Y)("rect",{width:189,height:103,fill:"white"})}),(0,l.Y)("clipPath",{id:"clip1_5854_17923",children:(0,l.Y)("rect",{width:"159.379",height:"98.2252",fill:"white",transform:"translate(15.5925 4.82397)"})})]})]})},$=t(95204),X=function(n){var e=n.opened,t=n.onClose,i=n.listVoucher,o=n.priceUnit,u=n.onSubmit,p=n.vaccinationDetail,f=n.selectedVoucher,b=n.computedPrice,k=n.appliedReferralCode,A=n.referralData,C=n.packageId,_=n.type;(0,Z.g)();var M=(0,x.$)().locale,D=(0,w.A)().formatMessage,Y=(0,y.d)().isMobileOrTablet,E=(0,c.useState)(null),N=E[0],S=E[1],F=(0,c.useState)(null),T=F[0],I=F[1],z=!i.length&&!A,B=(0,c.useState)($.vp),P=B[0],O=B[1],L=(0,c.useState)(!1),j=L[0],R=L[1],U=p||{},K=U.id,W=U.hospital_branch,Q=U.organization,X=(W||{}).id,nn=(Q||{}).id,an=C||K,rn=_;(0,c.useEffect)((function(){e&&(S(f),I(k?A:null),O(b))}),[e,f,b]),(0,c.useEffect)((function(){if(e){var n=!1,t={product_id:an,clinic_id:X,hospital_id:nn,type:rn,voucher_code:(null===N||void 0===N?void 0:N.voucher_code)||"",referral_code:(null===T||void 0===T?void 0:T.voucher_code)||""};return R(!0),g.W.withCached(JSON.stringify(t),(function(){return(0,v.px)((0,v.$k)(m.R.GET_VACCINATION_PRICE),"POST",{data:t})})).then((function(e){if(!n){if("success"===(null===e||void 0===e?void 0:e.message)){var t=(0,r.A)((0,a.A)({},e),{original_price:e.original_price,final_price:e.final_price,voucher_discount_value:e.voucher_discount_value||0,referral_discount_value:e.referral_discount_value||0});return O(t)}throw new Error("")}})).catch((function(n){console.error(n);var e=(0,r.A)((0,a.A)({},$.vp),{original_price:p.price_discount||p.price,final_price:p.price_discount||p.price});O(e)})).finally((function(){R(!1)})),function(){n=!0}}}),[an,N,T,e]);var on=(0,c.useMemo)((function(){return N||T?"".concat((0,v.nd)(D,(0,v.$g)(P.voucher_discount_value+P.referral_discount_value,M),o)):""}),[N,P,o]),ln=function(){t(),S(null),I(null)};return(0,c.useEffect)((function(){return e?(document.body.style.overflow="hidden",document.body.style.maxHeight="100vh"):(document.body.style.overflow="auto",document.body.style.maxHeight="auto"),function(){document.body.style.overflow="",document.body.style.maxHeight=""}}),[e]),(0,l.FD)(l.FK,{children:[e&&!Y&&(0,l.Y)(h.a,{className:"hidden lg:block lg:fixed top-0 left-0 bottom-0 right-0 bg-[#000]/50 z-[1]"}),(0,l.FD)(h.a,{className:J()("fixed top-0 left-[200px] bottom-0 w-full max-h-full bg-neutral50 opacity-0 transition-all pointer-events-none -z-10 invisible","lg:w-[400px] lg:max-h-[681px] lg:bg-white lg:rounded-2xl lg:absolute lg:top-1/2 lg:bottom-auto lg:overflow-hidden lg:flex lg:flex-col",{"!opacity-100 !visible !pointer-events-auto !z-10 !left-0 lg:!left-1/2":e}),style:Y?void 0:{transform:"translate(-50%, -50%)"},children:[(0,l.FD)(h.a,{className:"p-4 text-center lg:px-6 lg:text-left relative bg-white lg:border-b lg:border-solid lg:border-neutral100 flex items-center",children:[Y&&(0,l.Y)(h.a,{onClick:ln,className:"absolute left-4 top-4 p-0.5 cursor-pointer",children:(0,l.Y)(G.A,{size:20,color:H.w.colors.gray800,className:"block"})}),(0,l.Y)("p",{className:"text-[17px] font-semibold leading-6 tracking-[-0.4px] flex-1 min-w-0",children:D({id:"vaccination.payment.select_voucher",defaultMessage:"Select voucher"})}),!Y&&(0,l.Y)(h.a,{onClick:ln,className:" cursor-pointer",children:(0,l.Y)(q.A,{size:20,color:H.w.colors.gray800,className:"block"})})]}),!z&&(0,l.Y)(h.a,{"data-testid":"voucher-list",className:"flex flex-col h-[calc(100vh_-_56px)] bg-white lg:h-auto lg:max-h-[60vh] overflow-y-auto scrollbar-custom",children:(0,l.FD)(h.a,{className:"flex-1 px-4 lg:px-6 pb-[220px] lg:pb-6",children:[i.map((function(n){return(0,l.Y)(en,{selected:(null===N||void 0===N?void 0:N.id)===n.id,item:n,onClick:function(){return S(n.voucher_code===(null===N||void 0===N?void 0:N.voucher_code)?null:n)}},"".concat(n.id))})),A&&(0,l.Y)(en,{selected:(null===T||void 0===T?void 0:T.id)===A.id,item:A,onClick:function(){return I(A.voucher_code===(null===T||void 0===T?void 0:T.voucher_code)?null:A)}})]})}),!z&&(0,l.FD)(h.a,{"data-testid":"voucher-list-discount",className:"py-2 px-4 lg:px-6 lg:pb-6 border-t border-solid border-neutral100 bg-white fixed left-0 right-0 bottom-0 lg:relative scrollbar-custom",children:[!!on&&(0,l.FD)(l.FK,{children:[(0,l.Y)(h.a,{className:"absolute pointer-events-none top-0 left-0 right-0 h-9",style:{background:"linear-gradient(180deg, #E3FFD7 0%, #FFFFFF 100%)"}}),(0,l.FD)(h.a,{className:"flex mb-4 gap-2 relative",children:[(0,l.Y)("img",{src:s.C.getAssetPath("payment/fireworks.png"),alt:"fireworkds",className:"w-5 h-5"}),(0,l.Y)("p",{className:"flex items-center gap-1 text-[13px] leading-5 font-medium tracking-[-0.3px] text-gray700",children:D({id:"vaccination.payment.details_saving",defaultMessage:"You've saved {number}"},{number:j?(0,l.Y)(V.V7n,{fontSize:12}):(0,l.Y)("span",{className:"font-bold",children:on})})})]})]}),(0,l.Y)(d.B,{size:"lg",fullWidth:!0,className:"mt-4 lg:mt-2",onClick:function(){j||(u(N,T,P),S(null),I(null))},"data-testid":"voucher-list-apply",children:(0,l.Y)("span",{className:"text-[15px] leading-6 tracking-[-0.3px] font-medium",children:D({id:"vaccination.payment.apply",defaultMessage:"Apply"})})})]}),z&&(0,l.Y)(tn,{})]})]})},nn="voucherItem",en=function(n){var e=n.loading,t=n.selected,i=n.item,a=n.onClick,r=n.className,o=n.style,c=(0,w.A)().formatMessage;return e?(0,l.FD)(h.a,{role:"button",className:(0,R.A)("flex items-center py-4 gap-2 border-b border-solid border-neutral100 cursor-pointer lg:last-of-type:border-0",nn,r),onClick:a,"data-selected":t,"data-testid":"voucher-item-".concat(i.voucher_code),style:o,children:[(0,l.Y)(K.E,{h:6,className:"flex-1 min-w-0"}),(0,l.Y)(K.E,{h:6,w:12})]},i.id):(0,l.FD)(h.a,{role:"button",onClick:a,"data-testid":"voucher-item-".concat(i.voucher_code),"data-selected":t,className:(0,R.A)("flex items-center py-4 gap-2 border-b border-solid border-neutral100 cursor-pointer lg:last-of-type:border-0",nn,r),style:o,children:[(0,l.FD)(h.a,{className:"flex-1 min-w-0",children:[(0,l.Y)("p",{className:(0,R.A)("".concat(nn,"_title"),"text-[13px] leading-5 tracking-[-0.3px] font-semibold text-gray900"),children:i.voucher_name}),(0,l.Y)("p",{className:(0,R.A)("".concat(nn,"_description"),"text-[13px] leading-5 tracking-[-0.3px] text-gray700"),children:i.voucher_description})]}),(0,l.Y)(h.a,{className:"ml-auto",children:t?(0,l.Y)(h.a,{className:"w-5 h-5 p-[2px]",children:(0,l.Y)(j.A,{color:H.w.colors.primaryBase,size:16,className:"block"})}):(0,l.Y)("button",{className:"w-auto h-8 font-medium text-primary600 text-[13px] leading-5 tracking-[-0.3px] py-[6px] px-3 rounded-xl border border-primary600 border-solid cursor-pointer",children:c({id:"vaccination.payment.apply",defaultMessage:"Apply"})})})]},i.id)},tn=function(){var n=(0,w.A)().formatMessage;return(0,l.FD)(h.a,{"data-testid":"voucher-list-empty-sreen",className:"text-center max-w-[310px] mx-auto py-[100px]",children:[(0,l.Y)(Q,{className:"mx-auto"}),(0,l.Y)("p",{className:"text-[15px] leading-6 tracking-[-0.3px] text-dark font-semibold mt-4",children:n({id:"vaccination.payment.voucher_empty_title",defaultMessage:"No Vouchers Available"})}),(0,l.Y)("p",{className:"text-[12px] leading-4 tracking-[-0.2px] text-gray600 mt-2",children:n({id:"vaccination.payment.voucher_empty_description",defaultMessage:"There are no vouchers at the moment."})})]})};X.Result=function(n){var e=n.opened,t=n.onClose,i=n.voucher_code,a=n.previewDiscount,r=n.timeout,o=void 0===r?2e3:r,s=(0,w.A)().formatMessage,d=(0,c.useRef)(null),u=(0,c.useState)(!!e),p=u[0],h=u[1],g=(0,c.useCallback)((function(){h(!1),null===t||void 0===t||t(!1),d.current&&clearTimeout(d.current)}),[t]);return(0,c.useEffect)((function(){h(!!e)}),[e,t]),(0,c.useEffect)((function(){p&&(d.current=setTimeout((function(){g()}),o))}),[p,g,o]),(0,l.Y)(U.M,{opened:p,onClose:g,styles:{root:{},content:{maxWidth:295},header:{display:"none"},body:{padding:24,paddingTop:"16px !important"}},children:(0,l.FD)("div",{className:"text-center",children:[(0,l.Y)("img",{src:M.A.ResultIcon.success,alt:"HHG",className:"max-h-[96px] mb-4"}),(0,l.Y)("p",{className:"text-[13px] leading-5 tracking-[-0.3px] mb-1 text-gray1000",children:s({id:"vaccination.payment.you_saved",defaultMessage:"You saved"})}),(0,l.Y)("p",{className:"mb-3 text-[26px] leading-8 tracking-[-0.6px] font-semibold",children:a}),(0,l.Y)("p",{className:"text-[13px] leading-5 tracking-[-0.3px] font-medium mb-[28px]",children:s({id:"vaccination.payment.voucher_applied_success.code_applied"},{discount_code:i})}),(0,l.Y)("button",{onClick:g,className:"block cursor-pointer p-2 bg-gray100 text-primary600 text-[15px] leading-6 tracking-[-0.3px] font-medium rounded-xl",children:s({id:"vaccination.payment.voucher_applied_success.button",defaultMessage:"Yay! Thanks"})})]})})},X.Item=en;var an=X,rn=function(n){var e=n.onViewAll,t=(0,w.A)().formatMessage;return(0,l.FD)(h.a,{className:"flex flex-row justify-between w-full gap-3 mb-3",children:[(0,l.Y)("h2",{className:"flex-1 text-[17px] leading-6 tracking-[-0.4px] text-dark font-semibold",children:t({id:"vaccination.payment.voucher_application",defaultMessage:"Discount Offers"})}),(0,l.FD)("button",{onClick:e,className:"flex w-auto items-center text-[13px] leading-5 tracking-[-0.3px] text-gray700 font-medium cursor-pointer",children:[(0,l.Y)("span",{children:t({id:"admin.home.viewAll",defaultMessage:"View all"})}),(0,l.Y)(p.A,{color:"currentColor",size:16})]})]})},on=function(n){var e=n.selected,t=n.item,i=n.onClick,a=(0,w.A)().formatMessage;return(0,l.FD)(h.a,{"data-testid":"selected-voucher","data-selected":e,className:(0,R.A)("stepOneVoucherApplicationItem flex gap-2 items-center cursor-pointer",{"py-3":!e,"py-[18px]":e}),onClick:i,children:[(0,l.Y)(h.a,{className:"flex-1 min-w-0",children:(0,l.Y)("p",{className:"text-[13px] leading-5 tracking-[-0.3px] font-medium text-gray900 uppercase m-0",children:t.voucher_name})}),e?(0,l.Y)(h.a,{className:"w-5 h-5 p-[2px]",children:(0,l.Y)(j.A,{color:H.w.colors.primaryBase,size:16,className:"block"})}):(0,l.Y)("button",{className:"w-auto h-8 font-medium text-primary600 text-[13px] leading-5 tracking-[-0.3px] py-[6px] px-3 rounded-xl border border-primary600 border-solid cursor-pointer",children:a({id:"vaccination.payment.apply",defaultMessage:"Apply"})})]},"".concat(t.id))},ln=function(n){var e=n.vaccinationDetail,t=n.handleClickOpenVoucher,i=e.price_unit,a=(0,w.A)().formatMessage,r=(0,x.$)().locale,o=(0,D.Jf)().computedPrice,s=(0,D.Zb)(),d=s.loading,u=s.listVoucher,p=s.appliedVoucher,g=s.setAppliedVoucher,m=s.referralData,f=s.appliedReferralCode,b=s.setAppliedReferralCode,y=s.openResult,k=s.setOpenResult,A=s.count,C=s.setVoucherStore,_=(0,c.useMemo)((function(){return p||(A>1?null:(null===u||void 0===u?void 0:u[0])||null)}),[p,u]),M=(0,c.useMemo)((function(){return!!u.length&&!(!p&&1!==A)}),[_,A]),Y=(0,c.useMemo)((function(){return f&&f!==(null===m||void 0===m?void 0:m.voucher_code)?null:m}),[f,m]),E=M||[p,f].filter(Boolean).length;return(0,l.FD)(h.a,{"data-testid":"voucher-application",className:(0,R.A)("stepOneVoucherApplication bg-white","p-4 pt-5 pb-2","lg:rounded-xl","[&>.stepOneVoucherApplicationItem]:border-b [&>.stepOneVoucherApplicationItem]:border-gray100 [&>.stepOneVoucherApplicationItem]:border-solid [&>.stepOneVoucherApplicationItem:last-child]:border-none"),children:[(0,l.Y)(rn,{onViewAll:t}),!d&&(0,l.FD)(l.FK,{children:[!E&&(0,l.Y)("p",{className:"text-[13px] leading-5 tracking-[-0.3px] text-gray400 mb-2",children:a({id:"vaccination.payment.no_discount_apply",defaultMessage:"No discount applied yet"})}),!!E&&f&&Y&&(0,l.Y)(on,{selected:f===Y.voucher_code,item:Y,onClick:function(){var n="";f!==Y.voucher_code&&(n=Y.voucher_code),b(n)}}),M&&_&&(0,l.Y)(on,{selected:_.voucher_code===(null===p||void 0===p?void 0:p.voucher_code),item:_,onClick:function(){var n=null;(null===p||void 0===p?void 0:p.voucher_code)!==_.voucher_code&&(n=_,k(!0),C({count:A+1})),g(n)}})]}),d&&(0,l.Y)(h.a,{className:"flex gap-1 items-center animate-pulse",children:(0,l.FD)(h.a,{className:"flex-1",children:[(0,l.Y)("div",{className:"h-5 w-[60%] rounded-full bg-gray200"}),(0,l.Y)("div",{className:"h-4 w-[50%] rounded-full bg-gray200 mt-1"})]})}),(0,l.Y)(an.Result,{opened:y,onClose:k,voucher_code:null===p||void 0===p?void 0:p.voucher_code,previewDiscount:(0,v.nd)(a,(0,v.$g)(o.voucher_discount_value+o.referral_discount_value,r),i)})]})},cn=function(n){var e=n.loadingPrice,t=n.displayPricePayNow,i=n.displayPriceRemaining;return(0,l.FD)(h.a,{className:"flex flex-col gap-3",children:[(0,l.Y)(ln,(0,a.A)({},n)),(0,l.Y)(O,{loadingPrice:e}),(0,l.Y)(I.Ay,{loadingPrice:e,displayPricePayNow:t,displayPriceRemaining:i})]})},sn=t(38971),dn=t(92756),un=t(66814),pn=t(22615),hn=t(72280),gn=t(6596),mn=t(41543),fn=t(62481),vn=t(99745),bn=t(57448),yn=["image/png","image/jpeg","image/jpg","application/pdf","image/heic","image/heif"],kn=(0,c.forwardRef)((function(n,e){var t,s=n.prescriptionFiles,u=n.setPrescriptionFiles,p=n.formData,g=n.setFormData,f=n.onValidate,b=n.loadingPayment,y=(0,w.A)().formatMessage,k=(0,c.useRef)(null);(0,c.useImperativeHandle)(e,(function(){return{handleFileSelect:function(n){x(n)}}}));var x=function(n){if(!b){var e=Array.from(n),t=Object.keys(s).filter((function(n){var e;return null===(e=s[n])||void 0===e?void 0:e.fileObject})).length;if(t+e.length>3)g((function(n){return(0,r.A)((0,a.A)({},n),{prescription:(0,r.A)((0,a.A)({},n.prescription),{error:y({id:"vaccination.payment.prescription.maxFilesExceeded",defaultMessage:"Maximum 3 files/images allowed"}),touched:!0})})}));else{var i=new Set;Object.keys(s).forEach((function(n){var e=s[n];if(null===e||void 0===e?void 0:e.fileObject){var t="".concat(e.fileObject.name,"_").concat(e.fileObject.size);i.add(t)}}));var o=new Set,l=[];if(e.forEach((function(n){var e="".concat(n.name,"_").concat(n.size);i.has(e)||o.has(e)?l.push(n):o.add(e)})),l.length>0)g((function(n){return(0,r.A)((0,a.A)({},n),{prescription:(0,r.A)((0,a.A)({},n.prescription),{error:y({id:"vaccination.payment.prescription.duplicateFile",defaultMessage:'File "{fileName}" has already been selected'},{fileName:l[0].name}),touched:!0})})}));else{var c=[];if(e.forEach((function(n){var e=function(n){return n.size>5242880?y({id:"vaccination.payment.prescription.fileTooLarge",defaultMessage:"File size must be less than 5MB"}):yn.includes(n.type)||n.name.toLowerCase().endsWith(".heic")||n.name.toLowerCase().endsWith(".heif")?null:y({id:"vaccination.payment.prescription.invalidFileType",defaultMessage:"Invalid file type. Only PNG, JPG, JPEG, PDF, HEIC, HEIF are allowed"})}(n);e&&c.push({file:n,error:e})})),c.length>0)g((function(n){return(0,r.A)((0,a.A)({},n),{prescription:(0,r.A)((0,a.A)({},n.prescription),{error:c[0].error,touched:!0})})}));else{var d=["File1","File2","File3"],p=new Set(Object.keys(s).filter((function(n){var e;return null===(e=s[n])||void 0===e?void 0:e.fileObject}))),h=[],m=!0,f=!1,v=void 0;try{for(var k,x=e[Symbol.iterator]();!(m=(k=x.next()).done);m=!0){var w=k.value,A=d.find((function(n){return!p.has(n)}));if(!A)return void g((function(n){return(0,r.A)((0,a.A)({},n),{prescription:(0,r.A)((0,a.A)({},n.prescription),{error:"vaccination.payment.prescription.maxFilesExceeded",touched:!0})})}));p.add(A),h.push({file:w,key:A})}}catch(C){f=!0,v=C}finally{try{m||null==x.return||x.return()}finally{if(f)throw v}}g((function(n){return(0,r.A)((0,a.A)({},n),{prescription:(0,r.A)((0,a.A)({},n.prescription),{error:""})})})),u((function(n){var e=(0,a.A)({},n);h.forEach((function(n){var t=n.file,i=n.key;e[i]={fileObject:t,status:"pending"}}));var t=Object.keys(e).filter((function(n){var t;return null===(t=e[n])||void 0===t?void 0:t.fileObject}));return t.sort((function(n,e){var t={File1:1,File2:2,File3:3};return t[n]-t[e]})),g((function(n){return(0,r.A)((0,a.A)({},n),{prescription:(0,r.A)((0,a.A)({},n.prescription),{value:t.join("|"),touched:!0})})})),e}))}}}}},A=function(n){if(!b){u((function(e){var t=(0,a.A)({},e);return delete t[n],t}));var e=Object.keys(s).filter((function(e){return e!==n})).filter((function(n){var e;return null===(e=s[n])||void 0===e?void 0:e.fileObject}));g((function(n){return(0,r.A)((0,a.A)({},n),{prescription:(0,r.A)((0,a.A)({},n.prescription),{value:e.join("|"),touched:!0})})})),requestAnimationFrame((function(){f("prescription")}))}},C=function(){var n=(0,i.A)((function(n){var e,t,i,l,c,d;return(0,o.__generator)(this,(function(o){switch(o.label){case 0:if(b)return[2];if(!(null===(e=s[n])||void 0===e?void 0:e.fileObject)||"failed"!==e.status)return[2];u((function(e){var t=e[n];return t?(0,r.A)((0,a.A)({},e),(0,sn.A)({},n,(0,r.A)((0,a.A)({},t),{status:"loading"}))):e})),g((function(n){return(0,r.A)((0,a.A)({},n),{prescription:(0,r.A)((0,a.A)({},n.prescription),{error:""})})})),o.label=1;case 1:return o.trys.push([1,7,,8]),t=window.location.href.includes("localhost"),(i=new FormData).append("file",e.fileObject),t?(c={URL:"https://cdn-hermes.hellohealthgroup.com/2026/01/c73bb9c0c77b33740c67833e5081c2b25b7e2f8b01b88c15e5c4743617476022.png",message:"Upload Successful",status:!0},[3,4]):[3,2];case 2:return[4,(0,v.px)((0,v.Gx)(m.R.POST_IMAGE_UPLOAD),"POST",{data:i,headers:{"Content-Type":"multipart/form-data"}})];case 3:c=o.sent(),o.label=4;case 4:return l=c,t?[4,new Promise((function(n){return setTimeout(n,1e3)}))]:[3,6];case 5:o.sent(),o.label=6;case 6:if(!(d=(null===l||void 0===l?void 0:l.URL)||""))throw new Error("No URL returned");return u((function(e){var t=e[n];return t?(0,r.A)((0,a.A)({},e),(0,sn.A)({},n,(0,r.A)((0,a.A)({},t),{status:"success",url:d}))):e})),[3,8];case 7:return o.sent(),u((function(e){var t=e[n];return t?(0,r.A)((0,a.A)({},e),(0,sn.A)({},n,(0,r.A)((0,a.A)({},t),{status:"failed"}))):e})),[3,8];case 8:return[2]}}))}));return function(e){return n.apply(this,arguments)}}(),_=Object.keys(s).filter((function(n){var e;return null===(e=s[n])||void 0===e?void 0:e.fileObject})),M=_.length>=3;return(0,l.FD)(h.a,{className:"pt-4 flex gap-3 flex-col",children:[(0,l.Y)("p",{className:"text-[15px] leading-6 tracking-[-0.3px] text-gray1000 font-semibold",children:y({id:"vaccination.payment.prescription_upload_description",defaultMessage:"Please upload a valid prescription for our medical expert to review"})}),_.length>0&&(0,l.Y)(h.a,{className:"flex gap-2 flex-col",children:_.map((function(n){var e=function(n){var e=s[n];if(!e)return{text:"",icon:null,bgColor:"",status:"pending"};switch(e.status){case"pending":return{text:"",icon:null,bgColor:"bg-neutral50",status:"pending"};case"loading":return{text:y({id:"vaccination.payment.prescription.uploading",defaultMessage:"Uploading"}),icon:(0,l.Y)(bn.a,{size:20,color:H.w.colors.primaryBase}),bgColor:"bg-neutral50",status:"loading"};case"success":return{text:"",icon:(0,l.Y)(j.A,{color:H.w.colors.green600,size:20,className:"flex-shrink-0"}),bgColor:"bg-green50",status:"success"};case"failed":return{text:y({id:"vaccination.payment.prescription.resend",defaultMessage:"Resend"}),icon:(0,l.Y)(fn.A,{color:H.w.colors.red600,size:20,className:"flex-shrink-0"}),bgColor:"bg-red50",status:"failed"};default:return{text:"",icon:null,bgColor:"",status:"pending"}}}(n),t=function(n){var e=s[n];return(null===e||void 0===e?void 0:e.fileObject)?e.fileObject.name:""}(n);return(0,l.FD)(h.a,{className:"".concat(e.bgColor," rounded-lg px-4 py-3 flex items-center gap-3"),children:[e.icon&&(0,l.Y)(h.a,{className:"flex-shrink-0",children:e.icon}),(0,l.Y)("p",{className:"flex-1 text-[13px] leading-5 tracking-[-0.3px] text-dark truncate",children:t}),e.text&&"loading"===e.status&&(0,l.Y)("p",{className:"text-[13px] leading-5 tracking-[-0.3px] text-primaryBase",children:e.text}),e.text&&"failed"===e.status&&(0,l.Y)("p",{className:"text-[13px] leading-5 tracking-[-0.3px] text-red600 cursor-pointer",onClick:function(){return C(n)},children:e.text}),"success"===e.status?(0,l.Y)(vn.A,{size:20,color:H.w.colors.gray700,className:"flex-shrink-0 cursor-pointer",onClick:function(){return A(n)}}):(0,l.Y)(q.A,{size:20,color:H.w.colors.gray700,className:"flex-shrink-0 cursor-pointer",onClick:function(){return A(n)}})]},n)}))}),(null===(t=p.prescription)||void 0===t?void 0:t.error)&&(0,l.Y)("p",{className:"text-[12px] leading-5 tracking-[-0.3px] text-red600",children:p.prescription.error}),(0,l.FD)(h.a,{className:"flex gap-2 flex-col lg:flex-row lg:gap-4 lg:items-center",children:[(0,l.Y)("input",{ref:k,type:"file",id:"prescription-upload-input",accept:".png,.jpg,.jpeg,.pdf,.heic,.heif",multiple:!0,onChange:function(n){n.target.files&&n.target.files.length>0&&(x(n.target.files),k.current&&(k.current.value=""))},className:"hidden",disabled:b||M}),(0,l.FD)(d.B,{variant:"tertiary",fullWidth:!0,size:"lg",onClick:function(){var n;return null===(n=k.current)||void 0===n?void 0:n.click()},disabled:b||M,className:M?"opacity-50 cursor-not-allowed !w-auto":"!w-auto",children:[(0,l.Y)(mn.A,{color:H.w.colors.primaryBase,size:20,className:"mr-2"}),(0,l.Y)("span",{className:"text-[15px] leading-6 tracking-[-0.3px] font-medium ".concat(M?"text-gray400":"text-primaryBase"),children:y({id:"vaccination.payment.prescription_upload_button",defaultMessage:"Upload prescription"})})]}),(0,l.Y)("p",{className:"text-[13px] leading-5 tracking-[-0.3px] text-gray400",children:y({id:"vaccination.payment.prescription_upload_description_2",defaultMessage:"Max files upload size can be 5MB"})})]})]})}));kn.displayName="PrescriptionUpload";var xn,wn,An=kn,Cn=dn.i.TextField,_n=(0,c.lazy)((function(){return t.e(3299).then(t.bind(t,43299))})),Mn={input:{fontSize:"15px",letterSpacing:"-0.3px",lineHeight:"20px",fontWeight:500,color:"#111111"}},Dn={name:{value:"",error:""},phone:{value:"",error:""},gender:{value:"male",error:"",touched:!0},age:{value:"",error:""},email:{value:"",error:""},addressLine:{value:"",error:""},city:{value:"",error:""},zipCode:{value:"",error:""},country:{value:"",error:""},prescription:{value:"",error:""}},Yn=function(n){var e=n.action,t=(0,N.T)(),i=t.displayDiscountPrice,a=t.displayTotalPrice,r=t.displayTaxPrice,o=t.displayShippingFee,s=t.displayPricePayTenPercentage,d=t.displayPriceRemaining,u=t.displayPriceWithUnit,p=(0,D.Jf)(),g=p.vaccinationDetail,m=p.selectedPaymentValue,f=p.providers,v=(0,w.A)().formatMessage,b=(0,x.$)().locale,y=(0,c.useMemo)((function(){var n=(0,I.ze)(m||""),e=n.provider,t=n.paymentVia,i=n.paymentType;return f.find((function(n){return n.provider===e&&n.payment_via===Number(t)&&n.payment_type===i}))}),[m,f]),k=null===g||void 0===g?void 0:g.hospital_branch.name;return(0,l.FD)(h.a,{"data-testid":"payment-details",className:"bg-white pt-6 px-4 pb-0.5",children:[(0,l.Y)(c.Suspense,{fallback:null,children:(0,l.Y)(_n,{})}),(0,l.Y)("h2",{className:"flex-1 text-[17px] leading-6 tracking-[-0.4px] text-dark font-semibold pb-4",children:v({id:"vaccination.payment.details",defaultMessage:"Payment Details"})}),(0,l.FD)(h.a,{className:"flex justify-between pb-3",children:[(0,l.Y)("p",{className:"text-[13px] leading-5 tracking-[-0.3px] text-gray700",children:v({id:(null===P.Y||void 0===P.Y?void 0:P.Y[b])||P.Y[z.L.Vietnam],defaultMessage:"Package price"})}),(0,l.Y)("p",{className:"text-[13px] leading-5 tracking-[-0.3px] text-dark font-medium",children:u})]}),o&&(0,l.FD)(h.a,{className:"flex justify-between py-3 border-t border-solid border-neutral100",children:[(0,l.Y)("p",{className:"text-[13px] leading-5 tracking-[-0.3px] text-gray700",children:v({id:"vaccination.payment.shipping_fee",defaultMessage:"Shipping Fee"})}),(0,l.Y)("p",{className:"text-[13px] leading-5 tracking-[-0.3px] text-dark font-medium",children:o})]}),r&&(0,l.FD)(h.a,{className:"flex justify-between py-3 border-t border-solid border-neutral100",children:[(0,l.Y)("p",{className:"text-[13px] leading-5 tracking-[-0.3px] text-gray700",children:v({id:"vaccination.payment.tax",defaultMessage:"Tax"})}),(0,l.Y)("p",{className:"text-[13px] leading-5 tracking-[-0.3px] text-dark font-medium",children:r})]}),i&&(0,l.FD)(h.a,{className:"flex justify-between py-3 border-t border-solid border-neutral100",children:[(0,l.Y)("p",{className:"text-[13px] leading-5 tracking-[-0.3px] text-gray700",children:v({id:"vaccination.payment.discount",defaultMessage:"Discount"})}),(0,l.FD)("p",{className:"text-[13px] leading-5 tracking-[-0.3px] text-green600 font-medium",children:["-",i]})]}),(null===y||void 0===y?void 0:y.payment_type)===I.Ai.ten_percent&&(0,l.FD)(l.FK,{children:[(0,l.FD)(h.a,{className:"flex gap-3 justify-between py-3 border-t border-solid border-neutral100",children:[(0,l.Y)("p",{className:"text-[13px] leading-5 tracking-[-0.3px] text-gray700",children:v({id:"vaccination.payment.pay_later",defaultMessage:"Pay later (at {hospital_name})"},{hospital_name:k})}),(0,l.Y)("p",{className:"text-[13px] leading-5 tracking-[-0.3px] text-dark font-medium whitespace-nowrap",children:d})]}),(0,l.FD)(h.a,{className:"flex gap-3 justify-between py-3 border-t border-solid border-neutral100",children:[(0,l.Y)("p",{className:"text-[13px] leading-5 tracking-[-0.3px] text-gray700",children:v({id:"vaccination.payment.pay_now_only",defaultMessage:"Pay now only"})}),(0,l.Y)("p",{className:"text-[15px] leading-5 lg:leading-6 tracking-[-0.3px] text-dark font-semibold whitespace-nowrap",children:s})]})]}),(null===y||void 0===y?void 0:y.payment_type)===I.Ai.full_payment&&(0,l.FD)(h.a,{className:"flex gap-3 justify-between py-3 border-t border-solid border-neutral100",children:[(0,l.Y)("p",{className:"text-[13px] leading-5 tracking-[-0.3px] text-gray700",children:v({id:"vaccination.payment.pay_later_via_installment",defaultMessage:"Pay Later Via Installment"})}),(0,l.Y)("p",{className:"text-[15px] leading-6 tracking-[-0.3px] text-dark font-semibold whitespace-nowrap",children:a})]}),(null===y||void 0===y?void 0:y.payment_type)===I.Ai.one_hundred_percent&&(0,l.FD)(h.a,{className:"flex gap-3 justify-between py-3 border-t border-solid border-neutral100",children:[(0,l.Y)("p",{className:"text-[13px] leading-5 tracking-[-0.3px] text-gray700",children:v({id:"vaccination.payment.pay_now_100",defaultMessage:"Pay now 100%"})}),(0,l.Y)("p",{className:"text-[15px] leading-6 tracking-[-0.3px] text-dark font-semibold whitespace-nowrap",children:a})]}),e]})},En=(xn={},(0,sn.A)(xn,z.L.Vietnam,"VN"),(0,sn.A)(xn,z.L.Malaysia,"MY"),xn),Nn=(wn={},(0,sn.A)(wn,z.L.Vietnam,"Vietnam"),(0,sn.A)(wn,z.L.Malaysia,"Malaysia"),wn),Sn=(0,c.forwardRef)((function(n,e){var t=n.loadingPayment,s=n.backToStepOne,d=(0,w.A)().formatMessage,u=(0,c.useState)(Dn),g=u[0],f=u[1],b=(0,c.useState)({}),k=b[0],A=b[1],C=(0,c.useRef)(null),_=(0,D.Jf)(),M=_.selectedPaymentValue,Y=_.selectedSubPaymentValue,E=_.providers,N=_.computedPrice,S=(0,y.d)().isMobileOrTablet,F=(0,x.$)().locale;(0,c.useImperativeHandle)(e,(function(){return{getFormData:function(){return(0,i.A)((function(){var n;return(0,o.__generator)(this,(function(e){return n=[],Object.keys(k).forEach((function(e){var t=k[e];"success"===(null===t||void 0===t?void 0:t.status)&&t.url&&n.push(t.url)})),[2,(0,r.A)((0,a.A)({},g),{prescriptionUrls:n})]}))}))()},startUploadPrescription:function(){return(0,i.A)((function(){var n,e,t,i,l,c,s,u,p,h;return(0,o.__generator)(this,(function(g){switch(g.label){case 0:if(n=Object.keys(k).filter((function(n){var e;return null===(e=k[n])||void 0===e?void 0:e.fileObject})),0===n.length)throw f((function(n){return(0,r.A)((0,a.A)({},n),{prescription:(0,r.A)((0,a.A)({},n.prescription),{error:d({id:"vaccination.payment.prescription.required",defaultMessage:"Please upload at least one prescription file"}),touched:!0})})})),new Error("No prescription files selected");e=[],t=0,i=!0,l=!1,c=void 0,g.label=1;case 1:g.trys.push([1,6,7,8]),s=function(){var n,i,l,c,s,d,u;return(0,o.__generator)(this,(function(o){switch(o.label){case 0:if(n=p.value,!(null===(i=k[n])||void 0===i?void 0:i.fileObject))return[2,"continue"];if("success"===i.status&&i.url)return e.push(i.url),[2,"continue"];A((function(e){var t=e[n];return t?(0,r.A)((0,a.A)({},e),(0,sn.A)({},n,(0,r.A)((0,a.A)({},t),{status:"loading"}))):e})),o.label=1;case 1:return o.trys.push([1,7,,8]),l=window.location.href.includes("localhost"),(c=new FormData).append("file",i.fileObject),l?(d={URL:"File2"===n?"":"https://cdn-hermes.hellohealthgroup.com/2026/01/c73bb9c0c77b33740c67833e5081c2b25b7e2f8b01b88c15e5c4743617476022.png",message:"Upload Successful",status:!0},[3,4]):[3,2];case 2:return[4,(0,v.px)((0,v.Gx)(m.R.POST_IMAGE_UPLOAD),"POST",{data:c,headers:{"Content-Type":"multipart/form-data"}})];case 3:d=o.sent(),o.label=4;case 4:return s=d,l?[4,new Promise((function(n){return setTimeout(n,1e3)}))]:[3,6];case 5:o.sent(),o.label=6;case 6:if(!(u=(null===s||void 0===s?void 0:s.URL)||""))throw new Error("No URL returned");return e.push(u),A((function(e){var t=e[n];return t?(0,r.A)((0,a.A)({},e),(0,sn.A)({},n,(0,r.A)((0,a.A)({},t),{status:"success",url:u}))):e})),[3,8];case 7:return o.sent(),t++,A((function(e){var t=e[n];return t?(0,r.A)((0,a.A)({},e),(0,sn.A)({},n,(0,r.A)((0,a.A)({},t),{status:"failed"}))):e})),[3,8];case 8:return[2]}}))},u=n[Symbol.iterator](),g.label=2;case 2:return(i=(p=u.next()).done)?[3,5]:[5,(0,o.__values)(s())];case 3:g.sent(),g.label=4;case 4:return i=!0,[3,2];case 5:return[3,8];case 6:return h=g.sent(),l=!0,c=h,[3,8];case 7:try{i||null==u.return||u.return()}finally{if(l)throw c}return[7];case 8:if(0===e.length)throw f((function(n){return(0,r.A)((0,a.A)({},n),{prescription:(0,r.A)((0,a.A)({},n.prescription),{error:d({id:"vaccination.payment.prescription.uploadFailed",defaultMessage:"Failed to upload prescription files. Please try again."}),touched:!0})})})),new Error("Failed to upload prescription files");if(t>0)throw f((function(n){return(0,r.A)((0,a.A)({},n),{prescription:(0,r.A)((0,a.A)({},n.prescription),{error:d({id:"vaccination.payment.prescription.uploadFailed",defaultMessage:"Some files failed to upload. Please try again."}),touched:!0})})})),new Error("Some prescription files failed to upload");return f((function(n){return(0,r.A)((0,a.A)({},n),{prescription:(0,r.A)((0,a.A)({},n.prescription),{error:""})})})),[2,e]}}))}))()},isFormValid:function(){var n=Object.keys(g).find((function(n){return!!(N.show_delivery_fee||"country"!==n&&"zipCode"!==n&&"addressLine"!==n&&"city"!==n)&&(!(!N.prescription_required&&"prescription"===n)&&(g[n].error||!g[n].touched))}));return Object.keys(g).map((function(n){g[n].touched||f((function(e){return(0,r.A)((0,a.A)({},e),(0,sn.A)({},n,(0,r.A)((0,a.A)({},e[n]),{value:g[n].value,error:T(n,g[n].value)})))}))})),!n}}}));var T=function(n,e){if("phone"===n)return window.intlTelInputUtils&&window.intlTelInputUtils.isValidNumber(String(e),"vn")?"":"error.pleaseEnterAValidPhone";if("age"===n)return Number(e)>=18&&Number(e)===parseInt(e)?"":"error.pleaseEnterAValidAge";if("addressLine"===n||"city"===n||"country"===n)return N.show_delivery_fee?e.trim()?"":"common.error.requiredField":"";if("zipCode"===n){if(!N.show_delivery_fee)return"";if(!e.trim())return"common.error.requiredField";var t=g.country.value,i=e.trim();if("Malaysia"===t){return/^\d{5}$/.test(i)?"":"error.pleaseEnterAValidZipCode"}if("Vietnam"===t){return/^\d{5,6}$/.test(i)?"":"error.pleaseEnterAValidZipCode"}return""}return"prescription"===n?N.prescription_required?Object.keys(k).some((function(n){var e=k[n];return e&&null!==e.fileObject}))?"":d({id:"vaccination.payment.prescription.required",defaultMessage:"Please upload at least one prescription file"}):"":(0,v.tf)(n,e)},z=function(n,e){t||f((function(t){return(0,r.A)((0,a.A)({},t),(0,sn.A)({},n,(0,r.A)((0,a.A)({},t[n]),{value:e,touched:!0})))}))},B=function(n){t||f((function(e){return(0,r.A)((0,a.A)({},e),(0,sn.A)({},n,(0,r.A)((0,a.A)({},e[n]),{error:T(n,e[n].value)})))}))};(0,c.useEffect)((function(){N.show_delivery_fee&&z("country",Nn[F]),requestAnimationFrame((function(){B("country")}))}),[N.show_delivery_fee,F]);var P=(0,c.useMemo)((function(){var n=(0,I.ze)(M||""),e=n.provider,t=n.paymentVia,i=n.paymentType;return E.find((function(n){return n.provider===e&&n.payment_via===Number(t)&&n.payment_type===i}))}),[M,E]),O=(0,c.useMemo)((function(){var n;return null===P||void 0===P||null===(n=P.sub_payment_methods)||void 0===n?void 0:n.find((function(n){return n.code===Y}))}),[Y,null===P||void 0===P?void 0:P.sub_payment_methods]);return(0,l.FD)(l.FK,{children:[(0,l.FD)(h.a,{"data-testid":"customer-info",className:"bg-white pt-6 px-4 pb-4 lg:pb-6",children:[(0,l.Y)("h2",{className:"flex-1 text-[17px] leading-6 tracking-[-0.3px] lg:tracking-[-0.4px] text-dark font-semibold",children:d({id:"vaccination.payment.customer_info",defaultMessage:"Customer's Info"})}),(0,l.Y)("p",{className:"text-[13px] leading-5 tracking-[-0.3px] text-gray400 mt-1 mb-4",children:d({id:"vaccination.payment.customer_info.desc",defaultMessage:"We need your information to make a booking and contact you later."})}),(0,l.FD)($.q,{className:"flex gap-3 flex-col",children:[(0,l.Y)(Cn,{shrink:!!g.name.touched||!!g.name.value,className:"w-full",children:(0,l.Y)(Cn.Control,{children:(0,l.Y)(hn.k,{spellCheck:!1,type:"text",id:"name",placeholder:"",value:g.name.value,label:(0,l.Y)("p",{className:"text-[13px] leading-5 tracking-[-0.3px] text-gray700 font-medium",children:d({id:"vaccination.payment.field_name"})}),styles:Mn,error:g.name.error?(0,l.Y)("p",{className:"text-[12px]",children:d({id:g.name.error})}):void 0,onChange:function(n){return z("name",n.target.value)},onBlur:function(){return B("name")}})})}),(0,l.Y)(Cn,{shrink:!!g.phone.touched||!!g.phone.value,children:(0,l.Y)(Cn.Control,{children:(0,l.Y)(gn.p.Wrapper,{size:"md",className:"form--phone_field",label:(0,l.Y)("p",{className:"text-[13px] leading-5 tracking-[-0.3px] text-gray700 font-medium",children:d({id:"vaccination.payment.field_phone"})}),error:g.phone.error?(0,l.Y)("p",{className:"text-[12px]",children:d({id:g.phone.error})}):void 0,children:(0,l.Y)(un.n,{id:"phone",name:"phone",className:"mantine-Input-input",value:g.phone.value,spellCheck:!1,type:"tel",placeholder:" ",defaultCountry:(null===En||void 0===En?void 0:En[F])||"VN",countryCallingCodeEditable:!1,onChange:function(n){return z("phone",n)},onBlur:function(){return B("phone")}})})})}),(0,l.FD)(h.a,{className:"flex gap-3",children:[(0,l.Y)(Cn,{shrink:!!g.gender.touched||!!g.gender.value,className:"flex-1",children:(0,l.Y)(Cn.Control,{children:(0,l.Y)(un.S,{id:"gender",label:(0,l.Y)("p",{className:"text-[13px] leading-5 tracking-[-0.3px] text-gray700 font-medium",children:d({id:"vaccination.payment.field_gender"})}),name:"gender",searchable:!0,onChange:function(n){return z("gender",n)},onBlur:function(){return B("gender")},value:g.gender.value,data:[{value:"male",label:d({id:"vaccination.payment.field_gender_male"})},{value:"female",label:d({id:"vaccination.payment.field_gender_female"})}],rightSection:(0,l.Y)(pn.A,{color:H.w.colors.gray600,size:24}),styles:Mn})})}),(0,l.Y)(Cn,{shrink:!!g.age.touched||!!g.age.value,className:"flex-1",children:(0,l.Y)(Cn.Control,{children:(0,l.Y)(hn.k,{id:"age",label:(0,l.Y)("p",{className:"text-[13px] leading-5 tracking-[-0.3px] text-gray700 font-medium",children:d({id:"vaccination.payment.field_age"})}),onChange:function(n){return z("age",n.target.value)},onBlur:function(){return B("age")},value:g.age.value,error:g.age.error?(0,l.Y)("p",{className:"text-[12px]",children:d({id:g.age.error})}):void 0,styles:Mn,placeholder:"",type:"number"})})})]}),(0,l.Y)(Cn,{shrink:!!g.email.touched||!!g.email.value,className:"w-full",children:(0,l.Y)(Cn.Control,{children:(0,l.Y)(hn.k,{id:"email",type:"text",placeholder:"",label:(0,l.Y)("p",{className:"text-[13px] leading-5 tracking-[-0.3px] text-gray700",children:d({id:"vaccination.payment.field_email"})}),styles:Mn,error:g.email.error?(0,l.Y)("p",{className:"text-[12px]",children:d({id:g.email.error})}):void 0,onChange:function(n){return z("email",n.target.value)},onBlur:function(){return B("email")}})})}),N.show_delivery_fee&&(0,l.FD)(h.a,{className:"flex flex-col gap-2",children:[(0,l.Y)("p",{className:"text-dark font-semibold text-[15px] leading-6 tracking-[-0.3px] pt-4 md:pt-5",children:d({id:"vaccination.payment.shipping_address",defaultMessage:"Shipping address"})}),(0,l.Y)(Cn,{shrink:!!g.addressLine.touched||!!g.addressLine.value,className:"w-full",children:(0,l.Y)(Cn.Control,{children:(0,l.Y)(hn.k,{spellCheck:!1,type:"text",id:"addressLine",placeholder:"",value:g.addressLine.value,label:(0,l.Y)("p",{className:"text-[13px] leading-5 tracking-[-0.3px] text-gray700 font-medium",children:d({id:"vaccination.payment.field_address_line",defaultMessage:"Address line"})}),styles:Mn,error:g.addressLine.error?(0,l.Y)("p",{className:"text-[12px]",children:d({id:g.addressLine.error})}):void 0,onChange:function(n){return z("addressLine",n.target.value)},onBlur:function(){return B("addressLine")}})})}),(0,l.Y)(Cn,{shrink:!!g.city.touched||!!g.city.value,className:"w-full",children:(0,l.Y)(Cn.Control,{children:(0,l.Y)(hn.k,{spellCheck:!1,type:"text",id:"city",placeholder:"",value:g.city.value,label:(0,l.Y)("p",{className:"text-[13px] leading-5 tracking-[-0.3px] text-gray700 font-medium",children:d({id:"vaccination.payment.field_city",defaultMessage:"City"})}),styles:Mn,error:g.city.error?(0,l.Y)("p",{className:"text-[12px]",children:d({id:g.city.error})}):void 0,onChange:function(n){return z("city",n.target.value)},onBlur:function(){return B("city")}})})}),(0,l.FD)(h.a,{className:"flex gap-3",sx:{"& .mantine-Select-wrapper":{backgroundColor:"#f2f2f2"}},children:[(0,l.Y)(Cn,{shrink:!!g.country.touched||!!g.country.value,className:"flex-1 pointer-events-none",children:(0,l.Y)(Cn.Control,{children:(0,l.Y)(un.S,{id:"country",label:(0,l.Y)("p",{className:"text-[13px] leading-5 tracking-[-0.3px] text-gray700 font-medium",children:d({id:"vaccination.payment.field_country",defaultMessage:"Country"})}),name:"country",disabled:!0,value:g.country.value,data:[{value:"Vietnam",label:d({id:"vaccination.payment.field_country_vn",defaultMessage:"Vietnam"})},{value:"Malaysia",label:d({id:"vaccination.payment.field_country_my",defaultMessage:"Malaysia"})}],rightSection:(0,l.Y)(pn.A,{color:H.w.colors.gray600,size:24}),styles:Mn,className:"rounded-lg cursor-not-allowed"})})}),(0,l.Y)(Cn,{shrink:!!g.zipCode.touched||!!g.zipCode.value,className:"flex-1",children:(0,l.Y)(Cn.Control,{children:(0,l.Y)(hn.k,{spellCheck:!1,type:"text",id:"zipCode",placeholder:"",value:g.zipCode.value,label:(0,l.Y)("p",{className:"text-[13px] leading-5 tracking-[-0.3px] text-gray700 font-medium",children:d({id:"vaccination.payment.field_zip_code",defaultMessage:"ZIP / Postal Code"})}),styles:Mn,error:g.zipCode.error?(0,l.Y)("p",{className:"text-[12px]",children:d({id:g.zipCode.error})}):void 0,onChange:function(n){return z("zipCode",n.target.value)},onBlur:function(){return B("zipCode")}})})})]})]}),N.prescription_required&&(0,l.Y)(An,{ref:C,prescriptionFiles:k,setPrescriptionFiles:A,formData:g,setFormData:f,onValidate:B,loadingPayment:t})]})]}),P&&(0,l.FD)(h.a,{"data-testid":"payment-method-step-2",className:"bg-white pb-5 lg:pb-6",children:[(0,l.FD)(h.a,{className:"flex gap-3 items-center justify-between px-4 pt-6 pb-4",children:[(0,l.Y)("h2",{className:"flex-1 text-[17px] leading-6 tracking-[-0.4px] text-dark font-semibold",children:d({id:"vaccination.payment.method",defaultMessage:"Payment Method"})}),(0,l.FD)("p",{onClick:function(){return s(!0)},className:"text-[13px] leading-5 tracking-[-0.3px] text-gray700 font-medium cursor-pointe flex items-center",children:[(0,l.Y)("span",{className:"align-middle",children:d({id:"vaccination.payment.change_method",defaultMessage:"Change method"})}),(0,l.Y)(p.A,{size:16,className:"align-middle"})]})]}),(0,l.Y)(h.a,{className:"px-4",children:(0,l.FD)(h.a,{className:"bg-neutral50 rounded-xl p-4 flex items-center gap-2",children:[(0,l.Y)("img",{src:(null===O||void 0===O?void 0:O.logo)||P.logo,alt:(null===O||void 0===O?void 0:O.title)||P.title,className:"w-6 h-6"}),(0,l.Y)("p",{className:"text-[13px] leading-5 tracking-[-0.3px] text-dark font-medium",children:(null===O||void 0===O?void 0:O.title)?"".concat(d({id:"vaccination.payment.online_banking"})," - ").concat(null===O||void 0===O?void 0:O.title):P.title})]})})]}),S&&(0,l.Y)(Yn,{})]})})),Fn={width:"142px",height:"32px"},Tn=function(n){var e=n.children,t=n.stepOneProps,i=n.renderedStepTwo,r=n.renderedStepTwoActions,o=n.paymentMethodProps,c=n.handleContinueToNextStep,u=(0,D.Jf)(),g=u.computedPrice,m=u.currentStep,f=u.vaccinationDetail,v=(0,w.A)().formatMessage,b=(0,N.T)().displayDiscountPrice,y=(0,k.A)(),x=function(){return b?(0,l.FD)(h.a,{className:"flex mb-2 py-2 gap-2 mx-[-16px] px-4 relative",style:{background:"linear-gradient(180deg, #E3FFD7 0%, #FFFFFF 100%)"},children:[(0,l.Y)("img",{src:s.C.getAssetPath("payment/fireworks.png"),alt:"fireworkds",className:"w-5 h-5"}),(0,l.Y)("p",{className:"text-[13px] leading-5 font-medium tracking-[-0.3px] text-gray700",children:v({id:"vaccination.payment.details_saving",defaultMessage:"You've saved {number}"},{number:(0,l.Y)("span",{className:"font-bold",children:b})})})]}):null};return(0,l.FD)(l.FK,{children:[(0,l.FD)(h.a,{className:"bg-neutral50 min-h-screen",children:[(0,l.Y)(h.a,{className:"bg-white py-6 px-4 border-b border-solid border-neutral100",children:(0,l.FD)(h.a,{className:"max-w-[1060px] mx-auto flex justify-between items-center",children:[(0,l.Y)(E.F,{customSize:Fn}),(0,l.Y)(L.tn,{})]})}),m===$.RZ.ONE&&(0,l.FD)(h.a,{className:"max-w-[1060px] min-h-[calc(100vh_-_81px)] mx-auto flex gap-8",children:[(0,l.FD)(h.a,{className:"flex-1 pt-8 min-w-0",children:[(0,l.Y)(Y,{}),(0,l.Y)(ln,(0,a.A)({},t)),(0,l.Y)(h.a,{className:"mt-3",children:(0,l.Y)(I.Ay,(0,a.A)({},o))})]}),(0,l.Y)(h.a,{className:"w-[1px] bg-neutral100"}),(0,l.FD)(h.a,{className:"flex-1 pt-8 min-w-0",children:[f&&(0,l.Y)(h.a,{className:"p-4 rounded-lg bg-white",children:(0,l.Y)(L.UB,{stepNumber:m,vaccinationDetail:f,className:"",showDeliveryFee:g.show_delivery_fee})}),!g.show_delivery_fee&&(0,l.Y)(h.a,{className:"mt-4",children:(0,l.Y)(T,{})}),(0,l.Y)(h.a,{className:"mt-4 rounded-lg overflow-hidden",children:(0,l.Y)(O,{loadingPrice:t.loadingPrice,action:(0,l.FD)(h.a,{className:"pt-1",children:[x(),(0,l.FD)(d.B,{size:"lg",fullWidth:!0,onClick:c,dataEventAction:"Payment Confirm to Step 2",dataEventCategory:"Vaccination",dataEventLabel:y,children:[(0,l.Y)("span",{className:"text-[15px] leading-6 tracking-[-0.3px] font-medium",children:v({id:"vaccination.payment.btn_confirm",defaultMessage:"Confirm Payment Method"})}),(0,l.Y)(p.A,{color:"currentColor",size:22,className:"ml-1.5"})]})]})})})]})]}),m===$.RZ.TWO&&(0,l.FD)(h.a,{className:"max-w-[1060px] min-h-[calc(100vh_-_81px)] mx-auto flex gap-8",children:[(0,l.Y)(h.a,{className:"flex-1 py-8 min-w-0",children:(0,l.Y)(h.a,{className:"flex gap-3 flex-col",children:i})}),(0,l.Y)(h.a,{className:"w-[1px] bg-neutral100"}),(0,l.FD)(h.a,{className:"flex-1 py-8 min-w-0",children:[f&&(0,l.Y)(h.a,{className:"p-4 rounded-lg bg-white",children:(0,l.Y)(L.UB,{stepNumber:m,vaccinationDetail:f,className:"",showDeliveryFee:g.show_delivery_fee})}),(0,l.Y)(h.a,{className:"mt-4",children:(0,l.Y)(Yn,{action:(0,l.FD)(h.a,{className:"pb-6 pt-1",children:[x(),r]})})})]})]})]}),e]})},In=t(37639),zn=function(n){var e,C=n.vaccinationDetail,_=(0,c.useRef)(null),M=(0,y.d)().isMobileOrTablet,S=(0,x.$)().query,F=(0,w.A)().formatMessage,z=String(S.referral_code||""),B=String(S.ref_id||""),P=Number(S.pkg_id||"0"),O=String(S.pkg_name||""),H=(0,k.A)(),j=(0,c.useState)(!1),R=j[0],V=j[1],U=(0,c.useState)(!1),G=U[0],q=U[1],K=(0,D.Zb)(),W=K.isOpenVoucher,J=K.setIsOpenVoucher,Z=K.listVoucher,Q=K.setListVoucher,X=K.appliedVoucher,nn=K.setAppliedVoucher,en=K.referralData,tn=K.setReferralData,rn=K.appliedReferralCode,on=K.setAppliedReferralCode,ln=K.loading,sn=K.setLoading,dn=K.count,un=K.setVoucherStore,pn=(0,D.Jf)(),hn=pn.selectedPaymentValue,gn=pn.computedPrice,mn=pn.setComputedPrice,fn=pn.providers,vn=pn.currentStep,bn=pn.setCurrentStep,yn=pn.selectedSubPaymentValue,kn=(0,N.T)(),xn=kn.displayTotalPrice,wn=kn.displayPricePayTenPercentage,An=kn.displayPriceRemaining,Cn=kn.displayDiscountPrice,_n=C||{},Mn=_n.id,Dn=_n.hospital_branch,Yn=_n.name,En=_n.organization,Nn=_n.product_type,Fn=Dn||{},zn=Fn.id,Bn=Fn.name,Pn=En||{},On=Pn.id,Ln=Pn.name,Hn=P||Mn,jn=P?f.V.vaccine_package:null===f.L||void 0===f.L?void 0:f.L[Nn],Rn=(0,c.useContext)(A.B).pushNotifications,Vn=function(){J(!1)};(0,c.useEffect)((function(){mn((0,r.A)((0,a.A)({},$.vp),{original_price:C.price_discount||C.price,final_price:C.price_discount||C.price}))}),[C]),(0,c.useEffect)((function(){z&&(0,v.px)((0,v.$k)(m.R.GET_VALIDATE_REFERRAL_CODE),"POST",{data:{product_id:Hn,product_type:jn,clinic_id:zn,hospital_id:On,code:z,phone:"+84000000000"}}).then((function(n){(null===n||void 0===n?void 0:n.referral)?(tn({id:n.referral.code,discount_value:n.referral.discount_value,discount_type:n.referral.discount_type,voucher_code:n.referral.code,voucher_name:n.referral.name,voucher_description:n.referral.description,voucher_type:"",brand:n.referral.brand,expires_at:n.referral.expires_at,created_at:n.referral.created_at}),on(n.referral.code)):(tn(null),on(""))}))}),[z,Hn]),(0,c.useEffect)((function(){sn(!0),(0,v.px)((0,v.$k)(m.R.GET_VACCINATION_VOUCHERS,{id:Hn,clinicId:zn,hospitalId:On,type:jn}),"GET").then((function(n){var e,t;(null===n||void 0===n||null===(e=n.data)||void 0===e||null===(t=e.vouchers)||void 0===t?void 0:t.length)&&Q(n.data.vouchers)})).finally((function(){sn(!1)}))}),[Hn]),(0,c.useEffect)((function(){var n=!1;V(!0);var e={product_id:Hn,clinic_id:zn,hospital_id:On,type:jn,voucher_code:(null===X||void 0===X?void 0:X.voucher_code)||"",referral_code:rn};return g.W.withCached(JSON.stringify(e),(function(){return(0,v.px)((0,v.$k)(m.R.GET_VACCINATION_PRICE),"POST",{data:e})})).then((function(e){if(!n){if("success"===(null===e||void 0===e?void 0:e.message)){var t=(0,r.A)((0,a.A)({},$.vp,e),{original_price:e.original_price,final_price:e.final_price,voucher_discount_value:e.voucher_discount_value||0,referral_discount_value:e.referral_discount_value||0});return mn(t)}throw new Error("")}})).catch((function(n){console.error(n),mn((0,r.A)((0,a.A)({},$.vp),{original_price:C.price_discount||C.price,final_price:C.price_discount||C.price}))})).finally((function(){V(!1)})),function(){n=!0}}),[Hn,X,rn]),(0,c.useEffect)((function(){return function(){un(D.Ou)}}),[Hn]);var Un=function(n,e,t){J(!1),V(!1),nn(n),on((null===e||void 0===e?void 0:e.voucher_code)||""),mn(t),n&&un({count:dn+1})},Gn=C.price_discount,qn=C.price,Kn=C.price_unit,Wn=Gn||qn,Jn=function(){var n=(0,i.A)((function(){var n,e,t,i,a,r,l,c,s,d,u,p,h,g,f,b;return(0,o.__generator)(this,(function(o){switch(o.label){case 0:if(G||!hn)return[2];if(!(null===(n=_.current)||void 0===n?void 0:n.isFormValid()))return[2];if(t=[],!gn.prescription_required)return[3,4];o.label=1;case 1:return o.trys.push([1,3,,4]),[4,null===(i=_.current)||void 0===i?void 0:i.startUploadPrescription()];case 2:return t=o.sent(),(null===(a=_.current)||void 0===a?void 0:a.isFormValid())?[3,4]:[2];case 3:return r=o.sent(),console.error("Error uploading prescription:",r),Rn({message:F({id:"vaccination.payment.prescription.uploadError",defaultMessage:"Failed to upload prescription files. Please try again."}),type:"danger"}),[2];case 4:return[4,null===(e=_.current)||void 0===e?void 0:e.getFormData()];case 5:l=o.sent(),t.length>0&&(l.prescriptionUrls=t),c=(0,I.ze)(hn),s=c.paymentVia,d=c.provider,u=c.providerTitle,p=c.paymentType,o.label=6;case 6:return o.trys.push([6,10,,11]),q(!0),rn?[4,(0,v.px)((0,v.$k)(m.R.GET_VALIDATE_REFERRAL_CODE),"POST",{data:{product_id:Hn,product_type:jn,clinic_id:zn,hospital_id:On,code:rn,phone:l.phone.value}})]:[3,8];case 7:if("ok"!==(null===(g=o.sent())||void 0===g?void 0:g.message))return q(!1),[2,Rn({message:F({id:"vaccination.payment.failed_referral",defaultMessage:"Invalid referral code, please try again later"}),type:"danger"})];o.label=8;case 8:return[4,(0,v.px)((0,v.fK)(m.R.GET_PAYMENT_URL,{provider:d.toLowerCase()}),"POST",{data:{ref_id:B,order_info:Yn,amount:gn.final_price,payment_via:Number(s),payment_type:p,return_url:"".concat(window.location.origin).concat(window.location.pathname),provider:d.toLowerCase(),product_id:Hn,product_parent_id:Mn,price_unit:C.price_unit,clinic_id:zn,clinic_name:Bn,product_name:Yn,product_package_name:O||"",hospital_id:On,hospital_name:Ln,hospital_branch_name:null===(h=C.hospital_branch)||void 0===h?void 0:h.name,image:C.logo,type:jn,voucher_code:null===X||void 0===X?void 0:X.voucher_code,referral_code:rn,customer_info:{name:(l.name.value||"").trim(),age:Number(l.age.value),gender:l.gender.value,email:(l.email.value||"").trim(),phone:(l.phone.value||"").trim()},customer_address:{country:(l.country.value||"").trim(),zip_or_postal_code:(l.zipCode.value||"").trim(),address_line:(l.addressLine.value||"").trim(),city:(l.city.value||"").trim()},prescription:l.prescriptionUrls,sub_payment_method_code:yn}})];case 9:if(f=o.sent(),!(b=f.data.url))throw new Error("");return window.location.href=b,[3,11];case 10:return o.sent(),Rn({message:F({id:"vaccination.payment.failed_desc",defaultMessage:"There was an issue with your {provider} transaction. Please try again or use another payment method."},{provider:u}),type:"danger"}),[3,11];case 11:return q(!1),[2]}}))}));return function(){return n.apply(this,arguments)}}();(0,c.useEffect)((function(){window.intlTelInputUtils||t(24183)}),[]);var Zn,Qn=(0,c.useMemo)((function(){var n=(0,I.ze)(hn||""),e=n.provider,t=n.paymentVia,i=n.paymentType;return fn.find((function(n){return n.provider===e&&n.payment_via===Number(t)&&n.payment_type===i}))}),[hn,fn]),$n={referralData:en,appliedReferralCode:rn,appliedVoucher:X,loadingVoucher:ln,loadingPrice:R,handleClickOpenVoucher:function(){J(!0)},vaccinationDetail:C,displayPricePayNow:wn,displayPriceRemaining:An},Xn={loadingPrice:R,displayPricePayNow:wn,displayPriceRemaining:An},ne=function(){if(!hn)return ee(),Rn({message:F({id:"vaccination.payment.error_select_method",defaultMessage:"Please select a payment method"}),type:"danger"});bn($.RZ.TWO)},ee=function(){requestAnimationFrame((function(){var n;null===(n=document.querySelector("#payment-method-step-1"))||void 0===n||n.scrollIntoView({behavior:"smooth",block:"start"})}))},te=vn===$.RZ.TWO&&(0,l.Y)(Sn,{ref:_,loadingPayment:G,backToStepOne:function(){bn(1),ee()}}),ie=vn===$.RZ.TWO&&(0,l.FD)(h.a,{className:"flex gap-2",children:[(0,l.Y)(d.B,{size:"lg","data-testid":"back",variant:"tertiary",onClick:function(){return!G&&bn($.RZ.ONE)},dataEventAction:"Payment Back to Step 1",dataEventCategory:"Vaccination",dataEventLabel:H,children:(0,l.Y)(u.A,{})}),(0,l.Y)(d.B,{onClick:Jn,"data-testid":"confirm-and-pay",size:"lg",className:"flex-1",loading:G,dataEventAction:"Payment Success",dataEventCategory:"Vaccination",dataEventLabel:H,children:(0,l.Y)("span",{className:"text-[15px] leading-6 tracking-[-0.3px] font-medium",children:F({id:"vaccination.payment.pay_final_amount",defaultMessage:"Pay {amount}"},{amount:(null===Qn||void 0===Qn?void 0:Qn.payment_type)===I.Ai.ten_percent?wn:xn})})})]}),ae=function(){return Cn?(0,l.FD)(l.FK,{children:[(0,l.Y)(h.a,{className:"absolute pointer-events-none top-0 left-0 right-0 h-9",style:{background:"linear-gradient(180deg, #E3FFD7 0%, #FFFFFF 100%)"}}),(0,l.FD)(h.a,{className:"flex mb-4 gap-2 relative",children:[(0,l.Y)("img",{src:s.C.getAssetPath("payment/fireworks.png"),alt:"fireworkds",className:"w-5 h-5"}),(0,l.Y)("p",{className:"text-[13px] leading-5 font-medium tracking-[-0.3px] text-gray700",children:F({id:"vaccination.payment.details_saving",defaultMessage:"You've saved {number}"},{number:(0,l.Y)("span",{className:"font-bold",children:Cn})})})]})]}):null};return M?(0,l.FD)(h.a,{className:"bg-neutral50",children:[(0,l.Y)(E.A,{}),(0,l.FD)(h.a,{className:"flex flex-col gap-3 pb-[120px]",children:[(0,l.Y)(L.Ay,{stepNumber:vn,vaccinationDetail:C,showDeliveryFee:gn.show_delivery_fee,children:vn===$.RZ.ONE&&(0,l.Y)(Y,{})}),vn===$.RZ.ONE&&!gn.show_delivery_fee&&(0,l.Y)(T,{}),vn===$.RZ.ONE&&(0,l.Y)(cn,(0,a.A)({},$n)),te]}),vn===$.RZ.ONE&&(0,l.FD)(h.a,{"data-testid":"continue",onClick:ne,className:"fixed bottom-0 z-[1] left-0 right-0 border-t border-solid border-neutral100 py-2 px-4 bg-white",children:[ae(),(0,l.FD)(d.B,{size:"lg",fullWidth:!0,dataEventAction:"Payment Confirm to Step 2",dataEventCategory:"Vaccination",dataEventLabel:H,children:[(0,l.Y)("span",{className:"text-[15px] leading-6 tracking-[-0.3px] font-medium",children:F({id:"vaccination.payment.btn_confirm",defaultMessage:"Confirm Payment Method"})}),(0,l.Y)(p.A,{color:"currentColor",size:22,className:"ml-1.5"})]})]}),vn===$.RZ.TWO&&(0,l.FD)(h.a,{className:"fixed z-[1] bottom-0 left-0 right-0 border-t border-solid border-neutral100 py-2 px-4 bg-white",children:[ae(),ie]}),(0,l.Y)(an,{opened:W,listVoucher:Z,onClose:Vn,productPrice:Wn,priceUnit:Kn,onSubmit:Un,selectedVoucher:X,computedPrice:gn,vaccinationDetail:C,appliedReferralCode:rn,referralData:en,type:jn,packageId:P}),(0,l.Y)(In.A,{className:"!top-4 !right-4 !left-4"}),(0,l.Y)(b.A,{excludeIds:[null===(e=C.hospital_branch)||void 0===e?void 0:e.id]})]}):(0,l.FD)(Tn,{stepOneProps:$n,paymentMethodProps:Xn,handleContinueToNextStep:ne,renderedStepTwo:te,renderedStepTwoActions:ie,children:[(0,l.Y)(an,{opened:W,listVoucher:Z,onClose:Vn,productPrice:Wn,priceUnit:Kn,onSubmit:Un,selectedVoucher:X,computedPrice:gn,vaccinationDetail:C,appliedReferralCode:rn,referralData:en,type:jn,packageId:P}),(0,l.Y)(In.A,{className:"!top-4 !right-4"}),!gn.show_delivery_fee&&(0,l.Y)(b.A,{excludeIds:[null===(Zn=C.hospital_branch)||void 0===Zn?void 0:Zn.id]})]})}},59869:function(n,e,t){"use strict";var i=t(2445),a=t(37597),r=t(73419),o=t(28636),l=t.n(o),c=t(67722),s=t(39636),d=t(40959);e.A=function(n){var e=n.vaccinationDetail,t=(0,r.$)(),o=t.locale,u=t.query,p=t.pathname,h=d.ElQ[o||"vi-VN"].SITE_NAME_FORMATTED;return(0,i.Y)(a.f,{SEOData:{SEOTitle:e.display_name,SEOImage:e.logo,SEODescription:(0,c.Yp)(e.description||"",d.ZCt),siteName:h,seoType:"website"},seoCustom:!0,locale:o,routerPathname:p,routerQuery:u,nextHead:function(n){var e=n.children;return(0,i.FD)(l(),{children:[(0,i.Y)(s.H,{locale:o,includeFavicons:!1}),e]})},siteType:"helloSites"})}},45295:function(n,e,t){"use strict";t.d(e,{S:function(){return a}});var i=t(95564),a=function(n,e,t){var a,r=n.asPath,o=n.push,l=n.locale,c=new URLSearchParams({returnUrl:"".concat(r)});o("/".concat(null===(a=i.localisedSlugs[l])||void 0===a?void 0:a.USER_REVIEWS,"/").concat(e,"-").concat(t,"?").concat(c.toString()))}},76223:function(n,e,t){"use strict";t.d(e,{UW:function(){return d},qP:function(){return u}});var i,a=t(38971),r=t(73884),o=t(26273),l=t(59850),c=t(84091),s=t(13034),d=(i={},(0,a.A)(i,o.L.Vietnam,{subscribeLink:s.$x,app:"Zalo"}),(0,a.A)(i,o.L.Malaysia,{subscribeLink:s._s,app:"WhatsApp"}),(0,a.A)(i,o.L.Indonesia,{subscribeLink:s.ye,app:"WhatsApp"}),(0,a.A)(i,o.L.PhilippinesEnglish,{subscribeLink:"",app:"WhatsApp"}),(0,a.A)(i,o.L.Taiwan,{subscribeLink:"",app:"WhatsApp"}),(0,a.A)(i,o.L.Thailand,{subscribeLink:"",app:"WhatsApp"}),i),u=function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=n.shouldCheckEnableBooking,t=void 0===e||e,i=(0,r.useState)(!1),a=i[0],o=i[1],s=(0,r.useState)(!0),d=s[0],u=s[1],p=(0,r.useCallback)((function(n){u(!0),(0,c.px)((0,c.fK)(l.R.GET_ENABLE_BOOKING,n),"GET").then((function(n){var e=n.data;(null===e||void 0===e?void 0:e.can_book_now)&&o(!0)})).finally((function(){u(!1)}))}),[]);return t?{enableBooking:a,setEnableBooking:o,getEnableBooking:p,loading:d}:{enableBooking:!1,loading:!1,setEnableBooking:o,getEnableBooking:function(){}}}},33714:function(n,e,t){"use strict";t.d(e,{dD:function(){return a}});var i=t(26273);t(84091);var a=[i.L.Vietnam,i.L.Malaysia]},90700:function(n,e,t){"use strict";t.d(e,{Ee:function(){return c}});var i=t(11851),a=t(85862),r=t(35291),o=t(37597),l=t(48085),c=(r.w.colors.primaryBase,(0,i.A)(o.L.Search,{target:"e1yq15h32"})("&.input-desktop{box-shadow:unset;border:1px solid ",r.w.colors.gray200,";border-radius:",(0,l.D)(8),";input[data-with-icon]{padding-left:calc(3.125rem - 1rem + 8px);}input{height:",(0,l.D)(44),";}}"))},27401:function(n,e,t){"use strict";t.r(e),t.d(e,{MasterDetail:function(){return V}});var i,a,r=t(95586),o=t(38971),l=t(23329),c=t(1078),s=t(2445),d=t(73884),u=t.n(d),p=t(60304),h=t(57077),g=t(50970),m=t(10333),f=t(78979),v=t(84091),b=t(97183),y=t(48403),k=t(5793),x=t(7411),w=t(88491),A=t(73419),C=t(40959),_=t(28636),M=t.n(_),D=t(87388),Y=t.n(D),E=t(58065),N=t(80264),S=t(36259),F=t(39636),T=t(63419),I=t(64563),z=t(28041),B=t(12577),P=t(78414),O=t(51539),L=function(n){var e=n.activePage,t=(0,d.useState)(!1),i=t[0],a=t[1];return(0,z.f)(i),(0,s.FD)(s.FK,{children:[(0,s.FD)(O.hT,{children:[(0,s.Y)(P.v,{animated:i,className:"hamburger",onClick:function(){return a(!0)}}),(0,s.Y)(I.L,{type:"hellocare"}),(0,s.Y)(B.A,{})]}),i&&(0,s.Y)(O.ny,{onClick:function(){return a(!1)}}),(0,s.Y)(O.E5,{"data-opened":i,children:(0,s.Y)(y.oR,{activePage:e,isMenuOpened:i,onCloseMobileMenu:function(n){return a(!n)}})})]})},H=t(8758);function j(){return j=Object.assign?Object.assign.bind():function(n){for(var e=1;e(.*)<\/title>/),i=" - Page ".concat(Y," of ").concat(D),a=Y&&1!==Y&&t?v.apiMetaData.replace(t[0],t[0].includes("-")?t[0].replace("-",i+" - "):"".concat(t[1].concat(i),"")).replace(''),'')):v.apiMetaData;if(!(n=(0,F.Ay)(a,{trim:!0})).find((function(n){var e,t;return"og:image"===(null===(e=n.props)||void 0===e?void 0:e.property)||"og:image:secure_url"===(null===(t=n.props)||void 0===t?void 0:t.property)}))){var r,l,c,s,d,u,p="".concat(J,"/images/").concat(k,".png");n=(0,N.A)(n).concat([(0,o.Y)("meta",{property:"og:image",content:(null===(r=v.openGraph)||void 0===r?void 0:r.image)||B||p||""},"og:image"),(0,o.Y)("meta",{property:"og:image:secure_url",content:(null===(l=v.openGraph)||void 0===l?void 0:l.image)||B||p},"og:image:secure_url"),(0,o.Y)("meta",{property:"og:image:width",content:(null===(c=v.openGraph)||void 0===c?void 0:c.imageWidth)&&String(null===(s=v.openGraph)||void 0===s?void 0:s.imageWidth)||O&&String(O)||"1200"},"og:image:width"),(0,o.Y)("meta",{property:"og:image:height",content:(null===(d=v.openGraph)||void 0===d?void 0:d.imageHeight)&&String(null===(u=v.openGraph)||void 0===u?void 0:u.imageHeight)||L&&String(L)||"630"},"og:image:height")])}}return n}),[v.apiMetaData,v.openGraph,B,L,O,Y,K,D,k,J]),$="".concat(J,"/images/").concat(k,".png"),X="th-TH"===k?"https://fonts.googleapis.com/css2?family=Noto+Sans+Thai:wdth,wght@62.5..100,100..900&display=swap":"https://fonts.googleapis.com/css2?family=Inter:wght@400..800&display=swap";return(0,o.FD)(A,{children:[(0,o.Y)("link",{rel:"preconnect",href:"https://fonts.gstatic.com"}),(0,o.Y)("link",{rel:"preload",href:X,as:"style"}),(0,o.Y)("link",{rel:"stylesheet",href:X}),(0,o.Y)("link",{rel:"preconnect",href:"https://health-care.hellohealthgroup.com/"}),(0,o.Y)("meta",{charSet:"UTF-8"}),(0,o.Y)("meta",{name:"viewport",content:"width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no, viewport-fit=cover"}),(0,o.Y)("meta",{name:"google",content:"notranslate"}),(0,o.Y)("meta",{name:"robots",content:q}),(0,o.Y)("meta",{property:"fb:app_id",content:"653713035016537"}),j.map((function(n,e){return(0,o.Y)("meta",(0,i.A)({},n),e)})),(0,o.Y)("meta",{name:"theme-color",content:"#2c87f3"}),(0,o.Y)("meta",{name:"page_type",content:"Home"}),(0,o.Y)("meta",{name:"page_platform",content:"WEB"}),(0,o.Y)("meta",{name:"page_language",content:W}),(0,o.Y)("meta",{name:"ahrefs-site-verification",content:"46e7521a2b89a1013149c4685bbe02a1d36a4732fef98655142b829bc87cba4d"}),!Q&&(0,o.FD)(o.FK,{children:[(0,o.Y)("title",{children:C?T:T+" - "+(null===(e=b.ElQ[k])||void 0===e?void 0:e.SITE_NAME)}),!G&&(0,o.Y)("link",{rel:"canonical",href:"".concat(J).concat(K)}),(0,o.Y)("meta",{name:"description",content:z||(null===(t=v.openGraph)||void 0===t?void 0:t.description)}),v.schemaData&&(0,o.Y)("script",{type:"application/ld+json",className:"yoast-schema-graph",dangerouslySetInnerHTML:{__html:v.schemaData}}),(0,o.Y)("meta",{property:"og:locale",content:k}),(0,o.Y)("meta",{property:"og:type",content:P||"website"}),(0,o.Y)("meta",{property:"og:title",content:(null===(a=v.openGraph)||void 0===a?void 0:a.title)||T}),(0,o.Y)("meta",{property:"og:description",content:(null===(r=v.openGraph)||void 0===r?void 0:r.description)||z}),(0,o.Y)("meta",{property:"og:url",content:"".concat(J).concat(K)}),(0,o.Y)("meta",{property:"og:site_name",content:"".concat(J)}),(0,o.Y)("meta",{property:"og:image",content:(null===(c=v.openGraph)||void 0===c?void 0:c.image)||B||$||""}),(0,o.Y)("meta",{property:"og:image:secure_url",content:(null===(s=v.openGraph)||void 0===s?void 0:s.image)||B||$}),(0,o.Y)("meta",{property:"og:image:width",content:(null===(d=v.openGraph)||void 0===d?void 0:d.imageWidth)&&String(null===(u=v.openGraph)||void 0===u?void 0:u.imageWidth)||O&&String(O)||"1200"}),(0,o.Y)("meta",{property:"og:image:height",content:(null===(p=v.openGraph)||void 0===p?void 0:p.imageHeight)&&String(null===(h=v.openGraph)||void 0===h?void 0:h.imageHeight)||L&&String(L)||"630"}),(0,o.Y)("meta",{name:"twitter:card",content:"summary_large_image"}),(0,o.Y)("meta",{name:"twitter:title",content:(null===(g=v.twitter)||void 0===g?void 0:g.title)||T}),(0,o.Y)("meta",{name:"twitter:description",content:z}),(0,o.Y)("meta",{name:"twitter:image",content:(null===(m=v.twitter)||void 0===m?void 0:m.image)||B})]}),b.EH[W].map((function(n,e){return"link"===n.type?(0,o.Y)("link",{rel:n.rel,href:n.href,sizes:n.sizes},"favicon-".concat(e)):"meta"===n.type?(0,o.Y)("meta",{name:n.name,content:n.content},e):null})),Array.isArray(Q)&&M?Q.filter((function(n){return"canonical"!==n.props.name&&"canonical"!==n.props.rel})):Q,M&&(0,o.Y)("link",{rel:"canonical",href:M}),!v.hasNoAmp&&"vi-VN"!==k&&(0,o.Y)("link",{rel:"amphtml",href:"".concat(J).concat(K).concat(Z,"?amp=1")}),_?(0,o.Y)("script",{dangerouslySetInnerHTML:{__html:"window.dataLayer = window.dataLayer || []; window.dataLayer.push({'userID': '".concat(_,"'});")}}):null]})},I=t(37639);function z(){var n=(0,r.A)(["\n a[data-event-category='Chatbot AI'] {\n button {\n padding-left: 10px;\n padding-right: 12px;\n height: 36px;\n\n .mantine-Button-label {\n font-size: 13px;\n font-weight: 500;\n line-height: 22px;\n color: #111111;\n }\n .mantine-Button-leftIcon {\n margin-right: 2px;\n svg {\n width: 24px;\n height: 24px;\n }\n }\n }\n }\n\n input[name='search-input-menu-servicedesktop'].mantine-Input-input {\n border-color: #e4e8ec;\n border-radius: 12px;\n }\n"]);return z=function(){return n},n}var B=(0,_.Ay)(c.N).withConfig({componentId:"sc-a13cf88d-0"})(z()),P=function(n){var e=n.title,t=n.description,r=void 0===t?"":t,y=n.image,x=n.children,_=n.SEOData,D=void 0===_?{}:_,N=n.type,S=void 0===N?"website":N,F=n.isMobile,z=n.footerInfo,P=n.onTopBarAppears,O=n.schemaOrg,L=n.ssrNavMenu,H=n.sitewideBanner,j=(0,f.$)(),R=j.locale,V=j.query,U=j.asPath,G=j.pathname,q=(0,l.useContext)(C.B),K=q.state,W=void 0===K?{}:K,J=q.dispatch,Z=W.isMobileSsr,Q=(0,v.l)().isMobile,$=(0,m.E)(Z||!!F,Q),X=(0,l.useState)({}),nn=X[0],en=X[1],tn=b.ElQ[R||"en-PH"].SITE_NAME_FORMATTED,an=[u.L.Vietnam,u.L.Malaysia].includes(R),rn=(0,l.useMemo)((function(){return{enableAppIntroPage:R===u.L.Vietnam,enableProfileFindMyBooking:b.oQ8.includes(R)&&$}}),[R,$]);return(0,l.useEffect)((function(){L||(0,c.g)(R).then(en)}),[R]),(0,l.useEffect)((function(){Y&&Y.update()}),[U]),(0,o.FD)(o.FK,{children:[(0,o.Y)(T,{SEOData:(0,i.A)({SEOTitle:e,SEOImage:y,SEODescription:(0,M.Yp)(r,b.ZCt),siteName:tn,seoType:S},D),seoCustom:!0,locale:R,routerPathname:G,routerQuery:V,nextHead:function(n){var e=n.children;return(0,o.FD)(k(),{children:[(0,o.Y)(E.H,{locale:R,includeFavicons:!1}),e,O&&(0,o.Y)(w(),{type:"application/ld+json",dangerouslySetInnerHTML:{__html:b.KVY?JSON.stringify(O):JSON.stringify(O,null,2)}})]})}}),(0,o.Y)(p.tH,{children:(0,o.Y)(B,{projectType:"care",activeMenuService:"care",isMobile:$,siteType:"helloSites",ssrMenuContent:L||nn,onLogout:function(){J({type:A.Q.LOGOUT,payload:{domain:"."+d.y[R]}})},locale:R,userState:(0,a.A)((0,i.A)({},W),{isMobileSsr:$,userInfo:W.userInfo?W.userInfo:void 0}),onTopBarAppears:P,sitewideBannerData:H,sitewideSite:"care",sponsorComponent:void 0,currentUrl:U,configs:rn,isWinCashBackTheme:an})}),(0,o.FD)("main",{children:[(0,o.Y)(h.F,{features:g.l,children:x}),(0,o.Y)(I.A,{})]}),z&&(0,o.Y)(p.tH,{children:(0,o.Y)(s.F,{type:"main",siteType:"helloSites",locale:R,basePath:b.JpE,footerInfo:z})})]})}},65004:function(n,e,t){"use strict";t.d(e,{Aj:function(){return x},Av:function(){return y},IM:function(){return C},PH:function(){return _},Py:function(){return k},af:function(){return D},fO:function(){return M},qg:function(){return w},wL:function(){return A}});var i=t(24537),a=t(44410),r=t(12263),o=t(27317),l=t(90206);function c(){var n=(0,i.A)(["\n width: 100%;\n min-height: calc(100% - 64px);\n max-width: 100vw;\n padding: 0;\n background-color: var(--white);\n overflow-x: hidden;\n\n "," {\n display: block;\n position: relative;\n max-width: 100%;\n }\n\n "," {\n display: flex;\n }\n"]);return c=function(){return n},n}function s(){var n=(0,i.A)(["\n border-right: 1px solid\n ",";\n\n "," {\n width: 100%;\n min-width: 100%;\n max-width: 100%;\n }\n\n "," {\n width: 30%;\n min-width: 200px;\n max-width: 294px;\n }\n"]);return s=function(){return n},n}function d(){var n=(0,i.A)(["\n position: sticky;\n z-index: 9;\n top: 0;\n align-items: center;\n\n justify-content: space-between;\n padding: 16px 24px;\n\n .search-input {\n input {\n max-width: 248px;\n height: 40px;\n background-color: ",";\n }\n\n "," {\n width: auto;\n display: inline-flex;\n margin-right: 48px;\n }\n\n "," {\n input {\n max-width: 100%;\n }\n }\n }\n\n "," {\n display: flex;\n }\n\n "," {\n background-color: #fafafa;\n }\n\n "," {\n padding: 16px 16px;\n }\n"]);return d=function(){return n},n}function u(){var n=(0,i.A)(["\n "," {\n max-height: 80vh;\n }\n align-items: center;\n padding: 16px;\n padding-top: 0px;\n padding-left: 24px;\n overflow-y: auto;\n & {\n .pagination {\n display: flex;\n justify-content: center;\n margin-top: 5px;\n justify-self: center;\n }\n }\n ::-webkit-scrollbar {\n width: 6px;\n }\n\n ::-webkit-scrollbar-thumb {\n background: ",";\n border-radius: 6px;\n }\n "," {\n padding-left: 16px;\n }\n"]);return u=function(){return n},n}function p(){var n=(0,i.A)(["\n width: 100%;\n background-color: ",";\n\n overflow-x: clip;\n > .right-view-appears {\n animation-duration: 0.2s;\n animation-name: leftAppears;\n }\n\n "," {\n position: fixed;\n top: 0;\n bottom: 0;\n left: 100%;\n right: auto;\n z-index: 12;\n transition: left 0.3s ease;\n }\n\n ","\n"]);return p=function(){return n},n}function h(){var n=(0,i.A)(["\n height: 100%;\n overflow-x: clip;\n\n "," {\n overflow-y: auto;\n & > div {\n height: 100%;\n }\n }\n"]);return h=function(){return n},n}function g(){var n=(0,i.A)(["\n display: flex;\n justify-content: space-between;\n margin-bottom: 6px;\n .header {\n margin-top: 4px;\n margin-bottom: 12px;\n color: ",";\n font-size: 14px;\n line-height: 18px;\n }\n\n "," {\n display: inline-flex;\n }\n\n "," {\n margin-bottom: 0;\n }\n\n "," {\n align-items: center;\n }\n"]);return g=function(){return n},n}function m(){var n=(0,i.A)(["\n height: 24px;\n width: 24px;\n cursor: pointer;\n color: red;\n\n "," {\n position: absolute;\n right: 16px;\n }\n\n "," {\n position: fixed;\n width: 48px;\n height: 48px;\n margin-left: 0;\n right: 20px;\n bottom: 40px;\n }\n\n "," {\n margin-left: 0;\n }\n\n &[data-is-add-org='true'] {\n height: 14px;\n width: 14px;\n position: initial;\n }\n"]);return m=function(){return n},n}function f(){var n=(0,i.A)(["\n display: flex;\n .search-input {\n margin-right: 16px;\n width: unset;\n }\n .add-new-btn {\n &[data-color='primary'][data-size='md'] {\n padding: 8px 16px;\n display: flex;\n margin-right: 13px;\n }\n }\n"]);return f=function(){return n},n}function v(){var n=(0,i.A)(["\n display: flex;\n .search-input {\n margin-right: 16px;\n width: unset;\n }\n .add-new-btn {\n &[data-color='primary'][data-size='md'] {\n padding: 8px 16px;\n display: flex;\n margin-right: 13px;\n }\n }\n"]);return v=function(){return n},n}function b(){var n=(0,i.A)(["\n "," {\n position: absolute;\n top: 8px;\n left: 100px;\n right: 16px;\n width: auto;\n max-width: 100%;\n opacity: 0;\n visibility: hidden;\n transition: all 0.3s ease;\n\n &.search-input input {\n width: 100%;\n max-width: 100%;\n }\n\n &.show-mobile {\n opacity: 1;\n left: 52px;\n visibility: visible;\n }\n }\n"]);return b=function(){return n},n}var y=o.Ay.div.withConfig({componentId:"sc-8af53570-0"})(c(),a.M.mbDown,a.M.tdUp),k=o.Ay.div.withConfig({componentId:"sc-8af53570-1"})(s(),(function(n){return n.theme.colors.neutral100}),a.M.mbDown,a.M.tdUp),x=o.Ay.div.withConfig({componentId:"sc-8af53570-2"})(d(),(function(n){return n.theme.colors.white}),a.M.tdOnly,a.M.mbDown,a.M.tdOnly,a.M.tdDown,a.M.mbDown),w=o.Ay.div.withConfig({componentId:"sc-8af53570-3"})(u(),a.M.tdUp,(function(n){return n.theme.colors.gray200}),a.M.mbDown),A=o.Ay.div.withConfig({componentId:"sc-8af53570-4"})(p(),(function(n){return n.theme.colors.white}),a.M.tdDown,(function(n){return n.$isShowMobile?"\n left: 0 !important;\n ":""})),C=o.Ay.div.withConfig({componentId:"sc-8af53570-5"})(h(),a.M.mbDown),_=o.Ay.div.withConfig({componentId:"sc-8af53570-6"})(g(),(function(n){return n.theme.colors.secondaryDark}),a.M.tdOnly,a.M.tdDown,a.M.mbDown),M=(0,o.Ay)(l.A).withConfig({componentId:"sc-8af53570-7"})(m(),a.M.tdOnly,a.M.mbDown,a.M.tdOnly),D=(o.Ay.div.withConfig({componentId:"sc-8af53570-8"})(f()),o.Ay.div.withConfig({componentId:"sc-8af53570-9"})(v()),(0,o.Ay)(r.I).withConfig({componentId:"sc-8af53570-10"})(b(),a.M.mbDown))},74205:function(n,e,t){"use strict";t.d(e,{F:function(){return i},v:function(){return a}});var i={AD:"Andorra",AE:"United Arab Emirates",AF:"Afghanistan",AG:"Antigua and Barbuda",AI:"Anguilla",AL:"Albania",AM:"Armenia",AO:"Angola",AQ:"Antarctica",AR:"Argentina",AS:"American Samoa",AT:"Austria",AU:"Australia",AW:"Aruba",AX:"\xc5land Islands",AZ:"Azerbaijan",BA:"Bosnia and Herzegovina",BB:"Barbados",BD:"Bangladesh",BE:"Belgium",BF:"Burkina Faso",BG:"Bulgaria",BH:"Bahrain",BI:"Burundi",BJ:"Benin",BL:"Saint Barth\xe9lemy",BM:"Bermuda",BN:"Brunei Darussalam",BO:"Bolivia, Plurinational State of",BQ:"Caribbean Netherlands",BR:"Brazil",BS:"Bahamas",BT:"Bhutan",BV:"Bouvet Island",BW:"Botswana",BY:"Belarus",BZ:"Belize",CA:"Canada",CC:"Cocos (Keeling) Islands",CD:"Congo, the Democratic Republic of the",CF:"Central African Republic",CG:"Republic of the Congo",CH:"Switzerland",CI:"C\xf4te d'Ivoire",CK:"Cook Islands",CL:"Chile",CM:"Cameroon",CN:"China (People's Republic of China)",CO:"Colombia",CR:"Costa Rica",CU:"Cuba",CV:"Cape Verde",CW:"Cura\xe7ao",CX:"Christmas Island",CY:"Cyprus",CZ:"Czech Republic",DE:"Germany",DJ:"Djibouti",DK:"Denmark",DM:"Dominica",DO:"Dominican Republic",DZ:"Algeria",EC:"Ecuador",EE:"Estonia",EG:"Egypt",EH:"Western Sahara",ER:"Eritrea",ES:"Spain",ET:"Ethiopia",EU:"Europe",FI:"Finland",FJ:"Fiji",FK:"Falkland Islands (Malvinas)",FM:"Micronesia, Federated States of",FO:"Faroe Islands",FR:"France",GA:"Gabon","GB-ENG":"England","GB-NIR":"Northern Ireland","GB-SCT":"Scotland","GB-WLS":"Wales",GB:"United Kingdom",GD:"Grenada",GE:"Georgia",GF:"French Guiana",GG:"Guernsey",GH:"Ghana",GI:"Gibraltar",GL:"Greenland",GM:"Gambia",GN:"Guinea",GP:"Guadeloupe",GQ:"Equatorial Guinea",GR:"Greece",GS:"South Georgia and the South Sandwich Islands",GT:"Guatemala",GU:"Guam",GW:"Guinea-Bissau",GY:"Guyana",HK:"Hong Kong",HM:"Heard Island and McDonald Islands",HN:"Honduras",HR:"Croatia",HT:"Haiti",HU:"Hungary",ID:"Indonesia",IE:"Ireland",IL:"Israel",IM:"Isle of Man",IN:"India",IO:"British Indian Ocean Territory",IQ:"Iraq",IR:"Iran, Islamic Republic of",IS:"Iceland",IT:"Italy",JE:"Jersey",JM:"Jamaica",JO:"Jordan",JP:"Japan",KE:"Kenya",KG:"Kyrgyzstan",KH:"Cambodia",KI:"Kiribati",KM:"Comoros",KN:"Saint Kitts and Nevis",KP:"Korea, Democratic People's Republic of",KR:"Korea, Republic of",KW:"Kuwait",KY:"Cayman Islands",KZ:"Kazakhstan",LA:"Laos (Lao People's Democratic Republic)",LB:"Lebanon",LC:"Saint Lucia",LI:"Liechtenstein",LK:"Sri Lanka",LR:"Liberia",LS:"Lesotho",LT:"Lithuania",LU:"Luxembourg",LV:"Latvia",LY:"Libya",MA:"Morocco",MC:"Monaco",MD:"Moldova, Republic of",ME:"Montenegro",MF:"Saint Martin",MG:"Madagascar",MH:"Marshall Islands",MK:"North Macedonia",ML:"Mali",MM:"Myanmar",MN:"Mongolia",MO:"Macao",MP:"Northern Mariana Islands",MQ:"Martinique",MR:"Mauritania",MS:"Montserrat",MT:"Malta",MU:"Mauritius",MV:"Maldives",MW:"Malawi",MX:"Mexico",MY:"Malaysia",MZ:"Mozambique",NA:"Namibia",NC:"New Caledonia",NE:"Niger",NF:"Norfolk Island",NG:"Nigeria",NI:"Nicaragua",NL:"Netherlands",NO:"Norway",NP:"Nepal",NR:"Nauru",NU:"Niue",NZ:"New Zealand",OM:"Oman",PA:"Panama",PE:"Peru",PF:"French Polynesia",PG:"Papua New Guinea",PH:"Philippines",PK:"Pakistan",PL:"Poland",PM:"Saint Pierre and Miquelon",PN:"Pitcairn",PR:"Puerto Rico",PS:"Palestine",PT:"Portugal",PW:"Palau",PY:"Paraguay",QA:"Qatar",RE:"R\xe9union",RO:"Romania",RS:"Serbia",RU:"Russian Federation",RW:"Rwanda",SA:"Saudi Arabia",SB:"Solomon Islands",SC:"Seychelles",SD:"Sudan",SE:"Sweden",SG:"Singapore",SH:"Saint Helena, Ascension and Tristan da Cunha",SI:"Slovenia",SJ:"Svalbard and Jan Mayen Islands",SK:"Slovakia",SL:"Sierra Leone",SM:"San Marino",SN:"Senegal",SO:"Somalia",SR:"Suriname",SS:"South Sudan",ST:"Sao Tome and Principe",SV:"El Salvador",SX:"Sint Maarten (Dutch part)",SY:"Syrian Arab Republic",SZ:"Kingdom of Eswatini",TC:"Turks and Caicos Islands",TD:"Chad",TF:"French Southern Territories",TG:"Togo",TH:"Thailand",TJ:"Tajikistan",TK:"Tokelau",TL:"Timor-Leste",TM:"Turkmenistan",TN:"Tunisia",TO:"Tonga",TR:"Republic of T\xfcrkiye",TT:"Trinidad and Tobago",TV:"Tuvalu",TW:"Taiwan (Republic of China)",TZ:"Tanzania, United Republic of",UA:"Ukraine",UG:"Uganda",UM:"US Minor Outlying Islands",US:"United States",UY:"Uruguay",UZ:"Uzbekistan",VA:"Holy See (Vatican City State)",VC:"Saint Vincent and the Grenadines",VE:"Venezuela, Bolivarian Republic of",VG:"Virgin Islands, British",VI:"Virgin Islands, U.S.",VN:"Vietnam",VU:"Vanuatu",WF:"Wallis and Futuna Islands",WS:"Samoa",XK:"Kosovo",YE:"Yemen",YT:"Mayotte",ZA:"South Africa",ZM:"Zambia",ZW:"Zimbabwe"},a=function(n){return"countryFlags/100/".concat(n,".png")}},7367:function(n,e,t){"use strict";t.d(e,{C9:function(){return a},jz:function(){return r},rl:function(){return o}});var i=t(26273),a=[i.L.PhilippinesEnglish,i.L.PhilippinesTagalog],r=[i.L.Vietnam,i.L.Indonesia,i.L.Malaysia,i.L.PhilippinesEnglish,i.L.PhilippinesTagalog,i.L.Thailand],o=[i.L.PhilippinesEnglish,i.L.PhilippinesTagalog]},88542:function(n,e,t){"use strict";t.d(e,{o:function(){return s}});var i=t(53513),a=t(63538),r=t(73884),o=t(84091),l=t(4736),c=t(73419),s=function(){var n,e,t=(0,c.$)(),s=t.replace,d=t.pathname,u=t.query,p=(0,l.useAppContext)().state,h=String(u.hospital_id||""),g=String(u.branch_id||""),m=p.userInfo,f=(null===m||void 0===m?void 0:m.role)||"",v=(0,r.useMemo)((function(){switch(f){case"admin":case"super":return"all";case"facility":return"branch";case"senior_branch":return"senior_branch";default:return"none"}}),[f]),b=(0,r.useState)({hospitalId:h,branchId:g}),y=b[0],k=b[1],x=(0,r.useCallback)((function(){var n,e;if("all"!==v||h||!g)if("senior_branch"!==v){var t,r,l=(null===(n=m.hospital)||void 0===n?void 0:n.id)&&h&&h!==String(m.hospital.id),c=(null===(e=m.branch)||void 0===e?void 0:e.id)&&"none"===v&&g&&g!==String(m.branch.id);if(l||c)s({pathname:d,query:(0,o.Jo)((0,i.A)({},u,l&&{hospitalId:null===(t=m.hospital)||void 0===t?void 0:t.id},c&&{branchId:null===(r=m.branch)||void 0===r?void 0:r.id}))},void 0,{shallow:!0})}else{var p;s({pathname:d,query:(0,o.Jo)((0,a.A)((0,i.A)({},u),{hospital_id:(null===(p=m.hospital)||void 0===p?void 0:p.id)||"",branch_id:""}))})}else s({pathname:d,query:(0,o.Jo)((0,a.A)((0,i.A)({},u),{hospital_id:"",branch_id:""}))})}),[s,d,u,v,h,g,null===m||void 0===m||null===(n=m.hospital)||void 0===n?void 0:n.id,null===m||void 0===m||null===(e=m.branch)||void 0===e?void 0:e.id]),w=(0,r.useMemo)((function(){var n,e,t;return m&&f&&"all"!==v?"branch"===v||"senior_branch"===v?{hospitalId:String((null===(t=m.hospital)||void 0===t?void 0:t.id)||""),branchId:g}:(null===(n=m.hospital)||void 0===n?void 0:n.id)&&(null===(e=m.branch)||void 0===e?void 0:e.id)?{hospitalId:String(m.hospital.id),branchId:String(m.branch.id)}:{hospitalId:"",branchId:""}:{hospitalId:h,branchId:g}}),[h,g,m]);return(0,r.useEffect)((function(){w.hospitalId===y.hospitalId&&w.branchId===y.branchId||k(w)}),[w.hospitalId,w.branchId]),(0,a.A)((0,i.A)({},y),{navigationDropdownControl:v,replaceInvalidHospitalIdAndBranchId:x,setHospitalIdAndBranchId:k})}},4736:function(n,e,t){"use strict";t.r(e),t.d(e,{useAppContext:function(){return r}});var i=t(73884),a=t(36259),r=function(){return(0,i.useContext)(a.B)}},54109:function(n,e,t){"use strict";t.d(e,{h:function(){return a}});var i=t(73884),a=function(n){var e=(0,i.useState)(!1),t=e[0],a=e[1],r=(0,i.useCallback)((function(){if(n.current){var e=n.current.getBoundingClientRect(),t=window.innerHeight;a(e.bottom<0||e.top>t)}}),[n]);return(0,i.useEffect)((function(){r();var n=function(){r()};return window.addEventListener("scroll",n,{passive:!0}),function(){window.removeEventListener("scroll",n)}}),[r]),t}},10813:function(n,e,t){"use strict";t.d(e,{H:function(){return o}});var i=t(73884),a=t(79672),r=t(27813),o=function(n){var e=n||{},t=e.contest,o=e.start_time_contest_mode,l=e.end_time_contest_mode,c=(0,i.useState)(!1),s=c[0],d=c[1],u=(0,i.useCallback)((function(n){var e=n.contest,t=n.start_time_contest_mode,i=n.end_time_contest_mode,o=new Date;return!!(e&&t&&i&&(0,a.A)(o,new Date(t))&&(0,r.A)(o,new Date(i)))}),[]);return(0,i.useEffect)((function(){d(u({contest:t,start_time_contest_mode:o,end_time_contest_mode:l}))}),[t,o,l]),{isContestMode:s,checkContestMode:u}};e.A=o},51009:function(n,e,t){"use strict";t.d(e,{J:function(){return c}});var i=t(73884),a=t(84091),r=t(73419),o=t(6442),l=t(28543),c=function(n){var e=n.price,t=n.priceDiscount,c=n.hasDiscount,s=n.priceUnit,d=n.isBasicLayout,u=(0,r.$)().locale,p=(0,o.A)().formatMessage;return{getCurrency:(0,i.useCallback)((function(n){var i=n===l.lL.PRICE&&c?t:e,r=(0,a.$g)(i||0,u);return d&&"vi-VN"===u&&(r=(0,a.xc)(i,p)),(0,a.nd)(p,r,s)}),[e,t,c,s,u,d,p])}}},56771:function(n,e,t){"use strict";var i=t(73884),a=t(27516),r=t(73419);e.A=function(){var n=(0,r.$)(),e=n.locale,t=n.asPath,o=n.basePath;return(0,i.useMemo)((function(){return"https://".concat(a.y[e]).concat(o).concat(t)}),[])}},55908:function(n,e,t){"use strict";t.d(e,{y:function(){return a}});var i=t(73884);function a(n){var e=n.wrapperRef,t=(0,i.useState)(!1),a=t[0],r=t[1],o=(0,i.useRef)(0),l=(0,i.useRef)(0);return(0,i.useEffect)((function(){if(e.current){var n=e.current.querySelector("p");n&&(r(n.offsetHeight1&&void 0!==arguments[1]&&arguments[1],t=(0,a.d)().isMobileOrTablet;(0,i.useEffect)((function(){if(t||e)return n?(document.body.style.overflow="hidden",document.body.classList.add("hhc-disabled-scroll")):(document.body.style.overflow="",document.body.classList.remove("hhc-disabled-scroll")),function(){document.body.style.overflow="",document.body.classList.remove("hhc-disabled-scroll")}}),[t,n,e])}},50568:function(n,e,t){"use strict";t.d(e,{Y:function(){return d}});var i=t(858),a=t(53513),r=t(63538),o=t(83776),l=t(73884),c=t(34767),s={current:1,first:1,items_per_page:3,last:1,next:1,prev:1,total_items:1},d=function(n){var e=n.id,t=n.perPage,d=void 0===t?3:t,u=(0,l.useState)([]),p=u[0],h=u[1],g=(0,l.useState)((0,r.A)((0,a.A)({},s),{items_per_page:d})),m=g[0],f=g[1],v=(0,l.useState)(!1),b=v[0],y=v[1],k=(0,l.useCallback)((0,i.A)((function(){return(0,o.__generator)(this,(function(n){switch(n.label){case 0:return e?(y(!0),[4,c.Xx.getDoctorQuotes({id:e,per_page:m.items_per_page,page:m.current}).then((function(n){h(n.listings),f(n.pagination)})).finally((function(){y(!1)}))]):(h([]),f(s),[2]);case 1:return n.sent(),[2]}}))})),[e,m.items_per_page,m.current]),x=(0,l.useCallback)((function(n){f((function(e){return(0,r.A)((0,a.A)({},e),{current:1,items_per_page:n||e.items_per_page})}))}),[]);return(0,l.useEffect)((function(){k()}),[k]),{doctorQuotes:p,pagination:m,handleLoadMore:x,loading:b}}},22699:function(n,e,t){"use strict";t.d(e,{A:function(){return y}});var i=t(53513),a=t(63538),r=t(73884),o=t(94886),l=t.n(o),c={response:null,error:null,loading:!0},s="INIT",d="SUCCESS",u="FAIL",p="NOT_CALLED";function h(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:c,e=arguments.length>1?arguments[1]:void 0;switch(e.type){case s:return(0,a.A)((0,i.A)({},n),{loading:!0});case d:return{response:e.payload,error:null,loading:!1};case u:return{response:null,error:e.payload,loading:!1};case p:return{response:null,error:null,loading:!1};default:return n}}var g=s,m=d,f=u,v=p,b=l().CancelToken,y=function(n){var e=n.axios,t=void 0===e?l():e,o=n.url,s=n.method,d=void 0===s?"get":s,u=n.options,p=void 0===u?{}:u,y=n.trigger,k=n.customHandler,x=n.delay,w=n.condition,A=void 0===w||w,C=(0,r.useReducer)(h,c),_=C[0],M=C[1],D=(0,r.useState)(0),Y=D[0],E=D[1],N=y;try{N=y?JSON.stringify(y):""}catch(F){}var S=function(n,e){k&&k(n,e)};return(0,r.useEffect)((function(){if(!o||!A)return S(null,{loading:!1}),void M({type:v});if("undefined"!==typeof N||Y){S(null,null),M({type:g});var n=b.source();return setTimeout((function(){t((0,a.A)((0,i.A)({url:o,method:d},p),{cancelToken:n.token})).then((function(n){S(null,n),M({type:m,payload:n.data})})).catch((function(n){S(n,null),l().isCancel(n)||M({type:f,payload:n})}))}),x||0),function(){n.cancel()}}}),[Y,N]),(0,a.A)((0,i.A)({},_),{query:function(){E(+new Date)},reFetch:function(){E(+new Date)}})}},11736:function(n,e,t){"use strict";t.d(e,{y:function(){return r}});var i=t(44898),a=t(73884),r=function(n){var e=n.sectionRefs,t=n.formatMessage,r=n.scrollOffset,o=void 0===r?200:r,l=n.headerOffset,c=void 0===l?120:l,s=n.firstSectionOffset,d=void 0===s?100:s,u=(0,a.useState)(""),p=u[0],h=u[1],g=(0,a.useState)(!1),m=g[0],f=g[1],v=(0,a.useRef)(!1),b=(0,a.useRef)(null),y=(0,a.useCallback)((function(n){return n?(0,i.A)(n,HTMLElement)?n:n.current:null}),[]),k=(0,a.useCallback)((function(n){return n.bottom>0&&n.topn.top)&&(n={id:c.id,top:d.top})}}}catch(u){i=!0,a=u}finally{try{t||null==l.return||l.return()}finally{if(i)throw a}}return n}),[e,y,o,k]),w=(0,a.useCallback)((function(){var n=!0,t=!1,i=void 0;try{for(var a,r=e[Symbol.iterator]();!(n=(a=r.next()).done);n=!0){var o=a.value,l=y(o.ref);if(l){var c=l.getBoundingClientRect();if(c.top>=0&&c.top=document.body.scrollHeight-10?n.id:""}),[e,y]),C=(0,a.useCallback)((function(){var n=x();if(n)return n.id;var e=w();return e||A()}),[x,w,A]);(0,a.useEffect)((function(){if(0!==e.length){var n=function(){if(!v.current){var n=y(e[0].ref);if(n){var t=window.scrollY+d>=n.offsetTop;if(f(t),t){var i=C();i&&h(i)}else h("")}}};return window.addEventListener("scroll",n,{passive:!0}),n(),function(){window.removeEventListener("scroll",n)}}}),[e,y,d,C]);var _=(0,a.useCallback)((function(n){var t,i=e.find((function(e){return e.id===n})),a=i?y(i.ref):null;if(a){var r=window.innerWidth<768;v.current=!0,h(n);var o=(null===(t=e[0])||void 0===t?void 0:t.id)===n?d:r?60:c,l=Math.max(0,a.offsetTop-o);window.scrollTo({top:l,behavior:"smooth"}),b.current&&clearTimeout(b.current);var s=r?1e3:700;b.current=setTimeout((function(){v.current=!1,h(n)}),s)}}),[e,y,c,d]);return{sections:(0,a.useMemo)((function(){return e.map((function(n){return{id:n.id,title:t({id:n.title,defaultMessage:n.defaultMessage}),isActive:p===n.id}}))}),[e,p,t]),activeSection:p,scrollToSection:_,showFixedScroll:m}}},24431:function(n,e,t){"use strict";t.d(e,{c:function(){return l}});var i=t(73884),a=t(12215),r=t.n(a),o=t(40959);function l(){var n=(0,i.useState)(""),e=n[0],t=n[1];return(0,i.useEffect)((function(){if(r().get(o.OK8))try{var n=JSON.parse(r().get(o.OK8)||JSON.stringify(""));if(n.lat&&n.lng)return void t("granted")}catch(i){r().remove(o.OK8)}var e;navigator.permissions?navigator.permissions.query({name:"geolocation"}).then((function(n){t(n.state),n.onchange=function(){return t(n.state)}})):(t("prompt"),null===(e=navigator.geolocation)||void 0===e||e.getCurrentPosition((function(){t("granted")}),(function(){t("denied")})))}),[]),e}},35094:function(n,e,t){"use strict";t.d(e,{Q:function(){return d}});var i=t(38971),a=t(73884),r=t(87246),o=t(6442),l=t(12495),c=t.n(l),s=t(1135);function d(){var n=(0,o.A)().formatMessage,e=(0,r.useRouter)().locale,t=(0,a.useMemo)((function(){return(null===e||void 0===e?void 0:e.split("-")[0])||"en"}),[e]),l=(0,a.useMemo)((function(){return{lower:!0,locale:t}}),[t]);return(0,a.useMemo)((function(){var e,t,a={hospitals:c()(n({id:"booking.search.tab.hospitals",defaultMessage:"Hospitals"}),l)||"hospitals",services:c()(n({id:"booking.search.tab.services",defaultMessage:"Services"}),l)||"services",doctors:c()(n({id:"booking.search.tab.doctors",defaultMessage:"Doctors"}),l)||"doctors",reviews:c()(n({id:"booking.search.tab.review",defaultMessage:"Reviews"}),l)||"reviews"};return[a,(e={},(0,i.A)(e,a.hospitals,s.uN.GENERAL_INFO),(0,i.A)(e,a.services,s.uN.SERVICES),(0,i.A)(e,a.doctors,s.uN.DOCTORS),(0,i.A)(e,a.reviews,s.uN.REVIEWS),e),(t={},(0,i.A)(t,String(s.uN.GENERAL_INFO),a.hospitals),(0,i.A)(t,String(s.uN.SERVICES),a.services),(0,i.A)(t,String(s.uN.DOCTORS),a.doctors),(0,i.A)(t,String(s.uN.REVIEWS),a.reviews),t)]}),[])}},59363:function(n,e,t){"use strict";t.d(e,{d:function(){return p}});var i=t(858),a=t(44898),r=t(83776),o=t(73884),l=t(34767),c="hospitalServiceListData",s=function(n){return"hospital_list_".concat(n)},d=function(){try{var n=sessionStorage.getItem(c);if(n)return JSON.parse(n)}catch(e){console.error("Failed to read hospital list cache:",e)}return{}},u=function(n){try{sessionStorage.setItem(c,JSON.stringify(n))}catch(e){console.error("Failed to save hospital list cache:",e)}},p=function(n){var e=(0,o.useState)([]),t=e[0],c=e[1],p=(0,o.useState)(!1),h=p[0],g=p[1],m=(0,o.useState)(null),f=m[0],v=m[1];return(0,o.useEffect)((function(){var e=function(){var e=(0,i.A)((function(){var e,t,i,o;return(0,r.__generator)(this,(function(r){switch(r.label){case 0:if(e=function(n){try{var e=s(n),t=d(),i=t[e];if(i){if(Date.now()-i.timestamp<18e5)return i.data;delete t[e],u(t)}}catch(f){console.error("Failed to read hospital cache:",f)}return null}(n),e)return c(e),[2];g(!0),v(null),r.label=1;case 1:return r.trys.push([1,3,4,5]),[4,l.Xx.getHospitalVaccineList({type:l.Tc[n]})];case 2:return t=r.sent(),i=t.hospital_branch||[],c(i),function(n,e){try{var t=s(e),i=d();i[t]={data:n,timestamp:Date.now()},u(i)}catch(f){console.error("Failed to save hospital cache:",f)}}(i,n),[3,5];case 3:return o=r.sent(),console.error("Failed to fetch hospital list:",o),v((0,a.A)(o,Error)?o:new Error("Unknown error")),c([]),[3,5];case 4:return g(!1),[7];case 5:return[2]}}))}));return function(){return e.apply(this,arguments)}}();e()}),[n]),{hospitals:t,loading:h,error:f}}},62862:function(n,e,t){"use strict";t.d(e,{j:function(){return a}});var i=t(73884),a=function(n,e){var t=function(t){var i;(null===(i=n.current)||void 0===i?void 0:i.contains(t.target))||e(t)};(0,i.useEffect)((function(){if(null===n||void 0===n?void 0:n.current)return document.addEventListener("click",t,{capture:!0,passive:!0}),function(){document.removeEventListener("click",t,{capture:!0})}}),[t])}},94334:function(n,e,t){"use strict";t.d(e,{m:function(){return o}});var i=t(73884),a=t(73419),r=t(40959),o=function(n){var e=n.serviceInfo,t=n.doctorInfo,o=(0,a.$)().locale;return(0,i.useMemo)((function(){return t?t.validTelemedicine?"id-ID"===o?[r.JZw.OY]:[r.JZw.VNPAY,r.JZw.MOMO,r.JZw.ATM_MOMO,r.JZw.VISA_MOMO]:[r.JZw.COD]:e&&e.package&&"vi-VN"===o&&Boolean(null===e||void 0===e?void 0:e.togglePaymentOnline)&&!e.reservation?[r.JZw.VNPAY,r.JZw.MOMO,r.JZw.ATM_MOMO,r.JZw.VISA_MOMO,r.JZw.COD]:[r.JZw.COD]}),[e,t])}},78461:function(n,e,t){"use strict";t.d(e,{p:function(){return o}});var i=t(40568),a=t(73884),r=t(40279),o=function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=n.isEnable,t=void 0===e||e,o=(0,i.A)((0,r.j)(!1),2),l=o[0],c=o[1],s=c.open,d=c.close,u=(0,a.useState)(0),p=u[0],h=u[1],g=(0,a.useCallback)((function(n){h(n),t&&s()}),[s]),m=function(n){n?s():d()};return{isOpen:l,initialSlide:p,openModal:s,closeModal:d,openModalWithSlide:g,handleOpenChange:m}}},14739:function(n,e,t){"use strict";t.d(e,{Z:function(){return l}});var i=t(53513),a=t(73884),r=t(10297),o=t(38194);function l(n){var e=(0,r.useRouter)(),t=(0,a.useMemo)((function(){return(0,o.z1)(e.query,n)}),[e.query,n]),l=(0,a.useCallback)((function(t){var a=(0,i.A)({},e.query);return Object.keys(n).forEach((function(e){var i=n[e],r=i.serialize,l=i.defaultValue,c=i.skipDefault,s=void 0===c||c,d=i.queryKey,u=i.isSameKey,p=t[e],h=null!==d&&void 0!==d?d:String(e),g=p===l,m=r?r(p):p;if(u)return s&&g&&p?void delete a[h]:void((0,o.FJ)(m)||(a[h]=m));s&&g?delete a[h]:((0,o.FJ)(m)&&delete a[h],a[h]=m)})),a}),[e.query]),c=(0,a.useCallback)((function(n,a){var r,o,c=(0,i.A)({},t,n),s=l(c),d="replace"===(null===a||void 0===a?void 0:a.method)?"replace":"push";e[d]({pathname:e.pathname,query:s},void 0,{shallow:null===(r=null===a||void 0===a?void 0:a.shallow)||void 0===r||r,scroll:null!==(o=null===a||void 0===a?void 0:a.scroll)&&void 0!==o&&o})}),[l,e,t]),s=(0,a.useCallback)((function(t){var i={};Object.keys(n).forEach((function(e){i[e]=n[e].defaultValue}));var a,r,o=l(i),c="replace"===(null===t||void 0===t?void 0:t.method)?"replace":"push";e[c]({pathname:e.pathname,query:o},void 0,{shallow:null===(a=null===t||void 0===t?void 0:t.shallow)||void 0===a||a,scroll:null!==(r=null===t||void 0===t?void 0:t.scroll)&&void 0!==r&&r})}),[l,n,e]);return{state:t,setState:c,reset:s}}},83545:function(n,e,t){"use strict";t.d(e,{B:function(){return o}});var i=t(53513),a=t(2445),r=t(73884);function o(n,e){var t=(0,r.useState)(!1),o=t[0],l=t[1];return(0,r.useEffect)((function(){return l(!0)}),[]),o?(0,a.Y)(n,(0,i.A)({},e)):null}},13495:function(n,e,t){"use strict";t.d(e,{d:function(){return r}});var i=t(73884),a=t(18906),r=function(n){var e=n.service_type,t=n.hospital_branch_lists;return(0,i.useMemo)((function(){var n=1===(null===t||void 0===t?void 0:t.length);return a.kP.includes(e)&&n?t[0]:void 0}),[e,t])}},58638:function(n,e,t){"use strict";t.d(e,{b:function(){return d},I:function(){return u}});var i=t(2445),a=t(73884),r=t(88491),o=t(7350),l=t.n(o);function c(n,e){if(n){var t=n.getBoundingClientRect(),i=window.scrollY||window.pageYOffset||document.documentElement.scrollTop,a=window.innerHeight||document.body.clientHeight||document.documentElement.clientHeight;e(i>=i+t.top-a)}}function s(n,e,t){if(n){var i=n.getBoundingClientRect(),a=window.scrollY||window.pageYOffset||document.documentElement.scrollTop;t(a>=a+i.top-e)}}function d(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=n.id,t=void 0===e?"scroll-trigger":e,o=n.defaultIsSticky,s=void 0!==o&&o,d=(0,a.useState)(s),u=d[0],p=d[1],h=(0,r.d)().isMobile;(0,a.useEffect)((function(){var n=document.getElementById(t);if(h&&n){var e=l()((function(){c(n,(function(n){p(!n)}))}),100);return window.addEventListener("scroll",e),function(){return window.removeEventListener("scroll",e)}}}),[t,h]);var g=(0,a.useMemo)((function(){return(0,i.Y)("div",{id:t})}),[t]);return{isSticky:u,scrollTriggerEl:g}}function u(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=n.id,t=void 0===e?"scroll-top-trigger":e,r=n.heightHeader,o=void 0===r?65:r,c=n.defaultIsSticky,d=void 0!==c&&c,u=(0,a.useState)(d),p=u[0],h=u[1];(0,a.useEffect)((function(){var n=document.getElementById(t);if(n){var e=l()((function(){s(n,o,(function(n){h(n)}))}),100);return window.addEventListener("scroll",e),function(){return window.removeEventListener("scroll",e)}}}),[t]);var g=(0,a.useMemo)((function(){return(0,i.Y)("div",{id:t})}),[t]);return{isTopSticky:p,scrollTriggerEl:g}}},35507:function(n,e,t){"use strict";t.d(e,{n:function(){return d}});var i=t(73884),a=t(4736),r=t(10297),o=t(40959),l="https://app.chatwoot.com",c="chatwoot-script",s=window;function d(n,e){var t,d=(0,r.useRouter)().locale,p=(0,a.useAppContext)().state,h=(0,i.useState)(!1),g=h[0],m=h[1];(0,i.useEffect)((function(){if("vi-VN"===d){var t=s.$chatwoot;return t?(t.toggleBubbleVisibility("show"),m(!0)):(s.chatwootSettings={locale:"vi",type:"expanded_bubble",launcherTitle:e},new Promise((function(n,e){var t,i=document.getElementsByTagName("script")[0],a=document.createElement("script");a.id=c,a.src=l+"/packs/js/sdk.js",a.defer=!0,a.async=!0,null===i||void 0===i||null===(t=i.parentNode)||void 0===t||t.insertBefore(a,i),a.onload=n,a.onerror=e})).then((function(){s.chatwootSDK.run({websiteToken:n||o.Z6P.DEFAULT,baseUrl:l,locale:"vi"})})).catch(console.log),window.addEventListener("chatwoot:ready",(function(){m(!0)}))),function(){var n;null===(n=s.$chatwoot)||void 0===n||n.toggleBubbleVisibility("hide")}}}),[]),(0,i.useEffect)((function(){if(g){var n,e=document.querySelector(".woot-widget--expanded"),t=document.querySelector(".woot--close");e&&(e.setAttribute("data-event-category","Care"),e.setAttribute("data-event-label",window.location.href),e.setAttribute("data-event-action","Open Chat")),t&&(t.setAttribute("data-event-category","Care"),t.setAttribute("data-event-label",window.location.href),t.setAttribute("data-event-action","Close Chat")),p.userInfo&&(null===(n=p.userInfo)||void 0===n?void 0:n.username)&&s.$chatwoot.setUser(p.userInfo.username,{email:p.userInfo.email,name:p.userInfo.name,phone_number:p.userInfo.phone})}}),[g,null===(t=p.userInfo)||void 0===t?void 0:t.username]),(0,i.useEffect)((function(){g&&setTimeout(u,1e3)}),[g])}function u(){var n=document.querySelector("button[data-event-action*=Booking]")||document.querySelector('button[data-event-action="Soonest Available Schedule Click"]');n&&new IntersectionObserver((function(n){var e=document.querySelector(".woot-widget-bubble");e&&(n[0]&&n[0].isIntersecting?e.classList.add("collapsed"):e.classList.remove("collapsed"))})).observe(n)}},81854:function(n,e,t){"use strict";t.d(e,{D:function(){return m}});var i=t(73884),a=t(76822),r=t(66298),o=t(1806),l=t(40063),c=t(81921),s=function(n){return!!n&&(n===c.x.NONE||"none"===n)},d=function(n){return!!n&&(n===c.x.MOST_BOOKED||"most_booked"===n)},u=function(n){return!!n&&(n===c.x.LIMITED_INVENTORY||"limited_inventory"===n)},p=function(n,e){try{var t=(0,r.A)(new Date(n),"yyyy-MM-dd"),i=(0,o.A)(t),a=new Date;a.setHours(0,0,0,0),i.setHours(0,0,0,0);var c=(0,l.A)(a,i);if(c<0||isNaN(c))return e;var s=e-c%(e-2+1);return Math.max(2,s)}catch(d){return e}},h=function(n,e){var t=e.limitedInventory,i=void 0===t?[]:t,a=e.mostBooked,r=void 0===a?[]:a;return i.includes(n)||r.includes(n)},g=function(n,e){var t,i=n.locale,a=n.productKey,r=e[i];if(!r)return null;var o=null===(t=r.products)||void 0===t?void 0:t[a];if(o){var l=o,g=l.type;if(s(g))return null;if(d(g))return{type:c.x.MOST_BOOKED};if(u(g)){var m=l.value;if(l.configDate&&void 0!==l.limitValue){if(l.limitValue<2)return null;m=p(l.configDate,l.limitValue)}return"number"!==typeof m||isNaN(m)||m<2?null:{type:c.x.LIMITED_INVENTORY,value:m}}return null}var f=r.global;if(!f)return null;if(!function(n,e){var t=e.scope,i=e.none;return"all"===t||!(void 0===i?[]:i).includes(n)&&("included"===t?h(n,e):"excluded"===t&&!h(n,e))}(a,f))return null;var v=function(n,e,t){var i=e.limitedInventory,a=void 0===i?[]:i,r=e.mostBooked,o=void 0===r?[]:r,l=e.none,s=void 0===l?[]:l,d=void 0!==e.limitValue&&e.configDate&&e.limitValue>=2;return s.includes(n)?c.x.NONE:"all"===t||"included"===t?o.includes(n)?c.x.MOST_BOOKED:d?c.x.LIMITED_INVENTORY:c.x.MOST_BOOKED:"excluded"===t?d?a.includes(n)?c.x.NONE:c.x.LIMITED_INVENTORY:o.includes(n)?c.x.NONE:c.x.MOST_BOOKED:null}(a,f,f.scope);if(!v||s(v))return null;if(d(v))return{type:c.x.MOST_BOOKED};if(u(v)){var b;if(f.configDate&&void 0!==f.limitValue){if(f.limitValue<2)return null;b=p(f.configDate,f.limitValue)}return"number"!==typeof b||isNaN(b)||b<2?null:{type:c.x.LIMITED_INVENTORY,value:b}}return null},m=function(n){var e=n.locale,t=n.productKey,r=(0,a._)((function(n){return n.config})),o=(0,a._)((function(n){return n.loading}));return{badge:(0,i.useMemo)((function(){return o||!r?null:g({locale:e,productKey:t},r)}),[r,o,e,t]),loading:o}}},72946:function(n,e,t){"use strict";t.d(e,{o:function(){return o}});var i=t(73884),a=t(36259),r=t(40959),o=function(){var n=(0,i.useContext)(a.B).state.userInfo;return r.dXu?{isValidOnboarding:!!((null===n||void 0===n?void 0:n.email)&&!(null===n||void 0===n?void 0:n.email.endsWith("@hhg.com"))&&!(null===n||void 0===n?void 0:n.email.endsWith("@facebook.com"))&&(null===n||void 0===n?void 0:n.phone)&&(null===n||void 0===n?void 0:n.phone_verified_at)&&(null===n||void 0===n?void 0:n.email_verified_at)&&(null===n||void 0===n?void 0:n.name)&&(null===n||void 0===n?void 0:n.birthday)&&"number"===typeof(null===n||void 0===n?void 0:n.gender))}:{isValidOnboarding:!!(n&&(null===n||void 0===n?void 0:n.phone)&&(null===n||void 0===n?void 0:n.phone_verified_at)&&(null===n||void 0===n?void 0:n.name)&&(null===n||void 0===n?void 0:n.birthday)&&"number"===typeof(null===n||void 0===n?void 0:n.gender))}}},14660:function(n,e,t){"use strict";var i=t(73884);e.A=function(){var n=(0,i.useState)(0),e=n[0],t=n[1],a=function(){if(window.visualViewport){var n=window.visualViewport.height;t(n)}};return(0,i.useEffect)((function(){return window.visualViewport&&window.visualViewport.addEventListener("resize",a),t(window.visualViewport?window.visualViewport.height:window.innerHeight),function(){window.visualViewport&&window.visualViewport.removeEventListener("resize",a)}}),[]),e}},10577:function(n,e,t){"use strict";t.d(e,{p:function(){return E}});var i=t(858),a=t(81539),r=t(83776),o=t(2445),l=t(73884),c=t(35291),s=t(10671),d=t(27516),u=t(94886),p=t.n(u),h=t(34722),g=t(59850),m=t(40959),f="vi-VN",v=p().create({baseURL:m.EBI,headers:{accept:"application/json, text/plain, version=2.0.0"}});v.interceptors.request.use((function(n){return m.KVY||console.log("[Api] ".concat(n.baseURL).concat(n.url)),n}),(function(n){return Promise.reject(n)}));var b=function(n){var e={product_id:n.product_id,clinic_ids:n.clinic_ids,hospital_id:n.hospital_id,type:n.type,productPrice:n.productPrice,offering_id:n.offering_id,site:n.site||d.y[f]};return v.get(g.R.GET_VACCINATION_VOUCHERS_NO_PARAMS,{params:e,paramsSerializer:function(n){return h.A.stringify(n)}}).then((function(n){return n.data}))},y=function(n){var e={product_id:n.product_id,clinic_ids:n.clinic_ids,hospital_id:n.hospital_id,product_type:n.product_type,site:n.site||d.y[f],offering_id:n.offering_id};return v.get(g.R.GET_REFERRAL_LIST_NO_PARAMS,{params:e,paramsSerializer:function(n){return h.A.stringify(n)}}).then((function(n){return n.data}))},k=t(84091),x=t(34767),w=t(95204),A=t(73419),C=t(6442),_=function(){var n=(0,i.A)((function(n){return(0,r.__generator)(this,(function(e){switch(e.label){case 0:return e.trys.push([0,2,,3]),[4,navigator.clipboard.writeText(n)];case 1:return e.sent(),[2,!0];case 2:return e.sent(),[2,!1];case 3:return[2]}}))}));return function(e){return n.apply(this,arguments)}}(),M=function(n){if("cashback_discount_value"in n){var e=n;return{id:e.name,name:e.name,description:e.description,logo:e.logo,brand:e.brand,discount_value:e.cashback_discount_value,discount_type:e.cashback_discount_type,product_id:e.product_id,hospital_id:e.hospital_id,clinic_id:e.clinic_id,currency:e.currency,start_date:e.start_date,expired_date:e.expired_date,type:w.O7.REFERRAL}}var t=n;return{id:t.id,name:t.voucher_name,description:t.voucher_description,logo:t.logo,brand:t.brand,voucherCode:t.voucher_code,discount_value:t.discount_value,discount_type:t.discount_type,product_id:t.product_id,hospital_id:t.hospital_id,clinic_id:t.clinic_id,currency:t.currency,type:w.O7.VOUCHER}},D=t(87290),Y="voucherData",E=function(n){var e=(0,l.useState)([]),t=e[0],d=e[1],u=(0,l.useState)([]),p=u[0],h=u[1],g=(0,l.useState)(!1),m=g[0],f=g[1],v=(0,l.useState)(!1),E=v[0],N=v[1],S=(0,l.useState)(!1),F=S[0],T=S[1],I=(0,C.A)().formatMessage,z=(0,A.$)().locale,B=n||{},P=B.hospital,O=B.hospitalBranchIds,L=B.price,H=B.type,j=B.shouldCache,R=void 0===j||j,V=B.offeringId,U=(P||{}).id,G=function(n){var e=x.jG[H],t=null===O||void 0===O?void 0:O.sort((function(n,e){return n-e})).join("-");return[U,V,t,L,e,n].join("_")},q=function(){try{var n=sessionStorage.getItem(Y);if(n)return JSON.parse(n)}catch(e){console.error("Failed to read voucher list cache:",e)}return{}},K=function(n){try{sessionStorage.setItem(Y,JSON.stringify(n))}catch(e){console.error("Failed to save voucher list cache:",e)}},W=function(n){try{var e=G(n),t=q(),i=t[e];if(i){if(Date.now()-i.timestamp<18e5)return i.data;delete t[e],K(t)}}catch(a){console.error("Failed to read voucher cache:",a)}return null},J=function(n,e){try{var t=G(e),i=q();i[t]={data:n,timestamp:Date.now()},K(i)}catch(a){console.error("Failed to save voucher cache:",a)}},Z=function(){var n=(0,i.A)((function(n){return(0,r.__generator)(this,(function(e){switch(e.label){case 0:return n?[4,_(n)]:[2];case 1:return e.sent()&&!m&&s.$e.show({title:I({id:"common.copy.clipboard",defaultMessage:"Voucher code copied!"}),message:"",icon:(0,o.Y)(D.A,{className:"w-4 h-4"}),autoClose:3e3,onClose:function(){return f(!1)},onOpen:function(){return f(!0)},sx:{padding:"12px 16px",borderRadius:"12px",marginTop:"-8px","&.mantine-Notification-root":{height:"3rem"},"& .mantine-Notification-icon":{backgroundColor:"transparent",marginRight:"8px"},"& .mantine-Notification-closeButton":{width:"1.25rem",height:"1.25rem",color:c.w.colors.gray800},"& .mantine-Notification-title":{fontSize:"0.9375rem"}}}),[2]}}))}));return function(e){return n.apply(this,arguments)}}(),Q=(0,l.useCallback)((0,i.A)((function(){var n,e,t,i;return(0,r.__generator)(this,(function(a){switch(a.label){case 0:N(!0),a.label=1;case 1:return a.trys.push([1,3,4,5]),[4,b({hospital_id:U,productPrice:L,type:x.jG[H],offering_id:V,clinic_ids:O})];case 2:return e=a.sent(),t=(null===e||void 0===e||null===(n=e.data)||void 0===n?void 0:n.vouchers)||[],d(t),J(t,w.O7.VOUCHER),[3,5];case 3:return i=a.sent(),console.error(i),[3,5];case 4:return N(!1),[7];case 5:return[2]}}))})),[L,H,U]),$=(0,l.useCallback)((0,i.A)((function(){var n,e,t,i;return(0,r.__generator)(this,(function(a){switch(a.label){case 0:T(!0),a.label=1;case 1:return a.trys.push([1,3,4,5]),[4,y({hospital_id:U,product_type:x.jG[H],offering_id:V,clinic_ids:O})];case 2:return e=a.sent(),t=(null===e||void 0===e||null===(n=e.data)||void 0===n?void 0:n.UserReferralInfo)||[],h(t),J(t,w.O7.REFERRAL),[3,5];case 3:return i=a.sent(),console.error(i),[3,5];case 4:return T(!1),[7];case 5:return[2]}}))})),[U,H]),X=(0,l.useMemo)((function(){var n=t.map((function(n){return M(n)})),e=p.map((function(n){return M(n)}));return(0,a.A)(e).concat((0,a.A)(n))}),[t,p]);return(0,l.useEffect)((function(){var n=W(w.O7.VOUCHER);n&&R?d(n):Q()}),[Q]),(0,l.useEffect)((function(){var n=W(w.O7.REFERRAL);n&&R?h(n):$()}),[$]),{vouchers:t,handleCopyVoucher:Z,referralVoucher:p,referralTitle:function(n){if(!n)return"";var e=n.discount_type,t=n.discount_value,i=n.currency,a="percentage"===e?"".concat(t,"%"):(0,k.nd)(I,(0,k.$g)(t,z),i);return I({id:"voucher.title.referral",defaultMessage:"Get {cashBackValue} cashback for every friend you refer"},{cashBackValue:a})},allVouchers:X,loading:E||F}}},89394:function(n,e,t){"use strict";t.d(e,{$z:function(){return o},CM:function(){return c},GK:function(){return s},QA:function(){return r},XQ:function(){return l},iO:function(){return a}});var i=t(26273),a=[i.L.Vietnam],r=[i.L.Vietnam,i.L.Malaysia],o=[i.L.Vietnam,i.L.Malaysia],l=[i.L.PhilippinesEnglish,i.L.PhilippinesTagalog],c=[i.L.PhilippinesEnglish,i.L.PhilippinesTagalog],s=[i.L.Malaysia]},60981:function(n,e,t){"use strict";t.d(e,{f:function(){return o},u:function(){return r}});var i=t(38971),a=t(26273),r=(0,i.A)({},a.L.Vietnam,[4057]),o=(0,i.A)({},a.L.Vietnam,[4791,4752,4751,4750,4745,4624,4358,4356,4355,5485])},32106:function(n,e,t){"use strict";t.r(e),t.d(e,{__N_SSP:function(){return L},default:function(){return j},getSlugTypeByLocalisedSlugs:function(){return H}});var i=t(53513),a=t(2445),r=t(20458),o=t(22917),l=t(80761),c=t(19289),s=t(27414),d=t(76887),u=t(23285),p=t(50984),h=t(17283),g=t(80552),m=t(63376),f=t(85143),v=t(98269),b=t(858),y=t(38971),k=t(40568),x=t(83776),w=t(30729),A=t(27516),C=t(74029),_=t(59850),M=t(84091),D=t(34767),Y=t(95564),E=t(88491),N=t(13495),S=t(73419),F=t(6442),T=t(5597),I=t(95472),z=t(28171),B=t(89394),P=t(40959),O=(function(){var n=(0,b.A)((function(n){var e,t,i,a,r,o,l,c,s,d,u,p,h;return(0,x.__generator)(this,(function(g){switch(g.label){case 0:return i=n.locale,a=n.query,r=null===a||void 0===a?void 0:a.slug,o=function(n){var e=n.match(/-(\d+)$/);return e?e[1]:null},l=r&&r.length>1?o(r[1]):null,[4,Promise.all([(0,w.g)(i),(0,M.px)((0,M.pZ)(_.R.GET_FOOTER_INFO),"GET"),l?D.Xx.getVaccinationDetail({site:A.y[i],id:l,isV4:!0}):Promise.resolve(null)])];case 1:return c=k.A.apply(void 0,[g.sent(),3]),s=c[0],d=c[1],u=c[2],B.iO.includes(i)?!l||u&&(null===u||void 0===u||null===(e=u.vaccine)||void 0===e?void 0:e.id)?(p=D.ol[(null===u||void 0===u||null===(t=u.vaccine)||void 0===t?void 0:t.product_type)||"vaccine"],h=p===P.Hxq.VACCINE?(0,C.mQ)(null===u||void 0===u?void 0:u.vaccine):(0,C.kg)((null===u||void 0===u?void 0:u.vaccine)||{},p),[2,{props:{canonicalUrl:"".concat(P.JpE,"/").concat(Y.localisedSlugs[i].USER_REVIEWS,"/"),navMenuContent:s||null,footerInfo:(null===d||void 0===d?void 0:d.data)||null,pageType:"USER_REVIEWS",isNewDesignSystem:!0,vaccinationDetail:h}}]):[2,{notFound:!0}]:[2,{notFound:!0}]}}))}))}(),function(n){var e,t=n.navMenuContent,i=n.canonicalUrl,r=n.footerInfo,o=n.vaccinationDetail,l=o||{},c=l.id,s=l.name,d=l.service_type,u=l.contest,p=l.hospital_branch_lists,h=(0,E.d)().isMobile,g=(0,S.$)(),m=g.locale,f=g.push,v=g.query,k=(0,F.A)().formatMessage,w=function(){var n=(0,b.A)((function(n){return(0,x.__generator)(this,(function(e){switch(e.label){case 0:return[4,D.Xx.getVaccinationDetail({site:A.y[m],id:n,isV4:!0})];case 1:return[2,e.sent()]}}))}));return function(e){return n.apply(this,arguments)}}(),C=Boolean(null===v||void 0===v?void 0:v.returnUrl)||(null===v||void 0===v||null===(e=v.slug)||void 0===e?void 0:e.length)>1,_=(0,N.d)({service_type:d,hospital_branch_lists:p}),M=o?{type:d,product:{id:c,name:s},hospital_branch:_}:void 0;return(0,a.Y)(z.K,{title:k({id:"userReviewPage.pageTitle",defaultMessage:"\u0110\xe1nh Gi\xe1 D\u1ecbch V\u1ee5 IVF, Tr\u1eef Tr\u1ee9ng, Ti\xeam Ch\u1ee7ng"}),description:k({id:"userReviewPage.pageDescription",defaultMessage:"Xem \u0111\xe1nh gi\xe1 th\u1ef1c t\u1ebf t\u1eeb ng\u01b0\u1eddi d\xf9ng v\u1ec1 c\xe1c d\u1ecbch v\u1ee5 IVF, tr\u1eef tr\u1ee9ng v\xe0 ti\xeam ch\u1ee7ng. Chia s\u1ebb tr\u1ea3i nghi\u1ec7m c\u1ee7a b\u1ea1n \u0111\u1ec3 gi\xfap c\u1ed9ng \u0111\u1ed3ng l\u1ef1a ch\u1ecdn \u0111\xfang \u0111\u1eafn."}),image:P.ElQ[m].HOMEPAGE_IMAGE,isSearchBarDisplay:!1,SEOData:{isIndexable:!0,hasNoAmp:!0,canonicalUrl:i},isMobile:h,footerInfo:r,ssrNavMenu:t,children:(0,a.Y)(T.ReviewForm,{contestMode:Boolean(u),selectedService:M,isFromDetailPage:C,vaccinationDetail:o,innerBoxProps:{sx:function(n){return(0,y.A)({margin:"0 auto"},n.fn.largerThan("sm"),{maxWidth:600})}},onSuccess:function(){var n=(0,b.A)((function(n){var e,t,i,a;return(0,x.__generator)(this,(function(r){switch(e=null===n||void 0===n?void 0:n[I.lF.SelectedService],t=String((null===n||void 0===n?void 0:n[I.lF.SelectedProductId])||""),i=Y.localisedSlugs[m],a=i.SERVICE,e){case P.Hxq.VACCINE:a=i.VACCINATIONS;break;case P.Hxq.IVF:a=i.IVF;break;case P.Hxq.EGG_FREEZING:a=i.EGG_FREEZING;break;case P.Hxq.HEALTH_SCREENER:a=i.HEALTH_SCREENER}return e&&t?[2,w(t).then((function(n){var e=(n||{}).vaccine,t=e||{},r=t.slug,o=void 0===r?"":r,l=t.id,c="/".concat(i.SERVICE,"/").concat(a,"/").concat(e.slug,"-").concat(l,"/?view=dedicated-user-reviews"),s="/".concat(i.SERVICE,"/").concat(a,"/").concat(e.slug,"-").concat(l,"/reviews");if(o){var d=h?c:String((null===v||void 0===v?void 0:v.returnUrl)||s);f(d)}}))]:[2]}))}));return function(e){return n.apply(this,arguments)}}()})})}),L=!0;function H(n,e){var t;return n&&e&&(null===(t=Object.keys(n).filter((function(t){return n[t]===e})))||void 0===t?void 0:t[0])||""}var j=function(n){switch(n.pageType){case"SEARCH":case"ALL":case"CURRENT":return(0,a.Y)(u.default,(0,i.A)({},n));case"HOSPITAL":return(0,a.Y)(s.default,(0,i.A)({},n));case"SERVICE":return(0,a.Y)(p.default,(0,i.A)({},n));case"DOCTOR":return(0,a.Y)(o.default,(0,i.A)({},n));case"SPECIALTIES":return(0,a.Y)(h.default,(0,i.A)({},n));case"VACCINATIONS":return(0,a.Y)(g.default,(0,i.A)({},n));case"VACCINATION_DETAIL":return(0,a.Y)(m.default,(0,i.A)({},n));case"WEIGHT_LOSS":return(0,a.Y)(f.default,(0,i.A)({},n));case"WEIGHT_LOSS_DETAIL":return(0,a.Y)(v.default,(0,i.A)({},n));case"IVF":case"EGG_FREEZING":case"HEALTH_SCREENER":return(0,a.Y)(l.default,(0,i.A)({},n));case"IVF_DETAIL":case"EGG_FREEZING_DETAIL":case"HEALTH_SCREENER_DETAIL":return(0,a.Y)(c.default,(0,i.A)({},n));case"ORGANIZATION":return(0,a.Y)(d.default,(0,i.A)({},n));case"USER_REVIEWS":return(0,a.Y)(O,(0,i.A)({},n));case"CART":return(0,a.Y)(r.default,(0,i.A)({},n));default:return(0,a.Y)(a.FK,{})}}},53286:function(n,e,t){"use strict";t.r(e),t.d(e,{__N_SSP:function(){return R},default:function(){return G},handleChangeBranchOption:function(){return U},handleChangeHospitalOption:function(){return V}});var i,a,r=t(858),o=t(53513),l=t(63538),c=t(81539),s=t(83776),d=t(2445),u=t(73884),p=t(60304),h=t(76432),g=t(74029),m=t(59850),f=t(84091),v=t(48403),b=t(76013),y=t(33700),k=t(27401),x=t(88542),w=t(40959),A=t(10297),C=t.n(A),_=t(6442),M=t(91266),D=t(36259),Y=t(72291),E=t(17084),N=t(82118),S=t(67141),F=t(69831),T=t(96161);function I(){return I=Object.assign?Object.assign.bind():function(n){for(var e=1;e0&&wn>1&&(0,d.Y)(F.gw,{children:(0,d.Y)(h.P,{className:"pagination",pagesAmount:wn,currentPage:_n,onChange:function(n){Mn(n)}})})]})]}),(0,d.Y)(b.rI,{isMobile:!1,isShowing:Z,isLoading:Yn,errorMessages:tn,onClose:function(){an({content:""}),Q(!1)},onAccept:function(){Wn()},onDeny:function(){an({content:""}),Q(!1)},title:X&&X.isActive?Tn({id:"admin.popup.doYouWantToDeactiveDoctor",defaultMessage:"Do you want to deactive doctor ?"}):Tn({id:"admin.popup.doYouWantToActiveDoctor",defaultMessage:"Do you want to active doctor ?"}),caption:X&&X.isActive?Tn({id:"admin.popup.ifYouDeactiveDoctor",defaultMessage:"If you deactivate doctor, you will not be able to book your appointment from this doctor."}):Tn({id:"admin.popup.areYouSureToActiveThisDoctor",defaultMessage:"Are you sure to active this doctor?"}),acceptButtonTitle:X&&X.isActive?Tn({id:"admin.popup.yesDeactive",defaultMessage:"Yes, Deactive"}):Tn({id:"admin.popup.yesActive",defaultMessage:"Yes, Active"}),denyButtonTittle:Tn({id:"admin.users.noKeepIt",defaultMessage:"No, keep it"})}),(0,d.Y)(b.rI,{isMobile:!1,isShowing:sn,isLoading:Yn,errorMessages:tn,onClose:function(){an({content:""}),dn(!1)},onAccept:function(){Jn()},onDeny:function(){an({content:""}),dn(!1)},title:Tn({id:"admin.delete.titleDoctor",defaultMessage:"Are you sure to delete this doctor"}),caption:Tn({id:"booking.patientInfo.remove.confirmationPopup.caption",defaultMessage:"We can not restore it after it has been already deleted"}),acceptButtonTitle:Tn({id:"booking.patientInfo.remove.confirmationPopup.acceptButton.title",defaultMessage:"Yes, delete"}),denyButtonTittle:Tn({id:"admin.users.noKeepIt",defaultMessage:"No, keep it"})}),(0,d.Y)(N.A,{isOpened:pn,templateUrl:Ln,headerValid:Hn,onCloseClick:function(){return hn(!1)},onImportClick:Un,type:"file",maxRecordImport:50,title:Tn({id:"admin.import.title",defaultMessage:"Import CSV file"})})]})})}},72291:function(n,e,t){"use strict";t.r(e),t.d(e,{__N_SSP:function(){return N},useDebounce:function(){return S}});var i=t(858),a=t(81539),r=t(83776),o=t(2445),l=t(73884),c=t(76432),s=t(59850),d=t(84091),u=t(39749),p=t(77298),h=t(13954),g=t(76013),m=t(33700),f=t(27401),v=t(88542),b=t(40959),y=t(10297),k=t(6442),x=t(91266),w=t(36259),A=t(17084),C=t(69831),_=t(75287),M=t(86204),D=t(70527),Y=t(7495),E=function(n){var e=[],t=!0,i=!1,r=void 0;try{for(var l,c=n[Symbol.iterator]();!(t=(l=c.next()).done);t=!0){var s,d,u,p=l.value,g=p.role===b.U$p.SENIOR_BRANCH,m=[{value:p.id,type:"id"},{value:{title:p.name,imgSrc:(null===p||void 0===p?void 0:p.avatar)||"".concat(b.JpE,"/images/avatar.jpg"),caption:p.email},type:"info"},{value:{heading:(null===(s=p.hospital)||void 0===s?void 0:s.name)||"",text:g?(0,o.Y)("div",{className:"branchs-cell-wrapper",children:null===(d=p.branches)||void 0===d?void 0:d.map((function(n,e){return(0,o.Y)("div",{className:"branch-item",children:null===n||void 0===n?void 0:n.name},e)}))}):(0,o.Y)("div",{className:"branchs-cell-wrapper",children:(0,o.Y)("div",{className:"branch-item",children:(null===(u=p.branch)||void 0===u?void 0:u.name)||""})})},type:"two_line",className:"sp-hide td-hide"},{value:(null===p||void 0===p?void 0:p.phone)||"",type:"string",className:"sp-hide"},{value:(0,o.Y)(h.o,{role:p.role}),type:"element",className:"sp-hide"},{value:p.id,type:"key",metaData:p}];e=(0,a.A)(e).concat([m])}}catch(f){i=!0,r=f}finally{try{t||null==c.return||c.return()}finally{if(i)throw r}}return e},N=!0;function S(n){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:300,t=(0,l.useState)(n),i=t[0],a=t[1];return(0,l.useEffect)((function(){var t=setTimeout((function(){a(n)}),e);return function(){clearTimeout(t)}}),[n,e]),i}e.default=function(n){var e=n.users,t=n.pagination,a=(0,k.A)().formatMessage,h=(0,y.useRouter)(),N=(0,l.useContext)(w.B).state.userInfo,F=(0,l.useRef)(!0),T=h.locale,I=void 0===T?"vi-VN":T,z=b.EmC[I].id,B=(0,v.o)(),P=B.hospitalId,O=B.branchId,L=(0,l.useState)({}),H=L[0],j=L[1],R=(0,l.useState)(E(e)||[]),V=R[0],U=R[1],G=(0,l.useState)(""),q=G[0],K=G[1],W=S(q),J=(0,l.useState)((null===t||void 0===t?void 0:t.last)||1),Z=J[0],Q=J[1],$=(0,l.useState)(1),X=$[0],nn=$[1],en=(0,l.useState)((null===t||void 0===t?void 0:t.total_items)||0),tn=en[0],an=en[1],rn=(0,l.useState)(!1),on=rn[0],ln=rn[1],cn=(0,l.useState)(""),sn=cn[0],dn=cn[1],un=(0,l.useState)(!1),pn=un[0],hn=un[1],gn=(0,l.useState)(""),mn=gn[0],fn=gn[1],vn=(0,l.useState)({content:""}),bn=vn[0],yn=vn[1],kn=(0,l.useState)(!1),xn=kn[0],wn=kn[1],An=(0,l.useState)({type:"",content:""}),Cn=An[0],_n=An[1],Mn=function(){var n=(0,i.A)((function(){var n;return(0,r.__generator)(this,(function(e){switch(e.label){case 0:return e.trys.push([0,2,,3]),fn(""),[4,(0,d.px)((0,d.er)(s.R.POST_FORGOT_PASSWORD),"POST",{data:{email:mn}})];case 1:return(n=e.sent())&&1===(null===n||void 0===n?void 0:n._status)?_n({type:"success",content:(null===n||void 0===n?void 0:n._messages)&&(null===n||void 0===n?void 0:n._messages[0])}):_n({type:"danger",content:(null===n||void 0===n?void 0:n._messages)&&(null===n||void 0===n?void 0:n._messages[0])||a({id:"404.description"})}),[3,3];case 2:return e.sent(),_n({type:"danger",content:a({id:"404.description"})}),[3,3];case 3:return[2]}}))}));return function(){return n.apply(this,arguments)}}(),Dn=function(){var n=(0,i.A)((function(){var n,e;return(0,r.__generator)(this,(function(t){switch(t.label){case 0:return ln(!0),[4,(0,d.W3)((0,d.er)(s.R.GET_ADMIN_USER_LIST,{page:X||"",keyword:W||"",roleId:(null===H||void 0===H?void 0:H.value)||"".concat(b.MP.ADMIN,",").concat(b.MP.ORGANIZATION,",").concat(b.MP.BRANCH,",").concat(b.MP.SENIOR_BRANCH),hospitalId:P||"",branchId:O||"",countryId:z}),"GET",{headers:{accept:"application/json, text/plain, version=2.0.0"}})];case 1:return(n=t.sent())&&1===n._status&&(null===n||void 0===n?void 0:n._data)?(e=E(n._data.admins),Q(null===n||void 0===n?void 0:n._data.pagination.last),U(e),an(null===n||void 0===n?void 0:n._data.pagination.total_items)):n&&5===n._status&&h.push("/admin/login"),ln(!1),[2]}}))}));return function(){return n.apply(this,arguments)}}();(0,l.useEffect)((function(){F.current?F.current=!1:Dn()}),[H,W,P,O,X]);var Yn,En=[a({id:"admin.users.userInfo",defaultMessage:"User info"}),{text:a({id:"admin.users.hospital",defaultMessage:"Hospital"}),className:"sp-hide td-hide"},{text:a({id:"admin.users.phoneNumber",defaultMessage:"Phone Number"}),className:"sp-hide"},{text:a({id:"admin.users.role",defaultMessage:"Role"}),className:"sp-hide"}],Nn={all:{label:a({id:"admin.users.allRoles",defaultMessage:"All Roles"}),value:""},admin:{label:a({id:"admin.users.hhgAdmin",defaultMessage:"HHG Admin"}),value:"1"},facility:{label:a({id:"admin.users.organizationManager",defaultMessage:"Organization Manager"}),value:"2"},senior_branch:{label:a({id:"admin.users.seniorBranchManager",defaultMessage:"Senior Branch Manager"}),value:"6"},branch:{label:a({id:"admin.users.branchManager",defaultMessage:"Branch Manager"}),value:"3"}},Sn=(null===H||void 0===H?void 0:H.label)?"".concat(null===H||void 0===H?void 0:H.label," ").concat(void 0===tn||on?"":"(".concat(tn,")")):"".concat("branch"===(null===N||void 0===N?void 0:N.role)?a({id:"admin.users.branchManager",defaultMessage:"Branch Manager"}):a({id:"admin.users.allRoles",defaultMessage:"All roles"})," ").concat(void 0===tn||on?"":"(".concat(tn,")")),Fn=function(){var n=(0,i.A)((function(){var n;return(0,r.__generator)(this,(function(e){switch(e.label){case 0:return sn?(wn(!0),[4,(0,d.W3)((0,d.er)(s.R.POST_UPDATE_ADMIN,{userId:sn}),"DELETE")]):[2];case 1:return(n=e.sent())||yn({content:"An error occured"}),n&&1===(null===n||void 0===n?void 0:n._status)?(Dn(),hn(!1)):-1===(null===n||void 0===n?void 0:n._status)?yn({content:(null===n||void 0===n?void 0:n._messages)&&(null===n||void 0===n?void 0:n._messages[0])}):5===(null===n||void 0===n?void 0:n._status)&&h.push("/admin/login"),wn(!1),[2]}}))}));return function(){return n.apply(this,arguments)}}(),Tn=[b.U$p.ADMIN,b.U$p.SUPER,b.U$p.ORGANIZATION].includes((null===N||void 0===N?void 0:N.role)||"")?[{icon:(0,o.Y)(D.A,{width:16,height:16}),name:a({id:"admin.user.resetPassword"}),action:function(n,e){fn(e.email)}},{icon:(0,o.Y)(M.A,{}),name:a({id:"admin.facilities.button.edit",defaultMessage:"Edit"}),action:function(n){h.push("/admin/users/".concat(n))}}]:[];return(null===N||void 0===N?void 0:N.role)===b.U$p.SUPER&&Tn.push({icon:(0,o.Y)(Y.A,{}),name:a({id:"admin.guide.delete",defaultMessage:"Delete"}),action:function(n){dn(n),hn(!0)}}),(0,o.FD)(f.MasterDetail,{activePage:"users",title:a({id:"page.title.users",defaultMessage:"Users management"}),children:[(0,o.Y)(u.y,{className:"alert",alert:Cn,dismissTime:1e4}),(0,o.Y)(p.AdminNavigation,{header:a({id:"page.title.users",defaultMessage:"Users management"}),hasHospitalSearch:!0}),(0,o.FD)(C.rf,{children:[(0,o.Y)(A.D,{type:"user",title:Sn,searchValue:q,selectSearchOptions:(Yn=null===N||void 0===N?void 0:N.role,Yn===b.U$p.ADMIN||Yn===b.U$p.SUPER?[Nn.all,Nn.admin,Nn.facility,Nn.senior_branch,Nn.branch]:Yn===b.U$p.ORGANIZATION?[Nn.all,Nn.facility,Nn.senior_branch,Nn.branch]:Yn===b.U$p.SENIOR_BRANCH?[Nn.all,Nn.senior_branch,Nn.branch]:[]),setCurrentPage:nn,setSearchValue:K,setSelectedSOption:function(n){j(n),nn(1)},selectSearchClassName:"branch"===(null===N||void 0===N?void 0:N.role)?"disabled":""}),on?(0,o.Y)("div",{style:{display:"flex",flexDirection:"column",marginLeft:8},children:(0,o.Y)(x.A,{width:"100%",height:50,count:3,style:{marginBottom:12}})}):(0,o.FD)(_.Bs,{children:[(0,o.Y)(m.b,{hasOrderColumn:!1,headings:En,data:V,isShowEmpty:!on&&0===(null===V||void 0===V?void 0:V.length),moreOptions:Tn,onRowClicked:function(n){h.push("/admin/users/".concat(n))}}),Z>1&&(0,o.Y)(C.gw,{children:(0,o.Y)(c.P,{className:"pagination",pagesAmount:Z,currentPage:X,onChange:function(n){nn(n)}})})]})]}),(0,o.Y)(g.rI,{isMobile:!1,isShowing:pn,isLoading:xn,errorMessages:bn,onClose:function(){yn({content:""}),hn(!1)},onAccept:function(){Fn()},onDeny:function(){yn({content:""}),hn(!1)},title:a({id:"admin.delete.title",defaultMessage:"Are you sure to delete this user?"}),caption:a({id:"booking.patientInfo.remove.confirmationPopup.caption",defaultMessage:"We can not restore it after it has been already deleted"}),acceptButtonTitle:a({id:"booking.patientInfo.remove.confirmationPopup.acceptButton.title",defaultMessage:"Yes, delete"}),denyButtonTittle:a({id:"admin.users.noKeepIt",defaultMessage:"No, keep it"})}),(0,o.Y)(g.rI,{isMobile:!1,isShowing:!!mn,isLoading:!1,onClose:function(){fn("")},onAccept:function(){Mn()},onDeny:function(){fn("")},caption:(0,o.Y)("p",{children:a({id:"admin.user.resetPassword.confilm"},{email:mn})}),title:a({id:"admin.user.resetPassword.receiptLink"}),acceptButtonTitle:a({id:"confirm",defaultMessage:"Confirm"}),denyButtonTittle:a({id:"cancel",defaultMessage:"No"})})]})}},20458:function(n,e,t){"use strict";t.r(e),t.d(e,{__N_SSP:function(){return b},default:function(){return y}});var i=t(2445),a=t(72451),r=t(71572),o=t(95456),l=t(73419),c=t(6442),s=t(13034),d=t(40959),u="".concat(d.JpE,"/images/cart-empty-state.png"),p=t(11851),h=t(35291),g=t(25403),m=(0,p.A)(g.B,{target:"e11u4ea50"})("&.mantine-Button-root{background-color:",h.w.colors.yellow800,";min-width:200px;height:54px;border-radius:12px;&:hover{background-color:",h.w.colors.yellow700,";}}"),f=function(){var n=(0,c.A)().formatMessage,e=(0,l.$)().locale,t=(0,s.oN)(e);return(0,i.FD)("div",{className:"w-[306px] pt-[92px] mx-auto",children:[(0,i.FD)("div",{className:"flex flex-col gap-[38px] items-center ",children:[(0,i.Y)(o.Y,{src:u,width:205,height:226,className:"aspect-[205/226] object-contain shrink-0"}),(0,i.FD)("div",{className:"text-center flex flex-col gap-2",children:[(0,i.Y)(r.T,{size:"h3",fw:600,color:"gray1000",children:n({id:"page.cart.empty.title",defaultMessage:"Your cart is empty"})}),(0,i.Y)(r.T,{size:"p2",fw:500,color:"gray800",className:"!text-[15px]",children:n({id:"page.cart.empty.description",defaultMessage:"Let\u2019s find the right health service for you, from health checkups to vaccinations"})})]})]}),(0,i.Y)("a",{href:t,className:"flex justify-center pt-4",children:(0,i.Y)(m,{size:"lg","data-testid":"explore-services-button",children:(0,i.Y)(r.T,{size:"title1",color:"white",fw:600,children:n({id:"page.cart.empty.button",defaultMessage:"Explore Services"})})})})]})},v=t(28171),b=!0,y=function(){var n=(0,c.A)().formatMessage,e=(0,l.$)(),t=(0,a.a)().getHref();return t&&e.replace(t),(0,i.Y)(v.K,{title:n({id:"page.cart.seo.title",defaultMessage:"Cart"}),description:n({id:"page.cart.seo.description",defaultMessage:"Cart"}),children:(0,i.Y)(f,{})})}},22917:function(n,e,t){"use strict";t.r(e),t.d(e,{__N_SSP:function(){return pn},default:function(){return hn}});var i=t(81539),a=t(2445),r=t(73884),o=t(37597),l=t(27516),c=t(79777),s=t(3365),d=t(40959);function u(n){var e,t,i,a,r,o,l,c,u,p,h=n.doctor,g=n.seoTitle,m=n.seoDescription,f=n.footerInfo,v=n.f,b="".concat(s.wd).concat(s.VH.DOCTOR,"/").concat(h.slug,"-").concat(h.id),y="".concat(b,"/#breadcrumb"),k="".concat(b,"/#itempage"),x={"@id":k,"@type":"ItemPage",url:"".concat(b,"/"),inLanguage:s.Np,name:g,isPartOf:{"@id":s.vq},description:m,breadcrumb:{"@id":y}},w={"@id":"".concat(b,"/#person"),"@type":"Person",name:h.name,url:"".concat(b,"/"),mainEntityOfPage:{"@id":k},description:h.description,jobTitle:v({id:"careBooking.doctor"}),worksFor:{"@type":"Organization",name:(null===(e=h.organization)||void 0===e?void 0:e.name)||""},workLocation:{"@type":"Place",address:(null===(t=h.hospital)||void 0===t?void 0:t.address)||""},potentialAction:{"@type":"ReserveAction",target:{"@type":"EntryPoint",urlTemplate:"".concat(b,"/"),actionPlatform:["http://schema.org/DesktopWebPlatform","http://schema.org/MobileWebPlatform"]}}};if(h.avatar){var A="".concat(b,"/#primaryimage");x.image={"@type":"ImageObject","@id":A,url:h.avatar},x.primaryImageOfPage={"@id":A},w.image=h.avatar}(null===h||void 0===h||null===(i=h.services)||void 0===i?void 0:i.length)&&(w.hasOfferCatalog={"@type":"OfferCatalog",name:v({id:"doctorPage.service"}),itemListElement:h.services.map((function(n){return{"@type":"Offer",priceCurrency:s.UM[d.HgX],price:n.price.toString(),availability:"https://schema.org/InStock"}}))}),(null===h||void 0===h||null===(a=h.expertise)||void 0===a?void 0:a.length)&&(w.knowsAbout={"@type":"MedicalCondition",name:h.expertise.map((function(n){return n.name}))}),(null===h||void 0===h||null===(r=h.experience)||void 0===r?void 0:r.length)&&(w.hasOccupation={"@type":"Occupation",name:h.experience.map((function(n){return n.title}))}),(null===h||void 0===h||null===(o=h.awards)||void 0===o?void 0:o.length)&&(w.award=h.awards.map((function(n){return"".concat(n.name," ").concat(n.year)}))),(null===h||void 0===h||null===(l=h.education)||void 0===l?void 0:l.length)&&(w.hasCredential={"@type":"EducationalOccupationalCredential",name:h.education.map((function(n){return n.field}))},w.alumniOf={"@type":"EducationalOrganization",name:h.education.map((function(n){return n.school}))}),(null===h||void 0===h||null===(c=h.memberships)||void 0===c?void 0:c.length)&&(w.affiliation={"@type":"Organization",name:h.memberships.map((function(n){return n.name}))}),(null===h||void 0===h||null===(u=h.languages)||void 0===u?void 0:u.length)&&(w.knowsLanguage=h.languages);var C=[x,(0,s.xt)(b,"page.title.search",[{name:h.name,url:"".concat(b,"/"),isItemPage:!0}],v),w];return(null===h||void 0===h||null===(p=h.faqs)||void 0===p?void 0:p.length)&&C.push((0,s.lc)(h.faqs)),(0,s.oU)(C,f)}var p=t(84091),h=t(19475),g=t(48403),m=t(76013),f=t(66298),v=t(88491),b=t(73419),y=t(58638),k=t(35507),x=t(72946),w=t(6442),A=t(91266),C=t(36259),_=t(13034),M=t(3045),D=t(20607),Y=t(95380),E=t(70931),N=t(49758),S=t(7449),F=t(75072),T=t(24537),I=t(27317);function z(){var n=(0,T.A)(["\n border-radius: 6px;\n background: ",";\n padding: 16px;\n display: flex;\n flex-direction: column;\n gap: 8px;\n align-items: center;\n"]);return z=function(){return n},n}function B(){var n=(0,T.A)(["\n color: ",";\n font-size: 18px;\n font-weight: 700;\n line-height: 28px;\n text-align: center;\n"]);return B=function(){return n},n}function P(){var n=(0,T.A)(["\n color: ",";\n font-size: 14px;\n font-style: normal;\n font-weight: 400;\n line-height: 22px;\n text-align: center;\n"]);return P=function(){return n},n}var O,L,H=I.Ay.div.withConfig({componentId:"sc-ca102143-0"})(z(),(function(n){return n.theme.colors.neutral50})),j=I.Ay.div.withConfig({componentId:"sc-ca102143-1"})(B(),(function(n){return n.theme.colors.gray800})),R=I.Ay.div.withConfig({componentId:"sc-ca102143-2"})(P(),(function(n){return n.theme.colors.gray600}));function V(){return V=Object.assign?Object.assign.bind():function(n){for(var e=1;e2?null===An||void 0===An?void 0:An[2]:un),Yn=(0,y.b)(),En=Yn.isSticky,Nn=Yn.scrollTriggerEl,Sn="my-booking"===wn;(0,k.n)();var Fn=(0,r.useCallback)((function(n){var e,t=(null===(e=$[n])||void 0===e?void 0:e.value)||un;return(0,_.KY)((null===Cn||void 0===Cn?void 0:Cn[0])===Dn||An.includes(Dn)?_n.replace("/".concat(Dn,"/"),"/".concat(t,"/")):Sn?_n.replace("/".concat(An,"/"),"/".concat(An,"/").concat(t)):"".concat(_n,"/").concat(t))}),[$,Dn,An,_n]),Tn=I.status===d.XQv.INACTIVE||!I.validOutpatient&&!I.validTelemedicine,In=(0,r.useMemo)((function(){return H.title?H.title:R({id:"home.seoTitle.doctorDetail",defaultMessage:"{doctorName}, {specialtyName} - Book Appointment Online"},{doctorName:I.name,specialtyName:I.specialties.map((function(n){return"string"===typeof n?n:n.name})).join(",")})}),[H]),zn=(0,r.useMemo)((function(){var n;return H.description?H.description:R({id:"home.seoDescription.doctorDetail",defaultMessage:"Book an Appointment with {doctorName} in {cityName} instantly. See available appointment times, services & prices."},{doctorName:I.name,cityName:I.cityName||(null===(n=I.hospital)||void 0===n?void 0:n.name)})}),[H]),Bn=(0,r.useMemo)((function(){return H.image?H.image:(0,S.PN)(null===I||void 0===I?void 0:I.id,"doctor",kn)}),[H,null===I||void 0===I?void 0:I.id]),Pn=(0,E.oq)({locale:kn,isMobile:K,contentAdTag:"Doctor"}),On=E.Uq.includes(kn),Ln=(0,r.useMemo)((function(){return On}),[On]),Hn=(0,r.useMemo)((function(){var n;return On&&!!(null===(n=I.services)||void 0===n?void 0:n.length)}),[On,I]),jn=(0,r.useMemo)((function(){return j&&I.validTelemedicine&&!Number(I.telemedicineFee)&&nn}),[I,j,I.validTelemedicine,nn]),Rn=Tn?(0,a.Y)(G,{}):(0,a.Y)(m.Ym,{className:"bookingCard",schedules:rn,chosenDate:pn,firstDayHasSlot:hn,onChangeChosenDate:function(n){gn(n)},isLoading:an,onContinueBooking:function(n){var e="?doctorId=".concat(I.id,"&date=").concat((0,f.A)(pn,d.cuM),"&scheduleId=").concat(n.schedule_id,"&telemedicine=").concat(nn||"");j&&(e+="&utm_campaign=telemedicine");var t="/booking/doctor/".concat(e);if(V&&J)bn.push(t);else if(d.dXu)c.u.getState().triggerCareEmailPhoneVerify({returnUrl:"".concat(d.JpE).concat(t),source:"care_onboarding"});else{var i=(0,p.sT)("".concat(d.JpE).concat(t),"care_onboarding");window.location.href=i}},isMobile:K,pickerSelected:mn,onChangePicker:fn,isStickyBtn:En,adUnitPath:Pn,rangeDaysPicked:vn,type:"doctor",doctorInfo:I,isTeleMedicine:nn,setTeleMedicine:function(n){return en(n)},price:nn?I.telemedicineFee:I.price,priceType:nn?d.vne.FIXED:I.priceType,priceTo:I.priceTo,validTelemedicine:I.validTelemedicine,validOutpatient:I.validOutpatient,doctorId:I.id,frisoCampaign:I.frisoCampaign,isPromotion:I.promotion,isSiloam:I.isSiloam,address:(null===I||void 0===I||null===(s=I.hospital)||void 0===s?void 0:s.address)||"",showAdTop:Ln,showAdMid:Hn,description:nn?I.telemedicineDescription:I.outpatientDescription,bufferTime:nn?I.bufferTimeTele:I.bufferTimeOutpatient,vouchers:I.vouchers,originalPrice:jn?null===I||void 0===I?void 0:I.originalPrice:"",isValidTanganil:jn});return(0,a.FD)(sn.K,{title:In,description:zn,schemaOrg:u({doctor:I,seoTitle:In,seoDescription:zn,footerInfo:O,f:R}),image:Bn,isSearchBarDisplay:!1,SEOData:{isIndexable:!(null===(T=dn.f[kn])||void 0===T?void 0:T.includes(null===I||void 0===I?void 0:I.id))&&!!(null===I||void 0===I?void 0:I.status),hasNoAmp:!0,canonicalUrl:(0,_.KY)("care".concat(z)),openGraph:{image:Bn}},isMobile:K,footerInfo:O,ssrNavMenu:L,children:[(0,a.Y)(M.A,{children:(0,a.Y)(o.B,{size:"md",pages:[Sn?{label:R({id:"breadcrumb.item.myBooking",defaultMessage:"My Booking"}),value:d.bUv.SSO_MY_BOOKING}:{label:R({id:"page.title.search",defaultMessage:"Search"}),value:"".concat(d.JpE,"/")},{label:I.name,value:(0,_.KY)("".concat(d.JpE).concat(z))}]})}),(0,a.FD)(cn.Oz,{children:[(0,a.FD)(h.mc,{children:[(0,a.Y)(g.vB,{doctorInfo:I,isMobile:K,className:"doctorDetail"}),I.glance&&W&&(0,a.Y)(ln.E,{glance:I.glance,className:"mb-[24px]"}),(0,a.FD)(cn.Zg,{"data-is-booking-unavailable":Tn,children:[(0,a.FD)(cn.EQ,{ref:Z,isRightPanelActive:!W,children:[W&&(0,a.Y)(a.FK,{children:rn.length?Rn:(0,a.Y)(A.A,{height:500})}),I.glance&&!W&&(0,a.Y)(ln.E,{glance:I.glance,className:"mb-[24px]"}),(0,a.Y)(cn.sg,{tabContent:$.map((function(n,e){return{name:n.label,dataEventCategory:"Care",dataEventAction:"info"===n.value?"General Info Tab Click":"Review Tab Click",dataEventLabel:"https://".concat(l.y[kn]).concat(d.JpE).concat(Fn(e))}})),onChange:function(n){return Mn(Fn(n),void 0,{shallow:!0})},initialTab:$.findIndex((function(n){return n.value===Dn}))}),"info"===Dn&&(0,a.Y)(q.w,{doctorInfo:I,showAd:!0}),"reviews"===Dn&&Q&&(0,a.Y)(a.FK,{children:P.reviews.length?(0,a.Y)(on,{doctorInfo:I,doctorRatingDetails:B,doctorReviews:P}):(0,a.Y)(N.G,{})})]}),!W&&(0,a.FD)("div",{className:"bookingDesktop","data-is-loading":an||void 0,"data-has-ad":On,children:[rn.length?Rn:(0,a.Y)(A.A,{height:600}),Ln&&K&&(0,a.Y)(cn.U7,{style:{flex:2.5,marginBottom:24},children:(0,a.Y)(D.z,{className:"ad-container",adUnitPath:Pn,size:[[300,250],[300,600]],divId:"ad-doctor-desktop-top-banner",pos:["TopBanner"],adDefaultSize:[300,250],customTargetings:{Doctor_ID:[I.id]}})}),Hn&&K&&(0,a.Y)(cn.U7,{children:(0,a.Y)(D.z,{className:"ad-container",adUnitPath:Pn,size:[300,250],divId:"ad-doctor-desktop-mid-banner1",pos:["MidBanner1"],adDefaultSize:[300,250],customTargetings:{Doctor_ID:[I.id]}})})]}),K&&Nn]})]}),!K&&(0,a.Y)(Y.A,{divId:"ad-doctor-desktop-sticky",adUnitPath:Pn,customTargetings:{Doctor_ID:[I.id]}})]})]})}},19289:function(n,e,t){"use strict";t.r(e),t.d(e,{__N_SSP:function(){return G},default:function(){return q}});var i=t(858),a=t(83776),r=t(2445),o=t(73884),l=t(74029),c=t(34767),s=t(19475),d=t(21861),u=t(20864),p=t(83784),h=t(18754),g=t(59869),m=t(42280),f=t(77961),v=t(73419),b=t(53100),y=t(40959),k=t(28636),x=t.n(k),w=t(6442),A=t(36259),C=t(39078),_=t(92509),M=t(13034),D=t(26754),Y=t(88718),E=t(71572),N=t(32485),S=t.n(N),F=t(95564),T=t(10905),I=t(41145),z=t(54109),B=t(10813),P=t(34283),O=t(51768),L=t(18502),H=function(n){var e=n.name,t=n.description,i=n.logo,a=n.link,o=(0,v.$)();return(0,r.Y)("div",{className:"bg-white rounded-2xl p-4 hover:shadow-lg transition-shadow cursor-pointer",onClick:function(){return o.push(a)},children:(0,r.FD)("div",{className:"flex gap-3",children:[(0,r.Y)("div",{className:"flex-1",children:(0,r.FD)("div",{className:"space-y-2",children:[(0,r.Y)(E.T,{size:"h4",fw:600,color:"gray1000",children:e}),(0,r.Y)(E.T,{size:"title2",fw:400,color:"gray700",children:t})]})}),(0,r.Y)("div",{className:"flex-shrink-0 flex-grow-[72px]",children:(0,r.Y)(L.I,{alt:e,src:i||l.__,width:72,height:72,className:"rounded-lg w-[72px] h-[72px]"})})]})})},j=t(89312),R=t(46345),V=t(28171),U=function(n){var e=n.canonicalUrl,t=n.footerInfo,i=n.navMenuContent,a=n.hospitalServiceDetail,l=n.refetchHospitalServiceDetail,c=n.serviceType,d=(0,v.$)(),u=d.locale,p=void 0===u?"vi-VN":u,h=d.push,g=d.asPath,m=(0,w.A)().formatMessage,k=(0,o.useContext)(A.B).state.isMobileSsr,x=(0,b.l)().isMobile,C=(0,f.E)(k,x),_=(0,o.useState)(!1),D=_[0],Y=_[1],N=(0,o.useRef)(null),L=(0,z.h)(N),U=a.logo,G=a.display_name,q=a.contest,K=a.start_time_contest_mode,W=a.end_time_contest_mode,J=a.description,Z=a.slug,Q=a.id,$=(0,o.useMemo)((function(){return"".concat((0,M.WZ)(c,p,""),"/").concat(Z,"-").concat(Q,"/")}),[p,Z,Q,c]),X=(0,B.A)({contest:!!q,start_time_contest_mode:K,end_time_contest_mode:W}).isContestMode;C&&d.push("".concat((0,M.WZ)(c,p,""),"/").concat(Z,"-").concat(Q,"/"));var nn=new URLSearchParams({returnUrl:"".concat(g)}),en=function(){var n;C?Y(!0):h("/".concat(null===(n=F.localisedSlugs[p])||void 0===n?void 0:n.USER_REVIEWS,"/").concat(Z,"-").concat(Q,"?").concat(nn.toString()))};return(0,r.Y)(V.K,{title:G,description:J||"",image:y.ElQ[p].HOMEPAGE_IMAGE,isSearchBarDisplay:!0,SEOData:{isIndexable:!0,hasNoAmp:!0,canonicalUrl:null===e||void 0===e?void 0:e.toLowerCase()},isMobile:C,footerInfo:t,ssrNavMenu:i||void 0,children:(0,r.Y)(O._9,{className:"pb-[72px] pt-6",children:(0,r.Y)(s.mc,{isFluid:!0,isNewContainer:!0,className:"!pb-8",children:(0,r.FD)("div",{className:"flex gap-6",children:[(0,r.Y)("div",{className:"bg-white p-6 rounded-2xl w-[552px]",children:(0,r.FD)("div",{className:"space-y-6",children:[(0,r.Y)(E.T,{size:"h3",fw:600,color:"gray1000",children:m({id:"userReview.allReviews",defaultMessage:"All Product Review"})}),(0,r.Y)("div",{className:S()({"border border-solid border-blue200 rounded-xl bg-blue50 p-6":!X}),ref:N,children:(0,r.Y)(j.A,{serviceType:c,onClickReview:en,dataTracking:P.Yh.clickWriteReview,contestMode:X,className:"!border-none !mb-0"})}),(0,r.Y)(R.A,{data:a,refetchList:l,showReviewForm:D,setShowReviewForm:Y,isContestMode:X})]})}),(0,r.Y)("div",{className:"flex-1",children:(0,r.FD)("div",{className:"space-y-3 sticky top-[80px]",children:[(0,r.Y)(H,{name:G,description:J||"",logo:U||"",link:$}),(0,r.Y)(T.N,{children:L&&(0,r.Y)(I.P.div,{className:S()({"border border-solid border-blue200 rounded-xl bg-blue50 p-6":!X}),initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},transition:{duration:.2},children:(0,r.Y)(j.A,{serviceType:c,onClickReview:en,dataTracking:P.Yh.clickWriteReview,contestMode:X,className:"!border-none !mb-0"})})})]})})]})})})})},G=!0,q=function(n){var e=n.canonicalUrl,t=n.footerInfo,k=n.navMenuContent,E=n.hospitalServiceDetail,N=n.serviceType,S=n.faqsResult,F=n.isReviewsPage,T=n.isPaymentPage,I=n.paymentResult,z=(0,v.$)(),B=z.locale,P=void 0===B?"vi-VN":B,O=E.service_type,L=E.display_name,H=E.logo,j=E.description,R=E.price,G=E.price_discount,q=E.price_unit,K=E.organization,W=(0,o.useState)(E),J=W[0],Z=W[1],Q=(0,o.useContext)(A.B).state.isMobileSsr,$=(0,b.l)().isMobile,X=(0,f.E)(Q,$),nn=(0,w.A)().formatMessage,en=(0,m.Jf)(),tn=en.paymentResult,an=en.setVaccinationDetail,rn=en.setPaymentResult;(0,o.useMemo)((function(){rn(I)}),[I]),(0,o.useEffect)((function(){Z(E),an(E)}),[E]);var on=(0,M.oN)(P),ln="".concat(on).concat(e),cn=[{label:nn({id:"detailPage.breadcrumbs.home",defaultMessage:"Home"}),value:on},{label:nn({id:"detailPage.breadcrumbs.".concat(O),defaultMessage:"Hospital Service"}),value:"".concat(on).concat((0,M.WZ)(O,P))},{label:L,value:ln}],sn={display_name:L,description:j,price:R,price_discount:G,price_unit:q,organization:K,image:H},dn=[(0,C.J9)(nn({id:"home.discover.seoDescription",defaultMessage:"Care"}),P),(0,C.to)(cn),(0,_.V)(K,ln),(0,_.d)(sn,ln,P),(0,C.wm)((null===S||void 0===S?void 0:S.faq)||[])],un=(0,C.dS)(dn),pn=JSON.stringify(un);(0,o.useEffect)((function(){X&&z.replace(window.location.href.replace("/reviews",""))}),[X]);var hn=function(){var n=(0,i.A)((function(){var n,e,t;return(0,a.__generator)(this,(function(i){switch(i.label){case 0:return i.trys.push([0,2,,3]),[4,c.Xx.getVaccinationDetail({id:String(E.id),isV4:!0})];case 1:return n=i.sent(),e=(0,l.kg)(n.vaccine,N),Z(e),an(e),[3,3];case 2:return t=i.sent(),console.error("Refetch hospital service detail failed",t),[3,3];case 3:return[2]}}))}));return function(){return n.apply(this,arguments)}}();return F?(0,r.Y)(U,{canonicalUrl:e,footerInfo:t,navMenuContent:k,hospitalServiceDetail:J,refetchHospitalServiceDetail:hn,serviceType:N}):T?tn||I?(0,r.FD)(r.FK,{children:[(0,r.Y)(g.A,{vaccinationDetail:J}),(0,r.Y)(h.A,{vaccinationDetail:J,paymentResult:tn||I})]}):(0,r.FD)(r.FK,{children:[(0,r.Y)(g.A,{vaccinationDetail:E}),(0,r.Y)(D.XP,{children:(0,r.Y)(u.DT,{serviceData:E,children:(0,r.Y)(p.A,{vaccinationDetail:E})})})]}):(0,r.FD)(r.FK,{children:[(0,r.Y)(x(),{children:(0,r.Y)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:pn}})}),(0,r.Y)(V.K,{title:J.display_name,description:J.description||"",image:y.ElQ[P].HOMEPAGE_IMAGE,isSearchBarDisplay:!0,SEOData:{isIndexable:!0,hasNoAmp:!0,canonicalUrl:null===e||void 0===e?void 0:e.toLowerCase()},isMobile:X,footerInfo:t,ssrNavMenu:k||void 0,children:(0,r.Y)("div",{className:"pb-[72px] bg-neutral50",children:(0,r.Y)(s.mc,{isFluid:!0,isNewContainer:!0,className:"!pb-8",children:(0,r.FD)(D.XP,{children:[(0,r.Y)(d.A,{className:"hidden md:block py-4",pages:cn}),(0,r.Y)(u.DT,{serviceData:J,children:(0,r.Y)(Y.x,{data:J,refetchHospitalServiceDetail:hn,faqsResult:S},J.id)})]})})})})]})}},80761:function(n,e,t){"use strict";t.r(e),t.d(e,{__N_SSP:function(){return A}});var i=t(2445),a=t(73884),r=t(26273),o=t(48894),l=t(13306),c=t(77961),s=t(73419),d=t(53100),u=t(40959),p=t(28636),h=t.n(p),g=t(6442),m=t(36259),f=t(39078),v=t(9902),b=t(13034),y=t(26754),k=t(37927),x=t(88718),w=t(28171),A=!0;e.default=function(n){var e,t=n.canonicalUrl,p=n.footerInfo,A=n.navMenuContent,C=n.pageType,_=n.serviceType,M=n.initServiceData,D=(0,s.$)().locale,Y=(0,a.useContext)(m.B).state.isMobileSsr,E=(0,d.l)().isMobile,N=(0,g.A)().formatMessage,S=(0,c.E)(Y,E),F=(0,b.oN)(D),T="".concat(F).concat(t),I=[{label:N({id:"detailPage.breadcrumbs.home",defaultMessage:"Home"}),value:F},{label:N({id:"detailPage.breadcrumbs.".concat(_),defaultMessage:"Hospital Service"}),value:T}],z=[(0,f.J9)(N({id:"home.discover.seoDescription",defaultMessage:"Care"}),D),(0,f.to)(I),(0,v.v)({listingType:N({id:"detailPage.breadcrumbs.".concat(_),defaultMessage:"Vaccination"}),listingDescription:N({id:"page.seoDescription.vaccination",defaultMessage:"Vaccination"}),items:(null===M||void 0===M?void 0:M.items)||[],currentUrl:T,totalItems:(null===M||void 0===M||null===(e=M.pagination)||void 0===e?void 0:e.total_items)||0,locale:D})],B=(0,f.dS)(z),P=JSON.stringify(B);return(0,i.FD)(i.FK,{children:[(0,i.Y)(h(),{children:(0,i.Y)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:P}})}),(0,i.Y)(w.K,{title:N({id:"page.title.".concat(C.toLowerCase()),defaultMessage:C}),description:N({id:"page.seoDescription.".concat(C.toLowerCase()),defaultMessage:"".concat(C,"-description")}),image:u.ElQ[D].HOMEPAGE_IMAGE,isSearchBarDisplay:!0,SEOData:{isIndexable:!0,hasNoAmp:!0,canonicalUrl:null===t||void 0===t?void 0:t.toLowerCase()},isMobile:S,footerInfo:p,ssrNavMenu:A,children:(0,i.Y)("div",{className:" bg-neutral50",children:(0,i.FD)(y.XP,{children:[S&&D===r.L.Vietnam&&(0,i.Y)(k.m,{locale:D,isMobile:S,handleSubmitCTA:function(n){var e=n.callingCode,t=n.countryCode,i=n.phone;return o.F.collectionSubmitCTA({area_code:e,country_code:t,cta_text:"",phone_number:i,source_url:"".concat(window.location.origin).concat(window.location.pathname),messaging_app:l.so.Zalo,source_type:l.Y1[C]})}}),(0,i.Y)(x.K,{initItems:(null===M||void 0===M?void 0:M.items)||[],initPagination:null===M||void 0===M?void 0:M.pagination,serviceType:_,breadcrumbsPages:I})]})})})]})}},27414:function(n,e,t){"use strict";t.r(e),t.d(e,{__N_SSP:function(){return Xe},default:function(){return nt}});var i=t(53513),a=t(63538),r=t(40568),o=t(81539),l=t(2445),c=t(73884),s=t(35291),d=t(37597),u=t(57077),p=t(10333),h=t(27516),g=t(74029),m=t(66298),f=t(1806),v=t(3365),b=t(40959),y={mon:"Monday",tue:"Tuesday",wed:"Wednesday",thu:"Thursday",fri:"Friday",sat:"Saturday",sun:"Sunday"};function k(n){var e,t=n.hospital,i=n.footerInfo,a=n.cityInfo,r=n.reviews,o=void 0===r?[]:r,l=n.f,c="".concat(v.wd).concat(v.VH.HOSPITAL,"/").concat(t.slug,"-").concat(t.id),s="".concat(c,"/#primaryimage"),d=Object.values(t.images).filter(Boolean),u={"@id":"".concat(c,"/#itempage"),"@type":"ItemPage",breadcrumb:{"@id":"".concat(c,"/#breadcrumb")},description:l({id:"home.seoDescription.hospitalDetail"},{hospitalName:t.name,cityName:(null===a||void 0===a?void 0:a.name)||t.address}),inLanguage:v.Np,isPartOf:{"@id":v.vq},name:t.name,url:"".concat(c,"/")};d.length&&(u.image={"@id":s,"@type":"ImageObject",url:d[0]},u.primaryImageOfPage={"@id":s});var p={"@id":"".concat(c,"/#medicalclinic"),"@type":"MedicalClinic",url:"".concat(c,"/"),name:t.name,description:t.about,address:{"@type":"PostalAddress",addressCountry:v.jF[b.HgX],streetAddress:t.address},geo:{"@type":"GeoCoordinates",latitude:Number(t.latitude),longitude:Number(t.longitude)},hasMap:"https://maps.google.com/maps?ll=".concat(t.latitude,",").concat(t.longitude,"&q=").concat(encodeURIComponent(t.name)),mainEntityOfPage:{"@id":u["@id"]||""},potentialAction:{"@type":"ReserveAction",target:{"@type":"EntryPoint",actionPlatform:["http://schema.org/DesktopWebPlatform","http://schema.org/MobileWebPlatform"],urlTemplate:"".concat(c,"/")}}};d.length>0&&(p.image=d[0]),t.totalReviews>0&&(p.aggregateRating={"@type":"AggregateRating",ratingCount:t.totalReviews,ratingValue:t.rating}),t.medicalFacilities&&(p.amenityFeature={"@type":"LocationFeatureSpecification",name:t.medicalFacilities.map((function(n){return n.trim()}))}),t.serviceCategories&&(p.availableService=t.serviceCategories.map((function(n){return n.services})).flat().map((function(n){return{"@type":"MedicalProcedure",description:n.description,name:n.name}}))),t.featuredDoctors&&(p.employee=t.featuredDoctors.map((function(n){return{"@type":"Person",image:n.avatar,knowsAbout:(n.specialties||[]).map((function(n){return"object"===typeof n?n.name:n})).join(", "),name:n.name}}))),t.specialties&&(p.medicalSpecialty={"@type":"MedicalSpecialty",name:t.specialties.map((function(n){return n.name}))}),t.openingHours&&(p.openingHoursSpecification=t.openingHours.map((function(n){return{"@type":"OpeningHoursSpecification",dayOfWeek:y[n.day],opens:n.start,closes:n.end}}))),t.acceptedPayments&&(p.paymentAccepted=t.acceptedPayments.map((function(n){return n.name})).join(", ")),o.length>0&&(p.review=o.map(x));var h=[u,(0,v.xt)(c,"careBooking.doctorBooking",[{name:t.name,url:"".concat(c,"/"),isItemPage:!0}],l),p];return(null===(e=t.faqs)||void 0===e?void 0:e.length)&&h.push((0,v.lc)(t.faqs)),(0,v.oU)(h,i)}function x(n){var e={"@type":"Review",author:{"@type":"Person",name:n.booking.patient.name||"no name"},datePublished:(0,m.A)((0,f.A)(n.createdAt),"yyyy-MM-dd")};return n.feedback&&(e.reviewBody=n.feedback),n.rate&&(e.reviewRating={"@type":"Rating",ratingValue:String(n.rate)}),e}var w=t(19475),A=t(858),C=t(24537),_=t(83776),M=t(44410),D=t(12263),Y=t(76432),E=t(59850),N=t(84091),S=t(2543),F=t(10297),T=t(6442),I=t(91266),z=t(27317),B=t(48403),P=t(3184);function O(){var n=(0,C.A)(["\n .hospital__tabs {\n margin-top: 8px;\n position: sticky;\n top: 57px;\n width: 100%;\n z-index: 9;\n background-color: white;\n padding-top: 8px;\n }\n\n .inner-content {\n display: flex;\n gap: 24px;\n "," {\n &[data-is-top-bar-appeared='true'] {\n .hospital__tabs {\n top: 57px;\n transition: top 0.5s;\n }\n }\n\n &[data-is-top-bar-appeared='false'] {\n .hospital__tabs {\n top: 0;\n transition: top 0.5s;\n }\n }\n }\n\n .booking-card {\n width: 100%;\n height: 100%;\n background-color: red;\n }\n }\n\n "," {\n h1 {\n margin-top: 1rem;\n margin-bottom: 6px;\n }\n\n ol {\n display: grid;\n grid-template-columns: repeat(2, 1fr);\n }\n }\n"]);return O=function(){return n},n}function L(){var n=(0,C.A)(["\n --image-height: 380px;\n "," {\n --image-height: 240px;\n margin: 0 -16px;\n }\n position: relative;\n height: var(--image-height);\n margin-top: 22px;\n border-radius: 6px;\n\n .container {\n overflow: hidden;\n }\n\n img {\n width: 100%;\n height: var(--image-height);\n border-radius: 8px;\n object-fit: cover;\n }\n\n .arrow-right {\n cursor: pointer;\n right: 8px;\n }\n\n .arrow-left {\n cursor: pointer;\n left: 8px;\n }\n\n "," {\n .bullet-nav {\n left: unset;\n right: 16px;\n bottom: 16px;\n }\n }\n\n "," {\n .bullet-nav {\n bottom: 14px;\n }\n }\n"]);return L=function(){return n},n}function H(){var n=(0,C.A)(["\n .main-info {\n display: flex;\n gap: 16px;\n position: relative;\n justify-content: space-between;\n\n "," {\n gap: 8px;\n flex-direction: column;\n }\n\n .hospital-infor-wrapper {\n display: flex;\n gap: 16px;\n order: 0;\n\n "," {\n gap: 8px;\n flex-direction: column;\n order: 1;\n }\n\n &.hospital-no-banner {\n .logo {\n margin-top: 24px;\n\n "," {\n margin-top: 16px;\n }\n }\n }\n }\n\n .client-sponsored-hospital {\n margin-top: 20px;\n\n "," {\n top: 16px;\n position: absolute;\n right: 16px;\n margin-top: 0;\n }\n }\n\n .logo {\n width: 140px;\n height: 140px;\n position: relative;\n margin-top: -30px;\n box-shadow: 0px 2px 2px rgb(0 0 0 / 7%), 0px 4px 7px rgb(0 0 0 / 15%);\n border-radius: 50%;\n overflow: hidden;\n\n "," {\n width: 80px;\n height: 80px;\n margin-top: -40px;\n }\n\n img {\n background-color: white;\n width: 100%;\n height: 100%;\n object-fit: contain;\n }\n }\n\n .info {\n "," {\n margin-top: 24px;\n }\n "," {\n margin-top: 14px;\n }\n flex: 1;\n\n & + p {\n flex: 1;\n }\n\n .address {\n display: flex;\n gap: 4px;\n color: ",";\n\n > p {\n flex: 1;\n }\n\n .address-icon {\n margin-top: 2px;\n width: 16px;\n height: 16px;\n flex: 0 0 16px;\n }\n\n address {\n display: inline;\n }\n\n .dots {\n display: inline-flex;\n margin: 0 0.5rem;\n vertical-align: middle;\n }\n }\n }\n\n .main-info-hospital-name {\n margin: 0;\n font-size: 22px;\n line-height: 32px;\n letter-spacing: -0.6px;\n }\n }\n"]);return H=function(){return n},n}function j(){var n=(0,C.A)(["\n "," {\n margin-top: 24px;\n }\n"]);return j=function(){return n},n}function R(){var n=(0,C.A)(["\n margin-top: 24px;\n border: 4px solid ",";\n"]);return R=function(){return n},n}function V(){var n=(0,C.A)(["\n display: flex;\n margin-top: 16px;\n justify-content: flex-end;\n\n "," {\n width: 100%;\n > div {\n flex: 1;\n }\n }\n"]);return V=function(){return n},n}function U(){var n=(0,C.A)(["\n display: flex;\n height: 100%;\n align-items: flex-start;\n"]);return U=function(){return n},n}function G(){var n=(0,C.A)(["\n width: 100%;\n &[data-with-quick-booking='true'] {\n max-width: calc(100% - (360px + 24px));\n }\n\n .hospital__tabs {\n li {\n &.hide-tab {\n display: none;\n }\n }\n }\n"]);return G=function(){return n},n}function q(){var n=(0,C.A)(["\n display: flex;\n flex-direction: column;\n "," {\n padding-bottom: 32px;\n }\n "," {\n display: none;\n }\n"]);return q=function(){return n},n}function K(){var n=(0,C.A)(["\n max-height: 100%;\n position: relative;\n flex: 1;\n margin: 0.5rem 0;\n .ad-container {\n position: sticky;\n top: 80px;\n }\n"]);return K=function(){return n},n}function W(){var n=(0,C.A)(["\n position: absolute;\n top: 16px;\n right: 16px;\n border: 2px solid ",";\n background-color: ",";\n border-radius: 54px;\n\n display: flex;\n justify-content: center;\n align-items: center;\n column-gap: 6px;\n\n width: 120px;\n height: 43px;\n padding: 0 15px;\n\n "," {\n padding: 0 30px;\n width: 200px;\n height: 72px;\n }\n\n "," {\n width: 160px;\n height: 58px;\n }\n\n &::before {\n content: attr(data-text);\n display: block;\n position: absolute;\n border-radius: 24px;\n padding: 5px 12px;\n background-color: ",";\n font-weight: 700;\n color: white;\n text-transform: uppercase;\n width: max-content;\n\n font-size: 7.2px;\n line-height: 11px;\n bottom: -13px;\n\n "," {\n bottom: -16px;\n font-size: 9.6px;\n line-height: 14px;\n }\n\n "," {\n bottom: -19px;\n font-size: 12px;\n line-height: 18px;\n }\n }\n\n .up-to {\n flex: 1;\n max-width: 55px;\n line-height: 16px;\n\n font-size: 7.2px;\n line-height: 10px;\n\n "," {\n font-size: 9.6px;\n line-height: 13px;\n }\n\n "," {\n font-size: 12px;\n line-height: 16px;\n }\n }\n"]);return W=function(){return n},n}function J(){var n=(0,C.A)(["\n margin-bottom: 200px;\n"]);return J=function(){return n},n}function Z(){var n=(0,C.A)(["\n display: flex;\n gap: 4px;\n align-items: center;\n color: ",";\n font-size: 14px;\n font-weight: 400;\n line-height: 22px;\n letter-spacing: -0.2px;\n text-decoration: underline;\n"]);return Z=function(){return n},n}function Q(){var n=(0,C.A)(["\n position: fixed;\n bottom: -1px;\n right: -1px;\n left: -1px;\n top: auto !important;\n padding: 16px;\n background-color: ",";\n display: none;\n\n "," {\n &.fixed-btn {\n display: block;\n }\n }\n"]);return Q=function(){return n},n}var $=z.Ay.main.withConfig({componentId:"sc-397401e6-0"})(O(),M.M.mbDown,M.M.tdUp),X=z.Ay.section.withConfig({componentId:"sc-397401e6-1"})(L(),M.M.mbDown,M.M.mbDown,M.M.mbUp),nn=z.Ay.div.withConfig({componentId:"sc-397401e6-2"})(H(),M.M.mbDown,M.M.mbDown,M.M.mbDown,M.M.mbDown,M.M.mbDown,M.M.mbUp,M.M.mbDown,(function(n){return n.theme.colors.gray600})),en=(0,z.Ay)(P.k).withConfig({componentId:"sc-397401e6-3"})(j(),M.M.tdUp),tn=z.Ay.div.withConfig({componentId:"sc-397401e6-4"})(R(),(function(n){return n.theme.colors.neutral50})),an=z.Ay.div.withConfig({componentId:"sc-397401e6-5"})(V(),M.M.mbDown),rn=((0,z.Ay)(w.mc).withConfig({componentId:"sc-397401e6-6"})(U()),z.Ay.div.withConfig({componentId:"sc-397401e6-7"})(G())),on=z.Ay.div.withConfig({componentId:"sc-397401e6-8"})(q(),M.M.tdUp,M.M.tdDown),ln=z.Ay.div.withConfig({componentId:"sc-397401e6-9"})(K()),cn=z.Ay.div.withConfig({componentId:"sc-397401e6-10"})(W(),(function(n){return n.theme.colors.green50}),(function(n){return n.theme.colors.green600}),M.M.tdUp,M.M.tdOnly,(function(n){return n.theme.colors.blue800}),M.M.tdOnly,M.M.tdUp,M.M.tdOnly,M.M.tdUp),sn=z.Ay.div.withConfig({componentId:"sc-397401e6-11"})(J()),dn=z.Ay.div.withConfig({componentId:"sc-397401e6-12"})(Z(),(function(n){return n.theme.colors.primaryBase})),un=z.Ay.div.withConfig({componentId:"sc-397401e6-13"})(Q(),(function(n){return n.theme.colors.white}),M.M.mbDown),pn=t(86711);function hn(){var n=(0,C.A)(["\n padding: 1rem 0;\n"]);return hn=function(){return n},n}function gn(){var n=(0,C.A)(["\n margin: 24px 0;\n "," {\n display: grid;\n }\n\n "," {\n display: grid;\n }\n\n "," {\n > * + * {\n margin-top: 16px;\n }\n }\n"]);return gn=function(){return n},n}function mn(){var n=(0,C.A)(["\n > * {\n max-width: 100%;\n margin-bottom: 24px;\n }\n"]);return mn=function(){return n},n}var fn=z.Ay.div.withConfig({componentId:"sc-ac061ed7-0"})(hn()),vn=z.Ay.div.withConfig({componentId:"sc-ac061ed7-1"})(gn(),M.M.tdUp,M.M.tdOnly,M.M.tdDown),bn=z.Ay.div.withConfig({componentId:"sc-ac061ed7-2"})(mn()),yn=function(n){var e=n.id,t=n.ssrDoctors,a=n.totalPages,r=n.gps,s=n.isMobile,d=(0,c.useState)(),p=d[0],m=d[1],f=(0,c.useState)(1),v=f[0],y=f[1],k=(0,c.useState)(a),x=k[0],w=k[1],C=(0,c.useState)(""),M=C[0],z=C[1],P=(0,c.useState)(!0),O=P[0],L=P[1],H=(0,T.A)().formatMessage,j=(0,F.useRouter)(),R=j.locale,V=void 0===R?"vi-VN":R,U=j.asPath;(0,c.useEffect)((function(){t&&1===v&&""===M&&(m(t),L(!1))}),[]);var G=(0,c.useCallback)(function(){var n=(0,A.A)((function(n,t,a){var r,o,l,c,s;return(0,_.__generator)(this,(function(d){switch(d.label){case 0:return[4,(0,N.px)((0,N.er)(E.R.GET_BRANCH_DOCTOR_LIST,(0,i.A)({id:n,keyword:t,page:a||1},16524===e?{sort_by:"id",sort:"asc"}:{})),"GET")];case 1:return c=d.sent(),s=((null===c||void 0===c||null===(r=c._data)||void 0===r?void 0:r.doctors)||[]).map(g.pW),m(s),w((null===c||void 0===c||null===(o=c._data)||void 0===o||null===(l=o.pagination)||void 0===l?void 0:l.last)||0),L(!1),[2]}}))}));return function(e,t,i){return n.apply(this,arguments)}}(),[]),q=(0,c.useMemo)((function(){return(0,S.debounce)(G,300)}),[]);(0,c.useEffect)((function(){(!t||v>0||""!==M)&&e&&(L(!0),q(e,M,v))}),[M,v]);return(0,l.FD)(fn,{children:[(0,l.Y)(D.I,{placeholder:H({id:"hospital.searchDoctor",defaultMessage:"Search Doctor"}),value:M,onChange:function(n){y(1),z(n)},size:"md",name:"search-doctors",trackingAttributes:{dataEventCategory:"Care",dataEventAction:"Doctor Search Click",dataEventLabel:"https://".concat(h.y[V]).concat(b.JpE).concat(U)}}),(0,l.Y)(vn,{children:O?(0,l.Y)(bn,{children:(0,o.A)(Array(20)).map((function(n,e){return(0,l.Y)(I.A,{className:"mb-[24px]",height:s?376:222,width:"100%",style:{borderRadius:6}},"skeleton-".concat(e))}))}):p&&(0,l.Y)(l.FK,{children:p.map((function(n,e){return(0,l.Y)(B.wu,{doctorInfo:n,hospitalInfo:n.hospital||{},isMobile:!1,orderedListIndex:e,gps:r},"doctor-".concat(e))}))})}),p&&(null===p||void 0===p?void 0:p.length)<1&&(0,l.Y)("div",{style:{display:"grid",placeItems:"center",minHeight:300},children:(0,l.FD)("div",{style:{display:"flex",alignItems:"center",flexDirection:"column"},children:[(0,l.Y)(pn.A,{}),(0,l.Y)(u.H,{tag:"h3",style:{marginTop:16},children:H({id:"searchPage.noResults",defaultMessage:"No results"})})]})}),x>1&&(0,l.Y)(an,{children:(0,l.Y)(Y.P,{pagesAmount:x,currentPage:v,onChange:function(n){window.scrollTo({top:0,left:0,behavior:"smooth"}),setTimeout((function(){y(n)}),200)}})})]})},kn=t(17271),xn=t.n(kn),wn=t(88491),An=t(35094),Cn=t(73419),_n=t(58638),Mn=t(35507),Dn=t(1135),Yn=t(12215),En=t.n(Yn),Nn=t(36259),Sn=t(52785),Fn=t(3045),Tn=t(20607),In=t(95380),zn=t(70931),Bn=t(49758),Pn=t(7449),On=t(50970),Ln=t(49785),Hn=t(13819),jn=t(79020),Rn=function(n){var e=n.selectedHospital,t=n.onChangeTab,r=n.isTabPageAvailable,o=n.activeTab,p=(0,T.A)().formatMessage,h=(0,F.useRouter)(),g=h.locale,m=h.asPath,f=(0,c.useState)(Hn.Sb.DOCTOR),v=f[0],y=f[1];(0,c.useEffect)((function(){y(o)}),[o]);var k=(0,Ln.mN)({defaultValues:{selected_hospital:e,date:(0,Hn.pi)(new Date)}}),x=k.control,w=(0,k.watch)("selected_hospital");return(0,l.FD)(jn._l,{children:[(0,l.Y)(u.H,{tag:"h5",children:p({id:"quickBooking.heading",defaultMessage:"Book now"})}),(0,l.Y)(On.T,{size:"p4",className:"mt-[8px]",color:s.w.colors.gray600,children:p({id:"careBooking.description",defaultMessage:"Make an appointment with a doctor easily"})}),r&&(0,l.Y)(d.T,{initialTab:v,onChange:function(n){y(n)},tabContent:(0,Hn.yf)(p,g,m),className:"quick-booking-switch"}),(0,l.Y)(jn.rf,{"data-has-switch":r,children:(0,l.FD)(Ln.Op,(0,a.A)((0,i.A)({},k),{children:[(0,l.Y)(Ln.xI,{name:"selected_hospital",control:x,render:function(n){var e=n.field.value;return(0,l.FD)("div",{children:[(0,l.Y)(On.T,{size:"label2",type:"bold",color:s.w.colors.gray600,className:"mb-[6px]",children:p({id:"careBooking.hospital",defaultMessage:"Hospital"})}),(0,l.Y)(D.I,{className:"selected-hospital-input",name:"selected_hospital",size:"md",value:e.name||"",displayIcon:(0,l.Y)(jn.ph,{src:(null===w||void 0===w?void 0:w.logo)||"".concat(b.JpE,"/svg/search.svg")}),isDisabled:!0})]})}}),(0,Hn.CG)(v,{activeTab:v,onChangeTab:t})]}))})]})},Vn=t(45648);function Un(){var n=(0,C.A)(["\n .woot--bubble-holder {\n display: none;\n }\n "]);return Un=function(){return n},n}function Gn(){var n=(0,C.A)(["\n ","\n"]);return Gn=function(){return n},n}var qn,Kn=(0,z.DU)(Gn(),(function(n){return n.isOpen&&(0,z.AH)(Un())})),Wn=function(n){var e=n.selectedHospital,t=n.isOpen,r=n.onClose,o=n.activeTab,u=n.isTabPageAvailable,p=(0,T.A)().formatMessage,h=(0,wn.d)().isMobile,g=(0,F.useRouter)(),m=g.locale,f=g.asPath,v=(0,c.useState)(Hn.Sb.DOCTOR),y=v[0],k=v[1];(0,c.useEffect)((function(){k(o)}),[o]);var x=(0,Ln.mN)({defaultValues:{selected_hospital:e,date:(0,Hn.pi)(new Date)}}),w=x.control,A=(0,x.watch)("selected_hospital");return(0,l.FD)(Vn.k,{id:"care-booking-form",className:"quick-booking-noscroll",isOpen:!!t,onClose:function(){null===r||void 0===r||r()},withDefaultTitle:{title:y===Hn.Sb.DOCTOR?p({id:"careBooking.doctorBooking",defaultMessage:"Book a doctor"}):p({id:"careBooking.serviceBooking",defaultMessage:"Book a service"})},width:h?"min(100vw, 425px)":"360px",children:[(0,l.Y)(Kn,{isOpen:t}),(0,l.FD)(jn.ZX,{children:[u&&(0,l.Y)(d.T,{initialTab:y,onChange:function(n){k(n)},tabContent:(0,Hn.yf)(p,m,f),className:"quick-booking-switch"}),(0,l.Y)(Ln.Op,(0,a.A)((0,i.A)({},x),{children:(0,l.FD)(jn.rf,{"data-has-switch":u,children:[(0,l.Y)(Ln.xI,{name:"selected_hospital",control:w,render:function(n){var e=n.field.value;return(0,l.FD)("div",{children:[(0,l.Y)(On.T,{size:"label2",type:"bold",color:s.w.colors.gray600,className:"mb-[6px]",children:p({id:"careBooking.hospital",defaultMessage:"Hospital"})}),(0,l.Y)(D.I,{name:"selected_hospital",size:"md",value:e.name||"",displayIcon:(0,l.Y)(jn.ph,{src:(null===A||void 0===A?void 0:A.logo)||"".concat(b.JpE,"/svg/search.svg")}),isDisabled:!0})]})}}),(0,Hn.CG)(y,{activeTab:y})]})}))]})]})};!function(n){n[n.CARD=0]="CARD",n[n.POPUP=1]="POPUP"}(qn||(qn={}));var Jn=function(n){var e=n.selectedHospital,t=n.type,r=void 0===t?qn.CARD:t,o=(0,c.useState)(Hn.Sb.DOCTOR),s=o[0],d=o[1],u=(0,c.useState)(!0),p=u[0],h=u[1];return(0,c.useEffect)((function(){e.totalAvailableDoctors>0&&e.totalAvailableServices>0?h(!0):(h(!1),e.totalAvailableDoctors>0?d(Hn.Sb.DOCTOR):e.totalAvailableServices>0&&d(Hn.Sb.SERVICE))}),[e]),r===qn.CARD?(0,l.Y)(Rn,(0,a.A)((0,i.A)({},n),{isTabPageAvailable:p,activeTab:s})):(0,l.Y)(Wn,(0,a.A)((0,i.A)({},n),{isTabPageAvailable:p,activeTab:s}))},Zn=t(79777);function Qn(){var n=(0,C.A)(["\n padding: 1rem 0;\n"]);return Qn=function(){return n},n}function $n(){var n=(0,C.A)(["\n margin: 24px 0;\n"]);return $n=function(){return n},n}function Xn(){var n=(0,C.A)(["\n > * {\n max-width: 100%;\n }\n"]);return Xn=function(){return n},n}var ne=z.Ay.div.withConfig({componentId:"sc-100f060d-0"})(Qn()),ee=z.Ay.div.withConfig({componentId:"sc-100f060d-1"})($n()),te=z.Ay.div.withConfig({componentId:"sc-100f060d-2"})(Xn()),ie=function(n){var e=n.id,t=n.ssrServices,i=n.totalPages,a=n.gps,r=(0,F.useRouter)(),s=r.locale,d=void 0===s?"vi-VN":s,p=r.asPath,m=(0,c.useState)(t),f=m[0],v=m[1],y=(0,c.useState)(1),k=y[0],x=y[1],w=(0,c.useState)(i),C=w[0],M=w[1],z=(0,c.useState)(""),P=z[0],O=z[1],L=(0,c.useState)(!0),H=L[0],j=L[1],R=(0,T.A)().formatMessage,V=(0,c.useContext)(Nn.B).state.isLoggedIn;(0,c.useEffect)((function(){t&&1===k&&""===P&&(v(t),j(!1))}),[]);var U=(0,c.useCallback)(function(){var n=(0,A.A)((function(n,e,t){var i,a,r,o;return(0,_.__generator)(this,(function(l){switch(l.label){case 0:return[4,(0,N.px)((0,N.er)(E.R.GET_HOSPITAL_SERVICES_LIST,{id:n,keyword:e,page:t||1}),"GET",{headers:{accept:"application/json, text/plain, version=2.0.0"}})];case 1:return o=l.sent(),v(((null===o||void 0===o||null===(i=o._data)||void 0===i?void 0:i.services)||[]).map(g.JG)),M((null===o||void 0===o||null===(a=o._data)||void 0===a||null===(r=a.pagination)||void 0===r?void 0:r.last)||0),j(!1),[2]}}))}));return function(e,t,i){return n.apply(this,arguments)}}(),[]),G=(0,c.useMemo)((function(){return(0,S.debounce)(U,300)}),[]);(0,c.useEffect)((function(){e&&(j(!0),G(e,P,k))}),[P,k]);var q=function(n){var e=(0,N.eP)(n);r.push(e)},K=function(n){V?r.push("tel:".concat(n.phone)):(window.sessionStorage.setItem("returnUrl",JSON.stringify(window.location.href)),b.dXu?Zn.u.getState().triggerLogin({source:"care_phone"}):r.push((0,N.GC)(window.location.href,"care_phone")))},W=function(n){r.push((0,N.pN)(n))};return(0,l.FD)(ne,{children:[(0,l.Y)(D.I,{placeholder:R({id:"hospital.searchService",defaultMessage:"Search Service"}),value:P,onChange:function(n){x(1),O(n)},size:"md",name:"search-services",trackingAttributes:{dataEventCategory:"Care",dataEventAction:"Service Search Click",dataEventLabel:"https://".concat(h.y[d]).concat(b.JpE).concat(p)}}),(0,l.Y)(ee,{children:H?(0,l.Y)(te,{children:(0,o.A)(Array(20)).map((function(n,e){return(0,l.Y)(I.A,{className:"mb-[24px]",height:200,style:{borderRadius:6}},"skeleton-".concat(e))}))}):f&&(0,l.Y)("div",{className:"mt-[16px]",children:f.map((function(n,e){return(0,l.Y)(B.al,{serviceInfo:n,onHospitalClick:q,onMainActionClick:W,onPhoneClick:K,gps:a,orderedListIndex:e},"service-".concat(n.id))}))})}),!(null===f||void 0===f?void 0:f.length)&&(0,l.Y)("div",{style:{display:"grid",placeItems:"center",minHeight:300},children:(0,l.FD)("div",{style:{display:"flex",alignItems:"center",flexDirection:"column"},children:[(0,l.Y)(pn.A,{}),(0,l.Y)(u.H,{tag:"h3",style:{marginTop:16},children:R({id:"searchPage.noResults",defaultMessage:"No results"})})]})}),C>1&&(0,l.Y)(an,{children:(0,l.Y)(Y.P,{pagesAmount:C,currentPage:k,onChange:function(n){window.scrollTo({top:0,left:0,behavior:"smooth"}),setTimeout((function(){x(n)}),200)}})})]})},ae=t(66814),re=t(55908),oe=t(32876),le=t.n(oe);function ce(){var n=(0,C.A)(["\n margin-bottom: 24px;\n background: ",";\n border: 1px solid ",";\n padding: 16px;\n border-radius: 6px;\n "," {\n height: 100%;\n }\n"]);return ce=function(){return n},n}function se(){var n=(0,C.A)(["\n display: flex;\n flex-direction: column;\n gap: 8px;\n\n .logo {\n width: 64px;\n height: 64px;\n\n img {\n width: 100%;\n height: 100%;\n border-radius: 50%;\n border: 1px solid "," !important;\n }\n }\n"]);return se=function(){return n},n}var de=z.Ay.div.withConfig({componentId:"sc-16eb0552-0"})(ce(),(function(n){return n.theme.colors.white}),(function(n){return n.theme.colors.neutral100}),M.M.mbDown),ue=z.Ay.div.withConfig({componentId:"sc-16eb0552-1"})(se(),(function(n){return n.theme.colors.neutral100})),pe=t(95456),he=t(47760),ge=t(89394),me=function(n){var e=n.hospitalInfo,t=n.gps,i=n.orderedListIndex,a=e.logo,r=e.name,o=(0,F.useRouter)(),c=o.locale,s=(0,T.A)().formatMessage;return(0,l.Y)(de,{children:(0,l.FD)(ue,{children:[(0,l.Y)("div",{className:"logo",children:(0,l.Y)(pe.Y,{layout:"responsive",src:a,width:64,height:64,quality:100,objectFit:"contain",alt:"".concat(r," Logo")})}),(0,l.Y)(he.J,{hospitalInfo:e,gps:t,orderedListIndex:i,type:"hospital",isDisabledDirection:!0}),!ge.CM.includes(c)&&(0,l.Y)(p.B,{size:"md",color:"primary",onClick:function(n){null===n||void 0===n||n.stopPropagation(),function(n){var e=(0,N.eP)(n);window.sessionStorage.setItem("returnUrl",JSON.stringify(window.location.href)),o.push(e)}(e)},isBlock:!0,className:"button",children:s({id:"quickBooking.heading",defaultMessage:"Book Now"})})]})})};function fe(){var n=(0,C.A)(["\n background: ",";\n padding: 16px;\n border-radius: 6px;\n height: max-content;\n margin-top: 24px;\n\n &.sticky-booking-block {\n top: 80px;\n position: sticky;\n }\n\n &.fixed-booking-block {\n position: fixed;\n bottom: 0px;\n right: 16px;\n left: 16px;\n top: auto !important;\n }\n\n .see-all-hospital {\n text-decoration: none;\n display: flex;\n align-items: center;\n gap: 8px;\n }\n\n .heading {\n margin: 24px 0;\n\n "," {\n .border-heading {\n margin-bottom: 4px;\n }\n }\n }\n\n "," {\n .heading {\n display: flex;\n justify-content: space-between;\n }\n }\n\n "," {\n .dots {\n margin: 0;\n }\n }\n"]);return fe=function(){return n},n}var ve,be=z.Ay.div.withConfig({componentId:"sc-5eabde26-0"})(fe(),(function(n){return n.theme.colors.neutral50}),M.M.mbDown,M.M.tdOnly,M.M.tdDown),ye=t(91177),ke=function(n){var e,t,i,a,r=n.suggestionHospitals,o=n.gps,c=(0,T.A)().formatMessage,d=(0,F.useRouter)().locale,p=void 0===d?"vi-VN":d,h=(0,wn.d)(),g=h.isMobileOrTablet,m=h.isMobile;return(0,l.FD)(be,{children:[(0,l.Y)(u.H,{tag:"h5",children:c({id:"homePage.bookNow",defaultMessage:"Book Now"})}),(0,l.Y)(On.T,{size:"xs",children:c({id:"hospital.noBookingAvailable",defaultMessage:"No booking of this hospital is available at this moment. See other hospitals below:"})}),(0,l.FD)("div",{className:"heading",children:[(0,l.Y)(u.H,{tag:"h6",as:"h2",color:s.w.colors.secondaryDark,className:"border-heading",children:c({id:"hospital.suggestion",defaultMessage:"Hospital you may like"})}),g&&(0,l.Y)(le(),{href:"/".concat(null===(e=b.y1A[p])||void 0===e?void 0:e.ALL,"/").concat(null===(t=b.y1A[p])||void 0===t?void 0:t.HOSPITAL),children:(0,l.FD)("a",{className:"see-all-hospital",children:[(0,l.Y)(On.T,{size:"s3",color:s.w.colors.primaryBase,type:"semiBold",children:c({id:"searchComponent.seeAllHospitals",defaultMessage:"See all hospitals"})}),(0,l.Y)(ye.A,{height:"8px"})]})})]}),g?(0,l.Y)(ae.a,{draggable:!0,dragFree:m,initialSlide:0,skipSnaps:!0,align:"start",withControls:!0,slideSize:m?"90%":"45%",withIndicators:!0,slideGap:16,slidesToScroll:1,styles:{control:{width:"unset"},indicators:{width:100,top:"calc(100% + 20px)",transform:"translateX(-50%)",left:"50%"},indicator:{width:8,height:8,backgroundColor:"#E4E8EC"}},children:r.map((function(n,e){return(0,l.Y)(ae.a.Slide,{children:(0,l.Y)(me,{hospitalInfo:n,orderedListIndex:e+1,gps:o})},n.id)}))}):r.map((function(n,e){return(0,l.Y)(me,{hospitalInfo:n,orderedListIndex:e+1,gps:o},n.id)})),!g&&(0,l.Y)(le(),{href:"/".concat(null===(i=b.y1A[p])||void 0===i?void 0:i.ALL,"/").concat(null===(a=b.y1A[p])||void 0===a?void 0:a.HOSPITAL),children:(0,l.FD)("a",{className:"see-all-hospital",children:[(0,l.Y)(On.T,{size:"s3",color:s.w.colors.primaryBase,type:"semiBold",children:c({id:"searchComponent.seeAllHospitals",defaultMessage:"See all hospitals"})}),(0,l.Y)(ye.A,{height:"8px"})]})})]})},xe=t(86680),we=t(71584),Ae=t(58147),Ce=function(n){var e=n.serviceCategory,t=(0,c.useRef)(null),i=e.name,a=e.services,r=(0,c.useState)(!0),o=r[0],d=r[1];return(0,c.useEffect)((function(){t.current&&(t.current.style.height=o?"0px":t.current.scrollHeight+"px")}),[o]),(0,l.FD)(xe.Rz,{children:[(0,l.FD)("div",{className:"d-flex-center jc-between pointer",onClick:function(){return d(!o)},children:[(0,l.Y)(On.T,{size:"s3",type:"semiBold",children:i}),(0,l.Y)(Ae.A,{className:"arrow","data-is-collapsed":o})]}),(0,l.Y)(xe.OI,{ref:t,children:a.map((function(n){return(0,l.FD)(xe.lp,{"data-is-has-promotion":!!n.promoPercent,children:[!!n.promoPercent&&(0,l.FD)(xe.t3,{children:[(0,l.Y)("svg",{width:"57",height:"56",viewBox:"0 0 57 56",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,l.Y)("path",{d:"M56.5 56L0.5 0H48.5C52.9183 0 56.5 3.58172 56.5 8V56Z",fill:"#00B16A"})}),(0,l.FD)(On.T,{size:"s4",color:s.w.colors.white,className:"text-promotion",children:[n.promoPercent,"%"]})]}),(0,l.Y)(On.T,{size:"s3",type:"semiBold",children:n.name}),(0,l.Y)(On.T,{size:"p4",className:"my-[8px]",children:n.description}),(0,l.Y)(we.S,{priceType:n.priceType,price:n.price||0,priceTo:n.priceTo,promotion:Number(n.promoPercent)})]},n.id)}))})]})},_e=t(54421),Me=t(76013),De=["hospital.workingDays.mon","hospital.workingDays.tue","hospital.workingDays.wed","hospital.workingDays.thu","hospital.workingDays.fri","hospital.workingDays.sat","hospital.workingDays.sun"],Ye=function(n){var e=n.hospitalInfo,t=n.distance,i=n.gps,a=n.isBookNowAvailable,r=n.suggestionHospitals,o=(0,F.useRouter)().locale,d=void 0===o?"vi-VN":o,h=(0,wn.d)().isMobile,g=(0,T.A)().formatMessage,m=(0,wn.d)().isMobileOrTablet,f=(0,c.useContext)(Nn.B).ability,v=e.workingTimes,y=e.about,k=e.emergencyHours,x=e.specialties,w=e.medicalFacilities,A=e.insurances,C=e.showServiceCategory,_=e.serviceCategories,M=e.patientGuide,D=e.featuredDoctors,Y=e.faqs,E=e.acceptedPayments,N=(0,c.useRef)(null),S=(0,c.useState)(!1),I=S[0],z=S[1],P=(0,re.y)({wrapperRef:N}).isDescriptionCollapsible,O=(0,c.useRef)(null),L=(0,c.useState)(!0),H=L[0],j=L[1],R=(0,re.y)({wrapperRef:O}).isDescriptionCollapsible,V=(0,c.useState)(!1),U=V[0],G=V[1],q=(0,c.useState)(!1),K=q[0],W=q[1],J=f.can(Sn.aG.read,Sn.OV.bookingBlock),Z=h?5:10,Q=De.map((function(n){return n.split(".")[2]})),$=!ge.CM.includes(d)&&m&&!a&&r.length>0,X=(0,zn.oq)({locale:d,isMobile:h,contentAdTag:"Hospital"}),nn=(0,c.useMemo)((function(){var n=y.split("\n"),e=0,t=n.findIndex((function(n){if(n.trim().length>0&&e++,2===e)return!0}));return-1===t?[n.join("\n")]:[n.slice(0,t+1).join("\n"),n.slice(t+1).join("\n")]}),[y]);return(0,l.FD)(xe.Qz,{children:[Q.length>0&&v&&(0,l.FD)(xe.lO,{children:[(0,l.Y)(u.H,{tag:"h6",as:"h2",color:s.w.colors.secondaryDark,className:"pb-[8px]",children:g({id:"hospital.regularHours",defaultMessage:"Regular Hours"})}),(0,l.Y)("div",{className:"week-working-time",children:Q.map((function(n){return v&&(0,l.FD)("div",{className:"working-time",children:[(0,l.Y)(On.T,{size:"p2",className:"date",children:g({id:"hospital.workingDays.".concat(n)})}),(0,l.Y)(On.T,{size:"s3",type:"semiBold",className:"time",children:v[n]?v[n].join(", "):g({id:"hospital.status_closed",defaultMessage:"Closed"})})]},"working-time-".concat(n))}))}),k===b.ffg.AVAILABLE&&(0,l.Y)(On.T,{color:s.w.colors.success,size:"p4",type:"caption",className:"mt-[16px]",children:g({id:"hospital.emergencyHours",defaultMessage:"emergencyHours"})})]}),$&&!J&&(0,l.Y)(ke,{suggestionHospitals:r,gps:i}),y&&(0,l.FD)(xe.jB,{"data-is-collapsed":I,ref:N,children:[(0,l.Y)(u.H,{tag:"h6",as:"h2",color:s.w.colors.secondaryDark,className:"border-heading",children:g({id:"hospital.aboutHospital",defaultMessage:"About the hospital"})}),nn.map((function(n,t){return(0,l.FD)(c.Fragment,{children:[(0,l.Y)(On.T,{size:"sm",className:"hospital-see-more",children:n}),h&&0===t&&(0,l.Y)(Tn.z,{className:"ad-container",adUnitPath:X,size:[[320,100],[300,250]],divId:"ad-hospital-mobile-top-banner",pos:["TopBanner"],adDefaultSize:[320,100],customTargetings:{Hospital_ID:[e.id]},style:{paddingBottom:24,marginTop:16,marginBottom:-16}})]},t)})),P&&(0,l.Y)(p.B,{size:"sm",color:"ghost",className:"see-more-button",onClick:function(){return z(!I)},children:g(I?{id:"hospitalCard.seeMore",defaultMessage:"See More"}:{id:"hospitalCard.seeLess",defaultMessage:"See Less"})})]}),x.length>0&&(0,l.FD)("div",{className:"list-specialties",children:[(0,l.Y)(u.H,{tag:"h6",as:"h2",color:s.w.colors.secondaryDark,className:"border-heading",children:g({id:"hospital.specialties",defaultMessage:"Specialties"})}),(0,l.Y)("ol",{children:(U?x:x.slice(0,Z)).map((function(n,e){return(0,l.Y)("li",{children:n.name},n.id+"-"+e)}))}),x.length>Z&&(0,l.Y)(p.B,{size:"sm",color:"ghost",className:"see-more-button",onClick:function(){return G(!U)},children:U?g({id:"hospital.lessSpecialties",defaultMessage:"View less specialties"}):"".concat(g({id:"hospital.moreSpecialties",defaultMessage:"View more specialties"})," (").concat(null===x||void 0===x?void 0:x.length,")")})]}),w.length>0&&(0,l.FD)("div",{className:"list-facilities",children:[(0,l.Y)(u.H,{tag:"h6",as:"h2",color:s.w.colors.secondaryDark,className:"border-heading",children:g({id:"hospital.medicalFacilities",defaultMessage:"Medical Facilities"})}),(0,l.Y)("ol",{children:(K?w:w.slice(0,Z)).map((function(n,e){return(0,l.Y)("li",{children:n},n+e)}))}),w.length>Z&&(0,l.Y)(p.B,{size:"sm",color:"ghost",className:"see-more-button",onClick:function(){return W(!K)},children:K?g({id:"hospital.lessFacilities",defaultMessage:"View less facilities"}):"".concat(g({id:"hospital.moreFacilities",defaultMessage:"View more facilities"})," (").concat(null===w||void 0===w?void 0:w.length,")")})]}),C&&_.length>0&&(0,l.FD)("div",{className:"service-categories",children:[(0,l.Y)(u.H,{tag:"h6",as:"h2",color:s.w.colors.secondaryDark,className:"border-heading",children:g({id:"hospitalDetail.serviceCategories",defaultMessage:"Service Categories"})}),(0,l.Y)("div",{className:"list-categories",children:_.map((function(n){return(0,l.Y)(Ce,{serviceCategory:n},n.id)}))})]}),(0,l.FD)("div",{className:"map-location",children:[(0,l.Y)(u.H,{tag:"h6",as:"h2",color:s.w.colors.secondaryDark,className:"border-heading mb-[16px]",children:g({id:"hospital.location",defaultMessage:"Location"})}),(0,l.Y)(Me.T5,{hospital:e,distance:t,isFullWidth:!1})]}),h&&C&&_.length>0&&(0,l.Y)(Tn.z,{className:"ad-container",adUnitPath:X,size:[[320,100],[300,250]],divId:"ad-hospital-mobile-mid-banner1",pos:["MidBanner1"],adDefaultSize:[320,100],customTargetings:{Hospital_ID:[e.id]},style:{paddingBottom:24}}),A.length>0&&(0,l.FD)("div",{className:"list-insurances",children:[(0,l.Y)(u.H,{tag:"h6",as:"h2",color:s.w.colors.secondaryDark,className:"border-heading mb-[16px]",children:g({id:"hospital.inNetworkInsurance",defaultMessage:"In-network Insurance"})}),(0,l.Y)(On.T,{size:"base",className:"mb-[16px] mt-[16px]",color:"var(--gray800)",children:g({id:"doctorPage.insuranceIntro",defaultMessage:"All providers on HHG are required to accurately list in-network plans. If any coverage issues occur, our Service team will help advocate for you with the provider."})}),(0,l.Y)(xe.D6,{children:A.map((function(n,e){return(0,l.FD)("div",{className:"insurance",children:[(0,l.Y)("div",{className:"logo",children:(0,l.Y)("img",{src:n.logo,loading:"lazy"})}),(0,l.Y)(On.T,{size:"p4",color:s.w.colors.gray500,type:"bold",className:"mt-[8px]",children:n.name})]},n.name+e)}))})]}),M&&(0,l.FD)("div",{className:"patient-guide","data-is-collapsed":H,ref:O,children:[(0,l.Y)(u.H,{tag:"h6",as:"h2",color:s.w.colors.secondaryDark,className:"border-heading mb-[16px]",children:g({id:"hospital.patientGuide",defaultMessage:"Patient Guide"})}),(0,l.Y)(On.T,{size:"sm",children:M}),R&&(0,l.Y)(p.B,{size:"sm",color:"ghost",className:"see-more-button",onClick:function(){return j(!H)},"data-padding-none":!0,children:g(H?{id:"hospitalCard.seeMore",defaultMessage:"See More"}:{id:"hospitalCard.seeLess",defaultMessage:"See Less"})})]}),E.length>0&&(0,l.FD)(l.FK,{children:[(0,l.Y)(u.H,{tag:"h6",as:"h2",color:s.w.colors.secondaryDark,className:"border-heading mb-[16px]",children:g({id:"hospitalPage.acceptedPayments",defaultMessage:"Accepted payments"})}),(0,l.Y)("div",{className:"accepted-payments",children:E.map((function(n){return(0,l.FD)(xe.NJ,{children:[(0,l.Y)("div",{className:"logo",children:(0,l.Y)("img",{src:n.logo,alt:"".concat(n.name," Logo"),loading:"lazy"})}),(0,l.Y)(On.T,{size:"n1",children:n.name})]},n.id)}))})]}),D.length>0&&(0,l.FD)("div",{className:"featured-doctors",children:[(0,l.Y)(u.H,{tag:"h6",as:"h2",color:s.w.colors.secondaryDark,className:"border-heading mb-[16px]",children:g({id:"hospital.featuredDoctors",defaultMessage:"Featured doctors"})}),(0,l.Y)(ae.a,{slideSize:h?"90%":"45%",withControls:h?D.length>1:D.length>2,withIndicators:h?D.length>1:D.length>2,slideGap:16,slidesToScroll:1,styles:{control:{width:"unset"},indicators:{width:100,top:"calc(100% + 20px)",transform:"translateX(-50%)",left:"50%"},indicator:{width:8,height:8,backgroundColor:"#E4E8EC"}},children:D.map((function(n,t){return(null===n||void 0===n?void 0:n.isSiloam)?(0,l.Y)(l.FK,{}):(0,l.Y)(ae.a.Slide,{children:(0,l.Y)(B.wu,{doctorInfo:n,isMobile:!0,orderedListIndex:t,hospitalInfo:e,gps:i,isFeaturedDoctor:!0,className:"featured-doctor-item"})},"doctor-".concat(n.id))}))})]}),Y.length>0&&(0,l.FD)(l.FK,{children:[(0,l.Y)(u.H,{tag:"h6",as:"h2",color:s.w.colors.secondaryDark,className:"border-heading mb-[16px]",children:g({id:"landing.faq",defaultMessage:"Frequently Asked Questions"})}),(0,l.Y)(xe.F9,{children:(0,l.Y)(_e.n,{content:Y.map((function(n){return{title:n.question,content:n.answer}}))})})]})]})},Ee=t(76020),Ne=function(n){var e=n.publishReview,t=n.hospitalInfo,i=n.hospitalUrl,a=n.onBookNowClick,o=n.isBookNowAvailable,s=n.className,d=(0,c.useContext)(Nn.B).ability,u=(0,T.A)().formatMessage,g=(0,Cn.$)(),m=g.locale,f=void 0===m?"vi-VN":m,v=g.asPath,y=(0,wn.d)().isMobileOrTablet,k=(0,r.A)((0,An.Q)(),3)[2],x=d.can(Sn.aG.read,Sn.OV.bookingBlock);return e&&!!t.totalReviews||y&&o&&!x||y&&x?(0,l.FD)("div",{className:s,children:[e&&!!t.totalReviews&&(0,l.Y)(en,{ratingPoint:t.rating,ratingScale:5,reviewCounting:t.totalReviews,reviewsUrl:"".concat(i,"?tab=").concat(k[Dn.uN.REVIEWS])}),y&&o&&!x&&(0,l.Y)(p.B,{size:"md",className:"mt-[12px]",isBlock:!0,dataEventCategory:"Care",dataEventAction:"Quick Booking Click",dataEventLabel:"https://".concat(h.y[f]).concat(b.JpE).concat(v),onClick:a,children:u({id:"quickBooking.heading",defaultMessage:"Book now"})}),y&&x&&(0,l.Y)(p.B,{size:"md",className:"mt-[12px]",isBlock:!0,dataEventCategory:"Care",dataEventAction:"Quick Booking Click",dataEventLabel:"https://".concat(h.y[f]).concat(b.JpE).concat(v),onClick:function(){window.open("http://maps.google.com??ll=".concat(t.latitude,",").concat(t.longitude,"&q=").concat(encodeURIComponent(t.name)),"_blank")},children:u({id:"quickBooking.heading",defaultMessage:"Book now"})})]}):null},Se=t(79951),Fe=t(71082),Te=t(2796);function Ie(){return Ie=Object.assign?Object.assign.bind():function(n){for(var e=1;e0||a.totalAvailableServices>0)}),[a]),S=(0,c.useMemo)((function(){var n,e,t,i;return(null===a||void 0===a?void 0:a.organization)&&(null===a||void 0===a||null===(n=a.organization)||void 0===n?void 0:n.id)?"/".concat(null===(e=b.y1A[M])||void 0===e?void 0:e.ORGANIZATION,"/").concat(null===a||void 0===a||null===(t=a.organization)||void 0===t?void 0:t.slug,"-").concat(null===a||void 0===a||null===(i=a.organization)||void 0===i?void 0:i.id):""}),[null===a||void 0===a?void 0:a.organization]),I=(0,N.eP)(a),z=!!(null===(t=a.organization)||void 0===t?void 0:t.publishReviews),B=(e=Math).max.apply(e,(0,o.A)(He(a.serviceCategories))),P=He(a.serviceCategories).length>0;return(0,c.useEffect)((function(){var n=setInterval((function(){null===k||void 0===k||k.scrollNext()}),7e3);return function(){clearInterval(n)}}),[D,A,k]),(0,l.FD)(nn,{children:[D.length>0&&(0,l.FD)(X,{children:[(0,l.Y)(Ee.F,{draggable:!0,loop:!0,initialSlide:1,skipSnaps:!0,withControls:D.length>1,styles:Y,slidesToScroll:1,getEmblaApi:x,nextControlIcon:(0,l.Y)(Fe.A,{}),previousControlIcon:(0,l.Y)(Se.A,{}),withIndicators:D.length>1,onSlideChange:function(n){C(n)},children:D.map((function(n,e){return(0,l.Y)(Ee.F.Slide,{children:(0,l.Y)("div",{style:{position:"relative",width:"100%",height:f?240:380},children:(0,l.Y)(pe.Y,{src:n,alt:p({id:"seoTag.alt.image",defaultMessage:"Image of {name}"},{name:a.name}),loading:0===e?"eager":"lazy",layout:"fill"})},n)},n)}))}),P&&(0,l.FD)(cn,{"data-text":p({id:"hospitalPage.onSelectedServices",defaultMessage:"On selected services"}),children:[(0,l.Y)(On.T,{size:"s5",color:s.w.colors.white,className:"up-to",type:"caption",children:p({id:"hospitalPage.upTo",defaultMessage:"Up to"})}),(0,l.Y)(u.H,{tag:"h3",color:s.w.colors.white,children:p({id:"hospitalPage.percentOff",defaultMessage:"{percent}%"},{percent:B})})]})]}),(0,l.Y)("div",{className:"main-info wrapper",children:(0,l.FD)("div",{className:"hospital-infor-wrapper ".concat(0===D.length?"hospital-no-banner":""),children:[(0,l.Y)("div",{className:"logo mt-[24px]",children:(0,l.Y)(pe.Y,{src:a.logo,alt:"".concat(a.name," Logo"),loading:"lazy",layout:"fill",sizes:"(max-width: 768px) 80px, 140px",objectFit:"contain"})}),(0,l.FD)("div",{className:"info",children:[(0,l.Y)(u.H,{tag:"h1",className:"main-info-hospital-name",children:a.name}),(0,l.FD)("div",{className:"address mt-[8px]",children:[(0,l.Y)(Pe.A,{className:"address-icon"}),(0,l.FD)(On.T,{as:"div",size:"s4",color:s.w.colors.gray600,children:[(0,l.Y)("address",{children:a.address}),r&&(0,l.FD)(l.FK,{children:[(0,l.Y)("span",{className:"dots",children:(0,l.Y)(Te.A,{})}),(0,l.FD)("span",{children:[r," km"]})]})]})]}),a.websiteUrl&&(0,l.Y)(le(),{href:a.websiteUrl,children:(0,l.Y)("a",{style:{textDecoration:"none",display:"inline-block",marginTop:"8px"},target:"_blank","data-event-category":"Care","data-event-action":"Visit Hospital Website Click","data-event-label":a.websiteUrl,children:(0,l.FD)(dn,{className:"flex gap-[4px]",children:[(0,l.Y)(Le,{}),p({id:"visit.website.title",defaultMessage:"Visit the website"})]})})}),S&&!!(null===a||void 0===a||null===(i=a.organization)||void 0===i?void 0:i.isActive)&&(0,l.Y)(le(),{href:S,children:(0,l.Y)("a",{style:{textDecoration:"none",display:"block",marginTop:"8px"},"data-event-category":"Care","data-event-action":"Visit Hospital Website Click","data-event-label":"https://".concat(h.y[M]).concat(b.JpE).concat(S),children:(0,l.FD)(dn,{className:"flex gap-[4px]",children:[(0,l.Y)(Be,{}),p({id:"visit.website.orgPage.title",defaultMessage:"View the list of other hospital/clinic branches."})]})})})]}),(0,l.Y)(Ne,{className:m?"mt-[24px]":"",hospitalInfo:a,hospitalUrl:I,publishReview:z,onBookNowClick:function(){return d(!0)},isBookNowAvailable:E})]})})]})},Re=t(25894);function Ve(){var n=(0,C.A)(["\n padding: 24px 0 48px 0;\n"]);return Ve=function(){return n},n}function Ue(){var n=(0,C.A)(["\n margin-top: 24px;\n"]);return Ue=function(){return n},n}function Ge(){var n=(0,C.A)(["\n padding-bottom: 24px;\n border-bottom: 1px solid\n ",";\n"]);return Ge=function(){return n},n}var qe=z.Ay.div.withConfig({componentId:"sc-741fd708-0"})(Ve()),Ke=(0,z.Ay)(Re.X).withConfig({componentId:"sc-741fd708-1"})(Ue()),We=z.Ay.div.withConfig({componentId:"sc-741fd708-2"})(Ge(),(function(n){return n.theme.colors.neutral100})),Je=t(64706),Ze=function(n){var e=n.hospitalInfo,t=n.hospitalRatingDetails,r=n.hospitalReviews,s=(0,c.useState)(null),d=s[0],u=s[1],p=(0,c.useState)(r),h=p[0],m=p[1],f=function(){var n=(0,A.A)((function(n){var t,a,r;return(0,_.__generator)(this,(function(o){switch(o.label){case 0:return u(n),t=b.W86[n.value],[4,(0,N.px)((0,N.er)(E.R.GET_REVIEW_LIST),"GET",{params:(0,i.A)({hospital_branch_id:e.id},t)}).then((function(n){return null===n||void 0===n?void 0:n._data}))];case 1:return(a=o.sent())&&(r=(0,g.AM)(a),m(r)),[2]}}))}));return function(e){return n.apply(this,arguments)}}(),v=function(){var n=(0,A.A)((function(n,t){var r,l,c;return(0,_.__generator)(this,(function(s){switch(s.label){case 0:return r=b.W86[t.value],[4,(0,N.px)((0,N.er)(E.R.GET_REVIEW_LIST),"GET",{params:(0,a.A)((0,i.A)({hospital_branch_id:e.id},r),{page:n})}).then((function(n){return null===n||void 0===n?void 0:n._data}))];case 1:return(l=s.sent())&&(c=(0,g.AM)(l),m((function(n){return{reviews:(0,o.A)(n.reviews).concat((0,o.A)(c.reviews)),pagination:c.pagination}}))),[2]}}))}));return function(e,t){return n.apply(this,arguments)}}();return(0,l.FD)(qe,{children:[t&&(0,l.Y)(We,{children:(0,l.Y)(Je.e,{ratingPoint:t.rating,ratingScale:b.Efn,reviewCounting:t.totalReviews,percent5Stars:(0,N.Au)(t.rating5Stars,t.totalReviews),percent4Stars:(0,N.Au)(t.rating4Stars,t.totalReviews),percent3Stars:(0,N.Au)(t.rating3Stars,t.totalReviews),percent2Stars:(0,N.Au)(t.rating2Stars,t.totalReviews),percent1Star:(0,N.Au)(t.rating1Star,t.totalReviews)})}),(0,l.Y)(Ke,{reviews:h.reviews,totalReview:h.pagination.totalItems,onChangeSortOption:f,onGetAllReviews:v,sortOption:d,pagination:h.pagination,showExtraInfo:!0})]})},Qe=t(28171),$e=t(60981),Xe=!0,nt=function(n){var e,t,m,f,v=n.hospitalInfo,y=n.canonicalUrl,x=n.doctors,A=n.totalPagesDoctor,C=n.totalDoctors,_=n.cityInfo,M=n.serviceList,D=n.totalPagesService,Y=n.totalServices,E=n.hospitalRatingDetails,N=n.hospitalReviews,S=n.footerInfo,F=n.suggestionHospitals,I=n.navMenuContent,z=n.seoConfig,B=(0,T.A)().formatMessage,P=(0,Cn.$)(),O=(0,c.useContext)(Nn.B).ability,L=P.locale,H=P.query,j=P.asPath,R=(0,wn.d)(),V=R.isMobile,U=R.isMobileOrTablet,G=(0,c.useState)({lat:"",lng:""}),q=G[0],K=G[1],W=(0,c.useState)(),J=W[0],Z=W[1],Q=(0,c.useState)(!1),X=Q[0],nn=Q[1],en=(0,c.useState)(!1),an=en[0],cn=en[1],dn=(0,c.useRef)(null),pn=(0,_n.b)(),hn=pn.isSticky,gn=pn.scrollTriggerEl,mn=(0,_n.I)({id:"booking-scroll-top-triggers",heightHeader:V?0:65}).isTopSticky,fn=O.can(Sn.aG.read,Sn.OV.bookingBlock);(0,Mn.n)();var vn=(0,c.useMemo)((function(){return v.totalAvailableDoctors>0||v.totalAvailableServices>0}),[v]),bn=!!(null===(e=v.organization)||void 0===e?void 0:e.publishReviews),kn=(0,r.A)((0,An.Q)(),3),Yn=kn[0],On=kn[1],Ln=kn[2],Hn=(0,c.useState)((function(){return On[null===H||void 0===H?void 0:H.tab]||On[Yn.hospitals]})),jn=Hn[0],Rn=Hn[1],Vn=function(){window.open("http://maps.google.com??ll=".concat(v.latitude,",").concat(v.longitude,"&q=").concat(encodeURIComponent("".concat(v.latitude,",").concat(v.longitude))),"_blank")},Un={lat:v.latitude,lon:v.longitude};(0,c.useEffect)((function(){(null===H||void 0===H?void 0:H.tab)&&On[H.tab]&&Rn(On[H.tab])}),[null===H||void 0===H?void 0:H.tab]);var Gn=(0,c.useMemo)((function(){return!!(null===v||void 0===v?void 0:v.client)&&(null===v||void 0===v?void 0:v.client.name)===b.u3o.GSK}),[v.client]),Kn=(0,c.useMemo)((function(){return[{name:B({id:"admin.patients.generalInfo",defaultMessage:"General Info"}),textSize:"label1",textType:"semiBold",textColor:s.w.colors.gray500,dataEventCategory:"Care",dataEventAction:"General Info Tab Click",dataEventLabel:"https://".concat(h.y[L]).concat(b.JpE).concat(j)}].concat((0,o.A)(b.LuG.includes(L)?[{name:B({id:"booking.search.tab.services",defaultMessage:"Services"})+String(" (".concat(Y,")")),textSize:"label1",textType:"semiBold",textColor:s.w.colors.gray500,dataEventCategory:"Care",dataEventAction:"Service Tab Click",dataEventLabel:"https://".concat(h.y[L]).concat(b.JpE).concat(j),className:Gn&&0===M.length?"hide-tab":""}]:[]),(0,o.A)(b.hgd.includes(L)?[{name:B({id:"booking.search.tab.doctors",defaultMessage:"Doctors"})+String(" (".concat(C,")")),textSize:"label1",textType:"semiBold",textColor:s.w.colors.gray500,dataEventCategory:"Care",dataEventAction:"Doctor Tab Click",dataEventLabel:"https://".concat(h.y[L]).concat(b.JpE).concat(j),className:Gn&&0===x.length?"hide-tab":""}]:[]),(0,o.A)(bn?[{name:B({id:"doctor.tabs.reviews",defaultMessage:"Reviews ({totalReviews})"},{totalReviews:N.pagination.totalItems}),textSize:"label1",textType:"semiBold",textColor:s.w.colors.gray500,dataEventCategory:"Care",dataEventAction:"Review Tab Click",dataEventLabel:"https://".concat(h.y[L]).concat(b.JpE).concat(j)}]:[]))}),[L,N,C,Y,Gn,x,M]),Wn=(0,c.useMemo)((function(){return z.title?z.title:B({id:"home.seoTitle.hospitalDetail",defaultMessage:"{hospitalName} - Book Appointments Online"},{hospitalName:v.name})}),[z]),Zn=(0,c.useMemo)((function(){return z.description?z.description:B({id:"home.seoDescription.hospitalDetail",defaultMessage:"Book an Appointment at {hospitalName} in {cityName} instantly. See available services, doctors, prices, directions & more."},{hospitalName:v.name,cityName:(0,g.wW)(null===_||void 0===_?void 0:_.name,v.address)})}),[z]),Qn=(0,c.useMemo)((function(){return z.image?z.image:(0,Pn.PN)(null===v||void 0===v?void 0:v.id,"hospital",L)}),[z,null===v||void 0===v?void 0:v.id]);(0,c.useEffect)((function(){En().get(b.OK8)&&navigator.geolocation.getCurrentPosition((function(n){var e={lat:"".concat(Math.round(1e7*n.coords.latitude)/1e7),lng:"".concat(Math.round(1e7*n.coords.longitude)/1e7)};K(e),Z(xn()(Un,e,{exact:!1,unit:"km"}))}))}),[]);var $n=!U&&jn===Dn.uN.GENERAL_INFO&&vn,Xn=!U&&jn===Dn.uN.GENERAL_INFO&&!vn&&F.length>0,ne=(0,zn.oq)({locale:L,isMobile:V,contentAdTag:"Hospital"}),ee=zn.Uq.includes(L);return(0,l.Y)(Qe.K,{title:Wn,description:Zn,image:Qn,isSearchBarDisplay:!0,SEOData:{isIndexable:!(null===(t=$e.u[L])||void 0===t?void 0:t.includes(v.id))&&!!(null===v||void 0===v?void 0:v.status),hasNoAmp:!0,canonicalUrl:null===y||void 0===y?void 0:y.toLowerCase(),openGraph:{image:Qn}},isMobile:V,onTopBarAppears:function(n){cn(n)},footerInfo:S,schemaOrg:k({hospital:v,reviews:N.reviews,cityInfo:_,footerInfo:S,f:B}),ssrNavMenu:I,children:(0,l.FD)(l.FK,{children:[(0,l.FD)($,{children:[(0,l.Y)(Fn.A,{children:(0,l.Y)(d.B,{size:"md",pages:[{label:B({id:"home.navigator.menuItem.helloCare",defaultMessage:"Search"}),value:"".concat(b.JpE,"/")},{label:v.name,value:y}]})}),(0,l.Y)(w.mc,{children:(0,l.Y)(je,{hospitalInfo:v,onOpenQuickBooking:nn,distance:J,isClientGSK:Gn})}),(0,l.Y)("div",{id:"booking-scroll-top-triggers",style:{height:"1px",width:"100%"}}),(0,l.Y)(tn,{}),(0,l.Y)(w.mc,{children:(0,l.FD)("div",{className:"wrapper inner-content sticky-container","data-is-top-bar-appeared":an,children:[(0,l.FD)(rn,{"data-with-quick-booking":$n,ref:dn,children:[(0,l.Y)(d.T,{className:"hospital__tabs",initialTab:jn,onChange:function(n){var e=(0,a.A)((0,i.A)({},H),{tab:Ln[n]});n===Dn.uN.GENERAL_INFO&&delete e.tab,P.replace({pathname:P.pathname,query:e},void 0,{shallow:!0}),Rn(n)},tabContent:Kn}),jn===Dn.uN.GENERAL_INFO&&(0,l.Y)(Ye,{hospitalInfo:v,gps:q,distance:J,isBookNowAvailable:vn,suggestionHospitals:F}),jn===Dn.uN.SERVICES&&b.LuG.includes(L)&&(0,l.Y)(ie,{id:v.id,ssrServices:M,totalPages:D,gps:q}),(!b.LuG.includes(L)&&jn===Dn.uN.SERVICES||jn===Dn.uN.DOCTORS)&&b.hgd.includes(L)&&(0,l.Y)(yn,{id:v.id,ssrDoctors:x,hospitalInfo:v,totalPages:A,gps:q,isMobile:V}),jn===Dn.uN.REVIEWS&&(0,l.Y)(l.FK,{children:(null===N||void 0===N||null===(m=N.pagination)||void 0===m?void 0:m.totalItems)&&(null===N||void 0===N||null===(f=N.pagination)||void 0===f?void 0:f.totalItems)>0?(0,l.Y)(Ze,{hospitalInfo:v,hospitalRatingDetails:E,hospitalReviews:N}):(0,l.Y)(sn,{children:(0,l.Y)(Bn.G,{})})})]}),(0,l.FD)(on,{children:[fn&&(0,l.FD)(be,{className:"w-[346px] sticky-booking-block",children:[(0,l.Y)(u.H,{tag:"h5",className:"mb-[16px]",children:B({id:"homePage.bookNow",defaultMessage:"Book Now"})}),(0,l.Y)(p.B,{size:"md",color:"primary",onClick:function(n){null===n||void 0===n||n.stopPropagation(),Vn()},isBlock:!0,className:"button",children:B({id:"hospital.bookAnAppointment",defaultMessage:"Book an appointment"})})]}),!fn&&!ge.CM.includes(L)&&(0,l.FD)(l.FK,{children:[$n&&(0,l.Y)(Jn,{selectedHospital:v,onChangeTab:function(n){return Rn(n)},type:qn.CARD}),Xn&&(0,l.Y)(ke,{suggestionHospitals:F,gps:q})]}),!U&&ee&&(0,l.FD)(l.FK,{children:[(0,l.Y)(ln,{style:{flex:2.5,marginBottom:24},children:(0,l.Y)(Tn.z,{className:"ad-container",adUnitPath:ne,size:[[300,250],[300,600]],divId:"ad-hospital-desktop-top-banner",pos:["TopBanner"],adDefaultSize:[300,250],customTargetings:{Hospital_ID:[v.id]}})}),v.showServiceCategory&&v.serviceCategories.length>0&&(0,l.Y)(ln,{children:(0,l.Y)(Tn.z,{className:"ad-container",adUnitPath:ne,size:[300,250],divId:"ad-hospital-desktop-mid-banner1",pos:["MidBanner1"],adDefaultSize:[300,250],customTargetings:{Hospital_ID:[v.id]}})})]})]})]})})]}),U&&vn&&!fn&&(0,l.Y)(Jn,{isOpen:X,onClose:function(){return nn(!1)},selectedHospital:v,onChangeTab:function(n){return Rn(n)},type:qn.POPUP}),V&&gn,!V&&(0,l.Y)(In.A,{divId:"ad-hospital-desktop-sticky",adUnitPath:ne,customTargetings:{Hospital_ID:[v.id]}}),fn&&mn&&(0,l.Y)(un,{className:hn?"fixed-btn":"",children:(0,l.Y)(p.B,{size:"md",color:"primary",onClick:function(n){null===n||void 0===n||n.stopPropagation(),Vn()},isBlock:!0,className:"button",children:B({id:"hospital.bookAnAppointment",defaultMessage:"Book an appointment"})})})]})})}},76887:function(n,e,t){"use strict";t.r(e),t.d(e,{__N_SSP:function(){return R},default:function(){return V}});var i=t(81539),a=t(2445),r=t(73884),o=t(50970),l=t(44410),c=t(37597),s=t(35291),d=t(76432),u=t(74029),p=t(59850),h=t(84091),g=t(88491),m=t(22699),f=t(73419),v=t(40959),b=t(12215),y=t.n(b),k=t(6442),x=t(36259),w=t(19475),A=t(3045),C=t(7449),_=t(78859),M=t(57920),D=t(14585),Y=t(92012),E=t(57077),N=t(55549),S=t(24537),F=t(27317);function T(){var n=(0,S.A)(["\n border-bottom: solid 1px\n ",";\n .cover-img {\n width: 100%;\n height: 380px;\n border-radius: 8px;\n object-fit: cover;\n aspect-ratio: 60 / 19;\n "," {\n border-radius: 0;\n /* margin: 0 -16px; */\n /* width: calc(100% + 32px); */\n height: auto;\n width: 100%;\n aspect-ratio: 375/240;\n }\n }\n\n "," {\n margin: 0 -16px;\n\n & .logo {\n padding-left: 16px;\n padding-right: 16px;\n }\n }\n"]);return T=function(){return n},n}function I(){var n=(0,S.A)(["\n "," {\n padding: 16px;\n display: flex;\n gap: 32px;\n }\n\n .logo {\n flex-shrink: 0;\n position: relative;\n top: -56px;\n img {\n border-radius: 50%;\n width: 168px;\n height: 168px;\n object-fit: contain;\n box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.07),\n 0px 4px 7px rgba(0, 0, 0, 0.15);\n background-color: rgb(248, 249, 252);\n }\n\n "," {\n display: flex;\n justify-content: center;\n text-align: center;\n top: -100px;\n /* img {\n width: 80px;\n height: 80px;\n } */\n }\n }\n\n .info {\n "," {\n margin-top: -88px;\n padding-left: 16px;\n padding-right: 16px;\n }\n .name {\n "," {\n text-align: center;\n }\n }\n .info-label {\n text-transform: uppercase;\n }\n }\n"]);return I=function(){return n},n}var z=F.Ay.div.withConfig({componentId:"sc-950165c7-0"})(T(),(function(n){return n.theme.colors.neutral100}),l.M.mbDown,l.M.mbDown),B=F.Ay.div.withConfig({componentId:"sc-950165c7-1"})(I(),l.M.tdUp,l.M.mbDown,l.M.mbDown,l.M.mbDown),P=function(n){var e=n.organizationInfo,t=(0,k.A)().formatMessage;return(0,a.FD)(z,{className:"pb-[8px] mt-[22px]",children:[(0,a.Y)("img",{src:(null===e||void 0===e?void 0:e.banner)||N.C.getAssetPath("care/default-hospital-banner.jpg"),alt:null===e||void 0===e?void 0:e.name,className:"cover-img"}),(0,a.FD)(B,{children:[(0,a.Y)("div",{className:"logo",children:(0,a.Y)("img",{src:null===e||void 0===e?void 0:e.logo,alt:"".concat(null===e||void 0===e?void 0:e.name," Logo")})}),(0,a.FD)("div",{className:"info",children:[(0,a.Y)("div",{className:"name",children:(0,a.Y)(E.H,{tag:"h4",as:"h1",color:s.w.colors.gray800,children:null===e||void 0===e?void 0:e.name})}),(0,a.Y)(o.T,{size:"c2",type:"bold",color:s.w.colors.gray800,className:"mt-[26px] info-label",children:t({id:"organizationPage.orgInfo",defaultMessage:"Organization Info"})}),(0,a.Y)(o.T,{size:"c2",color:s.w.colors.gray800,className:"mt-[16px]",children:null===e||void 0===e?void 0:e.description})]})]})]})},O=t(28171),L=t(81e3),H=t(86711),j=function(n){var e=n.noResultMessage;return(0,a.Y)(w.mc,{style:{flex:5,padding:0},children:(0,a.FD)(Y.sV,{children:[(0,a.Y)(H.A,{}),(0,a.Y)("div",{children:(0,a.Y)(o.T,{size:"base",children:e})})]})})},R=!0,V=function(n){var e,t,b,E,N,S,F,T,I,z=n.query,B=n.organizationInfo,H=n.listOrganizationHospitalSSR,R=n.canonicalUrl,V=n.footerInfo,U=n.navMenuContent,G=n.seoConfig,q=(0,k.A)().formatMessage,K=(0,f.$)(),W=(0,g.d)().isMobile,J=K.query,Z=K.locale,Q=void 0===Z?"vi-VN":Z,$=K.asPath,X=(0,r.useState)(J.page&&parseInt(J.page)||1),nn=X[0],en=X[1],tn=(0,r.useState)(),an=tn[0],rn=tn[1];(0,r.useEffect)((function(){var n=y().get("geoLocation"),e={lat:"",lng:""};if(n)try{var t=JSON.parse(n),i=t.lat,a=t.lng;e.lat=i,e.lng=a}catch(r){}rn(e)}),[$]);var on,ln,cn,sn=(0,r.useState)(z),dn=sn[0],un=sn[1],pn=(0,r.useState)(!1),hn=pn[0],gn=pn[1],mn=(0,r.useState)({}),fn=mn[0],vn=mn[1],bn=(0,r.useContext)(x.B).pushNotifications,yn=(0,m.A)({url:dn,method:"GET",trigger:dn,condition:dn!==z}),kn=yn.loading,xn=void 0!==kn&&kn,wn=yn.response,An=void 0===wn?{}:wn,Cn=null!==(on=null===An||void 0===An||null===(e=An._data)||void 0===e?void 0:e.pagination.total_items)&&void 0!==on?on:null===H||void 0===H||null===(t=H._data)||void 0===t||null===(b=t.pagination)||void 0===b?void 0:b.total_items,_n=null!==(ln=null===An||void 0===An||null===(E=An._data)||void 0===E||null===(N=E.pagination)||void 0===N?void 0:N.last)&&void 0!==ln?ln:null===H||void 0===H||null===(S=H._data)||void 0===S||null===(F=S.pagination)||void 0===F?void 0:F.last,Mn=null!==(cn=null===An||void 0===An||null===(T=An._data)||void 0===T?void 0:T.searches)&&void 0!==cn?cn:null===H||void 0===H||null===(I=H._data)||void 0===I?void 0:I.searches,Dn=function(n){vn(n)},Yn=(0,r.useMemo)((function(){return G.title?G.title:q({id:"home.seoTitle.hospitalDetail",defaultMessage:"{hospitalName} - Book Appointments Online"},{hospitalName:null===B||void 0===B?void 0:B.name})}),[G]),En=(0,r.useMemo)((function(){return G.description?G.description:(null===B||void 0===B?void 0:B.description)||q({id:"home.seoTitle.hospitalDetail",defaultMessage:"{hospitalName} - Book Appointments Online"},{hospitalName:null===B||void 0===B?void 0:B.name})}),[G,B]),Nn=(0,r.useMemo)((function(){return G.image?G.image:(0,C.PN)(null===B||void 0===B?void 0:B.id,"organization",Q)}),[G,null===B||void 0===B?void 0:B.id]),Sn=(0,r.useMemo)((function(){var n=(0,M.IF)(fn,J,Q);return un(n),n}),[JSON.stringify(fn),J]);(0,r.useEffect)((function(){var n=(0,h.er)(p.R.GET_ORGANIZATION_HOSPITAL_LIST,{id:null===B||void 0===B?void 0:B.id})+"&page=".concat(nn).concat(Sn);un(n)}),(0,i.A)(Object.keys(J).map((function(n){return J[n]}))).concat([nn,Sn])),(0,r.useEffect)((function(){if(nn&&Number(nn)>0){var n=(0,l.f)($,nn);K.push(n)}}),[nn]),(0,r.useEffect)((function(){(!Mn||Mn.length<1)&&_n>0&&en(1)}),[null===Mn||void 0===Mn?void 0:Mn.length]),(0,r.useEffect)((function(){document.documentElement.classList.toggle("noscroll",hn)}),[hn]);var Fn;return(0,r.useEffect)((function(){!function(n){try{if(y().get(v.OK8)){var e=JSON.parse(y().get(v.OK8)||JSON.stringify(""));rn(e),n&&n(e),console.log("Got location from sessionStorage")}else navigator.geolocation?navigator.geolocation.getCurrentPosition((function(e){var t={lat:"".concat(Math.round(1e7*e.coords.latitude)/1e7),lng:"".concat(Math.round(1e7*e.coords.longitude)/1e7)};y().set(v.OK8,JSON.stringify(t)),rn(t),n&&n(t),console.log("Got location from navigator")}),(function(e){n&&n(),e.code!==GeolocationPositionError.TIMEOUT&&e.code!==GeolocationPositionError.POSITION_UNAVAILABLE||bn({message:q({id:"error.geoLocation.anErrorOccurred",defaultMessage:"An error occurred while requesting your location"}),type:"danger"})})):(n&&n(),console.log("location determined failed"))}catch(t){n&&n(),console.log("Error determining location",t)}}()}),[]),(0,a.FD)(a.FK,{children:[(0,a.FD)(O.K,{title:Yn,description:En,image:Nn,isSearchBarDisplay:!0,SEOData:{isIndexable:!0,hasNoAmp:!0,canonicalUrl:null===R||void 0===R?void 0:R.toLowerCase()},isMobile:W,footerInfo:V,ssrNavMenu:U,children:[(0,a.Y)(A.A,{children:(0,a.Y)(c.B,{size:"md",pages:[{label:q({id:"home.navigator.menuItem.helloCare",defaultMessage:"Search"}),value:"".concat(v.JpE,"/")},{label:null===B||void 0===B?void 0:B.name,value:R}]})}),(0,a.FD)(w.mc,{children:[(0,a.Y)(P,{organizationInfo:B}),(0,a.FD)(Y.m,{className:"py-[24px]",children:[(0,a.Y)(o.T,{size:"p4",color:s.w.colors.secondaryDark,type:"caption",children:q({id:"organizationPage.numberResults",defaultMessage:"{number} hospitals in organization"},{number:Cn})}),W&&(0,a.FD)(Y._p,{onClick:function(){gn(!0)},children:[(0,a.Y)(o.T,{size:"base",type:"regular",children:q({id:"searchPage.filter",defaultMessage:"Filter"})}),(0,a.Y)(L.A,{})]})]}),(0,a.FD)(Y.F_,{children:[Cn>0?(0,a.FD)("div",{className:"hospitals",children:[(0,a.Y)(D.e,{gps:an,results:null!==(Fn=null===Mn||void 0===Mn?void 0:Mn.map(u.em))&&void 0!==Fn?Fn:[]}),Cn>0&&_n>1&&(0,a.Y)(d.P,{className:"pagination",pagesAmount:_n,currentPage:nn,onClick:function(n){return n.preventDefault()},onChange:function(n){window.scrollTo({top:0,left:0,behavior:"smooth"}),setTimeout((function(){en(n)}),200)},href:v.kUY?R:window.location.href})]}):(0,a.Y)(j,{noResultMessage:q({id:"organizationPage.noResult",defaultMessage:"No Result"})}),!W&&(0,a.Y)("div",{className:"filter",children:(0,a.Y)(_.HX,{onCloseClick:function(){return gn(!1)},isMobile:W,numberOfResults:Cn,isLoading:xn,gps:an,isShowedDistanceFilter:!1,onFilterChange:Dn,filters:fn})})]})]})]}),(0,a.Y)(a.FK,{children:W&&hn&&(0,a.Y)("div",{className:"filter",children:(0,a.Y)(_.HX,{onCloseClick:function(){return gn(!1)},isMobile:W,numberOfResults:Cn,isLoading:xn,gps:an,isShowedDistanceFilter:!1,onFilterChange:Dn,filters:fn})})})]})}},23285:function(n,e,t){"use strict";t.r(e),t.d(e,{NoResult:function(){return gn},__N_SSP:function(){return hn},dataGskSeo:function(){return vn},default:function(){return bn}});var i=t(858),a=t(53513),r=t(63538),o=t(83776),l=t(2445),c=t(7367),s=t(73884),d=t(50970),u=t(37597),p=t(44410),h=t(91291),g=t(10333),m=t(76432),f=t(66472),v=t(27516),b=t(26273),y=t(74029),k=t(3365);function x(n){var e,t,i,a=n.url,r=n.seoTitle,o=n.seoDesc,l=n.searchType,c=n.searchData,s=n.footerInfo,d=n.cityInfo,u=n.specialty,p=n.f,h="".concat(k.V2).concat(a),g="".concat(h,"#collectionpage"),m=[],f="";"DOCTOR"===l?(f=p({id:"page.title.doctor"}),m=null===(i=c.doctors)||void 0===i?void 0:i.map((function(n,e){return{"@type":"ListItem",position:e+1,name:n.name,url:"".concat(k.wd).concat(k.VH.DOCTOR,"/").concat(n.slug,"-").concat(n.id),image:n.avatar}}))):"HOSPITAL"===l?(f=p({id:"page.title.hospital"}),m=null===(t=c.hospitals)||void 0===t?void 0:t.map((function(n,e){return{"@type":"ListItem",position:e+1,name:n.name,url:"".concat(k.wd).concat(k.VH.HOSPITAL,"/").concat(n.slug,"-").concat(n.id),image:n.logo}}))):"SERVICE"===l&&(f=p({id:"doctorPage.service"}),m=null===(e=c.services)||void 0===e?void 0:e.map((function(n,e){return{"@type":"ListItem",position:e+1,name:n.name,url:"".concat(k.wd).concat(k.VH.HOSPITAL,"/").concat(n.slug,"-").concat(n.id)}})));var v={"@type":"CollectionPage","@id":g,url:h,name:r,description:o,about:f,isPartOf:{"@id":k.vq},inLanguage:k.Np};return d&&(v.contentLocation=d.name),u&&(v.specialty={"@type":"MedicalSpecialty",name:u.name}),(0,k.oU)([v,{"@type":"ItemList",mainEntityOfPage:{"@id":g},itemListElement:m}],s)}var w=t(59850),A=t(84091),C=t(32485),_=t.n(C),M=t(19475),D=t(79151),Y=t(79777),E=t(54238),N=t(10297),S=t(36259),F=t(20607),T=t(70931),I=t(8239),z=t(40959),B=function(n){var e=n.results,t=n.gps,i=n.noResult,a=n.showAd,r=n.isMobile,o=(0,N.useRouter)(),c=(0,s.useContext)(S.B).state.isLoggedIn,d=function(n){var e=(0,A.eP)(n);o.push(e)},u=function(n){c?o.push("tel:".concat(n.phone)):(window.sessionStorage.setItem("returnUrl",JSON.stringify(window.location.href)),z.dXu?Y.u.getState().triggerLogin({source:"care_phone"}):o.push((0,A.GC)(window.location.href,"care_phone")))},p=function(n){o.push((0,A.pN)(n))},h=o.locale,g=(0,T.oq)({locale:h,isMobile:r,contentAdTag:"Search"});return(0,l.FD)(D.Uy,{children:[null===e||void 0===e?void 0:e.map((function(n,i){return(0,l.FD)(s.Fragment,{children:[(0,l.Y)(E.a,{serviceInfo:n,onHospitalClick:d,onMainActionClick:p,onPhoneClick:u,gps:t,orderedListIndex:i},"service-".concat(n.id)),a&&(0,I.PM)(i,e.length,r)&&(0,l.Y)(F.z,{adUnitPath:g,size:r?[[300,250],[320,100]]:[728,90],divId:r?"ad-search-service-mobile-"+i:"ad-search-service-desktop-"+i,pos:[(0,I.bp)(i,r)],style:{marginBottom:24},adDefaultSize:r?[320,100]:[728,90]},String(r))]},n.id)})),(!e||0===e.length)&&i]})},P=t(73419),O=t(6442),L=t(52785),H=t(89238),j=function(n){var e=n.results,t=n.isMobile,i=n.isMobileOrTablet,a=n.gps,r=n.showAd,o=(0,N.useRouter)().locale,c=(0,T.oq)({locale:o,isMobile:t,contentAdTag:"Search"});return(0,l.Y)(l.FK,{children:e.map((function(n,o){return(0,l.FD)(s.Fragment,{children:[(0,l.Y)(H.w,{doctorInfo:n,hospitalInfo:n.hospital||{},isMobile:i,orderedListIndex:o,gps:a},"doctor-".concat(n.id)),r&&(0,I.PM)(o,e.length,t)&&(0,l.Y)(F.z,{adUnitPath:c,size:t?[[300,250],[320,100]]:[728,90],divId:t?"ad-search-doctor-mobile-"+o:"ad-search-doctor-desktop-"+o,pos:[(0,I.bp)(o,t)],style:{marginBottom:24},adDefaultSize:t?[320,100]:[728,90]},String(t))]},"doctor-".concat(n.id))}))})},R=t(14585),V=function(n){var e=n.type,t=n.gps,i=n.isMobile,a=n.isMobileOrTablet,r=n.results;return"hospital"===e?(0,l.Y)(R.e,{isMobile:i,gps:t,results:r,showAd:!0}):"doctor"===e?(0,l.Y)(j,{isMobileOrTablet:a,isMobile:i,results:r,gps:t,showAd:!0}):null},U=function(n){var e=n.type,t=void 0===e?"hospital":e,i=n.results,a=n.isMobile,r=n.isMobileOrTablet,o=n.gps,d=n.noResult,p=n.searchKeywords,h=n.isClientGSK,g=void 0!==h&&h,m=(0,P.$)(),f=(0,s.useContext)(S.B).ability,b=m.query,y=m.locale,k=m.asPath,x=(0,O.A)().formatMessage,w=f.can(L.aG.read,L.OV.bookingBlock),A=(0,s.useMemo)((function(){if(g||w)return[{name:x({id:"searchPage.tab.hospital",defaultMessage:"Hospital"}),dataEventCategory:"Care",dataEventAction:"Hospital Tab Click",dataEventLabel:"https://".concat(v.y[y]).concat(z.JpE).concat(k)}];var n=[{name:x({id:"searchPage.tab.hospital",defaultMessage:"Hospital"}),dataEventCategory:"Care",dataEventAction:"Hospital Tab Click",dataEventLabel:"https://".concat(v.y[y]).concat(z.JpE).concat(k)}];return c.rl.includes(y)||n.unshift({name:x({id:"searchPage.tab.doctor",defaultMessage:"Doctor"}),dataEventCategory:"Care",dataEventAction:"Doctor Tab Click",dataEventLabel:"https://".concat(v.y[y]).concat(z.JpE).concat(k)}),n}),[g,w,y]),C=(0,s.useMemo)((function(){return g?0:"hospital"===t?1:0}),[t,g]);return(0,l.FD)(l.FK,{children:[z.hgd.includes(y)&&(0,l.Y)(D.G6,{children:(0,l.Y)(u.T,{tabContent:A,initialTab:C,onChange:function(n){var e,t,i,a="/"+b.slug[0],r=[];g?a+="/".concat(null===(e=z.y1A[y])||void 0===e?void 0:e.HOSPITAL,"/"):a+="/".concat(0===n?null===(t=z.y1A[y])||void 0===t?void 0:t.DOCTOR:null===(i=z.y1A[y])||void 0===i?void 0:i.HOSPITAL,"/");b.slug[2]&&(a+=b.slug[2]+"/"),p&&r.push("q=".concat(p)),"string"===typeof b.specialtyId&&b.specialtyId&&r.push("specialtyId=".concat(b.specialtyId)),m.push("".concat(a).concat(r.length?"?".concat(r.join("&")):""))}})}),i&&i.length?(0,l.Y)(V,{type:t,gps:o,isMobile:a,isMobileOrTablet:r,results:i}):d]})},G=t(88491),q=t(22699),K=t(50470),W=t(48403),J=t(95380),Z=t(24537);function Q(){var n=(0,Z.A)(["\n display: flex;\n gap: 16px;\n color: ",";\n font-size: 14px;\n font-style: normal;\n font-weight: 400;\n line-height: 22px;\n letter-spacing: -0.2px;\n white-space: nowrap;\n align-items: center;\n"]);return Q=function(){return n},n}var $=t(27317).Ay.div.withConfig({componentId:"sc-d4bf07f5-0"})(Q(),(function(n){return n.theme.colors.gray600})),X=function(n){var e=n.logo,t=n.className,i=(0,O.A)().formatMessage;return(0,l.FD)($,{className:t,children:[i({id:"admin.sponsoredBy.title",defaultMessage:"Sponsored by"}),e&&e]})},nn=t(78859),en=t(57920),tn=t(6224),an=t.n(tn),rn=t(81539),on=t(91266),ln=t(61817),cn=t.n(ln),sn=function(n){var e=n.isMobile,t=n.elements,i=void 0===t?2:t;return(0,l.Y)(l.FK,{children:(0,rn.A)(Array(i)).map((function(n,t){return(0,l.Y)("div",{className:_()(cn().mDoctorInfo),style:{width:"100%",marginTop:0===t?22:0},children:(0,l.FD)("div",{className:_()(cn().doctorHeader),children:[(0,l.Y)("div",{className:_()(cn().Image),children:(0,l.Y)(on.A,{width:72,height:72,style:{marginRight:16,marginBottom:16}})}),(0,l.FD)("div",{className:_()(cn().doctorInfoHeader),style:{width:"100%"},children:[(0,l.Y)(on.A,{style:{width:"100%",height:"20px"}}),(0,l.Y)(on.A,{style:{width:"100%",height:"20px"}}),(0,l.Y)(on.A,{style:{width:"100%",height:"20px"}}),(0,l.Y)(on.A,{style:{width:"100%",height:"20px"}}),!e&&(0,l.FD)("div",{className:_()(cn().pricing,cn().isDesktop),children:[(0,l.Y)(on.A,{width:16,height:16,style:{marginRight:8}}),(0,l.Y)(on.A,{width:300,height:16})]})]}),!e&&(0,l.FD)("div",{style:{minWidth:"200px"},children:[(0,l.Y)(on.A,{height:20,style:{marginBottom:8,width:"100%"}}),(0,l.Y)(on.A,{height:40,style:{marginBottom:8,width:"100%"}})]})]})},t)}))})},dn=t(28171),un=t(81e3),pn=t(86711),hn=!0,gn=function(n){var e=n.noResultMessage,t=n.className;return(0,l.FD)(M.mc,{className:_()(an().noResults,t),children:[(0,l.Y)(pn.A,{}),(0,l.Y)("div",{children:(0,l.Y)(d.T,{size:"base",children:e.current})})]})},mn={HOSPITAL:"searchPage.resultsFound.hospitals",DOCTOR:"searchPage.resultsFound.doctors",SERVICE:"searchPage.resultsFound.services"},fn={HOSPITAL:"searchPage.resultsFound.hospitals.allOrCurrent",DOCTOR:"searchPage.resultsFound.doctors.allOrCurrent",SERVICE:"searchPage.resultsFound.services.allOrCurrent"},vn={imageSeoGsk:"https://cdn-healthcare.hellohealthgroup.com/2024/06/ID.jpg",titleSeo:"Temukan Vaksin Rotavirus Terdekat dari Lokasi Anda",descSeo:"Segera buat janji konsultasi dengan Dokter Spesialis Anak sekarang!"},bn=function(n){var e,t,k,C,Y,E,N,S,I,L,H,j,R=n.query,V=n.searchResultSSR,Z=n.canonicalUrl,Q=n.specialties,$=n.cities,tn=n.searchAPISlugArr,rn=n.pageType,on=n.searchType,ln=n.cityFromSlug,cn=n.typeSearchFromSlug,pn=n.searchKeywords,hn=n.footerInfo,bn=n.searchSpecialty,yn=n.clientSlug,kn=(0,G.d)(),xn=kn.isMobile,wn=kn.isMobileOrTablet,An=(0,P.$)(),Cn=An.query,_n=An.locale,Mn=void 0===_n?"vi-VN":_n,Dn=An.asPath,Yn=Cn.slug,En=Array.isArray(Yn)?Yn[0]:Yn,Nn=(0,O.A)().formatMessage,Sn={hospital:{},serviceOrDoctor:{},yishiFilter:{}},Fn=(0,s.useState)(!1),Tn=Fn[0],In=Fn[1],zn=(0,s.useState)(R),Bn=zn[0],Pn=zn[1],On=(0,s.useState)(!1),Ln=On[0],Hn=On[1],jn=(0,s.useState)("")[0],Rn=(0,s.useState)(Cn.page&&parseInt(Cn.page)||1),Vn=Rn[0],Un=Rn[1],Gn=(0,s.useState)({lat:"",lng:""}),qn=Gn[0],Kn=Gn[1],Wn=(0,s.useState)(Sn),Jn=Wn[0],Zn=Wn[1],Qn=(0,s.useState)({cityId:-1,keyword:""}),$n=Qn[0],Xn=Qn[1],ne=(0,s.useState)(!1),ee=ne[0],te=ne[1],ie=(0,s.useRef)(""),ae=null===$||void 0===$?void 0:$.find((function(n){return n.slug===En})),re=z.u3o.GSK===yn,oe="vi-VN"===Mn&&"ALL"===rn,le=(0,s.useMemo)((function(){var n;return Yn[2]&&Yn[1]===(null===(n=z.y1A[Mn])||void 0===n?void 0:n.SERVICE)&&Q.find((function(n){return n.slug===Yn[2]}))}),[Yn[2],Q]),ce=(0,s.useMemo)((function(){if(null===qn||void 0===qn?void 0:qn.lat){var n=qn.lat,e=qn.lng;return"&latitude=".concat(n,"&longitude=").concat(e)}return""}),[qn.lat,qn.lng]),se=tn.join("/"),de=(0,s.useMemo)((function(){return(0,en.IF)(function(){return"zh-TW"===Mn?Jn.yishiFilter:Cn.slug[1]===(null===(n=z.y1A[Mn])||void 0===n?void 0:n.HOSPITAL)?Jn.hospital:Jn.serviceOrDoctor;var n}(),Cn,Mn)}),[JSON.stringify(Jn),Cn]),ue=function(n){var e;"zh-TW"===Mn?Zn((0,r.A)((0,a.A)({},Jn),{yishiFilter:n})):Cn.slug[1]===(null===(e=z.y1A[Mn])||void 0===e?void 0:e.HOSPITAL)?Zn((0,r.A)((0,a.A)({},Jn),{hospital:n})):Zn((0,r.A)((0,a.A)({},Jn),{serviceOrDoctor:n}))},pe=(0,q.A)({url:(0,A.er)(w.R.GET_SEARCH_NO_PARAMS+"&skip_booking=1")+Bn,method:"GET",trigger:Bn,condition:Bn!==R||"CURRENT"===rn,options:{headers:{accept:"application/json, text/plain, version=2.0.0"}}}),he=pe.loading,ge=void 0!==he&&he,me=pe.response,fe=void 0===me?{}:me,ve=(0,s.useMemo)((function(){var n,e;return((null===fe||void 0===fe||null===(n=fe._data)||void 0===n?void 0:n.districts)||(null===V||void 0===V||null===(e=V._data)||void 0===e?void 0:e.districts)||[]).map(y.YT)}),[fe,V]),be=(0,s.useState)([]),ye=be[0],ke=be[1];(0,s.useEffect)((function(){var n,e,t,i;("DOCTOR"===on&&!(null===(n=Jn.serviceOrDoctor)||void 0===n||null===(e=n.district_id)||void 0===e?void 0:e.length)||"HOSPITAL"===on&&!(null===(t=Jn.hospital)||void 0===t||null===(i=t.district_id)||void 0===i?void 0:i.length))&&JSON.stringify(ye)!==JSON.stringify(ve)&&ke(ve)}),[ve,JSON.stringify(Jn),on]);var xe,we,Ae,Ce,_e=Cn.slug[1]===(null===(e=z.y1A[Mn])||void 0===e?void 0:e.DOCTOR)&&![b.L.PhilippinesEnglish,b.L.PhilippinesTagalog].includes(Mn)||Cn.slug[1]===(null===(t=z.y1A[Mn])||void 0===t?void 0:t.SERVICE),Me=ge,De=null===fe||void 0===fe||null===(k=fe._data)||void 0===k?void 0:k.pagination,Ye=null===V||void 0===V||null===(C=V._data)||void 0===C?void 0:C.pagination,Ee=null!==(xe=null===De||void 0===De?void 0:De.total_items)&&void 0!==xe?xe:null===Ye||void 0===Ye?void 0:Ye.total_items,Ne=null!==(we=null===De||void 0===De?void 0:De.last)&&void 0!==we?we:null===Ye||void 0===Ye?void 0:Ye.last,Se=null!==(Ae=null===fe||void 0===fe||null===(Y=fe._data)||void 0===Y?void 0:Y.searches)&&void 0!==Ae?Ae:null===V||void 0===V||null===(E=V._data)||void 0===E?void 0:E.searches;switch(Cn.slug[1]){case null===(N=z.y1A[Mn])||void 0===N?void 0:N.DOCTOR:Ce="doctor";break;case null===(S=z.y1A[Mn])||void 0===S?void 0:S.SERVICE:Ce="service";break;case null===(I=z.y1A[Mn])||void 0===I?void 0:I.HOSPITAL:Ce="hospital"}var Fe,Te,Ie=(0,T.oq)({locale:Mn,isMobile:xn,contentAdTag:"Search"}),ze=(0,l.FD)(l.FK,{children:[Ee>0?(0,l.Y)(l.FK,{children:"zh-TW"===Mn?(0,l.Y)(nn.ly,{onCloseClick:function(){return Hn(!1)},isMobile:wn,numberOfResults:Ee,isLoading:Me,onFilterChange:ue,filters:Jn.yishiFilter,city:ln,gps:qn,isLoadingDistricts:ee,setIsLoadingDistricts:te},"yishi-filter"):(0,l.FD)(l.FK,{children:[_e&&(0,l.Y)(nn.W2,{searchType:Ce,onCloseClick:function(){return Hn(!1)},isMobile:wn,numberOfResults:Ee,isLoading:Me,onFilterChange:ue,labelPrice:{min:Nn({id:"filter.minPrice"}),max:Nn({id:"filter.maxPrice"})},rangePrice:{min:0,max:z.sOt[Mn],step:z.sOt[Mn]/100},currencyUnit:f.yT[Mn],filters:Jn.serviceOrDoctor,districts:ye},"search-filter"),Cn.slug[1]===(null===(L=z.y1A[Mn])||void 0===L?void 0:L.HOSPITAL)&&(0,l.Y)(nn.HX,{onCloseClick:function(){return Hn(!1)},isMobile:wn,numberOfResults:Ee,isLoading:Me,onFilterChange:ue,gps:qn,filters:Jn.hospital,isShowedDistanceFilter:!1,districts:ye},"hospital-filter")]})}):(0,l.Y)(l.FK,{}),!xn&&(0,l.Y)(F.z,{adUnitPath:Ie,size:[[300,250],[300,600]],divId:"ad-search-side-desktop",pos:["TopBanner"],adDefaultSize:[300,250],style:{marginTop:40}})]}),Be=function(){var n=[];switch(Me&&(ie.current=""!==jn?Nn({id:"searchPage.noResultFound",defaultMessage:"No result"},{keyword:jn}):Nn({id:"searchPage.noResults",defaultMessage:"No result"}),n.push((0,l.FD)(s.Fragment,{children:[("DOCTOR"===on||"HOSPITAL"===on)&&(z.LuG.includes(Mn)||z.hgd.includes(Mn))&&(0,l.Y)(D.G6,{children:(0,l.Y)(u.T,{initialTab:"DOCTOR"===on?0:1,tabContent:[{name:Nn({id:"searchPage.tab.doctor",defaultMessage:"Doctor"})},{name:Nn({id:"searchPage.tab.hospital",defaultMessage:"Hospital"})}]})}),(0,l.Y)(sn,{isMobile:wn,elements:10})]},"search-loading"))),on){case"HOSPITAL":var e;return n.push((0,l.Y)(D.E2,{$loading:Me,children:(0,l.Y)(U,{type:"hospital",results:null!==(e=null===Se||void 0===Se?void 0:Se.map(y.em))&&void 0!==e?e:[],isMobileOrTablet:wn,isMobile:xn,gps:qn,noResult:(0,l.Y)(gn,{noResultMessage:ie}),searchKeywords:pn,isClientGSK:re})},"result-hospital")),n;case"DOCTOR":var t;return n.push((0,l.Y)(D.E2,{$loading:Me,children:(0,l.Y)(U,{type:"doctor",results:null!==(t=null===Se||void 0===Se?void 0:Se.map(y.pW))&&void 0!==t?t:[],isMobile:xn,isMobileOrTablet:wn,gps:qn,noResult:(0,l.Y)(gn,{noResultMessage:ie}),searchKeywords:pn,isClientGSK:re})},"result-doctor")),n;case"SERVICE":var i;return n.push((0,l.Y)(D.E2,{$loading:Me,children:(0,l.Y)(B,{results:null!==(i=null===Se||void 0===Se?void 0:Se.map(y.JG))&&void 0!==i?i:[],gps:qn,noResult:(0,l.Y)(gn,{noResultMessage:ie}),showAd:!0,isMobile:xn})},"result-service")),n;default:return n.push((0,l.Y)(gn,{noResultMessage:ie},"no-result")),n}}(),Pe="";Cn.slug[1]===(null===(H=z.y1A[Mn])||void 0===H?void 0:H.SERVICE)&&(null===(j=Cn.slug[2])||void 0===j?void 0:j.length)&&(Pe=null!==(Te=null===Se||void 0===Se||null===(Fe=Se[0])||void 0===Fe?void 0:Fe.name)&&void 0!==Te?Te:"");var Oe="ALL"===rn||"CURRENT"===rn?on&&fn[on]:on&&mn[on];(0,s.useEffect)((function(){var n=-1!==$n.cityId?$n.cityId:null===ln||void 0===ln?void 0:ln.id,e=n?"&city_id=".concat(n):"",t="&page=".concat(Vn).concat(e).concat(ce).concat(de);"string"===typeof Cn.q&&Cn.q.trim().length>2&&(pn=encodeURI(Cn.q),t+="&keyword=".concat(pn)),"string"===typeof Cn.specialtyId&&Cn.specialtyId&&(t+="&specialty_id=".concat(Cn.specialtyId)),t+="zh-TW"===Mn?"&type=".concat("HOSPITAL"===on?"hospital":"doctor"):"&slug=".concat(se),1===Number(null===Cn||void 0===Cn?void 0:Cn.course)&&(t+="&course=1"),yn===z.u3o.GSK&&(t+="&client_slug=".concat(yn)),yn===z.u3o.MSD&&(t+="&msd=1"),Pn(t+="&show_districts=1")}),[de,ce,se,Cn,Vn,JSON.stringify($n)]),(0,s.useEffect)((function(){var n=function(){var n=(0,i.A)((function(){var n,e,t;return(0,o.__generator)(this,(function(i){switch(i.label){case 0:return[4,(0,A.px)((0,A.er)(w.R.GET_CITY,{ids:$n.cityId}),"GET")];case 1:return e=i.sent(),(null===(t=null===e||void 0===e||null===(n=e._data)||void 0===n?void 0:n.cities)||void 0===t?void 0:t.length)>0&&An.push("/".concat(t[0].slug,"/").concat(Cn.slug[1],"/").concat($n.keyword?"?q=".concat($n.keyword):"")),[2]}}))}));return function(){return n.apply(this,arguments)}}();"zh-TW"===Mn&&n()}),[$n.cityId]),(0,s.useEffect)((function(){if(Vn&&Number(Vn)>0){var n=(0,p.f)(Dn,Vn);An.push(n)}}),[Vn]),(0,s.useEffect)((function(){(!Se||Se.length<1)&&Ne>0&&Un(1)}),[null===Se||void 0===Se?void 0:Se.length]),(0,s.useEffect)((function(){document.documentElement.classList.toggle("noscroll",Ln)}),[Ln]),(0,s.useEffect)((function(){(0,A.DW)(An.query)}),[qn.lat,qn.lng]),(0,s.useEffect)((function(){var n=navigator.userAgent.toLowerCase().indexOf("firefox")>-1;wn||n||"CURRENT"===rn&&"permissions"in navigator&&navigator.permissions.query({name:"geolocation"}).then((function(n){"prompt"===n.state&&In(!0),n.addEventListener("change",(function(){In("prompt"===n.state)}))}))}),[rn,wn]),(0,s.useEffect)((function(){return Zn(Sn)}),[En,$n.cityId]);var Le=null===Q||void 0===Q?void 0:Q.find((function(n){var e;return n.slug===(null===(e=Cn.slug)||void 0===e?void 0:e[2])})),He=(0,s.useMemo)((function(){return pn?decodeURIComponent(pn):""}),[pn,Q]),je=(0,s.useMemo)((function(){var n="page.title.search",e="home.seoDescription";if(ae)switch(on){case"DOCTOR":n="pageType.doctorSpecialty.title",e="pageType.doctorSpecialty.description";break;case"HOSPITAL":n="pageType.hospitalSpecialty.title",e="pageType.hospitalSpecialty.description";break;case"SERVICE":Pe&&(n="pageType.service.title",e="pageType.service.description")}return re&&"id-ID"===Mn?{titleSeo:vn.titleSeo,descSeo:vn.descSeo}:{titleSeo:Nn({id:n},{specialty:(null===Le||void 0===Le?void 0:Le.name)||"",city:(null===ae||void 0===ae?void 0:ae.name)||"",serviceName:Pe}),descSeo:Nn({id:e},{specialty:(null===Le||void 0===Le?void 0:Le.name)||"",city:(null===ae||void 0===ae?void 0:ae.name)||"",serviceName:Pe})}}),[ae,on,Pe,re]),Re=je.titleSeo,Ve=je.descSeo,Ue=(0,s.useMemo)((function(){return"doctor"===Ce?Nn({id:"searchComponent.search.placeholder.doctor",defaultMessage:"Search by doctor name"}):"hospital"===Ce?Nn({id:"searchComponent.search.placeholder.hospital",defaultMessage:"Search by hospital name"}):""}),[Ce]),Ge=(0,s.useMemo)((function(){return c.C9.includes(Mn)?["service","specialty"]:yn===z.u3o.GSK?["doctor","service","specialty"]:yn===z.u3o.MSD?["service","specialty"]:[]}),[yn,Mn]),qe=(0,s.useMemo)((function(){return yn===z.u3o.GSK||yn===z.u3o.MSD}),[yn]),Ke="CURRENT"!==rn&&V?x({url:Z,seoTitle:Re,seoDesc:Ve,searchType:on,footerInfo:hn,searchData:{doctors:"DOCTOR"===on?null===V||void 0===V?void 0:V._data.searches:[],hospitals:"HOSPITAL"===on?null===V||void 0===V?void 0:V._data.searches:[],services:"SERVICE"===on?null===V||void 0===V?void 0:V._data.searches:[]},cityInfo:ln||void 0,specialty:Le,f:Nn}):void 0;return(0,l.FD)(l.FK,{children:[Tn&&(0,l.Y)(W.eX,{onCloseClick:function(){return In(!1)},showCloseButton:!1}),(0,l.Y)(dn.K,{title:Re,description:Ve,image:re&&"id-ID"===Mn?vn.imageSeoGsk:z.ElQ[Mn].HOMEPAGE_IMAGE,SEOData:{isIndexable:!!Ne,hasNoAmp:!0,canonicalUrl:null===Z||void 0===Z?void 0:Z.toLowerCase()},schemaOrg:Ke,isMobile:wn,footerInfo:hn,children:(0,l.FD)("div",{className:an().pSearchPage,children:[(0,l.Y)(D.pv,{"data-gsk":re,className:re?"has-client-sponsored":"",children:re&&(0,l.Y)(M.mc,{className:"container-client-sponsored",children:(0,l.Y)(X,{logo:(0,l.Y)("img",{loading:"lazy",src:"/care/images/LogoGSK.png",alt:"GSK",style:{height:50}})})})}),(0,l.Y)(D.tu,{className:"p-[0px]",children:(0,l.Y)(D.k6,{children:(0,l.Y)(h.n,{isMobile:wn,careApiDomain:"https://health-care.hellohealthgroup.com/",routerPush:An.push,initialSelectedCity:ln,initialSearchValue:He,askForGeolocationPermission:!0,initTypeSearch:re?"hospital":cn||void 0,initSpecialty:bn,onGeoLocationPermissionChange:function(n,e){e&&Kn(e)},gaTrackingSearchBar:{dataEventCategory:"Care",dataEventAction:"Search Click",dataEventLabel:"https://".concat(v.y[Mn]).concat(z.JpE).concat(Dn)},gaTrackingLocationSearch:{dataEventCategory:"Care",dataEventAction:"Change Location Click",dataEventLabel:"https://".concat(v.y[Mn]).concat(z.JpE).concat(Dn)},autoCompleteDisabled:"zh-TW"===Mn,onSearch:"zh-TW"===Mn?function(n){te(!0),Xn(n);var e="string"===typeof Cn.slug?Cn.slug:Cn.slug.join("/");An.push("/".concat(e,"/").concat(n.keyword?"?q=".concat(n.keyword):""))}:void 0,inputSearchPlaceholder:"zh-TW"===Mn?Ue:void 0,onChangeLocation:"zh-TW"===Mn?function(n){te(!0),Xn((0,r.A)((0,a.A)({},$n),{cityId:n.id}))}:void 0,hidePopularSearchKeys:qe,hideSpecialtySelection:re,hideTabBookingSearch:Ge,clientSlug:yn})})}),(0,l.Y)(M.mc,{children:(0,l.FD)("div",{className:an().resultsContainer,children:[(0,l.FD)("div",{className:an().doctors,children:[(0,l.FD)("div",{className:an().filter,children:[(0,l.FD)("div",{className:an().filterWithNotice,children:[(0,l.Y)("h1",{className:_()(an().totalResults),children:Nn({id:Oe||"searchPage.resultsFound",defaultMessage:"{number} results for you"},{number:Ee||0,cityName:(null===ae||void 0===ae?void 0:ae.name)||"",serviceName:" ".concat(Pe," "),specialtyName:le?" ".concat(le.name," "):""})}),wn&&_e&&(0,l.Y)(g.B,{size:"md",color:"ghost",icon:(0,l.Y)(un.A,{}),className:an().filterIcon,"data-event-category":"Care","data-event-action":"Filter Click","data-event-label":"https://".concat(v.y[Mn]).concat(z.JpE).concat(Dn),onClick:function(){Hn(!0)},children:(0,l.Y)(d.T,{size:"base",type:"regular",children:Nn({id:"searchPage.filter",defaultMessage:"Filter"})})})]}),Be]}),Ee>0&&Ne>1&&(0,l.Y)(m.P,{className:an().pagination,pagesAmount:Ne,currentPage:Vn,onClick:function(n){return n.preventDefault()},onChange:function(n){window.scrollTo({top:0,left:0,behavior:"smooth"}),setTimeout((function(){Un(n)}),200)},href:z.kUY?Z:window.location.href}),"zh-TW"===Mn&&(0,l.Y)(d.T,{size:"sm",className:"mt-[8px]",children:Nn({id:"searchResults.messageBox"})})]}),!wn&&(0,l.Y)("div",{className:an().filterRight,children:ze})]})})]})}),oe&&(0,l.Y)(K.z,{token:z.n_},z.n_),(0,l.Y)(J.A,{adUnitPath:Ie,isMobile:xn}),(0,l.Y)(l.FK,{children:wn&&Ln&&ze})]})}},50984:function(n,e,t){"use strict";t.r(e),t.d(e,{__N_SSP:function(){return pe},default:function(){return he}});var i=t(858),a=t(81539),r=t(83776),o=t(2445),l=t(73884),c=t(37597),s=t(27516),d=t(79777),u=t(3365),p=t(40959);function h(n){var e,t,i=n.service,a=n.reviews,r=n.seoTitle,o=n.seoDescription,l=n.ogImagePath,c=n.footerInfo,s=n.f,d="".concat(u.wd).concat(u.VH.SERVICE,"/").concat(i.slug,"-").concat(i.id),h="".concat(d,"/#itempage"),g="".concat(d,"/#breadcrumb"),m="".concat(d,"/#product"),f={"@id":h,"@type":"ItemPage",url:"".concat(d,"/"),inLanguage:u.Np,name:r,isPartOf:{"@id":u.vq},description:o,breadcrumb:{"@id":g}},v={"@id":m,"@type":"Product",name:r,description:i.description,url:"".concat(d,"/"),mainEntityOfPage:{"@id":h},image:l,offers:{"@type":"Offer",offeredBy:{"@type":"Organization",name:i.hospitalBranch.name},areaServed:(null===(e=i.hospitalBranch.city)||void 0===e?void 0:e.name)||i.hospitalBranch.address||u.jF[p.HgX],priceCurrency:u.UM[p.HgX],price:i.price,availability:"https://schema.org/InStock",potentialAction:{"@type":"ReserveAction",target:{"@type":"EntryPoint",urlTemplate:"".concat(d,"/"),actionPlatform:["http://schema.org/DesktopWebPlatform","http://schema.org/MobileWebPlatform"]}}}};a&&a.length&&(v.review=a.map((function(n){var e,t;return{"@type":"Review",reviewBody:n.feedback,reviewRating:{"@type":"Rating",ratingValue:n.rate.toString()},datePublished:n.createdAt,author:{"@type":"Person",name:(null===(e=n.booking)||void 0===e||null===(t=e.patient)||void 0===t?void 0:t.name)||"Anonymous patient"}}}))),i.rating&&(v.aggregateRating={"@type":"AggregateRating",ratingValue:i.rating.toString(),ratingCount:i.totalReviews});var b=[f,(0,u.xt)(d,"page.title.search",[{name:i.name,url:"".concat(d,"/"),isItemPage:!0}],s),v];return(null===(t=i.faqs)||void 0===t?void 0:t.length)&&b.push((0,u.lc)(i.faqs)),(0,u.oU)(b,c)}var g=t(84091),m=t(19475),f=t(48403),v=t(76013),b=t(66298),y=t(88491),k=t(73419),x=t(58638),w=t(35507),A=t(72946),C=t(6442),_=t(91266),M=t(36259),D=t(13034),Y=t(70931),E=t(98310),N=t.n(E),S=t(3045),F=t(20607),T=t(95380),I=t(49758),z=t(7449),B=t(75072),P=t(53513),O=t(63538),L=t(24537),H=t(50970),j=t(35291),R=t(10333),V=t(94334),U=t(27317),G=t(55550),q=t(44410);function K(){var n=(0,L.A)(["\n display: flex;\n flex-direction: column;\n gap: 24px;\n margin-bottom: 24px;\n\n "," {\n margin-bottom: 0;\n }\n\n &.sticky-booking-card {\n }\n\n &.sticky-booking-card-show {\n position: sticky;\n top: 68px !important;\n z-index: 10;\n\n "," {\n position: fixed;\n top: auto !important;\n bottom: 0;\n bottom: 0;\n right: 16px;\n left: 16px;\n }\n\n .sticky-booking-show {\n margin-bottom: 24px;\n "," {\n background: ",";\n margin-bottom: 0;\n\n .service-name {\n display: none;\n }\n .service-info {\n padding: 8px 16px 16px 16px;\n border-top: 1px solid\n ",";\n background: ",";\n border-radius: 0;\n }\n }\n }\n }\n\n "," {\n position: initial;\n\n .ad-container {\n display: none;\n }\n }\n\n "," {\n position: initial;\n\n .ad-container {\n display: none;\n }\n }\n"]);return K=function(){return n},n}function W(){var n=(0,L.A)(["\n border-radius: 6px;\n background: ",";\n padding: 12px;\n display: flex;\n flex-direction: column;\n gap: 16px;\n transition: display 4s ease-in-out;\n\n &.sticky-booking-hide {\n display: none;\n }\n\n &.sticky-booking-show {\n display: flex;\n\n "," {\n padding: 0;\n }\n }\n\n "," {\n margin-left: -16px;\n margin-right: -16px;\n border-radius: 0;\n }\n\n .service-name {\n color: ",";\n font-size: 18px;\n font-weight: 600;\n line-height: 28px;\n\n "," {\n font-size: 16px;\n line-height: 24px;\n }\n }\n\n .service-info {\n border-radius: 8px;\n background: ",";\n padding: 16px;\n display: flex;\n flex-direction: column;\n gap: 16px;\n }\n\n .service-info-item {\n gap: 8px;\n display: flex;\n\n svg {\n margin-top: 2px;\n flex: 0 0 16px;\n }\n }\n\n .service-info-item-text {\n color: ",";\n font-size: 16px;\n font-weight: 400;\n line-height: 24px;\n\n "," {\n font-size: 14px;\n line-height: 22px;\n }\n }\n\n .service-info-content {\n display: flex;\n flex-direction: column;\n gap: 4px;\n }\n\n .service-info-footer {\n display: flex;\n flex-direction: column;\n gap: 8px;\n }\n\n .service-info-btn {\n .btn-buy {\n width: 100%;\n }\n &.service-info-btn-sticky {\n "," {\n width: 100%;\n padding: 12px 16px;\n position: fixed;\n z-index: 201;\n bottom: 0;\n left: 0;\n background: ",";\n border-top: 1px solid\n ",";\n box-shadow: 0px 10px 16px 0px rgba(0, 0, 0, 0.04),\n 0px 2px 8px 0px rgba(0, 0, 0, 0.04),\n 0px 0px 1px 0px rgba(0, 0, 0, 0.04);\n }\n }\n }\n"]);return W=function(){return n},n}function J(){var n=(0,L.A)([""]);return J=function(){return n},n}var Z=U.Ay.div.withConfig({componentId:"sc-799a5fa9-0"})(K(),q.M.mbDown,q.M.mbDown,q.M.mbDown,(function(n){return n.theme.colors.white}),(function(n){return n.theme.colors.neutral100}),(function(n){return n.theme.colors.white}),q.M.tdDown,q.M.mbDown),Q=U.Ay.div.withConfig({componentId:"sc-799a5fa9-1"})(W(),(function(n){return n.theme.colors.blue50}),q.M.mbDown,q.M.mbDown,(function(n){return n.theme.colors.gray800}),q.M.mbDown,(function(n){return n.theme.colors.white}),(function(n){return n.theme.colors.gray800}),q.M.mbDown,q.M.mbDown,(function(n){return n.theme.colors.white}),(function(n){return n.theme.colors.neutral50})),$=U.Ay.div.withConfig({componentId:"sc-799a5fa9-2"})(J()),X=t(84620),nn=t(38431),en=t(89363);function tn(){var n=(0,L.A)(["\n body { \n .woot-widget-bubble.woot-widget--expanded {\n bottom: 24px;\n } \n }\n"]);return tn=function(){return n},n}var an=(0,U.DU)(tn()),rn=function(n){var e=n.serviceInfo,t=n.hospitalBranch,i=n.trackingService,a=n.localeHasAd,r=n.adUnitPath,c=n.description,s=n.isStickyBtn,d=n.vouchers,u=n.handleBookingPackage,h=(0,C.A)().formatMessage,m=(0,k.$)().locale,f=(0,y.d)().isMobile,v=(0,x.I)({id:"scroll-top-trigger",heightHeader:f?0:65}).isTopSticky,b=(0,V.m)({serviceInfo:e}),w=(0,l.useRef)(null),A=!(p.KVY?p.czo:p.o8Z).includes(Number(e.id)),_={"data-event-category":null===i||void 0===i?void 0:i.dataEventCategory,"data-event-action":null===i||void 0===i?void 0:i.dataEventAction,"data-event-label":null===i||void 0===i?void 0:i.dataEventLabel},M=function(){u()};return(0,l.useEffect)((function(){var n=document.querySelector(".woot-widget--expanded");if(n&&w)if(v&&s&&f){var e,t=null===w||void 0===w||null===(e=w.current)||void 0===e?void 0:e.clientHeight;n&&t&&(n.style.bottom="".concat(t+10,"px"))}else n.style.bottom="24px"}),[v,s,f,w]),(0,o.FD)(o.FK,{children:[(0,o.Y)(Z,{children:(0,o.FD)("div",{children:[(0,o.FD)(Q,{children:[(0,o.FD)("div",{children:[(0,o.Y)("div",{className:"service-name ".concat(c?"mb-[8px]":""),children:e.name}),c&&(0,o.Y)(H.T,{size:"p4",color:j.w.colors.gray800,children:c})]}),(0,o.FD)("div",{className:"service-info",children:[(0,o.FD)("div",{className:"service-info-content",children:[(0,o.FD)("div",{className:"service-info-item",children:[(0,o.Y)(en.A,{className:"!mt-[4px]"}),(0,o.FD)("div",{className:"service-info-item-text",children:[(0,o.Y)("span",{className:"".concat(e.originalPrice?"text-[#E64728]":"text-[#009E5C]"," font-semibold text-[18px]"),children:(0,g.UN)(e.price,m)}),"\xa0\xa0",e.originalPrice&&(0,o.Y)("span",{className:"text-[#595959] text-[14px] line-through",children:(0,g.UN)(e.originalPrice,m)})]})]}),(0,o.FD)("div",{className:"service-info-item",children:[(0,o.Y)(X.A,{}),(0,o.Y)("div",{className:"service-info-item-text",children:t.name})]}),(0,o.FD)("div",{className:"service-info-item",children:[(0,o.Y)(nn.A,{}),(0,o.Y)("div",{className:"service-info-item-text",children:t.address})]})]}),(0,o.FD)("div",{className:"service-info-footer",children:[(0,o.Y)(G.A,{vouchers:d,allowPaymentMethods:b}),A&&(0,o.Y)("div",{className:"service-info-btn",children:(0,o.Y)(R.B,(0,O.A)((0,P.A)({type:"button",size:"md",className:"btn-buy",onClick:M},_),{children:h({id:"bookingCard.buy.service",defaultMessage:"Buy service"})}))})]})]})]}),(0,o.Y)("div",{id:"scroll-top-trigger",style:{height:"1px",width:"100%"}})]})}),(0,o.Y)(Z,{className:"sticky-booking-card ".concat(v?"sticky-booking-card-show":""),children:(0,o.FD)($,{children:[(0,o.FD)(Q,{className:v&&(s&&f||!f)?"sticky-booking-show":"sticky-booking-hide",ref:w,children:[(0,o.Y)("div",{className:"service-name",children:e.name}),(0,o.FD)("div",{className:"service-info",children:[(0,o.FD)("div",{className:"service-info-content !gap-[8px]",children:[(0,o.Y)(G.A,{vouchers:d,allowPaymentMethods:b,className:"!mb-[0]"}),(0,o.FD)("div",{className:"service-info-item",children:[(0,o.Y)(en.A,{className:"!mt-[4px]"}),(0,o.FD)("div",{className:"service-info-item-text",children:[(0,o.Y)("span",{className:"".concat(e.originalPrice?"text-[#E64728]":"text-[#009E5C]"," font-semibold text-[18px]"),children:(0,g.UN)(e.price,m)}),"\xa0\xa0",e.originalPrice&&(0,o.Y)("span",{className:"text-[#595959] text-[14px] line-through",children:(0,g.UN)(e.originalPrice,m)})]})]})]}),A&&(0,o.Y)("div",{className:"service-info-footer",children:(0,o.Y)("div",{className:"service-info-btn",children:(0,o.Y)(R.B,(0,O.A)((0,P.A)({type:"button",size:"md",className:"btn-buy",onClick:M},_),{children:h({id:"bookingCard.buy.service",defaultMessage:"Buy service"})}))})})]})]}),a&&(0,o.Y)(F.z,{className:"ad-container",adUnitPath:r||"",divId:"ad-service-desktop-top-banner",pos:["TopBanner"],adDefaultSize:[300,250],size:[[300,250],[300,600]],customTargetings:{Service_ID:[e.id]}})]})}),f&&(0,o.Y)(an,{})]})},on=t(57656);function ln(){var n=(0,L.A)(["\n padding-left: 0;\n margin-bottom: 16px;\n margin-top: 16px;\n width: 100%;\n\n "," {\n margin-bottom: 24px;\n margin-top: 0;\n }\n\n p[data-size='sm'] {\n font-weight: 600;\n font-size: 14px;\n line-height: 22px;\n letter-spacing: -0.2px;\n }\n [data-is-tab-active] {\n cursor: default;\n }\n"]);return ln=function(){return n},n}var cn=(0,U.Ay)(c.T).withConfig({componentId:"sc-737c4428-0"})(ln(),q.M.tdUp),sn=t(57077);function dn(){var n=(0,L.A)(["\n --image-height: 380px;\n "," {\n --image-height: 240px;\n margin: 0 -16px;\n }\n position: relative;\n height: var(--image-height);\n margin-top: 22px;\n border-radius: 6px;\n\n .container {\n overflow: hidden;\n }\n\n img {\n width: 100%;\n height: var(--image-height);\n border-radius: 8px;\n object-fit: cover;\n }\n\n .arrow-right {\n cursor: pointer;\n right: 8px;\n }\n\n .arrow-left {\n cursor: pointer;\n left: 8px;\n }\n\n "," {\n .bullet-nav {\n left: unset;\n right: 16px;\n bottom: 16px;\n }\n }\n\n "," {\n .bullet-nav {\n bottom: 14px;\n }\n }\n"]);return dn=function(){return n},n}function un(){var n=(0,L.A)(["\n .main-info {\n display: flex;\n gap: 16px;\n\n "," {\n gap: 8px;\n flex-direction: column;\n }\n\n .logo {\n width: 140px;\n height: 140px;\n position: relative;\n margin-top: -30px;\n\n "," {\n width: 80px;\n height: 80px;\n margin-top: -40px;\n }\n\n img {\n background-color: white;\n border-radius: 50%;\n width: 100%;\n height: 100%;\n object-fit: contain;\n box-shadow: 0px 2px 2px rgb(0 0 0 / 7%), 0px 4px 7px rgb(0 0 0 / 15%);\n }\n }\n\n .info {\n "," {\n margin-top: 24px;\n }\n flex: 1;\n\n & + p {\n flex: 1;\n }\n\n .address {\n display: flex;\n gap: 4px;\n color: ",";\n\n > p {\n flex: 1;\n }\n\n .address-icon {\n margin-top: 2px;\n width: 16px;\n height: 16px;\n }\n\n address {\n display: inline;\n }\n\n .dots {\n display: inline-flex;\n margin: 0 0.5rem;\n vertical-align: middle;\n }\n }\n }\n\n .main-info-service-name {\n margin: 0;\n font-size: 22px;\n line-height: 32px;\n letter-spacing: -0.6px;\n }\n }\n"]);return un=function(){return n},n}function pn(){var n=(0,L.A)(["\n display: flex;\n gap: 20px;\n margin-top: 5px;\n\n "," {\n gap: 12px;\n flex-direction: column;\n margin-top: 8px;\n }\n\n .pricing {\n width: auto;\n }\n"]);return pn=function(){return n},n}var hn=U.Ay.section.withConfig({componentId:"sc-7dad3a94-0"})(dn(),q.M.mbDown,q.M.mbDown,q.M.mbUp),gn=U.Ay.div.withConfig({componentId:"sc-7dad3a94-1"})(un(),q.M.mbDown,q.M.mbDown,q.M.mbUp,(function(n){return n.theme.colors.gray600})),mn=U.Ay.div.withConfig({componentId:"sc-7dad3a94-2"})(pn(),q.M.mbDown),fn=function(n){var e=n.serviceInfo,t=(0,k.$)().locale,i=e.name,a=e.logoService,r=e.images;return r&&r.length?(0,o.FD)(gn,{children:[(0,o.Y)(hn,{children:(0,o.Y)(c.S,{column:1,row:1,isDotsShown:r.length>1,type:"separated",mode:"snapped",isArrowShown:!1,children:r.map((function(n){return(0,o.Y)("img",{src:n,alt:n},n)}))})}),(0,o.FD)("div",{className:"main-info wrapper",children:[(0,o.Y)("div",{className:"logo mt-[24px]",children:(0,o.Y)("img",{src:a,alt:"".concat(i," Logo")})}),(0,o.FD)("div",{className:"info",children:[(0,o.Y)(sn.H,{tag:"h1",className:"main-info-service-name",children:i}),(0,o.Y)(mn,{children:(0,o.FD)("div",{className:"flex gap-[4px] items-center",children:[(0,o.Y)(en.A,{}),(0,o.Y)("span",{className:"".concat(e.originalPrice?"text-[#E64728]":"text-[#009E5C]"," font-semibold text-[18px]"),children:(0,g.UN)(null===e||void 0===e?void 0:e.price,t)}),"\xa0",e.originalPrice&&(0,o.Y)("span",{className:"text-[#595959] text-[14px] line-through",children:(0,g.UN)(null===e||void 0===e?void 0:e.originalPrice,t)})]})})]})]})]}):(0,o.Y)(o.FK,{})},vn=t(60304),bn=t(17271),yn=t.n(bn),kn=t(12215),xn=t.n(kn),wn=t(10297),An=t(86680),Cn=function(){return(0,o.FD)("svg",{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,o.Y)("rect",{width:"32",height:"32",rx:"16",fill:"#BCDEFF"}),(0,o.FD)("g",{clipPath:"url(#clip0_20309_113069)",children:[(0,o.Y)("path",{d:"M16 26C15.9405 26 15.881 25.9909 15.8236 25.9728C13.5361 25.2505 11.5776 23.846 10.1596 21.9113C8.74168 19.9764 7.99219 17.6859 7.99219 15.2871V9.32031C7.99219 8.99672 8.25453 8.73438 8.57812 8.73438C10.2705 8.73438 11.8092 7.80641 12.5971 6.31258C12.6985 6.12035 12.898 6 13.1154 6H18.8846C19.102 6 19.3015 6.12031 19.4029 6.31258C20.1908 7.80641 21.7295 8.73438 23.4184 8.73438C23.742 8.73438 24.0078 8.99672 24.0078 9.32031V15.2871C24.0078 17.6859 23.2583 19.9764 21.8404 21.9112C20.4224 23.846 18.4639 25.2504 16.1764 25.9728C16.119 25.9909 16.0595 26 16 26Z",fill:"#2D87F3"}),(0,o.Y)("path",{d:"M23.4184 8.73438C21.7295 8.73438 20.1908 7.80641 19.4029 6.31258C19.3015 6.12031 19.102 6 18.8846 6H16V26C16.0595 26 16.119 25.9909 16.1764 25.9728C18.4639 25.2505 20.4224 23.846 21.8404 21.9113C23.2583 19.9764 24.0078 17.6859 24.0078 15.2871V9.32031C24.0078 8.99672 23.742 8.73438 23.4184 8.73438Z",fill:"#2B62CD"}),(0,o.Y)("path",{d:"M16 23.5071C15.9233 23.5071 15.8466 23.4921 15.7745 23.462C12.4707 22.0843 10.3359 18.8755 10.3359 15.2872V11.29C10.3359 11.037 10.4984 10.8125 10.7389 10.7334C11.9825 10.3245 13.0779 9.57262 13.9064 8.55891C14.0177 8.42273 14.1842 8.34375 14.36 8.34375H17.6399C17.8158 8.34375 17.9824 8.42273 18.0936 8.55891C18.9221 9.57277 20.0174 10.3248 21.2611 10.7338C21.5016 10.8129 21.664 11.0373 21.664 11.2904V15.2872C21.664 18.8755 19.5293 22.0843 16.2255 23.462C16.1534 23.492 16.0767 23.5071 16 23.5071Z",fill:"#F7F9FC"}),(0,o.Y)("path",{d:"M21.2612 10.7338C20.0175 10.3248 18.9221 9.57277 18.0937 8.55891C17.9824 8.42273 17.8158 8.34375 17.6399 8.34375H16V23.5071C16.0767 23.5071 16.1534 23.4921 16.2255 23.462C19.5293 22.0843 21.6641 18.8755 21.6641 15.2872V11.2904C21.6641 11.0373 21.5016 10.8129 21.2612 10.7338Z",fill:"white"}),(0,o.Y)("path",{d:"M15.0885 18.3724C14.9386 18.3724 14.7886 18.3152 14.6742 18.2008L12.8513 16.3778C12.6225 16.149 12.6225 15.778 12.8513 15.5492C13.0801 15.3204 13.4511 15.3204 13.6799 15.5492L15.0886 16.9578L18.3201 13.7263C18.5489 13.4975 18.9199 13.4975 19.1487 13.7263C19.3776 13.9551 19.3776 14.3261 19.1487 14.5549L15.5029 18.2008C15.3885 18.3152 15.2385 18.3724 15.0885 18.3724Z",fill:"#2D87F3"})]}),(0,o.Y)("defs",{children:(0,o.Y)("clipPath",{id:"clip0_20309_113069",children:(0,o.Y)("rect",{width:"20",height:"20",fill:"white",transform:"translate(6 6)"})})})]})},_n=function(){return(0,o.FD)("svg",{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,o.Y)("rect",{width:"32",height:"32",rx:"16",fill:"#BCDEFF"}),(0,o.Y)("path",{d:"M24.7086 19.2076L10.9536 21.633C10.1038 21.7829 9.29337 21.2154 9.14353 20.3656L7.62947 11.779C7.47962 10.9292 8.04708 10.1188 8.89689 9.96892L22.6519 7.54353C23.5017 7.39368 24.3121 7.96115 24.462 8.81095L25.976 17.3976C26.1259 18.2474 25.5585 19.0578 24.7086 19.2076Z",fill:"#2D87F3"}),(0,o.Y)("path",{d:"M21.2344 24.4812H7.5625C6.69957 24.4812 6 23.7816 6 22.9187V14.4141C6 13.5511 6.69957 12.8516 7.5625 12.8516H21.2344C22.0973 12.8516 22.7969 13.5511 22.7969 14.4141V22.9187C22.7969 23.7816 22.0973 24.4812 21.2344 24.4812Z",fill:"white"}),(0,o.Y)("path",{d:"M21.2344 12.8516H14.3984V24.4812H21.2344C22.0973 24.4812 22.7969 23.7816 22.7969 22.9187V14.4141C22.7969 13.5511 22.0973 12.8516 21.2344 12.8516Z",fill:"#F7F9FC"}),(0,o.Y)("path",{d:"M6 15.5098H22.7969V18.168H6V15.5098Z",fill:"#91CAFF"}),(0,o.Y)("path",{d:"M10.6504 21.9004H7.99219C7.66859 21.9004 7.40625 22.1627 7.40625 22.4863C7.40625 22.8099 7.66859 23.0723 7.99219 23.0723H10.6504C10.974 23.0723 11.2363 22.8099 11.2363 22.4863C11.2363 22.1627 10.974 21.9004 10.6504 21.9004Z",fill:"#91CAFF"})]})},Mn=t(83439);function Dn(){var n=(0,L.A)(["\n "," {\n padding-top: 16px;\n }\n"]);return Dn=function(){return n},n}function Yn(){var n=(0,L.A)(["\n hr {\n margin: 24px 0;\n }\n\n h4 {\n "," {\n margin-bottom: 8px;\n }\n\n "," {\n margin-bottom: 6px;\n }\n }\n"]);return Yn=function(){return n},n}function En(){var n=(0,L.A)(["\n margin-bottom: 32px;\n"]);return En=function(){return n},n}function Nn(){var n=(0,L.A)(["\n margin-top: 8px;\n margin-bottom: 12px;\n line-height: 24px;\n"]);return Nn=function(){return n},n}function Sn(){var n=(0,L.A)(["\n color: #262626;\n margin-bottom: 21px;\n\n "," {\n font-size: 16px;\n line-height: 24px;\n }\n\n p {\n margin-bottom: 16px;\n margin-top: 8px;\n }\n ol,\n ul {\n list-style: unset;\n padding-left: 16px;\n margin-bottom: 16px;\n }\n li {\n list-style: unset;\n + li {\n margin-top: 4px;\n }\n }\n b,\n strong {\n font-weight: 600;\n }\n\n em {\n font-style: italic;\n }\n"]);return Sn=function(){return n},n}function Fn(){var n=(0,L.A)(["\n display: flex;\n justify-content: space-between;\n margin-top: 24px;\n"]);return Fn=function(){return n},n}function Tn(){var n=(0,L.A)(["\n border: 1px solid var(--neutral100);\n padding: 16px 16px 12px;\n border-radius: 8px;\n\n section > [role='region']:last-child button {\n --border-style: none;\n }\n"]);return Tn=function(){return n},n}function In(){var n=(0,L.A)(["\n display: flex;\n flex-wrap: wrap;\n gap: 16px;\n"]);return In=function(){return n},n}function zn(){var n=(0,L.A)(["\n display: flex;\n align-items: center;\n gap: 8px;\n margin-top: 28px;\n margin-bottom: 16px;\n"]);return zn=function(){return n},n}var Bn=U.Ay.div.withConfig({componentId:"sc-f86f929b-0"})(Dn(),q.M.mbDown),Pn=U.Ay.div.withConfig({componentId:"sc-f86f929b-1"})(Yn(),q.M.mbDown,q.M.mbUp),On=(0,U.Ay)(Mn.X).withConfig({componentId:"sc-f86f929b-2"})(En()),Ln=((0,U.Ay)(H.T).withConfig({componentId:"sc-f86f929b-3"})(Nn()),U.Ay.section.withConfig({componentId:"sc-f86f929b-4"})(Sn(),q.M.mbUp)),Hn=U.Ay.div.withConfig({componentId:"sc-f86f929b-5"})(Fn()),jn=U.Ay.div.withConfig({componentId:"sc-f86f929b-6"})(Tn()),Rn=U.Ay.section.withConfig({componentId:"sc-f86f929b-7"})(In()),Vn=U.Ay.div.withConfig({componentId:"sc-f86f929b-8"})(zn());function Un(){var n=(0,L.A)(["\n --list-item-spacing: 8px;\n"]);return Un=function(){return n},n}function Gn(){var n=(0,L.A)(["\n "," {\n column-count: 2;\n gap: var(--list-item-spacing);\n }\n "]);return Gn=function(){return n},n}function qn(){var n=(0,L.A)(["\n ","\n"]);return qn=function(){return n},n}function Kn(){var n=(0,L.A)(["\n list-style-type: disc;\n margin-left: 16px;\n color: var(--gray800) + li {\n margin-top: var(--list-item-spacing);\n }\n"]);return Kn=function(){return n},n}function Wn(){var n=(0,L.A)(["\n white-space: pre-line;\n margin: 8px 0;\n"]);return Wn=function(){return n},n}var Jn=U.Ay.section.withConfig({componentId:"sc-8eba195c-0"})(Un()),Zn=U.Ay.ul.withConfig({componentId:"sc-8eba195c-1"})(qn(),(function(n){return n.hasMultipleColumns&&(0,U.AH)(Gn(),q.M.mbUp)})),Qn=U.Ay.li.withConfig({componentId:"sc-8eba195c-2"})(Kn()),$n=(0,U.Ay)(H.T).withConfig({componentId:"sc-8eba195c-3"})(Wn()),Xn=function(n){var e=n.services,t=n.detail,i=n.className,a=(0,C.A)().formatMessage;return(0,o.FD)(Jn,{className:i,children:[t&&(0,o.FD)(o.FK,{children:[(0,o.Y)(vn.a,{type:"bold",color:"#284a75",as:"h2",children:a({id:"service.serviceDetail.title",defaultMessage:"Service detail"})}),(0,o.Y)($n,{color:"var(--gray800)",size:"p2",children:t})]}),(0,o.Y)(Zn,{hasMultipleColumns:e.length>10,children:e.map((function(n,e){return(0,o.Y)(Qn,{children:(0,o.Y)(H.T,{color:"var(--gray800)",size:"p2",children:n})},"".concat(n,"-").concat(e))}))})]})},ne=function(n){var e,t,i,a,r,c=n.serviceInfo,s=n.hospitalBranch,d=(0,wn.useRouter)().locale,u=void 0===d?"vi-VN":d,h=(0,y.d)().isMobile,g=(0,C.A)().formatMessage,b=(0,l.useMemo)((function(){var n=c.description.split("\n"),e=0,t=n.findIndex((function(n){if(n.trim().length>0&&e++,2===e)return!0}));return-1===t?[n.join("\n").replace(/\n/g,"
")]:[n.slice(0,t+1).join("\n").replace(/\n/g,"
"),n.slice(t+1).join("\n").replace(/\n/g,"
")]}),[c.description]),k=(0,l.useState)(),x=k[0],w=k[1];(0,l.useEffect)((function(){xn().get(p.OK8)&&navigator.geolocation.getCurrentPosition((function(n){var e={lat:"".concat(Math.round(1e7*n.coords.latitude)/1e7),lng:"".concat(Math.round(1e7*n.coords.longitude)/1e7)},t={lat:s.latitude,lon:s.longitude};w(yn()(t,e,{exact:!1,unit:"km"}))}))}),[]);var A=(0,Y.oq)({locale:u,isMobile:h,contentAdTag:"Hospital"});return(0,o.FD)(Bn,{children:[(0,o.FD)(Pn,{children:[(0,o.Y)(vn.a,{as:"h2",className:"mb-[12px]",color:j.w.colors.secondaryBase,children:g({id:"servicePage.about",defaultMessage:"About service"})}),b.map((function(n,e){return(0,o.FD)(l.Fragment,{children:[n&&(0,o.Y)(H.T,{size:"base",children:(0,o.Y)("span",{dangerouslySetInnerHTML:{__html:n}})}),h&&0===e&&(0,o.Y)(F.z,{className:"ad-container",adUnitPath:A,size:[[320,100],[300,250]],divId:"ad-service-mobile-top-banner",pos:["TopBanner"],adDefaultSize:[320,100],customTargetings:{Service_ID:[c.id]},style:{paddingBottom:24,marginTop:16,marginBottom:-16}})]},e)})),c.preparation&&(0,o.FD)(o.FK,{children:[(0,o.Y)(vn.a,{type:"bold",color:"#284a75",as:"h2",style:{marginTop:24,marginBottom:8},children:g({id:"admin.serviceForm.preparation",defaultMessage:"Preparation"})}),(0,o.Y)(Ln,{dangerouslySetInnerHTML:{__html:c.preparation}})]}),c.subServices&&(0,o.Y)(Xn,{services:c.subServices,detail:c.detail}),c.discoverArticleIds&&c.discoverArticleIds.length>0&&(0,o.Y)(f.Vw,{discoverArticlesIds:c.discoverArticleIds}),(0,o.Y)(vn.a,{as:"h2",className:"mb-[12px]",color:j.w.colors.secondaryBase,style:{marginTop:24,marginBottom:8},children:g({id:"servicePage.location",defaultMessage:"Hospital details"})}),(0,o.Y)(v.T5,{hospital:s,isFullWidth:!1,distance:x}),h&&!!(c.description.length&&c.preparation&&c.detail)&&(0,o.Y)(F.z,{className:"ad-container",adUnitPath:A,size:[[320,100],[300,250]],divId:"ad-service-mobile-mid-banner1",pos:["MidBanner1"],adDefaultSize:[320,100],customTargetings:{Service_ID:[c.id]},style:{paddingBottom:24}}),!!s.insurances.length&&(0,o.FD)(o.FK,{children:[(0,o.Y)(m.cK,{icon:(0,o.Y)(Cn,{}),title:g({id:"doctorPage.inNetworkInsurance",defaultMessage:"In-network Insurance"}),style:{marginTop:24,marginBottom:8}}),(0,o.Y)(H.T,{size:"base",className:"mb-[16px]",children:g({id:"doctorPage.insuranceIntro",defaultMessage:"All providers on HHG are required to accurately list in-network plans. If any coverage issues occur, our Service team will help advocate for you with the provider."})}),(0,o.Y)(On,{insurances:s.insurances})]})]}),c.hospitalBranch.workingHours&&(0,o.Y)(f.KL,{days:c.hospitalBranch.workingHours,emergencyHours:c.hospitalBranch.emergencyHours}),(null===c||void 0===c||null===(e=c.hospitalBranch)||void 0===e?void 0:e.acceptedPayments)&&(null===c||void 0===c||null===(t=c.hospitalBranch)||void 0===t||null===(i=t.acceptedPayments)||void 0===i?void 0:i.length)>0&&(0,o.FD)(o.FK,{children:[(0,o.FD)(Vn,{children:[(0,o.Y)(_n,{}),(0,o.Y)(sn.H,{as:"h2",tag:"h6",color:"var(--secondaryDark)",children:g({id:"service.acceptedPaymentMethods",defaultMessage:"Accepted payment methods"})})]}),(0,o.Y)(Rn,{children:null===c||void 0===c||null===(a=c.hospitalBranch)||void 0===a||null===(r=a.acceptedPayments)||void 0===r?void 0:r.map((function(n){return(0,o.FD)(An.NJ,{children:[(0,o.Y)("div",{className:"logo",style:{width:"106px"},children:(0,o.Y)("img",{src:n.logo,alt:"".concat(n.name," Logo"),loading:"lazy"})}),(0,o.Y)(H.T,{size:"n1",children:n.name})]},n.id)}))})]}),(null===c||void 0===c?void 0:c.faqs)&&(null===c||void 0===c?void 0:c.faqs.length)>0&&(0,o.FD)(o.FK,{children:[(0,o.Y)(Hn,{children:(0,o.Y)(vn.a,{as:"h2",className:"mb-[12px]",color:j.w.colors.secondaryBase,children:g({id:"landing.faq",defaultMessage:"Frequently Asked Questions"})})}),(0,o.Y)(jn,{children:(0,o.Y)(f.nD,{disableVerticalPadding:!0,content:c.faqs.map((function(n){return{title:n.question,content:n.answer}}))})})]})]})},ee=t(74029),te=t(59850),ie=t(25894);function ae(){var n=(0,L.A)([""]);return ae=function(){return n},n}function re(){var n=(0,L.A)(["\n margin-top: 24px;\n"]);return re=function(){return n},n}var oe=U.Ay.div.withConfig({componentId:"sc-69a3c97f-0"})(ae()),le=(0,U.Ay)(ie.X).withConfig({componentId:"sc-69a3c97f-1"})(re()),ce=t(64706),se=function(n){var e=n.serviceInfo,t=n.serviceRatingDetails,c=n.serviceReviews,s=(0,l.useState)(null),d=s[0],u=s[1],h=(0,l.useState)(c),m=h[0],f=h[1],v=function(){var n=(0,i.A)((function(n){var t,i,a;return(0,r.__generator)(this,(function(r){switch(r.label){case 0:return u(n),t=p.W86[n.value],[4,(0,g.px)((0,g.er)(te.R.GET_REVIEW_LIST),"GET",{params:(0,P.A)({hospital_service_id:e.id},t)}).then((function(n){return null===n||void 0===n?void 0:n._data}))];case 1:return(i=r.sent())&&(a=(0,ee.AM)(i),f(a)),[2]}}))}));return function(e){return n.apply(this,arguments)}}(),b=function(){var n=(0,i.A)((function(n,t){var i,o,l;return(0,r.__generator)(this,(function(r){switch(r.label){case 0:return i=p.W86[t.value],[4,(0,g.px)((0,g.er)(te.R.GET_REVIEW_LIST),"GET",{params:(0,O.A)((0,P.A)({hospital_service_id:e.id},i),{page:n})}).then((function(n){return null===n||void 0===n?void 0:n._data}))];case 1:return(o=r.sent())&&(l=(0,ee.AM)(o),f((function(n){return{reviews:(0,a.A)(n.reviews).concat((0,a.A)(l.reviews)),pagination:l.pagination}}))),[2]}}))}));return function(e,t){return n.apply(this,arguments)}}();return(0,o.FD)(oe,{children:[t&&(0,o.Y)(ce.e,{ratingPoint:t.rating,ratingScale:p.Efn,reviewCounting:t.totalReviews,percent5Stars:(0,g.Au)(t.rating5Stars,t.totalReviews),percent4Stars:(0,g.Au)(t.rating4Stars,t.totalReviews),percent3Stars:(0,g.Au)(t.rating3Stars,t.totalReviews),percent2Stars:(0,g.Au)(t.rating2Stars,t.totalReviews),percent1Star:(0,g.Au)(t.rating1Star,t.totalReviews)}),(0,o.Y)(le,{reviews:m.reviews,totalReview:m.pagination.totalItems,onChangeSortOption:v,onGetAllReviews:b,sortOption:d,pagination:m.pagination})]})},de=t(28171),ue="info",pe=!0,he=function(n){var e,t,u,E=n.serviceInfo,P=n.serviceUrl,O=n.serviceRatingDetails,L=n.serviceReviews,H=n.footerInfo,j=n.navMenuContent,R=n.seoConfig,V=(0,C.A)().formatMessage,U=(0,B.X)({type:"service",maxDays:30,infoId:E.id,bufferTime:E.bufferTime}),G=U.loading,q=U.schedules,K=U.chosenDate,W=U.firstDayHasSlot,J=U.setChosenDate,Z=U.pickerSelected,Q=U.onChangePicker,$=U.rangeDaysPicked,X=(0,A.o)().isValidOnboarding,nn=(0,l.useRef)(null),en=(0,x.b)(),tn=en.isSticky,an=en.scrollTriggerEl,ln=(0,k.$)(),sn=ln.query.utm_content,dn=void 0===sn?"":sn,un=ln.locale,pn=void 0===un?"vi-VN":un,hn=ln.push,gn=ln.query,mn=gn.source,vn=gn.slug,bn=gn.tabSlug,yn=ln.asPath,kn="my-booking"===mn;(null===E||void 0===E||null===(e=E.client)||void 0===e?void 0:e.name)===p.u3o.ROCHE?(0,w.n)(p.Z6P.ROCHE,V({id:"chatwoot.roche.title",defaultMessage:"T\u01b0 v\u1ea5n v\u1edbi chuy\xean gia"})):(0,w.n)();var xn=!!E.organization.publishReviews,wn=(null===bn||void 0===bn?void 0:bn[0])||(Array.isArray(vn)&&vn.length>2?null===vn||void 0===vn?void 0:vn[2]:ue),An=[{value:"info",label:V({id:"doctor.tabs.generalInfo",defaultMessage:"General info"})}].concat((0,a.A)(xn?[{value:"reviews",label:V({id:"doctor.tabs.reviews",defaultMessage:"Reviews ({totalReviews})"},{totalReviews:L.pagination.totalItems})}]:[])),Cn=(0,l.useCallback)((function(n){var e,t=(null===(e=An[n])||void 0===e?void 0:e.value)||ue,i=(0,D.KY)((null===bn||void 0===bn?void 0:bn[0])===wn||vn.includes(wn)?yn.replace("/".concat(wn,"/"),"/".concat(t,"/")):kn?yn.replace("/".concat(vn,"/"),"/".concat(vn,"/").concat(t)):"".concat(yn,"/").concat(t));hn(i,void 0,{shallow:!0})}),[An,wn,vn,yn]),_n=(0,l.useContext)(M.B).state.isLoggedIn,Mn=(0,y.d)(),Dn=Mn.isMobile,Yn=Mn.isMobileOrTablet,En=E.hospitalBranch,Nn=function(){var n=(0,i.A)((function(){var n,e,t,i,a;return(0,r.__generator)(this,(function(r){return t="?serviceId=".concat(E.id),i="/booking/service/".concat(t),dn&&(null===E||void 0===E||null===(n=E.client)||void 0===n?void 0:n.name)===p.u3o.ROCHE&&(i+="&utm_content=".concat(dn)),_n&&X||E.package&&(null===E||void 0===E?void 0:E.client)&&(null===E||void 0===E||null===(e=E.client)||void 0===e?void 0:e.name)===p.u3o.ROCHE?ln.push(i):p.dXu?d.u.getState().triggerCareEmailPhoneVerify({returnUrl:"".concat(p.JpE).concat(i),source:"care_onboarding"}):(a=(0,g.sT)("".concat(p.JpE).concat(i),"care_onboarding"),window.location.href=a),[2]}))}));return function(){return n.apply(this,arguments)}}(),Sn=(0,l.useMemo)((function(){return R.title?R.title:V({id:"service.seoTitle",defaultMessage:"{serviceName} - {hospitalName}"},{serviceName:E.name,hospitalName:En.name})}),[R]),Fn=(0,l.useMemo)((function(){return R.description?R.description:V({id:"service.seoDescription",defaultMessage:"Book {serviceName} at {hospitalName} in {city} instantly. See available appointment times, reviews & prices."},{serviceName:E.name,hospitalName:En.name,city:En.city.name})}),[R]),Tn=(0,l.useMemo)((function(){return R.image?R.image:(0,z.PN)(null===E||void 0===E?void 0:E.id,"service",pn)}),[R,null===E||void 0===E?void 0:E.id]),In=(0,l.useMemo)((function(){var n;return(null===E||void 0===E||null===(n=E.client)||void 0===n?void 0:n.name)!==p.u3o.ROCHE?{}:{dataEventCategory:"Service Connection",dataEventAction:"Add to Cart Click",dataEventLabel:"https://".concat(s.y[pn]).concat(p.JpE).concat(yn)}}),[null===E||void 0===E||null===(t=E.client)||void 0===t?void 0:t.name]),zn=Y.Uq.includes(pn),Bn=(0,l.useMemo)((function(){return zn&&!(null===E||void 0===E?void 0:E.package)}),[zn,E]),Pn=(0,l.useMemo)((function(){return zn&&!(null===E||void 0===E?void 0:E.package)&&!!(E.description.length&&E.preparation&&E.detail)}),[zn,E]),On=(0,Y.oq)({locale:pn,isMobile:Dn,contentAdTag:"Doctor"}),Ln=(0,o.Y)(rn,{hospitalBranch:E.hospitalBranch,serviceInfo:E,localeHasAd:zn,isStickyBtn:tn,adUnitPath:On,trackingService:In,description:E.price_description||"",handleBookingPackage:Nn,vouchers:E.vouchers}),Hn=(0,o.Y)(v.Ym,{className:N().bookingCard,schedules:q,chosenDate:K,firstDayHasSlot:W,onChangeChosenDate:function(n){J(n)},isLoading:G,onContinueBooking:function(n){var e="?serviceId=".concat(E.id,"&date=").concat((0,b.A)(K,p.cuM),"&scheduleId=").concat(n.schedule_id),t="/booking/service/".concat(e);if(_n&&X)ln.push(t);else if(p.dXu)d.u.getState().triggerCareEmailPhoneVerify({returnUrl:"".concat(p.JpE).concat(t),source:"care_onboarding"});else{var i=(0,g.sT)("".concat(p.JpE).concat(t),"care_onboarding");window.location.href=i}},isMobile:Dn,pickerSelected:Z,onChangePicker:Q,isStickyBtn:tn,rangeDaysPicked:$,type:"service",serviceInfo:E,price:E.price,priceTo:E.priceTo,priceType:E.priceType,serviceId:E.id,isPromotion:E.promotion,bufferTime:null===E||void 0===E?void 0:E.bufferTime,description:E.price_description||"",address:(null===E||void 0===E||null===(u=E.hospitalBranch)||void 0===u?void 0:u.address)||"",adUnitPath:On,showAdTop:Bn,showAdMid:Pn,originalPrice:E.originalPrice||"",vouchers:E.vouchers});return(0,o.FD)(de.K,{title:Sn,description:Fn,image:Tn,isSearchBarDisplay:!1,schemaOrg:h({service:E,reviews:null===L||void 0===L?void 0:L.reviews,seoTitle:Sn,seoDescription:Fn,ogImagePath:Tn,footerInfo:H,f:V}),SEOData:{isIndexable:!!(null===E||void 0===E?void 0:E.status),hasNoAmp:!0,canonicalUrl:(0,D.KY)("".concat(p.JpE).concat(P)),openGraph:{image:Tn}},isMobile:Dn,footerInfo:H,ssrNavMenu:j,children:[(0,o.Y)(S.A,{children:(0,o.Y)(c.B,{size:"md",pages:[{label:"".concat(V({id:"page.title.search",defaultMessage:"Search"})),value:"".concat(p.JpE,"/")},{label:E.name,value:(0,D.KY)("".concat(p.JpE).concat(P))}]})}),(0,o.Y)(m.mc,{children:(0,o.Y)(fn,{serviceInfo:E})}),(0,o.Y)("div",{children:E.images&&E.images.length>0&&(0,o.Y)("div",{className:N().bigDivider})}),(0,o.FD)("div",{className:N().pService,children:[(0,o.FD)(m.mc,{children:[!E.images||!E.images.length&&(0,o.Y)(f.h7,{serviceInfo:E,isMobile:Dn,className:N().doctorDetail}),(0,o.FD)(on.Zg,{children:[(0,o.FD)(on.EQ,{ref:nn,isRightPanelActive:!Yn,children:[Yn&&(0,o.Y)(o.FK,{children:E.package?Ln:q.length?Hn:(0,o.Y)(_.A,{height:500})}),(0,o.Y)(cn,{tabContent:An.map((function(n){return{name:n.label}})),onChange:Cn,initialTab:An.findIndex((function(n){return n.value===wn}))}),"info"===wn&&(0,o.Y)(ne,{serviceInfo:E,hospitalBranch:En}),"reviews"===wn&&(0,o.Y)(o.FK,{children:L.reviews.length?(0,o.Y)(se,{serviceInfo:E,serviceRatingDetails:O,serviceReviews:L}):(0,o.Y)(I.G,{})})]}),!Yn&&(0,o.FD)("div",{className:N().bookingDesktop,"data-is-loading":G||void 0,"data-has-ad":zn,children:[E.package?Ln:q.length?Hn:(0,o.Y)(_.A,{height:500}),Bn&&Dn&&(0,o.Y)(on.U7,{style:{flex:2.5,marginBottom:24},children:(0,o.Y)(F.z,{className:"ad-container",adUnitPath:On,size:[[300,250],[300,600]],divId:"ad-service-desktop-top-banner",pos:["TopBanner"],adDefaultSize:[300,250],customTargetings:{Service_ID:[E.id]}})}),Dn&&Pn&&(0,o.Y)(on.U7,{children:(0,o.Y)(F.z,{className:"ad-container",adUnitPath:On,size:[300,250],divId:"ad-service-desktop-mid-banner1",pos:["MidBanner1"],adDefaultSize:[300,250],customTargetings:{Service_ID:[E.id]}})})]}),Dn&&an]})]}),!Dn&&(0,o.Y)(T.A,{divId:"ad-service-desktop-sticky",adUnitPath:On,customTargetings:{Service_ID:[E.id]}})]})]})}},17283:function(n,e,t){"use strict";t.r(e),t.d(e,{__N_SSP:function(){return C}});var i=t(2445),a=t(7367),r=t(73884),o=t(91291),l=t(57077),c=t(27516),s=t(19475),d=t(48403),u=t(79151),p=t(77961),h=t(73419),g=t(53100),m=t(40959),f=t(12215),v=t.n(f),b=t(6442),y=t(36259),k=t(81741),x=t.n(k),w=t(50470),A=t(28171),C=!0;e.default=function(n){var e=n.specialties,t=n.canonicalUrl,f=n.searchKeywords,k=n.footerInfo,C=n.navMenuContent,_=(0,h.$)(),M=_.locale,D=void 0===M?"vi-VN":M,Y=_.asPath,E=(0,r.useContext)(y.B).state.isMobileSsr,N=(0,g.l)().isMobile,S=(0,p.E)(E,N),F=(0,b.A)().formatMessage,T=(0,r.useMemo)((function(){return f?decodeURIComponent(f):""}),[f,e]),I=(0,r.useMemo)((function(){return a.C9.includes(D)?["service","specialty"]:[]}),[D]),z=(0,r.useState)(),B=z[0],P=z[1];return(0,r.useEffect)((function(){var n=v().get("geoLocation"),e={lat:"",lng:""};if(n)try{var t=JSON.parse(n),i=t.lat,a=t.lng;e.lat=i,e.lng=a}catch(r){}P(e)}),[Y]),(0,i.FD)(A.K,{title:F({id:"page.title.specialties",defaultMessage:"Specialties"}),description:F({id:"home.seoDescription",defaultMessage:"Care"}),image:m.ElQ[D].HOMEPAGE_IMAGE,isSearchBarDisplay:!0,SEOData:{isIndexable:!0,hasNoAmp:!0,canonicalUrl:null===t||void 0===t?void 0:t.toLowerCase()},isMobile:S,footerInfo:k,ssrNavMenu:C,children:[(0,i.FD)("div",{className:x().pSpecialties,children:[(0,i.Y)(u.pv,{}),(0,i.Y)(u.tu,{className:"p-[0px]",children:(0,i.Y)(u.k6,{children:(0,i.Y)(o.n,{careApiDomain:"https://health-care.hellohealthgroup.com/",isMobile:S,geoLocationCoordinates:B,geoLocationPermission:(null===B||void 0===B?void 0:B.lat)&&(null===B||void 0===B?void 0:B.lng)?"granted":"unset",initTypeSearch:"specialty",initialSearchValue:T,gaTrackingSearchBar:{dataEventCategory:"Care",dataEventAction:"Search Click",dataEventLabel:"https://".concat(c.y[D]).concat(m.JpE).concat(Y)},autoCompleteDisabled:"zh-TW"===D,hideTabBookingSearch:I})})}),(0,i.FD)(s.mc,{className:x().contentInner,children:[(0,i.Y)(l.H,{as:"h1",tag:"h5",color:"#000",style:S?{margin:"32px 0 12px"}:{margin:"46px 0 20px"},children:F({id:"specialties.allSpecialties",defaultMessage:"All Specialties"})}),(0,i.Y)(d.V4,{columns:3,columnsDesktop:6,specialties:e,gap:"8px",gapDesktop:"32px",isMobile:S})]})]}),"vi-VN"===D?(0,i.Y)(w.z,{token:m.n_},m.n_):(0,i.Y)(i.FK,{})]})}},63376:function(n,e,t){"use strict";t.r(e),t.d(e,{__N_SSP:function(){return G},default:function(){return q}});var i=t(858),a=t(83776),r=t(2445),o=t(73884),l=t(74029),c=t(34767),s=t(19475),d=t(21861),u=t(20864),p=t(77961),h=t(73419),g=t(53100),m=t(40959),f=t(28636),v=t.n(f),b=t(6442),y=t(36259),k=t(39078),x=t(92509),w=t(13034),A=t(26754),C=t(51768),_=t(83784),M=t(18754),D=t(59869),Y=t(42280),E=t(71572),N=t(32485),S=t.n(N),F=t(10905),T=t(41145),I=t(54109),z=t(10813),B=t(34283),P=t(56877),O=t(45295),L=t(18502),H=function(n){var e=n.name,t=n.description,i=n.logo,a=n.link,o=(0,h.$)();return(0,r.Y)("div",{className:"bg-white rounded-2xl p-4 hover:shadow-lg transition-shadow cursor-pointer",onClick:function(){return o.push(a)},children:(0,r.FD)("div",{className:"flex gap-3",children:[(0,r.Y)("div",{className:"flex-1",children:(0,r.FD)("div",{className:"space-y-2",children:[(0,r.Y)(E.T,{size:"h4",fw:600,color:"gray1000",children:e}),(0,r.Y)(E.T,{size:"title2",fw:400,color:"gray700",children:t})]})}),(0,r.Y)("div",{className:"flex-shrink-0 flex-grow-[72px]",children:(0,r.Y)(L.I,{alt:e,src:i||l.__,width:72,height:72,className:"rounded-lg w-[72px] h-[72px]"})})]})})},j=t(89312),R=t(46345),V=t(28171),U=function(n){var e=n.canonicalUrl,t=n.footerInfo,i=n.navMenuContent,a=n.vaccinationDetail,l=n.refetchVaccinationDetail,c=(0,h.$)(),d=c.locale,u=void 0===d?"vi-VN":d,f=(0,b.A)().formatMessage,v=(0,o.useContext)(y.B).state.isMobileSsr,k=(0,g.l)().isMobile,x=(0,p.E)(v,k),A=(0,o.useState)(!1),C=A[0],_=A[1],M=(0,o.useRef)(null),D=(0,I.h)(M),Y=a.logo,N=a.display_name,L=a.contest,U=a.start_time_contest_mode,G=a.end_time_contest_mode,q=a.description,K=a.slug,W=a.id,J=(0,o.useMemo)((function(){return"".concat((0,w.WZ)(m.Hxq.VACCINE,u,""),"/").concat(K,"-").concat(W,"/")}),[u,K,W]),Z=(0,z.A)({contest:!!L,start_time_contest_mode:U,end_time_contest_mode:G}).isContestMode,Q=function(){x?_(!0):(0,O.S)(c,K,W)};return(0,r.Y)(V.K,{title:N,description:q||"",image:m.ElQ[u].HOMEPAGE_IMAGE,isSearchBarDisplay:!0,SEOData:{isIndexable:!0,hasNoAmp:!0,canonicalUrl:null===e||void 0===e?void 0:e.toLowerCase()},isMobile:x,footerInfo:t,ssrNavMenu:i||void 0,children:(0,r.Y)(P._,{className:"pb-[72px] pt-6",children:(0,r.Y)(s.mc,{isFluid:!0,isNewContainer:!0,className:"!pb-8",children:(0,r.FD)("div",{className:"flex gap-6",children:[(0,r.Y)("div",{className:"bg-white p-6 rounded-2xl w-[552px]",children:(0,r.FD)("div",{className:"space-y-6",children:[(0,r.Y)(E.T,{size:"h3",fw:600,color:"gray1000",children:f({id:"userReview.allReviews",defaultMessage:"All Product Review"})}),(0,r.Y)("div",{className:S()({"border border-solid border-blue200 rounded-xl bg-blue50 p-6":!Z}),ref:M,children:(0,r.Y)(j.A,{serviceType:a.service_type,onClickReview:Q,dataTracking:B.Yh.clickWriteReview,contestMode:Z,className:"!border-none !mb-0"})}),(0,r.Y)(R.A,{data:a,refetchList:l,showReviewForm:C,setShowReviewForm:_,isContestMode:Z})]})}),(0,r.Y)("div",{className:"flex-1",children:(0,r.FD)("div",{className:"space-y-3 sticky top-[80px]",children:[(0,r.Y)(H,{name:N,description:q||"",logo:Y||"",link:J}),(0,r.Y)(F.N,{children:D&&(0,r.Y)(T.P.div,{className:S()({"border border-solid border-blue200 rounded-xl bg-blue50 p-6":!Z}),initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},transition:{duration:.2},children:(0,r.Y)(j.A,{serviceType:a.service_type,onClickReview:Q,dataTracking:B.Yh.clickWriteReview,contestMode:Z,className:"!border-none !mb-0"})})})]})})]})})})})},G=!0,q=function(n){var e=n.canonicalUrl,t=n.footerInfo,f=n.navMenuContent,E=n.vaccinationDetail,N=n.isPaymentPage,S=n.isReviewsPage,F=n.paymentResult,T=n.faqsResult,I=(0,h.$)(),z=I.locale,B=void 0===z?"vi-VN":z,P=(0,o.useState)(E),O=P[0],L=P[1],H=E.logo,j=E.display_name,R=E.description,G=E.price,q=E.price_discount,K=E.price_unit,W=E.organization,J=(0,o.useContext)(y.B).state.isMobileSsr,Z=(0,g.l)().isMobile,Q=(0,p.E)(J,Z),$=(0,Y.Jf)(),X=$.paymentResult,nn=$.setVaccinationDetail,en=$.setPaymentResult,tn=(0,b.A)().formatMessage;(0,o.useEffect)((function(){nn(E)}),[E]),(0,o.useMemo)((function(){en(F)}),[F]),(0,o.useEffect)((function(){Q&&I.replace(window.location.href.replace("/reviews",""))}),[Q]);var an=(0,w.oN)(B),rn="".concat(an).concat(e),on="".concat(an).concat((0,w.WZ)(m.Hxq.VACCINE,B)),ln=[{label:tn({id:"detailPage.breadcrumbs.home",defaultMessage:"Home"}),value:an},{label:tn({id:"detailPage.breadcrumbs.vaccinations",defaultMessage:"Vaccination"}),value:on},{label:j,value:rn}],cn={display_name:j,description:R,price:G,price_discount:q,price_unit:K,image:H},sn=[(0,k.J9)(tn({id:"home.discover.seoDescription",defaultMessage:"Care"}),B),(0,k.to)(ln),(0,x.V)(W,rn),(0,x.d)(cn,rn,B),(0,k.wm)((null===T||void 0===T?void 0:T.faq)||[])],dn=(0,k.dS)(sn),un=JSON.stringify(dn),pn=function(){var n=(0,i.A)((function(){var n,e;return(0,a.__generator)(this,(function(t){switch(t.label){case 0:return t.trys.push([0,2,,3]),[4,c.Xx.getVaccinationDetail({id:String(E.id),isV4:!0})];case 1:return n=t.sent(),[2,L((0,l.mQ)(n.vaccine))];case 2:return e=t.sent(),console.error(e),[3,3];case 3:return[2]}}))}));return function(){return n.apply(this,arguments)}}();return S?(0,r.Y)(U,{canonicalUrl:e,footerInfo:t,navMenuContent:f,vaccinationDetail:E,refetchVaccinationDetail:pn}):N?X||F?(0,r.FD)(r.FK,{children:[(0,r.Y)(D.A,{vaccinationDetail:E}),(0,r.Y)(M.A,{vaccinationDetail:E,paymentResult:X||F})]}):(0,r.FD)(r.FK,{children:[(0,r.Y)(D.A,{vaccinationDetail:E}),(0,r.Y)(A.XP,{children:(0,r.Y)(u.DT,{serviceData:E,children:(0,r.Y)(_.A,{vaccinationDetail:E})})})]}):(0,r.FD)(r.FK,{children:[(0,r.Y)(v(),{children:(0,r.Y)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:un}})}),(0,r.Y)(V.K,{title:E.display_name||tn({id:"page.title.vaccination",defaultMessage:"Vaccination"}),description:E.description||tn({id:"home.seoDescription",defaultMessage:"Care"}),image:m.ElQ[B].HOMEPAGE_IMAGE,isSearchBarDisplay:!0,SEOData:{isIndexable:!0,hasNoAmp:!0,canonicalUrl:null===e||void 0===e?void 0:e.toLowerCase()},isMobile:Q,footerInfo:t,ssrNavMenu:f||void 0,children:(0,r.Y)(C._9,{className:"pb-[72px]",children:(0,r.Y)(s.mc,{isFluid:!0,isNewContainer:!0,className:"!pb-8",children:(0,r.FD)(A.XP,{children:[(0,r.Y)(d.A,{className:"hidden md:block py-4",pages:ln}),(0,r.Y)(u.DT,{serviceData:E,children:(0,r.Y)(C.Rn,{refetchVaccinationDetail:pn,vaccinationDetail:O,faqsResult:T},E.id)})]})})})})]})}},80552:function(n,e,t){"use strict";t.r(e),t.d(e,{__N_SSP:function(){return w}});var i=t(2445),a=t(73884),r=t(48894),o=t(13306),l=t(77961),c=t(73419),s=t(53100),d=t(40959),u=t(28636),p=t.n(u),h=t(6442),g=t(36259),m=t(39078),f=t(9902),v=t(13034),b=t(26754),y=t(37927),k=t(51768),x=t(28171),w=!0;e.default=function(n){var e,t=n.canonicalUrl,u=n.footerInfo,w=n.navMenuContent,A=n.initServiceData,C=(0,c.$)().locale,_=(0,a.useContext)(g.B).state.isMobileSsr,M=(0,s.l)().isMobile,D=(0,l.E)(_,M),Y=(0,h.A)().formatMessage,E=(0,v.oN)(C),N="".concat(E).concat(t),S=[{label:Y({id:"detailPage.breadcrumbs.home",defaultMessage:"Home"}),value:E},{label:Y({id:"detailPage.breadcrumbs.vaccinations",defaultMessage:"Vaccination"}),value:N}],F=[(0,m.J9)(Y({id:"home.discover.seoDescription",defaultMessage:"Care"}),C),(0,m.to)(S),(0,f.v)({listingType:Y({id:"detailPage.breadcrumbs.vaccinations",defaultMessage:"Vaccination"}),listingDescription:Y({id:"page.seoDescription.vaccination",defaultMessage:"Vaccination"}),items:(null===A||void 0===A?void 0:A.items)||[],currentUrl:N,totalItems:(null===A||void 0===A||null===(e=A.pagination)||void 0===e?void 0:e.total_items)||0,locale:C})],T=(0,m.dS)(F),I=JSON.stringify(T);return(0,i.FD)(i.FK,{children:[(0,i.Y)(p(),{children:(0,i.Y)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:I}})}),(0,i.Y)(x.K,{title:Y({id:"page.title.vaccination",defaultMessage:"Vaccination"}),description:Y({id:"page.seoDescription.vaccination",defaultMessage:"Vaccination"}),image:d.ElQ[C].HOMEPAGE_IMAGE,isSearchBarDisplay:!0,SEOData:{isIndexable:!0,hasNoAmp:!0,canonicalUrl:null===t||void 0===t?void 0:t.toLowerCase()},isMobile:D,footerInfo:u,ssrNavMenu:w,children:(0,i.Y)(k._9,{children:(0,i.FD)(b.XP,{children:[(0,i.Y)(y.m,{locale:C,isMobile:D,handleSubmitCTA:function(n){var e=n.callingCode,t=n.countryCode,i=n.phone;return r.F.collectionSubmitCTA({area_code:e,country_code:t,cta_text:"",phone_number:i,source_url:"".concat(window.location.origin).concat(window.location.pathname),messaging_app:o.so.Zalo})}}),(0,i.Y)(k.rx,{initItems:(null===A||void 0===A?void 0:A.items)||[],initPagination:null===A||void 0===A?void 0:A.pagination,filterAgeGroup:null===A||void 0===A?void 0:A.ageGroups,breadcrumbsPages:S})]})})})]})}},98269:function(n,e,t){"use strict";t.r(e),t.d(e,{__N_SSP:function(){return u}});var i=t(2445),a=t(73884),r=t(26754),o=t(20864),l=t(83784),c=t(18754),s=t(59869),d=t(42280),u=!0;e.default=function(n){var e=n.vaccinationDetail,t=n.isPaymentPage,u=n.paymentResult,p=(0,d.Jf)(),h=p.paymentResult,g=p.setVaccinationDetail,m=p.setPaymentResult;return(0,a.useEffect)((function(){g(e)}),[e]),(0,a.useMemo)((function(){m(u)}),[u]),t?h||u?(0,i.FD)(i.FK,{children:[(0,i.Y)(s.A,{vaccinationDetail:e}),(0,i.Y)(c.A,{vaccinationDetail:e,paymentResult:h||u})]}):(0,i.FD)(i.FK,{children:[(0,i.Y)(s.A,{vaccinationDetail:e}),(0,i.Y)(r.XP,{children:(0,i.Y)(o.DT,{serviceData:e,children:(0,i.Y)(l.A,{vaccinationDetail:e})})})]}):null}},85143:function(n,e,t){"use strict";t.r(e),t.d(e,{__N_SSP:function(){return i}});var i=!0;e.default=function(n){return null}},43082:function(n,e,t){"use strict";t.d(e,{T:function(){return i}});var i={hb:{DEFAULT:"#E3F2FF",100:"#BCDEFF",200:"#91CAFF",300:"#65B5FF",400:"#45A4FF",500:"#2B94FF",600:"#2D87F3",700:"#2C74DF",800:"#2B62CD",900:"#2743AD"},mb:{DEFAULT:"#FFE9F1",100:"#F8CCDC",200:"#F5B4CB",300:"#F29CBA",400:"#EE84AA",500:"#EB6B99",600:"#E85388",700:"#D34C7C",800:"#BE446F",900:"#A93D63"},blue:{DEFAULT:"#E3F2FF",50:"#E3F2FF",100:"#BCDEFF",200:"#91CAFF",300:"#65B5FF",400:"#45A4FF",500:"#2B94FF",600:"#2D87F3",700:"#2C74DF",800:"#2B62CD",900:"#2743AD",850:"#0A54AE"},gray:{DEFAULT:"#FAFAFA",100:"#F2F2F2",200:"#D9D9D9",300:"#BFBFBF",400:"#8C8C8C",500:"#737373",600:"#595959",700:"#404040",800:"#262626",900:"#1A1A1A",1e3:"#111111"},delftGray:{DEFAULT:"#F3F3F3",100:"#EAEAEC",200:"#D9DAE2",300:"#B9BAC8",400:"#9898A9",500:"#7C7C8F",600:"#5A5A72",700:"#3E3F58",800:"#202135",900:"#0C0C12"},neutral:{DEFAULT:"#F7F9FC",50:"#F7F9FC",100:"#E4E8EC",200:"#D2D6DC",300:"#BFC5CC",400:"#ADB3BC",500:"#9AA2AC",600:"#87909C",700:"#757F8C",800:"#626D7C",900:"#545E6C"},green:{DEFAULT:"#E0F8EE",100:"#B3EED5",200:"#7CE2B9",300:"#2ED69E",400:"#00CB8A",500:"#00C076",600:"#00B16A",700:"#009E5C",800:"#008C50",900:"#006C39"},pink:{DEFAULT:"#FFF1F6",100:"#FFDCE9",200:"#FEC7DC",300:"#FEB2CF",400:"#FE9DC2",500:"#FD87B4",600:"#FD72A7",700:"#FC5D9A",800:"#FC488D",900:"#E92D74"},violet:{DEFAULT:"#F5EDFF",100:"#E7D2F7",200:"#D8B7F0",300:"#CA9CE8",400:"#BB82E1",500:"#AD67D9",600:"#9E4CD1",700:"#9031CA",800:"#8116C2",900:"#63059D"},yellow:{DEFAULT:"#FFF8E2",100:"#FFECB6",200:"#FFE187",300:"#FFD658",400:"#FFCB37",500:"#FFC326",600:"#FFB521",700:"#FEA21E",800:"#FE921D",900:"#FC7419"},teal:{DEFAULT:"#E0F7FC",100:"#B1EBF8",200:"#7DDFF3",300:"#44D1EC",400:"#00C7E6",500:"#00BEe0",600:"#00AECd",700:"#0099B2",800:"#008599",900:"#00626C"},indigol:{DEFAULT:"#CEDDF0",100:"#ACC5E6",200:"#95B3DA",300:"#85A6CF",400:"#6D91BE",500:"#5F85B5",600:"#4C77AC",700:"#35639C",800:"#284A75",900:"#1B3250"},red:{DEFAULT:"#FAE9E8",100:"#FECCBF",200:"#FEAA96",300:"#F44D2C",400:"#FF6F4D",500:"#FF5331",600:"#F44D2C",700:"#E64728",800:"#D84023",900:"#BF331B"},redViolet:{DEFAULT:"#F3EAEB",100:"#E8D5D7",200:"#DDC1C4",300:"#D1ACB0",400:"#C5979C",500:"#BA8288",600:"#AF6D74",700:"#A35961",800:"#97444D",900:"#8C2F39"},primary:{DEFAULT:"#2D87F3"}}},21571:function(n,e,t){"use strict";t.d(e,{nQ:function(){return a},zW:function(){return i}});var i=function(n,e){var t=document.createElement("a"),i="data:text/csv;charset=utf-8,";n.forEach((function(n){i+=n.join(",")+"\n"})),t.href=encodeURI(i),t.target="_blank",t.download=e||"download",t.click(),t.remove()},a=function(n,e){var t=document.createElement("a");t.download=e||"",t.href=n,t.target="_blank",t.click(),t.remove()}},38194:function(n,e,t){"use strict";function i(n,e){var t={};return Object.keys(e).forEach((function(i){var a,r=e[i],o=r.parse,l=r.defaultValue,c=r.queryKey,s=null!==c&&void 0!==c?c:String(i),d=n[s];void 0!==(a=o?o(d):null!==d&&void 0!==d?d:l)&&null!==a||(a=l),t[i]=a})),t}t.d(e,{FJ:function(){return o},r9:function(){return r},x_:function(){return a},z1:function(){return i}});var a=function(n){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(!n)return e;var t=Number(n);return isNaN(t)?e:t},r=function(n){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return n?Array.isArray(n)?n:[n]:e},o=function(n){return void 0===n||null===n||"string"===typeof n&&""===n.trim()}},39078:function(n,e,t){"use strict";t.d(e,{J9:function(){return l},dS:function(){return d},to:function(){return c},wm:function(){return s}});var i=t(55549),a=t(84091),r=t(40959),o=t(58741),l=function(n,e){var t=(0,a.VX)(),l=r.ElQ[e].SITE_NAME_FORMATTED,c=o.VF[e].LOGO_PATH,s=Object.values(r.FQm[e]).filter((function(n){return n}));return{"@type":o._L.ORGANIZATION,"@id":"".concat(t,"#organization"),name:l,url:t,sameAs:s,description:n,logo:i.C.getAssetPath(c)}},c=function(n){return n&&0!==n.length?{"@type":o._L.BREADCRUMB,itemListElement:n.map((function(n,e){return{"@type":o._L.LIST_ITEM,position:e+1,name:n.label,item:n.value}}))}:null},s=function(n){return n&&0!==n.length?{"@type":o._L.FAQ,mainEntity:n.map((function(n,e){return{"@type":o._L.QUESTION,position:e+1,name:n.question,acceptedAnswer:{"@type":o._L.ANSWER,text:n.answer}}}))}:null},d=function(n){if(!n||0===n.length)return null;var e=n.filter(Boolean);return{"@context":o.fn.SCHEMA_ORG,"@graph":e}}},58741:function(n,e,t){"use strict";var i,a,r;t.d(e,{VF:function(){return o},_L:function(){return i},fn:function(){return r}}),function(n){n.ORGANIZATION="Organization",n.BREADCRUMB="BreadcrumbList",n.FAQ="FAQPage",n.QUESTION="Question",n.ANSWER="Answer",n.LIST_ITEM="ListItem",n.ITEM_LIST="ItemList",n.MEDICAL_ORGANIZATION="MedicalOrganization",n.PRODUCT="Product",n.OFFER="Offer"}(i||(i={})),function(n){n.HELLO_BACSI="logo/hellobacsi.png",n.HELLO_DOCTOR="logo/hellodoctor.png",n.HELLO_SEHAT="logo/hellosehat.png",n.HELLO_YISHI="logo/helloyishi.png",n.HELLO_DOKTOR="logo/hellodoktor.png",n.HELLO_KHUNMOR="logo/hellokhunmor.png",n.HELLO_SAYARWON="logo/hellosayarwon.png",n.HELLO_KRUPET="logo/hellokrupet.png",n.HELLO_SWASTHYA="logo/helloswasthya.png"}(a||(a={})),function(n){n.SCHEMA_ORG="https://schema.org",n.SCHEMA_AVAILABLE="https://schema.org/InStock"}(r||(r={}));var o={"vi-VN":{LOGO_PATH:a.HELLO_BACSI},"en-PH":{LOGO_PATH:a.HELLO_DOCTOR},"id-ID":{LOGO_PATH:a.HELLO_SEHAT},"zh-TW":{LOGO_PATH:a.HELLO_YISHI},"ms-MY":{LOGO_PATH:a.HELLO_DOKTOR},"th-TH":{LOGO_PATH:a.HELLO_KHUNMOR}}},92509:function(n,e,t){"use strict";t.d(e,{V:function(){return o},d:function(){return r}});var i=t(3365),a=t(58741),r=function(n,e,t){var r=n.price,o=n.price_discount,l=n.description,c=void 0===l?"":l,s=n.display_name,d=void 0===s?"":s,u=n.image,p=void 0===u?"":u,h=o&&o>0?o:r||0;return{"@type":a._L.PRODUCT,"@id":"".concat(e,"#product"),name:d,description:c,url:e,image:p,offers:{"@type":a._L.OFFER,price:String(h),priceCurrency:i.UM[t],availability:a.fn.SCHEMA_AVAILABLE,url:e}}},o=function(n,e){if(!n)return null;var t=(null===n||void 0===n?void 0:n.name)||"",i=(null===n||void 0===n?void 0:n.logo)||"";return t&&e?{"@type":a._L.MEDICAL_ORGANIZATION,"@id":e,name:t,url:e,logo:i}:null}},9902:function(n,e,t){"use strict";t.d(e,{v:function(){return r}});var i=t(58741),a=t(92509),r=function(n){var e=n.listingType,t=n.listingDescription,a=n.totalItems,r=n.items,l=n.currentUrl,c=n.locale;return{"@type":i._L.ITEM_LIST,name:e,description:t,numberOfItems:a,itemListElement:o({items:r,currentUrl:l,locale:c})}},o=function(n){var e=n.items,t=n.currentUrl,r=n.locale;return e&&0!==e.length?e.map((function(n,e){var o=n.slug,l=n.hospital_branch,c=n.display_name,s=n.description,d=n.price,u=n.price_discount,p=n.price_unit,h=n.logo,g=null===l||void 0===l?void 0:l[0],m=o&&(null===g||void 0===g?void 0:g.vaccine_detail_id)?"".concat(t).concat(o,"-").concat(null===g||void 0===g?void 0:g.vaccine_detail_id,"/"):"",f={display_name:c,description:s,price:d,price_discount:u,price_unit:p,image:h};return{item:(0,a.d)(f,m,r),position:e+1,"@type":i._L.LIST_ITEM}})):[]}},34283:function(n,e,t){"use strict";t.d(e,{Yh:function(){return u},mZ:function(){return d},yz:function(){return p}});var i=t(38971),a=t(53513),r=t(63538),o=t(40568),l=t(13034),c=t(40959),s=function(n){var e=(0,o.A)(n,3);return{"data-event-category":e[0],"data-event-action":e[1],"data-event-label":e[2]}},d=function(n){var e,t=(e={},(0,i.A)(e,c.Hxq.IVF,"IVF"),(0,i.A)(e,c.Hxq.EGG_FREEZING,"Egg Freezing"),(0,i.A)(e,c.Hxq.VACCINE,"Vaccination"),(0,i.A)(e,c.Hxq.HEALTH_SCREENER,"Health Screener"),e)[n];return{allowLocation:s([t,"Click - Location Popup","Allow Location Access"]),selectLocation:s([t,"Click - Location Popup","Manually Select Location"]),selectLocationCity:s([t,"Click - Location Selector",""]),selectCurrentLocation:s([t,"Click - Location Selector","Use Current Location"]),searchBox:s([t,"Discovery - Search Box",""]),quickFilter:s([t,"Discovery - Select Filter",""]),changeLocation:s([t,"Change Location","Result Page"]),selectProductItem:s([t,"Click to detail page",""]),selectProductItemBranch:s([t,"Click hospital branch",""]),loadMore:s([t,"Discovery - Load more","Load more"]),subscribeTip:s([t,"Detail - Subscribe tips",""]),buyVia:s([t,"Click Message to Messenger",""]),selectClinic:s([t,"Discovery - Select Clinic",""]),selectVoucher:s([t,"Select Voucher",""]),clickVoucher:s([t,"Voucher click",""]),selectReferralVoucherDetail:s([t,"Referral program hovering",""]),selectReferralVoucherListing:s([t,"Referral program click",""]),clickDoctorExpertise:s([t,"Click Doctor Expertise",""]),clickWriteReview:s([t,"Click - Write a review","Review Page"]),clickViewAllReviews:s([t,"Click - View All Reviews","Review Page"]),clickBookNow:s([t,"Quick Booking Click",""]),clickBookNowHeader:s([t,"Quick Booking Click - Header Navigate",""]),clickBookingBranch:s([t,"Quick Booking - Hospital Click",""]),talkToUs:s([t,"Recommend Click Message to messenger",""]),clickBookNowComboPackage:s([t,"Recommend Booking Click",""]),clickService:function(n,e){return s(["Recommended O2O Services","Service Click ".concat(n),e])},messageBannerHPVDetail:s([t,"Banner - Click Message to Whatsapp","".concat(l._s)]),messageTopBannerHPV:s([t,"Top Banner - Click Message to Whatsapp","".concat(l._s)])}},u=d(c.Hxq.VACCINE),p=function(n,e){return e?(0,r.A)((0,a.A)({},n),{"data-event-label":"".concat(e,"^").concat(n["data-event-label"]||"")}):n}},72936:function(n){n.exports={mConfirmMessage:"bookingSuccessBlock_mConfirmMessage__poEoj",mConfirmMessageText:"bookingSuccessBlock_mConfirmMessageText__FREhE",confirmedMessageLink:"bookingSuccessBlock_confirmedMessageLink__3DHSd",buttonGroup:"bookingSuccessBlock_buttonGroup__3qudM",button:"bookingSuccessBlock_button__z1CCT"}},2569:function(n){n.exports={mCardServiceDetail:"cardServiceDetail_mCardServiceDetail__QP4D9",serviceHeader:"cardServiceDetail_serviceHeader__UY2H9",serviceHeaderInfo:"cardServiceDetail_serviceHeaderInfo__GJcYk",profileImage:"cardServiceDetail_profileImage__p93nx",doctorInfoheader:"cardServiceDetail_doctorInfoheader__W7wsX",doctorHeader:"cardServiceDetail_doctorHeader__HBHTc",hospital:"cardServiceDetail_hospital__e8FiX",action:"cardServiceDetail_action__jqDmR",actionPC:"cardServiceDetail_actionPC__upYiU",wrapperInfor:"cardServiceDetail_wrapperInfor__X1TGd",pricing:"cardServiceDetail_pricing__ceEiL",cta:"cardServiceDetail_cta__tVkrB",appointmentcta:"cardServiceDetail_appointmentcta__E4R7_",call:"cardServiceDetail_call__KvWvv",ctaDesktop:"cardServiceDetail_ctaDesktop__rie1k",HospitalInfo:"cardServiceDetail_HospitalInfo__bWmkk",doctorTag:"cardServiceDetail_doctorTag__IYgID"}},15451:function(n){n.exports={mCardSpecialty:"cardSpecialty_mCardSpecialty__d4XwN",cardSpecialty:"cardSpecialty_cardSpecialty__aiKy1",cardTrigger:"cardSpecialty_cardTrigger___1lxa",CardSkeleton:"cardSpecialty_CardSkeleton__CM7fc"}},16100:function(n){n.exports={mDoctorInfo:"doctorInfo_mDoctorInfo__9z_ou",infoLeftSide:"doctorInfo_infoLeftSide__ryhHR",imageCenter:"doctorInfo_imageCenter__HhD_T",doctorInfoWrapper:"doctorInfo_doctorInfoWrapper__DZJmR",viewDetailsBtn:"doctorInfo_viewDetailsBtn__ErOQ0",doctorHeader:"doctorInfo_doctorHeader__INC5Z",hospital:"doctorInfo_hospital___BafV",isDesktop:"doctorInfo_isDesktop__XNwGY",tags:"doctorInfo_tags__ZFplj",tag:"doctorInfo_tag__QCqoc",Divider:"doctorInfo_Divider__p_0XJ",Location:"doctorInfo_Location__p5veo",directions:"doctorInfo_directions__XQOFR",pricing:"doctorInfo_pricing__hGSxo",cta:"doctorInfo_cta__kSTb4",appointmentcta:"doctorInfo_appointmentcta__szWB6",call:"doctorInfo_call__Z5Y4n",isMobile:"doctorInfo_isMobile__Idm9o",ctaDesktop:"doctorInfo_ctaDesktop__fwtc_",btnCallNow:"doctorInfo_btnCallNow__60Ene",ctaButton:"doctorInfo_ctaButton__HzRgX",phoneNumberBtn:"doctorInfo_phoneNumberBtn__Vhmid",phoneButton:"doctorInfo_phoneButton__ntqZm",HospitalInfo:"doctorInfo_HospitalInfo__sh6VT",doctorInfoHeader:"doctorInfo_doctorInfoHeader__duhDZ",doctorTag:"doctorInfo_doctorTag__tS_ZL"}},13169:function(n){n.exports={mInput:"input_mInput___udXS",inputLabel:"input_inputLabel__6sIrl",errorLabel:"input_errorLabel___5nb0",actionIcon:"input_actionIcon__o63Xv",displayIcon:"input_displayIcon__Y__l9"}},26869:function(n){n.exports={pagination:"pagination_pagination__lwytb",arrow:"pagination_arrow__nrpSW",paginationBlock:"pagination_paginationBlock__C3wxr"}},9674:function(n){n.exports={mPriceHeading:"priceHeading_mPriceHeading__pQs_x"}},2966:function(n){n.exports={noResults:"bookingCard_noResults__LIlDw",noResultsSmall:"bookingCard_noResultsSmall__MxKqG",oBookingCard:"bookingCard_oBookingCard__81OlG",dateWrapper:"bookingCard_dateWrapper__WdO6p",dateBlocks:"bookingCard_dateBlocks__6NNTF",scrollButton:"bookingCard_scrollButton__3frpj",next:"bookingCard_next__S2HLb",heading:"bookingCard_heading__5GA6e",dateBlock:"bookingCard_dateBlock__jFN6o",noSlot:"bookingCard_noSlot__odM__",available:"bookingCard_available__HX7lZ",disable:"bookingCard_disable__hiyeo",day:"bookingCard_day__EAC3X",slots:"bookingCard_slots__UyYpJ",timeframe:"bookingCard_timeframe__yYvFH",buttonWrapper:"bookingCard_buttonWrapper__JElZ8",button:"bookingCard_button__C1AuR",cardInner:"bookingCard_cardInner__XuAUm",times:"bookingCard_times__BhcrY",timeframes:"bookingCard_timeframes__bncJQ",time:"bookingCard_time__J0MaE",loading:"bookingCard_loading__68BdM",top:"bookingCard_top__oFgDi",bookingHeading:"bookingCard_bookingHeading__inFGp"}},34763:function(n){n.exports={confirmationButtonGroup:"confirmPopup_confirmationButtonGroup__0XGdg",buttonRow:"confirmPopup_buttonRow__gVieY",buttonRowBetween:"confirmPopup_buttonRowBetween__Z6vYW",buttonRowCenter:"confirmPopup_buttonRowCenter__17cty",reverseButton:"confirmPopup_reverseButton__OXB4k",buttonFillWidth:"confirmPopup_buttonFillWidth__0QdVu",deletePatientInfoButton:"confirmPopup_deletePatientInfoButton__k30hH",contentPopup:"confirmPopup_contentPopup__GZBhI",confirmationPopupContainer:"confirmPopup_confirmationPopupContainer__mzkl0",confirmationPopup:"confirmPopup_confirmationPopup__6L2_5"}},32023:function(n){n.exports={oMap:"map_oMap__Bt8q5",card:"map_card__nf25A",map:"map_map__dKKTO",hospitalTitle:"map_hospitalTitle__zHTdR",hospital__moreInfo:"map_hospital__moreInfo__OppWS",dots:"map_dots__xuk1o",infoList:"map_infoList__hrWDi",directions:"map_directions__aytFE",directionsNo:"map_directionsNo__fZII8",phoneButton:"map_phoneButton__1ZYaW"}},6224:function(n){n.exports={pSearchPage:"search_pSearchPage__Dk6vU",resultsContainer:"search_resultsContainer__nmEsF",doctors:"search_doctors__OIPrK",filterRight:"search_filterRight__WtUmC",filter:"search_filter__Gdo4q",totalResults:"search_totalResults__P9EqZ",pagination:"search_pagination__NKBx9",noResults:"search_noResults__EhP8q",filterIcon:"search_filterIcon__27Mmv",filterWithNotice:"search_filterWithNotice__rdSKr",searchBar:"search_searchBar__vcimF"}},61817:function(n){n.exports={mDoctorInfo:"searchLoading_mDoctorInfo__nJLpg",Image:"searchLoading_Image__uRwdS",doctorHeader:"searchLoading_doctorHeader__IQQZj",hospital:"searchLoading_hospital__ue_En",isDesktop:"searchLoading_isDesktop__KL4PA",tags:"searchLoading_tags__iurOG",tag:"searchLoading_tag__NJoxa",Divider:"searchLoading_Divider__rXPyQ",Location:"searchLoading_Location__7mi5w",directions:"searchLoading_directions__ZFVK_",pricing:"searchLoading_pricing__BGcxe",cta:"searchLoading_cta___wVai",appointmentcta:"searchLoading_appointmentcta__1pIMG",call:"searchLoading_call__Edo_6",isMobile:"searchLoading_isMobile___J63M",ctaDesktop:"searchLoading_ctaDesktop__lNWdC",ctaButton:"searchLoading_ctaButton__ekj5_",phoneButton:"searchLoading_phoneButton__joVc_",HospitalInfo:"searchLoading_HospitalInfo__TwZou",doctorInfoHeader:"searchLoading_doctorInfoHeader__FcjyN",doctorTag:"searchLoading_doctorTag__EzrIj"}},98310:function(n){n.exports={pService:"_slug__pService__Yc5jN",serviceDetailContainer:"_slug__serviceDetailContainer__zuNlA",doctorInfo:"_slug__doctorInfo__buLH0",backButton:"_slug__backButton__pAXGz",bookingDesktop:"_slug__bookingDesktop__QIzYw",doctorDetail:"_slug__doctorDetail__f5iGP",iconLink:"_slug__iconLink__R_dPE",doctorNavigation:"_slug__doctorNavigation__HrBvE",bookingCard:"_slug__bookingCard__zEFAB",content:"_slug__content__ehW9q",borderHeadingAboutDoctor:"_slug__borderHeadingAboutDoctor__simkS",iconText:"_slug__iconText__8fZmG",consultationFee:"_slug__consultationFee__9EWFx",insuranceGrid:"_slug__insuranceGrid__FJU7N",insuranceLogo:"_slug__insuranceLogo__DOqj9",booking:"_slug__booking__uX1RD",map:"_slug__map__xAdI1",bigDivider:"_slug__bigDivider__qjdIT"}},81741:function(n){n.exports={pSpecialties:"specialties_pSpecialties__caPoO",contentInner:"specialties_contentInner__Vjgyh",bookingDesktop:"specialties_bookingDesktop__vdcbB",specialtiesPageSearch:"specialties_specialtiesPageSearch__QnfCW"}},9049:function(){},91902:function(){},43446:function(){},57811:function(){},83686:function(){},32383:function(){}},function(n){var e=Promise.all([n.f.consumes||function(n,e){},n.f.remotes||function(n,e){}].reduce((function(n,e){return e("2203",n),n}),[])).then((function(){return n.X(0,[1570,5008,7580,971,1856,1933,5163,3511,8e3,6497,304,968,9680,3195,9777,9876,7333,7300,7988,1145,8705,9185,5264,1824,6931,6174,8545,6175,668,9364,2304,8747,3672,3054,3117,2876,4029,7812,5320,8754,636,8792],(function(){return e=83936,n(n.s=e);var e}))}));_N_E=e}]);