!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="cc48c453-0aba-4fac-91f8-6bb3387d225c",e._sentryDebugIdIdentifier="sentry-dbid-cc48c453-0aba-4fac-91f8-6bb3387d225c")}catch(e){}}();var _global="undefined"!==typeof window?window:"undefined"!==typeof global?global:"undefined"!==typeof self?self:{};_global.SENTRY_RELEASE={id:"2cf8df3206339b597c7cbea290c34f66439c3909"},(self.webpackChunkcloud_frontend=self.webpackChunkcloud_frontend||[]).push([[146,5923],{93155:(e,n,t)=>{t.d(n,{Dm:()=>p,GW:()=>g,Mh:()=>b,Qi:()=>m,gf:()=>w});const o="mobileAppNotifications",l="alertConfiguration",a="editAlertConfiguration",c="hasFacetSelection",i="hasCello",d="nodeButton",r="insights",s=[l,o,i,c,d],f={};function u(e){if(s.includes(e))return()=>!0;let n=localStorage.getItem(e);null===n&&(n=f[e]?"true":"false");const t="true"===n;return e=>e||t}const b=u(o)(),p=u(l)(),w=(u(a)(),u(c)()),g=u(i)(),m=(u(d)(),u(r)())},20146:(e,n,t)=>{t.r(n),t.d(n,{default:()=>f});var o=t(96540),l=t(22292),a=t(97877),c=t(65923),i=t(38819);const d=()=>{const e=(0,i.PP)(),{referralModalOpen:n}=e,{isInitialized:t}=(0,c.R)();(0,o.useEffect)((()=>{"true"==n&&t&&"function"===typeof window.Cello&&(window.Cello("open"),(0,i.Z8)({...e,referralModalOpen:"false"}))}),[t,n])};var r=t(50876),s=t(93155);const f=()=>{const e=(0,l.uW)(),{init:n}=(0,c.R)(),{sendLog:t}=(0,r.A)(),i=(0,o.useMemo)((()=>s.GW&&e&&!e.isAnonymous),[e]);return d(),(0,o.useEffect)((()=>{let e=null;return i&&(window.cello=window.cello||{cmd:[]},e=(0,a._D)(),document.head.appendChild(e)),()=>{e&&document.head.removeChild(e)}}),[i]),(0,o.useEffect)((()=>{const{token:o,productId:l}=(0,a.sA)();if(i&&o&&l&&e.name){const a=e.name?.split?.(" ")||[],c=a.length>0?a[0]:"";window.cello.cmd.push((async function(a){try{await a.boot({productId:l,token:o,language:"en",productUserDetails:{firstName:c,fullName:e.name,email:e.email}}),n()}catch(i){t({feature:"ReferralComponent",error:i.message||"Failed to boot cello referral component"})}}))}}),[i,e,n]),null}},65923:(e,n,t)=>{t.d(n,{R:()=>d,H:()=>r});var o=t(34843),l=t(52035);const a=(0,l.eU)(!1),c=(0,l.eU)(!1);var i=t(96540);const d=()=>{const[e,n]=(0,o.fp)(a);return{isInitialized:e,init:(0,i.useCallback)((()=>n(!0)),[n])}},r=()=>{const[e,n]=(0,o.fp)(c);return{isActive:e,activate:(0,i.useCallback)((()=>n(!0)),[n]),deactivate:(0,i.useCallback)((()=>n(!1)),[n])}}}}]);