"use strict";(self.webpackChunkunifiNetworkUi=self.webpackChunkunifiNetworkUi||[]).push([[12694],{141979:(e,t,l)=>{l.d(t,{A:()=>i});var a=l(296540),n=l(629318);const i=(0,l(51946).w)(e=>(0,a.createElement)("svg",(0,n.d)({viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em"},e),(0,a.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"m15.656 7.172.707-.707a1 1 0 0 0 0-1.414L14.95 3.637a1 1 0 0 0-1.414 0l-.707.707 2.828 2.828ZM7.19 15.64l7.76-7.76-2.828-2.83-7.76 7.761a1 1 0 0 0-.293.694l-.018 1.432a1 1 0 0 0 1.013 1.013l1.432-.018a1 1 0 0 0 .694-.293Z",fill:"currentColor",className:e.twotonedclassname}),(0,a.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"m4.068 13.506-.018 1.432a1 1 0 0 0 1.013 1.012l1.432-.018a1 1 0 0 0 .694-.292l9.174-9.175a1 1 0 0 0 0-1.414L14.95 3.637a1 1 0 0 0-1.414 0L4.361 12.81a1 1 0 0 0-.293.695Zm.982 1.444.018-1.432 7.76-7.76 1.415 1.414-7.761 7.76-1.432.018Zm9.9-8.485.706-.707-1.414-1.414-.706.706 1.414 1.415Z",fill:"currentColor",className:e.baseclassname}),(0,a.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"m15.656 7.172.707-.707a1 1 0 0 0 0-1.414L14.95 3.637a1 1 0 0 0-1.414 0l-.707.707 2.828 2.828ZM7.19 15.64l7.76-7.76-2.828-2.83-7.76 7.761a1 1 0 0 0-.293.694l-.018 1.432a1 1 0 0 0 1.013 1.013l1.432-.018a1 1 0 0 0 .694-.293Z",fill:"currentColor",className:e.fillclassname})))},532305:(e,t,l)=>{l.d(t,{A:()=>M});var a=l(469733),n=l(296540),i=l(217439),r=l(705145),o=l(566723),s=l(71479);const c=(0,s.A)("div")`
  background: ${({theme:{motifPalette:{info:e}}})=>e};
  margin-right: ${({theme:{spacing:e}})=>e["spacing-s"]};
  border-radius: 50%;
  width: 16px;
  height: 16px;
  color: ${({theme:{motifPalette:{white:e}}})=>e};
  text-align: center;
  font-size: ${({theme:e})=>e.fontSize["font-size-xs"]};
  position: relative;

  &::after {
    content: 'i';
    position: absolute;
    display: block;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
  }
`,d=()=>n.createElement(c,null);var m=l(294303),E=l(190515),u=l(699784),h=l(198494),C=l(415246),A=l(789768),g=l(822336),p=l(404925),f=l(255114),v=l(141979),T=l(629318);const I=(0,l(51946).w)(e=>(0,n.createElement)("svg",(0,T.d)({viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em"},e),(0,n.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.5 5a.5.5 0 0 0 0 1h10a.5.5 0 0 0 0-1h-10Zm0 4.5a.5.5 0 0 0 0 1h10a.5.5 0 0 0 0-1h-10Zm-.5 5a.5.5 0 0 1 .5-.5h10a.5.5 0 0 1 0 1h-10a.5.5 0 0 1-.5-.5Zm-2.5-5a.5.5 0 0 0 0 1h1a.5.5 0 0 0 0-1h-1Zm-.5-4a.5.5 0 0 1 .5-.5h1a.5.5 0 0 1 0 1h-1a.5.5 0 0 1-.5-.5Zm.5 8.5a.5.5 0 0 0 0 1h1a.5.5 0 0 0 0-1h-1Z",fill:"currentColor",className:e.baseclassname}),(0,n.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.75 4.5a.75.75 0 0 0 0 1.5h9.5a.75.75 0 0 0 0-1.5h-9.5Zm0 4.8a.75.75 0 0 0 0 1.5h9.5a.75.75 0 0 0 0-1.5h-9.5ZM6 14.85a.75.75 0 0 1 .75-.75h9.5a.75.75 0 0 1 0 1.5h-9.5a.75.75 0 0 1-.75-.75ZM3.75 9.3a.75.75 0 0 0 0 1.5h.5a.75.75 0 0 0 0-1.5h-.5ZM3 5.25a.75.75 0 0 1 .75-.75h.5a.75.75 0 0 1 0 1.5h-.5A.75.75 0 0 1 3 5.25Zm.75 8.85a.75.75 0 0 0 0 1.5h.5a.75.75 0 0 0 0-1.5h-.5Z",fill:"currentColor",className:e.fillclassname})));var S=l(424226),N=l(998837),w=l(311785),x=l(825032);const R=(0,s.A)("div",(0,w.A)("hasBackground"))`
  border-radius: ${o.kc};
  border: 1px dashed
    ${({theme:{motifPalette:{uBlue03:e}}})=>e};
  padding: ${o.kc} ${o.xO};
  display: flex;
  justify-content: center;
  align-self: stretch;
  background: ${({theme:e,hasBackground:t})=>t?e.themeName===x.S.DARK?g.Ay["desktop-color-ublue-01-dark"]:"#F7FBFF":"transparent"};
`,b=({children:e})=>{const{motifPalette:{uBlue03:t,neutral00:l,yellow06:a},themeName:i}=(0,N.u)(),r=t,s=i===x.S.DARK?g.Ay["desktop-color-ublue-01-dark"]:"#F7FBFF",c=l;return n.createElement("div",{style:{borderRadius:o.kc,border:`1px dashed ${c}`,background:[`linear-gradient(${c} 0 0) padding-box`,`linear-gradient(to bottom, ${a}, ${r} 40%, ${r}) border-box`].join(", ")}},n.createElement("div",{style:{border:`1px dashed ${c}`,borderRadius:o.kc,background:s}},e))},_=({text:e,icon:t})=>n.createElement(m.A,{padding:"2px 6px",gap:o.YC,background:(0,N.u)().motifPalette.neutral00,borderRadius:o.kc,height:o.S2,justifyContent:"space-between"},n.createElement(i.A,{size:"medium",color:"text-3"},e),t),O=()=>{const{motifPalette:{uBlue03:e}}=(0,N.u)();return n.createElement(m.A,null,n.createElement(m.A,{alignItems:"center"},n.createElement(R,null,n.createElement(m.A,{flexDirection:"column",gap:o.kc},n.createElement(m.A,null,n.createElement(_,{text:n.createElement(u.sA,{id:"SETTINGS_OBJECT_MANAGER"})})),n.createElement(m.A,{alignItems:"center"},n.createElement(m.A,{flexDirection:"column",gap:o.YC},n.createElement(_,{text:n.createElement(u.sA,{id:"SETTINGS_SECURE"}),icon:n.createElement(v.A,{size:"original",color:e})}),n.createElement(_,{text:n.createElement(u.sA,{id:"COMMON_ROUTE"}),icon:n.createElement(v.A,{size:"original",color:e})}),n.createElement(_,{text:n.createElement(u.sA,{id:"COMMON_QOS"}),icon:n.createElement(v.A,{size:"original",color:e})}),n.createElement(_,{text:n.createElement(u.sA,{id:"COMMON_SCHEDULE"}),icon:n.createElement(v.A,{size:"original",color:e})})),n.createElement("svg",{width:"48",height:"86",viewBox:"0 0 48 86",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.createElement("path",{d:"M0.5 1.25H19.6544C21.8635 1.25 23.6544 3.04086 23.6544 5.25V32.25C23.6544 34.4591 25.4452 36.25 27.6544 36.25H47.5",stroke:"#99C5FF",strokeDasharray:"2 2"}),n.createElement("path",{d:"M0.5 29.25H14.7148C16.9239 29.25 18.7148 31.0409 18.7148 33.25V37.25C18.7148 39.4591 20.5056 41.25 22.7148 41.25H47.5",stroke:"#99C5FF",strokeDasharray:"2 2"}),n.createElement("path",{d:"M0.5 58.25H14.8642C17.0734 58.25 18.8642 56.4591 18.8642 54.25V52.25C18.8642 50.0409 20.6551 48.25 22.8642 48.25H47.5",stroke:"#99C5FF",strokeDasharray:"2 2"}),n.createElement("path",{d:"M0.5 85.25H21.0894C23.2985 85.25 25.0894 83.4591 25.0894 81.25V58.25C25.0894 56.0409 26.8803 54.25 29.0894 54.25H47.5",stroke:"#99C5FF",strokeDasharray:"2 2"})),n.createElement(b,null,n.createElement(m.A,{flexDirection:"column",alignItems:"center",minWidth:100,position:"relative",padding:o.YC},n.createElement(m.A,{position:"absolute",top:-50,flexDirection:"column",alignItems:"center"},n.createElement("svg",{width:"105",height:"53",viewBox:"0 0 105 53",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.createElement("path",{d:"M45.1071 15.0195L0.525879 52.6691H104.299L61.0599 15.0195H45.1071Z",fill:"url(#paint0_linear_0_1)"}),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M53.8306 19.6524V20.8434C53.8306 21.1722 53.5672 21.439 53.2427 21.439C52.9181 21.439 52.6547 21.1722 52.6547 20.8434V19.6524C52.6547 19.3237 52.9181 19.0569 53.2427 19.0569C53.5672 19.0569 53.8306 19.3237 53.8306 19.6524ZM48.779 18.2251L48.0229 19.1374C47.8148 19.3887 47.4432 19.4221 47.1951 19.2113C46.9458 19.0005 46.9129 18.6253 47.1222 18.3728L47.8783 17.4604C48.0864 17.2079 48.4568 17.1746 48.7061 17.3866C48.9554 17.5974 48.9883 17.9726 48.779 18.2251ZM59.361 18.37L58.6049 17.4577C58.3956 17.2052 58.0252 17.173 57.7771 17.3839C57.5278 17.5959 57.496 17.971 57.7042 18.2224L58.4603 19.1347C58.6696 19.3872 59.04 19.4194 59.2881 19.2086C59.5374 18.9977 59.5703 18.6214 59.361 18.37ZM53.0039 17.861C53.0838 17.8646 53.1626 17.8658 53.2414 17.8658C56.4881 17.8658 59.1209 15.2002 59.1209 11.9105C59.1209 10.3836 58.5541 8.99245 57.6204 7.93837C57.4476 7.74304 57.357 7.48696 57.357 7.22374V4.76421C57.357 4.65583 57.35 4.54863 57.3359 4.44382C57.1818 3.28016 56.1976 2.38211 55.0053 2.38211H51.4776C50.2852 2.38211 49.301 3.27897 49.147 4.44382C49.1328 4.54863 49.1258 4.65583 49.1258 4.76421V7.22969C49.1258 7.49887 49.0235 7.75376 48.8471 7.95505C47.8664 9.06987 47.2949 10.5611 47.3678 12.1892C47.5054 15.2538 49.9771 17.7407 53.0039 17.861ZM50.4593 4.16869C50.6627 3.81375 51.0437 3.57316 51.4776 3.57316H55.0053C55.4392 3.57316 55.8201 3.81375 56.0236 4.16869H50.4593ZM50.3017 5.35974H56.1811V6.55079H50.3017V5.35974ZM56.2388 7.74185C56.3223 8.11107 56.4951 8.45172 56.7456 8.734C57.5193 9.60704 57.945 10.735 57.945 11.9105C57.945 14.538 55.8354 16.6748 53.2414 16.6748C53.1779 16.6748 53.1132 16.6736 53.0497 16.6712C50.6333 16.5747 48.6531 14.5821 48.5425 12.1345C48.4861 10.8815 48.9071 9.6785 49.7255 8.7471C49.9807 8.45648 50.1582 8.10988 50.2429 7.74185H52.6535V10.124C52.6535 10.4527 52.9169 10.7195 53.2414 10.7195C53.4037 10.7195 53.5507 10.6528 53.6577 10.5456C53.7635 10.4372 53.8294 10.2883 53.8294 10.124V7.74185H56.2388Z",fill:"#FFDB1A"}),n.createElement("path",{d:"M48.7 7.40098C48.8889 7.14917 49.1852 7.00098 49.5 7.00098H57C57.3148 7.00098 57.6111 7.14917 57.8 7.40098L62.3 13.401C62.7944 14.0602 62.324 15.001 61.5 15.001H45C44.176 15.001 43.7056 14.0602 44.2 13.401L48.7 7.40098Z",fill:"#FFDB1A"}),n.createElement("defs",null,n.createElement("linearGradient",{id:"paint0_linear_0_1",x1:"52.4126",y1:"23.9961",x2:"52.4126",y2:"52.6691",gradientUnits:"userSpaceOnUse"},n.createElement("stop",{stopColor:"#FFDB1A",stopOpacity:"0.2"}),n.createElement("stop",{offset:"1",stopColor:"#FFDB1A",stopOpacity:"0"}))))),n.createElement(S.A,{size:"large",variant:"fill",color:e}),n.createElement(i.A,{size:"medium",color:"text-3"},n.createElement(u.sA,{id:"COMMON_DEVICES"}))))))),n.createElement("svg",{width:"56",height:"6",viewBox:"0 0 56 6",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.createElement("path",{d:"M56 3L51 0.113249V5.88675L56 3ZM0 3.5H51.5V2.5H0V3.5Z",fill:"#99C5FF"})),n.createElement(m.A,{flexDirection:"column",gap:o.kc,alignItems:"center"},n.createElement(_,{text:n.createElement(u.sA,{id:"SETTINGS_POLICY_TABLE"})}),n.createElement(m.A,{alignItems:"center"},n.createElement(R,{hasBackground:!0},n.createElement(m.A,{flexDirection:"column",alignItems:"center",width:110},n.createElement(p.A,{size:"original",variant:"fill",color:e}),n.createElement(r.A,{color:"text-3",size:"medium",isCentered:!0},n.createElement(u.sA,{id:"SETTINGS_AUTOMAGIC_RULE_CREATION"})))),n.createElement("svg",{width:"52",height:"6",viewBox:"0 0 52 6",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.createElement("path",{d:"M52 3L47 0.113249V5.88675L52 3ZM0 3.5H47.5V2.5H0V3.5Z",fill:"#99C5FF"})),n.createElement(R,{hasBackground:!0},n.createElement(m.A,{flexDirection:"column",alignItems:"center",width:110},n.createElement(I,{size:"original",variant:"fill",color:e}),n.createElement(r.A,{color:"text-3",size:"medium",isCentered:!0},n.createElement(u.sA,{id:"SETTINGS_ROUTING_TABLE"})))),n.createElement("svg",{width:"52",height:"6",viewBox:"0 0 52 6",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.createElement("path",{d:"M0 3L5 0.113249V5.88675L0 3ZM52 3.5H4.5V2.5H52V3.5Z",fill:"#99C5FF"})),n.createElement(R,{hasBackground:!0},n.createElement(m.A,{flexDirection:"column",alignItems:"center",width:110},n.createElement(f.A,{size:"original",variant:"fill",color:e}),n.createElement(r.A,{color:"text-3",size:"medium",isCentered:!0},n.createElement(u.sA,{id:"SETTINGS_ZONES"}))))),n.createElement(m.A,{height:24}))))},M=()=>{const e=(0,a.useDispatch)(),t=(0,a.useSelector)(h.G8),l=(0,n.useCallback)(()=>{e((0,A.i4)({[C.Lv.OBJECTS_DIAGRAM_EXPANDED]:!t}))},[e,t]);return n.createElement(E.A,{isExpandedByDefault:t,onToggleClick:l,collapsedContent:n.createElement(m.A,{flexDirection:"column"},n.createElement(r.A,{variant:"heading-medium"},n.createElement(u.sA,{id:"SETTINGS_OBJECT_MANAGER_INFO_TITLE"})),n.createElement(r.A,{variant:"body-secondary"},n.createElement(u.sA,{id:"SETTINGS_OBJECT_MANAGER_INFO_DESCRIPTION"}))),expandedContent:n.createElement(m.A,{flexDirection:"column",gap:o.kc},n.createElement(m.A,{flexDirection:"column"},n.createElement(i.A,{variant:"heading-medium"},n.createElement(u.sA,{id:"SETTINGS_OBJECT_MANAGER_INFO_TITLE"})),n.createElement(i.A,{variant:"body-secondary"},n.createElement(u.sA,{id:"SETTINGS_OBJECT_MANAGER_INFO_DESCRIPTION"}))),n.createElement(O,null),n.createElement(m.A,{alignItems:"center"},n.createElement(d,null),n.createElement(i.A,{color:"text-2",size:"medium"},n.createElement(u.sA,{id:"SETTINGS_OBJECT_MANAGER_INFO_WARNING"}))))})}},611717:(e,t,l)=>{var a,n,i,r;l.d(t,{c_:()=>r,fP:()=>n,ku:()=>i,zb:()=>a}),function(e){e.CLIENTS="CLIENTS",e.NETWORKS="NETWORKS",e.USERS="USERS",e.GROUPS="GROUPS"}(a||(a={})),function(e){e.DISABLED="DISABLED",e.SHORT="SHORT",e.LONG="LONG"}(n||(n={})),function(e){e.LIMIT="LIMIT",e.PRIORITIZE="PRIORITIZE",e.LIMIT_AND_PRIORITIZE="LIMIT_AND_PRIORITIZE"}(i||(i={})),function(e){e.ALLOWLIST="ALLOWLIST",e.BLOCKLIST="BLOCKLIST",e.TURN_OFF_INTERNET="TURN_OFF_INTERNET",e.QUARANTINE="QUARANTINE"}(r||(r={}))},698131:(e,t,l)=>{l.d(t,{A:()=>N});var a=l(296540),n=l(305933),i=l(270291);const r=(0,a.createContext)(null);var o=l(969229),s=l(672166),c=l(881663);function d(e,t,l){const{isSelected:a}=t,{isPressed:n,buttonProps:i}=(0,o.s)({...e,onPress:(0,s.c)(t.toggle,e.onPress)},l);return{isPressed:n,isSelected:a,isDisabled:e.isDisabled||!1,buttonProps:(0,c.v)(i,{"aria-pressed":a})}}function m(e,t,l){let a={isSelected:t.selectedKeys.has(e.id),defaultSelected:!1,setSelected(l){t.setSelected(e.id,l)},toggle(){t.toggleKey(e.id)}},{isPressed:n,isSelected:i,isDisabled:r,buttonProps:o}=d({...e,id:void 0,isDisabled:e.isDisabled||t.isDisabled},a,l);return"single"===t.selectionMode&&(o.role="radio",o["aria-checked"]=a.isSelected,delete o["aria-pressed"]),{isPressed:n,isSelected:i,isDisabled:r,buttonProps:o}}var E=l(316133),u=l(916638),h=l(605987),C=l(51623);const A=(0,a.createContext)({}),g=(0,a.forwardRef)(function(e,t){[e,t]=(0,n.JT)(e,t,A);let l=(0,a.useContext)(r),o=(0,C.H)(l&&null!=e.id?{isSelected:l.selectedKeys.has(e.id),onChange(t){l.setSelected(e.id,t)}}:e),{buttonProps:s,isPressed:g,isSelected:p,isDisabled:f}=l&&null!=e.id?m({...e,id:e.id},l,t):d({...e,id:null!=e.id?String(e.id):void 0},o,t),{focusProps:v,isFocused:T,isFocusVisible:I}=(0,E.o)(e),{hoverProps:S,isHovered:N}=(0,u.M)(e),w=(0,n.Sl)({...e,id:void 0,values:{isHovered:N,isPressed:g,isFocused:T,isSelected:o.isSelected,isFocusVisible:I,isDisabled:f,state:o},defaultClassName:"react-aria-ToggleButton"}),x=(0,h.$)(e,{global:!0});return delete x.id,delete x.onClick,a.createElement("button",{...(0,c.v)(x,w,s,v,S),ref:t,slot:e.slot||void 0,"data-focused":T||void 0,"data-disabled":f||void 0,"data-pressed":g||void 0,"data-selected":p||void 0,"data-hovered":N||void 0,"data-focus-visible":I||void 0},a.createElement(i.r.Provider,{value:{isSelected:p}},w.children))});var p=l(599567),f=l(474809),v=l(722860),T=l(325898),I=l(343192);const S=(0,v.c)(p.A),N=a.forwardRef((e,t)=>{const{className:l,motif:n,size:i="medium",shape:r="default",width:o="auto",variant:s="secondary",borderColor:c=f.yw[`${s}-neutral`],textColor:d=f.Vq[`${s}-neutral`],"data-testid":m,children:E,...u}=e,{motif:h}=(0,T.A)(n);return a.createElement(g,{ref:t,"data-uic-component":"ToggleButton","data-testid":m,className:S.concat(l)("button","toggleButton",`button-${h}`,`width-${o}`,`size-${i}`,`shape-${r}`,`fillColor-tgl-${s}`,`textColor-${d}`,`borderColor-${c}`),...u},e=>(0,I.A)(E,e))});N.displayName="ToggleButton"}}]);