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]="455bb799-9bbe-47ed-8883-bc5865309501",e._sentryDebugIdIdentifier="sentry-dbid-455bb799-9bbe-47ed-8883-bc5865309501")}catch(e){}("undefined"!==typeof window?window:"undefined"!==typeof global?global:"undefined"!==typeof globalThis?globalThis:"undefined"!==typeof self?self:{}).SENTRY_RELEASE={id:"5d40e988866bc1ced9436c4523b12b814ae5cda9"};(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),i=(0,l.eU)(!1);var a=t(96540);const s=()=>{const[e,n]=(0,o.fp)(d);return{isInitialized:e,init:(0,a.useCallback)((()=>n(!0)),[n])}},r=()=>{const[e,n]=(0,o.fp)(i);return{isActive:e,activate:(0,a.useCallback)((()=>n(!0)),[n]),deactivate:(0,a.useCallback)((()=>n(!1)),[n])}}},72117:(e,n,t)=>{t.r(n),t.d(n,{default:()=>u});var o=t(96540),l=t(46587),d=t(26276),i=t(45187),a=t(89942);const s=()=>{const e=(0,a.PP)(),{referralModalOpen:n}=e,{isInitialized:t}=(0,i.R)();(0,o.useEffect)((()=>{"true"==n&&t&&"function"===typeof window.Cello&&(window.Cello("open"),(0,a.Z8)({...e,referralModalOpen:"false"}))}),[t,n])};var r=t(3319),c=t(78152);const u=()=>{const e=(0,l.uW)(),{init:n}=(0,i.R)(),{sendLog:t}=(0,r.A)(),a=(0,o.useMemo)((()=>c.GW&&e&&!e.isAnonymous),[e]);return s(),(0,o.useEffect)((()=>{let e=null;return a&&(window.cello=window.cello||{cmd:[]},e=(0,d._D)(),document.head.appendChild(e)),()=>{e&&document.head.removeChild(e)}}),[a]),(0,o.useEffect)((()=>{const{token:o,productId:l}=(0,d.sA)();if(a&&o&&l&&e.name){const d=e.name?.split?.(" ")||[],i=d.length>0?d[0]:"";window.cello.cmd.push((async function(d){try{await d.boot({productId:l,token:o,language:"en",productUserDetails:{firstName:i,fullName:e.name,email:e.email}}),n()}catch(a){t({feature:"ReferralComponent",error:a.message||"Failed to boot cello referral component"})}}))}}),[a,e,n]),null}},78152:(e,n,t)=>{t.d(n,{Dm:()=>p,GW:()=>w,Mh:()=>b,Qi:()=>m,gf:()=>g});const o="mobileAppNotifications",l="alertConfiguration",d="editAlertConfiguration",i="hasFacetSelection",a="hasCello",s="nodeButton",r="insights",c=[l,o,a,i,s],u={};function f(e){if(c.includes(e))return()=>!0;let n=localStorage.getItem(e);null===n&&(n=u[e]?"true":"false");const t="true"===n;return e=>e||t}const b=f(o)(),p=f(l)(),g=(f(d)(),f(i)()),w=f(a)(),m=(f(s)(),f(r)())}}]);