!function(){try{var e="u">typeof window?window:"u">typeof global?global:"u">typeof globalThis?globalThis:"u">typeof self?self:{};e.SENTRY_RELEASE={id:"fb5f0903e703b2ddb94431eacd9f88bace2e1245"};var t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="b5bc236f-dd0a-450a-a7a3-e2cb5b4779d0",e._sentryDebugIdIdentifier="sentry-dbid-b5bc236f-dd0a-450a-a7a3-e2cb5b4779d0")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2313],{5726:()=>{},13622:(e,t,i)=>{"use strict";i.d(t,{$:()=>a.a});var a=i(61485)},17200:(e,t,i)=>{"use strict";i.d(t,{g:()=>a});let a=(e,t=!0)=>t?e:void 0},25069:(e,t,i)=>{"use strict";i.d(t,{B:()=>x});var a=i(95155),n=i(12115),l=i(29427),s=i(52951),r=i(17200),c=i(70735);function o(e){return n.createElement("svg",{viewBox:"0 0 24 24",width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},n.createElement("path",{d:"m10.28 19.03 6.5-6.5a.75.75 0 0 0 0-1.06l-6.5-6.5a.75.75 0 1 0-1.06 1.06L15.19 12l-5.97 5.97a.75.75 0 1 0 1.06 1.06Z",clipRule:"evenodd",fill:"currentColor",fillRule:"evenodd"}))}var d=i(25501);i(5726);let u=(0,s.g)("breadcrumbs"),h={breadcrumbs:u,breadcrumbsEllipsis:`${u}--ellipsis`,displayOne:`${u}--display-one`,list:`${u}__list`,mobileList:`${u}__list--mobile`,desktopList:`${u}__list--desktop`,item:`${u}__item`,customItem:`${u}__item--custom`,link:`${u}__link`,linkLabel:`${u}__link-label`,text:`${u}__text`,separator:`${u}__separator`,backIcon:`${u}__back-icon`,iconMobile:`${u}__icon--mobile`,iconDesktop:`${u}__icon--desktop`},m=(e=[],t,i)=>{var a;return t||i?{label:t||"Назад",href:"object"!=typeof i?i||"#":void 0,customLink:"object"==typeof i?i:void 0}:e.length&&e.length>1?(null==(a=e[e.length-1])?void 0:a.href)?e[e.length-1]:e[e.length-2]:{label:e[0].label||"Назад",href:e[0].href||"#",customLink:e[0].customLink}};function f(e){return n.createElement("svg",{viewBox:"0 0 24 24",width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},n.createElement("path",{d:"M8.22 12.53a.75.75 0 0 1 0-1.06l4.5-4.5a.75.75 0 1 1 1.06 1.06L9.81 12l3.97 3.97a.75.75 0 1 1-1.06 1.06l-4.5-4.5Z",clipRule:"evenodd",fill:"currentColor",fillRule:"evenodd"}))}function p(e){return n.createElement("svg",{viewBox:"0 0 24 24",width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},n.createElement("path",{d:"m11.28 17.03 4.5-4.5a.75.75 0 0 0 0-1.06l-4.5-4.5a.75.75 0 1 0-1.06 1.06L14.19 12l-3.97 3.97a.75.75 0 1 0 1.06 1.06Z",clipRule:"evenodd",fill:"currentColor",fillRule:"evenodd"}))}let b=({as:e,item:t,isBackward:i=!1,isLast:n,dataQa:s,onClick:r})=>(0,a.jsx)(a.Fragment,{children:t.href||t.customLink?(0,a.jsxs)(a.Fragment,{children:[t.customLink?(0,a.jsx)(a.Fragment,{children:t.customLink}):(0,a.jsxs)(e||"a",{href:t.href,"data-qa":s,className:h.link,title:t.label,onClick:r?e=>r(e,t.href):void 0,children:[i&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(d.P,{className:(0,l.A)(h.backIcon,h.iconDesktop),children:(0,a.jsx)(c.S,{})}),(0,a.jsx)(d.P,{className:(0,l.A)(h.backIcon,h.iconMobile),children:(0,a.jsx)(f,{})})]}),(0,a.jsx)("span",{className:h.linkLabel,children:t.label})]}),!i&&!n&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(d.P,{className:(0,l.A)(h.separator,h.iconDesktop),children:(0,a.jsx)(o,{})}),(0,a.jsx)(d.P,{className:(0,l.A)(h.separator,h.iconMobile),children:(0,a.jsx)(p,{})})]})]}):(0,a.jsx)("span",{"aria-current":"page","data-qa":s,className:h.text,title:t.label,children:t.label})});b.displayName="BreadcrumbsLink";let v=({as:e,items:t=[],dataQa:i,backwardHref:s,backwardLabel:c,onClick:o})=>{let d=(0,n.useRef)(null),u=(0,n.useCallback)(e=>{let t=d.current;if(!t)return;let i=(null==e?void 0:e.target).closest("a");if(!i)return;let a=t.getBoundingClientRect(),n=i.getBoundingClientRect();t.scrollTo({left:n.left-a.left-8+(t.scrollLeft??0),behavior:"smooth"})},[]),f=m(t,c,s),p=(e,t)=>{u(e),null==o||o(e,t)};return(0,a.jsx)("ul",{ref:d,className:(0,l.A)(h.list,h.desktopList),"data-qa":(0,r.g)(`${i}-desktop-list`,!!i),children:1===t.length||s||c?(0,a.jsx)("li",{className:(0,l.A)(h.item),children:(0,a.jsx)(b,{as:e,isBackward:!0,dataQa:(0,r.g)(`${i}-link`,!!i),item:f,onClick:p})}):(0,a.jsx)(a.Fragment,{children:t.map((n,s)=>(0,a.jsx)("li",{className:(0,l.A)(h.item,{[h.customItem]:n.customLink}),children:(0,a.jsx)(b,{as:e,item:n,dataQa:(0,r.g)(`${i}-link-${++s}`,!!i),isLast:s===t.length,onClick:p})},`${n.label}--${s}`))})})};v.displayName="DesktopBreadcrumbs";let g=({as:e,items:t=[],backwardLabel:i,backwardHref:n,dataQa:s,onClick:c})=>{let o=m(t,i,n);return(0,a.jsx)("ul",{className:(0,l.A)(h.list,h.mobileList),"data-qa":(0,r.g)(`${s}-mobile-list`,!!s),children:(0,a.jsx)("li",{className:(0,l.A)(h.item),children:(0,a.jsx)(b,{as:e,isBackward:!0,dataQa:(0,r.g)(`${s}-link`,!!s),item:o,onClick:c})})})};g.displayName="MobileBreadcrumbs";let x=(0,n.forwardRef)(({items:e=[],as:t,isMobile:i,onClick:n,backwardLabel:s,backwardHref:r,style:c,className:o,ellipsis:d=!1,isFullView:u=!1,dataQa:m,dataId:f,...p},b)=>{let x=e.length||s||r;return(0,a.jsx)(a.Fragment,{children:x&&(0,a.jsxs)("nav",{ref:b,"aria-label":"breadcrumbs",className:(0,l.A)(h.breadcrumbs,{[h.displayOne]:void 0===i&&!u,[h.breadcrumbsEllipsis]:d},o),style:c,...p,"data-id":f,"data-qa":m,children:[!0!==i&&(0,a.jsx)(v,{as:t,items:e,dataQa:m,backwardLabel:s,backwardHref:r,onClick:n||void 0}),!1!==i&&!u&&(0,a.jsx)(g,{as:t,items:e,dataQa:m,backwardLabel:s,backwardHref:r,onClick:n||void 0})]})})});x.displayName="Breadcrumbs"},25501:(e,t,i)=>{"use strict";i.d(t,{P:()=>r});var a=i(95155),n=i(29427),l=i(52951);i(89198);let s=Object.freeze({privateIcon:(0,l.g)("private-icon")}),r=({children:e,className:t,style:i,...l})=>(0,a.jsx)("span",{className:(0,n.A)(s.privateIcon,t),style:i,...l,children:e});r.displayName="PrivateIcon"},25602:(e,t,i)=>{"use strict";i.d(t,{B:()=>n,a:()=>a,b:()=>l});let a=Object.freeze({xs:Object.freeze({maxWidth:599}),s:Object.freeze({minWidth:600,maxWidth:767}),m:Object.freeze({minWidth:768,maxWidth:1023}),l:Object.freeze({minWidth:1024,maxWidth:1279}),xl:Object.freeze({minWidth:1280,maxWidth:1439}),"2xl":Object.freeze({minWidth:1440,maxWidth:1919}),"3xl":Object.freeze({minWidth:1920})}),n=Object.freeze(Object.keys(a)),l=Object.freeze(n.filter(e=>"xs"!==e));Object.freeze(n.filter(e=>"3xl"!==e))},29427:(e,t,i)=>{"use strict";function a(){for(var e,t,i=0,a="",n=arguments.length;i<n;i++)(e=arguments[i])&&(t=function e(t){var i,a,n="";if("string"==typeof t||"number"==typeof t)n+=t;else if("object"==typeof t)if(Array.isArray(t)){var l=t.length;for(i=0;i<l;i++)t[i]&&(a=e(t[i]))&&(n&&(n+=" "),n+=a)}else for(a in t)t[a]&&(n&&(n+=" "),n+=a);return n}(e))&&(a&&(a+=" "),a+=t);return a}i.d(t,{$:()=>a,A:()=>n});let n=a},32768:()=>{},37710:()=>{},42687:(e,t,i)=>{"use strict";i.d(t,{m:()=>c});var a=i(95155),n=i(29427),l=i(52951);i(83353);let s=(0,l.g)("container"),r=Object.freeze({container:s,states:{narrow:`${s}--narrow`}}),c=({children:e,as:t,fluid:i=!1,className:l="",...s})=>(0,a.jsx)(t||"div",{className:(0,n.A)(r.container,l,{[r.states.narrow]:!i}),...s,children:e});c.displayName="Container"},52951:(e,t,i)=>{"use strict";function a(e){return`finkit-modular-${e}`}i.d(t,{g:()=>a})},57471:(e,t,i)=>{"use strict";i.d(t,{N:()=>u});var a=i(95155),n=i(29427),l=i(12115),s=i(25501),r=i(52951);function c(e){return l.createElement("svg",{viewBox:"0 0 24 24",width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},l.createElement("path",{d:"M10.25 5.75c0 .414.336.75.75.75h5.44L5.22 17.72a.75.75 0 1 0 1.06 1.06L17.5 7.56V13a.75.75 0 0 0 1.5 0V5.75a.75.75 0 0 0-.75-.75H11a.75.75 0 0 0-.75.75Z",clipRule:"evenodd",fill:"currentColor",fillRule:"evenodd"}))}i(32768);let o=(0,r.g)("link"),d=Object.freeze({link:o,states:{inverted:`${o}--inverted`,disabled:`${o}--disabled`},content:`${o}__content`,icon:`${o}__icon`,size:{s:`${o}--s`,m:`${o}--m`}});function u({as:e,size:t="m",withIcon:i=!1,children:l,disabled:r,text:o,inverted:h,onClick:m,className:f,style:p,dataQa:b,dataId:v,...g}){let x=(0,n.A)(d.link,{[d.states.inverted]:h,[d.states.disabled]:r},d.size[t],f),$=o||l;return(0,a.jsx)(e||"a",{className:x,disabled:r,style:p,onClick:m,"aria-disabled":r,tabIndex:r?-1:0,...g,"data-id":v,"data-qa":b,children:i?(0,a.jsxs)("span",{className:d.content,children:[$,(0,a.jsx)(s.P,{className:d.icon,children:(0,a.jsx)(c,{})})]}):$})}u.displayName="Link"},61485:(e,t,i)=>{"use strict";i.d(t,{a:()=>m});var a=i(95155),n=i(12115),l=i(29427),s=i(25501),r=i(25602),c=i(52951);function o(e){return n.createElement("svg",{viewBox:"0 0 24 24",width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},n.createElement("path",{d:"M15.827 2.761A10.001 10.001 0 1 0 12 22a.75.75 0 0 0 .75-.75v-.004a.75.75 0 0 0-.75-.75A8.496 8.496 0 1 1 20.496 12c0 .414.336.75.75.75h.004A.75.75 0 0 0 22 12a10 10 0 0 0-6.173-9.239Z",clipRule:"evenodd",fill:"currentColor",fillRule:"evenodd"}))}i(89992);let d=["xxs","xs","s","m","l"],u=(0,c.g)("button"),h={button:u,label:`${u}__label`,icon:`${u}__icon`,spinner:`${u}__spinner`,states:{ghost:`${u}--ghost`,outline:`${u}--outline`,stretch:`${u}--stretch`,iconOnly:`${u}--icon-only`,iconLeft:`${u}--icon-left`,iconRight:`${u}--icon-right`,rounded:`${u}--rounded`,disabled:`${u}--disabled`,hidden:`${u}--hidden`}},m=(0,n.forwardRef)(({as:e,appearance:t="fill",children:i,className:c,disabled:u=!1,iconLeft:m,iconRight:f,label:p,pending:b,shape:v="default",size:g="m",stretch:x=!1,variant:$="primary",type:w,dataId:_,dataQa:j,style:y,onClick:N,...k},A)=>{let E=e||"button",R=p||i,C=(0,n.useMemo)(()=>"icon"===v||"circle-icon"===v,[v]),I="string"==typeof g&&d.includes(g),L=(0,n.useMemo)(()=>{let e={};if(g&&!I){let t=g?"string"==typeof g?g.split(" ").map(e=>{if(e.includes("-")){let t=e.indexOf("-");return[e.substring(0,t),e.substring(t+1,e.length)]}return[e]}).reduce((e,[t,i])=>({...e,[t]:void 0===i||i}),{}):g:{};e=r.B.reduce((e,i)=>{let a="xs"===i?`${h.button}--${t[i]}`:`${h.button}--${t[i]}-${i}`;return{...e,[a]:!!t[i]}},{})}return e},[I,g]),O=(0,n.useMemo)(()=>({[h.button]:!0,[`${h.button}--${$}`]:!0,[`${h.button}--${g}`]:I,[h.states.iconOnly]:C,[h.states.stretch]:!0===x,[`${h.states.stretch}:${x}`]:"string"==typeof x,[h.states.ghost]:"ghost"===t,[h.states.outline]:"outline"===t,[h.states.rounded]:"circle-icon"===v,[h.states.iconLeft]:m&&!C,[h.states.iconRight]:f&&!C,[h.states.disabled]:u,...L}),[t,u,m,C,f,I,L,v,g,x,$]),z=(0,n.useMemo)(()=>!!f&&(!C||!m),[m,f,C]),B=(0,n.useCallback)(e=>{u?e.preventDefault():null==N||N(e)},[N,u]);return(0,a.jsxs)(E,{className:(0,l.A)(c,{...O}),ref:A,style:y,type:"button"===E?w||"button":void 0,disabled:"button"===E?u:void 0,"aria-disabled":u||void 0,tabIndex:u?-1:0,onClick:B,...k,"data-qa":j,"data-id":_,children:[m&&(0,a.jsx)("span",{role:"img","aria-hidden":"true",className:(0,l.A)(h.icon,{[h.states.hidden]:b}),children:m}),R&&!C&&(0,a.jsx)("span",{className:(0,l.A)(h.label,{[h.states.hidden]:b}),children:R}),z&&(0,a.jsx)("span",{role:"img","aria-hidden":"true",className:(0,l.A)(h.icon,{[h.states.hidden]:b}),children:f}),b&&(0,a.jsx)("span",{role:"img","aria-hidden":"true",className:h.spinner,children:(0,a.jsx)(s.P,{children:(0,a.jsx)(o,{})})})]})});m.displayName="Button"},70735:(e,t,i)=>{"use strict";i.d(t,{S:()=>n});var a=i(12115);function n(e){return a.createElement("svg",{viewBox:"0 0 24 24",width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},a.createElement("path",{d:"M7.22 12.53a.75.75 0 0 1 0-1.06l6.5-6.5a.75.75 0 1 1 1.06 1.06L8.81 12l5.97 5.97a.75.75 0 1 1-1.06 1.06l-6.5-6.5Z",clipRule:"evenodd",fill:"currentColor",fillRule:"evenodd"}))}},73324:(e,t,i)=>{"use strict";i.d(t,{C:()=>m});var a=i(95155),n=i(29427),l=i(12115),s=i(25501),r=i(75972),c=i(52951);function o(e){return l.createElement("svg",{viewBox:"0 0 24 24",width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},l.createElement("defs",null,l.createElement("clipPath",{id:"a"},l.createElement("path",{fill:"#fff",fillOpacity:0,d:"M0 0h24v24H0z"}))),l.createElement("g",{clipPath:"url(#a)"},l.createElement("path",{d:"M2 12C2 6.477 6.477 2 12 2s10 4.477 10 10-4.477 10-10 10S2 17.523 2 12Zm1.5 0a8.5 8.5 0 1 1 17 0 8.5 8.5 0 0 1-17 0Zm12.28-1.72-4.25 4.25a.722.722 0 0 1-.53.22.722.722 0 0 1-.53-.22l-2.25-2.25a.743.743 0 0 1 0-1.06.743.743 0 0 1 1.06 0L11 12.94l3.72-3.72a.743.743 0 0 1 1.06 0 .743.743 0 0 1 0 1.06Z",clipRule:"evenodd",fill:"currentColor",fillRule:"evenodd"})))}function d(e){return l.createElement("svg",{viewBox:"0 0 24 24",width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},l.createElement("path",{d:"M12.617 2.035a4.736 4.736 0 0 0-1.232 0c-1.28.167-2.263 1.01-3.216 2.25-.944 1.231-1.97 3.005-3.284 5.28l-.06.105c-1.316 2.277-2.342 4.053-2.937 5.487-.6 1.447-.838 2.72-.344 3.912.159.382.366.74.617 1.069.785 1.024 2.007 1.454 3.56 1.659 1.539.202 3.59.202 6.22.202h.12c2.63 0 4.681 0 6.22-.202 1.553-.204 2.775-.635 3.56-1.66a4.75 4.75 0 0 0 .617-1.068c.494-1.192.256-2.465-.344-3.912-.595-1.434-1.621-3.21-2.937-5.487l-.06-.105c-1.315-2.275-2.34-4.049-3.285-5.28-.952-1.24-1.935-2.083-3.215-2.25ZM11.58 3.522a3.23 3.23 0 0 1 .844 0c.678.089 1.343.535 2.22 1.677.877 1.143 1.854 2.83 3.205 5.169 1.352 2.34 2.328 4.031 2.88 5.364.552 1.331.606 2.13.344 2.762-.108.261-.25.507-.422.731-.415.543-1.135.897-2.564 1.085-1.43.188-3.382.189-6.085.189s-4.655-.001-6.085-.19c-1.43-.187-2.149-.54-2.564-1.084a3.249 3.249 0 0 1-.422-.73c-.262-.632-.208-1.432.344-2.763.552-1.333 1.528-3.023 2.88-5.364 1.351-2.338 2.328-4.026 3.205-5.17.877-1.141 1.543-1.587 2.22-1.676Zm1.173 5.227a.75.75 0 0 0-1.5 0v5.5a.75.75 0 1 0 1.5 0v-5.5Zm-1.75 8.253a1 1 0 1 1 2-.005 1 1 0 0 1-2 .005Z",clipRule:"evenodd",fill:"currentColor",fillRule:"evenodd"}))}i(37710);let u=(0,c.g)("caption"),h=Object.freeze({caption:u,captionWithIcon:`${u}--with-icon`,content:`${u}__content`,icon:`${u}__icon`,text:`${u}__text`,size:{s:`${u}--s`,m:`${u}--m`},states:{success:`${u}--success`,error:`${u}--error`,warning:`${u}--warning`}});function m({as:e,children:t,state:i="default",size:l="m",text:c,withoutIcon:u=!1,lineClamp:f,role:p,dataQa:b,dataId:v,className:g,style:x,...$}){let w=c||t,_=!u&&["success","error","warning"].includes(i),j="success"===i?o:d,y=(0,n.A)(g,h.caption,h.size[l],{[h.captionWithIcon]:_,[h.states.success]:"success"===i,[h.states.error]:"error"===i,[h.states.warning]:"warning"===i});return(0,a.jsx)(e||"div",{className:y,style:x,role:p,...$,"data-id":v,"data-qa":b,children:(0,a.jsxs)("div",{className:h.content,children:[_&&w&&(0,a.jsx)(s.P,{className:h.icon,children:(0,a.jsx)(j,{})}),(0,a.jsx)("span",{className:(0,n.A)(h.text),style:{...f?{WebkitLineClamp:f,lineClamp:f,...r.l}:void 0},children:w})]})})}m.displayName="Caption"},75972:(e,t,i)=>{"use strict";i.d(t,{l:()=>a});let a={display:"-webkit-box",WebkitBoxOrient:"vertical",overflow:"hidden"}},80441:(e,t,i)=>{"use strict";function a(e){return void 0!==e}i.d(t,{i:()=>a})},80874:()=>{},83353:()=>{},89198:()=>{},89313:()=>{},89992:()=>{},94923:(e,t,i)=>{"use strict";i.d(t,{C:()=>d});var a=i(95155),n=i(12115),l=i(29427),s=i(17200),r=i(52951);i(89313);let c=(0,r.g)("chips"),o=Object.freeze({chips:c,chip:`${c}__item`,icon:`${c}__icon`,iconLeft:`${c}__icon-left`,iconRight:`${c}__icon-right`,label:`${c}__label`,variants:{primary:`${c}--primary`,secondary:`${c}--secondary`,tertiary:`${c}--tertiary`},activeVariants:{primary:`${c}--active-primary`,secondary:`${c}--active-secondary`},sizes:{s:`${c}--s`,m:`${c}--m`,l:`${c}--l`},selected:`${c}--selected`,indicator:`${c}__indicator`,indicatorVariant:{red:`${c}__indicator--red`,orange:`${c}__indicator--orange`,green:`${c}__indicator--green`,purple:`${c}__indicator--purple`,purpleSecondary:`${c}__indicator--purple-secondary`,blue:`${c}__indicator--blue`,pink:`${c}__indicator--pink`}}),d=(0,n.forwardRef)(({as:e,chips:t,value:i,variant:r="primary",activeVariant:c="primary",multiple:d,clearable:u,size:h="m",className:m,style:f,dataQa:p,dataId:b,onChipClick:v,...g},x)=>{let[$,w]=(0,n.useState)(d?[]:void 0),_=(0,n.useRef)(null);(0,n.useImperativeHandle)(x,()=>({getRoot:()=>_.current,getSelectedChips:()=>$})),(0,n.useEffect)(()=>{d?w(Array.isArray(i)?i:[]):w(i)},[i,d]);let j=d||u,y=e||"div",N=e=>d&&Array.isArray($)?$.includes(e):$===e,k=(e,t,i)=>{w(i),null==v||v(e,t,i)},A=(e,t)=>{if(d&&Array.isArray($))if(N(e)){let i=$.filter(t=>t!==e);k(e,t,i)}else k(e,t,[...$,e]);else{let i=u&&N(e)?void 0:e;k(e,t,i)}};return(0,a.jsx)("div",{ref:_,className:(0,l.A)(m,o.chips),style:f,...g,"data-id":b,"data-qa":p,children:t.map((e,t)=>(({id:e,label:t,href:i,iconLeft:n,iconRight:d,indicator:u},m)=>{let f=N(e),b=void 0!==i;return(0,a.jsxs)(y,{href:i,className:(0,l.A)(o.chip,o.sizes[h],o.activeVariants[c],o.variants[r],[{[o.selected]:f}]),role:b?void 0:j?"checkbox":"radio","aria-checked":b?void 0:f,"aria-label":t,tabIndex:b?void 0:0,"data-qa":(0,s.g)(`${p}-item-${++m}`,!!p),onClick:t=>{A(e,t)},onKeyDown:b?void 0:t=>{("Enter"===t.key||" "===t.key)&&(t.preventDefault(),A(e,t))},children:[n&&(0,a.jsx)("span",{className:(0,l.A)(o.icon,o.iconLeft),"aria-hidden":"true",children:n}),(0,a.jsx)("span",{className:(0,l.A)(o.label),children:t}),u&&(0,a.jsx)("div",{className:(0,l.A)(o.indicator,o.indicatorVariant[u])}),d&&(0,a.jsx)("span",{className:(0,l.A)(o.icon,o.iconRight),"aria-hidden":"true",children:d})]},e)})(e,t))})});d.displayName="Chips"},99700:(e,t,i)=>{"use strict";i.d(t,{A:()=>v,n:()=>f});var a=i(95155),n=i(12115),l=i(29427),s=i(80441),r=i(52951),c=i(73324),o=i(25501);i(80874);let d=(0,r.g)("accordion"),u=(0,r.g)("accordion-item"),h=Object.freeze({accordionItem:u,accordionItemInner:`${u}__inner`,body:`${u}__body`,header:`${u}__header`,content:`${u}__content`,contentInner:`${u}__content-inner`,controlIcon:`${u}__control-icon`,titleWrapper:`${u}__title-wrapper`,title:`${u}__title`,icon:`${u}__icon`,toggleIcon:`${u}__toggle-icon`,subTitle:`${u}__subtitle`,caption:`${u}__caption`,states:{disabled:`${u}--disabled`,active:`${u}--active`,focused:`${u}--focused`,withControl:`${u}--with-control`,withIcon:`${u}--with-icon`}}),m=Object.freeze({accordion:d,withoutOutline:`${d}--without-outline`,variants:{primary:`${d}--primary`,secondary:`${d}--secondary`}}),f=(0,n.forwardRef)(({multiple:e=!1,children:t,activeIndex:i,defaultActiveIndex:r=[],className:c,variant:o="primary",withoutOutline:d=!1,style:u,dataQa:h,dataId:f,onTabToggle:p,...b},v)=>{let[g,x]=(0,n.useState)(r),$=(0,s.i)(i),w=$?i:g,_=(e,t,i)=>i?e.includes(t)?e.filter(e=>e!==t):[...e,t]:e.includes(t)?[]:[t];return(0,a.jsx)("div",{ref:v,className:(0,l.A)(c,m.accordion,m.variants[o],{[m.withoutOutline]:d}),style:u,...b,"data-id":f,"data-qa":h,children:n.Children.map(t,t=>(0,n.isValidElement)(t)?(0,n.cloneElement)(t,{isActive:w.includes(t.props.id),onToggle:i=>{var a=t.props.id;if($){let t=_(w,a,e);null==p||p(t,i)}else x(t=>_(t,a,e))}}):t)})});function p(e){return n.createElement("svg",{viewBox:"0 0 24 24",width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},n.createElement("path",{d:"m17.03 11.28-4.5 4.5a.75.75 0 0 1-1.06 0l-4.5-4.5a.75.75 0 1 1 1.06-1.06L12 14.19l3.97-3.97a.75.75 0 1 1 1.06 1.06Z",clipRule:"evenodd",fill:"currentColor",fillRule:"evenodd"}))}f.displayName="Accordion";let b=e=>{let t=Array.from(document.querySelectorAll("[data-accordion-index]"));if(0===t.length)return;let i=t.findIndex(e=>e===document.activeElement),a=i;switch(e){case"next":a=(i+1)%t.length;break;case"previous":a=(i-1+t.length)%t.length}let n=0;for(;n++<t.length;){let i=t[a];if("true"!==i.getAttribute("data-disabled"))return void i.focus();a=(a+("next"===e?1:-1)+t.length)%t.length}},v=(0,n.forwardRef)(({id:e,title:t,tagTitle:i="span",subTitle:s,disabled:r=!1,isActive:d=!1,icon:u,controlIcon:m,errorMessage:f,children:v,className:g,style:x,dataQa:$,dataId:w,onControlClick:_,onToggle:j,...y},N)=>{let k=(0,n.useRef)(null),A=(0,n.useRef)(null),E=(0,n.useRef)(null);(0,n.useEffect)(()=>{let e=k.current,t=A.current;if(!e||!t)return;e.style.minHeight=d?t.scrollHeight+"px":"0",e.style.height=d?t.scrollHeight+"px":"0";let i=new ResizeObserver(()=>{d&&(e.style.minHeight=t.scrollHeight+"px",e.style.height=t.scrollHeight+"px")});return i.observe(t),()=>i.disconnect()},[d]);let R=!m&&!!u;return(0,a.jsxs)("div",{ref:N,className:(0,l.A)(g,h.accordionItem),style:x,...y,"data-id":w,"data-qa":$,children:[(0,a.jsx)("div",{className:(0,l.A)(h.accordionItemInner),children:(0,a.jsxs)("div",{className:(0,l.A)(h.body,[{[h.states.disabled]:r}]),children:[(0,a.jsxs)("button",{type:"button","aria-expanded":d,"aria-disabled":r,"data-disabled":r,"data-accordion-index":e,className:(0,l.A)(h.header,[{[h.states.active]:d}]),tabIndex:r?-1:0,onClick:r?void 0:j,ref:E,disabled:r,onKeyDown:e=>{if(!r)switch(e.key){case"Enter":case" ":e.preventDefault(),null==j||j(e);break;case"ArrowDown":e.preventDefault(),b("next");break;case"ArrowUp":e.preventDefault(),b("previous")}},children:[(0,a.jsxs)("div",{className:(0,l.A)(h.titleWrapper),children:[R&&(0,a.jsx)("span",{className:h.icon,children:u}),(0,a.jsx)(i,{className:(0,l.A)(h.title,{[h.states.withControl]:m}),children:t}),(0,a.jsx)(o.P,{className:(0,l.A)(h.toggleIcon,[{[h.states.active]:d},{[h.states.withControl]:m}]),children:(0,a.jsx)(p,{})}),m&&(0,a.jsx)(o.P,{className:h.controlIcon,onClick:e=>{var t;m&&e.stopPropagation(),null==(t=E.current)||t.blur(),null==_||_(e)},children:m})]}),s&&(0,a.jsx)("span",{className:(0,l.A)(h.subTitle,[{[h.states.withIcon]:R}]),children:s})]}),(0,a.jsx)("div",{className:(0,l.A)(h.content),style:{overflow:"hidden"},"aria-hidden":!d,ref:k,children:(0,a.jsx)("div",{className:h.contentInner,ref:A,children:v})})]})}),f&&(0,a.jsx)(c.C,{withoutIcon:!0,state:"error",text:f})]})});v.displayName="AccordionItem"}}]);
//# debugId=b5bc236f-dd0a-450a-a7a3-e2cb5b4779d0