takeat-design-system-ui-kit 0.1.2 → 0.1.3
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/esm/index.js +55 -1021
- package/dist/esm/index.js.map +1 -1
- package/index.ts +55 -1021
- package/package.json +1 -1
- package/dist/assets/index-CRRwlNPv.js +0 -40
- package/dist/assets/index-DiwrgTda.css +0 -1
- package/dist/index.html +0 -14
- package/dist/vite.svg +0 -1
package/dist/esm/index.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import{jsx as
|
|
1
|
+
import{jsx as r,jsxs as o,Fragment as t}from"react/jsx-runtime";import{forwardRef as e,useMemo as a}from"react";import l,{useTheme as i}from"styled-components";import"axios";import"date-fns";const n="8px",s="16px",c=l.button`
|
|
2
2
|
width: fit-content;
|
|
3
3
|
height: 32px;
|
|
4
4
|
border: none;
|
|
5
|
-
padding: 0 ${
|
|
6
|
-
background-color: ${({theme:
|
|
7
|
-
border-radius: ${
|
|
5
|
+
padding: 0 ${s};
|
|
6
|
+
background-color: ${({theme:r,colorVariants:o})=>o?.default||r.colors.primary.default};
|
|
7
|
+
border-radius: ${n};
|
|
8
8
|
cursor: pointer;
|
|
9
9
|
display: inline-flex;
|
|
10
10
|
justify-content: center;
|
|
11
11
|
align-items: center;
|
|
12
|
-
gap: ${
|
|
12
|
+
gap: ${n};
|
|
13
13
|
transition: all 0.3s;
|
|
14
14
|
|
|
15
15
|
font-family: Poppins;
|
|
@@ -18,122 +18,122 @@ import{jsx as e,jsxs as t,Fragment as n}from"react/jsx-runtime";import*as o from
|
|
|
18
18
|
line-height: 16px;
|
|
19
19
|
letter-spacing: 0.5px;
|
|
20
20
|
text-align: center;
|
|
21
|
-
color: ${({theme:
|
|
21
|
+
color: ${({theme:r})=>r.colors.neutral.lightest};
|
|
22
22
|
|
|
23
23
|
svg {
|
|
24
24
|
width: 12px;
|
|
25
25
|
height: 12px;
|
|
26
|
-
fill: ${({theme:
|
|
26
|
+
fill: ${({theme:r})=>r.colors.neutral.lightest};
|
|
27
27
|
flex-shrink: 0;
|
|
28
28
|
}
|
|
29
29
|
|
|
30
30
|
&:hover {
|
|
31
|
-
background-color: ${({theme:
|
|
31
|
+
background-color: ${({theme:r,colorVariants:o})=>o?.dark||r.colors.primary.dark};
|
|
32
32
|
}
|
|
33
33
|
|
|
34
34
|
&:active {
|
|
35
|
-
background-color: ${({theme:
|
|
35
|
+
background-color: ${({theme:r,colorVariants:o})=>o?.darker||r.colors.primary.darker};
|
|
36
36
|
}
|
|
37
37
|
|
|
38
38
|
&:focus-visible {
|
|
39
39
|
outline: 1px solid
|
|
40
|
-
${({theme:
|
|
40
|
+
${({theme:r,colorVariants:o})=>o?.darker||r.colors.primary.darker};
|
|
41
41
|
}
|
|
42
42
|
|
|
43
43
|
&:disabled {
|
|
44
|
-
background-color: ${({theme:
|
|
45
|
-
color: ${({theme:
|
|
44
|
+
background-color: ${({theme:r})=>r.colors.neutral.lighter};
|
|
45
|
+
color: ${({theme:r})=>r.colors.neutral.light};
|
|
46
46
|
cursor: default;
|
|
47
47
|
}
|
|
48
|
-
`,
|
|
48
|
+
`,d=l(c)`
|
|
49
49
|
background-color: transparent;
|
|
50
50
|
border: 1px solid
|
|
51
|
-
${({theme:
|
|
52
|
-
color: ${({theme:
|
|
51
|
+
${({theme:r,colorVariants:o})=>o?.default||r.colors.primary.default};
|
|
52
|
+
color: ${({theme:r,colorVariants:o})=>o?.default||r.colors.primary.default};
|
|
53
53
|
|
|
54
54
|
svg {
|
|
55
|
-
fill: ${({theme:
|
|
55
|
+
fill: ${({theme:r,colorVariants:o})=>o?.default||r.colors.primary.default};
|
|
56
56
|
}
|
|
57
57
|
|
|
58
58
|
&:hover {
|
|
59
|
-
background-color: ${({theme:
|
|
59
|
+
background-color: ${({theme:r,colorVariants:o})=>o?.lightest||r.colors.primary.lightest};
|
|
60
60
|
}
|
|
61
61
|
|
|
62
62
|
&:active {
|
|
63
|
-
background-color: ${({theme:
|
|
63
|
+
background-color: ${({theme:r,colorVariants:o})=>o?.lighter||r.colors.primary.lighter};
|
|
64
64
|
}
|
|
65
65
|
|
|
66
66
|
&:disabled {
|
|
67
|
-
background-color: ${({theme:
|
|
68
|
-
color: ${({theme:
|
|
69
|
-
border-color: ${({theme:
|
|
67
|
+
background-color: ${({theme:r})=>r.colors.neutral.lightest};
|
|
68
|
+
color: ${({theme:r})=>r.colors.neutral.light};
|
|
69
|
+
border-color: ${({theme:r})=>r.colors.neutral.light};
|
|
70
70
|
}
|
|
71
|
-
`,
|
|
72
|
-
background-color: ${({theme:
|
|
73
|
-
color: ${({theme:
|
|
71
|
+
`,h=l(c)`
|
|
72
|
+
background-color: ${({theme:r,colorVariants:o})=>o?.lightest||r.colors.primary.lightest};
|
|
73
|
+
color: ${({theme:r,colorVariants:o})=>o?.darker||r.colors.primary.darker};
|
|
74
74
|
|
|
75
75
|
svg {
|
|
76
|
-
fill: ${({theme:
|
|
76
|
+
fill: ${({theme:r})=>r.colors.primary.darker};
|
|
77
77
|
}
|
|
78
78
|
|
|
79
79
|
&:hover {
|
|
80
|
-
background-color: ${({theme:
|
|
80
|
+
background-color: ${({theme:r,colorVariants:o})=>o?.lighter||r.colors.primary.lighter};
|
|
81
81
|
}
|
|
82
82
|
|
|
83
83
|
&:active {
|
|
84
|
-
background-color: ${({theme:
|
|
84
|
+
background-color: ${({theme:r,colorVariants:o})=>o?.light||r.colors.primary.light};
|
|
85
85
|
}
|
|
86
86
|
|
|
87
87
|
&:disabled {
|
|
88
|
-
background-color: ${({theme:
|
|
89
|
-
color: ${({theme:
|
|
88
|
+
background-color: ${({theme:r})=>r.colors.neutral.lighter};
|
|
89
|
+
color: ${({theme:r})=>r.colors.neutral.light};
|
|
90
90
|
}
|
|
91
|
-
`,
|
|
91
|
+
`,m=l(c)`
|
|
92
92
|
background-color: transparent;
|
|
93
|
-
color: ${({theme:
|
|
93
|
+
color: ${({theme:r,colorVariants:o})=>o?.default||r.colors.primary.default};
|
|
94
94
|
|
|
95
95
|
svg {
|
|
96
|
-
fill: ${({theme:
|
|
96
|
+
fill: ${({theme:r,colorVariants:o})=>o?.default||r.colors.primary.default};
|
|
97
97
|
transition: all 0.3s;
|
|
98
98
|
}
|
|
99
99
|
|
|
100
100
|
&:hover {
|
|
101
101
|
background-color: transparent;
|
|
102
|
-
color: ${({theme:
|
|
102
|
+
color: ${({theme:r,colorVariants:o})=>o?.dark||r.colors.primary.dark};
|
|
103
103
|
svg {
|
|
104
|
-
fill: ${({theme:
|
|
104
|
+
fill: ${({theme:r,colorVariants:o})=>o?.dark||r.colors.primary.dark};
|
|
105
105
|
}
|
|
106
106
|
}
|
|
107
107
|
|
|
108
108
|
&:active {
|
|
109
109
|
background-color: transparent;
|
|
110
|
-
color: ${({theme:
|
|
110
|
+
color: ${({theme:r,colorVariants:o})=>o?.darker||r.colors.primary.darker};
|
|
111
111
|
svg {
|
|
112
|
-
fill: ${({theme:
|
|
112
|
+
fill: ${({theme:r,colorVariants:o})=>o?.darker||r.colors.primary.darker};
|
|
113
113
|
}
|
|
114
114
|
}
|
|
115
115
|
|
|
116
116
|
&:disabled {
|
|
117
117
|
background-color: transparent;
|
|
118
|
-
color: ${({theme:
|
|
118
|
+
color: ${({theme:r})=>r.colors.neutral.light};
|
|
119
119
|
}
|
|
120
|
-
`,
|
|
120
|
+
`,u=l(d)`
|
|
121
121
|
border-radius: 0;
|
|
122
|
-
background-color: ${({theme:
|
|
123
|
-
color: ${({theme:
|
|
122
|
+
background-color: ${({theme:r,isSelected:o,colorVariants:t})=>o?t?.default||r.colors.primary.default:"transparent"};
|
|
123
|
+
color: ${({theme:r,isSelected:o,colorVariants:t})=>o?r.colors.neutral.lightest:t?.default||r.colors.primary.default};
|
|
124
124
|
|
|
125
125
|
&:hover {
|
|
126
|
-
color: ${({theme:
|
|
126
|
+
color: ${({theme:r,colorVariants:o})=>o?.default||r.colors.primary.default};
|
|
127
127
|
}
|
|
128
128
|
|
|
129
129
|
&:first-child {
|
|
130
|
-
border-top-left-radius: ${
|
|
131
|
-
border-bottom-left-radius: ${
|
|
130
|
+
border-top-left-radius: ${n};
|
|
131
|
+
border-bottom-left-radius: ${n};
|
|
132
132
|
}
|
|
133
133
|
|
|
134
134
|
&:last-child {
|
|
135
|
-
border-top-right-radius: ${
|
|
136
|
-
border-bottom-right-radius: ${
|
|
135
|
+
border-top-right-radius: ${n};
|
|
136
|
+
border-bottom-right-radius: ${n};
|
|
137
137
|
}
|
|
138
138
|
|
|
139
139
|
&:not(:last-child) {
|
|
@@ -142,27 +142,27 @@ import{jsx as e,jsxs as t,Fragment as n}from"react/jsx-runtime";import*as o from
|
|
|
142
142
|
|
|
143
143
|
&:disabled {
|
|
144
144
|
background-color: transparent;
|
|
145
|
-
color: ${({theme:
|
|
145
|
+
color: ${({theme:r})=>r.colors.neutral.light};
|
|
146
146
|
}
|
|
147
|
-
`;
|
|
147
|
+
`;l.table`
|
|
148
148
|
width: 100%;
|
|
149
149
|
border-collapse: collapse;
|
|
150
150
|
|
|
151
151
|
th {
|
|
152
152
|
border: 1px solid black;
|
|
153
|
-
padding: ${
|
|
154
|
-
background-color: ${({theme:
|
|
153
|
+
padding: ${n};
|
|
154
|
+
background-color: ${({theme:r})=>r.colors.neutral.lightest};
|
|
155
155
|
}
|
|
156
156
|
|
|
157
157
|
td {
|
|
158
158
|
border: 1px solid black;
|
|
159
|
-
padding: ${
|
|
159
|
+
padding: ${n};
|
|
160
160
|
text-align: center;
|
|
161
161
|
}
|
|
162
|
-
`;const
|
|
163
|
-
width: ${({size:
|
|
164
|
-
height: ${({size:
|
|
165
|
-
background-image: ${({theme:
|
|
162
|
+
`;const g=(r,o,t)=>{let e=(t/=100)*(o/=100),a=e*(1-Math.abs(r/60%2-1)),l=t-e,i=0,n=0,s=0;0<=r&&r<60?(i=e,n=a,s=0):60<=r&&r<120?(i=a,n=e,s=0):120<=r&&r<180?(i=0,n=e,s=a):180<=r&&r<240?(i=0,n=a,s=e):240<=r&&r<300?(i=a,n=0,s=e):300<=r&&r<360&&(i=e,n=0,s=a),i=Math.round(255*(i+l)),n=Math.round(255*(n+l)),s=Math.round(255*(s+l));let c=r=>r.toString(16).padStart(2,"0");return`#${c(i)}${c(n)}${c(s)}`},p=r=>{let[o,t,e]=(r=>{r=r.replace(/^#/,"");let o=parseInt(r.substring(0,2),16)/255,t=parseInt(r.substring(2,4),16)/255,e=parseInt(r.substring(4,6),16)/255,a=Math.max(o,t,e),l=a-Math.min(o,t,e),i=100*a,n=0===a?0:l/a*100,s=0;return 0!==l&&(s=a===o?(t-e)/l+(t<e?6:0):a===t?(e-o)/l+2:(o-t)/l+4,s=Math.round(60*s)),[s,Math.round(n),Math.round(i)]})(r),a=Math.max(t-20,0),l=Math.min(e+4,100),i=g(o,a,l),n=Math.max(t-40,0),s=Math.min(e+8,100),c=g(o,n,s),d=Math.max(t-60,0),h=Math.min(e+12,100),m=g(o,d,h),u=Math.min(t+4,100),p=Math.max(e-20,0),$=g(o,u,p),b=Math.min(t+8,100),f=Math.max(e-40,0);return{lightest:m,lighter:c,light:i,default:r,dark:$,darker:g(o,b,f)}},$=l.div`
|
|
163
|
+
width: ${({size:r})=>r||22}px;
|
|
164
|
+
height: ${({size:r})=>r||22}px;
|
|
165
|
+
background-image: ${({theme:r,color:o})=>`conic-gradient(\n ${o||r.colors.primary.default} 0%,\n transparent 5%,\n transparent 10%,\n ${o||r.colors.primary.default} 100%\n )`};
|
|
166
166
|
mask-image: url("data:image/svg+xml, <svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'><path d='M9.249 0.645999C9.63764 0.588245 10.0334 0.685283 10.3513 0.916254C10.6691 1.14722 10.8837 1.49369 10.9488 1.88116C11.0139 2.26864 10.9243 2.66619 10.6994 2.98835C10.4745 3.31051 10.1322 3.53157 9.746 3.604C7.99897 3.90027 6.41326 4.80555 5.26996 6.15934C4.12666 7.51314 3.49963 9.22802 3.5 11C3.5 12.9891 4.29018 14.8968 5.6967 16.3033C7.10322 17.7098 9.01088 18.5 11 18.5V21.5C5.201 21.5 0.5 16.8 0.5 11C0.5 5.855 4.226 1.49 9.249 0.645999ZM15.892 3.29799C16.0235 3.15124 16.1827 3.03185 16.3604 2.94664C16.5381 2.86143 16.7309 2.81208 16.9277 2.8014C17.1245 2.79072 17.3214 2.81892 17.5073 2.8844C17.6932 2.94987 17.8643 3.05134 18.011 3.18299C19.11 4.16702 19.9888 5.37197 20.59 6.71901C21.1913 8.06606 21.5013 9.52486 21.5 11C21.5 16.8 16.799 21.5 11 21.5V18.5C12.5182 18.5 14.0006 18.0393 15.2513 17.1788C16.502 16.3182 17.4621 15.0984 18.0047 13.6805C18.5473 12.2626 18.6469 10.7135 18.2902 9.23782C17.9335 7.76216 17.1373 6.42949 16.007 5.41599C15.7109 5.15036 15.5325 4.778 15.5109 4.38081C15.4893 3.98361 15.6264 3.59412 15.892 3.29799Z'/></svg>");
|
|
167
167
|
mask-size: contain;
|
|
168
168
|
mask-repeat: no-repeat;
|
|
@@ -177,971 +177,5 @@ import{jsx as e,jsxs as t,Fragment as n}from"react/jsx-runtime";import*as o from
|
|
|
177
177
|
rotate: 360deg;
|
|
178
178
|
}
|
|
179
179
|
}
|
|
180
|
-
`,
|
|
181
|
-
position: relative;
|
|
182
|
-
width: fit-content;
|
|
183
|
-
`,ge=I.button`
|
|
184
|
-
display: flex;
|
|
185
|
-
align-items: center;
|
|
186
|
-
justify-content: center;
|
|
187
|
-
gap: ${({theme:e})=>e.spacing.xs};
|
|
188
|
-
background-color: #fff;
|
|
189
|
-
border: 1px solid ${({theme:e})=>e.colors.primary.default};
|
|
190
|
-
border-radius: ${({theme:e})=>e.radius.m};
|
|
191
|
-
padding: ${({theme:e})=>e.spacing.xs} ${({theme:e})=>e.spacing.s};
|
|
192
|
-
width: 375px;
|
|
193
|
-
cursor: pointer;
|
|
194
|
-
|
|
195
|
-
color: ${({theme:e})=>e.colors.neutral.dark};
|
|
196
|
-
font-family: ${({theme:e})=>e.typography.family.default};
|
|
197
|
-
font-size: 14px;
|
|
198
|
-
font-style: normal;
|
|
199
|
-
font-weight: 500;
|
|
200
|
-
line-height: 20px; /* 142.857% */
|
|
201
|
-
letter-spacing: 0.1px;
|
|
202
|
-
|
|
203
|
-
span {
|
|
204
|
-
font-weight: 400;
|
|
205
|
-
}
|
|
206
|
-
|
|
207
|
-
svg {
|
|
208
|
-
fill: ${({theme:e})=>e.colors.primary.default};
|
|
209
|
-
width: 20px;
|
|
210
|
-
height: 20px;
|
|
211
|
-
}
|
|
212
|
-
|
|
213
|
-
&:disabled {
|
|
214
|
-
cursor: default;
|
|
215
|
-
color: ${({theme:e})=>e.colors.neutral.light};
|
|
216
|
-
border-color: ${({theme:e})=>e.colors.neutral.light};
|
|
217
|
-
|
|
218
|
-
svg {
|
|
219
|
-
fill: ${({theme:e})=>e.colors.neutral.light};
|
|
220
|
-
}
|
|
221
|
-
}
|
|
222
|
-
`,fe=I.div`
|
|
223
|
-
position: absolute;
|
|
224
|
-
top: ${({theme:e})=>`calc(100% + ${e.spacing.xxs})`};
|
|
225
|
-
right: 0;
|
|
226
|
-
display: ${({show:e})=>e?"flex":"none"};
|
|
227
|
-
flex-direction: column;
|
|
228
|
-
background-color: #fff;
|
|
229
|
-
border-radius: ${({theme:e})=>e.radius.m};
|
|
230
|
-
box-shadow: ${({theme:e})=>e.shadows.default};
|
|
231
|
-
`,he=I.div`
|
|
232
|
-
display: flex;
|
|
233
|
-
`,me=I.div`
|
|
234
|
-
display: flex;
|
|
235
|
-
flex-direction: column;
|
|
236
|
-
padding: ${({theme:e})=>e.spacing.s};
|
|
237
|
-
|
|
238
|
-
ul {
|
|
239
|
-
list-style: none;
|
|
240
|
-
display: flex;
|
|
241
|
-
margin: 0 auto;
|
|
242
|
-
}
|
|
243
|
-
|
|
244
|
-
li {
|
|
245
|
-
display: flex;
|
|
246
|
-
width: 30px;
|
|
247
|
-
height: 30px;
|
|
248
|
-
justify-content: center;
|
|
249
|
-
align-items: center;
|
|
250
|
-
|
|
251
|
-
color: ${({theme:e})=>e.colors.neutral.dark};
|
|
252
|
-
font-family: ${({theme:e})=>e.typography.family.default};
|
|
253
|
-
font-size: 14px;
|
|
254
|
-
font-style: normal;
|
|
255
|
-
font-weight: 700;
|
|
256
|
-
line-height: 20px; /* 142.857% */
|
|
257
|
-
letter-spacing: 0.1px;
|
|
258
|
-
}
|
|
259
|
-
`,be=I.div`
|
|
260
|
-
display: flex;
|
|
261
|
-
justify-content: space-between;
|
|
262
|
-
align-items: center;
|
|
263
|
-
padding-bottom: ${({theme:e})=>e.spacing.xs};
|
|
264
|
-
border-bottom: 1px solid ${({theme:e})=>e.colors.neutral.lighter};
|
|
265
|
-
|
|
266
|
-
span {
|
|
267
|
-
color: ${({theme:e})=>e.colors.primary.default};
|
|
268
|
-
font-family: ${({theme:e})=>e.typography.family.default};
|
|
269
|
-
font-size: 16px;
|
|
270
|
-
font-style: normal;
|
|
271
|
-
font-weight: 700;
|
|
272
|
-
line-height: 35px;
|
|
273
|
-
text-transform: capitalize;
|
|
274
|
-
}
|
|
275
|
-
|
|
276
|
-
svg {
|
|
277
|
-
cursor: pointer;
|
|
278
|
-
fill: ${({theme:e})=>e.colors.primary.default};
|
|
279
|
-
}
|
|
280
|
-
`,ve=I.div`
|
|
281
|
-
display: grid;
|
|
282
|
-
grid-template-columns: repeat(7, 30px);
|
|
283
|
-
margin: 0 auto;
|
|
284
|
-
padding-top: ${({theme:e})=>e.spacing.xs};
|
|
285
|
-
gap: ${({theme:e})=>e.spacing.xxs} 0;
|
|
286
|
-
`,Ie=I.button`
|
|
287
|
-
cursor: pointer;
|
|
288
|
-
display: flex;
|
|
289
|
-
justify-content: center;
|
|
290
|
-
align-items: center;
|
|
291
|
-
width: 30px;
|
|
292
|
-
height: 30px;
|
|
293
|
-
border: none;
|
|
294
|
-
background-color: transparent;
|
|
295
|
-
transition: all 0.3s;
|
|
296
|
-
|
|
297
|
-
color: ${({theme:e,isSelected:t})=>t?"#fff":e.colors.neutral.dark};
|
|
298
|
-
|
|
299
|
-
font-family: ${({theme:e})=>e.typography.family.default};
|
|
300
|
-
font-size: 14px;
|
|
301
|
-
font-style: normal;
|
|
302
|
-
font-weight: 500;
|
|
303
|
-
line-height: 20px;
|
|
304
|
-
letter-spacing: 0.1px;
|
|
305
|
-
|
|
306
|
-
&:hover {
|
|
307
|
-
background-color: ${({theme:e,isSelected:t})=>!t&&e.colors.primary.lighter};
|
|
308
|
-
color: #fff;
|
|
309
|
-
}
|
|
310
|
-
|
|
311
|
-
${({isSelected:e,theme:t})=>e&&`\n background-color: ${t.colors.primary.default};\n color: #fff;\n `}
|
|
312
|
-
|
|
313
|
-
${({isHovered:e,theme:t})=>e&&`\n background-color: ${t.colors.primary.lighter};\n color: #fff;\n `}
|
|
314
|
-
|
|
315
|
-
&:disabled {
|
|
316
|
-
background-color: transparent;
|
|
317
|
-
color: ${({theme:e})=>e.colors.neutral.light};
|
|
318
|
-
}
|
|
319
|
-
|
|
320
|
-
${({isFirst:e})=>e&&"border-top-left-radius: 50%; border-bottom-left-radius: 50%;"}
|
|
321
|
-
|
|
322
|
-
${({isLast:e})=>e&&"border-top-right-radius: 50%; border-bottom-right-radius: 50%;"}
|
|
323
|
-
`,ye=I.div`
|
|
324
|
-
padding: ${({theme:e})=>e.spacing.s};
|
|
325
|
-
display: flex;
|
|
326
|
-
justify-content: flex-end;
|
|
327
|
-
gap: ${({theme:e})=>e.spacing.xs};
|
|
328
|
-
border-top: 1px solid ${({theme:e})=>e.colors.neutral.lighter};
|
|
329
|
-
`,Ce=I.div`
|
|
330
|
-
position: fixed;
|
|
331
|
-
top: 0;
|
|
332
|
-
left: 0;
|
|
333
|
-
right: 0;
|
|
334
|
-
bottom: 0;
|
|
335
|
-
background-color: rgba(0, 0, 0, 0.01);
|
|
336
|
-
z-index: -1;
|
|
337
|
-
`,xe=import.meta.glob("../assets/icons/*.svg",{eager:!0}),we={};for(const e in xe){const t=e.split("/").pop()?.replace(".svg","");we[t]=xe[e].ReactComponent}const Ae=i((function({icon:t,color:n=Q.neutral.darker,size:o=26,...r}){const i=we[t];return i?e(i,{fill:n,...r,height:o,width:o}):null})),ke=I.div`
|
|
338
|
-
display: flex;
|
|
339
|
-
flex-direction: column;
|
|
340
|
-
gap: ${j};
|
|
341
|
-
width: fit-content;
|
|
342
|
-
|
|
343
|
-
color: ${({theme:e})=>e.colors.neutral.dark};
|
|
344
|
-
font-size: 14px;
|
|
345
|
-
font-style: normal;
|
|
346
|
-
font-weight: 400;
|
|
347
|
-
line-height: 20px; /* 142.857% */
|
|
348
|
-
letter-spacing: 0.1px;
|
|
349
|
-
|
|
350
|
-
label {
|
|
351
|
-
font-size: 16px;
|
|
352
|
-
font-style: normal;
|
|
353
|
-
font-weight: 600;
|
|
354
|
-
line-height: 24px; /* 150% */
|
|
355
|
-
letter-spacing: 0.15px;
|
|
356
|
-
color: ${({theme:e})=>e.colors.neutral.dark};
|
|
357
|
-
}
|
|
358
|
-
|
|
359
|
-
&:has(input:disabled) {
|
|
360
|
-
label {
|
|
361
|
-
color: ${({theme:e})=>e.colors.neutral.light};
|
|
362
|
-
}
|
|
363
|
-
|
|
364
|
-
.additional-info {
|
|
365
|
-
color: ${({theme:e})=>e.colors.neutral.light};
|
|
366
|
-
}
|
|
367
|
-
}
|
|
368
|
-
`,Ge=I.div`
|
|
369
|
-
position: relative;
|
|
370
|
-
display: inline-flex;
|
|
371
|
-
flex-direction: column;
|
|
372
|
-
gap: ${j};
|
|
373
|
-
width: fit-content;
|
|
374
|
-
|
|
375
|
-
color: ${({theme:e})=>e.colors.neutral.default};
|
|
376
|
-
font-size: 12px;
|
|
377
|
-
font-style: normal;
|
|
378
|
-
font-weight: 400;
|
|
379
|
-
line-height: 16px; /* 133.333% */
|
|
380
|
-
letter-spacing: 0.4px;
|
|
381
|
-
|
|
382
|
-
svg {
|
|
383
|
-
position: absolute;
|
|
384
|
-
fill: ${({theme:e})=>e.colors.neutral.dark};
|
|
385
|
-
bottom: 10px;
|
|
386
|
-
left: 16px;
|
|
387
|
-
width: 20px;
|
|
388
|
-
height: 20px;
|
|
389
|
-
}
|
|
390
|
-
|
|
391
|
-
.close-icon {
|
|
392
|
-
right: 16px;
|
|
393
|
-
left: unset;
|
|
394
|
-
cursor: pointer;
|
|
395
|
-
}
|
|
396
|
-
|
|
397
|
-
.error-icon {
|
|
398
|
-
right: 16px;
|
|
399
|
-
fill: ${({theme:e})=>e.colors.red.default};
|
|
400
|
-
left: unset;
|
|
401
|
-
}
|
|
402
|
-
|
|
403
|
-
input {
|
|
404
|
-
height: 40px;
|
|
405
|
-
padding: 10px 16px;
|
|
406
|
-
border-radius: 8px;
|
|
407
|
-
border: 1px solid ${({theme:e})=>e.colors.neutral.darker};
|
|
408
|
-
background-color: transparent;
|
|
409
|
-
|
|
410
|
-
color: ${({theme:e})=>e.colors.neutral.dark};
|
|
411
|
-
font-family: Poppins;
|
|
412
|
-
font-size: 14px;
|
|
413
|
-
font-style: normal;
|
|
414
|
-
font-weight: 400;
|
|
415
|
-
line-height: 20px; /* 142.857% */
|
|
416
|
-
letter-spacing: 0.1px;
|
|
417
|
-
|
|
418
|
-
${({hasError:e,theme:t})=>e&&`border-color: ${t.colors.red.default};\n padding-right: 36px;`}
|
|
419
|
-
|
|
420
|
-
&::placeholder {
|
|
421
|
-
color: ${({theme:e})=>e.colors.neutral.default};
|
|
422
|
-
}
|
|
423
|
-
|
|
424
|
-
&:focus {
|
|
425
|
-
outline: none;
|
|
426
|
-
}
|
|
427
|
-
|
|
428
|
-
&:focus-visible {
|
|
429
|
-
border: 1px solid ${({theme:e})=>e.colors.blue.dark};
|
|
430
|
-
}
|
|
431
|
-
|
|
432
|
-
&:disabled {
|
|
433
|
-
cursor: default;
|
|
434
|
-
border-color: ${({theme:e})=>e.colors.neutral.light};
|
|
435
|
-
|
|
436
|
-
&::placeholder {
|
|
437
|
-
color: ${({theme:e})=>e.colors.neutral.light};
|
|
438
|
-
}
|
|
439
|
-
}
|
|
440
|
-
}
|
|
441
|
-
`,Ve=I.div`
|
|
442
|
-
color: ${({theme:e,isError:t})=>t?e.colors.primary.default:e.colors.neutral.dark};
|
|
443
|
-
font-size: 12px;
|
|
444
|
-
font-style: normal;
|
|
445
|
-
font-weight: 400;
|
|
446
|
-
line-height: 16px;
|
|
447
|
-
height: 16px;
|
|
448
|
-
letter-spacing: 0.4px;
|
|
449
|
-
`;function We(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Be,Se,Ne,Xe,Ze,Re,Oe,Te,Le,Me={exports:{}};function Pe(){if(Se)return Be;Se=1;var e,t=(e=r)&&"object"==typeof e&&"default"in e?e.default:e,n=z;function o(){return(o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e}).apply(this,arguments)}function i(e,t){e.prototype=Object.create(t.prototype),function(e,t){for(var n=Object.getOwnPropertyNames(t),o=0;o<n.length;o++){var r=n[o],i=Object.getOwnPropertyDescriptor(t,r);i&&i.configurable&&void 0===e[r]&&Object.defineProperty(e,r,i)}}(e.prototype.constructor=e,t)}function a(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var l=function(e,t,n,o,r,i,a,l){if(!e){var s;if(void 0===t)s=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[n,o,r,i,a,l],u=0;(s=new Error(t.replace(/%s/g,(function(){return c[u++]})))).name="Invariant Violation"}throw s.framesToPop=1,s}};function s(e,t,n){if("selectionStart"in e&&"selectionEnd"in e)e.selectionStart=t,e.selectionEnd=n;else{var o=e.createTextRange();o.collapse(!0),o.moveStart("character",t),o.moveEnd("character",n-t),o.select()}}var c={9:"[0-9]",a:"[A-Za-z]","*":"[A-Za-z0-9]"};function u(e,t,n){var o="",r="",i=null,a=[];if(void 0===t&&(t="_"),null==n&&(n=c),!e||"string"!=typeof e)return{maskChar:t,formatChars:n,mask:null,prefix:null,lastEditablePosition:null,permanents:[]};var l=!1;return e.split("").forEach((function(e){l=!l&&"\\"===e||(l||!n[e]?(a.push(o.length),o.length===a.length-1&&(r+=e)):i=o.length+1,o+=e,!1)})),{maskChar:t,formatChars:n,prefix:r,mask:o,lastEditablePosition:i,permanents:a}}function d(e,t){return-1!==e.permanents.indexOf(t)}function p(e,t,n){var o=e.mask,r=e.formatChars;if(!n)return!1;if(d(e,t))return o[t]===n;var i=r[o[t]];return new RegExp(i).test(n)}function g(e,t){return t.split("").every((function(t,n){return d(e,n)||!p(e,n,t)}))}function f(e,t){var n=e.maskChar,o=e.prefix;if(!n){for(;t.length>o.length&&d(e,t.length-1);)t=t.slice(0,t.length-1);return t.length}for(var r=o.length,i=t.length;i>=o.length;i--){var a=t[i];if(!d(e,i)&&p(e,i,a)){r=i+1;break}}return r}function h(e,t){return f(e,t)===e.mask.length}function m(e,t){var n=e.maskChar,o=e.mask,r=e.prefix;if(!n){for((t=b(e,"",t,0)).length<r.length&&(t=r);t.length<o.length&&d(e,t.length);)t+=o[t.length];return t}if(t)return b(e,m(e,""),t,0);for(var i=0;i<o.length;i++)d(e,i)?t+=o[i]:t+=n;return t}function b(e,t,n,o){var r=e.mask,i=e.maskChar,a=e.prefix,l=n.split(""),s=h(e,t);return!i&&o>t.length&&(t+=r.slice(t.length,o)),l.every((function(n){for(;u=n,d(e,c=o)&&u!==r[c];){if(o>=t.length&&(t+=r[o]),l=n,i&&d(e,o)&&l===i)return!0;if(++o>=r.length)return!1}var l,c,u;return!p(e,o,n)&&n!==i||(o<t.length?t=i||s||o<a.length?t.slice(0,o)+n+t.slice(o+1):(t=t.slice(0,o)+n+t.slice(o),m(e,t)):i||(t+=n),++o<r.length)})),t}function v(e,t){for(var n=e.mask,o=t;o<n.length;++o)if(!d(e,o))return o;return null}function I(e){return e||0===e?e+"":""}function y(e,t,n,o,r){var i=e.mask,a=e.prefix,l=e.lastEditablePosition,s=t,c="",u=0,g=0,f=Math.min(r.start,n.start);return n.end>r.start?g=(u=function(e,t,n,o){var r=e.mask,i=e.maskChar,a=n.split(""),l=o;return a.every((function(t){for(;a=t,d(e,n=o)&&a!==r[n];)if(++o>=r.length)return!1;var n,a;return(p(e,o,t)||t===i)&&o++,o<r.length})),o-l}(e,0,c=s.slice(r.start,n.end),f))?r.length:0:s.length<o.length&&(g=o.length-s.length),s=o,g&&(1!==g||r.length||(f=r.start===n.start?v(e,n.start):function(e,t){for(var n=t;0<=n;--n)if(!d(e,n))return n;return null}(e,n.start)),s=function(e,t,n,o){var r=n+o,i=e.maskChar,a=e.mask,l=e.prefix,s=t.split("");if(i)return s.map((function(t,o){return o<n||r<=o?t:d(e,o)?a[o]:i})).join("");for(var c=r;c<s.length;c++)d(e,c)&&(s[c]="");return n=Math.max(l.length,n),s.splice(n,r-n),t=s.join(""),m(e,t)}(e,s,f,g)),s=b(e,s,c,f),(f+=u)>=i.length?f=i.length:f<a.length&&!u?f=a.length:f>=a.length&&f<l&&u&&(f=v(e,f)),c||(c=null),{value:s=m(e,s),enteredString:c,selection:{start:f,end:f}}}function C(e){return"function"==typeof e}function x(){return window.cancelAnimationFrame||window.webkitCancelRequestAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame}function w(e){return(x()?window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame:function(){return setTimeout(e,1e3/60)})(e)}function A(e){(x()||clearTimeout)(e)}var k=function(e){function r(t){var o=e.call(this,t)||this;o.focused=!1,o.mounted=!1,o.previousSelection=null,o.selectionDeferId=null,o.saveSelectionLoopDeferId=null,o.saveSelectionLoop=function(){o.previousSelection=o.getSelection(),o.saveSelectionLoopDeferId=w(o.saveSelectionLoop)},o.runSaveSelectionLoop=function(){null===o.saveSelectionLoopDeferId&&o.saveSelectionLoop()},o.stopSaveSelectionLoop=function(){null!==o.saveSelectionLoopDeferId&&(A(o.saveSelectionLoopDeferId),o.saveSelectionLoopDeferId=null,o.previousSelection=null)},o.getInputDOMNode=function(){if(!o.mounted)return null;var e=n.findDOMNode(a(a(o))),t="undefined"!=typeof window&&e instanceof window.Element;if(e&&!t)return null;if("INPUT"!==e.nodeName&&(e=e.querySelector("input")),!e)throw new Error("react-input-mask: inputComponent doesn't contain input node");return e},o.getInputValue=function(){var e=o.getInputDOMNode();return e?e.value:null},o.setInputValue=function(e){var t=o.getInputDOMNode();t&&(o.value=e,t.value=e)},o.setCursorToEnd=function(){var e=f(o.maskOptions,o.value),t=v(o.maskOptions,e);null!==t&&o.setCursorPosition(t)},o.setSelection=function(e,t,n){void 0===n&&(n={});var r=o.getInputDOMNode(),i=o.isFocused();r&&i&&(n.deferred||s(r,e,t),null!==o.selectionDeferId&&A(o.selectionDeferId),o.selectionDeferId=w((function(){o.selectionDeferId=null,s(r,e,t)})),o.previousSelection={start:e,end:t,length:Math.abs(t-e)})},o.getSelection=function(){return function(e){var t=0,n=0;if("selectionStart"in e&&"selectionEnd"in e)t=e.selectionStart,n=e.selectionEnd;else{var o=document.selection.createRange();o.parentElement()===e&&(t=-o.moveStart("character",-e.value.length),n=-o.moveEnd("character",-e.value.length))}return{start:t,end:n,length:n-t}}(o.getInputDOMNode())},o.getCursorPosition=function(){return o.getSelection().start},o.setCursorPosition=function(e){o.setSelection(e,e)},o.isFocused=function(){return o.focused},o.getBeforeMaskedValueChangeConfig=function(){var e=o.maskOptions,t=e.mask,n=e.maskChar,r=e.permanents,i=e.formatChars;return{mask:t,maskChar:n,permanents:r,alwaysShowMask:!!o.props.alwaysShowMask,formatChars:i}},o.isInputAutofilled=function(e,t,n,r){var i=o.getInputDOMNode();try{if(i.matches(":-webkit-autofill"))return!0}catch(e){}return!o.focused||r.end<n.length&&t.end===e.length},o.onChange=function(e){var t=a(a(o)).beforePasteState,n=a(a(o)).previousSelection,r=o.props.beforeMaskedValueChange,i=o.getInputValue(),l=o.value,s=o.getSelection();o.isInputAutofilled(i,s,l,n)&&(l=m(o.maskOptions,""),n={start:0,end:0,length:0}),t&&(n=t.selection,l=t.value,s={start:n.start+i.length,end:n.start+i.length,length:0},i=l.slice(0,n.start)+i+l.slice(n.end),o.beforePasteState=null);var c=y(o.maskOptions,i,s,l,n),u=c.enteredString,d=c.selection,p=c.value;if(C(r)){var g=r({value:p,selection:d},{value:l,selection:n},u,o.getBeforeMaskedValueChangeConfig());p=g.value,d=g.selection}o.setInputValue(p),C(o.props.onChange)&&o.props.onChange(e),o.isWindowsPhoneBrowser?o.setSelection(d.start,d.end,{deferred:!0}):o.setSelection(d.start,d.end)},o.onFocus=function(e){var t=o.props.beforeMaskedValueChange,n=o.maskOptions,r=n.mask,i=n.prefix;if(o.focused=!0,o.mounted=!0,r){if(o.value)f(o.maskOptions,o.value)<o.maskOptions.mask.length&&o.setCursorToEnd();else{var a=m(o.maskOptions,i),l=m(o.maskOptions,a),s=f(o.maskOptions,l),c=v(o.maskOptions,s),u={start:c,end:c};if(C(t)){var d=t({value:l,selection:u},{value:o.value,selection:null},null,o.getBeforeMaskedValueChangeConfig());l=d.value,u=d.selection}var p=l!==o.getInputValue();p&&o.setInputValue(l),p&&C(o.props.onChange)&&o.props.onChange(e),o.setSelection(u.start,u.end)}o.runSaveSelectionLoop()}C(o.props.onFocus)&&o.props.onFocus(e)},o.onBlur=function(e){var t=o.props.beforeMaskedValueChange,n=o.maskOptions.mask;if(o.stopSaveSelectionLoop(),o.focused=!1,n&&!o.props.alwaysShowMask&&g(o.maskOptions,o.value)){var r="";C(t)&&(r=t({value:r,selection:null},{value:o.value,selection:o.previousSelection},null,o.getBeforeMaskedValueChangeConfig()).value);var i=r!==o.getInputValue();i&&o.setInputValue(r),i&&C(o.props.onChange)&&o.props.onChange(e)}C(o.props.onBlur)&&o.props.onBlur(e)},o.onMouseDown=function(e){if(!o.focused&&document.addEventListener){o.mouseDownX=e.clientX,o.mouseDownY=e.clientY,o.mouseDownTime=(new Date).getTime();document.addEventListener("mouseup",(function e(t){if(document.removeEventListener("mouseup",e),o.focused){var n=Math.abs(t.clientX-o.mouseDownX),r=Math.abs(t.clientY-o.mouseDownY),i=Math.max(n,r),a=(new Date).getTime()-o.mouseDownTime;(i<=10&&a<=200||i<=5&&a<=300)&&o.setCursorToEnd()}}))}C(o.props.onMouseDown)&&o.props.onMouseDown(e)},o.onPaste=function(e){C(o.props.onPaste)&&o.props.onPaste(e),e.defaultPrevented||(o.beforePasteState={value:o.getInputValue(),selection:o.getSelection()},o.setInputValue(""))},o.handleRef=function(e){null==o.props.children&&C(o.props.inputRef)&&o.props.inputRef(e)};var r=t.mask,i=t.maskChar,l=t.formatChars,c=t.alwaysShowMask,d=t.beforeMaskedValueChange,p=t.defaultValue,h=t.value;o.maskOptions=u(r,i,l),null==p&&(p=""),null==h&&(h=p);var b=I(h);if(o.maskOptions.mask&&(c||b)&&(b=m(o.maskOptions,b),C(d))){var x=t.value;null==t.value&&(x=p),b=d({value:b,selection:null},{value:x=I(x),selection:null},null,o.getBeforeMaskedValueChangeConfig()).value}return o.value=b,o}i(r,e);var c=r.prototype;return c.componentDidMount=function(){this.mounted=!0,this.getInputDOMNode()&&(this.isWindowsPhoneBrowser=function(){var e=new RegExp("windows","i"),t=new RegExp("phone","i"),n=navigator.userAgent;return e.test(n)&&t.test(n)}(),this.maskOptions.mask&&this.getInputValue()!==this.value&&this.setInputValue(this.value))},c.componentDidUpdate=function(){var e=this.previousSelection,t=this.props,n=t.beforeMaskedValueChange,o=t.alwaysShowMask,r=t.mask,i=t.maskChar,a=t.formatChars,l=this.maskOptions,s=o||this.isFocused(),c=null!=this.props.value,d=c?I(this.props.value):this.value,p=e?e.start:null;if(this.maskOptions=u(r,i,a),this.maskOptions.mask){!l.mask&&this.isFocused()&&this.runSaveSelectionLoop();var b=this.maskOptions.mask&&this.maskOptions.mask!==l.mask;if(l.mask||c||(d=this.getInputValue()),(b||this.maskOptions.mask&&(d||s))&&(d=m(this.maskOptions,d)),b){var y=f(this.maskOptions,d);(null===p||y<p)&&(p=h(this.maskOptions,d)?y:v(this.maskOptions,y))}!this.maskOptions.mask||!g(this.maskOptions,d)||s||c&&this.props.value||(d="");var x={start:p,end:p};if(C(n)){var w=n({value:d,selection:x},{value:this.value,selection:this.previousSelection},null,this.getBeforeMaskedValueChangeConfig());d=w.value,x=w.selection}this.value=d;var A=this.getInputValue()!==this.value;A?(this.setInputValue(this.value),this.forceUpdate()):b&&this.forceUpdate();var k=!1;null!=x.start&&null!=x.end&&(k=!e||e.start!==x.start||e.end!==x.end),(k||A)&&this.setSelection(x.start,x.end)}else l.mask&&(this.stopSaveSelectionLoop(),this.forceUpdate())},c.componentWillUnmount=function(){this.mounted=!1,null!==this.selectionDeferId&&A(this.selectionDeferId),this.stopSaveSelectionLoop()},c.render=function(){var e,n=this.props,r=(n.mask,n.alwaysShowMask,n.maskChar,n.formatChars,n.inputRef,n.beforeMaskedValueChange,n.children),i=function(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o<i.length;o++)n=i[o],0<=t.indexOf(n)||(r[n]=e[n]);return r}(n,["mask","alwaysShowMask","maskChar","formatChars","inputRef","beforeMaskedValueChange","children"]);if(r){C(r)||l(!1);var a=["onChange","onPaste","onMouseDown","onFocus","onBlur","value","disabled","readOnly"],s=o({},i);a.forEach((function(e){return delete s[e]})),e=r(s),a.filter((function(t){return null!=e.props[t]&&e.props[t]!==i[t]})).length&&l(!1)}else e=t.createElement("input",o({ref:this.handleRef},i));var c={onFocus:this.onFocus,onBlur:this.onBlur};return this.maskOptions.mask&&(i.disabled||i.readOnly||(c.onChange=this.onChange,c.onPaste=this.onPaste,c.onMouseDown=this.onMouseDown),null!=i.value&&(c.value=this.value)),e=t.cloneElement(e,c)},r}(t.Component);return Be=k}function Ee(){if(Re)return Ze;Re=1;var e=function(){};if("production"!==process.env.NODE_ENV){var t=function(e,t){var n=arguments.length;t=new Array(n>1?n-1:0);for(var o=1;o<n;o++)t[o-1]=arguments[o];var r=0,i="Warning: "+e.replace(/%s/g,(function(){return t[r++]}));"undefined"!=typeof console&&console.error(i);try{throw new Error(i)}catch(e){}};e=function(e,n,o){var r=arguments.length;o=new Array(r>2?r-2:0);for(var i=2;i<r;i++)o[i-2]=arguments[i];if(void 0===n)throw new Error("`warning(condition, format, ...args)` requires a warning message argument");e||t.apply(null,[n].concat(o))}}return Ze=e}function Fe(){if(Te)return Oe;function e(e){return e&&"object"==typeof e&&"default"in e?e.default:e}Te=1;var t=e(r),n=z,o=e(function(){if(Xe)return Ne;Xe=1;var e=process.env.NODE_ENV;return Ne=function(t,n,o,r,i,a,l,s){if("production"!==e&&void 0===n)throw new Error("invariant requires an error message argument");if(!t){var c;if(void 0===n)c=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var u=[o,r,i,a,l,s],d=0;(c=new Error(n.replace(/%s/g,(function(){return u[d++]})))).name="Invariant Violation"}throw c.framesToPop=1,c}},Ne}()),i=e(Ee());function a(){return a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},a.apply(this,arguments)}function l(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,function(e,t){for(var n=Object.getOwnPropertyNames(t),o=0;o<n.length;o++){var r=n[o],i=Object.getOwnPropertyDescriptor(t,r);i&&i.configurable&&void 0===e[r]&&Object.defineProperty(e,r,i)}}(e,t)}function s(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function c(e,t,n){if("selectionStart"in e&&"selectionEnd"in e)e.selectionStart=t,e.selectionEnd=n;else{var o=e.createTextRange();o.collapse(!0),o.moveStart("character",t),o.moveEnd("character",n-t),o.select()}}var u={9:"[0-9]",a:"[A-Za-z]","*":"[A-Za-z0-9]"};function d(e,t,n){var o="",r="",i=null,a=[];if(void 0===t&&(t="_"),null==n&&(n=u),!e||"string"!=typeof e)return{maskChar:t,formatChars:n,mask:null,prefix:null,lastEditablePosition:null,permanents:[]};var l=!1;return e.split("").forEach((function(e){l||"\\"!==e?(l||!n[e]?(a.push(o.length),o.length===a.length-1&&(r+=e)):i=o.length+1,o+=e,l=!1):l=!0})),{maskChar:t,formatChars:n,prefix:r,mask:o,lastEditablePosition:i,permanents:a}}function p(e,t){return-1!==e.permanents.indexOf(t)}function g(e,t,n){var o=e.mask,r=e.formatChars;if(!n)return!1;if(p(e,t))return o[t]===n;var i=r[o[t]];return new RegExp(i).test(n)}function f(e,t){return t.split("").every((function(t,n){return p(e,n)||!g(e,n,t)}))}function h(e,t){var n=e.maskChar,o=e.prefix;if(!n){for(;t.length>o.length&&p(e,t.length-1);)t=t.slice(0,t.length-1);return t.length}for(var r=o.length,i=t.length;i>=o.length;i--){var a=t[i];if(!p(e,i)&&g(e,i,a)){r=i+1;break}}return r}function m(e,t){return h(e,t)===e.mask.length}function b(e,t){var n=e.maskChar,o=e.mask,r=e.prefix;if(!n){for((t=v(e,"",t,0)).length<r.length&&(t=r);t.length<o.length&&p(e,t.length);)t+=o[t.length];return t}if(t)return v(e,b(e,""),t,0);for(var i=0;i<o.length;i++)p(e,i)?t+=o[i]:t+=n;return t}function v(e,t,n,o){var r=e.mask,i=e.maskChar,a=e.prefix,l=n.split(""),s=m(e,t),c=function(t,n){return!p(e,t)||n===r[t]},u=function(t,n){return!i||!p(e,n)||t!==i};return!i&&o>t.length&&(t+=r.slice(t.length,o)),l.every((function(n){for(;!c(o,n);){if(o>=t.length&&(t+=r[o]),!u(n,o))return!0;if(++o>=r.length)return!1}return!g(e,o,n)&&n!==i||(o<t.length?i||s||o<a.length?t=t.slice(0,o)+n+t.slice(o+1):(t=t.slice(0,o)+n+t.slice(o),t=b(e,t)):i||(t+=n),++o<r.length)})),t}function I(e,t){for(var n=e.mask,o=t;o<n.length;++o)if(!p(e,o))return o;return null}function y(e){return e||0===e?e+"":""}function C(e,t,n,o,r){var i=e.mask,a=e.prefix,l=e.lastEditablePosition,s=t,c="",u=0,d=0,f=Math.min(r.start,n.start);if(n.end>r.start?(u=function(e,t,n,o){var r=e.mask,i=e.maskChar,a=n.split(""),l=o,s=function(t,n){return!p(e,t)||n===r[t]};return a.every((function(t){for(;!s(o,t);)if(++o>=r.length)return!1;return(g(e,o,t)||t===i)&&o++,o<r.length})),o-l}(e,0,c=s.slice(r.start,n.end),f),d=u?r.length:0):s.length<o.length&&(d=o.length-s.length),s=o,d){if(1===d&&!r.length)f=r.start===n.start?I(e,n.start):function(e,t){for(var n=t;n>=0;--n)if(!p(e,n))return n;return null}(e,n.start);s=function(e,t,n,o){var r=n+o,i=e.maskChar,a=e.mask,l=e.prefix,s=t.split("");if(!i){for(var c=r;c<s.length;c++)p(e,c)&&(s[c]="");return n=Math.max(l.length,n),s.splice(n,r-n),t=s.join(""),b(e,t)}return s.map((function(t,o){return o<n||o>=r?t:p(e,o)?a[o]:i})).join("")}(e,s,f,d)}return s=v(e,s,c,f),(f+=u)>=i.length?f=i.length:f<a.length&&!u?f=a.length:f>=a.length&&f<l&&u&&(f=I(e,f)),c||(c=null),{value:s=b(e,s),enteredString:c,selection:{start:f,end:f}}}function x(e){return"function"==typeof e}function w(){return window.cancelAnimationFrame||window.webkitCancelRequestAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame}function A(e){return(!!w()?window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame:function(){return setTimeout(e,1e3/60)})(e)}function k(e){(w()||clearTimeout)(e)}var G=function(e){function r(t){var o;(o=e.call(this,t)||this).focused=!1,o.mounted=!1,o.previousSelection=null,o.selectionDeferId=null,o.saveSelectionLoopDeferId=null,o.saveSelectionLoop=function(){o.previousSelection=o.getSelection(),o.saveSelectionLoopDeferId=A(o.saveSelectionLoop)},o.runSaveSelectionLoop=function(){null===o.saveSelectionLoopDeferId&&o.saveSelectionLoop()},o.stopSaveSelectionLoop=function(){null!==o.saveSelectionLoopDeferId&&(k(o.saveSelectionLoopDeferId),o.saveSelectionLoopDeferId=null,o.previousSelection=null)},o.getInputDOMNode=function(){if(!o.mounted)return null;var e=n.findDOMNode(s(s(o))),t="undefined"!=typeof window&&e instanceof window.Element;if(e&&!t)return null;if("INPUT"!==e.nodeName&&(e=e.querySelector("input")),!e)throw new Error("react-input-mask: inputComponent doesn't contain input node");return e},o.getInputValue=function(){var e=o.getInputDOMNode();return e?e.value:null},o.setInputValue=function(e){var t=o.getInputDOMNode();t&&(o.value=e,t.value=e)},o.setCursorToEnd=function(){var e=h(o.maskOptions,o.value),t=I(o.maskOptions,e);null!==t&&o.setCursorPosition(t)},o.setSelection=function(e,t,n){void 0===n&&(n={});var r=o.getInputDOMNode(),i=o.isFocused();r&&i&&(n.deferred||c(r,e,t),null!==o.selectionDeferId&&k(o.selectionDeferId),o.selectionDeferId=A((function(){o.selectionDeferId=null,c(r,e,t)})),o.previousSelection={start:e,end:t,length:Math.abs(t-e)})},o.getSelection=function(){return function(e){var t=0,n=0;if("selectionStart"in e&&"selectionEnd"in e)t=e.selectionStart,n=e.selectionEnd;else{var o=document.selection.createRange();o.parentElement()===e&&(t=-o.moveStart("character",-e.value.length),n=-o.moveEnd("character",-e.value.length))}return{start:t,end:n,length:n-t}}(o.getInputDOMNode())},o.getCursorPosition=function(){return o.getSelection().start},o.setCursorPosition=function(e){o.setSelection(e,e)},o.isFocused=function(){return o.focused},o.getBeforeMaskedValueChangeConfig=function(){var e=o.maskOptions,t=e.mask,n=e.maskChar,r=e.permanents,i=e.formatChars;return{mask:t,maskChar:n,permanents:r,alwaysShowMask:!!o.props.alwaysShowMask,formatChars:i}},o.isInputAutofilled=function(e,t,n,r){var i=o.getInputDOMNode();try{if(i.matches(":-webkit-autofill"))return!0}catch(e){}return!o.focused||r.end<n.length&&t.end===e.length},o.onChange=function(e){var t=s(s(o)).beforePasteState,n=s(s(o)).previousSelection,r=o.props.beforeMaskedValueChange,i=o.getInputValue(),a=o.value,l=o.getSelection();o.isInputAutofilled(i,l,a,n)&&(a=b(o.maskOptions,""),n={start:0,end:0,length:0}),t&&(n=t.selection,a=t.value,l={start:n.start+i.length,end:n.start+i.length,length:0},i=a.slice(0,n.start)+i+a.slice(n.end),o.beforePasteState=null);var c=C(o.maskOptions,i,l,a,n),u=c.enteredString,d=c.selection,p=c.value;if(x(r)){var g=r({value:p,selection:d},{value:a,selection:n},u,o.getBeforeMaskedValueChangeConfig());p=g.value,d=g.selection}o.setInputValue(p),x(o.props.onChange)&&o.props.onChange(e),o.isWindowsPhoneBrowser?o.setSelection(d.start,d.end,{deferred:!0}):o.setSelection(d.start,d.end)},o.onFocus=function(e){var t=o.props.beforeMaskedValueChange,n=o.maskOptions,r=n.mask,i=n.prefix;if(o.focused=!0,o.mounted=!0,r){if(o.value)h(o.maskOptions,o.value)<o.maskOptions.mask.length&&o.setCursorToEnd();else{var a=b(o.maskOptions,i),l=b(o.maskOptions,a),s=h(o.maskOptions,l),c=I(o.maskOptions,s),u={start:c,end:c};if(x(t)){var d=t({value:l,selection:u},{value:o.value,selection:null},null,o.getBeforeMaskedValueChangeConfig());l=d.value,u=d.selection}var p=l!==o.getInputValue();p&&o.setInputValue(l),p&&x(o.props.onChange)&&o.props.onChange(e),o.setSelection(u.start,u.end)}o.runSaveSelectionLoop()}x(o.props.onFocus)&&o.props.onFocus(e)},o.onBlur=function(e){var t=o.props.beforeMaskedValueChange,n=o.maskOptions.mask;if(o.stopSaveSelectionLoop(),o.focused=!1,n&&!o.props.alwaysShowMask&&f(o.maskOptions,o.value)){var r="";if(x(t))r=t({value:r,selection:null},{value:o.value,selection:o.previousSelection},null,o.getBeforeMaskedValueChangeConfig()).value;var i=r!==o.getInputValue();i&&o.setInputValue(r),i&&x(o.props.onChange)&&o.props.onChange(e)}x(o.props.onBlur)&&o.props.onBlur(e)},o.onMouseDown=function(e){if(!o.focused&&document.addEventListener){o.mouseDownX=e.clientX,o.mouseDownY=e.clientY,o.mouseDownTime=(new Date).getTime();document.addEventListener("mouseup",(function e(t){if(document.removeEventListener("mouseup",e),o.focused){var n=Math.abs(t.clientX-o.mouseDownX),r=Math.abs(t.clientY-o.mouseDownY),i=Math.max(n,r),a=(new Date).getTime()-o.mouseDownTime;(i<=10&&a<=200||i<=5&&a<=300)&&o.setCursorToEnd()}}))}x(o.props.onMouseDown)&&o.props.onMouseDown(e)},o.onPaste=function(e){x(o.props.onPaste)&&o.props.onPaste(e),e.defaultPrevented||(o.beforePasteState={value:o.getInputValue(),selection:o.getSelection()},o.setInputValue(""))},o.handleRef=function(e){null==o.props.children&&x(o.props.inputRef)&&o.props.inputRef(e)};var r=t.mask,i=t.maskChar,a=t.formatChars,l=t.alwaysShowMask,u=t.beforeMaskedValueChange,p=t.defaultValue,g=t.value;o.maskOptions=d(r,i,a),null==p&&(p=""),null==g&&(g=p);var m=y(g);if(o.maskOptions.mask&&(l||m)&&(m=b(o.maskOptions,m),x(u))){var v=t.value;null==t.value&&(v=p),m=u({value:m,selection:null},{value:v=y(v),selection:null},null,o.getBeforeMaskedValueChangeConfig()).value}return o.value=m,o}l(r,e);var u=r.prototype;return u.componentDidMount=function(){var e,t,n;(this.mounted=!0,this.getInputDOMNode())&&(this.isWindowsPhoneBrowser=(e=new RegExp("windows","i"),t=new RegExp("phone","i"),n=navigator.userAgent,e.test(n)&&t.test(n)),this.maskOptions.mask&&this.getInputValue()!==this.value&&this.setInputValue(this.value))},u.componentDidUpdate=function(){var e=this.previousSelection,t=this.props,n=t.beforeMaskedValueChange,o=t.alwaysShowMask,r=t.mask,i=t.maskChar,a=t.formatChars,l=this.maskOptions,s=o||this.isFocused(),c=null!=this.props.value,u=c?y(this.props.value):this.value,p=e?e.start:null;if(this.maskOptions=d(r,i,a),this.maskOptions.mask){!l.mask&&this.isFocused()&&this.runSaveSelectionLoop();var g=this.maskOptions.mask&&this.maskOptions.mask!==l.mask;if(l.mask||c||(u=this.getInputValue()),(g||this.maskOptions.mask&&(u||s))&&(u=b(this.maskOptions,u)),g){var v=h(this.maskOptions,u);(null===p||v<p)&&(p=m(this.maskOptions,u)?v:I(this.maskOptions,v))}!this.maskOptions.mask||!f(this.maskOptions,u)||s||c&&this.props.value||(u="");var C={start:p,end:p};if(x(n)){var w=n({value:u,selection:C},{value:this.value,selection:this.previousSelection},null,this.getBeforeMaskedValueChangeConfig());u=w.value,C=w.selection}this.value=u;var A=this.getInputValue()!==this.value;A?(this.setInputValue(this.value),this.forceUpdate()):g&&this.forceUpdate();var k=!1;null!=C.start&&null!=C.end&&(k=!e||e.start!==C.start||e.end!==C.end),(k||A)&&this.setSelection(C.start,C.end)}else l.mask&&(this.stopSaveSelectionLoop(),this.forceUpdate())},u.componentWillUnmount=function(){this.mounted=!1,null!==this.selectionDeferId&&k(this.selectionDeferId),this.stopSaveSelectionLoop()},u.render=function(){var e=this.props,n=e.mask;e.alwaysShowMask;var r=e.maskChar,l=e.formatChars,s=e.inputRef;e.beforeMaskedValueChange;var c,u=e.children,p=function(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,["mask","alwaysShowMask","maskChar","formatChars","inputRef","beforeMaskedValueChange","children"]);if("production"!==process.env.NODE_ENV&&i(!p.maxLength||!d(n,r,l).mask,"react-input-mask: maxLength property shouldn't be passed to the masked input. It breaks masking and unnecessary because length is limited by the mask length."),u){x(u)||("production"!==process.env.NODE_ENV?o(!1,"react-input-mask: children must be a function"):o(!1));var g=["onChange","onPaste","onMouseDown","onFocus","onBlur","value","disabled","readOnly"],f=a({},p);g.forEach((function(e){return delete f[e]})),c=u(f);var h=g.filter((function(e){return null!=c.props[e]&&c.props[e]!==p[e]}));h.length&&("production"!==process.env.NODE_ENV?o(!1,"react-input-mask: the following props should be passed to the react-input-mask's component and should not be altered in children's function: "+h.join(", ")):o(!1)),"production"!==process.env.NODE_ENV&&i(!s,"react-input-mask: inputRef is ignored when children is passed, attach ref to the children instead")}else c=t.createElement("input",a({ref:this.handleRef},p));var m={onFocus:this.onFocus,onBlur:this.onBlur};return this.maskOptions.mask&&(p.disabled||p.readOnly||(m.onChange=this.onChange,m.onPaste=this.onPaste,m.onMouseDown=this.onMouseDown),null!=p.value&&(m.value=this.value)),c=t.cloneElement(c,m)},r}(t.Component);return Oe=G}var He=We((Le||(Le=1,"production"===process.env.NODE_ENV?Me.exports=Pe():Me.exports=Fe()),Me.exports));const De=i((function({label:n,info:o,error:r,isLoading:i,register:a,mask:l,maskChar:s=null,...c},u){const d=y();return t(ke,{children:[n&&e("label",{children:n}),t(Ge,{hasError:!!r,children:[l?e(He,{mask:l,maskChar:s,inputRef:u,...c,disabled:i||c.disabled,...a}):e("input",{ref:u,...c,disabled:i||c.disabled,...a}),r&&e(Ae,{icon:"exclamation",className:"error-icon"}),i&&e(ce,{size:16,color:d.colors.neutral.light,style:{position:"absolute",right:16,top:12}})]}),(!!a||!!r||!!o)&&e(Ve,{className:"additional-info",isError:!!r,children:r||o})]})})),ze=I.div`
|
|
450
|
-
display: flex;
|
|
451
|
-
flex-direction: column;
|
|
452
|
-
gap: ${({theme:e})=>e.spacing.xs};
|
|
453
|
-
padding-top: ${({theme:e})=>e.spacing.s};
|
|
454
|
-
`,Ye=I.div`
|
|
455
|
-
display: flex;
|
|
456
|
-
gap: ${({theme:e})=>e.spacing.xxs};
|
|
457
|
-
align-items: center;
|
|
458
|
-
|
|
459
|
-
span {
|
|
460
|
-
flex-grow: 1;
|
|
461
|
-
color: ${({theme:e})=>e.colors.neutral.dark};
|
|
462
|
-
font-family: ${({theme:e})=>e.typography.family.default};
|
|
463
|
-
font-size: 14px;
|
|
464
|
-
font-style: normal;
|
|
465
|
-
font-weight: 500;
|
|
466
|
-
line-height: 20px; /* 142.857% */
|
|
467
|
-
letter-spacing: 0.1px;
|
|
468
|
-
}
|
|
469
|
-
`,Je=I.ul`
|
|
470
|
-
display: flex;
|
|
471
|
-
flex-direction: column;
|
|
472
|
-
list-style: none;
|
|
473
|
-
gap: ${({theme:e})=>e.spacing.s};
|
|
474
|
-
padding: ${({theme:e})=>e.spacing.s};
|
|
475
|
-
border-right: 1px solid ${({theme:e})=>e.colors.neutral.lighter};
|
|
476
|
-
|
|
477
|
-
li {
|
|
478
|
-
white-space: nowrap;
|
|
479
|
-
color: ${({theme:e})=>e.colors.neutral.dark};
|
|
480
|
-
font-family: ${({theme:e})=>e.typography.family.default};
|
|
481
|
-
font-size: 14px;
|
|
482
|
-
font-style: normal;
|
|
483
|
-
font-weight: 500;
|
|
484
|
-
line-height: 20px; /* 142.857% */
|
|
485
|
-
letter-spacing: 0.1px;
|
|
486
|
-
cursor: pointer;
|
|
487
|
-
}
|
|
488
|
-
`,je=({selectedDate:n,setHoveredDays:o,setSelectedDate:r})=>t(ze,{children:[t(Ye,{children:[e("span",{children:"De"}),e(De,{mask:"99/99/9999",value:W(n.start,"dd/MM/yyyy"),onChange:e=>{o([]),r({start:le(e.target.value,n.start,n.end,"start"),end:n.end})},style:{width:105,height:28,padding:"4px 8px",textAlign:"center"}}),e(De,{mask:"99:99",value:W(n.start,"HH:mm"),onChange:e=>{o([]),r({start:ae(e.target.value,n.start,n.end,"start"),end:n.end})},style:{width:60,height:28,padding:"4px 8px",textAlign:"center"}})]}),t(Ye,{children:[e("span",{children:"Até"}),e(De,{mask:"99/99/9999",value:W(n.end,"dd/MM/yyyy"),onChange:e=>{o([]),r({start:n.start,end:le(e.target.value,n.end,n.start,"end")})},style:{width:105,height:28,padding:"4px 8px",textAlign:"center"}}),e(De,{mask:"99:99",onChange:e=>{o([]),r({start:n.start,end:ae(e.target.value,n.end,n.start,"end")})},value:W(n.end,"HH:mm"),style:{width:60,height:28,padding:"4px 8px",textAlign:"center"}})]})]}),$e={Hoje:()=>({start:B(new Date),end:S(new Date)}),Ontem:()=>{const e=x(new Date,1);return{start:B(e),end:S(e)}},"Essa semana":()=>({start:N(new Date),end:X(new Date)}),"Semana passada":()=>{const e=Z(new Date,1);return{start:N(e),end:X(e)}},"Esse mês":()=>({start:R(new Date),end:O(new Date)}),"Mês passado":()=>{const e=T(new Date,1);return{start:R(e),end:O(e)}},"Esse ano":()=>({start:L(new Date),end:M(new Date)})},Ue=({hideOptions:t,setHoveredDays:n,setSelectedDate:o,onSelectDate:r,toggleShow:i})=>e(Je,{children:Object.keys($e).filter((e=>!t.includes(e))).map((t=>e("li",{onClick:()=>{n([]),o($e[t]()),r?.($e[t]()),i()},children:t})))}),Qe=i((function({hideOptions:n=[],hideAllOptions:o,hideInputs:r,onSelectDate:i,defaultDate:a,isLoading:c,disabled:u,minDate:d,maxDate:p},g){const f=y(),[h,m]=l(!1),b=()=>m((e=>!e)),[v,I]=l(a||{start:B(new Date),end:S(new Date)}),[C,A]=l(!1),[V,N]=l(null),[X,Z]=l([]),[L,M]=l({start:R(v.start),end:O(v.start)}),[z,Y]=l([]),[J,j]=[($=X)[0],$[$.length-1]];var $;const U=J&&P(J,v.start)<0?J:v.start,Q=j&&P(j,v.start)>0?j:v.end;return s((()=>{const e=E(L);(e=>{const t=e[0];for(let n=1;n<=t.getDay();n++){const o=x(t,n);e.unshift(o)}const n=7*Math.ceil(e.length/7)-e.length,o=e[e.length-1];for(let t=1;t<=n;t++){const n=w(o,t);e.push(n)}})(e),Y(e.map((e=>({value:e,day:e.getDate(),month:e.getMonth(),year:e.getFullYear(),weekday:e.getDay()}))))}),[L]),s((()=>{V&&(P(V,v.start)>0?Z(E({start:v.start,end:V})):Z(E({start:V,end:v.end})))}),[V]),t(pe,{ref:g,children:[t(ge,{onClick:b,disabled:u||c,children:[W(v.start,"dd/MM/yyyy - HH:mm"),e("span",{children:"a"}),v.end?W(v.end,"dd/MM/yyyy - HH:mm"):"-",c?e(ce,{size:20,color:f.colors.neutral.light}):e(Ae,{icon:"calendarCheck"})]}),t(fe,{show:h,children:[e(Ce,{onClick:b}),t(he,{children:[!o&&e(Ue,{hideOptions:n,setHoveredDays:Z,setSelectedDate:I,onSelectDate:i,toggleShow:b}),t(me,{children:[t(be,{children:[e(Ae,{icon:"arrowDropDown",style:{transform:"rotate(90deg)"},onClick:()=>M({start:T(L.start,1),end:T(L.end,1)})}),t("span",{children:[W(L.start,"MMMM",{locale:D}),", ",W(L.start,"yyyy")]}),e(Ae,{icon:"arrowDropDown",style:{transform:"rotate(-90deg)"},onClick:()=>M({start:F(L.start,1),end:F(L.end,1)})})]}),t("ul",{children:[e("li",{children:"D"}),e("li",{children:"S"}),e("li",{children:"T"}),e("li",{children:"Q"}),e("li",{children:"Q"}),e("li",{children:"S"}),e("li",{children:"S"})]}),e(ve,{children:z.map((t=>e(Ie,{onClick:()=>(e=>{if(Z([]),!C)return A(!0),void I({start:B(e),end:S(e)});P(e,v.start)>0?I({start:v.start,end:S(e)}):I({start:B(e),end:v.end}),A(!1)})(t.value),onMouseEnter:()=>C&&N(t.value),onMouseLeave:()=>C&&N(null),isHovered:X.some((e=>e&&0===P(e,t.value))),isSelected:k(S(t.value),v.start)&&G(t.value,v.end),isFirst:H(U,t.value),isLast:H(Q,t.value),disabled:d&&G(t.value,d)||p&&k(t.value,p),children:t.day})))}),!r&&e(je,{selectedDate:v,setSelectedDate:I,setHoveredDays:Z})]})]}),e(ye,{children:e(de,{variant:"outlined",onClick:()=>{i?.(v),b()},children:"Aplicar"})})]})]})})),_e=I.hr`
|
|
489
|
-
border: 1px solid ${({theme:e})=>e.colors.neutral.lighter};
|
|
490
|
-
margin: 0;
|
|
491
|
-
`,Ke=I.div`
|
|
492
|
-
display: flex;
|
|
493
|
-
gap: 12px;
|
|
494
|
-
align-items: center;
|
|
495
|
-
width: 100%;
|
|
496
|
-
|
|
497
|
-
color: ${({theme:e})=>e.colors.neutral.dark};
|
|
498
|
-
text-align: center;
|
|
499
|
-
font-size: 11px;
|
|
500
|
-
font-style: normal;
|
|
501
|
-
font-weight: 500;
|
|
502
|
-
line-height: 16px; /* 145.455% */
|
|
503
|
-
letter-spacing: 0.5px;
|
|
504
|
-
|
|
505
|
-
hr {
|
|
506
|
-
flex-grow: 1;
|
|
507
|
-
}
|
|
508
|
-
`,qe=i((function({label:n,...o},r){return n?t(Ke,{children:[e(_e,{ref:r,...o}),n,e(_e,{ref:r,...o})]}):e(_e,{ref:r,...o})})),et=I.div`
|
|
509
|
-
position: relative;
|
|
510
|
-
display: flex;
|
|
511
|
-
flex-direction: column;
|
|
512
|
-
gap: ${j};
|
|
513
|
-
user-select: none;
|
|
514
|
-
|
|
515
|
-
label {
|
|
516
|
-
cursor: pointer;
|
|
517
|
-
width: fit-content;
|
|
518
|
-
color: ${({theme:e})=>e.colors.neutral.darker};
|
|
519
|
-
font-size: 14px;
|
|
520
|
-
font-style: normal;
|
|
521
|
-
font-weight: 600;
|
|
522
|
-
line-height: 20px; /* 142.857% */
|
|
523
|
-
letter-spacing: 0.1px;
|
|
524
|
-
display: flex;
|
|
525
|
-
gap: ${j};
|
|
526
|
-
align-items: center;
|
|
527
|
-
border-radius: 4px;
|
|
528
|
-
|
|
529
|
-
&[aria-disabled="true"] {
|
|
530
|
-
color: ${({theme:e})=>e.colors.neutral.default};
|
|
531
|
-
cursor: default;
|
|
532
|
-
}
|
|
533
|
-
}
|
|
534
|
-
|
|
535
|
-
input[type="checkbox"] {
|
|
536
|
-
flex-shrink: 0;
|
|
537
|
-
position: relative;
|
|
538
|
-
-webkit-appearance: none;
|
|
539
|
-
appearance: none;
|
|
540
|
-
background-color: #fff;
|
|
541
|
-
margin: 0;
|
|
542
|
-
font: inherit;
|
|
543
|
-
color: currentColor;
|
|
544
|
-
width: 18px;
|
|
545
|
-
height: 18px;
|
|
546
|
-
border: 2px solid ${({theme:e})=>e.colors.neutral.darker};
|
|
547
|
-
border-radius: 2px;
|
|
548
|
-
cursor: pointer;
|
|
549
|
-
}
|
|
550
|
-
|
|
551
|
-
input[type="checkbox"]:focus,
|
|
552
|
-
input[type="checkbox"]:focus-visible {
|
|
553
|
-
outline: none;
|
|
554
|
-
}
|
|
555
|
-
|
|
556
|
-
label:has(> input[type="checkbox"]:focus-visible) {
|
|
557
|
-
outline: 1px solid ${({theme:e})=>e.colors.neutral.darker};
|
|
558
|
-
outline-offset: 2px;
|
|
559
|
-
}
|
|
560
|
-
|
|
561
|
-
input[type="checkbox"]:disabled {
|
|
562
|
-
cursor: default;
|
|
563
|
-
border-color: ${({theme:e})=>e.colors.neutral.default};
|
|
564
|
-
|
|
565
|
-
&::before {
|
|
566
|
-
background-color: ${({theme:e})=>e.colors.neutral.default};
|
|
567
|
-
}
|
|
568
|
-
}
|
|
569
|
-
|
|
570
|
-
p {
|
|
571
|
-
margin: 0;
|
|
572
|
-
color: ${({theme:e})=>e.colors.neutral.dark};
|
|
573
|
-
font-size: 12px;
|
|
574
|
-
font-style: normal;
|
|
575
|
-
font-weight: 400;
|
|
576
|
-
line-height: 16px; /* 133.333% */
|
|
577
|
-
letter-spacing: 0.4px;
|
|
578
|
-
|
|
579
|
-
&[aria-disabled="true"] {
|
|
580
|
-
color: ${({theme:e})=>e.colors.neutral.default};
|
|
581
|
-
}
|
|
582
|
-
}
|
|
583
|
-
|
|
584
|
-
svg {
|
|
585
|
-
position: absolute;
|
|
586
|
-
top: -2px;
|
|
587
|
-
left: -3px;
|
|
588
|
-
opacity: 0;
|
|
589
|
-
transition: opacity 0.3s;
|
|
590
|
-
fill: ${({theme:e})=>e.colors.green.default};
|
|
591
|
-
}
|
|
592
|
-
|
|
593
|
-
input[type="checkbox"]:disabled ~ svg {
|
|
594
|
-
fill: ${({theme:e})=>e.colors.neutral.default};
|
|
595
|
-
}
|
|
596
|
-
|
|
597
|
-
input[type="checkbox"]:checked ~ svg {
|
|
598
|
-
opacity: 1;
|
|
599
|
-
}
|
|
600
|
-
`,tt=i((function({label:n,description:o,register:r,...i},a){const{disabled:l}=i;return t(et,{children:[t("label",{"aria-disabled":l,children:[e("input",{ref:a,type:"checkbox",disabled:l,...i,...r}),n,e(Ae,{icon:"checkboxCheckedFilled"})]}),o&&e("p",{"aria-disabled":l,children:o})]})})),nt=I.label`
|
|
601
|
-
display: flex;
|
|
602
|
-
align-items: center;
|
|
603
|
-
gap: 8px;
|
|
604
|
-
width: fit-content;
|
|
605
|
-
flex-direction: ${({labelPosition:e})=>_[e]};
|
|
606
|
-
border-radius: ${j};
|
|
607
|
-
cursor: pointer;
|
|
608
|
-
user-select: none;
|
|
609
|
-
|
|
610
|
-
&:has(> input[type="radio"]:focus-visible) {
|
|
611
|
-
outline: 1px solid black;
|
|
612
|
-
outline-offset: 2px;
|
|
613
|
-
}
|
|
614
|
-
|
|
615
|
-
span {
|
|
616
|
-
color: ${({theme:e})=>e.colors.neutral.darker};
|
|
617
|
-
font-size: 14px;
|
|
618
|
-
font-style: normal;
|
|
619
|
-
font-weight: 500;
|
|
620
|
-
line-height: 20px; /* 142.857% */
|
|
621
|
-
letter-spacing: 0.1px;
|
|
622
|
-
transition: color 0.3s;
|
|
623
|
-
}
|
|
624
|
-
|
|
625
|
-
input {
|
|
626
|
-
opacity: 0;
|
|
627
|
-
width: 0;
|
|
628
|
-
height: 0;
|
|
629
|
-
position: absolute;
|
|
630
|
-
}
|
|
631
|
-
|
|
632
|
-
&:has(> input[type="radio"]:disabled) {
|
|
633
|
-
cursor: default;
|
|
634
|
-
|
|
635
|
-
span {
|
|
636
|
-
color: ${({theme:e})=>e.colors.neutral.light};
|
|
637
|
-
}
|
|
638
|
-
}
|
|
639
|
-
`,ot=I.div`
|
|
640
|
-
flex-shrink: 0;
|
|
641
|
-
position: relative;
|
|
642
|
-
width: 20px;
|
|
643
|
-
height: 20px;
|
|
644
|
-
border-radius: 50%;
|
|
645
|
-
border: 2px solid ${({theme:e})=>e.colors.neutral.dark};
|
|
646
|
-
transition: border-color 0.3s;
|
|
647
|
-
|
|
648
|
-
&::after {
|
|
649
|
-
content: "";
|
|
650
|
-
position: absolute;
|
|
651
|
-
width: 10px;
|
|
652
|
-
height: 10px;
|
|
653
|
-
top: 3px;
|
|
654
|
-
left: 3px;
|
|
655
|
-
border-radius: 50%;
|
|
656
|
-
background-color: transparent;
|
|
657
|
-
transition: background-color 0.3s;
|
|
658
|
-
}
|
|
659
|
-
|
|
660
|
-
// Label esta hovered
|
|
661
|
-
label:hover > & {
|
|
662
|
-
border-color: ${({theme:e})=>e.colors.neutral.darker};
|
|
663
|
-
}
|
|
664
|
-
|
|
665
|
-
// Checked
|
|
666
|
-
input[type="radio"]:checked ~ & {
|
|
667
|
-
border-color: ${({theme:e,colorVariants:t})=>t?.default||e.colors.green.default};
|
|
668
|
-
|
|
669
|
-
&::after {
|
|
670
|
-
background-color: ${({theme:e,colorVariants:t})=>t?.default||e.colors.green.default};
|
|
671
|
-
}
|
|
672
|
-
|
|
673
|
-
label:hover > & {
|
|
674
|
-
border-color: ${({theme:e,colorVariants:t})=>t?.dark||e.colors.green.dark};
|
|
675
|
-
|
|
676
|
-
&::after {
|
|
677
|
-
background-color: ${({theme:e,colorVariants:t})=>t?.dark||e.colors.green.dark};
|
|
678
|
-
}
|
|
679
|
-
}
|
|
680
|
-
}
|
|
681
|
-
|
|
682
|
-
// Disabled
|
|
683
|
-
input[type="radio"]:disabled ~ & {
|
|
684
|
-
border-color: ${({theme:e})=>e.colors.neutral.light};
|
|
685
|
-
}
|
|
686
|
-
|
|
687
|
-
//Disabled and checked
|
|
688
|
-
input[type="radio"]:checked:disabled ~ & {
|
|
689
|
-
&::after {
|
|
690
|
-
background-color: ${({theme:e})=>e.colors.neutral.light};
|
|
691
|
-
}
|
|
692
|
-
}
|
|
693
|
-
`,rt=i((function({label:n,labelPosition:o="right",customColor:r,register:i,...l},s){const c=r?a((()=>ie(r)),[r]):void 0;return t(nt,{labelPosition:o,children:[n&&e("span",{children:n}),e("input",{ref:s,type:"radio",...l,...i}),e(ot,{colorVariants:c})]})}));function it(e){return it="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},it(e)}function at(e){var t=function(e,t){if("object"!=it(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=it(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==it(t)?t:t+""}function lt(e,t,n){return(t=at(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function st(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function ct(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?st(Object(n),!0).forEach((function(t){lt(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):st(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function ut(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=Array(t);n<t;n++)o[n]=e[n];return o}function dt(e,t){if(e){if("string"==typeof e)return ut(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?ut(e,t):void 0}}function pt(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var o,r,i,a,l=[],s=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(o=i.call(n)).done)&&(l.push(o.value),l.length!==t);s=!0);}catch(e){c=!0,r=e}finally{try{if(!s&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw r}}return l}}(e,t)||dt(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function gt(e,t){if(null==e)return{};var n,o,r=function(e,t){if(null==e)return{};var n={};for(var o in e)if({}.hasOwnProperty.call(e,o)){if(t.includes(o))continue;n[o]=e[o]}return n}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o<i.length;o++)n=i[o],t.includes(n)||{}.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}var ft=["defaultInputValue","defaultMenuIsOpen","defaultValue","inputValue","menuIsOpen","onChange","onInputChange","onMenuClose","onMenuOpen","value"];function ht(){return ht=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)({}).hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},ht.apply(null,arguments)}function mt(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,at(o.key),o)}}function bt(e,t){return bt=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},bt(e,t)}function vt(e){return vt=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},vt(e)}function It(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(It=function(){return!!e})()}function yt(e,t){if(t&&("object"==it(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function Ct(e){return function(e){if(Array.isArray(e))return ut(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||dt(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var xt=function(){function e(e){var t=this;this._insertTag=function(e){var n;n=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,n),t.tags.push(e)},this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}(this));var t=this.tags[this.tags.length-1];if(this.isSpeedy){var n=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}(t);try{n.insertRule(e,n.cssRules.length)}catch(e){}}else t.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach((function(e){var t;return null==(t=e.parentNode)?void 0:t.removeChild(e)})),this.tags=[],this.ctr=0},e}(),wt="-ms-",At="-moz-",kt="-webkit-",Gt="comm",Vt="rule",Wt="decl",Bt="@keyframes",St=Math.abs,Nt=String.fromCharCode,Xt=Object.assign;function Zt(e){return e.trim()}function Rt(e,t,n){return e.replace(t,n)}function Ot(e,t){return e.indexOf(t)}function Tt(e,t){return 0|e.charCodeAt(t)}function Lt(e,t,n){return e.slice(t,n)}function Mt(e){return e.length}function Pt(e){return e.length}function Et(e,t){return t.push(e),e}var Ft=1,Ht=1,Dt=0,zt=0,Yt=0,Jt="";function jt(e,t,n,o,r,i,a){return{value:e,root:t,parent:n,type:o,props:r,children:i,line:Ft,column:Ht,length:a,return:""}}function $t(e,t){return Xt(jt("",null,null,"",null,null,0),e,{length:-e.length},t)}function Ut(){return Yt=zt>0?Tt(Jt,--zt):0,Ht--,10===Yt&&(Ht=1,Ft--),Yt}function Qt(){return Yt=zt<Dt?Tt(Jt,zt++):0,Ht++,10===Yt&&(Ht=1,Ft++),Yt}function _t(){return Tt(Jt,zt)}function Kt(){return zt}function qt(e,t){return Lt(Jt,e,t)}function en(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function tn(e){return Ft=Ht=1,Dt=Mt(Jt=e),zt=0,[]}function nn(e){return Jt="",e}function on(e){return Zt(qt(zt-1,ln(91===e?e+2:40===e?e+1:e)))}function rn(e){for(;(Yt=_t())&&Yt<33;)Qt();return en(e)>2||en(Yt)>3?"":" "}function an(e,t){for(;--t&&Qt()&&!(Yt<48||Yt>102||Yt>57&&Yt<65||Yt>70&&Yt<97););return qt(e,Kt()+(t<6&&32==_t()&&32==Qt()))}function ln(e){for(;Qt();)switch(Yt){case e:return zt;case 34:case 39:34!==e&&39!==e&&ln(Yt);break;case 40:41===e&&ln(e);break;case 92:Qt()}return zt}function sn(e,t){for(;Qt()&&e+Yt!==57&&(e+Yt!==84||47!==_t()););return"/*"+qt(t,zt-1)+"*"+Nt(47===e?e:Qt())}function cn(e){for(;!en(_t());)Qt();return qt(e,zt)}function un(e){return nn(dn("",null,null,null,[""],e=tn(e),0,[0],e))}function dn(e,t,n,o,r,i,a,l,s){for(var c=0,u=0,d=a,p=0,g=0,f=0,h=1,m=1,b=1,v=0,I="",y=r,C=i,x=o,w=I;m;)switch(f=v,v=Qt()){case 40:if(108!=f&&58==Tt(w,d-1)){-1!=Ot(w+=Rt(on(v),"&","&\f"),"&\f")&&(b=-1);break}case 34:case 39:case 91:w+=on(v);break;case 9:case 10:case 13:case 32:w+=rn(f);break;case 92:w+=an(Kt()-1,7);continue;case 47:switch(_t()){case 42:case 47:Et(gn(sn(Qt(),Kt()),t,n),s);break;default:w+="/"}break;case 123*h:l[c++]=Mt(w)*b;case 125*h:case 59:case 0:switch(v){case 0:case 125:m=0;case 59+u:-1==b&&(w=Rt(w,/\f/g,"")),g>0&&Mt(w)-d&&Et(g>32?fn(w+";",o,n,d-1):fn(Rt(w," ","")+";",o,n,d-2),s);break;case 59:w+=";";default:if(Et(x=pn(w,t,n,c,u,r,l,I,y=[],C=[],d),i),123===v)if(0===u)dn(w,t,x,x,y,i,d,l,C);else switch(99===p&&110===Tt(w,3)?100:p){case 100:case 108:case 109:case 115:dn(e,x,x,o&&Et(pn(e,x,x,0,0,r,l,I,r,y=[],d),C),r,C,d,l,o?y:C);break;default:dn(w,x,x,x,[""],C,0,l,C)}}c=u=g=0,h=b=1,I=w="",d=a;break;case 58:d=1+Mt(w),g=f;default:if(h<1)if(123==v)--h;else if(125==v&&0==h++&&125==Ut())continue;switch(w+=Nt(v),v*h){case 38:b=u>0?1:(w+="\f",-1);break;case 44:l[c++]=(Mt(w)-1)*b,b=1;break;case 64:45===_t()&&(w+=on(Qt())),p=_t(),u=d=Mt(I=w+=cn(Kt())),v++;break;case 45:45===f&&2==Mt(w)&&(h=0)}}return i}function pn(e,t,n,o,r,i,a,l,s,c,u){for(var d=r-1,p=0===r?i:[""],g=Pt(p),f=0,h=0,m=0;f<o;++f)for(var b=0,v=Lt(e,d+1,d=St(h=a[f])),I=e;b<g;++b)(I=Zt(h>0?p[b]+" "+v:Rt(v,/&\f/g,p[b])))&&(s[m++]=I);return jt(e,t,n,0===r?Vt:l,s,c,u)}function gn(e,t,n){return jt(e,t,n,Gt,Nt(Yt),Lt(e,2,-2),0)}function fn(e,t,n,o){return jt(e,t,n,Wt,Lt(e,0,o),Lt(e,o+1,-1),o)}function hn(e,t){for(var n="",o=Pt(e),r=0;r<o;r++)n+=t(e[r],r,e,t)||"";return n}function mn(e,t,n,o){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case Wt:return e.return=e.return||e.value;case Gt:return"";case Bt:return e.return=e.value+"{"+hn(e.children,o)+"}";case Vt:e.value=e.props.join(",")}return Mt(n=hn(e.children,o))?e.return=e.value+"{"+n+"}":""}function bn(e){var t=Pt(e);return function(n,o,r,i){for(var a="",l=0;l<t;l++)a+=e[l](n,o,r,i)||"";return a}}function vn(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}var In="undefined"!=typeof document,yn=function(e,t,n){for(var o=0,r=0;o=r,r=_t(),38===o&&12===r&&(t[n]=1),!en(r);)Qt();return qt(e,zt)},Cn=function(e,t){return nn(function(e,t){var n=-1,o=44;do{switch(en(o)){case 0:38===o&&12===_t()&&(t[n]=1),e[n]+=yn(zt-1,t,n);break;case 2:e[n]+=on(o);break;case 4:if(44===o){e[++n]=58===_t()?"&\f":"",t[n]=e[n].length;break}default:e[n]+=Nt(o)}}while(o=Qt());return e}(tn(e),t))},xn=new WeakMap,wn=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,n=e.parent,o=e.column===n.column&&e.line===n.line;"rule"!==n.type;)if(!(n=n.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||xn.get(n))&&!o){xn.set(e,!0);for(var r=[],i=Cn(t,r),a=n.props,l=0,s=0;l<i.length;l++)for(var c=0;c<a.length;c++,s++)e.props[s]=r[l]?i[l].replace(/&\f/g,a[c]):a[c]+" "+i[l]}}},An=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}};function kn(e,t){switch(function(e,t){return 45^Tt(e,0)?(((t<<2^Tt(e,0))<<2^Tt(e,1))<<2^Tt(e,2))<<2^Tt(e,3):0}(e,t)){case 5103:return kt+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return kt+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return kt+e+At+e+wt+e+e;case 6828:case 4268:return kt+e+wt+e+e;case 6165:return kt+e+wt+"flex-"+e+e;case 5187:return kt+e+Rt(e,/(\w+).+(:[^]+)/,kt+"box-$1$2"+wt+"flex-$1$2")+e;case 5443:return kt+e+wt+"flex-item-"+Rt(e,/flex-|-self/,"")+e;case 4675:return kt+e+wt+"flex-line-pack"+Rt(e,/align-content|flex-|-self/,"")+e;case 5548:return kt+e+wt+Rt(e,"shrink","negative")+e;case 5292:return kt+e+wt+Rt(e,"basis","preferred-size")+e;case 6060:return kt+"box-"+Rt(e,"-grow","")+kt+e+wt+Rt(e,"grow","positive")+e;case 4554:return kt+Rt(e,/([^-])(transform)/g,"$1"+kt+"$2")+e;case 6187:return Rt(Rt(Rt(e,/(zoom-|grab)/,kt+"$1"),/(image-set)/,kt+"$1"),e,"")+e;case 5495:case 3959:return Rt(e,/(image-set\([^]*)/,kt+"$1$`$1");case 4968:return Rt(Rt(e,/(.+:)(flex-)?(.*)/,kt+"box-pack:$3"+wt+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+kt+e+e;case 4095:case 3583:case 4068:case 2532:return Rt(e,/(.+)-inline(.+)/,kt+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(Mt(e)-1-t>6)switch(Tt(e,t+1)){case 109:if(45!==Tt(e,t+4))break;case 102:return Rt(e,/(.+:)(.+)-([^]+)/,"$1"+kt+"$2-$3$1"+At+(108==Tt(e,t+3)?"$3":"$2-$3"))+e;case 115:return~Ot(e,"stretch")?kn(Rt(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==Tt(e,t+1))break;case 6444:switch(Tt(e,Mt(e)-3-(~Ot(e,"!important")&&10))){case 107:return Rt(e,":",":"+kt)+e;case 101:return Rt(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+kt+(45===Tt(e,14)?"inline-":"")+"box$3$1"+kt+"$2$3$1"+wt+"$2box$3")+e}break;case 5936:switch(Tt(e,t+11)){case 114:return kt+e+wt+Rt(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return kt+e+wt+Rt(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return kt+e+wt+Rt(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return kt+e+wt+e+e}return e}var Gn,Vn,Wn,Bn=In?void 0:(Gn=function(){return vn((function(){var e={};return function(t){return e[t]}}))},Vn=new WeakMap,function(e){if(Vn.has(e))return Vn.get(e);var t=Gn(e);return Vn.set(e,t),t}),Sn=[function(e,t,n,o){if(e.length>-1&&!e.return)switch(e.type){case Wt:e.return=kn(e.value,e.length);break;case Bt:return hn([$t(e,{value:Rt(e.value,"@","@"+kt)})],o);case Vt:if(e.length)return function(e,t){return e.map(t).join("")}(e.props,(function(t){switch(function(e,t){return(e=t.exec(e))?e[0]:e}(t,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return hn([$t(e,{props:[Rt(t,/:(read-\w+)/,":-moz-$1")]})],o);case"::placeholder":return hn([$t(e,{props:[Rt(t,/:(plac\w+)/,":"+kt+"input-$1")]}),$t(e,{props:[Rt(t,/:(plac\w+)/,":-moz-$1")]}),$t(e,{props:[Rt(t,/:(plac\w+)/,wt+"input-$1")]})],o)}return""}))}}],Nn=function(e){var t=e.key;if(In&&"css"===t){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,(function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))}))}var o,r,i=e.stylisPlugins||Sn,a={},l=[];In&&(o=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),(function(e){for(var t=e.getAttribute("data-emotion").split(" "),n=1;n<t.length;n++)a[t[n]]=!0;l.push(e)})));var s,c=[wn,An];if(In){var u,d=[mn,(s=function(e){u.insert(e)},function(e){e.root||(e=e.return)&&s(e)})],p=bn(c.concat(i,d));r=function(e,t,n,o){u=n,hn(un(e?e+"{"+t.styles+"}":t.styles),p),o&&(b.inserted[t.name]=!0)}}else{var g=[mn],f=bn(c.concat(i,g)),h=Bn(i)(t),m=function(e,t){var n=t.name;return void 0===h[n]&&(h[n]=hn(un(e?e+"{"+t.styles+"}":t.styles),f)),h[n]};r=function(e,t,n,o){var r=t.name,i=m(e,t);return void 0===b.compat?(o&&(b.inserted[r]=!0),i):o?void(b.inserted[r]=i):i}}var b={key:t,sheet:new xt({key:t,container:o,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:a,registered:{},insert:r};return b.sheet.hydrate(l),b},Xn={exports:{}},Zn={};var Rn,On,Tn,Ln,Mn={};
|
|
694
|
-
/** @license React v16.13.1
|
|
695
|
-
* react-is.development.js
|
|
696
|
-
*
|
|
697
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
698
|
-
*
|
|
699
|
-
* This source code is licensed under the MIT license found in the
|
|
700
|
-
* LICENSE file in the root directory of this source tree.
|
|
701
|
-
*/function Pn(){return On||(On=1,"production"===process.env.NODE_ENV?Xn.exports=function(){if(Wn)return Zn;Wn=1;var e="function"==typeof Symbol&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,o=e?Symbol.for("react.fragment"):60107,r=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,l=e?Symbol.for("react.context"):60110,s=e?Symbol.for("react.async_mode"):60111,c=e?Symbol.for("react.concurrent_mode"):60111,u=e?Symbol.for("react.forward_ref"):60112,d=e?Symbol.for("react.suspense"):60113,p=e?Symbol.for("react.suspense_list"):60120,g=e?Symbol.for("react.memo"):60115,f=e?Symbol.for("react.lazy"):60116,h=e?Symbol.for("react.block"):60121,m=e?Symbol.for("react.fundamental"):60117,b=e?Symbol.for("react.responder"):60118,v=e?Symbol.for("react.scope"):60119;function I(e){if("object"==typeof e&&null!==e){var p=e.$$typeof;switch(p){case t:switch(e=e.type){case s:case c:case o:case i:case r:case d:return e;default:switch(e=e&&e.$$typeof){case l:case u:case f:case g:case a:return e;default:return p}}case n:return p}}}function y(e){return I(e)===c}return Zn.AsyncMode=s,Zn.ConcurrentMode=c,Zn.ContextConsumer=l,Zn.ContextProvider=a,Zn.Element=t,Zn.ForwardRef=u,Zn.Fragment=o,Zn.Lazy=f,Zn.Memo=g,Zn.Portal=n,Zn.Profiler=i,Zn.StrictMode=r,Zn.Suspense=d,Zn.isAsyncMode=function(e){return y(e)||I(e)===s},Zn.isConcurrentMode=y,Zn.isContextConsumer=function(e){return I(e)===l},Zn.isContextProvider=function(e){return I(e)===a},Zn.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},Zn.isForwardRef=function(e){return I(e)===u},Zn.isFragment=function(e){return I(e)===o},Zn.isLazy=function(e){return I(e)===f},Zn.isMemo=function(e){return I(e)===g},Zn.isPortal=function(e){return I(e)===n},Zn.isProfiler=function(e){return I(e)===i},Zn.isStrictMode=function(e){return I(e)===r},Zn.isSuspense=function(e){return I(e)===d},Zn.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===o||e===c||e===i||e===r||e===d||e===p||"object"==typeof e&&null!==e&&(e.$$typeof===f||e.$$typeof===g||e.$$typeof===a||e.$$typeof===l||e.$$typeof===u||e.$$typeof===m||e.$$typeof===b||e.$$typeof===v||e.$$typeof===h)},Zn.typeOf=I,Zn}():Xn.exports=(Rn||(Rn=1,"production"!==process.env.NODE_ENV&&function(){var e="function"==typeof Symbol&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,o=e?Symbol.for("react.fragment"):60107,r=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,l=e?Symbol.for("react.context"):60110,s=e?Symbol.for("react.async_mode"):60111,c=e?Symbol.for("react.concurrent_mode"):60111,u=e?Symbol.for("react.forward_ref"):60112,d=e?Symbol.for("react.suspense"):60113,p=e?Symbol.for("react.suspense_list"):60120,g=e?Symbol.for("react.memo"):60115,f=e?Symbol.for("react.lazy"):60116,h=e?Symbol.for("react.block"):60121,m=e?Symbol.for("react.fundamental"):60117,b=e?Symbol.for("react.responder"):60118,v=e?Symbol.for("react.scope"):60119;function I(e){if("object"==typeof e&&null!==e){var p=e.$$typeof;switch(p){case t:var h=e.type;switch(h){case s:case c:case o:case i:case r:case d:return h;default:var m=h&&h.$$typeof;switch(m){case l:case u:case f:case g:case a:return m;default:return p}}case n:return p}}}var y=s,C=c,x=l,w=a,A=t,k=u,G=o,V=f,W=g,B=n,S=i,N=r,X=d,Z=!1;function R(e){return I(e)===c}Mn.AsyncMode=y,Mn.ConcurrentMode=C,Mn.ContextConsumer=x,Mn.ContextProvider=w,Mn.Element=A,Mn.ForwardRef=k,Mn.Fragment=G,Mn.Lazy=V,Mn.Memo=W,Mn.Portal=B,Mn.Profiler=S,Mn.StrictMode=N,Mn.Suspense=X,Mn.isAsyncMode=function(e){return Z||(Z=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),R(e)||I(e)===s},Mn.isConcurrentMode=R,Mn.isContextConsumer=function(e){return I(e)===l},Mn.isContextProvider=function(e){return I(e)===a},Mn.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},Mn.isForwardRef=function(e){return I(e)===u},Mn.isFragment=function(e){return I(e)===o},Mn.isLazy=function(e){return I(e)===f},Mn.isMemo=function(e){return I(e)===g},Mn.isPortal=function(e){return I(e)===n},Mn.isProfiler=function(e){return I(e)===i},Mn.isStrictMode=function(e){return I(e)===r},Mn.isSuspense=function(e){return I(e)===d},Mn.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===o||e===c||e===i||e===r||e===d||e===p||"object"==typeof e&&null!==e&&(e.$$typeof===f||e.$$typeof===g||e.$$typeof===a||e.$$typeof===l||e.$$typeof===u||e.$$typeof===m||e.$$typeof===b||e.$$typeof===v||e.$$typeof===h)},Mn.typeOf=I}()),Mn)),Xn.exports}!function(){if(Ln)return Tn;Ln=1;var e=Pn(),t={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},n={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},o={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},r={};function i(n){return e.isMemo(n)?o:r[n.$$typeof]||t}r[e.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},r[e.Memo]=o;var a=Object.defineProperty,l=Object.getOwnPropertyNames,s=Object.getOwnPropertySymbols,c=Object.getOwnPropertyDescriptor,u=Object.getPrototypeOf,d=Object.prototype;Tn=function e(t,o,r){if("string"!=typeof o){if(d){var p=u(o);p&&p!==d&&e(t,p,r)}var g=l(o);s&&(g=g.concat(s(o)));for(var f=i(t),h=i(o),m=0;m<g.length;++m){var b=g[m];if(!(n[b]||r&&r[b]||h&&h[b]||f&&f[b])){var v=c(o,b);try{a(t,b,v)}catch(e){}}}}return t}}();var En="undefined"!=typeof document;var Fn=function(e,t,n){var o=e.key+"-"+t.name;(!1===n||!1===En&&void 0!==e.compat)&&void 0===e.registered[o]&&(e.registered[o]=t.styles)};var Hn={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},Dn=/[A-Z]|^ms/g,zn=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Yn=function(e){return 45===e.charCodeAt(1)},Jn=function(e){return null!=e&&"boolean"!=typeof e},jn=vn((function(e){return Yn(e)?e:e.replace(Dn,"-$&").toLowerCase()})),$n=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(zn,(function(e,t,n){return Qn={name:t,styles:n,next:Qn},t}))}return 1===Hn[e]||Yn(e)||"number"!=typeof t||0===t?t:t+"px"};function Un(e,t,n){if(null==n)return"";var o=n;if(void 0!==o.__emotion_styles)return o;switch(typeof n){case"boolean":return"";case"object":var r=n;if(1===r.anim)return Qn={name:r.name,styles:r.styles,next:Qn},r.name;var i=n;if(void 0!==i.styles){var a=i.next;if(void 0!==a)for(;void 0!==a;)Qn={name:a.name,styles:a.styles,next:Qn},a=a.next;return i.styles+";"}return function(e,t,n){var o="";if(Array.isArray(n))for(var r=0;r<n.length;r++)o+=Un(e,t,n[r])+";";else for(var i in n){var a=n[i];if("object"!=typeof a){var l=a;Jn(l)&&(o+=jn(i)+":"+$n(i,l)+";")}else if(Array.isArray(a)&&"string"==typeof a[0]&&null==t)for(var s=0;s<a.length;s++)Jn(a[s])&&(o+=jn(i)+":"+$n(i,a[s])+";");else{var c=Un(e,t,a);switch(i){case"animation":case"animationName":o+=jn(i)+":"+c+";";break;default:o+=i+"{"+c+"}"}}}return o}(e,t,n);case"function":if(void 0!==e){var l=Qn,s=n(e);return Qn=l,Un(e,t,s)}}return n}var Qn,_n=/label:\s*([^\s;{]+)\s*(;|$)/g;function Kn(e,t,n){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var o=!0,r="";Qn=void 0;var i=e[0];null==i||void 0===i.raw?(o=!1,r+=Un(n,t,i)):r+=i[0];for(var a=1;a<e.length;a++){if(r+=Un(n,t,e[a]),o)r+=i[a]}_n.lastIndex=0;for(var l,s="";null!==(l=_n.exec(r));)s+="-"+l[1];var c=function(e){for(var t,n=0,o=0,r=e.length;r>=4;++o,r-=4)t=1540483477*(65535&(t=255&e.charCodeAt(o)|(255&e.charCodeAt(++o))<<8|(255&e.charCodeAt(++o))<<16|(255&e.charCodeAt(++o))<<24))+(59797*(t>>>16)<<16),n=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(r){case 3:n^=(255&e.charCodeAt(o+2))<<16;case 2:n^=(255&e.charCodeAt(o+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(o)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)}(r)+s;return{name:c,styles:r,next:Qn}}var qn="undefined"!=typeof document,eo=function(e){return e()},to=!!o.useInsertionEffect&&o.useInsertionEffect,no=qn&&to||eo,oo="undefined"!=typeof document,ro=o.createContext("undefined"!=typeof HTMLElement?Nn({key:"css"}):null);ro.Provider;var io=function(e){return i((function(t,n){var o=u(ro);return e(t,o,n)}))};oo||(io=function(e){return function(t){var n=u(ro);return null===n?(n=Nn({key:"css"}),o.createElement(ro.Provider,{value:n},e(t,n))):e(t,n)}});var ao=o.createContext({}),lo={}.hasOwnProperty,so="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",co=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;Fn(t,n,r);var i=no((function(){return function(e,t,n){Fn(e,t,n);var o=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var r="",i=t;do{var a=e.insert(t===i?"."+o:"",i,e.sheet,!0);En||void 0===a||(r+=a),i=i.next}while(void 0!==i);if(!En&&0!==r.length)return r}}(t,n,r)}));if(!oo&&void 0!==i){for(var a,l=n.name,s=n.next;void 0!==s;)l+=" "+s.name,s=s.next;return o.createElement("style",((a={})["data-emotion"]=t.key+" "+l,a.dangerouslySetInnerHTML={__html:i},a.nonce=t.sheet.nonce,a))}return null},uo=io((function(e,t,n){var r=e.css;"string"==typeof r&&void 0!==t.registered[r]&&(r=t.registered[r]);var i=e[so],a=[r],l="";"string"==typeof e.className?l=function(e,t,n){var o="";return n.split(" ").forEach((function(n){void 0!==e[n]?t.push(e[n]+";"):n&&(o+=n+" ")})),o}(t.registered,a,e.className):null!=e.className&&(l=e.className+" ");var s=Kn(a,void 0,o.useContext(ao));l+=t.key+"-"+s.name;var c={};for(var u in e)lo.call(e,u)&&"css"!==u&&u!==so&&(c[u]=e[u]);return c.className=l,n&&(c.ref=n),o.createElement(o.Fragment,null,o.createElement(co,{cache:t,serialized:s,isStringTag:"string"==typeof i}),o.createElement(i,c))})),po=uo,go=function(e,t){var n=arguments;if(null==t||!lo.call(t,"css"))return o.createElement.apply(void 0,n);var r=n.length,i=new Array(r);i[0]=po,i[1]=function(e,t){var n={};for(var o in t)lo.call(t,o)&&(n[o]=t[o]);return n[so]=e,n}(e,t);for(var a=2;a<r;a++)i[a]=n[a];return o.createElement.apply(null,i)};function fo(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return Kn(t)}const ho=Math.min,mo=Math.max,bo=Math.round,vo=Math.floor,Io=e=>({x:e,y:e}),yo={left:"right",right:"left",bottom:"top",top:"bottom"},Co={start:"end",end:"start"};function xo(e,t,n){return mo(e,ho(t,n))}function wo(e,t){return"function"==typeof e?e(t):e}function Ao(e){return e.split("-")[0]}function ko(e){return e.split("-")[1]}function Go(e){return"x"===e?"y":"x"}function Vo(e){return"y"===e?"height":"width"}function Wo(e){return["top","bottom"].includes(Ao(e))?"y":"x"}function Bo(e){return Go(Wo(e))}function So(e){return e.replace(/start|end/g,(e=>Co[e]))}function No(e){return e.replace(/left|right|bottom|top/g,(e=>yo[e]))}function Xo(e){return"number"!=typeof e?function(e){return{top:0,right:0,bottom:0,left:0,...e}}(e):{top:e,right:e,bottom:e,left:e}}function Zo(e){const{x:t,y:n,width:o,height:r}=e;return{width:o,height:r,top:n,left:t,right:t+o,bottom:n+r,x:t,y:n}}function Ro(e,t,n){let{reference:o,floating:r}=e;const i=Wo(t),a=Bo(t),l=Vo(a),s=Ao(t),c="y"===i,u=o.x+o.width/2-r.width/2,d=o.y+o.height/2-r.height/2,p=o[l]/2-r[l]/2;let g;switch(s){case"top":g={x:u,y:o.y-r.height};break;case"bottom":g={x:u,y:o.y+o.height};break;case"right":g={x:o.x+o.width,y:d};break;case"left":g={x:o.x-r.width,y:d};break;default:g={x:o.x,y:o.y}}switch(ko(t)){case"start":g[a]-=p*(n&&c?-1:1);break;case"end":g[a]+=p*(n&&c?-1:1)}return g}async function Oo(e,t){var n;void 0===t&&(t={});const{x:o,y:r,platform:i,rects:a,elements:l,strategy:s}=e,{boundary:c="clippingAncestors",rootBoundary:u="viewport",elementContext:d="floating",altBoundary:p=!1,padding:g=0}=wo(t,e),f=Xo(g),h=l[p?"floating"===d?"reference":"floating":d],m=Zo(await i.getClippingRect({element:null==(n=await(null==i.isElement?void 0:i.isElement(h)))||n?h:h.contextElement||await(null==i.getDocumentElement?void 0:i.getDocumentElement(l.floating)),boundary:c,rootBoundary:u,strategy:s})),b="floating"===d?{x:o,y:r,width:a.floating.width,height:a.floating.height}:a.reference,v=await(null==i.getOffsetParent?void 0:i.getOffsetParent(l.floating)),I=await(null==i.isElement?void 0:i.isElement(v))&&await(null==i.getScale?void 0:i.getScale(v))||{x:1,y:1},y=Zo(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:b,offsetParent:v,strategy:s}):b);return{top:(m.top-y.top+f.top)/I.y,bottom:(y.bottom-m.bottom+f.bottom)/I.y,left:(m.left-y.left+f.left)/I.x,right:(y.right-m.right+f.right)/I.x}}function To(){return"undefined"!=typeof window}function Lo(e){return Eo(e)?(e.nodeName||"").toLowerCase():"#document"}function Mo(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function Po(e){var t;return null==(t=(Eo(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function Eo(e){return!!To()&&(e instanceof Node||e instanceof Mo(e).Node)}function Fo(e){return!!To()&&(e instanceof Element||e instanceof Mo(e).Element)}function Ho(e){return!!To()&&(e instanceof HTMLElement||e instanceof Mo(e).HTMLElement)}function Do(e){return!(!To()||"undefined"==typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof Mo(e).ShadowRoot)}function zo(e){const{overflow:t,overflowX:n,overflowY:o,display:r}=Qo(e);return/auto|scroll|overlay|hidden|clip/.test(t+o+n)&&!["inline","contents"].includes(r)}function Yo(e){return["table","td","th"].includes(Lo(e))}function Jo(e){return[":popover-open",":modal"].some((t=>{try{return e.matches(t)}catch(e){return!1}}))}function jo(e){const t=$o(),n=Fo(e)?Qo(e):e;return"none"!==n.transform||"none"!==n.perspective||!!n.containerType&&"normal"!==n.containerType||!t&&!!n.backdropFilter&&"none"!==n.backdropFilter||!t&&!!n.filter&&"none"!==n.filter||["transform","perspective","filter"].some((e=>(n.willChange||"").includes(e)))||["paint","layout","strict","content"].some((e=>(n.contain||"").includes(e)))}function $o(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function Uo(e){return["html","body","#document"].includes(Lo(e))}function Qo(e){return Mo(e).getComputedStyle(e)}function _o(e){return Fo(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function Ko(e){if("html"===Lo(e))return e;const t=e.assignedSlot||e.parentNode||Do(e)&&e.host||Po(e);return Do(t)?t.host:t}function qo(e){const t=Ko(e);return Uo(t)?e.ownerDocument?e.ownerDocument.body:e.body:Ho(t)&&zo(t)?t:qo(t)}function er(e,t,n){var o;void 0===t&&(t=[]),void 0===n&&(n=!0);const r=qo(e),i=r===(null==(o=e.ownerDocument)?void 0:o.body),a=Mo(r);if(i){const e=tr(a);return t.concat(a,a.visualViewport||[],zo(r)?r:[],e&&n?er(e):[])}return t.concat(r,er(r,[],n))}function tr(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function nr(e){const t=Qo(e);let n=parseFloat(t.width)||0,o=parseFloat(t.height)||0;const r=Ho(e),i=r?e.offsetWidth:n,a=r?e.offsetHeight:o,l=bo(n)!==i||bo(o)!==a;return l&&(n=i,o=a),{width:n,height:o,$:l}}function or(e){return Fo(e)?e:e.contextElement}function rr(e){const t=or(e);if(!Ho(t))return Io(1);const n=t.getBoundingClientRect(),{width:o,height:r,$:i}=nr(t);let a=(i?bo(n.width):n.width)/o,l=(i?bo(n.height):n.height)/r;return a&&Number.isFinite(a)||(a=1),l&&Number.isFinite(l)||(l=1),{x:a,y:l}}const ir=Io(0);function ar(e){const t=Mo(e);return $o()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:ir}function lr(e,t,n,o){void 0===t&&(t=!1),void 0===n&&(n=!1);const r=e.getBoundingClientRect(),i=or(e);let a=Io(1);t&&(o?Fo(o)&&(a=rr(o)):a=rr(e));const l=function(e,t,n){return void 0===t&&(t=!1),!(!n||t&&n!==Mo(e))&&t}(i,n,o)?ar(i):Io(0);let s=(r.left+l.x)/a.x,c=(r.top+l.y)/a.y,u=r.width/a.x,d=r.height/a.y;if(i){const e=Mo(i),t=o&&Fo(o)?Mo(o):o;let n=e,r=tr(n);for(;r&&o&&t!==n;){const e=rr(r),t=r.getBoundingClientRect(),o=Qo(r),i=t.left+(r.clientLeft+parseFloat(o.paddingLeft))*e.x,a=t.top+(r.clientTop+parseFloat(o.paddingTop))*e.y;s*=e.x,c*=e.y,u*=e.x,d*=e.y,s+=i,c+=a,n=Mo(r),r=tr(n)}}return Zo({width:u,height:d,x:s,y:c})}function sr(e,t){const n=_o(e).scrollLeft;return t?t.left+n:lr(Po(e)).left+n}function cr(e,t,n){let o;if("viewport"===t)o=function(e,t){const n=Mo(e),o=Po(e),r=n.visualViewport;let i=o.clientWidth,a=o.clientHeight,l=0,s=0;if(r){i=r.width,a=r.height;const e=$o();(!e||e&&"fixed"===t)&&(l=r.offsetLeft,s=r.offsetTop)}return{width:i,height:a,x:l,y:s}}(e,n);else if("document"===t)o=function(e){const t=Po(e),n=_o(e),o=e.ownerDocument.body,r=mo(t.scrollWidth,t.clientWidth,o.scrollWidth,o.clientWidth),i=mo(t.scrollHeight,t.clientHeight,o.scrollHeight,o.clientHeight);let a=-n.scrollLeft+sr(e);const l=-n.scrollTop;return"rtl"===Qo(o).direction&&(a+=mo(t.clientWidth,o.clientWidth)-r),{width:r,height:i,x:a,y:l}}(Po(e));else if(Fo(t))o=function(e,t){const n=lr(e,!0,"fixed"===t),o=n.top+e.clientTop,r=n.left+e.clientLeft,i=Ho(e)?rr(e):Io(1);return{width:e.clientWidth*i.x,height:e.clientHeight*i.y,x:r*i.x,y:o*i.y}}(t,n);else{const n=ar(e);o={...t,x:t.x-n.x,y:t.y-n.y}}return Zo(o)}function ur(e,t){const n=Ko(e);return!(n===t||!Fo(n)||Uo(n))&&("fixed"===Qo(n).position||ur(n,t))}function dr(e,t,n){const o=Ho(t),r=Po(t),i="fixed"===n,a=lr(e,!0,i,t);let l={scrollLeft:0,scrollTop:0};const s=Io(0);if(o||!o&&!i)if(("body"!==Lo(t)||zo(r))&&(l=_o(t)),o){const e=lr(t,!0,i,t);s.x=e.x+t.clientLeft,s.y=e.y+t.clientTop}else r&&(s.x=sr(r));let c=0,u=0;if(r&&!o&&!i){const e=r.getBoundingClientRect();u=e.top+l.scrollTop,c=e.left+l.scrollLeft-sr(r,e)}return{x:a.left+l.scrollLeft-s.x-c,y:a.top+l.scrollTop-s.y-u,width:a.width,height:a.height}}function pr(e){return"static"===Qo(e).position}function gr(e,t){if(!Ho(e)||"fixed"===Qo(e).position)return null;if(t)return t(e);let n=e.offsetParent;return Po(e)===n&&(n=n.ownerDocument.body),n}function fr(e,t){const n=Mo(e);if(Jo(e))return n;if(!Ho(e)){let t=Ko(e);for(;t&&!Uo(t);){if(Fo(t)&&!pr(t))return t;t=Ko(t)}return n}let o=gr(e,t);for(;o&&Yo(o)&&pr(o);)o=gr(o,t);return o&&Uo(o)&&pr(o)&&!jo(o)?n:o||function(e){let t=Ko(e);for(;Ho(t)&&!Uo(t);){if(jo(t))return t;if(Jo(t))return null;t=Ko(t)}return null}(e)||n}const hr={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:n,offsetParent:o,strategy:r}=e;const i="fixed"===r,a=Po(o),l=!!t&&Jo(t.floating);if(o===a||l&&i)return n;let s={scrollLeft:0,scrollTop:0},c=Io(1);const u=Io(0),d=Ho(o);if((d||!d&&!i)&&(("body"!==Lo(o)||zo(a))&&(s=_o(o)),Ho(o))){const e=lr(o);c=rr(o),u.x=e.x+o.clientLeft,u.y=e.y+o.clientTop}return{width:n.width*c.x,height:n.height*c.y,x:n.x*c.x-s.scrollLeft*c.x+u.x,y:n.y*c.y-s.scrollTop*c.y+u.y}},getDocumentElement:Po,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:o,strategy:r}=e;const i="clippingAncestors"===n?Jo(t)?[]:function(e,t){const n=t.get(e);if(n)return n;let o=er(e,[],!1).filter((e=>Fo(e)&&"body"!==Lo(e))),r=null;const i="fixed"===Qo(e).position;let a=i?Ko(e):e;for(;Fo(a)&&!Uo(a);){const t=Qo(a),n=jo(a);n||"fixed"!==t.position||(r=null),(i?!n&&!r:!n&&"static"===t.position&&r&&["absolute","fixed"].includes(r.position)||zo(a)&&!n&&ur(e,a))?o=o.filter((e=>e!==a)):r=t,a=Ko(a)}return t.set(e,o),o}(t,this._c):[].concat(n),a=[...i,o],l=a[0],s=a.reduce(((e,n)=>{const o=cr(t,n,r);return e.top=mo(o.top,e.top),e.right=ho(o.right,e.right),e.bottom=ho(o.bottom,e.bottom),e.left=mo(o.left,e.left),e}),cr(t,l,r));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},getOffsetParent:fr,getElementRects:async function(e){const t=this.getOffsetParent||fr,n=this.getDimensions,o=await n(e.floating);return{reference:dr(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}},getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){const{width:t,height:n}=nr(e);return{width:t,height:n}},getScale:rr,isElement:Fo,isRTL:function(e){return"rtl"===Qo(e).direction}};function mr(e,t,n,o){void 0===o&&(o={});const{ancestorScroll:r=!0,ancestorResize:i=!0,elementResize:a="function"==typeof ResizeObserver,layoutShift:l="function"==typeof IntersectionObserver,animationFrame:s=!1}=o,c=or(e),u=r||i?[...c?er(c):[],...er(t)]:[];u.forEach((e=>{r&&e.addEventListener("scroll",n,{passive:!0}),i&&e.addEventListener("resize",n)}));const d=c&&l?function(e,t){let n,o=null;const r=Po(e);function i(){var e;clearTimeout(n),null==(e=o)||e.disconnect(),o=null}return function a(l,s){void 0===l&&(l=!1),void 0===s&&(s=1),i();const{left:c,top:u,width:d,height:p}=e.getBoundingClientRect();if(l||t(),!d||!p)return;const g={rootMargin:-vo(u)+"px "+-vo(r.clientWidth-(c+d))+"px "+-vo(r.clientHeight-(u+p))+"px "+-vo(c)+"px",threshold:mo(0,ho(1,s))||1};let f=!0;function h(e){const t=e[0].intersectionRatio;if(t!==s){if(!f)return a();t?a(!1,t):n=setTimeout((()=>{a(!1,1e-7)}),1e3)}f=!1}try{o=new IntersectionObserver(h,{...g,root:r.ownerDocument})}catch(e){o=new IntersectionObserver(h,g)}o.observe(e)}(!0),i}(c,n):null;let p,g=-1,f=null;a&&(f=new ResizeObserver((e=>{let[o]=e;o&&o.target===c&&f&&(f.unobserve(t),cancelAnimationFrame(g),g=requestAnimationFrame((()=>{var e;null==(e=f)||e.observe(t)}))),n()})),c&&!s&&f.observe(c),f.observe(t));let h=s?lr(e):null;return s&&function t(){const o=lr(e);!h||o.x===h.x&&o.y===h.y&&o.width===h.width&&o.height===h.height||n();h=o,p=requestAnimationFrame(t)}(),n(),()=>{var e;u.forEach((e=>{r&&e.removeEventListener("scroll",n),i&&e.removeEventListener("resize",n)})),null==d||d(),null==(e=f)||e.disconnect(),f=null,s&&cancelAnimationFrame(p)}}const br=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){var n,o;const{x:r,y:i,placement:a,middlewareData:l}=t,s=await async function(e,t){const{placement:n,platform:o,elements:r}=e,i=await(null==o.isRTL?void 0:o.isRTL(r.floating)),a=Ao(n),l=ko(n),s="y"===Wo(n),c=["left","top"].includes(a)?-1:1,u=i&&s?-1:1,d=wo(t,e);let{mainAxis:p,crossAxis:g,alignmentAxis:f}="number"==typeof d?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:d.mainAxis||0,crossAxis:d.crossAxis||0,alignmentAxis:d.alignmentAxis};return l&&"number"==typeof f&&(g="end"===l?-1*f:f),s?{x:g*u,y:p*c}:{x:p*c,y:g*u}}(t,e);return a===(null==(n=l.offset)?void 0:n.placement)&&null!=(o=l.arrow)&&o.alignmentOffset?{}:{x:r+s.x,y:i+s.y,data:{...s,placement:a}}}}},vr=function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:o,placement:r}=t,{mainAxis:i=!0,crossAxis:a=!1,limiter:l={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...s}=wo(e,t),c={x:n,y:o},u=await Oo(t,s),d=Wo(Ao(r)),p=Go(d);let g=c[p],f=c[d];if(i){const e="y"===p?"bottom":"right";g=xo(g+u["y"===p?"top":"left"],g,g-u[e])}if(a){const e="y"===d?"bottom":"right";f=xo(f+u["y"===d?"top":"left"],f,f-u[e])}const h=l.fn({...t,[p]:g,[d]:f});return{...h,data:{x:h.x-n,y:h.y-o,enabled:{[p]:i,[d]:a}}}}}},Ir=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var n,o;const{placement:r,middlewareData:i,rects:a,initialPlacement:l,platform:s,elements:c}=t,{mainAxis:u=!0,crossAxis:d=!0,fallbackPlacements:p,fallbackStrategy:g="bestFit",fallbackAxisSideDirection:f="none",flipAlignment:h=!0,...m}=wo(e,t);if(null!=(n=i.arrow)&&n.alignmentOffset)return{};const b=Ao(r),v=Wo(l),I=Ao(l)===l,y=await(null==s.isRTL?void 0:s.isRTL(c.floating)),C=p||(I||!h?[No(l)]:function(e){const t=No(e);return[So(e),t,So(t)]}(l)),x="none"!==f;!p&&x&&C.push(...function(e,t,n,o){const r=ko(e);let i=function(e,t,n){const o=["left","right"],r=["right","left"],i=["top","bottom"],a=["bottom","top"];switch(e){case"top":case"bottom":return n?t?r:o:t?o:r;case"left":case"right":return t?i:a;default:return[]}}(Ao(e),"start"===n,o);return r&&(i=i.map((e=>e+"-"+r)),t&&(i=i.concat(i.map(So)))),i}(l,h,f,y));const w=[l,...C],A=await Oo(t,m),k=[];let G=(null==(o=i.flip)?void 0:o.overflows)||[];if(u&&k.push(A[b]),d){const e=function(e,t,n){void 0===n&&(n=!1);const o=ko(e),r=Bo(e),i=Vo(r);let a="x"===r?o===(n?"end":"start")?"right":"left":"start"===o?"bottom":"top";return t.reference[i]>t.floating[i]&&(a=No(a)),[a,No(a)]}(r,a,y);k.push(A[e[0]],A[e[1]])}if(G=[...G,{placement:r,overflows:k}],!k.every((e=>e<=0))){var V,W;const e=((null==(V=i.flip)?void 0:V.index)||0)+1,t=w[e];if(t)return{data:{index:e,overflows:G},reset:{placement:t}};let n=null==(W=G.filter((e=>e.overflows[0]<=0)).sort(((e,t)=>e.overflows[1]-t.overflows[1]))[0])?void 0:W.placement;if(!n)switch(g){case"bestFit":{var B;const e=null==(B=G.filter((e=>{if(x){const t=Wo(e.placement);return t===v||"y"===t}return!0})).map((e=>[e.placement,e.overflows.filter((e=>e>0)).reduce(((e,t)=>e+t),0)])).sort(((e,t)=>e[1]-t[1]))[0])?void 0:B[0];e&&(n=e);break}case"initialPlacement":n=l}if(r!==n)return{reset:{placement:n}}}return{}}}},yr=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:o,placement:r,rects:i,platform:a,elements:l,middlewareData:s}=t,{element:c,padding:u=0}=wo(e,t)||{};if(null==c)return{};const d=Xo(u),p={x:n,y:o},g=Bo(r),f=Vo(g),h=await a.getDimensions(c),m="y"===g,b=m?"top":"left",v=m?"bottom":"right",I=m?"clientHeight":"clientWidth",y=i.reference[f]+i.reference[g]-p[g]-i.floating[f],C=p[g]-i.reference[g],x=await(null==a.getOffsetParent?void 0:a.getOffsetParent(c));let w=x?x[I]:0;w&&await(null==a.isElement?void 0:a.isElement(x))||(w=l.floating[I]||i.floating[f]);const A=y/2-C/2,k=w/2-h[f]/2-1,G=ho(d[b],k),V=ho(d[v],k),W=G,B=w-h[f]-V,S=w/2-h[f]/2+A,N=xo(W,S,B),X=!s.arrow&&null!=ko(r)&&S!==N&&i.reference[f]/2-(S<W?G:V)-h[f]/2<0,Z=X?S<W?S-W:S-B:0;return{[g]:p[g]+Z,data:{[g]:N,centerOffset:S-N-Z,...X&&{alignmentOffset:Z}},reset:X}}}),Cr=(e,t,n)=>{const o=new Map,r={platform:hr,...n},i={...r.platform,_c:o};return(async(e,t,n)=>{const{placement:o="bottom",strategy:r="absolute",middleware:i=[],platform:a}=n,l=i.filter(Boolean),s=await(null==a.isRTL?void 0:a.isRTL(t));let c=await a.getElementRects({reference:e,floating:t,strategy:r}),{x:u,y:d}=Ro(c,o,s),p=o,g={},f=0;for(let n=0;n<l.length;n++){const{name:i,fn:h}=l[n],{x:m,y:b,data:v,reset:I}=await h({x:u,y:d,initialPlacement:o,placement:p,strategy:r,middlewareData:g,rects:c,platform:a,elements:{reference:e,floating:t}});u=null!=m?m:u,d=null!=b?b:d,g={...g,[i]:{...g[i],...v}},I&&f<=50&&(f++,"object"==typeof I&&(I.placement&&(p=I.placement),I.rects&&(c=!0===I.rects?await a.getElementRects({reference:e,floating:t,strategy:r}):I.rects),({x:u,y:d}=Ro(c,p,s))),n=-1)}return{x:u,y:d,placement:p,strategy:r,middlewareData:g}})(e,t,{...r,platform:i})};var xr="undefined"!=typeof document?d:s,wr=["className","clearValue","cx","getStyles","getClassNames","getValue","hasValue","isMulti","isRtl","options","selectOption","selectProps","setValue","theme"],Ar=function(){};function kr(e,t){return t?"-"===t[0]?e+t:e+"__"+t:e}function Gr(e,t){for(var n=arguments.length,o=new Array(n>2?n-2:0),r=2;r<n;r++)o[r-2]=arguments[r];var i=[].concat(o);if(t&&e)for(var a in t)t.hasOwnProperty(a)&&t[a]&&i.push("".concat(kr(e,a)));return i.filter((function(e){return e})).map((function(e){return String(e).trim()})).join(" ")}var Vr=function(e){return t=e,Array.isArray(t)?e.filter(Boolean):"object"===it(e)&&null!==e?[e]:[];var t},Wr=function(e){return e.className,e.clearValue,e.cx,e.getStyles,e.getClassNames,e.getValue,e.hasValue,e.isMulti,e.isRtl,e.options,e.selectOption,e.selectProps,e.setValue,e.theme,ct({},gt(e,wr))},Br=function(e,t,n){var o=e.cx,r=e.getStyles,i=e.getClassNames,a=e.className;return{css:r(t,e),className:o(null!=n?n:{},i(t,e),a)}};function Sr(e){return[document.documentElement,document.body,window].indexOf(e)>-1}function Nr(e){return Sr(e)?window.pageYOffset:e.scrollTop}function Xr(e,t){Sr(e)?window.scrollTo(0,t):e.scrollTop=t}function Zr(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:200,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:Ar,r=Nr(e),i=t-r,a=0;!function t(){var l=function(e,t,n,o){return n*((e=e/o-1)*e*e+1)+t}(a+=10,r,i,n);Xr(e,l),a<n?window.requestAnimationFrame(t):o(e)}()}function Rr(e,t){var n=e.getBoundingClientRect(),o=t.getBoundingClientRect(),r=t.offsetHeight/3;o.bottom+r>n.bottom?Xr(e,Math.min(t.offsetTop+t.clientHeight-e.offsetHeight+r,e.scrollHeight)):o.top-r<n.top&&Xr(e,Math.max(t.offsetTop-r,0))}function Or(){try{return document.createEvent("TouchEvent"),!0}catch(e){return!1}}var Tr=!1,Lr={get passive(){return Tr=!0}},Mr="undefined"!=typeof window?window:{};Mr.addEventListener&&Mr.removeEventListener&&(Mr.addEventListener("p",Ar,Lr),Mr.removeEventListener("p",Ar,!1));var Pr=Tr;function Er(e){return null!=e}function Fr(e,t,n){return e?t:n}var Hr=["children","innerProps"],Dr=["children","innerProps"];function zr(e){var t=e.maxHeight,n=e.menuEl,o=e.minHeight,r=e.placement,i=e.shouldScroll,a=e.isFixedPosition,l=e.controlHeight,s=function(e){var t=getComputedStyle(e),n="absolute"===t.position,o=/(auto|scroll)/;if("fixed"===t.position)return document.documentElement;for(var r=e;r=r.parentElement;)if(t=getComputedStyle(r),(!n||"static"!==t.position)&&o.test(t.overflow+t.overflowY+t.overflowX))return r;return document.documentElement}(n),c={placement:"bottom",maxHeight:t};if(!n||!n.offsetParent)return c;var u,d=s.getBoundingClientRect().height,p=n.getBoundingClientRect(),g=p.bottom,f=p.height,h=p.top,m=n.offsetParent.getBoundingClientRect().top,b=a?window.innerHeight:Sr(u=s)?window.innerHeight:u.clientHeight,v=Nr(s),I=parseInt(getComputedStyle(n).marginBottom,10),y=parseInt(getComputedStyle(n).marginTop,10),C=m-y,x=b-h,w=C+v,A=d-v-h,k=g-b+v+I,G=v+h-y,V=160;switch(r){case"auto":case"bottom":if(x>=f)return{placement:"bottom",maxHeight:t};if(A>=f&&!a)return i&&Zr(s,k,V),{placement:"bottom",maxHeight:t};if(!a&&A>=o||a&&x>=o)return i&&Zr(s,k,V),{placement:"bottom",maxHeight:a?x-I:A-I};if("auto"===r||a){var W=t,B=a?C:w;return B>=o&&(W=Math.min(B-I-l,t)),{placement:"top",maxHeight:W}}if("bottom"===r)return i&&Xr(s,k),{placement:"bottom",maxHeight:t};break;case"top":if(C>=f)return{placement:"top",maxHeight:t};if(w>=f&&!a)return i&&Zr(s,G,V),{placement:"top",maxHeight:t};if(!a&&w>=o||a&&C>=o){var S=t;return(!a&&w>=o||a&&C>=o)&&(S=a?C-y:w-y),i&&Zr(s,G,V),{placement:"top",maxHeight:S}}return{placement:"bottom",maxHeight:t};default:throw new Error('Invalid placement provided "'.concat(r,'".'))}return c}var Yr,Jr=function(e){return"auto"===e?"bottom":e},jr=g(null),$r=function(e){var t=e.children,n=e.minMenuHeight,o=e.maxMenuHeight,r=e.menuPlacement,i=e.menuPosition,a=e.menuShouldScrollIntoView,s=e.theme,c=(u(jr)||{}).setPortalPlacement,d=p(null),g=pt(l(o),2),f=g[0],h=g[1],m=pt(l(null),2),b=m[0],v=m[1],I=s.spacing.controlHeight;return xr((function(){var e=d.current;if(e){var t="fixed"===i,l=zr({maxHeight:o,menuEl:e,minHeight:n,placement:r,shouldScroll:a&&!t,isFixedPosition:t,controlHeight:I});h(l.maxHeight),v(l.placement),null==c||c(l.placement)}}),[o,r,i,a,n,c,I]),t({ref:d,placerProps:ct(ct({},e),{},{placement:b||Jr(r),maxHeight:f})})},Ur=function(e){var t=e.children,n=e.innerRef,o=e.innerProps;return go("div",ht({},Br(e,"menu",{menu:!0}),{ref:n},o),t)},Qr=function(e,t){var n=e.theme,o=n.spacing.baseUnit,r=n.colors;return ct({textAlign:"center"},t?{}:{color:r.neutral40,padding:"".concat(2*o,"px ").concat(3*o,"px")})},_r=Qr,Kr=Qr,qr=["size"],ei=["innerProps","isRtl","size"];var ti,ni,oi="production"===process.env.NODE_ENV?{name:"8mmkcg",styles:"display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0"}:{name:"tj5bde-Svg",styles:"display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0;label:Svg;",map:"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXlCSSIsImZpbGUiOiJpbmRpY2F0b3JzLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgUmVhY3ROb2RlIH0gZnJvbSAncmVhY3QnO1xuaW1wb3J0IHsganN4LCBrZXlmcmFtZXMgfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5cbmltc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XG59O1xuIl19 */",toString:function(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}},ri=function(e){var t=e.size,n=gt(e,qr);return go("svg",ht({height:t,width:t,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",css:oi},n))},ii=function(e){return go(ri,ht({size:20},e),go("path",{d:"M14.348 14.849c-0.469 0.469-1.229 0.469-1.697 0l-2.651-3.030-2.651 3.029c-0.469 0.469-1.229 0.469-1.697 0-0.469-0.469-0.469-1.229 0-1.697l2.758-3.15-2.759-3.152c-0.469-0.469-0.469-1.228 0-1.697s1.228-0.469 1.697 0l2.652 3.031 2.651-3.031c0.469-0.469 1.228-0.469 1.697 0s0.469 1.229 0 1.697l-2.758 3.152 2.758 3.15c0.469 0.469 0.469 1.229 0 1.698z"}))},ai=function(e){return go(ri,ht({size:20},e),go("path",{d:"M4.516 7.548c0.436-0.446 1.043-0.481 1.576 0l3.908 3.747 3.908-3.747c0.533-0.481 1.141-0.446 1.574 0 0.436 0.445 0.408 1.197 0 1.615-0.406 0.418-4.695 4.502-4.695 4.502-0.217 0.223-0.502 0.335-0.787 0.335s-0.57-0.112-0.789-0.335c0 0-4.287-4.084-4.695-4.502s-0.436-1.17 0-1.615z"}))},li=function(e,t){var n=e.isFocused,o=e.theme,r=o.spacing.baseUnit,i=o.colors;return ct({label:"indicatorContainer",display:"flex",transition:"color 150ms"},t?{}:{color:n?i.neutral60:i.neutral20,padding:2*r,":hover":{color:n?i.neutral80:i.neutral40}})},si=li,ci=li,ui=function(){var e=fo.apply(void 0,arguments),t="animation-"+e.name;return{name:t,styles:"@keyframes "+t+"{"+e.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}}(Yr||(ti=["\n 0%, 80%, 100% { opacity: 0; }\n 40% { opacity: 1; }\n"],ni||(ni=ti.slice(0)),Yr=Object.freeze(Object.defineProperties(ti,{raw:{value:Object.freeze(ni)}})))),di=function(e){var t=e.delay,n=e.offset;return go("span",{css:fo({animation:"".concat(ui," 1s ease-in-out ").concat(t,"ms infinite;"),backgroundColor:"currentColor",borderRadius:"1em",display:"inline-block",marginLeft:n?"1em":void 0,height:"1em",verticalAlign:"top",width:"1em"},"production"===process.env.NODE_ENV?"":";label:LoadingDot;","production"===process.env.NODE_ENV?"":"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQW1RSSIsImZpbGUiOiJpbmRpY2F0b3JzLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgUmVhY3ROb2RlIH0gZnJvbSAncmVhY3QnO1xuaW1wb3J0IHsganN4LCBrZXlmcmFtZXMgfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5cbmltcG9ydCB7XG4gIENvbW1vblByb3BzQW5kQ2xhc3NOYW1lLFxuICBDU1NPYmplY3RXaXRoTGFiZWwsXG4gIEdyb3VwQmFzZSxcbn0gZnJvbSAnLi4vdHlwZXMnO1xuaW1wb3J0IHsgZ2V0U3R5bGVQcm9wcyB9IGZyb20gJy4uL3V0aWxzJztcblxuLy8gPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09XG4vLyBEcm9wZG93biAmIENsZWFyIEljb25zXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cblxuY29uc3QgU3ZnID0gKHtcbiAgc2l6ZSxcbiAgLi4ucHJvcHNcbn06IEpTWC5JbnRyaW5zaWNFbGVtZW50c1snc3ZnJ10gJiB7IHNpemU6IG51bWJlciB9KSA9PiAoXG4gIDxzdmdcbiAgICBoZWlnaHQ9e3NpemV9XG4gICAgd2lkdGg9e3NpemV9XG4gICAgdmlld0JveD1cIjAgMCAyMCAyMFwiXG4gICAgYXJpYS1oaWRkZW49X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4ge1xuICByZXR1cm4gKFxuICAgIDxkaXZcbiAgICAgIHsuLi5nZXRTdHlsZVByb3BzKFxuICAgICAgICB7IC4uLnJlc3RQcm9wcywgaW5uZXJQcm9wcywgaXNSdGwsIHNpemUgfSxcbiAgICAgICAgJ2xvYWRpbmdJbmRpY2F0b3InLFxuICAgICAgICB7XG4gICAgICAgICAgaW5kaWNhdG9yOiB0cnVlLFxuICAgICAgICAgICdsb2FkaW5nLWluZGljYXRvcic6IHRydWUsXG4gICAgICAgIH1cbiAgICAgICl9XG4gICAgICB7Li4uaW5uZXJQcm9wc31cbiAgICA+XG4gICAgICA8TG9hZGluZ0RvdCBkZWxheT17MH0gb2Zmc2V0PXtpc1J0bH0gLz5cbiAgICAgIDxMb2FkaW5nRG90IGRlbGF5PXsxNjB9IG9mZnNldCAvPlxuICAgICAgPExvYWRpbmdEb3QgZGVsYXk9ezMyMH0gb2Zmc2V0PXshaXNSdGx9IC8+XG4gICAgPC9kaXY+XG4gICk7XG59O1xuIl19 */")})},pi=function(e){var t=e.children,n=e.isDisabled,o=e.isFocused,r=e.innerRef,i=e.innerProps,a=e.menuIsOpen;return go("div",ht({ref:r},Br(e,"control",{control:!0,"control--is-disabled":n,"control--is-focused":o,"control--menu-is-open":a}),i,{"aria-disabled":n||void 0}),t)},gi=["data"],fi=function(e){var t=e.children,n=e.cx,o=e.getStyles,r=e.getClassNames,i=e.Heading,a=e.headingProps,l=e.innerProps,s=e.label,c=e.theme,u=e.selectProps;return go("div",ht({},Br(e,"group",{group:!0}),l),go(i,ht({},a,{selectProps:u,theme:c,getStyles:o,getClassNames:r,cx:n}),s),go("div",null,t))},hi=["innerRef","isDisabled","isHidden","inputClassName"],mi={gridArea:"1 / 2",font:"inherit",minWidth:"2px",border:0,margin:0,outline:0,padding:0},bi={flex:"1 1 auto",display:"inline-grid",gridArea:"1 / 1 / 2 / 3",gridTemplateColumns:"0 min-content","&:after":ct({content:'attr(data-value) " "',visibility:"hidden",whiteSpace:"pre"},mi)},vi=function(e){return ct({label:"input",color:"inherit",background:0,opacity:e?0:1,width:"100%"},mi)},Ii=function(e){var t=e.children,n=e.innerProps;return go("div",n,t)};var yi=function(e){var t=e.children,n=e.components,o=e.data,r=e.innerProps,i=e.isDisabled,a=e.removeProps,l=e.selectProps,s=n.Container,c=n.Label,u=n.Remove;return go(s,{data:o,innerProps:ct(ct({},Br(e,"multiValue",{"multi-value":!0,"multi-value--is-disabled":i})),r),selectProps:l},go(c,{data:o,innerProps:ct({},Br(e,"multiValueLabel",{"multi-value__label":!0})),selectProps:l},t),go(u,{data:o,innerProps:ct(ct({},Br(e,"multiValueRemove",{"multi-value__remove":!0})),{},{"aria-label":"Remove ".concat(t||"option")},a),selectProps:l}))},Ci={ClearIndicator:function(e){var t=e.children,n=e.innerProps;return go("div",ht({},Br(e,"clearIndicator",{indicator:!0,"clear-indicator":!0}),n),t||go(ii,null))},Control:pi,DropdownIndicator:function(e){var t=e.children,n=e.innerProps;return go("div",ht({},Br(e,"dropdownIndicator",{indicator:!0,"dropdown-indicator":!0}),n),t||go(ai,null))},DownChevron:ai,CrossIcon:ii,Group:fi,GroupHeading:function(e){var t=Wr(e);t.data;var n=gt(t,gi);return go("div",ht({},Br(e,"groupHeading",{"group-heading":!0}),n))},IndicatorsContainer:function(e){var t=e.children,n=e.innerProps;return go("div",ht({},Br(e,"indicatorsContainer",{indicators:!0}),n),t)},IndicatorSeparator:function(e){var t=e.innerProps;return go("span",ht({},t,Br(e,"indicatorSeparator",{"indicator-separator":!0})))},Input:function(e){var t=e.cx,n=e.value,o=Wr(e),r=o.innerRef,i=o.isDisabled,a=o.isHidden,l=o.inputClassName,s=gt(o,hi);return go("div",ht({},Br(e,"input",{"input-container":!0}),{"data-value":n||""}),go("input",ht({className:t({input:!0},l),ref:r,style:vi(a),disabled:i},s)))},LoadingIndicator:function(e){var t=e.innerProps,n=e.isRtl,o=e.size,r=void 0===o?4:o,i=gt(e,ei);return go("div",ht({},Br(ct(ct({},i),{},{innerProps:t,isRtl:n,size:r}),"loadingIndicator",{indicator:!0,"loading-indicator":!0}),t),go(di,{delay:0,offset:n}),go(di,{delay:160,offset:!0}),go(di,{delay:320,offset:!n}))},Menu:Ur,MenuList:function(e){var t=e.children,n=e.innerProps,o=e.innerRef,r=e.isMulti;return go("div",ht({},Br(e,"menuList",{"menu-list":!0,"menu-list--is-multi":r}),{ref:o},n),t)},MenuPortal:function(e){var t=e.appendTo,n=e.children,o=e.controlElement,r=e.innerProps,i=e.menuPlacement,s=e.menuPosition,u=p(null),d=p(null),g=pt(l(Jr(i)),2),f=g[0],h=g[1],m=a((function(){return{setPortalPlacement:h}}),[]),b=pt(l(null),2),v=b[0],I=b[1],y=c((function(){if(o){var e=function(e){var t=e.getBoundingClientRect();return{bottom:t.bottom,height:t.height,left:t.left,right:t.right,top:t.top,width:t.width}}(o),t="fixed"===s?0:window.pageYOffset,n=e[f]+t;n===(null==v?void 0:v.offset)&&e.left===(null==v?void 0:v.rect.left)&&e.width===(null==v?void 0:v.rect.width)||I({offset:n,rect:e})}}),[o,s,f,null==v?void 0:v.offset,null==v?void 0:v.rect.left,null==v?void 0:v.rect.width]);xr((function(){y()}),[y]);var C=c((function(){"function"==typeof d.current&&(d.current(),d.current=null),o&&u.current&&(d.current=mr(o,u.current,y,{elementResize:"ResizeObserver"in window}))}),[o,y]);xr((function(){C()}),[C]);var x=c((function(e){u.current=e,C()}),[C]);if(!t&&"fixed"!==s||!v)return null;var w=go("div",ht({ref:x},Br(ct(ct({},e),{},{offset:v.offset,position:s,rect:v.rect}),"menuPortal",{"menu-portal":!0}),r),n);return go(jr.Provider,{value:m},t?Y(w,t):w)},LoadingMessage:function(e){var t=e.children,n=void 0===t?"Loading...":t,o=e.innerProps,r=gt(e,Dr);return go("div",ht({},Br(ct(ct({},r),{},{children:n,innerProps:o}),"loadingMessage",{"menu-notice":!0,"menu-notice--loading":!0}),o),n)},NoOptionsMessage:function(e){var t=e.children,n=void 0===t?"No options":t,o=e.innerProps,r=gt(e,Hr);return go("div",ht({},Br(ct(ct({},r),{},{children:n,innerProps:o}),"noOptionsMessage",{"menu-notice":!0,"menu-notice--no-options":!0}),o),n)},MultiValue:yi,MultiValueContainer:Ii,MultiValueLabel:Ii,MultiValueRemove:function(e){var t=e.children,n=e.innerProps;return go("div",ht({role:"button"},n),t||go(ii,{size:14}))},Option:function(e){var t=e.children,n=e.isDisabled,o=e.isFocused,r=e.isSelected,i=e.innerRef,a=e.innerProps;return go("div",ht({},Br(e,"option",{option:!0,"option--is-disabled":n,"option--is-focused":o,"option--is-selected":r}),{ref:i,"aria-disabled":n},a),t)},Placeholder:function(e){var t=e.children,n=e.innerProps;return go("div",ht({},Br(e,"placeholder",{placeholder:!0}),n),t)},SelectContainer:function(e){var t=e.children,n=e.innerProps,o=e.isDisabled,r=e.isRtl;return go("div",ht({},Br(e,"container",{"--is-disabled":o,"--is-rtl":r}),n),t)},SingleValue:function(e){var t=e.children,n=e.isDisabled,o=e.innerProps;return go("div",ht({},Br(e,"singleValue",{"single-value":!0,"single-value--is-disabled":n}),o),t)},ValueContainer:function(e){var t=e.children,n=e.innerProps,o=e.isMulti,r=e.hasValue;return go("div",ht({},Br(e,"valueContainer",{"value-container":!0,"value-container--is-multi":o,"value-container--has-value":r}),n),t)}},xi=Number.isNaN||function(e){return"number"==typeof e&&e!=e};function wi(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(o=e[n],r=t[n],!(o===r||xi(o)&&xi(r)))return!1;var o,r;return!0}for(var Ai="production"===process.env.NODE_ENV?{name:"7pg0cj-a11yText",styles:"label:a11yText;z-index:9999;border:0;clip:rect(1px, 1px, 1px, 1px);height:1px;width:1px;position:absolute;overflow:hidden;padding:0;white-space:nowrap"}:{name:"1f43avz-a11yText-A11yText",styles:"label:a11yText;z-index:9999;border:0;clip:rect(1px, 1px, 1px, 1px);height:1px;width:1px;position:absolute;overflow:hidden;padding:0;white-space:nowrap;label:A11yText;",map:"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkExMXlUZXh0LnRzeCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFNSSIsImZpbGUiOiJBMTF5VGV4dC50c3giLCJzb3VyY2VzQ29udGVudCI6WyIvKiogQGpzeCBqc3ggKi9cbmltcG9ydCB7IGpzeCB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuLy8gQXNzaXN0aXZlIHRleHQgdG8gZGVzY3JpYmUgdmlzdWFsIGVsZW1lbnRzLiBIaWRkZW4gZm9yIHNpZ2h0ZWQgdXNlcnMuXG5jb25zdCBBMTF5VGV4dCA9IChwcm9wczogSlNYLkludHJpbnNpY0VsZW1lbnRzWydzcGFuJ10pID0+IChcbiAgPHNwYW5cbiAgICBjc3M9e3tcbiAgICAgIGxhYmVsOiAnYTExeVRleHQnLFxuICAgICAgekluZGV4OiA5OTk5LFxuICAgICAgYm9yZGVyOiAwLFxuICAgICAgY2xpcDogJ3JlY3QoMXB4LCAxcHgsIDFweCwgMXB4KScsXG4gICAgICBoZWlnaHQ6IDEsXG4gICAgICB3aWR0aDogMSxcbiAgICAgIHBvc2l0aW9uOiAnYWJzb2x1dGUnLFxuICAgICAgb3ZlcmZsb3c6ICdoaWRkZW4nLFxuICAgICAgcGFkZGluZzogMCxcbiAgICAgIHdoaXRlU3BhY2U6ICdub3dyYXAnLFxuICAgIH19XG4gICAgey4uLnByb3BzfVxuICAvPlxuKTtcblxuZXhwb3J0IGRlZmF1bHQgQTExeVRleHQ7XG4iXX0= */",toString:function(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}},ki=function(e){return go("span",ht({css:Ai},e))},Gi={guidance:function(e){var t=e.isSearchable,n=e.isMulti,o=e.tabSelectsValue,r=e.context,i=e.isInitialFocus;switch(r){case"menu":return"Use Up and Down to choose options, press Enter to select the currently focused option, press Escape to exit the menu".concat(o?", press Tab to select the option and exit the menu":"",".");case"input":return i?"".concat(e["aria-label"]||"Select"," is focused ").concat(t?",type to refine list":"",", press Down to open the menu, ").concat(n?" press left to focus selected values":""):"";case"value":return"Use left and right to toggle between focused values, press Backspace to remove the currently focused value";default:return""}},onChange:function(e){var t=e.action,n=e.label,o=void 0===n?"":n,r=e.labels,i=e.isDisabled;switch(t){case"deselect-option":case"pop-value":case"remove-value":return"option ".concat(o,", deselected.");case"clear":return"All selected options have been cleared.";case"initial-input-focus":return"option".concat(r.length>1?"s":""," ").concat(r.join(","),", selected.");case"select-option":return"option ".concat(o,i?" is disabled. Select another option.":", selected.");default:return""}},onFocus:function(e){var t=e.context,n=e.focused,o=e.options,r=e.label,i=void 0===r?"":r,a=e.selectValue,l=e.isDisabled,s=e.isSelected,c=e.isAppleDevice,u=function(e,t){return e&&e.length?"".concat(e.indexOf(t)+1," of ").concat(e.length):""};if("value"===t&&a)return"value ".concat(i," focused, ").concat(u(a,n),".");if("menu"===t&&c){var d=l?" disabled":"",p="".concat(s?" selected":"").concat(d);return"".concat(i).concat(p,", ").concat(u(o,n),".")}return""},onFilter:function(e){var t=e.inputValue,n=e.resultsMessage;return"".concat(n).concat(t?" for search term "+t:"",".")}},Vi=function(e){var t=e.ariaSelection,n=e.focusedOption,o=e.focusedValue,r=e.focusableOptions,i=e.isFocused,l=e.selectValue,s=e.selectProps,c=e.id,u=e.isAppleDevice,d=s.ariaLiveMessages,p=s.getOptionLabel,g=s.inputValue,f=s.isMulti,m=s.isOptionDisabled,b=s.isSearchable,v=s.menuIsOpen,I=s.options,y=s.screenReaderStatus,C=s.tabSelectsValue,x=s.isLoading,w=s["aria-label"],A=s["aria-live"],k=a((function(){return ct(ct({},Gi),d||{})}),[d]),G=a((function(){var e,n="";if(t&&k.onChange){var o=t.option,r=t.options,i=t.removedValue,a=t.removedValues,s=t.value,c=i||o||(e=s,Array.isArray(e)?null:e),u=c?p(c):"",d=r||a||void 0,g=d?d.map(p):[],f=ct({isDisabled:c&&m(c,l),label:u,labels:g},t);n=k.onChange(f)}return n}),[t,k,m,l,p]),V=a((function(){var e="",t=n||o,i=!!(n&&l&&l.includes(n));if(t&&k.onFocus){var a={focused:t,label:p(t),isDisabled:m(t,l),isSelected:i,options:r,context:t===n?"menu":"value",selectValue:l,isAppleDevice:u};e=k.onFocus(a)}return e}),[n,o,p,m,k,r,l,u]),W=a((function(){var e="";if(v&&I.length&&!x&&k.onFilter){var t=y({count:r.length});e=k.onFilter({inputValue:g,resultsMessage:t})}return e}),[r,g,v,k,I,y,x]),B="initial-input-focus"===(null==t?void 0:t.action),S=a((function(){var e="";if(k.guidance){var t=o?"value":v?"menu":"input";e=k.guidance({"aria-label":w,context:t,isDisabled:n&&m(n,l),isMulti:f,isSearchable:b,tabSelectsValue:C,isInitialFocus:B})}return e}),[w,n,o,f,m,b,v,k,l,C,B]),N=go(h,null,go("span",{id:"aria-selection"},G),go("span",{id:"aria-focused"},V),go("span",{id:"aria-results"},W),go("span",{id:"aria-guidance"},S));return go(h,null,go(ki,{id:c},B&&N),go(ki,{"aria-live":A,"aria-atomic":"false","aria-relevant":"additions text",role:"log"},i&&!B&&N))},Wi=[{base:"A",letters:"AⒶAÀÁÂẦẤẪẨÃĀĂẰẮẴẲȦǠÄǞẢÅǺǍȀȂẠẬẶḀĄȺⱯ"},{base:"AA",letters:"Ꜳ"},{base:"AE",letters:"ÆǼǢ"},{base:"AO",letters:"Ꜵ"},{base:"AU",letters:"Ꜷ"},{base:"AV",letters:"ꜸꜺ"},{base:"AY",letters:"Ꜽ"},{base:"B",letters:"BⒷBḂḄḆɃƂƁ"},{base:"C",letters:"CⒸCĆĈĊČÇḈƇȻꜾ"},{base:"D",letters:"DⒹDḊĎḌḐḒḎĐƋƊƉꝹ"},{base:"DZ",letters:"DZDŽ"},{base:"Dz",letters:"DzDž"},{base:"E",letters:"EⒺEÈÉÊỀẾỄỂẼĒḔḖĔĖËẺĚȄȆẸỆȨḜĘḘḚƐƎ"},{base:"F",letters:"FⒻFḞƑꝻ"},{base:"G",letters:"GⒼGǴĜḠĞĠǦĢǤƓꞠꝽꝾ"},{base:"H",letters:"HⒽHĤḢḦȞḤḨḪĦⱧⱵꞍ"},{base:"I",letters:"IⒾIÌÍÎĨĪĬİÏḮỈǏȈȊỊĮḬƗ"},{base:"J",letters:"JⒿJĴɈ"},{base:"K",letters:"KⓀKḰǨḲĶḴƘⱩꝀꝂꝄꞢ"},{base:"L",letters:"LⓁLĿĹĽḶḸĻḼḺŁȽⱢⱠꝈꝆꞀ"},{base:"LJ",letters:"LJ"},{base:"Lj",letters:"Lj"},{base:"M",letters:"MⓂMḾṀṂⱮƜ"},{base:"N",letters:"NⓃNǸŃÑṄŇṆŅṊṈȠƝꞐꞤ"},{base:"NJ",letters:"NJ"},{base:"Nj",letters:"Nj"},{base:"O",letters:"OⓄOÒÓÔỒỐỖỔÕṌȬṎŌṐṒŎȮȰÖȪỎŐǑȌȎƠỜỚỠỞỢỌỘǪǬØǾƆƟꝊꝌ"},{base:"OI",letters:"Ƣ"},{base:"OO",letters:"Ꝏ"},{base:"OU",letters:"Ȣ"},{base:"P",letters:"PⓅPṔṖƤⱣꝐꝒꝔ"},{base:"Q",letters:"QⓆQꝖꝘɊ"},{base:"R",letters:"RⓇRŔṘŘȐȒṚṜŖṞɌⱤꝚꞦꞂ"},{base:"S",letters:"SⓈSẞŚṤŜṠŠṦṢṨȘŞⱾꞨꞄ"},{base:"T",letters:"TⓉTṪŤṬȚŢṰṮŦƬƮȾꞆ"},{base:"TZ",letters:"Ꜩ"},{base:"U",letters:"UⓊUÙÚÛŨṸŪṺŬÜǛǗǕǙỦŮŰǓȔȖƯỪỨỮỬỰỤṲŲṶṴɄ"},{base:"V",letters:"VⓋVṼṾƲꝞɅ"},{base:"VY",letters:"Ꝡ"},{base:"W",letters:"WⓌWẀẂŴẆẄẈⱲ"},{base:"X",letters:"XⓍXẊẌ"},{base:"Y",letters:"YⓎYỲÝŶỸȲẎŸỶỴƳɎỾ"},{base:"Z",letters:"ZⓏZŹẐŻŽẒẔƵȤⱿⱫꝢ"},{base:"a",letters:"aⓐaẚàáâầấẫẩãāăằắẵẳȧǡäǟảåǻǎȁȃạậặḁąⱥɐ"},{base:"aa",letters:"ꜳ"},{base:"ae",letters:"æǽǣ"},{base:"ao",letters:"ꜵ"},{base:"au",letters:"ꜷ"},{base:"av",letters:"ꜹꜻ"},{base:"ay",letters:"ꜽ"},{base:"b",letters:"bⓑbḃḅḇƀƃɓ"},{base:"c",letters:"cⓒcćĉċčçḉƈȼꜿↄ"},{base:"d",letters:"dⓓdḋďḍḑḓḏđƌɖɗꝺ"},{base:"dz",letters:"dzdž"},{base:"e",letters:"eⓔeèéêềếễểẽēḕḗĕėëẻěȅȇẹệȩḝęḙḛɇɛǝ"},{base:"f",letters:"fⓕfḟƒꝼ"},{base:"g",letters:"gⓖgǵĝḡğġǧģǥɠꞡᵹꝿ"},{base:"h",letters:"hⓗhĥḣḧȟḥḩḫẖħⱨⱶɥ"},{base:"hv",letters:"ƕ"},{base:"i",letters:"iⓘiìíîĩīĭïḯỉǐȉȋịįḭɨı"},{base:"j",letters:"jⓙjĵǰɉ"},{base:"k",letters:"kⓚkḱǩḳķḵƙⱪꝁꝃꝅꞣ"},{base:"l",letters:"lⓛlŀĺľḷḹļḽḻſłƚɫⱡꝉꞁꝇ"},{base:"lj",letters:"lj"},{base:"m",letters:"mⓜmḿṁṃɱɯ"},{base:"n",letters:"nⓝnǹńñṅňṇņṋṉƞɲʼnꞑꞥ"},{base:"nj",letters:"nj"},{base:"o",letters:"oⓞoòóôồốỗổõṍȭṏōṑṓŏȯȱöȫỏőǒȍȏơờớỡởợọộǫǭøǿɔꝋꝍɵ"},{base:"oi",letters:"ƣ"},{base:"ou",letters:"ȣ"},{base:"oo",letters:"ꝏ"},{base:"p",letters:"pⓟpṕṗƥᵽꝑꝓꝕ"},{base:"q",letters:"qⓠqɋꝗꝙ"},{base:"r",letters:"rⓡrŕṙřȑȓṛṝŗṟɍɽꝛꞧꞃ"},{base:"s",letters:"sⓢsßśṥŝṡšṧṣṩșşȿꞩꞅẛ"},{base:"t",letters:"tⓣtṫẗťṭțţṱṯŧƭʈⱦꞇ"},{base:"tz",letters:"ꜩ"},{base:"u",letters:"uⓤuùúûũṹūṻŭüǜǘǖǚủůűǔȕȗưừứữửựụṳųṷṵʉ"},{base:"v",letters:"vⓥvṽṿʋꝟʌ"},{base:"vy",letters:"ꝡ"},{base:"w",letters:"wⓦwẁẃŵẇẅẘẉⱳ"},{base:"x",letters:"xⓧxẋẍ"},{base:"y",letters:"yⓨyỳýŷỹȳẏÿỷẙỵƴɏỿ"},{base:"z",letters:"zⓩzźẑżžẓẕƶȥɀⱬꝣ"}],Bi=new RegExp("["+Wi.map((function(e){return e.letters})).join("")+"]","g"),Si={},Ni=0;Ni<Wi.length;Ni++)for(var Xi=Wi[Ni],Zi=0;Zi<Xi.letters.length;Zi++)Si[Xi.letters[Zi]]=Xi.base;var Ri=function(e){return e.replace(Bi,(function(e){return Si[e]}))},Oi=function(e,t){void 0===t&&(t=wi);var n=null;function o(){for(var o=[],r=0;r<arguments.length;r++)o[r]=arguments[r];if(n&&n.lastThis===this&&t(o,n.lastArgs))return n.lastResult;var i=e.apply(this,o);return n={lastResult:i,lastArgs:o,lastThis:this},i}return o.clear=function(){n=null},o}(Ri),Ti=function(e){return e.replace(/^\s+|\s+$/g,"")},Li=function(e){return"".concat(e.label," ").concat(e.value)},Mi=["innerRef"];function Pi(e){var t=e.innerRef,n=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),o=1;o<t;o++)n[o-1]=arguments[o];var r=Object.entries(e).filter((function(e){var t=pt(e,1)[0];return!n.includes(t)}));return r.reduce((function(e,t){var n=pt(t,2),o=n[0],r=n[1];return e[o]=r,e}),{})}(gt(e,Mi),"onExited","in","enter","exit","appear");return go("input",ht({ref:t},n,{css:fo({label:"dummyInput",background:0,border:0,caretColor:"transparent",fontSize:"inherit",gridArea:"1 / 1 / 2 / 3",outline:0,padding:0,width:1,color:"transparent",left:-100,opacity:0,position:"relative",transform:"scale(.01)"},"production"===process.env.NODE_ENV?"":";label:DummyInput;","production"===process.env.NODE_ENV?"":"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkR1bW15SW5wdXQudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXlCTSIsImZpbGUiOiJEdW1teUlucHV0LnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgUmVmIH0gZnJvbSAncmVhY3QnO1xuaW1wb3J0IHsganN4IH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnO1xuaW1wb3J0IHsgcmVtb3ZlUHJvcHMgfSBmcm9tICcuLi91dGlscyc7XG5cbmV4cG9ydCBkZWZhdWx0IGZ1bmN0aW9uIER1bW15SW5wdXQoe1xuICBpbm5lclJlZixcbiAgLi4ucHJvcHNcbn06IEpTWC5JbnRyaW5zaWNFbGVtZW50c1snaW5wdXQnXSAmIHtcbiAgcmVhZG9ubHkgaW5uZXJSZWY6IFJlZjxIVE1MSW5wdXRFbGVtZW50Pjtcbn0pIHtcbiAgLy8gUmVtb3ZlIGFuaW1hdGlvbiBwcm9wcyBub3QgbWVhbnQgZm9yIEhUTUwgZWxlbWVudHNcbiAgY29uc3QgZmlsdGVyZWRQcm9wcyA9IHJlbW92ZVByb3BzKFxuICAgIHByb3BzLFxuICAgICdvbkV4aXRlZCcsXG4gICAgJ2luJyxcbiAgICAnZW50ZXInLFxuICAgICdleGl0JyxcbiAgICAnYXBwZWFyJ1xuICApO1xuXG4gIHJldHVybiAoXG4gICAgPGlucHV0XG4gICAgICByZWY9e2lubmVyUmVmfVxuICAgICAgey4uLmZpbHRlcmVkUHJvcHN9XG4gICAgICBjc3M9e3tcbiAgICAgICAgbGFiZWw6ICdkdW1teUlucHV0JyxcbiAgICAgICAgLy8gZ2V0IHJpZCBvZiBhbnkgZGVmYXVsdCBzdHlsZXNcbiAgICAgICAgYmFja2dyb3VuZDogMCxcbiAgICAgICAgYm9yZGVyOiAwLFxuICAgICAgICAvLyBpbXBvcnRhbnQhIHRoaXMgaGlkZXMgdGhlIGZsYXNoaW5nIGN1cnNvclxuICAgICAgICBjYXJldENvbG9yOiAndHJhbnNwYXJlbnQnLFxuICAgICAgICBmb250U2l6ZTogJ2luaGVyaXQnLFxuICAgICAgICBncmlkQXJlYTogJzEgLyAxIC8gMiAvIDMnLFxuICAgICAgICBvdXRsaW5lOiAwLFxuICAgICAgICBwYWRkaW5nOiAwLFxuICAgICAgICAvLyBpbXBvcnRhbnQhIHdpdGhvdXQgYHdpZHRoYCBicm93c2VycyB3b24ndCBhbGxvdyBmb2N1c1xuICAgICAgICB3aWR0aDogMSxcblxuICAgICAgICAvLyByZW1vdmUgY3Vyc29yIG9uIGRlc2t0b3BcbiAgICAgICAgY29sb3I6ICd0cmFuc3BhcmVudCcsXG5cbiAgICAgICAgLy8gcmVtb3ZlIGN1cnNvciBvbiBtb2JpbGUgd2hpbHN0IG1haW50YWluaW5nIFwic2Nyb2xsIGludG8gdmlld1wiIGJlaGF2aW91clxuICAgICAgICBsZWZ0OiAtMTAwLFxuICAgICAgICBvcGFjaXR5OiAwLFxuICAgICAgICBwb3NpdGlvbjogJ3JlbGF0aXZlJyxcbiAgICAgICAgdHJhbnNmb3JtOiAnc2NhbGUoLjAxKScsXG4gICAgICB9fVxuICAgIC8+XG4gICk7XG59XG4iXX0= */")}))}var Ei=["boxSizing","height","overflow","paddingRight","position"],Fi={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"};function Hi(e){e.preventDefault()}function Di(e){e.stopPropagation()}function zi(){var e=this.scrollTop,t=this.scrollHeight,n=e+this.offsetHeight;0===e?this.scrollTop=1:n===t&&(this.scrollTop=e-1)}function Yi(){return"ontouchstart"in window||navigator.maxTouchPoints}var Ji=!("undefined"==typeof window||!window.document||!window.document.createElement),ji=0,$i={capture:!1,passive:!1};var Ui=function(e){var t=e.target;return t.ownerDocument.activeElement&&t.ownerDocument.activeElement.blur()},Qi="production"===process.env.NODE_ENV?{name:"1kfdb0e",styles:"position:fixed;left:0;bottom:0;right:0;top:0"}:{name:"bp8cua-ScrollManager",styles:"position:fixed;left:0;bottom:0;right:0;top:0;label:ScrollManager;",map:"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIlNjcm9sbE1hbmFnZXIudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQW9EVSIsImZpbGUiOiJTY3JvbGxNYW5hZ2VyLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsganN4IH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnO1xuaW1wb3J0IHsgRnJhZ21lbnQsIFJlYWN0RWxlbWVudCwgUmVmQ2FsbGJhY2ssIE1vdXNlRXZlbnQgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgdXNlU2Nyb2xsQ2FwdHVyZSBmcm9tICcuL3VzZVNjcm9sbENhcHR1cmUnO1xuaW1wb3J0IHVzZVNjcm9sbExvY2sgZnJvbSAnLi91c2VTY3JvbGxMb2NrJztcblxuaW50ZXJmYWNlIFByb3BzIHtcbiAgcmVhZG9ubHkgY2hpbGRyZW46IChyZWY6IFJlZkNhbGxiYWNrPEhUTUxFbGVtZW50PikgPT4gUmVhY3RFbGVtZW50O1xuICByZWFkb25seSBsb2NrRW5hYmxlZDogYm9vbGVhbjtcbiAgcmVhZG9ubHkgY2FwdHVyZUVuYWJsZWQ6IGJvb2xlYW47XG4gIHJlYWRvbmx5IG9uQm90dG9tQXJyaXZlPzogKGV2ZW50OiBXaGVlbEV2ZW50IHwgVG91Y2hFdmVudCkgPT4gdm9pZDtcbiAgcmVhZG9ubHkgb25Cb3R0b21MZWF2ZT86IChldmVudDogV2hlZWxFdmV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gaXNFbmFibGVkOiBsb2NrRW5hYmxlZCB9KTtcblxuICBjb25zdCB0YXJnZXRSZWY6IFJlZkNhbGxiYWNrPEhUTUxFbGVtZW50PiA9IChlbGVtZW50KSA9PiB7XG4gICAgc2V0U2Nyb2xsQ2FwdHVyZVRhcmdldChlbGVtZW50KTtcbiAgICBzZXRTY3JvbGxMb2NrVGFyZ2V0KGVsZW1lbnQpO1xuICB9O1xuXG4gIHJldHVybiAoXG4gICAgPEZyYWdtZW50PlxuICAgICAge2xvY2tFbmFibGVkICYmIChcbiAgICAgICAgPGRpdlxuICAgICAgICAgIG9uQ2xpY2s9e2JsdXJTZWxlY3RJbnB1dH1cbiAgICAgICAgICBjc3M9e3sgcG9zaXRpb246ICdmaXhlZCcsIGxlZnQ6IDAsIGJvdHRvbTogMCwgcmlnaHQ6IDAsIHRvcDogMCB9fVxuICAgICAgICAvPlxuICAgICAgKX1cbiAgICAgIHtjaGlsZHJlbih0YXJnZXRSZWYpfVxuICAgIDwvRnJhZ21lbnQ+XG4gICk7XG59XG4iXX0= */",toString:function(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}};function _i(e){var t=e.children,n=e.lockEnabled,o=e.captureEnabled,r=function(e){var t=e.isEnabled,n=e.onBottomArrive,o=e.onBottomLeave,r=e.onTopArrive,i=e.onTopLeave,a=p(!1),l=p(!1),u=p(0),d=p(null),g=c((function(e,t){if(null!==d.current){var s=d.current,c=s.scrollTop,u=s.scrollHeight,p=s.clientHeight,g=d.current,f=t>0,h=u-p-c,m=!1;h>t&&a.current&&(o&&o(e),a.current=!1),f&&l.current&&(i&&i(e),l.current=!1),f&&t>h?(n&&!a.current&&n(e),g.scrollTop=u,m=!0,a.current=!0):!f&&-t>c&&(r&&!l.current&&r(e),g.scrollTop=0,m=!0,l.current=!0),m&&function(e){e.cancelable&&e.preventDefault(),e.stopPropagation()}(e)}}),[n,o,r,i]),f=c((function(e){g(e,e.deltaY)}),[g]),h=c((function(e){u.current=e.changedTouches[0].clientY}),[]),m=c((function(e){var t=u.current-e.changedTouches[0].clientY;g(e,t)}),[g]),b=c((function(e){if(e){var t=!!Pr&&{passive:!1};e.addEventListener("wheel",f,t),e.addEventListener("touchstart",h,t),e.addEventListener("touchmove",m,t)}}),[m,h,f]),v=c((function(e){e&&(e.removeEventListener("wheel",f,!1),e.removeEventListener("touchstart",h,!1),e.removeEventListener("touchmove",m,!1))}),[m,h,f]);return s((function(){if(t){var e=d.current;return b(e),function(){v(e)}}}),[t,b,v]),function(e){d.current=e}}({isEnabled:void 0===o||o,onBottomArrive:e.onBottomArrive,onBottomLeave:e.onBottomLeave,onTopArrive:e.onTopArrive,onTopLeave:e.onTopLeave}),i=function(e){var t=e.isEnabled,n=e.accountForScrollbars,o=void 0===n||n,r=p({}),i=p(null),a=c((function(e){if(Ji){var t=document.body,n=t&&t.style;if(o&&Ei.forEach((function(e){var t=n&&n[e];r.current[e]=t})),o&&ji<1){var i=parseInt(r.current.paddingRight,10)||0,a=document.body?document.body.clientWidth:0,l=window.innerWidth-a+i||0;Object.keys(Fi).forEach((function(e){var t=Fi[e];n&&(n[e]=t)})),n&&(n.paddingRight="".concat(l,"px"))}t&&Yi()&&(t.addEventListener("touchmove",Hi,$i),e&&(e.addEventListener("touchstart",zi,$i),e.addEventListener("touchmove",Di,$i))),ji+=1}}),[o]),l=c((function(e){if(Ji){var t=document.body,n=t&&t.style;ji=Math.max(ji-1,0),o&&ji<1&&Ei.forEach((function(e){var t=r.current[e];n&&(n[e]=t)})),t&&Yi()&&(t.removeEventListener("touchmove",Hi,$i),e&&(e.removeEventListener("touchstart",zi,$i),e.removeEventListener("touchmove",Di,$i)))}}),[o]);return s((function(){if(t){var e=i.current;return a(e),function(){l(e)}}}),[t,a,l]),function(e){i.current=e}}({isEnabled:n});return go(h,null,n&&go("div",{onClick:Ui,css:Qi}),t((function(e){r(e),i(e)})))}var Ki="production"===process.env.NODE_ENV?{name:"1a0ro4n-requiredInput",styles:"label:requiredInput;opacity:0;pointer-events:none;position:absolute;bottom:0;left:0;right:0;width:100%"}:{name:"5kkxb2-requiredInput-RequiredInput",styles:"label:requiredInput;opacity:0;pointer-events:none;position:absolute;bottom:0;left:0;right:0;width:100%;label:RequiredInput;",map:"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIlJlcXVpcmVkSW5wdXQudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQWNJIiwiZmlsZSI6IlJlcXVpcmVkSW5wdXQudHN4Iiwic291cmNlc0NvbnRlbnQiOlsiLyoqIEBqc3gganN4ICovXG5pbXBvcnQgeyBGb2N1c0V2ZW50SGFuZGxlciwgRnVuY3Rpb25Db21wb25lbnQgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3ggfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5cbmNvbnN0IFJlcXVpcmVkSW5wdXQ6IEZ1bmN0aW9uQ29tcG9uZW50PHtcbiAgcmVhZG9ubHkgbmFtZT86IHN0cmluZztcbiAgcmVhZG9ubHkgb25Gb2N1czogRm9jdXNFdmVudEhhbmRsZXI8SFRNTElucHV0RWxlbWVudD47XG59PiA9ICh7IG5hbWUsIG9uRm9jdXMgfSkgPT4gKFxuICA8aW5wdXRcbiAgICByZXF1aXJlZFxuICAgIG5hbWU9e25hbWV9XG4gICAgdGFiSW5kZXg9ey0xfVxuICAgIGFyaWEtaGlkZGVuPVwidHJ1ZVwiXG4gICAgb25Gb2N1cz17b25Gb2N1c31cbiAgICBjc3M9e3tcbiAgICAgIGxhYmVsOiAncmVxdWlyZWRJbnB1dCcsXG4gICAgICBvcGFjaXR5OiAwLFxuICAgICAgcG9pbnRlckV2ZW50czogJ25vbmUnLFxuICAgICAgcG9zaXRpb246ICdhYnNvbHV0ZScsXG4gICAgICBib3R0b206IDAsXG4gICAgICBsZWZ0OiAwLFxuICAgICAgcmlnaHQ6IDAsXG4gICAgICB3aWR0aDogJzEwMCUnLFxuICAgIH19XG4gICAgLy8gUHJldmVudCBgU3dpdGNoaW5nIGZyb20gdW5jb250cm9sbGVkIHRvIGNvbnRyb2xsZWRgIGVycm9yXG4gICAgdmFsdWU9XCJcIlxuICAgIG9uQ2hhbmdlPXsoKSA9PiB7fX1cbiAgLz5cbik7XG5cbmV4cG9ydCBkZWZhdWx0IFJlcXVpcmVkSW5wdXQ7XG4iXX0= */",toString:function(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}},qi=function(e){var t=e.name,n=e.onFocus;return go("input",{required:!0,name:t,tabIndex:-1,"aria-hidden":"true",onFocus:n,css:Ki,value:"",onChange:function(){}})};function ea(e){var t;return"undefined"!=typeof window&&null!=window.navigator&&e.test((null===(t=window.navigator.userAgentData)||void 0===t?void 0:t.platform)||window.navigator.platform)}function ta(){return ea(/^Mac/i)}function na(){return ea(/^iPhone/i)||ea(/^iPad/i)||ta()&&navigator.maxTouchPoints>1}var oa,ra={clearIndicator:ci,container:function(e){var t=e.isDisabled;return{label:"container",direction:e.isRtl?"rtl":void 0,pointerEvents:t?"none":void 0,position:"relative"}},control:function(e,t){var n=e.isDisabled,o=e.isFocused,r=e.theme,i=r.colors,a=r.borderRadius;return ct({label:"control",alignItems:"center",cursor:"default",display:"flex",flexWrap:"wrap",justifyContent:"space-between",minHeight:r.spacing.controlHeight,outline:"0 !important",position:"relative",transition:"all 100ms"},t?{}:{backgroundColor:n?i.neutral5:i.neutral0,borderColor:n?i.neutral10:o?i.primary:i.neutral20,borderRadius:a,borderStyle:"solid",borderWidth:1,boxShadow:o?"0 0 0 1px ".concat(i.primary):void 0,"&:hover":{borderColor:o?i.primary:i.neutral30}})},dropdownIndicator:si,group:function(e,t){var n=e.theme.spacing;return t?{}:{paddingBottom:2*n.baseUnit,paddingTop:2*n.baseUnit}},groupHeading:function(e,t){var n=e.theme,o=n.colors,r=n.spacing;return ct({label:"group",cursor:"default",display:"block"},t?{}:{color:o.neutral40,fontSize:"75%",fontWeight:500,marginBottom:"0.25em",paddingLeft:3*r.baseUnit,paddingRight:3*r.baseUnit,textTransform:"uppercase"})},indicatorsContainer:function(){return{alignItems:"center",alignSelf:"stretch",display:"flex",flexShrink:0}},indicatorSeparator:function(e,t){var n=e.isDisabled,o=e.theme,r=o.spacing.baseUnit,i=o.colors;return ct({label:"indicatorSeparator",alignSelf:"stretch",width:1},t?{}:{backgroundColor:n?i.neutral10:i.neutral20,marginBottom:2*r,marginTop:2*r})},input:function(e,t){var n=e.isDisabled,o=e.value,r=e.theme,i=r.spacing,a=r.colors;return ct(ct({visibility:n?"hidden":"visible",transform:o?"translateZ(0)":""},bi),t?{}:{margin:i.baseUnit/2,paddingBottom:i.baseUnit/2,paddingTop:i.baseUnit/2,color:a.neutral80})},loadingIndicator:function(e,t){var n=e.isFocused,o=e.size,r=e.theme,i=r.colors,a=r.spacing.baseUnit;return ct({label:"loadingIndicator",display:"flex",transition:"color 150ms",alignSelf:"center",fontSize:o,lineHeight:1,marginRight:o,textAlign:"center",verticalAlign:"middle"},t?{}:{color:n?i.neutral60:i.neutral20,padding:2*a})},loadingMessage:Kr,menu:function(e,t){var n,o=e.placement,r=e.theme,i=r.borderRadius,a=r.spacing,l=r.colors;return ct((lt(n={label:"menu"},function(e){return e?{bottom:"top",top:"bottom"}[e]:"bottom"}(o),"100%"),lt(n,"position","absolute"),lt(n,"width","100%"),lt(n,"zIndex",1),n),t?{}:{backgroundColor:l.neutral0,borderRadius:i,boxShadow:"0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)",marginBottom:a.menuGutter,marginTop:a.menuGutter})},menuList:function(e,t){var n=e.maxHeight,o=e.theme.spacing.baseUnit;return ct({maxHeight:n,overflowY:"auto",position:"relative",WebkitOverflowScrolling:"touch"},t?{}:{paddingBottom:o,paddingTop:o})},menuPortal:function(e){var t=e.rect,n=e.offset,o=e.position;return{left:t.left,position:o,top:n,width:t.width,zIndex:1}},multiValue:function(e,t){var n=e.theme,o=n.spacing,r=n.borderRadius,i=n.colors;return ct({label:"multiValue",display:"flex",minWidth:0},t?{}:{backgroundColor:i.neutral10,borderRadius:r/2,margin:o.baseUnit/2})},multiValueLabel:function(e,t){var n=e.theme,o=n.borderRadius,r=n.colors,i=e.cropWithEllipsis;return ct({overflow:"hidden",textOverflow:i||void 0===i?"ellipsis":void 0,whiteSpace:"nowrap"},t?{}:{borderRadius:o/2,color:r.neutral80,fontSize:"85%",padding:3,paddingLeft:6})},multiValueRemove:function(e,t){var n=e.theme,o=n.spacing,r=n.borderRadius,i=n.colors,a=e.isFocused;return ct({alignItems:"center",display:"flex"},t?{}:{borderRadius:r/2,backgroundColor:a?i.dangerLight:void 0,paddingLeft:o.baseUnit,paddingRight:o.baseUnit,":hover":{backgroundColor:i.dangerLight,color:i.danger}})},noOptionsMessage:_r,option:function(e,t){var n=e.isDisabled,o=e.isFocused,r=e.isSelected,i=e.theme,a=i.spacing,l=i.colors;return ct({label:"option",cursor:"default",display:"block",fontSize:"inherit",width:"100%",userSelect:"none",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)"},t?{}:{backgroundColor:r?l.primary:o?l.primary25:"transparent",color:n?l.neutral20:r?l.neutral0:"inherit",padding:"".concat(2*a.baseUnit,"px ").concat(3*a.baseUnit,"px"),":active":{backgroundColor:n?void 0:r?l.primary:l.primary50}})},placeholder:function(e,t){var n=e.theme,o=n.spacing,r=n.colors;return ct({label:"placeholder",gridArea:"1 / 1 / 2 / 3"},t?{}:{color:r.neutral50,marginLeft:o.baseUnit/2,marginRight:o.baseUnit/2})},singleValue:function(e,t){var n=e.isDisabled,o=e.theme,r=o.spacing,i=o.colors;return ct({label:"singleValue",gridArea:"1 / 1 / 2 / 3",maxWidth:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},t?{}:{color:n?i.neutral40:i.neutral80,marginLeft:r.baseUnit/2,marginRight:r.baseUnit/2})},valueContainer:function(e,t){var n=e.theme.spacing,o=e.isMulti,r=e.hasValue,i=e.selectProps.controlShouldRenderValue;return ct({alignItems:"center",display:o&&r&&i?"flex":"grid",flex:1,flexWrap:"wrap",WebkitOverflowScrolling:"touch",position:"relative",overflow:"hidden"},t?{}:{padding:"".concat(n.baseUnit/2,"px ").concat(2*n.baseUnit,"px")})}},ia={borderRadius:4,colors:{primary:"#2684FF",primary75:"#4C9AFF",primary50:"#B2D4FF",primary25:"#DEEBFF",danger:"#DE350B",dangerLight:"#FFBDAD",neutral0:"hsl(0, 0%, 100%)",neutral5:"hsl(0, 0%, 95%)",neutral10:"hsl(0, 0%, 90%)",neutral20:"hsl(0, 0%, 80%)",neutral30:"hsl(0, 0%, 70%)",neutral40:"hsl(0, 0%, 60%)",neutral50:"hsl(0, 0%, 50%)",neutral60:"hsl(0, 0%, 40%)",neutral70:"hsl(0, 0%, 30%)",neutral80:"hsl(0, 0%, 20%)",neutral90:"hsl(0, 0%, 10%)"},spacing:{baseUnit:4,controlHeight:38,menuGutter:8}},aa={"aria-live":"polite",backspaceRemovesValue:!0,blurInputOnSelect:Or(),captureMenuScroll:!Or(),classNames:{},closeMenuOnSelect:!0,closeMenuOnScroll:!1,components:{},controlShouldRenderValue:!0,escapeClearsValue:!1,filterOption:function(e,t){if(e.data.__isNew__)return!0;var n=ct({ignoreCase:!0,ignoreAccents:!0,stringify:Li,trim:!0,matchFrom:"any"},oa),o=n.ignoreCase,r=n.ignoreAccents,i=n.stringify,a=n.trim,l=n.matchFrom,s=a?Ti(t):t,c=a?Ti(i(e)):i(e);return o&&(s=s.toLowerCase(),c=c.toLowerCase()),r&&(s=Oi(s),c=Ri(c)),"start"===l?c.substr(0,s.length)===s:c.indexOf(s)>-1},formatGroupLabel:function(e){return e.label},getOptionLabel:function(e){return e.label},getOptionValue:function(e){return e.value},isDisabled:!1,isLoading:!1,isMulti:!1,isRtl:!1,isSearchable:!0,isOptionDisabled:function(e){return!!e.isDisabled},loadingMessage:function(){return"Loading..."},maxMenuHeight:300,minMenuHeight:140,menuIsOpen:!1,menuPlacement:"bottom",menuPosition:"absolute",menuShouldBlockScroll:!1,menuShouldScrollIntoView:!function(){try{return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)}catch(e){return!1}}(),noOptionsMessage:function(){return"No options"},openMenuOnFocus:!1,openMenuOnClick:!0,options:[],pageSize:5,placeholder:"Select...",screenReaderStatus:function(e){var t=e.count;return"".concat(t," result").concat(1!==t?"s":""," available")},styles:{},tabIndex:0,tabSelectsValue:!0,unstyled:!1};function la(e,t,n,o){return{type:"option",data:t,isDisabled:ha(e,t,n),isSelected:ma(e,t,n),label:ga(e,t),value:fa(e,t),index:o}}function sa(e,t){return e.options.map((function(n,o){if("options"in n){var r=n.options.map((function(n,o){return la(e,n,t,o)})).filter((function(t){return da(e,t)}));return r.length>0?{type:"group",data:n,options:r,index:o}:void 0}var i=la(e,n,t,o);return da(e,i)?i:void 0})).filter(Er)}function ca(e){return e.reduce((function(e,t){return"group"===t.type?e.push.apply(e,Ct(t.options.map((function(e){return e.data})))):e.push(t.data),e}),[])}function ua(e,t){return e.reduce((function(e,n){return"group"===n.type?e.push.apply(e,Ct(n.options.map((function(e){return{data:e.data,id:"".concat(t,"-").concat(n.index,"-").concat(e.index)}})))):e.push({data:n.data,id:"".concat(t,"-").concat(n.index)}),e}),[])}function da(e,t){var n=e.inputValue,o=void 0===n?"":n,r=t.data,i=t.isSelected,a=t.label,l=t.value;return(!va(e)||!i)&&ba(e,{label:a,value:l,data:r},o)}var pa=function(e,t){var n;return(null===(n=e.find((function(e){return e.data===t})))||void 0===n?void 0:n.id)||null},ga=function(e,t){return e.getOptionLabel(t)},fa=function(e,t){return e.getOptionValue(t)};function ha(e,t,n){return"function"==typeof e.isOptionDisabled&&e.isOptionDisabled(t,n)}function ma(e,t,n){if(n.indexOf(t)>-1)return!0;if("function"==typeof e.isOptionSelected)return e.isOptionSelected(t,n);var o=fa(e,t);return n.some((function(t){return fa(e,t)===o}))}function ba(e,t,n){return!e.filterOption||e.filterOption(t,n)}var va=function(e){var t=e.hideSelectedOptions,n=e.isMulti;return void 0===t?n:t},Ia=1,ya=function(){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&bt(e,t)}(t,f);var e=function(e){var t=It();return function(){var n,o=vt(e);if(t){var r=vt(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return yt(this,n)}}(t);function t(n){var o;if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(o=e.call(this,n)).state={ariaSelection:null,focusedOption:null,focusedOptionId:null,focusableOptionsWithIds:[],focusedValue:null,inputIsHidden:!1,isFocused:!1,selectValue:[],clearFocusValueOnUpdate:!1,prevWasFocused:!1,inputIsHiddenAfterUpdate:void 0,prevProps:void 0,instancePrefix:""},o.blockOptionHover=!1,o.isComposing=!1,o.commonProps=void 0,o.initialTouchX=0,o.initialTouchY=0,o.openAfterFocus=!1,o.scrollToFocusedOptionOnUpdate=!1,o.userIsDragging=void 0,o.isAppleDevice=ta()||na(),o.controlRef=null,o.getControlRef=function(e){o.controlRef=e},o.focusedOptionRef=null,o.getFocusedOptionRef=function(e){o.focusedOptionRef=e},o.menuListRef=null,o.getMenuListRef=function(e){o.menuListRef=e},o.inputRef=null,o.getInputRef=function(e){o.inputRef=e},o.focus=o.focusInput,o.blur=o.blurInput,o.onChange=function(e,t){var n=o.props,r=n.onChange,i=n.name;t.name=i,o.ariaOnChange(e,t),r(e,t)},o.setValue=function(e,t,n){var r=o.props,i=r.closeMenuOnSelect,a=r.isMulti,l=r.inputValue;o.onInputChange("",{action:"set-value",prevInputValue:l}),i&&(o.setState({inputIsHiddenAfterUpdate:!a}),o.onMenuClose()),o.setState({clearFocusValueOnUpdate:!0}),o.onChange(e,{action:t,option:n})},o.selectOption=function(e){var t=o.props,n=t.blurInputOnSelect,r=t.isMulti,i=t.name,a=o.state.selectValue,l=r&&o.isOptionSelected(e,a),s=o.isOptionDisabled(e,a);if(l){var c=o.getOptionValue(e);o.setValue(a.filter((function(e){return o.getOptionValue(e)!==c})),"deselect-option",e)}else{if(s)return void o.ariaOnChange(e,{action:"select-option",option:e,name:i});r?o.setValue([].concat(Ct(a),[e]),"select-option",e):o.setValue(e,"select-option")}n&&o.blurInput()},o.removeValue=function(e){var t=o.props.isMulti,n=o.state.selectValue,r=o.getOptionValue(e),i=n.filter((function(e){return o.getOptionValue(e)!==r})),a=Fr(t,i,i[0]||null);o.onChange(a,{action:"remove-value",removedValue:e}),o.focusInput()},o.clearValue=function(){var e=o.state.selectValue;o.onChange(Fr(o.props.isMulti,[],null),{action:"clear",removedValues:e})},o.popValue=function(){var e=o.props.isMulti,t=o.state.selectValue,n=t[t.length-1],r=t.slice(0,t.length-1),i=Fr(e,r,r[0]||null);n&&o.onChange(i,{action:"pop-value",removedValue:n})},o.getFocusedOptionId=function(e){return pa(o.state.focusableOptionsWithIds,e)},o.getFocusableOptionsWithIds=function(){return ua(sa(o.props,o.state.selectValue),o.getElementId("option"))},o.getValue=function(){return o.state.selectValue},o.cx=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return Gr.apply(void 0,[o.props.classNamePrefix].concat(t))},o.getOptionLabel=function(e){return ga(o.props,e)},o.getOptionValue=function(e){return fa(o.props,e)},o.getStyles=function(e,t){var n=o.props.unstyled,r=ra[e](t,n);r.boxSizing="border-box";var i=o.props.styles[e];return i?i(r,t):r},o.getClassNames=function(e,t){var n,r;return null===(n=(r=o.props.classNames)[e])||void 0===n?void 0:n.call(r,t)},o.getElementId=function(e){return"".concat(o.state.instancePrefix,"-").concat(e)},o.getComponents=function(){return e=o.props,ct(ct({},Ci),e.components);var e},o.buildCategorizedOptions=function(){return sa(o.props,o.state.selectValue)},o.getCategorizedOptions=function(){return o.props.menuIsOpen?o.buildCategorizedOptions():[]},o.buildFocusableOptions=function(){return ca(o.buildCategorizedOptions())},o.getFocusableOptions=function(){return o.props.menuIsOpen?o.buildFocusableOptions():[]},o.ariaOnChange=function(e,t){o.setState({ariaSelection:ct({value:e},t)})},o.onMenuMouseDown=function(e){0===e.button&&(e.stopPropagation(),e.preventDefault(),o.focusInput())},o.onMenuMouseMove=function(e){o.blockOptionHover=!1},o.onControlMouseDown=function(e){if(!e.defaultPrevented){var t=o.props.openMenuOnClick;o.state.isFocused?o.props.menuIsOpen?"INPUT"!==e.target.tagName&&"TEXTAREA"!==e.target.tagName&&o.onMenuClose():t&&o.openMenu("first"):(t&&(o.openAfterFocus=!0),o.focusInput()),"INPUT"!==e.target.tagName&&"TEXTAREA"!==e.target.tagName&&e.preventDefault()}},o.onDropdownIndicatorMouseDown=function(e){if(!(e&&"mousedown"===e.type&&0!==e.button||o.props.isDisabled)){var t=o.props,n=t.isMulti,r=t.menuIsOpen;o.focusInput(),r?(o.setState({inputIsHiddenAfterUpdate:!n}),o.onMenuClose()):o.openMenu("first"),e.preventDefault()}},o.onClearIndicatorMouseDown=function(e){e&&"mousedown"===e.type&&0!==e.button||(o.clearValue(),e.preventDefault(),o.openAfterFocus=!1,"touchend"===e.type?o.focusInput():setTimeout((function(){return o.focusInput()})))},o.onScroll=function(e){"boolean"==typeof o.props.closeMenuOnScroll?e.target instanceof HTMLElement&&Sr(e.target)&&o.props.onMenuClose():"function"==typeof o.props.closeMenuOnScroll&&o.props.closeMenuOnScroll(e)&&o.props.onMenuClose()},o.onCompositionStart=function(){o.isComposing=!0},o.onCompositionEnd=function(){o.isComposing=!1},o.onTouchStart=function(e){var t=e.touches,n=t&&t.item(0);n&&(o.initialTouchX=n.clientX,o.initialTouchY=n.clientY,o.userIsDragging=!1)},o.onTouchMove=function(e){var t=e.touches,n=t&&t.item(0);if(n){var r=Math.abs(n.clientX-o.initialTouchX),i=Math.abs(n.clientY-o.initialTouchY);o.userIsDragging=r>5||i>5}},o.onTouchEnd=function(e){o.userIsDragging||(o.controlRef&&!o.controlRef.contains(e.target)&&o.menuListRef&&!o.menuListRef.contains(e.target)&&o.blurInput(),o.initialTouchX=0,o.initialTouchY=0)},o.onControlTouchEnd=function(e){o.userIsDragging||o.onControlMouseDown(e)},o.onClearIndicatorTouchEnd=function(e){o.userIsDragging||o.onClearIndicatorMouseDown(e)},o.onDropdownIndicatorTouchEnd=function(e){o.userIsDragging||o.onDropdownIndicatorMouseDown(e)},o.handleInputChange=function(e){var t=o.props.inputValue,n=e.currentTarget.value;o.setState({inputIsHiddenAfterUpdate:!1}),o.onInputChange(n,{action:"input-change",prevInputValue:t}),o.props.menuIsOpen||o.onMenuOpen()},o.onInputFocus=function(e){o.props.onFocus&&o.props.onFocus(e),o.setState({inputIsHiddenAfterUpdate:!1,isFocused:!0}),(o.openAfterFocus||o.props.openMenuOnFocus)&&o.openMenu("first"),o.openAfterFocus=!1},o.onInputBlur=function(e){var t=o.props.inputValue;o.menuListRef&&o.menuListRef.contains(document.activeElement)?o.inputRef.focus():(o.props.onBlur&&o.props.onBlur(e),o.onInputChange("",{action:"input-blur",prevInputValue:t}),o.onMenuClose(),o.setState({focusedValue:null,isFocused:!1}))},o.onOptionHover=function(e){if(!o.blockOptionHover&&o.state.focusedOption!==e){var t=o.getFocusableOptions().indexOf(e);o.setState({focusedOption:e,focusedOptionId:t>-1?o.getFocusedOptionId(e):null})}},o.shouldHideSelectedOptions=function(){return va(o.props)},o.onValueInputFocus=function(e){e.preventDefault(),e.stopPropagation(),o.focus()},o.onKeyDown=function(e){var t=o.props,n=t.isMulti,r=t.backspaceRemovesValue,i=t.escapeClearsValue,a=t.inputValue,l=t.isClearable,s=t.isDisabled,c=t.menuIsOpen,u=t.onKeyDown,d=t.tabSelectsValue,p=t.openMenuOnFocus,g=o.state,f=g.focusedOption,h=g.focusedValue,m=g.selectValue;if(!(s||"function"==typeof u&&(u(e),e.defaultPrevented))){switch(o.blockOptionHover=!0,e.key){case"ArrowLeft":if(!n||a)return;o.focusValue("previous");break;case"ArrowRight":if(!n||a)return;o.focusValue("next");break;case"Delete":case"Backspace":if(a)return;if(h)o.removeValue(h);else{if(!r)return;n?o.popValue():l&&o.clearValue()}break;case"Tab":if(o.isComposing)return;if(e.shiftKey||!c||!d||!f||p&&o.isOptionSelected(f,m))return;o.selectOption(f);break;case"Enter":if(229===e.keyCode)break;if(c){if(!f)return;if(o.isComposing)return;o.selectOption(f);break}return;case"Escape":c?(o.setState({inputIsHiddenAfterUpdate:!1}),o.onInputChange("",{action:"menu-close",prevInputValue:a}),o.onMenuClose()):l&&i&&o.clearValue();break;case" ":if(a)return;if(!c){o.openMenu("first");break}if(!f)return;o.selectOption(f);break;case"ArrowUp":c?o.focusOption("up"):o.openMenu("last");break;case"ArrowDown":c?o.focusOption("down"):o.openMenu("first");break;case"PageUp":if(!c)return;o.focusOption("pageup");break;case"PageDown":if(!c)return;o.focusOption("pagedown");break;case"Home":if(!c)return;o.focusOption("first");break;case"End":if(!c)return;o.focusOption("last");break;default:return}e.preventDefault()}},o.state.instancePrefix="react-select-"+(o.props.instanceId||++Ia),o.state.selectValue=Vr(n.value),n.menuIsOpen&&o.state.selectValue.length){var r=o.getFocusableOptionsWithIds(),i=o.buildFocusableOptions(),a=i.indexOf(o.state.selectValue[0]);o.state.focusableOptionsWithIds=r,o.state.focusedOption=i[a],o.state.focusedOptionId=pa(r,i[a])}return o}return function(e,t,n){t&&mt(e.prototype,t),n&&mt(e,n),Object.defineProperty(e,"prototype",{writable:!1})}(t,[{key:"componentDidMount",value:function(){this.startListeningComposition(),this.startListeningToTouch(),this.props.closeMenuOnScroll&&document&&document.addEventListener&&document.addEventListener("scroll",this.onScroll,!0),this.props.autoFocus&&this.focusInput(),this.props.menuIsOpen&&this.state.focusedOption&&this.menuListRef&&this.focusedOptionRef&&Rr(this.menuListRef,this.focusedOptionRef)}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.isDisabled,o=t.menuIsOpen,r=this.state.isFocused;(r&&!n&&e.isDisabled||r&&o&&!e.menuIsOpen)&&this.focusInput(),r&&n&&!e.isDisabled?this.setState({isFocused:!1},this.onMenuClose):r||n||!e.isDisabled||this.inputRef!==document.activeElement||this.setState({isFocused:!0}),this.menuListRef&&this.focusedOptionRef&&this.scrollToFocusedOptionOnUpdate&&(Rr(this.menuListRef,this.focusedOptionRef),this.scrollToFocusedOptionOnUpdate=!1)}},{key:"componentWillUnmount",value:function(){this.stopListeningComposition(),this.stopListeningToTouch(),document.removeEventListener("scroll",this.onScroll,!0)}},{key:"onMenuOpen",value:function(){this.props.onMenuOpen()}},{key:"onMenuClose",value:function(){this.onInputChange("",{action:"menu-close",prevInputValue:this.props.inputValue}),this.props.onMenuClose()}},{key:"onInputChange",value:function(e,t){this.props.onInputChange(e,t)}},{key:"focusInput",value:function(){this.inputRef&&this.inputRef.focus()}},{key:"blurInput",value:function(){this.inputRef&&this.inputRef.blur()}},{key:"openMenu",value:function(e){var t=this,n=this.state,o=n.selectValue,r=n.isFocused,i=this.buildFocusableOptions(),a="first"===e?0:i.length-1;if(!this.props.isMulti){var l=i.indexOf(o[0]);l>-1&&(a=l)}this.scrollToFocusedOptionOnUpdate=!(r&&this.menuListRef),this.setState({inputIsHiddenAfterUpdate:!1,focusedValue:null,focusedOption:i[a],focusedOptionId:this.getFocusedOptionId(i[a])},(function(){return t.onMenuOpen()}))}},{key:"focusValue",value:function(e){var t=this.state,n=t.selectValue,o=t.focusedValue;if(this.props.isMulti){this.setState({focusedOption:null});var r=n.indexOf(o);o||(r=-1);var i=n.length-1,a=-1;if(n.length){switch(e){case"previous":a=0===r?0:-1===r?i:r-1;break;case"next":r>-1&&r<i&&(a=r+1)}this.setState({inputIsHidden:-1!==a,focusedValue:n[a]})}}}},{key:"focusOption",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"first",t=this.props.pageSize,n=this.state.focusedOption,o=this.getFocusableOptions();if(o.length){var r=0,i=o.indexOf(n);n||(i=-1),"up"===e?r=i>0?i-1:o.length-1:"down"===e?r=(i+1)%o.length:"pageup"===e?(r=i-t)<0&&(r=0):"pagedown"===e?(r=i+t)>o.length-1&&(r=o.length-1):"last"===e&&(r=o.length-1),this.scrollToFocusedOptionOnUpdate=!0,this.setState({focusedOption:o[r],focusedValue:null,focusedOptionId:this.getFocusedOptionId(o[r])})}}},{key:"getTheme",value:function(){return this.props.theme?"function"==typeof this.props.theme?this.props.theme(ia):ct(ct({},ia),this.props.theme):ia}},{key:"getCommonProps",value:function(){var e=this.clearValue,t=this.cx,n=this.getStyles,o=this.getClassNames,r=this.getValue,i=this.selectOption,a=this.setValue,l=this.props,s=l.isMulti,c=l.isRtl,u=l.options;return{clearValue:e,cx:t,getStyles:n,getClassNames:o,getValue:r,hasValue:this.hasValue(),isMulti:s,isRtl:c,options:u,selectOption:i,selectProps:l,setValue:a,theme:this.getTheme()}}},{key:"hasValue",value:function(){return this.state.selectValue.length>0}},{key:"hasOptions",value:function(){return!!this.getFocusableOptions().length}},{key:"isClearable",value:function(){var e=this.props,t=e.isClearable,n=e.isMulti;return void 0===t?n:t}},{key:"isOptionDisabled",value:function(e,t){return ha(this.props,e,t)}},{key:"isOptionSelected",value:function(e,t){return ma(this.props,e,t)}},{key:"filterOption",value:function(e,t){return ba(this.props,e,t)}},{key:"formatOptionLabel",value:function(e,t){if("function"==typeof this.props.formatOptionLabel){var n=this.props.inputValue,o=this.state.selectValue;return this.props.formatOptionLabel(e,{context:t,inputValue:n,selectValue:o})}return this.getOptionLabel(e)}},{key:"formatGroupLabel",value:function(e){return this.props.formatGroupLabel(e)}},{key:"startListeningComposition",value:function(){document&&document.addEventListener&&(document.addEventListener("compositionstart",this.onCompositionStart,!1),document.addEventListener("compositionend",this.onCompositionEnd,!1))}},{key:"stopListeningComposition",value:function(){document&&document.removeEventListener&&(document.removeEventListener("compositionstart",this.onCompositionStart),document.removeEventListener("compositionend",this.onCompositionEnd))}},{key:"startListeningToTouch",value:function(){document&&document.addEventListener&&(document.addEventListener("touchstart",this.onTouchStart,!1),document.addEventListener("touchmove",this.onTouchMove,!1),document.addEventListener("touchend",this.onTouchEnd,!1))}},{key:"stopListeningToTouch",value:function(){document&&document.removeEventListener&&(document.removeEventListener("touchstart",this.onTouchStart),document.removeEventListener("touchmove",this.onTouchMove),document.removeEventListener("touchend",this.onTouchEnd))}},{key:"renderInput",value:function(){var e=this.props,t=e.isDisabled,n=e.isSearchable,r=e.inputId,i=e.inputValue,a=e.tabIndex,l=e.form,s=e.menuIsOpen,c=e.required,u=this.getComponents().Input,d=this.state,p=d.inputIsHidden,g=d.ariaSelection,f=this.commonProps,h=r||this.getElementId("input"),m=ct(ct(ct({"aria-autocomplete":"list","aria-expanded":s,"aria-haspopup":!0,"aria-errormessage":this.props["aria-errormessage"],"aria-invalid":this.props["aria-invalid"],"aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"],"aria-required":c,role:"combobox","aria-activedescendant":this.isAppleDevice?void 0:this.state.focusedOptionId||""},s&&{"aria-controls":this.getElementId("listbox")}),!n&&{"aria-readonly":!0}),this.hasValue()?"initial-input-focus"===(null==g?void 0:g.action)&&{"aria-describedby":this.getElementId("live-region")}:{"aria-describedby":this.getElementId("placeholder")});return n?o.createElement(u,ht({},f,{autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",id:h,innerRef:this.getInputRef,isDisabled:t,isHidden:p,onBlur:this.onInputBlur,onChange:this.handleInputChange,onFocus:this.onInputFocus,spellCheck:"false",tabIndex:a,form:l,type:"text",value:i},m)):o.createElement(Pi,ht({id:h,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:Ar,onFocus:this.onInputFocus,disabled:t,tabIndex:a,inputMode:"none",form:l,value:""},m))}},{key:"renderPlaceholderOrValue",value:function(){var e=this,t=this.getComponents(),n=t.MultiValue,r=t.MultiValueContainer,i=t.MultiValueLabel,a=t.MultiValueRemove,l=t.SingleValue,s=t.Placeholder,c=this.commonProps,u=this.props,d=u.controlShouldRenderValue,p=u.isDisabled,g=u.isMulti,f=u.inputValue,h=u.placeholder,m=this.state,b=m.selectValue,v=m.focusedValue,I=m.isFocused;if(!this.hasValue()||!d)return f?null:o.createElement(s,ht({},c,{key:"placeholder",isDisabled:p,isFocused:I,innerProps:{id:this.getElementId("placeholder")}}),h);if(g)return b.map((function(t,l){var s=t===v,u="".concat(e.getOptionLabel(t),"-").concat(e.getOptionValue(t));return o.createElement(n,ht({},c,{components:{Container:r,Label:i,Remove:a},isFocused:s,isDisabled:p,key:u,index:l,removeProps:{onClick:function(){return e.removeValue(t)},onTouchEnd:function(){return e.removeValue(t)},onMouseDown:function(e){e.preventDefault()}},data:t}),e.formatOptionLabel(t,"value"))}));if(f)return null;var y=b[0];return o.createElement(l,ht({},c,{data:y,isDisabled:p}),this.formatOptionLabel(y,"value"))}},{key:"renderClearIndicator",value:function(){var e=this.getComponents().ClearIndicator,t=this.commonProps,n=this.props,r=n.isDisabled,i=n.isLoading,a=this.state.isFocused;if(!this.isClearable()||!e||r||!this.hasValue()||i)return null;var l={onMouseDown:this.onClearIndicatorMouseDown,onTouchEnd:this.onClearIndicatorTouchEnd,"aria-hidden":"true"};return o.createElement(e,ht({},t,{innerProps:l,isFocused:a}))}},{key:"renderLoadingIndicator",value:function(){var e=this.getComponents().LoadingIndicator,t=this.commonProps,n=this.props,r=n.isDisabled,i=n.isLoading,a=this.state.isFocused;if(!e||!i)return null;return o.createElement(e,ht({},t,{innerProps:{"aria-hidden":"true"},isDisabled:r,isFocused:a}))}},{key:"renderIndicatorSeparator",value:function(){var e=this.getComponents(),t=e.DropdownIndicator,n=e.IndicatorSeparator;if(!t||!n)return null;var r=this.commonProps,i=this.props.isDisabled,a=this.state.isFocused;return o.createElement(n,ht({},r,{isDisabled:i,isFocused:a}))}},{key:"renderDropdownIndicator",value:function(){var e=this.getComponents().DropdownIndicator;if(!e)return null;var t=this.commonProps,n=this.props.isDisabled,r=this.state.isFocused,i={onMouseDown:this.onDropdownIndicatorMouseDown,onTouchEnd:this.onDropdownIndicatorTouchEnd,"aria-hidden":"true"};return o.createElement(e,ht({},t,{innerProps:i,isDisabled:n,isFocused:r}))}},{key:"renderMenu",value:function(){var e=this,t=this.getComponents(),n=t.Group,r=t.GroupHeading,i=t.Menu,a=t.MenuList,l=t.MenuPortal,s=t.LoadingMessage,c=t.NoOptionsMessage,u=t.Option,d=this.commonProps,p=this.state.focusedOption,g=this.props,f=g.captureMenuScroll,h=g.inputValue,m=g.isLoading,b=g.loadingMessage,v=g.minMenuHeight,I=g.maxMenuHeight,y=g.menuIsOpen,C=g.menuPlacement,x=g.menuPosition,w=g.menuPortalTarget,A=g.menuShouldBlockScroll,k=g.menuShouldScrollIntoView,G=g.noOptionsMessage,V=g.onMenuScrollToTop,W=g.onMenuScrollToBottom;if(!y)return null;var B,S=function(t,n){var r=t.type,i=t.data,a=t.isDisabled,l=t.isSelected,s=t.label,c=t.value,g=p===i,f=a?void 0:function(){return e.onOptionHover(i)},h=a?void 0:function(){return e.selectOption(i)},m="".concat(e.getElementId("option"),"-").concat(n),b={id:m,onClick:h,onMouseMove:f,onMouseOver:f,tabIndex:-1,role:"option","aria-selected":e.isAppleDevice?void 0:l};return o.createElement(u,ht({},d,{innerProps:b,data:i,isDisabled:a,isSelected:l,key:m,label:s,type:r,value:c,isFocused:g,innerRef:g?e.getFocusedOptionRef:void 0}),e.formatOptionLabel(t.data,"menu"))};if(this.hasOptions())B=this.getCategorizedOptions().map((function(t){if("group"===t.type){var i=t.data,a=t.options,l=t.index,s="".concat(e.getElementId("group"),"-").concat(l),c="".concat(s,"-heading");return o.createElement(n,ht({},d,{key:s,data:i,options:a,Heading:r,headingProps:{id:c,data:t.data},label:e.formatGroupLabel(t.data)}),t.options.map((function(e){return S(e,"".concat(l,"-").concat(e.index))})))}if("option"===t.type)return S(t,"".concat(t.index))}));else if(m){var N=b({inputValue:h});if(null===N)return null;B=o.createElement(s,d,N)}else{var X=G({inputValue:h});if(null===X)return null;B=o.createElement(c,d,X)}var Z={minMenuHeight:v,maxMenuHeight:I,menuPlacement:C,menuPosition:x,menuShouldScrollIntoView:k},R=o.createElement($r,ht({},d,Z),(function(t){var n=t.ref,r=t.placerProps,l=r.placement,s=r.maxHeight;return o.createElement(i,ht({},d,Z,{innerRef:n,innerProps:{onMouseDown:e.onMenuMouseDown,onMouseMove:e.onMenuMouseMove},isLoading:m,placement:l}),o.createElement(_i,{captureEnabled:f,onTopArrive:V,onBottomArrive:W,lockEnabled:A},(function(t){return o.createElement(a,ht({},d,{innerRef:function(n){e.getMenuListRef(n),t(n)},innerProps:{role:"listbox","aria-multiselectable":d.isMulti,id:e.getElementId("listbox")},isLoading:m,maxHeight:s,focusedOption:p}),B)})))}));return w||"fixed"===x?o.createElement(l,ht({},d,{appendTo:w,controlElement:this.controlRef,menuPlacement:C,menuPosition:x}),R):R}},{key:"renderFormField",value:function(){var e=this,t=this.props,n=t.delimiter,r=t.isDisabled,i=t.isMulti,a=t.name,l=t.required,s=this.state.selectValue;if(l&&!this.hasValue()&&!r)return o.createElement(qi,{name:a,onFocus:this.onValueInputFocus});if(a&&!r){if(i){if(n){var c=s.map((function(t){return e.getOptionValue(t)})).join(n);return o.createElement("input",{name:a,type:"hidden",value:c})}var u=s.length>0?s.map((function(t,n){return o.createElement("input",{key:"i-".concat(n),name:a,type:"hidden",value:e.getOptionValue(t)})})):o.createElement("input",{name:a,type:"hidden",value:""});return o.createElement("div",null,u)}var d=s[0]?this.getOptionValue(s[0]):"";return o.createElement("input",{name:a,type:"hidden",value:d})}}},{key:"renderLiveRegion",value:function(){var e=this.commonProps,t=this.state,n=t.ariaSelection,r=t.focusedOption,i=t.focusedValue,a=t.isFocused,l=t.selectValue,s=this.getFocusableOptions();return o.createElement(Vi,ht({},e,{id:this.getElementId("live-region"),ariaSelection:n,focusedOption:r,focusedValue:i,isFocused:a,selectValue:l,focusableOptions:s,isAppleDevice:this.isAppleDevice}))}},{key:"render",value:function(){var e=this.getComponents(),t=e.Control,n=e.IndicatorsContainer,r=e.SelectContainer,i=e.ValueContainer,a=this.props,l=a.className,s=a.id,c=a.isDisabled,u=a.menuIsOpen,d=this.state.isFocused,p=this.commonProps=this.getCommonProps();return o.createElement(r,ht({},p,{className:l,innerProps:{id:s,onKeyDown:this.onKeyDown},isDisabled:c,isFocused:d}),this.renderLiveRegion(),o.createElement(t,ht({},p,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:c,isFocused:d,menuIsOpen:u}),o.createElement(i,ht({},p,{isDisabled:c}),this.renderPlaceholderOrValue(),this.renderInput()),o.createElement(n,ht({},p,{isDisabled:c}),this.renderClearIndicator(),this.renderLoadingIndicator(),this.renderIndicatorSeparator(),this.renderDropdownIndicator())),this.renderMenu(),this.renderFormField())}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n=t.prevProps,o=t.clearFocusValueOnUpdate,r=t.inputIsHiddenAfterUpdate,i=t.ariaSelection,a=t.isFocused,l=t.prevWasFocused,s=t.instancePrefix,c=e.options,u=e.value,d=e.menuIsOpen,p=e.inputValue,g=e.isMulti,f=Vr(u),h={};if(n&&(u!==n.value||c!==n.options||d!==n.menuIsOpen||p!==n.inputValue)){var m=d?function(e,t){return ca(sa(e,t))}(e,f):[],b=d?ua(sa(e,f),"".concat(s,"-option")):[],v=o?function(e,t){var n=e.focusedValue,o=e.selectValue.indexOf(n);if(o>-1){if(t.indexOf(n)>-1)return n;if(o<t.length)return t[o]}return null}(t,f):null,I=function(e,t){var n=e.focusedOption;return n&&t.indexOf(n)>-1?n:t[0]}(t,m);h={selectValue:f,focusedOption:I,focusedOptionId:pa(b,I),focusableOptionsWithIds:b,focusedValue:v,clearFocusValueOnUpdate:!1}}var y=null!=r&&e!==n?{inputIsHidden:r,inputIsHiddenAfterUpdate:void 0}:{},C=i,x=a&&l;return a&&!x&&(C={value:Fr(g,f,f[0]||null),options:f,action:"initial-input-focus"},x=!l),"initial-input-focus"===(null==i?void 0:i.action)&&(C=null),ct(ct(ct({},h),y),{},{prevProps:e,ariaSelection:C,prevWasFocused:x})}}]),t}();ya.defaultProps=aa;var Ca=i((function(e,t){var n=function(e){var t=e.defaultInputValue,n=void 0===t?"":t,o=e.defaultMenuIsOpen,r=void 0!==o&&o,i=e.defaultValue,a=void 0===i?null:i,s=e.inputValue,u=e.menuIsOpen,d=e.onChange,p=e.onInputChange,g=e.onMenuClose,f=e.onMenuOpen,h=e.value,m=gt(e,ft),b=pt(l(void 0!==s?s:n),2),v=b[0],I=b[1],y=pt(l(void 0!==u?u:r),2),C=y[0],x=y[1],w=pt(l(void 0!==h?h:a),2),A=w[0],k=w[1],G=c((function(e,t){"function"==typeof d&&d(e,t),k(e)}),[d]),V=c((function(e,t){var n;"function"==typeof p&&(n=p(e,t)),I(void 0!==n?n:e)}),[p]),W=c((function(){"function"==typeof f&&f(),x(!0)}),[f]),B=c((function(){"function"==typeof g&&g(),x(!1)}),[g]),S=void 0!==s?s:v,N=void 0!==u?u:C,X=void 0!==h?h:A;return ct(ct({},m),{},{inputValue:S,menuIsOpen:N,onChange:G,onInputChange:V,onMenuClose:B,onMenuOpen:W,value:X})}(e);return o.createElement(ya,ht({ref:t},n))})),xa=Ca;const wa=I.label`
|
|
702
|
-
display: flex;
|
|
703
|
-
flex-direction: column;
|
|
704
|
-
gap: 4px;
|
|
705
|
-
font-size: 16px;
|
|
706
|
-
font-style: normal;
|
|
707
|
-
font-weight: 600;
|
|
708
|
-
line-height: 24px;
|
|
709
|
-
letter-spacing: 0.15px;
|
|
710
|
-
color: ${({theme:e,disabled:t})=>t?e.colors.neutral.light:e.colors.neutral.dark};
|
|
711
|
-
width: fit-content;
|
|
712
|
-
|
|
713
|
-
.custom-dropdown-icon {
|
|
714
|
-
fill: ${({theme:e,disabled:t})=>t?e.colors.neutral.light:e.colors.neutral.dark};
|
|
715
|
-
|
|
716
|
-
padding-right: 8px;
|
|
717
|
-
}
|
|
718
|
-
|
|
719
|
-
.react-select__control {
|
|
720
|
-
border-radius: ${({theme:e})=>e.radius.m};
|
|
721
|
-
border-color: ${({theme:e,hasError:t})=>t?e.colors.red.default:e.colors.neutral.dark};
|
|
722
|
-
color: ${({theme:e})=>e.colors.neutral.dark};
|
|
723
|
-
font-size: 14px;
|
|
724
|
-
font-style: normal;
|
|
725
|
-
font-weight: 400;
|
|
726
|
-
line-height: 20px;
|
|
727
|
-
letter-spacing: 0.1px;
|
|
728
|
-
cursor: pointer;
|
|
729
|
-
}
|
|
730
|
-
|
|
731
|
-
[class$="-control"]:hover {
|
|
732
|
-
border-color: ${({theme:e})=>e.colors.neutral.dark};
|
|
733
|
-
}
|
|
734
|
-
|
|
735
|
-
.react-select__control--is-focused {
|
|
736
|
-
outline: none;
|
|
737
|
-
border-color: ${({theme:e})=>e.colors.blue.dark};
|
|
738
|
-
box-shadow: none;
|
|
739
|
-
}
|
|
740
|
-
|
|
741
|
-
.react-select__control--is-disabled {
|
|
742
|
-
background-color: transparent;
|
|
743
|
-
border-color: ${({theme:e})=>e.colors.neutral.light};
|
|
744
|
-
color: ${({theme:e})=>e.colors.neutral.light};
|
|
745
|
-
|
|
746
|
-
.react-select__placeholder {
|
|
747
|
-
color: ${({theme:e})=>e.colors.neutral.light};
|
|
748
|
-
}
|
|
749
|
-
}
|
|
750
|
-
|
|
751
|
-
.react-select__indicator-separator {
|
|
752
|
-
display: none;
|
|
753
|
-
}
|
|
754
|
-
|
|
755
|
-
.react-select__menu {
|
|
756
|
-
border-radius: ${({theme:e})=>e.radius.m};
|
|
757
|
-
padding: ${({theme:e})=>e.spacing.xs};
|
|
758
|
-
border-color: transparent;
|
|
759
|
-
box-shadow: ${({theme:e})=>e.shadows.default};
|
|
760
|
-
}
|
|
761
|
-
|
|
762
|
-
.react-select__menu-list {
|
|
763
|
-
padding: 0;
|
|
764
|
-
}
|
|
765
|
-
|
|
766
|
-
.react-select__option {
|
|
767
|
-
padding: ${({theme:e})=>e.spacing.xs};
|
|
768
|
-
border-radius: ${({theme:e})=>e.radius.s};
|
|
769
|
-
color: ${({theme:e})=>e.colors.neutral.dark};
|
|
770
|
-
font-family: ${({theme:e})=>e.typography.family.default};
|
|
771
|
-
font-size: 14px;
|
|
772
|
-
font-style: normal;
|
|
773
|
-
font-weight: 400;
|
|
774
|
-
line-height: 20px;
|
|
775
|
-
letter-spacing: 0.014px;
|
|
776
|
-
transition: all 0.3s;
|
|
777
|
-
cursor: pointer;
|
|
778
|
-
|
|
779
|
-
&:hover {
|
|
780
|
-
background-color: ${({theme:e})=>e.colors.neutral.lighter};
|
|
781
|
-
}
|
|
782
|
-
}
|
|
783
|
-
|
|
784
|
-
.react-select__option--is-focused {
|
|
785
|
-
background-color: transparent;
|
|
786
|
-
}
|
|
787
|
-
|
|
788
|
-
.react-select__option--is-selected {
|
|
789
|
-
background-color: ${({theme:e})=>e.colors.primary.lightest};
|
|
790
|
-
color: ${({theme:e})=>e.colors.neutral.darker};
|
|
791
|
-
}
|
|
792
|
-
|
|
793
|
-
.react-select__multi-value {
|
|
794
|
-
border-radius: ${({theme:e})=>e.radius.s};
|
|
795
|
-
background-color: ${({theme:e})=>e.colors.neutral.lighter};
|
|
796
|
-
}
|
|
797
|
-
|
|
798
|
-
.react-select__multi-value__label {
|
|
799
|
-
padding: ${({theme:e})=>e.spacing.xxs};
|
|
800
|
-
}
|
|
801
|
-
|
|
802
|
-
.react-select__multi-value__remove:hover {
|
|
803
|
-
background-color: ${({theme:e})=>e.colors.red.lightest};
|
|
804
|
-
|
|
805
|
-
svg {
|
|
806
|
-
fill: ${({theme:e})=>e.colors.red.default};
|
|
807
|
-
}
|
|
808
|
-
}
|
|
809
|
-
|
|
810
|
-
.react-select__menu-notice {
|
|
811
|
-
color: ${({theme:e})=>e.colors.neutral.default};
|
|
812
|
-
font-family: ${({theme:e})=>e.typography.family.default};
|
|
813
|
-
font-size: 14px;
|
|
814
|
-
font-style: normal;
|
|
815
|
-
font-weight: 400;
|
|
816
|
-
line-height: 20px;
|
|
817
|
-
letter-spacing: 0.014px;
|
|
818
|
-
}
|
|
819
|
-
`,Aa=I.div`
|
|
820
|
-
color: ${({theme:e,isError:t,disabled:n})=>t?e.colors.primary.default:n?e.colors.neutral.light:e.colors.neutral.dark};
|
|
821
|
-
font-size: 12px;
|
|
822
|
-
font-style: normal;
|
|
823
|
-
font-weight: 400;
|
|
824
|
-
line-height: 16px;
|
|
825
|
-
height: 16px;
|
|
826
|
-
letter-spacing: 0.4px;
|
|
827
|
-
`,ka=({label:n,error:o,control:r,info:i,isDisabled:a,isLoading:l,...s})=>{const c=y();return t(wa,{disabled:a||l,hasError:!!o,children:[n,e(xa,{components:{DropdownIndicator:()=>l?e(ce,{color:c.colors.neutral.light,size:16,style:{marginRight:8}}):e(Ae,{className:"custom-dropdown-icon",icon:"chevronDown",size:28})},isDisabled:a||l,classNamePrefix:"react-select",noOptionsMessage:()=>"Nada encontrado",...s}),(!!r||!!o||!!i)&&e(Aa,{className:"additional-info",disabled:a||l,isError:!!o,children:o||i})]})},Ga=({name:t,label:n,register:o,control:r,error:i,info:a,isLoading:l,...s})=>r?e(J,{name:t||"",control:r,render:({field:t})=>e(ka,{label:n,error:i,info:a,control:r,isLoading:l,isDisabled:s.isDisabled,...s,...t})}):e(ka,{label:n,error:i,info:a,control:r,isLoading:l,isDisabled:s.isDisabled,...s}),Va=I.label`
|
|
828
|
-
display: flex;
|
|
829
|
-
gap: ${$};
|
|
830
|
-
align-items: center;
|
|
831
|
-
justify-content: center;
|
|
832
|
-
width: fit-content;
|
|
833
|
-
flex-direction: ${({labelPosition:e})=>_[e]};
|
|
834
|
-
border-radius: ${j};
|
|
835
|
-
cursor: pointer;
|
|
836
|
-
user-select: none;
|
|
837
|
-
|
|
838
|
-
input {
|
|
839
|
-
opacity: 0;
|
|
840
|
-
width: 0;
|
|
841
|
-
height: 0;
|
|
842
|
-
position: absolute;
|
|
843
|
-
}
|
|
844
|
-
|
|
845
|
-
&:has(> input[type="checkbox"]:focus-visible) {
|
|
846
|
-
outline: 1px solid black;
|
|
847
|
-
outline-offset: 2px;
|
|
848
|
-
}
|
|
849
|
-
|
|
850
|
-
span {
|
|
851
|
-
color: ${({theme:e})=>e.colors.neutral.darker};
|
|
852
|
-
font-family: Poppins;
|
|
853
|
-
font-size: 14px;
|
|
854
|
-
font-style: normal;
|
|
855
|
-
font-weight: 500;
|
|
856
|
-
line-height: 20px; /* 142.857% */
|
|
857
|
-
letter-spacing: 0.1px;
|
|
858
|
-
transition: all 0.3s;
|
|
859
|
-
}
|
|
860
|
-
|
|
861
|
-
&:has(> input[type="checkbox"]:disabled) {
|
|
862
|
-
cursor: default;
|
|
863
|
-
|
|
864
|
-
span {
|
|
865
|
-
color: ${({theme:e})=>e.colors.neutral.light};
|
|
866
|
-
}
|
|
867
|
-
}
|
|
868
|
-
`,Wa=I.div`
|
|
869
|
-
flex-shrink: 0;
|
|
870
|
-
position: relative;
|
|
871
|
-
width: 40px;
|
|
872
|
-
height: 20px;
|
|
873
|
-
border-radius: 20px;
|
|
874
|
-
transition: all 0.3s;
|
|
875
|
-
background-color: ${({theme:e})=>e.colors.neutral.default};
|
|
876
|
-
border: 1px solid transparent;
|
|
877
|
-
|
|
878
|
-
label:hover > & {
|
|
879
|
-
background-color: ${({theme:e})=>e.colors.neutral.dark};
|
|
880
|
-
}
|
|
881
|
-
|
|
882
|
-
// Switch button
|
|
883
|
-
&::after {
|
|
884
|
-
content: "";
|
|
885
|
-
position: absolute;
|
|
886
|
-
width: 14px;
|
|
887
|
-
height: 14px;
|
|
888
|
-
border-radius: 50%;
|
|
889
|
-
background-color: white;
|
|
890
|
-
transition: all 0.3s;
|
|
891
|
-
top: 2px;
|
|
892
|
-
left: ${({isLoading:e})=>e?"12px":"2px"};
|
|
893
|
-
}
|
|
894
|
-
|
|
895
|
-
// Checked
|
|
896
|
-
input[type="checkbox"]:checked ~ & {
|
|
897
|
-
background-color: ${({colorVariants:e,theme:t})=>e?.default||t.colors.green.default};
|
|
898
|
-
|
|
899
|
-
label:hover > & {
|
|
900
|
-
background-color: ${({colorVariants:e,theme:t})=>e?.dark||t.colors.green.dark};
|
|
901
|
-
}
|
|
902
|
-
|
|
903
|
-
&::after {
|
|
904
|
-
left: ${({isLoading:e})=>e?"12px":"22px"};
|
|
905
|
-
}
|
|
906
|
-
}
|
|
907
|
-
|
|
908
|
-
// Disabled
|
|
909
|
-
input[type="checkbox"]:disabled ~ & {
|
|
910
|
-
background-color: #fff;
|
|
911
|
-
border-color: ${({theme:e})=>e.colors.neutral.light};
|
|
912
|
-
|
|
913
|
-
&::after {
|
|
914
|
-
background-color: ${({theme:e})=>e.colors.neutral.light};
|
|
915
|
-
}
|
|
916
|
-
}
|
|
917
|
-
|
|
918
|
-
//Disabled and checked
|
|
919
|
-
input[type="checkbox"]:disabled:checked ~ & {
|
|
920
|
-
background-color: ${({theme:e})=>e.colors.neutral.lighter};
|
|
921
|
-
border-color: transparent;
|
|
922
|
-
|
|
923
|
-
label:hover > & {
|
|
924
|
-
background-color: ${({theme:e})=>e.colors.neutral.lighter};
|
|
925
|
-
}
|
|
926
|
-
|
|
927
|
-
&::after {
|
|
928
|
-
background-color: ${({theme:e})=>e.colors.neutral.light};
|
|
929
|
-
}
|
|
930
|
-
}
|
|
931
|
-
`,Ba=i((function({label:n,labelPosition:o="right",customColor:r,isLoading:i,register:l,...s},c){const u=y(),d=r?a((()=>ie(r)),[r]):void 0;return t(Va,{labelPosition:o,children:[e("input",{ref:c,type:"checkbox",...s,disabled:i||s.disabled,...l}),n&&e("span",{children:n}),e(Wa,{colorVariants:d,isLoading:i,children:e(ce,{size:10,color:u.colors.neutral.lighter,style:{position:"absolute",left:14,top:4,transition:"all 0.3s cubic-bezier(0.65, 0, 0.35, 1)",zIndex:1,opacity:i?1:0}})})]})})),Sa=I.div`
|
|
932
|
-
display: flex;
|
|
933
|
-
gap: ${({gap:e})=>e};
|
|
934
|
-
width: 100%;
|
|
935
|
-
`,Na=I.div`
|
|
936
|
-
display: flex;
|
|
937
|
-
flex-direction: column;
|
|
938
|
-
gap: ${({gap:e})=>e};
|
|
939
|
-
`,Xa=i((({columnCount:t,gap:n="10px",children:o,...r},i)=>{const a=Array.from({length:t},(e=>[]));return m.forEach(o,((e,n)=>{const o=a[n%t];Array.isArray(o)&&o.push(e)})),e(Sa,{ref:i,gap:n,...r,children:a.map((t=>e(Na,{gap:n,children:t})))})})),Za=I.div`
|
|
940
|
-
display: grid;
|
|
941
|
-
grid-template-columns: repeat(${({colCount:e})=>e}, 1fr);
|
|
942
|
-
gap: ${({gap:e})=>e};
|
|
943
|
-
|
|
944
|
-
.red {
|
|
945
|
-
background-color: red;
|
|
946
|
-
}
|
|
947
|
-
`,Ra=i((({elementsPerRow:e,gap:n="8px",children:o,...r},i)=>{const a=oe(e||[1]);let l=0;return t(Za,{ref:i,gap:n,colCount:a,...r,children:[e?.map((e=>{const t=o.slice(l,l+e).map((t=>(console.log("child: ",t.props),b(t,{style:{...t.props.style,gridColumn:"span "+a/e}}))));return l+=e,t})),o.slice(l).map((e=>e))]})})),Oa=C.div`
|
|
948
|
-
display: grid;
|
|
949
|
-
grid-template-columns: repeat(${({colCount:e})=>e}, 1fr);
|
|
950
|
-
gap: ${({gap:e})=>e};
|
|
951
|
-
`,Ta=i((({areaTemplate:n,gap:o="8px",children:i,...a},l)=>{const s=n[0].reduce(((e,t)=>e+Math.abs(t)),0);let c=0;return t(Oa,{ref:l,colCount:s,gap:o,...a,children:[n.map((t=>{const n=t.length,o=t.filter((e=>e>0)).length,a=i.slice(c,c+n).map(((n,o)=>t[o]<0?e("div",{style:{gridColumn:`span ${Math.abs(t[o])}`}}):r.cloneElement(n,{style:{...n.props.style,gridColumn:`span ${t[o]}`}})));return c+=o,a})),i.slice(c+1).map((e=>e))]})})),La=I.div`
|
|
952
|
-
width: 100%;
|
|
953
|
-
display: grid;
|
|
954
|
-
grid-template-columns: repeat(
|
|
955
|
-
auto-fill,
|
|
956
|
-
${({minWidth:e,fixedWidth:t})=>t||`minmax(${e}, 1fr)`}
|
|
957
|
-
);
|
|
958
|
-
justify-content: space-between;
|
|
959
|
-
gap: ${({gap:e})=>e};
|
|
960
|
-
`,Ma=i((({gap:t="8px",minWidth:n="auto",fixedWidth:o,children:r,...i},a)=>e(La,{ref:a,fixedWidth:o,minWidth:n,gap:t,...i,children:r}))),Pa=I.div`
|
|
961
|
-
position: fixed;
|
|
962
|
-
top: 0;
|
|
963
|
-
left: 0;
|
|
964
|
-
width: 100dvw;
|
|
965
|
-
height: 100dvh;
|
|
966
|
-
padding: ${({theme:e})=>e.spacing.m};
|
|
967
|
-
background-color: transparent;
|
|
968
|
-
display: ${({open:e})=>e?"flex":"none"};
|
|
969
|
-
justify-content: center;
|
|
970
|
-
align-items: center;
|
|
971
|
-
backdrop-filter: blur(2px);
|
|
972
|
-
`,Ea=I.div`
|
|
973
|
-
display: flex;
|
|
974
|
-
flex-direction: column;
|
|
975
|
-
gap: ${({theme:e})=>e.spacing.s};
|
|
976
|
-
background-color: white;
|
|
977
|
-
border-radius: ${({theme:e})=>e.radius.m};
|
|
978
|
-
box-shadow: ${({theme:e})=>e.shadows.default};
|
|
979
|
-
padding: ${({theme:e})=>e.spacing.s};
|
|
980
|
-
width: 100%;
|
|
981
|
-
height: 100%;
|
|
982
|
-
min-width: fit-content;
|
|
983
|
-
`,Fa=I.div`
|
|
984
|
-
display: flex;
|
|
985
|
-
justify-content: space-between;
|
|
986
|
-
align-items: flex-start;
|
|
987
|
-
|
|
988
|
-
svg {
|
|
989
|
-
cursor: pointer;
|
|
990
|
-
}
|
|
991
|
-
`,Ha=I.div`
|
|
992
|
-
display: flex;
|
|
993
|
-
flex-direction: column;
|
|
994
|
-
flex-grow: 1;
|
|
995
|
-
|
|
996
|
-
h1 {
|
|
997
|
-
color: ${({theme:e})=>e.colors.neutral.darker};
|
|
998
|
-
font-size: 22px;
|
|
999
|
-
font-style: normal;
|
|
1000
|
-
font-weight: 600;
|
|
1001
|
-
line-height: 28px;
|
|
1002
|
-
}
|
|
1003
|
-
|
|
1004
|
-
h2 {
|
|
1005
|
-
color: ${({theme:e})=>e.colors.neutral.dark};
|
|
1006
|
-
font-size: 14px;
|
|
1007
|
-
font-style: normal;
|
|
1008
|
-
font-weight: 500;
|
|
1009
|
-
line-height: 20px;
|
|
1010
|
-
letter-spacing: 0.1px;
|
|
1011
|
-
}
|
|
1012
|
-
`,Da=I.div`
|
|
1013
|
-
flex-grow: 1;
|
|
1014
|
-
`,za=I.div`
|
|
1015
|
-
display: flex;
|
|
1016
|
-
justify-content: flex-end;
|
|
1017
|
-
gap: ${({theme:e})=>e.spacing.xs};
|
|
1018
|
-
`,Ya=i((function({open:t,toggle:n,overlayStyles:o,children:i,...a},l){const s=r.Children.map(i,(e=>r.isValidElement(e)&&e.props.hasClose?r.cloneElement(e,{toggle:n}):e));return e(Pa,{ref:l,style:o,open:t,onClick:()=>n?.(),children:e(Ea,{onClick:e=>e.stopPropagation(),...a,children:s})})}));Object.assign(Ya,{Header:({children:n,hasClose:o,toggle:r,...i})=>t(Fa,{...i,children:[e(Ha,{children:n}),o&&e(Ae,{icon:"close",onClick:()=>r?.()})]}),Body:({children:t,...n})=>e(Da,{...n,children:t}),Footer:({children:o,...r})=>t(n,{children:[e(qe,{}),e(za,{...r,children:o})]})});const Ja=I.div`
|
|
1019
|
-
padding: ${({theme:e})=>e.spacing.s};
|
|
1020
|
-
border-radius: ${({theme:e})=>e.radius.m};
|
|
1021
|
-
background-color: ${({theme:e,color:t})=>e.colors[t].lightest+"66"};
|
|
1022
|
-
border: 1px solid
|
|
1023
|
-
${({theme:e,color:t})=>e.colors[t].lighter};
|
|
1024
|
-
display: flex;
|
|
1025
|
-
gap: ${({theme:e})=>e.spacing.s};
|
|
1026
|
-
align-items: flex-start;
|
|
1027
|
-
transition: all 0.3s;
|
|
1028
|
-
|
|
1029
|
-
color: ${({theme:e})=>e.colors.neutral.dark};
|
|
1030
|
-
font-size: 14px;
|
|
1031
|
-
font-style: normal;
|
|
1032
|
-
font-weight: 500;
|
|
1033
|
-
line-height: 24px;
|
|
1034
|
-
|
|
1035
|
-
svg {
|
|
1036
|
-
flex-shrink: 0;
|
|
1037
|
-
fill: ${({theme:e,color:t})=>e.colors[t].default};
|
|
1038
|
-
}
|
|
1039
|
-
|
|
1040
|
-
.close-icon {
|
|
1041
|
-
cursor: pointer;
|
|
1042
|
-
fill: ${({theme:e})=>e.colors.neutral.dark};
|
|
1043
|
-
height: 18px;
|
|
1044
|
-
}
|
|
1045
|
-
|
|
1046
|
-
transform-origin: top;
|
|
1047
|
-
${({isOpen:e})=>e?"pointer-events: auto; transform: scaleY(1);":" pointer-events: none; transform: scaleY(0);"}
|
|
1048
|
-
`,ja=I.div`
|
|
1049
|
-
flex-grow: 1;
|
|
1050
|
-
`,$a={success:{color:"green",icon:e(Ae,{icon:"check"})},warning:{color:"yellow",icon:e(Ae,{icon:"warning"})},error:{color:"red",icon:e(Ae,{icon:"closeCircle"})},info:{color:"blue",icon:e(Ae,{icon:"info"})}},Ua=i((function({variant:n="info",onClose:o,isOpen:r,children:i,...a},l){return t(Ja,{ref:l,color:$a[n].color,isOpen:r,...a,children:[$a[n].icon,e(ja,{children:i}),!!o&&e(Ae,{className:"close-icon",icon:"close",onClick:()=>o()})]})})),Qa=I.button`
|
|
1051
|
-
display: flex;
|
|
1052
|
-
align-items: center;
|
|
1053
|
-
gap: ${({theme:e})=>e.spacing.xs};
|
|
1054
|
-
padding: ${({theme:e})=>e.spacing.xxs+" "+e.spacing.xs};
|
|
1055
|
-
border: none;
|
|
1056
|
-
background-color: ${({theme:e})=>e.colors.neutral.lightest};
|
|
1057
|
-
border-radius: ${({theme:e})=>e.radius.m+" "+e.radius.m+" 0 0"};
|
|
1058
|
-
width: fit-content;
|
|
1059
|
-
cursor: pointer;
|
|
1060
|
-
|
|
1061
|
-
color: ${({theme:e})=>e.colors.neutral.dark};
|
|
1062
|
-
font-family: ${({theme:e})=>e.typography.family.default};
|
|
1063
|
-
font-size: 14px;
|
|
1064
|
-
font-style: normal;
|
|
1065
|
-
font-weight: 500;
|
|
1066
|
-
line-height: normal;
|
|
1067
|
-
|
|
1068
|
-
svg {
|
|
1069
|
-
fill: ${({theme:e})=>e.colors.neutral.dark};
|
|
1070
|
-
width: 20px;
|
|
1071
|
-
height: 20px;
|
|
1072
|
-
flex-shrink: 0;
|
|
1073
|
-
}
|
|
1074
|
-
|
|
1075
|
-
&:hover {
|
|
1076
|
-
background-color: ${({theme:e})=>e.colors.neutral.lighter};
|
|
1077
|
-
}
|
|
1078
|
-
|
|
1079
|
-
${({isSelected:e,theme:t})=>e&&`\n background-color: #fff;\n color: ${t.colors.neutral.darker};\n\n svg {\n fill: ${t.colors.neutral.darker};\n }\n `}
|
|
1080
|
-
|
|
1081
|
-
&:disabled {
|
|
1082
|
-
cursor: default;
|
|
1083
|
-
color: ${({theme:e})=>e.colors.neutral.light};
|
|
1084
|
-
background-color: ${({theme:e})=>e.colors.neutral.lighter};
|
|
1085
|
-
|
|
1086
|
-
svg {
|
|
1087
|
-
fill: ${({theme:e})=>e.colors.neutral.light};
|
|
1088
|
-
}
|
|
1089
|
-
}
|
|
1090
|
-
`,_a=I.span`
|
|
1091
|
-
display: flex;
|
|
1092
|
-
align-items: center;
|
|
1093
|
-
justify-content: center;
|
|
1094
|
-
background-color: ${({theme:e})=>e.colors.neutral.light};
|
|
1095
|
-
border-radius: ${({theme:e})=>e.radius.s};
|
|
1096
|
-
padding: ${({theme:e})=>e.spacing.xxs};
|
|
1097
|
-
min-width: 19px;
|
|
1098
|
-
|
|
1099
|
-
color: #fff;
|
|
1100
|
-
font-size: 11px;
|
|
1101
|
-
font-style: normal;
|
|
1102
|
-
font-weight: 600;
|
|
1103
|
-
line-height: 11px;
|
|
1104
|
-
`,Ka={default:Qa,transparent:I(Qa)`
|
|
1105
|
-
background-color: transparent;
|
|
1106
|
-
position: relative;
|
|
1107
|
-
|
|
1108
|
-
&::after {
|
|
1109
|
-
content: "";
|
|
1110
|
-
position: absolute;
|
|
1111
|
-
bottom: 0px;
|
|
1112
|
-
left: 50%;
|
|
1113
|
-
height: 2px;
|
|
1114
|
-
width: 0px;
|
|
1115
|
-
background-color: ${({theme:e})=>e.colors.neutral.default};
|
|
1116
|
-
border-radius: 2px;
|
|
1117
|
-
transition: all 0.2s;
|
|
1118
|
-
}
|
|
1119
|
-
|
|
1120
|
-
&:hover {
|
|
1121
|
-
background-color: transparent;
|
|
1122
|
-
}
|
|
1123
|
-
|
|
1124
|
-
&:hover::after {
|
|
1125
|
-
width: calc(100% - 16px);
|
|
1126
|
-
left: 8px;
|
|
1127
|
-
}
|
|
1128
|
-
|
|
1129
|
-
${({isSelected:e,theme:t})=>e&&`\n &::after {\n width: calc(100% - 16px);\n left: 8px;\n background-color: ${t.colors.primary.default};\n }\n `}
|
|
1130
|
-
`},qa=i((function({icon:n,counter:o,isSelected:r,children:i,variant:a="default",...l},s){return t(Ka[a],{ref:s,isSelected:r,...l,children:[n,i,!isNaN(Number(o))&&e(_a,{children:o})]})})),el=I.div`
|
|
1131
|
-
display: flex;
|
|
1132
|
-
gap: ${({theme:e})=>e.spacing.xs};
|
|
1133
|
-
align-items: flex-end;
|
|
1134
|
-
`,tl=i((function({variant:t="default",tabs:n,defaultTab:o=0,onTabChange:r,value:i,...a},c){const[u,d]=l(o);return s((()=>{i&&d(i)}),[i]),e(el,{ref:c,...a,children:Array.isArray(n)&&n.map(((n,o)=>e(qa,"string"==typeof n?{isSelected:u===o,onClick:()=>{d(o),r?.(o)},variant:t,children:n}:{isSelected:u===o,onClick:()=>{d(o),r?.(o)},variant:t,icon:n.icon,counter:n.counter,children:n.text},o)))})}));var nl,ol={exports:{}};
|
|
1135
|
-
/*!
|
|
1136
|
-
Copyright (c) 2018 Jed Watson.
|
|
1137
|
-
Licensed under the MIT License (MIT), see
|
|
1138
|
-
http://jedwatson.github.io/classnames
|
|
1139
|
-
*/var rl,il=(nl||(nl=1,rl=ol,function(){var e={}.hasOwnProperty;function t(){for(var e="",t=0;t<arguments.length;t++){var r=arguments[t];r&&(e=o(e,n(r)))}return e}function n(n){if("string"==typeof n||"number"==typeof n)return n;if("object"!=typeof n)return"";if(Array.isArray(n))return t.apply(null,n);if(n.toString!==Object.prototype.toString&&!n.toString.toString().includes("[native code]"))return n.toString();var r="";for(var i in n)e.call(n,i)&&n[i]&&(r=o(r,i));return r}function o(e,t){return t?e?e+" "+t:e+t:e}rl.exports?(t.default=t,rl.exports=t):window.classNames=t}()),ol.exports),al=We(il);
|
|
1140
|
-
/*
|
|
1141
|
-
* React Tooltip
|
|
1142
|
-
* {@link https://github.com/ReactTooltip/react-tooltip}
|
|
1143
|
-
* @copyright ReactTooltip Team
|
|
1144
|
-
* @license MIT
|
|
1145
|
-
*/
|
|
1146
|
-
const ll={core:!1,base:!1};function sl({css:e,id:t="react-tooltip-base-styles",type:n="base",ref:o}){var r,i;if(!e||"undefined"==typeof document||ll[n])return;if("core"===n&&"undefined"!=typeof process&&(null===(r=null===process||void 0===process?void 0:process.env)||void 0===r?void 0:r.REACT_TOOLTIP_DISABLE_CORE_STYLES))return;if("base"!==n&&"undefined"!=typeof process&&(null===(i=null===process||void 0===process?void 0:process.env)||void 0===i?void 0:i.REACT_TOOLTIP_DISABLE_BASE_STYLES))return;"core"===n&&(t="react-tooltip-core-styles"),o||(o={});const{insertAt:a}=o;if(document.getElementById(t))return;const l=document.head||document.getElementsByTagName("head")[0],s=document.createElement("style");s.id=t,s.type="text/css","top"===a&&l.firstChild?l.insertBefore(s,l.firstChild):l.appendChild(s),s.styleSheet?s.styleSheet.cssText=e:s.appendChild(document.createTextNode(e)),ll[n]=!0}const cl=async({elementReference:e=null,tooltipReference:t=null,tooltipArrowReference:n=null,place:o="top",offset:r=10,strategy:i="absolute",middlewares:a=[br(Number(r)),Ir({fallbackAxisSideDirection:"start"}),vr({padding:5})],border:l})=>{if(!e)return{tooltipStyles:{},tooltipArrowStyles:{},place:o};if(null===t)return{tooltipStyles:{},tooltipArrowStyles:{},place:o};const s=a;return n?(s.push(yr({element:n,padding:5})),Cr(e,t,{placement:o,strategy:i,middleware:s}).then((({x:e,y:t,placement:n,middlewareData:o})=>{var r,i;const a={left:`${e}px`,top:`${t}px`,border:l},{x:s,y:c}=null!==(r=o.arrow)&&void 0!==r?r:{x:0,y:0},u=null!==(i={top:"bottom",right:"left",bottom:"top",left:"right"}[n.split("-")[0]])&&void 0!==i?i:"bottom",d=l&&{borderBottom:l,borderRight:l};let p=0;if(l){const e=`${l}`.match(/(\d+)px/);p=(null==e?void 0:e[1])?Number(e[1]):1}return{tooltipStyles:a,tooltipArrowStyles:{left:null!=s?`${s}px`:"",top:null!=c?`${c}px`:"",right:"",bottom:"",...d,[u]:`-${4+p}px`},place:n}}))):Cr(e,t,{placement:"bottom",strategy:i,middleware:s}).then((({x:e,y:t,placement:n})=>({tooltipStyles:{left:`${e}px`,top:`${t}px`},tooltipArrowStyles:{},place:n})))},ul=(e,t)=>!("CSS"in window&&"supports"in window.CSS)||window.CSS.supports(e,t),dl=(e,t,n)=>{let o=null;const r=function(...n){!o&&(e.apply(this,n),o=setTimeout((()=>{o=null}),t))};return r.cancel=()=>{o&&(clearTimeout(o),o=null)},r},pl=e=>null!==e&&!Array.isArray(e)&&"object"==typeof e,gl=(e,t)=>{if(e===t)return!0;if(Array.isArray(e)&&Array.isArray(t))return e.length===t.length&&e.every(((e,n)=>gl(e,t[n])));if(Array.isArray(e)!==Array.isArray(t))return!1;if(!pl(e)||!pl(t))return e===t;const n=Object.keys(e),o=Object.keys(t);return n.length===o.length&&n.every((n=>gl(e[n],t[n])))},fl=e=>{if(!(e instanceof HTMLElement||e instanceof SVGElement))return!1;const t=getComputedStyle(e);return["overflow","overflow-x","overflow-y"].some((e=>{const n=t.getPropertyValue(e);return"auto"===n||"scroll"===n}))},hl=e=>{if(!e)return null;let t=e.parentElement;for(;t;){if(fl(t))return t;t=t.parentElement}return document.scrollingElement||document.documentElement},ml="undefined"!=typeof window?d:s,bl=e=>{e.current&&(clearTimeout(e.current),e.current=null)},vl={anchorRefs:new Set,activeAnchor:{current:null},attach:()=>{},detach:()=>{},setActiveAnchor:()=>{}},Il=g({getTooltipData:()=>vl});function yl(e="DEFAULT_TOOLTIP_ID"){return u(Il).getTooltipData(e)}var Cl={tooltip:"core-styles-module_tooltip__3vRRp",fixed:"core-styles-module_fixed__pcSol",arrow:"core-styles-module_arrow__cvMwQ",noArrow:"core-styles-module_noArrow__xock6",clickable:"core-styles-module_clickable__ZuTTB",show:"core-styles-module_show__Nt9eE",closing:"core-styles-module_closing__sGnxF"},xl={tooltip:"styles-module_tooltip__mnnfp",arrow:"styles-module_arrow__K0L3T",dark:"styles-module_dark__xNqje",light:"styles-module_light__Z6W-X",success:"styles-module_success__A2AKt",warning:"styles-module_warning__SCK0X",error:"styles-module_error__JvumD",info:"styles-module_info__BWdHW"};const wl=({forwardRef:e,id:t,className:n,classNameArrow:o,variant:i="dark",anchorId:a,anchorSelect:u,place:d="top",offset:g=10,events:f=["hover"],openOnClick:h=!1,positionStrategy:m="absolute",middlewares:b,wrapper:I,delayShow:y=0,delayHide:C=0,float:x=!1,hidden:w=!1,noArrow:A=!1,clickable:k=!1,closeOnEsc:G=!1,closeOnScroll:V=!1,closeOnResize:W=!1,openEvents:B,closeEvents:S,globalCloseEvents:N,imperativeModeOnly:X,style:Z,position:R,afterShow:O,afterHide:T,disableTooltip:L,content:M,contentWrapperRef:P,isOpen:E,defaultIsOpen:F=!1,setIsOpen:H,activeAnchor:D,setActiveAnchor:z,border:Y,opacity:J,arrowColor:j,role:$="tooltip"})=>{var U;const Q=p(null),_=p(null),K=p(null),q=p(null),ee=p(null),[te,ne]=l({tooltipStyles:{},tooltipArrowStyles:{},place:d}),[oe,re]=l(!1),[ie,ae]=l(!1),[le,se]=l(null),ce=p(!1),ue=p(null),{anchorRefs:de,setActiveAnchor:pe}=yl(t),ge=p(!1),[fe,he]=l([]),me=p(!1),be=h||f.includes("click"),ve=be||(null==B?void 0:B.click)||(null==B?void 0:B.dblclick)||(null==B?void 0:B.mousedown),Ie=B?{...B}:{mouseover:!0,focus:!0,mouseenter:!1,click:!1,dblclick:!1,mousedown:!1};!B&&be&&Object.assign(Ie,{mouseenter:!1,focus:!1,mouseover:!1,click:!0});const ye=S?{...S}:{mouseout:!0,blur:!0,mouseleave:!1,click:!1,dblclick:!1,mouseup:!1};!S&&be&&Object.assign(ye,{mouseleave:!1,blur:!1,mouseout:!1});const Ce=N?{...N}:{escape:G||!1,scroll:V||!1,resize:W||!1,clickOutsideAnchor:ve||!1};X&&(Object.assign(Ie,{mouseenter:!1,focus:!1,click:!1,dblclick:!1,mousedown:!1}),Object.assign(ye,{mouseleave:!1,blur:!1,click:!1,dblclick:!1,mouseup:!1}),Object.assign(Ce,{escape:!1,scroll:!1,resize:!1,clickOutsideAnchor:!1})),ml((()=>(me.current=!0,()=>{me.current=!1})),[]);const xe=e=>{me.current&&(e&&ae(!0),setTimeout((()=>{me.current&&(null==H||H(e),void 0===E&&re(e))}),10))};s((()=>{if(void 0===E)return()=>null;E&&ae(!0);const e=setTimeout((()=>{re(E)}),10);return()=>{clearTimeout(e)}}),[E]),s((()=>{if(oe!==ce.current)if(bl(ee),ce.current=oe,oe)null==O||O();else{const e=(()=>{const e=getComputedStyle(document.body).getPropertyValue("--rt-transition-show-delay").match(/^([\d.]+)(ms|s)$/);if(!e)return 0;const[,t,n]=e;return Number(t)*("ms"===n?1:1e3)})();ee.current=setTimeout((()=>{ae(!1),se(null),null==T||T()}),e+25)}}),[oe]);const we=e=>{ne((t=>gl(t,e)?t:e))},Ae=(e=y)=>{bl(K),ie?xe(!0):K.current=setTimeout((()=>{xe(!0)}),e)},ke=(e=C)=>{bl(q),q.current=setTimeout((()=>{ge.current||xe(!1)}),e)},Ge=e=>{var t;if(!e)return;const n=null!==(t=e.currentTarget)&&void 0!==t?t:e.target;if(!(null==n?void 0:n.isConnected))return z(null),void pe({current:null});y?Ae():xe(!0),z(n),pe({current:n}),bl(q)},Ve=()=>{k?ke(C||100):C?ke():xe(!1),bl(K)},We=({x:e,y:t})=>{var n;const o={getBoundingClientRect:()=>({x:e,y:t,width:0,height:0,top:t,left:e,right:e,bottom:t})};cl({place:null!==(n=null==le?void 0:le.place)&&void 0!==n?n:d,offset:g,elementReference:o,tooltipReference:Q.current,tooltipArrowReference:_.current,strategy:m,middlewares:b,border:Y}).then((e=>{we(e)}))},Be=e=>{if(!e)return;const t=e,n={x:t.clientX,y:t.clientY};We(n),ue.current=n},Se=e=>{var t;if(!oe)return;const n=e.target;n.isConnected&&((null===(t=Q.current)||void 0===t?void 0:t.contains(n))||[document.querySelector(`[id='${a}']`),...fe].some((e=>null==e?void 0:e.contains(n)))||(xe(!1),bl(K)))},Ne=dl(Ge,50),Xe=dl(Ve,50),Ze=e=>{Xe.cancel(),Ne(e)},Re=()=>{Ne.cancel(),Xe()},Oe=c((()=>{var e,t;const n=null!==(e=null==le?void 0:le.position)&&void 0!==e?e:R;n?We(n):x?ue.current&&We(ue.current):(null==D?void 0:D.isConnected)&&cl({place:null!==(t=null==le?void 0:le.place)&&void 0!==t?t:d,offset:g,elementReference:D,tooltipReference:Q.current,tooltipArrowReference:_.current,strategy:m,middlewares:b,border:Y}).then((e=>{me.current&&we(e)}))}),[oe,D,M,Z,d,null==le?void 0:le.place,g,m,R,null==le?void 0:le.position,x]);s((()=>{var e,t;const n=new Set(de);fe.forEach((e=>{(null==L?void 0:L(e))||n.add({current:e})}));const o=document.querySelector(`[id='${a}']`);o&&!(null==L?void 0:L(o))&&n.add({current:o});const r=()=>{xe(!1)},i=hl(D),l=hl(Q.current);Ce.scroll&&(window.addEventListener("scroll",r),null==i||i.addEventListener("scroll",r),null==l||l.addEventListener("scroll",r));let s=null;Ce.resize?window.addEventListener("resize",r):D&&Q.current&&(s=mr(D,Q.current,Oe,{ancestorResize:!0,elementResize:!0,layoutShift:!0}));const c=e=>{"Escape"===e.key&&xe(!1)};Ce.escape&&window.addEventListener("keydown",c),Ce.clickOutsideAnchor&&window.addEventListener("click",Se);const u=[],d=e=>{oe&&(null==e?void 0:e.target)===D||Ge(e)},p=e=>{oe&&(null==e?void 0:e.target)===D&&Ve()},g=["mouseover","mouseout","mouseenter","mouseleave","focus","blur"],f=["click","dblclick","mousedown","mouseup"];Object.entries(Ie).forEach((([e,t])=>{t&&(g.includes(e)?u.push({event:e,listener:Ze}):f.includes(e)&&u.push({event:e,listener:d}))})),Object.entries(ye).forEach((([e,t])=>{t&&(g.includes(e)?u.push({event:e,listener:Re}):f.includes(e)&&u.push({event:e,listener:p}))})),x&&u.push({event:"pointermove",listener:Be});const h=()=>{ge.current=!0},m=()=>{ge.current=!1,Ve()};return k&&!ve&&(null===(e=Q.current)||void 0===e||e.addEventListener("mouseenter",h),null===(t=Q.current)||void 0===t||t.addEventListener("mouseleave",m)),u.forEach((({event:e,listener:t})=>{n.forEach((n=>{var o;null===(o=n.current)||void 0===o||o.addEventListener(e,t)}))})),()=>{var e,t;Ce.scroll&&(window.removeEventListener("scroll",r),null==i||i.removeEventListener("scroll",r),null==l||l.removeEventListener("scroll",r)),Ce.resize?window.removeEventListener("resize",r):null==s||s(),Ce.clickOutsideAnchor&&window.removeEventListener("click",Se),Ce.escape&&window.removeEventListener("keydown",c),k&&!ve&&(null===(e=Q.current)||void 0===e||e.removeEventListener("mouseenter",h),null===(t=Q.current)||void 0===t||t.removeEventListener("mouseleave",m)),u.forEach((({event:e,listener:t})=>{n.forEach((n=>{var o;null===(o=n.current)||void 0===o||o.removeEventListener(e,t)}))}))}}),[D,Oe,ie,de,fe,B,S,N,be,y,C]),s((()=>{var e,n;let o=null!==(n=null!==(e=null==le?void 0:le.anchorSelect)&&void 0!==e?e:u)&&void 0!==n?n:"";!o&&t&&(o=`[data-tooltip-id='${t.replace(/'/g,"\\'")}']`);const r=new MutationObserver((e=>{const n=[],r=[];e.forEach((e=>{if("attributes"===e.type&&"data-tooltip-id"===e.attributeName&&(e.target.getAttribute("data-tooltip-id")===t?n.push(e.target):e.oldValue===t&&r.push(e.target)),"childList"===e.type){if(D){const t=[...e.removedNodes].filter((e=>1===e.nodeType));if(o)try{r.push(...t.filter((e=>e.matches(o)))),r.push(...t.flatMap((e=>[...e.querySelectorAll(o)])))}catch(e){}t.some((e=>{var t;return!!(null===(t=null==e?void 0:e.contains)||void 0===t?void 0:t.call(e,D))&&(ae(!1),xe(!1),z(null),bl(K),bl(q),!0)}))}if(o)try{const t=[...e.addedNodes].filter((e=>1===e.nodeType));n.push(...t.filter((e=>e.matches(o)))),n.push(...t.flatMap((e=>[...e.querySelectorAll(o)])))}catch(e){}}})),(n.length||r.length)&&he((e=>[...e.filter((e=>!r.includes(e))),...n]))}));return r.observe(document.body,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["data-tooltip-id"],attributeOldValue:!0}),()=>{r.disconnect()}}),[t,u,null==le?void 0:le.anchorSelect,D]),s((()=>{Oe()}),[Oe]),s((()=>{if(!(null==P?void 0:P.current))return()=>null;const e=new ResizeObserver((()=>{setTimeout((()=>Oe()))}));return e.observe(P.current),()=>{e.disconnect()}}),[M,null==P?void 0:P.current]),s((()=>{var e;const t=document.querySelector(`[id='${a}']`),n=[...fe,t];D&&n.includes(D)||z(null!==(e=fe[0])&&void 0!==e?e:t)}),[a,fe,D]),s((()=>(F&&xe(!0),()=>{bl(K),bl(q)})),[]),s((()=>{var e;let n=null!==(e=null==le?void 0:le.anchorSelect)&&void 0!==e?e:u;if(!n&&t&&(n=`[data-tooltip-id='${t.replace(/'/g,"\\'")}']`),n)try{const e=Array.from(document.querySelectorAll(n));he(e)}catch(e){he([])}}),[t,u,null==le?void 0:le.anchorSelect]),s((()=>{K.current&&(bl(K),Ae(y))}),[y]);const Te=null!==(U=null==le?void 0:le.content)&&void 0!==U?U:M,Le=oe&&Object.keys(te.tooltipStyles).length>0;return v(e,(()=>({open:e=>{if(null==e?void 0:e.anchorSelect)try{document.querySelector(e.anchorSelect)}catch(t){return void console.warn(`[react-tooltip] "${e.anchorSelect}" is not a valid CSS selector`)}se(null!=e?e:null),(null==e?void 0:e.delay)?Ae(e.delay):xe(!0)},close:e=>{(null==e?void 0:e.delay)?ke(e.delay):xe(!1)},activeAnchor:D,place:te.place,isOpen:Boolean(ie&&!w&&Te&&Le)}))),ie&&!w&&Te?r.createElement(I,{id:t,role:$,className:al("react-tooltip",Cl.tooltip,xl.tooltip,xl[i],n,`react-tooltip__place-${te.place}`,Cl[Le?"show":"closing"],Le?"react-tooltip__show":"react-tooltip__closing","fixed"===m&&Cl.fixed,k&&Cl.clickable),onTransitionEnd:e=>{bl(ee),oe||"opacity"!==e.propertyName||(ae(!1),se(null),null==T||T())},style:{...Z,...te.tooltipStyles,opacity:void 0!==J&&Le?J:void 0},ref:Q},Te,r.createElement(I,{className:al("react-tooltip-arrow",Cl.arrow,xl.arrow,o,A&&Cl.noArrow),style:{...te.tooltipArrowStyles,background:j?`linear-gradient(to right bottom, transparent 50%, ${j} 50%)`:void 0},ref:_})):null},Al=({content:e})=>r.createElement("span",{dangerouslySetInnerHTML:{__html:e}}),kl=r.forwardRef((({id:e,anchorId:t,anchorSelect:n,content:o,html:i,render:a,className:c,classNameArrow:u,variant:d="dark",place:g="top",offset:f=10,wrapper:h="div",children:m=null,events:b=["hover"],openOnClick:v=!1,positionStrategy:I="absolute",middlewares:y,delayShow:C=0,delayHide:x=0,float:w=!1,hidden:A=!1,noArrow:k=!1,clickable:G=!1,closeOnEsc:V=!1,closeOnScroll:W=!1,closeOnResize:B=!1,openEvents:S,closeEvents:N,globalCloseEvents:X,imperativeModeOnly:Z=!1,style:R,position:O,isOpen:T,defaultIsOpen:L=!1,disableStyleInjection:M=!1,border:P,opacity:E,arrowColor:F,setIsOpen:H,afterShow:D,afterHide:z,disableTooltip:Y,role:J="tooltip"},j)=>{const[$,U]=l(o),[Q,_]=l(i),[K,q]=l(g),[ee,te]=l(d),[ne,oe]=l(f),[re,ie]=l(C),[ae,le]=l(x),[se,ce]=l(w),[ue,de]=l(A),[pe,ge]=l(h),[fe,he]=l(b),[me,be]=l(I),[ve,Ie]=l(null),[ye,Ce]=l(null),xe=p(M),{anchorRefs:we,activeAnchor:Ae}=yl(e),ke=e=>null==e?void 0:e.getAttributeNames().reduce(((t,n)=>{var o;return n.startsWith("data-tooltip-")&&(t[n.replace(/^data-tooltip-/,"")]=null!==(o=null==e?void 0:e.getAttribute(n))&&void 0!==o?o:null),t}),{}),Ge=e=>{const t={place:e=>{var t;q(null!==(t=e)&&void 0!==t?t:g)},content:e=>{U(null!=e?e:o)},html:e=>{_(null!=e?e:i)},variant:e=>{var t;te(null!==(t=e)&&void 0!==t?t:d)},offset:e=>{oe(null===e?f:Number(e))},wrapper:e=>{var t;ge(null!==(t=e)&&void 0!==t?t:h)},events:e=>{const t=null==e?void 0:e.split(" ");he(null!=t?t:b)},"position-strategy":e=>{var t;be(null!==(t=e)&&void 0!==t?t:I)},"delay-show":e=>{ie(null===e?C:Number(e))},"delay-hide":e=>{le(null===e?x:Number(e))},float:e=>{ce(null===e?w:"true"===e)},hidden:e=>{de(null===e?A:"true"===e)},"class-name":e=>{Ie(e)}};Object.values(t).forEach((e=>e(null))),Object.entries(e).forEach((([e,n])=>{var o;null===(o=t[e])||void 0===o||o.call(t,n)}))};s((()=>{U(o)}),[o]),s((()=>{_(i)}),[i]),s((()=>{q(g)}),[g]),s((()=>{te(d)}),[d]),s((()=>{oe(f)}),[f]),s((()=>{ie(C)}),[C]),s((()=>{le(x)}),[x]),s((()=>{ce(w)}),[w]),s((()=>{de(A)}),[A]),s((()=>{be(I)}),[I]),s((()=>{xe.current!==M&&console.warn("[react-tooltip] Do not change `disableStyleInjection` dynamically.")}),[M]),s((()=>{"undefined"!=typeof window&&window.dispatchEvent(new CustomEvent("react-tooltip-inject-styles",{detail:{disableCore:"core"===M,disableBase:M}}))}),[]),s((()=>{var o;const r=new Set(we);let i=n;if(!i&&e&&(i=`[data-tooltip-id='${e.replace(/'/g,"\\'")}']`),i)try{document.querySelectorAll(i).forEach((e=>{r.add({current:e})}))}catch(o){console.warn(`[react-tooltip] "${i}" is not a valid CSS selector`)}const a=document.querySelector(`[id='${t}']`);if(a&&r.add({current:a}),!r.size)return()=>null;const l=null!==(o=null!=ye?ye:a)&&void 0!==o?o:Ae.current,s=new MutationObserver((e=>{e.forEach((e=>{var t;if(!l||"attributes"!==e.type||!(null===(t=e.attributeName)||void 0===t?void 0:t.startsWith("data-tooltip-")))return;const n=ke(l);Ge(n)}))})),c={attributes:!0,childList:!1,subtree:!1};if(l){const e=ke(l);Ge(e),s.observe(l,c)}return()=>{s.disconnect()}}),[we,Ae,ye,t,n]),s((()=>{(null==R?void 0:R.border)&&console.warn("[react-tooltip] Do not set `style.border`. Use `border` prop instead."),P&&!ul("border",`${P}`)&&console.warn(`[react-tooltip] "${P}" is not a valid \`border\`.`),(null==R?void 0:R.opacity)&&console.warn("[react-tooltip] Do not set `style.opacity`. Use `opacity` prop instead."),E&&!ul("opacity",`${E}`)&&console.warn(`[react-tooltip] "${E}" is not a valid \`opacity\`.`)}),[]);let Ve=m;const We=p(null);if(a){const e=a({content:(null==ye?void 0:ye.getAttribute("data-tooltip-content"))||$||null,activeAnchor:ye});Ve=e?r.createElement("div",{ref:We,className:"react-tooltip-content-wrapper"},e):null}else $&&(Ve=$);Q&&(Ve=r.createElement(Al,{content:Q}));const Be={forwardRef:j,id:e,anchorId:t,anchorSelect:n,className:al(c,ve),classNameArrow:u,content:Ve,contentWrapperRef:We,place:K,variant:ee,offset:ne,wrapper:pe,events:fe,openOnClick:v,positionStrategy:me,middlewares:y,delayShow:re,delayHide:ae,float:se,hidden:ue,noArrow:k,clickable:G,closeOnEsc:V,closeOnScroll:W,closeOnResize:B,openEvents:S,closeEvents:N,globalCloseEvents:X,imperativeModeOnly:Z,style:R,position:O,isOpen:T,defaultIsOpen:L,border:P,opacity:E,arrowColor:F,setIsOpen:H,afterShow:D,afterHide:z,disableTooltip:Y,activeAnchor:ye,setActiveAnchor:e=>Ce(e),role:J};return r.createElement(wl,{...Be})}));"undefined"!=typeof window&&window.addEventListener("react-tooltip-inject-styles",(e=>{e.detail.disableCore||sl({css:":root{--rt-color-white:#fff;--rt-color-dark:#222;--rt-color-success:#8dc572;--rt-color-error:#be6464;--rt-color-warning:#f0ad4e;--rt-color-info:#337ab7;--rt-opacity:0.9;--rt-transition-show-delay:0.15s;--rt-transition-closing-delay:0.15s}.core-styles-module_tooltip__3vRRp{position:absolute;top:0;left:0;pointer-events:none;opacity:0;will-change:opacity}.core-styles-module_fixed__pcSol{position:fixed}.core-styles-module_arrow__cvMwQ{position:absolute;background:inherit}.core-styles-module_noArrow__xock6{display:none}.core-styles-module_clickable__ZuTTB{pointer-events:auto}.core-styles-module_show__Nt9eE{opacity:var(--rt-opacity);transition:opacity var(--rt-transition-show-delay)ease-out}.core-styles-module_closing__sGnxF{opacity:0;transition:opacity var(--rt-transition-closing-delay)ease-in}",type:"core"}),e.detail.disableBase||sl({css:"\n.styles-module_tooltip__mnnfp{padding:8px 16px;border-radius:3px;font-size:90%;width:max-content}.styles-module_arrow__K0L3T{width:8px;height:8px}[class*='react-tooltip__place-top']>.styles-module_arrow__K0L3T{transform:rotate(45deg)}[class*='react-tooltip__place-right']>.styles-module_arrow__K0L3T{transform:rotate(135deg)}[class*='react-tooltip__place-bottom']>.styles-module_arrow__K0L3T{transform:rotate(225deg)}[class*='react-tooltip__place-left']>.styles-module_arrow__K0L3T{transform:rotate(315deg)}.styles-module_dark__xNqje{background:var(--rt-color-dark);color:var(--rt-color-white)}.styles-module_light__Z6W-X{background-color:var(--rt-color-white);color:var(--rt-color-dark)}.styles-module_success__A2AKt{background-color:var(--rt-color-success);color:var(--rt-color-white)}.styles-module_warning__SCK0X{background-color:var(--rt-color-warning);color:var(--rt-color-white)}.styles-module_error__JvumD{background-color:var(--rt-color-error);color:var(--rt-color-white)}.styles-module_info__BWdHW{background-color:var(--rt-color-info);color:var(--rt-color-white)}",type:"base"})}));const Gl=i((function({dark:t,children:n,...o},r){const i=y();return e(kl,{opacity:1,style:{backgroundColor:t?i.colors.neutral.darker:"#fff",padding:`${i.spacing.xs} ${i.spacing.s}`,borderRadius:i.radius.s,color:t?i.colors.neutral.lightest:i.colors.neutral.dark,fontSize:12,fontWeight:500,filter:"drop-shadow(0px 0px 2px #0000001F) drop-shadow(0px 2px 4px #00000024)"},ref:r,...o,children:n})}));export{ue as BUTTON_OPTIONS,de as Button,Qe as Calendar,tt as Checkbox,Xa as ColumnsGrid,qe as Divider,Ra as Grid,Ta as GridArea,Ae as Icon,De as Input,Ua as NotificationBanner,rt as Radio,Ma as ResponsiveGrid,Ga as Select,qa as SingleTab,ce as Spinner,Ba as Switch,Ka as TAB_OPTIONS,tl as TabGroup,Gl as Tooltip};
|
|
180
|
+
`,b=e((function({color:o,size:t,...e},a){return r($,{ref:a,size:t,color:o,...e})})),f={primary:c,outlined:d,tonal:h,text:m,segmented:u},k=e((function({variant:e="primary",icon:l,customColor:n,isLoading:s,isSelected:c,children:d,...h},m){const u=i(),g=f[e],$=n?a((()=>p(n)),[n]):void 0;return r(g,{ref:m,onlyIcon:!!l&&!d,textAndIcon:!!l&&!!d,isSelected:c,colorVariants:$,...h,disabled:s||h.disabled,children:s?r(b,{color:u.colors.neutral.light}):o(t,{children:[l,d]})})}));export{k as Button};
|
|
1147
181
|
//# sourceMappingURL=index.js.map
|