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/4277.2cc4b47e6afcf91bff13.chunk.js
try{!function(){var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},l=(new e.Error).stack;l&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[l]="26be499a-a98f-46fe-a522-c22cd78768f3",e._sentryDebugIdIdentifier="sentry-dbid-26be499a-a98f-46fe-a522-c22cd78768f3")}()}catch(e){}!function(){try{("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{}).SENTRY_RELEASE={id:"553c63cf6c9afe8a8ef298d5e602e53feac44b0d"}}catch(e){}}(),(self.webpackChunkcloud_frontend=self.webpackChunkcloud_frontend||[]).push([[4277],{900:(e,l)=>{var s=[128065],o="f06e",n="M288 32c-80.8 0-145.5 36.8-192.6 80.6C48.6 156 17.3 208 2.5 243.7c-3.3 7.9-3.3 16.7 0 24.6C17.3 304 48.6 356 95.4 399.4C142.5 443.2 207.2 480 288 480s145.5-36.8 192.6-80.6c46.8-43.5 78.1-95.4 93-131.1c3.3-7.9 3.3-16.7 0-24.6c-14.9-35.7-46.2-87.7-93-131.1C433.5 68.8 368.8 32 288 32zM144 256a144 144 0 1 1 288 0 144 144 0 1 1 -288 0zm144-64c0 35.3-28.7 64-64 64c-7.1 0-13.9-1.2-20.3-3.3c-5.5-1.8-11.9 1.6-11.7 7.4c.3 6.9 1.3 13.8 3.2 20.7c13.7 51.2 66.4 81.6 117.6 67.9s81.6-66.4 67.9-117.6c-11.1-41.5-47.8-69.4-88.6-71.1c-5.8-.2-9.2 6.1-7.4 11.7c2.1 6.4 3.3 13.2 3.3 20.3z";l.mw={prefix:"fas",iconName:"eye",icon:[576,512,s,o,n]},l.pS=l.mw},7414:(e,l,s)=>{s.r(l),s.d(l,{default:()=>D});s(98992),s(54520),s(81454);var o=s(96540),n=s(67012),c=s(87083),t=s(24013),d=s(85720),r=s(45087),a=s(6304),i=s(10444),u=s(23459),f=s(71341),h=s(23226),g=s(96184),x=s(89590),m=s(33185),p=s(63766),w=s(67462),b=s(63950),j=s.n(b),C=s(63589),y=s(3319),A=s(74848);const k=e=>{let{startAddingNodes:l=j(),close:s=j(),children:n}=e;const[t,d]=(0,c.Oj)({merge:!1}),{sendLog:r}=(0,y.A)(),a=(0,o.useCallback)((()=>d([])),[d]),i=(0,o.useCallback)((()=>{s(),l(),r({feature:"NodesFilterAddNodes"})}),[s,l,r]);return(0,A.jsxs)(p.Flex,{column:!0,gap:1,padding:[2,2,1],zIndex:1,border:{side:"top",color:"border"},children:[(0,A.jsxs)(p.Flex,{gap:2,justifyContent:"end",children:[(0,A.jsx)(p.Button,{label:"Clear selected",flavour:"borderless",small:!0,disabled:!t.length,onClick:a}),(0,A.jsx)(C.A,{icon:"nodes_hollow",flavour:"hollow",onClick:i,small:!0,label:"Add Nodes"})]}),n]})};var v=s(69851),z=s(38800),L=s(25293),M=s(24609),N=s(51262),T=s(38773),I=s(95565);const F=e=>{let{onAnchorClick:l}=e;const s=(0,M.dg)(),{loaded:o,hasLimitations:n,maxNodes:c}=(0,N.A)();return o&&n?(0,A.jsxs)(p.Flex,{gap:2,padding:[3],children:[(0,A.jsx)(p.Icon,{name:"warning_triangle",size:"small",color:"warning"}),s?(0,A.jsxs)(p.Text,{children:["Local dashboard is limited to ",c," nodes."," ",(0,A.jsx)(T.A,{onClick:l,children:(0,A.jsx)(p.Text,{color:"primary",children:"Review your Space active Nodes"})})]}):(0,A.jsxs)(p.Text,{children:["Your plan is limited to ",c," nodes."," ",(0,A.jsx)(I.A,{onClick:l,children:(0,A.jsx)(p.Text,{color:"primary",children:"Upgrade for no limitations"})})," ","or"," ",(0,A.jsx)(T.A,{onClick:l,children:(0,A.jsx)(p.Text,{color:"primary",children:"review your Space active Nodes"})}),"."]})]}):null},_=e=>{let{onAnchorClick:l=j()}=e;return(0,A.jsx)(F,{onAnchorClick:l})},E=["filters"],S=(0,m.default)(p.Drop).attrs({backdrop:!0,align:{top:"bottom",right:"right"},animation:!0,background:"modalBackground",column:!0,margin:[2,0,0],padding:[2,0],round:4,width:200}).withConfig({displayName:"dropdown__Dropdown",componentId:"sc-1birv08-0"})([""]),B=(0,o.memo)((e=>{let{target:l,onClose:s,onAddNodes:n}=e;const t=(0,c.w7)(),[,d]=(0,h.A)();return(0,o.useEffect)((()=>{d()}),[]),(0,A.jsx)(S,{target:l,onEsc:s,onClickOutside:s,children:(0,A.jsxs)(p.Flex,{column:!0,height:{max:"60vh"},children:[(0,A.jsxs)(p.Flex,{padding:[2,3],border:{side:"bottom",color:"border"},column:!0,gap:2,children:[(0,A.jsxs)(p.Flex,{alignItems:"center",justifyContent:"between",children:[(0,A.jsxs)(p.Text,{strong:!0,children:["Visualizing data in space from ",t.length||"all"," ",(0,w.su)(t.length)]}),(0,A.jsx)(p.Icon,{"data-testid":"sidebarHeader-icon",name:"x",color:"textLite",onClick:s,cursor:"pointer"})]}),(0,A.jsx)(p.Flex,{padding:[3,0],alignItems:"center",children:(0,A.jsx)(L.A,{})})]}),(0,A.jsxs)(p.Flex,{flex:"1",overflow:"hidden",children:[(0,A.jsxs)(p.Flex,{column:!0,flex:!0,children:[(0,A.jsx)(_,{onAnchorClick:s}),(0,A.jsx)(z.A,{testIdPrefix:"node-ids",param:"selectedNodeIds",groupProps:{collapsible:!1,background:"modalBackground",padding:[3],flex:"1",overflow:"hidden"},height:"auto",width:"100%"})]}),(0,A.jsx)(v.Ay,{basis:60,baseWidth:60,flex:!1,title:"Dynamic filters",help:"Filter your nodes for this page. Count next to each item refer to the number of nodes that will be selected and used across the page.",includedTabs:E,loaded:!0,groupProps:{background:"modalBackground"},background:"modalBackground",viewFlavour:"nodesDropdown",inModal:!0})]}),(0,A.jsx)(k,{startAddingNodes:n,close:s})]})})})),D=(0,o.memo)((()=>{const e=(0,i.J)(),[l,s,,m]=(0,a.A)(!1),p=(0,o.useRef)(),w=(0,c.w7)(),b=(0,t.BU)().length,j=(0,t.Ig)().length,C=(0,t.GE)().length,y=(0,t.no)().length,k=(0,t.BU)(w.length?w:void 0).length,v=(0,t.Ig)(w.length?w:void 0).length,z=(0,t.GE)(w.length?w:void 0).length,L=(0,t.no)(w.length?w:void 0).length,M=(0,o.useMemo)((()=>({live:{selected:k,total:b,statusText:"Live"},stale:{selected:v,total:j,statusText:"Stale"},offline:{selected:z,total:C,statusText:"Offline"},unseen:{selected:L,total:y,statusText:"Unseen"}})),[b,j,C,y,k,v,z]),[,N]=(0,h.A)();(0,n.A)((()=>{N(l)}),[l]);const[T,,I,F]=(0,a.A)(),_=l?null:{title:"Global Nodes Filter",description:"Slice the dashboard by selecting the nodes of interest."};return(0,A.jsxs)(A.Fragment,{children:[(0,A.jsx)(r.A,{content:_,align:"bottom",isBasic:!1,children:(0,A.jsx)("div",{style:{display:"inline-block"},children:(0,A.jsx)(d.A,{ref:p,testid:"globalFilter-nodes",icon:"nodes",onClick:s,round:1,padding:e?[1]:[2],width:"auto",cursor:"pointer",selected:l,children:(0,A.jsx)(g.A,{"data-testid":"nodesIndicator",alignItems:"center",justifyContent:"end",gap:2,children:Object.keys(M).filter((e=>M[e].total)).map((l=>(0,A.jsx)(u.A,{statusText:M[l].statusText,total:M[l].total,selected:M[l].selected,statusColor:f.P[l],isScreenSmall:e},l)))})})})}),p.current&&l&&(0,A.jsx)(B,{target:p.current,onClose:m,onAddNodes:I}),T&&(0,A.jsx)(x.A,{onClose:F})]})}))},32755:(e,l)=>{var s="arrow-up-1-9",o=["sort-numeric-up"],n="f163",c="M450.7 38c8.3 6 13.3 15.7 13.3 26l0 96 16 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-48 0-48 0c-17.7 0-32-14.3-32-32s14.3-32 32-32l16 0 0-51.6-5.9 2c-16.8 5.6-34.9-3.5-40.5-20.2s3.5-34.9 20.2-40.5l48-16c9.8-3.3 20.5-1.6 28.8 4.4zM160 32c9 0 17.5 3.8 23.6 10.4l88 96c11.9 13 11.1 33.3-2 45.2s-33.3 11.1-45.2-2L192 146.3 192 448c0 17.7-14.3 32-32 32s-32-14.3-32-32l0-301.7L95.6 181.6c-11.9 13-32.2 13.9-45.2 2s-13.9-32.2-2-45.2l88-96C142.5 35.8 151 32 160 32zM445.7 364.9A32 32 0 1 0 418.3 307a32 32 0 1 0 27.4 57.9zm-40.7 54.9C369.6 408.4 344 375.2 344 336c0-48.6 39.4-88 88-88s88 39.4 88 88c0 23.5-7.5 46.3-21.5 65.2L449.7 467c-10.5 14.2-30.6 17.2-44.8 6.7s-17.2-30.6-6.7-44.8l6.8-9.2z";l.mw={prefix:"fas",iconName:s,icon:[576,512,o,n,c]},l.ut=l.mw},48306:(e,l)=>{var s="arrow-down-1-9",o=["sort-numeric-asc","sort-numeric-down"],n="f162",c="M450.7 38c-8.3-6-19.1-7.7-28.8-4.4l-48 16c-16.8 5.6-25.8 23.7-20.2 40.5s23.7 25.8 40.5 20.2l5.9-2 0 51.6-16 0c-17.7 0-32 14.3-32 32s14.3 32 32 32l48 0 48 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-16 0 0-96c0-10.3-4.9-19.9-13.3-26zM160 480c9 0 17.5-3.8 23.6-10.4l88-96c11.9-13 11.1-33.3-2-45.2s-33.3-11.1-45.2 2L192 365.7 192 64c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 301.7L95.6 330.4c-11.9-13-32.2-13.9-45.2-2s-13.9 32.2-2 45.2l88 96C142.5 476.2 151 480 160 480zM418.3 307a32 32 0 1 1 27.4 57.9A32 32 0 1 1 418.3 307zM405.1 419.8l-6.8 9.2c-10.5 14.2-7.5 34.2 6.7 44.8s34.2 7.5 44.8-6.7l48.8-65.8c14-18.9 21.5-41.7 21.5-65.2c0-48.6-39.4-88-88-88s-88 39.4-88 88c0 39.2 25.6 72.4 61.1 83.8z";l.mw={prefix:"fas",iconName:s,icon:[576,512,o,n,c]},l.v6=l.mw},56967:(e,l)=>{var s="eye-slash",o=[],n="f070",c="M38.8 5.1C28.4-3.1 13.3-1.2 5.1 9.2S-1.2 34.7 9.2 42.9l592 464c10.4 8.2 25.5 6.3 33.7-4.1s6.3-25.5-4.1-33.7L525.6 386.7c39.6-40.6 66.4-86.1 79.9-118.4c3.3-7.9 3.3-16.7 0-24.6c-14.9-35.7-46.2-87.7-93-131.1C465.5 68.8 400.8 32 320 32c-68.2 0-125 26.3-169.3 60.8L38.8 5.1zM223.1 149.5C248.6 126.2 282.7 112 320 112c79.5 0 144 64.5 144 144c0 24.9-6.3 48.3-17.4 68.7L408 294.5c8.4-19.3 10.6-41.4 4.8-63.3c-11.1-41.5-47.8-69.4-88.6-71.1c-5.8-.2-9.2 6.1-7.4 11.7c2.1 6.4 3.3 13.2 3.3 20.3c0 10.2-2.4 19.8-6.6 28.3l-90.3-70.8zM373 389.9c-16.4 6.5-34.3 10.1-53 10.1c-79.5 0-144-64.5-144-144c0-6.9 .5-13.6 1.4-20.2L83.1 161.5C60.3 191.2 44 220.8 34.5 243.7c-3.3 7.9-3.3 16.7 0 24.6c14.9 35.7 46.2 87.7 93 131.1C174.5 443.2 239.2 480 320 480c47.8 0 89.9-12.9 126.2-32.5L373 389.9z";l.mw={prefix:"fas",iconName:s,icon:[640,512,o,n,c]},l.k6=l.mw},59215:(e,l)=>{var s="arrow-down-a-z",o=["sort-alpha-asc","sort-alpha-down"],n="f15d",c="M183.6 469.6C177.5 476.2 169 480 160 480s-17.5-3.8-23.6-10.4l-88-96c-11.9-13-11.1-33.3 2-45.2s33.3-11.1 45.2 2L128 365.7 128 64c0-17.7 14.3-32 32-32s32 14.3 32 32l0 301.7 32.4-35.4c11.9-13 32.2-13.9 45.2-2s13.9 32.2 2 45.2l-88 96zM320 320c0-17.7 14.3-32 32-32l128 0c12.9 0 24.6 7.8 29.6 19.8s2.2 25.7-6.9 34.9L429.3 416l50.7 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-128 0c-12.9 0-24.6-7.8-29.6-19.8s-2.2-25.7 6.9-34.9L402.7 352 352 352c-17.7 0-32-14.3-32-32zM416 32c12.1 0 23.2 6.8 28.6 17.7l64 128 16 32c7.9 15.8 1.5 35-14.3 42.9s-35 1.5-42.9-14.3L460.2 224l-88.4 0-7.2 14.3c-7.9 15.8-27.1 22.2-42.9 14.3s-22.2-27.1-14.3-42.9l16-32 64-128C392.8 38.8 403.9 32 416 32zM395.8 176l40.4 0L416 135.6 395.8 176z";l.mw={prefix:"fas",iconName:s,icon:[576,512,o,n,c]},l.Ye=l.mw},74193:(e,l)=>{var s="sort",o=["unsorted"],n="f0dc",c="M137.4 41.4c12.5-12.5 32.8-12.5 45.3 0l128 128c9.2 9.2 11.9 22.9 6.9 34.9s-16.6 19.8-29.6 19.8L32 224c-12.9 0-24.6-7.8-29.6-19.8s-2.2-25.7 6.9-34.9l128-128zm0 429.3l-128-128c-9.2-9.2-11.9-22.9-6.9-34.9s16.6-19.8 29.6-19.8l256 0c12.9 0 24.6 7.8 29.6 19.8s2.2 25.7-6.9 34.9l-128 128c-12.5 12.5-32.8 12.5-45.3 0z";l.mw={prefix:"fas",iconName:s,icon:[320,512,o,n,c]},l.OM=l.mw},88038:(e,l)=>{var s="arrow-up-a-z",o=["sort-alpha-up"],n="f15e",c="M183.6 42.4C177.5 35.8 169 32 160 32s-17.5 3.8-23.6 10.4l-88 96c-11.9 13-11.1 33.3 2 45.2s33.3 11.1 45.2-2L128 146.3 128 448c0 17.7 14.3 32 32 32s32-14.3 32-32l0-301.7 32.4 35.4c11.9 13 32.2 13.9 45.2 2s13.9-32.2 2-45.2l-88-96zM320 320c0 17.7 14.3 32 32 32l50.7 0-73.4 73.4c-9.2 9.2-11.9 22.9-6.9 34.9s16.6 19.8 29.6 19.8l128 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-50.7 0 73.4-73.4c9.2-9.2 11.9-22.9 6.9-34.9s-16.6-19.8-29.6-19.8l-128 0c-17.7 0-32 14.3-32 32zM416 32c-12.1 0-23.2 6.8-28.6 17.7l-64 128-16 32c-7.9 15.8-1.5 35 14.3 42.9s35 1.5 42.9-14.3l7.2-14.3 88.4 0 7.2 14.3c7.9 15.8 27.1 22.2 42.9 14.3s22.2-27.1 14.3-42.9l-16-32-64-128C439.2 38.8 428.1 32 416 32zM395.8 176L416 135.6 436.2 176l-40.4 0z";l.mw={prefix:"fas",iconName:s,icon:[576,512,o,n,c]},l.PE=l.mw}}]);