1(self.webpackChunkhhgDiscoverV1=self.webpackChunkhhgDiscoverV1||[]).push([[2934],{kDxR:function(t,e,r){"use strict";r.d(e,{B:function(){return Button}});var n=r("yabo"),i=r("+OUp"),o=r.n(i),a=r("DtEE");let Button=t=>{var{size:e,color:r="primary",isDisabled:i,isBlock:s,title:c,onClick:u,icon:l,iconPosition:f="left",children:d,isLoading:p=!1,loadingText:h,dataEventCategory:g,dataEventAction:v,dataEventLabel:m,dataProductChannel:y,dataProductSku:_,dataProductBrand:b,dataProductName:S,dataProductPrice:w,dataProductCategory:x,dataProductPosition:A,type:P}=t,T=(0,n.a)(t,["size","color","isDisabled","isBlock","title","onClick","icon","iconPosition","children","isLoading","loadingText","dataEventCategory","dataEventAction","dataEventLabel","dataProductChannel","dataProductSku","dataProductBrand","dataProductName","dataProductPrice","dataProductCategory","dataProductPosition","type"]);return o().createElement(a.B,Object.assign({},{"data-event-category":g,"data-event-action":v,"data-event-label":m,"data-product-channel":y,"data-product-sku":_,"data-product-brand":b,"data-product-name":S,"data-product-price":w,"data-product-category":x,"data-product-position":A},{size:e,variant:"transparent"===r?"white":"danger"===r?"error":r,disabled:i,onClick:t=>{p||i||!u||u(t)},title:c,loading:p,type:P||"submit",leftIcon:"left"===f?l:void 0,rightIcon:"right"===f?l:void 0,w:s?"100%":void 0,p:s?"12px auto":void 0,"data-color":r,"data-size":e,"data-block":s,"data-has-icon":!!l||void 0,"data-theme":T.theme,"data-is-loading":p},T),p&&h||d)}},sdJE:function(t,e,r){"use strict";r.d(e,{a:function(){return normalizeLink},b:function(){return getCurrentBaseUrl},c:function(){return getCurrentSsoUrl},d:function(){return getTogetherApiDomain},e:function(){return getDiscoverApiDomain},f:function(){return forceEndSlash},g:function(){return getLocalePathSegment},h:function(){return getCareApiDomain},n:function(){return normalizeLinkSlash},r:function(){return resolveDiscoverNavLink},s:function(){return stripLocalePathSegment},w:function(){return withLocalePathPrefix}});var n=r("xrdX"),i=r("GOBr"),o=r("yNk5");let normalizeLinkSlash=t=>t.replace(/([^:]\/)\/+/g,"$1"),forceEndSlash=t=>t.replace(/\/?$/,"/"),normalizeLink=t=>normalizeLinkSlash(forceEndSlash(t)),a={"tl-PH":"fil"},s=new Set(["care","community","shop"]),getLocalePathSegment=t=>t?a[t]:void 0,c=new Set(Object.values(a)),stripLocalePathSegment=t=>{if(!t)return t;let e=t.search(/[?#]/),r=e>=0?t.slice(0,e):t,n=e>=0?t.slice(e):"",i=r.split("/").filter(Boolean);if(!i[0]||!c.has(i[0]))return t;let o=r.startsWith("/"),a=r.endsWith("/")?"/":"",s=i.slice(1);return 0===s.length?`${o?"/":""}${n}`:`${o?"/":""}${s.join("/")}${a}${n}`},withLocalePathPrefix=(t,e)=>{let r=getLocalePathSegment(e);if(!t||!r)return t;if(t.startsWith("http://")||t.startsWith("https://"))try{let r=new URL(t),n=withLocalePathPrefix(r.pathname,e);if(n===r.pathname)return t;return r.pathname=n,r.toString()}catch(e){return t}let n=t.search(/[?#]/),i=n>=0?t.slice(0,n):t,o=n>=0?t.slice(n):"",a=i.split("/").filter(Boolean);if(a[0]===r||a[0]&&s.has(a[0]))return t;let c=i.startsWith("/"),u=i.endsWith("/")&&a.length>0?"/":"",l=0===a.length?`/${r}${c?"/":""}`:`${c?"/":""}${[r,...a].join("/")}${u}`;return`${l}${o}`},resolveDiscoverNavLink=(t,e="",r)=>{if(!e)return normalizeLinkSlash(t);if(e.startsWith("http://")||e.startsWith("https://"))return normalizeLinkSlash(withLocalePathPrefix(e,r));let n=e.startsWith("/")?e:`/${e}`;return normalizeLinkSlash(`${t}${withLocalePathPrefix(n,r)}`)},getCurrentBaseUrl=(t,e)=>{let r=!i.K;return`https://${r?e?"fe.":"discover.":e?"www.":""}${n.y[e?"vi-VN_MB":t]}`},getCurrentSsoUrl=(t,e)=>o.env.UNIFY_SSO_API||`https://${i.K?"id.":"staging-id."}${n.y[e?"vi-VN_MB":t]}`,getTogetherApiDomain=()=>o.env.UNIFY_INTERNAL_TOGETHER_API||o.env.UNIFY_TOGETHER_API||`https://${i.K?"together.":"staging-together."}hellohealthgroup.com`,getDiscoverApiDomain=t=>{let e=t.endsWith("_MB");return e?`https://${i.K?"wp.":"staging."}${n.y[t]}`:o.env.UNIFY_INTERNAL_DISCOVER_API||o.env.UNIFY_DISCOVER_API||`https://${i.K?"wp.":"staging."}${n.y[t]}`},getCareApiDomain=()=>
1o.env.UNIFY_INTERNAL_CARE_API||o.env.UNIFY_CARE_API||`https://${i.K?"health-care.":"service-health-care."}hellohealthgroup.com`},TSYQ:function(t,e){var r;/*! 2 Copyright (c) 2017 Jed Watson. 3 Licensed under the MIT License (MIT), see 4 http://jedwatson.github.io/classnames 5*/!function(){"use strict";var n={}.hasOwnProperty;function classNames(){for(var t=[],e=0;e<arguments.length;e++){var r=arguments[e];if(r){var i=typeof r;if("string"===i||"number"===i)t.push(r);else if(Array.isArray(r)&&r.length){var o=classNames.apply(null,r);o&&t.push(o)}else if("object"===i)for(var a in r)n.call(r,a)&&r[a]&&t.push(a)}}return t.join(" ")}t.exports?(classNames.default=classNames,t.exports=classNames):void 0!==(r=(function(){return classNames}).apply(e,[]))&&(t.exports=r)}()},"77Jp":function(t,e){"use strict";var r,n;Object.defineProperty(e,"__esModule",{value:!0}),e.Doctype=e.CDATA=e.Tag=e.Style=e.Script=e.Comment=e.Directive=e.Text=e.Root=e.isTag=e.ElementType=void 0,(n=r=e.ElementType||(e.ElementType={})).Root="root",n.Text="text",n.Directive="directive",n.Comment="comment",n.Script="script",n.Style="style",n.Tag="tag",n.CDATA="cdata",n.Doctype="doctype",e.isTag=function(t){return t.type===r.Tag||t.type===r.Script||t.type===r.Style},e.Root=r.Root,e.Text=r.Text,e.Directive=r.Directive,e.Comment=r.Comment,e.Script=r.Script,e.Style=r.Style,e.Tag=r.Tag,e.CDATA=r.CDATA,e.Doctype=r.Doctype},KYiY:function(t,e,r){var n;!function(){var e={initialize:function(){this._tasks=new Map},mutate:function(t,e){return create(this,"mutate",t,e)},measure:function(t,e){return create(this,"measure",t,e)},clear:function(t){var e=this._tasks,r=e.get(t);this.fastdom.clear(r),e.delete(t)}};function create(t,e,r,n){var i,o=t._tasks,a=t.fastdom,s=new Promise(function(t,c){i=a[e](function(){o.delete(s);try{t(n?r.call(n):r())}catch(t){c(t)}},n)});return o.set(s,i),s}void 0!==(n=(function(){return e}).call(e,r,e,t))&&(t.exports=n)}()},Sn6X:function(t,e,r){var n;!function(e){"use strict";var debug=function(){},i=e.requestAnimationFrame||e.webkitRequestAnimationFrame||e.mozRequestAnimationFrame||e.msRequestAnimationFrame||function(t){return setTimeout(t,16)};function FastDom(){this.reads=[],this.writes=[],this.raf=i.bind(e),debug("initialized",this)}function scheduleFlush(t){t.scheduled||(t.scheduled=!0,t.raf(flush.bind(null,t)),debug("flush scheduled"))}function flush(t){debug("flush");var e,r=t.writes,n=t.reads;try{debug("flushing reads",n.length),t.runTasks(n),debug("flushing writes",r.length),t.runTasks(r)}catch(t){e=t}if(t.scheduled=!1,(n.length||r.length)&&scheduleFlush(t),e){if(debug("task errored",e.message),t.catch)t.catch(e);else throw e}}function remove(t,e){var r=t.indexOf(e);return!!~r&&!!t.splice(r,1)}FastDom.prototype={constructor:FastDom,runTasks:function(t){var e;for(debug("run tasks");e=t.shift();)e()},measure:function(t,e){debug("measure");var r=e?t.bind(e):t;return this.reads.push(r),scheduleFlush(this),r},mutate:function(t,e){debug("mutate");var r=e?t.bind(e):t;return this.writes.push(r),scheduleFlush(this),r},clear:function(t){return debug("clear",t),remove(this.reads,t)||remove(this.writes,t)},extend:function(t){if(debug("extend",t),"object"!=typeof t)throw Error("expected object");var e=Object.create(this);return function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])}(e,t),e.fastdom=this,e.initialize&&e.initialize(),e},catch:null};var o=e.fastdom=e.fastdom||new FastDom;void 0!==(n=(function(){return o}).call(o,r,o,t))&&(t.exports=n)}("undefined"!=typeof window?window:void 0!==this?this:globalThis)},p46w:function(t,e,r){var n,i,o;void 0!==(i="function"==typeof(n=o=function(){function extend(){for(var t=0,e={};t<arguments.length;t++){var r=arguments[t];for(var n in r)e[n]=r[n]}return e}function decode(t){return t.replace(/(%[0-9A-Z]{2}
5)+/g,decodeURIComponent)}return function init(t){function api(){}function set(e,r,n){if("undefined"!=typeof document){"number"==typeof(n=extend({path:"/"},api.defaults,n)).expires&&(n.expires=new Date(new Date*1+864e5*n.expires)),n.expires=n.expires?n.expires.toUTCString():"";try{var i=JSON.stringify(r);/^[\{\[]/.test(i)&&(r=i)}catch(t){}r=t.write?t.write(r,e):encodeURIComponent(String(r)).replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g,decodeURIComponent),e=encodeURIComponent(String(e)).replace(/%(23|24|26|2B|5E|60|7C)/g,decodeURIComponent).replace(/[\(\)]/g,escape);var o="";for(var a in n)n[a]&&(o+="; "+a,!0!==n[a]&&(o+="="+n[a].split(";")[0]));return document.cookie=e+"="+r+o}}function get(e,r){if("undefined"!=typeof document){for(var n={},i=document.cookie?document.cookie.split("; "):[],o=0;o<i.length;o++){var a=i[o].split("="),s=a.slice(1).join("=");r||'"'!==s.charAt(0)||(s=s.slice(1,-1));try{var c=decode(a[0]);if(s=(t.read||t)(s,c)||decode(s),r)try{s=JSON.parse(s)}catch(t){}if(n[c]=s,e===c)break}catch(t){}}return e?n[e]:n}}return api.set=set,api.get=function(t){return get(t,!1)},api.getJSON=function(t){return get(t,!0)},api.remove=function(t,e){set(t,"",extend(e,{expires:-1}))},api.defaults={},api.withConverter=init,api}(function(){})})?n.call(e,r,e,t):n)&&(t.exports=i),t.exports=o()},eUgh:function(t){t.exports=function(t,e){for(var r=-1,n=null==t?0:t.length,i=Array(n);++r<n;)i[r]=e(t[r],r,t);return i}},zoYe:function(t,e,r){var n=r("nmnc"),i=r("eUgh"),o=r("Z0cm"),a=r("/9aa"),s=1/0,c=n?n.prototype:void 0,u=c?c.toString:void 0;t.exports=function baseToString(t){if("string"==typeof t)return t;if(o(t))return i(t,baseToString)+"";if(a(t))return u?u.call(t):"";var e=t+"";return"0"==e&&1/t==-s?"-0":e}},Z0cm:function(t){var e=Array.isArray;t.exports=e},"Y+p1":function(t,e,r){var n=r("wF/u");t.exports=function(t,e){return n(t,e)}},dt0z:function(t,e,r){var n=r("zoYe");t.exports=function(t){return null==t?"":n(t)}},Istr:function(t,e,r){"use strict";r.d(e,{C6:function(){return __extends},Cl:function(){return __assign},Ju:function(){return __values},Tt:function(){return __rest},fX:function(){return __spreadArray},zs:function(){return __read}});var extendStatics=function(t,e){return(extendStatics=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])})(t,e)};function __extends(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Class extends value "+String(e)+" is not a constructor or null");function __(){this.constructor=t}extendStatics(t,e),t.prototype=null===e?Object.create(e):(__.prototype=e.prototype,new __)}var __assign=function(){return(__assign=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var i in e=arguments[r])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t}).apply(this,arguments)};function __rest(t,e){var r={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&0>e.indexOf(n)&&(r[n]=t[n]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,n=Object.getOwnPropertySymbols(t);i<n.length;i++)0>e.indexOf(n[i])&&Object.prototype.propertyIsEnumerable.call(t,n[i])&&(r[n[i]]=t[n[i]]);return r}function __values(t){var e="function"==typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function __read(t,e){var r="function"==typeof Symbol&&t[Symbol.iterator];if(!r)return t;var n,i,o=r.call(t),a=[];try{for(;(void 0===e||e-- >0)&&!(n=o.next()).done;)a.push(n.value)}catch(t){i={error:t}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a}function __spreadArray(t,e,r){if(r||2==arguments.length)for(var n,i=0,o=e.length;i<o;i++)!n&&i in e||(n||(n=Array.prototype.slice.call(e,0,i)),n[i]=e[i]);return t.concat(n||Array.prototype.slice.call(e))}"function"==typeof SuppressedError&&SuppressedError}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.