@matbea-ui/matbea-ui 0.1.0

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.
@@ -0,0 +1,933 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("react"),n=require("styled-components");var de={exports:{}},ie={};var we;function Ze(){if(we)return ie;we=1;var e=Symbol.for("react.transitional.element"),r=Symbol.for("react.fragment");function o(a,l,d){var p=null;if(d!==void 0&&(p=""+d),l.key!==void 0&&(p=""+l.key),"key"in l){d={};for(var x in l)x!=="key"&&(d[x]=l[x])}else d=l;return l=d.ref,{$$typeof:e,type:a,key:p,ref:l!==void 0?l:null,props:d}}return ie.Fragment=r,ie.jsx=o,ie.jsxs=o,ie}var ae={};var ve;function Ue(){return ve||(ve=1,process.env.NODE_ENV!=="production"&&(function(){function e(i){if(i==null)return null;if(typeof i=="function")return i.$$typeof===E?null:i.displayName||i.name||null;if(typeof i=="string")return i;switch(i){case L:return"Fragment";case W:return"Profiler";case j:return"StrictMode";case K:return"Suspense";case P:return"SuspenseList";case Y:return"Activity"}if(typeof i=="object")switch(typeof i.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),i.$$typeof){case R:return"Portal";case z:return i.displayName||"Context";case M:return(i._context.displayName||"Context")+".Consumer";case I:var h=i.render;return i=i.displayName,i||(i=h.displayName||h.name||"",i=i!==""?"ForwardRef("+i+")":"ForwardRef"),i;case B:return h=i.displayName||null,h!==null?h:e(i.type)||"Memo";case D:h=i._payload,i=i._init;try{return e(i(h))}catch{}}return null}function r(i){return""+i}function o(i){try{r(i);var h=!1}catch{h=!0}if(h){h=console;var u=h.error,s=typeof Symbol=="function"&&Symbol.toStringTag&&i[Symbol.toStringTag]||i.constructor.name||"Object";return u.call(h,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",s),r(i)}}function a(i){if(i===L)return"<>";if(typeof i=="object"&&i!==null&&i.$$typeof===D)return"<...>";try{var h=e(i);return h?"<"+h+">":"<...>"}catch{return"<...>"}}function l(){var i=V.A;return i===null?null:i.getOwner()}function d(){return Error("react-stack-top-frame")}function p(i){if(G.call(i,"key")){var h=Object.getOwnPropertyDescriptor(i,"key").get;if(h&&h.isReactWarning)return!1}return i.key!==void 0}function x(i,h){function u(){Z||(Z=!0,console.error("%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://react.dev/link/special-props)",h))}u.isReactWarning=!0,Object.defineProperty(i,"key",{get:u,configurable:!0})}function w(){var i=e(this.type);return O[i]||(O[i]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),i=this.props.ref,i!==void 0?i:null}function y(i,h,u,s,g,S){var m=u.ref;return i={$$typeof:$,type:i,key:h,props:u,_owner:s},(m!==void 0?m:null)!==null?Object.defineProperty(i,"ref",{enumerable:!1,get:w}):Object.defineProperty(i,"ref",{enumerable:!1,value:null}),i._store={},Object.defineProperty(i._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(i,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(i,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:g}),Object.defineProperty(i,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:S}),Object.freeze&&(Object.freeze(i.props),Object.freeze(i)),i}function k(i,h,u,s,g,S){var m=h.children;if(m!==void 0)if(s)if(te(m)){for(s=0;s<m.length;s++)b(m[s]);Object.freeze&&Object.freeze(m)}else console.error("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 b(m);if(G.call(h,"key")){m=e(i);var A=Object.keys(h).filter(function(J){return J!=="key"});s=0<A.length?"{key: someKey, "+A.join(": ..., ")+": ...}":"{key: someKey}",q[m+s]||(A=0<A.length?"{"+A.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
2
+ let props = %s;
3
+ <%s {...props} />
4
+ React keys must be passed directly to JSX without using spread:
5
+ let props = %s;
6
+ <%s key={someKey} {...props} />`,s,m,A,m),q[m+s]=!0)}if(m=null,u!==void 0&&(o(u),m=""+u),p(h)&&(o(h.key),m=""+h.key),"key"in h){u={};for(var re in h)re!=="key"&&(u[re]=h[re])}else u=h;return m&&x(u,typeof i=="function"?i.displayName||i.name||"Unknown":i),y(i,m,u,l(),g,S)}function b(i){C(i)?i._store&&(i._store.validated=1):typeof i=="object"&&i!==null&&i.$$typeof===D&&(i._payload.status==="fulfilled"?C(i._payload.value)&&i._payload.value._store&&(i._payload.value._store.validated=1):i._store&&(i._store.validated=1))}function C(i){return typeof i=="object"&&i!==null&&i.$$typeof===$}var T=c,$=Symbol.for("react.transitional.element"),R=Symbol.for("react.portal"),L=Symbol.for("react.fragment"),j=Symbol.for("react.strict_mode"),W=Symbol.for("react.profiler"),M=Symbol.for("react.consumer"),z=Symbol.for("react.context"),I=Symbol.for("react.forward_ref"),K=Symbol.for("react.suspense"),P=Symbol.for("react.suspense_list"),B=Symbol.for("react.memo"),D=Symbol.for("react.lazy"),Y=Symbol.for("react.activity"),E=Symbol.for("react.client.reference"),V=T.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,G=Object.prototype.hasOwnProperty,te=Array.isArray,X=console.createTask?console.createTask:function(){return null};T={react_stack_bottom_frame:function(i){return i()}};var Z,O={},F=T.react_stack_bottom_frame.bind(T,d)(),Q=X(a(d)),q={};ae.Fragment=L,ae.jsx=function(i,h,u){var s=1e4>V.recentlyCreatedOwnerStacks++;return k(i,h,u,!1,s?Error("react-stack-top-frame"):F,s?X(a(i)):Q)},ae.jsxs=function(i,h,u){var s=1e4>V.recentlyCreatedOwnerStacks++;return k(i,h,u,!0,s?Error("react-stack-top-frame"):F,s?X(a(i)):Q)}})()),ae}var $e;function Xe(){return $e||($e=1,process.env.NODE_ENV==="production"?de.exports=Ze():de.exports=Ue()),de.exports}var t=Xe();const ee={default:{padding:"15px 22px",minHeight:"48px",fontSize:"15px",lineHeight:"18px",gap:"10px",iconGap:"6px"},medium:{padding:"12px 16px",minHeight:"42px",fontSize:"15px",lineHeight:"18px",gap:"10px",iconGap:"6px"},small:{padding:"10px",minHeight:"36px",fontSize:"14px",lineHeight:"17px",gap:"4px",iconGap:"4px"}},qe=e=>({theme:r})=>{const o=r.colors,l={primary:{default:{bg:o.primary.primaryBlue,color:o.primary.white,border:o.primary.primaryBlue},hover:{bg:o.primary.hoverBlue,color:o.primary.white,border:o.primary.hoverBlue},active:{bg:o.primary.activeBlue,color:o.primary.white,border:o.primary.activeBlue},disabled:{bg:o.gray.lightGray2,color:o.gray.darkGray,border:o.gray.lightGray2}},secondary:{default:{bg:"transparent",color:o.primary.primaryBlue,border:o.primary.primaryBlue},hover:{bg:o.primary.primaryBlue,color:o.primary.white,border:o.primary.primaryBlue},active:{bg:o.primary.activeBlue,color:o.primary.white,border:o.primary.activeBlue},disabled:{bg:"transparent",color:o.gray.darkGray,border:o.gray.lightGray2}},tertiary:{default:{bg:"transparent",color:o.primary.primaryBlue,border:"transparent"},hover:{bg:o.gray.lightBlueGray,color:o.primary.primaryBlue,border:"transparent"},active:{bg:o.gray.lightBlueGray2,color:o.primary.primaryBlue,border:"transparent"},disabled:{bg:"transparent",color:o.gray.darkGray,border:"transparent"}}}[e];return n.css`
7
+ background-color: ${l.default.bg};
8
+ color: ${l.default.color};
9
+ border-color: ${l.default.border};
10
+
11
+ &:hover:not(:disabled) {
12
+ background-color: ${l.hover.bg};
13
+ color: ${l.hover.color};
14
+ border-color: ${l.hover.border};
15
+ }
16
+
17
+ &:active:not(:disabled) {
18
+ background-color: ${l.active.bg};
19
+ color: ${l.active.color};
20
+ border-color: ${l.active.border};
21
+ }
22
+
23
+ &:disabled {
24
+ background-color: ${l.disabled.bg};
25
+ color: ${l.disabled.color};
26
+ border-color: ${l.disabled.border};
27
+ }
28
+ `},Je=n.button`
29
+ display: inline-flex;
30
+ align-items: center;
31
+ justify-content: center;
32
+ border: 1px solid transparent;
33
+ border-radius: ${({$form:e})=>e==="brick-right"?"0 5px 5px 0":"5px"};
34
+ cursor: pointer;
35
+ transition: background-color 0.15s ease, border-color 0.15s ease,
36
+ color 0.15s ease, opacity 0.15s ease;
37
+ font-weight: 600;
38
+
39
+ ${({$size:e})=>n.css`
40
+ padding: ${ee[e].padding};
41
+ min-height: ${ee[e].minHeight};
42
+ font-size: ${ee[e].fontSize};
43
+ line-height: ${ee[e].lineHeight};
44
+ `}
45
+
46
+ ${({$hasIcon:e,$iconOnly:r,$size:o})=>n.css`
47
+ gap: ${r?"0":e?ee[o].iconGap:ee[o].gap};
48
+ `}
49
+
50
+ ${({$fullWidth:e})=>e&&n.css`
51
+ width: 100%;
52
+ `}
53
+
54
+ ${({$variant:e})=>qe(e)}
55
+
56
+ &:disabled {
57
+ cursor: not-allowed;
58
+ }
59
+ `,me=n.span`
60
+ display: inline-flex;
61
+ align-items: center;
62
+ justify-content: center;
63
+ line-height: 0;
64
+ ${({$iconOnly:e})=>e&&n.css`
65
+ width: 18px;
66
+ height: 18px;
67
+ `}
68
+ `,Be=({variant:e="primary",size:r="default",form:o="default",fullWidth:a=!1,icon:l,iconPosition:d="left",children:p,disabled:x,...w})=>{const y=!!p,k=!!l&&(!y||d==="only"),b=!!l&&!k&&d==="left",C=!!l&&!k&&d==="right";return t.jsxs(Je,{type:"button",$variant:e,$size:r,$form:o,$fullWidth:a,$hasIcon:!!l&&y,$iconOnly:k,disabled:x,...w,children:[b&&t.jsx(me,{$iconOnly:!1,children:l}),(!k||!l)&&p,k&&l&&t.jsx(me,{$iconOnly:!0,children:l}),C&&t.jsx(me,{$iconOnly:!1,children:l})]})},he=n.styled.div`
69
+ position: relative;
70
+ display: inline-flex;
71
+ align-items: center;
72
+ cursor: pointer;
73
+ `,Ke=n.styled.button`
74
+ border: none;
75
+ background: transparent;
76
+ padding: 4px 8px;
77
+ font: inherit;
78
+ color: inherit;
79
+ cursor: pointer;
80
+ `,Qe=n.styled.span`
81
+ position: absolute;
82
+ bottom: 100%;
83
+ left: 50%;
84
+ transform: translate(-50%, -6px);
85
+ white-space: nowrap;
86
+ background: rgba(0, 0, 0, 0.85);
87
+ color: #fff;
88
+ font-size: 12px;
89
+ padding: 4px 8px;
90
+ border-radius: 4px;
91
+ opacity: 0;
92
+ pointer-events: none;
93
+ transition: opacity 0.15s ease, transform 0.15s ease;
94
+
95
+ ${he}:hover &,
96
+ ${he}:focus-within &,
97
+ ${he}:active & {
98
+ opacity: 1;
99
+ transform: translate(-50%, -10px);
100
+ }
101
+ `,et=({label:e,children:r,copiedText:o="Скопировано!",copyDuration:a=1500})=>{const[l,d]=c.useState(!1),p=async()=>{try{await navigator.clipboard.writeText(e),d(!0),setTimeout(()=>d(!1),a)}catch(x){console.error("Copy failed",x)}};return t.jsxs(he,{onClick:p,children:[r??t.jsx(Ke,{type:"button",children:e}),t.jsx(Qe,{children:l?o:e})]})},f={regular:400,semibold:600,bold:700},tt={h1:{mobile:{fontSize:"26px",lineHeight:"32px",fontWeight:f.semibold},tablet:{fontSize:"34px",lineHeight:"42px",fontWeight:f.semibold},desktop:{fontSize:"44px",lineHeight:"54px",fontWeight:f.semibold,textTransform:"uppercase"}},h2:{mobile:{fontSize:"22px",lineHeight:"28px",fontWeight:f.semibold},tablet:{fontSize:"30px",lineHeight:"37px",fontWeight:f.semibold},desktop:{fontSize:"32px",lineHeight:"40px",fontWeight:f.semibold}},h3:{mobile:{fontSize:"20px",lineHeight:"24px",fontWeight:f.semibold},tablet:{fontSize:"28px",lineHeight:"34px",fontWeight:f.semibold},desktop:{fontSize:"30px",lineHeight:"38px",fontWeight:f.semibold}},h4:{mobile:{fontSize:"18px",lineHeight:"22px",fontWeight:f.semibold},tablet:{fontSize:"24px",lineHeight:"30px",fontWeight:f.semibold},desktop:{fontSize:"24px",lineHeight:"30px",fontWeight:f.semibold}},h5:{mobile:{fontSize:"16px",lineHeight:"20px",fontWeight:f.semibold},tablet:{fontSize:"20px",lineHeight:"24px",fontWeight:f.semibold},desktop:{fontSize:"20px",lineHeight:"24px",fontWeight:f.semibold}},"body-xl-semibold":{mobile:{fontSize:"18px",lineHeight:"22px",fontWeight:f.semibold},tablet:{fontSize:"22px",lineHeight:"28px",fontWeight:f.semibold},desktop:{fontSize:"24px",lineHeight:"30px",fontWeight:f.semibold}},"body-xl":{mobile:{fontSize:"18px",lineHeight:"22px",fontWeight:f.regular},tablet:{fontSize:"22px",lineHeight:"28px",fontWeight:f.regular},desktop:{fontSize:"24px",lineHeight:"30px",fontWeight:f.regular}},"body-l-semibold":{mobile:{fontSize:"16px",lineHeight:"19px",fontWeight:f.semibold},tablet:{fontSize:"18px",lineHeight:"22px",fontWeight:f.semibold},desktop:{fontSize:"18px",lineHeight:"22px",fontWeight:f.semibold}},"body-l":{mobile:{fontSize:"16px",lineHeight:"19px",fontWeight:f.regular},tablet:{fontSize:"18px",lineHeight:"22px",fontWeight:f.regular},desktop:{fontSize:"18px",lineHeight:"22px",fontWeight:f.regular}},"body-m-bold":{mobile:{fontSize:"14px",lineHeight:"17px",fontWeight:f.bold},tablet:{fontSize:"16px",lineHeight:"20px",fontWeight:f.bold},desktop:{fontSize:"16px",lineHeight:"20px",fontWeight:f.bold}},"body-m-semibold":{mobile:{fontSize:"14px",lineHeight:"17px",fontWeight:f.semibold},tablet:{fontSize:"16px",lineHeight:"20px",fontWeight:f.semibold},desktop:{fontSize:"16px",lineHeight:"20px",fontWeight:f.semibold}},"body-m":{mobile:{fontSize:"14px",lineHeight:"17px",fontWeight:f.regular},tablet:{fontSize:"16px",lineHeight:"20px",fontWeight:f.regular},desktop:{fontSize:"16px",lineHeight:"20px",fontWeight:f.regular}},"body-s-semibold":{mobile:{fontSize:"12px",lineHeight:"15px",fontWeight:f.semibold},tablet:{fontSize:"14px",lineHeight:"17px",fontWeight:f.semibold},desktop:{fontSize:"14px",lineHeight:"17px",fontWeight:f.semibold}},"body-s":{mobile:{fontSize:"12px",lineHeight:"15px",fontWeight:f.regular},tablet:{fontSize:"14px",lineHeight:"17px",fontWeight:f.regular},desktop:{fontSize:"14px",lineHeight:"17px",fontWeight:f.regular}},button:{desktop:{fontSize:"15px",lineHeight:"18px",fontWeight:f.semibold}},"form-input":{desktop:{fontSize:"15px",lineHeight:"18px",fontWeight:f.regular}},"avatar-basic":{desktop:{fontSize:"16px",lineHeight:"18px",fontWeight:f.semibold}},"avatar-m":{desktop:{fontSize:"14px",lineHeight:"16px",fontWeight:f.semibold}},"avatar-s":{desktop:{fontSize:"12px",lineHeight:"14px",fontWeight:f.semibold}}},rt=e=>{const{mobile:r,tablet:o,desktop:a}=tt[e];return n.css`
102
+ ${({theme:l})=>n.css`
103
+ ${n.css`
104
+ font-size: ${a.fontSize};
105
+ font-weight: ${a.fontWeight};
106
+ line-height: ${a.lineHeight};
107
+ `}
108
+
109
+ ${o&&n.css`
110
+ ${l.media.maxWidth.tablet} {
111
+ font-size: ${o.fontSize};
112
+ font-weight: ${o.fontWeight};
113
+ line-height: ${o.lineHeight};
114
+ }
115
+ `}
116
+
117
+ ${r&&n.css`
118
+ ${l.media.maxWidth.mobile} {
119
+ font-size: ${r.fontSize};
120
+ font-weight: ${r.fontWeight};
121
+ line-height: ${r.lineHeight};
122
+ }
123
+ `}
124
+ `}
125
+ `},ot=n.styled.span`
126
+ margin: 0;
127
+ color: ${({$color:e})=>e??"inherit"};
128
+ ${({$variant:e})=>rt(e)};
129
+ text-align: ${({$align:e})=>e??"inherit"};
130
+ ${({$inline:e})=>e?n.css`
131
+ display: inline;
132
+ `:n.css`
133
+ display: block;
134
+ `};
135
+ ${({$uppercase:e})=>e&&n.css`
136
+ text-transform: uppercase;
137
+ letter-spacing: 0.04em;
138
+ `}
139
+ ${({$truncate:e})=>e&&n.css`
140
+ overflow: hidden;
141
+ text-overflow: ellipsis;
142
+ white-space: nowrap;
143
+ `}
144
+ `,v=({as:e="span",forwardedAs:r,variant:o="body-m-semibold",color:a,align:l,uppercase:d=!1,truncate:p=!1,inline:x=!1,children:w,...y})=>t.jsx(ot,{as:e,forwardedAs:r,$variant:o,$color:a,$align:l,$uppercase:d,$truncate:p,$inline:x,...y,children:w}),N=({size:e=24,children:r,...o})=>t.jsx("svg",{width:e,height:e,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...o,children:r}),nt=e=>t.jsxs(N,{...e,children:[t.jsx("circle",{cx:"12",cy:"12",r:"9",stroke:"#5E6F8D","stroke-width":"2"}),t.jsx("path",{d:"M7 12L10.3333 15L17 9",stroke:"#5E6F8D","stroke-width":"2"})]}),it=e=>t.jsxs(N,{...e,children:[t.jsxs("g",{"clip-path":"url(#clip0_487_8651)",children:[t.jsx("path",{d:"M4.99543 4.85076C5.38596 4.46024 6.01912 4.46024 6.40965 4.85076L19.265 17.7061C19.6555 18.0966 19.6555 18.7298 19.265 19.1203L19.0937 19.2916C18.7032 19.6821 18.07 19.6821 17.6795 19.2916L4.82414 6.43627C4.43362 6.04574 4.43362 5.41258 4.82414 5.02206L4.99543 4.85076Z",fill:"#9296A5"}),t.jsx("path",{d:"M4.85129 19.1203C4.46077 18.7298 4.46077 18.0966 4.85129 17.7061L17.7066 4.85075C18.0971 4.46023 18.7303 4.46023 19.1208 4.85075L19.2921 5.02205C19.6827 5.41257 19.6827 6.04574 19.2921 6.43626L6.4368 19.2916C6.04627 19.6821 5.41311 19.6821 5.02258 19.2916L4.85129 19.1203Z",fill:"#9296A5"})]}),t.jsx("defs",{children:t.jsx("clipPath",{id:"clip0_487_8651",children:t.jsx("rect",{width:"24",height:"24",fill:"white"})})})]}),at=e=>t.jsxs(N,{...e,children:[t.jsx("rect",{x:"3",y:"5",width:"18",height:"2",rx:"1",fill:"#9296A5"}),t.jsx("rect",{x:"3",y:"11",width:"18",height:"2",rx:"1",fill:"#9296A5"}),t.jsx("rect",{x:"3",y:"17",width:"18",height:"2",rx:"1",fill:"#9296A5"})]}),st=e=>t.jsxs(N,{...e,children:[t.jsx("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M12 13C14.2091 13 16 11.2091 16 9C16 6.79086 14.2091 5 12 5C9.79086 5 8 6.79086 8 9C8 11.2091 9.79086 13 12 13ZM12 15C15.3137 15 18 12.3137 18 9C18 5.68629 15.3137 3 12 3C8.68629 3 6 5.68629 6 9C6 12.3137 8.68629 15 12 15Z",fill:"#202D52"}),t.jsx("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M12 15C8.13401 15 5 18.134 5 22H3C3 17.0294 7.02944 13 12 13C16.9706 13 21 17.0294 21 22H19C19 18.134 15.866 15 12 15Z",fill:"#202D52"})]}),He=e=>t.jsx(N,{...e,viewBox:"0 0 18 18",children:t.jsx("path",{d:"M9 16.5C4.85786 16.5 1.5 13.1421 1.5 9C1.5 4.85786 4.85786 1.5 9 1.5C13.1421 1.5 16.5 4.85786 16.5 9C16.4954 13.1402 13.1402 16.4954 9 16.5ZM9 3C5.68629 3 3 5.68629 3 9C3 12.3137 5.68629 15 9 15C12.3137 15 15 12.3137 15 9C14.9963 5.68783 12.3122 3.00372 9 3ZM12.75 9.75H8.25V5.25H9.75V8.25H12.75V9.75Z",fill:"#9296A5"})}),lt=e=>t.jsx(N,{...e,viewBox:"0 0 18 18",children:t.jsx("path",{d:"M10.4999 16.5H2.9999C2.59796 16.514 2.20826 16.3604 1.92387 16.076C1.63948 15.7916 1.48593 15.4019 1.4999 15V7.50001C1.48593 7.09807 1.63948 6.70837 1.92387 6.42399C2.20826 6.1396 2.59796 5.98605 2.9999 6.00002H5.9999V3.00002C5.98593 2.59807 6.13948 2.20837 6.42387 1.92399C6.70826 1.6396 7.09796 1.48605 7.49991 1.50002H14.9999C15.4018 1.48605 15.7915 1.6396 16.0759 1.92399C16.3603 2.20837 16.5139 2.59807 16.4999 3.00002V10.5C16.5136 10.9019 16.36 11.2915 16.0757 11.5758C15.7914 11.8601 15.4018 12.0137 14.9999 12H11.9999V15C12.0136 15.4019 11.86 15.7915 11.5757 16.0758C11.2914 16.3601 10.9018 16.5137 10.4999 16.5ZM2.9999 7.50001V15H10.4999V12H7.49991C7.09802 12.0137 6.70845 11.8601 6.42411 11.5758C6.13977 11.2915 5.98616 10.9019 5.9999 10.5V7.50001H2.9999ZM7.49991 3.00002V10.5H14.9999V3.00002H7.49991Z",fill:"#5E6F8D"})}),Ae=e=>t.jsxs(N,{...e,viewBox:"0 0 18 18",children:[t.jsx("g",{"clip-path":"url(#clip0_309_1899)",children:t.jsx("path",{d:"M9 16.5C4.85786 16.5 1.5 13.1421 1.5 9C1.5 4.85786 4.85786 1.5 9 1.5C13.1421 1.5 16.5 4.85786 16.5 9C16.4955 13.1403 13.1403 16.4955 9 16.5ZM3 9.129C3.03549 12.4299 5.73083 15.0822 9.0319 15.0645C12.333 15.0467 14.9997 12.3656 14.9997 9.0645C14.9997 5.76338 12.333 3.08233 9.0319 3.0645C5.73083 3.04684 3.03549 5.69907 3 9V9.129ZM10.5 12.75H8.25V9.75H7.5V8.25H9.75V11.25H10.5V12.75ZM9.75 6.75H8.25V5.25H9.75V6.75Z",fill:e.color||"#9296A5"})}),t.jsx("defs",{children:t.jsx("clipPath",{id:"clip0_309_1899",children:t.jsx("rect",{width:"18",height:"18",fill:"white"})})})]}),Le=e=>t.jsx(N,{...e,viewBox:"0 0 18 18",children:t.jsx("path",{d:"M9 16.5C4.85975 16.4954 1.50454 13.1402 1.5 9.00001V8.85001C1.58245 4.72841 4.97594 1.44598 9.09803 1.50067C13.2201 1.55537 16.5253 4.92668 16.4984 9.04899C16.4714 13.1714 13.1224 16.4992 9 16.5ZM5.5575 8.69251L4.5 9.75001L7.5 12.75L13.5 6.75001L12.4425 5.68501L7.5 10.6275L5.5575 8.69251Z",fill:"#1CD850"})}),ct=e=>t.jsxs(N,{...e,viewBox:"0 0 18 18",children:[t.jsx("path",{d:"M15.9495 15.7485H2.04978C1.78184 15.7485 1.53426 15.6056 1.40028 15.3735C1.26631 15.1415 1.26631 14.8556 1.40028 14.6235L8.3498 2.62349C8.4839 2.39183 8.73125 2.24918 8.99892 2.24918C9.2666 2.24918 9.51395 2.39183 9.64805 2.62349L16.5975 14.6235C16.7314 14.8554 16.7315 15.1412 16.5977 15.3731C16.464 15.6052 16.2166 15.7482 15.9488 15.7485H15.9495ZM9.00005 4.49849L3.35178 14.2485H14.6498L9.00005 4.49849ZM9.7463 11.2493H8.2463V7.49849H9.7463V11.2493Z",fill:"#FFA63E"}),t.jsx("path",{d:"M8.25 12H9.75V13.5H8.25V12Z",fill:"#FFA63E"})]}),dt=e=>t.jsxs(N,{...e,viewBox:"0 0 18 18",children:[t.jsx("circle",{cx:"9",cy:"9",r:"9",fill:"#EFF2FB"}),t.jsx("path",{d:"M13 9L9 12L5 9",stroke:"#5E6F8D","stroke-linecap":"round","stroke-linejoin":"round"}),t.jsx("path",{d:"M13 6L9 9L5 6",stroke:"#5E6F8D","stroke-linecap":"round","stroke-linejoin":"round"})]}),pt=n.styled.div`
145
+ display: grid;
146
+ align-items: center;
147
+ grid-template-columns: ${({$icon:e})=>e?"auto 1fr":"1fr"};
148
+ gap: 12px;
149
+ width: 458px;
150
+ height: auto;
151
+ border-radius: 12px;
152
+ padding: 24px;
153
+ background-color: ${({$type:e,theme:r})=>{switch(e){case"success":return r.colors.accent.green2Light;case"error":return r.colors.accent.red;case"info":return r.colors.primary.lightBlue2;case"warning":return r.colors.accent.orange}}};
154
+ `,ut=({label:e,description:r,type:o,icon:a})=>t.jsxs(pt,{$icon:a,$type:o,children:[a&&t.jsx(Ae,{size:18,color:"#fff"}),e&&t.jsx(v,{color:"#fff",variant:"body-l-semibold",children:e}),a&&t.jsx("div",{}),r&&t.jsx(v,{color:"#fff",variant:"body-m-semibold",children:r})]}),ft=n.styled.div`
155
+ display: flex;
156
+ flex-direction: column;
157
+ gap: 4px;
158
+ width: 100%;
159
+ `,ht=n.styled(v).attrs({variant:"form-input",forwardedAs:"label"})`
160
+ color: ${({theme:e})=>e.colors.primary.darkBlue};
161
+ `,xt=n.styled.div`
162
+ display: flex;
163
+ align-items: center;
164
+ gap: 8px;
165
+ overflow: hidden;
166
+ height: 48px;
167
+ padding-left: 12px;
168
+ border-radius: 5px;
169
+ outline: 1px solid ${({theme:e})=>e.colors.gray.lightGray2};
170
+ outline-offset: -1px;
171
+ background: ${({theme:e})=>e.colors.primary.white};
172
+ width: 100%;
173
+ box-sizing: border-box;
174
+ transition: border-color 140ms ease;
175
+
176
+ ${({$disabled:e})=>e&&n.css`
177
+ opacity: 0.6;
178
+ cursor: not-allowed;
179
+ `}
180
+
181
+ ${({$hasError:e,theme:r})=>e&&n.css`
182
+ outline-color: ${r.colors.accent.red};
183
+ `}
184
+
185
+ &:hover {
186
+ outline-color: ${({theme:e,$hasError:r})=>r?e.colors.accent.red:e.colors.primary.lightBlue2};
187
+ }
188
+
189
+ &[data-state="active"] {
190
+ outline-color: ${({theme:e,$hasError:r})=>r?e.colors.accent.red:e.colors.primary.primaryBlue};
191
+ }
192
+ `,gt=n.styled.span`
193
+ display: inline-flex;
194
+ width: 24px;
195
+ height: 24px;
196
+ `,mt=n.styled.span`
197
+ display: inline-flex;
198
+ align-items: center;
199
+ justify-content: center;
200
+ min-width: 48px;
201
+ & > button {
202
+ border-radius: 0px;
203
+ }
204
+ `,yt=n.styled.input`
205
+ flex: 1;
206
+ border: none;
207
+ outline: none;
208
+ background: transparent;
209
+ font-family: "Proxima Nova", sans-serif;
210
+ padding-right: 12px;
211
+ height: 100%;
212
+ font-size: 15px;
213
+ line-height: 18px;
214
+ color: ${({theme:e})=>e.colors.primary.darkBlue};
215
+
216
+ &::placeholder {
217
+ color: ${({theme:e})=>e.colors.gray.darkGray};
218
+ }
219
+ `,bt=n.styled.span`
220
+ font-family: "Proxima Nova", sans-serif;
221
+ font-size: 15px;
222
+ line-height: 18px;
223
+ color: ${({theme:e})=>e.colors.accent.red};
224
+ `,ze=c.forwardRef(({value:e,defaultValue:r,placeholder:o="Text",label:a,error:l,disabled:d=!1,icon:p,action:x,name:w,type:y="text",onChange:k,onFocus:b,onBlur:C,className:T},$)=>{const[R,L]=c.useState(!1),j=!!l,W=z=>{L(!0),b?.(z)},M=z=>{L(!1),C?.(z)};return t.jsxs(ft,{className:T,children:[a&&t.jsx(ht,{children:a}),t.jsxs(xt,{$hasError:j,$disabled:d,"data-state":j?"error":R?"active":void 0,children:[p&&t.jsx(gt,{children:p}),t.jsx(yt,{ref:$,type:y,name:w,value:e,defaultValue:r,placeholder:o,disabled:d,onChange:k,onFocus:W,onBlur:M}),x&&t.jsx(mt,{children:x})]}),l&&t.jsx(bt,{children:l})]})});ze.displayName="TextField";const wt=n.styled.div`
225
+ display: flex;
226
+ flex-direction: column;
227
+ width: 100%;
228
+ padding: 24px 28px;
229
+ background-color: ${({theme:e})=>e.colors.primary.white};
230
+ border-radius: 10px;
231
+ ${({theme:e})=>e.media.maxWidth.tablet} {
232
+ padding: 24px 20px;
233
+ }
234
+ ${({theme:e})=>e.media.maxWidth.mobile} {
235
+ padding: 16px;
236
+ }
237
+ `,vt=wt,$t=n.styled(v).attrs({forwardedAs:"div"})`
238
+ display: flex;
239
+ align-items: center;
240
+ justify-content: center;
241
+ padding: 0px;
242
+ width: 22px;
243
+ height: 22px;
244
+ border-radius: 50%;
245
+ color: #fff;
246
+ background-color: ${({theme:e})=>e.colors.primary.primaryBlue};
247
+ `,kt=({count:e=0})=>t.jsx($t,{variant:"body-s-semibold",children:e}),jt=({open:e,onToggle:r})=>{const[o,a]=c.useState(!1),l=e!==void 0,d=l?e:o,p=c.useCallback(()=>{const x=!d;l||a(x),r?.(x)},[l,d,r]);return t.jsx(Be,{iconPosition:"only",variant:"tertiary",icon:d?t.jsx(it,{}):t.jsx(at,{}),size:"small",onClick:p})},Ct=n.keyframes`
248
+ 0% {
249
+ transform: scale(0.5);
250
+ }
251
+ 25% {
252
+ transform: scale(1);
253
+ }
254
+ 75% {
255
+ transform: scale(0.5);
256
+ }
257
+ 100% {
258
+ transform: scale(0.5);
259
+ }
260
+ `,St=n.styled.div`
261
+ display: flex;
262
+ `,ye=n.styled.div`
263
+ margin: 2px;
264
+ width: 6px;
265
+ height: 6px;
266
+ border-radius: 50%;
267
+ background-color: ${({theme:e})=>e.colors.primary.primaryBlue};
268
+ transform: scale(0.5);
269
+ animation: ${Ct} 1.2s ease-out infinite;
270
+
271
+ &:nth-of-type(2) {
272
+ animation-delay: 0.2s;
273
+ }
274
+ &:nth-of-type(3) {
275
+ animation-delay: 0.3s;
276
+ }
277
+ &:nth-of-type(4) {
278
+ animation-delay: 0.4s;
279
+ }
280
+ &:nth-of-type(5) {
281
+ animation-delay: 0.5s;
282
+ }
283
+ `,Tt=()=>t.jsxs(St,{children:[t.jsx(ye,{}),t.jsx(ye,{}),t.jsx(ye,{})]}),Et=n.styled.label`
284
+ display: inline-flex;
285
+ align-items: center;
286
+ gap: 8px;
287
+ cursor: ${({disabled:e})=>e?"not-allowed":"pointer"};
288
+ `,Rt=n.styled.input`
289
+ position: absolute;
290
+ opacity: 0;
291
+ pointer-events: none;
292
+ `,Bt=n.styled.span`
293
+ width: 16px;
294
+ height: 16px;
295
+ border-radius: 50%;
296
+ border: 2px solid ${({theme:e})=>e.colors.gray.darkGray2};
297
+ background-color: transparent;
298
+ transition: border-color 160ms ease, background-color 160ms ease;
299
+ position: relative;
300
+ display: inline-flex;
301
+ justify-content: center;
302
+ align-items: center;
303
+
304
+ ${({$checked:e,theme:r})=>e&&n.css`
305
+ border-color: ${r.colors.primary.primaryBlue};
306
+ &::after {
307
+ content: "";
308
+ width: 8px;
309
+ height: 8px;
310
+ border-radius: 50%;
311
+ background-color: ${r.colors.primary.primaryBlue};
312
+ transition: background-color 160ms ease;
313
+ }
314
+ `}
315
+
316
+ ${({$checked:e,theme:r})=>!e&&n.css`
317
+ &:hover {
318
+ border-color: ${r.colors.primary.hoverBlue};
319
+ }
320
+ `}
321
+
322
+ ${({$checked:e,$disabled:r,theme:o})=>!r&&e&&n.css`
323
+ &:hover {
324
+ border-color: ${o.colors.primary.hoverBlue};
325
+ &::after {
326
+ background-color: ${o.colors.primary.hoverBlue};
327
+ }
328
+ }
329
+ `}
330
+
331
+ ${({$disabled:e,theme:r})=>e&&n.css`
332
+ border-color: ${r.colors.icon.iconSecondary};
333
+ background-color: ${r.colors.gray.lightGray2};
334
+ &::after {
335
+ content: "";
336
+ width: 8px;
337
+ height: 8px;
338
+ border-radius: 50%;
339
+ background-color: ${r.colors.icon.iconSecondary};
340
+ }
341
+ `}
342
+ `,Ht=n.styled(v)`
343
+ color: ${({theme:e})=>e.colors.primary.darkBlue};
344
+ `,At=({checked:e,defaultChecked:r=!1,disabled:o=!1,name:a,value:l,label:d,onChange:p,className:x})=>{const w=c.useId(),[y,k]=c.useState(r),b=e!==void 0,C=b?e:y,T=c.useCallback($=>{o||(b||k($.target.checked),p?.($.target.checked))},[o,b,p]);return t.jsxs(Et,{className:x,htmlFor:w,disabled:o,children:[t.jsx(Rt,{id:w,type:"radio",checked:C,onChange:T,disabled:o,name:a,value:l}),t.jsx(Bt,{$checked:C,$disabled:o}),d&&t.jsx(Ht,{variant:"button",children:d})]})},Lt=n.styled.div`
345
+ position: relative;
346
+ display: flex;
347
+ flex-direction: column;
348
+ gap: 12px;
349
+ width: 100%;
350
+ `,zt=n.styled(v).attrs({variant:"form-input",forwardedAs:"label"})`
351
+ color: ${({theme:e})=>e.colors.primary.darkBlue};
352
+ `,Wt=n.styled.div`
353
+ display: flex;
354
+ align-items: center;
355
+ gap: 8px;
356
+ overflow: hidden;
357
+ height: 48px;
358
+ padding: 0 12px;
359
+ border-radius: 5px;
360
+ outline: 1px solid ${({theme:e})=>e.colors.gray.lightGray2};
361
+ outline-offset: -1px;
362
+ background: ${({theme:e})=>e.colors.primary.white};
363
+ width: 100%;
364
+ box-sizing: border-box;
365
+ transition: outline-color 140ms ease;
366
+ cursor: pointer;
367
+
368
+ ${({$disabled:e})=>e&&n.css`
369
+ opacity: 0.6;
370
+ cursor: not-allowed;
371
+ `}
372
+
373
+ ${({$hasError:e,theme:r})=>e&&n.css`
374
+ outline-color: ${r.colors.accent.red};
375
+ `}
376
+
377
+ &:hover {
378
+ outline-color: ${({theme:e,$hasError:r})=>r?e.colors.accent.red:e.colors.primary.lightBlue2};
379
+ }
380
+
381
+ &[data-state="active"] {
382
+ outline-color: ${({theme:e,$hasError:r})=>r?e.colors.accent.red:e.colors.primary.primaryBlue};
383
+ }
384
+ `,_t=n.styled.span`
385
+ display: inline-flex;
386
+ width: 24px;
387
+ height: 24px;
388
+ color: ${({theme:e})=>e.colors.primary.primaryBlue};
389
+ `,It=n.styled.span`
390
+ flex: 1;
391
+ font-family: "Proxima Nova", sans-serif;
392
+ font-size: 15px;
393
+ line-height: 18px;
394
+ color: ${({theme:e,$placeholder:r})=>r?e.colors.gray.darkGray:e.colors.primary.darkBlue};
395
+ user-select: none;
396
+ `,Ot=n.styled.input`
397
+ position: absolute;
398
+ opacity: 0;
399
+ pointer-events: none;
400
+ `,Mt=n.styled.span`
401
+ font-family: "Proxima Nova", sans-serif;
402
+ font-size: 13px;
403
+ line-height: 16px;
404
+ color: ${({theme:e})=>e.colors.accent.red};
405
+ `,Pt=n.styled.div`
406
+ position: fixed;
407
+ top: ${({$top:e})=>`${e}px`};
408
+ left: ${({$left:e})=>`${e}px`};
409
+ width: ${({$width:e})=>`${e}px`};
410
+ z-index: 999;
411
+ border-radius: 5px;
412
+ border: 1px solid ${({theme:e})=>e.colors.gray.lightGray2};
413
+ background: ${({theme:e})=>e.colors.primary.white};
414
+ box-shadow: 0px 8px 24px rgba(15, 23, 42, 0.12);
415
+ display: flex;
416
+ flex-direction: column;
417
+ max-height: 260px;
418
+ overflow-y: auto;
419
+ `,Dt=n.styled.button`
420
+ display: flex;
421
+ align-items: center;
422
+ gap: 10px;
423
+ padding: 0 13px;
424
+ height: 40px;
425
+ border: none;
426
+ background: transparent;
427
+ width: 100%;
428
+ text-align: left;
429
+ color: ${({theme:e})=>e.colors.primary.darkBlue};
430
+ cursor: pointer;
431
+ transition: background 140ms ease;
432
+
433
+ &[data-hovered="true"],
434
+ &:hover {
435
+ background: ${({theme:e})=>e.colors.gray.lightBlueGray};
436
+ }
437
+
438
+ &[data-active="true"] {
439
+ background: ${({theme:e})=>e.colors.gray.lightGray};
440
+ }
441
+ `,Gt=n.styled.span`
442
+ display: inline-flex;
443
+ width: 24px;
444
+ height: 24px;
445
+ `,Ft=8,We=c.forwardRef(({options:e,value:r,defaultValue:o,placeholder:a="Text",label:l,error:d,disabled:p=!1,icon:x,name:w,onChange:y,onFocus:k,onBlur:b,className:C},T)=>{const $=c.useRef(null),R=c.useRef(null),L=c.useRef(null),[j,W]=c.useState(!1),[M,z]=c.useState(!1),[I,K]=c.useState(o??""),[P,B]=c.useState(null),[D,Y]=c.useState({top:0,left:0,width:0}),E=r??I,V=c.useMemo(()=>e.find(s=>s.value===E),[e,E]),G=!!d,te=!V,X=V?.label??a,Z=c.useCallback(()=>{if(!R.current)return;const s=R.current.getBoundingClientRect();Y({top:s.bottom+Ft,left:s.left,width:s.width})},[]);c.useLayoutEffect(()=>{if(!j)return;Z();const s=()=>Z();return window.addEventListener("resize",s),window.addEventListener("scroll",s,!0),()=>{window.removeEventListener("resize",s),window.removeEventListener("scroll",s,!0)}},[j,Z]);const O=c.useCallback(()=>{W(!1),B(null)},[]),F=c.useCallback(()=>{p||(W(!0),B(s=>{if(s!==null)return s;const g=e.findIndex(S=>S.value===E);return g>=0?g:0}))},[p,e,E]),Q=c.useCallback(()=>{j?O():F()},[j,O,F]),q=s=>{p||(K(s.value),y?.(s.value),O())},i=s=>{if(!p)switch(s.key){case"ArrowDown":s.preventDefault(),F(),B(g=>g===null?0:Math.min(g+1,e.length-1));break;case"ArrowUp":s.preventDefault(),F(),B(g=>g===null?e.length-1:Math.max(g-1,0));break;case"Enter":case" ":s.preventDefault(),j?P!==null&&e[P]&&q(e[P]):F();break;case"Escape":case"Tab":O();break}};c.useEffect(()=>{if(!j)return;const s=g=>{const S=g.target,m=$.current&&$.current.contains(S),A=L.current&&L.current.contains(S);!m&&!A&&O()};return document.addEventListener("mousedown",s),()=>{document.removeEventListener("mousedown",s)}},[j,O]);const h=s=>{z(!0),k?.(s)},u=s=>{z(!1),b?.(s)};return t.jsxs(Lt,{className:C,ref:$,onKeyDown:i,onFocus:h,onBlur:u,children:[l&&t.jsx(zt,{children:l}),t.jsxs(Wt,{ref:R,role:"button",tabIndex:p?-1:0,"aria-haspopup":"listbox","aria-expanded":j,"aria-invalid":G,"aria-disabled":p,$hasError:G,$disabled:p,"data-state":G?"error":j||M?"active":void 0,onClick:Q,children:[x&&t.jsx(_t,{children:x}),t.jsx(It,{$placeholder:te,children:X}),t.jsx(Ot,{ref:T,readOnly:!0,name:w,value:E,tabIndex:-1,"aria-hidden":!0})]}),d&&t.jsx(Mt,{children:d}),j&&t.jsx(Pt,{ref:L,role:"listbox",$top:D.top,$left:D.left,$width:D.width,children:e.map((s,g)=>{const S=s.value===E,m=g===P;return t.jsxs(Dt,{role:"option","aria-selected":S,"data-active":S||void 0,"data-hovered":m||void 0,onMouseEnter:()=>B(g),onMouseLeave:()=>B(null),onMouseDown:A=>A.preventDefault(),onClick:()=>q(s),children:[s.icon&&t.jsx(Gt,{children:s.icon}),t.jsx(v,{variant:"form-input",children:s.label})]},s.value)})})]})});We.displayName="SelectField";const Nt={top:"translate3d(0, 6px, 0)",bottom:"translate3d(0, -6px, 0)",left:"translate3d(6px, 0, 0)",right:"translate3d(-6px, 0, 0)"},Vt=n.div`
446
+ display: inline-flex;
447
+ position: relative;
448
+ `,Yt=n.div`
449
+ display: inline-flex;
450
+ align-items: center;
451
+ justify-content: center;
452
+ cursor: pointer;
453
+ outline: none;
454
+
455
+ &:focus-visible {
456
+ box-shadow: inset 0 0 0 2px rgba(84, 132, 255, 0.65);
457
+ border-radius: 6px;
458
+ }
459
+
460
+ &[data-open="true"] {
461
+ cursor: default;
462
+ }
463
+
464
+ &[data-disabled="true"] {
465
+ cursor: not-allowed;
466
+ }
467
+ `,Zt=n.div`
468
+ position: fixed;
469
+ top: -9999px;
470
+ left: -9999px;
471
+ padding: 10px 14px;
472
+ border-radius: 8px;
473
+ font-size: 13px;
474
+ line-height: 1.35;
475
+ max-width: min(320px, calc(100vw - 16px));
476
+ box-shadow: 0px 8px 24px 0px #0000001f;
477
+ filter: drop-shadow(0px 8px 24px 0px #0000001f);
478
+ background: ${({theme:e})=>e.colors.primary.white};
479
+ z-index: 9999;
480
+ opacity: ${({$visible:e})=>e?1:0};
481
+ visibility: ${({$visible:e})=>e?"visible":"hidden"};
482
+ transform: ${({$visible:e,$placement:r})=>e?"translate3d(0, 0, 0)":Nt[r]};
483
+ transition: opacity 0.18s ease, transform 0.18s ease;
484
+
485
+ pointer-events: ${({$visible:e,$interactive:r})=>e&&r?"auto":"none"};
486
+
487
+ @media (prefers-reduced-motion: reduce) {
488
+ transition: none;
489
+ }
490
+
491
+ &::after {
492
+ content: "";
493
+ position: absolute;
494
+ inset: 0;
495
+ border-radius: inherit;
496
+ pointer-events: none;
497
+ }
498
+
499
+ &[data-placement="top"] {
500
+ --tooltip-arrow-x: 0px;
501
+ }
502
+
503
+ &[data-placement="bottom"] {
504
+ --tooltip-arrow-x: 0px;
505
+ }
506
+
507
+ &[data-placement="left"] {
508
+ --tooltip-arrow-y: 0px;
509
+ }
510
+
511
+ &[data-placement="right"] {
512
+ --tooltip-arrow-y: 0px;
513
+ }
514
+ `,Ut=n.span`
515
+ position: absolute;
516
+ width: 10px;
517
+ height: 10px;
518
+ background: inherit;
519
+ border: inherit;
520
+ border-radius: 2px;
521
+ transform: rotate(45deg);
522
+ pointer-events: none;
523
+
524
+ ${({$placement:e})=>{switch(e){case"top":return n.css`
525
+ bottom: -5px;
526
+ left: 50%;
527
+ transform: translateX(-50%) translateX(var(--tooltip-arrow-x, 0px))
528
+ rotate(45deg);
529
+ `;case"bottom":return n.css`
530
+ top: -5px;
531
+ left: 50%;
532
+ transform: translateX(-50%) translateX(var(--tooltip-arrow-x, 0px))
533
+ rotate(45deg);
534
+ `;case"left":return n.css`
535
+ right: -5px;
536
+ top: 50%;
537
+ transform: translateY(-50%) translateY(var(--tooltip-arrow-y, 0px))
538
+ rotate(45deg);
539
+ `;case"right":default:return n.css`
540
+ left: -5px;
541
+ top: 50%;
542
+ transform: translateY(-50%) translateY(var(--tooltip-arrow-y, 0px))
543
+ rotate(45deg);
544
+ `}}}
545
+ `,Xt=n(v).attrs({variant:"body-s"})`
546
+ color: ${({theme:e})=>e.colors.primary.darkBlue};
547
+ `,_=8,U=12,ke=12,qt={top:["top","bottom","right","left"],bottom:["bottom","top","right","left"],left:["left","right","top","bottom"],right:["right","left","top","bottom"]},pe=(e,r,o)=>Math.min(Math.max(e,r),o),_e=({content:e,children:r,position:o="top",open:a,defaultOpen:l=!1,onOpenChange:d,showDelay:p=150,hideDelay:x=150,interactive:w=!1,disabled:y=!1,hideOnClick:k=!1,maxWidth:b})=>{const[C,T]=c.useState(l),$=typeof a=="boolean",R=$?!!a:C,L=c.useRef(null),j=c.useRef(null),W=c.useRef(null),M=c.useRef(null),z=c.useRef(null),I=c.useRef(null),K=c.useId(),P=c.useMemo(()=>({top:-9999,left:-9999,arrowX:0,arrowY:0,placement:o}),[o]),[B,D]=c.useState(P),Y=()=>{M.current&&(clearTimeout(M.current),M.current=null),z.current&&(clearTimeout(z.current),z.current=null)},E=c.useCallback(u=>{$||T(u),u||D(P),d?.(u)},[P,$,d]),V=c.useCallback(()=>{y||(Y(),M.current=setTimeout(()=>E(!0),p))},[y,E,p]),G=c.useCallback(()=>{y||(Y(),z.current=setTimeout(()=>E(!1),x))},[y,E,x]),te=()=>{y||V()},X=()=>{y||G()},Z=()=>{y||V()},O=()=>{y||G()},F=()=>{k&&E(!1)},Q=()=>{w&&Y()},q=()=>{w&&G()},i=c.useCallback(()=>{if(typeof window>"u"||!j.current||!W.current)return;const u=j.current.getBoundingClientRect(),s=W.current.getBoundingClientRect(),g=window.innerWidth,S=window.innerHeight,m=u.left+u.width/2,A=u.top+u.height/2,re=H=>{switch(H){case"top":return u.top>=s.height+U+_;case"bottom":return S-u.bottom>=s.height+U+_;case"left":return u.left>=s.width+U+_;case"right":return g-u.right>=s.width+U+_;default:return!0}},J=qt[o].find(H=>re(H))??o;let oe=0,ne=0;switch(J){case"top":oe=u.top-s.height-U,ne=m-s.width/2;break;case"bottom":oe=u.bottom+U,ne=m-s.width/2;break;case"left":oe=A-s.height/2,ne=u.left-s.width-U;break;case"right":default:oe=A-s.height/2,ne=u.right+U;break}const De=Math.max(g-_*2,0),Ge=Math.max(S-_*2,0),Fe=_,Ne=g-s.width-_,Ve=_,Ye=S-s.height-_,xe=s.width>=De?_:pe(ne,Fe,Ne),ge=s.height>=Ge?_:pe(oe,Ve,Ye);let le=0,ce=0;if(J==="top"||J==="bottom"){const H=Math.max(s.width/2-ke,0);le=pe(m-(xe+s.width/2),-H,H),ce=0}else{const H=Math.max(s.height/2-ke,0);ce=pe(A-(ge+s.height/2),-H,H),le=0}D(H=>H.top===ge&&H.left===xe&&H.arrowX===le&&H.arrowY===ce&&H.placement===J?H:{top:ge,left:xe,arrowX:le,arrowY:ce,placement:J})},[o]);c.useLayoutEffect(()=>{if(!R)return;const u=W.current,s=j.current;if(!u||!s)return;const g=()=>{I.current!==null&&cancelAnimationFrame(I.current),I.current=window.requestAnimationFrame(()=>{I.current=null,i()})};g();const m=typeof window<"u"&&"ResizeObserver"in window?new ResizeObserver(g):null;return m?.observe(u),m?.observe(s),window.addEventListener("resize",g),window.addEventListener("scroll",g,!0),()=>{window.removeEventListener("resize",g),window.removeEventListener("scroll",g,!0),m?.disconnect(),I.current!==null&&(cancelAnimationFrame(I.current),I.current=null)}},[R,i]),c.useEffect(()=>Y,[]),c.useEffect(()=>{if(!R)return;const u=g=>{g.key==="Escape"&&E(!1)},s=g=>{const S=g.target;L.current?.contains(S)||W.current?.contains(S)||E(!1)};return document.addEventListener("keydown",u),document.addEventListener("pointerdown",s),()=>{document.removeEventListener("keydown",u),document.removeEventListener("pointerdown",s)}},[R,E]);const h={top:B.top,left:B.left,"--tooltip-arrow-x":`${B.arrowX}px`,"--tooltip-arrow-y":`${B.arrowY}px`};return b!==void 0&&(h.maxWidth=typeof b=="number"?`${b}px`:b),t.jsxs(Vt,{ref:L,"data-disabled":y,children:[t.jsx(Yt,{ref:j,tabIndex:y?-1:0,"aria-describedby":R?K:void 0,onMouseEnter:te,onMouseLeave:X,onFocus:Z,onBlur:O,onClick:F,"data-open":R,children:r}),t.jsxs(Zt,{ref:W,id:K,role:"tooltip","aria-hidden":!R,$visible:R,$interactive:w,$placement:B.placement,style:h,"data-placement":B.placement,onMouseEnter:Q,onMouseLeave:q,children:[["string","number"].includes(typeof e)?t.jsx(Xt,{variant:"body-m",children:e}):e,t.jsx(Ut,{$placement:B.placement})]})]})},Ie=(e,r=4,o=7)=>{const a=e.trim();if(!a)return a;const l=a.lastIndexOf(".");if(l<=0||l===a.length-1)return a;const d=a.slice(l+1),x=a.slice(0,l).replace(/[@.]/g,"").slice(0,r),w="*".repeat(o);return`${x}${w}${d}`},Oe=e=>e.toString().padStart(16,"0").replace(/(\d{4})(?=\d)/g,"$1 "),Me=async e=>{try{await navigator.clipboard.writeText(e),console.log("Скопировано в буфер обмена")}catch(r){console.error("Ошибка копирования:",r)}},Jt=n.styled.div`
548
+ display: flex;
549
+ gap: 10px;
550
+ align-items: center;
551
+ `,Kt=n.styled(v)`
552
+ color: ${({theme:e})=>e.colors.primary.darkBlue};
553
+ `,Qt=({email:e})=>t.jsxs(Jt,{children:[t.jsx(st,{}),t.jsx(Kt,{variant:"body-m-semibold",children:Ie(e)})]}),se={m:{minWidth:55,height:46,fontSize:16,lineHeight:20,paddingX:14},l:{minWidth:58,height:48,fontSize:18,lineHeight:22,paddingX:14},xl:{minWidth:68,height:56,fontSize:24,lineHeight:30,paddingX:14}},er=n.button`
554
+ ${({$size:e})=>n.css`
555
+ min-width: ${se[e].minWidth}px;
556
+ height: ${se[e].height}px;
557
+ padding: 0 ${se[e].paddingX}px;
558
+ font-size: ${se[e].fontSize}px;
559
+ line-height: ${se[e].lineHeight}px;
560
+ `}
561
+ position: relative;
562
+ background: transparent;
563
+ border: none;
564
+ display: inline-flex;
565
+ align-items: flex-end;
566
+ justify-content: center;
567
+ font-weight: 700;
568
+ cursor: pointer;
569
+ text-transform: none;
570
+ color: ${({theme:e,$active:r})=>r?e.colors.primary.darkBlue:e.colors.gray.darkGray};
571
+ transition: color 120ms ease;
572
+ padding-bottom: 25px;
573
+ &::after {
574
+ content: "";
575
+ position: absolute;
576
+ inset-inline: 0;
577
+ bottom: 0;
578
+ height: ${({$active:e})=>e?2:1}px;
579
+ background: ${({theme:e,$active:r})=>r?e.colors.primary.primaryBlue:e.colors.gray.lightGray2};
580
+ transition: height 120ms ease, background 120ms ease;
581
+ }
582
+
583
+ &:hover:not(:disabled) {
584
+ color: ${({theme:e})=>e.colors.primary.darkBlue2};
585
+
586
+ &::after {
587
+ height: 2px;
588
+ background: ${({theme:e})=>e.colors.primary.hoverBlue};
589
+ }
590
+ }
591
+
592
+ &:focus-visible {
593
+ outline: none;
594
+ box-shadow: inset 0 -2px 0 ${({theme:e})=>e.colors.primary.hoverBlue};
595
+ }
596
+
597
+ &:disabled {
598
+ cursor: not-allowed;
599
+ color: ${({theme:e})=>e.colors.gray.darkGray+"80"};
600
+ &::after {
601
+ background: ${({theme:e})=>e.colors.gray.lightGray2};
602
+ }
603
+ }
604
+ `,tr=n.div`
605
+ display: flex;
606
+ box-shadow: inset 0 -1px 0 ${({theme:e})=>e.colors.gray.lightGray2};
607
+ `,rr=({id:e,label:r,active:o=!1,disabled:a=!1,size:l="m",onSelect:d,className:p})=>{const x=c.useCallback(()=>{a||d?.(e)},[a,e,d]);return t.jsx(er,{type:"button",role:"tab","aria-selected":o,"aria-disabled":a,disabled:a,$size:l,$active:o,className:p,onClick:x,children:r})},or=({size:e="m",activeId:r,items:o,onChange:a,className:l})=>{const d=c.useCallback(p=>{a(p)},[a]);return t.jsx(tr,{role:"tablist",className:l,children:o.map(p=>t.jsx(rr,{...p,size:e,active:p.id===r,onSelect:d},p.id))})},nr=n.table`
608
+ width: 100%;
609
+ border-collapse: collapse;
610
+ overflow: hidden;
611
+ `,je=n.tr`
612
+ &:nth-child(2n) {
613
+ background: ${({theme:e})=>e.colors.gray.lightBlueGray};
614
+ }
615
+ `,ir=n(v).attrs({forwardedAs:"td",variant:"body-m"})`
616
+ display: table-cell;
617
+ color: ${({theme:e})=>e.colors.primary.darkBlue};
618
+ padding: 16px 14px;
619
+ &:first-child {
620
+ border-radius: 10px 0 0 10px;
621
+ }
622
+ &:last-child {
623
+ border-radius: 0 10px 10px 0;
624
+ }
625
+ `,ar=n(v).attrs({forwardedAs:"th",variant:"body-s"})`
626
+ display: table-cell;
627
+ color: ${({theme:e})=>e.colors.gray.darkGray2};
628
+ padding: 16px 14px;
629
+ `,sr=n.tbody``,lr=n.thead``,cr=({columns:e,data:r})=>t.jsxs(nr,{children:[t.jsx(lr,{children:t.jsx(je,{children:e.map(o=>t.jsx(ar,{width:o.width,align:o.align||"left",children:o.name},o.id))})}),t.jsx(sr,{children:r.map(o=>t.jsx(je,{children:e.map(a=>t.jsx(ir,{width:a.width,align:a.align||"left",children:a.render?a.render(o):o[a.id]},a.id))},o.id))})]}),dr=n.styled.div`
630
+ display: inline-flex;
631
+ `,pr=n.styled.button`
632
+ position: relative;
633
+ width: 56px;
634
+ height: 26px;
635
+ padding: 4px;
636
+ border: none;
637
+ border-radius: 22px;
638
+ background: ${({$checked:e,theme:r})=>e?r.colors.primary.primaryBlue:r.colors.gray.darkGray2};
639
+ cursor: pointer;
640
+ transition: background 150ms ease;
641
+ outline: none;
642
+
643
+ &:focus-visible {
644
+ box-shadow: 0 0 0 2px rgba(49, 99, 240, 0.4);
645
+ }
646
+
647
+ &:hover {
648
+ background: ${({$checked:e,theme:r})=>e?r.colors.primary.hoverBlue:r.colors.gray.darkGray};
649
+ }
650
+
651
+ &:disabled {
652
+ cursor: not-allowed;
653
+ background: ${({theme:e})=>e.colors.gray.darkGray};
654
+ }
655
+ `,ur=n.styled.span`
656
+ position: absolute;
657
+ top: 50%;
658
+ left: 4px;
659
+ width: 18px;
660
+ height: 18px;
661
+ border-radius: 50%;
662
+ background: ${({$disabled:e,theme:r})=>e?r.colors.primary.darkBlue2:"#ffffff"};
663
+ box-shadow: ${({$disabled:e})=>e?"none":"0 3px 6px rgba(0, 0, 0, 0.25)"};
664
+ transform: translate(${({$checked:e})=>e?"30px":"0"}, -50%);
665
+ transition: transform 180ms ease, background 150ms ease, box-shadow 150ms ease;
666
+ `,fr=({checked:e,defaultChecked:r=!1,disabled:o=!1,onChange:a,id:l,className:d})=>{const p=c.useId(),x=l??p,w=e!==void 0,[y,k]=c.useState(r),b=w?e:y,C=c.useCallback(()=>{if(o)return;const $=!b;w||k($),a?.($)},[b,w,o,a]),T=c.useCallback($=>{($.key==="Enter"||$.key===" ")&&($.preventDefault(),C())},[C]);return t.jsx(dr,{className:d,children:t.jsx(pr,{id:x,role:"switch","aria-checked":b,"aria-disabled":o,tabIndex:o?-1:0,onClick:C,onKeyDown:T,disabled:o,$checked:b,children:t.jsx(ur,{$checked:b,$disabled:o})})})},hr=n.label`
667
+ display: inline-flex;
668
+ align-items: center;
669
+ gap: 12px;
670
+ cursor: ${({disabled:e})=>e?"not-allowed":"pointer"};
671
+ `,xr=n.input`
672
+ position: absolute;
673
+ opacity: 0;
674
+ pointer-events: none;
675
+ `,gr=n.span`
676
+ width: 24px;
677
+ height: 24px;
678
+ border-radius: 3px;
679
+ border: 1px solid ${({theme:e})=>e.colors.gray.lightGray3};
680
+ background-color: ${({theme:e})=>e.colors.primary.white};
681
+ display: inline-flex;
682
+ align-items: center;
683
+ justify-content: center;
684
+ transition: background-color 140ms ease, border-color 140ms ease;
685
+
686
+ ${({$checked:e,theme:r})=>e&&n.css`
687
+ border-color: ${r.colors.primary.primaryBlue};
688
+ background-color: ${r.colors.primary.primaryBlue};
689
+ `}
690
+
691
+ ${({$checked:e,$disabled:r,theme:o})=>!r&&!e&&n.css`
692
+ &:hover {
693
+ border-color: ${o.colors.primary.hoverBlue};
694
+ }
695
+ `}
696
+
697
+ ${({$checked:e,$disabled:r,theme:o})=>!r&&e&&n.css`
698
+ &:hover {
699
+ border-color: ${o.colors.primary.hoverBlue};
700
+ background-color: ${o.colors.primary.hoverBlue};
701
+ }
702
+ `}
703
+
704
+ ${({$disabled:e,theme:r})=>e&&n.css`
705
+ border-color: ${r.colors.gray.lightGray2};
706
+ background-color: ${r.colors.gray.lightGray};
707
+ `}
708
+ `,mr=n.svg`
709
+ width: 12px;
710
+ height: 9px;
711
+ fill: none;
712
+ stroke-linecap: round;
713
+ stroke-linejoin: round;
714
+ transition: opacity 120ms ease;
715
+ stroke: ${({theme:e})=>e.colors.primary.white};
716
+ `,yr=({checked:e,defaultChecked:r=!1,disabled:o=!1,name:a,value:l,onChange:d,className:p})=>{const x=c.useId(),w=e!==void 0,[y,k]=c.useState(r),b=w?e:y,C=c.useCallback(T=>{o||(w||k(T.target.checked),d?.(T.target.checked))},[o,w,d]);return t.jsxs(hr,{htmlFor:x,disabled:o,className:p,children:[t.jsx(xr,{id:x,type:"checkbox",checked:b,disabled:o,onChange:C,name:a,value:l}),t.jsx(gr,{$checked:b,$disabled:o,children:b&&t.jsx(mr,{viewBox:"0 0 15 11",children:t.jsx("path",{d:"M5.00034 11L0 6.18738L1.42838 4.81262L5.00185 8.24806L5.00034 8.24951L13.5716 0L15 1.37476L6.42872 9.62524L5.00135 10.999L5.00034 11Z",fill:"#fff"})})})]})},br=n.styled.div`
717
+ display: flex;
718
+ column-gap: 10px;
719
+ row-gap: 12px;
720
+ width: 100%;
721
+ flex: 1;
722
+ flex-direction: column;
723
+ ${({theme:e})=>e.media.maxWidth.tablet} {
724
+ flex-direction: row;
725
+ justify-content: space-between;
726
+ }
727
+ ${({theme:e})=>e.media.maxWidth.mobile} {
728
+ flex-direction: column;
729
+ }
730
+ `,wr=n.styled(v).attrs({forwardedAs:"p",variant:"body-s-semibold"})`
731
+ white-space: nowrap;
732
+ color: ${({theme:e})=>e.colors.gray.darkGray};
733
+ `,Ce=n.styled.div`
734
+ display: flex;
735
+ align-items: center;
736
+ gap: 8px;
737
+ height: 100%;
738
+ `,vr=n.styled(v).attrs({forwardedAs:"p",variant:"body-m-semibold"})`
739
+ margin: 0;
740
+ white-space: nowrap;
741
+ color: ${({theme:e})=>`${e.colors.primary.darkBlue}`};
742
+ `,$r=({label:e,statusValue:r,withdraw:o,info:a})=>t.jsxs(br,{children:[t.jsxs(Ce,{children:[t.jsx(wr,{children:e}),a&&t.jsx(_e,{content:a,children:t.jsx(Ae,{size:18})})]}),t.jsxs(Ce,{children:[["number","string"].includes(typeof r)&&t.jsx(vr,{children:r}),!["number","string"].includes(typeof r)&&r,o&&t.jsx(dt,{size:18})]})]}),kr=n.styled.div`
743
+ display: flex;
744
+ width: fit-content;
745
+ align-items: center;
746
+ gap: 22px;
747
+ ${({$variant:e})=>{switch(e){case"secondary":return n.css`
748
+ padding: 24px;
749
+ background: #f5f5f5;
750
+ `;case"primary":default:return n.css`
751
+ padding: 24px 20px;
752
+ background: ${({theme:r})=>r.colors.primary.white};
753
+ border: 1px solid ${({theme:r})=>r.colors.gray.lightGray2};
754
+ `}}}
755
+
756
+ border-radius: 6px;
757
+ ${({theme:e})=>e.media.maxWidth.tablet} {
758
+ width: 100%;
759
+ flex-direction: column;
760
+ gap: 18px;
761
+ padding: 18px 20px;
762
+ }
763
+ ${({theme:e})=>e.media.maxWidth.mobile} {
764
+ flex-direction: column;
765
+ gap: 16px;
766
+ padding: 16px 20px;
767
+ }
768
+ `,jr=n.styled.div`
769
+ display: flex;
770
+ gap: 56px;
771
+ width: fit-content;
772
+ ${({theme:e})=>e.media.maxWidth.tablet} {
773
+ width: 100%;
774
+ flex-direction: column;
775
+ gap: 12px;
776
+ }
777
+ ${({theme:e})=>e.media.maxWidth.mobile} {
778
+ flex-direction: column;
779
+ gap: 8px;
780
+ }
781
+ `,Cr=n.styled.div`
782
+ display: flex;
783
+ gap: 22px;
784
+ width: fit-content;
785
+ ${({theme:e})=>e.media.maxWidth.tablet} {
786
+ width: 100%;
787
+ gap: 20px;
788
+ }
789
+ `,Sr=({children:e,actions:r,variant:o="primary"})=>t.jsxs(kr,{$variant:o,children:[t.jsx(jr,{children:e}),r&&t.jsx(Cr,{children:r})]}),Tr=n.styled.div`
790
+ display: flex;
791
+ column-gap: 10px;
792
+ row-gap: 12px;
793
+ width: 100%;
794
+ flex: 1;
795
+ flex-direction: column;
796
+ ${({theme:e})=>e.media.maxWidth.tablet} {
797
+ flex-direction: row;
798
+ justify-content: space-between;
799
+ }
800
+ ${({theme:e})=>e.media.maxWidth.mobile} {
801
+ flex-direction: column;
802
+ }
803
+ `,Er=n.styled(v).attrs({forwardedAs:"p",variant:"body-s-semibold"})`
804
+ margin: 0;
805
+ white-space: nowrap;
806
+ color: ${({theme:e})=>e.colors.gray.darkGray};
807
+ `,Se=n.styled.div`
808
+ display: flex;
809
+ align-items: center;
810
+ gap: 8px;
811
+ height: 100%;
812
+ `,Rr=n.styled(v).attrs({forwardedAs:"p",variant:"body-m-semibold"})`
813
+ white-space: nowrap;
814
+ margin: 0;
815
+ ${({$type:e,theme:r})=>{switch(e){case"success":return`
816
+ color: ${r.colors.accent.green};
817
+ `;case"pending":return`
818
+ color: ${r.colors.primary.darkBlue};
819
+ `;case"warning":return`
820
+ color: ${r.colors.accent.orange};
821
+ `}}}
822
+ `,Br=({label:e,statusValue:r,type:o})=>{const a=c.useMemo(()=>{switch(o){case"success":return t.jsx(Le,{size:18});case"warning":return t.jsx(ct,{size:18});case"pending":default:return t.jsx(He,{size:18})}},[o]);return t.jsxs(Tr,{children:[t.jsx(Se,{children:t.jsx(Er,{children:e})}),t.jsxs(Se,{children:[a,t.jsx(Rr,{$type:o,children:r})]})]})},Hr=n.styled.tr`
823
+ position: relative;
824
+ `,be=n.styled.td`
825
+ padding: 14px 16px;
826
+ border-collapse: separate;
827
+ border-spacing: 0;
828
+ white-space: nowrap;
829
+ background: ${({theme:e})=>e.colors.gray.lightBlueGray};
830
+ `,Ar=n.styled.td`
831
+ background: ${({theme:e})=>e.colors.gray.lightBlueGray};
832
+ `,Lr=({valueLabel:e,count:r,amount:o,actions:a})=>t.jsxs(Hr,{children:[t.jsx(be,{children:e}),t.jsx(be,{children:r}),t.jsx(be,{children:o}),t.jsx(Ar,{children:a})]}),zr=n.div`
833
+ display: grid;
834
+ grid-template-columns: ${({$longname:e,$shortname:r,$network:o,$icon:a})=>`
835
+ ${a?"auto":""}
836
+ ${e||o?"1fr":""}
837
+ ${r?"auto":""}
838
+ `};
839
+ grid-template-areas: ${({$network:e,$icon:r})=>`
840
+ "${r?"icon ":""}longname shortname"
841
+ ${e?`"${r?".":""} network ."`:""}
842
+ `};
843
+ width: 100%;
844
+ column-gap: 10px;
845
+ align-items: center;
846
+ `,Wr=n(v).attrs({variant:"body-m-bold"})`
847
+ color: ${({theme:e})=>e.colors.primary.darkBlue};
848
+ grid-area: longname;
849
+ `,_r=n(v).attrs({variant:"body-m"})`
850
+ color: ${({theme:e})=>e.colors.gray.darkGray};
851
+ grid-area: shortname;
852
+ `,Ir=n(v).attrs({variant:"body-s"})`
853
+ color: ${({theme:e})=>e.colors.gray.darkGray2};
854
+ grid-area: network;
855
+ `,Pe=({icon:e,network:r,longName:o,shortName:a})=>t.jsxs(zr,{$icon:!!e,$longname:!!o,$shortname:!!a,$network:!!r,children:[e,t.jsx(Wr,{children:o}),a&&t.jsx(_r,{children:a}),r&&t.jsx(Ir,{children:r})]}),Or=n.styled.div`
856
+ display: flex;
857
+ flex-direction: column;
858
+ align-items: flex-start;
859
+ padding: 16px;
860
+ background: ${({theme:e})=>e.colors.gray.lightBlueGray};
861
+ border-radius: 10px;
862
+ gap: 14px;
863
+ `,Mr=n.styled.div`
864
+ display: flex;
865
+ flex-direction: row;
866
+ align-items: flex-start;
867
+ padding: 0px;
868
+ gap: 10px;
869
+ width: 100%;
870
+ `,Te=n.styled.div`
871
+ display: flex;
872
+ flex-direction: column;
873
+ align-items: flex-start;
874
+ gap: 8px;
875
+ padding: 0px;
876
+ width: 100%;
877
+ `,Ee=n.styled(v).attrs({variant:"body-s"})`
878
+ color: ${({theme:e})=>e.colors.gray.darkGray};
879
+ `,Re=n.styled(v).attrs({variant:"body-m-bold"})`
880
+ color: ${({theme:e})=>e.colors.primary.darkBlue};
881
+ `,Pr=({longName:e,shortName:r,network:o,icon:a,buyLabel:l,sellLabel:d,buyValue:p,sellValue:x})=>t.jsxs(Or,{children:[t.jsx(Pe,{longName:e,shortName:r,network:o,icon:a}),(p||x)&&t.jsxs(Mr,{children:[p&&t.jsxs(Te,{children:[t.jsx(Ee,{children:l}),t.jsx(Re,{children:p})]}),x&&t.jsxs(Te,{children:[t.jsx(Ee,{children:d}),t.jsx(Re,{children:x})]})]})]}),Dr=n.styled.div`
882
+ display: grid;
883
+ grid-template-columns: auto 1fr;
884
+ row-gap: 12px;
885
+ column-gap: 10px;
886
+ width: 100%;
887
+ background: #f5f5f5;
888
+ border-radius: 10px;
889
+ padding: 18px 24px;
890
+ ${({theme:e})=>e.media.maxWidth.tablet} {
891
+ grid-template-columns: 1fr 1fr;
892
+ padding: 18px 20px;
893
+ }
894
+ ${({theme:e})=>e.media.maxWidth.mobile} {
895
+ padding: 16px 14px;
896
+ grid-template-columns: auto;
897
+ row-gap: 8px;
898
+ & > *:not(:nth-child(2n)) {
899
+ margin-top: 4px;
900
+ }
901
+ }
902
+ `,ue=n.styled(v).attrs({variant:"body-m",forwardedAs:"p"})`
903
+ color: ${({theme:e})=>e.colors.primary.darkBlue};
904
+ `,fe=n.styled(v).attrs({variant:"body-m-bold",forwardedAs:"p"})`
905
+ display: flex;
906
+ gap: 8px;
907
+ align-items: center;
908
+ color: ${({theme:e})=>e.colors.primary.darkBlue};
909
+ `,Gr=n.styled.button`
910
+ border: none;
911
+ background: none;
912
+ cursor: pointer;
913
+ padding: 0;
914
+ `,Fr=({text:e,size:r=18})=>{const[o,a]=c.useState(!1),l=c.useRef(null);c.useEffect(()=>(o&&(l.current=setTimeout(()=>{a(!1)},1500)),()=>{l.current&&clearTimeout(l.current)}),[o]);const d=async()=>{await Me(e),a(!0)};return t.jsx(Gr,{onClick:d,children:o?t.jsx(nt,{size:r}):t.jsx(lt,{size:r})})},Nr=({cardHolderLabel:e,cardHolderName:r,cardNumberLabel:o,cardNumber:a,merchantLabel:l,merchantName:d,descriptionLabel:p,description:x})=>t.jsxs(Dr,{children:[t.jsx(ue,{children:e}),t.jsx(fe,{children:r}),t.jsx(ue,{children:o}),t.jsxs(fe,{children:[a&&Oe(a),a&&t.jsx(Fr,{text:a.toString()})]}),t.jsx(ue,{children:l}),t.jsx(fe,{children:d}),t.jsx(ue,{children:p}),t.jsx(fe,{children:x})]}),Vr=n.styled.div`
915
+ display: flex;
916
+ align-items: center;
917
+ gap: 12px;
918
+ flex-wrap: wrap;
919
+ width: 100%;
920
+ justify-content: space-between;
921
+ `,Yr=n.styled(v).attrs({forwardedAs:"p",variant:"body-m-semibold"})`
922
+ margin: 0;
923
+ flex: 1 1 auto;
924
+ color: ${({theme:e})=>e.colors.gray.darkGray};
925
+ `,Zr=n.styled.div`
926
+ display: flex;
927
+ align-items: center;
928
+ gap: 8px;
929
+ flex: 1 1 auto;
930
+ `,Ur=n.styled(v).attrs({forwardedAs:"p",variant:"body-s-semibold"})`
931
+ margin: 0;
932
+ color: ${({theme:e})=>e.colors.primary.darkBlue};
933
+ `,Xr=({label:e,statusValue:r,type:o})=>{const a=c.useMemo(()=>{switch(o){case"success":return t.jsx(Le,{size:18});case"pending":default:return t.jsx(He,{size:18})}},[o]);return t.jsxs(Vr,{children:[t.jsx(Yr,{children:e}),t.jsxs(Zr,{children:[a,t.jsx(Ur,{children:r})]})]})};exports.ApplicationData=$r;exports.ApplicationInfo=Sr;exports.ApplicationStatus=Br;exports.BalanceRow=Lr;exports.Button=Be;exports.Checkbox=yr;exports.Container=vt;exports.CopyTooltip=et;exports.Counter=kt;exports.CurrencyName=Pe;exports.CurrencyRate=Pr;exports.HamburgerButton=jt;exports.Informer=ut;exports.Loader=Tt;exports.RadioButton=At;exports.Requisites=Nr;exports.SelectField=We;exports.Switcher=fr;exports.TabList=or;exports.Table=cr;exports.TextField=ze;exports.Tooltip=_e;exports.TransactionStatus=Xr;exports.Typography=v;exports.UserAccount=Qt;exports.copyToClipboard=Me;exports.formatCardNumber=Oe;exports.maskEmail=Ie;