"use strict";(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([[3578],{12603:(n,e,t)=>{t.d(e,{X:()=>b});var o,r,i,c,a,l=t(30514),s=t(67294),u=t(71893),d=t(51062),g=t(80092),h=t(8990),m=u.ZP.label(o||(o=(0,l.cy)(["\n display: inline-flex;\n flex-direction: row;\n align-items: flex-start;\n justify-content: flex-start;\n cursor: ",";\n"],["\n display: inline-flex;\n flex-direction: row;\n align-items: flex-start;\n justify-content: flex-start;\n cursor: ",";\n"])),(function(n){return n.disabled?"not-allowed":"pointer"})),p=(0,u.ZP)(h.I).attrs({type:"checkbox"})(r||(r=(0,l.cy)(["\n position: relative;\n width: 18px;\n height: 18px;\n padding: ",";\n display: inline-block;\n vertical-align: top;\n border-width: 2px;\n border-radius: 2px;\n cursor: pointer;\n margin-left: 0;\n margin-right: 0;\n margin-bottom: auto;\n\n &:hover {\n border-color: ",";\n\n &:disabled {\n border-color: ",";\n }\n }\n\n &:checked {\n background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCIgZW5hYmxlLWJhY2tncm91bmQ9Im5ldyAwIDAgMjQgMjQiPjxwYXRoIGZpbGw9IiNmZmYiIGQ9Ik0zLjMgMTkuNm03LTJsLTUtNSAxLjQtMS40IDMuNiAzLjYgNy42LTcuNiAxLjQgMS40LTkgOXoiLz48L3N2Zz4=');\n background-size: 24px 24px;\n background-position: center center;\n background-repeat: no-repeat;\n background-color: ",";\n border-color: ",";\n\n &:disabled {\n background-color: ",";\n border-color: ",";\n }\n }\n\n &:disabled {\n cursor: not-allowed;\n }\n"],["\n position: relative;\n width: 18px;\n height: 18px;\n padding: ",";\n display: inline-block;\n vertical-align: top;\n border-width: 2px;\n border-radius: 2px;\n cursor: pointer;\n margin-left: 0;\n margin-right: 0;\n margin-bottom: auto;\n\n &:hover {\n border-color: ",";\n\n &:disabled {\n border-color: ",";\n }\n }\n\n &:checked {\n background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCIgZW5hYmxlLWJhY2tncm91bmQ9Im5ldyAwIDAgMjQgMjQiPjxwYXRoIGZpbGw9IiNmZmYiIGQ9Ik0zLjMgMTkuNm03LTJsLTUtNSAxLjQtMS40IDMuNiAzLjYgNy42LTcuNiAxLjQgMS40LTkgOXoiLz48L3N2Zz4=');\n background-size: 24px 24px;\n background-position: center center;\n background-repeat: no-repeat;\n background-color: ",";\n border-color: ",";\n\n &:disabled {\n background-color: ",";\n border-color: ",";\n }\n }\n\n &:disabled {\n cursor: not-allowed;\n }\n"])),(function(n){return n.theme.spacing.spacing01}),(function(n){return n.theme.colors.environment.percent40}),(function(n){return n.theme.colors.environment.percent20}),(function(n){return n.theme.colors.brand.main}),(function(n){return n.theme.colors.brand.main}),(function(n){return n.theme.colors.environment.percent20}),(function(n){return n.theme.colors.environment.percent20})),f=u.ZP.span(a||(a=(0,l.cy)(["\n ",";\n color: ",";\n padding-left: ",";\n transition: color 0.3s;\n\n ","\n\n ","\n\n a {\n color: ",";\n text-decoration: underline;\n }\n"],["\n ",";\n color: ",";\n padding-left: ",";\n transition: color 0.3s;\n\n ","\n\n ","\n\n a {\n color: ",";\n text-decoration: underline;\n }\n"])),d.g.body2Regular,(function(n){return n.disabled?n.theme.colors.environment.percent40:n.theme.colors.black}),(function(n){return n.theme.spacing.spacing01}),(function(n){return"success"===n.status&&(0,u.iv)(i||(i=(0,l.cy)(["\n color: ",";\n "],["\n color: ",";\n "])),n.theme.colors.success.main)}),(function(n){return"error"===n.status&&(0,u.iv)(c||(c=(0,l.cy)(["\n color: ",";\n "],["\n color: ",";\n "])),n.theme.colors.danger.main)}),(function(n){return n.theme.colors.black})),b=function(n){var e=n.name,t=n.value,o=n.text,r=n.id,i=n.checked,c=n.disabled,a=n.status,u=n.onChange,d=n.children,h=(0,l._T)(n,["name","value","text","id","checked","disabled","status","onChange","children"]),b=(0,s.useState)(i||!1),y=b[0],v=b[1];(0,s.useEffect)((function(){void 0!==i&&v(i)}),[i]);var x,k=(0,g.ly)(h),w=Object.keys(h),A=Object.keys(k),L=w.filter((function(n){return!A.includes(n)})).reduce((function(n,e){var t;return(0,l.pi)((0,l.pi)({},n),((t={})[e]=h[e],t))}),{});return s.createElement(m,(0,l.pi)({disabled:c},L),s.createElement(p,(0,l.pi)({id:r,name:e,value:t,checked:y,disabled:c,onChange:function(){v(!y),u&&u(!y)}},k)),o&&s.createElement(f,{disabled:c,dangerouslySetInnerHTML:(x=o,{__html:x}),status:a}),d)}},72811:(n,e,t)=>{t.d(e,{P:()=>s});var o,r,i=t(30514),c=t(67294),a=t(71893),l=a.ZP.span(r||(r=(0,i.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,a.iv)(o||(o=(0,i.cy)(["\n position: absolute;\n left: 30px;\n top: 6px;\n "],["\n position: absolute;\n left: 30px;\n top: 6px;\n "])))})),s=function(n){var e=n.amount,t=n.float,o=void 0!==t&&t,r=(0,i._T)(n,["amount","float"]);return c.createElement(l,(0,i.pi)({amount:e,float:o},r),e)}},66374:(n,e,t)=>{t.d(e,{W:()=>u});var o,r,i,c=t(30514),a=t(71893),l=t(51062),s=(t(67294),(0,a.iv)(o||(o=(0,c.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}))),u=a.ZP.div(i||(i=(0,c.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}),l.g.body2Regular,s,(function(n){return n.asLink&&(0,a.iv)(r||(r=(0,c.cy)(["\n > span {\n ","\n }\n "],["\n > span {\n ","\n }\n "])),s)}))},8990:(n,e,t)=>{t.d(e,{I:()=>b});var o,r,i,c,a,l,s=t(30514),u=t(67294),d=t(71893),g=t(63742),h=t(46229),m=d.ZP.input(c||(c=(0,s.cy)(["\n background-clip: padding-box;\n background-color: ",";\n border-radius: ",";\n border: 1px solid ",";\n color: ",";\n display: flex;\n align-items: center;\n font-family: ",";\n font-size: ",";\n line-height: ",";\n font-weight: ",";\n height: ",";\n outline: none;\n padding: 0 ",";\n text-align: left;\n transition: border 0.3s, background-color 0.3s, color 0.3s, box-shadow 0.3s;\n width: 100%;\n\n &,\n &:hover,\n &:focus,\n &:active {\n appearance: none;\n box-shadow: none;\n outline: none;\n filter: none;\n }\n &::-ms-clear {\n display: none;\n }\n\n &:-webkit-autofill,\n &:-webkit-autofill:hover,\n &:-webkit-autofill:focus {\n transition: background-color 5000s ease-in-out 0s;\n\n &::first-line {\n font-size: ",";\n font-weight: ",";\n -webkit-text-fill-color: ",";\n }\n }\n\n &:hover {\n border-color: ",";\n }\n\n &:focus {\n border-color: ",";\n box-shadow: 0 0 5px 0 ",";\n }\n\n /* Unstyle the caret on 'select's in IE10+. */\n &::-ms-expand {\n background-color: transparent;\n border: 0;\n }\n\n &::placeholder {\n color: ",";\n opacity: 1;\n transition: color 0.3s;\n }\n\n &:disabled,\n &[readonly] {\n background-image: none;\n background-color: ",";\n border-color: ",";\n cursor: not-allowed;\n opacity: 1;\n }\n\n // Small variation\n ","\n\n ","\n \n ","\n"],["\n background-clip: padding-box;\n background-color: ",";\n border-radius: ",";\n border: 1px solid ",";\n color: ",";\n display: flex;\n align-items: center;\n font-family: ",";\n font-size: ",";\n line-height: ",";\n font-weight: ",";\n height: ",";\n outline: none;\n padding: 0 ",";\n text-align: left;\n transition: border 0.3s, background-color 0.3s, color 0.3s, box-shadow 0.3s;\n width: 100%;\n\n &,\n &:hover,\n &:focus,\n &:active {\n appearance: none;\n box-shadow: none;\n outline: none;\n filter: none;\n }\n &::-ms-clear {\n display: none;\n }\n\n &:-webkit-autofill,\n &:-webkit-autofill:hover,\n &:-webkit-autofill:focus {\n transition: background-color 5000s ease-in-out 0s;\n\n &::first-line {\n font-size: ",";\n font-weight: ",";\n -webkit-text-fill-color: ",";\n }\n }\n\n &:hover {\n border-color: ",";\n }\n\n &:focus {\n border-color: ",";\n box-shadow: 0 0 5px 0 ",";\n }\n\n /* Unstyle the caret on 'select's in IE10+. */\n &::-ms-expand {\n background-color: transparent;\n border: 0;\n }\n\n &::placeholder {\n color: ",";\n opacity: 1;\n transition: color 0.3s;\n }\n\n &:disabled,\n &[readonly] {\n background-image: none;\n background-color: ",";\n border-color: ",";\n cursor: not-allowed;\n opacity: 1;\n }\n\n // Small variation\n ","\n\n ","\n \n ","\n"])),(function(n){return n.theme.colors.white}),(function(n){return n.theme.spacing.spacing005}),(function(n){return n.theme.colors.environment.percent20}),(function(n){return n.theme.colors.black}),(function(n){return n.theme.typography.global}),(function(n){return n.theme.typography.body1Regular.size}),(function(n){return n.theme.typography.body1Regular.lineHeight}),(function(n){return n.theme.typography.body1Regular.weight}),(function(n){return n.theme.spacing.spacing06}),(function(n){return n.theme.spacing.spacing02}),(function(n){return n.theme.typography.body1Regular.size}),(function(n){return n.theme.typography.body1Regular.weight}),(function(n){return n.theme.colors.black}),(function(n){return n.theme.colors.black}),(function(n){return n.theme.colors.secondary.main}),(function(n){return n.theme.colors.secondary.main}),(function(n){return n.theme.colors.environment.percent40}),(function(n){return n.theme.colors.environment.percent05}),(function(n){return n.theme.colors.environment.percent20}),(function(n){var e=n.small,t=n.theme;return e&&(0,d.iv)(o||(o=(0,s.cy)(["\n font-size: ",";\n line-height: ",";\n height: ",";\n "],["\n font-size: ",";\n line-height: ",";\n height: ",";\n "])),t.typography.body2Regular.size,t.typography.body2Regular.lineHeight,(function(n){return n.theme.spacing.spacing05}))}),(function(n){var e=n.status,t=n.theme;return"success"===e&&(0,d.iv)(r||(r=(0,s.cy)(["\n &,\n &:hover:not(:focus) {\n border-color: ",";\n }\n &:focus {\n & + button {\n display: none;\n }\n }\n "],["\n &,\n &:hover:not(:focus) {\n border-color: ",";\n }\n &:focus {\n & + button {\n display: none;\n }\n }\n "])),t.colors.success.main)}),(function(n){var e=n.status,t=n.theme;return"error"===e&&(0,d.iv)(i||(i=(0,s.cy)(["\n &,\n &:hover:not(:focus) {\n border-color: ",";\n }\n &:focus {\n & + button {\n display: none;\n }\n }\n "],["\n &,\n &:hover:not(:focus) {\n border-color: ",";\n }\n &:focus {\n & + button {\n display: none;\n }\n }\n "])),t.colors.danger.main)})),p=d.ZP.div(a||(a=(0,s.cy)(["\n position: relative;\n"],["\n position: relative;\n"]))),f=(0,d.ZP)(h.z)(l||(l=(0,s.cy)(["\n position: absolute;\n right: 0.25rem;\n top: 0.1875rem;\n\n &:hover {\n cursor: auto;\n background-color: transparent;\n }\n\n svg {\n fill: ","};\n }\n"],["\n position: absolute;\n right: 0.25rem;\n top: 0.1875rem;\n\n &:hover {\n cursor: auto;\n background-color: transparent;\n }\n\n svg {\n fill: ","};\n }\n"])),(function(n){var e=n.$status,t=n.theme;return"success"===e?t.colors.success.main:t.colors.danger.main})),b=function(n){var e,t,o,r=n.hideStatusIcon,i=n.small,c=void 0!==i&&i,a=n.status,l=(0,s._T)(n,["hideStatusIcon","small","status"]);return u.createElement(p,null,u.createElement(m,(0,s.pi)({status:a,small:c},l)),!r&&a&&(t=c,o="success"===(e=a)?"check":"interface_alert_triangle",u.createElement(f,{ghost:!0,icon:!0,$status:e,small:t},u.createElement(g.J,{icon:o,big:!0}))))}},88454:(n,e,t)=>{t.d(e,{U:()=>F});var o,r,i,c,a,l,s,u,d,g,h,m,p,f,b,y,v,x,k,w,A,L,I,Z,M,E,z=t(30514),C=t(67294),j=t(72811),N=t(71893),P=t(66374),H=t(63742),S=t(46229),T=t(51062),_=N.ZP.nav(i||(i=(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,N.iv)(o||(o=(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,N.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])})),Y=(0,N.ZP)(S.z)(c||(c=(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=N.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,N.iv)(a||(a=(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,N.iv)(l||(l=(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,N.iv)(u||(u=(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,N.iv)(s||(s=(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,N.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,N.iv)(g||(g=(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])})),O=N.ZP.span(p||(p=(0,z.cy)(["\n ",";\n color: ",";\n line-height: ",";\n ",";\n"],["\n ",";\n color: ",";\n line-height: ",";\n ",";\n"])),T.g.body2Bold,(function(n){return n.theme.colors.black}),(function(n){return n.theme.typography.body1Regular.lineHeight}),(function(n){return n.big&&(0,N.iv)(m||(m=(0,z.cy)(["\n ",";\n "],["\n ",";\n "])),T.g.body1Bold)})),Q=(0,N.ZP)(H.J)(f||(f=(0,z.cy)(["\n margin-right: ",";\n"],["\n margin-right: ",";\n"])),(function(n){return n.theme.spacing.spacing01})),R=N.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,N.iv)(b||(b=(0,z.cy)(["\n max-height: ",";\n "],["\n max-height: ",";\n "])),n.heightTransform)}),(function(n){return n.isFirstActive&&(0,N.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,N.iv)(v||(v=(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=N.ZP.ul(k||(k=(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"]))),B=N.ZP.li(w||(w=(0,z.cy)(["\n width: 100%;\n margin: 0;\n"],["\n width: 100%;\n margin: 0;\n"]))),J=N.ZP.span(L||(L=(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,N.iv)(A||(A=(0,z.cy)(["\n opacity: 0;\n "],["\n opacity: 0;\n "])))})),X=N.ZP.span(I||(I=(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"]))),G=(0,N.ZP)(P.W)(M||(M=(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,N.iv)(Z||(Z=(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 "])))})),U=N.ZP.li(E||(E=(0,z.cy)(["\n margin: 0;\n"],["\n margin: 0;\n"]))),F=function(n){var e=n.isolated,t=n.iconName,o=n.title,r=n.big,i=n.elements,c=n.collapsed,a=n.active,l=void 0!==a&&a,s=n.elementsToShow,u=n.showIconClose,d=void 0===u||u,g=n.onShowMore,h=n.onShowLess,m=n.onExpand,p=n.onCollapse,f=(0,z._T)(n,["isolated","iconName","title","big","elements","collapsed","active","elementsToShow","showIconClose","onShowMore","onShowLess","onExpand","onCollapse"]),b=(0,C.useState)([]),y=b[0],v=b[1],x=(0,C.useRef)(null),k=(0,C.useState)("max-content"),w=k[0],A=k[1],L=(0,C.useState)(l),I=L[0],Z=L[1],M=(0,C.useState)(l),E=M[0],N=M[1],P=(0,C.useState)(!1),H=P[0],S=P[1],T="never"!==c&&d,F=(0,C.useMemo)((function(){return!!s&&s.count0&&C.createElement(J,{isActive:I},C.createElement(j.P,{amount:$}))),C.createElement(R,{ref:x,isActive:I,isFirstActive:E,heightTransform:w,collapsed:c},C.createElement(W,null,i.slice(0,K).map((function(n,e){return C.createElement(B,{key:n.id||"Accordion__Item-".concat(e)},C.createElement(G,{asLink:n.asLink,noHover:n.noHover},n.content,n.notificationsAmount&&n.notificationsAmount>0&&C.createElement(X,null,C.createElement(j.P,{amount:n.notificationsAmount}))))})),y.length>0&&H&&y.map((function(n,e){return C.createElement(B,{key:n.id||"Accordion__Item-".concat(e)},C.createElement(G,{asLink:n.asLink,noHover:n.noHover},n.content,n.notificationsAmount&&n.notificationsAmount>0&&C.createElement(X,null,C.createElement(j.P,{amount:n.notificationsAmount}))))})),F&&!H&&C.createElement(U,null,C.createElement(Y,{onClick:function(){g&&g(),S((function(n){return!n}))},secondary:!0,small:!0},null===s||void 0===s?void 0:s.moreLabel)),F&&H&&C.createElement(U,null,C.createElement(Y,{onClick:function(){h&&h(),S((function(n){return!n}))},secondary:!0,small:!0},null===s||void 0===s?void 0:s.lessLabel)))))}},59199:(n,e,t)=>{function o(n){if("undefined"!==typeof Symbol&&null!=n[Symbol.iterator]||null!=n["@@iterator"])return Array.from(n)}t.d(e,{Z:()=>o})},93433:(n,e,t)=>{t.d(e,{Z:()=>c});var o=t(30907);var r=t(59199),i=t(40181);function c(n){return function(n){if(Array.isArray(n))return(0,o.Z)(n)}(n)||(0,r.Z)(n)||(0,i.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=3578.js.map