(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([[7965],{94362:(n,e,t)=>{var i=t(41589),r=Math.floor,o=function(n,e){var t=n.length,s=r(t/2);return t<8?a(n,e):c(n,o(i(n,0,s),e),o(i(n,s),e),e)},a=function(n,e){for(var t,i,r=n.length,o=1;o0;)n[i]=n[--i];i!==o++&&(n[i]=t)}return n},c=function(n,e,t,i){for(var r=e.length,o=t.length,a=0,c=0;a{"use strict";var i=t(66330),r=TypeError;n.exports=function(n,e){if(!delete n[e])throw r("Cannot delete property "+i(e)+" of "+i(n))}},7207:n=>{var e=TypeError;n.exports=function(n){if(n>9007199254740991)throw e("Maximum allowed index exceeded");return n}},68886:(n,e,t)=>{var i=t(88113).match(/firefox\/(\d+)/i);n.exports=!!i&&+i[1]},30256:(n,e,t)=>{var i=t(88113);n.exports=/MSIE|Trident/.test(i)},98008:(n,e,t)=>{var i=t(88113).match(/AppleWebKit\/(\d+)\./);n.exports=!!i&&+i[1]},10647:(n,e,t)=>{var i=t(1702),r=t(47908),o=Math.floor,a=i("".charAt),c=i("".replace),s=i("".slice),u=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,l=/\$([$&'`]|\d{1,2})/g;n.exports=function(n,e,t,i,d,f){var h=t+n.length,g=i.length,p=l;return void 0!==d&&(d=r(d),p=u),c(f,p,(function(r,c){var u;switch(a(c,0)){case"$":return"$";case"&":return n;case"`":return s(e,0,t);case"'":return s(e,h);case"<":u=d[s(c,1,-1)];break;default:var l=+c;if(0===l)return r;if(l>g){var f=o(l/10);return 0===f?r:f<=g?void 0===i[f-1]?a(c,1):i[f-1]+a(c,1):r}u=i[l-1]}return void 0===u?"":u}))}},79587:(n,e,t)=>{var i=t(60614),r=t(70111),o=t(27674);n.exports=function(n,e,t){var a,c;return o&&i(a=e.constructor)&&a!==t&&r(c=a.prototype)&&c!==t.prototype&&o(n,c),n}},92222:(n,e,t)=>{"use strict";var i=t(82109),r=t(47293),o=t(43157),a=t(70111),c=t(47908),s=t(26244),u=t(7207),l=t(86135),d=t(65417),f=t(81194),h=t(5112),g=t(7392),p=h("isConcatSpreadable"),m=g>=51||!r((function(){var n=[];return n[p]=!1,n.concat()[0]!==n})),v=f("concat"),y=function(n){if(!a(n))return!1;var e=n[p];return void 0!==e?!!e:o(n)};i({target:"Array",proto:!0,arity:1,forced:!m||!v},{concat:function(n){var e,t,i,r,o,a=c(this),f=d(a,0),h=0;for(e=-1,i=arguments.length;e{"use strict";var i=t(82109),r=t(42092).find,o=t(51223),a="find",c=!0;a in[]&&Array(1).find((function(){c=!1})),i({target:"Array",proto:!0,forced:c},{find:function(n){return r(this,n,arguments.length>1?arguments[1]:void 0)}}),o(a)},21249:(n,e,t)=>{"use strict";var i=t(82109),r=t(42092).map;i({target:"Array",proto:!0,forced:!t(81194)("map")},{map:function(n){return r(this,n,arguments.length>1?arguments[1]:void 0)}})},2707:(n,e,t)=>{"use strict";var i=t(82109),r=t(1702),o=t(19662),a=t(47908),c=t(26244),s=t(85117),u=t(41340),l=t(47293),d=t(94362),f=t(9341),h=t(68886),g=t(30256),p=t(7392),m=t(98008),v=[],y=r(v.sort),b=r(v.push),x=l((function(){v.sort(void 0)})),w=l((function(){v.sort(null)})),k=f("sort"),E=!l((function(){if(p)return p<70;if(!(h&&h>3)){if(g)return!0;if(m)return m<603;var n,e,t,i,r="";for(n=65;n<76;n++){switch(e=String.fromCharCode(n),n){case 66:case 69:case 70:case 72:t=3;break;case 68:case 71:t=4;break;default:t=2}for(i=0;i<47;i++)v.push({k:e+i,v:t})}for(v.sort((function(n,e){return e.v-n.v})),i=0;iu(t)?1:-1}}(n)),t=c(r),i=0;i{"use strict";var i=t(22104),r=t(46916),o=t(1702),a=t(27007),c=t(47293),s=t(19670),u=t(60614),l=t(68554),d=t(19303),f=t(17466),h=t(41340),g=t(84488),p=t(31530),m=t(58173),v=t(10647),y=t(97651),b=t(5112)("replace"),x=Math.max,w=Math.min,k=o([].concat),E=o([].push),A=o("".indexOf),Z=o("".slice),L="$0"==="a".replace(/./,"$0"),C=!!/./[b]&&""===/./[b]("a","$0");a("replace",(function(n,e,t){var o=C?"$":"$0";return[function(n,t){var i=g(this),o=l(n)?void 0:m(n,b);return o?r(o,n,i,t):r(e,h(i),n,t)},function(n,r){var a=s(this),c=h(n);if("string"==typeof r&&-1===A(r,o)&&-1===A(r,"$<")){var l=t(e,a,c,r);if(l.done)return l.value}var g=u(r);g||(r=h(r));var m=a.global;if(m){var b=a.unicode;a.lastIndex=0}for(var L=[];;){var C=y(a,c);if(null===C)break;if(E(L,C),!m)break;""===h(C[0])&&(a.lastIndex=p(c,f(a.lastIndex),b))}for(var P,z="",M=0,I=0;I=M&&(z+=Z(c,M,S)+B,M=S+H.length)}return z+Z(c,M)}]}),!!c((function(){var n=/./;return n.exec=function(){var n=[];return n.groups={a:"7"},n},"7"!=="".replace(n,"$")}))||!L||C)},22981:(n,e,t)=>{"use strict";t.d(e,{GS:()=>c,EB:()=>s});var i=t(67294);var r=t(29715),o={media:"",matches:!1,onchange:r.Z,addListener:r.Z,removeListener:r.Z,addEventListener:r.Z,removeEventListener:r.Z,dispatchEvent:function(n){return!0}},a=function(n){return function(e,t){void 0===t&&(t=!1);var r=(0,i.useState)(t),a=r[0],c=r[1],s=function(n){return"string"===typeof n?n.replace(/@media\s/,""):Object.entries(n).map((function(n){var e=n[0],t=n[1],i=e.replace(/[A-Z]/g,(function(n){return"-".concat(n.toLowerCase())})).toLowerCase(),r=t;return"boolean"===typeof r?r?i:"not ".concat(i):("number"===typeof r&&/[height|width]$/.test(i)&&(r="".concat(r,"px")),"(".concat(i,": ").concat(r,")"))})).join(" and ")}(e);return n((function(){var n=!0,e="undefined"===typeof window?o:window.matchMedia(s),t=function(){n&&c(Boolean(e.matches))};return e.addListener(t),c(e.matches),function(){n=!1,e.removeListener(t)}}),[s]),a}},c=a(i.useEffect),s=a("undefined"!==typeof window?i.useLayoutEffect:i.useEffect)},38717:(n,e,t)=>{"use strict";t.d(e,{t:()=>r});var i=t(67294),r=function(n,e,t){(0,i.useEffect)((function(){var i=function(i){t&&e.current&&!e.current.contains(i.target)&&n()};return document.addEventListener("mouseup",i),document.addEventListener("touchend",i),function(){document.removeEventListener("mouseup",i),document.removeEventListener("touchend",i)}}),[e,t,n])}},29715:(n,e,t)=>{"use strict";t.d(e,{Z:()=>i});var i=function(){}},85664:(n,e,t)=>{"use strict";t.d(e,{C:()=>c});var i,r,o=t(30514),a=t(71893),c=a.ZP.span(r||(r=(0,o.cy)(["\n display: inline-block;\n border: 1px solid transparent;\n border-radius: 4px;\n padding: ","\n "," 2px;\n font-size: ",";\n line-height: ",";\n color: ",";\n background: ",";\n margin: ",";\n font-weight: ",";\n\n ","\n"],["\n display: inline-block;\n border: 1px solid transparent;\n border-radius: 4px;\n padding: ","\n "," 2px;\n font-size: ",";\n line-height: ",";\n color: ",";\n background: ",";\n margin: ",";\n font-weight: ",";\n\n ","\n"])),(function(n){return n.theme.spacing.spacing005}),(function(n){return n.theme.spacing.spacing01}),(function(n){return n.theme.typography.header.h6.size}),(function(n){return n.theme.typography.header.h6.lineHeight}),(function(n){var e=n.theme;return n.textColor||e.colors.white}),(function(n){var e=n.theme;return n.bgColor||e.colors.secondary.main}),(function(n){return n.isolated?"0":"0 ".concat(n.theme.spacing.spacing01)}),(function(n){return n.bold?700:400}),(function(n){var e=n.theme,t=n.bgColor;return n.outline&&(0,a.iv)(i||(i=(0,o.cy)(["\n background: ",";\n border: 1px solid ",";\n "],["\n background: ",";\n border: 1px solid ",";\n "])),e.colors.white,t||e.colors.secondary.main)}))},51376:(n,e,t)=>{"use strict";t.d(e,{F:()=>h});var i,r,o=t(67294),a=t(30514),c=t(71893),s=t(24265),u=c.ZP.div(i||(i=(0,a.cy)(["\n position: absolute;\n background-color: #ffffffb8;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n text-align: center;\n z-index: ",";\n"],["\n position: absolute;\n background-color: #ffffffb8;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n text-align: center;\n z-index: ",";\n"])),(function(n){return n.theme.layout.zIndex.overlay})),l=(0,c.ZP)(s.a)(r||(r=(0,a.cy)(["\n position: absolute;\n top: 50%;\n left: 50%;\n width: ",";\n height: ",";\n"],["\n position: absolute;\n top: 50%;\n left: 50%;\n width: ",";\n height: ",";\n"])),(function(n){return n.$big?"5rem":"4rem"}),(function(n){return n.$big?"5rem":"4rem"})),d=t(63742),f=t(53397),h=function(n){var e=n.big;return o.createElement(u,{"data-testid":"centeredPccomLoader"},o.createElement(l,{"data-testid":"centeredPccomLoaderSpinner",$big:e,extra:o.createElement(d.J,{big:e,icon:"pcc_icon",fill:f.n.light.colors.brand.main})}))}},72811:(n,e,t)=>{"use strict";t.d(e,{P:()=>u});var i,r,o=t(30514),a=t(67294),c=t(71893),s=c.ZP.span(r||(r=(0,o.cy)(["\n display: inline-block;\n padding: 0 "," 0;\n border-radius: ",";\n min-width: ",";\n height: ",";\n font-size: ",";\n line-height: ",";\n font-weight: ",";\n letter-spacing: ",";\n background-color: ",";\n color: ",";\n text-align: center;\n\n ","\n"],["\n display: inline-block;\n padding: 0 "," 0;\n border-radius: ",";\n min-width: ",";\n height: ",";\n font-size: ",";\n line-height: ",";\n font-weight: ",";\n letter-spacing: ",";\n background-color: ",";\n color: ",";\n text-align: center;\n\n ","\n"])),(function(n){return n.amount>9?"4px":"2px"}),(function(n){return n.amount>9?"15px":"50%"}),(function(n){return n.theme.spacing.spacing02}),(function(n){return n.theme.spacing.spacing02}),(function(n){return n.theme.typography.captionBold.size}),(function(n){return n.theme.typography.captionBold.lineHeight}),(function(n){return n.theme.typography.captionBold.weight}),(function(n){return n.theme.typography.captionBold.letter}),(function(n){return n.dotColor||n.theme.colors.danger.main}),(function(n){return n.amountColor||n.theme.colors.white}),(function(n){return n.float&&(0,c.iv)(i||(i=(0,o.cy)(["\n position: absolute;\n left: 30px;\n top: 6px;\n "],["\n position: absolute;\n left: 30px;\n top: 6px;\n "])))})),u=function(n){var e=n.amount,t=n.float,i=void 0!==t&&t,r=(0,o._T)(n,["amount","float"]);return a.createElement(s,(0,o.pi)({amount:e,float:i},r),e)}},66374:(n,e,t)=>{"use strict";t.d(e,{W:()=>l});var i,r,o,a=t(30514),c=t(71893),s=t(51062),u=(t(67294),(0,c.iv)(i||(i=(0,a.cy)(["\n text-decoration: none;\n color: inherit;\n height: 100%;\n display: flex;\n align-items: center;\n cursor: pointer;\n transition: color 0.3s, background 0.3s;\n\n // Adjust the all anchors frame\n width: calc(100% + ",");\n margin: 0 -",";\n padding: 0 ",";\n\n &:hover {\n background: ",";\n color: inherit;\n }\n"],["\n text-decoration: none;\n color: inherit;\n height: 100%;\n display: flex;\n align-items: center;\n cursor: pointer;\n transition: color 0.3s, background 0.3s;\n\n // Adjust the all anchors frame\n width: calc(100% + ",");\n margin: 0 -",";\n padding: 0 ",";\n\n &:hover {\n background: ",";\n color: inherit;\n }\n"])),(function(n){return n.theme.spacing.spacing04}),(function(n){return n.theme.spacing.spacing02}),(function(n){return n.theme.spacing.spacing02}),(function(n){return n.theme.colors.environment.percent05}))),l=c.ZP.div(o||(o=(0,a.cy)(["\n width: 100%;\n min-height: ",";\n display: flex;\n align-items: center;\n padding: 0 ",";\n ",";\n transition: background 0.3s;\n cursor: initial;\n\n /* TODO: May be the anchor styles should be set with the content */\n > a {\n ","\n }\n\n ","\n"],["\n width: 100%;\n min-height: ",";\n display: flex;\n align-items: center;\n padding: 0 ",";\n ",";\n transition: background 0.3s;\n cursor: initial;\n\n /* TODO: May be the anchor styles should be set with the content */\n > a {\n ","\n }\n\n ","\n"])),(function(n){return n.theme.spacing.spacing05}),(function(n){return n.theme.spacing.spacing02}),s.g.body2Regular,u,(function(n){return n.asLink&&(0,c.iv)(r||(r=(0,a.cy)(["\n > span {\n ","\n }\n "],["\n > span {\n ","\n }\n "])),u)}))},88454:(n,e,t)=>{"use strict";t.d(e,{U:()=>G});var i,r,o,a,c,s,u,l,d,f,h,g,p,m,v,y,b,x,w,k,E,A,Z,L,C,P,z=t(30514),M=t(67294),I=t(72811),H=t(71893),S=t(66374),j=t(63742),_=t(46229),O=t(51062),$=H.ZP.nav(o||(o=(0,z.cy)(["\n width: 100%;\n\n ","\n\n ","\n"],["\n width: 100%;\n\n ","\n\n ","\n"])),(function(n){var e=n.collapsed,t=n.isolated,r=n.theme;return!t&&"never"!==e&&(0,H.iv)(i||(i=(0,z.cy)(["\n border-bottom: 1px solid ",";\n "],["\n border-bottom: 1px solid ",";\n "])),r.colors.environment.percent20)}),(function(n){var e=n.collapsed,t=n.theme;return e&&"never"!==e&&(0,H.iv)(r||(r=(0,z.cy)(["\n @media (min-width: ",") {\n border: 0;\n }\n "],["\n @media (min-width: ",") {\n border: 0;\n }\n "])),t.layout.breakpoints[e])})),B=(0,H.ZP)(_.z)(a||(a=(0,z.cy)(["\n margin: ","\n ",";\n padding: ","\n ",";\n"],["\n margin: ","\n ",";\n padding: ","\n ",";\n"])),(function(n){return n.theme.spacing.spacing01}),(function(n){return n.theme.spacing.spacing02}),(function(n){return n.theme.spacing.spacing005}),(function(n){return n.theme.spacing.spacing01})),D=H.ZP.div(h||(h=(0,z.cy)(["\n display: flex;\n align-items: center;\n position: relative;\n background: ",";\n transition: background 0.3s;\n cursor: ",";\n ","\n\n ","\n\n","\n\n&:hover {\n ",";\n\n @media (hover: none) {\n background: none;\n }\n }\n\n ","\n"],["\n display: flex;\n align-items: center;\n position: relative;\n background: ",";\n transition: background 0.3s;\n cursor: ",";\n ","\n\n ","\n\n","\n\n&:hover {\n ",";\n\n @media (hover: none) {\n background: none;\n }\n }\n\n ","\n"])),(function(n){return n.theme.colors.white}),(function(n){return"never"===n.collapsed?"auto":"pointer"}),(function(n){var e=n.theme;return(0,H.iv)(c||(c=(0,z.cy)(["\n padding: "," ","\n "," ",";\n "],["\n padding: "," ","\n "," ",";\n "])),e.spacing.spacing01,e.spacing.spacing05,e.spacing.spacing01,e.spacing.spacing02)}),(function(n){var e=n.big,t=n.theme;return e&&(0,H.iv)(s||(s=(0,z.cy)(["\n padding: "," ","\n "," ",";\n "],["\n padding: "," ","\n "," ",";\n "])),t.spacing.spacing02,t.spacing.spacing05,t.spacing.spacing02,t.spacing.spacing02)}),(function(n){return n.showIconClose&&(0,H.iv)(l||(l=(0,z.cy)(["\n &::before {\n content: '';\n position: absolute;\n top: 50%;\n margin-top: -",";\n width: ",";\n height: ",";\n right: 16px;\n background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCIgZW5hYmxlLWJhY2tncm91bmQ9Im5ldyAwIDAgMjQgMjQiPjxwYXRoIGQ9Ik0yMSAxMWgtOHYtOGgtMnY4aC04djJoOHY4aDJ2LThoOHoiLz48L3N2Zz4=')\n no-repeat center center;\n transition: transform 0.3s;\n\n ",";\n }\n "],["\n &::before {\n content: '';\n position: absolute;\n top: 50%;\n margin-top: -",";\n width: ",";\n height: ",";\n right: 16px;\n background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCIgZW5hYmxlLWJhY2tncm91bmQ9Im5ldyAwIDAgMjQgMjQiPjxwYXRoIGQ9Ik0yMSAxMWgtOHYtOGgtMnY4aC04djJoOHY4aDJ2LThoOHoiLz48L3N2Zz4=')\n no-repeat center center;\n transition: transform 0.3s;\n\n ",";\n }\n "])),(function(n){return n.theme.spacing.spacing01}),(function(n){return n.theme.spacing.spacing02}),(function(n){return n.theme.spacing.spacing02}),(function(n){return n.isActive&&(0,H.iv)(u||(u=(0,z.cy)(["\n transform: rotate(45deg);\n "],["\n transform: rotate(45deg);\n "])))}))}),(function(n){var e=n.collapsed,t=n.theme;return"never"!==e&&(0,H.iv)(d||(d=(0,z.cy)(["\n background: ",";\n "],["\n background: ",";\n "])),t.colors.environment.percent05)}),(function(n){var e=n.collapsed,t=n.theme;return e&&"never"!==e&&(0,H.iv)(f||(f=(0,z.cy)(["\n @media (min-width: ",") {\n cursor: auto;\n\n &:hover {\n background: inherit;\n }\n\n &::before {\n display: none;\n }\n }\n "],["\n @media (min-width: ",") {\n cursor: auto;\n\n &:hover {\n background: inherit;\n }\n\n &::before {\n display: none;\n }\n }\n "])),t.layout.breakpoints[e])})),T=H.ZP.span(p||(p=(0,z.cy)(["\n ",";\n color: ",";\n line-height: ",";\n ",";\n"],["\n ",";\n color: ",";\n line-height: ",";\n ",";\n"])),O.g.body2Bold,(function(n){return n.theme.colors.black}),(function(n){return n.theme.typography.body1Regular.lineHeight}),(function(n){return n.big&&(0,H.iv)(g||(g=(0,z.cy)(["\n ",";\n "],["\n ",";\n "])),O.g.body1Bold)})),N=(0,H.ZP)(j.J)(m||(m=(0,z.cy)(["\n margin-right: ",";\n"],["\n margin-right: ",";\n"])),(function(n){return n.theme.spacing.spacing01})),Y=H.ZP.nav(x||(x=(0,z.cy)(["\n width: 100%;\n overflow: hidden;\n background-color: #fff;\n max-height: ",";\n transition: max-height 500ms cubic-bezier(0.25, 0.1, 0.25, 1);\n\n ",";\n\n ","\n\n ","\n"],["\n width: 100%;\n overflow: hidden;\n background-color: #fff;\n max-height: ",";\n transition: max-height 500ms cubic-bezier(0.25, 0.1, 0.25, 1);\n\n ",";\n\n ","\n\n ","\n"])),(function(n){return"never"===n.collapsed?"none":0}),(function(n){return n.isActive&&(0,H.iv)(v||(v=(0,z.cy)(["\n max-height: ",";\n "],["\n max-height: ",";\n "])),n.heightTransform)}),(function(n){return n.isFirstActive&&(0,H.iv)(y||(y=(0,z.cy)(["\n transition: none;\n "],["\n transition: none;\n "])))}),(function(n){var e=n.collapsed,t=n.theme;return e&&"never"!==e&&(0,H.iv)(b||(b=(0,z.cy)(["\n @media (min-width: ",") {\n max-height: none;\n }\n "],["\n @media (min-width: ",") {\n max-height: none;\n }\n "])),t.layout.breakpoints[e])})),W=H.ZP.ul(w||(w=(0,z.cy)(["\n width: 100%;\n list-style: none;\n margin: 0;\n padding: 0;\n"],["\n width: 100%;\n list-style: none;\n margin: 0;\n padding: 0;\n"]))),J=H.ZP.li(k||(k=(0,z.cy)(["\n width: 100%;\n margin: 0;\n"],["\n width: 100%;\n margin: 0;\n"]))),Q=H.ZP.span(A||(A=(0,z.cy)(["\n margin-left: ",";\n display: flex;\n backface-visibility: hidden;\n\n ",";\n"],["\n margin-left: ",";\n display: flex;\n backface-visibility: hidden;\n\n ",";\n"])),(function(n){return n.theme.spacing.spacing0025}),(function(n){return n.isActive&&(0,H.iv)(E||(E=(0,z.cy)(["\n opacity: 0;\n "],["\n opacity: 0;\n "])))})),X=H.ZP.span(Z||(Z=(0,z.cy)(["\n height: 10px;\n margin-left: 6px;\n margin-top: -1px;\n"],["\n height: 10px;\n margin-left: 6px;\n margin-top: -1px;\n"]))),F=(0,H.ZP)(S.W)(C||(C=(0,z.cy)(["\n display: flex;\n text-align: left;\n ","\n"],["\n display: flex;\n text-align: left;\n ","\n"])),(function(n){return!n.noHover&&(0,H.iv)(L||(L=(0,z.cy)(["\n cursor: pointer;\n :hover {\n background: #f2f2f2;\n color: inherit;\n }\n "],["\n cursor: pointer;\n :hover {\n background: #f2f2f2;\n color: inherit;\n }\n "])))})),R=H.ZP.li(P||(P=(0,z.cy)(["\n margin: 0;\n"],["\n margin: 0;\n"]))),G=function(n){var e=n.isolated,t=n.iconName,i=n.title,r=n.big,o=n.elements,a=n.collapsed,c=n.active,s=void 0!==c&&c,u=n.elementsToShow,l=n.showIconClose,d=void 0===l||l,f=n.onShowMore,h=n.onShowLess,g=n.onExpand,p=n.onCollapse,m=(0,z._T)(n,["isolated","iconName","title","big","elements","collapsed","active","elementsToShow","showIconClose","onShowMore","onShowLess","onExpand","onCollapse"]),v=(0,M.useState)([]),y=v[0],b=v[1],x=(0,M.useRef)(null),w=(0,M.useState)("max-content"),k=w[0],E=w[1],A=(0,M.useState)(s),Z=A[0],L=A[1],C=(0,M.useState)(s),P=C[0],H=C[1],S=(0,M.useState)(!1),j=S[0],_=S[1],O="never"!==a&&d,G=(0,M.useMemo)((function(){return!!u&&u.count0&&M.createElement(Q,{isActive:Z},M.createElement(I.P,{amount:U}))),M.createElement(Y,{ref:x,isActive:Z,isFirstActive:P,heightTransform:k,collapsed:a},M.createElement(W,null,o.slice(0,K).map((function(n,e){return M.createElement(J,{key:n.id||"Accordion__Item-".concat(e)},M.createElement(F,{asLink:n.asLink,noHover:n.noHover},n.content,n.notificationsAmount&&n.notificationsAmount>0&&M.createElement(X,null,M.createElement(I.P,{amount:n.notificationsAmount}))))})),y.length>0&&j&&y.map((function(n,e){return M.createElement(J,{key:n.id||"Accordion__Item-".concat(e)},M.createElement(F,{asLink:n.asLink,noHover:n.noHover},n.content,n.notificationsAmount&&n.notificationsAmount>0&&M.createElement(X,null,M.createElement(I.P,{amount:n.notificationsAmount}))))})),G&&!j&&M.createElement(R,null,M.createElement(B,{onClick:function(){f&&f(),_((function(n){return!n}))},secondary:!0,small:!0},null===u||void 0===u?void 0:u.moreLabel)),G&&j&&M.createElement(R,null,M.createElement(B,{onClick:function(){h&&h(),_((function(n){return!n}))},secondary:!0,small:!0},null===u||void 0===u?void 0:u.lessLabel)))))}},32987:(n,e,t)=>{"use strict";t.d(e,{k:()=>L});var i=t(67294),r=t(63742),o=t(51376),a=t(30514),c=t(71893),s=t(30305),u=t(24265),l=t(46229),d=c.ZP.div(g||(g=(0,a.cy)(["\n background: ",";\n border-left: 1px solid ",";\n height: 100vh;\n position: fixed;\n top: 0;\n right: 0;\n transition: all 0.25s linear;\n width: 100vw;\n display: flex;\n flex-direction: column;\n z-index: ",";\n ","\n\n "," {\n width: ",";\n }\n"],["\n background: ",";\n border-left: 1px solid ",";\n height: 100vh;\n position: fixed;\n top: 0;\n right: 0;\n transition: all 0.25s linear;\n width: 100vw;\n display: flex;\n flex-direction: column;\n z-index: ",";\n ","\n\n "," {\n width: ",";\n }\n"])),(function(n){return n.theme.colors.white}),(function(n){return n.theme.colors.environment.percent20}),(function(n){return n.theme.layout.zIndex.menu}),(function(n){return n.visible?(0,c.iv)(h||(h=(0,a.cy)(["\n transform: translateX(0);\n "],["\n transform: translateX(0);\n "]))):(0,c.iv)(f||(f=(0,a.cy)(["\n transform: translateX(100%);\n "],["\n transform: translateX(100%);\n "])))}),s.B.tabletPortrait,(function(n){return n.width||"20rem"}));(0,c.ZP)(u.a)(p||(p=(0,a.cy)(["\n width: 3rem;\n height: 3rem;\n"],["\n width: 3rem;\n height: 3rem;\n"])));var f,h,g,p,m,v,y,b,x,w=c.ZP.div(m||(m=(0,a.cy)(["\n background: ",";\n bottom: 0;\n left: 0;\n position: fixed;\n right: 0;\n top: 0;\n opacity: 0.24;\n visibility: ",";\n z-index: ",";\n"],["\n background: ",";\n bottom: 0;\n left: 0;\n position: fixed;\n right: 0;\n top: 0;\n opacity: 0.24;\n visibility: ",";\n z-index: ",";\n"])),(function(n){return n.theme.colors.black}),(function(n){return n.visible?"visible":"hidden"}),(function(n){return n.theme.layout.zIndex.overlay})),k=c.ZP.div(v||(v=(0,a.cy)(["\n flex: 0 0 ",";\n padding-left: ",";\n padding-right: ",";\n border-bottom: 1px solid\n ",";\n display: flex;\n justify-content: space-between;\n align-items: center;\n z-index: ",";\n"],["\n flex: 0 0 ",";\n padding-left: ",";\n padding-right: ",";\n border-bottom: 1px solid\n ",";\n display: flex;\n justify-content: space-between;\n align-items: center;\n z-index: ",";\n"])),(function(n){return n.theme.spacing.spacing07}),(function(n){return n.theme.spacing.spacing02}),(function(n){return n.theme.spacing.spacing005}),(function(n){return n.theme.colors.environment.percent20}),(function(n){return n.theme.layout.zIndex.menu})),E=c.ZP.span(y||(y=(0,a.cy)(["\n font-size: ",";\n line-height: ",";\n font-weight: 700;\n"],["\n font-size: ",";\n line-height: ",";\n font-weight: 700;\n"])),(function(n){return n.theme.typography.header.h4.size}),(function(n){return n.theme.typography.header.h4.lineHeight})),A=(0,c.ZP)(l.z)(b||(b=(0,a.cy)(["\n height: ",";\n width: ",";\n padding: 0;\n justify-content: center;\n"],["\n height: ",";\n width: ",";\n padding: 0;\n justify-content: center;\n"])),(function(n){return n.theme.spacing.spacing06}),(function(n){return n.theme.spacing.spacing06})),Z=c.ZP.div(x||(x=(0,a.cy)(["\n display: flex;\n flex-direction: column;\n overflow: hidden;\n"],["\n display: flex;\n flex-direction: column;\n overflow: hidden;\n"]))),L=function(n){var e=n.closeButtonLabel,t=void 0===e?"close sidenav":e,a=n.title,c=n.width,s=n.visible,u=n.onClose,l=n.children,f=n.isLoading,h=void 0!==f&&f;return i.createElement(i.Fragment,null,i.createElement(w,{"data-testid":"sidenavMask",visible:s,onClick:u}),i.createElement(d,{"data-testid":"sidenavContainer",visible:s,width:c},i.createElement(i.Fragment,null,i.createElement(k,null,i.createElement(E,null,a),i.createElement(A,{big:!0,ghost:!0,onClick:u,"aria-label":t},i.createElement(r.J,{icon:"remove",big:!0}))),i.createElement(Z,null,l),h&&i.createElement(o.F,{big:!0}))))}},59199:(n,e,t)=>{"use strict";function i(n){if("undefined"!==typeof Symbol&&null!=n[Symbol.iterator]||null!=n["@@iterator"])return Array.from(n)}t.d(e,{Z:()=>i})},93433:(n,e,t)=>{"use strict";t.d(e,{Z:()=>a});var i=t(30907);var r=t(59199),o=t(40181);function a(n){return function(n){if(Array.isArray(n))return(0,i.Z)(n)}(n)||(0,r.Z)(n)||(0,o.Z)(n)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}}}]); //# sourceMappingURL=7965.js.map