"use strict";(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([[5925],{53694:(e,t,a)=>{a.d(t,{A:()=>w}),a(63696);var i=a(83051),n=a(20641),d=a(11545),r=a(35289),l=a(468),u=a(74437),o=a(55522),c=a(62540),s=(0,l.A)(14),h=(0,l.A)(18),g=(0,l.A)(24),m=(0,l.A)(24),p=(0,l.A)(32),A=(0,i.default)("span",{target:"e1u2dmyf7",label:"PageTypeIndicator"})(n.tc," ",d.B3," display:flex;align-items:center;width:max-content;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:",(e=>{var{theme:t,live:a}=e;return a?t.colourPalette.states.onLive:t.colourPalette.primary}),";background:",(e=>{var{theme:t,contained:a,live:i}=e;switch(!0){case i:return t.colourPalette.states.live;case a:return t.colourPalette.midground;default:return t.colourPalette.background}}),";"),C=(0,i.default)("span",{target:"e1u2dmyf6",label:"SmallTextContainer"})("padding-right:",u.SPACING_2,";"),_=(0,i.default)("span",{target:"e1u2dmyf5",label:"MediumTextContainer"})("padding-right:",u.SPACING_2,";@media (min-width: ",r.js,"){padding-right:",u.SPACING_3,";}"),f=(0,i.default)("span",{target:"e1u2dmyf4",label:"LargeTextContainer"})("padding-right:",u.SPACING_3,";@media (min-width: ",r.js,"){padding-right:",u.SPACING_4,";}"),I=(0,i.default)("span",{target:"e1u2dmyf3",label:"StyledIconContainer"})((e=>{var{hasChildren:t}=e;return t&&"padding-right: ".concat(u.SPACING_1,";")})," vertical-align:-0.125em;"),S=(0,i.default)(I,{target:"e1u2dmyf2",label:"SmallIconContainer"})("width:",s,";height:",s,";padding:",u.SPACING_2,";"),P=(0,i.default)(I,{target:"e1u2dmyf1",label:"MediumIconContainer"})("width:",(e=>{var{useStaticMediumIcon:t}=e;return t?g:h}),";height:",(e=>{var{useStaticMediumIcon:t}=e;return t?g:h}),";padding:",(e=>{var{useStaticMediumIcon:t}=e;return t?u.SPACING_3:u.SPACING_2}),";@media (min-width: ",r.js,"){width:",g,";height:",g,";padding:",u.SPACING_3,";}"),v=(0,i.default)(I,{target:"e1u2dmyf0",label:"LargeIconContainer"})("width:",m,";height:",m,";padding:",u.SPACING_3,";@media (min-width: ",r.js,"){width:",p,";height:",p,";padding:",u.SPACING_4,";}");const w=e=>{var{iconType:t,size:a="medium",isContained:i=!1,live:n=!1,useStaticMediumIcon:d=!1,children:r}=e,l=Boolean(r),[u,s]=(e=>{switch(e){case"large":return[v,f];case"small":return[S,C];default:return[P,_]}})(a);return(0,c.jsxs)(A,{contained:i,live:n,children:[t&&(0,c.jsx)(u,{hasChildren:l,useStaticMediumIcon:d,children:(0,c.jsx)(o.A,{type:t})}),r&&(0,c.jsx)(s,{children:r})]})}}}]);