"use strict";(self.webpackChunkunifiNetworkUi=self.webpackChunkunifiNetworkUi||[]).push([[30338],{93298(e,i,t){t.d(i,{A:()=>S});var o=t(274934),n=t(814557),s=t(847399),r=t(856639),a=t(247816),l=t(309130),h=t(384783),c=t(291508);const x=(0,a.A)(h.A,(0,c.A)("originalSize"))`
  ${({originalSize:e})=>e?"":"width: 500px;"}
  padding: 24px;
`,A=(0,a.A)("header",(0,c.A)("onRequestClose"))`
  position: relative;
  text-align: center;
`,d=(0,a.A)("div")`
  font-size: ${({theme:{fontSizes:e}})=>e[3]}px;
  font-weight: ${n.Ay["desktop-font-weight-semibold"]};
  margin-bottom: ${({theme:{space:e}})=>e[4]}px;
`,p=(0,a.A)("div")`
  width: 345px;
  line-height: 18px;
  margin: 0 auto ${({theme:{space:e}})=>e[5]}px;
`,u=(0,a.A)(r.A)`
  position: absolute;
  top: 0;
  left: 0;
  cursor: pointer;
  color: ${({theme:{colors:{subtleText:e}}})=>e};
  width: 16px;
  height: 16px;
`,g=(0,a.A)(s.A)`
  position: absolute;
  top: 0;
  right: 0;
  cursor: pointer;
  color: ${({theme:{colors:{subtleText:e}}})=>e};
`,C=(0,a.A)("div")`
  max-height: 340px;
  overflow: auto;
`,m=(0,a.A)("div")`
  text-align: center;
  width: 100%;
  min-height: ${l.ZH};
  line-height: 18px;
  margin: 0 auto 8px;
`,S=({headerBackButtonAction:e,headerTitle:i,headerSubTitle:t,onClose:n,actions:s,children:r,originalSize:a=!1,...l})=>{const h=(0,o.jsxs)(A,{children:[e?(0,o.jsx)(u,{actionable:!0,onClick:e}):null,(0,o.jsx)(d,{children:i}),(0,o.jsx)(g,{actionable:!0,onClick:n}),t?(0,o.jsx)(p,{children:t}):null]});return(0,o.jsx)(x,{onRequestClose:n,originalSize:a,size:"small",header:h,actions:s,...l,children:(0,o.jsx)(C,{children:(0,o.jsx)(m,{children:r})})})}},830338(e,i,t){t.r(i),t.d(i,{default:()=>d});var o=t(274934),n=t(602086),s=t(977872),r=t(600191),a=t(247816),l=t(443502),h=t(869332),c=t(470070),x=t(93298);const A=(0,a.A)(r.A)`
  color: ${l.PA.warning};
  margin-right: ${({theme:{space:e}})=>e[2]}px;
  margin-bottom: ${({theme:{space:e}})=>e[2]}px;
`,d=()=>{const e=(0,s.wA)(),i=(0,n.useCallback)(()=>{e((0,h.AS)())},[e]),t=[{text:(0,o.jsx)(c.sA,{id:"COMMON_ACTION_CLOSE"}),onClick:i,variant:"primary"}];return(0,o.jsx)(x.A,{onClose:i,actions:t,headerTitle:(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(A,{size:"navigation"}),(0,o.jsx)(c.sA,{id:"LTE_ACTIONS_SUBSCRIPTION_CHECK_UNAVAILABLE"})]}),headerSubTitle:(0,o.jsx)(c.sA,{id:"LTE_ACTIONS_SUBSCRIPTION_CHECK_UNAVAILABLE_TOOLTIP"}),originalSize:!0})}}}]);