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/netdata-web-files/v3/2117.556697628ab0ce0f51b2.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]="4a44b59d-3bb9-49b8-8e3d-0c5f33b3a9cc",e._sentryDebugIdIdentifier="sentry-dbid-4a44b59d-3bb9-49b8-8e3d-0c5f33b3a9cc")}()}catch(e){}!function(){try{("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{}).SENTRY_RELEASE={id:"90b87a93a48a089118916e8342e7b31e0e561cb5"}}catch(e){}}(),(self.webpackChunkcloud_frontend=self.webpackChunkcloud_frontend||[]).push([[2117,5187],{45187:(e,n,o)=>{o.d(n,{R:()=>c,H:()=>s});var t=o(34843),l=o(52035);const a=(0,l.eU)(!1),d=(0,l.eU)(!1);var i=o(96540);const c=()=>{const[e,n]=(0,t.fp)(a);return{isInitialized:e,init:(0,i.useCallback)((()=>n(!0)),[n])}},s=()=>{const[e,n]=(0,t.fp)(d);return{isActive:e,activate:(0,i.useCallback)((()=>n(!0)),[n]),deactivate:(0,i.useCallback)((()=>n(!1)),[n])}}},72117:(e,n,o)=>{o.r(n),o.d(n,{default:()=>r});var t=o(96540),l=o(46587),a=o(26276),d=o(45187),i=o(89942);const c=()=>{const e=(0,i.PP)(),{referralModalOpen:n}=e,{isInitialized:o}=(0,d.R)();(0,t.useEffect)((()=>{"true"==n&&o&&"function"===typeof window.Cello&&(window.Cello("open"),(0,i.Z8)({...e,referralModalOpen:"false"}))}),[o,n])};var s=o(3319),f=o(78152);const r=()=>{const e=(0,l.uW)(),{init:n}=(0,d.R)(),{sendLog:o}=(0,s.A)(),i=(0,t.useMemo)((()=>f.GW&&e&&!e.isAnonymous),[e]);return c(),(0,t.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,t.useEffect)((()=>{const{token:t,productId:l}=(0,a.sA)();if(i&&t&&l&&e.name){const a=e.name?.split?.(" ")||[],d=a.length>0?a[0]:"";window.cello.cmd.push((async function(a){try{await a.boot({productId:l,token:t,language:"en",productUserDetails:{firstName:d,fullName:e.name,email:e.email}}),n()}catch(i){o({feature:"ReferralComponent",error:i.message||"Failed to boot cello referral component"})}}))}}),[i,e,n]),null}}}]);