1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="c969aedc-5ff7-4aff-bf70-cb45ffafdcc3",e._sentryDebugIdIdentifier="sentry-dbid-c969aedc-5ff7-4aff-bf70-cb45ffafdcc3")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1203],{91081:function(e,n,t){Promise.resolve().then(t.bind(t,91343)),Promise.resolve().then(t.bind(t,80562)),Promise.resolve().then(t.bind(t,14888)),Promise.resolve().then(t.bind(t,98087)),Promise.resolve().then(t.bind(t,47239)),Promise.resolve().then(t.bind(t,10575)),Promise.resolve().then(t.t.bind(t,88003,23)),Promise.resolve().then(t.bind(t,2081)),Promise.resolve().then(t.bind(t,2853)),Promise.resolve().then(t.bind(t,23833)),Promise.resolve().then(t.bind(t,95133)),Promise.resolve().then(t.bind(t,42983)),Promise.resolve().then(t.bind(t,48751)),Promise.resolve().then(t.bind(t,80295)),Promise.resolve().then(t.bind(t,24150)),Promise.resolve().then(t.bind(t,5127)),Promise.resolve().then(t.bind(t,72832)),Promise.resolve().then(t.bind(t,54096)),Promise.resolve().then(t.bind(t,22304)),Promise.resolve().then(t.bind(t,86200)),Promise.resolve().then(t.bind(t,52104)),Promise.resolve().then(t.bind(t,64975)),Promise.resolve().then(t.bind(t,30534)),Promise.resolve().then(t.bind(t,70835)),Promise.resolve().then(t.bind(t,8032))},91343:function(e,n,t){"use strict";t.d(n,{App:function(){return i.Z},ConfigProvider:function(){return a.ZP}});var i=t(45194),a=t(13959)},80562:function(e,n,t){"use strict";t.d(n,{Spin:function(){return i.Z}});var i=t(10353)},2081:function(e,n,t){"use strict";var i=t(57437),a=t(2265),l=t(99376),r=t(48667);let s="6245588532c5c";n.default=()=>{let e=(0,l.usePathname)(),n=(0,l.useSearchParams)(),t=(0,a.useRef)(!0);return((0,a.useEffect)(()=>{if(s){if(t.current){t.current=!1;return}window._uxa=window._uxa||[],window._uxa.push(["trackPageview",window.location.pathname+window.location.hash.replace("#","?__")])}},[e,n]),s)?(0,i.jsx)(r.default,{id:"contentsquare-tag",src:"https://t.contentsquare.net/uxa/".concat(s,".js"),strategy:"afterInteractive"}):null}},48751:function(e,n,t){"use strict";var i=t(57437),a=t(2265),l=t(99376),r=t(48667);let s="1662724308305811",o=!!s;n.default=()=>{let e=(0,l.usePathname)(),n=(0,l.useSearchParams)(),t=(0,a.useRef)(!0);return((0,a.useEffect)(()=>{var e,n;if(o){if(t.current){t.current=!1;return}null===(e=(n=window).fbq)||void 0===e||e.call(n,"track","PageView")}},[e,n]),o)?(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(r.default,{id:"meta-pixel-base",strategy:"afterInteractive",children:"\n !function(f,b,e,v,n,t,s)\n {if(f.fbq)return;n=f.fbq=function(){n.callMethod?\n n.callMethod.apply(n,arguments):n.queue.push(arguments)};\n if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0';\n n.queue=[];t=b.createElement(e);t.async=!0;\n t.src=v;s=b.getElementsByTagName(e)[0];\n s.parentNode.insertBefore(t,s)}(window, document,'script',\n 'https://connect.facebook.net/en_US/fbevents.js');\n fbq('init', '".concat(s,"');\n fbq('track', 'PageView');\n ")}),(0,i.jsx)("noscript",{children:(0,i.jsx)("img",{height:"1",width:"1",style:{display:"none"},alt:"",src:"https://www.facebook.com/tr?id=".concat(s,"&ev=PageView&noscript=1")})})]}):null}},24150:function(e,n,t){"use strict";t.d(n,{default:function(){return r}});var i=t(2265);let a=["utm_source","utm_medium","utm_campaign","utm_term","utm_content"],l="utm_data";var r=()=>((0,i.useEffect)(()=>{!function(){let e=function(){let e=new URLSearchParams(window.location.search),n={};for(let t of a){let i=e.get(t);i&&(n[t]=i)}return n}();Object.keys(e).length>0?function(e){if(0===Object.keys(e).length)return;let n=new Date;n.setTime(n.getTime()+2592e6);let t=window.location.hostname.endsWith("talentaxis.ai")?";domain=.talentaxis.ai":"";document.cookie="".concat(l,"=").concat(encodeURIComponent(JSON.stringify(e)),";expires=").concat(n.toUTCString(),";path=/").concat(t,";SameSite=Lax")}(e):function(){let e=l+"=";for(let n of document.cookie.split(";")){let t=n.trim();if(t.startsWith(e))try{return JSON.parse(decodeURIComponent(t.substring(e.length)))}catch(e){break}}return{}}()}()},[]),null)},2853:function(e,n,t){"use strict";t.d(n,{default:function(){return h}});var i=t(57437),a=t(2265),l=t(99376),r=t(5127),s=t(21528),o=t(96833),c=t(40257),u=e=>{let{href:n,iconSrc:t="/icon/facebook-icon.svg",size:l=52,bottom:r=50,right:s=25,stackGap:u=12,stacked:d=!0,onClose:_}=e,f=(0,a.useMemo)(()=>{var e;return(null==n?void 0:n.trim())||(null===(e=c.env.NEXT_PUBLIC_FACEBOOK_PAGE_URL)||void 0===e?void 0:e.trim())||"https://www.facebook.com/congtycophancvtot"},[n]);return f?(0,i.jsx)(o.Z,{href:f,iconSrc:t,ariaLabel:"Li\xean há» qua Facebook",alt:"Facebook",size:l,bottom:r,right:s,offsetY:d?l+u:0,onClose:_,closeAriaLabel:"Ẩn Facebook",closeDisplay:"hover"}):null},d=t(16879);let _=[/\/auth\/candidate-management(\/|$)/],f=e=>!!e&&_.some(n=>n.test(e));var h=()=>{let{isAuthenticated:e,company:n}=(0,r.aC)(),t=(0,l.usePathname)(),[o,c]=(0,a.useState)({facebook:!1,zalo:!1});(0,a.useEffect)(()=>{e||c({facebook:!1,zalo:!1})},[e]);let _=(0,a.useCallback)(()=>{c(e=>({...e,facebook:!0}))},[]),h=(0,a.useCallback)(()=>{c(e=>({...e,zalo:!0}))},[]),b=(0,a.useMemo)(()=>e&&!o.zalo,[o.zalo,e]),m=(0,a.useMemo)(()=>e&&!o.facebook,[o.facebook,e]);return"VN"!==(0,s.R2)(n)||!e||f(t)?null:(0,i.jsxs)(i.Fragment,{children:[b&&(0,i.jsx)(d.Z,{onClose:h}),m&&(0,i.jsx)(u,{onClose:_,stacked:b})]})}},96833:function(e,n,t){"use strict";var i=t(57437),a=t(2265),l=t(54887);n.Z=e=>{let{href:n,iconSrc:t,ariaLabel:r,alt:s,size:o=52,bottom:c=50,right:u=25,offsetY:d=0,zIndex:_=900,onClose:f,closeAriaLabel:h="Ä\xf3ng",closeDisplay:b="hover"}=e,[m,g]=(0,a.useState)(!1),[v,p]=(0,a.useState)(0),[x,P]=(0,a.useState)(!1),[y,w]=(0,a.useState)(!1),[C,N]=(0,a.useState)(null);(0,a.useEffect)(()=>{g(!0)},[]),(0,a.useEffect)(()=>{var e;let n=window.matchMedia("(hover: hover) and (pointer: fine)"),t=()=>N(!!n.matches);return t(),null===(e=n.addEventListener)||void 0===e||e.call(n,"change",t),()=>{var e;return null===(e=n.removeEventListener)||void 0===e?void 0:e.call(n,"change",t)}},[]),(0,a.useEffect)(()=>
1{if(!m)return;let e=null,n=null,t="undefined"!=typeof ResizeObserver?new ResizeObserver(()=>i()):null,i=()=>{e&&cancelAnimationFrame(e),e=requestAnimationFrame(()=>{let e=document.querySelector('[data-hireui-chat="candidate"]');if(e!==n&&(t&&n&&t.unobserve(n),n=e,t&&n&&t.observe(n)),!e){p(0);return}let i=e.getBoundingClientRect();p(Math.max(0,window.innerHeight-i.top+12))})};i();let a=new MutationObserver(()=>i());return a.observe(document.body,{subtree:!0,childList:!0,attributes:!0,attributeFilter:["data-chat-state","style","class"]}),window.addEventListener("resize",i),()=>{window.removeEventListener("resize",i),a.disconnect(),t&&n&&t.unobserve(n),t&&t.disconnect(),e&&cancelAnimationFrame(e)}},[m]);let j=(0,a.useMemo)(()=>n.trim(),[n]);return m&&j?(0,l.createPortal)((0,i.jsxs)("div",{style:{position:"fixed",bottom:Math.max(c,v)+d,right:u,zIndex:_,pointerEvents:"auto"},onMouseEnter:()=>P(!0),onMouseLeave:()=>P(!1),onFocusCapture:()=>w(!0),onBlurCapture:e=>{let n=e.relatedTarget;n&&e.currentTarget.contains(n)||w(!1)},children:[!!f&&("always"===b||!1===C||x||y)&&(0,i.jsx)("button",{type:"button","aria-label":h,onClick:e=>{e.preventDefault(),e.stopPropagation(),null==f||f()},style:{position:"absolute",top:-6,right:-6,width:22,height:22,borderRadius:9999,border:"1px solid rgba(0, 0, 0, 0.12)",background:"#fff",color:"rgba(0, 0, 0, 0.7)",display:"inline-flex",alignItems:"center",justifyContent:"center",cursor:"pointer",lineHeight:1,fontSize:16,boxShadow:"0 6px 14px rgba(0, 0, 0, 0.12)"},children:"\xd7"}),(0,i.jsx)("a",{href:j,target:"_blank",rel:"noopener noreferrer","aria-label":r,style:{display:"inline-flex"},children:(0,i.jsx)("span",{style:{width:o,height:o,display:"inline-flex",alignItems:"center",justifyContent:"center",borderRadius:"9999px",boxShadow:"0 8px 20px rgba(0, 0, 0, 0.15)",background:"var(--text-color-blue-info-icon, #1570EF)"},children:(0,i.jsx)("img",{src:t,alt:s,style:{width:"60%",height:"60%",display:"block",objectFit:"contain"}})})})]}),document.body):null}},16879:function(e,n,t){"use strict";t.d(n,{V:function(){return s}});var i=t(57437),a=t(2265),l=t(96833),r=t(40257);function s(){var e;let n=null===(e=r.env.NEXT_PUBLIC_ZALO_OA_URL)||void 0===e?void 0:e.trim();if(n)return n;let t="632862879888372454".trim();return t?"https://zalo.me/".concat(t):null}n.Z=e=>{let{href:n,iconSrc:t="/icon/zalo-icon.svg",size:r=52,bottom:o=50,right:c=25,onClose:u}=e,d=(0,a.useMemo)(()=>(null==n?void 0:n.trim())||s(),[n]);return d?(0,i.jsx)(l.Z,{href:d,iconSrc:t,ariaLabel:"Li\xean hỠqua Zalo",alt:"Zalo",size:r,bottom:o,right:c,offsetY:0,onClose:u,closeAriaLabel:"Ẩn Zalo",closeDisplay:"hover"}):null}},23833:function(e,n,t){"use strict";t.d(n,{default:function(){return r}});var i=t(57437),a=t(5127),l=t(42586);function r(){let{isLoading:e}=(0,a.aC)(),n=(0,l.useTranslations)("components_ui.authLoadingOverlay");return e?(0,i.jsxs)("div",{className:"fixed top-0 left-0 w-full h-screen flex items-center justify-center bg-gray-400 bg-opacity-[0.95] z-[50000] flex-col gap-[16px]",children:[(0,i.jsx)("div",{className:"flex items-center justify-center",children:(0,i.jsx)("div",{className:"animate-spin rounded-full h-12 w-12 border-t-2 border-l-2 border-white"})}),(0,i.jsx)("p",{className:"text-white text-[20px]",children:n("verifying")})]}):null}},95133:function(e,n,t){"use strict";var i=t(57437),a=t(2265),l=t(42586),r=t(37406),s=t(63476),o=t(5127),c=t(4687),u=t(29593),d=t(34252),_=t(89273),f=t(81085),h=t(41592),b=t(17223),m=t(64234),g=t.n(m);n.default=()=>{let e=(0,l.useTranslations)("components_ui.paymentFailedBanner"),{isAuthenticated:n,company:t,user:m}=(0,o.aC)(),v=(0,s.tv)(),[p,x]=(0,a.useState)(!1),P=(0,h.Z)();if(!n||!(null==t?void 0:t.paymentFailed))return null;let y=(0,f.hasUserRole)(m,[_.K$.COMPANY_OWNER,_.K$.ADMIN]),w=async()=>{if(!(0,c.U9)(null==t?void 0:t.signupCountry)){v.push(_.GY.PLANS_MY_ACCOUNT);return}P(b.IW.BILLING_PORTAL_OPEN,{source:"payment_failed_banner"}),x(!0);try{let{url:e}=await u.Z.createBillingPortalSession();window.location.assign(e)}catch(n){(0,d.PV)("error",e("portalError")),x(!1)}};return(0,i.jsx)("div",{className:g().banner,role:"alert",children:(0,i.jsxs)("div",{className:g().banner_inner,children:[(0,i.jsx)(r.Z,{size:18,stroke:2,className:g().icon,"aria-hidden":"true"}),(0,i.jsx)("p",{className:g().message,children:e("message")}),y&&(0,i.jsx)("button",{type:"button",className:g().action,onClick:w,disabled:p,children:e("action")})]})})}},42983:function(e,n,t){"use strict";t.d(n,{default:function(){return O}});var i=t(57437),a=t(2265),l=t(42586),r=t(81085),s=t(91443),o=t(82718),c=t.n(o),u=t(52104),d=t(91134),_=t(5127),f=t(53743),h=t(47833),b=t.n(h),m=t(53117),g=t.n(m),v=t(99376),p=t(16393),x=t(78203),P=t.n(x),y=t(63053),w=t(89273),C=t(17223),N=t(68262),j=t(57328),k=e=>{var n,t,s;let{plan:o,billingCycle:c,onNavigate:u,isLastPlan:d=!1}=e,f=(0,l.useLocale)(),h=(0,v.useRouter)(),{company:b}=(0,_.aC)(),m=null==b?void 0:b.billingCycle,g=(0,l.useTranslations)("my_account.components.pricingCard"),[x,k]=(0,a.useState)(!1),[A,S]=(0,a.useState)(null),L=null!==(s=null==o?void 0:null===(n=o.name)||void 0===n?void 0:n.toLowerCase())&&void 0!==s?s:"",T="professional"===L?"pro":L;(0,a.useEffect)(()=>{let e=null==b?void 0:b.scheduledPlanChange;(null==e?void 0:e.newPlanName)&&(null==o?void 0:o.name)&&e.newPlanName.toLowerCase()===T&&e.effectiveDate&&S(e.effectiveDate)},[b,o]);let E=()=>{var e,n,t,i;let a=null!==(t=null==o?void 0:null===(e=o.name)||void 0===e?void 0:e.toLowerCase())&&void 0!==t?t:"",l=null!==(i=null==b?void 0:null===(n=b.currentPlanName)||void 0===n?void 0:n.toLowerCase())&&void 0!==i?i:"";return"pro"===a&&"pro"===l},O={free:0,basic:1,pro:2,professional:2,enterprise:3,"agency partner":3},B=e=>{var n;return null!==(n=O[(null!=e?e:"").toLowerCase()])&&void 0!==n?n:-1},M=B(null==o?void 0:o.name),D=(0,r.isProTrial)(b)?-1:B(null==b?void 0:b.currentPlanName),F=D>=0&&M>=0&&M<D,I=()=>{let e=(0,w.Eg)("CONTACT_SALES",f);try{u&&u()}finally{window.open(e,"_blank","noopener,noreferrer")}},Z=(()=>{var e,n;let t=null!==(n=null==o?void 0:null===(e=o.name)||void 0===e?void 0:e.toLowerCase())&&void 0!==n?n:"";return(0,C.HU)(b)&&!(0,r.isContactSalesPlanName)(null==o?void 0:o.name)?{label:g("availableAfterTrial"),onClick:()=>{},showAdditionalButton:!1,buttonType:"default",isCurrentPlanButton:!0}:E()&&!(0,r.isProTrial)(b)?(null==b?void 0:b.subscribedViaPaddle)===!0?{label:g("currentPlan"),onClick:()=>{},showAdditionalButton:d,buttonType:"primary",isCurrentPlanButton:!0}:{label:g("buyMore"),onClick:()=>{try{u&&u()}finally{var e;h.push("/".concat(f).concat(w.GY.UPGRADE_PLAN,"?plan=").concat(encodeURIComponent(null!==(e=o.name)&&void 0!==e?e:"")))}},showAdditionalButton:d,buttonType:"primary"}:F?A?{label:g("downgradeScheduledFor",{date:A}),onClick:()=>{},showAdditionalButton:!1,buttonType:"default",isCurrentPlanButton:!0}:{label:g("downgrade"),onClick:()=>k(!0),showAdditionalButton:!1,buttonType:"default"}:"pro"===t&&(0,r.isProTrial)(b)||"basic"===t||"professional"===t?{label:g("upgrade"),onClick:()=>{try{u&&u()}finally{h.push("/".concat(f).concat(w.GY.UPGRADE_PLAN))}},showAdditionalButton:!1,buttonType:"primary"}:{label:g("contactSales"),onClick:I,showAdditionalButton:!1,buttonType:"default"}})(),z=c===N.k4.ANNUAL&&!!o.discountBadge,H=c===N.k4.ANNUAL&&!!o.annualTotalPrice,R=e=>e.label||e.value||e.valueSuffix||!e.feature?(0,i.jsxs)(i.Fragment,{children:[e.label&&(0,i.jsx)("span",{children:e.label}),e.label&&e.value&&" ",e.value&&(0,i.jsx)("strong",{className:P().feature_value,children:e.value}),e.valueSuffix&&(()=>{let n=e.valueSuffix,t=n.indexOf("+");return -1===t?(0,i.jsx)("span",{children:n}):(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("span",{children:n.slice(0,t+1)}),(0,i.jsx)("span",{className:P().feature_value_bonus,children:n.slice(t+1)})]})})()]}):(0,i.jsx)("span",{children:e.feature});return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)("div",{className:P().card,children:[(0,i.jsxs)("div",{className:P().header,children:[(0,i.jsxs)("div",{className:P().name_row,children:[(0,i.jsx)("span",{className:P().plan_name,children:o.name}),z&&(0,i.jsx)("span",{className:P().discount_badge,children:(()=>{var e;let n=null!==(e=o.discountBadge)&&void 0!==e?e:"",t=n.indexOf("+");return -1===t?n:(0,i.jsxs)(i.Fragment,{children:[n.slice(0,t+1),(0,i.jsx)("span",{className:P().discount_badge_highlight,children:n.slice(t+1)})]})})()})]}),(0,i.jsxs)("div",{className:"".concat(P().price_row," ").concat(c===N.k4.MONTHLY?P().price_row_stacked:""),children:[(0,i.jsx)("span",{className:P().price_amount,children:o.price}),o.priceSuffix&&(0,i.jsx)("span",{className:P().price_suffix,children:o.priceSuffix})]}),H&&(0,i.jsx)("p",{className:P().annual_total,children:o.annualTotalPrice}),o.description&&(0,i.jsx)("p",{className:P().description,children:o.description})]}),(0,i.jsxs)("div",{className:P().body,children:[(0,i.jsx)("ul",{className:P().features,children:null===(t=o.features)||void 0===t?void 0:t.map((e,n)=>(0,i.jsxs)("li",{children:[(0,i.jsx)(p.Z,{size:20,className:P().check_icon}),(0,i.jsx)("span",{className:P().feature_text,children:R(e)})]},n))}),Z.showAdditionalButton?(0,i.jsxs)("div",{className:P().button_group,children:[(0,i.jsx)(y.Z,{className:P().btn_additional,type:"default",size:"large",onClick:()=>{try{u&&u()}finally{h.push("/".concat(f).concat(w.GY.BUY_ADDITIONAL_PACKS))}},children:g("buyAdditionalPacks")}),(0,i.jsx)(y.Z,{className:"".concat(P().btn_action," ").concat(Z.isCurrentPlanButton?P().btn_current:""),type:"primary",size:"very_large",onClick:Z.onClick,disabled:Z.isCurrentPlanButton,children:Z.label})]}):(0,i.jsx)(y.Z,{className:"".concat(P().btn_action," ").concat(Z.isCurrentPlanButton?P().btn_current:""),type:Z.buttonType||"default",size:"very_large",onClick:Z.onClick,disabled:Z.isCurrentPlanButton,children:Z.label})]})]}),(0,i.jsx)(j.Z,{isOpen:x,planName:T,billingCycle:null!=m?m:c,onClose:()=>k(!1),onScheduled:e=>{S(e),k(!1)}})]})},A=t(91899),S=e=>{var n,t,s;let{data:o,wrapperStyle:c,monthlyLabel:u,annualLabel:d,annualSavingText:_,annualDiscountText:f,onNavigate:h}=e,b=(0,A.Z)(1024),m=(0,A.Z)(768),v=(0,l.useLocale)(),[p,x]=a.use
1State(N.k4.ANNUAL),P=null!==(s=null!==(t=null!=_?_:f)&&void 0!==t?t:null==o?void 0:null===(n=o.find(e=>e.annualDiscountText))||void 0===n?void 0:n.annualDiscountText)&&void 0!==s?s:"vi"===v?"Tiết kiá»m l\xean Äến 25%":"Save up to 25%",y=a.useMemo(()=>(null==o?void 0:o.length)?o.some(e=>e.billingCycle)?o.filter(e=>!e.billingCycle||e.billingCycle===p):o:[],[o,p]);return(0,i.jsxs)("div",{className:"".concat(g().container," padding-wrapper"),style:(0,r.generateWrapperStyles)(c,m,b),children:[(0,i.jsxs)("div",{className:g().billing_toggle,children:[(0,i.jsx)("button",{type:"button",className:"".concat(g().billing_tab," ").concat(p===N.k4.MONTHLY?g().billing_tab_active:""),onClick:()=>x(N.k4.MONTHLY),children:(0,i.jsx)("span",{className:g().billing_label,children:null!=u?u:"vi"===v?"H\xe0ng th\xe1ng":"Monthly"})}),(0,i.jsxs)("button",{type:"button",className:"".concat(g().billing_tab," ").concat(p===N.k4.ANNUAL?g().billing_tab_active:""),onClick:()=>x(N.k4.ANNUAL),children:[(0,i.jsx)("span",{className:g().billing_label,children:null!=d?d:"vi"===v?"H\xe0ng nÄm":"Annual"}),P&&(0,i.jsx)("span",{className:g().billing_saving,children:(()=>{let e=P.match(/(lên Äến|up to)\s.*$/i);if(!e)return P;let n=P.slice(0,e.index);return(0,i.jsxs)(i.Fragment,{children:[n,(0,i.jsx)("span",{className:g().billing_saving_highlight,children:e[0]})]})})()})]})]}),(0,i.jsx)("div",{className:g().cards,children:(()=>{let e=y.reduce((e,n,t)=>n.paddleProductId?t:e,-1);return y.map((n,t)=>{var a;return(0,i.jsx)(k,{plan:n,billingCycle:p,onNavigate:h,isLastPlan:t===e},"".concat(n.name,"-").concat(null!==(a=n.billingCycle)&&void 0!==a?a:"all","-").concat(t))})})()})]})},L=e=>{let{open:n,onClose:t,data:a}=e,r=(0,l.useTranslations)("my_account.components.pricingModal");return(0,i.jsx)(f.Z,{open:n,onCancel:t,footer:null,width:1408,centered:!0,className:b().modal,children:(0,i.jsxs)("div",{className:b().inner,children:[(0,i.jsxs)("div",{className:b().header,children:[(0,i.jsx)("h3",{className:b().title,children:r("title")}),(0,i.jsx)("p",{className:b().subtitle,children:r("subTitle")})]}),(0,i.jsx)("div",{className:b().content,children:(0,i.jsx)(S,{data:a,onNavigate:t})})]})})},T=t(72437);let E=e=>{let{open:n,onClose:t}=e,a=(0,l.useLocale)(),{pricingPlans:r}=(0,T.D)("string"==typeof a?a:"vi");return(0,i.jsx)(L,{open:n,onClose:t,data:r})};var O=()=>{var e,n;let t=(0,l.useTranslations)("components_ui.planExpiryAlert"),{expiry:o,daysLeft:f,showAlert:h,dismiss:b}=(0,u.w)(),{isAuthenticated:m,company:g}=(0,_.aC)(),p=null!==(e=null==g?void 0:g.limitPlanName)&&void 0!==e?e:null,x=null!==(n=(0,l.useTranslations)("my_account.pages.plans.planLabels")((null!=p?p:"pro").toString().toLowerCase()))&&void 0!==n?n:null!=p?p:"Pro",P=(0,l.useLocale)(),y=(0,v.usePathname)(),C=(0,a.useRef)(null),N=(0,d.E)(e=>e.setHeightAlertHeader),[j,k]=(0,a.useState)(!1);return((0,a.useEffect)(()=>{if(!C.current||!N||!m||!h)return;let e=()=>{C.current&&N(C.current.offsetHeight)};e();let n=new ResizeObserver(()=>e());return n.observe(C.current),()=>{n.disconnect(),N(0)}},[N,o,f,h,m,y]),(null==y||!y.includes(w.GY.CONTACT_US))&&m&&h&&null!==f&&o)?(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)("div",{ref:C,className:c().alert_banner,children:[(0,i.jsxs)("div",{className:c().alert_content,children:[t("messageStart",{planName:x})," ",(0,i.jsx)("span",{className:c().renew_link,onClick:()=>k(!0),children:t("renew")})," ",t("messageEnd",{expiryDate:(0,r.formatDateByLocale)(o,P)})]}),(0,i.jsx)("button",{"aria-label":"close",className:c().close_btn,onClick:()=>b(),children:(0,i.jsx)("span",{children:(0,i.jsx)(s.Z,{size:24})})})]}),j&&(0,i.jsx)(E,{open:j,onClose:()=>k(!1)})]}):null}},80295:function(e,n,t){"use strict";var i=t(2265),a=t(63476),l=t(71318),r=t.n(l);t(48652),n.default=()=>{let e=(0,a.jD)();return(0,i.useEffect)(()=>{r().configure({showSpinner:!1})},[]),(0,i.useEffect)(()=>{r().start();let e=setTimeout(()=>{r().done()},500);return()=>{clearTimeout(e),r().done()}},[e]),null}},22304:function(e,n,t){"use strict";t.d(n,{MessagesProvider:function(){return l}});var i=t(57437);let a=(0,t(2265).createContext)(null),l=e=>{let{value:n,children:t}=e;return(0,i.jsx)(a.Provider,{value:n,children:t})}},52104:function(e,n,t){"use strict";t.d(n,{w:function(){return s}});var i=t(57437),a=t(2265),l=t(5127);let r=(0,a.createContext)({expiry:void 0,daysLeft:null,showAlert:!1,dismiss:()=>{}}),s=()=>(0,a.useContext)(r);n.default=e=>{var n,t;let{children:s}=e,{company:o}=(0,l.aC)(),[c,u]=(0,a.useState)(!1),d=null!==(n=null==o?void 0:o.planGraceEndDate)&&void 0!==n?n:null,_=null!==(t=null==o?void 0:o.planExpiredDate)&&void 0!==t?t:null,f=(0,a.useMemo)(()=>
1{if(!d||(null==o?void 0:o.isInfinitePlan))return null;let e=new Date(d),n=new Date;return Math.ceil((e.getTime()-n.getTime())/864e5)},[d,null==o?void 0:o.isInfinitePlan]);(0,a.useEffect)(()=>{u(!1)},[d]);let h=(()=>{if(!_)return!0;let e=new Date(_);return e.setDate(e.getDate()+1),new Date>=e})();return(0,i.jsx)(r.Provider,{value:{expiry:d,daysLeft:f,showAlert:!c&&null!==f&&f>=0&&f<=7&&h,dismiss:()=>u(!0)},children:s})}},64975:function(e,n,t){"use strict";var i=t(57437);t(2265);var a=t(54114),l=t(29827);let r=new a.S({defaultOptions:{queries:{refetchOnWindowFocus:!1,refetchInterval:!1,retry:!1}}});n.default=e=>{let{children:n}=e;return(0,i.jsx)(l.aH,{client:r,children:n})}},8032:function(e,n,t){"use strict";t.d(n,{default:function(){return o}});var i=t(57437),a=t(68575),l=t(39129),r=t(16951);let s=(0,l.xC)({reducer:{auth:r.ZP}});var o=e=>{let{children:n}=e;return(0,i.jsx)(a.zt,{store:s,children:n})}},91134:function(e,n,t){"use strict";t.d(n,{E:function(){return i}});let i=(0,t(3011).U)(e=>({heightAlertHeader:0,setHeightAlertHeader:n=>e({heightAlertHeader:n}),heightOnboardingBar:0,setHeightOnboardingBar:n=>e({heightOnboardingBar:n})}))},53117:function(e){e.exports={container:"Pricing_container__RtglE",billing_toggle:"Pricing_billing_toggle__yQmBZ",billing_tab:"Pricing_billing_tab__woH_H",billing_tab_active:"Pricing_billing_tab_active__Dd4uH",billing_label:"Pricing_billing_label__Vy6nw",billing_saving:"Pricing_billing_saving__WVvQl",billing_saving_highlight:"Pricing_billing_saving_highlight__OZHV4",cards:"Pricing_cards__wa1rp"}},78203:function(e){e.exports={card:"PricingCard_card__yeefS",header:"PricingCard_header__GhgSp",name_row:"PricingCard_name_row__Hw6dn",plan_name:"PricingCard_plan_name__dOaqi",discount_badge:"PricingCard_discount_badge__WaJtG",discount_badge_highlight:"PricingCard_discount_badge_highlight__bwKCR",price_row:"PricingCard_price_row__CnhqG",price_row_stacked:"PricingCard_price_row_stacked__SXOlq",price_suffix:"PricingCard_price_suffix__yOSJA",price_amount:"PricingCard_price_amount__9ImI7",annual_total:"PricingCard_annual_total__5MHWu",description:"PricingCard_description__yu1nI",body:"PricingCard_body__7szbT",features:"PricingCard_features__KCYcz",check_icon:"PricingCard_check_icon__dG5YM",feature_text:"PricingCard_feature_text__FcEyX",feature_value:"PricingCard_feature_value__xbURG",feature_value_bonus:"PricingCard_feature_value_bonus__V8DyN",btn_action:"PricingCard_btn_action__miXNi",btn_current:"PricingCard_btn_current__MteCB",button_group:"PricingCard_button_group__KdxzO",btn_additional:"PricingCard_btn_additional__gResS"}},47833:function(e){e.exports={modal:"PricingModal_modal__x9V82",inner:"PricingModal_inner__K0YQy",header:"PricingModal_header__3DWNo",title:"PricingModal_title__bwm02",subtitle:"PricingModal_subtitle__5_pqf"}},64234:function(e){e.exports={banner:"PaymentFailedBanner_banner__DiTQm",banner_inner:"PaymentFailedBanner_banner_inner__6TSOy",icon:"PaymentFailedBanner_icon__CpKJN",message:"PaymentFailedBanner_message__KY_s4",action:"PaymentFailedBanner_action__i_aMF"}},82718:function(e){e.exports={alert_banner:"PlanExpiryAlert_alert_banner__1QGDg",alert_content:"PlanExpiryAlert_alert_content__HHyX0",renew_link:"PlanExpiryAlert_renew_link__deNx5",close_btn:"PlanExpiryAlert_close_btn__myF2H"}}},function(e){e.O(0,[5110,5770,4975,9847,1954,2275,1612,8211,7796,8247,5520,5355,5950,8224,1817,3795,1474,7821,9547,9970,464,353,8297,1770,1632,2095,1367,3834,1994,3367,8296,795,5878,6062,7733,321,9097,6753,1120,2759,599,1249,424,9459,146,4792,2648,7041,3014,1085,5127,6737,9526,7844,5324,7940,4096,8256,1744],function(){return e(e.s=91081)}),_N_E=e.O()}]);
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.