"use strict";(self.webpackChunkunifiNetworkUi=self.webpackChunkunifiNetworkUi||[]).push([[82824],{595778(e,t,i){i.d(t,{I:()=>l,U:()=>r});var o=i(751271);const l=(0,i(419284).Wj)(o.Ay["blue-0"]),r=100},446863(e,t,i){i.d(t,{H5:()=>a,Lq:()=>n,n0:()=>s});var o=i(909924),l=i(573534),r=i(172205);const s=e=>e[r.U.SHARED][l.N.PROPERTY_PANEL]?.[o.Io.TAB_GET_DATA_FUNCTION]||{},n=e=>e[r.U.SHARED][l.N.PROPERTY_PANEL]?.[o.Io.TAB_SUBMIT_FUNCTION]||{},a=e=>e[r.U.SHARED][l.N.PROPERTY_PANEL]?.[o.Io.TAB_RESET_FUNCTION]||{}},637084(e,t,i){i.d(t,{A:()=>O});var o=i(274934),l=i(602086),r=i(843871),s=i(977872),n=i(418398),a=i(396489),d=i.n(a),c=i(205521),m=i(232410),u=i(933671),p=i(260288),x=i(619619),A=i(702147),_=i(507792),v=i(621309);const j=(0,r.bk)({enableReinitialize:!0,mapPropsToValues:({powerSupervisor:e,device:t})=>({powerSupervisor:(0,x.f)(e,(0,_.lD)(t,e))}),handleSubmit:(e,{resetForm:t})=>t({values:e}),validationSchema:A.Ay}),O=(0,n.Zz)((0,s.Ng)((e,{device:{mac:t}})=>({powerSupervisor:(0,m.x0)(t)(e)})))(j(({powerSupervisor:e,device:t,setFormDirty:i,setFormInvalid:r,validateForm:n,values:a,resetForm:m,initialValues:x,dirty:A,isValid:_,formName:j=p.r8})=>{const O=(0,s.wA)();return(0,l.useEffect)(()=>(O((0,c.uo)({[j]:()=>({})})),O((0,c.Oo)({[j]:()=>{d()(a,x)||n().then(t=>{Object.keys(t).length||O((0,v.A)(e?.id,a.powerSupervisor))})}})),O((0,c.rW)({[j]:m})),()=>{O((0,c.uo)({[j]:null})),O((0,c.Oo)({[j]:null})),O((0,c.rW)({[j]:null}))}),[O,m,a.powerSupervisor,j,n,e?.id,a,x]),(0,l.useEffect)(()=>{i?.(j,A),r?.(j,!_)},[i,A,r,_,j]),(0,o.jsx)(u.A,{device:t})}))},377764(e,t,i){i.d(t,{A:()=>I,R:()=>h});var o=i(274934),l=i(418398),r=i(977872),s=i(602086),n=i(843871),a=i(179102),d=i(421819),c=i(221835),m=i(513197),u=i(419284),p=i(586566),x=i(309130),A=i(100978),_=i(205521),v=i(470070),j=i(291935),O=i(857780),E=i(595778);const h="led",g=(0,n.bk)({enableReinitialize:!0,mapPropsToValues:({activeItem:{led_override:e,led_override_color:t=E.I,led_override_color_brightness:i=E.U}={},mgmtSettings:o})=>({led_override:e||(!1===o.led_enabled?O.c_.OFF:O.c_.ON),led_override_color:t,led_override_color_brightness:i}),handleSubmit:(e,{resetForm:t})=>{t({values:e})}}),b=e=>(0,o.jsxs)("span",{children:[e,"%"]}),I=(0,l.Zz)((0,r.Ng)(e=>({mgmtSettings:(0,j.$5)(e)})))(g(({activeItem:e,setFormDirty:t,setFormInvalid:i,dirty:l,isValid:n,values:j,resetForm:g,setFieldValue:I,formName:T=h,mgmtSettings:{led_enabled:S}})=>{const f=(0,r.wA)(),C=(0,p.lp)(e),N=(S&&e.led_override!==O.c_.OFF||e.led_override===O.c_.ON)&&C;(0,s.useEffect)(()=>(f((0,_.uo)({[T]:()=>j})),f((0,_.Oo)({[T]:()=>g({values:j})})),f((0,_.rW)({[T]:g})),()=>{f((0,_.uo)({[T]:null})),f((0,_.Oo)({[T]:null})),f((0,_.rW)({[T]:null}))}),[f,g,j,T]),(0,s.useEffect)(()=>{t(T,l),i(T,!n)},[t,i,l,n,T]);const y=(0,s.useCallback)(e=>{I("led_override_color",(0,u.E6)(e.toString())||E.I)},[I]);return(0,o.jsxs)(A.A,{gap:x.Ln,flexDirection:"column",children:[(0,o.jsx)(A.A,{width:"100%",justifyContent:"space-between",children:(0,o.jsx)(c.A,{id:"led_override",checked:O.c_.ON===j.led_override,onChange:()=>{I("led_override",j.led_override===O.c_.ON?O.c_.OFF:O.c_.ON)},children:(0,o.jsx)(a.A,{size:"medium",color:"text-2",children:(0,o.jsx)(v.sA,{id:"COMMON_LED"})})})}),N?(0,o.jsxs)(A.A,{flexDirection:"column",gap:12,children:[(0,o.jsx)(a.A,{size:"medium",children:(0,o.jsx)(v.sA,{id:"COMMON_BRIGHTNESS"})}),(0,o.jsx)(d.A,{size:"large",value:+j.led_override_color_brightness||100,withValueIndicator:!0,valueIndicatorPosition:"right",formatValueIndicatorContent:b,onChange:({target:{value:e}})=>{I("led_override_color_brightness",e)}}),(0,o.jsx)(a.A,{size:"medium",color:"text-1",weight:"bold",children:(0,o.jsx)(v.sA,{id:"COMMON_COLOR"})}),(0,o.jsx)(m.A,{value:j?.led_override_color||E.I,onChange:y,sliders:[{id:"hue",channel:"hue"}],colorSpace:"hex",children:(0,o.jsx)("span",{children:(0,o.jsx)(v.sA,{id:"DEVICE_PROPERTIES_LABEL_HEX"})})})]}):null]})}))},713053(e,t,i){i.d(t,{Ay:()=>b,Jv:()=>g,RH:()=>h,cs:()=>O});var o=i(274934),l=i(602086),r=i(505817),s=i(179102),n=i(164714),a=i(882316),d=i(711950),c=i(98526),m=i(247816),u=i(263705),p=i(306212),x=i(309130),A=i(100978),_=i(470070),v=i(956978),j=i(291508);const O=(0,m.A)("div",(0,j.A)("noTopBorder"))`
  display: grid;
  grid-template-columns: repeat(3, minmax(min-content, 1fr));
  grid-gap: ${x.YC};
  margin-top: ${x.Ln};
  ${({noTopBorder:e,theme:{themeName:t}})=>e?"":`\n  padding-top: ${x.Ln};\n  border-top: ${r.Ay[`desktop-border-divider-${t}`]};\n  `}
`,E=(0,m.A)(A.A)`
  color: ${({theme:{motifPalette:{text02:e}}})=>e};

  > span {
    white-space: nowrap;
  }
`,h=(0,m.A)(p.A,(0,j.A)("background","borderColor"))`
  background-color: ${e=>e.background};
  border-radius: 1px;
  border: ${({borderColor:e})=>e&&`1px solid ${e}`};
`,g=({label:e,icon:t})=>(0,o.jsxs)(E,{alignItems:"center",gap:x.YC,children:[(0,o.jsx)(A.A,{width:16,justifyContent:"center",children:t}),(0,o.jsx)(s.A,{size:"small",color:"text-3",children:e})]}),b=(0,l.memo)(({activeItem:e,noTopBorder:t})=>{const i=(0,v.Tl7)(e),l=(0,v.kYz)(e),s=(0,v.aR8)(e),m=(0,v.FeX)(e),{themeName:p,motifPalette:{lime06:x}}=(0,u.u)();return(0,o.jsxs)(O,{noTopBorder:t,children:[(0,o.jsx)(g,{icon:(0,o.jsx)(h,{status:"positive"}),label:(0,o.jsx)(_.sA,{id:"COMMON_ENABLED"})}),(0,o.jsx)(g,{icon:(0,o.jsx)(h,{borderColor:r.Ay[`desktop-color-neutral-04-${p}`],background:"transparent"}),label:(0,o.jsx)(_.sA,{id:"COMMON_DISABLED"})}),i||l||s||m?(0,o.jsx)(g,{icon:(0,o.jsx)(h,{background:r.Ay[`desktop-color-neutral-07-${p}`]}),label:(0,o.jsx)(_.sA,{id:"COMMON_DISCONNECTED"})}):null,l?(0,o.jsx)(g,{icon:(0,o.jsx)(h,{background:r.Ay[`desktop-color-neutral-03-${p}`]}),label:(0,o.jsx)(_.sA,{id:"DEVICE_OUTLET_STATE_NO_STATUS"})}):null,i||l?(0,o.jsx)(g,{icon:(0,o.jsx)(h,{background:x}),label:(0,o.jsx)(_.sA,{id:"DEVICE_PORT_STATE_MBPS",values:{speed:"100/10"}})}):null,s||m?(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(g,{icon:(0,o.jsx)(a.A,{size:"small",color:r.Ay[`desktop-color-neutral-08-${p}`]}),label:(0,o.jsx)(_.sA,{id:"DEVICE_OUTLET_STATE_DELIVERING"})}),(0,o.jsx)(g,{icon:(0,o.jsx)(d.A,{size:"small",color:r.Ay[`desktop-color-orange-06-${p}`]}),label:(0,o.jsx)(_.sA,{id:"DEVICE_OUTLET_STATE_WARNING"})}),(0,o.jsx)(g,{icon:(0,o.jsx)(h,{status:"destructive"}),label:(0,o.jsx)(_.sA,{id:"DEVICE_OUTLET_STATE_ERROR"})})]}):null,m?(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(g,{icon:(0,o.jsx)(n.A,{size:"small",color:r.Ay[`desktop-color-neutral-08-${p}`]}),label:(0,o.jsx)(_.sA,{id:"DEVICE_OUTLET_STATE_HIGH_PRIORITY"})}),(0,o.jsx)(g,{icon:(0,o.jsx)(c.A,{size:"small",color:r.Ay[`desktop-color-neutral-08-${p}`]}),label:(0,o.jsx)(_.sA,{id:"DEVICE_BATTERY_TYPE_EXTERNAL"})})]}):null]})})},332522(e,t,i){i.d(t,{A:()=>P});var o=i(274934),l=i(602086),r=i(492399),s=i(247816),n=i(977872),a=i(669439),d=i(586566),c=i(309130),m=i(510906),u=i(682662);const p={xlarge:{threshold:10,size:"24px",spacing:c.kc,marginSize:c.YC,iconSize:"original"},large:{threshold:12,size:"18px",spacing:"10px",marginSize:"10px",iconSize:"original"},medium:{threshold:15,size:"18px",spacing:"10px",marginSize:"3px",iconSize:"medium"},xxsmall:{threshold:34,size:"8px",spacing:"2px",marginSize:"2px",iconSize:"small"}};var x=i(100978),A=i(708861),_=i(340820),v=i(188481),j=i(163727),O=i(197571),E=i(940229),h=i(873247),g=i(461731),b=i(225889),I=i(820510),T=i(470070);const S=({battpool:{device_total_power_output:e,device_output_current:t,device_output_voltage:i,device_total_power_factor:l},outletsFrom:r,outletsTo:s,outletsType:n})=>(0,o.jsxs)(I.m,{children:[(0,o.jsxs)(I.Y,{id:"DEVICE_PROPERTIES_AC_OUTLETS",children:[r,"-",s]}),(0,o.jsx)(I.Y,{id:"DEVICE_OUTLET_PROTECTION_TYPE",children:(0,o.jsx)(T.sA,{id:n===v.s.SURGE?"DEVICE_SURGE":"DEVICE_SURGE_AND_BATTERY"})}),e?(0,o.jsx)(I.Y,{id:"COMMON_POWER",children:(0,o.jsx)(T.sA,{id:"COMMON_UNIT_WATTS_SHORT",values:{value:Number(e).toFixed(2)}})}):null,t?(0,o.jsx)(I.Y,{id:"COMMON_CURRENT",children:(0,o.jsx)(T.sA,{id:"COMMON_UNIT_AMPERES_SHORT",values:{value:Number(t).toFixed(2)}})}):null,i?(0,o.jsx)(I.Y,{id:"COMMON_VOLTAGE",children:(0,o.jsx)(T.sA,{id:"COMMON_UNIT_VOLTAGE_SHORT",values:{value:Number(i).toFixed(2)}})}):null,l?(0,o.jsx)(I.Y,{id:"DEVICE_HEADER_POWER_FACTOR",children:Number(l).toFixed(2)}):null]});var f=i(291508);const C=(0,s.A)(x.A,(0,f.A)("verticalGap"))`
  &:not(:first-child) {
    margin-top: ${({verticalGap:e})=>e};
  }
`,N=(0,s.A)("div",(0,f.A)("marginSize","cellSize"))`
  width: ${({cellSize:e})=>e};
  height: ${({cellSize:e})=>e};

  &:not(:first-child) {
    margin-left: ${({marginSize:e})=>e};
  }
`,y=({data:e,activeItem:t,size:i,iconSize:l,outletSize:r,marginSize:s,spacing:n,disableTooltip:a,disableOnPortClick:d,tooltipPlacement:c,showBatteryPowered:p,isEU:x,offline:A,networkPort:_})=>e.outletType===v.s.LAN&&_?(0,o.jsx)(m.A,{extendedPort:_,centerIcon:e.centerIcon,marginLeft:s,portSize:r,portSizeOverride:i,disableOnPortClick:Boolean(d),tooltipPlacement:c}):(0,o.jsx)(u.A,{activeItemMac:t.mac,cellData:e,marginSize:s,cellSize:i,iconSize:l,iconRotation:e.iconRotation,centerIcon:e.centerIcon,verticalGap:n,disableOnPortClick:d,isBatteryMode:t.vbms_table?.is_battery_mode,tooltipPlacement:c,disableTooltip:a,showBatteryPowered:p,isEU:x,offline:A}),z=({outletData:e,rowIndex:t,dataIndex:i,activeItem:l,size:r,marginSize:s,outletSize:n,iconSize:m,spacing:u,outlets:p,vertical:A,tooltipPlacement:_,isEU:O,offline:E})=>{const h=Array.isArray(p[e.outletType])?p[e.outletType].sort((e,t)=>e-t):[],g=e.outletType===v.s.SURGE&&l.vbms_table?.is_battery_mode,b=(0,d.sQ)(e,j.A.AUTO_RELAY)&&!g,I=_||(A?0===i?"left":"right":0===t?"top":"bottom");return(0,o.jsx)(a.A,{description:b?(0,o.jsx)(S,{battpool:l.vbms_table?.battpool||{},outletsFrom:h[0],outletsTo:h.at(-1),outletsType:e.outletType}):void 0,placement:I,offset:8,children:(0,o.jsx)(x.A,{flexDirection:A?"column":"row",alignItems:"flex-end",gap:c.YC,children:e.subOutlets?.map(a=>a?(0,o.jsx)(y,{data:e,activeItem:l,size:r,outletSize:n,iconSize:m,marginSize:e.marginLeft||s,spacing:u,disableTooltip:!0,disableOnPortClick:!0,showBatteryPowered:e.showBatteryPowered,tooltipPlacement:_,isEU:O,offline:E},`SubOutlet-${t+1}-${i+1}-${a}`):(0,o.jsx)(N,{cellSize:r,marginSize:s},`OutletSpacer-${t+1}-${i+1}-${a}`))})})},P=(0,l.memo)(({activeItem:e,disableOnPortClick:t,sizeOverride:i,tooltipPlacement:s,isEU:a=!1,offline:d})=>{const{outletsDiagram:c=[],primaryOutletGroupCount:m=0,outlets:u={}}=(0,_.j)(e.model),x=c.length?(0,A.FP)(c,e.model):(0,A.ST)(m,e.model),v=(0,r.A)(x.map(e=>e.length))||0,j=(i?p[i]:Object.values(p).find(e=>v<=e.threshold))||p.small,{size:I,spacing:T,iconSize:S=0,marginSize:f}=j,P=(0,n.d4)(h.wD),R=(0,n.d4)(O.wf),D=(0,n.d4)(g.G),w=(0,l.useMemo)(()=>(0,E.Vi)(e,P,[],[],R,!1,D,void 0),[e,P,R,D]);return(x||[]).length?(0,o.jsx)(o.Fragment,{children:x.map((i,l)=>(0,o.jsx)(C,{"align-items":"flex-end",verticalGap:T,children:i.map((i,r)=>{if(!i)return(0,o.jsx)(N,{cellSize:I,marginSize:f},`OutletSpacer-${l+1}-${r+1}-spacer`);const n={...i,...(0,A.o3)(e,void 0,i.outletNumber)||{}},c=w.find(e=>e.port_idx===n.portIdx);return n.subOutlets&&n.subOutlets.length>1?(0,o.jsx)(z,{outletData:n,rowIndex:l,dataIndex:r,activeItem:e,size:I,marginSize:n.marginLeft||f,outletSize:j,iconSize:S,spacing:T,outlets:u,vertical:n.vertical,isEU:a,offline:d},`MultiCell-${l+1}-${r+1}`):(0,o.jsx)(y,{data:n,activeItem:e,size:I,outletSize:j,iconSize:S,marginSize:n.marginLeft||f,spacing:T,tooltipPlacement:s,disableOnPortClick:t||n.nonClickable,isEU:a,showBatteryPowered:n.showBatteryPowered,offline:d,networkPort:c},`SingleCell-${l+1}-${r+1}`)})},`OutletLayoutRow-${l+1}`))}):(0,o.jsx)(b.A,{})},({activeItem:e,isEU:t,offline:i},{activeItem:o,isEU:l,offline:r})=>e.model===o.model&&e.outlet_table===o.outlet_table&&e.outlet_overrides===o.outlet_overrides&&t===l&&i===r)},773351(e,t,i){i.d(t,{A:()=>b});var o=i(274934),l=i(602086),r=i(179102),s=i(505817),n=i(711950),a=i(377067),d=i(247816),c=i(309130),m=i(100978),u=i(470070),p=i(708861),x=i(956978),A=i(434521),_=i(251323),v=i(332522),j=i(713053);const O=(0,d.A)("div")`
  display: flex;
  flex-direction: column;
`,E=(0,d.A)("div")`
  margin-top: ${c.Ln};
  padding-top: ${c.Ln};
  border-top: ${({theme:{themeName:e}})=>s.Ay[`desktop-border-divider-${e}`]};

  div:first-child {
    margin-bottom: ${c.xO};
  }
`,h=(0,d.A)(n.A)`
  color: ${({theme:{themeName:e}})=>s.Ay[`desktop-color-orange-06-${e}`]};
  height: 18px;
  width: 18px;
  margin-right: 10px;
`,g=(0,d.A)(a.A)`
  color: ${({theme:{themeName:e}})=>s.Ay[`desktop-color-green-06-${e}`]};
  height: 18px;
  width: 18px;
  margin-right: 10px;
`,b=({activeItem:e,activeItem:{outlet_table:t,outlet_ac_power_budget:i,outlet_ac_power_consumption:s,port_table:n},hidePorts:a,noDivider:d,gap:b=c.xO,legend:I,verticalLegend:T,tooltipPlacement:S="bottom end"})=>{const{usedPower:f,maxPower:C}=(0,l.useMemo)(()=>(0,p.hf)({outlet_table:t,outlet_ac_power_budget:i,outlet_ac_power_consumption:s}),[t,i,s]),N=(0,x.Tl7)(e)||(0,x.kYz)(e);return(0,o.jsxs)(O,{children:[(0,o.jsxs)(m.A,{justifyContent:"center",gap:b,alignItems:T?"center":void 0,children:[(0,o.jsx)(m.A,{flexDirection:"column",children:(0,o.jsx)(v.A,{disableOnPortClick:!0,activeItem:e,tooltipPlacement:S,isEU:(0,x.goQ)(e),offline:(0,x.aK8)((0,A.S9)(e))})}),n&&!a?(0,o.jsx)("div",{children:(0,o.jsx)(_.A,{activeItem:e,portSizeOverride:"19px",disableOnPortClick:N})}):null,T]}),T?null:I||(0,o.jsx)(j.Ay,{activeItem:e,noTopBorder:d}),f>C?(0,o.jsxs)(E,{children:[(0,o.jsxs)(m.A,{justifyContent:"space-between",children:[(0,o.jsx)(h,{}),(0,o.jsx)(r.A,{size:"small",children:(0,o.jsx)(u.sA,{id:"DEVICE_PROPERTIES_OUTLET_POWER_OVERLOAD_WARNING"})})]}),(0,o.jsxs)(m.A,{justifyContent:"space-between",children:[(0,o.jsx)(g,{}),(0,o.jsx)(r.A,{size:"small",children:(0,o.jsx)(u.sA,{id:"DEVICE_PROPERTIES_OUTLET_POWER_OVERLOAD_INFO"})})]})]}):null]})}},582824(e,t,i){i.r(t),i.d(t,{default:()=>g});var o=i(274934),l=i(418398),r=i(977872),s=i(896743),n=i(409844),a=i(478961),d=i(630849),c=i(376892),m=i(535322),u=i(446863),p=i(795206),x=i(637084),A=i(773351),_=i(115114),v=i(392184),j=i(148561),O=i(532635),E=i(377764),h=i(795928);const g=(0,l.Zz)((0,a.A)([h.UH,E.R,j.g,O.f]))(({activeItem:e,setFormDirty:t,setFormInvalid:i,isDirty:l,isInvalid:a})=>{const g=(0,r.d4)(u.n0),b=(0,r.d4)(u.Lq),I=(0,r.d4)(u.H5),T=(0,r.wA)(),S=(0,d.I)();return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(s.A,{className:n.AH`
          margin-bottom: 16px;
        `,children:(0,o.jsx)(A.A,{activeItem:e,hidePorts:!0})}),(0,o.jsx)(h.Ay,{activeItem:e,setFormDirty:t,setFormInvalid:i}),(0,o.jsx)(m.A,{type:m.I.ACCORDION,items:[{id:"outlets",openByDefault:!0,label:(0,o.jsx)(c.A,{id:"COMMON_OUTLETS"}),renderContent:()=>(0,o.jsx)(v.A,{hidePorts:!0,activeItem:e})}]}),(0,o.jsx)(m.A,{type:m.I.ACCORDION,items:[{id:E.R,openByDefault:!0,label:(0,o.jsx)(c.A,{id:"COMMON_LED"}),renderContent:()=>(0,o.jsx)(E.A,{activeItem:e,setFormDirty:t,setFormInvalid:i})}]}),(0,o.jsx)(m.A,{type:m.I.ACCORDION,items:[{id:j.g,openByDefault:!0,label:(0,o.jsx)(c.A,{id:"COMMON_IP_SETTINGS"}),renderContent:()=>(0,o.jsx)(j.A,{activeItem:e,setFormDirty:t,setFormInvalid:i})}]}),(0,o.jsx)(x.A,{device:e,setFormDirty:t,setFormInvalid:i}),(0,o.jsx)(m.A,{type:m.I.ACCORDION,items:[{id:O.f,openByDefault:!0,label:(0,o.jsx)(c.A,{id:"COMMON_ACTION_MANAGE"}),renderContent:()=>(0,o.jsx)(O.A,{activeItem:e})}]}),(0,o.jsx)(_.A,{isDirty:l,isInvalid:a,onFormSubmit:()=>{const t=Object.entries(g).reduce((e,[t,i])=>{if("function"==typeof i){const t=i();if("object"==typeof t&&t&&Object.keys(t).length)return{...e,...t}}return e},{});T((0,p.ex)(t,e._id,e.mac,{extend:!0})).then(()=>{Object.values(b).forEach(e=>{"function"==typeof e&&e()})}).catch(S)},onFormCancel:()=>{Object.values(I).forEach(e=>{"function"==typeof e&&e()})}})]})})},478961(e,t,i){i.d(t,{A:()=>r});var o=i(274934),l=i(602086);const r=function(e){return t=>i=>{const[r,s]=(0,l.useState)(Object.fromEntries(e.map(e=>[e,!1]))),[n,a]=(0,l.useState)(Object.fromEntries(e.map(e=>[e,!1]))),d=(0,l.useCallback)((e,t)=>{s(i=>({...i,[e]:t}))},[]),c=(0,l.useCallback)((e,t)=>{a(i=>({...i,[e]:t}))},[]),m=!!Object.values(r).find(e=>e),u=!!Object.values(n).find(e=>e);return(0,o.jsx)(t,{isDirty:m,isInvalid:u,formStates:r,setFormDirty:d,setFormInvalid:c,...i})}}}}]);