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