MOON
Server: Apache
System: Linux server1.studioinfinity.com.br 2.6.32-954.3.5.lve1.4.90.el6.x86_64 #1 SMP Tue Feb 21 12:26:30 UTC 2023 x86_64
User: artinside (517)
PHP: 7.4.33
Disabled: exec,passthru,shell_exec,system
Upload Files
File: //proc/self/root/opt/netdata/usr/share/netdata/web/v3/2117.11b3a8df685644d7b86e.chunk.js
try{!function(){var 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]="6b9cc58d-dd1a-4263-b1f7-c91cd33cf505",e._sentryDebugIdIdentifier="sentry-dbid-6b9cc58d-dd1a-4263-b1f7-c91cd33cf505")}()}catch(e){}!function(){try{("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{}).SENTRY_RELEASE={id:"876c8d00bbb6550831ec3bf04002c53f5c81bd78"}}catch(e){}}(),(self.webpackChunkcloud_frontend=self.webpackChunkcloud_frontend||[]).push([[2117,5187],{45187:(e,n,o)=>{o.d(n,{R:()=>i,H:()=>f});var t=o(34843),d=o(52035);const l=(0,d.eU)(!1),c=(0,d.eU)(!1);var a=o(96540);const i=()=>{const[e,n]=(0,t.fp)(l);return{isInitialized:e,init:(0,a.useCallback)((()=>n(!0)),[n])}},f=()=>{const[e,n]=(0,t.fp)(c);return{isActive:e,activate:(0,a.useCallback)((()=>n(!0)),[n]),deactivate:(0,a.useCallback)((()=>n(!1)),[n])}}},72117:(e,n,o)=>{o.r(n),o.d(n,{default:()=>r});var t=o(96540),d=o(46587),l=o(26276),c=o(45187),a=o(89942);const i=()=>{const e=(0,a.PP)(),{referralModalOpen:n}=e,{isInitialized:o}=(0,c.R)();(0,t.useEffect)((()=>{"true"==n&&o&&"function"===typeof window.Cello&&(window.Cello("open"),(0,a.Z8)({...e,referralModalOpen:"false"}))}),[o,n])};var f=o(3319),s=o(78152);const r=()=>{const e=(0,d.uW)(),{init:n}=(0,c.R)(),{sendLog:o}=(0,f.A)(),a=(0,t.useMemo)((()=>s.GW&&e&&!e.isAnonymous),[e]);return i(),(0,t.useEffect)((()=>{let e=null;return a&&(window.cello=window.cello||{cmd:[]},e=(0,l._D)(),document.head.appendChild(e)),()=>{e&&document.head.removeChild(e)}}),[a]),(0,t.useEffect)((()=>{const{token:t,productId:d}=(0,l.sA)();if(a&&t&&d&&e.name){const l=e.name?.split?.(" ")||[],c=l.length>0?l[0]:"";window.cello.cmd.push((async function(l){try{await l.boot({productId:d,token:t,language:"en",productUserDetails:{firstName:c,fullName:e.name,email:e.email}}),n()}catch(a){o({feature:"ReferralComponent",error:a.message||"Failed to boot cello referral component"})}}))}}),[a,e,n]),null}}}]);