"use strict";(self.webpackChunkunifiNetworkUi=self.webpackChunkunifiNetworkUi||[]).push([[3337],{431253:(e,t,i)=>{i.d(t,{A:()=>E});var n=i(350312),o=i(793336),a=i(296540),l=i(71479),r=i(822336),s=i(566723),c=i(705426);const h=(0,l.A)(c.A,{shouldForwardProp:e=>"originalSize"!==e})`
  ${({originalSize:e})=>e?"":"width: 500px;"}
  padding: 24px;
`,m=(0,l.A)("header",{shouldForwardProp:e=>"onRequestClose"!==e})`
  position: relative;
  text-align: center;
`,p=(0,l.A)("div")`
  font-size: ${({theme:{fontSizes:e}})=>e[3]}px;
  font-weight: ${r.Ay["desktop-font-weight-semibold"]};
  margin-bottom: ${({theme:{space:e}})=>e[4]}px;
`,u=(0,l.A)("div")`
  width: 345px;
  line-height: 18px;
  margin: 0 auto ${({theme:{space:e}})=>e[5]}px;
`,A=(0,l.A)(n.A)`
  position: absolute;
  top: 0;
  left: 0;
  cursor: pointer;
  color: ${({theme:{colors:{subtleText:e}}})=>e};
  width: 16px;
  height: 16px;
`,d=(0,l.A)(o.A)`
  position: absolute;
  top: 0;
  right: 0;
  cursor: pointer;
  color: ${({theme:{colors:{subtleText:e}}})=>e};
`,g=(0,l.A)("div")`
  max-height: 340px;
  overflow: auto;
`,C=(0,l.A)("div")`
  text-align: center;
  width: 100%;
  min-height: ${s.ZH};
  line-height: 18px;
  margin: 0 auto 8px;
`,E=({headerBackButtonAction:e,headerTitle:t,headerSubTitle:i,onClose:n,actions:o,children:l,originalSize:r=!1,...s})=>{const c=a.createElement(m,null,!!e&&a.createElement(A,{actionable:!0,onClick:e}),a.createElement(p,null,t),a.createElement(d,{actionable:!0,onClick:n}),!!i&&a.createElement(u,null,i));return a.createElement(h,{onRequestClose:n,originalSize:r,size:"small",header:c,actions:o,...s},a.createElement(g,null,a.createElement(C,null,l)))}},713337:(e,t,i)=>{i.r(t),i.d(t,{default:()=>p});var n=i(296540),o=i(469733),a=i(823858),l=i(71479),r=i(459449),s=i(126457),c=i(574137),h=i(431253);const m=(0,l.A)(a.A)`
  color: ${c.PA.warning};
  margin-right: ${({theme:{space:e}})=>e[2]}px;
  margin-bottom: ${({theme:{space:e}})=>e[2]}px;
`,p=()=>{const e=(0,o.useDispatch)(),t=(0,n.useCallback)(()=>{e((0,s.AS)())},[e]),i=[{text:n.createElement(r.sA,{id:"COMMON_ACTION_CLOSE"}),onClick:t,variant:"primary"}];return n.createElement(h.A,{onClose:t,actions:i,headerTitle:n.createElement(n.Fragment,null,n.createElement(m,{size:"navigation"}),n.createElement(r.sA,{id:"LTE_ACTIONS_SUBSCRIPTION_CHECK_UNAVAILABLE"})),headerSubTitle:n.createElement(r.sA,{id:"LTE_ACTIONS_SUBSCRIPTION_CHECK_UNAVAILABLE_TOOLTIP"}),originalSize:!0})}}}]);