skillgrid 0.0.40 → 0.0.42-dev-43812.1262429
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/Button/Button.d.ts +2 -1
- package/dist/components/Button/Button.type.d.ts +49 -65
- package/dist/components/Snackbar/index.d.ts +1 -0
- package/dist/components/Tooltip/Tooltip.type.d.ts +1 -4
- package/dist/index.cjs.js +11 -11
- package/dist/index.css +1 -1
- package/dist/index.es.js +1790 -1698
- package/package.json +2 -2
package/dist/index.cjs.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('./index.css');const g=require("react"),S=require("clsx")
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('./index.css');const g=require("react"),S=require("clsx"),St=require("@floating-ui/react"),Hr=require("rc-tooltip"),Ae=require("react-dom");function Vr(t){const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const n in t)if(n!=="default"){const s=Object.getOwnPropertyDescriptor(t,n);Object.defineProperty(r,n,s.get?s:{enumerable:!0,get:()=>t[n]})}}return r.default=t,Object.freeze(r)}const nr=Vr(g);function Xr(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var Kt={exports:{}},Wt={};/**
|
|
2
2
|
* @license React
|
|
3
3
|
* react-jsx-runtime.production.min.js
|
|
4
4
|
*
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
*
|
|
7
7
|
* This source code is licensed under the MIT license found in the
|
|
8
8
|
* LICENSE file in the root directory of this source tree.
|
|
9
|
-
*/var Oe;function
|
|
9
|
+
*/var Oe;function Zr(){if(Oe)return Wt;Oe=1;var t=g,r=Symbol.for("react.element"),n=Symbol.for("react.fragment"),s=Object.prototype.hasOwnProperty,i=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,a={key:!0,ref:!0,__self:!0,__source:!0};function l(d,h,b){var c,y={},v=null,u=null;b!==void 0&&(v=""+b),h.key!==void 0&&(v=""+h.key),h.ref!==void 0&&(u=h.ref);for(c in h)s.call(h,c)&&!a.hasOwnProperty(c)&&(y[c]=h[c]);if(d&&d.defaultProps)for(c in h=d.defaultProps,h)y[c]===void 0&&(y[c]=h[c]);return{$$typeof:r,type:d,key:v,ref:u,props:y,_owner:i.current}}return Wt.Fragment=n,Wt.jsx=l,Wt.jsxs=l,Wt}var qt={};/**
|
|
10
10
|
* @license React
|
|
11
11
|
* react-jsx-runtime.development.js
|
|
12
12
|
*
|
|
@@ -14,21 +14,21 @@
|
|
|
14
14
|
*
|
|
15
15
|
* This source code is licensed under the MIT license found in the
|
|
16
16
|
* LICENSE file in the root directory of this source tree.
|
|
17
|
-
*/var
|
|
18
|
-
`+
|
|
19
|
-
`),
|
|
20
|
-
`),J=
|
|
21
|
-
`+
|
|
17
|
+
*/var Pe;function Ur(){return Pe||(Pe=1,process.env.NODE_ENV!=="production"&&(function(){var t=g,r=Symbol.for("react.element"),n=Symbol.for("react.portal"),s=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),l=Symbol.for("react.provider"),d=Symbol.for("react.context"),h=Symbol.for("react.forward_ref"),b=Symbol.for("react.suspense"),c=Symbol.for("react.suspense_list"),y=Symbol.for("react.memo"),v=Symbol.for("react.lazy"),u=Symbol.for("react.offscreen"),p=Symbol.iterator,m="@@iterator";function _(o){if(o===null||typeof o!="object")return null;var w=p&&o[p]||o[m];return typeof w=="function"?w:null}var x=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function f(o){{for(var w=arguments.length,L=new Array(w>1?w-1:0),M=1;M<w;M++)L[M-1]=arguments[M];C("error",o,L)}}function C(o,w,L){{var M=x.ReactDebugCurrentFrame,V=M.getStackAddendum();V!==""&&(w+="%s",L=L.concat([V]));var U=L.map(function(q){return String(q)});U.unshift("Warning: "+w),Function.prototype.apply.call(console[o],console,U)}}var j=!1,E=!1,k=!1,T=!1,R=!1,I;I=Symbol.for("react.module.reference");function B(o){return!!(typeof o=="string"||typeof o=="function"||o===s||o===a||R||o===i||o===b||o===c||T||o===u||j||E||k||typeof o=="object"&&o!==null&&(o.$$typeof===v||o.$$typeof===y||o.$$typeof===l||o.$$typeof===d||o.$$typeof===h||o.$$typeof===I||o.getModuleId!==void 0))}function O(o,w,L){var M=o.displayName;if(M)return M;var V=w.displayName||w.name||"";return V!==""?L+"("+V+")":L}function D(o){return o.displayName||"Context"}function $(o){if(o==null)return null;if(typeof o.tag=="number"&&f("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof o=="function")return o.displayName||o.name||null;if(typeof o=="string")return o;switch(o){case s:return"Fragment";case n:return"Portal";case a:return"Profiler";case i:return"StrictMode";case b:return"Suspense";case c:return"SuspenseList"}if(typeof o=="object")switch(o.$$typeof){case d:var w=o;return D(w)+".Consumer";case l:var L=o;return D(L._context)+".Provider";case h:return O(o,o.render,"ForwardRef");case y:var M=o.displayName||null;return M!==null?M:$(o.type)||"Memo";case v:{var V=o,U=V._payload,q=V._init;try{return $(q(U))}catch{return null}}}return null}var N=Object.assign,F=0,H,X,Y,W,K,Z,rt;function _t(){}_t.__reactDisabledLog=!0;function Lt(){{if(F===0){H=console.log,X=console.info,Y=console.warn,W=console.error,K=console.group,Z=console.groupCollapsed,rt=console.groupEnd;var o={configurable:!0,enumerable:!0,value:_t,writable:!0};Object.defineProperties(console,{info:o,log:o,warn:o,error:o,group:o,groupCollapsed:o,groupEnd:o})}F++}}function Tt(){{if(F--,F===0){var o={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:N({},o,{value:H}),info:N({},o,{value:X}),warn:N({},o,{value:Y}),error:N({},o,{value:W}),group:N({},o,{value:K}),groupCollapsed:N({},o,{value:Z}),groupEnd:N({},o,{value:rt})})}F<0&&f("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var nt=x.ReactCurrentDispatcher,Mt;function Rt(o,w,L){{if(Mt===void 0)try{throw Error()}catch(V){var M=V.stack.trim().match(/\n( *(at )?)/);Mt=M&&M[1]||""}return`
|
|
18
|
+
`+Mt+o}}var Ut=!1,Bt;{var ie=typeof WeakMap=="function"?WeakMap:Map;Bt=new ie}function Yt(o,w){if(!o||Ut)return"";{var L=Bt.get(o);if(L!==void 0)return L}var M;Ut=!0;var V=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var U;U=nt.current,nt.current=null,Lt();try{if(w){var q=function(){throw Error()};if(Object.defineProperty(q.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(q,[])}catch(lt){M=lt}Reflect.construct(o,[],q)}else{try{q.call()}catch(lt){M=lt}o.call(q.prototype)}}else{try{throw Error()}catch(lt){M=lt}o()}}catch(lt){if(lt&&M&&typeof lt.stack=="string"){for(var P=lt.stack.split(`
|
|
19
|
+
`),it=M.stack.split(`
|
|
20
|
+
`),J=P.length-1,Q=it.length-1;J>=1&&Q>=0&&P[J]!==it[Q];)Q--;for(;J>=1&&Q>=0;J--,Q--)if(P[J]!==it[Q]){if(J!==1||Q!==1)do if(J--,Q--,Q<0||P[J]!==it[Q]){var gt=`
|
|
21
|
+
`+P[J].replace(" at new "," at ");return o.displayName&>.includes("<anonymous>")&&(gt=gt.replace("<anonymous>",o.displayName)),typeof o=="function"&&Bt.set(o,gt),gt}while(J>=1&&Q>=0);break}}}finally{Ut=!1,nt.current=U,Tt(),Error.prepareStackTrace=V}var Ot=o?o.displayName||o.name:"",It=Ot?Rt(Ot):"";return typeof o=="function"&&Bt.set(o,It),It}function le(o,w,L){return Yt(o,!1)}function ce(o){var w=o.prototype;return!!(w&&w.isReactComponent)}function ot(o,w,L){if(o==null)return"";if(typeof o=="function")return Yt(o,ce(o));if(typeof o=="string")return Rt(o);switch(o){case b:return Rt("Suspense");case c:return Rt("SuspenseList")}if(typeof o=="object")switch(o.$$typeof){case h:return le(o.render);case y:return ot(o.type,w,L);case v:{var M=o,V=M._payload,U=M._init;try{return ot(U(V),w,L)}catch{}}}return""}var st=Object.prototype.hasOwnProperty,bt={},Ce=x.ReactDebugCurrentFrame;function Gt(o){if(o){var w=o._owner,L=ot(o.type,o._source,w?w.type:null);Ce.setExtraStackFrame(L)}else Ce.setExtraStackFrame(null)}function wr(o,w,L,M,V){{var U=Function.call.bind(st);for(var q in o)if(U(o,q)){var P=void 0;try{if(typeof o[q]!="function"){var it=Error((M||"React class")+": "+L+" type `"+q+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof o[q]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw it.name="Invariant Violation",it}P=o[q](w,q,M,L,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(J){P=J}P&&!(P instanceof Error)&&(Gt(V),f("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",M||"React class",L,q,typeof P),Gt(null)),P instanceof Error&&!(P.message in bt)&&(bt[P.message]=!0,Gt(V),f("Failed %s type: %s",L,P.message),Gt(null))}}}var Cr=Array.isArray;function de(o){return Cr(o)}function kr(o){{var w=typeof Symbol=="function"&&Symbol.toStringTag,L=w&&o[Symbol.toStringTag]||o.constructor.name||"Object";return L}}function Sr(o){try{return ke(o),!1}catch{return!0}}function ke(o){return""+o}function Se(o){if(Sr(o))return f("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",kr(o)),ke(o)}var je=x.ReactCurrentOwner,jr={key:!0,ref:!0,__self:!0,__source:!0},Le,Te;function Lr(o){if(st.call(o,"ref")){var w=Object.getOwnPropertyDescriptor(o,"ref").get;if(w&&w.isReactWarning)return!1}return o.ref!==void 0}function Tr(o){if(st.call(o,"key")){var w=Object.getOwnPropertyDescriptor(o,"key").get;if(w&&w.isReactWarning)return!1}return o.key!==void 0}function $r(o,w){typeof o.ref=="string"&&je.current}function Er(o,w){{var L=function(){Le||(Le=!0,f("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",w))};L.isReactWarning=!0,Object.defineProperty(o,"key",{get:L,configurable:!0})}}function Rr(o,w){{var L=function(){Te||(Te=!0,f("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",w))};L.isReactWarning=!0,Object.defineProperty(o,"ref",{get:L,configurable:!0})}}var Ir=function(o,w,L,M,V,U,q){var P={$$typeof:r,type:o,key:w,ref:L,props:q,_owner:U};return P._store={},Object.defineProperty(P._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(P,"_self",{configurable:!1,enumerable:!1,writable:!1,value:M}),Object.defineProperty(P,"_source",{configurable:!1,enumerable:!1,writable:!1,value:V}),Object.freeze&&(Object.freeze(P.props),Object.freeze(P)),P};function Nr(o,w,L,M,V){{var U,q={},P=null,it=null;L!==void 0&&(Se(L),P=""+L),Tr(w)&&(Se(w.key),P=""+w.key),Lr(w)&&(it=w.ref,$r(w,V));for(U in w)st.call(w,U)&&!jr.hasOwnProperty(U)&&(q[U]=w[U]);if(o&&o.defaultProps){var J=o.defaultProps;for(U in J)q[U]===void 0&&(q[U]=J[U])}if(P||it){var Q=typeof o=="function"?o.displayName||o.name||"Unknown":o;P&&Er(q,Q),it&&Rr(q,Q)}return Ir(o,P,it,V,M,je.current,q)}}var ue=x.ReactCurrentOwner,$e=x.ReactDebugCurrentFrame;function At(o){if(o){var w=o._owner,L=ot(o.type,o._source,w?w.type:null);$e.setExtraStackFrame(L)}else $e.setExtraStackFrame(null)}var _e;_e=!1;function pe(o){return typeof o=="object"&&o!==null&&o.$$typeof===r}function Ee(){{if(ue.current){var o=$(ue.current.type);if(o)return`
|
|
22
22
|
|
|
23
|
-
Check the render method of \``+o+"`."}return""}}function
|
|
23
|
+
Check the render method of \``+o+"`."}return""}}function Mr(o){return""}var Re={};function Br(o){{var w=Ee();if(!w){var L=typeof o=="string"?o:o.displayName||o.name;L&&(w=`
|
|
24
24
|
|
|
25
|
-
Check the top-level render call using <`+
|
|
25
|
+
Check the top-level render call using <`+L+">.")}return w}}function Ie(o,w){{if(!o._store||o._store.validated||o.key!=null)return;o._store.validated=!0;var L=Br(w);if(Re[L])return;Re[L]=!0;var M="";o&&o._owner&&o._owner!==ue.current&&(M=" It was passed a child from "+$(o._owner.type)+"."),At(o),f('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',L,M),At(null)}}function Ne(o,w){{if(typeof o!="object")return;if(de(o))for(var L=0;L<o.length;L++){var M=o[L];pe(M)&&Ie(M,w)}else if(pe(o))o._store&&(o._store.validated=!0);else if(o){var V=_(o);if(typeof V=="function"&&V!==o.entries)for(var U=V.call(o),q;!(q=U.next()).done;)pe(q.value)&&Ie(q.value,w)}}}function Ar(o){{var w=o.type;if(w==null||typeof w=="string")return;var L;if(typeof w=="function")L=w.propTypes;else if(typeof w=="object"&&(w.$$typeof===h||w.$$typeof===y))L=w.propTypes;else return;if(L){var M=$(w);wr(L,o.props,"prop",M,o)}else if(w.PropTypes!==void 0&&!_e){_e=!0;var V=$(w);f("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",V||"Unknown")}typeof w.getDefaultProps=="function"&&!w.getDefaultProps.isReactClassApproved&&f("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function Or(o){{for(var w=Object.keys(o.props),L=0;L<w.length;L++){var M=w[L];if(M!=="children"&&M!=="key"){At(o),f("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",M),At(null);break}}o.ref!==null&&(At(o),f("Invalid attribute `ref` supplied to `React.Fragment`."),At(null))}}var Me={};function Be(o,w,L,M,V,U){{var q=B(o);if(!q){var P="";(o===void 0||typeof o=="object"&&o!==null&&Object.keys(o).length===0)&&(P+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var it=Mr();it?P+=it:P+=Ee();var J;o===null?J="null":de(o)?J="array":o!==void 0&&o.$$typeof===r?(J="<"+($(o.type)||"Unknown")+" />",P=" Did you accidentally export a JSX literal instead of a component?"):J=typeof o,f("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",J,P)}var Q=Nr(o,w,L,V,U);if(Q==null)return Q;if(q){var gt=w.children;if(gt!==void 0)if(M)if(de(gt)){for(var Ot=0;Ot<gt.length;Ot++)Ne(gt[Ot],o);Object.freeze&&Object.freeze(gt)}else f("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else Ne(gt,o)}if(st.call(w,"key")){var It=$(o),lt=Object.keys(w).filter(function(qr){return qr!=="key"}),fe=lt.length>0?"{key: someKey, "+lt.join(": ..., ")+": ...}":"{key: someKey}";if(!Me[It+fe]){var Wr=lt.length>0?"{"+lt.join(": ..., ")+": ...}":"{}";f(`A props object containing a "key" prop is being spread into JSX:
|
|
26
26
|
let props = %s;
|
|
27
27
|
<%s {...props} />
|
|
28
28
|
React keys must be passed directly to JSX without using spread:
|
|
29
29
|
let props = %s;
|
|
30
|
-
<%s key={someKey} {...props} />`,
|
|
30
|
+
<%s key={someKey} {...props} />`,fe,It,Wr,It),Me[It+fe]=!0}}return o===s?Or(Q):Ar(Q),Q}}function Pr(o,w,L){return Be(o,w,L,!0)}function zr(o,w,L){return Be(o,w,L,!1)}var Dr=zr,Fr=Pr;qt.Fragment=s,qt.jsx=Dr,qt.jsxs=Fr})()),qt}var ze;function Yr(){return ze||(ze=1,process.env.NODE_ENV==="production"?Kt.exports=Zr():Kt.exports=Ur()),Kt.exports}var e=Yr();const Gr=t=>t.as==="a",Kr=t=>t.as===void 0||t.as==="button",Jr="_button_11kkg_1",Qr="_link_11kkg_22",tn="_disabled_11kkg_27",en="_loading_11kkg_27",rn="_neutral_11kkg_59",nn="_accent_11kkg_63",on="_positive_11kkg_67",sn="_negative_11kkg_71",an="_contrast_11kkg_75",ln="_primary_11kkg_79",cn="_secondary_11kkg_80",dn="_tertiary_11kkg_81",un="_gray_11kkg_91",_n="_spaceBetween_11kkg_119",pn="_rightGroup_11kkg_119",fn="_withSubcaption_11kkg_127",gn="_label_11kkg_139",hn="_icon_11kkg_148",xn="_labelText_11kkg_153",bn="_isLink_11kkg_159",mn="_iconOnly_11kkg_174",yn="_stretched_11kkg_190",vn="_postfix_11kkg_195",wn="_underline_11kkg_225",Cn="_backButton_11kkg_428",kn="_warning_11kkg_1159",Sn="_subcaption_11kkg_1389",jn="_content_11kkg_1394",Ln="_contentHidden_11kkg_1398",Tn="_loaderWrapper_11kkg_1402",$n="_l_11kkg_22",En="_m_11kkg_1441",Rn="_s_11kkg_80",In="_xs_11kkg_1484",Nn="_noPaddings_11kkg_1506",Mn="_iconRight_11kkg_1542",Bn="_spin_11kkg_1",A={button:Jr,link:Qr,disabled:tn,loading:en,neutral:rn,accent:nn,positive:on,negative:sn,contrast:an,primary:ln,secondary:cn,tertiary:dn,gray:un,spaceBetween:_n,rightGroup:pn,withSubcaption:fn,label:gn,icon:hn,labelText:xn,isLink:bn,iconOnly:mn,stretched:yn,postfix:vn,underline:wn,backButton:Cn,warning:kn,subcaption:Sn,content:jn,contentHidden:Ln,loaderWrapper:Tn,l:$n,m:En,s:Rn,xs:In,noPaddings:Nn,iconRight:Mn,spin:Bn},An=new Set(["mode","size","buttonStyle","loading","disabled","stretched","iconRight","className","children","subcaption","postfix","iconLeft","as","showUnderline","isExternal","asBackButton","paddings"]),oe=t=>{const r={};for(const n in t)An.has(n)||(r[n]=t[n]);return r},On=(t,r,n)=>t?"gray":r==="primary"?{contrast:"neutral",gray:"gray"}[n]??"contrast":n,Pn={l:"typography-subtitle-1-semibold",m:"typography-label-2-regular",s:"typography-label-3-regular"};function zn(t){return Pn[t]||"typography-label-2-regular"}const tt={"typography-title-1-semibold":"_typography-title-1-semibold_1lyxn_1","typography-title-2-semibold":"_typography-title-2-semibold_1lyxn_10","typography-title-3-semibold":"_typography-title-3-semibold_1lyxn_19","typography-title-4-semibold":"_typography-title-4-semibold_1lyxn_28","typography-title-5-semibold":"_typography-title-5-semibold_1lyxn_37","typography-subtitle-1-semibold":"_typography-subtitle-1-semibold_1lyxn_45","typography-subtitle-2-semibold":"_typography-subtitle-2-semibold_1lyxn_53","typography-subtitle-3-semibold":"_typography-subtitle-3-semibold_1lyxn_62","typography-subtitle-4-semibold":"_typography-subtitle-4-semibold_1lyxn_71","typography-label-1-medium":"_typography-label-1-medium_1lyxn_80","typography-label-2-medium":"_typography-label-2-medium_1lyxn_89","typography-label-3-medium":"_typography-label-3-medium_1lyxn_97","typography-label-4-medium":"_typography-label-4-medium_1lyxn_106","typography-label-5-medium":"_typography-label-5-medium_1lyxn_115","typography-label-1-regular":"_typography-label-1-regular_1lyxn_124","typography-label-2-regular":"_typography-label-2-regular_1lyxn_133","typography-label-3-regular":"_typography-label-3-regular_1lyxn_141","typography-label-4-regular":"_typography-label-4-regular_1lyxn_150","typography-label-5-regular":"_typography-label-5-regular_1lyxn_159","typography-paragraph-1-regular":"_typography-paragraph-1-regular_1lyxn_168","typography-paragraph-2-regular":"_typography-paragraph-2-regular_1lyxn_176","typography-paragraph-3-regular":"_typography-paragraph-3-regular_1lyxn_185","typography-paragraph-4-regular":"_typography-paragraph-4-regular_1lyxn_194"},Dn="_loader_isv17_1",Fn="_spin_isv17_1",Wn="_accent_isv17_19",qn="_neutral_isv17_23",Hn="_positive_isv17_27",Vn="_negative_isv17_31",Xn="_gray_isv17_35",Zn="_special_isv17_39",Un="_contrast_isv17_43",Yn="_container_isv17_47",Gn="_overlay_isv17_57",Xt={loader:Dn,spin:Fn,accent:Wn,neutral:qn,positive:Hn,negative:Vn,gray:Xn,special:Zn,contrast:Un,container:Yn,overlay:Gn,"size-16":"_size-16_isv17_72","size-24":"_size-24_isv17_76","size-48":"_size-48_isv17_80","size-64":"_size-64_isv17_84","size-96":"_size-96_isv17_88"};var ge={exports:{}};/*!
|
|
31
31
|
Copyright (c) 2018 Jed Watson.
|
|
32
32
|
Licensed under the MIT License (MIT), see
|
|
33
33
|
http://jedwatson.github.io/classnames
|
|
34
|
-
*/var Fe;function Kn(){return Fe||(Fe=1,(function(t){(function(){var r={}.hasOwnProperty;function n(){for(var s="",l=0;l<arguments.length;l++){var d=arguments[l];d&&(s=i(s,a(d)))}return s}function a(s){if(typeof s=="string"||typeof s=="number")return s;if(typeof s!="object")return"";if(Array.isArray(s))return n.apply(null,s);if(s.toString!==Object.prototype.toString&&!s.toString.toString().includes("[native code]"))return s.toString();var l="";for(var d in s)r.call(s,d)&&s[d]&&(l=i(l,d));return l}function i(s,l){return l?s?s+" "+l:s+l:s}t.exports?(n.default=n,t.exports=n):window.classNames=n})()})(fe)),fe.exports}var Jn=Kn();const Ct=Vr(Jn),or=g.forwardRef(({size:t=24,variant:r="accent",className:n,"data-testid":a="loader",style:i,...s},l)=>{const d=Ct(Xt.loader,Xt[r],Xt[`size-${t}`],n);return e.jsx("svg",{ref:l,className:d,fill:"none",viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg","data-testid":a,style:i,...s,children:e.jsx("path",{d:"M14 8C14 11.3137 11.3137 14 8 14C4.68629 14 2 11.3137 2 8C2 4.68629 4.68629 2 8 2",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.33333"})})}),Qn=g.forwardRef((t,r)=>{const{loading:n=!1,size:a=24,variant:i="accent",children:s,className:l,style:d,"data-testid":h,...x}=t,c=Ct(Xt.container,l);return e.jsxs("div",{ref:r,className:c,style:d,"data-testid":h,...x,children:[s,n&&e.jsx("div",{className:Xt.overlay,children:e.jsx(or,{size:a,variant:i,"data-testid":`${h}-spinner`})})]})}),ae=g.forwardRef((t,r)=>t.children?e.jsx(Qn,{ref:r,...t}):e.jsx(or,{ref:r,...t})),to=({width:t=24,height:r=24,className:n="",color:a="currentColor",...i})=>e.jsx("svg",{className:n,width:t,height:r,fill:"none",xmlns:"http://www.w3.org/2000/svg",...i,children:e.jsx("path",{d:"M19 12H5m0 0 7 7m-7-7 7-7",stroke:a,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2"})}),eo={l:"typography-subtitle-1-semibold",m:"typography-subtitle-2-semibold",s:"typography-label-3-medium",xs:"typography-label-3-medium"},ro=t=>eo[t]||"typography-subtitle-2-semibold",We=({iconRight:t,iconLeft:r,children:n,postfix:a,subcaption:i,size:s,isAsButton:l})=>{const d=!!(i&&l&&s==="l"),h=!!(!n&&l&&r),x=l&&!!(d&&!n&&a||a&&!d);return e.jsxs(g.Fragment,{children:[d&&n&&e.jsxs(g.Fragment,{children:[e.jsx("span",{"data-testid":"button-label",className:S.clsx(V.label,V.labelText),children:n}),e.jsx("span",{"data-testid":"button-subcaption",className:S.clsx(V.subcaption,et["typography-label-4-regular"]),children:i})]}),!d&&n&&e.jsxs("span",{"data-testid":"button-label",className:V.label,children:[r&&e.jsx("span",{"data-testid":"button-left-icon",className:V.icon,children:r}),e.jsx("span",{className:S.clsx(V.labelText,{[V.isLink]:!l}),children:n}),!l&&t&&e.jsx("span",{"data-testid":"button-icon",className:S.clsx(V.icon,V.iconRight),children:t})]}),h&&e.jsx("span",{"data-testid":"button-icon",className:V.icon,children:l?r:t}),x&&e.jsx("div",{"data-testid":"button-right-group",className:V.rightGroup,children:e.jsx("span",{"data-testid":"button-postfix",className:S.clsx(V.postfix,et["typography-subtitle-2-semibold"]),children:a})})]})},be=g.forwardRef((t,r)=>{const{mode:n="primary",size:a="m",buttonStyle:i=ze(t)?"neutral":"accent",disabled:s=!1,className:l,children:d,tabIndex:h}=t,x=n==="tertiary",c=ze(t),b=Kr(t),C=x&&"paddings"in t?t.paddings??!0:!0,u=c?t.subcaption:void 0,f=c?t.postfix:void 0,y=c?t.stretched:void 0,_=!(b&&t.size===void 0),m=b&&_?t.iconLeft:void 0,p=b&&_?t.iconRight:void 0,v=!!(c&&"loading"in t&&t.loading),L=c?s:s||v,T=!L&&!v,k=c?t.iconLeft:void 0,$=!!(!d&&(c&&k&&!f||b&&p)),R=typeof y=="object"?y.justify==="space-between":void 0,I=ro(a),A=et[I],D=b?Pn(t.size??"m"):void 0,F=D?et[D]:void 0,E=zn(L,n,i),M=L||v?-1:h,q=S.clsx(V.button,V[a],V[n],V[i],b&&F,c&&A,{[V.disabled]:L,[V.loading]:c&&"loading"in t&&t.loading,[V.stretched]:y,[V.spaceBetween]:R,[V.withSubcaption]:!!(u&&a==="l"&&d),[V.iconOnly]:$,[V.link]:b,[V.underline]:b&&"showUnderline"in t&&t.showUnderline,[V.noPaddings]:x&&c&&!C},l),H={iconRight:p,iconLeft:c?k:m,children:d,postfix:f,subcaption:u,size:a,isAsButton:c};if(Yr(t)){const{href:U,onClick:G,style:z,target:K,rel:Z,"data-testid":Q,...it}=t,kt=De(it),bt=K??(t.isExternal?"_blank":void 0);let lt=Z;if(bt==="_blank"){const pt=new Set((Z??"").split(/\s+/).filter(Boolean));pt.add("noopener").add("noreferrer"),lt=Array.from(pt).join(" ")}const Et=pt=>{if(!T){pt.preventDefault();return}G==null||G(pt)};return e.jsx("a",{ref:r,className:q,href:T?U:void 0,tabIndex:M,onClick:Et,"data-testid":Q,"aria-disabled":L||v,style:z,target:bt,rel:lt,...kt,children:e.jsx(We,{...H})})}if(Gr(t)){const{type:U="button",onClick:G,style:z,"data-testid":K,...Z}=t,Q=De(Z),it=a==="l"?24:16,kt=bt=>{T&&G&&G(bt)};return e.jsxs("button",{ref:r,type:U,className:q,disabled:L,tabIndex:M,onClick:kt,"data-testid":K,"aria-disabled":L||v,style:z,...Q,children:[e.jsx("div",{className:S.clsx(V.content,{[V.contentHidden]:v}),children:e.jsx(We,{...H})}),v&&e.jsx("div",{className:V.loaderWrapper,children:e.jsx(ae,{variant:E,"aria-hidden":"true","data-testid":"button-loader",size:it})})]})}return null});be.displayName="Button";const ar=g.forwardRef((t,r)=>{const{iconLeft:n,className:a,...i}=t,l={...i,displayAs:"button",mode:"tertiary",buttonStyle:"neutral",size:"m",iconLeft:n??e.jsx(to,{}),className:S.clsx(V.backButton,et["typography-subtitle-1-semibold"],a)};return e.jsx(be,{ref:r,...l})});ar.displayName="Button.Back";const Ut=Object.assign(be,{Back:ar}),no="_avatar_19ug4_18",oo="_clickable_19ug4_40",ao="_icon_19ug4_57",so="_disabled_19ug4_62",io="_loading_19ug4_67",lo="_image_19ug4_73",co="_name_19ug4_73",wt={avatar:no,clickable:oo,icon:ao,disabled:so,loading:io,image:lo,name:co,"variant-filled":"_variant-filled_19ug4_125","color-brand":"_color-brand_19ug4_130","color-red":"_color-red_19ug4_134","color-orange":"_color-orange_19ug4_138","color-yellow":"_color-yellow_19ug4_142","color-green":"_color-green_19ug4_146","color-blue":"_color-blue_19ug4_150","color-lightblue":"_color-lightblue_19ug4_154","color-purple":"_color-purple_19ug4_158","color-gray":"_color-gray_19ug4_162","color-contrast":"_color-contrast_19ug4_166","variant-light":"_variant-light_19ug4_172","variant-outline":"_variant-outline_19ug4_244"},qe=99;function uo(t){return t<qe?`+${t}`:`${qe}+`}function oe(t){const r=typeof t=="string"?t:JSON.stringify(t);let n=5381;for(let a=0;a<r.length;a++){const i=r.charCodeAt(a);n=(n<<5)+n+i}return n>>>0}const _o=(t,r,n)=>Math.min(Math.max(t,r),n),po=["red","orange","yellow","green","blue","lightblue","purple"];function fo(t,r=po){if(!t)return"gray";const n=oe(t),a=Math.abs(n)%r.length;return r[a]}const He=2;function go(t){if(!t)return"";const r=t.trim().split(/\s+/);return r.length===1?t.slice(0,He).toUpperCase():r.map(n=>n[0]).slice(0,He).join("").toUpperCase()}const ho={24:8,32:12,40:12,44:12,48:12,56:16,84:24,96:24,208:8};function xo(t,r){return r==="circle"?t/2:ho[t]||12}const mo={24:"typography-subtitle-4-semibold",32:"typography-subtitle-2-semibold",40:"typography-subtitle-1-semibold",44:"typography-subtitle-1-semibold",48:"typography-subtitle-1-semibold",56:"typography-subtitle-1-semibold",84:"typography-title-3-semibold",96:"typography-title-3-semibold",208:"typography-title-1-semibold"};function bo(t){return mo[t]||"typography-subtitle-1-semibold"}const yo="data:image/svg+xml,%3csvg%20opacity='0.9'%20preserveAspectRatio='xMinYMin%20meet'%20viewBox='0%200%20208%20208'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cdefs%3e%3cfilter%20id='shadowW'%20filterUnits='userSpaceOnUse'%3e%3cfeDropShadow%20dx='-2'%20dy='-1'%20stdDeviation='5'%20flood-color='rgba(0,0,0,0.5)'/%3e%3c/filter%3e%3c/defs%3e%3cg%20filter='url(%23shadowW)'%3e%3cpath%20d='M23.9835%20174.59L113.41%20157.735L225.224%20191.671C225.224%20191.671%20250.259%20479.463%20243.525%20478.31C236.655%20477.167%20-7.79434%20482.039%20-8.17876%20476.943C-8.56308%20471.849%20-34.4445%20341.701%20-34.4445%20341.701L23.9835%20174.59Z'%20fill='darkgrey'/%3e%3cpath%20d='M-54.5558%20212.781C-85.688%20282.842%20-94.2122%20303.839%20-94.2122%20303.839L-213.504%20213.002C-214.953%20197.465%20-218.637%20181.68%20-225.636%20167.806C-234.412%20150.606%20-246.154%20149.138%20-259.595%20136.166C-267.368%20128.583%20-275.073%20140.242%20-267.3%20147.825L-259.338%20156.087C-258.869%20160.482%20-255.518%20171.861%20-254.634%20176.226C-267.475%20165.702%20-284.704%20150.246%20-300.665%20144.25C-305.079%20142.644%20-308.958%20144.46%20-311.08%20147.528C-314.628%20148.211%20-317.292%20151.458%20-317.858%20154.963C-321.103%20157.839%20-322.625%20163.354%20-319.254%20167.67C-321.407%20170.323%20-322.376%20173.998%20-320.433%20177.728C-320.274%20177.993%20-320.127%20178.12%20-320.106%20178.395C-320.997%20179.432%20-319.498%20182.78%20-320.337%20184.506C-324.035%20192.401%20-309.357%20221.757%20-285.221%20235.167C-277.291%20250.355%20-262.477%20259.485%20-261.354%20259.677C-234.512%20290.608%20-141.301%20400.999%20-97.2451%20436.169C-47.2868%20476.158%20-12.9855%20418.735%2010.6424%20317.115C34.2598%20215.358%2037.6457%20181.315%2037.6457%20181.315L116.374%20158.482C14.4423%20160.079%20-23.2964%20142.572%20-54.5558%20212.781Z'%20fill='darkgrey'/%3e%3cpath%20d='M116.781%20158.313L114.885%20158.871L61.4974%20174.391L38.0516%20181.145C38.0516%20181.145%2034.6758%20215.325%2011.0481%20316.945C9.47097%20323.572%207.88344%20330.061%206.27525%20336.275C-22.5942%20315.191%20-52.217%20295.131%20-82.0946%20275.368C-75.9632%20261.197%20-67.1116%20240.867%20-54.4359%20212.493C-30.4015%20158.477%20-2.57835%20156.516%2055.793%20157.512C72.5674%20157.77%2091.7239%20158.403%20114.133%20158.096C114.98%20158.309%20115.807%20158.247%20116.781%20158.313Z'%20fill='darkgrey'/%3e%3cpath%20d='M113.269%20157.745C175.26%20159.023%20252.771%20143.897%20266.382%20199.504C279.867%20255.26%20288.576%20280.774%20295.899%20320.932C303.221%20361.091%20322.043%20408.689%20271.897%20417.595C221.75%20426.502%20106.238%20444.495%20106.238%20444.495L78.8767%20384.662C78.8767%20384.662%20170.648%20343.813%20200.242%20332.303L185.17%20211.448L113.269%20157.745Z'%20fill='darkgrey'/%3e%3cpath%20d='M292.122%20302.108C260.506%20305.187%20228.942%20308.953%20198.219%20316.533L185.178%20211.585L140.855%20178.374L114.874%20158.871L114.144%20158.372L113.266%20157.746C127.138%20158.084%20141.774%20157.534%20156.283%20157.131C206.726%20155.818%20255.78%20156.271%20266.252%20199.654C277.643%20246.012%20285.665%20271.578%20292.122%20302.108Z'%20fill='darkgrey'/%3e%3cpath%20d='M108.001%20172.269C119.623%20168.485%20130.939%20164.308%20142.395%20160.12L112.224%20101.608L68.8441%20124.959C69.7222%20125.585%2079.0944%20154.372%2086.547%20177.904C93.7406%20175.977%20100.965%20174.463%20108.001%20172.269Z'%20fill='white'/%3e%3cpath%20d='M99.3655%20112.96C99.0934%20111.18%2098.8213%20109.401%2098.2722%20107.642L68.9864%20125.083C69.5682%20125.455%2073.8492%20138.148%2078.7406%20153.426C89.4856%20141.676%2097.5757%20127.773%2099.3655%20112.96Z'%20fill='darkgrey'/%3e%3cpath%20d='M144.524%2069.1209C143.075%2053.5829%20118.601%2039.3668%2099.9856%2038.5556C91.9262%2038.1943%2089.5107%2031.8684%2086.0605%2037.5291C77.5782%2051.7392%2049.6837%2094.9694%2052.2654%20110.837C56.0862%20133.951%2084.5691%20137.063%20102.228%20127.008C120.022%20116.942%20146.6%2091.1195%20144.524%2069.1209Z'%20fill='white'/%3e%3cpath%20d='M145.753%2072.4915C147.93%2068.3116%20146.317%2063.4483%20142.804%2060.944C142.656%2060.8166%20142.656%2060.8166%20142.507%2060.6894C143.028%2052.8957%20136.915%2047.1257%20129.979%2046.9567C129.007%2045.0914%20127.379%2043.691%20125.24%2042.883C124.903%2042.0778%20124.575%2041.4101%20123.982%2040.9009C122.651%2039.7551%20121.095%2039.3187%20119.441%2039.4435C118.081%2036.0843%20115.925%2033.2005%20112.495%2031.7977C110.348%2030.8519%20108.027%2031.304%20106.311%2032.4027C102.006%2028.5734%2096.789%2025.5051%2091.8112%2025.6038C89.736%2025.6218%2085.678%2026.8973%2084.2724%2032.1268C82.1968%2032.1449%2080.3522%2033.3917%2079.5546%2035.6676C78.427%2039.0759%2080.339%2042.3935%2083.1109%2044.2613C84.719%2045.3863%2086.9841%2046.0462%2089.0391%2045.7526C95.9026%2052.2969%20114.028%2063.1149%20118.148%2062.6657C115.532%2070.202%20113.218%2087.2698%20122.007%2088.1299C124.21%2095.3028%20116.99%20107.894%20121.368%20112.688C129.639%20104.863%20137.246%2095.5655%20141.359%2085.8391C141.496%2085.8288%20141.772%2085.808%20142.047%2085.7872C148.14%2083.9429%20149.527%2076.6377%20145.753%2072.4915Z'%20fill='darkgrey'/%3e%3cpath%20d='M140.151%20104.76C141.594%2096.3432%20132.67%2086.3542%20121.049%2088.3387C116.251%2096.3166%20111.305%20104.167%20106.21%20111.89C109.317%20116.364%20118.141%20121.376%20125.535%20120.264C133.872%20118.804%20138.613%20113.738%20140.151%20104.76Z'%20fill='white'/%3e%3cpath%20d='M156.755%20156.883C153.217%20165.043%20147.805%20172.237%20141.188%20178.136C133.925%20184.639%20125.011%20189.465%20114.809%20191.896C95.2214%20196.558%2072.2825%20189.842%2061.6836%20174.164C58.5559%20169.414%2056.4778%20163.894%2056%20157.561C72.7744%20157.818%2091.9311%20158.451%20114.34%20158.144L113.462%20157.519C127.463%20157.709%20142.098%20157.159%20156.755%20156.883Z'%20fill='white'/%3e%3c/g%3e%3c/svg%3e",vo="data:image/svg+xml,%3csvg%20viewBox='0%200%20208%20208'%20opacity='0.9'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20filter='url(%23shadow)'%3e%3cpath%20filter='url(%23shadow)'%20d='M127.173%2079.8894C127.189%2079.1933%20128.026%2079.1201%20128.436%2079.4316C128.754%2079.6091%20128.895%2080.1021%20128.809%2080.5518C129.241%2083.1982%20129.581%2085.7106%20130.013%2088.357C136.835%2079.7558%20149.235%2076.9989%20158.979%2083.174C168.086%2088.9941%20171.001%20111.745%20135.501%20120.502C131.5%20123.502%20117%20125.002%20111.753%20103.279C111.682%2093.2427%20118.526%2084.529%20127.173%2079.8894Z'%20fill='darkgrey'/%3e%3cpath%20d='M28.0441%20167.788C21.826%20195.052%2018.7311%20223.361%2014.1881%20250.885C9.42226%20279.982%204.68042%20308.967%20-0.0853729%20338.064L-1.00047%20342.848C14.5039%20346.419%2030.8401%20350.407%2046.3671%20353.868C90.9428%20363.918%20134.837%20376.598%20179.293%20387.201C200.345%20337.142%20219.778%20286.027%20235.82%20234.041C243.806%20208.213%20244.758%20181.282%20225.443%20160.043C216.099%20149.841%20204.347%20143.858%20191.629%20140.212C188.924%20139.377%20186.108%20138.517%20183.355%20137.905C179.635%20136.959%20175.781%20136.1%20171.989%20135.487C167.45%20134.592%20162.753%20133.893%20158.277%20133.243L127.871%20128.671L116.251%20126.895C115.457%20126.833%20114.686%20126.662%20113.915%20126.49C102.87%20124.724%2091.7381%20122.824%2080.6188%20123.013C69.1682%20123.13%2056.9012%20125.964%2047.8363%20133.224C36.9821%20141.825%2031.1109%20154.087%2028.0441%20167.788Z'%20fill='darkgrey'/%3e%3cpath%20d='M103.74%20123.732L95.6984%20197.532C95.6984%20197.532%20137.13%20157.315%20158.742%20133.268C155.051%20132.316%20151.227%20131.449%20147.465%20130.831C142.962%20129.929%20138.302%20129.224%20133.861%20128.569L103.74%20123.732Z'%20fill='white'/%3e%3cpath%20d='M97.8143%20115.298C99.0227%20116.625%20108.229%20179.332%20108.229%20179.332L148.012%20142.157L129%20100L97.8143%20115.298Z'%20fill='white'/%3e%3cpath%20d='M101.71%20148.534C100.068%20137.868%2098.402%20127.706%2098.0001%20127.274L112.673%20122C113.831%20131.449%20108.467%20141.173%20101.71%20148.534Z'%20fill='grey'/%3e%3cpath%20d='M121.545%2040.7383C111.161%2030.599%2085.3871%2035.4814%2071.93%2046.2862C66.0912%2051.0172%2060.5415%2047.9025%2061.6427%2054.0842C64.3767%2069.3597%2074.0239%20120.283%2082.7631%20126.794C100.374%20139.728%20121.191%20125.699%20127.329%20107.658C133.554%2089.7517%20136.293%2055.2372%20121.545%2040.7383Z'%20fill='white'/%3e%3cpath%20d='M56.0176%2041.9837C61.9834%2036.7831%2074.9427%2037.4243%2081.3074%2039.639C95.1733%2033.9235%20112.672%2032.6801%20120.968%2040.1438C131.22%2049.4771%20133.446%2067.5345%20132.042%2083.8281C125.848%2083.0025%20122.779%2078.6471%20116.718%2075.0286C97.7466%2073.2611%2084.9353%2061.0313%2082.042%2054.2301C78.3492%2058.2067%2063.3398%2059.3993%2058.12%2055.1646C51.1278%2048.7596%2054.1283%2043.6248%2056.0176%2041.9837Z'%20fill='darkgrey'/%3e%3cpath%20d='M142.838%2074.8316C138.561%2067.841%20123.674%2066.785%20116.5%2075.5006C118.078%2084.3219%20121.503%2092.5524%20122.726%20101.41C127.77%20102.657%20137.388%20100.869%20141.908%2095.386C147.168%2089.1414%20147.462%2082.3637%20142.838%2074.8316Z'%20fill='white'/%3e%3c/g%3e%3cdefs%3e%3cfilter%20id='shadow'%3e%3cfeDropShadow%20dx='0'%20dy='0'%20stdDeviation='3'%20flood-color='rgba(0,0,0,0.3)'/%3e%3c/filter%3e%3c/defs%3e%3c/svg%3e",wo="data:image/svg+xml,%3csvg%20opacity='0.9'%20viewBox='0%200%20208%20208'%20fill='currentColor'%20xmlns='http://www.w3.org/2000/svg'%3e%3cdefs%3e%3cmask%20id='hole'%3e%3crect%20width='100%25'%20height='100%25'%20fill='white'/%3e%3ccircle%20cx='121.333'%20cy='121.333'%20r='52'%20fill='black'/%3e%3c/mask%3e%3cfilter%20id='shadow'%3e%3cfeDropShadow%20dx='-2'%20dy='-1'%20stdDeviation='10'%20flood-color='rgba(0,0,0,0.2)'/%3e%3c/filter%3e%3c/defs%3e%3cg%20filter='url(%23shadow)'%3e%3ccircle%20cx='104'%20cy='225.333'%20r='95.3333'%20fill='darkgray'/%3e%3ccircle%20cx='104'%20cy='225.333'%20r='95.3333'%20fill='white'%20mask='url(%23hole)'/%3e%3ccircle%20cx='104'%20cy='86.6666'%20r='52'%20fill='white'/%3e%3c/g%3e%3c/svg%3e",Co="data:image/svg+xml,%3csvg%20opacity='0.9'%20viewBox='0%200%20208%20208'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20filter='url(%23shadow)'%3e%3cpath%20d='M168%20208V118.053C168%20113.824%20165.34%20110.052%20161.356%20108.633L134%2098.885V208H168Z'%20fill='darkgrey'/%3e%3cpath%20d='M40%2072.3726C40%2070.7381%2040.9944%2069.268%2042.5116%2068.6598L111.951%2040.8215C113.226%2040.3102%20114.675%2040.4893%20115.787%2041.2958L129.87%2051.5056C132.464%2053.3866%20134%2056.397%20134%2059.6017V208H40V72.3726Z'%20fill='white'/%3e%3cpath%20d='M114%2047.5001L126.325%2056.3036C127.376%2057.0544%20128%2058.2667%20128%2059.5585V208H114V47.5001Z'%20fill='darkgrey'/%3e%3c/g%3e%3cdefs%3e%3cfilter%20id='shadow'%3e%3cfeDropShadow%20dx='-2'%20dy='-1'%20stdDeviation='7'%20flood-color='rgba(0,0,0,0.2)'/%3e%3c/filter%3e%3c/defs%3e%3c/svg%3e",ko={male:yo,female:vo,org:Co,neutral:wo},re=g.forwardRef((t,r)=>{const{style:n,size:a=40,isLoading:i=!1,isDisabled:s=!1,shape:l="circle",variant:d="filled",placeholderType:h="neutral",name:x,imgSrc:c,imgAlt:b,icon:C,imgProps:u,colorScheme:f,className:y,"data-testid":_,...m}=t,{onClick:p,onPointerDown:v}=m,T=!s&&!i&&(!!p||!!v),[k,$]=g.useState(!1);g.useEffect(()=>{c&&$(!1)},[c]);const R=c&&!k?"image":C?"icon":x?"name":"placeholder",I=f||R==="name"&&fo(x)||"gray",A=bo(a),D=xo(a,l),F=S.clsx(y,wt.avatar,wt[`variant-${d}`],wt[`color-${I}`],et[A],{[wt.disabled]:s,[wt.loading]:i,[wt.clickable]:T}),E={"--avatar-size":`${a}px`,"--avatar-border-radius":`${D}px`,...n},M={icon:()=>e.jsx("span",{"data-testid":"avatar-icon",title:b||void 0,role:"img",className:wt.icon,children:C==null?void 0:C({})}),name:()=>e.jsx("span",{role:"textbox","data-testid":"avatar-name",className:wt.name,title:b||void 0,children:go(x||"")}),placeholder:()=>e.jsx("img",{...u,"data-testid":"avatar-placeholder",className:wt.image,src:ko[h],alt:b||void 0}),image:()=>e.jsx("img",{"data-testid":"avatar-image",...u,className:wt.image,src:c||void 0,alt:b||void 0,onLoad:()=>$(!1),onError:H=>{var U;$(!0),(U=u==null?void 0:u.onError)==null||U.call(u,H)}})},q=H=>{T&&(p==null||p(H))};return e.jsx("div",{ref:r,onClick:q,className:F,style:E,"data-testid":_,"aria-disabled":s||i,children:M[R](null)})}),So="_avatarGroup_157g4_1",Lo={avatarGroup:So},jo=t=>t==="rgba(0, 0, 0, 0)"||t==="transparent"||t.startsWith("rgba")&&t.endsWith(", 0)"),$o=t=>{if(!t)return null;let r=t;for(;r;){const a=window.getComputedStyle(r).backgroundColor;if(!jo(a))return a;r=r.parentElement}return null},ye=()=>{const t=g.useRef(null),[r,n]=g.useState(null);return g.useEffect(()=>{if(t.current){const a=$o(t.current);n(a)}},[]),{ref:t,bgColor:r}};function Ve(t,r,n){g.useEffect(()=>(window.addEventListener(t,r,n),()=>window.removeEventListener(t,r,n)),[t,r])}const Xe={passive:!0};function To(){const[t,r]=g.useState({width:0,height:0}),n=g.useCallback(()=>{r({width:window.innerWidth||0,height:window.innerHeight||0})},[]);return Ve("resize",n,Xe),Ve("orientationchange",n,Xe),g.useEffect(n,[]),t}function Eo(t=768){const{width:r}=To();return g.useMemo(()=>r<=t,[r,t])}const Ro=2,Io=t=>{const{avatars:r=[],size:n=40,overlap:a=.3,shape:i="circle",overflowCount:s=0,overflowProps:l,cutoutBackground:d}=t,x=-(n*a)+Ro,{ref:c,bgColor:b}=ye(),C=d||b||"#ffffff",u=Ct(Lo.avatarGroup),f={"--avatar-cutout-bg":C};return r.length===0?null:e.jsxs("div",{className:u,ref:c,style:f,children:[r.map((y,_)=>{if(y.wrapper){const m=y.wrapper;return e.jsx("div",{style:{marginRight:x},children:e.jsx(m,{children:e.jsx(re,{size:n,shape:i,...y})})},oe(y)+_)}return e.jsx("div",{style:{marginRight:x},children:e.jsx(re,{size:n,shape:i,...y})},oe(y)+_)}),s>0&&e.jsx("div",{style:{marginRight:x},children:e.jsx(re,{size:n,shape:i,icon:()=>uo(s),colorScheme:"gray",variant:"light",...l})})]})},sr=Object.assign(re,{Group:Io}),No="_overlay_1k1w9_6",Mo="_container_1k1w9_20",Ao="_grabber_1k1w9_98",Ht={overlay:No,container:Mo,"placement-default":"_placement-default_1k1w9_33","placement-bottom-left":"_placement-bottom-left_1k1w9_46","placement-bottom-right":"_placement-bottom-right_1k1w9_55","placement-center":"_placement-center_1k1w9_65","placement-left-drawer":"_placement-left-drawer_1k1w9_77","placement-right-drawer":"_placement-right-drawer_1k1w9_82","placement-bottom-sheet":"_placement-bottom-sheet_1k1w9_87",grabber:Ao,"grabber-top":"_grabber-top_1k1w9_116","grabber-bottom":"_grabber-bottom_1k1w9_117","grabber-right":"_grabber-right_1k1w9_123","grabber-left":"_grabber-left_1k1w9_132"};function Oo(t){switch(t){case"default":return"top";case"bottom-sheet":return"bottom";case"center":default:return}}const Bo=t=>{switch(t){case"bottom-sheet":return{initial:{transform:"translateY(100%)"},open:{opacity:1,transform:"translateY(0)"},close:{transform:"translateY(100%)"}};case"default":return{initial:{transform:"translateY(-100%)"},open:{opacity:1,transform:"translateY(0)"},close:{transform:"translateY(-100%)"}};case"bottom-right":case"right-drawer":return{initial:{transform:"translateX(100%)"},open:{opacity:1,transform:"translateX(0)"},close:{transform:"translateX(100%)"}};case"bottom-left":case"left-drawer":return{initial:{transform:"translateX(-100%)"},open:{opacity:1,transform:"translateX(0)"},close:{transform:"translateX(-100%)"}};default:return{initial:{transform:"scale(0.95)"},open:{opacity:1,transform:"scale(1)"},close:{transform:"scale(0.95)"}}}};function Po({open:t,onOpenChange:r,placement:n="center",disableEscapeKey:a=!1}){const i=g.useCallback(f=>{r==null||r(f)},[r]),s=Oo(n),{context:l,refs:d}=$t.useFloating({open:t,onOpenChange:i,placement:s}),h=Bo(n),{isMounted:x,styles:c}=$t.useTransitionStyles(l,{duration:200,common:{transitionProperty:"opacity, transform",transitionTimingFunction:"ease-in-out",transformOrigin:s??"center",position:"fixed",opacity:0},...h}),b=$t.useDismiss(l,{escapeKey:!a,outsidePress:!1}),C=$t.useRole(l,{role:"dialog"}),{getFloatingProps:u}=$t.useInteractions([b,C]);return g.useMemo(()=>({isMounted:x,transitionStyles:c,context:l,refs:d,getFloatingProps:u}),[x,c,l,d,u])}const zo=80;function Do({open:t,onOpenChange:r,placement:n="center",disableEscapeKey:a=!1,closeOnDrag:i}){const{getFloatingProps:s,transitionStyles:l,isMounted:d,context:h,refs:x}=Po({open:t,onOpenChange:r,placement:n,disableEscapeKey:a}),c=g.useRef({startX:0,startY:0,dragging:!1}),[b,C]=g.useState(0),u=i==null?void 0:i.direction,f=(i==null?void 0:i.threshold)??zo,y=u==="top"||u==="bottom",_=t&&!!u;g.useEffect(()=>{t||(c.current.dragging=!1,C(0))},[t]);const m=g.useCallback(k=>{_&&(c.current.dragging=!0,c.current.startX=k.clientX,c.current.startY=k.clientY,C(0))},[_]),p=g.useCallback(k=>{if(!c.current.dragging||!_)return;const $=k.clientX-c.current.startX,R=k.clientY-c.current.startY;let I;switch(u){case"bottom":I=Math.max(0,R);break;case"top":I=Math.max(0,-R);break;case"right":I=Math.max(0,$);break;case"left":I=Math.max(0,-$);break;default:I=y?R:$}C(I)},[_,u,y]),v=g.useCallback(k=>{var $,R;if(!(!c.current.dragging||!_)){c.current.dragging=!1;try{(R=($=k.currentTarget).hasPointerCapture)!=null&&R.call($,k.pointerId)&&k.currentTarget.releasePointerCapture(k.pointerId)}catch{}b>=f?r(!1):C(0)}},[b,f,r,_]),L=g.useMemo(()=>{if(!_)return l;if(c.current.dragging){const k={...l,transitionProperty:"none"};if(b>0){const $=u==="left"||u==="top"?-b:b;k.transform=y?`translateY(${$}px)`:`translateX(${$}px)`}return k}return l},[l,b,_,y,u]),T=g.useCallback(k=>s(_?{...k,onPointerDown:m,onPointerUp:v,onPointerMove:p,onPointerCancel:v}:k),[s,m,p,v,_]);return g.useMemo(()=>({isMounted:d,context:h,refs:x,transitionStyles:L,getFloatingProps:T}),[d,L,T,h,x])}const ir=g.forwardRef((t,r)=>{const{placement:n="default",open:a,onOpenChange:i,overlayProps:s,portalProps:l,focusManagement:d,children:h,disableOutsideClick:x=!1,disableEscapeKey:c=!1,disableOverlay:b=!1,closeOnDrag:C,className:u,style:f,"data-testid":y,..._}=t;a===void 0&&process.env.NODE_ENV!=="production"&&console.error("Dialog: компонент должен быть контролируемым. Используйте пропсы open и onOpenChange.");const m=Do({open:a,onOpenChange:i,placement:n,disableEscapeKey:c,closeOnDrag:C}),{isMounted:p,transitionStyles:v}=m,L=$t.useMergeRefs([r,m.refs.setFloating]),T=()=>{x||i(!1)};return p?e.jsxs($t.FloatingPortal,{...l,children:[!b&&e.jsx($t.FloatingOverlay,{onPointerDown:T,"data-testid":"dialog-overlay",className:S.clsx(Ht.overlay,s==null?void 0:s.className),lockScroll:(s==null?void 0:s.lockScroll)??!0,style:{opacity:v==null?void 0:v.opacity,transition:v==null?void 0:v.transition,...s==null?void 0:s.style}}),e.jsx($t.FloatingFocusManager,{initialFocus:1/0,...d,context:{...m.context,...d==null?void 0:d.context},children:e.jsxs("section",{ref:L,"aria-modal":"true",role:"dialog",className:S.clsx(u,Ht.container,Ht[`placement-${n}`]),style:{...f,...v},"data-testid":y,...m.getFloatingProps(_),children:[h,C&&e.jsx("div",{className:S.clsx(Ht.grabber,Ht[`grabber-${C.direction}`]),role:"presentation","aria-hidden":"true","data-testid":y?`${y}-grabber`:void 0})]})})]}):null}),Fo="_container_1h1i8_1",Wo="_header_1h1i8_20",qo="_withBorder_1h1i8_55",Ho="_title_1h1i8_39",Vo="_subTitle_1h1i8_70",Xo="_leftActionsStack_1h1i8_81",Uo="_rightActionsStack_1h1i8_89",Zo="_content_1h1i8_97",Yo="_footer_1h1i8_105",vt={container:Fo,header:Wo,"title-actions-actions":"_title-actions-actions_1h1i8_39","actions-title-actions":"_actions-title-actions_1h1i8_47",withBorder:qo,title:Ho,subTitle:Vo,leftActionsStack:Xo,rightActionsStack:Uo,content:Zo,footer:Yo},Go="_typography_zt7xg_1",Ko="_disabled_zt7xg_8",Jo="_primary_zt7xg_13",Qo="_secondary_zt7xg_18",ta="_tertiary_zt7xg_23",ea="_accent_zt7xg_28",ra="_positive_zt7xg_38",na="_negative_zt7xg_48",oa="_warning_zt7xg_58",aa="_special_zt7xg_68",sa="_contrast_zt7xg_78",Dt={typography:Go,disabled:Ko,primary:Jo,secondary:Qo,tertiary:ta,accent:ea,"accent-secondary":"_accent-secondary_zt7xg_33",positive:ra,"positive-secondary":"_positive-secondary_zt7xg_43",negative:na,"negative-secondary":"_negative-secondary_zt7xg_53",warning:oa,"warning-secondary":"_warning-secondary_zt7xg_63",special:aa,"special-secondary":"_special-secondary_zt7xg_73",contrast:sa,"contrast-secondary":"_contrast-secondary_zt7xg_83"},ia={1:"h1",2:"h2",3:"h3",4:"h4",5:"h5"},Ue=t=>{const r=nr.forwardRef(({size:n=3,children:a,className:i,"data-testid":s,as:l,fontWeight:d="semibold",disabled:h=!1,typographyStyle:x="primary",...c},b)=>{const C=l||ia[n],u=S.clsx(Dt.typography,et[`typography-${t}-${n}-${d}`],Dt[x],{[Dt.disabled]:h},i);return a?e.jsx(C,{ref:b,className:u,"data-testid":s,...c,children:a}):null});return r.displayName=`Typography.${t==="title"?"Title":"Subtitle"}`,r},Ze=t=>{const r=nr.forwardRef(({size:n=3,children:a,className:i,"data-testid":s,as:l="p",fontWeight:d="regular",disabled:h=!1,typographyStyle:x="primary",...c},b)=>{const C=l,u=S.clsx(Dt.typography,et[`typography-${t}-${n}-${d}`],Dt[x],{[Dt.disabled]:h},i);return a?e.jsx(C,{ref:b,className:u,"data-testid":s,...c,children:a}):null});return r.displayName=`Typography.${t.charAt(0).toUpperCase()+t.slice(1)}`,r},It={Title:Ue("title"),Subtitle:Ue("subtitle"),Label:Ze("label"),Paragraph:Ze("paragraph")},la=t=>e.jsx("svg",{width:"100%",height:"100%",stroke:"currentColor",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t,children:e.jsx("path",{d:"M14 2L2 14M2 2L14 14",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})}),ca=t=>e.jsx("svg",{width:"100%",height:"100%",stroke:"currentColor",fill:"none",viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg",...t,children:e.jsx("path",{d:"M11 2 L5 8 L11 14",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})}),{Paragraph:da,Title:ua}=It,_a={size:"xs",mode:"primary",buttonStyle:"gray"},Ye=t=>{const{props:r,wrapper:n}=t,a={..._a,...r};return n?e.jsx(n,{children:e.jsx(Ut,{...a})}):e.jsx(Ut,{...a})},pa=g.forwardRef((t,r)=>{const{open:n,onOpenChange:a,size:i,placement:s="default",rightActionsSlot:l=[],leftActionsSlot:d=[],closeButton:h={show:!0},backButton:x={show:!1},title:c,subTitle:b,children:C,footer:u,hideHeaderDivider:f=!1,hideFooterDivider:y=!1,classNames:_,styles:m,headerTemplate:p,"data-testid":v,...L}=t,T=s==="bottom-sheet"?"actions-title-actions":"title-actions-actions",k=s==="bottom-sheet"?{direction:"bottom",threshold:80}:t==null?void 0:t.closeOnDrag,$=()=>a(!1),R=!!(c||b||h.show||x.show||l.length||d.length),I=c?`${v||"modal"}-title`:void 0,A=b?`${v||"modal"}-subtitle`:void 0;return e.jsx(ir,{open:n,onOpenChange:a,placement:s,ref:r,style:{width:i,...m==null?void 0:m.dialog},closeOnDrag:k,className:_==null?void 0:_.dialog,...L,children:e.jsxs("div",{className:S.clsx(vt.container,_==null?void 0:_.container),style:{width:i,...m==null?void 0:m.container},"data-testid":v?`${v}-container`:void 0,children:[R&&e.jsxs("div",{"data-testid":v?`${v}-header`:void 0,className:S.clsx(vt.header,!f&&vt.withBorder,vt[p||T],_==null?void 0:_.header),style:m==null?void 0:m.header,children:[e.jsxs("div",{className:S.clsx(vt.leftActionsStack,_==null?void 0:_.leftActionsStack),style:m==null?void 0:m.leftActionsStack,children:[x.show&&e.jsx(Ye,{wrapper:x.wrapper,props:{iconLeft:e.jsx(ca,{}),"aria-label":"Back",onClick:$,...x==null?void 0:x.props}}),d]}),e.jsx("div",{id:I,className:S.clsx(vt.title,_==null?void 0:_.title),style:m==null?void 0:m.title,children:typeof c=="string"?e.jsx(ua,{size:5,children:c}):c}),e.jsxs("div",{className:S.clsx(vt.rightActionsStack,_==null?void 0:_.rightActionsStack),style:m==null?void 0:m.rightActionsStack,children:[l,h.show&&e.jsx(Ye,{wrapper:h.wrapper,props:{iconLeft:e.jsx(la,{}),"aria-label":"Close modal",onClick:$,...h==null?void 0:h.props}})]}),b&&e.jsx("div",{id:A,className:S.clsx(vt.subTitle,_==null?void 0:_.subTitle),style:m==null?void 0:m.subTitle,children:typeof b=="string"?e.jsx(da,{size:2,typographyStyle:"secondary",children:b}):b})]}),e.jsx("div",{className:S.clsx(vt.content,_==null?void 0:_.content),style:{...m==null?void 0:m.content},"data-testid":v?`${v}-content`:void 0,children:C}),u&&e.jsx("div",{"data-testid":v?`${v}-footer`:void 0,className:S.clsx(vt.footer,!y&&vt.withBorder,_==null?void 0:_.footer),style:m==null?void 0:m.footer,children:u})]})})}),fa=()=>e.jsx("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"currentColor",stroke:"none",xmlns:"http://www.w3.org/2000/svg",children:e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 1C5.92487 1 1 5.92487 1 12C1 18.0751 5.92487 23 12 23C18.0751 23 23 18.0751 23 12C23 5.92487 18.0751 1 12 1ZM12 7C11.4477 7 11 7.44772 11 8C11 8.55228 11.4477 9 12 9H12.01C12.5623 9 13.01 8.55228 13.01 8C13.01 7.44772 12.5623 7 12.01 7H12ZM13 12C13 11.4477 12.5523 11 12 11C11.4477 11 11 11.4477 11 12V16C11 16.5523 11.4477 17 12 17C12.5523 17 13 16.5523 13 16V12Z"})}),ga=()=>e.jsx("svg",{width:"23",height:"22",viewBox:"0 0 23 22",fill:"none",stroke:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:e.jsx("path",{d:"M5.09436 10.2288C5.03221 9.82823 4.99996 9.41786 4.99996 9C4.99996 4.58172 8.60525 1 13.0526 1C17.4999 1 21.1052 4.58172 21.1052 9C21.1052 9.99807 20.9213 10.9535 20.5852 11.8345C20.5154 12.0175 20.4804 12.109 20.4646 12.1804C20.4489 12.2512 20.4428 12.301 20.4411 12.3735C20.4394 12.4466 20.4493 12.5272 20.4692 12.6883L20.8717 15.9585C20.9153 16.3125 20.9371 16.4895 20.8782 16.6182C20.8266 16.731 20.735 16.8205 20.6211 16.8695C20.4911 16.9254 20.3146 16.8995 19.9617 16.8478L16.7765 16.3809C16.6101 16.3565 16.527 16.3443 16.4512 16.3448C16.3763 16.3452 16.3245 16.3507 16.2511 16.3661C16.177 16.3817 16.0823 16.4172 15.893 16.4881C15.0097 16.819 14.0524 17 13.0526 17C12.6344 17 12.2237 16.9683 11.8227 16.9073M6.63158 21C9.59648 21 12 18.5376 12 15.5C12 12.4624 9.59648 10 6.63158 10C3.66668 10 1.26316 12.4624 1.26316 15.5C1.26316 16.1106 1.36028 16.6979 1.53955 17.2467C1.61533 17.4787 1.65322 17.5947 1.66566 17.6739C1.67864 17.7567 1.68091 17.8031 1.67608 17.8867C1.67145 17.9668 1.65141 18.0573 1.61134 18.2383L1 21L3.9948 20.591C4.15827 20.5687 4.24 20.5575 4.31137 20.558C4.38652 20.5585 4.42641 20.5626 4.50011 20.5773C4.5701 20.5912 4.67416 20.6279 4.88227 20.7014C5.43059 20.8949 6.01911 21 6.63158 21Z",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})}),ha=()=>e.jsx("svg",{width:"22",height:"22",viewBox:"0 0 22 22",fill:"currentColor",stroke:"none",xmlns:"http://www.w3.org/2000/svg",children:e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 11C0 4.92487 4.92487 0 11 0C17.0751 0 22 4.92487 22 11C22 17.0751 17.0751 22 11 22C4.92487 22 0 17.0751 0 11ZM16.2071 7.29289C16.5976 7.68342 16.5976 8.31658 16.2071 8.70711L10.2071 14.7071C9.81658 15.0976 9.18342 15.0976 8.79289 14.7071L5.79289 11.7071C5.40237 11.3166 5.40237 10.6834 5.79289 10.2929C6.18342 9.90237 6.81658 9.90237 7.20711 10.2929L9.5 12.5858L14.7929 7.29289C15.1834 6.90237 15.8166 6.90237 16.2071 7.29289Z"})}),xa=()=>e.jsx("svg",{width:"22",height:"22",viewBox:"0 0 22 22",fill:"currentColor",stroke:"none",xmlns:"http://www.w3.org/2000/svg",children:e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11 0C4.92487 0 0 4.92487 0 11C0 17.0751 4.92487 22 11 22C17.0751 22 22 17.0751 22 11C22 4.92487 17.0751 0 11 0ZM12 7C12 6.44772 11.5523 6 11 6C10.4477 6 10 6.44772 10 7V11C10 11.5523 10.4477 12 11 12C11.5523 12 12 11.5523 12 11V7ZM11 14C10.4477 14 10 14.4477 10 15C10 15.5523 10.4477 16 11 16H11.01C11.5623 16 12.01 15.5523 12.01 15C12.01 14.4477 11.5623 14 11.01 14H11Z"})}),ma=()=>e.jsx("svg",{width:"22",height:"20",viewBox:"0 0 22 20",fill:"currentColor",stroke:"none",xmlns:"http://www.w3.org/2000/svg",children:e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.556 0.392576C9.99433 0.136202 10.4918 0 11 0C11.5082 0 12.0057 0.136202 12.444 0.392576C12.882 0.648777 13.2446 1.01526 13.5002 1.45305L13.503 1.45776L21.6098 15.5175L21.6175 15.5312C21.8676 15.9811 21.9986 16.4885 22 17.0032C22.0014 17.5179 21.8731 18.026 21.6255 18.4773C21.3778 18.9288 21.018 19.3098 20.5781 19.5786C20.1379 19.8477 19.6345 19.994 19.1182 19.9999L19.1068 20.0001L2.88178 20C2.36548 19.9941 1.86205 19.8477 1.4219 19.5786C0.982049 19.3098 0.62222 18.9288 0.374484 18.4773C0.126864 18.026 -0.00137604 17.5179 1.1135e-05 17.0032C0.00139837 16.4885 0.132377 15.9811 0.382473 15.5312L0.390218 15.5175L8.49974 1.45305C8.75537 1.01525 9.11797 0.648777 9.556 0.392576ZM12 7.06811C12 6.51582 11.5523 6.06811 11 6.06811C10.4477 6.06811 10 6.51582 10 7.06811V11.0454C10 11.5977 10.4477 12.0454 11 12.0454C11.5523 12.0454 12 11.5977 12 11.0454V7.06811ZM11 14.0227C10.4477 14.0227 10 14.4704 10 15.0227C10 15.575 10.4477 16.0227 11 16.0227H11.0096C11.5619 16.0227 12.0096 15.575 12.0096 15.0227C12.0096 14.4704 11.5619 14.0227 11.0096 14.0227H11Z"})}),Jt={avatar:{icon:null,colorScheme:"gray"},info:{icon:fa,colorScheme:"gray"},success:{icon:ha,colorScheme:"green"},warning:{icon:ma,colorScheme:"yellow"},error:{icon:xa,colorScheme:"red"},dialog:{icon:ga,colorScheme:"blue"}},ba="_container_dd9oq_1",ya={container:ba},va="_container_29epc_1",wa="_children_29epc_10",Ca="_iconSlot_29epc_10",ka="_textBlock_29epc_17",Sa="_title_29epc_24",La="_subtitle_29epc_24",Pt={container:va,children:wa,iconSlot:Ca,textBlock:ka,title:Sa,subtitle:La},Qt={m:{title:"typography-subtitle-1-semibold",subtitle:"typography-paragraph-3-regular"},l:{title:"typography-title-5-semibold",subtitle:"typography-paragraph-2-regular"}};function ja(t){return(Qt==null?void 0:Qt[t])||Qt.m}const lr=t=>{const{iconSlot:r,title:n,subTitle:a,styles:i,classNames:s,children:l,"data-testid":d,size:h="m"}=t,x=ja(h);return e.jsxs("div",{className:S.clsx(Pt.container,s==null?void 0:s.container),style:i==null?void 0:i.container,"data-testid":d,children:[r&&e.jsx("div",{style:i==null?void 0:i.iconSlot,className:S.clsx(Pt.iconSlot,s==null?void 0:s.iconSlot),children:r}),(n||a)&&e.jsxs("div",{className:S.clsx(Pt.textBlock,s==null?void 0:s.textBlock),children:[n&&e.jsx("p",{style:i==null?void 0:i.title,className:S.clsx(Pt.title,et[x.title],s==null?void 0:s.title),children:n}),a&&e.jsx("p",{style:i==null?void 0:i.subTitle,className:S.clsx(Pt.subtitle,et[x.subtitle],s==null?void 0:s.subTitle),children:a})]}),l&&e.jsx("div",{className:S.clsx(Pt.children,s==null?void 0:s.children),children:l})]})},$a=t=>{const{open:r,onOpenChange:n,placement:a="default",variant:i="info",title:s,description:l,children:d,variantAvatarProps:h,"data-testid":x,styles:c,classNames:b,...C}=t,{icon:u,colorScheme:f}=(Jt==null?void 0:Jt[i])||Jt.info,_=i==="avatar"?{size:48,colorScheme:"gray",variant:"light","data-testid":"alert-avatar",...h}:{size:48,icon:u,colorScheme:f,variant:"light",style:{fontSize:24,outline:"none"},"data-testid":"alert-icon"};return e.jsx(ir,{open:r,onOpenChange:n,placement:a,"data-testid":x,className:S.clsx(ya.container,b==null?void 0:b.dialog),style:c==null?void 0:c.dialog,...C,children:e.jsx(lr,{title:s,subTitle:l,classNames:b,styles:c,size:"m",iconSlot:e.jsx(sr,{..._}),children:d})})},Ta="_wrapper_1mnix_5",Ea="_badge__container_1mnix_6",Ra="_badge__content_1mnix_7",Ia="_interactive_1mnix_20",Na="_disabled_1mnix_21",Ma="_icon_1mnix_22",St={wrapper:Ta,badge__container:Ea,badge__content:Ra,interactive:Ia,disabled:Na,icon:Ma,"variant-filled":"_variant-filled_1mnix_98","color-brand":"_color-brand_1mnix_103","color-red":"_color-red_1mnix_111","color-orange":"_color-orange_1mnix_119","color-yellow":"_color-yellow_1mnix_127","color-green":"_color-green_1mnix_135","color-blue":"_color-blue_1mnix_143","color-lightblue":"_color-lightblue_1mnix_151","color-purple":"_color-purple_1mnix_159","color-gray":"_color-gray_1mnix_167","color-contrast":"_color-contrast_1mnix_175","variant-light":"_variant-light_1mnix_184","variant-outline":"_variant-outline_1mnix_260","variant-transparent":"_variant-transparent_1mnix_338","position-top-left":"_position-top-left_1mnix_409","position-top-right":"_position-top-right_1mnix_415","position-bottom-left":"_position-bottom-left_1mnix_421","position-bottom-right":"_position-bottom-right_1mnix_427","position-top-center":"_position-top-center_1mnix_433","position-bottom-center":"_position-bottom-center_1mnix_439","position-middle-left":"_position-middle-left_1mnix_445","position-middle-right":"_position-middle-right_1mnix_451","position-middle-center":"_position-middle-center_1mnix_457","position-top-left-inside":"_position-top-left-inside_1mnix_464","position-top-right-inside":"_position-top-right-inside_1mnix_470","position-bottom-left-inside":"_position-bottom-left-inside_1mnix_476","position-bottom-right-inside":"_position-bottom-right-inside_1mnix_482","position-top-center-inside":"_position-top-center-inside_1mnix_488","position-bottom-center-inside":"_position-bottom-center-inside_1mnix_494","position-middle-left-inside":"_position-middle-left-inside_1mnix_500","position-middle-right-inside":"_position-middle-right-inside_1mnix_506"},cr=g.forwardRef((t,r)=>{const{icon:n,children:a,variant:i="filled",label:s,isHidden:l=!1,colorScheme:d="red",size:h=20,position:x="top-right",positionOffset:c={x:0,y:0},cutoutBackground:b,isDisabled:C,className:u,"data-testid":f="badge",...y}=t,{onClick:_,onPointerDown:m}=y,{ref:p,bgColor:v}=ye(),L=b||v,k=!C&&(!!_||!!m),$=Ct(St.badge__container,St[`position-${x}`]),R=Ct(u,St.badge__content,St[`color-${d}`],St[`variant-${i}`],{[St.disabled]:C,[St.icon]:!!n,[St.interactive]:k}),I={"--badge-height":`${h}px`,"--badge-offset-x":`${c.x}px`,"--badge-offset-y":`${c.y}px`,...L&&{"--badge-cutout-bg":L},...i==="transparent"&&{"--badge-cutout-bg":"transparent"}},A=(n==null?void 0:n({}))||s,D=F=>{k&&(_==null||_(F))};return e.jsxs("div",{className:St.wrapper,ref:p,"data-testid":f+"-wrapper",children:[a,!l&&e.jsx("span",{className:$,style:I,"data-testid":f+"-container",children:e.jsx("span",{...y,onClick:D,className:R,"data-testid":f+"-content",ref:r,"aria-disabled":C,children:A})})]})}),Aa="_container_yn8yz_7",Oa="_loading_yn8yz_17",Ba="_error_yn8yz_18",Pa="_image_yn8yz_22",Vt={container:Aa,loading:Oa,error:Ba,image:Pa},za=({width:t=48,height:r=48,className:n,"data-testid":a})=>e.jsx("svg",{width:t,height:r,viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:n,"data-testid":a,children:e.jsx("path",{d:"M32.4 42H13.8627C12.6511 42 12.0453 42 11.7648 41.7604C11.5214 41.5525 11.3922 41.2407 11.4173 40.9215C11.4462 40.5538 11.8746 40.1254 12.7314 39.2686L29.7373 22.2627C30.5293 21.4707 30.9253 21.0747 31.382 20.9263C31.7837 20.7958 32.2163 20.7958 32.618 20.9263C33.0747 21.0747 33.4707 21.4707 34.2627 22.2627L42 30V32.4M32.4 42C35.7603 42 37.4405 42 38.7239 41.346C39.8529 40.7708 40.7708 39.8529 41.346 38.7239C42 37.4405 42 35.7603 42 32.4M32.4 42H15.6C12.2397 42 10.5595 42 9.27606 41.346C8.14708 40.7708 7.2292 39.8529 6.65396 38.7239C6 37.4405 6 35.7603 6 32.4V15.6C6 12.2397 6 10.5595 6.65396 9.27606C7.2292 8.14708 8.14708 7.2292 9.27606 6.65396C10.5595 6 12.2397 6 15.6 6H32.4C35.7603 6 37.4405 6 38.7239 6.65396C39.8529 7.2292 40.7708 8.14708 41.346 9.27606C42 10.5595 42 12.2397 42 15.6V32.4M21 17C21 19.2091 19.2091 21 17 21C14.7909 21 13 19.2091 13 17C13 14.7909 14.7909 13 17 13C19.2091 13 21 14.7909 21 17Z",stroke:"#AABBCA",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round"})}),Da=g.forwardRef((t,r)=>{const{alt:n="",loading:a="lazy",src:i,isLoading:s=!1,style:l,className:d,containerProps:h,"data-testid":x="image",onError:c,onLoad:b,...C}=t,{className:u,...f}=h??{},[y,_]=g.useState("loading"),m=y==="error",p=(s||y==="loading")&&!m,v=y==="loaded"&&!s,L=S.clsx(Vt.container,{[Vt.loading]:p&&!v,[Vt.error]:m&&!v},u),T=S.clsx(Vt.image,{[Vt.loading]:p},d),k=g.useCallback(I=>{_("loaded"),b==null||b(I)},[b]),$=g.useCallback(I=>{_("error"),c==null||c(I)},[c]),R={loader:e.jsxs(g.Fragment,{children:[e.jsx(ae,{size:48,variant:"special","data-testid":`${x}-loader`}),e.jsx("img",{alt:n,src:i,onLoad:k,onError:$,style:{display:"none"}})]}),error:e.jsx(za,{"data-testid":`${x}-fallback`}),image:e.jsx("img",{ref:r,alt:n,"data-testid":x,loading:a,src:i,className:T,...C})};return g.useEffect(()=>{if(!i){_("error");return}_("loading")},[i]),e.jsxs("div",{className:L,"data-testid":`${x}-container`,style:l,...f,children:[p&&R.loader,m&&R.error,v&&R.image]})}),dr={},ur=g.createContext({locale:dr}),_r=()=>{const t=g.useContext(ur);if(!t)throw new Error("useConfig must be used within a ConfigProvider");return t},Fa=()=>{const{locale:t}=_r();return t},Wa={},qa={},Ha={},Va={},Xa={},Ua="_base_1p0qo_50",Za="_content_1p0qo_54",Ya="_background_1p0qo_58",Ga="_button_1p0qo_62",Ka="_link_1p0qo_66",Ja="_input_1p0qo_70",Qa="_suffix_1p0qo_74",ts="_prefix_1p0qo_78",es="_tooltip_1p0qo_82",rs="_hint_1p0qo_86",ns="_dropdown_1p0qo_90",os="_popover_1p0qo_94",as="_modalBackdrop_1p0qo_98",ss="_modal_1p0qo_98",is="_overlay_1p0qo_106",ls="_drawer_1p0qo_110",cs="_notification_1p0qo_114",ds="_alert_1p0qo_118",us="_toast_1p0qo_122",_s="_loading_1p0qo_126",ps="_error_1p0qo_130",fs="_critical_1p0qo_134",gs={base:Ua,content:Za,background:Ya,button:Ga,link:Ka,input:Ja,suffix:Qa,prefix:ts,tooltip:es,hint:rs,dropdown:ns,popover:os,modalBackdrop:as,modal:ss,overlay:is,drawer:ls,notification:cs,alert:ds,toast:us,loading:_s,error:ps,critical:fs},hs={"semantic-animation":"_semantic-animation_1fenh_13","semantic-animation--100":"_semantic-animation--100_1fenh_19","semantic-animation--300":"_semantic-animation--300_1fenh_23","semantic-animation--400":"_semantic-animation--400_1fenh_27","semantic-animation--500":"_semantic-animation--500_1fenh_31"},xs=({locale:t={},theme:r,children:n,className:a})=>(g.useLayoutEffect(()=>{if(r){const i=document.documentElement;Object.entries(r).forEach(([s,l])=>{i.style.setProperty(s,l)})}},[r]),e.jsxs(g.Fragment,{children:[e.jsx("div",{"data-testid":"ConfigProvider-component",className:S.clsx(Wa,qa,Ha,Va,Xa,gs,et,hs,a)}),e.jsx(ur.Provider,{value:{locale:t},children:n})]})),ms={},bs="_tag_1llsi_1",ys="_label_1llsi_16",vs="_iconWrapper_1llsi_20",ws="_medium_1llsi_27",Cs="_large_1llsi_33",ks="_disabled_1llsi_43",Ss="_neutral_1llsi_47",Ls="_positive_1llsi_53",js="_negative_1llsi_59",$s="_warning_1llsi_65",Ts="_vivid_1llsi_71",Es="_special_1llsi_77",Rs="_accent_1llsi_84",Is="_blue_1llsi_90",Ns="_lovely_1llsi_96",Ms="_dreamy_1llsi_102",Mt={tag:bs,label:ys,iconWrapper:vs,medium:ws,large:Cs,disabled:ks,neutral:Ss,positive:Ls,negative:js,warning:$s,vivid:Ts,special:Es,accent:Rs,blue:Is,lovely:Ns,dreamy:Ms},As=g.forwardRef((t,r)=>{const{className:n,children:a,componentStyle:i="neutral",size:s="medium",disabled:l=!1,showLabel:d=!!a,slotStart:h,slotEnd:x,slotStartWrapperProps:c={},slotEndWrapperProps:b={},"data-testid":C,...u}=t,{className:f,...y}=c,{className:_,...m}=b;return e.jsxs("div",{className:S.clsx(Mt.tag,Mt[s],Mt[i],{[Mt.disabled]:l,[et["typography-label-3-regular"]]:s==="medium",[et["typography-subtitle-1-semibold"]]:s==="large"},n),"data-testid":C||"tag-component",ref:r,...u,children:[h&&e.jsx("span",{className:S.clsx([Mt.iconWrapper,f]),...y,children:h}),d&&e.jsx("span",{className:S.clsx([Mt.label]),children:a}),x&&e.jsx("span",{className:S.clsx([Mt.iconWrapper,_]),...m,children:x})]})}),Os="_checkbox_gtrs6_43",Bs="_input_gtrs6_64",Ps="_icon_gtrs6_72",zs="_container_gtrs6_92",Ds="_error_gtrs6_143",Fs="_checkboxWrapper_gtrs6_156",Ws="_medium_gtrs6_211",qs="_large_gtrs6_216",Hs="_label_gtrs6_258",jt={checkbox:Os,input:Bs,icon:Ps,container:zs,error:Ds,checkboxWrapper:Fs,medium:Ws,large:qs,label:Hs},Vs=({width:t=12,height:r=9,className:n="",color:a="currentColor",...i})=>e.jsx("svg",{className:n,width:t,height:r,viewBox:"0 0 14 10",fill:"none",xmlns:"http://www.w3.org/2000/svg",...i,children:e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.0001 2.49999C13.3906 2.10946 13.3906 1.4763 13.0001 1.08578C12.6095 0.695251 11.9764 0.695251 11.5859 1.08578L5.29296 7.37867L2.00007 4.08578C1.60954 3.69525 0.976378 3.69525 0.585855 4.08578C0.19533 4.4763 0.19533 5.10946 0.585855 5.49999L4.58585 9.49999C4.97638 9.89051 5.60954 9.89051 6.00007 9.49999L13.0001 2.49999Z",fill:a})}),Xs=({width:t=12,height:r=2,className:n="",color:a="currentColor",...i})=>e.jsx("svg",{className:n,width:t,height:r,viewBox:"0 0 12 2",fill:"none",xmlns:"http://www.w3.org/2000/svg",...i,children:e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 1C0 0.447715 0.447715 0 1 0H11C11.5523 0 12 0.447715 12 1C12 1.55228 11.5523 2 11 2H1C0.447715 2 0 1.55228 0 1Z",fill:a})}),Us={medium:{width:10.83,height:7.5},large:{width:13,height:9}},Zs=({size:t,isChecked:r,isDisabled:n,indeterminate:a,dataTestId:i})=>{const{width:s,height:l}=Us[t];return e.jsx("div",{className:jt.icon,"data-testid":`${i}-icon`,"data-checked":r,"data-disabled":n,"data-indeterminate":a,children:a?e.jsx(Xs,{width:s,height:l}):e.jsx(Vs,{width:s,height:l})})},Ys=g.forwardRef((t,r)=>{const{name:n,value:a,size:i="medium",indeterminate:s=!1,loading:l=!1,error:d,disabled:h=!1,containerClassName:x,className:c,containerStyle:b,style:C,children:u,clickableLabel:f=!0,tabIndex:y,onChange:_,onClick:m,"data-testid":p="checkbox"}=t,[v,L]=g.useState(!1),T=a??v,k=h||l,$=!!d,R=T||s,I=S.clsx(jt.container,jt[i],x),A=S.clsx(jt.checkbox,jt[i],{[jt.error]:$},c),D=M=>{k||(L(M.target.checked),_==null||_(M.target.checked,M))},F=M=>{if(M.key==="Enter"&&!k){M.preventDefault();const q=!R;L(q),_==null||_(q)}},E=M=>{f||M.preventDefault(),m==null||m(M)};return e.jsxs("label",{className:I,htmlFor:n,style:b,"data-testid":p,"data-clickable-label":f,children:[e.jsx("div",{className:jt.checkboxWrapper,children:e.jsxs("div",{tabIndex:y||0,className:A,style:C,onKeyDown:F,"aria-checked":R,"aria-disabled":k,"aria-invalid":$,"aria-describedby":d?`${n}-error`:void 0,"data-testid":`${p}-label`,children:[e.jsx("input",{ref:r,type:"checkbox",id:n,name:n,checked:R,disabled:k,className:jt.input,onChange:D,"aria-checked":R,"aria-invalid":$,"aria-describedby":d?`${n}-error`:void 0,"data-testid":`${p}-input`}),e.jsx(Zs,{name:n,size:i,isChecked:R,isDisabled:k,indeterminate:s,dataTestId:p})]})}),u&&e.jsx("span",{"data-testid":`${p}-label-text`,"data-clickable-label":f,className:jt.label,onClick:E,children:u})]})}),Gs="_base_10oxr_1",Ks="_content_10oxr_1",Js="_background_10oxr_1",Qs="_button_10oxr_1",ti="_link_10oxr_1",ei="_input_10oxr_96",ri="_suffix_10oxr_1",ni="_prefix_10oxr_1",oi="_tooltip_10oxr_1",ai="_hint_10oxr_794",si="_dropdown_10oxr_1",ii="_popover_10oxr_1",li="_modalBackdrop_10oxr_1",ci="_modal_10oxr_1",di="_overlay_10oxr_1",ui="_drawer_10oxr_1",_i="_notification_10oxr_1",pi="_alert_10oxr_1",fi="_toast_10oxr_1",gi="_loading_10oxr_291",hi="_error_10oxr_252",xi="_critical_10oxr_1",mi="_inputBase_10oxr_96",bi="_wrapper_10oxr_106",yi="_gripHandle_10oxr_186",vi="_tabFocused_10oxr_259",wi="_disabled_10oxr_284",Ci="_label_10oxr_301",ki="_S_10oxr_315",Si="_M_10oxr_321",Li="_XL_10oxr_328",ji="_leftSection_10oxr_335",$i="_rightSection_10oxr_347",Ti="_helper_10oxr_385",Ei="_floatingLabel_10oxr_415",Ri="_focused_10oxr_481",Ii="_filled_10oxr_482",Ni="_L_10oxr_522",Mi="_characterLimit_10oxr_564",Ai="_textarea_10oxr_124",Oi="_truncate_10oxr_707",B={base:Gs,content:Ks,background:Js,button:Qs,link:ti,input:ei,suffix:ri,prefix:ni,tooltip:oi,hint:ai,dropdown:si,popover:ii,modalBackdrop:li,modal:ci,overlay:di,drawer:ui,notification:_i,alert:pi,toast:fi,loading:gi,error:hi,critical:xi,inputBase:mi,wrapper:bi,"textarea-wrapper":"_textarea-wrapper_10oxr_124",gripHandle:yi,tabFocused:vi,disabled:wi,label:Ci,S:ki,M:Si,XL:Li,leftSection:ji,rightSection:$i,helper:Ti,floatingLabel:Ei,focused:Ri,filled:Ii,L:Ni,characterLimit:Mi,textarea:Ai,"size-S":"_size-S_10oxr_646","size-M":"_size-M_10oxr_656","size-L":"_size-L_10oxr_662","size-XL":"_size-XL_10oxr_668","with-floating-label":"_with-floating-label_10oxr_675",truncate:Oi,"has-hint":"_has-hint_10oxr_815","has-suffix":"_has-suffix_10oxr_821","has-limit":"_has-limit_10oxr_844"},Bi=({width:t=8,height:r=8,className:n,color:a="#AABBCA"})=>e.jsx("svg",{width:t,height:r,viewBox:"0 0 8 8",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:n,children:e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.10178 0.236172C6.41679 -0.0787239 6.93824 -0.0787239 7.25325 0.236172C7.56826 0.551067 7.56826 1.07227 7.25325 1.38717L1.38772 7.25074C1.22479 7.41362 1.01837 7.48963 0.811988 7.48963C0.605604 7.48963 0.399189 7.41362 0.236255 7.25074C-0.0787516 6.93584 -0.0787516 6.41464 0.236255 6.09974L6.10178 0.236172ZM6.61276 4.19954C6.92777 3.88464 7.44895 3.88464 7.76396 4.19954C8.07897 4.52529 8.07897 5.03564 7.76396 5.35053L5.35256 7.76111C5.18963 7.92399 4.98321 8 4.77683 8C4.57045 8 4.36403 7.92399 4.2011 7.76111C3.88609 7.44622 3.88609 6.92501 4.2011 6.61012L6.61276 4.19954Z",fill:a})}),ve=({className:t="",style:r,size:n="md",color:a="currentColor",onClick:i,...s})=>{const d={display:"inline-block",color:a,...{xxxs:{width:"8px",height:"8px"},xxs:{width:"12px",height:"12px"},xs:{width:"20px",height:"20px"},sm:{width:"24px",height:"24px"},md:{width:"32px",height:"32px"},lg:{width:"40px",height:"40px"}}[n],...r};return e.jsx("svg",{className:t,style:d,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",onClick:i,...s,children:e.jsx("path",{d:"M12 4L4 12M4 4L12 12",stroke:"currentColor",strokeWidth:"1.33333",strokeLinecap:"round",strokeLinejoin:"round"})})},Pi=(t,r)=>{const n=g.useRef(null),a=g.useRef(null);return g.useEffect(()=>{const i=r==="textarea"?n.current:a.current;i&&i.value!==t&&(i.value=t||"")},[t,r]),{textareaRef:n,inputRef:a,currentRef:r==="textarea"?n:a}},zi=(t,r,n)=>{const a=()=>{if(!n.current||r!=="hug")return;const i=n.current.scrollTop;if(n.current.style.setProperty("height","auto","important"),!t)return;const s=n.current.scrollHeight+"px";n.current.style.setProperty("height",s,"important"),n.current.scrollTop=i;const l=n.current.closest(`.${B.wrapper}`);l&&(l.setAttribute("data-resize","hug"),l.setAttribute("data-show-grip","false"))};return g.useEffect(a,[t,r]),g.useEffect(()=>{r==="hug"&&n.current&&a()},[]),{resizeTextArea:a}},Di=(t,r,n,a)=>({handleGripMouseDown:g.useCallback(s=>{if(!t||r||n||!(a==="fixed"||!a))return;s.preventDefault(),s.stopPropagation();const l=s.currentTarget.closest(`.${B.wrapper}`);if(!l)return;const d=s.clientY,h=l.clientHeight,x=b=>{const C=b.clientY-d,u=Math.min(100,h),f=Math.max(u,h+C);l.style.height=`${f}px`},c=()=>{document.removeEventListener("mousemove",x),document.removeEventListener("mouseup",c)};document.addEventListener("mousemove",x),document.addEventListener("mouseup",c)},[t,r,n,a])}),Ge=30,Fi=g.forwardRef(({component:t="input",size:r="L",value:n="",placeholder:a,disabled:i=!1,loading:s=!1,onFocus:l,onBlur:d,onChange:h,onKeyDown:x,onKeyUp:c,maxLength:b,className:C,style:u,truncate:f=!1,shouldShowFloatingLabelClass:y=!1,"aria-invalid":_,"aria-errormessage":m,id:p,resize:v,...L},T)=>{const{textareaRef:k,inputRef:$,currentRef:R}=Pi(n,t);if(zi(n,v,k),g.useImperativeHandle(T,()=>R.current,[R]),t==="textarea")return e.jsx("textarea",{ref:k,id:p,value:n,placeholder:a,disabled:i||s,onFocus:l,onBlur:d,onChange:h,onKeyDown:x,onKeyUp:c,maxLength:b,className:S.clsx(B.textarea,B[`size-${r}`],y&&B["with-floating-label"],C),style:u,"aria-invalid":_,"aria-errormessage":m,"aria-describedby":m?`${p}-error`:void 0,tabIndex:0,"data-resize":v,...L});if(t==="input")return e.jsx("input",{ref:$,id:p,value:n,placeholder:a,disabled:i||s,onFocus:l,onBlur:d,onChange:h,onKeyDown:x,onKeyUp:c,maxLength:b,className:S.clsx(B.input,B[`size-${r}`],y&&B["with-floating-label"],f&&B.truncate,C),style:u,"aria-invalid":_,"aria-errormessage":m,"aria-describedby":m?`${p}-error`:void 0,tabIndex:0,...L});if(t!=="input"&&t!=="textarea")return console.error(`[Input] Недопустимое значение prop 'component': "${String(t)}". Допустимые значения: 'input', 'textarea'`),null}),pr=g.forwardRef(({children:t,size:r="L",error:n=!1,disabled:a=!1,loading:i=!1,className:s,wrapperProps:l,wrapperStyles:d,floatingLabelStyles:h,prefixStyles:x,suffixStyles:c,labelProps:b,helperProps:C,showLimit:u=!1,maxLength:f,hint:y,showHint:_=!1,showHintOnEmpty:m=!1,prefix:p,suffix:v,onSuffixClick:L,placeholder:T,showLabel:k=!0,labelClassName:$,hasValue:R=!1,helper:I,id:A,value:D="",resize:F,showGrip:E=!1,...M},q)=>{const H=g.useId(),U=A||H,G=_&&y&&(R||m),z=y&&y.length>Ge?y.substring(0,Ge)+"...":y,K=S.clsx(B.wrapper,B[`size-${r}`],n&&B.error,a&&B.disabled,i&&B.loading,G&&B["has-hint"],v&&B["has-suffix"],u&&B["has-limit"],s),Z=S.clsx(B.floatingLabel,B[r],R&&B.filled,$),{handleGripMouseDown:Q}=Di(E,a,i,F);return e.jsxs("div",{ref:q,className:B.inputBase,"data-testid":"input-base-wrapper",...M,children:[e.jsxs("div",{className:K,style:d,"data-resize":F,"data-show-grip":E?"true":"false",...l,children:[p&&e.jsx("label",{htmlFor:U,className:B.leftSection,style:x,children:p}),v&&e.jsx("label",{htmlFor:U,className:B.rightSection,style:c,onClick:L,children:v}),T&&k&&e.jsx("label",{htmlFor:U,className:Z,style:h,...b,children:T}),t,E&&!u&&(F==="fixed"||!F)&&e.jsx("div",{className:B.gripHandle,onMouseDown:Q,role:"button",tabIndex:-1,"aria-label":"Изменить размер",children:e.jsx(Bi,{})}),G&&e.jsx("div",{className:S.clsx(B.hint,R&&B.truncate),"data-disabled":a||i,children:z}),u&&f&&e.jsxs("div",{className:B.characterLimit,children:[(D||"").length," из ",f]})]}),I&&e.jsx("div",{className:S.clsx(B.helper,n&&B.error,(a||i)&&B.disabled),...C,id:n?`${U}-error`:void 0,children:I})]})});pr.displayName="InputWrapperComponent";const Ke=Object.assign(Fi,{Wrapper:pr}),fr=g.forwardRef(({component:t="input",size:r="L",className:n,error:a=!1,disabled:i=!1,loading:s=!1,placeholder:l,showLabel:d=!0,labelClassName:h,helper:x,prefix:c,suffix:b,id:C,onFocus:u,onBlur:f,onKeyDown:y,onSuffixClick:_,onChange:m,value:p="",wrapperProps:v,wrapperStyles:L,floatingLabelStyles:T,prefixStyles:k,suffixStyles:$,textareaStyles:R,labelProps:I,helperProps:A,showLimit:D=!1,maxLength:F,inputProps:E,hint:M,showHint:q=!1,showHintOnEmpty:H=!1,truncate:U=!1,resize:G,showGrip:z=!1,...K},Z)=>{const Q=g.useId(),it=C||Q,[kt,bt]=g.useState(p),lt=p!==void 0?p:kt,Et=(lt||"").length>0,pt=lt||"",At=d&&(r==="XL"||t==="textarea")&&!c,se=g.useCallback(nt=>{var ot;i||s||(u==null||u(),(ot=E==null?void 0:E.onFocus)==null||ot.call(E,nt))},[u,E,i,s]),Yt=g.useCallback(nt=>{var ot;if(nt.key==="Tab"){const yt=nt.target.closest(`.${B.wrapper}`);yt&&yt.classList.add(B.tabFocused)}(ot=E==null?void 0:E.onKeyUp)==null||ot.call(E,nt)},[E]),ie=g.useCallback(nt=>{var yt;const ot=nt.target.closest(`.${B.wrapper}`);ot&&ot.classList.remove(B.tabFocused),f==null||f(),(yt=E==null?void 0:E.onBlur)==null||yt.call(E,nt)},[f,E]),le=g.useCallback(nt=>{var yt;if(i||s)return;const ot=nt.target.value;bt(ot),m==null||m(ot,nt),(yt=E==null?void 0:E.onChange)==null||yt.call(E,nt)},[m,E,i,s]);return g.useEffect(()=>{bt(p||"")},[p]),e.jsx(Ke.Wrapper,{ref:Z,size:r,error:a,disabled:i||s,loading:s,className:S.clsx(n,t==="textarea"&&B["textarea-wrapper"]),wrapperProps:v,wrapperStyles:L,floatingLabelStyles:T,prefixStyles:k,suffixStyles:$,labelProps:I,helperProps:A,showLimit:D,maxLength:F,hint:M,showHint:q,showHintOnEmpty:H,prefix:c,suffix:b,onSuffixClick:_,placeholder:l,showLabel:d,labelClassName:h,hasValue:Et,helper:x,id:it,value:pt,showGrip:z,resize:G,...K,children:e.jsx(Ke,{component:t,size:r,value:pt,placeholder:l,disabled:i,loading:s,onFocus:se,onBlur:ie,onChange:le,onKeyDown:y,onKeyUp:Yt,maxLength:F,truncate:U,"data-empty":!Et,shouldShowFloatingLabelClass:At,style:t==="textarea"?R:void 0,"aria-invalid":!!a,"aria-errormessage":a?`${it}-error`:void 0,id:it,resize:G,...E})})}),Y={S:"S",M:"M",L:"L",XL:"XL"},Wi=(t,r,n,a)=>{switch(t){case Y.XL:return r&&n?"8px 16px 8px 16px":"16px 16px 16px 16px";case Y.L:return a?"12px 12px 12px 12px":"12px 16px 12px 16px";case Y.M:return"10px 12px 10px 12px";case Y.S:return"6px 10px 6px 10px";default:return"12px 16px 12px 16px"}},qi=t=>{switch(t){case Y.XL:return"56px";case Y.L:return"48px";case Y.M:return"40px";case Y.S:return"32px";default:return"48px"}},Hi=t=>{switch(t){case Y.S:case Y.M:case Y.L:return 4;case Y.XL:return 8;default:return 8}},Vi=t=>{switch(t){case Y.S:case Y.M:return 8;case Y.L:case Y.XL:return 12;default:return 12}},Xi=(t,r,n,a)=>({wrapperStyles:{minHeight:t,maxHeight:t,boxSizing:"border-box",padding:r},floatingLabelStyles:{left:"10px"},prefixStyles:{paddingRight:`${n}px`},suffixStyles:{right:`${a}px`,maxWidth:"32px",maxHeight:"32px",padding:"6px",cursor:"pointer"}}),Ui=(t,r,n,a)=>({wrapperStyles:{height:t,minHeight:t,maxHeight:t,boxSizing:"border-box",padding:r},floatingLabelStyles:{left:"16px",transformOrigin:"left top"},prefixStyles:{paddingRight:`${n}px`},suffixStyles:{right:`${a}px`,maxWidth:"40px",maxHeight:"40px",padding:"8px",cursor:"pointer"}}),Zi=(t,r,n,a)=>({wrapperStyles:{minHeight:t,maxHeight:t,boxSizing:"border-box",padding:r},floatingLabelStyles:{left:"16px"},prefixStyles:{paddingRight:`${n}px`},suffixStyles:{right:`${a}px`,maxWidth:"40px",maxHeight:"40px",padding:"8px",cursor:"pointer",display:"flex",alignItems:"center",justifyContent:"center"}}),Yi=(t,r,n,a)=>({wrapperStyles:{minHeight:t,maxHeight:t,boxSizing:"border-box",padding:r},floatingLabelStyles:{left:"12px"},prefixStyles:{paddingRight:`${n}px`},suffixStyles:{right:`${a}px`,maxWidth:"32px",maxHeight:"32px",padding:"6px",cursor:"pointer"}}),Gi=(t,r,n,a)=>{const i=qi(t),s=Wi(t,r,n,a),l=Vi(t),d=Hi(t);switch(t){case Y.XL:return Ui(i,s,l,d);case Y.L:return Zi(i,s,l,d);case Y.M:return Yi(i,s,l,d);case Y.S:return Xi(i,s,l,d);default:return{wrapperStyles:{},floatingLabelStyles:{},prefixStyles:{},suffixStyles:{}}}},Ki=g.forwardRef(({value:t="",onChange:r,type:n="text",placeholder:a,maxLength:i,minLength:s,autoComplete:l,autoFocus:d,size:h=Y.L,inputProps:x,error:c,disabled:b,loading:C,helper:u,prefix:f,suffix:y,clearable:_=!1,id:m,showLabel:p=!0,onFocus:v,onBlur:L,onSuffixClick:T,onClear:k,className:$,truncate:R=!0,hint:I,showHint:A=!1,showHintOnEmpty:D=!1,wrapperProps:F,labelProps:E,helperProps:M,...q},H)=>{const U=(t||"").length>0,G=h===Y.XL,z=!!f,K=G&&p&&!f,Z=_&&U&&!(b||C),Q=()=>{r==null||r(""),k==null||k()},it=()=>{Z&&Q(),T==null||T()},kt=Z?e.jsx(ve,{size:h===Y.S||h===Y.M?"xs":"sm",color:"var(--icon-secondary)",style:{cursor:"pointer"},"data-testid":"x-icon"}):y,bt={type:n,minLength:s,autoComplete:l,autoFocus:d,...x},lt=Gi(h,K,U,z);return e.jsx(fr,{size:h,error:c,disabled:b||C,loading:C,helper:u,prefix:f,suffix:kt,id:m,showLabel:K,onFocus:v,onBlur:L,onSuffixClick:it,onChange:r,value:t,placeholder:a,className:$,wrapperStyles:lt.wrapperStyles,floatingLabelStyles:lt.floatingLabelStyles,prefixStyles:lt.prefixStyles,suffixStyles:lt.suffixStyles,wrapperProps:F,labelProps:E,helperProps:M,showLimit:!1,maxLength:i,inputProps:bt,hint:I,showHint:A,showHintOnEmpty:D,truncate:R,...q})}),gt={M:"M",L:"L"},ne={M:"12px",L:"16px"},Ji={M:"xs",L:"sm"},te={FILL:"fill",FIXED:"fixed"},ge={M:"112px",L:"56px"},zt={M:"48px",L:"22px"},Lt={M:"12px 12px 12px 12px",L:"16px 16px 16px 16px",L_WITH_PREFIX:"12px 16px 12px 16px",L_FLOATING_LABEL:"8px 16px 8px 16px"},Tt={M:48,L:56,XL:112},Qi=(t,r)=>{if(t===gt.M)return ge.M;if(r)return`${r}px`;switch(t){case gt.L:return ge.L;default:return ge.L}},tl=(t,r)=>{if(t===gt.M)return zt.M;if(r)switch(r){case Tt.M:case Tt.L:return zt.L;case Tt.XL:return zt.M;default:return zt.L}switch(t){case gt.L:return zt.L;default:return zt.L}},el=(t,r,n)=>{if(t===gt.M)return Lt.M;if(r)switch(r){case Tt.M:return Lt.L_WITH_PREFIX;case Tt.L:return n?Lt.L_FLOATING_LABEL:Lt.L;case Tt.XL:return Lt.L;default:return Lt.L}switch(t){case gt.L:return n?Lt.L_FLOATING_LABEL:Lt.L;default:return Lt.L}},rl=(t,r)=>{if(t===gt.M)return"M";if(r)switch(r){case Tt.M:return"M";case Tt.L:return"L";case Tt.XL:return"L";default:return"L"}return t},nl=t=>Ji[t],ol=t=>ne[t],al=(t,r,n,a)=>{const i=Qi(t,r),s=tl(t,r),l=el(t,r,n);return{wrapperStyles:{minHeight:i,...a===te.FILL&&{height:"100%"},...a===te.FIXED&&r&&{height:i},boxSizing:"border-box",padding:l},floatingLabelStyles:{left:t===gt.M?ne.M:ne.L,transformOrigin:"left top",top:r===112&&n&&t===gt.L?ne.L:void 0},suffixStyles:{right:ol(t),top:r===48&&t===gt.L?"11px":void 0,boxSizing:"border-box"},textareaStyles:{minHeight:s,...a===te.FILL&&{flex:1,minHeight:0},...a===te.FIXED&&r&&{height:s}}}},sl=g.forwardRef(({value:t="",onChange:r,placeholder:n,maxLength:a,minLength:i,autoFocus:s,size:l=gt.L,textareaProps:d,error:h,disabled:x,loading:c,helper:b,suffix:C,clearable:u=!1,id:f,showLabel:y=!0,onFocus:_,onBlur:m,onClear:p,onKeyDown:v,className:L,rows:T=1,showLimit:k=!1,wrapperProps:$,labelProps:R,helperProps:I,showGrip:A,minHeight:D,resize:F,...E},M)=>{const q=(t||"").length>0,H=y&&!!n&&(l===gt.M||D!==48),U=u&&q&&!(x||c),G=()=>{r==null||r(""),p==null||p()},z=()=>{U&&G()},K=U?e.jsx(ve,{size:nl(l),color:"var(--icon-secondary)",style:{cursor:"pointer"},"data-testid":"x-icon"}):C,Z=al(l,D,H&&q,F),Q=rl(l,D),it={rows:T,minLength:i,autoFocus:s,resize:F,...d};return e.jsx(fr,{ref:M,component:"textarea",size:Q,error:h,disabled:x||c,loading:c,onSuffixClick:z,helper:b,suffix:K,id:f,showLabel:H,onFocus:_,onBlur:m,onKeyDown:v,onChange:r,value:t||"",placeholder:n,className:L,"data-floating-label":H,wrapperStyles:Z.wrapperStyles,floatingLabelStyles:Z.floatingLabelStyles,suffixStyles:Z.suffixStyles,textareaStyles:Z.textareaStyles,wrapperProps:$,labelProps:R,helperProps:I,showLimit:k&&(D===112||l===gt.M),maxLength:a,inputProps:it,resize:F,showGrip:A,...E})}),il="_helper_1jq7j_16",he={helper:il,"helper--error":"_helper--error_1jq7j_28","helper--disabled":"_helper--disabled_1jq7j_33"},gr=({title:t,error:r,className:n="",style:a,disabled:i=!1,"data-testid":s,"aria-label":l,"aria-describedby":d})=>{const h=!!r,x=S.clsx(he.helper,h&&he["helper--error"],i&&he["helper--disabled"],n),c=i?t:r||t;return e.jsx("div",{className:x,style:a,"data-testid":s,"aria-label":l,"aria-describedby":d,children:e.jsx("p",{children:c})})},ll="_radio_1n8zx_59",cl="_checked_1n8zx_80",dl="_error_1n8zx_85",ul="_disabled_1n8zx_94",_l="_icon_1n8zx_130",pl="_small_1n8zx_138",fl="_medium_1n8zx_145",gl="_large_1n8zx_152",hl="_label_1n8zx_159",xl="_container_1n8zx_185",ml="_input_1n8zx_198",bl="_card_1n8zx_205",yl="_smallCard_1n8zx_211",vl="_mediumCard_1n8zx_215",wl="_largeCard_1n8zx_219",ft={default:"_default_1n8zx_53",radio:ll,checked:cl,error:dl,disabled:ul,icon:_l,small:pl,medium:fl,large:gl,label:hl,container:xl,input:ml,card:bl,smallCard:yl,mediumCard:vl,largeCard:wl},Cl="radio-container-",kl="radio-label",hr=g.forwardRef((t,r)=>{const{name:n,id:a,value:i,size:s="large",loading:l=!1,error:d,disabled:h=!1,checked:x=!1,containerClassName:c,className:b,children:C,clickable:u="all",mode:f="default",tabIndex:y,style:_,containerStyle:m,onChange:p,"data-testid":v,...L}=t,T=!!d,k=h||l,$=u==="all",R=f==="card",I=ft[`${s}Card`],A=a??n,D=H=>{k||p==null||p(i,H)},F=H=>{H.key==="Enter"&&!k&&(H.preventDefault(),p==null||p(i))},E=H=>H.stopPropagation(),M=()=>e.jsxs("div",{className:S.clsx(ft.radio,ft[s],{[ft.checked]:x,[ft.disabled]:k,[ft.error]:T&&!k},b),style:_,tabIndex:y||1,"data-testid":`${Cl}${A}`,children:[e.jsx("input",{"aria-errormessage":d,"aria-invalid":T,checked:x,className:ft.input,"data-testid":`radio-${A}`,disabled:k,id:A,name:n,ref:r,type:"radio",value:i,onChange:D,onClick:E}),e.jsx("svg",{"data-testid":`radio-icon-${A}`,viewBox:"0 0 8 8",className:ft.icon,children:e.jsx("circle",{cx:4,cy:4,fill:"current",r:4})})]}),q=()=>e.jsxs("label",{"aria-checked":x,"aria-disabled":k,"data-testid":$?v:kl,htmlFor:A,style:m,className:S.clsx(ft.label,{[S.clsx(ft.container,ft[f],c)]:$,[I]:$&&R}),onKeyDown:F,...L,children:[M(),$&&C]});return $?q():e.jsxs("div",{className:S.clsx(ft.container,ft[f],c,{[I]:R}),"data-testid":v,children:[q(),C]})}),Sl="_group_tnviu_7",Ll="_vertical_tnviu_12",jl="_horizontal_tnviu_16",Je={group:Sl,vertical:Ll,horizontal:jl},$l=g.forwardRef((t,r)=>{const{id:n,name:a,value:i,options:s,className:l,radioClassName:d,disabled:h=!1,layout:x="vertical","data-testid":c,...b}=t;return e.jsx("div",{className:Ct(Je.group,Je[x],l),"data-testid":c??`radio-group-${a}`,id:n,ref:r,children:s.map(({label:C,value:u,disabled:f})=>{const y=`${a}-${String(u)}`,_=String(u)===String(i);return e.jsx(hr,{id:y,checked:_,"data-testid":y,disabled:h||f,name:a,value:u,className:d,...b,children:C},y)})})}),Tl=Object.assign(hr,{Group:$l}),El="_root_1jj3e_25",Rl="_unordered_1jj3e_39",Il="_ordered_1jj3e_43",Nl="_sm_1jj3e_48",Ml="_md_1jj3e_59",Al="_lg_1jj3e_70",Ol="_xl_1jj3e_81",xe={root:El,unordered:Rl,ordered:Il,sm:Nl,md:Ml,lg:Al,xl:Ol},Bl=t=>{const{children:r,className:n,"data-testid":a="list-item"}=t;return e.jsx("li",{"data-testid":a,className:n,children:r})},Pl=Object.assign(g.forwardRef((t,r)=>{const{variant:n="unordered",className:a,children:i,size:s="md","data-testid":l="list",...d}=t,h=n==="ordered"?"ol":"ul";return e.jsx(h,{"data-testid":l,ref:r,className:Ct(xe.root,xe[n],xe[s],a),...n==="ordered"&&d,children:i})}),{Item:Bl}),zl="_wrapper_1v8xn_5",Dl="_viewport_1v8xn_12",Fl="_mask_1v8xn_26",Wl="_maskLeft_1v8xn_37",ql="_maskRight_1v8xn_42",Hl="_visible_1v8xn_46",Vl="_control_1v8xn_51",Xl="_xs_1v8xn_70",Ul="_sm_1v8xn_73",Zl="_md_1v8xn_76",Yl="_left_1v8xn_80",Gl="_right_1v8xn_83",dt={wrapper:zl,viewport:Dl,mask:Fl,maskLeft:Wl,maskRight:ql,visible:Hl,control:Vl,xs:Xl,sm:Ul,md:Zl,left:Yl,right:Gl},Kl="white",Jl=({children:t,withControls:r=!0,className:n,size:a})=>{const i=g.useRef(null),[s,l]=g.useState(!1),[d,h]=g.useState(!1),{ref:x,bgColor:c}=ye(),b=x??{current:null},C=c??Kl,u=r&&s,f=r&&d,y=({direction:p})=>e.jsx("svg",{height:"12px",width:"12px",viewBox:"0 0 185.343 185.343",xmlns:"http://www.w3.org/2000/svg",children:e.jsx("g",{transform:p==="left"?"scale(-1,1) translate(-185.343,0)":void 0,children:e.jsx("path",{fill:"currentColor",d:"M51.707,185.343c-2.741,0-5.493-1.044-7.593-3.149c-4.194-4.194-4.194-10.981,0-15.175 l74.352-74.347L44.114,18.32c-4.194-4.194-4.194-10.987,0-15.175c4.194-4.194,10.987-4.194,15.18,0l81.934,81.934 c4.194,4.194,4.194,10.987,0,15.175l-81.934,81.939C57.201,184.293,54.454,185.343,51.707,185.343z"})})}),_=()=>{const p=i.current;if(!p)return;const v=Math.round(p.scrollLeft),L=Math.round(p.scrollLeft+p.clientWidth),T=Math.round(p.scrollWidth);l(v>0),h(L<T)},m=p=>{const v=i.current;if(!v)return;const L=v.clientWidth;v.scrollBy({left:p==="left"?-L:L,behavior:"smooth"})};return g.useEffect(()=>{const p=i.current;if(!p)return;const v=L=>{Math.abs(L.deltaX)>Math.abs(L.deltaY)||p.scrollWidth>p.clientWidth&&(L.preventDefault(),p.scrollBy({left:L.deltaY,behavior:"auto"}))};return p.addEventListener("wheel",v,{passive:!1}),()=>p.removeEventListener("wheel",v)},[]),g.useEffect(()=>{_();const p=i.current;if(p)return p.addEventListener("scroll",_,{passive:!0}),window.addEventListener("resize",_),()=>{p.removeEventListener("scroll",_),window.removeEventListener("resize",_)}},[]),e.jsxs("div",{ref:b,className:S.clsx(dt.wrapper,n),children:[u&&e.jsx("div",{className:S.clsx(dt.mask,dt.maskLeft,s&&dt.visible),style:{background:`linear-gradient(to right, ${C} 17%, transparent 80%)`}}),f&&e.jsx("div",{className:S.clsx(dt.mask,dt.maskRight,d&&dt.visible),style:{background:`linear-gradient(to left, ${C} 17%, transparent 80%)`}}),e.jsx("div",{ref:i,className:dt.viewport,children:t}),u&&e.jsx("button",{type:"button",tabIndex:-1,"aria-hidden":"true",className:S.clsx(dt.control,dt.left,dt[a]),onClick:()=>m("left"),children:e.jsx(y,{direction:"left"})}),f&&e.jsx("button",{type:"button",tabIndex:-1,"aria-hidden":"true",className:S.clsx(dt.control,dt.right,dt[a]),onClick:()=>m("right"),children:e.jsx(y,{direction:"right"})})]})},Ql="_tabBar_1ndpm_82",tc="_primary_1ndpm_88",ec="_secondary_1ndpm_93",rc="_tab_1ndpm_82",nc="_md_1ndpm_125",oc="_sm_1ndpm_129",ac="_xs_1ndpm_133",sc="_disabled_1ndpm_137",ic="_selected_1ndpm_143",lc="_tabLabel_1ndpm_222",cc="_tabPrefix_1ndpm_234",dc="_tabPostfix_1ndpm_270",at={tabBar:Ql,primary:tc,secondary:ec,tab:rc,md:nc,sm:oc,xs:ac,disabled:sc,selected:ic,tabLabel:lc,tabPrefix:cc,tabPostfix:dc},uc="md",_c=!1,pc=8,fc="top-right-inside",xr=g.createContext(null),mr=()=>{const t=g.useContext(xr);if(!t)throw new Error("useTabs должен использоваться внутри TabsProvider");return t},gc=({children:t,defaultActiveTab:r,activeTab:n,onChange:a})=>{const[i,s]=g.useState(r),l=n!==void 0,d=l?n:i,h=x=>{l||s(x),a&&a(x)};return e.jsx(xr.Provider,{value:{activeTab:d,setTab:h},children:t})},hc=({mode:t,item:r,isActive:n,showBadge:a,badgeProps:i,size:s,isDisabled:l,onSelectTab:d})=>{const{value:h,label:x,prefix:c,prefixWrapperProps:b={},postfix:C,postfixWrapperProps:u={}}=r,{className:f,...y}=b,{className:_,...m}=u,p={primary:et["typography-label-3-medium"],secondary:et["typography-label-3-regular"],prefix:et["typography-label-3-medium"],postfix:et["typography-label-3-medium"]},v={size:pc,position:fc,...i},L=S.clsx(at.tab,at[t],at[s],{[at.selected]:n,[at.disabled]:l}),T=S.clsx(at.tabPrefix,f,at[t],p.prefix,{[at.selected]:n,[at.disabled]:l}),k=S.clsx(at.tabPostfix,_,at[t],p.postfix,{[at.selected]:n,[at.disabled]:l}),$=S.clsx(at.tabLabel,at[t],p[t]),R=A=>{n||l||(d(h),A.currentTarget.scrollIntoView({behavior:"smooth",inline:"center",block:"nearest"}))},I=e.jsxs("button",{className:L,role:"tab","aria-label":x,"aria-selected":n,"aria-disabled":l,"aria-controls":`tab-panel-${h}`,"data-testid":`tab-item-${h}`,onClick:R,children:[c&&e.jsx("span",{className:T,...y,"data-testid":`tab-prefix-${h}`,children:c}),e.jsx("span",{className:$,"data-testid":`tab-label-${h}`,children:x}),C&&e.jsx("span",{className:k,...m,"data-testid":`tab-postfix-${h}`,children:C})]});return a?e.jsx(cr,{...v,"data-testid":`tab-badge-${h}`,children:I}):I},xc=({mode:t,items:r,size:n=uc,isAllItemsDisabled:a=_c})=>{const{activeTab:i,setTab:s}=mr(),l=Eo();return e.jsx(Jl,{size:n,withControls:l,children:e.jsx("div",{role:"tablist","data-testid":"tabs-bar","aria-orientation":"horizontal",className:S.clsx(at.tabBar,at[t]),children:r.map(d=>e.jsx(hc,{size:n,item:d,mode:t,showBadge:d.showBadge,badgeProps:d.badgeProps,isActive:i===d.value,isDisabled:a||d.isDisabled,onSelectTab:s},d.value))})})},mc=({tabValue:t,children:r,...n})=>e.jsx("div",{role:"tabpanel","data-testid":`tab-panel-${t}`,"aria-labelledby":`tab-item-${t}`,...n,children:r}),bc=({children:t,...r})=>{const{activeTab:n}=mr(),a=Array.isArray(t)?t:[t],i=(s,l)=>g.isValidElement(s)&&typeof s.props=="object"&&s.props!==null&&l in s.props;return e.jsx("div",{"data-testid":"tab-content",...r,children:a.map(s=>i(s,"tabValue")&&String(s.props.tabValue)===n?s:null)})},yc={Provider:gc,Content:bc,Panel:mc,Bar:xc},vc="_root_1fbbw_34",wc="_open_1fbbw_51",Cc="_xs_1fbbw_55",kc="_s_1fbbw_61",Sc="_m_1fbbw_67",Lc="_neutral_1fbbw_73",jc="_contrast_1fbbw_78",$c="_accent_1fbbw_84",Tc="_typography_1fbbw_89",Ec="_title_1fbbw_89",Rc="_text_1fbbw_93",Ic="_mediaWrapper_1fbbw_97",Nc="_content_1fbbw_112",Mc="_closeButton_1fbbw_116",Ac="_hasMedia_1fbbw_142",Oc="_buttonStack_1fbbw_148",_t={root:vc,open:wc,xs:Cc,s:kc,m:Sc,neutral:Lc,contrast:jc,accent:$c,typography:Tc,title:Ec,text:Rc,mediaWrapper:Ic,content:Nc,closeButton:Mc,hasMedia:Ac,buttonStack:Oc},Bc=()=>e.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",stroke:"currentColor",children:e.jsx("path",{d:"M18 6 6 18M6 6l12 12"})}),Pc=()=>e.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 9",fill:"currentColor",children:[e.jsx("path",{d:"M0.155001 0.000390053L23.845 0.000390053C21.4147 0.000390053 19.1162 1.10511 17.598 3.00283L13.5617 8.04822C12.7611 9.04903 11.2389 9.04903 10.4383 8.04822L6.40195 3.00283C4.88377 1.10511 2.58527 0.000390053 0.155001 0.000390053Z"}),e.jsx("path",{d:"M-2 0.000390053L26 0.000390053V-1L-2 -1L-2 0.000390053Z"})]}),xt={shiftX:64,adjustY:1},mt={adjustX:1,shiftY:!0},zc={left:{points:["cr","cl"],overflow:mt,offset:[-22,0]},right:{points:["cl","cr"],overflow:mt,offset:[22,0]},top:{points:["bc","tc"],overflow:xt,offset:[0,-22]},bottom:{points:["tc","bc"],overflow:xt,offset:[0,22]},topLeft:{points:["bl","tl"],overflow:xt,offset:[0,-22]},leftTop:{points:["tr","tl"],overflow:mt,offset:[-22,0]},topRight:{points:["br","tr"],overflow:xt,offset:[0,-22]},rightTop:{points:["tl","tr"],overflow:mt,offset:[22,0]},bottomRight:{points:["tr","br"],overflow:xt,offset:[0,22]},rightBottom:{points:["bl","br"],overflow:mt,offset:[22,0]},bottomLeft:{points:["tl","bl"],overflow:xt,offset:[0,22]},leftBottom:{points:["br","bl"],overflow:mt,offset:[-22,0]}},Dc={left:{points:["cr","cl"],overflow:mt,offset:[-16,0]},right:{points:["cl","cr"],overflow:mt,offset:[16,0]},top:{points:["bc","tc"],overflow:xt,offset:[0,-16]},bottom:{points:["tc","bc"],overflow:xt,offset:[0,16]},topLeft:{points:["bl","tl"],overflow:xt,offset:[0,-16]},leftTop:{points:["tr","tl"],overflow:mt,offset:[-16,0]},topRight:{points:["br","tr"],overflow:xt,offset:[0,-16]},rightTop:{points:["tl","tr"],overflow:mt,offset:[16,0]},bottomRight:{points:["tr","br"],overflow:xt,offset:[0,16]},rightBottom:{points:["bl","br"],overflow:mt,offset:[16,0]},bottomLeft:{points:["tl","bl"],overflow:xt,offset:[0,16]},leftBottom:{points:["br","bl"],overflow:mt,offset:[-16,0]}},Fc={neutral:{1:[{mode:"secondary",buttonStyle:"neutral",size:"s"}],2:[{mode:"secondary",buttonStyle:"neutral",size:"s"},{mode:"primary",buttonStyle:"neutral",size:"s"}],3:[{mode:"primary",buttonStyle:"accent",size:"s"},{mode:"secondary",buttonStyle:"neutral",size:"s"},{mode:"primary",buttonStyle:"neutral",size:"s"}]},contrast:{1:[{mode:"primary",buttonStyle:"neutral",size:"s"}],2:[{mode:"primary",buttonStyle:"neutral",size:"s"},{mode:"secondary",buttonStyle:"neutral",size:"s"}],3:[{mode:"primary",buttonStyle:"accent",size:"s"},{mode:"primary",buttonStyle:"neutral",size:"s"},{mode:"secondary",buttonStyle:"neutral",size:"s"}]},accent:{1:[{mode:"secondary",buttonStyle:"neutral",size:"s"}],2:[{mode:"secondary",buttonStyle:"neutral",size:"s"},{mode:"primary",buttonStyle:"accent",size:"s"}],3:[{mode:"primary",buttonStyle:"neutral",size:"s"},{mode:"secondary",buttonStyle:"neutral",size:"s"},{mode:"primary",buttonStyle:"accent",size:"s"}]}},Wc=(t,r,n)=>({...r,...n??{},...t}),qc=(t,r,n)=>{const a=_o(r,1,3),i=Fc[n][a];return i[Math.min(t,i.length-1)]},Qe=({text:t,title:r,media:n,variant:a="neutral",size:i,classNames:s={},onClose:l,buttons:d,buttonProps:h,showClose:x})=>{const c=["neutral","accent"].includes(a)?"contrast":"primary",b=i==="m",C=!!(r&&b),u=!!(n&&b),f=d&&!!d.length,y=!!(x&&b)||!x&&b&&!f,_=i==="xs"?4:3;return e.jsxs("div",{className:_t.content,children:[u&&e.jsx("div",{className:S.clsx(_t.mediaWrapper,s.mediaWrapper),children:n}),e.jsxs("div",{className:s.textWrapper,children:[C&&e.jsx(It.Subtitle,{className:S.clsx(_t.typography,_t.title,s.typography),size:1,as:"h3",typographyStyle:c,children:r}),e.jsx(It.Label,{className:S.clsx(_t.typography,_t.text,s.typography),typographyStyle:c,size:_,children:t})]}),y&&e.jsx("button",{type:"button",className:S.clsx(_t.closeButton,_t[a],s.closeButton,{[_t.hasMedia]:u}),onClick:l,"aria-label":"Закрыть подсказку","data-testid":"tooltip-close-button",children:e.jsx(Bc,{})}),b&&f&&e.jsx("div",{className:_t.buttonStack,children:d.map((m,p)=>{const v=qc(p,d.length,a),L=Wc(m,v,h),{closeOnClick:T,...k}=L,$=R=>{var I;(I=k.onClick)==null||I.call(k,R),T&&(l==null||l())};return e.jsx(Ut,{...k,onClick:$},p)})})]})},Hc=({customContent:t,children:r,placement:n="top",contentClassNames:a,mouseEnterDelay:i=0,mouseLeaveDelay:s=.1,showArrow:l=!0,showClose:d=!0,trigger:h="hover",variant:x="neutral",size:c="s",text:b,title:C,media:u,buttons:f,buttonProps:y,onClose:_,...m})=>{const[p,v]=g.useState(!1),[L,T]=g.useState(!1),k=c==="m"?zc:Dc,$=()=>{v(!1),_==null||_()},R=t||(c==="m"?e.jsx(Qe,{classNames:a,text:b,variant:x,size:c,onClose:$,title:C,media:u,showClose:d,buttons:f,buttonProps:y}):e.jsx(Qe,{classNames:a,text:b,variant:x,size:c,onClose:$}));return g.useEffect(()=>{if(p){const I=requestAnimationFrame(()=>T(!0));return()=>cancelAnimationFrame(I)}T(!1)},[p]),e.jsx(qr,{visible:p,onVisibleChange:v,classNames:{root:S.clsx(_t.root,_t[x],_t[c],L&&_t.open),...m.classNames},placement:n,overlay:()=>R,trigger:h,mouseEnterDelay:i,mouseLeaveDelay:s,motion:{motionName:"tooltipMotion"},builtinPlacements:k,showArrow:l?{content:e.jsx(Pc,{}),className:`tooltipArrow tooltipArrow-${c}`}:!1,destroyTooltipOnHide:!0,...m,children:r})},Vc="_base_4dkq5_1",Xc="_content_4dkq5_1",Uc="_background_4dkq5_1",Zc="_button_4dkq5_1",Yc="_link_4dkq5_1",Gc="_input_4dkq5_1",Kc="_suffix_4dkq5_1",Jc="_prefix_4dkq5_1",Qc="_tooltip_4dkq5_1",t1="_hint_4dkq5_1",e1="_dropdown_4dkq5_1",r1="_popover_4dkq5_1",n1="_modalBackdrop_4dkq5_1",o1="_modal_4dkq5_1",a1="_overlay_4dkq5_1",s1="_drawer_4dkq5_1",i1="_notification_4dkq5_1",l1="_alert_4dkq5_1",c1="_toast_4dkq5_1",d1="_loading_4dkq5_1",u1="_error_4dkq5_1",_1="_critical_4dkq5_1",p1="_segmentedControl_4dkq5_7",f1="_segment_4dkq5_7",g1="_activeSegmentIndicator_4dkq5_61",h1="_selected_4dkq5_80",x1="_stretched_4dkq5_89",m1="_disabled_4dkq5_97",b1="_s_4dkq5_7",y1="_icon_4dkq5_110",v1="_label_4dkq5_114",w1="_m_4dkq5_1",C1="_l_4dkq5_114",Rt={base:Vc,content:Xc,background:Uc,button:Zc,link:Yc,input:Gc,suffix:Kc,prefix:Jc,tooltip:Qc,hint:t1,dropdown:e1,popover:r1,modalBackdrop:n1,modal:o1,overlay:a1,drawer:s1,notification:i1,alert:l1,toast:c1,loading:d1,error:u1,critical:_1,segmentedControl:p1,segment:f1,activeSegmentIndicator:g1,selected:h1,stretched:x1,disabled:m1,s:b1,icon:y1,label:v1,m:w1,l:C1},tr={s:et["typography-label-3-regular"],m:et["typography-label-2-regular"],l:et["typography-label-2-regular"]},k1=t=>{const{className:r,defaultValue:n,value:a,size:i="m",segments:s,stretched:l,disabled:d=!1,mode:h="label",onChange:x,...c}=t,b=g.useId(),[C,u]=g.useState(n||s[0].value),[f,y]=g.useState({width:0,left:0,height:0}),_=g.useRef(null);g.useEffect(()=>{a!=null&&u(a)},[a]),g.useLayoutEffect(()=>{m()},[C,s,i,l,h]);const m=()=>{if(!(_!=null&&_.current))return;const v=_.current.querySelector('[data-is-active-segment="true"]');v&&y({width:v.offsetWidth,left:v.offsetLeft,height:v.offsetHeight})},p=v=>{d||(u(v),x==null||x(v))};return(s==null?void 0:s.length)===0?null:e.jsxs("fieldset",{className:S.clsx(Rt.segmentedControl,Rt[i],Rt[h],{[Rt.stretched]:l,[Rt.disabled]:d},r),"data-testid":"segmented-control-container",ref:_,disabled:d,...c,children:[s==null?void 0:s.map(({label:v,value:L,containerProps:T={}},k)=>{const{className:$,...R}=T,I=()=>p(L),A=JSON.stringify(L),D=C===L;return e.jsxs(g.Fragment,{children:[e.jsx("input",{id:b+A,value:A,type:"radio",checked:D,readOnly:!0}),e.jsx("label",{"data-is-active-segment":D,className:S.clsx(Rt.segment,tr[i],{[Rt.selected]:D},$),htmlFor:b+A,"data-testid":"segmented-control-segment",onClick:I,...R,children:v})]},oe(A)+k)}),e.jsx("div",{className:S.clsx(Rt.activeSegmentIndicator,tr[i]),"data-testid":"segmented-control-segment-active-indicator",style:f})]})};var Ft=(t=>(t.NORMAL="normal",t.FLOATING="floating",t.HIDDEN="hidden",t))(Ft||{});const rt={"trigger-wrapper":"_trigger-wrapper_fm9f9_79","trigger-container":"_trigger-container_fm9f9_85","trigger-container-applied":"_trigger-container-applied_fm9f9_109","trigger-container-open":"_trigger-container-open_fm9f9_114","trigger-container-error":"_trigger-container-error_fm9f9_125","trigger-container-size-XS":"_trigger-container-size-XS_fm9f9_137","trigger-container-size-S":"_trigger-container-size-S_fm9f9_147","trigger-container-size-M":"_trigger-container-size-M_fm9f9_153","trigger-container-size-L":"_trigger-container-size-L_fm9f9_159","trigger-container-size-XL":"_trigger-container-size-XL_fm9f9_167","trigger-container-floating":"_trigger-container-floating_fm9f9_173","trigger-stretched":"_trigger-stretched_fm9f9_178","trigger-content-container":"_trigger-content-container_fm9f9_182","trigger-content-container-floating":"_trigger-content-container-floating_fm9f9_191","trigger-label":"_trigger-label_fm9f9_196","trigger-label-floating":"_trigger-label-floating_fm9f9_203","trigger-label-hidden":"_trigger-label-hidden_fm9f9_213","trigger-content":"_trigger-content_fm9f9_182","trigger-prefix-icon":"_trigger-prefix-icon_fm9f9_225","trigger-chevron-icon":"_trigger-chevron-icon_fm9f9_230","trigger-clear-icon":"_trigger-clear-icon_fm9f9_246","trigger-postfix":"_trigger-postfix_fm9f9_262"},S1=({className:t="",style:r,size:n="md",color:a="currentColor",...i})=>{const l={display:"inline-block",color:a,...{xxxs:{width:"8px",height:"8px"},xxs:{width:"12px",height:"12px"},xs:{width:"16px",height:"16px"},sm:{width:"24px",height:"24px"},md:{width:"32px",height:"32px"},lg:{width:"40px",height:"40px"}}[n],...r};return e.jsx("svg",{className:t,style:l,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...i,children:e.jsx("path",{d:"M18 9L12 15L6 9",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})},L1=(t,r)=>t==="XL"&&r?Ft.FLOATING:t!=="XL"&&r?Ft.HIDDEN:Ft.NORMAL,j1=(t,r)=>r?3:t==="XL"||t==="L"?2:3,er=t=>t==="XL"||t==="L"?2:3,rr=t=>t==="XL"||t==="L"?"sm":"xs",$1=t=>t.length>30?t.slice(0,30)+"…":t,T1=({content:t,size:r="XL",description:n,label:a,stretched:i=!1,selectionStyle:s="selected",clearable:l=!1,error:d,prefixIcon:h,postfixTitle:x,disabled:c=!1,open:b,onClear:C,classNames:u={},styles:f={}})=>{const y=!!t,_=!!a,m=!!d,p=s==="applied",v=!!n&&(!m||c)||m&&!c,L=(m&&!c?d:n)||"",T=m&&!c,k=L1(r,y),$=_&&k===Ft.FLOATING,R=k===Ft.HIDDEN,I=S.clsx(rt["trigger-wrapper"],{[rt["trigger-stretched"]]:i},u.wrapper),A=S.clsx(rt["trigger-container"],rt[`trigger-container-size-${r}`],{[rt["trigger-stretched"]]:i,[rt["trigger-container-applied"]]:p&&y,[rt["trigger-container-error"]]:m&&!c,[rt["trigger-container-open"]]:b,[rt["trigger-container-floating"]]:$},u.triggerContainer),D=S.clsx(rt["trigger-content-container"],{[rt["trigger-content-container-floating"]]:$},u.triggerContent),F=S.clsx(rt["trigger-label"],{[rt["trigger-label-floating"]]:$,[rt["trigger-label-hidden"]]:R},u.label),E=S.clsx(rt["trigger-content"],u.content),M=S.clsx(rt["trigger-postfix"],u.postfixTitle),q=S.clsx(rt["trigger-chevron-icon"],u.chevronIcon),H=S.clsx(rt["trigger-prefix-icon"],u.prefixIconContainer),U=S.clsx(rt["trigger-clear-icon"],u.clearIcon),G=Q=>{Q==null||Q.stopPropagation(),C==null||C()},Z=y&&b&&(s==="selected"&&l||s==="applied")||y&&!b&&(p||s==="selected"&&l);return e.jsxs("div",{className:I,style:f.wrapper,children:[e.jsxs("button",{"data-testid":"trigger","aria-invalid":m,"aria-haspopup":"listbox","aria-expanded":b,role:"combobox",className:A,style:f.triggerContainer,disabled:c,type:"button",children:[h&&r!=="XL"&&e.jsx("div",{className:H,style:f.prefixIconContainer,children:h}),e.jsxs("div",{className:D,style:f.triggerContent,children:[_&&e.jsx(It.Label,{"data-testid":"trigger-label",className:F,style:f.label,size:j1(r,$),as:"span",disabled:c,typographyStyle:$?"secondary":"tertiary",children:a}),y&&e.jsx(It.Label,{"data-testid":"trigger-content-container",className:E,style:f.content,size:er(r),as:"span",disabled:c,children:i?t:$1(t)}),y&&!!x&&e.jsx(It.Label,{"data-testid":"trigger-postfix",className:M,style:f.postfixTitle,size:er(r),disabled:c,typographyStyle:"secondary",children:x})]}),Z?e.jsx(ve,{className:U,"data-testid":"trigger-clear",size:rr(r),tabIndex:-1,onClick:G,style:{outline:"none",...f.clearIcon},color:s==="selected"&&l?"var(--base-graphite-75)":void 0}):e.jsx(S1,{"data-testid":"trigger-chevron",size:rr(r),className:q,color:"#AABBCA",style:f.chevronIcon})]}),v&&e.jsx(gr,{title:L,error:T?d:void 0,className:T?u.error:u.description,style:T?f.error:f.description,disabled:c,"data-testid":T?"trigger-error":"trigger-description"})]})},br=g.createContext(void 0),E1=()=>{const t=g.useContext(br);if(!t)throw new Error("useSnackbar must be used inside SnackbarProvider");return t},R1={timeout:"exitingTimeout",close:"exitingClose",escape:"exitingEscape",swipe:"swipeTransition"},yr={timeout:500,close:100,escape:100,swipe:300},I1={timeout:400,close:400,escape:400,swipe:300},me=3,N1=(t,r)=>{switch(r.type){case"ENQUEUE":return{...t,queue:[...t.queue,r.snack]};case"SHOW_NEXT":{if(t.visible.length>=me||t.queue.length===0)return t;const n=me-t.visible.length,a=t.queue.slice(0,n),i=t.queue.slice(n);return{visible:[...t.visible,...a],queue:i}}case"START_EXIT":return{...t,visible:t.visible.map(n=>n.id===r.id?{...n,exiting:!0}:n)};case"REMOVE":return{...t,visible:t.visible.filter(n=>n.id!==r.id)};default:return t}},M1=({ref:t,open:r,onClose:n,setExiting:a,setExitReason:i,swiping:s,startX:l,startY:d,currentX:h,currentY:x})=>{g.useEffect(()=>{const c=t.current;if(!c||!r)return;const b=f=>{f.target instanceof Element&&f.target.closest("button")||(s.current=!0,l.current=f.touches[0].clientX,d.current=f.touches[0].clientY,h.current=l.current,x.current=d.current,c.style.animation="none",c.style.transition="none")},C=f=>{if(!s.current)return;h.current=f.touches[0].clientX,x.current=f.touches[0].clientY;const y=h.current-l.current,_=x.current-d.current,m=Math.abs(y),p=Math.abs(_),v=m>p?y:0,L=p>=m?_:0,T=Math.sqrt(y**2+_**2),k=Math.max(1-T/300,0);c.style.transform=`translate(${v}px, ${L}px)`,c.style.opacity=`${k}`},u=()=>{if(!s.current)return;s.current=!1;const f=h.current-l.current,y=x.current-d.current,_=Math.abs(f),m=Math.abs(y),p=c.offsetWidth,v=c.offsetHeight;let L=!1;if(_>2/3*p&&(L=!0),L||(y<0&&m>v/2&&(L=!0),y>0&&m>v&&(L=!0)),L){i("swipe"),a(!0),c.style.transition="";const T=f>0?p:-p,k=y>0?v:-v;c.style.transform=`translate(${T}px, ${k}px)`,c.style.opacity="0",setTimeout(()=>n("swipe"),yr.swipe)}else a(!1),i(void 0),c.style.transition="",c.style.transform="translate(0px, 0px)",c.style.opacity="1"};return c.addEventListener("touchstart",b),c.addEventListener("touchmove",C),c.addEventListener("touchend",u),()=>{c.removeEventListener("touchstart",b),c.removeEventListener("touchmove",C),c.removeEventListener("touchend",u)}},[t,r,n,a,i])};let A1=(t=21)=>crypto.getRandomValues(new Uint8Array(t)).reduce((r,n)=>(n&=63,n<36?r+=n.toString(36):n<62?r+=(n-26).toString(36).toUpperCase():n>62?r+="-":r+="_",r),"");const O1="_stack_1sg4d_1",B1="_local_1sg4d_19",P1="_snackWrapper_1sg4d_27",ee={stack:O1,local:B1,snackWrapper:P1},z1="_snackbar_1gs18_14",D1="_slideIn_1gs18_1",F1="_snackbarStack_1gs18_41",W1="_snackbarVertical_1gs18_46",q1="_fix_1gs18_54",H1="_fill_1gs18_60",V1="_hug_1gs18_66",X1="_content_1gs18_72",U1="_contentVertical_1gs18_80",Z1="_contentText_1gs18_84",Y1="_icon_1gs18_88",G1="_exiting_1gs18_94",K1="_slideOut_1gs18_1",J1="_exitingTimeout_1gs18_100",Q1="_exitingClose_1gs18_105",t2="_exitingStack_1gs18_112",e2="_swipeTransition_1gs18_119",r2="_exitingEscape_1gs18_125",ut={snackbar:z1,slideIn:D1,snackbarStack:F1,snackbarVertical:W1,fix:q1,fill:H1,hug:V1,content:X1,contentVertical:U1,contentText:Z1,icon:Y1,exiting:G1,slideOut:K1,exitingTimeout:J1,exitingClose:Q1,exitingStack:t2,swipeTransition:e2,exitingEscape:r2},n2=()=>e.jsxs("svg",{viewBox:"0 0 21 21",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[e.jsxs("g",{clipPath:"url(#clip0_3152_20713)",children:[e.jsx("mask",{id:"mask0_3152_20713",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",children:e.jsx("path",{d:"M15.5 5.5L5.5 15.5M5.5 5.5L15.5 15.5",stroke:"black",strokeWidth:"1.7",strokeLinecap:"round",strokeLinejoin:"round"})}),e.jsx("g",{mask:"url(#mask0_3152_20713)",children:e.jsx("rect",{x:"0.5",y:"0.5",width:"20",height:"20",fill:"currentColor",fillOpacity:"0.48"})})]}),e.jsx("defs",{children:e.jsx("clipPath",{id:"clip0_3152_20713",children:e.jsx("rect",{width:"20",height:"20",fill:"currentColor",transform:"translate(0.5 0.5)"})})})]}),o2=({className:t})=>e.jsxs("svg",{width:"25",height:"25",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:t,"data-testid":"snackbar-icon-error",children:[e.jsx("mask",{id:"mask0_3156_27258",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"25",height:"25",children:e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.5 1.5C6.42487 1.5 1.5 6.42487 1.5 12.5C1.5 18.5751 6.42487 23.5 12.5 23.5C18.5751 23.5 23.5 18.5751 23.5 12.5C23.5 6.42487 18.5751 1.5 12.5 1.5ZM8.5 11.5C7.94772 11.5 7.5 11.9477 7.5 12.5C7.5 13.0523 7.94772 13.5 8.5 13.5H16.5C17.0523 13.5 17.5 13.0523 17.5 12.5C17.5 11.9477 17.0523 11.5 16.5 11.5H8.5Z",fill:"black"})}),e.jsx("g",{mask:"url(#mask0_3156_27258)",children:e.jsx("rect",{x:"0.5",y:"0.5",width:"24",height:"24",fill:"#FE725F"})})]}),a2=({className:t})=>e.jsxs("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:t,"data-testid":"snackbar-icon-info",children:[e.jsxs("g",{"clip-path":"url(#clip0_3031_21000)",children:[e.jsx("mask",{id:"mask0_3031_21000",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"24",height:"24",children:e.jsx("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M4.80877 14.5947L5.43693 15.1334L5.23343 15.9889C4.28722 19.9668 3.81411 21.9558 4.8928 22.7395C5.97149 23.5232 7.7169 22.4586 11.2077 20.3295L11.9743 19.8619L12.7408 20.3295C16.2316 22.4586 17.977 23.5232 19.0557 22.7395C20.1344 21.9558 19.6613 19.9668 18.7151 15.9889L18.5203 15.1699L19.1908 14.5947C22.2944 11.9327 23.8463 10.6017 23.4342 9.33364C23.0222 8.06557 20.9844 7.9009 16.9088 7.57156L16.0423 7.50154L15.6923 6.66154C14.1197 2.88718 13.3333 1 12 1C10.6667 1 9.88034 2.88717 8.3077 6.66152L7.95775 7.50141L7.09075 7.57147C3.01514 7.90081 0.977339 8.06547 0.565317 9.33355C0.153294 10.6016 1.70512 11.9326 4.80877 14.5947Z",fill:"black"})}),e.jsx("g",{mask:"url(#mask0_3031_21000)",children:e.jsx("rect",{width:"24",height:"24",fill:"white"})})]}),e.jsx("defs",{children:e.jsx("clipPath",{id:"clip0_3031_21000",children:e.jsx("rect",{width:"24",height:"24",fill:"white"})})})]}),s2=({className:t})=>e.jsx("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:t,"data-testid":"snackbar-icon-success",children:e.jsx("g",{transform:"translate(-2.8, -2.8) scale(1.24)",children:e.jsxs("g",{clipPath:"url(#clip0_343_52329)",children:[e.jsx("mask",{id:"mask0_343_52329",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"24",height:"24",children:e.jsx("g",{clipPath:"url(#clip1_343_52329)",children:e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.83334 12C2.83334 6.93737 6.9374 2.83331 12 2.83331C17.0626 2.83331 21.1667 6.93737 21.1667 12C21.1667 17.0626 17.0626 21.1666 12 21.1666C6.9374 21.1666 2.83334 17.0626 2.83334 12ZM16.3393 8.91072C16.6647 9.23616 16.6647 9.7638 16.3393 10.0892L11.3393 15.0892C11.0138 15.4147 10.4862 15.4147 10.1608 15.0892L7.66075 12.5892C7.33532 12.2638 7.33532 11.7362 7.66075 11.4107C7.98619 11.0853 8.51383 11.0853 8.83927 11.4107L10.75 13.3215L15.1608 8.91072C15.4862 8.58529 16.0138 8.58529 16.3393 8.91072Z",fill:"black"})})}),e.jsx("g",{mask:"url(#mask0_343_52329)",children:e.jsx("rect",{x:"0",y:"0",width:"24",height:"24",fill:"#5BCF83"})})]})})}),i2=g.forwardRef((t,r)=>{const{open:n,variant:a="info",mode:i="fix",onClose:s,autoHideDuration:l=6e3,disableAutoHide:d=!1,showButtonClose:h=!0,showIcon:x=!0,content:c,classNameSnackbarRoot:b,icon:C,isStack:u=!1,forceClose:f,"data-testid":y="snackbar"}=t,_=g.useRef(null),m=g.useRef(null),[p,v]=g.useState(!1),[L,T]=g.useState(!1),[k,$]=g.useState(),R=g.useRef(0),I=g.useRef(0),A=g.useRef(0),D=g.useRef(0),F=g.useRef(!1),E=g.useRef(null),M=z=>{clearTimeout(E.current||0),E.current=null;const K=u?I1[z]:yr[z];z==="swipe"||(T(!0),$(z)),E.current=setTimeout(()=>{s==null||s(),T(!1),$(void 0),E.current=null},K)};M1({ref:m,open:n,onClose:M,setExiting:T,setExitReason:$,swiping:F,startX:R,startY:I,currentX:A,currentY:D}),g.useEffect(()=>{f&&M("close")},[f]),g.useEffect(()=>{if(n&&!d&&a!=="loading"){const z=setTimeout(()=>M("timeout"),l);return()=>clearTimeout(z)}},[n,d,a,l]),g.useEffect(()=>{n&&(T(!1),$(void 0))},[n]),g.useEffect(()=>{const z=_.current;z&&requestAnimationFrame(()=>{const K=parseFloat(getComputedStyle(z).lineHeight),Z=z.offsetHeight,Q=Math.round(Z/K);v(Q>1)})},[c]),g.useEffect(()=>{if(!n)return;const z=K=>{K.key==="Escape"&&M("escape")};return window.addEventListener("keydown",z),()=>window.removeEventListener("keydown",z)},[n]),g.useEffect(()=>()=>{E.current&&(clearTimeout(E.current),E.current=null)},[]);const q=L&&k&&ut[R1[k]];if(!n&&!L)return null;const H={success:e.jsx(s2,{className:ut.icon}),error:e.jsx(o2,{className:ut.icon}),info:e.jsx(a2,{className:ut.icon}),loading:e.jsx(ae,{"data-testid":"snackbar-icon-loading",variant:"contrast"})},U=Ct(ut.snackbar,ut[i],{[ut.exiting]:L&&k},{[ut.snackbarVertical]:p},b,q,{[ut.snackbarStack]:u&&!L,[ut.exitingStack]:u&&L}),G=z=>{m.current=z,r&&(typeof r=="function"?r(z):r.current=z)};return e.jsxs("div",{ref:G,"data-testid":y,className:U,children:[e.jsxs("div",{className:Ct(ut.content,{[ut.contentVertical]:p}),children:[x&&e.jsx("div",{className:ut.icon,children:C||H[a]}),e.jsx(It.Label,{className:ut.contentText,ref:_,typographyStyle:"contrast",children:c})]}),h&&e.jsx(Ut,{iconLeft:e.jsx(n2,{}),onClick:()=>M("close"),mode:"tertiary",buttonStyle:"contrast",style:{padding:"0px"}})]})}),l2=t=>{const{children:r,dataTestId:n="snackbar-wrapper"}=t,[a,i]=g.useReducer(N1,{visible:[],queue:[]}),s=u=>{const f=A1(),y={...u,id:f,open:!0};i({type:"ENQUEUE",snack:y})},l=u=>{i({type:"REMOVE",id:u})};g.useEffect(()=>{i({type:"SHOW_NEXT"})},[a.queue,a.visible]),g.useEffect(()=>{if(a.queue.length!==0)if(a.visible.length>=me){const u=a.visible[0];i({type:"START_EXIT",id:u.id})}else i({type:"SHOW_NEXT"})},[a.queue]);const d=u=>u.map((f,y)=>{const _=(u.length-1-y)*-8,m=u.length>1;m&&!f.wasInStack&&(f.wasInStack=!0);const p=f.wasInStack||m?"fix":f.mode;return e.jsx("div",{"data-testid":n,className:ee.snackWrapper,style:{transform:`translateY(${_}px)`},children:e.jsx(i2,{...f,open:!f.exiting,isStack:m,mode:p,forceClose:f.exiting,onClose:()=>l(f.id)})},f.id)}),h=a.visible.filter(u=>!u.parent),x=a.visible.filter(u=>u.parent),c=Ae.createPortal(e.jsx("div",{className:ee.stack,children:d(h)}),document.body),b=x.reduce((u,f)=>{if(!f.parent)return u;const y=f.parent.id||`parent-${f.parent.className}`;return(u[y]||(u[y]=[])).push(f),u},{}),C=Object.entries(b).map(([u,f])=>{const y=f[0];return y.parent?Ae.createPortal(e.jsx("div",{className:Ct(ee.stack,ee.local),children:d(f)},u),y.parent):null});return e.jsxs(br.Provider,{value:{show:s},children:[r,c,C]})};exports.Alert=$a;exports.Avatar=sr;exports.Badge=cr;exports.Button=Ut;exports.Checkbox=Ys;exports.ConfigProvider=xs;exports.Helper=gr;exports.Image=Da;exports.List=Pl;exports.Loader=ae;exports.Modal=pa;exports.Placeholder=lr;exports.Radio=Tl;exports.SegmentedControl=k1;exports.SnackbarProvider=l2;exports.Tabs=yc;exports.Tag=As;exports.TextArea=sl;exports.TextInput=Ki;exports.Tooltip=Hc;exports.Trigger=T1;exports.Typography=It;exports.enUS=dr;exports.ruRU=ms;exports.useConfig=_r;exports.useLocale=Fa;exports.useSnackbar=E1;
|
|
34
|
+
*/var De;function Kn(){return De||(De=1,(function(t){(function(){var r={}.hasOwnProperty;function n(){for(var a="",l=0;l<arguments.length;l++){var d=arguments[l];d&&(a=i(a,s(d)))}return a}function s(a){if(typeof a=="string"||typeof a=="number")return a;if(typeof a!="object")return"";if(Array.isArray(a))return n.apply(null,a);if(a.toString!==Object.prototype.toString&&!a.toString.toString().includes("[native code]"))return a.toString();var l="";for(var d in a)r.call(a,d)&&a[d]&&(l=i(l,d));return l}function i(a,l){return l?a?a+" "+l:a+l:a}t.exports?(n.default=n,t.exports=n):window.classNames=n})()})(ge)),ge.exports}var Jn=Kn();const vt=Xr(Jn),or=g.forwardRef(({size:t=24,variant:r="accent",className:n,"data-testid":s="loader",style:i,...a},l)=>{const d=vt(Xt.loader,Xt[r],Xt[`size-${t}`],n);return e.jsx("svg",{ref:l,className:d,fill:"none",viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg","data-testid":s,style:i,...a,children:e.jsx("path",{d:"M14 8C14 11.3137 11.3137 14 8 14C4.68629 14 2 11.3137 2 8C2 4.68629 4.68629 2 8 2",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.33333"})})}),Qn=g.forwardRef((t,r)=>{const{loading:n=!1,size:s=24,variant:i="accent",children:a,className:l,style:d,"data-testid":h,...b}=t,c=vt(Xt.container,l);return e.jsxs("div",{ref:r,className:c,style:d,"data-testid":h,...b,children:[a,n&&e.jsx("div",{className:Xt.overlay,children:e.jsx(or,{size:s,variant:i,"data-testid":`${h}-spinner`})})]})}),ae=g.forwardRef((t,r)=>t.children?e.jsx(Qn,{ref:r,...t}):e.jsx(or,{ref:r,...t})),to=({width:t=24,height:r=24,className:n="",color:s="currentColor",...i})=>e.jsx("svg",{className:n,width:t,height:r,fill:"none",xmlns:"http://www.w3.org/2000/svg",...i,children:e.jsx("path",{d:"M19 12H5m0 0 7 7m-7-7 7-7",stroke:s,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2"})}),eo={l:"typography-subtitle-1-semibold",m:"typography-subtitle-2-semibold",s:"typography-label-3-medium",xs:"typography-label-3-medium"},ro=t=>eo[t]||"typography-subtitle-2-semibold",Fe=({iconLeft:t,children:r,postfix:n,subcaption:s,size:i})=>{const a=!!(s&&i==="l"),l=!!(!r&&t),d=!!(a&&!r&&n||n&&!a);return e.jsxs(g.Fragment,{children:[a&&r&&e.jsxs(g.Fragment,{children:[e.jsx("span",{"data-testid":"button-label",className:S.clsx(A.label,A.labelText),children:r}),e.jsx("span",{"data-testid":"button-subcaption",className:S.clsx(A.subcaption,tt["typography-label-4-regular"]),children:s})]}),!a&&r&&e.jsxs("span",{"data-testid":"button-label",className:A.label,children:[t&&e.jsx("span",{"data-testid":"button-left-icon",className:A.icon,children:t}),e.jsx("span",{className:A.labelText,children:r})]}),l&&e.jsx("span",{"data-testid":"button-icon",className:A.icon,children:t}),d&&e.jsx("div",{"data-testid":"button-right-group",className:A.rightGroup,children:e.jsx("span",{"data-testid":"button-postfix",className:S.clsx(A.postfix,tt["typography-subtitle-2-semibold"]),children:n})})]})},ye=g.forwardRef((t,r)=>{const{mode:n="primary",size:s="m",buttonStyle:i="neutral",disabled:a=!1,className:l,children:d,tabIndex:h}=t,b=n==="tertiary",c=b&&"paddings"in t?t.paddings??!0:!0,y=t.subcaption,v=t.postfix,u=t.stretched,p=!!("loading"in t&&t.loading),m=a,_=!m&&!p,x=t.iconLeft,f=!!(!d&&x&&!v),C=typeof u=="object"?u.justify==="space-between":void 0,j=ro(s),E=tt[j],k=On(m,n,i),T=m||p?-1:h,R=S.clsx(A.button,A[s],A[n],A[i],E,{[A.disabled]:m,[A.loading]:p,[A.stretched]:u,[A.spaceBetween]:C,[A.withSubcaption]:!!(y&&s==="l"&&d),[A.iconOnly]:f,[A.noPaddings]:b&&!c},l),I={iconLeft:x,children:d,postfix:v,subcaption:y,size:s};if(Gr(t)){const{href:B,onClick:O,style:D,target:$,rel:N,"data-testid":F,...H}=t,X=oe(H),Y=$??(t.isExternal?"_blank":void 0);let W=N;if(Y==="_blank"){const Z=new Set((N??"").split(/\s+/).filter(Boolean));Z.add("noopener").add("noreferrer"),W=Array.from(Z).join(" ")}const K=Z=>{if(!_){Z.preventDefault();return}O==null||O(Z)};return e.jsx("a",{ref:r,className:R,href:_?B:void 0,tabIndex:T,onClick:K,"data-testid":F,"aria-disabled":m||p,style:D,target:Y,rel:W,...X,children:e.jsx(Fe,{...I})})}if(Kr(t)){const{type:B="button",onClick:O,style:D,"data-testid":$,...N}=t,F=oe(N),H=s==="l"?24:16,X=Y=>{_&&O&&O(Y)};return e.jsxs("button",{ref:r,type:B,className:R,disabled:m,tabIndex:T,onClick:X,"data-testid":$,"aria-disabled":m||p,style:D,...F,children:[e.jsx("div",{className:S.clsx(A.content,{[A.contentHidden]:p}),children:e.jsx(Fe,{...I})}),p&&e.jsx("div",{className:A.loaderWrapper,children:e.jsx(ae,{variant:k,"aria-hidden":"true","data-testid":"button-loader",size:H})})]})}return null});ye.displayName="Button";const sr=g.forwardRef((t,r)=>{const{iconLeft:n,className:s,...i}=t,l={...i,mode:"tertiary",buttonStyle:"neutral",size:"m",iconLeft:n??e.jsx(to,{}),className:S.clsx(A.backButton,tt["typography-subtitle-1-semibold"],s)};return e.jsx(ye,{ref:r,...l})});sr.displayName="Button.Back";const We=({iconLeft:t,iconRight:r,children:n,showLinkIcons:s})=>{const i=!!(!n&&r);return e.jsxs(g.Fragment,{children:[n&&e.jsxs("span",{"data-testid":"button-label",className:A.label,children:[s&&t&&e.jsx("span",{"data-testid":"button-left-icon",className:A.icon,children:t}),e.jsx("span",{className:S.clsx(A.labelText,A.isLink),children:n}),s&&r&&e.jsx("span",{"data-testid":"button-icon",className:S.clsx(A.icon,A.iconRight),children:r})]}),i&&s&&e.jsx("span",{"data-testid":"button-icon",className:A.icon,children:r})]})},ar=g.forwardRef((t,r)=>{const{mode:n="primary",size:s="m",buttonStyle:i="accent",disabled:a=!1,className:l,children:d,tabIndex:h,showUnderline:b=!1,iconLeft:c,iconRight:y}=t,v=s!==void 0,u=v?c:void 0,p=v?y:void 0,m=a,_=!m,x=!!(!d&&p),f=zn(s??"m"),C=tt[f],j=m?-1:h,E=S.clsx(A.button,A[s??"m"],A[n],A[i],C,{[A.disabled]:m,[A.iconOnly]:x,[A.link]:!0,[A.underline]:b},l),k={iconLeft:u,iconRight:p,children:d,showLinkIcons:v};if(t.as==="a"){const{href:N,onClick:F,style:H,target:X,rel:Y,"data-testid":W,isExternal:K,...Z}=t,rt=oe(Z),_t=X??(K?"_blank":void 0);let Lt=Y;if(_t==="_blank"){const nt=new Set((Y??"").split(/\s+/).filter(Boolean));nt.add("noopener").add("noreferrer"),Lt=Array.from(nt).join(" ")}const Tt=nt=>{if(!_){nt.preventDefault();return}F==null||F(nt)};return e.jsx("a",{ref:r,className:E,href:_?N:void 0,tabIndex:j,onClick:Tt,"data-testid":W,"aria-disabled":m,style:H,target:_t,rel:Lt,...rt,children:e.jsx(We,{...k})})}const{type:T="button",onClick:R,style:I,"data-testid":B,...O}=t,D=oe(O),$=N=>{_&&R&&R(N)};return e.jsx("button",{ref:r,type:T,className:E,disabled:m,tabIndex:j,onClick:$,"data-testid":B,"aria-disabled":m,style:I,...D,children:e.jsx(We,{...k})})});ar.displayName="Button.Link";const Zt=Object.assign(ye,{Back:sr,Link:ar}),no="_avatar_19ug4_18",oo="_clickable_19ug4_40",so="_icon_19ug4_57",ao="_disabled_19ug4_62",io="_loading_19ug4_67",lo="_image_19ug4_73",co="_name_19ug4_73",yt={avatar:no,clickable:oo,icon:so,disabled:ao,loading:io,image:lo,name:co,"variant-filled":"_variant-filled_19ug4_125","color-brand":"_color-brand_19ug4_130","color-red":"_color-red_19ug4_134","color-orange":"_color-orange_19ug4_138","color-yellow":"_color-yellow_19ug4_142","color-green":"_color-green_19ug4_146","color-blue":"_color-blue_19ug4_150","color-lightblue":"_color-lightblue_19ug4_154","color-purple":"_color-purple_19ug4_158","color-gray":"_color-gray_19ug4_162","color-contrast":"_color-contrast_19ug4_166","variant-light":"_variant-light_19ug4_172","variant-outline":"_variant-outline_19ug4_244"},qe=99;function uo(t){return t<qe?`+${t}`:`${qe}+`}function se(t){const r=typeof t=="string"?t:JSON.stringify(t);let n=5381;for(let s=0;s<r.length;s++){const i=r.charCodeAt(s);n=(n<<5)+n+i}return n>>>0}const _o=(t,r,n)=>Math.min(Math.max(t,r),n),po=["red","orange","yellow","green","blue","lightblue","purple"];function fo(t,r=po){if(!t)return"gray";const n=se(t),s=Math.abs(n)%r.length;return r[s]}const He=2;function go(t){if(!t)return"";const r=t.trim().split(/\s+/);return r.length===1?t.slice(0,He).toUpperCase():r.map(n=>n[0]).slice(0,He).join("").toUpperCase()}const ho={24:8,32:12,40:12,44:12,48:12,56:16,84:24,96:24,208:8};function xo(t,r){return r==="circle"?t/2:ho[t]||12}const bo={24:"typography-subtitle-4-semibold",32:"typography-subtitle-2-semibold",40:"typography-subtitle-1-semibold",44:"typography-subtitle-1-semibold",48:"typography-subtitle-1-semibold",56:"typography-subtitle-1-semibold",84:"typography-title-3-semibold",96:"typography-title-3-semibold",208:"typography-title-1-semibold"};function mo(t){return bo[t]||"typography-subtitle-1-semibold"}const yo="data:image/svg+xml,%3csvg%20opacity='0.9'%20preserveAspectRatio='xMinYMin%20meet'%20viewBox='0%200%20208%20208'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cdefs%3e%3cfilter%20id='shadowW'%20filterUnits='userSpaceOnUse'%3e%3cfeDropShadow%20dx='-2'%20dy='-1'%20stdDeviation='5'%20flood-color='rgba(0,0,0,0.5)'/%3e%3c/filter%3e%3c/defs%3e%3cg%20filter='url(%23shadowW)'%3e%3cpath%20d='M23.9835%20174.59L113.41%20157.735L225.224%20191.671C225.224%20191.671%20250.259%20479.463%20243.525%20478.31C236.655%20477.167%20-7.79434%20482.039%20-8.17876%20476.943C-8.56308%20471.849%20-34.4445%20341.701%20-34.4445%20341.701L23.9835%20174.59Z'%20fill='darkgrey'/%3e%3cpath%20d='M-54.5558%20212.781C-85.688%20282.842%20-94.2122%20303.839%20-94.2122%20303.839L-213.504%20213.002C-214.953%20197.465%20-218.637%20181.68%20-225.636%20167.806C-234.412%20150.606%20-246.154%20149.138%20-259.595%20136.166C-267.368%20128.583%20-275.073%20140.242%20-267.3%20147.825L-259.338%20156.087C-258.869%20160.482%20-255.518%20171.861%20-254.634%20176.226C-267.475%20165.702%20-284.704%20150.246%20-300.665%20144.25C-305.079%20142.644%20-308.958%20144.46%20-311.08%20147.528C-314.628%20148.211%20-317.292%20151.458%20-317.858%20154.963C-321.103%20157.839%20-322.625%20163.354%20-319.254%20167.67C-321.407%20170.323%20-322.376%20173.998%20-320.433%20177.728C-320.274%20177.993%20-320.127%20178.12%20-320.106%20178.395C-320.997%20179.432%20-319.498%20182.78%20-320.337%20184.506C-324.035%20192.401%20-309.357%20221.757%20-285.221%20235.167C-277.291%20250.355%20-262.477%20259.485%20-261.354%20259.677C-234.512%20290.608%20-141.301%20400.999%20-97.2451%20436.169C-47.2868%20476.158%20-12.9855%20418.735%2010.6424%20317.115C34.2598%20215.358%2037.6457%20181.315%2037.6457%20181.315L116.374%20158.482C14.4423%20160.079%20-23.2964%20142.572%20-54.5558%20212.781Z'%20fill='darkgrey'/%3e%3cpath%20d='M116.781%20158.313L114.885%20158.871L61.4974%20174.391L38.0516%20181.145C38.0516%20181.145%2034.6758%20215.325%2011.0481%20316.945C9.47097%20323.572%207.88344%20330.061%206.27525%20336.275C-22.5942%20315.191%20-52.217%20295.131%20-82.0946%20275.368C-75.9632%20261.197%20-67.1116%20240.867%20-54.4359%20212.493C-30.4015%20158.477%20-2.57835%20156.516%2055.793%20157.512C72.5674%20157.77%2091.7239%20158.403%20114.133%20158.096C114.98%20158.309%20115.807%20158.247%20116.781%20158.313Z'%20fill='darkgrey'/%3e%3cpath%20d='M113.269%20157.745C175.26%20159.023%20252.771%20143.897%20266.382%20199.504C279.867%20255.26%20288.576%20280.774%20295.899%20320.932C303.221%20361.091%20322.043%20408.689%20271.897%20417.595C221.75%20426.502%20106.238%20444.495%20106.238%20444.495L78.8767%20384.662C78.8767%20384.662%20170.648%20343.813%20200.242%20332.303L185.17%20211.448L113.269%20157.745Z'%20fill='darkgrey'/%3e%3cpath%20d='M292.122%20302.108C260.506%20305.187%20228.942%20308.953%20198.219%20316.533L185.178%20211.585L140.855%20178.374L114.874%20158.871L114.144%20158.372L113.266%20157.746C127.138%20158.084%20141.774%20157.534%20156.283%20157.131C206.726%20155.818%20255.78%20156.271%20266.252%20199.654C277.643%20246.012%20285.665%20271.578%20292.122%20302.108Z'%20fill='darkgrey'/%3e%3cpath%20d='M108.001%20172.269C119.623%20168.485%20130.939%20164.308%20142.395%20160.12L112.224%20101.608L68.8441%20124.959C69.7222%20125.585%2079.0944%20154.372%2086.547%20177.904C93.7406%20175.977%20100.965%20174.463%20108.001%20172.269Z'%20fill='white'/%3e%3cpath%20d='M99.3655%20112.96C99.0934%20111.18%2098.8213%20109.401%2098.2722%20107.642L68.9864%20125.083C69.5682%20125.455%2073.8492%20138.148%2078.7406%20153.426C89.4856%20141.676%2097.5757%20127.773%2099.3655%20112.96Z'%20fill='darkgrey'/%3e%3cpath%20d='M144.524%2069.1209C143.075%2053.5829%20118.601%2039.3668%2099.9856%2038.5556C91.9262%2038.1943%2089.5107%2031.8684%2086.0605%2037.5291C77.5782%2051.7392%2049.6837%2094.9694%2052.2654%20110.837C56.0862%20133.951%2084.5691%20137.063%20102.228%20127.008C120.022%20116.942%20146.6%2091.1195%20144.524%2069.1209Z'%20fill='white'/%3e%3cpath%20d='M145.753%2072.4915C147.93%2068.3116%20146.317%2063.4483%20142.804%2060.944C142.656%2060.8166%20142.656%2060.8166%20142.507%2060.6894C143.028%2052.8957%20136.915%2047.1257%20129.979%2046.9567C129.007%2045.0914%20127.379%2043.691%20125.24%2042.883C124.903%2042.0778%20124.575%2041.4101%20123.982%2040.9009C122.651%2039.7551%20121.095%2039.3187%20119.441%2039.4435C118.081%2036.0843%20115.925%2033.2005%20112.495%2031.7977C110.348%2030.8519%20108.027%2031.304%20106.311%2032.4027C102.006%2028.5734%2096.789%2025.5051%2091.8112%2025.6038C89.736%2025.6218%2085.678%2026.8973%2084.2724%2032.1268C82.1968%2032.1449%2080.3522%2033.3917%2079.5546%2035.6676C78.427%2039.0759%2080.339%2042.3935%2083.1109%2044.2613C84.719%2045.3863%2086.9841%2046.0462%2089.0391%2045.7526C95.9026%2052.2969%20114.028%2063.1149%20118.148%2062.6657C115.532%2070.202%20113.218%2087.2698%20122.007%2088.1299C124.21%2095.3028%20116.99%20107.894%20121.368%20112.688C129.639%20104.863%20137.246%2095.5655%20141.359%2085.8391C141.496%2085.8288%20141.772%2085.808%20142.047%2085.7872C148.14%2083.9429%20149.527%2076.6377%20145.753%2072.4915Z'%20fill='darkgrey'/%3e%3cpath%20d='M140.151%20104.76C141.594%2096.3432%20132.67%2086.3542%20121.049%2088.3387C116.251%2096.3166%20111.305%20104.167%20106.21%20111.89C109.317%20116.364%20118.141%20121.376%20125.535%20120.264C133.872%20118.804%20138.613%20113.738%20140.151%20104.76Z'%20fill='white'/%3e%3cpath%20d='M156.755%20156.883C153.217%20165.043%20147.805%20172.237%20141.188%20178.136C133.925%20184.639%20125.011%20189.465%20114.809%20191.896C95.2214%20196.558%2072.2825%20189.842%2061.6836%20174.164C58.5559%20169.414%2056.4778%20163.894%2056%20157.561C72.7744%20157.818%2091.9311%20158.451%20114.34%20158.144L113.462%20157.519C127.463%20157.709%20142.098%20157.159%20156.755%20156.883Z'%20fill='white'/%3e%3c/g%3e%3c/svg%3e",vo="data:image/svg+xml,%3csvg%20viewBox='0%200%20208%20208'%20opacity='0.9'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20filter='url(%23shadow)'%3e%3cpath%20filter='url(%23shadow)'%20d='M127.173%2079.8894C127.189%2079.1933%20128.026%2079.1201%20128.436%2079.4316C128.754%2079.6091%20128.895%2080.1021%20128.809%2080.5518C129.241%2083.1982%20129.581%2085.7106%20130.013%2088.357C136.835%2079.7558%20149.235%2076.9989%20158.979%2083.174C168.086%2088.9941%20171.001%20111.745%20135.501%20120.502C131.5%20123.502%20117%20125.002%20111.753%20103.279C111.682%2093.2427%20118.526%2084.529%20127.173%2079.8894Z'%20fill='darkgrey'/%3e%3cpath%20d='M28.0441%20167.788C21.826%20195.052%2018.7311%20223.361%2014.1881%20250.885C9.42226%20279.982%204.68042%20308.967%20-0.0853729%20338.064L-1.00047%20342.848C14.5039%20346.419%2030.8401%20350.407%2046.3671%20353.868C90.9428%20363.918%20134.837%20376.598%20179.293%20387.201C200.345%20337.142%20219.778%20286.027%20235.82%20234.041C243.806%20208.213%20244.758%20181.282%20225.443%20160.043C216.099%20149.841%20204.347%20143.858%20191.629%20140.212C188.924%20139.377%20186.108%20138.517%20183.355%20137.905C179.635%20136.959%20175.781%20136.1%20171.989%20135.487C167.45%20134.592%20162.753%20133.893%20158.277%20133.243L127.871%20128.671L116.251%20126.895C115.457%20126.833%20114.686%20126.662%20113.915%20126.49C102.87%20124.724%2091.7381%20122.824%2080.6188%20123.013C69.1682%20123.13%2056.9012%20125.964%2047.8363%20133.224C36.9821%20141.825%2031.1109%20154.087%2028.0441%20167.788Z'%20fill='darkgrey'/%3e%3cpath%20d='M103.74%20123.732L95.6984%20197.532C95.6984%20197.532%20137.13%20157.315%20158.742%20133.268C155.051%20132.316%20151.227%20131.449%20147.465%20130.831C142.962%20129.929%20138.302%20129.224%20133.861%20128.569L103.74%20123.732Z'%20fill='white'/%3e%3cpath%20d='M97.8143%20115.298C99.0227%20116.625%20108.229%20179.332%20108.229%20179.332L148.012%20142.157L129%20100L97.8143%20115.298Z'%20fill='white'/%3e%3cpath%20d='M101.71%20148.534C100.068%20137.868%2098.402%20127.706%2098.0001%20127.274L112.673%20122C113.831%20131.449%20108.467%20141.173%20101.71%20148.534Z'%20fill='grey'/%3e%3cpath%20d='M121.545%2040.7383C111.161%2030.599%2085.3871%2035.4814%2071.93%2046.2862C66.0912%2051.0172%2060.5415%2047.9025%2061.6427%2054.0842C64.3767%2069.3597%2074.0239%20120.283%2082.7631%20126.794C100.374%20139.728%20121.191%20125.699%20127.329%20107.658C133.554%2089.7517%20136.293%2055.2372%20121.545%2040.7383Z'%20fill='white'/%3e%3cpath%20d='M56.0176%2041.9837C61.9834%2036.7831%2074.9427%2037.4243%2081.3074%2039.639C95.1733%2033.9235%20112.672%2032.6801%20120.968%2040.1438C131.22%2049.4771%20133.446%2067.5345%20132.042%2083.8281C125.848%2083.0025%20122.779%2078.6471%20116.718%2075.0286C97.7466%2073.2611%2084.9353%2061.0313%2082.042%2054.2301C78.3492%2058.2067%2063.3398%2059.3993%2058.12%2055.1646C51.1278%2048.7596%2054.1283%2043.6248%2056.0176%2041.9837Z'%20fill='darkgrey'/%3e%3cpath%20d='M142.838%2074.8316C138.561%2067.841%20123.674%2066.785%20116.5%2075.5006C118.078%2084.3219%20121.503%2092.5524%20122.726%20101.41C127.77%20102.657%20137.388%20100.869%20141.908%2095.386C147.168%2089.1414%20147.462%2082.3637%20142.838%2074.8316Z'%20fill='white'/%3e%3c/g%3e%3cdefs%3e%3cfilter%20id='shadow'%3e%3cfeDropShadow%20dx='0'%20dy='0'%20stdDeviation='3'%20flood-color='rgba(0,0,0,0.3)'/%3e%3c/filter%3e%3c/defs%3e%3c/svg%3e",wo="data:image/svg+xml,%3csvg%20opacity='0.9'%20viewBox='0%200%20208%20208'%20fill='currentColor'%20xmlns='http://www.w3.org/2000/svg'%3e%3cdefs%3e%3cmask%20id='hole'%3e%3crect%20width='100%25'%20height='100%25'%20fill='white'/%3e%3ccircle%20cx='121.333'%20cy='121.333'%20r='52'%20fill='black'/%3e%3c/mask%3e%3cfilter%20id='shadow'%3e%3cfeDropShadow%20dx='-2'%20dy='-1'%20stdDeviation='10'%20flood-color='rgba(0,0,0,0.2)'/%3e%3c/filter%3e%3c/defs%3e%3cg%20filter='url(%23shadow)'%3e%3ccircle%20cx='104'%20cy='225.333'%20r='95.3333'%20fill='darkgray'/%3e%3ccircle%20cx='104'%20cy='225.333'%20r='95.3333'%20fill='white'%20mask='url(%23hole)'/%3e%3ccircle%20cx='104'%20cy='86.6666'%20r='52'%20fill='white'/%3e%3c/g%3e%3c/svg%3e",Co="data:image/svg+xml,%3csvg%20opacity='0.9'%20viewBox='0%200%20208%20208'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20filter='url(%23shadow)'%3e%3cpath%20d='M168%20208V118.053C168%20113.824%20165.34%20110.052%20161.356%20108.633L134%2098.885V208H168Z'%20fill='darkgrey'/%3e%3cpath%20d='M40%2072.3726C40%2070.7381%2040.9944%2069.268%2042.5116%2068.6598L111.951%2040.8215C113.226%2040.3102%20114.675%2040.4893%20115.787%2041.2958L129.87%2051.5056C132.464%2053.3866%20134%2056.397%20134%2059.6017V208H40V72.3726Z'%20fill='white'/%3e%3cpath%20d='M114%2047.5001L126.325%2056.3036C127.376%2057.0544%20128%2058.2667%20128%2059.5585V208H114V47.5001Z'%20fill='darkgrey'/%3e%3c/g%3e%3cdefs%3e%3cfilter%20id='shadow'%3e%3cfeDropShadow%20dx='-2'%20dy='-1'%20stdDeviation='7'%20flood-color='rgba(0,0,0,0.2)'/%3e%3c/filter%3e%3c/defs%3e%3c/svg%3e",ko={male:yo,female:vo,org:Co,neutral:wo},re=g.forwardRef((t,r)=>{const{style:n,size:s=40,isLoading:i=!1,isDisabled:a=!1,shape:l="circle",variant:d="filled",placeholderType:h="neutral",name:b,imgSrc:c,imgAlt:y,icon:v,imgProps:u,colorScheme:p,className:m,"data-testid":_,...x}=t,{onClick:f,onPointerDown:C}=x,E=!a&&!i&&(!!f||!!C),[k,T]=g.useState(!1);g.useEffect(()=>{c&&T(!1)},[c]);const R=c&&!k?"image":v?"icon":b?"name":"placeholder",I=p||R==="name"&&fo(b)||"gray",B=mo(s),O=xo(s,l),D=S.clsx(m,yt.avatar,yt[`variant-${d}`],yt[`color-${I}`],tt[B],{[yt.disabled]:a,[yt.loading]:i,[yt.clickable]:E}),$={"--avatar-size":`${s}px`,"--avatar-border-radius":`${O}px`,...n},N={icon:()=>e.jsx("span",{"data-testid":"avatar-icon",title:y||void 0,role:"img",className:yt.icon,children:v==null?void 0:v({})}),name:()=>e.jsx("span",{role:"textbox","data-testid":"avatar-name",className:yt.name,title:y||void 0,children:go(b||"")}),placeholder:()=>e.jsx("img",{...u,"data-testid":"avatar-placeholder",className:yt.image,src:ko[h],alt:y||void 0}),image:()=>e.jsx("img",{"data-testid":"avatar-image",...u,className:yt.image,src:c||void 0,alt:y||void 0,onLoad:()=>T(!1),onError:H=>{var X;T(!0),(X=u==null?void 0:u.onError)==null||X.call(u,H)}})},F=H=>{E&&(f==null||f(H))};return e.jsx("div",{ref:r,onClick:F,className:D,style:$,"data-testid":_,"aria-disabled":a||i,children:N[R](null)})}),So="_avatarGroup_157g4_1",jo={avatarGroup:So},Lo=t=>t==="rgba(0, 0, 0, 0)"||t==="transparent"||t.startsWith("rgba")&&t.endsWith(", 0)"),To=t=>{if(!t)return null;let r=t;for(;r;){const s=window.getComputedStyle(r).backgroundColor;if(!Lo(s))return s;r=r.parentElement}return null},ve=()=>{const t=g.useRef(null),[r,n]=g.useState(null);return g.useEffect(()=>{if(t.current){const s=To(t.current);n(s)}},[]),{ref:t,bgColor:r}};function Ve(t,r,n){g.useEffect(()=>(window.addEventListener(t,r,n),()=>window.removeEventListener(t,r,n)),[t,r])}const Xe={passive:!0};function $o(){const[t,r]=g.useState({width:0,height:0}),n=g.useCallback(()=>{r({width:window.innerWidth||0,height:window.innerHeight||0})},[]);return Ve("resize",n,Xe),Ve("orientationchange",n,Xe),g.useEffect(n,[]),t}function Eo(t=768){const{width:r}=$o();return g.useMemo(()=>r<=t,[r,t])}const Ro=2,Io=t=>{const{avatars:r=[],size:n=40,overlap:s=.3,shape:i="circle",overflowCount:a=0,overflowProps:l,cutoutBackground:d}=t,b=-(n*s)+Ro,{ref:c,bgColor:y}=ve(),v=d||y||"#ffffff",u=vt(jo.avatarGroup),p={"--avatar-cutout-bg":v};return r.length===0?null:e.jsxs("div",{className:u,ref:c,style:p,children:[r.map((m,_)=>{if(m.wrapper){const x=m.wrapper;return e.jsx("div",{style:{marginRight:b},children:e.jsx(x,{children:e.jsx(re,{size:n,shape:i,...m})})},se(m)+_)}return e.jsx("div",{style:{marginRight:b},children:e.jsx(re,{size:n,shape:i,...m})},se(m)+_)}),a>0&&e.jsx("div",{style:{marginRight:b},children:e.jsx(re,{size:n,shape:i,icon:()=>uo(a),colorScheme:"gray",variant:"light",...l})})]})},ir=Object.assign(re,{Group:Io}),No="_overlay_1k1w9_6",Mo="_container_1k1w9_20",Bo="_grabber_1k1w9_98",Ht={overlay:No,container:Mo,"placement-default":"_placement-default_1k1w9_33","placement-bottom-left":"_placement-bottom-left_1k1w9_46","placement-bottom-right":"_placement-bottom-right_1k1w9_55","placement-center":"_placement-center_1k1w9_65","placement-left-drawer":"_placement-left-drawer_1k1w9_77","placement-right-drawer":"_placement-right-drawer_1k1w9_82","placement-bottom-sheet":"_placement-bottom-sheet_1k1w9_87",grabber:Bo,"grabber-top":"_grabber-top_1k1w9_116","grabber-bottom":"_grabber-bottom_1k1w9_117","grabber-right":"_grabber-right_1k1w9_123","grabber-left":"_grabber-left_1k1w9_132"};function Ao(t){switch(t){case"default":return"top";case"bottom-sheet":return"bottom";case"center":default:return}}const Oo=t=>{switch(t){case"bottom-sheet":return{initial:{transform:"translateY(100%)"},open:{opacity:1,transform:"translateY(0)"},close:{transform:"translateY(100%)"}};case"default":return{initial:{transform:"translateY(-100%)"},open:{opacity:1,transform:"translateY(0)"},close:{transform:"translateY(-100%)"}};case"bottom-right":case"right-drawer":return{initial:{transform:"translateX(100%)"},open:{opacity:1,transform:"translateX(0)"},close:{transform:"translateX(100%)"}};case"bottom-left":case"left-drawer":return{initial:{transform:"translateX(-100%)"},open:{opacity:1,transform:"translateX(0)"},close:{transform:"translateX(-100%)"}};default:return{initial:{transform:"scale(0.95)"},open:{opacity:1,transform:"scale(1)"},close:{transform:"scale(0.95)"}}}};function Po({open:t,onOpenChange:r,placement:n="center",disableEscapeKey:s=!1}){const i=g.useCallback(p=>{r==null||r(p)},[r]),a=Ao(n),{context:l,refs:d}=St.useFloating({open:t,onOpenChange:i,placement:a}),h=Oo(n),{isMounted:b,styles:c}=St.useTransitionStyles(l,{duration:200,common:{transitionProperty:"opacity, transform",transitionTimingFunction:"ease-in-out",transformOrigin:a??"center",position:"fixed",opacity:0},...h}),y=St.useDismiss(l,{escapeKey:!s,outsidePress:!1}),v=St.useRole(l,{role:"dialog"}),{getFloatingProps:u}=St.useInteractions([y,v]);return g.useMemo(()=>({isMounted:b,transitionStyles:c,context:l,refs:d,getFloatingProps:u}),[b,c,l,d,u])}const zo=80;function Do({open:t,onOpenChange:r,placement:n="center",disableEscapeKey:s=!1,closeOnDrag:i}){const{getFloatingProps:a,transitionStyles:l,isMounted:d,context:h,refs:b}=Po({open:t,onOpenChange:r,placement:n,disableEscapeKey:s}),c=g.useRef({startX:0,startY:0,dragging:!1}),[y,v]=g.useState(0),u=i==null?void 0:i.direction,p=(i==null?void 0:i.threshold)??zo,m=u==="top"||u==="bottom",_=t&&!!u;g.useEffect(()=>{t||(c.current.dragging=!1,v(0))},[t]);const x=g.useCallback(k=>{_&&(c.current.dragging=!0,c.current.startX=k.clientX,c.current.startY=k.clientY,v(0))},[_]),f=g.useCallback(k=>{if(!c.current.dragging||!_)return;const T=k.clientX-c.current.startX,R=k.clientY-c.current.startY;let I;switch(u){case"bottom":I=Math.max(0,R);break;case"top":I=Math.max(0,-R);break;case"right":I=Math.max(0,T);break;case"left":I=Math.max(0,-T);break;default:I=m?R:T}v(I)},[_,u,m]),C=g.useCallback(k=>{var T,R;if(!(!c.current.dragging||!_)){c.current.dragging=!1;try{(R=(T=k.currentTarget).hasPointerCapture)!=null&&R.call(T,k.pointerId)&&k.currentTarget.releasePointerCapture(k.pointerId)}catch{}y>=p?r(!1):v(0)}},[y,p,r,_]),j=g.useMemo(()=>{if(!_)return l;if(c.current.dragging){const k={...l,transitionProperty:"none"};if(y>0){const T=u==="left"||u==="top"?-y:y;k.transform=m?`translateY(${T}px)`:`translateX(${T}px)`}return k}return l},[l,y,_,m,u]),E=g.useCallback(k=>a(_?{...k,onPointerDown:x,onPointerUp:C,onPointerMove:f,onPointerCancel:C}:k),[a,x,f,C,_]);return g.useMemo(()=>({isMounted:d,context:h,refs:b,transitionStyles:j,getFloatingProps:E}),[d,j,E,h,b])}const lr=g.forwardRef((t,r)=>{const{placement:n="default",open:s,onOpenChange:i,overlayProps:a,portalProps:l,focusManagement:d,children:h,disableOutsideClick:b=!1,disableEscapeKey:c=!1,disableOverlay:y=!1,closeOnDrag:v,className:u,style:p,"data-testid":m,..._}=t;s===void 0&&process.env.NODE_ENV!=="production"&&console.error("Dialog: компонент должен быть контролируемым. Используйте пропсы open и onOpenChange.");const x=Do({open:s,onOpenChange:i,placement:n,disableEscapeKey:c,closeOnDrag:v}),{isMounted:f,transitionStyles:C}=x,j=St.useMergeRefs([r,x.refs.setFloating]),E=()=>{b||i(!1)};return f?e.jsxs(St.FloatingPortal,{...l,children:[!y&&e.jsx(St.FloatingOverlay,{onPointerDown:E,"data-testid":"dialog-overlay",className:S.clsx(Ht.overlay,a==null?void 0:a.className),lockScroll:(a==null?void 0:a.lockScroll)??!0,style:{opacity:C==null?void 0:C.opacity,transition:C==null?void 0:C.transition,...a==null?void 0:a.style}}),e.jsx(St.FloatingFocusManager,{initialFocus:1/0,...d,context:{...x.context,...d==null?void 0:d.context},children:e.jsxs("section",{ref:j,"aria-modal":"true",role:"dialog",className:S.clsx(u,Ht.container,Ht[`placement-${n}`]),style:{...p,...C},"data-testid":m,...x.getFloatingProps(_),children:[h,v&&e.jsx("div",{className:S.clsx(Ht.grabber,Ht[`grabber-${v.direction}`]),role:"presentation","aria-hidden":"true","data-testid":m?`${m}-grabber`:void 0})]})})]}):null}),Fo="_container_1h1i8_1",Wo="_header_1h1i8_20",qo="_withBorder_1h1i8_55",Ho="_title_1h1i8_39",Vo="_subTitle_1h1i8_70",Xo="_leftActionsStack_1h1i8_81",Zo="_rightActionsStack_1h1i8_89",Uo="_content_1h1i8_97",Yo="_footer_1h1i8_105",mt={container:Fo,header:Wo,"title-actions-actions":"_title-actions-actions_1h1i8_39","actions-title-actions":"_actions-title-actions_1h1i8_47",withBorder:qo,title:Ho,subTitle:Vo,leftActionsStack:Xo,rightActionsStack:Zo,content:Uo,footer:Yo},Go="_typography_zt7xg_1",Ko="_disabled_zt7xg_8",Jo="_primary_zt7xg_13",Qo="_secondary_zt7xg_18",ts="_tertiary_zt7xg_23",es="_accent_zt7xg_28",rs="_positive_zt7xg_38",ns="_negative_zt7xg_48",os="_warning_zt7xg_58",ss="_special_zt7xg_68",as="_contrast_zt7xg_78",Dt={typography:Go,disabled:Ko,primary:Jo,secondary:Qo,tertiary:ts,accent:es,"accent-secondary":"_accent-secondary_zt7xg_33",positive:rs,"positive-secondary":"_positive-secondary_zt7xg_43",negative:ns,"negative-secondary":"_negative-secondary_zt7xg_53",warning:os,"warning-secondary":"_warning-secondary_zt7xg_63",special:ss,"special-secondary":"_special-secondary_zt7xg_73",contrast:as,"contrast-secondary":"_contrast-secondary_zt7xg_83"},is={1:"h1",2:"h2",3:"h3",4:"h4",5:"h5"},Ze=t=>{const r=nr.forwardRef(({size:n=3,children:s,className:i,"data-testid":a,as:l,fontWeight:d="semibold",disabled:h=!1,typographyStyle:b="primary",...c},y)=>{const v=l||is[n],u=S.clsx(Dt.typography,tt[`typography-${t}-${n}-${d}`],Dt[b],{[Dt.disabled]:h},i);return s?e.jsx(v,{ref:y,className:u,"data-testid":a,...c,children:s}):null});return r.displayName=`Typography.${t==="title"?"Title":"Subtitle"}`,r},Ue=t=>{const r=nr.forwardRef(({size:n=3,children:s,className:i,"data-testid":a,as:l="p",fontWeight:d="regular",disabled:h=!1,typographyStyle:b="primary",...c},y)=>{const v=l,u=S.clsx(Dt.typography,tt[`typography-${t}-${n}-${d}`],Dt[b],{[Dt.disabled]:h},i);return s?e.jsx(v,{ref:y,className:u,"data-testid":a,...c,children:s}):null});return r.displayName=`Typography.${t.charAt(0).toUpperCase()+t.slice(1)}`,r},Et={Title:Ze("title"),Subtitle:Ze("subtitle"),Label:Ue("label"),Paragraph:Ue("paragraph")},ls=t=>e.jsx("svg",{width:"100%",height:"100%",stroke:"currentColor",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t,children:e.jsx("path",{d:"M14 2L2 14M2 2L14 14",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})}),cs=t=>e.jsx("svg",{width:"100%",height:"100%",stroke:"currentColor",fill:"none",viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg",...t,children:e.jsx("path",{d:"M11 2 L5 8 L11 14",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})}),{Paragraph:ds,Title:us}=Et,_s={size:"xs",mode:"primary",buttonStyle:"gray"},Ye=t=>{const{props:r,wrapper:n}=t,s={..._s,...r};return n?e.jsx(n,{children:e.jsx(Zt,{...s})}):e.jsx(Zt,{...s})},ps=g.forwardRef((t,r)=>{const{open:n,onOpenChange:s,size:i,placement:a="default",rightActionsSlot:l=[],leftActionsSlot:d=[],closeButton:h={show:!0},backButton:b={show:!1},title:c,subTitle:y,children:v,footer:u,hideHeaderDivider:p=!1,hideFooterDivider:m=!1,classNames:_,styles:x,headerTemplate:f,"data-testid":C,...j}=t,E=a==="bottom-sheet"?"actions-title-actions":"title-actions-actions",k=a==="bottom-sheet"?{direction:"bottom",threshold:80}:t==null?void 0:t.closeOnDrag,T=()=>s(!1),R=!!(c||y||h.show||b.show||l.length||d.length),I=c?`${C||"modal"}-title`:void 0,B=y?`${C||"modal"}-subtitle`:void 0;return e.jsx(lr,{open:n,onOpenChange:s,placement:a,ref:r,style:{width:i,...x==null?void 0:x.dialog},closeOnDrag:k,className:_==null?void 0:_.dialog,...j,children:e.jsxs("div",{className:S.clsx(mt.container,_==null?void 0:_.container),style:{width:i,...x==null?void 0:x.container},"data-testid":C?`${C}-container`:void 0,children:[R&&e.jsxs("div",{"data-testid":C?`${C}-header`:void 0,className:S.clsx(mt.header,!p&&mt.withBorder,mt[f||E],_==null?void 0:_.header),style:x==null?void 0:x.header,children:[e.jsxs("div",{className:S.clsx(mt.leftActionsStack,_==null?void 0:_.leftActionsStack),style:x==null?void 0:x.leftActionsStack,children:[b.show&&e.jsx(Ye,{wrapper:b.wrapper,props:{iconLeft:e.jsx(cs,{}),"aria-label":"Back",onClick:T,...b==null?void 0:b.props}}),d]}),e.jsx("div",{id:I,className:S.clsx(mt.title,_==null?void 0:_.title),style:x==null?void 0:x.title,children:typeof c=="string"?e.jsx(us,{size:5,children:c}):c}),e.jsxs("div",{className:S.clsx(mt.rightActionsStack,_==null?void 0:_.rightActionsStack),style:x==null?void 0:x.rightActionsStack,children:[l,h.show&&e.jsx(Ye,{wrapper:h.wrapper,props:{iconLeft:e.jsx(ls,{}),"aria-label":"Close modal",onClick:T,...h==null?void 0:h.props}})]}),y&&e.jsx("div",{id:B,className:S.clsx(mt.subTitle,_==null?void 0:_.subTitle),style:x==null?void 0:x.subTitle,children:typeof y=="string"?e.jsx(ds,{size:2,typographyStyle:"secondary",children:y}):y})]}),e.jsx("div",{className:S.clsx(mt.content,_==null?void 0:_.content),style:{...x==null?void 0:x.content},"data-testid":C?`${C}-content`:void 0,children:v}),u&&e.jsx("div",{"data-testid":C?`${C}-footer`:void 0,className:S.clsx(mt.footer,!m&&mt.withBorder,_==null?void 0:_.footer),style:x==null?void 0:x.footer,children:u})]})})}),fs=()=>e.jsx("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"currentColor",stroke:"none",xmlns:"http://www.w3.org/2000/svg",children:e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 1C5.92487 1 1 5.92487 1 12C1 18.0751 5.92487 23 12 23C18.0751 23 23 18.0751 23 12C23 5.92487 18.0751 1 12 1ZM12 7C11.4477 7 11 7.44772 11 8C11 8.55228 11.4477 9 12 9H12.01C12.5623 9 13.01 8.55228 13.01 8C13.01 7.44772 12.5623 7 12.01 7H12ZM13 12C13 11.4477 12.5523 11 12 11C11.4477 11 11 11.4477 11 12V16C11 16.5523 11.4477 17 12 17C12.5523 17 13 16.5523 13 16V12Z"})}),gs=()=>e.jsx("svg",{width:"23",height:"22",viewBox:"0 0 23 22",fill:"none",stroke:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:e.jsx("path",{d:"M5.09436 10.2288C5.03221 9.82823 4.99996 9.41786 4.99996 9C4.99996 4.58172 8.60525 1 13.0526 1C17.4999 1 21.1052 4.58172 21.1052 9C21.1052 9.99807 20.9213 10.9535 20.5852 11.8345C20.5154 12.0175 20.4804 12.109 20.4646 12.1804C20.4489 12.2512 20.4428 12.301 20.4411 12.3735C20.4394 12.4466 20.4493 12.5272 20.4692 12.6883L20.8717 15.9585C20.9153 16.3125 20.9371 16.4895 20.8782 16.6182C20.8266 16.731 20.735 16.8205 20.6211 16.8695C20.4911 16.9254 20.3146 16.8995 19.9617 16.8478L16.7765 16.3809C16.6101 16.3565 16.527 16.3443 16.4512 16.3448C16.3763 16.3452 16.3245 16.3507 16.2511 16.3661C16.177 16.3817 16.0823 16.4172 15.893 16.4881C15.0097 16.819 14.0524 17 13.0526 17C12.6344 17 12.2237 16.9683 11.8227 16.9073M6.63158 21C9.59648 21 12 18.5376 12 15.5C12 12.4624 9.59648 10 6.63158 10C3.66668 10 1.26316 12.4624 1.26316 15.5C1.26316 16.1106 1.36028 16.6979 1.53955 17.2467C1.61533 17.4787 1.65322 17.5947 1.66566 17.6739C1.67864 17.7567 1.68091 17.8031 1.67608 17.8867C1.67145 17.9668 1.65141 18.0573 1.61134 18.2383L1 21L3.9948 20.591C4.15827 20.5687 4.24 20.5575 4.31137 20.558C4.38652 20.5585 4.42641 20.5626 4.50011 20.5773C4.5701 20.5912 4.67416 20.6279 4.88227 20.7014C5.43059 20.8949 6.01911 21 6.63158 21Z",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})}),hs=()=>e.jsx("svg",{width:"22",height:"22",viewBox:"0 0 22 22",fill:"currentColor",stroke:"none",xmlns:"http://www.w3.org/2000/svg",children:e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 11C0 4.92487 4.92487 0 11 0C17.0751 0 22 4.92487 22 11C22 17.0751 17.0751 22 11 22C4.92487 22 0 17.0751 0 11ZM16.2071 7.29289C16.5976 7.68342 16.5976 8.31658 16.2071 8.70711L10.2071 14.7071C9.81658 15.0976 9.18342 15.0976 8.79289 14.7071L5.79289 11.7071C5.40237 11.3166 5.40237 10.6834 5.79289 10.2929C6.18342 9.90237 6.81658 9.90237 7.20711 10.2929L9.5 12.5858L14.7929 7.29289C15.1834 6.90237 15.8166 6.90237 16.2071 7.29289Z"})}),xs=()=>e.jsx("svg",{width:"22",height:"22",viewBox:"0 0 22 22",fill:"currentColor",stroke:"none",xmlns:"http://www.w3.org/2000/svg",children:e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11 0C4.92487 0 0 4.92487 0 11C0 17.0751 4.92487 22 11 22C17.0751 22 22 17.0751 22 11C22 4.92487 17.0751 0 11 0ZM12 7C12 6.44772 11.5523 6 11 6C10.4477 6 10 6.44772 10 7V11C10 11.5523 10.4477 12 11 12C11.5523 12 12 11.5523 12 11V7ZM11 14C10.4477 14 10 14.4477 10 15C10 15.5523 10.4477 16 11 16H11.01C11.5623 16 12.01 15.5523 12.01 15C12.01 14.4477 11.5623 14 11.01 14H11Z"})}),bs=()=>e.jsx("svg",{width:"22",height:"20",viewBox:"0 0 22 20",fill:"currentColor",stroke:"none",xmlns:"http://www.w3.org/2000/svg",children:e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.556 0.392576C9.99433 0.136202 10.4918 0 11 0C11.5082 0 12.0057 0.136202 12.444 0.392576C12.882 0.648777 13.2446 1.01526 13.5002 1.45305L13.503 1.45776L21.6098 15.5175L21.6175 15.5312C21.8676 15.9811 21.9986 16.4885 22 17.0032C22.0014 17.5179 21.8731 18.026 21.6255 18.4773C21.3778 18.9288 21.018 19.3098 20.5781 19.5786C20.1379 19.8477 19.6345 19.994 19.1182 19.9999L19.1068 20.0001L2.88178 20C2.36548 19.9941 1.86205 19.8477 1.4219 19.5786C0.982049 19.3098 0.62222 18.9288 0.374484 18.4773C0.126864 18.026 -0.00137604 17.5179 1.1135e-05 17.0032C0.00139837 16.4885 0.132377 15.9811 0.382473 15.5312L0.390218 15.5175L8.49974 1.45305C8.75537 1.01525 9.11797 0.648777 9.556 0.392576ZM12 7.06811C12 6.51582 11.5523 6.06811 11 6.06811C10.4477 6.06811 10 6.51582 10 7.06811V11.0454C10 11.5977 10.4477 12.0454 11 12.0454C11.5523 12.0454 12 11.5977 12 11.0454V7.06811ZM11 14.0227C10.4477 14.0227 10 14.4704 10 15.0227C10 15.575 10.4477 16.0227 11 16.0227H11.0096C11.5619 16.0227 12.0096 15.575 12.0096 15.0227C12.0096 14.4704 11.5619 14.0227 11.0096 14.0227H11Z"})}),Jt={avatar:{icon:null,colorScheme:"gray"},info:{icon:fs,colorScheme:"gray"},success:{icon:hs,colorScheme:"green"},warning:{icon:bs,colorScheme:"yellow"},error:{icon:xs,colorScheme:"red"},dialog:{icon:gs,colorScheme:"blue"}},ms="_container_dd9oq_1",ys={container:ms},vs="_container_29epc_1",ws="_children_29epc_10",Cs="_iconSlot_29epc_10",ks="_textBlock_29epc_17",Ss="_title_29epc_24",js="_subtitle_29epc_24",Pt={container:vs,children:ws,iconSlot:Cs,textBlock:ks,title:Ss,subtitle:js},Qt={m:{title:"typography-subtitle-1-semibold",subtitle:"typography-paragraph-3-regular"},l:{title:"typography-title-5-semibold",subtitle:"typography-paragraph-2-regular"}};function Ls(t){return(Qt==null?void 0:Qt[t])||Qt.m}const cr=t=>{const{iconSlot:r,title:n,subTitle:s,styles:i,classNames:a,children:l,"data-testid":d,size:h="m"}=t,b=Ls(h);return e.jsxs("div",{className:S.clsx(Pt.container,a==null?void 0:a.container),style:i==null?void 0:i.container,"data-testid":d,children:[r&&e.jsx("div",{style:i==null?void 0:i.iconSlot,className:S.clsx(Pt.iconSlot,a==null?void 0:a.iconSlot),children:r}),(n||s)&&e.jsxs("div",{className:S.clsx(Pt.textBlock,a==null?void 0:a.textBlock),children:[n&&e.jsx("p",{style:i==null?void 0:i.title,className:S.clsx(Pt.title,tt[b.title],a==null?void 0:a.title),children:n}),s&&e.jsx("p",{style:i==null?void 0:i.subTitle,className:S.clsx(Pt.subtitle,tt[b.subtitle],a==null?void 0:a.subTitle),children:s})]}),l&&e.jsx("div",{className:S.clsx(Pt.children,a==null?void 0:a.children),children:l})]})},Ts=t=>{const{open:r,onOpenChange:n,placement:s="default",variant:i="info",title:a,description:l,children:d,variantAvatarProps:h,"data-testid":b,styles:c,classNames:y,...v}=t,{icon:u,colorScheme:p}=(Jt==null?void 0:Jt[i])||Jt.info,_=i==="avatar"?{size:48,colorScheme:"gray",variant:"light","data-testid":"alert-avatar",...h}:{size:48,icon:u,colorScheme:p,variant:"light",style:{fontSize:24,outline:"none"},"data-testid":"alert-icon"};return e.jsx(lr,{open:r,onOpenChange:n,placement:s,"data-testid":b,className:S.clsx(ys.container,y==null?void 0:y.dialog),style:c==null?void 0:c.dialog,...v,children:e.jsx(cr,{title:a,subTitle:l,classNames:y,styles:c,size:"m",iconSlot:e.jsx(ir,{..._}),children:d})})},$s="_wrapper_1tbse_5",Es="_badge__container_1tbse_6",Rs="_badge__content_1tbse_7",Is="_interactive_1tbse_20",Ns="_disabled_1tbse_21",Ms="_icon_1tbse_22",wt={wrapper:$s,badge__container:Es,badge__content:Rs,interactive:Is,disabled:Ns,icon:Ms,"variant-filled":"_variant-filled_1tbse_98","color-brand":"_color-brand_1tbse_103","color-red":"_color-red_1tbse_111","color-orange":"_color-orange_1tbse_119","color-yellow":"_color-yellow_1tbse_127","color-green":"_color-green_1tbse_135","color-blue":"_color-blue_1tbse_143","color-lightblue":"_color-lightblue_1tbse_151","color-purple":"_color-purple_1tbse_159","color-gray":"_color-gray_1tbse_167","color-contrast":"_color-contrast_1tbse_175","variant-light":"_variant-light_1tbse_184","variant-outline":"_variant-outline_1tbse_261","variant-transparent":"_variant-transparent_1tbse_339","position-top-left":"_position-top-left_1tbse_410","position-top-right":"_position-top-right_1tbse_416","position-bottom-left":"_position-bottom-left_1tbse_422","position-bottom-right":"_position-bottom-right_1tbse_428","position-top-center":"_position-top-center_1tbse_434","position-bottom-center":"_position-bottom-center_1tbse_440","position-middle-left":"_position-middle-left_1tbse_446","position-middle-right":"_position-middle-right_1tbse_452","position-middle-center":"_position-middle-center_1tbse_458","position-top-left-inside":"_position-top-left-inside_1tbse_465","position-top-right-inside":"_position-top-right-inside_1tbse_471","position-bottom-left-inside":"_position-bottom-left-inside_1tbse_477","position-bottom-right-inside":"_position-bottom-right-inside_1tbse_483","position-top-center-inside":"_position-top-center-inside_1tbse_489","position-bottom-center-inside":"_position-bottom-center-inside_1tbse_495","position-middle-left-inside":"_position-middle-left-inside_1tbse_501","position-middle-right-inside":"_position-middle-right-inside_1tbse_507"},dr=g.forwardRef((t,r)=>{const{icon:n,children:s,variant:i="filled",label:a,isHidden:l=!1,colorScheme:d="red",size:h=20,position:b="top-right",positionOffset:c={x:0,y:0},cutoutBackground:y,isDisabled:v,className:u,"data-testid":p="badge",...m}=t,{onClick:_,onPointerDown:x}=m,{ref:f,bgColor:C}=ve(),j=y||C,k=!v&&(!!_||!!x),T=vt(wt.badge__container,wt[`position-${b}`]),R=vt(u,wt.badge__content,wt[`color-${d}`],wt[`variant-${i}`],{[wt.disabled]:v,[wt.icon]:!!n,[wt.interactive]:k}),I={"--badge-height":`${h}px`,"--badge-offset-x":`${c.x}px`,"--badge-offset-y":`${c.y}px`,...j&&{"--badge-cutout-bg":j},...i==="transparent"&&{"--badge-cutout-bg":"transparent"}},B=(n==null?void 0:n({}))||a,O=D=>{k&&(_==null||_(D))};return e.jsxs("div",{className:wt.wrapper,ref:f,"data-testid":p+"-wrapper",children:[s,!l&&e.jsx("span",{className:T,style:I,"data-testid":p+"-container",children:e.jsx("span",{...m,onClick:O,className:R,"data-testid":p+"-content",ref:r,"aria-disabled":v,children:B})})]})}),Bs="_container_yn8yz_7",As="_loading_yn8yz_17",Os="_error_yn8yz_18",Ps="_image_yn8yz_22",Vt={container:Bs,loading:As,error:Os,image:Ps},zs=({width:t=48,height:r=48,className:n,"data-testid":s})=>e.jsx("svg",{width:t,height:r,viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:n,"data-testid":s,children:e.jsx("path",{d:"M32.4 42H13.8627C12.6511 42 12.0453 42 11.7648 41.7604C11.5214 41.5525 11.3922 41.2407 11.4173 40.9215C11.4462 40.5538 11.8746 40.1254 12.7314 39.2686L29.7373 22.2627C30.5293 21.4707 30.9253 21.0747 31.382 20.9263C31.7837 20.7958 32.2163 20.7958 32.618 20.9263C33.0747 21.0747 33.4707 21.4707 34.2627 22.2627L42 30V32.4M32.4 42C35.7603 42 37.4405 42 38.7239 41.346C39.8529 40.7708 40.7708 39.8529 41.346 38.7239C42 37.4405 42 35.7603 42 32.4M32.4 42H15.6C12.2397 42 10.5595 42 9.27606 41.346C8.14708 40.7708 7.2292 39.8529 6.65396 38.7239C6 37.4405 6 35.7603 6 32.4V15.6C6 12.2397 6 10.5595 6.65396 9.27606C7.2292 8.14708 8.14708 7.2292 9.27606 6.65396C10.5595 6 12.2397 6 15.6 6H32.4C35.7603 6 37.4405 6 38.7239 6.65396C39.8529 7.2292 40.7708 8.14708 41.346 9.27606C42 10.5595 42 12.2397 42 15.6V32.4M21 17C21 19.2091 19.2091 21 17 21C14.7909 21 13 19.2091 13 17C13 14.7909 14.7909 13 17 13C19.2091 13 21 14.7909 21 17Z",stroke:"#AABBCA",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round"})}),Ds=g.forwardRef((t,r)=>{const{alt:n="",loading:s="lazy",src:i,isLoading:a=!1,style:l,className:d,containerProps:h,"data-testid":b="image",onError:c,onLoad:y,...v}=t,{className:u,...p}=h??{},[m,_]=g.useState("loading"),x=m==="error",f=(a||m==="loading")&&!x,C=m==="loaded"&&!a,j=S.clsx(Vt.container,{[Vt.loading]:f&&!C,[Vt.error]:x&&!C},u),E=S.clsx(Vt.image,{[Vt.loading]:f},d),k=g.useCallback(I=>{_("loaded"),y==null||y(I)},[y]),T=g.useCallback(I=>{_("error"),c==null||c(I)},[c]),R={loader:e.jsxs(g.Fragment,{children:[e.jsx(ae,{size:48,variant:"special","data-testid":`${b}-loader`}),e.jsx("img",{alt:n,src:i,onLoad:k,onError:T,style:{display:"none"}})]}),error:e.jsx(zs,{"data-testid":`${b}-fallback`}),image:e.jsx("img",{ref:r,alt:n,"data-testid":b,loading:s,src:i,className:E,...v})};return g.useEffect(()=>{if(!i){_("error");return}_("loading")},[i]),e.jsxs("div",{className:j,"data-testid":`${b}-container`,style:l,...p,children:[f&&R.loader,x&&R.error,C&&R.image]})}),ur={},_r=g.createContext({locale:ur}),pr=()=>{const t=g.useContext(_r);if(!t)throw new Error("useConfig must be used within a ConfigProvider");return t},Fs=()=>{const{locale:t}=pr();return t},Ws={},qs={},Hs={},Vs={},Xs={},Zs="_base_1p0qo_50",Us="_content_1p0qo_54",Ys="_background_1p0qo_58",Gs="_button_1p0qo_62",Ks="_link_1p0qo_66",Js="_input_1p0qo_70",Qs="_suffix_1p0qo_74",ta="_prefix_1p0qo_78",ea="_tooltip_1p0qo_82",ra="_hint_1p0qo_86",na="_dropdown_1p0qo_90",oa="_popover_1p0qo_94",sa="_modalBackdrop_1p0qo_98",aa="_modal_1p0qo_98",ia="_overlay_1p0qo_106",la="_drawer_1p0qo_110",ca="_notification_1p0qo_114",da="_alert_1p0qo_118",ua="_toast_1p0qo_122",_a="_loading_1p0qo_126",pa="_error_1p0qo_130",fa="_critical_1p0qo_134",ga={base:Zs,content:Us,background:Ys,button:Gs,link:Ks,input:Js,suffix:Qs,prefix:ta,tooltip:ea,hint:ra,dropdown:na,popover:oa,modalBackdrop:sa,modal:aa,overlay:ia,drawer:la,notification:ca,alert:da,toast:ua,loading:_a,error:pa,critical:fa},ha={"semantic-animation":"_semantic-animation_1fenh_13","semantic-animation--100":"_semantic-animation--100_1fenh_19","semantic-animation--300":"_semantic-animation--300_1fenh_23","semantic-animation--400":"_semantic-animation--400_1fenh_27","semantic-animation--500":"_semantic-animation--500_1fenh_31"},xa=({locale:t={},theme:r,children:n,className:s})=>(g.useLayoutEffect(()=>{if(r){const i=document.documentElement;Object.entries(r).forEach(([a,l])=>{i.style.setProperty(a,l)})}},[r]),e.jsxs(g.Fragment,{children:[e.jsx("div",{"data-testid":"ConfigProvider-component",className:S.clsx(Ws,qs,Hs,Vs,Xs,ga,tt,ha,s)}),e.jsx(_r.Provider,{value:{locale:t},children:n})]})),ba={},ma="_tag_1llsi_1",ya="_label_1llsi_16",va="_iconWrapper_1llsi_20",wa="_medium_1llsi_27",Ca="_large_1llsi_33",ka="_disabled_1llsi_43",Sa="_neutral_1llsi_47",ja="_positive_1llsi_53",La="_negative_1llsi_59",Ta="_warning_1llsi_65",$a="_vivid_1llsi_71",Ea="_special_1llsi_77",Ra="_accent_1llsi_84",Ia="_blue_1llsi_90",Na="_lovely_1llsi_96",Ma="_dreamy_1llsi_102",Nt={tag:ma,label:ya,iconWrapper:va,medium:wa,large:Ca,disabled:ka,neutral:Sa,positive:ja,negative:La,warning:Ta,vivid:$a,special:Ea,accent:Ra,blue:Ia,lovely:Na,dreamy:Ma},Ba=g.forwardRef((t,r)=>{const{className:n,children:s,componentStyle:i="neutral",size:a="medium",disabled:l=!1,showLabel:d=!!s,slotStart:h,slotEnd:b,slotStartWrapperProps:c={},slotEndWrapperProps:y={},"data-testid":v,...u}=t,{className:p,...m}=c,{className:_,...x}=y;return e.jsxs("div",{className:S.clsx(Nt.tag,Nt[a],Nt[i],{[Nt.disabled]:l,[tt["typography-label-3-regular"]]:a==="medium",[tt["typography-subtitle-1-semibold"]]:a==="large"},n),"data-testid":v||"tag-component",ref:r,...u,children:[h&&e.jsx("span",{className:S.clsx([Nt.iconWrapper,p]),...m,children:h}),d&&e.jsx("span",{className:S.clsx([Nt.label]),children:s}),b&&e.jsx("span",{className:S.clsx([Nt.iconWrapper,_]),...x,children:b})]})}),Aa="_checkbox_gtrs6_43",Oa="_input_gtrs6_64",Pa="_icon_gtrs6_72",za="_container_gtrs6_92",Da="_error_gtrs6_143",Fa="_checkboxWrapper_gtrs6_156",Wa="_medium_gtrs6_211",qa="_large_gtrs6_216",Ha="_label_gtrs6_258",kt={checkbox:Aa,input:Oa,icon:Pa,container:za,error:Da,checkboxWrapper:Fa,medium:Wa,large:qa,label:Ha},Va=({width:t=12,height:r=9,className:n="",color:s="currentColor",...i})=>e.jsx("svg",{className:n,width:t,height:r,viewBox:"0 0 14 10",fill:"none",xmlns:"http://www.w3.org/2000/svg",...i,children:e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.0001 2.49999C13.3906 2.10946 13.3906 1.4763 13.0001 1.08578C12.6095 0.695251 11.9764 0.695251 11.5859 1.08578L5.29296 7.37867L2.00007 4.08578C1.60954 3.69525 0.976378 3.69525 0.585855 4.08578C0.19533 4.4763 0.19533 5.10946 0.585855 5.49999L4.58585 9.49999C4.97638 9.89051 5.60954 9.89051 6.00007 9.49999L13.0001 2.49999Z",fill:s})}),Xa=({width:t=12,height:r=2,className:n="",color:s="currentColor",...i})=>e.jsx("svg",{className:n,width:t,height:r,viewBox:"0 0 12 2",fill:"none",xmlns:"http://www.w3.org/2000/svg",...i,children:e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 1C0 0.447715 0.447715 0 1 0H11C11.5523 0 12 0.447715 12 1C12 1.55228 11.5523 2 11 2H1C0.447715 2 0 1.55228 0 1Z",fill:s})}),Za={medium:{width:10.83,height:7.5},large:{width:13,height:9}},Ua=({size:t,isChecked:r,isDisabled:n,indeterminate:s,dataTestId:i})=>{const{width:a,height:l}=Za[t];return e.jsx("div",{className:kt.icon,"data-testid":`${i}-icon`,"data-checked":r,"data-disabled":n,"data-indeterminate":s,children:s?e.jsx(Xa,{width:a,height:l}):e.jsx(Va,{width:a,height:l})})},Ya=g.forwardRef((t,r)=>{const{name:n,value:s,size:i="medium",indeterminate:a=!1,loading:l=!1,error:d,disabled:h=!1,containerClassName:b,className:c,containerStyle:y,style:v,children:u,clickableLabel:p=!0,tabIndex:m,onChange:_,onClick:x,"data-testid":f="checkbox"}=t,[C,j]=g.useState(!1),E=s??C,k=h||l,T=!!d,R=E||a,I=S.clsx(kt.container,kt[i],b),B=S.clsx(kt.checkbox,kt[i],{[kt.error]:T},c),O=N=>{k||(j(N.target.checked),_==null||_(N.target.checked,N))},D=N=>{if(N.key==="Enter"&&!k){N.preventDefault();const F=!R;j(F),_==null||_(F)}},$=N=>{p||N.preventDefault(),x==null||x(N)};return e.jsxs("label",{className:I,htmlFor:n,style:y,"data-testid":f,"data-clickable-label":p,children:[e.jsx("div",{className:kt.checkboxWrapper,children:e.jsxs("div",{tabIndex:m||0,className:B,style:v,onKeyDown:D,"aria-checked":R,"aria-disabled":k,"aria-invalid":T,"aria-describedby":d?`${n}-error`:void 0,"data-testid":`${f}-label`,children:[e.jsx("input",{ref:r,type:"checkbox",id:n,name:n,checked:R,disabled:k,className:kt.input,onChange:O,"aria-checked":R,"aria-invalid":T,"aria-describedby":d?`${n}-error`:void 0,"data-testid":`${f}-input`}),e.jsx(Ua,{name:n,size:i,isChecked:R,isDisabled:k,indeterminate:a,dataTestId:f})]})}),u&&e.jsx("span",{"data-testid":`${f}-label-text`,"data-clickable-label":p,className:kt.label,onClick:$,children:u})]})}),Ga="_base_10oxr_1",Ka="_content_10oxr_1",Ja="_background_10oxr_1",Qa="_button_10oxr_1",ti="_link_10oxr_1",ei="_input_10oxr_96",ri="_suffix_10oxr_1",ni="_prefix_10oxr_1",oi="_tooltip_10oxr_1",si="_hint_10oxr_794",ai="_dropdown_10oxr_1",ii="_popover_10oxr_1",li="_modalBackdrop_10oxr_1",ci="_modal_10oxr_1",di="_overlay_10oxr_1",ui="_drawer_10oxr_1",_i="_notification_10oxr_1",pi="_alert_10oxr_1",fi="_toast_10oxr_1",gi="_loading_10oxr_291",hi="_error_10oxr_252",xi="_critical_10oxr_1",bi="_inputBase_10oxr_96",mi="_wrapper_10oxr_106",yi="_gripHandle_10oxr_186",vi="_tabFocused_10oxr_259",wi="_disabled_10oxr_284",Ci="_label_10oxr_301",ki="_S_10oxr_315",Si="_M_10oxr_321",ji="_XL_10oxr_328",Li="_leftSection_10oxr_335",Ti="_rightSection_10oxr_347",$i="_helper_10oxr_385",Ei="_floatingLabel_10oxr_415",Ri="_focused_10oxr_481",Ii="_filled_10oxr_482",Ni="_L_10oxr_522",Mi="_characterLimit_10oxr_564",Bi="_textarea_10oxr_124",Ai="_truncate_10oxr_707",z={base:Ga,content:Ka,background:Ja,button:Qa,link:ti,input:ei,suffix:ri,prefix:ni,tooltip:oi,hint:si,dropdown:ai,popover:ii,modalBackdrop:li,modal:ci,overlay:di,drawer:ui,notification:_i,alert:pi,toast:fi,loading:gi,error:hi,critical:xi,inputBase:bi,wrapper:mi,"textarea-wrapper":"_textarea-wrapper_10oxr_124",gripHandle:yi,tabFocused:vi,disabled:wi,label:Ci,S:ki,M:Si,XL:ji,leftSection:Li,rightSection:Ti,helper:$i,floatingLabel:Ei,focused:Ri,filled:Ii,L:Ni,characterLimit:Mi,textarea:Bi,"size-S":"_size-S_10oxr_646","size-M":"_size-M_10oxr_656","size-L":"_size-L_10oxr_662","size-XL":"_size-XL_10oxr_668","with-floating-label":"_with-floating-label_10oxr_675",truncate:Ai,"has-hint":"_has-hint_10oxr_815","has-suffix":"_has-suffix_10oxr_821","has-limit":"_has-limit_10oxr_844"},Oi=({width:t=8,height:r=8,className:n,color:s="#AABBCA"})=>e.jsx("svg",{width:t,height:r,viewBox:"0 0 8 8",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:n,children:e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.10178 0.236172C6.41679 -0.0787239 6.93824 -0.0787239 7.25325 0.236172C7.56826 0.551067 7.56826 1.07227 7.25325 1.38717L1.38772 7.25074C1.22479 7.41362 1.01837 7.48963 0.811988 7.48963C0.605604 7.48963 0.399189 7.41362 0.236255 7.25074C-0.0787516 6.93584 -0.0787516 6.41464 0.236255 6.09974L6.10178 0.236172ZM6.61276 4.19954C6.92777 3.88464 7.44895 3.88464 7.76396 4.19954C8.07897 4.52529 8.07897 5.03564 7.76396 5.35053L5.35256 7.76111C5.18963 7.92399 4.98321 8 4.77683 8C4.57045 8 4.36403 7.92399 4.2011 7.76111C3.88609 7.44622 3.88609 6.92501 4.2011 6.61012L6.61276 4.19954Z",fill:s})}),we=({className:t="",style:r,size:n="md",color:s="currentColor",onClick:i,...a})=>{const d={display:"inline-block",color:s,...{xxxs:{width:"8px",height:"8px"},xxs:{width:"12px",height:"12px"},xs:{width:"20px",height:"20px"},sm:{width:"24px",height:"24px"},md:{width:"32px",height:"32px"},lg:{width:"40px",height:"40px"}}[n],...r};return e.jsx("svg",{className:t,style:d,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",onClick:i,...a,children:e.jsx("path",{d:"M12 4L4 12M4 4L12 12",stroke:"currentColor",strokeWidth:"1.33333",strokeLinecap:"round",strokeLinejoin:"round"})})},Pi=(t,r)=>{const n=g.useRef(null),s=g.useRef(null);return g.useEffect(()=>{const i=r==="textarea"?n.current:s.current;i&&i.value!==t&&(i.value=t||"")},[t,r]),{textareaRef:n,inputRef:s,currentRef:r==="textarea"?n:s}},zi=(t,r,n)=>{const s=()=>{if(!n.current||r!=="hug")return;const i=n.current.scrollTop;if(n.current.style.setProperty("height","auto","important"),!t)return;const a=n.current.scrollHeight+"px";n.current.style.setProperty("height",a,"important"),n.current.scrollTop=i;const l=n.current.closest(`.${z.wrapper}`);l&&(l.setAttribute("data-resize","hug"),l.setAttribute("data-show-grip","false"))};return g.useEffect(s,[t,r]),g.useEffect(()=>{r==="hug"&&n.current&&s()},[]),{resizeTextArea:s}},Di=(t,r,n,s)=>({handleGripMouseDown:g.useCallback(a=>{if(!t||r||n||!(s==="fixed"||!s))return;a.preventDefault(),a.stopPropagation();const l=a.currentTarget.closest(`.${z.wrapper}`);if(!l)return;const d=a.clientY,h=l.clientHeight,b=y=>{const v=y.clientY-d,u=Math.min(100,h),p=Math.max(u,h+v);l.style.height=`${p}px`},c=()=>{document.removeEventListener("mousemove",b),document.removeEventListener("mouseup",c)};document.addEventListener("mousemove",b),document.addEventListener("mouseup",c)},[t,r,n,s])}),Ge=30,Fi=g.forwardRef(({component:t="input",size:r="L",value:n="",placeholder:s,disabled:i=!1,loading:a=!1,onFocus:l,onBlur:d,onChange:h,onKeyDown:b,onKeyUp:c,maxLength:y,className:v,style:u,truncate:p=!1,shouldShowFloatingLabelClass:m=!1,"aria-invalid":_,"aria-errormessage":x,id:f,resize:C,...j},E)=>{const{textareaRef:k,inputRef:T,currentRef:R}=Pi(n,t);if(zi(n,C,k),g.useImperativeHandle(E,()=>R.current,[R]),t==="textarea")return e.jsx("textarea",{ref:k,id:f,value:n,placeholder:s,disabled:i||a,onFocus:l,onBlur:d,onChange:h,onKeyDown:b,onKeyUp:c,maxLength:y,className:S.clsx(z.textarea,z[`size-${r}`],m&&z["with-floating-label"],v),style:u,"aria-invalid":_,"aria-errormessage":x,"aria-describedby":x?`${f}-error`:void 0,tabIndex:0,"data-resize":C,...j});if(t==="input")return e.jsx("input",{ref:T,id:f,value:n,placeholder:s,disabled:i||a,onFocus:l,onBlur:d,onChange:h,onKeyDown:b,onKeyUp:c,maxLength:y,className:S.clsx(z.input,z[`size-${r}`],m&&z["with-floating-label"],p&&z.truncate,v),style:u,"aria-invalid":_,"aria-errormessage":x,"aria-describedby":x?`${f}-error`:void 0,tabIndex:0,...j});if(t!=="input"&&t!=="textarea")return console.error(`[Input] Недопустимое значение prop 'component': "${String(t)}". Допустимые значения: 'input', 'textarea'`),null}),fr=g.forwardRef(({children:t,size:r="L",error:n=!1,disabled:s=!1,loading:i=!1,className:a,wrapperProps:l,wrapperStyles:d,floatingLabelStyles:h,prefixStyles:b,suffixStyles:c,labelProps:y,helperProps:v,showLimit:u=!1,maxLength:p,hint:m,showHint:_=!1,showHintOnEmpty:x=!1,prefix:f,suffix:C,onSuffixClick:j,placeholder:E,showLabel:k=!0,labelClassName:T,hasValue:R=!1,helper:I,id:B,value:O="",resize:D,showGrip:$=!1,...N},F)=>{const H=g.useId(),X=B||H,Y=_&&m&&(R||x),W=m&&m.length>Ge?m.substring(0,Ge)+"...":m,K=S.clsx(z.wrapper,z[`size-${r}`],n&&z.error,s&&z.disabled,i&&z.loading,Y&&z["has-hint"],C&&z["has-suffix"],u&&z["has-limit"],a),Z=S.clsx(z.floatingLabel,z[r],R&&z.filled,T),{handleGripMouseDown:rt}=Di($,s,i,D);return e.jsxs("div",{ref:F,className:z.inputBase,"data-testid":"input-base-wrapper",...N,children:[e.jsxs("div",{className:K,style:d,"data-resize":D,"data-show-grip":$?"true":"false",...l,children:[f&&e.jsx("label",{htmlFor:X,className:z.leftSection,style:b,children:f}),C&&e.jsx("label",{htmlFor:X,className:z.rightSection,style:c,onClick:j,children:C}),E&&k&&e.jsx("label",{htmlFor:X,className:Z,style:h,...y,children:E}),t,$&&!u&&(D==="fixed"||!D)&&e.jsx("div",{className:z.gripHandle,onMouseDown:rt,role:"button",tabIndex:-1,"aria-label":"Изменить размер",children:e.jsx(Oi,{})}),Y&&e.jsx("div",{className:S.clsx(z.hint,R&&z.truncate),"data-disabled":s||i,children:W}),u&&p&&e.jsxs("div",{className:z.characterLimit,children:[(O||"").length," из ",p]})]}),I&&e.jsx("div",{className:S.clsx(z.helper,n&&z.error,(s||i)&&z.disabled),...v,id:n?`${X}-error`:void 0,children:I})]})});fr.displayName="InputWrapperComponent";const Ke=Object.assign(Fi,{Wrapper:fr}),gr=g.forwardRef(({component:t="input",size:r="L",className:n,error:s=!1,disabled:i=!1,loading:a=!1,placeholder:l,showLabel:d=!0,labelClassName:h,helper:b,prefix:c,suffix:y,id:v,onFocus:u,onBlur:p,onKeyDown:m,onSuffixClick:_,onChange:x,value:f="",wrapperProps:C,wrapperStyles:j,floatingLabelStyles:E,prefixStyles:k,suffixStyles:T,textareaStyles:R,labelProps:I,helperProps:B,showLimit:O=!1,maxLength:D,inputProps:$,hint:N,showHint:F=!1,showHintOnEmpty:H=!1,truncate:X=!1,resize:Y,showGrip:W=!1,...K},Z)=>{const rt=g.useId(),_t=v||rt,[Lt,Tt]=g.useState(f),nt=f!==void 0?f:Lt,Mt=(nt||"").length>0,Rt=nt||"",Bt=d&&(r==="XL"||t==="textarea")&&!c,ie=g.useCallback(ot=>{var st;i||a||(u==null||u(),(st=$==null?void 0:$.onFocus)==null||st.call($,ot))},[u,$,i,a]),Yt=g.useCallback(ot=>{var st;if(ot.key==="Tab"){const bt=ot.target.closest(`.${z.wrapper}`);bt&&bt.classList.add(z.tabFocused)}(st=$==null?void 0:$.onKeyUp)==null||st.call($,ot)},[$]),le=g.useCallback(ot=>{var bt;const st=ot.target.closest(`.${z.wrapper}`);st&&st.classList.remove(z.tabFocused),p==null||p(),(bt=$==null?void 0:$.onBlur)==null||bt.call($,ot)},[p,$]),ce=g.useCallback(ot=>{var bt;if(i||a)return;const st=ot.target.value;Tt(st),x==null||x(st,ot),(bt=$==null?void 0:$.onChange)==null||bt.call($,ot)},[x,$,i,a]);return g.useEffect(()=>{Tt(f||"")},[f]),e.jsx(Ke.Wrapper,{ref:Z,size:r,error:s,disabled:i||a,loading:a,className:S.clsx(n,t==="textarea"&&z["textarea-wrapper"]),wrapperProps:C,wrapperStyles:j,floatingLabelStyles:E,prefixStyles:k,suffixStyles:T,labelProps:I,helperProps:B,showLimit:O,maxLength:D,hint:N,showHint:F,showHintOnEmpty:H,prefix:c,suffix:y,onSuffixClick:_,placeholder:l,showLabel:d,labelClassName:h,hasValue:Mt,helper:b,id:_t,value:Rt,showGrip:W,resize:Y,...K,children:e.jsx(Ke,{component:t,size:r,value:Rt,placeholder:l,disabled:i,loading:a,onFocus:ie,onBlur:le,onChange:ce,onKeyDown:m,onKeyUp:Yt,maxLength:D,truncate:X,"data-empty":!Mt,shouldShowFloatingLabelClass:Bt,style:t==="textarea"?R:void 0,"aria-invalid":!!s,"aria-errormessage":s?`${_t}-error`:void 0,id:_t,resize:Y,...$})})}),G={S:"S",M:"M",L:"L",XL:"XL"},Wi=(t,r,n,s)=>{switch(t){case G.XL:return r&&n?"8px 16px 8px 16px":"16px 16px 16px 16px";case G.L:return s?"12px 12px 12px 12px":"12px 16px 12px 16px";case G.M:return"10px 12px 10px 12px";case G.S:return"6px 10px 6px 10px";default:return"12px 16px 12px 16px"}},qi=t=>{switch(t){case G.XL:return"56px";case G.L:return"48px";case G.M:return"40px";case G.S:return"32px";default:return"48px"}},Hi=t=>{switch(t){case G.S:case G.M:case G.L:return 4;case G.XL:return 8;default:return 8}},Vi=t=>{switch(t){case G.S:case G.M:return 8;case G.L:case G.XL:return 12;default:return 12}},Xi=(t,r,n,s)=>({wrapperStyles:{minHeight:t,maxHeight:t,boxSizing:"border-box",padding:r},floatingLabelStyles:{left:"10px"},prefixStyles:{paddingRight:`${n}px`},suffixStyles:{right:`${s}px`,maxWidth:"32px",maxHeight:"32px",padding:"6px",cursor:"pointer"}}),Zi=(t,r,n,s)=>({wrapperStyles:{height:t,minHeight:t,maxHeight:t,boxSizing:"border-box",padding:r},floatingLabelStyles:{left:"16px",transformOrigin:"left top"},prefixStyles:{paddingRight:`${n}px`},suffixStyles:{right:`${s}px`,maxWidth:"40px",maxHeight:"40px",padding:"8px",cursor:"pointer"}}),Ui=(t,r,n,s)=>({wrapperStyles:{minHeight:t,maxHeight:t,boxSizing:"border-box",padding:r},floatingLabelStyles:{left:"16px"},prefixStyles:{paddingRight:`${n}px`},suffixStyles:{right:`${s}px`,maxWidth:"40px",maxHeight:"40px",padding:"8px",cursor:"pointer",display:"flex",alignItems:"center",justifyContent:"center"}}),Yi=(t,r,n,s)=>({wrapperStyles:{minHeight:t,maxHeight:t,boxSizing:"border-box",padding:r},floatingLabelStyles:{left:"12px"},prefixStyles:{paddingRight:`${n}px`},suffixStyles:{right:`${s}px`,maxWidth:"32px",maxHeight:"32px",padding:"6px",cursor:"pointer"}}),Gi=(t,r,n,s)=>{const i=qi(t),a=Wi(t,r,n,s),l=Vi(t),d=Hi(t);switch(t){case G.XL:return Zi(i,a,l,d);case G.L:return Ui(i,a,l,d);case G.M:return Yi(i,a,l,d);case G.S:return Xi(i,a,l,d);default:return{wrapperStyles:{},floatingLabelStyles:{},prefixStyles:{},suffixStyles:{}}}},Ki=g.forwardRef(({value:t="",onChange:r,type:n="text",placeholder:s,maxLength:i,minLength:a,autoComplete:l,autoFocus:d,size:h=G.L,inputProps:b,error:c,disabled:y,loading:v,helper:u,prefix:p,suffix:m,clearable:_=!1,id:x,showLabel:f=!0,onFocus:C,onBlur:j,onSuffixClick:E,onClear:k,className:T,truncate:R=!0,hint:I,showHint:B=!1,showHintOnEmpty:O=!1,wrapperProps:D,labelProps:$,helperProps:N,...F},H)=>{const X=(t||"").length>0,Y=h===G.XL,W=!!p,K=Y&&f&&!p,Z=_&&X&&!(y||v),rt=()=>{r==null||r(""),k==null||k()},_t=()=>{Z&&rt(),E==null||E()},Lt=Z?e.jsx(we,{size:h===G.S||h===G.M?"xs":"sm",color:"var(--icon-secondary)",style:{cursor:"pointer"},"data-testid":"x-icon"}):m,Tt={type:n,minLength:a,autoComplete:l,autoFocus:d,...b},nt=Gi(h,K,X,W);return e.jsx(gr,{size:h,error:c,disabled:y||v,loading:v,helper:u,prefix:p,suffix:Lt,id:x,showLabel:K,onFocus:C,onBlur:j,onSuffixClick:_t,onChange:r,value:t,placeholder:s,className:T,wrapperStyles:nt.wrapperStyles,floatingLabelStyles:nt.floatingLabelStyles,prefixStyles:nt.prefixStyles,suffixStyles:nt.suffixStyles,wrapperProps:D,labelProps:$,helperProps:N,showLimit:!1,maxLength:i,inputProps:Tt,hint:I,showHint:B,showHintOnEmpty:O,truncate:R,...F})}),ft={M:"M",L:"L"},ne={M:"12px",L:"16px"},Ji={M:"xs",L:"sm"},te={FILL:"fill",FIXED:"fixed"},he={M:"112px",L:"56px"},zt={M:"48px",L:"22px"},Ct={M:"12px 12px 12px 12px",L:"16px 16px 16px 16px",L_WITH_PREFIX:"12px 16px 12px 16px",L_FLOATING_LABEL:"8px 16px 8px 16px"},jt={M:48,L:56,XL:112},Qi=(t,r)=>{if(t===ft.M)return he.M;if(r)return`${r}px`;switch(t){case ft.L:return he.L;default:return he.L}},tl=(t,r)=>{if(t===ft.M)return zt.M;if(r)switch(r){case jt.M:case jt.L:return zt.L;case jt.XL:return zt.M;default:return zt.L}switch(t){case ft.L:return zt.L;default:return zt.L}},el=(t,r,n)=>{if(t===ft.M)return Ct.M;if(r)switch(r){case jt.M:return Ct.L_WITH_PREFIX;case jt.L:return n?Ct.L_FLOATING_LABEL:Ct.L;case jt.XL:return Ct.L;default:return Ct.L}switch(t){case ft.L:return n?Ct.L_FLOATING_LABEL:Ct.L;default:return Ct.L}},rl=(t,r)=>{if(t===ft.M)return"M";if(r)switch(r){case jt.M:return"M";case jt.L:return"L";case jt.XL:return"L";default:return"L"}return t},nl=t=>Ji[t],ol=t=>ne[t],sl=(t,r,n,s)=>{const i=Qi(t,r),a=tl(t,r),l=el(t,r,n);return{wrapperStyles:{minHeight:i,...s===te.FILL&&{height:"100%"},...s===te.FIXED&&r&&{height:i},boxSizing:"border-box",padding:l},floatingLabelStyles:{left:t===ft.M?ne.M:ne.L,transformOrigin:"left top",top:r===112&&n&&t===ft.L?ne.L:void 0},suffixStyles:{right:ol(t),top:r===48&&t===ft.L?"11px":void 0,boxSizing:"border-box"},textareaStyles:{minHeight:a,...s===te.FILL&&{flex:1,minHeight:0},...s===te.FIXED&&r&&{height:a}}}},al=g.forwardRef(({value:t="",onChange:r,placeholder:n,maxLength:s,minLength:i,autoFocus:a,size:l=ft.L,textareaProps:d,error:h,disabled:b,loading:c,helper:y,suffix:v,clearable:u=!1,id:p,showLabel:m=!0,onFocus:_,onBlur:x,onClear:f,onKeyDown:C,className:j,rows:E=1,showLimit:k=!1,wrapperProps:T,labelProps:R,helperProps:I,showGrip:B,minHeight:O,resize:D,...$},N)=>{const F=(t||"").length>0,H=m&&!!n&&(l===ft.M||O!==48),X=u&&F&&!(b||c),Y=()=>{r==null||r(""),f==null||f()},W=()=>{X&&Y()},K=X?e.jsx(we,{size:nl(l),color:"var(--icon-secondary)",style:{cursor:"pointer"},"data-testid":"x-icon"}):v,Z=sl(l,O,H&&F,D),rt=rl(l,O),_t={rows:E,minLength:i,autoFocus:a,resize:D,...d};return e.jsx(gr,{ref:N,component:"textarea",size:rt,error:h,disabled:b||c,loading:c,onSuffixClick:W,helper:y,suffix:K,id:p,showLabel:H,onFocus:_,onBlur:x,onKeyDown:C,onChange:r,value:t||"",placeholder:n,className:j,"data-floating-label":H,wrapperStyles:Z.wrapperStyles,floatingLabelStyles:Z.floatingLabelStyles,suffixStyles:Z.suffixStyles,textareaStyles:Z.textareaStyles,wrapperProps:T,labelProps:R,helperProps:I,showLimit:k&&(O===112||l===ft.M),maxLength:s,inputProps:_t,resize:D,showGrip:B,...$})}),il="_helper_1jq7j_16",xe={helper:il,"helper--error":"_helper--error_1jq7j_28","helper--disabled":"_helper--disabled_1jq7j_33"},hr=({title:t,error:r,className:n="",style:s,disabled:i=!1,"data-testid":a,"aria-label":l,"aria-describedby":d})=>{const h=!!r,b=S.clsx(xe.helper,h&&xe["helper--error"],i&&xe["helper--disabled"],n),c=i?t:r||t;return e.jsx("div",{className:b,style:s,"data-testid":a,"aria-label":l,"aria-describedby":d,children:e.jsx("p",{children:c})})},ll="_radio_1n8zx_59",cl="_checked_1n8zx_80",dl="_error_1n8zx_85",ul="_disabled_1n8zx_94",_l="_icon_1n8zx_130",pl="_small_1n8zx_138",fl="_medium_1n8zx_145",gl="_large_1n8zx_152",hl="_label_1n8zx_159",xl="_container_1n8zx_185",bl="_input_1n8zx_198",ml="_card_1n8zx_205",yl="_smallCard_1n8zx_211",vl="_mediumCard_1n8zx_215",wl="_largeCard_1n8zx_219",pt={default:"_default_1n8zx_53",radio:ll,checked:cl,error:dl,disabled:ul,icon:_l,small:pl,medium:fl,large:gl,label:hl,container:xl,input:bl,card:ml,smallCard:yl,mediumCard:vl,largeCard:wl},Cl="radio-container-",kl="radio-label",xr=g.forwardRef((t,r)=>{const{name:n,id:s,value:i,size:a="large",loading:l=!1,error:d,disabled:h=!1,checked:b=!1,containerClassName:c,className:y,children:v,clickable:u="all",mode:p="default",tabIndex:m,style:_,containerStyle:x,onChange:f,"data-testid":C,...j}=t,E=!!d,k=h||l,T=u==="all",R=p==="card",I=pt[`${a}Card`],B=s??n,O=H=>{k||f==null||f(i,H)},D=H=>{H.key==="Enter"&&!k&&(H.preventDefault(),f==null||f(i))},$=H=>H.stopPropagation(),N=()=>e.jsxs("div",{className:S.clsx(pt.radio,pt[a],{[pt.checked]:b,[pt.disabled]:k,[pt.error]:E&&!k},y),style:_,tabIndex:m||1,"data-testid":`${Cl}${B}`,children:[e.jsx("input",{"aria-errormessage":d,"aria-invalid":E,checked:b,className:pt.input,"data-testid":`radio-${B}`,disabled:k,id:B,name:n,ref:r,type:"radio",value:i,onChange:O,onClick:$}),e.jsx("svg",{"data-testid":`radio-icon-${B}`,viewBox:"0 0 8 8",className:pt.icon,children:e.jsx("circle",{cx:4,cy:4,fill:"current",r:4})})]}),F=()=>e.jsxs("label",{"aria-checked":b,"aria-disabled":k,"data-testid":T?C:kl,htmlFor:B,style:x,className:S.clsx(pt.label,{[S.clsx(pt.container,pt[p],c)]:T,[I]:T&&R}),onKeyDown:D,...j,children:[N(),T&&v]});return T?F():e.jsxs("div",{className:S.clsx(pt.container,pt[p],c,{[I]:R}),"data-testid":C,children:[F(),v]})}),Sl="_group_tnviu_7",jl="_vertical_tnviu_12",Ll="_horizontal_tnviu_16",Je={group:Sl,vertical:jl,horizontal:Ll},Tl=g.forwardRef((t,r)=>{const{id:n,name:s,value:i,options:a,className:l,radioClassName:d,disabled:h=!1,layout:b="vertical","data-testid":c,...y}=t;return e.jsx("div",{className:vt(Je.group,Je[b],l),"data-testid":c??`radio-group-${s}`,id:n,ref:r,children:a.map(({label:v,value:u,disabled:p})=>{const m=`${s}-${String(u)}`,_=String(u)===String(i);return e.jsx(xr,{id:m,checked:_,"data-testid":m,disabled:h||p,name:s,value:u,className:d,...y,children:v},m)})})}),$l=Object.assign(xr,{Group:Tl}),El="_root_1jj3e_25",Rl="_unordered_1jj3e_39",Il="_ordered_1jj3e_43",Nl="_sm_1jj3e_48",Ml="_md_1jj3e_59",Bl="_lg_1jj3e_70",Al="_xl_1jj3e_81",be={root:El,unordered:Rl,ordered:Il,sm:Nl,md:Ml,lg:Bl,xl:Al},Ol=t=>{const{children:r,className:n,"data-testid":s="list-item"}=t;return e.jsx("li",{"data-testid":s,className:n,children:r})},Pl=Object.assign(g.forwardRef((t,r)=>{const{variant:n="unordered",className:s,children:i,size:a="md","data-testid":l="list",...d}=t,h=n==="ordered"?"ol":"ul";return e.jsx(h,{"data-testid":l,ref:r,className:vt(be.root,be[n],be[a],s),...n==="ordered"&&d,children:i})}),{Item:Ol}),zl="_wrapper_1v8xn_5",Dl="_viewport_1v8xn_12",Fl="_mask_1v8xn_26",Wl="_maskLeft_1v8xn_37",ql="_maskRight_1v8xn_42",Hl="_visible_1v8xn_46",Vl="_control_1v8xn_51",Xl="_xs_1v8xn_70",Zl="_sm_1v8xn_73",Ul="_md_1v8xn_76",Yl="_left_1v8xn_80",Gl="_right_1v8xn_83",ct={wrapper:zl,viewport:Dl,mask:Fl,maskLeft:Wl,maskRight:ql,visible:Hl,control:Vl,xs:Xl,sm:Zl,md:Ul,left:Yl,right:Gl},Kl="white",Jl=({children:t,withControls:r=!0,className:n,size:s})=>{const i=g.useRef(null),[a,l]=g.useState(!1),[d,h]=g.useState(!1),{ref:b,bgColor:c}=ve(),y=b??{current:null},v=c??Kl,u=r&&a,p=r&&d,m=({direction:f})=>e.jsx("svg",{height:"12px",width:"12px",viewBox:"0 0 185.343 185.343",xmlns:"http://www.w3.org/2000/svg",children:e.jsx("g",{transform:f==="left"?"scale(-1,1) translate(-185.343,0)":void 0,children:e.jsx("path",{fill:"currentColor",d:"M51.707,185.343c-2.741,0-5.493-1.044-7.593-3.149c-4.194-4.194-4.194-10.981,0-15.175 l74.352-74.347L44.114,18.32c-4.194-4.194-4.194-10.987,0-15.175c4.194-4.194,10.987-4.194,15.18,0l81.934,81.934 c4.194,4.194,4.194,10.987,0,15.175l-81.934,81.939C57.201,184.293,54.454,185.343,51.707,185.343z"})})}),_=()=>{const f=i.current;if(!f)return;const C=Math.round(f.scrollLeft),j=Math.round(f.scrollLeft+f.clientWidth),E=Math.round(f.scrollWidth);l(C>0),h(j<E)},x=f=>{const C=i.current;if(!C)return;const j=C.clientWidth;C.scrollBy({left:f==="left"?-j:j,behavior:"smooth"})};return g.useEffect(()=>{const f=i.current;if(!f)return;const C=j=>{Math.abs(j.deltaX)>Math.abs(j.deltaY)||f.scrollWidth>f.clientWidth&&(j.preventDefault(),f.scrollBy({left:j.deltaY,behavior:"auto"}))};return f.addEventListener("wheel",C,{passive:!1}),()=>f.removeEventListener("wheel",C)},[]),g.useEffect(()=>{_();const f=i.current;if(f)return f.addEventListener("scroll",_,{passive:!0}),window.addEventListener("resize",_),()=>{f.removeEventListener("scroll",_),window.removeEventListener("resize",_)}},[]),e.jsxs("div",{ref:y,className:S.clsx(ct.wrapper,n),children:[u&&e.jsx("div",{className:S.clsx(ct.mask,ct.maskLeft,a&&ct.visible),style:{background:`linear-gradient(to right, ${v} 17%, transparent 80%)`}}),p&&e.jsx("div",{className:S.clsx(ct.mask,ct.maskRight,d&&ct.visible),style:{background:`linear-gradient(to left, ${v} 17%, transparent 80%)`}}),e.jsx("div",{ref:i,className:ct.viewport,children:t}),u&&e.jsx("button",{type:"button",tabIndex:-1,"aria-hidden":"true",className:S.clsx(ct.control,ct.left,ct[s]),onClick:()=>x("left"),children:e.jsx(m,{direction:"left"})}),p&&e.jsx("button",{type:"button",tabIndex:-1,"aria-hidden":"true",className:S.clsx(ct.control,ct.right,ct[s]),onClick:()=>x("right"),children:e.jsx(m,{direction:"right"})})]})},Ql="_tabBar_1ndpm_82",tc="_primary_1ndpm_88",ec="_secondary_1ndpm_93",rc="_tab_1ndpm_82",nc="_md_1ndpm_125",oc="_sm_1ndpm_129",sc="_xs_1ndpm_133",ac="_disabled_1ndpm_137",ic="_selected_1ndpm_143",lc="_tabLabel_1ndpm_222",cc="_tabPrefix_1ndpm_234",dc="_tabPostfix_1ndpm_270",at={tabBar:Ql,primary:tc,secondary:ec,tab:rc,md:nc,sm:oc,xs:sc,disabled:ac,selected:ic,tabLabel:lc,tabPrefix:cc,tabPostfix:dc},uc="md",_c=!1,pc=8,fc="top-right-inside",br=g.createContext(null),mr=()=>{const t=g.useContext(br);if(!t)throw new Error("useTabs должен использоваться внутри TabsProvider");return t},gc=({children:t,defaultActiveTab:r,activeTab:n,onChange:s})=>{const[i,a]=g.useState(r),l=n!==void 0,d=l?n:i,h=b=>{l||a(b),s&&s(b)};return e.jsx(br.Provider,{value:{activeTab:d,setTab:h},children:t})},hc=({mode:t,item:r,isActive:n,showBadge:s,badgeProps:i,size:a,isDisabled:l,onSelectTab:d})=>{const{value:h,label:b,prefix:c,prefixWrapperProps:y={},postfix:v,postfixWrapperProps:u={}}=r,{className:p,...m}=y,{className:_,...x}=u,f={primary:tt["typography-label-3-medium"],secondary:tt["typography-label-3-regular"],prefix:tt["typography-label-3-medium"],postfix:tt["typography-label-3-medium"]},C={size:pc,position:fc,...i},j=S.clsx(at.tab,at[t],at[a],{[at.selected]:n,[at.disabled]:l}),E=S.clsx(at.tabPrefix,p,at[t],f.prefix,{[at.selected]:n,[at.disabled]:l}),k=S.clsx(at.tabPostfix,_,at[t],f.postfix,{[at.selected]:n,[at.disabled]:l}),T=S.clsx(at.tabLabel,at[t],f[t]),R=B=>{n||l||(d(h),B.currentTarget.scrollIntoView({behavior:"smooth",inline:"center",block:"nearest"}))},I=e.jsxs("button",{className:j,role:"tab","aria-label":b,"aria-selected":n,"aria-disabled":l,"aria-controls":`tab-panel-${h}`,"data-testid":`tab-item-${h}`,onClick:R,children:[c&&e.jsx("span",{className:E,...m,"data-testid":`tab-prefix-${h}`,children:c}),e.jsx("span",{className:T,"data-testid":`tab-label-${h}`,children:b}),v&&e.jsx("span",{className:k,...x,"data-testid":`tab-postfix-${h}`,children:v})]});return s?e.jsx(dr,{...C,"data-testid":`tab-badge-${h}`,children:I}):I},xc=({mode:t,items:r,size:n=uc,isAllItemsDisabled:s=_c})=>{const{activeTab:i,setTab:a}=mr(),l=Eo();return e.jsx(Jl,{size:n,withControls:l,children:e.jsx("div",{role:"tablist","data-testid":"tabs-bar","aria-orientation":"horizontal",className:S.clsx(at.tabBar,at[t]),children:r.map(d=>e.jsx(hc,{size:n,item:d,mode:t,showBadge:d.showBadge,badgeProps:d.badgeProps,isActive:i===d.value,isDisabled:s||d.isDisabled,onSelectTab:a},d.value))})})},bc=({tabValue:t,children:r,...n})=>e.jsx("div",{role:"tabpanel","data-testid":`tab-panel-${t}`,"aria-labelledby":`tab-item-${t}`,...n,children:r}),mc=({children:t,...r})=>{const{activeTab:n}=mr(),s=Array.isArray(t)?t:[t],i=(a,l)=>g.isValidElement(a)&&typeof a.props=="object"&&a.props!==null&&l in a.props;return e.jsx("div",{"data-testid":"tab-content",...r,children:s.map(a=>i(a,"tabValue")&&String(a.props.tabValue)===n?a:null)})},yc={Provider:gc,Content:mc,Panel:bc,Bar:xc},vc="_root_1fbbw_34",wc="_open_1fbbw_51",Cc="_xs_1fbbw_55",kc="_s_1fbbw_61",Sc="_m_1fbbw_67",jc="_neutral_1fbbw_73",Lc="_contrast_1fbbw_78",Tc="_accent_1fbbw_84",$c="_typography_1fbbw_89",Ec="_title_1fbbw_89",Rc="_text_1fbbw_93",Ic="_mediaWrapper_1fbbw_97",Nc="_content_1fbbw_112",Mc="_closeButton_1fbbw_116",Bc="_hasMedia_1fbbw_142",Ac="_buttonStack_1fbbw_148",ut={root:vc,open:wc,xs:Cc,s:kc,m:Sc,neutral:jc,contrast:Lc,accent:Tc,typography:$c,title:Ec,text:Rc,mediaWrapper:Ic,content:Nc,closeButton:Mc,hasMedia:Bc,buttonStack:Ac},Oc=()=>e.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",stroke:"currentColor",children:e.jsx("path",{d:"M18 6 6 18M6 6l12 12"})}),Pc=()=>e.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 9",fill:"currentColor",children:[e.jsx("path",{d:"M0.155001 0.000390053L23.845 0.000390053C21.4147 0.000390053 19.1162 1.10511 17.598 3.00283L13.5617 8.04822C12.7611 9.04903 11.2389 9.04903 10.4383 8.04822L6.40195 3.00283C4.88377 1.10511 2.58527 0.000390053 0.155001 0.000390053Z"}),e.jsx("path",{d:"M-2 0.000390053L26 0.000390053V-1L-2 -1L-2 0.000390053Z"})]}),ht={shiftX:64,adjustY:1},xt={adjustX:1,shiftY:!0},zc={left:{points:["cr","cl"],overflow:xt,offset:[-22,0]},right:{points:["cl","cr"],overflow:xt,offset:[22,0]},top:{points:["bc","tc"],overflow:ht,offset:[0,-22]},bottom:{points:["tc","bc"],overflow:ht,offset:[0,22]},topLeft:{points:["bl","tl"],overflow:ht,offset:[0,-22]},leftTop:{points:["tr","tl"],overflow:xt,offset:[-22,0]},topRight:{points:["br","tr"],overflow:ht,offset:[0,-22]},rightTop:{points:["tl","tr"],overflow:xt,offset:[22,0]},bottomRight:{points:["tr","br"],overflow:ht,offset:[0,22]},rightBottom:{points:["bl","br"],overflow:xt,offset:[22,0]},bottomLeft:{points:["tl","bl"],overflow:ht,offset:[0,22]},leftBottom:{points:["br","bl"],overflow:xt,offset:[-22,0]}},Dc={left:{points:["cr","cl"],overflow:xt,offset:[-16,0]},right:{points:["cl","cr"],overflow:xt,offset:[16,0]},top:{points:["bc","tc"],overflow:ht,offset:[0,-16]},bottom:{points:["tc","bc"],overflow:ht,offset:[0,16]},topLeft:{points:["bl","tl"],overflow:ht,offset:[0,-16]},leftTop:{points:["tr","tl"],overflow:xt,offset:[-16,0]},topRight:{points:["br","tr"],overflow:ht,offset:[0,-16]},rightTop:{points:["tl","tr"],overflow:xt,offset:[16,0]},bottomRight:{points:["tr","br"],overflow:ht,offset:[0,16]},rightBottom:{points:["bl","br"],overflow:xt,offset:[16,0]},bottomLeft:{points:["tl","bl"],overflow:ht,offset:[0,16]},leftBottom:{points:["br","bl"],overflow:xt,offset:[-16,0]}},Fc={neutral:{1:[{mode:"secondary",buttonStyle:"neutral",size:"s"}],2:[{mode:"secondary",buttonStyle:"neutral",size:"s"},{mode:"primary",buttonStyle:"neutral",size:"s"}],3:[{mode:"primary",buttonStyle:"accent",size:"s"},{mode:"secondary",buttonStyle:"neutral",size:"s"},{mode:"primary",buttonStyle:"neutral",size:"s"}]},contrast:{1:[{mode:"primary",buttonStyle:"neutral",size:"s"}],2:[{mode:"primary",buttonStyle:"neutral",size:"s"},{mode:"secondary",buttonStyle:"neutral",size:"s"}],3:[{mode:"primary",buttonStyle:"accent",size:"s"},{mode:"primary",buttonStyle:"neutral",size:"s"},{mode:"secondary",buttonStyle:"neutral",size:"s"}]},accent:{1:[{mode:"secondary",buttonStyle:"neutral",size:"s"}],2:[{mode:"secondary",buttonStyle:"neutral",size:"s"},{mode:"primary",buttonStyle:"accent",size:"s"}],3:[{mode:"primary",buttonStyle:"neutral",size:"s"},{mode:"secondary",buttonStyle:"neutral",size:"s"},{mode:"primary",buttonStyle:"accent",size:"s"}]}},Wc=(t,r,n)=>({...r,...n??{},...t}),qc=(t,r,n)=>{const s=_o(r,1,3),i=Fc[n][s];return i[Math.min(t,i.length-1)]},Qe=({text:t,title:r,media:n,variant:s="neutral",size:i,classNames:a={},onClose:l,buttons:d,buttonProps:h,showClose:b})=>{const c=["neutral","accent"].includes(s)?"contrast":"primary",y=i==="m",v=!!(r&&y),u=!!(n&&y),p=d&&!!d.length,m=!!(b&&y)||!b&&y&&!p,_=i==="xs"?4:3;return e.jsxs("div",{className:ut.content,children:[u&&e.jsx("div",{className:S.clsx(ut.mediaWrapper,a.mediaWrapper),children:n}),e.jsxs("div",{className:a.textWrapper,children:[v&&e.jsx(Et.Subtitle,{className:S.clsx(ut.typography,ut.title,a.typography),size:1,as:"h3",typographyStyle:c,children:r}),e.jsx(Et.Label,{className:S.clsx(ut.typography,ut.text,a.typography),typographyStyle:c,size:_,children:t})]}),m&&e.jsx("button",{type:"button",className:S.clsx(ut.closeButton,ut[s],a.closeButton,{[ut.hasMedia]:u}),onClick:l,"aria-label":"Закрыть подсказку","data-testid":"tooltip-close-button",children:e.jsx(Oc,{})}),y&&p&&e.jsx("div",{className:ut.buttonStack,children:d.map((x,f)=>{const C=qc(f,d.length,s),j=Wc(x,C,h),{closeOnClick:E,...k}=j,T=R=>{var I;(I=k.onClick)==null||I.call(k,R),E&&(l==null||l())};return e.jsx(Zt,{...k,onClick:T},f)})})]})},Hc=({customContent:t,children:r,placement:n="top",contentClassNames:s,mouseEnterDelay:i=0,mouseLeaveDelay:a=.1,showArrow:l=!0,showClose:d=!0,trigger:h="hover",variant:b="neutral",size:c="s",text:y,title:v,media:u,buttons:p,buttonProps:m,onClose:_,...x})=>{const[f,C]=g.useState(!1),[j,E]=g.useState(!1),k=c==="m"?zc:Dc,T=()=>{C(!1),_==null||_()},R=t||(c==="m"?e.jsx(Qe,{classNames:s,text:y,variant:b,size:c,onClose:T,title:v,media:u,showClose:d,buttons:p,buttonProps:m}):e.jsx(Qe,{classNames:s,text:y,variant:b,size:c,onClose:T}));return g.useEffect(()=>{if(f){const I=requestAnimationFrame(()=>E(!0));return()=>cancelAnimationFrame(I)}E(!1)},[f]),e.jsx(Hr,{visible:f,onVisibleChange:C,classNames:{root:S.clsx(ut.root,ut[b],ut[c],j&&ut.open),...x.classNames},placement:n,overlay:()=>R,trigger:h,mouseEnterDelay:i,mouseLeaveDelay:a,motion:{motionName:"tooltipMotion"},builtinPlacements:k,showArrow:l?{content:e.jsx(Pc,{}),className:`tooltipArrow tooltipArrow-${c}`}:!1,destroyTooltipOnHide:!0,...x,children:r})},Vc="_base_4dkq5_1",Xc="_content_4dkq5_1",Zc="_background_4dkq5_1",Uc="_button_4dkq5_1",Yc="_link_4dkq5_1",Gc="_input_4dkq5_1",Kc="_suffix_4dkq5_1",Jc="_prefix_4dkq5_1",Qc="_tooltip_4dkq5_1",t1="_hint_4dkq5_1",e1="_dropdown_4dkq5_1",r1="_popover_4dkq5_1",n1="_modalBackdrop_4dkq5_1",o1="_modal_4dkq5_1",s1="_overlay_4dkq5_1",a1="_drawer_4dkq5_1",i1="_notification_4dkq5_1",l1="_alert_4dkq5_1",c1="_toast_4dkq5_1",d1="_loading_4dkq5_1",u1="_error_4dkq5_1",_1="_critical_4dkq5_1",p1="_segmentedControl_4dkq5_7",f1="_segment_4dkq5_7",g1="_activeSegmentIndicator_4dkq5_61",h1="_selected_4dkq5_80",x1="_stretched_4dkq5_89",b1="_disabled_4dkq5_97",m1="_s_4dkq5_7",y1="_icon_4dkq5_110",v1="_label_4dkq5_114",w1="_m_4dkq5_1",C1="_l_4dkq5_114",$t={base:Vc,content:Xc,background:Zc,button:Uc,link:Yc,input:Gc,suffix:Kc,prefix:Jc,tooltip:Qc,hint:t1,dropdown:e1,popover:r1,modalBackdrop:n1,modal:o1,overlay:s1,drawer:a1,notification:i1,alert:l1,toast:c1,loading:d1,error:u1,critical:_1,segmentedControl:p1,segment:f1,activeSegmentIndicator:g1,selected:h1,stretched:x1,disabled:b1,s:m1,icon:y1,label:v1,m:w1,l:C1},tr={s:tt["typography-label-3-regular"],m:tt["typography-label-2-regular"],l:tt["typography-label-2-regular"]},k1=t=>{const{className:r,defaultValue:n,value:s,size:i="m",segments:a,stretched:l,disabled:d=!1,mode:h="label",onChange:b,...c}=t,y=g.useId(),[v,u]=g.useState(n||a[0].value),[p,m]=g.useState({width:0,left:0,height:0}),_=g.useRef(null);g.useEffect(()=>{s!=null&&u(s)},[s]),g.useLayoutEffect(()=>{x()},[v,a,i,l,h]);const x=()=>{if(!(_!=null&&_.current))return;const C=_.current.querySelector('[data-is-active-segment="true"]');C&&m({width:C.offsetWidth,left:C.offsetLeft,height:C.offsetHeight})},f=C=>{d||(u(C),b==null||b(C))};return(a==null?void 0:a.length)===0?null:e.jsxs("fieldset",{className:S.clsx($t.segmentedControl,$t[i],$t[h],{[$t.stretched]:l,[$t.disabled]:d},r),"data-testid":"segmented-control-container",ref:_,disabled:d,...c,children:[a==null?void 0:a.map(({label:C,value:j,containerProps:E={}},k)=>{const{className:T,...R}=E,I=()=>f(j),B=JSON.stringify(j),O=v===j;return e.jsxs(g.Fragment,{children:[e.jsx("input",{id:y+B,value:B,type:"radio",checked:O,readOnly:!0}),e.jsx("label",{"data-is-active-segment":O,className:S.clsx($t.segment,tr[i],{[$t.selected]:O},T),htmlFor:y+B,"data-testid":"segmented-control-segment",onClick:I,...R,children:C})]},se(B)+k)}),e.jsx("div",{className:S.clsx($t.activeSegmentIndicator,tr[i]),"data-testid":"segmented-control-segment-active-indicator",style:p})]})};var Ft=(t=>(t.NORMAL="normal",t.FLOATING="floating",t.HIDDEN="hidden",t))(Ft||{});const et={"trigger-wrapper":"_trigger-wrapper_fm9f9_79","trigger-container":"_trigger-container_fm9f9_85","trigger-container-applied":"_trigger-container-applied_fm9f9_109","trigger-container-open":"_trigger-container-open_fm9f9_114","trigger-container-error":"_trigger-container-error_fm9f9_125","trigger-container-size-XS":"_trigger-container-size-XS_fm9f9_137","trigger-container-size-S":"_trigger-container-size-S_fm9f9_147","trigger-container-size-M":"_trigger-container-size-M_fm9f9_153","trigger-container-size-L":"_trigger-container-size-L_fm9f9_159","trigger-container-size-XL":"_trigger-container-size-XL_fm9f9_167","trigger-container-floating":"_trigger-container-floating_fm9f9_173","trigger-stretched":"_trigger-stretched_fm9f9_178","trigger-content-container":"_trigger-content-container_fm9f9_182","trigger-content-container-floating":"_trigger-content-container-floating_fm9f9_191","trigger-label":"_trigger-label_fm9f9_196","trigger-label-floating":"_trigger-label-floating_fm9f9_203","trigger-label-hidden":"_trigger-label-hidden_fm9f9_213","trigger-content":"_trigger-content_fm9f9_182","trigger-prefix-icon":"_trigger-prefix-icon_fm9f9_225","trigger-chevron-icon":"_trigger-chevron-icon_fm9f9_230","trigger-clear-icon":"_trigger-clear-icon_fm9f9_246","trigger-postfix":"_trigger-postfix_fm9f9_262"},S1=({className:t="",style:r,size:n="md",color:s="currentColor",...i})=>{const l={display:"inline-block",color:s,...{xxxs:{width:"8px",height:"8px"},xxs:{width:"12px",height:"12px"},xs:{width:"16px",height:"16px"},sm:{width:"24px",height:"24px"},md:{width:"32px",height:"32px"},lg:{width:"40px",height:"40px"}}[n],...r};return e.jsx("svg",{className:t,style:l,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...i,children:e.jsx("path",{d:"M18 9L12 15L6 9",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})},j1=(t,r)=>t==="XL"&&r?Ft.FLOATING:t!=="XL"&&r?Ft.HIDDEN:Ft.NORMAL,L1=(t,r)=>r?3:t==="XL"||t==="L"?2:3,er=t=>t==="XL"||t==="L"?2:3,rr=t=>t==="XL"||t==="L"?"sm":"xs",T1=t=>t.length>30?t.slice(0,30)+"…":t,$1=({content:t,size:r="XL",description:n,label:s,stretched:i=!1,selectionStyle:a="selected",clearable:l=!1,error:d,prefixIcon:h,postfixTitle:b,disabled:c=!1,open:y,onClear:v,classNames:u={},styles:p={}})=>{const m=!!t,_=!!s,x=!!d,f=a==="applied",C=!!n&&(!x||c)||x&&!c,j=(x&&!c?d:n)||"",E=x&&!c,k=j1(r,m),T=_&&k===Ft.FLOATING,R=k===Ft.HIDDEN,I=S.clsx(et["trigger-wrapper"],{[et["trigger-stretched"]]:i},u.wrapper),B=S.clsx(et["trigger-container"],et[`trigger-container-size-${r}`],{[et["trigger-stretched"]]:i,[et["trigger-container-applied"]]:f&&m,[et["trigger-container-error"]]:x&&!c,[et["trigger-container-open"]]:y,[et["trigger-container-floating"]]:T},u.triggerContainer),O=S.clsx(et["trigger-content-container"],{[et["trigger-content-container-floating"]]:T},u.triggerContent),D=S.clsx(et["trigger-label"],{[et["trigger-label-floating"]]:T,[et["trigger-label-hidden"]]:R},u.label),$=S.clsx(et["trigger-content"],u.content),N=S.clsx(et["trigger-postfix"],u.postfixTitle),F=S.clsx(et["trigger-chevron-icon"],u.chevronIcon),H=S.clsx(et["trigger-prefix-icon"],u.prefixIconContainer),X=S.clsx(et["trigger-clear-icon"],u.clearIcon),Y=rt=>{rt==null||rt.stopPropagation(),v==null||v()},Z=m&&y&&(a==="selected"&&l||a==="applied")||m&&!y&&(f||a==="selected"&&l);return e.jsxs("div",{className:I,style:p.wrapper,children:[e.jsxs("button",{"data-testid":"trigger","aria-invalid":x,"aria-haspopup":"listbox","aria-expanded":y,role:"combobox",className:B,style:p.triggerContainer,disabled:c,type:"button",children:[h&&r!=="XL"&&e.jsx("div",{className:H,style:p.prefixIconContainer,children:h}),e.jsxs("div",{className:O,style:p.triggerContent,children:[_&&e.jsx(Et.Label,{"data-testid":"trigger-label",className:D,style:p.label,size:L1(r,T),as:"span",disabled:c,typographyStyle:T?"secondary":"tertiary",children:s}),m&&e.jsx(Et.Label,{"data-testid":"trigger-content-container",className:$,style:p.content,size:er(r),as:"span",disabled:c,children:i?t:T1(t)}),m&&!!b&&e.jsx(Et.Label,{"data-testid":"trigger-postfix",className:N,style:p.postfixTitle,size:er(r),disabled:c,typographyStyle:"secondary",children:b})]}),Z?e.jsx(we,{className:X,"data-testid":"trigger-clear",size:rr(r),tabIndex:-1,onClick:Y,style:{outline:"none",...p.clearIcon},color:a==="selected"&&l?"var(--base-graphite-75)":void 0}):e.jsx(S1,{"data-testid":"trigger-chevron",size:rr(r),className:F,color:"#AABBCA",style:p.chevronIcon})]}),C&&e.jsx(hr,{title:j,error:E?d:void 0,className:E?u.error:u.description,style:E?p.error:p.description,disabled:c,"data-testid":E?"trigger-error":"trigger-description"})]})},yr=g.createContext(void 0),E1=()=>{const t=g.useContext(yr);if(!t)throw new Error("useSnackbar must be used inside SnackbarProvider");return t},R1={timeout:"exitingTimeout",close:"exitingClose",escape:"exitingEscape",swipe:"swipeTransition"},vr={timeout:500,close:100,escape:100,swipe:300},I1={timeout:400,close:400,escape:400,swipe:300},me=3,N1=(t,r)=>{switch(r.type){case"ENQUEUE":return{...t,queue:[...t.queue,r.snack]};case"SHOW_NEXT":{if(t.visible.length>=me||t.queue.length===0)return t;const n=me-t.visible.length,s=t.queue.slice(0,n),i=t.queue.slice(n);return{visible:[...t.visible,...s],queue:i}}case"START_EXIT":return{...t,visible:t.visible.map(n=>n.id===r.id?{...n,exiting:!0}:n)};case"REMOVE":return{...t,visible:t.visible.filter(n=>n.id!==r.id)};default:return t}},M1=({ref:t,open:r,onClose:n,setExiting:s,setExitReason:i,swiping:a,startX:l,startY:d,currentX:h,currentY:b})=>{g.useEffect(()=>{const c=t.current;if(!c||!r)return;const y=p=>{p.target instanceof Element&&p.target.closest("button")||(a.current=!0,l.current=p.touches[0].clientX,d.current=p.touches[0].clientY,h.current=l.current,b.current=d.current,c.style.animation="none",c.style.transition="none")},v=p=>{if(!a.current)return;h.current=p.touches[0].clientX,b.current=p.touches[0].clientY;const m=h.current-l.current,_=b.current-d.current,x=Math.abs(m),f=Math.abs(_),C=x>f?m:0,j=f>=x?_:0,E=Math.sqrt(m**2+_**2),k=Math.max(1-E/300,0);c.style.transform=`translate(${C}px, ${j}px)`,c.style.opacity=`${k}`},u=()=>{if(!a.current)return;a.current=!1;const p=h.current-l.current,m=b.current-d.current,_=Math.abs(p),x=Math.abs(m),f=c.offsetWidth,C=c.offsetHeight;let j=!1;if(_>2/3*f&&(j=!0),j||(m<0&&x>C/2&&(j=!0),m>0&&x>C&&(j=!0)),j){i("swipe"),s(!0),c.style.transition="";const E=p>0?f:-f,k=m>0?C:-C;c.style.transform=`translate(${E}px, ${k}px)`,c.style.opacity="0",setTimeout(()=>n("swipe"),vr.swipe)}else s(!1),i(void 0),c.style.transition="",c.style.transform="translate(0px, 0px)",c.style.opacity="1"};return c.addEventListener("touchstart",y),c.addEventListener("touchmove",v),c.addEventListener("touchend",u),()=>{c.removeEventListener("touchstart",y),c.removeEventListener("touchmove",v),c.removeEventListener("touchend",u)}},[t,r,n,s,i])};let B1=(t=21)=>crypto.getRandomValues(new Uint8Array(t)).reduce((r,n)=>(n&=63,n<36?r+=n.toString(36):n<62?r+=(n-26).toString(36).toUpperCase():n>62?r+="-":r+="_",r),"");const A1="_stack_1sg4d_1",O1="_local_1sg4d_19",P1="_snackWrapper_1sg4d_27",ee={stack:A1,local:O1,snackWrapper:P1},z1="_snackbar_1gs18_14",D1="_slideIn_1gs18_1",F1="_snackbarStack_1gs18_41",W1="_snackbarVertical_1gs18_46",q1="_fix_1gs18_54",H1="_fill_1gs18_60",V1="_hug_1gs18_66",X1="_content_1gs18_72",Z1="_contentVertical_1gs18_80",U1="_contentText_1gs18_84",Y1="_icon_1gs18_88",G1="_exiting_1gs18_94",K1="_slideOut_1gs18_1",J1="_exitingTimeout_1gs18_100",Q1="_exitingClose_1gs18_105",t2="_exitingStack_1gs18_112",e2="_swipeTransition_1gs18_119",r2="_exitingEscape_1gs18_125",dt={snackbar:z1,slideIn:D1,snackbarStack:F1,snackbarVertical:W1,fix:q1,fill:H1,hug:V1,content:X1,contentVertical:Z1,contentText:U1,icon:Y1,exiting:G1,slideOut:K1,exitingTimeout:J1,exitingClose:Q1,exitingStack:t2,swipeTransition:e2,exitingEscape:r2},n2=()=>e.jsxs("svg",{viewBox:"0 0 21 21",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[e.jsxs("g",{clipPath:"url(#clip0_3152_20713)",children:[e.jsx("mask",{id:"mask0_3152_20713",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",children:e.jsx("path",{d:"M15.5 5.5L5.5 15.5M5.5 5.5L15.5 15.5",stroke:"black",strokeWidth:"1.7",strokeLinecap:"round",strokeLinejoin:"round"})}),e.jsx("g",{mask:"url(#mask0_3152_20713)",children:e.jsx("rect",{x:"0.5",y:"0.5",width:"20",height:"20",fill:"currentColor",fillOpacity:"0.48"})})]}),e.jsx("defs",{children:e.jsx("clipPath",{id:"clip0_3152_20713",children:e.jsx("rect",{width:"20",height:"20",fill:"currentColor",transform:"translate(0.5 0.5)"})})})]}),o2=({className:t})=>e.jsxs("svg",{width:"25",height:"25",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:t,"data-testid":"snackbar-icon-error",children:[e.jsx("mask",{id:"mask0_3156_27258",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"25",height:"25",children:e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.5 1.5C6.42487 1.5 1.5 6.42487 1.5 12.5C1.5 18.5751 6.42487 23.5 12.5 23.5C18.5751 23.5 23.5 18.5751 23.5 12.5C23.5 6.42487 18.5751 1.5 12.5 1.5ZM8.5 11.5C7.94772 11.5 7.5 11.9477 7.5 12.5C7.5 13.0523 7.94772 13.5 8.5 13.5H16.5C17.0523 13.5 17.5 13.0523 17.5 12.5C17.5 11.9477 17.0523 11.5 16.5 11.5H8.5Z",fill:"black"})}),e.jsx("g",{mask:"url(#mask0_3156_27258)",children:e.jsx("rect",{x:"0.5",y:"0.5",width:"24",height:"24",fill:"#FE725F"})})]}),s2=({className:t})=>e.jsxs("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:t,"data-testid":"snackbar-icon-info",children:[e.jsxs("g",{"clip-path":"url(#clip0_3031_21000)",children:[e.jsx("mask",{id:"mask0_3031_21000",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"24",height:"24",children:e.jsx("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M4.80877 14.5947L5.43693 15.1334L5.23343 15.9889C4.28722 19.9668 3.81411 21.9558 4.8928 22.7395C5.97149 23.5232 7.7169 22.4586 11.2077 20.3295L11.9743 19.8619L12.7408 20.3295C16.2316 22.4586 17.977 23.5232 19.0557 22.7395C20.1344 21.9558 19.6613 19.9668 18.7151 15.9889L18.5203 15.1699L19.1908 14.5947C22.2944 11.9327 23.8463 10.6017 23.4342 9.33364C23.0222 8.06557 20.9844 7.9009 16.9088 7.57156L16.0423 7.50154L15.6923 6.66154C14.1197 2.88718 13.3333 1 12 1C10.6667 1 9.88034 2.88717 8.3077 6.66152L7.95775 7.50141L7.09075 7.57147C3.01514 7.90081 0.977339 8.06547 0.565317 9.33355C0.153294 10.6016 1.70512 11.9326 4.80877 14.5947Z",fill:"black"})}),e.jsx("g",{mask:"url(#mask0_3031_21000)",children:e.jsx("rect",{width:"24",height:"24",fill:"white"})})]}),e.jsx("defs",{children:e.jsx("clipPath",{id:"clip0_3031_21000",children:e.jsx("rect",{width:"24",height:"24",fill:"white"})})})]}),a2=({className:t})=>e.jsx("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:t,"data-testid":"snackbar-icon-success",children:e.jsx("g",{transform:"translate(-2.8, -2.8) scale(1.24)",children:e.jsxs("g",{clipPath:"url(#clip0_343_52329)",children:[e.jsx("mask",{id:"mask0_343_52329",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"24",height:"24",children:e.jsx("g",{clipPath:"url(#clip1_343_52329)",children:e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.83334 12C2.83334 6.93737 6.9374 2.83331 12 2.83331C17.0626 2.83331 21.1667 6.93737 21.1667 12C21.1667 17.0626 17.0626 21.1666 12 21.1666C6.9374 21.1666 2.83334 17.0626 2.83334 12ZM16.3393 8.91072C16.6647 9.23616 16.6647 9.7638 16.3393 10.0892L11.3393 15.0892C11.0138 15.4147 10.4862 15.4147 10.1608 15.0892L7.66075 12.5892C7.33532 12.2638 7.33532 11.7362 7.66075 11.4107C7.98619 11.0853 8.51383 11.0853 8.83927 11.4107L10.75 13.3215L15.1608 8.91072C15.4862 8.58529 16.0138 8.58529 16.3393 8.91072Z",fill:"black"})})}),e.jsx("g",{mask:"url(#mask0_343_52329)",children:e.jsx("rect",{x:"0",y:"0",width:"24",height:"24",fill:"#5BCF83"})})]})})}),i2=g.forwardRef((t,r)=>{const{open:n,variant:s="info",mode:i="fix",onClose:a,autoHideDuration:l=6e3,disableAutoHide:d=!1,showButtonClose:h=!0,showIcon:b=!0,content:c,classNameSnackbarRoot:y,icon:v,isStack:u=!1,forceClose:p,"data-testid":m="snackbar"}=t,_=g.useRef(null),x=g.useRef(null),[f,C]=g.useState(!1),[j,E]=g.useState(!1),[k,T]=g.useState(),R=g.useRef(0),I=g.useRef(0),B=g.useRef(0),O=g.useRef(0),D=g.useRef(!1),$=g.useRef(null),N=W=>{clearTimeout($.current||0),$.current=null;const K=u?I1[W]:vr[W];W==="swipe"||(E(!0),T(W)),$.current=setTimeout(()=>{a==null||a(),E(!1),T(void 0),$.current=null},K)};M1({ref:x,open:n,onClose:N,setExiting:E,setExitReason:T,swiping:D,startX:R,startY:I,currentX:B,currentY:O}),g.useEffect(()=>{p&&N("close")},[p]),g.useEffect(()=>{if(n&&!d&&s!=="loading"){const W=setTimeout(()=>N("timeout"),l);return()=>clearTimeout(W)}},[n,d,s,l]),g.useEffect(()=>{n&&(E(!1),T(void 0))},[n]),g.useEffect(()=>{const W=_.current;W&&requestAnimationFrame(()=>{const K=parseFloat(getComputedStyle(W).lineHeight),Z=W.offsetHeight,rt=Math.round(Z/K);C(rt>1)})},[c]),g.useEffect(()=>{if(!n)return;const W=K=>{K.key==="Escape"&&N("escape")};return window.addEventListener("keydown",W),()=>window.removeEventListener("keydown",W)},[n]),g.useEffect(()=>()=>{$.current&&(clearTimeout($.current),$.current=null)},[]);const F=j&&k&&dt[R1[k]];if(!n&&!j)return null;const H={success:e.jsx(a2,{className:dt.icon}),error:e.jsx(o2,{className:dt.icon}),info:e.jsx(s2,{className:dt.icon}),loading:e.jsx(ae,{"data-testid":"snackbar-icon-loading",variant:"contrast"})},X=vt(dt.snackbar,dt[i],{[dt.exiting]:j&&k},{[dt.snackbarVertical]:f},y,F,{[dt.snackbarStack]:u&&!j,[dt.exitingStack]:u&&j}),Y=W=>{x.current=W,r&&(typeof r=="function"?r(W):r.current=W)};return e.jsxs("div",{ref:Y,"data-testid":m,className:X,children:[e.jsxs("div",{className:vt(dt.content,{[dt.contentVertical]:f}),children:[b&&e.jsx("div",{className:dt.icon,children:v||H[s]}),e.jsx(Et.Label,{className:dt.contentText,ref:_,typographyStyle:"contrast",children:c})]}),h&&e.jsx(Zt,{iconLeft:e.jsx(n2,{}),onClick:()=>N("close"),mode:"tertiary",buttonStyle:"contrast",style:{padding:"0px"}})]})}),l2=t=>{const{children:r,dataTestId:n="snackbar-wrapper"}=t,[s,i]=g.useReducer(N1,{visible:[],queue:[]}),a=u=>{const p=B1(),m={...u,id:p,open:!0};i({type:"ENQUEUE",snack:m})},l=u=>{i({type:"REMOVE",id:u})};g.useEffect(()=>{i({type:"SHOW_NEXT"})},[s.queue,s.visible]),g.useEffect(()=>{if(s.queue.length!==0)if(s.visible.length>=me){const u=s.visible[0];i({type:"START_EXIT",id:u.id})}else i({type:"SHOW_NEXT"})},[s.queue]);const d=u=>u.map((p,m)=>{const _=(u.length-1-m)*-8,x=u.length>1;x&&!p.wasInStack&&(p.wasInStack=!0);const f=p.wasInStack||x?"fix":p.mode;return e.jsx("div",{"data-testid":n,className:ee.snackWrapper,style:{transform:`translateY(${_}px)`},children:e.jsx(i2,{...p,open:!p.exiting,isStack:x,mode:f,forceClose:p.exiting,onClose:()=>l(p.id)})},p.id)}),h=s.visible.filter(u=>!u.parent),b=s.visible.filter(u=>u.parent),c=Ae.createPortal(e.jsx("div",{className:ee.stack,children:d(h)}),document.body),y=b.reduce((u,p)=>{if(!p.parent)return u;const m=p.parent.id||`parent-${p.parent.className}`;return(u[m]||(u[m]=[])).push(p),u},{}),v=Object.entries(y).map(([u,p])=>{const m=p[0];return m.parent?Ae.createPortal(e.jsx("div",{className:vt(ee.stack,ee.local),children:d(p)},u),m.parent):null});return e.jsxs(yr.Provider,{value:{show:a},children:[r,c,v]})};exports.Alert=Ts;exports.Avatar=ir;exports.Badge=dr;exports.Button=Zt;exports.Checkbox=Ya;exports.ConfigProvider=xa;exports.Helper=hr;exports.Image=Ds;exports.List=Pl;exports.Loader=ae;exports.Modal=ps;exports.Placeholder=cr;exports.Radio=$l;exports.SegmentedControl=k1;exports.SnackbarProvider=l2;exports.Tabs=yc;exports.Tag=Ba;exports.TextArea=al;exports.TextInput=Ki;exports.Tooltip=Hc;exports.Trigger=$1;exports.Typography=Et;exports.enUS=ur;exports.ruRU=ba;exports.useConfig=pr;exports.useLocale=Fs;exports.useSnackbar=E1;
|