(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2888],{"H+O6":function(e,t,_){(window.__NEXT_P=window.__NEXT_P||[]).push(["/_app",function(){return _("zNOK")}])},wpFs:function(e,t){"use strict";t.Z=window.atob&&window.atob.bind(window)||function(e){let t=String(e).replace(/=+$/,"");if(t.length%4==1)throw Error("'atob' failed: The string to be decoded is not correctly encoded.");let _="";for(let e=0,i=0,a,r=0;a=t.charAt(r++);~a&&(i=e%4?64*i+a:a,e++%4)&&(_+=String.fromCharCode(255&i>>(-2*e&6))))a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(a);return _}},ink7:function(e,t,_){"use strict";_.d(t,{U:function(){return formatString},c:function(){return getApiPath}});var i=_("gY0P"),a=_.n(i),r=_("rIrU");let formatString=function(){for(var e=arguments.length,t=Array(e),_=0;_e&&(!e.includes("=")||e.split("=")[1]));return 0===_.length?e:"".concat(e,"?").concat(_.join("&"))}return i},getApiPath=()=>{let{NEXT_PUBLIC_BASE_API_URL:e,WP_INTERNAL_API:t}=r.ENV;return(t||e)+"wp-json/api/"}},"09QT":function(e,t,_){"use strict";_.d(t,{d:function(){return callApiNew}});var i=_("bMF9"),a=_("dvDa"),r=_("rIrU"),o=_("ink7"),s=_("p46w"),E=_.n(s),n=_("IDBz"),T=_("iv2E");let getMainInterceptors=e=>({request:t=>{try{let _=E().get(r.Ud),i=(0,o.U)(t.url||"",{...t.params,..."together"===e?{websiteUrl:"https://".concat(T.domainLocales[r.ENV.DEPLOY_LOCALE||"en-PH"])}:{},...("care"===e||"careV2"===e||"premium"===e||"unified"===e?{site:T.domainLocales[r.ENV.DEPLOY_LOCALE||"en-PH"]}:{})||"ecommerce"===e,..."babyVaccine"===e?{domain:T.domainLocales[r.ENV.DEPLOY_LOCALE||"en-PH"]}:{}});t.url=i,t.params="tl-PH"===r.ENV.NEXT_PUBLIC_DEPLOY_LOCALE?{lang:"fil"}:null,_&&(t.headers.Authorization="Bearer ".concat(_))}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,n.Tb)(e)}});a.default.defaults.headers.post["Content-Type"]="application/json",a.default.defaults.timeout=3e4;let l=a.default.create({baseURL:(0,o.c)()}),c=a.default.create({baseURL:r.ENV.NEXT_PUBLIC_PREMIUM_URL}),d=a.default.create({baseURL:r.ENV.NEXT_PUBLIC_TOGETHER_API+"api/v1/"}),I=a.default.create({baseURL:r.ENV.NEXT_PUBLIC_CARE_API+"api/"}),p=a.default.create({baseURL:r.ENV.NEXT_PUBLIC_CARE_API+"api/v2/",headers:{Accept:"version=2.0.0"}}),u=a.default.create({baseURL:r.ENV.NEXT_PUBLIC_SSO+"api/",headers:{"Accept-Encoding":"*"}}),O=a.default.create({baseURL:r.ENV.NEXT_PUBLIC_LEAD_API+"api/"}),A=a.default.create({baseURL:r.ENV.NEXT_PUBLIC_CHAT_BOT_API}),S=a.default.create({baseURL:r.ENV.NEXT_PUBLIC_SIDIS_TEMPLATE_API}),h=a.default.create({baseURL:r.ENV.NEXT_PUBLIC_SIDIS_API+"api/"}),g=a.default.create({baseURL:r.ENV.NEXT_PUBLIC_SIDIS_API_GET+"frontend/"}),L=a.default.create({baseURL:r.ENV.NEXT_PUBLIC_SIDIS_API_GET+"api/"}),G=a.default.create({baseURL:r.ENV.INTERNAL_VACCINATION_TOOL_API||r.ENV.NEXT_PUBLIC_VACCINATION_TOOL_API}),P=a.default.create({baseURL:r.ENV.NEXT_PUBLIC_UNIFIED_API}),R=a.default.create({baseURL:r.ENV.NEXT_PUBLIC_ECOMMERCE_API+"rest/"+r.ENV.NEXT_PUBLIC_STORE_CODE+"/V1/"});(async()=>{[l,u,I,p,O,S,g,L,h,G,d,c,P,R].forEach(e=>{let{request:t,error:_,response:i}=getMainInterceptors();e.interceptors.request.use(t,_),e.interceptors.response.use(i,_)}),d.interceptors.request.use(getMainInterceptors("together").request,getMainInterceptors().error),I.interceptors.request.use(getMainInterceptors("care").request,getMainInterceptors().error),p.interceptors.request.use(getMainInterceptors("careV2").request,getMainInterceptors().error),c.interceptors.request.use(getMainInterceptors("premium").request,getMainInterceptors().error),G.interceptors.request.use(getMainInterceptors("babyVaccine").request,getMainInterceptors().error),P.interceptors.request.use(getMainInterceptors("unified").request,getMainInterceptors().error),R.interceptors.request.use(getMainInterceptors("ecommerce").request,getMainInterceptors().error),A.interceptors.request.use(getMainInterceptors("chatbot").request,getMainInterceptors().error)})();let b={discover:l,care:I,careV2:p,together:d,sso:u,lead:O,sidis:S,sidis_frontend:g,sidis_subscription:L,sidis_update:h,baby_vaccine:G,premium:c,unified:P,ecommerce:R,chatbot:A},callApiNew=async function(e,t){let _=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"discover",a=arguments.length>3&&void 0!==arguments[3]&&arguments[3],r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];try{let i=b[_],r=await i({url:e,...t});if(r)return a?r:r.data}catch(_){if((0,i.SD)(null,e,(null==t?void 0:t.method)||"GET","",_),r)throw _}return null}},oQBk:function(e,t,_){"use strict";_.d(t,{y:function(){return i}});let i={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_HOMEPAGE_LATEST_POSTS:"articles?page=1&_islatest=1",GET_ARTICLES:"articles?ids={ids}"},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}",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}",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"},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"},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}",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}",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}",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}",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}"},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_HOMEPAGE_SITEWIDE_BANNER:"home/sitewide-banner",GET_FOOTER_INFO:"footer",GET_AFFILIATE_PRODUCT:"product/{productId}",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_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}",GET_HOMEPAGE_POSTS:"home/trending-post?type={type}",BASE_API_PATH:"/",GET_SEARCH_ARTICLES:"search?s={keyword}&page={page}",GET_HOMEAGE_SCHEMA:"home/schema",GET_HOMEPAGE_COMMUNITY_DATA:"home/community",GET_ABOUT_US_META_TAG:"/about",GET_APP_LANDING_PAGE:"landing-page/tai-app",GET_HOMEPAGE_HEALTH_TOOL:"home/health-tools",GET_HOME_VIDEOS:"home/videos/",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_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:""}}},IDBz:function(e,t,_){"use strict";_.d(t,{Tb:function(){return captureException},uT:function(){return captureMessage}});var i=_("ZjzG");let a=null,getSentry=async()=>a||((a=await Promise.all([_.e(2138),_.e(9467),_.e(4467),_.e(6966),_.e(5243),_.e(8132),_.e(1375),_.e(4561),_.e(1448),_.e(5465),_.e(1217),_.e(5480),_.e(731),_.e(2050),_.e(2008),_.e(8469),_.e(8214),_.e(1482),_.e(6817),_.e(467),_.e(5951),_.e(9357),_.e(747),_.e(5675),_.e(6753),_.e(4802),_.e(3046),_.e(5745),_.e(3437),_.e(252),_.e(6839),_.e(9424),_.e(5702),_.e(8922),_.e(6399),_.e(553),_.e(2902),_.e(4969),_.e(3257),_.e(6611),_.e(7538),_.e(6894),_.e(5341)]).then(_.bind(_,"9XHH")))?(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),_=0;_S Exception",t):null)},captureMessage=async function(){for(var e=arguments.length,t=Array(e),_=0;_S Message",t):null)}},iv2E:function(e){"use strict";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:[]}},PXST:function(){"use strict";var e=window;e.__sentryRewritesTunnelPath__=void 0,e.SENTRY_RELEASE={id:"mhgJiVtgFdWax7whFwWaG"},e.__sentryBasePath=void 0,e.__rewriteFramesAssetPrefixPath__=""},zNOK:function(e,t,_){"use strict";_.r(t),_.d(t,{default:function(){return HHGDiscover}});var i=_("BGKE");_("hYkW");var a=_("q1tI"),r=_("eosF"),o=_("+m3q"),s=_("Vvt1"),E=_.n(s),n=_("g4pe"),T=_.n(n),l=_("20a2"),c=_.n(l),d=_("Mj6V"),I=_.n(d);_("6HQU");var p=_("hgAh"),u=_("OGPO"),O=_("P5LW"),A=_("Skvs"),S=_("SKjw"),h=_("JQDj"),g=_("N2Lg"),L=_("yNk5");(async()=>{"IntersectionObserver"in window||await Promise.all([_.e(2138),_.e(9467),_.e(4467),_.e(6966),_.e(5243),_.e(8132),_.e(1375),_.e(4561),_.e(1448),_.e(5465),_.e(1217),_.e(5480),_.e(731),_.e(2050),_.e(2008),_.e(8469),_.e(8214),_.e(1482),_.e(6817),_.e(467),_.e(5951),_.e(9357),_.e(747),_.e(5675),_.e(6753),_.e(4802),_.e(3046),_.e(5745),_.e(3437),_.e(252),_.e(6839),_.e(9424),_.e(5702),_.e(8922),_.e(6399),_.e(553),_.e(2902),_.e(4969),_.e(3257),_.e(6611),_.e(7538),_.e(6894),_.e(5341)]).then(_.t.bind(_,"Wr5T",23))})(),(0,o.E)({DISCOVER_API:"https://wp.hellobacsi.com/",INTERNAL_DISCOVER_API:L.env.WP_INTERNAL_API,TOGETHER_API:"https://together.hellohealthgroup.com/",CARE_API:"https://health-care.hellohealthgroup.com/",SIDIS_TEMPLATE_API:"https://sidis-template-be.hellohealthgroup.com/",SIDIS_API:"https://producer-sidis.hellohealthgroup.com/",SIDIS_API_GET:"https://api-internal-sidis.hellohealthgroup.com/",SSO_API:"https://id.hellobacsi.com/",LOCALE:"vi-VN",DEPLOY_ENV:"production",LEAD_API:"https://lead.hellohealthgroup.com/",SUBOT_API:"https://subot.hellohealthgroup.com/frontend/api/",INTERNAL_SUBOT_API:L.env.SUBOT_INTERNAL,SUBOT_URL:"https://subot.hellobacsi.com/"}),history.scrollRestoration&&(history.scrollRestoration="manual");let G=E()(()=>Promise.all([_.e(9409),_.e(6259),_.e(1818),_.e(7519),_.e(761),_.e(2189),_.e(5231),_.e(7797),_.e(5454),_.e(5481),_.e(140),_.e(5718),_.e(3684),_.e(5349),_.e(4148),_.e(2509),_.e(1533),_.e(1108),_.e(9124),_.e(4190),_.e(2582),_.e(6509),_.e(5308),_.e(4125),_.e(9715),_.e(7730),_.e(3929),_.e(891),_.e(137),_.e(4414),_.e(1079),_.e(7613),_.e(8098),_.e(3416),_.e(2500),_.e(1570),_.e(3506),_.e(1413),_.e(2138),_.e(9467),_.e(4467),_.e(6966),_.e(5243),_.e(8132),_.e(1375),_.e(4561),_.e(1448),_.e(5465),_.e(1217),_.e(5480),_.e(731),_.e(2050),_.e(2008),_.e(8469),_.e(8214),_.e(1482),_.e(6817),_.e(467),_.e(5951),_.e(9357),_.e(747),_.e(5675),_.e(6753),_.e(4802),_.e(3046),_.e(5745),_.e(3437),_.e(252),_.e(6839),_.e(9424),_.e(5702),_.e(8922),_.e(6399),_.e(553),_.e(2902),_.e(4969),_.e(3257),_.e(6611),_.e(7538),_.e(6894),_.e(5341),_.e(4846),_.e(2233),_.e(1058),_.e(3295),_.e(1538),_.e(7152),_.e(5684),_.e(2574),_.e(9884),_.e(7644),_.e(6962),_.e(8767),_.e(6638),_.e(7741),_.e(3434),_.e(2433),_.e(5385),_.e(3564),_.e(7082),_.e(3158),_.e(5641),_.e(7454),_.e(7004),_.e(4758),_.e(6219),_.e(17),_.e(8990),_.e(4067),_.e(9487),_.e(9083),_.e(1520),_.e(270),_.e(7596),_.e(8217),_.e(7543),_.e(2835),_.e(2507),_.e(6885),_.e(7859),_.e(690),_.e(2730),_.e(6287),_.e(7682),_.e(1551),_.e(4870),_.e(9922),_.e(3133),_.e(612),_.e(2002),_.e(1880),_.e(7471),_.e(7165),_.e(5451),_.e(8612),_.e(2819),_.e(7695),_.e(6632)]).then(_.bind(_,"CF7p")),{loadableGenerated:{webpack:()=>["CF7p"]}});function HHGDiscover(e){let{Component:t,pageProps:_,err:o}=e,{locale:s,asPath:E}=(0,O.h)();(0,S.Y)(_),(0,u.Mm)(),(0,a.useEffect)(()=>{I().configure({showSpinner:!1}),setTimeout(()=>{c().events.on("routeChangeStart",()=>I().start())},100),c().events.on("routeChangeComplete",()=>I().done()),c().events.on("routeChangeError",()=>I().done())},[]);let n=t.LayoutComponent||G;return(0,i.BX)(i.HY,{children:[(0,i.tZ)(h.Ss,{}),(0,i.BX)(T(),{children:[(0,i.tZ)("script",{id:"gpt-init",async:!0,dangerouslySetInnerHTML:{__html:"window.googletag = window.googletag || { cmd: [] };\n googletag.cmd.push(function () {\n googletag.pubads().collapseEmptyDivs(true);\n ".concat(s!==r.L.Vietnam?"googletag.pubads().enableSingleRequest();":"","\n ").concat((g.E9[s]||[]).find(e=>E.startsWith(e))?"googletag.pubads().disableInitialLoad();":"","\n\n googletag.pubads().enableLazyLoad({\n fetchMarginPercent: 300,\n renderMarginPercent: ").concat(s===r.L.Vietnam?50:30,',\n mobileScaling: 2.0,\n });\n googletag.enableServices();\n if (window.location.hostname.startsWith(\'demo.\')) {\n googletag.pubads().setTargeting("demo",["yes"]);\n }\n if (window.location.pathname.startsWith(\'/preview/\')) {\n googletag.pubads().setTargeting("preview",["yes"]);\n }\n });\n ')}},"gpt-init"),(0,i.tZ)("script",{id:"debug-bear-rum",async:!0,dangerouslySetInnerHTML:{__html:"(function () {\n const dbpr = 100;\n if (Math.random() * 100 > 100 - dbpr) {\n const d = 'dbbRum', w = window, o = document, a = addEventListener, scr = o.createElement('script');\n scr.async = true;\n w[d] = w[d] || [];\n w[d].push(['presampling', dbpr]);\n ['error', 'unhandledrejection'].forEach(function (t) {\n a(t, function (e) {\n w[d].push([t, e]);\n });\n });\n scr.src = 'https://cdn.debugbear.com/".concat("6SloummLPO3W",".js';\n o.head.appendChild(scr);\n }\n })();")}},"debug-bear-rum")]}),(0,i.BX)(A.xp,{isMobileSSR:null==_?void 0:_.isMobileSsr,children:[(0,i.tZ)(A.bM,{}),(0,i.tZ)(p.V,{}),(0,i.tZ)(n,{pageProps:_,children:(0,i.tZ)(t,{..._,err:o})})]})]})}},hYkW:function(){}},function(e){var __webpack_exec__=function(t){return e(e.s=t)};e.O(0,[9774,5231,7797,5454,5481,140,5718,3684,5349,4148,2509,1533,1108,9124,4190,2582,6509,5308,4125,9715,7730,3929,891,137,4414,1079,7613,8098,3416,2500,1570,3506,1413,2138,9467,4467,6966,5243,8132,1375,4561,1448,5465,1217,5480,731,2050,2008,8469,8214,1482,6817,467,5951,9357,747,5675,6753,4802,3046,5745,3437,252,6839,9424,5702,8922,6399,553,2902,4969,3257,6611,7538,6894,5341,4846,2233,1058,3295,1538,7152,5684,2574,9884,7644,6962,8767,6638,7741,3434,2433,5385,3564,7082,3158,5641,7454,7004,4758,6219,17,8990,4067,9487,9083,1520,270,7596,8217,7543,2835,2507,6885,7859,690,2730,6287,7682,1551,4870,9922,3133,612,2002,1880,7471,7165,5451,8612,2819,7695,179],function(){return __webpack_exec__("PXST"),__webpack_exec__("H+O6"),__webpack_exec__("Ut4T")}),_N_E=e.O()}]);