(self.webpackChunkhhgDiscoverV1=self.webpackChunkhhgDiscoverV1||[]).push([[9082],{xrdX:function(t,e,n){"use strict";n.d(e,{H:function(){return o},y:function(){return s}});var i=n("4BRW");let s={"vi-VN":"hellobacsi.com","id-ID":"hellosehat.com","ms-MY":"hellodoktor.com","km-KH":"hellokrupet.com","en-PH":"hellodoctor.com.ph","th-TH":"hellokhunmor.com","my-MM":"hellosayarwon.com","zh-TW":"helloyishi.com.tw","zh-SG":"hellojiankang.com","hi-IN":"helloswasthya.com","tl-PH":"hellodoctor.com.ph","vi-VN_MB":"marrybaby.vn"},o={[i.L.Vietnam]:"hellobacsi.com",[i.L.Indonesia]:"hellosehat.com",[i.L.Malaysia]:"hellodoktor.com",[i.L.Cambodia]:"hellokrupet.com",[i.L.PhilippinesEnglish]:"hellodoctor.com.ph",[i.L.PhilippinesTagalog]:"hellodoctor.com.ph",[i.L.Thailand]:"hellokhunmor.com",[i.L.Myanmar]:"hellosayarwon.com",[i.L.Taiwan]:"helloyishi.com.tw",[i.L.India]:"helloswasthya.com",[i.L.Singapore]:"hellojiankang.com"}},GOBr:function(t,e,n){"use strict";var i,s,o,u;n.d(e,{K:function(){return h}});let c="undefined"!=typeof window&&null!==(u=null===(o=null==(s=null===(i=null==window?void 0:window.location)||void 0===i?void 0:i.href)?void 0:s.match(/^https?:\/\/([^/?#]+)(?:[/?#]|$)/i))||void 0===o?void 0:o[1])&&void 0!==u?u:"";c.split(".");let h=!0},Wbba:function(t,e,n){"use strict";n.d(e,{C:function(){return c}});var i=n("xrdX"),s=n("GOBr"),o=n("yNk5");let isNumeric=t=>!isNaN(parseFloat(t))&&isFinite(t),u="hellosehat.com",c=new class{constructor(){this.baseDomain="",this.subPath="",this.getAssetPath=(t,e,n)=>{let i="https://hhg-common."+[e||this.getBaseDomain(),n||this.subPath,t].join("/");return s.K||o.env.JEST_WORKER_ID?i:i+"?v="+Math.floor(new Date().getTime()/1e3/60/3)}}getBaseDomain(){if(this.baseDomain)return this.baseDomain;if("undefined"!=typeof window){let{host:t}=window.location,e=t.split("."),n=i.y[Object.keys(i.y).find(e=>t.includes(i.y[e]))];return e.includes("localhost")||e.includes("hellohealthgroup")||e.every(t=>isNumeric(t))||!n?u:n}return u}};c.subPath="common",c.baseDomain=i.y["vi-VN"]},"13Ln":function(t){var e,n,i,s,o,u,c,h,d,f,m,p,v;t.exports=(i=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,s=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/,o={years:31536e6,months:2592e6,days:864e5,hours:36e5,minutes:6e4,seconds:1e3,milliseconds:1,weeks:6048e5},u=function(t){return t instanceof p},c=function(t,e,n){return new p(t,n,e.$l)},h=function(t){return n.p(t)+"s"},d=function(t){return t<0},f=function(t){return d(t)?Math.ceil(t):Math.floor(t)},m=function(t,e){return t?d(t)?{negative:!0,format:""+Math.abs(t)+e}:{negative:!1,format:""+t+e}:{negative:!1,format:""}},p=function(){function l(t,e,n){var i=this;if(this.$d={},this.$l=n,void 0===t&&(this.$ms=0,this.parseFromMilliseconds()),e)return c(t*o[h(e)],this);if("number"==typeof t)return this.$ms=t,this.parseFromMilliseconds(),this;if("object"==typeof t)return Object.keys(t).forEach(function(e){i.$d[h(e)]=t[e]}),this.calMilliseconds(),this;if("string"==typeof t){var u=t.match(s);if(u){var d=u.slice(2).map(function(t){return null!=t?Number(t):0});return this.$d.years=d[0],this.$d.months=d[1],this.$d.weeks=d[2],this.$d.days=d[3],this.$d.hours=d[4],this.$d.minutes=d[5],this.$d.seconds=d[6],this.calMilliseconds(),this}}return this}var t=l.prototype;return t.calMilliseconds=function(){var t=this;this.$ms=Object.keys(this.$d).reduce(function(e,n){return e+(t.$d[n]||0)*o[n]},0)},t.parseFromMilliseconds=function(){var t=this.$ms;this.$d.years=f(t/31536e6),t%=31536e6,this.$d.months=f(t/2592e6),t%=2592e6,this.$d.days=f(t/864e5),t%=864e5,this.$d.hours=f(t/36e5),t%=36e5,this.$d.minutes=f(t/6e4),t%=6e4,this.$d.seconds=f(t/1e3),t%=1e3,this.$d.milliseconds=t},t.toISOString=function(){var t=m(this.$d.years,"Y"),e=m(this.$d.months,"M"),n=+this.$d.days||0;this.$d.weeks&&(n+=7*this.$d.weeks);var i=m(n,"D"),s=m(this.$d.hours,"H"),o=m(this.$d.minutes,"M"),u=this.$d.seconds||0;this.$d.milliseconds&&(u+=this.$d.milliseconds/1e3);var c=m(u,"S"),h=t.negative||e.negative||i.negative||s.negative||o.negative||c.negative,d=s.format||o.format||c.format?"T":"",f=(h?"-":"")+"P"+t.format+e.format+i.format+d+s.format+o.format+c.format;return"P"===f||"-P"===f?"P0D":f},t.toJSON=function(){return this.toISOString()},t.format=function(t){var e={Y:this.$d.years,YY:n.s(this.$d.years,2,"0"),YYYY:n.s(this.$d.years,4,"0"),M:this.$d.months,MM:n.s(this.$d.months,2,"0"),D:this.$d.days,DD:n.s(this.$d.days,2,"0"),H:this.$d.hours,HH:n.s(this.$d.hours,2,"0"),m:this.$d.minutes,mm:n.s(this.$d.minutes,2,"0"),s:this.$d.seconds,ss:n.s(this.$d.seconds,2,"0"),SSS:n.s(this.$d.milliseconds,3,"0")};return(t||"YYYY-MM-DDTHH:mm:ss").replace(i,function(t,n){return n||String(e[t])})},t.as=function(t){return this.$ms/o[h(t)]},t.get=function(t){var e=this.$ms,n=h(t);return"milliseconds"===n?e%=1e3:e="weeks"===n?f(e/o[n]):this.$d[n],0===e?0:e},t.add=function(t,e,n){var i;return i=e?t*o[h(e)]:u(t)?t.$ms:c(t,this).$ms,c(this.$ms+i*(n?-1:1),this)},t.subtract=function(t,e){return this.add(t,e,!0)},t.locale=function(t){var e=this.clone();return e.$l=t,e},t.clone=function(){return c(this.$ms,this)},t.humanize=function(t){return e().add(this.$ms,"ms").locale(this.$l).fromNow(!t)},t.valueOf=function(){return this.asMilliseconds()},t.milliseconds=function(){return this.get("milliseconds")},t.asMilliseconds=function(){return this.as("milliseconds")},t.seconds=function(){return this.get("seconds")},t.asSeconds=function(){return this.as("seconds")},t.minutes=function(){return this.get("minutes")},t.asMinutes=function(){return this.as("minutes")},t.hours=function(){return this.get("hours")},t.asHours=function(){return this.as("hours")},t.days=function(){return this.get("days")},t.asDays=function(){return this.as("days")},t.weeks=function(){return this.get("weeks")},t.asWeeks=function(){return this.as("weeks")},t.months=function(){return this.get("months")},t.asMonths=function(){return this.as("months")},t.years=function(){return this.get("years")},t.asYears=function(){return this.as("years")},l}(),v=function(t,e,n){return t.add(e.years()*n,"y").add(e.months()*n,"M").add(e.days()*n,"d").add(e.hours()*n,"h").add(e.minutes()*n,"m").add(e.seconds()*n,"s").add(e.milliseconds()*n,"ms")},function(t,i,s){e=s,n=s().$utils(),s.duration=function(t,e){return c(t,{$l:s.locale()},e)},s.isDuration=u;var o=i.prototype.add,h=i.prototype.subtract;i.prototype.add=function(t,e){return u(t)?v(this,t,1):o.bind(this)(t,e)},i.prototype.subtract=function(t,e){return u(t)?v(this,t,-1):h.bind(this)(t,e)}})},"5Bip":function(t){t.exports=function(t,e,n){e.prototype.isBetween=function(t,e,i,s){var o=n(t),u=n(e),c="("===(s=s||"()")[0],h=")"===s[1];return(c?this.isAfter(o,i):!this.isBefore(o,i))&&(h?this.isBefore(u,i):!this.isAfter(u,i))||(c?this.isBefore(o,i):!this.isAfter(o,i))&&(h?this.isAfter(u,i):!this.isBefore(u,i))}}},p46w:function(t,e,n){var i,s,o;void 0!==(s="function"==typeof(i=o=function(){function extend(){for(var t=0,e={};t{"function"!=typeof t&&console.warn("[DEPRECATED] Passing a vanilla store will be unsupported in a future version. Instead use `import { useStore } from 'zustand'`.");let e="function"==typeof t?(0,i.y)(t):t,useBoundStore=(t,n)=>useStore(e,t,n);return Object.assign(useBoundStore,e),useBoundStore},create=t=>t?createImpl(t):createImpl},a5vB:function(t,e,n){"use strict";function shallow(t,e){if(Object.is(t,e))return!0;if("object"!=typeof t||null===t||"object"!=typeof e||null===e)return!1;if(t instanceof Map&&e instanceof Map){if(t.size!==e.size)return!1;for(let[n,i]of t)if(!Object.is(i,e.get(n)))return!1;return!0}if(t instanceof Set&&e instanceof Set){if(t.size!==e.size)return!1;for(let n of t)if(!e.has(n))return!1;return!0}let n=Object.keys(t);if(n.length!==Object.keys(e).length)return!1;for(let i=0;i{let e;let n=new Set,setState=(t,i)=>{let s="function"==typeof t?t(e):t;if(!Object.is(s,e)){let t=e;e=(null!=i?i:"object"!=typeof s)?s:Object.assign({},e,s),n.forEach(n=>n(e,t))}},getState=()=>e,i={setState,getState,subscribe:t=>(n.add(t),()=>n.delete(t)),destroy:()=>{console.warn("[DEPRECATED] The `destroy` method will be unsupported in a future version. Instead use unsubscribe function returned by subscribe. Everything will be garbage-collected if store is garbage-collected."),n.clear()}};return e=t(setState,getState,i),i},createStore=t=>t?createStoreImpl(t):createStoreImpl}}]);