summaryrefslogtreecommitdiffstats
path: root/src/web/gui/v2/5596.8280cb325a103342aa30.chunk.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/web/gui/v2/5596.8280cb325a103342aa30.chunk.js')
-rw-r--r--src/web/gui/v2/5596.8280cb325a103342aa30.chunk.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/web/gui/v2/5596.8280cb325a103342aa30.chunk.js b/src/web/gui/v2/5596.8280cb325a103342aa30.chunk.js
new file mode 100644
index 0000000000..852d4e2e93
--- /dev/null
+++ b/src/web/gui/v2/5596.8280cb325a103342aa30.chunk.js
@@ -0,0 +1 @@
+!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},t=(new Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="1090411b-a40f-4c47-80fb-ee9da671b268",e._sentryDebugIdIdentifier="sentry-dbid-1090411b-a40f-4c47-80fb-ee9da671b268")}catch(e){}}();var _global="undefined"!==typeof window?window:"undefined"!==typeof global?global:"undefined"!==typeof self?self:{};_global.SENTRY_RELEASE={id:"08864407160b3973b9b88c5ae92687282b21e2f4"},(self.webpackChunkcloud_frontend=self.webpackChunkcloud_frontend||[]).push([[5596],{92155:(e,t,n)=>{n.d(t,{A:()=>c});var a=n(58168),r=n(96540),o=n(50876);const i=e=>(0,r.forwardRef)(((t,n)=>{let{callback:i,feature:l,isStart:c,isSuccess:s,isFailure:d,eventReason:g,payload:u={},...m}=t;const{sendLog:h,isReady:p}=(0,o.A)(),x=(0,r.useCallback)((()=>{const e=m[i],t={feature:l,isStart:c,isSuccess:s,isFailure:d,eventReason:g,...u,...m["data-ga"]?{dataGa:m["data-ga"]}:{},...m.dataGa?{dataGa:m.dataGa}:{},...m["data-track"]?{dataTrack:m["data-track"]}:{},...m.label?{label:m.label}:{}};"function"==typeof e&&e(),h(t,!0)}),[i,h,p,u,m]),b=(0,r.useMemo)((()=>({...m,[i]:x})),[m,i,x]);return r.createElement(e,(0,a.A)({ref:n},b))}));var l=n(67276);const c=e=>(0,r.forwardRef)(((t,n)=>{let{payload:o={},...c}=t;const s=i(e);return r.createElement(s,(0,a.A)({},c,{ref:n,callback:"onClick",payload:{...o,action:l.o1.buttonClicked}}))}))},21828:(e,t,n)=>{n.d(t,{A:()=>o});var a=n(96540),r=n(10058);const o=e=>{let{theme:t}=e;const n="default"==t?"grey185":"grey45";return t="dark"==t?r.DarkTheme:r.DefaultTheme,a.createElement(r.Flex,{height:"1px",width:"100%",background:(0,r.getColor)(["neutral",n])({theme:t})})}},84541:(e,t,n)=>{n.d(t,{A:()=>I});var a=n(58168),r=n(96540),o=n(45463),i=n(10058);const l=(0,n(8711).default)(i.Flex).attrs({flex:{grow:"1",shrink:"0"},width:{max:"100%"}}).withConfig({displayName:"panel__Panel",componentId:"sc-4zlw7c-0"})(["",";",";"],(e=>{let{order:t}=e;return t&&"order: ".concat(t,";")}),(e=>{let{bgGradient:t}=e;return t&&"background: linear-gradient(34.14deg, #536775 -26.52%, #2F3A42 53.66%);\n"}));var c=n(17208);const s=()=>r.createElement(i.Flex,{alignItems:"center",column:!0,padding:[0,0,18,0]},r.createElement(c.oi,null));n(41393),n(81454);const d=[{icon:"rocket",title:"Rapid Deployment, Instant Insights",text:"One-command installation, automatic metric discovery, and intuitive out-of-the-box dashboards for every single metric."},{icon:"qualityOfServiceSolid",title:"Advanced Monitoring, Made Accessible",text:"Experience real-time monitoring with 1-second granularity and anomaly detection across 800+ integrations."},{icon:"firewallSolid",title:"On-Prem Data Storage, Transparent Pricing",text:"Unlimited metrics, Infinite scale, Zero hidden costs. Decentralized architecture ensures maximum data security."}];n(3064),n(98992),n(72577),n(62953);var g=n(18061),u=n(26655);const m=()=>u.A.get("https://us-east1-netdata-analytics-bi.cloudfunctions.net/netdata_public_metrics_website"),h=e=>{let{downScale:t,...n}=e;const i=(0,o.A)("(min-width: 992px)");return(l=i?t[0]:t[1],e=>{let{children:t,...n}=e;return r.createElement(l,(0,a.A)({color:"bright"},n),t)})(n);var l};var p=n(12897),x=n.n(p),b=n(55042),f=n.n(b),w=new(x())({id:"cloudStatistics",use:"cloudStatistics-usage",viewBox:"0 0 194 146",content:'<symbol xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 194 146" id="cloudStatistics"><path stroke="#006729" stroke-linecap="round" stroke-miterlimit="10" stroke-width="2" d="M9.557 142.145h174.886a7.576 7.576 0 0 0 7.607-7.577v-.594H1.95v.594c0 4.16 3.43 7.577 7.607 7.577Z" /><path stroke="#006729" stroke-linecap="round" stroke-miterlimit="10" stroke-width="2" d="M81.749 137.688h30.577c2.088 0 3.729-1.634 3.729-3.714H78.02a3.733 3.733 0 0 0 3.729 3.714ZM15.374 108.493V34.949c0-4.457 3.58-8.023 8.055-8.023H60.12M178.701 44.83v89.143H15.374v-17.086M140.442 27h30.204c4.475 0 8.055 3.566 8.055 8.023v2.526" /><path stroke="#006729" stroke-linecap="round" stroke-miterlimit="10" stroke-width="2" d="M133.879 32.2h38.408c.671 0 1.193.52 1.193 1.189v94.939c0 .668-.522 1.188-1.193 1.188H67.131M20.595 44.086V33.39c0-.669.522-1.189 1.193-1.189h33.187M55.274 129.516H21.863c-.671 0-1.194-.52-1.194-1.188V49.881M78.766 106.487h-7.83c-5.967 0-10.815-4.828-10.815-10.771v-69.83c0-5.943 4.848-10.771 10.814-10.771h19.018M90.698 106.487H86.82" /><path stroke="#006729" stroke-linecap="round" stroke-miterlimit="10" stroke-width="2" d="M133.208 67.71V95.64c0 5.943-4.848 10.772-10.814 10.772H93.681M107.851 15.115h14.543c5.966 0 10.814 4.828 10.814 10.771V59.39M101.064 1H92.19a2.319 2.319 0 0 0-2.312 2.303v22.955a2.319 2.319 0 0 0 2.312 2.302h8.874a2.319 2.319 0 0 0 2.312-2.302V3.227c0-1.262-1.044-2.228-2.312-2.228Z" /><path stroke="#006729" stroke-linecap="round" stroke-miterlimit="10" stroke-width="2" d="M96.664 24.029a2.977 2.977 0 0 0 2.983-2.972 2.977 2.977 0 0 0-2.983-2.971 2.977 2.977 0 0 0-2.983 2.971 2.977 2.977 0 0 0 2.983 2.972ZM107.851 70.607c-2.834 2.897-6.786 4.68-11.186 4.68-8.652 0-15.662-6.983-15.662-15.6 0-8.618 7.01-15.6 15.662-15.6 8.651 0 15.661 6.982 15.661 15.6 0 2.748-.746 5.348-2.014 7.577" /><path stroke="#006729" stroke-linecap="round" stroke-miterlimit="10" stroke-width="2" d="M96.664 64.144c3.296 0 5.967-2.66 5.967-5.943 0-3.282-2.671-5.943-5.967-5.943-3.295 0-5.966 2.66-5.966 5.943 0 3.282 2.671 5.943 5.966 5.943ZM111.207 85.687h3.356M78.766 85.687h28.34M97.037 90.144h10.068M86.224 90.144h7.756M99.424 64.144h-5.519c-2.983 0-5.444 2.451-5.444 5.423v3.491M104.868 73.058v-3.565c0-1.635-.671-3.046-1.79-4.012" /><path fill="#151818" d="M42.808 75.03c-19.315 0-34.915 15.6-34.915 34.914 0 19.315 15.6 34.915 34.915 34.915 19.314 0 34.915-15.6 34.915-34.915 0-19.314-15.6-34.914-34.915-34.914m3.714 52.743H34.636L24.98 92.116h21.543c9.88 0 17.829 7.948 17.829 17.828a17.786 17.786 0 0 1-17.829 17.829" /><path stroke="#006729" stroke-linecap="round" stroke-miterlimit="10" stroke-width="2" d="M45.557 127.773h-10.92l-9.658-35.657h21.543c9.88 0 17.829 7.948 17.829 17.828 0 6.463-3.417 12.109-8.617 15.229" /><path stroke="#006729" stroke-linecap="round" stroke-miterlimit="10" stroke-width="2" d="M67.768 85.504c6.166 6.314 9.954 14.932 9.954 24.44 0 19.315-15.6 34.915-34.914 34.915-19.315 0-34.915-15.6-34.915-34.915 0-19.314 15.6-34.914 34.915-34.914 6.091 0 11.886 1.56 16.863 4.308" /></symbol>'});f().add(w);const y=w,k=e=>r.createElement(i.Flex,(0,a.A)({as:"svg",height:y.height,width:y.width,viewBox:y.viewBox},e),r.createElement("use",{xlinkHref:"#".concat(y.id)})),E=()=>{const[e]=(0,g.A)((()=>({fetch:m})),[]),{nodesOnline:t,githubStars:n,dockerHubPulls:a}=(0,r.useMemo)((()=>{var t,n;return Array.isArray(e)?{nodesOnline:"1,265,463",githubStars:null===(t=e.find((e=>{let{key:t}=e;return"GitHub Stars"===t})))||void 0===t?void 0:t.value,dockerHubPulls:null===(n=e.find((e=>{let{key:t}=e;return"DockerHub Pulls"===t})))||void 0===n?void 0:n.value}:{}}),[e]);return r.createElement(i.Flex,{column:!0,gap:6},r.createElement(k,{height:"160px",padding:[0,0,4,0]}),r.createElement(i.Flex,{column:!0,gap:3},r.createElement(h,{downScale:[i.TextBigger,i.TextBigger],color:"bright",textAlign:"center"},r.createElement(h,{downScale:[i.TextBigger,i.TextBigger],color:t?"primaryHighlight":"bright",textAlign:"center",strong:!0},t||"..."),r.createElement(i.Box,{as:"span",margin:[0,0,0,3]},"Nodes Online")),r.createElement(h,{downScale:[i.TextBigger,i.TextBigger],color:"bright",textAlign:"center"},r.createElement(h,{downScale:[i.TextBigger,i.TextBigger],color:n?"primaryHighlight":"bright",textAlign:"center",strong:!0},n||"..."),r.createElement(i.Box,{as:"span",margin:[0,0,0,3]},"GitHub Stars")),r.createElement(h,{downScale:[i.TextBigger,i.TextBigger],color:"bright",textAlign:"center"},r.createElement(h,{downScale:[i.TextBigger,i.TextBigger],color:a?"primaryHighlight":"bright",textAlign:"center",strong:!0},a||"..."),r.createElement(i.Box,{as:"span",margin:[0,0,0,3]},"DockerHub Pulls"))))},v=e=>{let{icon:t,title:n,text:a}=e;const l=(0,o.A)("(min-width: 475px)");return r.createElement(i.Flex,{gap:4,alignItems:"start"},l&&r.createElement(i.Flex,{background:"transparent",justifyContent:"center",alignItems:"center",height:"64px",width:"64px",round:64,flex:"grow",border:{side:"all",color:"successLite"}},r.createElement(i.Icon,{name:t,height:"20px",widht:"20px",color:"successLite"})),r.createElement(i.Flex,{column:!0,justifyContent:"start",alignItems:"start",gap:2},r.createElement(i.TextBig,{color:"bright",strong:!0},n),r.createElement(i.Text,{color:"selected"},a)))};var S=n(21828);const C=()=>r.createElement(i.Flex,{column:!0,padding:[16,4,12],width:{max:"500px"},margin:[0,"auto"],gap:14},r.createElement(E,null),r.createElement(i.Flex,{column:!0,gap:8},d.map(((e,t)=>r.createElement(v,(0,a.A)({key:t},e))))),r.createElement(i.Flex,{column:!0,gap:6,alignItems:"center"},r.createElement(S.A,null),r.createElement(i.Flex,{column:!0,gap:4,alignItems:"center"},r.createElement(c.go,{theme:"dark"}),r.createElement(i.TextSmall,{textAlign:"center",color:"bright"},"Netdata is a member of the Cloud Native Computing Foundation (CNCF), and is one of the most starred projects in the CNCF landscape.")))),I=e=>{let{children:t,...n}=e;const c=(0,o.A)("(min-width: 998px)");return r.createElement(i.Flex,(0,a.A)({height:{min:"100vh"},flexWrap:!0},n),!window.envSettings.onprem&&r.createElement(l,{background:(0,i.getColor)(["neutral","grey25"])({theme:i.DarkTheme}),order:c?0:1},r.createElement(C,null)),r.createElement(l,{background:"mainBackground",order:c?1:0},r.createElement(i.Flex,{background:"transparent",column:!0,gap:8,padding:[12,4],width:{max:"500px"},margin:[0,"auto"]},r.createElement(s,null),t)))}},75596:(e,t,n)=>{n.r(t),n.d(t,{SignIn:()=>R,default:()=>G});n(25440),n(62953),n(3296),n(48408);var a=n(96540),r=n(47767),o=n(86663),i=n(10058),l=n(55337),c=n(11604),s=n(17182),d=n(17208),g=n(58168),u=n(8711);const m=u.default.a.withConfig({displayName:"linkButton__LinkButton",componentId:"sc-9kv26a-0"})(["color:",";text-decoration:none;background-color:transparent;display:flex;flex-flow:row nowrap;justify-content:flex-start;align-items:center;height:",";background:",";border:1px solid ",";border-radius:2px;max-width:320px;width:100%;",";&:hover{text-decoration:none;color:unset;}"],(0,i.getColor)("background"),(0,i.getSizeBy)(5.5),(0,i.getColor)("mainBackground"),(0,i.getColor)("mainBackground"),(e=>{let{disabled:t}=e;return"\n opacity: ".concat(t?.4:1,";\n pointer-events: ").concat(t?"none":"auto",";\n ")})),h=e=>t=>{let{method:n,...r}=t;return n==localStorage.getItem("lastSignInMethod")?a.createElement(i.Box,{width:"100%"},a.createElement(i.TextMicro,null,"Last Sign-in method"),a.createElement(e,(0,g.A)({isLastSignInMethod:!0},r))):a.createElement(e,r)},p=e=>(0,u.default)(m).withConfig({displayName:"linkButton__makeSocialButton",componentId:"sc-9kv26a-1"})(["box-shadow:0px 0px 1px rgba(0,0,0,0.12);border-radius:2px;background:",";border-style:solid;border-color:",";border-width:",";span{flex:1;display:flex;align-items:center;justify-content:center;padding:0 ",";color:",";}"],e,(t=>{let{isLastSignInMethod:n}=t;return n?"green":e}),(e=>{let{isLastSignInMethod:t}=e;return t?"2px":"1px"}),(0,i.getSizeBy)(1),(0,i.getColor)("bright")),x=p("#445260"),b=p("#4285f4");var f=n(74664),w=n(50876);const y=h(f.j5),k=e=>{let{onSubmit:t,disabled:n,initialValue:r,buttonLabel:o,tagging:l}=e;const[c,s]=(0,i.useInputValue)({value:r||""}),[d,g]=(0,a.useState)(),{sendButtonClickedLog:u,isReady:m}=(0,w.A)(),h=(0,a.useCallback)((e=>{e.preventDefault(),u({feature:"SignIn",dataGa:"signinup::click-email::".concat(l)}),t(c).catch(g),localStorage.setItem("lastSignInMethod","email")}),[t,c,m]);return a.createElement(i.Flex,{as:"form",column:!0,gap:4,width:"100%","data-testid":"emailField"},a.createElement(y,{value:c,onChange:s,"data-testid":"emailField-input",method:"email",size:"large",error:d}),a.createElement(f.OV,{type:"submit",disabled:n||!c,width:"100%",label:o,onClick:h,"data-ga":"signinup::click-email::".concat(l),"data-testid":"emailField-submitButton"}))};var E=n(84541),v=n(21828),S=n(58187),C=n(92155),I=n(67276);const A=()=>{const e=(0,a.useMemo)((()=>{const{search:e}=window.location,{telemetry_session_id:t}=o.parse(e);return t}));(0,a.useEffect)((()=>{e&&sessionStorage.setItem(I.yq.session,e)}),[e])};var B=n(63314);const M=h(b),_=(0,C.A)(M),F=h(x),T=(0,C.A)(F),H=e=>{let{to:t}=e;return t=(e=>{try{const t=document.createElement("a");return t.href=e,/https?/.test(t.protocol)?new URL(t.protocol+"//"+t.host+t.pathname+t.search+t.hash).toString():null}catch(t){return null}})(t),t?a.createElement(i.Box,{position:"fixed"},a.createElement(i.Button,{as:"a",href:t,flavour:"borderless",label:"Go back to ".concat(t.replace(/#.*/,"")),icon:"arrow_left",rel:"noopener noreferrer"})):null},R=()=>{const{search:e}=(0,r.zy)(),t=window.location.hash,n=(0,c.Js)(),{redirect_uri:l}=o.parse(e);A();const g=(0,a.useCallback)((a=>{const r=encodeURIComponent((0,s.V)("/sign-in".concat(e),t)),o=encodeURIComponent((0,s.V)("/sign-up/verify".concat(e),t));return n({email:a,redirectURI:r,registerURI:o})}),[]);(0,a.useEffect)((()=>{if(!/app\.netdata\.cloud/.test(location.hostname))return;const e=document.createElement("script");return e.src="https://zsvdrp94yfxr.statuspage.io/embed/script.js",e.async=!0,document.body.appendChild(e),()=>{document.body.removeChild(e)}}),[]);const u=e=>{localStorage.setItem("lastSignInMethod",e)};return a.createElement(B.Ay,{feature:"SignIn"},!window.envSettings.onprem&&!!l&&a.createElement(H,{to:l}),a.createElement(E.A,{"data-testid":"signIn"},a.createElement(i.Flex,{column:!0,gap:4},a.createElement(i.H1,{textAlign:"center"},"Welcome!"),a.createElement(i.TextBig,{textAlign:"center"},"Sign in and let's get you started")),a.createElement(f.MG,null,a.createElement(i.Flex,{column:!0,gap:4},a.createElement(_,{href:(0,s.R)("google"),onClick:()=>u("google"),disabled:!1,"data-ga":"signinup::click-google::sni-view","data-testid":"signIn-googleButton",method:"google",feature:"SignIn",payload:{label:"Continue with Google"}},a.createElement(f.ch,null,a.createElement(d.J8,null)),a.createElement(i.Text,{textAlign:"center"},"Continue with Google")),a.createElement(T,{href:(0,s.R)("github"),onClick:()=>u("github"),disabled:!1,"data-ga":"signinup::click-github::sni-view","data-testid":"signIn-githubButton",method:"github",feature:"SignIn",payload:{label:"Continue with GitHub"}},a.createElement(f.ch,null,a.createElement(d.fx,null)),a.createElement(i.Text,null,"Continue with GitHub"))),a.createElement(i.Flex,{gap:2,alignItems:"center"},a.createElement(v.A,{theme:"default"}),a.createElement(i.H4,null,"or"),a.createElement(v.A,{theme:"default"})),a.createElement(k,{onSubmit:g,buttonLabel:"Sign in by email",tagging:"sni-view"})),!window.envSettings.onprem&&a.createElement(i.Flex,{column:!0,gap:4,alignSelf:"center",width:{max:"480px"}},a.createElement(i.TextBig,{textAlign:"center"},"No Netdata account? Sign-in and we will create one for you!"),a.createElement(i.Text,{textAlign:"center"},"By creating an account, you agree with Netdata's"," ",a.createElement(S.X,{tagging:"signin-view"})," and our"," ",a.createElement(S.H,{tagging:"signin-view"}),"."))))},G=(0,l.g)(R,"light")},74664:(e,t,n)=>{n.d(t,{MG:()=>g,OV:()=>d,ah:()=>l,ch:()=>i,j5:()=>c,ph:()=>s});var a=n(8711),r=n(10058),o=n(96763);const i=a.default.div.withConfig({displayName:"styled__SvgContainer",componentId:"sc-16ytcl4-0"})(["width:42px;height:42px;flex-shrink:0;display:flex;justify-content:center;align-items:center;border-radius:2px;background:white;"]),l=a.default.a.withConfig({displayName:"styled__StyledLink",componentId:"sc-16ytcl4-1"})(["display:inline-flex;align-items:center;text-decoration:none;color:",";cursor:pointer;&:hover{text-decoration:underline;color:"," !important;}&:visited{color:",";}> svg{fill:",";padding-right:",";}"],(0,r.getColor)("success"),(0,r.getColor)("success"),(0,r.getColor)("success"),(0,r.getColor)("main"),(0,r.getSizeBy)(1)),c=(0,a.default)(o.A).withConfig({displayName:"styled__EmailInput",componentId:"sc-16ytcl4-2"})(["",""],(e=>{let{isLastSignInMethod:t}=e;return t?"border: 2px solid green;":""})),s=(0,a.default)(r.Checkbox).withConfig({displayName:"styled__StyledCheckbox",componentId:"sc-16ytcl4-3"})(["margin:0 "," 0 0;& div:last-child{border-color:",";}"],(0,r.getSizeBy)(2),(e=>{let{error:t}=e;return t&&(0,r.getColor)("error")})),d=(0,a.default)(r.Button).withConfig({displayName:"styled__StyledButton",componentId:"sc-16ytcl4-4"})(["&&{height:44px;}"]),g=(0,a.default)(r.Flex).attrs((e=>{let{gap:t=8}=e;return{column:!0,gap:t,alignSelf:"center",padding:[0,0,8,0],border:{side:"bottom",color:"disabled"},width:{max:"320px"}}})).withConfig({displayName:"styled__FormContainer",componentId:"sc-16ytcl4-5"})(["width:100%;"])},58187:(e,t,n)=>{n.d(t,{H:()=>l,X:()=>c});var a=n(96540),r=n(74664);const o={link:"https://www.netdata.cloud/terms",title:"Terms And Conditions",dataGa:"signinup::click-terms::"},i=e=>{let{link:t,title:n,dataGa:o}=e;return e=>{let{tagging:i}=e;return a.createElement(r.ah,{href:t,target:"_blank",rel:"noopener noreferrer","data-ga":"".concat(o).concat(i)},n)}},l=i({link:"https://www.netdata.cloud/privacy",title:"Privacy Policy",dataGa:"signinup::click-privacy::"}),c=i(o)},17182:(e,t,n)=>{n.d(t,{R:()=>o,V:()=>r});var a=n(38819);const r=(e,t)=>{const n=(0,a.yq)(["expires_at",t]),r=t.includes("join-callback")?decodeURIComponent(n):n;return"".concat(window.location.origin).concat(e,"#").concat(r)},o=(e,t)=>{const{search:n,hash:a}=window.location,o=encodeURIComponent(r("/sign-in".concat(n).concat(n.length?"&":"?","oauth=").concat(e,"&"),a)),i=encodeURIComponent(r("/sign-up/verify".concat(n).concat(n.length?"&":"?","oauth=").concat(e,"&"),a));return"/api/v2/auth/account/".concat(e,"?redirect_uri=").concat(o,"&register_uri=").concat(i).concat(t?"&is_unverified_registration=true":"")}},96763:(e,t,n)=>{n.d(t,{A:()=>i});var a=n(58168),r=n(96540),o=n(10058);const i=e=>{let{onChange:t,value:n,onKeyDown:i,label:l,...c}=e;return r.createElement(o.TextInput,(0,a.A)({label:l,name:"userEmail",placeholder:"Enter an email address",value:n,onChange:t,onKeyDown:i},c))}}}]); \ No newline at end of file