takeat-design-system-ui-kit 0.0.0 → 0.1.1
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/index.ts +1147 -0
- package/index.ts.map +1 -0
- package/package.json +14 -6
- package/rollup.config.mjs +41 -0
- package/src/components/Accordion/styles.ts +0 -1
- package/src/components/Badge/styles.ts +0 -1
- package/tsconfig.app.json +2 -1
- package/cli/create-story.js +0 -65
package/index.ts
ADDED
|
@@ -0,0 +1,1147 @@
|
|
|
1
|
+
"use strict";var e=require("react/jsx-runtime"),t=require("react"),n=require("styled-components");require("axios");var o=require("date-fns"),r=require("date-fns/locale"),i=require("react-dom"),a=require("react-hook-form");function l(e){var t=Object.create(null);return e&&Object.keys(e).forEach((function(n){if("default"!==n){var o=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,o.get?o:{enumerable:!0,get:function(){return e[n]}})}})),t.default=e,Object.freeze(t)}var s=l(t);const c="4px",u="8px",d="16px",p={primary:{lightest:"#e5a1a4",lighter:"#db6e72",light:"#d13f45",default:"#c8131b",dark:"#94090f",darker:"#610206"},red:{lightest:"#e5a1a4",lighter:"#db6e72",light:"#d13f45",default:"#c8131b",dark:"#94090f",darker:"#610206"},yellow:{lightest:"#ffebc8",lighter:"#ffd894",light:"#ffc561",default:"#ffb32f",dark:"#cc8c1d",darker:"#99670f"},green:{lightest:"#bce3de",lighter:"#89d9cf",light:"#59cfc1",default:"#2ec9b7",dark:"#1d9688",darker:"#0f635a"},blue:{lightest:"#99dfff",lighter:"#66cfff",light:"#33bfff",default:"#01afff",dark:"#018ccc",darker:"#016999"},neutral:{lightest:"#f6f6f6",lighter:"#ededed",light:"#c6c6c6",default:"#7a7a7a",dark:"#545454",darker:"#222222"}},f={top:"column",bottom:"column-reverse",left:"row",right:"row-reverse"},g=n.button`
|
|
2
|
+
width: fit-content;
|
|
3
|
+
height: 32px;
|
|
4
|
+
border: none;
|
|
5
|
+
padding: 0 ${d};
|
|
6
|
+
background-color: ${({theme:e,colorVariants:t})=>t?.default||e.colors.primary.default};
|
|
7
|
+
border-radius: ${u};
|
|
8
|
+
cursor: pointer;
|
|
9
|
+
display: inline-flex;
|
|
10
|
+
justify-content: center;
|
|
11
|
+
align-items: center;
|
|
12
|
+
gap: ${u};
|
|
13
|
+
transition: all 0.3s;
|
|
14
|
+
|
|
15
|
+
font-family: Poppins;
|
|
16
|
+
font-size: 12px;
|
|
17
|
+
font-weight: 600;
|
|
18
|
+
line-height: 16px;
|
|
19
|
+
letter-spacing: 0.5px;
|
|
20
|
+
text-align: center;
|
|
21
|
+
color: ${({theme:e})=>e.colors.neutral.lightest};
|
|
22
|
+
|
|
23
|
+
svg {
|
|
24
|
+
width: 12px;
|
|
25
|
+
height: 12px;
|
|
26
|
+
fill: ${({theme:e})=>e.colors.neutral.lightest};
|
|
27
|
+
flex-shrink: 0;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
&:hover {
|
|
31
|
+
background-color: ${({theme:e,colorVariants:t})=>t?.dark||e.colors.primary.dark};
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
&:active {
|
|
35
|
+
background-color: ${({theme:e,colorVariants:t})=>t?.darker||e.colors.primary.darker};
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
&:focus-visible {
|
|
39
|
+
outline: 1px solid
|
|
40
|
+
${({theme:e,colorVariants:t})=>t?.darker||e.colors.primary.darker};
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
&:disabled {
|
|
44
|
+
background-color: ${({theme:e})=>e.colors.neutral.lighter};
|
|
45
|
+
color: ${({theme:e})=>e.colors.neutral.light};
|
|
46
|
+
cursor: default;
|
|
47
|
+
}
|
|
48
|
+
`,h=n(g)`
|
|
49
|
+
background-color: transparent;
|
|
50
|
+
border: 1px solid
|
|
51
|
+
${({theme:e,colorVariants:t})=>t?.default||e.colors.primary.default};
|
|
52
|
+
color: ${({theme:e,colorVariants:t})=>t?.default||e.colors.primary.default};
|
|
53
|
+
|
|
54
|
+
svg {
|
|
55
|
+
fill: ${({theme:e,colorVariants:t})=>t?.default||e.colors.primary.default};
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
&:hover {
|
|
59
|
+
background-color: ${({theme:e,colorVariants:t})=>t?.lightest||e.colors.primary.lightest};
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
&:active {
|
|
63
|
+
background-color: ${({theme:e,colorVariants:t})=>t?.lighter||e.colors.primary.lighter};
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
&:disabled {
|
|
67
|
+
background-color: ${({theme:e})=>e.colors.neutral.lightest};
|
|
68
|
+
color: ${({theme:e})=>e.colors.neutral.light};
|
|
69
|
+
border-color: ${({theme:e})=>e.colors.neutral.light};
|
|
70
|
+
}
|
|
71
|
+
`,m=n(g)`
|
|
72
|
+
background-color: ${({theme:e,colorVariants:t})=>t?.lightest||e.colors.primary.lightest};
|
|
73
|
+
color: ${({theme:e,colorVariants:t})=>t?.darker||e.colors.primary.darker};
|
|
74
|
+
|
|
75
|
+
svg {
|
|
76
|
+
fill: ${({theme:e})=>e.colors.primary.darker};
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
&:hover {
|
|
80
|
+
background-color: ${({theme:e,colorVariants:t})=>t?.lighter||e.colors.primary.lighter};
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
&:active {
|
|
84
|
+
background-color: ${({theme:e,colorVariants:t})=>t?.light||e.colors.primary.light};
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
&:disabled {
|
|
88
|
+
background-color: ${({theme:e})=>e.colors.neutral.lighter};
|
|
89
|
+
color: ${({theme:e})=>e.colors.neutral.light};
|
|
90
|
+
}
|
|
91
|
+
`,b=n(g)`
|
|
92
|
+
background-color: transparent;
|
|
93
|
+
color: ${({theme:e,colorVariants:t})=>t?.default||e.colors.primary.default};
|
|
94
|
+
|
|
95
|
+
svg {
|
|
96
|
+
fill: ${({theme:e,colorVariants:t})=>t?.default||e.colors.primary.default};
|
|
97
|
+
transition: all 0.3s;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
&:hover {
|
|
101
|
+
background-color: transparent;
|
|
102
|
+
color: ${({theme:e,colorVariants:t})=>t?.dark||e.colors.primary.dark};
|
|
103
|
+
svg {
|
|
104
|
+
fill: ${({theme:e,colorVariants:t})=>t?.dark||e.colors.primary.dark};
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
&:active {
|
|
109
|
+
background-color: transparent;
|
|
110
|
+
color: ${({theme:e,colorVariants:t})=>t?.darker||e.colors.primary.darker};
|
|
111
|
+
svg {
|
|
112
|
+
fill: ${({theme:e,colorVariants:t})=>t?.darker||e.colors.primary.darker};
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
&:disabled {
|
|
117
|
+
background-color: transparent;
|
|
118
|
+
color: ${({theme:e})=>e.colors.neutral.light};
|
|
119
|
+
}
|
|
120
|
+
`,v=n(h)`
|
|
121
|
+
border-radius: 0;
|
|
122
|
+
background-color: ${({theme:e,isSelected:t,colorVariants:n})=>t?n?.default||e.colors.primary.default:"transparent"};
|
|
123
|
+
color: ${({theme:e,isSelected:t,colorVariants:n})=>t?e.colors.neutral.lightest:n?.default||e.colors.primary.default};
|
|
124
|
+
|
|
125
|
+
&:hover {
|
|
126
|
+
color: ${({theme:e,colorVariants:t})=>t?.default||e.colors.primary.default};
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
&:first-child {
|
|
130
|
+
border-top-left-radius: ${u};
|
|
131
|
+
border-bottom-left-radius: ${u};
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
&:last-child {
|
|
135
|
+
border-top-right-radius: ${u};
|
|
136
|
+
border-bottom-right-radius: ${u};
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
&:not(:last-child) {
|
|
140
|
+
border-right: 0;
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
&:disabled {
|
|
144
|
+
background-color: transparent;
|
|
145
|
+
color: ${({theme:e})=>e.colors.neutral.light};
|
|
146
|
+
}
|
|
147
|
+
`;n.table`
|
|
148
|
+
width: 100%;
|
|
149
|
+
border-collapse: collapse;
|
|
150
|
+
|
|
151
|
+
th {
|
|
152
|
+
border: 1px solid black;
|
|
153
|
+
padding: ${u};
|
|
154
|
+
background-color: ${({theme:e})=>e.colors.neutral.lightest};
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
td {
|
|
158
|
+
border: 1px solid black;
|
|
159
|
+
padding: ${u};
|
|
160
|
+
text-align: center;
|
|
161
|
+
}
|
|
162
|
+
`;const I=e=>e.reduce(((e,t)=>((e,t)=>Math.abs(e*t)/((e,t)=>{for(;0!==t;)[e,t]=[t,e%t];return e})(e,t))(e,t)),1),y=(e,t,n)=>{let o=(n/=100)*(t/=100),r=o*(1-Math.abs(e/60%2-1)),i=n-o,a=0,l=0,s=0;0<=e&&e<60?(a=o,l=r,s=0):60<=e&&e<120?(a=r,l=o,s=0):120<=e&&e<180?(a=0,l=o,s=r):180<=e&&e<240?(a=0,l=r,s=o):240<=e&&e<300?(a=r,l=0,s=o):300<=e&&e<360&&(a=o,l=0,s=r),a=Math.round(255*(a+i)),l=Math.round(255*(l+i)),s=Math.round(255*(s+i));let c=e=>e.toString(16).padStart(2,"0");return`#${c(a)}${c(l)}${c(s)}`},x=e=>{let[t,n,o]=(e=>{e=e.replace(/^#/,"");let t=parseInt(e.substring(0,2),16)/255,n=parseInt(e.substring(2,4),16)/255,o=parseInt(e.substring(4,6),16)/255,r=Math.max(t,n,o),i=r-Math.min(t,n,o),a=100*r,l=0===r?0:i/r*100,s=0;return 0!==i&&(s=r===t?(n-o)/i+(n<o?6:0):r===n?(o-t)/i+2:(t-n)/i+4,s=Math.round(60*s)),[s,Math.round(l),Math.round(a)]})(e),r=Math.max(n-20,0),i=Math.min(o+4,100),a=y(t,r,i),l=Math.max(n-40,0),s=Math.min(o+8,100),c=y(t,l,s),u=Math.max(n-60,0),d=Math.min(o+12,100),p=y(t,u,d),f=Math.min(n+4,100),g=Math.max(o-20,0),h=y(t,f,g),m=Math.min(n+8,100),b=Math.max(o-40,0);return{lightest:p,lighter:c,light:a,default:e,dark:h,darker:y(t,m,b)}},C=(e,t,n,r)=>{const[i,a]=e.split(":");let l=parseInt(i,10),s=parseInt(a,10);l=Math.max(0,Math.min(23,l)),s=Math.max(0,Math.min(59,s));let c=o.set(t,{hours:l,minutes:s});return"start"===r&&o.isAfter(c,n)||"end"===r&&o.isBefore(c,n)?n:c},w=(e,t,n,r)=>{const[i,a,l]=e.split("/");let s=parseInt(i,10),c=parseInt(a,10)-1,u=parseInt(l,10);c=Math.max(0,Math.min(11,c));const d=o.getDaysInMonth(new Date(u,c));s=Math.max(1,Math.min(d,s));let p=o.set(t,{year:u,month:c,date:s});return"start"===r&&o.isAfter(p,n)||"end"===r&&o.isBefore(p,n)?n:p},A=n.div`
|
|
163
|
+
width: ${({size:e})=>e||22}px;
|
|
164
|
+
height: ${({size:e})=>e||22}px;
|
|
165
|
+
background-image: ${({theme:e,color:t})=>`conic-gradient(\n ${t||e.colors.primary.default} 0%,\n transparent 5%,\n transparent 10%,\n ${t||e.colors.primary.default} 100%\n )`};
|
|
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
|
+
mask-size: contain;
|
|
168
|
+
mask-repeat: no-repeat;
|
|
169
|
+
mask-position: center;
|
|
170
|
+
animation: spin 2s linear infinite;
|
|
171
|
+
|
|
172
|
+
@keyframes spin {
|
|
173
|
+
0% {
|
|
174
|
+
rotate: 0deg;
|
|
175
|
+
}
|
|
176
|
+
100% {
|
|
177
|
+
rotate: 360deg;
|
|
178
|
+
}
|
|
179
|
+
}
|
|
180
|
+
`,k=t.forwardRef((function({color:t,size:n,...o},r){return e.jsx(A,{ref:r,size:n,color:t,...o})})),G={primary:g,outlined:h,tonal:m,text:b,segmented:v},S=t.forwardRef((function({variant:o="primary",icon:r,customColor:i,isLoading:a,isSelected:l,children:s,...c},u){const d=n.useTheme(),p=G[o],f=i?t.useMemo((()=>x(i)),[i]):void 0,g=!!r&&!s,h=!!r&&!!s;return e.jsx(p,{ref:u,onlyIcon:g,textAndIcon:h,isSelected:l,colorVariants:f,...c,disabled:a||c.disabled,children:a?e.jsx(k,{color:d.colors.neutral.light}):e.jsxs(e.Fragment,{children:[r,s]})})})),V=n.div`
|
|
181
|
+
position: relative;
|
|
182
|
+
width: fit-content;
|
|
183
|
+
`,B=n.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
|
+
`,W=n.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
|
+
`,R=n.div`
|
|
232
|
+
display: flex;
|
|
233
|
+
`,N=n.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
|
+
`,X=n.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
|
+
`,O=n.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
|
+
`,Z=n.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
|
+
`,T=n.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
|
+
`,E=n.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
|
+
`,M=(void 0)("../assets/icons/*.svg",{eager:!0}),L={};for(const e in M){const t=e.split("/").pop()?.replace(".svg","");L[t]=M[e].ReactComponent}const P=t.forwardRef((function({icon:t,color:n=p.neutral.darker,size:o=26,...r}){const i=L[t];return i?e.jsx(i,{fill:n,...r,height:o,width:o}):null})),F=n.div`
|
|
338
|
+
display: flex;
|
|
339
|
+
flex-direction: column;
|
|
340
|
+
gap: ${c};
|
|
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
|
+
`,D=n.div`
|
|
369
|
+
position: relative;
|
|
370
|
+
display: inline-flex;
|
|
371
|
+
flex-direction: column;
|
|
372
|
+
gap: ${c};
|
|
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
|
+
`,H=n.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 j(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var z,Y,J,$,U,Q,_,K,q,ee={exports:{}};function te(){if(Y)return z;Y=1;var e,n=(e=t)&&"object"==typeof e&&"default"in e?e.default:e,o=i;function r(){return(r=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 a(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 l(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var s=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 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=!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 p(e,t){return-1!==e.permanents.indexOf(t)}function f(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 g(e,t){return t.split("").every((function(t,n){return p(e,n)||!f(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)&&f(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);return!i&&o>t.length&&(t+=r.slice(t.length,o)),l.every((function(n){for(;u=n,p(e,c=o)&&u!==r[c];){if(o>=t.length&&(t+=r[o]),l=n,i&&p(e,o)&&l===i)return!0;if(++o>=r.length)return!1}var l,c,u;return!f(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),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 x(e,t,n,o,r){var i=e.mask,a=e.prefix,l=e.lastEditablePosition,s=t,c="",u=0,d=0,g=Math.min(r.start,n.start);return n.end>r.start?d=(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,p(e,n=o)&&a!==r[n];)if(++o>=r.length)return!1;var n,a;return(f(e,o,t)||t===i)&&o++,o<r.length})),o-l}(e,0,c=s.slice(r.start,n.end),g))?r.length:0:s.length<o.length&&(d=o.length-s.length),s=o,d&&(1!==d||r.length||(g=r.start===n.start?I(e,n.start):function(e,t){for(var n=t;0<=n;--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)return s.map((function(t,o){return o<n||r<=o?t:p(e,o)?a[o]:i})).join("");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)}(e,s,g,d)),s=v(e,s,c,g),(g+=u)>=i.length?g=i.length:g<a.length&&!u?g=a.length:g>=a.length&&g<l&&u&&(g=I(e,g)),c||(c=null),{value:s=b(e,s),enteredString:c,selection:{start:g,end:g}}}function C(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 t(t){var n=e.call(this,t)||this;n.focused=!1,n.mounted=!1,n.previousSelection=null,n.selectionDeferId=null,n.saveSelectionLoopDeferId=null,n.saveSelectionLoop=function(){n.previousSelection=n.getSelection(),n.saveSelectionLoopDeferId=A(n.saveSelectionLoop)},n.runSaveSelectionLoop=function(){null===n.saveSelectionLoopDeferId&&n.saveSelectionLoop()},n.stopSaveSelectionLoop=function(){null!==n.saveSelectionLoopDeferId&&(k(n.saveSelectionLoopDeferId),n.saveSelectionLoopDeferId=null,n.previousSelection=null)},n.getInputDOMNode=function(){if(!n.mounted)return null;var e=o.findDOMNode(l(l(n))),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},n.getInputValue=function(){var e=n.getInputDOMNode();return e?e.value:null},n.setInputValue=function(e){var t=n.getInputDOMNode();t&&(n.value=e,t.value=e)},n.setCursorToEnd=function(){var e=h(n.maskOptions,n.value),t=I(n.maskOptions,e);null!==t&&n.setCursorPosition(t)},n.setSelection=function(e,t,o){void 0===o&&(o={});var r=n.getInputDOMNode(),i=n.isFocused();r&&i&&(o.deferred||c(r,e,t),null!==n.selectionDeferId&&k(n.selectionDeferId),n.selectionDeferId=A((function(){n.selectionDeferId=null,c(r,e,t)})),n.previousSelection={start:e,end:t,length:Math.abs(t-e)})},n.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}}(n.getInputDOMNode())},n.getCursorPosition=function(){return n.getSelection().start},n.setCursorPosition=function(e){n.setSelection(e,e)},n.isFocused=function(){return n.focused},n.getBeforeMaskedValueChangeConfig=function(){var e=n.maskOptions,t=e.mask,o=e.maskChar,r=e.permanents,i=e.formatChars;return{mask:t,maskChar:o,permanents:r,alwaysShowMask:!!n.props.alwaysShowMask,formatChars:i}},n.isInputAutofilled=function(e,t,o,r){var i=n.getInputDOMNode();try{if(i.matches(":-webkit-autofill"))return!0}catch(e){}return!n.focused||r.end<o.length&&t.end===e.length},n.onChange=function(e){var t=l(l(n)).beforePasteState,o=l(l(n)).previousSelection,r=n.props.beforeMaskedValueChange,i=n.getInputValue(),a=n.value,s=n.getSelection();n.isInputAutofilled(i,s,a,o)&&(a=b(n.maskOptions,""),o={start:0,end:0,length:0}),t&&(o=t.selection,a=t.value,s={start:o.start+i.length,end:o.start+i.length,length:0},i=a.slice(0,o.start)+i+a.slice(o.end),n.beforePasteState=null);var c=x(n.maskOptions,i,s,a,o),u=c.enteredString,d=c.selection,p=c.value;if(C(r)){var f=r({value:p,selection:d},{value:a,selection:o},u,n.getBeforeMaskedValueChangeConfig());p=f.value,d=f.selection}n.setInputValue(p),C(n.props.onChange)&&n.props.onChange(e),n.isWindowsPhoneBrowser?n.setSelection(d.start,d.end,{deferred:!0}):n.setSelection(d.start,d.end)},n.onFocus=function(e){var t=n.props.beforeMaskedValueChange,o=n.maskOptions,r=o.mask,i=o.prefix;if(n.focused=!0,n.mounted=!0,r){if(n.value)h(n.maskOptions,n.value)<n.maskOptions.mask.length&&n.setCursorToEnd();else{var a=b(n.maskOptions,i),l=b(n.maskOptions,a),s=h(n.maskOptions,l),c=I(n.maskOptions,s),u={start:c,end:c};if(C(t)){var d=t({value:l,selection:u},{value:n.value,selection:null},null,n.getBeforeMaskedValueChangeConfig());l=d.value,u=d.selection}var p=l!==n.getInputValue();p&&n.setInputValue(l),p&&C(n.props.onChange)&&n.props.onChange(e),n.setSelection(u.start,u.end)}n.runSaveSelectionLoop()}C(n.props.onFocus)&&n.props.onFocus(e)},n.onBlur=function(e){var t=n.props.beforeMaskedValueChange,o=n.maskOptions.mask;if(n.stopSaveSelectionLoop(),n.focused=!1,o&&!n.props.alwaysShowMask&&g(n.maskOptions,n.value)){var r="";C(t)&&(r=t({value:r,selection:null},{value:n.value,selection:n.previousSelection},null,n.getBeforeMaskedValueChangeConfig()).value);var i=r!==n.getInputValue();i&&n.setInputValue(r),i&&C(n.props.onChange)&&n.props.onChange(e)}C(n.props.onBlur)&&n.props.onBlur(e)},n.onMouseDown=function(e){if(!n.focused&&document.addEventListener){n.mouseDownX=e.clientX,n.mouseDownY=e.clientY,n.mouseDownTime=(new Date).getTime();document.addEventListener("mouseup",(function e(t){if(document.removeEventListener("mouseup",e),n.focused){var o=Math.abs(t.clientX-n.mouseDownX),r=Math.abs(t.clientY-n.mouseDownY),i=Math.max(o,r),a=(new Date).getTime()-n.mouseDownTime;(i<=10&&a<=200||i<=5&&a<=300)&&n.setCursorToEnd()}}))}C(n.props.onMouseDown)&&n.props.onMouseDown(e)},n.onPaste=function(e){C(n.props.onPaste)&&n.props.onPaste(e),e.defaultPrevented||(n.beforePasteState={value:n.getInputValue(),selection:n.getSelection()},n.setInputValue(""))},n.handleRef=function(e){null==n.props.children&&C(n.props.inputRef)&&n.props.inputRef(e)};var r=t.mask,i=t.maskChar,a=t.formatChars,s=t.alwaysShowMask,u=t.beforeMaskedValueChange,p=t.defaultValue,f=t.value;n.maskOptions=d(r,i,a),null==p&&(p=""),null==f&&(f=p);var m=y(f);if(n.maskOptions.mask&&(s||m)&&(m=b(n.maskOptions,m),C(u))){var v=t.value;null==t.value&&(v=p),m=u({value:m,selection:null},{value:v=y(v),selection:null},null,n.getBeforeMaskedValueChangeConfig()).value}return n.value=m,n}a(t,e);var i=t.prototype;return i.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))},i.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 f=this.maskOptions.mask&&this.maskOptions.mask!==l.mask;if(l.mask||c||(u=this.getInputValue()),(f||this.maskOptions.mask&&(u||s))&&(u=b(this.maskOptions,u)),f){var v=h(this.maskOptions,u);(null===p||v<p)&&(p=m(this.maskOptions,u)?v:I(this.maskOptions,v))}!this.maskOptions.mask||!g(this.maskOptions,u)||s||c&&this.props.value||(u="");var x={start:p,end:p};if(C(n)){var w=n({value:u,selection:x},{value:this.value,selection:this.previousSelection},null,this.getBeforeMaskedValueChangeConfig());u=w.value,x=w.selection}this.value=u;var A=this.getInputValue()!==this.value;A?(this.setInputValue(this.value),this.forceUpdate()):f&&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())},i.componentWillUnmount=function(){this.mounted=!1,null!==this.selectionDeferId&&k(this.selectionDeferId),this.stopSaveSelectionLoop()},i.render=function(){var e,t=this.props,o=(t.mask,t.alwaysShowMask,t.maskChar,t.formatChars,t.inputRef,t.beforeMaskedValueChange,t.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}(t,["mask","alwaysShowMask","maskChar","formatChars","inputRef","beforeMaskedValueChange","children"]);if(o){C(o)||s(!1);var a=["onChange","onPaste","onMouseDown","onFocus","onBlur","value","disabled","readOnly"],l=r({},i);a.forEach((function(e){return delete l[e]})),e=o(l),a.filter((function(t){return null!=e.props[t]&&e.props[t]!==i[t]})).length&&s(!1)}else e=n.createElement("input",r({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=n.cloneElement(e,c)},t}(n.Component);return z=G}function ne(){if(Q)return U;Q=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 U=e}function oe(){if(K)return _;function e(e){return e&&"object"==typeof e&&"default"in e?e.default:e}K=1;var n=e(t),o=i,r=e(function(){if($)return J;$=1;var e=process.env.NODE_ENV;return J=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}},J}()),a=e(ne());function l(){return l=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},l.apply(this,arguments)}function s(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 c(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function u(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 d={9:"[0-9]",a:"[A-Za-z]","*":"[A-Za-z0-9]"};function p(e,t,n){var o="",r="",i=null,a=[];if(void 0===t&&(t="_"),null==n&&(n=d),!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 f(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(f(e,t))return o[t]===n;var i=r[o[t]];return new RegExp(i).test(n)}function h(e,t){return t.split("").every((function(t,n){return f(e,n)||!g(e,n,t)}))}function m(e,t){var n=e.maskChar,o=e.prefix;if(!n){for(;t.length>o.length&&f(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(!f(e,i)&&g(e,i,a)){r=i+1;break}}return r}function b(e,t){return m(e,t)===e.mask.length}function v(e,t){var n=e.maskChar,o=e.mask,r=e.prefix;if(!n){for((t=I(e,"",t,0)).length<r.length&&(t=r);t.length<o.length&&f(e,t.length);)t+=o[t.length];return t}if(t)return I(e,v(e,""),t,0);for(var i=0;i<o.length;i++)f(e,i)?t+=o[i]:t+=n;return t}function I(e,t,n,o){var r=e.mask,i=e.maskChar,a=e.prefix,l=n.split(""),s=b(e,t),c=function(t,n){return!f(e,t)||n===r[t]},u=function(t,n){return!i||!f(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=v(e,t)):i||(t+=n),++o<r.length)})),t}function y(e,t){for(var n=e.mask,o=t;o<n.length;++o)if(!f(e,o))return o;return null}function x(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,p=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!f(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),p),d=u?r.length:0):s.length<o.length&&(d=o.length-s.length),s=o,d){if(1===d&&!r.length)p=r.start===n.start?y(e,n.start):function(e,t){for(var n=t;n>=0;--n)if(!f(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++)f(e,c)&&(s[c]="");return n=Math.max(l.length,n),s.splice(n,r-n),t=s.join(""),v(e,t)}return s.map((function(t,o){return o<n||o>=r?t:f(e,o)?a[o]:i})).join("")}(e,s,p,d)}return s=I(e,s,c,p),(p+=u)>=i.length?p=i.length:p<a.length&&!u?p=a.length:p>=a.length&&p<l&&u&&(p=y(e,p)),c||(c=null),{value:s=v(e,s),enteredString:c,selection:{start:p,end:p}}}function w(e){return"function"==typeof e}function A(){return window.cancelAnimationFrame||window.webkitCancelRequestAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame}function k(e){return(!!A()?window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame:function(){return setTimeout(e,1e3/60)})(e)}function G(e){(A()||clearTimeout)(e)}var S=function(e){function t(t){var n;(n=e.call(this,t)||this).focused=!1,n.mounted=!1,n.previousSelection=null,n.selectionDeferId=null,n.saveSelectionLoopDeferId=null,n.saveSelectionLoop=function(){n.previousSelection=n.getSelection(),n.saveSelectionLoopDeferId=k(n.saveSelectionLoop)},n.runSaveSelectionLoop=function(){null===n.saveSelectionLoopDeferId&&n.saveSelectionLoop()},n.stopSaveSelectionLoop=function(){null!==n.saveSelectionLoopDeferId&&(G(n.saveSelectionLoopDeferId),n.saveSelectionLoopDeferId=null,n.previousSelection=null)},n.getInputDOMNode=function(){if(!n.mounted)return null;var e=o.findDOMNode(c(c(n))),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},n.getInputValue=function(){var e=n.getInputDOMNode();return e?e.value:null},n.setInputValue=function(e){var t=n.getInputDOMNode();t&&(n.value=e,t.value=e)},n.setCursorToEnd=function(){var e=m(n.maskOptions,n.value),t=y(n.maskOptions,e);null!==t&&n.setCursorPosition(t)},n.setSelection=function(e,t,o){void 0===o&&(o={});var r=n.getInputDOMNode(),i=n.isFocused();r&&i&&(o.deferred||u(r,e,t),null!==n.selectionDeferId&&G(n.selectionDeferId),n.selectionDeferId=k((function(){n.selectionDeferId=null,u(r,e,t)})),n.previousSelection={start:e,end:t,length:Math.abs(t-e)})},n.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}}(n.getInputDOMNode())},n.getCursorPosition=function(){return n.getSelection().start},n.setCursorPosition=function(e){n.setSelection(e,e)},n.isFocused=function(){return n.focused},n.getBeforeMaskedValueChangeConfig=function(){var e=n.maskOptions,t=e.mask,o=e.maskChar,r=e.permanents,i=e.formatChars;return{mask:t,maskChar:o,permanents:r,alwaysShowMask:!!n.props.alwaysShowMask,formatChars:i}},n.isInputAutofilled=function(e,t,o,r){var i=n.getInputDOMNode();try{if(i.matches(":-webkit-autofill"))return!0}catch(e){}return!n.focused||r.end<o.length&&t.end===e.length},n.onChange=function(e){var t=c(c(n)).beforePasteState,o=c(c(n)).previousSelection,r=n.props.beforeMaskedValueChange,i=n.getInputValue(),a=n.value,l=n.getSelection();n.isInputAutofilled(i,l,a,o)&&(a=v(n.maskOptions,""),o={start:0,end:0,length:0}),t&&(o=t.selection,a=t.value,l={start:o.start+i.length,end:o.start+i.length,length:0},i=a.slice(0,o.start)+i+a.slice(o.end),n.beforePasteState=null);var s=C(n.maskOptions,i,l,a,o),u=s.enteredString,d=s.selection,p=s.value;if(w(r)){var f=r({value:p,selection:d},{value:a,selection:o},u,n.getBeforeMaskedValueChangeConfig());p=f.value,d=f.selection}n.setInputValue(p),w(n.props.onChange)&&n.props.onChange(e),n.isWindowsPhoneBrowser?n.setSelection(d.start,d.end,{deferred:!0}):n.setSelection(d.start,d.end)},n.onFocus=function(e){var t=n.props.beforeMaskedValueChange,o=n.maskOptions,r=o.mask,i=o.prefix;if(n.focused=!0,n.mounted=!0,r){if(n.value)m(n.maskOptions,n.value)<n.maskOptions.mask.length&&n.setCursorToEnd();else{var a=v(n.maskOptions,i),l=v(n.maskOptions,a),s=m(n.maskOptions,l),c=y(n.maskOptions,s),u={start:c,end:c};if(w(t)){var d=t({value:l,selection:u},{value:n.value,selection:null},null,n.getBeforeMaskedValueChangeConfig());l=d.value,u=d.selection}var p=l!==n.getInputValue();p&&n.setInputValue(l),p&&w(n.props.onChange)&&n.props.onChange(e),n.setSelection(u.start,u.end)}n.runSaveSelectionLoop()}w(n.props.onFocus)&&n.props.onFocus(e)},n.onBlur=function(e){var t=n.props.beforeMaskedValueChange,o=n.maskOptions.mask;if(n.stopSaveSelectionLoop(),n.focused=!1,o&&!n.props.alwaysShowMask&&h(n.maskOptions,n.value)){var r="";if(w(t))r=t({value:r,selection:null},{value:n.value,selection:n.previousSelection},null,n.getBeforeMaskedValueChangeConfig()).value;var i=r!==n.getInputValue();i&&n.setInputValue(r),i&&w(n.props.onChange)&&n.props.onChange(e)}w(n.props.onBlur)&&n.props.onBlur(e)},n.onMouseDown=function(e){if(!n.focused&&document.addEventListener){n.mouseDownX=e.clientX,n.mouseDownY=e.clientY,n.mouseDownTime=(new Date).getTime();document.addEventListener("mouseup",(function e(t){if(document.removeEventListener("mouseup",e),n.focused){var o=Math.abs(t.clientX-n.mouseDownX),r=Math.abs(t.clientY-n.mouseDownY),i=Math.max(o,r),a=(new Date).getTime()-n.mouseDownTime;(i<=10&&a<=200||i<=5&&a<=300)&&n.setCursorToEnd()}}))}w(n.props.onMouseDown)&&n.props.onMouseDown(e)},n.onPaste=function(e){w(n.props.onPaste)&&n.props.onPaste(e),e.defaultPrevented||(n.beforePasteState={value:n.getInputValue(),selection:n.getSelection()},n.setInputValue(""))},n.handleRef=function(e){null==n.props.children&&w(n.props.inputRef)&&n.props.inputRef(e)};var r=t.mask,i=t.maskChar,a=t.formatChars,l=t.alwaysShowMask,s=t.beforeMaskedValueChange,d=t.defaultValue,f=t.value;n.maskOptions=p(r,i,a),null==d&&(d=""),null==f&&(f=d);var g=x(f);if(n.maskOptions.mask&&(l||g)&&(g=v(n.maskOptions,g),w(s))){var b=t.value;null==t.value&&(b=d),g=s({value:g,selection:null},{value:b=x(b),selection:null},null,n.getBeforeMaskedValueChangeConfig()).value}return n.value=g,n}s(t,e);var i=t.prototype;return i.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))},i.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?x(this.props.value):this.value,d=e?e.start:null;if(this.maskOptions=p(r,i,a),this.maskOptions.mask){!l.mask&&this.isFocused()&&this.runSaveSelectionLoop();var f=this.maskOptions.mask&&this.maskOptions.mask!==l.mask;if(l.mask||c||(u=this.getInputValue()),(f||this.maskOptions.mask&&(u||s))&&(u=v(this.maskOptions,u)),f){var g=m(this.maskOptions,u);(null===d||g<d)&&(d=b(this.maskOptions,u)?g:y(this.maskOptions,g))}!this.maskOptions.mask||!h(this.maskOptions,u)||s||c&&this.props.value||(u="");var I={start:d,end:d};if(w(n)){var C=n({value:u,selection:I},{value:this.value,selection:this.previousSelection},null,this.getBeforeMaskedValueChangeConfig());u=C.value,I=C.selection}this.value=u;var A=this.getInputValue()!==this.value;A?(this.setInputValue(this.value),this.forceUpdate()):f&&this.forceUpdate();var k=!1;null!=I.start&&null!=I.end&&(k=!e||e.start!==I.start||e.end!==I.end),(k||A)&&this.setSelection(I.start,I.end)}else l.mask&&(this.stopSaveSelectionLoop(),this.forceUpdate())},i.componentWillUnmount=function(){this.mounted=!1,null!==this.selectionDeferId&&G(this.selectionDeferId),this.stopSaveSelectionLoop()},i.render=function(){var e=this.props,t=e.mask;e.alwaysShowMask;var o=e.maskChar,i=e.formatChars,s=e.inputRef;e.beforeMaskedValueChange;var c,u=e.children,d=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&&a(!d.maxLength||!p(t,o,i).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){w(u)||("production"!==process.env.NODE_ENV?r(!1,"react-input-mask: children must be a function"):r(!1));var f=["onChange","onPaste","onMouseDown","onFocus","onBlur","value","disabled","readOnly"],g=l({},d);f.forEach((function(e){return delete g[e]})),c=u(g);var h=f.filter((function(e){return null!=c.props[e]&&c.props[e]!==d[e]}));h.length&&("production"!==process.env.NODE_ENV?r(!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(", ")):r(!1)),"production"!==process.env.NODE_ENV&&a(!s,"react-input-mask: inputRef is ignored when children is passed, attach ref to the children instead")}else c=n.createElement("input",l({ref:this.handleRef},d));var m={onFocus:this.onFocus,onBlur:this.onBlur};return this.maskOptions.mask&&(d.disabled||d.readOnly||(m.onChange=this.onChange,m.onPaste=this.onPaste,m.onMouseDown=this.onMouseDown),null!=d.value&&(m.value=this.value)),c=n.cloneElement(c,m)},t}(n.Component);return _=S}var re=j((q||(q=1,"production"===process.env.NODE_ENV?ee.exports=te():ee.exports=oe()),ee.exports));const ie=t.forwardRef((function({label:t,info:o,error:r,isLoading:i,register:a,mask:l,maskChar:s=null,...c},u){const d=n.useTheme();return e.jsxs(F,{children:[t&&e.jsx("label",{children:t}),e.jsxs(D,{hasError:!!r,children:[l?e.jsx(re,{mask:l,maskChar:s,inputRef:u,...c,disabled:i||c.disabled,...a}):e.jsx("input",{ref:u,...c,disabled:i||c.disabled,...a}),r&&e.jsx(P,{icon:"exclamation",className:"error-icon"}),i&&e.jsx(k,{size:16,color:d.colors.neutral.light,style:{position:"absolute",right:16,top:12}})]}),(!!a||!!r||!!o)&&e.jsx(H,{className:"additional-info",isError:!!r,children:r||o})]})})),ae=n.div`
|
|
450
|
+
display: flex;
|
|
451
|
+
flex-direction: column;
|
|
452
|
+
gap: ${({theme:e})=>e.spacing.xs};
|
|
453
|
+
padding-top: ${({theme:e})=>e.spacing.s};
|
|
454
|
+
`,le=n.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
|
+
`,se=n.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
|
+
`,ce=({selectedDate:t,setHoveredDays:n,setSelectedDate:r})=>e.jsxs(ae,{children:[e.jsxs(le,{children:[e.jsx("span",{children:"De"}),e.jsx(ie,{mask:"99/99/9999",value:o.format(t.start,"dd/MM/yyyy"),onChange:e=>{n([]),r({start:w(e.target.value,t.start,t.end,"start"),end:t.end})},style:{width:105,height:28,padding:"4px 8px",textAlign:"center"}}),e.jsx(ie,{mask:"99:99",value:o.format(t.start,"HH:mm"),onChange:e=>{n([]),r({start:C(e.target.value,t.start,t.end,"start"),end:t.end})},style:{width:60,height:28,padding:"4px 8px",textAlign:"center"}})]}),e.jsxs(le,{children:[e.jsx("span",{children:"Até"}),e.jsx(ie,{mask:"99/99/9999",value:o.format(t.end,"dd/MM/yyyy"),onChange:e=>{n([]),r({start:t.start,end:w(e.target.value,t.end,t.start,"end")})},style:{width:105,height:28,padding:"4px 8px",textAlign:"center"}}),e.jsx(ie,{mask:"99:99",onChange:e=>{n([]),r({start:t.start,end:C(e.target.value,t.end,t.start,"end")})},value:o.format(t.end,"HH:mm"),style:{width:60,height:28,padding:"4px 8px",textAlign:"center"}})]})]}),ue={Hoje:()=>({start:o.startOfDay(new Date),end:o.endOfDay(new Date)}),Ontem:()=>{const e=o.subDays(new Date,1);return{start:o.startOfDay(e),end:o.endOfDay(e)}},"Essa semana":()=>({start:o.startOfWeek(new Date),end:o.endOfWeek(new Date)}),"Semana passada":()=>{const e=o.subWeeks(new Date,1);return{start:o.startOfWeek(e),end:o.endOfWeek(e)}},"Esse mês":()=>({start:o.startOfMonth(new Date),end:o.endOfMonth(new Date)}),"Mês passado":()=>{const e=o.subMonths(new Date,1);return{start:o.startOfMonth(e),end:o.endOfMonth(e)}},"Esse ano":()=>({start:o.startOfYear(new Date),end:o.endOfYear(new Date)})},de=({hideOptions:t,setHoveredDays:n,setSelectedDate:o,onSelectDate:r,toggleShow:i})=>e.jsx(se,{children:Object.keys(ue).filter((e=>!t.includes(e))).map((t=>e.jsx("li",{onClick:()=>{n([]),o(ue[t]()),r?.(ue[t]()),i()},children:t})))}),pe=t.forwardRef((function({hideOptions:i=[],hideAllOptions:a,hideInputs:l,onSelectDate:s,defaultDate:c,isLoading:u,disabled:d,minDate:p,maxDate:f},g){const h=n.useTheme(),[m,b]=t.useState(!1),v=()=>b((e=>!e)),[I,y]=t.useState(c||{start:o.startOfDay(new Date),end:o.endOfDay(new Date)}),[x,C]=t.useState(!1),[w,A]=t.useState(null),[G,M]=t.useState([]),[L,F]=t.useState({start:o.startOfMonth(I.start),end:o.endOfMonth(I.start)}),[D,H]=t.useState([]),[j,z]=[(Y=G)[0],Y[Y.length-1]];var Y;const J=j&&o.compareAsc(j,I.start)<0?j:I.start,$=z&&o.compareAsc(z,I.start)>0?z:I.end;return t.useEffect((()=>{const e=o.eachDayOfInterval(L);(e=>{const t=e[0];for(let n=1;n<=t.getDay();n++){const r=o.subDays(t,n);e.unshift(r)}const n=7*Math.ceil(e.length/7)-e.length,r=e[e.length-1];for(let t=1;t<=n;t++){const n=o.addDays(r,t);e.push(n)}})(e),H(e.map((e=>({value:e,day:e.getDate(),month:e.getMonth(),year:e.getFullYear(),weekday:e.getDay()}))))}),[L]),t.useEffect((()=>{w&&(o.compareAsc(w,I.start)>0?M(o.eachDayOfInterval({start:I.start,end:w})):M(o.eachDayOfInterval({start:w,end:I.end})))}),[w]),e.jsxs(V,{ref:g,children:[e.jsxs(B,{onClick:v,disabled:d||u,children:[o.format(I.start,"dd/MM/yyyy - HH:mm"),e.jsx("span",{children:"a"}),I.end?o.format(I.end,"dd/MM/yyyy - HH:mm"):"-",u?e.jsx(k,{size:20,color:h.colors.neutral.light}):e.jsx(P,{icon:"calendarCheck"})]}),e.jsxs(W,{show:m,children:[e.jsx(E,{onClick:v}),e.jsxs(R,{children:[!a&&e.jsx(de,{hideOptions:i,setHoveredDays:M,setSelectedDate:y,onSelectDate:s,toggleShow:v}),e.jsxs(N,{children:[e.jsxs(X,{children:[e.jsx(P,{icon:"arrowDropDown",style:{transform:"rotate(90deg)"},onClick:()=>F({start:o.subMonths(L.start,1),end:o.subMonths(L.end,1)})}),e.jsxs("span",{children:[o.format(L.start,"MMMM",{locale:r.ptBR}),", ",o.format(L.start,"yyyy")]}),e.jsx(P,{icon:"arrowDropDown",style:{transform:"rotate(-90deg)"},onClick:()=>F({start:o.addMonths(L.start,1),end:o.addMonths(L.end,1)})})]}),e.jsxs("ul",{children:[e.jsx("li",{children:"D"}),e.jsx("li",{children:"S"}),e.jsx("li",{children:"T"}),e.jsx("li",{children:"Q"}),e.jsx("li",{children:"Q"}),e.jsx("li",{children:"S"}),e.jsx("li",{children:"S"})]}),e.jsx(O,{children:D.map((t=>e.jsx(Z,{onClick:()=>(e=>{if(M([]),!x)return C(!0),void y({start:o.startOfDay(e),end:o.endOfDay(e)});o.compareAsc(e,I.start)>0?y({start:I.start,end:o.endOfDay(e)}):y({start:o.startOfDay(e),end:I.end}),C(!1)})(t.value),onMouseEnter:()=>x&&A(t.value),onMouseLeave:()=>x&&A(null),isHovered:G.some((e=>e&&0===o.compareAsc(e,t.value))),isSelected:o.isAfter(o.endOfDay(t.value),I.start)&&o.isBefore(t.value,I.end),isFirst:o.isSameDay(J,t.value),isLast:o.isSameDay($,t.value),disabled:p&&o.isBefore(t.value,p)||f&&o.isAfter(t.value,f),children:t.day})))}),!l&&e.jsx(ce,{selectedDate:I,setSelectedDate:y,setHoveredDays:M})]})]}),e.jsx(T,{children:e.jsx(S,{variant:"outlined",onClick:()=>{s?.(I),v()},children:"Aplicar"})})]})]})})),fe=n.hr`
|
|
489
|
+
border: 1px solid ${({theme:e})=>e.colors.neutral.lighter};
|
|
490
|
+
margin: 0;
|
|
491
|
+
`,ge=n.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
|
+
`,he=t.forwardRef((function({label:t,...n},o){return t?e.jsxs(ge,{children:[e.jsx(fe,{ref:o,...n}),t,e.jsx(fe,{ref:o,...n})]}):e.jsx(fe,{ref:o,...n})})),me=n.div`
|
|
509
|
+
position: relative;
|
|
510
|
+
display: flex;
|
|
511
|
+
flex-direction: column;
|
|
512
|
+
gap: ${c};
|
|
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: ${c};
|
|
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
|
+
`,be=t.forwardRef((function({label:t,description:n,register:o,...r},i){const{disabled:a}=r;return e.jsxs(me,{children:[e.jsxs("label",{"aria-disabled":a,children:[e.jsx("input",{ref:i,type:"checkbox",disabled:a,...r,...o}),t,e.jsx(P,{icon:"checkboxCheckedFilled"})]}),n&&e.jsx("p",{"aria-disabled":a,children:n})]})})),ve=n.label`
|
|
601
|
+
display: flex;
|
|
602
|
+
align-items: center;
|
|
603
|
+
gap: 8px;
|
|
604
|
+
width: fit-content;
|
|
605
|
+
flex-direction: ${({labelPosition:e})=>f[e]};
|
|
606
|
+
border-radius: ${c};
|
|
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
|
+
`,Ie=n.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
|
+
`,ye=t.forwardRef((function({label:n,labelPosition:o="right",customColor:r,register:i,...a},l){const s=r?t.useMemo((()=>x(r)),[r]):void 0;return e.jsxs(ve,{labelPosition:o,children:[n&&e.jsx("span",{children:n}),e.jsx("input",{ref:l,type:"radio",...a,...i}),e.jsx(Ie,{colorVariants:s})]})}));function xe(e){return xe="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},xe(e)}function Ce(e){var t=function(e,t){if("object"!=xe(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=xe(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==xe(t)?t:t+""}function we(e,t,n){return(t=Ce(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ae(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 ke(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ae(Object(n),!0).forEach((function(t){we(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ae(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Ge(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 Se(e,t){if(e){if("string"==typeof e)return Ge(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)?Ge(e,t):void 0}}function Ve(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)||Se(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 Be(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 We=["defaultInputValue","defaultMenuIsOpen","defaultValue","inputValue","menuIsOpen","onChange","onInputChange","onMenuClose","onMenuOpen","value"];function Re(){return Re=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},Re.apply(null,arguments)}function Ne(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,Ce(o.key),o)}}function Xe(e,t){return Xe=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Xe(e,t)}function Oe(e){return Oe=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Oe(e)}function Ze(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(Ze=function(){return!!e})()}function Te(e,t){if(t&&("object"==xe(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 Ee(e){return function(e){if(Array.isArray(e))return Ge(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||Se(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 Me=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}(),Le="-ms-",Pe="-moz-",Fe="-webkit-",De="comm",He="rule",je="decl",ze="@keyframes",Ye=Math.abs,Je=String.fromCharCode,$e=Object.assign;function Ue(e){return e.trim()}function Qe(e,t,n){return e.replace(t,n)}function _e(e,t){return e.indexOf(t)}function Ke(e,t){return 0|e.charCodeAt(t)}function qe(e,t,n){return e.slice(t,n)}function et(e){return e.length}function tt(e){return e.length}function nt(e,t){return t.push(e),e}var ot=1,rt=1,it=0,at=0,lt=0,st="";function ct(e,t,n,o,r,i,a){return{value:e,root:t,parent:n,type:o,props:r,children:i,line:ot,column:rt,length:a,return:""}}function ut(e,t){return $e(ct("",null,null,"",null,null,0),e,{length:-e.length},t)}function dt(){return lt=at>0?Ke(st,--at):0,rt--,10===lt&&(rt=1,ot--),lt}function pt(){return lt=at<it?Ke(st,at++):0,rt++,10===lt&&(rt=1,ot++),lt}function ft(){return Ke(st,at)}function gt(){return at}function ht(e,t){return qe(st,e,t)}function mt(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 bt(e){return ot=rt=1,it=et(st=e),at=0,[]}function vt(e){return st="",e}function It(e){return Ue(ht(at-1,Ct(91===e?e+2:40===e?e+1:e)))}function yt(e){for(;(lt=ft())&<<33;)pt();return mt(e)>2||mt(lt)>3?"":" "}function xt(e,t){for(;--t&&pt()&&!(lt<48||lt>102||lt>57&<<65||lt>70&<<97););return ht(e,gt()+(t<6&&32==ft()&&32==pt()))}function Ct(e){for(;pt();)switch(lt){case e:return at;case 34:case 39:34!==e&&39!==e&&Ct(lt);break;case 40:41===e&&Ct(e);break;case 92:pt()}return at}function wt(e,t){for(;pt()&&e+lt!==57&&(e+lt!==84||47!==ft()););return"/*"+ht(t,at-1)+"*"+Je(47===e?e:pt())}function At(e){for(;!mt(ft());)pt();return ht(e,at)}function kt(e){return vt(Gt("",null,null,null,[""],e=bt(e),0,[0],e))}function Gt(e,t,n,o,r,i,a,l,s){for(var c=0,u=0,d=a,p=0,f=0,g=0,h=1,m=1,b=1,v=0,I="",y=r,x=i,C=o,w=I;m;)switch(g=v,v=pt()){case 40:if(108!=g&&58==Ke(w,d-1)){-1!=_e(w+=Qe(It(v),"&","&\f"),"&\f")&&(b=-1);break}case 34:case 39:case 91:w+=It(v);break;case 9:case 10:case 13:case 32:w+=yt(g);break;case 92:w+=xt(gt()-1,7);continue;case 47:switch(ft()){case 42:case 47:nt(Vt(wt(pt(),gt()),t,n),s);break;default:w+="/"}break;case 123*h:l[c++]=et(w)*b;case 125*h:case 59:case 0:switch(v){case 0:case 125:m=0;case 59+u:-1==b&&(w=Qe(w,/\f/g,"")),f>0&&et(w)-d&&nt(f>32?Bt(w+";",o,n,d-1):Bt(Qe(w," ","")+";",o,n,d-2),s);break;case 59:w+=";";default:if(nt(C=St(w,t,n,c,u,r,l,I,y=[],x=[],d),i),123===v)if(0===u)Gt(w,t,C,C,y,i,d,l,x);else switch(99===p&&110===Ke(w,3)?100:p){case 100:case 108:case 109:case 115:Gt(e,C,C,o&&nt(St(e,C,C,0,0,r,l,I,r,y=[],d),x),r,x,d,l,o?y:x);break;default:Gt(w,C,C,C,[""],x,0,l,x)}}c=u=f=0,h=b=1,I=w="",d=a;break;case 58:d=1+et(w),f=g;default:if(h<1)if(123==v)--h;else if(125==v&&0==h++&&125==dt())continue;switch(w+=Je(v),v*h){case 38:b=u>0?1:(w+="\f",-1);break;case 44:l[c++]=(et(w)-1)*b,b=1;break;case 64:45===ft()&&(w+=It(pt())),p=ft(),u=d=et(I=w+=At(gt())),v++;break;case 45:45===g&&2==et(w)&&(h=0)}}return i}function St(e,t,n,o,r,i,a,l,s,c,u){for(var d=r-1,p=0===r?i:[""],f=tt(p),g=0,h=0,m=0;g<o;++g)for(var b=0,v=qe(e,d+1,d=Ye(h=a[g])),I=e;b<f;++b)(I=Ue(h>0?p[b]+" "+v:Qe(v,/&\f/g,p[b])))&&(s[m++]=I);return ct(e,t,n,0===r?He:l,s,c,u)}function Vt(e,t,n){return ct(e,t,n,De,Je(lt),qe(e,2,-2),0)}function Bt(e,t,n,o){return ct(e,t,n,je,qe(e,0,o),qe(e,o+1,-1),o)}function Wt(e,t){for(var n="",o=tt(e),r=0;r<o;r++)n+=t(e[r],r,e,t)||"";return n}function Rt(e,t,n,o){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case je:return e.return=e.return||e.value;case De:return"";case ze:return e.return=e.value+"{"+Wt(e.children,o)+"}";case He:e.value=e.props.join(",")}return et(n=Wt(e.children,o))?e.return=e.value+"{"+n+"}":""}function Nt(e){var t=tt(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 Xt(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}var Ot="undefined"!=typeof document,Zt=function(e,t,n){for(var o=0,r=0;o=r,r=ft(),38===o&&12===r&&(t[n]=1),!mt(r);)pt();return ht(e,at)},Tt=function(e,t){return vt(function(e,t){var n=-1,o=44;do{switch(mt(o)){case 0:38===o&&12===ft()&&(t[n]=1),e[n]+=Zt(at-1,t,n);break;case 2:e[n]+=It(o);break;case 4:if(44===o){e[++n]=58===ft()?"&\f":"",t[n]=e[n].length;break}default:e[n]+=Je(o)}}while(o=pt());return e}(bt(e),t))},Et=new WeakMap,Mt=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)||Et.get(n))&&!o){Et.set(e,!0);for(var r=[],i=Tt(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]}}},Lt=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}};function Pt(e,t){switch(function(e,t){return 45^Ke(e,0)?(((t<<2^Ke(e,0))<<2^Ke(e,1))<<2^Ke(e,2))<<2^Ke(e,3):0}(e,t)){case 5103:return Fe+"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 Fe+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return Fe+e+Pe+e+Le+e+e;case 6828:case 4268:return Fe+e+Le+e+e;case 6165:return Fe+e+Le+"flex-"+e+e;case 5187:return Fe+e+Qe(e,/(\w+).+(:[^]+)/,Fe+"box-$1$2"+Le+"flex-$1$2")+e;case 5443:return Fe+e+Le+"flex-item-"+Qe(e,/flex-|-self/,"")+e;case 4675:return Fe+e+Le+"flex-line-pack"+Qe(e,/align-content|flex-|-self/,"")+e;case 5548:return Fe+e+Le+Qe(e,"shrink","negative")+e;case 5292:return Fe+e+Le+Qe(e,"basis","preferred-size")+e;case 6060:return Fe+"box-"+Qe(e,"-grow","")+Fe+e+Le+Qe(e,"grow","positive")+e;case 4554:return Fe+Qe(e,/([^-])(transform)/g,"$1"+Fe+"$2")+e;case 6187:return Qe(Qe(Qe(e,/(zoom-|grab)/,Fe+"$1"),/(image-set)/,Fe+"$1"),e,"")+e;case 5495:case 3959:return Qe(e,/(image-set\([^]*)/,Fe+"$1$`$1");case 4968:return Qe(Qe(e,/(.+:)(flex-)?(.*)/,Fe+"box-pack:$3"+Le+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+Fe+e+e;case 4095:case 3583:case 4068:case 2532:return Qe(e,/(.+)-inline(.+)/,Fe+"$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(et(e)-1-t>6)switch(Ke(e,t+1)){case 109:if(45!==Ke(e,t+4))break;case 102:return Qe(e,/(.+:)(.+)-([^]+)/,"$1"+Fe+"$2-$3$1"+Pe+(108==Ke(e,t+3)?"$3":"$2-$3"))+e;case 115:return~_e(e,"stretch")?Pt(Qe(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==Ke(e,t+1))break;case 6444:switch(Ke(e,et(e)-3-(~_e(e,"!important")&&10))){case 107:return Qe(e,":",":"+Fe)+e;case 101:return Qe(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+Fe+(45===Ke(e,14)?"inline-":"")+"box$3$1"+Fe+"$2$3$1"+Le+"$2box$3")+e}break;case 5936:switch(Ke(e,t+11)){case 114:return Fe+e+Le+Qe(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return Fe+e+Le+Qe(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return Fe+e+Le+Qe(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return Fe+e+Le+e+e}return e}var Ft,Dt,Ht,jt=Ot?void 0:(Ft=function(){return Xt((function(){var e={};return function(t){return e[t]}}))},Dt=new WeakMap,function(e){if(Dt.has(e))return Dt.get(e);var t=Ft(e);return Dt.set(e,t),t}),zt=[function(e,t,n,o){if(e.length>-1&&!e.return)switch(e.type){case je:e.return=Pt(e.value,e.length);break;case ze:return Wt([ut(e,{value:Qe(e.value,"@","@"+Fe)})],o);case He: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 Wt([ut(e,{props:[Qe(t,/:(read-\w+)/,":-moz-$1")]})],o);case"::placeholder":return Wt([ut(e,{props:[Qe(t,/:(plac\w+)/,":"+Fe+"input-$1")]}),ut(e,{props:[Qe(t,/:(plac\w+)/,":-moz-$1")]}),ut(e,{props:[Qe(t,/:(plac\w+)/,Le+"input-$1")]})],o)}return""}))}}],Yt=function(e){var t=e.key;if(Ot&&"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||zt,a={},l=[];Ot&&(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=[Mt,Lt];if(Ot){var u,d=[Rt,(s=function(e){u.insert(e)},function(e){e.root||(e=e.return)&&s(e)})],p=Nt(c.concat(i,d));r=function(e,t,n,o){u=n,Wt(kt(e?e+"{"+t.styles+"}":t.styles),p),o&&(b.inserted[t.name]=!0)}}else{var f=[Rt],g=Nt(c.concat(i,f)),h=jt(i)(t),m=function(e,t){var n=t.name;return void 0===h[n]&&(h[n]=Wt(kt(e?e+"{"+t.styles+"}":t.styles),g)),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 Me({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},Jt={exports:{}},$t={};var Ut,Qt,_t,Kt,qt={};
|
|
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 en(){return Qt||(Qt=1,"production"===process.env.NODE_ENV?Jt.exports=function(){if(Ht)return $t;Ht=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,f=e?Symbol.for("react.memo"):60115,g=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 g:case f:case a:return e;default:return p}}case n:return p}}}function y(e){return I(e)===c}return $t.AsyncMode=s,$t.ConcurrentMode=c,$t.ContextConsumer=l,$t.ContextProvider=a,$t.Element=t,$t.ForwardRef=u,$t.Fragment=o,$t.Lazy=g,$t.Memo=f,$t.Portal=n,$t.Profiler=i,$t.StrictMode=r,$t.Suspense=d,$t.isAsyncMode=function(e){return y(e)||I(e)===s},$t.isConcurrentMode=y,$t.isContextConsumer=function(e){return I(e)===l},$t.isContextProvider=function(e){return I(e)===a},$t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},$t.isForwardRef=function(e){return I(e)===u},$t.isFragment=function(e){return I(e)===o},$t.isLazy=function(e){return I(e)===g},$t.isMemo=function(e){return I(e)===f},$t.isPortal=function(e){return I(e)===n},$t.isProfiler=function(e){return I(e)===i},$t.isStrictMode=function(e){return I(e)===r},$t.isSuspense=function(e){return I(e)===d},$t.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===g||e.$$typeof===f||e.$$typeof===a||e.$$typeof===l||e.$$typeof===u||e.$$typeof===m||e.$$typeof===b||e.$$typeof===v||e.$$typeof===h)},$t.typeOf=I,$t}():Jt.exports=(Ut||(Ut=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,f=e?Symbol.for("react.memo"):60115,g=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 g:case f:case a:return m;default:return p}}case n:return p}}}var y=s,x=c,C=l,w=a,A=t,k=u,G=o,S=g,V=f,B=n,W=i,R=r,N=d,X=!1;function O(e){return I(e)===c}qt.AsyncMode=y,qt.ConcurrentMode=x,qt.ContextConsumer=C,qt.ContextProvider=w,qt.Element=A,qt.ForwardRef=k,qt.Fragment=G,qt.Lazy=S,qt.Memo=V,qt.Portal=B,qt.Profiler=W,qt.StrictMode=R,qt.Suspense=N,qt.isAsyncMode=function(e){return X||(X=!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.")),O(e)||I(e)===s},qt.isConcurrentMode=O,qt.isContextConsumer=function(e){return I(e)===l},qt.isContextProvider=function(e){return I(e)===a},qt.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},qt.isForwardRef=function(e){return I(e)===u},qt.isFragment=function(e){return I(e)===o},qt.isLazy=function(e){return I(e)===g},qt.isMemo=function(e){return I(e)===f},qt.isPortal=function(e){return I(e)===n},qt.isProfiler=function(e){return I(e)===i},qt.isStrictMode=function(e){return I(e)===r},qt.isSuspense=function(e){return I(e)===d},qt.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===g||e.$$typeof===f||e.$$typeof===a||e.$$typeof===l||e.$$typeof===u||e.$$typeof===m||e.$$typeof===b||e.$$typeof===v||e.$$typeof===h)},qt.typeOf=I}()),qt)),Jt.exports}!function(){if(Kt)return _t;Kt=1;var e=en(),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;_t=function e(t,o,r){if("string"!=typeof o){if(d){var p=u(o);p&&p!==d&&e(t,p,r)}var f=l(o);s&&(f=f.concat(s(o)));for(var g=i(t),h=i(o),m=0;m<f.length;++m){var b=f[m];if(!(n[b]||r&&r[b]||h&&h[b]||g&&g[b])){var v=c(o,b);try{a(t,b,v)}catch(e){}}}}return t}}();var tn="undefined"!=typeof document;var nn=function(e,t,n){var o=e.key+"-"+t.name;(!1===n||!1===tn&&void 0!==e.compat)&&void 0===e.registered[o]&&(e.registered[o]=t.styles)};var on={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},rn=/[A-Z]|^ms/g,an=/_EMO_([^_]+?)_([^]*?)_EMO_/g,ln=function(e){return 45===e.charCodeAt(1)},sn=function(e){return null!=e&&"boolean"!=typeof e},cn=Xt((function(e){return ln(e)?e:e.replace(rn,"-$&").toLowerCase()})),un=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(an,(function(e,t,n){return pn={name:t,styles:n,next:pn},t}))}return 1===on[e]||ln(e)||"number"!=typeof t||0===t?t:t+"px"};function dn(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 pn={name:r.name,styles:r.styles,next:pn},r.name;var i=n;if(void 0!==i.styles){var a=i.next;if(void 0!==a)for(;void 0!==a;)pn={name:a.name,styles:a.styles,next:pn},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+=dn(e,t,n[r])+";";else for(var i in n){var a=n[i];if("object"!=typeof a){var l=a;sn(l)&&(o+=cn(i)+":"+un(i,l)+";")}else if(Array.isArray(a)&&"string"==typeof a[0]&&null==t)for(var s=0;s<a.length;s++)sn(a[s])&&(o+=cn(i)+":"+un(i,a[s])+";");else{var c=dn(e,t,a);switch(i){case"animation":case"animationName":o+=cn(i)+":"+c+";";break;default:o+=i+"{"+c+"}"}}}return o}(e,t,n);case"function":if(void 0!==e){var l=pn,s=n(e);return pn=l,dn(e,t,s)}}return n}var pn,fn=/label:\s*([^\s;{]+)\s*(;|$)/g;function gn(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="";pn=void 0;var i=e[0];null==i||void 0===i.raw?(o=!1,r+=dn(n,t,i)):r+=i[0];for(var a=1;a<e.length;a++){if(r+=dn(n,t,e[a]),o)r+=i[a]}fn.lastIndex=0;for(var l,s="";null!==(l=fn.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:pn}}var hn="undefined"!=typeof document,mn=function(e){return e()},bn=!!s.useInsertionEffect&&s.useInsertionEffect,vn=hn&&bn||mn,In="undefined"!=typeof document,yn=s.createContext("undefined"!=typeof HTMLElement?Yt({key:"css"}):null);yn.Provider;var xn=function(e){return t.forwardRef((function(n,o){var r=t.useContext(yn);return e(n,r,o)}))};In||(xn=function(e){return function(n){var o=t.useContext(yn);return null===o?(o=Yt({key:"css"}),s.createElement(yn.Provider,{value:o},e(n,o))):e(n,o)}});var Cn=s.createContext({}),wn={}.hasOwnProperty,An="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",kn=function(e){var t=e.cache,n=e.serialized,o=e.isStringTag;nn(t,n,o);var r=vn((function(){return function(e,t,n){nn(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);tn||void 0===a||(r+=a),i=i.next}while(void 0!==i);if(!tn&&0!==r.length)return r}}(t,n,o)}));if(!In&&void 0!==r){for(var i,a=n.name,l=n.next;void 0!==l;)a+=" "+l.name,l=l.next;return s.createElement("style",((i={})["data-emotion"]=t.key+" "+a,i.dangerouslySetInnerHTML={__html:r},i.nonce=t.sheet.nonce,i))}return null},Gn=xn((function(e,t,n){var o=e.css;"string"==typeof o&&void 0!==t.registered[o]&&(o=t.registered[o]);var r=e[An],i=[o],a="";"string"==typeof e.className?a=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,i,e.className):null!=e.className&&(a=e.className+" ");var l=gn(i,void 0,s.useContext(Cn));a+=t.key+"-"+l.name;var c={};for(var u in e)wn.call(e,u)&&"css"!==u&&u!==An&&(c[u]=e[u]);return c.className=a,n&&(c.ref=n),s.createElement(s.Fragment,null,s.createElement(kn,{cache:t,serialized:l,isStringTag:"string"==typeof r}),s.createElement(r,c))})),Sn=Gn,Vn=function(e,t){var n=arguments;if(null==t||!wn.call(t,"css"))return s.createElement.apply(void 0,n);var o=n.length,r=new Array(o);r[0]=Sn,r[1]=function(e,t){var n={};for(var o in t)wn.call(t,o)&&(n[o]=t[o]);return n[An]=e,n}(e,t);for(var i=2;i<o;i++)r[i]=n[i];return s.createElement.apply(null,r)};function Bn(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return gn(t)}const Wn=Math.min,Rn=Math.max,Nn=Math.round,Xn=Math.floor,On=e=>({x:e,y:e}),Zn={left:"right",right:"left",bottom:"top",top:"bottom"},Tn={start:"end",end:"start"};function En(e,t,n){return Rn(e,Wn(t,n))}function Mn(e,t){return"function"==typeof e?e(t):e}function Ln(e){return e.split("-")[0]}function Pn(e){return e.split("-")[1]}function Fn(e){return"x"===e?"y":"x"}function Dn(e){return"y"===e?"height":"width"}function Hn(e){return["top","bottom"].includes(Ln(e))?"y":"x"}function jn(e){return Fn(Hn(e))}function zn(e){return e.replace(/start|end/g,(e=>Tn[e]))}function Yn(e){return e.replace(/left|right|bottom|top/g,(e=>Zn[e]))}function Jn(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 $n(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 Un(e,t,n){let{reference:o,floating:r}=e;const i=Hn(t),a=jn(t),l=Dn(a),s=Ln(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 f;switch(s){case"top":f={x:u,y:o.y-r.height};break;case"bottom":f={x:u,y:o.y+o.height};break;case"right":f={x:o.x+o.width,y:d};break;case"left":f={x:o.x-r.width,y:d};break;default:f={x:o.x,y:o.y}}switch(Pn(t)){case"start":f[a]-=p*(n&&c?-1:1);break;case"end":f[a]+=p*(n&&c?-1:1)}return f}async function Qn(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:f=0}=Mn(t,e),g=Jn(f),h=l[p?"floating"===d?"reference":"floating":d],m=$n(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=$n(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:b,offsetParent:v,strategy:s}):b);return{top:(m.top-y.top+g.top)/I.y,bottom:(y.bottom-m.bottom+g.bottom)/I.y,left:(m.left-y.left+g.left)/I.x,right:(y.right-m.right+g.right)/I.x}}function _n(){return"undefined"!=typeof window}function Kn(e){return to(e)?(e.nodeName||"").toLowerCase():"#document"}function qn(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function eo(e){var t;return null==(t=(to(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function to(e){return!!_n()&&(e instanceof Node||e instanceof qn(e).Node)}function no(e){return!!_n()&&(e instanceof Element||e instanceof qn(e).Element)}function oo(e){return!!_n()&&(e instanceof HTMLElement||e instanceof qn(e).HTMLElement)}function ro(e){return!(!_n()||"undefined"==typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof qn(e).ShadowRoot)}function io(e){const{overflow:t,overflowX:n,overflowY:o,display:r}=po(e);return/auto|scroll|overlay|hidden|clip/.test(t+o+n)&&!["inline","contents"].includes(r)}function ao(e){return["table","td","th"].includes(Kn(e))}function lo(e){return[":popover-open",":modal"].some((t=>{try{return e.matches(t)}catch(e){return!1}}))}function so(e){const t=co(),n=no(e)?po(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 co(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function uo(e){return["html","body","#document"].includes(Kn(e))}function po(e){return qn(e).getComputedStyle(e)}function fo(e){return no(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function go(e){if("html"===Kn(e))return e;const t=e.assignedSlot||e.parentNode||ro(e)&&e.host||eo(e);return ro(t)?t.host:t}function ho(e){const t=go(e);return uo(t)?e.ownerDocument?e.ownerDocument.body:e.body:oo(t)&&io(t)?t:ho(t)}function mo(e,t,n){var o;void 0===t&&(t=[]),void 0===n&&(n=!0);const r=ho(e),i=r===(null==(o=e.ownerDocument)?void 0:o.body),a=qn(r);if(i){const e=bo(a);return t.concat(a,a.visualViewport||[],io(r)?r:[],e&&n?mo(e):[])}return t.concat(r,mo(r,[],n))}function bo(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function vo(e){const t=po(e);let n=parseFloat(t.width)||0,o=parseFloat(t.height)||0;const r=oo(e),i=r?e.offsetWidth:n,a=r?e.offsetHeight:o,l=Nn(n)!==i||Nn(o)!==a;return l&&(n=i,o=a),{width:n,height:o,$:l}}function Io(e){return no(e)?e:e.contextElement}function yo(e){const t=Io(e);if(!oo(t))return On(1);const n=t.getBoundingClientRect(),{width:o,height:r,$:i}=vo(t);let a=(i?Nn(n.width):n.width)/o,l=(i?Nn(n.height):n.height)/r;return a&&Number.isFinite(a)||(a=1),l&&Number.isFinite(l)||(l=1),{x:a,y:l}}const xo=On(0);function Co(e){const t=qn(e);return co()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:xo}function wo(e,t,n,o){void 0===t&&(t=!1),void 0===n&&(n=!1);const r=e.getBoundingClientRect(),i=Io(e);let a=On(1);t&&(o?no(o)&&(a=yo(o)):a=yo(e));const l=function(e,t,n){return void 0===t&&(t=!1),!(!n||t&&n!==qn(e))&&t}(i,n,o)?Co(i):On(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=qn(i),t=o&&no(o)?qn(o):o;let n=e,r=bo(n);for(;r&&o&&t!==n;){const e=yo(r),t=r.getBoundingClientRect(),o=po(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=qn(r),r=bo(n)}}return $n({width:u,height:d,x:s,y:c})}function Ao(e,t){const n=fo(e).scrollLeft;return t?t.left+n:wo(eo(e)).left+n}function ko(e,t,n){let o;if("viewport"===t)o=function(e,t){const n=qn(e),o=eo(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=co();(!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=eo(e),n=fo(e),o=e.ownerDocument.body,r=Rn(t.scrollWidth,t.clientWidth,o.scrollWidth,o.clientWidth),i=Rn(t.scrollHeight,t.clientHeight,o.scrollHeight,o.clientHeight);let a=-n.scrollLeft+Ao(e);const l=-n.scrollTop;return"rtl"===po(o).direction&&(a+=Rn(t.clientWidth,o.clientWidth)-r),{width:r,height:i,x:a,y:l}}(eo(e));else if(no(t))o=function(e,t){const n=wo(e,!0,"fixed"===t),o=n.top+e.clientTop,r=n.left+e.clientLeft,i=oo(e)?yo(e):On(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=Co(e);o={...t,x:t.x-n.x,y:t.y-n.y}}return $n(o)}function Go(e,t){const n=go(e);return!(n===t||!no(n)||uo(n))&&("fixed"===po(n).position||Go(n,t))}function So(e,t,n){const o=oo(t),r=eo(t),i="fixed"===n,a=wo(e,!0,i,t);let l={scrollLeft:0,scrollTop:0};const s=On(0);if(o||!o&&!i)if(("body"!==Kn(t)||io(r))&&(l=fo(t)),o){const e=wo(t,!0,i,t);s.x=e.x+t.clientLeft,s.y=e.y+t.clientTop}else r&&(s.x=Ao(r));let c=0,u=0;if(r&&!o&&!i){const e=r.getBoundingClientRect();u=e.top+l.scrollTop,c=e.left+l.scrollLeft-Ao(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 Vo(e){return"static"===po(e).position}function Bo(e,t){if(!oo(e)||"fixed"===po(e).position)return null;if(t)return t(e);let n=e.offsetParent;return eo(e)===n&&(n=n.ownerDocument.body),n}function Wo(e,t){const n=qn(e);if(lo(e))return n;if(!oo(e)){let t=go(e);for(;t&&!uo(t);){if(no(t)&&!Vo(t))return t;t=go(t)}return n}let o=Bo(e,t);for(;o&&ao(o)&&Vo(o);)o=Bo(o,t);return o&&uo(o)&&Vo(o)&&!so(o)?n:o||function(e){let t=go(e);for(;oo(t)&&!uo(t);){if(so(t))return t;if(lo(t))return null;t=go(t)}return null}(e)||n}const Ro={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:n,offsetParent:o,strategy:r}=e;const i="fixed"===r,a=eo(o),l=!!t&&lo(t.floating);if(o===a||l&&i)return n;let s={scrollLeft:0,scrollTop:0},c=On(1);const u=On(0),d=oo(o);if((d||!d&&!i)&&(("body"!==Kn(o)||io(a))&&(s=fo(o)),oo(o))){const e=wo(o);c=yo(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:eo,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:o,strategy:r}=e;const i="clippingAncestors"===n?lo(t)?[]:function(e,t){const n=t.get(e);if(n)return n;let o=mo(e,[],!1).filter((e=>no(e)&&"body"!==Kn(e))),r=null;const i="fixed"===po(e).position;let a=i?go(e):e;for(;no(a)&&!uo(a);){const t=po(a),n=so(a);n||"fixed"!==t.position||(r=null),(i?!n&&!r:!n&&"static"===t.position&&r&&["absolute","fixed"].includes(r.position)||io(a)&&!n&&Go(e,a))?o=o.filter((e=>e!==a)):r=t,a=go(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=ko(t,n,r);return e.top=Rn(o.top,e.top),e.right=Wn(o.right,e.right),e.bottom=Wn(o.bottom,e.bottom),e.left=Rn(o.left,e.left),e}),ko(t,l,r));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},getOffsetParent:Wo,getElementRects:async function(e){const t=this.getOffsetParent||Wo,n=this.getDimensions,o=await n(e.floating);return{reference:So(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}=vo(e);return{width:t,height:n}},getScale:yo,isElement:no,isRTL:function(e){return"rtl"===po(e).direction}};function No(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=Io(e),u=r||i?[...c?mo(c):[],...mo(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=eo(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 f={rootMargin:-Xn(u)+"px "+-Xn(r.clientWidth-(c+d))+"px "+-Xn(r.clientHeight-(u+p))+"px "+-Xn(c)+"px",threshold:Rn(0,Wn(1,s))||1};let g=!0;function h(e){const t=e[0].intersectionRatio;if(t!==s){if(!g)return a();t?a(!1,t):n=setTimeout((()=>{a(!1,1e-7)}),1e3)}g=!1}try{o=new IntersectionObserver(h,{...f,root:r.ownerDocument})}catch(e){o=new IntersectionObserver(h,f)}o.observe(e)}(!0),i}(c,n):null;let p,f=-1,g=null;a&&(g=new ResizeObserver((e=>{let[o]=e;o&&o.target===c&&g&&(g.unobserve(t),cancelAnimationFrame(f),f=requestAnimationFrame((()=>{var e;null==(e=g)||e.observe(t)}))),n()})),c&&!s&&g.observe(c),g.observe(t));let h=s?wo(e):null;return s&&function t(){const o=wo(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=g)||e.disconnect(),g=null,s&&cancelAnimationFrame(p)}}const Xo=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=Ln(n),l=Pn(n),s="y"===Hn(n),c=["left","top"].includes(a)?-1:1,u=i&&s?-1:1,d=Mn(t,e);let{mainAxis:p,crossAxis:f,alignmentAxis:g}="number"==typeof d?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:d.mainAxis||0,crossAxis:d.crossAxis||0,alignmentAxis:d.alignmentAxis};return l&&"number"==typeof g&&(f="end"===l?-1*g:g),s?{x:f*u,y:p*c}:{x:p*c,y:f*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}}}}},Oo=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}=Mn(e,t),c={x:n,y:o},u=await Qn(t,s),d=Hn(Ln(r)),p=Fn(d);let f=c[p],g=c[d];if(i){const e="y"===p?"bottom":"right";f=En(f+u["y"===p?"top":"left"],f,f-u[e])}if(a){const e="y"===d?"bottom":"right";g=En(g+u["y"===d?"top":"left"],g,g-u[e])}const h=l.fn({...t,[p]:f,[d]:g});return{...h,data:{x:h.x-n,y:h.y-o,enabled:{[p]:i,[d]:a}}}}}},Zo=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:f="bestFit",fallbackAxisSideDirection:g="none",flipAlignment:h=!0,...m}=Mn(e,t);if(null!=(n=i.arrow)&&n.alignmentOffset)return{};const b=Ln(r),v=Hn(l),I=Ln(l)===l,y=await(null==s.isRTL?void 0:s.isRTL(c.floating)),x=p||(I||!h?[Yn(l)]:function(e){const t=Yn(e);return[zn(e),t,zn(t)]}(l)),C="none"!==g;!p&&C&&x.push(...function(e,t,n,o){const r=Pn(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[]}}(Ln(e),"start"===n,o);return r&&(i=i.map((e=>e+"-"+r)),t&&(i=i.concat(i.map(zn)))),i}(l,h,g,y));const w=[l,...x],A=await Qn(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=Pn(e),r=jn(e),i=Dn(r);let a="x"===r?o===(n?"end":"start")?"right":"left":"start"===o?"bottom":"top";return t.reference[i]>t.floating[i]&&(a=Yn(a)),[a,Yn(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 S,V;const e=((null==(S=i.flip)?void 0:S.index)||0)+1,t=w[e];if(t)return{data:{index:e,overflows:G},reset:{placement:t}};let n=null==(V=G.filter((e=>e.overflows[0]<=0)).sort(((e,t)=>e.overflows[1]-t.overflows[1]))[0])?void 0:V.placement;if(!n)switch(f){case"bestFit":{var B;const e=null==(B=G.filter((e=>{if(C){const t=Hn(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{}}}},To=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}=Mn(e,t)||{};if(null==c)return{};const d=Jn(u),p={x:n,y:o},f=jn(r),g=Dn(f),h=await a.getDimensions(c),m="y"===f,b=m?"top":"left",v=m?"bottom":"right",I=m?"clientHeight":"clientWidth",y=i.reference[g]+i.reference[f]-p[f]-i.floating[g],x=p[f]-i.reference[f],C=await(null==a.getOffsetParent?void 0:a.getOffsetParent(c));let w=C?C[I]:0;w&&await(null==a.isElement?void 0:a.isElement(C))||(w=l.floating[I]||i.floating[g]);const A=y/2-x/2,k=w/2-h[g]/2-1,G=Wn(d[b],k),S=Wn(d[v],k),V=G,B=w-h[g]-S,W=w/2-h[g]/2+A,R=En(V,W,B),N=!s.arrow&&null!=Pn(r)&&W!==R&&i.reference[g]/2-(W<V?G:S)-h[g]/2<0,X=N?W<V?W-V:W-B:0;return{[f]:p[f]+X,data:{[f]:R,centerOffset:W-R-X,...N&&{alignmentOffset:X}},reset:N}}}),Eo=(e,t,n)=>{const o=new Map,r={platform:Ro,...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}=Un(c,o,s),p=o,f={},g=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:f,rects:c,platform:a,elements:{reference:e,floating:t}});u=null!=m?m:u,d=null!=b?b:d,f={...f,[i]:{...f[i],...v}},I&&g<=50&&(g++,"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}=Un(c,p,s))),n=-1)}return{x:u,y:d,placement:p,strategy:r,middlewareData:f}})(e,t,{...r,platform:i})};var Mo="undefined"!=typeof document?t.useLayoutEffect:t.useEffect,Lo=["className","clearValue","cx","getStyles","getClassNames","getValue","hasValue","isMulti","isRtl","options","selectOption","selectProps","setValue","theme"],Po=function(){};function Fo(e,t){return t?"-"===t[0]?e+t:e+"__"+t:e}function Do(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(Fo(e,a)));return i.filter((function(e){return e})).map((function(e){return String(e).trim()})).join(" ")}var Ho=function(e){return t=e,Array.isArray(t)?e.filter(Boolean):"object"===xe(e)&&null!==e?[e]:[];var t},jo=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,ke({},Be(e,Lo))},zo=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 Yo(e){return[document.documentElement,document.body,window].indexOf(e)>-1}function Jo(e){return Yo(e)?window.pageYOffset:e.scrollTop}function $o(e,t){Yo(e)?window.scrollTo(0,t):e.scrollTop=t}function Uo(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:200,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:Po,r=Jo(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);$o(e,l),a<n?window.requestAnimationFrame(t):o(e)}()}function Qo(e,t){var n=e.getBoundingClientRect(),o=t.getBoundingClientRect(),r=t.offsetHeight/3;o.bottom+r>n.bottom?$o(e,Math.min(t.offsetTop+t.clientHeight-e.offsetHeight+r,e.scrollHeight)):o.top-r<n.top&&$o(e,Math.max(t.offsetTop-r,0))}function _o(){try{return document.createEvent("TouchEvent"),!0}catch(e){return!1}}var Ko=!1,qo={get passive(){return Ko=!0}},er="undefined"!=typeof window?window:{};er.addEventListener&&er.removeEventListener&&(er.addEventListener("p",Po,qo),er.removeEventListener("p",Po,!1));var tr=Ko;function nr(e){return null!=e}function or(e,t,n){return e?t:n}var rr=["children","innerProps"],ir=["children","innerProps"];function ar(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(),f=p.bottom,g=p.height,h=p.top,m=n.offsetParent.getBoundingClientRect().top,b=a?window.innerHeight:Yo(u=s)?window.innerHeight:u.clientHeight,v=Jo(s),I=parseInt(getComputedStyle(n).marginBottom,10),y=parseInt(getComputedStyle(n).marginTop,10),x=m-y,C=b-h,w=x+v,A=d-v-h,k=f-b+v+I,G=v+h-y,S=160;switch(r){case"auto":case"bottom":if(C>=g)return{placement:"bottom",maxHeight:t};if(A>=g&&!a)return i&&Uo(s,k,S),{placement:"bottom",maxHeight:t};if(!a&&A>=o||a&&C>=o)return i&&Uo(s,k,S),{placement:"bottom",maxHeight:a?C-I:A-I};if("auto"===r||a){var V=t,B=a?x:w;return B>=o&&(V=Math.min(B-I-l,t)),{placement:"top",maxHeight:V}}if("bottom"===r)return i&&$o(s,k),{placement:"bottom",maxHeight:t};break;case"top":if(x>=g)return{placement:"top",maxHeight:t};if(w>=g&&!a)return i&&Uo(s,G,S),{placement:"top",maxHeight:t};if(!a&&w>=o||a&&x>=o){var W=t;return(!a&&w>=o||a&&x>=o)&&(W=a?x-y:w-y),i&&Uo(s,G,S),{placement:"top",maxHeight:W}}return{placement:"bottom",maxHeight:t};default:throw new Error('Invalid placement provided "'.concat(r,'".'))}return c}var lr,sr=function(e){return"auto"===e?"bottom":e},cr=t.createContext(null),ur=function(e){var n=e.children,o=e.minMenuHeight,r=e.maxMenuHeight,i=e.menuPlacement,a=e.menuPosition,l=e.menuShouldScrollIntoView,s=e.theme,c=(t.useContext(cr)||{}).setPortalPlacement,u=t.useRef(null),d=Ve(t.useState(r),2),p=d[0],f=d[1],g=Ve(t.useState(null),2),h=g[0],m=g[1],b=s.spacing.controlHeight;return Mo((function(){var e=u.current;if(e){var t="fixed"===a,n=ar({maxHeight:r,menuEl:e,minHeight:o,placement:i,shouldScroll:l&&!t,isFixedPosition:t,controlHeight:b});f(n.maxHeight),m(n.placement),null==c||c(n.placement)}}),[r,i,a,l,o,c,b]),n({ref:u,placerProps:ke(ke({},e),{},{placement:h||sr(i),maxHeight:p})})},dr=function(e){var t=e.children,n=e.innerRef,o=e.innerProps;return Vn("div",Re({},zo(e,"menu",{menu:!0}),{ref:n},o),t)},pr=function(e,t){var n=e.theme,o=n.spacing.baseUnit,r=n.colors;return ke({textAlign:"center"},t?{}:{color:r.neutral40,padding:"".concat(2*o,"px ").concat(3*o,"px")})},fr=pr,gr=pr,hr=["size"],mr=["innerProps","isRtl","size"];var br,vr,Ir="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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXlCSSIsImZpbGUiOiJpbmRpY2F0b3JzLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgUmVhY3ROb2RlIH0gZnJvbSAncmVhY3QnO1xuaW1wb3J0IHsganN4LCBrZXlmcmFtZXMgfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5cbmltcG9ydCB7XG4gIENvbW1vblByb3BzQW5kQ2xhc3NOYW1lLFxuICBDU1NPYmplY3RXaXRoTGFiZWwsXG4gIEdyb3VwQmFzZSxcbn0gZnJvbSAnLi4vdHlwZXMnO1xuaW1wb3J0IHsgZ2V0U3R5bGVQcm9wcyB9IGZyb20gJy4uL3V0aWxzJztcblxuLy8gPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09XG4vLyBEcm9wZG93biAmIENsZWFyIEljb25zXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cblxuY29uc3QgU3ZnID0gKHtcbiAgc2l6ZSxcbiAgLi4ucHJvcHNcbn06IEpTWC5JbnRyaW5zaWN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dyb3VwQmFzZTxPcHRpb24+XG4+KHtcbiAgaW5uZXJQcm9wcyxcbiAgaXNSdGwsXG4gIHNpemUgPSA0LFxuICAuLi5yZXN0UHJvcHNcbn06IExvYWRpbmdJbmRpY2F0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPikgPT4ge1xuICByZXR1cm4gKFxuICAgIDxkaXZcbiAgICAgIHsuLi5nZXRTdHlsZVByb3BzKFxuICAgICAgICB7IC4uLnJlc3RQcm9wcywgaW5uZXJQcm9wcywgaXNSdGwsIHNpemUgfSxcbiAgICAgICAgJ2xvYWRpbmdJbmRpY2F0b3InLFxuICAgICAgICB7XG4gICAgICAgICAgaW5kaWNhdG9yOiB0cnVlLFxuICAgICAgICAgICdsb2FkaW5nLWluZGljYXRvcic6IHRydWUsXG4gICAgICAgIH1cbiAgICAgICl9XG4gICAgICB7Li4uaW5uZXJQcm9wc31cbiAgICA+XG4gICAgICA8TG9hZGluZ0RvdCBkZWxheT17MH0gb2Zmc2V0PXtpc1J0bH0gLz5cbiAgICAgIDxMb2FkaW5nRG90IGRlbGF5PXsxNjB9IG9mZnNldCAvPlxuICAgICAgPExvYWRpbmdEb3QgZGVsYXk9ezMyMH0gb2Zmc2V0PXshaXNSdGx9IC8+XG4gICAgPC9kaXY+XG4gICk7XG59O1xuIl19 */",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)."}},yr=function(e){var t=e.size,n=Be(e,hr);return Vn("svg",Re({height:t,width:t,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",css:Ir},n))},xr=function(e){return Vn(yr,Re({size:20},e),Vn("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"}))},Cr=function(e){return Vn(yr,Re({size:20},e),Vn("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"}))},wr=function(e,t){var n=e.isFocused,o=e.theme,r=o.spacing.baseUnit,i=o.colors;return ke({label:"indicatorContainer",display:"flex",transition:"color 150ms"},t?{}:{color:n?i.neutral60:i.neutral20,padding:2*r,":hover":{color:n?i.neutral80:i.neutral40}})},Ar=wr,kr=wr,Gr=function(){var e=Bn.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_"}}}(lr||(br=["\n 0%, 80%, 100% { opacity: 0; }\n 40% { opacity: 1; }\n"],vr||(vr=br.slice(0)),lr=Object.freeze(Object.defineProperties(br,{raw:{value:Object.freeze(vr)}})))),Sr=function(e){var t=e.delay,n=e.offset;return Vn("span",{css:Bn({animation:"".concat(Gr," 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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQW1RSSIsImZpbGUiOiJpbmRpY2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CBkZWxheT17MH0gb2Zmc2V0PXtpc1J0bH0gLz5cbiAgICAgIDxMb2FkaW5nRG90IGRlbGF5PXsxNjB9IG9mZnNldCAvPlxuICAgICAgPExvYWRpbmdEb3QgZGVsYXk9ezMyMH0gb2Zmc2V0PXshaXNSdGx9IC8+XG4gICAgPC9kaXY+XG4gICk7XG59O1xuIl19 */")})},Vr=function(e){var t=e.children,n=e.isDisabled,o=e.isFocused,r=e.innerRef,i=e.innerProps,a=e.menuIsOpen;return Vn("div",Re({ref:r},zo(e,"control",{control:!0,"control--is-disabled":n,"control--is-focused":o,"control--menu-is-open":a}),i,{"aria-disabled":n||void 0}),t)},Br=["data"],Wr=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 Vn("div",Re({},zo(e,"group",{group:!0}),l),Vn(i,Re({},a,{selectProps:u,theme:c,getStyles:o,getClassNames:r,cx:n}),s),Vn("div",null,t))},Rr=["innerRef","isDisabled","isHidden","inputClassName"],Nr={gridArea:"1 / 2",font:"inherit",minWidth:"2px",border:0,margin:0,outline:0,padding:0},Xr={flex:"1 1 auto",display:"inline-grid",gridArea:"1 / 1 / 2 / 3",gridTemplateColumns:"0 min-content","&:after":ke({content:'attr(data-value) " "',visibility:"hidden",whiteSpace:"pre"},Nr)},Or=function(e){return ke({label:"input",color:"inherit",background:0,opacity:e?0:1,width:"100%"},Nr)},Zr=function(e){var t=e.children,n=e.innerProps;return Vn("div",n,t)};var Tr=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 Vn(s,{data:o,innerProps:ke(ke({},zo(e,"multiValue",{"multi-value":!0,"multi-value--is-disabled":i})),r),selectProps:l},Vn(c,{data:o,innerProps:ke({},zo(e,"multiValueLabel",{"multi-value__label":!0})),selectProps:l},t),Vn(u,{data:o,innerProps:ke(ke({},zo(e,"multiValueRemove",{"multi-value__remove":!0})),{},{"aria-label":"Remove ".concat(t||"option")},a),selectProps:l}))},Er={ClearIndicator:function(e){var t=e.children,n=e.innerProps;return Vn("div",Re({},zo(e,"clearIndicator",{indicator:!0,"clear-indicator":!0}),n),t||Vn(xr,null))},Control:Vr,DropdownIndicator:function(e){var t=e.children,n=e.innerProps;return Vn("div",Re({},zo(e,"dropdownIndicator",{indicator:!0,"dropdown-indicator":!0}),n),t||Vn(Cr,null))},DownChevron:Cr,CrossIcon:xr,Group:Wr,GroupHeading:function(e){var t=jo(e);t.data;var n=Be(t,Br);return Vn("div",Re({},zo(e,"groupHeading",{"group-heading":!0}),n))},IndicatorsContainer:function(e){var t=e.children,n=e.innerProps;return Vn("div",Re({},zo(e,"indicatorsContainer",{indicators:!0}),n),t)},IndicatorSeparator:function(e){var t=e.innerProps;return Vn("span",Re({},t,zo(e,"indicatorSeparator",{"indicator-separator":!0})))},Input:function(e){var t=e.cx,n=e.value,o=jo(e),r=o.innerRef,i=o.isDisabled,a=o.isHidden,l=o.inputClassName,s=Be(o,Rr);return Vn("div",Re({},zo(e,"input",{"input-container":!0}),{"data-value":n||""}),Vn("input",Re({className:t({input:!0},l),ref:r,style:Or(a),disabled:i},s)))},LoadingIndicator:function(e){var t=e.innerProps,n=e.isRtl,o=e.size,r=void 0===o?4:o,i=Be(e,mr);return Vn("div",Re({},zo(ke(ke({},i),{},{innerProps:t,isRtl:n,size:r}),"loadingIndicator",{indicator:!0,"loading-indicator":!0}),t),Vn(Sr,{delay:0,offset:n}),Vn(Sr,{delay:160,offset:!0}),Vn(Sr,{delay:320,offset:!n}))},Menu:dr,MenuList:function(e){var t=e.children,n=e.innerProps,o=e.innerRef,r=e.isMulti;return Vn("div",Re({},zo(e,"menuList",{"menu-list":!0,"menu-list--is-multi":r}),{ref:o},n),t)},MenuPortal:function(e){var n=e.appendTo,o=e.children,r=e.controlElement,a=e.innerProps,l=e.menuPlacement,s=e.menuPosition,c=t.useRef(null),u=t.useRef(null),d=Ve(t.useState(sr(l)),2),p=d[0],f=d[1],g=t.useMemo((function(){return{setPortalPlacement:f}}),[]),h=Ve(t.useState(null),2),m=h[0],b=h[1],v=t.useCallback((function(){if(r){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}}(r),t="fixed"===s?0:window.pageYOffset,n=e[p]+t;n===(null==m?void 0:m.offset)&&e.left===(null==m?void 0:m.rect.left)&&e.width===(null==m?void 0:m.rect.width)||b({offset:n,rect:e})}}),[r,s,p,null==m?void 0:m.offset,null==m?void 0:m.rect.left,null==m?void 0:m.rect.width]);Mo((function(){v()}),[v]);var I=t.useCallback((function(){"function"==typeof u.current&&(u.current(),u.current=null),r&&c.current&&(u.current=No(r,c.current,v,{elementResize:"ResizeObserver"in window}))}),[r,v]);Mo((function(){I()}),[I]);var y=t.useCallback((function(e){c.current=e,I()}),[I]);if(!n&&"fixed"!==s||!m)return null;var x=Vn("div",Re({ref:y},zo(ke(ke({},e),{},{offset:m.offset,position:s,rect:m.rect}),"menuPortal",{"menu-portal":!0}),a),o);return Vn(cr.Provider,{value:g},n?i.createPortal(x,n):x)},LoadingMessage:function(e){var t=e.children,n=void 0===t?"Loading...":t,o=e.innerProps,r=Be(e,ir);return Vn("div",Re({},zo(ke(ke({},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=Be(e,rr);return Vn("div",Re({},zo(ke(ke({},r),{},{children:n,innerProps:o}),"noOptionsMessage",{"menu-notice":!0,"menu-notice--no-options":!0}),o),n)},MultiValue:Tr,MultiValueContainer:Zr,MultiValueLabel:Zr,MultiValueRemove:function(e){var t=e.children,n=e.innerProps;return Vn("div",Re({role:"button"},n),t||Vn(xr,{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 Vn("div",Re({},zo(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 Vn("div",Re({},zo(e,"placeholder",{placeholder:!0}),n),t)},SelectContainer:function(e){var t=e.children,n=e.innerProps,o=e.isDisabled,r=e.isRtl;return Vn("div",Re({},zo(e,"container",{"--is-disabled":o,"--is-rtl":r}),n),t)},SingleValue:function(e){var t=e.children,n=e.isDisabled,o=e.innerProps;return Vn("div",Re({},zo(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 Vn("div",Re({},zo(e,"valueContainer",{"value-container":!0,"value-container--is-multi":o,"value-container--has-value":r}),n),t)}},Mr=Number.isNaN||function(e){return"number"==typeof e&&e!=e};function Lr(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||Mr(o)&&Mr(r)))return!1;var o,r;return!0}for(var Pr="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)."}},Fr=function(e){return Vn("span",Re({css:Pr},e))},Dr={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:"",".")}},Hr=function(e){var n=e.ariaSelection,o=e.focusedOption,r=e.focusedValue,i=e.focusableOptions,a=e.isFocused,l=e.selectValue,s=e.selectProps,c=e.id,u=e.isAppleDevice,d=s.ariaLiveMessages,p=s.getOptionLabel,f=s.inputValue,g=s.isMulti,h=s.isOptionDisabled,m=s.isSearchable,b=s.menuIsOpen,v=s.options,I=s.screenReaderStatus,y=s.tabSelectsValue,x=s.isLoading,C=s["aria-label"],w=s["aria-live"],A=t.useMemo((function(){return ke(ke({},Dr),d||{})}),[d]),k=t.useMemo((function(){var e,t="";if(n&&A.onChange){var o=n.option,r=n.options,i=n.removedValue,a=n.removedValues,s=n.value,c=i||o||(e=s,Array.isArray(e)?null:e),u=c?p(c):"",d=r||a||void 0,f=d?d.map(p):[],g=ke({isDisabled:c&&h(c,l),label:u,labels:f},n);t=A.onChange(g)}return t}),[n,A,h,l,p]),G=t.useMemo((function(){var e="",t=o||r,n=!!(o&&l&&l.includes(o));if(t&&A.onFocus){var a={focused:t,label:p(t),isDisabled:h(t,l),isSelected:n,options:i,context:t===o?"menu":"value",selectValue:l,isAppleDevice:u};e=A.onFocus(a)}return e}),[o,r,p,h,A,i,l,u]),S=t.useMemo((function(){var e="";if(b&&v.length&&!x&&A.onFilter){var t=I({count:i.length});e=A.onFilter({inputValue:f,resultsMessage:t})}return e}),[i,f,b,A,v,I,x]),V="initial-input-focus"===(null==n?void 0:n.action),B=t.useMemo((function(){var e="";if(A.guidance){var t=r?"value":b?"menu":"input";e=A.guidance({"aria-label":C,context:t,isDisabled:o&&h(o,l),isMulti:g,isSearchable:m,tabSelectsValue:y,isInitialFocus:V})}return e}),[C,o,r,g,h,m,b,A,l,y,V]),W=Vn(t.Fragment,null,Vn("span",{id:"aria-selection"},k),Vn("span",{id:"aria-focused"},G),Vn("span",{id:"aria-results"},S),Vn("span",{id:"aria-guidance"},B));return Vn(t.Fragment,null,Vn(Fr,{id:c},V&&W),Vn(Fr,{"aria-live":w,"aria-atomic":"false","aria-relevant":"additions text",role:"log"},a&&!V&&W))},jr=[{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źẑżžẓẕƶȥɀⱬꝣ"}],zr=new RegExp("["+jr.map((function(e){return e.letters})).join("")+"]","g"),Yr={},Jr=0;Jr<jr.length;Jr++)for(var $r=jr[Jr],Ur=0;Ur<$r.letters.length;Ur++)Yr[$r.letters[Ur]]=$r.base;var Qr=function(e){return e.replace(zr,(function(e){return Yr[e]}))},_r=function(e,t){void 0===t&&(t=Lr);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}(Qr),Kr=function(e){return e.replace(/^\s+|\s+$/g,"")},qr=function(e){return"".concat(e.label," ").concat(e.value)},ei=["innerRef"];function ti(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=Ve(e,1)[0];return!n.includes(t)}));return r.reduce((function(e,t){var n=Ve(t,2),o=n[0],r=n[1];return e[o]=r,e}),{})}(Be(e,ei),"onExited","in","enter","exit","appear");return Vn("input",Re({ref:t},n,{css:Bn({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,eyJ2ZXJzaW9uIjozLCJzb3VyY2Vz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AgICAgICBjYXJldENvbG9yOiAndHJhbnNwYXJlbnQnLFxuICAgICAgICBmb250U2l6ZTogJ2luaGVyaXQnLFxuICAgICAgICBncmlkQXJlYTogJzEgLyAxIC8gMiAvIDMnLFxuICAgICAgICBvdXRsaW5lOiAwLFxuICAgICAgICBwYWRkaW5nOiAwLFxuICAgICAgICAvLyBpbXBvcnRhbnQhIHdpdGhvdXQgYHdpZHRoYCBicm93c2VycyB3b24ndCBhbGxvdyBmb2N1c1xuICAgICAgICB3aWR0aDogMSxcblxuICAgICAgICAvLyByZW1vdmUgY3Vyc29yIG9uIGRlc2t0b3BcbiAgICAgICAgY29sb3I6ICd0cmFuc3BhcmVudCcsXG5cbiAgICAgICAgLy8gcmVtb3ZlIGN1cnNvciBvbiBtb2JpbGUgd2hpbHN0IG1haW50YWluaW5nIFwic2Nyb2xsIGludG8gdmlld1wiIGJlaGF2aW91clxuICAgICAgICBsZWZ0OiAtMTAwLFxuICAgICAgICBvcGFjaXR5OiAwLFxuICAgICAgICBwb3NpdGlvbjogJ3JlbGF0aXZlJyxcbiAgICAgICAgdHJhbnNmb3JtOiAnc2NhbGUoLjAxKScsXG4gICAgICB9fVxuICAgIC8+XG4gICk7XG59XG4iXX0= */")}))}var ni=["boxSizing","height","overflow","paddingRight","position"],oi={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"};function ri(e){e.preventDefault()}function ii(e){e.stopPropagation()}function ai(){var e=this.scrollTop,t=this.scrollHeight,n=e+this.offsetHeight;0===e?this.scrollTop=1:n===t&&(this.scrollTop=e-1)}function li(){return"ontouchstart"in window||navigator.maxTouchPoints}var si=!("undefined"==typeof window||!window.document||!window.document.createElement),ci=0,ui={capture:!1,passive:!1};var di=function(e){var t=e.target;return t.ownerDocument.activeElement&&t.ownerDocument.activeElement.blur()},pi="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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BzZXRTY3JvbGxMb2NrVGFyZ2V0KGVsZW1lbnQpO1xuICB9O1xuXG4gIHJldHVybiAoXG4gICAgPEZyYWdtZW50PlxuICAgICAge2xvY2tFbmFibGVkICYmIChcbiAgICAgICAgPGRpdlxuICAgICAgICAgIG9uQ2xpY2s9e2JsdXJTZWxlY3RJbnB1dH1cbiAgICAgICAgICBjc3M9e3sgcG9zaXRpb246ICdmaXhlZCcsIGxlZnQ6IDAsIGJvdHRvbTogMCwgcmlnaHQ6IDAsIHRvcDogMCB9fVxuICAgICAgICAvPlxuICAgICAgKX1cbiAgICAgIHtjaGlsZHJlbih0YXJnZXRSZWYpfVxuICAgIDwvRnJhZ21lbnQ+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 fi(e){var n=e.children,o=e.lockEnabled,r=e.captureEnabled,i=function(e){var n=e.isEnabled,o=e.onBottomArrive,r=e.onBottomLeave,i=e.onTopArrive,a=e.onTopLeave,l=t.useRef(!1),s=t.useRef(!1),c=t.useRef(0),u=t.useRef(null),d=t.useCallback((function(e,t){if(null!==u.current){var n=u.current,c=n.scrollTop,d=n.scrollHeight,p=n.clientHeight,f=u.current,g=t>0,h=d-p-c,m=!1;h>t&&l.current&&(r&&r(e),l.current=!1),g&&s.current&&(a&&a(e),s.current=!1),g&&t>h?(o&&!l.current&&o(e),f.scrollTop=d,m=!0,l.current=!0):!g&&-t>c&&(i&&!s.current&&i(e),f.scrollTop=0,m=!0,s.current=!0),m&&function(e){e.cancelable&&e.preventDefault(),e.stopPropagation()}(e)}}),[o,r,i,a]),p=t.useCallback((function(e){d(e,e.deltaY)}),[d]),f=t.useCallback((function(e){c.current=e.changedTouches[0].clientY}),[]),g=t.useCallback((function(e){var t=c.current-e.changedTouches[0].clientY;d(e,t)}),[d]),h=t.useCallback((function(e){if(e){var t=!!tr&&{passive:!1};e.addEventListener("wheel",p,t),e.addEventListener("touchstart",f,t),e.addEventListener("touchmove",g,t)}}),[g,f,p]),m=t.useCallback((function(e){e&&(e.removeEventListener("wheel",p,!1),e.removeEventListener("touchstart",f,!1),e.removeEventListener("touchmove",g,!1))}),[g,f,p]);return t.useEffect((function(){if(n){var e=u.current;return h(e),function(){m(e)}}}),[n,h,m]),function(e){u.current=e}}({isEnabled:void 0===r||r,onBottomArrive:e.onBottomArrive,onBottomLeave:e.onBottomLeave,onTopArrive:e.onTopArrive,onTopLeave:e.onTopLeave}),a=function(e){var n=e.isEnabled,o=e.accountForScrollbars,r=void 0===o||o,i=t.useRef({}),a=t.useRef(null),l=t.useCallback((function(e){if(si){var t=document.body,n=t&&t.style;if(r&&ni.forEach((function(e){var t=n&&n[e];i.current[e]=t})),r&&ci<1){var o=parseInt(i.current.paddingRight,10)||0,a=document.body?document.body.clientWidth:0,l=window.innerWidth-a+o||0;Object.keys(oi).forEach((function(e){var t=oi[e];n&&(n[e]=t)})),n&&(n.paddingRight="".concat(l,"px"))}t&&li()&&(t.addEventListener("touchmove",ri,ui),e&&(e.addEventListener("touchstart",ai,ui),e.addEventListener("touchmove",ii,ui))),ci+=1}}),[r]),s=t.useCallback((function(e){if(si){var t=document.body,n=t&&t.style;ci=Math.max(ci-1,0),r&&ci<1&&ni.forEach((function(e){var t=i.current[e];n&&(n[e]=t)})),t&&li()&&(t.removeEventListener("touchmove",ri,ui),e&&(e.removeEventListener("touchstart",ai,ui),e.removeEventListener("touchmove",ii,ui)))}}),[r]);return t.useEffect((function(){if(n){var e=a.current;return l(e),function(){s(e)}}}),[n,l,s]),function(e){a.current=e}}({isEnabled:o});return Vn(t.Fragment,null,o&&Vn("div",{onClick:di,css:pi}),n((function(e){i(e),a(e)})))}var gi="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)."}},hi=function(e){var t=e.name,n=e.onFocus;return Vn("input",{required:!0,name:t,tabIndex:-1,"aria-hidden":"true",onFocus:n,css:gi,value:"",onChange:function(){}})};function mi(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 bi(){return mi(/^Mac/i)}function vi(){return mi(/^iPhone/i)||mi(/^iPad/i)||bi()&&navigator.maxTouchPoints>1}var Ii,yi={clearIndicator:kr,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 ke({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:Ar,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 ke({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 ke({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 ke(ke({visibility:n?"hidden":"visible",transform:o?"translateZ(0)":""},Xr),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 ke({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:gr,menu:function(e,t){var n,o=e.placement,r=e.theme,i=r.borderRadius,a=r.spacing,l=r.colors;return ke((we(n={label:"menu"},function(e){return e?{bottom:"top",top:"bottom"}[e]:"bottom"}(o),"100%"),we(n,"position","absolute"),we(n,"width","100%"),we(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 ke({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 ke({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 ke({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 ke({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:fr,option:function(e,t){var n=e.isDisabled,o=e.isFocused,r=e.isSelected,i=e.theme,a=i.spacing,l=i.colors;return ke({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 ke({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 ke({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 ke({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")})}},xi={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}},Ci={"aria-live":"polite",backspaceRemovesValue:!0,blurInputOnSelect:_o(),captureMenuScroll:!_o(),classNames:{},closeMenuOnSelect:!0,closeMenuOnScroll:!1,components:{},controlShouldRenderValue:!0,escapeClearsValue:!1,filterOption:function(e,t){if(e.data.__isNew__)return!0;var n=ke({ignoreCase:!0,ignoreAccents:!0,stringify:qr,trim:!0,matchFrom:"any"},Ii),o=n.ignoreCase,r=n.ignoreAccents,i=n.stringify,a=n.trim,l=n.matchFrom,s=a?Kr(t):t,c=a?Kr(i(e)):i(e);return o&&(s=s.toLowerCase(),c=c.toLowerCase()),r&&(s=_r(s),c=Qr(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 wi(e,t,n,o){return{type:"option",data:t,isDisabled:Ri(e,t,n),isSelected:Ni(e,t,n),label:Bi(e,t),value:Wi(e,t),index:o}}function Ai(e,t){return e.options.map((function(n,o){if("options"in n){var r=n.options.map((function(n,o){return wi(e,n,t,o)})).filter((function(t){return Si(e,t)}));return r.length>0?{type:"group",data:n,options:r,index:o}:void 0}var i=wi(e,n,t,o);return Si(e,i)?i:void 0})).filter(nr)}function ki(e){return e.reduce((function(e,t){return"group"===t.type?e.push.apply(e,Ee(t.options.map((function(e){return e.data})))):e.push(t.data),e}),[])}function Gi(e,t){return e.reduce((function(e,n){return"group"===n.type?e.push.apply(e,Ee(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 Si(e,t){var n=e.inputValue,o=void 0===n?"":n,r=t.data,i=t.isSelected,a=t.label,l=t.value;return(!Oi(e)||!i)&&Xi(e,{label:a,value:l,data:r},o)}var Vi=function(e,t){var n;return(null===(n=e.find((function(e){return e.data===t})))||void 0===n?void 0:n.id)||null},Bi=function(e,t){return e.getOptionLabel(t)},Wi=function(e,t){return e.getOptionValue(t)};function Ri(e,t,n){return"function"==typeof e.isOptionDisabled&&e.isOptionDisabled(t,n)}function Ni(e,t,n){if(n.indexOf(t)>-1)return!0;if("function"==typeof e.isOptionSelected)return e.isOptionSelected(t,n);var o=Wi(e,t);return n.some((function(t){return Wi(e,t)===o}))}function Xi(e,t,n){return!e.filterOption||e.filterOption(t,n)}var Oi=function(e){var t=e.hideSelectedOptions,n=e.isMulti;return void 0===t?n:t},Zi=1,Ti=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&&Xe(e,t)}(n,t.Component);var e=function(e){var t=Ze();return function(){var n,o=Oe(e);if(t){var r=Oe(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return Te(this,n)}}(n);function n(t){var o;if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n),(o=e.call(this,t)).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=bi()||vi(),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(Ee(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=or(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(or(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=or(e,r,r[0]||null);n&&o.onChange(i,{action:"pop-value",removedValue:n})},o.getFocusedOptionId=function(e){return Vi(o.state.focusableOptionsWithIds,e)},o.getFocusableOptionsWithIds=function(){return Gi(Ai(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 Do.apply(void 0,[o.props.classNamePrefix].concat(t))},o.getOptionLabel=function(e){return Bi(o.props,e)},o.getOptionValue=function(e){return Wi(o.props,e)},o.getStyles=function(e,t){var n=o.props.unstyled,r=yi[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,ke(ke({},Er),e.components);var e},o.buildCategorizedOptions=function(){return Ai(o.props,o.state.selectValue)},o.getCategorizedOptions=function(){return o.props.menuIsOpen?o.buildCategorizedOptions():[]},o.buildFocusableOptions=function(){return ki(o.buildCategorizedOptions())},o.getFocusableOptions=function(){return o.props.menuIsOpen?o.buildFocusableOptions():[]},o.ariaOnChange=function(e,t){o.setState({ariaSelection:ke({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&&Yo(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 Oi(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,f=o.state,g=f.focusedOption,h=f.focusedValue,m=f.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||!g||p&&o.isOptionSelected(g,m))return;o.selectOption(g);break;case"Enter":if(229===e.keyCode)break;if(c){if(!g)return;if(o.isComposing)return;o.selectOption(g);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(!g)return;o.selectOption(g);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||++Zi),o.state.selectValue=Ho(t.value),t.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=Vi(r,i[a])}return o}return function(e,t,n){t&&Ne(e.prototype,t),n&&Ne(e,n),Object.defineProperty(e,"prototype",{writable:!1})}(n,[{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&&Qo(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&&(Qo(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(xi):ke(ke({},xi),this.props.theme):xi}},{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 Ri(this.props,e,t)}},{key:"isOptionSelected",value:function(e,t){return Ni(this.props,e,t)}},{key:"filterOption",value:function(e,t){return Xi(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,o=e.inputId,r=e.inputValue,i=e.tabIndex,a=e.form,l=e.menuIsOpen,c=e.required,u=this.getComponents().Input,d=this.state,p=d.inputIsHidden,f=d.ariaSelection,g=this.commonProps,h=o||this.getElementId("input"),m=ke(ke(ke({"aria-autocomplete":"list","aria-expanded":l,"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||""},l&&{"aria-controls":this.getElementId("listbox")}),!n&&{"aria-readonly":!0}),this.hasValue()?"initial-input-focus"===(null==f?void 0:f.action)&&{"aria-describedby":this.getElementId("live-region")}:{"aria-describedby":this.getElementId("placeholder")});return n?s.createElement(u,Re({},g,{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:i,form:a,type:"text",value:r},m)):s.createElement(ti,Re({id:h,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:Po,onFocus:this.onInputFocus,disabled:t,tabIndex:i,inputMode:"none",form:a,value:""},m))}},{key:"renderPlaceholderOrValue",value:function(){var e=this,t=this.getComponents(),n=t.MultiValue,o=t.MultiValueContainer,r=t.MultiValueLabel,i=t.MultiValueRemove,a=t.SingleValue,l=t.Placeholder,c=this.commonProps,u=this.props,d=u.controlShouldRenderValue,p=u.isDisabled,f=u.isMulti,g=u.inputValue,h=u.placeholder,m=this.state,b=m.selectValue,v=m.focusedValue,I=m.isFocused;if(!this.hasValue()||!d)return g?null:s.createElement(l,Re({},c,{key:"placeholder",isDisabled:p,isFocused:I,innerProps:{id:this.getElementId("placeholder")}}),h);if(f)return b.map((function(t,a){var l=t===v,u="".concat(e.getOptionLabel(t),"-").concat(e.getOptionValue(t));return s.createElement(n,Re({},c,{components:{Container:o,Label:r,Remove:i},isFocused:l,isDisabled:p,key:u,index:a,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(g)return null;var y=b[0];return s.createElement(a,Re({},c,{data:y,isDisabled:p}),this.formatOptionLabel(y,"value"))}},{key:"renderClearIndicator",value:function(){var e=this.getComponents().ClearIndicator,t=this.commonProps,n=this.props,o=n.isDisabled,r=n.isLoading,i=this.state.isFocused;if(!this.isClearable()||!e||o||!this.hasValue()||r)return null;var a={onMouseDown:this.onClearIndicatorMouseDown,onTouchEnd:this.onClearIndicatorTouchEnd,"aria-hidden":"true"};return s.createElement(e,Re({},t,{innerProps:a,isFocused:i}))}},{key:"renderLoadingIndicator",value:function(){var e=this.getComponents().LoadingIndicator,t=this.commonProps,n=this.props,o=n.isDisabled,r=n.isLoading,i=this.state.isFocused;if(!e||!r)return null;return s.createElement(e,Re({},t,{innerProps:{"aria-hidden":"true"},isDisabled:o,isFocused:i}))}},{key:"renderIndicatorSeparator",value:function(){var e=this.getComponents(),t=e.DropdownIndicator,n=e.IndicatorSeparator;if(!t||!n)return null;var o=this.commonProps,r=this.props.isDisabled,i=this.state.isFocused;return s.createElement(n,Re({},o,{isDisabled:r,isFocused:i}))}},{key:"renderDropdownIndicator",value:function(){var e=this.getComponents().DropdownIndicator;if(!e)return null;var t=this.commonProps,n=this.props.isDisabled,o=this.state.isFocused,r={onMouseDown:this.onDropdownIndicatorMouseDown,onTouchEnd:this.onDropdownIndicatorTouchEnd,"aria-hidden":"true"};return s.createElement(e,Re({},t,{innerProps:r,isDisabled:n,isFocused:o}))}},{key:"renderMenu",value:function(){var e=this,t=this.getComponents(),n=t.Group,o=t.GroupHeading,r=t.Menu,i=t.MenuList,a=t.MenuPortal,l=t.LoadingMessage,c=t.NoOptionsMessage,u=t.Option,d=this.commonProps,p=this.state.focusedOption,f=this.props,g=f.captureMenuScroll,h=f.inputValue,m=f.isLoading,b=f.loadingMessage,v=f.minMenuHeight,I=f.maxMenuHeight,y=f.menuIsOpen,x=f.menuPlacement,C=f.menuPosition,w=f.menuPortalTarget,A=f.menuShouldBlockScroll,k=f.menuShouldScrollIntoView,G=f.noOptionsMessage,S=f.onMenuScrollToTop,V=f.onMenuScrollToBottom;if(!y)return null;var B,W=function(t,n){var o=t.type,r=t.data,i=t.isDisabled,a=t.isSelected,l=t.label,c=t.value,f=p===r,g=i?void 0:function(){return e.onOptionHover(r)},h=i?void 0:function(){return e.selectOption(r)},m="".concat(e.getElementId("option"),"-").concat(n),b={id:m,onClick:h,onMouseMove:g,onMouseOver:g,tabIndex:-1,role:"option","aria-selected":e.isAppleDevice?void 0:a};return s.createElement(u,Re({},d,{innerProps:b,data:r,isDisabled:i,isSelected:a,key:m,label:l,type:o,value:c,isFocused:f,innerRef:f?e.getFocusedOptionRef:void 0}),e.formatOptionLabel(t.data,"menu"))};if(this.hasOptions())B=this.getCategorizedOptions().map((function(t){if("group"===t.type){var r=t.data,i=t.options,a=t.index,l="".concat(e.getElementId("group"),"-").concat(a),c="".concat(l,"-heading");return s.createElement(n,Re({},d,{key:l,data:r,options:i,Heading:o,headingProps:{id:c,data:t.data},label:e.formatGroupLabel(t.data)}),t.options.map((function(e){return W(e,"".concat(a,"-").concat(e.index))})))}if("option"===t.type)return W(t,"".concat(t.index))}));else if(m){var R=b({inputValue:h});if(null===R)return null;B=s.createElement(l,d,R)}else{var N=G({inputValue:h});if(null===N)return null;B=s.createElement(c,d,N)}var X={minMenuHeight:v,maxMenuHeight:I,menuPlacement:x,menuPosition:C,menuShouldScrollIntoView:k},O=s.createElement(ur,Re({},d,X),(function(t){var n=t.ref,o=t.placerProps,a=o.placement,l=o.maxHeight;return s.createElement(r,Re({},d,X,{innerRef:n,innerProps:{onMouseDown:e.onMenuMouseDown,onMouseMove:e.onMenuMouseMove},isLoading:m,placement:a}),s.createElement(fi,{captureEnabled:g,onTopArrive:S,onBottomArrive:V,lockEnabled:A},(function(t){return s.createElement(i,Re({},d,{innerRef:function(n){e.getMenuListRef(n),t(n)},innerProps:{role:"listbox","aria-multiselectable":d.isMulti,id:e.getElementId("listbox")},isLoading:m,maxHeight:l,focusedOption:p}),B)})))}));return w||"fixed"===C?s.createElement(a,Re({},d,{appendTo:w,controlElement:this.controlRef,menuPlacement:x,menuPosition:C}),O):O}},{key:"renderFormField",value:function(){var e=this,t=this.props,n=t.delimiter,o=t.isDisabled,r=t.isMulti,i=t.name,a=t.required,l=this.state.selectValue;if(a&&!this.hasValue()&&!o)return s.createElement(hi,{name:i,onFocus:this.onValueInputFocus});if(i&&!o){if(r){if(n){var c=l.map((function(t){return e.getOptionValue(t)})).join(n);return s.createElement("input",{name:i,type:"hidden",value:c})}var u=l.length>0?l.map((function(t,n){return s.createElement("input",{key:"i-".concat(n),name:i,type:"hidden",value:e.getOptionValue(t)})})):s.createElement("input",{name:i,type:"hidden",value:""});return s.createElement("div",null,u)}var d=l[0]?this.getOptionValue(l[0]):"";return s.createElement("input",{name:i,type:"hidden",value:d})}}},{key:"renderLiveRegion",value:function(){var e=this.commonProps,t=this.state,n=t.ariaSelection,o=t.focusedOption,r=t.focusedValue,i=t.isFocused,a=t.selectValue,l=this.getFocusableOptions();return s.createElement(Hr,Re({},e,{id:this.getElementId("live-region"),ariaSelection:n,focusedOption:o,focusedValue:r,isFocused:i,selectValue:a,focusableOptions:l,isAppleDevice:this.isAppleDevice}))}},{key:"render",value:function(){var e=this.getComponents(),t=e.Control,n=e.IndicatorsContainer,o=e.SelectContainer,r=e.ValueContainer,i=this.props,a=i.className,l=i.id,c=i.isDisabled,u=i.menuIsOpen,d=this.state.isFocused,p=this.commonProps=this.getCommonProps();return s.createElement(o,Re({},p,{className:a,innerProps:{id:l,onKeyDown:this.onKeyDown},isDisabled:c,isFocused:d}),this.renderLiveRegion(),s.createElement(t,Re({},p,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:c,isFocused:d,menuIsOpen:u}),s.createElement(r,Re({},p,{isDisabled:c}),this.renderPlaceholderOrValue(),this.renderInput()),s.createElement(n,Re({},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,f=e.isMulti,g=Ho(u),h={};if(n&&(u!==n.value||c!==n.options||d!==n.menuIsOpen||p!==n.inputValue)){var m=d?function(e,t){return ki(Ai(e,t))}(e,g):[],b=d?Gi(Ai(e,g),"".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,g):null,I=function(e,t){var n=e.focusedOption;return n&&t.indexOf(n)>-1?n:t[0]}(t,m);h={selectValue:g,focusedOption:I,focusedOptionId:Vi(b,I),focusableOptionsWithIds:b,focusedValue:v,clearFocusValueOnUpdate:!1}}var y=null!=r&&e!==n?{inputIsHidden:r,inputIsHiddenAfterUpdate:void 0}:{},x=i,C=a&&l;return a&&!C&&(x={value:or(f,g,g[0]||null),options:g,action:"initial-input-focus"},C=!l),"initial-input-focus"===(null==i?void 0:i.action)&&(x=null),ke(ke(ke({},h),y),{},{prevProps:e,ariaSelection:x,prevWasFocused:C})}}]),n}();Ti.defaultProps=Ci;var Ei=t.forwardRef((function(e,n){var o=function(e){var n=e.defaultInputValue,o=void 0===n?"":n,r=e.defaultMenuIsOpen,i=void 0!==r&&r,a=e.defaultValue,l=void 0===a?null:a,s=e.inputValue,c=e.menuIsOpen,u=e.onChange,d=e.onInputChange,p=e.onMenuClose,f=e.onMenuOpen,g=e.value,h=Be(e,We),m=Ve(t.useState(void 0!==s?s:o),2),b=m[0],v=m[1],I=Ve(t.useState(void 0!==c?c:i),2),y=I[0],x=I[1],C=Ve(t.useState(void 0!==g?g:l),2),w=C[0],A=C[1],k=t.useCallback((function(e,t){"function"==typeof u&&u(e,t),A(e)}),[u]),G=t.useCallback((function(e,t){var n;"function"==typeof d&&(n=d(e,t)),v(void 0!==n?n:e)}),[d]),S=t.useCallback((function(){"function"==typeof f&&f(),x(!0)}),[f]),V=t.useCallback((function(){"function"==typeof p&&p(),x(!1)}),[p]),B=void 0!==s?s:b,W=void 0!==c?c:y,R=void 0!==g?g:w;return ke(ke({},h),{},{inputValue:B,menuIsOpen:W,onChange:k,onInputChange:G,onMenuClose:V,onMenuOpen:S,value:R})}(e);return s.createElement(Ti,Re({ref:n},o))})),Mi=Ei;const Li=n.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
|
+
`,Pi=n.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
|
+
`,Fi=({label:t,error:o,control:r,info:i,isDisabled:a,isLoading:l,...s})=>{const c=n.useTheme();return e.jsxs(Li,{disabled:a||l,hasError:!!o,children:[t,e.jsx(Mi,{components:{DropdownIndicator:()=>l?e.jsx(k,{color:c.colors.neutral.light,size:16,style:{marginRight:8}}):e.jsx(P,{className:"custom-dropdown-icon",icon:"chevronDown",size:28})},isDisabled:a||l,classNamePrefix:"react-select",noOptionsMessage:()=>"Nada encontrado",...s}),(!!r||!!o||!!i)&&e.jsx(Pi,{className:"additional-info",disabled:a||l,isError:!!o,children:o||i})]})},Di=n.label`
|
|
828
|
+
display: flex;
|
|
829
|
+
gap: ${u};
|
|
830
|
+
align-items: center;
|
|
831
|
+
justify-content: center;
|
|
832
|
+
width: fit-content;
|
|
833
|
+
flex-direction: ${({labelPosition:e})=>f[e]};
|
|
834
|
+
border-radius: ${c};
|
|
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
|
+
`,Hi=n.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
|
+
`,ji=t.forwardRef((function({label:o,labelPosition:r="right",customColor:i,isLoading:a,register:l,...s},c){const u=n.useTheme(),d=i?t.useMemo((()=>x(i)),[i]):void 0;return e.jsxs(Di,{labelPosition:r,children:[e.jsx("input",{ref:c,type:"checkbox",...s,disabled:a||s.disabled,...l}),o&&e.jsx("span",{children:o}),e.jsx(Hi,{colorVariants:d,isLoading:a,children:e.jsx(k,{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:a?1:0}})})]})})),zi=n.div`
|
|
932
|
+
display: flex;
|
|
933
|
+
gap: ${({gap:e})=>e};
|
|
934
|
+
width: 100%;
|
|
935
|
+
`,Yi=n.div`
|
|
936
|
+
display: flex;
|
|
937
|
+
flex-direction: column;
|
|
938
|
+
gap: ${({gap:e})=>e};
|
|
939
|
+
`,Ji=t.forwardRef((({columnCount:n,gap:o="10px",children:r,...i},a)=>{const l=Array.from({length:n},(e=>[]));return t.Children.forEach(r,((e,t)=>{const o=l[t%n];Array.isArray(o)&&o.push(e)})),e.jsx(zi,{ref:a,gap:o,...i,children:l.map((t=>e.jsx(Yi,{gap:o,children:t})))})})),$i=n.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
|
+
`,Ui=t.forwardRef((({elementsPerRow:n,gap:o="8px",children:r,...i},a)=>{const l=I(n||[1]);let s=0;return e.jsxs($i,{ref:a,gap:o,colCount:l,...i,children:[n?.map((e=>{const n=r.slice(s,s+e).map((n=>(console.log("child: ",n.props),t.cloneElement(n,{style:{...n.props.style,gridColumn:"span "+l/e}}))));return s+=e,n})),r.slice(s).map((e=>e))]})})),Qi=n.styled.div`
|
|
948
|
+
display: grid;
|
|
949
|
+
grid-template-columns: repeat(${({colCount:e})=>e}, 1fr);
|
|
950
|
+
gap: ${({gap:e})=>e};
|
|
951
|
+
`,_i=t.forwardRef((({areaTemplate:n,gap:o="8px",children:r,...i},a)=>{const l=n[0].reduce(((e,t)=>e+Math.abs(t)),0);let s=0;return e.jsxs(Qi,{ref:a,colCount:l,gap:o,...i,children:[n.map((n=>{const o=n.length,i=n.filter((e=>e>0)).length,a=r.slice(s,s+o).map(((o,r)=>n[r]<0?e.jsx("div",{style:{gridColumn:`span ${Math.abs(n[r])}`}}):t.cloneElement(o,{style:{...o.props.style,gridColumn:`span ${n[r]}`}})));return s+=i,a})),r.slice(s+1).map((e=>e))]})})),Ki=n.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
|
+
`,qi=t.forwardRef((({gap:t="8px",minWidth:n="auto",fixedWidth:o,children:r,...i},a)=>e.jsx(Ki,{ref:a,fixedWidth:o,minWidth:n,gap:t,...i,children:r}))),ea=n.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
|
+
`,ta=n.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
|
+
`,na=n.div`
|
|
984
|
+
display: flex;
|
|
985
|
+
justify-content: space-between;
|
|
986
|
+
align-items: flex-start;
|
|
987
|
+
|
|
988
|
+
svg {
|
|
989
|
+
cursor: pointer;
|
|
990
|
+
}
|
|
991
|
+
`,oa=n.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
|
+
`,ra=n.div`
|
|
1013
|
+
flex-grow: 1;
|
|
1014
|
+
`,ia=n.div`
|
|
1015
|
+
display: flex;
|
|
1016
|
+
justify-content: flex-end;
|
|
1017
|
+
gap: ${({theme:e})=>e.spacing.xs};
|
|
1018
|
+
`,aa=t.forwardRef((function({open:n,toggle:o,overlayStyles:r,children:i,...a},l){const s=t.Children.map(i,(e=>t.isValidElement(e)&&e.props.hasClose?t.cloneElement(e,{toggle:o}):e));return e.jsx(ea,{ref:l,style:r,open:n,onClick:()=>o?.(),children:e.jsx(ta,{onClick:e=>e.stopPropagation(),...a,children:s})})}));Object.assign(aa,{Header:({children:t,hasClose:n,toggle:o,...r})=>e.jsxs(na,{...r,children:[e.jsx(oa,{children:t}),n&&e.jsx(P,{icon:"close",onClick:()=>o?.()})]}),Body:({children:t,...n})=>e.jsx(ra,{...n,children:t}),Footer:({children:t,...n})=>e.jsxs(e.Fragment,{children:[e.jsx(he,{}),e.jsx(ia,{...n,children:t})]})});const la=n.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
|
+
`,sa=n.div`
|
|
1049
|
+
flex-grow: 1;
|
|
1050
|
+
`,ca={success:{color:"green",icon:e.jsx(P,{icon:"check"})},warning:{color:"yellow",icon:e.jsx(P,{icon:"warning"})},error:{color:"red",icon:e.jsx(P,{icon:"closeCircle"})},info:{color:"blue",icon:e.jsx(P,{icon:"info"})}},ua=t.forwardRef((function({variant:t="info",onClose:n,isOpen:o,children:r,...i},a){return e.jsxs(la,{ref:a,color:ca[t].color,isOpen:o,...i,children:[ca[t].icon,e.jsx(sa,{children:r}),!!n&&e.jsx(P,{className:"close-icon",icon:"close",onClick:()=>n()})]})})),da=n.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
|
+
`,pa=n.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
|
+
`,fa={default:da,transparent:n(da)`
|
|
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
|
+
`},ga=t.forwardRef((function({icon:t,counter:n,isSelected:o,children:r,variant:i="default",...a},l){const s=fa[i];return e.jsxs(s,{ref:l,isSelected:o,...a,children:[t,r,!isNaN(Number(n))&&e.jsx(pa,{children:n})]})})),ha=n.div`
|
|
1131
|
+
display: flex;
|
|
1132
|
+
gap: ${({theme:e})=>e.spacing.xs};
|
|
1133
|
+
align-items: flex-end;
|
|
1134
|
+
`,ma=t.forwardRef((function({variant:n="default",tabs:o,defaultTab:r=0,onTabChange:i,value:a,...l},s){const[c,u]=t.useState(r);return t.useEffect((()=>{a&&u(a)}),[a]),e.jsx(ha,{ref:s,...l,children:Array.isArray(o)&&o.map(((t,o)=>"string"==typeof t?e.jsx(ga,{isSelected:c===o,onClick:()=>{u(o),i?.(o)},variant:n,children:t},o):e.jsx(ga,{isSelected:c===o,onClick:()=>{u(o),i?.(o)},variant:n,icon:t.icon,counter:t.counter,children:t.text},o)))})}));var ba,va={exports:{}};
|
|
1135
|
+
/*!
|
|
1136
|
+
Copyright (c) 2018 Jed Watson.
|
|
1137
|
+
Licensed under the MIT License (MIT), see
|
|
1138
|
+
http://jedwatson.github.io/classnames
|
|
1139
|
+
*/var Ia,ya=(ba||(ba=1,Ia=va,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}Ia.exports?(t.default=t,Ia.exports=t):window.classNames=t}()),va.exports),xa=j(ya);
|
|
1140
|
+
/*
|
|
1141
|
+
* React Tooltip
|
|
1142
|
+
* {@link https://github.com/ReactTooltip/react-tooltip}
|
|
1143
|
+
* @copyright ReactTooltip Team
|
|
1144
|
+
* @license MIT
|
|
1145
|
+
*/
|
|
1146
|
+
const Ca={core:!1,base:!1};function wa({css:e,id:t="react-tooltip-base-styles",type:n="base",ref:o}){var r,i;if(!e||"undefined"==typeof document||Ca[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)),Ca[n]=!0}const Aa=async({elementReference:e=null,tooltipReference:t=null,tooltipArrowReference:n=null,place:o="top",offset:r=10,strategy:i="absolute",middlewares:a=[Xo(Number(r)),Zo({fallbackAxisSideDirection:"start"}),Oo({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(To({element:n,padding:5})),Eo(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}}))):Eo(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})))},ka=(e,t)=>!("CSS"in window&&"supports"in window.CSS)||window.CSS.supports(e,t),Ga=(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},Sa=e=>null!==e&&!Array.isArray(e)&&"object"==typeof e,Va=(e,t)=>{if(e===t)return!0;if(Array.isArray(e)&&Array.isArray(t))return e.length===t.length&&e.every(((e,n)=>Va(e,t[n])));if(Array.isArray(e)!==Array.isArray(t))return!1;if(!Sa(e)||!Sa(t))return e===t;const n=Object.keys(e),o=Object.keys(t);return n.length===o.length&&n.every((n=>Va(e[n],t[n])))},Ba=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}))},Wa=e=>{if(!e)return null;let t=e.parentElement;for(;t;){if(Ba(t))return t;t=t.parentElement}return document.scrollingElement||document.documentElement},Ra="undefined"!=typeof window?t.useLayoutEffect:t.useEffect,Na=e=>{e.current&&(clearTimeout(e.current),e.current=null)},Xa={anchorRefs:new Set,activeAnchor:{current:null},attach:()=>{},detach:()=>{},setActiveAnchor:()=>{}},Oa=t.createContext({getTooltipData:()=>Xa});function Za(e="DEFAULT_TOOLTIP_ID"){return t.useContext(Oa).getTooltipData(e)}var Ta={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"},Ea={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 Ma=({forwardRef:e,id:n,className:o,classNameArrow:r,variant:i="dark",anchorId:a,anchorSelect:l,place:s="top",offset:c=10,events:u=["hover"],openOnClick:d=!1,positionStrategy:p="absolute",middlewares:f,wrapper:g,delayShow:h=0,delayHide:m=0,float:b=!1,hidden:v=!1,noArrow:I=!1,clickable:y=!1,closeOnEsc:x=!1,closeOnScroll:C=!1,closeOnResize:w=!1,openEvents:A,closeEvents:k,globalCloseEvents:G,imperativeModeOnly:S,style:V,position:B,afterShow:W,afterHide:R,disableTooltip:N,content:X,contentWrapperRef:O,isOpen:Z,defaultIsOpen:T=!1,setIsOpen:E,activeAnchor:M,setActiveAnchor:L,border:P,opacity:F,arrowColor:D,role:H="tooltip"})=>{var j;const z=t.useRef(null),Y=t.useRef(null),J=t.useRef(null),$=t.useRef(null),U=t.useRef(null),[Q,_]=t.useState({tooltipStyles:{},tooltipArrowStyles:{},place:s}),[K,q]=t.useState(!1),[ee,te]=t.useState(!1),[ne,oe]=t.useState(null),re=t.useRef(!1),ie=t.useRef(null),{anchorRefs:ae,setActiveAnchor:le}=Za(n),se=t.useRef(!1),[ce,ue]=t.useState([]),de=t.useRef(!1),pe=d||u.includes("click"),fe=pe||(null==A?void 0:A.click)||(null==A?void 0:A.dblclick)||(null==A?void 0:A.mousedown),ge=A?{...A}:{mouseover:!0,focus:!0,mouseenter:!1,click:!1,dblclick:!1,mousedown:!1};!A&&pe&&Object.assign(ge,{mouseenter:!1,focus:!1,mouseover:!1,click:!0});const he=k?{...k}:{mouseout:!0,blur:!0,mouseleave:!1,click:!1,dblclick:!1,mouseup:!1};!k&&pe&&Object.assign(he,{mouseleave:!1,blur:!1,mouseout:!1});const me=G?{...G}:{escape:x||!1,scroll:C||!1,resize:w||!1,clickOutsideAnchor:fe||!1};S&&(Object.assign(ge,{mouseenter:!1,focus:!1,click:!1,dblclick:!1,mousedown:!1}),Object.assign(he,{mouseleave:!1,blur:!1,click:!1,dblclick:!1,mouseup:!1}),Object.assign(me,{escape:!1,scroll:!1,resize:!1,clickOutsideAnchor:!1})),Ra((()=>(de.current=!0,()=>{de.current=!1})),[]);const be=e=>{de.current&&(e&&te(!0),setTimeout((()=>{de.current&&(null==E||E(e),void 0===Z&&q(e))}),10))};t.useEffect((()=>{if(void 0===Z)return()=>null;Z&&te(!0);const e=setTimeout((()=>{q(Z)}),10);return()=>{clearTimeout(e)}}),[Z]),t.useEffect((()=>{if(K!==re.current)if(Na(U),re.current=K,K)null==W||W();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)})();U.current=setTimeout((()=>{te(!1),oe(null),null==R||R()}),e+25)}}),[K]);const ve=e=>{_((t=>Va(t,e)?t:e))},Ie=(e=h)=>{Na(J),ee?be(!0):J.current=setTimeout((()=>{be(!0)}),e)},ye=(e=m)=>{Na($),$.current=setTimeout((()=>{se.current||be(!1)}),e)},xe=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 L(null),void le({current:null});h?Ie():be(!0),L(n),le({current:n}),Na($)},Ce=()=>{y?ye(m||100):m?ye():be(!1),Na(J)},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})};Aa({place:null!==(n=null==ne?void 0:ne.place)&&void 0!==n?n:s,offset:c,elementReference:o,tooltipReference:z.current,tooltipArrowReference:Y.current,strategy:p,middlewares:f,border:P}).then((e=>{ve(e)}))},Ae=e=>{if(!e)return;const t=e,n={x:t.clientX,y:t.clientY};we(n),ie.current=n},ke=e=>{var t;if(!K)return;const n=e.target;n.isConnected&&((null===(t=z.current)||void 0===t?void 0:t.contains(n))||[document.querySelector(`[id='${a}']`),...ce].some((e=>null==e?void 0:e.contains(n)))||(be(!1),Na(J)))},Ge=Ga(xe,50),Se=Ga(Ce,50),Ve=e=>{Se.cancel(),Ge(e)},Be=()=>{Ge.cancel(),Se()},We=t.useCallback((()=>{var e,t;const n=null!==(e=null==ne?void 0:ne.position)&&void 0!==e?e:B;n?we(n):b?ie.current&&we(ie.current):(null==M?void 0:M.isConnected)&&Aa({place:null!==(t=null==ne?void 0:ne.place)&&void 0!==t?t:s,offset:c,elementReference:M,tooltipReference:z.current,tooltipArrowReference:Y.current,strategy:p,middlewares:f,border:P}).then((e=>{de.current&&ve(e)}))}),[K,M,X,V,s,null==ne?void 0:ne.place,c,p,B,null==ne?void 0:ne.position,b]);t.useEffect((()=>{var e,t;const n=new Set(ae);ce.forEach((e=>{(null==N?void 0:N(e))||n.add({current:e})}));const o=document.querySelector(`[id='${a}']`);o&&!(null==N?void 0:N(o))&&n.add({current:o});const r=()=>{be(!1)},i=Wa(M),l=Wa(z.current);me.scroll&&(window.addEventListener("scroll",r),null==i||i.addEventListener("scroll",r),null==l||l.addEventListener("scroll",r));let s=null;me.resize?window.addEventListener("resize",r):M&&z.current&&(s=No(M,z.current,We,{ancestorResize:!0,elementResize:!0,layoutShift:!0}));const c=e=>{"Escape"===e.key&&be(!1)};me.escape&&window.addEventListener("keydown",c),me.clickOutsideAnchor&&window.addEventListener("click",ke);const u=[],d=e=>{K&&(null==e?void 0:e.target)===M||xe(e)},p=e=>{K&&(null==e?void 0:e.target)===M&&Ce()},f=["mouseover","mouseout","mouseenter","mouseleave","focus","blur"],g=["click","dblclick","mousedown","mouseup"];Object.entries(ge).forEach((([e,t])=>{t&&(f.includes(e)?u.push({event:e,listener:Ve}):g.includes(e)&&u.push({event:e,listener:d}))})),Object.entries(he).forEach((([e,t])=>{t&&(f.includes(e)?u.push({event:e,listener:Be}):g.includes(e)&&u.push({event:e,listener:p}))})),b&&u.push({event:"pointermove",listener:Ae});const h=()=>{se.current=!0},m=()=>{se.current=!1,Ce()};return y&&!fe&&(null===(e=z.current)||void 0===e||e.addEventListener("mouseenter",h),null===(t=z.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;me.scroll&&(window.removeEventListener("scroll",r),null==i||i.removeEventListener("scroll",r),null==l||l.removeEventListener("scroll",r)),me.resize?window.removeEventListener("resize",r):null==s||s(),me.clickOutsideAnchor&&window.removeEventListener("click",ke),me.escape&&window.removeEventListener("keydown",c),y&&!fe&&(null===(e=z.current)||void 0===e||e.removeEventListener("mouseenter",h),null===(t=z.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)}))}))}}),[M,We,ee,ae,ce,A,k,G,pe,h,m]),t.useEffect((()=>{var e,t;let o=null!==(t=null!==(e=null==ne?void 0:ne.anchorSelect)&&void 0!==e?e:l)&&void 0!==t?t:"";!o&&n&&(o=`[data-tooltip-id='${n.replace(/'/g,"\\'")}']`);const r=new MutationObserver((e=>{const t=[],r=[];e.forEach((e=>{if("attributes"===e.type&&"data-tooltip-id"===e.attributeName&&(e.target.getAttribute("data-tooltip-id")===n?t.push(e.target):e.oldValue===n&&r.push(e.target)),"childList"===e.type){if(M){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,M))&&(te(!1),be(!1),L(null),Na(J),Na($),!0)}))}if(o)try{const n=[...e.addedNodes].filter((e=>1===e.nodeType));t.push(...n.filter((e=>e.matches(o)))),t.push(...n.flatMap((e=>[...e.querySelectorAll(o)])))}catch(e){}}})),(t.length||r.length)&&ue((e=>[...e.filter((e=>!r.includes(e))),...t]))}));return r.observe(document.body,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["data-tooltip-id"],attributeOldValue:!0}),()=>{r.disconnect()}}),[n,l,null==ne?void 0:ne.anchorSelect,M]),t.useEffect((()=>{We()}),[We]),t.useEffect((()=>{if(!(null==O?void 0:O.current))return()=>null;const e=new ResizeObserver((()=>{setTimeout((()=>We()))}));return e.observe(O.current),()=>{e.disconnect()}}),[X,null==O?void 0:O.current]),t.useEffect((()=>{var e;const t=document.querySelector(`[id='${a}']`),n=[...ce,t];M&&n.includes(M)||L(null!==(e=ce[0])&&void 0!==e?e:t)}),[a,ce,M]),t.useEffect((()=>(T&&be(!0),()=>{Na(J),Na($)})),[]),t.useEffect((()=>{var e;let t=null!==(e=null==ne?void 0:ne.anchorSelect)&&void 0!==e?e:l;if(!t&&n&&(t=`[data-tooltip-id='${n.replace(/'/g,"\\'")}']`),t)try{const e=Array.from(document.querySelectorAll(t));ue(e)}catch(e){ue([])}}),[n,l,null==ne?void 0:ne.anchorSelect]),t.useEffect((()=>{J.current&&(Na(J),Ie(h))}),[h]);const Re=null!==(j=null==ne?void 0:ne.content)&&void 0!==j?j:X,Ne=K&&Object.keys(Q.tooltipStyles).length>0;return t.useImperativeHandle(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`)}oe(null!=e?e:null),(null==e?void 0:e.delay)?Ie(e.delay):be(!0)},close:e=>{(null==e?void 0:e.delay)?ye(e.delay):be(!1)},activeAnchor:M,place:Q.place,isOpen:Boolean(ee&&!v&&Re&&Ne)}))),ee&&!v&&Re?t.createElement(g,{id:n,role:H,className:xa("react-tooltip",Ta.tooltip,Ea.tooltip,Ea[i],o,`react-tooltip__place-${Q.place}`,Ta[Ne?"show":"closing"],Ne?"react-tooltip__show":"react-tooltip__closing","fixed"===p&&Ta.fixed,y&&Ta.clickable),onTransitionEnd:e=>{Na(U),K||"opacity"!==e.propertyName||(te(!1),oe(null),null==R||R())},style:{...V,...Q.tooltipStyles,opacity:void 0!==F&&Ne?F:void 0},ref:z},Re,t.createElement(g,{className:xa("react-tooltip-arrow",Ta.arrow,Ea.arrow,r,I&&Ta.noArrow),style:{...Q.tooltipArrowStyles,background:D?`linear-gradient(to right bottom, transparent 50%, ${D} 50%)`:void 0},ref:Y})):null},La=({content:e})=>t.createElement("span",{dangerouslySetInnerHTML:{__html:e}}),Pa=t.forwardRef((({id:e,anchorId:n,anchorSelect:o,content:r,html:i,render:a,className:l,classNameArrow:s,variant:c="dark",place:u="top",offset:d=10,wrapper:p="div",children:f=null,events:g=["hover"],openOnClick:h=!1,positionStrategy:m="absolute",middlewares:b,delayShow:v=0,delayHide:I=0,float:y=!1,hidden:x=!1,noArrow:C=!1,clickable:w=!1,closeOnEsc:A=!1,closeOnScroll:k=!1,closeOnResize:G=!1,openEvents:S,closeEvents:V,globalCloseEvents:B,imperativeModeOnly:W=!1,style:R,position:N,isOpen:X,defaultIsOpen:O=!1,disableStyleInjection:Z=!1,border:T,opacity:E,arrowColor:M,setIsOpen:L,afterShow:P,afterHide:F,disableTooltip:D,role:H="tooltip"},j)=>{const[z,Y]=t.useState(r),[J,$]=t.useState(i),[U,Q]=t.useState(u),[_,K]=t.useState(c),[q,ee]=t.useState(d),[te,ne]=t.useState(v),[oe,re]=t.useState(I),[ie,ae]=t.useState(y),[le,se]=t.useState(x),[ce,ue]=t.useState(p),[de,pe]=t.useState(g),[fe,ge]=t.useState(m),[he,me]=t.useState(null),[be,ve]=t.useState(null),Ie=t.useRef(Z),{anchorRefs:ye,activeAnchor:xe}=Za(e),Ce=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}),{}),we=e=>{const t={place:e=>{var t;Q(null!==(t=e)&&void 0!==t?t:u)},content:e=>{Y(null!=e?e:r)},html:e=>{$(null!=e?e:i)},variant:e=>{var t;K(null!==(t=e)&&void 0!==t?t:c)},offset:e=>{ee(null===e?d:Number(e))},wrapper:e=>{var t;ue(null!==(t=e)&&void 0!==t?t:p)},events:e=>{const t=null==e?void 0:e.split(" ");pe(null!=t?t:g)},"position-strategy":e=>{var t;ge(null!==(t=e)&&void 0!==t?t:m)},"delay-show":e=>{ne(null===e?v:Number(e))},"delay-hide":e=>{re(null===e?I:Number(e))},float:e=>{ae(null===e?y:"true"===e)},hidden:e=>{se(null===e?x:"true"===e)},"class-name":e=>{me(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)}))};t.useEffect((()=>{Y(r)}),[r]),t.useEffect((()=>{$(i)}),[i]),t.useEffect((()=>{Q(u)}),[u]),t.useEffect((()=>{K(c)}),[c]),t.useEffect((()=>{ee(d)}),[d]),t.useEffect((()=>{ne(v)}),[v]),t.useEffect((()=>{re(I)}),[I]),t.useEffect((()=>{ae(y)}),[y]),t.useEffect((()=>{se(x)}),[x]),t.useEffect((()=>{ge(m)}),[m]),t.useEffect((()=>{Ie.current!==Z&&console.warn("[react-tooltip] Do not change `disableStyleInjection` dynamically.")}),[Z]),t.useEffect((()=>{"undefined"!=typeof window&&window.dispatchEvent(new CustomEvent("react-tooltip-inject-styles",{detail:{disableCore:"core"===Z,disableBase:Z}}))}),[]),t.useEffect((()=>{var t;const r=new Set(ye);let i=o;if(!i&&e&&(i=`[data-tooltip-id='${e.replace(/'/g,"\\'")}']`),i)try{document.querySelectorAll(i).forEach((e=>{r.add({current:e})}))}catch(t){console.warn(`[react-tooltip] "${i}" is not a valid CSS selector`)}const a=document.querySelector(`[id='${n}']`);if(a&&r.add({current:a}),!r.size)return()=>null;const l=null!==(t=null!=be?be:a)&&void 0!==t?t:xe.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=Ce(l);we(n)}))})),c={attributes:!0,childList:!1,subtree:!1};if(l){const e=Ce(l);we(e),s.observe(l,c)}return()=>{s.disconnect()}}),[ye,xe,be,n,o]),t.useEffect((()=>{(null==R?void 0:R.border)&&console.warn("[react-tooltip] Do not set `style.border`. Use `border` prop instead."),T&&!ka("border",`${T}`)&&console.warn(`[react-tooltip] "${T}" 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&&!ka("opacity",`${E}`)&&console.warn(`[react-tooltip] "${E}" is not a valid \`opacity\`.`)}),[]);let Ae=f;const ke=t.useRef(null);if(a){const e=a({content:(null==be?void 0:be.getAttribute("data-tooltip-content"))||z||null,activeAnchor:be});Ae=e?t.createElement("div",{ref:ke,className:"react-tooltip-content-wrapper"},e):null}else z&&(Ae=z);J&&(Ae=t.createElement(La,{content:J}));const Ge={forwardRef:j,id:e,anchorId:n,anchorSelect:o,className:xa(l,he),classNameArrow:s,content:Ae,contentWrapperRef:ke,place:U,variant:_,offset:q,wrapper:ce,events:de,openOnClick:h,positionStrategy:fe,middlewares:b,delayShow:te,delayHide:oe,float:ie,hidden:le,noArrow:C,clickable:w,closeOnEsc:A,closeOnScroll:k,closeOnResize:G,openEvents:S,closeEvents:V,globalCloseEvents:B,imperativeModeOnly:W,style:R,position:N,isOpen:X,defaultIsOpen:O,border:T,opacity:E,arrowColor:M,setIsOpen:L,afterShow:P,afterHide:F,disableTooltip:D,activeAnchor:be,setActiveAnchor:e=>ve(e),role:H};return t.createElement(Ma,{...Ge})}));"undefined"!=typeof window&&window.addEventListener("react-tooltip-inject-styles",(e=>{e.detail.disableCore||wa({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||wa({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 Fa=t.forwardRef((function({dark:t,children:o,...r},i){const a=n.useTheme();return e.jsx(Pa,{opacity:1,style:{backgroundColor:t?a.colors.neutral.darker:"#fff",padding:`${a.spacing.xs} ${a.spacing.s}`,borderRadius:a.radius.s,color:t?a.colors.neutral.lightest:a.colors.neutral.dark,fontSize:12,fontWeight:500,filter:"drop-shadow(0px 0px 2px #0000001F) drop-shadow(0px 2px 4px #00000024)"},ref:i,...r,children:o})}));exports.BUTTON_OPTIONS=G,exports.Button=S,exports.Calendar=pe,exports.Checkbox=be,exports.ColumnsGrid=Ji,exports.Divider=he,exports.Grid=Ui,exports.GridArea=_i,exports.Icon=P,exports.Input=ie,exports.NotificationBanner=ua,exports.Radio=ye,exports.ResponsiveGrid=qi,exports.Select=({name:t,label:n,register:o,control:r,error:i,info:l,isLoading:s,...c})=>r?e.jsx(a.Controller,{name:t||"",control:r,render:({field:t})=>e.jsx(Fi,{label:n,error:i,info:l,control:r,isLoading:s,isDisabled:c.isDisabled,...c,...t})}):e.jsx(Fi,{label:n,error:i,info:l,control:r,isLoading:s,isDisabled:c.isDisabled,...c}),exports.SingleTab=ga,exports.Spinner=k,exports.Switch=ji,exports.TAB_OPTIONS=fa,exports.TabGroup=ma,exports.Tooltip=Fa;
|
|
1147
|
+
//# sourceMappingURL=index.ts.map
|