!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};e.SENTRY_RELEASE={id:"95b7c22eb8a2502481fe65c08f3bb8d7c317f943"};var n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="08c9d220-8d77-47aa-a0db-5bdd320cd15b",e._sentryDebugIdIdentifier="sentry-dbid-08c9d220-8d77-47aa-a0db-5bdd320cd15b")}catch(e){}}(),(globalThis.webpackChunkcloud_frontend=globalThis.webpackChunkcloud_frontend||[]).push([[4582],{52201(e,n,s){s.r(n),s.d(n,{OptOut:()=>m.A,OptOutModal:()=>j.A,TrialMessage:()=>y.A,TrialWarning:()=>x,default:()=>w,useBusinessPlan:()=>k.A,useTrial:()=>r.A});var t=s(46587),l=s(96540),a=s(7960),o=s(24285),r=s(10853),d=s(19707),i=s(10444),u=s(34495),c=s(74848);const b=(0,a.A)(()=>Promise.resolve().then(s.bind(s,34495)),"PostSignup"),g=(0,a.A)(()=>s.e(4484).then(s.bind(s,14484)),"TrialWelcome"),h=(0,a.A)(()=>s.e(2108).then(s.bind(s,62108)),"OnboardingForm"),p=()=>{const{isSpaceCreator:e,trialWelcomeVisible:n,paymentProvider:s}=(0,r.A)(),{email:a,isAnonymous:p}=(0,t.uW)(),[f]=(0,o.tF)("signupSurveySubmitted"),x=(0,d.I)(),[m]=(0,u.usePostSignup)(),j=(0,i.J)();if(!x&&"AWS"!==s&&!p&&!f&&e)return(0,c.jsx)(l.Suspense,{fallback:"",children:(0,c.jsx)(h,{email:a})});if(j&&!m)return(0,c.jsx)(l.Suspense,{fallback:"",children:(0,c.jsx)(b,{})});const y=n?g:null;return y?(0,c.jsx)(l.Suspense,{fallback:"",children:(0,c.jsx)(y,{})}):null},f=(0,a.A)(()=>Promise.resolve().then(s.bind(s,44913)),"Warnings"),x=e=>(0,t.uW)("isAnonymous")?null:(0,c.jsx)(l.Suspense,{fallback:"",children:(0,c.jsx)(f,{...e})});var m=s(42711),j=s(71282),y=s(3033),k=s(2652);const w=()=>{const e=(0,t.uW)("isAnonymous");return window.envSettings.onprem||e?null:(0,c.jsx)(p,{})}},34495(e,n,s){s.r(n),s.d(n,{default:()=>c,usePostSignup:()=>u});var t=s(96540),l=s(5981),a=s(11759),o=s(46587),r=s(10444),d=s(79748),i=s(74848);const u=()=>{const e=`postsignup-disnissed-${(0,o.NJ)()}`;return[localStorage.getItem(e),(0,t.useCallback)(()=>{localStorage.setItem(e,!0)},[e])]},c=()=>{const e=(0,l.Zp)(),{pathname:n}=(0,l.zy)(),[,s]=u(),o=(0,r.J)(),c=(0,t.useCallback)(()=>{s(),e(n,{replace:!0})},[n,s]);return(0,i.jsx)(a.Modal,{backdropProps:{backdropBlur:!0},children:(0,i.jsxs)(a.ModalContent,{width:o?{base:"95vw"}:{},children:[(0,i.jsx)(a.ModalHeader,{children:(0,i.jsxs)(a.Flex,{gap:2,alignItems:"center",children:["Tip",(0,i.jsx)(a.ModalCloseButton,{testId:"close-button",onClose:c})]})}),(0,i.jsx)(a.ModalBody,{children:(0,i.jsxs)(a.Flex,{column:!0,gap:3,width:{max:120},padding:[0,0,4,0],children:[(0,i.jsx)(a.TextBigger,{lineHeight:1.5,children:"Netdata works best on larger screens. Try logging in from a laptop, desktop or tablet for the ultimate dashboard adventure."}),(0,i.jsxs)(a.TextBigger,{lineHeight:1.5,children:["Installing the Netdata agent takes less than a minute, check out the"," ",(0,i.jsx)(d.A,{Component:a.TextBigger,href:"https://www.youtube.com/watch?v=z5m8JdwMOn8",target:"_blank",rel:"noopener noreferrer",children:"video"})," ","and try it out yourself!"]})]})}),(0,i.jsx)(a.ModalFooter,{children:(0,i.jsx)(a.Flex,{gap:4,justifyContent:"end",padding:[1,2],children:(0,i.jsx)(a.Button,{label:"Dismiss",flavour:"hollow",onClick:c})})})]})})}}}]);