!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};e.SENTRY_RELEASE={id:"6c5c4a21a2e48a657cc46560f5c18b469ebbf32c"};var n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="ec45a8c6-c274-4d8d-818b-4a3831997d73",e._sentryDebugIdIdentifier="sentry-dbid-ec45a8c6-c274-4d8d-818b-4a3831997d73")}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),i=s(19707),d=s(10444),u=s(34495),c=s(74848);const g=(0,a.A)(()=>Promise.resolve().then(s.bind(s,34495)),"PostSignup"),h=(0,a.A)(()=>s.e(4484).then(s.bind(s,14484)),"TrialWelcome"),b=(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,i.I)(),[m]=(0,u.usePostSignup)(),j=(0,d.J)();if(!x&&"AWS"!==s&&!p&&!f&&e)return(0,c.jsx)(l.Suspense,{fallback:"",children:(0,c.jsx)(b,{email:a})});if(j&&!m)return(0,c.jsx)(l.Suspense,{fallback:"",children:(0,c.jsx)(g,{})});const y=n?h: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(32977),o=s(46587),r=s(10444),i=s(79748),d=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,d.jsx)(a.Modal,{backdropProps:{backdropBlur:!0},children:(0,d.jsxs)(a.ModalContent,{width:o?{base:"95vw"}:{},children:[(0,d.jsx)(a.ModalHeader,{children:(0,d.jsxs)(a.Flex,{gap:2,alignItems:"center",children:["Tip",(0,d.jsx)(a.ModalCloseButton,{testId:"close-button",onClose:c})]})}),(0,d.jsx)(a.ModalBody,{children:(0,d.jsxs)(a.Flex,{column:!0,gap:3,width:{max:120},padding:[0,0,4,0],children:[(0,d.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,d.jsxs)(a.TextBigger,{lineHeight:1.5,children:["Installing the Netdata agent takes less than a minute, check out the"," ",(0,d.jsx)(i.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,d.jsx)(a.ModalFooter,{children:(0,d.jsx)(a.Flex,{gap:4,justifyContent:"end",padding:[1,2],children:(0,d.jsx)(a.Button,{label:"Dismiss",flavour:"hollow",onClick:c})})})]})})}}}]);