"use strict";(self.webpackChunkhhgDiscoverV1=self.webpackChunkhhgDiscoverV1||[]).push([[6419,6801,9091],{z2FJ:function(e,t,i){i.d(t,{J:function(){return formatString},e:function(){return getApiPath}});var a=i("gY0P"),o=i.n(a),n=i("9brV");let formatString=function(){for(var e=arguments.length,t=Array(e),i=0;ie&&(!e.includes("=")||e.split("=")[1]));return 0===i.length?e:"".concat(e,"?").concat(i.join("&"))}return a},getApiPath=()=>{let{NEXT_PUBLIC_BASE_API_URL:e,WP_INTERNAL_API:t}=n.Km;return(t||e)+"wp-json/api/"}},"JOt+":function(e,t,i){i.r(t),i.d(t,{MAPPED_AXIOS_INSTANCE:function(){return C},callApiNew:function(){return callApiNew}});var a=i("77FC"),o=i("dvDa"),n=i("9brV"),r=i("z2FJ"),l=i("p46w"),c=i.n(l),s=i("Sb+D"),d=i("/sjq");let getFormattedUrl=e=>{let{template:t,params:i,url:a}=e,o=(0,r.J)(a||"",{...i,..."together"===t?{websiteUrl:"https://".concat(d.domainLocales[n.Km.DEPLOY_LOCALE||"en-PH"])}:{},...("care"===t||"careV2"===t||"premium"===t||"unified"===t?{site:d.domainLocales[n.Km.DEPLOY_LOCALE||"en-PH"]}:{})||"ecommerce"===t,..."babyVaccine"===t?{domain:d.domainLocales[n.Km.DEPLOY_LOCALE||"en-PH"]}:{}});return o},getMainInterceptors=e=>({request:t=>{try{let i=c().get(n.ty),a=getFormattedUrl({url:t.url||"",params:t.params,template:e});t.url=a,t.params="tl-PH"===n.Km.NEXT_PUBLIC_DEPLOY_LOCALE?{lang:"fil"}:null,i&&(t.headers.Authorization="Bearer ".concat(i))}catch(e){console.error("\uD83D\uDE80 ~ file: interceptors.ts:53 ~ getMainInterceptors ~ error:",e)}finally{return t}},response:e=>e,error:e=>{console.error(e),(0,s.Cp)(e)}}),p={discover:void 0,care:"care",careV2:"careV2",together:"together",sso:void 0,lead:void 0,sidis:void 0,sidis_frontend:void 0,sidis_subscription:void 0,sidis_update:void 0,baby_vaccine:"babyVaccine",premium:"premium",unified:void 0,ecommerce:"ecommerce",chatbot:"chatbot",open_health_tools:void 0},_={discover:(0,r.e)(),premium:n.Km.NEXT_PUBLIC_PREMIUM_URL,together:n.Km.NEXT_PUBLIC_TOGETHER_API+"api/v1/",care:n.Km.NEXT_PUBLIC_CARE_API+"api/",careV2:n.Km.NEXT_PUBLIC_CARE_API+"api/v2/",sso:n.Km.NEXT_PUBLIC_SSO+"api/",lead:n.Km.NEXT_PUBLIC_LEAD_API+"api/",chatbot:n.Km.NEXT_PUBLIC_CHAT_BOT_API,sidis:n.Km.NEXT_PUBLIC_SIDIS_TEMPLATE_API,sidis_update:n.Km.NEXT_PUBLIC_SIDIS_API+"api/",sidis_frontend:n.Km.NEXT_PUBLIC_SIDIS_API_GET+"frontend/",sidis_subscription:n.Km.NEXT_PUBLIC_SIDIS_API_GET+"api/",baby_vaccine:n.Km.INTERNAL_VACCINATION_TOOL_API||n.Km.NEXT_PUBLIC_VACCINATION_TOOL_API,unified:n.Km.NEXT_PUBLIC_UNIFIED_API,ecommerce:n.Km.NEXT_PUBLIC_ECOMMERCE_API+"rest/"+n.Km.NEXT_PUBLIC_STORE_CODE+"/V1/",open_health_tools:n.Km.NEXT_PUBLIC_OPEN_HEALTH_TOOLS_API};o.A.defaults.headers.post["Content-Type"]="application/json",o.A.defaults.timeout=3e4;let h=o.A.create({baseURL:_.discover}),E=o.A.create({baseURL:_.premium}),u=o.A.create({baseURL:_.together}),T=o.A.create({baseURL:_.care}),g=o.A.create({baseURL:_.careV2,headers:{Accept:"version=2.0.0"}}),m=o.A.create({baseURL:_.sso,headers:{"Accept-Encoding":"*"}}),I=o.A.create({baseURL:_.lead}),A=o.A.create({baseURL:_.chatbot}),y=o.A.create({baseURL:_.sidis}),O=o.A.create({baseURL:_.sidis_update}),v=o.A.create({baseURL:_.sidis_frontend}),b=o.A.create({baseURL:_.sidis_subscription}),S=o.A.create({baseURL:_.baby_vaccine}),L=o.A.create({baseURL:_.unified}),f=o.A.create({baseURL:_.ecommerce});(async()=>{[h,m,T,g,I,y,v,b,O,S,u,E,L,f].forEach(e=>{let{request:t,error:i,response:a}=getMainInterceptors();e.interceptors.request.use(t,i),e.interceptors.response.use(a,i)});let{together:e,care:t,careV2:i,premium:a,baby_vaccine:o,unified:n,ecommerce:r,chatbot:l}=p;u.interceptors.request.use(getMainInterceptors(e).request,getMainInterceptors().error),T.interceptors.request.use(getMainInterceptors(t).request,getMainInterceptors().error),g.interceptors.request.use(getMainInterceptors(i).request,getMainInterceptors().error),E.interceptors.request.use(getMainInterceptors(a).request,getMainInterceptors().error),S.interceptors.request.use(getMainInterceptors(o).request,getMainInterceptors().error),L.interceptors.request.use(getMainInterceptors(n).request,getMainInterceptors().error),f.interceptors.request.use(getMainInterceptors(r).request,getMainInterceptors().error),A.interceptors.request.use(getMainInterceptors(l).request,getMainInterceptors().error)})();let N=o.A.create({baseURL:n.Km.NEXT_PUBLIC_OPEN_HEALTH_TOOLS_API}),C={discover:h,care:T,careV2:g,together:u,sso:m,lead:I,sidis:y,sidis_frontend:v,sidis_subscription:b,sidis_update:O,baby_vaccine:S,premium:E,unified:L,ecommerce:f,chatbot:A,open_health_tools:N},callApiNew=async function(e,t){let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"discover",o=arguments.length>3&&void 0!==arguments[3]&&arguments[3],n=arguments.length>4&&void 0!==arguments[4]&&arguments[4],r=C[i];try{let i=await r({url:e,...t});if(i)return o?i:i.data}catch(i){if((0,a.H4)(null,e,(null==t?void 0:t.method)||"GET","",i),n)throw i}return null}},"LSb+":function(e,t,i){i.r(t),i.d(t,{PATHS:function(){return a}});let a={CATEGORY:{GET_EXPERT_OF_CATEGORY:"category/expert/?id={id}",GET_CATEGORY_TAG:"tags?category_id={categoryId}",GET_AZ_DRUGS:"category/a-z/{category}",GET_CATEGORY_DETAIL:"category/{slug}",GET_CATEGORY_OR_ARTICLE_DETAIL:"fetch{basePath}/{fullSlug}",GET_CATEGORIES:"categories?type={type}",GET_TRENDING_CATEGORIES:"category/trending"},ARTICLE:{GET_ARTICLE_BY_TAG:"articles?category_id={categoryId}&tag_id={tagId}",GET_ARTICLE_OF_CATEGORY_NO_EXPLAINERS:"articles?category_id={categoryId}&page={currentPage}&skip_ids={ids}",POST_ARTICLE_FEEDBACK:"article/feedback/{id}",GET_PREVIEW_ARTICLE:"fetch{basePath}/{fullSlug}/?preview_nonce={nonce}&preview=true",GET_ARTICLE_OF_CATEGORY:"articles?category_id={categoryId}&page={currentPage}",GET_ARTICLE_DETAIL:"article/{slug}/?skip_ids={skipIds}&_isrelated={isRelated}",GET_ARTICLES:"articles?ids={ids}",GET_BOOST_PAGE_VIEW_INFO:"boost/popup-card?type={type}&article_id={articleId}&primary_category={primaryCategoryId}&community={community}&post_id={postId}"},HEALTH_TOOL:{GET_WEEK_PREGNANCY_PROGRESS:"health-tools/due-date-calculator/all",OVULATION_CREATE_EVENT:"ovulation/event?method={method}&day={day}&cycle={cycle}&period={period}&token={token}&user_id={user_id}",GET_HEALTH_TOOL_OVULATION_INFO:"health-tools/ovulation-calculator/info",GET_HEALTH_TOOL_OVULATION_SUGGESTED_ARTICLES:"health-tools/ovulation-calculator/result?method={method}",GET_HEALTH_TOOL_BMI_INFO:"health-tools/bmi-calculator/info?type={type}",GET_HEALTH_TOOL_BMI_INFOR:"health-tools/bmi-calculator/infor?gender={gender}&level={level}",GET_HEALTH_TOOL_BABY_GROWTH_INFO:"health-tools/baby-growth-tracking/info",GET_HEALTH_TOOL_BABY_GROWTH_RESULT:"health-tools/baby-growth-tracking/result",GET_HEALTH_TOOL_BMI_RESULT:"health-tools/bmi-calculator/result/?gender={gender}&bmi={bmi}&age={age}&type={type}&level={level}&unit={unit}",GET_HEALTH_TOOL_BMR_INFO:"health-tools/bmr-calculator/info",GET_HEALTH_TOOL_BMR_INFOR:"health-tools/bmr-calculator/infor/?status={status}",GET_HEALTH_TOOL_BMR_RESULT:"health-tools/bmr-calculator/result/?kcals={kcals}&gender={gender}&age={age}&status={status}&activity_level={activityLevel}",GET_HEALTH_TOOL_PWG_INFO:"health-tools/preweight-gain-calculator/info",GET_HEALTH_TOOL_PWG_RESULT:"health-tools/preweight-gain-calculator/result?bmi={bmi}&week={week}&weight_gain={pwg}&type={type}",GET_HEALTH_TOOL_THR_RESULT:"health-tools/target-heart-rate/result?result=heart-rate&gender={gender}&age={age}&resting_rate={rate}&intensity={intensity}",GET_HEALTH_TOOL_THR_INFO:"health-tools/target-heart-rate/info",GET_HEALTH_TOOL_BABY_POOP:"health-tools/baby-poop-tool",GET_DUE_DATE_INFO:"health-tools/due-date-calculator/info",GET_DUE_DATE_RESULT:"health-tools/due-date-calculator/formula",GET_DUE_DATE_ALL_WEEKS:"health-tools/due-date-calculator/all",GET_DUE_DATE_SUGGESTED_ARTICLES:"health-tools/due-date-calculator/result?from_week={from}&to_week={to}",GET_ALL_HEALTH_TOOLS:"healthtools?ismenu=0&per_page=100",GET_HEALTH_TOOLS_HOME_PAGE:"healthtools?ishome=1",GET_HEALTH_TOOLS_BY_CATEGORY:"healthtools?_hasgroup=1",GET_HEALTH_TOOL_BABY_VACCINE_INFO:"health-tools/vaccination/info",GET_HEALTH_TOOL_BABY_VACCINE_RESULT:"health-tools/vaccination/result",GET_HEALTH_TOOL_BABY_VACCINE_TIMELINE:"health-tools/vaccination/timeline",GET_HEALTH_TOOL_BABY_VACCINE_WITH_ID:"health-tools/vaccination/vaccine/{vaccineId}",CALCULATE_CALORIES:"healthtools/calculator/?weight={weight}&height={height}&activity_level={activityLevel}&age={age}&gender={gender}&unit={unit}",GET_AIR_POPULATION_INFO:"health-tools/air-population-tool/info",GET_AIR_POPULATION_PROVINCE:"health-tools/air-population-tool/provinces",GET_AIR_POPULATION_SPECIFIC_PROVINCE:"health-tools/air-population-tool/result?type={type}&state={name}&lat={lat}&lng={lng}",GET_AIR_POPULATION_DEFAULT:"health-tools/air-population-tool/result",GET_SITEWIDE_BANNER:"sitewide/health-tool",GET_LANDING_PAGE:"healthtools/landing-page"},EXPERT:{GET_ALL_EXPERTS:"experts",GET_ALL_EXPERTS_PAGING:"experts?page={page}&number={perPage}",GET_ALL_EXPERTS_HEADING:"expert/heading",GET_EXPERT:"expert/{slug}",GET_EXPERT_POST:"expert/article?page={page}&per_page={perPage}&user_id={userId}&number={numberOfPost}&reviewed_by_expert={reviewedByExpert}&offset={offset}",GET_LIST_OF_SPECIALTIES:"specialty",GET_EXPERT_BY_SPECIALTY:"experts?specialty={specialty}",GET_EXPERT_BY_NAME_AND_SPECIALTY:"experts?s={name}&specialty={specialty}&page={page}&search_by=display_name"},SSO:{POST_CHANGE_EMAIL:"user/change-email",POST_COMMENT_NOTIFICATION:"comment/notification",POST_SSO_VERIFY_TOKEN:"verify-id-token",SSO_FEEDBACK:"feedback/create",SSO_FEEDBACK_USER:"feedback/create?result=like",GET_FEATURE:"feature",UPDATE_FEATURE:"feature/update",CREATE_BOOKMARK:"bookmark/create",DELETE_BOOKMARK:"bookmark/delete",DELETE_ALL_BOOKMARK:"bookmark/delete-all",SSO_UPDATE_FIRST_TIME_BOOKMARK:"bookmark/update-first-time",GET_ALL_BOOKMARK:"bookmark",UPDATE_PROFILE:"user/update",POST_FCM_TOKEN_AUTH:"user/webpush",POST_FCM_TOKEN:"webpush",UPDATE_SUBSCRIPTION:"user/subscription",ONBOARDING_EMAIL:"user/onboarding/yesdok-email",POST_VERIFY_CHANGE_EMAIL:"user/verify-change-email",UPDATE_HEALTH_TOOL:"healthtool/update",SEND_OTP_VIA_WHATSAPP:"sms/whatsapp_otp",VERIFY_OTP_VIA_WHATSAPP:"sms/whatsapp_verify",AUTH_APP_TOKEN:"auth-app-token",UPLOAD:"upload"},SPOTLIGHT:{GET_SPOTLIGHT_LANDING:"spotlight/{slug}/?group_id={groupId}&additional_slug={additionalSlug}&api_for_website=1",GET_ALL_SPOTLIGHT:"spotlights/?per_page={perPage}&order_by={orderBy}",CHECK_IS_SPOTLIGHT_URL:"find-by-url/?url={url}"},TOGETHER:{GET_TOGETHER_COMMUNITY:"community?website_url={websiteUrl}&community_in={includeIds}",POST_TOGETHER_LIKE_POST:"post/{postId}/like?website_url={websiteUrl}",GET_TOGETHER_TOPICS:"topic?community_id={communityId}&website_url={websiteUrl}&due_date_month={dueDateMonth}&due_date_year={dueDateYear}&show_hidden={showHidden}",GET_TOGETHER_POST_LIST:"post?community_id={communityId}&website_url={websiteUrl}&sort_by={sortBy}&article_id={articleId}&page={page}&report_start_date={reportStartDate}&report_end_date={reportEndDate}&user_type={userType}&post_in={includeIds}&items_per_page={pageSize}&start_date={startDate}&end_date={endDate}&related_posts={postId}&post_by={postBy}&ignore-cache={ignoreCache}",GET_TOGETHER_POST_DETAIL:"post/{idOrSlug}/?website_url={websiteUrl}",GET_TOGETHER_POST_COMMENT:"comment?website_url={websiteUrl}&post_id={postId}&page={page}&sort_by={sort}&items_per_page={perPage}&_without_reply={withoutReply}",GET_TOGETHER_COMMUNITY_DETAIL:"community/{communityId}?website_url={websiteUrl}",GET_TOGETHER_COMMUNITY_DETAIL_AUTH:"auth/community/{communityId}?website_url={websiteUrl}",POST_VALIDATE_ASK_DOCTOR:"validate-ask-doctor-post",GET_TOGETHER_SUGGESTED_POST:"suggested-post?topic_id={topicId}&website_url={websiteUrl}",POST_CREATE_POST:"post/create?website_url={websiteUrl}",POST_TOGETHER_JOIN_COMMUNITY:"community/join?website_url={websiteUrl}",POST_TOGETHER_JOIN_TOPIC:"topic/join?website_url={websiteUrl}",POST_TOGETHER_LEAVE_TOPIC:"topic/leave?website_url={websiteUrl}",GET_TOGETHER_USER_POSTS:"profile/posts?website_url={websiteUrl}",GET_TOGETHER_USER_AUTHORIZE:"auth/user/{userId}",IMAGE_UPLOAD:"comment/image/upload?website_url={websiteUrl}",USER:{DETAIL:"profile/user/detail?website_url={websiteUrl}&user_id=0&email={email}&filter_by_email=1",LIST_POST:"profile/user/posts?website_url={websiteUrl}&user_id={id}&hhd_expert_id={hhgExpertId}&is_anonymous={isAnonymous}&paging=none&items_per_page={pageSize}",LIST_ANSWERS:"replied/{id}?website_url={websiteUrl}&paging=1&items_per_page={pageSize}&filter_by_expert_hhd={filterByExpertHhd}"},FETCH_PREVIEW:"fetch/preview/?website_url={websiteUrl}",FETCH_MULTI_PREVIEW:"fetch/preview-multi/?website_url={websiteUrl}",HEALTH_TOOL:{CREATE:"health-profile/create?website_url={websiteUrl}",GET_STATUS:"health-profile/{type}/get-status?website_url={websiteUrl}"},GET_ELASTIC_SEARCH:"elasticsearch/search?lang={lang}&website_url={websiteUrl}&keyword={keyWord}&paged={page}&per_page={pageSize}&type={type}",COUNT_ELASTIC_SEARCH:"elasticsearch/count-total?website_url={website_url}&keyword={keyword}"},CARE:{GET_CARE_GEOBYIP:"geobyip?latitude={latitude}&longitude={longitude}&site={site}",GET_CARE_LIST_EMBEDDING:"{type}?site={site}&city_id={cityId}&random=1&{type_id}={id}&recommend_same_province=1",GET_CARE_SPECIALTY_DETAIL:"specialties/{specialtyId}?site={site}",GET_CARE_SERVICE_TYPE_DETAIL:"service-types/{serviceTypeId}?site={site}&keyword={keyword}",GET_CARE_CITY_LIST:"lists/cities?keyword={keyword}&site={site}&_nopaging=1",GET_SPECIALTY_LIST:"specialties?site={site}",GET_SEARCH_CARE:"search/?site={site}&keyword={keyword}&city_id={cityId}&district_id={districtId}&type={type}&specialty_id={specialtyId}&specialty_ids={specialtyIds}&doctor_specialty_id={doctorSpecialtyId}&doctor_ids={doctorIds}&service_id={serviceId}&hospital_branch_name={hospitalBranchName}&latitude={latitude}&longitude={longitude}&distance={distance}&page={page}&per_page={perPage}&show_districts={showDistricts}&_nopaging={noPaging}&is_discover={allowSearchInDistrict}&care_path={isCarePath}&skip_booking={skipBooking}",GET_HOSPITAL_BRANCH_LIST:"/hospital/branch?site={site}&keyword={keyword}",GET_HOSPITAL_DETAIL:"hospital/branch/{id}?site={site}",GET_DOCTOR_LIST:"doctors?site={site}&keyword={keyword}&hospital_id={hospitalId}&random={random}&city_id={cityId}&page={page}&specialty_id={specialtyId}&hospital_branch_id={hospitalBranchId}",GET_DOCTOR_DETAIL:"doctors/{id}?site={site}",GET_DOCTOR_SCHEDULE:"doctors/{id}/schedule?site={site}&from_date={startDate}&to_date={endDate}",GET_SERVICE_SCHEDULE:"hospital/service/{serviceId}/schedule?site={site}&from_date={startDate}&to_date={endDate}",GET_SERVICE_DETAIL:"hospital/service/{serviceId}?site={site}",GET_ALL_SERVICE_BASED_ON_SERVICE:"hospital/services?site={site}&hospital_branch_id={hospitalBranchId}",GET_BRANCH_DETAIL:"search/?site={site}&type={type}&hospital_branch_id={id}",GET_TOP_SERVICES:"options/top_services?site={site}&show_district={showDistrict}&city_id={cityId}&categories={categoryIds}",GET_CITY_ID_BY_LAT_LNG:"geobyip?site=hellobacsi.com&latitude={lat}&longitude={lng}",GET_LISTING_POPULAR:"v4/listing-popular?site={site}",GET_LISTING_DETAIL:"v4/listing?site={site}&product_type={productType}",GET_LISTING_FEEDBACK:"v4/listing-feedback?site={site}",GET_SEARCH_LISTING:"v4/listing-home-search?site={site}&keyword={keyword}"},LEADGEN:{POST_LEAD_IMPRESSION:"campaign/{campaignCode}/impression",POST_LEAD_POPUP_EXIT:"campaign/{campaignCode}/popup_exit",POST_LEAD_LEAD:"campaign/{campaignCode}/lead",POST_LEAD_SEND_OTP:"sms/otp",POST_LEAD_VERIFY_OTP:"sms/verify",POST_LEAD_GET_LOG:"collection/get-data",POST_LEAD_UPDATE_LOG:"collection/log",POST_LEAD_CHECK_PHONE_LOG:"collection/log/check-phone",POST_LEAD_FRISO_VERIFY_PHONE_EXIST:"friso/check",POST_LEAD_VERIFY_EXIST_EMAIL:"collection/log/check-email",POST_LEAD_VERIFY_EXIST_PHONE:"collection/log/check-phone-with-campaign",GET_FORMULA_CTA:"formula-cta?category_id={categoryIds}&country_code={countryCode}",GET_CTA_SUBMIT:"collection/cta-submit",POST_TRACKING_OTHERS:"collection/tracking-others"},SIDIS:{GET_UNSUBSCRIPTION:"unsubscription?eid={eid}&cid={cid}&tid={tid}",PUT_UNSUBSCRIPTION_UPDATE:"unsubscription",GET_SIDIS_TEMPLATE_BY_SLUG:"api/templates/get-by-slug/?domain={domain}&slug={slug}",POST_SIDIS_DUE_DATE:"frontend/tools/due_dates",POST_SIDIS_OVULATION:"frontend/tools/ovulations",POST_SIDIS_BMI:"frontend/tools/bmis",POST_SIDIS_BMR:"frontend/tools/bmrs",POST_SIDIS_THR:"frontend/tools/heart-rates",POST_SIDIS_PWG:"frontend/tools/pregnancies",GET_SIDIS_BMI:"api/bmis/{resultId}",GET_SIDIS_BMR:"api/bmrs/{resultId}",GET_SIDIS_THR:"api/heart-rates/{resultId}",GET_SIDIS_PWG:"api/pregnancies/{resultId}",GET_SIDIS_HEALTH_INFO:"api/my-profile/health-info",GET_SIDIS_RISK_SCREENERS:"api/my-profile/my-health/risk-screeners",GET_SIDIS_RISK_SCREENERS_ID:"api/my-profile/my-health/risk-screeners/{id}"},SUBOT:{POST_VERIFY_SMS_OTP:"sms/update-phone",POST_SEND_OTP:"sms/otp",POST_SEND_OTP_WHATSAPP:"whatsapp/otp",POST_VERIFY_OTP:"sms/verify",POST_VERIFY_OTP_WHATSAPP:"sms/verify-whatsapp",GET_LANDING_PAGE_FIRST_NODE:"landing_page/bot",GET_LANDING_PAGE_NEXT_NODE:"landing_page/messages",POST_LANDING_PAGE_IMPRESSION:"landing_page/impressions",POST_LANDING_PAGE_CLICK:"landing_page/clicks",GET_INLINE_FIRST_NODE:"bots",GET_INLINE_MESSAGE:"inline/messages",GET_INLINE_IMPRESSION:"inline/impressions",GET_INLINE_CLICK:"inline/clicks",GET_SUBOT_LOG:"log/bot/{botId}/{cookieId}/{accountId}",POST_SUBOT_CREATE_LOG:"log/bot",FETCH_URL_DATA:"preview",GET_VOUCHER_QUANTITY:"vouchers/total_quantity?search={search}&client_id={clientId}"},COMMON:{GET_PROVINCE:"provinces?country_code={countryCode}",GET_DISTRICT:"districts?parent_id={parentId}",GET_COMMUNE:"communes?parent_id={parentId}",GET_FOOTER_INFO:"footer",GET_AFFILIATE_PRODUCT:"product/{productId}",GET_CAROUSEL:"carousel/{id}",GET_ABOUT_US_DATA:"about",GET_ADS_TXT:"adspage",POST_UPDATE_LOCATION:"tracking/geo/",GET_AUTHOR:"author/{slug}",GET_PAGE_STATIC:"page/{slug}",BASE_API_PATH:"/",GET_SEARCH_ARTICLES:"search?s={keyword}&page={page}",GET_ABOUT_US_META_TAG:"/about",GET_APP_LANDING_PAGE:"landing-page/tai-app",POST_HHG_CONTACT_FORM:"hhg-contact/v1/submit"},BABY_VACCINE:{POST_SUB_CHANNEL:"frontend/api/channels/registrations?site={domain}",POST_SUB_CHANNEL_DETAIL:"frontend/api/channels?site={domain}",GET_MAIN_TIMELINES:"frontend/api/babies/{babyId}/schedules?site={domain}",POST_RECORD_TIMELINE:"frontend/api/babies/{babyId}/timelines/records?site={domain}",DELETED_RECORD_TIMELINE:"frontend/api/babies/{babyId}/timelines/records/{idRecord}?site={domain}",GET_RESULT_BABY_VACCINE_INFO:"vaccination/result?site={domain}",POST_RECORD_IN_VACCINE_DETAIL:"frontend/api/babies/{babyId}/vaccines/{vaccineId}/records?site={domain}",DELETE_RECORD_IN_VACCINE_DETAIL:"frontend/api/babies/{babyId}/vaccines/{vaccineId}/records/{recordId}?site={domain}",PUT_BABY_DETAIL:"frontend/api/babies/{babyId}?site={domain}",DELETE_BABY:"frontend/api/babies/{babyId}?site={domain}",GET_BANNER_BABY_VACCINE:"frontend/api/banners?site={domain}",ADD_MEASUREMENT:"frontend/api/babies/{babyId}/measurements?site={domain}",GET_HEALTH_TOOL_BABY_VACCINE_INFO:"vaccination/info?site={domain}",GET_HEALTH_TOOL_BABY_VACCINE_LIST:"frontend/api/babies?site={domain}",GET_HEALTH_TOOL_BABY_DETAIL:"frontend/api/babies/{babyId}?site={domain}",GET_GROWTH_CHART_LATEST:"frontend/api/tools/growth-chart?site={domain}",GET_VACCINATION_TOOL_LATEST:"frontend/api/tools/vaccination?site={domain}",GET_HEALTH_TOOL_BABY_DETAIL_V2:"frontend/api/v2/babies/{babyId}?site={domain}",GET_HEALTH_TOOL_BABY_IMMUNIZATION_V2:"frontend/api/v2/babies/{babyId}/statics?site={domain}",GET_VACCINE_DETAIL:"frontend/api/v2/babies/{babyId}/vaccines/{vaccineId}?site={domain}",ADD_INJECTED_DATE:"frontend/api/v2/babies/{babyId}/vaccines/{vaccineId}/records?site={domain}"},USER_PROFILE:{GET_PROFILE:"user/profile/",GET_TOKENS_UID2:"user/uid2",SSO_USER_PROFILE:"user",POST_LOGOUT:"user/logout",SSO_USER_BOOKMARKS:"user/bookmarks",SSO_USER_PASSWORD:"user/settings/password",SSO_USER_EMAIL:"user/settings/update-email",SSO_CLOSE_ACCOUNT:"user/settings/close-account",SSO_HELP:"user/settings/help",POST_USER_REFRESH:"v1/user/refresh"},PREMIUM:{GET_SUGGESTED_TOPIC:"api/v1/categories?external_id={externalId}&site={site}",GET_NEWSLETTER_CATEGORIES:"api/v1/categories?site={site}",POST_SUBSCRIPTION:"api/v1/subscription?site={site}",TEMP_POST_SUBSCRIPTION:"api/v1/subscription/temporary?site={site}",TEMP_POST_SUBSCRIPTION_OFFICIAL:"api/v1/subscription/official?site={site}",TEMP_GET_NEWSLETTER_CATEGORIES:"api/v1/categories/temporary?site={site}",GET_SUBSCRIPTION_CATEGORIES:"api/v1/categories?site={site}"},UNIFIED:{GET_USER_FIELDS:"api/user/fields?site={site}"},ECOMMERCE:{GET_PRODUCT_DETAIL_BY_LIST_IDS:"catalog/products?sku={skuList}",GUEST_GET_CART_ID:"guest-carts",GUEST_ADD_ITEM_TO_CART:"guest-carts/{cartId}/items",GUEST_GET_CART:"guest-carts/{cartId}",GUEST_GET_CART_TOTALS:"guest-carts/{cartId}/totals",GET_CART_ID:"carts/mine",ADD_ITEM_TO_CART:"carts/mine/items",GET_CART:"carts/mine",GET_CART_TOTALS:"carts/mine/totals",MERGE_GUEST_CART_TO_MINE:"guest-carts/{cartId}"},CHATBOT:{SEND_MESSAGE:"{project}/v1/reply",GET_CHAT_HISTORY:"{project}/v1/users/{userId}/chats/{chatId}"},VIDEOS:{GET_LANDING_PAGE:"landing-page/videos/",GET_LISTING:"videos?type={type}&tags={tags}&order_by={orderBy}&page={page}&per_page={pageSize}",GET_VIDEO_DETAIL:""},RAMADAN_WIDGET:{GET_ZONES:"ramadan-widget/zones",GET_PRAYER_TIMES:"ramadan-widget/prayer-times?zone={zoneId}&lat={lat}&lon={lng}&date={date}"},OPEN_HEALTH_TOOLS:{BMI_LOG:"api/v1/bmi/log"},POLL_WIDGET:{GET_WIDGETS:"poll-article/polls?poll_ids={ids}",GET_RESULT:"poll-article/results/{id}?user_id={userId}",POST_VOTE:"poll-article/vote"},RATING_REVIEW:{POST_RATING_REVIEW:"rating-review",GET_RATING_REVIEWS:"rating-reviews?collection_id={collectionId}&rating={rating}&page={page}&per_page={perPage}"},HOMEPAGE:{GET_HOMEPAGE_SETTING:"home/settings",GET_HOMEPAGE_SITEWIDE_BANNER:"home/sitewide-banner",GET_HOMEPAGE_MEDICAL_REVIEWED:"home/medical-reviewed",GET_HOMEPAGE_BANNER:"home/home-banner",GET_HOMEPAGE_SIDE_BANNER:"home/side-banner",GET_HOMEPAGE_FOOTER_BANNER:"home/footer-banner",GET_HOMEPAGE_POSTS:"home/trending-post?type={type}",GET_HOMEPAGE_LATEST_POSTS:"articles?page=1&_islatest=1",GET_HOMEPAGE_COMMUNITY_DATA:"home/community",GET_HOMEPAGE_HEALTH_TOOL:"home/health-tools",GET_HOMEAGE_SCHEMA:"home/schema",GET_HOME_VIDEOS:"home/videos/"}}},"Sb+D":function(e,t,i){i.d(t,{Cp:function(){return captureException},wd:function(){return captureMessage}});let debug_showDebug=()=>"undefined"==typeof localStorage||"true"===localStorage.getItem("hhg_debug"),a=null,getSentry=async()=>a||((a=await i.e(2538).then(i.bind(i,"4Q42")))?(a.init({dsn:"https://a9c5a9ddf01e4f4c88e80bf43c490a8f@sentry.hellohealthgroup.com/15",tracesSampleRate:.1,environment:"production",beforeSend:function(e){return -1!==window.location.search.indexOf("fbclid")?null:e}}),a):null),captureException=async function(){for(var e=arguments.length,t=Array(e),i=0;iS Exception",t):null)},captureMessage=async function(){for(var e=arguments.length,t=Array(e),i=0;iS Message",t):null)}},"77FC":function(e,t,i){i.d(t,{H4:function(){return logApiCall}});var a=i("Sb+D");let o={},logApiCall=(e,t,i,n,r)=>{setTimeout(()=>{if(o[t]&&o[t]===JSON.stringify(r))return;o[t]=JSON.stringify(r);let l={"user-id":n,path:t,method:i,body:null==e?void 0:e.data,locale:"vi-VN",error:r};(0,a.wd)("clientSide_logs_api_call",{level:"log",extra:l})},0)}},Slg3:function(e,t,i){i.d(t,{M:function(){return CardArticleAuthor},F:function(){return CardArticleAuthorName}});var a=i("BGKE"),o=i("+OUp"),n=i("P+HS"),r=i("vH4S"),l=i("/zZM"),c=i.n(l),s=i("dDsW"),d=i("bPK4"),p=i("AG8C");let CardArticleAuthorName=e=>{let{intlKey:t,formatOptions:i,formatOptionsProps:l}=e,{author_name:_,expert_display_name:h,fact_check_display_name:E,specialty:u,organisation:T,post_modified:g}=i||{},{author_name:m,expert_display_name:I,fact_check_display_name:A,specialty:y,organisation:O,post_modified:v}=l||{},{formatMessage:b}=(0,s.A)(),{locale:S}=(0,p.$)(),L=(0,o.useMemo)(()=>(0,d.oN)(S),[S]),f=(0,r.useMantineTheme)(),N=(0,o.useCallback)(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{href:t}=e,i=t?c():"span",o={...e};return t||(delete o.href,delete o["data-event-category"],delete o["data-event-action"],delete o["data-event-label"]),(0,a.Y)(i,{...o})},[L]);return(0,a.Y)(a.FK,{children:b({id:t},{author_name:(0,a.Y)("span",{style:{fontWeight:n.FontWeight.halfBold,color:f.colors.gray[8]},children:N({..._,...m})}),expert_display_name:(0,a.Y)("span",{style:{fontWeight:n.FontWeight.halfBold,color:f.colors.gray[8]},children:N({...h,...I})}),fact_check_display_name:(0,a.Y)("span",{style:{fontWeight:n.FontWeight.halfBold,color:f.colors.gray[8]},children:N({...E,...A})}),specialty:N({...u,...y}),organisation:N({...T,...O}),post_modified:N({...g,...v})})})};var _=i("9brV"),h=i("rBCA"),E=i("iBNF");let u=(0,h.A)(n.Text,{target:"e18xn5c50"})("flex:1;min-width:0;margin:0;display:flex;align-items:center;min-height:",(0,r.rem)(24),";line-height:1.3;color:",E.w.colors.gray600,";.cardArticleAuthorLabelContent{min-width:0;}a,.author-name{color:",E.w.colors.gray800,";}"),T=(0,h.A)("a",{target:"e18xn5c51"})("display:block;width:",(0,r.rem)(24),";height:",(0,r.rem)(24),";flex-shrink:0;line-height:0;span:first-child{font-weight:500;}.cardArticleAuthorIndicator,.cardArticleAuthorAvatar{width:100%;height:100%;min-width:unset;max-width:unset;}"),g=(0,h.A)("div",{target:"e18xn5c52"})("display:flex;align-items:flex-start;gap:",(0,r.rem)(8),";"),CardArticleAuthor=e=>{let{loading:t,author:i,authorTracking:o,className:n,style:l}=e,{permalink:c,name:s,avatar:d,avatarAlt:p}=i||{},h="string"==typeof d?(0,a.Y)(r.Avatar,{src:d,alt:"string"==typeof s?s:p||"",radius:"50%",className:"cardArticleAuthorAvatar",children:(0,a.Y)("img",{loading:"lazy",src:"".concat(_.nS,"/avatar.jpg"),alt:"",style:{borderRadius:"50%"}})}):d,E=c?{...null==o?void 0:o.authorAvatar,href:c}:{};return t?(0,a.FD)(g,{className:(0,r.clsx)("cardArticleAuthor",n),style:l,children:[(0,a.Y)(T,{className:"cardArticleAuthorAvatarWrap",children:(0,a.Y)(r.Skeleton,{width:(0,r.rem)(24),height:(0,r.rem)(24),radius:"50%"})}),(0,a.Y)(u,{className:"cardArticleAuthorLabel",children:(0,a.Y)("span",{className:"cardArticleAuthorLabelContent",children:(0,a.Y)(r.Skeleton,{width:"100%",height:"1rem"})})})]}):i?(0,a.FD)(g,{className:(0,r.clsx)("cardArticleAuthor",n),style:l,children:[(0,a.Y)(T,{as:c?"a":"div",className:"cardArticleAuthorAvatarWrap",...E,children:h}),(0,a.Y)(u,{size:"c1",className:"cardArticleAuthorLabel",children:(0,a.Y)("span",{className:"cardArticleAuthorLabelContent",children:s})})]}):null}},q6HN:function(e,t,i){i.d(t,{m:function(){return Container}});var a=i("BGKE"),o=i("TSYQ"),n=i.n(o);let Container=e=>{let{className:t,isFluid:i,...o}=e;return(0,a.Y)("div",{className:n()("hhg-page-container",t,{fluid:i}),...o})}},"82l1":function(e,t,i){i.d(t,{z:function(){return ExpertRelativeArticleCard}});var a=i("BGKE"),o=i("+OUp"),n=i("iBNF"),r=i("tuDO"),l=i("dDsW"),c=i("ROQx"),s=i("D7zM"),d=i("ns0B"),p=i.n(d),_=i("/zZM"),h=i.n(_),E=i("JOt+"),u=i("LSb+"),T=i("Slg3"),g=i("wpcy"),m=i("/sjq"),I=i("AG8C"),A=i("9brV"),y=i("VnHZ"),O=i("2Zdi"),v=i("CWxQ"),b=i("+YhV"),S=i("U+Ez"),L=i("rBCA"),f=i("CL9C");let N=(0,L.A)("h6",{target:"e1kexjbs0"})("color:",n.w.colors.gray600,";font-size:14px;font-weight:",n.w.sizes.fwBold,";line-height:22px;"),C=(0,L.A)(h(),{target:"e1kexjbs1"})("display:inline-block;width:100%;height:100%;color:inherit;text-decoration:none;"),P=(0,L.A)("article",{target:"e1kexjbs2"})("display:flex;width:100%;box-sizing:border-box;padding:16px 16px 16px 0;background-color:",n.w.colors.white,";cursor:pointer;.content{display:flex;width:100%;flex-direction:column;.inner-content{display:flex;flex-direction:column;a{text-decoration:none;}.title a{display:-webkit-box;overflow:hidden;margin-top:4px;-webkit-box-orient:vertical;-webkit-line-clamp:2;}.text{display:-webkit-box;overflow:hidden;max-width:100%;margin-top:4px;-webkit-box-orient:vertical;-webkit-line-clamp:2;}}}.footer{display:flex;.author{width:calc(100% - 20px);}.bookmark{display:flex;width:12px;height:16px;margin-left:8px;cursor:pointer;svg{width:100%;height:100%;}}}.banner{position:relative;min-width:100px;max-width:100px;max-width:100%;height:100%;max-height:100%;border-radius:",n.w.borderRadius,";img{width:100%;height:100%;border-radius:",n.w.borderRadius,";object-fit:cover;object-position:center;pointer-events:none;}}&[data-size='sm'][data-direction='horizontal']{padding:20px 0;.label{margin-bottom:0;}.banner{width:100px;height:100px;margin:0 16px 0 0;",f.M.mbDown,"{min-width:100px;max-width:100px;height:100px;margin:0 16px 0 0;}}.text{display:none;}}&[data-direction='horizontal']{.footer{margin-top:auto;}}&[data-size='md'][data-direction='horizontal']{padding:16px 0;.banner{min-width:200px;max-width:200px;height:150px;margin:0 24px 0 0;}",f.M.mbDown,"{.text{display:none;}.banner{min-width:100px;max-width:100px;height:100px;margin:0 16px 0 0;}.specialty{display:none;}}}&[data-direction='vertical']{flex-direction:column;padding:0 0 0 0;&[data-size='sm']{.banner{height:150px;}.text{display:none;}.title{margin-top:0;margin-bottom:12px;}}&[data-size='lg']{.banner{max-height:312px;",f.M.mbDown,"{max-height:192px;}}.content{margin-top:16px;}.footer{margin-top:16px;}.text{display:-webkit-box;margin-top:8px;margin-bottom:16px;-webkit-box-orient:vertical;-webkit-line-clamp:3;}}.banner{min-width:100%;height:468px;margin:0;}}&[data-is-expert]{.inner-content label.text{display:none;}.specialty > [data-tag='h6']{font-size:13px;font-weight:400;line-height:19px;}&[data-size='md'] .footer .author .avatar{margin-right:8px;}",f.M.mbUp,"{&[data-size='md'] .footer .author .avatar{width:40px;height:40px;margin-right:16px;}}.title{",f.M.mbDown,"{margin-bottom:8px;}}&[data-direction='horizontal']{.footer{margin-top:auto;}}}"),R=(0,L.A)("div",{target:"e1kexjbs3"})("display:flex;width:100%;flex-direction:row;align-items:center;justify-content:space-between;margin-top:8px;.author{display:flex;align-items:center;.avatar,.expert-avatar{flex-shrink:0;img{width:100%;height:100%;border-radius:50%;}}.poster{display:flex;align-items:center;white-space:pre-wrap;p{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;font-weight:400;-webkit-line-clamp:3;a{color:",n.w.colors.gray800,";text-decoration:none;}span{color:",n.w.colors.gray400,";}}}.expert{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;a{text-decoration:none;}}.avatar{width:24px;height:24px;margin-right:8px;",f.M.mbDown,"{margin-right:4px;}&[data-size='lg']{",f.M.mbUp,"{width:32px;height:32px;margin-right:12px;}}}.expert-avatar{",f.M.mbUp,"{width:40px;height:40px;margin-right:16px;}",f.M.mbDown,"{width:32px;height:32px;margin-right:8px;}&[data-size='lg']{",f.M.mbUp,"{width:64px;height:64px;margin-right:16px;}",f.M.mbDown,"{width:40px;height:40px;margin-right:16px;}}}}"),CardAuthor=e=>{let{avatarImg:t,authorName:i,authorLink:o,uploadTime:n,size:r}=e;return(0,a.Y)(R,{children:(0,a.FD)("div",{className:"author",children:[(0,a.Y)("div",{className:"avatar","data-size":r,children:t}),(0,a.Y)("div",{className:"poster",children:(0,a.FD)(b.T,{size:"lg"===r?"p3":"p4",children:[(0,a.FD)(h(),{prefetch:!1,href:o||"",children:[i," •\xa0"]}),(0,a.Y)("span",{children:n})]})})]})})},CardExpert=e=>{let{isMobile:t,avatarImg:i,name:o,link:r,size:l="lg",specialty:c}=e;return(0,a.Y)(R,{children:(0,a.FD)("div",{className:"author",children:[(0,a.Y)("div",{className:"expert-avatar","data-size":l,children:i}),(0,a.Y)("div",{className:"expert",children:t?(0,a.Y)(h(),{href:r||"",prefetch:!1,children:(0,a.FD)(a.FK,{children:[(0,a.Y)(S.H,{tag:"h6",className:"expert__name",color:n.w.colors.gray600,children:o}),(0,a.Y)(b.T,{color:n.w.colors.gray500,size:"p3",className:"specialty",children:c})]})}):(0,a.Y)(h(),{href:r||"",prefetch:!1,children:"lg"===l?(0,a.FD)(a.FK,{children:[(0,a.Y)(S.H,{tag:"h6",className:"expert__name",color:n.w.colors.gray600,children:o}),(0,a.Y)(b.T,{color:n.w.colors.gray500,size:"p3",className:"specialty",children:c})]}):(0,a.FD)(a.FK,{children:[(0,a.Y)(N,{color:n.w.colors.gray600,className:"expert__name",children:o}),(0,a.Y)(b.T,{color:n.w.colors.gray500,size:"p4",className:"specialty",children:c})]})})})]})})},ExpertArticleCard=e=>{let{isMobile:t=!0,direction:i="horizontal",size:o="md",banner:n,isBookmarkDisplayed:r=!1,type:l="author",section:c="normal",onBookmark:s,categoryName:d,styleLabel:p,title:_,styleTitle:E,text:u,specialty:T,avatarImg:g,authorName:m,authorLink:I,articleLink:A,uploadTime:y,isBookmark:O=!1,className:v,style:L,categoryLink:f,styleBanner:N,dataEventCategoryForCategory:R,dataEventActionForCategory:D,dataEventLabelForCategory:x,dataEventCategoryForTitle:G,dataEventActionForTitle:w,dataEventLabelForTitle:M,dataEventCategoryForBanner:k,dataEventActionForBanner:H,dataEventLabelForBanner:U,dataEventCategoryForBookmark:Y,dataEventActionForBookmark:B,dataEventLabelForBookmark:F,onClickCategoryName:V}=e;return(0,a.FD)(P,{className:v,"data-size":o,style:L,"data-direction":i,"data-is-expert":"expert"===l||void 0,children:[(0,a.Y)("div",{className:"banner",style:N,children:(0,a.Y)(C,{href:A||"#","data-event-category":k,"data-event-action":H,"data-event-label":U,children:n})}),(0,a.FD)("div",{className:"content",children:[(0,a.FD)("div",{className:"inner-content",children:[(0,a.FD)("div",{style:{display:"flex",justifyContent:"space-between"},children:[(0,a.Y)(b.T,{style:p,className:"label",size:t||"home"!==c||"lg"!==o||"author"!==l?"c2":"c1",type:"caption",children:(0,a.Y)(C,{"data-event-category":R,"data-event-action":D,"data-event-label":x,href:f||"#",onClick:e=>{V&&V(e)},children:d})}),r&&(0,a.Y)("a",{"data-event-category":Y,"data-event-action":B,"data-event-label":F,className:"bookmark",onClick:e=>{e.stopPropagation(),s&&s()},children:O?(0,a.Y)("svg",{width:"14",height:"18",viewBox:"0 0 14 18",fill:"none",children:(0,a.Y)("path",{d:"M13 17L7 12.5556L1 17V2.77778C1 2.30628 1.18061 1.8541 1.5021 1.5207C1.82359 1.1873 2.25963 1 2.71429 1H11.2857C11.7404 1 12.1764 1.1873 12.4979 1.5207C12.8194 1.8541 13 2.30628 13 2.77778V17Z",fill:"#2ED69E",stroke:"#2ED69E",strokeWidth:"1.75",strokeLinecap:"round",strokeLinejoin:"round"})}):(0,a.Y)("svg",{width:"14",height:"18",viewBox:"0 0 14 18",fill:"none",children:(0,a.Y)("path",{d:"M13 17L7 12.5556L1 17V2.77778C1 2.30628 1.18061 1.8541 1.5021 1.5207C1.82359 1.1873 2.25963 1 2.71429 1H11.2857C11.7404 1 12.1764 1.1873 12.4979 1.5207C12.8194 1.8541 13 2.30628 13 2.77778V17Z",stroke:"#262626",strokeWidth:"1.75",strokeLinecap:"round",strokeLinejoin:"round"})})})]}),(0,a.Y)(S.H,{tag:"lg"===o&&"expert"===l?"h4":"lg"===o&&"home"===c?t?"h4":"h3":"lg"===o?"h4":"h5",style:E,className:"title",as:"lg"===o?"h2":"h3",children:(0,a.Y)(C,{href:A||"#","data-event-category":G,"data-event-action":w,"data-event-label":M,children:_})}),u&&(0,a.Y)(h(),{href:A||"#",prefetch:!1,children:(0,a.Y)(b.T,{size:"lg"===o?"p3":"p4",className:"text",children:u})})]}),(0,a.Y)("div",{className:"footer",children:"author"===l?(0,a.Y)(CardAuthor,{size:o,avatarImg:g,authorName:m,authorLink:I,uploadTime:y}):(0,a.Y)(CardExpert,{size:o,isMobile:t,avatarImg:g,specialty:T||"",name:m,link:I})})]})]})},ExpertArticleCardWrapper=e=>{let{article:t,avatarImg:i,avatarImgRenderer:n,authorName:r,authorLink:l,title:c,text:d,..._}=e,{state:b,dispatch:S}=(0,o.useContext)(y.B),{userInfo:L}=b||{},{bookmarks:f=[]}=L||{},[N,C]=(0,o.useState)(-1!==f.indexOf(t.id)),[P,R]=(0,o.useState)(!1),{locale:D}=(0,I.$)(),x=(0,g.o8)(t),G=(0,O.QS)({article:t,locale:D,version:"short"}),bookmarkArticle=e=>{if(null==L?void 0:L.id)C(e=>!e),N?(async()=>{let{_status:t}=await (0,E.callApiNew)(u.PATHS.SSO.DELETE_BOOKMARK,{method:"DELETE",data:{host_name:m.domainLocales[D],post_ids:[e]}},"sso");1===t&&S({type:v.Q.REMOVE_BOOKMARKS,payload:{bookmarks:[e],bookmarkId:e}})})():(async()=>{let{_status:t,_data:i}=await (0,E.callApiNew)(u.PATHS.SSO.CREATE_BOOKMARK,{method:"POST",data:{host_name:m.domainLocales[D],post_ids:[e]}},"sso");1===t&&S({type:v.Q.ADD_BOOKMARKS,payload:{bookmarks:[e],bookmarkId:e,isFirstTimeBookmark:i.first_time_bookmark}})})();else{let t=window.location.href,i=encodeURIComponent("".concat(t).concat(t.includes("?")?"&":"?","source=bookmark,").concat(e));A.dX?s.u.getState().triggerLogin({source:"bookmark,".concat(e)}):window.location.href=A.a5?"".concat(A.a5,"?returnUrl=").concat(i):t}};return(0,o.useEffect)(()=>{R(!0)},[]),(0,o.useEffect)(()=>{C(-1!==f.indexOf(t.id))},[f.length]),(0,a.Y)(ExpertArticleCard,{dataEventCategoryForBookmark:"Bookmark",dataEventActionForBookmark:"Click",dataEventLabelForBookmark:"https://".concat(m.domainLocales[D]).concat(t.permalinkDecode),..._,title:c?p()(c):"",text:d?p()(d):"",avatarImg:(0,a.Y)(h(),{href:l||x.permalink,prefetch:!1,children:i||n&&n(x.avatar,x.name)||(0,a.Y)("img",{loading:"lazy",src:x.avatar,alt:x.name})}),authorName:(0,a.Y)(a.FK,{children:(0,a.Y)(T.F,{...G})}),authorLink:l||x.permalink,isBookmarkDisplayed:P,isBookmark:N,onBookmark:()=>bookmarkArticle(t.id)})},D=(0,L.A)("div",{target:"eh4dhtq0"})("display:flex;flex-direction:column;align-items:center;.see-more-btn{margin-top:16px;}"),x=(0,L.A)("div",{target:"eh4dhtq1"})("margin-top:0px;& >:not(:last-child){margin-bottom:8px;}background-color:",n.w.colors.neutral50,";"),G=(0,L.A)("div",{target:"eh4dhtq2"})("background-color:",n.w.colors.white,";.banner{width:100%;min-height:192px;}",f.M.mbUp,"{padding:24px 16px 24px 0;}",f.M.mbDown,"{padding:24px 0;}&[data-size='custom']{.avatar[data-size='lg']{width:unset;height:unset;margin-top:16px;margin-right:16px;}}"),w=(0,L.A)("div",{target:"eh4dhtq3"})("padding:16px;",f.M.mbDown,"{padding:0;}background-color:",n.w.colors.white,";"),M=(0,L.A)("div",{target:"eh4dhtq4"})("display:flex;align-items:flex-start;justify-content:space-between;padding:0;background-color:",n.w.colors.white,";> div{width:calc(50% - 8px);}"),k=(0,L.A)("div",{target:"eh4dhtq5"})("display:flex;width:50%;align-self:stretch;justify-content:stretch;background-color:",n.w.colors.white,";justify-self:stretch;& > div > div{height:100%;}.banner{min-height:312px;}"),H=(0,L.A)("div",{target:"eh4dhtq6"})("display:flex;width:50%;flex-direction:column;align-items:stretch;align-self:stretch;justify-content:center;padding-top:8px;background-color:",n.w.colors.white,";.banner{min-height:150px;}.content .new .text{margin:6px 0;}& >:last-child{flex:1;}"),U=(0,L.A)("div",{target:"eh4dhtq7"})("padding:0 0 8px 0;background-color:",n.w.colors.neutral50,";marin-bottom:8px;&[data-size='custom']{.avatar[data-size='md']{width:40px;height:40px;margin-right:16px;}}"),Y=(0,L.A)("div",{target:"eh4dhtq8"})("width:50%;padding:0 16px 24px 0;background-color:",n.w.colors.white,";&[data-size='custom']{.avatar[data-size='md']{width:40px;height:40px;margin-right:16px;}}"),B=(0,L.A)("div",{target:"eh4dhtq9"})("display:flex;flex-wrap:wrap;"),F=(0,L.A)("div",{target:"e3jvn260"})("position:relative;img{border-radius:50%;}.avatar{object-fit:cover;}.badge{position:absolute;right:0;bottom:0;}"),ExpertRelativeArticleCard=e=>{let{isMobile:t,trendingPosts:i=[]}=e,{locale:s}=(0,I.$)(),{formatMessage:d}=(0,l.A)(),[p,_]=(0,o.useState)(4),getAuthorUrl=e=>(0,c.th)(e);return(0,a.FD)(D,{children:[t?(0,a.FD)(x,{children:[i.slice(0,1).map((e,t)=>{var i,o,n;return(0,a.Y)(G,{"data-size":"custom",children:(0,a.Y)(ExpertArticleCardWrapper,{article:e,dataEventCategoryForTitle:"Top Article Title",dataEventActionForTitle:"Click ".concat(t+1),dataEventLabelForTitle:"https://".concat(m.domainLocales[s]).concat(e.permalinkDecode),dataEventCategoryForBanner:"Top Article Banner",dataEventActionForBanner:"Click ".concat(t+1),dataEventLabelForBanner:"https://".concat(m.domainLocales[s]).concat(e.permalinkDecode),dataEventCategoryForCategory:"Top Category Title",dataEventActionForCategory:"Click ".concat(t+1),dataEventLabelForCategory:"https://".concat(m.domainLocales[s]).concat(e.category.permalinkDecode),type:"expert",size:"lg",authorName:null==e?void 0:null===(i=e.author)||void 0===i?void 0:i.displayName,specialty:null==e?void 0:null===(o=e.author)||void 0===o?void 0:o.specialty,banner:(0,a.Y)("img",{src:e.featureImageMobile||e.featureImage||A.I6,alt:e.postName,loading:"lazy"}),avatarImgRenderer:(t,i)=>{var o,n;return(0,a.FD)(F,{children:[(0,a.Y)("img",{loading:"lazy",src:t,className:"avatar",alt:i}),(null==e?void 0:null===(o=e.author)||void 0===o?void 0:o.role)&&(0,a.Y)("img",{loading:"lazy",src:"".concat(A.nS,"/reviewer-").concat(null==e?void 0:null===(n=e.author)||void 0===n?void 0:n.role,".svg"),alt:"badge",className:"badge",style:{width:18,height:18}})]})},categoryLink:e.category.permalink,articleLink:e.permalink,direction:"vertical",categoryName:null===(n=e.category)||void 0===n?void 0:n.displayName,title:e.postName,text:e.excerpt,styleLabel:{color:e.category.textColor},uploadTime:e.modifiedTime,authorLink:getAuthorUrl(null==e?void 0:e.author)})},e.id)}),i.slice(1,p).map((e,t)=>{var i,o,n;return(0,a.Y)(w,{children:(0,a.Y)(ExpertArticleCardWrapper,{article:e,dataEventCategoryForTitle:"Top Article Title",dataEventActionForTitle:"Click ".concat(t+4),dataEventLabelForTitle:"https://".concat(m.domainLocales[s]).concat(e.permalinkDecode),dataEventCategoryForBanner:"Top Article Banner",dataEventActionForBanner:"Click ".concat(t+4),dataEventLabelForBanner:"https://".concat(m.domainLocales[s]).concat(e.permalinkDecode),dataEventActionForCategory:"Top Category Title",dataEventCategoryForCategory:"Click ".concat(t+4),dataEventLabelForCategory:"https://".concat(m.domainLocales[s]).concat(e.category.permalinkDecode),type:"expert",size:"md",authorName:null==e?void 0:null===(i=e.author)||void 0===i?void 0:i.displayName,specialty:null==e?void 0:null===(o=e.author)||void 0===o?void 0:o.specialty,banner:(0,a.Y)("img",{src:e.featureImageMobileXs||e.featureImage||A.I6,loading:"lazy",style:{width:"100%",height:"100%"},alt:e.postName}),styleLabel:{color:e.category.textColor},categoryLink:e.category.permalink,articleLink:e.permalink,categoryName:null===(n=e.category)||void 0===n?void 0:n.displayName,title:e.postName,text:e.excerpt,avatarImgRenderer:(t,i)=>{var o,n;return(0,a.FD)(F,{children:[(0,a.Y)("img",{loading:"lazy",src:t,className:"avatar",alt:i}),(null==e?void 0:null===(o=e.author)||void 0===o?void 0:o.role)&&(0,a.Y)("img",{loading:"lazy",src:"".concat(A.nS,"/reviewer-").concat(null==e?void 0:null===(n=e.author)||void 0===n?void 0:n.role,".svg"),alt:"badge",className:"badge",style:{width:16,height:16}})]})},uploadTime:e.modifiedTime,authorLink:getAuthorUrl(null==e?void 0:e.author)})},e.id)})]}):(0,a.FD)("div",{style:{backgroundColor:n.w.colors.white,width:"100%"},children:[(0,a.FD)(M,{children:[(0,a.Y)(k,{children:i.slice(0,1).map(e=>{var t,i,o,n,r,l;return(0,a.Y)(G,{"data-size":"custom",children:(0,a.Y)(ExpertArticleCardWrapper,{article:e,dataEventCategoryForTitle:"Top Article Title",dataEventActionForTitle:"Click 1",dataEventLabelForTitle:"https://".concat(m.domainLocales[s]).concat(e.permalinkDecode),dataEventCategoryForCategory:"Top Category Title",dataEventActionForCategory:"Click 1",dataEventLabelForCategory:"https://".concat(m.domainLocales[s]).concat(e.category.permalinkDecode),dataEventCategoryForBanner:"Top Article Banner",dataEventActionForBanner:"Click 1",dataEventLabelForBanner:"https://".concat(m.domainLocales[s]).concat(e.permalinkDecode),type:"expert",direction:"vertical",size:"lg",authorName:null==e?void 0:null===(t=e.author)||void 0===t?void 0:t.displayName,specialty:null==e?void 0:null===(i=e.author)||void 0===i?void 0:i.specialty,banner:(0,a.Y)("img",{src:e.featureImageMobile||e.featureImage||A.I6,alt:e.postName,style:{width:"100%",height:"100%"},loading:"lazy"},e.id),styleLabel:{color:e.category.textColor},categoryLink:e.category.permalink,articleLink:e.permalink,categoryName:null===(o=e.category)||void 0===o?void 0:o.displayName,title:e.postName,text:e.excerpt,avatarImg:(0,a.FD)(F,{children:[(0,a.Y)("img",{loading:"lazy",src:null==e?void 0:null===(n=e.author)||void 0===n?void 0:n.thumbnailAvatar,className:"avatar",alt:d({id:"articlePage.authorAvatarAlt"}),style:{width:64,height:64}}),(null==e?void 0:null===(r=e.author)||void 0===r?void 0:r.role)&&(0,a.Y)("img",{loading:"lazy",src:"".concat(A.nS,"/reviewer-").concat(null==e?void 0:null===(l=e.author)||void 0===l?void 0:l.role,".svg"),alt:"badge",className:"badge",style:{width:24,height:24}})]}),uploadTime:e.modifiedTime,authorLink:getAuthorUrl(null==e?void 0:e.author)})},e.id)})}),(0,a.Y)(H,{children:i.slice(1,4).map((e,t)=>{var i,o,n;return(0,a.Y)(U,{"data-size":"custom",children:(0,a.Y)(ExpertArticleCardWrapper,{article:e,dataEventCategoryForTitle:"Top Article Title",dataEventActionForTitle:"Click ".concat(t+4),dataEventLabelForTitle:"https://".concat(m.domainLocales[s]).concat(e.permalinkDecode),dataEventCategoryForBanner:"Top Article Banner",dataEventActionForBanner:"Click ".concat(t+4),dataEventLabelForBanner:"https://".concat(m.domainLocales[s]).concat(e.permalinkDecode),dataEventCategoryForCategory:"Top Category Title",dataEventActionForCategory:"Click ".concat(t+4),dataEventLabelForCategory:"https://".concat(m.domainLocales[s]).concat(e.category.permalinkDecode),type:"expert",size:"md",direction:"horizontal",authorName:null==e?void 0:null===(i=e.author)||void 0===i?void 0:i.displayName,specialty:null==e?void 0:null===(o=e.author)||void 0===o?void 0:o.specialty,banner:(0,a.Y)("img",{loading:"lazy",src:e.featureImageMobileXs||e.featureImage||A.I6,alt:e.postName,style:{width:"100%",height:"100%"}}),categoryLink:e.category.permalink,articleLink:e.permalink,categoryName:null===(n=e.category)||void 0===n?void 0:n.displayName,title:e.postName,text:"",avatarImgRenderer:(t,i)=>{var o,n;return(0,a.FD)(F,{children:[(0,a.Y)("img",{loading:"lazy",src:t,className:"avatar",alt:i}),(null==e?void 0:null===(o=e.author)||void 0===o?void 0:o.role)&&(0,a.Y)("img",{loading:"lazy",src:"".concat(A.nS,"/reviewer-").concat(null==e?void 0:null===(n=e.author)||void 0===n?void 0:n.role,".svg"),alt:"badge",className:"badge",style:{width:16,height:16}})]})},styleLabel:{color:e.category.textColor},uploadTime:e.modifiedTime,authorLink:getAuthorUrl(null==e?void 0:e.author)})},e.id)})})]}),(0,a.Y)(B,{children:i.slice(4,p).map((e,t)=>{var i,o,n;return(0,a.Y)(Y,{"data-size":"custom",children:(0,a.Y)(ExpertArticleCardWrapper,{article:e,dataEventCategoryForTitle:"Top Article Title",dataEventActionForTitle:"Click ".concat(t+4),dataEventLabelForTitle:"https://".concat(m.domainLocales[s]).concat(e.permalinkDecode),dataEventCategoryForBanner:"Top Article Banner",dataEventActionForBanner:"Click ".concat(t+4),dataEventLabelForBanner:"https://".concat(m.domainLocales[s]).concat(e.permalinkDecode),dataEventCategoryForCategory:"Top Category Title",dataEventActionForCategory:"Click ".concat(t+4),dataEventLabelForCategory:"https://".concat(m.domainLocales[s]).concat(e.category.permalinkDecode),type:"expert",size:"md",direction:"horizontal",authorName:null==e?void 0:null===(i=e.author)||void 0===i?void 0:i.displayName,specialty:null==e?void 0:null===(o=e.author)||void 0===o?void 0:o.specialty,banner:(0,a.Y)("img",{loading:"lazy",src:e.featureImageMobileXs||e.featureImage||A.I6,alt:e.postName,style:{width:"100%",height:"100%"}}),categoryLink:e.category.permalink,articleLink:e.permalink,categoryName:null===(n=e.category)||void 0===n?void 0:n.displayName,title:e.postName,text:"",avatarImgRenderer:(t,i)=>{var o,n;return(0,a.FD)(F,{children:[(0,a.Y)("img",{loading:"lazy",src:t,className:"avatar",alt:i}),(null==e?void 0:null===(o=e.author)||void 0===o?void 0:o.role)&&(0,a.Y)("img",{loading:"lazy",src:"".concat(A.nS,"/reviewer-").concat(null==e?void 0:null===(n=e.author)||void 0===n?void 0:n.role,".svg"),alt:"badge",className:"badge",style:{width:16,height:16}})]})},styleLabel:{color:e.category.textColor},uploadTime:e.modifiedTime,authorLink:getAuthorUrl(null==e?void 0:e.author)})},e.id)})})]}),i.length>p?(0,a.Y)(r.B,{size:"md",className:"see-more-btn",onClick:()=>_(e=>e+4),children:d({id:"experts.moreArticles",defaultMessage:"More Articles"})}):null]})}},Lo4g:function(e,t,i){i.d(t,{s:function(){return HealthToolBreadcrumb}});var a=i("BGKE"),o=i("P+HS"),n=i("vH4S"),r=i("bPK4"),l=i("a5L+"),c=i("AG8C");function hasProtocol(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return/^https?:\/\//i.test(e)}let HealthToolBreadcrumb=e=>{let{pageItem:t,...i}=e,s=(0,l.a)(),{locale:d}=(0,c.$)();return(0,a.Y)(n.Container,{size:"lg",my:16,...i,children:(0,a.Y)(o.Breadcrumbs,{children:(t||[]).map(e=>({dataEventCategory:"Breadcrumb",dataEventAction:"Click",dataEventLabel:hasProtocol(e.value)?e.value:"".concat((0,r.oN)(d)).concat(e.value),label:e.label||"",value:hasProtocol(e.value)?e.value:"".concat((0,r.oN)(d)).concat(e.value)})).map(e=>(0,a.Y)(o.Breadcrumbs.Item,{href:e.value,...e,size:s?"p3":"p4",children:e.label},e.value))})})}},moTl:function(e,t,i){i.d(t,{J:function(){return TableOfContent}});var a=i("BGKE"),o=i("+OUp"),n=i("rBCA"),r=i("iBNF");let l=(0,n.A)("div",{target:"e16c9ozp0"})("display:flex;flex-wrap:wrap;align-items:center;.organisation{color:",r.w.colors.gray500,";a,a:visited{text-decoration:none;}a[href]{color:",r.w.colors.gray500,";text-decoration:underline;}}--font-weight-lg:",r.w.sizes.fwBold,";--font-weight-md:",r.w.sizes.fwSemiBold,";--font-weight-sm:",r.w.sizes.fwRegular,";&[data-size='lg']{font-size:18px;font-weight:var(--font-weight-lg);line-height:26px;}&[data-size='md']{font-size:16px;font-weight:var(--font-weight-md);line-height:24px;}&[data-size='sm']{font-size:14px;font-weight:var(----font-weight-sm);line-height:22px;}"),c=(0,n.A)("span",{target:"e16c9ozp1"})("p{color:",r.w.colors.gray500,";}"),s=(0,n.A)("a",{target:"e16c9ozp2"})("color:",r.w.colors.secondaryBase,";text-decoration:auto;"),d=(0,n.A)("span",{target:"e16c9ozp3"})("margin:0 0.4em;color:",r.w.colors.neutral300,";"),TableOfContent=e=>{let{className:t,size:i="md",contents:n,separator:r="|",contentClassName:p}=e;return(0,a.Y)(l,{className:t,"data-size":i,children:n.map((e,t)=>e?(0,a.FD)(o.Fragment,{children:[e&&"object"==typeof e&&"label"in e&&"id"in e?(0,a.Y)(s,{href:"#".concat(e.id),className:p,children:e.label}):(0,a.Y)(c,{className:p,children:e}),t+10?e.category:null===(r=e.categories)||void 0===r?void 0:r.sort((e,t)=>t.permalink.length-e.permalink.length)[0];if(!c)return[];let s=c.slug||(0,l.OF)(c.permalink).split("/").pop(),d=await (0,a.callApiNew)(n.PATHS.CATEGORY.GET_CATEGORY_DETAIL,{params:{slug:s||""}}),p=Array.isArray(null==d?void 0:null===(t=d.data)||void 0===t?void 0:t.sub_categories)?null==d?void 0:null===(i=d.data)||void 0===i?void 0:i.sub_categories:[];return p.slice(0,3).map(o.AU)}async function getArticleBySlug(e){var t,i,l;let{slug:c,skipIds:s="",isRelated:d="",requestFrom:p}=e;if(!c)return null;let _=await (0,a.callApiNew)(n.PATHS.ARTICLE.GET_ARTICLE_DETAIL,{params:{slug:c.split("/").filter(Boolean).join("/"),skipIds:s,isRelated:d}}),h=null==_?void 0:null===(t=_.data)||void 0===t?void 0:t.redirect_url;if(h)return getArticleBySlug({slug:h,skipIds:s,isRelated:d,requestFrom:p});let E=null==_?void 0:null===(i=_.data)||void 0===i?void 0:i.post;if(!E)return null;let u=(null==_?void 0:null===(l=_.data)||void 0===l?void 0:l.related_articles)||[],T=(0,o.W0)(E);return T.relatedArticles=u.map(o.W0),r.Cs.articleType===r.PF.ArticleType3?T.relatedCategories=[]:T.relatedCategories=await fetchArticleRelatedCategories(T),T}let getArticleCardDisplayAuthor=e=>{var t,i,a;return(null===(t=e.expert)||void 0===t?void 0:t.name)?{name:e.expert.name,avatar:e.expert.thumbnailAvatar||"".concat(r.nS,"/avatar.jpg"),permalink:e.expert.permalink||"",type:"expert"}:(null===(i=e.reviewer)||void 0===i?void 0:i.displayName)?{name:e.reviewer.displayName,avatar:e.reviewer.thumbnailAvatar||"".concat(r.nS,"/avatar.jpg"),permalink:e.reviewer.profileUrl||"",type:"reviewer"}:(null===(a=e.author)||void 0===a?void 0:a.displayName)?{name:e.author.displayName,avatar:e.author.thumbnailAvatar||"".concat(r.nS,"/avatar.jpg"),permalink:e.author.profileUrl||"",type:"author"}:{name:"",avatar:"".concat(r.nS,"/avatar.jpg"),permalink:"",type:"author"}}},qml4:function(e,t,i){i.d(t,{E$:function(){return c},KP:function(){return u},Nu:function(){return g},RW:function(){return m},Rw:function(){return T},TS:function(){return _},UB:function(){return E},bd:function(){return A},bf:function(){return d},es:function(){return p},kt:function(){return I},kz:function(){return y},oC:function(){return s},qD:function(){return O},sN:function(){return h}});var a=i("rBCA"),o=i("U+Ez"),n=i("CL9C"),r=i("iBNF"),l=i("9brV");let c=(0,a.A)("a",{target:"e28vqjz0"})("display:flex;align-items:center;.social-icons{border-radius:4px;",n.M.mbDown,"{width:24px;height:24px;}",n.M.mbUp,"{width:32px;height:32px;}}"),s=(0,a.A)("div",{target:"e28vqjz1"})("display:flex;flex-direction:column;justify-content:space-between;padding-bottom:64px;",n.M.mbUp,"{margin-top:5px;}",n.M.mbDown,"{margin-top:8px;align-items:center;}.profile-image{width:168px;border-radius:50%;object-fit:cover;}.divider{width:100vw;border-width:4px;border-color:",r.w.colors.neutral50,";margin-left:-16px;}.list-divider{width:100%;border:none;border-bottom:1px solid #e4e8ec;}"),d=(0,a.A)("div",{target:"e28vqjz2"})(n.M.mbUp,"{position:relative;height:112px;display:flex;justify-content:center;background:url('",l.nS,"/expert-background.svg') no-repeat center\n top;background-size:contain;background-size:cover;.avatar-title{display:flex;position:absolute;top:26px;}.border-banner{margin-top:76px;background:white;width:100%;border-radius:40px 40px 0px 0px;}}",n.M.mbDown,"{background:url('",l.nS,"/expert-background.svg') no-repeat center\n top;background-size:contain;background-size:cover;padding-bottom:8px;height:78px;}"),p=(0,a.A)("div",{target:"e28vqjz3"})("display:flex;justify-content:center;text-align:center;",n.M.mbUp,"{margin-right:32px;.image-container{.profile-image{width:168px;height:168px;}.badge-avatar{position:absolute;width:40px;height:40px;bottom:0;right:0;}}}",n.M.mbDown,"{position:relative;width:100vw;height:76px;.image-container{position:absolute;top:26px;.profile-image{width:100px;height:100px;}.badge-avatar{position:absolute;width:24px;height:24px;bottom:0;right:0;}}}"),_=(0,a.A)("div",{target:"e28vqjz4"})(n.M.mbUp,"{display:flex;max-width:568px;flex-direction:column;justify-content:flex-end;}",n.M.mbDown,"{text-align:center;background:white;width:100vw;border-radius:20px 20px 0px 0px;padding:66px 16px 26px 16px;}.position-container{display:inline;p{display:inline;}",n.M.mbDown,"{justify-content:center;margin-top:6px;}",n.M.mbUp,"{margin-top:8px;}}"),h=(0,a.A)("div",{target:"e28vqjz5"})("white-space:pre-wrap;a{color:",r.w.colors.primary600,";}ul{padding-left:1rem;margin-block:1em;list-style:inside;white-space:normal;li{position:relative;padding-left:2em;margin-bottom:0.4em;list-style-type:none;&::before{position:absolute;top:0px;left:0px;margin-left:0.5em;color:#2d87f3;content:'•';font-size:1em;}}}"),E=(0,a.A)("div",{target:"e28vqjz6"})("width:calc(100% - 190px);margin-bottom:24px;line-height:28px;aside.social{margin-top:0.5rem;}aside.social > *:not(:last-child){margin-right:0.75rem;}",n.M.mbDown,"{padding-top:120px;width:100%;margin-top:16px;h3{margin-bottom:8px;}}",n.M.mbUp,"{width:100%;margin-top:80px;padding:0 16px;padding-top:44px;h3{margin-bottom:16px;}.highlight-wrapper,.social-row{display:flex;flex-wrap:wrap;margin-bottom:33px;}.highlight-item{width:calc(33% - 32px);margin-right:32px;}}.see-more{display:inline-block;color:",r.w.colors.primaryActive,";font-size:12px;font-weight:600;line-height:18px;img{width:16px;height:16px;vertical-align:top;}}.expert-description{a{color:",r.w.colors.primary600,";}ul{padding-left:1rem;margin-block:1em;list-style:inside;white-space:normal;li{position:relative;padding-left:2em;margin-bottom:0.4em;list-style-type:none;&::before{position:absolute;top:0px;left:0px;margin-left:0.5em;color:#2d87f3;content:'•';font-size:1em;}}}}"),u=(0,a.A)("div",{target:"e28vqjz7"})(n.M.mbDown,"{padding:16px 10px;}",n.M.mbUp,"{padding:16px 0;}"),T=(0,a.A)("div",{target:"e28vqjz8"})("padding:0;transition:height 2s ease-in;&[data-is-open='false']{overflow:hidden;height:0;}&[data-is-open='true']{margin:16px 0;}.link-container{padding:16px 16px 0 16px;background:",r.w.colors.neutral50,";overflow-wrap:break-word;.paper-link{padding-bottom:16px;a{color:",r.w.colors.primaryActive,";cursor:pointer;text-decoration:none;}&[data-is-url-disabled='true']{a{color:",r.w.colors.gray600,";pointer-events:none;}}}}"),g=(0,a.A)("div",{target:"e28vqjz9"})("display:flex;margin-top:8px;.bullet-point{width:24px;height:24px;}"),m=(0,a.A)("div",{target:"e28vqjz10"})(".heading-icons{width:16px;height:16px;margin-right:8px;vertical-align:top;}"),I=(0,a.A)("div",{target:"e28vqjz11"})("display:inline-block;width:3px;height:3px;margin-bottom:calc(0.5em - 3px);background-color:",r.w.colors.gray400,";border-radius:50%;"),A=(0,a.A)("a",{target:"e28vqjz12"})("display:flex;align-items:center;margin-top:16px;cursor:pointer;text-decoration:none;img{width:18px;height:18px;}"),y=(0,a.A)("div",{target:"e28vqjz13"})("display:flex;",n.M.mbDown,"{justify-content:center;}",n.M.mbUp,"{justify-content:flex-start;min-height:32px;}margin-top:16px;",n.M.mbDown,"{gap:8px;}",n.M.mbUp,"{gap:12px;}"),O=(0,a.A)(o.H,{target:"e28vqjz14"})("padding-left:8px;border-left:5px solid ",r.w.colors.primaryBase,";")},"/sjq":function(e){e.exports={domainLocales:{"vi-VN":"hellobacsi.com","id-ID":"hellosehat.com","ms-MY":"hellodoktor.com","km-KH":"hellokrupet.com","en-PH":"hellodoctor.com.ph","tl-PH":"hellodoctor.com.ph","th-TH":"hellokhunmor.com","my-MM":"hellosayarwon.com","zh-TW":"helloyishi.com.tw","hi-IN":"helloswasthya.com","zh-SG":"hellojiankang.com"},ignoreList:[]}},mdEm:function(e,t,i){i.d(t,{CD:function(){return s},Qh:function(){return getActivityLevelList},_8:function(){return getActivityLevelShortLabel},e4:function(){return n},vL:function(){return r},zY:function(){return c}});var a,o,n,r,l=i("Wbba");(a=n||(n={})).DUE_DATE="due-date-calculator",a.BMI="bmi",a.BMR="bmr",a.OVULATION="ovulation",a.IFRAME="IFRAME",a.PWG="pregnancy-weight-gain",a.THR="heart-rate",a.BABY_VACCINE="vaccination-tool",a.BABY_GROWTH="baby-growth-tracking",a.BABY_POOP="baby-poop-checking",a.AIR_POPULATION="air-population-tool";let c={DUE_DATE:"due-date-calculator",BMI:"bmi",BMR:"bmr",OVULATION:"ovulation",IFRAME:"IFRAME",PWG:"pregnancy-weight-gain",THR:"heart-rate",BABY_VACCINE:"vaccination-tool",BABY_GROWTH:"baby-growth-tracking",BABY_POOP:"baby-poop-checking"};(o=r||(r={})).LOW_INTENSITY="low_intensity",o.MODERATE_INTENSITY="moderate_intensity",o.AEROBIC_INTENSITY="aerobic_intensity",o.VIGOROUS_INTENSITY="vigorous_intensity",o.MAXIMUM_INTENSITY="maximum_intensity";let getActivityLevelShortLabel=(e,t)=>{let i={low_intensity:t({id:"activityLevel.noExerciseShort"}),moderate_intensity:t({id:"activityLevel.oneThreeDaysShort"}),aerobic_intensity:t({id:"activityLevel.threeFiveDaysShort"}),vigorous_intensity:t({id:"activityLevel.sixSevenDaysShort"}),maximum_intensity:t({id:"activityLevel.routineShort"})};return i[e]||""},getActivityLevelList=e=>[{label:e({id:"activityLevel.noExercise",defaultMessage:"Little to no exercise"}),value:"low_intensity",point:1.2},{label:e({id:"activityLevel.oneThreeDays",defaultMessage:"Light exercise 1–3 days a week"}),value:"moderate_intensity",point:1.375},{label:e({id:"activityLevel.threeFiveDays",defaultMessage:"Medium exercise 3–5 days a week"}),value:"aerobic_intensity",point:1.55},{label:e({id:"activityLevel.sixSevenDays",defaultMessage:"Hard exercise 6–7 days a week"}),value:"vigorous_intensity",point:1.725},{label:e({id:"activityLevel.routine",defaultMessage:"Challenging exercise routine"}),value:"maximum_intensity",point:1.9}];c.DUE_DATE,l.C.getAssetPath("health-tools/due-date-icon.svg");let s="additional_questions"},"9brV":function(e,t,i){i.d(t,{$1:function(){return eT},AR:function(){return eL},B8:function(){return Y},CS:function(){return H},Cn:function(){return x},Cs:function(){return M},D9:function(){return eR},DK:function(){return J},DM:function(){return es},Dn:function(){return N},EH:function(){return B},El:function(){return k},H5:function(){return ey},HL:function(){return eN},Hl:function(){return eu},I6:function(){return G},Iu:function(){return R},JH:function(){return et},Jp:function(){return h},KN:function(){return w},K_:function(){return Q},Kl:function(){return e_},Km:function(){return _},LI:function(){return L},MM:function(){return eE},Mb:function(){return eP},Mp:function(){return T},Mu:function(){return V},NV:function(){return ei},OA:function(){return D},OJ:function(){return $},OZ:function(){return ew},Oe:function(){return W},Ok:function(){return eh},PF:function(){return l},Pn:function(){return eB},QM:function(){return ee},Rs:function(){return ea},S1:function(){return q},S3:function(){return U},Sj:function(){return g},TK:function(){return ev},U2:function(){return E},V7:function(){return f},WO:function(){return F},XP:function(){return ec},Y3:function(){return O},_q:function(){return j},a5:function(){return m},a7:function(){return X},bF:function(){return eD},c8:function(){return b},cD:function(){return eM},dX:function(){return eG},dZ:function(){return eU},eY:function(){return eS},fg:function(){return eH},hL:function(){return ed},hj:function(){return c},ix:function(){return er},jJ:function(){return C},jX:function(){return S},kH:function(){return z},kU:function(){return P},le:function(){return ex},m4:function(){return el},mw:function(){return em},nF:function(){return eC},nN:function(){return y},nS:function(){return u},oQ:function(){return eg},p8:function(){return I},pJ:function(){return v},pc:function(){return ek},q0:function(){return eA},qC:function(){return Z},qg:function(){return ep},rN:function(){return eI},ty:function(){return A},vV:function(){return ef},xu:function(){return eO},yc:function(){return K},zh:function(){return eY},zp:function(){return eb}});var a,o,n,r,l,c,s=i("mdEm"),d=i("iZSu"),p=i("yNk5");let _={NEXT_PUBLIC_PREMIUM_URL:"https://premium-content.hellohealthgroup.com/",NEXT_PUBLIC_BUILD_ID:"FV1-1787542557633",DEPLOY_ENV:"production",NEXT_PUBLIC_DEPLOY_ENV:"production",NEXT_PUBLIC_SUBOT_URL:"https://subot.hellobacsi.com/",SUBOT_URL:"https://subot.hellobacsi.com/",SUBOT_INTERNAL:p.env.SUBOT_INTERNAL,NEXT_PUBLIC_SUBOT_API:"https://subot.hellohealthgroup.com/frontend/api/",WP_INTERNAL_API:p.env.WP_INTERNAL_API,SENTRY_DSN:p.env.SENTRY_DSN,NEXT_PUBLIC_BASE_API_URL:"https://wp.hellobacsi.com/",NEXT_PUBLIC_BASE_PROD_API_URL:"https://wp.hellobacsi.com/",NEXT_PUBLIC_SSO:"https://id.hellobacsi.com/",SSO_URL:"https://id.hellobacsi.com/",NEXT_PUBLIC_SIDIS_API:"https://producer-sidis.hellohealthgroup.com/",NEXT_PUBLIC_CARE_API:"https://health-care.hellohealthgroup.com/",INTERNAL_VACCINATION_TOOL_API:p.env.INTERNAL_VACCINATION_TOOL_API,NEXT_PUBLIC_VACCINATION_TOOL_API:"https://vaccination-service.hellohealthgroup.com/",NEXT_PUBLIC_LOGGING_ENABLED:"true",NEXT_PUBLIC_DEPLOY_LOCALE:"vi-VN",DEPLOY_LOCALE:"vi-VN",NEXT_PUBLIC_SIDIS_API_GET:"https://api-internal-sidis.hellohealthgroup.com/",NEXT_PUBLIC_LEAD_API:"https://lead.hellohealthgroup.com/",NEXT_PUBLIC_TOGETHER_API:"https://together.hellohealthgroup.com/",NEXT_PUBLIC_GTM_AMP:"GTM-TJ5CHH6",NEXT_PUBLIC_SIDIS_TEMPLATE_API:"https://sidis-template-be.hellohealthgroup.com/",INTERNAL_TOGETHER_API:p.env.INTERNAL_TOGETHER_API,INTERNAL_CARE_API:p.env.INTERNAL_CARE_API,NEXT_PUBLIC_DISCOVER_MARRY_BABY_BASE_API_URL:"https://wp.marrybaby.vn/",NEXT_PUBLIC_DISCOVER_MARRY_BABY_BASE_PROD_API_URL:"https://wp.marrybaby.vn/",NEXT_PUBLIC_UNIFIED_API:"https://unified-360-user-profile.hellohealthgroup.com",NEXT_PUBLIC_ECOMMERCE_API:"https://ecommerce.hellohealthgroup.com/",NEXT_PUBLIC_STORE_CODE:"vi",NEXT_PUBLIC_CHAT_BOT_API:p.env.NEXT_PUBLIC_CHAT_BOT_API,NEXT_PUBLIC_CHATBOT_API_URL:p.env.NEXT_PUBLIC_CHATBOT_API_URL,NEXT_PUBLIC_THE_TRADE_DESK_API:"https://thetradedesk.hellohealthgroup.com/",NEXT_PUBLIC_VACCINATION_ENABLED:"true",NEXT_PUBLIC_OPEN_HEALTH_TOOLS_API:p.env.NEXT_PUBLIC_OPEN_HEALTH_TOOLS_API},h="",E="care",u="".concat(h,"/images"),T="".concat(h,"/svg"),g="DD/MM/YYYY",m="https://id.hellobacsi.com/",I=!0,A="hhg_user_token",y="hhg_user_refresh_token",O="hhg-id",v="_ga",b="__uid20_tokens",S="refresh_token",L="user_token",f="_gtm_consent",N="hhg_workshop_user_email",C="hhg_workshop_user_phone",P=!1,R="".concat(u,"/anonymous.jpg"),D="".concat(u,"/avatar.jpg"),x="".concat(u,"/default.png?v=1"),G="".concat(u,"/default-image.jpg?v=1"),w="".concat(u,"/hhg-logo.png");(a=r||(r={}))[a.CategoryType1=1]="CategoryType1",a[a.CategoryType2=2]="CategoryType2",(o=l||(l={}))[o.ArticleType1=1]="ArticleType1",o[o.ArticleType2=2]="ArticleType2",o[o.ArticleType3=3]="ArticleType3";let M={categoryType:1,articleType:3},k={"vi-VN":{LOGO_TYPE:"hellobacsi",SITE_NAME:"HelloBacsi",SITE_NAME_FORMATTED:"Hello Bacsi",HOMEPAGE_IMAGE:"https://hellobacsi.com/images/country-thumbnails/VN.png",SITE_ID:"1",INSIDER_TAG:"//hellobacsivn.api.useinsider.com/ins.js?id=10003798",TOOLTIP_IMAGE:"".concat(u,"/tooltips-vn.png"),ABOUT_US_IMAGE:"".concat(u,"/aboutus/VN.png"),PHONE:"+84",FLAG:"".concat(T,"/flags/flag-rect-vn.svg"),PUBMATIC_PROFILE_ID:"6950",CATEGORIES_TYPE:"short",PUBLIFT_ID:"2820"},"en-PH":{LOGO_TYPE:"hellodoctor",SITE_NAME:"HelloDoctor",HOMEPAGE_IMAGE:"https://hellodoctor.com.ph/images/country-thumbnails/PH.png",SITE_NAME_FORMATTED:"Hello Doctor",SITE_ID:"9",CATEGORIES_TYPE:"short",INSIDER_TAG:"//hellodoctorph.api.useinsider.com/ins.js?id=10004527",TOOLTIP_IMAGE:"".concat(u,"/tooltips-ph.png"),ABOUT_US_IMAGE:"".concat(u,"/aboutus/PH.png"),PHONE:"+63",FLAG:"".concat(T,"/flags/flag-rect-ph.svg"),PUBMATIC_PROFILE_ID:"6947"},"tl-PH":{LOGO_TYPE:"hellodoctor",SITE_NAME:"HelloDoctor",HOMEPAGE_IMAGE:"https://hellodoctor.com.ph/images/country-thumbnails/PH.png",SITE_NAME_FORMATTED:"Hello Doctor",SITE_ID:"9",CATEGORIES_TYPE:"short",INSIDER_TAG:"//hellodoctorph.api.useinsider.com/ins.js?id=10004527",TOOLTIP_IMAGE:"".concat(u,"/tooltips-ph.png"),ABOUT_US_IMAGE:"".concat(u,"/aboutus/PH.png"),PHONE:"+63",FLAG:"".concat(T,"/flags/flag-rect-ph.svg"),PUBMATIC_PROFILE_ID:"6947"},"th-TH":{LOGO_TYPE:"hellokhunmor",SITE_NAME:"HelloKhunmor",HOMEPAGE_IMAGE:"https://hellokhunmor.com/images/country-thumbnails/TH.png",SITE_NAME_FORMATTED:"Hello คุณหมอ",SITE_ID:"3",CATEGORIES_TYPE:"long",INSIDER_TAG:"//hellokhunmor.api.useinsider.com/ins.js?id=10004524",TOOLTIP_IMAGE:"".concat(u,"/tooltips-th.png"),ABOUT_US_IMAGE:"".concat(u,"/aboutus/TH.png"),PHONE:"+66",FLAG:"".concat(T,"/flags/flag-rect-th.svg"),PUBMATIC_PROFILE_ID:"6952"},"km-KH":{LOGO_TYPE:"hellokrupet",SITE_NAME:"HelloKrupet",HOMEPAGE_IMAGE:"https://hellokrupet.com/images/country-thumbnails/KH.png",SITE_NAME_FORMATTED:"Hello គ្រូពេទ្យ",SITE_ID:"4",CATEGORIES_TYPE:"short",INSIDER_TAG:"//hellokrupet.api.useinsider.com/ins.js?id=10004523",TOOLTIP_IMAGE:"".concat(u,"/tooltips-kh.png"),ABOUT_US_IMAGE:"".concat(u,"/aboutus/KH.png"),PHONE:"+855",FLAG:"".concat(T,"/flags/flag-rect-kh.svg"),PUBMATIC_PROFILE_ID:"6954"},"my-MM":{LOGO_TYPE:"hellosayarwon",SITE_NAME:"HelloSayarwon",HOMEPAGE_IMAGE:"https://hellosayarwon.com/images/country-thumbnails/MM.png",SITE_NAME_FORMATTED:"Hello ဆရာဝန်",SITE_ID:"7",INSIDER_TAG:"//hellosayarwon.api.useinsider.com/ins.js?id=10004522",ABOUT_US_IMAGE:"".concat(u,"/aboutus/MM.png"),PHONE:"+95",FLAG:"".concat(T,"/flags/flag-rect-mm.svg"),PUBMATIC_PROFILE_ID:"6953",CATEGORIES_TYPE:"long"},"zh-TW":{LOGO_TYPE:"helloyishi",SITE_NAME:"HelloYishi",HOMEPAGE_IMAGE:"https://helloyishi.com.tw/images/country-thumbnails/TW.png",SITE_NAME_FORMATTED:"Hello 醫師",SITE_ID:"6",INSIDER_TAG:"//helloyishi.api.useinsider.com/ins.js?id=10004526",TOOLTIP_IMAGE:"".concat(u,"/tooltips-tw.png"),ABOUT_US_IMAGE:"".concat(u,"/aboutus/TW.png"),PHONE:"+886",FLAG:"".concat(T,"/flags/flag-rect-tw.svg"),PUBMATIC_PROFILE_ID:"6949",CATEGORIES_TYPE:"short",PUBLIFT_ID:"2819"},"zh-SG":{LOGO_TYPE:"hellojiankang",SITE_NAME:"HelloJianKang",HOMEPAGE_IMAGE:"",SITE_NAME_FORMATTED:"Hello 健康",SITE_ID:"12",INSIDER_TAG:"",TOOLTIP_IMAGE:"",ABOUT_US_IMAGE:"",PHONE:"",FLAG:"".concat(T,"/flags/flag-rect-tw.svg"),PUBMATIC_PROFILE_ID:"",CATEGORIES_TYPE:"short",PUBLIFT_ID:""},"id-ID":{LOGO_TYPE:"hellosehat",SITE_NAME:"HelloSehat",HOMEPAGE_IMAGE:"https://hellosehat.com/images/country-thumbnails/ID.png",SITE_NAME_FORMATTED:"Hello Sehat",SITE_ID:"2",INSIDER_TAG:"//hellosehat.api.useinsider.com/ins.js?id=10003799",TOOLTIP_IMAGE:"".concat(u,"/tooltips-id.png"),ABOUT_US_IMAGE:"".concat(u,"/aboutus/ID.png"),PHONE:"+62",FLAG:"".concat(T,"/flags/flag-rect-id.svg"),PUBMATIC_PROFILE_ID:"1959",CATEGORIES_TYPE:"short",PUBLIFT_ID:"2812"},"hi-IN":{LOGO_TYPE:"helloswasthya",SITE_NAME:"HelloSwasthya",HOMEPAGE_IMAGE:"https://helloswasthya.com/images/country-thumbnails/IN.png",SITE_NAME_FORMATTED:"Hello स्वास्थ्य",SITE_ID:"8",CATEGORIES_TYPE:"long",INSIDER_TAG:"//helloswasthya.api.useinsider.com/ins.js?id=10004498",TOOLTIP_IMAGE:"".concat(u,"/tooltips-in.png"),ABOUT_US_IMAGE:"".concat(u,"/aboutus/IN.png"),PHONE:"+91",FLAG:"".concat(T,"/flags/flag-rect-in.svg"),PUBMATIC_PROFILE_ID:"6951"},"ms-MY":{LOGO_TYPE:"hellodoktor",SITE_NAME:"HelloDoktor",HOMEPAGE_IMAGE:"https://hellodoktor.com/images/country-thumbnails/MY.png",SITE_NAME_FORMATTED:"Hello Doktor",SITE_ID:"5",INSIDER_TAG:"//hellodoktor.api.useinsider.com/ins.js?id=10004525",TOOLTIP_IMAGE:"".concat(u,"/tooltips-my.png"),ABOUT_US_IMAGE:"".concat(u,"/aboutus/MY.png"),PHONE:"+60",FLAG:"".concat(T,"/flags/flag-rect-my.svg"),PUBMATIC_PROFILE_ID:"6946",CATEGORIES_TYPE:"short",PUBLIFT_ID:"2816"}};(n=c||(c={})).PRIVACY="PRIVACY",n.TERM_OF_USE="TERM_OF_USE",n.PRIVACY_POLICY="PRIVACY_POLICY",n.PRIVACY_POLICY_EN="PRIVACY_POLICY_EN",n.EDITORIAL_CORRECTIONS_POLICY="EDITORIAL_CORRECTIONS_POLICY",n.ADVERTISING_SPONSOR_POLICY="ADVERTISING_SPONSOR_POLICY",n.CANCELLATION_RETURN_POLICY="CANCELLATION_RETURN_POLICY",n.FULFILMENT_DISPENSATION_POLICY="FULFILMENT_DISPENSATION_POLICY",n.POLICIES="POLICIES",n.FAQS="FAQS",n.SITEMAP="SITEMAP",n.ABOUT_US="ABOUT_US",n.ADVERTISEMENT="ADVERTISEMENT",n.CONTACT_US="CONTACT_US",n.ABOUT_GO_CARE="ABOUT_GO_CARE",n.HEALTH_TOOLS="HEALTH_TOOLS",n.EXECUTIVE_BIOS="EXECUTIVE_BIOS",n.RECRUITMENT="RECRUITMENT",n.COMMUNITY_GUIDELINE="COMMUNITY_GUIDELINE",n.TOGETHER="TOGETHER",n.CARE="CARE",n.FEEDBACK="FEEDBACK",n.CARE_SHOP_POLICIES="CARE_SHOP_POLICIES",n.FACILITY="FACILITY",n.POLICIES_EN="POLICIES_EN",n.CONTACT_EN="CONTACT_EN",n.EDITORIAL_POLICY="EDITORIAL_POLICY",n.EDITORIAL_POLICY_EN="EDITORIAL_POLICY_EN",n.HSWY_PRIVACY_POLICY="HSWY_PRIVACY_POLICY",n.PRIVACY_ADDENDUM="PRIVACY_ADDENDUM";let H={[d.ne.Vietnam]:{PRIVACY:"/privacy",TERM_OF_USE:"/dieu-khoan-su-dung",PRIVACY_POLICY:"/chinh-sach-quyen-rieng-tu",EDITORIAL_CORRECTIONS_POLICY:"/chinh-sach-bien-tap-chinh-sua",ADVERTISING_SPONSOR_POLICY:"/chinh-sach-quang-cao-tai-tro",POLICIES:"/chinh-sach",FAQS:"/thong-tin-quan-trong",SITEMAP:"/sitemap",ABOUT_US:"/about-us",ADVERTISEMENT:"/quang-cao-voi-chung-toi",CONTACT_US:"/lien-he",ABOUT_GO_CARE:"/about-go-care",HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/hello-bacsi/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/tieu-chuan-cong-dong",TOGETHER:"/community",CARE:"/care",FEEDBACK:"/pn-rating",CARE_SHOP_POLICIES:"/quy-dinh-dat-lich-bac-si-va-mua-hang"},[d.ne.Singapore]:{POLICIES:null,TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-and-corrections-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-and-sponsor-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:"/advertising",CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,FACILITY:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:null,TOGETHER:null,CARE:null}},U={"vi-VN":"mang-thai","id-ID":"kehamilan","ms-MY":"kehamilan","km-KH":"ពពោះ","en-PH":"pregnancy","tl-PH":"pregnancy","th-TH":"การตั้งครรภ์","my-MM":"pregnancy","zh-TW":"pregnancy","zh-SG":"pregnancy","hi-IN":"pregnancy"},Y={ID:"https://hellosehat.com/",TH:"https://hellokhunmor.com/",MY:"https://hellodoktor.com/",KH:"https://hellokrupet.com/",TW:"https://helloyishi.com.tw/",MM:"https://hellosayarwon.com/",IN:"https://helloswasthya.com/",VN:"https://hellobacsi.com/",PH:"https://hellodoctor.com.ph/"},B={"vi-VN":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"link",rel:"apple-touch-icon",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"km-KH":[{type:"link",rel:"icon",href:"/by-locales/km-KH/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/km-KH/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/km-KH/icon-180x180.png"},{type:"link",rel:"apple-touch-icon",href:"/by-locales/km-KH/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/km-KH/icon-270x270.png"}],"en-PH":[{type:"link",rel:"icon",href:"/by-locales/en-PH/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/en-PH/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon",href:"/by-locales/en-PH/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/en-PH/icon-270x270.png"}],"tl-PH":[{type:"link",rel:"icon",href:"/fil/by-locales/en-PH/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/fil/by-locales/en-PH/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon",href:"/fil/by-locales/en-PH/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/fil/by-locales/en-PH/icon-270x270.png"}],"id-ID":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"link",rel:"apple-touch-icon",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"ms-MY":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"link",rel:"apple-touch-icon",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"th-TH":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"link",rel:"apple-touch-icon",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"my-MM":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"link",rel:"apple-touch-icon",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"zh-TW":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"link",rel:"apple-touch-icon",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"zh-SG":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"link",rel:"apple-touch-icon",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"hi-IN":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"link",rel:"apple-touch-icon",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}]},F=["low","normal","high"],V={adBlock:48,articleAdContainer:47,headerContainerHome:99,headerContainerPopup:200,headerContainerPopupSUbLevel:300,menuSearchInputPopup:5,menuSearchInputDisplayIcon:6,menuSearchPopup:200},z="289442006438-040a42cbidr6v5d178f3iqi9q95821r3.apps.googleusercontent.com",K={REVIEWED_DISPLAY_NAME:"reviewed_display_name",REVIEWED_AVATAR_THUMBNAIL:"reviewed_avatar_thumbnail",REVIEWED_URL:"reviewed_url",POST_ID:"post_id",POST_MODIFIED:"post_modified",CATEGORY_ID:"category_id",CATEGORY_NAME:"category_name",CATEGORY_URL:"category_url",CATEGORY_TEXT_COLOR:"category_text_color"},j=["vi-VN","id-ID"],W=I?["th-TH"]:["vi-VN","th-TH"],X="YYYY-MM-DD",q="dd-MM-yyyy",Z="DD-MM-YYYY",J="DD MMM YYYY",Q="DD/MM/YYYY",$="MMMM YYYY",ee="MM/DD/YYYY",et={[d.ne.PhilippinesEnglish]:"MM/DD/YYYY",[d.ne.PhilippinesTagalog]:"MM/DD/YYYY",[d.ne.Cambodia]:"DD/MM/YYYY",[d.ne.India]:"DD/MM/YYYY",[d.ne.Thailand]:"DD/MM/YYYY",[d.ne.Malaysia]:"DD/MM/YYYY",[d.ne.Singapore]:"YYYY/MM/DD",[d.ne.Indonesia]:"DD/MM/YYYY",[d.ne.Taiwan]:"YYYY/MM/DD",[d.ne.Myanmar]:"DD/MM/YYYY",[d.ne.Vietnam]:"DD/MM/YYYY"},ei="MM/DD/YYYY";p.env.SENTRY_DSN;let ea={EN:"English",FIL:"Filipino"},eo={ALL:"all",HOSPITAL:"hospital",SERVICE:"service",DOCTOR:"doctor",SEARCH:"search",SPECIALTIES:"specialties",CURRENT:"current-location",ORGANIZATION:"organization",VACCINATIONS:"vaccination",IVF:"ivf",IVF_DETAIL:"ivf-detail",EGG_FREEZING:"egg-freezing",EGG_FREEZING_DETAIL:"egg-freezing-detail",VACCINATION_DETAIL:"vaccination-detail",HEALTH_SCREENER:"health-screener",HEALTH_SCREENER_DETAIL:"health-screener-detail",USER_REVIEWS:"user-reviews"},en={[d.ne.PhilippinesEnglish]:eo,[d.ne.Vietnam]:{ALL:"tat-ca",HOSPITAL:"benh-vien",SERVICE:"dich-vu",DOCTOR:"bac-si",SEARCH:"tim-kiem",SPECIALTIES:"chuyen-khoa",CURRENT:"vi-tri-hien-tai",ORGANIZATION:"to-chuc",IVF:"thu-tinh-ong-nghiem",IVF_DETAIL:"ivf-detail",EGG_FREEZING:"dong-lanh-trung",EGG_FREEZING_DETAIL:"egg-freezing-detail",VACCINATIONS:"tiem-chung",VACCINATION_DETAIL:"vaccination-detail",HEALTH_SCREENER:"xet-nghiem",HEALTH_SCREENER_DETAIL:"health-screener-detail",USER_REVIEWS:"danh-gia-dich-vu"},[d.ne.Indonesia]:{ALL:"semua",HOSPITAL:"rumah-sakit",SERVICE:"layanan",DOCTOR:"dokter",SEARCH:"cari",SPECIALTIES:"spesialisasi",CURRENT:"posisi-saya-saat-ini",ORGANIZATION:"organisasi",IVF:"ivf",IVF_DETAIL:"ivf-detail",EGG_FREEZING:"egg-freezing",EGG_FREEZING_DETAIL:"egg-freezing-detail",VACCINATIONS:"vaccination",VACCINATION_DETAIL:"vaccination-detail",HEALTH_SCREENER:"health-screener",HEALTH_SCREENER_DETAIL:"health-screener-detail",USER_REVIEWS:"ulasan-pengguna"},[d.ne.Taiwan]:eo,[d.ne.Malaysia]:eo,[d.ne.Thailand]:eo},er=en,el={doctor:"DOCTOR",service:"SERVICE",hospital:"HOSPITAL"},ec={MY_HEALTH_TRACKER:"user/health/trackers",MY_HEALTH_PARENTING:"user/health/parenting"},es=1,ed=3,ep={[-1]:5.7,0:15.7,1:23.5,2:19.3,3:10.7,4:7.8,5:6.4},e_="workshop-success",eh="thrInfo",eE={label:"",value:""},eu=7,eT="https://cdn-healthcare.hellohealthgroup.com/2021/11/1636963243_619213ab2d91e3.52220855.png";d.ne.Vietnam,d.ne.Indonesia;let eg=[d.ne.Vietnam],em=[d.ne.Indonesia],eI=[d.ne.Vietnam],eA="/ai-doctor",ey=30;d.ne.Indonesia,d.ne.Vietnam,d.ne.PhilippinesEnglish,d.ne.PhilippinesTagalog,d.ne.Malaysia,d.ne.Thailand,d.ne.Cambodia,d.ne.Myanmar,d.ne.India,d.ne.Taiwan,d.ne.Singapore;let eO={[d.ne.Vietnam]:"HelloBacsi",[d.ne.Indonesia]:"HelloSehat",[d.ne.Malaysia]:"HelloDoktor",[d.ne.Cambodia]:"HelloKrupet",[d.ne.PhilippinesEnglish]:"HelloDoctorPH",[d.ne.Thailand]:"HelloKhunmor",[d.ne.Myanmar]:"HelloSayarwon",[d.ne.Taiwan]:"HelloYishi",[d.ne.India]:"HelloSwasthya",[d.ne.PhilippinesTagalog]:"HelloDoctorPH",[d.ne.Singapore]:"HelloJianKang"},ev={MOBILE:"Mobile",DESKTOP:"Desktop"},eb="duedate_leadgen_submit",eS=19,eL="MMM DD, YYYY",ef=[d.ne.Indonesia],eN={[d.ne.Vietnam]:"hellobacsi.com",[d.ne.Indonesia]:"hellosehat.com",[d.ne.Malaysia]:"hellodoktor.com",[d.ne.Cambodia]:"hellokrupet.com",[d.ne.PhilippinesEnglish]:"hellodoctor.com.ph",[d.ne.PhilippinesTagalog]:"hellodoctor.com.ph",[d.ne.Thailand]:"hellokhunmor.com",[d.ne.Myanmar]:"hellosayarwon.com",[d.ne.Taiwan]:"helloyishi.com.tw",[d.ne.India]:"helloswasthya.com",[d.ne.Singapore]:"hellojiankang.com"},eC="".concat(u,"/default-fruit-icon.svg");s.zY.DUE_DATE,s.zY.PWG;let eP={[d.ne.Vietnam]:{sexualWellness:"suc-khoe-tinh-duc",health:"suc-khoe",healthyEating:"an-uong-lanh-manh",skinHealth:"da-lieu",healthyHabit:"thoi-quen-lanh-manh",drug:"thuoc",womensHealth:"suc-khoe-phu-nu",fitness:"the-duc-the-thao",pregnancy:"mang-thai",parenting:"nuoi-day-con",diabetes:"tieu-duong-dai-thao-duong",healthyMind:"tam-ly-tam-than",menHealth:"suc-khoe-nam-gioi"},[d.ne.Indonesia]:{},[d.ne.Malaysia]:{},[d.ne.Cambodia]:{},[d.ne.PhilippinesEnglish]:{},[d.ne.PhilippinesTagalog]:{},[d.ne.Thailand]:{},[d.ne.Myanmar]:{},[d.ne.Taiwan]:{},[d.ne.Singapore]:{pregnancy:"pregnancy",parenting:"parenting",health:"health",diabetes:"diabetes",womensHealth:"womens-health",drug:"drugs-supplement",heartHealth:"heart-health",sexualWellness:"sexual-health",healthyEating:"",skinHealth:""},[d.ne.India]:{}},eR="#mantine-modal-target";d.ne.PhilippinesEnglish,d.ne.Thailand,d.ne.Malaysia,d.ne.Indonesia,d.ne.Myanmar,d.ne.Vietnam;let eD="hhg_guest_cart_id",ex={[d.ne.Indonesia]:"IDN",[d.ne.Vietnam]:"VNM",[d.ne.Malaysia]:"MYS"};d.ne.Taiwan,d.ne.Myanmar,d.ne.Malaysia,d.ne.Cambodia;let eG=[d.ne.Vietnam,d.ne.Indonesia,d.ne.Malaysia].includes("vi-VN"),ew=[d.ne.Cambodia,d.ne.India,d.ne.Taiwan,d.ne.Singapore],eM=80,ek="video_item_detail",eH="true"===_.NEXT_PUBLIC_VACCINATION_ENABLED,eU="https://m.me/hellobacsi?ref=w43585717",eY=[d.ne.PhilippinesEnglish,d.ne.PhilippinesTagalog],eB=[d.ne.Vietnam,d.ne.Malaysia];d.ne.Vietnam,d.ne.Malaysia},AuMj:function(e,t,i){i.d(t,{VD:function(){return ArticleStoreProvider},NP:function(){return useArticleStore}});var a,o,n=i("BGKE"),r=i("+OUp"),l=i("sEfC"),c=i.n(l),s=i("oWg6"),d=i("VNqU");(a=o||(o={}))[a.traditional=0]="traditional",a[a.simplified=1]="simplified";let p=["small","medium","large"],_=(0,r.createContext)(null),createArticleStore=e=>(0,s.y)((t,i)=>({articles:[],bookmarkIds:[],chineseTranslate:o.traditional,currentArticle:null,currentProgress:0,fontSize:"small",isBookmarked:!1,isCommentPopupOpen:!1,isLiked:!1,isDisliked:!1,totalComment:0,categories:[],...e||{},addToArticles:e=>{!e||i().articles.find(t=>e.id===t.id)||t({articles:i().articles.concat(e)})},addToBookmark:e=>t({isBookmarked:!0,bookmarkIds:[...i().bookmarkIds,e]}),removeBookmark:e=>{let a=i().bookmarkIds.filter(t=>t!==e);t({isBookmarked:!1,bookmarkIds:a})},setArticles:e=>t(t=>({articles:"function"==typeof e?e(t.articles):e})),setBookmarkIds:e=>{t({bookmarkIds:e})},setChineseTranslate:e=>t({chineseTranslate:e}),setCurrentArticle:c()(e=>t({currentArticle:e}),300),setCurrentProgress:e=>t({currentProgress:e}),cycleFontSize:()=>t({fontSize:function(e,t){let i=e.indexOf(t);return i===e.length-1?e[0]:e[i+1]}(p,i().fontSize)}),setIsBookmarked:e=>t({isBookmarked:e}),setIsCommentPopupOpen:e=>t({isCommentPopupOpen:e}),setIsLiked:e=>t({isLiked:e}),setIsDisliked:e=>t({isDisliked:e}),setTotalComment:e=>t({totalComment:e}),setCategories:e=>t({categories:e}),setShowDictionaryShortcutBtn:e=>t({showDictionaryShortcutBtn:e})})),ArticleStoreProvider=e=>{let{init:t,refreshKey:i,children:a}=e,o=(0,r.useRef)(createArticleStore(t)),l=o.current;return(0,r.useEffect)(()=>{i&&o.current.setState(t)},[i]),(0,n.Y)(_.Provider,{value:l,children:a})},useArticleStore=(e,t)=>{let i=(0,r.useContext)(_),a=(0,d.Pj)(i,e,t);return a}},"2Zdi":function(e,t,i){i.d(t,{QS:function(){return getAuthorFromArticleApi}});var a=i("+u84"),o=i("4BRW"),n=i("8BcA"),r=i.n(n),l=i("9brV");let c={medical:{intlKey:{long:"articlePage.reviewed_by.expert.medical",short:"articlePage.reviewed_by.expert.medical.short"},indicator:"".concat(l.nS,"/reviewer-medical.svg")},expert:{intlKey:{long:"articlePage.reviewed_by.expert",short:"articlePage.reviewed_by.expert.short"},indicator:"".concat(l.nS,"/reviewer-expert.svg")},written_by:{intlKey:{long:"articlePage.written_by.author",short:"articlePage.written_by.author.short"},indicator:"".concat(l.nS,"/reviewer-editor.svg")},fact_checked_by:{intlKey:{long:"articlePage.fact_checked_by.author",short:"articlePage.fact_checked_by.author.short"},indicator:"".concat(l.nS,"/reviewer-fact-check.svg")}};function getAuthorFormatOptionsProps(e){return e?(null==e?void 0:e.profile_url)&&(null==e?void 0:e.turn_off_profile)?{children:(null==e?void 0:e.display_name)||(null==e?void 0:e.name)||""}:{href:e.profile_url||"",children:e.display_name||e.name||""}:{children:""}}function getAuthorFromArticleApi(e){let{article:t,locale:i=o.L.Vietnam,version:n="long"}=e,{reviewed:l,post_modified:s}=t||{},{expert:d,author:p,fact_check:_,is_author:h}=l||{},{avatar:E="",avatar_thumbnail:u="",display_name:T="",name:g="",profile_url:m="",turn_off_profile:I}=_||{},A=r()(s),y=c.fact_checked_by,O=u||E,v=T||g,b=I?"":m,S=A.isValid()?A.format(a.I[i].dateFormat):"",L={expert_display_name:getAuthorFormatOptionsProps(d),author_name:getAuthorFormatOptionsProps(p),fact_check_display_name:getAuthorFormatOptionsProps(_),post_modified:{children:S}};if(d){let{avatar:e="",avatar_thumbnail:t="",display_name:i="",name:a="",profile_url:o="",specialty:n="",organisation:r="",turn_off_profile:l}=d||{};L.specialty={children:n},L.organisation={children:r},O=t||e||O,v=i||a||v,b=l?"":o||b,y=h?c.written_by:c.expert}return{intlKey:y.intlKey[n],indicator:y.indicator,avatar:O,avatar_alt:v,avatar_permalink:b,formatOptions:L}}},imPi:function(e,t,i){i.d(t,{$:function(){return l}});var a=i("Sn6X"),o=i.n(a),n=i("KYiY"),r=i.n(n);let l=o().extend(r())},"69Ac":function(e,t,i){i.d(t,{OF:function(){return cleanLink},fQ:function(){return normalizeText},jt:function(){return wrapPlainTextAsHtmlParagraph}}),i("/sjq");let escapeHtml=e=>e.replace(/&/g,"&").replace(//g,">").replace(/"/g,"""),wrapPlainTextAsHtmlParagraph=e=>"

".concat(escapeHtml(e.trim()),"

");function cleanLink(e){return e.split("?")[0].split("/").filter((e,t)=>0===t||!!e).join("/")+"/"}function normalizeText(e){return e.normalize("NFD").replace(/[\u0300-\u036f]/g,"").toLowerCase().trim()}}}]);