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: //opt/netdata/usr/local/share/netdata/web/v3/5792.b00652b702d6fe135fb6.chunk.js
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};e.SENTRY_RELEASE={id:"161df38a3ce485b0993d5667ea290f6097b8818b"};var t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="4dab6e17-459d-4515-bfdd-6057198c204f",e._sentryDebugIdIdentifier="sentry-dbid-4dab6e17-459d-4515-bfdd-6057198c204f")}catch(e){}}(),(globalThis.webpackChunkcloud_frontend=globalThis.webpackChunkcloud_frontend||[]).push([[5792,9022],{43305(e,t,n){n.d(t,{A:()=>i});var l=n(882),o=(n(38429),n(74848));const r=l.default.div.withConfig({displayName:"container__Div",componentId:"sc-tikmd7-0"})(["position:relative;"]),i=e=>{let{onRemove:t,children:n,ref:l,title:i,...a}=e;return(0,o.jsx)(r,{...a,ref:l,children:n})}},80744(e,t,n){n.d(t,{Ay:()=>g,NA:()=>p});n(98992),n(72577),n(81454);var l=n(96540),o=n(40961),r=n(43375),i=n(67012),a=n(43305),s=n(71123),c=n(61710),d=n(45427),h=n(74848);const u={sideEffects(e){let{active:t}=e;t.node.animate([{opacity:0},{opacity:1}],{easing:"ease-in",duration:250})}},p=40,g=e=>{let{cacheId:t,rootId:n,items:g,onRemove:v,Item:f,containerWidth:m=800,rowHeight:x=p,gridTracks:y=12,gutter:b=4,allowOverlap:M=!1,compactType:A="vertical",maxRows:j=3e5,Container:B=a.A,onDragEnd:C,onDragCancel:z,containerId:w,itemProps:I,rearrangeable:S=!0,...D}=e;const k=(0,l.useRef)(),[E,F]=(0,l.useState)(()=>(0,s.oE)((0,s.Su)(g),A,y));(0,i.A)(()=>{F((0,s.oE)((0,s.Su)(g),A,y))},[y,t]);const[N,T]=(0,l.useState)(null),[R,$]=(0,l.useState)(null),H=(0,l.useRef)(null),{active:P}=(0,r.fF)();(0,r.E5)((0,l.useMemo)(()=>({onDragStart:e=>{let{active:t}=e;const{itemContainerId:n}=t.data.current||{};n===w&&(T((0,s.Su)(E)),$(E))},onDragMove:e=>{let{active:t,over:n}=e;$(e=>{const{isResizer:l,isContainer:o,itemId:r,itemContainerId:i}=t.data.current||{};if(o||i!==w)return e;const{initial:a,translated:d}=t.rect.current;let h=e;const u=(0,s.GN)(h,r);if(!u)return e;const p=n?.id;if(l){if(!p)return e;if(!d||!a)return e;const t=n.rect.width+(0,c.sd)(d.right-a.right),l=n.rect.height+(0,c.sd)(d.bottom-a.bottom);let{width:o,height:r}=(0,c.tr)({gutter:b,maxRows:j,gridTracks:y,rowHeight:x,containerWidth:m},t,l,u);return u.width===o&&u.height===r?e:(u.width=o,u.height=r,h=h.map(e=>e.id===u.id?{...u,width:o,height:r}:e),h=(0,s.oE)(h,A,y),H.current=u,h)}if(!S)return e;const g=k.current.getBoundingClientRect();let{left:v,top:f}=(0,c.zA)({gutter:b,maxRows:j,gridTracks:y,rowHeight:x,containerWidth:m},d.top-g.top,d.left-g.left,u);return u.top===f&&u.left===v?e:(h=(0,s.Pe)(h,u,v,f,!0,!1,A,y,M),h=(0,s.oE)(h,A,y),H.current=u,h)})},onDragEnd:e=>{let{active:t,over:n}=e;const{isResizer:l,isContainer:o,itemContainerId:r}=t.data.current;if(o||r!==w)return void $(null);const i=n?.id;if(l)return R&&F(R),$(null),void C(R,H.current);null!==i?(R&&F(R),$(null),C(R,H.current)):$(null)},onDragCancel:()=>{N&&F(N),H.current=null,T(null),$(null),z&&z()}}),[E,R]));const L=(0,s.Hp)(R||E),_=L*x+(L-1)*b+"px";return(0,h.jsxs)(B,{ref:k,style:{width:m,height:_},...D,children:[(R||E).map((e,t)=>(0,h.jsx)(d.A,{...e,index:t,containerId:w,Item:f,onRemove:v,draggable:!0,containerWidth:m,rowHeight:x,gridTracks:y,gutter:b,transformed:null!==R?R[t]:null,draggableProps:e,itemProps:I,rootId:n},e.id)),(0,o.createPortal)((0,h.jsx)(r.Hd,{adjustScale:!1,dropAnimation:u,zIndex:9999,children:P&&P.data.current.rootId===n&&P.data.current.isItem?(e=>{const t=R||E;if(!t)return null;const l=t.find(t=>t.id===e.itemId);return l?(0,h.jsx)(d.A,{rootId:n,...l,containerId:e.itemContainerId,Item:f,onRemove:v,draggable:!0,containerWidth:m,rowHeight:x,gridTracks:y,gutter:b,dragOverlay:!0,itemProps:I}):null})(P.data.current):null}),document.body)]})}},45427(e,t,n){n.d(t,{A:()=>c});var l=n(882),o=n(38429),r=n(43375),i=n(61710),a=n(74848);const s=(0,l.default)(o.IconButton).attrs({icon:"resize_handler",padding:[0],position:"absolute",bottom:0,right:0,hoverColor:"textDescription",width:"14px",height:"14px"}).withConfig({displayName:"item__ResizeButton",componentId:"sc-1g5beux-0"})(["&&{cursor:nwse-resize;}"]),c=e=>{let{draggable:t,id:n,containerId:l,index:c,onRemove:d,itemProps:h,Item:u,top:p,left:g,width:v,height:f,containerWidth:m,rowHeight:x,gridTracks:y,gutter:b,transformed:M,draggableProps:A,dragOverlay:j,containerDragOverlay:B,rootId:C,containerDndProps:z,...w}=e;const{setNodeRef:I}=(0,r.zM)({id:j||B?`dragOverlay-${C}-${n}`:`${C}-${n}`,disabled:!t||j||B,data:{isItem:!0,itemId:n,itemContainerId:l,rootId:C,...z}}),{attributes:S,isDragging:D,listeners:k,setNodeRef:E,setActivatorNodeRef:F}=(0,r.PM)({id:j||B?`dragOverlay-${C}-${n}`:`${C}-${n}`,disabled:!t||j||B,data:{isItem:!0,itemId:n,itemContainerId:l,...A,rootId:C}}),N=(0,r.PM)({id:j||B?`dragOverlay-${C}-${n}-resizeHandle`:`${C}-${n}-resizeHandle`,disabled:j||B,data:{isResizer:!0,itemId:n,itemContainerId:l,rootId:C}}),T=(0,i.Oq)({containerWidth:m,rowHeight:x,gridTracks:y,gutter:b},g,p,v,f,M),R=j?{width:`${T.width}px`,height:`${T.height}px`,boxShadow:"\n          0 0 0 1px rgba(63, 63, 68, 0.05),\n          -1px 0 15px 0 rgba(34, 33, 81, 0.01),\n          0px 15px 15px 0 rgba(34, 33, 81, 0.25)\n        "}:{transition:D||N.isDragging?"":"top 100ms ease, left 100ms ease, width 100ms ease, height 100ms ease",position:"absolute",width:T.width/m*100+"%",height:`${T.height}px`,left:T.left/m*100+"%",top:`${T.top}px`};return(0,a.jsx)(u,{...w,...h,containerId:l,ref:(0,o.mergeRefs)(E,I),dragging:D,resizing:N.isDragging,handleProps:j||B||!t?void 0:{ref:F},index:c,style:R,onRemove:d,id:n,attributes:S,listeners:k,resizeHandle:(0,a.jsx)(s,{ref:N.setNodeRef,...N.attributes,...N.listeners}),dragOverlay:j||B})}},15524(e,t,n){n.d(t,{A:()=>i});var l=n(96540),o=n(43375);const r={vertical:{start:"top",end:"bottom",mouse:"clientY",clientDimension:"clientHeight",scrollDimension:"scrollHeight",scrollStart:"scrollTop"},horizontal:{start:"left",end:"right",mouse:"clientX",clientDimension:"clientWidth",scrollDimension:"scrollWidth",scrollStart:"scrollLeft"}},i=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"vertical";const{start:t,end:n,mouse:i,clientDimension:a,scrollDimension:s,scrollStart:c}=r[e]||r.vertical,{active:d}=(0,o.fF)(),h=(0,l.useRef)(null),[u,p]=(0,l.useState)(null);return(0,l.useEffect)(()=>{if(!u)return;const e=h.current;if(!e)return;const t=setInterval(()=>{e[c]+=5*u},5);return()=>clearInterval(t)},[u,h.current]),(0,l.useEffect)(()=>{const e=e=>{const l=h.current;if(!d||!l)return;if(!(l[s]>l[a]))return;const o=l.getBoundingClientRect(),r=e[i],c=r<o[t]+100?-1:r>o[n]-100?1:null;p(e=>c!==e?c:e)};return d?window.addEventListener("mousemove",e):(window.removeEventListener("mousemove",e),p(null)),()=>{window.removeEventListener("mousemove",e),p(null)}},[d,h.current]),h}},52795(e,t,n){n.d(t,{A:()=>a,h:()=>i});n(98992),n(8872);var l=n(62193),o=n.n(l);const r=e=>Object.keys(e).reduce((t,n)=>(void 0!==e[n]&&(t[n]=e[n]),t),{}),i=e=>{let{contextScope:t,nodesScope:n,aggregationMethod:l,groupBy:o,groupByLabel:i,postAggregationMethod:a,postGroupBy:s,postGroupByLabel:c,groupingMethod:d,groupingTime:h,chartType:u,chartLibrary:p,selectedDimensions:g,selectedLabels:v,selectedNodes:f,selectedInstances:m,sparkline:x,selectedLegendDimensions:y,showingInfo:b,dimensionsSortBy:M,instancesSortBy:A,nodesSortBy:j,groupBySortBy:B,labelsSortBy:C,dimensionsSort:z,nodesExpanded:w,groupByExpanded:I,labelsExpanded:S,expanded:D,expandedHeight:k,staticZones:E,overlays:F,title:N,description:T,showPostAggregations:R,desiredUnits:$,valueRange:H,staticValueRange:P,enabledYAxis:L,enabledXAxis:_,legend:O,staticFractionDigits:q,selectedNodeLabelsFilter:V,points:W}=e;return r({contextScope:t,nodesScope:n,aggregationMethod:l,groupBy:o,groupByLabel:i,postAggregationMethod:a,postGroupBy:s,postGroupByLabel:c,groupingMethod:d,groupingTime:h,chartType:u,chartLibrary:p,selectedDimensions:g,selectedLabels:v,selectedNodes:f,selectedInstances:m,sparkline:x,selectedLegendDimensions:y,showingInfo:b,dimensionsSortBy:M,instancesSortBy:A,nodesSortBy:j,groupBySortBy:B,labelsSortBy:C,dimensionsSort:z,nodesExpanded:w,groupByExpanded:I,labelsExpanded:S,expanded:D,expandedHeight:k,staticZones:E,overlays:F,title:N,description:T,showPostAggregations:R,desiredUnits:$,valueRange:H,staticValueRange:P,enabledYAxis:L,enabledXAxis:_,legend:O,staticFractionDigits:q,selectedNodeLabelsFilter:V,points:W})},a=function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(o()(e))return{};if(t){const{contextScope:t,nodesScope:n,selectedDimensions:l,selectedLabels:o,selectedNodes:i,selectedInstances:a,selectedLegendDimensions:s,showingInfo:c,...d}=e;return r(d)}const{aggregationMethod:n,groupBy:l,groupByLabel:i,postAggregationMethod:a,postGroupBy:s,postGroupByLabel:c,groupingMethod:d,groupingTime:h,chartType:u,chartLibrary:p,sparkline:g,dimensionsSortBy:v,instancesSortBy:f,nodesSortBy:m,groupBySortBy:x,labelsSortBy:y,dimensionsSort:b,nodesExpanded:M,groupByExpanded:A,labelsExpanded:j,expanded:B,expandedHeight:C,staticZones:z,overlays:w,title:I,description:S,showPostAggregations:D,desiredUnits:k,selectedNodeLabelsFilter:E,staticValueRange:F,enabledYAxis:N,enabledXAxis:T,legend:R,staticFractionDigits:$,points:H}=e;return r({aggregationMethod:n,groupBy:l,groupByLabel:i,postAggregationMethod:a,postGroupBy:s,postGroupByLabel:c,groupingMethod:d,groupingTime:h,chartType:u,chartLibrary:p,sparkline:g,dimensionsSortBy:v,instancesSortBy:f,nodesSortBy:m,groupBySortBy:x,labelsSortBy:y,dimensionsSort:b,nodesExpanded:M,groupByExpanded:A,labelsExpanded:j,expanded:B,expandedHeight:C,staticZones:z,overlays:w,title:I,description:S,showPostAggregations:D,desiredUnits:k,selectedNodeLabelsFilter:E,staticValueRange:F,enabledYAxis:N,enabledXAxis:T,legend:R,staticFractionDigits:$,points:H})}},91832(e,t,n){n.d(t,{A:()=>z});n(98992),n(81454);var l=n(96540),o=n(38429),r=n(52795),i=n(6304),a=n(27891),s=n(6504),c=n(99728),d=n(22332),h=n(63928),u=n(49163),p=n(23565),g=n(24609),v=(n(72577),n(94404)),f=n(74848);const m={room:"space_new",space:"spaces_v2",personal:"user"},x=(0,v.A)(o.Button),y=e=>{let{onSubmit:t,onClose:n,canAddSpaceSettings:r}=e;const[i,a]=(0,l.useState)(""),[s,c]=(0,l.useState)("personal"),d=(e=>(0,l.useMemo)(()=>[{icon:m.personal,value:"personal",label:"Personal"},{icon:m.room,value:"room",label:"Room",disabled:!e},{icon:m.space,value:"space",label:"Space",disabled:!e}],[e]))(r);return(0,f.jsx)(o.Modal,{onClickOutside:n,onEsc:n,children:(0,f.jsxs)(o.ModalContent,{background:"dropdown",children:[(0,f.jsxs)(o.ModalHeader,{children:["Create a new settings snapshot",(0,f.jsx)(o.ModalCloseButton,{testId:"close-button",onClose:n})]}),(0,f.jsx)(o.ModalBody,{children:(0,f.jsxs)(o.Flex,{column:!0,width:80,gap:3,children:[(0,f.jsx)(o.TextInput,{"data-testid":"name",label:"Name",onChange:e=>{let{target:t}=e;return a(t.value)},value:i}),(0,f.jsxs)(o.Flex,{column:!0,gap:1,children:[(0,f.jsx)(o.TextSmall,{strong:!0,children:"Scope"}),(0,f.jsx)(o.Select,{options:d,value:d.find(e=>e.value===s),onChange:e=>{let{value:t}=e;return c(t)},styles:{minWidth:"80px"}})]})]})}),(0,f.jsx)(o.ModalFooter,{children:(0,f.jsx)(x,{disabled:""===i.trim(),label:"Create",onClick:()=>t({name:i,scope:s}),"data-testid":"btn-create",payload:{description:"Modal - Create Settings"}})})]})})},b={color:"textLite",margin:[0,1,0,0],width:"14px",height:"14px"},M=e=>{let{openForm:t,close:n}=e;return(0,f.jsx)(o.Flex,{padding:[2,1],border:{side:"top"},justifyContent:"center",children:(0,f.jsx)(o.Button,{small:!0,icon:"save",onClick:()=>{t(),n()},"data-ga":"user-settings::click-create",title:"Create a new setting with your changes",children:"Add new setting"})})},A=e=>{let{id:t,close:n,disabled:l}=e;const i=(0,d.useChart)(),a=(0,h.xS)(t,{onSuccess:n});return(0,f.jsx)(o.IconButton,{icon:"save",iconColor:"textLite",onClick:e=>{e.stopPropagation(),a({value:(0,r.A)(i.getAttributes())})},"data-ga":"user-settings::click-update",neutral:!0,padding:[0],title:"Update this setting with your changes",disabled:l})},j=e=>{let{id:t,close:n,disabled:l}=e;const r=(0,h.z2)(t,{onSuccess:n});return(0,f.jsx)(o.IconButton,{icon:"trashcan",iconColor:"textLite",onClick:e=>{e.stopPropagation(),r()},"data-ga":"user-settings::click-delete",neutral:!0,padding:[0],title:"Delete this setting",disabled:l})},B=e=>{let{item:{value:t,label:n,icon:l,disabled:r,onClick:i,canUpdate:a,hideActions:s,...c},value:d,onItemClick:h,index:u,style:p,close:g,...v}=e;const m=d===t;return(0,f.jsxs)(o.MenuItemContainer,{"data-index":u,"aria-selected":m,disabled:r,selected:m,onClick:e=>{i&&i(e),h(t)},...c,...v,style:p,alignItems:"center",justifyContent:"between",padding:[1],overflow:"hidden",children:[(0,f.jsxs)(o.Flex,{alignItems:"center",children:[l,(0,f.jsx)(o.TextSmall,{whiteSpace:"normal",wordBreak:"break-word",children:n})]}),!s&&(0,f.jsxs)(o.Flex,{alignItems:"center",gap:.5,children:[(0,f.jsx)(A,{id:t,close:g,disabled:!a}),(0,f.jsx)(j,{id:t,close:g,disabled:!a})]})]})},C=e=>{let{disabled:t}=e;const n=(0,d.useChart)(),v=(0,u._)({params:{type:["chart"],entity:n.getAttribute("contextScope"),path:"/"}}),[x,A]=(0,p.WY)({type:"chart",entity:n.getAttribute("isHead")?n.getAttribute("id"):n.getAttribute("contextScope").join(","),path:"/"}),j=(0,l.useCallback)(e=>(x===e&&n.resetPristine(),A(e)),[n,x,A]),C=(0,c.JT)("space:UpdateSettings"),z=((e,t)=>{let{chart:n,canAddSpaceSettings:r}=t;return(0,l.useMemo)(()=>[{value:"default",label:"Default",icon:(0,f.jsx)(o.Icon,{name:m.personal,...b}),"data-track":n.track("setting-default"),canUpdate:!1,hideActions:!0},...e.map(e=>({value:e.id,label:e.name,icon:(0,f.jsx)(o.Icon,{name:m[e.scope]||m.personal,...b}),"data-track":n.track(`setting-${e.scope}`),canUpdate:"personal"===e.scope||r}))],[n,e,r])})(v,{chart:n,canAddSpaceSettings:C}),[w,,I,S]=(0,i.A)(),D=(0,h.yK)({onSuccess:()=>{S(),close()}}),k=(0,g.dg)();return(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)(o.Menu,{value:x,items:z,dropProps:{align:{top:"bottom",right:"right"},"data-toolbox":n.getId()},dropdownProps:{width:"200px"},onChange:j,"data-track":n.track("user-settings"),Item:B,Footer:(0,l.useMemo)(()=>e=>k?(0,f.jsx)(o.Flex,{padding:[1],children:(0,f.jsx)(o.TextSmall,{children:"Settings can be saved when the agent is part of a Netdata Cloud space."})}):(0,f.jsx)(M,{...e,openForm:I}),[k]),children:(0,f.jsx)(s.Button,{icon:(0,f.jsx)(s.default,{svg:a.A,size:"12px"}),title:"User settings",disabled:t,"data-testid":"chartHeaderToolbox-addSettings"})}),w&&(0,f.jsx)(y,{onSubmit:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return D({type:"chart",entity:n.getAttribute("contextScope").join(","),path:"/",...e,value:(0,r.A)(n.getAttributes())})},onClose:S,canAddSpaceSettings:C})]})},z=(0,l.memo)(C)},54251(e,t,n){n.d(t,{A:()=>l});const l=(e,t,n)=>{t!==n&&(e.getUI().unmount(),e.setUI({...e.sdk.makeChartUI(e),...e.ui||{}},"default"))}},5020(e,t,n){n.d(t,{Oq:()=>o,Q:()=>r,bP:()=>i,ml:()=>l});n(33110);const l=(e,t)=>e.on("sizeChanged",(e,n,l)=>{if(e.getParent()!==t)return;const o=e.getAttribute("id"),r=t.getAttribute("host"),i=`chart_height.${r}/${o}`;localStorage.setItem(i,n);const a=`chart_width.${r}/${o}`;localStorage.setItem(a,l)}),o=(e,t,n)=>{const l=`chart_height.${e.getAttribute("host")}/${t}`,o=localStorage.getItem(l);return o?/px/.test(o)?parseInt(o.replace("px",""),10):parseInt(o,10):n},r=e=>{e?.id&&localStorage.setItem(`chart_layout/${e.id}`,JSON.stringify(e))},i=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const l=localStorage.getItem(`chart_layout/${e}`);try{let e=JSON.parse(l);return e?(e=(e=>{let{i:t,id:n=t,x:l,left:o=l,y:r,top:i=r,w:a,width:s=a,h:c,height:d=c,expanded:h=!1}=e;return{id:n,width:s,height:d,left:o,top:i,expanded:h}})(e),{...n,...t,...e}):{...n,...t}}catch{return{...n,...t}}}},29022(e,t,n){n.d(t,{A:()=>u});var l=n(38429),o=n(60908),r=n(12897),i=n.n(r),a=n(55042),s=n.n(a),c=new(i())({id:"partialFailureSvg",use:"partialFailureSvg-usage",viewBox:"0 0 348 348",content:'<symbol xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 348 348" id="partialFailureSvg"><path fill="#CCDDE8" d="M174 348c96.098 0 174-77.902 174-174C348 77.903 270.098 0 174 0 77.903 0 0 77.903 0 174c0 96.098 77.903 174 174 174" opacity=".3" /><path fill="#89B0C9" d="M174 290c73.178 0 132.5-1.119 132.5-2.5S247.178 285 174 285s-132.5 1.119-132.5 2.5S100.822 290 174 290" opacity=".3" /><path fill="#485D6B" d="M267 53H81v142h186z" /><path fill="#849FB2" d="M263 57H85v134h178z" /><path fill="#0A2437" d="M267 53h-96v142h96z" opacity=".1" /><path fill="#E6E7E8" d="M307.6 115h-267v67h267z" /><path fill="#485D6B" d="M169.619 173.99v-51h-83v51z" /><path fill="#33424D" d="M167.619 171.99v-47h-79v47z" /><path fill="#0A2437" d="M169.611 173.997v-51h-41.6v51z" opacity=".1" /><path fill="#D3D5D6" d="M307.6 182h-267v13h267z" /><path fill="#697784" d="M288.6 195h-229v48h229z" /><path fill="#0A2437" d="M288.6 195h-229v22h229z" opacity=".15" /><path fill="#E6E7E8" d="M59.6 195h-10v92h10z" /><path fill="#0A2437" d="M59.6 195h-10v10h10z" opacity=".15" /><path fill="#0A2437" d="M59.6 195h-5v92h5z" opacity=".05" /><path fill="#E6E7E8" d="M298.6 195h-10v92h10z" /><path fill="#0A2437" d="M298.6 195h-10v10h10z" opacity=".15" /><path fill="#0A2437" d="M298.6 195h-5v92h5z" opacity=".05" /><path fill="#485D6B" d="M261.619 173.99v-51h-83v51z" /><path fill="#33424D" d="M259.619 171.99v-47h-79v47z" /><path fill="#0A2437" d="M261.611 173.997v-51h-41.6v51z" opacity=".1" /><path fill="#93A6B9" d="M55.6 127v20c0 .5-.4 1-1 1h-5c-.5 0-1-.4-1-1v-20c0-.5.4-1 1-1h5c.6 0 1 .4 1 1" /><path fill="#677F8E" d="M50.6 143.5v-13c0-.8.7-1.5 1.5-1.5s1.5.7 1.5 1.5v13c0 .8-.7 1.5-1.5 1.5s-1.5-.7-1.5-1.5" /><path fill="#00AB44" d="M56.6 132.4v1.2c0 .6-.4 1.2-1 1.3-.1 0-.3.1-.4.1H49c-.1 0-.3 0-.4-.1-.6-.2-1-.7-1-1.3v-1.2c0-.6.4-1.2 1-1.3.1 0 .3-.1.4-.1h6.2c.1 0 .3 0 .4.1.6.1 1 .7 1 1.3" /><path fill="#0A2437" d="M56.6 136.4v1.2c0 .6-.4 1.2-1 1.3-.1 0-.3.1-.4.1H49c-.1 0-.3 0-.4-.1-.6-.2-1-.7-1-1.3v-1.2c0-.6.4-1.2 1-1.3.1 0 .3-.1.4-.1h6.2c.1 0 .3 0 .4.1.6.1 1 .7 1 1.3" opacity=".1" /><path fill="#0A2437" d="M56.6 132.6v1c0 .6-.4 1.2-1 1.3-.1 0-.3.1-.4.1H49c-.1 0-.3 0-.4-.1-.6-.2-1-.7-1-1.3v-1c0 .1 0 .3.1.4.1.5.5.8.9.9.1 0 .3.1.4.1h6.2c.1 0 .3 0 .4-.1.5-.1.8-.5.9-.9.1-.1.1-.3.1-.4" opacity=".05" /><path fill="#24B75E" d="M56.6 132.4v1c0-.1 0-.3-.1-.4-.1-.5-.5-.8-.9-.9-.1 0-.3-.1-.4-.1H49c-.1 0-.3 0-.4.1-.5.1-.8.5-.9.9 0 .1-.1.3-.1.4v-1c0-.6.4-1.2 1-1.3.1 0 .3-.1.4-.1h6.2c.1 0 .3 0 .4.1.6.1 1 .7 1 1.3" /><path fill="#0A2437" d="M56.6 132.4v1.2c0 .6-.4 1.2-1 1.3V147c0 .5-.4 1-1 1h-2v-22h2c.5 0 1 .4 1 1v4.1c.6.1 1 .7 1 1.3" opacity=".1" /><path fill="#93A6B9" d="M66.6 134v13c0 .5-.4 1-1 1h-5c-.5 0-1-.4-1-1v-20c0-.5.4-1 1-1h5.1c.6.1.9 1.2.9 8" /><path fill="#677F8E" d="M61.6 143.5v-13c0-.8.7-1.5 1.5-1.5s1.5.7 1.5 1.5v13c0 .8-.7 1.5-1.5 1.5s-1.5-.7-1.5-1.5" /><path fill="#00AB44" d="M67.6 139.4v1.2c0 .6-.4 1.2-1 1.3-.1 0-.3.1-.4.1H60c-.1 0-.3 0-.4-.1-.6-.2-1-.7-1-1.3v-1.2c0-.6.4-1.2 1-1.3.1 0 .3-.1.4-.1h6.2c.1 0 .3 0 .4.1.6.1 1 .7 1 1.3" /><path fill="#0A2437" d="M67.6 143.4v1.2c0 .6-.4 1.2-1 1.3-.1 0-.3.1-.4.1H60c-.1 0-.3 0-.4-.1-.6-.2-1-.7-1-1.3v-1.2c0-.6.4-1.2 1-1.3.1 0 .3-.1.4-.1h6.2c.1 0 .3 0 .4.1.6.1 1 .7 1 1.3" opacity=".1" /><path fill="#0A2437" d="M67.6 139.6v1c0 .6-.4 1.2-1 1.3-.1 0-.3.1-.4.1H60c-.1 0-.3 0-.4-.1-.6-.2-1-.7-1-1.3v-1c0 .1 0 .3.1.4.1.5.5.8.9.9.1 0 .3.1.4.1h6.2c.1 0 .3 0 .4-.1.5-.1.8-.5.9-.9.1-.1.1-.3.1-.4" opacity=".05" /><path fill="#24B75E" d="M67.6 139.4v1c0-.1 0-.3-.1-.4-.1-.5-.5-.8-.9-.9-.1 0-.3-.1-.4-.1H60c-.1 0-.3 0-.4.1-.5.1-.8.5-.9.9 0 .1-.1.3-.1.4v-1c0-.6.4-1.2 1-1.3.1 0 .3-.1.4-.1h6.2c.1 0 .3 0 .4.1.6.1 1 .7 1 1.3" /><path fill="#0A2437" d="M67.6 139.4v1.2c0 .6-.4 1.2-1 1.3v5.1c0 .5-.4 1-1 1h-2v-22h2.1c.5.1.8.5.8 1v11.1c.7.1 1.1.7 1.1 1.3" opacity=".1" /><path fill="#677F8E" d="M78.6 139.9v7.2c0 .5-.4.9-.9.9h-7.2c-.5 0-.9-.4-.9-.9v-7.2c0-.5.4-.9.9-.9h7.2c.5 0 .9.4.9.9" /><path fill="#485D6B" d="M74.1 147a3.5 3.5 0 1 0 0-7 3.5 3.5 0 0 0 0 7" /><path fill="#FF4136" d="M74.1 146a2.5 2.5 0 1 0 0-5 2.5 2.5 0 0 0 0 5" /><path fill="#0A2437" d="M78.6 139.9v7.2c0 .5-.4.9-.9.9h-3.1v-9h3.1c.5 0 .9.4.9.9" opacity=".1" /><path fill="#677F8E" d="M78.6 126.9v6.1c0 .5-.4.9-.9.9h-7.1c-.5 0-.9-.4-.9-.9v-6.1c0-.5.4-.9.9-.9h7.1c.5 0 .9.4.9.9" /><path fill="#00AB44" d="M71.6 131a1 1 0 1 0 0-2 1 1 0 0 0 0 2" /><path fill="#FF4136" d="M74.1 131a1 1 0 1 0 0-2 1 1 0 0 0 0 2" /><path fill="#00AB44" d="M76.6 131a1 1 0 1 0 0-2 1 1 0 0 0 0 2" /><path fill="#0A2437" d="M78.6 126.9v6.1c0 .5-.4.9-.9.9h-3.1v-8h3.1c.5.1.9.5.9 1" opacity=".1" /><path fill="#485D6B" d="M78.6 156.6v11.8c0 .9-.7 1.6-1.6 1.6H50.2c-.9 0-1.6-.7-1.6-1.6v-11.8c0-.9.7-1.6 1.6-1.6H77c.9 0 1.6.7 1.6 1.6" /><path fill="#80A4BF" d="M54.6 166h-4v2h4zM57.6 166h-2v2h2zM68.6 166h-10v2h10zM71.6 166h-2v2h2zM76.6 166h-4v2h4zM52.6 163h-2v2h2zM55.6 163h-2v2h2zM58.6 163h-2v2h2zM61.6 163h-2v2h2zM64.6 163h-2v2h2zM67.6 163h-2v2h2zM70.6 163h-2v2h2zM73.6 163h-2v2h2zM76.6 163h-2v2h2zM53.6 160h-3v2h3zM56.6 160h-2v2h2zM59.6 160h-2v2h2zM62.6 160h-2v2h2zM65.6 160h-2v2h2zM68.6 160h-2v2h2zM71.6 160h-2v2h2zM76.6 160h-4v2h4zM52.6 157h-2v2h2zM55.6 157h-2v2h2zM58.6 157h-2v2h2zM61.6 157h-2v2h2zM64.6 157h-2v2h2zM67.6 157h-2v2h2zM70.6 157h-2v2h2zM73.6 157h-2v2h2zM76.6 157h-2v2h2z" /><path fill="#0A2437" d="M78.6 156.6v11.8c0 .9-.7 1.6-1.6 1.6H63.6v-15H77c.9 0 1.6.7 1.6 1.6" opacity=".1" /><path fill="#485D6B" d="M269.6 142.1v-16.2c0-1.6 1.3-2.9 2.9-2.9h24.2c1.6 0 2.9 1.3 2.9 2.9v16.2c0 1.6-1.3 2.9-2.9 2.9h-24.2c-1.6 0-2.9-1.3-2.9-2.9" /><path fill="#485D6B" d="M286.6 136h-17v6.1c0 1.6 1.3 2.9 2.9 2.9h14.1z" /><path fill="#93A6B9" d="M277.6 139a5 5 0 1 0-.001-10.001A5 5 0 0 0 277.6 139" /><path fill="#E6E7E8" d="m273.7 138.7-1.1-1.2c-.4-.5-.4-1.2.1-1.6l7.8-6c.4-.3 1.1-.3 1.5.1s.4 1.1 0 1.5l-6.7 7.2c-.4.4-1.1.4-1.6 0" /><path fill="#485D6B" d="M299.6 136h-16v9h13.1c1.6 0 2.9-1.3 2.9-2.9z" /><path fill="#93A6B9" d="M291.6 139a5 5 0 1 0-.001-10.001A5 5 0 0 0 291.6 139" /><path fill="#E6E7E8" d="m287.7 138.7-1.1-1.2c-.4-.5-.4-1.2.1-1.6l7.8-6c.4-.3 1.1-.3 1.5.1s.4 1.1 0 1.5l-6.7 7.2c-.4.4-1.1.4-1.6 0" /><path fill="#5AB948" d="M272.6 127a1 1 0 1 0 0-2 1 1 0 0 0 0 2M287.6 127a1 1 0 1 0 0-2 1 1 0 0 0 0 2" /><path fill="#0A2437" d="M284.6 145v-22h12.1c1.6 0 2.9 1.3 2.9 2.9v16.2c0 1.6-1.3 2.9-2.9 2.9z" opacity=".1" /><path fill="#485D6B" d="M299.619 173.99v-22h-30v22z" /><path fill="#385062" d="M275.6 157h-2v15h2z" /><path fill="#E6E7E8" d="M276.6 163h-4v3h4z" /><path fill="#0A2437" d="M276.6 166h-4v3h4zM276.6 165h-4v1h4z" opacity=".1" /><path fill="#5B788C" d="M278.6 171h-2v1h2zM278.6 169h-2v1h2zM278.6 167h-2v1h2zM278.6 165h-2v1h2zM278.6 163h-2v1h2zM278.6 161h-2v1h2zM278.6 159h-2v1h2zM278.6 157h-2v1h2z" /><path fill="#385062" d="M284.6 157h-2v15h2z" /><path fill="#E6E7E8" d="M285.6 159h-4v3h4z" /><path fill="#0A2437" d="M285.6 162h-4v3h4zM285.6 161h-4v1h4z" opacity=".1" /><path fill="#5B788C" d="M287.6 171h-2v1h2zM287.6 169h-2v1h2zM287.6 167h-2v1h2zM287.6 165h-2v1h2zM287.6 163h-2v1h2zM287.6 161h-2v1h2zM287.6 159h-2v1h2zM287.6 157h-2v1h2z" /><path fill="#385062" d="M293.6 157h-2v15h2z" /><path fill="#E6E7E8" d="M294.6 167h-4v3h4z" /><path fill="#0A2437" d="M294.6 170h-4v3h4zM294.6 169h-4v1h4z" opacity=".1" /><path fill="#5B788C" d="M296.6 171h-2v1h2zM296.6 169h-2v1h2zM296.6 167h-2v1h2zM296.6 165h-2v1h2zM296.6 163h-2v1h2zM296.6 161h-2v1h2zM296.6 159h-2v1h2zM296.6 157h-2v1h2z" /><path fill="#5AB948" d="M274.6 156a1 1 0 1 0 0-2 1 1 0 0 0 0 2M283.6 156a1 1 0 1 0 0-2 1 1 0 0 0 0 2" /><path fill="#FF4136" d="M292.6 156a1 1 0 1 0 0-2 1 1 0 0 0 0 2" /><path fill="#0A2437" d="M299.619 173.99v-22h-16v22z" opacity=".1" /><path fill="#D3D5D6" d="M64.6 73h-2v42h2z" /><path fill="#D3D5D6" d="M74.6 74h-22v2h22z" /><path fill="#0A2437" d="M64.6 79v23.5l-1-.5-1 .5V79z" opacity=".15" /><path fill="#C7C8C9" d="M74.6 75h-22v1h22z" /><path fill="#00AB44" d="M73.6 76v28l-10-5-7.5 3.7-.9.5-1.6.8V76z" /><path fill="#fff" d="M64.6 92h-2l-4-8h6c2.2 0 4 1.8 4 4s-1.8 4-4 4" /><path fill="#D3D5D6" d="M71.6 112h-16v3h16z" /><path fill="#C7C8C9" d="M71.6 114h-16v1h16z" /><path fill="#0A2437" d="M63.6 115V73h1v1h10v2h-1v28l-9-4.5V112h7v3z" opacity=".15" /><path fill="#DADCDD" d="m136.7 206.6-12.6-10.1c-6-4.8-9.4-11.9-9.4-19.6V168h4v8.9c0 6.5 2.9 12.5 7.9 16.5l12.6 10.1z" /><path fill="#0A2437" d="m137.7 202.3-1 1.3-12.6-10.1c-6-4.8-9.4-11.9-9.4-19.6v3c0 7.7 3.4 14.8 9.4 19.6l12.6 10.1 2.5-3.1z" opacity=".05" /><path fill="#00AB44" d="M123.1 171h-13c-1.4 0-2.5-1.1-2.5-2.5v-1c0-1.4 1.1-2.5 2.5-2.5h13c1.4 0 2.5 1.1 2.5 2.5v1c0 1.4-1.1 2.5-2.5 2.5" /><path fill="#0A2437" d="M125.1 169h-17.4c.2 1.2 1.2 2 2.4 2h13c1.2 0 2.2-.9 2.4-2z" opacity=".2" /><path fill="#36BD6B" d="M123.1 165h-13c-1.4 0-2.5 1.1-2.5 2.5v1c0-1.4 1.1-2.5 2.5-2.5h13c1.4 0 2.5 1.1 2.5 2.5v-1c0-1.4-1.1-2.5-2.5-2.5" /><path fill="#DADCDD" d="M226.6 168v8.9c0 7.7-3.4 14.8-9.5 19.6l-9.7 7.7-1 .8-1.9 1.6-2.5-3.1 1.5-1.2 4.1-3.2 7.1-5.6c5-4 7.9-10 7.9-16.5v-9z" /><path fill="#0A2437" d="M226.6 173.9v3c0 7.7-3.4 14.8-9.5 19.6l-9.7 7.7-1 .8-1.9 1.6-2.5-3.1 1.5-1.2 1 1.3 3-2.4 9.5-7.6c6.2-4.9 9.6-12 9.6-19.7" opacity=".05" /><path fill="#00AB44" d="M233.6 167.5v1.5c0 .1-.1.2-.1.4v.1c0 .1-.1.2-.1.3-.1.3-.4.5-.6.7-.1 0-.1.1-.2.1-.4.3-.9.4-1.4.4h-13c-.5 0-1-.2-1.4-.4-.1 0-.1-.1-.2-.1-.2-.2-.4-.4-.6-.7 0-.1-.1-.2-.1-.3v-.1c-.1-.1-.1-.2-.1-.4v-1.5c0-1.4 1.1-2.5 2.5-2.5h13c1.2 0 2.3 1.1 2.3 2.5" /><path fill="#0A2437" d="M233.6 169c0 .2-.1.3-.1.4v.1c0 .1-.1.2-.1.3-.1.3-.4.5-.6.7-.1 0-.1.1-.2.1-.4.3-.9.4-1.4.4h-13c-.5 0-1-.2-1.4-.4-.1 0-.1-.1-.2-.1-.2-.2-.4-.4-.6-.7 0-.1-.1-.2-.1-.3v-.1c-.1-.1-.1-.2-.1-.4h17.8" opacity=".2" /><path fill="#36BD6B" d="M233.6 167.5v1c0-1.4-1.1-2.5-2.5-2.5h-13c-1.4 0-2.5 1.1-2.5 2.5v-1c0-1.4 1.1-2.5 2.5-2.5h13c1.4 0 2.5 1.1 2.5 2.5" /><path fill="#485D6B" d="M174.6 218h-8v15h8zM176.6 235.6V250h-12v-14.4c0-1.4 1.2-2.6 2.6-2.6h6.7c1.5 0 2.7 1.2 2.7 2.6" /><path fill="#506C80" d="M183.6 211v1.6c0 .5 0 .9-.2 1.4 0 .1-.1.3-.1.4s-.1.3-.1.4-.1.2-.1.4c-.1.3-.3.5-.4.8-.1.1-.1.2-.2.4-.2.2-.3.4-.5.6-1.2 1.2-2.8 2-4.6 2H164c-1.8 0-3.5-.8-4.6-2-.2-.2-.4-.4-.5-.6-.1-.1-.2-.2-.2-.4-.2-.2-.3-.5-.4-.8-.1-.1-.1-.2-.1-.4-.1-.1-.1-.3-.1-.4s-.1-.3-.1-.4c-.1-.5-.2-.9-.2-1.4V211z" /><path fill="#0A2437" d="M183.5 214c0 .1-.1.3-.1.4s-.1.3-.1.4-.1.2-.1.4c-.1.3-.3.5-.4.8-.1.1-.1.2-.2.4-.2.2-.3.4-.5.6h-22.5c-.2-.2-.4-.4-.5-.6-.1-.1-.2-.2-.2-.4-.2-.2-.3-.5-.4-.8-.1-.1-.1-.2-.1-.4-.1-.1-.1-.3-.1-.4s-.1-.3-.1-.4z" opacity=".2" /><path fill="#384A57" d="M187.6 204v6c0 .7-.2 1.3-.5 1.9-.7 1.2-2 2.1-3.5 2.1h-26.1c-1.5 0-2.8-.8-3.5-2.1-.3-.6-.5-1.2-.5-1.9v-6z" /><path fill="#00AB44" d="M207.6 199.3v3.6c0 .5 0 .9-.1 1.4 0 .3-.1.5-.2.8-.2.7-.6 1.4-1 2q-1.35 1.8-3.6 2.4c-5.1 1.4-10.3 2.3-15.6 2.5-1 0-2 .1-2.9.1H157c-1 0-2 0-2.9-.1-2.1-.1-4.3-.3-6.4-.6-3.1-.4-6.1-1.1-9.2-1.9-2.2-.6-3.9-2.3-4.6-4.4-.1-.2-.1-.5-.2-.8-.1-.4-.1-.9-.1-1.4V199c.1-1.8 1.5-3.2 3.2-3.4l4.2-.5 2.4-.3 17.7-1.9c.8-.1 1.6-.2 2.3-.2a82 82 0 0 1 14 0c.8.1 1.6.1 2.3.2l16.8 1.8 2.4.3 5.2.6c1.8.2 3.1 1.6 3.2 3.4.3.1.3.2.3.3" /><path fill="#B4BBC4" d="M207.3 205c-.2.7-.6 1.4-1 2q-1.35 1.8-3.6 2.4c-5.1 1.4-10.3 2.3-15.6 2.5-1 0-2 .1-2.9.1H157c-1 0-2 0-2.9-.1-2.1-.1-4.3-.3-6.4-.6-3.1-.4-6.1-1.1-9.2-1.9-2.2-.6-3.9-2.3-4.6-4.4z" /><path fill="#0A2437" d="M199.1 195.1c-1.5 4-4 7.4-7.2 9.9-1.3 1.1-2.8 2-4.4 2.8-3 1.5-6.4 2.2-9.9 2.2h-15.3c-3.1 0-6.1-.6-8.9-1.8-1.9-.8-3.8-1.9-5.4-3.2-3.1-2.5-5.6-5.9-7.1-9.8l2.4-.3L161 193c.8-.1 1.6-.2 2.3-.2a82 82 0 0 1 14 0c.8.1 1.6.1 2.3.2l16.8 1.8z" opacity=".2" /><path fill="#DADCDD" d="m170.6 255.5-3.6-.1h-3.5c-2.3 0-4.6.1-6.9.4q-6.9.75-13.5 3c-2.2.7-4.4 1.6-6.5 2.6s-4.1 2.1-6.3 3.3l-12.6 7.1-2.1-3.4 12.3-7.8c2-1.3 4.2-2.6 6.4-3.8s4.5-2.2 6.9-3.2c4.7-1.9 9.6-3.2 14.6-4 2.5-.4 5-.7 7.6-.8l1.9-.1h1.8l3.6-.1v6.9z" /><path fill="#C6C7C8" d="m170.6 255.5-3.6-.1h-3.5c-2.3 0-4.6.1-6.9.4q-6.9.75-13.5 3c-2.2.7-4.4 1.6-6.5 2.6s-4.1 2.1-6.3 3.3l-12.6 7.1-1-1.7 12.5-7.5c4.1-2.5 8.4-4.8 13-6.4 4.5-1.7 9.3-2.8 14.1-3.5q3.6-.45 7.2-.6c2.4-.1 4.8 0 7.3 0v3.4z" /><path fill="#485D6B" d="M117.6 273v11.5c0 1.4-1.1 2.5-2.5 2.5h-1.9c-1.4 0-2.5-1.1-2.5-2.5V273z" /><path fill="#0A2437" d="M119.6 270.9v6.9c0 1.1-.9 2.1-2 2.2v4.5c0 1.4-1.1 2.5-2.5 2.5h-1.5v-20h2.1c2.2 0 3.9 1.8 3.9 3.9" opacity=".2" /><path fill="#DADCDD" d="M119.6 270.9v6.9c0 1.1-.9 2.1-2 2.2h-7c-1.1-.1-2-1.1-2-2.2v-6.9c0-2.2 1.8-3.9 3.9-3.9h3.1c2.3 0 4 1.8 4 3.9" /><path fill="#0A2437" d="M115.7 267h-2.1v13h4c1.1-.1 2-1.1 2-2.2v-6.9c0-2.1-1.7-3.9-3.9-3.9" opacity=".05" /><path fill="#DADCDD" d="m225.6 268.3-1 1.7-1 1.7-2-1.1-10.7-6c-2.1-1.2-4.1-2.3-6.2-3.3s-4.3-1.9-6.5-2.6c-4.4-1.5-9-2.5-13.5-3q-3.45-.3-6.9-.3h-3.5l-3.6.1v-7.1l3.6.1 1.8.1h2c2.5.1 5.1.4 7.6.8 5 .8 9.9 2.1 14.6 4 2.3.9 4.6 2 6.9 3.2 2.2 1.2 4.4 2.5 6.4 3.8l10.7 6.8z" /><path fill="#C6C7C8" d="m224.6 270-1 1.7-2-1.1-10.7-6c-2.1-1.2-4.1-2.3-6.2-3.3s-4.3-1.9-6.5-2.6c-4.4-1.5-9-2.5-13.5-3q-3.45-.3-6.9-.3h-3.5l-3.6.1V252h7.3q3.6.15 7.2.6c4.8.7 9.5 1.8 14.1 3.5 4.6 1.6 8.9 3.9 13 6.4l10.2 6.1z" /><path fill="#485D6B" d="M230.6 273v11.5c0 1.4-1.1 2.5-2.5 2.5h-1.9c-1.4 0-2.5-1.1-2.5-2.5V273z" /><path fill="#0A2437" d="M232.6 270.9v6.9c0 1.1-.9 2.1-2 2.2v4.5c0 1.4-1.1 2.5-2.5 2.5h-1.5v-20h2.1c2.2 0 3.9 1.8 3.9 3.9" opacity=".2" /><path fill="#DADCDD" d="M232.6 270.9v6.9c0 1.1-.9 2.1-2 2.2h-7c-1.1-.1-2-1.1-2-2.2v-7.2c0-.7.3-1.4.7-2s1-1.1 1.7-1.4q.75-.3 1.5-.3h3.1c2.3.1 4 1.9 4 4" /><path fill="#0A2437" d="M232.6 270.9v6.9c0 1.1-.9 2.1-2 2.2h-4v-13h2.1c2.2 0 3.9 1.8 3.9 3.9" opacity=".05" /><path fill="#E2E3E4" d="M175.3 252v.2l-.5 3.2L173 267l-.3 2h-4l-.3-1.8-1.9-11.8-.5-3.2v-.2c-.1-1.1.8-2 1.9-2h5.5c1.1 0 1.9.9 1.9 2" /><path fill="#C6C7C8" d="M175.3 252v.2l-.5 3.2L173 267l-.3 2h-2v-19h2.8c1 0 1.8.9 1.8 2" /><path fill="#485D6B" d="M174.6 273v11.5c0 1.4-1.1 2.5-2.5 2.5h-1.9c-1.4 0-2.5-1.1-2.5-2.5V273z" /><path fill="#0A2437" d="M176.6 270.9v6.9c0 1.1-.9 2.1-2 2.2v4.5c0 1.4-1.1 2.5-2.5 2.5h-1.5v-20h2.3c2.1.1 3.7 1.9 3.7 3.9" opacity=".2" /><path fill="#DADCDD" d="M176.6 270.9v6.9c0 1.1-.9 2.1-2 2.2h-7c-1.1-.1-2-1.1-2-2.2v-6.9c0-1.8 1.1-3.2 2.7-3.7.4-.1.8-.2 1.2-.2h3.3c2.2.1 3.8 1.9 3.8 3.9" /><path fill="#0A2437" d="M176.6 270.9v6.9c0 1.1-.9 2.1-2 2.2h-4v-13h2.3c2.1.1 3.7 1.9 3.7 3.9" opacity=".05" /><path fill="#435969" d="M210.6 125.7v5.8c-.1 16.1-2.8 32-7.8 47.3l-3.4 10.4c-.6 2-1.6 3.9-2.7 5.6-2.9 4.4-7.3 7.6-12.3 9.2-2.1.6-4.4 1-6.7 1h-15.3c-2.3 0-4.5-.4-6.7-1-5-1.5-9.3-4.7-12.2-9.1-1.2-1.7-2.1-3.6-2.8-5.7l-3.4-10.4c-5-15.3-7.6-31.2-7.8-47.3v-5.8c0-3.3 2.4-6 5.6-6.5l11-1.6c8.1-1.2 16.2-1.8 24.4-1.8q11.7 0 23.4 1.8l11 1.6c3.3.5 5.7 3.2 5.7 6.5" /><path fill="#00AB44" d="M210.6 125.7v5.8c-.1-3.2-2.4-5.9-5.6-6.3l-11-1.6c-7.8-1.2-15.6-1.7-23.4-1.8-8.1 0-16.3.5-24.4 1.8l-11 1.6c-3.2.5-5.5 3.1-5.6 6.3v-5.8c0-3.3 2.4-6 5.6-6.5l11-1.6c8.1-1.2 16.2-1.8 24.4-1.8q11.7 0 23.4 1.8l11 1.6c3.2.5 5.6 3.2 5.6 6.5" /><path fill="#384A57" d="M177.6 167h-14c-1.7 0-3-1.3-3-3s1.3-3 3-3h14c1.7 0 3 1.3 3 3s-1.3 3-3 3" /><path fill="#DADCDD" d="M175.2 164H166c-1.3 0-2.4 1.1-2.4 2.4v47.2c0 1.3 1.1 2.4 2.4 2.4h9.2c1.3 0 2.4-1.1 2.4-2.4v-47.2c0-1.3-1.1-2.4-2.4-2.4" /><path fill="#D0D1D3" d="M175.2 213H166c-1.3 0-2.4-1.1-2.4-2.4v3c0 1.3 1.1 2.4 2.4 2.4h9.2c1.3 0 2.4-1.1 2.4-2.4v-3c0 1.3-1.1 2.4-2.4 2.4" /><path fill="#E6E7E8" d="M175.2 164H166c-1.3 0-2.4 1.1-2.4 2.4v3c0-1.3 1.1-2.4 2.4-2.4h9.2c1.3 0 2.4 1.1 2.4 2.4v-3c0-1.3-1.1-2.4-2.4-2.4" /><path fill="#0A2437" d="M233.6 167.5v1.5c0 .1-.1.2-.1.4v.1c0 .1-.1.2-.1.3-.1.3-.4.5-.6.7-.1 0-.1.1-.2.1-.4.3-.9.4-1.4.4h-4.5v5.9c0 7.7-3.4 14.8-9.5 19.6l-9.7 7.7c0 .3-.1.5-.2.8-.2.7-.6 1.4-1 2q-1.35 1.8-3.6 2.4c-5.1 1.4-10.3 2.3-15.6 2.5-.7 1.2-2 2.1-3.5 2.1h-.2c0 .1-.1.3-.1.4s-.1.3-.1.4-.1.2-.1.4c-.1.3-.3.5-.4.8-.1.1-.1.2-.2.4-.2.2-.3.4-.5.6-1.2 1.2-2.8 2-4.6 2h-2.6v14h-.8c1.4 0 2.6 1.2 2.6 2.6v13h1.4c2.5.1 5.1.4 7.6.8 5 .8 9.9 2.1 14.6 4 2.3.9 4.6 2 6.9 3.2 2.2 1.2 4.4 2.5 6.4 3.8l10.7 6.8q.75-.3 1.5-.3h3.1c2.2 0 3.9 1.8 3.9 3.9v6.9c0 1.1-.9 2.1-2 2.2v4.5c0 1.4-1.1 2.5-2.5 2.5h-1.9c-1.4 0-2.5-1.1-2.5-2.5V280c-1.1-.1-2-1.1-2-2.2v-7.2l-10.7-6c-2.1-1.2-4.1-2.3-6.2-3.3s-4.3-1.9-6.5-2.6c-4.4-1.5-9-2.5-13.5-3q-3.45-.3-6.9-.3h-3l-1.8 11.6c2.1.1 3.7 1.8 3.7 3.9v6.9c0 1.1-.9 2.1-2 2.2v4.5c0 1.4-1.1 2.5-2.5 2.5h-1.5V115.8q11.7 0 23.4 1.8l11 1.6c3.2.5 5.6 3.2 5.6 6.5v5.8c-.1 16.1-2.8 32-7.8 47.3l-3.4 10.4c-.6 2-1.6 3.9-2.7 5.6l2.4.3 5.2.6c1.8.2 3.1 1.6 3.2 3.4l7.1-5.6c5-4 7.9-10 7.9-16.5v-6h-4.5c-.5 0-1-.2-1.4-.4-.1 0-.1-.1-.2-.1-.2-.2-.4-.4-.6-.7 0-.1-.1-.2-.1-.3v-.1c-.1-.1-.1-.2-.1-.4v-1.5c0-1.4 1.1-2.5 2.5-2.5h13c1.1 0 2.2 1.1 2.2 2.5" opacity=".15" /></symbol>'});s().add(c);const d=c;var h=n(74848);const u=e=>{let{testId:t="",title:n,children:r,...i}=e;return(0,h.jsx)(o.DL,{children:(0,h.jsxs)(l.Flex,{"data-testid":`error-base-container-${t}`,alignItems:"center",justifyContent:"center",flex:!0,gap:8,overflow:"hidden",children:[(0,h.jsx)("svg",{id:"partial_failure",width:"288px",height:"234px",children:(0,h.jsx)("use",{xlinkHref:`#${d.id}`})}),(0,h.jsxs)(l.Flex,{column:!0,width:{max:125},gap:2,alignItems:"center",justifyContent:"center",overflow:"hidden",height:"80vh",...i,children:[(0,h.jsx)(l.H3,{children:n}),r]})]})})}},54264(e,t,n){n.d(t,{$:()=>o});var l=n(95428);const o=()=>document.querySelectorAll(`[data-testid='${l.Q}']`).length},20871(e,t,n){n.d(t,{A:()=>o});n(98992),n(8872);var l=n(73700);const o=function(){let{stickyRef:e,elementQueryParam:t="[data-chartid]",dataMenuId:n="data-menuid"}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(0,l.s)(100,(l,o)=>{if(!l)return;const{top:r,bottom:i}=l.getBoundingClientRect(),a=(r+i)/2;let s=Array.from(l.querySelectorAll(t)).reduce((t,n,l)=>{if(!isNaN(e?.current)&&0===l)return t;const o=n.getBoundingClientRect(),r=(o.top+o.bottom)/2,i=Math.abs(r-a);return!t||i<t.distance?{element:n,distance:i}:t},null)?.element;if(s||(s=Array.from(l.querySelectorAll(`[${n}]`)).reduce((t,n,l)=>{if(!isNaN(e?.current)&&0===l)return t;const o=n.getBoundingClientRect(),r=(o.top+o.bottom)/2,i=Math.abs(r-a);return!t||i<t.distance?{element:n,distance:i}:t},null)?.element),!s)return;o(s.getAttribute(n)||s.closest(`[${n}]`)?.getAttribute(n))})}},83330(e,t,n){n.d(t,{H:()=>p,A:()=>g});n(74423),n(98992),n(23215);var l=n(96540),o=n(20159),r=n(69457),i=n(4719),a=n(33962),s=n(50239),c=n(74848);const d=[],h=e=>{let{container:t,ids:n,getObject:h,children:u,getMenu:p=o.A,deps:g=d,...v}=e;const f=(0,l.useRef)(),m=(0,l.useRef)(),x=(0,l.useRef)(),{allElements:y,menuIds:b,menuById:M,menuItemAttributesById:A,stickyIds:j}=(0,l.useMemo)(()=>{if(!Array.isArray(n))return n;if(m.current){if(!(n.length!==m.current.length||!n.every(e=>m.current.includes(e)))){if(!(g.length!==x.current.length||!g.every(e=>x.current.includes(e))))return f.current}}return m.current=n,x.current=g,f.current=p(n,h,v),f.current},[h,n,...g]);return(0,c.jsx)(r.vN,{container:t,menuItemAttributesById:A,getObject:h,allElements:y,stickyIds:j,children:(0,c.jsx)(i.Dv,{ids:b,children:(0,c.jsx)(i.BV,{menuById:M,children:(0,c.jsx)(a.Ny,{children:(0,c.jsx)(s.Cs,{children:u})})})})})};var u=n(38429);const p=e=>(0,c.jsx)(u.Flex,{column:!0,height:"100%",padding:[0,1],overflow:"hidden","data-testid":"dashboard-list",...e}),g=e=>{const t=(0,l.useRef)(),[n,o]=(0,l.useState)();return(0,l.useLayoutEffect)(()=>{o(t.current)},[]),(0,c.jsx)(u.Flex,{ref:t,height:"100%",width:"100%",overflow:{vertical:"auto"},children:n&&(0,c.jsx)(h,{...e,deps:[...e.deps||[],e.extraKey],container:n})})}},43116(e,t,n){n.d(t,{A:()=>c});var l=n(38429),o=n(29022),r=n(95565),i=n(38773),a=n(74848);const s={ErrAllNodesFailed:"You do not have permissions to request charts metadata.",ErrNoEligibleNodeRequested:"There are no eligible nodes to request charts metadata.",default:"Something went wrong during the request of charts metadata."},c=function(){let{error:e=""}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(0,a.jsxs)(o.A,{title:"Failed to request contexts",children:[(0,a.jsx)(l.TextBig,{children:s[e]||s.default}),"ErrNoEligibleNodeRequested"===e?(0,a.jsxs)(l.Text,{children:[(0,a.jsx)(r.A,{children:(0,a.jsx)(l.Text,{color:"primary",children:"Upgrade to Business"})})," ",(0,a.jsx)(l.Text,{children:"or"})," ",(0,a.jsx)(i.A,{children:(0,a.jsx)(l.Text,{color:"primary",children:"Change your active node selection to unlock it."})})]}):null]})}},29474(e,t,n){n.d(t,{A:()=>i});var l=n(96540),o=n(78953),r=n(74848);const i=e=>{let{alertsStats:t}=e;const{nodes:n}=t||{},{critical:i,warning:a,total:s}=n||{},c=(0,l.useMemo)(()=>[{label:"Warning",value:a,color:["yellow","yellow80"]},{label:"Critical",value:i,color:["red","red100"]},{label:"Total",value:s,color:["purple","lilacFocus"],omit:!0}],[i,a,s]);return n?(0,r.jsx)(o.A,{data:c}):null}},45614(e,t,n){n.d(t,{A:()=>h});n(98992),n(81454),n(8872);var l=n(96540),o=n(38429),r=n(882),i=n(66118),a=n(44731),s=n(41395),c=n(74848);i.t1.register(i.PP,i.kc,i.A6,i.E8,i.m_,i.s$);const d={borderWidth:0,maxBarThickness:15,minBarLength:0},h=function(){let{alertsStats:e}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const t=(0,l.useContext)(r.ThemeContext),{hosts:n}=e?.nodes||{},i={animation:!1,maintainAspectRatio:!1,plugins:{legend:{display:!1}},responsive:!0,scales:{x:{stacked:!0,grid:{color:(0,o.getColor)("borderSecondary")({theme:t})},afterSetDimensions:e=>{e.maxHeight=50},ticks:{precision:0,callback:(e,t)=>{let n=h.labels[t];if(!n)return;let l=0;for(;n?.length>20;)n=(0,s.P3)(n,l),l+=1;return n}}},y:{stacked:!0,grid:{color:(0,o.getColor)("borderSecondary")({theme:t})},afterSetDimensions:e=>{e.maxWidth=50}}}},h=(0,l.useMemo)(()=>{if(!n)return{datasets:[],labels:[]};const[e,t]=Object.entries(n).sort((e,t)=>t[1].total-e[1].total).reduce((e,t)=>{let[n,{critical:l,warning:o}]=t;return e[0].push(n),e[1].critical?e[1].critical=[...e[1].critical,l]:e[1].critical=[l],e[1].warning?e[1].warning=[...e[1].warning,o]:e[1].warning=[o],e},[[],{}]);return{datasets:Object.entries(t).map(e=>{let[t,n]=e;return{...d,backgroundColor:"critical"===t?"#DB162F":"#FF9700",data:n,label:t}}),labels:e}},[n]);return h.datasets?(0,c.jsx)(o.Flex,{flex:!0,width:"100%",height:{min:40},children:(0,c.jsx)(a.yP,{data:h,options:i})}):null}},54248(e,t,n){n.d(t,{A:()=>d});var l=n(38429),o=n(96540),r=n(79748),i=n(57869),a=n(45087),s=n(74848);const c=[{id:"name",accessorKey:"name",header:"Alert name",fullWidth:!0,cell:e=>{let{getValue:t,row:n}=e;const c=t(),{goToAlerts:d}=(0,i.A)(),h=(0,o.useCallback)(e=>{e.preventDefault(),d({name:c,instance:n?.original?.chart})},[d]);return(0,s.jsx)(a.A,{content:"Go to events tab. Timeframe will be set to the last 24 hours.",isBasic:!0,children:(0,s.jsx)(l.Box,{children:(0,s.jsx)(r.A,{onClick:h,children:c})})})}},{id:"chart",name:"chart",fullWidth:!0,header:"Instance"},{id:"occurrences",name:"occurrences",header:"Occurrences"},{id:"duration",name:"duration",header:"Duration (seconds)"}],d=function(){let{data:e=[]}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return e.length?(0,s.jsx)(l.Flex,{flex:!0,overflow:{vertical:"auto"},children:(0,s.jsx)(l.Table,{data:e,dataColumns:c,sortBy:[{id:"occurrences",desc:!0}],enableResizing:!0})}):null}},57869(e,t,n){n.d(t,{A:()=>d});var l=n(96540),o=n(76667),r=n(61841),i=n(19186),a=n(19075),s=n(42790);const c={events:{extraKey:"feedFilters",page:"events",alertNamesKey:"alert_names",period:{after:-n(71336).d_,before:0}},alerts:{extraKey:"alerts",page:"alerts",alertNamesKey:"alertNames"}},d=function(){let{flavour:e="events"}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const t=(0,i.ID)(),n=(0,o.Zp)(),[d,h]=(0,r.Ay)(),u=(0,a.le)(),[,p]=(0,a.DV)(),g=(0,s.rI)(),{extraKey:v,page:f,alertNamesKey:m,period:x}=c[e]||c.events,y={defaultValue:[],key:t,extraKey:v,flavour:"arr",merge:!1},b=(0,s.rI)("alertContexts",y),M=(0,s.rI)(m,y),A=(0,s.rI)("chart_names",y),j=(0,l.useCallback)(e=>{let{name:t}=e;u(1),p({alertName:t,nodeId:null}),n(`/spaces/${d}/rooms/${h}/alerts`,{replace:!0})},[n,d,h,u,p]);return{goToAlerts:(0,l.useCallback)(e=>{let{context:t,name:l,instance:o}=e;x&&g(e=>({...e,...x})),t&&b([t]),l&&M([l]),o&&A([o]),n(`/spaces/${d}/rooms/${h}/${f}`)},[n,f,x,d,h,g,b,M,A]),goToAlertConfigurations:j}}},46025(e,t,n){n.d(t,{A:()=>d});n(98992),n(8872);var l=n(96540),o=n(38429),r=n(882),i=n(66118),a=n(44731),s=n(41395),c=n(74848);i.t1.register(i.PP,i.kc,i.A6,i.E8,i.m_,i.s$);const d=function(){let{dataRetention:e=[]}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const t=(0,l.useContext)(r.ThemeContext),n={animation:!1,maintainAspectRatio:!1,plugins:{legend:{display:!1}},responsive:!0,scales:{x:{stacked:!0,grid:{color:(0,o.getColor)("borderSecondary")({theme:t})},afterSetDimensions:e=>{e.maxHeight=50},ticks:{precision:0,callback:(e,t)=>{let n=i.labels[t];if(!n)return;let l=0;for(;n?.length>20;)n=(0,s.P3)(n,l),l+=1;return n}}},y:{stacked:!0,grid:{color:(0,o.getColor)("borderSecondary")({theme:t})},afterSetDimensions:e=>{e.maxWidth=50}}}},i=(0,l.useMemo)(()=>{if(!e?.length)return{datasets:[],labels:[]};const{values:t,labels:n}=e.reduce((e,t)=>{let{label:n,value:l}=t;return e.labels.push(n),e.values.push(l),e},{values:[],labels:[]});return{datasets:[{borderWidth:0,maxBarThickness:10,backgroundColor:"#0A81AB",minBarLength:0,data:t,label:"Nodes"}],labels:n}},[e]);return i.datasets?(0,c.jsx)(o.Flex,{width:"100%",height:"100%",children:(0,c.jsx)(a.yP,{data:i,options:n})}):null}},78953(e,t,n){n.d(t,{A:()=>s});n(98992),n(54520),n(81454),n(8872);var l=n(38429),o=n(29243),r=n(74848);const i=(0,o.A)(e=>{let{number:t=0,NumberComponent:n=l.TextHuge}=e;return(0,r.jsx)(n,{strong:!0,children:t})}),a=e=>{const t=e.reduce((e,t)=>{let{value:n}=t;return e+n},0);return e.map(e=>({...e,width:`${Math.floor(e.value/t*100)}%`}))},s=function(){let{data:e=[],testId:t="",numberIndicatorProps:n={}}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(0,r.jsxs)(l.Flex,{width:"100%",column:!0,gap:2,children:[(0,r.jsx)(l.Flex,{justifyContent:"around",children:e.map(e=>{let{label:t,value:l}=e;return(0,r.jsx)(i,{title:t,number:l,...n},`${t}-${l}`)})}),(0,r.jsx)(l.ProgressBar,{background:"borderSecondary",border:"none",containerWidth:"100%","data-testid":t,height:2,value:a(e.filter(e=>{let{omit:t}=e;return!t}))})]})}},21421(e,t,n){n.d(t,{A:()=>W});n(98992),n(81454);var l=n(96540),o=n(38429),r=(n(74423),n(882));const i=(0,r.default)(o.Box).withConfig({displayName:"styled__PolygonContainer",componentId:"sc-9bx1cv-0"})(["width:22px;position:relative;aspect-ratio:1;background-color:",";cursor:",";opacity:",";clip-path:polygon( 93.56% 74.55%,50.52% 100%,6.96% 75.45%,6.44% 25.45%,49.48% 0%,93.04% 24.55%,93.56% 74.55% );"],e=>{let{background:t}=e;return(0,o.getColor)(t||"offline")},e=>{let{onClick:t}=e;return t?"pointer":"default"},e=>{let{isDisabled:t}=e;return t?"0.5":"1"}),a=(0,r.default)(o.Box).withConfig({displayName:"styled__PolygonInner",componentId:"sc-9bx1cv-1"})(["width:18px;position:absolute;top:2px;left:2px;aspect-ratio:1;background-color:",";opacity:",";clip-path:polygon( 93.56% 74.55%,50.52% 100%,6.96% 75.45%,6.44% 25.45%,49.48% 0%,93.04% 24.55%,93.56% 74.55% );"],e=>{let{background:t}=e;return(0,o.getColor)(t||"offline")},e=>{let{isDisabled:t}=e;return t?"0.5":"1"}),s=(0,r.default)(o.Icon).withConfig({displayName:"styled__AddNodeIcon",componentId:"sc-9bx1cv-2"})(["position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);"]),c=(0,r.default)(o.Box).withConfig({displayName:"styled__Groups",componentId:"sc-9bx1cv-3"})(["width:100%;display:grid;grid-template-columns:repeat(2,1fr);gap:16px;"]),d=(0,r.default)(o.Flex).withConfig({displayName:"styled__NodeContainer",componentId:"sc-9bx1cv-4"})(["opacity:",";"],e=>{let{isActive:t}=e;return t?"1":".3"});var h=n(24609),u=n(19186),p=n(99728),g=n(74891),v=n(74848);const f=(0,g.A)(e=>{let{children:t,innerProps:n={},containerProps:l={},...o}=e;return(0,v.jsx)(d,{margin:[0,0,.5,0],...o,children:(0,v.jsx)(i,{...l,children:(0,v.jsx)(a,{...n,children:t})})})}),m=e=>{let{type:t,onClick:n}=e;const o=(0,u.XA)(),r=(0,h.dg)(),i=(0,p.JT)("node:Create"),a=(0,l.useMemo)(()=>({background:"success",isDisabled:!i,...i?{onClick:()=>n({type:t})}:{}}),[i]),c=i?"Add node":r?"You are viewing your local node, connect to cloud and connect multiple nodes to view at once":`Only admin users can add nodes to ${o.name}`;return(0,v.jsx)(v.Fragment,{children:(0,v.jsx)(f,{containerProps:a,innerProps:{background:"panelBg"},tooltip:c,isActive:!0,children:(0,v.jsx)(s,{name:"plus",color:"success"})})})},x=f;var y=n(89284),b=n(91100),M=n(77148),A=n(84535),j=n(49181);const B=e=>{let{architecture:t,cpuFrequency:n,cpus:l,diskSpace:r,memory:i,os:a,osName:s}=e;const c=[(0,j.O)(n),(0,j.ws)(l,1===l?"Core":"Cores"),(0,j.ws)(t),(0,j.ws)((0,j.RI)(i),"RAM"),(0,j.ws)((0,j.RI)(r),"HD")];return(0,v.jsxs)(o.Flex,{column:!0,gap:1,children:[(0,v.jsxs)(o.Flex,{gap:1,children:[(0,v.jsx)(o.Icon,{"data-testid":"node-system-info-icon",name:A.u[s]?.iconName||A.U[a]?.iconName||"os",width:"16px",height:"16px",color:"text"}),(0,v.jsx)(o.Flex,{children:(0,j.ws)(s)})]}),c.map((e,t)=>(0,v.jsxs)(o.Text,{children:["\u2022 ",e]},t))]})};var C=n(23208),z=n(7761),w=n(31522);const I=e=>{let{isStable:t}=e;const n=t?{icon:"checkmark_s",color:"primary",borderColor:"primary"}:{icon:"warning_triangle",color:"stale",borderColor:"stale"};return(0,v.jsx)(o.Pill,{hollow:!0,...n,children:t?"Stable":"Unstable"})},S=function(){let{id:e,name:t,state:n,hw:r,os:i,isStable:a,setActiveNodes:s}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const c=(0,z.c8)(),{nodes:d}=c||{},h=d?.[e];return(0,l.useEffect)(()=>{if("function"===typeof s){const{children:t,parents:n}=h||{},l=h?[...[...n,...t].map(e=>{let{id:t}=e;return t})||[],e]:[e];s({isHover:!0,nodes:l})}return()=>{"function"===typeof s&&s(w.vd)}},[e,h]),(0,v.jsxs)(o.Flex,{column:!0,gap:3,width:{min:40},background:"mainBackground",padding:[2,4],children:[(0,v.jsx)(o.TextBig,{strong:!0,children:t}),(0,v.jsxs)(o.Flex,{column:!0,gap:1,children:[(0,v.jsx)(o.Text,{children:"Status"}),(0,v.jsx)(o.Flex,{children:(0,v.jsx)(y.A,{state:n})})]}),(0,v.jsxs)(o.Flex,{column:!0,gap:1,children:[(0,v.jsx)(o.Text,{children:"Connection"}),(0,v.jsx)(o.Flex,{children:(0,v.jsx)(I,{isStable:a})})]}),(0,v.jsxs)(o.Flex,{column:!0,gap:1,children:[(0,v.jsx)(o.Text,{children:"Alerts"}),(0,v.jsx)(b.A,{id:e})]}),(0,v.jsx)(M.A,{color:"textLite"}),(0,v.jsx)(B,{architecture:r.architecture,cpuFrequency:r.cpuFrequency,cpus:r.cpus,"data-testid":"nodeRow-system-info",diskSpace:r.diskSpace,memory:r.memory,name:t,osName:i.nm,os:i.id}),(0,v.jsx)(M.A,{color:"textLite"}),(0,v.jsx)(C.A,{id:e})]})};var D=n(19075),k=n(2626);n(37550);const E=function(){let{colorBy:e={},node:t={},isStable:n}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{value:o}=e,r=w.AZ[o],i=(0,k.Xt)(t.id),{critical:a,warning:s}=(0,D.AO)(i),c=w.Cc[o];let d=c[r?.(t)?.group?.toLowerCase()];if(o==w.w9.stability.value){d=c[n?"stable":"unstable"]}return{borderColor:(0,l.useMemo)(()=>(e=>{let{critical:t,warning:n}=e;return t?"error":n?"warning":null})({critical:a,warning:s})||d,[d,a,s]),background:d}},F=e=>{let{colorBy:t,stability:n={},setActiveNodes:o,...r}=e;const{isStable:i}=n[r.id]||{},{borderColor:a,background:s}=E({colorBy:t,node:r,isStable:i}),[,c]=(0,z.A$)(),d=(0,l.useCallback)(()=>c(r.id),[r.id,c]);return(0,v.jsx)(x,{containerProps:{background:a,onClick:d},innerProps:{background:s},tooltip:(0,v.jsx)(S,{isStable:i,setActiveNodes:o,...r}),...r})};var N=n(67462);const T=e=>t=>{let{title:n,...r}=t;const i=(0,l.useMemo)(()=>"nolabel"===n?`${r.groupBy} (No value)`:`${r.groupBy}=${n}`,[n,r.groupBy]);return n?(0,v.jsxs)(o.Flex,{width:"100%",column:!0,gap:2,children:[(0,v.jsxs)(o.Flex,{justifyContent:"between",border:{side:"bottom",color:"border"},children:[(0,v.jsx)(o.Text,{strong:!0,color:"menuItem",children:i}),r.nodes?.length?(0,v.jsx)(o.Text,{color:"menuItem",children:`${r.nodes.length} ${(0,N.su)(r.nodes.length)}`}):null]}),(0,v.jsx)(e,{...r})]}):(0,v.jsx)(e,{...r})},R=T(($=(0,l.memo)(e=>{let{nodes:t=[],type:n,stability:r={},groupBy:i,colorBy:a,onAddNode:s,...c}=e;const[d,h]=(0,l.useState)(w.vd),{isHover:u,nodes:p}=d,g=i?.canAddNodes;return(0,v.jsxs)(o.Flex,{flexWrap:!0,...c,children:[t.map(e=>(0,v.jsx)(F,{colorBy:a,stability:r,isActive:!u||p.includes(e.id),setActiveNodes:h,...e},e.id)),g?(0,v.jsx)(m,{type:n,onClick:s}):null]})}),e=>{const{stability:t}=(0,z.SW)();return(0,v.jsx)($,{stability:t,...e})}));n(8872);var $,H=n(64483);const P=e=>t=>{const n=w.AZ[e],l=(0,w.Hl)(e);return t.reduce((e,t)=>{const{group:o="unknown",type:r}=n(t);return e[o]?e[o].nodes=[...e[o].nodes,t]:e[o]={title:l(o)||"unknown",type:r,nodes:[t]},e},{})},L={os:P("os"),version:P("version"),status:P("status"),technology:P("technology"),replication:P("replication"),cloudProvider:P("cloudProvider"),cloudRegion:P("cloudRegion"),instanceType:P("instanceType"),none:e=>({none:{nodes:e}})},_=e=>{let{value:t,nodes:n}=e;return t.startsWith("label:")?(l=t.replace(/^label:/,""),e=>{const t=(0,H.Es)(e,l);return Object.entries(t).reduce((e,t)=>{let[n,l]=t;return{...e,[n]:{title:n,nodes:l}}},{})})?.(n):L[t]?.(n);var l},O=()=>(0,v.jsx)(o.Flex,{children:(0,v.jsx)(o.TextBig,{color:"menuItem",children:"No nodes found"})}),q=e=>{let{nodes:t,groupBy:n,title:r,groupByValue:i,children:a}=e;const{value:s}=Array.isArray(n)&&n.length>0?n[0]:w.nv,c=_({value:s,nodes:t}),d=(0,l.useMemo)(()=>Object.keys(c).length,[c]);return(0,v.jsxs)(o.Flex,{"data-testid":`nodes-group-${i}-${r}`,column:!0,gap:2,padding:[2,4],round:2,border:{side:"all",color:"border"},children:[(0,v.jsxs)(o.Flex,{alignItems:"center",justifyContent:"between",children:[(0,v.jsxs)(o.Text,{strong:!0,color:"menuItem",children:[i,": ",r]}),d>1?(0,v.jsxs)(o.Text,{color:"menuItem",children:[t.length," ",(0,N.su)(t.length)]}):null]}),a]},r)},V=e=>{let{nodes:t,groupBy:n,colorBy:r,onAddNode:i}=e;const{value:a}=Array.isArray(n)&&n.length>0?n[0]:w.nv,s=_({value:a,nodes:t}),d=(0,l.useMemo)(()=>Object.values(s),[s]);if(!s)return(0,v.jsx)(O,{});if(!d.length)return(0,v.jsx)(O,{});if(n?.value===w.nv.value){const{nodes:e}=d[0];return(0,v.jsx)(R,{nodes:e,groupBy:n,colorBy:r,onAddNode:i})}if(n.length>1)return(0,v.jsx)(o.Flex,{column:!0,gap:4,children:d.map(e=>{let{title:t,nodes:l}=e;return(0,v.jsx)(q,{groupBy:n.slice(1),nodes:l,title:t,groupByValue:a,children:(0,v.jsx)(V,{nodes:l,groupBy:n.slice(1),colorBy:r,onAddNode:i})},t)})});const h=1===d.length||n.length>1?o.Flex:c;return(0,v.jsx)(h,{children:d.map((e,t)=>{let{title:n,type:l,nodes:o}=e;return(0,v.jsx)(R,{title:n,type:l,nodes:o,groupBy:a,colorBy:r,onAddNode:i,margin:[0,0,2,0]},n||t)})})},W=V},64483(e,t,n){n.d(t,{Es:()=>r,Sd:()=>o,zm:()=>l});n(98992),n(3949),n(81454),n(8872),n(25509),n(65223),n(60321),n(41927),n(11632),n(64377),n(66771),n(12516),n(68931),n(52514),n(35694),n(52774),n(49536),n(21926),n(94483),n(16215);const l=function(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]).reduce((e,t)=>{const{labels:n}=t||{};return Object.entries(n||{}).forEach(t=>{let[n,l]=t;e[n]?e[n]=Array.from(new Set([...e[n],l])):e[n]=[l]}),e},{})},o=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object.keys(e).map(e=>({label:`label:${e}`,value:`label:${e}`}))},r=function(){let e=arguments.length>1?arguments[1]:void 0;return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]).reduce((t,n)=>{const{labels:l}=n||{},o=l[e]||"nolabel";return o&&(t[o]?t[o]=[...t[o],n]:t[o]=[n]),t},{})}},29243(e,t,n){n.d(t,{A:()=>r});var l=n(38429),o=n(74848);const r=e=>function(){let{title:t="",headerInfo:n,containerProps:r={},TitleComponent:i=l.TextBigger,...a}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(0,o.jsxs)(l.Flex,{column:!0,gap:2,alignItems:"center",justifyContent:"center",...r,children:[t&&(0,o.jsxs)(l.Flex,{gap:2,alignItems:"center",children:[(0,o.jsx)(i,{children:t}),n]}),(0,o.jsx)(e,{...a})]})}},72144(e,t,n){n.d(t,{A:()=>c});var l=n(91539),o=n(258),r=n(19186),i=n(24609),a=n(39870),s=n(7761);const c=()=>{const e=(0,i.vt)(),t=(0,r.ID)(),n=(0,s.N3)();(0,l.A)(()=>({enabled:!(!e||!t),force:!0,fetch:()=>(0,o.hn)(e,t),onReceive:e=>{let{data:t}=e;return n({...a.jf,loaded:!0,...t})},onFail:e=>n({...a.jf,loaded:!0,error:e}),pollingOptions:{pollingInterval:588e3}}),[e,t])}},17219(e,t,n){n.d(t,{A:()=>d});var l=n(96540),o=n(30569),r=n(91539),i=n(1705),a=n(6196),s=n(65448),c=n(54264);const d=function(e,t){let{polling:n=!0}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const d=(0,o.yF)((0,l.useCallback)(function(n,l){let{data:o=[]}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};l((0,a.xz)({spaceId:e,roomId:t}),e=>({...e,loaded:!0,value:o,updatedAt:(new Date).toISOString(),error:null}))},[e,t])),h=(0,o.yF)((0,l.useCallback)((n,l,o)=>{l((0,a.xz)({spaceId:e,roomId:t}),e=>({...e,loaded:!0,error:(0,s.A)(o)}))},[]));(0,r.A)(()=>({enabled:!!e&&!!t,polling:n,pollingOptions:{checkPauseCondition:c.$},fetch:()=>(0,i.qM)(e,t),onFail:h,onReceive:d,force:!0}),[e,t])}},85354(e,t,n){n.d(t,{A:()=>a});var l=n(96540),o=n(30569),r=n(19186),i=n(258);const a=(e,t)=>{const n=(0,o.yF)((0,l.useCallback)(async(n,l)=>{await n((0,r.LS)({id:t,key:"fullyLoaded"}))||(0,i.K8)(e,t).then(t=>{let{data:n}=t;return l((0,r.If)(n.id),{...n,spaceId:e,fullyLoaded:!0,loaded:!0})})},[e,t]));(0,l.useEffect)(()=>{e&&t&&n()},[e,t])}},23933(e,t,n){n.d(t,{A:()=>u});n(98992),n(81454),n(8872);var l=n(96540),o=n(30569),r=n(91539),i=n(1705),a=n(6196),s=n(2626),c=n(41716),d=n(65448),h=n(54264);const u=function(e,t){let{polling:n=!0}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const u=(0,o.yF)((0,l.useCallback)(function(e,n){let{data:l=[]}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};n((0,c.t)({id:t,key:"ids"}),l.map(e=>e.id)),n((0,c.t)({id:t,key:"loaded"}),!0),n((0,c.t)({id:t,key:"updatedAt"}),(new Date).toISOString()),n((0,c.t)({id:t,key:"error"}),null),n(a.Ay,e=>l.reduce((e,t)=>(e[t.id]={...e[t.id],loaded:!0,...t},e),e));const o=l.reduce((e,t)=>{let{id:n,nodeId:l}=t;return e[l]=[...e[l]||[],n],e},{});n(s.l3,o)},[e,t])),p=(0,o.yF)((0,l.useCallback)((e,n,l)=>{n((0,c.t)({id:t,key:"error"}),(0,d.A)(l))},[]));(0,r.A)(()=>({enabled:!!e&&!!t,polling:n,pollingOptions:{checkPauseCondition:h.$},fetch:()=>(0,i.l1)(e,t),onFail:p,onReceive:u,force:!0}),[e,t])}},65380(e,t,n){n.d(t,{A:()=>s});var l=n(96540),o=n(77611),r=n(14512),i=n(24200),a=n(42790);const s=()=>{const e=(0,r.g)(),t=(0,o.Ip)({nodeIds:e,flavour:"rhs"}),[n,s]=(0,i.yD)(),{after:c,before:d}=(0,a.rW)();(0,l.useEffect)(()=>{t()},[n,s,c,d])}}}]);