!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]="11573ffd-33b4-44eb-bec3-f4b293c39ed6",e._sentryDebugIdIdentifier="sentry-dbid-11573ffd-33b4-44eb-bec3-f4b293c39ed6")}catch(e){}}();var _global="undefined"!==typeof window?window:"undefined"!==typeof global?global:"undefined"!==typeof self?self:{};_global.SENTRY_RELEASE={id:"9332d759e18bd663bd9f8bd6b7633616d12f17f2"},(self.webpackChunkcloud_frontend=self.webpackChunkcloud_frontend||[]).push([[146,5923],{93155:(e,n,t)=>{t.d(n,{Dm:()=>p,GW:()=>g,Mh:()=>b,gf:()=>w,q:()=>m});const o="mobileAppNotifications",l="alertConfiguration",d="editAlertConfiguration",a="hasFacetSelection",i="hasCello",c="nodeButton",r="juan",u=[l,o,i,a,c],f={};function s(e){if(u.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=s(o)(),p=s(l)(),w=(s(d)(),s(a)()),g=s(i)(),m=(s(c)(),s(r)())},20146:(e,n,t)=>{t.r(n),t.d(n,{default:()=>f});var o=t(96540),l=t(22292),d=t(97877),a=t(65923),i=t(38819);const c=()=>{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(50876),u=t(93155);const f=()=>{const e=(0,l.uW)(),{init:n}=(0,a.R)(),{sendLog:t}=(0,r.A)(),i=(0,o.useMemo)((()=>u.GW&&e&&!e.isAnonymous),[e]);return c(),(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)();i&&o&&l&&window.cello.cmd.push((async function(d){try{await d.boot({productId:l,token:o,language:"en",productUserDetails:{firstname:e.name,fullName:e.name,email:e.email}}),n()}catch(a){t({feature:"ReferralComponent",error:a.message||"Failed to boot cello referral component"})}}))}),[i,e,n]),null}},65923:(e,n,t)=>{t.d(n,{R:()=>i,H:()=>c});var o=t(47444);const l=(0,o.eU)({key:"celloSuccessfulInitialization",default:!1}),d=(0,o.eU)({key:"celloLauncherActive",default:!1});var a=t(96540);const i=()=>{const[e,n]=(0,o.L4)(l);return{isInitialized:e,init:(0,a.useCallback)((()=>n(!0)),[n])}},c=()=>{const[e,n]=(0,o.L4)(d);return{isActive:e,activate:(0,a.useCallback)((()=>n(!0)),[n]),deactivate:(0,a.useCallback)((()=>n(!1)),[n])}}}}]);