try{let e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="431290ce-d6e6-4e9a-86da-6b623b31bd19",e._sentryDebugIdIdentifier="sentry-dbid-431290ce-d6e6-4e9a-86da-6b623b31bd19")}catch(e){}("undefined"!==typeof window?window:"undefined"!==typeof global?global:"undefined"!==typeof globalThis?globalThis:"undefined"!==typeof self?self:{}).SENTRY_RELEASE={id:"13fef0030d956eda25f81a49c02cdf9f738e0982"};(self.webpackChunkcloud_frontend=self.webpackChunkcloud_frontend||[]).push([[2117,5187],{45187:(e,n,t)=>{t.d(n,{R:()=>s,H:()=>r});var o=t(34843),l=t(52035);const d=(0,l.eU)(!1),a=(0,l.eU)(!1);var i=t(96540);const s=()=>{const[e,n]=(0,o.fp)(d);return{isInitialized:e,init:(0,i.useCallback)((()=>n(!0)),[n])}},r=()=>{const[e,n]=(0,o.fp)(a);return{isActive:e,activate:(0,i.useCallback)((()=>n(!0)),[n]),deactivate:(0,i.useCallback)((()=>n(!1)),[n])}}},72117:(e,n,t)=>{t.r(n),t.d(n,{default:()=>c});var o=t(96540),l=t(46587),d=t(26276),a=t(45187),i=t(89942);const s=()=>{const e=(0,i.PP)(),{referralModalOpen:n}=e,{isInitialized:t}=(0,a.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(3319),f=t(78152);const c=()=>{const e=(0,l.uW)(),{init:n}=(0,a.R)(),{sendLog:t}=(0,r.A)(),i=(0,o.useMemo)((()=>f.GW&&e&&!e.isAnonymous),[e]);return s(),(0,o.useEffect)((()=>{let e=null;return i&&(window.cello=window.cello||{cmd:[]},e=(0,d._D)(),document.head.appendChild(e)),()=>{e&&document.head.removeChild(e)}}),[i]),(0,o.useEffect)((()=>{const{token:o,productId:l}=(0,d.sA)();if(i&&o&&l&&e.name){const d=e.name?.split?.(" ")||[],a=d.length>0?d[0]:"";window.cello.cmd.push((async function(d){try{await d.boot({productId:l,token:o,language:"en",productUserDetails:{firstName:a,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}},78152:(e,n,t)=>{t.d(n,{Dm:()=>b,GW:()=>w,Mh:()=>p,Qi:()=>m,gf:()=>g});const o="mobileAppNotifications",l="alertConfiguration",d="editAlertConfiguration",a="hasFacetSelection",i="hasCello",s="nodeButton",r="insights",f=[l,o,i,a,s],c={};function u(e){if(f.includes(e))return()=>!0;let n=localStorage.getItem(e);null===n&&(n=c[e]?"true":"false");const t="true"===n;return e=>e||t}const p=u(o)(),b=u(l)(),g=(u(d)(),u(a)()),w=u(i)(),m=(u(s)(),u(r)())}}]);